@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
|
@@ -0,0 +1,62 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* MovePgWebhookToSent Action DTO
|
|
4
|
+
*
|
|
5
|
+
* Move PG Webhook To Sent
|
|
6
|
+
*
|
|
7
|
+
* @module AuditModule
|
|
8
|
+
* @entity PgWebhook
|
|
9
|
+
* @entityType DEFAULT
|
|
10
|
+
* @actionKey MovePgWebhookToSent
|
|
11
|
+
* @event k1.t-hEOJjsDb.AuditModule.PgWebhook.Transition.MovePgWebhookToSent
|
|
12
|
+
*
|
|
13
|
+
* AUTO-GENERATED - DO NOT EDIT DIRECTLY
|
|
14
|
+
*/
|
|
15
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
+
exports.MovePgWebhookToSentDto = void 0;
|
|
17
|
+
const core_1 = require("@d19n/odin-types/dist/core");
|
|
18
|
+
/**
|
|
19
|
+
* MovePgWebhookToSent
|
|
20
|
+
*
|
|
21
|
+
* Move PG Webhook To Sent
|
|
22
|
+
*
|
|
23
|
+
* @actionType STAGE_TRANSITION - Transitions record to new pipeline stage
|
|
24
|
+
* @module AuditModule
|
|
25
|
+
* @entity PgWebhook
|
|
26
|
+
* @entityType DEFAULT (Default)
|
|
27
|
+
* @targetStages StatusStageSent
|
|
28
|
+
* @event k1.t-hEOJjsDb.AuditModule.PgWebhook.Transition.MovePgWebhookToSent
|
|
29
|
+
* @permission schema.action.movepgwebhooktosent.trigger
|
|
30
|
+
* @benchmark This action is tracked for performance benchmarks
|
|
31
|
+
*/
|
|
32
|
+
class MovePgWebhookToSentDto extends core_1.OdinRecordUpdateDto {
|
|
33
|
+
constructor(record, options) {
|
|
34
|
+
super({
|
|
35
|
+
id: record.id,
|
|
36
|
+
entity: record.entity,
|
|
37
|
+
type: record.type,
|
|
38
|
+
properties: {},
|
|
39
|
+
journeyId: options === null || options === void 0 ? void 0 : options.journeyId,
|
|
40
|
+
});
|
|
41
|
+
this.actionName = 'MovePgWebhookToSent';
|
|
42
|
+
this.schemaActionId = '7c62fb3d-407a-4b04-beae-2bd5c891f3ae';
|
|
43
|
+
this.entity = 'AuditModule:PgWebhook';
|
|
44
|
+
this.stageKey = 'StatusStageSent';
|
|
45
|
+
}
|
|
46
|
+
}
|
|
47
|
+
exports.MovePgWebhookToSentDto = MovePgWebhookToSentDto;
|
|
48
|
+
/** Used by SDK generators to identify action type */
|
|
49
|
+
MovePgWebhookToSentDto.ACTION_TYPE = 'UPDATE';
|
|
50
|
+
MovePgWebhookToSentDto.ACTION_KEY = 'MovePgWebhookToSent';
|
|
51
|
+
MovePgWebhookToSentDto.MODULE_NAME = 'AuditModule';
|
|
52
|
+
MovePgWebhookToSentDto.ENTITIES = ['PgWebhook'];
|
|
53
|
+
MovePgWebhookToSentDto.ENTITY_TYPE = 'DEFAULT';
|
|
54
|
+
MovePgWebhookToSentDto.EVENT_NAME = 'k1.t-hEOJjsDb.AuditModule.PgWebhook.Transition.MovePgWebhookToSent';
|
|
55
|
+
MovePgWebhookToSentDto.SCHEMA_ACTION_ID = '7c62fb3d-407a-4b04-beae-2bd5c891f3ae';
|
|
56
|
+
MovePgWebhookToSentDto.PERMISSION = 'schema.action.movepgwebhooktosent.trigger';
|
|
57
|
+
MovePgWebhookToSentDto.TARGET_STAGES = ['StatusStageSent'];
|
|
58
|
+
MovePgWebhookToSentDto.IS_STAGE_TRANSITION = true;
|
|
59
|
+
MovePgWebhookToSentDto.IS_MULTI_STEP_FLOW = false;
|
|
60
|
+
MovePgWebhookToSentDto.HAS_STEP_LINKS = false;
|
|
61
|
+
/** Step classes that can be used with this action */
|
|
62
|
+
MovePgWebhookToSentDto.stepClasses = [];
|
|
@@ -25,20 +25,6 @@ export interface UpdateBngProvisionMessage extends OdinRecordUpdatedEvent<Update
|
|
|
25
25
|
* @property Optional fields: 9
|
|
26
26
|
*/
|
|
27
27
|
export interface UpdateBngProvisionProperties {
|
|
28
|
-
/**
|
|
29
|
-
* Default Gateway
|
|
30
|
-
*
|
|
31
|
-
* Default Gateway
|
|
32
|
-
* @type {TEXT}
|
|
33
|
-
*/
|
|
34
|
-
DefaultGateway?: string | null;
|
|
35
|
-
/**
|
|
36
|
-
* DNS Servers
|
|
37
|
-
*
|
|
38
|
-
* List of DNS Servers
|
|
39
|
-
* @type {TEXT}
|
|
40
|
-
*/
|
|
41
|
-
DNSServer?: string | null;
|
|
42
28
|
/**
|
|
43
29
|
* IPv4 Address
|
|
44
30
|
*
|
|
@@ -0,0 +1,79 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* UpdateContactIdentity Action DTO
|
|
3
|
+
*
|
|
4
|
+
* update contact identity
|
|
5
|
+
*
|
|
6
|
+
* @module CrmModule
|
|
7
|
+
* @entity ContactIdentity
|
|
8
|
+
* @actionKey UpdateContactIdentity
|
|
9
|
+
* @event k1.t-hEOJjsDb.CrmModule.ContactIdentity.Update.UpdateContactIdentity
|
|
10
|
+
*
|
|
11
|
+
* AUTO-GENERATED - DO NOT EDIT DIRECTLY
|
|
12
|
+
*/
|
|
13
|
+
import { OdinRecord, OdinRecordUpdateDto, OdinRecordUpdatedEvent } from '@d19n/odin-types/dist/core';
|
|
14
|
+
/**
|
|
15
|
+
* RabbitMQ message payload for UpdateContactIdentity updated events
|
|
16
|
+
*
|
|
17
|
+
* @event k1.t-hEOJjsDb.CrmModule.ContactIdentity.Update.UpdateContactIdentity
|
|
18
|
+
*/
|
|
19
|
+
export interface UpdateContactIdentityMessage extends OdinRecordUpdatedEvent<UpdateContactIdentityDto, UpdateContactIdentityProperties> {
|
|
20
|
+
}
|
|
21
|
+
/**
|
|
22
|
+
* Properties for UpdateContactIdentity action
|
|
23
|
+
*
|
|
24
|
+
* @property Required fields: 0
|
|
25
|
+
* @property Optional fields: 2
|
|
26
|
+
*/
|
|
27
|
+
export interface UpdateContactIdentityProperties {
|
|
28
|
+
/**
|
|
29
|
+
* external id
|
|
30
|
+
*
|
|
31
|
+
* id of the record in the external system (Sales - ContactIdentity)
|
|
32
|
+
* @type {ALPHA_NUMERICAL}
|
|
33
|
+
*/
|
|
34
|
+
ExternalId?: string | null;
|
|
35
|
+
/**
|
|
36
|
+
* name
|
|
37
|
+
*
|
|
38
|
+
* name of the identity twitter, zendesk, gocardless... (Sales - ContactIdentity)
|
|
39
|
+
* @type {TEXT}
|
|
40
|
+
*/
|
|
41
|
+
Name?: string | null;
|
|
42
|
+
}
|
|
43
|
+
/**
|
|
44
|
+
* UpdateContactIdentity
|
|
45
|
+
*
|
|
46
|
+
* update contact identity
|
|
47
|
+
*
|
|
48
|
+
* @actionType UPDATE - Updates an existing ContactIdentity record
|
|
49
|
+
* @module CrmModule
|
|
50
|
+
* @entity ContactIdentity
|
|
51
|
+
* @event k1.t-hEOJjsDb.CrmModule.ContactIdentity.Update.UpdateContactIdentity
|
|
52
|
+
* @permission schema.action.updatecontactidentity.trigger
|
|
53
|
+
* @benchmark This action is tracked for performance benchmarks
|
|
54
|
+
*/
|
|
55
|
+
export declare class UpdateContactIdentityDto extends OdinRecordUpdateDto<UpdateContactIdentityProperties> {
|
|
56
|
+
/** Used by SDK generators to identify action type */
|
|
57
|
+
static readonly ACTION_TYPE = "UPDATE";
|
|
58
|
+
static readonly ACTION_KEY = "UpdateContactIdentity";
|
|
59
|
+
static readonly MODULE_NAME = "CrmModule";
|
|
60
|
+
static readonly ENTITIES: string[];
|
|
61
|
+
static readonly EVENT_NAME = "k1.t-hEOJjsDb.CrmModule.ContactIdentity.Update.UpdateContactIdentity";
|
|
62
|
+
static readonly PERMISSION = "schema.action.updatecontactidentity.trigger";
|
|
63
|
+
/** Step metadata - entity this action targets */
|
|
64
|
+
static readonly STEP_ENTITY = "CrmModule:ContactIdentity";
|
|
65
|
+
static readonly STEP_SCHEMA_ID = "06604ab9-fc1b-48c6-9170-533186f458f1";
|
|
66
|
+
static readonly STEP_SCHEMA_ACTION_ID = "49410a24-9d67-4dcc-a57e-016102b27d84";
|
|
67
|
+
static readonly AUTO_LINK_PARENT = false;
|
|
68
|
+
readonly actionName: string;
|
|
69
|
+
readonly schemaActionId: string;
|
|
70
|
+
readonly entity: string;
|
|
71
|
+
constructor(record: OdinRecord<any> | {
|
|
72
|
+
id: string;
|
|
73
|
+
entity: string;
|
|
74
|
+
type?: string;
|
|
75
|
+
}, properties: UpdateContactIdentityProperties, options?: {
|
|
76
|
+
journeyId?: string;
|
|
77
|
+
stageKey?: string;
|
|
78
|
+
});
|
|
79
|
+
}
|
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* UpdateContactIdentity Action DTO
|
|
4
|
+
*
|
|
5
|
+
* update contact identity
|
|
6
|
+
*
|
|
7
|
+
* @module CrmModule
|
|
8
|
+
* @entity ContactIdentity
|
|
9
|
+
* @actionKey UpdateContactIdentity
|
|
10
|
+
* @event k1.t-hEOJjsDb.CrmModule.ContactIdentity.Update.UpdateContactIdentity
|
|
11
|
+
*
|
|
12
|
+
* AUTO-GENERATED - DO NOT EDIT DIRECTLY
|
|
13
|
+
*/
|
|
14
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
15
|
+
exports.UpdateContactIdentityDto = void 0;
|
|
16
|
+
const core_1 = require("@d19n/odin-types/dist/core");
|
|
17
|
+
/**
|
|
18
|
+
* UpdateContactIdentity
|
|
19
|
+
*
|
|
20
|
+
* update contact identity
|
|
21
|
+
*
|
|
22
|
+
* @actionType UPDATE - Updates an existing ContactIdentity record
|
|
23
|
+
* @module CrmModule
|
|
24
|
+
* @entity ContactIdentity
|
|
25
|
+
* @event k1.t-hEOJjsDb.CrmModule.ContactIdentity.Update.UpdateContactIdentity
|
|
26
|
+
* @permission schema.action.updatecontactidentity.trigger
|
|
27
|
+
* @benchmark This action is tracked for performance benchmarks
|
|
28
|
+
*/
|
|
29
|
+
class UpdateContactIdentityDto extends core_1.OdinRecordUpdateDto {
|
|
30
|
+
constructor(record, properties, options) {
|
|
31
|
+
super({
|
|
32
|
+
id: record.id,
|
|
33
|
+
entity: record.entity,
|
|
34
|
+
type: record.type,
|
|
35
|
+
properties,
|
|
36
|
+
journeyId: options === null || options === void 0 ? void 0 : options.journeyId,
|
|
37
|
+
stageKey: options === null || options === void 0 ? void 0 : options.stageKey,
|
|
38
|
+
});
|
|
39
|
+
this.actionName = 'UpdateContactIdentity';
|
|
40
|
+
this.schemaActionId = '49410a24-9d67-4dcc-a57e-016102b27d84';
|
|
41
|
+
this.entity = 'CrmModule:ContactIdentity';
|
|
42
|
+
}
|
|
43
|
+
}
|
|
44
|
+
exports.UpdateContactIdentityDto = UpdateContactIdentityDto;
|
|
45
|
+
/** Used by SDK generators to identify action type */
|
|
46
|
+
UpdateContactIdentityDto.ACTION_TYPE = 'UPDATE';
|
|
47
|
+
UpdateContactIdentityDto.ACTION_KEY = 'UpdateContactIdentity';
|
|
48
|
+
UpdateContactIdentityDto.MODULE_NAME = 'CrmModule';
|
|
49
|
+
UpdateContactIdentityDto.ENTITIES = ['ContactIdentity'];
|
|
50
|
+
UpdateContactIdentityDto.EVENT_NAME = 'k1.t-hEOJjsDb.CrmModule.ContactIdentity.Update.UpdateContactIdentity';
|
|
51
|
+
UpdateContactIdentityDto.PERMISSION = 'schema.action.updatecontactidentity.trigger';
|
|
52
|
+
/** Step metadata - entity this action targets */
|
|
53
|
+
UpdateContactIdentityDto.STEP_ENTITY = 'CrmModule:ContactIdentity';
|
|
54
|
+
UpdateContactIdentityDto.STEP_SCHEMA_ID = '06604ab9-fc1b-48c6-9170-533186f458f1';
|
|
55
|
+
UpdateContactIdentityDto.STEP_SCHEMA_ACTION_ID = '49410a24-9d67-4dcc-a57e-016102b27d84';
|
|
56
|
+
UpdateContactIdentityDto.AUTO_LINK_PARENT = false;
|
|
@@ -22,7 +22,7 @@ export interface UpdateCustomerDeviceOntMessage extends OdinRecordUpdatedEvent<U
|
|
|
22
22
|
* Properties for UpdateCustomerDeviceONT action
|
|
23
23
|
*
|
|
24
24
|
* @property Required fields: 1
|
|
25
|
-
* @property Optional fields:
|
|
25
|
+
* @property Optional fields: 12
|
|
26
26
|
*/
|
|
27
27
|
export interface UpdateCustomerDeviceOntProperties {
|
|
28
28
|
/**
|
|
@@ -96,6 +96,27 @@ export interface UpdateCustomerDeviceOntProperties {
|
|
|
96
96
|
* @type {NUMBER}
|
|
97
97
|
*/
|
|
98
98
|
ONTQuality?: number | null;
|
|
99
|
+
/**
|
|
100
|
+
* rx power
|
|
101
|
+
*
|
|
102
|
+
* rx power reading for the onu (Network Operations - CustomerDeviceOnt)
|
|
103
|
+
* @type {NUMERIC}
|
|
104
|
+
*/
|
|
105
|
+
RxPower?: number | null;
|
|
106
|
+
/**
|
|
107
|
+
* Uptime
|
|
108
|
+
*
|
|
109
|
+
* Data field for CustomerDeviceOnt records. Used by Network Operations team.
|
|
110
|
+
* @type {TEXT}
|
|
111
|
+
*/
|
|
112
|
+
Uptime?: string | null;
|
|
113
|
+
/**
|
|
114
|
+
* operating status
|
|
115
|
+
*
|
|
116
|
+
* the operating status of the ont (Network Operations - CustomerDeviceOnt)
|
|
117
|
+
* @type {TEXT}
|
|
118
|
+
*/
|
|
119
|
+
OperStatus?: string | null;
|
|
99
120
|
}
|
|
100
121
|
/**
|
|
101
122
|
* UpdateCustomerDeviceONT
|
|
@@ -0,0 +1,77 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* UpdateOneTouchSwitchOrderForActivation Action DTO
|
|
3
|
+
*
|
|
4
|
+
* Update One Touch Switch Order For Activation
|
|
5
|
+
*
|
|
6
|
+
* @module OrderModule
|
|
7
|
+
* @entity OneTouchSwitch
|
|
8
|
+
* @entityType GAINING
|
|
9
|
+
* @actionKey UpdateOneTouchSwitchOrderForActivation
|
|
10
|
+
* @event k1.t-hEOJjsDb.OrderModule.OneTouchSwitch.Update.UpdateOneTouchSwitchOrderForActivation
|
|
11
|
+
*
|
|
12
|
+
* AUTO-GENERATED - DO NOT EDIT DIRECTLY
|
|
13
|
+
*/
|
|
14
|
+
import { OdinRecord, OdinRecordUpdateDto, OdinRecordUpdatedEvent } from '@d19n/odin-types/dist/core';
|
|
15
|
+
/**
|
|
16
|
+
* RabbitMQ message payload for UpdateOneTouchSwitchOrderForActivation updated events
|
|
17
|
+
*
|
|
18
|
+
* @event k1.t-hEOJjsDb.OrderModule.OneTouchSwitch.Update.UpdateOneTouchSwitchOrderForActivation
|
|
19
|
+
*/
|
|
20
|
+
export interface UpdateOneTouchSwitchOrderForActivationMessage extends OdinRecordUpdatedEvent<UpdateOneTouchSwitchOrderForActivationDto, UpdateOneTouchSwitchOrderForActivationProperties> {
|
|
21
|
+
}
|
|
22
|
+
/**
|
|
23
|
+
* Properties for UpdateOneTouchSwitchOrderForActivation action
|
|
24
|
+
*
|
|
25
|
+
* @property Required fields: 0
|
|
26
|
+
* @property Optional fields: 1
|
|
27
|
+
*/
|
|
28
|
+
export interface UpdateOneTouchSwitchOrderForActivationProperties {
|
|
29
|
+
/**
|
|
30
|
+
* activation date
|
|
31
|
+
*
|
|
32
|
+
* the date the customer was activated (order active date) (Sales - OneTouchSwitch)
|
|
33
|
+
* @type {DATE}
|
|
34
|
+
*/
|
|
35
|
+
ActivationDate?: string | null;
|
|
36
|
+
}
|
|
37
|
+
/**
|
|
38
|
+
* UpdateOneTouchSwitchOrderForActivation
|
|
39
|
+
*
|
|
40
|
+
* Update One Touch Switch Order For Activation
|
|
41
|
+
*
|
|
42
|
+
* @actionType UPDATE - Updates an existing OneTouchSwitch record
|
|
43
|
+
* @module OrderModule
|
|
44
|
+
* @entity OneTouchSwitch
|
|
45
|
+
* @entityType GAINING (gaining)
|
|
46
|
+
* @event k1.t-hEOJjsDb.OrderModule.OneTouchSwitch.Update.UpdateOneTouchSwitchOrderForActivation
|
|
47
|
+
* @permission schema.action.updateonetouchswitchorderforactivation.trigger
|
|
48
|
+
* @benchmark This action is tracked for performance benchmarks
|
|
49
|
+
*/
|
|
50
|
+
export declare class UpdateOneTouchSwitchOrderForActivationDto extends OdinRecordUpdateDto<UpdateOneTouchSwitchOrderForActivationProperties> {
|
|
51
|
+
/** Used by SDK generators to identify action type */
|
|
52
|
+
static readonly ACTION_TYPE = "UPDATE";
|
|
53
|
+
static readonly ACTION_KEY = "UpdateOneTouchSwitchOrderForActivation";
|
|
54
|
+
static readonly MODULE_NAME = "OrderModule";
|
|
55
|
+
static readonly ENTITIES: string[];
|
|
56
|
+
static readonly ENTITY_TYPE = "GAINING";
|
|
57
|
+
static readonly EVENT_NAME = "k1.t-hEOJjsDb.OrderModule.OneTouchSwitch.Update.UpdateOneTouchSwitchOrderForActivation";
|
|
58
|
+
static readonly PERMISSION = "schema.action.updateonetouchswitchorderforactivation.trigger";
|
|
59
|
+
/** Step metadata - entity this action targets */
|
|
60
|
+
static readonly STEP_ENTITY = "OrderModule:OneTouchSwitch";
|
|
61
|
+
static readonly STEP_SCHEMA_ID = "8a4c7bdd-7d98-4df2-a663-0f3028022a5c";
|
|
62
|
+
static readonly STEP_SCHEMA_ACTION_ID = "0b73ccc9-a1fc-4bd6-b2b2-04234b64cbfe";
|
|
63
|
+
static readonly STEP_SCHEMA_TYPE_ID = "c0cc74b8-2cad-49d6-a66a-0256f7165e56";
|
|
64
|
+
static readonly STEP_TYPE = "GAINING";
|
|
65
|
+
static readonly AUTO_LINK_PARENT = false;
|
|
66
|
+
readonly actionName: string;
|
|
67
|
+
readonly schemaActionId: string;
|
|
68
|
+
readonly entity: string;
|
|
69
|
+
constructor(record: OdinRecord<any> | {
|
|
70
|
+
id: string;
|
|
71
|
+
entity: string;
|
|
72
|
+
type?: string;
|
|
73
|
+
}, properties: UpdateOneTouchSwitchOrderForActivationProperties, options?: {
|
|
74
|
+
journeyId?: string;
|
|
75
|
+
stageKey?: string;
|
|
76
|
+
});
|
|
77
|
+
}
|
|
@@ -0,0 +1,61 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* UpdateOneTouchSwitchOrderForActivation Action DTO
|
|
4
|
+
*
|
|
5
|
+
* Update One Touch Switch Order For Activation
|
|
6
|
+
*
|
|
7
|
+
* @module OrderModule
|
|
8
|
+
* @entity OneTouchSwitch
|
|
9
|
+
* @entityType GAINING
|
|
10
|
+
* @actionKey UpdateOneTouchSwitchOrderForActivation
|
|
11
|
+
* @event k1.t-hEOJjsDb.OrderModule.OneTouchSwitch.Update.UpdateOneTouchSwitchOrderForActivation
|
|
12
|
+
*
|
|
13
|
+
* AUTO-GENERATED - DO NOT EDIT DIRECTLY
|
|
14
|
+
*/
|
|
15
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
+
exports.UpdateOneTouchSwitchOrderForActivationDto = void 0;
|
|
17
|
+
const core_1 = require("@d19n/odin-types/dist/core");
|
|
18
|
+
/**
|
|
19
|
+
* UpdateOneTouchSwitchOrderForActivation
|
|
20
|
+
*
|
|
21
|
+
* Update One Touch Switch Order For Activation
|
|
22
|
+
*
|
|
23
|
+
* @actionType UPDATE - Updates an existing OneTouchSwitch record
|
|
24
|
+
* @module OrderModule
|
|
25
|
+
* @entity OneTouchSwitch
|
|
26
|
+
* @entityType GAINING (gaining)
|
|
27
|
+
* @event k1.t-hEOJjsDb.OrderModule.OneTouchSwitch.Update.UpdateOneTouchSwitchOrderForActivation
|
|
28
|
+
* @permission schema.action.updateonetouchswitchorderforactivation.trigger
|
|
29
|
+
* @benchmark This action is tracked for performance benchmarks
|
|
30
|
+
*/
|
|
31
|
+
class UpdateOneTouchSwitchOrderForActivationDto extends core_1.OdinRecordUpdateDto {
|
|
32
|
+
constructor(record, properties, options) {
|
|
33
|
+
super({
|
|
34
|
+
id: record.id,
|
|
35
|
+
entity: record.entity,
|
|
36
|
+
type: record.type,
|
|
37
|
+
properties,
|
|
38
|
+
journeyId: options === null || options === void 0 ? void 0 : options.journeyId,
|
|
39
|
+
stageKey: options === null || options === void 0 ? void 0 : options.stageKey,
|
|
40
|
+
});
|
|
41
|
+
this.actionName = 'UpdateOneTouchSwitchOrderForActivation';
|
|
42
|
+
this.schemaActionId = '0b73ccc9-a1fc-4bd6-b2b2-04234b64cbfe';
|
|
43
|
+
this.entity = 'OrderModule:OneTouchSwitch';
|
|
44
|
+
}
|
|
45
|
+
}
|
|
46
|
+
exports.UpdateOneTouchSwitchOrderForActivationDto = UpdateOneTouchSwitchOrderForActivationDto;
|
|
47
|
+
/** Used by SDK generators to identify action type */
|
|
48
|
+
UpdateOneTouchSwitchOrderForActivationDto.ACTION_TYPE = 'UPDATE';
|
|
49
|
+
UpdateOneTouchSwitchOrderForActivationDto.ACTION_KEY = 'UpdateOneTouchSwitchOrderForActivation';
|
|
50
|
+
UpdateOneTouchSwitchOrderForActivationDto.MODULE_NAME = 'OrderModule';
|
|
51
|
+
UpdateOneTouchSwitchOrderForActivationDto.ENTITIES = ['OneTouchSwitch'];
|
|
52
|
+
UpdateOneTouchSwitchOrderForActivationDto.ENTITY_TYPE = 'GAINING';
|
|
53
|
+
UpdateOneTouchSwitchOrderForActivationDto.EVENT_NAME = 'k1.t-hEOJjsDb.OrderModule.OneTouchSwitch.Update.UpdateOneTouchSwitchOrderForActivation';
|
|
54
|
+
UpdateOneTouchSwitchOrderForActivationDto.PERMISSION = 'schema.action.updateonetouchswitchorderforactivation.trigger';
|
|
55
|
+
/** Step metadata - entity this action targets */
|
|
56
|
+
UpdateOneTouchSwitchOrderForActivationDto.STEP_ENTITY = 'OrderModule:OneTouchSwitch';
|
|
57
|
+
UpdateOneTouchSwitchOrderForActivationDto.STEP_SCHEMA_ID = '8a4c7bdd-7d98-4df2-a663-0f3028022a5c';
|
|
58
|
+
UpdateOneTouchSwitchOrderForActivationDto.STEP_SCHEMA_ACTION_ID = '0b73ccc9-a1fc-4bd6-b2b2-04234b64cbfe';
|
|
59
|
+
UpdateOneTouchSwitchOrderForActivationDto.STEP_SCHEMA_TYPE_ID = 'c0cc74b8-2cad-49d6-a66a-0256f7165e56';
|
|
60
|
+
UpdateOneTouchSwitchOrderForActivationDto.STEP_TYPE = 'GAINING';
|
|
61
|
+
UpdateOneTouchSwitchOrderForActivationDto.AUTO_LINK_PARENT = false;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* UpdatePaymentMethod Action DTO
|
|
3
3
|
*
|
|
4
|
-
*
|
|
4
|
+
* update payment method
|
|
5
5
|
*
|
|
6
6
|
* @module BillingModule
|
|
7
7
|
* @entity PaymentMethod
|
|
@@ -21,40 +21,43 @@ export interface UpdatePaymentMethodMessage extends OdinRecordUpdatedEvent<Updat
|
|
|
21
21
|
/**
|
|
22
22
|
* Properties for UpdatePaymentMethod action
|
|
23
23
|
*
|
|
24
|
-
* @property Required fields:
|
|
25
|
-
* @property Optional fields:
|
|
24
|
+
* @property Required fields: 0
|
|
25
|
+
* @property Optional fields: 3
|
|
26
26
|
*/
|
|
27
27
|
export interface UpdatePaymentMethodProperties {
|
|
28
28
|
/**
|
|
29
|
-
*
|
|
29
|
+
* provider
|
|
30
30
|
*
|
|
31
|
-
*
|
|
32
|
-
* @type {
|
|
33
|
-
* @required
|
|
31
|
+
* payment provider (Finance - PaymentMethod)
|
|
32
|
+
* @type {ENUM}
|
|
34
33
|
*/
|
|
35
|
-
|
|
34
|
+
Provider?: string | null;
|
|
36
35
|
/**
|
|
37
36
|
* status
|
|
38
37
|
*
|
|
39
38
|
* payment method status (Finance - PaymentMethod)
|
|
40
39
|
* @type {ENUM}
|
|
41
|
-
* @required
|
|
42
40
|
*/
|
|
43
|
-
Status
|
|
41
|
+
Status?: string | null;
|
|
42
|
+
/**
|
|
43
|
+
* external reference id
|
|
44
|
+
*
|
|
45
|
+
* reference to the external payment method Id to be used (Finance - PaymentMethod)
|
|
46
|
+
* @type {TEXT}
|
|
47
|
+
*/
|
|
48
|
+
ExternalRef?: string | null;
|
|
44
49
|
}
|
|
45
50
|
/**
|
|
46
51
|
* UpdatePaymentMethod
|
|
47
52
|
*
|
|
48
|
-
*
|
|
53
|
+
* update payment method
|
|
49
54
|
*
|
|
50
55
|
* @actionType UPDATE - Updates an existing PaymentMethod record
|
|
51
56
|
* @module BillingModule
|
|
52
57
|
* @entity PaymentMethod
|
|
53
58
|
* @event k1.t-hEOJjsDb.BillingModule.PaymentMethod.Update.UpdatePaymentMethod
|
|
54
59
|
* @permission schema.action.updatepaymentmethod.trigger
|
|
55
|
-
* @category FINANCIAL
|
|
56
60
|
* @benchmark This action is tracked for performance benchmarks
|
|
57
|
-
* @benchmarkTags data-update, finance, payment-processing, paymentmethod
|
|
58
61
|
*/
|
|
59
62
|
export declare class UpdatePaymentMethodDto extends OdinRecordUpdateDto<UpdatePaymentMethodProperties> {
|
|
60
63
|
/** Used by SDK generators to identify action type */
|
|
@@ -67,7 +70,7 @@ export declare class UpdatePaymentMethodDto extends OdinRecordUpdateDto<UpdatePa
|
|
|
67
70
|
/** Step metadata - entity this action targets */
|
|
68
71
|
static readonly STEP_ENTITY = "BillingModule:PaymentMethod";
|
|
69
72
|
static readonly STEP_SCHEMA_ID = "9fba52d4-cbf4-4608-8f63-8508ad1b85d5";
|
|
70
|
-
static readonly STEP_SCHEMA_ACTION_ID = "
|
|
73
|
+
static readonly STEP_SCHEMA_ACTION_ID = "176cc3df-e466-4a5f-a6d6-678e225f7730";
|
|
71
74
|
static readonly AUTO_LINK_PARENT = false;
|
|
72
75
|
readonly actionName: string;
|
|
73
76
|
readonly schemaActionId: string;
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
/**
|
|
3
3
|
* UpdatePaymentMethod Action DTO
|
|
4
4
|
*
|
|
5
|
-
*
|
|
5
|
+
* update payment method
|
|
6
6
|
*
|
|
7
7
|
* @module BillingModule
|
|
8
8
|
* @entity PaymentMethod
|
|
@@ -17,16 +17,14 @@ const core_1 = require("@d19n/odin-types/dist/core");
|
|
|
17
17
|
/**
|
|
18
18
|
* UpdatePaymentMethod
|
|
19
19
|
*
|
|
20
|
-
*
|
|
20
|
+
* update payment method
|
|
21
21
|
*
|
|
22
22
|
* @actionType UPDATE - Updates an existing PaymentMethod record
|
|
23
23
|
* @module BillingModule
|
|
24
24
|
* @entity PaymentMethod
|
|
25
25
|
* @event k1.t-hEOJjsDb.BillingModule.PaymentMethod.Update.UpdatePaymentMethod
|
|
26
26
|
* @permission schema.action.updatepaymentmethod.trigger
|
|
27
|
-
* @category FINANCIAL
|
|
28
27
|
* @benchmark This action is tracked for performance benchmarks
|
|
29
|
-
* @benchmarkTags data-update, finance, payment-processing, paymentmethod
|
|
30
28
|
*/
|
|
31
29
|
class UpdatePaymentMethodDto extends core_1.OdinRecordUpdateDto {
|
|
32
30
|
constructor(record, properties, options) {
|
|
@@ -39,7 +37,7 @@ class UpdatePaymentMethodDto extends core_1.OdinRecordUpdateDto {
|
|
|
39
37
|
stageKey: options === null || options === void 0 ? void 0 : options.stageKey,
|
|
40
38
|
});
|
|
41
39
|
this.actionName = 'UpdatePaymentMethod';
|
|
42
|
-
this.schemaActionId = '
|
|
40
|
+
this.schemaActionId = '176cc3df-e466-4a5f-a6d6-678e225f7730';
|
|
43
41
|
this.entity = 'BillingModule:PaymentMethod';
|
|
44
42
|
}
|
|
45
43
|
}
|
|
@@ -54,5 +52,5 @@ UpdatePaymentMethodDto.PERMISSION = 'schema.action.updatepaymentmethod.trigger';
|
|
|
54
52
|
/** Step metadata - entity this action targets */
|
|
55
53
|
UpdatePaymentMethodDto.STEP_ENTITY = 'BillingModule:PaymentMethod';
|
|
56
54
|
UpdatePaymentMethodDto.STEP_SCHEMA_ID = '9fba52d4-cbf4-4608-8f63-8508ad1b85d5';
|
|
57
|
-
UpdatePaymentMethodDto.STEP_SCHEMA_ACTION_ID = '
|
|
55
|
+
UpdatePaymentMethodDto.STEP_SCHEMA_ACTION_ID = '176cc3df-e466-4a5f-a6d6-678e225f7730';
|
|
58
56
|
UpdatePaymentMethodDto.AUTO_LINK_PARENT = false;
|
|
@@ -23,7 +23,7 @@ export interface UpdatePgContactMessage extends OdinRecordUpdatedEvent<UpdatePgC
|
|
|
23
23
|
* Properties for UpdatePgContact action
|
|
24
24
|
*
|
|
25
25
|
* @property Required fields: 0
|
|
26
|
-
* @property Optional fields:
|
|
26
|
+
* @property Optional fields: 6
|
|
27
27
|
*/
|
|
28
28
|
export interface UpdatePgContactProperties {
|
|
29
29
|
/**
|
|
@@ -61,6 +61,13 @@ export interface UpdatePgContactProperties {
|
|
|
61
61
|
* @type {ENUM}
|
|
62
62
|
*/
|
|
63
63
|
Company?: string | null;
|
|
64
|
+
/**
|
|
65
|
+
* OdinContact
|
|
66
|
+
*
|
|
67
|
+
* Odin Contact
|
|
68
|
+
* @type {LOOKUP}
|
|
69
|
+
*/
|
|
70
|
+
OdinContact?: string | null;
|
|
64
71
|
}
|
|
65
72
|
/**
|
|
66
73
|
* UpdatePgContact
|
|
@@ -23,7 +23,7 @@ export interface UpdatePgPaymentMethodMessage extends OdinRecordUpdatedEvent<Upd
|
|
|
23
23
|
* Properties for UpdatePgPaymentMethod action
|
|
24
24
|
*
|
|
25
25
|
* @property Required fields: 0
|
|
26
|
-
* @property Optional fields:
|
|
26
|
+
* @property Optional fields: 15
|
|
27
27
|
*/
|
|
28
28
|
export interface UpdatePgPaymentMethodProperties {
|
|
29
29
|
/**
|
|
@@ -124,6 +124,13 @@ export interface UpdatePgPaymentMethodProperties {
|
|
|
124
124
|
* @type {DATE_TIME}
|
|
125
125
|
*/
|
|
126
126
|
ValidatedDatetime?: string | null;
|
|
127
|
+
/**
|
|
128
|
+
* OdinPaymentMethod
|
|
129
|
+
*
|
|
130
|
+
* Odin Payment Method
|
|
131
|
+
* @type {LOOKUP}
|
|
132
|
+
*/
|
|
133
|
+
OdinPaymentMethod?: string | null;
|
|
127
134
|
}
|
|
128
135
|
/**
|
|
129
136
|
* UpdatePgPaymentMethod
|
|
@@ -23,7 +23,7 @@ export interface UpdatePgTransactionChargeMessage extends OdinRecordUpdatedEvent
|
|
|
23
23
|
* Properties for UpdatePgTransactionCharge action
|
|
24
24
|
*
|
|
25
25
|
* @property Required fields: 0
|
|
26
|
-
* @property Optional fields:
|
|
26
|
+
* @property Optional fields: 11
|
|
27
27
|
*/
|
|
28
28
|
export interface UpdatePgTransactionChargeProperties {
|
|
29
29
|
/**
|
|
@@ -96,6 +96,13 @@ export interface UpdatePgTransactionChargeProperties {
|
|
|
96
96
|
* @type {CURRENCY}
|
|
97
97
|
*/
|
|
98
98
|
Total?: string | null;
|
|
99
|
+
/**
|
|
100
|
+
* OdinChargeTransaction
|
|
101
|
+
*
|
|
102
|
+
* Odin Charge Transaction
|
|
103
|
+
* @type {LOOKUP}
|
|
104
|
+
*/
|
|
105
|
+
OdinChargeTransaction?: string | null;
|
|
99
106
|
}
|
|
100
107
|
/**
|
|
101
108
|
* UpdatePgTransactionCharge
|
|
@@ -23,7 +23,7 @@ export interface UpdatePgTransactionRefundMessage extends OdinRecordUpdatedEvent
|
|
|
23
23
|
* Properties for UpdatePgTransactionRefund action
|
|
24
24
|
*
|
|
25
25
|
* @property Required fields: 0
|
|
26
|
-
* @property Optional fields:
|
|
26
|
+
* @property Optional fields: 11
|
|
27
27
|
*/
|
|
28
28
|
export interface UpdatePgTransactionRefundProperties {
|
|
29
29
|
/**
|
|
@@ -96,6 +96,13 @@ export interface UpdatePgTransactionRefundProperties {
|
|
|
96
96
|
* @type {CURRENCY}
|
|
97
97
|
*/
|
|
98
98
|
Total?: string | null;
|
|
99
|
+
/**
|
|
100
|
+
* OdinRefundTransaction
|
|
101
|
+
*
|
|
102
|
+
* Odin Refund Transaction
|
|
103
|
+
* @type {LOOKUP}
|
|
104
|
+
*/
|
|
105
|
+
OdinRefundTransaction?: string | null;
|
|
99
106
|
}
|
|
100
107
|
/**
|
|
101
108
|
* UpdatePgTransactionRefund
|
|
@@ -22,6 +22,7 @@ export declare class ContactApi extends ApiProvider {
|
|
|
22
22
|
private _paymentmethodrefund?;
|
|
23
23
|
private _address?;
|
|
24
24
|
private _invoice?;
|
|
25
|
+
private _pgcontact?;
|
|
25
26
|
private _fingerprint?;
|
|
26
27
|
private _phonenumber?;
|
|
27
28
|
private _note?;
|
|
@@ -58,6 +59,7 @@ export declare class ContactApi extends ApiProvider {
|
|
|
58
59
|
get paymentmethodrefund(): ApiRecordLinkManager;
|
|
59
60
|
get address(): ApiRecordLinkManager;
|
|
60
61
|
get invoice(): ApiRecordLinkManager;
|
|
62
|
+
get pgcontact(): ApiRecordLinkManager;
|
|
61
63
|
get fingerprint(): ApiRecordLinkManager;
|
|
62
64
|
get phonenumber(): ApiRecordLinkManager;
|
|
63
65
|
get note(): ApiRecordLinkManager;
|
|
@@ -63,6 +63,12 @@ class ContactApi extends api_provider_1.ApiProvider {
|
|
|
63
63
|
}
|
|
64
64
|
return this._invoice;
|
|
65
65
|
}
|
|
66
|
+
get pgcontact() {
|
|
67
|
+
if (!this._pgcontact) {
|
|
68
|
+
this._pgcontact = new api_record_link_manager_1.ApiRecordLinkManager(this.authParams, 'CrmModule:Contact', 'BillingModule:PgContact', 'PgContact__Contact');
|
|
69
|
+
}
|
|
70
|
+
return this._pgcontact;
|
|
71
|
+
}
|
|
66
72
|
get fingerprint() {
|
|
67
73
|
if (!this._fingerprint) {
|
|
68
74
|
this._fingerprint = new api_record_link_manager_1.ApiRecordLinkManager(this.authParams, 'CrmModule:Contact', 'CrmModule:Fingerprint', 'Fingerprint__Contact');
|
|
@@ -18,6 +18,7 @@ export declare class PaymentMethodApi extends ApiProvider {
|
|
|
18
18
|
private readonly entityName;
|
|
19
19
|
private sourceRecord;
|
|
20
20
|
private _contractbuyout?;
|
|
21
|
+
private _pgpaymentmethod?;
|
|
21
22
|
private _transaction?;
|
|
22
23
|
private _note?;
|
|
23
24
|
private _contactidentity?;
|
|
@@ -26,6 +27,7 @@ export declare class PaymentMethodApi extends ApiProvider {
|
|
|
26
27
|
private _contact?;
|
|
27
28
|
constructor(authParams?: OauthParams, authToken?: string);
|
|
28
29
|
get contractbuyout(): ApiRecordLinkManager;
|
|
30
|
+
get pgpaymentmethod(): ApiRecordLinkManager;
|
|
29
31
|
get transaction(): ApiRecordLinkManager;
|
|
30
32
|
get note(): ApiRecordLinkManager;
|
|
31
33
|
get contactidentity(): ApiRecordLinkManager;
|
|
@@ -39,6 +39,12 @@ class PaymentMethodApi extends api_provider_1.ApiProvider {
|
|
|
39
39
|
}
|
|
40
40
|
return this._contractbuyout;
|
|
41
41
|
}
|
|
42
|
+
get pgpaymentmethod() {
|
|
43
|
+
if (!this._pgpaymentmethod) {
|
|
44
|
+
this._pgpaymentmethod = new api_record_link_manager_1.ApiRecordLinkManager(this.authParams, 'BillingModule:PaymentMethod', 'BillingModule:PgPaymentMethod', 'PgPaymentMethod__PaymentMethod');
|
|
45
|
+
}
|
|
46
|
+
return this._pgpaymentmethod;
|
|
47
|
+
}
|
|
42
48
|
get transaction() {
|
|
43
49
|
if (!this._transaction) {
|
|
44
50
|
this._transaction = new api_record_link_manager_1.ApiRecordLinkManager(this.authParams, 'BillingModule:PaymentMethod', 'BillingModule:Transaction', 'Transaction__PaymentMethod');
|