@d19n/youfibre-odin-sdk 1.0.357 → 1.0.359
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 +2 -1
- package/dist/actions-v2/CreateCollectionAmcoReplacementWorkOrderDto.d.ts +20 -0
- package/dist/actions-v2/CreateCollectionAmcoReplacementWorkOrderDto.js +22 -9
- package/dist/actions-v2/CreateCollectionAmcoReplacementWorkOrderFromWorkOrderDto.d.ts +20 -0
- package/dist/actions-v2/CreateCollectionAmcoReplacementWorkOrderFromWorkOrderDto.js +22 -9
- package/dist/actions-v2/CreateFieldServiceDispatchedProductDto.d.ts +20 -0
- package/dist/actions-v2/CreateFieldServiceDispatchedProductDto.js +22 -9
- package/dist/actions-v2/CreatePaymentDto.d.ts +20 -0
- package/dist/actions-v2/CreatePaymentDto.js +22 -9
- package/dist/actions-v2/CreatePaymentMethodRefundForContactDto.d.ts +20 -0
- package/dist/actions-v2/CreatePaymentMethodRefundForContactDto.js +22 -9
- package/dist/actions-v2/CreatePushNotificationDto.d.ts +36 -8
- package/dist/actions-v2/UpdatePushNotificationDto.d.ts +128 -0
- package/dist/actions-v2/UpdatePushNotificationDto.js +56 -0
- package/dist/api-sdk-v2/CaseApi.d.ts +2 -0
- package/dist/api-sdk-v2/CaseApi.js +6 -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/MessageApi.d.ts +2 -0
- package/dist/api-sdk-v2/MessageApi.js +6 -0
- package/dist/api-sdk-v2/PushNotificationApi.d.ts +6 -0
- package/dist/api-sdk-v2/PushNotificationApi.js +18 -0
- package/dist/db-sdk-v2/CaseDb.d.ts +2 -0
- package/dist/db-sdk-v2/CaseDb.js +6 -0
- package/dist/db-sdk-v2/ConversationDb.d.ts +2 -0
- package/dist/db-sdk-v2/ConversationDb.js +6 -0
- package/dist/db-sdk-v2/MessageDb.d.ts +2 -0
- package/dist/db-sdk-v2/MessageDb.js +6 -0
- package/dist/db-sdk-v2/PushNotificationDb.d.ts +6 -0
- package/dist/db-sdk-v2/PushNotificationDb.js +18 -0
- package/dist/entities-v2/Case.d.ts +16 -9
- package/dist/entities-v2/Case.js +14 -10
- package/dist/entities-v2/Conversation.d.ts +7 -0
- package/dist/entities-v2/Conversation.js +5 -1
- package/dist/entities-v2/Message.d.ts +7 -0
- package/dist/entities-v2/Message.js +5 -1
- package/dist/entities-v2/PushNotification.d.ts +51 -0
- package/dist/entities-v2/PushNotification.js +23 -1
- package/dist/records-v2/AccountCreditRecord.d.ts +28 -0
- package/dist/records-v2/AccountCreditRecord.js +35 -0
- package/dist/records-v2/AccountRecord.d.ts +28 -0
- package/dist/records-v2/AccountRecord.js +35 -0
- package/dist/records-v2/ActivityLogRecord.d.ts +28 -0
- package/dist/records-v2/ActivityLogRecord.js +35 -0
- package/dist/records-v2/ActivityRecord.d.ts +28 -0
- package/dist/records-v2/ActivityRecord.js +35 -0
- package/dist/records-v2/AddressRecord.d.ts +28 -0
- package/dist/records-v2/AddressRecord.js +35 -0
- package/dist/records-v2/AffiliateCodeRecord.d.ts +28 -0
- package/dist/records-v2/AffiliateCodeRecord.js +35 -0
- package/dist/records-v2/AppointmentRecord.d.ts +28 -0
- package/dist/records-v2/AppointmentRecord.js +35 -0
- package/dist/records-v2/BillingAdjustmentRecord.d.ts +28 -0
- package/dist/records-v2/BillingAdjustmentRecord.js +35 -0
- package/dist/records-v2/BillingRequestRecord.d.ts +28 -0
- package/dist/records-v2/BillingRequestRecord.js +35 -0
- package/dist/records-v2/BlockageA55Record.d.ts +28 -0
- package/dist/records-v2/BlockageA55Record.js +35 -0
- package/dist/records-v2/CallEventRecord.d.ts +28 -0
- package/dist/records-v2/CallEventRecord.js +35 -0
- package/dist/records-v2/CallLegRecord.d.ts +28 -0
- package/dist/records-v2/CallLegRecord.js +35 -0
- package/dist/records-v2/CallRecord.d.ts +28 -0
- package/dist/records-v2/CallRecord.js +35 -0
- package/dist/records-v2/CallTransferRecord.d.ts +28 -0
- package/dist/records-v2/CallTransferRecord.js +35 -0
- package/dist/records-v2/CampaignRecord.d.ts +28 -0
- package/dist/records-v2/CampaignRecord.js +35 -0
- package/dist/records-v2/CaseRecord.d.ts +48 -0
- package/dist/records-v2/CaseRecord.js +68 -0
- package/dist/records-v2/ChangeReasonRecord.d.ts +28 -0
- package/dist/records-v2/ChangeReasonRecord.js +35 -0
- package/dist/records-v2/ChurnRequestRecord.d.ts +28 -0
- package/dist/records-v2/ChurnRequestRecord.js +35 -0
- package/dist/records-v2/ConfigRecord.d.ts +28 -0
- package/dist/records-v2/ConfigRecord.js +35 -0
- package/dist/records-v2/ContactRecord.d.ts +28 -0
- package/dist/records-v2/ContactRecord.js +35 -0
- package/dist/records-v2/ContractBuyOutRecord.d.ts +28 -0
- package/dist/records-v2/ContractBuyOutRecord.js +35 -0
- package/dist/records-v2/ConversationFeedbackRecord.d.ts +28 -0
- package/dist/records-v2/ConversationFeedbackRecord.js +35 -0
- package/dist/records-v2/ConversationRecord.d.ts +48 -0
- package/dist/records-v2/ConversationRecord.js +68 -0
- package/dist/records-v2/CreditNoteRecord.d.ts +28 -0
- package/dist/records-v2/CreditNoteRecord.js +35 -0
- package/dist/records-v2/CrmDatasetRecord.d.ts +28 -0
- package/dist/records-v2/CrmDatasetRecord.js +35 -0
- package/dist/records-v2/CustomerDeviceAtaRecord.d.ts +28 -0
- package/dist/records-v2/CustomerDeviceAtaRecord.js +35 -0
- package/dist/records-v2/CustomerDeviceOntRecord.d.ts +28 -0
- package/dist/records-v2/CustomerDeviceOntRecord.js +35 -0
- package/dist/records-v2/CustomerDeviceRouterRecord.d.ts +28 -0
- package/dist/records-v2/CustomerDeviceRouterRecord.js +35 -0
- package/dist/records-v2/CustomerPhonePortingRecord.d.ts +28 -0
- package/dist/records-v2/CustomerPhonePortingRecord.js +35 -0
- package/dist/records-v2/DiscountRecord.d.ts +28 -0
- package/dist/records-v2/DiscountRecord.js +35 -0
- package/dist/records-v2/EmailRecord.d.ts +28 -0
- package/dist/records-v2/EmailRecord.js +35 -0
- package/dist/records-v2/EmailSenderRecord.d.ts +28 -0
- package/dist/records-v2/EmailSenderRecord.js +35 -0
- package/dist/records-v2/EmailTemplateRecord.d.ts +28 -0
- package/dist/records-v2/EmailTemplateRecord.js +35 -0
- package/dist/records-v2/FieldServiceDispatchedProductRecord.d.ts +1 -0
- package/dist/records-v2/FieldServiceDispatchedProductRecord.js +35 -0
- package/dist/records-v2/FieldServiceProductRecord.d.ts +28 -0
- package/dist/records-v2/FieldServiceProductRecord.js +35 -0
- package/dist/records-v2/FileRecord.d.ts +28 -0
- package/dist/records-v2/FileRecord.js +35 -0
- package/dist/records-v2/ImpersonationTrackerRecord.d.ts +28 -0
- package/dist/records-v2/ImpersonationTrackerRecord.js +35 -0
- package/dist/records-v2/InternalInstallAuditRecord.d.ts +28 -0
- package/dist/records-v2/InternalInstallAuditRecord.js +35 -0
- package/dist/records-v2/InvoiceItemRecord.d.ts +28 -0
- package/dist/records-v2/InvoiceItemRecord.js +35 -0
- package/dist/records-v2/InvoiceRecord.d.ts +28 -0
- package/dist/records-v2/InvoiceRecord.js +35 -0
- package/dist/records-v2/KnowledgeArticleRecord.d.ts +28 -0
- package/dist/records-v2/KnowledgeArticleRecord.js +35 -0
- package/dist/records-v2/LeadRecord.d.ts +28 -0
- package/dist/records-v2/LeadRecord.js +35 -0
- package/dist/records-v2/MessageRecord.d.ts +48 -0
- package/dist/records-v2/MessageRecord.js +68 -0
- package/dist/records-v2/NetworkDeviceRecord.d.ts +28 -0
- package/dist/records-v2/NetworkDeviceRecord.js +35 -0
- package/dist/records-v2/NoteRecord.d.ts +28 -0
- package/dist/records-v2/NoteRecord.js +35 -0
- package/dist/records-v2/OfferRecord.d.ts +28 -0
- package/dist/records-v2/OfferRecord.js +35 -0
- package/dist/records-v2/OhAuditOfInstallationRecord.d.ts +28 -0
- package/dist/records-v2/OhAuditOfInstallationRecord.js +35 -0
- package/dist/records-v2/OhExternalAuditRecord.d.ts +28 -0
- package/dist/records-v2/OhExternalAuditRecord.js +35 -0
- package/dist/records-v2/OhInProgressAuditRecord.d.ts +28 -0
- package/dist/records-v2/OhInProgressAuditRecord.js +35 -0
- package/dist/records-v2/OhInstallationAuditRecord.d.ts +28 -0
- package/dist/records-v2/OhInstallationAuditRecord.js +35 -0
- package/dist/records-v2/OhRetroAuditRecord.d.ts +28 -0
- package/dist/records-v2/OhRetroAuditRecord.js +35 -0
- package/dist/records-v2/OneTouchSwitchRecord.d.ts +28 -0
- package/dist/records-v2/OneTouchSwitchRecord.js +35 -0
- package/dist/records-v2/OntReplacementApprovalRecord.d.ts +28 -0
- package/dist/records-v2/OntReplacementApprovalRecord.js +35 -0
- package/dist/records-v2/OrderCheckRecord.d.ts +28 -0
- package/dist/records-v2/OrderCheckRecord.js +35 -0
- package/dist/records-v2/OrderItemRecord.d.ts +28 -0
- package/dist/records-v2/OrderItemRecord.js +35 -0
- package/dist/records-v2/OrderRecord.d.ts +28 -0
- package/dist/records-v2/OrderRecord.js +35 -0
- package/dist/records-v2/OutageRecord.d.ts +28 -0
- package/dist/records-v2/OutageRecord.js +35 -0
- package/dist/records-v2/OverlayRealA55Record.d.ts +28 -0
- package/dist/records-v2/OverlayRealA55Record.js +35 -0
- package/dist/records-v2/PICRequestRecord.d.ts +28 -0
- package/dist/records-v2/PICRequestRecord.js +35 -0
- package/dist/records-v2/PaymentMethodRecord.d.ts +28 -0
- package/dist/records-v2/PaymentMethodRecord.js +35 -0
- package/dist/records-v2/PaymentMethodRefundRecord.d.ts +28 -0
- package/dist/records-v2/PaymentMethodRefundRecord.js +35 -0
- package/dist/records-v2/PaymentRecord.d.ts +28 -0
- package/dist/records-v2/PaymentRecord.js +35 -0
- package/dist/records-v2/PermissionToFailRecord.d.ts +28 -0
- package/dist/records-v2/PermissionToFailRecord.js +35 -0
- package/dist/records-v2/PgAccountValidationRecord.d.ts +28 -0
- package/dist/records-v2/PgAccountValidationRecord.js +35 -0
- package/dist/records-v2/PgContactRecord.d.ts +28 -0
- package/dist/records-v2/PgContactRecord.js +35 -0
- package/dist/records-v2/PgDirectDebitFileRecord.d.ts +28 -0
- package/dist/records-v2/PgDirectDebitFileRecord.js +35 -0
- package/dist/records-v2/PgDisputeRecord.d.ts +28 -0
- package/dist/records-v2/PgDisputeRecord.js +35 -0
- package/dist/records-v2/PgFileAllocationRecord.d.ts +28 -0
- package/dist/records-v2/PgFileAllocationRecord.js +35 -0
- package/dist/records-v2/PgLogRecord.d.ts +28 -0
- package/dist/records-v2/PgLogRecord.js +35 -0
- package/dist/records-v2/PgPaymentMethodRecord.d.ts +28 -0
- package/dist/records-v2/PgPaymentMethodRecord.js +35 -0
- package/dist/records-v2/PgSortCodeSubstitutionRecord.d.ts +28 -0
- package/dist/records-v2/PgSortCodeSubstitutionRecord.js +35 -0
- package/dist/records-v2/PgTransactionRecord.d.ts +28 -0
- package/dist/records-v2/PgTransactionRecord.js +35 -0
- package/dist/records-v2/PgVocalinkRecord.d.ts +28 -0
- package/dist/records-v2/PgVocalinkRecord.js +35 -0
- package/dist/records-v2/PgWebhookAttemptRecord.d.ts +28 -0
- package/dist/records-v2/PgWebhookAttemptRecord.js +35 -0
- package/dist/records-v2/PgWebhookRecord.d.ts +28 -0
- package/dist/records-v2/PgWebhookRecord.js +35 -0
- package/dist/records-v2/PriceBookRecord.d.ts +28 -0
- package/dist/records-v2/PriceBookRecord.js +35 -0
- package/dist/records-v2/ProductRecord.d.ts +28 -0
- package/dist/records-v2/ProductRecord.js +35 -0
- package/dist/records-v2/PushNotificationRecord.d.ts +116 -0
- package/dist/records-v2/PushNotificationRecord.js +174 -0
- package/dist/records-v2/ReferralRecord.d.ts +28 -0
- package/dist/records-v2/ReferralRecord.js +35 -0
- package/dist/records-v2/RemediationOutcomeFormRecord.d.ts +28 -0
- package/dist/records-v2/RemediationOutcomeFormRecord.js +35 -0
- package/dist/records-v2/RemediationRequiredReasonRecord.d.ts +28 -0
- package/dist/records-v2/RemediationRequiredReasonRecord.js +35 -0
- package/dist/records-v2/ReturnsRecord.d.ts +28 -0
- package/dist/records-v2/ReturnsRecord.js +35 -0
- package/dist/records-v2/RewardRecord.d.ts +28 -0
- package/dist/records-v2/RewardRecord.js +35 -0
- package/dist/records-v2/SalesTerritoryRecord.d.ts +28 -0
- package/dist/records-v2/SalesTerritoryRecord.js +35 -0
- package/dist/records-v2/ScheduleSlotRecord.d.ts +28 -0
- package/dist/records-v2/ScheduleSlotRecord.js +35 -0
- package/dist/records-v2/ServiceAppointmentConfigRecord.d.ts +28 -0
- package/dist/records-v2/ServiceAppointmentConfigRecord.js +35 -0
- package/dist/records-v2/ServiceAppointmentRecord.d.ts +28 -0
- package/dist/records-v2/ServiceAppointmentRecord.js +35 -0
- package/dist/records-v2/ServiceRecord.d.ts +28 -0
- package/dist/records-v2/ServiceRecord.js +35 -0
- package/dist/records-v2/ServiceVisitAuditRecord.d.ts +28 -0
- package/dist/records-v2/ServiceVisitAuditRecord.js +35 -0
- package/dist/records-v2/SiteSpecificRiskAssessmentOutcomeFormRecord.d.ts +28 -0
- package/dist/records-v2/SiteSpecificRiskAssessmentOutcomeFormRecord.js +35 -0
- package/dist/records-v2/SmsMessageRecord.d.ts +28 -0
- package/dist/records-v2/SmsMessageRecord.js +35 -0
- package/dist/records-v2/SweeperMaintenanceAuditRecord.d.ts +28 -0
- package/dist/records-v2/SweeperMaintenanceAuditRecord.js +35 -0
- package/dist/records-v2/TeamRecord.d.ts +28 -0
- package/dist/records-v2/TeamRecord.js +35 -0
- package/dist/records-v2/TestEntityForVisualBuilderRecord.d.ts +28 -0
- package/dist/records-v2/TestEntityForVisualBuilderRecord.js +35 -0
- package/dist/records-v2/TimeSlotRecord.d.ts +28 -0
- package/dist/records-v2/TimeSlotRecord.js +35 -0
- package/dist/records-v2/TransactionRecord.d.ts +28 -0
- package/dist/records-v2/TransactionRecord.js +35 -0
- package/dist/records-v2/TwilioUserUpdateRecord.d.ts +28 -0
- package/dist/records-v2/TwilioUserUpdateRecord.js +35 -0
- package/dist/records-v2/UgAuditOfInstallationRecord.d.ts +28 -0
- package/dist/records-v2/UgAuditOfInstallationRecord.js +35 -0
- package/dist/records-v2/UgExternalAuditRecord.d.ts +28 -0
- package/dist/records-v2/UgExternalAuditRecord.js +35 -0
- package/dist/records-v2/UgInProgressAuditRecord.d.ts +28 -0
- package/dist/records-v2/UgInProgressAuditRecord.js +35 -0
- package/dist/records-v2/UgInstallationAuditRecord.d.ts +28 -0
- package/dist/records-v2/UgInstallationAuditRecord.js +35 -0
- package/dist/records-v2/UgRetroAuditRecord.d.ts +28 -0
- package/dist/records-v2/UgRetroAuditRecord.js +35 -0
- package/dist/records-v2/UserRecord.d.ts +28 -0
- package/dist/records-v2/UserRecord.js +35 -0
- package/dist/records-v2/VisitRecord.d.ts +28 -0
- package/dist/records-v2/VisitRecord.js +35 -0
- package/dist/records-v2/VoiceConfigurationRecord.d.ts +28 -0
- package/dist/records-v2/VoiceConfigurationRecord.js +35 -0
- package/dist/records-v2/WayleaveAuditRecord.d.ts +28 -0
- package/dist/records-v2/WayleaveAuditRecord.js +35 -0
- package/dist/records-v2/WorkOrderRecord.d.ts +28 -0
- package/dist/records-v2/WorkOrderRecord.js +35 -0
- package/dist/records-v2/WorkOrderStatusUpdateRecord.d.ts +28 -0
- package/dist/records-v2/WorkOrderStatusUpdateRecord.js +35 -0
- package/dist/records-v2/YfFieldServiceVisitRecord.d.ts +28 -0
- package/dist/records-v2/YfFieldServiceVisitRecord.js +35 -0
- package/dist/records-v2/YfStockAuditRecord.d.ts +28 -0
- package/dist/records-v2/YfStockAuditRecord.js +35 -0
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -351,7 +351,7 @@ This SDK includes **163** entities across **12** modules.
|
|
|
351
351
|
|
|
352
352
|
## Actions
|
|
353
353
|
|
|
354
|
-
This SDK includes **
|
|
354
|
+
This SDK includes **533** actions.
|
|
355
355
|
|
|
356
356
|
### Action Types
|
|
357
357
|
|
|
@@ -1499,6 +1499,7 @@ This SDK includes **532** actions.
|
|
|
1499
1499
|
| Action | Type | Event |
|
|
1500
1500
|
|--------|------|-------|
|
|
1501
1501
|
| `CreatePushNotification` | CREATE | k1.t-hEOJjsDb.NotificationModule.PushNotification.Create.CreatePushNotification |
|
|
1502
|
+
| `UpdatePushNotification` | UPDATE | k1.t-hEOJjsDb.NotificationModule.PushNotification.Update.UpdatePushNotification |
|
|
1502
1503
|
|
|
1503
1504
|
#### OrderItem
|
|
1504
1505
|
|
|
@@ -144,6 +144,9 @@ export declare class CreateCollectionAmcoReplacementWorkOrderBuilder {
|
|
|
144
144
|
private _moduleName?;
|
|
145
145
|
private _entityName?;
|
|
146
146
|
private _clearPendingLinks?;
|
|
147
|
+
private _externalId?;
|
|
148
|
+
private _externalAppId?;
|
|
149
|
+
private _groups?;
|
|
147
150
|
constructor(properties: CreateCollectionAmcoReplacementWorkOrderProperties, pendingLinks: OdinRecordLinkDto[], options?: {
|
|
148
151
|
journeyId?: string;
|
|
149
152
|
stageKey?: string;
|
|
@@ -158,6 +161,20 @@ export declare class CreateCollectionAmcoReplacementWorkOrderBuilder {
|
|
|
158
161
|
id: string;
|
|
159
162
|
entity: string;
|
|
160
163
|
}): this;
|
|
164
|
+
/**
|
|
165
|
+
* Set an external system identifier for this record.
|
|
166
|
+
* Links the record to a corresponding entry in an external application.
|
|
167
|
+
* @param externalId - The ID in the external system
|
|
168
|
+
* @param externalAppId - The external application identifier
|
|
169
|
+
* @returns this (for chaining)
|
|
170
|
+
*/
|
|
171
|
+
withExternalId(externalId: string, externalAppId: string): this;
|
|
172
|
+
/**
|
|
173
|
+
* Set security/access groups for this record.
|
|
174
|
+
* @param groups - Array of group names
|
|
175
|
+
* @returns this (for chaining)
|
|
176
|
+
*/
|
|
177
|
+
withGroups(groups: string[]): this;
|
|
161
178
|
/**
|
|
162
179
|
* Get the action payload without executing
|
|
163
180
|
* @returns The action data that would be sent
|
|
@@ -170,6 +187,9 @@ export declare class CreateCollectionAmcoReplacementWorkOrderBuilder {
|
|
|
170
187
|
associations?: OdinRecordLinkDto[];
|
|
171
188
|
journeyId?: string;
|
|
172
189
|
stageKey?: string;
|
|
190
|
+
externalId?: string;
|
|
191
|
+
externalAppId?: string;
|
|
192
|
+
groups?: string[];
|
|
173
193
|
};
|
|
174
194
|
/**
|
|
175
195
|
* Inject execution context (called by record wrapper)
|
|
@@ -57,6 +57,27 @@ class CreateCollectionAmcoReplacementWorkOrderBuilder {
|
|
|
57
57
|
}));
|
|
58
58
|
return this;
|
|
59
59
|
}
|
|
60
|
+
/**
|
|
61
|
+
* Set an external system identifier for this record.
|
|
62
|
+
* Links the record to a corresponding entry in an external application.
|
|
63
|
+
* @param externalId - The ID in the external system
|
|
64
|
+
* @param externalAppId - The external application identifier
|
|
65
|
+
* @returns this (for chaining)
|
|
66
|
+
*/
|
|
67
|
+
withExternalId(externalId, externalAppId) {
|
|
68
|
+
this._externalId = externalId;
|
|
69
|
+
this._externalAppId = externalAppId;
|
|
70
|
+
return this;
|
|
71
|
+
}
|
|
72
|
+
/**
|
|
73
|
+
* Set security/access groups for this record.
|
|
74
|
+
* @param groups - Array of group names
|
|
75
|
+
* @returns this (for chaining)
|
|
76
|
+
*/
|
|
77
|
+
withGroups(groups) {
|
|
78
|
+
this._groups = groups;
|
|
79
|
+
return this;
|
|
80
|
+
}
|
|
60
81
|
/**
|
|
61
82
|
* Get the action payload without executing
|
|
62
83
|
* @returns The action data that would be sent
|
|
@@ -64,15 +85,7 @@ class CreateCollectionAmcoReplacementWorkOrderBuilder {
|
|
|
64
85
|
getData() {
|
|
65
86
|
var _a, _b;
|
|
66
87
|
const allAssociations = [...this._associations, ...this._pendingLinks];
|
|
67
|
-
return {
|
|
68
|
-
entity: 'FieldServiceModule:WorkOrder',
|
|
69
|
-
type: 'COLLECTION_AMCO',
|
|
70
|
-
actionName: 'CreateCollectionAmcoReplacementWorkOrder',
|
|
71
|
-
properties: this._properties,
|
|
72
|
-
associations: allAssociations.length > 0 ? allAssociations : undefined,
|
|
73
|
-
journeyId: (_a = this._options) === null || _a === void 0 ? void 0 : _a.journeyId,
|
|
74
|
-
stageKey: (_b = this._options) === null || _b === void 0 ? void 0 : _b.stageKey,
|
|
75
|
-
};
|
|
88
|
+
return Object.assign(Object.assign({ entity: 'FieldServiceModule:WorkOrder', type: 'COLLECTION_AMCO', actionName: 'CreateCollectionAmcoReplacementWorkOrder', properties: this._properties, associations: allAssociations.length > 0 ? allAssociations : undefined, journeyId: (_a = this._options) === null || _a === void 0 ? void 0 : _a.journeyId, stageKey: (_b = this._options) === null || _b === void 0 ? void 0 : _b.stageKey }, (this._externalId && { externalId: this._externalId, externalAppId: this._externalAppId })), (this._groups && { groups: this._groups }));
|
|
76
89
|
}
|
|
77
90
|
/**
|
|
78
91
|
* Inject execution context (called by record wrapper)
|
|
@@ -137,6 +137,9 @@ export declare class CreateCollectionAmcoReplacementWorkOrderBuilder {
|
|
|
137
137
|
private _moduleName?;
|
|
138
138
|
private _entityName?;
|
|
139
139
|
private _clearPendingLinks?;
|
|
140
|
+
private _externalId?;
|
|
141
|
+
private _externalAppId?;
|
|
142
|
+
private _groups?;
|
|
140
143
|
constructor(properties: CreateCollectionAmcoReplacementWorkOrderProperties, pendingLinks: OdinRecordLinkDto[], options?: {
|
|
141
144
|
journeyId?: string;
|
|
142
145
|
stageKey?: string;
|
|
@@ -151,6 +154,20 @@ export declare class CreateCollectionAmcoReplacementWorkOrderBuilder {
|
|
|
151
154
|
id: string;
|
|
152
155
|
entity: string;
|
|
153
156
|
}): this;
|
|
157
|
+
/**
|
|
158
|
+
* Set an external system identifier for this record.
|
|
159
|
+
* Links the record to a corresponding entry in an external application.
|
|
160
|
+
* @param externalId - The ID in the external system
|
|
161
|
+
* @param externalAppId - The external application identifier
|
|
162
|
+
* @returns this (for chaining)
|
|
163
|
+
*/
|
|
164
|
+
withExternalId(externalId: string, externalAppId: string): this;
|
|
165
|
+
/**
|
|
166
|
+
* Set security/access groups for this record.
|
|
167
|
+
* @param groups - Array of group names
|
|
168
|
+
* @returns this (for chaining)
|
|
169
|
+
*/
|
|
170
|
+
withGroups(groups: string[]): this;
|
|
154
171
|
/**
|
|
155
172
|
* Get the action payload without executing
|
|
156
173
|
* @returns The action data that would be sent
|
|
@@ -163,6 +180,9 @@ export declare class CreateCollectionAmcoReplacementWorkOrderBuilder {
|
|
|
163
180
|
associations?: OdinRecordLinkDto[];
|
|
164
181
|
journeyId?: string;
|
|
165
182
|
stageKey?: string;
|
|
183
|
+
externalId?: string;
|
|
184
|
+
externalAppId?: string;
|
|
185
|
+
groups?: string[];
|
|
166
186
|
};
|
|
167
187
|
/**
|
|
168
188
|
* Inject execution context (called by record wrapper)
|
|
@@ -57,6 +57,27 @@ class CreateCollectionAmcoReplacementWorkOrderBuilder {
|
|
|
57
57
|
}));
|
|
58
58
|
return this;
|
|
59
59
|
}
|
|
60
|
+
/**
|
|
61
|
+
* Set an external system identifier for this record.
|
|
62
|
+
* Links the record to a corresponding entry in an external application.
|
|
63
|
+
* @param externalId - The ID in the external system
|
|
64
|
+
* @param externalAppId - The external application identifier
|
|
65
|
+
* @returns this (for chaining)
|
|
66
|
+
*/
|
|
67
|
+
withExternalId(externalId, externalAppId) {
|
|
68
|
+
this._externalId = externalId;
|
|
69
|
+
this._externalAppId = externalAppId;
|
|
70
|
+
return this;
|
|
71
|
+
}
|
|
72
|
+
/**
|
|
73
|
+
* Set security/access groups for this record.
|
|
74
|
+
* @param groups - Array of group names
|
|
75
|
+
* @returns this (for chaining)
|
|
76
|
+
*/
|
|
77
|
+
withGroups(groups) {
|
|
78
|
+
this._groups = groups;
|
|
79
|
+
return this;
|
|
80
|
+
}
|
|
60
81
|
/**
|
|
61
82
|
* Get the action payload without executing
|
|
62
83
|
* @returns The action data that would be sent
|
|
@@ -64,15 +85,7 @@ class CreateCollectionAmcoReplacementWorkOrderBuilder {
|
|
|
64
85
|
getData() {
|
|
65
86
|
var _a, _b;
|
|
66
87
|
const allAssociations = [...this._associations, ...this._pendingLinks];
|
|
67
|
-
return {
|
|
68
|
-
entity: 'FieldServiceModule:WorkOrder',
|
|
69
|
-
type: 'COLLECTION_AMCO',
|
|
70
|
-
actionName: 'CreateCollectionAmcoReplacementWorkOrder',
|
|
71
|
-
properties: this._properties,
|
|
72
|
-
associations: allAssociations.length > 0 ? allAssociations : undefined,
|
|
73
|
-
journeyId: (_a = this._options) === null || _a === void 0 ? void 0 : _a.journeyId,
|
|
74
|
-
stageKey: (_b = this._options) === null || _b === void 0 ? void 0 : _b.stageKey,
|
|
75
|
-
};
|
|
88
|
+
return Object.assign(Object.assign({ entity: 'FieldServiceModule:WorkOrder', type: 'COLLECTION_AMCO', actionName: 'CreateCollectionAmcoReplacementWorkOrder', properties: this._properties, associations: allAssociations.length > 0 ? allAssociations : undefined, journeyId: (_a = this._options) === null || _a === void 0 ? void 0 : _a.journeyId, stageKey: (_b = this._options) === null || _b === void 0 ? void 0 : _b.stageKey }, (this._externalId && { externalId: this._externalId, externalAppId: this._externalAppId })), (this._groups && { groups: this._groups }));
|
|
76
89
|
}
|
|
77
90
|
/**
|
|
78
91
|
* Inject execution context (called by record wrapper)
|
|
@@ -47,6 +47,9 @@ export declare class CreateFieldServiceDispatchedProductBuilder {
|
|
|
47
47
|
private _moduleName?;
|
|
48
48
|
private _entityName?;
|
|
49
49
|
private _clearPendingLinks?;
|
|
50
|
+
private _externalId?;
|
|
51
|
+
private _externalAppId?;
|
|
52
|
+
private _groups?;
|
|
50
53
|
constructor(properties: CreateFieldServiceDispatchedProductProperties, pendingLinks: OdinRecordLinkDto[], options?: {
|
|
51
54
|
journeyId?: string;
|
|
52
55
|
stageKey?: string;
|
|
@@ -61,6 +64,20 @@ export declare class CreateFieldServiceDispatchedProductBuilder {
|
|
|
61
64
|
id: string;
|
|
62
65
|
entity: string;
|
|
63
66
|
}): this;
|
|
67
|
+
/**
|
|
68
|
+
* Set an external system identifier for this record.
|
|
69
|
+
* Links the record to a corresponding entry in an external application.
|
|
70
|
+
* @param externalId - The ID in the external system
|
|
71
|
+
* @param externalAppId - The external application identifier
|
|
72
|
+
* @returns this (for chaining)
|
|
73
|
+
*/
|
|
74
|
+
withExternalId(externalId: string, externalAppId: string): this;
|
|
75
|
+
/**
|
|
76
|
+
* Set security/access groups for this record.
|
|
77
|
+
* @param groups - Array of group names
|
|
78
|
+
* @returns this (for chaining)
|
|
79
|
+
*/
|
|
80
|
+
withGroups(groups: string[]): this;
|
|
64
81
|
/**
|
|
65
82
|
* Get the action payload without executing
|
|
66
83
|
* @returns The action data that would be sent
|
|
@@ -73,6 +90,9 @@ export declare class CreateFieldServiceDispatchedProductBuilder {
|
|
|
73
90
|
associations?: OdinRecordLinkDto[];
|
|
74
91
|
journeyId?: string;
|
|
75
92
|
stageKey?: string;
|
|
93
|
+
externalId?: string;
|
|
94
|
+
externalAppId?: string;
|
|
95
|
+
groups?: string[];
|
|
76
96
|
};
|
|
77
97
|
/**
|
|
78
98
|
* Inject execution context (called by record wrapper)
|
|
@@ -57,6 +57,27 @@ class CreateFieldServiceDispatchedProductBuilder {
|
|
|
57
57
|
}));
|
|
58
58
|
return this;
|
|
59
59
|
}
|
|
60
|
+
/**
|
|
61
|
+
* Set an external system identifier for this record.
|
|
62
|
+
* Links the record to a corresponding entry in an external application.
|
|
63
|
+
* @param externalId - The ID in the external system
|
|
64
|
+
* @param externalAppId - The external application identifier
|
|
65
|
+
* @returns this (for chaining)
|
|
66
|
+
*/
|
|
67
|
+
withExternalId(externalId, externalAppId) {
|
|
68
|
+
this._externalId = externalId;
|
|
69
|
+
this._externalAppId = externalAppId;
|
|
70
|
+
return this;
|
|
71
|
+
}
|
|
72
|
+
/**
|
|
73
|
+
* Set security/access groups for this record.
|
|
74
|
+
* @param groups - Array of group names
|
|
75
|
+
* @returns this (for chaining)
|
|
76
|
+
*/
|
|
77
|
+
withGroups(groups) {
|
|
78
|
+
this._groups = groups;
|
|
79
|
+
return this;
|
|
80
|
+
}
|
|
60
81
|
/**
|
|
61
82
|
* Get the action payload without executing
|
|
62
83
|
* @returns The action data that would be sent
|
|
@@ -64,15 +85,7 @@ class CreateFieldServiceDispatchedProductBuilder {
|
|
|
64
85
|
getData() {
|
|
65
86
|
var _a, _b;
|
|
66
87
|
const allAssociations = [...this._associations, ...this._pendingLinks];
|
|
67
|
-
return {
|
|
68
|
-
entity: 'FieldServiceModule:FieldServiceDispatchedProduct',
|
|
69
|
-
type: 'DEFAULT',
|
|
70
|
-
actionName: 'CreateFieldServiceDispatchedProduct',
|
|
71
|
-
properties: this._properties,
|
|
72
|
-
associations: allAssociations.length > 0 ? allAssociations : undefined,
|
|
73
|
-
journeyId: (_a = this._options) === null || _a === void 0 ? void 0 : _a.journeyId,
|
|
74
|
-
stageKey: (_b = this._options) === null || _b === void 0 ? void 0 : _b.stageKey,
|
|
75
|
-
};
|
|
88
|
+
return Object.assign(Object.assign({ entity: 'FieldServiceModule:FieldServiceDispatchedProduct', type: 'DEFAULT', actionName: 'CreateFieldServiceDispatchedProduct', properties: this._properties, associations: allAssociations.length > 0 ? allAssociations : undefined, journeyId: (_a = this._options) === null || _a === void 0 ? void 0 : _a.journeyId, stageKey: (_b = this._options) === null || _b === void 0 ? void 0 : _b.stageKey }, (this._externalId && { externalId: this._externalId, externalAppId: this._externalAppId })), (this._groups && { groups: this._groups }));
|
|
76
89
|
}
|
|
77
90
|
/**
|
|
78
91
|
* Inject execution context (called by record wrapper)
|
|
@@ -55,6 +55,9 @@ export declare class CreatePaymentBuilder {
|
|
|
55
55
|
private _moduleName?;
|
|
56
56
|
private _entityName?;
|
|
57
57
|
private _clearPendingLinks?;
|
|
58
|
+
private _externalId?;
|
|
59
|
+
private _externalAppId?;
|
|
60
|
+
private _groups?;
|
|
58
61
|
constructor(properties: CreatePaymentProperties, pendingLinks: OdinRecordLinkDto[], options?: {
|
|
59
62
|
journeyId?: string;
|
|
60
63
|
stageKey?: string;
|
|
@@ -69,6 +72,20 @@ export declare class CreatePaymentBuilder {
|
|
|
69
72
|
id: string;
|
|
70
73
|
entity: string;
|
|
71
74
|
}): this;
|
|
75
|
+
/**
|
|
76
|
+
* Set an external system identifier for this record.
|
|
77
|
+
* Links the record to a corresponding entry in an external application.
|
|
78
|
+
* @param externalId - The ID in the external system
|
|
79
|
+
* @param externalAppId - The external application identifier
|
|
80
|
+
* @returns this (for chaining)
|
|
81
|
+
*/
|
|
82
|
+
withExternalId(externalId: string, externalAppId: string): this;
|
|
83
|
+
/**
|
|
84
|
+
* Set security/access groups for this record.
|
|
85
|
+
* @param groups - Array of group names
|
|
86
|
+
* @returns this (for chaining)
|
|
87
|
+
*/
|
|
88
|
+
withGroups(groups: string[]): this;
|
|
72
89
|
/**
|
|
73
90
|
* Get the action payload without executing
|
|
74
91
|
* @returns The action data that would be sent
|
|
@@ -81,6 +98,9 @@ export declare class CreatePaymentBuilder {
|
|
|
81
98
|
associations?: OdinRecordLinkDto[];
|
|
82
99
|
journeyId?: string;
|
|
83
100
|
stageKey?: string;
|
|
101
|
+
externalId?: string;
|
|
102
|
+
externalAppId?: string;
|
|
103
|
+
groups?: string[];
|
|
84
104
|
};
|
|
85
105
|
/**
|
|
86
106
|
* Inject execution context (called by record wrapper)
|
|
@@ -56,6 +56,27 @@ class CreatePaymentBuilder {
|
|
|
56
56
|
}));
|
|
57
57
|
return this;
|
|
58
58
|
}
|
|
59
|
+
/**
|
|
60
|
+
* Set an external system identifier for this record.
|
|
61
|
+
* Links the record to a corresponding entry in an external application.
|
|
62
|
+
* @param externalId - The ID in the external system
|
|
63
|
+
* @param externalAppId - The external application identifier
|
|
64
|
+
* @returns this (for chaining)
|
|
65
|
+
*/
|
|
66
|
+
withExternalId(externalId, externalAppId) {
|
|
67
|
+
this._externalId = externalId;
|
|
68
|
+
this._externalAppId = externalAppId;
|
|
69
|
+
return this;
|
|
70
|
+
}
|
|
71
|
+
/**
|
|
72
|
+
* Set security/access groups for this record.
|
|
73
|
+
* @param groups - Array of group names
|
|
74
|
+
* @returns this (for chaining)
|
|
75
|
+
*/
|
|
76
|
+
withGroups(groups) {
|
|
77
|
+
this._groups = groups;
|
|
78
|
+
return this;
|
|
79
|
+
}
|
|
59
80
|
/**
|
|
60
81
|
* Get the action payload without executing
|
|
61
82
|
* @returns The action data that would be sent
|
|
@@ -63,15 +84,7 @@ class CreatePaymentBuilder {
|
|
|
63
84
|
getData() {
|
|
64
85
|
var _a, _b;
|
|
65
86
|
const allAssociations = [...this._associations, ...this._pendingLinks];
|
|
66
|
-
return {
|
|
67
|
-
entity: 'BillingModule:Payment',
|
|
68
|
-
type: undefined,
|
|
69
|
-
actionName: 'Create payment',
|
|
70
|
-
properties: this._properties,
|
|
71
|
-
associations: allAssociations.length > 0 ? allAssociations : undefined,
|
|
72
|
-
journeyId: (_a = this._options) === null || _a === void 0 ? void 0 : _a.journeyId,
|
|
73
|
-
stageKey: (_b = this._options) === null || _b === void 0 ? void 0 : _b.stageKey,
|
|
74
|
-
};
|
|
87
|
+
return Object.assign(Object.assign({ entity: 'BillingModule:Payment', type: undefined, actionName: 'Create payment', properties: this._properties, associations: allAssociations.length > 0 ? allAssociations : undefined, journeyId: (_a = this._options) === null || _a === void 0 ? void 0 : _a.journeyId, stageKey: (_b = this._options) === null || _b === void 0 ? void 0 : _b.stageKey }, (this._externalId && { externalId: this._externalId, externalAppId: this._externalAppId })), (this._groups && { groups: this._groups }));
|
|
75
88
|
}
|
|
76
89
|
/**
|
|
77
90
|
* Inject execution context (called by record wrapper)
|
|
@@ -80,6 +80,9 @@ export declare class CreatePaymentMethodRefundForContactBuilder {
|
|
|
80
80
|
private _moduleName?;
|
|
81
81
|
private _entityName?;
|
|
82
82
|
private _clearPendingLinks?;
|
|
83
|
+
private _externalId?;
|
|
84
|
+
private _externalAppId?;
|
|
85
|
+
private _groups?;
|
|
83
86
|
constructor(properties: CreatePaymentMethodRefundForContactProperties, pendingLinks: OdinRecordLinkDto[], options?: {
|
|
84
87
|
journeyId?: string;
|
|
85
88
|
stageKey?: string;
|
|
@@ -95,6 +98,20 @@ export declare class CreatePaymentMethodRefundForContactBuilder {
|
|
|
95
98
|
id: string;
|
|
96
99
|
entity: string;
|
|
97
100
|
}): this;
|
|
101
|
+
/**
|
|
102
|
+
* Set an external system identifier for this record.
|
|
103
|
+
* Links the record to a corresponding entry in an external application.
|
|
104
|
+
* @param externalId - The ID in the external system
|
|
105
|
+
* @param externalAppId - The external application identifier
|
|
106
|
+
* @returns this (for chaining)
|
|
107
|
+
*/
|
|
108
|
+
withExternalId(externalId: string, externalAppId: string): this;
|
|
109
|
+
/**
|
|
110
|
+
* Set security/access groups for this record.
|
|
111
|
+
* @param groups - Array of group names
|
|
112
|
+
* @returns this (for chaining)
|
|
113
|
+
*/
|
|
114
|
+
withGroups(groups: string[]): this;
|
|
98
115
|
/**
|
|
99
116
|
* Get the action payload without executing
|
|
100
117
|
* @returns The action data that would be sent
|
|
@@ -107,6 +124,9 @@ export declare class CreatePaymentMethodRefundForContactBuilder {
|
|
|
107
124
|
associations?: OdinRecordLinkDto[];
|
|
108
125
|
journeyId?: string;
|
|
109
126
|
stageKey?: string;
|
|
127
|
+
externalId?: string;
|
|
128
|
+
externalAppId?: string;
|
|
129
|
+
groups?: string[];
|
|
110
130
|
};
|
|
111
131
|
/**
|
|
112
132
|
* Inject execution context (called by record wrapper)
|
|
@@ -57,6 +57,27 @@ class CreatePaymentMethodRefundForContactBuilder {
|
|
|
57
57
|
}));
|
|
58
58
|
return this;
|
|
59
59
|
}
|
|
60
|
+
/**
|
|
61
|
+
* Set an external system identifier for this record.
|
|
62
|
+
* Links the record to a corresponding entry in an external application.
|
|
63
|
+
* @param externalId - The ID in the external system
|
|
64
|
+
* @param externalAppId - The external application identifier
|
|
65
|
+
* @returns this (for chaining)
|
|
66
|
+
*/
|
|
67
|
+
withExternalId(externalId, externalAppId) {
|
|
68
|
+
this._externalId = externalId;
|
|
69
|
+
this._externalAppId = externalAppId;
|
|
70
|
+
return this;
|
|
71
|
+
}
|
|
72
|
+
/**
|
|
73
|
+
* Set security/access groups for this record.
|
|
74
|
+
* @param groups - Array of group names
|
|
75
|
+
* @returns this (for chaining)
|
|
76
|
+
*/
|
|
77
|
+
withGroups(groups) {
|
|
78
|
+
this._groups = groups;
|
|
79
|
+
return this;
|
|
80
|
+
}
|
|
60
81
|
/**
|
|
61
82
|
* Get the action payload without executing
|
|
62
83
|
* @returns The action data that would be sent
|
|
@@ -64,15 +85,7 @@ class CreatePaymentMethodRefundForContactBuilder {
|
|
|
64
85
|
getData() {
|
|
65
86
|
var _a, _b;
|
|
66
87
|
const allAssociations = [...this._associations, ...this._pendingLinks];
|
|
67
|
-
return {
|
|
68
|
-
entity: 'BillingModule:PaymentMethodRefund',
|
|
69
|
-
type: undefined,
|
|
70
|
-
actionName: 'CreatePaymentMethodRefundForContact',
|
|
71
|
-
properties: this._properties,
|
|
72
|
-
associations: allAssociations.length > 0 ? allAssociations : undefined,
|
|
73
|
-
journeyId: (_a = this._options) === null || _a === void 0 ? void 0 : _a.journeyId,
|
|
74
|
-
stageKey: (_b = this._options) === null || _b === void 0 ? void 0 : _b.stageKey,
|
|
75
|
-
};
|
|
88
|
+
return Object.assign(Object.assign({ entity: 'BillingModule:PaymentMethodRefund', type: undefined, actionName: 'CreatePaymentMethodRefundForContact', properties: this._properties, associations: allAssociations.length > 0 ? allAssociations : undefined, journeyId: (_a = this._options) === null || _a === void 0 ? void 0 : _a.journeyId, stageKey: (_b = this._options) === null || _b === void 0 ? void 0 : _b.stageKey }, (this._externalId && { externalId: this._externalId, externalAppId: this._externalAppId })), (this._groups && { groups: this._groups }));
|
|
76
89
|
}
|
|
77
90
|
/**
|
|
78
91
|
* Inject execution context (called by record wrapper)
|
|
@@ -22,9 +22,16 @@ 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: 9
|
|
26
26
|
*/
|
|
27
27
|
export interface CreatePushNotificationProperties {
|
|
28
|
+
/**
|
|
29
|
+
* Status
|
|
30
|
+
*
|
|
31
|
+
* Status of the notification
|
|
32
|
+
* @type {ENUM}
|
|
33
|
+
*/
|
|
34
|
+
Status?: string | null;
|
|
28
35
|
/**
|
|
29
36
|
* Seen
|
|
30
37
|
*
|
|
@@ -32,6 +39,13 @@ export interface CreatePushNotificationProperties {
|
|
|
32
39
|
* @type {BOOLEAN}
|
|
33
40
|
*/
|
|
34
41
|
Seen?: boolean | null;
|
|
42
|
+
/**
|
|
43
|
+
* Title
|
|
44
|
+
*
|
|
45
|
+
* Title of the notification (Communications - PushNotification)
|
|
46
|
+
* @type {TEXT}
|
|
47
|
+
*/
|
|
48
|
+
Title?: string | null;
|
|
35
49
|
/**
|
|
36
50
|
* UserId
|
|
37
51
|
*
|
|
@@ -40,12 +54,12 @@ export interface CreatePushNotificationProperties {
|
|
|
40
54
|
*/
|
|
41
55
|
UserId?: string | null;
|
|
42
56
|
/**
|
|
43
|
-
*
|
|
57
|
+
* DeviceToken
|
|
44
58
|
*
|
|
45
|
-
*
|
|
59
|
+
* Personal FCM Token (Communications - PushNotification)
|
|
46
60
|
* @type {TEXT}
|
|
47
61
|
*/
|
|
48
|
-
|
|
62
|
+
DeviceToken?: string | null;
|
|
49
63
|
/**
|
|
50
64
|
* Message
|
|
51
65
|
*
|
|
@@ -54,12 +68,26 @@ export interface CreatePushNotificationProperties {
|
|
|
54
68
|
*/
|
|
55
69
|
Message?: string | null;
|
|
56
70
|
/**
|
|
57
|
-
*
|
|
71
|
+
* CaseId
|
|
58
72
|
*
|
|
59
|
-
*
|
|
60
|
-
* @type {
|
|
73
|
+
* Case Id
|
|
74
|
+
* @type {LOOKUP}
|
|
61
75
|
*/
|
|
62
|
-
|
|
76
|
+
CaseId?: string | null;
|
|
77
|
+
/**
|
|
78
|
+
* ConversationId
|
|
79
|
+
*
|
|
80
|
+
* Id of related Conversation
|
|
81
|
+
* @type {LOOKUP}
|
|
82
|
+
*/
|
|
83
|
+
ConversationId?: string | null;
|
|
84
|
+
/**
|
|
85
|
+
* MessageId
|
|
86
|
+
*
|
|
87
|
+
* Related Message
|
|
88
|
+
* @type {LOOKUP}
|
|
89
|
+
*/
|
|
90
|
+
MessageId?: string | null;
|
|
63
91
|
}
|
|
64
92
|
/**
|
|
65
93
|
* CreatePushNotification
|
|
@@ -0,0 +1,128 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* UpdatePushNotification Action DTO
|
|
3
|
+
*
|
|
4
|
+
* Update Push Notification
|
|
5
|
+
*
|
|
6
|
+
* @module NotificationModule
|
|
7
|
+
* @entity PushNotification
|
|
8
|
+
* @actionKey UpdatePushNotification
|
|
9
|
+
* @event k1.t-hEOJjsDb.NotificationModule.PushNotification.Update.UpdatePushNotification
|
|
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 UpdatePushNotification updated events
|
|
16
|
+
*
|
|
17
|
+
* @event k1.t-hEOJjsDb.NotificationModule.PushNotification.Update.UpdatePushNotification
|
|
18
|
+
*/
|
|
19
|
+
export interface UpdatePushNotificationMessage extends OdinRecordUpdatedEvent<UpdatePushNotificationDto, UpdatePushNotificationProperties> {
|
|
20
|
+
}
|
|
21
|
+
/**
|
|
22
|
+
* Properties for UpdatePushNotification action
|
|
23
|
+
*
|
|
24
|
+
* @property Required fields: 0
|
|
25
|
+
* @property Optional fields: 9
|
|
26
|
+
*/
|
|
27
|
+
export interface UpdatePushNotificationProperties {
|
|
28
|
+
/**
|
|
29
|
+
* MessageId
|
|
30
|
+
*
|
|
31
|
+
* Related Message
|
|
32
|
+
* @type {LOOKUP}
|
|
33
|
+
*/
|
|
34
|
+
MessageId?: string | null;
|
|
35
|
+
/**
|
|
36
|
+
* ConversationId
|
|
37
|
+
*
|
|
38
|
+
* Id of related Conversation
|
|
39
|
+
* @type {LOOKUP}
|
|
40
|
+
*/
|
|
41
|
+
ConversationId?: string | null;
|
|
42
|
+
/**
|
|
43
|
+
* CaseId
|
|
44
|
+
*
|
|
45
|
+
* Case Id
|
|
46
|
+
* @type {LOOKUP}
|
|
47
|
+
*/
|
|
48
|
+
CaseId?: string | null;
|
|
49
|
+
/**
|
|
50
|
+
* Message
|
|
51
|
+
*
|
|
52
|
+
* Message in notification (Communications - PushNotification)
|
|
53
|
+
* @type {TEXT}
|
|
54
|
+
*/
|
|
55
|
+
Message?: string | null;
|
|
56
|
+
/**
|
|
57
|
+
* DeviceToken
|
|
58
|
+
*
|
|
59
|
+
* Personal FCM Token (Communications - PushNotification)
|
|
60
|
+
* @type {TEXT}
|
|
61
|
+
*/
|
|
62
|
+
DeviceToken?: string | null;
|
|
63
|
+
/**
|
|
64
|
+
* UserId
|
|
65
|
+
*
|
|
66
|
+
* Id of related customer (Communications - PushNotification)
|
|
67
|
+
* @type {LOOKUP}
|
|
68
|
+
*/
|
|
69
|
+
UserId?: string | null;
|
|
70
|
+
/**
|
|
71
|
+
* Title
|
|
72
|
+
*
|
|
73
|
+
* Title of the notification (Communications - PushNotification)
|
|
74
|
+
* @type {TEXT}
|
|
75
|
+
*/
|
|
76
|
+
Title?: string | null;
|
|
77
|
+
/**
|
|
78
|
+
* Seen
|
|
79
|
+
*
|
|
80
|
+
* User saw the notification ? (Communications - PushNotification)
|
|
81
|
+
* @type {BOOLEAN}
|
|
82
|
+
*/
|
|
83
|
+
Seen?: boolean | null;
|
|
84
|
+
/**
|
|
85
|
+
* Status
|
|
86
|
+
*
|
|
87
|
+
* Status of the notification
|
|
88
|
+
* @type {ENUM}
|
|
89
|
+
*/
|
|
90
|
+
Status?: string | null;
|
|
91
|
+
}
|
|
92
|
+
/**
|
|
93
|
+
* UpdatePushNotification
|
|
94
|
+
*
|
|
95
|
+
* Update Push Notification
|
|
96
|
+
*
|
|
97
|
+
* @actionType UPDATE - Updates an existing PushNotification record
|
|
98
|
+
* @module NotificationModule
|
|
99
|
+
* @entity PushNotification
|
|
100
|
+
* @event k1.t-hEOJjsDb.NotificationModule.PushNotification.Update.UpdatePushNotification
|
|
101
|
+
* @permission schema.action.updatepushnotification.trigger
|
|
102
|
+
* @benchmark This action is tracked for performance benchmarks
|
|
103
|
+
*/
|
|
104
|
+
export declare class UpdatePushNotificationDto extends OdinRecordUpdateDto<UpdatePushNotificationProperties> {
|
|
105
|
+
/** Used by SDK generators to identify action type */
|
|
106
|
+
static readonly ACTION_TYPE = "UPDATE";
|
|
107
|
+
static readonly ACTION_KEY = "UpdatePushNotification";
|
|
108
|
+
static readonly MODULE_NAME = "NotificationModule";
|
|
109
|
+
static readonly ENTITIES: string[];
|
|
110
|
+
static readonly EVENT_NAME = "k1.t-hEOJjsDb.NotificationModule.PushNotification.Update.UpdatePushNotification";
|
|
111
|
+
static readonly PERMISSION = "schema.action.updatepushnotification.trigger";
|
|
112
|
+
/** Step metadata - entity this action targets */
|
|
113
|
+
static readonly STEP_ENTITY = "NotificationModule:PushNotification";
|
|
114
|
+
static readonly STEP_SCHEMA_ID = "1ab6c541-3554-43c0-92ff-6533eb11f3de";
|
|
115
|
+
static readonly STEP_SCHEMA_ACTION_ID = "84e8aac8-ba19-4069-a1f0-e37204344f23";
|
|
116
|
+
static readonly AUTO_LINK_PARENT = false;
|
|
117
|
+
readonly actionName: string;
|
|
118
|
+
readonly schemaActionId: string;
|
|
119
|
+
readonly entity: string;
|
|
120
|
+
constructor(record: OdinRecord<any> | {
|
|
121
|
+
id: string;
|
|
122
|
+
entity: string;
|
|
123
|
+
type?: string;
|
|
124
|
+
}, properties: UpdatePushNotificationProperties, options?: {
|
|
125
|
+
journeyId?: string;
|
|
126
|
+
stageKey?: string;
|
|
127
|
+
});
|
|
128
|
+
}
|