@d19n/youfibre-odin-sdk 2.0.30 → 2.0.31
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 +13 -2
- package/dist/EntityRegistry.d.ts +2 -0
- package/dist/EntityRegistry.js +2 -0
- package/dist/OdinApiClient.d.ts +4 -0
- package/dist/OdinApiClient.js +8 -0
- package/dist/OdinDbClient.d.ts +4 -0
- package/dist/OdinDbClient.js +8 -0
- package/dist/accessors-v2/ContactIdentityAccessor.d.ts +111 -0
- package/dist/accessors-v2/ContactIdentityAccessor.js +190 -0
- package/dist/accessors-v2/index.d.ts +1 -0
- package/dist/accessors-v2/index.js +5 -3
- package/dist/actions-v2/BillingAdjustmentCreateDto.d.ts +8 -1
- package/dist/actions-v2/CompleteChurnRequestDto.d.ts +15 -5
- package/dist/actions-v2/CompleteChurnRequestFlowDto.d.ts +15 -5
- package/dist/actions-v2/CreateAuddisPgReportAllocationDto.d.ts +88 -0
- package/dist/actions-v2/CreateAuddisPgReportAllocationDto.js +59 -0
- package/dist/actions-v2/CreateBacsPgReportAllocationDto.d.ts +88 -0
- package/dist/actions-v2/CreateBacsPgReportAllocationDto.js +59 -0
- package/dist/actions-v2/CreateBrskMigrationErrorDto.d.ts +10 -3
- package/dist/actions-v2/CreateBrskMigrationErrorDto.js +11 -4
- package/dist/actions-v2/CreateCaseDto.d.ts +3 -4
- package/dist/actions-v2/CreateCaseFromCasesDto.d.ts +4 -6
- package/dist/actions-v2/CreateCaseFromContactDto.d.ts +3 -4
- package/dist/actions-v2/CreatePgContactDto.d.ts +9 -1
- package/dist/actions-v2/CreatePgPaymentMethodDto.d.ts +9 -1
- package/dist/actions-v2/CreatePgTransactionChargeDto.d.ts +9 -1
- package/dist/actions-v2/CreatePgTransactionRefundDto.d.ts +9 -1
- package/dist/actions-v2/EditCaseFormDto.d.ts +8 -1
- package/dist/actions-v2/MovePgWebhookToSentDto.d.ts +70 -0
- package/dist/actions-v2/MovePgWebhookToSentDto.js +62 -0
- package/dist/actions-v2/UpdateBngProvisionDto.d.ts +0 -14
- package/dist/actions-v2/UpdateContactIdentityDto.d.ts +79 -0
- package/dist/actions-v2/UpdateContactIdentityDto.js +56 -0
- package/dist/actions-v2/UpdateCustomerDeviceOntDto.d.ts +22 -1
- package/dist/actions-v2/UpdateOneTouchSwitchOrderForActivationDto.d.ts +77 -0
- package/dist/actions-v2/UpdateOneTouchSwitchOrderForActivationDto.js +61 -0
- package/dist/actions-v2/UpdatePaymentMethodDto.d.ts +17 -14
- package/dist/actions-v2/UpdatePaymentMethodDto.js +4 -6
- package/dist/actions-v2/UpdatePgContactDto.d.ts +8 -1
- package/dist/actions-v2/UpdatePgPaymentMethodDto.d.ts +8 -1
- package/dist/actions-v2/UpdatePgTransactionChargeDto.d.ts +8 -1
- package/dist/actions-v2/UpdatePgTransactionRefundDto.d.ts +8 -1
- package/dist/api-sdk-v2/ContactApi.d.ts +2 -0
- package/dist/api-sdk-v2/ContactApi.js +6 -0
- package/dist/api-sdk-v2/PaymentMethodApi.d.ts +2 -0
- package/dist/api-sdk-v2/PaymentMethodApi.js +6 -0
- package/dist/api-sdk-v2/PaymentMethodRefundApi.d.ts +2 -0
- package/dist/api-sdk-v2/PaymentMethodRefundApi.js +6 -0
- package/dist/api-sdk-v2/PgContactApi.d.ts +2 -0
- package/dist/api-sdk-v2/PgContactApi.js +6 -0
- package/dist/api-sdk-v2/PgPaymentMethodApi.d.ts +2 -0
- package/dist/api-sdk-v2/PgPaymentMethodApi.js +6 -0
- package/dist/api-sdk-v2/PgTransactionApi.d.ts +4 -0
- package/dist/api-sdk-v2/PgTransactionApi.js +12 -0
- package/dist/api-sdk-v2/TransactionApi.d.ts +2 -0
- package/dist/api-sdk-v2/TransactionApi.js +6 -0
- package/dist/db-accessors-v2/ContactIdentityDbAccessor.d.ts +149 -0
- package/dist/db-accessors-v2/ContactIdentityDbAccessor.js +227 -0
- package/dist/db-accessors-v2/index.d.ts +1 -0
- package/dist/db-accessors-v2/index.js +5 -3
- package/dist/db-sdk-v2/ContactDb.d.ts +2 -0
- package/dist/db-sdk-v2/ContactDb.js +6 -0
- package/dist/db-sdk-v2/PaymentMethodDb.d.ts +2 -0
- package/dist/db-sdk-v2/PaymentMethodDb.js +6 -0
- package/dist/db-sdk-v2/PaymentMethodRefundDb.d.ts +2 -0
- package/dist/db-sdk-v2/PaymentMethodRefundDb.js +6 -0
- package/dist/db-sdk-v2/PgContactDb.d.ts +2 -0
- package/dist/db-sdk-v2/PgContactDb.js +6 -0
- package/dist/db-sdk-v2/PgPaymentMethodDb.d.ts +2 -0
- package/dist/db-sdk-v2/PgPaymentMethodDb.js +6 -0
- package/dist/db-sdk-v2/PgTransactionDb.d.ts +4 -0
- package/dist/db-sdk-v2/PgTransactionDb.js +12 -0
- package/dist/db-sdk-v2/TransactionDb.d.ts +2 -0
- package/dist/db-sdk-v2/TransactionDb.js +6 -0
- package/dist/entities-v2/BillingAdjustment.d.ts +77 -70
- package/dist/entities-v2/BillingAdjustment.js +35 -33
- package/dist/entities-v2/BngProvision.d.ts +0 -14
- package/dist/entities-v2/BngProvision.js +0 -4
- package/dist/entities-v2/BrskEntityMigrationError.d.ts +14 -14
- package/dist/entities-v2/BrskEntityMigrationError.js +4 -4
- package/dist/entities-v2/Case.d.ts +12 -0
- package/dist/entities-v2/Case.js +2 -0
- package/dist/entities-v2/ChurnRequest.d.ts +8 -1
- package/dist/entities-v2/ChurnRequest.js +2 -0
- package/dist/entities-v2/Config.d.ts +8 -8
- package/dist/entities-v2/Config.js +4 -4
- package/dist/entities-v2/Contact.d.ts +3 -0
- package/dist/entities-v2/Conversation.d.ts +0 -2
- package/dist/entities-v2/Conversation.js +0 -2
- package/dist/entities-v2/CustomerDeviceOnt.d.ts +8 -1
- package/dist/entities-v2/CustomerDeviceOnt.js +2 -0
- package/dist/entities-v2/Order.d.ts +21 -0
- package/dist/entities-v2/Order.js +6 -0
- package/dist/entities-v2/PaymentMethod.d.ts +6 -1
- package/dist/entities-v2/PaymentMethod.js +2 -0
- package/dist/entities-v2/PaymentMethodRefund.d.ts +3 -0
- package/dist/entities-v2/PgContact.d.ts +14 -0
- package/dist/entities-v2/PgContact.js +7 -1
- package/dist/entities-v2/PgFileAllocation.d.ts +17 -17
- package/dist/entities-v2/PgFileAllocation.js +2 -2
- package/dist/entities-v2/PgPaymentMethod.d.ts +14 -0
- package/dist/entities-v2/PgPaymentMethod.js +7 -1
- package/dist/entities-v2/PgTransaction.d.ts +48 -0
- package/dist/entities-v2/PgTransaction.js +13 -1
- package/dist/entities-v2/PgWebhook.d.ts +19 -3
- package/dist/entities-v2/PgWebhook.js +17 -1
- package/dist/entities-v2/PriceBook.d.ts +8 -8
- package/dist/entities-v2/PriceBook.js +2 -2
- package/dist/entities-v2/Referral.d.ts +1 -1
- package/dist/entities-v2/Referral.js +1 -1
- package/dist/entities-v2/Reward.d.ts +1 -1
- package/dist/entities-v2/Reward.js +1 -1
- package/dist/entities-v2/Service.d.ts +28 -20
- package/dist/entities-v2/Service.js +23 -15
- package/dist/entities-v2/Transaction.d.ts +6 -1
- package/dist/entities-v2/Transaction.js +2 -0
- package/dist/entities-v2/VoiceConfiguration.d.ts +8 -1
- package/dist/entities-v2/VoiceConfiguration.js +2 -0
- package/dist/entities-v2/WorkOrder.d.ts +3 -2
- package/dist/entities-v2/WorkOrder.js +3 -2
- package/dist/records-v2/AccountCreditRecord.d.ts +1 -82
- package/dist/records-v2/AccountCreditRecord.js +0 -124
- package/dist/records-v2/AccountRecord.d.ts +2 -306
- package/dist/records-v2/AccountRecord.js +0 -451
- package/dist/records-v2/ActivityLogRecord.d.ts +1 -122
- package/dist/records-v2/ActivityLogRecord.js +0 -190
- package/dist/records-v2/ActivityRecord.d.ts +2 -255
- package/dist/records-v2/ActivityRecord.js +0 -387
- package/dist/records-v2/AddressRecord.d.ts +0 -321
- package/dist/records-v2/AddressRecord.js +0 -532
- package/dist/records-v2/AffiliateCodeRecord.d.ts +1 -102
- package/dist/records-v2/AffiliateCodeRecord.js +0 -157
- package/dist/records-v2/AppointmentRecord.d.ts +0 -141
- package/dist/records-v2/AppointmentRecord.js +0 -235
- package/dist/records-v2/BillingAdjustmentRecord.d.ts +0 -81
- package/dist/records-v2/BillingAdjustmentRecord.js +0 -136
- package/dist/records-v2/BillingRequestRecord.d.ts +2 -178
- package/dist/records-v2/BillingRequestRecord.js +0 -271
- package/dist/records-v2/BlockageA55Record.d.ts +2 -103
- package/dist/records-v2/BlockageA55Record.js +0 -157
- package/dist/records-v2/BngProvisionRecord.d.ts +1 -42
- package/dist/records-v2/BngProvisionRecord.js +0 -58
- package/dist/records-v2/BrskEntityMigrationErrorRecord.d.ts +3 -23
- package/dist/records-v2/BrskEntityMigrationErrorRecord.js +3 -24
- package/dist/records-v2/CallEventRecord.d.ts +1 -82
- package/dist/records-v2/CallEventRecord.js +0 -124
- package/dist/records-v2/CallLegRecord.d.ts +1 -82
- package/dist/records-v2/CallLegRecord.js +0 -124
- package/dist/records-v2/CallRecord.d.ts +1 -202
- package/dist/records-v2/CallRecord.js +0 -322
- package/dist/records-v2/CallTransferRecord.d.ts +1 -102
- package/dist/records-v2/CallTransferRecord.js +0 -157
- package/dist/records-v2/CampaignRecord.d.ts +2 -83
- package/dist/records-v2/CampaignRecord.js +0 -124
- package/dist/records-v2/CaseRecord.d.ts +2 -398
- package/dist/records-v2/CaseRecord.js +0 -634
- package/dist/records-v2/ChangeReasonRecord.d.ts +2 -171
- package/dist/records-v2/ChangeReasonRecord.js +0 -238
- package/dist/records-v2/ChurnRequestRecord.d.ts +1 -62
- package/dist/records-v2/ChurnRequestRecord.js +0 -91
- package/dist/records-v2/ContactIdentityRecord.d.ts +163 -0
- package/dist/records-v2/ContactIdentityRecord.js +223 -0
- package/dist/records-v2/ContactRecord.d.ts +0 -540
- package/dist/records-v2/ContactRecord.js +0 -894
- package/dist/records-v2/ContractBuyOutRecord.d.ts +1 -162
- package/dist/records-v2/ContractBuyOutRecord.js +0 -256
- package/dist/records-v2/ConversationRecord.d.ts +1 -82
- package/dist/records-v2/ConversationRecord.js +0 -124
- package/dist/records-v2/CreditNoteRecord.d.ts +0 -101
- package/dist/records-v2/CreditNoteRecord.js +0 -169
- package/dist/records-v2/CrmDatasetRecord.d.ts +2 -191
- package/dist/records-v2/CrmDatasetRecord.js +0 -271
- package/dist/records-v2/CustomerDeviceAtaRecord.d.ts +0 -21
- package/dist/records-v2/CustomerDeviceAtaRecord.js +0 -37
- package/dist/records-v2/CustomerDeviceConfigurationRecord.d.ts +1 -62
- package/dist/records-v2/CustomerDeviceConfigurationRecord.js +0 -91
- package/dist/records-v2/CustomerDeviceOntRecord.d.ts +0 -181
- package/dist/records-v2/CustomerDeviceOntRecord.js +0 -301
- package/dist/records-v2/CustomerDeviceRouterRecord.d.ts +0 -141
- package/dist/records-v2/CustomerDeviceRouterRecord.js +0 -235
- package/dist/records-v2/CustomerPhonePortingRecord.d.ts +0 -21
- package/dist/records-v2/CustomerPhonePortingRecord.js +0 -37
- package/dist/records-v2/DiscountRecord.d.ts +0 -121
- package/dist/records-v2/DiscountRecord.js +0 -202
- package/dist/records-v2/EmailRecord.d.ts +2 -230
- package/dist/records-v2/EmailRecord.js +0 -336
- package/dist/records-v2/EmailSenderRecord.d.ts +1 -42
- package/dist/records-v2/EmailSenderRecord.js +0 -58
- package/dist/records-v2/EmailTemplateRecord.d.ts +1 -21
- package/dist/records-v2/EmailTemplateRecord.js +0 -21
- package/dist/records-v2/FieldServiceDispatchedProductRecord.d.ts +2 -135
- package/dist/records-v2/FieldServiceDispatchedProductRecord.js +0 -189
- package/dist/records-v2/FieldServiceProductRecord.d.ts +2 -115
- package/dist/records-v2/FieldServiceProductRecord.js +0 -156
- package/dist/records-v2/FileRecord.d.ts +2 -1211
- package/dist/records-v2/FileRecord.js +0 -1902
- package/dist/records-v2/ImpersonationTrackerRecord.d.ts +1 -62
- package/dist/records-v2/ImpersonationTrackerRecord.js +0 -91
- package/dist/records-v2/InternalInstallAuditRecord.d.ts +2 -83
- package/dist/records-v2/InternalInstallAuditRecord.js +0 -124
- package/dist/records-v2/InvoiceItemRecord.d.ts +0 -40
- package/dist/records-v2/InvoiceItemRecord.js +0 -69
- package/dist/records-v2/InvoiceRecord.d.ts +2 -399
- package/dist/records-v2/InvoiceRecord.js +0 -635
- package/dist/records-v2/KnowledgeArticleRecord.d.ts +2 -98
- package/dist/records-v2/KnowledgeArticleRecord.js +0 -139
- package/dist/records-v2/LeadRecord.d.ts +0 -261
- package/dist/records-v2/LeadRecord.js +0 -433
- package/dist/records-v2/MessageRecord.d.ts +2 -131
- package/dist/records-v2/MessageRecord.js +0 -172
- package/dist/records-v2/NetworkDeviceRecord.d.ts +2 -43
- package/dist/records-v2/NetworkDeviceRecord.js +0 -58
- package/dist/records-v2/NoteRecord.d.ts +1 -1121
- package/dist/records-v2/NoteRecord.js +0 -1839
- package/dist/records-v2/OfferRecord.d.ts +2 -154
- package/dist/records-v2/OfferRecord.js +0 -221
- package/dist/records-v2/OhAuditOfInstallationRecord.d.ts +2 -83
- package/dist/records-v2/OhAuditOfInstallationRecord.js +0 -124
- package/dist/records-v2/OhExternalAuditRecord.d.ts +2 -83
- package/dist/records-v2/OhExternalAuditRecord.js +0 -124
- package/dist/records-v2/OhInProgressAuditRecord.d.ts +2 -83
- package/dist/records-v2/OhInProgressAuditRecord.js +0 -124
- package/dist/records-v2/OhInstallationAuditRecord.d.ts +2 -83
- package/dist/records-v2/OhInstallationAuditRecord.js +0 -124
- package/dist/records-v2/OhRetroAuditRecord.d.ts +2 -83
- package/dist/records-v2/OhRetroAuditRecord.js +0 -124
- package/dist/records-v2/OneTouchSwitchRecord.d.ts +30 -255
- package/dist/records-v2/OneTouchSwitchRecord.js +37 -387
- package/dist/records-v2/OntReplacementApprovalRecord.d.ts +1 -62
- package/dist/records-v2/OntReplacementApprovalRecord.js +0 -91
- package/dist/records-v2/OrderCheckRecord.d.ts +0 -21
- package/dist/records-v2/OrderCheckRecord.js +0 -37
- package/dist/records-v2/OrderItemRecord.d.ts +0 -300
- package/dist/records-v2/OrderItemRecord.js +0 -498
- package/dist/records-v2/OrderKciRecord.d.ts +1 -42
- package/dist/records-v2/OrderKciRecord.js +0 -58
- package/dist/records-v2/OrderRecord.d.ts +0 -620
- package/dist/records-v2/OrderRecord.js +0 -1026
- package/dist/records-v2/OutageRecord.d.ts +1 -42
- package/dist/records-v2/OutageRecord.js +0 -58
- package/dist/records-v2/OverlayRealA55Record.d.ts +2 -83
- package/dist/records-v2/OverlayRealA55Record.js +0 -124
- package/dist/records-v2/PICRequestRecord.d.ts +1 -62
- package/dist/records-v2/PICRequestRecord.js +0 -91
- package/dist/records-v2/PaymentMethodRecord.d.ts +7 -127
- package/dist/records-v2/PaymentMethodRecord.js +15 -209
- package/dist/records-v2/PaymentMethodRefundRecord.d.ts +0 -181
- package/dist/records-v2/PaymentMethodRefundRecord.js +0 -301
- package/dist/records-v2/PaymentRecord.d.ts +1 -82
- package/dist/records-v2/PaymentRecord.js +0 -124
- package/dist/records-v2/PermissionToFailRecord.d.ts +0 -61
- package/dist/records-v2/PermissionToFailRecord.js +0 -103
- package/dist/records-v2/PgAccountValidationRecord.d.ts +1 -21
- package/dist/records-v2/PgAccountValidationRecord.js +0 -21
- package/dist/records-v2/PgContactRecord.d.ts +1 -62
- package/dist/records-v2/PgContactRecord.js +0 -91
- package/dist/records-v2/PgDirectDebitFileRecord.d.ts +2 -95
- package/dist/records-v2/PgDirectDebitFileRecord.js +0 -123
- package/dist/records-v2/PgDisputeRecord.d.ts +1 -62
- package/dist/records-v2/PgDisputeRecord.js +0 -91
- package/dist/records-v2/PgFileAllocationRecord.d.ts +58 -140
- package/dist/records-v2/PgFileAllocationRecord.js +72 -185
- package/dist/records-v2/PgLogRecord.d.ts +1 -21
- package/dist/records-v2/PgLogRecord.js +0 -21
- package/dist/records-v2/PgPaymentMethodRecord.d.ts +1 -102
- package/dist/records-v2/PgPaymentMethodRecord.js +0 -157
- package/dist/records-v2/PgSortCodeSubstitutionRecord.d.ts +1 -21
- package/dist/records-v2/PgSortCodeSubstitutionRecord.js +0 -21
- package/dist/records-v2/PgTransactionRecord.d.ts +2 -135
- package/dist/records-v2/PgTransactionRecord.js +0 -189
- package/dist/records-v2/PgVocalinkRecord.d.ts +1 -21
- package/dist/records-v2/PgVocalinkRecord.js +0 -21
- package/dist/records-v2/PgWebhookAttemptRecord.d.ts +1 -42
- package/dist/records-v2/PgWebhookAttemptRecord.js +0 -58
- package/dist/records-v2/PgWebhookRecord.d.ts +26 -122
- package/dist/records-v2/PgWebhookRecord.js +29 -190
- package/dist/records-v2/PhoneNumberRecord.d.ts +0 -41
- package/dist/records-v2/PhoneNumberRecord.js +0 -70
- package/dist/records-v2/PriceBookRecord.d.ts +0 -21
- package/dist/records-v2/PriceBookRecord.js +0 -37
- package/dist/records-v2/ProductRecord.d.ts +2 -258
- package/dist/records-v2/ProductRecord.js +0 -351
- package/dist/records-v2/PushNotificationRecord.d.ts +1 -162
- package/dist/records-v2/PushNotificationRecord.js +0 -256
- package/dist/records-v2/ReferralRecord.d.ts +2 -143
- package/dist/records-v2/ReferralRecord.js +0 -223
- package/dist/records-v2/RemediationOutcomeFormRecord.d.ts +2 -83
- package/dist/records-v2/RemediationOutcomeFormRecord.js +0 -124
- package/dist/records-v2/RemediationRequiredReasonRecord.d.ts +2 -103
- package/dist/records-v2/RemediationRequiredReasonRecord.js +0 -157
- package/dist/records-v2/ReturnsRecord.d.ts +1 -62
- package/dist/records-v2/ReturnsRecord.js +0 -91
- package/dist/records-v2/RewardRecord.d.ts +2 -123
- package/dist/records-v2/RewardRecord.js +0 -190
- package/dist/records-v2/SalesTerritoryRecord.d.ts +2 -79
- package/dist/records-v2/SalesTerritoryRecord.js +0 -107
- package/dist/records-v2/ScheduleSlotRecord.d.ts +1 -42
- package/dist/records-v2/ScheduleSlotRecord.js +0 -58
- package/dist/records-v2/ServiceAppointmentConfigRecord.d.ts +2 -287
- package/dist/records-v2/ServiceAppointmentConfigRecord.js +0 -367
- package/dist/records-v2/ServiceAppointmentRecord.d.ts +0 -81
- package/dist/records-v2/ServiceAppointmentRecord.js +0 -136
- package/dist/records-v2/ServiceRecord.d.ts +0 -40
- package/dist/records-v2/ServiceRecord.js +0 -69
- package/dist/records-v2/ServiceVisitAuditRecord.d.ts +2 -83
- package/dist/records-v2/ServiceVisitAuditRecord.js +0 -124
- package/dist/records-v2/SiteSpecificRiskAssessmentOutcomeFormRecord.d.ts +2 -83
- package/dist/records-v2/SiteSpecificRiskAssessmentOutcomeFormRecord.js +0 -124
- package/dist/records-v2/SmsMessageRecord.d.ts +2 -175
- package/dist/records-v2/SmsMessageRecord.js +0 -255
- package/dist/records-v2/SweeperMaintenanceAuditRecord.d.ts +2 -83
- package/dist/records-v2/SweeperMaintenanceAuditRecord.js +0 -124
- package/dist/records-v2/TeamRecord.d.ts +0 -101
- package/dist/records-v2/TeamRecord.js +0 -169
- package/dist/records-v2/TestEntityForVisualBuilderRecord.d.ts +2 -115
- package/dist/records-v2/TestEntityForVisualBuilderRecord.js +0 -156
- package/dist/records-v2/TimeSlotRecord.d.ts +0 -21
- package/dist/records-v2/TimeSlotRecord.js +0 -37
- package/dist/records-v2/TransactionRecord.d.ts +1 -181
- package/dist/records-v2/TransactionRecord.js +0 -288
- package/dist/records-v2/TwilioUserUpdateRecord.d.ts +1 -42
- package/dist/records-v2/TwilioUserUpdateRecord.js +0 -58
- package/dist/records-v2/UgAuditOfInstallationRecord.d.ts +2 -83
- package/dist/records-v2/UgAuditOfInstallationRecord.js +0 -124
- package/dist/records-v2/UgExternalAuditRecord.d.ts +2 -83
- package/dist/records-v2/UgExternalAuditRecord.js +0 -124
- package/dist/records-v2/UgInProgressAuditRecord.d.ts +2 -83
- package/dist/records-v2/UgInProgressAuditRecord.js +0 -124
- package/dist/records-v2/UgInstallationAuditRecord.d.ts +2 -83
- package/dist/records-v2/UgInstallationAuditRecord.js +0 -124
- package/dist/records-v2/UgRetroAuditRecord.d.ts +2 -83
- package/dist/records-v2/UgRetroAuditRecord.js +0 -124
- package/dist/records-v2/UserRecord.d.ts +0 -380
- package/dist/records-v2/UserRecord.js +0 -630
- package/dist/records-v2/VisitRecord.d.ts +0 -121
- package/dist/records-v2/VisitRecord.js +0 -202
- package/dist/records-v2/VoiceConfigurationRecord.d.ts +0 -21
- package/dist/records-v2/VoiceConfigurationRecord.js +0 -37
- package/dist/records-v2/WayleaveAuditRecord.d.ts +2 -83
- package/dist/records-v2/WayleaveAuditRecord.js +0 -124
- package/dist/records-v2/WorkOrderRecord.d.ts +2 -1226
- package/dist/records-v2/WorkOrderRecord.js +0 -1865
- package/dist/records-v2/WorkOrderStatusUpdateRecord.d.ts +2 -75
- package/dist/records-v2/WorkOrderStatusUpdateRecord.js +0 -90
- package/dist/records-v2/YfFieldServiceVisitRecord.d.ts +2 -83
- package/dist/records-v2/YfFieldServiceVisitRecord.js +0 -124
- package/dist/records-v2/YfStockAuditRecord.d.ts +2 -103
- package/dist/records-v2/YfStockAuditRecord.js +0 -157
- package/dist/records-v2/index.d.ts +1 -0
- package/dist/records-v2/index.js +4 -1
- package/package.json +1 -1
- package/dist/actions-v2/UpdatePgAllocationWithBacsReportDto.d.ts +0 -85
- package/dist/actions-v2/UpdatePgAllocationWithBacsReportDto.js +0 -61
|
@@ -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_PG_TRANSACTION_PG_DISPUTE_DELETED = exports.ROUTING_KEY_LINK_PG_TRANSACTION_PG_DISPUTE_CREATED = exports.ROUTING_KEY_LINK_PG_TRANSACTION_PG_FILE_ALLOCATION_DELETED = exports.ROUTING_KEY_LINK_PG_TRANSACTION_PG_FILE_ALLOCATION_CREATED = exports.ROUTING_KEY_LINK_PG_TRANSACTION_PG_WEBHOOK_DELETED = exports.ROUTING_KEY_LINK_PG_TRANSACTION_PG_WEBHOOK_CREATED = exports.ROUTING_KEY_PG_TRANSACTION_REFUND_DELETED = exports.ROUTING_KEY_PG_TRANSACTION_REFUND_UPDATED = exports.ROUTING_KEY_PG_TRANSACTION_REFUND_CREATED = exports.ROUTING_KEY_PG_TRANSACTION_DEFAULT_DELETED = exports.ROUTING_KEY_PG_TRANSACTION_DEFAULT_UPDATED = exports.ROUTING_KEY_PG_TRANSACTION_DEFAULT_CREATED = exports.ROUTING_KEY_PG_TRANSACTION_CHARGE_DELETED = exports.ROUTING_KEY_PG_TRANSACTION_CHARGE_UPDATED = exports.ROUTING_KEY_PG_TRANSACTION_CHARGE_CREATED = exports.ROUTING_KEY_PG_TRANSACTION_DELETED = exports.ROUTING_KEY_PG_TRANSACTION_UPDATED = exports.ROUTING_KEY_PG_TRANSACTION_CREATED = exports.PgTransaction = exports.PgTransactionPropertyKeys = exports.PgTransactionCompany = exports.PgTransactionPublicView = exports.RefundPgTransactionStageKeys = exports.RefundPgTransactionStageNames = exports.ChargePgTransactionStageKeys = exports.ChargePgTransactionStageNames = exports.PgTransactionEntityTypes = void 0;
|
|
15
|
+
exports.ROUTING_KEY_LINK_PG_TRANSACTION_PG_DISPUTE_DELETED = exports.ROUTING_KEY_LINK_PG_TRANSACTION_PG_DISPUTE_CREATED = exports.ROUTING_KEY_LINK_PG_TRANSACTION_PG_FILE_ALLOCATION_DELETED = exports.ROUTING_KEY_LINK_PG_TRANSACTION_PG_FILE_ALLOCATION_CREATED = exports.ROUTING_KEY_LINK_PG_TRANSACTION_PG_WEBHOOK_DELETED = exports.ROUTING_KEY_LINK_PG_TRANSACTION_PG_WEBHOOK_CREATED = exports.ROUTING_KEY_LINK_PG_TRANSACTION_PAYMENT_METHOD_REFUND_DELETED = exports.ROUTING_KEY_LINK_PG_TRANSACTION_PAYMENT_METHOD_REFUND_CREATED = exports.ROUTING_KEY_LINK_PG_TRANSACTION_TRANSACTION_DELETED = exports.ROUTING_KEY_LINK_PG_TRANSACTION_TRANSACTION_CREATED = exports.ROUTING_KEY_PG_TRANSACTION_REFUND_DELETED = exports.ROUTING_KEY_PG_TRANSACTION_REFUND_UPDATED = exports.ROUTING_KEY_PG_TRANSACTION_REFUND_CREATED = exports.ROUTING_KEY_PG_TRANSACTION_DEFAULT_DELETED = exports.ROUTING_KEY_PG_TRANSACTION_DEFAULT_UPDATED = exports.ROUTING_KEY_PG_TRANSACTION_DEFAULT_CREATED = exports.ROUTING_KEY_PG_TRANSACTION_CHARGE_DELETED = exports.ROUTING_KEY_PG_TRANSACTION_CHARGE_UPDATED = exports.ROUTING_KEY_PG_TRANSACTION_CHARGE_CREATED = exports.ROUTING_KEY_PG_TRANSACTION_DELETED = exports.ROUTING_KEY_PG_TRANSACTION_UPDATED = exports.ROUTING_KEY_PG_TRANSACTION_CREATED = exports.PgTransaction = exports.PgTransactionPropertyKeys = exports.PgTransactionCompany = exports.PgTransactionPublicView = exports.RefundPgTransactionStageKeys = exports.RefundPgTransactionStageNames = exports.ChargePgTransactionStageKeys = exports.ChargePgTransactionStageNames = exports.PgTransactionEntityTypes = void 0;
|
|
16
16
|
const core_1 = require("@d19n/odin-types/dist/core");
|
|
17
17
|
/**
|
|
18
18
|
* Available types for PgTransaction records
|
|
@@ -206,6 +206,10 @@ var PgTransactionPropertyKeys;
|
|
|
206
206
|
PgTransactionPropertyKeys["Tax"] = "Tax";
|
|
207
207
|
/** Payment Method */
|
|
208
208
|
PgTransactionPropertyKeys["PaymentMethod"] = "PaymentMethod";
|
|
209
|
+
/** Odin Charge Transaction */
|
|
210
|
+
PgTransactionPropertyKeys["OdinChargeTransaction"] = "OdinChargeTransaction";
|
|
211
|
+
/** Odin Refund Transaction */
|
|
212
|
+
PgTransactionPropertyKeys["OdinRefundTransaction"] = "OdinRefundTransaction";
|
|
209
213
|
/** Company */
|
|
210
214
|
PgTransactionPropertyKeys["Company"] = "Company";
|
|
211
215
|
/** Message */
|
|
@@ -257,6 +261,14 @@ exports.ROUTING_KEY_PG_TRANSACTION_REFUND_CREATED = 'BillingModule.PgTransaction
|
|
|
257
261
|
exports.ROUTING_KEY_PG_TRANSACTION_REFUND_UPDATED = 'BillingModule.PgTransaction.REFUND.SubDbRecordUpdated';
|
|
258
262
|
/** Refund deleted */
|
|
259
263
|
exports.ROUTING_KEY_PG_TRANSACTION_REFUND_DELETED = 'BillingModule.PgTransaction.REFUND.SubDbRecordDeleted';
|
|
264
|
+
/** Event: PgTransaction__Transaction link created */
|
|
265
|
+
exports.ROUTING_KEY_LINK_PG_TRANSACTION_TRANSACTION_CREATED = 'BillingModule.PgTransaction.Transaction.SubDbRecordAssociationCreated';
|
|
266
|
+
/** Event: PgTransaction__Transaction link deleted */
|
|
267
|
+
exports.ROUTING_KEY_LINK_PG_TRANSACTION_TRANSACTION_DELETED = 'BillingModule.PgTransaction.Transaction.SubDbRecordAssociationDeleted';
|
|
268
|
+
/** Event: PgTransaction__PaymentMethodRefund link created */
|
|
269
|
+
exports.ROUTING_KEY_LINK_PG_TRANSACTION_PAYMENT_METHOD_REFUND_CREATED = 'BillingModule.PgTransaction.PaymentMethodRefund.SubDbRecordAssociationCreated';
|
|
270
|
+
/** Event: PgTransaction__PaymentMethodRefund link deleted */
|
|
271
|
+
exports.ROUTING_KEY_LINK_PG_TRANSACTION_PAYMENT_METHOD_REFUND_DELETED = 'BillingModule.PgTransaction.PaymentMethodRefund.SubDbRecordAssociationDeleted';
|
|
260
272
|
/** Event: PgTransaction__PgWebhook link created */
|
|
261
273
|
exports.ROUTING_KEY_LINK_PG_TRANSACTION_PG_WEBHOOK_CREATED = 'BillingModule.PgTransaction.PgWebhook.SubDbRecordAssociationCreated';
|
|
262
274
|
/** Event: PgTransaction__PgWebhook link deleted */
|
|
@@ -29,16 +29,32 @@ export declare enum PgWebhookEntityTypes {
|
|
|
29
29
|
* Status
|
|
30
30
|
*/
|
|
31
31
|
export declare enum DefaultPgWebhookStageNames {
|
|
32
|
-
/**
|
|
33
|
-
|
|
32
|
+
/** Created (default) */
|
|
33
|
+
Created = "Created",
|
|
34
|
+
/** Sent */
|
|
35
|
+
Sent = "Sent",
|
|
36
|
+
/** Retrying */
|
|
37
|
+
Retrying = "Retrying",
|
|
38
|
+
/** Succeeded (success) */
|
|
39
|
+
Succeeded = "Succeeded",
|
|
40
|
+
/** Failed (fail) */
|
|
41
|
+
Failed = "Failed"
|
|
34
42
|
}
|
|
35
43
|
/**
|
|
36
44
|
* Pipeline stage keys for DEFAULT PgWebhook
|
|
37
45
|
* Use these keys when transitioning between stages
|
|
38
46
|
*/
|
|
39
47
|
export declare enum DefaultPgWebhookStageKeys {
|
|
48
|
+
/** Created */
|
|
49
|
+
StatusStageCreated = "StatusStageCreated",
|
|
40
50
|
/** Sent */
|
|
41
|
-
StatusStageSent = "StatusStageSent"
|
|
51
|
+
StatusStageSent = "StatusStageSent",
|
|
52
|
+
/** Retrying */
|
|
53
|
+
StatusStageRetrying = "StatusStageRetrying",
|
|
54
|
+
/** Succeeded */
|
|
55
|
+
StatusStageSucceeded = "StatusStageSucceeded",
|
|
56
|
+
/** Failed */
|
|
57
|
+
StatusStageFailed = "StatusStageFailed"
|
|
42
58
|
}
|
|
43
59
|
/**
|
|
44
60
|
* Property keys for PgWebhook
|
|
@@ -29,8 +29,16 @@ var PgWebhookEntityTypes;
|
|
|
29
29
|
*/
|
|
30
30
|
var DefaultPgWebhookStageNames;
|
|
31
31
|
(function (DefaultPgWebhookStageNames) {
|
|
32
|
-
/**
|
|
32
|
+
/** Created (default) */
|
|
33
|
+
DefaultPgWebhookStageNames["Created"] = "Created";
|
|
34
|
+
/** Sent */
|
|
33
35
|
DefaultPgWebhookStageNames["Sent"] = "Sent";
|
|
36
|
+
/** Retrying */
|
|
37
|
+
DefaultPgWebhookStageNames["Retrying"] = "Retrying";
|
|
38
|
+
/** Succeeded (success) */
|
|
39
|
+
DefaultPgWebhookStageNames["Succeeded"] = "Succeeded";
|
|
40
|
+
/** Failed (fail) */
|
|
41
|
+
DefaultPgWebhookStageNames["Failed"] = "Failed";
|
|
34
42
|
})(DefaultPgWebhookStageNames = exports.DefaultPgWebhookStageNames || (exports.DefaultPgWebhookStageNames = {}));
|
|
35
43
|
/**
|
|
36
44
|
* Pipeline stage keys for DEFAULT PgWebhook
|
|
@@ -38,8 +46,16 @@ var DefaultPgWebhookStageNames;
|
|
|
38
46
|
*/
|
|
39
47
|
var DefaultPgWebhookStageKeys;
|
|
40
48
|
(function (DefaultPgWebhookStageKeys) {
|
|
49
|
+
/** Created */
|
|
50
|
+
DefaultPgWebhookStageKeys["StatusStageCreated"] = "StatusStageCreated";
|
|
41
51
|
/** Sent */
|
|
42
52
|
DefaultPgWebhookStageKeys["StatusStageSent"] = "StatusStageSent";
|
|
53
|
+
/** Retrying */
|
|
54
|
+
DefaultPgWebhookStageKeys["StatusStageRetrying"] = "StatusStageRetrying";
|
|
55
|
+
/** Succeeded */
|
|
56
|
+
DefaultPgWebhookStageKeys["StatusStageSucceeded"] = "StatusStageSucceeded";
|
|
57
|
+
/** Failed */
|
|
58
|
+
DefaultPgWebhookStageKeys["StatusStageFailed"] = "StatusStageFailed";
|
|
43
59
|
})(DefaultPgWebhookStageKeys = exports.DefaultPgWebhookStageKeys || (exports.DefaultPgWebhookStageKeys = {}));
|
|
44
60
|
/**
|
|
45
61
|
* Property keys for PgWebhook
|
|
@@ -61,10 +61,10 @@ export declare enum PriceBookPropertyKeys {
|
|
|
61
61
|
Description = "Description",
|
|
62
62
|
/** is the pricebook active (Product Management - PriceBook) */
|
|
63
63
|
IsActive = "IsActive",
|
|
64
|
-
/** Display name/title for PriceBook records. Primary identifier for Product Management team. */
|
|
65
|
-
Name = "Name",
|
|
66
64
|
/** is this the standard pricebook (Product Management - PriceBook) */
|
|
67
|
-
IsStandard = "IsStandard"
|
|
65
|
+
IsStandard = "IsStandard",
|
|
66
|
+
/** Display name/title for PriceBook records. Primary identifier for Product Management team. */
|
|
67
|
+
Name = "Name"
|
|
68
68
|
}
|
|
69
69
|
/**
|
|
70
70
|
* Properties for PriceBook records
|
|
@@ -95,17 +95,17 @@ export interface PriceBookProperties {
|
|
|
95
95
|
* @default false
|
|
96
96
|
*/
|
|
97
97
|
IsActive: boolean;
|
|
98
|
-
/** Display name/title for PriceBook records. Primary identifier for Product Management team.
|
|
99
|
-
*
|
|
100
|
-
* @type {TEXT}
|
|
101
|
-
*/
|
|
102
|
-
Name: string;
|
|
103
98
|
/** is this the standard pricebook (Product Management - PriceBook)
|
|
104
99
|
*
|
|
105
100
|
* @type {BOOLEAN}
|
|
106
101
|
* @default false
|
|
107
102
|
*/
|
|
108
103
|
IsStandard: boolean;
|
|
104
|
+
/** Display name/title for PriceBook records. Primary identifier for Product Management team.
|
|
105
|
+
*
|
|
106
|
+
* @type {TEXT}
|
|
107
|
+
*/
|
|
108
|
+
Name: string;
|
|
109
109
|
}
|
|
110
110
|
/**
|
|
111
111
|
* PriceBook entity from ProductModule
|
|
@@ -66,10 +66,10 @@ var PriceBookPropertyKeys;
|
|
|
66
66
|
PriceBookPropertyKeys["Description"] = "Description";
|
|
67
67
|
/** is the pricebook active (Product Management - PriceBook) */
|
|
68
68
|
PriceBookPropertyKeys["IsActive"] = "IsActive";
|
|
69
|
-
/** Display name/title for PriceBook records. Primary identifier for Product Management team. */
|
|
70
|
-
PriceBookPropertyKeys["Name"] = "Name";
|
|
71
69
|
/** is this the standard pricebook (Product Management - PriceBook) */
|
|
72
70
|
PriceBookPropertyKeys["IsStandard"] = "IsStandard";
|
|
71
|
+
/** Display name/title for PriceBook records. Primary identifier for Product Management team. */
|
|
72
|
+
PriceBookPropertyKeys["Name"] = "Name";
|
|
73
73
|
})(PriceBookPropertyKeys = exports.PriceBookPropertyKeys || (exports.PriceBookPropertyKeys = {}));
|
|
74
74
|
/**
|
|
75
75
|
* PriceBook entity from ProductModule
|
|
@@ -153,7 +153,7 @@ export interface OrderReferralProperties {
|
|
|
153
153
|
* @module CrmModule
|
|
154
154
|
* @entity Referral
|
|
155
155
|
* @schemaId b1fd6a3b-a9d8-445e-a1bd-329d104b9b75
|
|
156
|
-
* @recordPrefix
|
|
156
|
+
* @recordPrefix RF
|
|
157
157
|
* @capabilities searchable, updateable, undeletable, triggerable
|
|
158
158
|
*/
|
|
159
159
|
export declare class Referral extends OdinRecord<ReferralProperties> {
|
|
@@ -90,7 +90,7 @@ var ReferralPropertyKeys;
|
|
|
90
90
|
* @module CrmModule
|
|
91
91
|
* @entity Referral
|
|
92
92
|
* @schemaId b1fd6a3b-a9d8-445e-a1bd-329d104b9b75
|
|
93
|
-
* @recordPrefix
|
|
93
|
+
* @recordPrefix RF
|
|
94
94
|
* @capabilities searchable, updateable, undeletable, triggerable
|
|
95
95
|
*/
|
|
96
96
|
class Referral extends core_1.OdinRecord {
|
|
@@ -136,7 +136,7 @@ export interface CashbackRewardProperties {
|
|
|
136
136
|
* @module CrmModule
|
|
137
137
|
* @entity Reward
|
|
138
138
|
* @schemaId 5047247a-31ca-4a1c-aa06-c27fefbb543d
|
|
139
|
-
* @recordPrefix
|
|
139
|
+
* @recordPrefix RW
|
|
140
140
|
* @capabilities searchable, updateable, undeletable, triggerable
|
|
141
141
|
*/
|
|
142
142
|
export declare class Reward extends OdinRecord<RewardProperties> {
|
|
@@ -74,7 +74,7 @@ var RewardPropertyKeys;
|
|
|
74
74
|
* @module CrmModule
|
|
75
75
|
* @entity Reward
|
|
76
76
|
* @schemaId 5047247a-31ca-4a1c-aa06-c27fefbb543d
|
|
77
|
-
* @recordPrefix
|
|
77
|
+
* @recordPrefix RW
|
|
78
78
|
* @capabilities searchable, updateable, undeletable, triggerable
|
|
79
79
|
*/
|
|
80
80
|
class Reward extends core_1.OdinRecord {
|
|
@@ -19,17 +19,6 @@ export declare enum ServiceEntityTypes {
|
|
|
19
19
|
/** Default record type */
|
|
20
20
|
DEFAULT = "DEFAULT"
|
|
21
21
|
}
|
|
22
|
-
/**
|
|
23
|
-
* Valid values for Service.SipwiseDomainId
|
|
24
|
-
*
|
|
25
|
-
* sipwise domain id (Network Operations - Service)
|
|
26
|
-
*
|
|
27
|
-
* @remarks Available options:
|
|
28
|
-
* - `2` - voip.youfibre.com
|
|
29
|
-
*/
|
|
30
|
-
export declare enum ServiceSipwiseDomainId {
|
|
31
|
-
VOIP_YOUFIBRE_COM = "2"
|
|
32
|
-
}
|
|
33
22
|
/**
|
|
34
23
|
* Valid values for Service.Type
|
|
35
24
|
*
|
|
@@ -62,12 +51,18 @@ export declare enum ServiceSipwiseResellerId {
|
|
|
62
51
|
* sipwise billing profile id (voice) (Network Operations - Service)
|
|
63
52
|
*
|
|
64
53
|
* @remarks Available options:
|
|
54
|
+
* - `BRSKPROFILE_3` - BetterPhone Essential
|
|
55
|
+
* - `BRSKPROFILE_9` - BetterPhone Home
|
|
56
|
+
* - `BRSKPROFILE_11` - BetterPhone Max
|
|
65
57
|
* - `PROFILE_4` - Youfibre customer
|
|
66
58
|
* - `PROFILE_15` - YouPhone
|
|
67
59
|
* - `PROFILE_17` - YouPhone Plus
|
|
68
60
|
* - `PROFILE_19` - YouPhone Pro
|
|
69
61
|
*/
|
|
70
62
|
export declare enum ServiceSipwiseBillingProfileId {
|
|
63
|
+
BETTER_PHONE_ESSENTIAL = "BRSKPROFILE_3",
|
|
64
|
+
BETTER_PHONE_HOME = "BRSKPROFILE_9",
|
|
65
|
+
BETTER_PHONE_MAX = "BRSKPROFILE_11",
|
|
71
66
|
YOUFIBRE_CUSTOMER = "PROFILE_4",
|
|
72
67
|
YOU_PHONE = "PROFILE_15",
|
|
73
68
|
YOU_PHONE_PLUS = "PROFILE_17",
|
|
@@ -86,6 +81,19 @@ export declare enum ServiceCustomerType {
|
|
|
86
81
|
BUSINESS = "BUSINESS",
|
|
87
82
|
RESIDENTIAL = "RESIDENTIAL"
|
|
88
83
|
}
|
|
84
|
+
/**
|
|
85
|
+
* Valid values for Service.SipwiseDomainId
|
|
86
|
+
*
|
|
87
|
+
* sipwise domain id (Network Operations - Service)
|
|
88
|
+
*
|
|
89
|
+
* @remarks Available options:
|
|
90
|
+
* - `3` - sip.as51809.net
|
|
91
|
+
* - `2` - voip.youfibre.com
|
|
92
|
+
*/
|
|
93
|
+
export declare enum ServiceSipwiseDomainId {
|
|
94
|
+
SIP_AS51809_NET = "3",
|
|
95
|
+
VOIP_YOUFIBRE_COM = "2"
|
|
96
|
+
}
|
|
89
97
|
/**
|
|
90
98
|
* Property keys for Service
|
|
91
99
|
* Use these constants instead of string literals for type safety
|
|
@@ -93,8 +101,6 @@ export declare enum ServiceCustomerType {
|
|
|
93
101
|
export declare enum ServicePropertyKeys {
|
|
94
102
|
/** Name - Title */
|
|
95
103
|
Name = "Name",
|
|
96
|
-
/** sipwise domain id (Network Operations - Service) */
|
|
97
|
-
SipwiseDomainId = "SipwiseDomainId",
|
|
98
104
|
/** type of service (Network Operations - Service) */
|
|
99
105
|
Type = "Type",
|
|
100
106
|
/** download speed (broadband) (Network Operations - Service) */
|
|
@@ -108,7 +114,9 @@ export declare enum ServicePropertyKeys {
|
|
|
108
114
|
/** upload speed (broadband) (Network Operations - Service) */
|
|
109
115
|
UploadSpeed = "UploadSpeed",
|
|
110
116
|
/** customer type using the service (Network Operations - Service) */
|
|
111
|
-
CustomerType = "CustomerType"
|
|
117
|
+
CustomerType = "CustomerType",
|
|
118
|
+
/** sipwise domain id (Network Operations - Service) */
|
|
119
|
+
SipwiseDomainId = "SipwiseDomainId"
|
|
112
120
|
}
|
|
113
121
|
/**
|
|
114
122
|
* Properties for Service records
|
|
@@ -121,12 +129,6 @@ export interface ServiceProperties {
|
|
|
121
129
|
* @type {TEXT}
|
|
122
130
|
*/
|
|
123
131
|
Name: string;
|
|
124
|
-
/** sipwise domain id (Network Operations - Service)
|
|
125
|
-
*
|
|
126
|
-
* @type {ENUM}
|
|
127
|
-
* @enum {ServiceSipwiseDomainId}
|
|
128
|
-
*/
|
|
129
|
-
SipwiseDomainId: ServiceSipwiseDomainId;
|
|
130
132
|
/** type of service (Network Operations - Service)
|
|
131
133
|
*
|
|
132
134
|
* @type {ENUM}
|
|
@@ -168,6 +170,12 @@ export interface ServiceProperties {
|
|
|
168
170
|
* @enum {ServiceCustomerType}
|
|
169
171
|
*/
|
|
170
172
|
CustomerType: ServiceCustomerType;
|
|
173
|
+
/** sipwise domain id (Network Operations - Service)
|
|
174
|
+
*
|
|
175
|
+
* @type {ENUM}
|
|
176
|
+
* @enum {ServiceSipwiseDomainId}
|
|
177
|
+
*/
|
|
178
|
+
SipwiseDomainId: ServiceSipwiseDomainId;
|
|
171
179
|
}
|
|
172
180
|
/**
|
|
173
181
|
* Service entity from ServiceModule
|
|
@@ -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_SERVICE_SERVICE_DELETED = exports.ROUTING_KEY_LINK_SERVICE_SERVICE_CREATED = exports.ROUTING_KEY_SERVICE_DEFAULT_DELETED = exports.ROUTING_KEY_SERVICE_DEFAULT_UPDATED = exports.ROUTING_KEY_SERVICE_DEFAULT_CREATED = exports.ROUTING_KEY_SERVICE_DELETED = exports.ROUTING_KEY_SERVICE_UPDATED = exports.ROUTING_KEY_SERVICE_CREATED = exports.Service = exports.ServicePropertyKeys = exports.
|
|
15
|
+
exports.ROUTING_KEY_LINK_SERVICE_SERVICE_DELETED = exports.ROUTING_KEY_LINK_SERVICE_SERVICE_CREATED = exports.ROUTING_KEY_SERVICE_DEFAULT_DELETED = exports.ROUTING_KEY_SERVICE_DEFAULT_UPDATED = exports.ROUTING_KEY_SERVICE_DEFAULT_CREATED = exports.ROUTING_KEY_SERVICE_DELETED = exports.ROUTING_KEY_SERVICE_UPDATED = exports.ROUTING_KEY_SERVICE_CREATED = exports.Service = exports.ServicePropertyKeys = exports.ServiceSipwiseDomainId = exports.ServiceCustomerType = exports.ServiceSipwiseBillingProfileId = exports.ServiceSipwiseResellerId = exports.ServiceType = exports.ServiceEntityTypes = void 0;
|
|
16
16
|
const core_1 = require("@d19n/odin-types/dist/core");
|
|
17
17
|
/**
|
|
18
18
|
* Available types for Service records
|
|
@@ -22,18 +22,6 @@ var ServiceEntityTypes;
|
|
|
22
22
|
/** Default record type */
|
|
23
23
|
ServiceEntityTypes["DEFAULT"] = "DEFAULT";
|
|
24
24
|
})(ServiceEntityTypes = exports.ServiceEntityTypes || (exports.ServiceEntityTypes = {}));
|
|
25
|
-
/**
|
|
26
|
-
* Valid values for Service.SipwiseDomainId
|
|
27
|
-
*
|
|
28
|
-
* sipwise domain id (Network Operations - Service)
|
|
29
|
-
*
|
|
30
|
-
* @remarks Available options:
|
|
31
|
-
* - `2` - voip.youfibre.com
|
|
32
|
-
*/
|
|
33
|
-
var ServiceSipwiseDomainId;
|
|
34
|
-
(function (ServiceSipwiseDomainId) {
|
|
35
|
-
ServiceSipwiseDomainId["VOIP_YOUFIBRE_COM"] = "2";
|
|
36
|
-
})(ServiceSipwiseDomainId = exports.ServiceSipwiseDomainId || (exports.ServiceSipwiseDomainId = {}));
|
|
37
25
|
/**
|
|
38
26
|
* Valid values for Service.Type
|
|
39
27
|
*
|
|
@@ -68,6 +56,9 @@ var ServiceSipwiseResellerId;
|
|
|
68
56
|
* sipwise billing profile id (voice) (Network Operations - Service)
|
|
69
57
|
*
|
|
70
58
|
* @remarks Available options:
|
|
59
|
+
* - `BRSKPROFILE_3` - BetterPhone Essential
|
|
60
|
+
* - `BRSKPROFILE_9` - BetterPhone Home
|
|
61
|
+
* - `BRSKPROFILE_11` - BetterPhone Max
|
|
71
62
|
* - `PROFILE_4` - Youfibre customer
|
|
72
63
|
* - `PROFILE_15` - YouPhone
|
|
73
64
|
* - `PROFILE_17` - YouPhone Plus
|
|
@@ -75,6 +66,9 @@ var ServiceSipwiseResellerId;
|
|
|
75
66
|
*/
|
|
76
67
|
var ServiceSipwiseBillingProfileId;
|
|
77
68
|
(function (ServiceSipwiseBillingProfileId) {
|
|
69
|
+
ServiceSipwiseBillingProfileId["BETTER_PHONE_ESSENTIAL"] = "BRSKPROFILE_3";
|
|
70
|
+
ServiceSipwiseBillingProfileId["BETTER_PHONE_HOME"] = "BRSKPROFILE_9";
|
|
71
|
+
ServiceSipwiseBillingProfileId["BETTER_PHONE_MAX"] = "BRSKPROFILE_11";
|
|
78
72
|
ServiceSipwiseBillingProfileId["YOUFIBRE_CUSTOMER"] = "PROFILE_4";
|
|
79
73
|
ServiceSipwiseBillingProfileId["YOU_PHONE"] = "PROFILE_15";
|
|
80
74
|
ServiceSipwiseBillingProfileId["YOU_PHONE_PLUS"] = "PROFILE_17";
|
|
@@ -94,6 +88,20 @@ var ServiceCustomerType;
|
|
|
94
88
|
ServiceCustomerType["BUSINESS"] = "BUSINESS";
|
|
95
89
|
ServiceCustomerType["RESIDENTIAL"] = "RESIDENTIAL";
|
|
96
90
|
})(ServiceCustomerType = exports.ServiceCustomerType || (exports.ServiceCustomerType = {}));
|
|
91
|
+
/**
|
|
92
|
+
* Valid values for Service.SipwiseDomainId
|
|
93
|
+
*
|
|
94
|
+
* sipwise domain id (Network Operations - Service)
|
|
95
|
+
*
|
|
96
|
+
* @remarks Available options:
|
|
97
|
+
* - `3` - sip.as51809.net
|
|
98
|
+
* - `2` - voip.youfibre.com
|
|
99
|
+
*/
|
|
100
|
+
var ServiceSipwiseDomainId;
|
|
101
|
+
(function (ServiceSipwiseDomainId) {
|
|
102
|
+
ServiceSipwiseDomainId["SIP_AS51809_NET"] = "3";
|
|
103
|
+
ServiceSipwiseDomainId["VOIP_YOUFIBRE_COM"] = "2";
|
|
104
|
+
})(ServiceSipwiseDomainId = exports.ServiceSipwiseDomainId || (exports.ServiceSipwiseDomainId = {}));
|
|
97
105
|
/**
|
|
98
106
|
* Property keys for Service
|
|
99
107
|
* Use these constants instead of string literals for type safety
|
|
@@ -102,8 +110,6 @@ var ServicePropertyKeys;
|
|
|
102
110
|
(function (ServicePropertyKeys) {
|
|
103
111
|
/** Name - Title */
|
|
104
112
|
ServicePropertyKeys["Name"] = "Name";
|
|
105
|
-
/** sipwise domain id (Network Operations - Service) */
|
|
106
|
-
ServicePropertyKeys["SipwiseDomainId"] = "SipwiseDomainId";
|
|
107
113
|
/** type of service (Network Operations - Service) */
|
|
108
114
|
ServicePropertyKeys["Type"] = "Type";
|
|
109
115
|
/** download speed (broadband) (Network Operations - Service) */
|
|
@@ -118,6 +124,8 @@ var ServicePropertyKeys;
|
|
|
118
124
|
ServicePropertyKeys["UploadSpeed"] = "UploadSpeed";
|
|
119
125
|
/** customer type using the service (Network Operations - Service) */
|
|
120
126
|
ServicePropertyKeys["CustomerType"] = "CustomerType";
|
|
127
|
+
/** sipwise domain id (Network Operations - Service) */
|
|
128
|
+
ServicePropertyKeys["SipwiseDomainId"] = "SipwiseDomainId";
|
|
121
129
|
})(ServicePropertyKeys = exports.ServicePropertyKeys || (exports.ServicePropertyKeys = {}));
|
|
122
130
|
/**
|
|
123
131
|
* Service entity from ServiceModule
|
|
@@ -11,6 +11,7 @@
|
|
|
11
11
|
* Generated from Odin schema definition
|
|
12
12
|
*/
|
|
13
13
|
import { OdinRecord, OdinLink, LinkedOdinRecord } from '@d19n/odin-types/dist/core';
|
|
14
|
+
import { PgTransactionProperties } from './PgTransaction';
|
|
14
15
|
import { PaymentMethodProperties } from './PaymentMethod';
|
|
15
16
|
import { NoteProperties } from './Note';
|
|
16
17
|
import { CreditNoteProperties } from './CreditNote';
|
|
@@ -85,6 +86,7 @@ export declare enum TransactionStatus {
|
|
|
85
86
|
* - `GOCARDLESS` - GoCardless
|
|
86
87
|
* - `PAYMENT_GATEWAY` - Payment Gateway
|
|
87
88
|
* - `PHONE_PAYMENT` - Phone Payment
|
|
89
|
+
* - `STRIPE` - Stripe
|
|
88
90
|
*/
|
|
89
91
|
export declare enum TransactionPaymentMethod {
|
|
90
92
|
BANK_TRANSFER = "BANK_TRANSFER",
|
|
@@ -92,7 +94,8 @@ export declare enum TransactionPaymentMethod {
|
|
|
92
94
|
DCA_PAYMENT = "DCA_PAYMENT",
|
|
93
95
|
GO_CARDLESS = "GOCARDLESS",
|
|
94
96
|
PAYMENT_GATEWAY = "PAYMENT_GATEWAY",
|
|
95
|
-
PHONE_PAYMENT = "PHONE_PAYMENT"
|
|
97
|
+
PHONE_PAYMENT = "PHONE_PAYMENT",
|
|
98
|
+
STRIPE = "STRIPE"
|
|
96
99
|
}
|
|
97
100
|
/**
|
|
98
101
|
* Valid values for Transaction.CurrencyCode
|
|
@@ -330,6 +333,8 @@ export declare class Transaction extends OdinRecord<TransactionProperties> {
|
|
|
330
333
|
type: TransactionEntityTypes;
|
|
331
334
|
schemaId: 'a0272373-9257-4b80-ab32-7b31923433a3';
|
|
332
335
|
properties: TransactionProperties;
|
|
336
|
+
/** Linked PgTransaction records (PgTransaction__Transaction) */
|
|
337
|
+
PgTransaction: OdinLink<LinkedOdinRecord<PgTransactionProperties>>;
|
|
333
338
|
/** Linked PaymentMethod records (Transaction__PaymentMethod) */
|
|
334
339
|
PaymentMethod: OdinLink<LinkedOdinRecord<PaymentMethodProperties>>;
|
|
335
340
|
/** Linked Transaction records (Transaction__Transaction) */
|
|
@@ -83,6 +83,7 @@ var TransactionStatus;
|
|
|
83
83
|
* - `GOCARDLESS` - GoCardless
|
|
84
84
|
* - `PAYMENT_GATEWAY` - Payment Gateway
|
|
85
85
|
* - `PHONE_PAYMENT` - Phone Payment
|
|
86
|
+
* - `STRIPE` - Stripe
|
|
86
87
|
*/
|
|
87
88
|
var TransactionPaymentMethod;
|
|
88
89
|
(function (TransactionPaymentMethod) {
|
|
@@ -92,6 +93,7 @@ var TransactionPaymentMethod;
|
|
|
92
93
|
TransactionPaymentMethod["GO_CARDLESS"] = "GOCARDLESS";
|
|
93
94
|
TransactionPaymentMethod["PAYMENT_GATEWAY"] = "PAYMENT_GATEWAY";
|
|
94
95
|
TransactionPaymentMethod["PHONE_PAYMENT"] = "PHONE_PAYMENT";
|
|
96
|
+
TransactionPaymentMethod["STRIPE"] = "STRIPE";
|
|
95
97
|
})(TransactionPaymentMethod = exports.TransactionPaymentMethod || (exports.TransactionPaymentMethod = {}));
|
|
96
98
|
/**
|
|
97
99
|
* Valid values for Transaction.CurrencyCode
|
|
@@ -181,7 +181,9 @@ export declare enum VoiceConfigurationPropertyKeys {
|
|
|
181
181
|
/** OrderItemId (Network Operations - VoiceConfiguration) */
|
|
182
182
|
OrderItemId = "OrderItemId",
|
|
183
183
|
/** MagratheaOrderStatusDate (Network Operations - VoiceConfiguration) */
|
|
184
|
-
MagratheaOrderStatusDate = "MagratheaOrderStatusDate"
|
|
184
|
+
MagratheaOrderStatusDate = "MagratheaOrderStatusDate",
|
|
185
|
+
/** ExternalReference */
|
|
186
|
+
ExternalReference = "ExternalReference"
|
|
185
187
|
}
|
|
186
188
|
/**
|
|
187
189
|
* Properties for VoiceConfiguration records
|
|
@@ -334,6 +336,11 @@ export interface VoiceConfigurationProperties {
|
|
|
334
336
|
* @format DD/MM/YYYY hh:mm:ss
|
|
335
337
|
*/
|
|
336
338
|
MagratheaOrderStatusDate: string;
|
|
339
|
+
/** ExternalReference
|
|
340
|
+
*
|
|
341
|
+
* @type {TEXT}
|
|
342
|
+
*/
|
|
343
|
+
ExternalReference: string;
|
|
337
344
|
}
|
|
338
345
|
/**
|
|
339
346
|
* VoiceConfiguration entity from ServiceModule
|
|
@@ -187,6 +187,8 @@ var VoiceConfigurationPropertyKeys;
|
|
|
187
187
|
VoiceConfigurationPropertyKeys["OrderItemId"] = "OrderItemId";
|
|
188
188
|
/** MagratheaOrderStatusDate (Network Operations - VoiceConfiguration) */
|
|
189
189
|
VoiceConfigurationPropertyKeys["MagratheaOrderStatusDate"] = "MagratheaOrderStatusDate";
|
|
190
|
+
/** ExternalReference */
|
|
191
|
+
VoiceConfigurationPropertyKeys["ExternalReference"] = "ExternalReference";
|
|
190
192
|
})(VoiceConfigurationPropertyKeys = exports.VoiceConfigurationPropertyKeys || (exports.VoiceConfigurationPropertyKeys = {}));
|
|
191
193
|
/**
|
|
192
194
|
* VoiceConfiguration entity from ServiceModule
|
|
@@ -1014,11 +1014,11 @@ export declare enum WorkOrderCpe4 {
|
|
|
1014
1014
|
* - `YF_CANCEL_WO_SPEAK_TO_CUSTOMER` - [YF] Cancel WO Speak To Customer
|
|
1015
1015
|
* - `YF_CITY_FIBRE_NEW_INSTALLATION` - [YF] City Fibre New Installation
|
|
1016
1016
|
* - `YF_CONNECTION_DROP_OUTS` - [YF] Connection Drop Outs
|
|
1017
|
+
* - `YF_CPE_DELIVERY` - [YF] CPE Delivery
|
|
1017
1018
|
* - `YF_CUSTOMER_DEVICE_CONNECTIVITY_ISSUE` - [YF] Customer Device Connectivity Issue
|
|
1018
1019
|
* - `YF_GOODWILL_MESH_INSTALL` - [YF] Goodwill Mesh Install
|
|
1019
1020
|
* - `YF_HARDWIRE_DEVICE_SUPPORT` - [YF] Hardwire Device Support
|
|
1020
|
-
* -
|
|
1021
|
-
* - ... and 7 more
|
|
1021
|
+
* - ... and 8 more
|
|
1022
1022
|
*/
|
|
1023
1023
|
export declare enum WorkOrderServiceCallReason {
|
|
1024
1024
|
NO_FIBRE_ISSUE_STILL_ACTIVE = "NO_FIBRE_ISSUE_STILL_ACTIVE",
|
|
@@ -1032,6 +1032,7 @@ export declare enum WorkOrderServiceCallReason {
|
|
|
1032
1032
|
YF_CANCEL_WO_SPEAK_TO_CUSTOMER = "YF_CANCEL_WO_SPEAK_TO_CUSTOMER",
|
|
1033
1033
|
YF_CITY_FIBRE_NEW_INSTALLATION = "YF_CITY_FIBRE_NEW_INSTALLATION",
|
|
1034
1034
|
YF_CONNECTION_DROP_OUTS = "YF_CONNECTION_DROP_OUTS",
|
|
1035
|
+
YF_CPE_DELIVERY = "YF_CPE_DELIVERY",
|
|
1035
1036
|
YF_CUSTOMER_DEVICE_CONNECTIVITY_ISSUE = "YF_CUSTOMER_DEVICE_CONNECTIVITY_ISSUE",
|
|
1036
1037
|
YF_GOODWILL_MESH_INSTALL = "YF_GOODWILL_MESH_INSTALL",
|
|
1037
1038
|
YF_HARDWIRE_DEVICE_SUPPORT = "YF_HARDWIRE_DEVICE_SUPPORT",
|
|
@@ -1008,11 +1008,11 @@ var WorkOrderCpe4;
|
|
|
1008
1008
|
* - `YF_CANCEL_WO_SPEAK_TO_CUSTOMER` - [YF] Cancel WO Speak To Customer
|
|
1009
1009
|
* - `YF_CITY_FIBRE_NEW_INSTALLATION` - [YF] City Fibre New Installation
|
|
1010
1010
|
* - `YF_CONNECTION_DROP_OUTS` - [YF] Connection Drop Outs
|
|
1011
|
+
* - `YF_CPE_DELIVERY` - [YF] CPE Delivery
|
|
1011
1012
|
* - `YF_CUSTOMER_DEVICE_CONNECTIVITY_ISSUE` - [YF] Customer Device Connectivity Issue
|
|
1012
1013
|
* - `YF_GOODWILL_MESH_INSTALL` - [YF] Goodwill Mesh Install
|
|
1013
1014
|
* - `YF_HARDWIRE_DEVICE_SUPPORT` - [YF] Hardwire Device Support
|
|
1014
|
-
* -
|
|
1015
|
-
* - ... and 7 more
|
|
1015
|
+
* - ... and 8 more
|
|
1016
1016
|
*/
|
|
1017
1017
|
var WorkOrderServiceCallReason;
|
|
1018
1018
|
(function (WorkOrderServiceCallReason) {
|
|
@@ -1027,6 +1027,7 @@ var WorkOrderServiceCallReason;
|
|
|
1027
1027
|
WorkOrderServiceCallReason["YF_CANCEL_WO_SPEAK_TO_CUSTOMER"] = "YF_CANCEL_WO_SPEAK_TO_CUSTOMER";
|
|
1028
1028
|
WorkOrderServiceCallReason["YF_CITY_FIBRE_NEW_INSTALLATION"] = "YF_CITY_FIBRE_NEW_INSTALLATION";
|
|
1029
1029
|
WorkOrderServiceCallReason["YF_CONNECTION_DROP_OUTS"] = "YF_CONNECTION_DROP_OUTS";
|
|
1030
|
+
WorkOrderServiceCallReason["YF_CPE_DELIVERY"] = "YF_CPE_DELIVERY";
|
|
1030
1031
|
WorkOrderServiceCallReason["YF_CUSTOMER_DEVICE_CONNECTIVITY_ISSUE"] = "YF_CUSTOMER_DEVICE_CONNECTIVITY_ISSUE";
|
|
1031
1032
|
WorkOrderServiceCallReason["YF_GOODWILL_MESH_INSTALL"] = "YF_GOODWILL_MESH_INSTALL";
|
|
1032
1033
|
WorkOrderServiceCallReason["YF_HARDWIRE_DEVICE_SUPPORT"] = "YF_HARDWIRE_DEVICE_SUPPORT";
|
|
@@ -13,23 +13,15 @@
|
|
|
13
13
|
* await record.createAccountCredit({ ... }).execute();
|
|
14
14
|
* ```
|
|
15
15
|
*
|
|
16
|
-
* Entity Types: DEFAULT
|
|
17
|
-
*
|
|
18
16
|
* AUTO-GENERATED - DO NOT EDIT DIRECTLY
|
|
19
17
|
*/
|
|
20
18
|
import { OdinRecord, OdinRecordLinkDto } from '@d19n/odin-types/dist/core';
|
|
21
19
|
import { PipelineStageEntity } from '@d19n/odin-types/dist/core';
|
|
22
20
|
import { IDbRecordCreateUpdateRes } from '@d19n/odin-types/dist/core/interfaces/v1.db.interfaces';
|
|
23
21
|
import { IOdinProvider } from '@d19n/odin-sdk-generator/dist/odin-sdk-types';
|
|
24
|
-
import { RecordLinkManager } from '@d19n/odin-sdk-generator/dist/record-link-manager';
|
|
25
22
|
import { AccountCreditProperties } from '../entities-v2/AccountCredit';
|
|
26
23
|
import { CreateAccountCreditProperties } from '../actions-v2/CreateAccountCreditDto';
|
|
27
24
|
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';
|
|
33
25
|
/**
|
|
34
26
|
* Builder for action execution with dryRun support
|
|
35
27
|
*
|
|
@@ -93,9 +85,6 @@ export declare class AccountCreditRecord<TProps = AccountCreditProperties> {
|
|
|
93
85
|
private _provider;
|
|
94
86
|
private _pendingLinks;
|
|
95
87
|
private _preGeneratedId;
|
|
96
|
-
private _creditNotes?;
|
|
97
|
-
private _contacts?;
|
|
98
|
-
private _invoices?;
|
|
99
88
|
/**
|
|
100
89
|
* Create a record wrapper.
|
|
101
90
|
* @param record - The underlying record, or null for create operations
|
|
@@ -108,7 +97,7 @@ export declare class AccountCreditRecord<TProps = AccountCreditProperties> {
|
|
|
108
97
|
/** Record ID - always available (pre-generated for new records) */
|
|
109
98
|
get id(): string;
|
|
110
99
|
get entity(): string;
|
|
111
|
-
get type():
|
|
100
|
+
get type(): string | undefined;
|
|
112
101
|
/** Record properties - empty object for new (unsaved) records */
|
|
113
102
|
get properties(): TProps;
|
|
114
103
|
get title(): string | undefined;
|
|
@@ -121,76 +110,6 @@ export declare class AccountCreditRecord<TProps = AccountCreditProperties> {
|
|
|
121
110
|
get groups(): string[];
|
|
122
111
|
/** Access the underlying OdinRecord (null for new records) */
|
|
123
112
|
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]>;
|
|
194
113
|
/**
|
|
195
114
|
* Queue a link to be created with the next action.
|
|
196
115
|
* Works for both create and update actions.
|