@d19n/youfibre-odin-sdk 2.0.273 → 2.0.276
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 +20 -1
- package/dist/EntityRegistry.d.ts +4 -0
- package/dist/EntityRegistry.js +4 -0
- package/dist/OdinApiClient.d.ts +8 -0
- package/dist/OdinApiClient.js +16 -0
- package/dist/OdinDbClient.d.ts +8 -0
- package/dist/OdinDbClient.js +16 -0
- package/dist/accessors-v2/NotificationTemplateAccessor.d.ts +111 -0
- package/dist/accessors-v2/NotificationTemplateAccessor.js +190 -0
- package/dist/accessors-v2/SmsTemplateAccessor.d.ts +111 -0
- package/dist/accessors-v2/SmsTemplateAccessor.js +190 -0
- package/dist/accessors-v2/index.d.ts +2 -0
- package/dist/accessors-v2/index.js +6 -2
- package/dist/actions-v2/CreateAppointmentDto.d.ts +5 -5
- package/dist/actions-v2/CreateCollectionAmcoWorkOrderDto.d.ts +8 -1
- package/dist/actions-v2/CreateCollectionAmcoWorkOrderFromOrderDto.d.ts +8 -1
- package/dist/actions-v2/CreateInboundSupportEmailDto.d.ts +170 -0
- package/dist/actions-v2/CreateInboundSupportEmailDto.js +56 -0
- package/dist/actions-v2/CreateOutageEmailDto.d.ts +142 -0
- package/dist/actions-v2/CreateOutageEmailDto.js +56 -0
- package/dist/actions-v2/CreateOutboundSupportEmailDto.d.ts +149 -0
- package/dist/actions-v2/CreateOutboundSupportEmailDto.js +56 -0
- package/dist/actions-v2/RecordSmsAppointmentConfirmationDto.d.ts +86 -0
- package/dist/actions-v2/RecordSmsAppointmentConfirmationDto.js +56 -0
- package/dist/actions-v2/RecordSmsSurveyRatingDto.d.ts +86 -0
- package/dist/actions-v2/RecordSmsSurveyRatingDto.js +56 -0
- package/dist/actions-v2/ReturnCaseToAgentOnCustomerReplyDto.d.ts +86 -0
- package/dist/actions-v2/ReturnCaseToAgentOnCustomerReplyDto.js +56 -0
- package/dist/actions-v2/UpdateNotificationTemplateDto.d.ts +93 -0
- package/dist/actions-v2/UpdateNotificationTemplateDto.js +56 -0
- package/dist/actions-v2/UpdateSmsDeliveryStatusDto.d.ts +73 -0
- package/dist/actions-v2/UpdateSmsDeliveryStatusDto.js +56 -0
- package/dist/actions-v2/UpdateSmsTemplateDto.d.ts +79 -0
- package/dist/actions-v2/UpdateSmsTemplateDto.js +56 -0
- package/dist/db-accessors-v2/NotificationTemplateDbAccessor.d.ts +149 -0
- package/dist/db-accessors-v2/NotificationTemplateDbAccessor.js +227 -0
- package/dist/db-accessors-v2/SmsTemplateDbAccessor.d.ts +149 -0
- package/dist/db-accessors-v2/SmsTemplateDbAccessor.js +227 -0
- package/dist/db-accessors-v2/index.d.ts +2 -0
- package/dist/db-accessors-v2/index.js +6 -2
- package/dist/entities-v2/Case.d.ts +67 -94
- package/dist/entities-v2/Case.js +67 -94
- package/dist/entities-v2/File.d.ts +6 -0
- package/dist/entities-v2/File.js +5 -1
- package/dist/records-v2/CaseRecord.d.ts +28 -0
- package/dist/records-v2/CaseRecord.js +37 -0
- package/dist/records-v2/EmailRecord.d.ts +84 -0
- package/dist/records-v2/EmailRecord.js +111 -0
- package/dist/records-v2/NotificationTemplateRecord.d.ts +183 -0
- package/dist/records-v2/NotificationTemplateRecord.js +244 -0
- package/dist/records-v2/SmsMessageRecord.d.ts +83 -0
- package/dist/records-v2/SmsMessageRecord.js +106 -0
- package/dist/records-v2/SmsTemplateRecord.d.ts +183 -0
- package/dist/records-v2/SmsTemplateRecord.js +244 -0
- package/dist/records-v2/index.d.ts +2 -0
- package/dist/records-v2/index.js +7 -1
- package/dist/wholesale-provider/index.d.ts +1 -1
- package/dist/wholesale-provider/interface.d.ts +54 -0
- package/dist/wholesale-provider/providers/netomnia-provider.d.ts +8 -1
- package/dist/wholesale-provider/providers/netomnia-provider.js +3 -0
- package/dist/wholesale-provider/test/netomnia-provider.spec.js +31 -0
- package/package.json +1 -1
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* RecordSmsSurveyRating Action DTO
|
|
4
|
+
*
|
|
5
|
+
* Records a customer's SMS reply to a CSAT survey, storing the reply body and the rating derived from it. Feeds satisfaction reporting. Distinct from RecordSmsAppointmentConfirmation (which decides whether a visit goes ahead) and from UpdateSmsDeliveryStatus (which is a carrier callback, not a customer reply).
|
|
6
|
+
*
|
|
7
|
+
* @module NotificationModule
|
|
8
|
+
* @entity SmsMessage
|
|
9
|
+
* @actionKey RecordSmsSurveyRating
|
|
10
|
+
* @event k1.t-hEOJjsDb.NotificationModule.SmsMessage.Update.RecordSmsSurveyRating
|
|
11
|
+
*
|
|
12
|
+
* AUTO-GENERATED - DO NOT EDIT DIRECTLY
|
|
13
|
+
*/
|
|
14
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
15
|
+
exports.RecordSmsSurveyRatingDto = void 0;
|
|
16
|
+
const core_1 = require("@d19n/odin-types/dist/core");
|
|
17
|
+
/**
|
|
18
|
+
* RecordSmsSurveyRating
|
|
19
|
+
*
|
|
20
|
+
* Records a customer's SMS reply to a CSAT survey, storing the reply body and the rating derived from it. Feeds satisfaction reporting. Distinct from RecordSmsAppointmentConfirmation (which decides whether a visit goes ahead) and from UpdateSmsDeliveryStatus (which is a carrier callback, not a customer reply).
|
|
21
|
+
*
|
|
22
|
+
* @actionType UPDATE - Updates an existing SmsMessage record
|
|
23
|
+
* @module NotificationModule
|
|
24
|
+
* @entity SmsMessage
|
|
25
|
+
* @event k1.t-hEOJjsDb.NotificationModule.SmsMessage.Update.RecordSmsSurveyRating
|
|
26
|
+
* @permission schema.action.recordsmssurveyrating.trigger
|
|
27
|
+
* @benchmark This action is tracked for performance benchmarks
|
|
28
|
+
*/
|
|
29
|
+
class RecordSmsSurveyRatingDto extends core_1.OdinRecordUpdateDto {
|
|
30
|
+
constructor(record, properties, options) {
|
|
31
|
+
super({
|
|
32
|
+
id: record.id,
|
|
33
|
+
entity: record.entity,
|
|
34
|
+
type: record.type,
|
|
35
|
+
properties,
|
|
36
|
+
journeyId: options === null || options === void 0 ? void 0 : options.journeyId,
|
|
37
|
+
stageKey: options === null || options === void 0 ? void 0 : options.stageKey,
|
|
38
|
+
});
|
|
39
|
+
this.actionName = 'RecordSmsSurveyRating';
|
|
40
|
+
this.schemaActionId = 'ee92c419-2434-470d-a83c-fac4c5047267';
|
|
41
|
+
this.entity = 'NotificationModule:SmsMessage';
|
|
42
|
+
}
|
|
43
|
+
}
|
|
44
|
+
exports.RecordSmsSurveyRatingDto = RecordSmsSurveyRatingDto;
|
|
45
|
+
/** Used by SDK generators to identify action type */
|
|
46
|
+
RecordSmsSurveyRatingDto.ACTION_TYPE = 'UPDATE';
|
|
47
|
+
RecordSmsSurveyRatingDto.ACTION_KEY = 'RecordSmsSurveyRating';
|
|
48
|
+
RecordSmsSurveyRatingDto.MODULE_NAME = 'NotificationModule';
|
|
49
|
+
RecordSmsSurveyRatingDto.ENTITIES = ['SmsMessage'];
|
|
50
|
+
RecordSmsSurveyRatingDto.EVENT_NAME = 'k1.t-hEOJjsDb.NotificationModule.SmsMessage.Update.RecordSmsSurveyRating';
|
|
51
|
+
RecordSmsSurveyRatingDto.PERMISSION = 'schema.action.recordsmssurveyrating.trigger';
|
|
52
|
+
/** Step metadata - entity this action targets */
|
|
53
|
+
RecordSmsSurveyRatingDto.STEP_ENTITY = 'NotificationModule:SmsMessage';
|
|
54
|
+
RecordSmsSurveyRatingDto.STEP_SCHEMA_ID = 'de8aa864-5a08-45c7-b3d6-00f1e8cfa276';
|
|
55
|
+
RecordSmsSurveyRatingDto.STEP_SCHEMA_ACTION_ID = 'ee92c419-2434-470d-a83c-fac4c5047267';
|
|
56
|
+
RecordSmsSurveyRatingDto.AUTO_LINK_PARENT = false;
|
|
@@ -0,0 +1,86 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* ReturnCaseToAgentOnCustomerReply Action DTO
|
|
3
|
+
*
|
|
4
|
+
* Returns an email case to agent attention after the customer replies, and clears the blocked/snooze state (AdditionalNotes, BlockedReason, MoveToOpenOn) that only applied while we were waiting on them. The destination depends on the case's current stage and ownership — Pending Agent when pending or owned, Escalated when unowned and already escalated, otherwise back to the Open queue — so the caller supplies the stage via the action's options. Distinct from MoveDefaultCaseFromAnyStageToPendingAgent, which is a bare stage move carrying no properties.
|
|
5
|
+
*
|
|
6
|
+
* @module SupportModule
|
|
7
|
+
* @entity Case
|
|
8
|
+
* @actionKey ReturnCaseToAgentOnCustomerReply
|
|
9
|
+
* @event k1.t-hEOJjsDb.SupportModule.Case.Update.ReturnCaseToAgentOnCustomerReply
|
|
10
|
+
*
|
|
11
|
+
* AUTO-GENERATED - DO NOT EDIT DIRECTLY
|
|
12
|
+
*/
|
|
13
|
+
import { OdinRecord, OdinRecordUpdateDto, OdinRecordUpdatedEvent } from '@d19n/odin-types/dist/core';
|
|
14
|
+
/**
|
|
15
|
+
* RabbitMQ message payload for ReturnCaseToAgentOnCustomerReply updated events
|
|
16
|
+
*
|
|
17
|
+
* @event k1.t-hEOJjsDb.SupportModule.Case.Update.ReturnCaseToAgentOnCustomerReply
|
|
18
|
+
*/
|
|
19
|
+
export interface ReturnCaseToAgentOnCustomerReplyMessage extends OdinRecordUpdatedEvent<ReturnCaseToAgentOnCustomerReplyDto, ReturnCaseToAgentOnCustomerReplyProperties> {
|
|
20
|
+
}
|
|
21
|
+
/**
|
|
22
|
+
* Properties for ReturnCaseToAgentOnCustomerReply action
|
|
23
|
+
*
|
|
24
|
+
* @property Required fields: 0
|
|
25
|
+
* @property Optional fields: 3
|
|
26
|
+
*/
|
|
27
|
+
export interface ReturnCaseToAgentOnCustomerReplyProperties {
|
|
28
|
+
/**
|
|
29
|
+
* Additional notes
|
|
30
|
+
*
|
|
31
|
+
* Additional Notes (Customer Service - Case)
|
|
32
|
+
* @type {TEXT_LONG}
|
|
33
|
+
*/
|
|
34
|
+
AdditionalNotes?: string | null;
|
|
35
|
+
/**
|
|
36
|
+
* Blocked reason
|
|
37
|
+
*
|
|
38
|
+
* Blocked Reason (Customer Service - Case)
|
|
39
|
+
* @type {ENUM}
|
|
40
|
+
*/
|
|
41
|
+
BlockedReason?: string | null;
|
|
42
|
+
/**
|
|
43
|
+
* Move to open on
|
|
44
|
+
*
|
|
45
|
+
* Date to re-open the case (Customer Service - Case)
|
|
46
|
+
* @type {DATE}
|
|
47
|
+
*/
|
|
48
|
+
MoveToOpenOn?: string | null;
|
|
49
|
+
}
|
|
50
|
+
/**
|
|
51
|
+
* ReturnCaseToAgentOnCustomerReply
|
|
52
|
+
*
|
|
53
|
+
* Returns an email case to agent attention after the customer replies, and clears the blocked/snooze state (AdditionalNotes, BlockedReason, MoveToOpenOn) that only applied while we were waiting on them. The destination depends on the case's current stage and ownership — Pending Agent when pending or owned, Escalated when unowned and already escalated, otherwise back to the Open queue — so the caller supplies the stage via the action's options. Distinct from MoveDefaultCaseFromAnyStageToPendingAgent, which is a bare stage move carrying no properties.
|
|
54
|
+
*
|
|
55
|
+
* @actionType UPDATE - Updates an existing Case record
|
|
56
|
+
* @module SupportModule
|
|
57
|
+
* @entity Case
|
|
58
|
+
* @event k1.t-hEOJjsDb.SupportModule.Case.Update.ReturnCaseToAgentOnCustomerReply
|
|
59
|
+
* @permission schema.action.returncasetoagentoncustomerreply.trigger
|
|
60
|
+
* @benchmark This action is tracked for performance benchmarks
|
|
61
|
+
*/
|
|
62
|
+
export declare class ReturnCaseToAgentOnCustomerReplyDto extends OdinRecordUpdateDto<ReturnCaseToAgentOnCustomerReplyProperties> {
|
|
63
|
+
/** Used by SDK generators to identify action type */
|
|
64
|
+
static readonly ACTION_TYPE = "UPDATE";
|
|
65
|
+
static readonly ACTION_KEY = "ReturnCaseToAgentOnCustomerReply";
|
|
66
|
+
static readonly MODULE_NAME = "SupportModule";
|
|
67
|
+
static readonly ENTITIES: string[];
|
|
68
|
+
static readonly EVENT_NAME = "k1.t-hEOJjsDb.SupportModule.Case.Update.ReturnCaseToAgentOnCustomerReply";
|
|
69
|
+
static readonly PERMISSION = "schema.action.returncasetoagentoncustomerreply.trigger";
|
|
70
|
+
/** Step metadata - entity this action targets */
|
|
71
|
+
static readonly STEP_ENTITY = "SupportModule:Case";
|
|
72
|
+
static readonly STEP_SCHEMA_ID = "bb540d25-53bf-491b-9d03-f3d42f755b3a";
|
|
73
|
+
static readonly STEP_SCHEMA_ACTION_ID = "63a81e6b-a473-40c0-87e1-8997144d5b07";
|
|
74
|
+
static readonly AUTO_LINK_PARENT = false;
|
|
75
|
+
readonly actionName: string;
|
|
76
|
+
readonly schemaActionId: string;
|
|
77
|
+
readonly entity: string;
|
|
78
|
+
constructor(record: OdinRecord<any> | {
|
|
79
|
+
id: string;
|
|
80
|
+
entity: string;
|
|
81
|
+
type?: string;
|
|
82
|
+
}, properties: ReturnCaseToAgentOnCustomerReplyProperties, options?: {
|
|
83
|
+
journeyId?: string;
|
|
84
|
+
stageKey?: string;
|
|
85
|
+
});
|
|
86
|
+
}
|
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* ReturnCaseToAgentOnCustomerReply Action DTO
|
|
4
|
+
*
|
|
5
|
+
* Returns an email case to agent attention after the customer replies, and clears the blocked/snooze state (AdditionalNotes, BlockedReason, MoveToOpenOn) that only applied while we were waiting on them. The destination depends on the case's current stage and ownership — Pending Agent when pending or owned, Escalated when unowned and already escalated, otherwise back to the Open queue — so the caller supplies the stage via the action's options. Distinct from MoveDefaultCaseFromAnyStageToPendingAgent, which is a bare stage move carrying no properties.
|
|
6
|
+
*
|
|
7
|
+
* @module SupportModule
|
|
8
|
+
* @entity Case
|
|
9
|
+
* @actionKey ReturnCaseToAgentOnCustomerReply
|
|
10
|
+
* @event k1.t-hEOJjsDb.SupportModule.Case.Update.ReturnCaseToAgentOnCustomerReply
|
|
11
|
+
*
|
|
12
|
+
* AUTO-GENERATED - DO NOT EDIT DIRECTLY
|
|
13
|
+
*/
|
|
14
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
15
|
+
exports.ReturnCaseToAgentOnCustomerReplyDto = void 0;
|
|
16
|
+
const core_1 = require("@d19n/odin-types/dist/core");
|
|
17
|
+
/**
|
|
18
|
+
* ReturnCaseToAgentOnCustomerReply
|
|
19
|
+
*
|
|
20
|
+
* Returns an email case to agent attention after the customer replies, and clears the blocked/snooze state (AdditionalNotes, BlockedReason, MoveToOpenOn) that only applied while we were waiting on them. The destination depends on the case's current stage and ownership — Pending Agent when pending or owned, Escalated when unowned and already escalated, otherwise back to the Open queue — so the caller supplies the stage via the action's options. Distinct from MoveDefaultCaseFromAnyStageToPendingAgent, which is a bare stage move carrying no properties.
|
|
21
|
+
*
|
|
22
|
+
* @actionType UPDATE - Updates an existing Case record
|
|
23
|
+
* @module SupportModule
|
|
24
|
+
* @entity Case
|
|
25
|
+
* @event k1.t-hEOJjsDb.SupportModule.Case.Update.ReturnCaseToAgentOnCustomerReply
|
|
26
|
+
* @permission schema.action.returncasetoagentoncustomerreply.trigger
|
|
27
|
+
* @benchmark This action is tracked for performance benchmarks
|
|
28
|
+
*/
|
|
29
|
+
class ReturnCaseToAgentOnCustomerReplyDto extends core_1.OdinRecordUpdateDto {
|
|
30
|
+
constructor(record, properties, options) {
|
|
31
|
+
super({
|
|
32
|
+
id: record.id,
|
|
33
|
+
entity: record.entity,
|
|
34
|
+
type: record.type,
|
|
35
|
+
properties,
|
|
36
|
+
journeyId: options === null || options === void 0 ? void 0 : options.journeyId,
|
|
37
|
+
stageKey: options === null || options === void 0 ? void 0 : options.stageKey,
|
|
38
|
+
});
|
|
39
|
+
this.actionName = 'ReturnCaseToAgentOnCustomerReply';
|
|
40
|
+
this.schemaActionId = '63a81e6b-a473-40c0-87e1-8997144d5b07';
|
|
41
|
+
this.entity = 'SupportModule:Case';
|
|
42
|
+
}
|
|
43
|
+
}
|
|
44
|
+
exports.ReturnCaseToAgentOnCustomerReplyDto = ReturnCaseToAgentOnCustomerReplyDto;
|
|
45
|
+
/** Used by SDK generators to identify action type */
|
|
46
|
+
ReturnCaseToAgentOnCustomerReplyDto.ACTION_TYPE = 'UPDATE';
|
|
47
|
+
ReturnCaseToAgentOnCustomerReplyDto.ACTION_KEY = 'ReturnCaseToAgentOnCustomerReply';
|
|
48
|
+
ReturnCaseToAgentOnCustomerReplyDto.MODULE_NAME = 'SupportModule';
|
|
49
|
+
ReturnCaseToAgentOnCustomerReplyDto.ENTITIES = ['Case'];
|
|
50
|
+
ReturnCaseToAgentOnCustomerReplyDto.EVENT_NAME = 'k1.t-hEOJjsDb.SupportModule.Case.Update.ReturnCaseToAgentOnCustomerReply';
|
|
51
|
+
ReturnCaseToAgentOnCustomerReplyDto.PERMISSION = 'schema.action.returncasetoagentoncustomerreply.trigger';
|
|
52
|
+
/** Step metadata - entity this action targets */
|
|
53
|
+
ReturnCaseToAgentOnCustomerReplyDto.STEP_ENTITY = 'SupportModule:Case';
|
|
54
|
+
ReturnCaseToAgentOnCustomerReplyDto.STEP_SCHEMA_ID = 'bb540d25-53bf-491b-9d03-f3d42f755b3a';
|
|
55
|
+
ReturnCaseToAgentOnCustomerReplyDto.STEP_SCHEMA_ACTION_ID = '63a81e6b-a473-40c0-87e1-8997144d5b07';
|
|
56
|
+
ReturnCaseToAgentOnCustomerReplyDto.AUTO_LINK_PARENT = false;
|
|
@@ -0,0 +1,93 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* UpdateNotificationTemplate Action DTO
|
|
3
|
+
*
|
|
4
|
+
* Edits a push-notification template — its title, body, deep link and the sample payload used to preview it. Label is intentionally not editable here: it is the stable key that send-time lookups resolve templates by, so a rename would silently break them.
|
|
5
|
+
*
|
|
6
|
+
* @module NotificationModule
|
|
7
|
+
* @entity NotificationTemplate
|
|
8
|
+
* @actionKey UpdateNotificationTemplate
|
|
9
|
+
* @event k1.t-hEOJjsDb.NotificationModule.NotificationTemplate.Update.UpdateNotificationTemplate
|
|
10
|
+
*
|
|
11
|
+
* AUTO-GENERATED - DO NOT EDIT DIRECTLY
|
|
12
|
+
*/
|
|
13
|
+
import { OdinRecord, OdinRecordUpdateDto, OdinRecordUpdatedEvent } from '@d19n/odin-types/dist/core';
|
|
14
|
+
/**
|
|
15
|
+
* RabbitMQ message payload for UpdateNotificationTemplate updated events
|
|
16
|
+
*
|
|
17
|
+
* @event k1.t-hEOJjsDb.NotificationModule.NotificationTemplate.Update.UpdateNotificationTemplate
|
|
18
|
+
*/
|
|
19
|
+
export interface UpdateNotificationTemplateMessage extends OdinRecordUpdatedEvent<UpdateNotificationTemplateDto, UpdateNotificationTemplateProperties> {
|
|
20
|
+
}
|
|
21
|
+
/**
|
|
22
|
+
* Properties for UpdateNotificationTemplate action
|
|
23
|
+
*
|
|
24
|
+
* @property Required fields: 0
|
|
25
|
+
* @property Optional fields: 4
|
|
26
|
+
*/
|
|
27
|
+
export interface UpdateNotificationTemplateProperties {
|
|
28
|
+
/**
|
|
29
|
+
* Title
|
|
30
|
+
*
|
|
31
|
+
* Title of the notification (Communications - NotificationTemplate)
|
|
32
|
+
* @type {TEXT}
|
|
33
|
+
*/
|
|
34
|
+
Title?: string | null;
|
|
35
|
+
/**
|
|
36
|
+
* Template body
|
|
37
|
+
*
|
|
38
|
+
* body of the notification (Communications - NotificationTemplate)
|
|
39
|
+
* @type {TEXT_LONG}
|
|
40
|
+
*/
|
|
41
|
+
Template?: string | null;
|
|
42
|
+
/**
|
|
43
|
+
* Deep link
|
|
44
|
+
*
|
|
45
|
+
* Data field for NotificationTemplate records. Used by Communications team.
|
|
46
|
+
* @type {TEXT}
|
|
47
|
+
*/
|
|
48
|
+
Link?: string | null;
|
|
49
|
+
/**
|
|
50
|
+
* Sample data
|
|
51
|
+
*
|
|
52
|
+
* JSON data for test (Communications - NotificationTemplate)
|
|
53
|
+
* @type {JSON}
|
|
54
|
+
*/
|
|
55
|
+
SampleData?: string | null;
|
|
56
|
+
}
|
|
57
|
+
/**
|
|
58
|
+
* UpdateNotificationTemplate
|
|
59
|
+
*
|
|
60
|
+
* Edits a push-notification template — its title, body, deep link and the sample payload used to preview it. Label is intentionally not editable here: it is the stable key that send-time lookups resolve templates by, so a rename would silently break them.
|
|
61
|
+
*
|
|
62
|
+
* @actionType UPDATE - Updates an existing NotificationTemplate record
|
|
63
|
+
* @module NotificationModule
|
|
64
|
+
* @entity NotificationTemplate
|
|
65
|
+
* @event k1.t-hEOJjsDb.NotificationModule.NotificationTemplate.Update.UpdateNotificationTemplate
|
|
66
|
+
* @permission schema.action.updatenotificationtemplate.trigger
|
|
67
|
+
* @benchmark This action is tracked for performance benchmarks
|
|
68
|
+
*/
|
|
69
|
+
export declare class UpdateNotificationTemplateDto extends OdinRecordUpdateDto<UpdateNotificationTemplateProperties> {
|
|
70
|
+
/** Used by SDK generators to identify action type */
|
|
71
|
+
static readonly ACTION_TYPE = "UPDATE";
|
|
72
|
+
static readonly ACTION_KEY = "UpdateNotificationTemplate";
|
|
73
|
+
static readonly MODULE_NAME = "NotificationModule";
|
|
74
|
+
static readonly ENTITIES: string[];
|
|
75
|
+
static readonly EVENT_NAME = "k1.t-hEOJjsDb.NotificationModule.NotificationTemplate.Update.UpdateNotificationTemplate";
|
|
76
|
+
static readonly PERMISSION = "schema.action.updatenotificationtemplate.trigger";
|
|
77
|
+
/** Step metadata - entity this action targets */
|
|
78
|
+
static readonly STEP_ENTITY = "NotificationModule:NotificationTemplate";
|
|
79
|
+
static readonly STEP_SCHEMA_ID = "fbd3a3a8-e447-4f87-bbda-41b53220328e";
|
|
80
|
+
static readonly STEP_SCHEMA_ACTION_ID = "f2ed53d3-7346-40dc-a768-e715c744ddaa";
|
|
81
|
+
static readonly AUTO_LINK_PARENT = false;
|
|
82
|
+
readonly actionName: string;
|
|
83
|
+
readonly schemaActionId: string;
|
|
84
|
+
readonly entity: string;
|
|
85
|
+
constructor(record: OdinRecord<any> | {
|
|
86
|
+
id: string;
|
|
87
|
+
entity: string;
|
|
88
|
+
type?: string;
|
|
89
|
+
}, properties: UpdateNotificationTemplateProperties, options?: {
|
|
90
|
+
journeyId?: string;
|
|
91
|
+
stageKey?: string;
|
|
92
|
+
});
|
|
93
|
+
}
|
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* UpdateNotificationTemplate Action DTO
|
|
4
|
+
*
|
|
5
|
+
* Edits a push-notification template — its title, body, deep link and the sample payload used to preview it. Label is intentionally not editable here: it is the stable key that send-time lookups resolve templates by, so a rename would silently break them.
|
|
6
|
+
*
|
|
7
|
+
* @module NotificationModule
|
|
8
|
+
* @entity NotificationTemplate
|
|
9
|
+
* @actionKey UpdateNotificationTemplate
|
|
10
|
+
* @event k1.t-hEOJjsDb.NotificationModule.NotificationTemplate.Update.UpdateNotificationTemplate
|
|
11
|
+
*
|
|
12
|
+
* AUTO-GENERATED - DO NOT EDIT DIRECTLY
|
|
13
|
+
*/
|
|
14
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
15
|
+
exports.UpdateNotificationTemplateDto = void 0;
|
|
16
|
+
const core_1 = require("@d19n/odin-types/dist/core");
|
|
17
|
+
/**
|
|
18
|
+
* UpdateNotificationTemplate
|
|
19
|
+
*
|
|
20
|
+
* Edits a push-notification template — its title, body, deep link and the sample payload used to preview it. Label is intentionally not editable here: it is the stable key that send-time lookups resolve templates by, so a rename would silently break them.
|
|
21
|
+
*
|
|
22
|
+
* @actionType UPDATE - Updates an existing NotificationTemplate record
|
|
23
|
+
* @module NotificationModule
|
|
24
|
+
* @entity NotificationTemplate
|
|
25
|
+
* @event k1.t-hEOJjsDb.NotificationModule.NotificationTemplate.Update.UpdateNotificationTemplate
|
|
26
|
+
* @permission schema.action.updatenotificationtemplate.trigger
|
|
27
|
+
* @benchmark This action is tracked for performance benchmarks
|
|
28
|
+
*/
|
|
29
|
+
class UpdateNotificationTemplateDto extends core_1.OdinRecordUpdateDto {
|
|
30
|
+
constructor(record, properties, options) {
|
|
31
|
+
super({
|
|
32
|
+
id: record.id,
|
|
33
|
+
entity: record.entity,
|
|
34
|
+
type: record.type,
|
|
35
|
+
properties,
|
|
36
|
+
journeyId: options === null || options === void 0 ? void 0 : options.journeyId,
|
|
37
|
+
stageKey: options === null || options === void 0 ? void 0 : options.stageKey,
|
|
38
|
+
});
|
|
39
|
+
this.actionName = 'UpdateNotificationTemplate';
|
|
40
|
+
this.schemaActionId = 'f2ed53d3-7346-40dc-a768-e715c744ddaa';
|
|
41
|
+
this.entity = 'NotificationModule:NotificationTemplate';
|
|
42
|
+
}
|
|
43
|
+
}
|
|
44
|
+
exports.UpdateNotificationTemplateDto = UpdateNotificationTemplateDto;
|
|
45
|
+
/** Used by SDK generators to identify action type */
|
|
46
|
+
UpdateNotificationTemplateDto.ACTION_TYPE = 'UPDATE';
|
|
47
|
+
UpdateNotificationTemplateDto.ACTION_KEY = 'UpdateNotificationTemplate';
|
|
48
|
+
UpdateNotificationTemplateDto.MODULE_NAME = 'NotificationModule';
|
|
49
|
+
UpdateNotificationTemplateDto.ENTITIES = ['NotificationTemplate'];
|
|
50
|
+
UpdateNotificationTemplateDto.EVENT_NAME = 'k1.t-hEOJjsDb.NotificationModule.NotificationTemplate.Update.UpdateNotificationTemplate';
|
|
51
|
+
UpdateNotificationTemplateDto.PERMISSION = 'schema.action.updatenotificationtemplate.trigger';
|
|
52
|
+
/** Step metadata - entity this action targets */
|
|
53
|
+
UpdateNotificationTemplateDto.STEP_ENTITY = 'NotificationModule:NotificationTemplate';
|
|
54
|
+
UpdateNotificationTemplateDto.STEP_SCHEMA_ID = 'fbd3a3a8-e447-4f87-bbda-41b53220328e';
|
|
55
|
+
UpdateNotificationTemplateDto.STEP_SCHEMA_ACTION_ID = 'f2ed53d3-7346-40dc-a768-e715c744ddaa';
|
|
56
|
+
UpdateNotificationTemplateDto.AUTO_LINK_PARENT = false;
|
|
@@ -0,0 +1,73 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* UpdateSmsDeliveryStatus Action DTO
|
|
3
|
+
*
|
|
4
|
+
* Records Twilio's delivery-status callback for an outbound SMS, matched on the Twilio SmsSid. Carries the carrier delivery state only — it is not a customer reply. Fired from both the work-order-confirmation and survey webhooks, which receive the same status callback shape.
|
|
5
|
+
*
|
|
6
|
+
* @module NotificationModule
|
|
7
|
+
* @entity SmsMessage
|
|
8
|
+
* @actionKey UpdateSmsDeliveryStatus
|
|
9
|
+
* @event k1.t-hEOJjsDb.NotificationModule.SmsMessage.Update.UpdateSmsDeliveryStatus
|
|
10
|
+
*
|
|
11
|
+
* AUTO-GENERATED - DO NOT EDIT DIRECTLY
|
|
12
|
+
*/
|
|
13
|
+
import { OdinRecord, OdinRecordUpdateDto, OdinRecordUpdatedEvent } from '@d19n/odin-types/dist/core';
|
|
14
|
+
/**
|
|
15
|
+
* RabbitMQ message payload for UpdateSmsDeliveryStatus updated events
|
|
16
|
+
*
|
|
17
|
+
* @event k1.t-hEOJjsDb.NotificationModule.SmsMessage.Update.UpdateSmsDeliveryStatus
|
|
18
|
+
*/
|
|
19
|
+
export interface UpdateSmsDeliveryStatusMessage extends OdinRecordUpdatedEvent<UpdateSmsDeliveryStatusDto, UpdateSmsDeliveryStatusProperties> {
|
|
20
|
+
}
|
|
21
|
+
/**
|
|
22
|
+
* Properties for UpdateSmsDeliveryStatus action
|
|
23
|
+
*
|
|
24
|
+
* @property Required fields: 1
|
|
25
|
+
* @property Optional fields: 0
|
|
26
|
+
*/
|
|
27
|
+
export interface UpdateSmsDeliveryStatusProperties {
|
|
28
|
+
/**
|
|
29
|
+
* SMS status
|
|
30
|
+
*
|
|
31
|
+
* The status of the message (Communications - SmsMessage)
|
|
32
|
+
* @type {TEXT}
|
|
33
|
+
* @required
|
|
34
|
+
*/
|
|
35
|
+
SmsStatus: string;
|
|
36
|
+
}
|
|
37
|
+
/**
|
|
38
|
+
* UpdateSmsDeliveryStatus
|
|
39
|
+
*
|
|
40
|
+
* Records Twilio's delivery-status callback for an outbound SMS, matched on the Twilio SmsSid. Carries the carrier delivery state only — it is not a customer reply. Fired from both the work-order-confirmation and survey webhooks, which receive the same status callback shape.
|
|
41
|
+
*
|
|
42
|
+
* @actionType UPDATE - Updates an existing SmsMessage record
|
|
43
|
+
* @module NotificationModule
|
|
44
|
+
* @entity SmsMessage
|
|
45
|
+
* @event k1.t-hEOJjsDb.NotificationModule.SmsMessage.Update.UpdateSmsDeliveryStatus
|
|
46
|
+
* @permission schema.action.updatesmsdeliverystatus.trigger
|
|
47
|
+
* @benchmark This action is tracked for performance benchmarks
|
|
48
|
+
*/
|
|
49
|
+
export declare class UpdateSmsDeliveryStatusDto extends OdinRecordUpdateDto<UpdateSmsDeliveryStatusProperties> {
|
|
50
|
+
/** Used by SDK generators to identify action type */
|
|
51
|
+
static readonly ACTION_TYPE = "UPDATE";
|
|
52
|
+
static readonly ACTION_KEY = "UpdateSmsDeliveryStatus";
|
|
53
|
+
static readonly MODULE_NAME = "NotificationModule";
|
|
54
|
+
static readonly ENTITIES: string[];
|
|
55
|
+
static readonly EVENT_NAME = "k1.t-hEOJjsDb.NotificationModule.SmsMessage.Update.UpdateSmsDeliveryStatus";
|
|
56
|
+
static readonly PERMISSION = "schema.action.updatesmsdeliverystatus.trigger";
|
|
57
|
+
/** Step metadata - entity this action targets */
|
|
58
|
+
static readonly STEP_ENTITY = "NotificationModule:SmsMessage";
|
|
59
|
+
static readonly STEP_SCHEMA_ID = "de8aa864-5a08-45c7-b3d6-00f1e8cfa276";
|
|
60
|
+
static readonly STEP_SCHEMA_ACTION_ID = "0ff8d41d-17e8-435f-a1a3-bc22f8f1055a";
|
|
61
|
+
static readonly AUTO_LINK_PARENT = false;
|
|
62
|
+
readonly actionName: string;
|
|
63
|
+
readonly schemaActionId: string;
|
|
64
|
+
readonly entity: string;
|
|
65
|
+
constructor(record: OdinRecord<any> | {
|
|
66
|
+
id: string;
|
|
67
|
+
entity: string;
|
|
68
|
+
type?: string;
|
|
69
|
+
}, properties: UpdateSmsDeliveryStatusProperties, options?: {
|
|
70
|
+
journeyId?: string;
|
|
71
|
+
stageKey?: string;
|
|
72
|
+
});
|
|
73
|
+
}
|
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* UpdateSmsDeliveryStatus Action DTO
|
|
4
|
+
*
|
|
5
|
+
* Records Twilio's delivery-status callback for an outbound SMS, matched on the Twilio SmsSid. Carries the carrier delivery state only — it is not a customer reply. Fired from both the work-order-confirmation and survey webhooks, which receive the same status callback shape.
|
|
6
|
+
*
|
|
7
|
+
* @module NotificationModule
|
|
8
|
+
* @entity SmsMessage
|
|
9
|
+
* @actionKey UpdateSmsDeliveryStatus
|
|
10
|
+
* @event k1.t-hEOJjsDb.NotificationModule.SmsMessage.Update.UpdateSmsDeliveryStatus
|
|
11
|
+
*
|
|
12
|
+
* AUTO-GENERATED - DO NOT EDIT DIRECTLY
|
|
13
|
+
*/
|
|
14
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
15
|
+
exports.UpdateSmsDeliveryStatusDto = void 0;
|
|
16
|
+
const core_1 = require("@d19n/odin-types/dist/core");
|
|
17
|
+
/**
|
|
18
|
+
* UpdateSmsDeliveryStatus
|
|
19
|
+
*
|
|
20
|
+
* Records Twilio's delivery-status callback for an outbound SMS, matched on the Twilio SmsSid. Carries the carrier delivery state only — it is not a customer reply. Fired from both the work-order-confirmation and survey webhooks, which receive the same status callback shape.
|
|
21
|
+
*
|
|
22
|
+
* @actionType UPDATE - Updates an existing SmsMessage record
|
|
23
|
+
* @module NotificationModule
|
|
24
|
+
* @entity SmsMessage
|
|
25
|
+
* @event k1.t-hEOJjsDb.NotificationModule.SmsMessage.Update.UpdateSmsDeliveryStatus
|
|
26
|
+
* @permission schema.action.updatesmsdeliverystatus.trigger
|
|
27
|
+
* @benchmark This action is tracked for performance benchmarks
|
|
28
|
+
*/
|
|
29
|
+
class UpdateSmsDeliveryStatusDto extends core_1.OdinRecordUpdateDto {
|
|
30
|
+
constructor(record, properties, options) {
|
|
31
|
+
super({
|
|
32
|
+
id: record.id,
|
|
33
|
+
entity: record.entity,
|
|
34
|
+
type: record.type,
|
|
35
|
+
properties,
|
|
36
|
+
journeyId: options === null || options === void 0 ? void 0 : options.journeyId,
|
|
37
|
+
stageKey: options === null || options === void 0 ? void 0 : options.stageKey,
|
|
38
|
+
});
|
|
39
|
+
this.actionName = 'UpdateSmsDeliveryStatus';
|
|
40
|
+
this.schemaActionId = '0ff8d41d-17e8-435f-a1a3-bc22f8f1055a';
|
|
41
|
+
this.entity = 'NotificationModule:SmsMessage';
|
|
42
|
+
}
|
|
43
|
+
}
|
|
44
|
+
exports.UpdateSmsDeliveryStatusDto = UpdateSmsDeliveryStatusDto;
|
|
45
|
+
/** Used by SDK generators to identify action type */
|
|
46
|
+
UpdateSmsDeliveryStatusDto.ACTION_TYPE = 'UPDATE';
|
|
47
|
+
UpdateSmsDeliveryStatusDto.ACTION_KEY = 'UpdateSmsDeliveryStatus';
|
|
48
|
+
UpdateSmsDeliveryStatusDto.MODULE_NAME = 'NotificationModule';
|
|
49
|
+
UpdateSmsDeliveryStatusDto.ENTITIES = ['SmsMessage'];
|
|
50
|
+
UpdateSmsDeliveryStatusDto.EVENT_NAME = 'k1.t-hEOJjsDb.NotificationModule.SmsMessage.Update.UpdateSmsDeliveryStatus';
|
|
51
|
+
UpdateSmsDeliveryStatusDto.PERMISSION = 'schema.action.updatesmsdeliverystatus.trigger';
|
|
52
|
+
/** Step metadata - entity this action targets */
|
|
53
|
+
UpdateSmsDeliveryStatusDto.STEP_ENTITY = 'NotificationModule:SmsMessage';
|
|
54
|
+
UpdateSmsDeliveryStatusDto.STEP_SCHEMA_ID = 'de8aa864-5a08-45c7-b3d6-00f1e8cfa276';
|
|
55
|
+
UpdateSmsDeliveryStatusDto.STEP_SCHEMA_ACTION_ID = '0ff8d41d-17e8-435f-a1a3-bc22f8f1055a';
|
|
56
|
+
UpdateSmsDeliveryStatusDto.AUTO_LINK_PARENT = false;
|
|
@@ -0,0 +1,79 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* UpdateSmsTemplate Action DTO
|
|
3
|
+
*
|
|
4
|
+
* Edits an SMS template — its message body and the sample payload used to preview it. Label is intentionally not editable here: it is the stable key that send-time lookups resolve templates by, so a rename would silently break them.
|
|
5
|
+
*
|
|
6
|
+
* @module NotificationModule
|
|
7
|
+
* @entity SmsTemplate
|
|
8
|
+
* @actionKey UpdateSmsTemplate
|
|
9
|
+
* @event k1.t-hEOJjsDb.NotificationModule.SmsTemplate.Update.UpdateSmsTemplate
|
|
10
|
+
*
|
|
11
|
+
* AUTO-GENERATED - DO NOT EDIT DIRECTLY
|
|
12
|
+
*/
|
|
13
|
+
import { OdinRecord, OdinRecordUpdateDto, OdinRecordUpdatedEvent } from '@d19n/odin-types/dist/core';
|
|
14
|
+
/**
|
|
15
|
+
* RabbitMQ message payload for UpdateSmsTemplate updated events
|
|
16
|
+
*
|
|
17
|
+
* @event k1.t-hEOJjsDb.NotificationModule.SmsTemplate.Update.UpdateSmsTemplate
|
|
18
|
+
*/
|
|
19
|
+
export interface UpdateSmsTemplateMessage extends OdinRecordUpdatedEvent<UpdateSmsTemplateDto, UpdateSmsTemplateProperties> {
|
|
20
|
+
}
|
|
21
|
+
/**
|
|
22
|
+
* Properties for UpdateSmsTemplate action
|
|
23
|
+
*
|
|
24
|
+
* @property Required fields: 0
|
|
25
|
+
* @property Optional fields: 2
|
|
26
|
+
*/
|
|
27
|
+
export interface UpdateSmsTemplateProperties {
|
|
28
|
+
/**
|
|
29
|
+
* Template body
|
|
30
|
+
*
|
|
31
|
+
* Text to send (Communications - SmsTemplate)
|
|
32
|
+
* @type {TEXT_LONG}
|
|
33
|
+
*/
|
|
34
|
+
Template?: string | null;
|
|
35
|
+
/**
|
|
36
|
+
* Sample data
|
|
37
|
+
*
|
|
38
|
+
* Data to test the UI (Communications - SmsTemplate)
|
|
39
|
+
* @type {JSON}
|
|
40
|
+
*/
|
|
41
|
+
SampleData?: string | null;
|
|
42
|
+
}
|
|
43
|
+
/**
|
|
44
|
+
* UpdateSmsTemplate
|
|
45
|
+
*
|
|
46
|
+
* Edits an SMS template — its message body and the sample payload used to preview it. Label is intentionally not editable here: it is the stable key that send-time lookups resolve templates by, so a rename would silently break them.
|
|
47
|
+
*
|
|
48
|
+
* @actionType UPDATE - Updates an existing SmsTemplate record
|
|
49
|
+
* @module NotificationModule
|
|
50
|
+
* @entity SmsTemplate
|
|
51
|
+
* @event k1.t-hEOJjsDb.NotificationModule.SmsTemplate.Update.UpdateSmsTemplate
|
|
52
|
+
* @permission schema.action.updatesmstemplate.trigger
|
|
53
|
+
* @benchmark This action is tracked for performance benchmarks
|
|
54
|
+
*/
|
|
55
|
+
export declare class UpdateSmsTemplateDto extends OdinRecordUpdateDto<UpdateSmsTemplateProperties> {
|
|
56
|
+
/** Used by SDK generators to identify action type */
|
|
57
|
+
static readonly ACTION_TYPE = "UPDATE";
|
|
58
|
+
static readonly ACTION_KEY = "UpdateSmsTemplate";
|
|
59
|
+
static readonly MODULE_NAME = "NotificationModule";
|
|
60
|
+
static readonly ENTITIES: string[];
|
|
61
|
+
static readonly EVENT_NAME = "k1.t-hEOJjsDb.NotificationModule.SmsTemplate.Update.UpdateSmsTemplate";
|
|
62
|
+
static readonly PERMISSION = "schema.action.updatesmstemplate.trigger";
|
|
63
|
+
/** Step metadata - entity this action targets */
|
|
64
|
+
static readonly STEP_ENTITY = "NotificationModule:SmsTemplate";
|
|
65
|
+
static readonly STEP_SCHEMA_ID = "bfae6de3-4386-47d8-ba5d-f68e7d1856a2";
|
|
66
|
+
static readonly STEP_SCHEMA_ACTION_ID = "363fe02d-d8c8-450d-bfd3-28f44adbb67b";
|
|
67
|
+
static readonly AUTO_LINK_PARENT = false;
|
|
68
|
+
readonly actionName: string;
|
|
69
|
+
readonly schemaActionId: string;
|
|
70
|
+
readonly entity: string;
|
|
71
|
+
constructor(record: OdinRecord<any> | {
|
|
72
|
+
id: string;
|
|
73
|
+
entity: string;
|
|
74
|
+
type?: string;
|
|
75
|
+
}, properties: UpdateSmsTemplateProperties, options?: {
|
|
76
|
+
journeyId?: string;
|
|
77
|
+
stageKey?: string;
|
|
78
|
+
});
|
|
79
|
+
}
|
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* UpdateSmsTemplate Action DTO
|
|
4
|
+
*
|
|
5
|
+
* Edits an SMS template — its message body and the sample payload used to preview it. Label is intentionally not editable here: it is the stable key that send-time lookups resolve templates by, so a rename would silently break them.
|
|
6
|
+
*
|
|
7
|
+
* @module NotificationModule
|
|
8
|
+
* @entity SmsTemplate
|
|
9
|
+
* @actionKey UpdateSmsTemplate
|
|
10
|
+
* @event k1.t-hEOJjsDb.NotificationModule.SmsTemplate.Update.UpdateSmsTemplate
|
|
11
|
+
*
|
|
12
|
+
* AUTO-GENERATED - DO NOT EDIT DIRECTLY
|
|
13
|
+
*/
|
|
14
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
15
|
+
exports.UpdateSmsTemplateDto = void 0;
|
|
16
|
+
const core_1 = require("@d19n/odin-types/dist/core");
|
|
17
|
+
/**
|
|
18
|
+
* UpdateSmsTemplate
|
|
19
|
+
*
|
|
20
|
+
* Edits an SMS template — its message body and the sample payload used to preview it. Label is intentionally not editable here: it is the stable key that send-time lookups resolve templates by, so a rename would silently break them.
|
|
21
|
+
*
|
|
22
|
+
* @actionType UPDATE - Updates an existing SmsTemplate record
|
|
23
|
+
* @module NotificationModule
|
|
24
|
+
* @entity SmsTemplate
|
|
25
|
+
* @event k1.t-hEOJjsDb.NotificationModule.SmsTemplate.Update.UpdateSmsTemplate
|
|
26
|
+
* @permission schema.action.updatesmstemplate.trigger
|
|
27
|
+
* @benchmark This action is tracked for performance benchmarks
|
|
28
|
+
*/
|
|
29
|
+
class UpdateSmsTemplateDto extends core_1.OdinRecordUpdateDto {
|
|
30
|
+
constructor(record, properties, options) {
|
|
31
|
+
super({
|
|
32
|
+
id: record.id,
|
|
33
|
+
entity: record.entity,
|
|
34
|
+
type: record.type,
|
|
35
|
+
properties,
|
|
36
|
+
journeyId: options === null || options === void 0 ? void 0 : options.journeyId,
|
|
37
|
+
stageKey: options === null || options === void 0 ? void 0 : options.stageKey,
|
|
38
|
+
});
|
|
39
|
+
this.actionName = 'UpdateSmsTemplate';
|
|
40
|
+
this.schemaActionId = '363fe02d-d8c8-450d-bfd3-28f44adbb67b';
|
|
41
|
+
this.entity = 'NotificationModule:SmsTemplate';
|
|
42
|
+
}
|
|
43
|
+
}
|
|
44
|
+
exports.UpdateSmsTemplateDto = UpdateSmsTemplateDto;
|
|
45
|
+
/** Used by SDK generators to identify action type */
|
|
46
|
+
UpdateSmsTemplateDto.ACTION_TYPE = 'UPDATE';
|
|
47
|
+
UpdateSmsTemplateDto.ACTION_KEY = 'UpdateSmsTemplate';
|
|
48
|
+
UpdateSmsTemplateDto.MODULE_NAME = 'NotificationModule';
|
|
49
|
+
UpdateSmsTemplateDto.ENTITIES = ['SmsTemplate'];
|
|
50
|
+
UpdateSmsTemplateDto.EVENT_NAME = 'k1.t-hEOJjsDb.NotificationModule.SmsTemplate.Update.UpdateSmsTemplate';
|
|
51
|
+
UpdateSmsTemplateDto.PERMISSION = 'schema.action.updatesmstemplate.trigger';
|
|
52
|
+
/** Step metadata - entity this action targets */
|
|
53
|
+
UpdateSmsTemplateDto.STEP_ENTITY = 'NotificationModule:SmsTemplate';
|
|
54
|
+
UpdateSmsTemplateDto.STEP_SCHEMA_ID = 'bfae6de3-4386-47d8-ba5d-f68e7d1856a2';
|
|
55
|
+
UpdateSmsTemplateDto.STEP_SCHEMA_ACTION_ID = '363fe02d-d8c8-450d-bfd3-28f44adbb67b';
|
|
56
|
+
UpdateSmsTemplateDto.AUTO_LINK_PARENT = false;
|