@d19n/youfibre-odin-sdk 2.0.350 → 2.0.352
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 +49 -2
- package/dist/actions-v2/MoveGainingOneTouchSwitchToMatchRequestConfirmedDto.d.ts +70 -0
- package/dist/actions-v2/MoveGainingOneTouchSwitchToMatchRequestConfirmedDto.js +62 -0
- package/dist/actions-v2/MoveGainingOneTouchSwitchToMatchRequestFailedDto.d.ts +70 -0
- package/dist/actions-v2/MoveGainingOneTouchSwitchToMatchRequestFailedDto.js +62 -0
- package/dist/actions-v2/MoveGainingOneTouchSwitchToMatchRequestSentDto.d.ts +70 -0
- package/dist/actions-v2/MoveGainingOneTouchSwitchToMatchRequestSentDto.js +62 -0
- package/dist/actions-v2/MoveGainingOneTouchSwitchToOrderCancelConfirmedDto.d.ts +70 -0
- package/dist/actions-v2/MoveGainingOneTouchSwitchToOrderCancelConfirmedDto.js +62 -0
- package/dist/actions-v2/MoveGainingOneTouchSwitchToOrderCancelFailedDto.d.ts +70 -0
- package/dist/actions-v2/MoveGainingOneTouchSwitchToOrderCancelFailedDto.js +62 -0
- package/dist/actions-v2/MoveGainingOneTouchSwitchToOrderCancelSentDto.d.ts +70 -0
- package/dist/actions-v2/MoveGainingOneTouchSwitchToOrderCancelSentDto.js +62 -0
- package/dist/actions-v2/MoveGainingOneTouchSwitchToOrderRequestConfirmedDto.d.ts +70 -0
- package/dist/actions-v2/MoveGainingOneTouchSwitchToOrderRequestConfirmedDto.js +62 -0
- package/dist/actions-v2/MoveGainingOneTouchSwitchToOrderRequestFailedDto.d.ts +70 -0
- package/dist/actions-v2/MoveGainingOneTouchSwitchToOrderRequestFailedDto.js +62 -0
- package/dist/actions-v2/MoveGainingOneTouchSwitchToOrderRequestSentDto.d.ts +70 -0
- package/dist/actions-v2/MoveGainingOneTouchSwitchToOrderRequestSentDto.js +62 -0
- package/dist/actions-v2/MoveGainingOneTouchSwitchToOrderTriggerConfirmedDto.d.ts +70 -0
- package/dist/actions-v2/MoveGainingOneTouchSwitchToOrderTriggerConfirmedDto.js +62 -0
- package/dist/actions-v2/MoveGainingOneTouchSwitchToOrderTriggerFailedDto.d.ts +70 -0
- package/dist/actions-v2/MoveGainingOneTouchSwitchToOrderTriggerFailedDto.js +62 -0
- package/dist/actions-v2/MoveGainingOneTouchSwitchToOrderTriggerSentDto.d.ts +70 -0
- package/dist/actions-v2/MoveGainingOneTouchSwitchToOrderTriggerSentDto.js +62 -0
- package/dist/actions-v2/MoveGainingOneTouchSwitchToOrderUpdateConfirmedDto.d.ts +70 -0
- package/dist/actions-v2/MoveGainingOneTouchSwitchToOrderUpdateConfirmedDto.js +62 -0
- package/dist/actions-v2/MoveGainingOneTouchSwitchToOrderUpdateFailedDto.d.ts +70 -0
- package/dist/actions-v2/MoveGainingOneTouchSwitchToOrderUpdateFailedDto.js +62 -0
- package/dist/actions-v2/MoveGainingOneTouchSwitchToOrderUpdateSentDto.d.ts +70 -0
- package/dist/actions-v2/MoveGainingOneTouchSwitchToOrderUpdateSentDto.js +62 -0
- package/dist/api-sdk-v2/AiTagItemApi.d.ts +48 -0
- package/dist/api-sdk-v2/AiTagItemApi.js +155 -0
- package/dist/api-sdk-v2/AiTagSetApi.d.ts +48 -0
- package/dist/api-sdk-v2/AiTagSetApi.js +155 -0
- package/dist/db-sdk-v2/AiTagItemDb.d.ts +120 -0
- package/dist/db-sdk-v2/AiTagItemDb.js +204 -0
- package/dist/db-sdk-v2/AiTagSetDb.d.ts +120 -0
- package/dist/db-sdk-v2/AiTagSetDb.js +204 -0
- package/dist/db-sdk-v2/FileDb.d.ts +132 -132
- package/dist/db-sdk-v2/FileDb.js +268 -268
- package/dist/entities-v2/AiTagItem.d.ts +195 -0
- package/dist/entities-v2/AiTagItem.js +118 -0
- package/dist/entities-v2/AiTagSet.d.ts +151 -0
- package/dist/entities-v2/AiTagSet.js +110 -0
- package/dist/entities-v2/ChangeReason.d.ts +2 -1
- package/dist/entities-v2/ChangeReason.js +2 -1
- package/dist/entities-v2/Commitment.d.ts +37 -5
- package/dist/entities-v2/Commitment.js +12 -4
- package/dist/entities-v2/CustomerDeviceOnt.d.ts +9 -1
- package/dist/entities-v2/CustomerDeviceOnt.js +2 -0
- package/dist/entities-v2/File.d.ts +0 -6
- package/dist/entities-v2/File.js +1 -5
- package/dist/entities-v2/OneTouchSwitch.d.ts +73 -0
- package/dist/entities-v2/OneTouchSwitch.js +76 -1
- package/dist/records-v2/OneTouchSwitchRecord.d.ts +375 -0
- package/dist/records-v2/OneTouchSwitchRecord.js +435 -0
- package/dist/wholesale-provider/kci-effect-bridge.js +8 -2
- package/dist/wholesale-provider/test/kci-effect-bridge.spec.js +9 -0
- package/package.json +1 -1
|
@@ -0,0 +1,70 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* MoveGainingOneTouchSwitchToOrderTriggerConfirmed Action DTO
|
|
3
|
+
*
|
|
4
|
+
* Moves a GAINING switch to Order Trigger Confirmed and sets Status = SWITCH_ORDER_TRIGGER_CONFIRMED.
|
|
5
|
+
*
|
|
6
|
+
* @module OrderModule
|
|
7
|
+
* @entity OneTouchSwitch
|
|
8
|
+
* @entityType GAINING
|
|
9
|
+
* @actionKey MoveGainingOneTouchSwitchToOrderTriggerConfirmed
|
|
10
|
+
* @event k1.t-hEOJjsDb.OrderModule.OneTouchSwitch.Transition.MoveGainingOneTouchSwitchToOrderTriggerConfirmed
|
|
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 MoveGainingOneTouchSwitchToOrderTriggerConfirmed step flow events
|
|
17
|
+
*
|
|
18
|
+
* @event k1.t-hEOJjsDb.OrderModule.OneTouchSwitch.Transition.MoveGainingOneTouchSwitchToOrderTriggerConfirmed
|
|
19
|
+
*/
|
|
20
|
+
export interface MoveGainingOneTouchSwitchToOrderTriggerConfirmedMessage extends OdinRecordUpdatedEvent<MoveGainingOneTouchSwitchToOrderTriggerConfirmedDto, {}> {
|
|
21
|
+
}
|
|
22
|
+
/**
|
|
23
|
+
* Properties for MoveGainingOneTouchSwitchToOrderTriggerConfirmed action
|
|
24
|
+
*
|
|
25
|
+
*/
|
|
26
|
+
export interface MoveGainingOneTouchSwitchToOrderTriggerConfirmedProperties {
|
|
27
|
+
}
|
|
28
|
+
/**
|
|
29
|
+
* Order Trigger Confirmed
|
|
30
|
+
*
|
|
31
|
+
* Moves a GAINING switch to Order Trigger Confirmed and sets Status = SWITCH_ORDER_TRIGGER_CONFIRMED.
|
|
32
|
+
*
|
|
33
|
+
* @actionType STAGE_TRANSITION - Transitions record to new pipeline stage
|
|
34
|
+
* @module OrderModule
|
|
35
|
+
* @entity OneTouchSwitch
|
|
36
|
+
* @entityType GAINING (gaining)
|
|
37
|
+
* @targetStages OneTouchSwitchGainingStageOrderTriggerConfirmed
|
|
38
|
+
* @event k1.t-hEOJjsDb.OrderModule.OneTouchSwitch.Transition.MoveGainingOneTouchSwitchToOrderTriggerConfirmed
|
|
39
|
+
* @permission schema.action.movegainingonetouchswitchtoordertriggerconfirmed.trigger
|
|
40
|
+
* @benchmark This action is tracked for performance benchmarks
|
|
41
|
+
*/
|
|
42
|
+
export declare class MoveGainingOneTouchSwitchToOrderTriggerConfirmedDto 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 = "MoveGainingOneTouchSwitchToOrderTriggerConfirmed";
|
|
46
|
+
static readonly MODULE_NAME = "OrderModule";
|
|
47
|
+
static readonly ENTITIES: string[];
|
|
48
|
+
static readonly ENTITY_TYPE = "GAINING";
|
|
49
|
+
static readonly EVENT_NAME = "k1.t-hEOJjsDb.OrderModule.OneTouchSwitch.Transition.MoveGainingOneTouchSwitchToOrderTriggerConfirmed";
|
|
50
|
+
static readonly SCHEMA_ACTION_ID = "270559a3-0b99-4920-a43e-f3f6d79837a5";
|
|
51
|
+
static readonly PERMISSION = "schema.action.movegainingonetouchswitchtoordertriggerconfirmed.trigger";
|
|
52
|
+
static readonly TARGET_STAGES: readonly ["OneTouchSwitchGainingStageOrderTriggerConfirmed"];
|
|
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
|
+
* MoveGainingOneTouchSwitchToOrderTriggerConfirmed Action DTO
|
|
4
|
+
*
|
|
5
|
+
* Moves a GAINING switch to Order Trigger Confirmed and sets Status = SWITCH_ORDER_TRIGGER_CONFIRMED.
|
|
6
|
+
*
|
|
7
|
+
* @module OrderModule
|
|
8
|
+
* @entity OneTouchSwitch
|
|
9
|
+
* @entityType GAINING
|
|
10
|
+
* @actionKey MoveGainingOneTouchSwitchToOrderTriggerConfirmed
|
|
11
|
+
* @event k1.t-hEOJjsDb.OrderModule.OneTouchSwitch.Transition.MoveGainingOneTouchSwitchToOrderTriggerConfirmed
|
|
12
|
+
*
|
|
13
|
+
* AUTO-GENERATED - DO NOT EDIT DIRECTLY
|
|
14
|
+
*/
|
|
15
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
+
exports.MoveGainingOneTouchSwitchToOrderTriggerConfirmedDto = void 0;
|
|
17
|
+
const core_1 = require("@d19n/odin-types/dist/core");
|
|
18
|
+
/**
|
|
19
|
+
* Order Trigger Confirmed
|
|
20
|
+
*
|
|
21
|
+
* Moves a GAINING switch to Order Trigger Confirmed and sets Status = SWITCH_ORDER_TRIGGER_CONFIRMED.
|
|
22
|
+
*
|
|
23
|
+
* @actionType STAGE_TRANSITION - Transitions record to new pipeline stage
|
|
24
|
+
* @module OrderModule
|
|
25
|
+
* @entity OneTouchSwitch
|
|
26
|
+
* @entityType GAINING (gaining)
|
|
27
|
+
* @targetStages OneTouchSwitchGainingStageOrderTriggerConfirmed
|
|
28
|
+
* @event k1.t-hEOJjsDb.OrderModule.OneTouchSwitch.Transition.MoveGainingOneTouchSwitchToOrderTriggerConfirmed
|
|
29
|
+
* @permission schema.action.movegainingonetouchswitchtoordertriggerconfirmed.trigger
|
|
30
|
+
* @benchmark This action is tracked for performance benchmarks
|
|
31
|
+
*/
|
|
32
|
+
class MoveGainingOneTouchSwitchToOrderTriggerConfirmedDto 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 = 'MoveGainingOneTouchSwitchToOrderTriggerConfirmed';
|
|
42
|
+
this.schemaActionId = '270559a3-0b99-4920-a43e-f3f6d79837a5';
|
|
43
|
+
this.entity = 'OrderModule:OneTouchSwitch';
|
|
44
|
+
this.stageKey = 'OneTouchSwitchGainingStageOrderTriggerConfirmed';
|
|
45
|
+
}
|
|
46
|
+
}
|
|
47
|
+
exports.MoveGainingOneTouchSwitchToOrderTriggerConfirmedDto = MoveGainingOneTouchSwitchToOrderTriggerConfirmedDto;
|
|
48
|
+
/** Used by SDK generators to identify action type */
|
|
49
|
+
MoveGainingOneTouchSwitchToOrderTriggerConfirmedDto.ACTION_TYPE = 'UPDATE';
|
|
50
|
+
MoveGainingOneTouchSwitchToOrderTriggerConfirmedDto.ACTION_KEY = 'MoveGainingOneTouchSwitchToOrderTriggerConfirmed';
|
|
51
|
+
MoveGainingOneTouchSwitchToOrderTriggerConfirmedDto.MODULE_NAME = 'OrderModule';
|
|
52
|
+
MoveGainingOneTouchSwitchToOrderTriggerConfirmedDto.ENTITIES = ['OneTouchSwitch'];
|
|
53
|
+
MoveGainingOneTouchSwitchToOrderTriggerConfirmedDto.ENTITY_TYPE = 'GAINING';
|
|
54
|
+
MoveGainingOneTouchSwitchToOrderTriggerConfirmedDto.EVENT_NAME = 'k1.t-hEOJjsDb.OrderModule.OneTouchSwitch.Transition.MoveGainingOneTouchSwitchToOrderTriggerConfirmed';
|
|
55
|
+
MoveGainingOneTouchSwitchToOrderTriggerConfirmedDto.SCHEMA_ACTION_ID = '270559a3-0b99-4920-a43e-f3f6d79837a5';
|
|
56
|
+
MoveGainingOneTouchSwitchToOrderTriggerConfirmedDto.PERMISSION = 'schema.action.movegainingonetouchswitchtoordertriggerconfirmed.trigger';
|
|
57
|
+
MoveGainingOneTouchSwitchToOrderTriggerConfirmedDto.TARGET_STAGES = ['OneTouchSwitchGainingStageOrderTriggerConfirmed'];
|
|
58
|
+
MoveGainingOneTouchSwitchToOrderTriggerConfirmedDto.IS_STAGE_TRANSITION = true;
|
|
59
|
+
MoveGainingOneTouchSwitchToOrderTriggerConfirmedDto.IS_MULTI_STEP_FLOW = false;
|
|
60
|
+
MoveGainingOneTouchSwitchToOrderTriggerConfirmedDto.HAS_STEP_LINKS = false;
|
|
61
|
+
/** Step classes that can be used with this action */
|
|
62
|
+
MoveGainingOneTouchSwitchToOrderTriggerConfirmedDto.stepClasses = [];
|
|
@@ -0,0 +1,70 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* MoveGainingOneTouchSwitchToOrderTriggerFailed Action DTO
|
|
3
|
+
*
|
|
4
|
+
* Moves a GAINING switch to Order Trigger Failed and sets Status = SWITCH_ORDER_TRIGGER_FAILED.
|
|
5
|
+
*
|
|
6
|
+
* @module OrderModule
|
|
7
|
+
* @entity OneTouchSwitch
|
|
8
|
+
* @entityType GAINING
|
|
9
|
+
* @actionKey MoveGainingOneTouchSwitchToOrderTriggerFailed
|
|
10
|
+
* @event k1.t-hEOJjsDb.OrderModule.OneTouchSwitch.Transition.MoveGainingOneTouchSwitchToOrderTriggerFailed
|
|
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 MoveGainingOneTouchSwitchToOrderTriggerFailed step flow events
|
|
17
|
+
*
|
|
18
|
+
* @event k1.t-hEOJjsDb.OrderModule.OneTouchSwitch.Transition.MoveGainingOneTouchSwitchToOrderTriggerFailed
|
|
19
|
+
*/
|
|
20
|
+
export interface MoveGainingOneTouchSwitchToOrderTriggerFailedMessage extends OdinRecordUpdatedEvent<MoveGainingOneTouchSwitchToOrderTriggerFailedDto, {}> {
|
|
21
|
+
}
|
|
22
|
+
/**
|
|
23
|
+
* Properties for MoveGainingOneTouchSwitchToOrderTriggerFailed action
|
|
24
|
+
*
|
|
25
|
+
*/
|
|
26
|
+
export interface MoveGainingOneTouchSwitchToOrderTriggerFailedProperties {
|
|
27
|
+
}
|
|
28
|
+
/**
|
|
29
|
+
* Order Trigger Failed
|
|
30
|
+
*
|
|
31
|
+
* Moves a GAINING switch to Order Trigger Failed and sets Status = SWITCH_ORDER_TRIGGER_FAILED.
|
|
32
|
+
*
|
|
33
|
+
* @actionType STAGE_TRANSITION - Transitions record to new pipeline stage
|
|
34
|
+
* @module OrderModule
|
|
35
|
+
* @entity OneTouchSwitch
|
|
36
|
+
* @entityType GAINING (gaining)
|
|
37
|
+
* @targetStages OneTouchSwitchGainingStageOrderTriggerFailed
|
|
38
|
+
* @event k1.t-hEOJjsDb.OrderModule.OneTouchSwitch.Transition.MoveGainingOneTouchSwitchToOrderTriggerFailed
|
|
39
|
+
* @permission schema.action.movegainingonetouchswitchtoordertriggerfailed.trigger
|
|
40
|
+
* @benchmark This action is tracked for performance benchmarks
|
|
41
|
+
*/
|
|
42
|
+
export declare class MoveGainingOneTouchSwitchToOrderTriggerFailedDto 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 = "MoveGainingOneTouchSwitchToOrderTriggerFailed";
|
|
46
|
+
static readonly MODULE_NAME = "OrderModule";
|
|
47
|
+
static readonly ENTITIES: string[];
|
|
48
|
+
static readonly ENTITY_TYPE = "GAINING";
|
|
49
|
+
static readonly EVENT_NAME = "k1.t-hEOJjsDb.OrderModule.OneTouchSwitch.Transition.MoveGainingOneTouchSwitchToOrderTriggerFailed";
|
|
50
|
+
static readonly SCHEMA_ACTION_ID = "203a95c7-8458-490a-8547-4a0050e22257";
|
|
51
|
+
static readonly PERMISSION = "schema.action.movegainingonetouchswitchtoordertriggerfailed.trigger";
|
|
52
|
+
static readonly TARGET_STAGES: readonly ["OneTouchSwitchGainingStageOrderTriggerFailed"];
|
|
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
|
+
* MoveGainingOneTouchSwitchToOrderTriggerFailed Action DTO
|
|
4
|
+
*
|
|
5
|
+
* Moves a GAINING switch to Order Trigger Failed and sets Status = SWITCH_ORDER_TRIGGER_FAILED.
|
|
6
|
+
*
|
|
7
|
+
* @module OrderModule
|
|
8
|
+
* @entity OneTouchSwitch
|
|
9
|
+
* @entityType GAINING
|
|
10
|
+
* @actionKey MoveGainingOneTouchSwitchToOrderTriggerFailed
|
|
11
|
+
* @event k1.t-hEOJjsDb.OrderModule.OneTouchSwitch.Transition.MoveGainingOneTouchSwitchToOrderTriggerFailed
|
|
12
|
+
*
|
|
13
|
+
* AUTO-GENERATED - DO NOT EDIT DIRECTLY
|
|
14
|
+
*/
|
|
15
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
+
exports.MoveGainingOneTouchSwitchToOrderTriggerFailedDto = void 0;
|
|
17
|
+
const core_1 = require("@d19n/odin-types/dist/core");
|
|
18
|
+
/**
|
|
19
|
+
* Order Trigger Failed
|
|
20
|
+
*
|
|
21
|
+
* Moves a GAINING switch to Order Trigger Failed and sets Status = SWITCH_ORDER_TRIGGER_FAILED.
|
|
22
|
+
*
|
|
23
|
+
* @actionType STAGE_TRANSITION - Transitions record to new pipeline stage
|
|
24
|
+
* @module OrderModule
|
|
25
|
+
* @entity OneTouchSwitch
|
|
26
|
+
* @entityType GAINING (gaining)
|
|
27
|
+
* @targetStages OneTouchSwitchGainingStageOrderTriggerFailed
|
|
28
|
+
* @event k1.t-hEOJjsDb.OrderModule.OneTouchSwitch.Transition.MoveGainingOneTouchSwitchToOrderTriggerFailed
|
|
29
|
+
* @permission schema.action.movegainingonetouchswitchtoordertriggerfailed.trigger
|
|
30
|
+
* @benchmark This action is tracked for performance benchmarks
|
|
31
|
+
*/
|
|
32
|
+
class MoveGainingOneTouchSwitchToOrderTriggerFailedDto 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 = 'MoveGainingOneTouchSwitchToOrderTriggerFailed';
|
|
42
|
+
this.schemaActionId = '203a95c7-8458-490a-8547-4a0050e22257';
|
|
43
|
+
this.entity = 'OrderModule:OneTouchSwitch';
|
|
44
|
+
this.stageKey = 'OneTouchSwitchGainingStageOrderTriggerFailed';
|
|
45
|
+
}
|
|
46
|
+
}
|
|
47
|
+
exports.MoveGainingOneTouchSwitchToOrderTriggerFailedDto = MoveGainingOneTouchSwitchToOrderTriggerFailedDto;
|
|
48
|
+
/** Used by SDK generators to identify action type */
|
|
49
|
+
MoveGainingOneTouchSwitchToOrderTriggerFailedDto.ACTION_TYPE = 'UPDATE';
|
|
50
|
+
MoveGainingOneTouchSwitchToOrderTriggerFailedDto.ACTION_KEY = 'MoveGainingOneTouchSwitchToOrderTriggerFailed';
|
|
51
|
+
MoveGainingOneTouchSwitchToOrderTriggerFailedDto.MODULE_NAME = 'OrderModule';
|
|
52
|
+
MoveGainingOneTouchSwitchToOrderTriggerFailedDto.ENTITIES = ['OneTouchSwitch'];
|
|
53
|
+
MoveGainingOneTouchSwitchToOrderTriggerFailedDto.ENTITY_TYPE = 'GAINING';
|
|
54
|
+
MoveGainingOneTouchSwitchToOrderTriggerFailedDto.EVENT_NAME = 'k1.t-hEOJjsDb.OrderModule.OneTouchSwitch.Transition.MoveGainingOneTouchSwitchToOrderTriggerFailed';
|
|
55
|
+
MoveGainingOneTouchSwitchToOrderTriggerFailedDto.SCHEMA_ACTION_ID = '203a95c7-8458-490a-8547-4a0050e22257';
|
|
56
|
+
MoveGainingOneTouchSwitchToOrderTriggerFailedDto.PERMISSION = 'schema.action.movegainingonetouchswitchtoordertriggerfailed.trigger';
|
|
57
|
+
MoveGainingOneTouchSwitchToOrderTriggerFailedDto.TARGET_STAGES = ['OneTouchSwitchGainingStageOrderTriggerFailed'];
|
|
58
|
+
MoveGainingOneTouchSwitchToOrderTriggerFailedDto.IS_STAGE_TRANSITION = true;
|
|
59
|
+
MoveGainingOneTouchSwitchToOrderTriggerFailedDto.IS_MULTI_STEP_FLOW = false;
|
|
60
|
+
MoveGainingOneTouchSwitchToOrderTriggerFailedDto.HAS_STEP_LINKS = false;
|
|
61
|
+
/** Step classes that can be used with this action */
|
|
62
|
+
MoveGainingOneTouchSwitchToOrderTriggerFailedDto.stepClasses = [];
|
|
@@ -0,0 +1,70 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* MoveGainingOneTouchSwitchToOrderTriggerSent Action DTO
|
|
3
|
+
*
|
|
4
|
+
* Moves a GAINING switch to Order Trigger Sent and sets Status = SWITCH_ORDER_TRIGGER_SENT.
|
|
5
|
+
*
|
|
6
|
+
* @module OrderModule
|
|
7
|
+
* @entity OneTouchSwitch
|
|
8
|
+
* @entityType GAINING
|
|
9
|
+
* @actionKey MoveGainingOneTouchSwitchToOrderTriggerSent
|
|
10
|
+
* @event k1.t-hEOJjsDb.OrderModule.OneTouchSwitch.Transition.MoveGainingOneTouchSwitchToOrderTriggerSent
|
|
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 MoveGainingOneTouchSwitchToOrderTriggerSent step flow events
|
|
17
|
+
*
|
|
18
|
+
* @event k1.t-hEOJjsDb.OrderModule.OneTouchSwitch.Transition.MoveGainingOneTouchSwitchToOrderTriggerSent
|
|
19
|
+
*/
|
|
20
|
+
export interface MoveGainingOneTouchSwitchToOrderTriggerSentMessage extends OdinRecordUpdatedEvent<MoveGainingOneTouchSwitchToOrderTriggerSentDto, {}> {
|
|
21
|
+
}
|
|
22
|
+
/**
|
|
23
|
+
* Properties for MoveGainingOneTouchSwitchToOrderTriggerSent action
|
|
24
|
+
*
|
|
25
|
+
*/
|
|
26
|
+
export interface MoveGainingOneTouchSwitchToOrderTriggerSentProperties {
|
|
27
|
+
}
|
|
28
|
+
/**
|
|
29
|
+
* Order Trigger Sent
|
|
30
|
+
*
|
|
31
|
+
* Moves a GAINING switch to Order Trigger Sent and sets Status = SWITCH_ORDER_TRIGGER_SENT.
|
|
32
|
+
*
|
|
33
|
+
* @actionType STAGE_TRANSITION - Transitions record to new pipeline stage
|
|
34
|
+
* @module OrderModule
|
|
35
|
+
* @entity OneTouchSwitch
|
|
36
|
+
* @entityType GAINING (gaining)
|
|
37
|
+
* @targetStages OneTouchSwitchGainingStageOrderTriggerSent
|
|
38
|
+
* @event k1.t-hEOJjsDb.OrderModule.OneTouchSwitch.Transition.MoveGainingOneTouchSwitchToOrderTriggerSent
|
|
39
|
+
* @permission schema.action.movegainingonetouchswitchtoordertriggersent.trigger
|
|
40
|
+
* @benchmark This action is tracked for performance benchmarks
|
|
41
|
+
*/
|
|
42
|
+
export declare class MoveGainingOneTouchSwitchToOrderTriggerSentDto 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 = "MoveGainingOneTouchSwitchToOrderTriggerSent";
|
|
46
|
+
static readonly MODULE_NAME = "OrderModule";
|
|
47
|
+
static readonly ENTITIES: string[];
|
|
48
|
+
static readonly ENTITY_TYPE = "GAINING";
|
|
49
|
+
static readonly EVENT_NAME = "k1.t-hEOJjsDb.OrderModule.OneTouchSwitch.Transition.MoveGainingOneTouchSwitchToOrderTriggerSent";
|
|
50
|
+
static readonly SCHEMA_ACTION_ID = "6b96c3ef-35e1-4fc6-aa02-a1e067724833";
|
|
51
|
+
static readonly PERMISSION = "schema.action.movegainingonetouchswitchtoordertriggersent.trigger";
|
|
52
|
+
static readonly TARGET_STAGES: readonly ["OneTouchSwitchGainingStageOrderTriggerSent"];
|
|
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
|
+
* MoveGainingOneTouchSwitchToOrderTriggerSent Action DTO
|
|
4
|
+
*
|
|
5
|
+
* Moves a GAINING switch to Order Trigger Sent and sets Status = SWITCH_ORDER_TRIGGER_SENT.
|
|
6
|
+
*
|
|
7
|
+
* @module OrderModule
|
|
8
|
+
* @entity OneTouchSwitch
|
|
9
|
+
* @entityType GAINING
|
|
10
|
+
* @actionKey MoveGainingOneTouchSwitchToOrderTriggerSent
|
|
11
|
+
* @event k1.t-hEOJjsDb.OrderModule.OneTouchSwitch.Transition.MoveGainingOneTouchSwitchToOrderTriggerSent
|
|
12
|
+
*
|
|
13
|
+
* AUTO-GENERATED - DO NOT EDIT DIRECTLY
|
|
14
|
+
*/
|
|
15
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
+
exports.MoveGainingOneTouchSwitchToOrderTriggerSentDto = void 0;
|
|
17
|
+
const core_1 = require("@d19n/odin-types/dist/core");
|
|
18
|
+
/**
|
|
19
|
+
* Order Trigger Sent
|
|
20
|
+
*
|
|
21
|
+
* Moves a GAINING switch to Order Trigger Sent and sets Status = SWITCH_ORDER_TRIGGER_SENT.
|
|
22
|
+
*
|
|
23
|
+
* @actionType STAGE_TRANSITION - Transitions record to new pipeline stage
|
|
24
|
+
* @module OrderModule
|
|
25
|
+
* @entity OneTouchSwitch
|
|
26
|
+
* @entityType GAINING (gaining)
|
|
27
|
+
* @targetStages OneTouchSwitchGainingStageOrderTriggerSent
|
|
28
|
+
* @event k1.t-hEOJjsDb.OrderModule.OneTouchSwitch.Transition.MoveGainingOneTouchSwitchToOrderTriggerSent
|
|
29
|
+
* @permission schema.action.movegainingonetouchswitchtoordertriggersent.trigger
|
|
30
|
+
* @benchmark This action is tracked for performance benchmarks
|
|
31
|
+
*/
|
|
32
|
+
class MoveGainingOneTouchSwitchToOrderTriggerSentDto 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 = 'MoveGainingOneTouchSwitchToOrderTriggerSent';
|
|
42
|
+
this.schemaActionId = '6b96c3ef-35e1-4fc6-aa02-a1e067724833';
|
|
43
|
+
this.entity = 'OrderModule:OneTouchSwitch';
|
|
44
|
+
this.stageKey = 'OneTouchSwitchGainingStageOrderTriggerSent';
|
|
45
|
+
}
|
|
46
|
+
}
|
|
47
|
+
exports.MoveGainingOneTouchSwitchToOrderTriggerSentDto = MoveGainingOneTouchSwitchToOrderTriggerSentDto;
|
|
48
|
+
/** Used by SDK generators to identify action type */
|
|
49
|
+
MoveGainingOneTouchSwitchToOrderTriggerSentDto.ACTION_TYPE = 'UPDATE';
|
|
50
|
+
MoveGainingOneTouchSwitchToOrderTriggerSentDto.ACTION_KEY = 'MoveGainingOneTouchSwitchToOrderTriggerSent';
|
|
51
|
+
MoveGainingOneTouchSwitchToOrderTriggerSentDto.MODULE_NAME = 'OrderModule';
|
|
52
|
+
MoveGainingOneTouchSwitchToOrderTriggerSentDto.ENTITIES = ['OneTouchSwitch'];
|
|
53
|
+
MoveGainingOneTouchSwitchToOrderTriggerSentDto.ENTITY_TYPE = 'GAINING';
|
|
54
|
+
MoveGainingOneTouchSwitchToOrderTriggerSentDto.EVENT_NAME = 'k1.t-hEOJjsDb.OrderModule.OneTouchSwitch.Transition.MoveGainingOneTouchSwitchToOrderTriggerSent';
|
|
55
|
+
MoveGainingOneTouchSwitchToOrderTriggerSentDto.SCHEMA_ACTION_ID = '6b96c3ef-35e1-4fc6-aa02-a1e067724833';
|
|
56
|
+
MoveGainingOneTouchSwitchToOrderTriggerSentDto.PERMISSION = 'schema.action.movegainingonetouchswitchtoordertriggersent.trigger';
|
|
57
|
+
MoveGainingOneTouchSwitchToOrderTriggerSentDto.TARGET_STAGES = ['OneTouchSwitchGainingStageOrderTriggerSent'];
|
|
58
|
+
MoveGainingOneTouchSwitchToOrderTriggerSentDto.IS_STAGE_TRANSITION = true;
|
|
59
|
+
MoveGainingOneTouchSwitchToOrderTriggerSentDto.IS_MULTI_STEP_FLOW = false;
|
|
60
|
+
MoveGainingOneTouchSwitchToOrderTriggerSentDto.HAS_STEP_LINKS = false;
|
|
61
|
+
/** Step classes that can be used with this action */
|
|
62
|
+
MoveGainingOneTouchSwitchToOrderTriggerSentDto.stepClasses = [];
|
|
@@ -0,0 +1,70 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* MoveGainingOneTouchSwitchToOrderUpdateConfirmed Action DTO
|
|
3
|
+
*
|
|
4
|
+
* Moves a GAINING switch to Order Update Confirmed and sets Status = SWITCH_ORDER_UPDATE_CONFIRMED.
|
|
5
|
+
*
|
|
6
|
+
* @module OrderModule
|
|
7
|
+
* @entity OneTouchSwitch
|
|
8
|
+
* @entityType GAINING
|
|
9
|
+
* @actionKey MoveGainingOneTouchSwitchToOrderUpdateConfirmed
|
|
10
|
+
* @event k1.t-hEOJjsDb.OrderModule.OneTouchSwitch.Transition.MoveGainingOneTouchSwitchToOrderUpdateConfirmed
|
|
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 MoveGainingOneTouchSwitchToOrderUpdateConfirmed step flow events
|
|
17
|
+
*
|
|
18
|
+
* @event k1.t-hEOJjsDb.OrderModule.OneTouchSwitch.Transition.MoveGainingOneTouchSwitchToOrderUpdateConfirmed
|
|
19
|
+
*/
|
|
20
|
+
export interface MoveGainingOneTouchSwitchToOrderUpdateConfirmedMessage extends OdinRecordUpdatedEvent<MoveGainingOneTouchSwitchToOrderUpdateConfirmedDto, {}> {
|
|
21
|
+
}
|
|
22
|
+
/**
|
|
23
|
+
* Properties for MoveGainingOneTouchSwitchToOrderUpdateConfirmed action
|
|
24
|
+
*
|
|
25
|
+
*/
|
|
26
|
+
export interface MoveGainingOneTouchSwitchToOrderUpdateConfirmedProperties {
|
|
27
|
+
}
|
|
28
|
+
/**
|
|
29
|
+
* Order Update Confirmed
|
|
30
|
+
*
|
|
31
|
+
* Moves a GAINING switch to Order Update Confirmed and sets Status = SWITCH_ORDER_UPDATE_CONFIRMED.
|
|
32
|
+
*
|
|
33
|
+
* @actionType STAGE_TRANSITION - Transitions record to new pipeline stage
|
|
34
|
+
* @module OrderModule
|
|
35
|
+
* @entity OneTouchSwitch
|
|
36
|
+
* @entityType GAINING (gaining)
|
|
37
|
+
* @targetStages OneTouchSwitchGainingStageOrderUpdateConfirmed
|
|
38
|
+
* @event k1.t-hEOJjsDb.OrderModule.OneTouchSwitch.Transition.MoveGainingOneTouchSwitchToOrderUpdateConfirmed
|
|
39
|
+
* @permission schema.action.movegainingonetouchswitchtoorderupdateconfirmed.trigger
|
|
40
|
+
* @benchmark This action is tracked for performance benchmarks
|
|
41
|
+
*/
|
|
42
|
+
export declare class MoveGainingOneTouchSwitchToOrderUpdateConfirmedDto 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 = "MoveGainingOneTouchSwitchToOrderUpdateConfirmed";
|
|
46
|
+
static readonly MODULE_NAME = "OrderModule";
|
|
47
|
+
static readonly ENTITIES: string[];
|
|
48
|
+
static readonly ENTITY_TYPE = "GAINING";
|
|
49
|
+
static readonly EVENT_NAME = "k1.t-hEOJjsDb.OrderModule.OneTouchSwitch.Transition.MoveGainingOneTouchSwitchToOrderUpdateConfirmed";
|
|
50
|
+
static readonly SCHEMA_ACTION_ID = "862dd9f0-4226-4d97-8f83-fb973739ef6f";
|
|
51
|
+
static readonly PERMISSION = "schema.action.movegainingonetouchswitchtoorderupdateconfirmed.trigger";
|
|
52
|
+
static readonly TARGET_STAGES: readonly ["OneTouchSwitchGainingStageOrderUpdateConfirmed"];
|
|
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
|
+
* MoveGainingOneTouchSwitchToOrderUpdateConfirmed Action DTO
|
|
4
|
+
*
|
|
5
|
+
* Moves a GAINING switch to Order Update Confirmed and sets Status = SWITCH_ORDER_UPDATE_CONFIRMED.
|
|
6
|
+
*
|
|
7
|
+
* @module OrderModule
|
|
8
|
+
* @entity OneTouchSwitch
|
|
9
|
+
* @entityType GAINING
|
|
10
|
+
* @actionKey MoveGainingOneTouchSwitchToOrderUpdateConfirmed
|
|
11
|
+
* @event k1.t-hEOJjsDb.OrderModule.OneTouchSwitch.Transition.MoveGainingOneTouchSwitchToOrderUpdateConfirmed
|
|
12
|
+
*
|
|
13
|
+
* AUTO-GENERATED - DO NOT EDIT DIRECTLY
|
|
14
|
+
*/
|
|
15
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
+
exports.MoveGainingOneTouchSwitchToOrderUpdateConfirmedDto = void 0;
|
|
17
|
+
const core_1 = require("@d19n/odin-types/dist/core");
|
|
18
|
+
/**
|
|
19
|
+
* Order Update Confirmed
|
|
20
|
+
*
|
|
21
|
+
* Moves a GAINING switch to Order Update Confirmed and sets Status = SWITCH_ORDER_UPDATE_CONFIRMED.
|
|
22
|
+
*
|
|
23
|
+
* @actionType STAGE_TRANSITION - Transitions record to new pipeline stage
|
|
24
|
+
* @module OrderModule
|
|
25
|
+
* @entity OneTouchSwitch
|
|
26
|
+
* @entityType GAINING (gaining)
|
|
27
|
+
* @targetStages OneTouchSwitchGainingStageOrderUpdateConfirmed
|
|
28
|
+
* @event k1.t-hEOJjsDb.OrderModule.OneTouchSwitch.Transition.MoveGainingOneTouchSwitchToOrderUpdateConfirmed
|
|
29
|
+
* @permission schema.action.movegainingonetouchswitchtoorderupdateconfirmed.trigger
|
|
30
|
+
* @benchmark This action is tracked for performance benchmarks
|
|
31
|
+
*/
|
|
32
|
+
class MoveGainingOneTouchSwitchToOrderUpdateConfirmedDto 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 = 'MoveGainingOneTouchSwitchToOrderUpdateConfirmed';
|
|
42
|
+
this.schemaActionId = '862dd9f0-4226-4d97-8f83-fb973739ef6f';
|
|
43
|
+
this.entity = 'OrderModule:OneTouchSwitch';
|
|
44
|
+
this.stageKey = 'OneTouchSwitchGainingStageOrderUpdateConfirmed';
|
|
45
|
+
}
|
|
46
|
+
}
|
|
47
|
+
exports.MoveGainingOneTouchSwitchToOrderUpdateConfirmedDto = MoveGainingOneTouchSwitchToOrderUpdateConfirmedDto;
|
|
48
|
+
/** Used by SDK generators to identify action type */
|
|
49
|
+
MoveGainingOneTouchSwitchToOrderUpdateConfirmedDto.ACTION_TYPE = 'UPDATE';
|
|
50
|
+
MoveGainingOneTouchSwitchToOrderUpdateConfirmedDto.ACTION_KEY = 'MoveGainingOneTouchSwitchToOrderUpdateConfirmed';
|
|
51
|
+
MoveGainingOneTouchSwitchToOrderUpdateConfirmedDto.MODULE_NAME = 'OrderModule';
|
|
52
|
+
MoveGainingOneTouchSwitchToOrderUpdateConfirmedDto.ENTITIES = ['OneTouchSwitch'];
|
|
53
|
+
MoveGainingOneTouchSwitchToOrderUpdateConfirmedDto.ENTITY_TYPE = 'GAINING';
|
|
54
|
+
MoveGainingOneTouchSwitchToOrderUpdateConfirmedDto.EVENT_NAME = 'k1.t-hEOJjsDb.OrderModule.OneTouchSwitch.Transition.MoveGainingOneTouchSwitchToOrderUpdateConfirmed';
|
|
55
|
+
MoveGainingOneTouchSwitchToOrderUpdateConfirmedDto.SCHEMA_ACTION_ID = '862dd9f0-4226-4d97-8f83-fb973739ef6f';
|
|
56
|
+
MoveGainingOneTouchSwitchToOrderUpdateConfirmedDto.PERMISSION = 'schema.action.movegainingonetouchswitchtoorderupdateconfirmed.trigger';
|
|
57
|
+
MoveGainingOneTouchSwitchToOrderUpdateConfirmedDto.TARGET_STAGES = ['OneTouchSwitchGainingStageOrderUpdateConfirmed'];
|
|
58
|
+
MoveGainingOneTouchSwitchToOrderUpdateConfirmedDto.IS_STAGE_TRANSITION = true;
|
|
59
|
+
MoveGainingOneTouchSwitchToOrderUpdateConfirmedDto.IS_MULTI_STEP_FLOW = false;
|
|
60
|
+
MoveGainingOneTouchSwitchToOrderUpdateConfirmedDto.HAS_STEP_LINKS = false;
|
|
61
|
+
/** Step classes that can be used with this action */
|
|
62
|
+
MoveGainingOneTouchSwitchToOrderUpdateConfirmedDto.stepClasses = [];
|
|
@@ -0,0 +1,70 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* MoveGainingOneTouchSwitchToOrderUpdateFailed Action DTO
|
|
3
|
+
*
|
|
4
|
+
* Moves a GAINING switch to Order Update Failed and sets Status = SWITCH_ORDER_UPDATE_FAILED.
|
|
5
|
+
*
|
|
6
|
+
* @module OrderModule
|
|
7
|
+
* @entity OneTouchSwitch
|
|
8
|
+
* @entityType GAINING
|
|
9
|
+
* @actionKey MoveGainingOneTouchSwitchToOrderUpdateFailed
|
|
10
|
+
* @event k1.t-hEOJjsDb.OrderModule.OneTouchSwitch.Transition.MoveGainingOneTouchSwitchToOrderUpdateFailed
|
|
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 MoveGainingOneTouchSwitchToOrderUpdateFailed step flow events
|
|
17
|
+
*
|
|
18
|
+
* @event k1.t-hEOJjsDb.OrderModule.OneTouchSwitch.Transition.MoveGainingOneTouchSwitchToOrderUpdateFailed
|
|
19
|
+
*/
|
|
20
|
+
export interface MoveGainingOneTouchSwitchToOrderUpdateFailedMessage extends OdinRecordUpdatedEvent<MoveGainingOneTouchSwitchToOrderUpdateFailedDto, {}> {
|
|
21
|
+
}
|
|
22
|
+
/**
|
|
23
|
+
* Properties for MoveGainingOneTouchSwitchToOrderUpdateFailed action
|
|
24
|
+
*
|
|
25
|
+
*/
|
|
26
|
+
export interface MoveGainingOneTouchSwitchToOrderUpdateFailedProperties {
|
|
27
|
+
}
|
|
28
|
+
/**
|
|
29
|
+
* Order Update Failed
|
|
30
|
+
*
|
|
31
|
+
* Moves a GAINING switch to Order Update Failed and sets Status = SWITCH_ORDER_UPDATE_FAILED.
|
|
32
|
+
*
|
|
33
|
+
* @actionType STAGE_TRANSITION - Transitions record to new pipeline stage
|
|
34
|
+
* @module OrderModule
|
|
35
|
+
* @entity OneTouchSwitch
|
|
36
|
+
* @entityType GAINING (gaining)
|
|
37
|
+
* @targetStages OneTouchSwitchGainingStageOrderUpdateFailed
|
|
38
|
+
* @event k1.t-hEOJjsDb.OrderModule.OneTouchSwitch.Transition.MoveGainingOneTouchSwitchToOrderUpdateFailed
|
|
39
|
+
* @permission schema.action.movegainingonetouchswitchtoorderupdatefailed.trigger
|
|
40
|
+
* @benchmark This action is tracked for performance benchmarks
|
|
41
|
+
*/
|
|
42
|
+
export declare class MoveGainingOneTouchSwitchToOrderUpdateFailedDto 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 = "MoveGainingOneTouchSwitchToOrderUpdateFailed";
|
|
46
|
+
static readonly MODULE_NAME = "OrderModule";
|
|
47
|
+
static readonly ENTITIES: string[];
|
|
48
|
+
static readonly ENTITY_TYPE = "GAINING";
|
|
49
|
+
static readonly EVENT_NAME = "k1.t-hEOJjsDb.OrderModule.OneTouchSwitch.Transition.MoveGainingOneTouchSwitchToOrderUpdateFailed";
|
|
50
|
+
static readonly SCHEMA_ACTION_ID = "2e91588a-ec69-436e-9763-2df82dfdd8cf";
|
|
51
|
+
static readonly PERMISSION = "schema.action.movegainingonetouchswitchtoorderupdatefailed.trigger";
|
|
52
|
+
static readonly TARGET_STAGES: readonly ["OneTouchSwitchGainingStageOrderUpdateFailed"];
|
|
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
|
+
* MoveGainingOneTouchSwitchToOrderUpdateFailed Action DTO
|
|
4
|
+
*
|
|
5
|
+
* Moves a GAINING switch to Order Update Failed and sets Status = SWITCH_ORDER_UPDATE_FAILED.
|
|
6
|
+
*
|
|
7
|
+
* @module OrderModule
|
|
8
|
+
* @entity OneTouchSwitch
|
|
9
|
+
* @entityType GAINING
|
|
10
|
+
* @actionKey MoveGainingOneTouchSwitchToOrderUpdateFailed
|
|
11
|
+
* @event k1.t-hEOJjsDb.OrderModule.OneTouchSwitch.Transition.MoveGainingOneTouchSwitchToOrderUpdateFailed
|
|
12
|
+
*
|
|
13
|
+
* AUTO-GENERATED - DO NOT EDIT DIRECTLY
|
|
14
|
+
*/
|
|
15
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
+
exports.MoveGainingOneTouchSwitchToOrderUpdateFailedDto = void 0;
|
|
17
|
+
const core_1 = require("@d19n/odin-types/dist/core");
|
|
18
|
+
/**
|
|
19
|
+
* Order Update Failed
|
|
20
|
+
*
|
|
21
|
+
* Moves a GAINING switch to Order Update Failed and sets Status = SWITCH_ORDER_UPDATE_FAILED.
|
|
22
|
+
*
|
|
23
|
+
* @actionType STAGE_TRANSITION - Transitions record to new pipeline stage
|
|
24
|
+
* @module OrderModule
|
|
25
|
+
* @entity OneTouchSwitch
|
|
26
|
+
* @entityType GAINING (gaining)
|
|
27
|
+
* @targetStages OneTouchSwitchGainingStageOrderUpdateFailed
|
|
28
|
+
* @event k1.t-hEOJjsDb.OrderModule.OneTouchSwitch.Transition.MoveGainingOneTouchSwitchToOrderUpdateFailed
|
|
29
|
+
* @permission schema.action.movegainingonetouchswitchtoorderupdatefailed.trigger
|
|
30
|
+
* @benchmark This action is tracked for performance benchmarks
|
|
31
|
+
*/
|
|
32
|
+
class MoveGainingOneTouchSwitchToOrderUpdateFailedDto 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 = 'MoveGainingOneTouchSwitchToOrderUpdateFailed';
|
|
42
|
+
this.schemaActionId = '2e91588a-ec69-436e-9763-2df82dfdd8cf';
|
|
43
|
+
this.entity = 'OrderModule:OneTouchSwitch';
|
|
44
|
+
this.stageKey = 'OneTouchSwitchGainingStageOrderUpdateFailed';
|
|
45
|
+
}
|
|
46
|
+
}
|
|
47
|
+
exports.MoveGainingOneTouchSwitchToOrderUpdateFailedDto = MoveGainingOneTouchSwitchToOrderUpdateFailedDto;
|
|
48
|
+
/** Used by SDK generators to identify action type */
|
|
49
|
+
MoveGainingOneTouchSwitchToOrderUpdateFailedDto.ACTION_TYPE = 'UPDATE';
|
|
50
|
+
MoveGainingOneTouchSwitchToOrderUpdateFailedDto.ACTION_KEY = 'MoveGainingOneTouchSwitchToOrderUpdateFailed';
|
|
51
|
+
MoveGainingOneTouchSwitchToOrderUpdateFailedDto.MODULE_NAME = 'OrderModule';
|
|
52
|
+
MoveGainingOneTouchSwitchToOrderUpdateFailedDto.ENTITIES = ['OneTouchSwitch'];
|
|
53
|
+
MoveGainingOneTouchSwitchToOrderUpdateFailedDto.ENTITY_TYPE = 'GAINING';
|
|
54
|
+
MoveGainingOneTouchSwitchToOrderUpdateFailedDto.EVENT_NAME = 'k1.t-hEOJjsDb.OrderModule.OneTouchSwitch.Transition.MoveGainingOneTouchSwitchToOrderUpdateFailed';
|
|
55
|
+
MoveGainingOneTouchSwitchToOrderUpdateFailedDto.SCHEMA_ACTION_ID = '2e91588a-ec69-436e-9763-2df82dfdd8cf';
|
|
56
|
+
MoveGainingOneTouchSwitchToOrderUpdateFailedDto.PERMISSION = 'schema.action.movegainingonetouchswitchtoorderupdatefailed.trigger';
|
|
57
|
+
MoveGainingOneTouchSwitchToOrderUpdateFailedDto.TARGET_STAGES = ['OneTouchSwitchGainingStageOrderUpdateFailed'];
|
|
58
|
+
MoveGainingOneTouchSwitchToOrderUpdateFailedDto.IS_STAGE_TRANSITION = true;
|
|
59
|
+
MoveGainingOneTouchSwitchToOrderUpdateFailedDto.IS_MULTI_STEP_FLOW = false;
|
|
60
|
+
MoveGainingOneTouchSwitchToOrderUpdateFailedDto.HAS_STEP_LINKS = false;
|
|
61
|
+
/** Step classes that can be used with this action */
|
|
62
|
+
MoveGainingOneTouchSwitchToOrderUpdateFailedDto.stepClasses = [];
|