@d19n/youfibre-odin-sdk 1.0.357 → 1.0.358
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/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/entities-v2/Case.d.ts +9 -9
- package/dist/entities-v2/Case.js +9 -9
- package/dist/entities-v2/ChurnRequest.d.ts +0 -25
- package/dist/entities-v2/ChurnRequest.js +1 -28
- package/dist/entities-v2/ContractBuyOut.d.ts +0 -45
- package/dist/entities-v2/ContractBuyOut.js +1 -48
- package/dist/entities-v2/Order.d.ts +512 -512
- package/dist/entities-v2/Order.js +232 -232
- package/dist/entities-v2/Program.d.ts +0 -33
- package/dist/entities-v2/Program.js +1 -36
- package/dist/entities-v2/Project.d.ts +0 -33
- package/dist/entities-v2/Project.js +1 -36
- package/dist/entities-v2/Task.d.ts +0 -33
- package/dist/entities-v2/Task.js +1 -36
- 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 +28 -0
- package/dist/records-v2/CaseRecord.js +35 -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 +28 -0
- package/dist/records-v2/ConversationRecord.js +35 -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 +28 -0
- package/dist/records-v2/MessageRecord.js +35 -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 +28 -0
- package/dist/records-v2/PushNotificationRecord.js +35 -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
|
@@ -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)
|
|
@@ -680,15 +680,15 @@ export declare enum CasePrimaryExceptionReason {
|
|
|
680
680
|
* Main reason for the agent CSAT score.
|
|
681
681
|
*
|
|
682
682
|
* @remarks Available options:
|
|
683
|
-
* - `INTERACTION_TOOK_TOO_LONG`
|
|
684
|
-
* - `OTHER`
|
|
685
|
-
* - `POOR_COMMUNICATION_OR_TONE`
|
|
686
|
-
* - `PROVIDED_INFORMATION_UNCLEAR`
|
|
683
|
+
* - `INTERACTION_TOOK_TOO_LONG` - Interaction took too long
|
|
684
|
+
* - `OTHER` - Other
|
|
685
|
+
* - `POOR_COMMUNICATION_OR_TONE` - Poor communication
|
|
686
|
+
* - `PROVIDED_INFORMATION_UNCLEAR` - Provided information unclear
|
|
687
687
|
*/
|
|
688
688
|
export declare enum CaseCsatAgentReason {
|
|
689
689
|
INTERACTION_TOOK_TOO_LONG = "INTERACTION_TOOK_TOO_LONG",
|
|
690
690
|
OTHER = "OTHER",
|
|
691
|
-
|
|
691
|
+
POOR_COMMUNICATION = "POOR_COMMUNICATION_OR_TONE",
|
|
692
692
|
PROVIDED_INFORMATION_UNCLEAR = "PROVIDED_INFORMATION_UNCLEAR"
|
|
693
693
|
}
|
|
694
694
|
/**
|
|
@@ -697,10 +697,10 @@ export declare enum CaseCsatAgentReason {
|
|
|
697
697
|
* Main reason for the resolution CSAT score.
|
|
698
698
|
*
|
|
699
699
|
* @remarks Available options:
|
|
700
|
-
* - `ADDITIONAL_STEPS_REQUIRED`
|
|
701
|
-
* - `ISSUE_NOT_FULLY_RESOLVED`
|
|
702
|
-
* - `OTHER`
|
|
703
|
-
* - `RESOLUTION_DID_NOT_WORK`
|
|
700
|
+
* - `ADDITIONAL_STEPS_REQUIRED` - Additional steps required
|
|
701
|
+
* - `ISSUE_NOT_FULLY_RESOLVED` - Issue not fully resolved
|
|
702
|
+
* - `OTHER` - Other
|
|
703
|
+
* - `RESOLUTION_DID_NOT_WORK` - Resolution did not work
|
|
704
704
|
*/
|
|
705
705
|
export declare enum CaseCsatResolutionReason {
|
|
706
706
|
ADDITIONAL_STEPS_REQUIRED = "ADDITIONAL_STEPS_REQUIRED",
|
package/dist/entities-v2/Case.js
CHANGED
|
@@ -689,16 +689,16 @@ var CasePrimaryExceptionReason;
|
|
|
689
689
|
* Main reason for the agent CSAT score.
|
|
690
690
|
*
|
|
691
691
|
* @remarks Available options:
|
|
692
|
-
* - `INTERACTION_TOOK_TOO_LONG`
|
|
693
|
-
* - `OTHER`
|
|
694
|
-
* - `POOR_COMMUNICATION_OR_TONE`
|
|
695
|
-
* - `PROVIDED_INFORMATION_UNCLEAR`
|
|
692
|
+
* - `INTERACTION_TOOK_TOO_LONG` - Interaction took too long
|
|
693
|
+
* - `OTHER` - Other
|
|
694
|
+
* - `POOR_COMMUNICATION_OR_TONE` - Poor communication
|
|
695
|
+
* - `PROVIDED_INFORMATION_UNCLEAR` - Provided information unclear
|
|
696
696
|
*/
|
|
697
697
|
var CaseCsatAgentReason;
|
|
698
698
|
(function (CaseCsatAgentReason) {
|
|
699
699
|
CaseCsatAgentReason["INTERACTION_TOOK_TOO_LONG"] = "INTERACTION_TOOK_TOO_LONG";
|
|
700
700
|
CaseCsatAgentReason["OTHER"] = "OTHER";
|
|
701
|
-
CaseCsatAgentReason["
|
|
701
|
+
CaseCsatAgentReason["POOR_COMMUNICATION"] = "POOR_COMMUNICATION_OR_TONE";
|
|
702
702
|
CaseCsatAgentReason["PROVIDED_INFORMATION_UNCLEAR"] = "PROVIDED_INFORMATION_UNCLEAR";
|
|
703
703
|
})(CaseCsatAgentReason = exports.CaseCsatAgentReason || (exports.CaseCsatAgentReason = {}));
|
|
704
704
|
/**
|
|
@@ -707,10 +707,10 @@ var CaseCsatAgentReason;
|
|
|
707
707
|
* Main reason for the resolution CSAT score.
|
|
708
708
|
*
|
|
709
709
|
* @remarks Available options:
|
|
710
|
-
* - `ADDITIONAL_STEPS_REQUIRED`
|
|
711
|
-
* - `ISSUE_NOT_FULLY_RESOLVED`
|
|
712
|
-
* - `OTHER`
|
|
713
|
-
* - `RESOLUTION_DID_NOT_WORK`
|
|
710
|
+
* - `ADDITIONAL_STEPS_REQUIRED` - Additional steps required
|
|
711
|
+
* - `ISSUE_NOT_FULLY_RESOLVED` - Issue not fully resolved
|
|
712
|
+
* - `OTHER` - Other
|
|
713
|
+
* - `RESOLUTION_DID_NOT_WORK` - Resolution did not work
|
|
714
714
|
*/
|
|
715
715
|
var CaseCsatResolutionReason;
|
|
716
716
|
(function (CaseCsatResolutionReason) {
|
|
@@ -20,31 +20,6 @@ export declare enum ChurnRequestEntityTypes {
|
|
|
20
20
|
/** This is the default record type */
|
|
21
21
|
DEFAULT = "DEFAULT"
|
|
22
22
|
}
|
|
23
|
-
/**
|
|
24
|
-
* Pipeline stage names for DEFAULT ChurnRequest
|
|
25
|
-
* Pipeline: Churn Request Pipeline
|
|
26
|
-
* Churn Request Pipeline
|
|
27
|
-
*/
|
|
28
|
-
export declare enum DefaultChurnRequestStageNames {
|
|
29
|
-
/** To-Do (default) */
|
|
30
|
-
ToDo = "To-Do",
|
|
31
|
-
/** In-Progress */
|
|
32
|
-
InProgress = "In-Progress",
|
|
33
|
-
/** Done (success) */
|
|
34
|
-
Done = "Done"
|
|
35
|
-
}
|
|
36
|
-
/**
|
|
37
|
-
* Pipeline stage keys for DEFAULT ChurnRequest
|
|
38
|
-
* Use these keys when transitioning between stages
|
|
39
|
-
*/
|
|
40
|
-
export declare enum DefaultChurnRequestStageKeys {
|
|
41
|
-
/** To-Do */
|
|
42
|
-
ChurnRequestStageToDo = "ChurnRequestStageToDo",
|
|
43
|
-
/** In-Progress */
|
|
44
|
-
ChurnRequestStageInProgress = "ChurnRequestStageInProgress",
|
|
45
|
-
/** Done */
|
|
46
|
-
ChurnRequestStageDone = "ChurnRequestStageDone"
|
|
47
|
-
}
|
|
48
23
|
/**
|
|
49
24
|
* Valid values for ChurnRequest.Outcome
|
|
50
25
|
*
|
|
@@ -12,7 +12,7 @@
|
|
|
12
12
|
* Generated from Odin schema definition
|
|
13
13
|
*/
|
|
14
14
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
15
|
-
exports.ROUTING_KEY_LINK_CHURN_REQUEST_ORDER_DELETED = exports.ROUTING_KEY_LINK_CHURN_REQUEST_ORDER_CREATED = exports.ROUTING_KEY_LINK_CHURN_REQUEST_NOTE_DELETED = exports.ROUTING_KEY_LINK_CHURN_REQUEST_NOTE_CREATED = exports.ROUTING_KEY_CHURN_REQUEST_DEFAULT_DELETED = exports.ROUTING_KEY_CHURN_REQUEST_DEFAULT_UPDATED = exports.ROUTING_KEY_CHURN_REQUEST_DEFAULT_CREATED = exports.ROUTING_KEY_CHURN_REQUEST_DELETED = exports.ROUTING_KEY_CHURN_REQUEST_UPDATED = exports.ROUTING_KEY_CHURN_REQUEST_CREATED = exports.ChurnRequest = exports.ChurnRequestPropertyKeys = exports.ChurnRequestReason = exports.ChurnRequestOutcome = exports.
|
|
15
|
+
exports.ROUTING_KEY_LINK_CHURN_REQUEST_ORDER_DELETED = exports.ROUTING_KEY_LINK_CHURN_REQUEST_ORDER_CREATED = exports.ROUTING_KEY_LINK_CHURN_REQUEST_NOTE_DELETED = exports.ROUTING_KEY_LINK_CHURN_REQUEST_NOTE_CREATED = exports.ROUTING_KEY_CHURN_REQUEST_DEFAULT_DELETED = exports.ROUTING_KEY_CHURN_REQUEST_DEFAULT_UPDATED = exports.ROUTING_KEY_CHURN_REQUEST_DEFAULT_CREATED = exports.ROUTING_KEY_CHURN_REQUEST_DELETED = exports.ROUTING_KEY_CHURN_REQUEST_UPDATED = exports.ROUTING_KEY_CHURN_REQUEST_CREATED = exports.ChurnRequest = exports.ChurnRequestPropertyKeys = exports.ChurnRequestReason = exports.ChurnRequestOutcome = exports.ChurnRequestEntityTypes = void 0;
|
|
16
16
|
const core_1 = require("@d19n/odin-types/dist/core");
|
|
17
17
|
/**
|
|
18
18
|
* Available types for ChurnRequest records
|
|
@@ -22,33 +22,6 @@ var ChurnRequestEntityTypes;
|
|
|
22
22
|
/** This is the default record type */
|
|
23
23
|
ChurnRequestEntityTypes["DEFAULT"] = "DEFAULT";
|
|
24
24
|
})(ChurnRequestEntityTypes = exports.ChurnRequestEntityTypes || (exports.ChurnRequestEntityTypes = {}));
|
|
25
|
-
/**
|
|
26
|
-
* Pipeline stage names for DEFAULT ChurnRequest
|
|
27
|
-
* Pipeline: Churn Request Pipeline
|
|
28
|
-
* Churn Request Pipeline
|
|
29
|
-
*/
|
|
30
|
-
var DefaultChurnRequestStageNames;
|
|
31
|
-
(function (DefaultChurnRequestStageNames) {
|
|
32
|
-
/** To-Do (default) */
|
|
33
|
-
DefaultChurnRequestStageNames["ToDo"] = "To-Do";
|
|
34
|
-
/** In-Progress */
|
|
35
|
-
DefaultChurnRequestStageNames["InProgress"] = "In-Progress";
|
|
36
|
-
/** Done (success) */
|
|
37
|
-
DefaultChurnRequestStageNames["Done"] = "Done";
|
|
38
|
-
})(DefaultChurnRequestStageNames = exports.DefaultChurnRequestStageNames || (exports.DefaultChurnRequestStageNames = {}));
|
|
39
|
-
/**
|
|
40
|
-
* Pipeline stage keys for DEFAULT ChurnRequest
|
|
41
|
-
* Use these keys when transitioning between stages
|
|
42
|
-
*/
|
|
43
|
-
var DefaultChurnRequestStageKeys;
|
|
44
|
-
(function (DefaultChurnRequestStageKeys) {
|
|
45
|
-
/** To-Do */
|
|
46
|
-
DefaultChurnRequestStageKeys["ChurnRequestStageToDo"] = "ChurnRequestStageToDo";
|
|
47
|
-
/** In-Progress */
|
|
48
|
-
DefaultChurnRequestStageKeys["ChurnRequestStageInProgress"] = "ChurnRequestStageInProgress";
|
|
49
|
-
/** Done */
|
|
50
|
-
DefaultChurnRequestStageKeys["ChurnRequestStageDone"] = "ChurnRequestStageDone";
|
|
51
|
-
})(DefaultChurnRequestStageKeys = exports.DefaultChurnRequestStageKeys || (exports.DefaultChurnRequestStageKeys = {}));
|
|
52
25
|
/**
|
|
53
26
|
* Valid values for ChurnRequest.Outcome
|
|
54
27
|
*
|
|
@@ -25,51 +25,6 @@ export declare enum ContractBuyOutEntityTypes {
|
|
|
25
25
|
/** This is the default record type */
|
|
26
26
|
DEFAULT = "DEFAULT"
|
|
27
27
|
}
|
|
28
|
-
/**
|
|
29
|
-
* Pipeline stage names for DEFAULT ContractBuyOut
|
|
30
|
-
* Pipeline: CreditBuyOut
|
|
31
|
-
* credit buy out pipeline
|
|
32
|
-
*/
|
|
33
|
-
export declare enum DefaultContractBuyOutStageNames {
|
|
34
|
-
/** for newly created cbo (default) */
|
|
35
|
-
Created = "Created",
|
|
36
|
-
/** when the document is received */
|
|
37
|
-
Received = "Received",
|
|
38
|
-
/** when documentation provided by customer is not complete */
|
|
39
|
-
MoreInfoRequired = "More Info Required",
|
|
40
|
-
/** when the invoice is verified */
|
|
41
|
-
Verified = "Verified",
|
|
42
|
-
/** Additional Approval Required */
|
|
43
|
-
AdditionalApprovalRequired = "Additional Approval Required",
|
|
44
|
-
/** cbo approved */
|
|
45
|
-
Approved = "Approved",
|
|
46
|
-
/** refund processed (success) */
|
|
47
|
-
RefundProcessed = "Refund Processed",
|
|
48
|
-
/** cbo rejected (fail) */
|
|
49
|
-
Cancelled = "Cancelled"
|
|
50
|
-
}
|
|
51
|
-
/**
|
|
52
|
-
* Pipeline stage keys for DEFAULT ContractBuyOut
|
|
53
|
-
* Use these keys when transitioning between stages
|
|
54
|
-
*/
|
|
55
|
-
export declare enum DefaultContractBuyOutStageKeys {
|
|
56
|
-
/** for newly created cbo */
|
|
57
|
-
CreditBuyOutStageCreated = "CreditBuyOutStageCreated",
|
|
58
|
-
/** when the document is received */
|
|
59
|
-
CreditBuyOutStageReceived = "CreditBuyOutStageReceived",
|
|
60
|
-
/** when documentation provided by customer is not complete */
|
|
61
|
-
CreditBuyOutStageMoreInfoRequired = "CreditBuyOutStageMoreInfoRequired",
|
|
62
|
-
/** when the invoice is verified */
|
|
63
|
-
CreditBuyOutStageVerified = "CreditBuyOutStageVerified",
|
|
64
|
-
/** Additional Approval Required */
|
|
65
|
-
CreditBuyOutStageAdditionalApprovalRequired = "CreditBuyOutStageAdditionalApprovalRequired",
|
|
66
|
-
/** cbo approved */
|
|
67
|
-
CreditBuyOutStageApproved = "CreditBuyOutStageApproved",
|
|
68
|
-
/** refund processed */
|
|
69
|
-
CreditBuyOutStageRefundProcessed = "CreditBuyOutStageRefundProcessed",
|
|
70
|
-
/** cbo rejected */
|
|
71
|
-
CreditBuyOutStageCancelled = "CreditBuyOutStageCancelled"
|
|
72
|
-
}
|
|
73
28
|
/**
|
|
74
29
|
* Valid values for ContractBuyOut.PreviousProvider
|
|
75
30
|
*
|