@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
package/README.md
CHANGED
|
@@ -124,7 +124,7 @@ await workOrder.completeWorkOrder({ ... });
|
|
|
124
124
|
|
|
125
125
|
## Entities
|
|
126
126
|
|
|
127
|
-
This SDK includes **
|
|
127
|
+
This SDK includes **202** entities across **13** modules.
|
|
128
128
|
|
|
129
129
|
### CrmModule
|
|
130
130
|
|
|
@@ -206,6 +206,8 @@ This SDK includes **200** entities across **13** modules.
|
|
|
206
206
|
| **AgentStatus** | AgentStatus Entity Definition | DEFAULT |
|
|
207
207
|
| **AgentStatusHistory** | AgentStatusHistory Entity Definition | DEFAULT |
|
|
208
208
|
| **AiRouteRequest** | AiRouteRequest Entity Definition | DEFAULT |
|
|
209
|
+
| **AiTagItem** | AiTagItem Entity Definition | DEFAULT |
|
|
210
|
+
| **AiTagSet** | AiTagSet Entity Definition | DEFAULT |
|
|
209
211
|
| **Case** | Case Entity Definition | OUTAGE |
|
|
210
212
|
| **CaseAction** | CaseAction Entity Definition | DEFAULT |
|
|
211
213
|
| **CaseQueueListView** | CaseQueueListView Entity Definition | DEFAULT |
|
|
@@ -393,7 +395,7 @@ This SDK includes **200** entities across **13** modules.
|
|
|
393
395
|
|
|
394
396
|
## Actions
|
|
395
397
|
|
|
396
|
-
This SDK includes **
|
|
398
|
+
This SDK includes **933** actions.
|
|
397
399
|
|
|
398
400
|
### Action Types
|
|
399
401
|
|
|
@@ -1859,9 +1861,54 @@ This SDK includes **918** actions.
|
|
|
1859
1861
|
| Action | Type | Event |
|
|
1860
1862
|
|--------|------|-------|
|
|
1861
1863
|
| `CreateOneTouchSwitchOrder` | CREATE | k1.t-hEOJjsDb.OrderModule.OneTouchSwitch.Create.CreateOneTouchSwitchOrder |
|
|
1864
|
+
| `MoveGainingOneTouchSwitchToMatchRequestConfirmed` | STAGE_TRANSITION | k1.t-hEOJjsDb.OrderModule.OneTouchSwitch.Transition.MoveGainingOneTouchSwitchToMatchRequestConfirmed |
|
|
1865
|
+
| `MoveGainingOneTouchSwitchToMatchRequestFailed` | STAGE_TRANSITION | k1.t-hEOJjsDb.OrderModule.OneTouchSwitch.Transition.MoveGainingOneTouchSwitchToMatchRequestFailed |
|
|
1866
|
+
| `MoveGainingOneTouchSwitchToMatchRequestSent` | STAGE_TRANSITION | k1.t-hEOJjsDb.OrderModule.OneTouchSwitch.Transition.MoveGainingOneTouchSwitchToMatchRequestSent |
|
|
1867
|
+
| `MoveGainingOneTouchSwitchToOrderCancelConfirmed` | STAGE_TRANSITION | k1.t-hEOJjsDb.OrderModule.OneTouchSwitch.Transition.MoveGainingOneTouchSwitchToOrderCancelConfirmed |
|
|
1868
|
+
| `MoveGainingOneTouchSwitchToOrderCancelFailed` | STAGE_TRANSITION | k1.t-hEOJjsDb.OrderModule.OneTouchSwitch.Transition.MoveGainingOneTouchSwitchToOrderCancelFailed |
|
|
1869
|
+
| `MoveGainingOneTouchSwitchToOrderCancelSent` | STAGE_TRANSITION | k1.t-hEOJjsDb.OrderModule.OneTouchSwitch.Transition.MoveGainingOneTouchSwitchToOrderCancelSent |
|
|
1870
|
+
| `MoveGainingOneTouchSwitchToOrderRequestConfirmed` | STAGE_TRANSITION | k1.t-hEOJjsDb.OrderModule.OneTouchSwitch.Transition.MoveGainingOneTouchSwitchToOrderRequestConfirmed |
|
|
1871
|
+
| `MoveGainingOneTouchSwitchToOrderRequestFailed` | STAGE_TRANSITION | k1.t-hEOJjsDb.OrderModule.OneTouchSwitch.Transition.MoveGainingOneTouchSwitchToOrderRequestFailed |
|
|
1872
|
+
| `MoveGainingOneTouchSwitchToOrderRequestSent` | STAGE_TRANSITION | k1.t-hEOJjsDb.OrderModule.OneTouchSwitch.Transition.MoveGainingOneTouchSwitchToOrderRequestSent |
|
|
1873
|
+
| `MoveGainingOneTouchSwitchToOrderTriggerConfirmed` | STAGE_TRANSITION | k1.t-hEOJjsDb.OrderModule.OneTouchSwitch.Transition.MoveGainingOneTouchSwitchToOrderTriggerConfirmed |
|
|
1874
|
+
| `MoveGainingOneTouchSwitchToOrderTriggerFailed` | STAGE_TRANSITION | k1.t-hEOJjsDb.OrderModule.OneTouchSwitch.Transition.MoveGainingOneTouchSwitchToOrderTriggerFailed |
|
|
1875
|
+
| `MoveGainingOneTouchSwitchToOrderTriggerSent` | STAGE_TRANSITION | k1.t-hEOJjsDb.OrderModule.OneTouchSwitch.Transition.MoveGainingOneTouchSwitchToOrderTriggerSent |
|
|
1876
|
+
| `MoveGainingOneTouchSwitchToOrderUpdateConfirmed` | STAGE_TRANSITION | k1.t-hEOJjsDb.OrderModule.OneTouchSwitch.Transition.MoveGainingOneTouchSwitchToOrderUpdateConfirmed |
|
|
1877
|
+
| `MoveGainingOneTouchSwitchToOrderUpdateFailed` | STAGE_TRANSITION | k1.t-hEOJjsDb.OrderModule.OneTouchSwitch.Transition.MoveGainingOneTouchSwitchToOrderUpdateFailed |
|
|
1878
|
+
| `MoveGainingOneTouchSwitchToOrderUpdateSent` | STAGE_TRANSITION | k1.t-hEOJjsDb.OrderModule.OneTouchSwitch.Transition.MoveGainingOneTouchSwitchToOrderUpdateSent |
|
|
1862
1879
|
| `UpdateLosingOneTouchSwitchOrder` | UPDATE | k1.t-hEOJjsDb.OrderModule.OneTouchSwitch.Update.UpdateLosingOneTouchSwitchOrder |
|
|
1863
1880
|
| `UpdateOneTouchSwitchOrder` | UPDATE | k1.t-hEOJjsDb.OrderModule.OneTouchSwitch.Update.UpdateOneTouchSwitchOrder |
|
|
1864
1881
|
|
|
1882
|
+
**MoveGainingOneTouchSwitchToMatchRequestConfirmed Target Stages:** `OneTouchSwitchGainingStageMatchRequestConfirmed`
|
|
1883
|
+
|
|
1884
|
+
**MoveGainingOneTouchSwitchToMatchRequestFailed Target Stages:** `OneTouchSwitchGainingStageMatchRequestFailed`
|
|
1885
|
+
|
|
1886
|
+
**MoveGainingOneTouchSwitchToMatchRequestSent Target Stages:** `OneTouchSwitchGainingStageMatchRequestSent`
|
|
1887
|
+
|
|
1888
|
+
**MoveGainingOneTouchSwitchToOrderCancelConfirmed Target Stages:** `OneTouchSwitchGainingStageOrderCancelConfirmed`
|
|
1889
|
+
|
|
1890
|
+
**MoveGainingOneTouchSwitchToOrderCancelFailed Target Stages:** `OneTouchSwitchGainingStageOrderCancelFailed`
|
|
1891
|
+
|
|
1892
|
+
**MoveGainingOneTouchSwitchToOrderCancelSent Target Stages:** `OneTouchSwitchGainingStageOrderCancelSent`
|
|
1893
|
+
|
|
1894
|
+
**MoveGainingOneTouchSwitchToOrderRequestConfirmed Target Stages:** `OneTouchSwitchGainingStageOrderRequestConfirmed`
|
|
1895
|
+
|
|
1896
|
+
**MoveGainingOneTouchSwitchToOrderRequestFailed Target Stages:** `OneTouchSwitchGainingStageOrderRequestFailed`
|
|
1897
|
+
|
|
1898
|
+
**MoveGainingOneTouchSwitchToOrderRequestSent Target Stages:** `OneTouchSwitchGainingStageOrderRequestSent`
|
|
1899
|
+
|
|
1900
|
+
**MoveGainingOneTouchSwitchToOrderTriggerConfirmed Target Stages:** `OneTouchSwitchGainingStageOrderTriggerConfirmed`
|
|
1901
|
+
|
|
1902
|
+
**MoveGainingOneTouchSwitchToOrderTriggerFailed Target Stages:** `OneTouchSwitchGainingStageOrderTriggerFailed`
|
|
1903
|
+
|
|
1904
|
+
**MoveGainingOneTouchSwitchToOrderTriggerSent Target Stages:** `OneTouchSwitchGainingStageOrderTriggerSent`
|
|
1905
|
+
|
|
1906
|
+
**MoveGainingOneTouchSwitchToOrderUpdateConfirmed Target Stages:** `OneTouchSwitchGainingStageOrderUpdateConfirmed`
|
|
1907
|
+
|
|
1908
|
+
**MoveGainingOneTouchSwitchToOrderUpdateFailed Target Stages:** `OneTouchSwitchGainingStageOrderUpdateFailed`
|
|
1909
|
+
|
|
1910
|
+
**MoveGainingOneTouchSwitchToOrderUpdateSent Target Stages:** `OneTouchSwitchGainingStageOrderUpdateSent`
|
|
1911
|
+
|
|
1865
1912
|
#### Campaign
|
|
1866
1913
|
|
|
1867
1914
|
| Action | Type | Event |
|
|
@@ -0,0 +1,70 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* MoveGainingOneTouchSwitchToMatchRequestConfirmed Action DTO
|
|
3
|
+
*
|
|
4
|
+
* Moves a GAINING switch to Match Request Confirmed and sets Status = SWITCH_MATCH_REQUEST_CONFIRMED.
|
|
5
|
+
*
|
|
6
|
+
* @module OrderModule
|
|
7
|
+
* @entity OneTouchSwitch
|
|
8
|
+
* @entityType GAINING
|
|
9
|
+
* @actionKey MoveGainingOneTouchSwitchToMatchRequestConfirmed
|
|
10
|
+
* @event k1.t-hEOJjsDb.OrderModule.OneTouchSwitch.Transition.MoveGainingOneTouchSwitchToMatchRequestConfirmed
|
|
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 MoveGainingOneTouchSwitchToMatchRequestConfirmed step flow events
|
|
17
|
+
*
|
|
18
|
+
* @event k1.t-hEOJjsDb.OrderModule.OneTouchSwitch.Transition.MoveGainingOneTouchSwitchToMatchRequestConfirmed
|
|
19
|
+
*/
|
|
20
|
+
export interface MoveGainingOneTouchSwitchToMatchRequestConfirmedMessage extends OdinRecordUpdatedEvent<MoveGainingOneTouchSwitchToMatchRequestConfirmedDto, {}> {
|
|
21
|
+
}
|
|
22
|
+
/**
|
|
23
|
+
* Properties for MoveGainingOneTouchSwitchToMatchRequestConfirmed action
|
|
24
|
+
*
|
|
25
|
+
*/
|
|
26
|
+
export interface MoveGainingOneTouchSwitchToMatchRequestConfirmedProperties {
|
|
27
|
+
}
|
|
28
|
+
/**
|
|
29
|
+
* Match Request Confirmed
|
|
30
|
+
*
|
|
31
|
+
* Moves a GAINING switch to Match Request Confirmed and sets Status = SWITCH_MATCH_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 OneTouchSwitchGainingStageMatchRequestConfirmed
|
|
38
|
+
* @event k1.t-hEOJjsDb.OrderModule.OneTouchSwitch.Transition.MoveGainingOneTouchSwitchToMatchRequestConfirmed
|
|
39
|
+
* @permission schema.action.movegainingonetouchswitchtomatchrequestconfirmed.trigger
|
|
40
|
+
* @benchmark This action is tracked for performance benchmarks
|
|
41
|
+
*/
|
|
42
|
+
export declare class MoveGainingOneTouchSwitchToMatchRequestConfirmedDto 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 = "MoveGainingOneTouchSwitchToMatchRequestConfirmed";
|
|
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.MoveGainingOneTouchSwitchToMatchRequestConfirmed";
|
|
50
|
+
static readonly SCHEMA_ACTION_ID = "1cf2b08d-910d-4384-954d-8ca885cf93a8";
|
|
51
|
+
static readonly PERMISSION = "schema.action.movegainingonetouchswitchtomatchrequestconfirmed.trigger";
|
|
52
|
+
static readonly TARGET_STAGES: readonly ["OneTouchSwitchGainingStageMatchRequestConfirmed"];
|
|
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
|
+
* MoveGainingOneTouchSwitchToMatchRequestConfirmed Action DTO
|
|
4
|
+
*
|
|
5
|
+
* Moves a GAINING switch to Match Request Confirmed and sets Status = SWITCH_MATCH_REQUEST_CONFIRMED.
|
|
6
|
+
*
|
|
7
|
+
* @module OrderModule
|
|
8
|
+
* @entity OneTouchSwitch
|
|
9
|
+
* @entityType GAINING
|
|
10
|
+
* @actionKey MoveGainingOneTouchSwitchToMatchRequestConfirmed
|
|
11
|
+
* @event k1.t-hEOJjsDb.OrderModule.OneTouchSwitch.Transition.MoveGainingOneTouchSwitchToMatchRequestConfirmed
|
|
12
|
+
*
|
|
13
|
+
* AUTO-GENERATED - DO NOT EDIT DIRECTLY
|
|
14
|
+
*/
|
|
15
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
+
exports.MoveGainingOneTouchSwitchToMatchRequestConfirmedDto = void 0;
|
|
17
|
+
const core_1 = require("@d19n/odin-types/dist/core");
|
|
18
|
+
/**
|
|
19
|
+
* Match Request Confirmed
|
|
20
|
+
*
|
|
21
|
+
* Moves a GAINING switch to Match Request Confirmed and sets Status = SWITCH_MATCH_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 OneTouchSwitchGainingStageMatchRequestConfirmed
|
|
28
|
+
* @event k1.t-hEOJjsDb.OrderModule.OneTouchSwitch.Transition.MoveGainingOneTouchSwitchToMatchRequestConfirmed
|
|
29
|
+
* @permission schema.action.movegainingonetouchswitchtomatchrequestconfirmed.trigger
|
|
30
|
+
* @benchmark This action is tracked for performance benchmarks
|
|
31
|
+
*/
|
|
32
|
+
class MoveGainingOneTouchSwitchToMatchRequestConfirmedDto 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 = 'MoveGainingOneTouchSwitchToMatchRequestConfirmed';
|
|
42
|
+
this.schemaActionId = '1cf2b08d-910d-4384-954d-8ca885cf93a8';
|
|
43
|
+
this.entity = 'OrderModule:OneTouchSwitch';
|
|
44
|
+
this.stageKey = 'OneTouchSwitchGainingStageMatchRequestConfirmed';
|
|
45
|
+
}
|
|
46
|
+
}
|
|
47
|
+
exports.MoveGainingOneTouchSwitchToMatchRequestConfirmedDto = MoveGainingOneTouchSwitchToMatchRequestConfirmedDto;
|
|
48
|
+
/** Used by SDK generators to identify action type */
|
|
49
|
+
MoveGainingOneTouchSwitchToMatchRequestConfirmedDto.ACTION_TYPE = 'UPDATE';
|
|
50
|
+
MoveGainingOneTouchSwitchToMatchRequestConfirmedDto.ACTION_KEY = 'MoveGainingOneTouchSwitchToMatchRequestConfirmed';
|
|
51
|
+
MoveGainingOneTouchSwitchToMatchRequestConfirmedDto.MODULE_NAME = 'OrderModule';
|
|
52
|
+
MoveGainingOneTouchSwitchToMatchRequestConfirmedDto.ENTITIES = ['OneTouchSwitch'];
|
|
53
|
+
MoveGainingOneTouchSwitchToMatchRequestConfirmedDto.ENTITY_TYPE = 'GAINING';
|
|
54
|
+
MoveGainingOneTouchSwitchToMatchRequestConfirmedDto.EVENT_NAME = 'k1.t-hEOJjsDb.OrderModule.OneTouchSwitch.Transition.MoveGainingOneTouchSwitchToMatchRequestConfirmed';
|
|
55
|
+
MoveGainingOneTouchSwitchToMatchRequestConfirmedDto.SCHEMA_ACTION_ID = '1cf2b08d-910d-4384-954d-8ca885cf93a8';
|
|
56
|
+
MoveGainingOneTouchSwitchToMatchRequestConfirmedDto.PERMISSION = 'schema.action.movegainingonetouchswitchtomatchrequestconfirmed.trigger';
|
|
57
|
+
MoveGainingOneTouchSwitchToMatchRequestConfirmedDto.TARGET_STAGES = ['OneTouchSwitchGainingStageMatchRequestConfirmed'];
|
|
58
|
+
MoveGainingOneTouchSwitchToMatchRequestConfirmedDto.IS_STAGE_TRANSITION = true;
|
|
59
|
+
MoveGainingOneTouchSwitchToMatchRequestConfirmedDto.IS_MULTI_STEP_FLOW = false;
|
|
60
|
+
MoveGainingOneTouchSwitchToMatchRequestConfirmedDto.HAS_STEP_LINKS = false;
|
|
61
|
+
/** Step classes that can be used with this action */
|
|
62
|
+
MoveGainingOneTouchSwitchToMatchRequestConfirmedDto.stepClasses = [];
|
|
@@ -0,0 +1,70 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* MoveGainingOneTouchSwitchToMatchRequestFailed Action DTO
|
|
3
|
+
*
|
|
4
|
+
* Moves a GAINING switch to Match Request Failed and sets Status = SWITCH_MATCH_REQUEST_FAILED.
|
|
5
|
+
*
|
|
6
|
+
* @module OrderModule
|
|
7
|
+
* @entity OneTouchSwitch
|
|
8
|
+
* @entityType GAINING
|
|
9
|
+
* @actionKey MoveGainingOneTouchSwitchToMatchRequestFailed
|
|
10
|
+
* @event k1.t-hEOJjsDb.OrderModule.OneTouchSwitch.Transition.MoveGainingOneTouchSwitchToMatchRequestFailed
|
|
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 MoveGainingOneTouchSwitchToMatchRequestFailed step flow events
|
|
17
|
+
*
|
|
18
|
+
* @event k1.t-hEOJjsDb.OrderModule.OneTouchSwitch.Transition.MoveGainingOneTouchSwitchToMatchRequestFailed
|
|
19
|
+
*/
|
|
20
|
+
export interface MoveGainingOneTouchSwitchToMatchRequestFailedMessage extends OdinRecordUpdatedEvent<MoveGainingOneTouchSwitchToMatchRequestFailedDto, {}> {
|
|
21
|
+
}
|
|
22
|
+
/**
|
|
23
|
+
* Properties for MoveGainingOneTouchSwitchToMatchRequestFailed action
|
|
24
|
+
*
|
|
25
|
+
*/
|
|
26
|
+
export interface MoveGainingOneTouchSwitchToMatchRequestFailedProperties {
|
|
27
|
+
}
|
|
28
|
+
/**
|
|
29
|
+
* Match Request Failed
|
|
30
|
+
*
|
|
31
|
+
* Moves a GAINING switch to Match Request Failed and sets Status = SWITCH_MATCH_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 OneTouchSwitchGainingStageMatchRequestFailed
|
|
38
|
+
* @event k1.t-hEOJjsDb.OrderModule.OneTouchSwitch.Transition.MoveGainingOneTouchSwitchToMatchRequestFailed
|
|
39
|
+
* @permission schema.action.movegainingonetouchswitchtomatchrequestfailed.trigger
|
|
40
|
+
* @benchmark This action is tracked for performance benchmarks
|
|
41
|
+
*/
|
|
42
|
+
export declare class MoveGainingOneTouchSwitchToMatchRequestFailedDto 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 = "MoveGainingOneTouchSwitchToMatchRequestFailed";
|
|
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.MoveGainingOneTouchSwitchToMatchRequestFailed";
|
|
50
|
+
static readonly SCHEMA_ACTION_ID = "a13951d9-a1a3-4882-9ee7-cf4539ac1d2e";
|
|
51
|
+
static readonly PERMISSION = "schema.action.movegainingonetouchswitchtomatchrequestfailed.trigger";
|
|
52
|
+
static readonly TARGET_STAGES: readonly ["OneTouchSwitchGainingStageMatchRequestFailed"];
|
|
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
|
+
* MoveGainingOneTouchSwitchToMatchRequestFailed Action DTO
|
|
4
|
+
*
|
|
5
|
+
* Moves a GAINING switch to Match Request Failed and sets Status = SWITCH_MATCH_REQUEST_FAILED.
|
|
6
|
+
*
|
|
7
|
+
* @module OrderModule
|
|
8
|
+
* @entity OneTouchSwitch
|
|
9
|
+
* @entityType GAINING
|
|
10
|
+
* @actionKey MoveGainingOneTouchSwitchToMatchRequestFailed
|
|
11
|
+
* @event k1.t-hEOJjsDb.OrderModule.OneTouchSwitch.Transition.MoveGainingOneTouchSwitchToMatchRequestFailed
|
|
12
|
+
*
|
|
13
|
+
* AUTO-GENERATED - DO NOT EDIT DIRECTLY
|
|
14
|
+
*/
|
|
15
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
+
exports.MoveGainingOneTouchSwitchToMatchRequestFailedDto = void 0;
|
|
17
|
+
const core_1 = require("@d19n/odin-types/dist/core");
|
|
18
|
+
/**
|
|
19
|
+
* Match Request Failed
|
|
20
|
+
*
|
|
21
|
+
* Moves a GAINING switch to Match Request Failed and sets Status = SWITCH_MATCH_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 OneTouchSwitchGainingStageMatchRequestFailed
|
|
28
|
+
* @event k1.t-hEOJjsDb.OrderModule.OneTouchSwitch.Transition.MoveGainingOneTouchSwitchToMatchRequestFailed
|
|
29
|
+
* @permission schema.action.movegainingonetouchswitchtomatchrequestfailed.trigger
|
|
30
|
+
* @benchmark This action is tracked for performance benchmarks
|
|
31
|
+
*/
|
|
32
|
+
class MoveGainingOneTouchSwitchToMatchRequestFailedDto 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 = 'MoveGainingOneTouchSwitchToMatchRequestFailed';
|
|
42
|
+
this.schemaActionId = 'a13951d9-a1a3-4882-9ee7-cf4539ac1d2e';
|
|
43
|
+
this.entity = 'OrderModule:OneTouchSwitch';
|
|
44
|
+
this.stageKey = 'OneTouchSwitchGainingStageMatchRequestFailed';
|
|
45
|
+
}
|
|
46
|
+
}
|
|
47
|
+
exports.MoveGainingOneTouchSwitchToMatchRequestFailedDto = MoveGainingOneTouchSwitchToMatchRequestFailedDto;
|
|
48
|
+
/** Used by SDK generators to identify action type */
|
|
49
|
+
MoveGainingOneTouchSwitchToMatchRequestFailedDto.ACTION_TYPE = 'UPDATE';
|
|
50
|
+
MoveGainingOneTouchSwitchToMatchRequestFailedDto.ACTION_KEY = 'MoveGainingOneTouchSwitchToMatchRequestFailed';
|
|
51
|
+
MoveGainingOneTouchSwitchToMatchRequestFailedDto.MODULE_NAME = 'OrderModule';
|
|
52
|
+
MoveGainingOneTouchSwitchToMatchRequestFailedDto.ENTITIES = ['OneTouchSwitch'];
|
|
53
|
+
MoveGainingOneTouchSwitchToMatchRequestFailedDto.ENTITY_TYPE = 'GAINING';
|
|
54
|
+
MoveGainingOneTouchSwitchToMatchRequestFailedDto.EVENT_NAME = 'k1.t-hEOJjsDb.OrderModule.OneTouchSwitch.Transition.MoveGainingOneTouchSwitchToMatchRequestFailed';
|
|
55
|
+
MoveGainingOneTouchSwitchToMatchRequestFailedDto.SCHEMA_ACTION_ID = 'a13951d9-a1a3-4882-9ee7-cf4539ac1d2e';
|
|
56
|
+
MoveGainingOneTouchSwitchToMatchRequestFailedDto.PERMISSION = 'schema.action.movegainingonetouchswitchtomatchrequestfailed.trigger';
|
|
57
|
+
MoveGainingOneTouchSwitchToMatchRequestFailedDto.TARGET_STAGES = ['OneTouchSwitchGainingStageMatchRequestFailed'];
|
|
58
|
+
MoveGainingOneTouchSwitchToMatchRequestFailedDto.IS_STAGE_TRANSITION = true;
|
|
59
|
+
MoveGainingOneTouchSwitchToMatchRequestFailedDto.IS_MULTI_STEP_FLOW = false;
|
|
60
|
+
MoveGainingOneTouchSwitchToMatchRequestFailedDto.HAS_STEP_LINKS = false;
|
|
61
|
+
/** Step classes that can be used with this action */
|
|
62
|
+
MoveGainingOneTouchSwitchToMatchRequestFailedDto.stepClasses = [];
|
|
@@ -0,0 +1,70 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* MoveGainingOneTouchSwitchToMatchRequestSent Action DTO
|
|
3
|
+
*
|
|
4
|
+
* Moves a GAINING switch to Match Request Sent and sets Status = SWITCH_MATCH_REQUEST_SENT.
|
|
5
|
+
*
|
|
6
|
+
* @module OrderModule
|
|
7
|
+
* @entity OneTouchSwitch
|
|
8
|
+
* @entityType GAINING
|
|
9
|
+
* @actionKey MoveGainingOneTouchSwitchToMatchRequestSent
|
|
10
|
+
* @event k1.t-hEOJjsDb.OrderModule.OneTouchSwitch.Transition.MoveGainingOneTouchSwitchToMatchRequestSent
|
|
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 MoveGainingOneTouchSwitchToMatchRequestSent step flow events
|
|
17
|
+
*
|
|
18
|
+
* @event k1.t-hEOJjsDb.OrderModule.OneTouchSwitch.Transition.MoveGainingOneTouchSwitchToMatchRequestSent
|
|
19
|
+
*/
|
|
20
|
+
export interface MoveGainingOneTouchSwitchToMatchRequestSentMessage extends OdinRecordUpdatedEvent<MoveGainingOneTouchSwitchToMatchRequestSentDto, {}> {
|
|
21
|
+
}
|
|
22
|
+
/**
|
|
23
|
+
* Properties for MoveGainingOneTouchSwitchToMatchRequestSent action
|
|
24
|
+
*
|
|
25
|
+
*/
|
|
26
|
+
export interface MoveGainingOneTouchSwitchToMatchRequestSentProperties {
|
|
27
|
+
}
|
|
28
|
+
/**
|
|
29
|
+
* Match Request Sent
|
|
30
|
+
*
|
|
31
|
+
* Moves a GAINING switch to Match Request Sent and sets Status = SWITCH_MATCH_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 OneTouchSwitchGainingStageMatchRequestSent
|
|
38
|
+
* @event k1.t-hEOJjsDb.OrderModule.OneTouchSwitch.Transition.MoveGainingOneTouchSwitchToMatchRequestSent
|
|
39
|
+
* @permission schema.action.movegainingonetouchswitchtomatchrequestsent.trigger
|
|
40
|
+
* @benchmark This action is tracked for performance benchmarks
|
|
41
|
+
*/
|
|
42
|
+
export declare class MoveGainingOneTouchSwitchToMatchRequestSentDto 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 = "MoveGainingOneTouchSwitchToMatchRequestSent";
|
|
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.MoveGainingOneTouchSwitchToMatchRequestSent";
|
|
50
|
+
static readonly SCHEMA_ACTION_ID = "fcc5d53e-f10b-452b-a006-bfdb64301420";
|
|
51
|
+
static readonly PERMISSION = "schema.action.movegainingonetouchswitchtomatchrequestsent.trigger";
|
|
52
|
+
static readonly TARGET_STAGES: readonly ["OneTouchSwitchGainingStageMatchRequestSent"];
|
|
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
|
+
* MoveGainingOneTouchSwitchToMatchRequestSent Action DTO
|
|
4
|
+
*
|
|
5
|
+
* Moves a GAINING switch to Match Request Sent and sets Status = SWITCH_MATCH_REQUEST_SENT.
|
|
6
|
+
*
|
|
7
|
+
* @module OrderModule
|
|
8
|
+
* @entity OneTouchSwitch
|
|
9
|
+
* @entityType GAINING
|
|
10
|
+
* @actionKey MoveGainingOneTouchSwitchToMatchRequestSent
|
|
11
|
+
* @event k1.t-hEOJjsDb.OrderModule.OneTouchSwitch.Transition.MoveGainingOneTouchSwitchToMatchRequestSent
|
|
12
|
+
*
|
|
13
|
+
* AUTO-GENERATED - DO NOT EDIT DIRECTLY
|
|
14
|
+
*/
|
|
15
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
+
exports.MoveGainingOneTouchSwitchToMatchRequestSentDto = void 0;
|
|
17
|
+
const core_1 = require("@d19n/odin-types/dist/core");
|
|
18
|
+
/**
|
|
19
|
+
* Match Request Sent
|
|
20
|
+
*
|
|
21
|
+
* Moves a GAINING switch to Match Request Sent and sets Status = SWITCH_MATCH_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 OneTouchSwitchGainingStageMatchRequestSent
|
|
28
|
+
* @event k1.t-hEOJjsDb.OrderModule.OneTouchSwitch.Transition.MoveGainingOneTouchSwitchToMatchRequestSent
|
|
29
|
+
* @permission schema.action.movegainingonetouchswitchtomatchrequestsent.trigger
|
|
30
|
+
* @benchmark This action is tracked for performance benchmarks
|
|
31
|
+
*/
|
|
32
|
+
class MoveGainingOneTouchSwitchToMatchRequestSentDto 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 = 'MoveGainingOneTouchSwitchToMatchRequestSent';
|
|
42
|
+
this.schemaActionId = 'fcc5d53e-f10b-452b-a006-bfdb64301420';
|
|
43
|
+
this.entity = 'OrderModule:OneTouchSwitch';
|
|
44
|
+
this.stageKey = 'OneTouchSwitchGainingStageMatchRequestSent';
|
|
45
|
+
}
|
|
46
|
+
}
|
|
47
|
+
exports.MoveGainingOneTouchSwitchToMatchRequestSentDto = MoveGainingOneTouchSwitchToMatchRequestSentDto;
|
|
48
|
+
/** Used by SDK generators to identify action type */
|
|
49
|
+
MoveGainingOneTouchSwitchToMatchRequestSentDto.ACTION_TYPE = 'UPDATE';
|
|
50
|
+
MoveGainingOneTouchSwitchToMatchRequestSentDto.ACTION_KEY = 'MoveGainingOneTouchSwitchToMatchRequestSent';
|
|
51
|
+
MoveGainingOneTouchSwitchToMatchRequestSentDto.MODULE_NAME = 'OrderModule';
|
|
52
|
+
MoveGainingOneTouchSwitchToMatchRequestSentDto.ENTITIES = ['OneTouchSwitch'];
|
|
53
|
+
MoveGainingOneTouchSwitchToMatchRequestSentDto.ENTITY_TYPE = 'GAINING';
|
|
54
|
+
MoveGainingOneTouchSwitchToMatchRequestSentDto.EVENT_NAME = 'k1.t-hEOJjsDb.OrderModule.OneTouchSwitch.Transition.MoveGainingOneTouchSwitchToMatchRequestSent';
|
|
55
|
+
MoveGainingOneTouchSwitchToMatchRequestSentDto.SCHEMA_ACTION_ID = 'fcc5d53e-f10b-452b-a006-bfdb64301420';
|
|
56
|
+
MoveGainingOneTouchSwitchToMatchRequestSentDto.PERMISSION = 'schema.action.movegainingonetouchswitchtomatchrequestsent.trigger';
|
|
57
|
+
MoveGainingOneTouchSwitchToMatchRequestSentDto.TARGET_STAGES = ['OneTouchSwitchGainingStageMatchRequestSent'];
|
|
58
|
+
MoveGainingOneTouchSwitchToMatchRequestSentDto.IS_STAGE_TRANSITION = true;
|
|
59
|
+
MoveGainingOneTouchSwitchToMatchRequestSentDto.IS_MULTI_STEP_FLOW = false;
|
|
60
|
+
MoveGainingOneTouchSwitchToMatchRequestSentDto.HAS_STEP_LINKS = false;
|
|
61
|
+
/** Step classes that can be used with this action */
|
|
62
|
+
MoveGainingOneTouchSwitchToMatchRequestSentDto.stepClasses = [];
|
|
@@ -0,0 +1,70 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* MoveGainingOneTouchSwitchToOrderCancelConfirmed Action DTO
|
|
3
|
+
*
|
|
4
|
+
* Moves a GAINING switch to Order Cancel Confirmed and sets Status = SWITCH_ORDER_CANCEL_CONFIRMED.
|
|
5
|
+
*
|
|
6
|
+
* @module OrderModule
|
|
7
|
+
* @entity OneTouchSwitch
|
|
8
|
+
* @entityType GAINING
|
|
9
|
+
* @actionKey MoveGainingOneTouchSwitchToOrderCancelConfirmed
|
|
10
|
+
* @event k1.t-hEOJjsDb.OrderModule.OneTouchSwitch.Transition.MoveGainingOneTouchSwitchToOrderCancelConfirmed
|
|
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 MoveGainingOneTouchSwitchToOrderCancelConfirmed step flow events
|
|
17
|
+
*
|
|
18
|
+
* @event k1.t-hEOJjsDb.OrderModule.OneTouchSwitch.Transition.MoveGainingOneTouchSwitchToOrderCancelConfirmed
|
|
19
|
+
*/
|
|
20
|
+
export interface MoveGainingOneTouchSwitchToOrderCancelConfirmedMessage extends OdinRecordUpdatedEvent<MoveGainingOneTouchSwitchToOrderCancelConfirmedDto, {}> {
|
|
21
|
+
}
|
|
22
|
+
/**
|
|
23
|
+
* Properties for MoveGainingOneTouchSwitchToOrderCancelConfirmed action
|
|
24
|
+
*
|
|
25
|
+
*/
|
|
26
|
+
export interface MoveGainingOneTouchSwitchToOrderCancelConfirmedProperties {
|
|
27
|
+
}
|
|
28
|
+
/**
|
|
29
|
+
* Order Cancel Confirmed
|
|
30
|
+
*
|
|
31
|
+
* Moves a GAINING switch to Order Cancel Confirmed and sets Status = SWITCH_ORDER_CANCEL_CONFIRMED.
|
|
32
|
+
*
|
|
33
|
+
* @actionType STAGE_TRANSITION - Transitions record to new pipeline stage
|
|
34
|
+
* @module OrderModule
|
|
35
|
+
* @entity OneTouchSwitch
|
|
36
|
+
* @entityType GAINING (gaining)
|
|
37
|
+
* @targetStages OneTouchSwitchGainingStageOrderCancelConfirmed
|
|
38
|
+
* @event k1.t-hEOJjsDb.OrderModule.OneTouchSwitch.Transition.MoveGainingOneTouchSwitchToOrderCancelConfirmed
|
|
39
|
+
* @permission schema.action.movegainingonetouchswitchtoordercancelconfirmed.trigger
|
|
40
|
+
* @benchmark This action is tracked for performance benchmarks
|
|
41
|
+
*/
|
|
42
|
+
export declare class MoveGainingOneTouchSwitchToOrderCancelConfirmedDto 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 = "MoveGainingOneTouchSwitchToOrderCancelConfirmed";
|
|
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.MoveGainingOneTouchSwitchToOrderCancelConfirmed";
|
|
50
|
+
static readonly SCHEMA_ACTION_ID = "18dea8ee-3e0d-44cc-bcfe-e3cffb95b033";
|
|
51
|
+
static readonly PERMISSION = "schema.action.movegainingonetouchswitchtoordercancelconfirmed.trigger";
|
|
52
|
+
static readonly TARGET_STAGES: readonly ["OneTouchSwitchGainingStageOrderCancelConfirmed"];
|
|
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
|
+
* MoveGainingOneTouchSwitchToOrderCancelConfirmed Action DTO
|
|
4
|
+
*
|
|
5
|
+
* Moves a GAINING switch to Order Cancel Confirmed and sets Status = SWITCH_ORDER_CANCEL_CONFIRMED.
|
|
6
|
+
*
|
|
7
|
+
* @module OrderModule
|
|
8
|
+
* @entity OneTouchSwitch
|
|
9
|
+
* @entityType GAINING
|
|
10
|
+
* @actionKey MoveGainingOneTouchSwitchToOrderCancelConfirmed
|
|
11
|
+
* @event k1.t-hEOJjsDb.OrderModule.OneTouchSwitch.Transition.MoveGainingOneTouchSwitchToOrderCancelConfirmed
|
|
12
|
+
*
|
|
13
|
+
* AUTO-GENERATED - DO NOT EDIT DIRECTLY
|
|
14
|
+
*/
|
|
15
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
+
exports.MoveGainingOneTouchSwitchToOrderCancelConfirmedDto = void 0;
|
|
17
|
+
const core_1 = require("@d19n/odin-types/dist/core");
|
|
18
|
+
/**
|
|
19
|
+
* Order Cancel Confirmed
|
|
20
|
+
*
|
|
21
|
+
* Moves a GAINING switch to Order Cancel Confirmed and sets Status = SWITCH_ORDER_CANCEL_CONFIRMED.
|
|
22
|
+
*
|
|
23
|
+
* @actionType STAGE_TRANSITION - Transitions record to new pipeline stage
|
|
24
|
+
* @module OrderModule
|
|
25
|
+
* @entity OneTouchSwitch
|
|
26
|
+
* @entityType GAINING (gaining)
|
|
27
|
+
* @targetStages OneTouchSwitchGainingStageOrderCancelConfirmed
|
|
28
|
+
* @event k1.t-hEOJjsDb.OrderModule.OneTouchSwitch.Transition.MoveGainingOneTouchSwitchToOrderCancelConfirmed
|
|
29
|
+
* @permission schema.action.movegainingonetouchswitchtoordercancelconfirmed.trigger
|
|
30
|
+
* @benchmark This action is tracked for performance benchmarks
|
|
31
|
+
*/
|
|
32
|
+
class MoveGainingOneTouchSwitchToOrderCancelConfirmedDto 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 = 'MoveGainingOneTouchSwitchToOrderCancelConfirmed';
|
|
42
|
+
this.schemaActionId = '18dea8ee-3e0d-44cc-bcfe-e3cffb95b033';
|
|
43
|
+
this.entity = 'OrderModule:OneTouchSwitch';
|
|
44
|
+
this.stageKey = 'OneTouchSwitchGainingStageOrderCancelConfirmed';
|
|
45
|
+
}
|
|
46
|
+
}
|
|
47
|
+
exports.MoveGainingOneTouchSwitchToOrderCancelConfirmedDto = MoveGainingOneTouchSwitchToOrderCancelConfirmedDto;
|
|
48
|
+
/** Used by SDK generators to identify action type */
|
|
49
|
+
MoveGainingOneTouchSwitchToOrderCancelConfirmedDto.ACTION_TYPE = 'UPDATE';
|
|
50
|
+
MoveGainingOneTouchSwitchToOrderCancelConfirmedDto.ACTION_KEY = 'MoveGainingOneTouchSwitchToOrderCancelConfirmed';
|
|
51
|
+
MoveGainingOneTouchSwitchToOrderCancelConfirmedDto.MODULE_NAME = 'OrderModule';
|
|
52
|
+
MoveGainingOneTouchSwitchToOrderCancelConfirmedDto.ENTITIES = ['OneTouchSwitch'];
|
|
53
|
+
MoveGainingOneTouchSwitchToOrderCancelConfirmedDto.ENTITY_TYPE = 'GAINING';
|
|
54
|
+
MoveGainingOneTouchSwitchToOrderCancelConfirmedDto.EVENT_NAME = 'k1.t-hEOJjsDb.OrderModule.OneTouchSwitch.Transition.MoveGainingOneTouchSwitchToOrderCancelConfirmed';
|
|
55
|
+
MoveGainingOneTouchSwitchToOrderCancelConfirmedDto.SCHEMA_ACTION_ID = '18dea8ee-3e0d-44cc-bcfe-e3cffb95b033';
|
|
56
|
+
MoveGainingOneTouchSwitchToOrderCancelConfirmedDto.PERMISSION = 'schema.action.movegainingonetouchswitchtoordercancelconfirmed.trigger';
|
|
57
|
+
MoveGainingOneTouchSwitchToOrderCancelConfirmedDto.TARGET_STAGES = ['OneTouchSwitchGainingStageOrderCancelConfirmed'];
|
|
58
|
+
MoveGainingOneTouchSwitchToOrderCancelConfirmedDto.IS_STAGE_TRANSITION = true;
|
|
59
|
+
MoveGainingOneTouchSwitchToOrderCancelConfirmedDto.IS_MULTI_STEP_FLOW = false;
|
|
60
|
+
MoveGainingOneTouchSwitchToOrderCancelConfirmedDto.HAS_STEP_LINKS = false;
|
|
61
|
+
/** Step classes that can be used with this action */
|
|
62
|
+
MoveGainingOneTouchSwitchToOrderCancelConfirmedDto.stepClasses = [];
|