@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
|
@@ -34,14 +34,14 @@ export declare enum PgFileAllocationPropertyKeys {
|
|
|
34
34
|
Transaction = "Transaction",
|
|
35
35
|
/** Submission Direct Debit File */
|
|
36
36
|
SubmissionFile = "SubmissionFile",
|
|
37
|
-
/** Bacs Report Direct Debit File */
|
|
38
|
-
BacsReportFile = "BacsReportFile",
|
|
39
37
|
/** Error Message */
|
|
40
38
|
ErrorMessage = "ErrorMessage",
|
|
41
39
|
/** Submission File Line Number */
|
|
42
40
|
SubmissionFileLineNumber = "SubmissionFileLineNumber",
|
|
43
41
|
/** PaymentMethod */
|
|
44
42
|
PaymentMethod = "PaymentMethod",
|
|
43
|
+
/** Bacs Report Direct Debit File */
|
|
44
|
+
BacsReportFile = "BacsReportFile",
|
|
45
45
|
/** Acknowledgement One Direct Debit File */
|
|
46
46
|
AcknowledgementOne = "AcknowledgementOne",
|
|
47
47
|
/** Acknowledgement Two Direct Debit File */
|
|
@@ -63,11 +63,6 @@ export interface PgFileAllocationProperties {
|
|
|
63
63
|
* @type {LOOKUP}
|
|
64
64
|
*/
|
|
65
65
|
SubmissionFile: string;
|
|
66
|
-
/** Bacs Report Direct Debit File
|
|
67
|
-
*
|
|
68
|
-
* @type {LOOKUP}
|
|
69
|
-
*/
|
|
70
|
-
BacsReportFile: string;
|
|
71
66
|
/** Error Message
|
|
72
67
|
*
|
|
73
68
|
* @type {TEXT_LONG}
|
|
@@ -83,6 +78,11 @@ export interface PgFileAllocationProperties {
|
|
|
83
78
|
* @type {LOOKUP}
|
|
84
79
|
*/
|
|
85
80
|
PaymentMethod: string;
|
|
81
|
+
/** Bacs Report Direct Debit File
|
|
82
|
+
*
|
|
83
|
+
* @type {LOOKUP}
|
|
84
|
+
*/
|
|
85
|
+
BacsReportFile: string;
|
|
86
86
|
/** Acknowledgement One Direct Debit File
|
|
87
87
|
*
|
|
88
88
|
* @type {LOOKUP}
|
|
@@ -110,11 +110,6 @@ export interface ReportPgFileAllocationProperties {
|
|
|
110
110
|
* @type {LOOKUP}
|
|
111
111
|
*/
|
|
112
112
|
SubmissionFile: string;
|
|
113
|
-
/** Bacs Report Direct Debit File
|
|
114
|
-
*
|
|
115
|
-
* @type {LOOKUP}
|
|
116
|
-
*/
|
|
117
|
-
BacsReportFile: string;
|
|
118
113
|
/** Error Message
|
|
119
114
|
*
|
|
120
115
|
* @type {TEXT_LONG}
|
|
@@ -130,6 +125,11 @@ export interface ReportPgFileAllocationProperties {
|
|
|
130
125
|
* @type {LOOKUP}
|
|
131
126
|
*/
|
|
132
127
|
PaymentMethod: string;
|
|
128
|
+
/** Bacs Report Direct Debit File
|
|
129
|
+
*
|
|
130
|
+
* @type {LOOKUP}
|
|
131
|
+
*/
|
|
132
|
+
BacsReportFile: string;
|
|
133
133
|
/** Acknowledgement One Direct Debit File
|
|
134
134
|
*
|
|
135
135
|
* @type {LOOKUP}
|
|
@@ -157,11 +157,6 @@ export interface SubmissionPgFileAllocationProperties {
|
|
|
157
157
|
* @type {LOOKUP}
|
|
158
158
|
*/
|
|
159
159
|
SubmissionFile: string;
|
|
160
|
-
/** Bacs Report Direct Debit File
|
|
161
|
-
*
|
|
162
|
-
* @type {LOOKUP}
|
|
163
|
-
*/
|
|
164
|
-
BacsReportFile: string;
|
|
165
160
|
/** Error Message
|
|
166
161
|
*
|
|
167
162
|
* @type {TEXT_LONG}
|
|
@@ -177,6 +172,11 @@ export interface SubmissionPgFileAllocationProperties {
|
|
|
177
172
|
* @type {LOOKUP}
|
|
178
173
|
*/
|
|
179
174
|
PaymentMethod: string;
|
|
175
|
+
/** Bacs Report Direct Debit File
|
|
176
|
+
*
|
|
177
|
+
* @type {LOOKUP}
|
|
178
|
+
*/
|
|
179
|
+
BacsReportFile: string;
|
|
180
180
|
/** Acknowledgement One Direct Debit File
|
|
181
181
|
*
|
|
182
182
|
* @type {LOOKUP}
|
|
@@ -36,14 +36,14 @@ var PgFileAllocationPropertyKeys;
|
|
|
36
36
|
PgFileAllocationPropertyKeys["Transaction"] = "Transaction";
|
|
37
37
|
/** Submission Direct Debit File */
|
|
38
38
|
PgFileAllocationPropertyKeys["SubmissionFile"] = "SubmissionFile";
|
|
39
|
-
/** Bacs Report Direct Debit File */
|
|
40
|
-
PgFileAllocationPropertyKeys["BacsReportFile"] = "BacsReportFile";
|
|
41
39
|
/** Error Message */
|
|
42
40
|
PgFileAllocationPropertyKeys["ErrorMessage"] = "ErrorMessage";
|
|
43
41
|
/** Submission File Line Number */
|
|
44
42
|
PgFileAllocationPropertyKeys["SubmissionFileLineNumber"] = "SubmissionFileLineNumber";
|
|
45
43
|
/** PaymentMethod */
|
|
46
44
|
PgFileAllocationPropertyKeys["PaymentMethod"] = "PaymentMethod";
|
|
45
|
+
/** Bacs Report Direct Debit File */
|
|
46
|
+
PgFileAllocationPropertyKeys["BacsReportFile"] = "BacsReportFile";
|
|
47
47
|
/** Acknowledgement One Direct Debit File */
|
|
48
48
|
PgFileAllocationPropertyKeys["AcknowledgementOne"] = "AcknowledgementOne";
|
|
49
49
|
/** Acknowledgement Two Direct Debit File */
|
|
@@ -11,6 +11,7 @@
|
|
|
11
11
|
* Generated from Odin schema definition
|
|
12
12
|
*/
|
|
13
13
|
import { OdinRecord, OdinLink, LinkedOdinRecord } from '@d19n/odin-types/dist/core';
|
|
14
|
+
import { PaymentMethodProperties } from './PaymentMethod';
|
|
14
15
|
import { PgContactProperties } from './PgContact';
|
|
15
16
|
import { PgWebhookProperties } from './PgWebhook';
|
|
16
17
|
import { PgFileAllocationProperties } from './PgFileAllocation';
|
|
@@ -156,6 +157,8 @@ export declare enum PgPaymentMethodPropertyKeys {
|
|
|
156
157
|
Contact = "Contact",
|
|
157
158
|
/** Mandate */
|
|
158
159
|
Mandate = "Mandate",
|
|
160
|
+
/** Odin Payment Method */
|
|
161
|
+
OdinPaymentMethod = "OdinPaymentMethod",
|
|
159
162
|
/** Message */
|
|
160
163
|
Message = "Message",
|
|
161
164
|
/** Company */
|
|
@@ -232,6 +235,11 @@ export interface PgPaymentMethodProperties {
|
|
|
232
235
|
* @type {UUID}
|
|
233
236
|
*/
|
|
234
237
|
Mandate: string;
|
|
238
|
+
/** Odin Payment Method
|
|
239
|
+
*
|
|
240
|
+
* @type {LOOKUP}
|
|
241
|
+
*/
|
|
242
|
+
OdinPaymentMethod: string;
|
|
235
243
|
/** Message
|
|
236
244
|
*
|
|
237
245
|
* @type {TEXT_LONG}
|
|
@@ -266,6 +274,8 @@ export declare class PgPaymentMethod extends OdinRecord<PgPaymentMethodPropertie
|
|
|
266
274
|
type: PgPaymentMethodEntityTypes;
|
|
267
275
|
schemaId: '4f25d495-d508-493f-b5e4-97ef1639c884';
|
|
268
276
|
properties: PgPaymentMethodProperties;
|
|
277
|
+
/** Linked PaymentMethod records (PgPaymentMethod__PaymentMethod) */
|
|
278
|
+
PaymentMethod: OdinLink<LinkedOdinRecord<PaymentMethodProperties>>;
|
|
269
279
|
/** Linked PgContact records (PgContact__PgPaymentMethod) */
|
|
270
280
|
PgContact: OdinLink<LinkedOdinRecord<PgContactProperties>>;
|
|
271
281
|
/** Linked PgWebhook records (PgPaymentMethod__PgWebhook) */
|
|
@@ -291,6 +301,10 @@ export declare const ROUTING_KEY_PG_PAYMENT_METHOD_DEFAULT_CREATED = "BillingMod
|
|
|
291
301
|
export declare const ROUTING_KEY_PG_PAYMENT_METHOD_DEFAULT_UPDATED = "BillingModule.PgPaymentMethod.DEFAULT.SubDbRecordUpdated";
|
|
292
302
|
/** This is the default record type deleted */
|
|
293
303
|
export declare const ROUTING_KEY_PG_PAYMENT_METHOD_DEFAULT_DELETED = "BillingModule.PgPaymentMethod.DEFAULT.SubDbRecordDeleted";
|
|
304
|
+
/** Event: PgPaymentMethod__PaymentMethod link created */
|
|
305
|
+
export declare const ROUTING_KEY_LINK_PG_PAYMENT_METHOD_PAYMENT_METHOD_CREATED = "BillingModule.PgPaymentMethod.PaymentMethod.SubDbRecordAssociationCreated";
|
|
306
|
+
/** Event: PgPaymentMethod__PaymentMethod link deleted */
|
|
307
|
+
export declare const ROUTING_KEY_LINK_PG_PAYMENT_METHOD_PAYMENT_METHOD_DELETED = "BillingModule.PgPaymentMethod.PaymentMethod.SubDbRecordAssociationDeleted";
|
|
294
308
|
/** Event: PgPaymentMethod__PgWebhook link created */
|
|
295
309
|
export declare const ROUTING_KEY_LINK_PG_PAYMENT_METHOD_PG_WEBHOOK_CREATED = "BillingModule.PgPaymentMethod.PgWebhook.SubDbRecordAssociationCreated";
|
|
296
310
|
/** Event: PgPaymentMethod__PgWebhook link deleted */
|
|
@@ -12,7 +12,7 @@
|
|
|
12
12
|
* Generated from Odin schema definition
|
|
13
13
|
*/
|
|
14
14
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
15
|
-
exports.ROUTING_KEY_LINK_PG_PAYMENT_METHOD_PG_TRANSACTION_DELETED = exports.ROUTING_KEY_LINK_PG_PAYMENT_METHOD_PG_TRANSACTION_CREATED = exports.ROUTING_KEY_LINK_PG_PAYMENT_METHOD_PG_FILE_ALLOCATION_DELETED = exports.ROUTING_KEY_LINK_PG_PAYMENT_METHOD_PG_FILE_ALLOCATION_CREATED = exports.ROUTING_KEY_LINK_PG_PAYMENT_METHOD_PG_WEBHOOK_DELETED = exports.ROUTING_KEY_LINK_PG_PAYMENT_METHOD_PG_WEBHOOK_CREATED = exports.ROUTING_KEY_PG_PAYMENT_METHOD_DEFAULT_DELETED = exports.ROUTING_KEY_PG_PAYMENT_METHOD_DEFAULT_UPDATED = exports.ROUTING_KEY_PG_PAYMENT_METHOD_DEFAULT_CREATED = exports.ROUTING_KEY_PG_PAYMENT_METHOD_DELETED = exports.ROUTING_KEY_PG_PAYMENT_METHOD_UPDATED = exports.ROUTING_KEY_PG_PAYMENT_METHOD_CREATED = exports.PgPaymentMethod = exports.PgPaymentMethodPropertyKeys = exports.PgPaymentMethodCompany = exports.PgPaymentMethodPublicView = exports.DefaultPgPaymentMethodStageKeys = exports.DefaultPgPaymentMethodStageNames = exports.PgPaymentMethodEntityTypes = void 0;
|
|
15
|
+
exports.ROUTING_KEY_LINK_PG_PAYMENT_METHOD_PG_TRANSACTION_DELETED = exports.ROUTING_KEY_LINK_PG_PAYMENT_METHOD_PG_TRANSACTION_CREATED = exports.ROUTING_KEY_LINK_PG_PAYMENT_METHOD_PG_FILE_ALLOCATION_DELETED = exports.ROUTING_KEY_LINK_PG_PAYMENT_METHOD_PG_FILE_ALLOCATION_CREATED = exports.ROUTING_KEY_LINK_PG_PAYMENT_METHOD_PG_WEBHOOK_DELETED = exports.ROUTING_KEY_LINK_PG_PAYMENT_METHOD_PG_WEBHOOK_CREATED = exports.ROUTING_KEY_LINK_PG_PAYMENT_METHOD_PAYMENT_METHOD_DELETED = exports.ROUTING_KEY_LINK_PG_PAYMENT_METHOD_PAYMENT_METHOD_CREATED = exports.ROUTING_KEY_PG_PAYMENT_METHOD_DEFAULT_DELETED = exports.ROUTING_KEY_PG_PAYMENT_METHOD_DEFAULT_UPDATED = exports.ROUTING_KEY_PG_PAYMENT_METHOD_DEFAULT_CREATED = exports.ROUTING_KEY_PG_PAYMENT_METHOD_DELETED = exports.ROUTING_KEY_PG_PAYMENT_METHOD_UPDATED = exports.ROUTING_KEY_PG_PAYMENT_METHOD_CREATED = exports.PgPaymentMethod = exports.PgPaymentMethodPropertyKeys = exports.PgPaymentMethodCompany = exports.PgPaymentMethodPublicView = exports.DefaultPgPaymentMethodStageKeys = exports.DefaultPgPaymentMethodStageNames = exports.PgPaymentMethodEntityTypes = void 0;
|
|
16
16
|
const core_1 = require("@d19n/odin-types/dist/core");
|
|
17
17
|
/**
|
|
18
18
|
* Available types for PgPaymentMethod records
|
|
@@ -161,6 +161,8 @@ var PgPaymentMethodPropertyKeys;
|
|
|
161
161
|
PgPaymentMethodPropertyKeys["Contact"] = "Contact";
|
|
162
162
|
/** Mandate */
|
|
163
163
|
PgPaymentMethodPropertyKeys["Mandate"] = "Mandate";
|
|
164
|
+
/** Odin Payment Method */
|
|
165
|
+
PgPaymentMethodPropertyKeys["OdinPaymentMethod"] = "OdinPaymentMethod";
|
|
164
166
|
/** Message */
|
|
165
167
|
PgPaymentMethodPropertyKeys["Message"] = "Message";
|
|
166
168
|
/** Company */
|
|
@@ -202,6 +204,10 @@ exports.ROUTING_KEY_PG_PAYMENT_METHOD_DEFAULT_CREATED = 'BillingModule.PgPayment
|
|
|
202
204
|
exports.ROUTING_KEY_PG_PAYMENT_METHOD_DEFAULT_UPDATED = 'BillingModule.PgPaymentMethod.DEFAULT.SubDbRecordUpdated';
|
|
203
205
|
/** This is the default record type deleted */
|
|
204
206
|
exports.ROUTING_KEY_PG_PAYMENT_METHOD_DEFAULT_DELETED = 'BillingModule.PgPaymentMethod.DEFAULT.SubDbRecordDeleted';
|
|
207
|
+
/** Event: PgPaymentMethod__PaymentMethod link created */
|
|
208
|
+
exports.ROUTING_KEY_LINK_PG_PAYMENT_METHOD_PAYMENT_METHOD_CREATED = 'BillingModule.PgPaymentMethod.PaymentMethod.SubDbRecordAssociationCreated';
|
|
209
|
+
/** Event: PgPaymentMethod__PaymentMethod link deleted */
|
|
210
|
+
exports.ROUTING_KEY_LINK_PG_PAYMENT_METHOD_PAYMENT_METHOD_DELETED = 'BillingModule.PgPaymentMethod.PaymentMethod.SubDbRecordAssociationDeleted';
|
|
205
211
|
/** Event: PgPaymentMethod__PgWebhook link created */
|
|
206
212
|
exports.ROUTING_KEY_LINK_PG_PAYMENT_METHOD_PG_WEBHOOK_CREATED = 'BillingModule.PgPaymentMethod.PgWebhook.SubDbRecordAssociationCreated';
|
|
207
213
|
/** Event: PgPaymentMethod__PgWebhook link deleted */
|
|
@@ -11,6 +11,8 @@
|
|
|
11
11
|
* Generated from Odin schema definition
|
|
12
12
|
*/
|
|
13
13
|
import { OdinRecord, OdinLink, LinkedOdinRecord } from '@d19n/odin-types/dist/core';
|
|
14
|
+
import { TransactionProperties } from './Transaction';
|
|
15
|
+
import { PaymentMethodRefundProperties } from './PaymentMethodRefund';
|
|
14
16
|
import { PgWebhookProperties } from './PgWebhook';
|
|
15
17
|
import { PgFileAllocationProperties } from './PgFileAllocation';
|
|
16
18
|
import { PgDisputeProperties } from './PgDispute';
|
|
@@ -199,6 +201,10 @@ export declare enum PgTransactionPropertyKeys {
|
|
|
199
201
|
Tax = "Tax",
|
|
200
202
|
/** Payment Method */
|
|
201
203
|
PaymentMethod = "PaymentMethod",
|
|
204
|
+
/** Odin Charge Transaction */
|
|
205
|
+
OdinChargeTransaction = "OdinChargeTransaction",
|
|
206
|
+
/** Odin Refund Transaction */
|
|
207
|
+
OdinRefundTransaction = "OdinRefundTransaction",
|
|
202
208
|
/** Company */
|
|
203
209
|
Company = "Company",
|
|
204
210
|
/** Message */
|
|
@@ -258,6 +264,16 @@ export interface PgTransactionProperties {
|
|
|
258
264
|
* @type {LOOKUP}
|
|
259
265
|
*/
|
|
260
266
|
PaymentMethod: string;
|
|
267
|
+
/** Odin Charge Transaction
|
|
268
|
+
*
|
|
269
|
+
* @type {LOOKUP}
|
|
270
|
+
*/
|
|
271
|
+
OdinChargeTransaction: string;
|
|
272
|
+
/** Odin Refund Transaction
|
|
273
|
+
*
|
|
274
|
+
* @type {LOOKUP}
|
|
275
|
+
*/
|
|
276
|
+
OdinRefundTransaction: string;
|
|
261
277
|
/** Company
|
|
262
278
|
*
|
|
263
279
|
* @type {ENUM}
|
|
@@ -324,6 +340,16 @@ export interface ChargePgTransactionProperties {
|
|
|
324
340
|
* @type {LOOKUP}
|
|
325
341
|
*/
|
|
326
342
|
PaymentMethod: string;
|
|
343
|
+
/** Odin Charge Transaction
|
|
344
|
+
*
|
|
345
|
+
* @type {LOOKUP}
|
|
346
|
+
*/
|
|
347
|
+
OdinChargeTransaction: string;
|
|
348
|
+
/** Odin Refund Transaction
|
|
349
|
+
*
|
|
350
|
+
* @type {LOOKUP}
|
|
351
|
+
*/
|
|
352
|
+
OdinRefundTransaction: string;
|
|
327
353
|
/** Company
|
|
328
354
|
*
|
|
329
355
|
* @type {ENUM}
|
|
@@ -390,6 +416,16 @@ export interface RefundPgTransactionProperties {
|
|
|
390
416
|
* @type {LOOKUP}
|
|
391
417
|
*/
|
|
392
418
|
PaymentMethod: string;
|
|
419
|
+
/** Odin Charge Transaction
|
|
420
|
+
*
|
|
421
|
+
* @type {LOOKUP}
|
|
422
|
+
*/
|
|
423
|
+
OdinChargeTransaction: string;
|
|
424
|
+
/** Odin Refund Transaction
|
|
425
|
+
*
|
|
426
|
+
* @type {LOOKUP}
|
|
427
|
+
*/
|
|
428
|
+
OdinRefundTransaction: string;
|
|
393
429
|
/** Company
|
|
394
430
|
*
|
|
395
431
|
* @type {ENUM}
|
|
@@ -419,6 +455,10 @@ export declare class PgTransaction extends OdinRecord<PgTransactionProperties> {
|
|
|
419
455
|
type: PgTransactionEntityTypes;
|
|
420
456
|
schemaId: '91d4632b-8a6c-4a6e-96dc-d12c6964bb1c';
|
|
421
457
|
properties: PgTransactionProperties;
|
|
458
|
+
/** Linked Transaction records (PgTransaction__Transaction) */
|
|
459
|
+
Transaction: OdinLink<LinkedOdinRecord<TransactionProperties>>;
|
|
460
|
+
/** Linked PaymentMethodRefund records (PgTransaction__PaymentMethodRefund) */
|
|
461
|
+
PaymentMethodRefund: OdinLink<LinkedOdinRecord<PaymentMethodRefundProperties>>;
|
|
422
462
|
/** Linked PgWebhook records (PgTransaction__PgWebhook) */
|
|
423
463
|
PgWebhook: OdinLink<LinkedOdinRecord<PgWebhookProperties>>;
|
|
424
464
|
/** Linked PgFileAllocation records (PgTransaction__PgFileAllocation) */
|
|
@@ -456,6 +496,14 @@ export declare const ROUTING_KEY_PG_TRANSACTION_REFUND_CREATED = "BillingModule.
|
|
|
456
496
|
export declare const ROUTING_KEY_PG_TRANSACTION_REFUND_UPDATED = "BillingModule.PgTransaction.REFUND.SubDbRecordUpdated";
|
|
457
497
|
/** Refund deleted */
|
|
458
498
|
export declare const ROUTING_KEY_PG_TRANSACTION_REFUND_DELETED = "BillingModule.PgTransaction.REFUND.SubDbRecordDeleted";
|
|
499
|
+
/** Event: PgTransaction__Transaction link created */
|
|
500
|
+
export declare const ROUTING_KEY_LINK_PG_TRANSACTION_TRANSACTION_CREATED = "BillingModule.PgTransaction.Transaction.SubDbRecordAssociationCreated";
|
|
501
|
+
/** Event: PgTransaction__Transaction link deleted */
|
|
502
|
+
export declare const ROUTING_KEY_LINK_PG_TRANSACTION_TRANSACTION_DELETED = "BillingModule.PgTransaction.Transaction.SubDbRecordAssociationDeleted";
|
|
503
|
+
/** Event: PgTransaction__PaymentMethodRefund link created */
|
|
504
|
+
export declare const ROUTING_KEY_LINK_PG_TRANSACTION_PAYMENT_METHOD_REFUND_CREATED = "BillingModule.PgTransaction.PaymentMethodRefund.SubDbRecordAssociationCreated";
|
|
505
|
+
/** Event: PgTransaction__PaymentMethodRefund link deleted */
|
|
506
|
+
export declare const ROUTING_KEY_LINK_PG_TRANSACTION_PAYMENT_METHOD_REFUND_DELETED = "BillingModule.PgTransaction.PaymentMethodRefund.SubDbRecordAssociationDeleted";
|
|
459
507
|
/** Event: PgTransaction__PgWebhook link created */
|
|
460
508
|
export declare const ROUTING_KEY_LINK_PG_TRANSACTION_PG_WEBHOOK_CREATED = "BillingModule.PgTransaction.PgWebhook.SubDbRecordAssociationCreated";
|
|
461
509
|
/** Event: PgTransaction__PgWebhook link deleted */
|
|
@@ -12,7 +12,7 @@
|
|
|
12
12
|
* Generated from Odin schema definition
|
|
13
13
|
*/
|
|
14
14
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
15
|
-
exports.ROUTING_KEY_LINK_PG_TRANSACTION_PG_DISPUTE_DELETED = exports.ROUTING_KEY_LINK_PG_TRANSACTION_PG_DISPUTE_CREATED = exports.ROUTING_KEY_LINK_PG_TRANSACTION_PG_FILE_ALLOCATION_DELETED = exports.ROUTING_KEY_LINK_PG_TRANSACTION_PG_FILE_ALLOCATION_CREATED = exports.ROUTING_KEY_LINK_PG_TRANSACTION_PG_WEBHOOK_DELETED = exports.ROUTING_KEY_LINK_PG_TRANSACTION_PG_WEBHOOK_CREATED = exports.ROUTING_KEY_PG_TRANSACTION_REFUND_DELETED = exports.ROUTING_KEY_PG_TRANSACTION_REFUND_UPDATED = exports.ROUTING_KEY_PG_TRANSACTION_REFUND_CREATED = exports.ROUTING_KEY_PG_TRANSACTION_DEFAULT_DELETED = exports.ROUTING_KEY_PG_TRANSACTION_DEFAULT_UPDATED = exports.ROUTING_KEY_PG_TRANSACTION_DEFAULT_CREATED = exports.ROUTING_KEY_PG_TRANSACTION_CHARGE_DELETED = exports.ROUTING_KEY_PG_TRANSACTION_CHARGE_UPDATED = exports.ROUTING_KEY_PG_TRANSACTION_CHARGE_CREATED = exports.ROUTING_KEY_PG_TRANSACTION_DELETED = exports.ROUTING_KEY_PG_TRANSACTION_UPDATED = exports.ROUTING_KEY_PG_TRANSACTION_CREATED = exports.PgTransaction = exports.PgTransactionPropertyKeys = exports.PgTransactionCompany = exports.PgTransactionPublicView = exports.RefundPgTransactionStageKeys = exports.RefundPgTransactionStageNames = exports.ChargePgTransactionStageKeys = exports.ChargePgTransactionStageNames = exports.PgTransactionEntityTypes = void 0;
|
|
15
|
+
exports.ROUTING_KEY_LINK_PG_TRANSACTION_PG_DISPUTE_DELETED = exports.ROUTING_KEY_LINK_PG_TRANSACTION_PG_DISPUTE_CREATED = exports.ROUTING_KEY_LINK_PG_TRANSACTION_PG_FILE_ALLOCATION_DELETED = exports.ROUTING_KEY_LINK_PG_TRANSACTION_PG_FILE_ALLOCATION_CREATED = exports.ROUTING_KEY_LINK_PG_TRANSACTION_PG_WEBHOOK_DELETED = exports.ROUTING_KEY_LINK_PG_TRANSACTION_PG_WEBHOOK_CREATED = exports.ROUTING_KEY_LINK_PG_TRANSACTION_PAYMENT_METHOD_REFUND_DELETED = exports.ROUTING_KEY_LINK_PG_TRANSACTION_PAYMENT_METHOD_REFUND_CREATED = exports.ROUTING_KEY_LINK_PG_TRANSACTION_TRANSACTION_DELETED = exports.ROUTING_KEY_LINK_PG_TRANSACTION_TRANSACTION_CREATED = exports.ROUTING_KEY_PG_TRANSACTION_REFUND_DELETED = exports.ROUTING_KEY_PG_TRANSACTION_REFUND_UPDATED = exports.ROUTING_KEY_PG_TRANSACTION_REFUND_CREATED = exports.ROUTING_KEY_PG_TRANSACTION_DEFAULT_DELETED = exports.ROUTING_KEY_PG_TRANSACTION_DEFAULT_UPDATED = exports.ROUTING_KEY_PG_TRANSACTION_DEFAULT_CREATED = exports.ROUTING_KEY_PG_TRANSACTION_CHARGE_DELETED = exports.ROUTING_KEY_PG_TRANSACTION_CHARGE_UPDATED = exports.ROUTING_KEY_PG_TRANSACTION_CHARGE_CREATED = exports.ROUTING_KEY_PG_TRANSACTION_DELETED = exports.ROUTING_KEY_PG_TRANSACTION_UPDATED = exports.ROUTING_KEY_PG_TRANSACTION_CREATED = exports.PgTransaction = exports.PgTransactionPropertyKeys = exports.PgTransactionCompany = exports.PgTransactionPublicView = exports.RefundPgTransactionStageKeys = exports.RefundPgTransactionStageNames = exports.ChargePgTransactionStageKeys = exports.ChargePgTransactionStageNames = exports.PgTransactionEntityTypes = void 0;
|
|
16
16
|
const core_1 = require("@d19n/odin-types/dist/core");
|
|
17
17
|
/**
|
|
18
18
|
* Available types for PgTransaction records
|
|
@@ -206,6 +206,10 @@ var PgTransactionPropertyKeys;
|
|
|
206
206
|
PgTransactionPropertyKeys["Tax"] = "Tax";
|
|
207
207
|
/** Payment Method */
|
|
208
208
|
PgTransactionPropertyKeys["PaymentMethod"] = "PaymentMethod";
|
|
209
|
+
/** Odin Charge Transaction */
|
|
210
|
+
PgTransactionPropertyKeys["OdinChargeTransaction"] = "OdinChargeTransaction";
|
|
211
|
+
/** Odin Refund Transaction */
|
|
212
|
+
PgTransactionPropertyKeys["OdinRefundTransaction"] = "OdinRefundTransaction";
|
|
209
213
|
/** Company */
|
|
210
214
|
PgTransactionPropertyKeys["Company"] = "Company";
|
|
211
215
|
/** Message */
|
|
@@ -257,6 +261,14 @@ exports.ROUTING_KEY_PG_TRANSACTION_REFUND_CREATED = 'BillingModule.PgTransaction
|
|
|
257
261
|
exports.ROUTING_KEY_PG_TRANSACTION_REFUND_UPDATED = 'BillingModule.PgTransaction.REFUND.SubDbRecordUpdated';
|
|
258
262
|
/** Refund deleted */
|
|
259
263
|
exports.ROUTING_KEY_PG_TRANSACTION_REFUND_DELETED = 'BillingModule.PgTransaction.REFUND.SubDbRecordDeleted';
|
|
264
|
+
/** Event: PgTransaction__Transaction link created */
|
|
265
|
+
exports.ROUTING_KEY_LINK_PG_TRANSACTION_TRANSACTION_CREATED = 'BillingModule.PgTransaction.Transaction.SubDbRecordAssociationCreated';
|
|
266
|
+
/** Event: PgTransaction__Transaction link deleted */
|
|
267
|
+
exports.ROUTING_KEY_LINK_PG_TRANSACTION_TRANSACTION_DELETED = 'BillingModule.PgTransaction.Transaction.SubDbRecordAssociationDeleted';
|
|
268
|
+
/** Event: PgTransaction__PaymentMethodRefund link created */
|
|
269
|
+
exports.ROUTING_KEY_LINK_PG_TRANSACTION_PAYMENT_METHOD_REFUND_CREATED = 'BillingModule.PgTransaction.PaymentMethodRefund.SubDbRecordAssociationCreated';
|
|
270
|
+
/** Event: PgTransaction__PaymentMethodRefund link deleted */
|
|
271
|
+
exports.ROUTING_KEY_LINK_PG_TRANSACTION_PAYMENT_METHOD_REFUND_DELETED = 'BillingModule.PgTransaction.PaymentMethodRefund.SubDbRecordAssociationDeleted';
|
|
260
272
|
/** Event: PgTransaction__PgWebhook link created */
|
|
261
273
|
exports.ROUTING_KEY_LINK_PG_TRANSACTION_PG_WEBHOOK_CREATED = 'BillingModule.PgTransaction.PgWebhook.SubDbRecordAssociationCreated';
|
|
262
274
|
/** Event: PgTransaction__PgWebhook link deleted */
|
|
@@ -29,16 +29,32 @@ export declare enum PgWebhookEntityTypes {
|
|
|
29
29
|
* Status
|
|
30
30
|
*/
|
|
31
31
|
export declare enum DefaultPgWebhookStageNames {
|
|
32
|
-
/**
|
|
33
|
-
|
|
32
|
+
/** Created (default) */
|
|
33
|
+
Created = "Created",
|
|
34
|
+
/** Sent */
|
|
35
|
+
Sent = "Sent",
|
|
36
|
+
/** Retrying */
|
|
37
|
+
Retrying = "Retrying",
|
|
38
|
+
/** Succeeded (success) */
|
|
39
|
+
Succeeded = "Succeeded",
|
|
40
|
+
/** Failed (fail) */
|
|
41
|
+
Failed = "Failed"
|
|
34
42
|
}
|
|
35
43
|
/**
|
|
36
44
|
* Pipeline stage keys for DEFAULT PgWebhook
|
|
37
45
|
* Use these keys when transitioning between stages
|
|
38
46
|
*/
|
|
39
47
|
export declare enum DefaultPgWebhookStageKeys {
|
|
48
|
+
/** Created */
|
|
49
|
+
StatusStageCreated = "StatusStageCreated",
|
|
40
50
|
/** Sent */
|
|
41
|
-
StatusStageSent = "StatusStageSent"
|
|
51
|
+
StatusStageSent = "StatusStageSent",
|
|
52
|
+
/** Retrying */
|
|
53
|
+
StatusStageRetrying = "StatusStageRetrying",
|
|
54
|
+
/** Succeeded */
|
|
55
|
+
StatusStageSucceeded = "StatusStageSucceeded",
|
|
56
|
+
/** Failed */
|
|
57
|
+
StatusStageFailed = "StatusStageFailed"
|
|
42
58
|
}
|
|
43
59
|
/**
|
|
44
60
|
* Property keys for PgWebhook
|
|
@@ -29,8 +29,16 @@ var PgWebhookEntityTypes;
|
|
|
29
29
|
*/
|
|
30
30
|
var DefaultPgWebhookStageNames;
|
|
31
31
|
(function (DefaultPgWebhookStageNames) {
|
|
32
|
-
/**
|
|
32
|
+
/** Created (default) */
|
|
33
|
+
DefaultPgWebhookStageNames["Created"] = "Created";
|
|
34
|
+
/** Sent */
|
|
33
35
|
DefaultPgWebhookStageNames["Sent"] = "Sent";
|
|
36
|
+
/** Retrying */
|
|
37
|
+
DefaultPgWebhookStageNames["Retrying"] = "Retrying";
|
|
38
|
+
/** Succeeded (success) */
|
|
39
|
+
DefaultPgWebhookStageNames["Succeeded"] = "Succeeded";
|
|
40
|
+
/** Failed (fail) */
|
|
41
|
+
DefaultPgWebhookStageNames["Failed"] = "Failed";
|
|
34
42
|
})(DefaultPgWebhookStageNames = exports.DefaultPgWebhookStageNames || (exports.DefaultPgWebhookStageNames = {}));
|
|
35
43
|
/**
|
|
36
44
|
* Pipeline stage keys for DEFAULT PgWebhook
|
|
@@ -38,8 +46,16 @@ var DefaultPgWebhookStageNames;
|
|
|
38
46
|
*/
|
|
39
47
|
var DefaultPgWebhookStageKeys;
|
|
40
48
|
(function (DefaultPgWebhookStageKeys) {
|
|
49
|
+
/** Created */
|
|
50
|
+
DefaultPgWebhookStageKeys["StatusStageCreated"] = "StatusStageCreated";
|
|
41
51
|
/** Sent */
|
|
42
52
|
DefaultPgWebhookStageKeys["StatusStageSent"] = "StatusStageSent";
|
|
53
|
+
/** Retrying */
|
|
54
|
+
DefaultPgWebhookStageKeys["StatusStageRetrying"] = "StatusStageRetrying";
|
|
55
|
+
/** Succeeded */
|
|
56
|
+
DefaultPgWebhookStageKeys["StatusStageSucceeded"] = "StatusStageSucceeded";
|
|
57
|
+
/** Failed */
|
|
58
|
+
DefaultPgWebhookStageKeys["StatusStageFailed"] = "StatusStageFailed";
|
|
43
59
|
})(DefaultPgWebhookStageKeys = exports.DefaultPgWebhookStageKeys || (exports.DefaultPgWebhookStageKeys = {}));
|
|
44
60
|
/**
|
|
45
61
|
* Property keys for PgWebhook
|
|
@@ -61,10 +61,10 @@ export declare enum PriceBookPropertyKeys {
|
|
|
61
61
|
Description = "Description",
|
|
62
62
|
/** is the pricebook active (Product Management - PriceBook) */
|
|
63
63
|
IsActive = "IsActive",
|
|
64
|
-
/** Display name/title for PriceBook records. Primary identifier for Product Management team. */
|
|
65
|
-
Name = "Name",
|
|
66
64
|
/** is this the standard pricebook (Product Management - PriceBook) */
|
|
67
|
-
IsStandard = "IsStandard"
|
|
65
|
+
IsStandard = "IsStandard",
|
|
66
|
+
/** Display name/title for PriceBook records. Primary identifier for Product Management team. */
|
|
67
|
+
Name = "Name"
|
|
68
68
|
}
|
|
69
69
|
/**
|
|
70
70
|
* Properties for PriceBook records
|
|
@@ -95,17 +95,17 @@ export interface PriceBookProperties {
|
|
|
95
95
|
* @default false
|
|
96
96
|
*/
|
|
97
97
|
IsActive: boolean;
|
|
98
|
-
/** Display name/title for PriceBook records. Primary identifier for Product Management team.
|
|
99
|
-
*
|
|
100
|
-
* @type {TEXT}
|
|
101
|
-
*/
|
|
102
|
-
Name: string;
|
|
103
98
|
/** is this the standard pricebook (Product Management - PriceBook)
|
|
104
99
|
*
|
|
105
100
|
* @type {BOOLEAN}
|
|
106
101
|
* @default false
|
|
107
102
|
*/
|
|
108
103
|
IsStandard: boolean;
|
|
104
|
+
/** Display name/title for PriceBook records. Primary identifier for Product Management team.
|
|
105
|
+
*
|
|
106
|
+
* @type {TEXT}
|
|
107
|
+
*/
|
|
108
|
+
Name: string;
|
|
109
109
|
}
|
|
110
110
|
/**
|
|
111
111
|
* PriceBook entity from ProductModule
|
|
@@ -66,10 +66,10 @@ var PriceBookPropertyKeys;
|
|
|
66
66
|
PriceBookPropertyKeys["Description"] = "Description";
|
|
67
67
|
/** is the pricebook active (Product Management - PriceBook) */
|
|
68
68
|
PriceBookPropertyKeys["IsActive"] = "IsActive";
|
|
69
|
-
/** Display name/title for PriceBook records. Primary identifier for Product Management team. */
|
|
70
|
-
PriceBookPropertyKeys["Name"] = "Name";
|
|
71
69
|
/** is this the standard pricebook (Product Management - PriceBook) */
|
|
72
70
|
PriceBookPropertyKeys["IsStandard"] = "IsStandard";
|
|
71
|
+
/** Display name/title for PriceBook records. Primary identifier for Product Management team. */
|
|
72
|
+
PriceBookPropertyKeys["Name"] = "Name";
|
|
73
73
|
})(PriceBookPropertyKeys = exports.PriceBookPropertyKeys || (exports.PriceBookPropertyKeys = {}));
|
|
74
74
|
/**
|
|
75
75
|
* PriceBook entity from ProductModule
|
|
@@ -153,7 +153,7 @@ export interface OrderReferralProperties {
|
|
|
153
153
|
* @module CrmModule
|
|
154
154
|
* @entity Referral
|
|
155
155
|
* @schemaId b1fd6a3b-a9d8-445e-a1bd-329d104b9b75
|
|
156
|
-
* @recordPrefix
|
|
156
|
+
* @recordPrefix RF
|
|
157
157
|
* @capabilities searchable, updateable, undeletable, triggerable
|
|
158
158
|
*/
|
|
159
159
|
export declare class Referral extends OdinRecord<ReferralProperties> {
|
|
@@ -90,7 +90,7 @@ var ReferralPropertyKeys;
|
|
|
90
90
|
* @module CrmModule
|
|
91
91
|
* @entity Referral
|
|
92
92
|
* @schemaId b1fd6a3b-a9d8-445e-a1bd-329d104b9b75
|
|
93
|
-
* @recordPrefix
|
|
93
|
+
* @recordPrefix RF
|
|
94
94
|
* @capabilities searchable, updateable, undeletable, triggerable
|
|
95
95
|
*/
|
|
96
96
|
class Referral extends core_1.OdinRecord {
|
|
@@ -136,7 +136,7 @@ export interface CashbackRewardProperties {
|
|
|
136
136
|
* @module CrmModule
|
|
137
137
|
* @entity Reward
|
|
138
138
|
* @schemaId 5047247a-31ca-4a1c-aa06-c27fefbb543d
|
|
139
|
-
* @recordPrefix
|
|
139
|
+
* @recordPrefix RW
|
|
140
140
|
* @capabilities searchable, updateable, undeletable, triggerable
|
|
141
141
|
*/
|
|
142
142
|
export declare class Reward extends OdinRecord<RewardProperties> {
|
|
@@ -74,7 +74,7 @@ var RewardPropertyKeys;
|
|
|
74
74
|
* @module CrmModule
|
|
75
75
|
* @entity Reward
|
|
76
76
|
* @schemaId 5047247a-31ca-4a1c-aa06-c27fefbb543d
|
|
77
|
-
* @recordPrefix
|
|
77
|
+
* @recordPrefix RW
|
|
78
78
|
* @capabilities searchable, updateable, undeletable, triggerable
|
|
79
79
|
*/
|
|
80
80
|
class Reward extends core_1.OdinRecord {
|
|
@@ -19,17 +19,6 @@ export declare enum ServiceEntityTypes {
|
|
|
19
19
|
/** Default record type */
|
|
20
20
|
DEFAULT = "DEFAULT"
|
|
21
21
|
}
|
|
22
|
-
/**
|
|
23
|
-
* Valid values for Service.SipwiseDomainId
|
|
24
|
-
*
|
|
25
|
-
* sipwise domain id (Network Operations - Service)
|
|
26
|
-
*
|
|
27
|
-
* @remarks Available options:
|
|
28
|
-
* - `2` - voip.youfibre.com
|
|
29
|
-
*/
|
|
30
|
-
export declare enum ServiceSipwiseDomainId {
|
|
31
|
-
VOIP_YOUFIBRE_COM = "2"
|
|
32
|
-
}
|
|
33
22
|
/**
|
|
34
23
|
* Valid values for Service.Type
|
|
35
24
|
*
|
|
@@ -62,12 +51,18 @@ export declare enum ServiceSipwiseResellerId {
|
|
|
62
51
|
* sipwise billing profile id (voice) (Network Operations - Service)
|
|
63
52
|
*
|
|
64
53
|
* @remarks Available options:
|
|
54
|
+
* - `BRSKPROFILE_3` - BetterPhone Essential
|
|
55
|
+
* - `BRSKPROFILE_9` - BetterPhone Home
|
|
56
|
+
* - `BRSKPROFILE_11` - BetterPhone Max
|
|
65
57
|
* - `PROFILE_4` - Youfibre customer
|
|
66
58
|
* - `PROFILE_15` - YouPhone
|
|
67
59
|
* - `PROFILE_17` - YouPhone Plus
|
|
68
60
|
* - `PROFILE_19` - YouPhone Pro
|
|
69
61
|
*/
|
|
70
62
|
export declare enum ServiceSipwiseBillingProfileId {
|
|
63
|
+
BETTER_PHONE_ESSENTIAL = "BRSKPROFILE_3",
|
|
64
|
+
BETTER_PHONE_HOME = "BRSKPROFILE_9",
|
|
65
|
+
BETTER_PHONE_MAX = "BRSKPROFILE_11",
|
|
71
66
|
YOUFIBRE_CUSTOMER = "PROFILE_4",
|
|
72
67
|
YOU_PHONE = "PROFILE_15",
|
|
73
68
|
YOU_PHONE_PLUS = "PROFILE_17",
|
|
@@ -86,6 +81,19 @@ export declare enum ServiceCustomerType {
|
|
|
86
81
|
BUSINESS = "BUSINESS",
|
|
87
82
|
RESIDENTIAL = "RESIDENTIAL"
|
|
88
83
|
}
|
|
84
|
+
/**
|
|
85
|
+
* Valid values for Service.SipwiseDomainId
|
|
86
|
+
*
|
|
87
|
+
* sipwise domain id (Network Operations - Service)
|
|
88
|
+
*
|
|
89
|
+
* @remarks Available options:
|
|
90
|
+
* - `3` - sip.as51809.net
|
|
91
|
+
* - `2` - voip.youfibre.com
|
|
92
|
+
*/
|
|
93
|
+
export declare enum ServiceSipwiseDomainId {
|
|
94
|
+
SIP_AS51809_NET = "3",
|
|
95
|
+
VOIP_YOUFIBRE_COM = "2"
|
|
96
|
+
}
|
|
89
97
|
/**
|
|
90
98
|
* Property keys for Service
|
|
91
99
|
* Use these constants instead of string literals for type safety
|
|
@@ -93,8 +101,6 @@ export declare enum ServiceCustomerType {
|
|
|
93
101
|
export declare enum ServicePropertyKeys {
|
|
94
102
|
/** Name - Title */
|
|
95
103
|
Name = "Name",
|
|
96
|
-
/** sipwise domain id (Network Operations - Service) */
|
|
97
|
-
SipwiseDomainId = "SipwiseDomainId",
|
|
98
104
|
/** type of service (Network Operations - Service) */
|
|
99
105
|
Type = "Type",
|
|
100
106
|
/** download speed (broadband) (Network Operations - Service) */
|
|
@@ -108,7 +114,9 @@ export declare enum ServicePropertyKeys {
|
|
|
108
114
|
/** upload speed (broadband) (Network Operations - Service) */
|
|
109
115
|
UploadSpeed = "UploadSpeed",
|
|
110
116
|
/** customer type using the service (Network Operations - Service) */
|
|
111
|
-
CustomerType = "CustomerType"
|
|
117
|
+
CustomerType = "CustomerType",
|
|
118
|
+
/** sipwise domain id (Network Operations - Service) */
|
|
119
|
+
SipwiseDomainId = "SipwiseDomainId"
|
|
112
120
|
}
|
|
113
121
|
/**
|
|
114
122
|
* Properties for Service records
|
|
@@ -121,12 +129,6 @@ export interface ServiceProperties {
|
|
|
121
129
|
* @type {TEXT}
|
|
122
130
|
*/
|
|
123
131
|
Name: string;
|
|
124
|
-
/** sipwise domain id (Network Operations - Service)
|
|
125
|
-
*
|
|
126
|
-
* @type {ENUM}
|
|
127
|
-
* @enum {ServiceSipwiseDomainId}
|
|
128
|
-
*/
|
|
129
|
-
SipwiseDomainId: ServiceSipwiseDomainId;
|
|
130
132
|
/** type of service (Network Operations - Service)
|
|
131
133
|
*
|
|
132
134
|
* @type {ENUM}
|
|
@@ -168,6 +170,12 @@ export interface ServiceProperties {
|
|
|
168
170
|
* @enum {ServiceCustomerType}
|
|
169
171
|
*/
|
|
170
172
|
CustomerType: ServiceCustomerType;
|
|
173
|
+
/** sipwise domain id (Network Operations - Service)
|
|
174
|
+
*
|
|
175
|
+
* @type {ENUM}
|
|
176
|
+
* @enum {ServiceSipwiseDomainId}
|
|
177
|
+
*/
|
|
178
|
+
SipwiseDomainId: ServiceSipwiseDomainId;
|
|
171
179
|
}
|
|
172
180
|
/**
|
|
173
181
|
* Service entity from ServiceModule
|