@d19n/youfibre-odin-sdk 1.0.256 → 1.0.259

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.
@@ -0,0 +1,113 @@
1
+ /**
2
+ * SetInvoiceToPaid Action DTO
3
+ *
4
+ * Marks an invoice as paid, setting Balance to 0 and recording the settlement date. All fields have sensible defaults - only specify properties if you need to override.
5
+ *
6
+ * @module BillingModule
7
+ * @entity Invoice
8
+ * @actionKey SetInvoiceToPaid
9
+ * @event SetInvoiceToPaid
10
+ *
11
+ * AUTO-GENERATED - DO NOT EDIT DIRECTLY
12
+ */
13
+ import { OdinRecord, OdinRecordUpdateDto, OdinRecordUpdatedEvent } from '@d19n/odin-types/dist/core';
14
+ /**
15
+ * Properties for SetInvoiceToPaid action
16
+ *
17
+ * @property Required fields: 0
18
+ * @property Optional fields: 6
19
+ */
20
+ export interface SetInvoiceToPaidProperties {
21
+ /**
22
+ * Status
23
+ *
24
+ * status of the invoice (Finance - Invoice)
25
+ * @type {ENUM}
26
+ * @default PAID
27
+ */
28
+ Status?: string;
29
+ /**
30
+ * Balance
31
+ *
32
+ * balance left to be paid (Finance - Invoice)
33
+ * @type {CURRENCY}
34
+ * @default 0
35
+ */
36
+ Balance?: string;
37
+ /**
38
+ * Settled Date
39
+ *
40
+ * the date the payment was sent to the bank (Finance - Invoice)
41
+ * @type {DATE}
42
+ * @format DD/MM/YYYY
43
+ */
44
+ SettledDate?: string;
45
+ /**
46
+ * Past Due Days
47
+ *
48
+ * the number of days the invoice is past due (Finance - Invoice)
49
+ * @type {NUMBER}
50
+ * @default 0
51
+ */
52
+ PastDueDays?: number;
53
+ /**
54
+ * Dunning Status
55
+ *
56
+ * the status of dunning (Finance - Invoice)
57
+ * @type {ENUM}
58
+ */
59
+ DunningStatus?: string;
60
+ /**
61
+ * Dunning Status Updated At
62
+ *
63
+ * timestamp indicating when the DunningStatus changed (Finance - Invoice)
64
+ * @type {DATE}
65
+ */
66
+ DunningStatusUpdatedAt?: string;
67
+ }
68
+ /**
69
+ * SetInvoiceToPaid
70
+ *
71
+ * Marks an invoice as paid, setting Balance to 0 and recording the settlement date. All fields have sensible defaults - only specify properties if you need to override.
72
+ *
73
+ * @actionType UPDATE - Updates an existing Invoice record
74
+ * @module BillingModule
75
+ * @entity Invoice
76
+ * @event SetInvoiceToPaid
77
+ * @permission schema.action.setinvoicetopaid.trigger
78
+ * @benchmark This action is tracked for performance benchmarks
79
+ */
80
+ export declare class SetInvoiceToPaidDto extends OdinRecordUpdateDto<SetInvoiceToPaidProperties> {
81
+ /** Used by SDK generators to identify action type */
82
+ static readonly ACTION_TYPE = "UPDATE";
83
+ static readonly ACTION_KEY = "SetInvoiceToPaid";
84
+ static readonly MODULE_NAME = "BillingModule";
85
+ static readonly ENTITIES: string[];
86
+ static readonly EVENT_NAME = "SetInvoiceToPaid";
87
+ static readonly PERMISSION = "schema.action.setinvoicetopaid.trigger";
88
+ readonly actionName: string;
89
+ readonly schemaActionId: string;
90
+ readonly entity: string;
91
+ constructor(record: OdinRecord<any> | {
92
+ id: string;
93
+ entity: string;
94
+ type?: string;
95
+ }, properties: SetInvoiceToPaidProperties, options?: {
96
+ journeyId?: string;
97
+ stageKey?: string;
98
+ });
99
+ }
100
+ /**
101
+ * RabbitMQ message payload for SetInvoiceToPaid updated events
102
+ *
103
+ * @event SetInvoiceToPaid
104
+ */
105
+ export interface SetInvoiceToPaidMessage extends OdinRecordUpdatedEvent<SetInvoiceToPaidDto, SetInvoiceToPaidProperties> {
106
+ }
107
+ /**
108
+ * RabbitMQ routing key for SetInvoiceToPaid events
109
+ *
110
+ * Subscribe to this key to receive notifications when this action completes.
111
+ * @event SetInvoiceToPaid
112
+ */
113
+ export declare const ROUTING_KEY_SET_INVOICE_TO_PAID = "SetInvoiceToPaid";
@@ -0,0 +1,58 @@
1
+ "use strict";
2
+ /**
3
+ * SetInvoiceToPaid Action DTO
4
+ *
5
+ * Marks an invoice as paid, setting Balance to 0 and recording the settlement date. All fields have sensible defaults - only specify properties if you need to override.
6
+ *
7
+ * @module BillingModule
8
+ * @entity Invoice
9
+ * @actionKey SetInvoiceToPaid
10
+ * @event SetInvoiceToPaid
11
+ *
12
+ * AUTO-GENERATED - DO NOT EDIT DIRECTLY
13
+ */
14
+ Object.defineProperty(exports, "__esModule", { value: true });
15
+ exports.ROUTING_KEY_SET_INVOICE_TO_PAID = exports.SetInvoiceToPaidDto = void 0;
16
+ const core_1 = require("@d19n/odin-types/dist/core");
17
+ /**
18
+ * SetInvoiceToPaid
19
+ *
20
+ * Marks an invoice as paid, setting Balance to 0 and recording the settlement date. All fields have sensible defaults - only specify properties if you need to override.
21
+ *
22
+ * @actionType UPDATE - Updates an existing Invoice record
23
+ * @module BillingModule
24
+ * @entity Invoice
25
+ * @event SetInvoiceToPaid
26
+ * @permission schema.action.setinvoicetopaid.trigger
27
+ * @benchmark This action is tracked for performance benchmarks
28
+ */
29
+ class SetInvoiceToPaidDto 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 = 'SetInvoiceToPaid';
40
+ this.schemaActionId = '029ca18a-e4a7-4ef9-9aac-65812e73d65c';
41
+ this.entity = 'BillingModule:Invoice';
42
+ }
43
+ }
44
+ exports.SetInvoiceToPaidDto = SetInvoiceToPaidDto;
45
+ /** Used by SDK generators to identify action type */
46
+ SetInvoiceToPaidDto.ACTION_TYPE = 'UPDATE';
47
+ SetInvoiceToPaidDto.ACTION_KEY = 'SetInvoiceToPaid';
48
+ SetInvoiceToPaidDto.MODULE_NAME = 'BillingModule';
49
+ SetInvoiceToPaidDto.ENTITIES = ['Invoice'];
50
+ SetInvoiceToPaidDto.EVENT_NAME = 'SetInvoiceToPaid';
51
+ SetInvoiceToPaidDto.PERMISSION = 'schema.action.setinvoicetopaid.trigger';
52
+ /**
53
+ * RabbitMQ routing key for SetInvoiceToPaid events
54
+ *
55
+ * Subscribe to this key to receive notifications when this action completes.
56
+ * @event SetInvoiceToPaid
57
+ */
58
+ exports.ROUTING_KEY_SET_INVOICE_TO_PAID = 'SetInvoiceToPaid';
@@ -21,10 +21,10 @@ export interface UpdateFormalComplaintProperties {
21
21
  /**
22
22
  * FormalComplaint
23
23
  *
24
- * Formal Complaint - Boolean
25
- * @type {BOOLEAN}
24
+ * Formal Complaint
25
+ * @type {ENUM}
26
26
  */
27
- FormalComplaint?: boolean;
27
+ FormalComplaint?: string;
28
28
  }
29
29
  /**
30
30
  * UpdateFormalComplaint
@@ -39,6 +39,19 @@ export declare enum CaseEntityTypes {
39
39
  /** Outage */
40
40
  OUTAGE = "OUTAGE"
41
41
  }
42
+ /**
43
+ * Valid values for Case.FormalComplaint
44
+ *
45
+ * Formal Complaint
46
+ *
47
+ * @remarks Available options:
48
+ * - `YES` - Yes
49
+ * - `NO` - No
50
+ */
51
+ export declare enum CaseFormalComplaint {
52
+ YES = "YES",
53
+ NO = "NO"
54
+ }
42
55
  /**
43
56
  * Valid values for Case.Deprecated
44
57
  *
@@ -161,15 +174,12 @@ export declare enum CaseBusinessArea {
161
174
  * - `TLOS_APP` - TLOS App
162
175
  * - `TLOS_PORTAL` - TLOS Portal
163
176
  * - `INSTAGRAM_DM` - Instagram DM
164
- * - `FACEBOOK_COMMENT` - Facebook Comment
165
- * - `INSTAGRAM_COMMENT` - Instagram Comment
166
177
  * - `SMS`
167
178
  * - `TRUSTPILOT_SERVICE_REVIEW` - Trustpilot review
168
179
  * - `WEB_CHAT` - Web chat
169
180
  * - `WHATSAPP` - Whatsapp
170
181
  * - `WEB_FORM_BUSINESS` - Web form - Business
171
182
  * - `CUSTOMER_PORTAL` - Customer Portal
172
- * - ... and 1 more
173
183
  */
174
184
  export declare enum CaseChannel {
175
185
  CALL = "CALL",
@@ -179,15 +189,12 @@ export declare enum CaseChannel {
179
189
  TLOS_APP = "TLOS_APP",
180
190
  TLOS_PORTAL = "TLOS_PORTAL",
181
191
  INSTAGRAM_DM = "INSTAGRAM_DM",
182
- FACEBOOK_COMMENT = "FACEBOOK_COMMENT",
183
- INSTAGRAM_COMMENT = "INSTAGRAM_COMMENT",
184
192
  SMS = "SMS",
185
193
  TRUSTPILOT_REVIEW = "TRUSTPILOT_SERVICE_REVIEW",
186
194
  WEB_CHAT = "WEB_CHAT",
187
195
  WHATSAPP = "WHATSAPP",
188
196
  WEB_FORM_BUSINESS = "WEB_FORM_BUSINESS",
189
- CUSTOMER_PORTAL = "CUSTOMER_PORTAL",
190
- FACEBOOK_PAGE_POST = "FACEBOOK_PAGE_POST"
197
+ CUSTOMER_PORTAL = "CUSTOMER_PORTAL"
191
198
  }
192
199
  /**
193
200
  * Valid values for Case.Category
@@ -463,7 +470,7 @@ export declare enum CaseDpaCustomerType {
463
470
  * Use these constants instead of string literals for type safety
464
471
  */
465
472
  export declare enum CasePropertyKeys {
466
- /** Formal Complaint - Boolean */
473
+ /** Formal Complaint */
467
474
  FormalComplaint = "FormalComplaint",
468
475
  /** R_QueueTitle (Customer Service - Case) */
469
476
  RQueueTitle = "R_QueueTitle",
@@ -602,12 +609,13 @@ export declare enum CasePropertyKeys {
602
609
  * @see SupportModule:Case
603
610
  */
604
611
  export interface CaseProperties {
605
- /** Formal Complaint - Boolean
612
+ /** Formal Complaint
606
613
  *
607
- * @type {BOOLEAN}
608
- * @default FALSE
614
+ * @type {ENUM}
615
+ * @default
616
+ * @enum {CaseFormalComplaint}
609
617
  */
610
- FormalComplaint?: boolean;
618
+ FormalComplaint?: CaseFormalComplaint;
611
619
  /** R_QueueTitle (Customer Service - Case)
612
620
  *
613
621
  * @type {TEXT}
@@ -12,8 +12,8 @@
12
12
  * Generated from Odin schema definition
13
13
  */
14
14
  Object.defineProperty(exports, "__esModule", { value: true });
15
- exports.ROUTING_KEY_LINK_CASE_CONTRACT_BUY_OUT_DELETED = exports.ROUTING_KEY_LINK_CASE_CONTRACT_BUY_OUT_CREATED = exports.ROUTING_KEY_LINK_CASE_CONVERSATION_DELETED = exports.ROUTING_KEY_LINK_CASE_CONVERSATION_CREATED = exports.ROUTING_KEY_LINK_CASE_EMAIL_DELETED = exports.ROUTING_KEY_LINK_CASE_EMAIL_CREATED = exports.ROUTING_KEY_LINK_CASE_CONTACT_DELETED = exports.ROUTING_KEY_LINK_CASE_CONTACT_CREATED = exports.ROUTING_KEY_LINK_CASE_QUEUE_CHANGE_DELETED = exports.ROUTING_KEY_LINK_CASE_QUEUE_CHANGE_CREATED = exports.ROUTING_KEY_LINK_CASE_SMS_MESSAGE_DELETED = exports.ROUTING_KEY_LINK_CASE_SMS_MESSAGE_CREATED = exports.ROUTING_KEY_LINK_CASE_ADDRESS_DELETED = exports.ROUTING_KEY_LINK_CASE_ADDRESS_CREATED = exports.ROUTING_KEY_LINK_CASE_WORK_ORDER_DELETED = exports.ROUTING_KEY_LINK_CASE_WORK_ORDER_CREATED = exports.ROUTING_KEY_LINK_CASE_ORDER_DELETED = exports.ROUTING_KEY_LINK_CASE_ORDER_CREATED = exports.ROUTING_KEY_LINK_CASE_CASE_ACTION_DELETED = exports.ROUTING_KEY_LINK_CASE_CASE_ACTION_CREATED = exports.ROUTING_KEY_LINK_CASE_FILE_DELETED = exports.ROUTING_KEY_LINK_CASE_FILE_CREATED = exports.ROUTING_KEY_LINK_CASE_CASE_DELETED = exports.ROUTING_KEY_LINK_CASE_CASE_CREATED = exports.ROUTING_KEY_LINK_CASE_OWNER_DELETED = exports.ROUTING_KEY_LINK_CASE_OWNER_CREATED = exports.ROUTING_KEY_LINK_CASE_TEAM_DELETED = exports.ROUTING_KEY_LINK_CASE_TEAM_CREATED = exports.ROUTING_KEY_CASE_DELETED = exports.ROUTING_KEY_CASE_UPDATED = exports.ROUTING_KEY_CASE_CREATED = exports.Case = exports.CasePropertyKeys = exports.CaseDpaCustomerType = exports.CaseSubCategory = exports.CaseSource = exports.CaseReasonForReview = exports.CaseDpaCustomerCategory = exports.CaseConversationStatus = exports.CaseImpact = exports.CaseCsatReason = exports.CaseBlockedReason = exports.CaseCategory = exports.CaseChannel = exports.CaseBusinessArea = exports.CaseProblem = exports.CaseSla = exports.CaseOrigin = exports.CaseDeprecated = exports.CaseEntityTypes = void 0;
16
- exports.ROUTING_KEY_LINK_CASE_ACTIVITY_LOG_DELETED = exports.ROUTING_KEY_LINK_CASE_ACTIVITY_LOG_CREATED = exports.ROUTING_KEY_LINK_CASE_NOTE_DELETED = exports.ROUTING_KEY_LINK_CASE_NOTE_CREATED = void 0;
15
+ exports.ROUTING_KEY_LINK_CASE_CONTRACT_BUY_OUT_CREATED = exports.ROUTING_KEY_LINK_CASE_CONVERSATION_DELETED = exports.ROUTING_KEY_LINK_CASE_CONVERSATION_CREATED = exports.ROUTING_KEY_LINK_CASE_EMAIL_DELETED = exports.ROUTING_KEY_LINK_CASE_EMAIL_CREATED = exports.ROUTING_KEY_LINK_CASE_CONTACT_DELETED = exports.ROUTING_KEY_LINK_CASE_CONTACT_CREATED = exports.ROUTING_KEY_LINK_CASE_QUEUE_CHANGE_DELETED = exports.ROUTING_KEY_LINK_CASE_QUEUE_CHANGE_CREATED = exports.ROUTING_KEY_LINK_CASE_SMS_MESSAGE_DELETED = exports.ROUTING_KEY_LINK_CASE_SMS_MESSAGE_CREATED = exports.ROUTING_KEY_LINK_CASE_ADDRESS_DELETED = exports.ROUTING_KEY_LINK_CASE_ADDRESS_CREATED = exports.ROUTING_KEY_LINK_CASE_WORK_ORDER_DELETED = exports.ROUTING_KEY_LINK_CASE_WORK_ORDER_CREATED = exports.ROUTING_KEY_LINK_CASE_ORDER_DELETED = exports.ROUTING_KEY_LINK_CASE_ORDER_CREATED = exports.ROUTING_KEY_LINK_CASE_CASE_ACTION_DELETED = exports.ROUTING_KEY_LINK_CASE_CASE_ACTION_CREATED = exports.ROUTING_KEY_LINK_CASE_FILE_DELETED = exports.ROUTING_KEY_LINK_CASE_FILE_CREATED = exports.ROUTING_KEY_LINK_CASE_CASE_DELETED = exports.ROUTING_KEY_LINK_CASE_CASE_CREATED = exports.ROUTING_KEY_LINK_CASE_OWNER_DELETED = exports.ROUTING_KEY_LINK_CASE_OWNER_CREATED = exports.ROUTING_KEY_LINK_CASE_TEAM_DELETED = exports.ROUTING_KEY_LINK_CASE_TEAM_CREATED = exports.ROUTING_KEY_CASE_DELETED = exports.ROUTING_KEY_CASE_UPDATED = exports.ROUTING_KEY_CASE_CREATED = exports.Case = exports.CasePropertyKeys = exports.CaseDpaCustomerType = exports.CaseSubCategory = exports.CaseSource = exports.CaseReasonForReview = exports.CaseDpaCustomerCategory = exports.CaseConversationStatus = exports.CaseImpact = exports.CaseCsatReason = exports.CaseBlockedReason = exports.CaseCategory = exports.CaseChannel = exports.CaseBusinessArea = exports.CaseProblem = exports.CaseSla = exports.CaseOrigin = exports.CaseDeprecated = exports.CaseFormalComplaint = exports.CaseEntityTypes = void 0;
16
+ exports.ROUTING_KEY_LINK_CASE_ACTIVITY_LOG_DELETED = exports.ROUTING_KEY_LINK_CASE_ACTIVITY_LOG_CREATED = exports.ROUTING_KEY_LINK_CASE_NOTE_DELETED = exports.ROUTING_KEY_LINK_CASE_NOTE_CREATED = exports.ROUTING_KEY_LINK_CASE_CONTRACT_BUY_OUT_DELETED = void 0;
17
17
  const core_1 = require("@d19n/odin-types/dist/core");
18
18
  /**
19
19
  * Available types for Case records
@@ -25,6 +25,20 @@ var CaseEntityTypes;
25
25
  /** Outage */
26
26
  CaseEntityTypes["OUTAGE"] = "OUTAGE";
27
27
  })(CaseEntityTypes = exports.CaseEntityTypes || (exports.CaseEntityTypes = {}));
28
+ /**
29
+ * Valid values for Case.FormalComplaint
30
+ *
31
+ * Formal Complaint
32
+ *
33
+ * @remarks Available options:
34
+ * - `YES` - Yes
35
+ * - `NO` - No
36
+ */
37
+ var CaseFormalComplaint;
38
+ (function (CaseFormalComplaint) {
39
+ CaseFormalComplaint["YES"] = "YES";
40
+ CaseFormalComplaint["NO"] = "NO";
41
+ })(CaseFormalComplaint = exports.CaseFormalComplaint || (exports.CaseFormalComplaint = {}));
28
42
  /**
29
43
  * Valid values for Case.Deprecated
30
44
  *
@@ -152,15 +166,12 @@ var CaseBusinessArea;
152
166
  * - `TLOS_APP` - TLOS App
153
167
  * - `TLOS_PORTAL` - TLOS Portal
154
168
  * - `INSTAGRAM_DM` - Instagram DM
155
- * - `FACEBOOK_COMMENT` - Facebook Comment
156
- * - `INSTAGRAM_COMMENT` - Instagram Comment
157
169
  * - `SMS`
158
170
  * - `TRUSTPILOT_SERVICE_REVIEW` - Trustpilot review
159
171
  * - `WEB_CHAT` - Web chat
160
172
  * - `WHATSAPP` - Whatsapp
161
173
  * - `WEB_FORM_BUSINESS` - Web form - Business
162
174
  * - `CUSTOMER_PORTAL` - Customer Portal
163
- * - ... and 1 more
164
175
  */
165
176
  var CaseChannel;
166
177
  (function (CaseChannel) {
@@ -171,15 +182,12 @@ var CaseChannel;
171
182
  CaseChannel["TLOS_APP"] = "TLOS_APP";
172
183
  CaseChannel["TLOS_PORTAL"] = "TLOS_PORTAL";
173
184
  CaseChannel["INSTAGRAM_DM"] = "INSTAGRAM_DM";
174
- CaseChannel["FACEBOOK_COMMENT"] = "FACEBOOK_COMMENT";
175
- CaseChannel["INSTAGRAM_COMMENT"] = "INSTAGRAM_COMMENT";
176
185
  CaseChannel["SMS"] = "SMS";
177
186
  CaseChannel["TRUSTPILOT_REVIEW"] = "TRUSTPILOT_SERVICE_REVIEW";
178
187
  CaseChannel["WEB_CHAT"] = "WEB_CHAT";
179
188
  CaseChannel["WHATSAPP"] = "WHATSAPP";
180
189
  CaseChannel["WEB_FORM_BUSINESS"] = "WEB_FORM_BUSINESS";
181
190
  CaseChannel["CUSTOMER_PORTAL"] = "CUSTOMER_PORTAL";
182
- CaseChannel["FACEBOOK_PAGE_POST"] = "FACEBOOK_PAGE_POST";
183
191
  })(CaseChannel = exports.CaseChannel || (exports.CaseChannel = {}));
184
192
  /**
185
193
  * Valid values for Case.Category
@@ -466,7 +474,7 @@ var CaseDpaCustomerType;
466
474
  */
467
475
  var CasePropertyKeys;
468
476
  (function (CasePropertyKeys) {
469
- /** Formal Complaint - Boolean */
477
+ /** Formal Complaint */
470
478
  CasePropertyKeys["FormalComplaint"] = "FormalComplaint";
471
479
  /** R_QueueTitle (Customer Service - Case) */
472
480
  CasePropertyKeys["RQueueTitle"] = "R_QueueTitle";
@@ -44,9 +44,7 @@ export declare enum ConversationStatus {
44
44
  *
45
45
  * @remarks Available options:
46
46
  * - `TRUSTPILOT_SERVICE_REVIEW` - Trustpilot Service Review
47
- * - `FACEBOOK_PAGE_POST` - Facebook Page Posts
48
47
  * - `SMS`
49
- * - `INSTAGRAM` - Instagram
50
48
  * - `INSTAGRAM_DM` - Instagram DM
51
49
  * - `FACEBOOK_MESSENGER` - Facebook Messenger
52
50
  * - `IN_APP_CHAT` - In-App Chat
@@ -55,9 +53,7 @@ export declare enum ConversationStatus {
55
53
  */
56
54
  export declare enum ConversationChannel {
57
55
  TRUSTPILOT_SERVICE_REVIEW = "TRUSTPILOT_SERVICE_REVIEW",
58
- FACEBOOK_PAGE_POSTS = "FACEBOOK_PAGE_POST",
59
56
  SMS = "SMS",
60
- INSTAGRAM = "INSTAGRAM",
61
57
  INSTAGRAM_DM = "INSTAGRAM_DM",
62
58
  FACEBOOK_MESSENGER = "FACEBOOK_MESSENGER",
63
59
  IN_APP_CHAT = "IN_APP_CHAT",
@@ -47,9 +47,7 @@ var ConversationStatus;
47
47
  *
48
48
  * @remarks Available options:
49
49
  * - `TRUSTPILOT_SERVICE_REVIEW` - Trustpilot Service Review
50
- * - `FACEBOOK_PAGE_POST` - Facebook Page Posts
51
50
  * - `SMS`
52
- * - `INSTAGRAM` - Instagram
53
51
  * - `INSTAGRAM_DM` - Instagram DM
54
52
  * - `FACEBOOK_MESSENGER` - Facebook Messenger
55
53
  * - `IN_APP_CHAT` - In-App Chat
@@ -59,9 +57,7 @@ var ConversationStatus;
59
57
  var ConversationChannel;
60
58
  (function (ConversationChannel) {
61
59
  ConversationChannel["TRUSTPILOT_SERVICE_REVIEW"] = "TRUSTPILOT_SERVICE_REVIEW";
62
- ConversationChannel["FACEBOOK_PAGE_POSTS"] = "FACEBOOK_PAGE_POST";
63
60
  ConversationChannel["SMS"] = "SMS";
64
- ConversationChannel["INSTAGRAM"] = "INSTAGRAM";
65
61
  ConversationChannel["INSTAGRAM_DM"] = "INSTAGRAM_DM";
66
62
  ConversationChannel["FACEBOOK_MESSENGER"] = "FACEBOOK_MESSENGER";
67
63
  ConversationChannel["IN_APP_CHAT"] = "IN_APP_CHAT";
@@ -32,6 +32,19 @@ import { ContractBuyOutProperties } from './ContractBuyOut';
32
32
  import { NoteProperties } from './Note';
33
33
  import { AccountProperties } from './Account';
34
34
  import { ActivityLogProperties } from './ActivityLog';
35
+ /**
36
+ * Valid values for OUTAGE Case.FormalComplaint
37
+ *
38
+ * Formal Complaint
39
+ *
40
+ * @remarks Available options:
41
+ * - `YES` - Yes
42
+ * - `NO` - No
43
+ */
44
+ export declare enum OutageCaseFormalComplaint {
45
+ YES = "YES",
46
+ NO = "NO"
47
+ }
35
48
  /**
36
49
  * Valid values for OUTAGE Case.Deprecated
37
50
  *
@@ -154,15 +167,12 @@ export declare enum OutageCaseBusinessArea {
154
167
  * - `TLOS_APP` - TLOS App
155
168
  * - `TLOS_PORTAL` - TLOS Portal
156
169
  * - `INSTAGRAM_DM` - Instagram DM
157
- * - `FACEBOOK_COMMENT` - Facebook Comment
158
- * - `INSTAGRAM_COMMENT` - Instagram Comment
159
170
  * - `SMS`
160
171
  * - `TRUSTPILOT_SERVICE_REVIEW` - Trustpilot review
161
172
  * - `WEB_CHAT` - Web chat
162
173
  * - `WHATSAPP` - Whatsapp
163
174
  * - `WEB_FORM_BUSINESS` - Web form - Business
164
175
  * - `CUSTOMER_PORTAL` - Customer Portal
165
- * - ... and 1 more
166
176
  */
167
177
  export declare enum OutageCaseChannel {
168
178
  CALL = "CALL",
@@ -172,15 +182,12 @@ export declare enum OutageCaseChannel {
172
182
  TLOS_APP = "TLOS_APP",
173
183
  TLOS_PORTAL = "TLOS_PORTAL",
174
184
  INSTAGRAM_DM = "INSTAGRAM_DM",
175
- FACEBOOK_COMMENT = "FACEBOOK_COMMENT",
176
- INSTAGRAM_COMMENT = "INSTAGRAM_COMMENT",
177
185
  SMS = "SMS",
178
186
  TRUSTPILOT_REVIEW = "TRUSTPILOT_SERVICE_REVIEW",
179
187
  WEB_CHAT = "WEB_CHAT",
180
188
  WHATSAPP = "WHATSAPP",
181
189
  WEB_FORM_BUSINESS = "WEB_FORM_BUSINESS",
182
- CUSTOMER_PORTAL = "CUSTOMER_PORTAL",
183
- FACEBOOK_PAGE_POST = "FACEBOOK_PAGE_POST"
190
+ CUSTOMER_PORTAL = "CUSTOMER_PORTAL"
184
191
  }
185
192
  /**
186
193
  * Valid values for OUTAGE Case.Category
@@ -488,7 +495,7 @@ export declare enum OutageCaseStageKeys {
488
495
  * Property keys for OUTAGE Case
489
496
  */
490
497
  export declare enum OutageCasePropertyKeys {
491
- /** Formal Complaint - Boolean */
498
+ /** Formal Complaint */
492
499
  FormalComplaint = "FormalComplaint",
493
500
  /** R_QueueTitle (Customer Service - Case) */
494
501
  RQueueTitle = "R_QueueTitle",
@@ -627,12 +634,13 @@ export declare enum OutageCasePropertyKeys {
627
634
  * @see SupportModule:Case
628
635
  */
629
636
  export interface OutageCaseProperties {
630
- /** Formal Complaint - Boolean
637
+ /** Formal Complaint
631
638
  *
632
- * @type {BOOLEAN}
633
- * @default FALSE
639
+ * @type {ENUM}
640
+ * @default
641
+ * @enum {OutageCaseFormalComplaint}
634
642
  */
635
- FormalComplaint?: boolean;
643
+ FormalComplaint?: OutageCaseFormalComplaint;
636
644
  /** R_QueueTitle (Customer Service - Case)
637
645
  *
638
646
  * @type {TEXT}
@@ -13,9 +13,23 @@
13
13
  * AUTO-GENERATED - DO NOT EDIT DIRECTLY
14
14
  */
15
15
  Object.defineProperty(exports, "__esModule", { value: true });
16
- exports.ROUTING_KEY_LINK_CASE_CONTRACT_BUY_OUT_CREATED = exports.ROUTING_KEY_LINK_CASE_CONVERSATION_DELETED = exports.ROUTING_KEY_LINK_CASE_CONVERSATION_CREATED = exports.ROUTING_KEY_LINK_CASE_EMAIL_DELETED = exports.ROUTING_KEY_LINK_CASE_EMAIL_CREATED = exports.ROUTING_KEY_LINK_CASE_CONTACT_DELETED = exports.ROUTING_KEY_LINK_CASE_CONTACT_CREATED = exports.ROUTING_KEY_LINK_CASE_QUEUE_CHANGE_DELETED = exports.ROUTING_KEY_LINK_CASE_QUEUE_CHANGE_CREATED = exports.ROUTING_KEY_LINK_CASE_SMS_MESSAGE_DELETED = exports.ROUTING_KEY_LINK_CASE_SMS_MESSAGE_CREATED = exports.ROUTING_KEY_LINK_CASE_ADDRESS_DELETED = exports.ROUTING_KEY_LINK_CASE_ADDRESS_CREATED = exports.ROUTING_KEY_LINK_CASE_WORK_ORDER_DELETED = exports.ROUTING_KEY_LINK_CASE_WORK_ORDER_CREATED = exports.ROUTING_KEY_LINK_CASE_ORDER_DELETED = exports.ROUTING_KEY_LINK_CASE_ORDER_CREATED = exports.ROUTING_KEY_LINK_CASE_CASE_ACTION_DELETED = exports.ROUTING_KEY_LINK_CASE_CASE_ACTION_CREATED = exports.ROUTING_KEY_LINK_CASE_FILE_DELETED = exports.ROUTING_KEY_LINK_CASE_FILE_CREATED = exports.ROUTING_KEY_LINK_CASE_CASE_DELETED = exports.ROUTING_KEY_LINK_CASE_CASE_CREATED = exports.ROUTING_KEY_LINK_CASE_OWNER_DELETED = exports.ROUTING_KEY_LINK_CASE_OWNER_CREATED = exports.ROUTING_KEY_LINK_CASE_TEAM_DELETED = exports.ROUTING_KEY_LINK_CASE_TEAM_CREATED = exports.ROUTING_KEY_CASE_DELETED = exports.ROUTING_KEY_CASE_UPDATED = exports.ROUTING_KEY_CASE_CREATED = exports.OutageCase = exports.OutageCasePropertyKeys = exports.OutageCaseStageKeys = exports.OutageCaseStageNames = exports.OutageCaseDpaCustomerType = exports.OutageCaseSubCategory = exports.OutageCaseSource = exports.OutageCaseReasonForReview = exports.OutageCaseDpaCustomerCategory = exports.OutageCaseConversationStatus = exports.OutageCaseImpact = exports.OutageCaseCsatReason = exports.OutageCaseBlockedReason = exports.OutageCaseCategory = exports.OutageCaseChannel = exports.OutageCaseBusinessArea = exports.OutageCaseProblem = exports.OutageCaseSla = exports.OutageCaseOrigin = exports.OutageCaseDeprecated = void 0;
17
- exports.ROUTING_KEY_LINK_CASE_ACTIVITY_LOG_DELETED = exports.ROUTING_KEY_LINK_CASE_ACTIVITY_LOG_CREATED = exports.ROUTING_KEY_LINK_CASE_NOTE_DELETED = exports.ROUTING_KEY_LINK_CASE_NOTE_CREATED = exports.ROUTING_KEY_LINK_CASE_CONTRACT_BUY_OUT_DELETED = void 0;
16
+ exports.ROUTING_KEY_LINK_CASE_CONVERSATION_DELETED = exports.ROUTING_KEY_LINK_CASE_CONVERSATION_CREATED = exports.ROUTING_KEY_LINK_CASE_EMAIL_DELETED = exports.ROUTING_KEY_LINK_CASE_EMAIL_CREATED = exports.ROUTING_KEY_LINK_CASE_CONTACT_DELETED = exports.ROUTING_KEY_LINK_CASE_CONTACT_CREATED = exports.ROUTING_KEY_LINK_CASE_QUEUE_CHANGE_DELETED = exports.ROUTING_KEY_LINK_CASE_QUEUE_CHANGE_CREATED = exports.ROUTING_KEY_LINK_CASE_SMS_MESSAGE_DELETED = exports.ROUTING_KEY_LINK_CASE_SMS_MESSAGE_CREATED = exports.ROUTING_KEY_LINK_CASE_ADDRESS_DELETED = exports.ROUTING_KEY_LINK_CASE_ADDRESS_CREATED = exports.ROUTING_KEY_LINK_CASE_WORK_ORDER_DELETED = exports.ROUTING_KEY_LINK_CASE_WORK_ORDER_CREATED = exports.ROUTING_KEY_LINK_CASE_ORDER_DELETED = exports.ROUTING_KEY_LINK_CASE_ORDER_CREATED = exports.ROUTING_KEY_LINK_CASE_CASE_ACTION_DELETED = exports.ROUTING_KEY_LINK_CASE_CASE_ACTION_CREATED = exports.ROUTING_KEY_LINK_CASE_FILE_DELETED = exports.ROUTING_KEY_LINK_CASE_FILE_CREATED = exports.ROUTING_KEY_LINK_CASE_CASE_DELETED = exports.ROUTING_KEY_LINK_CASE_CASE_CREATED = exports.ROUTING_KEY_LINK_CASE_OWNER_DELETED = exports.ROUTING_KEY_LINK_CASE_OWNER_CREATED = exports.ROUTING_KEY_LINK_CASE_TEAM_DELETED = exports.ROUTING_KEY_LINK_CASE_TEAM_CREATED = exports.ROUTING_KEY_CASE_DELETED = exports.ROUTING_KEY_CASE_UPDATED = exports.ROUTING_KEY_CASE_CREATED = exports.OutageCase = exports.OutageCasePropertyKeys = exports.OutageCaseStageKeys = exports.OutageCaseStageNames = exports.OutageCaseDpaCustomerType = exports.OutageCaseSubCategory = exports.OutageCaseSource = exports.OutageCaseReasonForReview = exports.OutageCaseDpaCustomerCategory = exports.OutageCaseConversationStatus = exports.OutageCaseImpact = exports.OutageCaseCsatReason = exports.OutageCaseBlockedReason = exports.OutageCaseCategory = exports.OutageCaseChannel = exports.OutageCaseBusinessArea = exports.OutageCaseProblem = exports.OutageCaseSla = exports.OutageCaseOrigin = exports.OutageCaseDeprecated = exports.OutageCaseFormalComplaint = void 0;
17
+ exports.ROUTING_KEY_LINK_CASE_ACTIVITY_LOG_DELETED = exports.ROUTING_KEY_LINK_CASE_ACTIVITY_LOG_CREATED = exports.ROUTING_KEY_LINK_CASE_NOTE_DELETED = exports.ROUTING_KEY_LINK_CASE_NOTE_CREATED = exports.ROUTING_KEY_LINK_CASE_CONTRACT_BUY_OUT_DELETED = exports.ROUTING_KEY_LINK_CASE_CONTRACT_BUY_OUT_CREATED = void 0;
18
18
  const core_1 = require("@d19n/odin-types/dist/core");
19
+ /**
20
+ * Valid values for OUTAGE Case.FormalComplaint
21
+ *
22
+ * Formal Complaint
23
+ *
24
+ * @remarks Available options:
25
+ * - `YES` - Yes
26
+ * - `NO` - No
27
+ */
28
+ var OutageCaseFormalComplaint;
29
+ (function (OutageCaseFormalComplaint) {
30
+ OutageCaseFormalComplaint["YES"] = "YES";
31
+ OutageCaseFormalComplaint["NO"] = "NO";
32
+ })(OutageCaseFormalComplaint = exports.OutageCaseFormalComplaint || (exports.OutageCaseFormalComplaint = {}));
19
33
  /**
20
34
  * Valid values for OUTAGE Case.Deprecated
21
35
  *
@@ -143,15 +157,12 @@ var OutageCaseBusinessArea;
143
157
  * - `TLOS_APP` - TLOS App
144
158
  * - `TLOS_PORTAL` - TLOS Portal
145
159
  * - `INSTAGRAM_DM` - Instagram DM
146
- * - `FACEBOOK_COMMENT` - Facebook Comment
147
- * - `INSTAGRAM_COMMENT` - Instagram Comment
148
160
  * - `SMS`
149
161
  * - `TRUSTPILOT_SERVICE_REVIEW` - Trustpilot review
150
162
  * - `WEB_CHAT` - Web chat
151
163
  * - `WHATSAPP` - Whatsapp
152
164
  * - `WEB_FORM_BUSINESS` - Web form - Business
153
165
  * - `CUSTOMER_PORTAL` - Customer Portal
154
- * - ... and 1 more
155
166
  */
156
167
  var OutageCaseChannel;
157
168
  (function (OutageCaseChannel) {
@@ -162,15 +173,12 @@ var OutageCaseChannel;
162
173
  OutageCaseChannel["TLOS_APP"] = "TLOS_APP";
163
174
  OutageCaseChannel["TLOS_PORTAL"] = "TLOS_PORTAL";
164
175
  OutageCaseChannel["INSTAGRAM_DM"] = "INSTAGRAM_DM";
165
- OutageCaseChannel["FACEBOOK_COMMENT"] = "FACEBOOK_COMMENT";
166
- OutageCaseChannel["INSTAGRAM_COMMENT"] = "INSTAGRAM_COMMENT";
167
176
  OutageCaseChannel["SMS"] = "SMS";
168
177
  OutageCaseChannel["TRUSTPILOT_REVIEW"] = "TRUSTPILOT_SERVICE_REVIEW";
169
178
  OutageCaseChannel["WEB_CHAT"] = "WEB_CHAT";
170
179
  OutageCaseChannel["WHATSAPP"] = "WHATSAPP";
171
180
  OutageCaseChannel["WEB_FORM_BUSINESS"] = "WEB_FORM_BUSINESS";
172
181
  OutageCaseChannel["CUSTOMER_PORTAL"] = "CUSTOMER_PORTAL";
173
- OutageCaseChannel["FACEBOOK_PAGE_POST"] = "FACEBOOK_PAGE_POST";
174
182
  })(OutageCaseChannel = exports.OutageCaseChannel || (exports.OutageCaseChannel = {}));
175
183
  /**
176
184
  * Valid values for OUTAGE Case.Category
@@ -491,7 +499,7 @@ var OutageCaseStageKeys;
491
499
  */
492
500
  var OutageCasePropertyKeys;
493
501
  (function (OutageCasePropertyKeys) {
494
- /** Formal Complaint - Boolean */
502
+ /** Formal Complaint */
495
503
  OutageCasePropertyKeys["FormalComplaint"] = "FormalComplaint";
496
504
  /** R_QueueTitle (Customer Service - Case) */
497
505
  OutageCasePropertyKeys["RQueueTitle"] = "R_QueueTitle";