@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
|
+
* MoveGainingOneTouchSwitchToOrderCancelFailed Action DTO
|
|
3
|
+
*
|
|
4
|
+
* Moves a GAINING switch to Order Cancel Failed and sets Status = SWITCH_ORDER_CANCEL_FAILED.
|
|
5
|
+
*
|
|
6
|
+
* @module OrderModule
|
|
7
|
+
* @entity OneTouchSwitch
|
|
8
|
+
* @entityType GAINING
|
|
9
|
+
* @actionKey MoveGainingOneTouchSwitchToOrderCancelFailed
|
|
10
|
+
* @event k1.t-hEOJjsDb.OrderModule.OneTouchSwitch.Transition.MoveGainingOneTouchSwitchToOrderCancelFailed
|
|
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 MoveGainingOneTouchSwitchToOrderCancelFailed step flow events
|
|
17
|
+
*
|
|
18
|
+
* @event k1.t-hEOJjsDb.OrderModule.OneTouchSwitch.Transition.MoveGainingOneTouchSwitchToOrderCancelFailed
|
|
19
|
+
*/
|
|
20
|
+
export interface MoveGainingOneTouchSwitchToOrderCancelFailedMessage extends OdinRecordUpdatedEvent<MoveGainingOneTouchSwitchToOrderCancelFailedDto, {}> {
|
|
21
|
+
}
|
|
22
|
+
/**
|
|
23
|
+
* Properties for MoveGainingOneTouchSwitchToOrderCancelFailed action
|
|
24
|
+
*
|
|
25
|
+
*/
|
|
26
|
+
export interface MoveGainingOneTouchSwitchToOrderCancelFailedProperties {
|
|
27
|
+
}
|
|
28
|
+
/**
|
|
29
|
+
* Order Cancel Failed
|
|
30
|
+
*
|
|
31
|
+
* Moves a GAINING switch to Order Cancel Failed and sets Status = SWITCH_ORDER_CANCEL_FAILED.
|
|
32
|
+
*
|
|
33
|
+
* @actionType STAGE_TRANSITION - Transitions record to new pipeline stage
|
|
34
|
+
* @module OrderModule
|
|
35
|
+
* @entity OneTouchSwitch
|
|
36
|
+
* @entityType GAINING (gaining)
|
|
37
|
+
* @targetStages OneTouchSwitchGainingStageOrderCancelFailed
|
|
38
|
+
* @event k1.t-hEOJjsDb.OrderModule.OneTouchSwitch.Transition.MoveGainingOneTouchSwitchToOrderCancelFailed
|
|
39
|
+
* @permission schema.action.movegainingonetouchswitchtoordercancelfailed.trigger
|
|
40
|
+
* @benchmark This action is tracked for performance benchmarks
|
|
41
|
+
*/
|
|
42
|
+
export declare class MoveGainingOneTouchSwitchToOrderCancelFailedDto 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 = "MoveGainingOneTouchSwitchToOrderCancelFailed";
|
|
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.MoveGainingOneTouchSwitchToOrderCancelFailed";
|
|
50
|
+
static readonly SCHEMA_ACTION_ID = "3ee21b24-00cb-47c6-aa52-9381cf6dd61e";
|
|
51
|
+
static readonly PERMISSION = "schema.action.movegainingonetouchswitchtoordercancelfailed.trigger";
|
|
52
|
+
static readonly TARGET_STAGES: readonly ["OneTouchSwitchGainingStageOrderCancelFailed"];
|
|
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
|
+
* MoveGainingOneTouchSwitchToOrderCancelFailed Action DTO
|
|
4
|
+
*
|
|
5
|
+
* Moves a GAINING switch to Order Cancel Failed and sets Status = SWITCH_ORDER_CANCEL_FAILED.
|
|
6
|
+
*
|
|
7
|
+
* @module OrderModule
|
|
8
|
+
* @entity OneTouchSwitch
|
|
9
|
+
* @entityType GAINING
|
|
10
|
+
* @actionKey MoveGainingOneTouchSwitchToOrderCancelFailed
|
|
11
|
+
* @event k1.t-hEOJjsDb.OrderModule.OneTouchSwitch.Transition.MoveGainingOneTouchSwitchToOrderCancelFailed
|
|
12
|
+
*
|
|
13
|
+
* AUTO-GENERATED - DO NOT EDIT DIRECTLY
|
|
14
|
+
*/
|
|
15
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
+
exports.MoveGainingOneTouchSwitchToOrderCancelFailedDto = void 0;
|
|
17
|
+
const core_1 = require("@d19n/odin-types/dist/core");
|
|
18
|
+
/**
|
|
19
|
+
* Order Cancel Failed
|
|
20
|
+
*
|
|
21
|
+
* Moves a GAINING switch to Order Cancel Failed and sets Status = SWITCH_ORDER_CANCEL_FAILED.
|
|
22
|
+
*
|
|
23
|
+
* @actionType STAGE_TRANSITION - Transitions record to new pipeline stage
|
|
24
|
+
* @module OrderModule
|
|
25
|
+
* @entity OneTouchSwitch
|
|
26
|
+
* @entityType GAINING (gaining)
|
|
27
|
+
* @targetStages OneTouchSwitchGainingStageOrderCancelFailed
|
|
28
|
+
* @event k1.t-hEOJjsDb.OrderModule.OneTouchSwitch.Transition.MoveGainingOneTouchSwitchToOrderCancelFailed
|
|
29
|
+
* @permission schema.action.movegainingonetouchswitchtoordercancelfailed.trigger
|
|
30
|
+
* @benchmark This action is tracked for performance benchmarks
|
|
31
|
+
*/
|
|
32
|
+
class MoveGainingOneTouchSwitchToOrderCancelFailedDto 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 = 'MoveGainingOneTouchSwitchToOrderCancelFailed';
|
|
42
|
+
this.schemaActionId = '3ee21b24-00cb-47c6-aa52-9381cf6dd61e';
|
|
43
|
+
this.entity = 'OrderModule:OneTouchSwitch';
|
|
44
|
+
this.stageKey = 'OneTouchSwitchGainingStageOrderCancelFailed';
|
|
45
|
+
}
|
|
46
|
+
}
|
|
47
|
+
exports.MoveGainingOneTouchSwitchToOrderCancelFailedDto = MoveGainingOneTouchSwitchToOrderCancelFailedDto;
|
|
48
|
+
/** Used by SDK generators to identify action type */
|
|
49
|
+
MoveGainingOneTouchSwitchToOrderCancelFailedDto.ACTION_TYPE = 'UPDATE';
|
|
50
|
+
MoveGainingOneTouchSwitchToOrderCancelFailedDto.ACTION_KEY = 'MoveGainingOneTouchSwitchToOrderCancelFailed';
|
|
51
|
+
MoveGainingOneTouchSwitchToOrderCancelFailedDto.MODULE_NAME = 'OrderModule';
|
|
52
|
+
MoveGainingOneTouchSwitchToOrderCancelFailedDto.ENTITIES = ['OneTouchSwitch'];
|
|
53
|
+
MoveGainingOneTouchSwitchToOrderCancelFailedDto.ENTITY_TYPE = 'GAINING';
|
|
54
|
+
MoveGainingOneTouchSwitchToOrderCancelFailedDto.EVENT_NAME = 'k1.t-hEOJjsDb.OrderModule.OneTouchSwitch.Transition.MoveGainingOneTouchSwitchToOrderCancelFailed';
|
|
55
|
+
MoveGainingOneTouchSwitchToOrderCancelFailedDto.SCHEMA_ACTION_ID = '3ee21b24-00cb-47c6-aa52-9381cf6dd61e';
|
|
56
|
+
MoveGainingOneTouchSwitchToOrderCancelFailedDto.PERMISSION = 'schema.action.movegainingonetouchswitchtoordercancelfailed.trigger';
|
|
57
|
+
MoveGainingOneTouchSwitchToOrderCancelFailedDto.TARGET_STAGES = ['OneTouchSwitchGainingStageOrderCancelFailed'];
|
|
58
|
+
MoveGainingOneTouchSwitchToOrderCancelFailedDto.IS_STAGE_TRANSITION = true;
|
|
59
|
+
MoveGainingOneTouchSwitchToOrderCancelFailedDto.IS_MULTI_STEP_FLOW = false;
|
|
60
|
+
MoveGainingOneTouchSwitchToOrderCancelFailedDto.HAS_STEP_LINKS = false;
|
|
61
|
+
/** Step classes that can be used with this action */
|
|
62
|
+
MoveGainingOneTouchSwitchToOrderCancelFailedDto.stepClasses = [];
|
|
@@ -0,0 +1,70 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* MoveGainingOneTouchSwitchToOrderCancelSent Action DTO
|
|
3
|
+
*
|
|
4
|
+
* Moves a GAINING switch to Order Cancel Sent and sets Status = SWITCH_ORDER_CANCEL_SENT.
|
|
5
|
+
*
|
|
6
|
+
* @module OrderModule
|
|
7
|
+
* @entity OneTouchSwitch
|
|
8
|
+
* @entityType GAINING
|
|
9
|
+
* @actionKey MoveGainingOneTouchSwitchToOrderCancelSent
|
|
10
|
+
* @event k1.t-hEOJjsDb.OrderModule.OneTouchSwitch.Transition.MoveGainingOneTouchSwitchToOrderCancelSent
|
|
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 MoveGainingOneTouchSwitchToOrderCancelSent step flow events
|
|
17
|
+
*
|
|
18
|
+
* @event k1.t-hEOJjsDb.OrderModule.OneTouchSwitch.Transition.MoveGainingOneTouchSwitchToOrderCancelSent
|
|
19
|
+
*/
|
|
20
|
+
export interface MoveGainingOneTouchSwitchToOrderCancelSentMessage extends OdinRecordUpdatedEvent<MoveGainingOneTouchSwitchToOrderCancelSentDto, {}> {
|
|
21
|
+
}
|
|
22
|
+
/**
|
|
23
|
+
* Properties for MoveGainingOneTouchSwitchToOrderCancelSent action
|
|
24
|
+
*
|
|
25
|
+
*/
|
|
26
|
+
export interface MoveGainingOneTouchSwitchToOrderCancelSentProperties {
|
|
27
|
+
}
|
|
28
|
+
/**
|
|
29
|
+
* Order Cancel Sent
|
|
30
|
+
*
|
|
31
|
+
* Moves a GAINING switch to Order Cancel Sent and sets Status = SWITCH_ORDER_CANCEL_SENT.
|
|
32
|
+
*
|
|
33
|
+
* @actionType STAGE_TRANSITION - Transitions record to new pipeline stage
|
|
34
|
+
* @module OrderModule
|
|
35
|
+
* @entity OneTouchSwitch
|
|
36
|
+
* @entityType GAINING (gaining)
|
|
37
|
+
* @targetStages OneTouchSwitchGainingStageOrderCancelSent
|
|
38
|
+
* @event k1.t-hEOJjsDb.OrderModule.OneTouchSwitch.Transition.MoveGainingOneTouchSwitchToOrderCancelSent
|
|
39
|
+
* @permission schema.action.movegainingonetouchswitchtoordercancelsent.trigger
|
|
40
|
+
* @benchmark This action is tracked for performance benchmarks
|
|
41
|
+
*/
|
|
42
|
+
export declare class MoveGainingOneTouchSwitchToOrderCancelSentDto 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 = "MoveGainingOneTouchSwitchToOrderCancelSent";
|
|
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.MoveGainingOneTouchSwitchToOrderCancelSent";
|
|
50
|
+
static readonly SCHEMA_ACTION_ID = "8ca62338-ccea-4f89-8277-aefe2dc3264c";
|
|
51
|
+
static readonly PERMISSION = "schema.action.movegainingonetouchswitchtoordercancelsent.trigger";
|
|
52
|
+
static readonly TARGET_STAGES: readonly ["OneTouchSwitchGainingStageOrderCancelSent"];
|
|
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
|
+
* MoveGainingOneTouchSwitchToOrderCancelSent Action DTO
|
|
4
|
+
*
|
|
5
|
+
* Moves a GAINING switch to Order Cancel Sent and sets Status = SWITCH_ORDER_CANCEL_SENT.
|
|
6
|
+
*
|
|
7
|
+
* @module OrderModule
|
|
8
|
+
* @entity OneTouchSwitch
|
|
9
|
+
* @entityType GAINING
|
|
10
|
+
* @actionKey MoveGainingOneTouchSwitchToOrderCancelSent
|
|
11
|
+
* @event k1.t-hEOJjsDb.OrderModule.OneTouchSwitch.Transition.MoveGainingOneTouchSwitchToOrderCancelSent
|
|
12
|
+
*
|
|
13
|
+
* AUTO-GENERATED - DO NOT EDIT DIRECTLY
|
|
14
|
+
*/
|
|
15
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
+
exports.MoveGainingOneTouchSwitchToOrderCancelSentDto = void 0;
|
|
17
|
+
const core_1 = require("@d19n/odin-types/dist/core");
|
|
18
|
+
/**
|
|
19
|
+
* Order Cancel Sent
|
|
20
|
+
*
|
|
21
|
+
* Moves a GAINING switch to Order Cancel Sent and sets Status = SWITCH_ORDER_CANCEL_SENT.
|
|
22
|
+
*
|
|
23
|
+
* @actionType STAGE_TRANSITION - Transitions record to new pipeline stage
|
|
24
|
+
* @module OrderModule
|
|
25
|
+
* @entity OneTouchSwitch
|
|
26
|
+
* @entityType GAINING (gaining)
|
|
27
|
+
* @targetStages OneTouchSwitchGainingStageOrderCancelSent
|
|
28
|
+
* @event k1.t-hEOJjsDb.OrderModule.OneTouchSwitch.Transition.MoveGainingOneTouchSwitchToOrderCancelSent
|
|
29
|
+
* @permission schema.action.movegainingonetouchswitchtoordercancelsent.trigger
|
|
30
|
+
* @benchmark This action is tracked for performance benchmarks
|
|
31
|
+
*/
|
|
32
|
+
class MoveGainingOneTouchSwitchToOrderCancelSentDto 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 = 'MoveGainingOneTouchSwitchToOrderCancelSent';
|
|
42
|
+
this.schemaActionId = '8ca62338-ccea-4f89-8277-aefe2dc3264c';
|
|
43
|
+
this.entity = 'OrderModule:OneTouchSwitch';
|
|
44
|
+
this.stageKey = 'OneTouchSwitchGainingStageOrderCancelSent';
|
|
45
|
+
}
|
|
46
|
+
}
|
|
47
|
+
exports.MoveGainingOneTouchSwitchToOrderCancelSentDto = MoveGainingOneTouchSwitchToOrderCancelSentDto;
|
|
48
|
+
/** Used by SDK generators to identify action type */
|
|
49
|
+
MoveGainingOneTouchSwitchToOrderCancelSentDto.ACTION_TYPE = 'UPDATE';
|
|
50
|
+
MoveGainingOneTouchSwitchToOrderCancelSentDto.ACTION_KEY = 'MoveGainingOneTouchSwitchToOrderCancelSent';
|
|
51
|
+
MoveGainingOneTouchSwitchToOrderCancelSentDto.MODULE_NAME = 'OrderModule';
|
|
52
|
+
MoveGainingOneTouchSwitchToOrderCancelSentDto.ENTITIES = ['OneTouchSwitch'];
|
|
53
|
+
MoveGainingOneTouchSwitchToOrderCancelSentDto.ENTITY_TYPE = 'GAINING';
|
|
54
|
+
MoveGainingOneTouchSwitchToOrderCancelSentDto.EVENT_NAME = 'k1.t-hEOJjsDb.OrderModule.OneTouchSwitch.Transition.MoveGainingOneTouchSwitchToOrderCancelSent';
|
|
55
|
+
MoveGainingOneTouchSwitchToOrderCancelSentDto.SCHEMA_ACTION_ID = '8ca62338-ccea-4f89-8277-aefe2dc3264c';
|
|
56
|
+
MoveGainingOneTouchSwitchToOrderCancelSentDto.PERMISSION = 'schema.action.movegainingonetouchswitchtoordercancelsent.trigger';
|
|
57
|
+
MoveGainingOneTouchSwitchToOrderCancelSentDto.TARGET_STAGES = ['OneTouchSwitchGainingStageOrderCancelSent'];
|
|
58
|
+
MoveGainingOneTouchSwitchToOrderCancelSentDto.IS_STAGE_TRANSITION = true;
|
|
59
|
+
MoveGainingOneTouchSwitchToOrderCancelSentDto.IS_MULTI_STEP_FLOW = false;
|
|
60
|
+
MoveGainingOneTouchSwitchToOrderCancelSentDto.HAS_STEP_LINKS = false;
|
|
61
|
+
/** Step classes that can be used with this action */
|
|
62
|
+
MoveGainingOneTouchSwitchToOrderCancelSentDto.stepClasses = [];
|
|
@@ -0,0 +1,70 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* MoveGainingOneTouchSwitchToOrderRequestConfirmed Action DTO
|
|
3
|
+
*
|
|
4
|
+
* Moves a GAINING switch to Order Request Confirmed and sets Status = SWITCH_ORDER_REQUEST_CONFIRMED.
|
|
5
|
+
*
|
|
6
|
+
* @module OrderModule
|
|
7
|
+
* @entity OneTouchSwitch
|
|
8
|
+
* @entityType GAINING
|
|
9
|
+
* @actionKey MoveGainingOneTouchSwitchToOrderRequestConfirmed
|
|
10
|
+
* @event k1.t-hEOJjsDb.OrderModule.OneTouchSwitch.Transition.MoveGainingOneTouchSwitchToOrderRequestConfirmed
|
|
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 MoveGainingOneTouchSwitchToOrderRequestConfirmed step flow events
|
|
17
|
+
*
|
|
18
|
+
* @event k1.t-hEOJjsDb.OrderModule.OneTouchSwitch.Transition.MoveGainingOneTouchSwitchToOrderRequestConfirmed
|
|
19
|
+
*/
|
|
20
|
+
export interface MoveGainingOneTouchSwitchToOrderRequestConfirmedMessage extends OdinRecordUpdatedEvent<MoveGainingOneTouchSwitchToOrderRequestConfirmedDto, {}> {
|
|
21
|
+
}
|
|
22
|
+
/**
|
|
23
|
+
* Properties for MoveGainingOneTouchSwitchToOrderRequestConfirmed action
|
|
24
|
+
*
|
|
25
|
+
*/
|
|
26
|
+
export interface MoveGainingOneTouchSwitchToOrderRequestConfirmedProperties {
|
|
27
|
+
}
|
|
28
|
+
/**
|
|
29
|
+
* Order Request Confirmed
|
|
30
|
+
*
|
|
31
|
+
* Moves a GAINING switch to Order Request Confirmed and sets Status = SWITCH_ORDER_REQUEST_CONFIRMED.
|
|
32
|
+
*
|
|
33
|
+
* @actionType STAGE_TRANSITION - Transitions record to new pipeline stage
|
|
34
|
+
* @module OrderModule
|
|
35
|
+
* @entity OneTouchSwitch
|
|
36
|
+
* @entityType GAINING (gaining)
|
|
37
|
+
* @targetStages OneTouchSwitchGainingStageOrderRequestConfirmed
|
|
38
|
+
* @event k1.t-hEOJjsDb.OrderModule.OneTouchSwitch.Transition.MoveGainingOneTouchSwitchToOrderRequestConfirmed
|
|
39
|
+
* @permission schema.action.movegainingonetouchswitchtoorderrequestconfirmed.trigger
|
|
40
|
+
* @benchmark This action is tracked for performance benchmarks
|
|
41
|
+
*/
|
|
42
|
+
export declare class MoveGainingOneTouchSwitchToOrderRequestConfirmedDto 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 = "MoveGainingOneTouchSwitchToOrderRequestConfirmed";
|
|
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.MoveGainingOneTouchSwitchToOrderRequestConfirmed";
|
|
50
|
+
static readonly SCHEMA_ACTION_ID = "3030f830-3d59-49ef-9e90-e1ae33d2e143";
|
|
51
|
+
static readonly PERMISSION = "schema.action.movegainingonetouchswitchtoorderrequestconfirmed.trigger";
|
|
52
|
+
static readonly TARGET_STAGES: readonly ["OneTouchSwitchGainingStageOrderRequestConfirmed"];
|
|
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
|
+
* MoveGainingOneTouchSwitchToOrderRequestConfirmed Action DTO
|
|
4
|
+
*
|
|
5
|
+
* Moves a GAINING switch to Order Request Confirmed and sets Status = SWITCH_ORDER_REQUEST_CONFIRMED.
|
|
6
|
+
*
|
|
7
|
+
* @module OrderModule
|
|
8
|
+
* @entity OneTouchSwitch
|
|
9
|
+
* @entityType GAINING
|
|
10
|
+
* @actionKey MoveGainingOneTouchSwitchToOrderRequestConfirmed
|
|
11
|
+
* @event k1.t-hEOJjsDb.OrderModule.OneTouchSwitch.Transition.MoveGainingOneTouchSwitchToOrderRequestConfirmed
|
|
12
|
+
*
|
|
13
|
+
* AUTO-GENERATED - DO NOT EDIT DIRECTLY
|
|
14
|
+
*/
|
|
15
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
+
exports.MoveGainingOneTouchSwitchToOrderRequestConfirmedDto = void 0;
|
|
17
|
+
const core_1 = require("@d19n/odin-types/dist/core");
|
|
18
|
+
/**
|
|
19
|
+
* Order Request Confirmed
|
|
20
|
+
*
|
|
21
|
+
* Moves a GAINING switch to Order Request Confirmed and sets Status = SWITCH_ORDER_REQUEST_CONFIRMED.
|
|
22
|
+
*
|
|
23
|
+
* @actionType STAGE_TRANSITION - Transitions record to new pipeline stage
|
|
24
|
+
* @module OrderModule
|
|
25
|
+
* @entity OneTouchSwitch
|
|
26
|
+
* @entityType GAINING (gaining)
|
|
27
|
+
* @targetStages OneTouchSwitchGainingStageOrderRequestConfirmed
|
|
28
|
+
* @event k1.t-hEOJjsDb.OrderModule.OneTouchSwitch.Transition.MoveGainingOneTouchSwitchToOrderRequestConfirmed
|
|
29
|
+
* @permission schema.action.movegainingonetouchswitchtoorderrequestconfirmed.trigger
|
|
30
|
+
* @benchmark This action is tracked for performance benchmarks
|
|
31
|
+
*/
|
|
32
|
+
class MoveGainingOneTouchSwitchToOrderRequestConfirmedDto 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 = 'MoveGainingOneTouchSwitchToOrderRequestConfirmed';
|
|
42
|
+
this.schemaActionId = '3030f830-3d59-49ef-9e90-e1ae33d2e143';
|
|
43
|
+
this.entity = 'OrderModule:OneTouchSwitch';
|
|
44
|
+
this.stageKey = 'OneTouchSwitchGainingStageOrderRequestConfirmed';
|
|
45
|
+
}
|
|
46
|
+
}
|
|
47
|
+
exports.MoveGainingOneTouchSwitchToOrderRequestConfirmedDto = MoveGainingOneTouchSwitchToOrderRequestConfirmedDto;
|
|
48
|
+
/** Used by SDK generators to identify action type */
|
|
49
|
+
MoveGainingOneTouchSwitchToOrderRequestConfirmedDto.ACTION_TYPE = 'UPDATE';
|
|
50
|
+
MoveGainingOneTouchSwitchToOrderRequestConfirmedDto.ACTION_KEY = 'MoveGainingOneTouchSwitchToOrderRequestConfirmed';
|
|
51
|
+
MoveGainingOneTouchSwitchToOrderRequestConfirmedDto.MODULE_NAME = 'OrderModule';
|
|
52
|
+
MoveGainingOneTouchSwitchToOrderRequestConfirmedDto.ENTITIES = ['OneTouchSwitch'];
|
|
53
|
+
MoveGainingOneTouchSwitchToOrderRequestConfirmedDto.ENTITY_TYPE = 'GAINING';
|
|
54
|
+
MoveGainingOneTouchSwitchToOrderRequestConfirmedDto.EVENT_NAME = 'k1.t-hEOJjsDb.OrderModule.OneTouchSwitch.Transition.MoveGainingOneTouchSwitchToOrderRequestConfirmed';
|
|
55
|
+
MoveGainingOneTouchSwitchToOrderRequestConfirmedDto.SCHEMA_ACTION_ID = '3030f830-3d59-49ef-9e90-e1ae33d2e143';
|
|
56
|
+
MoveGainingOneTouchSwitchToOrderRequestConfirmedDto.PERMISSION = 'schema.action.movegainingonetouchswitchtoorderrequestconfirmed.trigger';
|
|
57
|
+
MoveGainingOneTouchSwitchToOrderRequestConfirmedDto.TARGET_STAGES = ['OneTouchSwitchGainingStageOrderRequestConfirmed'];
|
|
58
|
+
MoveGainingOneTouchSwitchToOrderRequestConfirmedDto.IS_STAGE_TRANSITION = true;
|
|
59
|
+
MoveGainingOneTouchSwitchToOrderRequestConfirmedDto.IS_MULTI_STEP_FLOW = false;
|
|
60
|
+
MoveGainingOneTouchSwitchToOrderRequestConfirmedDto.HAS_STEP_LINKS = false;
|
|
61
|
+
/** Step classes that can be used with this action */
|
|
62
|
+
MoveGainingOneTouchSwitchToOrderRequestConfirmedDto.stepClasses = [];
|
|
@@ -0,0 +1,70 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* MoveGainingOneTouchSwitchToOrderRequestFailed Action DTO
|
|
3
|
+
*
|
|
4
|
+
* Moves a GAINING switch to Order Request Failed and sets Status = SWITCH_ORDER_REQUEST_FAILED.
|
|
5
|
+
*
|
|
6
|
+
* @module OrderModule
|
|
7
|
+
* @entity OneTouchSwitch
|
|
8
|
+
* @entityType GAINING
|
|
9
|
+
* @actionKey MoveGainingOneTouchSwitchToOrderRequestFailed
|
|
10
|
+
* @event k1.t-hEOJjsDb.OrderModule.OneTouchSwitch.Transition.MoveGainingOneTouchSwitchToOrderRequestFailed
|
|
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 MoveGainingOneTouchSwitchToOrderRequestFailed step flow events
|
|
17
|
+
*
|
|
18
|
+
* @event k1.t-hEOJjsDb.OrderModule.OneTouchSwitch.Transition.MoveGainingOneTouchSwitchToOrderRequestFailed
|
|
19
|
+
*/
|
|
20
|
+
export interface MoveGainingOneTouchSwitchToOrderRequestFailedMessage extends OdinRecordUpdatedEvent<MoveGainingOneTouchSwitchToOrderRequestFailedDto, {}> {
|
|
21
|
+
}
|
|
22
|
+
/**
|
|
23
|
+
* Properties for MoveGainingOneTouchSwitchToOrderRequestFailed action
|
|
24
|
+
*
|
|
25
|
+
*/
|
|
26
|
+
export interface MoveGainingOneTouchSwitchToOrderRequestFailedProperties {
|
|
27
|
+
}
|
|
28
|
+
/**
|
|
29
|
+
* Order Request Failed
|
|
30
|
+
*
|
|
31
|
+
* Moves a GAINING switch to Order Request Failed and sets Status = SWITCH_ORDER_REQUEST_FAILED.
|
|
32
|
+
*
|
|
33
|
+
* @actionType STAGE_TRANSITION - Transitions record to new pipeline stage
|
|
34
|
+
* @module OrderModule
|
|
35
|
+
* @entity OneTouchSwitch
|
|
36
|
+
* @entityType GAINING (gaining)
|
|
37
|
+
* @targetStages OneTouchSwitchGainingStageOrderRequestFailed
|
|
38
|
+
* @event k1.t-hEOJjsDb.OrderModule.OneTouchSwitch.Transition.MoveGainingOneTouchSwitchToOrderRequestFailed
|
|
39
|
+
* @permission schema.action.movegainingonetouchswitchtoorderrequestfailed.trigger
|
|
40
|
+
* @benchmark This action is tracked for performance benchmarks
|
|
41
|
+
*/
|
|
42
|
+
export declare class MoveGainingOneTouchSwitchToOrderRequestFailedDto 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 = "MoveGainingOneTouchSwitchToOrderRequestFailed";
|
|
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.MoveGainingOneTouchSwitchToOrderRequestFailed";
|
|
50
|
+
static readonly SCHEMA_ACTION_ID = "b748fb10-7495-4fed-b220-79b83456c9bb";
|
|
51
|
+
static readonly PERMISSION = "schema.action.movegainingonetouchswitchtoorderrequestfailed.trigger";
|
|
52
|
+
static readonly TARGET_STAGES: readonly ["OneTouchSwitchGainingStageOrderRequestFailed"];
|
|
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
|
+
* MoveGainingOneTouchSwitchToOrderRequestFailed Action DTO
|
|
4
|
+
*
|
|
5
|
+
* Moves a GAINING switch to Order Request Failed and sets Status = SWITCH_ORDER_REQUEST_FAILED.
|
|
6
|
+
*
|
|
7
|
+
* @module OrderModule
|
|
8
|
+
* @entity OneTouchSwitch
|
|
9
|
+
* @entityType GAINING
|
|
10
|
+
* @actionKey MoveGainingOneTouchSwitchToOrderRequestFailed
|
|
11
|
+
* @event k1.t-hEOJjsDb.OrderModule.OneTouchSwitch.Transition.MoveGainingOneTouchSwitchToOrderRequestFailed
|
|
12
|
+
*
|
|
13
|
+
* AUTO-GENERATED - DO NOT EDIT DIRECTLY
|
|
14
|
+
*/
|
|
15
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
+
exports.MoveGainingOneTouchSwitchToOrderRequestFailedDto = void 0;
|
|
17
|
+
const core_1 = require("@d19n/odin-types/dist/core");
|
|
18
|
+
/**
|
|
19
|
+
* Order Request Failed
|
|
20
|
+
*
|
|
21
|
+
* Moves a GAINING switch to Order Request Failed and sets Status = SWITCH_ORDER_REQUEST_FAILED.
|
|
22
|
+
*
|
|
23
|
+
* @actionType STAGE_TRANSITION - Transitions record to new pipeline stage
|
|
24
|
+
* @module OrderModule
|
|
25
|
+
* @entity OneTouchSwitch
|
|
26
|
+
* @entityType GAINING (gaining)
|
|
27
|
+
* @targetStages OneTouchSwitchGainingStageOrderRequestFailed
|
|
28
|
+
* @event k1.t-hEOJjsDb.OrderModule.OneTouchSwitch.Transition.MoveGainingOneTouchSwitchToOrderRequestFailed
|
|
29
|
+
* @permission schema.action.movegainingonetouchswitchtoorderrequestfailed.trigger
|
|
30
|
+
* @benchmark This action is tracked for performance benchmarks
|
|
31
|
+
*/
|
|
32
|
+
class MoveGainingOneTouchSwitchToOrderRequestFailedDto 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 = 'MoveGainingOneTouchSwitchToOrderRequestFailed';
|
|
42
|
+
this.schemaActionId = 'b748fb10-7495-4fed-b220-79b83456c9bb';
|
|
43
|
+
this.entity = 'OrderModule:OneTouchSwitch';
|
|
44
|
+
this.stageKey = 'OneTouchSwitchGainingStageOrderRequestFailed';
|
|
45
|
+
}
|
|
46
|
+
}
|
|
47
|
+
exports.MoveGainingOneTouchSwitchToOrderRequestFailedDto = MoveGainingOneTouchSwitchToOrderRequestFailedDto;
|
|
48
|
+
/** Used by SDK generators to identify action type */
|
|
49
|
+
MoveGainingOneTouchSwitchToOrderRequestFailedDto.ACTION_TYPE = 'UPDATE';
|
|
50
|
+
MoveGainingOneTouchSwitchToOrderRequestFailedDto.ACTION_KEY = 'MoveGainingOneTouchSwitchToOrderRequestFailed';
|
|
51
|
+
MoveGainingOneTouchSwitchToOrderRequestFailedDto.MODULE_NAME = 'OrderModule';
|
|
52
|
+
MoveGainingOneTouchSwitchToOrderRequestFailedDto.ENTITIES = ['OneTouchSwitch'];
|
|
53
|
+
MoveGainingOneTouchSwitchToOrderRequestFailedDto.ENTITY_TYPE = 'GAINING';
|
|
54
|
+
MoveGainingOneTouchSwitchToOrderRequestFailedDto.EVENT_NAME = 'k1.t-hEOJjsDb.OrderModule.OneTouchSwitch.Transition.MoveGainingOneTouchSwitchToOrderRequestFailed';
|
|
55
|
+
MoveGainingOneTouchSwitchToOrderRequestFailedDto.SCHEMA_ACTION_ID = 'b748fb10-7495-4fed-b220-79b83456c9bb';
|
|
56
|
+
MoveGainingOneTouchSwitchToOrderRequestFailedDto.PERMISSION = 'schema.action.movegainingonetouchswitchtoorderrequestfailed.trigger';
|
|
57
|
+
MoveGainingOneTouchSwitchToOrderRequestFailedDto.TARGET_STAGES = ['OneTouchSwitchGainingStageOrderRequestFailed'];
|
|
58
|
+
MoveGainingOneTouchSwitchToOrderRequestFailedDto.IS_STAGE_TRANSITION = true;
|
|
59
|
+
MoveGainingOneTouchSwitchToOrderRequestFailedDto.IS_MULTI_STEP_FLOW = false;
|
|
60
|
+
MoveGainingOneTouchSwitchToOrderRequestFailedDto.HAS_STEP_LINKS = false;
|
|
61
|
+
/** Step classes that can be used with this action */
|
|
62
|
+
MoveGainingOneTouchSwitchToOrderRequestFailedDto.stepClasses = [];
|
|
@@ -0,0 +1,70 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* MoveGainingOneTouchSwitchToOrderRequestSent Action DTO
|
|
3
|
+
*
|
|
4
|
+
* Moves a GAINING switch to Order Request Sent and sets Status = SWITCH_ORDER_REQUEST_SENT.
|
|
5
|
+
*
|
|
6
|
+
* @module OrderModule
|
|
7
|
+
* @entity OneTouchSwitch
|
|
8
|
+
* @entityType GAINING
|
|
9
|
+
* @actionKey MoveGainingOneTouchSwitchToOrderRequestSent
|
|
10
|
+
* @event k1.t-hEOJjsDb.OrderModule.OneTouchSwitch.Transition.MoveGainingOneTouchSwitchToOrderRequestSent
|
|
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 MoveGainingOneTouchSwitchToOrderRequestSent step flow events
|
|
17
|
+
*
|
|
18
|
+
* @event k1.t-hEOJjsDb.OrderModule.OneTouchSwitch.Transition.MoveGainingOneTouchSwitchToOrderRequestSent
|
|
19
|
+
*/
|
|
20
|
+
export interface MoveGainingOneTouchSwitchToOrderRequestSentMessage extends OdinRecordUpdatedEvent<MoveGainingOneTouchSwitchToOrderRequestSentDto, {}> {
|
|
21
|
+
}
|
|
22
|
+
/**
|
|
23
|
+
* Properties for MoveGainingOneTouchSwitchToOrderRequestSent action
|
|
24
|
+
*
|
|
25
|
+
*/
|
|
26
|
+
export interface MoveGainingOneTouchSwitchToOrderRequestSentProperties {
|
|
27
|
+
}
|
|
28
|
+
/**
|
|
29
|
+
* Order Request Sent
|
|
30
|
+
*
|
|
31
|
+
* Moves a GAINING switch to Order Request Sent and sets Status = SWITCH_ORDER_REQUEST_SENT.
|
|
32
|
+
*
|
|
33
|
+
* @actionType STAGE_TRANSITION - Transitions record to new pipeline stage
|
|
34
|
+
* @module OrderModule
|
|
35
|
+
* @entity OneTouchSwitch
|
|
36
|
+
* @entityType GAINING (gaining)
|
|
37
|
+
* @targetStages OneTouchSwitchGainingStageOrderRequestSent
|
|
38
|
+
* @event k1.t-hEOJjsDb.OrderModule.OneTouchSwitch.Transition.MoveGainingOneTouchSwitchToOrderRequestSent
|
|
39
|
+
* @permission schema.action.movegainingonetouchswitchtoorderrequestsent.trigger
|
|
40
|
+
* @benchmark This action is tracked for performance benchmarks
|
|
41
|
+
*/
|
|
42
|
+
export declare class MoveGainingOneTouchSwitchToOrderRequestSentDto 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 = "MoveGainingOneTouchSwitchToOrderRequestSent";
|
|
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.MoveGainingOneTouchSwitchToOrderRequestSent";
|
|
50
|
+
static readonly SCHEMA_ACTION_ID = "f0401a2b-4668-4161-abba-d657fccabe7a";
|
|
51
|
+
static readonly PERMISSION = "schema.action.movegainingonetouchswitchtoorderrequestsent.trigger";
|
|
52
|
+
static readonly TARGET_STAGES: readonly ["OneTouchSwitchGainingStageOrderRequestSent"];
|
|
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
|
+
* MoveGainingOneTouchSwitchToOrderRequestSent Action DTO
|
|
4
|
+
*
|
|
5
|
+
* Moves a GAINING switch to Order Request Sent and sets Status = SWITCH_ORDER_REQUEST_SENT.
|
|
6
|
+
*
|
|
7
|
+
* @module OrderModule
|
|
8
|
+
* @entity OneTouchSwitch
|
|
9
|
+
* @entityType GAINING
|
|
10
|
+
* @actionKey MoveGainingOneTouchSwitchToOrderRequestSent
|
|
11
|
+
* @event k1.t-hEOJjsDb.OrderModule.OneTouchSwitch.Transition.MoveGainingOneTouchSwitchToOrderRequestSent
|
|
12
|
+
*
|
|
13
|
+
* AUTO-GENERATED - DO NOT EDIT DIRECTLY
|
|
14
|
+
*/
|
|
15
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
+
exports.MoveGainingOneTouchSwitchToOrderRequestSentDto = void 0;
|
|
17
|
+
const core_1 = require("@d19n/odin-types/dist/core");
|
|
18
|
+
/**
|
|
19
|
+
* Order Request Sent
|
|
20
|
+
*
|
|
21
|
+
* Moves a GAINING switch to Order Request Sent and sets Status = SWITCH_ORDER_REQUEST_SENT.
|
|
22
|
+
*
|
|
23
|
+
* @actionType STAGE_TRANSITION - Transitions record to new pipeline stage
|
|
24
|
+
* @module OrderModule
|
|
25
|
+
* @entity OneTouchSwitch
|
|
26
|
+
* @entityType GAINING (gaining)
|
|
27
|
+
* @targetStages OneTouchSwitchGainingStageOrderRequestSent
|
|
28
|
+
* @event k1.t-hEOJjsDb.OrderModule.OneTouchSwitch.Transition.MoveGainingOneTouchSwitchToOrderRequestSent
|
|
29
|
+
* @permission schema.action.movegainingonetouchswitchtoorderrequestsent.trigger
|
|
30
|
+
* @benchmark This action is tracked for performance benchmarks
|
|
31
|
+
*/
|
|
32
|
+
class MoveGainingOneTouchSwitchToOrderRequestSentDto 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 = 'MoveGainingOneTouchSwitchToOrderRequestSent';
|
|
42
|
+
this.schemaActionId = 'f0401a2b-4668-4161-abba-d657fccabe7a';
|
|
43
|
+
this.entity = 'OrderModule:OneTouchSwitch';
|
|
44
|
+
this.stageKey = 'OneTouchSwitchGainingStageOrderRequestSent';
|
|
45
|
+
}
|
|
46
|
+
}
|
|
47
|
+
exports.MoveGainingOneTouchSwitchToOrderRequestSentDto = MoveGainingOneTouchSwitchToOrderRequestSentDto;
|
|
48
|
+
/** Used by SDK generators to identify action type */
|
|
49
|
+
MoveGainingOneTouchSwitchToOrderRequestSentDto.ACTION_TYPE = 'UPDATE';
|
|
50
|
+
MoveGainingOneTouchSwitchToOrderRequestSentDto.ACTION_KEY = 'MoveGainingOneTouchSwitchToOrderRequestSent';
|
|
51
|
+
MoveGainingOneTouchSwitchToOrderRequestSentDto.MODULE_NAME = 'OrderModule';
|
|
52
|
+
MoveGainingOneTouchSwitchToOrderRequestSentDto.ENTITIES = ['OneTouchSwitch'];
|
|
53
|
+
MoveGainingOneTouchSwitchToOrderRequestSentDto.ENTITY_TYPE = 'GAINING';
|
|
54
|
+
MoveGainingOneTouchSwitchToOrderRequestSentDto.EVENT_NAME = 'k1.t-hEOJjsDb.OrderModule.OneTouchSwitch.Transition.MoveGainingOneTouchSwitchToOrderRequestSent';
|
|
55
|
+
MoveGainingOneTouchSwitchToOrderRequestSentDto.SCHEMA_ACTION_ID = 'f0401a2b-4668-4161-abba-d657fccabe7a';
|
|
56
|
+
MoveGainingOneTouchSwitchToOrderRequestSentDto.PERMISSION = 'schema.action.movegainingonetouchswitchtoorderrequestsent.trigger';
|
|
57
|
+
MoveGainingOneTouchSwitchToOrderRequestSentDto.TARGET_STAGES = ['OneTouchSwitchGainingStageOrderRequestSent'];
|
|
58
|
+
MoveGainingOneTouchSwitchToOrderRequestSentDto.IS_STAGE_TRANSITION = true;
|
|
59
|
+
MoveGainingOneTouchSwitchToOrderRequestSentDto.IS_MULTI_STEP_FLOW = false;
|
|
60
|
+
MoveGainingOneTouchSwitchToOrderRequestSentDto.HAS_STEP_LINKS = false;
|
|
61
|
+
/** Step classes that can be used with this action */
|
|
62
|
+
MoveGainingOneTouchSwitchToOrderRequestSentDto.stepClasses = [];
|