@d19n/youfibre-odin-sdk 1.0.364 → 1.0.366
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 +6 -2
- package/dist/actions-v2/AssignCaseDto.d.ts +13 -5
- package/dist/actions-v2/AssignCaseWithNoteFlowDto.d.ts +13 -5
- package/dist/actions-v2/CreateCaseFromContactDto.d.ts +13 -5
- package/dist/actions-v2/CreatePushNotificationDto.d.ts +8 -1
- package/dist/actions-v2/CreateSalesTerritoryDto.d.ts +8 -1
- package/dist/actions-v2/EditCaseFormDto.d.ts +8 -1
- package/dist/actions-v2/EditSalesTerritoryDto.d.ts +8 -1
- package/dist/actions-v2/MoveDefaultCaseFromAnyStageToPendingReplyDto.d.ts +117 -0
- package/dist/actions-v2/MoveDefaultCaseFromAnyStageToPendingReplyDto.js +82 -0
- package/dist/actions-v2/MovetoClosedDto.d.ts +115 -0
- package/dist/actions-v2/MovetoClosedDto.js +80 -0
- package/dist/actions-v2/UpdatePushNotificationDto.d.ts +59 -24
- package/dist/actions-v2/UpdateTeamDto.d.ts +8 -1
- package/dist/actions-v2/UpdateTestEntityForVisualBuilderDto.d.ts +15 -31
- package/dist/api-sdk-v2/OrderApi.d.ts +2 -0
- package/dist/api-sdk-v2/OrderApi.js +6 -0
- package/dist/api-sdk-v2/PushNotificationApi.d.ts +2 -0
- package/dist/api-sdk-v2/PushNotificationApi.js +6 -0
- package/dist/api-sdk-v2/TeamApi.d.ts +2 -0
- package/dist/api-sdk-v2/TeamApi.js +6 -0
- package/dist/api-sdk-v2/TestEntityForVisualBuilderApi.d.ts +2 -0
- package/dist/api-sdk-v2/TestEntityForVisualBuilderApi.js +6 -0
- package/dist/db-sdk-v2/OrderDb.d.ts +2 -0
- package/dist/db-sdk-v2/OrderDb.js +6 -0
- package/dist/db-sdk-v2/PushNotificationDb.d.ts +2 -0
- package/dist/db-sdk-v2/PushNotificationDb.js +6 -0
- package/dist/db-sdk-v2/TeamDb.d.ts +2 -0
- package/dist/db-sdk-v2/TeamDb.js +6 -0
- package/dist/db-sdk-v2/TestEntityForVisualBuilderDb.d.ts +2 -0
- package/dist/db-sdk-v2/TestEntityForVisualBuilderDb.js +6 -0
- package/dist/entities-v2/Case.d.ts +2 -0
- package/dist/entities-v2/Case.js +2 -0
- package/dist/entities-v2/Order.d.ts +7 -0
- package/dist/entities-v2/Order.js +5 -1
- package/dist/entities-v2/PgDirectDebitFile.d.ts +2 -0
- package/dist/entities-v2/PgDirectDebitFile.js +2 -0
- package/dist/entities-v2/PushNotification.d.ts +10 -0
- package/dist/entities-v2/PushNotification.js +2 -0
- package/dist/entities-v2/SalesTerritory.d.ts +17 -0
- package/dist/entities-v2/SalesTerritory.js +2 -0
- package/dist/entities-v2/Team.d.ts +49 -4
- package/dist/entities-v2/Team.js +37 -5
- package/dist/entities-v2/TestEntityForVisualBuilder.d.ts +41 -0
- package/dist/entities-v2/TestEntityForVisualBuilder.js +9 -1
- package/dist/records-v2/CaseRecord.d.ts +50 -131
- package/dist/records-v2/CaseRecord.js +59 -214
- package/dist/records-v2/ContactRecord.js +0 -2
- package/dist/records-v2/ConversationRecord.d.ts +1 -1
- package/dist/records-v2/MessageRecord.d.ts +1 -1
- package/dist/records-v2/OrderRecord.d.ts +20 -0
- package/dist/records-v2/OrderRecord.js +33 -0
- package/dist/records-v2/PushNotificationRecord.d.ts +20 -0
- package/dist/records-v2/PushNotificationRecord.js +33 -0
- package/dist/records-v2/TeamRecord.d.ts +20 -0
- package/dist/records-v2/TeamRecord.js +33 -0
- package/dist/records-v2/TestEntityForVisualBuilderRecord.d.ts +20 -0
- package/dist/records-v2/TestEntityForVisualBuilderRecord.js +33 -0
- package/dist/records-v2/index.d.ts +1 -1
- package/dist/records-v2/index.js +5 -5
- package/package.json +1 -1
- package/dist/actions-v2/CreateCaseForChatDto.d.ts +0 -381
- package/dist/actions-v2/CreateCaseForChatDto.js +0 -217
- package/dist/actions-v2/CreateSocialMediaCaseDto.d.ts +0 -104
- package/dist/actions-v2/CreateSocialMediaCaseDto.js +0 -59
package/README.md
CHANGED
|
@@ -695,11 +695,9 @@ This SDK includes **553** actions.
|
|
|
695
695
|
| `Casedefaultstageblocked` | STAGE_TRANSITION | k1.t-hEOJjsDb.SupportModule.Case.Update.MoveCaseToBlockedAction |
|
|
696
696
|
| `ChangeCaseChannel` | UPDATE | k1.t-hEOJjsDb.SupportModule.Case.Update.ChangeCaseChannel |
|
|
697
697
|
| `CreateCase` | CREATE | k1.t-hEOJjsDb.SupportModule.Case.Create.CreateCase |
|
|
698
|
-
| `CreateCaseForChat` | CREATE | k1.t-hEOJjsDb.SupportModule.Case.Create.CreateSocialMediaCase |
|
|
699
698
|
| `CreateCaseFromCases` | CREATE | k1.t-hEOJjsDb.SupportModule.Case.Create.CreateCaseFromCases |
|
|
700
699
|
| `CreateCaseFromContact` | CREATE | k1.t-hEOJjsDb.SupportModule.Case.Create.CreateCase |
|
|
701
700
|
| `CreateCaseWithDpa` | CREATE | k1.t-hEOJjsDb.SupportModule.Case.Create.CreateCaseWithDpa |
|
|
702
|
-
| `CreateSocialMediaCase` | CREATE | k1.t-hEOJjsDb.SupportModule.Case.Create.CreateSocialMediaCase |
|
|
703
701
|
| `EditCaseForm` | UPDATE | k1.t-hEOJjsDb.SupportModule.Case.Update.EditCaseForm |
|
|
704
702
|
| `EscalateCaseAction` | UPDATE | k1.t-hEOJjsDb.SupportModule.Case.Update.EscalateCaseAction |
|
|
705
703
|
| `EscalateCaseTransition` | STAGE_TRANSITION | k1.t-hEOJjsDb.SupportModule.Case.Update.EscalateCaseAction |
|
|
@@ -717,7 +715,9 @@ This SDK includes **553** actions.
|
|
|
717
715
|
| `MoveCaseToSolvedAction` | UPDATE | k1.t-hEOJjsDb.SupportModule.Case.Update.MoveCaseToSolvedAction |
|
|
718
716
|
| `MoveCaseToSolvedTransition` | STAGE_TRANSITION | k1.t-hEOJjsDb.SupportModule.Case.Transition.MoveCaseToSolvedTransition |
|
|
719
717
|
| `MoveDefaultCaseFromAnyStageToPendingAgent` | STAGE_TRANSITION | k1.t-hEOJjsDb.SupportModule.Case.Transition.MoveDefaultCaseFromAnyStageToPendingAgent |
|
|
718
|
+
| `MoveDefaultCaseFromAnyStageToPendingReply` | STAGE_TRANSITION | k1.t-hEOJjsDb.SupportModule.Case.Transition.MoveDefaultCaseFromAnyStageToPendingReply |
|
|
720
719
|
| `MoveDefaultCaseFromOpenToClosed` | STAGE_TRANSITION | k1.t-hEOJjsDb.SupportModule.Case.Update.MarkCaseClosed |
|
|
720
|
+
| `MovetoClosed` | STAGE_TRANSITION | k1.t-hEOJjsDb.SupportModule.Case.Transition.MovetoClosed |
|
|
721
721
|
| `RemoveAssignmentFromCase` | UPDATE | k1.t-hEOJjsDb.SupportModule.Case.Update.RemoveAssignmentFromCase |
|
|
722
722
|
| `UpdateFormalComplaint` | UPDATE | k1.t-hEOJjsDb.SupportModule.Case.Update.UpdateFormalComplaint |
|
|
723
723
|
| `UpdateSentiment` | UPDATE | k1.t-hEOJjsDb.SupportModule.Case.Update.UpdateSentiment |
|
|
@@ -743,8 +743,12 @@ This SDK includes **553** actions.
|
|
|
743
743
|
|
|
744
744
|
**MoveDefaultCaseFromAnyStageToPendingAgent Target Stages:** `CaseDefaultStagePendingAgent`
|
|
745
745
|
|
|
746
|
+
**MoveDefaultCaseFromAnyStageToPendingReply Target Stages:** `CaseDefaultStagePendingReply`
|
|
747
|
+
|
|
746
748
|
**MoveDefaultCaseFromOpenToClosed Target Stages:** `CaseDefaultStageClosed`
|
|
747
749
|
|
|
750
|
+
**MovetoClosed Target Stages:** `CaseDefaultStageClosed`
|
|
751
|
+
|
|
748
752
|
**AssignCaseWithNoteFlow Steps:**
|
|
749
753
|
|
|
750
754
|
| Step Method | Type | Signature |
|
|
@@ -23,23 +23,31 @@ export interface AssignCaseMessage extends OdinRecordUpdatedEvent<AssignCaseDto,
|
|
|
23
23
|
* Properties for AssignCase action
|
|
24
24
|
*
|
|
25
25
|
* @property Required fields: 0
|
|
26
|
-
* @property Optional fields:
|
|
26
|
+
* @property Optional fields: 3
|
|
27
27
|
*/
|
|
28
28
|
export interface AssignCaseProperties {
|
|
29
29
|
/**
|
|
30
|
-
*
|
|
30
|
+
* Team
|
|
31
31
|
*
|
|
32
32
|
* Reference identifier for Case relationships. Used for data integrity.
|
|
33
33
|
* @type {LOOKUP}
|
|
34
|
+
* @visibleWhen Channel = ["CALL","CUSTOMER_PORTAL","CUSTOMER_APP","EMAIL","FACEBOOK_MESSENGER","IN_APP_CHAT","INSTAGRAM_DM","SMS","TLOS_APP","TLOS_PORTAL","TRUSTPILOT_SERVICE_REVIEW","WEB_CHAT","WEB_FORM_BUSINESS","WHATSAPP"]
|
|
34
35
|
*/
|
|
35
|
-
|
|
36
|
+
TeamId?: string | null;
|
|
36
37
|
/**
|
|
37
|
-
*
|
|
38
|
+
* Owner
|
|
38
39
|
*
|
|
39
40
|
* Reference identifier for Case relationships. Used for data integrity.
|
|
40
41
|
* @type {LOOKUP}
|
|
41
42
|
*/
|
|
42
|
-
|
|
43
|
+
OwnerId?: string | null;
|
|
44
|
+
/**
|
|
45
|
+
* Channel
|
|
46
|
+
*
|
|
47
|
+
* the channel from the source (Customer Service - Case)
|
|
48
|
+
* @type {ENUM}
|
|
49
|
+
*/
|
|
50
|
+
Channel?: string | null;
|
|
43
51
|
}
|
|
44
52
|
/**
|
|
45
53
|
* Assign Owner
|
|
@@ -16,23 +16,31 @@ import { OdinRecord, OdinRecordCreateDto, OdinRecordUpdateDto, OdinRecordUpdated
|
|
|
16
16
|
* Properties for AssignCase action
|
|
17
17
|
*
|
|
18
18
|
* @property Required fields: 0
|
|
19
|
-
* @property Optional fields:
|
|
19
|
+
* @property Optional fields: 3
|
|
20
20
|
*/
|
|
21
21
|
export interface AssignCaseProperties {
|
|
22
22
|
/**
|
|
23
|
-
*
|
|
23
|
+
* Team
|
|
24
24
|
*
|
|
25
25
|
* Reference identifier for Case relationships. Used for data integrity.
|
|
26
26
|
* @type {LOOKUP}
|
|
27
|
+
* @visibleWhen Channel = ["CALL","CUSTOMER_PORTAL","CUSTOMER_APP","EMAIL","FACEBOOK_MESSENGER","IN_APP_CHAT","INSTAGRAM_DM","SMS","TLOS_APP","TLOS_PORTAL","TRUSTPILOT_SERVICE_REVIEW","WEB_CHAT","WEB_FORM_BUSINESS","WHATSAPP"]
|
|
27
28
|
*/
|
|
28
|
-
|
|
29
|
+
TeamId?: string | null;
|
|
29
30
|
/**
|
|
30
|
-
*
|
|
31
|
+
* Owner
|
|
31
32
|
*
|
|
32
33
|
* Reference identifier for Case relationships. Used for data integrity.
|
|
33
34
|
* @type {LOOKUP}
|
|
34
35
|
*/
|
|
35
|
-
|
|
36
|
+
OwnerId?: string | null;
|
|
37
|
+
/**
|
|
38
|
+
* Channel
|
|
39
|
+
*
|
|
40
|
+
* the channel from the source (Customer Service - Case)
|
|
41
|
+
* @type {ENUM}
|
|
42
|
+
*/
|
|
43
|
+
Channel?: string | null;
|
|
36
44
|
}
|
|
37
45
|
/**
|
|
38
46
|
* Assign Owner
|
|
@@ -90,23 +90,31 @@ export declare class CreateCaseDto extends OdinRecordCreateDto<CreateCasePropert
|
|
|
90
90
|
* Properties for AssignCase action
|
|
91
91
|
*
|
|
92
92
|
* @property Required fields: 0
|
|
93
|
-
* @property Optional fields:
|
|
93
|
+
* @property Optional fields: 3
|
|
94
94
|
*/
|
|
95
95
|
export interface AssignCaseProperties {
|
|
96
96
|
/**
|
|
97
|
-
*
|
|
97
|
+
* Team
|
|
98
98
|
*
|
|
99
99
|
* Reference identifier for Case relationships. Used for data integrity.
|
|
100
100
|
* @type {LOOKUP}
|
|
101
|
+
* @visibleWhen Channel = ["CALL","CUSTOMER_PORTAL","CUSTOMER_APP","EMAIL","FACEBOOK_MESSENGER","IN_APP_CHAT","INSTAGRAM_DM","SMS","TLOS_APP","TLOS_PORTAL","TRUSTPILOT_SERVICE_REVIEW","WEB_CHAT","WEB_FORM_BUSINESS","WHATSAPP"]
|
|
101
102
|
*/
|
|
102
|
-
|
|
103
|
+
TeamId?: string | null;
|
|
103
104
|
/**
|
|
104
|
-
*
|
|
105
|
+
* Owner
|
|
105
106
|
*
|
|
106
107
|
* Reference identifier for Case relationships. Used for data integrity.
|
|
107
108
|
* @type {LOOKUP}
|
|
108
109
|
*/
|
|
109
|
-
|
|
110
|
+
OwnerId?: string | null;
|
|
111
|
+
/**
|
|
112
|
+
* Channel
|
|
113
|
+
*
|
|
114
|
+
* the channel from the source (Customer Service - Case)
|
|
115
|
+
* @type {ENUM}
|
|
116
|
+
*/
|
|
117
|
+
Channel?: string | null;
|
|
110
118
|
}
|
|
111
119
|
/**
|
|
112
120
|
* Assign Owner
|
|
@@ -22,7 +22,7 @@ export interface CreatePushNotificationMessage extends OdinRecordCreatedEvent<Cr
|
|
|
22
22
|
* Properties for CreatePushNotification action
|
|
23
23
|
*
|
|
24
24
|
* @property Required fields: 0
|
|
25
|
-
* @property Optional fields:
|
|
25
|
+
* @property Optional fields: 13
|
|
26
26
|
*/
|
|
27
27
|
export interface CreatePushNotificationProperties {
|
|
28
28
|
/**
|
|
@@ -109,6 +109,13 @@ export interface CreatePushNotificationProperties {
|
|
|
109
109
|
* @type {JSON}
|
|
110
110
|
*/
|
|
111
111
|
DynamicData?: string | null;
|
|
112
|
+
/**
|
|
113
|
+
* OrderId
|
|
114
|
+
*
|
|
115
|
+
* Related order
|
|
116
|
+
* @type {LOOKUP}
|
|
117
|
+
*/
|
|
118
|
+
OrderId?: string | null;
|
|
112
119
|
}
|
|
113
120
|
/**
|
|
114
121
|
* CreatePushNotification
|
|
@@ -23,9 +23,16 @@ export interface CreateSalesTerritoryMessage extends OdinRecordCreatedEvent<Crea
|
|
|
23
23
|
* Properties for CreateSalesTerritory action
|
|
24
24
|
*
|
|
25
25
|
* @property Required fields: 0
|
|
26
|
-
* @property Optional fields:
|
|
26
|
+
* @property Optional fields: 4
|
|
27
27
|
*/
|
|
28
28
|
export interface CreateSalesTerritoryProperties {
|
|
29
|
+
/**
|
|
30
|
+
* name
|
|
31
|
+
*
|
|
32
|
+
* name
|
|
33
|
+
* @type {TEXT}
|
|
34
|
+
*/
|
|
35
|
+
Name?: string | null;
|
|
29
36
|
/**
|
|
30
37
|
* RegionSalesManager
|
|
31
38
|
*
|
|
@@ -22,7 +22,7 @@ export interface EditCaseFormMessage extends OdinRecordUpdatedEvent<EditCaseForm
|
|
|
22
22
|
* Properties for EditCaseForm action
|
|
23
23
|
*
|
|
24
24
|
* @property Required fields: 0
|
|
25
|
-
* @property Optional fields:
|
|
25
|
+
* @property Optional fields: 8
|
|
26
26
|
*/
|
|
27
27
|
export interface EditCaseFormProperties {
|
|
28
28
|
/**
|
|
@@ -76,6 +76,13 @@ export interface EditCaseFormProperties {
|
|
|
76
76
|
* @type {TEXT_LONG}
|
|
77
77
|
*/
|
|
78
78
|
AdditionalNotes?: string | null;
|
|
79
|
+
/**
|
|
80
|
+
* ai tags
|
|
81
|
+
*
|
|
82
|
+
* messages/calls/emails tags generated from voyager (Customer Service - Case)
|
|
83
|
+
* @type {TAG}
|
|
84
|
+
*/
|
|
85
|
+
AiTags?: string | null;
|
|
79
86
|
}
|
|
80
87
|
/**
|
|
81
88
|
* EditCaseForm
|
|
@@ -23,9 +23,16 @@ export interface EditSalesTerritoryMessage extends OdinRecordUpdatedEvent<EditSa
|
|
|
23
23
|
* Properties for EditSalesTerritory action
|
|
24
24
|
*
|
|
25
25
|
* @property Required fields: 0
|
|
26
|
-
* @property Optional fields:
|
|
26
|
+
* @property Optional fields: 4
|
|
27
27
|
*/
|
|
28
28
|
export interface EditSalesTerritoryProperties {
|
|
29
|
+
/**
|
|
30
|
+
* name
|
|
31
|
+
*
|
|
32
|
+
* name
|
|
33
|
+
* @type {TEXT}
|
|
34
|
+
*/
|
|
35
|
+
Name?: string | null;
|
|
29
36
|
/**
|
|
30
37
|
* TerritoryRating
|
|
31
38
|
*
|
|
@@ -0,0 +1,117 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* MoveDefaultCaseFromAnyStageToPendingReply Action DTO
|
|
3
|
+
*
|
|
4
|
+
* Moves a case from any stage to pending reply
|
|
5
|
+
*
|
|
6
|
+
* @module SupportModule
|
|
7
|
+
* @entity Case
|
|
8
|
+
* @entityType DEFAULT
|
|
9
|
+
* @actionKey MoveDefaultCaseFromAnyStageToPendingReply
|
|
10
|
+
* @event k1.t-hEOJjsDb.SupportModule.Case.Transition.MoveDefaultCaseFromAnyStageToPendingReply
|
|
11
|
+
*
|
|
12
|
+
* AUTO-GENERATED - DO NOT EDIT DIRECTLY
|
|
13
|
+
*/
|
|
14
|
+
import { OdinRecord, OdinRecordUpdateDto, OdinRecordUpdatedEvent } from '@d19n/odin-types/dist/core';
|
|
15
|
+
declare type StepClassMap = {};
|
|
16
|
+
/**
|
|
17
|
+
* Link definition for connecting steps in MoveDefaultCaseFromAnyStageToPendingReply
|
|
18
|
+
*/
|
|
19
|
+
export interface MoveDefaultCaseFromAnyStageToPendingReplyStepLink {
|
|
20
|
+
/**
|
|
21
|
+
* The stepKey of the target step to link TO
|
|
22
|
+
* Must reference another step's stepKey in the same flow
|
|
23
|
+
*/
|
|
24
|
+
stepKey: string;
|
|
25
|
+
/**
|
|
26
|
+
* The schema association ID (UUID) defining the relationship
|
|
27
|
+
* Use the association.id from the schema association definition
|
|
28
|
+
* @example "a1b2c3d4-e5f6-7890-abcd-ef1234567890"
|
|
29
|
+
*/
|
|
30
|
+
schemaAssociationId: string;
|
|
31
|
+
}
|
|
32
|
+
/**
|
|
33
|
+
* Step definition with linking metadata for MoveDefaultCaseFromAnyStageToPendingReply
|
|
34
|
+
*/
|
|
35
|
+
export interface MoveDefaultCaseFromAnyStageToPendingReplyStepDefinition {
|
|
36
|
+
/** Unique identifier for this step */
|
|
37
|
+
stepKey: string;
|
|
38
|
+
/** The DTO class name for this step */
|
|
39
|
+
dtoClass: string;
|
|
40
|
+
/** The entity this step creates (Module:Entity format) */
|
|
41
|
+
entity: string;
|
|
42
|
+
/** Links to create after this step executes */
|
|
43
|
+
linksTo: MoveDefaultCaseFromAnyStageToPendingReplyStepLink[] | null;
|
|
44
|
+
}
|
|
45
|
+
/**
|
|
46
|
+
* Type-safe step keys for MoveDefaultCaseFromAnyStageToPendingReply
|
|
47
|
+
*/
|
|
48
|
+
export declare const MoveDefaultCaseFromAnyStageToPendingReplySteps: {
|
|
49
|
+
readonly step_1: "step_1";
|
|
50
|
+
};
|
|
51
|
+
export declare type MoveDefaultCaseFromAnyStageToPendingReplyStepKey = typeof MoveDefaultCaseFromAnyStageToPendingReplySteps[keyof typeof MoveDefaultCaseFromAnyStageToPendingReplySteps];
|
|
52
|
+
/**
|
|
53
|
+
* RabbitMQ message payload for MoveDefaultCaseFromAnyStageToPendingReply step flow events
|
|
54
|
+
*
|
|
55
|
+
* @event k1.t-hEOJjsDb.SupportModule.Case.Transition.MoveDefaultCaseFromAnyStageToPendingReply
|
|
56
|
+
*/
|
|
57
|
+
export interface MoveDefaultCaseFromAnyStageToPendingReplyMessage extends OdinRecordUpdatedEvent<MoveDefaultCaseFromAnyStageToPendingReplyDto, {}> {
|
|
58
|
+
}
|
|
59
|
+
/**
|
|
60
|
+
* Properties for MoveDefaultCaseFromAnyStageToPendingReply action
|
|
61
|
+
*
|
|
62
|
+
*/
|
|
63
|
+
export interface MoveDefaultCaseFromAnyStageToPendingReplyProperties {
|
|
64
|
+
}
|
|
65
|
+
/**
|
|
66
|
+
* MoveDefaultCaseFromAnyStageToPendingReply
|
|
67
|
+
*
|
|
68
|
+
* Moves a case from any stage to pending reply
|
|
69
|
+
*
|
|
70
|
+
* @actionType STAGE_TRANSITION - Transitions record to new pipeline stage
|
|
71
|
+
* @module SupportModule
|
|
72
|
+
* @entity Case
|
|
73
|
+
* @entityType DEFAULT (Default)
|
|
74
|
+
* @targetStages CaseDefaultStagePendingReply
|
|
75
|
+
* @event k1.t-hEOJjsDb.SupportModule.Case.Transition.MoveDefaultCaseFromAnyStageToPendingReply
|
|
76
|
+
* @permission schema.action.movedefaultcasefromanystagetopendingreply.trigger
|
|
77
|
+
* @benchmark This action is tracked for performance benchmarks
|
|
78
|
+
*/
|
|
79
|
+
export declare class MoveDefaultCaseFromAnyStageToPendingReplyDto extends OdinRecordUpdateDto<Record<string, any>> {
|
|
80
|
+
/** Used by SDK generators to identify action type */
|
|
81
|
+
static readonly ACTION_TYPE = "UPDATE";
|
|
82
|
+
static readonly ACTION_KEY = "MoveDefaultCaseFromAnyStageToPendingReply";
|
|
83
|
+
static readonly MODULE_NAME = "SupportModule";
|
|
84
|
+
static readonly ENTITIES: string[];
|
|
85
|
+
static readonly ENTITY_TYPE = "DEFAULT";
|
|
86
|
+
static readonly EVENT_NAME = "k1.t-hEOJjsDb.SupportModule.Case.Transition.MoveDefaultCaseFromAnyStageToPendingReply";
|
|
87
|
+
static readonly SCHEMA_ACTION_ID = "f29ae701-558c-47cb-af47-294665c7d56b";
|
|
88
|
+
static readonly PERMISSION = "schema.action.movedefaultcasefromanystagetopendingreply.trigger";
|
|
89
|
+
static readonly TARGET_STAGES: readonly ["CaseDefaultStagePendingReply"];
|
|
90
|
+
static readonly IS_STAGE_TRANSITION = true;
|
|
91
|
+
static readonly IS_MULTI_STEP_FLOW = false;
|
|
92
|
+
static readonly HAS_STEP_LINKS = false;
|
|
93
|
+
/**
|
|
94
|
+
* Step definitions with linking metadata
|
|
95
|
+
* Used by SDK and backend for auto-linking after step execution
|
|
96
|
+
*/
|
|
97
|
+
static readonly stepDefinitions: MoveDefaultCaseFromAnyStageToPendingReplyStepDefinition[];
|
|
98
|
+
/** Type-safe step key accessor */
|
|
99
|
+
static readonly Steps: {
|
|
100
|
+
readonly step_1: "step_1";
|
|
101
|
+
};
|
|
102
|
+
readonly actionName: string;
|
|
103
|
+
readonly schemaActionId: string;
|
|
104
|
+
readonly entity: string;
|
|
105
|
+
readonly stageKey: string;
|
|
106
|
+
constructor(record: OdinRecord<any> | {
|
|
107
|
+
id: string;
|
|
108
|
+
entity: string;
|
|
109
|
+
type?: string;
|
|
110
|
+
}, options?: {
|
|
111
|
+
journeyId?: string;
|
|
112
|
+
});
|
|
113
|
+
/** Step classes that can be used with this action */
|
|
114
|
+
static readonly stepClasses: readonly [];
|
|
115
|
+
steps: StepClassMap[(typeof MoveDefaultCaseFromAnyStageToPendingReplyDto.stepClasses)[number]][];
|
|
116
|
+
}
|
|
117
|
+
export {};
|
|
@@ -0,0 +1,82 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* MoveDefaultCaseFromAnyStageToPendingReply Action DTO
|
|
4
|
+
*
|
|
5
|
+
* Moves a case from any stage to pending reply
|
|
6
|
+
*
|
|
7
|
+
* @module SupportModule
|
|
8
|
+
* @entity Case
|
|
9
|
+
* @entityType DEFAULT
|
|
10
|
+
* @actionKey MoveDefaultCaseFromAnyStageToPendingReply
|
|
11
|
+
* @event k1.t-hEOJjsDb.SupportModule.Case.Transition.MoveDefaultCaseFromAnyStageToPendingReply
|
|
12
|
+
*
|
|
13
|
+
* AUTO-GENERATED - DO NOT EDIT DIRECTLY
|
|
14
|
+
*/
|
|
15
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
+
exports.MoveDefaultCaseFromAnyStageToPendingReplyDto = exports.MoveDefaultCaseFromAnyStageToPendingReplySteps = void 0;
|
|
17
|
+
const core_1 = require("@d19n/odin-types/dist/core");
|
|
18
|
+
/**
|
|
19
|
+
* Type-safe step keys for MoveDefaultCaseFromAnyStageToPendingReply
|
|
20
|
+
*/
|
|
21
|
+
exports.MoveDefaultCaseFromAnyStageToPendingReplySteps = {
|
|
22
|
+
step_1: 'step_1',
|
|
23
|
+
};
|
|
24
|
+
/**
|
|
25
|
+
* MoveDefaultCaseFromAnyStageToPendingReply
|
|
26
|
+
*
|
|
27
|
+
* Moves a case from any stage to pending reply
|
|
28
|
+
*
|
|
29
|
+
* @actionType STAGE_TRANSITION - Transitions record to new pipeline stage
|
|
30
|
+
* @module SupportModule
|
|
31
|
+
* @entity Case
|
|
32
|
+
* @entityType DEFAULT (Default)
|
|
33
|
+
* @targetStages CaseDefaultStagePendingReply
|
|
34
|
+
* @event k1.t-hEOJjsDb.SupportModule.Case.Transition.MoveDefaultCaseFromAnyStageToPendingReply
|
|
35
|
+
* @permission schema.action.movedefaultcasefromanystagetopendingreply.trigger
|
|
36
|
+
* @benchmark This action is tracked for performance benchmarks
|
|
37
|
+
*/
|
|
38
|
+
class MoveDefaultCaseFromAnyStageToPendingReplyDto extends core_1.OdinRecordUpdateDto {
|
|
39
|
+
constructor(record, options) {
|
|
40
|
+
super({
|
|
41
|
+
id: record.id,
|
|
42
|
+
entity: record.entity,
|
|
43
|
+
type: record.type,
|
|
44
|
+
properties: {},
|
|
45
|
+
journeyId: options === null || options === void 0 ? void 0 : options.journeyId,
|
|
46
|
+
});
|
|
47
|
+
this.actionName = 'MoveDefaultCaseFromAnyStageToPendingReply';
|
|
48
|
+
this.schemaActionId = 'f29ae701-558c-47cb-af47-294665c7d56b';
|
|
49
|
+
this.entity = 'SupportModule:Case';
|
|
50
|
+
this.stageKey = 'CaseDefaultStagePendingReply';
|
|
51
|
+
}
|
|
52
|
+
}
|
|
53
|
+
exports.MoveDefaultCaseFromAnyStageToPendingReplyDto = MoveDefaultCaseFromAnyStageToPendingReplyDto;
|
|
54
|
+
/** Used by SDK generators to identify action type */
|
|
55
|
+
MoveDefaultCaseFromAnyStageToPendingReplyDto.ACTION_TYPE = 'UPDATE';
|
|
56
|
+
MoveDefaultCaseFromAnyStageToPendingReplyDto.ACTION_KEY = 'MoveDefaultCaseFromAnyStageToPendingReply';
|
|
57
|
+
MoveDefaultCaseFromAnyStageToPendingReplyDto.MODULE_NAME = 'SupportModule';
|
|
58
|
+
MoveDefaultCaseFromAnyStageToPendingReplyDto.ENTITIES = ['Case'];
|
|
59
|
+
MoveDefaultCaseFromAnyStageToPendingReplyDto.ENTITY_TYPE = 'DEFAULT';
|
|
60
|
+
MoveDefaultCaseFromAnyStageToPendingReplyDto.EVENT_NAME = 'k1.t-hEOJjsDb.SupportModule.Case.Transition.MoveDefaultCaseFromAnyStageToPendingReply';
|
|
61
|
+
MoveDefaultCaseFromAnyStageToPendingReplyDto.SCHEMA_ACTION_ID = 'f29ae701-558c-47cb-af47-294665c7d56b';
|
|
62
|
+
MoveDefaultCaseFromAnyStageToPendingReplyDto.PERMISSION = 'schema.action.movedefaultcasefromanystagetopendingreply.trigger';
|
|
63
|
+
MoveDefaultCaseFromAnyStageToPendingReplyDto.TARGET_STAGES = ['CaseDefaultStagePendingReply'];
|
|
64
|
+
MoveDefaultCaseFromAnyStageToPendingReplyDto.IS_STAGE_TRANSITION = true;
|
|
65
|
+
MoveDefaultCaseFromAnyStageToPendingReplyDto.IS_MULTI_STEP_FLOW = false;
|
|
66
|
+
MoveDefaultCaseFromAnyStageToPendingReplyDto.HAS_STEP_LINKS = false;
|
|
67
|
+
/**
|
|
68
|
+
* Step definitions with linking metadata
|
|
69
|
+
* Used by SDK and backend for auto-linking after step execution
|
|
70
|
+
*/
|
|
71
|
+
MoveDefaultCaseFromAnyStageToPendingReplyDto.stepDefinitions = [
|
|
72
|
+
{
|
|
73
|
+
stepKey: 'step_1',
|
|
74
|
+
dtoClass: 'unknown',
|
|
75
|
+
entity: 'unknown',
|
|
76
|
+
linksTo: null
|
|
77
|
+
}
|
|
78
|
+
];
|
|
79
|
+
/** Type-safe step key accessor */
|
|
80
|
+
MoveDefaultCaseFromAnyStageToPendingReplyDto.Steps = exports.MoveDefaultCaseFromAnyStageToPendingReplySteps;
|
|
81
|
+
/** Step classes that can be used with this action */
|
|
82
|
+
MoveDefaultCaseFromAnyStageToPendingReplyDto.stepClasses = [];
|
|
@@ -0,0 +1,115 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* MovetoClosed Action DTO
|
|
3
|
+
*
|
|
4
|
+
* MovetoClosed
|
|
5
|
+
*
|
|
6
|
+
* @module SupportModule
|
|
7
|
+
* @entity Case
|
|
8
|
+
* @entityType DEFAULT
|
|
9
|
+
* @actionKey MovetoClosed
|
|
10
|
+
* @event k1.t-hEOJjsDb.SupportModule.Case.Transition.MovetoClosed
|
|
11
|
+
*
|
|
12
|
+
* AUTO-GENERATED - DO NOT EDIT DIRECTLY
|
|
13
|
+
*/
|
|
14
|
+
import { OdinRecord, OdinRecordUpdateDto, OdinRecordUpdatedEvent } from '@d19n/odin-types/dist/core';
|
|
15
|
+
declare type StepClassMap = {};
|
|
16
|
+
/**
|
|
17
|
+
* Link definition for connecting steps in MovetoClosed
|
|
18
|
+
*/
|
|
19
|
+
export interface MovetoClosedStepLink {
|
|
20
|
+
/**
|
|
21
|
+
* The stepKey of the target step to link TO
|
|
22
|
+
* Must reference another step's stepKey in the same flow
|
|
23
|
+
*/
|
|
24
|
+
stepKey: string;
|
|
25
|
+
/**
|
|
26
|
+
* The schema association ID (UUID) defining the relationship
|
|
27
|
+
* Use the association.id from the schema association definition
|
|
28
|
+
* @example "a1b2c3d4-e5f6-7890-abcd-ef1234567890"
|
|
29
|
+
*/
|
|
30
|
+
schemaAssociationId: string;
|
|
31
|
+
}
|
|
32
|
+
/**
|
|
33
|
+
* Step definition with linking metadata for MovetoClosed
|
|
34
|
+
*/
|
|
35
|
+
export interface MovetoClosedStepDefinition {
|
|
36
|
+
/** Unique identifier for this step */
|
|
37
|
+
stepKey: string;
|
|
38
|
+
/** The DTO class name for this step */
|
|
39
|
+
dtoClass: string;
|
|
40
|
+
/** The entity this step creates (Module:Entity format) */
|
|
41
|
+
entity: string;
|
|
42
|
+
/** Links to create after this step executes */
|
|
43
|
+
linksTo: MovetoClosedStepLink[] | null;
|
|
44
|
+
}
|
|
45
|
+
/**
|
|
46
|
+
* Type-safe step keys for MovetoClosed
|
|
47
|
+
*/
|
|
48
|
+
export declare const MovetoClosedSteps: {
|
|
49
|
+
readonly step_1: "step_1";
|
|
50
|
+
};
|
|
51
|
+
export declare type MovetoClosedStepKey = typeof MovetoClosedSteps[keyof typeof MovetoClosedSteps];
|
|
52
|
+
/**
|
|
53
|
+
* RabbitMQ message payload for MovetoClosed step flow events
|
|
54
|
+
*
|
|
55
|
+
* @event k1.t-hEOJjsDb.SupportModule.Case.Transition.MovetoClosed
|
|
56
|
+
*/
|
|
57
|
+
export interface MovetoClosedMessage extends OdinRecordUpdatedEvent<MovetoClosedDto, {}> {
|
|
58
|
+
}
|
|
59
|
+
/**
|
|
60
|
+
* Properties for MovetoClosed action
|
|
61
|
+
*
|
|
62
|
+
*/
|
|
63
|
+
export interface MovetoClosedProperties {
|
|
64
|
+
}
|
|
65
|
+
/**
|
|
66
|
+
* MovetoClosed
|
|
67
|
+
*
|
|
68
|
+
* @actionType STAGE_TRANSITION - Transitions record to new pipeline stage
|
|
69
|
+
* @module SupportModule
|
|
70
|
+
* @entity Case
|
|
71
|
+
* @entityType DEFAULT (Default)
|
|
72
|
+
* @targetStages CaseDefaultStageClosed
|
|
73
|
+
* @event k1.t-hEOJjsDb.SupportModule.Case.Transition.MovetoClosed
|
|
74
|
+
* @permission schema.action.movetoclosed.trigger
|
|
75
|
+
* @benchmark This action is tracked for performance benchmarks
|
|
76
|
+
*/
|
|
77
|
+
export declare class MovetoClosedDto extends OdinRecordUpdateDto<Record<string, any>> {
|
|
78
|
+
/** Used by SDK generators to identify action type */
|
|
79
|
+
static readonly ACTION_TYPE = "UPDATE";
|
|
80
|
+
static readonly ACTION_KEY = "MovetoClosed";
|
|
81
|
+
static readonly MODULE_NAME = "SupportModule";
|
|
82
|
+
static readonly ENTITIES: string[];
|
|
83
|
+
static readonly ENTITY_TYPE = "DEFAULT";
|
|
84
|
+
static readonly EVENT_NAME = "k1.t-hEOJjsDb.SupportModule.Case.Transition.MovetoClosed";
|
|
85
|
+
static readonly SCHEMA_ACTION_ID = "e9c3af1c-d56e-42de-9321-a5a59b0ca188";
|
|
86
|
+
static readonly PERMISSION = "schema.action.movetoclosed.trigger";
|
|
87
|
+
static readonly TARGET_STAGES: readonly ["CaseDefaultStageClosed"];
|
|
88
|
+
static readonly IS_STAGE_TRANSITION = true;
|
|
89
|
+
static readonly IS_MULTI_STEP_FLOW = false;
|
|
90
|
+
static readonly HAS_STEP_LINKS = false;
|
|
91
|
+
/**
|
|
92
|
+
* Step definitions with linking metadata
|
|
93
|
+
* Used by SDK and backend for auto-linking after step execution
|
|
94
|
+
*/
|
|
95
|
+
static readonly stepDefinitions: MovetoClosedStepDefinition[];
|
|
96
|
+
/** Type-safe step key accessor */
|
|
97
|
+
static readonly Steps: {
|
|
98
|
+
readonly step_1: "step_1";
|
|
99
|
+
};
|
|
100
|
+
readonly actionName: string;
|
|
101
|
+
readonly schemaActionId: string;
|
|
102
|
+
readonly entity: string;
|
|
103
|
+
readonly stageKey: string;
|
|
104
|
+
constructor(record: OdinRecord<any> | {
|
|
105
|
+
id: string;
|
|
106
|
+
entity: string;
|
|
107
|
+
type?: string;
|
|
108
|
+
}, options?: {
|
|
109
|
+
journeyId?: string;
|
|
110
|
+
});
|
|
111
|
+
/** Step classes that can be used with this action */
|
|
112
|
+
static readonly stepClasses: readonly [];
|
|
113
|
+
steps: StepClassMap[(typeof MovetoClosedDto.stepClasses)[number]][];
|
|
114
|
+
}
|
|
115
|
+
export {};
|
|
@@ -0,0 +1,80 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* MovetoClosed Action DTO
|
|
4
|
+
*
|
|
5
|
+
* MovetoClosed
|
|
6
|
+
*
|
|
7
|
+
* @module SupportModule
|
|
8
|
+
* @entity Case
|
|
9
|
+
* @entityType DEFAULT
|
|
10
|
+
* @actionKey MovetoClosed
|
|
11
|
+
* @event k1.t-hEOJjsDb.SupportModule.Case.Transition.MovetoClosed
|
|
12
|
+
*
|
|
13
|
+
* AUTO-GENERATED - DO NOT EDIT DIRECTLY
|
|
14
|
+
*/
|
|
15
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
+
exports.MovetoClosedDto = exports.MovetoClosedSteps = void 0;
|
|
17
|
+
const core_1 = require("@d19n/odin-types/dist/core");
|
|
18
|
+
/**
|
|
19
|
+
* Type-safe step keys for MovetoClosed
|
|
20
|
+
*/
|
|
21
|
+
exports.MovetoClosedSteps = {
|
|
22
|
+
step_1: 'step_1',
|
|
23
|
+
};
|
|
24
|
+
/**
|
|
25
|
+
* MovetoClosed
|
|
26
|
+
*
|
|
27
|
+
* @actionType STAGE_TRANSITION - Transitions record to new pipeline stage
|
|
28
|
+
* @module SupportModule
|
|
29
|
+
* @entity Case
|
|
30
|
+
* @entityType DEFAULT (Default)
|
|
31
|
+
* @targetStages CaseDefaultStageClosed
|
|
32
|
+
* @event k1.t-hEOJjsDb.SupportModule.Case.Transition.MovetoClosed
|
|
33
|
+
* @permission schema.action.movetoclosed.trigger
|
|
34
|
+
* @benchmark This action is tracked for performance benchmarks
|
|
35
|
+
*/
|
|
36
|
+
class MovetoClosedDto extends core_1.OdinRecordUpdateDto {
|
|
37
|
+
constructor(record, options) {
|
|
38
|
+
super({
|
|
39
|
+
id: record.id,
|
|
40
|
+
entity: record.entity,
|
|
41
|
+
type: record.type,
|
|
42
|
+
properties: {},
|
|
43
|
+
journeyId: options === null || options === void 0 ? void 0 : options.journeyId,
|
|
44
|
+
});
|
|
45
|
+
this.actionName = 'MovetoClosed';
|
|
46
|
+
this.schemaActionId = 'e9c3af1c-d56e-42de-9321-a5a59b0ca188';
|
|
47
|
+
this.entity = 'SupportModule:Case';
|
|
48
|
+
this.stageKey = 'CaseDefaultStageClosed';
|
|
49
|
+
}
|
|
50
|
+
}
|
|
51
|
+
exports.MovetoClosedDto = MovetoClosedDto;
|
|
52
|
+
/** Used by SDK generators to identify action type */
|
|
53
|
+
MovetoClosedDto.ACTION_TYPE = 'UPDATE';
|
|
54
|
+
MovetoClosedDto.ACTION_KEY = 'MovetoClosed';
|
|
55
|
+
MovetoClosedDto.MODULE_NAME = 'SupportModule';
|
|
56
|
+
MovetoClosedDto.ENTITIES = ['Case'];
|
|
57
|
+
MovetoClosedDto.ENTITY_TYPE = 'DEFAULT';
|
|
58
|
+
MovetoClosedDto.EVENT_NAME = 'k1.t-hEOJjsDb.SupportModule.Case.Transition.MovetoClosed';
|
|
59
|
+
MovetoClosedDto.SCHEMA_ACTION_ID = 'e9c3af1c-d56e-42de-9321-a5a59b0ca188';
|
|
60
|
+
MovetoClosedDto.PERMISSION = 'schema.action.movetoclosed.trigger';
|
|
61
|
+
MovetoClosedDto.TARGET_STAGES = ['CaseDefaultStageClosed'];
|
|
62
|
+
MovetoClosedDto.IS_STAGE_TRANSITION = true;
|
|
63
|
+
MovetoClosedDto.IS_MULTI_STEP_FLOW = false;
|
|
64
|
+
MovetoClosedDto.HAS_STEP_LINKS = false;
|
|
65
|
+
/**
|
|
66
|
+
* Step definitions with linking metadata
|
|
67
|
+
* Used by SDK and backend for auto-linking after step execution
|
|
68
|
+
*/
|
|
69
|
+
MovetoClosedDto.stepDefinitions = [
|
|
70
|
+
{
|
|
71
|
+
stepKey: 'step_1',
|
|
72
|
+
dtoClass: 'unknown',
|
|
73
|
+
entity: 'unknown',
|
|
74
|
+
linksTo: null
|
|
75
|
+
}
|
|
76
|
+
];
|
|
77
|
+
/** Type-safe step key accessor */
|
|
78
|
+
MovetoClosedDto.Steps = exports.MovetoClosedSteps;
|
|
79
|
+
/** Step classes that can be used with this action */
|
|
80
|
+
MovetoClosedDto.stepClasses = [];
|