@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
|
@@ -19,7 +19,6 @@ 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 { ContactProperties } from '../entities-v2/Contact';
|
|
24
23
|
import { CreateCaseProperties } from '../actions-v2/CreateCaseFromContactDto';
|
|
25
24
|
import { AssignCaseProperties } from '../actions-v2/CreateCaseFromContactDto';
|
|
@@ -28,32 +27,6 @@ import { CreateContactFromBrskProperties } from '../actions-v2/CreateContactFrom
|
|
|
28
27
|
import { UpdateAdditionalCareProperties } from '../actions-v2/UpdateAdditionalCareDto';
|
|
29
28
|
import { UpdateContactProperties } from '../actions-v2/UpdateContactDto';
|
|
30
29
|
import { UpdateReferralCodeProperties } from '../actions-v2/UpdateReferralCodeDto';
|
|
31
|
-
import { PaymentMethodRefundRecord } from './PaymentMethodRefundRecord';
|
|
32
|
-
import { AddressRecord } from './AddressRecord';
|
|
33
|
-
import { InvoiceRecord } from './InvoiceRecord';
|
|
34
|
-
import { PhoneNumberRecord } from './PhoneNumberRecord';
|
|
35
|
-
import { NoteRecord } from './NoteRecord';
|
|
36
|
-
import { ActivityRecord } from './ActivityRecord';
|
|
37
|
-
import { SmsMessageRecord } from './SmsMessageRecord';
|
|
38
|
-
import { ContractBuyOutRecord } from './ContractBuyOutRecord';
|
|
39
|
-
import { CallRecord } from './CallRecord';
|
|
40
|
-
import { LeadRecord } from './LeadRecord';
|
|
41
|
-
import { WorkOrderRecord } from './WorkOrderRecord';
|
|
42
|
-
import { OrderRecord } from './OrderRecord';
|
|
43
|
-
import { FileRecord } from './FileRecord';
|
|
44
|
-
import { OneTouchSwitchRecord } from './OneTouchSwitchRecord';
|
|
45
|
-
import { CaseRecord } from './CaseRecord';
|
|
46
|
-
import { BillingRequestRecord } from './BillingRequestRecord';
|
|
47
|
-
import { EmailRecord } from './EmailRecord';
|
|
48
|
-
import { AppointmentRecord } from './AppointmentRecord';
|
|
49
|
-
import { AccountRecord } from './AccountRecord';
|
|
50
|
-
import { ImpersonationTrackerRecord } from './ImpersonationTrackerRecord';
|
|
51
|
-
import { PaymentMethodRecord } from './PaymentMethodRecord';
|
|
52
|
-
import { AffiliateCodeRecord } from './AffiliateCodeRecord';
|
|
53
|
-
import { ReferralRecord } from './ReferralRecord';
|
|
54
|
-
import { RewardRecord } from './RewardRecord';
|
|
55
|
-
import { AccountCreditRecord } from './AccountCreditRecord';
|
|
56
|
-
import { PushNotificationRecord } from './PushNotificationRecord';
|
|
57
30
|
/**
|
|
58
31
|
* Builder for action execution with dryRun support
|
|
59
32
|
*
|
|
@@ -186,33 +159,6 @@ export declare class ContactRecord<TProps = ContactProperties> {
|
|
|
186
159
|
private _provider;
|
|
187
160
|
private _pendingLinks;
|
|
188
161
|
private _preGeneratedId;
|
|
189
|
-
private _paymentMethodRefunds?;
|
|
190
|
-
private _addresses?;
|
|
191
|
-
private _invoices?;
|
|
192
|
-
private _phoneNumbers?;
|
|
193
|
-
private _notes?;
|
|
194
|
-
private _activities?;
|
|
195
|
-
private _smsMessages?;
|
|
196
|
-
private _contractBuyOuts?;
|
|
197
|
-
private _calls?;
|
|
198
|
-
private _leads?;
|
|
199
|
-
private _workOrders?;
|
|
200
|
-
private _orders?;
|
|
201
|
-
private _files?;
|
|
202
|
-
private _contacts?;
|
|
203
|
-
private _oneTouchSwitches?;
|
|
204
|
-
private _cases?;
|
|
205
|
-
private _billingRequests?;
|
|
206
|
-
private _emails?;
|
|
207
|
-
private _appointments?;
|
|
208
|
-
private _accounts?;
|
|
209
|
-
private _impersonationTrackers?;
|
|
210
|
-
private _paymentMethods?;
|
|
211
|
-
private _affiliateCodes?;
|
|
212
|
-
private _referrals?;
|
|
213
|
-
private _rewards?;
|
|
214
|
-
private _accountCredits?;
|
|
215
|
-
private _pushNotifications?;
|
|
216
162
|
/**
|
|
217
163
|
* Create a record wrapper.
|
|
218
164
|
* @param record - The underlying record, or null for create operations
|
|
@@ -238,492 +184,6 @@ export declare class ContactRecord<TProps = ContactProperties> {
|
|
|
238
184
|
get groups(): string[];
|
|
239
185
|
/** Access the underlying OdinRecord (null for new records) */
|
|
240
186
|
get record(): OdinRecord<TProps> | null;
|
|
241
|
-
/** Valid labels for PaymentMethodRefund associations */
|
|
242
|
-
static readonly paymentMethodRefundsLabels: readonly ["Contact__PaymentMethodRefund"];
|
|
243
|
-
/**
|
|
244
|
-
* Access linked PaymentMethodRefund records
|
|
245
|
-
* @remarks Available labels: Contact__PaymentMethodRefund
|
|
246
|
-
* @throws Error if called on a new (unsaved) record
|
|
247
|
-
*
|
|
248
|
-
* @example
|
|
249
|
-
* ```typescript
|
|
250
|
-
* // Get all linked PaymentMethodRefund records
|
|
251
|
-
* const items = await record.paymentMethodRefunds.list();
|
|
252
|
-
* const first = await record.paymentMethodRefunds.first();
|
|
253
|
-
*
|
|
254
|
-
* // Filter by label
|
|
255
|
-
* const specific = await record.paymentMethodRefunds.first({ label: 'Contact__PaymentMethodRefund' });
|
|
256
|
-
* ```
|
|
257
|
-
*/
|
|
258
|
-
get paymentMethodRefunds(): RecordLinkManager<PaymentMethodRefundRecord, typeof ContactRecord['paymentMethodRefundsLabels'][number]>;
|
|
259
|
-
/** Valid labels for Address associations */
|
|
260
|
-
static readonly addressesLabels: readonly ["Contact__Address"];
|
|
261
|
-
/**
|
|
262
|
-
* Access linked Address records
|
|
263
|
-
* @remarks Available labels: Contact__Address
|
|
264
|
-
* @throws Error if called on a new (unsaved) record
|
|
265
|
-
*
|
|
266
|
-
* @example
|
|
267
|
-
* ```typescript
|
|
268
|
-
* // Get all linked Address records
|
|
269
|
-
* const items = await record.addresses.list();
|
|
270
|
-
* const first = await record.addresses.first();
|
|
271
|
-
*
|
|
272
|
-
* // Filter by label
|
|
273
|
-
* const specific = await record.addresses.first({ label: 'Contact__Address' });
|
|
274
|
-
* ```
|
|
275
|
-
*/
|
|
276
|
-
get addresses(): RecordLinkManager<AddressRecord, typeof ContactRecord['addressesLabels'][number]>;
|
|
277
|
-
/** Valid labels for Invoice associations */
|
|
278
|
-
static readonly invoicesLabels: readonly ["Invoice__Contact"];
|
|
279
|
-
/**
|
|
280
|
-
* Access linked Invoice records
|
|
281
|
-
* @remarks Available labels: Invoice__Contact
|
|
282
|
-
* @throws Error if called on a new (unsaved) record
|
|
283
|
-
*
|
|
284
|
-
* @example
|
|
285
|
-
* ```typescript
|
|
286
|
-
* // Get all linked Invoice records
|
|
287
|
-
* const items = await record.invoices.list();
|
|
288
|
-
* const first = await record.invoices.first();
|
|
289
|
-
*
|
|
290
|
-
* // Filter by label
|
|
291
|
-
* const specific = await record.invoices.first({ label: 'Invoice__Contact' });
|
|
292
|
-
* ```
|
|
293
|
-
*/
|
|
294
|
-
get invoices(): RecordLinkManager<InvoiceRecord, typeof ContactRecord['invoicesLabels'][number]>;
|
|
295
|
-
/** Valid labels for PhoneNumber associations */
|
|
296
|
-
static readonly phoneNumbersLabels: readonly ["Contact__PhoneNumber"];
|
|
297
|
-
/**
|
|
298
|
-
* Access linked PhoneNumber records
|
|
299
|
-
* @remarks Available labels: Contact__PhoneNumber
|
|
300
|
-
* @throws Error if called on a new (unsaved) record
|
|
301
|
-
*
|
|
302
|
-
* @example
|
|
303
|
-
* ```typescript
|
|
304
|
-
* // Get all linked PhoneNumber records
|
|
305
|
-
* const items = await record.phoneNumbers.list();
|
|
306
|
-
* const first = await record.phoneNumbers.first();
|
|
307
|
-
*
|
|
308
|
-
* // Filter by label
|
|
309
|
-
* const specific = await record.phoneNumbers.first({ label: 'Contact__PhoneNumber' });
|
|
310
|
-
* ```
|
|
311
|
-
*/
|
|
312
|
-
get phoneNumbers(): RecordLinkManager<PhoneNumberRecord, typeof ContactRecord['phoneNumbersLabels'][number]>;
|
|
313
|
-
/** Valid labels for Note associations */
|
|
314
|
-
static readonly notesLabels: readonly ["Contact__Note"];
|
|
315
|
-
/**
|
|
316
|
-
* Access linked Note records
|
|
317
|
-
* @remarks Available labels: Contact__Note
|
|
318
|
-
* @throws Error if called on a new (unsaved) record
|
|
319
|
-
*
|
|
320
|
-
* @example
|
|
321
|
-
* ```typescript
|
|
322
|
-
* // Get all linked Note records
|
|
323
|
-
* const items = await record.notes.list();
|
|
324
|
-
* const first = await record.notes.first();
|
|
325
|
-
*
|
|
326
|
-
* // Filter by label
|
|
327
|
-
* const specific = await record.notes.first({ label: 'Contact__Note' });
|
|
328
|
-
* ```
|
|
329
|
-
*/
|
|
330
|
-
get notes(): RecordLinkManager<NoteRecord, typeof ContactRecord['notesLabels'][number]>;
|
|
331
|
-
/** Valid labels for Activity associations */
|
|
332
|
-
static readonly activitiesLabels: readonly ["Contact__Activity"];
|
|
333
|
-
/**
|
|
334
|
-
* Access linked Activity records
|
|
335
|
-
* @remarks Available labels: Contact__Activity
|
|
336
|
-
* @throws Error if called on a new (unsaved) record
|
|
337
|
-
*
|
|
338
|
-
* @example
|
|
339
|
-
* ```typescript
|
|
340
|
-
* // Get all linked Activity records
|
|
341
|
-
* const items = await record.activities.list();
|
|
342
|
-
* const first = await record.activities.first();
|
|
343
|
-
*
|
|
344
|
-
* // Filter by label
|
|
345
|
-
* const specific = await record.activities.first({ label: 'Contact__Activity' });
|
|
346
|
-
* ```
|
|
347
|
-
*/
|
|
348
|
-
get activities(): RecordLinkManager<ActivityRecord, typeof ContactRecord['activitiesLabels'][number]>;
|
|
349
|
-
/** Valid labels for SmsMessage associations */
|
|
350
|
-
static readonly smsMessagesLabels: readonly ["Contact__SmsMessage"];
|
|
351
|
-
/**
|
|
352
|
-
* Access linked SmsMessage records
|
|
353
|
-
* @remarks Available labels: Contact__SmsMessage
|
|
354
|
-
* @throws Error if called on a new (unsaved) record
|
|
355
|
-
*
|
|
356
|
-
* @example
|
|
357
|
-
* ```typescript
|
|
358
|
-
* // Get all linked SmsMessage records
|
|
359
|
-
* const items = await record.smsMessages.list();
|
|
360
|
-
* const first = await record.smsMessages.first();
|
|
361
|
-
*
|
|
362
|
-
* // Filter by label
|
|
363
|
-
* const specific = await record.smsMessages.first({ label: 'Contact__SmsMessage' });
|
|
364
|
-
* ```
|
|
365
|
-
*/
|
|
366
|
-
get smsMessages(): RecordLinkManager<SmsMessageRecord, typeof ContactRecord['smsMessagesLabels'][number]>;
|
|
367
|
-
/** Valid labels for ContractBuyOut associations */
|
|
368
|
-
static readonly contractBuyOutsLabels: readonly ["Contact__ContractBuyOut"];
|
|
369
|
-
/**
|
|
370
|
-
* Access linked ContractBuyOut records
|
|
371
|
-
* @remarks Available labels: Contact__ContractBuyOut
|
|
372
|
-
* @throws Error if called on a new (unsaved) record
|
|
373
|
-
*
|
|
374
|
-
* @example
|
|
375
|
-
* ```typescript
|
|
376
|
-
* // Get all linked ContractBuyOut records
|
|
377
|
-
* const items = await record.contractBuyOuts.list();
|
|
378
|
-
* const first = await record.contractBuyOuts.first();
|
|
379
|
-
*
|
|
380
|
-
* // Filter by label
|
|
381
|
-
* const specific = await record.contractBuyOuts.first({ label: 'Contact__ContractBuyOut' });
|
|
382
|
-
* ```
|
|
383
|
-
*/
|
|
384
|
-
get contractBuyOuts(): RecordLinkManager<ContractBuyOutRecord, typeof ContactRecord['contractBuyOutsLabels'][number]>;
|
|
385
|
-
/** Valid labels for Call associations */
|
|
386
|
-
static readonly callsLabels: readonly ["Call__Contact"];
|
|
387
|
-
/**
|
|
388
|
-
* Access linked Call records
|
|
389
|
-
* @remarks Available labels: Call__Contact
|
|
390
|
-
* @throws Error if called on a new (unsaved) record
|
|
391
|
-
*
|
|
392
|
-
* @example
|
|
393
|
-
* ```typescript
|
|
394
|
-
* // Get all linked Call records
|
|
395
|
-
* const items = await record.calls.list();
|
|
396
|
-
* const first = await record.calls.first();
|
|
397
|
-
*
|
|
398
|
-
* // Filter by label
|
|
399
|
-
* const specific = await record.calls.first({ label: 'Call__Contact' });
|
|
400
|
-
* ```
|
|
401
|
-
*/
|
|
402
|
-
get calls(): RecordLinkManager<CallRecord, typeof ContactRecord['callsLabels'][number]>;
|
|
403
|
-
/** Valid labels for Lead associations */
|
|
404
|
-
static readonly leadsLabels: readonly ["Lead__Contact"];
|
|
405
|
-
/**
|
|
406
|
-
* Access linked Lead records
|
|
407
|
-
* @remarks Available labels: Lead__Contact
|
|
408
|
-
* @throws Error if called on a new (unsaved) record
|
|
409
|
-
*
|
|
410
|
-
* @example
|
|
411
|
-
* ```typescript
|
|
412
|
-
* // Get all linked Lead records
|
|
413
|
-
* const items = await record.leads.list();
|
|
414
|
-
* const first = await record.leads.first();
|
|
415
|
-
*
|
|
416
|
-
* // Filter by label
|
|
417
|
-
* const specific = await record.leads.first({ label: 'Lead__Contact' });
|
|
418
|
-
* ```
|
|
419
|
-
*/
|
|
420
|
-
get leads(): RecordLinkManager<LeadRecord, typeof ContactRecord['leadsLabels'][number]>;
|
|
421
|
-
/** Valid labels for WorkOrder associations */
|
|
422
|
-
static readonly workOrdersLabels: readonly ["WorkOrder__Contact", "WorkOrder__Alternative_Contact"];
|
|
423
|
-
/**
|
|
424
|
-
* Access linked WorkOrder records
|
|
425
|
-
* @remarks Available labels: WorkOrder__Contact, WorkOrder__Alternative_Contact
|
|
426
|
-
* @throws Error if called on a new (unsaved) record
|
|
427
|
-
*
|
|
428
|
-
* @example
|
|
429
|
-
* ```typescript
|
|
430
|
-
* // Get all linked WorkOrder records
|
|
431
|
-
* const items = await record.workOrders.list();
|
|
432
|
-
* const first = await record.workOrders.first();
|
|
433
|
-
*
|
|
434
|
-
* // Filter by label
|
|
435
|
-
* const specific = await record.workOrders.first({ label: 'WorkOrder__Contact' });
|
|
436
|
-
* ```
|
|
437
|
-
*/
|
|
438
|
-
get workOrders(): RecordLinkManager<WorkOrderRecord, typeof ContactRecord['workOrdersLabels'][number]>;
|
|
439
|
-
/** Valid labels for Order associations */
|
|
440
|
-
static readonly ordersLabels: readonly ["Order__Contact"];
|
|
441
|
-
/**
|
|
442
|
-
* Access linked Order records
|
|
443
|
-
* @remarks Available labels: Order__Contact
|
|
444
|
-
* @throws Error if called on a new (unsaved) record
|
|
445
|
-
*
|
|
446
|
-
* @example
|
|
447
|
-
* ```typescript
|
|
448
|
-
* // Get all linked Order records
|
|
449
|
-
* const items = await record.orders.list();
|
|
450
|
-
* const first = await record.orders.first();
|
|
451
|
-
*
|
|
452
|
-
* // Filter by label
|
|
453
|
-
* const specific = await record.orders.first({ label: 'Order__Contact' });
|
|
454
|
-
* ```
|
|
455
|
-
*/
|
|
456
|
-
get orders(): RecordLinkManager<OrderRecord, typeof ContactRecord['ordersLabels'][number]>;
|
|
457
|
-
/** Valid labels for File associations */
|
|
458
|
-
static readonly filesLabels: readonly ["Contact__File"];
|
|
459
|
-
/**
|
|
460
|
-
* Access linked File records
|
|
461
|
-
* @remarks Available labels: Contact__File
|
|
462
|
-
* @throws Error if called on a new (unsaved) record
|
|
463
|
-
*
|
|
464
|
-
* @example
|
|
465
|
-
* ```typescript
|
|
466
|
-
* // Get all linked File records
|
|
467
|
-
* const items = await record.files.list();
|
|
468
|
-
* const first = await record.files.first();
|
|
469
|
-
*
|
|
470
|
-
* // Filter by label
|
|
471
|
-
* const specific = await record.files.first({ label: 'Contact__File' });
|
|
472
|
-
* ```
|
|
473
|
-
*/
|
|
474
|
-
get files(): RecordLinkManager<FileRecord, typeof ContactRecord['filesLabels'][number]>;
|
|
475
|
-
/** Valid labels for Contact associations */
|
|
476
|
-
static readonly contactsLabels: readonly ["Contact__Contact"];
|
|
477
|
-
/**
|
|
478
|
-
* Access linked Contact records
|
|
479
|
-
* @remarks Available labels: Contact__Contact
|
|
480
|
-
* @throws Error if called on a new (unsaved) record
|
|
481
|
-
*
|
|
482
|
-
* @example
|
|
483
|
-
* ```typescript
|
|
484
|
-
* // Get all linked Contact records
|
|
485
|
-
* const items = await record.contacts.list();
|
|
486
|
-
* const first = await record.contacts.first();
|
|
487
|
-
*
|
|
488
|
-
* // Filter by label
|
|
489
|
-
* const specific = await record.contacts.first({ label: 'Contact__Contact' });
|
|
490
|
-
* ```
|
|
491
|
-
*/
|
|
492
|
-
get contacts(): RecordLinkManager<ContactRecord, typeof ContactRecord['contactsLabels'][number]>;
|
|
493
|
-
/** Valid labels for OneTouchSwitch associations */
|
|
494
|
-
static readonly oneTouchSwitchesLabels: readonly ["OneTouchSwitch__Contact"];
|
|
495
|
-
/**
|
|
496
|
-
* Access linked OneTouchSwitch records
|
|
497
|
-
* @remarks Available labels: OneTouchSwitch__Contact
|
|
498
|
-
* @throws Error if called on a new (unsaved) record
|
|
499
|
-
*
|
|
500
|
-
* @example
|
|
501
|
-
* ```typescript
|
|
502
|
-
* // Get all linked OneTouchSwitch records
|
|
503
|
-
* const items = await record.oneTouchSwitches.list();
|
|
504
|
-
* const first = await record.oneTouchSwitches.first();
|
|
505
|
-
*
|
|
506
|
-
* // Filter by label
|
|
507
|
-
* const specific = await record.oneTouchSwitches.first({ label: 'OneTouchSwitch__Contact' });
|
|
508
|
-
* ```
|
|
509
|
-
*/
|
|
510
|
-
get oneTouchSwitches(): RecordLinkManager<OneTouchSwitchRecord, typeof ContactRecord['oneTouchSwitchesLabels'][number]>;
|
|
511
|
-
/** Valid labels for Case associations */
|
|
512
|
-
static readonly casesLabels: readonly ["Case__Contact"];
|
|
513
|
-
/**
|
|
514
|
-
* Access linked Case records
|
|
515
|
-
* @remarks Available labels: Case__Contact
|
|
516
|
-
* @throws Error if called on a new (unsaved) record
|
|
517
|
-
*
|
|
518
|
-
* @example
|
|
519
|
-
* ```typescript
|
|
520
|
-
* // Get all linked Case records
|
|
521
|
-
* const items = await record.cases.list();
|
|
522
|
-
* const first = await record.cases.first();
|
|
523
|
-
*
|
|
524
|
-
* // Filter by label
|
|
525
|
-
* const specific = await record.cases.first({ label: 'Case__Contact' });
|
|
526
|
-
* ```
|
|
527
|
-
*/
|
|
528
|
-
get cases(): RecordLinkManager<CaseRecord, typeof ContactRecord['casesLabels'][number]>;
|
|
529
|
-
/** Valid labels for BillingRequest associations */
|
|
530
|
-
static readonly billingRequestsLabels: readonly ["Contact__BillingRequest"];
|
|
531
|
-
/**
|
|
532
|
-
* Access linked BillingRequest records
|
|
533
|
-
* @remarks Available labels: Contact__BillingRequest
|
|
534
|
-
* @throws Error if called on a new (unsaved) record
|
|
535
|
-
*
|
|
536
|
-
* @example
|
|
537
|
-
* ```typescript
|
|
538
|
-
* // Get all linked BillingRequest records
|
|
539
|
-
* const items = await record.billingRequests.list();
|
|
540
|
-
* const first = await record.billingRequests.first();
|
|
541
|
-
*
|
|
542
|
-
* // Filter by label
|
|
543
|
-
* const specific = await record.billingRequests.first({ label: 'Contact__BillingRequest' });
|
|
544
|
-
* ```
|
|
545
|
-
*/
|
|
546
|
-
get billingRequests(): RecordLinkManager<BillingRequestRecord, typeof ContactRecord['billingRequestsLabels'][number]>;
|
|
547
|
-
/** Valid labels for Email associations */
|
|
548
|
-
static readonly emailsLabels: readonly ["Email_Contact"];
|
|
549
|
-
/**
|
|
550
|
-
* Access linked Email records
|
|
551
|
-
* @remarks Available labels: Email_Contact
|
|
552
|
-
* @throws Error if called on a new (unsaved) record
|
|
553
|
-
*
|
|
554
|
-
* @example
|
|
555
|
-
* ```typescript
|
|
556
|
-
* // Get all linked Email records
|
|
557
|
-
* const items = await record.emails.list();
|
|
558
|
-
* const first = await record.emails.first();
|
|
559
|
-
*
|
|
560
|
-
* // Filter by label
|
|
561
|
-
* const specific = await record.emails.first({ label: 'Email_Contact' });
|
|
562
|
-
* ```
|
|
563
|
-
*/
|
|
564
|
-
get emails(): RecordLinkManager<EmailRecord, typeof ContactRecord['emailsLabels'][number]>;
|
|
565
|
-
/** Valid labels for Appointment associations */
|
|
566
|
-
static readonly appointmentsLabels: readonly ["Contact__Appointment"];
|
|
567
|
-
/**
|
|
568
|
-
* Access linked Appointment records
|
|
569
|
-
* @remarks Available labels: Contact__Appointment
|
|
570
|
-
* @throws Error if called on a new (unsaved) record
|
|
571
|
-
*
|
|
572
|
-
* @example
|
|
573
|
-
* ```typescript
|
|
574
|
-
* // Get all linked Appointment records
|
|
575
|
-
* const items = await record.appointments.list();
|
|
576
|
-
* const first = await record.appointments.first();
|
|
577
|
-
*
|
|
578
|
-
* // Filter by label
|
|
579
|
-
* const specific = await record.appointments.first({ label: 'Contact__Appointment' });
|
|
580
|
-
* ```
|
|
581
|
-
*/
|
|
582
|
-
get appointments(): RecordLinkManager<AppointmentRecord, typeof ContactRecord['appointmentsLabels'][number]>;
|
|
583
|
-
/** Valid labels for Account associations */
|
|
584
|
-
static readonly accountsLabels: readonly ["BillingContact"];
|
|
585
|
-
/**
|
|
586
|
-
* Access linked Account records
|
|
587
|
-
* @remarks Available labels: BillingContact
|
|
588
|
-
* @throws Error if called on a new (unsaved) record
|
|
589
|
-
*
|
|
590
|
-
* @example
|
|
591
|
-
* ```typescript
|
|
592
|
-
* // Get all linked Account records
|
|
593
|
-
* const items = await record.accounts.list();
|
|
594
|
-
* const first = await record.accounts.first();
|
|
595
|
-
*
|
|
596
|
-
* // Filter by label
|
|
597
|
-
* const specific = await record.accounts.first({ label: 'BillingContact' });
|
|
598
|
-
* ```
|
|
599
|
-
*/
|
|
600
|
-
get accounts(): RecordLinkManager<AccountRecord, typeof ContactRecord['accountsLabels'][number]>;
|
|
601
|
-
/** Valid labels for ImpersonationTracker associations */
|
|
602
|
-
static readonly impersonationTrackersLabels: readonly ["ImpersonationTracker__Contact"];
|
|
603
|
-
/**
|
|
604
|
-
* Access linked ImpersonationTracker records
|
|
605
|
-
* @remarks Available labels: ImpersonationTracker__Contact
|
|
606
|
-
* @throws Error if called on a new (unsaved) record
|
|
607
|
-
*
|
|
608
|
-
* @example
|
|
609
|
-
* ```typescript
|
|
610
|
-
* // Get all linked ImpersonationTracker records
|
|
611
|
-
* const items = await record.impersonationTrackers.list();
|
|
612
|
-
* const first = await record.impersonationTrackers.first();
|
|
613
|
-
*
|
|
614
|
-
* // Filter by label
|
|
615
|
-
* const specific = await record.impersonationTrackers.first({ label: 'ImpersonationTracker__Contact' });
|
|
616
|
-
* ```
|
|
617
|
-
*/
|
|
618
|
-
get impersonationTrackers(): RecordLinkManager<ImpersonationTrackerRecord, typeof ContactRecord['impersonationTrackersLabels'][number]>;
|
|
619
|
-
/** Valid labels for PaymentMethod associations */
|
|
620
|
-
static readonly paymentMethodsLabels: readonly ["Contact__PaymentMethod"];
|
|
621
|
-
/**
|
|
622
|
-
* Access linked PaymentMethod records
|
|
623
|
-
* @remarks Available labels: Contact__PaymentMethod
|
|
624
|
-
* @throws Error if called on a new (unsaved) record
|
|
625
|
-
*
|
|
626
|
-
* @example
|
|
627
|
-
* ```typescript
|
|
628
|
-
* // Get all linked PaymentMethod records
|
|
629
|
-
* const items = await record.paymentMethods.list();
|
|
630
|
-
* const first = await record.paymentMethods.first();
|
|
631
|
-
*
|
|
632
|
-
* // Filter by label
|
|
633
|
-
* const specific = await record.paymentMethods.first({ label: 'Contact__PaymentMethod' });
|
|
634
|
-
* ```
|
|
635
|
-
*/
|
|
636
|
-
get paymentMethods(): RecordLinkManager<PaymentMethodRecord, typeof ContactRecord['paymentMethodsLabels'][number]>;
|
|
637
|
-
/** Valid labels for AffiliateCode associations */
|
|
638
|
-
static readonly affiliateCodesLabels: readonly ["ContactAffiliateCodes"];
|
|
639
|
-
/**
|
|
640
|
-
* Access linked AffiliateCode records
|
|
641
|
-
* @remarks Available labels: ContactAffiliateCodes
|
|
642
|
-
* @throws Error if called on a new (unsaved) record
|
|
643
|
-
*
|
|
644
|
-
* @example
|
|
645
|
-
* ```typescript
|
|
646
|
-
* // Get all linked AffiliateCode records
|
|
647
|
-
* const items = await record.affiliateCodes.list();
|
|
648
|
-
* const first = await record.affiliateCodes.first();
|
|
649
|
-
*
|
|
650
|
-
* // Filter by label
|
|
651
|
-
* const specific = await record.affiliateCodes.first({ label: 'ContactAffiliateCodes' });
|
|
652
|
-
* ```
|
|
653
|
-
*/
|
|
654
|
-
get affiliateCodes(): RecordLinkManager<AffiliateCodeRecord, typeof ContactRecord['affiliateCodesLabels'][number]>;
|
|
655
|
-
/** Valid labels for Referral associations */
|
|
656
|
-
static readonly referralsLabels: readonly ["ReferrerReferrals", "RefereeReferrals"];
|
|
657
|
-
/**
|
|
658
|
-
* Access linked Referral records
|
|
659
|
-
* @remarks Available labels: ReferrerReferrals, RefereeReferrals
|
|
660
|
-
* @throws Error if called on a new (unsaved) record
|
|
661
|
-
*
|
|
662
|
-
* @example
|
|
663
|
-
* ```typescript
|
|
664
|
-
* // Get all linked Referral records
|
|
665
|
-
* const items = await record.referrals.list();
|
|
666
|
-
* const first = await record.referrals.first();
|
|
667
|
-
*
|
|
668
|
-
* // Filter by label
|
|
669
|
-
* const specific = await record.referrals.first({ label: 'ReferrerReferrals' });
|
|
670
|
-
* ```
|
|
671
|
-
*/
|
|
672
|
-
get referrals(): RecordLinkManager<ReferralRecord, typeof ContactRecord['referralsLabels'][number]>;
|
|
673
|
-
/** Valid labels for Reward associations */
|
|
674
|
-
static readonly rewardsLabels: readonly ["ContactReward"];
|
|
675
|
-
/**
|
|
676
|
-
* Access linked Reward records
|
|
677
|
-
* @remarks Available labels: ContactReward
|
|
678
|
-
* @throws Error if called on a new (unsaved) record
|
|
679
|
-
*
|
|
680
|
-
* @example
|
|
681
|
-
* ```typescript
|
|
682
|
-
* // Get all linked Reward records
|
|
683
|
-
* const items = await record.rewards.list();
|
|
684
|
-
* const first = await record.rewards.first();
|
|
685
|
-
*
|
|
686
|
-
* // Filter by label
|
|
687
|
-
* const specific = await record.rewards.first({ label: 'ContactReward' });
|
|
688
|
-
* ```
|
|
689
|
-
*/
|
|
690
|
-
get rewards(): RecordLinkManager<RewardRecord, typeof ContactRecord['rewardsLabels'][number]>;
|
|
691
|
-
/** Valid labels for AccountCredit associations */
|
|
692
|
-
static readonly accountCreditsLabels: readonly ["Contact__AccountCredit"];
|
|
693
|
-
/**
|
|
694
|
-
* Access linked AccountCredit records
|
|
695
|
-
* @remarks Available labels: Contact__AccountCredit
|
|
696
|
-
* @throws Error if called on a new (unsaved) record
|
|
697
|
-
*
|
|
698
|
-
* @example
|
|
699
|
-
* ```typescript
|
|
700
|
-
* // Get all linked AccountCredit records
|
|
701
|
-
* const items = await record.accountCredits.list();
|
|
702
|
-
* const first = await record.accountCredits.first();
|
|
703
|
-
*
|
|
704
|
-
* // Filter by label
|
|
705
|
-
* const specific = await record.accountCredits.first({ label: 'Contact__AccountCredit' });
|
|
706
|
-
* ```
|
|
707
|
-
*/
|
|
708
|
-
get accountCredits(): RecordLinkManager<AccountCreditRecord, typeof ContactRecord['accountCreditsLabels'][number]>;
|
|
709
|
-
/** Valid labels for PushNotification associations */
|
|
710
|
-
static readonly pushNotificationsLabels: readonly ["Contact__PushNotification"];
|
|
711
|
-
/**
|
|
712
|
-
* Access linked PushNotification records
|
|
713
|
-
* @remarks Available labels: Contact__PushNotification
|
|
714
|
-
* @throws Error if called on a new (unsaved) record
|
|
715
|
-
*
|
|
716
|
-
* @example
|
|
717
|
-
* ```typescript
|
|
718
|
-
* // Get all linked PushNotification records
|
|
719
|
-
* const items = await record.pushNotifications.list();
|
|
720
|
-
* const first = await record.pushNotifications.first();
|
|
721
|
-
*
|
|
722
|
-
* // Filter by label
|
|
723
|
-
* const specific = await record.pushNotifications.first({ label: 'Contact__PushNotification' });
|
|
724
|
-
* ```
|
|
725
|
-
*/
|
|
726
|
-
get pushNotifications(): RecordLinkManager<PushNotificationRecord, typeof ContactRecord['pushNotificationsLabels'][number]>;
|
|
727
187
|
/**
|
|
728
188
|
* Queue a link to be created with the next action.
|
|
729
189
|
* Works for both create and update actions.
|