@d19n/youfibre-odin-sdk 2.0.98 → 2.0.100
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 +1 -5
- package/dist/api-sdk-v2/AddressApi.d.ts +2 -0
- package/dist/api-sdk-v2/AddressApi.js +6 -0
- package/dist/api-sdk-v2/AddressInteractionApi.d.ts +3 -0
- package/dist/api-sdk-v2/AddressInteractionApi.js +7 -3
- package/dist/db-sdk-v2/AddressDb.d.ts +2 -0
- package/dist/db-sdk-v2/AddressDb.js +6 -0
- package/dist/db-sdk-v2/AddressInteractionDb.d.ts +3 -0
- package/dist/db-sdk-v2/AddressInteractionDb.js +7 -3
- package/dist/entities-v2/Address.d.ts +3 -0
- package/dist/entities-v2/AddressInteraction.d.ts +8 -1
- package/dist/entities-v2/AddressInteraction.js +5 -1
- package/dist/entities-v2/Case.d.ts +0 -4
- package/dist/entities-v2/Case.js +0 -4
- package/dist/records-v2/CaseRecord.d.ts +0 -113
- package/dist/records-v2/CaseRecord.js +1 -165
- package/package.json +1 -1
- package/dist/actions-v2/MoveCaseToPendingReviewActionDto.d.ts +0 -102
- package/dist/actions-v2/MoveCaseToPendingReviewActionDto.js +0 -61
- package/dist/actions-v2/MoveCaseToPendingReviewTransitionDto.d.ts +0 -200
- package/dist/actions-v2/MoveCaseToPendingReviewTransitionDto.js +0 -126
package/README.md
CHANGED
|
@@ -352,7 +352,7 @@ This SDK includes **164** entities across **12** modules.
|
|
|
352
352
|
|
|
353
353
|
## Actions
|
|
354
354
|
|
|
355
|
-
This SDK includes **
|
|
355
|
+
This SDK includes **615** actions.
|
|
356
356
|
|
|
357
357
|
### Action Types
|
|
358
358
|
|
|
@@ -748,8 +748,6 @@ This SDK includes **617** actions.
|
|
|
748
748
|
| `MoveCaseToBlockedAction` | UPDATE | k1.t-hEOJjsDb.SupportModule.Case.Update.MoveCaseToBlockedAction |
|
|
749
749
|
| `MoveCaseToBlockedTransition` | STAGE_TRANSITION | k1.t-hEOJjsDb.SupportModule.Case.Update.MoveCaseToBlockedAction |
|
|
750
750
|
| `MoveCaseToPendingAgentTransition` | STAGE_TRANSITION | k1.t-hEOJjsDb.SupportModule.Case.Transition.MoveCaseToPendingAgentTransition |
|
|
751
|
-
| `MoveCaseToPendingReviewAction` | UPDATE | k1.t-hEOJjsDb.SupportModule.Case.Update.MoveCaseToPendingReviewAction |
|
|
752
|
-
| `MoveCaseToPendingReviewTransition` | STAGE_TRANSITION | k1.t-hEOJjsDb.SupportModule.Case.Update.MoveCaseToPendingReviewAction |
|
|
753
751
|
| `MoveCaseToSolvedAction` | UPDATE | k1.t-hEOJjsDb.SupportModule.Case.Update.MoveCaseToSolvedAction |
|
|
754
752
|
| `MoveCaseToSolvedTransition` | STAGE_TRANSITION | k1.t-hEOJjsDb.SupportModule.Case.Transition.MoveCaseToSolvedTransition |
|
|
755
753
|
| `MoveDefaultCaseFromAnyStageToPendingAgent` | STAGE_TRANSITION | k1.t-hEOJjsDb.SupportModule.Case.Transition.MoveDefaultCaseFromAnyStageToPendingAgent |
|
|
@@ -796,8 +794,6 @@ This SDK includes **617** actions.
|
|
|
796
794
|
|
|
797
795
|
**MoveCaseToPendingAgentTransition Target Stages:** `CaseDefaultStagePendingAgent`
|
|
798
796
|
|
|
799
|
-
**MoveCaseToPendingReviewTransition Target Stages:** `CaseDefaultStagePendingReview`
|
|
800
|
-
|
|
801
797
|
**MoveCaseToSolvedTransition Target Stages:** `CaseDefaultStageSolved`
|
|
802
798
|
|
|
803
799
|
**MoveDefaultCaseFromAnyStageToPendingAgent Target Stages:** `CaseDefaultStagePendingAgent`
|
|
@@ -36,6 +36,7 @@ export declare class AddressApi extends ApiProvider {
|
|
|
36
36
|
private _onetouchswitch?;
|
|
37
37
|
private _case?;
|
|
38
38
|
private _crmdataset?;
|
|
39
|
+
private _addressinteraction?;
|
|
39
40
|
constructor(authParams?: OauthParams, authToken?: string);
|
|
40
41
|
get file(): ApiRecordLinkManager;
|
|
41
42
|
get note(): ApiRecordLinkManager;
|
|
@@ -56,6 +57,7 @@ export declare class AddressApi extends ApiProvider {
|
|
|
56
57
|
get onetouchswitch(): ApiRecordLinkManager;
|
|
57
58
|
get case(): ApiRecordLinkManager;
|
|
58
59
|
get crmdataset(): ApiRecordLinkManager;
|
|
60
|
+
get addressinteraction(): ApiRecordLinkManager;
|
|
59
61
|
setRecord(sourceRecord: any): void;
|
|
60
62
|
schema(): Promise<import("@d19n/odin-types/dist/core").OdinSchema>;
|
|
61
63
|
search(params: Partial<OdinSearchV2>): Promise<import("@d19n/odin-sdk-generator/dist/odin-sdk-types").OdinSearchResponse<import("@d19n/odin-types/dist/core").OdinRecord<AddressProperties>>>;
|
|
@@ -147,6 +147,12 @@ class AddressApi extends api_provider_1.ApiProvider {
|
|
|
147
147
|
}
|
|
148
148
|
return this._crmdataset;
|
|
149
149
|
}
|
|
150
|
+
get addressinteraction() {
|
|
151
|
+
if (!this._addressinteraction) {
|
|
152
|
+
this._addressinteraction = new api_record_link_manager_1.ApiRecordLinkManager(this.authParams, 'CrmModule:Address', 'CrmModule:AddressInteraction', 'AddressInteraction__Address');
|
|
153
|
+
}
|
|
154
|
+
return this._addressinteraction;
|
|
155
|
+
}
|
|
150
156
|
// ============================================
|
|
151
157
|
// STANDARD METHODS (Unchanged API)
|
|
152
158
|
// ============================================
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { OauthParams } from '@d19n/odin-sdk-generator/dist/odin-sdk-types';
|
|
2
2
|
import { ApiProvider } from '@d19n/odin-sdk-generator/dist/api.provider';
|
|
3
3
|
import { OdinSearchV2, OdinRecordCreateDto, OdinRecordUpdateDto } from '@d19n/odin-types/dist/core';
|
|
4
|
+
import { ApiRecordLinkManager } from '@d19n/odin-sdk-generator/dist/api.record.link.manager';
|
|
4
5
|
import { AddressInteractionProperties } from '../entities-v2/AddressInteraction';
|
|
5
6
|
/**
|
|
6
7
|
* @deprecated Use OdinApiClient.
|
|
@@ -16,7 +17,9 @@ export declare class AddressInteractionApi extends ApiProvider {
|
|
|
16
17
|
private readonly moduleName;
|
|
17
18
|
private readonly entityName;
|
|
18
19
|
private sourceRecord;
|
|
20
|
+
private _address?;
|
|
19
21
|
constructor(authParams?: OauthParams, authToken?: string);
|
|
22
|
+
get address(): ApiRecordLinkManager;
|
|
20
23
|
setRecord(sourceRecord: any): void;
|
|
21
24
|
schema(): Promise<import("@d19n/odin-types/dist/core").OdinSchema>;
|
|
22
25
|
search(params: Partial<OdinSearchV2>): Promise<import("@d19n/odin-sdk-generator/dist/odin-sdk-types").OdinSearchResponse<import("@d19n/odin-types/dist/core").OdinRecord<AddressInteractionProperties>>>;
|
|
@@ -11,6 +11,7 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
|
|
|
11
11
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
12
|
exports.AddressInteractionApi = void 0;
|
|
13
13
|
const api_provider_1 = require("@d19n/odin-sdk-generator/dist/api.provider");
|
|
14
|
+
const api_record_link_manager_1 = require("@d19n/odin-sdk-generator/dist/api.record.link.manager");
|
|
14
15
|
/**
|
|
15
16
|
* @deprecated Use OdinApiClient.
|
|
16
17
|
*
|
|
@@ -21,9 +22,6 @@ const api_provider_1 = require("@d19n/odin-sdk-generator/dist/api.provider");
|
|
|
21
22
|
* The new OdinApiClient returns typed record wrappers with action methods.
|
|
22
23
|
*/
|
|
23
24
|
class AddressInteractionApi extends api_provider_1.ApiProvider {
|
|
24
|
-
// ============================================
|
|
25
|
-
// PRIVATE BACKING FIELDS (Lazy Loading)
|
|
26
|
-
// ============================================
|
|
27
25
|
constructor(authParams, authToken) {
|
|
28
26
|
super(authParams, authToken);
|
|
29
27
|
this.authToken = authToken;
|
|
@@ -35,6 +33,12 @@ class AddressInteractionApi extends api_provider_1.ApiProvider {
|
|
|
35
33
|
// LAZY-LOADED LINK MANAGERS (Public Getters)
|
|
36
34
|
// ============================================
|
|
37
35
|
// Usage remains identical: api.address.list(recordId)
|
|
36
|
+
get address() {
|
|
37
|
+
if (!this._address) {
|
|
38
|
+
this._address = new api_record_link_manager_1.ApiRecordLinkManager(this.authParams, 'CrmModule:AddressInteraction', 'CrmModule:Address', 'AddressInteraction__Address');
|
|
39
|
+
}
|
|
40
|
+
return this._address;
|
|
41
|
+
}
|
|
38
42
|
// ============================================
|
|
39
43
|
// STANDARD METHODS (Unchanged API)
|
|
40
44
|
// ============================================
|
|
@@ -40,6 +40,7 @@ export declare class AddressDb extends DbProvider {
|
|
|
40
40
|
private _onetouchswitch?;
|
|
41
41
|
private _case?;
|
|
42
42
|
private _crmdataset?;
|
|
43
|
+
private _addressinteraction?;
|
|
43
44
|
constructor(principal: any, dbService: any, defaultOptions?: DbProviderOptions);
|
|
44
45
|
get file(): DbRecordLinkManager;
|
|
45
46
|
get note(): DbRecordLinkManager;
|
|
@@ -60,6 +61,7 @@ export declare class AddressDb extends DbProvider {
|
|
|
60
61
|
get onetouchswitch(): DbRecordLinkManager;
|
|
61
62
|
get case(): DbRecordLinkManager;
|
|
62
63
|
get crmdataset(): DbRecordLinkManager;
|
|
64
|
+
get addressinteraction(): DbRecordLinkManager;
|
|
63
65
|
setRecord(sourceRecord: any): void;
|
|
64
66
|
/**
|
|
65
67
|
* Search records with manual pagination control
|
|
@@ -152,6 +152,12 @@ class AddressDb extends db_provider_1.DbProvider {
|
|
|
152
152
|
}
|
|
153
153
|
return this._crmdataset;
|
|
154
154
|
}
|
|
155
|
+
get addressinteraction() {
|
|
156
|
+
if (!this._addressinteraction) {
|
|
157
|
+
this._addressinteraction = new db_record_link_manager_1.DbRecordLinkManager(this.principal, this.dbService, 'CrmModule:Address', 'CrmModule:AddressInteraction', 'AddressInteraction__Address');
|
|
158
|
+
}
|
|
159
|
+
return this._addressinteraction;
|
|
160
|
+
}
|
|
155
161
|
// ============================================
|
|
156
162
|
// STANDARD METHODS
|
|
157
163
|
// ============================================
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { DbProvider, DbProviderOptions, DbGetQueryOptions } from '@d19n/odin-sdk-generator/dist/db.provider';
|
|
2
2
|
import { OdinSearchV2, OdinRecordCreateDto, OdinRecordUpdateDto } from '@d19n/odin-types/dist/core';
|
|
3
|
+
import { DbRecordLinkManager } from '@d19n/odin-sdk-generator/dist/db.record.link.manager';
|
|
3
4
|
import { AddressInteractionProperties } from '../entities-v2/AddressInteraction';
|
|
4
5
|
/**
|
|
5
6
|
* @deprecated Use OdinDbClient.
|
|
@@ -20,7 +21,9 @@ export declare class AddressInteractionDb extends DbProvider {
|
|
|
20
21
|
private readonly moduleName;
|
|
21
22
|
private readonly entityName;
|
|
22
23
|
private sourceRecord;
|
|
24
|
+
private _address?;
|
|
23
25
|
constructor(principal: any, dbService: any, defaultOptions?: DbProviderOptions);
|
|
26
|
+
get address(): DbRecordLinkManager;
|
|
24
27
|
setRecord(sourceRecord: any): void;
|
|
25
28
|
/**
|
|
26
29
|
* Search records with manual pagination control
|
|
@@ -11,6 +11,7 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
|
|
|
11
11
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
12
|
exports.AddressInteractionDb = void 0;
|
|
13
13
|
const db_provider_1 = require("@d19n/odin-sdk-generator/dist/db.provider");
|
|
14
|
+
const db_record_link_manager_1 = require("@d19n/odin-sdk-generator/dist/db.record.link.manager");
|
|
14
15
|
/**
|
|
15
16
|
* @deprecated Use OdinDbClient.
|
|
16
17
|
*
|
|
@@ -25,9 +26,6 @@ const db_provider_1 = require("@d19n/odin-sdk-generator/dist/db.provider");
|
|
|
25
26
|
* - Method level: await db.getByPrimaryKey(id, { entities: [] }, { omitPermissionsCheck: true })
|
|
26
27
|
*/
|
|
27
28
|
class AddressInteractionDb extends db_provider_1.DbProvider {
|
|
28
|
-
// ============================================
|
|
29
|
-
// PRIVATE BACKING FIELDS (Lazy Loading)
|
|
30
|
-
// ============================================
|
|
31
29
|
constructor(principal, dbService, defaultOptions) {
|
|
32
30
|
super(principal, dbService, defaultOptions);
|
|
33
31
|
this.moduleName = 'CrmModule';
|
|
@@ -40,6 +38,12 @@ class AddressInteractionDb extends db_provider_1.DbProvider {
|
|
|
40
38
|
// LAZY-LOADED LINK MANAGERS (Public Getters)
|
|
41
39
|
// ============================================
|
|
42
40
|
// Usage remains identical: db.address.list(recordId)
|
|
41
|
+
get address() {
|
|
42
|
+
if (!this._address) {
|
|
43
|
+
this._address = new db_record_link_manager_1.DbRecordLinkManager(this.principal, this.dbService, 'CrmModule:AddressInteraction', 'CrmModule:Address', 'AddressInteraction__Address');
|
|
44
|
+
}
|
|
45
|
+
return this._address;
|
|
46
|
+
}
|
|
43
47
|
// ============================================
|
|
44
48
|
// STANDARD METHODS
|
|
45
49
|
// ============================================
|
|
@@ -29,6 +29,7 @@ import { UserProperties } from './User';
|
|
|
29
29
|
import { OneTouchSwitchProperties } from './OneTouchSwitch';
|
|
30
30
|
import { CaseProperties } from './Case';
|
|
31
31
|
import { CrmDatasetProperties } from './CrmDataset';
|
|
32
|
+
import { AddressInteractionProperties } from './AddressInteraction';
|
|
32
33
|
/**
|
|
33
34
|
* Available types for Address records
|
|
34
35
|
*/
|
|
@@ -647,6 +648,8 @@ export declare class Address extends OdinRecord<AddressProperties> {
|
|
|
647
648
|
Case: OdinLink<LinkedOdinRecord<CaseProperties>>;
|
|
648
649
|
/** Linked CrmDataset records (CrmDataset__Address) */
|
|
649
650
|
CrmDataset: OdinLink<LinkedOdinRecord<CrmDatasetProperties>>;
|
|
651
|
+
/** Linked AddressInteraction records (AddressInteraction__Address) */
|
|
652
|
+
AddressInteraction: OdinLink<LinkedOdinRecord<AddressInteractionProperties>>;
|
|
650
653
|
}
|
|
651
654
|
/**
|
|
652
655
|
* RabbitMQ routing keys for Address events
|
|
@@ -10,7 +10,8 @@
|
|
|
10
10
|
* AUTO-GENERATED - DO NOT EDIT DIRECTLY
|
|
11
11
|
* Generated from Odin schema definition
|
|
12
12
|
*/
|
|
13
|
-
import { OdinRecord } from '@d19n/odin-types/dist/core';
|
|
13
|
+
import { OdinRecord, OdinLink, LinkedOdinRecord } from '@d19n/odin-types/dist/core';
|
|
14
|
+
import { AddressProperties } from './Address';
|
|
14
15
|
/**
|
|
15
16
|
* Available types for AddressInteraction records
|
|
16
17
|
*/
|
|
@@ -140,6 +141,8 @@ export declare class AddressInteraction extends OdinRecord<AddressInteractionPro
|
|
|
140
141
|
type: AddressInteractionEntityTypes;
|
|
141
142
|
schemaId: '4eab8349-297d-4a68-84fd-608443d74043';
|
|
142
143
|
properties: AddressInteractionProperties;
|
|
144
|
+
/** Linked Address records (AddressInteraction__Address) */
|
|
145
|
+
Address: OdinLink<LinkedOdinRecord<AddressProperties>>;
|
|
143
146
|
}
|
|
144
147
|
/**
|
|
145
148
|
* RabbitMQ routing keys for AddressInteraction events
|
|
@@ -157,3 +160,7 @@ export declare const ROUTING_KEY_ADDRESS_INTERACTION_DEFAULT_CREATED = "CrmModul
|
|
|
157
160
|
export declare const ROUTING_KEY_ADDRESS_INTERACTION_DEFAULT_UPDATED = "CrmModule.AddressInteraction.DEFAULT.SubDbRecordUpdated";
|
|
158
161
|
/** This is the default record type deleted */
|
|
159
162
|
export declare const ROUTING_KEY_ADDRESS_INTERACTION_DEFAULT_DELETED = "CrmModule.AddressInteraction.DEFAULT.SubDbRecordDeleted";
|
|
163
|
+
/** Event: AddressInteraction__Address link created */
|
|
164
|
+
export declare const ROUTING_KEY_LINK_ADDRESS_INTERACTION_ADDRESS_CREATED = "CrmModule.AddressInteraction.Address.SubDbRecordAssociationCreated";
|
|
165
|
+
/** Event: AddressInteraction__Address link deleted */
|
|
166
|
+
export declare const ROUTING_KEY_LINK_ADDRESS_INTERACTION_ADDRESS_DELETED = "CrmModule.AddressInteraction.Address.SubDbRecordAssociationDeleted";
|
|
@@ -12,7 +12,7 @@
|
|
|
12
12
|
* Generated from Odin schema definition
|
|
13
13
|
*/
|
|
14
14
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
15
|
-
exports.ROUTING_KEY_ADDRESS_INTERACTION_DEFAULT_DELETED = exports.ROUTING_KEY_ADDRESS_INTERACTION_DEFAULT_UPDATED = exports.ROUTING_KEY_ADDRESS_INTERACTION_DEFAULT_CREATED = exports.ROUTING_KEY_ADDRESS_INTERACTION_DELETED = exports.ROUTING_KEY_ADDRESS_INTERACTION_UPDATED = exports.ROUTING_KEY_ADDRESS_INTERACTION_CREATED = exports.AddressInteraction = exports.AddressInteractionPropertyKeys = exports.AddressInteractionsource = exports.AddressInteractionEntityTypes = void 0;
|
|
15
|
+
exports.ROUTING_KEY_LINK_ADDRESS_INTERACTION_ADDRESS_DELETED = exports.ROUTING_KEY_LINK_ADDRESS_INTERACTION_ADDRESS_CREATED = exports.ROUTING_KEY_ADDRESS_INTERACTION_DEFAULT_DELETED = exports.ROUTING_KEY_ADDRESS_INTERACTION_DEFAULT_UPDATED = exports.ROUTING_KEY_ADDRESS_INTERACTION_DEFAULT_CREATED = exports.ROUTING_KEY_ADDRESS_INTERACTION_DELETED = exports.ROUTING_KEY_ADDRESS_INTERACTION_UPDATED = exports.ROUTING_KEY_ADDRESS_INTERACTION_CREATED = exports.AddressInteraction = exports.AddressInteractionPropertyKeys = exports.AddressInteractionsource = exports.AddressInteractionEntityTypes = void 0;
|
|
16
16
|
const core_1 = require("@d19n/odin-types/dist/core");
|
|
17
17
|
/**
|
|
18
18
|
* Available types for AddressInteraction records
|
|
@@ -100,3 +100,7 @@ exports.ROUTING_KEY_ADDRESS_INTERACTION_DEFAULT_CREATED = 'CrmModule.AddressInte
|
|
|
100
100
|
exports.ROUTING_KEY_ADDRESS_INTERACTION_DEFAULT_UPDATED = 'CrmModule.AddressInteraction.DEFAULT.SubDbRecordUpdated';
|
|
101
101
|
/** This is the default record type deleted */
|
|
102
102
|
exports.ROUTING_KEY_ADDRESS_INTERACTION_DEFAULT_DELETED = 'CrmModule.AddressInteraction.DEFAULT.SubDbRecordDeleted';
|
|
103
|
+
/** Event: AddressInteraction__Address link created */
|
|
104
|
+
exports.ROUTING_KEY_LINK_ADDRESS_INTERACTION_ADDRESS_CREATED = 'CrmModule.AddressInteraction.Address.SubDbRecordAssociationCreated';
|
|
105
|
+
/** Event: AddressInteraction__Address link deleted */
|
|
106
|
+
exports.ROUTING_KEY_LINK_ADDRESS_INTERACTION_ADDRESS_DELETED = 'CrmModule.AddressInteraction.Address.SubDbRecordAssociationDeleted';
|
|
@@ -53,8 +53,6 @@ export declare enum DefaultCaseStageNames {
|
|
|
53
53
|
PendingReply = "Pending Reply",
|
|
54
54
|
/** Pending Agent */
|
|
55
55
|
PendingAgent = "Pending Agent",
|
|
56
|
-
/** Pending Review */
|
|
57
|
-
PendingReview = "Pending Review",
|
|
58
56
|
/** The case is resolved (success) */
|
|
59
57
|
Solved = "Solved",
|
|
60
58
|
/** The case is closed (fail) */
|
|
@@ -74,8 +72,6 @@ export declare enum DefaultCaseStageKeys {
|
|
|
74
72
|
CaseDefaultStagePendingReply = "CaseDefaultStagePendingReply",
|
|
75
73
|
/** Pending Agent */
|
|
76
74
|
CaseDefaultStagePendingAgent = "CaseDefaultStagePendingAgent",
|
|
77
|
-
/** Pending Review */
|
|
78
|
-
CaseDefaultStagePendingReview = "CaseDefaultStagePendingReview",
|
|
79
75
|
/** The case is resolved */
|
|
80
76
|
CaseDefaultStageSolved = "CaseDefaultStageSolved",
|
|
81
77
|
/** The case is closed */
|
package/dist/entities-v2/Case.js
CHANGED
|
@@ -39,8 +39,6 @@ var DefaultCaseStageNames;
|
|
|
39
39
|
DefaultCaseStageNames["PendingReply"] = "Pending Reply";
|
|
40
40
|
/** Pending Agent */
|
|
41
41
|
DefaultCaseStageNames["PendingAgent"] = "Pending Agent";
|
|
42
|
-
/** Pending Review */
|
|
43
|
-
DefaultCaseStageNames["PendingReview"] = "Pending Review";
|
|
44
42
|
/** The case is resolved (success) */
|
|
45
43
|
DefaultCaseStageNames["Solved"] = "Solved";
|
|
46
44
|
/** The case is closed (fail) */
|
|
@@ -61,8 +59,6 @@ var DefaultCaseStageKeys;
|
|
|
61
59
|
DefaultCaseStageKeys["CaseDefaultStagePendingReply"] = "CaseDefaultStagePendingReply";
|
|
62
60
|
/** Pending Agent */
|
|
63
61
|
DefaultCaseStageKeys["CaseDefaultStagePendingAgent"] = "CaseDefaultStagePendingAgent";
|
|
64
|
-
/** Pending Review */
|
|
65
|
-
DefaultCaseStageKeys["CaseDefaultStagePendingReview"] = "CaseDefaultStagePendingReview";
|
|
66
62
|
/** The case is resolved */
|
|
67
63
|
DefaultCaseStageKeys["CaseDefaultStageSolved"] = "CaseDefaultStageSolved";
|
|
68
64
|
/** The case is closed */
|
|
@@ -42,7 +42,6 @@ import { MarkCaseClosedProperties } from '../actions-v2/MarkCaseClosedDto';
|
|
|
42
42
|
import { MarkCaseResolvedProperties } from '../actions-v2/MarkCaseResolvedDto';
|
|
43
43
|
import { MoveCaseOutageToSolvedAction2Properties } from '../actions-v2/MoveCaseOutageToSolvedAction2Dto';
|
|
44
44
|
import { MoveCaseOutageToSolvedActionProperties } from '../actions-v2/MoveCaseOutageToSolvedActionDto';
|
|
45
|
-
import { MoveCaseToPendingReviewActionProperties } from '../actions-v2/MoveCaseToPendingReviewActionDto';
|
|
46
45
|
import { MoveCaseToSolvedActionProperties } from '../actions-v2/MoveCaseToSolvedActionDto';
|
|
47
46
|
import { RemoveAssignmentFromCaseProperties } from '../actions-v2/RemoveAssignmentFromCaseDto';
|
|
48
47
|
import { UpdateCaseCsatProperties } from '../actions-v2/UpdateCaseCsatDto';
|
|
@@ -1105,68 +1104,6 @@ export declare class MoveCaseToBlockedTransitionFlowBuilder {
|
|
|
1105
1104
|
private _buildRequestPayload;
|
|
1106
1105
|
}
|
|
1107
1106
|
/** Options for a flow step */
|
|
1108
|
-
export interface MoveCaseToPendingReviewTransitionFlowBuilderStepOptions {
|
|
1109
|
-
/** Associations to create with this step */
|
|
1110
|
-
associations?: Array<{
|
|
1111
|
-
recordId?: string;
|
|
1112
|
-
entity?: string;
|
|
1113
|
-
}>;
|
|
1114
|
-
/** Groups for this step */
|
|
1115
|
-
groups?: string[];
|
|
1116
|
-
}
|
|
1117
|
-
/**
|
|
1118
|
-
* FlowBuilder for MoveCaseToPendingReviewTransition multi-step action
|
|
1119
|
-
*
|
|
1120
|
-
* Use method chaining to add steps, then call execute() to run the flow.
|
|
1121
|
-
* Transitions to stage: CaseDefaultStagePendingReview
|
|
1122
|
-
*/
|
|
1123
|
-
export declare class MoveCaseToPendingReviewTransitionFlowBuilder {
|
|
1124
|
-
private _record;
|
|
1125
|
-
private _provider;
|
|
1126
|
-
private _pendingLinks;
|
|
1127
|
-
private _options?;
|
|
1128
|
-
private _groups;
|
|
1129
|
-
private _steps;
|
|
1130
|
-
constructor(record: CaseRecord<any>, provider: IOdinProvider, pendingLinks: OdinRecordLinkDto[], options?: {
|
|
1131
|
-
journeyId?: string;
|
|
1132
|
-
});
|
|
1133
|
-
/**
|
|
1134
|
-
* Add a group to the main action
|
|
1135
|
-
* @param group - Group name to add
|
|
1136
|
-
* @returns this (for method chaining)
|
|
1137
|
-
*/
|
|
1138
|
-
addGroup(group: string): this;
|
|
1139
|
-
/**
|
|
1140
|
-
* Add MoveCaseToPendingReviewAction step to the flow
|
|
1141
|
-
* @param id - ID of the record to update
|
|
1142
|
-
* @param properties - Properties for this step
|
|
1143
|
-
* @param options - Optional step settings
|
|
1144
|
-
* @returns this (for method chaining)
|
|
1145
|
-
*/
|
|
1146
|
-
moveCaseToPendingReviewAction(id: string, properties: MoveCaseToPendingReviewActionProperties, options?: MoveCaseToPendingReviewTransitionFlowBuilderStepOptions): this;
|
|
1147
|
-
/**
|
|
1148
|
-
* Execute the flow
|
|
1149
|
-
* @returns The result from the API
|
|
1150
|
-
*/
|
|
1151
|
-
execute(): Promise<IDbRecordCreateUpdateRes[]>;
|
|
1152
|
-
/**
|
|
1153
|
-
* Returns the request payload without executing (for debugging)
|
|
1154
|
-
* @returns The request payload that would be sent to the API
|
|
1155
|
-
*/
|
|
1156
|
-
dryRun(): Record<string, any>;
|
|
1157
|
-
/**
|
|
1158
|
-
* Prevents accidental `await flowBuilder` without .execute()
|
|
1159
|
-
* Forces developers to explicitly call .execute()
|
|
1160
|
-
* @throws Error always - use .execute() or .dryRun() instead
|
|
1161
|
-
*/
|
|
1162
|
-
then(): never;
|
|
1163
|
-
/**
|
|
1164
|
-
* Build the request payload for the action
|
|
1165
|
-
* @private
|
|
1166
|
-
*/
|
|
1167
|
-
private _buildRequestPayload;
|
|
1168
|
-
}
|
|
1169
|
-
/** Options for a flow step */
|
|
1170
1107
|
export interface MoveDefaultCaseFromOpenToClosedFlowBuilderStepOptions {
|
|
1171
1108
|
/** Associations to create with this step */
|
|
1172
1109
|
associations?: Array<{
|
|
@@ -2576,56 +2513,6 @@ export declare class CaseRecord<TProps = CaseProperties> {
|
|
|
2576
2513
|
moveCaseToPendingAgentTransition(options?: {
|
|
2577
2514
|
journeyId?: string;
|
|
2578
2515
|
}): ActionBuilder;
|
|
2579
|
-
/**
|
|
2580
|
-
* MoveCaseToPendingReviewAction
|
|
2581
|
-
*
|
|
2582
|
-
* Updates this Case record with the specified properties.
|
|
2583
|
-
* Returns an ActionBuilder - call .execute() to update or .dryRun() for debugging.
|
|
2584
|
-
*
|
|
2585
|
-
* @param properties - Required properties for this action
|
|
2586
|
-
* @param options - Optional settings
|
|
2587
|
-
* @param options.journeyId - Associate with a journey
|
|
2588
|
-
* @param options.stageKey - Transition to pipeline stage
|
|
2589
|
-
* @returns ActionBuilder - call .execute() to update or .dryRun() for payload
|
|
2590
|
-
* @throws Error if called on a new (unsaved) record
|
|
2591
|
-
*
|
|
2592
|
-
* @example
|
|
2593
|
-
* ```typescript
|
|
2594
|
-
* const record = await odinClient.cases.get(id);
|
|
2595
|
-
* await record.moveCaseToPendingReviewAction({ ... }).execute();
|
|
2596
|
-
*
|
|
2597
|
-
* // Dry run (for debugging)
|
|
2598
|
-
* const payload = record.moveCaseToPendingReviewAction({ ... }).dryRun();
|
|
2599
|
-
* ```
|
|
2600
|
-
*/
|
|
2601
|
-
moveCaseToPendingReviewAction(properties: MoveCaseToPendingReviewActionProperties, options?: {
|
|
2602
|
-
journeyId?: string;
|
|
2603
|
-
stageKey?: string;
|
|
2604
|
-
}): ActionBuilder;
|
|
2605
|
-
/**
|
|
2606
|
-
* MoveCaseToPendingReviewTransition
|
|
2607
|
-
*
|
|
2608
|
-
* Starts a stage transition flow on this Case record.
|
|
2609
|
-
* Chain step methods and call .execute() to run the flow.
|
|
2610
|
-
*
|
|
2611
|
-
* @remarks Transitions to stage: CaseDefaultStagePendingReview
|
|
2612
|
-
*
|
|
2613
|
-
* @param options - Optional settings
|
|
2614
|
-
* @param options.journeyId - Associate with a journey
|
|
2615
|
-
* @returns FlowBuilder for chaining step methods
|
|
2616
|
-
* @throws Error if called on a new (unsaved) record
|
|
2617
|
-
*
|
|
2618
|
-
* @example
|
|
2619
|
-
* ```typescript
|
|
2620
|
-
* const record = await odinClient.cases.get(id);
|
|
2621
|
-
* await record.moveCaseToPendingReviewTransition()
|
|
2622
|
-
* .moveCaseToPendingReviewAction(recordId, { ... })
|
|
2623
|
-
* .execute();
|
|
2624
|
-
* ```
|
|
2625
|
-
*/
|
|
2626
|
-
moveCaseToPendingReviewTransition(options?: {
|
|
2627
|
-
journeyId?: string;
|
|
2628
|
-
}): MoveCaseToPendingReviewTransitionFlowBuilder;
|
|
2629
2516
|
/**
|
|
2630
2517
|
* MoveCaseToSolvedAction
|
|
2631
2518
|
*
|
|
@@ -28,7 +28,7 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
|
|
|
28
28
|
});
|
|
29
29
|
};
|
|
30
30
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
31
|
-
exports.isCaseRecord = exports.CaseRecord = exports.MoveDefaultCaseFromOpenToClosedFlowBuilder = exports.
|
|
31
|
+
exports.isCaseRecord = exports.CaseRecord = exports.MoveDefaultCaseFromOpenToClosedFlowBuilder = exports.MoveCaseToBlockedTransitionFlowBuilder = exports.EscalateCaseTransitionFlowBuilder = exports.CasteTransitionOpenToEscalatedFlowBuilder = exports.CasedefaultstageblockedFlowBuilder = exports.CaseTransitionSolvedToEscalatedFlowBuilder = exports.CaseTransitionPendingReplyToEscalatedFlowBuilder = exports.CaseTransitionPendingReplyToBlockedFlowBuilder = exports.CaseTransitionPendingAgentToEscalatedFlowBuilder = exports.CaseTransitionPendingAgentToBlockedFlowBuilder = exports.CaseTransitionOpenToBlockedFlowBuilder = exports.CaseTransitionEscalatedToEscalatedFlowBuilder = exports.CaseTransitionEscalatedToBlockedFlowBuilder = exports.CaseTransitionBlockedToEscalatedFlowBuilder = exports.CaseDefaultStageEscalatedFlowBuilder = exports.AssignCaseWithNoteFlowFlowBuilder = void 0;
|
|
32
32
|
const uuid_1 = require("uuid");
|
|
33
33
|
const core_1 = require("@d19n/odin-types/dist/core");
|
|
34
34
|
const record_link_manager_1 = require("@d19n/odin-sdk-generator/dist/record-link-manager");
|
|
@@ -1869,114 +1869,6 @@ class MoveCaseToBlockedTransitionFlowBuilder {
|
|
|
1869
1869
|
}
|
|
1870
1870
|
}
|
|
1871
1871
|
exports.MoveCaseToBlockedTransitionFlowBuilder = MoveCaseToBlockedTransitionFlowBuilder;
|
|
1872
|
-
/**
|
|
1873
|
-
* FlowBuilder for MoveCaseToPendingReviewTransition multi-step action
|
|
1874
|
-
*
|
|
1875
|
-
* Use method chaining to add steps, then call execute() to run the flow.
|
|
1876
|
-
* Transitions to stage: CaseDefaultStagePendingReview
|
|
1877
|
-
*/
|
|
1878
|
-
class MoveCaseToPendingReviewTransitionFlowBuilder {
|
|
1879
|
-
constructor(record, provider, pendingLinks, options) {
|
|
1880
|
-
this._groups = [];
|
|
1881
|
-
this._steps = [];
|
|
1882
|
-
this._record = record;
|
|
1883
|
-
this._provider = provider;
|
|
1884
|
-
this._pendingLinks = pendingLinks;
|
|
1885
|
-
this._options = options;
|
|
1886
|
-
}
|
|
1887
|
-
/**
|
|
1888
|
-
* Add a group to the main action
|
|
1889
|
-
* @param group - Group name to add
|
|
1890
|
-
* @returns this (for method chaining)
|
|
1891
|
-
*/
|
|
1892
|
-
addGroup(group) {
|
|
1893
|
-
this._groups.push(group);
|
|
1894
|
-
return this;
|
|
1895
|
-
}
|
|
1896
|
-
/**
|
|
1897
|
-
* Add MoveCaseToPendingReviewAction step to the flow
|
|
1898
|
-
* @param id - ID of the record to update
|
|
1899
|
-
* @param properties - Properties for this step
|
|
1900
|
-
* @param options - Optional step settings
|
|
1901
|
-
* @returns this (for method chaining)
|
|
1902
|
-
*/
|
|
1903
|
-
moveCaseToPendingReviewAction(id, properties, options) {
|
|
1904
|
-
var _a;
|
|
1905
|
-
this._steps.push({
|
|
1906
|
-
actionName: 'MoveCaseToPendingReviewAction',
|
|
1907
|
-
properties,
|
|
1908
|
-
id,
|
|
1909
|
-
entity: 'SupportModule:Case',
|
|
1910
|
-
type: 'DEFAULT',
|
|
1911
|
-
autoLinkParent: false,
|
|
1912
|
-
associations: (_a = options === null || options === void 0 ? void 0 : options.associations) === null || _a === void 0 ? void 0 : _a.map(a => (Object.assign(Object.assign({}, a), { linkType: null, relationType: undefined }))),
|
|
1913
|
-
groups: options === null || options === void 0 ? void 0 : options.groups,
|
|
1914
|
-
});
|
|
1915
|
-
return this;
|
|
1916
|
-
}
|
|
1917
|
-
/**
|
|
1918
|
-
* Execute the flow
|
|
1919
|
-
* @returns The result from the API
|
|
1920
|
-
*/
|
|
1921
|
-
execute() {
|
|
1922
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
1923
|
-
const payload = this._buildRequestPayload();
|
|
1924
|
-
const result = yield this._provider._applyAction('SupportModule', 'Case', payload);
|
|
1925
|
-
// Clear pending links on the record after execution
|
|
1926
|
-
this._record.clearPendingLinks();
|
|
1927
|
-
return result;
|
|
1928
|
-
});
|
|
1929
|
-
}
|
|
1930
|
-
/**
|
|
1931
|
-
* Returns the request payload without executing (for debugging)
|
|
1932
|
-
* @returns The request payload that would be sent to the API
|
|
1933
|
-
*/
|
|
1934
|
-
dryRun() {
|
|
1935
|
-
return this._buildRequestPayload();
|
|
1936
|
-
}
|
|
1937
|
-
/**
|
|
1938
|
-
* Prevents accidental `await flowBuilder` without .execute()
|
|
1939
|
-
* Forces developers to explicitly call .execute()
|
|
1940
|
-
* @throws Error always - use .execute() or .dryRun() instead
|
|
1941
|
-
*/
|
|
1942
|
-
then() {
|
|
1943
|
-
throw new Error('FlowBuilder cannot be awaited directly. Call .execute() to run the flow or .dryRun() to get the payload.');
|
|
1944
|
-
}
|
|
1945
|
-
/**
|
|
1946
|
-
* Build the request payload for the action
|
|
1947
|
-
* @private
|
|
1948
|
-
*/
|
|
1949
|
-
_buildRequestPayload() {
|
|
1950
|
-
const record = this._record.record;
|
|
1951
|
-
if (!(record === null || record === void 0 ? void 0 : record.id))
|
|
1952
|
-
throw new Error('Cannot execute flow on unsaved record');
|
|
1953
|
-
// Build steps with parent associations
|
|
1954
|
-
const stepsWithAssociations = this._steps.map(step => {
|
|
1955
|
-
const stepAssociations = [...(step.associations || [])];
|
|
1956
|
-
// Auto-add parent association if step requires it
|
|
1957
|
-
if (step.autoLinkParent) {
|
|
1958
|
-
stepAssociations.push({
|
|
1959
|
-
entity: record.entity,
|
|
1960
|
-
recordId: record.id,
|
|
1961
|
-
linkType: null,
|
|
1962
|
-
relationType: 'PARENT',
|
|
1963
|
-
});
|
|
1964
|
-
}
|
|
1965
|
-
return {
|
|
1966
|
-
entity: step.entity,
|
|
1967
|
-
type: step.type,
|
|
1968
|
-
actionName: step.actionName,
|
|
1969
|
-
properties: step.properties,
|
|
1970
|
-
title: step.title,
|
|
1971
|
-
id: step.id,
|
|
1972
|
-
associations: stepAssociations.length > 0 ? stepAssociations : undefined,
|
|
1973
|
-
groups: step.groups,
|
|
1974
|
-
};
|
|
1975
|
-
});
|
|
1976
|
-
return Object.assign({ id: record.id, entity: record.entity, type: record.type, actionName: 'MoveCaseToPendingReviewTransition', steps: stepsWithAssociations, associations: this._pendingLinks.length > 0 ? this._pendingLinks : undefined, groups: this._groups.length > 0 ? this._groups : undefined, stageKey: 'CaseDefaultStagePendingReview' }, this._options);
|
|
1977
|
-
}
|
|
1978
|
-
}
|
|
1979
|
-
exports.MoveCaseToPendingReviewTransitionFlowBuilder = MoveCaseToPendingReviewTransitionFlowBuilder;
|
|
1980
1872
|
/**
|
|
1981
1873
|
* FlowBuilder for MoveDefaultCaseFromOpenToClosed multi-step action
|
|
1982
1874
|
*
|
|
@@ -3836,62 +3728,6 @@ class CaseRecord {
|
|
|
3836
3728
|
const payload = Object.assign({ id: this._record.id, entity: this._record.entity, type: this._record.type, actionName: 'MoveCaseToPendingAgentTransition', associations: this._pendingLinks.length > 0 ? this._pendingLinks : undefined, stageKey: 'CaseDefaultStagePendingAgent' }, options);
|
|
3837
3729
|
return new ActionBuilder(this._provider, 'SupportModule', 'Case', payload, () => { this._pendingLinks = []; });
|
|
3838
3730
|
}
|
|
3839
|
-
/**
|
|
3840
|
-
* MoveCaseToPendingReviewAction
|
|
3841
|
-
*
|
|
3842
|
-
* Updates this Case record with the specified properties.
|
|
3843
|
-
* Returns an ActionBuilder - call .execute() to update or .dryRun() for debugging.
|
|
3844
|
-
*
|
|
3845
|
-
* @param properties - Required properties for this action
|
|
3846
|
-
* @param options - Optional settings
|
|
3847
|
-
* @param options.journeyId - Associate with a journey
|
|
3848
|
-
* @param options.stageKey - Transition to pipeline stage
|
|
3849
|
-
* @returns ActionBuilder - call .execute() to update or .dryRun() for payload
|
|
3850
|
-
* @throws Error if called on a new (unsaved) record
|
|
3851
|
-
*
|
|
3852
|
-
* @example
|
|
3853
|
-
* ```typescript
|
|
3854
|
-
* const record = await odinClient.cases.get(id);
|
|
3855
|
-
* await record.moveCaseToPendingReviewAction({ ... }).execute();
|
|
3856
|
-
*
|
|
3857
|
-
* // Dry run (for debugging)
|
|
3858
|
-
* const payload = record.moveCaseToPendingReviewAction({ ... }).dryRun();
|
|
3859
|
-
* ```
|
|
3860
|
-
*/
|
|
3861
|
-
moveCaseToPendingReviewAction(properties, options) {
|
|
3862
|
-
var _a;
|
|
3863
|
-
if (!((_a = this._record) === null || _a === void 0 ? void 0 : _a.id))
|
|
3864
|
-
throw new Error('moveCaseToPendingReviewAction requires an existing record. Use accessor.get() first.');
|
|
3865
|
-
const payload = Object.assign({ id: this._record.id, entity: this._record.entity, type: this._record.type, actionName: 'MoveCaseToPendingReviewAction', properties, associations: this._pendingLinks.length > 0 ? this._pendingLinks : undefined }, options);
|
|
3866
|
-
return new ActionBuilder(this._provider, 'SupportModule', 'Case', payload, () => { this._pendingLinks = []; });
|
|
3867
|
-
}
|
|
3868
|
-
/**
|
|
3869
|
-
* MoveCaseToPendingReviewTransition
|
|
3870
|
-
*
|
|
3871
|
-
* Starts a stage transition flow on this Case record.
|
|
3872
|
-
* Chain step methods and call .execute() to run the flow.
|
|
3873
|
-
*
|
|
3874
|
-
* @remarks Transitions to stage: CaseDefaultStagePendingReview
|
|
3875
|
-
*
|
|
3876
|
-
* @param options - Optional settings
|
|
3877
|
-
* @param options.journeyId - Associate with a journey
|
|
3878
|
-
* @returns FlowBuilder for chaining step methods
|
|
3879
|
-
* @throws Error if called on a new (unsaved) record
|
|
3880
|
-
*
|
|
3881
|
-
* @example
|
|
3882
|
-
* ```typescript
|
|
3883
|
-
* const record = await odinClient.cases.get(id);
|
|
3884
|
-
* await record.moveCaseToPendingReviewTransition()
|
|
3885
|
-
* .moveCaseToPendingReviewAction(recordId, { ... })
|
|
3886
|
-
* .execute();
|
|
3887
|
-
* ```
|
|
3888
|
-
*/
|
|
3889
|
-
moveCaseToPendingReviewTransition(options) {
|
|
3890
|
-
var _a;
|
|
3891
|
-
if (!((_a = this._record) === null || _a === void 0 ? void 0 : _a.id))
|
|
3892
|
-
throw new Error('moveCaseToPendingReviewTransition requires an existing record. Use accessor.get() first.');
|
|
3893
|
-
return new MoveCaseToPendingReviewTransitionFlowBuilder(this, this._provider, this._pendingLinks, options);
|
|
3894
|
-
}
|
|
3895
3731
|
/**
|
|
3896
3732
|
* MoveCaseToSolvedAction
|
|
3897
3733
|
*
|
package/package.json
CHANGED
|
@@ -1,102 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* MoveCaseToPendingReviewAction Action DTO
|
|
3
|
-
*
|
|
4
|
-
* V2: Move Case to Review Action
|
|
5
|
-
*
|
|
6
|
-
* @module SupportModule
|
|
7
|
-
* @entity Case
|
|
8
|
-
* @entityType DEFAULT
|
|
9
|
-
* @actionKey MoveCaseToPendingReviewAction
|
|
10
|
-
* @event k1.t-hEOJjsDb.SupportModule.Case.Update.MoveCaseToPendingReviewAction
|
|
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 MoveCaseToPendingReviewAction updated events
|
|
17
|
-
*
|
|
18
|
-
* @event k1.t-hEOJjsDb.SupportModule.Case.Update.MoveCaseToPendingReviewAction
|
|
19
|
-
*/
|
|
20
|
-
export interface MoveCaseToPendingReviewActionMessage extends OdinRecordUpdatedEvent<MoveCaseToPendingReviewActionDto, MoveCaseToPendingReviewActionProperties> {
|
|
21
|
-
}
|
|
22
|
-
/**
|
|
23
|
-
* Properties for MoveCaseToPendingReviewAction action
|
|
24
|
-
*
|
|
25
|
-
* @property Required fields: 4
|
|
26
|
-
* @property Optional fields: 1
|
|
27
|
-
*/
|
|
28
|
-
export interface MoveCaseToPendingReviewActionProperties {
|
|
29
|
-
/**
|
|
30
|
-
* Category
|
|
31
|
-
*
|
|
32
|
-
* Data field for Case records. Used by Customer Service team.
|
|
33
|
-
* @type {ENUM}
|
|
34
|
-
* @required
|
|
35
|
-
*/
|
|
36
|
-
Category: string;
|
|
37
|
-
/**
|
|
38
|
-
* Sub Category
|
|
39
|
-
*
|
|
40
|
-
* SubCategory (Customer Service - Case)
|
|
41
|
-
* @type {ENUM}
|
|
42
|
-
* @required
|
|
43
|
-
*/
|
|
44
|
-
SubCategory: string;
|
|
45
|
-
/**
|
|
46
|
-
* ReasonForReview
|
|
47
|
-
*
|
|
48
|
-
* Reason for Review (Customer Service - Case)
|
|
49
|
-
* @type {ENUM}
|
|
50
|
-
* @required
|
|
51
|
-
*/
|
|
52
|
-
ReasonForReview: string;
|
|
53
|
-
/**
|
|
54
|
-
* AdditionalNotes
|
|
55
|
-
*
|
|
56
|
-
* Additional Notes (Customer Service - Case)
|
|
57
|
-
* @type {TEXT_LONG}
|
|
58
|
-
* @required
|
|
59
|
-
*/
|
|
60
|
-
AdditionalNotes: string;
|
|
61
|
-
}
|
|
62
|
-
/**
|
|
63
|
-
* Request Manager Review
|
|
64
|
-
*
|
|
65
|
-
* V2: Move Case to Review Action
|
|
66
|
-
*
|
|
67
|
-
* @actionType UPDATE - Updates an existing Case record
|
|
68
|
-
* @module SupportModule
|
|
69
|
-
* @entity Case
|
|
70
|
-
* @entityType DEFAULT (Default)
|
|
71
|
-
* @event k1.t-hEOJjsDb.SupportModule.Case.Update.MoveCaseToPendingReviewAction
|
|
72
|
-
* @permission schema.action.movecasetopendingreviewaction.trigger
|
|
73
|
-
* @benchmark This action is tracked for performance benchmarks
|
|
74
|
-
*/
|
|
75
|
-
export declare class MoveCaseToPendingReviewActionDto extends OdinRecordUpdateDto<MoveCaseToPendingReviewActionProperties> {
|
|
76
|
-
/** Used by SDK generators to identify action type */
|
|
77
|
-
static readonly ACTION_TYPE = "UPDATE";
|
|
78
|
-
static readonly ACTION_KEY = "MoveCaseToPendingReviewAction";
|
|
79
|
-
static readonly MODULE_NAME = "SupportModule";
|
|
80
|
-
static readonly ENTITIES: string[];
|
|
81
|
-
static readonly ENTITY_TYPE = "DEFAULT";
|
|
82
|
-
static readonly EVENT_NAME = "k1.t-hEOJjsDb.SupportModule.Case.Update.MoveCaseToPendingReviewAction";
|
|
83
|
-
static readonly PERMISSION = "schema.action.movecasetopendingreviewaction.trigger";
|
|
84
|
-
/** Step metadata - entity this action targets */
|
|
85
|
-
static readonly STEP_ENTITY = "SupportModule:Case";
|
|
86
|
-
static readonly STEP_SCHEMA_ID = "bb540d25-53bf-491b-9d03-f3d42f755b3a";
|
|
87
|
-
static readonly STEP_SCHEMA_ACTION_ID = "44a06e8b-aa07-4319-9c1b-245660553e97";
|
|
88
|
-
static readonly STEP_SCHEMA_TYPE_ID = "22b50598-66be-435c-bd61-4dcd7d0b3420";
|
|
89
|
-
static readonly STEP_TYPE = "DEFAULT";
|
|
90
|
-
static readonly AUTO_LINK_PARENT = false;
|
|
91
|
-
readonly actionName: string;
|
|
92
|
-
readonly schemaActionId: string;
|
|
93
|
-
readonly entity: string;
|
|
94
|
-
constructor(record: OdinRecord<any> | {
|
|
95
|
-
id: string;
|
|
96
|
-
entity: string;
|
|
97
|
-
type?: string;
|
|
98
|
-
}, properties: MoveCaseToPendingReviewActionProperties, options?: {
|
|
99
|
-
journeyId?: string;
|
|
100
|
-
stageKey?: string;
|
|
101
|
-
});
|
|
102
|
-
}
|
|
@@ -1,61 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
/**
|
|
3
|
-
* MoveCaseToPendingReviewAction Action DTO
|
|
4
|
-
*
|
|
5
|
-
* V2: Move Case to Review Action
|
|
6
|
-
*
|
|
7
|
-
* @module SupportModule
|
|
8
|
-
* @entity Case
|
|
9
|
-
* @entityType DEFAULT
|
|
10
|
-
* @actionKey MoveCaseToPendingReviewAction
|
|
11
|
-
* @event k1.t-hEOJjsDb.SupportModule.Case.Update.MoveCaseToPendingReviewAction
|
|
12
|
-
*
|
|
13
|
-
* AUTO-GENERATED - DO NOT EDIT DIRECTLY
|
|
14
|
-
*/
|
|
15
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
-
exports.MoveCaseToPendingReviewActionDto = void 0;
|
|
17
|
-
const core_1 = require("@d19n/odin-types/dist/core");
|
|
18
|
-
/**
|
|
19
|
-
* Request Manager Review
|
|
20
|
-
*
|
|
21
|
-
* V2: Move Case to Review Action
|
|
22
|
-
*
|
|
23
|
-
* @actionType UPDATE - Updates an existing Case record
|
|
24
|
-
* @module SupportModule
|
|
25
|
-
* @entity Case
|
|
26
|
-
* @entityType DEFAULT (Default)
|
|
27
|
-
* @event k1.t-hEOJjsDb.SupportModule.Case.Update.MoveCaseToPendingReviewAction
|
|
28
|
-
* @permission schema.action.movecasetopendingreviewaction.trigger
|
|
29
|
-
* @benchmark This action is tracked for performance benchmarks
|
|
30
|
-
*/
|
|
31
|
-
class MoveCaseToPendingReviewActionDto extends core_1.OdinRecordUpdateDto {
|
|
32
|
-
constructor(record, properties, options) {
|
|
33
|
-
super({
|
|
34
|
-
id: record.id,
|
|
35
|
-
entity: record.entity,
|
|
36
|
-
type: record.type,
|
|
37
|
-
properties,
|
|
38
|
-
journeyId: options === null || options === void 0 ? void 0 : options.journeyId,
|
|
39
|
-
stageKey: options === null || options === void 0 ? void 0 : options.stageKey,
|
|
40
|
-
});
|
|
41
|
-
this.actionName = 'MoveCaseToPendingReviewAction';
|
|
42
|
-
this.schemaActionId = '44a06e8b-aa07-4319-9c1b-245660553e97';
|
|
43
|
-
this.entity = 'SupportModule:Case';
|
|
44
|
-
}
|
|
45
|
-
}
|
|
46
|
-
exports.MoveCaseToPendingReviewActionDto = MoveCaseToPendingReviewActionDto;
|
|
47
|
-
/** Used by SDK generators to identify action type */
|
|
48
|
-
MoveCaseToPendingReviewActionDto.ACTION_TYPE = 'UPDATE';
|
|
49
|
-
MoveCaseToPendingReviewActionDto.ACTION_KEY = 'MoveCaseToPendingReviewAction';
|
|
50
|
-
MoveCaseToPendingReviewActionDto.MODULE_NAME = 'SupportModule';
|
|
51
|
-
MoveCaseToPendingReviewActionDto.ENTITIES = ['Case'];
|
|
52
|
-
MoveCaseToPendingReviewActionDto.ENTITY_TYPE = 'DEFAULT';
|
|
53
|
-
MoveCaseToPendingReviewActionDto.EVENT_NAME = 'k1.t-hEOJjsDb.SupportModule.Case.Update.MoveCaseToPendingReviewAction';
|
|
54
|
-
MoveCaseToPendingReviewActionDto.PERMISSION = 'schema.action.movecasetopendingreviewaction.trigger';
|
|
55
|
-
/** Step metadata - entity this action targets */
|
|
56
|
-
MoveCaseToPendingReviewActionDto.STEP_ENTITY = 'SupportModule:Case';
|
|
57
|
-
MoveCaseToPendingReviewActionDto.STEP_SCHEMA_ID = 'bb540d25-53bf-491b-9d03-f3d42f755b3a';
|
|
58
|
-
MoveCaseToPendingReviewActionDto.STEP_SCHEMA_ACTION_ID = '44a06e8b-aa07-4319-9c1b-245660553e97';
|
|
59
|
-
MoveCaseToPendingReviewActionDto.STEP_SCHEMA_TYPE_ID = '22b50598-66be-435c-bd61-4dcd7d0b3420';
|
|
60
|
-
MoveCaseToPendingReviewActionDto.STEP_TYPE = 'DEFAULT';
|
|
61
|
-
MoveCaseToPendingReviewActionDto.AUTO_LINK_PARENT = false;
|
|
@@ -1,200 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* MoveCaseToPendingReviewTransition Action DTO
|
|
3
|
-
*
|
|
4
|
-
* V2: Move Case to Pending Review Transition
|
|
5
|
-
*
|
|
6
|
-
* @module SupportModule
|
|
7
|
-
* @entity Case
|
|
8
|
-
* @entityType DEFAULT
|
|
9
|
-
* @actionKey MoveCaseToPendingReviewTransition
|
|
10
|
-
* @event k1.t-hEOJjsDb.SupportModule.Case.Transition.MoveCaseToPendingReviewTransition
|
|
11
|
-
*
|
|
12
|
-
* AUTO-GENERATED - DO NOT EDIT DIRECTLY
|
|
13
|
-
*/
|
|
14
|
-
import { OdinRecord, OdinRecordUpdateDto, OdinRecordUpdatedEvent } from '@d19n/odin-types/dist/core';
|
|
15
|
-
/**
|
|
16
|
-
* Properties for MoveCaseToPendingReviewAction action
|
|
17
|
-
*
|
|
18
|
-
* @property Required fields: 4
|
|
19
|
-
* @property Optional fields: 1
|
|
20
|
-
*/
|
|
21
|
-
export interface MoveCaseToPendingReviewActionProperties {
|
|
22
|
-
/**
|
|
23
|
-
* Category
|
|
24
|
-
*
|
|
25
|
-
* Data field for Case records. Used by Customer Service team.
|
|
26
|
-
* @type {ENUM}
|
|
27
|
-
* @required
|
|
28
|
-
*/
|
|
29
|
-
Category: string;
|
|
30
|
-
/**
|
|
31
|
-
* Sub Category
|
|
32
|
-
*
|
|
33
|
-
* SubCategory (Customer Service - Case)
|
|
34
|
-
* @type {ENUM}
|
|
35
|
-
* @required
|
|
36
|
-
*/
|
|
37
|
-
SubCategory: string;
|
|
38
|
-
/**
|
|
39
|
-
* ReasonForReview
|
|
40
|
-
*
|
|
41
|
-
* Reason for Review (Customer Service - Case)
|
|
42
|
-
* @type {ENUM}
|
|
43
|
-
* @required
|
|
44
|
-
*/
|
|
45
|
-
ReasonForReview: string;
|
|
46
|
-
/**
|
|
47
|
-
* AdditionalNotes
|
|
48
|
-
*
|
|
49
|
-
* Additional Notes (Customer Service - Case)
|
|
50
|
-
* @type {TEXT_LONG}
|
|
51
|
-
* @required
|
|
52
|
-
*/
|
|
53
|
-
AdditionalNotes: string;
|
|
54
|
-
}
|
|
55
|
-
/**
|
|
56
|
-
* Request Manager Review
|
|
57
|
-
*
|
|
58
|
-
* V2: Move Case to Review Action
|
|
59
|
-
*
|
|
60
|
-
* @actionType UPDATE - Updates an existing Case record
|
|
61
|
-
* @module SupportModule
|
|
62
|
-
* @entity Case
|
|
63
|
-
* @entityType DEFAULT (Default)
|
|
64
|
-
* @event k1.t-hEOJjsDb.SupportModule.Case.Update.MoveCaseToPendingReviewAction
|
|
65
|
-
* @permission schema.action.movecasetopendingreviewaction.trigger
|
|
66
|
-
* @benchmark This action is tracked for performance benchmarks
|
|
67
|
-
*/
|
|
68
|
-
export declare class MoveCaseToPendingReviewActionDto extends OdinRecordUpdateDto<MoveCaseToPendingReviewActionProperties> {
|
|
69
|
-
/** Used by SDK generators to identify action type */
|
|
70
|
-
static readonly ACTION_TYPE = "UPDATE";
|
|
71
|
-
static readonly ACTION_KEY = "MoveCaseToPendingReviewAction";
|
|
72
|
-
static readonly MODULE_NAME = "SupportModule";
|
|
73
|
-
static readonly ENTITIES: string[];
|
|
74
|
-
static readonly ENTITY_TYPE = "DEFAULT";
|
|
75
|
-
static readonly EVENT_NAME = "k1.t-hEOJjsDb.SupportModule.Case.Update.MoveCaseToPendingReviewAction";
|
|
76
|
-
static readonly PERMISSION = "schema.action.movecasetopendingreviewaction.trigger";
|
|
77
|
-
/** Step metadata - entity this action targets */
|
|
78
|
-
static readonly STEP_ENTITY = "SupportModule:Case";
|
|
79
|
-
static readonly STEP_SCHEMA_ID = "bb540d25-53bf-491b-9d03-f3d42f755b3a";
|
|
80
|
-
static readonly STEP_SCHEMA_ACTION_ID = "44a06e8b-aa07-4319-9c1b-245660553e97";
|
|
81
|
-
static readonly STEP_SCHEMA_TYPE_ID = "22b50598-66be-435c-bd61-4dcd7d0b3420";
|
|
82
|
-
static readonly STEP_TYPE = "DEFAULT";
|
|
83
|
-
static readonly AUTO_LINK_PARENT = false;
|
|
84
|
-
readonly actionName: string;
|
|
85
|
-
readonly schemaActionId: string;
|
|
86
|
-
readonly entity: string;
|
|
87
|
-
constructor(record: OdinRecord<any> | {
|
|
88
|
-
id: string;
|
|
89
|
-
entity: string;
|
|
90
|
-
type?: string;
|
|
91
|
-
}, properties: MoveCaseToPendingReviewActionProperties, options?: {
|
|
92
|
-
journeyId?: string;
|
|
93
|
-
stageKey?: string;
|
|
94
|
-
});
|
|
95
|
-
}
|
|
96
|
-
declare type StepClassMap = {
|
|
97
|
-
MoveCaseToPendingReviewActionDto: MoveCaseToPendingReviewActionDto;
|
|
98
|
-
};
|
|
99
|
-
/**
|
|
100
|
-
* Link definition for connecting steps in MoveCaseToPendingReviewTransition
|
|
101
|
-
*/
|
|
102
|
-
export interface MoveCaseToPendingReviewTransitionStepLink {
|
|
103
|
-
/**
|
|
104
|
-
* The stepKey of the target step to link TO
|
|
105
|
-
* Must reference another step's stepKey in the same flow
|
|
106
|
-
*/
|
|
107
|
-
stepKey: string;
|
|
108
|
-
/**
|
|
109
|
-
* The schema association ID (UUID) defining the relationship
|
|
110
|
-
* Use the association.id from the schema association definition
|
|
111
|
-
* @example "a1b2c3d4-e5f6-7890-abcd-ef1234567890"
|
|
112
|
-
*/
|
|
113
|
-
schemaAssociationId: string;
|
|
114
|
-
}
|
|
115
|
-
/**
|
|
116
|
-
* Step definition with linking metadata for MoveCaseToPendingReviewTransition
|
|
117
|
-
*/
|
|
118
|
-
export interface MoveCaseToPendingReviewTransitionStepDefinition {
|
|
119
|
-
/** Unique identifier for this step */
|
|
120
|
-
stepKey: string;
|
|
121
|
-
/** The DTO class name for this step */
|
|
122
|
-
dtoClass: string;
|
|
123
|
-
/** The entity this step creates (Module:Entity format) */
|
|
124
|
-
entity: string;
|
|
125
|
-
/** Links to create after this step executes */
|
|
126
|
-
linksTo: MoveCaseToPendingReviewTransitionStepLink[] | null;
|
|
127
|
-
}
|
|
128
|
-
/**
|
|
129
|
-
* Type-safe step keys for MoveCaseToPendingReviewTransition
|
|
130
|
-
*/
|
|
131
|
-
export declare const MoveCaseToPendingReviewTransitionSteps: {
|
|
132
|
-
readonly step_1: "step_1";
|
|
133
|
-
};
|
|
134
|
-
export declare type MoveCaseToPendingReviewTransitionStepKey = typeof MoveCaseToPendingReviewTransitionSteps[keyof typeof MoveCaseToPendingReviewTransitionSteps];
|
|
135
|
-
/**
|
|
136
|
-
* RabbitMQ message payload for MoveCaseToPendingReviewTransition step flow events
|
|
137
|
-
*
|
|
138
|
-
* @event k1.t-hEOJjsDb.SupportModule.Case.Transition.MoveCaseToPendingReviewTransition
|
|
139
|
-
*/
|
|
140
|
-
export interface MoveCaseToPendingReviewTransitionMessage extends OdinRecordUpdatedEvent<MoveCaseToPendingReviewTransitionDto, {}> {
|
|
141
|
-
}
|
|
142
|
-
/**
|
|
143
|
-
* Properties for MoveCaseToPendingReviewTransition action
|
|
144
|
-
*
|
|
145
|
-
*/
|
|
146
|
-
export interface MoveCaseToPendingReviewTransitionProperties {
|
|
147
|
-
}
|
|
148
|
-
/**
|
|
149
|
-
* MoveCaseToPendingReviewTransition
|
|
150
|
-
*
|
|
151
|
-
* V2: Move Case to Pending Review Transition
|
|
152
|
-
*
|
|
153
|
-
* @actionType STAGE_TRANSITION - Transitions record to new pipeline stage
|
|
154
|
-
* @module SupportModule
|
|
155
|
-
* @entity Case
|
|
156
|
-
* @entityType DEFAULT (Default)
|
|
157
|
-
* @targetStages CaseDefaultStagePendingReview
|
|
158
|
-
* @event k1.t-hEOJjsDb.SupportModule.Case.Transition.MoveCaseToPendingReviewTransition
|
|
159
|
-
* @permission schema.action.movecasetopendingreviewtransition.trigger
|
|
160
|
-
* @benchmark This action is tracked for performance benchmarks
|
|
161
|
-
*/
|
|
162
|
-
export declare class MoveCaseToPendingReviewTransitionDto extends OdinRecordUpdateDto<Record<string, any>> {
|
|
163
|
-
/** Used by SDK generators to identify action type */
|
|
164
|
-
static readonly ACTION_TYPE = "UPDATE";
|
|
165
|
-
static readonly ACTION_KEY = "MoveCaseToPendingReviewTransition";
|
|
166
|
-
static readonly MODULE_NAME = "SupportModule";
|
|
167
|
-
static readonly ENTITIES: string[];
|
|
168
|
-
static readonly ENTITY_TYPE = "DEFAULT";
|
|
169
|
-
static readonly EVENT_NAME = "k1.t-hEOJjsDb.SupportModule.Case.Transition.MoveCaseToPendingReviewTransition";
|
|
170
|
-
static readonly SCHEMA_ACTION_ID = "0a200a80-3222-4445-8a76-55657d1c2466";
|
|
171
|
-
static readonly PERMISSION = "schema.action.movecasetopendingreviewtransition.trigger";
|
|
172
|
-
static readonly TARGET_STAGES: readonly ["CaseDefaultStagePendingReview"];
|
|
173
|
-
static readonly IS_STAGE_TRANSITION = true;
|
|
174
|
-
static readonly IS_MULTI_STEP_FLOW = false;
|
|
175
|
-
static readonly HAS_STEP_LINKS = false;
|
|
176
|
-
/**
|
|
177
|
-
* Step definitions with linking metadata
|
|
178
|
-
* Used by SDK and backend for auto-linking after step execution
|
|
179
|
-
*/
|
|
180
|
-
static readonly stepDefinitions: MoveCaseToPendingReviewTransitionStepDefinition[];
|
|
181
|
-
/** Type-safe step key accessor */
|
|
182
|
-
static readonly Steps: {
|
|
183
|
-
readonly step_1: "step_1";
|
|
184
|
-
};
|
|
185
|
-
readonly actionName: string;
|
|
186
|
-
readonly schemaActionId: string;
|
|
187
|
-
readonly entity: string;
|
|
188
|
-
readonly stageKey: string;
|
|
189
|
-
constructor(record: OdinRecord<any> | {
|
|
190
|
-
id: string;
|
|
191
|
-
entity: string;
|
|
192
|
-
type?: string;
|
|
193
|
-
}, options?: {
|
|
194
|
-
journeyId?: string;
|
|
195
|
-
});
|
|
196
|
-
/** Step classes that can be used with this action */
|
|
197
|
-
static readonly stepClasses: readonly ["MoveCaseToPendingReviewActionDto"];
|
|
198
|
-
steps: StepClassMap[(typeof MoveCaseToPendingReviewTransitionDto.stepClasses)[number]][];
|
|
199
|
-
}
|
|
200
|
-
export {};
|
|
@@ -1,126 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
/**
|
|
3
|
-
* MoveCaseToPendingReviewTransition Action DTO
|
|
4
|
-
*
|
|
5
|
-
* V2: Move Case to Pending Review Transition
|
|
6
|
-
*
|
|
7
|
-
* @module SupportModule
|
|
8
|
-
* @entity Case
|
|
9
|
-
* @entityType DEFAULT
|
|
10
|
-
* @actionKey MoveCaseToPendingReviewTransition
|
|
11
|
-
* @event k1.t-hEOJjsDb.SupportModule.Case.Transition.MoveCaseToPendingReviewTransition
|
|
12
|
-
*
|
|
13
|
-
* AUTO-GENERATED - DO NOT EDIT DIRECTLY
|
|
14
|
-
*/
|
|
15
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
-
exports.MoveCaseToPendingReviewTransitionDto = exports.MoveCaseToPendingReviewTransitionSteps = exports.MoveCaseToPendingReviewActionDto = void 0;
|
|
17
|
-
const core_1 = require("@d19n/odin-types/dist/core");
|
|
18
|
-
/**
|
|
19
|
-
* Request Manager Review
|
|
20
|
-
*
|
|
21
|
-
* V2: Move Case to Review Action
|
|
22
|
-
*
|
|
23
|
-
* @actionType UPDATE - Updates an existing Case record
|
|
24
|
-
* @module SupportModule
|
|
25
|
-
* @entity Case
|
|
26
|
-
* @entityType DEFAULT (Default)
|
|
27
|
-
* @event k1.t-hEOJjsDb.SupportModule.Case.Update.MoveCaseToPendingReviewAction
|
|
28
|
-
* @permission schema.action.movecasetopendingreviewaction.trigger
|
|
29
|
-
* @benchmark This action is tracked for performance benchmarks
|
|
30
|
-
*/
|
|
31
|
-
class MoveCaseToPendingReviewActionDto extends core_1.OdinRecordUpdateDto {
|
|
32
|
-
constructor(record, properties, options) {
|
|
33
|
-
super({
|
|
34
|
-
id: record.id,
|
|
35
|
-
entity: record.entity,
|
|
36
|
-
type: record.type,
|
|
37
|
-
properties,
|
|
38
|
-
journeyId: options === null || options === void 0 ? void 0 : options.journeyId,
|
|
39
|
-
stageKey: options === null || options === void 0 ? void 0 : options.stageKey,
|
|
40
|
-
});
|
|
41
|
-
this.actionName = 'MoveCaseToPendingReviewAction';
|
|
42
|
-
this.schemaActionId = '44a06e8b-aa07-4319-9c1b-245660553e97';
|
|
43
|
-
this.entity = 'SupportModule:Case';
|
|
44
|
-
}
|
|
45
|
-
}
|
|
46
|
-
exports.MoveCaseToPendingReviewActionDto = MoveCaseToPendingReviewActionDto;
|
|
47
|
-
/** Used by SDK generators to identify action type */
|
|
48
|
-
MoveCaseToPendingReviewActionDto.ACTION_TYPE = 'UPDATE';
|
|
49
|
-
MoveCaseToPendingReviewActionDto.ACTION_KEY = 'MoveCaseToPendingReviewAction';
|
|
50
|
-
MoveCaseToPendingReviewActionDto.MODULE_NAME = 'SupportModule';
|
|
51
|
-
MoveCaseToPendingReviewActionDto.ENTITIES = ['Case'];
|
|
52
|
-
MoveCaseToPendingReviewActionDto.ENTITY_TYPE = 'DEFAULT';
|
|
53
|
-
MoveCaseToPendingReviewActionDto.EVENT_NAME = 'k1.t-hEOJjsDb.SupportModule.Case.Update.MoveCaseToPendingReviewAction';
|
|
54
|
-
MoveCaseToPendingReviewActionDto.PERMISSION = 'schema.action.movecasetopendingreviewaction.trigger';
|
|
55
|
-
/** Step metadata - entity this action targets */
|
|
56
|
-
MoveCaseToPendingReviewActionDto.STEP_ENTITY = 'SupportModule:Case';
|
|
57
|
-
MoveCaseToPendingReviewActionDto.STEP_SCHEMA_ID = 'bb540d25-53bf-491b-9d03-f3d42f755b3a';
|
|
58
|
-
MoveCaseToPendingReviewActionDto.STEP_SCHEMA_ACTION_ID = '44a06e8b-aa07-4319-9c1b-245660553e97';
|
|
59
|
-
MoveCaseToPendingReviewActionDto.STEP_SCHEMA_TYPE_ID = '22b50598-66be-435c-bd61-4dcd7d0b3420';
|
|
60
|
-
MoveCaseToPendingReviewActionDto.STEP_TYPE = 'DEFAULT';
|
|
61
|
-
MoveCaseToPendingReviewActionDto.AUTO_LINK_PARENT = false;
|
|
62
|
-
/**
|
|
63
|
-
* Type-safe step keys for MoveCaseToPendingReviewTransition
|
|
64
|
-
*/
|
|
65
|
-
exports.MoveCaseToPendingReviewTransitionSteps = {
|
|
66
|
-
step_1: 'step_1',
|
|
67
|
-
};
|
|
68
|
-
/**
|
|
69
|
-
* MoveCaseToPendingReviewTransition
|
|
70
|
-
*
|
|
71
|
-
* V2: Move Case to Pending Review Transition
|
|
72
|
-
*
|
|
73
|
-
* @actionType STAGE_TRANSITION - Transitions record to new pipeline stage
|
|
74
|
-
* @module SupportModule
|
|
75
|
-
* @entity Case
|
|
76
|
-
* @entityType DEFAULT (Default)
|
|
77
|
-
* @targetStages CaseDefaultStagePendingReview
|
|
78
|
-
* @event k1.t-hEOJjsDb.SupportModule.Case.Transition.MoveCaseToPendingReviewTransition
|
|
79
|
-
* @permission schema.action.movecasetopendingreviewtransition.trigger
|
|
80
|
-
* @benchmark This action is tracked for performance benchmarks
|
|
81
|
-
*/
|
|
82
|
-
class MoveCaseToPendingReviewTransitionDto extends core_1.OdinRecordUpdateDto {
|
|
83
|
-
constructor(record, options) {
|
|
84
|
-
super({
|
|
85
|
-
id: record.id,
|
|
86
|
-
entity: record.entity,
|
|
87
|
-
type: record.type,
|
|
88
|
-
properties: {},
|
|
89
|
-
journeyId: options === null || options === void 0 ? void 0 : options.journeyId,
|
|
90
|
-
});
|
|
91
|
-
this.actionName = 'MoveCaseToPendingReviewTransition';
|
|
92
|
-
this.schemaActionId = '0a200a80-3222-4445-8a76-55657d1c2466';
|
|
93
|
-
this.entity = 'SupportModule:Case';
|
|
94
|
-
this.stageKey = 'CaseDefaultStagePendingReview';
|
|
95
|
-
}
|
|
96
|
-
}
|
|
97
|
-
exports.MoveCaseToPendingReviewTransitionDto = MoveCaseToPendingReviewTransitionDto;
|
|
98
|
-
/** Used by SDK generators to identify action type */
|
|
99
|
-
MoveCaseToPendingReviewTransitionDto.ACTION_TYPE = 'UPDATE';
|
|
100
|
-
MoveCaseToPendingReviewTransitionDto.ACTION_KEY = 'MoveCaseToPendingReviewTransition';
|
|
101
|
-
MoveCaseToPendingReviewTransitionDto.MODULE_NAME = 'SupportModule';
|
|
102
|
-
MoveCaseToPendingReviewTransitionDto.ENTITIES = ['Case'];
|
|
103
|
-
MoveCaseToPendingReviewTransitionDto.ENTITY_TYPE = 'DEFAULT';
|
|
104
|
-
MoveCaseToPendingReviewTransitionDto.EVENT_NAME = 'k1.t-hEOJjsDb.SupportModule.Case.Transition.MoveCaseToPendingReviewTransition';
|
|
105
|
-
MoveCaseToPendingReviewTransitionDto.SCHEMA_ACTION_ID = '0a200a80-3222-4445-8a76-55657d1c2466';
|
|
106
|
-
MoveCaseToPendingReviewTransitionDto.PERMISSION = 'schema.action.movecasetopendingreviewtransition.trigger';
|
|
107
|
-
MoveCaseToPendingReviewTransitionDto.TARGET_STAGES = ['CaseDefaultStagePendingReview'];
|
|
108
|
-
MoveCaseToPendingReviewTransitionDto.IS_STAGE_TRANSITION = true;
|
|
109
|
-
MoveCaseToPendingReviewTransitionDto.IS_MULTI_STEP_FLOW = false;
|
|
110
|
-
MoveCaseToPendingReviewTransitionDto.HAS_STEP_LINKS = false;
|
|
111
|
-
/**
|
|
112
|
-
* Step definitions with linking metadata
|
|
113
|
-
* Used by SDK and backend for auto-linking after step execution
|
|
114
|
-
*/
|
|
115
|
-
MoveCaseToPendingReviewTransitionDto.stepDefinitions = [
|
|
116
|
-
{
|
|
117
|
-
stepKey: 'step_1',
|
|
118
|
-
dtoClass: 'MoveCaseToPendingReviewActionDto',
|
|
119
|
-
entity: 'SupportModule:Case',
|
|
120
|
-
linksTo: null
|
|
121
|
-
}
|
|
122
|
-
];
|
|
123
|
-
/** Type-safe step key accessor */
|
|
124
|
-
MoveCaseToPendingReviewTransitionDto.Steps = exports.MoveCaseToPendingReviewTransitionSteps;
|
|
125
|
-
/** Step classes that can be used with this action */
|
|
126
|
-
MoveCaseToPendingReviewTransitionDto.stepClasses = ['MoveCaseToPendingReviewActionDto'];
|