Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Revert "[FC-120763]Resolution SLA Advanced automation Impacts" #121

Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion packages/marketplace-models/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@freshworks-jaya/marketplace-models",
"version": "0.1.39",
"version": "0.1.38",
"description": "Provides type definitions for models in marketplace product events",
"repository": "[email protected]:freshdesk/jaya-lib.git",
"main": "lib/index.js",
Expand Down
6 changes: 0 additions & 6 deletions packages/marketplace-models/src/types/PayloadData.ts
Original file line number Diff line number Diff line change
Expand Up @@ -59,11 +59,6 @@ export enum ResponseDueType {
ResponseDue = 'RESPONSE_DUE',
}

export enum ResolutionDueType {
NO_RESOLUTION_DUE = 'NO_RESOLUTION_DUE',
RESOLUTION_DUE = 'RESOLUTION_DUE',
}

export enum ActorSubEntity {
AgentGroupMapping = 'agent_group_mapping',
AssignmentRule = 'assignment_rule',
Expand Down Expand Up @@ -215,7 +210,6 @@ export interface ModelProperties {
// eslint-disable-next-line @typescript-eslint/no-explicit-any
properties: any;
reopened_time: string | null;
resolution_due_type: ResolutionDueType;
resolved_time: string | null;
response_due_type: ResponseDueType;
sla_policy_name?: string | null;
Expand Down
4 changes: 2 additions & 2 deletions packages/rule-engine/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@freshworks-jaya/rule-engine",
"version": "0.18.6-beta-32",
"version": "0.18.6-beta-31",
"description": "Provides methods to process rules in product events in marketplace app",
"repository": "[email protected]:freshdesk/jaya-lib.git",
"main": "lib/index.js",
Expand Down Expand Up @@ -46,7 +46,7 @@
"dependencies": {
"@freshworks-jaya/freshchat-api": "0.7.36-beta-2",
"@freshworks-jaya/kairos-api": "^0.1.5",
"@freshworks-jaya/marketplace-models": "0.1.39",
"@freshworks-jaya/marketplace-models": "0.1.38",
"@freshworks-jaya/utilities": "^1.0.0",
"@google-cloud/logging": "^9.3.1",
"axios": "^0.21.4",
Expand Down
1 change: 0 additions & 1 deletion packages/rule-engine/src/models/rule.ts
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,6 @@ export enum TriggerActionType {
FirstSlaBreach = 'FIRST_SLA_BREACH',
MessageCreate = 'MESSAGE_CREATE',
NextSlaBreach = 'NEXT_SLA_BREACH',
ResolutionSlaBreach = 'RESOLUTION_SLA_BREACH',
PrivateNoteCreate = 'PRIVATE_NOTE_CREATE',
UpdateConversationProperty = 'UPDATE_CONVERSATION_PROPERTY',
}
Expand Down
2 changes: 0 additions & 2 deletions packages/rule-engine/src/recommended/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,6 @@ import triggerActionMessageCreate from './trigger-actions/message-create';
import triggerActionPrivateNoteCreate from './trigger-actions/private-note-create';
import triggerActionFirstSLABreach from './trigger-actions/first-sla-breach';
import triggerActionNextSLABreach from './trigger-actions/next-sla-breach';
import triggerActionResolutionSLABreach from './trigger-actions/resolution-sla-breach';
import triggerActionCallEnded from './trigger-actions/call-ended';
import triggerActionUpdateConversationProperty from './trigger-actions/update-conversation-property';

Expand Down Expand Up @@ -201,7 +200,6 @@ const recommendedPlugins: RulePlugin[] = [
[TriggerActionType.PrivateNoteCreate]: triggerActionPrivateNoteCreate,
[TriggerActionType.FirstSlaBreach]: triggerActionFirstSLABreach,
[TriggerActionType.NextSlaBreach]: triggerActionNextSLABreach,
[TriggerActionType.ResolutionSlaBreach]: triggerActionResolutionSLABreach,
[TriggerActionType.CallEnded]: triggerActionCallEnded,
[TriggerActionType.UpdateConversationProperty]: triggerActionUpdateConversationProperty,
},
Expand Down

This file was deleted.

Loading