@d19n/youfibre-odin-sdk 2.0.206 → 2.0.207
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 +11 -2
- package/dist/EntityRegistry.d.ts +2 -0
- package/dist/EntityRegistry.js +2 -0
- package/dist/OdinApiClient.d.ts +4 -0
- package/dist/OdinApiClient.js +8 -0
- package/dist/OdinDbClient.d.ts +4 -0
- package/dist/OdinDbClient.js +8 -0
- package/dist/accessors-v2/ConversationSummaryFeedbackAccessor.d.ts +111 -0
- package/dist/accessors-v2/ConversationSummaryFeedbackAccessor.js +190 -0
- package/dist/accessors-v2/index.d.ts +1 -0
- package/dist/accessors-v2/index.js +5 -3
- package/dist/actions-v2/CompleteChurnRequestDto.d.ts +10 -1
- package/dist/actions-v2/CompleteChurnRequestFlowDto.d.ts +10 -1
- package/dist/actions-v2/CreateConversationSummaryFeedbackDto.d.ts +101 -0
- package/dist/actions-v2/CreateConversationSummaryFeedbackDto.js +57 -0
- package/dist/actions-v2/CreateRecontractReminderEmailDto.d.ts +128 -0
- package/dist/actions-v2/CreateRecontractReminderEmailDto.js +59 -0
- package/dist/actions-v2/OfferCreateDto.d.ts +10 -1
- package/dist/actions-v2/OfferUpdateDto.d.ts +10 -1
- package/dist/actions-v2/UpdatePgAllocationSubmissionFileLineNumberDto.d.ts +78 -0
- package/dist/actions-v2/UpdatePgAllocationSubmissionFileLineNumberDto.js +61 -0
- package/dist/api-sdk-v2/ConversationApi.d.ts +2 -0
- package/dist/api-sdk-v2/ConversationApi.js +6 -0
- package/dist/api-sdk-v2/ConversationSummaryFeedbackApi.d.ts +48 -0
- package/dist/api-sdk-v2/ConversationSummaryFeedbackApi.js +155 -0
- package/dist/db-accessors-v2/ConversationSummaryFeedbackDbAccessor.d.ts +149 -0
- package/dist/db-accessors-v2/ConversationSummaryFeedbackDbAccessor.js +227 -0
- package/dist/db-accessors-v2/index.d.ts +1 -0
- package/dist/db-accessors-v2/index.js +5 -3
- package/dist/db-sdk-v2/ConversationDb.d.ts +2 -0
- package/dist/db-sdk-v2/ConversationDb.js +6 -0
- package/dist/db-sdk-v2/ConversationSummaryFeedbackDb.d.ts +120 -0
- package/dist/db-sdk-v2/ConversationSummaryFeedbackDb.js +204 -0
- package/dist/entities-v2/ChurnRequest.d.ts +46 -5
- package/dist/entities-v2/ChurnRequest.js +41 -5
- package/dist/entities-v2/Conversation.d.ts +7 -0
- package/dist/entities-v2/Conversation.js +5 -1
- package/dist/entities-v2/ConversationSummaryFeedback.d.ts +153 -0
- package/dist/entities-v2/ConversationSummaryFeedback.js +122 -0
- package/dist/records-v2/ConversationRecord.d.ts +20 -0
- package/dist/records-v2/ConversationRecord.js +33 -0
- package/dist/records-v2/ConversationSummaryFeedbackRecord.d.ts +205 -0
- package/dist/records-v2/ConversationSummaryFeedbackRecord.js +280 -0
- package/dist/records-v2/EmailRecord.d.ts +29 -0
- package/dist/records-v2/EmailRecord.js +36 -0
- package/dist/records-v2/PgFileAllocationRecord.d.ts +27 -0
- package/dist/records-v2/PgFileAllocationRecord.js +29 -0
- package/dist/records-v2/index.d.ts +1 -0
- package/dist/records-v2/index.js +7 -4
- package/package.json +1 -1
|
@@ -0,0 +1,101 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* CreateConversationSummaryFeedback Action DTO
|
|
3
|
+
*
|
|
4
|
+
* CreateConversationSummaryFeedback
|
|
5
|
+
*
|
|
6
|
+
* @module NotificationModule
|
|
7
|
+
* @entity ConversationSummaryFeedback
|
|
8
|
+
* @entityType DEFAULT
|
|
9
|
+
* @actionKey CreateConversationSummaryFeedback
|
|
10
|
+
* @event k1.t-hEOJjsDb.NotificationModule.ConversationSummaryFeedback.Create.CreateConversationSummaryFeedback
|
|
11
|
+
*
|
|
12
|
+
* AUTO-GENERATED - DO NOT EDIT DIRECTLY
|
|
13
|
+
*/
|
|
14
|
+
import { OdinRecordCreateDto, OdinRecordCreatedEvent } from '@d19n/odin-types/dist/core';
|
|
15
|
+
/**
|
|
16
|
+
* RabbitMQ message payload for CreateConversationSummaryFeedback created events
|
|
17
|
+
*
|
|
18
|
+
* @event k1.t-hEOJjsDb.NotificationModule.ConversationSummaryFeedback.Create.CreateConversationSummaryFeedback
|
|
19
|
+
*/
|
|
20
|
+
export interface CreateConversationSummaryFeedbackMessage extends OdinRecordCreatedEvent<CreateConversationSummaryFeedbackDto, CreateConversationSummaryFeedbackProperties> {
|
|
21
|
+
}
|
|
22
|
+
/**
|
|
23
|
+
* Properties for CreateConversationSummaryFeedback action
|
|
24
|
+
*
|
|
25
|
+
* @property Required fields: 3
|
|
26
|
+
* @property Optional fields: 2
|
|
27
|
+
*/
|
|
28
|
+
export interface CreateConversationSummaryFeedbackProperties {
|
|
29
|
+
/**
|
|
30
|
+
* FeedbackSenderType
|
|
31
|
+
*
|
|
32
|
+
* The type of user that submitted the feedback
|
|
33
|
+
* @type {ENUM}
|
|
34
|
+
* @required
|
|
35
|
+
*/
|
|
36
|
+
FeedbackSenderType: string;
|
|
37
|
+
/**
|
|
38
|
+
* Is this summary accurate?
|
|
39
|
+
*
|
|
40
|
+
* Summary accuracy rating
|
|
41
|
+
* @type {ENUM}
|
|
42
|
+
* @required
|
|
43
|
+
*/
|
|
44
|
+
SummaryAccuracy: string;
|
|
45
|
+
/**
|
|
46
|
+
* ConversationId
|
|
47
|
+
*
|
|
48
|
+
* ConversationId
|
|
49
|
+
* @type {LOOKUP}
|
|
50
|
+
* @required
|
|
51
|
+
*/
|
|
52
|
+
ConversationId: string;
|
|
53
|
+
/**
|
|
54
|
+
* InaccuracyComment
|
|
55
|
+
*
|
|
56
|
+
* InaccuracyComment
|
|
57
|
+
* @type {TEXT}
|
|
58
|
+
*/
|
|
59
|
+
InaccuracyComment?: string | null;
|
|
60
|
+
/**
|
|
61
|
+
* InaccuracyReason
|
|
62
|
+
*
|
|
63
|
+
* InaccuracyReason
|
|
64
|
+
* @type {ENUM}
|
|
65
|
+
*/
|
|
66
|
+
InaccuracyReason?: string | null;
|
|
67
|
+
}
|
|
68
|
+
/**
|
|
69
|
+
* CreateConversationSummaryFeedback
|
|
70
|
+
*
|
|
71
|
+
* @actionType CREATE - Creates a new ConversationSummaryFeedback record
|
|
72
|
+
* @module NotificationModule
|
|
73
|
+
* @entity ConversationSummaryFeedback
|
|
74
|
+
* @entityType DEFAULT (Default)
|
|
75
|
+
* @event k1.t-hEOJjsDb.NotificationModule.ConversationSummaryFeedback.Create.CreateConversationSummaryFeedback
|
|
76
|
+
* @permission schema.action.createconversationsummaryfeedback.trigger
|
|
77
|
+
* @benchmark This action is tracked for performance benchmarks
|
|
78
|
+
*/
|
|
79
|
+
export declare class CreateConversationSummaryFeedbackDto extends OdinRecordCreateDto<CreateConversationSummaryFeedbackProperties> {
|
|
80
|
+
/** Used by SDK generators to identify action type */
|
|
81
|
+
static readonly ACTION_TYPE = "CREATE";
|
|
82
|
+
static readonly ACTION_KEY = "CreateConversationSummaryFeedback";
|
|
83
|
+
static readonly MODULE_NAME = "NotificationModule";
|
|
84
|
+
static readonly ENTITIES: string[];
|
|
85
|
+
static readonly ENTITY_TYPE = "DEFAULT";
|
|
86
|
+
static readonly EVENT_NAME = "k1.t-hEOJjsDb.NotificationModule.ConversationSummaryFeedback.Create.CreateConversationSummaryFeedback";
|
|
87
|
+
static readonly PERMISSION = "schema.action.createconversationsummaryfeedback.trigger";
|
|
88
|
+
/** Step metadata - entity this action targets */
|
|
89
|
+
static readonly STEP_ENTITY = "NotificationModule:ConversationSummaryFeedback";
|
|
90
|
+
static readonly STEP_SCHEMA_ID = "471684b5-3dd0-4c27-84ea-3450cb6bfb57";
|
|
91
|
+
static readonly STEP_SCHEMA_ACTION_ID = "b4829b81-f1ce-4bad-8dc8-49209253902f";
|
|
92
|
+
static readonly STEP_SCHEMA_TYPE_ID = "2cb76960-ac5c-47c3-aca9-4ee0c78e4e8e";
|
|
93
|
+
static readonly STEP_TYPE = "DEFAULT";
|
|
94
|
+
static readonly AUTO_LINK_PARENT = true;
|
|
95
|
+
readonly actionName: string;
|
|
96
|
+
readonly schemaActionId: string;
|
|
97
|
+
readonly entity: string;
|
|
98
|
+
constructor(properties: CreateConversationSummaryFeedbackProperties, options?: {
|
|
99
|
+
journeyId?: string;
|
|
100
|
+
});
|
|
101
|
+
}
|
|
@@ -0,0 +1,57 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* CreateConversationSummaryFeedback Action DTO
|
|
4
|
+
*
|
|
5
|
+
* CreateConversationSummaryFeedback
|
|
6
|
+
*
|
|
7
|
+
* @module NotificationModule
|
|
8
|
+
* @entity ConversationSummaryFeedback
|
|
9
|
+
* @entityType DEFAULT
|
|
10
|
+
* @actionKey CreateConversationSummaryFeedback
|
|
11
|
+
* @event k1.t-hEOJjsDb.NotificationModule.ConversationSummaryFeedback.Create.CreateConversationSummaryFeedback
|
|
12
|
+
*
|
|
13
|
+
* AUTO-GENERATED - DO NOT EDIT DIRECTLY
|
|
14
|
+
*/
|
|
15
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
+
exports.CreateConversationSummaryFeedbackDto = void 0;
|
|
17
|
+
const core_1 = require("@d19n/odin-types/dist/core");
|
|
18
|
+
/**
|
|
19
|
+
* CreateConversationSummaryFeedback
|
|
20
|
+
*
|
|
21
|
+
* @actionType CREATE - Creates a new ConversationSummaryFeedback record
|
|
22
|
+
* @module NotificationModule
|
|
23
|
+
* @entity ConversationSummaryFeedback
|
|
24
|
+
* @entityType DEFAULT (Default)
|
|
25
|
+
* @event k1.t-hEOJjsDb.NotificationModule.ConversationSummaryFeedback.Create.CreateConversationSummaryFeedback
|
|
26
|
+
* @permission schema.action.createconversationsummaryfeedback.trigger
|
|
27
|
+
* @benchmark This action is tracked for performance benchmarks
|
|
28
|
+
*/
|
|
29
|
+
class CreateConversationSummaryFeedbackDto extends core_1.OdinRecordCreateDto {
|
|
30
|
+
constructor(properties, options) {
|
|
31
|
+
super({
|
|
32
|
+
entity: 'NotificationModule:ConversationSummaryFeedback',
|
|
33
|
+
type: 'DEFAULT',
|
|
34
|
+
properties,
|
|
35
|
+
journeyId: options === null || options === void 0 ? void 0 : options.journeyId,
|
|
36
|
+
});
|
|
37
|
+
this.actionName = 'CreateConversationSummaryFeedback';
|
|
38
|
+
this.schemaActionId = 'b4829b81-f1ce-4bad-8dc8-49209253902f';
|
|
39
|
+
this.entity = 'NotificationModule:ConversationSummaryFeedback';
|
|
40
|
+
}
|
|
41
|
+
}
|
|
42
|
+
exports.CreateConversationSummaryFeedbackDto = CreateConversationSummaryFeedbackDto;
|
|
43
|
+
/** Used by SDK generators to identify action type */
|
|
44
|
+
CreateConversationSummaryFeedbackDto.ACTION_TYPE = 'CREATE';
|
|
45
|
+
CreateConversationSummaryFeedbackDto.ACTION_KEY = 'CreateConversationSummaryFeedback';
|
|
46
|
+
CreateConversationSummaryFeedbackDto.MODULE_NAME = 'NotificationModule';
|
|
47
|
+
CreateConversationSummaryFeedbackDto.ENTITIES = ['ConversationSummaryFeedback'];
|
|
48
|
+
CreateConversationSummaryFeedbackDto.ENTITY_TYPE = 'DEFAULT';
|
|
49
|
+
CreateConversationSummaryFeedbackDto.EVENT_NAME = 'k1.t-hEOJjsDb.NotificationModule.ConversationSummaryFeedback.Create.CreateConversationSummaryFeedback';
|
|
50
|
+
CreateConversationSummaryFeedbackDto.PERMISSION = 'schema.action.createconversationsummaryfeedback.trigger';
|
|
51
|
+
/** Step metadata - entity this action targets */
|
|
52
|
+
CreateConversationSummaryFeedbackDto.STEP_ENTITY = 'NotificationModule:ConversationSummaryFeedback';
|
|
53
|
+
CreateConversationSummaryFeedbackDto.STEP_SCHEMA_ID = '471684b5-3dd0-4c27-84ea-3450cb6bfb57';
|
|
54
|
+
CreateConversationSummaryFeedbackDto.STEP_SCHEMA_ACTION_ID = 'b4829b81-f1ce-4bad-8dc8-49209253902f';
|
|
55
|
+
CreateConversationSummaryFeedbackDto.STEP_SCHEMA_TYPE_ID = '2cb76960-ac5c-47c3-aca9-4ee0c78e4e8e';
|
|
56
|
+
CreateConversationSummaryFeedbackDto.STEP_TYPE = 'DEFAULT';
|
|
57
|
+
CreateConversationSummaryFeedbackDto.AUTO_LINK_PARENT = true;
|
|
@@ -0,0 +1,128 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* CreateRecontractReminderEmail Action DTO
|
|
3
|
+
*
|
|
4
|
+
* Recontract email reminder
|
|
5
|
+
*
|
|
6
|
+
* @module NotificationModule
|
|
7
|
+
* @entity Email
|
|
8
|
+
* @entityType TRANSACTIONAL
|
|
9
|
+
* @actionKey CreateRecontractReminderEmail
|
|
10
|
+
* @event k1.t-hEOJjsDb.NotificationModule.Email.Create.CreateRecontractReminderEmail
|
|
11
|
+
*
|
|
12
|
+
* AUTO-GENERATED - DO NOT EDIT DIRECTLY
|
|
13
|
+
*/
|
|
14
|
+
import { OdinRecordCreateDto, OdinRecordCreatedEvent } from '@d19n/odin-types/dist/core';
|
|
15
|
+
/**
|
|
16
|
+
* RabbitMQ message payload for CreateRecontractReminderEmail created events
|
|
17
|
+
*
|
|
18
|
+
* @event k1.t-hEOJjsDb.NotificationModule.Email.Create.CreateRecontractReminderEmail
|
|
19
|
+
*/
|
|
20
|
+
export interface CreateRecontractReminderEmailMessage extends OdinRecordCreatedEvent<CreateRecontractReminderEmailDto, CreateRecontractReminderEmailProperties> {
|
|
21
|
+
}
|
|
22
|
+
/**
|
|
23
|
+
* Properties for CreateRecontractReminderEmail action
|
|
24
|
+
*
|
|
25
|
+
* @property Required fields: 0
|
|
26
|
+
* @property Optional fields: 9
|
|
27
|
+
*/
|
|
28
|
+
export interface CreateRecontractReminderEmailProperties {
|
|
29
|
+
/**
|
|
30
|
+
* Date
|
|
31
|
+
*
|
|
32
|
+
* Date field for Email records. Used by Communications team.
|
|
33
|
+
* @type {DATE_TIME}
|
|
34
|
+
*/
|
|
35
|
+
Date?: string | null;
|
|
36
|
+
/**
|
|
37
|
+
* EmailingService
|
|
38
|
+
*
|
|
39
|
+
* The provider we use to send email (eg. Sendgrid)
|
|
40
|
+
* @type {ENUM}
|
|
41
|
+
*/
|
|
42
|
+
EmailingService?: string | null;
|
|
43
|
+
/**
|
|
44
|
+
* ContactId
|
|
45
|
+
*
|
|
46
|
+
* The related Contact to send the email
|
|
47
|
+
* @type {LOOKUP}
|
|
48
|
+
*/
|
|
49
|
+
ContactId?: string | null;
|
|
50
|
+
/**
|
|
51
|
+
* TemplateLabel
|
|
52
|
+
*
|
|
53
|
+
* The template label from email templates engine
|
|
54
|
+
* @type {TEXT}
|
|
55
|
+
*/
|
|
56
|
+
TemplateLabel?: string | null;
|
|
57
|
+
/**
|
|
58
|
+
* MessageId
|
|
59
|
+
*
|
|
60
|
+
* SMTP Message Id (Communications - Email)
|
|
61
|
+
* @type {TEXT}
|
|
62
|
+
*/
|
|
63
|
+
MessageId?: string | null;
|
|
64
|
+
/**
|
|
65
|
+
* EmailSenderId
|
|
66
|
+
*
|
|
67
|
+
* The Email Sender related entity
|
|
68
|
+
* @type {LOOKUP}
|
|
69
|
+
*/
|
|
70
|
+
EmailSenderId?: string | null;
|
|
71
|
+
/**
|
|
72
|
+
* DynamicData
|
|
73
|
+
*
|
|
74
|
+
* Data will pass to emailing service (variables)
|
|
75
|
+
* @type {JSON}
|
|
76
|
+
*/
|
|
77
|
+
DynamicData?: string | null;
|
|
78
|
+
/**
|
|
79
|
+
* Title
|
|
80
|
+
*
|
|
81
|
+
* Used for title
|
|
82
|
+
* @type {TEXT}
|
|
83
|
+
*/
|
|
84
|
+
Title?: string | null;
|
|
85
|
+
/**
|
|
86
|
+
* Subject
|
|
87
|
+
*
|
|
88
|
+
* Data field for Email records. Used by Communications team.
|
|
89
|
+
* @type {TEXT}
|
|
90
|
+
*/
|
|
91
|
+
Subject?: string | null;
|
|
92
|
+
}
|
|
93
|
+
/**
|
|
94
|
+
* CreateRecontractReminderEmail
|
|
95
|
+
*
|
|
96
|
+
* Recontract email reminder
|
|
97
|
+
*
|
|
98
|
+
* @actionType CREATE - Creates a new Email record
|
|
99
|
+
* @module NotificationModule
|
|
100
|
+
* @entity Email
|
|
101
|
+
* @entityType TRANSACTIONAL (TRANSACTIONAL)
|
|
102
|
+
* @event k1.t-hEOJjsDb.NotificationModule.Email.Create.CreateRecontractReminderEmail
|
|
103
|
+
* @permission schema.action.createrecontractreminderemail.trigger
|
|
104
|
+
* @benchmark This action is tracked for performance benchmarks
|
|
105
|
+
*/
|
|
106
|
+
export declare class CreateRecontractReminderEmailDto extends OdinRecordCreateDto<CreateRecontractReminderEmailProperties> {
|
|
107
|
+
/** Used by SDK generators to identify action type */
|
|
108
|
+
static readonly ACTION_TYPE = "CREATE";
|
|
109
|
+
static readonly ACTION_KEY = "CreateRecontractReminderEmail";
|
|
110
|
+
static readonly MODULE_NAME = "NotificationModule";
|
|
111
|
+
static readonly ENTITIES: string[];
|
|
112
|
+
static readonly ENTITY_TYPE = "TRANSACTIONAL";
|
|
113
|
+
static readonly EVENT_NAME = "k1.t-hEOJjsDb.NotificationModule.Email.Create.CreateRecontractReminderEmail";
|
|
114
|
+
static readonly PERMISSION = "schema.action.createrecontractreminderemail.trigger";
|
|
115
|
+
/** Step metadata - entity this action targets */
|
|
116
|
+
static readonly STEP_ENTITY = "NotificationModule:Email";
|
|
117
|
+
static readonly STEP_SCHEMA_ID = "cb37958c-d72f-44aa-975a-a8fae42b1b72";
|
|
118
|
+
static readonly STEP_SCHEMA_ACTION_ID = "22634d2e-2c75-4d56-97f4-20349b9f8f5a";
|
|
119
|
+
static readonly STEP_SCHEMA_TYPE_ID = "14042940-a388-44c7-87fe-3a4105d92e94";
|
|
120
|
+
static readonly STEP_TYPE = "TRANSACTIONAL";
|
|
121
|
+
static readonly AUTO_LINK_PARENT = true;
|
|
122
|
+
readonly actionName: string;
|
|
123
|
+
readonly schemaActionId: string;
|
|
124
|
+
readonly entity: string;
|
|
125
|
+
constructor(properties: CreateRecontractReminderEmailProperties, options?: {
|
|
126
|
+
journeyId?: string;
|
|
127
|
+
});
|
|
128
|
+
}
|
|
@@ -0,0 +1,59 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* CreateRecontractReminderEmail Action DTO
|
|
4
|
+
*
|
|
5
|
+
* Recontract email reminder
|
|
6
|
+
*
|
|
7
|
+
* @module NotificationModule
|
|
8
|
+
* @entity Email
|
|
9
|
+
* @entityType TRANSACTIONAL
|
|
10
|
+
* @actionKey CreateRecontractReminderEmail
|
|
11
|
+
* @event k1.t-hEOJjsDb.NotificationModule.Email.Create.CreateRecontractReminderEmail
|
|
12
|
+
*
|
|
13
|
+
* AUTO-GENERATED - DO NOT EDIT DIRECTLY
|
|
14
|
+
*/
|
|
15
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
+
exports.CreateRecontractReminderEmailDto = void 0;
|
|
17
|
+
const core_1 = require("@d19n/odin-types/dist/core");
|
|
18
|
+
/**
|
|
19
|
+
* CreateRecontractReminderEmail
|
|
20
|
+
*
|
|
21
|
+
* Recontract email reminder
|
|
22
|
+
*
|
|
23
|
+
* @actionType CREATE - Creates a new Email record
|
|
24
|
+
* @module NotificationModule
|
|
25
|
+
* @entity Email
|
|
26
|
+
* @entityType TRANSACTIONAL (TRANSACTIONAL)
|
|
27
|
+
* @event k1.t-hEOJjsDb.NotificationModule.Email.Create.CreateRecontractReminderEmail
|
|
28
|
+
* @permission schema.action.createrecontractreminderemail.trigger
|
|
29
|
+
* @benchmark This action is tracked for performance benchmarks
|
|
30
|
+
*/
|
|
31
|
+
class CreateRecontractReminderEmailDto extends core_1.OdinRecordCreateDto {
|
|
32
|
+
constructor(properties, options) {
|
|
33
|
+
super({
|
|
34
|
+
entity: 'NotificationModule:Email',
|
|
35
|
+
type: 'TRANSACTIONAL',
|
|
36
|
+
properties,
|
|
37
|
+
journeyId: options === null || options === void 0 ? void 0 : options.journeyId,
|
|
38
|
+
});
|
|
39
|
+
this.actionName = 'CreateRecontractReminderEmail';
|
|
40
|
+
this.schemaActionId = '22634d2e-2c75-4d56-97f4-20349b9f8f5a';
|
|
41
|
+
this.entity = 'NotificationModule:Email';
|
|
42
|
+
}
|
|
43
|
+
}
|
|
44
|
+
exports.CreateRecontractReminderEmailDto = CreateRecontractReminderEmailDto;
|
|
45
|
+
/** Used by SDK generators to identify action type */
|
|
46
|
+
CreateRecontractReminderEmailDto.ACTION_TYPE = 'CREATE';
|
|
47
|
+
CreateRecontractReminderEmailDto.ACTION_KEY = 'CreateRecontractReminderEmail';
|
|
48
|
+
CreateRecontractReminderEmailDto.MODULE_NAME = 'NotificationModule';
|
|
49
|
+
CreateRecontractReminderEmailDto.ENTITIES = ['Email'];
|
|
50
|
+
CreateRecontractReminderEmailDto.ENTITY_TYPE = 'TRANSACTIONAL';
|
|
51
|
+
CreateRecontractReminderEmailDto.EVENT_NAME = 'k1.t-hEOJjsDb.NotificationModule.Email.Create.CreateRecontractReminderEmail';
|
|
52
|
+
CreateRecontractReminderEmailDto.PERMISSION = 'schema.action.createrecontractreminderemail.trigger';
|
|
53
|
+
/** Step metadata - entity this action targets */
|
|
54
|
+
CreateRecontractReminderEmailDto.STEP_ENTITY = 'NotificationModule:Email';
|
|
55
|
+
CreateRecontractReminderEmailDto.STEP_SCHEMA_ID = 'cb37958c-d72f-44aa-975a-a8fae42b1b72';
|
|
56
|
+
CreateRecontractReminderEmailDto.STEP_SCHEMA_ACTION_ID = '22634d2e-2c75-4d56-97f4-20349b9f8f5a';
|
|
57
|
+
CreateRecontractReminderEmailDto.STEP_SCHEMA_TYPE_ID = '14042940-a388-44c7-87fe-3a4105d92e94';
|
|
58
|
+
CreateRecontractReminderEmailDto.STEP_TYPE = 'TRANSACTIONAL';
|
|
59
|
+
CreateRecontractReminderEmailDto.AUTO_LINK_PARENT = true;
|
|
@@ -21,7 +21,7 @@ export interface OfferCreateMessage extends OdinRecordCreatedEvent<OfferCreateDt
|
|
|
21
21
|
/**
|
|
22
22
|
* Properties for OfferCreate action
|
|
23
23
|
*
|
|
24
|
-
* @property Required fields:
|
|
24
|
+
* @property Required fields: 7
|
|
25
25
|
* @property Optional fields: 7
|
|
26
26
|
*/
|
|
27
27
|
export interface OfferCreateProperties {
|
|
@@ -74,6 +74,15 @@ export interface OfferCreateProperties {
|
|
|
74
74
|
* @format DD/MM/YYYY
|
|
75
75
|
*/
|
|
76
76
|
AvailableFrom: string;
|
|
77
|
+
/**
|
|
78
|
+
* Available to
|
|
79
|
+
*
|
|
80
|
+
* offer is available to this date (Product Management - Offer)
|
|
81
|
+
* @type {DATE}
|
|
82
|
+
* @required
|
|
83
|
+
* @format DD/MM/YYYY
|
|
84
|
+
*/
|
|
85
|
+
AvailableTo: string;
|
|
77
86
|
/**
|
|
78
87
|
* ExPolygonId
|
|
79
88
|
*
|
|
@@ -21,7 +21,7 @@ export interface OfferUpdateMessage extends OdinRecordUpdatedEvent<OfferUpdateDt
|
|
|
21
21
|
/**
|
|
22
22
|
* Properties for OfferUpdate action
|
|
23
23
|
*
|
|
24
|
-
* @property Required fields:
|
|
24
|
+
* @property Required fields: 7
|
|
25
25
|
* @property Optional fields: 7
|
|
26
26
|
*/
|
|
27
27
|
export interface OfferUpdateProperties {
|
|
@@ -74,6 +74,15 @@ export interface OfferUpdateProperties {
|
|
|
74
74
|
* @format DD/MM/YYYY
|
|
75
75
|
*/
|
|
76
76
|
AvailableFrom: string;
|
|
77
|
+
/**
|
|
78
|
+
* Available to
|
|
79
|
+
*
|
|
80
|
+
* offer is available to this date (Product Management - Offer)
|
|
81
|
+
* @type {DATE}
|
|
82
|
+
* @required
|
|
83
|
+
* @format DD/MM/YYYY
|
|
84
|
+
*/
|
|
85
|
+
AvailableTo: string;
|
|
77
86
|
/**
|
|
78
87
|
* ExPolygonId
|
|
79
88
|
*
|
|
@@ -0,0 +1,78 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* UpdatePgAllocationSubmissionFileLineNumber Action DTO
|
|
3
|
+
*
|
|
4
|
+
* Update Pg Allocation Submission File Line Number
|
|
5
|
+
*
|
|
6
|
+
* @module BillingModule
|
|
7
|
+
* @entity PgFileAllocation
|
|
8
|
+
* @entityType SUBMISSION
|
|
9
|
+
* @actionKey UpdatePgAllocationSubmissionFileLineNumber
|
|
10
|
+
* @event k1.t-hEOJjsDb.BillingModule.PgFileAllocation.Update.UpdatePgAllocationSubmissionFileLineNumber
|
|
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 UpdatePgAllocationSubmissionFileLineNumber updated events
|
|
17
|
+
*
|
|
18
|
+
* @event k1.t-hEOJjsDb.BillingModule.PgFileAllocation.Update.UpdatePgAllocationSubmissionFileLineNumber
|
|
19
|
+
*/
|
|
20
|
+
export interface UpdatePgAllocationSubmissionFileLineNumberMessage extends OdinRecordUpdatedEvent<UpdatePgAllocationSubmissionFileLineNumberDto, UpdatePgAllocationSubmissionFileLineNumberProperties> {
|
|
21
|
+
}
|
|
22
|
+
/**
|
|
23
|
+
* Properties for UpdatePgAllocationSubmissionFileLineNumber action
|
|
24
|
+
*
|
|
25
|
+
* @property Required fields: 1
|
|
26
|
+
* @property Optional fields: 0
|
|
27
|
+
*/
|
|
28
|
+
export interface UpdatePgAllocationSubmissionFileLineNumberProperties {
|
|
29
|
+
/**
|
|
30
|
+
* SubmissionFileLineNumber
|
|
31
|
+
*
|
|
32
|
+
* Submission File Line Number
|
|
33
|
+
* @type {NUMBER}
|
|
34
|
+
* @required
|
|
35
|
+
*/
|
|
36
|
+
SubmissionFileLineNumber: number;
|
|
37
|
+
}
|
|
38
|
+
/**
|
|
39
|
+
* UpdatePgAllocationSubmissionFileLineNumber
|
|
40
|
+
*
|
|
41
|
+
* Update Pg Allocation Submission File Line Number
|
|
42
|
+
*
|
|
43
|
+
* @actionType UPDATE - Updates an existing PgFileAllocation record
|
|
44
|
+
* @module BillingModule
|
|
45
|
+
* @entity PgFileAllocation
|
|
46
|
+
* @entityType SUBMISSION (Submission)
|
|
47
|
+
* @event k1.t-hEOJjsDb.BillingModule.PgFileAllocation.Update.UpdatePgAllocationSubmissionFileLineNumber
|
|
48
|
+
* @permission schema.action.updatepgallocationsubmissionfilelinenumber.trigger
|
|
49
|
+
* @benchmark This action is tracked for performance benchmarks
|
|
50
|
+
*/
|
|
51
|
+
export declare class UpdatePgAllocationSubmissionFileLineNumberDto extends OdinRecordUpdateDto<UpdatePgAllocationSubmissionFileLineNumberProperties> {
|
|
52
|
+
/** Used by SDK generators to identify action type */
|
|
53
|
+
static readonly ACTION_TYPE = "UPDATE";
|
|
54
|
+
static readonly ACTION_KEY = "UpdatePgAllocationSubmissionFileLineNumber";
|
|
55
|
+
static readonly MODULE_NAME = "BillingModule";
|
|
56
|
+
static readonly ENTITIES: string[];
|
|
57
|
+
static readonly ENTITY_TYPE = "SUBMISSION";
|
|
58
|
+
static readonly EVENT_NAME = "k1.t-hEOJjsDb.BillingModule.PgFileAllocation.Update.UpdatePgAllocationSubmissionFileLineNumber";
|
|
59
|
+
static readonly PERMISSION = "schema.action.updatepgallocationsubmissionfilelinenumber.trigger";
|
|
60
|
+
/** Step metadata - entity this action targets */
|
|
61
|
+
static readonly STEP_ENTITY = "BillingModule:PgFileAllocation";
|
|
62
|
+
static readonly STEP_SCHEMA_ID = "0747b695-c0c0-4d18-b445-40e80ad531b4";
|
|
63
|
+
static readonly STEP_SCHEMA_ACTION_ID = "ddbe5e29-f81e-4d01-8651-b13f30d74e9d";
|
|
64
|
+
static readonly STEP_SCHEMA_TYPE_ID = "4470ee4e-b77c-483a-8112-7bed250b2e2e";
|
|
65
|
+
static readonly STEP_TYPE = "SUBMISSION";
|
|
66
|
+
static readonly AUTO_LINK_PARENT = false;
|
|
67
|
+
readonly actionName: string;
|
|
68
|
+
readonly schemaActionId: string;
|
|
69
|
+
readonly entity: string;
|
|
70
|
+
constructor(record: OdinRecord<any> | {
|
|
71
|
+
id: string;
|
|
72
|
+
entity: string;
|
|
73
|
+
type?: string;
|
|
74
|
+
}, properties: UpdatePgAllocationSubmissionFileLineNumberProperties, options?: {
|
|
75
|
+
journeyId?: string;
|
|
76
|
+
stageKey?: string;
|
|
77
|
+
});
|
|
78
|
+
}
|
|
@@ -0,0 +1,61 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* UpdatePgAllocationSubmissionFileLineNumber Action DTO
|
|
4
|
+
*
|
|
5
|
+
* Update Pg Allocation Submission File Line Number
|
|
6
|
+
*
|
|
7
|
+
* @module BillingModule
|
|
8
|
+
* @entity PgFileAllocation
|
|
9
|
+
* @entityType SUBMISSION
|
|
10
|
+
* @actionKey UpdatePgAllocationSubmissionFileLineNumber
|
|
11
|
+
* @event k1.t-hEOJjsDb.BillingModule.PgFileAllocation.Update.UpdatePgAllocationSubmissionFileLineNumber
|
|
12
|
+
*
|
|
13
|
+
* AUTO-GENERATED - DO NOT EDIT DIRECTLY
|
|
14
|
+
*/
|
|
15
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
+
exports.UpdatePgAllocationSubmissionFileLineNumberDto = void 0;
|
|
17
|
+
const core_1 = require("@d19n/odin-types/dist/core");
|
|
18
|
+
/**
|
|
19
|
+
* UpdatePgAllocationSubmissionFileLineNumber
|
|
20
|
+
*
|
|
21
|
+
* Update Pg Allocation Submission File Line Number
|
|
22
|
+
*
|
|
23
|
+
* @actionType UPDATE - Updates an existing PgFileAllocation record
|
|
24
|
+
* @module BillingModule
|
|
25
|
+
* @entity PgFileAllocation
|
|
26
|
+
* @entityType SUBMISSION (Submission)
|
|
27
|
+
* @event k1.t-hEOJjsDb.BillingModule.PgFileAllocation.Update.UpdatePgAllocationSubmissionFileLineNumber
|
|
28
|
+
* @permission schema.action.updatepgallocationsubmissionfilelinenumber.trigger
|
|
29
|
+
* @benchmark This action is tracked for performance benchmarks
|
|
30
|
+
*/
|
|
31
|
+
class UpdatePgAllocationSubmissionFileLineNumberDto 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 = 'UpdatePgAllocationSubmissionFileLineNumber';
|
|
42
|
+
this.schemaActionId = 'ddbe5e29-f81e-4d01-8651-b13f30d74e9d';
|
|
43
|
+
this.entity = 'BillingModule:PgFileAllocation';
|
|
44
|
+
}
|
|
45
|
+
}
|
|
46
|
+
exports.UpdatePgAllocationSubmissionFileLineNumberDto = UpdatePgAllocationSubmissionFileLineNumberDto;
|
|
47
|
+
/** Used by SDK generators to identify action type */
|
|
48
|
+
UpdatePgAllocationSubmissionFileLineNumberDto.ACTION_TYPE = 'UPDATE';
|
|
49
|
+
UpdatePgAllocationSubmissionFileLineNumberDto.ACTION_KEY = 'UpdatePgAllocationSubmissionFileLineNumber';
|
|
50
|
+
UpdatePgAllocationSubmissionFileLineNumberDto.MODULE_NAME = 'BillingModule';
|
|
51
|
+
UpdatePgAllocationSubmissionFileLineNumberDto.ENTITIES = ['PgFileAllocation'];
|
|
52
|
+
UpdatePgAllocationSubmissionFileLineNumberDto.ENTITY_TYPE = 'SUBMISSION';
|
|
53
|
+
UpdatePgAllocationSubmissionFileLineNumberDto.EVENT_NAME = 'k1.t-hEOJjsDb.BillingModule.PgFileAllocation.Update.UpdatePgAllocationSubmissionFileLineNumber';
|
|
54
|
+
UpdatePgAllocationSubmissionFileLineNumberDto.PERMISSION = 'schema.action.updatepgallocationsubmissionfilelinenumber.trigger';
|
|
55
|
+
/** Step metadata - entity this action targets */
|
|
56
|
+
UpdatePgAllocationSubmissionFileLineNumberDto.STEP_ENTITY = 'BillingModule:PgFileAllocation';
|
|
57
|
+
UpdatePgAllocationSubmissionFileLineNumberDto.STEP_SCHEMA_ID = '0747b695-c0c0-4d18-b445-40e80ad531b4';
|
|
58
|
+
UpdatePgAllocationSubmissionFileLineNumberDto.STEP_SCHEMA_ACTION_ID = 'ddbe5e29-f81e-4d01-8651-b13f30d74e9d';
|
|
59
|
+
UpdatePgAllocationSubmissionFileLineNumberDto.STEP_SCHEMA_TYPE_ID = '4470ee4e-b77c-483a-8112-7bed250b2e2e';
|
|
60
|
+
UpdatePgAllocationSubmissionFileLineNumberDto.STEP_TYPE = 'SUBMISSION';
|
|
61
|
+
UpdatePgAllocationSubmissionFileLineNumberDto.AUTO_LINK_PARENT = false;
|
|
@@ -20,10 +20,12 @@ export declare class ConversationApi extends ApiProvider {
|
|
|
20
20
|
private _message?;
|
|
21
21
|
private _case?;
|
|
22
22
|
private _pushnotification?;
|
|
23
|
+
private _conversationsummaryfeedback?;
|
|
23
24
|
constructor(authParams?: OauthParams, authToken?: string);
|
|
24
25
|
get message(): ApiRecordLinkManager;
|
|
25
26
|
get case(): ApiRecordLinkManager;
|
|
26
27
|
get pushnotification(): ApiRecordLinkManager;
|
|
28
|
+
get conversationsummaryfeedback(): ApiRecordLinkManager;
|
|
27
29
|
setRecord(sourceRecord: any): void;
|
|
28
30
|
schema(): Promise<import("@d19n/odin-types/dist/core").OdinSchema>;
|
|
29
31
|
search(params: Partial<OdinSearchV2>): Promise<import("@d19n/odin-sdk-generator/dist/odin-sdk-types").OdinSearchResponse<import("@d19n/odin-types/dist/core").OdinRecord<ConversationProperties>>>;
|
|
@@ -51,6 +51,12 @@ class ConversationApi extends api_provider_1.ApiProvider {
|
|
|
51
51
|
}
|
|
52
52
|
return this._pushnotification;
|
|
53
53
|
}
|
|
54
|
+
get conversationsummaryfeedback() {
|
|
55
|
+
if (!this._conversationsummaryfeedback) {
|
|
56
|
+
this._conversationsummaryfeedback = new api_record_link_manager_1.ApiRecordLinkManager(this.authParams, 'NotificationModule:Conversation', 'NotificationModule:ConversationSummaryFeedback', 'Conversation__ConversationSummaryFeedback');
|
|
57
|
+
}
|
|
58
|
+
return this._conversationsummaryfeedback;
|
|
59
|
+
}
|
|
54
60
|
// ============================================
|
|
55
61
|
// STANDARD METHODS (Unchanged API)
|
|
56
62
|
// ============================================
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
import { OauthParams } from '@d19n/odin-sdk-generator/dist/odin-sdk-types';
|
|
2
|
+
import { ApiProvider } from '@d19n/odin-sdk-generator/dist/api.provider';
|
|
3
|
+
import { OdinSearchV2, OdinRecordCreateDto, OdinRecordUpdateDto } from '@d19n/odin-types/dist/core';
|
|
4
|
+
import { ApiRecordLinkManager } from '@d19n/odin-sdk-generator/dist/api.record.link.manager';
|
|
5
|
+
import { ConversationSummaryFeedbackProperties } from '../entities-v2/ConversationSummaryFeedback';
|
|
6
|
+
/**
|
|
7
|
+
* @deprecated Use OdinApiClient.
|
|
8
|
+
*
|
|
9
|
+
* Migration:
|
|
10
|
+
* - Old: new ConversationSummaryFeedbackApi(authParams).get(id)
|
|
11
|
+
* - New: new odin.conversationsummaryfeedback.get(id)
|
|
12
|
+
*
|
|
13
|
+
* The new OdinApiClient returns typed record wrappers with action methods.
|
|
14
|
+
*/
|
|
15
|
+
export declare class ConversationSummaryFeedbackApi extends ApiProvider {
|
|
16
|
+
protected readonly authToken?: string;
|
|
17
|
+
private readonly moduleName;
|
|
18
|
+
private readonly entityName;
|
|
19
|
+
private sourceRecord;
|
|
20
|
+
private _conversation?;
|
|
21
|
+
constructor(authParams?: OauthParams, authToken?: string);
|
|
22
|
+
get conversation(): ApiRecordLinkManager;
|
|
23
|
+
setRecord(sourceRecord: any): void;
|
|
24
|
+
schema(): Promise<import("@d19n/odin-types/dist/core").OdinSchema>;
|
|
25
|
+
search(params: Partial<OdinSearchV2>): Promise<import("@d19n/odin-sdk-generator/dist/odin-sdk-types").OdinSearchResponse<import("@d19n/odin-types/dist/core").OdinRecord<ConversationSummaryFeedbackProperties>>>;
|
|
26
|
+
searchAndPaginate(params: Partial<OdinSearchV2>): Promise<import("@d19n/odin-sdk-generator/dist/odin-sdk-types").OdinSearchResponse<import("@d19n/odin-types/dist/core").OdinRecord<ConversationSummaryFeedbackProperties>>>;
|
|
27
|
+
reIndex(body: {
|
|
28
|
+
id: string;
|
|
29
|
+
schemaId: string;
|
|
30
|
+
}[]): Promise<any>;
|
|
31
|
+
get(conversationSummaryFeedbackId: string): Promise<import("@d19n/odin-types/dist/core").OdinRecord<ConversationSummaryFeedbackProperties>>;
|
|
32
|
+
getMany(conversationSummaryFeedbackIds: string[]): Promise<import("@d19n/odin-types/dist/core").OdinRecord<ConversationSummaryFeedbackProperties>[]>;
|
|
33
|
+
upsert(upsertDto: OdinRecordCreateDto): Promise<import("@d19n/odin-sdk-generator/dist/odin-sdk-types").IDbRecordCreateUpdateRes>;
|
|
34
|
+
upsertMany(upsertDtos: OdinRecordCreateDto[]): Promise<import("@d19n/odin-sdk-generator/dist/odin-sdk-types").IDbRecordCreateUpdateRes[]>;
|
|
35
|
+
update(updateDto: OdinRecordUpdateDto): Promise<import("@d19n/odin-sdk-generator/dist/odin-sdk-types").IDbRecordCreateUpdateRes>;
|
|
36
|
+
updateMany(updateDtos: OdinRecordUpdateDto[]): Promise<import("@d19n/odin-sdk-generator/dist/odin-sdk-types").IDbRecordCreateUpdateRes[]>;
|
|
37
|
+
delete(conversationSummaryFeedbackId: string): Promise<import("@d19n/odin-sdk-generator/dist/odin-sdk-types").OdinDeleteResponse[]>;
|
|
38
|
+
deleteMany(conversationSummaryFeedbackIds: string[]): Promise<import("@d19n/odin-sdk-generator/dist/odin-sdk-types").OdinDeleteResponse[]>;
|
|
39
|
+
restore(conversationSummaryFeedbackIds: string[]): Promise<import("@d19n/odin-sdk-generator/dist/odin-sdk-types").OdinRestoreResponse[]>;
|
|
40
|
+
applyAction(dto: any): Promise<any[]>;
|
|
41
|
+
bulkApplyActions(dtos: any[]): Promise<any[]>;
|
|
42
|
+
getVersions(): Promise<{
|
|
43
|
+
[key: string]: Record<string, any>;
|
|
44
|
+
}>;
|
|
45
|
+
getRevisionTimeline(): Promise<{
|
|
46
|
+
[key: string]: Record<string, any>[];
|
|
47
|
+
}>;
|
|
48
|
+
}
|