@d19n/youfibre-odin-sdk 2.0.323 → 2.0.325

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
@@ -375,7 +375,7 @@ This SDK includes **187** entities across **12** modules.
375
375
 
376
376
  ## Actions
377
377
 
378
- This SDK includes **882** actions.
378
+ This SDK includes **884** actions.
379
379
 
380
380
  ### Action Types
381
381
 
@@ -1204,6 +1204,14 @@ This SDK includes **882** actions.
1204
1204
 
1205
1205
  **VoidPayment Target Stages:** `PaymentStageVoided`
1206
1206
 
1207
+ #### PaymentMethod
1208
+
1209
+ | Action | Type | Event |
1210
+ |--------|------|-------|
1211
+ | `CancelPaymentMethod` | UPDATE | k1.t-hEOJjsDb.BillingModule.PaymentMethod.Update.CancelPaymentMethod |
1212
+ | `CreatePaymentMethod` | CREATE | k1.t-hEOJjsDb.BillingModule.PaymentMethod.Create.CreatePaymentMethod |
1213
+ | `UpdatePaymentMethod` | UPDATE | k1.t-hEOJjsDb.BillingModule.PaymentMethod.Update.UpdatePaymentMethod |
1214
+
1207
1215
  #### Transaction
1208
1216
 
1209
1217
  | Action | Type | Event |
@@ -1411,6 +1419,7 @@ This SDK includes **882** actions.
1411
1419
  | `CreateOrderReferralReferrerPendingEmail` | CREATE | k1.t-hEOJjsDb.NotificationModule.Email.Create.CreateOrderReferralReferrerPendingEmail |
1412
1420
  | `CreateOrderReferralReferrerQualifiedEmail` | CREATE | k1.t-hEOJjsDb.NotificationModule.Email.Create.CreateOrderReferralReferrerQualifiedEmail |
1413
1421
  | `CreateOtsGainingCancellationIssue` | CREATE | k1.t-hEOJjsDb.NotificationModule.Email.Create.CreateOtsGainingCancellationIssue |
1422
+ | `CreateOtsGainingSwitchCancelled` | CREATE | k1.t-hEOJjsDb.NotificationModule.Email.Create.CreateOtsGainingSwitchCancelled |
1414
1423
  | `CreateOtsGainingSwitchComplete` | CREATE | k1.t-hEOJjsDb.NotificationModule.Email.Create.CreateOtsGainingSwitchComplete |
1415
1424
  | `CreateOtsLosingSwitchConfirmation` | CREATE | k1.t-hEOJjsDb.NotificationModule.Email.Create.CreateOtsLosingSwitchConfirmation |
1416
1425
  | `CreateOtsLosingSwitchImpact` | CREATE | k1.t-hEOJjsDb.NotificationModule.Email.Create.CreateOtsLosingSwitchImpact |
@@ -1821,13 +1830,6 @@ This SDK includes **882** actions.
1821
1830
  | `RecordSmsSurveyRating` | UPDATE | k1.t-hEOJjsDb.NotificationModule.SmsMessage.Update.RecordSmsSurveyRating |
1822
1831
  | `UpdateSmsDeliveryStatus` | UPDATE | k1.t-hEOJjsDb.NotificationModule.SmsMessage.Update.UpdateSmsDeliveryStatus |
1823
1832
 
1824
- #### PaymentMethod
1825
-
1826
- | Action | Type | Event |
1827
- |--------|------|-------|
1828
- | `CreatePaymentMethod` | CREATE | k1.t-hEOJjsDb.BillingModule.PaymentMethod.Create.CreatePaymentMethod |
1829
- | `UpdatePaymentMethod` | UPDATE | k1.t-hEOJjsDb.BillingModule.PaymentMethod.Update.UpdatePaymentMethod |
1830
-
1831
1833
  #### PgContact
1832
1834
 
1833
1835
  | Action | Type | Event |
@@ -1878,7 +1880,7 @@ This SDK includes **882** actions.
1878
1880
  | `MovePgPaymentMethodToActive` | STAGE_TRANSITION | k1.t-hEOJjsDb.BillingModule.PgPaymentMethod.Transition.MovePgPaymentMethodToActive |
1879
1881
  | `MovePgPaymentMethodToAllocated` | STAGE_TRANSITION | k1.t-hEOJjsDb.BillingModule.PgPaymentMethod.Transition.MovePgPaymentMethodToAllocated |
1880
1882
  | `MovePgPaymentMethodToCancellationPending` | STAGE_TRANSITION | k1.t-hEOJjsDb.BillingModule.PgPaymentMethod.Transition.MovePgPaymentMethodToCancellationPending |
1881
- | `MovePgPaymentMethodToCancellationRequested` | UPDATE | k1.t-hEOJjsDb.BillingModule.PgPaymentMethod.Update.MovePgPaymentMethodToCancellationRequested |
1883
+ | `MovePgPaymentMethodToCancellationRequested` | STAGE_TRANSITION | k1.t-hEOJjsDb.BillingModule.PgPaymentMethod.Transition.MovePgPaymentMethodToCancellationRequested |
1882
1884
  | `MovePgPaymentMethodToCancelled` | STAGE_TRANSITION | k1.t-hEOJjsDb.BillingModule.PgPaymentMethod.Transition.MovePgPaymentMethodToCancelled |
1883
1885
  | `MovePgPaymentMethodToCreated` | STAGE_TRANSITION | k1.t-hEOJjsDb.BillingModule.PgPaymentMethod.Transition.MovePgPaymentMethodToCreated |
1884
1886
  | `MovePgPaymentMethodToFileRejected` | STAGE_TRANSITION | k1.t-hEOJjsDb.BillingModule.PgPaymentMethod.Transition.MovePgPaymentMethodToFileRejected |
@@ -1903,6 +1905,8 @@ This SDK includes **882** actions.
1903
1905
 
1904
1906
  **MovePgPaymentMethodToCancellationPending Target Stages:** `StatusStageCancellationPending`
1905
1907
 
1908
+ **MovePgPaymentMethodToCancellationRequested Target Stages:** `StatusStageCancellationRequested`
1909
+
1906
1910
  **MovePgPaymentMethodToCancelled Target Stages:** `StatusStageCancelled`
1907
1911
 
1908
1912
  **MovePgPaymentMethodToCreated Target Stages:** `StatusStageCreated`
@@ -0,0 +1,73 @@
1
+ /**
2
+ * CancelPaymentMethod Action DTO
3
+ *
4
+ * Cancel this direct debit mandate. Sets the status to Cancellation Requested; a scheduled job then asks the payment gateway to take the instruction down at the bank.
5
+ *
6
+ * @module BillingModule
7
+ * @entity PaymentMethod
8
+ * @actionKey CancelPaymentMethod
9
+ * @event k1.t-hEOJjsDb.BillingModule.PaymentMethod.Update.CancelPaymentMethod
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 CancelPaymentMethod updated events
16
+ *
17
+ * @event k1.t-hEOJjsDb.BillingModule.PaymentMethod.Update.CancelPaymentMethod
18
+ */
19
+ export interface CancelPaymentMethodMessage extends OdinRecordUpdatedEvent<CancelPaymentMethodDto, CancelPaymentMethodProperties> {
20
+ }
21
+ /**
22
+ * Properties for CancelPaymentMethod action
23
+ *
24
+ * @property Required fields: 0
25
+ * @property Optional fields: 1
26
+ */
27
+ export interface CancelPaymentMethodProperties {
28
+ /**
29
+ * Status
30
+ *
31
+ * payment method status (Finance - PaymentMethod)
32
+ * @type {ENUM}
33
+ * @default CANCELLATION_REQUESTED
34
+ */
35
+ Status?: string | null;
36
+ }
37
+ /**
38
+ * Cancel mandate
39
+ *
40
+ * Cancel this direct debit mandate. Sets the status to Cancellation Requested; a scheduled job then asks the payment gateway to take the instruction down at the bank.
41
+ *
42
+ * @actionType UPDATE - Updates an existing PaymentMethod record
43
+ * @module BillingModule
44
+ * @entity PaymentMethod
45
+ * @event k1.t-hEOJjsDb.BillingModule.PaymentMethod.Update.CancelPaymentMethod
46
+ * @permission schema.action.cancelpaymentmethod.trigger
47
+ * @benchmark This action is tracked for performance benchmarks
48
+ */
49
+ export declare class CancelPaymentMethodDto extends OdinRecordUpdateDto<CancelPaymentMethodProperties> {
50
+ /** Used by SDK generators to identify action type */
51
+ static readonly ACTION_TYPE = "UPDATE";
52
+ static readonly ACTION_KEY = "CancelPaymentMethod";
53
+ static readonly MODULE_NAME = "BillingModule";
54
+ static readonly ENTITIES: string[];
55
+ static readonly EVENT_NAME = "k1.t-hEOJjsDb.BillingModule.PaymentMethod.Update.CancelPaymentMethod";
56
+ static readonly PERMISSION = "schema.action.cancelpaymentmethod.trigger";
57
+ /** Step metadata - entity this action targets */
58
+ static readonly STEP_ENTITY = "BillingModule:PaymentMethod";
59
+ static readonly STEP_SCHEMA_ID = "29a21375-b036-43b4-b64e-c0322370c85d";
60
+ static readonly STEP_SCHEMA_ACTION_ID = "063cf205-8737-4164-86f6-caa20ddea8fd";
61
+ static readonly AUTO_LINK_PARENT = false;
62
+ readonly actionName: string;
63
+ readonly schemaActionId: string;
64
+ readonly entity: string;
65
+ constructor(record: OdinRecord<any> | {
66
+ id: string;
67
+ entity: string;
68
+ type?: string;
69
+ }, properties: CancelPaymentMethodProperties, options?: {
70
+ journeyId?: string;
71
+ stageKey?: string;
72
+ });
73
+ }
@@ -0,0 +1,56 @@
1
+ "use strict";
2
+ /**
3
+ * CancelPaymentMethod Action DTO
4
+ *
5
+ * Cancel this direct debit mandate. Sets the status to Cancellation Requested; a scheduled job then asks the payment gateway to take the instruction down at the bank.
6
+ *
7
+ * @module BillingModule
8
+ * @entity PaymentMethod
9
+ * @actionKey CancelPaymentMethod
10
+ * @event k1.t-hEOJjsDb.BillingModule.PaymentMethod.Update.CancelPaymentMethod
11
+ *
12
+ * AUTO-GENERATED - DO NOT EDIT DIRECTLY
13
+ */
14
+ Object.defineProperty(exports, "__esModule", { value: true });
15
+ exports.CancelPaymentMethodDto = void 0;
16
+ const core_1 = require("@d19n/odin-types/dist/core");
17
+ /**
18
+ * Cancel mandate
19
+ *
20
+ * Cancel this direct debit mandate. Sets the status to Cancellation Requested; a scheduled job then asks the payment gateway to take the instruction down at the bank.
21
+ *
22
+ * @actionType UPDATE - Updates an existing PaymentMethod record
23
+ * @module BillingModule
24
+ * @entity PaymentMethod
25
+ * @event k1.t-hEOJjsDb.BillingModule.PaymentMethod.Update.CancelPaymentMethod
26
+ * @permission schema.action.cancelpaymentmethod.trigger
27
+ * @benchmark This action is tracked for performance benchmarks
28
+ */
29
+ class CancelPaymentMethodDto 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 = 'CancelPaymentMethod';
40
+ this.schemaActionId = '063cf205-8737-4164-86f6-caa20ddea8fd';
41
+ this.entity = 'BillingModule:PaymentMethod';
42
+ }
43
+ }
44
+ exports.CancelPaymentMethodDto = CancelPaymentMethodDto;
45
+ /** Used by SDK generators to identify action type */
46
+ CancelPaymentMethodDto.ACTION_TYPE = 'UPDATE';
47
+ CancelPaymentMethodDto.ACTION_KEY = 'CancelPaymentMethod';
48
+ CancelPaymentMethodDto.MODULE_NAME = 'BillingModule';
49
+ CancelPaymentMethodDto.ENTITIES = ['PaymentMethod'];
50
+ CancelPaymentMethodDto.EVENT_NAME = 'k1.t-hEOJjsDb.BillingModule.PaymentMethod.Update.CancelPaymentMethod';
51
+ CancelPaymentMethodDto.PERMISSION = 'schema.action.cancelpaymentmethod.trigger';
52
+ /** Step metadata - entity this action targets */
53
+ CancelPaymentMethodDto.STEP_ENTITY = 'BillingModule:PaymentMethod';
54
+ CancelPaymentMethodDto.STEP_SCHEMA_ID = '29a21375-b036-43b4-b64e-c0322370c85d';
55
+ CancelPaymentMethodDto.STEP_SCHEMA_ACTION_ID = '063cf205-8737-4164-86f6-caa20ddea8fd';
56
+ CancelPaymentMethodDto.AUTO_LINK_PARENT = false;
@@ -0,0 +1,135 @@
1
+ /**
2
+ * CreateOtsGainingSwitchCancelled Action DTO
3
+ *
4
+ * OTS gaining — switch cancellation confirmation to the customer
5
+ *
6
+ * @module NotificationModule
7
+ * @entity Email
8
+ * @entityType TRANSACTIONAL
9
+ * @actionKey CreateOtsGainingSwitchCancelled
10
+ * @event k1.t-hEOJjsDb.NotificationModule.Email.Create.CreateOtsGainingSwitchCancelled
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 CreateOtsGainingSwitchCancelled created events
17
+ *
18
+ * @event k1.t-hEOJjsDb.NotificationModule.Email.Create.CreateOtsGainingSwitchCancelled
19
+ */
20
+ export interface CreateOtsGainingSwitchCancelledMessage extends OdinRecordCreatedEvent<CreateOtsGainingSwitchCancelledDto, CreateOtsGainingSwitchCancelledProperties> {
21
+ }
22
+ /**
23
+ * Properties for CreateOtsGainingSwitchCancelled action
24
+ *
25
+ * @property Required fields: 0
26
+ * @property Optional fields: 10
27
+ */
28
+ export interface CreateOtsGainingSwitchCancelledProperties {
29
+ /**
30
+ * Date
31
+ *
32
+ * Date field for Email records. Used by Communications team.
33
+ * @type {DATE_TIME}
34
+ */
35
+ Date?: string | null;
36
+ /**
37
+ * EmailingService
38
+ *
39
+ * The provider we use to send email (eg. Sendgrid)
40
+ * @type {ENUM}
41
+ */
42
+ EmailingService?: string | null;
43
+ /**
44
+ * ContactId
45
+ *
46
+ * The related Contact to send the email
47
+ * @type {LOOKUP}
48
+ */
49
+ ContactId?: string | null;
50
+ /**
51
+ * TemplateLabel
52
+ *
53
+ * The template label from email templates engine
54
+ * @type {TEXT}
55
+ */
56
+ TemplateLabel?: string | null;
57
+ /**
58
+ * MessageId
59
+ *
60
+ * SMTP Message Id (Communications - Email)
61
+ * @type {TEXT}
62
+ */
63
+ MessageId?: string | null;
64
+ /**
65
+ * EmailSenderId
66
+ *
67
+ * The Email Sender related entity
68
+ * @type {LOOKUP}
69
+ */
70
+ EmailSenderId?: string | null;
71
+ /**
72
+ * DynamicData
73
+ *
74
+ * Data will pass to emailing service (variables)
75
+ * @type {JSON}
76
+ */
77
+ DynamicData?: string | null;
78
+ /**
79
+ * Title
80
+ *
81
+ * Used for title
82
+ * @type {TEXT}
83
+ */
84
+ Title?: string | null;
85
+ /**
86
+ * Subject
87
+ *
88
+ * Data field for Email records. Used by Communications team.
89
+ * @type {TEXT}
90
+ */
91
+ Subject?: string | null;
92
+ /**
93
+ * To
94
+ *
95
+ * Data field for Email records. Used by Communications team.
96
+ * @type {TEXT}
97
+ */
98
+ To?: string | null;
99
+ }
100
+ /**
101
+ * CreateOtsGainingSwitchCancelled
102
+ *
103
+ * OTS gaining — switch cancellation confirmation to the customer
104
+ *
105
+ * @actionType CREATE - Creates a new Email record
106
+ * @module NotificationModule
107
+ * @entity Email
108
+ * @entityType TRANSACTIONAL (TRANSACTIONAL)
109
+ * @event k1.t-hEOJjsDb.NotificationModule.Email.Create.CreateOtsGainingSwitchCancelled
110
+ * @permission schema.action.createotsgainingswitchcancelled.trigger
111
+ * @benchmark This action is tracked for performance benchmarks
112
+ */
113
+ export declare class CreateOtsGainingSwitchCancelledDto extends OdinRecordCreateDto<CreateOtsGainingSwitchCancelledProperties> {
114
+ /** Used by SDK generators to identify action type */
115
+ static readonly ACTION_TYPE = "CREATE";
116
+ static readonly ACTION_KEY = "CreateOtsGainingSwitchCancelled";
117
+ static readonly MODULE_NAME = "NotificationModule";
118
+ static readonly ENTITIES: string[];
119
+ static readonly ENTITY_TYPE = "TRANSACTIONAL";
120
+ static readonly EVENT_NAME = "k1.t-hEOJjsDb.NotificationModule.Email.Create.CreateOtsGainingSwitchCancelled";
121
+ static readonly PERMISSION = "schema.action.createotsgainingswitchcancelled.trigger";
122
+ /** Step metadata - entity this action targets */
123
+ static readonly STEP_ENTITY = "NotificationModule:Email";
124
+ static readonly STEP_SCHEMA_ID = "cb37958c-d72f-44aa-975a-a8fae42b1b72";
125
+ static readonly STEP_SCHEMA_ACTION_ID = "cc7563a1-c2c5-4702-9d1c-40197ba15ee7";
126
+ static readonly STEP_SCHEMA_TYPE_ID = "14042940-a388-44c7-87fe-3a4105d92e94";
127
+ static readonly STEP_TYPE = "TRANSACTIONAL";
128
+ static readonly AUTO_LINK_PARENT = true;
129
+ readonly actionName: string;
130
+ readonly schemaActionId: string;
131
+ readonly entity: string;
132
+ constructor(properties: CreateOtsGainingSwitchCancelledProperties, options?: {
133
+ journeyId?: string;
134
+ });
135
+ }
@@ -0,0 +1,59 @@
1
+ "use strict";
2
+ /**
3
+ * CreateOtsGainingSwitchCancelled Action DTO
4
+ *
5
+ * OTS gaining — switch cancellation confirmation to the customer
6
+ *
7
+ * @module NotificationModule
8
+ * @entity Email
9
+ * @entityType TRANSACTIONAL
10
+ * @actionKey CreateOtsGainingSwitchCancelled
11
+ * @event k1.t-hEOJjsDb.NotificationModule.Email.Create.CreateOtsGainingSwitchCancelled
12
+ *
13
+ * AUTO-GENERATED - DO NOT EDIT DIRECTLY
14
+ */
15
+ Object.defineProperty(exports, "__esModule", { value: true });
16
+ exports.CreateOtsGainingSwitchCancelledDto = void 0;
17
+ const core_1 = require("@d19n/odin-types/dist/core");
18
+ /**
19
+ * CreateOtsGainingSwitchCancelled
20
+ *
21
+ * OTS gaining — switch cancellation confirmation to the customer
22
+ *
23
+ * @actionType CREATE - Creates a new Email record
24
+ * @module NotificationModule
25
+ * @entity Email
26
+ * @entityType TRANSACTIONAL (TRANSACTIONAL)
27
+ * @event k1.t-hEOJjsDb.NotificationModule.Email.Create.CreateOtsGainingSwitchCancelled
28
+ * @permission schema.action.createotsgainingswitchcancelled.trigger
29
+ * @benchmark This action is tracked for performance benchmarks
30
+ */
31
+ class CreateOtsGainingSwitchCancelledDto extends core_1.OdinRecordCreateDto {
32
+ constructor(properties, options) {
33
+ super({
34
+ entity: 'NotificationModule:Email',
35
+ type: 'TRANSACTIONAL',
36
+ properties,
37
+ journeyId: options === null || options === void 0 ? void 0 : options.journeyId,
38
+ });
39
+ this.actionName = 'CreateOtsGainingSwitchCancelled';
40
+ this.schemaActionId = 'cc7563a1-c2c5-4702-9d1c-40197ba15ee7';
41
+ this.entity = 'NotificationModule:Email';
42
+ }
43
+ }
44
+ exports.CreateOtsGainingSwitchCancelledDto = CreateOtsGainingSwitchCancelledDto;
45
+ /** Used by SDK generators to identify action type */
46
+ CreateOtsGainingSwitchCancelledDto.ACTION_TYPE = 'CREATE';
47
+ CreateOtsGainingSwitchCancelledDto.ACTION_KEY = 'CreateOtsGainingSwitchCancelled';
48
+ CreateOtsGainingSwitchCancelledDto.MODULE_NAME = 'NotificationModule';
49
+ CreateOtsGainingSwitchCancelledDto.ENTITIES = ['Email'];
50
+ CreateOtsGainingSwitchCancelledDto.ENTITY_TYPE = 'TRANSACTIONAL';
51
+ CreateOtsGainingSwitchCancelledDto.EVENT_NAME = 'k1.t-hEOJjsDb.NotificationModule.Email.Create.CreateOtsGainingSwitchCancelled';
52
+ CreateOtsGainingSwitchCancelledDto.PERMISSION = 'schema.action.createotsgainingswitchcancelled.trigger';
53
+ /** Step metadata - entity this action targets */
54
+ CreateOtsGainingSwitchCancelledDto.STEP_ENTITY = 'NotificationModule:Email';
55
+ CreateOtsGainingSwitchCancelledDto.STEP_SCHEMA_ID = 'cb37958c-d72f-44aa-975a-a8fae42b1b72';
56
+ CreateOtsGainingSwitchCancelledDto.STEP_SCHEMA_ACTION_ID = 'cc7563a1-c2c5-4702-9d1c-40197ba15ee7';
57
+ CreateOtsGainingSwitchCancelledDto.STEP_SCHEMA_TYPE_ID = '14042940-a388-44c7-87fe-3a4105d92e94';
58
+ CreateOtsGainingSwitchCancelledDto.STEP_TYPE = 'TRANSACTIONAL';
59
+ CreateOtsGainingSwitchCancelledDto.AUTO_LINK_PARENT = true;
@@ -7,17 +7,17 @@
7
7
  * @entity PgPaymentMethod
8
8
  * @entityType DEFAULT
9
9
  * @actionKey MovePgPaymentMethodToCancellationRequested
10
- * @event k1.t-hEOJjsDb.BillingModule.PgPaymentMethod.Update.MovePgPaymentMethodToCancellationRequested
10
+ * @event k1.t-hEOJjsDb.BillingModule.PgPaymentMethod.Transition.MovePgPaymentMethodToCancellationRequested
11
11
  *
12
12
  * AUTO-GENERATED - DO NOT EDIT DIRECTLY
13
13
  */
14
14
  import { OdinRecord, OdinRecordUpdateDto, OdinRecordUpdatedEvent } from '@d19n/odin-types/dist/core';
15
15
  /**
16
- * RabbitMQ message payload for MovePgPaymentMethodToCancellationRequested updated events
16
+ * RabbitMQ message payload for MovePgPaymentMethodToCancellationRequested step flow events
17
17
  *
18
- * @event k1.t-hEOJjsDb.BillingModule.PgPaymentMethod.Update.MovePgPaymentMethodToCancellationRequested
18
+ * @event k1.t-hEOJjsDb.BillingModule.PgPaymentMethod.Transition.MovePgPaymentMethodToCancellationRequested
19
19
  */
20
- export interface MovePgPaymentMethodToCancellationRequestedMessage extends OdinRecordUpdatedEvent<MovePgPaymentMethodToCancellationRequestedDto, MovePgPaymentMethodToCancellationRequestedProperties> {
20
+ export interface MovePgPaymentMethodToCancellationRequestedMessage extends OdinRecordUpdatedEvent<MovePgPaymentMethodToCancellationRequestedDto, {}> {
21
21
  }
22
22
  /**
23
23
  * Properties for MovePgPaymentMethodToCancellationRequested action
@@ -30,39 +30,41 @@ export interface MovePgPaymentMethodToCancellationRequestedProperties {
30
30
  *
31
31
  * Move PG Payment Method To Cancellation Requested
32
32
  *
33
- * @actionType UPDATE - Updates an existing PgPaymentMethod record
33
+ * @actionType STAGE_TRANSITION - Transitions record to new pipeline stage
34
34
  * @module BillingModule
35
35
  * @entity PgPaymentMethod
36
36
  * @entityType DEFAULT (Default)
37
- * @event k1.t-hEOJjsDb.BillingModule.PgPaymentMethod.Update.MovePgPaymentMethodToCancellationRequested
37
+ * @targetStages StatusStageCancellationRequested
38
+ * @event k1.t-hEOJjsDb.BillingModule.PgPaymentMethod.Transition.MovePgPaymentMethodToCancellationRequested
38
39
  * @permission schema.action.movepgpaymentmethodtocancellationrequested.trigger
39
40
  * @benchmark This action is tracked for performance benchmarks
40
41
  */
41
- export declare class MovePgPaymentMethodToCancellationRequestedDto extends OdinRecordUpdateDto<MovePgPaymentMethodToCancellationRequestedProperties> {
42
+ export declare class MovePgPaymentMethodToCancellationRequestedDto extends OdinRecordUpdateDto<Record<string, any>> {
42
43
  /** Used by SDK generators to identify action type */
43
44
  static readonly ACTION_TYPE = "UPDATE";
44
45
  static readonly ACTION_KEY = "MovePgPaymentMethodToCancellationRequested";
45
46
  static readonly MODULE_NAME = "BillingModule";
46
47
  static readonly ENTITIES: string[];
47
48
  static readonly ENTITY_TYPE = "DEFAULT";
48
- static readonly EVENT_NAME = "k1.t-hEOJjsDb.BillingModule.PgPaymentMethod.Update.MovePgPaymentMethodToCancellationRequested";
49
+ static readonly EVENT_NAME = "k1.t-hEOJjsDb.BillingModule.PgPaymentMethod.Transition.MovePgPaymentMethodToCancellationRequested";
50
+ static readonly SCHEMA_ACTION_ID = "f82cefc8-dacc-4b9f-bff5-c0f0e625a77d";
49
51
  static readonly PERMISSION = "schema.action.movepgpaymentmethodtocancellationrequested.trigger";
50
- /** Step metadata - entity this action targets */
51
- static readonly STEP_ENTITY = "BillingModule:PgPaymentMethod";
52
- static readonly STEP_SCHEMA_ID = "e853a183-c7a1-4cb9-a3de-7429443aea38";
53
- static readonly STEP_SCHEMA_ACTION_ID = "d197a9f3-23f7-465a-9465-b6b234437393";
54
- static readonly STEP_SCHEMA_TYPE_ID = "00eb8588-4016-45a3-adc5-f0e485801016";
55
- static readonly STEP_TYPE = "DEFAULT";
56
- static readonly AUTO_LINK_PARENT = false;
52
+ static readonly TARGET_STAGES: readonly ["StatusStageCancellationRequested"];
53
+ static readonly IS_STAGE_TRANSITION = true;
54
+ static readonly IS_MULTI_STEP_FLOW = false;
55
+ static readonly HAS_STEP_LINKS = false;
57
56
  readonly actionName: string;
58
57
  readonly schemaActionId: string;
59
58
  readonly entity: string;
59
+ readonly stageKey: string;
60
60
  constructor(record: OdinRecord<any> | {
61
61
  id: string;
62
62
  entity: string;
63
63
  type?: string;
64
- }, properties: MovePgPaymentMethodToCancellationRequestedProperties, options?: {
64
+ }, options?: {
65
65
  journeyId?: string;
66
- stageKey?: string;
67
66
  });
67
+ /** Step classes that can be used with this action */
68
+ static readonly stepClasses: readonly [];
69
+ steps: [];
68
70
  }
@@ -8,7 +8,7 @@
8
8
  * @entity PgPaymentMethod
9
9
  * @entityType DEFAULT
10
10
  * @actionKey MovePgPaymentMethodToCancellationRequested
11
- * @event k1.t-hEOJjsDb.BillingModule.PgPaymentMethod.Update.MovePgPaymentMethodToCancellationRequested
11
+ * @event k1.t-hEOJjsDb.BillingModule.PgPaymentMethod.Transition.MovePgPaymentMethodToCancellationRequested
12
12
  *
13
13
  * AUTO-GENERATED - DO NOT EDIT DIRECTLY
14
14
  */
@@ -20,27 +20,28 @@ const core_1 = require("@d19n/odin-types/dist/core");
20
20
  *
21
21
  * Move PG Payment Method To Cancellation Requested
22
22
  *
23
- * @actionType UPDATE - Updates an existing PgPaymentMethod record
23
+ * @actionType STAGE_TRANSITION - Transitions record to new pipeline stage
24
24
  * @module BillingModule
25
25
  * @entity PgPaymentMethod
26
26
  * @entityType DEFAULT (Default)
27
- * @event k1.t-hEOJjsDb.BillingModule.PgPaymentMethod.Update.MovePgPaymentMethodToCancellationRequested
27
+ * @targetStages StatusStageCancellationRequested
28
+ * @event k1.t-hEOJjsDb.BillingModule.PgPaymentMethod.Transition.MovePgPaymentMethodToCancellationRequested
28
29
  * @permission schema.action.movepgpaymentmethodtocancellationrequested.trigger
29
30
  * @benchmark This action is tracked for performance benchmarks
30
31
  */
31
32
  class MovePgPaymentMethodToCancellationRequestedDto extends core_1.OdinRecordUpdateDto {
32
- constructor(record, properties, options) {
33
+ constructor(record, options) {
33
34
  super({
34
35
  id: record.id,
35
36
  entity: record.entity,
36
37
  type: record.type,
37
- properties,
38
+ properties: {},
38
39
  journeyId: options === null || options === void 0 ? void 0 : options.journeyId,
39
- stageKey: options === null || options === void 0 ? void 0 : options.stageKey,
40
40
  });
41
41
  this.actionName = 'MovePgPaymentMethodToCancellationRequested';
42
- this.schemaActionId = 'd197a9f3-23f7-465a-9465-b6b234437393';
42
+ this.schemaActionId = 'f82cefc8-dacc-4b9f-bff5-c0f0e625a77d';
43
43
  this.entity = 'BillingModule:PgPaymentMethod';
44
+ this.stageKey = 'StatusStageCancellationRequested';
44
45
  }
45
46
  }
46
47
  exports.MovePgPaymentMethodToCancellationRequestedDto = MovePgPaymentMethodToCancellationRequestedDto;
@@ -50,12 +51,12 @@ MovePgPaymentMethodToCancellationRequestedDto.ACTION_KEY = 'MovePgPaymentMethodT
50
51
  MovePgPaymentMethodToCancellationRequestedDto.MODULE_NAME = 'BillingModule';
51
52
  MovePgPaymentMethodToCancellationRequestedDto.ENTITIES = ['PgPaymentMethod'];
52
53
  MovePgPaymentMethodToCancellationRequestedDto.ENTITY_TYPE = 'DEFAULT';
53
- MovePgPaymentMethodToCancellationRequestedDto.EVENT_NAME = 'k1.t-hEOJjsDb.BillingModule.PgPaymentMethod.Update.MovePgPaymentMethodToCancellationRequested';
54
+ MovePgPaymentMethodToCancellationRequestedDto.EVENT_NAME = 'k1.t-hEOJjsDb.BillingModule.PgPaymentMethod.Transition.MovePgPaymentMethodToCancellationRequested';
55
+ MovePgPaymentMethodToCancellationRequestedDto.SCHEMA_ACTION_ID = 'f82cefc8-dacc-4b9f-bff5-c0f0e625a77d';
54
56
  MovePgPaymentMethodToCancellationRequestedDto.PERMISSION = 'schema.action.movepgpaymentmethodtocancellationrequested.trigger';
55
- /** Step metadata - entity this action targets */
56
- MovePgPaymentMethodToCancellationRequestedDto.STEP_ENTITY = 'BillingModule:PgPaymentMethod';
57
- MovePgPaymentMethodToCancellationRequestedDto.STEP_SCHEMA_ID = 'e853a183-c7a1-4cb9-a3de-7429443aea38';
58
- MovePgPaymentMethodToCancellationRequestedDto.STEP_SCHEMA_ACTION_ID = 'd197a9f3-23f7-465a-9465-b6b234437393';
59
- MovePgPaymentMethodToCancellationRequestedDto.STEP_SCHEMA_TYPE_ID = '00eb8588-4016-45a3-adc5-f0e485801016';
60
- MovePgPaymentMethodToCancellationRequestedDto.STEP_TYPE = 'DEFAULT';
61
- MovePgPaymentMethodToCancellationRequestedDto.AUTO_LINK_PARENT = false;
57
+ MovePgPaymentMethodToCancellationRequestedDto.TARGET_STAGES = ['StatusStageCancellationRequested'];
58
+ MovePgPaymentMethodToCancellationRequestedDto.IS_STAGE_TRANSITION = true;
59
+ MovePgPaymentMethodToCancellationRequestedDto.IS_MULTI_STEP_FLOW = false;
60
+ MovePgPaymentMethodToCancellationRequestedDto.HAS_STEP_LINKS = false;
61
+ /** Step classes that can be used with this action */
62
+ MovePgPaymentMethodToCancellationRequestedDto.stepClasses = [];
@@ -22,7 +22,7 @@ export interface UpdatePaymentMethodMessage extends OdinRecordUpdatedEvent<Updat
22
22
  * Properties for UpdatePaymentMethod action
23
23
  *
24
24
  * @property Required fields: 2
25
- * @property Optional fields: 0
25
+ * @property Optional fields: 1
26
26
  */
27
27
  export interface UpdatePaymentMethodProperties {
28
28
  /**
@@ -41,6 +41,14 @@ export interface UpdatePaymentMethodProperties {
41
41
  * @required
42
42
  */
43
43
  Status: string;
44
+ /**
45
+ * Status Updated At
46
+ *
47
+ * the date the mandate last changed statuses (Finance - PaymentMethod)
48
+ * @type {DATE}
49
+ * @format DD/MM/YYYY
50
+ */
51
+ StatusUpdatedAt?: string | null;
44
52
  }
45
53
  /**
46
54
  * UpdatePaymentMethod
@@ -23,12 +23,12 @@ export declare enum ConfigEntityTypes {
23
23
  * Use these constants instead of string literals for type safety
24
24
  */
25
25
  export declare enum ConfigPropertyKeys {
26
+ /** Data field for Config records. Used by Platform team. */
27
+ Test = "Test",
26
28
  /** the name of the app this config relates to (Platform - Config) */
27
29
  AppName = "AppName",
28
30
  /** object of { key: value } mappings (Platform - Config) */
29
- Mappings = "Mappings",
30
- /** Data field for Config records. Used by Platform team. */
31
- Test = "Test"
31
+ Mappings = "Mappings"
32
32
  }
33
33
  /**
34
34
  * Properties for Config records
@@ -36,6 +36,11 @@ export declare enum ConfigPropertyKeys {
36
36
  * @see SchemaModule:Config
37
37
  */
38
38
  export interface ConfigProperties {
39
+ /** Data field for Config records. Used by Platform team.
40
+ *
41
+ * @type {TEXT}
42
+ */
43
+ Test: string;
39
44
  /** the name of the app this config relates to (Platform - Config)
40
45
  *
41
46
  * @type {TEXT}
@@ -46,11 +51,6 @@ export interface ConfigProperties {
46
51
  * @type {JSON}
47
52
  */
48
53
  Mappings: string;
49
- /** Data field for Config records. Used by Platform team.
50
- *
51
- * @type {TEXT}
52
- */
53
- Test: string;
54
54
  }
55
55
  /**
56
56
  * Config entity from SchemaModule
@@ -28,12 +28,12 @@ var ConfigEntityTypes;
28
28
  */
29
29
  var ConfigPropertyKeys;
30
30
  (function (ConfigPropertyKeys) {
31
+ /** Data field for Config records. Used by Platform team. */
32
+ ConfigPropertyKeys["Test"] = "Test";
31
33
  /** the name of the app this config relates to (Platform - Config) */
32
34
  ConfigPropertyKeys["AppName"] = "AppName";
33
35
  /** object of { key: value } mappings (Platform - Config) */
34
36
  ConfigPropertyKeys["Mappings"] = "Mappings";
35
- /** Data field for Config records. Used by Platform team. */
36
- ConfigPropertyKeys["Test"] = "Test";
37
37
  })(ConfigPropertyKeys = exports.ConfigPropertyKeys || (exports.ConfigPropertyKeys = {}));
38
38
  /**
39
39
  * Config entity from SchemaModule
@@ -100,6 +100,29 @@ export declare enum ModifyServiceRequestFnoModifyStatus {
100
100
  NOT_SENT = "NOT_SENT",
101
101
  SEND_FAILED = "SEND_FAILED"
102
102
  }
103
+ /**
104
+ * Valid values for ModifyServiceRequest.FailureReason
105
+ *
106
+ * Why this modify request failed, as one of our own categories. One per request, not per side.
107
+ *
108
+ * @remarks Available options:
109
+ * - `BNG_PROVISION_FAILED` - BNG Provision Failed
110
+ * - `NO_TARGET_ORDER_ITEM` - No Target Order Item
111
+ * - `NOT_ELIGIBLE` - Not Eligible
112
+ * - `SEND_REJECTED` - Send Rejected
113
+ * - `SUPPLIER_CANCELLED` - Supplier Cancelled
114
+ * - `SUPPLIER_REJECTED` - Supplier Rejected
115
+ * - `TIMED_OUT` - Timed Out
116
+ */
117
+ export declare enum ModifyServiceRequestFailureReason {
118
+ BNG_PROVISION_FAILED = "BNG_PROVISION_FAILED",
119
+ NO_TARGET_ORDER_ITEM = "NO_TARGET_ORDER_ITEM",
120
+ NOT_ELIGIBLE = "NOT_ELIGIBLE",
121
+ SEND_REJECTED = "SEND_REJECTED",
122
+ SUPPLIER_CANCELLED = "SUPPLIER_CANCELLED",
123
+ SUPPLIER_REJECTED = "SUPPLIER_REJECTED",
124
+ TIMED_OUT = "TIMED_OUT"
125
+ }
103
126
  /**
104
127
  * Property keys for ModifyServiceRequest
105
128
  * Use these constants instead of string literals for type safety
@@ -118,7 +141,11 @@ export declare enum ModifyServiceRequestPropertyKeys {
118
141
  /** ISP Comment */
119
142
  IspComment = "IspComment",
120
143
  /** FNO Comment */
121
- FnoComment = "FnoComment"
144
+ FnoComment = "FnoComment",
145
+ /** Why this modify request failed, as one of our own categories. One per request, not per side. */
146
+ FailureReason = "FailureReason",
147
+ /** The FNO's own problem code from the inbound KCI, stored verbatim. Their value set, not ours. */
148
+ FnoProblemCode = "FnoProblemCode"
122
149
  }
123
150
  /**
124
151
  * Properties for ModifyServiceRequest records
@@ -164,6 +191,19 @@ export interface ModifyServiceRequestProperties {
164
191
  * @type {TEXT_LONG}
165
192
  */
166
193
  FnoComment: string;
194
+ /** Why this modify request failed, as one of our own categories. One per request, not per side.
195
+ *
196
+ * @type {ENUM}
197
+ * @default
198
+ * @enum {ModifyServiceRequestFailureReason}
199
+ */
200
+ FailureReason: ModifyServiceRequestFailureReason;
201
+ /** The FNO's own problem code from the inbound KCI, stored verbatim. Their value set, not ours.
202
+ *
203
+ * @type {TEXT}
204
+ * @default
205
+ */
206
+ FnoProblemCode: string;
167
207
  }
168
208
  /**
169
209
  * ModifyServiceRequest entity from ServiceModule
@@ -12,7 +12,7 @@
12
12
  * Generated from Odin schema definition
13
13
  */
14
14
  Object.defineProperty(exports, "__esModule", { value: true });
15
- exports.ROUTING_KEY_LINK_MODIFY_SERVICE_REQUEST_ORDER_DELETED = exports.ROUTING_KEY_LINK_MODIFY_SERVICE_REQUEST_ORDER_CREATED = exports.ROUTING_KEY_LINK_MODIFY_SERVICE_REQUEST_ORDER_KCI_DELETED = exports.ROUTING_KEY_LINK_MODIFY_SERVICE_REQUEST_ORDER_KCI_CREATED = exports.ROUTING_KEY_MODIFY_SERVICE_REQUEST_DEFAULT_DELETED = exports.ROUTING_KEY_MODIFY_SERVICE_REQUEST_DEFAULT_UPDATED = exports.ROUTING_KEY_MODIFY_SERVICE_REQUEST_DEFAULT_CREATED = exports.ROUTING_KEY_MODIFY_SERVICE_REQUEST_DELETED = exports.ROUTING_KEY_MODIFY_SERVICE_REQUEST_UPDATED = exports.ROUTING_KEY_MODIFY_SERVICE_REQUEST_CREATED = exports.ModifyServiceRequest = exports.ModifyServiceRequestPropertyKeys = exports.ModifyServiceRequestFnoModifyStatus = exports.ModifyServiceRequestIspModifyStatus = exports.DefaultModifyServiceRequestStageKeys = exports.DefaultModifyServiceRequestStageNames = exports.ModifyServiceRequestEntityTypes = void 0;
15
+ exports.ROUTING_KEY_LINK_MODIFY_SERVICE_REQUEST_ORDER_DELETED = exports.ROUTING_KEY_LINK_MODIFY_SERVICE_REQUEST_ORDER_CREATED = exports.ROUTING_KEY_LINK_MODIFY_SERVICE_REQUEST_ORDER_KCI_DELETED = exports.ROUTING_KEY_LINK_MODIFY_SERVICE_REQUEST_ORDER_KCI_CREATED = exports.ROUTING_KEY_MODIFY_SERVICE_REQUEST_DEFAULT_DELETED = exports.ROUTING_KEY_MODIFY_SERVICE_REQUEST_DEFAULT_UPDATED = exports.ROUTING_KEY_MODIFY_SERVICE_REQUEST_DEFAULT_CREATED = exports.ROUTING_KEY_MODIFY_SERVICE_REQUEST_DELETED = exports.ROUTING_KEY_MODIFY_SERVICE_REQUEST_UPDATED = exports.ROUTING_KEY_MODIFY_SERVICE_REQUEST_CREATED = exports.ModifyServiceRequest = exports.ModifyServiceRequestPropertyKeys = exports.ModifyServiceRequestFailureReason = exports.ModifyServiceRequestFnoModifyStatus = exports.ModifyServiceRequestIspModifyStatus = exports.DefaultModifyServiceRequestStageKeys = exports.DefaultModifyServiceRequestStageNames = exports.ModifyServiceRequestEntityTypes = void 0;
16
16
  const core_1 = require("@d19n/odin-types/dist/core");
17
17
  /**
18
18
  * Available types for ModifyServiceRequest records
@@ -105,6 +105,30 @@ var ModifyServiceRequestFnoModifyStatus;
105
105
  ModifyServiceRequestFnoModifyStatus["NOT_SENT"] = "NOT_SENT";
106
106
  ModifyServiceRequestFnoModifyStatus["SEND_FAILED"] = "SEND_FAILED";
107
107
  })(ModifyServiceRequestFnoModifyStatus = exports.ModifyServiceRequestFnoModifyStatus || (exports.ModifyServiceRequestFnoModifyStatus = {}));
108
+ /**
109
+ * Valid values for ModifyServiceRequest.FailureReason
110
+ *
111
+ * Why this modify request failed, as one of our own categories. One per request, not per side.
112
+ *
113
+ * @remarks Available options:
114
+ * - `BNG_PROVISION_FAILED` - BNG Provision Failed
115
+ * - `NO_TARGET_ORDER_ITEM` - No Target Order Item
116
+ * - `NOT_ELIGIBLE` - Not Eligible
117
+ * - `SEND_REJECTED` - Send Rejected
118
+ * - `SUPPLIER_CANCELLED` - Supplier Cancelled
119
+ * - `SUPPLIER_REJECTED` - Supplier Rejected
120
+ * - `TIMED_OUT` - Timed Out
121
+ */
122
+ var ModifyServiceRequestFailureReason;
123
+ (function (ModifyServiceRequestFailureReason) {
124
+ ModifyServiceRequestFailureReason["BNG_PROVISION_FAILED"] = "BNG_PROVISION_FAILED";
125
+ ModifyServiceRequestFailureReason["NO_TARGET_ORDER_ITEM"] = "NO_TARGET_ORDER_ITEM";
126
+ ModifyServiceRequestFailureReason["NOT_ELIGIBLE"] = "NOT_ELIGIBLE";
127
+ ModifyServiceRequestFailureReason["SEND_REJECTED"] = "SEND_REJECTED";
128
+ ModifyServiceRequestFailureReason["SUPPLIER_CANCELLED"] = "SUPPLIER_CANCELLED";
129
+ ModifyServiceRequestFailureReason["SUPPLIER_REJECTED"] = "SUPPLIER_REJECTED";
130
+ ModifyServiceRequestFailureReason["TIMED_OUT"] = "TIMED_OUT";
131
+ })(ModifyServiceRequestFailureReason = exports.ModifyServiceRequestFailureReason || (exports.ModifyServiceRequestFailureReason = {}));
108
132
  /**
109
133
  * Property keys for ModifyServiceRequest
110
134
  * Use these constants instead of string literals for type safety
@@ -125,6 +149,10 @@ var ModifyServiceRequestPropertyKeys;
125
149
  ModifyServiceRequestPropertyKeys["IspComment"] = "IspComment";
126
150
  /** FNO Comment */
127
151
  ModifyServiceRequestPropertyKeys["FnoComment"] = "FnoComment";
152
+ /** Why this modify request failed, as one of our own categories. One per request, not per side. */
153
+ ModifyServiceRequestPropertyKeys["FailureReason"] = "FailureReason";
154
+ /** The FNO's own problem code from the inbound KCI, stored verbatim. Their value set, not ours. */
155
+ ModifyServiceRequestPropertyKeys["FnoProblemCode"] = "FnoProblemCode";
128
156
  })(ModifyServiceRequestPropertyKeys = exports.ModifyServiceRequestPropertyKeys || (exports.ModifyServiceRequestPropertyKeys = {}));
129
157
  /**
130
158
  * ModifyServiceRequest entity from ServiceModule
@@ -48,6 +48,7 @@ export declare enum PaymentMethodProvider {
48
48
  * @remarks Available options:
49
49
  * - `ACTIVE` - Active
50
50
  * - `BLOCKED` - Blocked
51
+ * - `CANCELLATION_REQUESTED` - Cancellation Requested
51
52
  * - `CANCELLED` - Cancelled
52
53
  * - `CREATED` - Created
53
54
  * - `CUSTOMER_APPROVAL_GRANTED` - Customer approval granted
@@ -60,11 +61,12 @@ export declare enum PaymentMethodProvider {
60
61
  * - `REPLACED` - Replaced
61
62
  * - `RESUBMISSION_REQUESTED` - Resubmission requested
62
63
  * - `SUBMITTED` - Submitted
63
- * - `TRANSFERRED` - Transferred
64
+ * - ... and 1 more
64
65
  */
65
66
  export declare enum PaymentMethodStatus {
66
67
  ACTIVE = "ACTIVE",
67
68
  BLOCKED = "BLOCKED",
69
+ CANCELLATION_REQUESTED = "CANCELLATION_REQUESTED",
68
70
  CANCELLED = "CANCELLED",
69
71
  CREATED = "CREATED",
70
72
  CUSTOMER_APPROVAL_GRANTED = "CUSTOMER_APPROVAL_GRANTED",
@@ -46,6 +46,7 @@ var PaymentMethodProvider;
46
46
  * @remarks Available options:
47
47
  * - `ACTIVE` - Active
48
48
  * - `BLOCKED` - Blocked
49
+ * - `CANCELLATION_REQUESTED` - Cancellation Requested
49
50
  * - `CANCELLED` - Cancelled
50
51
  * - `CREATED` - Created
51
52
  * - `CUSTOMER_APPROVAL_GRANTED` - Customer approval granted
@@ -58,12 +59,13 @@ var PaymentMethodProvider;
58
59
  * - `REPLACED` - Replaced
59
60
  * - `RESUBMISSION_REQUESTED` - Resubmission requested
60
61
  * - `SUBMITTED` - Submitted
61
- * - `TRANSFERRED` - Transferred
62
+ * - ... and 1 more
62
63
  */
63
64
  var PaymentMethodStatus;
64
65
  (function (PaymentMethodStatus) {
65
66
  PaymentMethodStatus["ACTIVE"] = "ACTIVE";
66
67
  PaymentMethodStatus["BLOCKED"] = "BLOCKED";
68
+ PaymentMethodStatus["CANCELLATION_REQUESTED"] = "CANCELLATION_REQUESTED";
67
69
  PaymentMethodStatus["CANCELLED"] = "CANCELLED";
68
70
  PaymentMethodStatus["CREATED"] = "CREATED";
69
71
  PaymentMethodStatus["CUSTOMER_APPROVAL_GRANTED"] = "CUSTOMER_APPROVAL_GRANTED";
@@ -67,7 +67,13 @@ export declare enum YfWifiSurveyPropertyKeys {
67
67
  /** Whether the homeowner said the property has more than one floor, asked at consent. Null means the question was never reached — a refused survey — which is a different fact from a single-floor answer. */
68
68
  PropertyHasMultipleFloors = "PropertyHasMultipleFloors",
69
69
  /** Whether the homeowner consented to the engineer using floors beyond the one they entered on. Null means not asked, which is the correct value for a single-floor property and for a refusal; false means asked and withheld, and the app blocks adding floors on that basis. */
70
- MultiFloorAccessGranted = "MultiFloorAccessGranted"
70
+ MultiFloorAccessGranted = "MultiFloorAccessGranted",
71
+ /** Typed name of whoever signed the consent, as the engineer wrote it. The drawn signature says somebody agreed, not who — it is rarely legible, and the person at the door is often not the account holder. Null on a refused survey, where nobody signed. */
72
+ SignedOffBy = "SignedOffBy",
73
+ /** The engineer's closing note, taken when the survey is finished. Where coverage was poor or unusable the app prompts them to suggest a mesh unit, and the outcome is written into the note's first line ("Mesh unit(s) suggested — customer accepted/declined.") rather than a column of its own, so this one field is the whole account of what was offered and what was said. A declined suggestion is required by the app to carry a reason. Null when the survey ended with nothing to say, and on a refusal. */
74
+ EngineerNote = "EngineerNote",
75
+ /** Whether any part of the property came out poor or unusable. Read off the recorded bands on the device path, and answered by the engineer on the gateway path — iOS has no public RSSI API, so there is no band to read and this column is the only place that answer exists. Null means nobody was asked and nothing was measured: a refused survey. */
76
+ PoorCoverageReported = "PoorCoverageReported"
71
77
  }
72
78
  /**
73
79
  * Properties for YfWifiSurvey records
@@ -160,6 +166,24 @@ export interface YfWifiSurveyProperties {
160
166
  * @default
161
167
  */
162
168
  MultiFloorAccessGranted: boolean;
169
+ /** Typed name of whoever signed the consent, as the engineer wrote it. The drawn signature says somebody agreed, not who — it is rarely legible, and the person at the door is often not the account holder. Null on a refused survey, where nobody signed.
170
+ *
171
+ * @type {TEXT}
172
+ * @default
173
+ */
174
+ SignedOffBy: string;
175
+ /** The engineer's closing note, taken when the survey is finished. Where coverage was poor or unusable the app prompts them to suggest a mesh unit, and the outcome is written into the note's first line ("Mesh unit(s) suggested — customer accepted/declined.") rather than a column of its own, so this one field is the whole account of what was offered and what was said. A declined suggestion is required by the app to carry a reason. Null when the survey ended with nothing to say, and on a refusal.
176
+ *
177
+ * @type {TEXT_LONG}
178
+ * @default
179
+ */
180
+ EngineerNote: string;
181
+ /** Whether any part of the property came out poor or unusable. Read off the recorded bands on the device path, and answered by the engineer on the gateway path — iOS has no public RSSI API, so there is no band to read and this column is the only place that answer exists. Null means nobody was asked and nothing was measured: a refused survey.
182
+ *
183
+ * @type {BOOLEAN}
184
+ * @default
185
+ */
186
+ PoorCoverageReported: boolean;
163
187
  }
164
188
  /**
165
189
  * YfWifiSurvey entity from FieldServiceModule
@@ -72,6 +72,12 @@ var YfWifiSurveyPropertyKeys;
72
72
  YfWifiSurveyPropertyKeys["PropertyHasMultipleFloors"] = "PropertyHasMultipleFloors";
73
73
  /** Whether the homeowner consented to the engineer using floors beyond the one they entered on. Null means not asked, which is the correct value for a single-floor property and for a refusal; false means asked and withheld, and the app blocks adding floors on that basis. */
74
74
  YfWifiSurveyPropertyKeys["MultiFloorAccessGranted"] = "MultiFloorAccessGranted";
75
+ /** Typed name of whoever signed the consent, as the engineer wrote it. The drawn signature says somebody agreed, not who — it is rarely legible, and the person at the door is often not the account holder. Null on a refused survey, where nobody signed. */
76
+ YfWifiSurveyPropertyKeys["SignedOffBy"] = "SignedOffBy";
77
+ /** The engineer's closing note, taken when the survey is finished. Where coverage was poor or unusable the app prompts them to suggest a mesh unit, and the outcome is written into the note's first line ("Mesh unit(s) suggested — customer accepted/declined.") rather than a column of its own, so this one field is the whole account of what was offered and what was said. A declined suggestion is required by the app to carry a reason. Null when the survey ended with nothing to say, and on a refusal. */
78
+ YfWifiSurveyPropertyKeys["EngineerNote"] = "EngineerNote";
79
+ /** Whether any part of the property came out poor or unusable. Read off the recorded bands on the device path, and answered by the engineer on the gateway path — iOS has no public RSSI API, so there is no band to read and this column is the only place that answer exists. Null means nobody was asked and nothing was measured: a refused survey. */
80
+ YfWifiSurveyPropertyKeys["PoorCoverageReported"] = "PoorCoverageReported";
75
81
  })(YfWifiSurveyPropertyKeys = exports.YfWifiSurveyPropertyKeys || (exports.YfWifiSurveyPropertyKeys = {}));
76
82
  /**
77
83
  * YfWifiSurvey entity from FieldServiceModule
@@ -55,6 +55,7 @@ import { CreateOrderReferralReferrerNotQualifiedEmailProperties } from '../actio
55
55
  import { CreateOrderReferralReferrerPendingEmailProperties } from '../actions-v2/CreateOrderReferralReferrerPendingEmailDto';
56
56
  import { CreateOrderReferralReferrerQualifiedEmailProperties } from '../actions-v2/CreateOrderReferralReferrerQualifiedEmailDto';
57
57
  import { CreateOtsGainingCancellationIssueProperties } from '../actions-v2/CreateOtsGainingCancellationIssueDto';
58
+ import { CreateOtsGainingSwitchCancelledProperties } from '../actions-v2/CreateOtsGainingSwitchCancelledDto';
58
59
  import { CreateOtsGainingSwitchCompleteProperties } from '../actions-v2/CreateOtsGainingSwitchCompleteDto';
59
60
  import { CreateOtsLosingSwitchConfirmationProperties } from '../actions-v2/CreateOtsLosingSwitchConfirmationDto';
60
61
  import { CreateOtsLosingSwitchImpactProperties } from '../actions-v2/CreateOtsLosingSwitchImpactDto';
@@ -1312,6 +1313,34 @@ export declare class EmailRecord<TProps = EmailProperties> {
1312
1313
  journeyId?: string;
1313
1314
  stageKey?: string;
1314
1315
  }): ActionBuilder;
1316
+ /**
1317
+ * CreateOtsGainingSwitchCancelled
1318
+ *
1319
+ * Creates a new Email record with the specified properties.
1320
+ * Returns an ActionBuilder - call .execute() to create or .dryRun() for debugging.
1321
+ *
1322
+ * @remarks Record type: TRANSACTIONAL
1323
+ *
1324
+ * @param properties - The properties for the new record
1325
+ * @param options - Optional settings
1326
+ * @param options.journeyId - Associate with a journey
1327
+ * @param options.stageKey - Set initial pipeline stage
1328
+ * @returns ActionBuilder - call .execute() to create or .dryRun() for payload
1329
+ *
1330
+ * @example
1331
+ * ```typescript
1332
+ * // Create with properties
1333
+ * const record = odinClient.emails.new();
1334
+ * await record.createOtsGainingSwitchCancelled({ ... }).execute();
1335
+ *
1336
+ * // Dry run (for debugging)
1337
+ * const payload = record.createOtsGainingSwitchCancelled({ ... }).dryRun();
1338
+ * ```
1339
+ */
1340
+ createOtsGainingSwitchCancelled(properties?: CreateOtsGainingSwitchCancelledProperties, options?: {
1341
+ journeyId?: string;
1342
+ stageKey?: string;
1343
+ }): ActionBuilder;
1315
1344
  /**
1316
1345
  * CreateOtsGainingSwitchComplete
1317
1346
  *
@@ -1643,6 +1643,42 @@ class EmailRecord {
1643
1643
  };
1644
1644
  return new ActionBuilder(this._provider, 'NotificationModule', 'Email', payload, () => { this._pendingLinks = []; });
1645
1645
  }
1646
+ /**
1647
+ * CreateOtsGainingSwitchCancelled
1648
+ *
1649
+ * Creates a new Email record with the specified properties.
1650
+ * Returns an ActionBuilder - call .execute() to create or .dryRun() for debugging.
1651
+ *
1652
+ * @remarks Record type: TRANSACTIONAL
1653
+ *
1654
+ * @param properties - The properties for the new record
1655
+ * @param options - Optional settings
1656
+ * @param options.journeyId - Associate with a journey
1657
+ * @param options.stageKey - Set initial pipeline stage
1658
+ * @returns ActionBuilder - call .execute() to create or .dryRun() for payload
1659
+ *
1660
+ * @example
1661
+ * ```typescript
1662
+ * // Create with properties
1663
+ * const record = odinClient.emails.new();
1664
+ * await record.createOtsGainingSwitchCancelled({ ... }).execute();
1665
+ *
1666
+ * // Dry run (for debugging)
1667
+ * const payload = record.createOtsGainingSwitchCancelled({ ... }).dryRun();
1668
+ * ```
1669
+ */
1670
+ createOtsGainingSwitchCancelled(properties, options) {
1671
+ const payload = {
1672
+ entity: 'NotificationModule:Email',
1673
+ type: 'TRANSACTIONAL',
1674
+ actionName: 'CreateOtsGainingSwitchCancelled',
1675
+ properties: properties || {},
1676
+ associations: this._pendingLinks.length > 0 ? this._pendingLinks : undefined,
1677
+ journeyId: options === null || options === void 0 ? void 0 : options.journeyId,
1678
+ stageKey: options === null || options === void 0 ? void 0 : options.stageKey,
1679
+ };
1680
+ return new ActionBuilder(this._provider, 'NotificationModule', 'Email', payload, () => { this._pendingLinks = []; });
1681
+ }
1646
1682
  /**
1647
1683
  * CreateOtsGainingSwitchComplete
1648
1684
  *
@@ -21,6 +21,7 @@ import { IDbRecordCreateUpdateRes } from '@d19n/odin-types/dist/core/interfaces/
21
21
  import { IOdinProvider } from '@d19n/odin-sdk-generator/dist/odin-sdk-types';
22
22
  import { RecordLinkManager } from '@d19n/odin-sdk-generator/dist/record-link-manager';
23
23
  import { PaymentMethodProperties } from '../entities-v2/PaymentMethod';
24
+ import { CancelPaymentMethodProperties } from '../actions-v2/CancelPaymentMethodDto';
24
25
  import { CreatePaymentMethodProperties } from '../actions-v2/CreatePaymentMethodDto';
25
26
  import { UpdatePaymentMethodProperties } from '../actions-v2/UpdatePaymentMethodDto';
26
27
  import { NoteRecord } from './NoteRecord';
@@ -302,6 +303,33 @@ export declare class PaymentMethodRecord<TProps = PaymentMethodProperties> {
302
303
  journeyId?: string;
303
304
  stageKey?: string;
304
305
  }): ActionBuilder;
306
+ /**
307
+ * CancelPaymentMethod
308
+ *
309
+ * Updates this PaymentMethod record.
310
+ * Returns an ActionBuilder - call .execute() to update or .dryRun() for debugging.
311
+ *
312
+ * @param propertiesOrOptions - Properties to update, or options object
313
+ * @param options - Optional settings (journeyId, stageKey)
314
+ * @returns ActionBuilder - call .execute() to update or .dryRun() for payload
315
+ * @throws Error if called on a new (unsaved) record
316
+ *
317
+ * @example
318
+ * ```typescript
319
+ * const record = await odinClient.paymentMethods.get(id);
320
+ * await record.cancelPaymentMethod({ ... }).execute();
321
+ *
322
+ * // Dry run (for debugging)
323
+ * const payload = record.cancelPaymentMethod({ ... }).dryRun();
324
+ * ```
325
+ */
326
+ cancelPaymentMethod(propertiesOrOptions?: CancelPaymentMethodProperties | {
327
+ journeyId?: string;
328
+ stageKey?: string;
329
+ }, options?: {
330
+ journeyId?: string;
331
+ stageKey?: string;
332
+ }): ActionBuilder;
305
333
  /**
306
334
  * UpdatePaymentMethod
307
335
  *
@@ -436,6 +436,43 @@ class PaymentMethodRecord {
436
436
  // ============================================
437
437
  // UPDATE ACTIONS (require existing record)
438
438
  // ============================================
439
+ /**
440
+ * CancelPaymentMethod
441
+ *
442
+ * Updates this PaymentMethod record.
443
+ * Returns an ActionBuilder - call .execute() to update or .dryRun() for debugging.
444
+ *
445
+ * @param propertiesOrOptions - Properties to update, or options object
446
+ * @param options - Optional settings (journeyId, stageKey)
447
+ * @returns ActionBuilder - call .execute() to update or .dryRun() for payload
448
+ * @throws Error if called on a new (unsaved) record
449
+ *
450
+ * @example
451
+ * ```typescript
452
+ * const record = await odinClient.paymentMethods.get(id);
453
+ * await record.cancelPaymentMethod({ ... }).execute();
454
+ *
455
+ * // Dry run (for debugging)
456
+ * const payload = record.cancelPaymentMethod({ ... }).dryRun();
457
+ * ```
458
+ */
459
+ cancelPaymentMethod(propertiesOrOptions, options) {
460
+ var _a;
461
+ if (!((_a = this._record) === null || _a === void 0 ? void 0 : _a.id))
462
+ throw new Error('cancelPaymentMethod requires an existing record. Use accessor.get() first.');
463
+ let properties = {};
464
+ let opts = options;
465
+ if (propertiesOrOptions) {
466
+ if ('journeyId' in propertiesOrOptions || 'stageKey' in propertiesOrOptions) {
467
+ opts = propertiesOrOptions;
468
+ }
469
+ else {
470
+ properties = propertiesOrOptions;
471
+ }
472
+ }
473
+ const payload = Object.assign({ id: this._record.id, entity: this._record.entity, type: this._record.type, actionName: 'CancelPaymentMethod', properties, associations: this._pendingLinks.length > 0 ? this._pendingLinks : undefined }, opts);
474
+ return new ActionBuilder(this._provider, 'BillingModule', 'PaymentMethod', payload, () => { this._pendingLinks = []; });
475
+ }
439
476
  /**
440
477
  * UpdatePaymentMethod
441
478
  *
@@ -24,7 +24,6 @@ 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 { PgPaymentMethodProperties } from '../entities-v2/PgPaymentMethod';
26
26
  import { CreatePgPaymentMethodProperties } from '../actions-v2/CreatePgPaymentMethodDto';
27
- import { MovePgPaymentMethodToCancellationRequestedProperties } from '../actions-v2/MovePgPaymentMethodToCancellationRequestedDto';
28
27
  import { UpdatePgPaymentMethodActivatedDatetimeProperties } from '../actions-v2/UpdatePgPaymentMethodActivatedDatetimeDto';
29
28
  import { UpdatePgPaymentMethodProperties } from '../actions-v2/UpdatePgPaymentMethodDto';
30
29
  import { UpdatePgPaymentMethodFirstTransactionProcessedProperties } from '../actions-v2/UpdatePgPaymentMethodFirstTransactionProcessedDto';
@@ -390,29 +389,27 @@ export declare class PgPaymentMethodRecord<TProps = PgPaymentMethodProperties> {
390
389
  /**
391
390
  * MovePgPaymentMethodToCancellationRequested
392
391
  *
393
- * Updates this PgPaymentMethod record.
394
- * Returns an ActionBuilder - call .execute() to update or .dryRun() for debugging.
392
+ * Transitions this PgPaymentMethod record to a new pipeline stage.
393
+ * Returns an ActionBuilder - call .execute() to transition or .dryRun() for debugging.
395
394
  *
396
- * @param propertiesOrOptions - Properties to update, or options object
397
- * @param options - Optional settings (journeyId, stageKey)
398
- * @returns ActionBuilder - call .execute() to update or .dryRun() for payload
395
+ * @remarks Transitions to stage: StatusStageCancellationRequested
396
+ *
397
+ * @param options - Optional settings
398
+ * @param options.journeyId - Associate with a journey
399
+ * @returns ActionBuilder - call .execute() to transition or .dryRun() for payload
399
400
  * @throws Error if called on a new (unsaved) record
400
401
  *
401
402
  * @example
402
403
  * ```typescript
403
404
  * const record = await odinClient.pgPaymentMethods.get(id);
404
- * await record.movePgPaymentMethodToCancellationRequested({ ... }).execute();
405
+ * await record.movePgPaymentMethodToCancellationRequested().execute();
405
406
  *
406
407
  * // Dry run (for debugging)
407
- * const payload = record.movePgPaymentMethodToCancellationRequested({ ... }).dryRun();
408
+ * const payload = record.movePgPaymentMethodToCancellationRequested().dryRun();
408
409
  * ```
409
410
  */
410
- movePgPaymentMethodToCancellationRequested(propertiesOrOptions?: MovePgPaymentMethodToCancellationRequestedProperties | {
411
+ movePgPaymentMethodToCancellationRequested(options?: {
411
412
  journeyId?: string;
412
- stageKey?: string;
413
- }, options?: {
414
- journeyId?: string;
415
- stageKey?: string;
416
413
  }): ActionBuilder;
417
414
  /**
418
415
  * MovePgPaymentMethodToCancelled
@@ -514,38 +514,30 @@ class PgPaymentMethodRecord {
514
514
  /**
515
515
  * MovePgPaymentMethodToCancellationRequested
516
516
  *
517
- * Updates this PgPaymentMethod record.
518
- * Returns an ActionBuilder - call .execute() to update or .dryRun() for debugging.
517
+ * Transitions this PgPaymentMethod record to a new pipeline stage.
518
+ * Returns an ActionBuilder - call .execute() to transition or .dryRun() for debugging.
519
519
  *
520
- * @param propertiesOrOptions - Properties to update, or options object
521
- * @param options - Optional settings (journeyId, stageKey)
522
- * @returns ActionBuilder - call .execute() to update or .dryRun() for payload
520
+ * @remarks Transitions to stage: StatusStageCancellationRequested
521
+ *
522
+ * @param options - Optional settings
523
+ * @param options.journeyId - Associate with a journey
524
+ * @returns ActionBuilder - call .execute() to transition or .dryRun() for payload
523
525
  * @throws Error if called on a new (unsaved) record
524
526
  *
525
527
  * @example
526
528
  * ```typescript
527
529
  * const record = await odinClient.pgPaymentMethods.get(id);
528
- * await record.movePgPaymentMethodToCancellationRequested({ ... }).execute();
530
+ * await record.movePgPaymentMethodToCancellationRequested().execute();
529
531
  *
530
532
  * // Dry run (for debugging)
531
- * const payload = record.movePgPaymentMethodToCancellationRequested({ ... }).dryRun();
533
+ * const payload = record.movePgPaymentMethodToCancellationRequested().dryRun();
532
534
  * ```
533
535
  */
534
- movePgPaymentMethodToCancellationRequested(propertiesOrOptions, options) {
536
+ movePgPaymentMethodToCancellationRequested(options) {
535
537
  var _a;
536
538
  if (!((_a = this._record) === null || _a === void 0 ? void 0 : _a.id))
537
539
  throw new Error('movePgPaymentMethodToCancellationRequested requires an existing record. Use accessor.get() first.');
538
- let properties = {};
539
- let opts = options;
540
- if (propertiesOrOptions) {
541
- if ('journeyId' in propertiesOrOptions || 'stageKey' in propertiesOrOptions) {
542
- opts = propertiesOrOptions;
543
- }
544
- else {
545
- properties = propertiesOrOptions;
546
- }
547
- }
548
- const payload = Object.assign({ id: this._record.id, entity: this._record.entity, type: this._record.type, actionName: 'MovePgPaymentMethodToCancellationRequested', properties, associations: this._pendingLinks.length > 0 ? this._pendingLinks : undefined }, opts);
540
+ const payload = Object.assign({ id: this._record.id, entity: this._record.entity, type: this._record.type, actionName: 'MovePgPaymentMethodToCancellationRequested', associations: this._pendingLinks.length > 0 ? this._pendingLinks : undefined, stageKey: 'StatusStageCancellationRequested' }, options);
549
541
  return new ActionBuilder(this._provider, 'BillingModule', 'PgPaymentMethod', payload, () => { this._pendingLinks = []; });
550
542
  }
551
543
  /**
@@ -25,6 +25,7 @@ export { ChurnRequestRecord, isChurnRequestRecord } from './ChurnRequestRecord';
25
25
  export { ChangeReasonRecord, isChangeReasonRecord } from './ChangeReasonRecord';
26
26
  export { PICRequestRecord, isPICRequestRecord } from './PICRequestRecord';
27
27
  export { PaymentRecord, isPaymentRecord } from './PaymentRecord';
28
+ export { PaymentMethodRecord, isPaymentMethodRecord } from './PaymentMethodRecord';
28
29
  export { TransactionRecord, isTransactionRecord } from './TransactionRecord';
29
30
  export { PermissionToFailRecord, isPermissionToFailRecord } from './PermissionToFailRecord';
30
31
  export { AccountRecord, isAccountRecord } from './AccountRecord';
@@ -79,7 +80,6 @@ export { ReferralRecord, isReferralRecord } from './ReferralRecord';
79
80
  export { OutboundDialCampaignRecord, isOutboundDialCampaignRecord } from './OutboundDialCampaignRecord';
80
81
  export { OutboundDialSessionRecord, isOutboundDialSessionRecord } from './OutboundDialSessionRecord';
81
82
  export { SmsMessageRecord, isSmsMessageRecord } from './SmsMessageRecord';
82
- export { PaymentMethodRecord, isPaymentMethodRecord } from './PaymentMethodRecord';
83
83
  export { PgContactRecord, isPgContactRecord } from './PgContactRecord';
84
84
  export { PgDisputeRecord, isPgDisputeRecord } from './PgDisputeRecord';
85
85
  export { PgLogRecord, isPgLogRecord } from './PgLogRecord';
@@ -11,9 +11,9 @@
11
11
  * AUTO-GENERATED - DO NOT EDIT DIRECTLY
12
12
  */
13
13
  Object.defineProperty(exports, "__esModule", { value: true });
14
- exports.isOhExternalAuditRecord = exports.OhExternalAuditRecord = exports.isUgExternalAuditRecord = exports.UgExternalAuditRecord = exports.isPaymentMethodRefundRecord = exports.PaymentMethodRefundRecord = exports.isCustomerDeviceRouterRecord = exports.CustomerDeviceRouterRecord = 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.isAddressInteractionRecord = exports.AddressInteractionRecord = exports.isAddressRecord = exports.AddressRecord = exports.isCaseRecord = exports.CaseRecord = exports.isWorkOrderRecord = exports.WorkOrderRecord = exports.isOrderRecord = exports.OrderRecord = void 0;
15
- 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.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.isEmailRecord = exports.EmailRecord = exports.isCallLegRecord = exports.CallLegRecord = exports.isAffiliateCodeRecord = exports.AffiliateCodeRecord = exports.isActivityLogRecord = exports.ActivityLogRecord = exports.isAccountCreditRecord = exports.AccountCreditRecord = exports.isYfFieldVisitOutcomeFormRecord = exports.YfFieldVisitOutcomeFormRecord = exports.isRemediationOutcomeFormRecord = exports.RemediationOutcomeFormRecord = void 0;
16
- 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 = exports.isEmailTemplateRecord = exports.EmailTemplateRecord = void 0;
14
+ exports.isUgExternalAuditRecord = exports.UgExternalAuditRecord = exports.isPaymentMethodRefundRecord = exports.PaymentMethodRefundRecord = exports.isCustomerDeviceRouterRecord = exports.CustomerDeviceRouterRecord = exports.isConversationRecord = exports.ConversationRecord = exports.isOntReplacementApprovalRecord = exports.OntReplacementApprovalRecord = exports.isAccountRecord = exports.AccountRecord = exports.isPermissionToFailRecord = exports.PermissionToFailRecord = exports.isTransactionRecord = exports.TransactionRecord = exports.isPaymentMethodRecord = exports.PaymentMethodRecord = 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.isAddressInteractionRecord = exports.AddressInteractionRecord = exports.isAddressRecord = exports.AddressRecord = exports.isCaseRecord = exports.CaseRecord = exports.isWorkOrderRecord = exports.WorkOrderRecord = exports.isOrderRecord = exports.OrderRecord = void 0;
15
+ 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.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.isEmailRecord = exports.EmailRecord = exports.isCallLegRecord = exports.CallLegRecord = exports.isAffiliateCodeRecord = exports.AffiliateCodeRecord = exports.isActivityLogRecord = exports.ActivityLogRecord = exports.isAccountCreditRecord = exports.AccountCreditRecord = exports.isYfFieldVisitOutcomeFormRecord = exports.YfFieldVisitOutcomeFormRecord = exports.isRemediationOutcomeFormRecord = exports.RemediationOutcomeFormRecord = exports.isOhExternalAuditRecord = exports.OhExternalAuditRecord = void 0;
16
+ exports.isPgPaymentMethodRecord = exports.PgPaymentMethodRecord = exports.isPgLogRecord = exports.PgLogRecord = exports.isPgDisputeRecord = exports.PgDisputeRecord = exports.isPgContactRecord = exports.PgContactRecord = 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 = exports.isEmailTemplateRecord = exports.EmailTemplateRecord = exports.isEmailSenderRecord = exports.EmailSenderRecord = void 0;
17
17
  exports.isYfAgentLocationRecord = exports.YfAgentLocationRecord = 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.isRecontractRecord = exports.RecontractRecord = exports.isQaReportRecord = exports.QaReportRecord = 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 = exports.isPgReportEventRecord = exports.PgReportEventRecord = void 0;
18
18
  exports.isCustomerPhonePortingRecord = exports.CustomerPhonePortingRecord = exports.isVisitRecord = exports.VisitRecord = exports.isSmsTemplateRecord = exports.SmsTemplateRecord = exports.isServiceRecord = exports.ServiceRecord = exports.isNotificationTemplateRecord = exports.NotificationTemplateRecord = exports.isAgentStatusRecord = exports.AgentStatusRecord = 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.isCustomerDeviceAtaRecord = exports.CustomerDeviceAtaRecord = exports.isCreditNoteRecord = exports.CreditNoteRecord = exports.isOutboundDialCampaignCaseRecord = exports.OutboundDialCampaignCaseRecord = exports.isYfWifiSurveyRecord = exports.YfWifiSurveyRecord = void 0;
19
19
  var OrderRecord_1 = require("./OrderRecord");
@@ -64,6 +64,9 @@ Object.defineProperty(exports, "isPICRequestRecord", { enumerable: true, get: fu
64
64
  var PaymentRecord_1 = require("./PaymentRecord");
65
65
  Object.defineProperty(exports, "PaymentRecord", { enumerable: true, get: function () { return PaymentRecord_1.PaymentRecord; } });
66
66
  Object.defineProperty(exports, "isPaymentRecord", { enumerable: true, get: function () { return PaymentRecord_1.isPaymentRecord; } });
67
+ var PaymentMethodRecord_1 = require("./PaymentMethodRecord");
68
+ Object.defineProperty(exports, "PaymentMethodRecord", { enumerable: true, get: function () { return PaymentMethodRecord_1.PaymentMethodRecord; } });
69
+ Object.defineProperty(exports, "isPaymentMethodRecord", { enumerable: true, get: function () { return PaymentMethodRecord_1.isPaymentMethodRecord; } });
67
70
  var TransactionRecord_1 = require("./TransactionRecord");
68
71
  Object.defineProperty(exports, "TransactionRecord", { enumerable: true, get: function () { return TransactionRecord_1.TransactionRecord; } });
69
72
  Object.defineProperty(exports, "isTransactionRecord", { enumerable: true, get: function () { return TransactionRecord_1.isTransactionRecord; } });
@@ -226,9 +229,6 @@ Object.defineProperty(exports, "isOutboundDialSessionRecord", { enumerable: true
226
229
  var SmsMessageRecord_1 = require("./SmsMessageRecord");
227
230
  Object.defineProperty(exports, "SmsMessageRecord", { enumerable: true, get: function () { return SmsMessageRecord_1.SmsMessageRecord; } });
228
231
  Object.defineProperty(exports, "isSmsMessageRecord", { enumerable: true, get: function () { return SmsMessageRecord_1.isSmsMessageRecord; } });
229
- var PaymentMethodRecord_1 = require("./PaymentMethodRecord");
230
- Object.defineProperty(exports, "PaymentMethodRecord", { enumerable: true, get: function () { return PaymentMethodRecord_1.PaymentMethodRecord; } });
231
- Object.defineProperty(exports, "isPaymentMethodRecord", { enumerable: true, get: function () { return PaymentMethodRecord_1.isPaymentMethodRecord; } });
232
232
  var PgContactRecord_1 = require("./PgContactRecord");
233
233
  Object.defineProperty(exports, "PgContactRecord", { enumerable: true, get: function () { return PgContactRecord_1.PgContactRecord; } });
234
234
  Object.defineProperty(exports, "isPgContactRecord", { enumerable: true, get: function () { return PgContactRecord_1.isPgContactRecord; } });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@d19n/youfibre-odin-sdk",
3
- "version": "2.0.323",
3
+ "version": "2.0.325",
4
4
  "description": "",
5
5
  "author": "@d19n",
6
6
  "license": "UNLICENSED",