@d19n/youfibre-odin-sdk 2.0.133 → 2.0.135

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -353,7 +353,7 @@ This SDK includes **165** entities across **12** modules.
353
353
 
354
354
  ## Actions
355
355
 
356
- This SDK includes **681** actions.
356
+ This SDK includes **686** actions.
357
357
 
358
358
  ### Action Types
359
359
 
@@ -556,6 +556,7 @@ This SDK includes **681** actions.
556
556
  | `MoveServiceWorkOrderFromRemediationRequiredToPending` | STAGE_TRANSITION | k1.t-hEOJjsDb.FieldServiceModule.WorkOrder.Transition.MoveServiceWorkOrderFromRemediationRequiredToPending |
557
557
  | `MoveServiceWorkOrderFromRemediationRequiredToPendingSupplier` | STAGE_TRANSITION | k1.t-hEOJjsDb.FieldServiceModule.WorkOrder.Transition.MoveServiceWorkOrderFromRemediationRequiredToPendingSupplier |
558
558
  | `MoveServiceWorkOrderFromScheduledToPending` | STAGE_TRANSITION | k1.t-hEOJjsDb.FieldServiceModule.WorkOrder.Transition.MoveServiceWorkOrderFromScheduledToPending |
559
+ | `MoveServiceWorkOrderFromScheduledToPendingSupplier` | STAGE_TRANSITION | k1.t-hEOJjsDb.FieldServiceModule.WorkOrder.Transition.MoveServiceWorkOrderFromScheduledToPendingSupplier |
559
560
  | `MoveServiceWorkOrderToCancelled` | STAGE_TRANSITION | k1.t-hEOJjsDb.FieldServiceModule.WorkOrder.Transition.MoveServiceWorkOrderToCancelled |
560
561
  | `MoveServiceWorkOrderToEnRoute` | STAGE_TRANSITION | k1.t-hEOJjsDb.FieldServiceModule.WorkOrder.Transition.MoveServiceWorkOrderToEnRoute |
561
562
  | `MoveServiceWorkOrderToEnRouteSupplier` | STAGE_TRANSITION | k1.t-hEOJjsDb.FieldServiceModule.WorkOrder.Transition.MoveServiceWorkOrderToEnRouteSupplier |
@@ -744,6 +745,8 @@ This SDK includes **681** actions.
744
745
 
745
746
  **MoveServiceWorkOrderFromScheduledToPending Target Stages:** `CustomerWorkOrdersStagePending`
746
747
 
748
+ **MoveServiceWorkOrderFromScheduledToPendingSupplier Target Stages:** `CustomerWorkOrdersStagePending`
749
+
747
750
  **MoveServiceWorkOrderToCancelled Target Stages:** `WorkOrderStageCancelled`
748
751
 
749
752
  **MoveServiceWorkOrderToEnRoute Target Stages:** `WorkOrderStageEnRoute`
@@ -1203,9 +1206,13 @@ This SDK includes **681** actions.
1203
1206
  | `UpdateAgentCallLegOnOutboundCallCompleted` | UPDATE | k1.t-hEOJjsDb.NotificationModule.CallLeg.Update.UpdateAgentCallLegOnOutboundCallCompleted |
1204
1207
  | `UpdateAgentCallLegOnOutboundCallFailed` | UPDATE | k1.t-hEOJjsDb.NotificationModule.CallLeg.Update.UpdateAgentCallLegOnOutboundCallFailed |
1205
1208
  | `UpdateAgentCallLegOnOutboundCallNoAnswer` | UPDATE | k1.t-hEOJjsDb.NotificationModule.CallLeg.Update.UpdateAgentCallLegOnOutboundCallNoAnswer |
1209
+ | `UpdateAgentCallLegOnOutboundCallRinging` | UPDATE | k1.t-hEOJjsDb.NotificationModule.CallLeg.Update.UpdateAgentCallLegOnOutboundCallRinging |
1206
1210
  | `UpdateCall` | UPDATE | k1.t-hEOJjsDb.NotificationModule.CallLeg.Update.UpdateCall |
1207
1211
  | `UpdateCustomerCallLegOnIncomingCallAnswered` | UPDATE | k1.t-hEOJjsDb.NotificationModule.CallLeg.Update.UpdateCustomerCallLegOnIncomingCallAnswered |
1212
+ | `UpdateCustomerCallLegOnIncomingCallCanceled` | UPDATE | k1.t-hEOJjsDb.NotificationModule.CallLeg.Update.UpdateCustomerCallLegOnIncomingCallCanceled |
1213
+ | `UpdateCustomerCallLegOnIncomingCallFailed` | UPDATE | k1.t-hEOJjsDb.NotificationModule.CallLeg.Update.UpdateCustomerCallLegOnIncomingCallFailed |
1208
1214
  | `UpdateCustomerCallLegOnIncomingCallNoAnswer` | UPDATE | k1.t-hEOJjsDb.NotificationModule.CallLeg.Update.UpdateCustomerCallLegOnIncomingCallNoAnswer |
1215
+ | `UpdateCustomerCallLegOnIncomingCallRinging` | UPDATE | k1.t-hEOJjsDb.NotificationModule.CallLeg.Update.UpdateCustomerCallLegOnIncomingCallRinging |
1209
1216
  | `UpdateCustomerCallLegOnNumberCallStatusCompleted` | UPDATE | k1.t-hEOJjsDb.NotificationModule.CallLeg.Update.UpdateCustomerCallLegOnNumberCallStatusCompleted |
1210
1217
  | `UpdateCustomerCallLegOnOutboundCallAnswered` | UPDATE | k1.t-hEOJjsDb.NotificationModule.CallLeg.Update.UpdateCustomerCallLegOnOutboundCallAnswered |
1211
1218
  | `UpdateCustomerCallLegOnOutboundCallCompleted` | UPDATE | k1.t-hEOJjsDb.NotificationModule.CallLeg.Update.UpdateCustomerCallLegOnOutboundCallCompleted |
@@ -22,7 +22,7 @@ export interface EditFieldServiceProductMessage extends OdinRecordUpdatedEvent<E
22
22
  * Properties for EditFieldServiceProduct action
23
23
  *
24
24
  * @property Required fields: 0
25
- * @property Optional fields: 6
25
+ * @property Optional fields: 7
26
26
  */
27
27
  export interface EditFieldServiceProductProperties {
28
28
  /**
@@ -60,6 +60,13 @@ export interface EditFieldServiceProductProperties {
60
60
  * @type {BOOLEAN}
61
61
  */
62
62
  Active?: boolean | null;
63
+ /**
64
+ * provider
65
+ *
66
+ * network provider (Sales - Order)
67
+ * @type {ENUM}
68
+ */
69
+ Provider?: string | null;
63
70
  }
64
71
  /**
65
72
  * EditFieldServiceProduct
@@ -0,0 +1,65 @@
1
+ /**
2
+ * MoveServiceWorkOrderFromScheduledToPendingSupplier Action DTO
3
+ *
4
+ * MoveServiceWorkOrderFromScheduledToPendingSupplier
5
+ *
6
+ * @module FieldServiceModule
7
+ * @entity WorkOrder
8
+ * @actionKey MoveServiceWorkOrderFromScheduledToPendingSupplier
9
+ * @event k1.t-hEOJjsDb.FieldServiceModule.WorkOrder.Transition.MoveServiceWorkOrderFromScheduledToPendingSupplier
10
+ *
11
+ * AUTO-GENERATED - DO NOT EDIT DIRECTLY
12
+ */
13
+ import { OdinRecord, OdinRecordUpdateDto, OdinRecordUpdatedEvent } from '@d19n/odin-types/dist/core';
14
+ /**
15
+ * RabbitMQ message payload for MoveServiceWorkOrderFromScheduledToPendingSupplier step flow events
16
+ *
17
+ * @event k1.t-hEOJjsDb.FieldServiceModule.WorkOrder.Transition.MoveServiceWorkOrderFromScheduledToPendingSupplier
18
+ */
19
+ export interface MoveServiceWorkOrderFromScheduledToPendingSupplierMessage extends OdinRecordUpdatedEvent<MoveServiceWorkOrderFromScheduledToPendingSupplierDto, {}> {
20
+ }
21
+ /**
22
+ * Properties for MoveServiceWorkOrderFromScheduledToPendingSupplier action
23
+ *
24
+ */
25
+ export interface MoveServiceWorkOrderFromScheduledToPendingSupplierProperties {
26
+ }
27
+ /**
28
+ * MoveServiceWorkOrderFromScheduledToPendingSupplier
29
+ *
30
+ * @actionType STAGE_TRANSITION - Transitions record to new pipeline stage
31
+ * @module FieldServiceModule
32
+ * @entity WorkOrder
33
+ * @targetStages CustomerWorkOrdersStagePending
34
+ * @event k1.t-hEOJjsDb.FieldServiceModule.WorkOrder.Transition.MoveServiceWorkOrderFromScheduledToPendingSupplier
35
+ * @permission schema.action.moveserviceworkorderfromscheduledtopendingsupplier.trigger
36
+ * @benchmark This action is tracked for performance benchmarks
37
+ */
38
+ export declare class MoveServiceWorkOrderFromScheduledToPendingSupplierDto extends OdinRecordUpdateDto<Record<string, any>> {
39
+ /** Used by SDK generators to identify action type */
40
+ static readonly ACTION_TYPE = "UPDATE";
41
+ static readonly ACTION_KEY = "MoveServiceWorkOrderFromScheduledToPendingSupplier";
42
+ static readonly MODULE_NAME = "FieldServiceModule";
43
+ static readonly ENTITIES: string[];
44
+ static readonly EVENT_NAME = "k1.t-hEOJjsDb.FieldServiceModule.WorkOrder.Transition.MoveServiceWorkOrderFromScheduledToPendingSupplier";
45
+ static readonly SCHEMA_ACTION_ID = "b54acd8c-60fb-4811-8a7d-f8134f9a9ecc";
46
+ static readonly PERMISSION = "schema.action.moveserviceworkorderfromscheduledtopendingsupplier.trigger";
47
+ static readonly TARGET_STAGES: readonly ["CustomerWorkOrdersStagePending"];
48
+ static readonly IS_STAGE_TRANSITION = true;
49
+ static readonly IS_MULTI_STEP_FLOW = false;
50
+ static readonly HAS_STEP_LINKS = false;
51
+ readonly actionName: string;
52
+ readonly schemaActionId: string;
53
+ readonly entity: string;
54
+ readonly stageKey: string;
55
+ constructor(record: OdinRecord<any> | {
56
+ id: string;
57
+ entity: string;
58
+ type?: string;
59
+ }, options?: {
60
+ journeyId?: string;
61
+ });
62
+ /** Step classes that can be used with this action */
63
+ static readonly stepClasses: readonly [];
64
+ steps: [];
65
+ }
@@ -0,0 +1,57 @@
1
+ "use strict";
2
+ /**
3
+ * MoveServiceWorkOrderFromScheduledToPendingSupplier Action DTO
4
+ *
5
+ * MoveServiceWorkOrderFromScheduledToPendingSupplier
6
+ *
7
+ * @module FieldServiceModule
8
+ * @entity WorkOrder
9
+ * @actionKey MoveServiceWorkOrderFromScheduledToPendingSupplier
10
+ * @event k1.t-hEOJjsDb.FieldServiceModule.WorkOrder.Transition.MoveServiceWorkOrderFromScheduledToPendingSupplier
11
+ *
12
+ * AUTO-GENERATED - DO NOT EDIT DIRECTLY
13
+ */
14
+ Object.defineProperty(exports, "__esModule", { value: true });
15
+ exports.MoveServiceWorkOrderFromScheduledToPendingSupplierDto = void 0;
16
+ const core_1 = require("@d19n/odin-types/dist/core");
17
+ /**
18
+ * MoveServiceWorkOrderFromScheduledToPendingSupplier
19
+ *
20
+ * @actionType STAGE_TRANSITION - Transitions record to new pipeline stage
21
+ * @module FieldServiceModule
22
+ * @entity WorkOrder
23
+ * @targetStages CustomerWorkOrdersStagePending
24
+ * @event k1.t-hEOJjsDb.FieldServiceModule.WorkOrder.Transition.MoveServiceWorkOrderFromScheduledToPendingSupplier
25
+ * @permission schema.action.moveserviceworkorderfromscheduledtopendingsupplier.trigger
26
+ * @benchmark This action is tracked for performance benchmarks
27
+ */
28
+ class MoveServiceWorkOrderFromScheduledToPendingSupplierDto extends core_1.OdinRecordUpdateDto {
29
+ constructor(record, options) {
30
+ super({
31
+ id: record.id,
32
+ entity: record.entity,
33
+ type: record.type,
34
+ properties: {},
35
+ journeyId: options === null || options === void 0 ? void 0 : options.journeyId,
36
+ });
37
+ this.actionName = 'MoveServiceWorkOrderFromScheduledToPendingSupplier';
38
+ this.schemaActionId = 'b54acd8c-60fb-4811-8a7d-f8134f9a9ecc';
39
+ this.entity = 'FieldServiceModule:WorkOrder';
40
+ this.stageKey = 'CustomerWorkOrdersStagePending';
41
+ }
42
+ }
43
+ exports.MoveServiceWorkOrderFromScheduledToPendingSupplierDto = MoveServiceWorkOrderFromScheduledToPendingSupplierDto;
44
+ /** Used by SDK generators to identify action type */
45
+ MoveServiceWorkOrderFromScheduledToPendingSupplierDto.ACTION_TYPE = 'UPDATE';
46
+ MoveServiceWorkOrderFromScheduledToPendingSupplierDto.ACTION_KEY = 'MoveServiceWorkOrderFromScheduledToPendingSupplier';
47
+ MoveServiceWorkOrderFromScheduledToPendingSupplierDto.MODULE_NAME = 'FieldServiceModule';
48
+ MoveServiceWorkOrderFromScheduledToPendingSupplierDto.ENTITIES = ['WorkOrder'];
49
+ MoveServiceWorkOrderFromScheduledToPendingSupplierDto.EVENT_NAME = 'k1.t-hEOJjsDb.FieldServiceModule.WorkOrder.Transition.MoveServiceWorkOrderFromScheduledToPendingSupplier';
50
+ MoveServiceWorkOrderFromScheduledToPendingSupplierDto.SCHEMA_ACTION_ID = 'b54acd8c-60fb-4811-8a7d-f8134f9a9ecc';
51
+ MoveServiceWorkOrderFromScheduledToPendingSupplierDto.PERMISSION = 'schema.action.moveserviceworkorderfromscheduledtopendingsupplier.trigger';
52
+ MoveServiceWorkOrderFromScheduledToPendingSupplierDto.TARGET_STAGES = ['CustomerWorkOrdersStagePending'];
53
+ MoveServiceWorkOrderFromScheduledToPendingSupplierDto.IS_STAGE_TRANSITION = true;
54
+ MoveServiceWorkOrderFromScheduledToPendingSupplierDto.IS_MULTI_STEP_FLOW = false;
55
+ MoveServiceWorkOrderFromScheduledToPendingSupplierDto.HAS_STEP_LINKS = false;
56
+ /** Step classes that can be used with this action */
57
+ MoveServiceWorkOrderFromScheduledToPendingSupplierDto.stepClasses = [];
@@ -0,0 +1,81 @@
1
+ /**
2
+ * UpdateAgentCallLegOnOutboundCallRinging Action DTO
3
+ *
4
+ * Update agent call leg on outbound call ringing
5
+ *
6
+ * @module NotificationModule
7
+ * @entity CallLeg
8
+ * @actionKey UpdateAgentCallLegOnOutboundCallRinging
9
+ * @event k1.t-hEOJjsDb.NotificationModule.CallLeg.Update.UpdateAgentCallLegOnOutboundCallRinging
10
+ *
11
+ * AUTO-GENERATED - DO NOT EDIT DIRECTLY
12
+ */
13
+ import { OdinRecord, OdinRecordUpdateDto, OdinRecordUpdatedEvent } from '@d19n/odin-types/dist/core';
14
+ /**
15
+ * RabbitMQ message payload for UpdateAgentCallLegOnOutboundCallRinging updated events
16
+ *
17
+ * @event k1.t-hEOJjsDb.NotificationModule.CallLeg.Update.UpdateAgentCallLegOnOutboundCallRinging
18
+ */
19
+ export interface UpdateAgentCallLegOnOutboundCallRingingMessage extends OdinRecordUpdatedEvent<UpdateAgentCallLegOnOutboundCallRingingDto, UpdateAgentCallLegOnOutboundCallRingingProperties> {
20
+ }
21
+ /**
22
+ * Properties for UpdateAgentCallLegOnOutboundCallRinging action
23
+ *
24
+ * @property Required fields: 2
25
+ * @property Optional fields: 0
26
+ */
27
+ export interface UpdateAgentCallLegOnOutboundCallRingingProperties {
28
+ /**
29
+ * RingingAt
30
+ *
31
+ * Data field for CallLeg records. Used by Communications team.
32
+ * @type {DATE_TIME}
33
+ * @required
34
+ */
35
+ RingingAt: string;
36
+ /**
37
+ * Status
38
+ *
39
+ * Status indicator for CallLeg records. Tracks lifecycle state. Used by Communications team.
40
+ * @type {ENUM}
41
+ * @required
42
+ */
43
+ Status: string;
44
+ }
45
+ /**
46
+ * UpdateAgentCallLegOnOutboundCallRinging
47
+ *
48
+ * Update agent call leg on outbound call ringing
49
+ *
50
+ * @actionType UPDATE - Updates an existing CallLeg record
51
+ * @module NotificationModule
52
+ * @entity CallLeg
53
+ * @event k1.t-hEOJjsDb.NotificationModule.CallLeg.Update.UpdateAgentCallLegOnOutboundCallRinging
54
+ * @permission schema.action.updateagentcalllegonoutboundcallringing.trigger
55
+ * @benchmark This action is tracked for performance benchmarks
56
+ */
57
+ export declare class UpdateAgentCallLegOnOutboundCallRingingDto extends OdinRecordUpdateDto<UpdateAgentCallLegOnOutboundCallRingingProperties> {
58
+ /** Used by SDK generators to identify action type */
59
+ static readonly ACTION_TYPE = "UPDATE";
60
+ static readonly ACTION_KEY = "UpdateAgentCallLegOnOutboundCallRinging";
61
+ static readonly MODULE_NAME = "NotificationModule";
62
+ static readonly ENTITIES: string[];
63
+ static readonly EVENT_NAME = "k1.t-hEOJjsDb.NotificationModule.CallLeg.Update.UpdateAgentCallLegOnOutboundCallRinging";
64
+ static readonly PERMISSION = "schema.action.updateagentcalllegonoutboundcallringing.trigger";
65
+ /** Step metadata - entity this action targets */
66
+ static readonly STEP_ENTITY = "NotificationModule:CallLeg";
67
+ static readonly STEP_SCHEMA_ID = "75c59745-35fb-44b9-b3f2-7563101fdcec";
68
+ static readonly STEP_SCHEMA_ACTION_ID = "10c0860c-a814-4879-b506-e718a2fd4b50";
69
+ static readonly AUTO_LINK_PARENT = false;
70
+ readonly actionName: string;
71
+ readonly schemaActionId: string;
72
+ readonly entity: string;
73
+ constructor(record: OdinRecord<any> | {
74
+ id: string;
75
+ entity: string;
76
+ type?: string;
77
+ }, properties: UpdateAgentCallLegOnOutboundCallRingingProperties, options?: {
78
+ journeyId?: string;
79
+ stageKey?: string;
80
+ });
81
+ }
@@ -0,0 +1,56 @@
1
+ "use strict";
2
+ /**
3
+ * UpdateAgentCallLegOnOutboundCallRinging Action DTO
4
+ *
5
+ * Update agent call leg on outbound call ringing
6
+ *
7
+ * @module NotificationModule
8
+ * @entity CallLeg
9
+ * @actionKey UpdateAgentCallLegOnOutboundCallRinging
10
+ * @event k1.t-hEOJjsDb.NotificationModule.CallLeg.Update.UpdateAgentCallLegOnOutboundCallRinging
11
+ *
12
+ * AUTO-GENERATED - DO NOT EDIT DIRECTLY
13
+ */
14
+ Object.defineProperty(exports, "__esModule", { value: true });
15
+ exports.UpdateAgentCallLegOnOutboundCallRingingDto = void 0;
16
+ const core_1 = require("@d19n/odin-types/dist/core");
17
+ /**
18
+ * UpdateAgentCallLegOnOutboundCallRinging
19
+ *
20
+ * Update agent call leg on outbound call ringing
21
+ *
22
+ * @actionType UPDATE - Updates an existing CallLeg record
23
+ * @module NotificationModule
24
+ * @entity CallLeg
25
+ * @event k1.t-hEOJjsDb.NotificationModule.CallLeg.Update.UpdateAgentCallLegOnOutboundCallRinging
26
+ * @permission schema.action.updateagentcalllegonoutboundcallringing.trigger
27
+ * @benchmark This action is tracked for performance benchmarks
28
+ */
29
+ class UpdateAgentCallLegOnOutboundCallRingingDto extends core_1.OdinRecordUpdateDto {
30
+ constructor(record, properties, options) {
31
+ super({
32
+ id: record.id,
33
+ entity: record.entity,
34
+ type: record.type,
35
+ properties,
36
+ journeyId: options === null || options === void 0 ? void 0 : options.journeyId,
37
+ stageKey: options === null || options === void 0 ? void 0 : options.stageKey,
38
+ });
39
+ this.actionName = 'UpdateAgentCallLegOnOutboundCallRinging';
40
+ this.schemaActionId = '10c0860c-a814-4879-b506-e718a2fd4b50';
41
+ this.entity = 'NotificationModule:CallLeg';
42
+ }
43
+ }
44
+ exports.UpdateAgentCallLegOnOutboundCallRingingDto = UpdateAgentCallLegOnOutboundCallRingingDto;
45
+ /** Used by SDK generators to identify action type */
46
+ UpdateAgentCallLegOnOutboundCallRingingDto.ACTION_TYPE = 'UPDATE';
47
+ UpdateAgentCallLegOnOutboundCallRingingDto.ACTION_KEY = 'UpdateAgentCallLegOnOutboundCallRinging';
48
+ UpdateAgentCallLegOnOutboundCallRingingDto.MODULE_NAME = 'NotificationModule';
49
+ UpdateAgentCallLegOnOutboundCallRingingDto.ENTITIES = ['CallLeg'];
50
+ UpdateAgentCallLegOnOutboundCallRingingDto.EVENT_NAME = 'k1.t-hEOJjsDb.NotificationModule.CallLeg.Update.UpdateAgentCallLegOnOutboundCallRinging';
51
+ UpdateAgentCallLegOnOutboundCallRingingDto.PERMISSION = 'schema.action.updateagentcalllegonoutboundcallringing.trigger';
52
+ /** Step metadata - entity this action targets */
53
+ UpdateAgentCallLegOnOutboundCallRingingDto.STEP_ENTITY = 'NotificationModule:CallLeg';
54
+ UpdateAgentCallLegOnOutboundCallRingingDto.STEP_SCHEMA_ID = '75c59745-35fb-44b9-b3f2-7563101fdcec';
55
+ UpdateAgentCallLegOnOutboundCallRingingDto.STEP_SCHEMA_ACTION_ID = '10c0860c-a814-4879-b506-e718a2fd4b50';
56
+ UpdateAgentCallLegOnOutboundCallRingingDto.AUTO_LINK_PARENT = false;
@@ -0,0 +1,81 @@
1
+ /**
2
+ * UpdateCustomerCallLegOnIncomingCallCanceled Action DTO
3
+ *
4
+ * Update customer call leg on incoming call canceled
5
+ *
6
+ * @module NotificationModule
7
+ * @entity CallLeg
8
+ * @actionKey UpdateCustomerCallLegOnIncomingCallCanceled
9
+ * @event k1.t-hEOJjsDb.NotificationModule.CallLeg.Update.UpdateCustomerCallLegOnIncomingCallCanceled
10
+ *
11
+ * AUTO-GENERATED - DO NOT EDIT DIRECTLY
12
+ */
13
+ import { OdinRecord, OdinRecordUpdateDto, OdinRecordUpdatedEvent } from '@d19n/odin-types/dist/core';
14
+ /**
15
+ * RabbitMQ message payload for UpdateCustomerCallLegOnIncomingCallCanceled updated events
16
+ *
17
+ * @event k1.t-hEOJjsDb.NotificationModule.CallLeg.Update.UpdateCustomerCallLegOnIncomingCallCanceled
18
+ */
19
+ export interface UpdateCustomerCallLegOnIncomingCallCanceledMessage extends OdinRecordUpdatedEvent<UpdateCustomerCallLegOnIncomingCallCanceledDto, UpdateCustomerCallLegOnIncomingCallCanceledProperties> {
20
+ }
21
+ /**
22
+ * Properties for UpdateCustomerCallLegOnIncomingCallCanceled action
23
+ *
24
+ * @property Required fields: 2
25
+ * @property Optional fields: 0
26
+ */
27
+ export interface UpdateCustomerCallLegOnIncomingCallCanceledProperties {
28
+ /**
29
+ * EndedAt
30
+ *
31
+ * Data field for CallLeg records. Used by Communications team.
32
+ * @type {DATE_TIME}
33
+ * @required
34
+ */
35
+ EndedAt: string;
36
+ /**
37
+ * Status
38
+ *
39
+ * Status indicator for CallLeg records. Tracks lifecycle state. Used by Communications team.
40
+ * @type {ENUM}
41
+ * @required
42
+ */
43
+ Status: string;
44
+ }
45
+ /**
46
+ * UpdateCustomerCallLegOnIncomingCallCanceled
47
+ *
48
+ * Update customer call leg on incoming call canceled
49
+ *
50
+ * @actionType UPDATE - Updates an existing CallLeg record
51
+ * @module NotificationModule
52
+ * @entity CallLeg
53
+ * @event k1.t-hEOJjsDb.NotificationModule.CallLeg.Update.UpdateCustomerCallLegOnIncomingCallCanceled
54
+ * @permission schema.action.updatecustomercalllegonincomingcallcanceled.trigger
55
+ * @benchmark This action is tracked for performance benchmarks
56
+ */
57
+ export declare class UpdateCustomerCallLegOnIncomingCallCanceledDto extends OdinRecordUpdateDto<UpdateCustomerCallLegOnIncomingCallCanceledProperties> {
58
+ /** Used by SDK generators to identify action type */
59
+ static readonly ACTION_TYPE = "UPDATE";
60
+ static readonly ACTION_KEY = "UpdateCustomerCallLegOnIncomingCallCanceled";
61
+ static readonly MODULE_NAME = "NotificationModule";
62
+ static readonly ENTITIES: string[];
63
+ static readonly EVENT_NAME = "k1.t-hEOJjsDb.NotificationModule.CallLeg.Update.UpdateCustomerCallLegOnIncomingCallCanceled";
64
+ static readonly PERMISSION = "schema.action.updatecustomercalllegonincomingcallcanceled.trigger";
65
+ /** Step metadata - entity this action targets */
66
+ static readonly STEP_ENTITY = "NotificationModule:CallLeg";
67
+ static readonly STEP_SCHEMA_ID = "75c59745-35fb-44b9-b3f2-7563101fdcec";
68
+ static readonly STEP_SCHEMA_ACTION_ID = "aa945ebd-fc99-473a-bd67-6651fb6b6350";
69
+ static readonly AUTO_LINK_PARENT = false;
70
+ readonly actionName: string;
71
+ readonly schemaActionId: string;
72
+ readonly entity: string;
73
+ constructor(record: OdinRecord<any> | {
74
+ id: string;
75
+ entity: string;
76
+ type?: string;
77
+ }, properties: UpdateCustomerCallLegOnIncomingCallCanceledProperties, options?: {
78
+ journeyId?: string;
79
+ stageKey?: string;
80
+ });
81
+ }
@@ -0,0 +1,56 @@
1
+ "use strict";
2
+ /**
3
+ * UpdateCustomerCallLegOnIncomingCallCanceled Action DTO
4
+ *
5
+ * Update customer call leg on incoming call canceled
6
+ *
7
+ * @module NotificationModule
8
+ * @entity CallLeg
9
+ * @actionKey UpdateCustomerCallLegOnIncomingCallCanceled
10
+ * @event k1.t-hEOJjsDb.NotificationModule.CallLeg.Update.UpdateCustomerCallLegOnIncomingCallCanceled
11
+ *
12
+ * AUTO-GENERATED - DO NOT EDIT DIRECTLY
13
+ */
14
+ Object.defineProperty(exports, "__esModule", { value: true });
15
+ exports.UpdateCustomerCallLegOnIncomingCallCanceledDto = void 0;
16
+ const core_1 = require("@d19n/odin-types/dist/core");
17
+ /**
18
+ * UpdateCustomerCallLegOnIncomingCallCanceled
19
+ *
20
+ * Update customer call leg on incoming call canceled
21
+ *
22
+ * @actionType UPDATE - Updates an existing CallLeg record
23
+ * @module NotificationModule
24
+ * @entity CallLeg
25
+ * @event k1.t-hEOJjsDb.NotificationModule.CallLeg.Update.UpdateCustomerCallLegOnIncomingCallCanceled
26
+ * @permission schema.action.updatecustomercalllegonincomingcallcanceled.trigger
27
+ * @benchmark This action is tracked for performance benchmarks
28
+ */
29
+ class UpdateCustomerCallLegOnIncomingCallCanceledDto extends core_1.OdinRecordUpdateDto {
30
+ constructor(record, properties, options) {
31
+ super({
32
+ id: record.id,
33
+ entity: record.entity,
34
+ type: record.type,
35
+ properties,
36
+ journeyId: options === null || options === void 0 ? void 0 : options.journeyId,
37
+ stageKey: options === null || options === void 0 ? void 0 : options.stageKey,
38
+ });
39
+ this.actionName = 'UpdateCustomerCallLegOnIncomingCallCanceled';
40
+ this.schemaActionId = 'aa945ebd-fc99-473a-bd67-6651fb6b6350';
41
+ this.entity = 'NotificationModule:CallLeg';
42
+ }
43
+ }
44
+ exports.UpdateCustomerCallLegOnIncomingCallCanceledDto = UpdateCustomerCallLegOnIncomingCallCanceledDto;
45
+ /** Used by SDK generators to identify action type */
46
+ UpdateCustomerCallLegOnIncomingCallCanceledDto.ACTION_TYPE = 'UPDATE';
47
+ UpdateCustomerCallLegOnIncomingCallCanceledDto.ACTION_KEY = 'UpdateCustomerCallLegOnIncomingCallCanceled';
48
+ UpdateCustomerCallLegOnIncomingCallCanceledDto.MODULE_NAME = 'NotificationModule';
49
+ UpdateCustomerCallLegOnIncomingCallCanceledDto.ENTITIES = ['CallLeg'];
50
+ UpdateCustomerCallLegOnIncomingCallCanceledDto.EVENT_NAME = 'k1.t-hEOJjsDb.NotificationModule.CallLeg.Update.UpdateCustomerCallLegOnIncomingCallCanceled';
51
+ UpdateCustomerCallLegOnIncomingCallCanceledDto.PERMISSION = 'schema.action.updatecustomercalllegonincomingcallcanceled.trigger';
52
+ /** Step metadata - entity this action targets */
53
+ UpdateCustomerCallLegOnIncomingCallCanceledDto.STEP_ENTITY = 'NotificationModule:CallLeg';
54
+ UpdateCustomerCallLegOnIncomingCallCanceledDto.STEP_SCHEMA_ID = '75c59745-35fb-44b9-b3f2-7563101fdcec';
55
+ UpdateCustomerCallLegOnIncomingCallCanceledDto.STEP_SCHEMA_ACTION_ID = 'aa945ebd-fc99-473a-bd67-6651fb6b6350';
56
+ UpdateCustomerCallLegOnIncomingCallCanceledDto.AUTO_LINK_PARENT = false;
@@ -0,0 +1,81 @@
1
+ /**
2
+ * UpdateCustomerCallLegOnIncomingCallFailed Action DTO
3
+ *
4
+ * Update agent call leg on incoming call failed
5
+ *
6
+ * @module NotificationModule
7
+ * @entity CallLeg
8
+ * @actionKey UpdateCustomerCallLegOnIncomingCallFailed
9
+ * @event k1.t-hEOJjsDb.NotificationModule.CallLeg.Update.UpdateCustomerCallLegOnIncomingCallFailed
10
+ *
11
+ * AUTO-GENERATED - DO NOT EDIT DIRECTLY
12
+ */
13
+ import { OdinRecord, OdinRecordUpdateDto, OdinRecordUpdatedEvent } from '@d19n/odin-types/dist/core';
14
+ /**
15
+ * RabbitMQ message payload for UpdateCustomerCallLegOnIncomingCallFailed updated events
16
+ *
17
+ * @event k1.t-hEOJjsDb.NotificationModule.CallLeg.Update.UpdateCustomerCallLegOnIncomingCallFailed
18
+ */
19
+ export interface UpdateCustomerCallLegOnIncomingCallFailedMessage extends OdinRecordUpdatedEvent<UpdateCustomerCallLegOnIncomingCallFailedDto, UpdateCustomerCallLegOnIncomingCallFailedProperties> {
20
+ }
21
+ /**
22
+ * Properties for UpdateCustomerCallLegOnIncomingCallFailed action
23
+ *
24
+ * @property Required fields: 2
25
+ * @property Optional fields: 0
26
+ */
27
+ export interface UpdateCustomerCallLegOnIncomingCallFailedProperties {
28
+ /**
29
+ * EndedAt
30
+ *
31
+ * Data field for CallLeg records. Used by Communications team.
32
+ * @type {DATE_TIME}
33
+ * @required
34
+ */
35
+ EndedAt: string;
36
+ /**
37
+ * Status
38
+ *
39
+ * Status indicator for CallLeg records. Tracks lifecycle state. Used by Communications team.
40
+ * @type {ENUM}
41
+ * @required
42
+ */
43
+ Status: string;
44
+ }
45
+ /**
46
+ * UpdateCustomerCallLegOnIncomingCallFailed
47
+ *
48
+ * Update agent call leg on incoming call failed
49
+ *
50
+ * @actionType UPDATE - Updates an existing CallLeg record
51
+ * @module NotificationModule
52
+ * @entity CallLeg
53
+ * @event k1.t-hEOJjsDb.NotificationModule.CallLeg.Update.UpdateCustomerCallLegOnIncomingCallFailed
54
+ * @permission schema.action.updatecustomercalllegonincomingcallfailed.trigger
55
+ * @benchmark This action is tracked for performance benchmarks
56
+ */
57
+ export declare class UpdateCustomerCallLegOnIncomingCallFailedDto extends OdinRecordUpdateDto<UpdateCustomerCallLegOnIncomingCallFailedProperties> {
58
+ /** Used by SDK generators to identify action type */
59
+ static readonly ACTION_TYPE = "UPDATE";
60
+ static readonly ACTION_KEY = "UpdateCustomerCallLegOnIncomingCallFailed";
61
+ static readonly MODULE_NAME = "NotificationModule";
62
+ static readonly ENTITIES: string[];
63
+ static readonly EVENT_NAME = "k1.t-hEOJjsDb.NotificationModule.CallLeg.Update.UpdateCustomerCallLegOnIncomingCallFailed";
64
+ static readonly PERMISSION = "schema.action.updatecustomercalllegonincomingcallfailed.trigger";
65
+ /** Step metadata - entity this action targets */
66
+ static readonly STEP_ENTITY = "NotificationModule:CallLeg";
67
+ static readonly STEP_SCHEMA_ID = "75c59745-35fb-44b9-b3f2-7563101fdcec";
68
+ static readonly STEP_SCHEMA_ACTION_ID = "9570a7ac-effe-4002-a933-6f92a3914321";
69
+ static readonly AUTO_LINK_PARENT = false;
70
+ readonly actionName: string;
71
+ readonly schemaActionId: string;
72
+ readonly entity: string;
73
+ constructor(record: OdinRecord<any> | {
74
+ id: string;
75
+ entity: string;
76
+ type?: string;
77
+ }, properties: UpdateCustomerCallLegOnIncomingCallFailedProperties, options?: {
78
+ journeyId?: string;
79
+ stageKey?: string;
80
+ });
81
+ }
@@ -0,0 +1,56 @@
1
+ "use strict";
2
+ /**
3
+ * UpdateCustomerCallLegOnIncomingCallFailed Action DTO
4
+ *
5
+ * Update agent call leg on incoming call failed
6
+ *
7
+ * @module NotificationModule
8
+ * @entity CallLeg
9
+ * @actionKey UpdateCustomerCallLegOnIncomingCallFailed
10
+ * @event k1.t-hEOJjsDb.NotificationModule.CallLeg.Update.UpdateCustomerCallLegOnIncomingCallFailed
11
+ *
12
+ * AUTO-GENERATED - DO NOT EDIT DIRECTLY
13
+ */
14
+ Object.defineProperty(exports, "__esModule", { value: true });
15
+ exports.UpdateCustomerCallLegOnIncomingCallFailedDto = void 0;
16
+ const core_1 = require("@d19n/odin-types/dist/core");
17
+ /**
18
+ * UpdateCustomerCallLegOnIncomingCallFailed
19
+ *
20
+ * Update agent call leg on incoming call failed
21
+ *
22
+ * @actionType UPDATE - Updates an existing CallLeg record
23
+ * @module NotificationModule
24
+ * @entity CallLeg
25
+ * @event k1.t-hEOJjsDb.NotificationModule.CallLeg.Update.UpdateCustomerCallLegOnIncomingCallFailed
26
+ * @permission schema.action.updatecustomercalllegonincomingcallfailed.trigger
27
+ * @benchmark This action is tracked for performance benchmarks
28
+ */
29
+ class UpdateCustomerCallLegOnIncomingCallFailedDto extends core_1.OdinRecordUpdateDto {
30
+ constructor(record, properties, options) {
31
+ super({
32
+ id: record.id,
33
+ entity: record.entity,
34
+ type: record.type,
35
+ properties,
36
+ journeyId: options === null || options === void 0 ? void 0 : options.journeyId,
37
+ stageKey: options === null || options === void 0 ? void 0 : options.stageKey,
38
+ });
39
+ this.actionName = 'UpdateCustomerCallLegOnIncomingCallFailed';
40
+ this.schemaActionId = '9570a7ac-effe-4002-a933-6f92a3914321';
41
+ this.entity = 'NotificationModule:CallLeg';
42
+ }
43
+ }
44
+ exports.UpdateCustomerCallLegOnIncomingCallFailedDto = UpdateCustomerCallLegOnIncomingCallFailedDto;
45
+ /** Used by SDK generators to identify action type */
46
+ UpdateCustomerCallLegOnIncomingCallFailedDto.ACTION_TYPE = 'UPDATE';
47
+ UpdateCustomerCallLegOnIncomingCallFailedDto.ACTION_KEY = 'UpdateCustomerCallLegOnIncomingCallFailed';
48
+ UpdateCustomerCallLegOnIncomingCallFailedDto.MODULE_NAME = 'NotificationModule';
49
+ UpdateCustomerCallLegOnIncomingCallFailedDto.ENTITIES = ['CallLeg'];
50
+ UpdateCustomerCallLegOnIncomingCallFailedDto.EVENT_NAME = 'k1.t-hEOJjsDb.NotificationModule.CallLeg.Update.UpdateCustomerCallLegOnIncomingCallFailed';
51
+ UpdateCustomerCallLegOnIncomingCallFailedDto.PERMISSION = 'schema.action.updatecustomercalllegonincomingcallfailed.trigger';
52
+ /** Step metadata - entity this action targets */
53
+ UpdateCustomerCallLegOnIncomingCallFailedDto.STEP_ENTITY = 'NotificationModule:CallLeg';
54
+ UpdateCustomerCallLegOnIncomingCallFailedDto.STEP_SCHEMA_ID = '75c59745-35fb-44b9-b3f2-7563101fdcec';
55
+ UpdateCustomerCallLegOnIncomingCallFailedDto.STEP_SCHEMA_ACTION_ID = '9570a7ac-effe-4002-a933-6f92a3914321';
56
+ UpdateCustomerCallLegOnIncomingCallFailedDto.AUTO_LINK_PARENT = false;
@@ -21,8 +21,26 @@ export interface UpdateCustomerCallLegOnIncomingCallNoAnswerMessage extends Odin
21
21
  /**
22
22
  * Properties for UpdateCustomerCallLegOnIncomingCallNoAnswer action
23
23
  *
24
+ * @property Required fields: 2
25
+ * @property Optional fields: 0
24
26
  */
25
27
  export interface UpdateCustomerCallLegOnIncomingCallNoAnswerProperties {
28
+ /**
29
+ * EndedAt
30
+ *
31
+ * Data field for CallLeg records. Used by Communications team.
32
+ * @type {DATE_TIME}
33
+ * @required
34
+ */
35
+ EndedAt: string;
36
+ /**
37
+ * Status
38
+ *
39
+ * Status indicator for CallLeg records. Tracks lifecycle state. Used by Communications team.
40
+ * @type {ENUM}
41
+ * @required
42
+ */
43
+ Status: string;
26
44
  }
27
45
  /**
28
46
  * UpdateCustomerCallLegOnIncomingCallNoAnswer