@d19n/youfibre-odin-sdk 1.0.352 → 1.0.355

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
@@ -1117,6 +1117,7 @@ This SDK includes **539** actions.
1117
1117
  | Action | Type | Event |
1118
1118
  |--------|------|-------|
1119
1119
  | `CreateContact` | CREATE | k1.t-hEOJjsDb.CrmModule.Contact.Create.CreateContact |
1120
+ | `CreateContactFromBrsk` | CREATE | k1.t-hEOJjsDb.CrmModule.Contact.Create.CreateContactFromBrsk |
1120
1121
  | `UpdateAdditionalCare` | UPDATE | k1.t-hEOJjsDb.CrmModule.Contact.Update.UpdateAdditionalCare |
1121
1122
  | `UpdateContact` | UPDATE | k1.t-hEOJjsDb.CrmModule.Contact.Update.UpdateContact |
1122
1123
  | `UpdateReferralCode` | UPDATE | k1.t-hEOJjsDb.CrmModule.Contact.Update.UpdateReferralCode |
@@ -1336,9 +1337,8 @@ This SDK includes **539** actions.
1336
1337
  | `MovePgPaymentMethodToActive` | STAGE_TRANSITION | k1.t-hEOJjsDb.BillingModule.PgPaymentMethod.Transition.MovePgPaymentMethodToActive |
1337
1338
  | `MovePgPaymentMethodToAllocated` | STAGE_TRANSITION | k1.t-hEOJjsDb.BillingModule.PgPaymentMethod.Transition.MovePgPaymentMethodToAllocated |
1338
1339
  | `MovePgPaymentMethodToCancellationPending` | STAGE_TRANSITION | k1.t-hEOJjsDb.BillingModule.PgPaymentMethod.Transition.MovePgPaymentMethodToCancellationPending |
1340
+ | `MovePgPaymentMethodToCancellationRequested` | STAGE_TRANSITION | k1.t-hEOJjsDb.BillingModule.PgPaymentMethod.Transition.MovePgPaymentMethodToCancellationRequested |
1339
1341
  | `MovePgPaymentMethodToCancelled` | STAGE_TRANSITION | k1.t-hEOJjsDb.BillingModule.PgPaymentMethod.Transition.MovePgPaymentMethodToCancelled |
1340
- | `MovePgPaymentMethodToFailedFormatting` | STAGE_TRANSITION | k1.t-hEOJjsDb.BillingModule.PgPaymentMethod.Transition.MovePgPaymentMethodToFailedFormatting |
1341
- | `MovePgPaymentMethodToFailedSubmission` | STAGE_TRANSITION | k1.t-hEOJjsDb.BillingModule.PgPaymentMethod.Transition.MovePgPaymentMethodToFailedSubmission |
1342
1342
  | `MovePgPaymentMethodToFileRejected` | STAGE_TRANSITION | k1.t-hEOJjsDb.BillingModule.PgPaymentMethod.Transition.MovePgPaymentMethodToFileRejected |
1343
1343
  | `MovePgPaymentMethodToInstructionRejected` | STAGE_TRANSITION | k1.t-hEOJjsDb.BillingModule.PgPaymentMethod.Transition.MovePgPaymentMethodToInstructionRejected |
1344
1344
  | `MovePgPaymentMethodToInvalid` | STAGE_TRANSITION | k1.t-hEOJjsDb.BillingModule.PgPaymentMethod.Transition.MovePgPaymentMethodToInvalid |
@@ -1361,11 +1361,9 @@ This SDK includes **539** actions.
1361
1361
 
1362
1362
  **MovePgPaymentMethodToCancellationPending Target Stages:** `StatusStageCancellationPending`
1363
1363
 
1364
- **MovePgPaymentMethodToCancelled Target Stages:** `StatusStageCancelled`
1365
-
1366
- **MovePgPaymentMethodToFailedFormatting Target Stages:** `StatusStageFailedFormatting`
1364
+ **MovePgPaymentMethodToCancellationRequested Target Stages:** `StatusStageCancellationRequested`
1367
1365
 
1368
- **MovePgPaymentMethodToFailedSubmission Target Stages:** `StatusStageFailedSubmission`
1366
+ **MovePgPaymentMethodToCancelled Target Stages:** `StatusStageCancelled`
1369
1367
 
1370
1368
  **MovePgPaymentMethodToFileRejected Target Stages:** `StatusStageFileRejected`
1371
1369
 
@@ -0,0 +1,107 @@
1
+ /**
2
+ * CreateContactFromBrsk Action DTO
3
+ *
4
+ * CreateContactFromBrsk
5
+ *
6
+ * @module CrmModule
7
+ * @entity Contact
8
+ * @actionKey CreateContactFromBrsk
9
+ * @event k1.t-hEOJjsDb.CrmModule.Contact.Create.CreateContactFromBrsk
10
+ *
11
+ * AUTO-GENERATED - DO NOT EDIT DIRECTLY
12
+ */
13
+ import { OdinRecordCreateDto, OdinRecordCreatedEvent } from '@d19n/odin-types/dist/core';
14
+ /**
15
+ * RabbitMQ message payload for CreateContactFromBrsk created events
16
+ *
17
+ * @event k1.t-hEOJjsDb.CrmModule.Contact.Create.CreateContactFromBrsk
18
+ */
19
+ export interface CreateContactFromBrskMessage extends OdinRecordCreatedEvent<CreateContactFromBrskDto, CreateContactFromBrskProperties> {
20
+ }
21
+ /**
22
+ * Properties for CreateContactFromBrsk action
23
+ *
24
+ * @property Required fields: 0
25
+ * @property Optional fields: 7
26
+ */
27
+ export interface CreateContactFromBrskProperties {
28
+ /**
29
+ * External Reference
30
+ *
31
+ * External Reference
32
+ * @type {TEXT}
33
+ */
34
+ ExternalReference?: string | null;
35
+ /**
36
+ * email address
37
+ *
38
+ * Contacts Email Address (Sales - Contact)
39
+ * @type {EMAIL}
40
+ */
41
+ EmailAddress?: string | null;
42
+ /**
43
+ * first name
44
+ *
45
+ * Contacts First Name (Sales - Contact)
46
+ * @type {TEXT}
47
+ */
48
+ FirstName?: string | null;
49
+ /**
50
+ * last name
51
+ *
52
+ * Contacts Last Name (Sales - Contact)
53
+ * @type {TEXT}
54
+ */
55
+ LastName?: string | null;
56
+ /**
57
+ * phone
58
+ *
59
+ * Phone number (Sales - Contact)
60
+ * @type {PHONE_NUMBER}
61
+ */
62
+ Phone?: string | null;
63
+ /**
64
+ * Additional Care Required?
65
+ *
66
+ * Marks if the customer requires additional care (Ofcom vulnerable customer handling). (Sales - Contact)
67
+ * @type {BOOLEAN}
68
+ */
69
+ AdditionalCareRequired?: boolean | null;
70
+ /**
71
+ * I am happy to hear from YouFibre by email, WhatsApp and SMS about YouFibre’s broadband packages and any special offers. I am aware that I can opt-out at any time. For details on how we manage your data, please see our privacy policy.
72
+ *
73
+ * Marketing Consent (Sales - Contact)
74
+ * @type {BOOLEAN}
75
+ */
76
+ MarketingConsent?: boolean | null;
77
+ }
78
+ /**
79
+ * CreateContactFromBrsk
80
+ *
81
+ * @actionType CREATE - Creates a new Contact record
82
+ * @module CrmModule
83
+ * @entity Contact
84
+ * @event k1.t-hEOJjsDb.CrmModule.Contact.Create.CreateContactFromBrsk
85
+ * @permission schema.action.createcontactfrombrsk.trigger
86
+ * @benchmark This action is tracked for performance benchmarks
87
+ */
88
+ export declare class CreateContactFromBrskDto extends OdinRecordCreateDto<CreateContactFromBrskProperties> {
89
+ /** Used by SDK generators to identify action type */
90
+ static readonly ACTION_TYPE = "CREATE";
91
+ static readonly ACTION_KEY = "CreateContactFromBrsk";
92
+ static readonly MODULE_NAME = "CrmModule";
93
+ static readonly ENTITIES: string[];
94
+ static readonly EVENT_NAME = "k1.t-hEOJjsDb.CrmModule.Contact.Create.CreateContactFromBrsk";
95
+ static readonly PERMISSION = "schema.action.createcontactfrombrsk.trigger";
96
+ /** Step metadata - entity this action targets */
97
+ static readonly STEP_ENTITY = "CrmModule:Contact";
98
+ static readonly STEP_SCHEMA_ID = "ff4313f0-9929-4481-bdf4-c90ff9624014";
99
+ static readonly STEP_SCHEMA_ACTION_ID = "d559c9ed-5798-4eb9-b315-3e0a602283a7";
100
+ static readonly AUTO_LINK_PARENT = true;
101
+ readonly actionName: string;
102
+ readonly schemaActionId: string;
103
+ readonly entity: string;
104
+ constructor(properties: CreateContactFromBrskProperties, options?: {
105
+ journeyId?: string;
106
+ });
107
+ }
@@ -0,0 +1,52 @@
1
+ "use strict";
2
+ /**
3
+ * CreateContactFromBrsk Action DTO
4
+ *
5
+ * CreateContactFromBrsk
6
+ *
7
+ * @module CrmModule
8
+ * @entity Contact
9
+ * @actionKey CreateContactFromBrsk
10
+ * @event k1.t-hEOJjsDb.CrmModule.Contact.Create.CreateContactFromBrsk
11
+ *
12
+ * AUTO-GENERATED - DO NOT EDIT DIRECTLY
13
+ */
14
+ Object.defineProperty(exports, "__esModule", { value: true });
15
+ exports.CreateContactFromBrskDto = void 0;
16
+ const core_1 = require("@d19n/odin-types/dist/core");
17
+ /**
18
+ * CreateContactFromBrsk
19
+ *
20
+ * @actionType CREATE - Creates a new Contact record
21
+ * @module CrmModule
22
+ * @entity Contact
23
+ * @event k1.t-hEOJjsDb.CrmModule.Contact.Create.CreateContactFromBrsk
24
+ * @permission schema.action.createcontactfrombrsk.trigger
25
+ * @benchmark This action is tracked for performance benchmarks
26
+ */
27
+ class CreateContactFromBrskDto extends core_1.OdinRecordCreateDto {
28
+ constructor(properties, options) {
29
+ super({
30
+ entity: 'CrmModule:Contact',
31
+ type: undefined,
32
+ properties,
33
+ journeyId: options === null || options === void 0 ? void 0 : options.journeyId,
34
+ });
35
+ this.actionName = 'CreateContactFromBrsk';
36
+ this.schemaActionId = 'd559c9ed-5798-4eb9-b315-3e0a602283a7';
37
+ this.entity = 'CrmModule:Contact';
38
+ }
39
+ }
40
+ exports.CreateContactFromBrskDto = CreateContactFromBrskDto;
41
+ /** Used by SDK generators to identify action type */
42
+ CreateContactFromBrskDto.ACTION_TYPE = 'CREATE';
43
+ CreateContactFromBrskDto.ACTION_KEY = 'CreateContactFromBrsk';
44
+ CreateContactFromBrskDto.MODULE_NAME = 'CrmModule';
45
+ CreateContactFromBrskDto.ENTITIES = ['Contact'];
46
+ CreateContactFromBrskDto.EVENT_NAME = 'k1.t-hEOJjsDb.CrmModule.Contact.Create.CreateContactFromBrsk';
47
+ CreateContactFromBrskDto.PERMISSION = 'schema.action.createcontactfrombrsk.trigger';
48
+ /** Step metadata - entity this action targets */
49
+ CreateContactFromBrskDto.STEP_ENTITY = 'CrmModule:Contact';
50
+ CreateContactFromBrskDto.STEP_SCHEMA_ID = 'ff4313f0-9929-4481-bdf4-c90ff9624014';
51
+ CreateContactFromBrskDto.STEP_SCHEMA_ACTION_ID = 'd559c9ed-5798-4eb9-b315-3e0a602283a7';
52
+ CreateContactFromBrskDto.AUTO_LINK_PARENT = true;
@@ -0,0 +1,70 @@
1
+ /**
2
+ * MovePgPaymentMethodToCancellationRequested Action DTO
3
+ *
4
+ * Move PG Payment Method To Cancellation Requested
5
+ *
6
+ * @module BillingModule
7
+ * @entity PgPaymentMethod
8
+ * @entityType DEFAULT
9
+ * @actionKey MovePgPaymentMethodToCancellationRequested
10
+ * @event k1.t-hEOJjsDb.BillingModule.PgPaymentMethod.Transition.MovePgPaymentMethodToCancellationRequested
11
+ *
12
+ * AUTO-GENERATED - DO NOT EDIT DIRECTLY
13
+ */
14
+ import { OdinRecord, OdinRecordUpdateDto, OdinRecordUpdatedEvent } from '@d19n/odin-types/dist/core';
15
+ /**
16
+ * RabbitMQ message payload for MovePgPaymentMethodToCancellationRequested step flow events
17
+ *
18
+ * @event k1.t-hEOJjsDb.BillingModule.PgPaymentMethod.Transition.MovePgPaymentMethodToCancellationRequested
19
+ */
20
+ export interface MovePgPaymentMethodToCancellationRequestedMessage extends OdinRecordUpdatedEvent<MovePgPaymentMethodToCancellationRequestedDto, {}> {
21
+ }
22
+ /**
23
+ * Properties for MovePgPaymentMethodToCancellationRequested action
24
+ *
25
+ */
26
+ export interface MovePgPaymentMethodToCancellationRequestedProperties {
27
+ }
28
+ /**
29
+ * MovePgPaymentMethodToCancellationRequested
30
+ *
31
+ * Move PG Payment Method To Cancellation Requested
32
+ *
33
+ * @actionType STAGE_TRANSITION - Transitions record to new pipeline stage
34
+ * @module BillingModule
35
+ * @entity PgPaymentMethod
36
+ * @entityType DEFAULT (Default)
37
+ * @targetStages StatusStageCancellationRequested
38
+ * @event k1.t-hEOJjsDb.BillingModule.PgPaymentMethod.Transition.MovePgPaymentMethodToCancellationRequested
39
+ * @permission schema.action.movepgpaymentmethodtocancellationrequested.trigger
40
+ * @benchmark This action is tracked for performance benchmarks
41
+ */
42
+ export declare class MovePgPaymentMethodToCancellationRequestedDto extends OdinRecordUpdateDto<Record<string, any>> {
43
+ /** Used by SDK generators to identify action type */
44
+ static readonly ACTION_TYPE = "UPDATE";
45
+ static readonly ACTION_KEY = "MovePgPaymentMethodToCancellationRequested";
46
+ static readonly MODULE_NAME = "BillingModule";
47
+ static readonly ENTITIES: string[];
48
+ static readonly ENTITY_TYPE = "DEFAULT";
49
+ static readonly EVENT_NAME = "k1.t-hEOJjsDb.BillingModule.PgPaymentMethod.Transition.MovePgPaymentMethodToCancellationRequested";
50
+ static readonly SCHEMA_ACTION_ID = "c74f742e-e8c6-4ade-82cd-2feec7ee324a";
51
+ static readonly PERMISSION = "schema.action.movepgpaymentmethodtocancellationrequested.trigger";
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;
56
+ readonly actionName: string;
57
+ readonly schemaActionId: string;
58
+ readonly entity: string;
59
+ readonly stageKey: string;
60
+ constructor(record: OdinRecord<any> | {
61
+ id: string;
62
+ entity: string;
63
+ type?: string;
64
+ }, options?: {
65
+ journeyId?: string;
66
+ });
67
+ /** Step classes that can be used with this action */
68
+ static readonly stepClasses: readonly [];
69
+ steps: [];
70
+ }
@@ -0,0 +1,62 @@
1
+ "use strict";
2
+ /**
3
+ * MovePgPaymentMethodToCancellationRequested Action DTO
4
+ *
5
+ * Move PG Payment Method To Cancellation Requested
6
+ *
7
+ * @module BillingModule
8
+ * @entity PgPaymentMethod
9
+ * @entityType DEFAULT
10
+ * @actionKey MovePgPaymentMethodToCancellationRequested
11
+ * @event k1.t-hEOJjsDb.BillingModule.PgPaymentMethod.Transition.MovePgPaymentMethodToCancellationRequested
12
+ *
13
+ * AUTO-GENERATED - DO NOT EDIT DIRECTLY
14
+ */
15
+ Object.defineProperty(exports, "__esModule", { value: true });
16
+ exports.MovePgPaymentMethodToCancellationRequestedDto = void 0;
17
+ const core_1 = require("@d19n/odin-types/dist/core");
18
+ /**
19
+ * MovePgPaymentMethodToCancellationRequested
20
+ *
21
+ * Move PG Payment Method To Cancellation Requested
22
+ *
23
+ * @actionType STAGE_TRANSITION - Transitions record to new pipeline stage
24
+ * @module BillingModule
25
+ * @entity PgPaymentMethod
26
+ * @entityType DEFAULT (Default)
27
+ * @targetStages StatusStageCancellationRequested
28
+ * @event k1.t-hEOJjsDb.BillingModule.PgPaymentMethod.Transition.MovePgPaymentMethodToCancellationRequested
29
+ * @permission schema.action.movepgpaymentmethodtocancellationrequested.trigger
30
+ * @benchmark This action is tracked for performance benchmarks
31
+ */
32
+ class MovePgPaymentMethodToCancellationRequestedDto extends core_1.OdinRecordUpdateDto {
33
+ constructor(record, options) {
34
+ super({
35
+ id: record.id,
36
+ entity: record.entity,
37
+ type: record.type,
38
+ properties: {},
39
+ journeyId: options === null || options === void 0 ? void 0 : options.journeyId,
40
+ });
41
+ this.actionName = 'MovePgPaymentMethodToCancellationRequested';
42
+ this.schemaActionId = 'c74f742e-e8c6-4ade-82cd-2feec7ee324a';
43
+ this.entity = 'BillingModule:PgPaymentMethod';
44
+ this.stageKey = 'StatusStageCancellationRequested';
45
+ }
46
+ }
47
+ exports.MovePgPaymentMethodToCancellationRequestedDto = MovePgPaymentMethodToCancellationRequestedDto;
48
+ /** Used by SDK generators to identify action type */
49
+ MovePgPaymentMethodToCancellationRequestedDto.ACTION_TYPE = 'UPDATE';
50
+ MovePgPaymentMethodToCancellationRequestedDto.ACTION_KEY = 'MovePgPaymentMethodToCancellationRequested';
51
+ MovePgPaymentMethodToCancellationRequestedDto.MODULE_NAME = 'BillingModule';
52
+ MovePgPaymentMethodToCancellationRequestedDto.ENTITIES = ['PgPaymentMethod'];
53
+ MovePgPaymentMethodToCancellationRequestedDto.ENTITY_TYPE = 'DEFAULT';
54
+ MovePgPaymentMethodToCancellationRequestedDto.EVENT_NAME = 'k1.t-hEOJjsDb.BillingModule.PgPaymentMethod.Transition.MovePgPaymentMethodToCancellationRequested';
55
+ MovePgPaymentMethodToCancellationRequestedDto.SCHEMA_ACTION_ID = 'c74f742e-e8c6-4ade-82cd-2feec7ee324a';
56
+ MovePgPaymentMethodToCancellationRequestedDto.PERMISSION = 'schema.action.movepgpaymentmethodtocancellationrequested.trigger';
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 = [];
@@ -360,7 +360,9 @@ export declare enum ContactPropertyKeys {
360
360
  /** The date that the customer signed up or registered to the customer platforms (Sales - Contact) */
361
361
  ActivationDate = "ActivationDate",
362
362
  /** Is the customer medically dependant on their broadband (Sales - Contact) */
363
- MedicallyDependant = "MedicallyDependant"
363
+ MedicallyDependant = "MedicallyDependant",
364
+ /** External Reference */
365
+ ExternalReference = "ExternalReference"
364
366
  }
365
367
  /**
366
368
  * Properties for Contact records
@@ -679,6 +681,11 @@ export interface ContactProperties {
679
681
  * @default FALSE
680
682
  */
681
683
  MedicallyDependant: boolean;
684
+ /** External Reference
685
+ *
686
+ * @type {TEXT}
687
+ */
688
+ ExternalReference: string;
682
689
  }
683
690
  /**
684
691
  * Contact entity from CrmModule
@@ -344,6 +344,8 @@ var ContactPropertyKeys;
344
344
  ContactPropertyKeys["ActivationDate"] = "ActivationDate";
345
345
  /** Is the customer medically dependant on their broadband (Sales - Contact) */
346
346
  ContactPropertyKeys["MedicallyDependant"] = "MedicallyDependant";
347
+ /** External Reference */
348
+ ContactPropertyKeys["ExternalReference"] = "ExternalReference";
347
349
  })(ContactPropertyKeys = exports.ContactPropertyKeys || (exports.ContactPropertyKeys = {}));
348
350
  /**
349
351
  * Contact entity from CrmModule
@@ -34,20 +34,26 @@ export declare enum DefaultPgPaymentMethodStageNames {
34
34
  Allocated = "Allocated",
35
35
  /** Submitted */
36
36
  Submitted = "Submitted",
37
+ /** Acknowledged */
38
+ Acknowledged = "Acknowledged",
37
39
  /** Processing */
38
40
  Processing = "Processing",
39
41
  /** Validated */
40
42
  Validated = "Validated",
41
43
  /** Active (success) */
42
44
  Active = "Active",
45
+ /** Cancellation Requested */
46
+ CancellationRequested = "Cancellation Requested",
43
47
  /** Cancellation Pending */
44
48
  CancellationPending = "Cancellation Pending",
45
49
  /** Cancelled */
46
50
  Cancelled = "Cancelled",
47
- /** Failed Submission */
48
- FailedSubmission = "Failed Submission",
49
- /** Failed Formatting */
50
- FailedFormatting = "Failed Formatting",
51
+ /** Submission Failed */
52
+ SubmissionFailed = "Submission Failed",
53
+ /** File Rejected */
54
+ FileRejected = "File Rejected",
55
+ /** Instruction Rejected */
56
+ InstructionRejected = "Instruction Rejected",
51
57
  /** Invalid (fail) */
52
58
  Invalid = "Invalid"
53
59
  }
@@ -62,20 +68,26 @@ export declare enum DefaultPgPaymentMethodStageKeys {
62
68
  StatusStageAllocated = "StatusStageAllocated",
63
69
  /** Submitted */
64
70
  StatusStageSubmitted = "StatusStageSubmitted",
71
+ /** Acknowledged */
72
+ StatusStageAcknowledged = "StatusStageAcknowledged",
65
73
  /** Processing */
66
74
  StatusStageProcessing = "StatusStageProcessing",
67
75
  /** Validated */
68
76
  StatusStageValidated = "StatusStageValidated",
69
77
  /** Active */
70
78
  StatusStageActive = "StatusStageActive",
79
+ /** Cancellation Requested */
80
+ StatusStageCancellationRequested = "StatusStageCancellationRequested",
71
81
  /** Cancellation Pending */
72
82
  StatusStageCancellationPending = "StatusStageCancellationPending",
73
83
  /** Cancelled */
74
84
  StatusStageCancelled = "StatusStageCancelled",
75
- /** Failed Submission */
76
- StatusStageFailedSubmission = "StatusStageFailedSubmission",
77
- /** Failed Formatting */
78
- StatusStageFailedFormatting = "StatusStageFailedFormatting",
85
+ /** Submission Failed */
86
+ StatusStageSubmissionFailed = "StatusStageSubmissionFailed",
87
+ /** File Rejected */
88
+ StatusStageFileRejected = "StatusStageFileRejected",
89
+ /** Instruction Rejected */
90
+ StatusStageInstructionRejected = "StatusStageInstructionRejected",
79
91
  /** Invalid */
80
92
  StatusStageInvalid = "StatusStageInvalid"
81
93
  }
@@ -35,20 +35,26 @@ var DefaultPgPaymentMethodStageNames;
35
35
  DefaultPgPaymentMethodStageNames["Allocated"] = "Allocated";
36
36
  /** Submitted */
37
37
  DefaultPgPaymentMethodStageNames["Submitted"] = "Submitted";
38
+ /** Acknowledged */
39
+ DefaultPgPaymentMethodStageNames["Acknowledged"] = "Acknowledged";
38
40
  /** Processing */
39
41
  DefaultPgPaymentMethodStageNames["Processing"] = "Processing";
40
42
  /** Validated */
41
43
  DefaultPgPaymentMethodStageNames["Validated"] = "Validated";
42
44
  /** Active (success) */
43
45
  DefaultPgPaymentMethodStageNames["Active"] = "Active";
46
+ /** Cancellation Requested */
47
+ DefaultPgPaymentMethodStageNames["CancellationRequested"] = "Cancellation Requested";
44
48
  /** Cancellation Pending */
45
49
  DefaultPgPaymentMethodStageNames["CancellationPending"] = "Cancellation Pending";
46
50
  /** Cancelled */
47
51
  DefaultPgPaymentMethodStageNames["Cancelled"] = "Cancelled";
48
- /** Failed Submission */
49
- DefaultPgPaymentMethodStageNames["FailedSubmission"] = "Failed Submission";
50
- /** Failed Formatting */
51
- DefaultPgPaymentMethodStageNames["FailedFormatting"] = "Failed Formatting";
52
+ /** Submission Failed */
53
+ DefaultPgPaymentMethodStageNames["SubmissionFailed"] = "Submission Failed";
54
+ /** File Rejected */
55
+ DefaultPgPaymentMethodStageNames["FileRejected"] = "File Rejected";
56
+ /** Instruction Rejected */
57
+ DefaultPgPaymentMethodStageNames["InstructionRejected"] = "Instruction Rejected";
52
58
  /** Invalid (fail) */
53
59
  DefaultPgPaymentMethodStageNames["Invalid"] = "Invalid";
54
60
  })(DefaultPgPaymentMethodStageNames = exports.DefaultPgPaymentMethodStageNames || (exports.DefaultPgPaymentMethodStageNames = {}));
@@ -64,20 +70,26 @@ var DefaultPgPaymentMethodStageKeys;
64
70
  DefaultPgPaymentMethodStageKeys["StatusStageAllocated"] = "StatusStageAllocated";
65
71
  /** Submitted */
66
72
  DefaultPgPaymentMethodStageKeys["StatusStageSubmitted"] = "StatusStageSubmitted";
73
+ /** Acknowledged */
74
+ DefaultPgPaymentMethodStageKeys["StatusStageAcknowledged"] = "StatusStageAcknowledged";
67
75
  /** Processing */
68
76
  DefaultPgPaymentMethodStageKeys["StatusStageProcessing"] = "StatusStageProcessing";
69
77
  /** Validated */
70
78
  DefaultPgPaymentMethodStageKeys["StatusStageValidated"] = "StatusStageValidated";
71
79
  /** Active */
72
80
  DefaultPgPaymentMethodStageKeys["StatusStageActive"] = "StatusStageActive";
81
+ /** Cancellation Requested */
82
+ DefaultPgPaymentMethodStageKeys["StatusStageCancellationRequested"] = "StatusStageCancellationRequested";
73
83
  /** Cancellation Pending */
74
84
  DefaultPgPaymentMethodStageKeys["StatusStageCancellationPending"] = "StatusStageCancellationPending";
75
85
  /** Cancelled */
76
86
  DefaultPgPaymentMethodStageKeys["StatusStageCancelled"] = "StatusStageCancelled";
77
- /** Failed Submission */
78
- DefaultPgPaymentMethodStageKeys["StatusStageFailedSubmission"] = "StatusStageFailedSubmission";
79
- /** Failed Formatting */
80
- DefaultPgPaymentMethodStageKeys["StatusStageFailedFormatting"] = "StatusStageFailedFormatting";
87
+ /** Submission Failed */
88
+ DefaultPgPaymentMethodStageKeys["StatusStageSubmissionFailed"] = "StatusStageSubmissionFailed";
89
+ /** File Rejected */
90
+ DefaultPgPaymentMethodStageKeys["StatusStageFileRejected"] = "StatusStageFileRejected";
91
+ /** Instruction Rejected */
92
+ DefaultPgPaymentMethodStageKeys["StatusStageInstructionRejected"] = "StatusStageInstructionRejected";
81
93
  /** Invalid */
82
94
  DefaultPgPaymentMethodStageKeys["StatusStageInvalid"] = "StatusStageInvalid";
83
95
  })(DefaultPgPaymentMethodStageKeys = exports.DefaultPgPaymentMethodStageKeys || (exports.DefaultPgPaymentMethodStageKeys = {}));
@@ -24,6 +24,7 @@ import { ContactProperties } from '../entities-v2/Contact';
24
24
  import { CreateCaseProperties } from '../actions-v2/CreateCaseFromContactDto';
25
25
  import { AssignCaseProperties } from '../actions-v2/CreateCaseFromContactDto';
26
26
  import { CreateContactProperties } from '../actions-v2/CreateContactDto';
27
+ import { CreateContactFromBrskProperties } from '../actions-v2/CreateContactFromBrskDto';
27
28
  import { UpdateAdditionalCareProperties } from '../actions-v2/UpdateAdditionalCareDto';
28
29
  import { UpdateContactProperties } from '../actions-v2/UpdateContactDto';
29
30
  import { UpdateReferralCodeProperties } from '../actions-v2/UpdateReferralCodeDto';
@@ -724,6 +725,34 @@ export declare class ContactRecord<TProps = ContactProperties> {
724
725
  journeyId?: string;
725
726
  stageKey?: string;
726
727
  }): ActionBuilder;
728
+ /**
729
+ * CreateContactFromBrsk
730
+ *
731
+ * Creates a new Contact record with the specified properties.
732
+ * Returns an ActionBuilder - call .execute() to create or .dryRun() for debugging.
733
+ *
734
+ * @param properties - The properties for the new record
735
+ * @param options - Optional settings
736
+ * @param options.type - Override the record type
737
+ * @param options.journeyId - Associate with a journey
738
+ * @param options.stageKey - Set initial pipeline stage
739
+ * @returns ActionBuilder - call .execute() to create or .dryRun() for payload
740
+ *
741
+ * @example
742
+ * ```typescript
743
+ * // Create with properties
744
+ * const record = odinClient.contacts.new();
745
+ * await record.createContactFromBrsk({ ... }).execute();
746
+ *
747
+ * // Dry run (for debugging)
748
+ * const payload = record.createContactFromBrsk({ ... }).dryRun();
749
+ * ```
750
+ */
751
+ createContactFromBrsk(properties?: CreateContactFromBrskProperties, options?: {
752
+ type?: string;
753
+ journeyId?: string;
754
+ stageKey?: string;
755
+ }): ActionBuilder;
727
756
  /**
728
757
  * CreateCaseFromContact
729
758
  *
@@ -1118,6 +1118,42 @@ class ContactRecord {
1118
1118
  };
1119
1119
  return new ActionBuilder(this._provider, 'CrmModule', 'Contact', payload, () => { this._pendingLinks = []; });
1120
1120
  }
1121
+ /**
1122
+ * CreateContactFromBrsk
1123
+ *
1124
+ * Creates a new Contact record with the specified properties.
1125
+ * Returns an ActionBuilder - call .execute() to create or .dryRun() for debugging.
1126
+ *
1127
+ * @param properties - The properties for the new record
1128
+ * @param options - Optional settings
1129
+ * @param options.type - Override the record type
1130
+ * @param options.journeyId - Associate with a journey
1131
+ * @param options.stageKey - Set initial pipeline stage
1132
+ * @returns ActionBuilder - call .execute() to create or .dryRun() for payload
1133
+ *
1134
+ * @example
1135
+ * ```typescript
1136
+ * // Create with properties
1137
+ * const record = odinClient.contacts.new();
1138
+ * await record.createContactFromBrsk({ ... }).execute();
1139
+ *
1140
+ * // Dry run (for debugging)
1141
+ * const payload = record.createContactFromBrsk({ ... }).dryRun();
1142
+ * ```
1143
+ */
1144
+ createContactFromBrsk(properties, options) {
1145
+ var _a, _b;
1146
+ const payload = {
1147
+ entity: 'CrmModule:Contact',
1148
+ type: (_a = options === null || options === void 0 ? void 0 : options.type) !== null && _a !== void 0 ? _a : (_b = this._record) === null || _b === void 0 ? void 0 : _b.type,
1149
+ actionName: 'CreateContactFromBrsk',
1150
+ properties: properties || {},
1151
+ associations: this._pendingLinks.length > 0 ? this._pendingLinks : undefined,
1152
+ journeyId: options === null || options === void 0 ? void 0 : options.journeyId,
1153
+ stageKey: options === null || options === void 0 ? void 0 : options.stageKey,
1154
+ };
1155
+ return new ActionBuilder(this._provider, 'CrmModule', 'Contact', payload, () => { this._pendingLinks = []; });
1156
+ }
1121
1157
  // ============================================
1122
1158
  // UPDATE ACTIONS (require existing record)
1123
1159
  // ============================================
@@ -338,37 +338,12 @@ export declare class PgPaymentMethodRecord<TProps = PgPaymentMethodProperties> {
338
338
  journeyId?: string;
339
339
  }): ActionBuilder;
340
340
  /**
341
- * MovePgPaymentMethodToCancelled
342
- *
343
- * Transitions this PgPaymentMethod record to a new pipeline stage.
344
- * Returns an ActionBuilder - call .execute() to transition or .dryRun() for debugging.
345
- *
346
- * @remarks Transitions to stage: StatusStageCancelled
347
- *
348
- * @param options - Optional settings
349
- * @param options.journeyId - Associate with a journey
350
- * @returns ActionBuilder - call .execute() to transition or .dryRun() for payload
351
- * @throws Error if called on a new (unsaved) record
352
- *
353
- * @example
354
- * ```typescript
355
- * const record = await odinClient.pgPaymentMethods.get(id);
356
- * await record.movePgPaymentMethodToCancelled().execute();
357
- *
358
- * // Dry run (for debugging)
359
- * const payload = record.movePgPaymentMethodToCancelled().dryRun();
360
- * ```
361
- */
362
- movePgPaymentMethodToCancelled(options?: {
363
- journeyId?: string;
364
- }): ActionBuilder;
365
- /**
366
- * MovePgPaymentMethodToFailedFormatting
341
+ * MovePgPaymentMethodToCancellationRequested
367
342
  *
368
343
  * Transitions this PgPaymentMethod record to a new pipeline stage.
369
344
  * Returns an ActionBuilder - call .execute() to transition or .dryRun() for debugging.
370
345
  *
371
- * @remarks Transitions to stage: StatusStageFailedFormatting
346
+ * @remarks Transitions to stage: StatusStageCancellationRequested
372
347
  *
373
348
  * @param options - Optional settings
374
349
  * @param options.journeyId - Associate with a journey
@@ -378,22 +353,22 @@ export declare class PgPaymentMethodRecord<TProps = PgPaymentMethodProperties> {
378
353
  * @example
379
354
  * ```typescript
380
355
  * const record = await odinClient.pgPaymentMethods.get(id);
381
- * await record.movePgPaymentMethodToFailedFormatting().execute();
356
+ * await record.movePgPaymentMethodToCancellationRequested().execute();
382
357
  *
383
358
  * // Dry run (for debugging)
384
- * const payload = record.movePgPaymentMethodToFailedFormatting().dryRun();
359
+ * const payload = record.movePgPaymentMethodToCancellationRequested().dryRun();
385
360
  * ```
386
361
  */
387
- movePgPaymentMethodToFailedFormatting(options?: {
362
+ movePgPaymentMethodToCancellationRequested(options?: {
388
363
  journeyId?: string;
389
364
  }): ActionBuilder;
390
365
  /**
391
- * MovePgPaymentMethodToFailedSubmission
366
+ * MovePgPaymentMethodToCancelled
392
367
  *
393
368
  * Transitions this PgPaymentMethod record to a new pipeline stage.
394
369
  * Returns an ActionBuilder - call .execute() to transition or .dryRun() for debugging.
395
370
  *
396
- * @remarks Transitions to stage: StatusStageFailedSubmission
371
+ * @remarks Transitions to stage: StatusStageCancelled
397
372
  *
398
373
  * @param options - Optional settings
399
374
  * @param options.journeyId - Associate with a journey
@@ -403,13 +378,13 @@ export declare class PgPaymentMethodRecord<TProps = PgPaymentMethodProperties> {
403
378
  * @example
404
379
  * ```typescript
405
380
  * const record = await odinClient.pgPaymentMethods.get(id);
406
- * await record.movePgPaymentMethodToFailedSubmission().execute();
381
+ * await record.movePgPaymentMethodToCancelled().execute();
407
382
  *
408
383
  * // Dry run (for debugging)
409
- * const payload = record.movePgPaymentMethodToFailedSubmission().dryRun();
384
+ * const payload = record.movePgPaymentMethodToCancelled().dryRun();
410
385
  * ```
411
386
  */
412
- movePgPaymentMethodToFailedSubmission(options?: {
387
+ movePgPaymentMethodToCancelled(options?: {
413
388
  journeyId?: string;
414
389
  }): ActionBuilder;
415
390
  /**
@@ -444,41 +444,12 @@ class PgPaymentMethodRecord {
444
444
  return new ActionBuilder(this._provider, 'BillingModule', 'PgPaymentMethod', payload, () => { this._pendingLinks = []; });
445
445
  }
446
446
  /**
447
- * MovePgPaymentMethodToCancelled
448
- *
449
- * Transitions this PgPaymentMethod record to a new pipeline stage.
450
- * Returns an ActionBuilder - call .execute() to transition or .dryRun() for debugging.
451
- *
452
- * @remarks Transitions to stage: StatusStageCancelled
453
- *
454
- * @param options - Optional settings
455
- * @param options.journeyId - Associate with a journey
456
- * @returns ActionBuilder - call .execute() to transition or .dryRun() for payload
457
- * @throws Error if called on a new (unsaved) record
458
- *
459
- * @example
460
- * ```typescript
461
- * const record = await odinClient.pgPaymentMethods.get(id);
462
- * await record.movePgPaymentMethodToCancelled().execute();
463
- *
464
- * // Dry run (for debugging)
465
- * const payload = record.movePgPaymentMethodToCancelled().dryRun();
466
- * ```
467
- */
468
- movePgPaymentMethodToCancelled(options) {
469
- var _a;
470
- if (!((_a = this._record) === null || _a === void 0 ? void 0 : _a.id))
471
- throw new Error('movePgPaymentMethodToCancelled requires an existing record. Use accessor.get() first.');
472
- const payload = Object.assign({ id: this._record.id, entity: this._record.entity, type: this._record.type, actionName: 'MovePgPaymentMethodToCancelled', associations: this._pendingLinks.length > 0 ? this._pendingLinks : undefined, stageKey: 'StatusStageCancelled' }, options);
473
- return new ActionBuilder(this._provider, 'BillingModule', 'PgPaymentMethod', payload, () => { this._pendingLinks = []; });
474
- }
475
- /**
476
- * MovePgPaymentMethodToFailedFormatting
447
+ * MovePgPaymentMethodToCancellationRequested
477
448
  *
478
449
  * Transitions this PgPaymentMethod record to a new pipeline stage.
479
450
  * Returns an ActionBuilder - call .execute() to transition or .dryRun() for debugging.
480
451
  *
481
- * @remarks Transitions to stage: StatusStageFailedFormatting
452
+ * @remarks Transitions to stage: StatusStageCancellationRequested
482
453
  *
483
454
  * @param options - Optional settings
484
455
  * @param options.journeyId - Associate with a journey
@@ -488,26 +459,26 @@ class PgPaymentMethodRecord {
488
459
  * @example
489
460
  * ```typescript
490
461
  * const record = await odinClient.pgPaymentMethods.get(id);
491
- * await record.movePgPaymentMethodToFailedFormatting().execute();
462
+ * await record.movePgPaymentMethodToCancellationRequested().execute();
492
463
  *
493
464
  * // Dry run (for debugging)
494
- * const payload = record.movePgPaymentMethodToFailedFormatting().dryRun();
465
+ * const payload = record.movePgPaymentMethodToCancellationRequested().dryRun();
495
466
  * ```
496
467
  */
497
- movePgPaymentMethodToFailedFormatting(options) {
468
+ movePgPaymentMethodToCancellationRequested(options) {
498
469
  var _a;
499
470
  if (!((_a = this._record) === null || _a === void 0 ? void 0 : _a.id))
500
- throw new Error('movePgPaymentMethodToFailedFormatting requires an existing record. Use accessor.get() first.');
501
- const payload = Object.assign({ id: this._record.id, entity: this._record.entity, type: this._record.type, actionName: 'MovePgPaymentMethodToFailedFormatting', associations: this._pendingLinks.length > 0 ? this._pendingLinks : undefined, stageKey: 'StatusStageFailedFormatting' }, options);
471
+ throw new Error('movePgPaymentMethodToCancellationRequested requires an existing record. Use accessor.get() first.');
472
+ 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);
502
473
  return new ActionBuilder(this._provider, 'BillingModule', 'PgPaymentMethod', payload, () => { this._pendingLinks = []; });
503
474
  }
504
475
  /**
505
- * MovePgPaymentMethodToFailedSubmission
476
+ * MovePgPaymentMethodToCancelled
506
477
  *
507
478
  * Transitions this PgPaymentMethod record to a new pipeline stage.
508
479
  * Returns an ActionBuilder - call .execute() to transition or .dryRun() for debugging.
509
480
  *
510
- * @remarks Transitions to stage: StatusStageFailedSubmission
481
+ * @remarks Transitions to stage: StatusStageCancelled
511
482
  *
512
483
  * @param options - Optional settings
513
484
  * @param options.journeyId - Associate with a journey
@@ -517,17 +488,17 @@ class PgPaymentMethodRecord {
517
488
  * @example
518
489
  * ```typescript
519
490
  * const record = await odinClient.pgPaymentMethods.get(id);
520
- * await record.movePgPaymentMethodToFailedSubmission().execute();
491
+ * await record.movePgPaymentMethodToCancelled().execute();
521
492
  *
522
493
  * // Dry run (for debugging)
523
- * const payload = record.movePgPaymentMethodToFailedSubmission().dryRun();
494
+ * const payload = record.movePgPaymentMethodToCancelled().dryRun();
524
495
  * ```
525
496
  */
526
- movePgPaymentMethodToFailedSubmission(options) {
497
+ movePgPaymentMethodToCancelled(options) {
527
498
  var _a;
528
499
  if (!((_a = this._record) === null || _a === void 0 ? void 0 : _a.id))
529
- throw new Error('movePgPaymentMethodToFailedSubmission requires an existing record. Use accessor.get() first.');
530
- const payload = Object.assign({ id: this._record.id, entity: this._record.entity, type: this._record.type, actionName: 'MovePgPaymentMethodToFailedSubmission', associations: this._pendingLinks.length > 0 ? this._pendingLinks : undefined, stageKey: 'StatusStageFailedSubmission' }, options);
500
+ throw new Error('movePgPaymentMethodToCancelled requires an existing record. Use accessor.get() first.');
501
+ const payload = Object.assign({ id: this._record.id, entity: this._record.entity, type: this._record.type, actionName: 'MovePgPaymentMethodToCancelled', associations: this._pendingLinks.length > 0 ? this._pendingLinks : undefined, stageKey: 'StatusStageCancelled' }, options);
531
502
  return new ActionBuilder(this._provider, 'BillingModule', 'PgPaymentMethod', payload, () => { this._pendingLinks = []; });
532
503
  }
533
504
  /**
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@d19n/youfibre-odin-sdk",
3
- "version": "1.0.352",
3
+ "version": "1.0.355",
4
4
  "description": "",
5
5
  "author": "@d19n",
6
6
  "license": "UNLICENSED",
@@ -1,117 +0,0 @@
1
- /**
2
- * MovePgPaymentMethodToFailedFormatting Action DTO
3
- *
4
- * Move PG Payment Method To Failed Formatting
5
- *
6
- * @module BillingModule
7
- * @entity PgPaymentMethod
8
- * @entityType DEFAULT
9
- * @actionKey MovePgPaymentMethodToFailedFormatting
10
- * @event k1.t-hEOJjsDb.BillingModule.PgPaymentMethod.Transition.MovePgPaymentMethodToFailedFormatting
11
- *
12
- * AUTO-GENERATED - DO NOT EDIT DIRECTLY
13
- */
14
- import { OdinRecord, OdinRecordUpdateDto, OdinRecordUpdatedEvent } from '@d19n/odin-types/dist/core';
15
- declare type StepClassMap = {};
16
- /**
17
- * Link definition for connecting steps in MovePgPaymentMethodToFailedFormatting
18
- */
19
- export interface MovePgPaymentMethodToFailedFormattingStepLink {
20
- /**
21
- * The stepKey of the target step to link TO
22
- * Must reference another step's stepKey in the same flow
23
- */
24
- stepKey: string;
25
- /**
26
- * The schema association ID (UUID) defining the relationship
27
- * Use the association.id from the schema association definition
28
- * @example "a1b2c3d4-e5f6-7890-abcd-ef1234567890"
29
- */
30
- schemaAssociationId: string;
31
- }
32
- /**
33
- * Step definition with linking metadata for MovePgPaymentMethodToFailedFormatting
34
- */
35
- export interface MovePgPaymentMethodToFailedFormattingStepDefinition {
36
- /** Unique identifier for this step */
37
- stepKey: string;
38
- /** The DTO class name for this step */
39
- dtoClass: string;
40
- /** The entity this step creates (Module:Entity format) */
41
- entity: string;
42
- /** Links to create after this step executes */
43
- linksTo: MovePgPaymentMethodToFailedFormattingStepLink[] | null;
44
- }
45
- /**
46
- * Type-safe step keys for MovePgPaymentMethodToFailedFormatting
47
- */
48
- export declare const MovePgPaymentMethodToFailedFormattingSteps: {
49
- readonly step_1: "step_1";
50
- };
51
- export declare type MovePgPaymentMethodToFailedFormattingStepKey = typeof MovePgPaymentMethodToFailedFormattingSteps[keyof typeof MovePgPaymentMethodToFailedFormattingSteps];
52
- /**
53
- * RabbitMQ message payload for MovePgPaymentMethodToFailedFormatting step flow events
54
- *
55
- * @event k1.t-hEOJjsDb.BillingModule.PgPaymentMethod.Transition.MovePgPaymentMethodToFailedFormatting
56
- */
57
- export interface MovePgPaymentMethodToFailedFormattingMessage extends OdinRecordUpdatedEvent<MovePgPaymentMethodToFailedFormattingDto, {}> {
58
- }
59
- /**
60
- * Properties for MovePgPaymentMethodToFailedFormatting action
61
- *
62
- */
63
- export interface MovePgPaymentMethodToFailedFormattingProperties {
64
- }
65
- /**
66
- * MovePgPaymentMethodToFailedFormatting
67
- *
68
- * Move PG Payment Method To Failed Formatting
69
- *
70
- * @actionType STAGE_TRANSITION - Transitions record to new pipeline stage
71
- * @module BillingModule
72
- * @entity PgPaymentMethod
73
- * @entityType DEFAULT (Default)
74
- * @targetStages StatusStageFailedFormatting
75
- * @event k1.t-hEOJjsDb.BillingModule.PgPaymentMethod.Transition.MovePgPaymentMethodToFailedFormatting
76
- * @permission schema.action.movepgpaymentmethodtofailedformatting.trigger
77
- * @benchmark This action is tracked for performance benchmarks
78
- */
79
- export declare class MovePgPaymentMethodToFailedFormattingDto extends OdinRecordUpdateDto<Record<string, any>> {
80
- /** Used by SDK generators to identify action type */
81
- static readonly ACTION_TYPE = "UPDATE";
82
- static readonly ACTION_KEY = "MovePgPaymentMethodToFailedFormatting";
83
- static readonly MODULE_NAME = "BillingModule";
84
- static readonly ENTITIES: string[];
85
- static readonly ENTITY_TYPE = "DEFAULT";
86
- static readonly EVENT_NAME = "k1.t-hEOJjsDb.BillingModule.PgPaymentMethod.Transition.MovePgPaymentMethodToFailedFormatting";
87
- static readonly SCHEMA_ACTION_ID = "92799866-c7ea-4d3e-b773-10f91aeaf622";
88
- static readonly PERMISSION = "schema.action.movepgpaymentmethodtofailedformatting.trigger";
89
- static readonly TARGET_STAGES: readonly ["StatusStageFailedFormatting"];
90
- static readonly IS_STAGE_TRANSITION = true;
91
- static readonly IS_MULTI_STEP_FLOW = false;
92
- static readonly HAS_STEP_LINKS = false;
93
- /**
94
- * Step definitions with linking metadata
95
- * Used by SDK and backend for auto-linking after step execution
96
- */
97
- static readonly stepDefinitions: MovePgPaymentMethodToFailedFormattingStepDefinition[];
98
- /** Type-safe step key accessor */
99
- static readonly Steps: {
100
- readonly step_1: "step_1";
101
- };
102
- readonly actionName: string;
103
- readonly schemaActionId: string;
104
- readonly entity: string;
105
- readonly stageKey: string;
106
- constructor(record: OdinRecord<any> | {
107
- id: string;
108
- entity: string;
109
- type?: string;
110
- }, options?: {
111
- journeyId?: string;
112
- });
113
- /** Step classes that can be used with this action */
114
- static readonly stepClasses: readonly [];
115
- steps: StepClassMap[(typeof MovePgPaymentMethodToFailedFormattingDto.stepClasses)[number]][];
116
- }
117
- export {};
@@ -1,82 +0,0 @@
1
- "use strict";
2
- /**
3
- * MovePgPaymentMethodToFailedFormatting Action DTO
4
- *
5
- * Move PG Payment Method To Failed Formatting
6
- *
7
- * @module BillingModule
8
- * @entity PgPaymentMethod
9
- * @entityType DEFAULT
10
- * @actionKey MovePgPaymentMethodToFailedFormatting
11
- * @event k1.t-hEOJjsDb.BillingModule.PgPaymentMethod.Transition.MovePgPaymentMethodToFailedFormatting
12
- *
13
- * AUTO-GENERATED - DO NOT EDIT DIRECTLY
14
- */
15
- Object.defineProperty(exports, "__esModule", { value: true });
16
- exports.MovePgPaymentMethodToFailedFormattingDto = exports.MovePgPaymentMethodToFailedFormattingSteps = void 0;
17
- const core_1 = require("@d19n/odin-types/dist/core");
18
- /**
19
- * Type-safe step keys for MovePgPaymentMethodToFailedFormatting
20
- */
21
- exports.MovePgPaymentMethodToFailedFormattingSteps = {
22
- step_1: 'step_1',
23
- };
24
- /**
25
- * MovePgPaymentMethodToFailedFormatting
26
- *
27
- * Move PG Payment Method To Failed Formatting
28
- *
29
- * @actionType STAGE_TRANSITION - Transitions record to new pipeline stage
30
- * @module BillingModule
31
- * @entity PgPaymentMethod
32
- * @entityType DEFAULT (Default)
33
- * @targetStages StatusStageFailedFormatting
34
- * @event k1.t-hEOJjsDb.BillingModule.PgPaymentMethod.Transition.MovePgPaymentMethodToFailedFormatting
35
- * @permission schema.action.movepgpaymentmethodtofailedformatting.trigger
36
- * @benchmark This action is tracked for performance benchmarks
37
- */
38
- class MovePgPaymentMethodToFailedFormattingDto extends core_1.OdinRecordUpdateDto {
39
- constructor(record, options) {
40
- super({
41
- id: record.id,
42
- entity: record.entity,
43
- type: record.type,
44
- properties: {},
45
- journeyId: options === null || options === void 0 ? void 0 : options.journeyId,
46
- });
47
- this.actionName = 'MovePgPaymentMethodToFailedFormatting';
48
- this.schemaActionId = '92799866-c7ea-4d3e-b773-10f91aeaf622';
49
- this.entity = 'BillingModule:PgPaymentMethod';
50
- this.stageKey = 'StatusStageFailedFormatting';
51
- }
52
- }
53
- exports.MovePgPaymentMethodToFailedFormattingDto = MovePgPaymentMethodToFailedFormattingDto;
54
- /** Used by SDK generators to identify action type */
55
- MovePgPaymentMethodToFailedFormattingDto.ACTION_TYPE = 'UPDATE';
56
- MovePgPaymentMethodToFailedFormattingDto.ACTION_KEY = 'MovePgPaymentMethodToFailedFormatting';
57
- MovePgPaymentMethodToFailedFormattingDto.MODULE_NAME = 'BillingModule';
58
- MovePgPaymentMethodToFailedFormattingDto.ENTITIES = ['PgPaymentMethod'];
59
- MovePgPaymentMethodToFailedFormattingDto.ENTITY_TYPE = 'DEFAULT';
60
- MovePgPaymentMethodToFailedFormattingDto.EVENT_NAME = 'k1.t-hEOJjsDb.BillingModule.PgPaymentMethod.Transition.MovePgPaymentMethodToFailedFormatting';
61
- MovePgPaymentMethodToFailedFormattingDto.SCHEMA_ACTION_ID = '92799866-c7ea-4d3e-b773-10f91aeaf622';
62
- MovePgPaymentMethodToFailedFormattingDto.PERMISSION = 'schema.action.movepgpaymentmethodtofailedformatting.trigger';
63
- MovePgPaymentMethodToFailedFormattingDto.TARGET_STAGES = ['StatusStageFailedFormatting'];
64
- MovePgPaymentMethodToFailedFormattingDto.IS_STAGE_TRANSITION = true;
65
- MovePgPaymentMethodToFailedFormattingDto.IS_MULTI_STEP_FLOW = false;
66
- MovePgPaymentMethodToFailedFormattingDto.HAS_STEP_LINKS = false;
67
- /**
68
- * Step definitions with linking metadata
69
- * Used by SDK and backend for auto-linking after step execution
70
- */
71
- MovePgPaymentMethodToFailedFormattingDto.stepDefinitions = [
72
- {
73
- stepKey: 'step_1',
74
- dtoClass: 'unknown',
75
- entity: 'unknown',
76
- linksTo: null
77
- }
78
- ];
79
- /** Type-safe step key accessor */
80
- MovePgPaymentMethodToFailedFormattingDto.Steps = exports.MovePgPaymentMethodToFailedFormattingSteps;
81
- /** Step classes that can be used with this action */
82
- MovePgPaymentMethodToFailedFormattingDto.stepClasses = [];
@@ -1,117 +0,0 @@
1
- /**
2
- * MovePgPaymentMethodToFailedSubmission Action DTO
3
- *
4
- * Move PG Payment Method to Failed Submission
5
- *
6
- * @module BillingModule
7
- * @entity PgPaymentMethod
8
- * @entityType DEFAULT
9
- * @actionKey MovePgPaymentMethodToFailedSubmission
10
- * @event k1.t-hEOJjsDb.BillingModule.PgPaymentMethod.Transition.MovePgPaymentMethodToFailedSubmission
11
- *
12
- * AUTO-GENERATED - DO NOT EDIT DIRECTLY
13
- */
14
- import { OdinRecord, OdinRecordUpdateDto, OdinRecordUpdatedEvent } from '@d19n/odin-types/dist/core';
15
- declare type StepClassMap = {};
16
- /**
17
- * Link definition for connecting steps in MovePgPaymentMethodToFailedSubmission
18
- */
19
- export interface MovePgPaymentMethodToFailedSubmissionStepLink {
20
- /**
21
- * The stepKey of the target step to link TO
22
- * Must reference another step's stepKey in the same flow
23
- */
24
- stepKey: string;
25
- /**
26
- * The schema association ID (UUID) defining the relationship
27
- * Use the association.id from the schema association definition
28
- * @example "a1b2c3d4-e5f6-7890-abcd-ef1234567890"
29
- */
30
- schemaAssociationId: string;
31
- }
32
- /**
33
- * Step definition with linking metadata for MovePgPaymentMethodToFailedSubmission
34
- */
35
- export interface MovePgPaymentMethodToFailedSubmissionStepDefinition {
36
- /** Unique identifier for this step */
37
- stepKey: string;
38
- /** The DTO class name for this step */
39
- dtoClass: string;
40
- /** The entity this step creates (Module:Entity format) */
41
- entity: string;
42
- /** Links to create after this step executes */
43
- linksTo: MovePgPaymentMethodToFailedSubmissionStepLink[] | null;
44
- }
45
- /**
46
- * Type-safe step keys for MovePgPaymentMethodToFailedSubmission
47
- */
48
- export declare const MovePgPaymentMethodToFailedSubmissionSteps: {
49
- readonly step_1: "step_1";
50
- };
51
- export declare type MovePgPaymentMethodToFailedSubmissionStepKey = typeof MovePgPaymentMethodToFailedSubmissionSteps[keyof typeof MovePgPaymentMethodToFailedSubmissionSteps];
52
- /**
53
- * RabbitMQ message payload for MovePgPaymentMethodToFailedSubmission step flow events
54
- *
55
- * @event k1.t-hEOJjsDb.BillingModule.PgPaymentMethod.Transition.MovePgPaymentMethodToFailedSubmission
56
- */
57
- export interface MovePgPaymentMethodToFailedSubmissionMessage extends OdinRecordUpdatedEvent<MovePgPaymentMethodToFailedSubmissionDto, {}> {
58
- }
59
- /**
60
- * Properties for MovePgPaymentMethodToFailedSubmission action
61
- *
62
- */
63
- export interface MovePgPaymentMethodToFailedSubmissionProperties {
64
- }
65
- /**
66
- * MovePgPaymentMethodToFailedSubmission
67
- *
68
- * Move PG Payment Method to Failed Submission
69
- *
70
- * @actionType STAGE_TRANSITION - Transitions record to new pipeline stage
71
- * @module BillingModule
72
- * @entity PgPaymentMethod
73
- * @entityType DEFAULT (Default)
74
- * @targetStages StatusStageFailedSubmission
75
- * @event k1.t-hEOJjsDb.BillingModule.PgPaymentMethod.Transition.MovePgPaymentMethodToFailedSubmission
76
- * @permission schema.action.movepgpaymentmethodtofailedsubmission.trigger
77
- * @benchmark This action is tracked for performance benchmarks
78
- */
79
- export declare class MovePgPaymentMethodToFailedSubmissionDto extends OdinRecordUpdateDto<Record<string, any>> {
80
- /** Used by SDK generators to identify action type */
81
- static readonly ACTION_TYPE = "UPDATE";
82
- static readonly ACTION_KEY = "MovePgPaymentMethodToFailedSubmission";
83
- static readonly MODULE_NAME = "BillingModule";
84
- static readonly ENTITIES: string[];
85
- static readonly ENTITY_TYPE = "DEFAULT";
86
- static readonly EVENT_NAME = "k1.t-hEOJjsDb.BillingModule.PgPaymentMethod.Transition.MovePgPaymentMethodToFailedSubmission";
87
- static readonly SCHEMA_ACTION_ID = "471b02ec-68e1-4772-ba00-da68506fde2b";
88
- static readonly PERMISSION = "schema.action.movepgpaymentmethodtofailedsubmission.trigger";
89
- static readonly TARGET_STAGES: readonly ["StatusStageFailedSubmission"];
90
- static readonly IS_STAGE_TRANSITION = true;
91
- static readonly IS_MULTI_STEP_FLOW = false;
92
- static readonly HAS_STEP_LINKS = false;
93
- /**
94
- * Step definitions with linking metadata
95
- * Used by SDK and backend for auto-linking after step execution
96
- */
97
- static readonly stepDefinitions: MovePgPaymentMethodToFailedSubmissionStepDefinition[];
98
- /** Type-safe step key accessor */
99
- static readonly Steps: {
100
- readonly step_1: "step_1";
101
- };
102
- readonly actionName: string;
103
- readonly schemaActionId: string;
104
- readonly entity: string;
105
- readonly stageKey: string;
106
- constructor(record: OdinRecord<any> | {
107
- id: string;
108
- entity: string;
109
- type?: string;
110
- }, options?: {
111
- journeyId?: string;
112
- });
113
- /** Step classes that can be used with this action */
114
- static readonly stepClasses: readonly [];
115
- steps: StepClassMap[(typeof MovePgPaymentMethodToFailedSubmissionDto.stepClasses)[number]][];
116
- }
117
- export {};
@@ -1,82 +0,0 @@
1
- "use strict";
2
- /**
3
- * MovePgPaymentMethodToFailedSubmission Action DTO
4
- *
5
- * Move PG Payment Method to Failed Submission
6
- *
7
- * @module BillingModule
8
- * @entity PgPaymentMethod
9
- * @entityType DEFAULT
10
- * @actionKey MovePgPaymentMethodToFailedSubmission
11
- * @event k1.t-hEOJjsDb.BillingModule.PgPaymentMethod.Transition.MovePgPaymentMethodToFailedSubmission
12
- *
13
- * AUTO-GENERATED - DO NOT EDIT DIRECTLY
14
- */
15
- Object.defineProperty(exports, "__esModule", { value: true });
16
- exports.MovePgPaymentMethodToFailedSubmissionDto = exports.MovePgPaymentMethodToFailedSubmissionSteps = void 0;
17
- const core_1 = require("@d19n/odin-types/dist/core");
18
- /**
19
- * Type-safe step keys for MovePgPaymentMethodToFailedSubmission
20
- */
21
- exports.MovePgPaymentMethodToFailedSubmissionSteps = {
22
- step_1: 'step_1',
23
- };
24
- /**
25
- * MovePgPaymentMethodToFailedSubmission
26
- *
27
- * Move PG Payment Method to Failed Submission
28
- *
29
- * @actionType STAGE_TRANSITION - Transitions record to new pipeline stage
30
- * @module BillingModule
31
- * @entity PgPaymentMethod
32
- * @entityType DEFAULT (Default)
33
- * @targetStages StatusStageFailedSubmission
34
- * @event k1.t-hEOJjsDb.BillingModule.PgPaymentMethod.Transition.MovePgPaymentMethodToFailedSubmission
35
- * @permission schema.action.movepgpaymentmethodtofailedsubmission.trigger
36
- * @benchmark This action is tracked for performance benchmarks
37
- */
38
- class MovePgPaymentMethodToFailedSubmissionDto extends core_1.OdinRecordUpdateDto {
39
- constructor(record, options) {
40
- super({
41
- id: record.id,
42
- entity: record.entity,
43
- type: record.type,
44
- properties: {},
45
- journeyId: options === null || options === void 0 ? void 0 : options.journeyId,
46
- });
47
- this.actionName = 'MovePgPaymentMethodToFailedSubmission';
48
- this.schemaActionId = '471b02ec-68e1-4772-ba00-da68506fde2b';
49
- this.entity = 'BillingModule:PgPaymentMethod';
50
- this.stageKey = 'StatusStageFailedSubmission';
51
- }
52
- }
53
- exports.MovePgPaymentMethodToFailedSubmissionDto = MovePgPaymentMethodToFailedSubmissionDto;
54
- /** Used by SDK generators to identify action type */
55
- MovePgPaymentMethodToFailedSubmissionDto.ACTION_TYPE = 'UPDATE';
56
- MovePgPaymentMethodToFailedSubmissionDto.ACTION_KEY = 'MovePgPaymentMethodToFailedSubmission';
57
- MovePgPaymentMethodToFailedSubmissionDto.MODULE_NAME = 'BillingModule';
58
- MovePgPaymentMethodToFailedSubmissionDto.ENTITIES = ['PgPaymentMethod'];
59
- MovePgPaymentMethodToFailedSubmissionDto.ENTITY_TYPE = 'DEFAULT';
60
- MovePgPaymentMethodToFailedSubmissionDto.EVENT_NAME = 'k1.t-hEOJjsDb.BillingModule.PgPaymentMethod.Transition.MovePgPaymentMethodToFailedSubmission';
61
- MovePgPaymentMethodToFailedSubmissionDto.SCHEMA_ACTION_ID = '471b02ec-68e1-4772-ba00-da68506fde2b';
62
- MovePgPaymentMethodToFailedSubmissionDto.PERMISSION = 'schema.action.movepgpaymentmethodtofailedsubmission.trigger';
63
- MovePgPaymentMethodToFailedSubmissionDto.TARGET_STAGES = ['StatusStageFailedSubmission'];
64
- MovePgPaymentMethodToFailedSubmissionDto.IS_STAGE_TRANSITION = true;
65
- MovePgPaymentMethodToFailedSubmissionDto.IS_MULTI_STEP_FLOW = false;
66
- MovePgPaymentMethodToFailedSubmissionDto.HAS_STEP_LINKS = false;
67
- /**
68
- * Step definitions with linking metadata
69
- * Used by SDK and backend for auto-linking after step execution
70
- */
71
- MovePgPaymentMethodToFailedSubmissionDto.stepDefinitions = [
72
- {
73
- stepKey: 'step_1',
74
- dtoClass: 'unknown',
75
- entity: 'unknown',
76
- linksTo: null
77
- }
78
- ];
79
- /** Type-safe step key accessor */
80
- MovePgPaymentMethodToFailedSubmissionDto.Steps = exports.MovePgPaymentMethodToFailedSubmissionSteps;
81
- /** Step classes that can be used with this action */
82
- MovePgPaymentMethodToFailedSubmissionDto.stepClasses = [];