@d19n/youfibre-odin-sdk 2.0.46 → 2.0.47

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.
Files changed (43) hide show
  1. package/README.md +14 -3
  2. package/dist/actions-v2/AssignCaseTransitionDto.d.ts +141 -2
  3. package/dist/actions-v2/AssignCaseTransitionDto.js +90 -4
  4. package/dist/actions-v2/CaseDefaultStageEscalatedDto.d.ts +152 -19
  5. package/dist/actions-v2/CaseDefaultStageEscalatedDto.js +101 -23
  6. package/dist/actions-v2/CrmDatasetCreateDto.d.ts +8 -1
  7. package/dist/actions-v2/EscalateCaseActionBrskDto.d.ts +91 -0
  8. package/dist/actions-v2/EscalateCaseActionBrskDto.js +56 -0
  9. package/dist/actions-v2/EscalateCaseActionYfDto.d.ts +82 -0
  10. package/dist/actions-v2/EscalateCaseActionYfDto.js +56 -0
  11. package/dist/actions-v2/EscalateCaseActionYfcsDto.d.ts +89 -0
  12. package/dist/actions-v2/EscalateCaseActionYfcsDto.js +56 -0
  13. package/dist/actions-v2/UpdateExternalServiceIdDto.d.ts +73 -0
  14. package/dist/actions-v2/UpdateExternalServiceIdDto.js +56 -0
  15. package/dist/actions-v2/UpdateTeamDto.d.ts +3 -3
  16. package/dist/api-sdk-v2/CrmDatasetApi.d.ts +2 -0
  17. package/dist/api-sdk-v2/CrmDatasetApi.js +6 -0
  18. package/dist/api-sdk-v2/ExchangeApi.d.ts +2 -0
  19. package/dist/api-sdk-v2/ExchangeApi.js +6 -0
  20. package/dist/db-sdk-v2/CrmDatasetDb.d.ts +2 -0
  21. package/dist/db-sdk-v2/CrmDatasetDb.js +6 -0
  22. package/dist/db-sdk-v2/ExchangeDb.d.ts +2 -0
  23. package/dist/db-sdk-v2/ExchangeDb.js +6 -0
  24. package/dist/entities-v2/Address.d.ts +8 -1
  25. package/dist/entities-v2/Address.js +2 -0
  26. package/dist/entities-v2/Config.d.ts +8 -8
  27. package/dist/entities-v2/Config.js +4 -4
  28. package/dist/entities-v2/CreditNote.d.ts +20 -20
  29. package/dist/entities-v2/CreditNote.js +6 -6
  30. package/dist/entities-v2/CrmDataset.d.ts +3 -4
  31. package/dist/entities-v2/Exchange.d.ts +7 -0
  32. package/dist/entities-v2/Exchange.js +5 -1
  33. package/dist/entities-v2/Team.d.ts +12 -10
  34. package/dist/entities-v2/Team.js +13 -11
  35. package/dist/records-v2/AddressRecord.d.ts +27 -0
  36. package/dist/records-v2/AddressRecord.js +29 -0
  37. package/dist/records-v2/CaseRecord.d.ts +207 -13
  38. package/dist/records-v2/CaseRecord.js +312 -16
  39. package/dist/records-v2/CrmDatasetRecord.d.ts +20 -0
  40. package/dist/records-v2/CrmDatasetRecord.js +33 -0
  41. package/dist/records-v2/ExchangeRecord.d.ts +20 -0
  42. package/dist/records-v2/ExchangeRecord.js +33 -0
  43. package/package.json +1 -1
@@ -13,23 +13,101 @@
13
13
  * AUTO-GENERATED - DO NOT EDIT DIRECTLY
14
14
  */
15
15
  Object.defineProperty(exports, "__esModule", { value: true });
16
- exports.CaseDefaultStageEscalatedDto = exports.CaseDefaultStageEscalatedSteps = exports.CreateNoteForCaseAssignmentDto = exports.EscalateCaseActionDto = void 0;
16
+ exports.CaseDefaultStageEscalatedDto = exports.CaseDefaultStageEscalatedSteps = exports.CreateNoteForCaseAssignmentDto = exports.EscalateCaseActionYfcsDto = exports.EscalateCaseActionBrskDto = exports.EscalateCaseActionYfDto = void 0;
17
17
  const core_1 = require("@d19n/odin-types/dist/core");
18
18
  /**
19
- * Escalate Case
19
+ * Escalate to YouFibre
20
20
  *
21
- * Escalates a Case
21
+ * Escalate Case Action YF
22
22
  *
23
23
  * @actionType UPDATE - Updates an existing Case record
24
24
  * @module SupportModule
25
25
  * @entity Case
26
- * @event k1.t-hEOJjsDb.SupportModule.Case.Update.EscalateCaseAction
27
- * @permission schema.action.escalatecaseaction.trigger
28
- * @category WORKFLOW
26
+ * @event k1.t-hEOJjsDb.SupportModule.Case.Update.EscalateCaseActionYF
27
+ * @permission schema.action.escalatecaseactionyf.trigger
28
+ * @benchmark This action is tracked for performance benchmarks
29
+ */
30
+ class EscalateCaseActionYfDto extends core_1.OdinRecordUpdateDto {
31
+ constructor(record, properties, options) {
32
+ super({
33
+ id: record.id,
34
+ entity: record.entity,
35
+ type: record.type,
36
+ properties,
37
+ journeyId: options === null || options === void 0 ? void 0 : options.journeyId,
38
+ stageKey: options === null || options === void 0 ? void 0 : options.stageKey,
39
+ });
40
+ this.actionName = 'EscalateCaseActionYF';
41
+ this.schemaActionId = '2d38b17f-7c51-4a9a-bea5-27873de882c6';
42
+ this.entity = 'SupportModule:Case';
43
+ }
44
+ }
45
+ exports.EscalateCaseActionYfDto = EscalateCaseActionYfDto;
46
+ /** Used by SDK generators to identify action type */
47
+ EscalateCaseActionYfDto.ACTION_TYPE = 'UPDATE';
48
+ EscalateCaseActionYfDto.ACTION_KEY = 'EscalateCaseActionYF';
49
+ EscalateCaseActionYfDto.MODULE_NAME = 'SupportModule';
50
+ EscalateCaseActionYfDto.ENTITIES = ['Case'];
51
+ EscalateCaseActionYfDto.EVENT_NAME = 'k1.t-hEOJjsDb.SupportModule.Case.Update.EscalateCaseActionYF';
52
+ EscalateCaseActionYfDto.PERMISSION = 'schema.action.escalatecaseactionyf.trigger';
53
+ /** Step metadata - entity this action targets */
54
+ EscalateCaseActionYfDto.STEP_ENTITY = 'SupportModule:Case';
55
+ EscalateCaseActionYfDto.STEP_SCHEMA_ID = 'be8173eb-269b-4a67-be0c-11ce6af5d561';
56
+ EscalateCaseActionYfDto.STEP_SCHEMA_ACTION_ID = '2d38b17f-7c51-4a9a-bea5-27873de882c6';
57
+ EscalateCaseActionYfDto.AUTO_LINK_PARENT = false;
58
+ /**
59
+ * Escalate to Brsk Customer Services
60
+ *
61
+ * Escalate Case Action Brsk
62
+ *
63
+ * @actionType UPDATE - Updates an existing Case record
64
+ * @module SupportModule
65
+ * @entity Case
66
+ * @event k1.t-hEOJjsDb.SupportModule.Case.Update.EscalateCaseActionBrsk
67
+ * @permission schema.action.escalatecaseactionbrsk.trigger
68
+ * @benchmark This action is tracked for performance benchmarks
69
+ */
70
+ class EscalateCaseActionBrskDto extends core_1.OdinRecordUpdateDto {
71
+ constructor(record, properties, options) {
72
+ super({
73
+ id: record.id,
74
+ entity: record.entity,
75
+ type: record.type,
76
+ properties,
77
+ journeyId: options === null || options === void 0 ? void 0 : options.journeyId,
78
+ stageKey: options === null || options === void 0 ? void 0 : options.stageKey,
79
+ });
80
+ this.actionName = 'EscalateCaseActionBrsk';
81
+ this.schemaActionId = '52c9c00a-d2ae-422f-a326-dead7314c684';
82
+ this.entity = 'SupportModule:Case';
83
+ }
84
+ }
85
+ exports.EscalateCaseActionBrskDto = EscalateCaseActionBrskDto;
86
+ /** Used by SDK generators to identify action type */
87
+ EscalateCaseActionBrskDto.ACTION_TYPE = 'UPDATE';
88
+ EscalateCaseActionBrskDto.ACTION_KEY = 'EscalateCaseActionBrsk';
89
+ EscalateCaseActionBrskDto.MODULE_NAME = 'SupportModule';
90
+ EscalateCaseActionBrskDto.ENTITIES = ['Case'];
91
+ EscalateCaseActionBrskDto.EVENT_NAME = 'k1.t-hEOJjsDb.SupportModule.Case.Update.EscalateCaseActionBrsk';
92
+ EscalateCaseActionBrskDto.PERMISSION = 'schema.action.escalatecaseactionbrsk.trigger';
93
+ /** Step metadata - entity this action targets */
94
+ EscalateCaseActionBrskDto.STEP_ENTITY = 'SupportModule:Case';
95
+ EscalateCaseActionBrskDto.STEP_SCHEMA_ID = 'be8173eb-269b-4a67-be0c-11ce6af5d561';
96
+ EscalateCaseActionBrskDto.STEP_SCHEMA_ACTION_ID = '52c9c00a-d2ae-422f-a326-dead7314c684';
97
+ EscalateCaseActionBrskDto.AUTO_LINK_PARENT = false;
98
+ /**
99
+ * Escalate to YouFibre Customer Services
100
+ *
101
+ * Escalate Case Action YF CS
102
+ *
103
+ * @actionType UPDATE - Updates an existing Case record
104
+ * @module SupportModule
105
+ * @entity Case
106
+ * @event k1.t-hEOJjsDb.SupportModule.Case.Update.EscalateCaseActionYFCS
107
+ * @permission schema.action.escalatecaseactionyfcs.trigger
29
108
  * @benchmark This action is tracked for performance benchmarks
30
- * @benchmarkTags case, customer-service, escalation
31
109
  */
32
- class EscalateCaseActionDto extends core_1.OdinRecordUpdateDto {
110
+ class EscalateCaseActionYfcsDto extends core_1.OdinRecordUpdateDto {
33
111
  constructor(record, properties, options) {
34
112
  super({
35
113
  id: record.id,
@@ -39,24 +117,24 @@ class EscalateCaseActionDto extends core_1.OdinRecordUpdateDto {
39
117
  journeyId: options === null || options === void 0 ? void 0 : options.journeyId,
40
118
  stageKey: options === null || options === void 0 ? void 0 : options.stageKey,
41
119
  });
42
- this.actionName = 'EscalateCaseAction';
43
- this.schemaActionId = 'fdc282dd-cdc3-49bd-8818-df217a3e226d';
120
+ this.actionName = 'EscalateCaseActionYFCS';
121
+ this.schemaActionId = 'a481332c-eb96-4e83-9679-7d345a1cb69b';
44
122
  this.entity = 'SupportModule:Case';
45
123
  }
46
124
  }
47
- exports.EscalateCaseActionDto = EscalateCaseActionDto;
125
+ exports.EscalateCaseActionYfcsDto = EscalateCaseActionYfcsDto;
48
126
  /** Used by SDK generators to identify action type */
49
- EscalateCaseActionDto.ACTION_TYPE = 'UPDATE';
50
- EscalateCaseActionDto.ACTION_KEY = 'EscalateCaseAction';
51
- EscalateCaseActionDto.MODULE_NAME = 'SupportModule';
52
- EscalateCaseActionDto.ENTITIES = ['Case'];
53
- EscalateCaseActionDto.EVENT_NAME = 'k1.t-hEOJjsDb.SupportModule.Case.Update.EscalateCaseAction';
54
- EscalateCaseActionDto.PERMISSION = 'schema.action.escalatecaseaction.trigger';
127
+ EscalateCaseActionYfcsDto.ACTION_TYPE = 'UPDATE';
128
+ EscalateCaseActionYfcsDto.ACTION_KEY = 'EscalateCaseActionYFCS';
129
+ EscalateCaseActionYfcsDto.MODULE_NAME = 'SupportModule';
130
+ EscalateCaseActionYfcsDto.ENTITIES = ['Case'];
131
+ EscalateCaseActionYfcsDto.EVENT_NAME = 'k1.t-hEOJjsDb.SupportModule.Case.Update.EscalateCaseActionYFCS';
132
+ EscalateCaseActionYfcsDto.PERMISSION = 'schema.action.escalatecaseactionyfcs.trigger';
55
133
  /** Step metadata - entity this action targets */
56
- EscalateCaseActionDto.STEP_ENTITY = 'SupportModule:Case';
57
- EscalateCaseActionDto.STEP_SCHEMA_ID = 'be8173eb-269b-4a67-be0c-11ce6af5d561';
58
- EscalateCaseActionDto.STEP_SCHEMA_ACTION_ID = 'fdc282dd-cdc3-49bd-8818-df217a3e226d';
59
- EscalateCaseActionDto.AUTO_LINK_PARENT = false;
134
+ EscalateCaseActionYfcsDto.STEP_ENTITY = 'SupportModule:Case';
135
+ EscalateCaseActionYfcsDto.STEP_SCHEMA_ID = 'be8173eb-269b-4a67-be0c-11ce6af5d561';
136
+ EscalateCaseActionYfcsDto.STEP_SCHEMA_ACTION_ID = 'a481332c-eb96-4e83-9679-7d345a1cb69b';
137
+ EscalateCaseActionYfcsDto.AUTO_LINK_PARENT = false;
60
138
  /**
61
139
  * CreateNoteForCaseAssignment
62
140
  *
@@ -160,7 +238,7 @@ CaseDefaultStageEscalatedDto.HAS_STEP_LINKS = false;
160
238
  CaseDefaultStageEscalatedDto.stepDefinitions = [
161
239
  {
162
240
  stepKey: 'escalate_case',
163
- dtoClass: 'EscalateCaseActionDto',
241
+ dtoClass: 'EscalateCaseActionYfDto',
164
242
  entity: 'SupportModule:Case',
165
243
  linksTo: null
166
244
  },
@@ -174,4 +252,4 @@ CaseDefaultStageEscalatedDto.stepDefinitions = [
174
252
  /** Type-safe step key accessor */
175
253
  CaseDefaultStageEscalatedDto.Steps = exports.CaseDefaultStageEscalatedSteps;
176
254
  /** Step classes that can be used with this action */
177
- CaseDefaultStageEscalatedDto.stepClasses = ['EscalateCaseActionDto', 'CreateNoteForCaseAssignmentDto'];
255
+ CaseDefaultStageEscalatedDto.stepClasses = ['EscalateCaseActionYfDto', 'EscalateCaseActionBrskDto', 'EscalateCaseActionYfcsDto', 'CreateNoteForCaseAssignmentDto'];
@@ -23,7 +23,7 @@ export interface CrmDatasetCreateMessage extends OdinRecordCreatedEvent<CrmDatas
23
23
  * Properties for CrmDatasetCreate action
24
24
  *
25
25
  * @property Required fields: 3
26
- * @property Optional fields: 3
26
+ * @property Optional fields: 4
27
27
  */
28
28
  export interface CrmDatasetCreateProperties {
29
29
  /**
@@ -71,6 +71,13 @@ export interface CrmDatasetCreateProperties {
71
71
  * @type {LOOKUP}
72
72
  */
73
73
  Owner?: string | null;
74
+ /**
75
+ * Exchange
76
+ *
77
+ * Data field for CrmDataset records. Used by Sales team.
78
+ * @type {TEXT}
79
+ */
80
+ Exchange?: string | null;
74
81
  }
75
82
  /**
76
83
  * CrmDatasetCreate
@@ -0,0 +1,91 @@
1
+ /**
2
+ * EscalateCaseActionBrsk Action DTO
3
+ *
4
+ * Escalate Case Action Brsk
5
+ *
6
+ * @module SupportModule
7
+ * @entity Case
8
+ * @actionKey EscalateCaseActionBrsk
9
+ * @event k1.t-hEOJjsDb.SupportModule.Case.Update.EscalateCaseActionBrsk
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 EscalateCaseActionBrsk updated events
16
+ *
17
+ * @event k1.t-hEOJjsDb.SupportModule.Case.Update.EscalateCaseActionBrsk
18
+ */
19
+ export interface EscalateCaseActionBrskMessage extends OdinRecordUpdatedEvent<EscalateCaseActionBrskDto, EscalateCaseActionBrskProperties> {
20
+ }
21
+ /**
22
+ * Properties for EscalateCaseActionBrsk action
23
+ *
24
+ * @property Required fields: 1
25
+ * @property Optional fields: 4
26
+ */
27
+ export interface EscalateCaseActionBrskProperties {
28
+ /**
29
+ * Team
30
+ *
31
+ * Reference identifier for Case relationships. Used for data integrity.
32
+ * @type {LOOKUP}
33
+ * @required
34
+ * @default null
35
+ */
36
+ TeamId: string;
37
+ /**
38
+ * Providers
39
+ *
40
+ * Providers
41
+ * @type {ENUM}
42
+ * @default Brsk
43
+ */
44
+ Providers?: string | null;
45
+ /**
46
+ * Owner
47
+ *
48
+ * Reference identifier for Case relationships. Used for data integrity.
49
+ * @type {LOOKUP}
50
+ * @default null
51
+ * @hidden This field is not visible in the UI
52
+ */
53
+ OwnerId?: string | null;
54
+ }
55
+ /**
56
+ * Escalate to Brsk Customer Services
57
+ *
58
+ * Escalate Case Action Brsk
59
+ *
60
+ * @actionType UPDATE - Updates an existing Case record
61
+ * @module SupportModule
62
+ * @entity Case
63
+ * @event k1.t-hEOJjsDb.SupportModule.Case.Update.EscalateCaseActionBrsk
64
+ * @permission schema.action.escalatecaseactionbrsk.trigger
65
+ * @benchmark This action is tracked for performance benchmarks
66
+ */
67
+ export declare class EscalateCaseActionBrskDto extends OdinRecordUpdateDto<EscalateCaseActionBrskProperties> {
68
+ /** Used by SDK generators to identify action type */
69
+ static readonly ACTION_TYPE = "UPDATE";
70
+ static readonly ACTION_KEY = "EscalateCaseActionBrsk";
71
+ static readonly MODULE_NAME = "SupportModule";
72
+ static readonly ENTITIES: string[];
73
+ static readonly EVENT_NAME = "k1.t-hEOJjsDb.SupportModule.Case.Update.EscalateCaseActionBrsk";
74
+ static readonly PERMISSION = "schema.action.escalatecaseactionbrsk.trigger";
75
+ /** Step metadata - entity this action targets */
76
+ static readonly STEP_ENTITY = "SupportModule:Case";
77
+ static readonly STEP_SCHEMA_ID = "be8173eb-269b-4a67-be0c-11ce6af5d561";
78
+ static readonly STEP_SCHEMA_ACTION_ID = "52c9c00a-d2ae-422f-a326-dead7314c684";
79
+ static readonly AUTO_LINK_PARENT = false;
80
+ readonly actionName: string;
81
+ readonly schemaActionId: string;
82
+ readonly entity: string;
83
+ constructor(record: OdinRecord<any> | {
84
+ id: string;
85
+ entity: string;
86
+ type?: string;
87
+ }, properties: EscalateCaseActionBrskProperties, options?: {
88
+ journeyId?: string;
89
+ stageKey?: string;
90
+ });
91
+ }
@@ -0,0 +1,56 @@
1
+ "use strict";
2
+ /**
3
+ * EscalateCaseActionBrsk Action DTO
4
+ *
5
+ * Escalate Case Action Brsk
6
+ *
7
+ * @module SupportModule
8
+ * @entity Case
9
+ * @actionKey EscalateCaseActionBrsk
10
+ * @event k1.t-hEOJjsDb.SupportModule.Case.Update.EscalateCaseActionBrsk
11
+ *
12
+ * AUTO-GENERATED - DO NOT EDIT DIRECTLY
13
+ */
14
+ Object.defineProperty(exports, "__esModule", { value: true });
15
+ exports.EscalateCaseActionBrskDto = void 0;
16
+ const core_1 = require("@d19n/odin-types/dist/core");
17
+ /**
18
+ * Escalate to Brsk Customer Services
19
+ *
20
+ * Escalate Case Action Brsk
21
+ *
22
+ * @actionType UPDATE - Updates an existing Case record
23
+ * @module SupportModule
24
+ * @entity Case
25
+ * @event k1.t-hEOJjsDb.SupportModule.Case.Update.EscalateCaseActionBrsk
26
+ * @permission schema.action.escalatecaseactionbrsk.trigger
27
+ * @benchmark This action is tracked for performance benchmarks
28
+ */
29
+ class EscalateCaseActionBrskDto 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 = 'EscalateCaseActionBrsk';
40
+ this.schemaActionId = '52c9c00a-d2ae-422f-a326-dead7314c684';
41
+ this.entity = 'SupportModule:Case';
42
+ }
43
+ }
44
+ exports.EscalateCaseActionBrskDto = EscalateCaseActionBrskDto;
45
+ /** Used by SDK generators to identify action type */
46
+ EscalateCaseActionBrskDto.ACTION_TYPE = 'UPDATE';
47
+ EscalateCaseActionBrskDto.ACTION_KEY = 'EscalateCaseActionBrsk';
48
+ EscalateCaseActionBrskDto.MODULE_NAME = 'SupportModule';
49
+ EscalateCaseActionBrskDto.ENTITIES = ['Case'];
50
+ EscalateCaseActionBrskDto.EVENT_NAME = 'k1.t-hEOJjsDb.SupportModule.Case.Update.EscalateCaseActionBrsk';
51
+ EscalateCaseActionBrskDto.PERMISSION = 'schema.action.escalatecaseactionbrsk.trigger';
52
+ /** Step metadata - entity this action targets */
53
+ EscalateCaseActionBrskDto.STEP_ENTITY = 'SupportModule:Case';
54
+ EscalateCaseActionBrskDto.STEP_SCHEMA_ID = 'be8173eb-269b-4a67-be0c-11ce6af5d561';
55
+ EscalateCaseActionBrskDto.STEP_SCHEMA_ACTION_ID = '52c9c00a-d2ae-422f-a326-dead7314c684';
56
+ EscalateCaseActionBrskDto.AUTO_LINK_PARENT = false;
@@ -0,0 +1,82 @@
1
+ /**
2
+ * EscalateCaseActionYF Action DTO
3
+ *
4
+ * Escalate Case Action YF
5
+ *
6
+ * @module SupportModule
7
+ * @entity Case
8
+ * @actionKey EscalateCaseActionYF
9
+ * @event k1.t-hEOJjsDb.SupportModule.Case.Update.EscalateCaseActionYF
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 EscalateCaseActionYF updated events
16
+ *
17
+ * @event k1.t-hEOJjsDb.SupportModule.Case.Update.EscalateCaseActionYF
18
+ */
19
+ export interface EscalateCaseActionYfMessage extends OdinRecordUpdatedEvent<EscalateCaseActionYfDto, EscalateCaseActionYfProperties> {
20
+ }
21
+ /**
22
+ * Properties for EscalateCaseActionYF action
23
+ *
24
+ * @property Required fields: 0
25
+ * @property Optional fields: 4
26
+ */
27
+ export interface EscalateCaseActionYfProperties {
28
+ /**
29
+ * Team
30
+ *
31
+ * Reference identifier for Case relationships. Used for data integrity.
32
+ * @type {LOOKUP}
33
+ * @default null
34
+ */
35
+ TeamId?: string | null;
36
+ /**
37
+ * Owner
38
+ *
39
+ * Reference identifier for Case relationships. Used for data integrity.
40
+ * @type {LOOKUP}
41
+ * @default null
42
+ * @hidden This field is not visible in the UI
43
+ */
44
+ OwnerId?: string | null;
45
+ }
46
+ /**
47
+ * Escalate to YouFibre
48
+ *
49
+ * Escalate Case Action YF
50
+ *
51
+ * @actionType UPDATE - Updates an existing Case record
52
+ * @module SupportModule
53
+ * @entity Case
54
+ * @event k1.t-hEOJjsDb.SupportModule.Case.Update.EscalateCaseActionYF
55
+ * @permission schema.action.escalatecaseactionyf.trigger
56
+ * @benchmark This action is tracked for performance benchmarks
57
+ */
58
+ export declare class EscalateCaseActionYfDto extends OdinRecordUpdateDto<EscalateCaseActionYfProperties> {
59
+ /** Used by SDK generators to identify action type */
60
+ static readonly ACTION_TYPE = "UPDATE";
61
+ static readonly ACTION_KEY = "EscalateCaseActionYF";
62
+ static readonly MODULE_NAME = "SupportModule";
63
+ static readonly ENTITIES: string[];
64
+ static readonly EVENT_NAME = "k1.t-hEOJjsDb.SupportModule.Case.Update.EscalateCaseActionYF";
65
+ static readonly PERMISSION = "schema.action.escalatecaseactionyf.trigger";
66
+ /** Step metadata - entity this action targets */
67
+ static readonly STEP_ENTITY = "SupportModule:Case";
68
+ static readonly STEP_SCHEMA_ID = "be8173eb-269b-4a67-be0c-11ce6af5d561";
69
+ static readonly STEP_SCHEMA_ACTION_ID = "2d38b17f-7c51-4a9a-bea5-27873de882c6";
70
+ static readonly AUTO_LINK_PARENT = false;
71
+ readonly actionName: string;
72
+ readonly schemaActionId: string;
73
+ readonly entity: string;
74
+ constructor(record: OdinRecord<any> | {
75
+ id: string;
76
+ entity: string;
77
+ type?: string;
78
+ }, properties: EscalateCaseActionYfProperties, options?: {
79
+ journeyId?: string;
80
+ stageKey?: string;
81
+ });
82
+ }
@@ -0,0 +1,56 @@
1
+ "use strict";
2
+ /**
3
+ * EscalateCaseActionYF Action DTO
4
+ *
5
+ * Escalate Case Action YF
6
+ *
7
+ * @module SupportModule
8
+ * @entity Case
9
+ * @actionKey EscalateCaseActionYF
10
+ * @event k1.t-hEOJjsDb.SupportModule.Case.Update.EscalateCaseActionYF
11
+ *
12
+ * AUTO-GENERATED - DO NOT EDIT DIRECTLY
13
+ */
14
+ Object.defineProperty(exports, "__esModule", { value: true });
15
+ exports.EscalateCaseActionYfDto = void 0;
16
+ const core_1 = require("@d19n/odin-types/dist/core");
17
+ /**
18
+ * Escalate to YouFibre
19
+ *
20
+ * Escalate Case Action YF
21
+ *
22
+ * @actionType UPDATE - Updates an existing Case record
23
+ * @module SupportModule
24
+ * @entity Case
25
+ * @event k1.t-hEOJjsDb.SupportModule.Case.Update.EscalateCaseActionYF
26
+ * @permission schema.action.escalatecaseactionyf.trigger
27
+ * @benchmark This action is tracked for performance benchmarks
28
+ */
29
+ class EscalateCaseActionYfDto 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 = 'EscalateCaseActionYF';
40
+ this.schemaActionId = '2d38b17f-7c51-4a9a-bea5-27873de882c6';
41
+ this.entity = 'SupportModule:Case';
42
+ }
43
+ }
44
+ exports.EscalateCaseActionYfDto = EscalateCaseActionYfDto;
45
+ /** Used by SDK generators to identify action type */
46
+ EscalateCaseActionYfDto.ACTION_TYPE = 'UPDATE';
47
+ EscalateCaseActionYfDto.ACTION_KEY = 'EscalateCaseActionYF';
48
+ EscalateCaseActionYfDto.MODULE_NAME = 'SupportModule';
49
+ EscalateCaseActionYfDto.ENTITIES = ['Case'];
50
+ EscalateCaseActionYfDto.EVENT_NAME = 'k1.t-hEOJjsDb.SupportModule.Case.Update.EscalateCaseActionYF';
51
+ EscalateCaseActionYfDto.PERMISSION = 'schema.action.escalatecaseactionyf.trigger';
52
+ /** Step metadata - entity this action targets */
53
+ EscalateCaseActionYfDto.STEP_ENTITY = 'SupportModule:Case';
54
+ EscalateCaseActionYfDto.STEP_SCHEMA_ID = 'be8173eb-269b-4a67-be0c-11ce6af5d561';
55
+ EscalateCaseActionYfDto.STEP_SCHEMA_ACTION_ID = '2d38b17f-7c51-4a9a-bea5-27873de882c6';
56
+ EscalateCaseActionYfDto.AUTO_LINK_PARENT = false;
@@ -0,0 +1,89 @@
1
+ /**
2
+ * EscalateCaseActionYFCS Action DTO
3
+ *
4
+ * Escalate Case Action YF CS
5
+ *
6
+ * @module SupportModule
7
+ * @entity Case
8
+ * @actionKey EscalateCaseActionYFCS
9
+ * @event k1.t-hEOJjsDb.SupportModule.Case.Update.EscalateCaseActionYFCS
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 EscalateCaseActionYFCS updated events
16
+ *
17
+ * @event k1.t-hEOJjsDb.SupportModule.Case.Update.EscalateCaseActionYFCS
18
+ */
19
+ export interface EscalateCaseActionYfcsMessage extends OdinRecordUpdatedEvent<EscalateCaseActionYfcsDto, EscalateCaseActionYfcsProperties> {
20
+ }
21
+ /**
22
+ * Properties for EscalateCaseActionYFCS action
23
+ *
24
+ * @property Required fields: 0
25
+ * @property Optional fields: 5
26
+ */
27
+ export interface EscalateCaseActionYfcsProperties {
28
+ /**
29
+ * Providers
30
+ *
31
+ * Providers
32
+ * @type {ENUM}
33
+ * @default Netomnia
34
+ */
35
+ Providers?: string | null;
36
+ /**
37
+ * Team
38
+ *
39
+ * Reference identifier for Case relationships. Used for data integrity.
40
+ * @type {LOOKUP}
41
+ * @default null
42
+ */
43
+ TeamId?: string | null;
44
+ /**
45
+ * Owner
46
+ *
47
+ * Reference identifier for Case relationships. Used for data integrity.
48
+ * @type {LOOKUP}
49
+ * @default null
50
+ */
51
+ OwnerId?: string | null;
52
+ }
53
+ /**
54
+ * Escalate to YouFibre Customer Services
55
+ *
56
+ * Escalate Case Action YF CS
57
+ *
58
+ * @actionType UPDATE - Updates an existing Case record
59
+ * @module SupportModule
60
+ * @entity Case
61
+ * @event k1.t-hEOJjsDb.SupportModule.Case.Update.EscalateCaseActionYFCS
62
+ * @permission schema.action.escalatecaseactionyfcs.trigger
63
+ * @benchmark This action is tracked for performance benchmarks
64
+ */
65
+ export declare class EscalateCaseActionYfcsDto extends OdinRecordUpdateDto<EscalateCaseActionYfcsProperties> {
66
+ /** Used by SDK generators to identify action type */
67
+ static readonly ACTION_TYPE = "UPDATE";
68
+ static readonly ACTION_KEY = "EscalateCaseActionYFCS";
69
+ static readonly MODULE_NAME = "SupportModule";
70
+ static readonly ENTITIES: string[];
71
+ static readonly EVENT_NAME = "k1.t-hEOJjsDb.SupportModule.Case.Update.EscalateCaseActionYFCS";
72
+ static readonly PERMISSION = "schema.action.escalatecaseactionyfcs.trigger";
73
+ /** Step metadata - entity this action targets */
74
+ static readonly STEP_ENTITY = "SupportModule:Case";
75
+ static readonly STEP_SCHEMA_ID = "be8173eb-269b-4a67-be0c-11ce6af5d561";
76
+ static readonly STEP_SCHEMA_ACTION_ID = "a481332c-eb96-4e83-9679-7d345a1cb69b";
77
+ static readonly AUTO_LINK_PARENT = false;
78
+ readonly actionName: string;
79
+ readonly schemaActionId: string;
80
+ readonly entity: string;
81
+ constructor(record: OdinRecord<any> | {
82
+ id: string;
83
+ entity: string;
84
+ type?: string;
85
+ }, properties: EscalateCaseActionYfcsProperties, options?: {
86
+ journeyId?: string;
87
+ stageKey?: string;
88
+ });
89
+ }
@@ -0,0 +1,56 @@
1
+ "use strict";
2
+ /**
3
+ * EscalateCaseActionYFCS Action DTO
4
+ *
5
+ * Escalate Case Action YF CS
6
+ *
7
+ * @module SupportModule
8
+ * @entity Case
9
+ * @actionKey EscalateCaseActionYFCS
10
+ * @event k1.t-hEOJjsDb.SupportModule.Case.Update.EscalateCaseActionYFCS
11
+ *
12
+ * AUTO-GENERATED - DO NOT EDIT DIRECTLY
13
+ */
14
+ Object.defineProperty(exports, "__esModule", { value: true });
15
+ exports.EscalateCaseActionYfcsDto = void 0;
16
+ const core_1 = require("@d19n/odin-types/dist/core");
17
+ /**
18
+ * Escalate to YouFibre Customer Services
19
+ *
20
+ * Escalate Case Action YF CS
21
+ *
22
+ * @actionType UPDATE - Updates an existing Case record
23
+ * @module SupportModule
24
+ * @entity Case
25
+ * @event k1.t-hEOJjsDb.SupportModule.Case.Update.EscalateCaseActionYFCS
26
+ * @permission schema.action.escalatecaseactionyfcs.trigger
27
+ * @benchmark This action is tracked for performance benchmarks
28
+ */
29
+ class EscalateCaseActionYfcsDto 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 = 'EscalateCaseActionYFCS';
40
+ this.schemaActionId = 'a481332c-eb96-4e83-9679-7d345a1cb69b';
41
+ this.entity = 'SupportModule:Case';
42
+ }
43
+ }
44
+ exports.EscalateCaseActionYfcsDto = EscalateCaseActionYfcsDto;
45
+ /** Used by SDK generators to identify action type */
46
+ EscalateCaseActionYfcsDto.ACTION_TYPE = 'UPDATE';
47
+ EscalateCaseActionYfcsDto.ACTION_KEY = 'EscalateCaseActionYFCS';
48
+ EscalateCaseActionYfcsDto.MODULE_NAME = 'SupportModule';
49
+ EscalateCaseActionYfcsDto.ENTITIES = ['Case'];
50
+ EscalateCaseActionYfcsDto.EVENT_NAME = 'k1.t-hEOJjsDb.SupportModule.Case.Update.EscalateCaseActionYFCS';
51
+ EscalateCaseActionYfcsDto.PERMISSION = 'schema.action.escalatecaseactionyfcs.trigger';
52
+ /** Step metadata - entity this action targets */
53
+ EscalateCaseActionYfcsDto.STEP_ENTITY = 'SupportModule:Case';
54
+ EscalateCaseActionYfcsDto.STEP_SCHEMA_ID = 'be8173eb-269b-4a67-be0c-11ce6af5d561';
55
+ EscalateCaseActionYfcsDto.STEP_SCHEMA_ACTION_ID = 'a481332c-eb96-4e83-9679-7d345a1cb69b';
56
+ EscalateCaseActionYfcsDto.AUTO_LINK_PARENT = false;