@d19n/youfibre-odin-sdk 2.0.271 → 2.0.273

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
@@ -365,7 +365,7 @@ This SDK includes **177** entities across **12** modules.
365
365
 
366
366
  ## Actions
367
367
 
368
- This SDK includes **810** actions.
368
+ This SDK includes **813** actions.
369
369
 
370
370
  ### Action Types
371
371
 
@@ -1455,6 +1455,15 @@ This SDK includes **810** actions.
1455
1455
  | `CreateCityfibreOrderKci` | CREATE | k1.t-hEOJjsDb.OrderModule.OrderKci.Create.CreateCityfibreOrderKci |
1456
1456
  | `CreateOrderKci` | CREATE | k1.t-hEOJjsDb.OrderModule.OrderKci.Create.CreateOrderKci |
1457
1457
 
1458
+ #### Message
1459
+
1460
+ | Action | Type | Event |
1461
+ |--------|------|-------|
1462
+ | `CreateCloseMessage` | CREATE | k1.t-hEOJjsDb.NotificationModule.Message.Create.CreateCloseMessage |
1463
+ | `CreateEventMessage` | CREATE | k1.t-hEOJjsDb.NotificationModule.Message.Create.CreateEventMessage |
1464
+ | `CreateMessage` | CREATE | k1.t-hEOJjsDb.NotificationModule.Message.Create.CreateMessage |
1465
+ | `CreateNudgeMessage` | CREATE | k1.t-hEOJjsDb.NotificationModule.Message.Create.CreateNudgeMessage |
1466
+
1458
1467
  #### Config
1459
1468
 
1460
1469
  | Action | Type | Event |
@@ -1585,12 +1594,6 @@ This SDK includes **810** actions.
1585
1594
 
1586
1595
  **MoveLeadToWon Target Stages:** `LeadStageWon`
1587
1596
 
1588
- #### Message
1589
-
1590
- | Action | Type | Event |
1591
- |--------|------|-------|
1592
- | `CreateMessage` | CREATE | k1.t-hEOJjsDb.NotificationModule.Message.Create.CreateMessage |
1593
-
1594
1597
  #### ModifyServiceRequest
1595
1598
 
1596
1599
  | Action | Type | Event |
@@ -0,0 +1,125 @@
1
+ /**
2
+ * CreateCloseMessage Action DTO
3
+ *
4
+ * Create the CLOSE message posted into a chat thread when the conversation is closed — the "this chat has now closed" notice. Its own action because closing is a distinct business event from nudging, even though the payload is identical.
5
+ *
6
+ * @module NotificationModule
7
+ * @entity Message
8
+ * @entityType CLOSE
9
+ * @actionKey CreateCloseMessage
10
+ * @event k1.t-hEOJjsDb.NotificationModule.Message.Create.CreateCloseMessage
11
+ *
12
+ * AUTO-GENERATED - DO NOT EDIT DIRECTLY
13
+ */
14
+ import { OdinRecordCreateDto, OdinRecordCreatedEvent } from '@d19n/odin-types/dist/core';
15
+ /**
16
+ * RabbitMQ message payload for CreateCloseMessage created events
17
+ *
18
+ * @event k1.t-hEOJjsDb.NotificationModule.Message.Create.CreateCloseMessage
19
+ */
20
+ export interface CreateCloseMessageMessage extends OdinRecordCreatedEvent<CreateCloseMessageDto, CreateCloseMessageProperties> {
21
+ }
22
+ /**
23
+ * Properties for CreateCloseMessage action
24
+ *
25
+ * @property Required fields: 4
26
+ * @property Optional fields: 4
27
+ */
28
+ export interface CreateCloseMessageProperties {
29
+ /**
30
+ * Body
31
+ *
32
+ * Content of the message (Communications - Message)
33
+ * @type {TEXT}
34
+ * @required
35
+ */
36
+ Body: string;
37
+ /**
38
+ * Title
39
+ *
40
+ * Title field for the record
41
+ * @type {TEXT}
42
+ * @required
43
+ */
44
+ Title: string;
45
+ /**
46
+ * SenderType
47
+ *
48
+ * sender type (Communications - Message)
49
+ * @type {ENUM}
50
+ * @required
51
+ */
52
+ SenderType: string;
53
+ /**
54
+ * From
55
+ *
56
+ * Who sent the message (Communications - Message)
57
+ * @type {TEXT}
58
+ * @required
59
+ */
60
+ From: string;
61
+ /**
62
+ * ExternalId
63
+ *
64
+ * External ID of the message (Communications - Message)
65
+ * @type {TEXT}
66
+ */
67
+ ExternalId?: string | null;
68
+ /**
69
+ * Files
70
+ *
71
+ * Attachments of the message (Communications - Message)
72
+ * @type {FILE_MULTIPLE}
73
+ */
74
+ Files?: string | null;
75
+ /**
76
+ * To
77
+ *
78
+ * Who receive the message (if needed) (Communications - Message)
79
+ * @type {TEXT}
80
+ */
81
+ To?: string | null;
82
+ /**
83
+ * Status
84
+ *
85
+ * Status of the message (CREATED,DELETED) (Communications - Message)
86
+ * @type {TEXT}
87
+ */
88
+ Status?: string | null;
89
+ }
90
+ /**
91
+ * CreateCloseMessage
92
+ *
93
+ * Create the CLOSE message posted into a chat thread when the conversation is closed — the "this chat has now closed" notice. Its own action because closing is a distinct business event from nudging, even though the payload is identical.
94
+ *
95
+ * @actionType CREATE - Creates a new Message record
96
+ * @module NotificationModule
97
+ * @entity Message
98
+ * @entityType CLOSE (CLOSE)
99
+ * @event k1.t-hEOJjsDb.NotificationModule.Message.Create.CreateCloseMessage
100
+ * @permission schema.action.createclosemessage.trigger
101
+ * @benchmark This action is tracked for performance benchmarks
102
+ */
103
+ export declare class CreateCloseMessageDto extends OdinRecordCreateDto<CreateCloseMessageProperties> {
104
+ /** Used by SDK generators to identify action type */
105
+ static readonly ACTION_TYPE = "CREATE";
106
+ static readonly ACTION_KEY = "CreateCloseMessage";
107
+ static readonly MODULE_NAME = "NotificationModule";
108
+ static readonly ENTITIES: string[];
109
+ static readonly ENTITY_TYPE = "CLOSE";
110
+ static readonly EVENT_NAME = "k1.t-hEOJjsDb.NotificationModule.Message.Create.CreateCloseMessage";
111
+ static readonly PERMISSION = "schema.action.createclosemessage.trigger";
112
+ /** Step metadata - entity this action targets */
113
+ static readonly STEP_ENTITY = "NotificationModule:Message";
114
+ static readonly STEP_SCHEMA_ID = "f1c6db7a-eda8-405b-9d9e-536047a61b57";
115
+ static readonly STEP_SCHEMA_ACTION_ID = "b74f0f9a-9ad1-48a1-84ab-59e003737f85";
116
+ static readonly STEP_SCHEMA_TYPE_ID = "b07394e6-bb14-4095-bc58-909902e9c2cf";
117
+ static readonly STEP_TYPE = "CLOSE";
118
+ static readonly AUTO_LINK_PARENT = true;
119
+ readonly actionName: string;
120
+ readonly schemaActionId: string;
121
+ readonly entity: string;
122
+ constructor(properties: CreateCloseMessageProperties, options?: {
123
+ journeyId?: string;
124
+ });
125
+ }
@@ -0,0 +1,59 @@
1
+ "use strict";
2
+ /**
3
+ * CreateCloseMessage Action DTO
4
+ *
5
+ * Create the CLOSE message posted into a chat thread when the conversation is closed — the "this chat has now closed" notice. Its own action because closing is a distinct business event from nudging, even though the payload is identical.
6
+ *
7
+ * @module NotificationModule
8
+ * @entity Message
9
+ * @entityType CLOSE
10
+ * @actionKey CreateCloseMessage
11
+ * @event k1.t-hEOJjsDb.NotificationModule.Message.Create.CreateCloseMessage
12
+ *
13
+ * AUTO-GENERATED - DO NOT EDIT DIRECTLY
14
+ */
15
+ Object.defineProperty(exports, "__esModule", { value: true });
16
+ exports.CreateCloseMessageDto = void 0;
17
+ const core_1 = require("@d19n/odin-types/dist/core");
18
+ /**
19
+ * CreateCloseMessage
20
+ *
21
+ * Create the CLOSE message posted into a chat thread when the conversation is closed — the "this chat has now closed" notice. Its own action because closing is a distinct business event from nudging, even though the payload is identical.
22
+ *
23
+ * @actionType CREATE - Creates a new Message record
24
+ * @module NotificationModule
25
+ * @entity Message
26
+ * @entityType CLOSE (CLOSE)
27
+ * @event k1.t-hEOJjsDb.NotificationModule.Message.Create.CreateCloseMessage
28
+ * @permission schema.action.createclosemessage.trigger
29
+ * @benchmark This action is tracked for performance benchmarks
30
+ */
31
+ class CreateCloseMessageDto extends core_1.OdinRecordCreateDto {
32
+ constructor(properties, options) {
33
+ super({
34
+ entity: 'NotificationModule:Message',
35
+ type: 'CLOSE',
36
+ properties,
37
+ journeyId: options === null || options === void 0 ? void 0 : options.journeyId,
38
+ });
39
+ this.actionName = 'CreateCloseMessage';
40
+ this.schemaActionId = 'b74f0f9a-9ad1-48a1-84ab-59e003737f85';
41
+ this.entity = 'NotificationModule:Message';
42
+ }
43
+ }
44
+ exports.CreateCloseMessageDto = CreateCloseMessageDto;
45
+ /** Used by SDK generators to identify action type */
46
+ CreateCloseMessageDto.ACTION_TYPE = 'CREATE';
47
+ CreateCloseMessageDto.ACTION_KEY = 'CreateCloseMessage';
48
+ CreateCloseMessageDto.MODULE_NAME = 'NotificationModule';
49
+ CreateCloseMessageDto.ENTITIES = ['Message'];
50
+ CreateCloseMessageDto.ENTITY_TYPE = 'CLOSE';
51
+ CreateCloseMessageDto.EVENT_NAME = 'k1.t-hEOJjsDb.NotificationModule.Message.Create.CreateCloseMessage';
52
+ CreateCloseMessageDto.PERMISSION = 'schema.action.createclosemessage.trigger';
53
+ /** Step metadata - entity this action targets */
54
+ CreateCloseMessageDto.STEP_ENTITY = 'NotificationModule:Message';
55
+ CreateCloseMessageDto.STEP_SCHEMA_ID = 'f1c6db7a-eda8-405b-9d9e-536047a61b57';
56
+ CreateCloseMessageDto.STEP_SCHEMA_ACTION_ID = 'b74f0f9a-9ad1-48a1-84ab-59e003737f85';
57
+ CreateCloseMessageDto.STEP_SCHEMA_TYPE_ID = 'b07394e6-bb14-4095-bc58-909902e9c2cf';
58
+ CreateCloseMessageDto.STEP_TYPE = 'CLOSE';
59
+ CreateCloseMessageDto.AUTO_LINK_PARENT = true;
@@ -22,9 +22,17 @@ export interface CreateConversationMessage extends OdinRecordCreatedEvent<Create
22
22
  * Properties for CreateConversation action
23
23
  *
24
24
  * @property Required fields: 1
25
- * @property Optional fields: 2
25
+ * @property Optional fields: 5
26
26
  */
27
27
  export interface CreateConversationProperties {
28
+ /**
29
+ * ExternalId
30
+ *
31
+ * Unique External ID (Conversation SID / Conversation ID) (Communications - Conversation)
32
+ * @type {TEXT}
33
+ * @required
34
+ */
35
+ ExternalId: string;
28
36
  /**
29
37
  * Channel
30
38
  *
@@ -39,6 +47,27 @@ export interface CreateConversationProperties {
39
47
  * @type {ENUM}
40
48
  */
41
49
  Status?: string | null;
50
+ /**
51
+ * Source
52
+ *
53
+ * Source for the conversaion (TWILIO, TRUSTPILOT, and other possible provider) (Communications - Conversation)
54
+ * @type {ENUM}
55
+ */
56
+ Source?: string | null;
57
+ /**
58
+ * Mode
59
+ *
60
+ * Conversation Mode
61
+ * @type {ENUM}
62
+ */
63
+ Mode?: string | null;
64
+ /**
65
+ * Title
66
+ *
67
+ * Human-readable name for the conversation, e.g. "A new conversation from TWILIO SMS". Mirrors what the chat gateway used to write to the record envelope, which the create action cannot set.
68
+ * @type {TEXT}
69
+ */
70
+ Title?: string | null;
42
71
  }
43
72
  /**
44
73
  * CreateConversation
@@ -0,0 +1,125 @@
1
+ /**
2
+ * CreateEventMessage Action DTO
3
+ *
4
+ * Create a system EVENT message in a chat thread — the in-thread notice that something happened rather than something a participant said, e.g. "Agent joined" when a case is assigned. Distinct from CreateMessage: the record type is what the UI and the inactivity automation read to tell a system notice from a real message.
5
+ *
6
+ * @module NotificationModule
7
+ * @entity Message
8
+ * @entityType EVENT
9
+ * @actionKey CreateEventMessage
10
+ * @event k1.t-hEOJjsDb.NotificationModule.Message.Create.CreateEventMessage
11
+ *
12
+ * AUTO-GENERATED - DO NOT EDIT DIRECTLY
13
+ */
14
+ import { OdinRecordCreateDto, OdinRecordCreatedEvent } from '@d19n/odin-types/dist/core';
15
+ /**
16
+ * RabbitMQ message payload for CreateEventMessage created events
17
+ *
18
+ * @event k1.t-hEOJjsDb.NotificationModule.Message.Create.CreateEventMessage
19
+ */
20
+ export interface CreateEventMessageMessage extends OdinRecordCreatedEvent<CreateEventMessageDto, CreateEventMessageProperties> {
21
+ }
22
+ /**
23
+ * Properties for CreateEventMessage action
24
+ *
25
+ * @property Required fields: 4
26
+ * @property Optional fields: 4
27
+ */
28
+ export interface CreateEventMessageProperties {
29
+ /**
30
+ * Body
31
+ *
32
+ * Content of the message (Communications - Message)
33
+ * @type {TEXT}
34
+ * @required
35
+ */
36
+ Body: string;
37
+ /**
38
+ * Title
39
+ *
40
+ * Title field for the record
41
+ * @type {TEXT}
42
+ * @required
43
+ */
44
+ Title: string;
45
+ /**
46
+ * SenderType
47
+ *
48
+ * sender type (Communications - Message)
49
+ * @type {ENUM}
50
+ * @required
51
+ */
52
+ SenderType: string;
53
+ /**
54
+ * From
55
+ *
56
+ * Who sent the message (Communications - Message)
57
+ * @type {TEXT}
58
+ * @required
59
+ */
60
+ From: string;
61
+ /**
62
+ * ExternalId
63
+ *
64
+ * External ID of the message (Communications - Message)
65
+ * @type {TEXT}
66
+ */
67
+ ExternalId?: string | null;
68
+ /**
69
+ * Files
70
+ *
71
+ * Attachments of the message (Communications - Message)
72
+ * @type {FILE_MULTIPLE}
73
+ */
74
+ Files?: string | null;
75
+ /**
76
+ * To
77
+ *
78
+ * Who receive the message (if needed) (Communications - Message)
79
+ * @type {TEXT}
80
+ */
81
+ To?: string | null;
82
+ /**
83
+ * Status
84
+ *
85
+ * Status of the message (CREATED,DELETED) (Communications - Message)
86
+ * @type {TEXT}
87
+ */
88
+ Status?: string | null;
89
+ }
90
+ /**
91
+ * CreateEventMessage
92
+ *
93
+ * Create a system EVENT message in a chat thread — the in-thread notice that something happened rather than something a participant said, e.g. "Agent joined" when a case is assigned. Distinct from CreateMessage: the record type is what the UI and the inactivity automation read to tell a system notice from a real message.
94
+ *
95
+ * @actionType CREATE - Creates a new Message record
96
+ * @module NotificationModule
97
+ * @entity Message
98
+ * @entityType EVENT (event)
99
+ * @event k1.t-hEOJjsDb.NotificationModule.Message.Create.CreateEventMessage
100
+ * @permission schema.action.createeventmessage.trigger
101
+ * @benchmark This action is tracked for performance benchmarks
102
+ */
103
+ export declare class CreateEventMessageDto extends OdinRecordCreateDto<CreateEventMessageProperties> {
104
+ /** Used by SDK generators to identify action type */
105
+ static readonly ACTION_TYPE = "CREATE";
106
+ static readonly ACTION_KEY = "CreateEventMessage";
107
+ static readonly MODULE_NAME = "NotificationModule";
108
+ static readonly ENTITIES: string[];
109
+ static readonly ENTITY_TYPE = "EVENT";
110
+ static readonly EVENT_NAME = "k1.t-hEOJjsDb.NotificationModule.Message.Create.CreateEventMessage";
111
+ static readonly PERMISSION = "schema.action.createeventmessage.trigger";
112
+ /** Step metadata - entity this action targets */
113
+ static readonly STEP_ENTITY = "NotificationModule:Message";
114
+ static readonly STEP_SCHEMA_ID = "f1c6db7a-eda8-405b-9d9e-536047a61b57";
115
+ static readonly STEP_SCHEMA_ACTION_ID = "4c8f5832-b1dd-4f06-82e9-4cc720f526b7";
116
+ static readonly STEP_SCHEMA_TYPE_ID = "d493a794-7ed7-4e80-9f92-25e00519f47f";
117
+ static readonly STEP_TYPE = "EVENT";
118
+ static readonly AUTO_LINK_PARENT = true;
119
+ readonly actionName: string;
120
+ readonly schemaActionId: string;
121
+ readonly entity: string;
122
+ constructor(properties: CreateEventMessageProperties, options?: {
123
+ journeyId?: string;
124
+ });
125
+ }
@@ -0,0 +1,59 @@
1
+ "use strict";
2
+ /**
3
+ * CreateEventMessage Action DTO
4
+ *
5
+ * Create a system EVENT message in a chat thread — the in-thread notice that something happened rather than something a participant said, e.g. "Agent joined" when a case is assigned. Distinct from CreateMessage: the record type is what the UI and the inactivity automation read to tell a system notice from a real message.
6
+ *
7
+ * @module NotificationModule
8
+ * @entity Message
9
+ * @entityType EVENT
10
+ * @actionKey CreateEventMessage
11
+ * @event k1.t-hEOJjsDb.NotificationModule.Message.Create.CreateEventMessage
12
+ *
13
+ * AUTO-GENERATED - DO NOT EDIT DIRECTLY
14
+ */
15
+ Object.defineProperty(exports, "__esModule", { value: true });
16
+ exports.CreateEventMessageDto = void 0;
17
+ const core_1 = require("@d19n/odin-types/dist/core");
18
+ /**
19
+ * CreateEventMessage
20
+ *
21
+ * Create a system EVENT message in a chat thread — the in-thread notice that something happened rather than something a participant said, e.g. "Agent joined" when a case is assigned. Distinct from CreateMessage: the record type is what the UI and the inactivity automation read to tell a system notice from a real message.
22
+ *
23
+ * @actionType CREATE - Creates a new Message record
24
+ * @module NotificationModule
25
+ * @entity Message
26
+ * @entityType EVENT (event)
27
+ * @event k1.t-hEOJjsDb.NotificationModule.Message.Create.CreateEventMessage
28
+ * @permission schema.action.createeventmessage.trigger
29
+ * @benchmark This action is tracked for performance benchmarks
30
+ */
31
+ class CreateEventMessageDto extends core_1.OdinRecordCreateDto {
32
+ constructor(properties, options) {
33
+ super({
34
+ entity: 'NotificationModule:Message',
35
+ type: 'EVENT',
36
+ properties,
37
+ journeyId: options === null || options === void 0 ? void 0 : options.journeyId,
38
+ });
39
+ this.actionName = 'CreateEventMessage';
40
+ this.schemaActionId = '4c8f5832-b1dd-4f06-82e9-4cc720f526b7';
41
+ this.entity = 'NotificationModule:Message';
42
+ }
43
+ }
44
+ exports.CreateEventMessageDto = CreateEventMessageDto;
45
+ /** Used by SDK generators to identify action type */
46
+ CreateEventMessageDto.ACTION_TYPE = 'CREATE';
47
+ CreateEventMessageDto.ACTION_KEY = 'CreateEventMessage';
48
+ CreateEventMessageDto.MODULE_NAME = 'NotificationModule';
49
+ CreateEventMessageDto.ENTITIES = ['Message'];
50
+ CreateEventMessageDto.ENTITY_TYPE = 'EVENT';
51
+ CreateEventMessageDto.EVENT_NAME = 'k1.t-hEOJjsDb.NotificationModule.Message.Create.CreateEventMessage';
52
+ CreateEventMessageDto.PERMISSION = 'schema.action.createeventmessage.trigger';
53
+ /** Step metadata - entity this action targets */
54
+ CreateEventMessageDto.STEP_ENTITY = 'NotificationModule:Message';
55
+ CreateEventMessageDto.STEP_SCHEMA_ID = 'f1c6db7a-eda8-405b-9d9e-536047a61b57';
56
+ CreateEventMessageDto.STEP_SCHEMA_ACTION_ID = '4c8f5832-b1dd-4f06-82e9-4cc720f526b7';
57
+ CreateEventMessageDto.STEP_SCHEMA_TYPE_ID = 'd493a794-7ed7-4e80-9f92-25e00519f47f';
58
+ CreateEventMessageDto.STEP_TYPE = 'EVENT';
59
+ CreateEventMessageDto.AUTO_LINK_PARENT = true;
@@ -22,8 +22,8 @@ export interface CreateMessageMessage extends OdinRecordCreatedEvent<CreateMessa
22
22
  /**
23
23
  * Properties for CreateMessage action
24
24
  *
25
- * @property Required fields: 5
26
- * @property Optional fields: 2
25
+ * @property Required fields: 4
26
+ * @property Optional fields: 4
27
27
  */
28
28
  export interface CreateMessageProperties {
29
29
  /**
@@ -35,7 +35,7 @@ export interface CreateMessageProperties {
35
35
  */
36
36
  Body: string;
37
37
  /**
38
- * The title of the record
38
+ * Title
39
39
  *
40
40
  * Title field for the record
41
41
  * @type {TEXT}
@@ -58,14 +58,6 @@ export interface CreateMessageProperties {
58
58
  * @required
59
59
  */
60
60
  From: string;
61
- /**
62
- * To
63
- *
64
- * Who receive the message (if needed) (Communications - Message)
65
- * @type {TEXT}
66
- * @required
67
- */
68
- To: string;
69
61
  /**
70
62
  * ExternalId
71
63
  *
@@ -80,6 +72,20 @@ export interface CreateMessageProperties {
80
72
  * @type {FILE_MULTIPLE}
81
73
  */
82
74
  Files?: string | null;
75
+ /**
76
+ * To
77
+ *
78
+ * Who receive the message (if needed) (Communications - Message)
79
+ * @type {TEXT}
80
+ */
81
+ To?: string | null;
82
+ /**
83
+ * Status
84
+ *
85
+ * Status of the message (CREATED,DELETED) (Communications - Message)
86
+ * @type {TEXT}
87
+ */
88
+ Status?: string | null;
83
89
  }
84
90
  /**
85
91
  * CreateMessage
@@ -0,0 +1,125 @@
1
+ /**
2
+ * CreateNudgeMessage Action DTO
3
+ *
4
+ * Create the inactivity NUDGE message posted into a chat thread when a customer has gone quiet. Must carry the NUDGE record type: case-chat-nudging-and-closing decides whether a nudge has already been sent by testing the latest message type, so a nudge written as DEFAULT would be re-sent forever and the conversation would never close.
5
+ *
6
+ * @module NotificationModule
7
+ * @entity Message
8
+ * @entityType NUDGE
9
+ * @actionKey CreateNudgeMessage
10
+ * @event k1.t-hEOJjsDb.NotificationModule.Message.Create.CreateNudgeMessage
11
+ *
12
+ * AUTO-GENERATED - DO NOT EDIT DIRECTLY
13
+ */
14
+ import { OdinRecordCreateDto, OdinRecordCreatedEvent } from '@d19n/odin-types/dist/core';
15
+ /**
16
+ * RabbitMQ message payload for CreateNudgeMessage created events
17
+ *
18
+ * @event k1.t-hEOJjsDb.NotificationModule.Message.Create.CreateNudgeMessage
19
+ */
20
+ export interface CreateNudgeMessageMessage extends OdinRecordCreatedEvent<CreateNudgeMessageDto, CreateNudgeMessageProperties> {
21
+ }
22
+ /**
23
+ * Properties for CreateNudgeMessage action
24
+ *
25
+ * @property Required fields: 4
26
+ * @property Optional fields: 4
27
+ */
28
+ export interface CreateNudgeMessageProperties {
29
+ /**
30
+ * Body
31
+ *
32
+ * Content of the message (Communications - Message)
33
+ * @type {TEXT}
34
+ * @required
35
+ */
36
+ Body: string;
37
+ /**
38
+ * Title
39
+ *
40
+ * Title field for the record
41
+ * @type {TEXT}
42
+ * @required
43
+ */
44
+ Title: string;
45
+ /**
46
+ * SenderType
47
+ *
48
+ * sender type (Communications - Message)
49
+ * @type {ENUM}
50
+ * @required
51
+ */
52
+ SenderType: string;
53
+ /**
54
+ * From
55
+ *
56
+ * Who sent the message (Communications - Message)
57
+ * @type {TEXT}
58
+ * @required
59
+ */
60
+ From: string;
61
+ /**
62
+ * ExternalId
63
+ *
64
+ * External ID of the message (Communications - Message)
65
+ * @type {TEXT}
66
+ */
67
+ ExternalId?: string | null;
68
+ /**
69
+ * Files
70
+ *
71
+ * Attachments of the message (Communications - Message)
72
+ * @type {FILE_MULTIPLE}
73
+ */
74
+ Files?: string | null;
75
+ /**
76
+ * To
77
+ *
78
+ * Who receive the message (if needed) (Communications - Message)
79
+ * @type {TEXT}
80
+ */
81
+ To?: string | null;
82
+ /**
83
+ * Status
84
+ *
85
+ * Status of the message (CREATED,DELETED) (Communications - Message)
86
+ * @type {TEXT}
87
+ */
88
+ Status?: string | null;
89
+ }
90
+ /**
91
+ * CreateNudgeMessage
92
+ *
93
+ * Create the inactivity NUDGE message posted into a chat thread when a customer has gone quiet. Must carry the NUDGE record type: case-chat-nudging-and-closing decides whether a nudge has already been sent by testing the latest message type, so a nudge written as DEFAULT would be re-sent forever and the conversation would never close.
94
+ *
95
+ * @actionType CREATE - Creates a new Message record
96
+ * @module NotificationModule
97
+ * @entity Message
98
+ * @entityType NUDGE (NUDGE)
99
+ * @event k1.t-hEOJjsDb.NotificationModule.Message.Create.CreateNudgeMessage
100
+ * @permission schema.action.createnudgemessage.trigger
101
+ * @benchmark This action is tracked for performance benchmarks
102
+ */
103
+ export declare class CreateNudgeMessageDto extends OdinRecordCreateDto<CreateNudgeMessageProperties> {
104
+ /** Used by SDK generators to identify action type */
105
+ static readonly ACTION_TYPE = "CREATE";
106
+ static readonly ACTION_KEY = "CreateNudgeMessage";
107
+ static readonly MODULE_NAME = "NotificationModule";
108
+ static readonly ENTITIES: string[];
109
+ static readonly ENTITY_TYPE = "NUDGE";
110
+ static readonly EVENT_NAME = "k1.t-hEOJjsDb.NotificationModule.Message.Create.CreateNudgeMessage";
111
+ static readonly PERMISSION = "schema.action.createnudgemessage.trigger";
112
+ /** Step metadata - entity this action targets */
113
+ static readonly STEP_ENTITY = "NotificationModule:Message";
114
+ static readonly STEP_SCHEMA_ID = "f1c6db7a-eda8-405b-9d9e-536047a61b57";
115
+ static readonly STEP_SCHEMA_ACTION_ID = "48c81265-1b5c-476b-a15e-d4714c5dfea9";
116
+ static readonly STEP_SCHEMA_TYPE_ID = "6fe2cfeb-1359-4695-b637-2c782b811276";
117
+ static readonly STEP_TYPE = "NUDGE";
118
+ static readonly AUTO_LINK_PARENT = true;
119
+ readonly actionName: string;
120
+ readonly schemaActionId: string;
121
+ readonly entity: string;
122
+ constructor(properties: CreateNudgeMessageProperties, options?: {
123
+ journeyId?: string;
124
+ });
125
+ }
@@ -0,0 +1,59 @@
1
+ "use strict";
2
+ /**
3
+ * CreateNudgeMessage Action DTO
4
+ *
5
+ * Create the inactivity NUDGE message posted into a chat thread when a customer has gone quiet. Must carry the NUDGE record type: case-chat-nudging-and-closing decides whether a nudge has already been sent by testing the latest message type, so a nudge written as DEFAULT would be re-sent forever and the conversation would never close.
6
+ *
7
+ * @module NotificationModule
8
+ * @entity Message
9
+ * @entityType NUDGE
10
+ * @actionKey CreateNudgeMessage
11
+ * @event k1.t-hEOJjsDb.NotificationModule.Message.Create.CreateNudgeMessage
12
+ *
13
+ * AUTO-GENERATED - DO NOT EDIT DIRECTLY
14
+ */
15
+ Object.defineProperty(exports, "__esModule", { value: true });
16
+ exports.CreateNudgeMessageDto = void 0;
17
+ const core_1 = require("@d19n/odin-types/dist/core");
18
+ /**
19
+ * CreateNudgeMessage
20
+ *
21
+ * Create the inactivity NUDGE message posted into a chat thread when a customer has gone quiet. Must carry the NUDGE record type: case-chat-nudging-and-closing decides whether a nudge has already been sent by testing the latest message type, so a nudge written as DEFAULT would be re-sent forever and the conversation would never close.
22
+ *
23
+ * @actionType CREATE - Creates a new Message record
24
+ * @module NotificationModule
25
+ * @entity Message
26
+ * @entityType NUDGE (NUDGE)
27
+ * @event k1.t-hEOJjsDb.NotificationModule.Message.Create.CreateNudgeMessage
28
+ * @permission schema.action.createnudgemessage.trigger
29
+ * @benchmark This action is tracked for performance benchmarks
30
+ */
31
+ class CreateNudgeMessageDto extends core_1.OdinRecordCreateDto {
32
+ constructor(properties, options) {
33
+ super({
34
+ entity: 'NotificationModule:Message',
35
+ type: 'NUDGE',
36
+ properties,
37
+ journeyId: options === null || options === void 0 ? void 0 : options.journeyId,
38
+ });
39
+ this.actionName = 'CreateNudgeMessage';
40
+ this.schemaActionId = '48c81265-1b5c-476b-a15e-d4714c5dfea9';
41
+ this.entity = 'NotificationModule:Message';
42
+ }
43
+ }
44
+ exports.CreateNudgeMessageDto = CreateNudgeMessageDto;
45
+ /** Used by SDK generators to identify action type */
46
+ CreateNudgeMessageDto.ACTION_TYPE = 'CREATE';
47
+ CreateNudgeMessageDto.ACTION_KEY = 'CreateNudgeMessage';
48
+ CreateNudgeMessageDto.MODULE_NAME = 'NotificationModule';
49
+ CreateNudgeMessageDto.ENTITIES = ['Message'];
50
+ CreateNudgeMessageDto.ENTITY_TYPE = 'NUDGE';
51
+ CreateNudgeMessageDto.EVENT_NAME = 'k1.t-hEOJjsDb.NotificationModule.Message.Create.CreateNudgeMessage';
52
+ CreateNudgeMessageDto.PERMISSION = 'schema.action.createnudgemessage.trigger';
53
+ /** Step metadata - entity this action targets */
54
+ CreateNudgeMessageDto.STEP_ENTITY = 'NotificationModule:Message';
55
+ CreateNudgeMessageDto.STEP_SCHEMA_ID = 'f1c6db7a-eda8-405b-9d9e-536047a61b57';
56
+ CreateNudgeMessageDto.STEP_SCHEMA_ACTION_ID = '48c81265-1b5c-476b-a15e-d4714c5dfea9';
57
+ CreateNudgeMessageDto.STEP_SCHEMA_TYPE_ID = '6fe2cfeb-1359-4695-b637-2c782b811276';
58
+ CreateNudgeMessageDto.STEP_TYPE = 'NUDGE';
59
+ CreateNudgeMessageDto.AUTO_LINK_PARENT = true;
@@ -116,7 +116,9 @@ export declare enum ConversationPropertyKeys {
116
116
  /** Data field for Conversation records. Used by Communications team. */
117
117
  ClosedBy = "ClosedBy",
118
118
  /** Source for the conversaion (TWILIO, TRUSTPILOT, and other possible provider) (Communications - Conversation) */
119
- Source = "Source"
119
+ Source = "Source",
120
+ /** Human-readable name for the conversation, e.g. "A new conversation from TWILIO SMS". Mirrors what the chat gateway used to write to the record envelope, which the create action cannot set. */
121
+ Title = "Title"
120
122
  }
121
123
  /**
122
124
  * Properties for Conversation records
@@ -173,6 +175,12 @@ export interface ConversationProperties {
173
175
  * @enum {ConversationSource}
174
176
  */
175
177
  Source: ConversationSource;
178
+ /** Human-readable name for the conversation, e.g. "A new conversation from TWILIO SMS". Mirrors what the chat gateway used to write to the record envelope, which the create action cannot set.
179
+ *
180
+ * @type {TEXT}
181
+ * @default
182
+ */
183
+ Title: string;
176
184
  }
177
185
  /**
178
186
  * Conversation entity from NotificationModule
@@ -122,6 +122,8 @@ var ConversationPropertyKeys;
122
122
  ConversationPropertyKeys["ClosedBy"] = "ClosedBy";
123
123
  /** Source for the conversaion (TWILIO, TRUSTPILOT, and other possible provider) (Communications - Conversation) */
124
124
  ConversationPropertyKeys["Source"] = "Source";
125
+ /** Human-readable name for the conversation, e.g. "A new conversation from TWILIO SMS". Mirrors what the chat gateway used to write to the record envelope, which the create action cannot set. */
126
+ ConversationPropertyKeys["Title"] = "Title";
125
127
  })(ConversationPropertyKeys = exports.ConversationPropertyKeys || (exports.ConversationPropertyKeys = {}));
126
128
  /**
127
129
  * Conversation entity from NotificationModule
@@ -552,6 +552,8 @@ export declare enum OrderPropertyKeys {
552
552
  RequestedActivationDate = "RequestedActivationDate",
553
553
  /** I have read and confirm receipt of the Contract Summary. I consent to the Privacy Policy and acknowledge receipt of the T&Cs. (Sales - Contact) */
554
554
  ContractConsent = "ContractConsent",
555
+ /** The early termination fee quoted for this order (VAT-inclusive, totalGross from the ETF quote calculation). Written by EarlyTerminationService.getQuote on every quote call, for any caller and any atDate — a hypothetical quote overwrites the "as of now" value (deliberate, see CASES-1640). Direct input to the ETF <= £330 eligibility rule in the product-selection flow (WEB-1421 / PORTAPP-2651). */
556
+ EarlyTerminationFee = "EarlyTerminationFee",
555
557
  /** AltContactMethod */
556
558
  AltContactMethod = "AltContactMethod",
557
559
  /** MobileCoverage */
@@ -1150,6 +1152,12 @@ export interface OrderProperties {
1150
1152
  * @type {BOOLEAN}
1151
1153
  */
1152
1154
  ContractConsent: boolean;
1155
+ /** The early termination fee quoted for this order (VAT-inclusive, totalGross from the ETF quote calculation). Written by EarlyTerminationService.getQuote on every quote call, for any caller and any atDate — a hypothetical quote overwrites the "as of now" value (deliberate, see CASES-1640). Direct input to the ETF <= £330 eligibility rule in the product-selection flow (WEB-1421 / PORTAPP-2651).
1156
+ *
1157
+ * @type {NUMBER}
1158
+ * @default
1159
+ */
1160
+ EarlyTerminationFee: number;
1153
1161
  /** AltContactMethod
1154
1162
  *
1155
1163
  * @type {ENUM}
@@ -536,6 +536,8 @@ var OrderPropertyKeys;
536
536
  OrderPropertyKeys["RequestedActivationDate"] = "RequestedActivationDate";
537
537
  /** I have read and confirm receipt of the Contract Summary. I consent to the Privacy Policy and acknowledge receipt of the T&Cs. (Sales - Contact) */
538
538
  OrderPropertyKeys["ContractConsent"] = "ContractConsent";
539
+ /** The early termination fee quoted for this order (VAT-inclusive, totalGross from the ETF quote calculation). Written by EarlyTerminationService.getQuote on every quote call, for any caller and any atDate — a hypothetical quote overwrites the "as of now" value (deliberate, see CASES-1640). Direct input to the ETF <= £330 eligibility rule in the product-selection flow (WEB-1421 / PORTAPP-2651). */
540
+ OrderPropertyKeys["EarlyTerminationFee"] = "EarlyTerminationFee";
539
541
  /** AltContactMethod */
540
542
  OrderPropertyKeys["AltContactMethod"] = "AltContactMethod";
541
543
  /** MobileCoverage */
@@ -257,7 +257,7 @@ export declare class ConversationRecord<TProps = ConversationProperties> {
257
257
  * const payload = record.createConversation({ ... }).dryRun();
258
258
  * ```
259
259
  */
260
- createConversation(properties?: CreateConversationProperties, options?: {
260
+ createConversation(properties: CreateConversationProperties, options?: {
261
261
  type?: string;
262
262
  journeyId?: string;
263
263
  stageKey?: string;
@@ -23,7 +23,10 @@ import { IDbRecordCreateUpdateRes } from '@d19n/odin-types/dist/core/interfaces/
23
23
  import { IOdinProvider } from '@d19n/odin-sdk-generator/dist/odin-sdk-types';
24
24
  import { RecordLinkManager } from '@d19n/odin-sdk-generator/dist/record-link-manager';
25
25
  import { MessageProperties, CloseMessageProperties, EventMessageProperties, NudgeMessageProperties } from '../entities-v2/Message';
26
+ import { CreateCloseMessageProperties } from '../actions-v2/CreateCloseMessageDto';
27
+ import { CreateEventMessageProperties } from '../actions-v2/CreateEventMessageDto';
26
28
  import { CreateMessageProperties } from '../actions-v2/CreateMessageDto';
29
+ import { CreateNudgeMessageProperties } from '../actions-v2/CreateNudgeMessageDto';
27
30
  import { ConversationRecord } from './ConversationRecord';
28
31
  import { PushNotificationRecord } from './PushNotificationRecord';
29
32
  import { FileRecord } from './FileRecord';
@@ -259,6 +262,62 @@ export declare class MessageRecord<TProps = MessageProperties> {
259
262
  unlink(target: OdinRecord<any> | {
260
263
  id: string;
261
264
  } | string): Promise<void>;
265
+ /**
266
+ * CreateCloseMessage
267
+ *
268
+ * Creates a new Message record with the specified properties.
269
+ * Returns an ActionBuilder - call .execute() to create or .dryRun() for debugging.
270
+ *
271
+ * @remarks Record type: CLOSE
272
+ *
273
+ * @param properties - The properties for the new record
274
+ * @param options - Optional settings
275
+ * @param options.journeyId - Associate with a journey
276
+ * @param options.stageKey - Set initial pipeline stage
277
+ * @returns ActionBuilder - call .execute() to create or .dryRun() for payload
278
+ *
279
+ * @example
280
+ * ```typescript
281
+ * // Create with properties
282
+ * const record = odinClient.messages.new();
283
+ * await record.createCloseMessage({ ... }).execute();
284
+ *
285
+ * // Dry run (for debugging)
286
+ * const payload = record.createCloseMessage({ ... }).dryRun();
287
+ * ```
288
+ */
289
+ createCloseMessage(properties: CreateCloseMessageProperties, options?: {
290
+ journeyId?: string;
291
+ stageKey?: string;
292
+ }): ActionBuilder;
293
+ /**
294
+ * CreateEventMessage
295
+ *
296
+ * Creates a new Message record with the specified properties.
297
+ * Returns an ActionBuilder - call .execute() to create or .dryRun() for debugging.
298
+ *
299
+ * @remarks Record type: EVENT
300
+ *
301
+ * @param properties - The properties for the new record
302
+ * @param options - Optional settings
303
+ * @param options.journeyId - Associate with a journey
304
+ * @param options.stageKey - Set initial pipeline stage
305
+ * @returns ActionBuilder - call .execute() to create or .dryRun() for payload
306
+ *
307
+ * @example
308
+ * ```typescript
309
+ * // Create with properties
310
+ * const record = odinClient.messages.new();
311
+ * await record.createEventMessage({ ... }).execute();
312
+ *
313
+ * // Dry run (for debugging)
314
+ * const payload = record.createEventMessage({ ... }).dryRun();
315
+ * ```
316
+ */
317
+ createEventMessage(properties: CreateEventMessageProperties, options?: {
318
+ journeyId?: string;
319
+ stageKey?: string;
320
+ }): ActionBuilder;
262
321
  /**
263
322
  * CreateMessage
264
323
  *
@@ -287,6 +346,34 @@ export declare class MessageRecord<TProps = MessageProperties> {
287
346
  journeyId?: string;
288
347
  stageKey?: string;
289
348
  }): ActionBuilder;
349
+ /**
350
+ * CreateNudgeMessage
351
+ *
352
+ * Creates a new Message record with the specified properties.
353
+ * Returns an ActionBuilder - call .execute() to create or .dryRun() for debugging.
354
+ *
355
+ * @remarks Record type: NUDGE
356
+ *
357
+ * @param properties - The properties for the new record
358
+ * @param options - Optional settings
359
+ * @param options.journeyId - Associate with a journey
360
+ * @param options.stageKey - Set initial pipeline stage
361
+ * @returns ActionBuilder - call .execute() to create or .dryRun() for payload
362
+ *
363
+ * @example
364
+ * ```typescript
365
+ * // Create with properties
366
+ * const record = odinClient.messages.new();
367
+ * await record.createNudgeMessage({ ... }).execute();
368
+ *
369
+ * // Dry run (for debugging)
370
+ * const payload = record.createNudgeMessage({ ... }).dryRun();
371
+ * ```
372
+ */
373
+ createNudgeMessage(properties: CreateNudgeMessageProperties, options?: {
374
+ journeyId?: string;
375
+ stageKey?: string;
376
+ }): ActionBuilder;
290
377
  }
291
378
  /** Type guard to check if an object is a MessageRecord */
292
379
  export declare function isMessageRecord(obj: any): obj is MessageRecord;
@@ -340,6 +340,78 @@ class MessageRecord {
340
340
  // ============================================
341
341
  // CREATE ACTIONS (no existing record required)
342
342
  // ============================================
343
+ /**
344
+ * CreateCloseMessage
345
+ *
346
+ * Creates a new Message record with the specified properties.
347
+ * Returns an ActionBuilder - call .execute() to create or .dryRun() for debugging.
348
+ *
349
+ * @remarks Record type: CLOSE
350
+ *
351
+ * @param properties - The properties for the new record
352
+ * @param options - Optional settings
353
+ * @param options.journeyId - Associate with a journey
354
+ * @param options.stageKey - Set initial pipeline stage
355
+ * @returns ActionBuilder - call .execute() to create or .dryRun() for payload
356
+ *
357
+ * @example
358
+ * ```typescript
359
+ * // Create with properties
360
+ * const record = odinClient.messages.new();
361
+ * await record.createCloseMessage({ ... }).execute();
362
+ *
363
+ * // Dry run (for debugging)
364
+ * const payload = record.createCloseMessage({ ... }).dryRun();
365
+ * ```
366
+ */
367
+ createCloseMessage(properties, options) {
368
+ const payload = {
369
+ entity: 'NotificationModule:Message',
370
+ type: 'CLOSE',
371
+ actionName: 'CreateCloseMessage',
372
+ properties: properties || {},
373
+ associations: this._pendingLinks.length > 0 ? this._pendingLinks : undefined,
374
+ journeyId: options === null || options === void 0 ? void 0 : options.journeyId,
375
+ stageKey: options === null || options === void 0 ? void 0 : options.stageKey,
376
+ };
377
+ return new ActionBuilder(this._provider, 'NotificationModule', 'Message', payload, () => { this._pendingLinks = []; });
378
+ }
379
+ /**
380
+ * CreateEventMessage
381
+ *
382
+ * Creates a new Message record with the specified properties.
383
+ * Returns an ActionBuilder - call .execute() to create or .dryRun() for debugging.
384
+ *
385
+ * @remarks Record type: EVENT
386
+ *
387
+ * @param properties - The properties for the new record
388
+ * @param options - Optional settings
389
+ * @param options.journeyId - Associate with a journey
390
+ * @param options.stageKey - Set initial pipeline stage
391
+ * @returns ActionBuilder - call .execute() to create or .dryRun() for payload
392
+ *
393
+ * @example
394
+ * ```typescript
395
+ * // Create with properties
396
+ * const record = odinClient.messages.new();
397
+ * await record.createEventMessage({ ... }).execute();
398
+ *
399
+ * // Dry run (for debugging)
400
+ * const payload = record.createEventMessage({ ... }).dryRun();
401
+ * ```
402
+ */
403
+ createEventMessage(properties, options) {
404
+ const payload = {
405
+ entity: 'NotificationModule:Message',
406
+ type: 'EVENT',
407
+ actionName: 'CreateEventMessage',
408
+ properties: properties || {},
409
+ associations: this._pendingLinks.length > 0 ? this._pendingLinks : undefined,
410
+ journeyId: options === null || options === void 0 ? void 0 : options.journeyId,
411
+ stageKey: options === null || options === void 0 ? void 0 : options.stageKey,
412
+ };
413
+ return new ActionBuilder(this._provider, 'NotificationModule', 'Message', payload, () => { this._pendingLinks = []; });
414
+ }
343
415
  /**
344
416
  * CreateMessage
345
417
  *
@@ -376,6 +448,42 @@ class MessageRecord {
376
448
  };
377
449
  return new ActionBuilder(this._provider, 'NotificationModule', 'Message', payload, () => { this._pendingLinks = []; });
378
450
  }
451
+ /**
452
+ * CreateNudgeMessage
453
+ *
454
+ * Creates a new Message record with the specified properties.
455
+ * Returns an ActionBuilder - call .execute() to create or .dryRun() for debugging.
456
+ *
457
+ * @remarks Record type: NUDGE
458
+ *
459
+ * @param properties - The properties for the new record
460
+ * @param options - Optional settings
461
+ * @param options.journeyId - Associate with a journey
462
+ * @param options.stageKey - Set initial pipeline stage
463
+ * @returns ActionBuilder - call .execute() to create or .dryRun() for payload
464
+ *
465
+ * @example
466
+ * ```typescript
467
+ * // Create with properties
468
+ * const record = odinClient.messages.new();
469
+ * await record.createNudgeMessage({ ... }).execute();
470
+ *
471
+ * // Dry run (for debugging)
472
+ * const payload = record.createNudgeMessage({ ... }).dryRun();
473
+ * ```
474
+ */
475
+ createNudgeMessage(properties, options) {
476
+ const payload = {
477
+ entity: 'NotificationModule:Message',
478
+ type: 'NUDGE',
479
+ actionName: 'CreateNudgeMessage',
480
+ properties: properties || {},
481
+ associations: this._pendingLinks.length > 0 ? this._pendingLinks : undefined,
482
+ journeyId: options === null || options === void 0 ? void 0 : options.journeyId,
483
+ stageKey: options === null || options === void 0 ? void 0 : options.stageKey,
484
+ };
485
+ return new ActionBuilder(this._provider, 'NotificationModule', 'Message', payload, () => { this._pendingLinks = []; });
486
+ }
379
487
  }
380
488
  exports.MessageRecord = MessageRecord;
381
489
  // ============================================
@@ -50,6 +50,7 @@ export { ContactRecord, isContactRecord } from './ContactRecord';
50
50
  export { RewardRecord, isRewardRecord } from './RewardRecord';
51
51
  export { EmailRecord, isEmailRecord } from './EmailRecord';
52
52
  export { OrderKciRecord, isOrderKciRecord } from './OrderKciRecord';
53
+ export { MessageRecord, isMessageRecord } from './MessageRecord';
53
54
  export { ConfigRecord, isConfigRecord } from './ConfigRecord';
54
55
  export { ContactIdentityRecord, isContactIdentityRecord } from './ContactIdentityRecord';
55
56
  export { ConversationSummaryFeedbackRecord, isConversationSummaryFeedbackRecord } from './ConversationSummaryFeedbackRecord';
@@ -66,7 +67,6 @@ export { ActivityRecord, isActivityRecord } from './ActivityRecord';
66
67
  export { ImpersonationTrackerRecord, isImpersonationTrackerRecord } from './ImpersonationTrackerRecord';
67
68
  export { InvoiceItemRecord, isInvoiceItemRecord } from './InvoiceItemRecord';
68
69
  export { LeadRecord, isLeadRecord } from './LeadRecord';
69
- export { MessageRecord, isMessageRecord } from './MessageRecord';
70
70
  export { ModifyServiceRequestRecord, isModifyServiceRequestRecord } from './ModifyServiceRequestRecord';
71
71
  export { NetworkDeviceRecord, isNetworkDeviceRecord } from './NetworkDeviceRecord';
72
72
  export { ReturnsRecord, isReturnsRecord } from './ReturnsRecord';
@@ -12,8 +12,8 @@
12
12
  */
13
13
  Object.defineProperty(exports, "__esModule", { value: true });
14
14
  exports.isRemediationOutcomeFormRecord = exports.RemediationOutcomeFormRecord = exports.isOhExternalAuditRecord = exports.OhExternalAuditRecord = exports.isUgExternalAuditRecord = exports.UgExternalAuditRecord = exports.isPaymentMethodRefundRecord = exports.PaymentMethodRefundRecord = exports.isConversationRecord = exports.ConversationRecord = exports.isOntReplacementApprovalRecord = exports.OntReplacementApprovalRecord = exports.isAccountRecord = exports.AccountRecord = exports.isPermissionToFailRecord = exports.PermissionToFailRecord = exports.isTransactionRecord = exports.TransactionRecord = exports.isPaymentRecord = exports.PaymentRecord = exports.isPICRequestRecord = exports.PICRequestRecord = exports.isChangeReasonRecord = exports.ChangeReasonRecord = exports.isChurnRequestRecord = exports.ChurnRequestRecord = exports.isBillingRequestRecord = exports.BillingRequestRecord = exports.isBillingAdjustmentRecord = exports.BillingAdjustmentRecord = exports.isServiceAppointmentConfigRecord = exports.ServiceAppointmentConfigRecord = exports.isCrmDatasetRecord = exports.CrmDatasetRecord = exports.isNoteRecord = exports.NoteRecord = exports.isDataIssueRecord = exports.DataIssueRecord = exports.isContractBuyOutRecord = exports.ContractBuyOutRecord = exports.isCaseRecord = exports.CaseRecord = exports.isAddressInteractionRecord = exports.AddressInteractionRecord = exports.isAddressRecord = exports.AddressRecord = exports.isWorkOrderRecord = exports.WorkOrderRecord = exports.isOrderRecord = exports.OrderRecord = void 0;
15
- exports.isExchangeRecord = exports.ExchangeRecord = exports.isEmailTemplateRecord = exports.EmailTemplateRecord = exports.isEmailSenderRecord = exports.EmailSenderRecord = exports.isCustomerDeviceOntRecord = exports.CustomerDeviceOntRecord = exports.isCustomerDeviceConfigurationRecord = exports.CustomerDeviceConfigurationRecord = exports.isCustomerDeviceRecord = exports.CustomerDeviceRecord = exports.isConversationSummaryFeedbackRecord = exports.ConversationSummaryFeedbackRecord = exports.isContactIdentityRecord = exports.ContactIdentityRecord = exports.isConfigRecord = exports.ConfigRecord = exports.isOrderKciRecord = exports.OrderKciRecord = exports.isEmailRecord = exports.EmailRecord = exports.isRewardRecord = exports.RewardRecord = exports.isContactRecord = exports.ContactRecord = exports.isCallRecord = exports.CallRecord = exports.isTwilioCallEventRecord = exports.TwilioCallEventRecord = exports.isProductRecord = exports.ProductRecord = exports.isBrskEntityMigrationErrorRecord = exports.BrskEntityMigrationErrorRecord = exports.isBngProvisionRecord = exports.BngProvisionRecord = exports.isPgFileAllocationRecord = exports.PgFileAllocationRecord = exports.isAppointmentRecord = exports.AppointmentRecord = exports.isCallLegRecord = exports.CallLegRecord = exports.isAffiliateCodeRecord = exports.AffiliateCodeRecord = exports.isActivityLogRecord = exports.ActivityLogRecord = exports.isAccountCreditRecord = exports.AccountCreditRecord = exports.isYfFieldServiceVisitRecord = exports.YfFieldServiceVisitRecord = void 0;
16
- exports.isPgReportEventRecord = exports.PgReportEventRecord = exports.isPgPaymentMethodRecord = exports.PgPaymentMethodRecord = exports.isPgLogRecord = exports.PgLogRecord = exports.isPgDisputeRecord = exports.PgDisputeRecord = exports.isPgContactRecord = exports.PgContactRecord = exports.isPaymentMethodRecord = exports.PaymentMethodRecord = exports.isSmsMessageRecord = exports.SmsMessageRecord = exports.isOutboundDialSessionRecord = exports.OutboundDialSessionRecord = exports.isOutboundDialCampaignRecord = exports.OutboundDialCampaignRecord = exports.isReferralRecord = exports.ReferralRecord = exports.isOrderCheckRecord = exports.OrderCheckRecord = exports.isCampaignRecord = exports.CampaignRecord = exports.isOneTouchSwitchRecord = exports.OneTouchSwitchRecord = exports.isOfferTemplateRecord = exports.OfferTemplateRecord = exports.isReturnsRecord = exports.ReturnsRecord = exports.isNetworkDeviceRecord = exports.NetworkDeviceRecord = exports.isModifyServiceRequestRecord = exports.ModifyServiceRequestRecord = exports.isMessageRecord = exports.MessageRecord = exports.isLeadRecord = exports.LeadRecord = exports.isInvoiceItemRecord = exports.InvoiceItemRecord = exports.isImpersonationTrackerRecord = exports.ImpersonationTrackerRecord = exports.isActivityRecord = exports.ActivityRecord = exports.isFileRecord = exports.FileRecord = exports.isFieldServiceProductRecord = exports.FieldServiceProductRecord = exports.isFieldServiceDispatchedProductRecord = exports.FieldServiceDispatchedProductRecord = void 0;
15
+ exports.isEmailTemplateRecord = exports.EmailTemplateRecord = exports.isEmailSenderRecord = exports.EmailSenderRecord = exports.isCustomerDeviceOntRecord = exports.CustomerDeviceOntRecord = exports.isCustomerDeviceConfigurationRecord = exports.CustomerDeviceConfigurationRecord = exports.isCustomerDeviceRecord = exports.CustomerDeviceRecord = exports.isConversationSummaryFeedbackRecord = exports.ConversationSummaryFeedbackRecord = exports.isContactIdentityRecord = exports.ContactIdentityRecord = exports.isConfigRecord = exports.ConfigRecord = exports.isMessageRecord = exports.MessageRecord = exports.isOrderKciRecord = exports.OrderKciRecord = exports.isEmailRecord = exports.EmailRecord = exports.isRewardRecord = exports.RewardRecord = exports.isContactRecord = exports.ContactRecord = exports.isCallRecord = exports.CallRecord = exports.isTwilioCallEventRecord = exports.TwilioCallEventRecord = exports.isProductRecord = exports.ProductRecord = exports.isBrskEntityMigrationErrorRecord = exports.BrskEntityMigrationErrorRecord = exports.isBngProvisionRecord = exports.BngProvisionRecord = exports.isPgFileAllocationRecord = exports.PgFileAllocationRecord = exports.isAppointmentRecord = exports.AppointmentRecord = exports.isCallLegRecord = exports.CallLegRecord = exports.isAffiliateCodeRecord = exports.AffiliateCodeRecord = exports.isActivityLogRecord = exports.ActivityLogRecord = exports.isAccountCreditRecord = exports.AccountCreditRecord = exports.isYfFieldServiceVisitRecord = exports.YfFieldServiceVisitRecord = void 0;
16
+ exports.isPgReportEventRecord = exports.PgReportEventRecord = exports.isPgPaymentMethodRecord = exports.PgPaymentMethodRecord = exports.isPgLogRecord = exports.PgLogRecord = exports.isPgDisputeRecord = exports.PgDisputeRecord = exports.isPgContactRecord = exports.PgContactRecord = exports.isPaymentMethodRecord = exports.PaymentMethodRecord = exports.isSmsMessageRecord = exports.SmsMessageRecord = exports.isOutboundDialSessionRecord = exports.OutboundDialSessionRecord = exports.isOutboundDialCampaignRecord = exports.OutboundDialCampaignRecord = exports.isReferralRecord = exports.ReferralRecord = exports.isOrderCheckRecord = exports.OrderCheckRecord = exports.isCampaignRecord = exports.CampaignRecord = exports.isOneTouchSwitchRecord = exports.OneTouchSwitchRecord = exports.isOfferTemplateRecord = exports.OfferTemplateRecord = exports.isReturnsRecord = exports.ReturnsRecord = exports.isNetworkDeviceRecord = exports.NetworkDeviceRecord = exports.isModifyServiceRequestRecord = exports.ModifyServiceRequestRecord = exports.isLeadRecord = exports.LeadRecord = exports.isInvoiceItemRecord = exports.InvoiceItemRecord = exports.isImpersonationTrackerRecord = exports.ImpersonationTrackerRecord = exports.isActivityRecord = exports.ActivityRecord = exports.isFileRecord = exports.FileRecord = exports.isFieldServiceProductRecord = exports.FieldServiceProductRecord = exports.isFieldServiceDispatchedProductRecord = exports.FieldServiceDispatchedProductRecord = exports.isExchangeRecord = exports.ExchangeRecord = void 0;
17
17
  exports.isCustomerDeviceAtaRecord = exports.CustomerDeviceAtaRecord = exports.isCreditNoteRecord = exports.CreditNoteRecord = exports.isOutboundDialCampaignCaseRecord = exports.OutboundDialCampaignCaseRecord = exports.isYfWifiSurveyRecord = exports.YfWifiSurveyRecord = exports.isWorkOrderStatusUpdateRecord = exports.WorkOrderStatusUpdateRecord = exports.isWayleaveAuditRecord = exports.WayleaveAuditRecord = exports.isUserRecord = exports.UserRecord = exports.isTwilioWorkerRecord = exports.TwilioWorkerRecord = exports.isTwilioUserUpdateRecord = exports.TwilioUserUpdateRecord = exports.isTwilioTaskQueueRecord = exports.TwilioTaskQueueRecord = exports.isTwilioActivityRecord = exports.TwilioActivityRecord = exports.isTimeSlotRecord = exports.TimeSlotRecord = exports.isTeamRecord = exports.TeamRecord = exports.isSalesTerritoryRecord = exports.SalesTerritoryRecord = exports.isRegionRecord = exports.RegionRecord = exports.isVoiceConfigurationRecord = exports.VoiceConfigurationRecord = exports.isOrderItemRecord = exports.OrderItemRecord = exports.isPushNotificationRecord = exports.PushNotificationRecord = exports.isPgWebhookRecord = exports.PgWebhookRecord = exports.isPgWebhookAttemptRecord = exports.PgWebhookAttemptRecord = exports.isPgAccountValidationRecord = exports.PgAccountValidationRecord = exports.isPgTransactionRecord = exports.PgTransactionRecord = exports.isPgSortCodeSubstitutionRecord = exports.PgSortCodeSubstitutionRecord = exports.isPgVocalinkRecord = exports.PgVocalinkRecord = exports.isPgDirectDebitFileRecord = exports.PgDirectDebitFileRecord = void 0;
18
18
  exports.isCustomerPhonePortingRecord = exports.CustomerPhonePortingRecord = exports.isVisitRecord = exports.VisitRecord = exports.isServiceRecord = exports.ServiceRecord = exports.isScheduleSlotRecord = exports.ScheduleSlotRecord = exports.isPriceBookRecord = exports.PriceBookRecord = exports.isOverlayRealA55Record = exports.OverlayRealA55Record = exports.isOfferRecord = exports.OfferRecord = exports.isServiceAppointmentRecord = exports.ServiceAppointmentRecord = exports.isOutageRecord = exports.OutageRecord = exports.isSiteSpecificRiskAssessmentOutcomeFormRecord = exports.SiteSpecificRiskAssessmentOutcomeFormRecord = exports.isRemediationRequiredReasonRecord = exports.RemediationRequiredReasonRecord = exports.isKnowledgeArticleRecord = exports.KnowledgeArticleRecord = exports.isInvoiceRecord = exports.InvoiceRecord = exports.isDiscountRecord = exports.DiscountRecord = exports.isCustomerDeviceRouterRecord = exports.CustomerDeviceRouterRecord = void 0;
19
19
  var OrderRecord_1 = require("./OrderRecord");
@@ -139,6 +139,9 @@ Object.defineProperty(exports, "isEmailRecord", { enumerable: true, get: functio
139
139
  var OrderKciRecord_1 = require("./OrderKciRecord");
140
140
  Object.defineProperty(exports, "OrderKciRecord", { enumerable: true, get: function () { return OrderKciRecord_1.OrderKciRecord; } });
141
141
  Object.defineProperty(exports, "isOrderKciRecord", { enumerable: true, get: function () { return OrderKciRecord_1.isOrderKciRecord; } });
142
+ var MessageRecord_1 = require("./MessageRecord");
143
+ Object.defineProperty(exports, "MessageRecord", { enumerable: true, get: function () { return MessageRecord_1.MessageRecord; } });
144
+ Object.defineProperty(exports, "isMessageRecord", { enumerable: true, get: function () { return MessageRecord_1.isMessageRecord; } });
142
145
  var ConfigRecord_1 = require("./ConfigRecord");
143
146
  Object.defineProperty(exports, "ConfigRecord", { enumerable: true, get: function () { return ConfigRecord_1.ConfigRecord; } });
144
147
  Object.defineProperty(exports, "isConfigRecord", { enumerable: true, get: function () { return ConfigRecord_1.isConfigRecord; } });
@@ -187,9 +190,6 @@ Object.defineProperty(exports, "isInvoiceItemRecord", { enumerable: true, get: f
187
190
  var LeadRecord_1 = require("./LeadRecord");
188
191
  Object.defineProperty(exports, "LeadRecord", { enumerable: true, get: function () { return LeadRecord_1.LeadRecord; } });
189
192
  Object.defineProperty(exports, "isLeadRecord", { enumerable: true, get: function () { return LeadRecord_1.isLeadRecord; } });
190
- var MessageRecord_1 = require("./MessageRecord");
191
- Object.defineProperty(exports, "MessageRecord", { enumerable: true, get: function () { return MessageRecord_1.MessageRecord; } });
192
- Object.defineProperty(exports, "isMessageRecord", { enumerable: true, get: function () { return MessageRecord_1.isMessageRecord; } });
193
193
  var ModifyServiceRequestRecord_1 = require("./ModifyServiceRequestRecord");
194
194
  Object.defineProperty(exports, "ModifyServiceRequestRecord", { enumerable: true, get: function () { return ModifyServiceRequestRecord_1.ModifyServiceRequestRecord; } });
195
195
  Object.defineProperty(exports, "isModifyServiceRequestRecord", { enumerable: true, get: function () { return ModifyServiceRequestRecord_1.isModifyServiceRequestRecord; } });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@d19n/youfibre-odin-sdk",
3
- "version": "2.0.271",
3
+ "version": "2.0.273",
4
4
  "description": "",
5
5
  "author": "@d19n",
6
6
  "license": "UNLICENSED",