@d19n/youfibre-odin-sdk 1.0.352 → 1.0.354
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 +4 -7
- package/dist/actions-v2/MovePgPaymentMethodToCancellationRequestedDto.d.ts +70 -0
- package/dist/actions-v2/MovePgPaymentMethodToCancellationRequestedDto.js +62 -0
- package/dist/entities-v2/PgPaymentMethod.d.ts +20 -8
- package/dist/entities-v2/PgPaymentMethod.js +20 -8
- package/dist/records-v2/PgPaymentMethodRecord.d.ts +10 -35
- package/dist/records-v2/PgPaymentMethodRecord.js +14 -43
- package/package.json +1 -1
- package/dist/actions-v2/MovePgPaymentMethodToFailedFormattingDto.d.ts +0 -117
- package/dist/actions-v2/MovePgPaymentMethodToFailedFormattingDto.js +0 -82
- package/dist/actions-v2/MovePgPaymentMethodToFailedSubmissionDto.d.ts +0 -117
- package/dist/actions-v2/MovePgPaymentMethodToFailedSubmissionDto.js +0 -82
package/README.md
CHANGED
|
@@ -351,7 +351,7 @@ This SDK includes **163** entities across **12** modules.
|
|
|
351
351
|
|
|
352
352
|
## Actions
|
|
353
353
|
|
|
354
|
-
This SDK includes **
|
|
354
|
+
This SDK includes **538** actions.
|
|
355
355
|
|
|
356
356
|
### Action Types
|
|
357
357
|
|
|
@@ -1336,9 +1336,8 @@ This SDK includes **539** actions.
|
|
|
1336
1336
|
| `MovePgPaymentMethodToActive` | STAGE_TRANSITION | k1.t-hEOJjsDb.BillingModule.PgPaymentMethod.Transition.MovePgPaymentMethodToActive |
|
|
1337
1337
|
| `MovePgPaymentMethodToAllocated` | STAGE_TRANSITION | k1.t-hEOJjsDb.BillingModule.PgPaymentMethod.Transition.MovePgPaymentMethodToAllocated |
|
|
1338
1338
|
| `MovePgPaymentMethodToCancellationPending` | STAGE_TRANSITION | k1.t-hEOJjsDb.BillingModule.PgPaymentMethod.Transition.MovePgPaymentMethodToCancellationPending |
|
|
1339
|
+
| `MovePgPaymentMethodToCancellationRequested` | STAGE_TRANSITION | k1.t-hEOJjsDb.BillingModule.PgPaymentMethod.Transition.MovePgPaymentMethodToCancellationRequested |
|
|
1339
1340
|
| `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
1341
|
| `MovePgPaymentMethodToFileRejected` | STAGE_TRANSITION | k1.t-hEOJjsDb.BillingModule.PgPaymentMethod.Transition.MovePgPaymentMethodToFileRejected |
|
|
1343
1342
|
| `MovePgPaymentMethodToInstructionRejected` | STAGE_TRANSITION | k1.t-hEOJjsDb.BillingModule.PgPaymentMethod.Transition.MovePgPaymentMethodToInstructionRejected |
|
|
1344
1343
|
| `MovePgPaymentMethodToInvalid` | STAGE_TRANSITION | k1.t-hEOJjsDb.BillingModule.PgPaymentMethod.Transition.MovePgPaymentMethodToInvalid |
|
|
@@ -1361,11 +1360,9 @@ This SDK includes **539** actions.
|
|
|
1361
1360
|
|
|
1362
1361
|
**MovePgPaymentMethodToCancellationPending Target Stages:** `StatusStageCancellationPending`
|
|
1363
1362
|
|
|
1364
|
-
**
|
|
1365
|
-
|
|
1366
|
-
**MovePgPaymentMethodToFailedFormatting Target Stages:** `StatusStageFailedFormatting`
|
|
1363
|
+
**MovePgPaymentMethodToCancellationRequested Target Stages:** `StatusStageCancellationRequested`
|
|
1367
1364
|
|
|
1368
|
-
**
|
|
1365
|
+
**MovePgPaymentMethodToCancelled Target Stages:** `StatusStageCancelled`
|
|
1369
1366
|
|
|
1370
1367
|
**MovePgPaymentMethodToFileRejected Target Stages:** `StatusStageFileRejected`
|
|
1371
1368
|
|
|
@@ -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 = [];
|
|
@@ -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
|
|
48
|
-
|
|
49
|
-
/**
|
|
50
|
-
|
|
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
|
|
76
|
-
|
|
77
|
-
/**
|
|
78
|
-
|
|
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
|
|
49
|
-
DefaultPgPaymentMethodStageNames["
|
|
50
|
-
/**
|
|
51
|
-
DefaultPgPaymentMethodStageNames["
|
|
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
|
|
78
|
-
DefaultPgPaymentMethodStageKeys["
|
|
79
|
-
/**
|
|
80
|
-
DefaultPgPaymentMethodStageKeys["
|
|
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 = {}));
|
|
@@ -338,37 +338,12 @@ export declare class PgPaymentMethodRecord<TProps = PgPaymentMethodProperties> {
|
|
|
338
338
|
journeyId?: string;
|
|
339
339
|
}): ActionBuilder;
|
|
340
340
|
/**
|
|
341
|
-
*
|
|
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:
|
|
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.
|
|
356
|
+
* await record.movePgPaymentMethodToCancellationRequested().execute();
|
|
382
357
|
*
|
|
383
358
|
* // Dry run (for debugging)
|
|
384
|
-
* const payload = record.
|
|
359
|
+
* const payload = record.movePgPaymentMethodToCancellationRequested().dryRun();
|
|
385
360
|
* ```
|
|
386
361
|
*/
|
|
387
|
-
|
|
362
|
+
movePgPaymentMethodToCancellationRequested(options?: {
|
|
388
363
|
journeyId?: string;
|
|
389
364
|
}): ActionBuilder;
|
|
390
365
|
/**
|
|
391
|
-
*
|
|
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:
|
|
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.
|
|
381
|
+
* await record.movePgPaymentMethodToCancelled().execute();
|
|
407
382
|
*
|
|
408
383
|
* // Dry run (for debugging)
|
|
409
|
-
* const payload = record.
|
|
384
|
+
* const payload = record.movePgPaymentMethodToCancelled().dryRun();
|
|
410
385
|
* ```
|
|
411
386
|
*/
|
|
412
|
-
|
|
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
|
-
*
|
|
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:
|
|
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.
|
|
462
|
+
* await record.movePgPaymentMethodToCancellationRequested().execute();
|
|
492
463
|
*
|
|
493
464
|
* // Dry run (for debugging)
|
|
494
|
-
* const payload = record.
|
|
465
|
+
* const payload = record.movePgPaymentMethodToCancellationRequested().dryRun();
|
|
495
466
|
* ```
|
|
496
467
|
*/
|
|
497
|
-
|
|
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('
|
|
501
|
-
const payload = Object.assign({ id: this._record.id, entity: this._record.entity, type: this._record.type, actionName: '
|
|
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
|
-
*
|
|
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:
|
|
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.
|
|
491
|
+
* await record.movePgPaymentMethodToCancelled().execute();
|
|
521
492
|
*
|
|
522
493
|
* // Dry run (for debugging)
|
|
523
|
-
* const payload = record.
|
|
494
|
+
* const payload = record.movePgPaymentMethodToCancelled().dryRun();
|
|
524
495
|
* ```
|
|
525
496
|
*/
|
|
526
|
-
|
|
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('
|
|
530
|
-
const payload = Object.assign({ id: this._record.id, entity: this._record.entity, type: this._record.type, actionName: '
|
|
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,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 = [];
|