@d19n/youfibre-odin-sdk 2.0.229 → 2.0.231
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 +19 -2
- package/dist/EntityRegistry.d.ts +2 -0
- package/dist/EntityRegistry.js +2 -0
- package/dist/OdinApiClient.d.ts +4 -0
- package/dist/OdinApiClient.js +8 -0
- package/dist/OdinDbClient.d.ts +4 -0
- package/dist/OdinDbClient.js +8 -0
- package/dist/accessors-v2/PgReportEventAccessor.d.ts +111 -0
- package/dist/accessors-v2/PgReportEventAccessor.js +190 -0
- package/dist/accessors-v2/index.d.ts +1 -0
- package/dist/accessors-v2/index.js +4 -2
- package/dist/actions-v2/CompletePicRequestDto.d.ts +13 -3
- package/dist/actions-v2/CompletePicRequestDto.js +2 -0
- package/dist/actions-v2/CompletePicRequestFlowDto.d.ts +11 -3
- package/dist/actions-v2/CreatePgReportEventDto.d.ts +135 -0
- package/dist/actions-v2/CreatePgReportEventDto.js +59 -0
- package/dist/actions-v2/MovePgReportEventToFailedDto.d.ts +117 -0
- package/dist/actions-v2/MovePgReportEventToFailedDto.js +82 -0
- package/dist/actions-v2/MovePgReportEventToSkippedDto.d.ts +117 -0
- package/dist/actions-v2/MovePgReportEventToSkippedDto.js +82 -0
- package/dist/actions-v2/MovePgReportEventToSucceededDto.d.ts +117 -0
- package/dist/actions-v2/MovePgReportEventToSucceededDto.js +82 -0
- package/dist/actions-v2/UpdateAdditionalCareDto.d.ts +2 -2
- package/dist/actions-v2/UpdateContactDto.d.ts +2 -2
- package/dist/actions-v2/UpdatePgReportEventDto.d.ts +95 -0
- package/dist/actions-v2/UpdatePgReportEventDto.js +56 -0
- package/dist/api-sdk-v2/PgDirectDebitFileApi.d.ts +2 -0
- package/dist/api-sdk-v2/PgDirectDebitFileApi.js +6 -0
- package/dist/api-sdk-v2/PgPaymentMethodApi.d.ts +2 -0
- package/dist/api-sdk-v2/PgPaymentMethodApi.js +6 -0
- package/dist/api-sdk-v2/PgReportEventApi.d.ts +52 -0
- package/dist/api-sdk-v2/PgReportEventApi.js +167 -0
- package/dist/api-sdk-v2/PgTransactionApi.d.ts +2 -0
- package/dist/api-sdk-v2/PgTransactionApi.js +6 -0
- package/dist/db-accessors-v2/PgReportEventDbAccessor.d.ts +149 -0
- package/dist/db-accessors-v2/PgReportEventDbAccessor.js +227 -0
- package/dist/db-accessors-v2/index.d.ts +1 -0
- package/dist/db-accessors-v2/index.js +4 -2
- package/dist/db-sdk-v2/PgDirectDebitFileDb.d.ts +2 -0
- package/dist/db-sdk-v2/PgDirectDebitFileDb.js +6 -0
- package/dist/db-sdk-v2/PgPaymentMethodDb.d.ts +2 -0
- package/dist/db-sdk-v2/PgPaymentMethodDb.js +6 -0
- package/dist/db-sdk-v2/PgReportEventDb.d.ts +124 -0
- package/dist/db-sdk-v2/PgReportEventDb.js +216 -0
- package/dist/db-sdk-v2/PgTransactionDb.d.ts +2 -0
- package/dist/db-sdk-v2/PgTransactionDb.js +6 -0
- package/dist/entities-v2/ChurnRequest.d.ts +4 -0
- package/dist/entities-v2/ChurnRequest.js +4 -0
- package/dist/entities-v2/Contact.d.ts +58 -72
- package/dist/entities-v2/Contact.js +40 -54
- package/dist/entities-v2/PgDirectDebitFile.d.ts +7 -0
- package/dist/entities-v2/PgDirectDebitFile.js +5 -1
- package/dist/entities-v2/PgPaymentMethod.d.ts +7 -0
- package/dist/entities-v2/PgPaymentMethod.js +5 -1
- package/dist/entities-v2/PgReportEvent.d.ts +194 -0
- package/dist/entities-v2/PgReportEvent.js +134 -0
- package/dist/entities-v2/PgTransaction.d.ts +7 -0
- package/dist/entities-v2/PgTransaction.js +5 -1
- package/dist/records-v2/PgDirectDebitFileRecord.d.ts +20 -0
- package/dist/records-v2/PgDirectDebitFileRecord.js +33 -0
- package/dist/records-v2/PgPaymentMethodRecord.d.ts +20 -0
- package/dist/records-v2/PgPaymentMethodRecord.js +33 -0
- package/dist/records-v2/PgReportEventRecord.d.ts +347 -0
- package/dist/records-v2/PgReportEventRecord.js +465 -0
- package/dist/records-v2/PgTransactionRecord.d.ts +20 -0
- package/dist/records-v2/PgTransactionRecord.js +33 -0
- package/dist/records-v2/index.d.ts +1 -0
- package/dist/records-v2/index.js +6 -3
- package/package.json +1 -1
|
@@ -0,0 +1,135 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* CreatePgReportEvent Action DTO
|
|
3
|
+
*
|
|
4
|
+
* Creates a new report event
|
|
5
|
+
*
|
|
6
|
+
* @module BillingModule
|
|
7
|
+
* @entity PgReportEvent
|
|
8
|
+
* @entityType DEFAULT
|
|
9
|
+
* @actionKey CreatePgReportEvent
|
|
10
|
+
* @event k1.t-hEOJjsDb.BillingModule.PgReportEvent.Create.CreatePgReportEvent
|
|
11
|
+
*
|
|
12
|
+
* AUTO-GENERATED - DO NOT EDIT DIRECTLY
|
|
13
|
+
*/
|
|
14
|
+
import { OdinRecordCreateDto, OdinRecordCreatedEvent } from '@d19n/odin-types/dist/core';
|
|
15
|
+
/**
|
|
16
|
+
* RabbitMQ message payload for CreatePgReportEvent created events
|
|
17
|
+
*
|
|
18
|
+
* @event k1.t-hEOJjsDb.BillingModule.PgReportEvent.Create.CreatePgReportEvent
|
|
19
|
+
*/
|
|
20
|
+
export interface CreatePgReportEventMessage extends OdinRecordCreatedEvent<CreatePgReportEventDto, CreatePgReportEventProperties> {
|
|
21
|
+
}
|
|
22
|
+
/**
|
|
23
|
+
* Properties for CreatePgReportEvent action
|
|
24
|
+
*
|
|
25
|
+
* @property Required fields: 6
|
|
26
|
+
* @property Optional fields: 3
|
|
27
|
+
*/
|
|
28
|
+
export interface CreatePgReportEventProperties {
|
|
29
|
+
/**
|
|
30
|
+
* Report File Id
|
|
31
|
+
*
|
|
32
|
+
* Secret table row Id that stores the sensitive data
|
|
33
|
+
* @type {LOOKUP}
|
|
34
|
+
* @required
|
|
35
|
+
*/
|
|
36
|
+
ReportFileId: string;
|
|
37
|
+
/**
|
|
38
|
+
* Report Type
|
|
39
|
+
*
|
|
40
|
+
* Type of Report associated to this event
|
|
41
|
+
* @type {ENUM}
|
|
42
|
+
* @required
|
|
43
|
+
*/
|
|
44
|
+
ReportType: string;
|
|
45
|
+
/**
|
|
46
|
+
* Line Number
|
|
47
|
+
*
|
|
48
|
+
* File line number reference
|
|
49
|
+
* @type {NUMBER}
|
|
50
|
+
* @required
|
|
51
|
+
*/
|
|
52
|
+
LineNumber: number;
|
|
53
|
+
/**
|
|
54
|
+
* Message
|
|
55
|
+
*
|
|
56
|
+
* Message
|
|
57
|
+
* @type {TEXT_LONG}
|
|
58
|
+
* @required
|
|
59
|
+
*/
|
|
60
|
+
Message: string;
|
|
61
|
+
/**
|
|
62
|
+
* Processed
|
|
63
|
+
*
|
|
64
|
+
* Processed tracker
|
|
65
|
+
* @type {BOOLEAN}
|
|
66
|
+
* @required
|
|
67
|
+
* @default False
|
|
68
|
+
*/
|
|
69
|
+
Processed: boolean;
|
|
70
|
+
/**
|
|
71
|
+
* Report Event Detail Id
|
|
72
|
+
*
|
|
73
|
+
* ReportEventDetailId
|
|
74
|
+
* @type {UUID}
|
|
75
|
+
* @required
|
|
76
|
+
*/
|
|
77
|
+
ReportEventDetailId: string;
|
|
78
|
+
/**
|
|
79
|
+
* PaymentMethodId
|
|
80
|
+
*
|
|
81
|
+
* PaymentMethodId
|
|
82
|
+
* @type {LOOKUP}
|
|
83
|
+
*/
|
|
84
|
+
PaymentMethodId?: string | null;
|
|
85
|
+
/**
|
|
86
|
+
* TransactionId
|
|
87
|
+
*
|
|
88
|
+
* TransactionId
|
|
89
|
+
* @type {LOOKUP}
|
|
90
|
+
*/
|
|
91
|
+
TransactionId?: string | null;
|
|
92
|
+
/**
|
|
93
|
+
* Amount
|
|
94
|
+
*
|
|
95
|
+
* Transaction Amount
|
|
96
|
+
* @type {CURRENCY}
|
|
97
|
+
*/
|
|
98
|
+
Amount?: string | null;
|
|
99
|
+
}
|
|
100
|
+
/**
|
|
101
|
+
* CreatePgReportEvent
|
|
102
|
+
*
|
|
103
|
+
* Creates a new report event
|
|
104
|
+
*
|
|
105
|
+
* @actionType CREATE - Creates a new PgReportEvent record
|
|
106
|
+
* @module BillingModule
|
|
107
|
+
* @entity PgReportEvent
|
|
108
|
+
* @entityType DEFAULT (Default)
|
|
109
|
+
* @event k1.t-hEOJjsDb.BillingModule.PgReportEvent.Create.CreatePgReportEvent
|
|
110
|
+
* @permission schema.action.createpgreportevent.trigger
|
|
111
|
+
* @benchmark This action is tracked for performance benchmarks
|
|
112
|
+
*/
|
|
113
|
+
export declare class CreatePgReportEventDto extends OdinRecordCreateDto<CreatePgReportEventProperties> {
|
|
114
|
+
/** Used by SDK generators to identify action type */
|
|
115
|
+
static readonly ACTION_TYPE = "CREATE";
|
|
116
|
+
static readonly ACTION_KEY = "CreatePgReportEvent";
|
|
117
|
+
static readonly MODULE_NAME = "BillingModule";
|
|
118
|
+
static readonly ENTITIES: string[];
|
|
119
|
+
static readonly ENTITY_TYPE = "DEFAULT";
|
|
120
|
+
static readonly EVENT_NAME = "k1.t-hEOJjsDb.BillingModule.PgReportEvent.Create.CreatePgReportEvent";
|
|
121
|
+
static readonly PERMISSION = "schema.action.createpgreportevent.trigger";
|
|
122
|
+
/** Step metadata - entity this action targets */
|
|
123
|
+
static readonly STEP_ENTITY = "BillingModule:PgReportEvent";
|
|
124
|
+
static readonly STEP_SCHEMA_ID = "759d5bc9-c05a-420d-9c9d-aadb4e51b503";
|
|
125
|
+
static readonly STEP_SCHEMA_ACTION_ID = "9a6764d8-e3e5-4052-af0e-d14b5f2ee95b";
|
|
126
|
+
static readonly STEP_SCHEMA_TYPE_ID = "a09001c2-ae37-4e90-8839-b997ee5b924c";
|
|
127
|
+
static readonly STEP_TYPE = "DEFAULT";
|
|
128
|
+
static readonly AUTO_LINK_PARENT = true;
|
|
129
|
+
readonly actionName: string;
|
|
130
|
+
readonly schemaActionId: string;
|
|
131
|
+
readonly entity: string;
|
|
132
|
+
constructor(properties: CreatePgReportEventProperties, options?: {
|
|
133
|
+
journeyId?: string;
|
|
134
|
+
});
|
|
135
|
+
}
|
|
@@ -0,0 +1,59 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* CreatePgReportEvent Action DTO
|
|
4
|
+
*
|
|
5
|
+
* Creates a new report event
|
|
6
|
+
*
|
|
7
|
+
* @module BillingModule
|
|
8
|
+
* @entity PgReportEvent
|
|
9
|
+
* @entityType DEFAULT
|
|
10
|
+
* @actionKey CreatePgReportEvent
|
|
11
|
+
* @event k1.t-hEOJjsDb.BillingModule.PgReportEvent.Create.CreatePgReportEvent
|
|
12
|
+
*
|
|
13
|
+
* AUTO-GENERATED - DO NOT EDIT DIRECTLY
|
|
14
|
+
*/
|
|
15
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
+
exports.CreatePgReportEventDto = void 0;
|
|
17
|
+
const core_1 = require("@d19n/odin-types/dist/core");
|
|
18
|
+
/**
|
|
19
|
+
* CreatePgReportEvent
|
|
20
|
+
*
|
|
21
|
+
* Creates a new report event
|
|
22
|
+
*
|
|
23
|
+
* @actionType CREATE - Creates a new PgReportEvent record
|
|
24
|
+
* @module BillingModule
|
|
25
|
+
* @entity PgReportEvent
|
|
26
|
+
* @entityType DEFAULT (Default)
|
|
27
|
+
* @event k1.t-hEOJjsDb.BillingModule.PgReportEvent.Create.CreatePgReportEvent
|
|
28
|
+
* @permission schema.action.createpgreportevent.trigger
|
|
29
|
+
* @benchmark This action is tracked for performance benchmarks
|
|
30
|
+
*/
|
|
31
|
+
class CreatePgReportEventDto extends core_1.OdinRecordCreateDto {
|
|
32
|
+
constructor(properties, options) {
|
|
33
|
+
super({
|
|
34
|
+
entity: 'BillingModule:PgReportEvent',
|
|
35
|
+
type: 'DEFAULT',
|
|
36
|
+
properties,
|
|
37
|
+
journeyId: options === null || options === void 0 ? void 0 : options.journeyId,
|
|
38
|
+
});
|
|
39
|
+
this.actionName = 'CreatePgReportEvent';
|
|
40
|
+
this.schemaActionId = '9a6764d8-e3e5-4052-af0e-d14b5f2ee95b';
|
|
41
|
+
this.entity = 'BillingModule:PgReportEvent';
|
|
42
|
+
}
|
|
43
|
+
}
|
|
44
|
+
exports.CreatePgReportEventDto = CreatePgReportEventDto;
|
|
45
|
+
/** Used by SDK generators to identify action type */
|
|
46
|
+
CreatePgReportEventDto.ACTION_TYPE = 'CREATE';
|
|
47
|
+
CreatePgReportEventDto.ACTION_KEY = 'CreatePgReportEvent';
|
|
48
|
+
CreatePgReportEventDto.MODULE_NAME = 'BillingModule';
|
|
49
|
+
CreatePgReportEventDto.ENTITIES = ['PgReportEvent'];
|
|
50
|
+
CreatePgReportEventDto.ENTITY_TYPE = 'DEFAULT';
|
|
51
|
+
CreatePgReportEventDto.EVENT_NAME = 'k1.t-hEOJjsDb.BillingModule.PgReportEvent.Create.CreatePgReportEvent';
|
|
52
|
+
CreatePgReportEventDto.PERMISSION = 'schema.action.createpgreportevent.trigger';
|
|
53
|
+
/** Step metadata - entity this action targets */
|
|
54
|
+
CreatePgReportEventDto.STEP_ENTITY = 'BillingModule:PgReportEvent';
|
|
55
|
+
CreatePgReportEventDto.STEP_SCHEMA_ID = '759d5bc9-c05a-420d-9c9d-aadb4e51b503';
|
|
56
|
+
CreatePgReportEventDto.STEP_SCHEMA_ACTION_ID = '9a6764d8-e3e5-4052-af0e-d14b5f2ee95b';
|
|
57
|
+
CreatePgReportEventDto.STEP_SCHEMA_TYPE_ID = 'a09001c2-ae37-4e90-8839-b997ee5b924c';
|
|
58
|
+
CreatePgReportEventDto.STEP_TYPE = 'DEFAULT';
|
|
59
|
+
CreatePgReportEventDto.AUTO_LINK_PARENT = true;
|
|
@@ -0,0 +1,117 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* MovePgReportEventToFailed Action DTO
|
|
3
|
+
*
|
|
4
|
+
* Move Report Event to Failed
|
|
5
|
+
*
|
|
6
|
+
* @module BillingModule
|
|
7
|
+
* @entity PgReportEvent
|
|
8
|
+
* @entityType DEFAULT
|
|
9
|
+
* @actionKey MovePgReportEventToFailed
|
|
10
|
+
* @event k1.t-hEOJjsDb.BillingModule.PgReportEvent.Transition.MovePgReportEventToFailed
|
|
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 MovePgReportEventToFailed
|
|
18
|
+
*/
|
|
19
|
+
export interface MovePgReportEventToFailedStepLink {
|
|
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 MovePgReportEventToFailed
|
|
34
|
+
*/
|
|
35
|
+
export interface MovePgReportEventToFailedStepDefinition {
|
|
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: MovePgReportEventToFailedStepLink[] | null;
|
|
44
|
+
}
|
|
45
|
+
/**
|
|
46
|
+
* Type-safe step keys for MovePgReportEventToFailed
|
|
47
|
+
*/
|
|
48
|
+
export declare const MovePgReportEventToFailedSteps: {
|
|
49
|
+
readonly step_1: "step_1";
|
|
50
|
+
};
|
|
51
|
+
export declare type MovePgReportEventToFailedStepKey = typeof MovePgReportEventToFailedSteps[keyof typeof MovePgReportEventToFailedSteps];
|
|
52
|
+
/**
|
|
53
|
+
* RabbitMQ message payload for MovePgReportEventToFailed step flow events
|
|
54
|
+
*
|
|
55
|
+
* @event k1.t-hEOJjsDb.BillingModule.PgReportEvent.Transition.MovePgReportEventToFailed
|
|
56
|
+
*/
|
|
57
|
+
export interface MovePgReportEventToFailedMessage extends OdinRecordUpdatedEvent<MovePgReportEventToFailedDto, {}> {
|
|
58
|
+
}
|
|
59
|
+
/**
|
|
60
|
+
* Properties for MovePgReportEventToFailed action
|
|
61
|
+
*
|
|
62
|
+
*/
|
|
63
|
+
export interface MovePgReportEventToFailedProperties {
|
|
64
|
+
}
|
|
65
|
+
/**
|
|
66
|
+
* MovePgReportEventToFailed
|
|
67
|
+
*
|
|
68
|
+
* Move Report Event to Failed
|
|
69
|
+
*
|
|
70
|
+
* @actionType STAGE_TRANSITION - Transitions record to new pipeline stage
|
|
71
|
+
* @module BillingModule
|
|
72
|
+
* @entity PgReportEvent
|
|
73
|
+
* @entityType DEFAULT (Default)
|
|
74
|
+
* @targetStages EventStatusStageFailed
|
|
75
|
+
* @event k1.t-hEOJjsDb.BillingModule.PgReportEvent.Transition.MovePgReportEventToFailed
|
|
76
|
+
* @permission schema.action.movepgreporteventtofailed.trigger
|
|
77
|
+
* @benchmark This action is tracked for performance benchmarks
|
|
78
|
+
*/
|
|
79
|
+
export declare class MovePgReportEventToFailedDto 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 = "MovePgReportEventToFailed";
|
|
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.PgReportEvent.Transition.MovePgReportEventToFailed";
|
|
87
|
+
static readonly SCHEMA_ACTION_ID = "5bc28550-0b44-414a-96e2-2cb775aaf9bd";
|
|
88
|
+
static readonly PERMISSION = "schema.action.movepgreporteventtofailed.trigger";
|
|
89
|
+
static readonly TARGET_STAGES: readonly ["EventStatusStageFailed"];
|
|
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: MovePgReportEventToFailedStepDefinition[];
|
|
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 MovePgReportEventToFailedDto.stepClasses)[number]][];
|
|
116
|
+
}
|
|
117
|
+
export {};
|
|
@@ -0,0 +1,82 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* MovePgReportEventToFailed Action DTO
|
|
4
|
+
*
|
|
5
|
+
* Move Report Event to Failed
|
|
6
|
+
*
|
|
7
|
+
* @module BillingModule
|
|
8
|
+
* @entity PgReportEvent
|
|
9
|
+
* @entityType DEFAULT
|
|
10
|
+
* @actionKey MovePgReportEventToFailed
|
|
11
|
+
* @event k1.t-hEOJjsDb.BillingModule.PgReportEvent.Transition.MovePgReportEventToFailed
|
|
12
|
+
*
|
|
13
|
+
* AUTO-GENERATED - DO NOT EDIT DIRECTLY
|
|
14
|
+
*/
|
|
15
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
+
exports.MovePgReportEventToFailedDto = exports.MovePgReportEventToFailedSteps = void 0;
|
|
17
|
+
const core_1 = require("@d19n/odin-types/dist/core");
|
|
18
|
+
/**
|
|
19
|
+
* Type-safe step keys for MovePgReportEventToFailed
|
|
20
|
+
*/
|
|
21
|
+
exports.MovePgReportEventToFailedSteps = {
|
|
22
|
+
step_1: 'step_1',
|
|
23
|
+
};
|
|
24
|
+
/**
|
|
25
|
+
* MovePgReportEventToFailed
|
|
26
|
+
*
|
|
27
|
+
* Move Report Event to Failed
|
|
28
|
+
*
|
|
29
|
+
* @actionType STAGE_TRANSITION - Transitions record to new pipeline stage
|
|
30
|
+
* @module BillingModule
|
|
31
|
+
* @entity PgReportEvent
|
|
32
|
+
* @entityType DEFAULT (Default)
|
|
33
|
+
* @targetStages EventStatusStageFailed
|
|
34
|
+
* @event k1.t-hEOJjsDb.BillingModule.PgReportEvent.Transition.MovePgReportEventToFailed
|
|
35
|
+
* @permission schema.action.movepgreporteventtofailed.trigger
|
|
36
|
+
* @benchmark This action is tracked for performance benchmarks
|
|
37
|
+
*/
|
|
38
|
+
class MovePgReportEventToFailedDto 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 = 'MovePgReportEventToFailed';
|
|
48
|
+
this.schemaActionId = '5bc28550-0b44-414a-96e2-2cb775aaf9bd';
|
|
49
|
+
this.entity = 'BillingModule:PgReportEvent';
|
|
50
|
+
this.stageKey = 'EventStatusStageFailed';
|
|
51
|
+
}
|
|
52
|
+
}
|
|
53
|
+
exports.MovePgReportEventToFailedDto = MovePgReportEventToFailedDto;
|
|
54
|
+
/** Used by SDK generators to identify action type */
|
|
55
|
+
MovePgReportEventToFailedDto.ACTION_TYPE = 'UPDATE';
|
|
56
|
+
MovePgReportEventToFailedDto.ACTION_KEY = 'MovePgReportEventToFailed';
|
|
57
|
+
MovePgReportEventToFailedDto.MODULE_NAME = 'BillingModule';
|
|
58
|
+
MovePgReportEventToFailedDto.ENTITIES = ['PgReportEvent'];
|
|
59
|
+
MovePgReportEventToFailedDto.ENTITY_TYPE = 'DEFAULT';
|
|
60
|
+
MovePgReportEventToFailedDto.EVENT_NAME = 'k1.t-hEOJjsDb.BillingModule.PgReportEvent.Transition.MovePgReportEventToFailed';
|
|
61
|
+
MovePgReportEventToFailedDto.SCHEMA_ACTION_ID = '5bc28550-0b44-414a-96e2-2cb775aaf9bd';
|
|
62
|
+
MovePgReportEventToFailedDto.PERMISSION = 'schema.action.movepgreporteventtofailed.trigger';
|
|
63
|
+
MovePgReportEventToFailedDto.TARGET_STAGES = ['EventStatusStageFailed'];
|
|
64
|
+
MovePgReportEventToFailedDto.IS_STAGE_TRANSITION = true;
|
|
65
|
+
MovePgReportEventToFailedDto.IS_MULTI_STEP_FLOW = false;
|
|
66
|
+
MovePgReportEventToFailedDto.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
|
+
MovePgReportEventToFailedDto.stepDefinitions = [
|
|
72
|
+
{
|
|
73
|
+
stepKey: 'step_1',
|
|
74
|
+
dtoClass: 'unknown',
|
|
75
|
+
entity: 'unknown',
|
|
76
|
+
linksTo: null
|
|
77
|
+
}
|
|
78
|
+
];
|
|
79
|
+
/** Type-safe step key accessor */
|
|
80
|
+
MovePgReportEventToFailedDto.Steps = exports.MovePgReportEventToFailedSteps;
|
|
81
|
+
/** Step classes that can be used with this action */
|
|
82
|
+
MovePgReportEventToFailedDto.stepClasses = [];
|
|
@@ -0,0 +1,117 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* MovePgReportEventToSkipped Action DTO
|
|
3
|
+
*
|
|
4
|
+
* Move Report Event to Skipped
|
|
5
|
+
*
|
|
6
|
+
* @module BillingModule
|
|
7
|
+
* @entity PgReportEvent
|
|
8
|
+
* @entityType DEFAULT
|
|
9
|
+
* @actionKey MovePgReportEventToSkipped
|
|
10
|
+
* @event k1.t-hEOJjsDb.BillingModule.PgReportEvent.Transition.MovePgReportEventToSkipped
|
|
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 MovePgReportEventToSkipped
|
|
18
|
+
*/
|
|
19
|
+
export interface MovePgReportEventToSkippedStepLink {
|
|
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 MovePgReportEventToSkipped
|
|
34
|
+
*/
|
|
35
|
+
export interface MovePgReportEventToSkippedStepDefinition {
|
|
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: MovePgReportEventToSkippedStepLink[] | null;
|
|
44
|
+
}
|
|
45
|
+
/**
|
|
46
|
+
* Type-safe step keys for MovePgReportEventToSkipped
|
|
47
|
+
*/
|
|
48
|
+
export declare const MovePgReportEventToSkippedSteps: {
|
|
49
|
+
readonly step_1: "step_1";
|
|
50
|
+
};
|
|
51
|
+
export declare type MovePgReportEventToSkippedStepKey = typeof MovePgReportEventToSkippedSteps[keyof typeof MovePgReportEventToSkippedSteps];
|
|
52
|
+
/**
|
|
53
|
+
* RabbitMQ message payload for MovePgReportEventToSkipped step flow events
|
|
54
|
+
*
|
|
55
|
+
* @event k1.t-hEOJjsDb.BillingModule.PgReportEvent.Transition.MovePgReportEventToSkipped
|
|
56
|
+
*/
|
|
57
|
+
export interface MovePgReportEventToSkippedMessage extends OdinRecordUpdatedEvent<MovePgReportEventToSkippedDto, {}> {
|
|
58
|
+
}
|
|
59
|
+
/**
|
|
60
|
+
* Properties for MovePgReportEventToSkipped action
|
|
61
|
+
*
|
|
62
|
+
*/
|
|
63
|
+
export interface MovePgReportEventToSkippedProperties {
|
|
64
|
+
}
|
|
65
|
+
/**
|
|
66
|
+
* MovePgReportEventToSkipped
|
|
67
|
+
*
|
|
68
|
+
* Move Report Event to Skipped
|
|
69
|
+
*
|
|
70
|
+
* @actionType STAGE_TRANSITION - Transitions record to new pipeline stage
|
|
71
|
+
* @module BillingModule
|
|
72
|
+
* @entity PgReportEvent
|
|
73
|
+
* @entityType DEFAULT (Default)
|
|
74
|
+
* @targetStages EventStatusStageSkipped
|
|
75
|
+
* @event k1.t-hEOJjsDb.BillingModule.PgReportEvent.Transition.MovePgReportEventToSkipped
|
|
76
|
+
* @permission schema.action.movepgreporteventtoskipped.trigger
|
|
77
|
+
* @benchmark This action is tracked for performance benchmarks
|
|
78
|
+
*/
|
|
79
|
+
export declare class MovePgReportEventToSkippedDto 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 = "MovePgReportEventToSkipped";
|
|
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.PgReportEvent.Transition.MovePgReportEventToSkipped";
|
|
87
|
+
static readonly SCHEMA_ACTION_ID = "36d53f7f-d362-43c2-ac5c-90b11e933346";
|
|
88
|
+
static readonly PERMISSION = "schema.action.movepgreporteventtoskipped.trigger";
|
|
89
|
+
static readonly TARGET_STAGES: readonly ["EventStatusStageSkipped"];
|
|
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: MovePgReportEventToSkippedStepDefinition[];
|
|
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 MovePgReportEventToSkippedDto.stepClasses)[number]][];
|
|
116
|
+
}
|
|
117
|
+
export {};
|
|
@@ -0,0 +1,82 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* MovePgReportEventToSkipped Action DTO
|
|
4
|
+
*
|
|
5
|
+
* Move Report Event to Skipped
|
|
6
|
+
*
|
|
7
|
+
* @module BillingModule
|
|
8
|
+
* @entity PgReportEvent
|
|
9
|
+
* @entityType DEFAULT
|
|
10
|
+
* @actionKey MovePgReportEventToSkipped
|
|
11
|
+
* @event k1.t-hEOJjsDb.BillingModule.PgReportEvent.Transition.MovePgReportEventToSkipped
|
|
12
|
+
*
|
|
13
|
+
* AUTO-GENERATED - DO NOT EDIT DIRECTLY
|
|
14
|
+
*/
|
|
15
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
+
exports.MovePgReportEventToSkippedDto = exports.MovePgReportEventToSkippedSteps = void 0;
|
|
17
|
+
const core_1 = require("@d19n/odin-types/dist/core");
|
|
18
|
+
/**
|
|
19
|
+
* Type-safe step keys for MovePgReportEventToSkipped
|
|
20
|
+
*/
|
|
21
|
+
exports.MovePgReportEventToSkippedSteps = {
|
|
22
|
+
step_1: 'step_1',
|
|
23
|
+
};
|
|
24
|
+
/**
|
|
25
|
+
* MovePgReportEventToSkipped
|
|
26
|
+
*
|
|
27
|
+
* Move Report Event to Skipped
|
|
28
|
+
*
|
|
29
|
+
* @actionType STAGE_TRANSITION - Transitions record to new pipeline stage
|
|
30
|
+
* @module BillingModule
|
|
31
|
+
* @entity PgReportEvent
|
|
32
|
+
* @entityType DEFAULT (Default)
|
|
33
|
+
* @targetStages EventStatusStageSkipped
|
|
34
|
+
* @event k1.t-hEOJjsDb.BillingModule.PgReportEvent.Transition.MovePgReportEventToSkipped
|
|
35
|
+
* @permission schema.action.movepgreporteventtoskipped.trigger
|
|
36
|
+
* @benchmark This action is tracked for performance benchmarks
|
|
37
|
+
*/
|
|
38
|
+
class MovePgReportEventToSkippedDto 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 = 'MovePgReportEventToSkipped';
|
|
48
|
+
this.schemaActionId = '36d53f7f-d362-43c2-ac5c-90b11e933346';
|
|
49
|
+
this.entity = 'BillingModule:PgReportEvent';
|
|
50
|
+
this.stageKey = 'EventStatusStageSkipped';
|
|
51
|
+
}
|
|
52
|
+
}
|
|
53
|
+
exports.MovePgReportEventToSkippedDto = MovePgReportEventToSkippedDto;
|
|
54
|
+
/** Used by SDK generators to identify action type */
|
|
55
|
+
MovePgReportEventToSkippedDto.ACTION_TYPE = 'UPDATE';
|
|
56
|
+
MovePgReportEventToSkippedDto.ACTION_KEY = 'MovePgReportEventToSkipped';
|
|
57
|
+
MovePgReportEventToSkippedDto.MODULE_NAME = 'BillingModule';
|
|
58
|
+
MovePgReportEventToSkippedDto.ENTITIES = ['PgReportEvent'];
|
|
59
|
+
MovePgReportEventToSkippedDto.ENTITY_TYPE = 'DEFAULT';
|
|
60
|
+
MovePgReportEventToSkippedDto.EVENT_NAME = 'k1.t-hEOJjsDb.BillingModule.PgReportEvent.Transition.MovePgReportEventToSkipped';
|
|
61
|
+
MovePgReportEventToSkippedDto.SCHEMA_ACTION_ID = '36d53f7f-d362-43c2-ac5c-90b11e933346';
|
|
62
|
+
MovePgReportEventToSkippedDto.PERMISSION = 'schema.action.movepgreporteventtoskipped.trigger';
|
|
63
|
+
MovePgReportEventToSkippedDto.TARGET_STAGES = ['EventStatusStageSkipped'];
|
|
64
|
+
MovePgReportEventToSkippedDto.IS_STAGE_TRANSITION = true;
|
|
65
|
+
MovePgReportEventToSkippedDto.IS_MULTI_STEP_FLOW = false;
|
|
66
|
+
MovePgReportEventToSkippedDto.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
|
+
MovePgReportEventToSkippedDto.stepDefinitions = [
|
|
72
|
+
{
|
|
73
|
+
stepKey: 'step_1',
|
|
74
|
+
dtoClass: 'unknown',
|
|
75
|
+
entity: 'unknown',
|
|
76
|
+
linksTo: null
|
|
77
|
+
}
|
|
78
|
+
];
|
|
79
|
+
/** Type-safe step key accessor */
|
|
80
|
+
MovePgReportEventToSkippedDto.Steps = exports.MovePgReportEventToSkippedSteps;
|
|
81
|
+
/** Step classes that can be used with this action */
|
|
82
|
+
MovePgReportEventToSkippedDto.stepClasses = [];
|