@d19n/youfibre-odin-sdk 1.0.1
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 +1 -0
- package/dist/api-sdk-v1/AccountApi.d.ts +87 -0
- package/dist/api-sdk-v1/AccountApi.js +367 -0
- package/dist/api-sdk-v1/ActivityApi.d.ts +99 -0
- package/dist/api-sdk-v1/ActivityApi.js +423 -0
- package/dist/api-sdk-v1/AddressApi.d.ts +141 -0
- package/dist/api-sdk-v1/AddressApi.js +621 -0
- package/dist/api-sdk-v1/AppointmentApi.d.ts +78 -0
- package/dist/api-sdk-v1/AppointmentApi.js +324 -0
- package/dist/api-sdk-v1/AppointmentCalendarApi.d.ts +29 -0
- package/dist/api-sdk-v1/AppointmentCalendarApi.js +93 -0
- package/dist/api-sdk-v1/BillingAdjustmentApi.d.ts +57 -0
- package/dist/api-sdk-v1/BillingAdjustmentApi.js +225 -0
- package/dist/api-sdk-v1/BillingRequestApi.d.ts +78 -0
- package/dist/api-sdk-v1/BillingRequestApi.js +324 -0
- package/dist/api-sdk-v1/BlockageReportA55Api.d.ts +50 -0
- package/dist/api-sdk-v1/BlockageReportA55Api.js +192 -0
- package/dist/api-sdk-v1/CalendarApi.d.ts +29 -0
- package/dist/api-sdk-v1/CalendarApi.js +93 -0
- package/dist/api-sdk-v1/CallApi.d.ts +57 -0
- package/dist/api-sdk-v1/CallApi.js +225 -0
- package/dist/api-sdk-v1/CaseApi.d.ts +113 -0
- package/dist/api-sdk-v1/CaseApi.js +489 -0
- package/dist/api-sdk-v1/CaseQueueListViewApi.d.ts +29 -0
- package/dist/api-sdk-v1/CaseQueueListViewApi.js +93 -0
- package/dist/api-sdk-v1/ChangeReasonApi.d.ts +64 -0
- package/dist/api-sdk-v1/ChangeReasonApi.js +258 -0
- package/dist/api-sdk-v1/ChurnRequestApi.d.ts +43 -0
- package/dist/api-sdk-v1/ChurnRequestApi.js +159 -0
- package/dist/api-sdk-v1/CommissionApi.d.ts +57 -0
- package/dist/api-sdk-v1/CommissionApi.js +225 -0
- package/dist/api-sdk-v1/ConsumptionRateApi.d.ts +43 -0
- package/dist/api-sdk-v1/ConsumptionRateApi.js +159 -0
- package/dist/api-sdk-v1/ConsumptionScheduleApi.d.ts +50 -0
- package/dist/api-sdk-v1/ConsumptionScheduleApi.js +192 -0
- package/dist/api-sdk-v1/ContactApi.d.ts +204 -0
- package/dist/api-sdk-v1/ContactApi.js +918 -0
- package/dist/api-sdk-v1/ContactIdentityApi.d.ts +57 -0
- package/dist/api-sdk-v1/ContactIdentityApi.js +225 -0
- package/dist/api-sdk-v1/CreditNoteApi.d.ts +57 -0
- package/dist/api-sdk-v1/CreditNoteApi.js +225 -0
- package/dist/api-sdk-v1/CrmDatasetApi.d.ts +73 -0
- package/dist/api-sdk-v1/CrmDatasetApi.js +301 -0
- package/dist/api-sdk-v1/CustomerDeviceAtaApi.d.ts +36 -0
- package/dist/api-sdk-v1/CustomerDeviceAtaApi.js +126 -0
- package/dist/api-sdk-v1/CustomerDeviceOntApi.d.ts +92 -0
- package/dist/api-sdk-v1/CustomerDeviceOntApi.js +390 -0
- package/dist/api-sdk-v1/CustomerDeviceOntRemovalApi.d.ts +36 -0
- package/dist/api-sdk-v1/CustomerDeviceOntRemovalApi.js +126 -0
- package/dist/api-sdk-v1/CustomerDeviceRouterApi.d.ts +71 -0
- package/dist/api-sdk-v1/CustomerDeviceRouterApi.js +291 -0
- package/dist/api-sdk-v1/CustomerPhonePortingApi.d.ts +36 -0
- package/dist/api-sdk-v1/CustomerPhonePortingApi.js +126 -0
- package/dist/api-sdk-v1/DashboardApi.d.ts +29 -0
- package/dist/api-sdk-v1/DashboardApi.js +93 -0
- package/dist/api-sdk-v1/DeactivationApprovalApi.d.ts +50 -0
- package/dist/api-sdk-v1/DeactivationApprovalApi.js +192 -0
- package/dist/api-sdk-v1/DiscountApi.d.ts +71 -0
- package/dist/api-sdk-v1/DiscountApi.js +291 -0
- package/dist/api-sdk-v1/EngineerApi.d.ts +29 -0
- package/dist/api-sdk-v1/EngineerApi.js +93 -0
- package/dist/api-sdk-v1/ExchangeApi.d.ts +50 -0
- package/dist/api-sdk-v1/ExchangeApi.js +192 -0
- package/dist/api-sdk-v1/FileApi.d.ts +323 -0
- package/dist/api-sdk-v1/FileApi.js +1479 -0
- package/dist/api-sdk-v1/FingerprintApi.d.ts +57 -0
- package/dist/api-sdk-v1/FingerprintApi.js +225 -0
- package/dist/api-sdk-v1/InternalInstallAuditApi.d.ts +50 -0
- package/dist/api-sdk-v1/InternalInstallAuditApi.js +192 -0
- package/dist/api-sdk-v1/InvoiceApi.d.ts +141 -0
- package/dist/api-sdk-v1/InvoiceApi.js +621 -0
- package/dist/api-sdk-v1/InvoiceItemApi.d.ts +43 -0
- package/dist/api-sdk-v1/InvoiceItemApi.js +159 -0
- package/dist/api-sdk-v1/LeadApi.d.ts +141 -0
- package/dist/api-sdk-v1/LeadApi.js +621 -0
- package/dist/api-sdk-v1/LinearIssueApi.d.ts +29 -0
- package/dist/api-sdk-v1/LinearIssueApi.js +93 -0
- package/dist/api-sdk-v1/MilestoneApi.d.ts +57 -0
- package/dist/api-sdk-v1/MilestoneApi.js +225 -0
- package/dist/api-sdk-v1/NetomniaFtth1StageInstallAuditApi.d.ts +50 -0
- package/dist/api-sdk-v1/NetomniaFtth1StageInstallAuditApi.js +192 -0
- package/dist/api-sdk-v1/NetomniaFtthServiceVisitSheetApi.d.ts +50 -0
- package/dist/api-sdk-v1/NetomniaFtthServiceVisitSheetApi.js +192 -0
- package/dist/api-sdk-v1/NetomniaInstallVerificationApi.d.ts +50 -0
- package/dist/api-sdk-v1/NetomniaInstallVerificationApi.js +192 -0
- package/dist/api-sdk-v1/NetworkDeviceApi.d.ts +36 -0
- package/dist/api-sdk-v1/NetworkDeviceApi.js +126 -0
- package/dist/api-sdk-v1/Noinstall3AuditOfInstallationSheetApi.d.ts +36 -0
- package/dist/api-sdk-v1/Noinstall3AuditOfInstallationSheetApi.js +126 -0
- package/dist/api-sdk-v1/NoteApi.d.ts +442 -0
- package/dist/api-sdk-v1/NoteApi.js +2040 -0
- package/dist/api-sdk-v1/OfferApi.d.ts +64 -0
- package/dist/api-sdk-v1/OfferApi.js +258 -0
- package/dist/api-sdk-v1/OhAuditOfInstallationApi.d.ts +50 -0
- package/dist/api-sdk-v1/OhAuditOfInstallationApi.js +192 -0
- package/dist/api-sdk-v1/OhExternalAuditApi.d.ts +50 -0
- package/dist/api-sdk-v1/OhExternalAuditApi.js +192 -0
- package/dist/api-sdk-v1/OhInProgressAuditApi.d.ts +50 -0
- package/dist/api-sdk-v1/OhInProgressAuditApi.js +192 -0
- package/dist/api-sdk-v1/OhInstallationAuditApi.d.ts +50 -0
- package/dist/api-sdk-v1/OhInstallationAuditApi.js +192 -0
- package/dist/api-sdk-v1/OneTouchSwitchApi.d.ts +78 -0
- package/dist/api-sdk-v1/OneTouchSwitchApi.js +324 -0
- package/dist/api-sdk-v1/OrderApi.d.ts +247 -0
- package/dist/api-sdk-v1/OrderApi.js +1121 -0
- package/dist/api-sdk-v1/OrderCheckApi.d.ts +36 -0
- package/dist/api-sdk-v1/OrderCheckApi.js +126 -0
- package/dist/api-sdk-v1/OrderItemApi.d.ts +134 -0
- package/dist/api-sdk-v1/OrderItemApi.js +588 -0
- package/dist/api-sdk-v1/OrderRemediationTaskApi.d.ts +57 -0
- package/dist/api-sdk-v1/OrderRemediationTaskApi.js +225 -0
- package/dist/api-sdk-v1/OrganizationApi.d.ts +57 -0
- package/dist/api-sdk-v1/OrganizationApi.js +225 -0
- package/dist/api-sdk-v1/OutageApi.d.ts +29 -0
- package/dist/api-sdk-v1/OutageApi.js +93 -0
- package/dist/api-sdk-v1/OverlayRealA55Api.d.ts +50 -0
- package/dist/api-sdk-v1/OverlayRealA55Api.js +192 -0
- package/dist/api-sdk-v1/PICRequestApi.d.ts +43 -0
- package/dist/api-sdk-v1/PICRequestApi.js +159 -0
- package/dist/api-sdk-v1/PaymentMethodApi.d.ts +71 -0
- package/dist/api-sdk-v1/PaymentMethodApi.js +291 -0
- package/dist/api-sdk-v1/PaymentMethodRefundApi.d.ts +85 -0
- package/dist/api-sdk-v1/PaymentMethodRefundApi.js +357 -0
- package/dist/api-sdk-v1/PermissionToFailApi.d.ts +43 -0
- package/dist/api-sdk-v1/PermissionToFailApi.js +159 -0
- package/dist/api-sdk-v1/PhoneNumberApi.d.ts +43 -0
- package/dist/api-sdk-v1/PhoneNumberApi.js +159 -0
- package/dist/api-sdk-v1/Premise2Api.d.ts +29 -0
- package/dist/api-sdk-v1/Premise2Api.js +93 -0
- package/dist/api-sdk-v1/PremiseApi.d.ts +29 -0
- package/dist/api-sdk-v1/PremiseApi.js +93 -0
- package/dist/api-sdk-v1/PriceBookApi.d.ts +44 -0
- package/dist/api-sdk-v1/PriceBookApi.js +164 -0
- package/dist/api-sdk-v1/ProductApi.d.ts +100 -0
- package/dist/api-sdk-v1/ProductApi.js +428 -0
- package/dist/api-sdk-v1/ProductComponentApi.d.ts +50 -0
- package/dist/api-sdk-v1/ProductComponentApi.js +192 -0
- package/dist/api-sdk-v1/ProgramApi.d.ts +43 -0
- package/dist/api-sdk-v1/ProgramApi.js +159 -0
- package/dist/api-sdk-v1/ProjectApi.d.ts +50 -0
- package/dist/api-sdk-v1/ProjectApi.js +192 -0
- package/dist/api-sdk-v1/QueueApi.d.ts +50 -0
- package/dist/api-sdk-v1/QueueApi.js +192 -0
- package/dist/api-sdk-v1/QueueChangeApi.d.ts +43 -0
- package/dist/api-sdk-v1/QueueChangeApi.js +159 -0
- package/dist/api-sdk-v1/RegionApi.d.ts +43 -0
- package/dist/api-sdk-v1/RegionApi.js +159 -0
- package/dist/api-sdk-v1/RemediationRequiredReasonApi.d.ts +57 -0
- package/dist/api-sdk-v1/RemediationRequiredReasonApi.js +225 -0
- package/dist/api-sdk-v1/RestrictionApi.d.ts +50 -0
- package/dist/api-sdk-v1/RestrictionApi.js +192 -0
- package/dist/api-sdk-v1/ReturnOrderApi.d.ts +43 -0
- package/dist/api-sdk-v1/ReturnOrderApi.js +159 -0
- package/dist/api-sdk-v1/SalesLeaderBoardApi.d.ts +29 -0
- package/dist/api-sdk-v1/SalesLeaderBoardApi.js +93 -0
- package/dist/api-sdk-v1/SalesTerritoryApi.d.ts +50 -0
- package/dist/api-sdk-v1/SalesTerritoryApi.js +192 -0
- package/dist/api-sdk-v1/ScheduleSlotApi.d.ts +36 -0
- package/dist/api-sdk-v1/ScheduleSlotApi.js +126 -0
- package/dist/api-sdk-v1/ServiceApi.d.ts +43 -0
- package/dist/api-sdk-v1/ServiceApi.js +159 -0
- package/dist/api-sdk-v1/ServiceAppointmentApi.d.ts +57 -0
- package/dist/api-sdk-v1/ServiceAppointmentApi.js +225 -0
- package/dist/api-sdk-v1/ServiceAppointmentConfigApi.d.ts +78 -0
- package/dist/api-sdk-v1/ServiceAppointmentConfigApi.js +324 -0
- package/dist/api-sdk-v1/ServiceVisitAuditApi.d.ts +50 -0
- package/dist/api-sdk-v1/ServiceVisitAuditApi.js +192 -0
- package/dist/api-sdk-v1/SmsMessageApi.d.ts +71 -0
- package/dist/api-sdk-v1/SmsMessageApi.js +291 -0
- package/dist/api-sdk-v1/SplitOrderApi.d.ts +50 -0
- package/dist/api-sdk-v1/SplitOrderApi.js +192 -0
- package/dist/api-sdk-v1/SubtaskApi.d.ts +43 -0
- package/dist/api-sdk-v1/SubtaskApi.js +159 -0
- package/dist/api-sdk-v1/SupportTaskApi.d.ts +36 -0
- package/dist/api-sdk-v1/SupportTaskApi.js +126 -0
- package/dist/api-sdk-v1/SweeperMaintenanceAuditApi.d.ts +50 -0
- package/dist/api-sdk-v1/SweeperMaintenanceAuditApi.js +192 -0
- package/dist/api-sdk-v1/TaskApi.d.ts +50 -0
- package/dist/api-sdk-v1/TaskApi.js +192 -0
- package/dist/api-sdk-v1/TeamApi.d.ts +43 -0
- package/dist/api-sdk-v1/TeamApi.js +159 -0
- package/dist/api-sdk-v1/TelesalesDashboardApi.d.ts +29 -0
- package/dist/api-sdk-v1/TelesalesDashboardApi.js +93 -0
- package/dist/api-sdk-v1/TimeOffApi.d.ts +36 -0
- package/dist/api-sdk-v1/TimeOffApi.js +126 -0
- package/dist/api-sdk-v1/TimeSlotApi.d.ts +36 -0
- package/dist/api-sdk-v1/TimeSlotApi.js +126 -0
- package/dist/api-sdk-v1/TransactionApi.d.ts +78 -0
- package/dist/api-sdk-v1/TransactionApi.js +324 -0
- package/dist/api-sdk-v1/UgAuditOfInstallationApi.d.ts +50 -0
- package/dist/api-sdk-v1/UgAuditOfInstallationApi.js +192 -0
- package/dist/api-sdk-v1/UgExternalAuditApi.d.ts +50 -0
- package/dist/api-sdk-v1/UgExternalAuditApi.js +192 -0
- package/dist/api-sdk-v1/UgInProgressAuditApi.d.ts +50 -0
- package/dist/api-sdk-v1/UgInProgressAuditApi.js +192 -0
- package/dist/api-sdk-v1/UgInstallationAuditApi.d.ts +50 -0
- package/dist/api-sdk-v1/UgInstallationAuditApi.js +192 -0
- package/dist/api-sdk-v1/UserApi.d.ts +106 -0
- package/dist/api-sdk-v1/UserApi.js +456 -0
- package/dist/api-sdk-v1/VendorApi.d.ts +43 -0
- package/dist/api-sdk-v1/VendorApi.js +159 -0
- package/dist/api-sdk-v1/VisitApi.d.ts +71 -0
- package/dist/api-sdk-v1/VisitApi.js +291 -0
- package/dist/api-sdk-v1/VoiceConfigurationApi.d.ts +36 -0
- package/dist/api-sdk-v1/VoiceConfigurationApi.js +126 -0
- package/dist/api-sdk-v1/WorkOrderApi.d.ts +323 -0
- package/dist/api-sdk-v1/WorkOrderApi.js +1479 -0
- package/dist/api-sdk-v1/WorkOrderRemediationViewApi.d.ts +29 -0
- package/dist/api-sdk-v1/WorkOrderRemediationViewApi.js +93 -0
- package/dist/api-sdk-v1/YfEquipmentCollectionApi.d.ts +50 -0
- package/dist/api-sdk-v1/YfEquipmentCollectionApi.js +192 -0
- package/dist/api-sdk-v1/YfFieldServiceVisitApi.d.ts +50 -0
- package/dist/api-sdk-v1/YfFieldServiceVisitApi.js +192 -0
- package/dist/db-sdk-v1/AccountDb.d.ts +78 -0
- package/dist/db-sdk-v1/AccountDb.js +357 -0
- package/dist/db-sdk-v1/ActivityDb.d.ts +90 -0
- package/dist/db-sdk-v1/ActivityDb.js +413 -0
- package/dist/db-sdk-v1/AddressDb.d.ts +132 -0
- package/dist/db-sdk-v1/AddressDb.js +611 -0
- package/dist/db-sdk-v1/AppointmentCalendarDb.d.ts +20 -0
- package/dist/db-sdk-v1/AppointmentCalendarDb.js +83 -0
- package/dist/db-sdk-v1/AppointmentDb.d.ts +69 -0
- package/dist/db-sdk-v1/AppointmentDb.js +314 -0
- package/dist/db-sdk-v1/BillingAdjustmentDb.d.ts +48 -0
- package/dist/db-sdk-v1/BillingAdjustmentDb.js +215 -0
- package/dist/db-sdk-v1/BillingRequestDb.d.ts +69 -0
- package/dist/db-sdk-v1/BillingRequestDb.js +314 -0
- package/dist/db-sdk-v1/BlockageReportA55Db.d.ts +41 -0
- package/dist/db-sdk-v1/BlockageReportA55Db.js +182 -0
- package/dist/db-sdk-v1/CalendarDb.d.ts +20 -0
- package/dist/db-sdk-v1/CalendarDb.js +83 -0
- package/dist/db-sdk-v1/CallDb.d.ts +48 -0
- package/dist/db-sdk-v1/CallDb.js +215 -0
- package/dist/db-sdk-v1/CaseDb.d.ts +104 -0
- package/dist/db-sdk-v1/CaseDb.js +479 -0
- package/dist/db-sdk-v1/CaseQueueListViewDb.d.ts +20 -0
- package/dist/db-sdk-v1/CaseQueueListViewDb.js +83 -0
- package/dist/db-sdk-v1/ChangeReasonDb.d.ts +55 -0
- package/dist/db-sdk-v1/ChangeReasonDb.js +248 -0
- package/dist/db-sdk-v1/ChurnRequestDb.d.ts +34 -0
- package/dist/db-sdk-v1/ChurnRequestDb.js +149 -0
- package/dist/db-sdk-v1/CommissionDb.d.ts +48 -0
- package/dist/db-sdk-v1/CommissionDb.js +215 -0
- package/dist/db-sdk-v1/ConsumptionRateDb.d.ts +34 -0
- package/dist/db-sdk-v1/ConsumptionRateDb.js +149 -0
- package/dist/db-sdk-v1/ConsumptionScheduleDb.d.ts +41 -0
- package/dist/db-sdk-v1/ConsumptionScheduleDb.js +182 -0
- package/dist/db-sdk-v1/ContactDb.d.ts +195 -0
- package/dist/db-sdk-v1/ContactDb.js +908 -0
- package/dist/db-sdk-v1/ContactIdentityDb.d.ts +48 -0
- package/dist/db-sdk-v1/ContactIdentityDb.js +215 -0
- package/dist/db-sdk-v1/CreditNoteDb.d.ts +48 -0
- package/dist/db-sdk-v1/CreditNoteDb.js +215 -0
- package/dist/db-sdk-v1/CrmDatasetDb.d.ts +64 -0
- package/dist/db-sdk-v1/CrmDatasetDb.js +291 -0
- package/dist/db-sdk-v1/CustomerDeviceAtaDb.d.ts +27 -0
- package/dist/db-sdk-v1/CustomerDeviceAtaDb.js +116 -0
- package/dist/db-sdk-v1/CustomerDeviceOntDb.d.ts +83 -0
- package/dist/db-sdk-v1/CustomerDeviceOntDb.js +380 -0
- package/dist/db-sdk-v1/CustomerDeviceOntRemovalDb.d.ts +27 -0
- package/dist/db-sdk-v1/CustomerDeviceOntRemovalDb.js +116 -0
- package/dist/db-sdk-v1/CustomerDeviceRouterDb.d.ts +62 -0
- package/dist/db-sdk-v1/CustomerDeviceRouterDb.js +281 -0
- package/dist/db-sdk-v1/CustomerPhonePortingDb.d.ts +27 -0
- package/dist/db-sdk-v1/CustomerPhonePortingDb.js +116 -0
- package/dist/db-sdk-v1/DashboardDb.d.ts +20 -0
- package/dist/db-sdk-v1/DashboardDb.js +83 -0
- package/dist/db-sdk-v1/DeactivationApprovalDb.d.ts +41 -0
- package/dist/db-sdk-v1/DeactivationApprovalDb.js +182 -0
- package/dist/db-sdk-v1/DiscountDb.d.ts +62 -0
- package/dist/db-sdk-v1/DiscountDb.js +281 -0
- package/dist/db-sdk-v1/EngineerDb.d.ts +20 -0
- package/dist/db-sdk-v1/EngineerDb.js +83 -0
- package/dist/db-sdk-v1/ExchangeDb.d.ts +41 -0
- package/dist/db-sdk-v1/ExchangeDb.js +182 -0
- package/dist/db-sdk-v1/FileDb.d.ts +314 -0
- package/dist/db-sdk-v1/FileDb.js +1469 -0
- package/dist/db-sdk-v1/FingerprintDb.d.ts +48 -0
- package/dist/db-sdk-v1/FingerprintDb.js +215 -0
- package/dist/db-sdk-v1/InternalInstallAuditDb.d.ts +41 -0
- package/dist/db-sdk-v1/InternalInstallAuditDb.js +182 -0
- package/dist/db-sdk-v1/InvoiceDb.d.ts +132 -0
- package/dist/db-sdk-v1/InvoiceDb.js +611 -0
- package/dist/db-sdk-v1/InvoiceItemDb.d.ts +34 -0
- package/dist/db-sdk-v1/InvoiceItemDb.js +149 -0
- package/dist/db-sdk-v1/LeadDb.d.ts +132 -0
- package/dist/db-sdk-v1/LeadDb.js +611 -0
- package/dist/db-sdk-v1/LinearIssueDb.d.ts +20 -0
- package/dist/db-sdk-v1/LinearIssueDb.js +83 -0
- package/dist/db-sdk-v1/MilestoneDb.d.ts +48 -0
- package/dist/db-sdk-v1/MilestoneDb.js +215 -0
- package/dist/db-sdk-v1/NetomniaFtth1StageInstallAuditDb.d.ts +41 -0
- package/dist/db-sdk-v1/NetomniaFtth1StageInstallAuditDb.js +182 -0
- package/dist/db-sdk-v1/NetomniaFtthServiceVisitSheetDb.d.ts +41 -0
- package/dist/db-sdk-v1/NetomniaFtthServiceVisitSheetDb.js +182 -0
- package/dist/db-sdk-v1/NetomniaInstallVerificationDb.d.ts +41 -0
- package/dist/db-sdk-v1/NetomniaInstallVerificationDb.js +182 -0
- package/dist/db-sdk-v1/NetworkDeviceDb.d.ts +27 -0
- package/dist/db-sdk-v1/NetworkDeviceDb.js +116 -0
- package/dist/db-sdk-v1/Noinstall3AuditOfInstallationSheetDb.d.ts +27 -0
- package/dist/db-sdk-v1/Noinstall3AuditOfInstallationSheetDb.js +116 -0
- package/dist/db-sdk-v1/NoteDb.d.ts +433 -0
- package/dist/db-sdk-v1/NoteDb.js +2030 -0
- package/dist/db-sdk-v1/OfferDb.d.ts +55 -0
- package/dist/db-sdk-v1/OfferDb.js +248 -0
- package/dist/db-sdk-v1/OhAuditOfInstallationDb.d.ts +41 -0
- package/dist/db-sdk-v1/OhAuditOfInstallationDb.js +182 -0
- package/dist/db-sdk-v1/OhExternalAuditDb.d.ts +41 -0
- package/dist/db-sdk-v1/OhExternalAuditDb.js +182 -0
- package/dist/db-sdk-v1/OhInProgressAuditDb.d.ts +41 -0
- package/dist/db-sdk-v1/OhInProgressAuditDb.js +182 -0
- package/dist/db-sdk-v1/OhInstallationAuditDb.d.ts +41 -0
- package/dist/db-sdk-v1/OhInstallationAuditDb.js +182 -0
- package/dist/db-sdk-v1/OneTouchSwitchDb.d.ts +69 -0
- package/dist/db-sdk-v1/OneTouchSwitchDb.js +314 -0
- package/dist/db-sdk-v1/OrderCheckDb.d.ts +27 -0
- package/dist/db-sdk-v1/OrderCheckDb.js +116 -0
- package/dist/db-sdk-v1/OrderDb.d.ts +238 -0
- package/dist/db-sdk-v1/OrderDb.js +1111 -0
- package/dist/db-sdk-v1/OrderItemDb.d.ts +125 -0
- package/dist/db-sdk-v1/OrderItemDb.js +578 -0
- package/dist/db-sdk-v1/OrderRemediationTaskDb.d.ts +48 -0
- package/dist/db-sdk-v1/OrderRemediationTaskDb.js +215 -0
- package/dist/db-sdk-v1/OrganizationDb.d.ts +48 -0
- package/dist/db-sdk-v1/OrganizationDb.js +215 -0
- package/dist/db-sdk-v1/OutageDb.d.ts +20 -0
- package/dist/db-sdk-v1/OutageDb.js +83 -0
- package/dist/db-sdk-v1/OverlayRealA55Db.d.ts +41 -0
- package/dist/db-sdk-v1/OverlayRealA55Db.js +182 -0
- package/dist/db-sdk-v1/PICRequestDb.d.ts +34 -0
- package/dist/db-sdk-v1/PICRequestDb.js +149 -0
- package/dist/db-sdk-v1/PaymentMethodDb.d.ts +62 -0
- package/dist/db-sdk-v1/PaymentMethodDb.js +281 -0
- package/dist/db-sdk-v1/PaymentMethodRefundDb.d.ts +76 -0
- package/dist/db-sdk-v1/PaymentMethodRefundDb.js +347 -0
- package/dist/db-sdk-v1/PermissionToFailDb.d.ts +34 -0
- package/dist/db-sdk-v1/PermissionToFailDb.js +149 -0
- package/dist/db-sdk-v1/PhoneNumberDb.d.ts +34 -0
- package/dist/db-sdk-v1/PhoneNumberDb.js +149 -0
- package/dist/db-sdk-v1/Premise2Db.d.ts +20 -0
- package/dist/db-sdk-v1/Premise2Db.js +83 -0
- package/dist/db-sdk-v1/PremiseDb.d.ts +20 -0
- package/dist/db-sdk-v1/PremiseDb.js +83 -0
- package/dist/db-sdk-v1/PriceBookDb.d.ts +35 -0
- package/dist/db-sdk-v1/PriceBookDb.js +154 -0
- package/dist/db-sdk-v1/ProductComponentDb.d.ts +41 -0
- package/dist/db-sdk-v1/ProductComponentDb.js +182 -0
- package/dist/db-sdk-v1/ProductDb.d.ts +91 -0
- package/dist/db-sdk-v1/ProductDb.js +418 -0
- package/dist/db-sdk-v1/ProgramDb.d.ts +34 -0
- package/dist/db-sdk-v1/ProgramDb.js +149 -0
- package/dist/db-sdk-v1/ProjectDb.d.ts +41 -0
- package/dist/db-sdk-v1/ProjectDb.js +182 -0
- package/dist/db-sdk-v1/QueueChangeDb.d.ts +34 -0
- package/dist/db-sdk-v1/QueueChangeDb.js +149 -0
- package/dist/db-sdk-v1/QueueDb.d.ts +41 -0
- package/dist/db-sdk-v1/QueueDb.js +182 -0
- package/dist/db-sdk-v1/RegionDb.d.ts +34 -0
- package/dist/db-sdk-v1/RegionDb.js +149 -0
- package/dist/db-sdk-v1/RemediationRequiredReasonDb.d.ts +48 -0
- package/dist/db-sdk-v1/RemediationRequiredReasonDb.js +215 -0
- package/dist/db-sdk-v1/RestrictionDb.d.ts +41 -0
- package/dist/db-sdk-v1/RestrictionDb.js +182 -0
- package/dist/db-sdk-v1/ReturnOrderDb.d.ts +34 -0
- package/dist/db-sdk-v1/ReturnOrderDb.js +149 -0
- package/dist/db-sdk-v1/SalesLeaderBoardDb.d.ts +20 -0
- package/dist/db-sdk-v1/SalesLeaderBoardDb.js +83 -0
- package/dist/db-sdk-v1/SalesTerritoryDb.d.ts +41 -0
- package/dist/db-sdk-v1/SalesTerritoryDb.js +182 -0
- package/dist/db-sdk-v1/ScheduleSlotDb.d.ts +27 -0
- package/dist/db-sdk-v1/ScheduleSlotDb.js +116 -0
- package/dist/db-sdk-v1/ServiceAppointmentConfigDb.d.ts +69 -0
- package/dist/db-sdk-v1/ServiceAppointmentConfigDb.js +314 -0
- package/dist/db-sdk-v1/ServiceAppointmentDb.d.ts +48 -0
- package/dist/db-sdk-v1/ServiceAppointmentDb.js +215 -0
- package/dist/db-sdk-v1/ServiceDb.d.ts +34 -0
- package/dist/db-sdk-v1/ServiceDb.js +149 -0
- package/dist/db-sdk-v1/ServiceVisitAuditDb.d.ts +41 -0
- package/dist/db-sdk-v1/ServiceVisitAuditDb.js +182 -0
- package/dist/db-sdk-v1/SmsMessageDb.d.ts +62 -0
- package/dist/db-sdk-v1/SmsMessageDb.js +281 -0
- package/dist/db-sdk-v1/SplitOrderDb.d.ts +41 -0
- package/dist/db-sdk-v1/SplitOrderDb.js +182 -0
- package/dist/db-sdk-v1/SubtaskDb.d.ts +34 -0
- package/dist/db-sdk-v1/SubtaskDb.js +149 -0
- package/dist/db-sdk-v1/SupportTaskDb.d.ts +27 -0
- package/dist/db-sdk-v1/SupportTaskDb.js +116 -0
- package/dist/db-sdk-v1/SweeperMaintenanceAuditDb.d.ts +41 -0
- package/dist/db-sdk-v1/SweeperMaintenanceAuditDb.js +182 -0
- package/dist/db-sdk-v1/TaskDb.d.ts +41 -0
- package/dist/db-sdk-v1/TaskDb.js +182 -0
- package/dist/db-sdk-v1/TeamDb.d.ts +34 -0
- package/dist/db-sdk-v1/TeamDb.js +149 -0
- package/dist/db-sdk-v1/TelesalesDashboardDb.d.ts +20 -0
- package/dist/db-sdk-v1/TelesalesDashboardDb.js +83 -0
- package/dist/db-sdk-v1/TimeOffDb.d.ts +27 -0
- package/dist/db-sdk-v1/TimeOffDb.js +116 -0
- package/dist/db-sdk-v1/TimeSlotDb.d.ts +27 -0
- package/dist/db-sdk-v1/TimeSlotDb.js +116 -0
- package/dist/db-sdk-v1/TransactionDb.d.ts +69 -0
- package/dist/db-sdk-v1/TransactionDb.js +314 -0
- package/dist/db-sdk-v1/UgAuditOfInstallationDb.d.ts +41 -0
- package/dist/db-sdk-v1/UgAuditOfInstallationDb.js +182 -0
- package/dist/db-sdk-v1/UgExternalAuditDb.d.ts +41 -0
- package/dist/db-sdk-v1/UgExternalAuditDb.js +182 -0
- package/dist/db-sdk-v1/UgInProgressAuditDb.d.ts +41 -0
- package/dist/db-sdk-v1/UgInProgressAuditDb.js +182 -0
- package/dist/db-sdk-v1/UgInstallationAuditDb.d.ts +41 -0
- package/dist/db-sdk-v1/UgInstallationAuditDb.js +182 -0
- package/dist/db-sdk-v1/UserDb.d.ts +97 -0
- package/dist/db-sdk-v1/UserDb.js +446 -0
- package/dist/db-sdk-v1/VendorDb.d.ts +34 -0
- package/dist/db-sdk-v1/VendorDb.js +149 -0
- package/dist/db-sdk-v1/VisitDb.d.ts +62 -0
- package/dist/db-sdk-v1/VisitDb.js +281 -0
- package/dist/db-sdk-v1/VoiceConfigurationDb.d.ts +27 -0
- package/dist/db-sdk-v1/VoiceConfigurationDb.js +116 -0
- package/dist/db-sdk-v1/WorkOrderDb.d.ts +314 -0
- package/dist/db-sdk-v1/WorkOrderDb.js +1469 -0
- package/dist/db-sdk-v1/WorkOrderRemediationViewDb.d.ts +20 -0
- package/dist/db-sdk-v1/WorkOrderRemediationViewDb.js +83 -0
- package/dist/db-sdk-v1/YfEquipmentCollectionDb.d.ts +41 -0
- package/dist/db-sdk-v1/YfEquipmentCollectionDb.js +182 -0
- package/dist/db-sdk-v1/YfFieldServiceVisitDb.d.ts +41 -0
- package/dist/db-sdk-v1/YfFieldServiceVisitDb.js +182 -0
- package/dist/entities-v1/Account.d.ts +96 -0
- package/dist/entities-v1/Account.js +46 -0
- package/dist/entities-v1/Activity.d.ts +94 -0
- package/dist/entities-v1/Activity.js +40 -0
- package/dist/entities-v1/Address.d.ts +207 -0
- package/dist/entities-v1/Address.js +85 -0
- package/dist/entities-v1/AddressCrmDataset.d.ts +71 -0
- package/dist/entities-v1/AddressCrmDataset.js +21 -0
- package/dist/entities-v1/Appointment.d.ts +85 -0
- package/dist/entities-v1/Appointment.js +28 -0
- package/dist/entities-v1/AppointmentCalendar.d.ts +41 -0
- package/dist/entities-v1/AppointmentCalendar.js +10 -0
- package/dist/entities-v1/BillingAdjustment.d.ts +80 -0
- package/dist/entities-v1/BillingAdjustment.js +37 -0
- package/dist/entities-v1/BillingRequest.d.ts +116 -0
- package/dist/entities-v1/BillingRequest.js +55 -0
- package/dist/entities-v1/BlockageReportA55.d.ts +96 -0
- package/dist/entities-v1/BlockageReportA55.js +50 -0
- package/dist/entities-v1/BundleProduct.d.ts +263 -0
- package/dist/entities-v1/BundleProduct.js +180 -0
- package/dist/entities-v1/BusinessAccount.d.ts +91 -0
- package/dist/entities-v1/BusinessAccount.js +41 -0
- package/dist/entities-v1/Calendar.d.ts +41 -0
- package/dist/entities-v1/Calendar.js +10 -0
- package/dist/entities-v1/Call.d.ts +75 -0
- package/dist/entities-v1/Call.js +23 -0
- package/dist/entities-v1/Case.d.ts +155 -0
- package/dist/entities-v1/Case.js +80 -0
- package/dist/entities-v1/CaseQueueListView.d.ts +41 -0
- package/dist/entities-v1/CaseQueueListView.js +10 -0
- package/dist/entities-v1/ChangeReason.d.ts +189 -0
- package/dist/entities-v1/ChangeReason.js +138 -0
- package/dist/entities-v1/ChurnRequest.d.ts +74 -0
- package/dist/entities-v1/ChurnRequest.js +36 -0
- package/dist/entities-v1/CollectionWorkOrder.d.ts +257 -0
- package/dist/entities-v1/CollectionWorkOrder.js +136 -0
- package/dist/entities-v1/Commission.d.ts +76 -0
- package/dist/entities-v1/Commission.js +32 -0
- package/dist/entities-v1/ConsumptionRate.d.ts +68 -0
- package/dist/entities-v1/ConsumptionRate.js +28 -0
- package/dist/entities-v1/ConsumptionSchedule.d.ts +69 -0
- package/dist/entities-v1/ConsumptionSchedule.js +31 -0
- package/dist/entities-v1/Contact.d.ts +204 -0
- package/dist/entities-v1/Contact.js +96 -0
- package/dist/entities-v1/ContactCrmDataset.d.ts +67 -0
- package/dist/entities-v1/ContactCrmDataset.js +21 -0
- package/dist/entities-v1/ContactIdentity.d.ts +54 -0
- package/dist/entities-v1/ContactIdentity.js +13 -0
- package/dist/entities-v1/CreditNote.d.ts +80 -0
- package/dist/entities-v1/CreditNote.js +36 -0
- package/dist/entities-v1/CrmDataset.d.ts +84 -0
- package/dist/entities-v1/CrmDataset.js +33 -0
- package/dist/entities-v1/CustomerDeviceAta.d.ts +50 -0
- package/dist/entities-v1/CustomerDeviceAta.js +16 -0
- package/dist/entities-v1/CustomerDeviceOnt.d.ts +133 -0
- package/dist/entities-v1/CustomerDeviceOnt.js +68 -0
- package/dist/entities-v1/CustomerDeviceOntRemoval.d.ts +53 -0
- package/dist/entities-v1/CustomerDeviceOntRemoval.js +20 -0
- package/dist/entities-v1/CustomerDeviceRouter.d.ts +98 -0
- package/dist/entities-v1/CustomerDeviceRouter.js +37 -0
- package/dist/entities-v1/CustomerPhonePorting.d.ts +57 -0
- package/dist/entities-v1/CustomerPhonePorting.js +17 -0
- package/dist/entities-v1/Dashboard.d.ts +41 -0
- package/dist/entities-v1/Dashboard.js +10 -0
- package/dist/entities-v1/DeactivationApproval.d.ts +55 -0
- package/dist/entities-v1/DeactivationApproval.js +14 -0
- package/dist/entities-v1/DefaultAddress.d.ts +202 -0
- package/dist/entities-v1/DefaultAddress.js +81 -0
- package/dist/entities-v1/DefaultAppointment.d.ts +82 -0
- package/dist/entities-v1/DefaultAppointment.js +24 -0
- package/dist/entities-v1/DefaultAppointmentCalendar.d.ts +38 -0
- package/dist/entities-v1/DefaultAppointmentCalendar.js +6 -0
- package/dist/entities-v1/DefaultBillingAdjustment.d.ts +77 -0
- package/dist/entities-v1/DefaultBillingAdjustment.js +33 -0
- package/dist/entities-v1/DefaultCalendar.d.ts +38 -0
- package/dist/entities-v1/DefaultCalendar.js +6 -0
- package/dist/entities-v1/DefaultCall.d.ts +72 -0
- package/dist/entities-v1/DefaultCall.js +19 -0
- package/dist/entities-v1/DefaultCase.d.ts +149 -0
- package/dist/entities-v1/DefaultCase.js +75 -0
- package/dist/entities-v1/DefaultCaseQueueListView.d.ts +38 -0
- package/dist/entities-v1/DefaultCaseQueueListView.js +6 -0
- package/dist/entities-v1/DefaultChurnRequest.d.ts +81 -0
- package/dist/entities-v1/DefaultChurnRequest.js +44 -0
- package/dist/entities-v1/DefaultCommission.d.ts +73 -0
- package/dist/entities-v1/DefaultCommission.js +28 -0
- package/dist/entities-v1/DefaultConsumptionRate.d.ts +66 -0
- package/dist/entities-v1/DefaultConsumptionRate.js +24 -0
- package/dist/entities-v1/DefaultConsumptionSchedule.d.ts +67 -0
- package/dist/entities-v1/DefaultConsumptionSchedule.js +27 -0
- package/dist/entities-v1/DefaultContact.d.ts +202 -0
- package/dist/entities-v1/DefaultContact.js +92 -0
- package/dist/entities-v1/DefaultContactIdentity.d.ts +52 -0
- package/dist/entities-v1/DefaultContactIdentity.js +9 -0
- package/dist/entities-v1/DefaultCreditNote.d.ts +77 -0
- package/dist/entities-v1/DefaultCreditNote.js +32 -0
- package/dist/entities-v1/DefaultCrmDataset.d.ts +67 -0
- package/dist/entities-v1/DefaultCrmDataset.js +21 -0
- package/dist/entities-v1/DefaultCustomerDeviceAta.d.ts +47 -0
- package/dist/entities-v1/DefaultCustomerDeviceAta.js +12 -0
- package/dist/entities-v1/DefaultCustomerDeviceOnt.d.ts +130 -0
- package/dist/entities-v1/DefaultCustomerDeviceOnt.js +64 -0
- package/dist/entities-v1/DefaultCustomerDeviceOntRemoval.d.ts +50 -0
- package/dist/entities-v1/DefaultCustomerDeviceOntRemoval.js +16 -0
- package/dist/entities-v1/DefaultCustomerDeviceRouter.d.ts +95 -0
- package/dist/entities-v1/DefaultCustomerDeviceRouter.js +33 -0
- package/dist/entities-v1/DefaultCustomerPhonePorting.d.ts +54 -0
- package/dist/entities-v1/DefaultCustomerPhonePorting.js +13 -0
- package/dist/entities-v1/DefaultDashboard.d.ts +38 -0
- package/dist/entities-v1/DefaultDashboard.js +6 -0
- package/dist/entities-v1/DefaultDeactivationApproval.d.ts +52 -0
- package/dist/entities-v1/DefaultDeactivationApproval.js +10 -0
- package/dist/entities-v1/DefaultDiscount.d.ts +84 -0
- package/dist/entities-v1/DefaultDiscount.js +32 -0
- package/dist/entities-v1/DefaultEngineer.d.ts +40 -0
- package/dist/entities-v1/DefaultEngineer.js +7 -0
- package/dist/entities-v1/DefaultExchange.d.ts +50 -0
- package/dist/entities-v1/DefaultExchange.js +9 -0
- package/dist/entities-v1/DefaultFile.d.ts +153 -0
- package/dist/entities-v1/DefaultFile.js +30 -0
- package/dist/entities-v1/DefaultFingerprint.d.ts +68 -0
- package/dist/entities-v1/DefaultFingerprint.js +17 -0
- package/dist/entities-v1/DefaultInvoice.d.ts +198 -0
- package/dist/entities-v1/DefaultInvoice.js +104 -0
- package/dist/entities-v1/DefaultInvoiceItem.d.ts +110 -0
- package/dist/entities-v1/DefaultInvoiceItem.js +56 -0
- package/dist/entities-v1/DefaultLead.d.ts +152 -0
- package/dist/entities-v1/DefaultLead.js +63 -0
- package/dist/entities-v1/DefaultLinearIssue.d.ts +38 -0
- package/dist/entities-v1/DefaultLinearIssue.js +6 -0
- package/dist/entities-v1/DefaultMilestone.d.ts +70 -0
- package/dist/entities-v1/DefaultMilestone.js +20 -0
- package/dist/entities-v1/DefaultNote.d.ts +164 -0
- package/dist/entities-v1/DefaultNote.js +10 -0
- package/dist/entities-v1/DefaultOffer.d.ts +86 -0
- package/dist/entities-v1/DefaultOffer.js +35 -0
- package/dist/entities-v1/DefaultOneTouchSwitch.d.ts +86 -0
- package/dist/entities-v1/DefaultOneTouchSwitch.js +23 -0
- package/dist/entities-v1/DefaultOrder.d.ts +314 -0
- package/dist/entities-v1/DefaultOrder.js +158 -0
- package/dist/entities-v1/DefaultOrderCheck.d.ts +68 -0
- package/dist/entities-v1/DefaultOrderCheck.js +20 -0
- package/dist/entities-v1/DefaultOrderItem.d.ts +171 -0
- package/dist/entities-v1/DefaultOrderItem.js +80 -0
- package/dist/entities-v1/DefaultOrderRemediationTask.d.ts +54 -0
- package/dist/entities-v1/DefaultOrderRemediationTask.js +10 -0
- package/dist/entities-v1/DefaultOrganization.d.ts +54 -0
- package/dist/entities-v1/DefaultOrganization.js +10 -0
- package/dist/entities-v1/DefaultOutage.d.ts +38 -0
- package/dist/entities-v1/DefaultOutage.js +6 -0
- package/dist/entities-v1/DefaultPICRequest.d.ts +82 -0
- package/dist/entities-v1/DefaultPICRequest.js +45 -0
- package/dist/entities-v1/DefaultPaymentMethod.d.ts +102 -0
- package/dist/entities-v1/DefaultPaymentMethod.js +49 -0
- package/dist/entities-v1/DefaultPaymentMethodRefund.d.ts +76 -0
- package/dist/entities-v1/DefaultPaymentMethodRefund.js +20 -0
- package/dist/entities-v1/DefaultPermissionToFail.d.ts +50 -0
- package/dist/entities-v1/DefaultPermissionToFail.js +13 -0
- package/dist/entities-v1/DefaultPhoneNumber.d.ts +44 -0
- package/dist/entities-v1/DefaultPhoneNumber.js +7 -0
- package/dist/entities-v1/DefaultPremise.d.ts +60 -0
- package/dist/entities-v1/DefaultPremise.js +17 -0
- package/dist/entities-v1/DefaultPremise2.d.ts +38 -0
- package/dist/entities-v1/DefaultPremise2.js +6 -0
- package/dist/entities-v1/DefaultPriceBook.d.ts +61 -0
- package/dist/entities-v1/DefaultPriceBook.js +22 -0
- package/dist/entities-v1/DefaultProductComponent.d.ts +95 -0
- package/dist/entities-v1/DefaultProductComponent.js +48 -0
- package/dist/entities-v1/DefaultProgram.d.ts +66 -0
- package/dist/entities-v1/DefaultProgram.js +20 -0
- package/dist/entities-v1/DefaultProject.d.ts +68 -0
- package/dist/entities-v1/DefaultProject.js +20 -0
- package/dist/entities-v1/DefaultQueue.d.ts +46 -0
- package/dist/entities-v1/DefaultQueue.js +7 -0
- package/dist/entities-v1/DefaultQueueChange.d.ts +48 -0
- package/dist/entities-v1/DefaultQueueChange.js +9 -0
- package/dist/entities-v1/DefaultRegion.d.ts +42 -0
- package/dist/entities-v1/DefaultRegion.js +6 -0
- package/dist/entities-v1/DefaultRestriction.d.ts +64 -0
- package/dist/entities-v1/DefaultRestriction.js +23 -0
- package/dist/entities-v1/DefaultReturnOrder.d.ts +44 -0
- package/dist/entities-v1/DefaultReturnOrder.js +7 -0
- package/dist/entities-v1/DefaultSalesLeaderBoard.d.ts +38 -0
- package/dist/entities-v1/DefaultSalesLeaderBoard.js +6 -0
- package/dist/entities-v1/DefaultScheduleSlot.d.ts +66 -0
- package/dist/entities-v1/DefaultScheduleSlot.js +19 -0
- package/dist/entities-v1/DefaultService.d.ts +76 -0
- package/dist/entities-v1/DefaultService.js +37 -0
- package/dist/entities-v1/DefaultServiceAppointment.d.ts +62 -0
- package/dist/entities-v1/DefaultServiceAppointment.js +17 -0
- package/dist/entities-v1/DefaultSmsMessage.d.ts +85 -0
- package/dist/entities-v1/DefaultSmsMessage.js +31 -0
- package/dist/entities-v1/DefaultSplitOrder.d.ts +46 -0
- package/dist/entities-v1/DefaultSplitOrder.js +7 -0
- package/dist/entities-v1/DefaultSubtask.d.ts +60 -0
- package/dist/entities-v1/DefaultSubtask.js +17 -0
- package/dist/entities-v1/DefaultSupportTask.d.ts +40 -0
- package/dist/entities-v1/DefaultSupportTask.js +6 -0
- package/dist/entities-v1/DefaultTask.d.ts +68 -0
- package/dist/entities-v1/DefaultTask.js +20 -0
- package/dist/entities-v1/DefaultTeam.d.ts +44 -0
- package/dist/entities-v1/DefaultTeam.js +7 -0
- package/dist/entities-v1/DefaultTelesalesDashboard.d.ts +38 -0
- package/dist/entities-v1/DefaultTelesalesDashboard.js +6 -0
- package/dist/entities-v1/DefaultTimeOff.d.ts +50 -0
- package/dist/entities-v1/DefaultTimeOff.js +14 -0
- package/dist/entities-v1/DefaultTimeSlot.d.ts +74 -0
- package/dist/entities-v1/DefaultTimeSlot.js +27 -0
- package/dist/entities-v1/DefaultTransaction.d.ts +133 -0
- package/dist/entities-v1/DefaultTransaction.js +70 -0
- package/dist/entities-v1/DefaultUser.d.ts +92 -0
- package/dist/entities-v1/DefaultUser.js +25 -0
- package/dist/entities-v1/DefaultVendor.d.ts +50 -0
- package/dist/entities-v1/DefaultVendor.js +13 -0
- package/dist/entities-v1/DefaultVisit.d.ts +149 -0
- package/dist/entities-v1/DefaultVisit.js +92 -0
- package/dist/entities-v1/DefaultVoiceConfiguration.d.ts +170 -0
- package/dist/entities-v1/DefaultVoiceConfiguration.js +114 -0
- package/dist/entities-v1/DefaultWorkOrderRemediationView.d.ts +38 -0
- package/dist/entities-v1/DefaultWorkOrderRemediationView.js +6 -0
- package/dist/entities-v1/Discount.d.ts +87 -0
- package/dist/entities-v1/Discount.js +36 -0
- package/dist/entities-v1/EmailFile.d.ts +153 -0
- package/dist/entities-v1/EmailFile.js +30 -0
- package/dist/entities-v1/Engineer.d.ts +43 -0
- package/dist/entities-v1/Engineer.js +11 -0
- package/dist/entities-v1/EventActivity.d.ts +84 -0
- package/dist/entities-v1/EventActivity.js +29 -0
- package/dist/entities-v1/Exchange.d.ts +53 -0
- package/dist/entities-v1/Exchange.js +13 -0
- package/dist/entities-v1/FieldSalesSalesTerritory.d.ts +52 -0
- package/dist/entities-v1/FieldSalesSalesTerritory.js +10 -0
- package/dist/entities-v1/File.d.ts +157 -0
- package/dist/entities-v1/File.js +35 -0
- package/dist/entities-v1/FinanceServiceAppointmentConfig.d.ts +153 -0
- package/dist/entities-v1/FinanceServiceAppointmentConfig.js +78 -0
- package/dist/entities-v1/FinanceWorkOrder.d.ts +253 -0
- package/dist/entities-v1/FinanceWorkOrder.js +134 -0
- package/dist/entities-v1/Fingerprint.d.ts +71 -0
- package/dist/entities-v1/Fingerprint.js +21 -0
- package/dist/entities-v1/GainingOneTouchSwitch.d.ts +86 -0
- package/dist/entities-v1/GainingOneTouchSwitch.js +23 -0
- package/dist/entities-v1/InboundSmsMessage.d.ts +85 -0
- package/dist/entities-v1/InboundSmsMessage.js +31 -0
- package/dist/entities-v1/InspectionWorkOrder.d.ts +271 -0
- package/dist/entities-v1/InspectionWorkOrder.js +146 -0
- package/dist/entities-v1/InstallBusinessWorkOrder.d.ts +273 -0
- package/dist/entities-v1/InstallBusinessWorkOrder.js +140 -0
- package/dist/entities-v1/InstallServiceAppointmentConfig.d.ts +153 -0
- package/dist/entities-v1/InstallServiceAppointmentConfig.js +78 -0
- package/dist/entities-v1/InstallServiceServiceAppointmentConfig.d.ts +153 -0
- package/dist/entities-v1/InstallServiceServiceAppointmentConfig.js +78 -0
- package/dist/entities-v1/InstallServiceWorkOrder.d.ts +237 -0
- package/dist/entities-v1/InstallServiceWorkOrder.js +116 -0
- package/dist/entities-v1/InstallWorkOrder.d.ts +325 -0
- package/dist/entities-v1/InstallWorkOrder.js +186 -0
- package/dist/entities-v1/InternalInstallAudit.d.ts +47 -0
- package/dist/entities-v1/InternalInstallAudit.js +10 -0
- package/dist/entities-v1/InternetProduct.d.ts +263 -0
- package/dist/entities-v1/InternetProduct.js +180 -0
- package/dist/entities-v1/Invoice.d.ts +201 -0
- package/dist/entities-v1/Invoice.js +108 -0
- package/dist/entities-v1/InvoiceItem.d.ts +112 -0
- package/dist/entities-v1/InvoiceItem.js +60 -0
- package/dist/entities-v1/LaborProduct.d.ts +263 -0
- package/dist/entities-v1/LaborProduct.js +180 -0
- package/dist/entities-v1/LandlineProduct.d.ts +263 -0
- package/dist/entities-v1/LandlineProduct.js +180 -0
- package/dist/entities-v1/Lead.d.ts +157 -0
- package/dist/entities-v1/Lead.js +67 -0
- package/dist/entities-v1/LeadCrmDataset.d.ts +74 -0
- package/dist/entities-v1/LeadCrmDataset.js +26 -0
- package/dist/entities-v1/LinearIssue.d.ts +41 -0
- package/dist/entities-v1/LinearIssue.js +10 -0
- package/dist/entities-v1/LosingOneTouchSwitch.d.ts +86 -0
- package/dist/entities-v1/LosingOneTouchSwitch.js +23 -0
- package/dist/entities-v1/MandateBillingRequest.d.ts +113 -0
- package/dist/entities-v1/MandateBillingRequest.js +50 -0
- package/dist/entities-v1/MeshProduct.d.ts +263 -0
- package/dist/entities-v1/MeshProduct.js +180 -0
- package/dist/entities-v1/Milestone.d.ts +72 -0
- package/dist/entities-v1/Milestone.js +24 -0
- package/dist/entities-v1/MobileProduct.d.ts +263 -0
- package/dist/entities-v1/MobileProduct.js +180 -0
- package/dist/entities-v1/NetomniaFtth1StageInstallAudit.d.ts +346 -0
- package/dist/entities-v1/NetomniaFtth1StageInstallAudit.js +281 -0
- package/dist/entities-v1/NetomniaFtthServiceVisitSheet.d.ts +161 -0
- package/dist/entities-v1/NetomniaFtthServiceVisitSheet.js +105 -0
- package/dist/entities-v1/NetomniaInstallVerification.d.ts +180 -0
- package/dist/entities-v1/NetomniaInstallVerification.js +120 -0
- package/dist/entities-v1/NetworkAdjustmentServiceAppointmentConfig.d.ts +153 -0
- package/dist/entities-v1/NetworkAdjustmentServiceAppointmentConfig.js +78 -0
- package/dist/entities-v1/NetworkAdjustmentWorkOrder.d.ts +253 -0
- package/dist/entities-v1/NetworkAdjustmentWorkOrder.js +132 -0
- package/dist/entities-v1/NetworkDevice.d.ts +52 -0
- package/dist/entities-v1/NetworkDevice.js +17 -0
- package/dist/entities-v1/Noinstall3AuditOfInstallationSheet.d.ts +318 -0
- package/dist/entities-v1/Noinstall3AuditOfInstallationSheet.js +275 -0
- package/dist/entities-v1/Note.d.ts +166 -0
- package/dist/entities-v1/Note.js +14 -0
- package/dist/entities-v1/NotificationActivity.d.ts +89 -0
- package/dist/entities-v1/NotificationActivity.js +34 -0
- package/dist/entities-v1/Offer.d.ts +88 -0
- package/dist/entities-v1/Offer.js +39 -0
- package/dist/entities-v1/OhAuditOfInstallation.d.ts +349 -0
- package/dist/entities-v1/OhAuditOfInstallation.js +309 -0
- package/dist/entities-v1/OhExternalAudit.d.ts +91 -0
- package/dist/entities-v1/OhExternalAudit.js +50 -0
- package/dist/entities-v1/OhInProgressAudit.d.ts +191 -0
- package/dist/entities-v1/OhInProgressAudit.js +137 -0
- package/dist/entities-v1/OhInstallationAudit.d.ts +264 -0
- package/dist/entities-v1/OhInstallationAudit.js +189 -0
- package/dist/entities-v1/OltNetworkDevice.d.ts +49 -0
- package/dist/entities-v1/OltNetworkDevice.js +13 -0
- package/dist/entities-v1/OneTouchSwitch.d.ts +91 -0
- package/dist/entities-v1/OneTouchSwitch.js +29 -0
- package/dist/entities-v1/Order.d.ts +316 -0
- package/dist/entities-v1/Order.js +162 -0
- package/dist/entities-v1/OrderCheck.d.ts +71 -0
- package/dist/entities-v1/OrderCheck.js +24 -0
- package/dist/entities-v1/OrderItem.d.ts +173 -0
- package/dist/entities-v1/OrderItem.js +84 -0
- package/dist/entities-v1/OrderRemediationTask.d.ts +57 -0
- package/dist/entities-v1/OrderRemediationTask.js +14 -0
- package/dist/entities-v1/Organization.d.ts +56 -0
- package/dist/entities-v1/Organization.js +14 -0
- package/dist/entities-v1/Outage.d.ts +41 -0
- package/dist/entities-v1/Outage.js +10 -0
- package/dist/entities-v1/OutageCase.d.ts +152 -0
- package/dist/entities-v1/OutageCase.js +75 -0
- package/dist/entities-v1/OutboundSmsMessage.d.ts +85 -0
- package/dist/entities-v1/OutboundSmsMessage.js +31 -0
- package/dist/entities-v1/OutcomeFormBlockageReportA55.d.ts +93 -0
- package/dist/entities-v1/OutcomeFormBlockageReportA55.js +46 -0
- package/dist/entities-v1/OutcomeFormInternalInstallAudit.d.ts +42 -0
- package/dist/entities-v1/OutcomeFormInternalInstallAudit.js +6 -0
- package/dist/entities-v1/OutcomeFormNetomniaFtth1StageInstallAudit.d.ts +341 -0
- package/dist/entities-v1/OutcomeFormNetomniaFtth1StageInstallAudit.js +277 -0
- package/dist/entities-v1/OutcomeFormNetomniaFtthServiceVisitSheet.d.ts +156 -0
- package/dist/entities-v1/OutcomeFormNetomniaFtthServiceVisitSheet.js +101 -0
- package/dist/entities-v1/OutcomeFormNetomniaInstallVerification.d.ts +175 -0
- package/dist/entities-v1/OutcomeFormNetomniaInstallVerification.js +116 -0
- package/dist/entities-v1/OutcomeFormNoinstall3AuditOfInstallationSheet.d.ts +313 -0
- package/dist/entities-v1/OutcomeFormNoinstall3AuditOfInstallationSheet.js +271 -0
- package/dist/entities-v1/OutcomeFormOhAuditOfInstallation.d.ts +344 -0
- package/dist/entities-v1/OutcomeFormOhAuditOfInstallation.js +304 -0
- package/dist/entities-v1/OutcomeFormOhExternalAudit.d.ts +86 -0
- package/dist/entities-v1/OutcomeFormOhExternalAudit.js +46 -0
- package/dist/entities-v1/OutcomeFormOhInProgressAudit.d.ts +186 -0
- package/dist/entities-v1/OutcomeFormOhInProgressAudit.js +133 -0
- package/dist/entities-v1/OutcomeFormOhInstallationAudit.d.ts +259 -0
- package/dist/entities-v1/OutcomeFormOhInstallationAudit.js +185 -0
- package/dist/entities-v1/OutcomeFormOverlayRealA55.d.ts +166 -0
- package/dist/entities-v1/OutcomeFormOverlayRealA55.js +108 -0
- package/dist/entities-v1/OutcomeFormRemediationRequiredReason.d.ts +79 -0
- package/dist/entities-v1/OutcomeFormRemediationRequiredReason.js +37 -0
- package/dist/entities-v1/OutcomeFormServiceVisitAudit.d.ts +130 -0
- package/dist/entities-v1/OutcomeFormServiceVisitAudit.js +71 -0
- package/dist/entities-v1/OutcomeFormSweeperMaintenanceAudit.d.ts +232 -0
- package/dist/entities-v1/OutcomeFormSweeperMaintenanceAudit.js +168 -0
- package/dist/entities-v1/OutcomeFormUgAuditOfInstallation.d.ts +330 -0
- package/dist/entities-v1/OutcomeFormUgAuditOfInstallation.js +291 -0
- package/dist/entities-v1/OutcomeFormUgExternalAudit.d.ts +88 -0
- package/dist/entities-v1/OutcomeFormUgExternalAudit.js +47 -0
- package/dist/entities-v1/OutcomeFormUgInProgressAudit.d.ts +180 -0
- package/dist/entities-v1/OutcomeFormUgInProgressAudit.js +127 -0
- package/dist/entities-v1/OutcomeFormUgInstallationAudit.d.ts +251 -0
- package/dist/entities-v1/OutcomeFormUgInstallationAudit.js +178 -0
- package/dist/entities-v1/OutcomeFormYfEquipmentCollection.d.ts +116 -0
- package/dist/entities-v1/OutcomeFormYfEquipmentCollection.js +62 -0
- package/dist/entities-v1/OutcomeFormYfFieldServiceVisit.d.ts +386 -0
- package/dist/entities-v1/OutcomeFormYfFieldServiceVisit.js +286 -0
- package/dist/entities-v1/OverlayRealA55.d.ts +171 -0
- package/dist/entities-v1/OverlayRealA55.js +112 -0
- package/dist/entities-v1/PICRequest.d.ts +75 -0
- package/dist/entities-v1/PICRequest.js +37 -0
- package/dist/entities-v1/PaymentBillingRequest.d.ts +113 -0
- package/dist/entities-v1/PaymentBillingRequest.js +50 -0
- package/dist/entities-v1/PaymentMethod.d.ts +105 -0
- package/dist/entities-v1/PaymentMethod.js +53 -0
- package/dist/entities-v1/PaymentMethodRefund.d.ts +79 -0
- package/dist/entities-v1/PaymentMethodRefund.js +24 -0
- package/dist/entities-v1/PermissionToFail.d.ts +53 -0
- package/dist/entities-v1/PermissionToFail.js +17 -0
- package/dist/entities-v1/PhoneNumber.d.ts +47 -0
- package/dist/entities-v1/PhoneNumber.js +11 -0
- package/dist/entities-v1/PlanningServiceAppointmentConfig.d.ts +153 -0
- package/dist/entities-v1/PlanningServiceAppointmentConfig.js +78 -0
- package/dist/entities-v1/PlanningWorkOrder.d.ts +255 -0
- package/dist/entities-v1/PlanningWorkOrder.js +136 -0
- package/dist/entities-v1/PrePullServiceAppointmentConfig.d.ts +153 -0
- package/dist/entities-v1/PrePullServiceAppointmentConfig.js +78 -0
- package/dist/entities-v1/PrePullWorkOrder.d.ts +261 -0
- package/dist/entities-v1/PrePullWorkOrder.js +136 -0
- package/dist/entities-v1/Premise.d.ts +63 -0
- package/dist/entities-v1/Premise.js +21 -0
- package/dist/entities-v1/Premise2.d.ts +41 -0
- package/dist/entities-v1/Premise2.js +10 -0
- package/dist/entities-v1/PriceBook.d.ts +64 -0
- package/dist/entities-v1/PriceBook.js +26 -0
- package/dist/entities-v1/PrimaryAccount.d.ts +92 -0
- package/dist/entities-v1/PrimaryAccount.js +41 -0
- package/dist/entities-v1/Product.d.ts +270 -0
- package/dist/entities-v1/Product.js +189 -0
- package/dist/entities-v1/ProductComponent.d.ts +97 -0
- package/dist/entities-v1/ProductComponent.js +52 -0
- package/dist/entities-v1/Program.d.ts +69 -0
- package/dist/entities-v1/Program.js +24 -0
- package/dist/entities-v1/Project.d.ts +71 -0
- package/dist/entities-v1/Project.js +24 -0
- package/dist/entities-v1/Queue.d.ts +49 -0
- package/dist/entities-v1/Queue.js +11 -0
- package/dist/entities-v1/QueueChange.d.ts +51 -0
- package/dist/entities-v1/QueueChange.js +13 -0
- package/dist/entities-v1/Region.d.ts +45 -0
- package/dist/entities-v1/Region.js +10 -0
- package/dist/entities-v1/RemediationRequiredReason.d.ts +82 -0
- package/dist/entities-v1/RemediationRequiredReason.js +41 -0
- package/dist/entities-v1/RemediationServiceAppointmentConfig.d.ts +153 -0
- package/dist/entities-v1/RemediationServiceAppointmentConfig.js +78 -0
- package/dist/entities-v1/RemediationWorkOrder.d.ts +260 -0
- package/dist/entities-v1/RemediationWorkOrder.js +136 -0
- package/dist/entities-v1/Restriction.d.ts +66 -0
- package/dist/entities-v1/Restriction.js +27 -0
- package/dist/entities-v1/ReturnOrder.d.ts +47 -0
- package/dist/entities-v1/ReturnOrder.js +11 -0
- package/dist/entities-v1/SaCancelChangeReason.d.ts +132 -0
- package/dist/entities-v1/SaCancelChangeReason.js +83 -0
- package/dist/entities-v1/SaRescheduleChangeReason.d.ts +134 -0
- package/dist/entities-v1/SaRescheduleChangeReason.js +82 -0
- package/dist/entities-v1/SalesLeaderBoard.d.ts +41 -0
- package/dist/entities-v1/SalesLeaderBoard.js +10 -0
- package/dist/entities-v1/SalesTerritory.d.ts +56 -0
- package/dist/entities-v1/SalesTerritory.js +15 -0
- package/dist/entities-v1/ScheduleSlot.d.ts +69 -0
- package/dist/entities-v1/ScheduleSlot.js +23 -0
- package/dist/entities-v1/Service.d.ts +78 -0
- package/dist/entities-v1/Service.js +41 -0
- package/dist/entities-v1/ServiceAppointment.d.ts +65 -0
- package/dist/entities-v1/ServiceAppointment.js +21 -0
- package/dist/entities-v1/ServiceAppointmentConfig.d.ts +164 -0
- package/dist/entities-v1/ServiceAppointmentConfig.js +90 -0
- package/dist/entities-v1/ServiceServiceAppointmentConfig.d.ts +153 -0
- package/dist/entities-v1/ServiceServiceAppointmentConfig.js +78 -0
- package/dist/entities-v1/ServiceVisitAudit.d.ts +135 -0
- package/dist/entities-v1/ServiceVisitAudit.js +75 -0
- package/dist/entities-v1/ServiceWorkOrder.d.ts +341 -0
- package/dist/entities-v1/ServiceWorkOrder.js +212 -0
- package/dist/entities-v1/SmsMessage.d.ts +90 -0
- package/dist/entities-v1/SmsMessage.js +37 -0
- package/dist/entities-v1/SplitOrder.d.ts +48 -0
- package/dist/entities-v1/SplitOrder.js +11 -0
- package/dist/entities-v1/Subtask.d.ts +63 -0
- package/dist/entities-v1/Subtask.js +21 -0
- package/dist/entities-v1/SupportTask.d.ts +43 -0
- package/dist/entities-v1/SupportTask.js +10 -0
- package/dist/entities-v1/SweeperMaintenanceAudit.d.ts +235 -0
- package/dist/entities-v1/SweeperMaintenanceAudit.js +172 -0
- package/dist/entities-v1/Task.d.ts +71 -0
- package/dist/entities-v1/Task.js +24 -0
- package/dist/entities-v1/TaskActivity.d.ts +84 -0
- package/dist/entities-v1/TaskActivity.js +29 -0
- package/dist/entities-v1/Team.d.ts +47 -0
- package/dist/entities-v1/Team.js +11 -0
- package/dist/entities-v1/TelesalesDashboard.d.ts +41 -0
- package/dist/entities-v1/TelesalesDashboard.js +10 -0
- package/dist/entities-v1/TelesalesSalesTerritory.d.ts +50 -0
- package/dist/entities-v1/TelesalesSalesTerritory.js +10 -0
- package/dist/entities-v1/TimeOff.d.ts +53 -0
- package/dist/entities-v1/TimeOff.js +18 -0
- package/dist/entities-v1/TimeSlot.d.ts +77 -0
- package/dist/entities-v1/TimeSlot.js +31 -0
- package/dist/entities-v1/Transaction.d.ts +135 -0
- package/dist/entities-v1/Transaction.js +74 -0
- package/dist/entities-v1/UgAuditOfInstallation.d.ts +335 -0
- package/dist/entities-v1/UgAuditOfInstallation.js +295 -0
- package/dist/entities-v1/UgExternalAudit.d.ts +93 -0
- package/dist/entities-v1/UgExternalAudit.js +51 -0
- package/dist/entities-v1/UgInProgressAudit.d.ts +185 -0
- package/dist/entities-v1/UgInProgressAudit.js +131 -0
- package/dist/entities-v1/UgInstallationAudit.d.ts +256 -0
- package/dist/entities-v1/UgInstallationAudit.js +182 -0
- package/dist/entities-v1/User.d.ts +95 -0
- package/dist/entities-v1/User.js +29 -0
- package/dist/entities-v1/Vendor.d.ts +53 -0
- package/dist/entities-v1/Vendor.js +17 -0
- package/dist/entities-v1/Visit.d.ts +152 -0
- package/dist/entities-v1/Visit.js +96 -0
- package/dist/entities-v1/VoiceConfiguration.d.ts +173 -0
- package/dist/entities-v1/VoiceConfiguration.js +118 -0
- package/dist/entities-v1/WayleaveServiceAppointmentConfig.d.ts +153 -0
- package/dist/entities-v1/WayleaveServiceAppointmentConfig.js +78 -0
- package/dist/entities-v1/WayleaveWorkOrder.d.ts +255 -0
- package/dist/entities-v1/WayleaveWorkOrder.js +136 -0
- package/dist/entities-v1/WorkOrder.d.ts +414 -0
- package/dist/entities-v1/WorkOrder.js +254 -0
- package/dist/entities-v1/WorkOrderRemediationView.d.ts +41 -0
- package/dist/entities-v1/WorkOrderRemediationView.js +10 -0
- package/dist/entities-v1/YfEquipmentCollection.d.ts +121 -0
- package/dist/entities-v1/YfEquipmentCollection.js +66 -0
- package/dist/entities-v1/YfFieldServiceVisit.d.ts +391 -0
- package/dist/entities-v1/YfFieldServiceVisit.js +290 -0
- package/dist/generators/runner.d.ts +1 -0
- package/dist/generators/runner.js +41 -0
- package/dist/types-v1/Types.d.ts +108 -0
- package/dist/types-v1/Types.js +112 -0
- package/package.json +20 -0
- package/src/api-sdk-v1/AccountApi.ts +365 -0
- package/src/api-sdk-v1/ActivityApi.ts +427 -0
- package/src/api-sdk-v1/AddressApi.ts +637 -0
- package/src/api-sdk-v1/AppointmentApi.ts +322 -0
- package/src/api-sdk-v1/AppointmentCalendarApi.ts +77 -0
- package/src/api-sdk-v1/BillingAdjustmentApi.ts +217 -0
- package/src/api-sdk-v1/BillingRequestApi.ts +322 -0
- package/src/api-sdk-v1/BlockageReportA55Api.ts +182 -0
- package/src/api-sdk-v1/CalendarApi.ts +77 -0
- package/src/api-sdk-v1/CallApi.ts +217 -0
- package/src/api-sdk-v1/CaseApi.ts +497 -0
- package/src/api-sdk-v1/CaseQueueListViewApi.ts +77 -0
- package/src/api-sdk-v1/ChangeReasonApi.ts +252 -0
- package/src/api-sdk-v1/ChurnRequestApi.ts +147 -0
- package/src/api-sdk-v1/CommissionApi.ts +217 -0
- package/src/api-sdk-v1/ConsumptionRateApi.ts +147 -0
- package/src/api-sdk-v1/ConsumptionScheduleApi.ts +182 -0
- package/src/api-sdk-v1/ContactApi.ts +952 -0
- package/src/api-sdk-v1/ContactIdentityApi.ts +217 -0
- package/src/api-sdk-v1/CreditNoteApi.ts +217 -0
- package/src/api-sdk-v1/CrmDatasetApi.ts +295 -0
- package/src/api-sdk-v1/CustomerDeviceAtaApi.ts +112 -0
- package/src/api-sdk-v1/CustomerDeviceOntApi.ts +392 -0
- package/src/api-sdk-v1/CustomerDeviceOntRemovalApi.ts +112 -0
- package/src/api-sdk-v1/CustomerDeviceRouterApi.ts +287 -0
- package/src/api-sdk-v1/CustomerPhonePortingApi.ts +112 -0
- package/src/api-sdk-v1/DashboardApi.ts +77 -0
- package/src/api-sdk-v1/DeactivationApprovalApi.ts +182 -0
- package/src/api-sdk-v1/DiscountApi.ts +287 -0
- package/src/api-sdk-v1/EngineerApi.ts +77 -0
- package/src/api-sdk-v1/ExchangeApi.ts +182 -0
- package/src/api-sdk-v1/FileApi.ts +1547 -0
- package/src/api-sdk-v1/FingerprintApi.ts +217 -0
- package/src/api-sdk-v1/InternalInstallAuditApi.ts +182 -0
- package/src/api-sdk-v1/InvoiceApi.ts +637 -0
- package/src/api-sdk-v1/InvoiceItemApi.ts +147 -0
- package/src/api-sdk-v1/LeadApi.ts +637 -0
- package/src/api-sdk-v1/LinearIssueApi.ts +77 -0
- package/src/api-sdk-v1/MilestoneApi.ts +217 -0
- package/src/api-sdk-v1/NetomniaFtth1StageInstallAuditApi.ts +182 -0
- package/src/api-sdk-v1/NetomniaFtthServiceVisitSheetApi.ts +182 -0
- package/src/api-sdk-v1/NetomniaInstallVerificationApi.ts +182 -0
- package/src/api-sdk-v1/NetworkDeviceApi.ts +112 -0
- package/src/api-sdk-v1/Noinstall3AuditOfInstallationSheetApi.ts +112 -0
- package/src/api-sdk-v1/NoteApi.ts +2142 -0
- package/src/api-sdk-v1/OfferApi.ts +252 -0
- package/src/api-sdk-v1/OhAuditOfInstallationApi.ts +182 -0
- package/src/api-sdk-v1/OhExternalAuditApi.ts +182 -0
- package/src/api-sdk-v1/OhInProgressAuditApi.ts +182 -0
- package/src/api-sdk-v1/OhInstallationAuditApi.ts +182 -0
- package/src/api-sdk-v1/OneTouchSwitchApi.ts +322 -0
- package/src/api-sdk-v1/OrderApi.ts +1166 -0
- package/src/api-sdk-v1/OrderCheckApi.ts +112 -0
- package/src/api-sdk-v1/OrderItemApi.ts +602 -0
- package/src/api-sdk-v1/OrderRemediationTaskApi.ts +217 -0
- package/src/api-sdk-v1/OrganizationApi.ts +217 -0
- package/src/api-sdk-v1/OutageApi.ts +77 -0
- package/src/api-sdk-v1/OverlayRealA55Api.ts +182 -0
- package/src/api-sdk-v1/PICRequestApi.ts +147 -0
- package/src/api-sdk-v1/PaymentMethodApi.ts +287 -0
- package/src/api-sdk-v1/PaymentMethodRefundApi.ts +357 -0
- package/src/api-sdk-v1/PermissionToFailApi.ts +147 -0
- package/src/api-sdk-v1/PhoneNumberApi.ts +147 -0
- package/src/api-sdk-v1/Premise2Api.ts +77 -0
- package/src/api-sdk-v1/PremiseApi.ts +77 -0
- package/src/api-sdk-v1/PriceBookApi.ts +151 -0
- package/src/api-sdk-v1/ProductApi.ts +431 -0
- package/src/api-sdk-v1/ProductComponentApi.ts +182 -0
- package/src/api-sdk-v1/ProgramApi.ts +147 -0
- package/src/api-sdk-v1/ProjectApi.ts +182 -0
- package/src/api-sdk-v1/QueueApi.ts +182 -0
- package/src/api-sdk-v1/QueueChangeApi.ts +147 -0
- package/src/api-sdk-v1/RegionApi.ts +147 -0
- package/src/api-sdk-v1/RemediationRequiredReasonApi.ts +217 -0
- package/src/api-sdk-v1/RestrictionApi.ts +182 -0
- package/src/api-sdk-v1/ReturnOrderApi.ts +147 -0
- package/src/api-sdk-v1/SalesLeaderBoardApi.ts +77 -0
- package/src/api-sdk-v1/SalesTerritoryApi.ts +182 -0
- package/src/api-sdk-v1/ScheduleSlotApi.ts +112 -0
- package/src/api-sdk-v1/ServiceApi.ts +147 -0
- package/src/api-sdk-v1/ServiceAppointmentApi.ts +217 -0
- package/src/api-sdk-v1/ServiceAppointmentConfigApi.ts +322 -0
- package/src/api-sdk-v1/ServiceVisitAuditApi.ts +182 -0
- package/src/api-sdk-v1/SmsMessageApi.ts +287 -0
- package/src/api-sdk-v1/SplitOrderApi.ts +182 -0
- package/src/api-sdk-v1/SubtaskApi.ts +147 -0
- package/src/api-sdk-v1/SupportTaskApi.ts +112 -0
- package/src/api-sdk-v1/SweeperMaintenanceAuditApi.ts +182 -0
- package/src/api-sdk-v1/TaskApi.ts +182 -0
- package/src/api-sdk-v1/TeamApi.ts +147 -0
- package/src/api-sdk-v1/TelesalesDashboardApi.ts +77 -0
- package/src/api-sdk-v1/TimeOffApi.ts +112 -0
- package/src/api-sdk-v1/TimeSlotApi.ts +112 -0
- package/src/api-sdk-v1/TransactionApi.ts +322 -0
- package/src/api-sdk-v1/UgAuditOfInstallationApi.ts +182 -0
- package/src/api-sdk-v1/UgExternalAuditApi.ts +182 -0
- package/src/api-sdk-v1/UgInProgressAuditApi.ts +182 -0
- package/src/api-sdk-v1/UgInstallationAuditApi.ts +182 -0
- package/src/api-sdk-v1/UserApi.ts +462 -0
- package/src/api-sdk-v1/VendorApi.ts +147 -0
- package/src/api-sdk-v1/VisitApi.ts +287 -0
- package/src/api-sdk-v1/VoiceConfigurationApi.ts +112 -0
- package/src/api-sdk-v1/WorkOrderApi.ts +1547 -0
- package/src/api-sdk-v1/WorkOrderRemediationViewApi.ts +77 -0
- package/src/api-sdk-v1/YfEquipmentCollectionApi.ts +182 -0
- package/src/api-sdk-v1/YfFieldServiceVisitApi.ts +182 -0
- package/src/db-sdk-v1/AccountDb.ts +355 -0
- package/src/db-sdk-v1/ActivityDb.ts +417 -0
- package/src/db-sdk-v1/AddressDb.ts +627 -0
- package/src/db-sdk-v1/AppointmentCalendarDb.ts +67 -0
- package/src/db-sdk-v1/AppointmentDb.ts +312 -0
- package/src/db-sdk-v1/BillingAdjustmentDb.ts +207 -0
- package/src/db-sdk-v1/BillingRequestDb.ts +312 -0
- package/src/db-sdk-v1/BlockageReportA55Db.ts +172 -0
- package/src/db-sdk-v1/CalendarDb.ts +67 -0
- package/src/db-sdk-v1/CallDb.ts +207 -0
- package/src/db-sdk-v1/CaseDb.ts +487 -0
- package/src/db-sdk-v1/CaseQueueListViewDb.ts +67 -0
- package/src/db-sdk-v1/ChangeReasonDb.ts +242 -0
- package/src/db-sdk-v1/ChurnRequestDb.ts +137 -0
- package/src/db-sdk-v1/CommissionDb.ts +207 -0
- package/src/db-sdk-v1/ConsumptionRateDb.ts +137 -0
- package/src/db-sdk-v1/ConsumptionScheduleDb.ts +172 -0
- package/src/db-sdk-v1/ContactDb.ts +942 -0
- package/src/db-sdk-v1/ContactIdentityDb.ts +207 -0
- package/src/db-sdk-v1/CreditNoteDb.ts +207 -0
- package/src/db-sdk-v1/CrmDatasetDb.ts +285 -0
- package/src/db-sdk-v1/CustomerDeviceAtaDb.ts +102 -0
- package/src/db-sdk-v1/CustomerDeviceOntDb.ts +382 -0
- package/src/db-sdk-v1/CustomerDeviceOntRemovalDb.ts +102 -0
- package/src/db-sdk-v1/CustomerDeviceRouterDb.ts +277 -0
- package/src/db-sdk-v1/CustomerPhonePortingDb.ts +102 -0
- package/src/db-sdk-v1/DashboardDb.ts +67 -0
- package/src/db-sdk-v1/DeactivationApprovalDb.ts +172 -0
- package/src/db-sdk-v1/DiscountDb.ts +277 -0
- package/src/db-sdk-v1/EngineerDb.ts +67 -0
- package/src/db-sdk-v1/ExchangeDb.ts +172 -0
- package/src/db-sdk-v1/FileDb.ts +1537 -0
- package/src/db-sdk-v1/FingerprintDb.ts +207 -0
- package/src/db-sdk-v1/InternalInstallAuditDb.ts +172 -0
- package/src/db-sdk-v1/InvoiceDb.ts +627 -0
- package/src/db-sdk-v1/InvoiceItemDb.ts +137 -0
- package/src/db-sdk-v1/LeadDb.ts +627 -0
- package/src/db-sdk-v1/LinearIssueDb.ts +67 -0
- package/src/db-sdk-v1/MilestoneDb.ts +207 -0
- package/src/db-sdk-v1/NetomniaFtth1StageInstallAuditDb.ts +172 -0
- package/src/db-sdk-v1/NetomniaFtthServiceVisitSheetDb.ts +172 -0
- package/src/db-sdk-v1/NetomniaInstallVerificationDb.ts +172 -0
- package/src/db-sdk-v1/NetworkDeviceDb.ts +102 -0
- package/src/db-sdk-v1/Noinstall3AuditOfInstallationSheetDb.ts +102 -0
- package/src/db-sdk-v1/NoteDb.ts +2132 -0
- package/src/db-sdk-v1/OfferDb.ts +242 -0
- package/src/db-sdk-v1/OhAuditOfInstallationDb.ts +172 -0
- package/src/db-sdk-v1/OhExternalAuditDb.ts +172 -0
- package/src/db-sdk-v1/OhInProgressAuditDb.ts +172 -0
- package/src/db-sdk-v1/OhInstallationAuditDb.ts +172 -0
- package/src/db-sdk-v1/OneTouchSwitchDb.ts +312 -0
- package/src/db-sdk-v1/OrderCheckDb.ts +102 -0
- package/src/db-sdk-v1/OrderDb.ts +1156 -0
- package/src/db-sdk-v1/OrderItemDb.ts +592 -0
- package/src/db-sdk-v1/OrderRemediationTaskDb.ts +207 -0
- package/src/db-sdk-v1/OrganizationDb.ts +207 -0
- package/src/db-sdk-v1/OutageDb.ts +67 -0
- package/src/db-sdk-v1/OverlayRealA55Db.ts +172 -0
- package/src/db-sdk-v1/PICRequestDb.ts +137 -0
- package/src/db-sdk-v1/PaymentMethodDb.ts +277 -0
- package/src/db-sdk-v1/PaymentMethodRefundDb.ts +347 -0
- package/src/db-sdk-v1/PermissionToFailDb.ts +137 -0
- package/src/db-sdk-v1/PhoneNumberDb.ts +137 -0
- package/src/db-sdk-v1/Premise2Db.ts +67 -0
- package/src/db-sdk-v1/PremiseDb.ts +67 -0
- package/src/db-sdk-v1/PriceBookDb.ts +141 -0
- package/src/db-sdk-v1/ProductComponentDb.ts +172 -0
- package/src/db-sdk-v1/ProductDb.ts +421 -0
- package/src/db-sdk-v1/ProgramDb.ts +137 -0
- package/src/db-sdk-v1/ProjectDb.ts +172 -0
- package/src/db-sdk-v1/QueueChangeDb.ts +137 -0
- package/src/db-sdk-v1/QueueDb.ts +172 -0
- package/src/db-sdk-v1/RegionDb.ts +137 -0
- package/src/db-sdk-v1/RemediationRequiredReasonDb.ts +207 -0
- package/src/db-sdk-v1/RestrictionDb.ts +172 -0
- package/src/db-sdk-v1/ReturnOrderDb.ts +137 -0
- package/src/db-sdk-v1/SalesLeaderBoardDb.ts +67 -0
- package/src/db-sdk-v1/SalesTerritoryDb.ts +172 -0
- package/src/db-sdk-v1/ScheduleSlotDb.ts +102 -0
- package/src/db-sdk-v1/ServiceAppointmentConfigDb.ts +312 -0
- package/src/db-sdk-v1/ServiceAppointmentDb.ts +207 -0
- package/src/db-sdk-v1/ServiceDb.ts +137 -0
- package/src/db-sdk-v1/ServiceVisitAuditDb.ts +172 -0
- package/src/db-sdk-v1/SmsMessageDb.ts +277 -0
- package/src/db-sdk-v1/SplitOrderDb.ts +172 -0
- package/src/db-sdk-v1/SubtaskDb.ts +137 -0
- package/src/db-sdk-v1/SupportTaskDb.ts +102 -0
- package/src/db-sdk-v1/SweeperMaintenanceAuditDb.ts +172 -0
- package/src/db-sdk-v1/TaskDb.ts +172 -0
- package/src/db-sdk-v1/TeamDb.ts +137 -0
- package/src/db-sdk-v1/TelesalesDashboardDb.ts +67 -0
- package/src/db-sdk-v1/TimeOffDb.ts +102 -0
- package/src/db-sdk-v1/TimeSlotDb.ts +102 -0
- package/src/db-sdk-v1/TransactionDb.ts +312 -0
- package/src/db-sdk-v1/UgAuditOfInstallationDb.ts +172 -0
- package/src/db-sdk-v1/UgExternalAuditDb.ts +172 -0
- package/src/db-sdk-v1/UgInProgressAuditDb.ts +172 -0
- package/src/db-sdk-v1/UgInstallationAuditDb.ts +172 -0
- package/src/db-sdk-v1/UserDb.ts +452 -0
- package/src/db-sdk-v1/VendorDb.ts +137 -0
- package/src/db-sdk-v1/VisitDb.ts +277 -0
- package/src/db-sdk-v1/VoiceConfigurationDb.ts +102 -0
- package/src/db-sdk-v1/WorkOrderDb.ts +1537 -0
- package/src/db-sdk-v1/WorkOrderRemediationViewDb.ts +67 -0
- package/src/db-sdk-v1/YfEquipmentCollectionDb.ts +172 -0
- package/src/db-sdk-v1/YfFieldServiceVisitDb.ts +172 -0
- package/src/entities-v1/Account.ts +98 -0
- package/src/entities-v1/Activity.ts +96 -0
- package/src/entities-v1/Address.ts +209 -0
- package/src/entities-v1/AddressCrmDataset.ts +74 -0
- package/src/entities-v1/Appointment.ts +87 -0
- package/src/entities-v1/AppointmentCalendar.ts +43 -0
- package/src/entities-v1/BillingAdjustment.ts +82 -0
- package/src/entities-v1/BillingRequest.ts +118 -0
- package/src/entities-v1/BlockageReportA55.ts +98 -0
- package/src/entities-v1/BundleProduct.ts +266 -0
- package/src/entities-v1/BusinessAccount.ts +94 -0
- package/src/entities-v1/Calendar.ts +43 -0
- package/src/entities-v1/Call.ts +77 -0
- package/src/entities-v1/Case.ts +157 -0
- package/src/entities-v1/CaseQueueListView.ts +43 -0
- package/src/entities-v1/ChangeReason.ts +191 -0
- package/src/entities-v1/ChurnRequest.ts +76 -0
- package/src/entities-v1/CollectionWorkOrder.ts +260 -0
- package/src/entities-v1/Commission.ts +78 -0
- package/src/entities-v1/ConsumptionRate.ts +70 -0
- package/src/entities-v1/ConsumptionSchedule.ts +71 -0
- package/src/entities-v1/Contact.ts +206 -0
- package/src/entities-v1/ContactCrmDataset.ts +70 -0
- package/src/entities-v1/ContactIdentity.ts +56 -0
- package/src/entities-v1/CreditNote.ts +82 -0
- package/src/entities-v1/CrmDataset.ts +86 -0
- package/src/entities-v1/CustomerDeviceAta.ts +52 -0
- package/src/entities-v1/CustomerDeviceOnt.ts +135 -0
- package/src/entities-v1/CustomerDeviceOntRemoval.ts +55 -0
- package/src/entities-v1/CustomerDeviceRouter.ts +100 -0
- package/src/entities-v1/CustomerPhonePorting.ts +59 -0
- package/src/entities-v1/Dashboard.ts +43 -0
- package/src/entities-v1/DeactivationApproval.ts +57 -0
- package/src/entities-v1/DefaultAddress.ts +205 -0
- package/src/entities-v1/DefaultAppointment.ts +85 -0
- package/src/entities-v1/DefaultAppointmentCalendar.ts +41 -0
- package/src/entities-v1/DefaultBillingAdjustment.ts +80 -0
- package/src/entities-v1/DefaultCalendar.ts +41 -0
- package/src/entities-v1/DefaultCall.ts +75 -0
- package/src/entities-v1/DefaultCase.ts +152 -0
- package/src/entities-v1/DefaultCaseQueueListView.ts +41 -0
- package/src/entities-v1/DefaultChurnRequest.ts +84 -0
- package/src/entities-v1/DefaultCommission.ts +76 -0
- package/src/entities-v1/DefaultConsumptionRate.ts +69 -0
- package/src/entities-v1/DefaultConsumptionSchedule.ts +70 -0
- package/src/entities-v1/DefaultContact.ts +205 -0
- package/src/entities-v1/DefaultContactIdentity.ts +55 -0
- package/src/entities-v1/DefaultCreditNote.ts +80 -0
- package/src/entities-v1/DefaultCrmDataset.ts +70 -0
- package/src/entities-v1/DefaultCustomerDeviceAta.ts +50 -0
- package/src/entities-v1/DefaultCustomerDeviceOnt.ts +133 -0
- package/src/entities-v1/DefaultCustomerDeviceOntRemoval.ts +53 -0
- package/src/entities-v1/DefaultCustomerDeviceRouter.ts +98 -0
- package/src/entities-v1/DefaultCustomerPhonePorting.ts +57 -0
- package/src/entities-v1/DefaultDashboard.ts +41 -0
- package/src/entities-v1/DefaultDeactivationApproval.ts +55 -0
- package/src/entities-v1/DefaultDiscount.ts +87 -0
- package/src/entities-v1/DefaultEngineer.ts +43 -0
- package/src/entities-v1/DefaultExchange.ts +53 -0
- package/src/entities-v1/DefaultFile.ts +156 -0
- package/src/entities-v1/DefaultFingerprint.ts +71 -0
- package/src/entities-v1/DefaultInvoice.ts +201 -0
- package/src/entities-v1/DefaultInvoiceItem.ts +113 -0
- package/src/entities-v1/DefaultLead.ts +155 -0
- package/src/entities-v1/DefaultLinearIssue.ts +41 -0
- package/src/entities-v1/DefaultMilestone.ts +73 -0
- package/src/entities-v1/DefaultNote.ts +167 -0
- package/src/entities-v1/DefaultOffer.ts +89 -0
- package/src/entities-v1/DefaultOneTouchSwitch.ts +89 -0
- package/src/entities-v1/DefaultOrder.ts +317 -0
- package/src/entities-v1/DefaultOrderCheck.ts +71 -0
- package/src/entities-v1/DefaultOrderItem.ts +174 -0
- package/src/entities-v1/DefaultOrderRemediationTask.ts +57 -0
- package/src/entities-v1/DefaultOrganization.ts +57 -0
- package/src/entities-v1/DefaultOutage.ts +41 -0
- package/src/entities-v1/DefaultPICRequest.ts +85 -0
- package/src/entities-v1/DefaultPaymentMethod.ts +105 -0
- package/src/entities-v1/DefaultPaymentMethodRefund.ts +79 -0
- package/src/entities-v1/DefaultPermissionToFail.ts +53 -0
- package/src/entities-v1/DefaultPhoneNumber.ts +47 -0
- package/src/entities-v1/DefaultPremise.ts +63 -0
- package/src/entities-v1/DefaultPremise2.ts +41 -0
- package/src/entities-v1/DefaultPriceBook.ts +64 -0
- package/src/entities-v1/DefaultProductComponent.ts +98 -0
- package/src/entities-v1/DefaultProgram.ts +69 -0
- package/src/entities-v1/DefaultProject.ts +71 -0
- package/src/entities-v1/DefaultQueue.ts +49 -0
- package/src/entities-v1/DefaultQueueChange.ts +51 -0
- package/src/entities-v1/DefaultRegion.ts +45 -0
- package/src/entities-v1/DefaultRestriction.ts +67 -0
- package/src/entities-v1/DefaultReturnOrder.ts +47 -0
- package/src/entities-v1/DefaultSalesLeaderBoard.ts +41 -0
- package/src/entities-v1/DefaultScheduleSlot.ts +69 -0
- package/src/entities-v1/DefaultService.ts +79 -0
- package/src/entities-v1/DefaultServiceAppointment.ts +65 -0
- package/src/entities-v1/DefaultSmsMessage.ts +88 -0
- package/src/entities-v1/DefaultSplitOrder.ts +49 -0
- package/src/entities-v1/DefaultSubtask.ts +63 -0
- package/src/entities-v1/DefaultSupportTask.ts +43 -0
- package/src/entities-v1/DefaultTask.ts +71 -0
- package/src/entities-v1/DefaultTeam.ts +47 -0
- package/src/entities-v1/DefaultTelesalesDashboard.ts +41 -0
- package/src/entities-v1/DefaultTimeOff.ts +53 -0
- package/src/entities-v1/DefaultTimeSlot.ts +77 -0
- package/src/entities-v1/DefaultTransaction.ts +136 -0
- package/src/entities-v1/DefaultUser.ts +95 -0
- package/src/entities-v1/DefaultVendor.ts +53 -0
- package/src/entities-v1/DefaultVisit.ts +151 -0
- package/src/entities-v1/DefaultVoiceConfiguration.ts +173 -0
- package/src/entities-v1/DefaultWorkOrderRemediationView.ts +41 -0
- package/src/entities-v1/Discount.ts +89 -0
- package/src/entities-v1/EmailFile.ts +156 -0
- package/src/entities-v1/Engineer.ts +45 -0
- package/src/entities-v1/EventActivity.ts +87 -0
- package/src/entities-v1/Exchange.ts +55 -0
- package/src/entities-v1/FieldSalesSalesTerritory.ts +55 -0
- package/src/entities-v1/File.ts +159 -0
- package/src/entities-v1/FinanceServiceAppointmentConfig.ts +156 -0
- package/src/entities-v1/FinanceWorkOrder.ts +256 -0
- package/src/entities-v1/Fingerprint.ts +73 -0
- package/src/entities-v1/GainingOneTouchSwitch.ts +89 -0
- package/src/entities-v1/InboundSmsMessage.ts +88 -0
- package/src/entities-v1/InspectionWorkOrder.ts +274 -0
- package/src/entities-v1/InstallBusinessWorkOrder.ts +276 -0
- package/src/entities-v1/InstallServiceAppointmentConfig.ts +156 -0
- package/src/entities-v1/InstallServiceServiceAppointmentConfig.ts +156 -0
- package/src/entities-v1/InstallServiceWorkOrder.ts +240 -0
- package/src/entities-v1/InstallWorkOrder.ts +328 -0
- package/src/entities-v1/InternalInstallAudit.ts +49 -0
- package/src/entities-v1/InternetProduct.ts +266 -0
- package/src/entities-v1/Invoice.ts +203 -0
- package/src/entities-v1/InvoiceItem.ts +114 -0
- package/src/entities-v1/LaborProduct.ts +266 -0
- package/src/entities-v1/LandlineProduct.ts +266 -0
- package/src/entities-v1/Lead.ts +159 -0
- package/src/entities-v1/LeadCrmDataset.ts +77 -0
- package/src/entities-v1/LinearIssue.ts +43 -0
- package/src/entities-v1/LosingOneTouchSwitch.ts +89 -0
- package/src/entities-v1/MandateBillingRequest.ts +116 -0
- package/src/entities-v1/MeshProduct.ts +266 -0
- package/src/entities-v1/Milestone.ts +74 -0
- package/src/entities-v1/MobileProduct.ts +266 -0
- package/src/entities-v1/NetomniaFtth1StageInstallAudit.ts +348 -0
- package/src/entities-v1/NetomniaFtthServiceVisitSheet.ts +163 -0
- package/src/entities-v1/NetomniaInstallVerification.ts +182 -0
- package/src/entities-v1/NetworkAdjustmentServiceAppointmentConfig.ts +156 -0
- package/src/entities-v1/NetworkAdjustmentWorkOrder.ts +256 -0
- package/src/entities-v1/NetworkDevice.ts +54 -0
- package/src/entities-v1/Noinstall3AuditOfInstallationSheet.ts +320 -0
- package/src/entities-v1/Note.ts +168 -0
- package/src/entities-v1/NotificationActivity.ts +92 -0
- package/src/entities-v1/Offer.ts +90 -0
- package/src/entities-v1/OhAuditOfInstallation.ts +351 -0
- package/src/entities-v1/OhExternalAudit.ts +93 -0
- package/src/entities-v1/OhInProgressAudit.ts +193 -0
- package/src/entities-v1/OhInstallationAudit.ts +266 -0
- package/src/entities-v1/OltNetworkDevice.ts +52 -0
- package/src/entities-v1/OneTouchSwitch.ts +93 -0
- package/src/entities-v1/Order.ts +318 -0
- package/src/entities-v1/OrderCheck.ts +73 -0
- package/src/entities-v1/OrderItem.ts +175 -0
- package/src/entities-v1/OrderRemediationTask.ts +59 -0
- package/src/entities-v1/Organization.ts +58 -0
- package/src/entities-v1/Outage.ts +43 -0
- package/src/entities-v1/OutageCase.ts +155 -0
- package/src/entities-v1/OutboundSmsMessage.ts +88 -0
- package/src/entities-v1/OutcomeFormBlockageReportA55.ts +96 -0
- package/src/entities-v1/OutcomeFormInternalInstallAudit.ts +45 -0
- package/src/entities-v1/OutcomeFormNetomniaFtth1StageInstallAudit.ts +344 -0
- package/src/entities-v1/OutcomeFormNetomniaFtthServiceVisitSheet.ts +159 -0
- package/src/entities-v1/OutcomeFormNetomniaInstallVerification.ts +178 -0
- package/src/entities-v1/OutcomeFormNoinstall3AuditOfInstallationSheet.ts +316 -0
- package/src/entities-v1/OutcomeFormOhAuditOfInstallation.ts +347 -0
- package/src/entities-v1/OutcomeFormOhExternalAudit.ts +89 -0
- package/src/entities-v1/OutcomeFormOhInProgressAudit.ts +189 -0
- package/src/entities-v1/OutcomeFormOhInstallationAudit.ts +262 -0
- package/src/entities-v1/OutcomeFormOverlayRealA55.ts +169 -0
- package/src/entities-v1/OutcomeFormRemediationRequiredReason.ts +82 -0
- package/src/entities-v1/OutcomeFormServiceVisitAudit.ts +133 -0
- package/src/entities-v1/OutcomeFormSweeperMaintenanceAudit.ts +235 -0
- package/src/entities-v1/OutcomeFormUgAuditOfInstallation.ts +333 -0
- package/src/entities-v1/OutcomeFormUgExternalAudit.ts +91 -0
- package/src/entities-v1/OutcomeFormUgInProgressAudit.ts +183 -0
- package/src/entities-v1/OutcomeFormUgInstallationAudit.ts +254 -0
- package/src/entities-v1/OutcomeFormYfEquipmentCollection.ts +119 -0
- package/src/entities-v1/OutcomeFormYfFieldServiceVisit.ts +389 -0
- package/src/entities-v1/OverlayRealA55.ts +173 -0
- package/src/entities-v1/PICRequest.ts +77 -0
- package/src/entities-v1/PaymentBillingRequest.ts +116 -0
- package/src/entities-v1/PaymentMethod.ts +107 -0
- package/src/entities-v1/PaymentMethodRefund.ts +81 -0
- package/src/entities-v1/PermissionToFail.ts +55 -0
- package/src/entities-v1/PhoneNumber.ts +49 -0
- package/src/entities-v1/PlanningServiceAppointmentConfig.ts +156 -0
- package/src/entities-v1/PlanningWorkOrder.ts +258 -0
- package/src/entities-v1/PrePullServiceAppointmentConfig.ts +156 -0
- package/src/entities-v1/PrePullWorkOrder.ts +264 -0
- package/src/entities-v1/Premise.ts +65 -0
- package/src/entities-v1/Premise2.ts +43 -0
- package/src/entities-v1/PriceBook.ts +66 -0
- package/src/entities-v1/PrimaryAccount.ts +95 -0
- package/src/entities-v1/Product.ts +272 -0
- package/src/entities-v1/ProductComponent.ts +99 -0
- package/src/entities-v1/Program.ts +71 -0
- package/src/entities-v1/Project.ts +73 -0
- package/src/entities-v1/Queue.ts +51 -0
- package/src/entities-v1/QueueChange.ts +53 -0
- package/src/entities-v1/Region.ts +47 -0
- package/src/entities-v1/RemediationRequiredReason.ts +84 -0
- package/src/entities-v1/RemediationServiceAppointmentConfig.ts +156 -0
- package/src/entities-v1/RemediationWorkOrder.ts +263 -0
- package/src/entities-v1/Restriction.ts +68 -0
- package/src/entities-v1/ReturnOrder.ts +49 -0
- package/src/entities-v1/SaCancelChangeReason.ts +135 -0
- package/src/entities-v1/SaRescheduleChangeReason.ts +137 -0
- package/src/entities-v1/SalesLeaderBoard.ts +43 -0
- package/src/entities-v1/SalesTerritory.ts +58 -0
- package/src/entities-v1/ScheduleSlot.ts +71 -0
- package/src/entities-v1/Service.ts +80 -0
- package/src/entities-v1/ServiceAppointment.ts +67 -0
- package/src/entities-v1/ServiceAppointmentConfig.ts +166 -0
- package/src/entities-v1/ServiceServiceAppointmentConfig.ts +156 -0
- package/src/entities-v1/ServiceVisitAudit.ts +137 -0
- package/src/entities-v1/ServiceWorkOrder.ts +344 -0
- package/src/entities-v1/SmsMessage.ts +92 -0
- package/src/entities-v1/SplitOrder.ts +50 -0
- package/src/entities-v1/Subtask.ts +65 -0
- package/src/entities-v1/SupportTask.ts +45 -0
- package/src/entities-v1/SweeperMaintenanceAudit.ts +237 -0
- package/src/entities-v1/Task.ts +73 -0
- package/src/entities-v1/TaskActivity.ts +87 -0
- package/src/entities-v1/Team.ts +49 -0
- package/src/entities-v1/TelesalesDashboard.ts +43 -0
- package/src/entities-v1/TelesalesSalesTerritory.ts +53 -0
- package/src/entities-v1/TimeOff.ts +55 -0
- package/src/entities-v1/TimeSlot.ts +79 -0
- package/src/entities-v1/Transaction.ts +137 -0
- package/src/entities-v1/UgAuditOfInstallation.ts +337 -0
- package/src/entities-v1/UgExternalAudit.ts +95 -0
- package/src/entities-v1/UgInProgressAudit.ts +187 -0
- package/src/entities-v1/UgInstallationAudit.ts +258 -0
- package/src/entities-v1/User.ts +97 -0
- package/src/entities-v1/Vendor.ts +55 -0
- package/src/entities-v1/Visit.ts +153 -0
- package/src/entities-v1/VoiceConfiguration.ts +175 -0
- package/src/entities-v1/WayleaveServiceAppointmentConfig.ts +156 -0
- package/src/entities-v1/WayleaveWorkOrder.ts +258 -0
- package/src/entities-v1/WorkOrder.ts +416 -0
- package/src/entities-v1/WorkOrderRemediationView.ts +43 -0
- package/src/entities-v1/YfEquipmentCollection.ts +123 -0
- package/src/entities-v1/YfFieldServiceVisit.ts +393 -0
- package/src/generators/runner.ts +34 -0
- package/src/types-v1/Types.ts +111 -0
- package/tsconfig.json +109 -0
|
@@ -0,0 +1,1547 @@
|
|
|
1
|
+
|
|
2
|
+
import { OauthParams } from '@d19n/odin-sdk-generator/dist/api.interfaces';
|
|
3
|
+
import { ApiProvider } from '@d19n/odin-sdk-generator/dist/api.provider';
|
|
4
|
+
import { OdinSearchV2 } from '@d19n/odin-types/dist/interfaces/v2.db.interfaces';
|
|
5
|
+
import { BatchDeleteParam, BatchRestoreParam, OdinRecordCreateDto, OdinRecordUpdateDto, OdinLinkedRecordUpdateDto, RelationTypeEnum } from '@d19n/odin-types/dist/dtos/odin.dtos';
|
|
6
|
+
|
|
7
|
+
export class FileApi extends ApiProvider {
|
|
8
|
+
|
|
9
|
+
private readonly moduleName: string = 'SchemaModule';
|
|
10
|
+
private readonly entityName: string = 'File';
|
|
11
|
+
|
|
12
|
+
constructor(protected readonly authParams: OauthParams) {
|
|
13
|
+
super(authParams);
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
public async schema() {
|
|
18
|
+
return await this.getSchema(this.moduleName, this.entityName);
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
// Use this function when you want to search and handle all pagination on your own
|
|
22
|
+
public async searchRecords(params: Partial<OdinSearchV2>) {
|
|
23
|
+
return await this._searchRecords(this.moduleName, this.entityName, params);
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
// Use this function to re-index records in elastic search
|
|
27
|
+
public async reIndexRecords(body: { id: string, schemaId: string }[]) {
|
|
28
|
+
return await this._reIndexRecords(body);
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
// Use this function when you want paginating through the results to be handled
|
|
32
|
+
public async searchAllRecordsAndPaginate(params: Partial<OdinSearchV2>) {
|
|
33
|
+
return await this._searchAllRecordsAndPaginate(this.moduleName, this.entityName, params);
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
// Use this function when you want to return a single record
|
|
37
|
+
public async getByPrimaryKey(fileId: string) {
|
|
38
|
+
return await this._getByPrimaryKey(this.moduleName, this.entityName, fileId);
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
// Use this function when you want to return the versions for a single record
|
|
42
|
+
public async getVersions(fileId: string) {
|
|
43
|
+
return await this._getVersions(this.moduleName, this.entityName, fileId);
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
// Use this function when you want to return the change history for a single record
|
|
47
|
+
public async getRevisionTimeline(fileId: string) {
|
|
48
|
+
return await this._getRevisionTimeline(this.moduleName, this.entityName, fileId);
|
|
49
|
+
}
|
|
50
|
+
|
|
51
|
+
// Use this function when you want to return many records by primaryKeys
|
|
52
|
+
public async getManyByPrimaryKey(fileIds: string[]) {
|
|
53
|
+
return await this._getManyByPrimaryKey(this.moduleName, this.entityName, fileIds);
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
// Use this function when you want to upsert one or many records
|
|
57
|
+
public async upsert(upsertDtos: OdinRecordCreateDto[]) {
|
|
58
|
+
return await this._upsert(this.moduleName, this.entityName, upsertDtos);
|
|
59
|
+
}
|
|
60
|
+
|
|
61
|
+
// Use this function when you want to update one or many records
|
|
62
|
+
public async update(updateDtos: OdinRecordUpdateDto[]) {
|
|
63
|
+
return await this._update(this.moduleName, this.entityName, updateDtos);
|
|
64
|
+
}
|
|
65
|
+
|
|
66
|
+
// Use this function when you want to delete one or many records
|
|
67
|
+
public async delete(fileIds: string[]) {
|
|
68
|
+
return await this._delete(this.moduleName, this.entityName, fileIds);
|
|
69
|
+
}
|
|
70
|
+
|
|
71
|
+
// Use this function when you want to restore one or many records
|
|
72
|
+
public async restore(fileIds: string[]) {
|
|
73
|
+
return await this._restore(this.moduleName, this.entityName, fileIds);
|
|
74
|
+
}
|
|
75
|
+
|
|
76
|
+
|
|
77
|
+
// Use this function when you want to return a single record
|
|
78
|
+
public async getAppointments(fileId: string) {
|
|
79
|
+
return await this._getLinks(this.moduleName, this.entityName, fileId, 'Appointment');
|
|
80
|
+
}
|
|
81
|
+
|
|
82
|
+
public async addAppointmentFiles(fileId: string, appointmentIds: {id: string, relationType?: RelationTypeEnum, relatedAssociationId?: string}[]) {
|
|
83
|
+
|
|
84
|
+
const associationDtos = [];
|
|
85
|
+
for(const param of appointmentIds){
|
|
86
|
+
associationDtos.push({
|
|
87
|
+
entity: 'CrmModule:Appointment',
|
|
88
|
+
recordId: param.id,
|
|
89
|
+
linkType: 'Appointment__File',
|
|
90
|
+
relationType: param?.relationType,
|
|
91
|
+
relatedAssociationId: param?.relatedAssociationId
|
|
92
|
+
});
|
|
93
|
+
}
|
|
94
|
+
|
|
95
|
+
return await this._createLinks(this.moduleName, this.entityName, fileId, associationDtos);
|
|
96
|
+
}
|
|
97
|
+
|
|
98
|
+
public async removeAppointmentFiles(fileId: string, appointmentIds: string[]) {
|
|
99
|
+
|
|
100
|
+
const associationDtos = [];
|
|
101
|
+
for(const pk of appointmentIds){
|
|
102
|
+
associationDtos.push({
|
|
103
|
+
entity: 'CrmModule:Appointment',
|
|
104
|
+
recordId: pk,
|
|
105
|
+
});
|
|
106
|
+
}
|
|
107
|
+
|
|
108
|
+
return await this._deleteLinks(this.moduleName, this.entityName, fileId, associationDtos);
|
|
109
|
+
}
|
|
110
|
+
|
|
111
|
+
|
|
112
|
+
// Use this function when you want to return a single record
|
|
113
|
+
public async getUgExternalAudits(fileId: string) {
|
|
114
|
+
return await this._getLinks(this.moduleName, this.entityName, fileId, 'UgExternalAudit');
|
|
115
|
+
}
|
|
116
|
+
|
|
117
|
+
public async addUgExternalAuditFiles(fileId: string, ugExternalAuditIds: {id: string, relationType?: RelationTypeEnum, relatedAssociationId?: string}[]) {
|
|
118
|
+
|
|
119
|
+
const associationDtos = [];
|
|
120
|
+
for(const param of ugExternalAuditIds){
|
|
121
|
+
associationDtos.push({
|
|
122
|
+
entity: 'FieldServiceModule:UgExternalAudit',
|
|
123
|
+
recordId: param.id,
|
|
124
|
+
linkType: 'UgExternalAudit_File',
|
|
125
|
+
relationType: param?.relationType,
|
|
126
|
+
relatedAssociationId: param?.relatedAssociationId
|
|
127
|
+
});
|
|
128
|
+
}
|
|
129
|
+
|
|
130
|
+
return await this._createLinks(this.moduleName, this.entityName, fileId, associationDtos);
|
|
131
|
+
}
|
|
132
|
+
|
|
133
|
+
public async removeUgExternalAuditFiles(fileId: string, ugExternalAuditIds: string[]) {
|
|
134
|
+
|
|
135
|
+
const associationDtos = [];
|
|
136
|
+
for(const pk of ugExternalAuditIds){
|
|
137
|
+
associationDtos.push({
|
|
138
|
+
entity: 'FieldServiceModule:UgExternalAudit',
|
|
139
|
+
recordId: pk,
|
|
140
|
+
});
|
|
141
|
+
}
|
|
142
|
+
|
|
143
|
+
return await this._deleteLinks(this.moduleName, this.entityName, fileId, associationDtos);
|
|
144
|
+
}
|
|
145
|
+
|
|
146
|
+
|
|
147
|
+
// Use this function when you want to return a single record
|
|
148
|
+
public async getNotes(fileId: string) {
|
|
149
|
+
return await this._getLinks(this.moduleName, this.entityName, fileId, 'Note');
|
|
150
|
+
}
|
|
151
|
+
|
|
152
|
+
public async addFileNotes(fileId: string, noteIds: {id: string, relationType?: RelationTypeEnum, relatedAssociationId?: string}[]) {
|
|
153
|
+
|
|
154
|
+
const associationDtos = [];
|
|
155
|
+
for(const param of noteIds){
|
|
156
|
+
associationDtos.push({
|
|
157
|
+
entity: 'SupportModule:Note',
|
|
158
|
+
recordId: param.id,
|
|
159
|
+
linkType: 'File__Note',
|
|
160
|
+
relationType: param?.relationType,
|
|
161
|
+
relatedAssociationId: param?.relatedAssociationId
|
|
162
|
+
});
|
|
163
|
+
}
|
|
164
|
+
|
|
165
|
+
return await this._createLinks(this.moduleName, this.entityName, fileId, associationDtos);
|
|
166
|
+
}
|
|
167
|
+
|
|
168
|
+
public async removeFileNotes(fileId: string, noteIds: string[]) {
|
|
169
|
+
|
|
170
|
+
const associationDtos = [];
|
|
171
|
+
for(const pk of noteIds){
|
|
172
|
+
associationDtos.push({
|
|
173
|
+
entity: 'SupportModule:Note',
|
|
174
|
+
recordId: pk,
|
|
175
|
+
});
|
|
176
|
+
}
|
|
177
|
+
|
|
178
|
+
return await this._deleteLinks(this.moduleName, this.entityName, fileId, associationDtos);
|
|
179
|
+
}
|
|
180
|
+
|
|
181
|
+
|
|
182
|
+
// Use this function when you want to return a single record
|
|
183
|
+
public async getWorkOrders(fileId: string) {
|
|
184
|
+
return await this._getLinks(this.moduleName, this.entityName, fileId, 'WorkOrder');
|
|
185
|
+
}
|
|
186
|
+
|
|
187
|
+
public async addWorkOrderFiles(fileId: string, workOrderIds: {id: string, relationType?: RelationTypeEnum, relatedAssociationId?: string}[]) {
|
|
188
|
+
|
|
189
|
+
const associationDtos = [];
|
|
190
|
+
for(const param of workOrderIds){
|
|
191
|
+
associationDtos.push({
|
|
192
|
+
entity: 'FieldServiceModule:WorkOrder',
|
|
193
|
+
recordId: param.id,
|
|
194
|
+
linkType: 'WorkOrder__File',
|
|
195
|
+
relationType: param?.relationType,
|
|
196
|
+
relatedAssociationId: param?.relatedAssociationId
|
|
197
|
+
});
|
|
198
|
+
}
|
|
199
|
+
|
|
200
|
+
return await this._createLinks(this.moduleName, this.entityName, fileId, associationDtos);
|
|
201
|
+
}
|
|
202
|
+
|
|
203
|
+
public async removeWorkOrderFiles(fileId: string, workOrderIds: string[]) {
|
|
204
|
+
|
|
205
|
+
const associationDtos = [];
|
|
206
|
+
for(const pk of workOrderIds){
|
|
207
|
+
associationDtos.push({
|
|
208
|
+
entity: 'FieldServiceModule:WorkOrder',
|
|
209
|
+
recordId: pk,
|
|
210
|
+
});
|
|
211
|
+
}
|
|
212
|
+
|
|
213
|
+
return await this._deleteLinks(this.moduleName, this.entityName, fileId, associationDtos);
|
|
214
|
+
}
|
|
215
|
+
|
|
216
|
+
|
|
217
|
+
// Use this function when you want to return a single record
|
|
218
|
+
public async getInternalInstallAudits(fileId: string) {
|
|
219
|
+
return await this._getLinks(this.moduleName, this.entityName, fileId, 'InternalInstallAudit');
|
|
220
|
+
}
|
|
221
|
+
|
|
222
|
+
public async addInternalInstallAuditFiles(fileId: string, internalInstallAuditIds: {id: string, relationType?: RelationTypeEnum, relatedAssociationId?: string}[]) {
|
|
223
|
+
|
|
224
|
+
const associationDtos = [];
|
|
225
|
+
for(const param of internalInstallAuditIds){
|
|
226
|
+
associationDtos.push({
|
|
227
|
+
entity: 'FieldServiceModule:InternalInstallAudit',
|
|
228
|
+
recordId: param.id,
|
|
229
|
+
linkType: 'InternalInstallAudit_File',
|
|
230
|
+
relationType: param?.relationType,
|
|
231
|
+
relatedAssociationId: param?.relatedAssociationId
|
|
232
|
+
});
|
|
233
|
+
}
|
|
234
|
+
|
|
235
|
+
return await this._createLinks(this.moduleName, this.entityName, fileId, associationDtos);
|
|
236
|
+
}
|
|
237
|
+
|
|
238
|
+
public async removeInternalInstallAuditFiles(fileId: string, internalInstallAuditIds: string[]) {
|
|
239
|
+
|
|
240
|
+
const associationDtos = [];
|
|
241
|
+
for(const pk of internalInstallAuditIds){
|
|
242
|
+
associationDtos.push({
|
|
243
|
+
entity: 'FieldServiceModule:InternalInstallAudit',
|
|
244
|
+
recordId: pk,
|
|
245
|
+
});
|
|
246
|
+
}
|
|
247
|
+
|
|
248
|
+
return await this._deleteLinks(this.moduleName, this.entityName, fileId, associationDtos);
|
|
249
|
+
}
|
|
250
|
+
|
|
251
|
+
|
|
252
|
+
// Use this function when you want to return a single record
|
|
253
|
+
public async getCases(fileId: string) {
|
|
254
|
+
return await this._getLinks(this.moduleName, this.entityName, fileId, 'Case');
|
|
255
|
+
}
|
|
256
|
+
|
|
257
|
+
public async addCaseFiles(fileId: string, caseIds: {id: string, relationType?: RelationTypeEnum, relatedAssociationId?: string}[]) {
|
|
258
|
+
|
|
259
|
+
const associationDtos = [];
|
|
260
|
+
for(const param of caseIds){
|
|
261
|
+
associationDtos.push({
|
|
262
|
+
entity: 'SupportModule:Case',
|
|
263
|
+
recordId: param.id,
|
|
264
|
+
linkType: 'Case__File',
|
|
265
|
+
relationType: param?.relationType,
|
|
266
|
+
relatedAssociationId: param?.relatedAssociationId
|
|
267
|
+
});
|
|
268
|
+
}
|
|
269
|
+
|
|
270
|
+
return await this._createLinks(this.moduleName, this.entityName, fileId, associationDtos);
|
|
271
|
+
}
|
|
272
|
+
|
|
273
|
+
public async removeCaseFiles(fileId: string, caseIds: string[]) {
|
|
274
|
+
|
|
275
|
+
const associationDtos = [];
|
|
276
|
+
for(const pk of caseIds){
|
|
277
|
+
associationDtos.push({
|
|
278
|
+
entity: 'SupportModule:Case',
|
|
279
|
+
recordId: pk,
|
|
280
|
+
});
|
|
281
|
+
}
|
|
282
|
+
|
|
283
|
+
return await this._deleteLinks(this.moduleName, this.entityName, fileId, associationDtos);
|
|
284
|
+
}
|
|
285
|
+
|
|
286
|
+
|
|
287
|
+
// Use this function when you want to return a single record
|
|
288
|
+
public async getLeads(fileId: string) {
|
|
289
|
+
return await this._getLinks(this.moduleName, this.entityName, fileId, 'Lead');
|
|
290
|
+
}
|
|
291
|
+
|
|
292
|
+
public async addLeadFiles(fileId: string, leadIds: {id: string, relationType?: RelationTypeEnum, relatedAssociationId?: string}[]) {
|
|
293
|
+
|
|
294
|
+
const associationDtos = [];
|
|
295
|
+
for(const param of leadIds){
|
|
296
|
+
associationDtos.push({
|
|
297
|
+
entity: 'CrmModule:Lead',
|
|
298
|
+
recordId: param.id,
|
|
299
|
+
linkType: 'Lead__File',
|
|
300
|
+
relationType: param?.relationType,
|
|
301
|
+
relatedAssociationId: param?.relatedAssociationId
|
|
302
|
+
});
|
|
303
|
+
}
|
|
304
|
+
|
|
305
|
+
return await this._createLinks(this.moduleName, this.entityName, fileId, associationDtos);
|
|
306
|
+
}
|
|
307
|
+
|
|
308
|
+
public async removeLeadFiles(fileId: string, leadIds: string[]) {
|
|
309
|
+
|
|
310
|
+
const associationDtos = [];
|
|
311
|
+
for(const pk of leadIds){
|
|
312
|
+
associationDtos.push({
|
|
313
|
+
entity: 'CrmModule:Lead',
|
|
314
|
+
recordId: pk,
|
|
315
|
+
});
|
|
316
|
+
}
|
|
317
|
+
|
|
318
|
+
return await this._deleteLinks(this.moduleName, this.entityName, fileId, associationDtos);
|
|
319
|
+
}
|
|
320
|
+
|
|
321
|
+
|
|
322
|
+
// Use this function when you want to return a single record
|
|
323
|
+
public async getContacts(fileId: string) {
|
|
324
|
+
return await this._getLinks(this.moduleName, this.entityName, fileId, 'Contact');
|
|
325
|
+
}
|
|
326
|
+
|
|
327
|
+
public async addContactFiles(fileId: string, contactIds: {id: string, relationType?: RelationTypeEnum, relatedAssociationId?: string}[]) {
|
|
328
|
+
|
|
329
|
+
const associationDtos = [];
|
|
330
|
+
for(const param of contactIds){
|
|
331
|
+
associationDtos.push({
|
|
332
|
+
entity: 'CrmModule:Contact',
|
|
333
|
+
recordId: param.id,
|
|
334
|
+
linkType: 'Contact__File',
|
|
335
|
+
relationType: param?.relationType,
|
|
336
|
+
relatedAssociationId: param?.relatedAssociationId
|
|
337
|
+
});
|
|
338
|
+
}
|
|
339
|
+
|
|
340
|
+
return await this._createLinks(this.moduleName, this.entityName, fileId, associationDtos);
|
|
341
|
+
}
|
|
342
|
+
|
|
343
|
+
public async removeContactFiles(fileId: string, contactIds: string[]) {
|
|
344
|
+
|
|
345
|
+
const associationDtos = [];
|
|
346
|
+
for(const pk of contactIds){
|
|
347
|
+
associationDtos.push({
|
|
348
|
+
entity: 'CrmModule:Contact',
|
|
349
|
+
recordId: pk,
|
|
350
|
+
});
|
|
351
|
+
}
|
|
352
|
+
|
|
353
|
+
return await this._deleteLinks(this.moduleName, this.entityName, fileId, associationDtos);
|
|
354
|
+
}
|
|
355
|
+
|
|
356
|
+
|
|
357
|
+
// Use this function when you want to return a single record
|
|
358
|
+
public async getOrders(fileId: string) {
|
|
359
|
+
return await this._getLinks(this.moduleName, this.entityName, fileId, 'Order');
|
|
360
|
+
}
|
|
361
|
+
|
|
362
|
+
public async addOrderFiles(fileId: string, orderIds: {id: string, relationType?: RelationTypeEnum, relatedAssociationId?: string}[]) {
|
|
363
|
+
|
|
364
|
+
const associationDtos = [];
|
|
365
|
+
for(const param of orderIds){
|
|
366
|
+
associationDtos.push({
|
|
367
|
+
entity: 'OrderModule:Order',
|
|
368
|
+
recordId: param.id,
|
|
369
|
+
linkType: 'Order__File',
|
|
370
|
+
relationType: param?.relationType,
|
|
371
|
+
relatedAssociationId: param?.relatedAssociationId
|
|
372
|
+
});
|
|
373
|
+
}
|
|
374
|
+
|
|
375
|
+
return await this._createLinks(this.moduleName, this.entityName, fileId, associationDtos);
|
|
376
|
+
}
|
|
377
|
+
|
|
378
|
+
public async removeOrderFiles(fileId: string, orderIds: string[]) {
|
|
379
|
+
|
|
380
|
+
const associationDtos = [];
|
|
381
|
+
for(const pk of orderIds){
|
|
382
|
+
associationDtos.push({
|
|
383
|
+
entity: 'OrderModule:Order',
|
|
384
|
+
recordId: pk,
|
|
385
|
+
});
|
|
386
|
+
}
|
|
387
|
+
|
|
388
|
+
return await this._deleteLinks(this.moduleName, this.entityName, fileId, associationDtos);
|
|
389
|
+
}
|
|
390
|
+
|
|
391
|
+
|
|
392
|
+
// Use this function when you want to return a single record
|
|
393
|
+
public async getBillingRequests(fileId: string) {
|
|
394
|
+
return await this._getLinks(this.moduleName, this.entityName, fileId, 'BillingRequest');
|
|
395
|
+
}
|
|
396
|
+
|
|
397
|
+
public async addBillingRequestFiles(fileId: string, billingRequestIds: {id: string, relationType?: RelationTypeEnum, relatedAssociationId?: string}[]) {
|
|
398
|
+
|
|
399
|
+
const associationDtos = [];
|
|
400
|
+
for(const param of billingRequestIds){
|
|
401
|
+
associationDtos.push({
|
|
402
|
+
entity: 'BillingModule:BillingRequest',
|
|
403
|
+
recordId: param.id,
|
|
404
|
+
linkType: 'BillingRequest__File',
|
|
405
|
+
relationType: param?.relationType,
|
|
406
|
+
relatedAssociationId: param?.relatedAssociationId
|
|
407
|
+
});
|
|
408
|
+
}
|
|
409
|
+
|
|
410
|
+
return await this._createLinks(this.moduleName, this.entityName, fileId, associationDtos);
|
|
411
|
+
}
|
|
412
|
+
|
|
413
|
+
public async removeBillingRequestFiles(fileId: string, billingRequestIds: string[]) {
|
|
414
|
+
|
|
415
|
+
const associationDtos = [];
|
|
416
|
+
for(const pk of billingRequestIds){
|
|
417
|
+
associationDtos.push({
|
|
418
|
+
entity: 'BillingModule:BillingRequest',
|
|
419
|
+
recordId: pk,
|
|
420
|
+
});
|
|
421
|
+
}
|
|
422
|
+
|
|
423
|
+
return await this._deleteLinks(this.moduleName, this.entityName, fileId, associationDtos);
|
|
424
|
+
}
|
|
425
|
+
|
|
426
|
+
|
|
427
|
+
// Use this function when you want to return a single record
|
|
428
|
+
public async getTransactions(fileId: string) {
|
|
429
|
+
return await this._getLinks(this.moduleName, this.entityName, fileId, 'Transaction');
|
|
430
|
+
}
|
|
431
|
+
|
|
432
|
+
public async addTransactionFiles(fileId: string, transactionIds: {id: string, relationType?: RelationTypeEnum, relatedAssociationId?: string}[]) {
|
|
433
|
+
|
|
434
|
+
const associationDtos = [];
|
|
435
|
+
for(const param of transactionIds){
|
|
436
|
+
associationDtos.push({
|
|
437
|
+
entity: 'BillingModule:Transaction',
|
|
438
|
+
recordId: param.id,
|
|
439
|
+
linkType: 'Transaction__File',
|
|
440
|
+
relationType: param?.relationType,
|
|
441
|
+
relatedAssociationId: param?.relatedAssociationId
|
|
442
|
+
});
|
|
443
|
+
}
|
|
444
|
+
|
|
445
|
+
return await this._createLinks(this.moduleName, this.entityName, fileId, associationDtos);
|
|
446
|
+
}
|
|
447
|
+
|
|
448
|
+
public async removeTransactionFiles(fileId: string, transactionIds: string[]) {
|
|
449
|
+
|
|
450
|
+
const associationDtos = [];
|
|
451
|
+
for(const pk of transactionIds){
|
|
452
|
+
associationDtos.push({
|
|
453
|
+
entity: 'BillingModule:Transaction',
|
|
454
|
+
recordId: pk,
|
|
455
|
+
});
|
|
456
|
+
}
|
|
457
|
+
|
|
458
|
+
return await this._deleteLinks(this.moduleName, this.entityName, fileId, associationDtos);
|
|
459
|
+
}
|
|
460
|
+
|
|
461
|
+
|
|
462
|
+
// Use this function when you want to return a single record
|
|
463
|
+
public async getPaymentMethods(fileId: string) {
|
|
464
|
+
return await this._getLinks(this.moduleName, this.entityName, fileId, 'PaymentMethod');
|
|
465
|
+
}
|
|
466
|
+
|
|
467
|
+
public async addPaymentMethodFiles(fileId: string, paymentMethodIds: {id: string, relationType?: RelationTypeEnum, relatedAssociationId?: string}[]) {
|
|
468
|
+
|
|
469
|
+
const associationDtos = [];
|
|
470
|
+
for(const param of paymentMethodIds){
|
|
471
|
+
associationDtos.push({
|
|
472
|
+
entity: 'BillingModule:PaymentMethod',
|
|
473
|
+
recordId: param.id,
|
|
474
|
+
linkType: 'PaymentMethod__File',
|
|
475
|
+
relationType: param?.relationType,
|
|
476
|
+
relatedAssociationId: param?.relatedAssociationId
|
|
477
|
+
});
|
|
478
|
+
}
|
|
479
|
+
|
|
480
|
+
return await this._createLinks(this.moduleName, this.entityName, fileId, associationDtos);
|
|
481
|
+
}
|
|
482
|
+
|
|
483
|
+
public async removePaymentMethodFiles(fileId: string, paymentMethodIds: string[]) {
|
|
484
|
+
|
|
485
|
+
const associationDtos = [];
|
|
486
|
+
for(const pk of paymentMethodIds){
|
|
487
|
+
associationDtos.push({
|
|
488
|
+
entity: 'BillingModule:PaymentMethod',
|
|
489
|
+
recordId: pk,
|
|
490
|
+
});
|
|
491
|
+
}
|
|
492
|
+
|
|
493
|
+
return await this._deleteLinks(this.moduleName, this.entityName, fileId, associationDtos);
|
|
494
|
+
}
|
|
495
|
+
|
|
496
|
+
|
|
497
|
+
// Use this function when you want to return a single record
|
|
498
|
+
public async getCustomerDeviceOnts(fileId: string) {
|
|
499
|
+
return await this._getLinks(this.moduleName, this.entityName, fileId, 'CustomerDeviceOnt');
|
|
500
|
+
}
|
|
501
|
+
|
|
502
|
+
public async addCustomerDeviceOntFiles(fileId: string, customerDeviceOntIds: {id: string, relationType?: RelationTypeEnum, relatedAssociationId?: string}[]) {
|
|
503
|
+
|
|
504
|
+
const associationDtos = [];
|
|
505
|
+
for(const param of customerDeviceOntIds){
|
|
506
|
+
associationDtos.push({
|
|
507
|
+
entity: 'ServiceModule:CustomerDeviceOnt',
|
|
508
|
+
recordId: param.id,
|
|
509
|
+
linkType: 'CustomerDeviceOnt__File',
|
|
510
|
+
relationType: param?.relationType,
|
|
511
|
+
relatedAssociationId: param?.relatedAssociationId
|
|
512
|
+
});
|
|
513
|
+
}
|
|
514
|
+
|
|
515
|
+
return await this._createLinks(this.moduleName, this.entityName, fileId, associationDtos);
|
|
516
|
+
}
|
|
517
|
+
|
|
518
|
+
public async removeCustomerDeviceOntFiles(fileId: string, customerDeviceOntIds: string[]) {
|
|
519
|
+
|
|
520
|
+
const associationDtos = [];
|
|
521
|
+
for(const pk of customerDeviceOntIds){
|
|
522
|
+
associationDtos.push({
|
|
523
|
+
entity: 'ServiceModule:CustomerDeviceOnt',
|
|
524
|
+
recordId: pk,
|
|
525
|
+
});
|
|
526
|
+
}
|
|
527
|
+
|
|
528
|
+
return await this._deleteLinks(this.moduleName, this.entityName, fileId, associationDtos);
|
|
529
|
+
}
|
|
530
|
+
|
|
531
|
+
|
|
532
|
+
// Use this function when you want to return a single record
|
|
533
|
+
public async getCreditNotes(fileId: string) {
|
|
534
|
+
return await this._getLinks(this.moduleName, this.entityName, fileId, 'CreditNote');
|
|
535
|
+
}
|
|
536
|
+
|
|
537
|
+
public async addCreditNoteFiles(fileId: string, creditNoteIds: {id: string, relationType?: RelationTypeEnum, relatedAssociationId?: string}[]) {
|
|
538
|
+
|
|
539
|
+
const associationDtos = [];
|
|
540
|
+
for(const param of creditNoteIds){
|
|
541
|
+
associationDtos.push({
|
|
542
|
+
entity: 'BillingModule:CreditNote',
|
|
543
|
+
recordId: param.id,
|
|
544
|
+
linkType: 'CreditNote__File',
|
|
545
|
+
relationType: param?.relationType,
|
|
546
|
+
relatedAssociationId: param?.relatedAssociationId
|
|
547
|
+
});
|
|
548
|
+
}
|
|
549
|
+
|
|
550
|
+
return await this._createLinks(this.moduleName, this.entityName, fileId, associationDtos);
|
|
551
|
+
}
|
|
552
|
+
|
|
553
|
+
public async removeCreditNoteFiles(fileId: string, creditNoteIds: string[]) {
|
|
554
|
+
|
|
555
|
+
const associationDtos = [];
|
|
556
|
+
for(const pk of creditNoteIds){
|
|
557
|
+
associationDtos.push({
|
|
558
|
+
entity: 'BillingModule:CreditNote',
|
|
559
|
+
recordId: pk,
|
|
560
|
+
});
|
|
561
|
+
}
|
|
562
|
+
|
|
563
|
+
return await this._deleteLinks(this.moduleName, this.entityName, fileId, associationDtos);
|
|
564
|
+
}
|
|
565
|
+
|
|
566
|
+
|
|
567
|
+
// Use this function when you want to return a single record
|
|
568
|
+
public async getAddresss(fileId: string) {
|
|
569
|
+
return await this._getLinks(this.moduleName, this.entityName, fileId, 'Address');
|
|
570
|
+
}
|
|
571
|
+
|
|
572
|
+
public async addAddressFiles(fileId: string, addressIds: {id: string, relationType?: RelationTypeEnum, relatedAssociationId?: string}[]) {
|
|
573
|
+
|
|
574
|
+
const associationDtos = [];
|
|
575
|
+
for(const param of addressIds){
|
|
576
|
+
associationDtos.push({
|
|
577
|
+
entity: 'CrmModule:Address',
|
|
578
|
+
recordId: param.id,
|
|
579
|
+
linkType: 'Address__File',
|
|
580
|
+
relationType: param?.relationType,
|
|
581
|
+
relatedAssociationId: param?.relatedAssociationId
|
|
582
|
+
});
|
|
583
|
+
}
|
|
584
|
+
|
|
585
|
+
return await this._createLinks(this.moduleName, this.entityName, fileId, associationDtos);
|
|
586
|
+
}
|
|
587
|
+
|
|
588
|
+
public async removeAddressFiles(fileId: string, addressIds: string[]) {
|
|
589
|
+
|
|
590
|
+
const associationDtos = [];
|
|
591
|
+
for(const pk of addressIds){
|
|
592
|
+
associationDtos.push({
|
|
593
|
+
entity: 'CrmModule:Address',
|
|
594
|
+
recordId: pk,
|
|
595
|
+
});
|
|
596
|
+
}
|
|
597
|
+
|
|
598
|
+
return await this._deleteLinks(this.moduleName, this.entityName, fileId, associationDtos);
|
|
599
|
+
}
|
|
600
|
+
|
|
601
|
+
|
|
602
|
+
// Use this function when you want to return a single record
|
|
603
|
+
public async getChangeReasons(fileId: string) {
|
|
604
|
+
return await this._getLinks(this.moduleName, this.entityName, fileId, 'ChangeReason');
|
|
605
|
+
}
|
|
606
|
+
|
|
607
|
+
public async addChangeReasonFiles(fileId: string, changeReasonIds: {id: string, relationType?: RelationTypeEnum, relatedAssociationId?: string}[]) {
|
|
608
|
+
|
|
609
|
+
const associationDtos = [];
|
|
610
|
+
for(const param of changeReasonIds){
|
|
611
|
+
associationDtos.push({
|
|
612
|
+
entity: 'FieldServiceModule:ChangeReason',
|
|
613
|
+
recordId: param.id,
|
|
614
|
+
linkType: 'ChangeReason__File',
|
|
615
|
+
relationType: param?.relationType,
|
|
616
|
+
relatedAssociationId: param?.relatedAssociationId
|
|
617
|
+
});
|
|
618
|
+
}
|
|
619
|
+
|
|
620
|
+
return await this._createLinks(this.moduleName, this.entityName, fileId, associationDtos);
|
|
621
|
+
}
|
|
622
|
+
|
|
623
|
+
public async removeChangeReasonFiles(fileId: string, changeReasonIds: string[]) {
|
|
624
|
+
|
|
625
|
+
const associationDtos = [];
|
|
626
|
+
for(const pk of changeReasonIds){
|
|
627
|
+
associationDtos.push({
|
|
628
|
+
entity: 'FieldServiceModule:ChangeReason',
|
|
629
|
+
recordId: pk,
|
|
630
|
+
});
|
|
631
|
+
}
|
|
632
|
+
|
|
633
|
+
return await this._deleteLinks(this.moduleName, this.entityName, fileId, associationDtos);
|
|
634
|
+
}
|
|
635
|
+
|
|
636
|
+
|
|
637
|
+
// Use this function when you want to return a single record
|
|
638
|
+
public async getDiscounts(fileId: string) {
|
|
639
|
+
return await this._getLinks(this.moduleName, this.entityName, fileId, 'Discount');
|
|
640
|
+
}
|
|
641
|
+
|
|
642
|
+
public async addDiscountFiles(fileId: string, discountIds: {id: string, relationType?: RelationTypeEnum, relatedAssociationId?: string}[]) {
|
|
643
|
+
|
|
644
|
+
const associationDtos = [];
|
|
645
|
+
for(const param of discountIds){
|
|
646
|
+
associationDtos.push({
|
|
647
|
+
entity: 'ProductModule:Discount',
|
|
648
|
+
recordId: param.id,
|
|
649
|
+
linkType: 'Discount__File',
|
|
650
|
+
relationType: param?.relationType,
|
|
651
|
+
relatedAssociationId: param?.relatedAssociationId
|
|
652
|
+
});
|
|
653
|
+
}
|
|
654
|
+
|
|
655
|
+
return await this._createLinks(this.moduleName, this.entityName, fileId, associationDtos);
|
|
656
|
+
}
|
|
657
|
+
|
|
658
|
+
public async removeDiscountFiles(fileId: string, discountIds: string[]) {
|
|
659
|
+
|
|
660
|
+
const associationDtos = [];
|
|
661
|
+
for(const pk of discountIds){
|
|
662
|
+
associationDtos.push({
|
|
663
|
+
entity: 'ProductModule:Discount',
|
|
664
|
+
recordId: pk,
|
|
665
|
+
});
|
|
666
|
+
}
|
|
667
|
+
|
|
668
|
+
return await this._deleteLinks(this.moduleName, this.entityName, fileId, associationDtos);
|
|
669
|
+
}
|
|
670
|
+
|
|
671
|
+
|
|
672
|
+
// Use this function when you want to return a single record
|
|
673
|
+
public async getPaymentMethodRefunds(fileId: string) {
|
|
674
|
+
return await this._getLinks(this.moduleName, this.entityName, fileId, 'PaymentMethodRefund');
|
|
675
|
+
}
|
|
676
|
+
|
|
677
|
+
public async addPaymentMethodRefundFiles(fileId: string, paymentMethodRefundIds: {id: string, relationType?: RelationTypeEnum, relatedAssociationId?: string}[]) {
|
|
678
|
+
|
|
679
|
+
const associationDtos = [];
|
|
680
|
+
for(const param of paymentMethodRefundIds){
|
|
681
|
+
associationDtos.push({
|
|
682
|
+
entity: 'BillingModule:PaymentMethodRefund',
|
|
683
|
+
recordId: param.id,
|
|
684
|
+
linkType: 'PaymentMethodRefund__File',
|
|
685
|
+
relationType: param?.relationType,
|
|
686
|
+
relatedAssociationId: param?.relatedAssociationId
|
|
687
|
+
});
|
|
688
|
+
}
|
|
689
|
+
|
|
690
|
+
return await this._createLinks(this.moduleName, this.entityName, fileId, associationDtos);
|
|
691
|
+
}
|
|
692
|
+
|
|
693
|
+
public async removePaymentMethodRefundFiles(fileId: string, paymentMethodRefundIds: string[]) {
|
|
694
|
+
|
|
695
|
+
const associationDtos = [];
|
|
696
|
+
for(const pk of paymentMethodRefundIds){
|
|
697
|
+
associationDtos.push({
|
|
698
|
+
entity: 'BillingModule:PaymentMethodRefund',
|
|
699
|
+
recordId: pk,
|
|
700
|
+
});
|
|
701
|
+
}
|
|
702
|
+
|
|
703
|
+
return await this._deleteLinks(this.moduleName, this.entityName, fileId, associationDtos);
|
|
704
|
+
}
|
|
705
|
+
|
|
706
|
+
|
|
707
|
+
// Use this function when you want to return a single record
|
|
708
|
+
public async getServiceAppointments(fileId: string) {
|
|
709
|
+
return await this._getLinks(this.moduleName, this.entityName, fileId, 'ServiceAppointment');
|
|
710
|
+
}
|
|
711
|
+
|
|
712
|
+
public async addServiceAppointmentFiles(fileId: string, serviceAppointmentIds: {id: string, relationType?: RelationTypeEnum, relatedAssociationId?: string}[]) {
|
|
713
|
+
|
|
714
|
+
const associationDtos = [];
|
|
715
|
+
for(const param of serviceAppointmentIds){
|
|
716
|
+
associationDtos.push({
|
|
717
|
+
entity: 'FieldServiceModule:ServiceAppointment',
|
|
718
|
+
recordId: param.id,
|
|
719
|
+
linkType: 'ServiceAppointment__File',
|
|
720
|
+
relationType: param?.relationType,
|
|
721
|
+
relatedAssociationId: param?.relatedAssociationId
|
|
722
|
+
});
|
|
723
|
+
}
|
|
724
|
+
|
|
725
|
+
return await this._createLinks(this.moduleName, this.entityName, fileId, associationDtos);
|
|
726
|
+
}
|
|
727
|
+
|
|
728
|
+
public async removeServiceAppointmentFiles(fileId: string, serviceAppointmentIds: string[]) {
|
|
729
|
+
|
|
730
|
+
const associationDtos = [];
|
|
731
|
+
for(const pk of serviceAppointmentIds){
|
|
732
|
+
associationDtos.push({
|
|
733
|
+
entity: 'FieldServiceModule:ServiceAppointment',
|
|
734
|
+
recordId: pk,
|
|
735
|
+
});
|
|
736
|
+
}
|
|
737
|
+
|
|
738
|
+
return await this._deleteLinks(this.moduleName, this.entityName, fileId, associationDtos);
|
|
739
|
+
}
|
|
740
|
+
|
|
741
|
+
|
|
742
|
+
// Use this function when you want to return a single record
|
|
743
|
+
public async getBillingAdjustments(fileId: string) {
|
|
744
|
+
return await this._getLinks(this.moduleName, this.entityName, fileId, 'BillingAdjustment');
|
|
745
|
+
}
|
|
746
|
+
|
|
747
|
+
public async addBillingAdjustmentFiles(fileId: string, billingAdjustmentIds: {id: string, relationType?: RelationTypeEnum, relatedAssociationId?: string}[]) {
|
|
748
|
+
|
|
749
|
+
const associationDtos = [];
|
|
750
|
+
for(const param of billingAdjustmentIds){
|
|
751
|
+
associationDtos.push({
|
|
752
|
+
entity: 'OrderModule:BillingAdjustment',
|
|
753
|
+
recordId: param.id,
|
|
754
|
+
linkType: 'BillingAdjustment__File',
|
|
755
|
+
relationType: param?.relationType,
|
|
756
|
+
relatedAssociationId: param?.relatedAssociationId
|
|
757
|
+
});
|
|
758
|
+
}
|
|
759
|
+
|
|
760
|
+
return await this._createLinks(this.moduleName, this.entityName, fileId, associationDtos);
|
|
761
|
+
}
|
|
762
|
+
|
|
763
|
+
public async removeBillingAdjustmentFiles(fileId: string, billingAdjustmentIds: string[]) {
|
|
764
|
+
|
|
765
|
+
const associationDtos = [];
|
|
766
|
+
for(const pk of billingAdjustmentIds){
|
|
767
|
+
associationDtos.push({
|
|
768
|
+
entity: 'OrderModule:BillingAdjustment',
|
|
769
|
+
recordId: pk,
|
|
770
|
+
});
|
|
771
|
+
}
|
|
772
|
+
|
|
773
|
+
return await this._deleteLinks(this.moduleName, this.entityName, fileId, associationDtos);
|
|
774
|
+
}
|
|
775
|
+
|
|
776
|
+
|
|
777
|
+
// Use this function when you want to return a single record
|
|
778
|
+
public async getActivitys(fileId: string) {
|
|
779
|
+
return await this._getLinks(this.moduleName, this.entityName, fileId, 'Activity');
|
|
780
|
+
}
|
|
781
|
+
|
|
782
|
+
public async addActivityFiles(fileId: string, activityIds: {id: string, relationType?: RelationTypeEnum, relatedAssociationId?: string}[]) {
|
|
783
|
+
|
|
784
|
+
const associationDtos = [];
|
|
785
|
+
for(const param of activityIds){
|
|
786
|
+
associationDtos.push({
|
|
787
|
+
entity: 'SchemaModule:Activity',
|
|
788
|
+
recordId: param.id,
|
|
789
|
+
linkType: 'Activity__File',
|
|
790
|
+
relationType: param?.relationType,
|
|
791
|
+
relatedAssociationId: param?.relatedAssociationId
|
|
792
|
+
});
|
|
793
|
+
}
|
|
794
|
+
|
|
795
|
+
return await this._createLinks(this.moduleName, this.entityName, fileId, associationDtos);
|
|
796
|
+
}
|
|
797
|
+
|
|
798
|
+
public async removeActivityFiles(fileId: string, activityIds: string[]) {
|
|
799
|
+
|
|
800
|
+
const associationDtos = [];
|
|
801
|
+
for(const pk of activityIds){
|
|
802
|
+
associationDtos.push({
|
|
803
|
+
entity: 'SchemaModule:Activity',
|
|
804
|
+
recordId: pk,
|
|
805
|
+
});
|
|
806
|
+
}
|
|
807
|
+
|
|
808
|
+
return await this._deleteLinks(this.moduleName, this.entityName, fileId, associationDtos);
|
|
809
|
+
}
|
|
810
|
+
|
|
811
|
+
|
|
812
|
+
// Use this function when you want to return a single record
|
|
813
|
+
public async getNetomniaInstallVerifications(fileId: string) {
|
|
814
|
+
return await this._getLinks(this.moduleName, this.entityName, fileId, 'NetomniaInstallVerification');
|
|
815
|
+
}
|
|
816
|
+
|
|
817
|
+
public async addNetomniaInstallVerificationFiles(fileId: string, netomniaInstallVerificationIds: {id: string, relationType?: RelationTypeEnum, relatedAssociationId?: string}[]) {
|
|
818
|
+
|
|
819
|
+
const associationDtos = [];
|
|
820
|
+
for(const param of netomniaInstallVerificationIds){
|
|
821
|
+
associationDtos.push({
|
|
822
|
+
entity: 'FieldServiceModule:NetomniaInstallVerification',
|
|
823
|
+
recordId: param.id,
|
|
824
|
+
linkType: 'NetomniaInstallVerification__File',
|
|
825
|
+
relationType: param?.relationType,
|
|
826
|
+
relatedAssociationId: param?.relatedAssociationId
|
|
827
|
+
});
|
|
828
|
+
}
|
|
829
|
+
|
|
830
|
+
return await this._createLinks(this.moduleName, this.entityName, fileId, associationDtos);
|
|
831
|
+
}
|
|
832
|
+
|
|
833
|
+
public async removeNetomniaInstallVerificationFiles(fileId: string, netomniaInstallVerificationIds: string[]) {
|
|
834
|
+
|
|
835
|
+
const associationDtos = [];
|
|
836
|
+
for(const pk of netomniaInstallVerificationIds){
|
|
837
|
+
associationDtos.push({
|
|
838
|
+
entity: 'FieldServiceModule:NetomniaInstallVerification',
|
|
839
|
+
recordId: pk,
|
|
840
|
+
});
|
|
841
|
+
}
|
|
842
|
+
|
|
843
|
+
return await this._deleteLinks(this.moduleName, this.entityName, fileId, associationDtos);
|
|
844
|
+
}
|
|
845
|
+
|
|
846
|
+
|
|
847
|
+
// Use this function when you want to return a single record
|
|
848
|
+
public async getNetomniaFtthServiceVisitSheets(fileId: string) {
|
|
849
|
+
return await this._getLinks(this.moduleName, this.entityName, fileId, 'NetomniaFtthServiceVisitSheet');
|
|
850
|
+
}
|
|
851
|
+
|
|
852
|
+
public async addNetomniaFtthServiceVisitSheetFiles(fileId: string, netomniaFtthServiceVisitSheetIds: {id: string, relationType?: RelationTypeEnum, relatedAssociationId?: string}[]) {
|
|
853
|
+
|
|
854
|
+
const associationDtos = [];
|
|
855
|
+
for(const param of netomniaFtthServiceVisitSheetIds){
|
|
856
|
+
associationDtos.push({
|
|
857
|
+
entity: 'FieldServiceModule:NetomniaFtthServiceVisitSheet',
|
|
858
|
+
recordId: param.id,
|
|
859
|
+
linkType: 'NetomniaFtthServiceVisitSheet__File',
|
|
860
|
+
relationType: param?.relationType,
|
|
861
|
+
relatedAssociationId: param?.relatedAssociationId
|
|
862
|
+
});
|
|
863
|
+
}
|
|
864
|
+
|
|
865
|
+
return await this._createLinks(this.moduleName, this.entityName, fileId, associationDtos);
|
|
866
|
+
}
|
|
867
|
+
|
|
868
|
+
public async removeNetomniaFtthServiceVisitSheetFiles(fileId: string, netomniaFtthServiceVisitSheetIds: string[]) {
|
|
869
|
+
|
|
870
|
+
const associationDtos = [];
|
|
871
|
+
for(const pk of netomniaFtthServiceVisitSheetIds){
|
|
872
|
+
associationDtos.push({
|
|
873
|
+
entity: 'FieldServiceModule:NetomniaFtthServiceVisitSheet',
|
|
874
|
+
recordId: pk,
|
|
875
|
+
});
|
|
876
|
+
}
|
|
877
|
+
|
|
878
|
+
return await this._deleteLinks(this.moduleName, this.entityName, fileId, associationDtos);
|
|
879
|
+
}
|
|
880
|
+
|
|
881
|
+
|
|
882
|
+
// Use this function when you want to return a single record
|
|
883
|
+
public async getNetomniaFtth1StageInstallAudits(fileId: string) {
|
|
884
|
+
return await this._getLinks(this.moduleName, this.entityName, fileId, 'NetomniaFtth1StageInstallAudit');
|
|
885
|
+
}
|
|
886
|
+
|
|
887
|
+
public async addNetomniaFtth1StageInstallAuditFiles(fileId: string, netomniaFtth1StageInstallAuditIds: {id: string, relationType?: RelationTypeEnum, relatedAssociationId?: string}[]) {
|
|
888
|
+
|
|
889
|
+
const associationDtos = [];
|
|
890
|
+
for(const param of netomniaFtth1StageInstallAuditIds){
|
|
891
|
+
associationDtos.push({
|
|
892
|
+
entity: 'FieldServiceModule:NetomniaFtth1StageInstallAudit',
|
|
893
|
+
recordId: param.id,
|
|
894
|
+
linkType: 'NetomniaFtth1StageInstallAudit__File',
|
|
895
|
+
relationType: param?.relationType,
|
|
896
|
+
relatedAssociationId: param?.relatedAssociationId
|
|
897
|
+
});
|
|
898
|
+
}
|
|
899
|
+
|
|
900
|
+
return await this._createLinks(this.moduleName, this.entityName, fileId, associationDtos);
|
|
901
|
+
}
|
|
902
|
+
|
|
903
|
+
public async removeNetomniaFtth1StageInstallAuditFiles(fileId: string, netomniaFtth1StageInstallAuditIds: string[]) {
|
|
904
|
+
|
|
905
|
+
const associationDtos = [];
|
|
906
|
+
for(const pk of netomniaFtth1StageInstallAuditIds){
|
|
907
|
+
associationDtos.push({
|
|
908
|
+
entity: 'FieldServiceModule:NetomniaFtth1StageInstallAudit',
|
|
909
|
+
recordId: pk,
|
|
910
|
+
});
|
|
911
|
+
}
|
|
912
|
+
|
|
913
|
+
return await this._deleteLinks(this.moduleName, this.entityName, fileId, associationDtos);
|
|
914
|
+
}
|
|
915
|
+
|
|
916
|
+
|
|
917
|
+
// Use this function when you want to return a single record
|
|
918
|
+
public async getCustomerDeviceRouters(fileId: string) {
|
|
919
|
+
return await this._getLinks(this.moduleName, this.entityName, fileId, 'CustomerDeviceRouter');
|
|
920
|
+
}
|
|
921
|
+
|
|
922
|
+
public async addCustomerDeviceRouterFiles(fileId: string, customerDeviceRouterIds: {id: string, relationType?: RelationTypeEnum, relatedAssociationId?: string}[]) {
|
|
923
|
+
|
|
924
|
+
const associationDtos = [];
|
|
925
|
+
for(const param of customerDeviceRouterIds){
|
|
926
|
+
associationDtos.push({
|
|
927
|
+
entity: 'ServiceModule:CustomerDeviceRouter',
|
|
928
|
+
recordId: param.id,
|
|
929
|
+
linkType: 'CustomerDeviceRouter__File',
|
|
930
|
+
relationType: param?.relationType,
|
|
931
|
+
relatedAssociationId: param?.relatedAssociationId
|
|
932
|
+
});
|
|
933
|
+
}
|
|
934
|
+
|
|
935
|
+
return await this._createLinks(this.moduleName, this.entityName, fileId, associationDtos);
|
|
936
|
+
}
|
|
937
|
+
|
|
938
|
+
public async removeCustomerDeviceRouterFiles(fileId: string, customerDeviceRouterIds: string[]) {
|
|
939
|
+
|
|
940
|
+
const associationDtos = [];
|
|
941
|
+
for(const pk of customerDeviceRouterIds){
|
|
942
|
+
associationDtos.push({
|
|
943
|
+
entity: 'ServiceModule:CustomerDeviceRouter',
|
|
944
|
+
recordId: pk,
|
|
945
|
+
});
|
|
946
|
+
}
|
|
947
|
+
|
|
948
|
+
return await this._deleteLinks(this.moduleName, this.entityName, fileId, associationDtos);
|
|
949
|
+
}
|
|
950
|
+
|
|
951
|
+
|
|
952
|
+
// Use this function when you want to return a single record
|
|
953
|
+
public async getVisits(fileId: string) {
|
|
954
|
+
return await this._getLinks(this.moduleName, this.entityName, fileId, 'Visit');
|
|
955
|
+
}
|
|
956
|
+
|
|
957
|
+
public async addVisitFiles(fileId: string, visitIds: {id: string, relationType?: RelationTypeEnum, relatedAssociationId?: string}[]) {
|
|
958
|
+
|
|
959
|
+
const associationDtos = [];
|
|
960
|
+
for(const param of visitIds){
|
|
961
|
+
associationDtos.push({
|
|
962
|
+
entity: 'CrmModule:Visit',
|
|
963
|
+
recordId: param.id,
|
|
964
|
+
linkType: 'Visit__File',
|
|
965
|
+
relationType: param?.relationType,
|
|
966
|
+
relatedAssociationId: param?.relatedAssociationId
|
|
967
|
+
});
|
|
968
|
+
}
|
|
969
|
+
|
|
970
|
+
return await this._createLinks(this.moduleName, this.entityName, fileId, associationDtos);
|
|
971
|
+
}
|
|
972
|
+
|
|
973
|
+
public async removeVisitFiles(fileId: string, visitIds: string[]) {
|
|
974
|
+
|
|
975
|
+
const associationDtos = [];
|
|
976
|
+
for(const pk of visitIds){
|
|
977
|
+
associationDtos.push({
|
|
978
|
+
entity: 'CrmModule:Visit',
|
|
979
|
+
recordId: pk,
|
|
980
|
+
});
|
|
981
|
+
}
|
|
982
|
+
|
|
983
|
+
return await this._deleteLinks(this.moduleName, this.entityName, fileId, associationDtos);
|
|
984
|
+
}
|
|
985
|
+
|
|
986
|
+
|
|
987
|
+
// Use this function when you want to return a single record
|
|
988
|
+
public async getYfEquipmentCollections(fileId: string) {
|
|
989
|
+
return await this._getLinks(this.moduleName, this.entityName, fileId, 'YfEquipmentCollection');
|
|
990
|
+
}
|
|
991
|
+
|
|
992
|
+
public async addYfEquipmentCollectionFiles(fileId: string, yfEquipmentCollectionIds: {id: string, relationType?: RelationTypeEnum, relatedAssociationId?: string}[]) {
|
|
993
|
+
|
|
994
|
+
const associationDtos = [];
|
|
995
|
+
for(const param of yfEquipmentCollectionIds){
|
|
996
|
+
associationDtos.push({
|
|
997
|
+
entity: 'FieldServiceModule:YfEquipmentCollection',
|
|
998
|
+
recordId: param.id,
|
|
999
|
+
linkType: 'YfEquipmentCollection__File',
|
|
1000
|
+
relationType: param?.relationType,
|
|
1001
|
+
relatedAssociationId: param?.relatedAssociationId
|
|
1002
|
+
});
|
|
1003
|
+
}
|
|
1004
|
+
|
|
1005
|
+
return await this._createLinks(this.moduleName, this.entityName, fileId, associationDtos);
|
|
1006
|
+
}
|
|
1007
|
+
|
|
1008
|
+
public async removeYfEquipmentCollectionFiles(fileId: string, yfEquipmentCollectionIds: string[]) {
|
|
1009
|
+
|
|
1010
|
+
const associationDtos = [];
|
|
1011
|
+
for(const pk of yfEquipmentCollectionIds){
|
|
1012
|
+
associationDtos.push({
|
|
1013
|
+
entity: 'FieldServiceModule:YfEquipmentCollection',
|
|
1014
|
+
recordId: pk,
|
|
1015
|
+
});
|
|
1016
|
+
}
|
|
1017
|
+
|
|
1018
|
+
return await this._deleteLinks(this.moduleName, this.entityName, fileId, associationDtos);
|
|
1019
|
+
}
|
|
1020
|
+
|
|
1021
|
+
|
|
1022
|
+
// Use this function when you want to return a single record
|
|
1023
|
+
public async getYfFieldServiceVisits(fileId: string) {
|
|
1024
|
+
return await this._getLinks(this.moduleName, this.entityName, fileId, 'YfFieldServiceVisit');
|
|
1025
|
+
}
|
|
1026
|
+
|
|
1027
|
+
public async addYfFieldServiceVisitFiles(fileId: string, yfFieldServiceVisitIds: {id: string, relationType?: RelationTypeEnum, relatedAssociationId?: string}[]) {
|
|
1028
|
+
|
|
1029
|
+
const associationDtos = [];
|
|
1030
|
+
for(const param of yfFieldServiceVisitIds){
|
|
1031
|
+
associationDtos.push({
|
|
1032
|
+
entity: 'FieldServiceModule:YfFieldServiceVisit',
|
|
1033
|
+
recordId: param.id,
|
|
1034
|
+
linkType: 'YfFieldServiceVisit__File',
|
|
1035
|
+
relationType: param?.relationType,
|
|
1036
|
+
relatedAssociationId: param?.relatedAssociationId
|
|
1037
|
+
});
|
|
1038
|
+
}
|
|
1039
|
+
|
|
1040
|
+
return await this._createLinks(this.moduleName, this.entityName, fileId, associationDtos);
|
|
1041
|
+
}
|
|
1042
|
+
|
|
1043
|
+
public async removeYfFieldServiceVisitFiles(fileId: string, yfFieldServiceVisitIds: string[]) {
|
|
1044
|
+
|
|
1045
|
+
const associationDtos = [];
|
|
1046
|
+
for(const pk of yfFieldServiceVisitIds){
|
|
1047
|
+
associationDtos.push({
|
|
1048
|
+
entity: 'FieldServiceModule:YfFieldServiceVisit',
|
|
1049
|
+
recordId: pk,
|
|
1050
|
+
});
|
|
1051
|
+
}
|
|
1052
|
+
|
|
1053
|
+
return await this._deleteLinks(this.moduleName, this.entityName, fileId, associationDtos);
|
|
1054
|
+
}
|
|
1055
|
+
|
|
1056
|
+
|
|
1057
|
+
// Use this function when you want to return a single record
|
|
1058
|
+
public async getRemediationRequiredReasons(fileId: string) {
|
|
1059
|
+
return await this._getLinks(this.moduleName, this.entityName, fileId, 'RemediationRequiredReason');
|
|
1060
|
+
}
|
|
1061
|
+
|
|
1062
|
+
public async addRemediationRequiredReasonFiles(fileId: string, remediationRequiredReasonIds: {id: string, relationType?: RelationTypeEnum, relatedAssociationId?: string}[]) {
|
|
1063
|
+
|
|
1064
|
+
const associationDtos = [];
|
|
1065
|
+
for(const param of remediationRequiredReasonIds){
|
|
1066
|
+
associationDtos.push({
|
|
1067
|
+
entity: 'FieldServiceModule:RemediationRequiredReason',
|
|
1068
|
+
recordId: param.id,
|
|
1069
|
+
linkType: 'RemediationRequiredReason__File',
|
|
1070
|
+
relationType: param?.relationType,
|
|
1071
|
+
relatedAssociationId: param?.relatedAssociationId
|
|
1072
|
+
});
|
|
1073
|
+
}
|
|
1074
|
+
|
|
1075
|
+
return await this._createLinks(this.moduleName, this.entityName, fileId, associationDtos);
|
|
1076
|
+
}
|
|
1077
|
+
|
|
1078
|
+
public async removeRemediationRequiredReasonFiles(fileId: string, remediationRequiredReasonIds: string[]) {
|
|
1079
|
+
|
|
1080
|
+
const associationDtos = [];
|
|
1081
|
+
for(const pk of remediationRequiredReasonIds){
|
|
1082
|
+
associationDtos.push({
|
|
1083
|
+
entity: 'FieldServiceModule:RemediationRequiredReason',
|
|
1084
|
+
recordId: pk,
|
|
1085
|
+
});
|
|
1086
|
+
}
|
|
1087
|
+
|
|
1088
|
+
return await this._deleteLinks(this.moduleName, this.entityName, fileId, associationDtos);
|
|
1089
|
+
}
|
|
1090
|
+
|
|
1091
|
+
|
|
1092
|
+
// Use this function when you want to return a single record
|
|
1093
|
+
public async getInvoices(fileId: string) {
|
|
1094
|
+
return await this._getLinks(this.moduleName, this.entityName, fileId, 'Invoice');
|
|
1095
|
+
}
|
|
1096
|
+
|
|
1097
|
+
public async addInvoiceFiles(fileId: string, invoiceIds: {id: string, relationType?: RelationTypeEnum, relatedAssociationId?: string}[]) {
|
|
1098
|
+
|
|
1099
|
+
const associationDtos = [];
|
|
1100
|
+
for(const param of invoiceIds){
|
|
1101
|
+
associationDtos.push({
|
|
1102
|
+
entity: 'BillingModule:Invoice',
|
|
1103
|
+
recordId: param.id,
|
|
1104
|
+
linkType: 'Invoice__File',
|
|
1105
|
+
relationType: param?.relationType,
|
|
1106
|
+
relatedAssociationId: param?.relatedAssociationId
|
|
1107
|
+
});
|
|
1108
|
+
}
|
|
1109
|
+
|
|
1110
|
+
return await this._createLinks(this.moduleName, this.entityName, fileId, associationDtos);
|
|
1111
|
+
}
|
|
1112
|
+
|
|
1113
|
+
public async removeInvoiceFiles(fileId: string, invoiceIds: string[]) {
|
|
1114
|
+
|
|
1115
|
+
const associationDtos = [];
|
|
1116
|
+
for(const pk of invoiceIds){
|
|
1117
|
+
associationDtos.push({
|
|
1118
|
+
entity: 'BillingModule:Invoice',
|
|
1119
|
+
recordId: pk,
|
|
1120
|
+
});
|
|
1121
|
+
}
|
|
1122
|
+
|
|
1123
|
+
return await this._deleteLinks(this.moduleName, this.entityName, fileId, associationDtos);
|
|
1124
|
+
}
|
|
1125
|
+
|
|
1126
|
+
|
|
1127
|
+
// Use this function when you want to return a single record
|
|
1128
|
+
public async getFingerprints(fileId: string) {
|
|
1129
|
+
return await this._getLinks(this.moduleName, this.entityName, fileId, 'Fingerprint');
|
|
1130
|
+
}
|
|
1131
|
+
|
|
1132
|
+
public async addFingerprintFiles(fileId: string, fingerprintIds: {id: string, relationType?: RelationTypeEnum, relatedAssociationId?: string}[]) {
|
|
1133
|
+
|
|
1134
|
+
const associationDtos = [];
|
|
1135
|
+
for(const param of fingerprintIds){
|
|
1136
|
+
associationDtos.push({
|
|
1137
|
+
entity: 'CrmModule:Fingerprint',
|
|
1138
|
+
recordId: param.id,
|
|
1139
|
+
linkType: 'Fingerprint__File',
|
|
1140
|
+
relationType: param?.relationType,
|
|
1141
|
+
relatedAssociationId: param?.relatedAssociationId
|
|
1142
|
+
});
|
|
1143
|
+
}
|
|
1144
|
+
|
|
1145
|
+
return await this._createLinks(this.moduleName, this.entityName, fileId, associationDtos);
|
|
1146
|
+
}
|
|
1147
|
+
|
|
1148
|
+
public async removeFingerprintFiles(fileId: string, fingerprintIds: string[]) {
|
|
1149
|
+
|
|
1150
|
+
const associationDtos = [];
|
|
1151
|
+
for(const pk of fingerprintIds){
|
|
1152
|
+
associationDtos.push({
|
|
1153
|
+
entity: 'CrmModule:Fingerprint',
|
|
1154
|
+
recordId: pk,
|
|
1155
|
+
});
|
|
1156
|
+
}
|
|
1157
|
+
|
|
1158
|
+
return await this._deleteLinks(this.moduleName, this.entityName, fileId, associationDtos);
|
|
1159
|
+
}
|
|
1160
|
+
|
|
1161
|
+
|
|
1162
|
+
// Use this function when you want to return a single record
|
|
1163
|
+
public async getSweeperMaintenanceAudits(fileId: string) {
|
|
1164
|
+
return await this._getLinks(this.moduleName, this.entityName, fileId, 'SweeperMaintenanceAudit');
|
|
1165
|
+
}
|
|
1166
|
+
|
|
1167
|
+
public async addSweeperMaintenanceAuditFiles(fileId: string, sweeperMaintenanceAuditIds: {id: string, relationType?: RelationTypeEnum, relatedAssociationId?: string}[]) {
|
|
1168
|
+
|
|
1169
|
+
const associationDtos = [];
|
|
1170
|
+
for(const param of sweeperMaintenanceAuditIds){
|
|
1171
|
+
associationDtos.push({
|
|
1172
|
+
entity: 'FieldServiceModule:SweeperMaintenanceAudit',
|
|
1173
|
+
recordId: param.id,
|
|
1174
|
+
linkType: 'SweeperMaintenanceAudit__File',
|
|
1175
|
+
relationType: param?.relationType,
|
|
1176
|
+
relatedAssociationId: param?.relatedAssociationId
|
|
1177
|
+
});
|
|
1178
|
+
}
|
|
1179
|
+
|
|
1180
|
+
return await this._createLinks(this.moduleName, this.entityName, fileId, associationDtos);
|
|
1181
|
+
}
|
|
1182
|
+
|
|
1183
|
+
public async removeSweeperMaintenanceAuditFiles(fileId: string, sweeperMaintenanceAuditIds: string[]) {
|
|
1184
|
+
|
|
1185
|
+
const associationDtos = [];
|
|
1186
|
+
for(const pk of sweeperMaintenanceAuditIds){
|
|
1187
|
+
associationDtos.push({
|
|
1188
|
+
entity: 'FieldServiceModule:SweeperMaintenanceAudit',
|
|
1189
|
+
recordId: pk,
|
|
1190
|
+
});
|
|
1191
|
+
}
|
|
1192
|
+
|
|
1193
|
+
return await this._deleteLinks(this.moduleName, this.entityName, fileId, associationDtos);
|
|
1194
|
+
}
|
|
1195
|
+
|
|
1196
|
+
|
|
1197
|
+
// Use this function when you want to return a single record
|
|
1198
|
+
public async getBlockageReportA55s(fileId: string) {
|
|
1199
|
+
return await this._getLinks(this.moduleName, this.entityName, fileId, 'BlockageReportA55');
|
|
1200
|
+
}
|
|
1201
|
+
|
|
1202
|
+
public async addBlockageReportA55Files(fileId: string, blockageReportA55Ids: {id: string, relationType?: RelationTypeEnum, relatedAssociationId?: string}[]) {
|
|
1203
|
+
|
|
1204
|
+
const associationDtos = [];
|
|
1205
|
+
for(const param of blockageReportA55Ids){
|
|
1206
|
+
associationDtos.push({
|
|
1207
|
+
entity: 'FieldServiceModule:BlockageReportA55',
|
|
1208
|
+
recordId: param.id,
|
|
1209
|
+
linkType: 'BlockageReportA55__File',
|
|
1210
|
+
relationType: param?.relationType,
|
|
1211
|
+
relatedAssociationId: param?.relatedAssociationId
|
|
1212
|
+
});
|
|
1213
|
+
}
|
|
1214
|
+
|
|
1215
|
+
return await this._createLinks(this.moduleName, this.entityName, fileId, associationDtos);
|
|
1216
|
+
}
|
|
1217
|
+
|
|
1218
|
+
public async removeBlockageReportA55Files(fileId: string, blockageReportA55Ids: string[]) {
|
|
1219
|
+
|
|
1220
|
+
const associationDtos = [];
|
|
1221
|
+
for(const pk of blockageReportA55Ids){
|
|
1222
|
+
associationDtos.push({
|
|
1223
|
+
entity: 'FieldServiceModule:BlockageReportA55',
|
|
1224
|
+
recordId: pk,
|
|
1225
|
+
});
|
|
1226
|
+
}
|
|
1227
|
+
|
|
1228
|
+
return await this._deleteLinks(this.moduleName, this.entityName, fileId, associationDtos);
|
|
1229
|
+
}
|
|
1230
|
+
|
|
1231
|
+
|
|
1232
|
+
// Use this function when you want to return a single record
|
|
1233
|
+
public async getUgInstallationAudits(fileId: string) {
|
|
1234
|
+
return await this._getLinks(this.moduleName, this.entityName, fileId, 'UgInstallationAudit');
|
|
1235
|
+
}
|
|
1236
|
+
|
|
1237
|
+
public async addUgInstallationAuditFiles(fileId: string, ugInstallationAuditIds: {id: string, relationType?: RelationTypeEnum, relatedAssociationId?: string}[]) {
|
|
1238
|
+
|
|
1239
|
+
const associationDtos = [];
|
|
1240
|
+
for(const param of ugInstallationAuditIds){
|
|
1241
|
+
associationDtos.push({
|
|
1242
|
+
entity: 'FieldServiceModule:UgInstallationAudit',
|
|
1243
|
+
recordId: param.id,
|
|
1244
|
+
linkType: 'UgInstallationAudit__File',
|
|
1245
|
+
relationType: param?.relationType,
|
|
1246
|
+
relatedAssociationId: param?.relatedAssociationId
|
|
1247
|
+
});
|
|
1248
|
+
}
|
|
1249
|
+
|
|
1250
|
+
return await this._createLinks(this.moduleName, this.entityName, fileId, associationDtos);
|
|
1251
|
+
}
|
|
1252
|
+
|
|
1253
|
+
public async removeUgInstallationAuditFiles(fileId: string, ugInstallationAuditIds: string[]) {
|
|
1254
|
+
|
|
1255
|
+
const associationDtos = [];
|
|
1256
|
+
for(const pk of ugInstallationAuditIds){
|
|
1257
|
+
associationDtos.push({
|
|
1258
|
+
entity: 'FieldServiceModule:UgInstallationAudit',
|
|
1259
|
+
recordId: pk,
|
|
1260
|
+
});
|
|
1261
|
+
}
|
|
1262
|
+
|
|
1263
|
+
return await this._deleteLinks(this.moduleName, this.entityName, fileId, associationDtos);
|
|
1264
|
+
}
|
|
1265
|
+
|
|
1266
|
+
|
|
1267
|
+
// Use this function when you want to return a single record
|
|
1268
|
+
public async getOhInstallationAudits(fileId: string) {
|
|
1269
|
+
return await this._getLinks(this.moduleName, this.entityName, fileId, 'OhInstallationAudit');
|
|
1270
|
+
}
|
|
1271
|
+
|
|
1272
|
+
public async addOhInstallationAuditFiles(fileId: string, ohInstallationAuditIds: {id: string, relationType?: RelationTypeEnum, relatedAssociationId?: string}[]) {
|
|
1273
|
+
|
|
1274
|
+
const associationDtos = [];
|
|
1275
|
+
for(const param of ohInstallationAuditIds){
|
|
1276
|
+
associationDtos.push({
|
|
1277
|
+
entity: 'FieldServiceModule:OhInstallationAudit',
|
|
1278
|
+
recordId: param.id,
|
|
1279
|
+
linkType: 'OhInstallationAudit__File',
|
|
1280
|
+
relationType: param?.relationType,
|
|
1281
|
+
relatedAssociationId: param?.relatedAssociationId
|
|
1282
|
+
});
|
|
1283
|
+
}
|
|
1284
|
+
|
|
1285
|
+
return await this._createLinks(this.moduleName, this.entityName, fileId, associationDtos);
|
|
1286
|
+
}
|
|
1287
|
+
|
|
1288
|
+
public async removeOhInstallationAuditFiles(fileId: string, ohInstallationAuditIds: string[]) {
|
|
1289
|
+
|
|
1290
|
+
const associationDtos = [];
|
|
1291
|
+
for(const pk of ohInstallationAuditIds){
|
|
1292
|
+
associationDtos.push({
|
|
1293
|
+
entity: 'FieldServiceModule:OhInstallationAudit',
|
|
1294
|
+
recordId: pk,
|
|
1295
|
+
});
|
|
1296
|
+
}
|
|
1297
|
+
|
|
1298
|
+
return await this._deleteLinks(this.moduleName, this.entityName, fileId, associationDtos);
|
|
1299
|
+
}
|
|
1300
|
+
|
|
1301
|
+
|
|
1302
|
+
// Use this function when you want to return a single record
|
|
1303
|
+
public async getServiceVisitAudits(fileId: string) {
|
|
1304
|
+
return await this._getLinks(this.moduleName, this.entityName, fileId, 'ServiceVisitAudit');
|
|
1305
|
+
}
|
|
1306
|
+
|
|
1307
|
+
public async addServiceVisitAuditFiles(fileId: string, serviceVisitAuditIds: {id: string, relationType?: RelationTypeEnum, relatedAssociationId?: string}[]) {
|
|
1308
|
+
|
|
1309
|
+
const associationDtos = [];
|
|
1310
|
+
for(const param of serviceVisitAuditIds){
|
|
1311
|
+
associationDtos.push({
|
|
1312
|
+
entity: 'FieldServiceModule:ServiceVisitAudit',
|
|
1313
|
+
recordId: param.id,
|
|
1314
|
+
linkType: 'ServiceVisitAudit__File',
|
|
1315
|
+
relationType: param?.relationType,
|
|
1316
|
+
relatedAssociationId: param?.relatedAssociationId
|
|
1317
|
+
});
|
|
1318
|
+
}
|
|
1319
|
+
|
|
1320
|
+
return await this._createLinks(this.moduleName, this.entityName, fileId, associationDtos);
|
|
1321
|
+
}
|
|
1322
|
+
|
|
1323
|
+
public async removeServiceVisitAuditFiles(fileId: string, serviceVisitAuditIds: string[]) {
|
|
1324
|
+
|
|
1325
|
+
const associationDtos = [];
|
|
1326
|
+
for(const pk of serviceVisitAuditIds){
|
|
1327
|
+
associationDtos.push({
|
|
1328
|
+
entity: 'FieldServiceModule:ServiceVisitAudit',
|
|
1329
|
+
recordId: pk,
|
|
1330
|
+
});
|
|
1331
|
+
}
|
|
1332
|
+
|
|
1333
|
+
return await this._deleteLinks(this.moduleName, this.entityName, fileId, associationDtos);
|
|
1334
|
+
}
|
|
1335
|
+
|
|
1336
|
+
|
|
1337
|
+
// Use this function when you want to return a single record
|
|
1338
|
+
public async getOhAuditOfInstallations(fileId: string) {
|
|
1339
|
+
return await this._getLinks(this.moduleName, this.entityName, fileId, 'OhAuditOfInstallation');
|
|
1340
|
+
}
|
|
1341
|
+
|
|
1342
|
+
public async addOhAuditOfInstallationFiles(fileId: string, ohAuditOfInstallationIds: {id: string, relationType?: RelationTypeEnum, relatedAssociationId?: string}[]) {
|
|
1343
|
+
|
|
1344
|
+
const associationDtos = [];
|
|
1345
|
+
for(const param of ohAuditOfInstallationIds){
|
|
1346
|
+
associationDtos.push({
|
|
1347
|
+
entity: 'FieldServiceModule:OhAuditOfInstallation',
|
|
1348
|
+
recordId: param.id,
|
|
1349
|
+
linkType: 'OhAuditOfInstallation__File',
|
|
1350
|
+
relationType: param?.relationType,
|
|
1351
|
+
relatedAssociationId: param?.relatedAssociationId
|
|
1352
|
+
});
|
|
1353
|
+
}
|
|
1354
|
+
|
|
1355
|
+
return await this._createLinks(this.moduleName, this.entityName, fileId, associationDtos);
|
|
1356
|
+
}
|
|
1357
|
+
|
|
1358
|
+
public async removeOhAuditOfInstallationFiles(fileId: string, ohAuditOfInstallationIds: string[]) {
|
|
1359
|
+
|
|
1360
|
+
const associationDtos = [];
|
|
1361
|
+
for(const pk of ohAuditOfInstallationIds){
|
|
1362
|
+
associationDtos.push({
|
|
1363
|
+
entity: 'FieldServiceModule:OhAuditOfInstallation',
|
|
1364
|
+
recordId: pk,
|
|
1365
|
+
});
|
|
1366
|
+
}
|
|
1367
|
+
|
|
1368
|
+
return await this._deleteLinks(this.moduleName, this.entityName, fileId, associationDtos);
|
|
1369
|
+
}
|
|
1370
|
+
|
|
1371
|
+
|
|
1372
|
+
// Use this function when you want to return a single record
|
|
1373
|
+
public async getUgAuditOfInstallations(fileId: string) {
|
|
1374
|
+
return await this._getLinks(this.moduleName, this.entityName, fileId, 'UgAuditOfInstallation');
|
|
1375
|
+
}
|
|
1376
|
+
|
|
1377
|
+
public async addUgAuditOfInstallationFiles(fileId: string, ugAuditOfInstallationIds: {id: string, relationType?: RelationTypeEnum, relatedAssociationId?: string}[]) {
|
|
1378
|
+
|
|
1379
|
+
const associationDtos = [];
|
|
1380
|
+
for(const param of ugAuditOfInstallationIds){
|
|
1381
|
+
associationDtos.push({
|
|
1382
|
+
entity: 'FieldServiceModule:UgAuditOfInstallation',
|
|
1383
|
+
recordId: param.id,
|
|
1384
|
+
linkType: 'UgAuditOfInstallation__File',
|
|
1385
|
+
relationType: param?.relationType,
|
|
1386
|
+
relatedAssociationId: param?.relatedAssociationId
|
|
1387
|
+
});
|
|
1388
|
+
}
|
|
1389
|
+
|
|
1390
|
+
return await this._createLinks(this.moduleName, this.entityName, fileId, associationDtos);
|
|
1391
|
+
}
|
|
1392
|
+
|
|
1393
|
+
public async removeUgAuditOfInstallationFiles(fileId: string, ugAuditOfInstallationIds: string[]) {
|
|
1394
|
+
|
|
1395
|
+
const associationDtos = [];
|
|
1396
|
+
for(const pk of ugAuditOfInstallationIds){
|
|
1397
|
+
associationDtos.push({
|
|
1398
|
+
entity: 'FieldServiceModule:UgAuditOfInstallation',
|
|
1399
|
+
recordId: pk,
|
|
1400
|
+
});
|
|
1401
|
+
}
|
|
1402
|
+
|
|
1403
|
+
return await this._deleteLinks(this.moduleName, this.entityName, fileId, associationDtos);
|
|
1404
|
+
}
|
|
1405
|
+
|
|
1406
|
+
|
|
1407
|
+
// Use this function when you want to return a single record
|
|
1408
|
+
public async getUgInProgressAudits(fileId: string) {
|
|
1409
|
+
return await this._getLinks(this.moduleName, this.entityName, fileId, 'UgInProgressAudit');
|
|
1410
|
+
}
|
|
1411
|
+
|
|
1412
|
+
public async addUgInProgressAuditFiles(fileId: string, ugInProgressAuditIds: {id: string, relationType?: RelationTypeEnum, relatedAssociationId?: string}[]) {
|
|
1413
|
+
|
|
1414
|
+
const associationDtos = [];
|
|
1415
|
+
for(const param of ugInProgressAuditIds){
|
|
1416
|
+
associationDtos.push({
|
|
1417
|
+
entity: 'FieldServiceModule:UgInProgressAudit',
|
|
1418
|
+
recordId: param.id,
|
|
1419
|
+
linkType: 'UgInProgressAudit_File',
|
|
1420
|
+
relationType: param?.relationType,
|
|
1421
|
+
relatedAssociationId: param?.relatedAssociationId
|
|
1422
|
+
});
|
|
1423
|
+
}
|
|
1424
|
+
|
|
1425
|
+
return await this._createLinks(this.moduleName, this.entityName, fileId, associationDtos);
|
|
1426
|
+
}
|
|
1427
|
+
|
|
1428
|
+
public async removeUgInProgressAuditFiles(fileId: string, ugInProgressAuditIds: string[]) {
|
|
1429
|
+
|
|
1430
|
+
const associationDtos = [];
|
|
1431
|
+
for(const pk of ugInProgressAuditIds){
|
|
1432
|
+
associationDtos.push({
|
|
1433
|
+
entity: 'FieldServiceModule:UgInProgressAudit',
|
|
1434
|
+
recordId: pk,
|
|
1435
|
+
});
|
|
1436
|
+
}
|
|
1437
|
+
|
|
1438
|
+
return await this._deleteLinks(this.moduleName, this.entityName, fileId, associationDtos);
|
|
1439
|
+
}
|
|
1440
|
+
|
|
1441
|
+
|
|
1442
|
+
// Use this function when you want to return a single record
|
|
1443
|
+
public async getOhInProgressAudits(fileId: string) {
|
|
1444
|
+
return await this._getLinks(this.moduleName, this.entityName, fileId, 'OhInProgressAudit');
|
|
1445
|
+
}
|
|
1446
|
+
|
|
1447
|
+
public async addOhInProgressAuditFiles(fileId: string, ohInProgressAuditIds: {id: string, relationType?: RelationTypeEnum, relatedAssociationId?: string}[]) {
|
|
1448
|
+
|
|
1449
|
+
const associationDtos = [];
|
|
1450
|
+
for(const param of ohInProgressAuditIds){
|
|
1451
|
+
associationDtos.push({
|
|
1452
|
+
entity: 'FieldServiceModule:OhInProgressAudit',
|
|
1453
|
+
recordId: param.id,
|
|
1454
|
+
linkType: 'OhInProgressAudit_File',
|
|
1455
|
+
relationType: param?.relationType,
|
|
1456
|
+
relatedAssociationId: param?.relatedAssociationId
|
|
1457
|
+
});
|
|
1458
|
+
}
|
|
1459
|
+
|
|
1460
|
+
return await this._createLinks(this.moduleName, this.entityName, fileId, associationDtos);
|
|
1461
|
+
}
|
|
1462
|
+
|
|
1463
|
+
public async removeOhInProgressAuditFiles(fileId: string, ohInProgressAuditIds: string[]) {
|
|
1464
|
+
|
|
1465
|
+
const associationDtos = [];
|
|
1466
|
+
for(const pk of ohInProgressAuditIds){
|
|
1467
|
+
associationDtos.push({
|
|
1468
|
+
entity: 'FieldServiceModule:OhInProgressAudit',
|
|
1469
|
+
recordId: pk,
|
|
1470
|
+
});
|
|
1471
|
+
}
|
|
1472
|
+
|
|
1473
|
+
return await this._deleteLinks(this.moduleName, this.entityName, fileId, associationDtos);
|
|
1474
|
+
}
|
|
1475
|
+
|
|
1476
|
+
|
|
1477
|
+
// Use this function when you want to return a single record
|
|
1478
|
+
public async getOverlayRealA55s(fileId: string) {
|
|
1479
|
+
return await this._getLinks(this.moduleName, this.entityName, fileId, 'OverlayRealA55');
|
|
1480
|
+
}
|
|
1481
|
+
|
|
1482
|
+
public async addOverlayRealA55Files(fileId: string, overlayRealA55Ids: {id: string, relationType?: RelationTypeEnum, relatedAssociationId?: string}[]) {
|
|
1483
|
+
|
|
1484
|
+
const associationDtos = [];
|
|
1485
|
+
for(const param of overlayRealA55Ids){
|
|
1486
|
+
associationDtos.push({
|
|
1487
|
+
entity: 'FieldServiceModule:OverlayRealA55',
|
|
1488
|
+
recordId: param.id,
|
|
1489
|
+
linkType: 'OverlayRealA55_File',
|
|
1490
|
+
relationType: param?.relationType,
|
|
1491
|
+
relatedAssociationId: param?.relatedAssociationId
|
|
1492
|
+
});
|
|
1493
|
+
}
|
|
1494
|
+
|
|
1495
|
+
return await this._createLinks(this.moduleName, this.entityName, fileId, associationDtos);
|
|
1496
|
+
}
|
|
1497
|
+
|
|
1498
|
+
public async removeOverlayRealA55Files(fileId: string, overlayRealA55Ids: string[]) {
|
|
1499
|
+
|
|
1500
|
+
const associationDtos = [];
|
|
1501
|
+
for(const pk of overlayRealA55Ids){
|
|
1502
|
+
associationDtos.push({
|
|
1503
|
+
entity: 'FieldServiceModule:OverlayRealA55',
|
|
1504
|
+
recordId: pk,
|
|
1505
|
+
});
|
|
1506
|
+
}
|
|
1507
|
+
|
|
1508
|
+
return await this._deleteLinks(this.moduleName, this.entityName, fileId, associationDtos);
|
|
1509
|
+
}
|
|
1510
|
+
|
|
1511
|
+
|
|
1512
|
+
// Use this function when you want to return a single record
|
|
1513
|
+
public async getOhExternalAudits(fileId: string) {
|
|
1514
|
+
return await this._getLinks(this.moduleName, this.entityName, fileId, 'OhExternalAudit');
|
|
1515
|
+
}
|
|
1516
|
+
|
|
1517
|
+
public async addOhExternalAuditFiles(fileId: string, ohExternalAuditIds: {id: string, relationType?: RelationTypeEnum, relatedAssociationId?: string}[]) {
|
|
1518
|
+
|
|
1519
|
+
const associationDtos = [];
|
|
1520
|
+
for(const param of ohExternalAuditIds){
|
|
1521
|
+
associationDtos.push({
|
|
1522
|
+
entity: 'FieldServiceModule:OhExternalAudit',
|
|
1523
|
+
recordId: param.id,
|
|
1524
|
+
linkType: 'OhExternalAudit_File',
|
|
1525
|
+
relationType: param?.relationType,
|
|
1526
|
+
relatedAssociationId: param?.relatedAssociationId
|
|
1527
|
+
});
|
|
1528
|
+
}
|
|
1529
|
+
|
|
1530
|
+
return await this._createLinks(this.moduleName, this.entityName, fileId, associationDtos);
|
|
1531
|
+
}
|
|
1532
|
+
|
|
1533
|
+
public async removeOhExternalAuditFiles(fileId: string, ohExternalAuditIds: string[]) {
|
|
1534
|
+
|
|
1535
|
+
const associationDtos = [];
|
|
1536
|
+
for(const pk of ohExternalAuditIds){
|
|
1537
|
+
associationDtos.push({
|
|
1538
|
+
entity: 'FieldServiceModule:OhExternalAudit',
|
|
1539
|
+
recordId: pk,
|
|
1540
|
+
});
|
|
1541
|
+
}
|
|
1542
|
+
|
|
1543
|
+
return await this._deleteLinks(this.moduleName, this.entityName, fileId, associationDtos);
|
|
1544
|
+
}
|
|
1545
|
+
|
|
1546
|
+
|
|
1547
|
+
}
|