@d19n/youfibre-odin-sdk 1.0.15 → 1.0.17
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/dist/api-sdk-v1/BillingRequestApi.d.ts +0 -7
- package/dist/api-sdk-v1/BillingRequestApi.js +0 -26
- package/dist/api-sdk-v1/CaseApi.d.ts +0 -7
- package/dist/api-sdk-v1/CaseApi.js +0 -26
- package/dist/api-sdk-v1/ConsumptionRateApi.d.ts +0 -7
- package/dist/api-sdk-v1/ConsumptionRateApi.js +0 -26
- package/dist/api-sdk-v1/ConsumptionScheduleApi.d.ts +0 -7
- package/dist/api-sdk-v1/ConsumptionScheduleApi.js +0 -26
- package/dist/api-sdk-v1/ContactApi.d.ts +3 -4
- package/dist/api-sdk-v1/ContactApi.js +7 -13
- package/dist/api-sdk-v1/ContactIdentityApi.d.ts +0 -7
- package/dist/api-sdk-v1/ContactIdentityApi.js +0 -26
- package/dist/api-sdk-v1/FileApi.d.ts +6 -1
- package/dist/api-sdk-v1/FileApi.js +20 -6
- package/dist/api-sdk-v1/InvoiceItemApi.d.ts +0 -7
- package/dist/api-sdk-v1/InvoiceItemApi.js +0 -26
- package/dist/api-sdk-v1/LeadApi.d.ts +2 -3
- package/dist/api-sdk-v1/LeadApi.js +5 -11
- package/dist/api-sdk-v1/MilestoneApi.d.ts +0 -7
- package/dist/api-sdk-v1/MilestoneApi.js +0 -26
- package/dist/api-sdk-v1/NoteApi.d.ts +2 -3
- package/dist/api-sdk-v1/NoteApi.js +6 -12
- package/dist/api-sdk-v1/OfferApi.d.ts +0 -7
- package/dist/api-sdk-v1/OfferApi.js +0 -26
- package/dist/api-sdk-v1/OrderApi.d.ts +6 -7
- package/dist/api-sdk-v1/OrderApi.js +20 -26
- package/dist/api-sdk-v1/OrderItemApi.d.ts +0 -7
- package/dist/api-sdk-v1/OrderItemApi.js +0 -26
- package/dist/api-sdk-v1/OrganizationApi.d.ts +0 -7
- package/dist/api-sdk-v1/OrganizationApi.js +0 -26
- package/dist/api-sdk-v1/ProductApi.d.ts +1 -9
- package/dist/api-sdk-v1/ProductApi.js +0 -31
- package/dist/api-sdk-v1/ProductComponentApi.d.ts +0 -7
- package/dist/api-sdk-v1/ProductComponentApi.js +0 -26
- package/dist/api-sdk-v1/RestrictionApi.d.ts +0 -7
- package/dist/api-sdk-v1/RestrictionApi.js +0 -26
- package/dist/api-sdk-v1/ServiceApi.d.ts +0 -7
- package/dist/api-sdk-v1/ServiceApi.js +0 -26
- package/dist/api-sdk-v1/ServiceAppointmentConfigApi.d.ts +12 -0
- package/dist/api-sdk-v1/ServiceAppointmentConfigApi.js +40 -0
- package/dist/api-sdk-v1/SplitOrderApi.d.ts +2 -3
- package/dist/api-sdk-v1/SplitOrderApi.js +6 -12
- package/dist/api-sdk-v1/TransactionApi.d.ts +0 -7
- package/dist/api-sdk-v1/TransactionApi.js +0 -26
- package/dist/api-sdk-v1/UserApi.d.ts +18 -0
- package/dist/api-sdk-v1/UserApi.js +60 -0
- package/dist/api-sdk-v1/WorkOrderApi.d.ts +6 -1
- package/dist/api-sdk-v1/WorkOrderApi.js +20 -6
- package/dist/db-sdk-v1/AccountDb.d.ts +8 -8
- package/dist/db-sdk-v1/ActivityDb.d.ts +2 -2
- package/dist/db-sdk-v1/AddressDb.d.ts +7 -7
- package/dist/db-sdk-v1/AppointmentDb.d.ts +2 -2
- package/dist/db-sdk-v1/BillingAdjustmentDb.d.ts +2 -2
- package/dist/db-sdk-v1/BillingRequestDb.d.ts +5 -12
- package/dist/db-sdk-v1/BillingRequestDb.js +0 -33
- package/dist/db-sdk-v1/BlockageReportA55Db.d.ts +2 -2
- package/dist/db-sdk-v1/CallDb.d.ts +4 -4
- package/dist/db-sdk-v1/CaseDb.d.ts +9 -16
- package/dist/db-sdk-v1/CaseDb.js +0 -33
- package/dist/db-sdk-v1/ChangeReasonDb.d.ts +4 -4
- package/dist/db-sdk-v1/ChurnRequestDb.d.ts +2 -2
- package/dist/db-sdk-v1/CommissionDb.d.ts +2 -2
- package/dist/db-sdk-v1/ConsumptionRateDb.d.ts +0 -7
- package/dist/db-sdk-v1/ConsumptionRateDb.js +0 -33
- package/dist/db-sdk-v1/ConsumptionScheduleDb.d.ts +1 -8
- package/dist/db-sdk-v1/ConsumptionScheduleDb.js +0 -33
- package/dist/db-sdk-v1/ContactDb.d.ts +11 -12
- package/dist/db-sdk-v1/ContactDb.js +0 -6
- package/dist/db-sdk-v1/ContactIdentityDb.d.ts +1 -8
- package/dist/db-sdk-v1/ContactIdentityDb.js +0 -33
- package/dist/db-sdk-v1/CreditNoteDb.d.ts +3 -3
- package/dist/db-sdk-v1/CrmDatasetDb.d.ts +5 -5
- package/dist/db-sdk-v1/CustomerDeviceOntDb.d.ts +5 -5
- package/dist/db-sdk-v1/CustomerDeviceRouterDb.d.ts +2 -2
- package/dist/db-sdk-v1/DeactivationApprovalDb.d.ts +3 -3
- package/dist/db-sdk-v1/DiscountDb.d.ts +2 -2
- package/dist/db-sdk-v1/ExchangeDb.d.ts +2 -2
- package/dist/db-sdk-v1/FileDb.d.ts +7 -2
- package/dist/db-sdk-v1/FileDb.js +27 -6
- package/dist/db-sdk-v1/FingerprintDb.d.ts +4 -4
- package/dist/db-sdk-v1/InternalInstallAuditDb.d.ts +2 -2
- package/dist/db-sdk-v1/InvoiceDb.d.ts +10 -10
- package/dist/db-sdk-v1/InvoiceItemDb.d.ts +0 -7
- package/dist/db-sdk-v1/InvoiceItemDb.js +0 -33
- package/dist/db-sdk-v1/LeadDb.d.ts +12 -13
- package/dist/db-sdk-v1/LeadDb.js +0 -6
- package/dist/db-sdk-v1/MilestoneDb.d.ts +2 -9
- package/dist/db-sdk-v1/MilestoneDb.js +0 -33
- package/dist/db-sdk-v1/NetomniaFtth1StageInstallAuditDb.d.ts +2 -2
- package/dist/db-sdk-v1/NetomniaFtthServiceVisitSheetDb.d.ts +2 -2
- package/dist/db-sdk-v1/NetomniaInstallVerificationDb.d.ts +2 -2
- package/dist/db-sdk-v1/NetworkDeviceDb.d.ts +1 -1
- package/dist/db-sdk-v1/NoteDb.d.ts +3 -4
- package/dist/db-sdk-v1/NoteDb.js +6 -12
- package/dist/db-sdk-v1/OfferDb.d.ts +2 -9
- package/dist/db-sdk-v1/OfferDb.js +0 -33
- package/dist/db-sdk-v1/OhAuditOfInstallationDb.d.ts +2 -2
- package/dist/db-sdk-v1/OhExternalAuditDb.d.ts +2 -2
- package/dist/db-sdk-v1/OhInProgressAuditDb.d.ts +2 -2
- package/dist/db-sdk-v1/OhInstallationAuditDb.d.ts +2 -2
- package/dist/db-sdk-v1/OneTouchSwitchDb.d.ts +6 -6
- package/dist/db-sdk-v1/OrderDb.d.ts +25 -26
- package/dist/db-sdk-v1/OrderDb.js +27 -33
- package/dist/db-sdk-v1/OrderItemDb.d.ts +9 -16
- package/dist/db-sdk-v1/OrderItemDb.js +0 -33
- package/dist/db-sdk-v1/OrderRemediationTaskDb.d.ts +4 -4
- package/dist/db-sdk-v1/OrganizationDb.d.ts +1 -8
- package/dist/db-sdk-v1/OrganizationDb.js +0 -33
- package/dist/db-sdk-v1/OverlayRealA55Db.d.ts +2 -2
- package/dist/db-sdk-v1/PICRequestDb.d.ts +2 -2
- package/dist/db-sdk-v1/PaymentMethodDb.d.ts +3 -3
- package/dist/db-sdk-v1/PaymentMethodRefundDb.d.ts +6 -6
- package/dist/db-sdk-v1/PermissionToFailDb.d.ts +1 -1
- package/dist/db-sdk-v1/PriceBookDb.d.ts +1 -1
- package/dist/db-sdk-v1/ProductComponentDb.d.ts +1 -8
- package/dist/db-sdk-v1/ProductComponentDb.js +0 -33
- package/dist/db-sdk-v1/ProductDb.d.ts +5 -13
- package/dist/db-sdk-v1/ProductDb.js +0 -38
- package/dist/db-sdk-v1/ProgramDb.d.ts +2 -2
- package/dist/db-sdk-v1/ProjectDb.d.ts +2 -2
- package/dist/db-sdk-v1/QueueChangeDb.d.ts +1 -1
- package/dist/db-sdk-v1/QueueDb.d.ts +2 -2
- package/dist/db-sdk-v1/RegionDb.d.ts +1 -1
- package/dist/db-sdk-v1/RemediationRequiredReasonDb.d.ts +2 -2
- package/dist/db-sdk-v1/RestrictionDb.d.ts +0 -7
- package/dist/db-sdk-v1/RestrictionDb.js +0 -33
- package/dist/db-sdk-v1/ReturnOrderDb.d.ts +2 -2
- package/dist/db-sdk-v1/SalesTerritoryDb.d.ts +1 -1
- package/dist/db-sdk-v1/ServiceAppointmentConfigDb.d.ts +17 -5
- package/dist/db-sdk-v1/ServiceAppointmentConfigDb.js +54 -0
- package/dist/db-sdk-v1/ServiceAppointmentDb.d.ts +2 -2
- package/dist/db-sdk-v1/ServiceDb.d.ts +0 -7
- package/dist/db-sdk-v1/ServiceDb.js +0 -33
- package/dist/db-sdk-v1/ServiceVisitAuditDb.d.ts +2 -2
- package/dist/db-sdk-v1/SmsMessageDb.d.ts +1 -1
- package/dist/db-sdk-v1/SplitOrderDb.d.ts +4 -5
- package/dist/db-sdk-v1/SplitOrderDb.js +6 -12
- package/dist/db-sdk-v1/SubtaskDb.d.ts +1 -1
- package/dist/db-sdk-v1/SweeperMaintenanceAuditDb.d.ts +2 -2
- package/dist/db-sdk-v1/TaskDb.d.ts +2 -2
- package/dist/db-sdk-v1/TeamDb.d.ts +1 -1
- package/dist/db-sdk-v1/TransactionDb.d.ts +3 -10
- package/dist/db-sdk-v1/TransactionDb.js +0 -33
- package/dist/db-sdk-v1/UgAuditOfInstallationDb.d.ts +2 -2
- package/dist/db-sdk-v1/UgExternalAuditDb.d.ts +2 -2
- package/dist/db-sdk-v1/UgInProgressAuditDb.d.ts +2 -2
- package/dist/db-sdk-v1/UgInstallationAuditDb.d.ts +2 -2
- package/dist/db-sdk-v1/UserDb.d.ts +20 -2
- package/dist/db-sdk-v1/UserDb.js +81 -0
- package/dist/db-sdk-v1/VendorDb.d.ts +2 -2
- package/dist/db-sdk-v1/VisitDb.d.ts +3 -3
- package/dist/db-sdk-v1/WorkOrderDb.d.ts +42 -37
- package/dist/db-sdk-v1/WorkOrderDb.js +32 -11
- package/dist/db-sdk-v1/YfEquipmentCollectionDb.d.ts +2 -2
- package/dist/db-sdk-v1/YfFieldServiceVisitDb.d.ts +2 -2
- package/dist/entities-v1/BillingAdjustment.d.ts +12 -12
- package/dist/entities-v1/BillingAdjustment.js +10 -10
- package/dist/entities-v1/CreditNote.d.ts +4 -4
- package/dist/entities-v1/CreditNote.js +2 -2
- package/dist/entities-v1/DefaultBillingAdjustment.d.ts +12 -12
- package/dist/entities-v1/DefaultBillingAdjustment.js +10 -10
- package/dist/entities-v1/DefaultContact.d.ts +75 -75
- package/dist/entities-v1/DefaultContact.js +60 -60
- package/dist/entities-v1/DefaultCreditNote.d.ts +4 -4
- package/dist/entities-v1/DefaultCreditNote.js +2 -2
- package/dist/entities-v1/DefaultNote.d.ts +3 -3
- package/dist/entities-v1/DefaultNote.js +1 -1
- package/dist/entities-v1/DefaultVisit.d.ts +60 -60
- package/dist/entities-v1/DefaultVisit.js +49 -49
- package/dist/entities-v1/FinanceServiceAppointmentConfig.d.ts +1 -0
- package/dist/entities-v1/FinanceServiceAppointmentConfig.js +1 -0
- package/dist/entities-v1/InstallServiceAppointmentConfig.d.ts +1 -0
- package/dist/entities-v1/InstallServiceAppointmentConfig.js +1 -0
- package/dist/entities-v1/InstallServiceServiceAppointmentConfig.d.ts +1 -0
- package/dist/entities-v1/InstallServiceServiceAppointmentConfig.js +1 -0
- package/dist/entities-v1/NetworkAdjustmentServiceAppointmentConfig.d.ts +1 -0
- package/dist/entities-v1/NetworkAdjustmentServiceAppointmentConfig.js +1 -0
- package/dist/entities-v1/Note.d.ts +3 -3
- package/dist/entities-v1/Note.js +1 -1
- package/dist/entities-v1/OutcomeFormOverlayRealA55.d.ts +40 -40
- package/dist/entities-v1/OutcomeFormOverlayRealA55.js +38 -38
- package/dist/entities-v1/OverlayRealA55.d.ts +40 -40
- package/dist/entities-v1/OverlayRealA55.js +38 -38
- package/dist/entities-v1/PlanningServiceAppointmentConfig.d.ts +1 -0
- package/dist/entities-v1/PlanningServiceAppointmentConfig.js +1 -0
- package/dist/entities-v1/PrePullServiceAppointmentConfig.d.ts +1 -0
- package/dist/entities-v1/PrePullServiceAppointmentConfig.js +1 -0
- package/dist/entities-v1/RemediationServiceAppointmentConfig.d.ts +1 -0
- package/dist/entities-v1/RemediationServiceAppointmentConfig.js +1 -0
- package/dist/entities-v1/ServiceAppointmentConfig.d.ts +1 -0
- package/dist/entities-v1/ServiceAppointmentConfig.js +1 -0
- package/dist/entities-v1/ServiceServiceAppointmentConfig.d.ts +1 -0
- package/dist/entities-v1/ServiceServiceAppointmentConfig.js +1 -0
- package/dist/entities-v1/WayleaveServiceAppointmentConfig.d.ts +1 -0
- package/dist/entities-v1/WayleaveServiceAppointmentConfig.js +1 -0
- package/dist/types-v1/Types.d.ts +0 -1
- package/dist/types-v1/Types.js +0 -1
- package/package.json +3 -3
- package/src/api-sdk-v1/BillingRequestApi.ts +0 -27
- package/src/api-sdk-v1/CaseApi.ts +0 -27
- package/src/api-sdk-v1/ConsumptionRateApi.ts +0 -27
- package/src/api-sdk-v1/ConsumptionScheduleApi.ts +0 -27
- package/src/api-sdk-v1/ContactApi.ts +93 -98
- package/src/api-sdk-v1/ContactIdentityApi.ts +0 -27
- package/src/api-sdk-v1/FileApi.ts +171 -154
- package/src/api-sdk-v1/InvoiceItemApi.ts +0 -27
- package/src/api-sdk-v1/LeadApi.ts +65 -71
- package/src/api-sdk-v1/MilestoneApi.ts +0 -27
- package/src/api-sdk-v1/NoteApi.ts +6 -11
- package/src/api-sdk-v1/OfferApi.ts +0 -27
- package/src/api-sdk-v1/OrderApi.ts +22 -27
- package/src/api-sdk-v1/OrderItemApi.ts +0 -27
- package/src/api-sdk-v1/OrganizationApi.ts +0 -27
- package/src/api-sdk-v1/ProductApi.ts +0 -31
- package/src/api-sdk-v1/ProductComponentApi.ts +0 -27
- package/src/api-sdk-v1/RestrictionApi.ts +0 -27
- package/src/api-sdk-v1/ServiceApi.ts +0 -27
- package/src/api-sdk-v1/ServiceAppointmentConfigApi.ts +44 -0
- package/src/api-sdk-v1/SplitOrderApi.ts +17 -22
- package/src/api-sdk-v1/TransactionApi.ts +0 -27
- package/src/api-sdk-v1/UserApi.ts +66 -0
- package/src/api-sdk-v1/WorkOrderApi.ts +147 -130
- package/src/db-sdk-v1/AccountDb.ts +8 -8
- package/src/db-sdk-v1/ActivityDb.ts +2 -2
- package/src/db-sdk-v1/AddressDb.ts +7 -7
- package/src/db-sdk-v1/AppointmentDb.ts +2 -2
- package/src/db-sdk-v1/BillingAdjustmentDb.ts +2 -2
- package/src/db-sdk-v1/BillingRequestDb.ts +5 -40
- package/src/db-sdk-v1/BlockageReportA55Db.ts +2 -2
- package/src/db-sdk-v1/CallDb.ts +4 -4
- package/src/db-sdk-v1/CaseDb.ts +9 -44
- package/src/db-sdk-v1/ChangeReasonDb.ts +4 -4
- package/src/db-sdk-v1/ChurnRequestDb.ts +2 -2
- package/src/db-sdk-v1/CommissionDb.ts +2 -2
- package/src/db-sdk-v1/ConsumptionRateDb.ts +0 -35
- package/src/db-sdk-v1/ConsumptionScheduleDb.ts +1 -36
- package/src/db-sdk-v1/ContactDb.ts +84 -90
- package/src/db-sdk-v1/ContactIdentityDb.ts +1 -36
- package/src/db-sdk-v1/CreditNoteDb.ts +3 -3
- package/src/db-sdk-v1/CrmDatasetDb.ts +5 -5
- package/src/db-sdk-v1/CustomerDeviceOntDb.ts +5 -5
- package/src/db-sdk-v1/CustomerDeviceRouterDb.ts +2 -2
- package/src/db-sdk-v1/DeactivationApprovalDb.ts +3 -3
- package/src/db-sdk-v1/DiscountDb.ts +2 -2
- package/src/db-sdk-v1/ExchangeDb.ts +2 -2
- package/src/db-sdk-v1/FileDb.ts +133 -109
- package/src/db-sdk-v1/FingerprintDb.ts +4 -4
- package/src/db-sdk-v1/InternalInstallAuditDb.ts +2 -2
- package/src/db-sdk-v1/InvoiceDb.ts +10 -10
- package/src/db-sdk-v1/InvoiceItemDb.ts +0 -35
- package/src/db-sdk-v1/LeadDb.ts +71 -76
- package/src/db-sdk-v1/MilestoneDb.ts +2 -37
- package/src/db-sdk-v1/NetomniaFtth1StageInstallAuditDb.ts +2 -2
- package/src/db-sdk-v1/NetomniaFtthServiceVisitSheetDb.ts +2 -2
- package/src/db-sdk-v1/NetomniaInstallVerificationDb.ts +2 -2
- package/src/db-sdk-v1/NetworkDeviceDb.ts +1 -1
- package/src/db-sdk-v1/NoteDb.ts +7 -12
- package/src/db-sdk-v1/OfferDb.ts +2 -37
- package/src/db-sdk-v1/OhAuditOfInstallationDb.ts +2 -2
- package/src/db-sdk-v1/OhExternalAuditDb.ts +2 -2
- package/src/db-sdk-v1/OhInProgressAuditDb.ts +2 -2
- package/src/db-sdk-v1/OhInstallationAuditDb.ts +2 -2
- package/src/db-sdk-v1/OneTouchSwitchDb.ts +6 -6
- package/src/db-sdk-v1/OrderDb.ts +49 -54
- package/src/db-sdk-v1/OrderItemDb.ts +9 -44
- package/src/db-sdk-v1/OrderRemediationTaskDb.ts +4 -4
- package/src/db-sdk-v1/OrganizationDb.ts +1 -36
- package/src/db-sdk-v1/OverlayRealA55Db.ts +2 -2
- package/src/db-sdk-v1/PICRequestDb.ts +2 -2
- package/src/db-sdk-v1/PaymentMethodDb.ts +3 -3
- package/src/db-sdk-v1/PaymentMethodRefundDb.ts +6 -6
- package/src/db-sdk-v1/PermissionToFailDb.ts +1 -1
- package/src/db-sdk-v1/PriceBookDb.ts +1 -1
- package/src/db-sdk-v1/ProductComponentDb.ts +1 -36
- package/src/db-sdk-v1/ProductDb.ts +4 -43
- package/src/db-sdk-v1/ProgramDb.ts +2 -2
- package/src/db-sdk-v1/ProjectDb.ts +2 -2
- package/src/db-sdk-v1/QueueChangeDb.ts +1 -1
- package/src/db-sdk-v1/QueueDb.ts +2 -2
- package/src/db-sdk-v1/RegionDb.ts +1 -1
- package/src/db-sdk-v1/RemediationRequiredReasonDb.ts +2 -2
- package/src/db-sdk-v1/RestrictionDb.ts +0 -35
- package/src/db-sdk-v1/ReturnOrderDb.ts +2 -2
- package/src/db-sdk-v1/SalesTerritoryDb.ts +1 -1
- package/src/db-sdk-v1/ServiceAppointmentConfigDb.ts +65 -5
- package/src/db-sdk-v1/ServiceAppointmentDb.ts +2 -2
- package/src/db-sdk-v1/ServiceDb.ts +0 -35
- package/src/db-sdk-v1/ServiceVisitAuditDb.ts +2 -2
- package/src/db-sdk-v1/SmsMessageDb.ts +1 -1
- package/src/db-sdk-v1/SplitOrderDb.ts +22 -27
- package/src/db-sdk-v1/SubtaskDb.ts +1 -1
- package/src/db-sdk-v1/SweeperMaintenanceAuditDb.ts +2 -2
- package/src/db-sdk-v1/TaskDb.ts +2 -2
- package/src/db-sdk-v1/TeamDb.ts +1 -1
- package/src/db-sdk-v1/TransactionDb.ts +3 -38
- package/src/db-sdk-v1/UgAuditOfInstallationDb.ts +2 -2
- package/src/db-sdk-v1/UgExternalAuditDb.ts +2 -2
- package/src/db-sdk-v1/UgInProgressAuditDb.ts +2 -2
- package/src/db-sdk-v1/UgInstallationAuditDb.ts +2 -2
- package/src/db-sdk-v1/UserDb.ts +92 -2
- package/src/db-sdk-v1/VendorDb.ts +2 -2
- package/src/db-sdk-v1/VisitDb.ts +3 -3
- package/src/db-sdk-v1/WorkOrderDb.ts +235 -211
- package/src/db-sdk-v1/YfEquipmentCollectionDb.ts +2 -2
- package/src/db-sdk-v1/YfFieldServiceVisitDb.ts +2 -2
- package/src/entities-v1/BillingAdjustment.ts +12 -12
- package/src/entities-v1/CreditNote.ts +4 -4
- package/src/entities-v1/DefaultBillingAdjustment.ts +12 -12
- package/src/entities-v1/DefaultContact.ts +73 -73
- package/src/entities-v1/DefaultCreditNote.ts +4 -4
- package/src/entities-v1/DefaultFile.ts +9 -8
- package/src/entities-v1/DefaultNote.ts +2 -2
- package/src/entities-v1/DefaultVisit.ts +60 -60
- package/src/entities-v1/EmailFile.ts +9 -8
- package/src/entities-v1/FinanceServiceAppointmentConfig.ts +1 -0
- package/src/entities-v1/InstallServiceAppointmentConfig.ts +1 -0
- package/src/entities-v1/InstallServiceServiceAppointmentConfig.ts +1 -0
- package/src/entities-v1/NetworkAdjustmentServiceAppointmentConfig.ts +1 -0
- package/src/entities-v1/Note.ts +2 -2
- package/src/entities-v1/OutcomeFormOverlayRealA55.ts +40 -40
- package/src/entities-v1/OverlayRealA55.ts +40 -40
- package/src/entities-v1/PlanningServiceAppointmentConfig.ts +1 -0
- package/src/entities-v1/PrePullServiceAppointmentConfig.ts +1 -0
- package/src/entities-v1/RemediationServiceAppointmentConfig.ts +1 -0
- package/src/entities-v1/ServiceAppointmentConfig.ts +1 -0
- package/src/entities-v1/ServiceServiceAppointmentConfig.ts +1 -0
- package/src/entities-v1/WayleaveServiceAppointmentConfig.ts +1 -0
- package/src/generators/runner.ts +1 -0
- package/src/types-v1/Types.ts +0 -1
- package/dist/api-sdk-v1/DashboardApi.d.ts +0 -30
- package/dist/api-sdk-v1/DashboardApi.js +0 -94
- package/dist/db-sdk-v1/DashboardDb.d.ts +0 -20
- package/dist/db-sdk-v1/DashboardDb.js +0 -83
- package/dist/entities-v1/Dashboard.d.ts +0 -41
- package/dist/entities-v1/Dashboard.js +0 -10
- package/dist/entities-v1/DefaultDashboard.d.ts +0 -38
- package/dist/entities-v1/DefaultDashboard.js +0 -6
- package/src/api-sdk-v1/DashboardApi.ts +0 -77
- package/src/db-sdk-v1/DashboardDb.ts +0 -67
- package/src/entities-v1/Dashboard.ts +0 -43
- package/src/entities-v1/DefaultDashboard.ts +0 -41
|
@@ -34,13 +34,6 @@ export declare class BillingRequestApi extends ApiProvider {
|
|
|
34
34
|
relatedAssociationId?: string;
|
|
35
35
|
}[]): Promise<import("@d19n/odin-types/dist/types/odin.types").OdinAssociationMetaData[]>;
|
|
36
36
|
unLinkContactBillingRequests(billingRequestId: string, linkedContactId: string): Promise<import("@d19n/odin-types/dist/types/odin.types").OdinLinkDeleteResponse[]>;
|
|
37
|
-
getBillingRequests(billingRequestId: string): Promise<any>;
|
|
38
|
-
linkBillingRequestBillingRequests(billingRequestId: string, billingRequestIds: {
|
|
39
|
-
id: string;
|
|
40
|
-
relationType?: RelationTypeEnum;
|
|
41
|
-
relatedAssociationId?: string;
|
|
42
|
-
}[]): Promise<import("@d19n/odin-types/dist/types/odin.types").OdinAssociationMetaData[]>;
|
|
43
|
-
unLinkBillingRequestBillingRequests(billingRequestId: string, linkedBillingRequestId: string): Promise<import("@d19n/odin-types/dist/types/odin.types").OdinLinkDeleteResponse[]>;
|
|
44
37
|
getFiles(billingRequestId: string): Promise<any>;
|
|
45
38
|
linkBillingRequestFiles(billingRequestId: string, fileIds: {
|
|
46
39
|
id: string;
|
|
@@ -117,32 +117,6 @@ class BillingRequestApi extends api_provider_1.ApiProvider {
|
|
|
117
117
|
});
|
|
118
118
|
}
|
|
119
119
|
// Use this function when you want to return a single record
|
|
120
|
-
getBillingRequests(billingRequestId) {
|
|
121
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
122
|
-
return yield this._getLinks(this.moduleName, this.entityName, billingRequestId, 'BillingRequest');
|
|
123
|
-
});
|
|
124
|
-
}
|
|
125
|
-
linkBillingRequestBillingRequests(billingRequestId, billingRequestIds) {
|
|
126
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
127
|
-
const associationDtos = [];
|
|
128
|
-
for (const param of billingRequestIds) {
|
|
129
|
-
associationDtos.push({
|
|
130
|
-
entity: 'BillingModule:BillingRequest',
|
|
131
|
-
recordId: param.id,
|
|
132
|
-
linkType: 'BillingRequest__BillingRequest',
|
|
133
|
-
relationType: param === null || param === void 0 ? void 0 : param.relationType,
|
|
134
|
-
relatedAssociationId: param === null || param === void 0 ? void 0 : param.relatedAssociationId
|
|
135
|
-
});
|
|
136
|
-
}
|
|
137
|
-
return yield this._createLinks(this.moduleName, this.entityName, billingRequestId, associationDtos);
|
|
138
|
-
});
|
|
139
|
-
}
|
|
140
|
-
unLinkBillingRequestBillingRequests(billingRequestId, linkedBillingRequestId) {
|
|
141
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
142
|
-
return yield this._deleteLinks(this.moduleName, this.entityName, billingRequestId, linkedBillingRequestId);
|
|
143
|
-
});
|
|
144
|
-
}
|
|
145
|
-
// Use this function when you want to return a single record
|
|
146
120
|
getFiles(billingRequestId) {
|
|
147
121
|
return __awaiter(this, void 0, void 0, function* () {
|
|
148
122
|
return yield this._getLinks(this.moduleName, this.entityName, billingRequestId, 'File');
|
|
@@ -27,13 +27,6 @@ export declare class CaseApi extends ApiProvider {
|
|
|
27
27
|
update(updateDtos: OdinRecordUpdateDto[]): Promise<any[]>;
|
|
28
28
|
delete(caseIds: string[]): Promise<import("@d19n/odin-types/dist/types/odin.types").OdinDeleteResponse[]>;
|
|
29
29
|
restore(caseIds: string[]): Promise<import("@d19n/odin-types/dist/types/odin.types").OdinRestoreResponse[]>;
|
|
30
|
-
getCases(caseId: string): Promise<any>;
|
|
31
|
-
linkCaseCases(caseId: string, caseIds: {
|
|
32
|
-
id: string;
|
|
33
|
-
relationType?: RelationTypeEnum;
|
|
34
|
-
relatedAssociationId?: string;
|
|
35
|
-
}[]): Promise<import("@d19n/odin-types/dist/types/odin.types").OdinAssociationMetaData[]>;
|
|
36
|
-
unLinkCaseCases(caseId: string, linkedCaseId: string): Promise<import("@d19n/odin-types/dist/types/odin.types").OdinLinkDeleteResponse[]>;
|
|
37
30
|
getFiles(caseId: string): Promise<any>;
|
|
38
31
|
linkCaseFiles(caseId: string, fileIds: {
|
|
39
32
|
id: string;
|
|
@@ -91,32 +91,6 @@ class CaseApi extends api_provider_1.ApiProvider {
|
|
|
91
91
|
});
|
|
92
92
|
}
|
|
93
93
|
// Use this function when you want to return a single record
|
|
94
|
-
getCases(caseId) {
|
|
95
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
96
|
-
return yield this._getLinks(this.moduleName, this.entityName, caseId, 'Case');
|
|
97
|
-
});
|
|
98
|
-
}
|
|
99
|
-
linkCaseCases(caseId, caseIds) {
|
|
100
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
101
|
-
const associationDtos = [];
|
|
102
|
-
for (const param of caseIds) {
|
|
103
|
-
associationDtos.push({
|
|
104
|
-
entity: 'SupportModule:Case',
|
|
105
|
-
recordId: param.id,
|
|
106
|
-
linkType: 'Case__Case',
|
|
107
|
-
relationType: param === null || param === void 0 ? void 0 : param.relationType,
|
|
108
|
-
relatedAssociationId: param === null || param === void 0 ? void 0 : param.relatedAssociationId
|
|
109
|
-
});
|
|
110
|
-
}
|
|
111
|
-
return yield this._createLinks(this.moduleName, this.entityName, caseId, associationDtos);
|
|
112
|
-
});
|
|
113
|
-
}
|
|
114
|
-
unLinkCaseCases(caseId, linkedCaseId) {
|
|
115
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
116
|
-
return yield this._deleteLinks(this.moduleName, this.entityName, caseId, linkedCaseId);
|
|
117
|
-
});
|
|
118
|
-
}
|
|
119
|
-
// Use this function when you want to return a single record
|
|
120
94
|
getFiles(caseId) {
|
|
121
95
|
return __awaiter(this, void 0, void 0, function* () {
|
|
122
96
|
return yield this._getLinks(this.moduleName, this.entityName, caseId, 'File');
|
|
@@ -34,11 +34,4 @@ export declare class ConsumptionRateApi extends ApiProvider {
|
|
|
34
34
|
relatedAssociationId?: string;
|
|
35
35
|
}[]): Promise<import("@d19n/odin-types/dist/types/odin.types").OdinAssociationMetaData[]>;
|
|
36
36
|
unLinkConsumptionScheduleConsumptionRates(consumptionRateId: string, linkedConsumptionScheduleId: string): Promise<import("@d19n/odin-types/dist/types/odin.types").OdinLinkDeleteResponse[]>;
|
|
37
|
-
getConsumptionRates(consumptionRateId: string): Promise<any>;
|
|
38
|
-
linkConsumptionRateConsumptionRates(consumptionRateId: string, consumptionRateIds: {
|
|
39
|
-
id: string;
|
|
40
|
-
relationType?: RelationTypeEnum;
|
|
41
|
-
relatedAssociationId?: string;
|
|
42
|
-
}[]): Promise<import("@d19n/odin-types/dist/types/odin.types").OdinAssociationMetaData[]>;
|
|
43
|
-
unLinkConsumptionRateConsumptionRates(consumptionRateId: string, linkedConsumptionRateId: string): Promise<import("@d19n/odin-types/dist/types/odin.types").OdinLinkDeleteResponse[]>;
|
|
44
37
|
}
|
|
@@ -116,31 +116,5 @@ class ConsumptionRateApi extends api_provider_1.ApiProvider {
|
|
|
116
116
|
return yield this._deleteLinks(this.moduleName, this.entityName, consumptionRateId, linkedConsumptionScheduleId);
|
|
117
117
|
});
|
|
118
118
|
}
|
|
119
|
-
// Use this function when you want to return a single record
|
|
120
|
-
getConsumptionRates(consumptionRateId) {
|
|
121
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
122
|
-
return yield this._getLinks(this.moduleName, this.entityName, consumptionRateId, 'ConsumptionRate');
|
|
123
|
-
});
|
|
124
|
-
}
|
|
125
|
-
linkConsumptionRateConsumptionRates(consumptionRateId, consumptionRateIds) {
|
|
126
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
127
|
-
const associationDtos = [];
|
|
128
|
-
for (const param of consumptionRateIds) {
|
|
129
|
-
associationDtos.push({
|
|
130
|
-
entity: 'ProductModule:ConsumptionRate',
|
|
131
|
-
recordId: param.id,
|
|
132
|
-
linkType: 'ConsumptionRate__ConsumptionRate',
|
|
133
|
-
relationType: param === null || param === void 0 ? void 0 : param.relationType,
|
|
134
|
-
relatedAssociationId: param === null || param === void 0 ? void 0 : param.relatedAssociationId
|
|
135
|
-
});
|
|
136
|
-
}
|
|
137
|
-
return yield this._createLinks(this.moduleName, this.entityName, consumptionRateId, associationDtos);
|
|
138
|
-
});
|
|
139
|
-
}
|
|
140
|
-
unLinkConsumptionRateConsumptionRates(consumptionRateId, linkedConsumptionRateId) {
|
|
141
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
142
|
-
return yield this._deleteLinks(this.moduleName, this.entityName, consumptionRateId, linkedConsumptionRateId);
|
|
143
|
-
});
|
|
144
|
-
}
|
|
145
119
|
}
|
|
146
120
|
exports.ConsumptionRateApi = ConsumptionRateApi;
|
|
@@ -41,11 +41,4 @@ export declare class ConsumptionScheduleApi extends ApiProvider {
|
|
|
41
41
|
relatedAssociationId?: string;
|
|
42
42
|
}[]): Promise<import("@d19n/odin-types/dist/types/odin.types").OdinAssociationMetaData[]>;
|
|
43
43
|
unLinkProductConsumptionSchedules(consumptionScheduleId: string, linkedProductId: string): Promise<import("@d19n/odin-types/dist/types/odin.types").OdinLinkDeleteResponse[]>;
|
|
44
|
-
getConsumptionSchedules(consumptionScheduleId: string): Promise<any>;
|
|
45
|
-
linkConsumptionScheduleConsumptionSchedules(consumptionScheduleId: string, consumptionScheduleIds: {
|
|
46
|
-
id: string;
|
|
47
|
-
relationType?: RelationTypeEnum;
|
|
48
|
-
relatedAssociationId?: string;
|
|
49
|
-
}[]): Promise<import("@d19n/odin-types/dist/types/odin.types").OdinAssociationMetaData[]>;
|
|
50
|
-
unLinkConsumptionScheduleConsumptionSchedules(consumptionScheduleId: string, linkedConsumptionScheduleId: string): Promise<import("@d19n/odin-types/dist/types/odin.types").OdinLinkDeleteResponse[]>;
|
|
51
44
|
}
|
|
@@ -142,31 +142,5 @@ class ConsumptionScheduleApi extends api_provider_1.ApiProvider {
|
|
|
142
142
|
return yield this._deleteLinks(this.moduleName, this.entityName, consumptionScheduleId, linkedProductId);
|
|
143
143
|
});
|
|
144
144
|
}
|
|
145
|
-
// Use this function when you want to return a single record
|
|
146
|
-
getConsumptionSchedules(consumptionScheduleId) {
|
|
147
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
148
|
-
return yield this._getLinks(this.moduleName, this.entityName, consumptionScheduleId, 'ConsumptionSchedule');
|
|
149
|
-
});
|
|
150
|
-
}
|
|
151
|
-
linkConsumptionScheduleConsumptionSchedules(consumptionScheduleId, consumptionScheduleIds) {
|
|
152
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
153
|
-
const associationDtos = [];
|
|
154
|
-
for (const param of consumptionScheduleIds) {
|
|
155
|
-
associationDtos.push({
|
|
156
|
-
entity: 'ProductModule:ConsumptionSchedule',
|
|
157
|
-
recordId: param.id,
|
|
158
|
-
linkType: 'ConsumptionSchedule__ConsumptionSchedule',
|
|
159
|
-
relationType: param === null || param === void 0 ? void 0 : param.relationType,
|
|
160
|
-
relatedAssociationId: param === null || param === void 0 ? void 0 : param.relatedAssociationId
|
|
161
|
-
});
|
|
162
|
-
}
|
|
163
|
-
return yield this._createLinks(this.moduleName, this.entityName, consumptionScheduleId, associationDtos);
|
|
164
|
-
});
|
|
165
|
-
}
|
|
166
|
-
unLinkConsumptionScheduleConsumptionSchedules(consumptionScheduleId, linkedConsumptionScheduleId) {
|
|
167
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
168
|
-
return yield this._deleteLinks(this.moduleName, this.entityName, consumptionScheduleId, linkedConsumptionScheduleId);
|
|
169
|
-
});
|
|
170
|
-
}
|
|
171
145
|
}
|
|
172
146
|
exports.ConsumptionScheduleApi = ConsumptionScheduleApi;
|
|
@@ -27,14 +27,13 @@ export declare class ContactApi extends ApiProvider {
|
|
|
27
27
|
update(updateDtos: OdinRecordUpdateDto[]): Promise<any[]>;
|
|
28
28
|
delete(contactIds: string[]): Promise<import("@d19n/odin-types/dist/types/odin.types").OdinDeleteResponse[]>;
|
|
29
29
|
restore(contactIds: string[]): Promise<import("@d19n/odin-types/dist/types/odin.types").OdinRestoreResponse[]>;
|
|
30
|
-
|
|
31
|
-
linkOrganizationContacts(contactId: string,
|
|
30
|
+
getOrganizations(contactId: string): Promise<any>;
|
|
31
|
+
linkOrganizationContacts(contactId: string, organizationIds: {
|
|
32
32
|
id: string;
|
|
33
33
|
relationType?: RelationTypeEnum;
|
|
34
34
|
relatedAssociationId?: string;
|
|
35
35
|
}[]): Promise<import("@d19n/odin-types/dist/types/odin.types").OdinAssociationMetaData[]>;
|
|
36
|
-
unLinkOrganizationContacts(contactId: string,
|
|
37
|
-
getOrganizations(contactId: string): Promise<any>;
|
|
36
|
+
unLinkOrganizationContacts(contactId: string, linkedOrganizationId: string): Promise<import("@d19n/odin-types/dist/types/odin.types").OdinLinkDeleteResponse[]>;
|
|
38
37
|
getAccounts(contactId: string): Promise<any>;
|
|
39
38
|
linkBillingContacts(contactId: string, accountIds: {
|
|
40
39
|
id: string;
|
|
@@ -91,17 +91,17 @@ class ContactApi extends api_provider_1.ApiProvider {
|
|
|
91
91
|
});
|
|
92
92
|
}
|
|
93
93
|
// Use this function when you want to return a single record
|
|
94
|
-
|
|
94
|
+
getOrganizations(contactId) {
|
|
95
95
|
return __awaiter(this, void 0, void 0, function* () {
|
|
96
|
-
return yield this._getLinks(this.moduleName, this.entityName, contactId, '
|
|
96
|
+
return yield this._getLinks(this.moduleName, this.entityName, contactId, 'Organization');
|
|
97
97
|
});
|
|
98
98
|
}
|
|
99
|
-
linkOrganizationContacts(contactId,
|
|
99
|
+
linkOrganizationContacts(contactId, organizationIds) {
|
|
100
100
|
return __awaiter(this, void 0, void 0, function* () {
|
|
101
101
|
const associationDtos = [];
|
|
102
|
-
for (const param of
|
|
102
|
+
for (const param of organizationIds) {
|
|
103
103
|
associationDtos.push({
|
|
104
|
-
entity: 'CrmModule:
|
|
104
|
+
entity: 'CrmModule:Organization',
|
|
105
105
|
recordId: param.id,
|
|
106
106
|
linkType: 'Organization__Contact',
|
|
107
107
|
relationType: param === null || param === void 0 ? void 0 : param.relationType,
|
|
@@ -111,15 +111,9 @@ class ContactApi extends api_provider_1.ApiProvider {
|
|
|
111
111
|
return yield this._createLinks(this.moduleName, this.entityName, contactId, associationDtos);
|
|
112
112
|
});
|
|
113
113
|
}
|
|
114
|
-
unLinkOrganizationContacts(contactId,
|
|
115
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
116
|
-
return yield this._deleteLinks(this.moduleName, this.entityName, contactId, linkedContactId);
|
|
117
|
-
});
|
|
118
|
-
}
|
|
119
|
-
// Use this function when you want to return a single record
|
|
120
|
-
getOrganizations(contactId) {
|
|
114
|
+
unLinkOrganizationContacts(contactId, linkedOrganizationId) {
|
|
121
115
|
return __awaiter(this, void 0, void 0, function* () {
|
|
122
|
-
return yield this.
|
|
116
|
+
return yield this._deleteLinks(this.moduleName, this.entityName, contactId, linkedOrganizationId);
|
|
123
117
|
});
|
|
124
118
|
}
|
|
125
119
|
// Use this function when you want to return a single record
|
|
@@ -34,13 +34,6 @@ export declare class ContactIdentityApi extends ApiProvider {
|
|
|
34
34
|
relatedAssociationId?: string;
|
|
35
35
|
}[]): Promise<import("@d19n/odin-types/dist/types/odin.types").OdinAssociationMetaData[]>;
|
|
36
36
|
unLinkContactIdentityPaymentMethods(contactIdentityId: string, linkedPaymentMethodId: string): Promise<import("@d19n/odin-types/dist/types/odin.types").OdinLinkDeleteResponse[]>;
|
|
37
|
-
getContactIdentitys(contactIdentityId: string): Promise<any>;
|
|
38
|
-
linkContactIdentityContactIdentitys(contactIdentityId: string, contactIdentityIds: {
|
|
39
|
-
id: string;
|
|
40
|
-
relationType?: RelationTypeEnum;
|
|
41
|
-
relatedAssociationId?: string;
|
|
42
|
-
}[]): Promise<import("@d19n/odin-types/dist/types/odin.types").OdinAssociationMetaData[]>;
|
|
43
|
-
unLinkContactIdentityContactIdentitys(contactIdentityId: string, linkedContactIdentityId: string): Promise<import("@d19n/odin-types/dist/types/odin.types").OdinLinkDeleteResponse[]>;
|
|
44
37
|
getContacts(contactIdentityId: string): Promise<any>;
|
|
45
38
|
linkContactContactIdentitys(contactIdentityId: string, contactIds: {
|
|
46
39
|
id: string;
|
|
@@ -117,32 +117,6 @@ class ContactIdentityApi extends api_provider_1.ApiProvider {
|
|
|
117
117
|
});
|
|
118
118
|
}
|
|
119
119
|
// Use this function when you want to return a single record
|
|
120
|
-
getContactIdentitys(contactIdentityId) {
|
|
121
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
122
|
-
return yield this._getLinks(this.moduleName, this.entityName, contactIdentityId, 'ContactIdentity');
|
|
123
|
-
});
|
|
124
|
-
}
|
|
125
|
-
linkContactIdentityContactIdentitys(contactIdentityId, contactIdentityIds) {
|
|
126
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
127
|
-
const associationDtos = [];
|
|
128
|
-
for (const param of contactIdentityIds) {
|
|
129
|
-
associationDtos.push({
|
|
130
|
-
entity: 'CrmModule:ContactIdentity',
|
|
131
|
-
recordId: param.id,
|
|
132
|
-
linkType: 'ContactIdentity__ContactIdentity',
|
|
133
|
-
relationType: param === null || param === void 0 ? void 0 : param.relationType,
|
|
134
|
-
relatedAssociationId: param === null || param === void 0 ? void 0 : param.relatedAssociationId
|
|
135
|
-
});
|
|
136
|
-
}
|
|
137
|
-
return yield this._createLinks(this.moduleName, this.entityName, contactIdentityId, associationDtos);
|
|
138
|
-
});
|
|
139
|
-
}
|
|
140
|
-
unLinkContactIdentityContactIdentitys(contactIdentityId, linkedContactIdentityId) {
|
|
141
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
142
|
-
return yield this._deleteLinks(this.moduleName, this.entityName, contactIdentityId, linkedContactIdentityId);
|
|
143
|
-
});
|
|
144
|
-
}
|
|
145
|
-
// Use this function when you want to return a single record
|
|
146
120
|
getContacts(contactIdentityId) {
|
|
147
121
|
return __awaiter(this, void 0, void 0, function* () {
|
|
148
122
|
return yield this._getLinks(this.moduleName, this.entityName, contactIdentityId, 'Contact');
|
|
@@ -27,7 +27,6 @@ export declare class FileApi extends ApiProvider {
|
|
|
27
27
|
update(updateDtos: OdinRecordUpdateDto[]): Promise<any[]>;
|
|
28
28
|
delete(fileIds: string[]): Promise<import("@d19n/odin-types/dist/types/odin.types").OdinDeleteResponse[]>;
|
|
29
29
|
restore(fileIds: string[]): Promise<import("@d19n/odin-types/dist/types/odin.types").OdinRestoreResponse[]>;
|
|
30
|
-
getFiles(fileId: string): Promise<any>;
|
|
31
30
|
getAppointments(fileId: string): Promise<any>;
|
|
32
31
|
linkAppointmentFiles(fileId: string, appointmentIds: {
|
|
33
32
|
id: string;
|
|
@@ -266,6 +265,12 @@ export declare class FileApi extends ApiProvider {
|
|
|
266
265
|
relatedAssociationId?: string;
|
|
267
266
|
}[]): Promise<import("@d19n/odin-types/dist/types/odin.types").OdinAssociationMetaData[]>;
|
|
268
267
|
unLinkFingerprintFiles(fileId: string, linkedFingerprintId: string): Promise<import("@d19n/odin-types/dist/types/odin.types").OdinLinkDeleteResponse[]>;
|
|
268
|
+
linkNoteFiles(fileId: string, noteIds: {
|
|
269
|
+
id: string;
|
|
270
|
+
relationType?: RelationTypeEnum;
|
|
271
|
+
relatedAssociationId?: string;
|
|
272
|
+
}[]): Promise<import("@d19n/odin-types/dist/types/odin.types").OdinAssociationMetaData[]>;
|
|
273
|
+
unLinkNoteFiles(fileId: string, linkedNoteId: string): Promise<import("@d19n/odin-types/dist/types/odin.types").OdinLinkDeleteResponse[]>;
|
|
269
274
|
getSweeperMaintenanceAudits(fileId: string): Promise<any>;
|
|
270
275
|
linkSweeperMaintenanceAuditFiles(fileId: string, sweeperMaintenanceAuditIds: {
|
|
271
276
|
id: string;
|
|
@@ -91,12 +91,6 @@ class FileApi extends api_provider_1.ApiProvider {
|
|
|
91
91
|
});
|
|
92
92
|
}
|
|
93
93
|
// Use this function when you want to return a single record
|
|
94
|
-
getFiles(fileId) {
|
|
95
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
96
|
-
return yield this._getLinks(this.moduleName, this.entityName, fileId, 'File');
|
|
97
|
-
});
|
|
98
|
-
}
|
|
99
|
-
// Use this function when you want to return a single record
|
|
100
94
|
getAppointments(fileId) {
|
|
101
95
|
return __awaiter(this, void 0, void 0, function* () {
|
|
102
96
|
return yield this._getLinks(this.moduleName, this.entityName, fileId, 'Appointment');
|
|
@@ -980,6 +974,26 @@ class FileApi extends api_provider_1.ApiProvider {
|
|
|
980
974
|
return yield this._deleteLinks(this.moduleName, this.entityName, fileId, linkedFingerprintId);
|
|
981
975
|
});
|
|
982
976
|
}
|
|
977
|
+
linkNoteFiles(fileId, noteIds) {
|
|
978
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
979
|
+
const associationDtos = [];
|
|
980
|
+
for (const param of noteIds) {
|
|
981
|
+
associationDtos.push({
|
|
982
|
+
entity: 'SupportModule:Note',
|
|
983
|
+
recordId: param.id,
|
|
984
|
+
linkType: 'Note__File',
|
|
985
|
+
relationType: param === null || param === void 0 ? void 0 : param.relationType,
|
|
986
|
+
relatedAssociationId: param === null || param === void 0 ? void 0 : param.relatedAssociationId
|
|
987
|
+
});
|
|
988
|
+
}
|
|
989
|
+
return yield this._createLinks(this.moduleName, this.entityName, fileId, associationDtos);
|
|
990
|
+
});
|
|
991
|
+
}
|
|
992
|
+
unLinkNoteFiles(fileId, linkedNoteId) {
|
|
993
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
994
|
+
return yield this._deleteLinks(this.moduleName, this.entityName, fileId, linkedNoteId);
|
|
995
|
+
});
|
|
996
|
+
}
|
|
983
997
|
// Use this function when you want to return a single record
|
|
984
998
|
getSweeperMaintenanceAudits(fileId) {
|
|
985
999
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -34,11 +34,4 @@ export declare class InvoiceItemApi extends ApiProvider {
|
|
|
34
34
|
relatedAssociationId?: string;
|
|
35
35
|
}[]): Promise<import("@d19n/odin-types/dist/types/odin.types").OdinAssociationMetaData[]>;
|
|
36
36
|
unLinkInvoiceInvoiceItems(invoiceItemId: string, linkedInvoiceId: string): Promise<import("@d19n/odin-types/dist/types/odin.types").OdinLinkDeleteResponse[]>;
|
|
37
|
-
getInvoiceItems(invoiceItemId: string): Promise<any>;
|
|
38
|
-
linkInvoiceItemInvoiceItems(invoiceItemId: string, invoiceItemIds: {
|
|
39
|
-
id: string;
|
|
40
|
-
relationType?: RelationTypeEnum;
|
|
41
|
-
relatedAssociationId?: string;
|
|
42
|
-
}[]): Promise<import("@d19n/odin-types/dist/types/odin.types").OdinAssociationMetaData[]>;
|
|
43
|
-
unLinkInvoiceItemInvoiceItems(invoiceItemId: string, linkedInvoiceItemId: string): Promise<import("@d19n/odin-types/dist/types/odin.types").OdinLinkDeleteResponse[]>;
|
|
44
37
|
}
|
|
@@ -116,31 +116,5 @@ class InvoiceItemApi extends api_provider_1.ApiProvider {
|
|
|
116
116
|
return yield this._deleteLinks(this.moduleName, this.entityName, invoiceItemId, linkedInvoiceId);
|
|
117
117
|
});
|
|
118
118
|
}
|
|
119
|
-
// Use this function when you want to return a single record
|
|
120
|
-
getInvoiceItems(invoiceItemId) {
|
|
121
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
122
|
-
return yield this._getLinks(this.moduleName, this.entityName, invoiceItemId, 'InvoiceItem');
|
|
123
|
-
});
|
|
124
|
-
}
|
|
125
|
-
linkInvoiceItemInvoiceItems(invoiceItemId, invoiceItemIds) {
|
|
126
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
127
|
-
const associationDtos = [];
|
|
128
|
-
for (const param of invoiceItemIds) {
|
|
129
|
-
associationDtos.push({
|
|
130
|
-
entity: 'BillingModule:InvoiceItem',
|
|
131
|
-
recordId: param.id,
|
|
132
|
-
linkType: 'InvoiceItem__InvoiceItem',
|
|
133
|
-
relationType: param === null || param === void 0 ? void 0 : param.relationType,
|
|
134
|
-
relatedAssociationId: param === null || param === void 0 ? void 0 : param.relatedAssociationId
|
|
135
|
-
});
|
|
136
|
-
}
|
|
137
|
-
return yield this._createLinks(this.moduleName, this.entityName, invoiceItemId, associationDtos);
|
|
138
|
-
});
|
|
139
|
-
}
|
|
140
|
-
unLinkInvoiceItemInvoiceItems(invoiceItemId, linkedInvoiceItemId) {
|
|
141
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
142
|
-
return yield this._deleteLinks(this.moduleName, this.entityName, invoiceItemId, linkedInvoiceItemId);
|
|
143
|
-
});
|
|
144
|
-
}
|
|
145
119
|
}
|
|
146
120
|
exports.InvoiceItemApi = InvoiceItemApi;
|
|
@@ -28,13 +28,12 @@ export declare class LeadApi extends ApiProvider {
|
|
|
28
28
|
delete(leadIds: string[]): Promise<import("@d19n/odin-types/dist/types/odin.types").OdinDeleteResponse[]>;
|
|
29
29
|
restore(leadIds: string[]): Promise<import("@d19n/odin-types/dist/types/odin.types").OdinRestoreResponse[]>;
|
|
30
30
|
getOrganizations(leadId: string): Promise<any>;
|
|
31
|
-
|
|
32
|
-
linkLeadOrganizations(leadId: string, leadIds: {
|
|
31
|
+
linkLeadOrganizations(leadId: string, organizationIds: {
|
|
33
32
|
id: string;
|
|
34
33
|
relationType?: RelationTypeEnum;
|
|
35
34
|
relatedAssociationId?: string;
|
|
36
35
|
}[]): Promise<import("@d19n/odin-types/dist/types/odin.types").OdinAssociationMetaData[]>;
|
|
37
|
-
unLinkLeadOrganizations(leadId: string,
|
|
36
|
+
unLinkLeadOrganizations(leadId: string, linkedOrganizationId: string): Promise<import("@d19n/odin-types/dist/types/odin.types").OdinLinkDeleteResponse[]>;
|
|
38
37
|
getOffers(leadId: string): Promise<any>;
|
|
39
38
|
linkLeadOffers(leadId: string, offerIds: {
|
|
40
39
|
id: string;
|
|
@@ -96,18 +96,12 @@ class LeadApi extends api_provider_1.ApiProvider {
|
|
|
96
96
|
return yield this._getLinks(this.moduleName, this.entityName, leadId, 'Organization');
|
|
97
97
|
});
|
|
98
98
|
}
|
|
99
|
-
|
|
100
|
-
getLeads(leadId) {
|
|
101
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
102
|
-
return yield this._getLinks(this.moduleName, this.entityName, leadId, 'Lead');
|
|
103
|
-
});
|
|
104
|
-
}
|
|
105
|
-
linkLeadOrganizations(leadId, leadIds) {
|
|
99
|
+
linkLeadOrganizations(leadId, organizationIds) {
|
|
106
100
|
return __awaiter(this, void 0, void 0, function* () {
|
|
107
101
|
const associationDtos = [];
|
|
108
|
-
for (const param of
|
|
102
|
+
for (const param of organizationIds) {
|
|
109
103
|
associationDtos.push({
|
|
110
|
-
entity: 'CrmModule:
|
|
104
|
+
entity: 'CrmModule:Organization',
|
|
111
105
|
recordId: param.id,
|
|
112
106
|
linkType: 'Lead__Organization',
|
|
113
107
|
relationType: param === null || param === void 0 ? void 0 : param.relationType,
|
|
@@ -117,9 +111,9 @@ class LeadApi extends api_provider_1.ApiProvider {
|
|
|
117
111
|
return yield this._createLinks(this.moduleName, this.entityName, leadId, associationDtos);
|
|
118
112
|
});
|
|
119
113
|
}
|
|
120
|
-
unLinkLeadOrganizations(leadId,
|
|
114
|
+
unLinkLeadOrganizations(leadId, linkedOrganizationId) {
|
|
121
115
|
return __awaiter(this, void 0, void 0, function* () {
|
|
122
|
-
return yield this._deleteLinks(this.moduleName, this.entityName, leadId,
|
|
116
|
+
return yield this._deleteLinks(this.moduleName, this.entityName, leadId, linkedOrganizationId);
|
|
123
117
|
});
|
|
124
118
|
}
|
|
125
119
|
// Use this function when you want to return a single record
|
|
@@ -41,13 +41,6 @@ export declare class MilestoneApi extends ApiProvider {
|
|
|
41
41
|
relatedAssociationId?: string;
|
|
42
42
|
}[]): Promise<import("@d19n/odin-types/dist/types/odin.types").OdinAssociationMetaData[]>;
|
|
43
43
|
unLinkMilestoneTasks(milestoneId: string, linkedTaskId: string): Promise<import("@d19n/odin-types/dist/types/odin.types").OdinLinkDeleteResponse[]>;
|
|
44
|
-
getMilestones(milestoneId: string): Promise<any>;
|
|
45
|
-
linkMilestoneMilestones(milestoneId: string, milestoneIds: {
|
|
46
|
-
id: string;
|
|
47
|
-
relationType?: RelationTypeEnum;
|
|
48
|
-
relatedAssociationId?: string;
|
|
49
|
-
}[]): Promise<import("@d19n/odin-types/dist/types/odin.types").OdinAssociationMetaData[]>;
|
|
50
|
-
unLinkMilestoneMilestones(milestoneId: string, linkedMilestoneId: string): Promise<import("@d19n/odin-types/dist/types/odin.types").OdinLinkDeleteResponse[]>;
|
|
51
44
|
getNotes(milestoneId: string): Promise<any>;
|
|
52
45
|
linkMilestoneNotes(milestoneId: string, noteIds: {
|
|
53
46
|
id: string;
|
|
@@ -143,32 +143,6 @@ class MilestoneApi extends api_provider_1.ApiProvider {
|
|
|
143
143
|
});
|
|
144
144
|
}
|
|
145
145
|
// Use this function when you want to return a single record
|
|
146
|
-
getMilestones(milestoneId) {
|
|
147
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
148
|
-
return yield this._getLinks(this.moduleName, this.entityName, milestoneId, 'Milestone');
|
|
149
|
-
});
|
|
150
|
-
}
|
|
151
|
-
linkMilestoneMilestones(milestoneId, milestoneIds) {
|
|
152
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
153
|
-
const associationDtos = [];
|
|
154
|
-
for (const param of milestoneIds) {
|
|
155
|
-
associationDtos.push({
|
|
156
|
-
entity: 'ProjectModule:Milestone',
|
|
157
|
-
recordId: param.id,
|
|
158
|
-
linkType: 'Milestone__Milestone',
|
|
159
|
-
relationType: param === null || param === void 0 ? void 0 : param.relationType,
|
|
160
|
-
relatedAssociationId: param === null || param === void 0 ? void 0 : param.relatedAssociationId
|
|
161
|
-
});
|
|
162
|
-
}
|
|
163
|
-
return yield this._createLinks(this.moduleName, this.entityName, milestoneId, associationDtos);
|
|
164
|
-
});
|
|
165
|
-
}
|
|
166
|
-
unLinkMilestoneMilestones(milestoneId, linkedMilestoneId) {
|
|
167
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
168
|
-
return yield this._deleteLinks(this.moduleName, this.entityName, milestoneId, linkedMilestoneId);
|
|
169
|
-
});
|
|
170
|
-
}
|
|
171
|
-
// Use this function when you want to return a single record
|
|
172
146
|
getNotes(milestoneId) {
|
|
173
147
|
return __awaiter(this, void 0, void 0, function* () {
|
|
174
148
|
return yield this._getLinks(this.moduleName, this.entityName, milestoneId, 'Note');
|
|
@@ -356,13 +356,12 @@ export declare class NoteApi extends ApiProvider {
|
|
|
356
356
|
relatedAssociationId?: string;
|
|
357
357
|
}[]): Promise<import("@d19n/odin-types/dist/types/odin.types").OdinAssociationMetaData[]>;
|
|
358
358
|
unLinkSmsMessageNotes(noteId: string, linkedSmsMessageId: string): Promise<import("@d19n/odin-types/dist/types/odin.types").OdinLinkDeleteResponse[]>;
|
|
359
|
-
|
|
360
|
-
linkNoteNotes(noteId: string, noteIds: {
|
|
359
|
+
linkNoteFiles(noteId: string, fileIds: {
|
|
361
360
|
id: string;
|
|
362
361
|
relationType?: RelationTypeEnum;
|
|
363
362
|
relatedAssociationId?: string;
|
|
364
363
|
}[]): Promise<import("@d19n/odin-types/dist/types/odin.types").OdinAssociationMetaData[]>;
|
|
365
|
-
|
|
364
|
+
unLinkNoteFiles(noteId: string, linkedFileId: string): Promise<import("@d19n/odin-types/dist/types/odin.types").OdinLinkDeleteResponse[]>;
|
|
366
365
|
getSweeperMaintenanceAudits(noteId: string): Promise<any>;
|
|
367
366
|
linkSweeperMaintenanceAuditNotes(noteId: string, sweeperMaintenanceAuditIds: {
|
|
368
367
|
id: string;
|
|
@@ -1312,20 +1312,14 @@ class NoteApi extends api_provider_1.ApiProvider {
|
|
|
1312
1312
|
return yield this._deleteLinks(this.moduleName, this.entityName, noteId, linkedSmsMessageId);
|
|
1313
1313
|
});
|
|
1314
1314
|
}
|
|
1315
|
-
|
|
1316
|
-
getNotes(noteId) {
|
|
1317
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
1318
|
-
return yield this._getLinks(this.moduleName, this.entityName, noteId, 'Note');
|
|
1319
|
-
});
|
|
1320
|
-
}
|
|
1321
|
-
linkNoteNotes(noteId, noteIds) {
|
|
1315
|
+
linkNoteFiles(noteId, fileIds) {
|
|
1322
1316
|
return __awaiter(this, void 0, void 0, function* () {
|
|
1323
1317
|
const associationDtos = [];
|
|
1324
|
-
for (const param of
|
|
1318
|
+
for (const param of fileIds) {
|
|
1325
1319
|
associationDtos.push({
|
|
1326
|
-
entity: '
|
|
1320
|
+
entity: 'SchemaModule:File',
|
|
1327
1321
|
recordId: param.id,
|
|
1328
|
-
linkType: '
|
|
1322
|
+
linkType: 'Note__File',
|
|
1329
1323
|
relationType: param === null || param === void 0 ? void 0 : param.relationType,
|
|
1330
1324
|
relatedAssociationId: param === null || param === void 0 ? void 0 : param.relatedAssociationId
|
|
1331
1325
|
});
|
|
@@ -1333,9 +1327,9 @@ class NoteApi extends api_provider_1.ApiProvider {
|
|
|
1333
1327
|
return yield this._createLinks(this.moduleName, this.entityName, noteId, associationDtos);
|
|
1334
1328
|
});
|
|
1335
1329
|
}
|
|
1336
|
-
|
|
1330
|
+
unLinkNoteFiles(noteId, linkedFileId) {
|
|
1337
1331
|
return __awaiter(this, void 0, void 0, function* () {
|
|
1338
|
-
return yield this._deleteLinks(this.moduleName, this.entityName, noteId,
|
|
1332
|
+
return yield this._deleteLinks(this.moduleName, this.entityName, noteId, linkedFileId);
|
|
1339
1333
|
});
|
|
1340
1334
|
}
|
|
1341
1335
|
// Use this function when you want to return a single record
|
|
@@ -48,13 +48,6 @@ export declare class OfferApi extends ApiProvider {
|
|
|
48
48
|
relatedAssociationId?: string;
|
|
49
49
|
}[]): Promise<import("@d19n/odin-types/dist/types/odin.types").OdinAssociationMetaData[]>;
|
|
50
50
|
unLinkOrderItemOffers(offerId: string, linkedOrderItemId: string): Promise<import("@d19n/odin-types/dist/types/odin.types").OdinLinkDeleteResponse[]>;
|
|
51
|
-
getOffers(offerId: string): Promise<any>;
|
|
52
|
-
linkOfferOffers(offerId: string, offerIds: {
|
|
53
|
-
id: string;
|
|
54
|
-
relationType?: RelationTypeEnum;
|
|
55
|
-
relatedAssociationId?: string;
|
|
56
|
-
}[]): Promise<import("@d19n/odin-types/dist/types/odin.types").OdinAssociationMetaData[]>;
|
|
57
|
-
unLinkOfferOffers(offerId: string, linkedOfferId: string): Promise<import("@d19n/odin-types/dist/types/odin.types").OdinLinkDeleteResponse[]>;
|
|
58
51
|
getDiscounts(offerId: string): Promise<any>;
|
|
59
52
|
linkOfferDiscounts(offerId: string, discountIds: {
|
|
60
53
|
id: string;
|
|
@@ -169,32 +169,6 @@ class OfferApi extends api_provider_1.ApiProvider {
|
|
|
169
169
|
});
|
|
170
170
|
}
|
|
171
171
|
// Use this function when you want to return a single record
|
|
172
|
-
getOffers(offerId) {
|
|
173
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
174
|
-
return yield this._getLinks(this.moduleName, this.entityName, offerId, 'Offer');
|
|
175
|
-
});
|
|
176
|
-
}
|
|
177
|
-
linkOfferOffers(offerId, offerIds) {
|
|
178
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
179
|
-
const associationDtos = [];
|
|
180
|
-
for (const param of offerIds) {
|
|
181
|
-
associationDtos.push({
|
|
182
|
-
entity: 'ProductModule:Offer',
|
|
183
|
-
recordId: param.id,
|
|
184
|
-
linkType: 'Offer__Offer',
|
|
185
|
-
relationType: param === null || param === void 0 ? void 0 : param.relationType,
|
|
186
|
-
relatedAssociationId: param === null || param === void 0 ? void 0 : param.relatedAssociationId
|
|
187
|
-
});
|
|
188
|
-
}
|
|
189
|
-
return yield this._createLinks(this.moduleName, this.entityName, offerId, associationDtos);
|
|
190
|
-
});
|
|
191
|
-
}
|
|
192
|
-
unLinkOfferOffers(offerId, linkedOfferId) {
|
|
193
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
194
|
-
return yield this._deleteLinks(this.moduleName, this.entityName, offerId, linkedOfferId);
|
|
195
|
-
});
|
|
196
|
-
}
|
|
197
|
-
// Use this function when you want to return a single record
|
|
198
172
|
getDiscounts(offerId) {
|
|
199
173
|
return __awaiter(this, void 0, void 0, function* () {
|
|
200
174
|
return yield this._getLinks(this.moduleName, this.entityName, offerId, 'Discount');
|