@d19n/youfibre-odin-sdk 2.0.31 → 2.0.33
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/EditCaseFormDto.d.ts +1 -1
- package/dist/entities-v2/BillingAdjustment.d.ts +76 -76
- package/dist/entities-v2/BillingAdjustment.js +35 -35
- package/dist/entities-v2/Case.d.ts +19 -4
- package/dist/entities-v2/Case.js +16 -2
- package/dist/records-v2/AccountCreditRecord.d.ts +82 -1
- package/dist/records-v2/AccountCreditRecord.js +124 -0
- package/dist/records-v2/AccountRecord.d.ts +306 -2
- package/dist/records-v2/AccountRecord.js +451 -0
- package/dist/records-v2/ActivityLogRecord.d.ts +122 -1
- package/dist/records-v2/ActivityLogRecord.js +190 -0
- package/dist/records-v2/ActivityRecord.d.ts +255 -2
- package/dist/records-v2/ActivityRecord.js +387 -0
- package/dist/records-v2/AddressRecord.d.ts +321 -0
- package/dist/records-v2/AddressRecord.js +532 -0
- package/dist/records-v2/AffiliateCodeRecord.d.ts +102 -1
- package/dist/records-v2/AffiliateCodeRecord.js +157 -0
- package/dist/records-v2/AppointmentRecord.d.ts +141 -0
- package/dist/records-v2/AppointmentRecord.js +235 -0
- package/dist/records-v2/BillingAdjustmentRecord.d.ts +81 -0
- package/dist/records-v2/BillingAdjustmentRecord.js +136 -0
- package/dist/records-v2/BillingRequestRecord.d.ts +178 -2
- package/dist/records-v2/BillingRequestRecord.js +271 -0
- package/dist/records-v2/BlockageA55Record.d.ts +103 -2
- package/dist/records-v2/BlockageA55Record.js +157 -0
- package/dist/records-v2/BngProvisionRecord.d.ts +42 -1
- package/dist/records-v2/BngProvisionRecord.js +58 -0
- package/dist/records-v2/BrskEntityMigrationErrorRecord.d.ts +21 -1
- package/dist/records-v2/BrskEntityMigrationErrorRecord.js +21 -0
- package/dist/records-v2/CallEventRecord.d.ts +82 -1
- package/dist/records-v2/CallEventRecord.js +124 -0
- package/dist/records-v2/CallLegRecord.d.ts +82 -1
- package/dist/records-v2/CallLegRecord.js +124 -0
- package/dist/records-v2/CallRecord.d.ts +202 -1
- package/dist/records-v2/CallRecord.js +322 -0
- package/dist/records-v2/CallTransferRecord.d.ts +102 -1
- package/dist/records-v2/CallTransferRecord.js +157 -0
- package/dist/records-v2/CampaignRecord.d.ts +83 -2
- package/dist/records-v2/CampaignRecord.js +124 -0
- package/dist/records-v2/CaseRecord.d.ts +398 -2
- package/dist/records-v2/CaseRecord.js +634 -0
- package/dist/records-v2/ChangeReasonRecord.d.ts +171 -2
- package/dist/records-v2/ChangeReasonRecord.js +238 -0
- package/dist/records-v2/ChurnRequestRecord.d.ts +62 -1
- package/dist/records-v2/ChurnRequestRecord.js +91 -0
- package/dist/records-v2/ContactIdentityRecord.d.ts +80 -0
- package/dist/records-v2/ContactIdentityRecord.js +135 -0
- package/dist/records-v2/ContactRecord.d.ts +580 -0
- package/dist/records-v2/ContactRecord.js +960 -0
- package/dist/records-v2/ContractBuyOutRecord.d.ts +162 -1
- package/dist/records-v2/ContractBuyOutRecord.js +256 -0
- package/dist/records-v2/ConversationRecord.d.ts +82 -1
- package/dist/records-v2/ConversationRecord.js +124 -0
- package/dist/records-v2/CreditNoteRecord.d.ts +101 -0
- package/dist/records-v2/CreditNoteRecord.js +169 -0
- package/dist/records-v2/CrmDatasetRecord.d.ts +191 -2
- package/dist/records-v2/CrmDatasetRecord.js +271 -0
- package/dist/records-v2/CustomerDeviceAtaRecord.d.ts +21 -0
- package/dist/records-v2/CustomerDeviceAtaRecord.js +37 -0
- package/dist/records-v2/CustomerDeviceConfigurationRecord.d.ts +62 -1
- package/dist/records-v2/CustomerDeviceConfigurationRecord.js +91 -0
- package/dist/records-v2/CustomerDeviceOntRecord.d.ts +181 -0
- package/dist/records-v2/CustomerDeviceOntRecord.js +301 -0
- package/dist/records-v2/CustomerDeviceRouterRecord.d.ts +141 -0
- package/dist/records-v2/CustomerDeviceRouterRecord.js +235 -0
- package/dist/records-v2/CustomerPhonePortingRecord.d.ts +21 -0
- package/dist/records-v2/CustomerPhonePortingRecord.js +37 -0
- package/dist/records-v2/DiscountRecord.d.ts +121 -0
- package/dist/records-v2/DiscountRecord.js +202 -0
- package/dist/records-v2/EmailRecord.d.ts +230 -2
- package/dist/records-v2/EmailRecord.js +336 -0
- package/dist/records-v2/EmailSenderRecord.d.ts +42 -1
- package/dist/records-v2/EmailSenderRecord.js +58 -0
- package/dist/records-v2/EmailTemplateRecord.d.ts +21 -1
- package/dist/records-v2/EmailTemplateRecord.js +21 -0
- package/dist/records-v2/FieldServiceDispatchedProductRecord.d.ts +135 -2
- package/dist/records-v2/FieldServiceDispatchedProductRecord.js +189 -0
- package/dist/records-v2/FieldServiceProductRecord.d.ts +115 -2
- package/dist/records-v2/FieldServiceProductRecord.js +156 -0
- package/dist/records-v2/FileRecord.d.ts +1211 -2
- package/dist/records-v2/FileRecord.js +1902 -0
- package/dist/records-v2/ImpersonationTrackerRecord.d.ts +62 -1
- package/dist/records-v2/ImpersonationTrackerRecord.js +91 -0
- package/dist/records-v2/InternalInstallAuditRecord.d.ts +83 -2
- package/dist/records-v2/InternalInstallAuditRecord.js +124 -0
- package/dist/records-v2/InvoiceItemRecord.d.ts +40 -0
- package/dist/records-v2/InvoiceItemRecord.js +69 -0
- package/dist/records-v2/InvoiceRecord.d.ts +399 -2
- package/dist/records-v2/InvoiceRecord.js +635 -0
- package/dist/records-v2/KnowledgeArticleRecord.d.ts +98 -2
- package/dist/records-v2/KnowledgeArticleRecord.js +139 -0
- package/dist/records-v2/LeadRecord.d.ts +261 -0
- package/dist/records-v2/LeadRecord.js +433 -0
- package/dist/records-v2/MessageRecord.d.ts +131 -2
- package/dist/records-v2/MessageRecord.js +172 -0
- package/dist/records-v2/NetworkDeviceRecord.d.ts +43 -2
- package/dist/records-v2/NetworkDeviceRecord.js +58 -0
- package/dist/records-v2/NoteRecord.d.ts +1121 -1
- package/dist/records-v2/NoteRecord.js +1839 -0
- package/dist/records-v2/OfferRecord.d.ts +154 -2
- package/dist/records-v2/OfferRecord.js +221 -0
- package/dist/records-v2/OhAuditOfInstallationRecord.d.ts +83 -2
- package/dist/records-v2/OhAuditOfInstallationRecord.js +124 -0
- package/dist/records-v2/OhExternalAuditRecord.d.ts +83 -2
- package/dist/records-v2/OhExternalAuditRecord.js +124 -0
- package/dist/records-v2/OhInProgressAuditRecord.d.ts +83 -2
- package/dist/records-v2/OhInProgressAuditRecord.js +124 -0
- package/dist/records-v2/OhInstallationAuditRecord.d.ts +83 -2
- package/dist/records-v2/OhInstallationAuditRecord.js +124 -0
- package/dist/records-v2/OhRetroAuditRecord.d.ts +83 -2
- package/dist/records-v2/OhRetroAuditRecord.js +124 -0
- package/dist/records-v2/OneTouchSwitchRecord.d.ts +255 -2
- package/dist/records-v2/OneTouchSwitchRecord.js +387 -0
- package/dist/records-v2/OntReplacementApprovalRecord.d.ts +62 -1
- package/dist/records-v2/OntReplacementApprovalRecord.js +91 -0
- package/dist/records-v2/OrderCheckRecord.d.ts +21 -0
- package/dist/records-v2/OrderCheckRecord.js +37 -0
- package/dist/records-v2/OrderItemRecord.d.ts +300 -0
- package/dist/records-v2/OrderItemRecord.js +498 -0
- package/dist/records-v2/OrderKciRecord.d.ts +42 -1
- package/dist/records-v2/OrderKciRecord.js +58 -0
- package/dist/records-v2/OrderRecord.d.ts +640 -0
- package/dist/records-v2/OrderRecord.js +1059 -0
- package/dist/records-v2/OutageRecord.d.ts +42 -1
- package/dist/records-v2/OutageRecord.js +58 -0
- package/dist/records-v2/OverlayRealA55Record.d.ts +83 -2
- package/dist/records-v2/OverlayRealA55Record.js +124 -0
- package/dist/records-v2/PICRequestRecord.d.ts +62 -1
- package/dist/records-v2/PICRequestRecord.js +91 -0
- package/dist/records-v2/PaymentMethodRecord.d.ts +161 -0
- package/dist/records-v2/PaymentMethodRecord.js +268 -0
- package/dist/records-v2/PaymentMethodRefundRecord.d.ts +201 -0
- package/dist/records-v2/PaymentMethodRefundRecord.js +334 -0
- package/dist/records-v2/PaymentRecord.d.ts +82 -1
- package/dist/records-v2/PaymentRecord.js +124 -0
- package/dist/records-v2/PermissionToFailRecord.d.ts +61 -0
- package/dist/records-v2/PermissionToFailRecord.js +103 -0
- package/dist/records-v2/PgAccountValidationRecord.d.ts +21 -1
- package/dist/records-v2/PgAccountValidationRecord.js +21 -0
- package/dist/records-v2/PgContactRecord.d.ts +82 -1
- package/dist/records-v2/PgContactRecord.js +124 -0
- package/dist/records-v2/PgDirectDebitFileRecord.d.ts +95 -2
- package/dist/records-v2/PgDirectDebitFileRecord.js +123 -0
- package/dist/records-v2/PgDisputeRecord.d.ts +62 -1
- package/dist/records-v2/PgDisputeRecord.js +91 -0
- package/dist/records-v2/PgFileAllocationRecord.d.ts +115 -2
- package/dist/records-v2/PgFileAllocationRecord.js +156 -0
- package/dist/records-v2/PgLogRecord.d.ts +21 -1
- package/dist/records-v2/PgLogRecord.js +21 -0
- package/dist/records-v2/PgPaymentMethodRecord.d.ts +122 -1
- package/dist/records-v2/PgPaymentMethodRecord.js +190 -0
- package/dist/records-v2/PgSortCodeSubstitutionRecord.d.ts +21 -1
- package/dist/records-v2/PgSortCodeSubstitutionRecord.js +21 -0
- package/dist/records-v2/PgTransactionRecord.d.ts +175 -2
- package/dist/records-v2/PgTransactionRecord.js +255 -0
- package/dist/records-v2/PgVocalinkRecord.d.ts +21 -1
- package/dist/records-v2/PgVocalinkRecord.js +21 -0
- package/dist/records-v2/PgWebhookAttemptRecord.d.ts +42 -1
- package/dist/records-v2/PgWebhookAttemptRecord.js +58 -0
- package/dist/records-v2/PgWebhookRecord.d.ts +122 -1
- package/dist/records-v2/PgWebhookRecord.js +190 -0
- package/dist/records-v2/PhoneNumberRecord.d.ts +41 -0
- package/dist/records-v2/PhoneNumberRecord.js +70 -0
- package/dist/records-v2/PriceBookRecord.d.ts +21 -0
- package/dist/records-v2/PriceBookRecord.js +37 -0
- package/dist/records-v2/ProductRecord.d.ts +258 -2
- package/dist/records-v2/ProductRecord.js +351 -0
- package/dist/records-v2/PushNotificationRecord.d.ts +162 -1
- package/dist/records-v2/PushNotificationRecord.js +256 -0
- package/dist/records-v2/ReferralRecord.d.ts +143 -2
- package/dist/records-v2/ReferralRecord.js +223 -0
- package/dist/records-v2/RemediationOutcomeFormRecord.d.ts +83 -2
- package/dist/records-v2/RemediationOutcomeFormRecord.js +124 -0
- package/dist/records-v2/RemediationRequiredReasonRecord.d.ts +103 -2
- package/dist/records-v2/RemediationRequiredReasonRecord.js +157 -0
- package/dist/records-v2/ReturnsRecord.d.ts +62 -1
- package/dist/records-v2/ReturnsRecord.js +91 -0
- package/dist/records-v2/RewardRecord.d.ts +123 -2
- package/dist/records-v2/RewardRecord.js +190 -0
- package/dist/records-v2/SalesTerritoryRecord.d.ts +79 -2
- package/dist/records-v2/SalesTerritoryRecord.js +107 -0
- package/dist/records-v2/ScheduleSlotRecord.d.ts +42 -1
- package/dist/records-v2/ScheduleSlotRecord.js +58 -0
- package/dist/records-v2/ServiceAppointmentConfigRecord.d.ts +287 -2
- package/dist/records-v2/ServiceAppointmentConfigRecord.js +367 -0
- package/dist/records-v2/ServiceAppointmentRecord.d.ts +81 -0
- package/dist/records-v2/ServiceAppointmentRecord.js +136 -0
- package/dist/records-v2/ServiceRecord.d.ts +40 -0
- package/dist/records-v2/ServiceRecord.js +69 -0
- package/dist/records-v2/ServiceVisitAuditRecord.d.ts +83 -2
- package/dist/records-v2/ServiceVisitAuditRecord.js +124 -0
- package/dist/records-v2/SiteSpecificRiskAssessmentOutcomeFormRecord.d.ts +83 -2
- package/dist/records-v2/SiteSpecificRiskAssessmentOutcomeFormRecord.js +124 -0
- package/dist/records-v2/SmsMessageRecord.d.ts +175 -2
- package/dist/records-v2/SmsMessageRecord.js +255 -0
- package/dist/records-v2/SweeperMaintenanceAuditRecord.d.ts +83 -2
- package/dist/records-v2/SweeperMaintenanceAuditRecord.js +124 -0
- package/dist/records-v2/TeamRecord.d.ts +101 -0
- package/dist/records-v2/TeamRecord.js +169 -0
- package/dist/records-v2/TestEntityForVisualBuilderRecord.d.ts +115 -2
- package/dist/records-v2/TestEntityForVisualBuilderRecord.js +156 -0
- package/dist/records-v2/TimeSlotRecord.d.ts +21 -0
- package/dist/records-v2/TimeSlotRecord.js +37 -0
- package/dist/records-v2/TransactionRecord.d.ts +201 -1
- package/dist/records-v2/TransactionRecord.js +321 -0
- package/dist/records-v2/TwilioUserUpdateRecord.d.ts +42 -1
- package/dist/records-v2/TwilioUserUpdateRecord.js +58 -0
- package/dist/records-v2/UgAuditOfInstallationRecord.d.ts +83 -2
- package/dist/records-v2/UgAuditOfInstallationRecord.js +124 -0
- package/dist/records-v2/UgExternalAuditRecord.d.ts +83 -2
- package/dist/records-v2/UgExternalAuditRecord.js +124 -0
- package/dist/records-v2/UgInProgressAuditRecord.d.ts +83 -2
- package/dist/records-v2/UgInProgressAuditRecord.js +124 -0
- package/dist/records-v2/UgInstallationAuditRecord.d.ts +83 -2
- package/dist/records-v2/UgInstallationAuditRecord.js +124 -0
- package/dist/records-v2/UgRetroAuditRecord.d.ts +83 -2
- package/dist/records-v2/UgRetroAuditRecord.js +124 -0
- package/dist/records-v2/UserRecord.d.ts +380 -0
- package/dist/records-v2/UserRecord.js +630 -0
- package/dist/records-v2/VisitRecord.d.ts +121 -0
- package/dist/records-v2/VisitRecord.js +202 -0
- package/dist/records-v2/VoiceConfigurationRecord.d.ts +21 -0
- package/dist/records-v2/VoiceConfigurationRecord.js +37 -0
- package/dist/records-v2/WayleaveAuditRecord.d.ts +83 -2
- package/dist/records-v2/WayleaveAuditRecord.js +124 -0
- package/dist/records-v2/WorkOrderRecord.d.ts +1226 -2
- package/dist/records-v2/WorkOrderRecord.js +1865 -0
- package/dist/records-v2/WorkOrderStatusUpdateRecord.d.ts +75 -2
- package/dist/records-v2/WorkOrderStatusUpdateRecord.js +90 -0
- package/dist/records-v2/YfFieldServiceVisitRecord.d.ts +83 -2
- package/dist/records-v2/YfFieldServiceVisitRecord.js +124 -0
- package/dist/records-v2/YfStockAuditRecord.d.ts +103 -2
- package/dist/records-v2/YfStockAuditRecord.js +157 -0
- package/package.json +1 -1
|
@@ -22,19 +22,6 @@ export declare enum BillingAdjustmentEntityTypes {
|
|
|
22
22
|
/** Default record type */
|
|
23
23
|
DEFAULT = "DEFAULT"
|
|
24
24
|
}
|
|
25
|
-
/**
|
|
26
|
-
* Valid values for BillingAdjustment.DiscountType
|
|
27
|
-
*
|
|
28
|
-
* the type of discount (Sales - BillingAdjustment)
|
|
29
|
-
*
|
|
30
|
-
* @remarks Available options:
|
|
31
|
-
* - `AMOUNT` - Amount
|
|
32
|
-
* - `PERCENT` - Percent
|
|
33
|
-
*/
|
|
34
|
-
export declare enum BillingAdjustmentDiscountType {
|
|
35
|
-
AMOUNT = "AMOUNT",
|
|
36
|
-
PERCENT = "PERCENT"
|
|
37
|
-
}
|
|
38
25
|
/**
|
|
39
26
|
* Valid values for BillingAdjustment.ProrationType
|
|
40
27
|
*
|
|
@@ -85,41 +72,54 @@ export declare enum BillingAdjustmentReason {
|
|
|
85
72
|
RETENTION_DEAL = "RETENTION_DEAL",
|
|
86
73
|
SALES_MISSELLING_ADJUSTMENT = "SALES_MISSELLING_ADJUSTMENT"
|
|
87
74
|
}
|
|
75
|
+
/**
|
|
76
|
+
* Valid values for BillingAdjustment.DiscountType
|
|
77
|
+
*
|
|
78
|
+
* the type of discount (Sales - BillingAdjustment)
|
|
79
|
+
*
|
|
80
|
+
* @remarks Available options:
|
|
81
|
+
* - `AMOUNT` - Amount
|
|
82
|
+
* - `PERCENT` - Percent
|
|
83
|
+
*/
|
|
84
|
+
export declare enum BillingAdjustmentDiscountType {
|
|
85
|
+
AMOUNT = "AMOUNT",
|
|
86
|
+
PERCENT = "PERCENT"
|
|
87
|
+
}
|
|
88
88
|
/**
|
|
89
89
|
* Property keys for BillingAdjustment
|
|
90
90
|
* Use these constants instead of string literals for type safety
|
|
91
91
|
*/
|
|
92
92
|
export declare enum BillingAdjustmentPropertyKeys {
|
|
93
|
-
/** Describe why this billing adjustment being applied (Sales - BillingAdjustment) */
|
|
94
|
-
Description = "Description",
|
|
95
|
-
/** the length of the discount (Sales - BillingAdjustment) */
|
|
96
|
-
DiscountLength = "DiscountLength",
|
|
97
|
-
/** the type of discount (Sales - BillingAdjustment) */
|
|
98
|
-
DiscountType = "DiscountType",
|
|
99
|
-
/** the value of the discount to be applied (Sales - BillingAdjustment) */
|
|
100
|
-
DiscountValue = "DiscountValue",
|
|
101
|
-
/** ExternalReference */
|
|
102
|
-
ExternalReference = "ExternalReference",
|
|
103
|
-
/** The number of future invoices that should be free of charge (Sales - BillingAdjustment) */
|
|
104
|
-
FreePeriodLength = "FreePeriodLength",
|
|
105
|
-
/** end of first full cycle (Invoice.BillingPeriodEnd!) (Sales - BillingAdjustment) */
|
|
106
|
-
InCycleBillingPeriodEnd = "InCycleBillingPeriodEnd",
|
|
107
93
|
/** the new billing billing period start (Sales - BillingAdjustment) */
|
|
108
94
|
InCycleBillingPeriodStart = "InCycleBillingPeriodStart",
|
|
109
|
-
/** The number of days being prorated (Sales - BillingAdjustment) */
|
|
110
|
-
ProrationBillableDays = "ProrationBillableDays",
|
|
111
|
-
/** day before new billing day (Sales - BillingAdjustment) */
|
|
112
|
-
ProrationBillingPeriodEnd = "ProrationBillingPeriodEnd",
|
|
113
95
|
/** day after prev invoice ended (Sales - BillingAdjustment) */
|
|
114
96
|
ProrationBillingPeriodStart = "ProrationBillingPeriodStart",
|
|
97
|
+
/** day before new billing day (Sales - BillingAdjustment) */
|
|
98
|
+
ProrationBillingPeriodEnd = "ProrationBillingPeriodEnd",
|
|
115
99
|
/** proration type charge or credit (Sales - BillingAdjustment) */
|
|
116
100
|
ProrationType = "ProrationType",
|
|
101
|
+
/** The number of future invoices that should be free of charge (Sales - BillingAdjustment) */
|
|
102
|
+
FreePeriodLength = "FreePeriodLength",
|
|
103
|
+
/** The number of days being prorated (Sales - BillingAdjustment) */
|
|
104
|
+
ProrationBillableDays = "ProrationBillableDays",
|
|
117
105
|
/** the billing adjustment reason (Sales - BillingAdjustment) */
|
|
118
106
|
Reason = "Reason",
|
|
107
|
+
/** Billing Adjustment Title (Sales - BillingAdjustment) */
|
|
108
|
+
Title = "Title",
|
|
109
|
+
/** Describe why this billing adjustment being applied (Sales - BillingAdjustment) */
|
|
110
|
+
Description = "Description",
|
|
111
|
+
/** the type of discount (Sales - BillingAdjustment) */
|
|
112
|
+
DiscountType = "DiscountType",
|
|
113
|
+
/** the value of the discount to be applied (Sales - BillingAdjustment) */
|
|
114
|
+
DiscountValue = "DiscountValue",
|
|
119
115
|
/** Source of payment date update (Sales - BillingAdjustment) */
|
|
120
116
|
Source = "Source",
|
|
121
|
-
/**
|
|
122
|
-
|
|
117
|
+
/** the length of the discount (Sales - BillingAdjustment) */
|
|
118
|
+
DiscountLength = "DiscountLength",
|
|
119
|
+
/** end of first full cycle (Invoice.BillingPeriodEnd!) (Sales - BillingAdjustment) */
|
|
120
|
+
InCycleBillingPeriodEnd = "InCycleBillingPeriodEnd",
|
|
121
|
+
/** ExternalReference */
|
|
122
|
+
ExternalReference = "ExternalReference"
|
|
123
123
|
}
|
|
124
124
|
/**
|
|
125
125
|
* Properties for BillingAdjustment records
|
|
@@ -127,85 +127,85 @@ export declare enum BillingAdjustmentPropertyKeys {
|
|
|
127
127
|
* @see OrderModule:BillingAdjustment
|
|
128
128
|
*/
|
|
129
129
|
export interface BillingAdjustmentProperties {
|
|
130
|
-
/**
|
|
131
|
-
*
|
|
132
|
-
* @type {TEXT_LONG}
|
|
133
|
-
*/
|
|
134
|
-
Description: string;
|
|
135
|
-
/** the length of the discount (Sales - BillingAdjustment)
|
|
130
|
+
/** the new billing billing period start (Sales - BillingAdjustment)
|
|
136
131
|
*
|
|
137
|
-
* @type {
|
|
132
|
+
* @type {DATE}
|
|
138
133
|
*/
|
|
139
|
-
|
|
140
|
-
/**
|
|
134
|
+
InCycleBillingPeriodStart: string;
|
|
135
|
+
/** day after prev invoice ended (Sales - BillingAdjustment)
|
|
141
136
|
*
|
|
142
|
-
* @type {
|
|
143
|
-
* @enum {BillingAdjustmentDiscountType}
|
|
137
|
+
* @type {DATE}
|
|
144
138
|
*/
|
|
145
|
-
|
|
146
|
-
/**
|
|
139
|
+
ProrationBillingPeriodStart: string;
|
|
140
|
+
/** day before new billing day (Sales - BillingAdjustment)
|
|
147
141
|
*
|
|
148
|
-
* @type {
|
|
142
|
+
* @type {DATE}
|
|
149
143
|
*/
|
|
150
|
-
|
|
151
|
-
/**
|
|
144
|
+
ProrationBillingPeriodEnd: string;
|
|
145
|
+
/** proration type charge or credit (Sales - BillingAdjustment)
|
|
152
146
|
*
|
|
153
|
-
* @type {
|
|
147
|
+
* @type {ENUM}
|
|
148
|
+
* @enum {BillingAdjustmentProrationType}
|
|
154
149
|
*/
|
|
155
|
-
|
|
150
|
+
ProrationType: BillingAdjustmentProrationType;
|
|
156
151
|
/** The number of future invoices that should be free of charge (Sales - BillingAdjustment)
|
|
157
152
|
*
|
|
158
153
|
* @type {NUMBER}
|
|
159
154
|
* @hidden This field is hidden in the UI
|
|
160
155
|
*/
|
|
161
156
|
FreePeriodLength: number;
|
|
162
|
-
/** end of first full cycle (Invoice.BillingPeriodEnd!) (Sales - BillingAdjustment)
|
|
163
|
-
*
|
|
164
|
-
* @type {DATE}
|
|
165
|
-
*/
|
|
166
|
-
InCycleBillingPeriodEnd: string;
|
|
167
|
-
/** the new billing billing period start (Sales - BillingAdjustment)
|
|
168
|
-
*
|
|
169
|
-
* @type {DATE}
|
|
170
|
-
*/
|
|
171
|
-
InCycleBillingPeriodStart: string;
|
|
172
157
|
/** The number of days being prorated (Sales - BillingAdjustment)
|
|
173
158
|
*
|
|
174
159
|
* @type {NUMBER}
|
|
175
160
|
*/
|
|
176
161
|
ProrationBillableDays: number;
|
|
177
|
-
/**
|
|
162
|
+
/** the billing adjustment reason (Sales - BillingAdjustment)
|
|
178
163
|
*
|
|
179
|
-
* @type {
|
|
164
|
+
* @type {ENUM}
|
|
165
|
+
* @enum {BillingAdjustmentReason}
|
|
180
166
|
*/
|
|
181
|
-
|
|
182
|
-
/**
|
|
167
|
+
Reason: BillingAdjustmentReason;
|
|
168
|
+
/** Billing Adjustment Title (Sales - BillingAdjustment)
|
|
183
169
|
*
|
|
184
|
-
* @type {
|
|
170
|
+
* @type {TEXT}
|
|
185
171
|
*/
|
|
186
|
-
|
|
187
|
-
/**
|
|
172
|
+
Title: string;
|
|
173
|
+
/** Describe why this billing adjustment being applied (Sales - BillingAdjustment)
|
|
188
174
|
*
|
|
189
|
-
* @type {
|
|
190
|
-
* @enum {BillingAdjustmentProrationType}
|
|
175
|
+
* @type {TEXT_LONG}
|
|
191
176
|
*/
|
|
192
|
-
|
|
193
|
-
/** the
|
|
177
|
+
Description: string;
|
|
178
|
+
/** the type of discount (Sales - BillingAdjustment)
|
|
194
179
|
*
|
|
195
180
|
* @type {ENUM}
|
|
196
|
-
* @enum {
|
|
181
|
+
* @enum {BillingAdjustmentDiscountType}
|
|
197
182
|
*/
|
|
198
|
-
|
|
183
|
+
DiscountType: BillingAdjustmentDiscountType;
|
|
184
|
+
/** the value of the discount to be applied (Sales - BillingAdjustment)
|
|
185
|
+
*
|
|
186
|
+
* @type {NUMERIC}
|
|
187
|
+
*/
|
|
188
|
+
DiscountValue: number;
|
|
199
189
|
/** Source of payment date update (Sales - BillingAdjustment)
|
|
200
190
|
*
|
|
201
191
|
* @type {TEXT}
|
|
202
192
|
*/
|
|
203
193
|
Source: string;
|
|
204
|
-
/**
|
|
194
|
+
/** the length of the discount (Sales - BillingAdjustment)
|
|
195
|
+
*
|
|
196
|
+
* @type {NUMBER}
|
|
197
|
+
*/
|
|
198
|
+
DiscountLength: number;
|
|
199
|
+
/** end of first full cycle (Invoice.BillingPeriodEnd!) (Sales - BillingAdjustment)
|
|
200
|
+
*
|
|
201
|
+
* @type {DATE}
|
|
202
|
+
*/
|
|
203
|
+
InCycleBillingPeriodEnd: string;
|
|
204
|
+
/** ExternalReference
|
|
205
205
|
*
|
|
206
206
|
* @type {TEXT}
|
|
207
207
|
*/
|
|
208
|
-
|
|
208
|
+
ExternalReference: string;
|
|
209
209
|
}
|
|
210
210
|
/**
|
|
211
211
|
* BillingAdjustment entity from OrderModule
|
|
@@ -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_BILLING_ADJUSTMENT_FILE_DELETED = exports.ROUTING_KEY_LINK_BILLING_ADJUSTMENT_FILE_CREATED = exports.ROUTING_KEY_LINK_BILLING_ADJUSTMENT_NOTE_DELETED = exports.ROUTING_KEY_LINK_BILLING_ADJUSTMENT_NOTE_CREATED = exports.ROUTING_KEY_BILLING_ADJUSTMENT_DEFAULT_DELETED = exports.ROUTING_KEY_BILLING_ADJUSTMENT_DEFAULT_UPDATED = exports.ROUTING_KEY_BILLING_ADJUSTMENT_DEFAULT_CREATED = exports.ROUTING_KEY_BILLING_ADJUSTMENT_DELETED = exports.ROUTING_KEY_BILLING_ADJUSTMENT_UPDATED = exports.ROUTING_KEY_BILLING_ADJUSTMENT_CREATED = exports.BillingAdjustment = exports.BillingAdjustmentPropertyKeys = exports.
|
|
15
|
+
exports.ROUTING_KEY_LINK_BILLING_ADJUSTMENT_FILE_DELETED = exports.ROUTING_KEY_LINK_BILLING_ADJUSTMENT_FILE_CREATED = exports.ROUTING_KEY_LINK_BILLING_ADJUSTMENT_NOTE_DELETED = exports.ROUTING_KEY_LINK_BILLING_ADJUSTMENT_NOTE_CREATED = exports.ROUTING_KEY_BILLING_ADJUSTMENT_DEFAULT_DELETED = exports.ROUTING_KEY_BILLING_ADJUSTMENT_DEFAULT_UPDATED = exports.ROUTING_KEY_BILLING_ADJUSTMENT_DEFAULT_CREATED = exports.ROUTING_KEY_BILLING_ADJUSTMENT_DELETED = exports.ROUTING_KEY_BILLING_ADJUSTMENT_UPDATED = exports.ROUTING_KEY_BILLING_ADJUSTMENT_CREATED = exports.BillingAdjustment = exports.BillingAdjustmentPropertyKeys = exports.BillingAdjustmentDiscountType = exports.BillingAdjustmentReason = exports.BillingAdjustmentProrationType = exports.BillingAdjustmentEntityTypes = void 0;
|
|
16
16
|
const core_1 = require("@d19n/odin-types/dist/core");
|
|
17
17
|
/**
|
|
18
18
|
* Available types for BillingAdjustment records
|
|
@@ -22,20 +22,6 @@ var BillingAdjustmentEntityTypes;
|
|
|
22
22
|
/** Default record type */
|
|
23
23
|
BillingAdjustmentEntityTypes["DEFAULT"] = "DEFAULT";
|
|
24
24
|
})(BillingAdjustmentEntityTypes = exports.BillingAdjustmentEntityTypes || (exports.BillingAdjustmentEntityTypes = {}));
|
|
25
|
-
/**
|
|
26
|
-
* Valid values for BillingAdjustment.DiscountType
|
|
27
|
-
*
|
|
28
|
-
* the type of discount (Sales - BillingAdjustment)
|
|
29
|
-
*
|
|
30
|
-
* @remarks Available options:
|
|
31
|
-
* - `AMOUNT` - Amount
|
|
32
|
-
* - `PERCENT` - Percent
|
|
33
|
-
*/
|
|
34
|
-
var BillingAdjustmentDiscountType;
|
|
35
|
-
(function (BillingAdjustmentDiscountType) {
|
|
36
|
-
BillingAdjustmentDiscountType["AMOUNT"] = "AMOUNT";
|
|
37
|
-
BillingAdjustmentDiscountType["PERCENT"] = "PERCENT";
|
|
38
|
-
})(BillingAdjustmentDiscountType = exports.BillingAdjustmentDiscountType || (exports.BillingAdjustmentDiscountType = {}));
|
|
39
25
|
/**
|
|
40
26
|
* Valid values for BillingAdjustment.ProrationType
|
|
41
27
|
*
|
|
@@ -88,42 +74,56 @@ var BillingAdjustmentReason;
|
|
|
88
74
|
BillingAdjustmentReason["RETENTION_DEAL"] = "RETENTION_DEAL";
|
|
89
75
|
BillingAdjustmentReason["SALES_MISSELLING_ADJUSTMENT"] = "SALES_MISSELLING_ADJUSTMENT";
|
|
90
76
|
})(BillingAdjustmentReason = exports.BillingAdjustmentReason || (exports.BillingAdjustmentReason = {}));
|
|
77
|
+
/**
|
|
78
|
+
* Valid values for BillingAdjustment.DiscountType
|
|
79
|
+
*
|
|
80
|
+
* the type of discount (Sales - BillingAdjustment)
|
|
81
|
+
*
|
|
82
|
+
* @remarks Available options:
|
|
83
|
+
* - `AMOUNT` - Amount
|
|
84
|
+
* - `PERCENT` - Percent
|
|
85
|
+
*/
|
|
86
|
+
var BillingAdjustmentDiscountType;
|
|
87
|
+
(function (BillingAdjustmentDiscountType) {
|
|
88
|
+
BillingAdjustmentDiscountType["AMOUNT"] = "AMOUNT";
|
|
89
|
+
BillingAdjustmentDiscountType["PERCENT"] = "PERCENT";
|
|
90
|
+
})(BillingAdjustmentDiscountType = exports.BillingAdjustmentDiscountType || (exports.BillingAdjustmentDiscountType = {}));
|
|
91
91
|
/**
|
|
92
92
|
* Property keys for BillingAdjustment
|
|
93
93
|
* Use these constants instead of string literals for type safety
|
|
94
94
|
*/
|
|
95
95
|
var BillingAdjustmentPropertyKeys;
|
|
96
96
|
(function (BillingAdjustmentPropertyKeys) {
|
|
97
|
-
/** Describe why this billing adjustment being applied (Sales - BillingAdjustment) */
|
|
98
|
-
BillingAdjustmentPropertyKeys["Description"] = "Description";
|
|
99
|
-
/** the length of the discount (Sales - BillingAdjustment) */
|
|
100
|
-
BillingAdjustmentPropertyKeys["DiscountLength"] = "DiscountLength";
|
|
101
|
-
/** the type of discount (Sales - BillingAdjustment) */
|
|
102
|
-
BillingAdjustmentPropertyKeys["DiscountType"] = "DiscountType";
|
|
103
|
-
/** the value of the discount to be applied (Sales - BillingAdjustment) */
|
|
104
|
-
BillingAdjustmentPropertyKeys["DiscountValue"] = "DiscountValue";
|
|
105
|
-
/** ExternalReference */
|
|
106
|
-
BillingAdjustmentPropertyKeys["ExternalReference"] = "ExternalReference";
|
|
107
|
-
/** The number of future invoices that should be free of charge (Sales - BillingAdjustment) */
|
|
108
|
-
BillingAdjustmentPropertyKeys["FreePeriodLength"] = "FreePeriodLength";
|
|
109
|
-
/** end of first full cycle (Invoice.BillingPeriodEnd!) (Sales - BillingAdjustment) */
|
|
110
|
-
BillingAdjustmentPropertyKeys["InCycleBillingPeriodEnd"] = "InCycleBillingPeriodEnd";
|
|
111
97
|
/** the new billing billing period start (Sales - BillingAdjustment) */
|
|
112
98
|
BillingAdjustmentPropertyKeys["InCycleBillingPeriodStart"] = "InCycleBillingPeriodStart";
|
|
113
|
-
/** The number of days being prorated (Sales - BillingAdjustment) */
|
|
114
|
-
BillingAdjustmentPropertyKeys["ProrationBillableDays"] = "ProrationBillableDays";
|
|
115
|
-
/** day before new billing day (Sales - BillingAdjustment) */
|
|
116
|
-
BillingAdjustmentPropertyKeys["ProrationBillingPeriodEnd"] = "ProrationBillingPeriodEnd";
|
|
117
99
|
/** day after prev invoice ended (Sales - BillingAdjustment) */
|
|
118
100
|
BillingAdjustmentPropertyKeys["ProrationBillingPeriodStart"] = "ProrationBillingPeriodStart";
|
|
101
|
+
/** day before new billing day (Sales - BillingAdjustment) */
|
|
102
|
+
BillingAdjustmentPropertyKeys["ProrationBillingPeriodEnd"] = "ProrationBillingPeriodEnd";
|
|
119
103
|
/** proration type charge or credit (Sales - BillingAdjustment) */
|
|
120
104
|
BillingAdjustmentPropertyKeys["ProrationType"] = "ProrationType";
|
|
105
|
+
/** The number of future invoices that should be free of charge (Sales - BillingAdjustment) */
|
|
106
|
+
BillingAdjustmentPropertyKeys["FreePeriodLength"] = "FreePeriodLength";
|
|
107
|
+
/** The number of days being prorated (Sales - BillingAdjustment) */
|
|
108
|
+
BillingAdjustmentPropertyKeys["ProrationBillableDays"] = "ProrationBillableDays";
|
|
121
109
|
/** the billing adjustment reason (Sales - BillingAdjustment) */
|
|
122
110
|
BillingAdjustmentPropertyKeys["Reason"] = "Reason";
|
|
123
|
-
/** Source of payment date update (Sales - BillingAdjustment) */
|
|
124
|
-
BillingAdjustmentPropertyKeys["Source"] = "Source";
|
|
125
111
|
/** Billing Adjustment Title (Sales - BillingAdjustment) */
|
|
126
112
|
BillingAdjustmentPropertyKeys["Title"] = "Title";
|
|
113
|
+
/** Describe why this billing adjustment being applied (Sales - BillingAdjustment) */
|
|
114
|
+
BillingAdjustmentPropertyKeys["Description"] = "Description";
|
|
115
|
+
/** the type of discount (Sales - BillingAdjustment) */
|
|
116
|
+
BillingAdjustmentPropertyKeys["DiscountType"] = "DiscountType";
|
|
117
|
+
/** the value of the discount to be applied (Sales - BillingAdjustment) */
|
|
118
|
+
BillingAdjustmentPropertyKeys["DiscountValue"] = "DiscountValue";
|
|
119
|
+
/** Source of payment date update (Sales - BillingAdjustment) */
|
|
120
|
+
BillingAdjustmentPropertyKeys["Source"] = "Source";
|
|
121
|
+
/** the length of the discount (Sales - BillingAdjustment) */
|
|
122
|
+
BillingAdjustmentPropertyKeys["DiscountLength"] = "DiscountLength";
|
|
123
|
+
/** end of first full cycle (Invoice.BillingPeriodEnd!) (Sales - BillingAdjustment) */
|
|
124
|
+
BillingAdjustmentPropertyKeys["InCycleBillingPeriodEnd"] = "InCycleBillingPeriodEnd";
|
|
125
|
+
/** ExternalReference */
|
|
126
|
+
BillingAdjustmentPropertyKeys["ExternalReference"] = "ExternalReference";
|
|
127
127
|
})(BillingAdjustmentPropertyKeys = exports.BillingAdjustmentPropertyKeys || (exports.BillingAdjustmentPropertyKeys = {}));
|
|
128
128
|
/**
|
|
129
129
|
* BillingAdjustment entity from OrderModule
|
|
@@ -563,6 +563,19 @@ export declare enum CaseComplaint {
|
|
|
563
563
|
NO = "NO",
|
|
564
564
|
YES = "YES"
|
|
565
565
|
}
|
|
566
|
+
/**
|
|
567
|
+
* Valid values for Case.Providers
|
|
568
|
+
*
|
|
569
|
+
* Providers
|
|
570
|
+
*
|
|
571
|
+
* @remarks Available options:
|
|
572
|
+
* - `Brsk`
|
|
573
|
+
* - `Youfibre`
|
|
574
|
+
*/
|
|
575
|
+
export declare enum CaseProviders {
|
|
576
|
+
BRSK = "Brsk",
|
|
577
|
+
YOUFIBRE = "Youfibre"
|
|
578
|
+
}
|
|
566
579
|
/**
|
|
567
580
|
* Valid values for Case.PrimaryException
|
|
568
581
|
*
|
|
@@ -1291,9 +1304,10 @@ export interface CaseProperties {
|
|
|
1291
1304
|
Complaint: CaseComplaint;
|
|
1292
1305
|
/** Providers
|
|
1293
1306
|
*
|
|
1294
|
-
* @type {
|
|
1307
|
+
* @type {ENUM}
|
|
1308
|
+
* @enum {CaseProviders}
|
|
1295
1309
|
*/
|
|
1296
|
-
Providers:
|
|
1310
|
+
Providers: CaseProviders;
|
|
1297
1311
|
/** Accuracy of the AI tags
|
|
1298
1312
|
*
|
|
1299
1313
|
* @type {TEXT}
|
|
@@ -1775,9 +1789,10 @@ export interface OutageCaseProperties {
|
|
|
1775
1789
|
Complaint: CaseComplaint;
|
|
1776
1790
|
/** Providers
|
|
1777
1791
|
*
|
|
1778
|
-
* @type {
|
|
1792
|
+
* @type {ENUM}
|
|
1793
|
+
* @enum {CaseProviders}
|
|
1779
1794
|
*/
|
|
1780
|
-
Providers:
|
|
1795
|
+
Providers: CaseProviders;
|
|
1781
1796
|
/** Accuracy of the AI tags
|
|
1782
1797
|
*
|
|
1783
1798
|
* @type {TEXT}
|
package/dist/entities-v2/Case.js
CHANGED
|
@@ -12,8 +12,8 @@
|
|
|
12
12
|
* Generated from Odin schema definition
|
|
13
13
|
*/
|
|
14
14
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
15
|
-
exports.
|
|
16
|
-
exports.ROUTING_KEY_LINK_CASE_PUSH_NOTIFICATION_DELETED = exports.ROUTING_KEY_LINK_CASE_PUSH_NOTIFICATION_CREATED = exports.ROUTING_KEY_LINK_CASE_ADDRESS_DELETED = exports.ROUTING_KEY_LINK_CASE_ADDRESS_CREATED = exports.ROUTING_KEY_LINK_CASE_CONTACT_DELETED = exports.ROUTING_KEY_LINK_CASE_CONTACT_CREATED = exports.ROUTING_KEY_LINK_CASE_QUEUE_CHANGE_DELETED = exports.ROUTING_KEY_LINK_CASE_QUEUE_CHANGE_CREATED = exports.ROUTING_KEY_LINK_CASE_ORDER_DELETED = exports.ROUTING_KEY_LINK_CASE_ORDER_CREATED = exports.ROUTING_KEY_LINK_CASE_CASE_ACTION_DELETED = exports.ROUTING_KEY_LINK_CASE_CASE_ACTION_CREATED = exports.ROUTING_KEY_LINK_CASE_FILE_DELETED = exports.ROUTING_KEY_LINK_CASE_FILE_CREATED = exports.ROUTING_KEY_LINK_CASE_CASE_DELETED = exports.ROUTING_KEY_LINK_CASE_CASE_CREATED = exports.ROUTING_KEY_LINK_CASE_CONVERSATION_DELETED = exports.ROUTING_KEY_LINK_CASE_CONVERSATION_CREATED = exports.ROUTING_KEY_LINK_CASE_WORK_ORDER_DELETED = exports.ROUTING_KEY_LINK_CASE_WORK_ORDER_CREATED = exports.ROUTING_KEY_LINK_CASE_NOTE_DELETED = exports.ROUTING_KEY_LINK_CASE_NOTE_CREATED = void 0;
|
|
15
|
+
exports.ROUTING_KEY_LINK_CASE_TEAM_CREATED = exports.ROUTING_KEY_LINK_CASE_CONTRACT_BUY_OUT_DELETED = exports.ROUTING_KEY_LINK_CASE_CONTRACT_BUY_OUT_CREATED = exports.ROUTING_KEY_LINK_CASE_EMAIL_DELETED = exports.ROUTING_KEY_LINK_CASE_EMAIL_CREATED = exports.ROUTING_KEY_LINK_CASE_SMS_MESSAGE_DELETED = exports.ROUTING_KEY_LINK_CASE_SMS_MESSAGE_CREATED = exports.ROUTING_KEY_LINK_CASE_OWNER_DELETED = exports.ROUTING_KEY_LINK_CASE_OWNER_CREATED = exports.ROUTING_KEY_LINK_CASE_ACTIVITY_LOG_DELETED = exports.ROUTING_KEY_LINK_CASE_ACTIVITY_LOG_CREATED = exports.ROUTING_KEY_CASE_OUTAGE_DELETED = exports.ROUTING_KEY_CASE_OUTAGE_UPDATED = exports.ROUTING_KEY_CASE_OUTAGE_CREATED = exports.ROUTING_KEY_CASE_DEFAULT_DELETED = exports.ROUTING_KEY_CASE_DEFAULT_UPDATED = exports.ROUTING_KEY_CASE_DEFAULT_CREATED = exports.ROUTING_KEY_CASE_DELETED = exports.ROUTING_KEY_CASE_UPDATED = exports.ROUTING_KEY_CASE_CREATED = exports.Case = exports.CasePropertyKeys = exports.CaseCsatResolutionReason = exports.CaseCsatAgentReason = exports.CasePrimaryExceptionReason = exports.CasePrimaryException = exports.CaseProviders = exports.CaseComplaint = exports.CaseFormalComplaint = exports.CaseConversationStatus = exports.CaseCategory = exports.CaseProblem = exports.CaseSource = exports.CaseImpact = exports.CaseCsatReason = exports.CaseDpaCustomerType = exports.CaseSubCategory = exports.CaseReasonForReview = exports.CaseDpaCustomerCategory = exports.CaseBlockedReason = exports.CaseChannel = exports.CaseSla = exports.CaseOrigin = exports.CaseDeprecated = exports.CaseBusinessArea = exports.OutageCaseStageKeys = exports.OutageCaseStageNames = exports.DefaultCaseStageKeys = exports.DefaultCaseStageNames = exports.CaseEntityTypes = void 0;
|
|
16
|
+
exports.ROUTING_KEY_LINK_CASE_PUSH_NOTIFICATION_DELETED = exports.ROUTING_KEY_LINK_CASE_PUSH_NOTIFICATION_CREATED = exports.ROUTING_KEY_LINK_CASE_ADDRESS_DELETED = exports.ROUTING_KEY_LINK_CASE_ADDRESS_CREATED = exports.ROUTING_KEY_LINK_CASE_CONTACT_DELETED = exports.ROUTING_KEY_LINK_CASE_CONTACT_CREATED = exports.ROUTING_KEY_LINK_CASE_QUEUE_CHANGE_DELETED = exports.ROUTING_KEY_LINK_CASE_QUEUE_CHANGE_CREATED = exports.ROUTING_KEY_LINK_CASE_ORDER_DELETED = exports.ROUTING_KEY_LINK_CASE_ORDER_CREATED = exports.ROUTING_KEY_LINK_CASE_CASE_ACTION_DELETED = exports.ROUTING_KEY_LINK_CASE_CASE_ACTION_CREATED = exports.ROUTING_KEY_LINK_CASE_FILE_DELETED = exports.ROUTING_KEY_LINK_CASE_FILE_CREATED = exports.ROUTING_KEY_LINK_CASE_CASE_DELETED = exports.ROUTING_KEY_LINK_CASE_CASE_CREATED = exports.ROUTING_KEY_LINK_CASE_CONVERSATION_DELETED = exports.ROUTING_KEY_LINK_CASE_CONVERSATION_CREATED = exports.ROUTING_KEY_LINK_CASE_WORK_ORDER_DELETED = exports.ROUTING_KEY_LINK_CASE_WORK_ORDER_CREATED = exports.ROUTING_KEY_LINK_CASE_NOTE_DELETED = exports.ROUTING_KEY_LINK_CASE_NOTE_CREATED = exports.ROUTING_KEY_LINK_CASE_TEAM_DELETED = void 0;
|
|
17
17
|
const core_1 = require("@d19n/odin-types/dist/core");
|
|
18
18
|
/**
|
|
19
19
|
* Available types for Case records
|
|
@@ -570,6 +570,20 @@ var CaseComplaint;
|
|
|
570
570
|
CaseComplaint["NO"] = "NO";
|
|
571
571
|
CaseComplaint["YES"] = "YES";
|
|
572
572
|
})(CaseComplaint = exports.CaseComplaint || (exports.CaseComplaint = {}));
|
|
573
|
+
/**
|
|
574
|
+
* Valid values for Case.Providers
|
|
575
|
+
*
|
|
576
|
+
* Providers
|
|
577
|
+
*
|
|
578
|
+
* @remarks Available options:
|
|
579
|
+
* - `Brsk`
|
|
580
|
+
* - `Youfibre`
|
|
581
|
+
*/
|
|
582
|
+
var CaseProviders;
|
|
583
|
+
(function (CaseProviders) {
|
|
584
|
+
CaseProviders["BRSK"] = "Brsk";
|
|
585
|
+
CaseProviders["YOUFIBRE"] = "Youfibre";
|
|
586
|
+
})(CaseProviders = exports.CaseProviders || (exports.CaseProviders = {}));
|
|
573
587
|
/**
|
|
574
588
|
* Valid values for Case.PrimaryException
|
|
575
589
|
*
|
|
@@ -13,15 +13,23 @@
|
|
|
13
13
|
* await record.createAccountCredit({ ... }).execute();
|
|
14
14
|
* ```
|
|
15
15
|
*
|
|
16
|
+
* Entity Types: DEFAULT
|
|
17
|
+
*
|
|
16
18
|
* AUTO-GENERATED - DO NOT EDIT DIRECTLY
|
|
17
19
|
*/
|
|
18
20
|
import { OdinRecord, OdinRecordLinkDto } from '@d19n/odin-types/dist/core';
|
|
19
21
|
import { PipelineStageEntity } from '@d19n/odin-types/dist/core';
|
|
20
22
|
import { IDbRecordCreateUpdateRes } from '@d19n/odin-types/dist/core/interfaces/v1.db.interfaces';
|
|
21
23
|
import { IOdinProvider } from '@d19n/odin-sdk-generator/dist/odin-sdk-types';
|
|
24
|
+
import { RecordLinkManager } from '@d19n/odin-sdk-generator/dist/record-link-manager';
|
|
22
25
|
import { AccountCreditProperties } from '../entities-v2/AccountCredit';
|
|
23
26
|
import { CreateAccountCreditProperties } from '../actions-v2/CreateAccountCreditDto';
|
|
24
27
|
import { UpdateAccountCreditBalanceProperties } from '../actions-v2/UpdateAccountCreditBalanceDto';
|
|
28
|
+
import { CreditNoteRecord } from './CreditNoteRecord';
|
|
29
|
+
import { ContactRecord } from './ContactRecord';
|
|
30
|
+
import { InvoiceRecord } from './InvoiceRecord';
|
|
31
|
+
/** Valid entity types for AccountCredit */
|
|
32
|
+
export declare type AccountCreditType = 'DEFAULT';
|
|
25
33
|
/**
|
|
26
34
|
* Builder for action execution with dryRun support
|
|
27
35
|
*
|
|
@@ -85,6 +93,9 @@ export declare class AccountCreditRecord<TProps = AccountCreditProperties> {
|
|
|
85
93
|
private _provider;
|
|
86
94
|
private _pendingLinks;
|
|
87
95
|
private _preGeneratedId;
|
|
96
|
+
private _creditNotes?;
|
|
97
|
+
private _contacts?;
|
|
98
|
+
private _invoices?;
|
|
88
99
|
/**
|
|
89
100
|
* Create a record wrapper.
|
|
90
101
|
* @param record - The underlying record, or null for create operations
|
|
@@ -97,7 +108,7 @@ export declare class AccountCreditRecord<TProps = AccountCreditProperties> {
|
|
|
97
108
|
/** Record ID - always available (pre-generated for new records) */
|
|
98
109
|
get id(): string;
|
|
99
110
|
get entity(): string;
|
|
100
|
-
get type():
|
|
111
|
+
get type(): AccountCreditType | undefined;
|
|
101
112
|
/** Record properties - empty object for new (unsaved) records */
|
|
102
113
|
get properties(): TProps;
|
|
103
114
|
get title(): string | undefined;
|
|
@@ -110,6 +121,76 @@ export declare class AccountCreditRecord<TProps = AccountCreditProperties> {
|
|
|
110
121
|
get groups(): string[];
|
|
111
122
|
/** Access the underlying OdinRecord (null for new records) */
|
|
112
123
|
get record(): OdinRecord<TProps> | null;
|
|
124
|
+
/**
|
|
125
|
+
* Type guard: check if this record is of type DEFAULT
|
|
126
|
+
*
|
|
127
|
+
* When this returns true, TypeScript automatically narrows the type,
|
|
128
|
+
* giving you access to DEFAULT-specific properties.
|
|
129
|
+
*
|
|
130
|
+
* @example
|
|
131
|
+
* ```typescript
|
|
132
|
+
* if (record.isDefault()) {
|
|
133
|
+
* // TypeScript knows record.properties is AccountCreditProperties
|
|
134
|
+
* console.log(record.properties.SomeTypeSpecificField);
|
|
135
|
+
* }
|
|
136
|
+
* ```
|
|
137
|
+
* @remarks This is the default record type
|
|
138
|
+
*/
|
|
139
|
+
isDefault(): this is AccountCreditRecord<AccountCreditProperties>;
|
|
140
|
+
/** Valid labels for CreditNote associations */
|
|
141
|
+
static readonly creditNotesLabels: readonly ["AccountCredit__CreditNote"];
|
|
142
|
+
/**
|
|
143
|
+
* Access linked CreditNote records
|
|
144
|
+
* @remarks Available labels: AccountCredit__CreditNote
|
|
145
|
+
* @throws Error if called on a new (unsaved) record
|
|
146
|
+
*
|
|
147
|
+
* @example
|
|
148
|
+
* ```typescript
|
|
149
|
+
* // Get all linked CreditNote records
|
|
150
|
+
* const items = await record.creditNotes.list();
|
|
151
|
+
* const first = await record.creditNotes.first();
|
|
152
|
+
*
|
|
153
|
+
* // Filter by label
|
|
154
|
+
* const specific = await record.creditNotes.first({ label: 'AccountCredit__CreditNote' });
|
|
155
|
+
* ```
|
|
156
|
+
*/
|
|
157
|
+
get creditNotes(): RecordLinkManager<CreditNoteRecord, typeof AccountCreditRecord['creditNotesLabels'][number]>;
|
|
158
|
+
/** Valid labels for Contact associations */
|
|
159
|
+
static readonly contactsLabels: readonly ["Contact__AccountCredit"];
|
|
160
|
+
/**
|
|
161
|
+
* Access linked Contact records
|
|
162
|
+
* @remarks Available labels: Contact__AccountCredit
|
|
163
|
+
* @throws Error if called on a new (unsaved) record
|
|
164
|
+
*
|
|
165
|
+
* @example
|
|
166
|
+
* ```typescript
|
|
167
|
+
* // Get all linked Contact records
|
|
168
|
+
* const items = await record.contacts.list();
|
|
169
|
+
* const first = await record.contacts.first();
|
|
170
|
+
*
|
|
171
|
+
* // Filter by label
|
|
172
|
+
* const specific = await record.contacts.first({ label: 'Contact__AccountCredit' });
|
|
173
|
+
* ```
|
|
174
|
+
*/
|
|
175
|
+
get contacts(): RecordLinkManager<ContactRecord, typeof AccountCreditRecord['contactsLabels'][number]>;
|
|
176
|
+
/** Valid labels for Invoice associations */
|
|
177
|
+
static readonly invoicesLabels: readonly ["AccountCredit__Invoice"];
|
|
178
|
+
/**
|
|
179
|
+
* Access linked Invoice records
|
|
180
|
+
* @remarks Available labels: AccountCredit__Invoice
|
|
181
|
+
* @throws Error if called on a new (unsaved) record
|
|
182
|
+
*
|
|
183
|
+
* @example
|
|
184
|
+
* ```typescript
|
|
185
|
+
* // Get all linked Invoice records
|
|
186
|
+
* const items = await record.invoices.list();
|
|
187
|
+
* const first = await record.invoices.first();
|
|
188
|
+
*
|
|
189
|
+
* // Filter by label
|
|
190
|
+
* const specific = await record.invoices.first({ label: 'AccountCredit__Invoice' });
|
|
191
|
+
* ```
|
|
192
|
+
*/
|
|
193
|
+
get invoices(): RecordLinkManager<InvoiceRecord, typeof AccountCreditRecord['invoicesLabels'][number]>;
|
|
113
194
|
/**
|
|
114
195
|
* Queue a link to be created with the next action.
|
|
115
196
|
* Works for both create and update actions.
|