Skip to content

Commit

Permalink
resolution SLA revert
Browse files Browse the repository at this point in the history
  • Loading branch information
ShashaankKrishnatray committed Nov 4, 2024
2 parents 30c919a + 82f2f73 commit b195394
Show file tree
Hide file tree
Showing 6 changed files with 3 additions and 24 deletions.
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-42",
"version": "0.18.7",
"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.

0 comments on commit b195394

Please sign in to comment.