@d19n/youfibre-odin-sdk 2.0.290 → 2.0.292
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 +10 -1
- package/dist/actions-v2/MovePaymentMethodRefundToFailedDto.d.ts +114 -0
- package/dist/actions-v2/MovePaymentMethodRefundToFailedDto.js +79 -0
- package/dist/actions-v2/MovePaymentMethodRefundToInProgressDto.d.ts +114 -0
- package/dist/actions-v2/MovePaymentMethodRefundToInProgressDto.js +79 -0
- package/dist/actions-v2/MovePaymentMethodRefundToRetryingDto.d.ts +114 -0
- package/dist/actions-v2/MovePaymentMethodRefundToRetryingDto.js +79 -0
- package/dist/entities-v2/Case.d.ts +2 -0
- package/dist/entities-v2/Case.js +2 -0
- package/dist/entities-v2/PaymentMethodRefund.d.ts +4 -4
- package/dist/entities-v2/PaymentMethodRefund.js +2 -2
- package/dist/entities-v2/Recontract.d.ts +22 -1
- package/dist/entities-v2/Recontract.js +6 -0
- package/dist/records-v2/PaymentMethodRefundRecord.d.ts +75 -0
- package/dist/records-v2/PaymentMethodRefundRecord.js +87 -0
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -368,7 +368,7 @@ This SDK includes **180** entities across **12** modules.
|
|
|
368
368
|
|
|
369
369
|
## Actions
|
|
370
370
|
|
|
371
|
-
This SDK includes **
|
|
371
|
+
This SDK includes **852** actions.
|
|
372
372
|
|
|
373
373
|
### Action Types
|
|
374
374
|
|
|
@@ -1262,9 +1262,18 @@ This SDK includes **849** actions.
|
|
|
1262
1262
|
| `CompletePaymentMethodRefundFlow` | STAGE_TRANSITION | k1.t-hEOJjsDb.BillingModule.PaymentMethodRefund.Update.CompletePaymentMethodRefund |
|
|
1263
1263
|
| `CreatePaymentMethodRefund` | CREATE | k1.t-hEOJjsDb.BillingModule.PaymentMethodRefund.Create.CreatePaymentMethodRefund |
|
|
1264
1264
|
| `CreatePaymentMethodRefundForContact` | CREATE | k1.t-hEOJjsDb.BillingModule.PaymentMethodRefund.Create.CreatePaymentMethodRefundForContact |
|
|
1265
|
+
| `MovePaymentMethodRefundToFailed` | STAGE_TRANSITION | k1.t-hEOJjsDb.BillingModule.PaymentMethodRefund.Transition.MovePaymentMethodRefundToFailed |
|
|
1266
|
+
| `MovePaymentMethodRefundToInProgress` | STAGE_TRANSITION | k1.t-hEOJjsDb.BillingModule.PaymentMethodRefund.Transition.MovePaymentMethodRefundToInProgress |
|
|
1267
|
+
| `MovePaymentMethodRefundToRetrying` | STAGE_TRANSITION | k1.t-hEOJjsDb.BillingModule.PaymentMethodRefund.Transition.MovePaymentMethodRefundToRetrying |
|
|
1265
1268
|
|
|
1266
1269
|
**CompletePaymentMethodRefundFlow Target Stages:** `PaymentMethodRefundStageDone`
|
|
1267
1270
|
|
|
1271
|
+
**MovePaymentMethodRefundToFailed Target Stages:** `PaymentMethodRefundPipelineStageFailed`
|
|
1272
|
+
|
|
1273
|
+
**MovePaymentMethodRefundToInProgress Target Stages:** `PaymentMethodRefundStageInProgress`
|
|
1274
|
+
|
|
1275
|
+
**MovePaymentMethodRefundToRetrying Target Stages:** `PaymentMethodRefundPipelineStageRetrying`
|
|
1276
|
+
|
|
1268
1277
|
#### UgExternalAudit
|
|
1269
1278
|
|
|
1270
1279
|
| Action | Type | Event |
|
|
@@ -0,0 +1,114 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* MovePaymentMethodRefundToFailed Action DTO
|
|
3
|
+
*
|
|
4
|
+
* Move PMR To Failed
|
|
5
|
+
*
|
|
6
|
+
* @module BillingModule
|
|
7
|
+
* @entity PaymentMethodRefund
|
|
8
|
+
* @actionKey MovePaymentMethodRefundToFailed
|
|
9
|
+
* @event k1.t-hEOJjsDb.BillingModule.PaymentMethodRefund.Transition.MovePaymentMethodRefundToFailed
|
|
10
|
+
*
|
|
11
|
+
* AUTO-GENERATED - DO NOT EDIT DIRECTLY
|
|
12
|
+
*/
|
|
13
|
+
import { OdinRecord, OdinRecordUpdateDto, OdinRecordUpdatedEvent } from '@d19n/odin-types/dist/core';
|
|
14
|
+
declare type StepClassMap = {};
|
|
15
|
+
/**
|
|
16
|
+
* Link definition for connecting steps in MovePaymentMethodRefundToFailed
|
|
17
|
+
*/
|
|
18
|
+
export interface MovePaymentMethodRefundToFailedStepLink {
|
|
19
|
+
/**
|
|
20
|
+
* The stepKey of the target step to link TO
|
|
21
|
+
* Must reference another step's stepKey in the same flow
|
|
22
|
+
*/
|
|
23
|
+
stepKey: string;
|
|
24
|
+
/**
|
|
25
|
+
* The schema association ID (UUID) defining the relationship
|
|
26
|
+
* Use the association.id from the schema association definition
|
|
27
|
+
* @example "a1b2c3d4-e5f6-7890-abcd-ef1234567890"
|
|
28
|
+
*/
|
|
29
|
+
schemaAssociationId: string;
|
|
30
|
+
}
|
|
31
|
+
/**
|
|
32
|
+
* Step definition with linking metadata for MovePaymentMethodRefundToFailed
|
|
33
|
+
*/
|
|
34
|
+
export interface MovePaymentMethodRefundToFailedStepDefinition {
|
|
35
|
+
/** Unique identifier for this step */
|
|
36
|
+
stepKey: string;
|
|
37
|
+
/** The DTO class name for this step */
|
|
38
|
+
dtoClass: string;
|
|
39
|
+
/** The entity this step creates (Module:Entity format) */
|
|
40
|
+
entity: string;
|
|
41
|
+
/** Links to create after this step executes */
|
|
42
|
+
linksTo: MovePaymentMethodRefundToFailedStepLink[] | null;
|
|
43
|
+
}
|
|
44
|
+
/**
|
|
45
|
+
* Type-safe step keys for MovePaymentMethodRefundToFailed
|
|
46
|
+
*/
|
|
47
|
+
export declare const MovePaymentMethodRefundToFailedSteps: {
|
|
48
|
+
readonly step_1: "step_1";
|
|
49
|
+
};
|
|
50
|
+
export declare type MovePaymentMethodRefundToFailedStepKey = typeof MovePaymentMethodRefundToFailedSteps[keyof typeof MovePaymentMethodRefundToFailedSteps];
|
|
51
|
+
/**
|
|
52
|
+
* RabbitMQ message payload for MovePaymentMethodRefundToFailed step flow events
|
|
53
|
+
*
|
|
54
|
+
* @event k1.t-hEOJjsDb.BillingModule.PaymentMethodRefund.Transition.MovePaymentMethodRefundToFailed
|
|
55
|
+
*/
|
|
56
|
+
export interface MovePaymentMethodRefundToFailedMessage extends OdinRecordUpdatedEvent<MovePaymentMethodRefundToFailedDto, {}> {
|
|
57
|
+
}
|
|
58
|
+
/**
|
|
59
|
+
* Properties for MovePaymentMethodRefundToFailed action
|
|
60
|
+
*
|
|
61
|
+
*/
|
|
62
|
+
export interface MovePaymentMethodRefundToFailedProperties {
|
|
63
|
+
}
|
|
64
|
+
/**
|
|
65
|
+
* MovePaymentMethodRefundToFailed
|
|
66
|
+
*
|
|
67
|
+
* Move PMR To Failed
|
|
68
|
+
*
|
|
69
|
+
* @actionType STAGE_TRANSITION - Transitions record to new pipeline stage
|
|
70
|
+
* @module BillingModule
|
|
71
|
+
* @entity PaymentMethodRefund
|
|
72
|
+
* @targetStages PaymentMethodRefundPipelineStageFailed
|
|
73
|
+
* @event k1.t-hEOJjsDb.BillingModule.PaymentMethodRefund.Transition.MovePaymentMethodRefundToFailed
|
|
74
|
+
* @permission schema.action.movepaymentmethodrefundtofailed.trigger
|
|
75
|
+
* @benchmark This action is tracked for performance benchmarks
|
|
76
|
+
*/
|
|
77
|
+
export declare class MovePaymentMethodRefundToFailedDto extends OdinRecordUpdateDto<Record<string, any>> {
|
|
78
|
+
/** Used by SDK generators to identify action type */
|
|
79
|
+
static readonly ACTION_TYPE = "UPDATE";
|
|
80
|
+
static readonly ACTION_KEY = "MovePaymentMethodRefundToFailed";
|
|
81
|
+
static readonly MODULE_NAME = "BillingModule";
|
|
82
|
+
static readonly ENTITIES: string[];
|
|
83
|
+
static readonly EVENT_NAME = "k1.t-hEOJjsDb.BillingModule.PaymentMethodRefund.Transition.MovePaymentMethodRefundToFailed";
|
|
84
|
+
static readonly SCHEMA_ACTION_ID = "8796e239-f56c-4680-822b-729762d0838c";
|
|
85
|
+
static readonly PERMISSION = "schema.action.movepaymentmethodrefundtofailed.trigger";
|
|
86
|
+
static readonly TARGET_STAGES: readonly ["PaymentMethodRefundPipelineStageFailed"];
|
|
87
|
+
static readonly IS_STAGE_TRANSITION = true;
|
|
88
|
+
static readonly IS_MULTI_STEP_FLOW = false;
|
|
89
|
+
static readonly HAS_STEP_LINKS = false;
|
|
90
|
+
/**
|
|
91
|
+
* Step definitions with linking metadata
|
|
92
|
+
* Used by SDK and backend for auto-linking after step execution
|
|
93
|
+
*/
|
|
94
|
+
static readonly stepDefinitions: MovePaymentMethodRefundToFailedStepDefinition[];
|
|
95
|
+
/** Type-safe step key accessor */
|
|
96
|
+
static readonly Steps: {
|
|
97
|
+
readonly step_1: "step_1";
|
|
98
|
+
};
|
|
99
|
+
readonly actionName: string;
|
|
100
|
+
readonly schemaActionId: string;
|
|
101
|
+
readonly entity: string;
|
|
102
|
+
readonly stageKey: string;
|
|
103
|
+
constructor(record: OdinRecord<any> | {
|
|
104
|
+
id: string;
|
|
105
|
+
entity: string;
|
|
106
|
+
type?: string;
|
|
107
|
+
}, options?: {
|
|
108
|
+
journeyId?: string;
|
|
109
|
+
});
|
|
110
|
+
/** Step classes that can be used with this action */
|
|
111
|
+
static readonly stepClasses: readonly [];
|
|
112
|
+
steps: StepClassMap[(typeof MovePaymentMethodRefundToFailedDto.stepClasses)[number]][];
|
|
113
|
+
}
|
|
114
|
+
export {};
|
|
@@ -0,0 +1,79 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* MovePaymentMethodRefundToFailed Action DTO
|
|
4
|
+
*
|
|
5
|
+
* Move PMR To Failed
|
|
6
|
+
*
|
|
7
|
+
* @module BillingModule
|
|
8
|
+
* @entity PaymentMethodRefund
|
|
9
|
+
* @actionKey MovePaymentMethodRefundToFailed
|
|
10
|
+
* @event k1.t-hEOJjsDb.BillingModule.PaymentMethodRefund.Transition.MovePaymentMethodRefundToFailed
|
|
11
|
+
*
|
|
12
|
+
* AUTO-GENERATED - DO NOT EDIT DIRECTLY
|
|
13
|
+
*/
|
|
14
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
15
|
+
exports.MovePaymentMethodRefundToFailedDto = exports.MovePaymentMethodRefundToFailedSteps = void 0;
|
|
16
|
+
const core_1 = require("@d19n/odin-types/dist/core");
|
|
17
|
+
/**
|
|
18
|
+
* Type-safe step keys for MovePaymentMethodRefundToFailed
|
|
19
|
+
*/
|
|
20
|
+
exports.MovePaymentMethodRefundToFailedSteps = {
|
|
21
|
+
step_1: 'step_1',
|
|
22
|
+
};
|
|
23
|
+
/**
|
|
24
|
+
* MovePaymentMethodRefundToFailed
|
|
25
|
+
*
|
|
26
|
+
* Move PMR To Failed
|
|
27
|
+
*
|
|
28
|
+
* @actionType STAGE_TRANSITION - Transitions record to new pipeline stage
|
|
29
|
+
* @module BillingModule
|
|
30
|
+
* @entity PaymentMethodRefund
|
|
31
|
+
* @targetStages PaymentMethodRefundPipelineStageFailed
|
|
32
|
+
* @event k1.t-hEOJjsDb.BillingModule.PaymentMethodRefund.Transition.MovePaymentMethodRefundToFailed
|
|
33
|
+
* @permission schema.action.movepaymentmethodrefundtofailed.trigger
|
|
34
|
+
* @benchmark This action is tracked for performance benchmarks
|
|
35
|
+
*/
|
|
36
|
+
class MovePaymentMethodRefundToFailedDto extends core_1.OdinRecordUpdateDto {
|
|
37
|
+
constructor(record, options) {
|
|
38
|
+
super({
|
|
39
|
+
id: record.id,
|
|
40
|
+
entity: record.entity,
|
|
41
|
+
type: record.type,
|
|
42
|
+
properties: {},
|
|
43
|
+
journeyId: options === null || options === void 0 ? void 0 : options.journeyId,
|
|
44
|
+
});
|
|
45
|
+
this.actionName = 'MovePaymentMethodRefundToFailed';
|
|
46
|
+
this.schemaActionId = '8796e239-f56c-4680-822b-729762d0838c';
|
|
47
|
+
this.entity = 'BillingModule:PaymentMethodRefund';
|
|
48
|
+
this.stageKey = 'PaymentMethodRefundPipelineStageFailed';
|
|
49
|
+
}
|
|
50
|
+
}
|
|
51
|
+
exports.MovePaymentMethodRefundToFailedDto = MovePaymentMethodRefundToFailedDto;
|
|
52
|
+
/** Used by SDK generators to identify action type */
|
|
53
|
+
MovePaymentMethodRefundToFailedDto.ACTION_TYPE = 'UPDATE';
|
|
54
|
+
MovePaymentMethodRefundToFailedDto.ACTION_KEY = 'MovePaymentMethodRefundToFailed';
|
|
55
|
+
MovePaymentMethodRefundToFailedDto.MODULE_NAME = 'BillingModule';
|
|
56
|
+
MovePaymentMethodRefundToFailedDto.ENTITIES = ['PaymentMethodRefund'];
|
|
57
|
+
MovePaymentMethodRefundToFailedDto.EVENT_NAME = 'k1.t-hEOJjsDb.BillingModule.PaymentMethodRefund.Transition.MovePaymentMethodRefundToFailed';
|
|
58
|
+
MovePaymentMethodRefundToFailedDto.SCHEMA_ACTION_ID = '8796e239-f56c-4680-822b-729762d0838c';
|
|
59
|
+
MovePaymentMethodRefundToFailedDto.PERMISSION = 'schema.action.movepaymentmethodrefundtofailed.trigger';
|
|
60
|
+
MovePaymentMethodRefundToFailedDto.TARGET_STAGES = ['PaymentMethodRefundPipelineStageFailed'];
|
|
61
|
+
MovePaymentMethodRefundToFailedDto.IS_STAGE_TRANSITION = true;
|
|
62
|
+
MovePaymentMethodRefundToFailedDto.IS_MULTI_STEP_FLOW = false;
|
|
63
|
+
MovePaymentMethodRefundToFailedDto.HAS_STEP_LINKS = false;
|
|
64
|
+
/**
|
|
65
|
+
* Step definitions with linking metadata
|
|
66
|
+
* Used by SDK and backend for auto-linking after step execution
|
|
67
|
+
*/
|
|
68
|
+
MovePaymentMethodRefundToFailedDto.stepDefinitions = [
|
|
69
|
+
{
|
|
70
|
+
stepKey: 'step_1',
|
|
71
|
+
dtoClass: 'unknown',
|
|
72
|
+
entity: 'unknown',
|
|
73
|
+
linksTo: null
|
|
74
|
+
}
|
|
75
|
+
];
|
|
76
|
+
/** Type-safe step key accessor */
|
|
77
|
+
MovePaymentMethodRefundToFailedDto.Steps = exports.MovePaymentMethodRefundToFailedSteps;
|
|
78
|
+
/** Step classes that can be used with this action */
|
|
79
|
+
MovePaymentMethodRefundToFailedDto.stepClasses = [];
|
|
@@ -0,0 +1,114 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* MovePaymentMethodRefundToInProgress Action DTO
|
|
3
|
+
*
|
|
4
|
+
* Move PMR To InProgress
|
|
5
|
+
*
|
|
6
|
+
* @module BillingModule
|
|
7
|
+
* @entity PaymentMethodRefund
|
|
8
|
+
* @actionKey MovePaymentMethodRefundToInProgress
|
|
9
|
+
* @event k1.t-hEOJjsDb.BillingModule.PaymentMethodRefund.Transition.MovePaymentMethodRefundToInProgress
|
|
10
|
+
*
|
|
11
|
+
* AUTO-GENERATED - DO NOT EDIT DIRECTLY
|
|
12
|
+
*/
|
|
13
|
+
import { OdinRecord, OdinRecordUpdateDto, OdinRecordUpdatedEvent } from '@d19n/odin-types/dist/core';
|
|
14
|
+
declare type StepClassMap = {};
|
|
15
|
+
/**
|
|
16
|
+
* Link definition for connecting steps in MovePaymentMethodRefundToInProgress
|
|
17
|
+
*/
|
|
18
|
+
export interface MovePaymentMethodRefundToInProgressStepLink {
|
|
19
|
+
/**
|
|
20
|
+
* The stepKey of the target step to link TO
|
|
21
|
+
* Must reference another step's stepKey in the same flow
|
|
22
|
+
*/
|
|
23
|
+
stepKey: string;
|
|
24
|
+
/**
|
|
25
|
+
* The schema association ID (UUID) defining the relationship
|
|
26
|
+
* Use the association.id from the schema association definition
|
|
27
|
+
* @example "a1b2c3d4-e5f6-7890-abcd-ef1234567890"
|
|
28
|
+
*/
|
|
29
|
+
schemaAssociationId: string;
|
|
30
|
+
}
|
|
31
|
+
/**
|
|
32
|
+
* Step definition with linking metadata for MovePaymentMethodRefundToInProgress
|
|
33
|
+
*/
|
|
34
|
+
export interface MovePaymentMethodRefundToInProgressStepDefinition {
|
|
35
|
+
/** Unique identifier for this step */
|
|
36
|
+
stepKey: string;
|
|
37
|
+
/** The DTO class name for this step */
|
|
38
|
+
dtoClass: string;
|
|
39
|
+
/** The entity this step creates (Module:Entity format) */
|
|
40
|
+
entity: string;
|
|
41
|
+
/** Links to create after this step executes */
|
|
42
|
+
linksTo: MovePaymentMethodRefundToInProgressStepLink[] | null;
|
|
43
|
+
}
|
|
44
|
+
/**
|
|
45
|
+
* Type-safe step keys for MovePaymentMethodRefundToInProgress
|
|
46
|
+
*/
|
|
47
|
+
export declare const MovePaymentMethodRefundToInProgressSteps: {
|
|
48
|
+
readonly step_1: "step_1";
|
|
49
|
+
};
|
|
50
|
+
export declare type MovePaymentMethodRefundToInProgressStepKey = typeof MovePaymentMethodRefundToInProgressSteps[keyof typeof MovePaymentMethodRefundToInProgressSteps];
|
|
51
|
+
/**
|
|
52
|
+
* RabbitMQ message payload for MovePaymentMethodRefundToInProgress step flow events
|
|
53
|
+
*
|
|
54
|
+
* @event k1.t-hEOJjsDb.BillingModule.PaymentMethodRefund.Transition.MovePaymentMethodRefundToInProgress
|
|
55
|
+
*/
|
|
56
|
+
export interface MovePaymentMethodRefundToInProgressMessage extends OdinRecordUpdatedEvent<MovePaymentMethodRefundToInProgressDto, {}> {
|
|
57
|
+
}
|
|
58
|
+
/**
|
|
59
|
+
* Properties for MovePaymentMethodRefundToInProgress action
|
|
60
|
+
*
|
|
61
|
+
*/
|
|
62
|
+
export interface MovePaymentMethodRefundToInProgressProperties {
|
|
63
|
+
}
|
|
64
|
+
/**
|
|
65
|
+
* MovePaymentMethodRefundToInProgress
|
|
66
|
+
*
|
|
67
|
+
* Move PMR To InProgress
|
|
68
|
+
*
|
|
69
|
+
* @actionType STAGE_TRANSITION - Transitions record to new pipeline stage
|
|
70
|
+
* @module BillingModule
|
|
71
|
+
* @entity PaymentMethodRefund
|
|
72
|
+
* @targetStages PaymentMethodRefundStageInProgress
|
|
73
|
+
* @event k1.t-hEOJjsDb.BillingModule.PaymentMethodRefund.Transition.MovePaymentMethodRefundToInProgress
|
|
74
|
+
* @permission schema.action.movepaymentmethodrefundtoinprogress.trigger
|
|
75
|
+
* @benchmark This action is tracked for performance benchmarks
|
|
76
|
+
*/
|
|
77
|
+
export declare class MovePaymentMethodRefundToInProgressDto extends OdinRecordUpdateDto<Record<string, any>> {
|
|
78
|
+
/** Used by SDK generators to identify action type */
|
|
79
|
+
static readonly ACTION_TYPE = "UPDATE";
|
|
80
|
+
static readonly ACTION_KEY = "MovePaymentMethodRefundToInProgress";
|
|
81
|
+
static readonly MODULE_NAME = "BillingModule";
|
|
82
|
+
static readonly ENTITIES: string[];
|
|
83
|
+
static readonly EVENT_NAME = "k1.t-hEOJjsDb.BillingModule.PaymentMethodRefund.Transition.MovePaymentMethodRefundToInProgress";
|
|
84
|
+
static readonly SCHEMA_ACTION_ID = "acaef26a-5f3c-408b-b80c-49339f1bc5f3";
|
|
85
|
+
static readonly PERMISSION = "schema.action.movepaymentmethodrefundtoinprogress.trigger";
|
|
86
|
+
static readonly TARGET_STAGES: readonly ["PaymentMethodRefundStageInProgress"];
|
|
87
|
+
static readonly IS_STAGE_TRANSITION = true;
|
|
88
|
+
static readonly IS_MULTI_STEP_FLOW = false;
|
|
89
|
+
static readonly HAS_STEP_LINKS = false;
|
|
90
|
+
/**
|
|
91
|
+
* Step definitions with linking metadata
|
|
92
|
+
* Used by SDK and backend for auto-linking after step execution
|
|
93
|
+
*/
|
|
94
|
+
static readonly stepDefinitions: MovePaymentMethodRefundToInProgressStepDefinition[];
|
|
95
|
+
/** Type-safe step key accessor */
|
|
96
|
+
static readonly Steps: {
|
|
97
|
+
readonly step_1: "step_1";
|
|
98
|
+
};
|
|
99
|
+
readonly actionName: string;
|
|
100
|
+
readonly schemaActionId: string;
|
|
101
|
+
readonly entity: string;
|
|
102
|
+
readonly stageKey: string;
|
|
103
|
+
constructor(record: OdinRecord<any> | {
|
|
104
|
+
id: string;
|
|
105
|
+
entity: string;
|
|
106
|
+
type?: string;
|
|
107
|
+
}, options?: {
|
|
108
|
+
journeyId?: string;
|
|
109
|
+
});
|
|
110
|
+
/** Step classes that can be used with this action */
|
|
111
|
+
static readonly stepClasses: readonly [];
|
|
112
|
+
steps: StepClassMap[(typeof MovePaymentMethodRefundToInProgressDto.stepClasses)[number]][];
|
|
113
|
+
}
|
|
114
|
+
export {};
|
|
@@ -0,0 +1,79 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* MovePaymentMethodRefundToInProgress Action DTO
|
|
4
|
+
*
|
|
5
|
+
* Move PMR To InProgress
|
|
6
|
+
*
|
|
7
|
+
* @module BillingModule
|
|
8
|
+
* @entity PaymentMethodRefund
|
|
9
|
+
* @actionKey MovePaymentMethodRefundToInProgress
|
|
10
|
+
* @event k1.t-hEOJjsDb.BillingModule.PaymentMethodRefund.Transition.MovePaymentMethodRefundToInProgress
|
|
11
|
+
*
|
|
12
|
+
* AUTO-GENERATED - DO NOT EDIT DIRECTLY
|
|
13
|
+
*/
|
|
14
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
15
|
+
exports.MovePaymentMethodRefundToInProgressDto = exports.MovePaymentMethodRefundToInProgressSteps = void 0;
|
|
16
|
+
const core_1 = require("@d19n/odin-types/dist/core");
|
|
17
|
+
/**
|
|
18
|
+
* Type-safe step keys for MovePaymentMethodRefundToInProgress
|
|
19
|
+
*/
|
|
20
|
+
exports.MovePaymentMethodRefundToInProgressSteps = {
|
|
21
|
+
step_1: 'step_1',
|
|
22
|
+
};
|
|
23
|
+
/**
|
|
24
|
+
* MovePaymentMethodRefundToInProgress
|
|
25
|
+
*
|
|
26
|
+
* Move PMR To InProgress
|
|
27
|
+
*
|
|
28
|
+
* @actionType STAGE_TRANSITION - Transitions record to new pipeline stage
|
|
29
|
+
* @module BillingModule
|
|
30
|
+
* @entity PaymentMethodRefund
|
|
31
|
+
* @targetStages PaymentMethodRefundStageInProgress
|
|
32
|
+
* @event k1.t-hEOJjsDb.BillingModule.PaymentMethodRefund.Transition.MovePaymentMethodRefundToInProgress
|
|
33
|
+
* @permission schema.action.movepaymentmethodrefundtoinprogress.trigger
|
|
34
|
+
* @benchmark This action is tracked for performance benchmarks
|
|
35
|
+
*/
|
|
36
|
+
class MovePaymentMethodRefundToInProgressDto extends core_1.OdinRecordUpdateDto {
|
|
37
|
+
constructor(record, options) {
|
|
38
|
+
super({
|
|
39
|
+
id: record.id,
|
|
40
|
+
entity: record.entity,
|
|
41
|
+
type: record.type,
|
|
42
|
+
properties: {},
|
|
43
|
+
journeyId: options === null || options === void 0 ? void 0 : options.journeyId,
|
|
44
|
+
});
|
|
45
|
+
this.actionName = 'MovePaymentMethodRefundToInProgress';
|
|
46
|
+
this.schemaActionId = 'acaef26a-5f3c-408b-b80c-49339f1bc5f3';
|
|
47
|
+
this.entity = 'BillingModule:PaymentMethodRefund';
|
|
48
|
+
this.stageKey = 'PaymentMethodRefundStageInProgress';
|
|
49
|
+
}
|
|
50
|
+
}
|
|
51
|
+
exports.MovePaymentMethodRefundToInProgressDto = MovePaymentMethodRefundToInProgressDto;
|
|
52
|
+
/** Used by SDK generators to identify action type */
|
|
53
|
+
MovePaymentMethodRefundToInProgressDto.ACTION_TYPE = 'UPDATE';
|
|
54
|
+
MovePaymentMethodRefundToInProgressDto.ACTION_KEY = 'MovePaymentMethodRefundToInProgress';
|
|
55
|
+
MovePaymentMethodRefundToInProgressDto.MODULE_NAME = 'BillingModule';
|
|
56
|
+
MovePaymentMethodRefundToInProgressDto.ENTITIES = ['PaymentMethodRefund'];
|
|
57
|
+
MovePaymentMethodRefundToInProgressDto.EVENT_NAME = 'k1.t-hEOJjsDb.BillingModule.PaymentMethodRefund.Transition.MovePaymentMethodRefundToInProgress';
|
|
58
|
+
MovePaymentMethodRefundToInProgressDto.SCHEMA_ACTION_ID = 'acaef26a-5f3c-408b-b80c-49339f1bc5f3';
|
|
59
|
+
MovePaymentMethodRefundToInProgressDto.PERMISSION = 'schema.action.movepaymentmethodrefundtoinprogress.trigger';
|
|
60
|
+
MovePaymentMethodRefundToInProgressDto.TARGET_STAGES = ['PaymentMethodRefundStageInProgress'];
|
|
61
|
+
MovePaymentMethodRefundToInProgressDto.IS_STAGE_TRANSITION = true;
|
|
62
|
+
MovePaymentMethodRefundToInProgressDto.IS_MULTI_STEP_FLOW = false;
|
|
63
|
+
MovePaymentMethodRefundToInProgressDto.HAS_STEP_LINKS = false;
|
|
64
|
+
/**
|
|
65
|
+
* Step definitions with linking metadata
|
|
66
|
+
* Used by SDK and backend for auto-linking after step execution
|
|
67
|
+
*/
|
|
68
|
+
MovePaymentMethodRefundToInProgressDto.stepDefinitions = [
|
|
69
|
+
{
|
|
70
|
+
stepKey: 'step_1',
|
|
71
|
+
dtoClass: 'unknown',
|
|
72
|
+
entity: 'unknown',
|
|
73
|
+
linksTo: null
|
|
74
|
+
}
|
|
75
|
+
];
|
|
76
|
+
/** Type-safe step key accessor */
|
|
77
|
+
MovePaymentMethodRefundToInProgressDto.Steps = exports.MovePaymentMethodRefundToInProgressSteps;
|
|
78
|
+
/** Step classes that can be used with this action */
|
|
79
|
+
MovePaymentMethodRefundToInProgressDto.stepClasses = [];
|
|
@@ -0,0 +1,114 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* MovePaymentMethodRefundToRetrying Action DTO
|
|
3
|
+
*
|
|
4
|
+
* Move PMR To Retrying
|
|
5
|
+
*
|
|
6
|
+
* @module BillingModule
|
|
7
|
+
* @entity PaymentMethodRefund
|
|
8
|
+
* @actionKey MovePaymentMethodRefundToRetrying
|
|
9
|
+
* @event k1.t-hEOJjsDb.BillingModule.PaymentMethodRefund.Transition.MovePaymentMethodRefundToRetrying
|
|
10
|
+
*
|
|
11
|
+
* AUTO-GENERATED - DO NOT EDIT DIRECTLY
|
|
12
|
+
*/
|
|
13
|
+
import { OdinRecord, OdinRecordUpdateDto, OdinRecordUpdatedEvent } from '@d19n/odin-types/dist/core';
|
|
14
|
+
declare type StepClassMap = {};
|
|
15
|
+
/**
|
|
16
|
+
* Link definition for connecting steps in MovePaymentMethodRefundToRetrying
|
|
17
|
+
*/
|
|
18
|
+
export interface MovePaymentMethodRefundToRetryingStepLink {
|
|
19
|
+
/**
|
|
20
|
+
* The stepKey of the target step to link TO
|
|
21
|
+
* Must reference another step's stepKey in the same flow
|
|
22
|
+
*/
|
|
23
|
+
stepKey: string;
|
|
24
|
+
/**
|
|
25
|
+
* The schema association ID (UUID) defining the relationship
|
|
26
|
+
* Use the association.id from the schema association definition
|
|
27
|
+
* @example "a1b2c3d4-e5f6-7890-abcd-ef1234567890"
|
|
28
|
+
*/
|
|
29
|
+
schemaAssociationId: string;
|
|
30
|
+
}
|
|
31
|
+
/**
|
|
32
|
+
* Step definition with linking metadata for MovePaymentMethodRefundToRetrying
|
|
33
|
+
*/
|
|
34
|
+
export interface MovePaymentMethodRefundToRetryingStepDefinition {
|
|
35
|
+
/** Unique identifier for this step */
|
|
36
|
+
stepKey: string;
|
|
37
|
+
/** The DTO class name for this step */
|
|
38
|
+
dtoClass: string;
|
|
39
|
+
/** The entity this step creates (Module:Entity format) */
|
|
40
|
+
entity: string;
|
|
41
|
+
/** Links to create after this step executes */
|
|
42
|
+
linksTo: MovePaymentMethodRefundToRetryingStepLink[] | null;
|
|
43
|
+
}
|
|
44
|
+
/**
|
|
45
|
+
* Type-safe step keys for MovePaymentMethodRefundToRetrying
|
|
46
|
+
*/
|
|
47
|
+
export declare const MovePaymentMethodRefundToRetryingSteps: {
|
|
48
|
+
readonly step_1: "step_1";
|
|
49
|
+
};
|
|
50
|
+
export declare type MovePaymentMethodRefundToRetryingStepKey = typeof MovePaymentMethodRefundToRetryingSteps[keyof typeof MovePaymentMethodRefundToRetryingSteps];
|
|
51
|
+
/**
|
|
52
|
+
* RabbitMQ message payload for MovePaymentMethodRefundToRetrying step flow events
|
|
53
|
+
*
|
|
54
|
+
* @event k1.t-hEOJjsDb.BillingModule.PaymentMethodRefund.Transition.MovePaymentMethodRefundToRetrying
|
|
55
|
+
*/
|
|
56
|
+
export interface MovePaymentMethodRefundToRetryingMessage extends OdinRecordUpdatedEvent<MovePaymentMethodRefundToRetryingDto, {}> {
|
|
57
|
+
}
|
|
58
|
+
/**
|
|
59
|
+
* Properties for MovePaymentMethodRefundToRetrying action
|
|
60
|
+
*
|
|
61
|
+
*/
|
|
62
|
+
export interface MovePaymentMethodRefundToRetryingProperties {
|
|
63
|
+
}
|
|
64
|
+
/**
|
|
65
|
+
* MovePaymentMethodRefundToRetrying
|
|
66
|
+
*
|
|
67
|
+
* Move PMR To Retrying
|
|
68
|
+
*
|
|
69
|
+
* @actionType STAGE_TRANSITION - Transitions record to new pipeline stage
|
|
70
|
+
* @module BillingModule
|
|
71
|
+
* @entity PaymentMethodRefund
|
|
72
|
+
* @targetStages PaymentMethodRefundPipelineStageRetrying
|
|
73
|
+
* @event k1.t-hEOJjsDb.BillingModule.PaymentMethodRefund.Transition.MovePaymentMethodRefundToRetrying
|
|
74
|
+
* @permission schema.action.movepaymentmethodrefundtoretrying.trigger
|
|
75
|
+
* @benchmark This action is tracked for performance benchmarks
|
|
76
|
+
*/
|
|
77
|
+
export declare class MovePaymentMethodRefundToRetryingDto extends OdinRecordUpdateDto<Record<string, any>> {
|
|
78
|
+
/** Used by SDK generators to identify action type */
|
|
79
|
+
static readonly ACTION_TYPE = "UPDATE";
|
|
80
|
+
static readonly ACTION_KEY = "MovePaymentMethodRefundToRetrying";
|
|
81
|
+
static readonly MODULE_NAME = "BillingModule";
|
|
82
|
+
static readonly ENTITIES: string[];
|
|
83
|
+
static readonly EVENT_NAME = "k1.t-hEOJjsDb.BillingModule.PaymentMethodRefund.Transition.MovePaymentMethodRefundToRetrying";
|
|
84
|
+
static readonly SCHEMA_ACTION_ID = "be11d1bc-d682-4513-8f59-c78ee7e470b5";
|
|
85
|
+
static readonly PERMISSION = "schema.action.movepaymentmethodrefundtoretrying.trigger";
|
|
86
|
+
static readonly TARGET_STAGES: readonly ["PaymentMethodRefundPipelineStageRetrying"];
|
|
87
|
+
static readonly IS_STAGE_TRANSITION = true;
|
|
88
|
+
static readonly IS_MULTI_STEP_FLOW = false;
|
|
89
|
+
static readonly HAS_STEP_LINKS = false;
|
|
90
|
+
/**
|
|
91
|
+
* Step definitions with linking metadata
|
|
92
|
+
* Used by SDK and backend for auto-linking after step execution
|
|
93
|
+
*/
|
|
94
|
+
static readonly stepDefinitions: MovePaymentMethodRefundToRetryingStepDefinition[];
|
|
95
|
+
/** Type-safe step key accessor */
|
|
96
|
+
static readonly Steps: {
|
|
97
|
+
readonly step_1: "step_1";
|
|
98
|
+
};
|
|
99
|
+
readonly actionName: string;
|
|
100
|
+
readonly schemaActionId: string;
|
|
101
|
+
readonly entity: string;
|
|
102
|
+
readonly stageKey: string;
|
|
103
|
+
constructor(record: OdinRecord<any> | {
|
|
104
|
+
id: string;
|
|
105
|
+
entity: string;
|
|
106
|
+
type?: string;
|
|
107
|
+
}, options?: {
|
|
108
|
+
journeyId?: string;
|
|
109
|
+
});
|
|
110
|
+
/** Step classes that can be used with this action */
|
|
111
|
+
static readonly stepClasses: readonly [];
|
|
112
|
+
steps: StepClassMap[(typeof MovePaymentMethodRefundToRetryingDto.stepClasses)[number]][];
|
|
113
|
+
}
|
|
114
|
+
export {};
|
|
@@ -0,0 +1,79 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* MovePaymentMethodRefundToRetrying Action DTO
|
|
4
|
+
*
|
|
5
|
+
* Move PMR To Retrying
|
|
6
|
+
*
|
|
7
|
+
* @module BillingModule
|
|
8
|
+
* @entity PaymentMethodRefund
|
|
9
|
+
* @actionKey MovePaymentMethodRefundToRetrying
|
|
10
|
+
* @event k1.t-hEOJjsDb.BillingModule.PaymentMethodRefund.Transition.MovePaymentMethodRefundToRetrying
|
|
11
|
+
*
|
|
12
|
+
* AUTO-GENERATED - DO NOT EDIT DIRECTLY
|
|
13
|
+
*/
|
|
14
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
15
|
+
exports.MovePaymentMethodRefundToRetryingDto = exports.MovePaymentMethodRefundToRetryingSteps = void 0;
|
|
16
|
+
const core_1 = require("@d19n/odin-types/dist/core");
|
|
17
|
+
/**
|
|
18
|
+
* Type-safe step keys for MovePaymentMethodRefundToRetrying
|
|
19
|
+
*/
|
|
20
|
+
exports.MovePaymentMethodRefundToRetryingSteps = {
|
|
21
|
+
step_1: 'step_1',
|
|
22
|
+
};
|
|
23
|
+
/**
|
|
24
|
+
* MovePaymentMethodRefundToRetrying
|
|
25
|
+
*
|
|
26
|
+
* Move PMR To Retrying
|
|
27
|
+
*
|
|
28
|
+
* @actionType STAGE_TRANSITION - Transitions record to new pipeline stage
|
|
29
|
+
* @module BillingModule
|
|
30
|
+
* @entity PaymentMethodRefund
|
|
31
|
+
* @targetStages PaymentMethodRefundPipelineStageRetrying
|
|
32
|
+
* @event k1.t-hEOJjsDb.BillingModule.PaymentMethodRefund.Transition.MovePaymentMethodRefundToRetrying
|
|
33
|
+
* @permission schema.action.movepaymentmethodrefundtoretrying.trigger
|
|
34
|
+
* @benchmark This action is tracked for performance benchmarks
|
|
35
|
+
*/
|
|
36
|
+
class MovePaymentMethodRefundToRetryingDto extends core_1.OdinRecordUpdateDto {
|
|
37
|
+
constructor(record, options) {
|
|
38
|
+
super({
|
|
39
|
+
id: record.id,
|
|
40
|
+
entity: record.entity,
|
|
41
|
+
type: record.type,
|
|
42
|
+
properties: {},
|
|
43
|
+
journeyId: options === null || options === void 0 ? void 0 : options.journeyId,
|
|
44
|
+
});
|
|
45
|
+
this.actionName = 'MovePaymentMethodRefundToRetrying';
|
|
46
|
+
this.schemaActionId = 'be11d1bc-d682-4513-8f59-c78ee7e470b5';
|
|
47
|
+
this.entity = 'BillingModule:PaymentMethodRefund';
|
|
48
|
+
this.stageKey = 'PaymentMethodRefundPipelineStageRetrying';
|
|
49
|
+
}
|
|
50
|
+
}
|
|
51
|
+
exports.MovePaymentMethodRefundToRetryingDto = MovePaymentMethodRefundToRetryingDto;
|
|
52
|
+
/** Used by SDK generators to identify action type */
|
|
53
|
+
MovePaymentMethodRefundToRetryingDto.ACTION_TYPE = 'UPDATE';
|
|
54
|
+
MovePaymentMethodRefundToRetryingDto.ACTION_KEY = 'MovePaymentMethodRefundToRetrying';
|
|
55
|
+
MovePaymentMethodRefundToRetryingDto.MODULE_NAME = 'BillingModule';
|
|
56
|
+
MovePaymentMethodRefundToRetryingDto.ENTITIES = ['PaymentMethodRefund'];
|
|
57
|
+
MovePaymentMethodRefundToRetryingDto.EVENT_NAME = 'k1.t-hEOJjsDb.BillingModule.PaymentMethodRefund.Transition.MovePaymentMethodRefundToRetrying';
|
|
58
|
+
MovePaymentMethodRefundToRetryingDto.SCHEMA_ACTION_ID = 'be11d1bc-d682-4513-8f59-c78ee7e470b5';
|
|
59
|
+
MovePaymentMethodRefundToRetryingDto.PERMISSION = 'schema.action.movepaymentmethodrefundtoretrying.trigger';
|
|
60
|
+
MovePaymentMethodRefundToRetryingDto.TARGET_STAGES = ['PaymentMethodRefundPipelineStageRetrying'];
|
|
61
|
+
MovePaymentMethodRefundToRetryingDto.IS_STAGE_TRANSITION = true;
|
|
62
|
+
MovePaymentMethodRefundToRetryingDto.IS_MULTI_STEP_FLOW = false;
|
|
63
|
+
MovePaymentMethodRefundToRetryingDto.HAS_STEP_LINKS = false;
|
|
64
|
+
/**
|
|
65
|
+
* Step definitions with linking metadata
|
|
66
|
+
* Used by SDK and backend for auto-linking after step execution
|
|
67
|
+
*/
|
|
68
|
+
MovePaymentMethodRefundToRetryingDto.stepDefinitions = [
|
|
69
|
+
{
|
|
70
|
+
stepKey: 'step_1',
|
|
71
|
+
dtoClass: 'unknown',
|
|
72
|
+
entity: 'unknown',
|
|
73
|
+
linksTo: null
|
|
74
|
+
}
|
|
75
|
+
];
|
|
76
|
+
/** Type-safe step key accessor */
|
|
77
|
+
MovePaymentMethodRefundToRetryingDto.Steps = exports.MovePaymentMethodRefundToRetryingSteps;
|
|
78
|
+
/** Step classes that can be used with this action */
|
|
79
|
+
MovePaymentMethodRefundToRetryingDto.stepClasses = [];
|
|
@@ -790,12 +790,14 @@ export declare enum CaseLastDialOutcome {
|
|
|
790
790
|
* @remarks Available options:
|
|
791
791
|
* - `CLAIMED` - Claimed
|
|
792
792
|
* - `FAILED` - Failed
|
|
793
|
+
* - `HUMAN_REVIEW_REQUIRED` - Human review required
|
|
793
794
|
* - `IN_PROGRESS` - In progress
|
|
794
795
|
* - `RESOLVED` - Resolved
|
|
795
796
|
*/
|
|
796
797
|
export declare enum CaseAutoResolutionStatus {
|
|
797
798
|
CLAIMED = "CLAIMED",
|
|
798
799
|
FAILED = "FAILED",
|
|
800
|
+
HUMAN_REVIEW_REQUIRED = "HUMAN_REVIEW_REQUIRED",
|
|
799
801
|
IN_PROGRESS = "IN_PROGRESS",
|
|
800
802
|
RESOLVED = "RESOLVED"
|
|
801
803
|
}
|
package/dist/entities-v2/Case.js
CHANGED
|
@@ -803,6 +803,7 @@ var CaseLastDialOutcome;
|
|
|
803
803
|
* @remarks Available options:
|
|
804
804
|
* - `CLAIMED` - Claimed
|
|
805
805
|
* - `FAILED` - Failed
|
|
806
|
+
* - `HUMAN_REVIEW_REQUIRED` - Human review required
|
|
806
807
|
* - `IN_PROGRESS` - In progress
|
|
807
808
|
* - `RESOLVED` - Resolved
|
|
808
809
|
*/
|
|
@@ -810,6 +811,7 @@ var CaseAutoResolutionStatus;
|
|
|
810
811
|
(function (CaseAutoResolutionStatus) {
|
|
811
812
|
CaseAutoResolutionStatus["CLAIMED"] = "CLAIMED";
|
|
812
813
|
CaseAutoResolutionStatus["FAILED"] = "FAILED";
|
|
814
|
+
CaseAutoResolutionStatus["HUMAN_REVIEW_REQUIRED"] = "HUMAN_REVIEW_REQUIRED";
|
|
813
815
|
CaseAutoResolutionStatus["IN_PROGRESS"] = "IN_PROGRESS";
|
|
814
816
|
CaseAutoResolutionStatus["RESOLVED"] = "RESOLVED";
|
|
815
817
|
})(CaseAutoResolutionStatus = exports.CaseAutoResolutionStatus || (exports.CaseAutoResolutionStatus = {}));
|
|
@@ -106,8 +106,8 @@ export declare enum PaymentMethodRefundPropertyKeys {
|
|
|
106
106
|
WorkOrderRef = "WorkOrderRef",
|
|
107
107
|
/** Number of times the refund was retried after error */
|
|
108
108
|
RetryCount = "RetryCount",
|
|
109
|
-
/**
|
|
110
|
-
|
|
109
|
+
/** When the last refund attempts came back failed (via the associated Transaction) */
|
|
110
|
+
LastFailureDate = "LastFailureDate",
|
|
111
111
|
/** External Reference from provider */
|
|
112
112
|
ExternalRef = "ExternalRef"
|
|
113
113
|
}
|
|
@@ -176,11 +176,11 @@ export interface PaymentMethodRefundProperties {
|
|
|
176
176
|
* @default 0
|
|
177
177
|
*/
|
|
178
178
|
RetryCount: number;
|
|
179
|
-
/**
|
|
179
|
+
/** When the last refund attempts came back failed (via the associated Transaction)
|
|
180
180
|
*
|
|
181
181
|
* @type {DATE}
|
|
182
182
|
*/
|
|
183
|
-
|
|
183
|
+
LastFailureDate: string;
|
|
184
184
|
/** External Reference from provider
|
|
185
185
|
*
|
|
186
186
|
* @type {TEXT}
|
|
@@ -103,8 +103,8 @@ var PaymentMethodRefundPropertyKeys;
|
|
|
103
103
|
PaymentMethodRefundPropertyKeys["WorkOrderRef"] = "WorkOrderRef";
|
|
104
104
|
/** Number of times the refund was retried after error */
|
|
105
105
|
PaymentMethodRefundPropertyKeys["RetryCount"] = "RetryCount";
|
|
106
|
-
/**
|
|
107
|
-
PaymentMethodRefundPropertyKeys["
|
|
106
|
+
/** When the last refund attempts came back failed (via the associated Transaction) */
|
|
107
|
+
PaymentMethodRefundPropertyKeys["LastFailureDate"] = "LastFailureDate";
|
|
108
108
|
/** External Reference from provider */
|
|
109
109
|
PaymentMethodRefundPropertyKeys["ExternalRef"] = "ExternalRef";
|
|
110
110
|
})(PaymentMethodRefundPropertyKeys = exports.PaymentMethodRefundPropertyKeys || (exports.PaymentMethodRefundPropertyKeys = {}));
|
|
@@ -70,7 +70,13 @@ export declare enum RecontractPropertyKeys {
|
|
|
70
70
|
/** Who initiated the recontract. */
|
|
71
71
|
Source = "Source",
|
|
72
72
|
/** Date the order was recontracted (in place). Discriminator + event date. */
|
|
73
|
-
RecontractDate = "RecontractDate"
|
|
73
|
+
RecontractDate = "RecontractDate",
|
|
74
|
+
/** Whether the recontract required an ONT upgrade or not */
|
|
75
|
+
RequiredOntUpgrade = "RequiredOntUpgrade",
|
|
76
|
+
/** Whether the recontract required a router upgrade or not */
|
|
77
|
+
RequiredRouterUpgrade = "RequiredRouterUpgrade",
|
|
78
|
+
/** Whether the recontract required a mesh upgrade or not */
|
|
79
|
+
RequiredMeshUpgrade = "RequiredMeshUpgrade"
|
|
74
80
|
}
|
|
75
81
|
/**
|
|
76
82
|
* Properties for Recontract records
|
|
@@ -166,6 +172,21 @@ export interface RecontractProperties {
|
|
|
166
172
|
* @type {DATE}
|
|
167
173
|
*/
|
|
168
174
|
RecontractDate: string;
|
|
175
|
+
/** Whether the recontract required an ONT upgrade or not
|
|
176
|
+
*
|
|
177
|
+
* @type {BOOLEAN}
|
|
178
|
+
*/
|
|
179
|
+
RequiredOntUpgrade: boolean;
|
|
180
|
+
/** Whether the recontract required a router upgrade or not
|
|
181
|
+
*
|
|
182
|
+
* @type {BOOLEAN}
|
|
183
|
+
*/
|
|
184
|
+
RequiredRouterUpgrade: boolean;
|
|
185
|
+
/** Whether the recontract required a mesh upgrade or not
|
|
186
|
+
*
|
|
187
|
+
* @type {BOOLEAN}
|
|
188
|
+
*/
|
|
189
|
+
RequiredMeshUpgrade: boolean;
|
|
169
190
|
}
|
|
170
191
|
/**
|
|
171
192
|
* Recontract entity from OrderModule
|
|
@@ -76,6 +76,12 @@ var RecontractPropertyKeys;
|
|
|
76
76
|
RecontractPropertyKeys["Source"] = "Source";
|
|
77
77
|
/** Date the order was recontracted (in place). Discriminator + event date. */
|
|
78
78
|
RecontractPropertyKeys["RecontractDate"] = "RecontractDate";
|
|
79
|
+
/** Whether the recontract required an ONT upgrade or not */
|
|
80
|
+
RecontractPropertyKeys["RequiredOntUpgrade"] = "RequiredOntUpgrade";
|
|
81
|
+
/** Whether the recontract required a router upgrade or not */
|
|
82
|
+
RecontractPropertyKeys["RequiredRouterUpgrade"] = "RequiredRouterUpgrade";
|
|
83
|
+
/** Whether the recontract required a mesh upgrade or not */
|
|
84
|
+
RecontractPropertyKeys["RequiredMeshUpgrade"] = "RequiredMeshUpgrade";
|
|
79
85
|
})(RecontractPropertyKeys = exports.RecontractPropertyKeys || (exports.RecontractPropertyKeys = {}));
|
|
80
86
|
/**
|
|
81
87
|
* Recontract entity from OrderModule
|
|
@@ -519,6 +519,81 @@ export declare class PaymentMethodRefundRecord<TProps = PaymentMethodRefundPrope
|
|
|
519
519
|
completePaymentMethodRefundFlow(options?: {
|
|
520
520
|
journeyId?: string;
|
|
521
521
|
}): CompletePaymentMethodRefundFlowFlowBuilder;
|
|
522
|
+
/**
|
|
523
|
+
* MovePaymentMethodRefundToFailed
|
|
524
|
+
*
|
|
525
|
+
* Transitions this PaymentMethodRefund record to a new pipeline stage.
|
|
526
|
+
* Returns an ActionBuilder - call .execute() to transition or .dryRun() for debugging.
|
|
527
|
+
*
|
|
528
|
+
* @remarks Transitions to stage: PaymentMethodRefundPipelineStageFailed
|
|
529
|
+
*
|
|
530
|
+
* @param options - Optional settings
|
|
531
|
+
* @param options.journeyId - Associate with a journey
|
|
532
|
+
* @returns ActionBuilder - call .execute() to transition or .dryRun() for payload
|
|
533
|
+
* @throws Error if called on a new (unsaved) record
|
|
534
|
+
*
|
|
535
|
+
* @example
|
|
536
|
+
* ```typescript
|
|
537
|
+
* const record = await odinClient.paymentMethodRefunds.get(id);
|
|
538
|
+
* await record.movePaymentMethodRefundToFailed().execute();
|
|
539
|
+
*
|
|
540
|
+
* // Dry run (for debugging)
|
|
541
|
+
* const payload = record.movePaymentMethodRefundToFailed().dryRun();
|
|
542
|
+
* ```
|
|
543
|
+
*/
|
|
544
|
+
movePaymentMethodRefundToFailed(options?: {
|
|
545
|
+
journeyId?: string;
|
|
546
|
+
}): ActionBuilder;
|
|
547
|
+
/**
|
|
548
|
+
* MovePaymentMethodRefundToInProgress
|
|
549
|
+
*
|
|
550
|
+
* Transitions this PaymentMethodRefund record to a new pipeline stage.
|
|
551
|
+
* Returns an ActionBuilder - call .execute() to transition or .dryRun() for debugging.
|
|
552
|
+
*
|
|
553
|
+
* @remarks Transitions to stage: PaymentMethodRefundStageInProgress
|
|
554
|
+
*
|
|
555
|
+
* @param options - Optional settings
|
|
556
|
+
* @param options.journeyId - Associate with a journey
|
|
557
|
+
* @returns ActionBuilder - call .execute() to transition or .dryRun() for payload
|
|
558
|
+
* @throws Error if called on a new (unsaved) record
|
|
559
|
+
*
|
|
560
|
+
* @example
|
|
561
|
+
* ```typescript
|
|
562
|
+
* const record = await odinClient.paymentMethodRefunds.get(id);
|
|
563
|
+
* await record.movePaymentMethodRefundToInProgress().execute();
|
|
564
|
+
*
|
|
565
|
+
* // Dry run (for debugging)
|
|
566
|
+
* const payload = record.movePaymentMethodRefundToInProgress().dryRun();
|
|
567
|
+
* ```
|
|
568
|
+
*/
|
|
569
|
+
movePaymentMethodRefundToInProgress(options?: {
|
|
570
|
+
journeyId?: string;
|
|
571
|
+
}): ActionBuilder;
|
|
572
|
+
/**
|
|
573
|
+
* MovePaymentMethodRefundToRetrying
|
|
574
|
+
*
|
|
575
|
+
* Transitions this PaymentMethodRefund record to a new pipeline stage.
|
|
576
|
+
* Returns an ActionBuilder - call .execute() to transition or .dryRun() for debugging.
|
|
577
|
+
*
|
|
578
|
+
* @remarks Transitions to stage: PaymentMethodRefundPipelineStageRetrying
|
|
579
|
+
*
|
|
580
|
+
* @param options - Optional settings
|
|
581
|
+
* @param options.journeyId - Associate with a journey
|
|
582
|
+
* @returns ActionBuilder - call .execute() to transition or .dryRun() for payload
|
|
583
|
+
* @throws Error if called on a new (unsaved) record
|
|
584
|
+
*
|
|
585
|
+
* @example
|
|
586
|
+
* ```typescript
|
|
587
|
+
* const record = await odinClient.paymentMethodRefunds.get(id);
|
|
588
|
+
* await record.movePaymentMethodRefundToRetrying().execute();
|
|
589
|
+
*
|
|
590
|
+
* // Dry run (for debugging)
|
|
591
|
+
* const payload = record.movePaymentMethodRefundToRetrying().dryRun();
|
|
592
|
+
* ```
|
|
593
|
+
*/
|
|
594
|
+
movePaymentMethodRefundToRetrying(options?: {
|
|
595
|
+
journeyId?: string;
|
|
596
|
+
}): ActionBuilder;
|
|
522
597
|
}
|
|
523
598
|
/** Type guard to check if an object is a PaymentMethodRefundRecord */
|
|
524
599
|
export declare function isPaymentMethodRefundRecord(obj: any): obj is PaymentMethodRefundRecord;
|
|
@@ -746,6 +746,93 @@ class PaymentMethodRefundRecord {
|
|
|
746
746
|
throw new Error('completePaymentMethodRefundFlow requires an existing record. Use accessor.get() first.');
|
|
747
747
|
return new CompletePaymentMethodRefundFlowFlowBuilder(this, this._provider, this._pendingLinks, options);
|
|
748
748
|
}
|
|
749
|
+
/**
|
|
750
|
+
* MovePaymentMethodRefundToFailed
|
|
751
|
+
*
|
|
752
|
+
* Transitions this PaymentMethodRefund record to a new pipeline stage.
|
|
753
|
+
* Returns an ActionBuilder - call .execute() to transition or .dryRun() for debugging.
|
|
754
|
+
*
|
|
755
|
+
* @remarks Transitions to stage: PaymentMethodRefundPipelineStageFailed
|
|
756
|
+
*
|
|
757
|
+
* @param options - Optional settings
|
|
758
|
+
* @param options.journeyId - Associate with a journey
|
|
759
|
+
* @returns ActionBuilder - call .execute() to transition or .dryRun() for payload
|
|
760
|
+
* @throws Error if called on a new (unsaved) record
|
|
761
|
+
*
|
|
762
|
+
* @example
|
|
763
|
+
* ```typescript
|
|
764
|
+
* const record = await odinClient.paymentMethodRefunds.get(id);
|
|
765
|
+
* await record.movePaymentMethodRefundToFailed().execute();
|
|
766
|
+
*
|
|
767
|
+
* // Dry run (for debugging)
|
|
768
|
+
* const payload = record.movePaymentMethodRefundToFailed().dryRun();
|
|
769
|
+
* ```
|
|
770
|
+
*/
|
|
771
|
+
movePaymentMethodRefundToFailed(options) {
|
|
772
|
+
var _a;
|
|
773
|
+
if (!((_a = this._record) === null || _a === void 0 ? void 0 : _a.id))
|
|
774
|
+
throw new Error('movePaymentMethodRefundToFailed requires an existing record. Use accessor.get() first.');
|
|
775
|
+
const payload = Object.assign({ id: this._record.id, entity: this._record.entity, type: this._record.type, actionName: 'MovePaymentMethodRefundToFailed', associations: this._pendingLinks.length > 0 ? this._pendingLinks : undefined, stageKey: 'PaymentMethodRefundPipelineStageFailed' }, options);
|
|
776
|
+
return new ActionBuilder(this._provider, 'BillingModule', 'PaymentMethodRefund', payload, () => { this._pendingLinks = []; });
|
|
777
|
+
}
|
|
778
|
+
/**
|
|
779
|
+
* MovePaymentMethodRefundToInProgress
|
|
780
|
+
*
|
|
781
|
+
* Transitions this PaymentMethodRefund record to a new pipeline stage.
|
|
782
|
+
* Returns an ActionBuilder - call .execute() to transition or .dryRun() for debugging.
|
|
783
|
+
*
|
|
784
|
+
* @remarks Transitions to stage: PaymentMethodRefundStageInProgress
|
|
785
|
+
*
|
|
786
|
+
* @param options - Optional settings
|
|
787
|
+
* @param options.journeyId - Associate with a journey
|
|
788
|
+
* @returns ActionBuilder - call .execute() to transition or .dryRun() for payload
|
|
789
|
+
* @throws Error if called on a new (unsaved) record
|
|
790
|
+
*
|
|
791
|
+
* @example
|
|
792
|
+
* ```typescript
|
|
793
|
+
* const record = await odinClient.paymentMethodRefunds.get(id);
|
|
794
|
+
* await record.movePaymentMethodRefundToInProgress().execute();
|
|
795
|
+
*
|
|
796
|
+
* // Dry run (for debugging)
|
|
797
|
+
* const payload = record.movePaymentMethodRefundToInProgress().dryRun();
|
|
798
|
+
* ```
|
|
799
|
+
*/
|
|
800
|
+
movePaymentMethodRefundToInProgress(options) {
|
|
801
|
+
var _a;
|
|
802
|
+
if (!((_a = this._record) === null || _a === void 0 ? void 0 : _a.id))
|
|
803
|
+
throw new Error('movePaymentMethodRefundToInProgress requires an existing record. Use accessor.get() first.');
|
|
804
|
+
const payload = Object.assign({ id: this._record.id, entity: this._record.entity, type: this._record.type, actionName: 'MovePaymentMethodRefundToInProgress', associations: this._pendingLinks.length > 0 ? this._pendingLinks : undefined, stageKey: 'PaymentMethodRefundStageInProgress' }, options);
|
|
805
|
+
return new ActionBuilder(this._provider, 'BillingModule', 'PaymentMethodRefund', payload, () => { this._pendingLinks = []; });
|
|
806
|
+
}
|
|
807
|
+
/**
|
|
808
|
+
* MovePaymentMethodRefundToRetrying
|
|
809
|
+
*
|
|
810
|
+
* Transitions this PaymentMethodRefund record to a new pipeline stage.
|
|
811
|
+
* Returns an ActionBuilder - call .execute() to transition or .dryRun() for debugging.
|
|
812
|
+
*
|
|
813
|
+
* @remarks Transitions to stage: PaymentMethodRefundPipelineStageRetrying
|
|
814
|
+
*
|
|
815
|
+
* @param options - Optional settings
|
|
816
|
+
* @param options.journeyId - Associate with a journey
|
|
817
|
+
* @returns ActionBuilder - call .execute() to transition or .dryRun() for payload
|
|
818
|
+
* @throws Error if called on a new (unsaved) record
|
|
819
|
+
*
|
|
820
|
+
* @example
|
|
821
|
+
* ```typescript
|
|
822
|
+
* const record = await odinClient.paymentMethodRefunds.get(id);
|
|
823
|
+
* await record.movePaymentMethodRefundToRetrying().execute();
|
|
824
|
+
*
|
|
825
|
+
* // Dry run (for debugging)
|
|
826
|
+
* const payload = record.movePaymentMethodRefundToRetrying().dryRun();
|
|
827
|
+
* ```
|
|
828
|
+
*/
|
|
829
|
+
movePaymentMethodRefundToRetrying(options) {
|
|
830
|
+
var _a;
|
|
831
|
+
if (!((_a = this._record) === null || _a === void 0 ? void 0 : _a.id))
|
|
832
|
+
throw new Error('movePaymentMethodRefundToRetrying requires an existing record. Use accessor.get() first.');
|
|
833
|
+
const payload = Object.assign({ id: this._record.id, entity: this._record.entity, type: this._record.type, actionName: 'MovePaymentMethodRefundToRetrying', associations: this._pendingLinks.length > 0 ? this._pendingLinks : undefined, stageKey: 'PaymentMethodRefundPipelineStageRetrying' }, options);
|
|
834
|
+
return new ActionBuilder(this._provider, 'BillingModule', 'PaymentMethodRefund', payload, () => { this._pendingLinks = []; });
|
|
835
|
+
}
|
|
749
836
|
}
|
|
750
837
|
exports.PaymentMethodRefundRecord = PaymentMethodRefundRecord;
|
|
751
838
|
// ============================================
|