@d19n/youfibre-odin-sdk 2.0.28 → 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 -3
- 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 +16 -23
- package/dist/actions-v2/UpdateBngProvisionDto.js +4 -4
- 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/Account.d.ts +33 -33
- package/dist/entities-v2/Account.js +2 -2
- package/dist/entities-v2/BillingAdjustment.d.ts +79 -70
- package/dist/entities-v2/BillingAdjustment.js +37 -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/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 +28 -7
- package/dist/entities-v2/Order.js +8 -2
- 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 +85 -84
- package/dist/entities-v2/WorkOrder.js +5 -4
- 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 -109
- package/dist/records-v2/ConversationRecord.js +0 -153
- 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/ReopenConversationDto.d.ts +0 -94
- package/dist/actions-v2/ReopenConversationDto.js +0 -61
- package/dist/actions-v2/UpdatePgAllocationWithBacsReportDto.d.ts +0 -85
- package/dist/actions-v2/UpdatePgAllocationWithBacsReportDto.js +0 -61
|
@@ -29,16 +29,6 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
29
29
|
exports.isCustomerDeviceOntRecord = exports.CustomerDeviceOntRecord = exports.RequestToReplaceOntFlowBuilder = void 0;
|
|
30
30
|
const uuid_1 = require("uuid");
|
|
31
31
|
const core_1 = require("@d19n/odin-types/dist/core");
|
|
32
|
-
const record_link_manager_1 = require("@d19n/odin-sdk-generator/dist/record-link-manager");
|
|
33
|
-
const AddressRecord_1 = require("./AddressRecord");
|
|
34
|
-
const NoteRecord_1 = require("./NoteRecord");
|
|
35
|
-
const OrderItemRecord_1 = require("./OrderItemRecord");
|
|
36
|
-
const NetworkDeviceRecord_1 = require("./NetworkDeviceRecord");
|
|
37
|
-
const ActivityRecord_1 = require("./ActivityRecord");
|
|
38
|
-
const CustomerDeviceRouterRecord_1 = require("./CustomerDeviceRouterRecord");
|
|
39
|
-
const OrderRecord_1 = require("./OrderRecord");
|
|
40
|
-
const FileRecord_1 = require("./FileRecord");
|
|
41
|
-
const OntReplacementApprovalRecord_1 = require("./OntReplacementApprovalRecord");
|
|
42
32
|
/**
|
|
43
33
|
* Builder for action execution with dryRun support
|
|
44
34
|
*
|
|
@@ -259,276 +249,6 @@ class CustomerDeviceOntRecord {
|
|
|
259
249
|
get groups() { var _a; return ((_a = this._record) === null || _a === void 0 ? void 0 : _a.groups) || []; }
|
|
260
250
|
/** Access the underlying OdinRecord (null for new records) */
|
|
261
251
|
get record() { return this._record; }
|
|
262
|
-
/**
|
|
263
|
-
* Access linked Address records
|
|
264
|
-
* @remarks Available labels: Address__CustomerDeviceOnt
|
|
265
|
-
* @throws Error if called on a new (unsaved) record
|
|
266
|
-
*
|
|
267
|
-
* @example
|
|
268
|
-
* ```typescript
|
|
269
|
-
* // Get all linked Address records
|
|
270
|
-
* const items = await record.addresses.list();
|
|
271
|
-
* const first = await record.addresses.first();
|
|
272
|
-
*
|
|
273
|
-
* // Filter by label
|
|
274
|
-
* const specific = await record.addresses.first({ label: 'Address__CustomerDeviceOnt' });
|
|
275
|
-
* ```
|
|
276
|
-
*/
|
|
277
|
-
get addresses() {
|
|
278
|
-
var _a;
|
|
279
|
-
if (!((_a = this._record) === null || _a === void 0 ? void 0 : _a.id))
|
|
280
|
-
throw new Error('Cannot access links on a new (unsaved) record');
|
|
281
|
-
if (!this._addresses) {
|
|
282
|
-
this._addresses = new record_link_manager_1.RecordLinkManager(this._provider, this._record, {
|
|
283
|
-
sourceEntity: 'ServiceModule:CustomerDeviceOnt',
|
|
284
|
-
targetEntity: 'CrmModule:Address',
|
|
285
|
-
targetModuleName: 'CrmModule',
|
|
286
|
-
targetEntityName: 'Address',
|
|
287
|
-
labels: ['Address__CustomerDeviceOnt'],
|
|
288
|
-
}, AddressRecord_1.AddressRecord);
|
|
289
|
-
}
|
|
290
|
-
return this._addresses;
|
|
291
|
-
}
|
|
292
|
-
/**
|
|
293
|
-
* Access linked Note records
|
|
294
|
-
* @remarks Available labels: CustomerDeviceOnt__Note
|
|
295
|
-
* @throws Error if called on a new (unsaved) record
|
|
296
|
-
*
|
|
297
|
-
* @example
|
|
298
|
-
* ```typescript
|
|
299
|
-
* // Get all linked Note records
|
|
300
|
-
* const items = await record.notes.list();
|
|
301
|
-
* const first = await record.notes.first();
|
|
302
|
-
*
|
|
303
|
-
* // Filter by label
|
|
304
|
-
* const specific = await record.notes.first({ label: 'CustomerDeviceOnt__Note' });
|
|
305
|
-
* ```
|
|
306
|
-
*/
|
|
307
|
-
get notes() {
|
|
308
|
-
var _a;
|
|
309
|
-
if (!((_a = this._record) === null || _a === void 0 ? void 0 : _a.id))
|
|
310
|
-
throw new Error('Cannot access links on a new (unsaved) record');
|
|
311
|
-
if (!this._notes) {
|
|
312
|
-
this._notes = new record_link_manager_1.RecordLinkManager(this._provider, this._record, {
|
|
313
|
-
sourceEntity: 'ServiceModule:CustomerDeviceOnt',
|
|
314
|
-
targetEntity: 'SupportModule:Note',
|
|
315
|
-
targetModuleName: 'SupportModule',
|
|
316
|
-
targetEntityName: 'Note',
|
|
317
|
-
labels: ['CustomerDeviceOnt__Note'],
|
|
318
|
-
}, NoteRecord_1.NoteRecord);
|
|
319
|
-
}
|
|
320
|
-
return this._notes;
|
|
321
|
-
}
|
|
322
|
-
/**
|
|
323
|
-
* Access linked OrderItem records
|
|
324
|
-
* @remarks Available labels: OrderItem__CustomerDeviceOnt
|
|
325
|
-
* @throws Error if called on a new (unsaved) record
|
|
326
|
-
*
|
|
327
|
-
* @example
|
|
328
|
-
* ```typescript
|
|
329
|
-
* // Get all linked OrderItem records
|
|
330
|
-
* const items = await record.orderItems.list();
|
|
331
|
-
* const first = await record.orderItems.first();
|
|
332
|
-
*
|
|
333
|
-
* // Filter by label
|
|
334
|
-
* const specific = await record.orderItems.first({ label: 'OrderItem__CustomerDeviceOnt' });
|
|
335
|
-
* ```
|
|
336
|
-
*/
|
|
337
|
-
get orderItems() {
|
|
338
|
-
var _a;
|
|
339
|
-
if (!((_a = this._record) === null || _a === void 0 ? void 0 : _a.id))
|
|
340
|
-
throw new Error('Cannot access links on a new (unsaved) record');
|
|
341
|
-
if (!this._orderItems) {
|
|
342
|
-
this._orderItems = new record_link_manager_1.RecordLinkManager(this._provider, this._record, {
|
|
343
|
-
sourceEntity: 'ServiceModule:CustomerDeviceOnt',
|
|
344
|
-
targetEntity: 'OrderModule:OrderItem',
|
|
345
|
-
targetModuleName: 'OrderModule',
|
|
346
|
-
targetEntityName: 'OrderItem',
|
|
347
|
-
labels: ['OrderItem__CustomerDeviceOnt'],
|
|
348
|
-
}, OrderItemRecord_1.OrderItemRecord);
|
|
349
|
-
}
|
|
350
|
-
return this._orderItems;
|
|
351
|
-
}
|
|
352
|
-
/**
|
|
353
|
-
* Access linked NetworkDevice records
|
|
354
|
-
* @remarks Available labels: NetworkDevice__CustomerDeviceOnt
|
|
355
|
-
* @throws Error if called on a new (unsaved) record
|
|
356
|
-
*
|
|
357
|
-
* @example
|
|
358
|
-
* ```typescript
|
|
359
|
-
* // Get all linked NetworkDevice records
|
|
360
|
-
* const items = await record.networkDevices.list();
|
|
361
|
-
* const first = await record.networkDevices.first();
|
|
362
|
-
*
|
|
363
|
-
* // Filter by label
|
|
364
|
-
* const specific = await record.networkDevices.first({ label: 'NetworkDevice__CustomerDeviceOnt' });
|
|
365
|
-
* ```
|
|
366
|
-
*/
|
|
367
|
-
get networkDevices() {
|
|
368
|
-
var _a;
|
|
369
|
-
if (!((_a = this._record) === null || _a === void 0 ? void 0 : _a.id))
|
|
370
|
-
throw new Error('Cannot access links on a new (unsaved) record');
|
|
371
|
-
if (!this._networkDevices) {
|
|
372
|
-
this._networkDevices = new record_link_manager_1.RecordLinkManager(this._provider, this._record, {
|
|
373
|
-
sourceEntity: 'ServiceModule:CustomerDeviceOnt',
|
|
374
|
-
targetEntity: 'ServiceModule:NetworkDevice',
|
|
375
|
-
targetModuleName: 'ServiceModule',
|
|
376
|
-
targetEntityName: 'NetworkDevice',
|
|
377
|
-
labels: ['NetworkDevice__CustomerDeviceOnt'],
|
|
378
|
-
}, NetworkDeviceRecord_1.NetworkDeviceRecord);
|
|
379
|
-
}
|
|
380
|
-
return this._networkDevices;
|
|
381
|
-
}
|
|
382
|
-
/**
|
|
383
|
-
* Access linked Activity records
|
|
384
|
-
* @remarks Available labels: CustomerDeviceOnt__Activity
|
|
385
|
-
* @throws Error if called on a new (unsaved) record
|
|
386
|
-
*
|
|
387
|
-
* @example
|
|
388
|
-
* ```typescript
|
|
389
|
-
* // Get all linked Activity records
|
|
390
|
-
* const items = await record.activities.list();
|
|
391
|
-
* const first = await record.activities.first();
|
|
392
|
-
*
|
|
393
|
-
* // Filter by label
|
|
394
|
-
* const specific = await record.activities.first({ label: 'CustomerDeviceOnt__Activity' });
|
|
395
|
-
* ```
|
|
396
|
-
*/
|
|
397
|
-
get activities() {
|
|
398
|
-
var _a;
|
|
399
|
-
if (!((_a = this._record) === null || _a === void 0 ? void 0 : _a.id))
|
|
400
|
-
throw new Error('Cannot access links on a new (unsaved) record');
|
|
401
|
-
if (!this._activities) {
|
|
402
|
-
this._activities = new record_link_manager_1.RecordLinkManager(this._provider, this._record, {
|
|
403
|
-
sourceEntity: 'ServiceModule:CustomerDeviceOnt',
|
|
404
|
-
targetEntity: 'SchemaModule:Activity',
|
|
405
|
-
targetModuleName: 'SchemaModule',
|
|
406
|
-
targetEntityName: 'Activity',
|
|
407
|
-
labels: ['CustomerDeviceOnt__Activity'],
|
|
408
|
-
}, ActivityRecord_1.ActivityRecord);
|
|
409
|
-
}
|
|
410
|
-
return this._activities;
|
|
411
|
-
}
|
|
412
|
-
/**
|
|
413
|
-
* Access linked CustomerDeviceRouter records
|
|
414
|
-
* @remarks Available labels: CustomerDeviceOnt__CustomerDeviceRouter
|
|
415
|
-
* @throws Error if called on a new (unsaved) record
|
|
416
|
-
*
|
|
417
|
-
* @example
|
|
418
|
-
* ```typescript
|
|
419
|
-
* // Get all linked CustomerDeviceRouter records
|
|
420
|
-
* const items = await record.customerDeviceRouters.list();
|
|
421
|
-
* const first = await record.customerDeviceRouters.first();
|
|
422
|
-
*
|
|
423
|
-
* // Filter by label
|
|
424
|
-
* const specific = await record.customerDeviceRouters.first({ label: 'CustomerDeviceOnt__CustomerDeviceRouter' });
|
|
425
|
-
* ```
|
|
426
|
-
*/
|
|
427
|
-
get customerDeviceRouters() {
|
|
428
|
-
var _a;
|
|
429
|
-
if (!((_a = this._record) === null || _a === void 0 ? void 0 : _a.id))
|
|
430
|
-
throw new Error('Cannot access links on a new (unsaved) record');
|
|
431
|
-
if (!this._customerDeviceRouters) {
|
|
432
|
-
this._customerDeviceRouters = new record_link_manager_1.RecordLinkManager(this._provider, this._record, {
|
|
433
|
-
sourceEntity: 'ServiceModule:CustomerDeviceOnt',
|
|
434
|
-
targetEntity: 'ServiceModule:CustomerDeviceRouter',
|
|
435
|
-
targetModuleName: 'ServiceModule',
|
|
436
|
-
targetEntityName: 'CustomerDeviceRouter',
|
|
437
|
-
labels: ['CustomerDeviceOnt__CustomerDeviceRouter'],
|
|
438
|
-
}, CustomerDeviceRouterRecord_1.CustomerDeviceRouterRecord);
|
|
439
|
-
}
|
|
440
|
-
return this._customerDeviceRouters;
|
|
441
|
-
}
|
|
442
|
-
/**
|
|
443
|
-
* Access linked Order records
|
|
444
|
-
* @remarks Available labels: Order__CustomerDeviceOnt
|
|
445
|
-
* @throws Error if called on a new (unsaved) record
|
|
446
|
-
*
|
|
447
|
-
* @example
|
|
448
|
-
* ```typescript
|
|
449
|
-
* // Get all linked Order records
|
|
450
|
-
* const items = await record.orders.list();
|
|
451
|
-
* const first = await record.orders.first();
|
|
452
|
-
*
|
|
453
|
-
* // Filter by label
|
|
454
|
-
* const specific = await record.orders.first({ label: 'Order__CustomerDeviceOnt' });
|
|
455
|
-
* ```
|
|
456
|
-
*/
|
|
457
|
-
get orders() {
|
|
458
|
-
var _a;
|
|
459
|
-
if (!((_a = this._record) === null || _a === void 0 ? void 0 : _a.id))
|
|
460
|
-
throw new Error('Cannot access links on a new (unsaved) record');
|
|
461
|
-
if (!this._orders) {
|
|
462
|
-
this._orders = new record_link_manager_1.RecordLinkManager(this._provider, this._record, {
|
|
463
|
-
sourceEntity: 'ServiceModule:CustomerDeviceOnt',
|
|
464
|
-
targetEntity: 'OrderModule:Order',
|
|
465
|
-
targetModuleName: 'OrderModule',
|
|
466
|
-
targetEntityName: 'Order',
|
|
467
|
-
labels: ['Order__CustomerDeviceOnt'],
|
|
468
|
-
}, OrderRecord_1.OrderRecord);
|
|
469
|
-
}
|
|
470
|
-
return this._orders;
|
|
471
|
-
}
|
|
472
|
-
/**
|
|
473
|
-
* Access linked File records
|
|
474
|
-
* @remarks Available labels: CustomerDeviceOnt__File
|
|
475
|
-
* @throws Error if called on a new (unsaved) record
|
|
476
|
-
*
|
|
477
|
-
* @example
|
|
478
|
-
* ```typescript
|
|
479
|
-
* // Get all linked File records
|
|
480
|
-
* const items = await record.files.list();
|
|
481
|
-
* const first = await record.files.first();
|
|
482
|
-
*
|
|
483
|
-
* // Filter by label
|
|
484
|
-
* const specific = await record.files.first({ label: 'CustomerDeviceOnt__File' });
|
|
485
|
-
* ```
|
|
486
|
-
*/
|
|
487
|
-
get files() {
|
|
488
|
-
var _a;
|
|
489
|
-
if (!((_a = this._record) === null || _a === void 0 ? void 0 : _a.id))
|
|
490
|
-
throw new Error('Cannot access links on a new (unsaved) record');
|
|
491
|
-
if (!this._files) {
|
|
492
|
-
this._files = new record_link_manager_1.RecordLinkManager(this._provider, this._record, {
|
|
493
|
-
sourceEntity: 'ServiceModule:CustomerDeviceOnt',
|
|
494
|
-
targetEntity: 'SchemaModule:File',
|
|
495
|
-
targetModuleName: 'SchemaModule',
|
|
496
|
-
targetEntityName: 'File',
|
|
497
|
-
labels: ['CustomerDeviceOnt__File'],
|
|
498
|
-
}, FileRecord_1.FileRecord);
|
|
499
|
-
}
|
|
500
|
-
return this._files;
|
|
501
|
-
}
|
|
502
|
-
/**
|
|
503
|
-
* Access linked OntReplacementApproval records
|
|
504
|
-
* @remarks Available labels: OntReplacementApproval_CustomerDeviceOnt
|
|
505
|
-
* @throws Error if called on a new (unsaved) record
|
|
506
|
-
*
|
|
507
|
-
* @example
|
|
508
|
-
* ```typescript
|
|
509
|
-
* // Get all linked OntReplacementApproval records
|
|
510
|
-
* const items = await record.ontReplacementApprovals.list();
|
|
511
|
-
* const first = await record.ontReplacementApprovals.first();
|
|
512
|
-
*
|
|
513
|
-
* // Filter by label
|
|
514
|
-
* const specific = await record.ontReplacementApprovals.first({ label: 'OntReplacementApproval_CustomerDeviceOnt' });
|
|
515
|
-
* ```
|
|
516
|
-
*/
|
|
517
|
-
get ontReplacementApprovals() {
|
|
518
|
-
var _a;
|
|
519
|
-
if (!((_a = this._record) === null || _a === void 0 ? void 0 : _a.id))
|
|
520
|
-
throw new Error('Cannot access links on a new (unsaved) record');
|
|
521
|
-
if (!this._ontReplacementApprovals) {
|
|
522
|
-
this._ontReplacementApprovals = new record_link_manager_1.RecordLinkManager(this._provider, this._record, {
|
|
523
|
-
sourceEntity: 'ServiceModule:CustomerDeviceOnt',
|
|
524
|
-
targetEntity: 'FieldServiceModule:OntReplacementApproval',
|
|
525
|
-
targetModuleName: 'FieldServiceModule',
|
|
526
|
-
targetEntityName: 'OntReplacementApproval',
|
|
527
|
-
labels: ['OntReplacementApproval_CustomerDeviceOnt'],
|
|
528
|
-
}, OntReplacementApprovalRecord_1.OntReplacementApprovalRecord);
|
|
529
|
-
}
|
|
530
|
-
return this._ontReplacementApprovals;
|
|
531
|
-
}
|
|
532
252
|
// ============================================
|
|
533
253
|
// LINK MANAGEMENT
|
|
534
254
|
// ============================================
|
|
@@ -660,27 +380,6 @@ class CustomerDeviceOntRecord {
|
|
|
660
380
|
}
|
|
661
381
|
}
|
|
662
382
|
exports.CustomerDeviceOntRecord = CustomerDeviceOntRecord;
|
|
663
|
-
// ============================================
|
|
664
|
-
// TYPED LINK ACCESSORS
|
|
665
|
-
// ============================================
|
|
666
|
-
/** Valid labels for Address associations */
|
|
667
|
-
CustomerDeviceOntRecord.addressesLabels = ['Address__CustomerDeviceOnt'];
|
|
668
|
-
/** Valid labels for Note associations */
|
|
669
|
-
CustomerDeviceOntRecord.notesLabels = ['CustomerDeviceOnt__Note'];
|
|
670
|
-
/** Valid labels for OrderItem associations */
|
|
671
|
-
CustomerDeviceOntRecord.orderItemsLabels = ['OrderItem__CustomerDeviceOnt'];
|
|
672
|
-
/** Valid labels for NetworkDevice associations */
|
|
673
|
-
CustomerDeviceOntRecord.networkDevicesLabels = ['NetworkDevice__CustomerDeviceOnt'];
|
|
674
|
-
/** Valid labels for Activity associations */
|
|
675
|
-
CustomerDeviceOntRecord.activitiesLabels = ['CustomerDeviceOnt__Activity'];
|
|
676
|
-
/** Valid labels for CustomerDeviceRouter associations */
|
|
677
|
-
CustomerDeviceOntRecord.customerDeviceRoutersLabels = ['CustomerDeviceOnt__CustomerDeviceRouter'];
|
|
678
|
-
/** Valid labels for Order associations */
|
|
679
|
-
CustomerDeviceOntRecord.ordersLabels = ['Order__CustomerDeviceOnt'];
|
|
680
|
-
/** Valid labels for File associations */
|
|
681
|
-
CustomerDeviceOntRecord.filesLabels = ['CustomerDeviceOnt__File'];
|
|
682
|
-
/** Valid labels for OntReplacementApproval associations */
|
|
683
|
-
CustomerDeviceOntRecord.ontReplacementApprovalsLabels = ['OntReplacementApproval_CustomerDeviceOnt'];
|
|
684
383
|
/** Type guard to check if an object is a CustomerDeviceOntRecord */
|
|
685
384
|
function isCustomerDeviceOntRecord(obj) {
|
|
686
385
|
return obj instanceof CustomerDeviceOntRecord;
|
|
@@ -19,18 +19,10 @@ import { OdinRecord, OdinRecordLinkDto } from '@d19n/odin-types/dist/core';
|
|
|
19
19
|
import { PipelineStageEntity } from '@d19n/odin-types/dist/core';
|
|
20
20
|
import { IDbRecordCreateUpdateRes } from '@d19n/odin-types/dist/core/interfaces/v1.db.interfaces';
|
|
21
21
|
import { IOdinProvider } from '@d19n/odin-sdk-generator/dist/odin-sdk-types';
|
|
22
|
-
import { RecordLinkManager } from '@d19n/odin-sdk-generator/dist/record-link-manager';
|
|
23
22
|
import { CustomerDeviceRouterProperties } from '../entities-v2/CustomerDeviceRouter';
|
|
24
23
|
import { CreateCustomerDeviceRouterFromDispatchProperties } from '../actions-v2/CreateCustomerDeviceRouterFromDispatchDto';
|
|
25
24
|
import { CustomerDeviceRouterCreateProperties } from '../actions-v2/CustomerDeviceRouterCreateDto';
|
|
26
25
|
import { CustomerDeviceRouterUpdateProperties } from '../actions-v2/CustomerDeviceRouterUpdateDto';
|
|
27
|
-
import { FieldServiceDispatchedProductRecord } from './FieldServiceDispatchedProductRecord';
|
|
28
|
-
import { OrderItemRecord } from './OrderItemRecord';
|
|
29
|
-
import { NoteRecord } from './NoteRecord';
|
|
30
|
-
import { CustomerDeviceOntRecord } from './CustomerDeviceOntRecord';
|
|
31
|
-
import { FileRecord } from './FileRecord';
|
|
32
|
-
import { OrderRecord } from './OrderRecord';
|
|
33
|
-
import { AddressRecord } from './AddressRecord';
|
|
34
26
|
/**
|
|
35
27
|
* Builder for action execution with dryRun support
|
|
36
28
|
*
|
|
@@ -94,13 +86,6 @@ export declare class CustomerDeviceRouterRecord<TProps = CustomerDeviceRouterPro
|
|
|
94
86
|
private _provider;
|
|
95
87
|
private _pendingLinks;
|
|
96
88
|
private _preGeneratedId;
|
|
97
|
-
private _fieldServiceDispatchedProducts?;
|
|
98
|
-
private _orderItems?;
|
|
99
|
-
private _notes?;
|
|
100
|
-
private _customerDeviceOnts?;
|
|
101
|
-
private _files?;
|
|
102
|
-
private _orders?;
|
|
103
|
-
private _addresses?;
|
|
104
89
|
/**
|
|
105
90
|
* Create a record wrapper.
|
|
106
91
|
* @param record - The underlying record, or null for create operations
|
|
@@ -126,132 +111,6 @@ export declare class CustomerDeviceRouterRecord<TProps = CustomerDeviceRouterPro
|
|
|
126
111
|
get groups(): string[];
|
|
127
112
|
/** Access the underlying OdinRecord (null for new records) */
|
|
128
113
|
get record(): OdinRecord<TProps> | null;
|
|
129
|
-
/** Valid labels for FieldServiceDispatchedProduct associations */
|
|
130
|
-
static readonly fieldServiceDispatchedProductsLabels: readonly ["CustomerDeviceRouter__FieldServiceDispatchedProduct"];
|
|
131
|
-
/**
|
|
132
|
-
* Access linked FieldServiceDispatchedProduct records
|
|
133
|
-
* @remarks Available labels: CustomerDeviceRouter__FieldServiceDispatchedProduct
|
|
134
|
-
* @throws Error if called on a new (unsaved) record
|
|
135
|
-
*
|
|
136
|
-
* @example
|
|
137
|
-
* ```typescript
|
|
138
|
-
* // Get all linked FieldServiceDispatchedProduct records
|
|
139
|
-
* const items = await record.fieldServiceDispatchedProducts.list();
|
|
140
|
-
* const first = await record.fieldServiceDispatchedProducts.first();
|
|
141
|
-
*
|
|
142
|
-
* // Filter by label
|
|
143
|
-
* const specific = await record.fieldServiceDispatchedProducts.first({ label: 'CustomerDeviceRouter__FieldServiceDispatchedProduct' });
|
|
144
|
-
* ```
|
|
145
|
-
*/
|
|
146
|
-
get fieldServiceDispatchedProducts(): RecordLinkManager<FieldServiceDispatchedProductRecord, typeof CustomerDeviceRouterRecord['fieldServiceDispatchedProductsLabels'][number]>;
|
|
147
|
-
/** Valid labels for OrderItem associations */
|
|
148
|
-
static readonly orderItemsLabels: readonly ["OrderItem__CustomerDeviceRouter"];
|
|
149
|
-
/**
|
|
150
|
-
* Access linked OrderItem records
|
|
151
|
-
* @remarks Available labels: OrderItem__CustomerDeviceRouter
|
|
152
|
-
* @throws Error if called on a new (unsaved) record
|
|
153
|
-
*
|
|
154
|
-
* @example
|
|
155
|
-
* ```typescript
|
|
156
|
-
* // Get all linked OrderItem records
|
|
157
|
-
* const items = await record.orderItems.list();
|
|
158
|
-
* const first = await record.orderItems.first();
|
|
159
|
-
*
|
|
160
|
-
* // Filter by label
|
|
161
|
-
* const specific = await record.orderItems.first({ label: 'OrderItem__CustomerDeviceRouter' });
|
|
162
|
-
* ```
|
|
163
|
-
*/
|
|
164
|
-
get orderItems(): RecordLinkManager<OrderItemRecord, typeof CustomerDeviceRouterRecord['orderItemsLabels'][number]>;
|
|
165
|
-
/** Valid labels for Note associations */
|
|
166
|
-
static readonly notesLabels: readonly ["CustomerDeviceRouter__Note"];
|
|
167
|
-
/**
|
|
168
|
-
* Access linked Note records
|
|
169
|
-
* @remarks Available labels: CustomerDeviceRouter__Note
|
|
170
|
-
* @throws Error if called on a new (unsaved) record
|
|
171
|
-
*
|
|
172
|
-
* @example
|
|
173
|
-
* ```typescript
|
|
174
|
-
* // Get all linked Note records
|
|
175
|
-
* const items = await record.notes.list();
|
|
176
|
-
* const first = await record.notes.first();
|
|
177
|
-
*
|
|
178
|
-
* // Filter by label
|
|
179
|
-
* const specific = await record.notes.first({ label: 'CustomerDeviceRouter__Note' });
|
|
180
|
-
* ```
|
|
181
|
-
*/
|
|
182
|
-
get notes(): RecordLinkManager<NoteRecord, typeof CustomerDeviceRouterRecord['notesLabels'][number]>;
|
|
183
|
-
/** Valid labels for CustomerDeviceOnt associations */
|
|
184
|
-
static readonly customerDeviceOntsLabels: readonly ["CustomerDeviceOnt__CustomerDeviceRouter"];
|
|
185
|
-
/**
|
|
186
|
-
* Access linked CustomerDeviceOnt records
|
|
187
|
-
* @remarks Available labels: CustomerDeviceOnt__CustomerDeviceRouter
|
|
188
|
-
* @throws Error if called on a new (unsaved) record
|
|
189
|
-
*
|
|
190
|
-
* @example
|
|
191
|
-
* ```typescript
|
|
192
|
-
* // Get all linked CustomerDeviceOnt records
|
|
193
|
-
* const items = await record.customerDeviceOnts.list();
|
|
194
|
-
* const first = await record.customerDeviceOnts.first();
|
|
195
|
-
*
|
|
196
|
-
* // Filter by label
|
|
197
|
-
* const specific = await record.customerDeviceOnts.first({ label: 'CustomerDeviceOnt__CustomerDeviceRouter' });
|
|
198
|
-
* ```
|
|
199
|
-
*/
|
|
200
|
-
get customerDeviceOnts(): RecordLinkManager<CustomerDeviceOntRecord, typeof CustomerDeviceRouterRecord['customerDeviceOntsLabels'][number]>;
|
|
201
|
-
/** Valid labels for File associations */
|
|
202
|
-
static readonly filesLabels: readonly ["CustomerDeviceRouter__File"];
|
|
203
|
-
/**
|
|
204
|
-
* Access linked File records
|
|
205
|
-
* @remarks Available labels: CustomerDeviceRouter__File
|
|
206
|
-
* @throws Error if called on a new (unsaved) record
|
|
207
|
-
*
|
|
208
|
-
* @example
|
|
209
|
-
* ```typescript
|
|
210
|
-
* // Get all linked File records
|
|
211
|
-
* const items = await record.files.list();
|
|
212
|
-
* const first = await record.files.first();
|
|
213
|
-
*
|
|
214
|
-
* // Filter by label
|
|
215
|
-
* const specific = await record.files.first({ label: 'CustomerDeviceRouter__File' });
|
|
216
|
-
* ```
|
|
217
|
-
*/
|
|
218
|
-
get files(): RecordLinkManager<FileRecord, typeof CustomerDeviceRouterRecord['filesLabels'][number]>;
|
|
219
|
-
/** Valid labels for Order associations */
|
|
220
|
-
static readonly ordersLabels: readonly ["Order__CustomerDeviceRouter"];
|
|
221
|
-
/**
|
|
222
|
-
* Access linked Order records
|
|
223
|
-
* @remarks Available labels: Order__CustomerDeviceRouter
|
|
224
|
-
* @throws Error if called on a new (unsaved) record
|
|
225
|
-
*
|
|
226
|
-
* @example
|
|
227
|
-
* ```typescript
|
|
228
|
-
* // Get all linked Order records
|
|
229
|
-
* const items = await record.orders.list();
|
|
230
|
-
* const first = await record.orders.first();
|
|
231
|
-
*
|
|
232
|
-
* // Filter by label
|
|
233
|
-
* const specific = await record.orders.first({ label: 'Order__CustomerDeviceRouter' });
|
|
234
|
-
* ```
|
|
235
|
-
*/
|
|
236
|
-
get orders(): RecordLinkManager<OrderRecord, typeof CustomerDeviceRouterRecord['ordersLabels'][number]>;
|
|
237
|
-
/** Valid labels for Address associations */
|
|
238
|
-
static readonly addressesLabels: readonly ["Address__CustomerDeviceRouter"];
|
|
239
|
-
/**
|
|
240
|
-
* Access linked Address records
|
|
241
|
-
* @remarks Available labels: Address__CustomerDeviceRouter
|
|
242
|
-
* @throws Error if called on a new (unsaved) record
|
|
243
|
-
*
|
|
244
|
-
* @example
|
|
245
|
-
* ```typescript
|
|
246
|
-
* // Get all linked Address records
|
|
247
|
-
* const items = await record.addresses.list();
|
|
248
|
-
* const first = await record.addresses.first();
|
|
249
|
-
*
|
|
250
|
-
* // Filter by label
|
|
251
|
-
* const specific = await record.addresses.first({ label: 'Address__CustomerDeviceRouter' });
|
|
252
|
-
* ```
|
|
253
|
-
*/
|
|
254
|
-
get addresses(): RecordLinkManager<AddressRecord, typeof CustomerDeviceRouterRecord['addressesLabels'][number]>;
|
|
255
114
|
/**
|
|
256
115
|
* Queue a link to be created with the next action.
|
|
257
116
|
* Works for both create and update actions.
|