yellowgrid-api-ts 3.2.113-dev.0 → 3.2.113
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/.openapi-generator/FILES +12 -6
- package/.openapi-generator/VERSION +1 -1
- package/.openapi-generator-ignore +0 -0
- package/README.md +23 -14
- package/api.ts +1322 -759
- package/base.ts +2 -2
- package/common.ts +1 -1
- package/config.json +3 -3
- package/configuration.ts +1 -1
- package/dist/api.d.ts +749 -395
- package/dist/api.js +1232 -748
- package/dist/base.d.ts +1 -1
- package/dist/base.js +2 -2
- package/dist/common.d.ts +1 -1
- package/dist/common.js +1 -1
- package/dist/configuration.d.ts +1 -1
- package/dist/configuration.js +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +1 -1
- package/dist/models/CourierEnum.d.ts +0 -0
- package/dist/models/CourierEnum.js +0 -0
- package/dist/models/EventStatusEnum.d.ts +0 -0
- package/dist/models/EventStatusEnum.js +0 -0
- package/dist/models/EventTypeEnum.d.ts +0 -0
- package/dist/models/EventTypeEnum.js +0 -0
- package/dist/models/PortStatusEnum.d.ts +0 -0
- package/dist/models/PortStatusEnum.js +0 -0
- package/dist/models/PrinterEnum.d.ts +0 -0
- package/dist/models/PrinterEnum.js +0 -0
- package/dist/models/ScheduledTaskEnum.d.ts +33 -0
- package/dist/models/ScheduledTaskEnum.js +35 -0
- package/dist/models/ServiceEnum.d.ts +5 -0
- package/dist/models/ServiceEnum.js +5 -0
- package/dist/models/ServiceHealthEnum.d.ts +0 -0
- package/dist/models/ServiceHealthEnum.js +0 -0
- package/dist/models/ServiceStatusEnum.d.ts +0 -0
- package/dist/models/ServiceStatusEnum.js +0 -0
- package/dist/models/UpdateTypeEnum.d.ts +0 -0
- package/dist/models/UpdateTypeEnum.js +0 -0
- package/docs/AbstractOrderRequestDTO.md +0 -0
- package/docs/AccountContactEntity.md +0 -0
- package/docs/AccountContactModel.md +0 -0
- package/docs/AccountContactRequestModel.md +0 -0
- package/docs/AccountDetailedSummaryDTO.md +0 -0
- package/docs/AccountRequestModel.md +0 -0
- package/docs/AccountSummaryDTO.md +0 -0
- package/docs/AccountsApi.md +5 -412
- package/docs/AccountsResponseModel.md +0 -0
- package/docs/AddressModel.md +0 -0
- package/docs/AddressRequestModel.md +0 -0
- package/docs/AdminNumberPortDTO.md +0 -0
- package/docs/AdminOrderRequestDTO.md +0 -0
- package/docs/AdminUserModel.md +0 -0
- package/docs/AgentHoursGraphModel.md +0 -0
- package/docs/AgentHoursGraphMonthModel.md +0 -0
- package/docs/ApiLogEntity.md +0 -0
- package/docs/AreaCodeModel.md +0 -0
- package/docs/AttachmentModel.md +0 -0
- package/docs/AttributeSetEnum.md +0 -0
- package/docs/AuditLogEntity.md +0 -0
- package/docs/AuthCodeResponseModel.md +0 -0
- package/docs/BasicItemDTO.md +0 -0
- package/docs/BasicProductDTO.md +0 -0
- package/docs/BatchDTO.md +0 -0
- package/docs/BatchEntity.md +0 -0
- package/docs/CRMApi.md +1 -1
- package/docs/CallBarringModel.md +0 -0
- package/docs/Class3CXApi.md +1 -1
- package/docs/Class3CXInstallationWizardApi.md +1 -1
- package/docs/Class3CXInstallationsApi.md +348 -5
- package/docs/Class3CXIntegrationsApi.md +1 -1
- package/docs/Class3CXMultiTenantApi.md +1 -1
- package/docs/ClientDetailsModel.md +0 -0
- package/docs/ClientModel.md +0 -0
- package/docs/CompanyContractModel.md +0 -0
- package/docs/ContactInfoModel.md +0 -0
- package/docs/ConversationModel.md +0 -0
- package/docs/CourierPriceEntity.md +0 -0
- package/docs/CreditAccountEntity.md +0 -0
- package/docs/CreditNoteDTO.md +0 -0
- package/docs/CreditNoteEntity.md +0 -0
- package/docs/CreditNoteItemDTO.md +0 -0
- package/docs/CreditNoteItemEntity.md +0 -0
- package/docs/CreditNoteItemModel.md +0 -0
- package/docs/CreditNoteModel.md +0 -0
- package/docs/CrmContactDTO.md +0 -0
- package/docs/CustomerInformationModel.md +0 -0
- package/docs/CustomerItemRequestDTO.md +2 -0
- package/docs/CustomerOrderRequestDTO.md +0 -0
- package/docs/CustomerPriceListEnum.md +0 -0
- package/docs/CustomerSummaryReportDTO.md +0 -0
- package/docs/DdiRangeRequestModel.md +0 -0
- package/docs/DdiRangesRequestModel.md +0 -0
- package/docs/DetailedItemRequestDTO.md +2 -0
- package/docs/DetailedOrderRequestDTO.md +0 -0
- package/docs/DivertRequestModel.md +0 -0
- package/docs/DivertResponseModel.md +0 -0
- package/docs/EdTechProClientEntity.md +0 -0
- package/docs/EdTechProSchoolModel.md +0 -0
- package/docs/EdTechProSchoolsModel.md +0 -0
- package/docs/EdTechProSetupModel.md +0 -0
- package/docs/EventDTO.md +0 -0
- package/docs/EventRequestDTO.md +0 -0
- package/docs/EventSubscriptionModel.md +0 -0
- package/docs/EventUpdateDTO.md +0 -0
- package/docs/EventUpdateEntity.md +0 -0
- package/docs/EventUpdateRequestDTO.md +0 -0
- package/docs/FraudManagementModel.md +0 -0
- package/docs/FreshdeskCompanyTicketsModel.md +0 -0
- package/docs/FreshdeskTicketEntity.md +0 -0
- package/docs/FtpAccountsEntity.md +0 -0
- package/docs/GenericFileModel.md +0 -0
- package/docs/GetGetPrice200Response.md +0 -0
- package/docs/GetGetRecording200Response.md +0 -0
- package/docs/HostingChangeResponseModel.md +0 -0
- package/docs/HostingRegionDTO.md +0 -0
- package/docs/InstallationDetailsDTO.md +39 -0
- package/docs/InstanceAutoFailoverEntity.md +0 -0
- package/docs/InstanceDeletionScheduleEntity.md +0 -0
- package/docs/InstanceEntity.md +0 -0
- package/docs/InstanceFailoverEntity.md +0 -0
- package/docs/InstanceMonitoringEntity.md +0 -0
- package/docs/InstanceMonitoringLogEntity.md +0 -0
- package/docs/InstanceScheduledTasksEntity.md +0 -0
- package/docs/InstanceTcxDetailsEntity.md +0 -0
- package/docs/InstanceUserCredentialsEntity.md +0 -0
- package/docs/ItemDTO.md +2 -0
- package/docs/ItemDiscountEntity.md +0 -0
- package/docs/ItemEntity.md +0 -0
- package/docs/LinkedOrderEntity.md +0 -0
- package/docs/MFARequiredModel.md +0 -0
- package/docs/MonthlyUsageModel.md +0 -0
- package/docs/MultiTenantChangeResponseModel.md +0 -0
- package/docs/MyPBXToolsApi.md +1 -1
- package/docs/NavigationModel.md +0 -0
- package/docs/NumberPortDTO.md +0 -0
- package/docs/NumberPortNoteDTO.md +0 -0
- package/docs/NumberPortRangeDTO.md +0 -0
- package/docs/NumberPortRangeRequestDTO.md +0 -0
- package/docs/NumberPortingApi.md +1 -1
- package/docs/NumberPortsModel.md +0 -0
- package/docs/OAuth20Api.md +1 -1
- package/docs/OfflineInstancesEntity.md +0 -0
- package/docs/OrderDTO.md +25 -0
- package/docs/OrderDetailsDTO.md +0 -0
- package/docs/OrderEntity.md +0 -0
- package/docs/OrderItemDTO.md +2 -0
- package/docs/OrderRequestModel.md +0 -0
- package/docs/OrderResponseDTO.md +25 -0
- package/docs/OrderSummariesModel.md +0 -0
- package/docs/OrderSummaryDTO.md +0 -0
- package/docs/OrderTotalModel.md +0 -0
- package/docs/OrderedItemEntity.md +0 -0
- package/docs/OrderedItemModel.md +0 -0
- package/docs/OrdersApi.md +115 -1
- package/docs/PatchSetTcxWizardCnameRequest.md +0 -0
- package/docs/PatchUpdateAccountContactPasswordRequest.md +0 -0
- package/docs/PortalAccountModel.md +0 -0
- package/docs/PortalLoginModel.md +0 -0
- package/docs/PostAddAdminNoteRequest.md +0 -0
- package/docs/PostAddOrderNoteRequest.md +0 -0
- package/docs/PostAddWebhook200Response.md +0 -0
- package/docs/PostGetClientCredentialsRequest.md +0 -0
- package/docs/PostGetProductForCustomerRequest.md +2 -0
- package/docs/PostSplitOrderRequest.md +0 -0
- package/docs/PriceListItemModel.md +0 -0
- package/docs/PricingApi.md +1 -1
- package/docs/PrinterEntity.md +0 -0
- package/docs/PrizesEntity.md +0 -0
- package/docs/ProductPriceListItemModel.md +0 -0
- package/docs/ProductSearchResultsModel.md +0 -0
- package/docs/ProductSerialInfoModel.md +0 -0
- package/docs/ProductSummaryDTO.md +2 -0
- package/docs/ProductsApi.md +6 -6
- package/docs/PromoCodesEntity.md +0 -0
- package/docs/PromoItemsEntity.md +0 -0
- package/docs/ProspectDTO.md +33 -0
- package/docs/ProspectEntity.md +41 -0
- package/docs/ProspectsApi.md +226 -0
- package/docs/ProvisioningApi.md +1 -1
- package/docs/ProvisioningModel.md +0 -0
- package/docs/ProvisioningRequestEntity.md +0 -0
- package/docs/PutAllocateItemsRequest.md +0 -0
- package/docs/PutAllocateItemsRequestItemsInner.md +0 -0
- package/docs/RecordingBackupAzureModel.md +0 -0
- package/docs/RecordingsBackupInfoDTO.md +0 -0
- package/docs/RemoteStorageDTO.md +27 -0
- package/docs/ResourceNotReadyException.md +0 -0
- package/docs/RootAccessModel.md +0 -0
- package/docs/S3BucketEntity.md +0 -0
- package/docs/SIPTrunksApi.md +1 -1
- package/docs/SMSApi.md +1 -1
- package/docs/SbcDTO.md +35 -0
- package/docs/ScannedItemModel.md +0 -0
- package/docs/ScopeModel.md +0 -0
- package/docs/ServiceHealthDTO.md +0 -0
- package/docs/ServiceStatusDTO.md +0 -0
- package/docs/ServicesApi.md +1 -1
- package/docs/ShipmentAddressEntity.md +0 -0
- package/docs/ShipmentDTO.md +0 -0
- package/docs/ShipmentEntity.md +0 -0
- package/docs/ShipmentItemDTO.md +0 -0
- package/docs/ShipmentItemEntity.md +0 -0
- package/docs/ShipmentItemModel.md +0 -0
- package/docs/ShipmentModel.md +0 -0
- package/docs/ShipmentRequestDTO.md +0 -0
- package/docs/ShippingAddressDTO.md +35 -0
- package/docs/ShippingApi.md +1 -1
- package/docs/ShippingConsignmentModel.md +0 -0
- package/docs/ShippingInformationDTO.md +0 -0
- package/docs/ShippingRequestDTO.md +0 -0
- package/docs/ShippingServiceDTO.md +0 -0
- package/docs/ShippingServiceModel.md +0 -0
- package/docs/ShippingServicesModel.md +0 -0
- package/docs/SipTrunkChangeResponseModel.md +0 -0
- package/docs/SipTrunkCreationRequestModel.md +0 -0
- package/docs/SipTrunkEntity.md +0 -0
- package/docs/SipTrunksResponseModel.md +0 -0
- package/docs/SmsAccountDTO.md +0 -0
- package/docs/SmsAccountEntity.md +0 -0
- package/docs/SmsAccountRequestDTO.md +0 -0
- package/docs/SmsDataModel.md +0 -0
- package/docs/SmsMessageModel.md +0 -0
- package/docs/SmsNumbersEntity.md +0 -0
- package/docs/SmsPayloadModel.md +0 -0
- package/docs/SmsPhoneNumberModel.md +0 -0
- package/docs/SmsResponseModel.md +0 -0
- package/docs/SmsWhitelistEntity.md +0 -0
- package/docs/StockManagementApi.md +1 -1
- package/docs/StockOrderCourierEntity.md +0 -0
- package/docs/StockOrderDeductionModel.md +0 -0
- package/docs/StockOrderDeductionRequestModel.md +0 -0
- package/docs/StockOrderDeductionsEntity.md +0 -0
- package/docs/StockOrderEntity.md +0 -0
- package/docs/StockOrderItemEntity.md +0 -0
- package/docs/StockOrderItemModel.md +0 -0
- package/docs/StockOrderItemRequestModel.md +0 -0
- package/docs/StockOrderModel.md +0 -0
- package/docs/StockOrderProductEntity.md +0 -0
- package/docs/StockOrderRequestModel.md +0 -0
- package/docs/StockOrderSupplierEntity.md +0 -0
- package/docs/StockOrderSupplierModel.md +0 -0
- package/docs/StockOrdersModel.md +0 -0
- package/docs/StockProductModel.md +0 -0
- package/docs/StockProductPriceModel.md +0 -0
- package/docs/StockProductSummariesModel.md +0 -0
- package/docs/StockProductSummaryModel.md +0 -0
- package/docs/StockTransactionsEntity.md +0 -0
- package/docs/SupplierEntity.md +0 -0
- package/docs/SupplierItemEntity.md +0 -0
- package/docs/SupplierItemModel.md +0 -0
- package/docs/SupplierModel.md +0 -0
- package/docs/SupportTicketModel.md +0 -0
- package/docs/SystemApi.md +1 -1
- package/docs/TcxBackupEntity.md +0 -0
- package/docs/TcxBackupModel.md +0 -0
- package/docs/TcxBillingEntity.md +0 -0
- package/docs/TcxBulkLicenceDetailsModel.md +0 -0
- package/docs/TcxDeadLicenceEntity.md +0 -0
- package/docs/TcxExtsEntity.md +0 -0
- package/docs/TcxHostingPricingEntity.md +0 -0
- package/docs/TcxInstallationModel.md +0 -0
- package/docs/TcxInstallationsModel.md +0 -0
- package/docs/TcxKeySummaryDTO.md +0 -0
- package/docs/TcxKeysEntity.md +0 -0
- package/docs/TcxLicenceDetailsErrorModel.md +0 -0
- package/docs/TcxLicenceDetailsModel.md +0 -0
- package/docs/TcxMacsEntity.md +0 -0
- package/docs/TcxMultiTenantModel.md +0 -0
- package/docs/TcxMultiTenantUserModel.md +0 -0
- package/docs/TcxMultiTenantsModel.md +0 -0
- package/docs/TcxNumbersEntity.md +0 -0
- package/docs/TcxOfficeHoursEntity.md +0 -0
- package/docs/TcxPhoneModel.md +0 -0
- package/docs/TcxPhonesEntity.md +0 -0
- package/docs/TcxRemoteStorageModel.md +0 -0
- package/docs/TcxSbcDTO.md +2 -0
- package/docs/TcxSbcEntity.md +0 -0
- package/docs/TcxSbcModel.md +0 -0
- package/docs/{PostSendWelcomeEmailRequest.md → TcxSbcResponseDTO.md} +8 -5
- package/docs/TcxSetupEntity.md +0 -0
- package/docs/TcxSetupsModel.md +0 -0
- package/docs/TcxSipTrunksEntity.md +0 -0
- package/docs/TcxTemplateXmlEnum.md +0 -0
- package/docs/TcxUsersEntity.md +0 -0
- package/docs/TcxWizardConfigModel.md +0 -0
- package/docs/TcxWizardModel.md +0 -0
- package/docs/TechSupportCompanySummaryDTO.md +0 -0
- package/docs/TicketSummaryModel.md +0 -0
- package/docs/TicketTimeDTO.md +0 -0
- package/docs/TicketsApi.md +1 -1
- package/docs/TokenResponseModel.md +0 -0
- package/docs/UpgradeOrderResponseModel.md +0 -0
- package/docs/UpgradeRequestModel.md +0 -0
- package/docs/UserEntity.md +0 -0
- package/docs/WebhooksApi.md +1 -1
- package/docs/XeroLogEntity.md +0 -0
- package/getEnums.php +31 -31
- package/git_push.sh +0 -0
- package/index.ts +1 -1
- package/models/CourierEnum.ts +0 -0
- package/models/EventStatusEnum.ts +0 -0
- package/models/EventTypeEnum.ts +0 -0
- package/models/PortStatusEnum.ts +0 -0
- package/models/PrinterEnum.ts +0 -0
- package/models/ScheduledTaskEnum.ts +34 -0
- package/models/ServiceEnum.ts +5 -0
- package/models/ServiceHealthEnum.ts +0 -0
- package/models/ServiceStatusEnum.ts +0 -0
- package/models/UpdateTypeEnum.ts +0 -0
- package/openapitools.json +1 -1
- package/package.json +1 -1
- package/tsconfig.json +0 -0
- package/dist/models/StatusEnum.d.ts +0 -18
- package/dist/models/StatusEnum.js +0 -20
- package/dist/src/apis/AccountsApi.d.ts +0 -258
- package/dist/src/apis/AccountsApi.js +0 -975
- package/dist/src/apis/CRMApi.d.ts +0 -26
- package/dist/src/apis/CRMApi.js +0 -122
- package/dist/src/apis/Class3CXApi.d.ts +0 -44
- package/dist/src/apis/Class3CXApi.js +0 -177
- package/dist/src/apis/Class3CXInstallationWizardApi.d.ts +0 -446
- package/dist/src/apis/Class3CXInstallationWizardApi.js +0 -1740
- package/dist/src/apis/Class3CXInstallationsApi.d.ts +0 -253
- package/dist/src/apis/Class3CXInstallationsApi.js +0 -806
- package/dist/src/apis/Class3CXIntegrationsApi.d.ts +0 -102
- package/dist/src/apis/Class3CXIntegrationsApi.js +0 -386
- package/dist/src/apis/Class3CXMultiTenantApi.d.ts +0 -122
- package/dist/src/apis/Class3CXMultiTenantApi.js +0 -431
- package/dist/src/apis/MyPBXToolsApi.d.ts +0 -32
- package/dist/src/apis/MyPBXToolsApi.js +0 -136
- package/dist/src/apis/OAuth20Api.d.ts +0 -185
- package/dist/src/apis/OAuth20Api.js +0 -507
- package/dist/src/apis/OrdersApi.d.ts +0 -154
- package/dist/src/apis/OrdersApi.js +0 -512
- package/dist/src/apis/PricingApi.d.ts +0 -154
- package/dist/src/apis/PricingApi.js +0 -308
- package/dist/src/apis/ProductsApi.d.ts +0 -135
- package/dist/src/apis/ProductsApi.js +0 -531
- package/dist/src/apis/ProvisioningApi.d.ts +0 -112
- package/dist/src/apis/ProvisioningApi.js +0 -427
- package/dist/src/apis/SIPTrunksApi.d.ts +0 -315
- package/dist/src/apis/SIPTrunksApi.js +0 -1197
- package/dist/src/apis/SMSApi.d.ts +0 -30
- package/dist/src/apis/SMSApi.js +0 -130
- package/dist/src/apis/ServicesApi.d.ts +0 -81
- package/dist/src/apis/ServicesApi.js +0 -386
- package/dist/src/apis/ShippingApi.d.ts +0 -45
- package/dist/src/apis/ShippingApi.js +0 -179
- package/dist/src/apis/StockManagementApi.d.ts +0 -345
- package/dist/src/apis/StockManagementApi.js +0 -1293
- package/dist/src/apis/SystemApi.d.ts +0 -37
- package/dist/src/apis/SystemApi.js +0 -146
- package/dist/src/apis/TicketsApi.d.ts +0 -79
- package/dist/src/apis/TicketsApi.js +0 -360
- package/dist/src/apis/WebhooksApi.d.ts +0 -56
- package/dist/src/apis/WebhooksApi.js +0 -189
- package/dist/src/apis/index.d.ts +0 -21
- package/dist/src/apis/index.js +0 -39
- package/dist/src/index.d.ts +0 -3
- package/dist/src/index.js +0 -21
- package/dist/src/models/AbstractOrderRequestDTO.d.ts +0 -71
- package/dist/src/models/AbstractOrderRequestDTO.js +0 -64
- package/dist/src/models/AccountContactEntity.d.ts +0 -104
- package/dist/src/models/AccountContactEntity.js +0 -73
- package/dist/src/models/AccountContactModel.d.ts +0 -104
- package/dist/src/models/AccountContactModel.js +0 -73
- package/dist/src/models/AccountContactRequestModel.d.ts +0 -80
- package/dist/src/models/AccountContactRequestModel.js +0 -65
- package/dist/src/models/AccountDetailedSummaryDTO.d.ts +0 -89
- package/dist/src/models/AccountDetailedSummaryDTO.js +0 -70
- package/dist/src/models/AccountRequestModel.d.ts +0 -128
- package/dist/src/models/AccountRequestModel.js +0 -81
- package/dist/src/models/AccountSummaryDTO.d.ts +0 -44
- package/dist/src/models/AccountSummaryDTO.js +0 -53
- package/dist/src/models/AccountsResponseModel.d.ts +0 -51
- package/dist/src/models/AccountsResponseModel.js +0 -56
- package/dist/src/models/AddressModel.d.ts +0 -110
- package/dist/src/models/AddressModel.js +0 -75
- package/dist/src/models/AddressRequestModel.d.ts +0 -50
- package/dist/src/models/AddressRequestModel.js +0 -55
- package/dist/src/models/AdminOrderRequestDTO.d.ts +0 -113
- package/dist/src/models/AdminOrderRequestDTO.js +0 -78
- package/dist/src/models/AdminUserModel.d.ts +0 -79
- package/dist/src/models/AdminUserModel.js +0 -72
- package/dist/src/models/AgentHoursGraphModel.d.ts +0 -51
- package/dist/src/models/AgentHoursGraphModel.js +0 -56
- package/dist/src/models/AgentHoursGraphMonthModel.d.ts +0 -38
- package/dist/src/models/AgentHoursGraphMonthModel.js +0 -51
- package/dist/src/models/ApiLogEntity.d.ts +0 -98
- package/dist/src/models/ApiLogEntity.js +0 -71
- package/dist/src/models/AreaCodeModel.d.ts +0 -38
- package/dist/src/models/AreaCodeModel.js +0 -51
- package/dist/src/models/AttachmentModel.d.ts +0 -56
- package/dist/src/models/AttachmentModel.js +0 -57
- package/dist/src/models/AttributeSetEnum.d.ts +0 -38
- package/dist/src/models/AttributeSetEnum.js +0 -51
- package/dist/src/models/AuditLogEntity.d.ts +0 -80
- package/dist/src/models/AuditLogEntity.js +0 -65
- package/dist/src/models/AuthCodeResponseModel.d.ts +0 -44
- package/dist/src/models/AuthCodeResponseModel.js +0 -53
- package/dist/src/models/BasicItemDTO.d.ts +0 -38
- package/dist/src/models/BasicItemDTO.js +0 -51
- package/dist/src/models/BasicProductDTO.d.ts +0 -38
- package/dist/src/models/BasicProductDTO.js +0 -51
- package/dist/src/models/BatchEntity.d.ts +0 -128
- package/dist/src/models/BatchEntity.js +0 -81
- package/dist/src/models/CallBarringModel.d.ts +0 -56
- package/dist/src/models/CallBarringModel.js +0 -57
- package/dist/src/models/ClientDetailsModel.d.ts +0 -68
- package/dist/src/models/ClientDetailsModel.js +0 -61
- package/dist/src/models/ClientModel.d.ts +0 -50
- package/dist/src/models/ClientModel.js +0 -55
- package/dist/src/models/CompanyContractModel.d.ts +0 -56
- package/dist/src/models/CompanyContractModel.js +0 -57
- package/dist/src/models/ContactInfoModel.d.ts +0 -56
- package/dist/src/models/ContactInfoModel.js +0 -57
- package/dist/src/models/ConversationModel.d.ts +0 -75
- package/dist/src/models/ConversationModel.js +0 -64
- package/dist/src/models/CourierPriceEntity.d.ts +0 -86
- package/dist/src/models/CourierPriceEntity.js +0 -67
- package/dist/src/models/CreditAccountEntity.d.ts +0 -152
- package/dist/src/models/CreditAccountEntity.js +0 -89
- package/dist/src/models/CrmContactDTO.d.ts +0 -68
- package/dist/src/models/CrmContactDTO.js +0 -61
- package/dist/src/models/CustomerInformationModel.d.ts +0 -68
- package/dist/src/models/CustomerInformationModel.js +0 -61
- package/dist/src/models/CustomerItemRequestDTO.d.ts +0 -81
- package/dist/src/models/CustomerItemRequestDTO.js +0 -66
- package/dist/src/models/CustomerOrderRequestDTO.d.ts +0 -71
- package/dist/src/models/CustomerOrderRequestDTO.js +0 -64
- package/dist/src/models/CustomerPriceListEnum.d.ts +0 -38
- package/dist/src/models/CustomerPriceListEnum.js +0 -51
- package/dist/src/models/CustomerSummaryReportDTO.d.ts +0 -65
- package/dist/src/models/CustomerSummaryReportDTO.js +0 -62
- package/dist/src/models/DdiRangeRequestModel.d.ts +0 -44
- package/dist/src/models/DdiRangeRequestModel.js +0 -53
- package/dist/src/models/DdiRangesRequestModel.d.ts +0 -33
- package/dist/src/models/DdiRangesRequestModel.js +0 -50
- package/dist/src/models/DetailedItemRequestDTO.d.ts +0 -99
- package/dist/src/models/DetailedItemRequestDTO.js +0 -72
- package/dist/src/models/DetailedOrderRequestDTO.d.ts +0 -71
- package/dist/src/models/DetailedOrderRequestDTO.js +0 -64
- package/dist/src/models/DivertRequestModel.d.ts +0 -38
- package/dist/src/models/DivertRequestModel.js +0 -51
- package/dist/src/models/DivertResponseModel.d.ts +0 -52
- package/dist/src/models/DivertResponseModel.js +0 -61
- package/dist/src/models/EdTechProClientEntity.d.ts +0 -56
- package/dist/src/models/EdTechProClientEntity.js +0 -57
- package/dist/src/models/EdTechProSchoolModel.d.ts +0 -104
- package/dist/src/models/EdTechProSchoolModel.js +0 -73
- package/dist/src/models/EdTechProSchoolsModel.d.ts +0 -51
- package/dist/src/models/EdTechProSchoolsModel.js +0 -56
- package/dist/src/models/EdTechProSetupModel.d.ts +0 -56
- package/dist/src/models/EdTechProSetupModel.js +0 -57
- package/dist/src/models/EventDTO.d.ts +0 -84
- package/dist/src/models/EventDTO.js +0 -73
- package/dist/src/models/EventRequestDTO.d.ts +0 -44
- package/dist/src/models/EventRequestDTO.js +0 -53
- package/dist/src/models/EventSubscriptionModel.d.ts +0 -38
- package/dist/src/models/EventSubscriptionModel.js +0 -51
- package/dist/src/models/EventTypeEnum.d.ts +0 -19
- package/dist/src/models/EventTypeEnum.js +0 -24
- package/dist/src/models/EventUpdateDTO.d.ts +0 -50
- package/dist/src/models/EventUpdateDTO.js +0 -55
- package/dist/src/models/EventUpdateEntity.d.ts +0 -56
- package/dist/src/models/EventUpdateEntity.js +0 -57
- package/dist/src/models/EventUpdateRequestDTO.d.ts +0 -44
- package/dist/src/models/EventUpdateRequestDTO.js +0 -53
- package/dist/src/models/FraudManagementModel.d.ts +0 -38
- package/dist/src/models/FraudManagementModel.js +0 -51
- package/dist/src/models/FreshdeskCompanyTicketsModel.d.ts +0 -51
- package/dist/src/models/FreshdeskCompanyTicketsModel.js +0 -56
- package/dist/src/models/FreshdeskTicketEntity.d.ts +0 -68
- package/dist/src/models/FreshdeskTicketEntity.js +0 -61
- package/dist/src/models/FtpAccountsEntity.d.ts +0 -56
- package/dist/src/models/FtpAccountsEntity.js +0 -57
- package/dist/src/models/GenericFileModel.d.ts +0 -44
- package/dist/src/models/GenericFileModel.js +0 -53
- package/dist/src/models/GetGetPrice200Response.d.ts +0 -32
- package/dist/src/models/GetGetPrice200Response.js +0 -49
- package/dist/src/models/GetGetRecording200Response.d.ts +0 -32
- package/dist/src/models/GetGetRecording200Response.js +0 -49
- package/dist/src/models/HostingChangeResponseModel.d.ts +0 -64
- package/dist/src/models/HostingChangeResponseModel.js +0 -65
- package/dist/src/models/HostingRegionDTO.d.ts +0 -59
- package/dist/src/models/HostingRegionDTO.js +0 -68
- package/dist/src/models/InstanceAutoFailoverEntity.d.ts +0 -56
- package/dist/src/models/InstanceAutoFailoverEntity.js +0 -57
- package/dist/src/models/InstanceDeletionScheduleEntity.d.ts +0 -50
- package/dist/src/models/InstanceDeletionScheduleEntity.js +0 -55
- package/dist/src/models/InstanceEntity.d.ts +0 -152
- package/dist/src/models/InstanceEntity.js +0 -89
- package/dist/src/models/InstanceFailoverEntity.d.ts +0 -92
- package/dist/src/models/InstanceFailoverEntity.js +0 -69
- package/dist/src/models/InstanceMonitoringEntity.d.ts +0 -44
- package/dist/src/models/InstanceMonitoringEntity.js +0 -53
- package/dist/src/models/InstanceMonitoringLogEntity.d.ts +0 -62
- package/dist/src/models/InstanceMonitoringLogEntity.js +0 -59
- package/dist/src/models/InstanceScheduledTasksEntity.d.ts +0 -62
- package/dist/src/models/InstanceScheduledTasksEntity.js +0 -59
- package/dist/src/models/InstanceTcxDetailsEntity.d.ts +0 -86
- package/dist/src/models/InstanceTcxDetailsEntity.js +0 -67
- package/dist/src/models/InstanceUserCredentialsEntity.d.ts +0 -56
- package/dist/src/models/InstanceUserCredentialsEntity.js +0 -57
- package/dist/src/models/ItemDTO.d.ts +0 -117
- package/dist/src/models/ItemDTO.js +0 -78
- package/dist/src/models/ItemDiscountEntity.d.ts +0 -77
- package/dist/src/models/ItemDiscountEntity.js +0 -70
- package/dist/src/models/ItemEntity.d.ts +0 -158
- package/dist/src/models/ItemEntity.js +0 -91
- package/dist/src/models/LinkedOrderEntity.d.ts +0 -38
- package/dist/src/models/LinkedOrderEntity.js +0 -51
- package/dist/src/models/MFARequiredModel.d.ts +0 -38
- package/dist/src/models/MFARequiredModel.js +0 -51
- package/dist/src/models/MonthlyUsageModel.d.ts +0 -38
- package/dist/src/models/MonthlyUsageModel.js +0 -51
- package/dist/src/models/MultiTenantChangeResponseModel.d.ts +0 -70
- package/dist/src/models/MultiTenantChangeResponseModel.js +0 -75
- package/dist/src/models/NavigationModel.d.ts +0 -50
- package/dist/src/models/NavigationModel.js +0 -55
- package/dist/src/models/OfflineInstancesEntity.d.ts +0 -56
- package/dist/src/models/OfflineInstancesEntity.js +0 -57
- package/dist/src/models/OrderEntity.d.ts +0 -374
- package/dist/src/models/OrderEntity.js +0 -163
- package/dist/src/models/OrderRequestModel.d.ts +0 -120
- package/dist/src/models/OrderRequestModel.js +0 -88
- package/dist/src/models/OrderSummariesModel.d.ts +0 -51
- package/dist/src/models/OrderSummariesModel.js +0 -56
- package/dist/src/models/OrderSummaryDTO.d.ts +0 -126
- package/dist/src/models/OrderSummaryDTO.js +0 -83
- package/dist/src/models/OrderTotalModel.d.ts +0 -111
- package/dist/src/models/OrderTotalModel.js +0 -100
- package/dist/src/models/OrderedItemEntity.d.ts +0 -110
- package/dist/src/models/OrderedItemEntity.js +0 -75
- package/dist/src/models/PatchSetTcxWizardCnameRequest.d.ts +0 -32
- package/dist/src/models/PatchSetTcxWizardCnameRequest.js +0 -49
- package/dist/src/models/PatchUpdateAccountContactPasswordRequest.d.ts +0 -32
- package/dist/src/models/PatchUpdateAccountContactPasswordRequest.js +0 -49
- package/dist/src/models/PortalAccountModel.d.ts +0 -171
- package/dist/src/models/PortalAccountModel.js +0 -96
- package/dist/src/models/PortalLoginModel.d.ts +0 -68
- package/dist/src/models/PortalLoginModel.js +0 -61
- package/dist/src/models/PostAddWebhook200Response.d.ts +0 -32
- package/dist/src/models/PostAddWebhook200Response.js +0 -49
- package/dist/src/models/PostGetClientCredentialsRequest.d.ts +0 -32
- package/dist/src/models/PostGetClientCredentialsRequest.js +0 -49
- package/dist/src/models/PostGetProductForCustomerRequest.d.ts +0 -50
- package/dist/src/models/PostGetProductForCustomerRequest.js +0 -55
- package/dist/src/models/PostGetProductRequest.d.ts +0 -44
- package/dist/src/models/PostGetProductRequest.js +0 -53
- package/dist/src/models/PriceListItemModel.d.ts +0 -56
- package/dist/src/models/PriceListItemModel.js +0 -57
- package/dist/src/models/PrizesEntity.d.ts +0 -62
- package/dist/src/models/PrizesEntity.js +0 -59
- package/dist/src/models/ProductPriceListItemModel.d.ts +0 -62
- package/dist/src/models/ProductPriceListItemModel.js +0 -59
- package/dist/src/models/ProductSearchResultsModel.d.ts +0 -33
- package/dist/src/models/ProductSearchResultsModel.js +0 -50
- package/dist/src/models/ProductSerialInfoModel.d.ts +0 -50
- package/dist/src/models/ProductSerialInfoModel.js +0 -55
- package/dist/src/models/ProductSummaryDTO.d.ts +0 -81
- package/dist/src/models/ProductSummaryDTO.js +0 -66
- package/dist/src/models/PromoCodesEntity.d.ts +0 -98
- package/dist/src/models/PromoCodesEntity.js +0 -71
- package/dist/src/models/PromoItemsEntity.d.ts +0 -74
- package/dist/src/models/PromoItemsEntity.js +0 -63
- package/dist/src/models/ProvisioningModel.d.ts +0 -56
- package/dist/src/models/ProvisioningModel.js +0 -57
- package/dist/src/models/ProvisioningRequestEntity.d.ts +0 -44
- package/dist/src/models/ProvisioningRequestEntity.js +0 -53
- package/dist/src/models/RecordingBackupAzureModel.d.ts +0 -50
- package/dist/src/models/RecordingBackupAzureModel.js +0 -55
- package/dist/src/models/RecordingsBackupInfoDTO.d.ts +0 -40
- package/dist/src/models/RecordingsBackupInfoDTO.js +0 -53
- package/dist/src/models/ResourceNotReadyException.d.ts +0 -44
- package/dist/src/models/ResourceNotReadyException.js +0 -53
- package/dist/src/models/RootAccessModel.d.ts +0 -44
- package/dist/src/models/RootAccessModel.js +0 -53
- package/dist/src/models/S3BucketEntity.d.ts +0 -50
- package/dist/src/models/S3BucketEntity.js +0 -55
- package/dist/src/models/ScannedItemModel.d.ts +0 -56
- package/dist/src/models/ScannedItemModel.js +0 -57
- package/dist/src/models/ScopeModel.d.ts +0 -38
- package/dist/src/models/ScopeModel.js +0 -51
- package/dist/src/models/ServiceEnum.d.ts +0 -14
- package/dist/src/models/ServiceEnum.js +0 -19
- package/dist/src/models/ServiceHealthDTO.d.ts +0 -48
- package/dist/src/models/ServiceHealthDTO.js +0 -61
- package/dist/src/models/ServiceHealthEnum.d.ts +0 -19
- package/dist/src/models/ServiceHealthEnum.js +0 -24
- package/dist/src/models/ServiceStatusDTO.d.ts +0 -60
- package/dist/src/models/ServiceStatusDTO.js +0 -65
- package/dist/src/models/ServiceStatusEnum.d.ts +0 -19
- package/dist/src/models/ServiceStatusEnum.js +0 -24
- package/dist/src/models/ShipmentAddressEntity.d.ts +0 -92
- package/dist/src/models/ShipmentAddressEntity.js +0 -69
- package/dist/src/models/ShipmentEntity.d.ts +0 -98
- package/dist/src/models/ShipmentEntity.js +0 -71
- package/dist/src/models/ShipmentItemEntity.d.ts +0 -56
- package/dist/src/models/ShipmentItemEntity.js +0 -57
- package/dist/src/models/ShippingConsignmentModel.d.ts +0 -51
- package/dist/src/models/ShippingConsignmentModel.js +0 -56
- package/dist/src/models/ShippingInformationDTO.d.ts +0 -45
- package/dist/src/models/ShippingInformationDTO.js +0 -54
- package/dist/src/models/ShippingServiceDTO.d.ts +0 -47
- package/dist/src/models/ShippingServiceDTO.js +0 -60
- package/dist/src/models/ShippingServiceModel.d.ts +0 -71
- package/dist/src/models/ShippingServiceModel.js +0 -68
- package/dist/src/models/ShippingServicesModel.d.ts +0 -33
- package/dist/src/models/ShippingServicesModel.js +0 -50
- package/dist/src/models/SipTrunkChangeResponseModel.d.ts +0 -77
- package/dist/src/models/SipTrunkChangeResponseModel.js +0 -78
- package/dist/src/models/SipTrunkCreationRequestModel.d.ts +0 -66
- package/dist/src/models/SipTrunkCreationRequestModel.js +0 -63
- package/dist/src/models/SipTrunkEntity.d.ts +0 -98
- package/dist/src/models/SipTrunkEntity.js +0 -71
- package/dist/src/models/SipTrunksResponseModel.d.ts +0 -51
- package/dist/src/models/SipTrunksResponseModel.js +0 -56
- package/dist/src/models/SmsAccountEntity.d.ts +0 -68
- package/dist/src/models/SmsAccountEntity.js +0 -61
- package/dist/src/models/SmsDataModel.d.ts +0 -33
- package/dist/src/models/SmsDataModel.js +0 -50
- package/dist/src/models/SmsMessageModel.d.ts +0 -44
- package/dist/src/models/SmsMessageModel.js +0 -53
- package/dist/src/models/SmsNumbersEntity.d.ts +0 -38
- package/dist/src/models/SmsNumbersEntity.js +0 -51
- package/dist/src/models/SmsPayloadModel.d.ts +0 -45
- package/dist/src/models/SmsPayloadModel.js +0 -54
- package/dist/src/models/SmsPhoneNumberModel.d.ts +0 -53
- package/dist/src/models/SmsPhoneNumberModel.js +0 -66
- package/dist/src/models/SmsResponseModel.d.ts +0 -67
- package/dist/src/models/SmsResponseModel.js +0 -68
- package/dist/src/models/SmsWhitelistEntity.d.ts +0 -38
- package/dist/src/models/SmsWhitelistEntity.js +0 -51
- package/dist/src/models/StockOrderCourierEntity.d.ts +0 -50
- package/dist/src/models/StockOrderCourierEntity.js +0 -55
- package/dist/src/models/StockOrderDeductionModel.d.ts +0 -50
- package/dist/src/models/StockOrderDeductionModel.js +0 -55
- package/dist/src/models/StockOrderDeductionRequestModel.d.ts +0 -38
- package/dist/src/models/StockOrderDeductionRequestModel.js +0 -51
- package/dist/src/models/StockOrderDeductionsEntity.d.ts +0 -50
- package/dist/src/models/StockOrderDeductionsEntity.js +0 -55
- package/dist/src/models/StockOrderEntity.d.ts +0 -158
- package/dist/src/models/StockOrderEntity.js +0 -91
- package/dist/src/models/StockOrderItemEntity.d.ts +0 -68
- package/dist/src/models/StockOrderItemEntity.js +0 -61
- package/dist/src/models/StockOrderItemModel.d.ts +0 -80
- package/dist/src/models/StockOrderItemModel.js +0 -65
- package/dist/src/models/StockOrderItemRequestModel.d.ts +0 -50
- package/dist/src/models/StockOrderItemRequestModel.js +0 -55
- package/dist/src/models/StockOrderModel.d.ts +0 -137
- package/dist/src/models/StockOrderModel.js +0 -97
- package/dist/src/models/StockOrderProductEntity.d.ts +0 -62
- package/dist/src/models/StockOrderProductEntity.js +0 -59
- package/dist/src/models/StockOrderRequestModel.d.ts +0 -46
- package/dist/src/models/StockOrderRequestModel.js +0 -55
- package/dist/src/models/StockOrderSupplierEntity.d.ts +0 -80
- package/dist/src/models/StockOrderSupplierEntity.js +0 -65
- package/dist/src/models/StockOrderSupplierModel.d.ts +0 -80
- package/dist/src/models/StockOrderSupplierModel.js +0 -65
- package/dist/src/models/StockOrdersModel.d.ts +0 -51
- package/dist/src/models/StockOrdersModel.js +0 -56
- package/dist/src/models/StockProductModel.d.ts +0 -120
- package/dist/src/models/StockProductModel.js +0 -81
- package/dist/src/models/StockProductPriceModel.d.ts +0 -39
- package/dist/src/models/StockProductPriceModel.js +0 -52
- package/dist/src/models/StockProductSummariesModel.d.ts +0 -51
- package/dist/src/models/StockProductSummariesModel.js +0 -56
- package/dist/src/models/StockProductSummaryModel.d.ts +0 -69
- package/dist/src/models/StockProductSummaryModel.js +0 -62
- package/dist/src/models/StockTransactionsEntity.d.ts +0 -74
- package/dist/src/models/StockTransactionsEntity.js +0 -63
- package/dist/src/models/SupplierEntity.d.ts +0 -80
- package/dist/src/models/SupplierEntity.js +0 -65
- package/dist/src/models/SupplierItemEntity.d.ts +0 -74
- package/dist/src/models/SupplierItemEntity.js +0 -63
- package/dist/src/models/TcxBackupEntity.d.ts +0 -80
- package/dist/src/models/TcxBackupEntity.js +0 -65
- package/dist/src/models/TcxBackupModel.d.ts +0 -140
- package/dist/src/models/TcxBackupModel.js +0 -85
- package/dist/src/models/TcxBillingEntity.d.ts +0 -86
- package/dist/src/models/TcxBillingEntity.js +0 -67
- package/dist/src/models/TcxBulkLicenceDetailsModel.d.ts +0 -40
- package/dist/src/models/TcxBulkLicenceDetailsModel.js +0 -53
- package/dist/src/models/TcxDeadLicenceEntity.d.ts +0 -44
- package/dist/src/models/TcxDeadLicenceEntity.js +0 -53
- package/dist/src/models/TcxExtsEntity.d.ts +0 -74
- package/dist/src/models/TcxExtsEntity.js +0 -63
- package/dist/src/models/TcxHostingPricingEntity.d.ts +0 -74
- package/dist/src/models/TcxHostingPricingEntity.js +0 -63
- package/dist/src/models/TcxInstallationDetailsModel.d.ts +0 -106
- package/dist/src/models/TcxInstallationDetailsModel.js +0 -75
- package/dist/src/models/TcxInstallationModel.d.ts +0 -200
- package/dist/src/models/TcxInstallationModel.js +0 -105
- package/dist/src/models/TcxInstallationsModel.d.ts +0 -51
- package/dist/src/models/TcxInstallationsModel.js +0 -56
- package/dist/src/models/TcxKeySummaryDTO.d.ts +0 -56
- package/dist/src/models/TcxKeySummaryDTO.js +0 -57
- package/dist/src/models/TcxKeysEntity.d.ts +0 -62
- package/dist/src/models/TcxKeysEntity.js +0 -59
- package/dist/src/models/TcxLicenceDetailsErrorModel.d.ts +0 -50
- package/dist/src/models/TcxLicenceDetailsErrorModel.js +0 -55
- package/dist/src/models/TcxLicenceDetailsModel.d.ts +0 -92
- package/dist/src/models/TcxLicenceDetailsModel.js +0 -69
- package/dist/src/models/TcxMacsEntity.d.ts +0 -44
- package/dist/src/models/TcxMacsEntity.js +0 -53
- package/dist/src/models/TcxMultiTenantModel.d.ts +0 -118
- package/dist/src/models/TcxMultiTenantModel.js +0 -83
- package/dist/src/models/TcxMultiTenantUserModel.d.ts +0 -44
- package/dist/src/models/TcxMultiTenantUserModel.js +0 -53
- package/dist/src/models/TcxMultiTenantsModel.d.ts +0 -51
- package/dist/src/models/TcxMultiTenantsModel.js +0 -56
- package/dist/src/models/TcxNumbersEntity.d.ts +0 -44
- package/dist/src/models/TcxNumbersEntity.js +0 -53
- package/dist/src/models/TcxOfficeHoursEntity.d.ts +0 -116
- package/dist/src/models/TcxOfficeHoursEntity.js +0 -77
- package/dist/src/models/TcxPhoneModel.d.ts +0 -68
- package/dist/src/models/TcxPhoneModel.js +0 -61
- package/dist/src/models/TcxPhonesEntity.d.ts +0 -62
- package/dist/src/models/TcxPhonesEntity.js +0 -59
- package/dist/src/models/TcxRemoteStorageModel.d.ts +0 -50
- package/dist/src/models/TcxRemoteStorageModel.js +0 -55
- package/dist/src/models/TcxSbcDTO.d.ts +0 -62
- package/dist/src/models/TcxSbcDTO.js +0 -59
- package/dist/src/models/TcxSbcEntity.d.ts +0 -122
- package/dist/src/models/TcxSbcEntity.js +0 -79
- package/dist/src/models/TcxSbcModel.d.ts +0 -122
- package/dist/src/models/TcxSbcModel.js +0 -79
- package/dist/src/models/TcxSetupEntity.d.ts +0 -207
- package/dist/src/models/TcxSetupEntity.js +0 -123
- package/dist/src/models/TcxSetupsModel.d.ts +0 -51
- package/dist/src/models/TcxSetupsModel.js +0 -56
- package/dist/src/models/TcxSipTrunksEntity.d.ts +0 -104
- package/dist/src/models/TcxSipTrunksEntity.js +0 -73
- package/dist/src/models/TcxTemplateXmlEnum.d.ts +0 -38
- package/dist/src/models/TcxTemplateXmlEnum.js +0 -51
- package/dist/src/models/TcxUsersEntity.d.ts +0 -62
- package/dist/src/models/TcxUsersEntity.js +0 -59
- package/dist/src/models/TcxWizardConfigModel.d.ts +0 -39
- package/dist/src/models/TcxWizardConfigModel.js +0 -52
- package/dist/src/models/TcxWizardModel.d.ts +0 -150
- package/dist/src/models/TcxWizardModel.js +0 -114
- package/dist/src/models/TechSupportCompanySummaryDTO.d.ts +0 -57
- package/dist/src/models/TechSupportCompanySummaryDTO.js +0 -58
- package/dist/src/models/TelephonySupportTicketModel.d.ts +0 -94
- package/dist/src/models/TelephonySupportTicketModel.js +0 -71
- package/dist/src/models/TicketSummaryModel.d.ts +0 -74
- package/dist/src/models/TicketSummaryModel.js +0 -63
- package/dist/src/models/TicketTimeDTO.d.ts +0 -80
- package/dist/src/models/TicketTimeDTO.js +0 -65
- package/dist/src/models/TokenResponseModel.d.ts +0 -44
- package/dist/src/models/TokenResponseModel.js +0 -53
- package/dist/src/models/UpdateTypeEnum.d.ts +0 -19
- package/dist/src/models/UpdateTypeEnum.js +0 -24
- package/dist/src/models/UpgradeOrderResponseModel.d.ts +0 -38
- package/dist/src/models/UpgradeOrderResponseModel.js +0 -51
- package/dist/src/models/UpgradeRequestModel.d.ts +0 -66
- package/dist/src/models/UpgradeRequestModel.js +0 -70
- package/dist/src/models/UserEntity.d.ts +0 -98
- package/dist/src/models/UserEntity.js +0 -71
- package/dist/src/models/XeroLogEntity.d.ts +0 -86
- package/dist/src/models/XeroLogEntity.js +0 -67
- package/dist/src/models/index.d.ts +0 -196
- package/dist/src/models/index.js +0 -214
- package/dist/src/runtime.d.ts +0 -184
- package/dist/src/runtime.js +0 -564
- package/docs/AccountPageDetailsDTO.md +0 -35
- package/docs/AddressDTO.md +0 -33
- package/docs/PatchSendWelcomeEmailRequest.md +0 -20
- package/docs/PatchUpdateAccountCnameRequest.md +0 -20
- package/docs/PostGetProductRequest.md +0 -24
- package/docs/TcxInstallationDetailsModel.md +0 -45
package/dist/api.js
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
/* eslint-disable */
|
|
4
4
|
/**
|
|
5
5
|
* Yellowgrid
|
|
6
|
-
* Welcome to the Yellowgrid API documentation.
|
|
6
|
+
* Welcome to the Yellowgrid API documentation. This API provides secure and comprehensive access to the Yellowgrid platform, enabling developers and integrators to manage accounts, contacts, SIP trunks, SMS messaging, 3CX integrations, and provisioning services. ## Key Features: - **Accounts**: View and manage account details, contacts, client credentials, and verification. - **Provisioning**: Automate setup and configuration of devices and groups. - **SIP Trunks**: Manage trunk creation, changes, DDIs, diverts, and configuration. - **Messaging**: Send SMS messages securely via the messaging gateway. - **3CX Integrations**: Automate licence handling, installation, and multi-tenant setup. ## Authentication: The API supports OAuth 2.0 for authentication and authorization. Ensure you use a valid bearer token for all authenticated endpoints. ## Base URL: `https://bitbucket.org` For questions or technical support, please contact support@yellowgrid.co.uk.
|
|
7
7
|
*
|
|
8
8
|
* The version of the OpenAPI document: 0
|
|
9
9
|
*
|
|
@@ -84,9 +84,9 @@ var __spreadArray = (this && this.__spreadArray) || function (to, from, pack) {
|
|
|
84
84
|
return to.concat(ar || Array.prototype.slice.call(from));
|
|
85
85
|
};
|
|
86
86
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
87
|
-
exports.Class3CXInstallationWizardApiFp = exports.Class3CXInstallationWizardApiAxiosParamCreator = exports.Class3CXApi = exports.Class3CXApiFactory = exports.Class3CXApiFp = exports.Class3CXApiAxiosParamCreator = exports.CRMApi = exports.CRMApiFactory = exports.CRMApiFp = exports.CRMApiAxiosParamCreator = exports.
|
|
88
|
-
exports.GetGetPriceListTypeEnum = exports.PricingApi = exports.PricingApiFactory = exports.PricingApiFp = exports.PricingApiAxiosParamCreator = exports.PostPrintShippingLabelPrinterEnum = exports.GetGetOrdersFilterEnum = exports.GetGetOrdersStatusEnum = exports.OrdersApi = exports.OrdersApiFactory = exports.OrdersApiFp = exports.OrdersApiAxiosParamCreator = exports.PostAuthoriseScopeEnum = exports.PostAccessTokenTokenExchangeTypeEnum = exports.PostAccessTokenScopeEnum = exports.PostAccessTokenGrantTypeEnum = exports.OAuth20Api = exports.OAuth20ApiFactory = exports.OAuth20ApiFp = exports.OAuth20ApiAxiosParamCreator = exports.NumberPortingApi = exports.NumberPortingApiFactory = exports.NumberPortingApiFp = exports.NumberPortingApiAxiosParamCreator = exports.MyPBXToolsApi = exports.MyPBXToolsApiFactory = exports.MyPBXToolsApiFp = exports.MyPBXToolsApiAxiosParamCreator = exports.GetGetTenantsStatusEnum = exports.Class3CXMultiTenantApi = exports.Class3CXMultiTenantApiFactory = exports.Class3CXMultiTenantApiFp = exports.Class3CXMultiTenantApiAxiosParamCreator = exports.GetGetPriceSchoolTypeEnum = exports.GetGetPriceLicenceTypeEnum = exports.Class3CXIntegrationsApi = exports.Class3CXIntegrationsApiFactory = exports.Class3CXIntegrationsApiFp = exports.Class3CXIntegrationsApiAxiosParamCreator = exports.PostResizeInstanceSizeEnum = exports.PostFailoverInstanceTypeEnum = exports.GetGetInstallationsInstallTypeEnum = exports.GetGetInstallationsHostingEnum = exports.GetGetInstallationsStatusEnum = exports.Class3CXInstallationsApi = exports.Class3CXInstallationsApiFactory = exports.Class3CXInstallationsApiFp = exports.Class3CXInstallationsApiAxiosParamCreator = exports.Class3CXInstallationWizardApi =
|
|
89
|
-
exports.PostAddWebhookWebhookUriEnum = exports.WebhooksApi = exports.WebhooksApiFactory = exports.WebhooksApiFp = exports.WebhooksApiAxiosParamCreator = exports.TicketsApi = exports.TicketsApiFactory = exports.TicketsApiFp = exports.TicketsApiAxiosParamCreator = exports.SystemApi = exports.SystemApiFactory = exports.SystemApiFp = exports.SystemApiAxiosParamCreator = exports.StockManagementApi = exports.StockManagementApiFactory = exports.StockManagementApiFp = exports.StockManagementApiAxiosParamCreator = exports.ShippingApi = exports.ShippingApiFactory = exports.ShippingApiFp = exports.ShippingApiAxiosParamCreator = exports.ServicesApi = exports.ServicesApiFactory = exports.ServicesApiFp = exports.ServicesApiAxiosParamCreator = exports.SMSApi = exports.SMSApiFactory = exports.SMSApiFp = exports.SMSApiAxiosParamCreator = exports.SIPTrunksApi = exports.SIPTrunksApiFactory = exports.SIPTrunksApiFp = exports.SIPTrunksApiAxiosParamCreator = exports.ProvisioningApi = exports.ProvisioningApiFactory = exports.ProvisioningApiFp = exports.ProvisioningApiAxiosParamCreator = exports.GetGetLegacyStockListFormatEnum = exports.ProductsApi = exports.ProductsApiFactory = exports.ProductsApiFp = exports.ProductsApiAxiosParamCreator = exports.PostSendPriceListCategoryEnum = exports.PostSendPriceListFormatEnum = exports.PostSendPriceListTypeEnum = exports.GetGetPriceListCategoryEnum =
|
|
87
|
+
exports.Class3CXInstallationWizardApiFactory = exports.Class3CXInstallationWizardApiFp = exports.Class3CXInstallationWizardApiAxiosParamCreator = exports.Class3CXApi = exports.Class3CXApiFactory = exports.Class3CXApiFp = exports.Class3CXApiAxiosParamCreator = exports.CRMApi = exports.CRMApiFactory = exports.CRMApiFp = exports.CRMApiAxiosParamCreator = exports.AccountsApi = exports.AccountsApiFactory = exports.AccountsApiFp = exports.AccountsApiAxiosParamCreator = exports.UpgradeRequestModelSchoolTypeEnum = exports.UpgradeRequestModelLicenceTypeEnum = exports.TcxWizardModelInstallationStatusEnum = exports.TcxWizardModelInstallTypeEnum = exports.TcxSetupEntityRegionEnum = exports.TcxSetupEntityInstallTypeEnum = exports.TcxMultiTenantModelPackageEnum = exports.StockOrderModelPaidEnum = exports.StockOrderModelDeliveryMethodEnum = exports.SmsResponseModelEventTypeEnum = exports.SmsPhoneNumberModelStatusEnum = exports.SmsAccountRequestDTOTypeEnum = exports.SmsAccountRequestDTOProviderEnum = exports.SipTrunkChangeResponseModelTypeEnum = exports.ShippingServiceModelCourierEnum = exports.ShippingServiceDTOCourierEnum = exports.ShippingRequestDTOPrinterEnum = exports.ShippingRequestDTOCourierEnum = exports.ShipmentRequestDTOCourierEnum = exports.ShipmentDTOCourierEnum = exports.ServiceStatusDTOStatusEnum = exports.ServiceHealthDTOGlobalStatusEnum = exports.ProspectDTOStatusEnum = exports.OrderTotalModelCurrencyEnum = exports.OrderRequestModelSchoolTypeEnum = exports.OrderRequestModelLicenceTypeEnum = exports.MultiTenantChangeResponseModelTypeEnum = exports.ItemDiscountEntityTypeEnum = exports.HostingRegionDTOCodeEnum = exports.HostingChangeResponseModelTypeEnum = exports.EventDTOStatusEnum = exports.DivertResponseModelStatusEnum = exports.AuditLogEntityTypeEnum = exports.AuditLogEntityActionEnum = exports.AdminUserModelRoleEnum = void 0;
|
|
88
|
+
exports.GetGetPriceListFormatEnum = exports.GetGetPriceListTypeEnum = exports.PricingApi = exports.PricingApiFactory = exports.PricingApiFp = exports.PricingApiAxiosParamCreator = exports.PostPrintShippingLabelPrinterEnum = exports.GetGetOrdersFilterEnum = exports.GetGetOrdersStatusEnum = exports.OrdersApi = exports.OrdersApiFactory = exports.OrdersApiFp = exports.OrdersApiAxiosParamCreator = exports.PostAuthoriseScopeEnum = exports.PostAccessTokenTokenExchangeTypeEnum = exports.PostAccessTokenScopeEnum = exports.PostAccessTokenGrantTypeEnum = exports.OAuth20Api = exports.OAuth20ApiFactory = exports.OAuth20ApiFp = exports.OAuth20ApiAxiosParamCreator = exports.NumberPortingApi = exports.NumberPortingApiFactory = exports.NumberPortingApiFp = exports.NumberPortingApiAxiosParamCreator = exports.MyPBXToolsApi = exports.MyPBXToolsApiFactory = exports.MyPBXToolsApiFp = exports.MyPBXToolsApiAxiosParamCreator = exports.GetGetTenantsStatusEnum = exports.Class3CXMultiTenantApi = exports.Class3CXMultiTenantApiFactory = exports.Class3CXMultiTenantApiFp = exports.Class3CXMultiTenantApiAxiosParamCreator = exports.GetGetPriceSchoolTypeEnum = exports.GetGetPriceLicenceTypeEnum = exports.Class3CXIntegrationsApi = exports.Class3CXIntegrationsApiFactory = exports.Class3CXIntegrationsApiFp = exports.Class3CXIntegrationsApiAxiosParamCreator = exports.PostResizeInstanceSizeEnum = exports.PostFailoverInstanceTypeEnum = exports.GetGetInstallationsInstallTypeEnum = exports.GetGetInstallationsHostingEnum = exports.GetGetInstallationsStatusEnum = exports.Class3CXInstallationsApi = exports.Class3CXInstallationsApiFactory = exports.Class3CXInstallationsApiFp = exports.Class3CXInstallationsApiAxiosParamCreator = exports.Class3CXInstallationWizardApi = void 0;
|
|
89
|
+
exports.PostAddWebhookWebhookUriEnum = exports.WebhooksApi = exports.WebhooksApiFactory = exports.WebhooksApiFp = exports.WebhooksApiAxiosParamCreator = exports.TicketsApi = exports.TicketsApiFactory = exports.TicketsApiFp = exports.TicketsApiAxiosParamCreator = exports.SystemApi = exports.SystemApiFactory = exports.SystemApiFp = exports.SystemApiAxiosParamCreator = exports.StockManagementApi = exports.StockManagementApiFactory = exports.StockManagementApiFp = exports.StockManagementApiAxiosParamCreator = exports.ShippingApi = exports.ShippingApiFactory = exports.ShippingApiFp = exports.ShippingApiAxiosParamCreator = exports.ServicesApi = exports.ServicesApiFactory = exports.ServicesApiFp = exports.ServicesApiAxiosParamCreator = exports.SMSApi = exports.SMSApiFactory = exports.SMSApiFp = exports.SMSApiAxiosParamCreator = exports.SIPTrunksApi = exports.SIPTrunksApiFactory = exports.SIPTrunksApiFp = exports.SIPTrunksApiAxiosParamCreator = exports.ProvisioningApi = exports.ProvisioningApiFactory = exports.ProvisioningApiFp = exports.ProvisioningApiAxiosParamCreator = exports.ProspectsApi = exports.ProspectsApiFactory = exports.ProspectsApiFp = exports.ProspectsApiAxiosParamCreator = exports.GetGetLegacyStockListFormatEnum = exports.ProductsApi = exports.ProductsApiFactory = exports.ProductsApiFp = exports.ProductsApiAxiosParamCreator = exports.PostSendPriceListCategoryEnum = exports.PostSendPriceListFormatEnum = exports.PostSendPriceListTypeEnum = exports.GetGetPriceListCategoryEnum = void 0;
|
|
90
90
|
var axios_1 = require("axios");
|
|
91
91
|
// Some imports not used depending on template conditions
|
|
92
92
|
// @ts-ignore
|
|
@@ -98,13 +98,13 @@ exports.AdminUserModelRoleEnum = {
|
|
|
98
98
|
NUMBER_1: 1,
|
|
99
99
|
NUMBER_2: 2,
|
|
100
100
|
NUMBER_3: 3,
|
|
101
|
-
NUMBER_4: 4
|
|
101
|
+
NUMBER_4: 4,
|
|
102
102
|
};
|
|
103
103
|
exports.AuditLogEntityActionEnum = {
|
|
104
104
|
Create: 'CREATE',
|
|
105
105
|
Read: 'READ',
|
|
106
106
|
Update: 'UPDATE',
|
|
107
|
-
Delete: 'DELETE'
|
|
107
|
+
Delete: 'DELETE',
|
|
108
108
|
};
|
|
109
109
|
exports.AuditLogEntityTypeEnum = {
|
|
110
110
|
AuditLog: 'audit_log',
|
|
@@ -146,6 +146,7 @@ exports.AuditLogEntityTypeEnum = {
|
|
|
146
146
|
PopsPromoCodes: 'pops_promo_codes',
|
|
147
147
|
PopsPromoItems: 'pops_promo_items',
|
|
148
148
|
PopsProvisioning: 'pops_provisioning',
|
|
149
|
+
PopsProspectsV2: 'pops_prospects_v2',
|
|
149
150
|
S3Buckets: 's3_buckets',
|
|
150
151
|
PopsShipmentAddress: 'pops_shipment_address',
|
|
151
152
|
PopsShipments: 'pops_shipments',
|
|
@@ -182,20 +183,20 @@ exports.AuditLogEntityTypeEnum = {
|
|
|
182
183
|
Webhook: 'webhook',
|
|
183
184
|
PopsXeroLog: 'pops_xero_log',
|
|
184
185
|
Oauth2Clients: 'oauth2_clients',
|
|
185
|
-
Oauth2Tokens: 'oauth2_tokens'
|
|
186
|
+
Oauth2Tokens: 'oauth2_tokens',
|
|
186
187
|
};
|
|
187
188
|
exports.DivertResponseModelStatusEnum = {
|
|
188
189
|
Enabled: 'enabled',
|
|
189
|
-
Disabled: 'disabled'
|
|
190
|
+
Disabled: 'disabled',
|
|
190
191
|
};
|
|
191
192
|
exports.EventDTOStatusEnum = {
|
|
192
193
|
NUMBER_0: 0,
|
|
193
194
|
NUMBER_1: 1,
|
|
194
|
-
NUMBER_2: 2
|
|
195
|
+
NUMBER_2: 2,
|
|
195
196
|
};
|
|
196
197
|
exports.HostingChangeResponseModelTypeEnum = {
|
|
197
198
|
NewInstance: 'New Instance',
|
|
198
|
-
BuildingInstance: 'Building Instance'
|
|
199
|
+
BuildingInstance: 'Building Instance',
|
|
199
200
|
};
|
|
200
201
|
exports.HostingRegionDTOCodeEnum = {
|
|
201
202
|
Uk1: 'UK1',
|
|
@@ -206,12 +207,12 @@ exports.HostingRegionDTOCodeEnum = {
|
|
|
206
207
|
Syd1: 'SYD1',
|
|
207
208
|
Sgp1: 'SGP1',
|
|
208
209
|
UsEastVa1: 'US-EAST-VA-1',
|
|
209
|
-
UsWestOr1: 'US-WEST-OR-1'
|
|
210
|
+
UsWestOr1: 'US-WEST-OR-1',
|
|
210
211
|
};
|
|
211
212
|
exports.ItemDiscountEntityTypeEnum = {
|
|
212
213
|
TcxPhones: 'TCX_PHONES',
|
|
213
214
|
PhoneBulk: 'PHONE_BULK',
|
|
214
|
-
Additional: 'ADDITIONAL'
|
|
215
|
+
Additional: 'ADDITIONAL',
|
|
215
216
|
};
|
|
216
217
|
exports.MultiTenantChangeResponseModelTypeEnum = {
|
|
217
218
|
NewTrunk: 'New Trunk',
|
|
@@ -227,15 +228,15 @@ exports.MultiTenantChangeResponseModelTypeEnum = {
|
|
|
227
228
|
Address: 'Address',
|
|
228
229
|
BulkEndpointDetails: 'Bulk Endpoint Details',
|
|
229
230
|
Fraud: 'Fraud',
|
|
230
|
-
CallBarring: 'Call Barring'
|
|
231
|
+
CallBarring: 'Call Barring',
|
|
231
232
|
};
|
|
232
233
|
exports.OrderRequestModelLicenceTypeEnum = {
|
|
233
234
|
Lite: 'lite',
|
|
234
|
-
Pro: 'pro'
|
|
235
|
+
Pro: 'pro',
|
|
235
236
|
};
|
|
236
237
|
exports.OrderRequestModelSchoolTypeEnum = {
|
|
237
238
|
Primary: 'primary',
|
|
238
|
-
Secondary: 'secondary'
|
|
239
|
+
Secondary: 'secondary',
|
|
239
240
|
};
|
|
240
241
|
exports.OrderTotalModelCurrencyEnum = {
|
|
241
242
|
Eur: 'EUR',
|
|
@@ -268,47 +269,54 @@ exports.OrderTotalModelCurrencyEnum = {
|
|
|
268
269
|
Php: 'PHP',
|
|
269
270
|
Sgd: 'SGD',
|
|
270
271
|
Thb: 'THB',
|
|
271
|
-
Zar: 'ZAR'
|
|
272
|
+
Zar: 'ZAR',
|
|
273
|
+
};
|
|
274
|
+
exports.ProspectDTOStatusEnum = {
|
|
275
|
+
NoCallBackSet: 'No Call Back Set',
|
|
276
|
+
CallBackDue: 'Call Back Due',
|
|
277
|
+
NoOrdersPlaced: 'No Orders Placed',
|
|
278
|
+
NoOrdersInTheLast4Months: 'No Orders In The Last 4 Months',
|
|
279
|
+
NoActionRequired: 'No Action Required',
|
|
272
280
|
};
|
|
273
281
|
exports.ServiceHealthDTOGlobalStatusEnum = {
|
|
274
282
|
NUMBER_0: 0,
|
|
275
283
|
NUMBER_1: 1,
|
|
276
|
-
NUMBER_2: 2
|
|
284
|
+
NUMBER_2: 2,
|
|
277
285
|
};
|
|
278
286
|
exports.ServiceStatusDTOStatusEnum = {
|
|
279
287
|
_0: '0',
|
|
280
288
|
_1: '1',
|
|
281
|
-
_2: '2'
|
|
289
|
+
_2: '2',
|
|
282
290
|
};
|
|
283
291
|
exports.ShipmentDTOCourierEnum = {
|
|
284
292
|
Dpd: 'DPD',
|
|
285
293
|
ChorltonPallet: 'Chorlton Pallet',
|
|
286
|
-
Pops: 'POPS'
|
|
294
|
+
Pops: 'POPS',
|
|
287
295
|
};
|
|
288
296
|
exports.ShipmentRequestDTOCourierEnum = {
|
|
289
297
|
Dpd: 'DPD',
|
|
290
298
|
ChorltonPallet: 'Chorlton Pallet',
|
|
291
|
-
Pops: 'POPS'
|
|
299
|
+
Pops: 'POPS',
|
|
292
300
|
};
|
|
293
301
|
exports.ShippingRequestDTOCourierEnum = {
|
|
294
302
|
Dpd: 'DPD',
|
|
295
303
|
ChorltonPallet: 'Chorlton Pallet',
|
|
296
|
-
Pops: 'POPS'
|
|
304
|
+
Pops: 'POPS',
|
|
297
305
|
};
|
|
298
306
|
exports.ShippingRequestDTOPrinterEnum = {
|
|
299
307
|
NUMBER_1: 1,
|
|
300
308
|
NUMBER_2: 2,
|
|
301
|
-
NUMBER_3: 3
|
|
309
|
+
NUMBER_3: 3,
|
|
302
310
|
};
|
|
303
311
|
exports.ShippingServiceDTOCourierEnum = {
|
|
304
312
|
Dpd: 'DPD',
|
|
305
313
|
ChorltonPallet: 'Chorlton Pallet',
|
|
306
|
-
Pops: 'POPS'
|
|
314
|
+
Pops: 'POPS',
|
|
307
315
|
};
|
|
308
316
|
exports.ShippingServiceModelCourierEnum = {
|
|
309
317
|
Dpd: 'DPD',
|
|
310
318
|
ChorltonPallet: 'Chorlton Pallet',
|
|
311
|
-
Pops: 'POPS'
|
|
319
|
+
Pops: 'POPS',
|
|
312
320
|
};
|
|
313
321
|
exports.SipTrunkChangeResponseModelTypeEnum = {
|
|
314
322
|
NewTrunk: 'New Trunk',
|
|
@@ -324,17 +332,17 @@ exports.SipTrunkChangeResponseModelTypeEnum = {
|
|
|
324
332
|
Address: 'Address',
|
|
325
333
|
BulkEndpointDetails: 'Bulk Endpoint Details',
|
|
326
334
|
Fraud: 'Fraud',
|
|
327
|
-
CallBarring: 'Call Barring'
|
|
335
|
+
CallBarring: 'Call Barring',
|
|
328
336
|
};
|
|
329
337
|
exports.SmsAccountRequestDTOProviderEnum = {
|
|
330
|
-
NUMBER_1: 1
|
|
338
|
+
NUMBER_1: 1,
|
|
331
339
|
};
|
|
332
340
|
exports.SmsAccountRequestDTOTypeEnum = {
|
|
333
341
|
Local: 'local',
|
|
334
342
|
TollFree: 'toll_free',
|
|
335
343
|
Mobile: 'mobile',
|
|
336
344
|
National: 'national',
|
|
337
|
-
SharedCost: 'shared_cost'
|
|
345
|
+
SharedCost: 'shared_cost',
|
|
338
346
|
};
|
|
339
347
|
exports.SmsPhoneNumberModelStatusEnum = {
|
|
340
348
|
Queued: 'queued',
|
|
@@ -345,31 +353,31 @@ exports.SmsPhoneNumberModelStatusEnum = {
|
|
|
345
353
|
DeliveryUnconfirmed: 'delivery_unconfirmed',
|
|
346
354
|
Delivered: 'delivered',
|
|
347
355
|
DeliveryFailed: 'delivery_failed',
|
|
348
|
-
WebhookDelivered: 'webhook_delivered'
|
|
356
|
+
WebhookDelivered: 'webhook_delivered',
|
|
349
357
|
};
|
|
350
358
|
exports.SmsResponseModelEventTypeEnum = {
|
|
351
359
|
MessageSent: 'message.sent',
|
|
352
360
|
MessageFinalized: 'message.finalized',
|
|
353
|
-
MessageReceived: 'message.received'
|
|
361
|
+
MessageReceived: 'message.received',
|
|
354
362
|
};
|
|
355
363
|
exports.StockOrderModelDeliveryMethodEnum = {
|
|
356
364
|
Sea: 'Sea',
|
|
357
365
|
Air: 'Air',
|
|
358
|
-
Road: 'Road'
|
|
366
|
+
Road: 'Road',
|
|
359
367
|
};
|
|
360
368
|
exports.StockOrderModelPaidEnum = {
|
|
361
369
|
NUMBER_0: 0,
|
|
362
370
|
NUMBER_1: 1,
|
|
363
|
-
NUMBER_2: 2
|
|
371
|
+
NUMBER_2: 2,
|
|
364
372
|
};
|
|
365
373
|
exports.TcxMultiTenantModelPackageEnum = {
|
|
366
|
-
_3CxStarterBundle: '3CX Starter Bundle'
|
|
374
|
+
_3CxStarterBundle: '3CX Starter Bundle',
|
|
367
375
|
};
|
|
368
376
|
exports.TcxSetupEntityInstallTypeEnum = {
|
|
369
377
|
New: 'new',
|
|
370
378
|
Restore: 'restore',
|
|
371
379
|
Failover: 'failover',
|
|
372
|
-
MultiTenant: 'multi-tenant'
|
|
380
|
+
MultiTenant: 'multi-tenant',
|
|
373
381
|
};
|
|
374
382
|
exports.TcxSetupEntityRegionEnum = {
|
|
375
383
|
Uk1: 'UK1',
|
|
@@ -380,13 +388,13 @@ exports.TcxSetupEntityRegionEnum = {
|
|
|
380
388
|
Syd1: 'SYD1',
|
|
381
389
|
Sgp1: 'SGP1',
|
|
382
390
|
UsEastVa1: 'US-EAST-VA-1',
|
|
383
|
-
UsWestOr1: 'US-WEST-OR-1'
|
|
391
|
+
UsWestOr1: 'US-WEST-OR-1',
|
|
384
392
|
};
|
|
385
393
|
exports.TcxWizardModelInstallTypeEnum = {
|
|
386
394
|
New: 'new',
|
|
387
395
|
Restore: 'restore',
|
|
388
396
|
Failover: 'failover',
|
|
389
|
-
MultiTenant: 'multi-tenant'
|
|
397
|
+
MultiTenant: 'multi-tenant',
|
|
390
398
|
};
|
|
391
399
|
exports.TcxWizardModelInstallationStatusEnum = {
|
|
392
400
|
Building: 'Building',
|
|
@@ -403,15 +411,15 @@ exports.TcxWizardModelInstallationStatusEnum = {
|
|
|
403
411
|
RecordingsBackupInstalled: 'Recordings Backup Installed',
|
|
404
412
|
Complete: 'Complete',
|
|
405
413
|
Deleted: 'Deleted',
|
|
406
|
-
Failed: 'Failed'
|
|
414
|
+
Failed: 'Failed',
|
|
407
415
|
};
|
|
408
416
|
exports.UpgradeRequestModelLicenceTypeEnum = {
|
|
409
417
|
Lite: 'lite',
|
|
410
|
-
Pro: 'pro'
|
|
418
|
+
Pro: 'pro',
|
|
411
419
|
};
|
|
412
420
|
exports.UpgradeRequestModelSchoolTypeEnum = {
|
|
413
421
|
Primary: 'primary',
|
|
414
|
-
Secondary: 'secondary'
|
|
422
|
+
Secondary: 'secondary',
|
|
415
423
|
};
|
|
416
424
|
/**
|
|
417
425
|
* AccountsApi - axios parameter creator
|
|
@@ -603,43 +611,6 @@ var AccountsApiAxiosParamCreator = function (configuration) {
|
|
|
603
611
|
});
|
|
604
612
|
});
|
|
605
613
|
},
|
|
606
|
-
/**
|
|
607
|
-
* Get Account Page Details
|
|
608
|
-
* @param {string} id Xero ID
|
|
609
|
-
* @param {*} [options] Override http request option.
|
|
610
|
-
* @throws {RequiredError}
|
|
611
|
-
*/
|
|
612
|
-
getGetAccountPageInfo: function (id_1) {
|
|
613
|
-
var args_1 = [];
|
|
614
|
-
for (var _i = 1; _i < arguments.length; _i++) {
|
|
615
|
-
args_1[_i - 1] = arguments[_i];
|
|
616
|
-
}
|
|
617
|
-
return __awaiter(_this, __spreadArray([id_1], args_1, true), void 0, function (id, options) {
|
|
618
|
-
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
619
|
-
if (options === void 0) { options = {}; }
|
|
620
|
-
return __generator(this, function (_a) {
|
|
621
|
-
// verify required parameter 'id' is not null or undefined
|
|
622
|
-
(0, common_1.assertParamExists)('getGetAccountPageInfo', 'id', id);
|
|
623
|
-
localVarPath = "/admin/accounts/{id}"
|
|
624
|
-
.replace("{".concat("id", "}"), encodeURIComponent(String(id)));
|
|
625
|
-
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
626
|
-
if (configuration) {
|
|
627
|
-
baseOptions = configuration.baseOptions;
|
|
628
|
-
}
|
|
629
|
-
localVarRequestOptions = __assign(__assign({ method: 'GET' }, baseOptions), options);
|
|
630
|
-
localVarHeaderParameter = {};
|
|
631
|
-
localVarQueryParameter = {};
|
|
632
|
-
localVarHeaderParameter['Accept'] = 'application/json';
|
|
633
|
-
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
634
|
-
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
635
|
-
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
636
|
-
return [2 /*return*/, {
|
|
637
|
-
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
638
|
-
options: localVarRequestOptions,
|
|
639
|
-
}];
|
|
640
|
-
});
|
|
641
|
-
});
|
|
642
|
-
},
|
|
643
614
|
/**
|
|
644
615
|
* Get Accounts
|
|
645
616
|
* @summary Get Accounts
|
|
@@ -797,98 +768,18 @@ var AccountsApiAxiosParamCreator = function (configuration) {
|
|
|
797
768
|
});
|
|
798
769
|
});
|
|
799
770
|
},
|
|
800
|
-
/**
|
|
801
|
-
* Set Account Portal Access
|
|
802
|
-
* @param {string} id Xero ID
|
|
803
|
-
* @param {PatchSetPortalAccessStateEnum} state Portal Access State
|
|
804
|
-
* @param {*} [options] Override http request option.
|
|
805
|
-
* @throws {RequiredError}
|
|
806
|
-
*/
|
|
807
|
-
patchSetPortalAccess: function (id_1, state_1) {
|
|
808
|
-
var args_1 = [];
|
|
809
|
-
for (var _i = 2; _i < arguments.length; _i++) {
|
|
810
|
-
args_1[_i - 2] = arguments[_i];
|
|
811
|
-
}
|
|
812
|
-
return __awaiter(_this, __spreadArray([id_1, state_1], args_1, true), void 0, function (id, state, options) {
|
|
813
|
-
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
814
|
-
if (options === void 0) { options = {}; }
|
|
815
|
-
return __generator(this, function (_a) {
|
|
816
|
-
// verify required parameter 'id' is not null or undefined
|
|
817
|
-
(0, common_1.assertParamExists)('patchSetPortalAccess', 'id', id);
|
|
818
|
-
// verify required parameter 'state' is not null or undefined
|
|
819
|
-
(0, common_1.assertParamExists)('patchSetPortalAccess', 'state', state);
|
|
820
|
-
localVarPath = "/admin/accounts/{id}/portal/access/{state}"
|
|
821
|
-
.replace("{".concat("id", "}"), encodeURIComponent(String(id)))
|
|
822
|
-
.replace("{".concat("state", "}"), encodeURIComponent(String(state)));
|
|
823
|
-
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
824
|
-
if (configuration) {
|
|
825
|
-
baseOptions = configuration.baseOptions;
|
|
826
|
-
}
|
|
827
|
-
localVarRequestOptions = __assign(__assign({ method: 'PATCH' }, baseOptions), options);
|
|
828
|
-
localVarHeaderParameter = {};
|
|
829
|
-
localVarQueryParameter = {};
|
|
830
|
-
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
831
|
-
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
832
|
-
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
833
|
-
return [2 /*return*/, {
|
|
834
|
-
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
835
|
-
options: localVarRequestOptions,
|
|
836
|
-
}];
|
|
837
|
-
});
|
|
838
|
-
});
|
|
839
|
-
},
|
|
840
|
-
/**
|
|
841
|
-
* Set Account Prize Promo
|
|
842
|
-
* @param {string} id Xero ID
|
|
843
|
-
* @param {PatchSetPrizePromoStateEnum} state Prize Promo State
|
|
844
|
-
* @param {*} [options] Override http request option.
|
|
845
|
-
* @throws {RequiredError}
|
|
846
|
-
*/
|
|
847
|
-
patchSetPrizePromo: function (id_1, state_1) {
|
|
848
|
-
var args_1 = [];
|
|
849
|
-
for (var _i = 2; _i < arguments.length; _i++) {
|
|
850
|
-
args_1[_i - 2] = arguments[_i];
|
|
851
|
-
}
|
|
852
|
-
return __awaiter(_this, __spreadArray([id_1, state_1], args_1, true), void 0, function (id, state, options) {
|
|
853
|
-
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
854
|
-
if (options === void 0) { options = {}; }
|
|
855
|
-
return __generator(this, function (_a) {
|
|
856
|
-
// verify required parameter 'id' is not null or undefined
|
|
857
|
-
(0, common_1.assertParamExists)('patchSetPrizePromo', 'id', id);
|
|
858
|
-
// verify required parameter 'state' is not null or undefined
|
|
859
|
-
(0, common_1.assertParamExists)('patchSetPrizePromo', 'state', state);
|
|
860
|
-
localVarPath = "/admin/accounts/{id}/prizes/{state}"
|
|
861
|
-
.replace("{".concat("id", "}"), encodeURIComponent(String(id)))
|
|
862
|
-
.replace("{".concat("state", "}"), encodeURIComponent(String(state)));
|
|
863
|
-
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
864
|
-
if (configuration) {
|
|
865
|
-
baseOptions = configuration.baseOptions;
|
|
866
|
-
}
|
|
867
|
-
localVarRequestOptions = __assign(__assign({ method: 'PATCH' }, baseOptions), options);
|
|
868
|
-
localVarHeaderParameter = {};
|
|
869
|
-
localVarQueryParameter = {};
|
|
870
|
-
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
871
|
-
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
872
|
-
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
873
|
-
return [2 /*return*/, {
|
|
874
|
-
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
875
|
-
options: localVarRequestOptions,
|
|
876
|
-
}];
|
|
877
|
-
});
|
|
878
|
-
});
|
|
879
|
-
},
|
|
880
771
|
/**
|
|
881
772
|
* Set 3CX Wizard CNAME
|
|
882
|
-
* @param {
|
|
773
|
+
* @param {PatchSetTcxWizardCnameRequest} [patchSetTcxWizardCnameRequest] CNAME Request
|
|
883
774
|
* @param {*} [options] Override http request option.
|
|
884
775
|
* @throws {RequiredError}
|
|
885
776
|
*/
|
|
886
|
-
patchSetTcxWizardCname: function (
|
|
777
|
+
patchSetTcxWizardCname: function (patchSetTcxWizardCnameRequest_1) {
|
|
887
778
|
var args_1 = [];
|
|
888
779
|
for (var _i = 1; _i < arguments.length; _i++) {
|
|
889
780
|
args_1[_i - 1] = arguments[_i];
|
|
890
781
|
}
|
|
891
|
-
return __awaiter(_this, __spreadArray([
|
|
782
|
+
return __awaiter(_this, __spreadArray([patchSetTcxWizardCnameRequest_1], args_1, true), void 0, function (patchSetTcxWizardCnameRequest, options) {
|
|
892
783
|
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
893
784
|
if (options === void 0) { options = {}; }
|
|
894
785
|
return __generator(this, function (_a) {
|
|
@@ -904,46 +795,7 @@ var AccountsApiAxiosParamCreator = function (configuration) {
|
|
|
904
795
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
905
796
|
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
906
797
|
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
907
|
-
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(
|
|
908
|
-
return [2 /*return*/, {
|
|
909
|
-
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
910
|
-
options: localVarRequestOptions,
|
|
911
|
-
}];
|
|
912
|
-
});
|
|
913
|
-
});
|
|
914
|
-
},
|
|
915
|
-
/**
|
|
916
|
-
* Set Account Prize Promo
|
|
917
|
-
* @param {string} id Xero ID
|
|
918
|
-
* @param {PatchUpdateAccountCnameRequest} [patchUpdateAccountCnameRequest] CNAME Request
|
|
919
|
-
* @param {*} [options] Override http request option.
|
|
920
|
-
* @throws {RequiredError}
|
|
921
|
-
*/
|
|
922
|
-
patchUpdateAccountCname: function (id_1, patchUpdateAccountCnameRequest_1) {
|
|
923
|
-
var args_1 = [];
|
|
924
|
-
for (var _i = 2; _i < arguments.length; _i++) {
|
|
925
|
-
args_1[_i - 2] = arguments[_i];
|
|
926
|
-
}
|
|
927
|
-
return __awaiter(_this, __spreadArray([id_1, patchUpdateAccountCnameRequest_1], args_1, true), void 0, function (id, patchUpdateAccountCnameRequest, options) {
|
|
928
|
-
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
929
|
-
if (options === void 0) { options = {}; }
|
|
930
|
-
return __generator(this, function (_a) {
|
|
931
|
-
// verify required parameter 'id' is not null or undefined
|
|
932
|
-
(0, common_1.assertParamExists)('patchUpdateAccountCname', 'id', id);
|
|
933
|
-
localVarPath = "/admin/accounts/{id}/cname"
|
|
934
|
-
.replace("{".concat("id", "}"), encodeURIComponent(String(id)));
|
|
935
|
-
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
936
|
-
if (configuration) {
|
|
937
|
-
baseOptions = configuration.baseOptions;
|
|
938
|
-
}
|
|
939
|
-
localVarRequestOptions = __assign(__assign({ method: 'PATCH' }, baseOptions), options);
|
|
940
|
-
localVarHeaderParameter = {};
|
|
941
|
-
localVarQueryParameter = {};
|
|
942
|
-
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
943
|
-
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
944
|
-
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
945
|
-
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
946
|
-
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(patchUpdateAccountCnameRequest, localVarRequestOptions, configuration);
|
|
798
|
+
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(patchSetTcxWizardCnameRequest, localVarRequestOptions, configuration);
|
|
947
799
|
return [2 /*return*/, {
|
|
948
800
|
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
949
801
|
options: localVarRequestOptions,
|
|
@@ -1213,45 +1065,6 @@ var AccountsApiAxiosParamCreator = function (configuration) {
|
|
|
1213
1065
|
});
|
|
1214
1066
|
});
|
|
1215
1067
|
},
|
|
1216
|
-
/**
|
|
1217
|
-
* Send Account Welcome Email
|
|
1218
|
-
* @param {string} id Xero ID
|
|
1219
|
-
* @param {PostSendWelcomeEmailRequest} [postSendWelcomeEmailRequest] Email Request
|
|
1220
|
-
* @param {*} [options] Override http request option.
|
|
1221
|
-
* @throws {RequiredError}
|
|
1222
|
-
*/
|
|
1223
|
-
postSendWelcomeEmail: function (id_1, postSendWelcomeEmailRequest_1) {
|
|
1224
|
-
var args_1 = [];
|
|
1225
|
-
for (var _i = 2; _i < arguments.length; _i++) {
|
|
1226
|
-
args_1[_i - 2] = arguments[_i];
|
|
1227
|
-
}
|
|
1228
|
-
return __awaiter(_this, __spreadArray([id_1, postSendWelcomeEmailRequest_1], args_1, true), void 0, function (id, postSendWelcomeEmailRequest, options) {
|
|
1229
|
-
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
1230
|
-
if (options === void 0) { options = {}; }
|
|
1231
|
-
return __generator(this, function (_a) {
|
|
1232
|
-
// verify required parameter 'id' is not null or undefined
|
|
1233
|
-
(0, common_1.assertParamExists)('postSendWelcomeEmail', 'id', id);
|
|
1234
|
-
localVarPath = "/admin/accounts/{id}/email/welcome"
|
|
1235
|
-
.replace("{".concat("id", "}"), encodeURIComponent(String(id)));
|
|
1236
|
-
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
1237
|
-
if (configuration) {
|
|
1238
|
-
baseOptions = configuration.baseOptions;
|
|
1239
|
-
}
|
|
1240
|
-
localVarRequestOptions = __assign(__assign({ method: 'POST' }, baseOptions), options);
|
|
1241
|
-
localVarHeaderParameter = {};
|
|
1242
|
-
localVarQueryParameter = {};
|
|
1243
|
-
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
1244
|
-
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
1245
|
-
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1246
|
-
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
1247
|
-
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(postSendWelcomeEmailRequest, localVarRequestOptions, configuration);
|
|
1248
|
-
return [2 /*return*/, {
|
|
1249
|
-
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
1250
|
-
options: localVarRequestOptions,
|
|
1251
|
-
}];
|
|
1252
|
-
});
|
|
1253
|
-
});
|
|
1254
|
-
},
|
|
1255
1068
|
/**
|
|
1256
1069
|
* Submit reseller application
|
|
1257
1070
|
* @summary Submit reseller application
|
|
@@ -1337,84 +1150,6 @@ var AccountsApiAxiosParamCreator = function (configuration) {
|
|
|
1337
1150
|
});
|
|
1338
1151
|
});
|
|
1339
1152
|
},
|
|
1340
|
-
/**
|
|
1341
|
-
* Update Account Billing Address
|
|
1342
|
-
* @param {string} id Xero ID
|
|
1343
|
-
* @param {AddressDTO} [addressDTO] Updated Billing Address
|
|
1344
|
-
* @param {*} [options] Override http request option.
|
|
1345
|
-
* @throws {RequiredError}
|
|
1346
|
-
*/
|
|
1347
|
-
putUpdateBillingAddress: function (id_1, addressDTO_1) {
|
|
1348
|
-
var args_1 = [];
|
|
1349
|
-
for (var _i = 2; _i < arguments.length; _i++) {
|
|
1350
|
-
args_1[_i - 2] = arguments[_i];
|
|
1351
|
-
}
|
|
1352
|
-
return __awaiter(_this, __spreadArray([id_1, addressDTO_1], args_1, true), void 0, function (id, addressDTO, options) {
|
|
1353
|
-
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
1354
|
-
if (options === void 0) { options = {}; }
|
|
1355
|
-
return __generator(this, function (_a) {
|
|
1356
|
-
// verify required parameter 'id' is not null or undefined
|
|
1357
|
-
(0, common_1.assertParamExists)('putUpdateBillingAddress', 'id', id);
|
|
1358
|
-
localVarPath = "/admin/accounts/{id}/billing/address"
|
|
1359
|
-
.replace("{".concat("id", "}"), encodeURIComponent(String(id)));
|
|
1360
|
-
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
1361
|
-
if (configuration) {
|
|
1362
|
-
baseOptions = configuration.baseOptions;
|
|
1363
|
-
}
|
|
1364
|
-
localVarRequestOptions = __assign(__assign({ method: 'PUT' }, baseOptions), options);
|
|
1365
|
-
localVarHeaderParameter = {};
|
|
1366
|
-
localVarQueryParameter = {};
|
|
1367
|
-
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
1368
|
-
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
1369
|
-
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1370
|
-
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
1371
|
-
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(addressDTO, localVarRequestOptions, configuration);
|
|
1372
|
-
return [2 /*return*/, {
|
|
1373
|
-
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
1374
|
-
options: localVarRequestOptions,
|
|
1375
|
-
}];
|
|
1376
|
-
});
|
|
1377
|
-
});
|
|
1378
|
-
},
|
|
1379
|
-
/**
|
|
1380
|
-
* Update Account Shipping Address
|
|
1381
|
-
* @param {string} id Xero ID
|
|
1382
|
-
* @param {AddressDTO} [addressDTO] Updated Shipping Address
|
|
1383
|
-
* @param {*} [options] Override http request option.
|
|
1384
|
-
* @throws {RequiredError}
|
|
1385
|
-
*/
|
|
1386
|
-
putUpdateShippingAddress: function (id_1, addressDTO_1) {
|
|
1387
|
-
var args_1 = [];
|
|
1388
|
-
for (var _i = 2; _i < arguments.length; _i++) {
|
|
1389
|
-
args_1[_i - 2] = arguments[_i];
|
|
1390
|
-
}
|
|
1391
|
-
return __awaiter(_this, __spreadArray([id_1, addressDTO_1], args_1, true), void 0, function (id, addressDTO, options) {
|
|
1392
|
-
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
1393
|
-
if (options === void 0) { options = {}; }
|
|
1394
|
-
return __generator(this, function (_a) {
|
|
1395
|
-
// verify required parameter 'id' is not null or undefined
|
|
1396
|
-
(0, common_1.assertParamExists)('putUpdateShippingAddress', 'id', id);
|
|
1397
|
-
localVarPath = "/admin/accounts/{id}/shipping/address"
|
|
1398
|
-
.replace("{".concat("id", "}"), encodeURIComponent(String(id)));
|
|
1399
|
-
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
1400
|
-
if (configuration) {
|
|
1401
|
-
baseOptions = configuration.baseOptions;
|
|
1402
|
-
}
|
|
1403
|
-
localVarRequestOptions = __assign(__assign({ method: 'PUT' }, baseOptions), options);
|
|
1404
|
-
localVarHeaderParameter = {};
|
|
1405
|
-
localVarQueryParameter = {};
|
|
1406
|
-
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
1407
|
-
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
1408
|
-
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1409
|
-
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
1410
|
-
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(addressDTO, localVarRequestOptions, configuration);
|
|
1411
|
-
return [2 /*return*/, {
|
|
1412
|
-
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
1413
|
-
options: localVarRequestOptions,
|
|
1414
|
-
}];
|
|
1415
|
-
});
|
|
1416
|
-
});
|
|
1417
|
-
},
|
|
1418
1153
|
};
|
|
1419
1154
|
};
|
|
1420
1155
|
exports.AccountsApiAxiosParamCreator = AccountsApiAxiosParamCreator;
|
|
@@ -1538,28 +1273,6 @@ var AccountsApiFp = function (configuration) {
|
|
|
1538
1273
|
});
|
|
1539
1274
|
});
|
|
1540
1275
|
},
|
|
1541
|
-
/**
|
|
1542
|
-
* Get Account Page Details
|
|
1543
|
-
* @param {string} id Xero ID
|
|
1544
|
-
* @param {*} [options] Override http request option.
|
|
1545
|
-
* @throws {RequiredError}
|
|
1546
|
-
*/
|
|
1547
|
-
getGetAccountPageInfo: function (id, options) {
|
|
1548
|
-
return __awaiter(this, void 0, void 0, function () {
|
|
1549
|
-
var localVarAxiosArgs, localVarOperationServerIndex, localVarOperationServerBasePath;
|
|
1550
|
-
var _a, _b, _c;
|
|
1551
|
-
return __generator(this, function (_d) {
|
|
1552
|
-
switch (_d.label) {
|
|
1553
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.getGetAccountPageInfo(id, options)];
|
|
1554
|
-
case 1:
|
|
1555
|
-
localVarAxiosArgs = _d.sent();
|
|
1556
|
-
localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
1557
|
-
localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['AccountsApi.getGetAccountPageInfo']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
1558
|
-
return [2 /*return*/, function (axios, basePath) { return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath); }];
|
|
1559
|
-
}
|
|
1560
|
-
});
|
|
1561
|
-
});
|
|
1562
|
-
},
|
|
1563
1276
|
/**
|
|
1564
1277
|
* Get Accounts
|
|
1565
1278
|
* @summary Get Accounts
|
|
@@ -1654,128 +1367,59 @@ var AccountsApiFp = function (configuration) {
|
|
|
1654
1367
|
});
|
|
1655
1368
|
},
|
|
1656
1369
|
/**
|
|
1657
|
-
* Set
|
|
1658
|
-
* @param {
|
|
1659
|
-
* @param {PatchSetPortalAccessStateEnum} state Portal Access State
|
|
1370
|
+
* Set 3CX Wizard CNAME
|
|
1371
|
+
* @param {PatchSetTcxWizardCnameRequest} [patchSetTcxWizardCnameRequest] CNAME Request
|
|
1660
1372
|
* @param {*} [options] Override http request option.
|
|
1661
1373
|
* @throws {RequiredError}
|
|
1662
1374
|
*/
|
|
1663
|
-
|
|
1375
|
+
patchSetTcxWizardCname: function (patchSetTcxWizardCnameRequest, options) {
|
|
1664
1376
|
return __awaiter(this, void 0, void 0, function () {
|
|
1665
1377
|
var localVarAxiosArgs, localVarOperationServerIndex, localVarOperationServerBasePath;
|
|
1666
1378
|
var _a, _b, _c;
|
|
1667
1379
|
return __generator(this, function (_d) {
|
|
1668
1380
|
switch (_d.label) {
|
|
1669
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.
|
|
1381
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.patchSetTcxWizardCname(patchSetTcxWizardCnameRequest, options)];
|
|
1670
1382
|
case 1:
|
|
1671
1383
|
localVarAxiosArgs = _d.sent();
|
|
1672
1384
|
localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
1673
|
-
localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['AccountsApi.
|
|
1385
|
+
localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['AccountsApi.patchSetTcxWizardCname']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
1674
1386
|
return [2 /*return*/, function (axios, basePath) { return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath); }];
|
|
1675
1387
|
}
|
|
1676
1388
|
});
|
|
1677
1389
|
});
|
|
1678
1390
|
},
|
|
1679
1391
|
/**
|
|
1680
|
-
*
|
|
1681
|
-
* @
|
|
1682
|
-
* @param {
|
|
1392
|
+
* Update Account Password
|
|
1393
|
+
* @summary Update Account Password
|
|
1394
|
+
* @param {string} token Verification Token
|
|
1395
|
+
* @param {PatchUpdateAccountContactPasswordRequest} [patchUpdateAccountContactPasswordRequest] New account request
|
|
1683
1396
|
* @param {*} [options] Override http request option.
|
|
1684
1397
|
* @throws {RequiredError}
|
|
1685
1398
|
*/
|
|
1686
|
-
|
|
1399
|
+
patchUpdateAccountContactPassword: function (token, patchUpdateAccountContactPasswordRequest, options) {
|
|
1687
1400
|
return __awaiter(this, void 0, void 0, function () {
|
|
1688
1401
|
var localVarAxiosArgs, localVarOperationServerIndex, localVarOperationServerBasePath;
|
|
1689
1402
|
var _a, _b, _c;
|
|
1690
1403
|
return __generator(this, function (_d) {
|
|
1691
1404
|
switch (_d.label) {
|
|
1692
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.
|
|
1405
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.patchUpdateAccountContactPassword(token, patchUpdateAccountContactPasswordRequest, options)];
|
|
1693
1406
|
case 1:
|
|
1694
1407
|
localVarAxiosArgs = _d.sent();
|
|
1695
1408
|
localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
1696
|
-
localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['AccountsApi.
|
|
1409
|
+
localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['AccountsApi.patchUpdateAccountContactPassword']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
1697
1410
|
return [2 /*return*/, function (axios, basePath) { return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath); }];
|
|
1698
1411
|
}
|
|
1699
1412
|
});
|
|
1700
1413
|
});
|
|
1701
1414
|
},
|
|
1702
1415
|
/**
|
|
1703
|
-
*
|
|
1704
|
-
* @
|
|
1416
|
+
* Add Account Contacts
|
|
1417
|
+
* @summary Add Account Contact
|
|
1418
|
+
* @param {AccountContactRequestModel} [accountContactRequestModel] New account request
|
|
1705
1419
|
* @param {*} [options] Override http request option.
|
|
1706
1420
|
* @throws {RequiredError}
|
|
1707
1421
|
*/
|
|
1708
|
-
|
|
1709
|
-
return __awaiter(this, void 0, void 0, function () {
|
|
1710
|
-
var localVarAxiosArgs, localVarOperationServerIndex, localVarOperationServerBasePath;
|
|
1711
|
-
var _a, _b, _c;
|
|
1712
|
-
return __generator(this, function (_d) {
|
|
1713
|
-
switch (_d.label) {
|
|
1714
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.patchSetTcxWizardCname(patchUpdateAccountCnameRequest, options)];
|
|
1715
|
-
case 1:
|
|
1716
|
-
localVarAxiosArgs = _d.sent();
|
|
1717
|
-
localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
1718
|
-
localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['AccountsApi.patchSetTcxWizardCname']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
1719
|
-
return [2 /*return*/, function (axios, basePath) { return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath); }];
|
|
1720
|
-
}
|
|
1721
|
-
});
|
|
1722
|
-
});
|
|
1723
|
-
},
|
|
1724
|
-
/**
|
|
1725
|
-
* Set Account Prize Promo
|
|
1726
|
-
* @param {string} id Xero ID
|
|
1727
|
-
* @param {PatchUpdateAccountCnameRequest} [patchUpdateAccountCnameRequest] CNAME Request
|
|
1728
|
-
* @param {*} [options] Override http request option.
|
|
1729
|
-
* @throws {RequiredError}
|
|
1730
|
-
*/
|
|
1731
|
-
patchUpdateAccountCname: function (id, patchUpdateAccountCnameRequest, options) {
|
|
1732
|
-
return __awaiter(this, void 0, void 0, function () {
|
|
1733
|
-
var localVarAxiosArgs, localVarOperationServerIndex, localVarOperationServerBasePath;
|
|
1734
|
-
var _a, _b, _c;
|
|
1735
|
-
return __generator(this, function (_d) {
|
|
1736
|
-
switch (_d.label) {
|
|
1737
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.patchUpdateAccountCname(id, patchUpdateAccountCnameRequest, options)];
|
|
1738
|
-
case 1:
|
|
1739
|
-
localVarAxiosArgs = _d.sent();
|
|
1740
|
-
localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
1741
|
-
localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['AccountsApi.patchUpdateAccountCname']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
1742
|
-
return [2 /*return*/, function (axios, basePath) { return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath); }];
|
|
1743
|
-
}
|
|
1744
|
-
});
|
|
1745
|
-
});
|
|
1746
|
-
},
|
|
1747
|
-
/**
|
|
1748
|
-
* Update Account Password
|
|
1749
|
-
* @summary Update Account Password
|
|
1750
|
-
* @param {string} token Verification Token
|
|
1751
|
-
* @param {PatchUpdateAccountContactPasswordRequest} [patchUpdateAccountContactPasswordRequest] New account request
|
|
1752
|
-
* @param {*} [options] Override http request option.
|
|
1753
|
-
* @throws {RequiredError}
|
|
1754
|
-
*/
|
|
1755
|
-
patchUpdateAccountContactPassword: function (token, patchUpdateAccountContactPasswordRequest, options) {
|
|
1756
|
-
return __awaiter(this, void 0, void 0, function () {
|
|
1757
|
-
var localVarAxiosArgs, localVarOperationServerIndex, localVarOperationServerBasePath;
|
|
1758
|
-
var _a, _b, _c;
|
|
1759
|
-
return __generator(this, function (_d) {
|
|
1760
|
-
switch (_d.label) {
|
|
1761
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.patchUpdateAccountContactPassword(token, patchUpdateAccountContactPasswordRequest, options)];
|
|
1762
|
-
case 1:
|
|
1763
|
-
localVarAxiosArgs = _d.sent();
|
|
1764
|
-
localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
1765
|
-
localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['AccountsApi.patchUpdateAccountContactPassword']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
1766
|
-
return [2 /*return*/, function (axios, basePath) { return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath); }];
|
|
1767
|
-
}
|
|
1768
|
-
});
|
|
1769
|
-
});
|
|
1770
|
-
},
|
|
1771
|
-
/**
|
|
1772
|
-
* Add Account Contacts
|
|
1773
|
-
* @summary Add Account Contact
|
|
1774
|
-
* @param {AccountContactRequestModel} [accountContactRequestModel] New account request
|
|
1775
|
-
* @param {*} [options] Override http request option.
|
|
1776
|
-
* @throws {RequiredError}
|
|
1777
|
-
*/
|
|
1778
|
-
postGetAccountContacts: function (accountContactRequestModel, options) {
|
|
1422
|
+
postGetAccountContacts: function (accountContactRequestModel, options) {
|
|
1779
1423
|
return __awaiter(this, void 0, void 0, function () {
|
|
1780
1424
|
var localVarAxiosArgs, localVarOperationServerIndex, localVarOperationServerBasePath;
|
|
1781
1425
|
var _a, _b, _c;
|
|
@@ -1905,29 +1549,6 @@ var AccountsApiFp = function (configuration) {
|
|
|
1905
1549
|
});
|
|
1906
1550
|
});
|
|
1907
1551
|
},
|
|
1908
|
-
/**
|
|
1909
|
-
* Send Account Welcome Email
|
|
1910
|
-
* @param {string} id Xero ID
|
|
1911
|
-
* @param {PostSendWelcomeEmailRequest} [postSendWelcomeEmailRequest] Email Request
|
|
1912
|
-
* @param {*} [options] Override http request option.
|
|
1913
|
-
* @throws {RequiredError}
|
|
1914
|
-
*/
|
|
1915
|
-
postSendWelcomeEmail: function (id, postSendWelcomeEmailRequest, options) {
|
|
1916
|
-
return __awaiter(this, void 0, void 0, function () {
|
|
1917
|
-
var localVarAxiosArgs, localVarOperationServerIndex, localVarOperationServerBasePath;
|
|
1918
|
-
var _a, _b, _c;
|
|
1919
|
-
return __generator(this, function (_d) {
|
|
1920
|
-
switch (_d.label) {
|
|
1921
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.postSendWelcomeEmail(id, postSendWelcomeEmailRequest, options)];
|
|
1922
|
-
case 1:
|
|
1923
|
-
localVarAxiosArgs = _d.sent();
|
|
1924
|
-
localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
1925
|
-
localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['AccountsApi.postSendWelcomeEmail']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
1926
|
-
return [2 /*return*/, function (axios, basePath) { return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath); }];
|
|
1927
|
-
}
|
|
1928
|
-
});
|
|
1929
|
-
});
|
|
1930
|
-
},
|
|
1931
1552
|
/**
|
|
1932
1553
|
* Submit reseller application
|
|
1933
1554
|
* @summary Submit reseller application
|
|
@@ -1977,52 +1598,6 @@ var AccountsApiFp = function (configuration) {
|
|
|
1977
1598
|
});
|
|
1978
1599
|
});
|
|
1979
1600
|
},
|
|
1980
|
-
/**
|
|
1981
|
-
* Update Account Billing Address
|
|
1982
|
-
* @param {string} id Xero ID
|
|
1983
|
-
* @param {AddressDTO} [addressDTO] Updated Billing Address
|
|
1984
|
-
* @param {*} [options] Override http request option.
|
|
1985
|
-
* @throws {RequiredError}
|
|
1986
|
-
*/
|
|
1987
|
-
putUpdateBillingAddress: function (id, addressDTO, options) {
|
|
1988
|
-
return __awaiter(this, void 0, void 0, function () {
|
|
1989
|
-
var localVarAxiosArgs, localVarOperationServerIndex, localVarOperationServerBasePath;
|
|
1990
|
-
var _a, _b, _c;
|
|
1991
|
-
return __generator(this, function (_d) {
|
|
1992
|
-
switch (_d.label) {
|
|
1993
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.putUpdateBillingAddress(id, addressDTO, options)];
|
|
1994
|
-
case 1:
|
|
1995
|
-
localVarAxiosArgs = _d.sent();
|
|
1996
|
-
localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
1997
|
-
localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['AccountsApi.putUpdateBillingAddress']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
1998
|
-
return [2 /*return*/, function (axios, basePath) { return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath); }];
|
|
1999
|
-
}
|
|
2000
|
-
});
|
|
2001
|
-
});
|
|
2002
|
-
},
|
|
2003
|
-
/**
|
|
2004
|
-
* Update Account Shipping Address
|
|
2005
|
-
* @param {string} id Xero ID
|
|
2006
|
-
* @param {AddressDTO} [addressDTO] Updated Shipping Address
|
|
2007
|
-
* @param {*} [options] Override http request option.
|
|
2008
|
-
* @throws {RequiredError}
|
|
2009
|
-
*/
|
|
2010
|
-
putUpdateShippingAddress: function (id, addressDTO, options) {
|
|
2011
|
-
return __awaiter(this, void 0, void 0, function () {
|
|
2012
|
-
var localVarAxiosArgs, localVarOperationServerIndex, localVarOperationServerBasePath;
|
|
2013
|
-
var _a, _b, _c;
|
|
2014
|
-
return __generator(this, function (_d) {
|
|
2015
|
-
switch (_d.label) {
|
|
2016
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.putUpdateShippingAddress(id, addressDTO, options)];
|
|
2017
|
-
case 1:
|
|
2018
|
-
localVarAxiosArgs = _d.sent();
|
|
2019
|
-
localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
2020
|
-
localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['AccountsApi.putUpdateShippingAddress']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
2021
|
-
return [2 /*return*/, function (axios, basePath) { return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath); }];
|
|
2022
|
-
}
|
|
2023
|
-
});
|
|
2024
|
-
});
|
|
2025
|
-
},
|
|
2026
1601
|
};
|
|
2027
1602
|
};
|
|
2028
1603
|
exports.AccountsApiFp = AccountsApiFp;
|
|
@@ -2081,15 +1656,6 @@ var AccountsApiFactory = function (configuration, basePath, axios) {
|
|
|
2081
1656
|
getGetAccountDetailedSummary: function (id, options) {
|
|
2082
1657
|
return localVarFp.getGetAccountDetailedSummary(id, options).then(function (request) { return request(axios, basePath); });
|
|
2083
1658
|
},
|
|
2084
|
-
/**
|
|
2085
|
-
* Get Account Page Details
|
|
2086
|
-
* @param {string} id Xero ID
|
|
2087
|
-
* @param {*} [options] Override http request option.
|
|
2088
|
-
* @throws {RequiredError}
|
|
2089
|
-
*/
|
|
2090
|
-
getGetAccountPageInfo: function (id, options) {
|
|
2091
|
-
return localVarFp.getGetAccountPageInfo(id, options).then(function (request) { return request(axios, basePath); });
|
|
2092
|
-
},
|
|
2093
1659
|
/**
|
|
2094
1660
|
* Get Accounts
|
|
2095
1661
|
* @summary Get Accounts
|
|
@@ -2131,44 +1697,14 @@ var AccountsApiFactory = function (configuration, basePath, axios) {
|
|
|
2131
1697
|
getVerifyEmailAddress: function (token, options) {
|
|
2132
1698
|
return localVarFp.getVerifyEmailAddress(token, options).then(function (request) { return request(axios, basePath); });
|
|
2133
1699
|
},
|
|
2134
|
-
/**
|
|
2135
|
-
* Set Account Portal Access
|
|
2136
|
-
* @param {string} id Xero ID
|
|
2137
|
-
* @param {PatchSetPortalAccessStateEnum} state Portal Access State
|
|
2138
|
-
* @param {*} [options] Override http request option.
|
|
2139
|
-
* @throws {RequiredError}
|
|
2140
|
-
*/
|
|
2141
|
-
patchSetPortalAccess: function (id, state, options) {
|
|
2142
|
-
return localVarFp.patchSetPortalAccess(id, state, options).then(function (request) { return request(axios, basePath); });
|
|
2143
|
-
},
|
|
2144
|
-
/**
|
|
2145
|
-
* Set Account Prize Promo
|
|
2146
|
-
* @param {string} id Xero ID
|
|
2147
|
-
* @param {PatchSetPrizePromoStateEnum} state Prize Promo State
|
|
2148
|
-
* @param {*} [options] Override http request option.
|
|
2149
|
-
* @throws {RequiredError}
|
|
2150
|
-
*/
|
|
2151
|
-
patchSetPrizePromo: function (id, state, options) {
|
|
2152
|
-
return localVarFp.patchSetPrizePromo(id, state, options).then(function (request) { return request(axios, basePath); });
|
|
2153
|
-
},
|
|
2154
1700
|
/**
|
|
2155
1701
|
* Set 3CX Wizard CNAME
|
|
2156
|
-
* @param {
|
|
2157
|
-
* @param {*} [options] Override http request option.
|
|
2158
|
-
* @throws {RequiredError}
|
|
2159
|
-
*/
|
|
2160
|
-
patchSetTcxWizardCname: function (patchUpdateAccountCnameRequest, options) {
|
|
2161
|
-
return localVarFp.patchSetTcxWizardCname(patchUpdateAccountCnameRequest, options).then(function (request) { return request(axios, basePath); });
|
|
2162
|
-
},
|
|
2163
|
-
/**
|
|
2164
|
-
* Set Account Prize Promo
|
|
2165
|
-
* @param {string} id Xero ID
|
|
2166
|
-
* @param {PatchUpdateAccountCnameRequest} [patchUpdateAccountCnameRequest] CNAME Request
|
|
1702
|
+
* @param {PatchSetTcxWizardCnameRequest} [patchSetTcxWizardCnameRequest] CNAME Request
|
|
2167
1703
|
* @param {*} [options] Override http request option.
|
|
2168
1704
|
* @throws {RequiredError}
|
|
2169
1705
|
*/
|
|
2170
|
-
|
|
2171
|
-
return localVarFp.
|
|
1706
|
+
patchSetTcxWizardCname: function (patchSetTcxWizardCnameRequest, options) {
|
|
1707
|
+
return localVarFp.patchSetTcxWizardCname(patchSetTcxWizardCnameRequest, options).then(function (request) { return request(axios, basePath); });
|
|
2172
1708
|
},
|
|
2173
1709
|
/**
|
|
2174
1710
|
* Update Account Password
|
|
@@ -2240,16 +1776,6 @@ var AccountsApiFactory = function (configuration, basePath, axios) {
|
|
|
2240
1776
|
postSendPasswordReset: function (email, options) {
|
|
2241
1777
|
return localVarFp.postSendPasswordReset(email, options).then(function (request) { return request(axios, basePath); });
|
|
2242
1778
|
},
|
|
2243
|
-
/**
|
|
2244
|
-
* Send Account Welcome Email
|
|
2245
|
-
* @param {string} id Xero ID
|
|
2246
|
-
* @param {PostSendWelcomeEmailRequest} [postSendWelcomeEmailRequest] Email Request
|
|
2247
|
-
* @param {*} [options] Override http request option.
|
|
2248
|
-
* @throws {RequiredError}
|
|
2249
|
-
*/
|
|
2250
|
-
postSendWelcomeEmail: function (id, postSendWelcomeEmailRequest, options) {
|
|
2251
|
-
return localVarFp.postSendWelcomeEmail(id, postSendWelcomeEmailRequest, options).then(function (request) { return request(axios, basePath); });
|
|
2252
|
-
},
|
|
2253
1779
|
/**
|
|
2254
1780
|
* Submit reseller application
|
|
2255
1781
|
* @summary Submit reseller application
|
|
@@ -2273,26 +1799,6 @@ var AccountsApiFactory = function (configuration, basePath, axios) {
|
|
|
2273
1799
|
putUpdateAccountContact: function (email, accountContactRequestModel, options) {
|
|
2274
1800
|
return localVarFp.putUpdateAccountContact(email, accountContactRequestModel, options).then(function (request) { return request(axios, basePath); });
|
|
2275
1801
|
},
|
|
2276
|
-
/**
|
|
2277
|
-
* Update Account Billing Address
|
|
2278
|
-
* @param {string} id Xero ID
|
|
2279
|
-
* @param {AddressDTO} [addressDTO] Updated Billing Address
|
|
2280
|
-
* @param {*} [options] Override http request option.
|
|
2281
|
-
* @throws {RequiredError}
|
|
2282
|
-
*/
|
|
2283
|
-
putUpdateBillingAddress: function (id, addressDTO, options) {
|
|
2284
|
-
return localVarFp.putUpdateBillingAddress(id, addressDTO, options).then(function (request) { return request(axios, basePath); });
|
|
2285
|
-
},
|
|
2286
|
-
/**
|
|
2287
|
-
* Update Account Shipping Address
|
|
2288
|
-
* @param {string} id Xero ID
|
|
2289
|
-
* @param {AddressDTO} [addressDTO] Updated Shipping Address
|
|
2290
|
-
* @param {*} [options] Override http request option.
|
|
2291
|
-
* @throws {RequiredError}
|
|
2292
|
-
*/
|
|
2293
|
-
putUpdateShippingAddress: function (id, addressDTO, options) {
|
|
2294
|
-
return localVarFp.putUpdateShippingAddress(id, addressDTO, options).then(function (request) { return request(axios, basePath); });
|
|
2295
|
-
},
|
|
2296
1802
|
};
|
|
2297
1803
|
};
|
|
2298
1804
|
exports.AccountsApiFactory = AccountsApiFactory;
|
|
@@ -2358,16 +1864,6 @@ var AccountsApi = /** @class */ (function (_super) {
|
|
|
2358
1864
|
var _this = this;
|
|
2359
1865
|
return (0, exports.AccountsApiFp)(this.configuration).getGetAccountDetailedSummary(id, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
2360
1866
|
};
|
|
2361
|
-
/**
|
|
2362
|
-
* Get Account Page Details
|
|
2363
|
-
* @param {string} id Xero ID
|
|
2364
|
-
* @param {*} [options] Override http request option.
|
|
2365
|
-
* @throws {RequiredError}
|
|
2366
|
-
*/
|
|
2367
|
-
AccountsApi.prototype.getGetAccountPageInfo = function (id, options) {
|
|
2368
|
-
var _this = this;
|
|
2369
|
-
return (0, exports.AccountsApiFp)(this.configuration).getGetAccountPageInfo(id, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
2370
|
-
};
|
|
2371
1867
|
/**
|
|
2372
1868
|
* Get Accounts
|
|
2373
1869
|
* @summary Get Accounts
|
|
@@ -2413,48 +1909,15 @@ var AccountsApi = /** @class */ (function (_super) {
|
|
|
2413
1909
|
var _this = this;
|
|
2414
1910
|
return (0, exports.AccountsApiFp)(this.configuration).getVerifyEmailAddress(token, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
2415
1911
|
};
|
|
2416
|
-
/**
|
|
2417
|
-
* Set Account Portal Access
|
|
2418
|
-
* @param {string} id Xero ID
|
|
2419
|
-
* @param {PatchSetPortalAccessStateEnum} state Portal Access State
|
|
2420
|
-
* @param {*} [options] Override http request option.
|
|
2421
|
-
* @throws {RequiredError}
|
|
2422
|
-
*/
|
|
2423
|
-
AccountsApi.prototype.patchSetPortalAccess = function (id, state, options) {
|
|
2424
|
-
var _this = this;
|
|
2425
|
-
return (0, exports.AccountsApiFp)(this.configuration).patchSetPortalAccess(id, state, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
2426
|
-
};
|
|
2427
|
-
/**
|
|
2428
|
-
* Set Account Prize Promo
|
|
2429
|
-
* @param {string} id Xero ID
|
|
2430
|
-
* @param {PatchSetPrizePromoStateEnum} state Prize Promo State
|
|
2431
|
-
* @param {*} [options] Override http request option.
|
|
2432
|
-
* @throws {RequiredError}
|
|
2433
|
-
*/
|
|
2434
|
-
AccountsApi.prototype.patchSetPrizePromo = function (id, state, options) {
|
|
2435
|
-
var _this = this;
|
|
2436
|
-
return (0, exports.AccountsApiFp)(this.configuration).patchSetPrizePromo(id, state, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
2437
|
-
};
|
|
2438
1912
|
/**
|
|
2439
1913
|
* Set 3CX Wizard CNAME
|
|
2440
|
-
* @param {
|
|
2441
|
-
* @param {*} [options] Override http request option.
|
|
2442
|
-
* @throws {RequiredError}
|
|
2443
|
-
*/
|
|
2444
|
-
AccountsApi.prototype.patchSetTcxWizardCname = function (patchUpdateAccountCnameRequest, options) {
|
|
2445
|
-
var _this = this;
|
|
2446
|
-
return (0, exports.AccountsApiFp)(this.configuration).patchSetTcxWizardCname(patchUpdateAccountCnameRequest, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
2447
|
-
};
|
|
2448
|
-
/**
|
|
2449
|
-
* Set Account Prize Promo
|
|
2450
|
-
* @param {string} id Xero ID
|
|
2451
|
-
* @param {PatchUpdateAccountCnameRequest} [patchUpdateAccountCnameRequest] CNAME Request
|
|
1914
|
+
* @param {PatchSetTcxWizardCnameRequest} [patchSetTcxWizardCnameRequest] CNAME Request
|
|
2452
1915
|
* @param {*} [options] Override http request option.
|
|
2453
1916
|
* @throws {RequiredError}
|
|
2454
1917
|
*/
|
|
2455
|
-
AccountsApi.prototype.
|
|
1918
|
+
AccountsApi.prototype.patchSetTcxWizardCname = function (patchSetTcxWizardCnameRequest, options) {
|
|
2456
1919
|
var _this = this;
|
|
2457
|
-
return (0, exports.AccountsApiFp)(this.configuration).
|
|
1920
|
+
return (0, exports.AccountsApiFp)(this.configuration).patchSetTcxWizardCname(patchSetTcxWizardCnameRequest, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
2458
1921
|
};
|
|
2459
1922
|
/**
|
|
2460
1923
|
* Update Account Password
|
|
@@ -2533,17 +1996,6 @@ var AccountsApi = /** @class */ (function (_super) {
|
|
|
2533
1996
|
var _this = this;
|
|
2534
1997
|
return (0, exports.AccountsApiFp)(this.configuration).postSendPasswordReset(email, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
2535
1998
|
};
|
|
2536
|
-
/**
|
|
2537
|
-
* Send Account Welcome Email
|
|
2538
|
-
* @param {string} id Xero ID
|
|
2539
|
-
* @param {PostSendWelcomeEmailRequest} [postSendWelcomeEmailRequest] Email Request
|
|
2540
|
-
* @param {*} [options] Override http request option.
|
|
2541
|
-
* @throws {RequiredError}
|
|
2542
|
-
*/
|
|
2543
|
-
AccountsApi.prototype.postSendWelcomeEmail = function (id, postSendWelcomeEmailRequest, options) {
|
|
2544
|
-
var _this = this;
|
|
2545
|
-
return (0, exports.AccountsApiFp)(this.configuration).postSendWelcomeEmail(id, postSendWelcomeEmailRequest, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
2546
|
-
};
|
|
2547
1999
|
/**
|
|
2548
2000
|
* Submit reseller application
|
|
2549
2001
|
* @summary Submit reseller application
|
|
@@ -2569,39 +2021,9 @@ var AccountsApi = /** @class */ (function (_super) {
|
|
|
2569
2021
|
var _this = this;
|
|
2570
2022
|
return (0, exports.AccountsApiFp)(this.configuration).putUpdateAccountContact(email, accountContactRequestModel, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
2571
2023
|
};
|
|
2572
|
-
/**
|
|
2573
|
-
* Update Account Billing Address
|
|
2574
|
-
* @param {string} id Xero ID
|
|
2575
|
-
* @param {AddressDTO} [addressDTO] Updated Billing Address
|
|
2576
|
-
* @param {*} [options] Override http request option.
|
|
2577
|
-
* @throws {RequiredError}
|
|
2578
|
-
*/
|
|
2579
|
-
AccountsApi.prototype.putUpdateBillingAddress = function (id, addressDTO, options) {
|
|
2580
|
-
var _this = this;
|
|
2581
|
-
return (0, exports.AccountsApiFp)(this.configuration).putUpdateBillingAddress(id, addressDTO, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
2582
|
-
};
|
|
2583
|
-
/**
|
|
2584
|
-
* Update Account Shipping Address
|
|
2585
|
-
* @param {string} id Xero ID
|
|
2586
|
-
* @param {AddressDTO} [addressDTO] Updated Shipping Address
|
|
2587
|
-
* @param {*} [options] Override http request option.
|
|
2588
|
-
* @throws {RequiredError}
|
|
2589
|
-
*/
|
|
2590
|
-
AccountsApi.prototype.putUpdateShippingAddress = function (id, addressDTO, options) {
|
|
2591
|
-
var _this = this;
|
|
2592
|
-
return (0, exports.AccountsApiFp)(this.configuration).putUpdateShippingAddress(id, addressDTO, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
2593
|
-
};
|
|
2594
2024
|
return AccountsApi;
|
|
2595
2025
|
}(base_1.BaseAPI));
|
|
2596
2026
|
exports.AccountsApi = AccountsApi;
|
|
2597
|
-
exports.PatchSetPortalAccessStateEnum = {
|
|
2598
|
-
Enable: 'enable',
|
|
2599
|
-
Disable: 'disable'
|
|
2600
|
-
};
|
|
2601
|
-
exports.PatchSetPrizePromoStateEnum = {
|
|
2602
|
-
Enable: 'enable',
|
|
2603
|
-
Disable: 'disable'
|
|
2604
|
-
};
|
|
2605
2027
|
/**
|
|
2606
2028
|
* CRMApi - axios parameter creator
|
|
2607
2029
|
*/
|
|
@@ -5871,6 +5293,49 @@ var Class3CXInstallationsApiAxiosParamCreator = function (configuration) {
|
|
|
5871
5293
|
});
|
|
5872
5294
|
});
|
|
5873
5295
|
},
|
|
5296
|
+
/**
|
|
5297
|
+
* Change instance owner
|
|
5298
|
+
* @summary Change instance owner
|
|
5299
|
+
* @param {string} instanceId Instance ID
|
|
5300
|
+
* @param {number} customerId Customer ID
|
|
5301
|
+
* @param {*} [options] Override http request option.
|
|
5302
|
+
* @throws {RequiredError}
|
|
5303
|
+
*/
|
|
5304
|
+
patchChangeInstanceOwner: function (instanceId_1, customerId_1) {
|
|
5305
|
+
var args_1 = [];
|
|
5306
|
+
for (var _i = 2; _i < arguments.length; _i++) {
|
|
5307
|
+
args_1[_i - 2] = arguments[_i];
|
|
5308
|
+
}
|
|
5309
|
+
return __awaiter(_this, __spreadArray([instanceId_1, customerId_1], args_1, true), void 0, function (instanceId, customerId, options) {
|
|
5310
|
+
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
5311
|
+
if (options === void 0) { options = {}; }
|
|
5312
|
+
return __generator(this, function (_a) {
|
|
5313
|
+
// verify required parameter 'instanceId' is not null or undefined
|
|
5314
|
+
(0, common_1.assertParamExists)('patchChangeInstanceOwner', 'instanceId', instanceId);
|
|
5315
|
+
// verify required parameter 'customerId' is not null or undefined
|
|
5316
|
+
(0, common_1.assertParamExists)('patchChangeInstanceOwner', 'customerId', customerId);
|
|
5317
|
+
localVarPath = "/tcx/installations/{instance_id}/owner"
|
|
5318
|
+
.replace("{".concat("instance_id", "}"), encodeURIComponent(String(instanceId)));
|
|
5319
|
+
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
5320
|
+
if (configuration) {
|
|
5321
|
+
baseOptions = configuration.baseOptions;
|
|
5322
|
+
}
|
|
5323
|
+
localVarRequestOptions = __assign(__assign({ method: 'PATCH' }, baseOptions), options);
|
|
5324
|
+
localVarHeaderParameter = {};
|
|
5325
|
+
localVarQueryParameter = {};
|
|
5326
|
+
if (customerId !== undefined) {
|
|
5327
|
+
localVarQueryParameter['customer_id'] = customerId;
|
|
5328
|
+
}
|
|
5329
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
5330
|
+
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
5331
|
+
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
5332
|
+
return [2 /*return*/, {
|
|
5333
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
5334
|
+
options: localVarRequestOptions,
|
|
5335
|
+
}];
|
|
5336
|
+
});
|
|
5337
|
+
});
|
|
5338
|
+
},
|
|
5874
5339
|
/**
|
|
5875
5340
|
* Update 3CX Instance Auto Failover
|
|
5876
5341
|
* @summary Update 3CX Instance Auto Failover
|
|
@@ -6049,7 +5514,7 @@ var Class3CXInstallationsApiAxiosParamCreator = function (configuration) {
|
|
|
6049
5514
|
* @summary Extend additional disk on 3CX Instance
|
|
6050
5515
|
* @param {string} instanceId Instance ID
|
|
6051
5516
|
* @param {number} gigabytes Disk Space (GB)
|
|
6052
|
-
* @param {string} schedule Scheduled Task (Date & Time)
|
|
5517
|
+
* @param {string} [schedule] Scheduled Task (Date & Time)
|
|
6053
5518
|
* @param {*} [options] Override http request option.
|
|
6054
5519
|
* @throws {RequiredError}
|
|
6055
5520
|
*/
|
|
@@ -6066,8 +5531,6 @@ var Class3CXInstallationsApiAxiosParamCreator = function (configuration) {
|
|
|
6066
5531
|
(0, common_1.assertParamExists)('postExtendDisk', 'instanceId', instanceId);
|
|
6067
5532
|
// verify required parameter 'gigabytes' is not null or undefined
|
|
6068
5533
|
(0, common_1.assertParamExists)('postExtendDisk', 'gigabytes', gigabytes);
|
|
6069
|
-
// verify required parameter 'schedule' is not null or undefined
|
|
6070
|
-
(0, common_1.assertParamExists)('postExtendDisk', 'schedule', schedule);
|
|
6071
5534
|
localVarPath = "/tcx/installations/{instance_id}/disk/extend"
|
|
6072
5535
|
.replace("{".concat("instance_id", "}"), encodeURIComponent(String(instanceId)));
|
|
6073
5536
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
@@ -6137,25 +5600,25 @@ var Class3CXInstallationsApiAxiosParamCreator = function (configuration) {
|
|
|
6137
5600
|
});
|
|
6138
5601
|
},
|
|
6139
5602
|
/**
|
|
6140
|
-
*
|
|
6141
|
-
* @summary
|
|
6142
|
-
* @param {
|
|
5603
|
+
* Install 3CX SBC
|
|
5604
|
+
* @summary Install 3CX SBC
|
|
5605
|
+
* @param {number} sbcId SBC ID
|
|
6143
5606
|
* @param {*} [options] Override http request option.
|
|
6144
5607
|
* @throws {RequiredError}
|
|
6145
5608
|
*/
|
|
6146
|
-
|
|
5609
|
+
postInstallTcxSbc: function (sbcId_1) {
|
|
6147
5610
|
var args_1 = [];
|
|
6148
5611
|
for (var _i = 1; _i < arguments.length; _i++) {
|
|
6149
5612
|
args_1[_i - 1] = arguments[_i];
|
|
6150
5613
|
}
|
|
6151
|
-
return __awaiter(_this, __spreadArray([
|
|
5614
|
+
return __awaiter(_this, __spreadArray([sbcId_1], args_1, true), void 0, function (sbcId, options) {
|
|
6152
5615
|
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
6153
5616
|
if (options === void 0) { options = {}; }
|
|
6154
5617
|
return __generator(this, function (_a) {
|
|
6155
|
-
// verify required parameter '
|
|
6156
|
-
(0, common_1.assertParamExists)('
|
|
6157
|
-
localVarPath = "/tcx/installations/{
|
|
6158
|
-
.replace("{".concat("
|
|
5618
|
+
// verify required parameter 'sbcId' is not null or undefined
|
|
5619
|
+
(0, common_1.assertParamExists)('postInstallTcxSbc', 'sbcId', sbcId);
|
|
5620
|
+
localVarPath = "/tcx/installations/sbcs/{sbc_id}/install"
|
|
5621
|
+
.replace("{".concat("sbc_id", "}"), encodeURIComponent(String(sbcId)));
|
|
6159
5622
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
6160
5623
|
if (configuration) {
|
|
6161
5624
|
baseOptions = configuration.baseOptions;
|
|
@@ -6163,6 +5626,7 @@ var Class3CXInstallationsApiAxiosParamCreator = function (configuration) {
|
|
|
6163
5626
|
localVarRequestOptions = __assign(__assign({ method: 'POST' }, baseOptions), options);
|
|
6164
5627
|
localVarHeaderParameter = {};
|
|
6165
5628
|
localVarQueryParameter = {};
|
|
5629
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
6166
5630
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
6167
5631
|
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
6168
5632
|
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
@@ -6174,25 +5638,62 @@ var Class3CXInstallationsApiAxiosParamCreator = function (configuration) {
|
|
|
6174
5638
|
});
|
|
6175
5639
|
},
|
|
6176
5640
|
/**
|
|
6177
|
-
*
|
|
6178
|
-
* @summary
|
|
5641
|
+
* Reboot 3CX Instance
|
|
5642
|
+
* @summary Reboot 3CX Instance
|
|
6179
5643
|
* @param {string} instanceId Instance ID
|
|
6180
|
-
* @param {PostResizeInstanceSizeEnum} size Instance Spec
|
|
6181
|
-
* @param {string} [schedule] Scheduled Task (Date & Time)
|
|
6182
5644
|
* @param {*} [options] Override http request option.
|
|
6183
5645
|
* @throws {RequiredError}
|
|
6184
5646
|
*/
|
|
6185
|
-
|
|
5647
|
+
postRebootInstance: function (instanceId_1) {
|
|
6186
5648
|
var args_1 = [];
|
|
6187
|
-
for (var _i =
|
|
6188
|
-
args_1[_i -
|
|
5649
|
+
for (var _i = 1; _i < arguments.length; _i++) {
|
|
5650
|
+
args_1[_i - 1] = arguments[_i];
|
|
6189
5651
|
}
|
|
6190
|
-
return __awaiter(_this, __spreadArray([instanceId_1
|
|
5652
|
+
return __awaiter(_this, __spreadArray([instanceId_1], args_1, true), void 0, function (instanceId, options) {
|
|
6191
5653
|
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
6192
5654
|
if (options === void 0) { options = {}; }
|
|
6193
5655
|
return __generator(this, function (_a) {
|
|
6194
5656
|
// verify required parameter 'instanceId' is not null or undefined
|
|
6195
|
-
(0, common_1.assertParamExists)('
|
|
5657
|
+
(0, common_1.assertParamExists)('postRebootInstance', 'instanceId', instanceId);
|
|
5658
|
+
localVarPath = "/tcx/installations/{instance_id}/reboot"
|
|
5659
|
+
.replace("{".concat("instance_id", "}"), encodeURIComponent(String(instanceId)));
|
|
5660
|
+
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
5661
|
+
if (configuration) {
|
|
5662
|
+
baseOptions = configuration.baseOptions;
|
|
5663
|
+
}
|
|
5664
|
+
localVarRequestOptions = __assign(__assign({ method: 'POST' }, baseOptions), options);
|
|
5665
|
+
localVarHeaderParameter = {};
|
|
5666
|
+
localVarQueryParameter = {};
|
|
5667
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
5668
|
+
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
5669
|
+
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
5670
|
+
return [2 /*return*/, {
|
|
5671
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
5672
|
+
options: localVarRequestOptions,
|
|
5673
|
+
}];
|
|
5674
|
+
});
|
|
5675
|
+
});
|
|
5676
|
+
},
|
|
5677
|
+
/**
|
|
5678
|
+
* Resize 3CX Instance
|
|
5679
|
+
* @summary Resize 3CX Instance
|
|
5680
|
+
* @param {string} instanceId Instance ID
|
|
5681
|
+
* @param {PostResizeInstanceSizeEnum} size Instance Spec
|
|
5682
|
+
* @param {string} [schedule] Scheduled Task (Date & Time)
|
|
5683
|
+
* @param {*} [options] Override http request option.
|
|
5684
|
+
* @throws {RequiredError}
|
|
5685
|
+
*/
|
|
5686
|
+
postResizeInstance: function (instanceId_1, size_1, schedule_1) {
|
|
5687
|
+
var args_1 = [];
|
|
5688
|
+
for (var _i = 3; _i < arguments.length; _i++) {
|
|
5689
|
+
args_1[_i - 3] = arguments[_i];
|
|
5690
|
+
}
|
|
5691
|
+
return __awaiter(_this, __spreadArray([instanceId_1, size_1, schedule_1], args_1, true), void 0, function (instanceId, size, schedule, options) {
|
|
5692
|
+
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
5693
|
+
if (options === void 0) { options = {}; }
|
|
5694
|
+
return __generator(this, function (_a) {
|
|
5695
|
+
// verify required parameter 'instanceId' is not null or undefined
|
|
5696
|
+
(0, common_1.assertParamExists)('postResizeInstance', 'instanceId', instanceId);
|
|
6196
5697
|
// verify required parameter 'size' is not null or undefined
|
|
6197
5698
|
(0, common_1.assertParamExists)('postResizeInstance', 'size', size);
|
|
6198
5699
|
localVarPath = "/tcx/installations/{instance_id}/resize"
|
|
@@ -6220,6 +5721,88 @@ var Class3CXInstallationsApiAxiosParamCreator = function (configuration) {
|
|
|
6220
5721
|
});
|
|
6221
5722
|
});
|
|
6222
5723
|
},
|
|
5724
|
+
/**
|
|
5725
|
+
* Restart 3CX Services
|
|
5726
|
+
* @summary Restart 3CX Services
|
|
5727
|
+
* @param {string} instanceId Instance ID
|
|
5728
|
+
* @param {string} [schedule] Scheduled Task (Date & Time)
|
|
5729
|
+
* @param {*} [options] Override http request option.
|
|
5730
|
+
* @throws {RequiredError}
|
|
5731
|
+
*/
|
|
5732
|
+
postRestartServices: function (instanceId_1, schedule_1) {
|
|
5733
|
+
var args_1 = [];
|
|
5734
|
+
for (var _i = 2; _i < arguments.length; _i++) {
|
|
5735
|
+
args_1[_i - 2] = arguments[_i];
|
|
5736
|
+
}
|
|
5737
|
+
return __awaiter(_this, __spreadArray([instanceId_1, schedule_1], args_1, true), void 0, function (instanceId, schedule, options) {
|
|
5738
|
+
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
5739
|
+
if (options === void 0) { options = {}; }
|
|
5740
|
+
return __generator(this, function (_a) {
|
|
5741
|
+
// verify required parameter 'instanceId' is not null or undefined
|
|
5742
|
+
(0, common_1.assertParamExists)('postRestartServices', 'instanceId', instanceId);
|
|
5743
|
+
localVarPath = "/tcx/installations/{instance_id}/services/restart"
|
|
5744
|
+
.replace("{".concat("instance_id", "}"), encodeURIComponent(String(instanceId)));
|
|
5745
|
+
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
5746
|
+
if (configuration) {
|
|
5747
|
+
baseOptions = configuration.baseOptions;
|
|
5748
|
+
}
|
|
5749
|
+
localVarRequestOptions = __assign(__assign({ method: 'POST' }, baseOptions), options);
|
|
5750
|
+
localVarHeaderParameter = {};
|
|
5751
|
+
localVarQueryParameter = {};
|
|
5752
|
+
if (schedule !== undefined) {
|
|
5753
|
+
localVarQueryParameter['schedule'] = schedule;
|
|
5754
|
+
}
|
|
5755
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
5756
|
+
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
5757
|
+
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
5758
|
+
return [2 /*return*/, {
|
|
5759
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
5760
|
+
options: localVarRequestOptions,
|
|
5761
|
+
}];
|
|
5762
|
+
});
|
|
5763
|
+
});
|
|
5764
|
+
},
|
|
5765
|
+
/**
|
|
5766
|
+
* Reboot Instance
|
|
5767
|
+
* @summary Reboot Instance
|
|
5768
|
+
* @param {string} instanceId Instance ID
|
|
5769
|
+
* @param {string} [schedule] Scheduled Task (Date & Time)
|
|
5770
|
+
* @param {*} [options] Override http request option.
|
|
5771
|
+
* @throws {RequiredError}
|
|
5772
|
+
*/
|
|
5773
|
+
postScheduledReboot: function (instanceId_1, schedule_1) {
|
|
5774
|
+
var args_1 = [];
|
|
5775
|
+
for (var _i = 2; _i < arguments.length; _i++) {
|
|
5776
|
+
args_1[_i - 2] = arguments[_i];
|
|
5777
|
+
}
|
|
5778
|
+
return __awaiter(_this, __spreadArray([instanceId_1, schedule_1], args_1, true), void 0, function (instanceId, schedule, options) {
|
|
5779
|
+
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
5780
|
+
if (options === void 0) { options = {}; }
|
|
5781
|
+
return __generator(this, function (_a) {
|
|
5782
|
+
// verify required parameter 'instanceId' is not null or undefined
|
|
5783
|
+
(0, common_1.assertParamExists)('postScheduledReboot', 'instanceId', instanceId);
|
|
5784
|
+
localVarPath = "/tcx/installations/{instance_id}/reboot/scheduled"
|
|
5785
|
+
.replace("{".concat("instance_id", "}"), encodeURIComponent(String(instanceId)));
|
|
5786
|
+
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
5787
|
+
if (configuration) {
|
|
5788
|
+
baseOptions = configuration.baseOptions;
|
|
5789
|
+
}
|
|
5790
|
+
localVarRequestOptions = __assign(__assign({ method: 'POST' }, baseOptions), options);
|
|
5791
|
+
localVarHeaderParameter = {};
|
|
5792
|
+
localVarQueryParameter = {};
|
|
5793
|
+
if (schedule !== undefined) {
|
|
5794
|
+
localVarQueryParameter['schedule'] = schedule;
|
|
5795
|
+
}
|
|
5796
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
5797
|
+
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
5798
|
+
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
5799
|
+
return [2 /*return*/, {
|
|
5800
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
5801
|
+
options: localVarRequestOptions,
|
|
5802
|
+
}];
|
|
5803
|
+
});
|
|
5804
|
+
});
|
|
5805
|
+
},
|
|
6223
5806
|
/**
|
|
6224
5807
|
* Suspend 3CX Instance
|
|
6225
5808
|
* @summary Suspend 3CX Instance
|
|
@@ -6261,6 +5844,43 @@ var Class3CXInstallationsApiAxiosParamCreator = function (configuration) {
|
|
|
6261
5844
|
});
|
|
6262
5845
|
});
|
|
6263
5846
|
},
|
|
5847
|
+
/**
|
|
5848
|
+
* Test 3CX Login Credentials
|
|
5849
|
+
* @summary Test 3CX Login Credentials
|
|
5850
|
+
* @param {string} instanceId Instance ID
|
|
5851
|
+
* @param {*} [options] Override http request option.
|
|
5852
|
+
* @throws {RequiredError}
|
|
5853
|
+
*/
|
|
5854
|
+
postTestLoginCredentials: function (instanceId_1) {
|
|
5855
|
+
var args_1 = [];
|
|
5856
|
+
for (var _i = 1; _i < arguments.length; _i++) {
|
|
5857
|
+
args_1[_i - 1] = arguments[_i];
|
|
5858
|
+
}
|
|
5859
|
+
return __awaiter(_this, __spreadArray([instanceId_1], args_1, true), void 0, function (instanceId, options) {
|
|
5860
|
+
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
5861
|
+
if (options === void 0) { options = {}; }
|
|
5862
|
+
return __generator(this, function (_a) {
|
|
5863
|
+
// verify required parameter 'instanceId' is not null or undefined
|
|
5864
|
+
(0, common_1.assertParamExists)('postTestLoginCredentials', 'instanceId', instanceId);
|
|
5865
|
+
localVarPath = "/tcx/installations/{instance_id}/tests/login"
|
|
5866
|
+
.replace("{".concat("instance_id", "}"), encodeURIComponent(String(instanceId)));
|
|
5867
|
+
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
5868
|
+
if (configuration) {
|
|
5869
|
+
baseOptions = configuration.baseOptions;
|
|
5870
|
+
}
|
|
5871
|
+
localVarRequestOptions = __assign(__assign({ method: 'POST' }, baseOptions), options);
|
|
5872
|
+
localVarHeaderParameter = {};
|
|
5873
|
+
localVarQueryParameter = {};
|
|
5874
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
5875
|
+
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
5876
|
+
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
5877
|
+
return [2 /*return*/, {
|
|
5878
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
5879
|
+
options: localVarRequestOptions,
|
|
5880
|
+
}];
|
|
5881
|
+
});
|
|
5882
|
+
});
|
|
5883
|
+
},
|
|
6264
5884
|
/**
|
|
6265
5885
|
* Unsuspend 3CX Instance
|
|
6266
5886
|
* @summary Unsuspend 3CX Instance
|
|
@@ -6341,6 +5961,47 @@ var Class3CXInstallationsApiAxiosParamCreator = function (configuration) {
|
|
|
6341
5961
|
});
|
|
6342
5962
|
});
|
|
6343
5963
|
},
|
|
5964
|
+
/**
|
|
5965
|
+
* Update 3CX Installation Details
|
|
5966
|
+
* @summary Update 3CX Installation Details
|
|
5967
|
+
* @param {number} wizardId Wizard ID
|
|
5968
|
+
* @param {InstallationDetailsDTO} [installationDetailsDTO] Installation Details
|
|
5969
|
+
* @param {*} [options] Override http request option.
|
|
5970
|
+
* @throws {RequiredError}
|
|
5971
|
+
*/
|
|
5972
|
+
putGetDetails: function (wizardId_1, installationDetailsDTO_1) {
|
|
5973
|
+
var args_1 = [];
|
|
5974
|
+
for (var _i = 2; _i < arguments.length; _i++) {
|
|
5975
|
+
args_1[_i - 2] = arguments[_i];
|
|
5976
|
+
}
|
|
5977
|
+
return __awaiter(_this, __spreadArray([wizardId_1, installationDetailsDTO_1], args_1, true), void 0, function (wizardId, installationDetailsDTO, options) {
|
|
5978
|
+
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
5979
|
+
if (options === void 0) { options = {}; }
|
|
5980
|
+
return __generator(this, function (_a) {
|
|
5981
|
+
// verify required parameter 'wizardId' is not null or undefined
|
|
5982
|
+
(0, common_1.assertParamExists)('putGetDetails', 'wizardId', wizardId);
|
|
5983
|
+
localVarPath = "/tcx/installations/{wizard_id}/details"
|
|
5984
|
+
.replace("{".concat("wizard_id", "}"), encodeURIComponent(String(wizardId)));
|
|
5985
|
+
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
5986
|
+
if (configuration) {
|
|
5987
|
+
baseOptions = configuration.baseOptions;
|
|
5988
|
+
}
|
|
5989
|
+
localVarRequestOptions = __assign(__assign({ method: 'PUT' }, baseOptions), options);
|
|
5990
|
+
localVarHeaderParameter = {};
|
|
5991
|
+
localVarQueryParameter = {};
|
|
5992
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
5993
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
5994
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
5995
|
+
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
5996
|
+
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
5997
|
+
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(installationDetailsDTO, localVarRequestOptions, configuration);
|
|
5998
|
+
return [2 /*return*/, {
|
|
5999
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
6000
|
+
options: localVarRequestOptions,
|
|
6001
|
+
}];
|
|
6002
|
+
});
|
|
6003
|
+
});
|
|
6004
|
+
},
|
|
6344
6005
|
};
|
|
6345
6006
|
};
|
|
6346
6007
|
exports.Class3CXInstallationsApiAxiosParamCreator = Class3CXInstallationsApiAxiosParamCreator;
|
|
@@ -6402,6 +6063,30 @@ var Class3CXInstallationsApiFp = function (configuration) {
|
|
|
6402
6063
|
});
|
|
6403
6064
|
});
|
|
6404
6065
|
},
|
|
6066
|
+
/**
|
|
6067
|
+
* Change instance owner
|
|
6068
|
+
* @summary Change instance owner
|
|
6069
|
+
* @param {string} instanceId Instance ID
|
|
6070
|
+
* @param {number} customerId Customer ID
|
|
6071
|
+
* @param {*} [options] Override http request option.
|
|
6072
|
+
* @throws {RequiredError}
|
|
6073
|
+
*/
|
|
6074
|
+
patchChangeInstanceOwner: function (instanceId, customerId, options) {
|
|
6075
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
6076
|
+
var localVarAxiosArgs, localVarOperationServerIndex, localVarOperationServerBasePath;
|
|
6077
|
+
var _a, _b, _c;
|
|
6078
|
+
return __generator(this, function (_d) {
|
|
6079
|
+
switch (_d.label) {
|
|
6080
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.patchChangeInstanceOwner(instanceId, customerId, options)];
|
|
6081
|
+
case 1:
|
|
6082
|
+
localVarAxiosArgs = _d.sent();
|
|
6083
|
+
localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
6084
|
+
localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['Class3CXInstallationsApi.patchChangeInstanceOwner']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
6085
|
+
return [2 /*return*/, function (axios, basePath) { return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath); }];
|
|
6086
|
+
}
|
|
6087
|
+
});
|
|
6088
|
+
});
|
|
6089
|
+
},
|
|
6405
6090
|
/**
|
|
6406
6091
|
* Update 3CX Instance Auto Failover
|
|
6407
6092
|
* @summary Update 3CX Instance Auto Failover
|
|
@@ -6503,7 +6188,7 @@ var Class3CXInstallationsApiFp = function (configuration) {
|
|
|
6503
6188
|
* @summary Extend additional disk on 3CX Instance
|
|
6504
6189
|
* @param {string} instanceId Instance ID
|
|
6505
6190
|
* @param {number} gigabytes Disk Space (GB)
|
|
6506
|
-
* @param {string} schedule Scheduled Task (Date & Time)
|
|
6191
|
+
* @param {string} [schedule] Scheduled Task (Date & Time)
|
|
6507
6192
|
* @param {*} [options] Override http request option.
|
|
6508
6193
|
* @throws {RequiredError}
|
|
6509
6194
|
*/
|
|
@@ -6547,6 +6232,29 @@ var Class3CXInstallationsApiFp = function (configuration) {
|
|
|
6547
6232
|
});
|
|
6548
6233
|
});
|
|
6549
6234
|
},
|
|
6235
|
+
/**
|
|
6236
|
+
* Install 3CX SBC
|
|
6237
|
+
* @summary Install 3CX SBC
|
|
6238
|
+
* @param {number} sbcId SBC ID
|
|
6239
|
+
* @param {*} [options] Override http request option.
|
|
6240
|
+
* @throws {RequiredError}
|
|
6241
|
+
*/
|
|
6242
|
+
postInstallTcxSbc: function (sbcId, options) {
|
|
6243
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
6244
|
+
var localVarAxiosArgs, localVarOperationServerIndex, localVarOperationServerBasePath;
|
|
6245
|
+
var _a, _b, _c;
|
|
6246
|
+
return __generator(this, function (_d) {
|
|
6247
|
+
switch (_d.label) {
|
|
6248
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.postInstallTcxSbc(sbcId, options)];
|
|
6249
|
+
case 1:
|
|
6250
|
+
localVarAxiosArgs = _d.sent();
|
|
6251
|
+
localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
6252
|
+
localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['Class3CXInstallationsApi.postInstallTcxSbc']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
6253
|
+
return [2 /*return*/, function (axios, basePath) { return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath); }];
|
|
6254
|
+
}
|
|
6255
|
+
});
|
|
6256
|
+
});
|
|
6257
|
+
},
|
|
6550
6258
|
/**
|
|
6551
6259
|
* Reboot 3CX Instance
|
|
6552
6260
|
* @summary Reboot 3CX Instance
|
|
@@ -6596,96 +6304,191 @@ var Class3CXInstallationsApiFp = function (configuration) {
|
|
|
6596
6304
|
});
|
|
6597
6305
|
},
|
|
6598
6306
|
/**
|
|
6599
|
-
*
|
|
6600
|
-
* @summary
|
|
6307
|
+
* Restart 3CX Services
|
|
6308
|
+
* @summary Restart 3CX Services
|
|
6601
6309
|
* @param {string} instanceId Instance ID
|
|
6602
6310
|
* @param {string} [schedule] Scheduled Task (Date & Time)
|
|
6603
6311
|
* @param {*} [options] Override http request option.
|
|
6604
6312
|
* @throws {RequiredError}
|
|
6605
6313
|
*/
|
|
6606
|
-
|
|
6314
|
+
postRestartServices: function (instanceId, schedule, options) {
|
|
6607
6315
|
return __awaiter(this, void 0, void 0, function () {
|
|
6608
6316
|
var localVarAxiosArgs, localVarOperationServerIndex, localVarOperationServerBasePath;
|
|
6609
6317
|
var _a, _b, _c;
|
|
6610
6318
|
return __generator(this, function (_d) {
|
|
6611
6319
|
switch (_d.label) {
|
|
6612
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.
|
|
6320
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.postRestartServices(instanceId, schedule, options)];
|
|
6613
6321
|
case 1:
|
|
6614
6322
|
localVarAxiosArgs = _d.sent();
|
|
6615
6323
|
localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
6616
|
-
localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['Class3CXInstallationsApi.
|
|
6324
|
+
localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['Class3CXInstallationsApi.postRestartServices']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
6617
6325
|
return [2 /*return*/, function (axios, basePath) { return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath); }];
|
|
6618
6326
|
}
|
|
6619
6327
|
});
|
|
6620
6328
|
});
|
|
6621
6329
|
},
|
|
6622
6330
|
/**
|
|
6623
|
-
*
|
|
6624
|
-
* @summary
|
|
6331
|
+
* Reboot Instance
|
|
6332
|
+
* @summary Reboot Instance
|
|
6625
6333
|
* @param {string} instanceId Instance ID
|
|
6334
|
+
* @param {string} [schedule] Scheduled Task (Date & Time)
|
|
6626
6335
|
* @param {*} [options] Override http request option.
|
|
6627
6336
|
* @throws {RequiredError}
|
|
6628
6337
|
*/
|
|
6629
|
-
|
|
6338
|
+
postScheduledReboot: function (instanceId, schedule, options) {
|
|
6630
6339
|
return __awaiter(this, void 0, void 0, function () {
|
|
6631
6340
|
var localVarAxiosArgs, localVarOperationServerIndex, localVarOperationServerBasePath;
|
|
6632
6341
|
var _a, _b, _c;
|
|
6633
6342
|
return __generator(this, function (_d) {
|
|
6634
6343
|
switch (_d.label) {
|
|
6635
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.
|
|
6344
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.postScheduledReboot(instanceId, schedule, options)];
|
|
6636
6345
|
case 1:
|
|
6637
6346
|
localVarAxiosArgs = _d.sent();
|
|
6638
6347
|
localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
6639
|
-
localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['Class3CXInstallationsApi.
|
|
6348
|
+
localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['Class3CXInstallationsApi.postScheduledReboot']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
6640
6349
|
return [2 /*return*/, function (axios, basePath) { return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath); }];
|
|
6641
6350
|
}
|
|
6642
6351
|
});
|
|
6643
6352
|
});
|
|
6644
6353
|
},
|
|
6645
6354
|
/**
|
|
6646
|
-
*
|
|
6647
|
-
* @summary
|
|
6355
|
+
* Suspend 3CX Instance
|
|
6356
|
+
* @summary Suspend 3CX Instance
|
|
6648
6357
|
* @param {string} instanceId Instance ID
|
|
6649
|
-
* @param {string} schedule Scheduled Task (Date & Time)
|
|
6358
|
+
* @param {string} [schedule] Scheduled Task (Date & Time)
|
|
6650
6359
|
* @param {*} [options] Override http request option.
|
|
6651
6360
|
* @throws {RequiredError}
|
|
6652
6361
|
*/
|
|
6653
|
-
|
|
6362
|
+
postSuspendInstance: function (instanceId, schedule, options) {
|
|
6654
6363
|
return __awaiter(this, void 0, void 0, function () {
|
|
6655
6364
|
var localVarAxiosArgs, localVarOperationServerIndex, localVarOperationServerBasePath;
|
|
6656
6365
|
var _a, _b, _c;
|
|
6657
6366
|
return __generator(this, function (_d) {
|
|
6658
6367
|
switch (_d.label) {
|
|
6659
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.
|
|
6368
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.postSuspendInstance(instanceId, schedule, options)];
|
|
6660
6369
|
case 1:
|
|
6661
6370
|
localVarAxiosArgs = _d.sent();
|
|
6662
6371
|
localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
6663
|
-
localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['Class3CXInstallationsApi.
|
|
6372
|
+
localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['Class3CXInstallationsApi.postSuspendInstance']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
6664
6373
|
return [2 /*return*/, function (axios, basePath) { return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath); }];
|
|
6665
6374
|
}
|
|
6666
6375
|
});
|
|
6667
6376
|
});
|
|
6668
6377
|
},
|
|
6669
|
-
};
|
|
6670
|
-
};
|
|
6671
|
-
exports.Class3CXInstallationsApiFp = Class3CXInstallationsApiFp;
|
|
6672
|
-
/**
|
|
6673
|
-
* Class3CXInstallationsApi - factory interface
|
|
6674
|
-
*/
|
|
6675
|
-
var Class3CXInstallationsApiFactory = function (configuration, basePath, axios) {
|
|
6676
|
-
var localVarFp = (0, exports.Class3CXInstallationsApiFp)(configuration);
|
|
6677
|
-
return {
|
|
6678
6378
|
/**
|
|
6679
|
-
*
|
|
6680
|
-
* @summary
|
|
6681
|
-
* @param {
|
|
6379
|
+
* Test 3CX Login Credentials
|
|
6380
|
+
* @summary Test 3CX Login Credentials
|
|
6381
|
+
* @param {string} instanceId Instance ID
|
|
6682
6382
|
* @param {*} [options] Override http request option.
|
|
6683
6383
|
* @throws {RequiredError}
|
|
6684
6384
|
*/
|
|
6685
|
-
|
|
6686
|
-
return
|
|
6687
|
-
|
|
6688
|
-
|
|
6385
|
+
postTestLoginCredentials: function (instanceId, options) {
|
|
6386
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
6387
|
+
var localVarAxiosArgs, localVarOperationServerIndex, localVarOperationServerBasePath;
|
|
6388
|
+
var _a, _b, _c;
|
|
6389
|
+
return __generator(this, function (_d) {
|
|
6390
|
+
switch (_d.label) {
|
|
6391
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.postTestLoginCredentials(instanceId, options)];
|
|
6392
|
+
case 1:
|
|
6393
|
+
localVarAxiosArgs = _d.sent();
|
|
6394
|
+
localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
6395
|
+
localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['Class3CXInstallationsApi.postTestLoginCredentials']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
6396
|
+
return [2 /*return*/, function (axios, basePath) { return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath); }];
|
|
6397
|
+
}
|
|
6398
|
+
});
|
|
6399
|
+
});
|
|
6400
|
+
},
|
|
6401
|
+
/**
|
|
6402
|
+
* Unsuspend 3CX Instance
|
|
6403
|
+
* @summary Unsuspend 3CX Instance
|
|
6404
|
+
* @param {string} instanceId Instance ID
|
|
6405
|
+
* @param {*} [options] Override http request option.
|
|
6406
|
+
* @throws {RequiredError}
|
|
6407
|
+
*/
|
|
6408
|
+
postUnsuspendInstance: function (instanceId, options) {
|
|
6409
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
6410
|
+
var localVarAxiosArgs, localVarOperationServerIndex, localVarOperationServerBasePath;
|
|
6411
|
+
var _a, _b, _c;
|
|
6412
|
+
return __generator(this, function (_d) {
|
|
6413
|
+
switch (_d.label) {
|
|
6414
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.postUnsuspendInstance(instanceId, options)];
|
|
6415
|
+
case 1:
|
|
6416
|
+
localVarAxiosArgs = _d.sent();
|
|
6417
|
+
localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
6418
|
+
localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['Class3CXInstallationsApi.postUnsuspendInstance']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
6419
|
+
return [2 /*return*/, function (axios, basePath) { return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath); }];
|
|
6420
|
+
}
|
|
6421
|
+
});
|
|
6422
|
+
});
|
|
6423
|
+
},
|
|
6424
|
+
/**
|
|
6425
|
+
* Install OS update on 3CX Instance
|
|
6426
|
+
* @summary Install OS update on 3CX Instance
|
|
6427
|
+
* @param {string} instanceId Instance ID
|
|
6428
|
+
* @param {string} schedule Scheduled Task (Date & Time)
|
|
6429
|
+
* @param {*} [options] Override http request option.
|
|
6430
|
+
* @throws {RequiredError}
|
|
6431
|
+
*/
|
|
6432
|
+
postUpgradeDebian: function (instanceId, schedule, options) {
|
|
6433
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
6434
|
+
var localVarAxiosArgs, localVarOperationServerIndex, localVarOperationServerBasePath;
|
|
6435
|
+
var _a, _b, _c;
|
|
6436
|
+
return __generator(this, function (_d) {
|
|
6437
|
+
switch (_d.label) {
|
|
6438
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.postUpgradeDebian(instanceId, schedule, options)];
|
|
6439
|
+
case 1:
|
|
6440
|
+
localVarAxiosArgs = _d.sent();
|
|
6441
|
+
localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
6442
|
+
localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['Class3CXInstallationsApi.postUpgradeDebian']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
6443
|
+
return [2 /*return*/, function (axios, basePath) { return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath); }];
|
|
6444
|
+
}
|
|
6445
|
+
});
|
|
6446
|
+
});
|
|
6447
|
+
},
|
|
6448
|
+
/**
|
|
6449
|
+
* Update 3CX Installation Details
|
|
6450
|
+
* @summary Update 3CX Installation Details
|
|
6451
|
+
* @param {number} wizardId Wizard ID
|
|
6452
|
+
* @param {InstallationDetailsDTO} [installationDetailsDTO] Installation Details
|
|
6453
|
+
* @param {*} [options] Override http request option.
|
|
6454
|
+
* @throws {RequiredError}
|
|
6455
|
+
*/
|
|
6456
|
+
putGetDetails: function (wizardId, installationDetailsDTO, options) {
|
|
6457
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
6458
|
+
var localVarAxiosArgs, localVarOperationServerIndex, localVarOperationServerBasePath;
|
|
6459
|
+
var _a, _b, _c;
|
|
6460
|
+
return __generator(this, function (_d) {
|
|
6461
|
+
switch (_d.label) {
|
|
6462
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.putGetDetails(wizardId, installationDetailsDTO, options)];
|
|
6463
|
+
case 1:
|
|
6464
|
+
localVarAxiosArgs = _d.sent();
|
|
6465
|
+
localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
6466
|
+
localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['Class3CXInstallationsApi.putGetDetails']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
6467
|
+
return [2 /*return*/, function (axios, basePath) { return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath); }];
|
|
6468
|
+
}
|
|
6469
|
+
});
|
|
6470
|
+
});
|
|
6471
|
+
},
|
|
6472
|
+
};
|
|
6473
|
+
};
|
|
6474
|
+
exports.Class3CXInstallationsApiFp = Class3CXInstallationsApiFp;
|
|
6475
|
+
/**
|
|
6476
|
+
* Class3CXInstallationsApi - factory interface
|
|
6477
|
+
*/
|
|
6478
|
+
var Class3CXInstallationsApiFactory = function (configuration, basePath, axios) {
|
|
6479
|
+
var localVarFp = (0, exports.Class3CXInstallationsApiFp)(configuration);
|
|
6480
|
+
return {
|
|
6481
|
+
/**
|
|
6482
|
+
* Get 3CX Installation Details
|
|
6483
|
+
* @summary Get 3CX Installation Details
|
|
6484
|
+
* @param {number} wizardId Wizard ID
|
|
6485
|
+
* @param {*} [options] Override http request option.
|
|
6486
|
+
* @throws {RequiredError}
|
|
6487
|
+
*/
|
|
6488
|
+
getGetDetails: function (wizardId, options) {
|
|
6489
|
+
return localVarFp.getGetDetails(wizardId, options).then(function (request) { return request(axios, basePath); });
|
|
6490
|
+
},
|
|
6491
|
+
/**
|
|
6689
6492
|
* Get 3CX Installations
|
|
6690
6493
|
* @summary Get 3CX Installations
|
|
6691
6494
|
* @param {number} [pageSize] Number Of Results
|
|
@@ -6701,6 +6504,17 @@ var Class3CXInstallationsApiFactory = function (configuration, basePath, axios)
|
|
|
6701
6504
|
getGetInstallations: function (pageSize, page, customerId, search, status, hosting, installType, options) {
|
|
6702
6505
|
return localVarFp.getGetInstallations(pageSize, page, customerId, search, status, hosting, installType, options).then(function (request) { return request(axios, basePath); });
|
|
6703
6506
|
},
|
|
6507
|
+
/**
|
|
6508
|
+
* Change instance owner
|
|
6509
|
+
* @summary Change instance owner
|
|
6510
|
+
* @param {string} instanceId Instance ID
|
|
6511
|
+
* @param {number} customerId Customer ID
|
|
6512
|
+
* @param {*} [options] Override http request option.
|
|
6513
|
+
* @throws {RequiredError}
|
|
6514
|
+
*/
|
|
6515
|
+
patchChangeInstanceOwner: function (instanceId, customerId, options) {
|
|
6516
|
+
return localVarFp.patchChangeInstanceOwner(instanceId, customerId, options).then(function (request) { return request(axios, basePath); });
|
|
6517
|
+
},
|
|
6704
6518
|
/**
|
|
6705
6519
|
* Update 3CX Instance Auto Failover
|
|
6706
6520
|
* @summary Update 3CX Instance Auto Failover
|
|
@@ -6750,7 +6564,7 @@ var Class3CXInstallationsApiFactory = function (configuration, basePath, axios)
|
|
|
6750
6564
|
* @summary Extend additional disk on 3CX Instance
|
|
6751
6565
|
* @param {string} instanceId Instance ID
|
|
6752
6566
|
* @param {number} gigabytes Disk Space (GB)
|
|
6753
|
-
* @param {string} schedule Scheduled Task (Date & Time)
|
|
6567
|
+
* @param {string} [schedule] Scheduled Task (Date & Time)
|
|
6754
6568
|
* @param {*} [options] Override http request option.
|
|
6755
6569
|
* @throws {RequiredError}
|
|
6756
6570
|
*/
|
|
@@ -6768,6 +6582,16 @@ var Class3CXInstallationsApiFactory = function (configuration, basePath, axios)
|
|
|
6768
6582
|
postFailoverInstance: function (instanceId, type, options) {
|
|
6769
6583
|
return localVarFp.postFailoverInstance(instanceId, type, options).then(function (request) { return request(axios, basePath); });
|
|
6770
6584
|
},
|
|
6585
|
+
/**
|
|
6586
|
+
* Install 3CX SBC
|
|
6587
|
+
* @summary Install 3CX SBC
|
|
6588
|
+
* @param {number} sbcId SBC ID
|
|
6589
|
+
* @param {*} [options] Override http request option.
|
|
6590
|
+
* @throws {RequiredError}
|
|
6591
|
+
*/
|
|
6592
|
+
postInstallTcxSbc: function (sbcId, options) {
|
|
6593
|
+
return localVarFp.postInstallTcxSbc(sbcId, options).then(function (request) { return request(axios, basePath); });
|
|
6594
|
+
},
|
|
6771
6595
|
/**
|
|
6772
6596
|
* Reboot 3CX Instance
|
|
6773
6597
|
* @summary Reboot 3CX Instance
|
|
@@ -6790,6 +6614,28 @@ var Class3CXInstallationsApiFactory = function (configuration, basePath, axios)
|
|
|
6790
6614
|
postResizeInstance: function (instanceId, size, schedule, options) {
|
|
6791
6615
|
return localVarFp.postResizeInstance(instanceId, size, schedule, options).then(function (request) { return request(axios, basePath); });
|
|
6792
6616
|
},
|
|
6617
|
+
/**
|
|
6618
|
+
* Restart 3CX Services
|
|
6619
|
+
* @summary Restart 3CX Services
|
|
6620
|
+
* @param {string} instanceId Instance ID
|
|
6621
|
+
* @param {string} [schedule] Scheduled Task (Date & Time)
|
|
6622
|
+
* @param {*} [options] Override http request option.
|
|
6623
|
+
* @throws {RequiredError}
|
|
6624
|
+
*/
|
|
6625
|
+
postRestartServices: function (instanceId, schedule, options) {
|
|
6626
|
+
return localVarFp.postRestartServices(instanceId, schedule, options).then(function (request) { return request(axios, basePath); });
|
|
6627
|
+
},
|
|
6628
|
+
/**
|
|
6629
|
+
* Reboot Instance
|
|
6630
|
+
* @summary Reboot Instance
|
|
6631
|
+
* @param {string} instanceId Instance ID
|
|
6632
|
+
* @param {string} [schedule] Scheduled Task (Date & Time)
|
|
6633
|
+
* @param {*} [options] Override http request option.
|
|
6634
|
+
* @throws {RequiredError}
|
|
6635
|
+
*/
|
|
6636
|
+
postScheduledReboot: function (instanceId, schedule, options) {
|
|
6637
|
+
return localVarFp.postScheduledReboot(instanceId, schedule, options).then(function (request) { return request(axios, basePath); });
|
|
6638
|
+
},
|
|
6793
6639
|
/**
|
|
6794
6640
|
* Suspend 3CX Instance
|
|
6795
6641
|
* @summary Suspend 3CX Instance
|
|
@@ -6801,6 +6647,16 @@ var Class3CXInstallationsApiFactory = function (configuration, basePath, axios)
|
|
|
6801
6647
|
postSuspendInstance: function (instanceId, schedule, options) {
|
|
6802
6648
|
return localVarFp.postSuspendInstance(instanceId, schedule, options).then(function (request) { return request(axios, basePath); });
|
|
6803
6649
|
},
|
|
6650
|
+
/**
|
|
6651
|
+
* Test 3CX Login Credentials
|
|
6652
|
+
* @summary Test 3CX Login Credentials
|
|
6653
|
+
* @param {string} instanceId Instance ID
|
|
6654
|
+
* @param {*} [options] Override http request option.
|
|
6655
|
+
* @throws {RequiredError}
|
|
6656
|
+
*/
|
|
6657
|
+
postTestLoginCredentials: function (instanceId, options) {
|
|
6658
|
+
return localVarFp.postTestLoginCredentials(instanceId, options).then(function (request) { return request(axios, basePath); });
|
|
6659
|
+
},
|
|
6804
6660
|
/**
|
|
6805
6661
|
* Unsuspend 3CX Instance
|
|
6806
6662
|
* @summary Unsuspend 3CX Instance
|
|
@@ -6822,6 +6678,17 @@ var Class3CXInstallationsApiFactory = function (configuration, basePath, axios)
|
|
|
6822
6678
|
postUpgradeDebian: function (instanceId, schedule, options) {
|
|
6823
6679
|
return localVarFp.postUpgradeDebian(instanceId, schedule, options).then(function (request) { return request(axios, basePath); });
|
|
6824
6680
|
},
|
|
6681
|
+
/**
|
|
6682
|
+
* Update 3CX Installation Details
|
|
6683
|
+
* @summary Update 3CX Installation Details
|
|
6684
|
+
* @param {number} wizardId Wizard ID
|
|
6685
|
+
* @param {InstallationDetailsDTO} [installationDetailsDTO] Installation Details
|
|
6686
|
+
* @param {*} [options] Override http request option.
|
|
6687
|
+
* @throws {RequiredError}
|
|
6688
|
+
*/
|
|
6689
|
+
putGetDetails: function (wizardId, installationDetailsDTO, options) {
|
|
6690
|
+
return localVarFp.putGetDetails(wizardId, installationDetailsDTO, options).then(function (request) { return request(axios, basePath); });
|
|
6691
|
+
},
|
|
6825
6692
|
};
|
|
6826
6693
|
};
|
|
6827
6694
|
exports.Class3CXInstallationsApiFactory = Class3CXInstallationsApiFactory;
|
|
@@ -6861,6 +6728,18 @@ var Class3CXInstallationsApi = /** @class */ (function (_super) {
|
|
|
6861
6728
|
var _this = this;
|
|
6862
6729
|
return (0, exports.Class3CXInstallationsApiFp)(this.configuration).getGetInstallations(pageSize, page, customerId, search, status, hosting, installType, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
6863
6730
|
};
|
|
6731
|
+
/**
|
|
6732
|
+
* Change instance owner
|
|
6733
|
+
* @summary Change instance owner
|
|
6734
|
+
* @param {string} instanceId Instance ID
|
|
6735
|
+
* @param {number} customerId Customer ID
|
|
6736
|
+
* @param {*} [options] Override http request option.
|
|
6737
|
+
* @throws {RequiredError}
|
|
6738
|
+
*/
|
|
6739
|
+
Class3CXInstallationsApi.prototype.patchChangeInstanceOwner = function (instanceId, customerId, options) {
|
|
6740
|
+
var _this = this;
|
|
6741
|
+
return (0, exports.Class3CXInstallationsApiFp)(this.configuration).patchChangeInstanceOwner(instanceId, customerId, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
6742
|
+
};
|
|
6864
6743
|
/**
|
|
6865
6744
|
* Update 3CX Instance Auto Failover
|
|
6866
6745
|
* @summary Update 3CX Instance Auto Failover
|
|
@@ -6914,7 +6793,7 @@ var Class3CXInstallationsApi = /** @class */ (function (_super) {
|
|
|
6914
6793
|
* @summary Extend additional disk on 3CX Instance
|
|
6915
6794
|
* @param {string} instanceId Instance ID
|
|
6916
6795
|
* @param {number} gigabytes Disk Space (GB)
|
|
6917
|
-
* @param {string} schedule Scheduled Task (Date & Time)
|
|
6796
|
+
* @param {string} [schedule] Scheduled Task (Date & Time)
|
|
6918
6797
|
* @param {*} [options] Override http request option.
|
|
6919
6798
|
* @throws {RequiredError}
|
|
6920
6799
|
*/
|
|
@@ -6934,6 +6813,17 @@ var Class3CXInstallationsApi = /** @class */ (function (_super) {
|
|
|
6934
6813
|
var _this = this;
|
|
6935
6814
|
return (0, exports.Class3CXInstallationsApiFp)(this.configuration).postFailoverInstance(instanceId, type, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
6936
6815
|
};
|
|
6816
|
+
/**
|
|
6817
|
+
* Install 3CX SBC
|
|
6818
|
+
* @summary Install 3CX SBC
|
|
6819
|
+
* @param {number} sbcId SBC ID
|
|
6820
|
+
* @param {*} [options] Override http request option.
|
|
6821
|
+
* @throws {RequiredError}
|
|
6822
|
+
*/
|
|
6823
|
+
Class3CXInstallationsApi.prototype.postInstallTcxSbc = function (sbcId, options) {
|
|
6824
|
+
var _this = this;
|
|
6825
|
+
return (0, exports.Class3CXInstallationsApiFp)(this.configuration).postInstallTcxSbc(sbcId, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
6826
|
+
};
|
|
6937
6827
|
/**
|
|
6938
6828
|
* Reboot 3CX Instance
|
|
6939
6829
|
* @summary Reboot 3CX Instance
|
|
@@ -6958,6 +6848,30 @@ var Class3CXInstallationsApi = /** @class */ (function (_super) {
|
|
|
6958
6848
|
var _this = this;
|
|
6959
6849
|
return (0, exports.Class3CXInstallationsApiFp)(this.configuration).postResizeInstance(instanceId, size, schedule, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
6960
6850
|
};
|
|
6851
|
+
/**
|
|
6852
|
+
* Restart 3CX Services
|
|
6853
|
+
* @summary Restart 3CX Services
|
|
6854
|
+
* @param {string} instanceId Instance ID
|
|
6855
|
+
* @param {string} [schedule] Scheduled Task (Date & Time)
|
|
6856
|
+
* @param {*} [options] Override http request option.
|
|
6857
|
+
* @throws {RequiredError}
|
|
6858
|
+
*/
|
|
6859
|
+
Class3CXInstallationsApi.prototype.postRestartServices = function (instanceId, schedule, options) {
|
|
6860
|
+
var _this = this;
|
|
6861
|
+
return (0, exports.Class3CXInstallationsApiFp)(this.configuration).postRestartServices(instanceId, schedule, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
6862
|
+
};
|
|
6863
|
+
/**
|
|
6864
|
+
* Reboot Instance
|
|
6865
|
+
* @summary Reboot Instance
|
|
6866
|
+
* @param {string} instanceId Instance ID
|
|
6867
|
+
* @param {string} [schedule] Scheduled Task (Date & Time)
|
|
6868
|
+
* @param {*} [options] Override http request option.
|
|
6869
|
+
* @throws {RequiredError}
|
|
6870
|
+
*/
|
|
6871
|
+
Class3CXInstallationsApi.prototype.postScheduledReboot = function (instanceId, schedule, options) {
|
|
6872
|
+
var _this = this;
|
|
6873
|
+
return (0, exports.Class3CXInstallationsApiFp)(this.configuration).postScheduledReboot(instanceId, schedule, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
6874
|
+
};
|
|
6961
6875
|
/**
|
|
6962
6876
|
* Suspend 3CX Instance
|
|
6963
6877
|
* @summary Suspend 3CX Instance
|
|
@@ -6970,6 +6884,17 @@ var Class3CXInstallationsApi = /** @class */ (function (_super) {
|
|
|
6970
6884
|
var _this = this;
|
|
6971
6885
|
return (0, exports.Class3CXInstallationsApiFp)(this.configuration).postSuspendInstance(instanceId, schedule, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
6972
6886
|
};
|
|
6887
|
+
/**
|
|
6888
|
+
* Test 3CX Login Credentials
|
|
6889
|
+
* @summary Test 3CX Login Credentials
|
|
6890
|
+
* @param {string} instanceId Instance ID
|
|
6891
|
+
* @param {*} [options] Override http request option.
|
|
6892
|
+
* @throws {RequiredError}
|
|
6893
|
+
*/
|
|
6894
|
+
Class3CXInstallationsApi.prototype.postTestLoginCredentials = function (instanceId, options) {
|
|
6895
|
+
var _this = this;
|
|
6896
|
+
return (0, exports.Class3CXInstallationsApiFp)(this.configuration).postTestLoginCredentials(instanceId, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
6897
|
+
};
|
|
6973
6898
|
/**
|
|
6974
6899
|
* Unsuspend 3CX Instance
|
|
6975
6900
|
* @summary Unsuspend 3CX Instance
|
|
@@ -6993,6 +6918,18 @@ var Class3CXInstallationsApi = /** @class */ (function (_super) {
|
|
|
6993
6918
|
var _this = this;
|
|
6994
6919
|
return (0, exports.Class3CXInstallationsApiFp)(this.configuration).postUpgradeDebian(instanceId, schedule, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
6995
6920
|
};
|
|
6921
|
+
/**
|
|
6922
|
+
* Update 3CX Installation Details
|
|
6923
|
+
* @summary Update 3CX Installation Details
|
|
6924
|
+
* @param {number} wizardId Wizard ID
|
|
6925
|
+
* @param {InstallationDetailsDTO} [installationDetailsDTO] Installation Details
|
|
6926
|
+
* @param {*} [options] Override http request option.
|
|
6927
|
+
* @throws {RequiredError}
|
|
6928
|
+
*/
|
|
6929
|
+
Class3CXInstallationsApi.prototype.putGetDetails = function (wizardId, installationDetailsDTO, options) {
|
|
6930
|
+
var _this = this;
|
|
6931
|
+
return (0, exports.Class3CXInstallationsApiFp)(this.configuration).putGetDetails(wizardId, installationDetailsDTO, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
6932
|
+
};
|
|
6996
6933
|
return Class3CXInstallationsApi;
|
|
6997
6934
|
}(base_1.BaseAPI));
|
|
6998
6935
|
exports.Class3CXInstallationsApi = Class3CXInstallationsApi;
|
|
@@ -7000,30 +6937,30 @@ exports.GetGetInstallationsStatusEnum = {
|
|
|
7000
6937
|
Completed: 'Completed',
|
|
7001
6938
|
Outstanding: 'Outstanding',
|
|
7002
6939
|
Offline: 'Offline',
|
|
7003
|
-
FailedOver: 'Failed Over'
|
|
6940
|
+
FailedOver: 'Failed Over',
|
|
7004
6941
|
};
|
|
7005
6942
|
exports.GetGetInstallationsHostingEnum = {
|
|
7006
6943
|
Yellowgrid: 'yellowgrid',
|
|
7007
6944
|
MultiTenant: 'multi-tenant',
|
|
7008
6945
|
Onprem: 'onprem',
|
|
7009
|
-
All: 'all'
|
|
6946
|
+
All: 'all',
|
|
7010
6947
|
};
|
|
7011
6948
|
exports.GetGetInstallationsInstallTypeEnum = {
|
|
7012
6949
|
New: 'new',
|
|
7013
6950
|
Restore: 'restore',
|
|
7014
6951
|
Failover: 'failover',
|
|
7015
|
-
MultiTenant: 'multi-tenant'
|
|
6952
|
+
MultiTenant: 'multi-tenant',
|
|
7016
6953
|
};
|
|
7017
6954
|
exports.PostFailoverInstanceTypeEnum = {
|
|
7018
6955
|
Config: 'config',
|
|
7019
|
-
Image: 'image'
|
|
6956
|
+
Image: 'image',
|
|
7020
6957
|
};
|
|
7021
6958
|
exports.PostResizeInstanceSizeEnum = {
|
|
7022
6959
|
D24: 'd2-4',
|
|
7023
6960
|
D28: 'd2-8',
|
|
7024
6961
|
B230: 'b2-30',
|
|
7025
6962
|
S2vcpu4gb: 's-2vcpu-4gb',
|
|
7026
|
-
S4vcpu8gb: 's-4vcpu-8gb'
|
|
6963
|
+
S4vcpu8gb: 's-4vcpu-8gb',
|
|
7027
6964
|
};
|
|
7028
6965
|
/**
|
|
7029
6966
|
* Class3CXIntegrationsApi - axios parameter creator
|
|
@@ -7564,11 +7501,11 @@ var Class3CXIntegrationsApi = /** @class */ (function (_super) {
|
|
|
7564
7501
|
exports.Class3CXIntegrationsApi = Class3CXIntegrationsApi;
|
|
7565
7502
|
exports.GetGetPriceLicenceTypeEnum = {
|
|
7566
7503
|
Lite: 'lite',
|
|
7567
|
-
Pro: 'pro'
|
|
7504
|
+
Pro: 'pro',
|
|
7568
7505
|
};
|
|
7569
7506
|
exports.GetGetPriceSchoolTypeEnum = {
|
|
7570
7507
|
Primary: 'primary',
|
|
7571
|
-
Secondary: 'secondary'
|
|
7508
|
+
Secondary: 'secondary',
|
|
7572
7509
|
};
|
|
7573
7510
|
/**
|
|
7574
7511
|
* Class3CXMultiTenantApi - axios parameter creator
|
|
@@ -8289,7 +8226,7 @@ exports.GetGetTenantsStatusEnum = {
|
|
|
8289
8226
|
Completed: 'Completed',
|
|
8290
8227
|
Outstanding: 'Outstanding',
|
|
8291
8228
|
Offline: 'Offline',
|
|
8292
|
-
FailedOver: 'Failed Over'
|
|
8229
|
+
FailedOver: 'Failed Over',
|
|
8293
8230
|
};
|
|
8294
8231
|
/**
|
|
8295
8232
|
* MyPBXToolsApi - axios parameter creator
|
|
@@ -10335,7 +10272,7 @@ exports.PostAccessTokenGrantTypeEnum = {
|
|
|
10335
10272
|
AuthorizationCode: 'authorization_code',
|
|
10336
10273
|
MsAuth: 'ms_auth',
|
|
10337
10274
|
TokenExchange: 'token_exchange',
|
|
10338
|
-
Password: 'password'
|
|
10275
|
+
Password: 'password',
|
|
10339
10276
|
};
|
|
10340
10277
|
exports.PostAccessTokenScopeEnum = {
|
|
10341
10278
|
Star: '*',
|
|
@@ -10365,11 +10302,11 @@ exports.PostAccessTokenScopeEnum = {
|
|
|
10365
10302
|
TcxMtRead: 'tcx_mt.read',
|
|
10366
10303
|
TcxMtWrite: 'tcx_mt.write',
|
|
10367
10304
|
TicketsRead: 'tickets.read',
|
|
10368
|
-
TicketsWrite: 'tickets.write'
|
|
10305
|
+
TicketsWrite: 'tickets.write',
|
|
10369
10306
|
};
|
|
10370
10307
|
exports.PostAccessTokenTokenExchangeTypeEnum = {
|
|
10371
10308
|
TcxWizard: 'tcx_wizard',
|
|
10372
|
-
Portal: 'portal'
|
|
10309
|
+
Portal: 'portal',
|
|
10373
10310
|
};
|
|
10374
10311
|
exports.PostAuthoriseScopeEnum = {
|
|
10375
10312
|
Star: '*',
|
|
@@ -10399,7 +10336,7 @@ exports.PostAuthoriseScopeEnum = {
|
|
|
10399
10336
|
TcxMtRead: 'tcx_mt.read',
|
|
10400
10337
|
TcxMtWrite: 'tcx_mt.write',
|
|
10401
10338
|
TicketsRead: 'tickets.read',
|
|
10402
|
-
TicketsWrite: 'tickets.write'
|
|
10339
|
+
TicketsWrite: 'tickets.write',
|
|
10403
10340
|
};
|
|
10404
10341
|
/**
|
|
10405
10342
|
* OrdersApi - axios parameter creator
|
|
@@ -11034,6 +10971,43 @@ var OrdersApiAxiosParamCreator = function (configuration) {
|
|
|
11034
10971
|
});
|
|
11035
10972
|
});
|
|
11036
10973
|
},
|
|
10974
|
+
/**
|
|
10975
|
+
* Create an order via the legacy portal
|
|
10976
|
+
* @summary Create an order via the legacy portal
|
|
10977
|
+
* @param {OrderDTO} [orderDTO] Legacy Portal Order
|
|
10978
|
+
* @param {*} [options] Override http request option.
|
|
10979
|
+
* @throws {RequiredError}
|
|
10980
|
+
*/
|
|
10981
|
+
postCreatePortalOrderLegacy: function (orderDTO_1) {
|
|
10982
|
+
var args_1 = [];
|
|
10983
|
+
for (var _i = 1; _i < arguments.length; _i++) {
|
|
10984
|
+
args_1[_i - 1] = arguments[_i];
|
|
10985
|
+
}
|
|
10986
|
+
return __awaiter(_this, __spreadArray([orderDTO_1], args_1, true), void 0, function (orderDTO, options) {
|
|
10987
|
+
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
10988
|
+
if (options === void 0) { options = {}; }
|
|
10989
|
+
return __generator(this, function (_a) {
|
|
10990
|
+
localVarPath = "/orders/portal/legacy";
|
|
10991
|
+
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
10992
|
+
if (configuration) {
|
|
10993
|
+
baseOptions = configuration.baseOptions;
|
|
10994
|
+
}
|
|
10995
|
+
localVarRequestOptions = __assign(__assign({ method: 'POST' }, baseOptions), options);
|
|
10996
|
+
localVarHeaderParameter = {};
|
|
10997
|
+
localVarQueryParameter = {};
|
|
10998
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
10999
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
11000
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
11001
|
+
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
11002
|
+
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
11003
|
+
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(orderDTO, localVarRequestOptions, configuration);
|
|
11004
|
+
return [2 /*return*/, {
|
|
11005
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
11006
|
+
options: localVarRequestOptions,
|
|
11007
|
+
}];
|
|
11008
|
+
});
|
|
11009
|
+
});
|
|
11010
|
+
},
|
|
11037
11011
|
/**
|
|
11038
11012
|
* Create Shipment (Admin)
|
|
11039
11013
|
* @summary Create Shipment (Admin)
|
|
@@ -11209,6 +11183,48 @@ var OrdersApiAxiosParamCreator = function (configuration) {
|
|
|
11209
11183
|
});
|
|
11210
11184
|
});
|
|
11211
11185
|
},
|
|
11186
|
+
/**
|
|
11187
|
+
* Process 3CX Licences (Admin)
|
|
11188
|
+
* @summary Process 3CX Licences (Admin)
|
|
11189
|
+
* @param {number} id Order ID
|
|
11190
|
+
* @param {number} batchId Batch ID
|
|
11191
|
+
* @param {*} [options] Override http request option.
|
|
11192
|
+
* @throws {RequiredError}
|
|
11193
|
+
*/
|
|
11194
|
+
postProcessTcxLicences: function (id_1, batchId_1) {
|
|
11195
|
+
var args_1 = [];
|
|
11196
|
+
for (var _i = 2; _i < arguments.length; _i++) {
|
|
11197
|
+
args_1[_i - 2] = arguments[_i];
|
|
11198
|
+
}
|
|
11199
|
+
return __awaiter(_this, __spreadArray([id_1, batchId_1], args_1, true), void 0, function (id, batchId, options) {
|
|
11200
|
+
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
11201
|
+
if (options === void 0) { options = {}; }
|
|
11202
|
+
return __generator(this, function (_a) {
|
|
11203
|
+
// verify required parameter 'id' is not null or undefined
|
|
11204
|
+
(0, common_1.assertParamExists)('postProcessTcxLicences', 'id', id);
|
|
11205
|
+
// verify required parameter 'batchId' is not null or undefined
|
|
11206
|
+
(0, common_1.assertParamExists)('postProcessTcxLicences', 'batchId', batchId);
|
|
11207
|
+
localVarPath = "/admin/orders/{id}/batches/{batch_id}/licences/process"
|
|
11208
|
+
.replace("{".concat("id", "}"), encodeURIComponent(String(id)))
|
|
11209
|
+
.replace("{".concat("batch_id", "}"), encodeURIComponent(String(batchId)));
|
|
11210
|
+
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
11211
|
+
if (configuration) {
|
|
11212
|
+
baseOptions = configuration.baseOptions;
|
|
11213
|
+
}
|
|
11214
|
+
localVarRequestOptions = __assign(__assign({ method: 'POST' }, baseOptions), options);
|
|
11215
|
+
localVarHeaderParameter = {};
|
|
11216
|
+
localVarQueryParameter = {};
|
|
11217
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
11218
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
11219
|
+
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
11220
|
+
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
11221
|
+
return [2 /*return*/, {
|
|
11222
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
11223
|
+
options: localVarRequestOptions,
|
|
11224
|
+
}];
|
|
11225
|
+
});
|
|
11226
|
+
});
|
|
11227
|
+
},
|
|
11212
11228
|
/**
|
|
11213
11229
|
* Send Order Email
|
|
11214
11230
|
* @summary Send Order Email
|
|
@@ -12034,10 +12050,33 @@ var OrdersApiFp = function (configuration) {
|
|
|
12034
12050
|
});
|
|
12035
12051
|
},
|
|
12036
12052
|
/**
|
|
12037
|
-
* Create
|
|
12038
|
-
* @summary Create
|
|
12039
|
-
* @param {
|
|
12040
|
-
* @param {
|
|
12053
|
+
* Create an order via the legacy portal
|
|
12054
|
+
* @summary Create an order via the legacy portal
|
|
12055
|
+
* @param {OrderDTO} [orderDTO] Legacy Portal Order
|
|
12056
|
+
* @param {*} [options] Override http request option.
|
|
12057
|
+
* @throws {RequiredError}
|
|
12058
|
+
*/
|
|
12059
|
+
postCreatePortalOrderLegacy: function (orderDTO, options) {
|
|
12060
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
12061
|
+
var localVarAxiosArgs, localVarOperationServerIndex, localVarOperationServerBasePath;
|
|
12062
|
+
var _a, _b, _c;
|
|
12063
|
+
return __generator(this, function (_d) {
|
|
12064
|
+
switch (_d.label) {
|
|
12065
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.postCreatePortalOrderLegacy(orderDTO, options)];
|
|
12066
|
+
case 1:
|
|
12067
|
+
localVarAxiosArgs = _d.sent();
|
|
12068
|
+
localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
12069
|
+
localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['OrdersApi.postCreatePortalOrderLegacy']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
12070
|
+
return [2 /*return*/, function (axios, basePath) { return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath); }];
|
|
12071
|
+
}
|
|
12072
|
+
});
|
|
12073
|
+
});
|
|
12074
|
+
},
|
|
12075
|
+
/**
|
|
12076
|
+
* Create Shipment (Admin)
|
|
12077
|
+
* @summary Create Shipment (Admin)
|
|
12078
|
+
* @param {number} id Order ID
|
|
12079
|
+
* @param {number} batchId Batch ID
|
|
12041
12080
|
* @param {ShipmentRequestDTO} [shipmentRequestDTO] Shipment Request
|
|
12042
12081
|
* @param {*} [options] Override http request option.
|
|
12043
12082
|
* @throws {RequiredError}
|
|
@@ -12131,6 +12170,30 @@ var OrdersApiFp = function (configuration) {
|
|
|
12131
12170
|
});
|
|
12132
12171
|
});
|
|
12133
12172
|
},
|
|
12173
|
+
/**
|
|
12174
|
+
* Process 3CX Licences (Admin)
|
|
12175
|
+
* @summary Process 3CX Licences (Admin)
|
|
12176
|
+
* @param {number} id Order ID
|
|
12177
|
+
* @param {number} batchId Batch ID
|
|
12178
|
+
* @param {*} [options] Override http request option.
|
|
12179
|
+
* @throws {RequiredError}
|
|
12180
|
+
*/
|
|
12181
|
+
postProcessTcxLicences: function (id, batchId, options) {
|
|
12182
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
12183
|
+
var localVarAxiosArgs, localVarOperationServerIndex, localVarOperationServerBasePath;
|
|
12184
|
+
var _a, _b, _c;
|
|
12185
|
+
return __generator(this, function (_d) {
|
|
12186
|
+
switch (_d.label) {
|
|
12187
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.postProcessTcxLicences(id, batchId, options)];
|
|
12188
|
+
case 1:
|
|
12189
|
+
localVarAxiosArgs = _d.sent();
|
|
12190
|
+
localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
12191
|
+
localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['OrdersApi.postProcessTcxLicences']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
12192
|
+
return [2 /*return*/, function (axios, basePath) { return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath); }];
|
|
12193
|
+
}
|
|
12194
|
+
});
|
|
12195
|
+
});
|
|
12196
|
+
},
|
|
12134
12197
|
/**
|
|
12135
12198
|
* Send Order Email
|
|
12136
12199
|
* @summary Send Order Email
|
|
@@ -12554,6 +12617,16 @@ var OrdersApiFactory = function (configuration, basePath, axios) {
|
|
|
12554
12617
|
postCreateConsignment: function (id, shipmentId, shippingRequestDTO, options) {
|
|
12555
12618
|
return localVarFp.postCreateConsignment(id, shipmentId, shippingRequestDTO, options).then(function (request) { return request(axios, basePath); });
|
|
12556
12619
|
},
|
|
12620
|
+
/**
|
|
12621
|
+
* Create an order via the legacy portal
|
|
12622
|
+
* @summary Create an order via the legacy portal
|
|
12623
|
+
* @param {OrderDTO} [orderDTO] Legacy Portal Order
|
|
12624
|
+
* @param {*} [options] Override http request option.
|
|
12625
|
+
* @throws {RequiredError}
|
|
12626
|
+
*/
|
|
12627
|
+
postCreatePortalOrderLegacy: function (orderDTO, options) {
|
|
12628
|
+
return localVarFp.postCreatePortalOrderLegacy(orderDTO, options).then(function (request) { return request(axios, basePath); });
|
|
12629
|
+
},
|
|
12557
12630
|
/**
|
|
12558
12631
|
* Create Shipment (Admin)
|
|
12559
12632
|
* @summary Create Shipment (Admin)
|
|
@@ -12600,6 +12673,17 @@ var OrdersApiFactory = function (configuration, basePath, axios) {
|
|
|
12600
12673
|
postPrintShippingLabel: function (id, shipmentId, printer, options) {
|
|
12601
12674
|
return localVarFp.postPrintShippingLabel(id, shipmentId, printer, options).then(function (request) { return request(axios, basePath); });
|
|
12602
12675
|
},
|
|
12676
|
+
/**
|
|
12677
|
+
* Process 3CX Licences (Admin)
|
|
12678
|
+
* @summary Process 3CX Licences (Admin)
|
|
12679
|
+
* @param {number} id Order ID
|
|
12680
|
+
* @param {number} batchId Batch ID
|
|
12681
|
+
* @param {*} [options] Override http request option.
|
|
12682
|
+
* @throws {RequiredError}
|
|
12683
|
+
*/
|
|
12684
|
+
postProcessTcxLicences: function (id, batchId, options) {
|
|
12685
|
+
return localVarFp.postProcessTcxLicences(id, batchId, options).then(function (request) { return request(axios, basePath); });
|
|
12686
|
+
},
|
|
12603
12687
|
/**
|
|
12604
12688
|
* Send Order Email
|
|
12605
12689
|
* @summary Send Order Email
|
|
@@ -12910,6 +12994,17 @@ var OrdersApi = /** @class */ (function (_super) {
|
|
|
12910
12994
|
var _this = this;
|
|
12911
12995
|
return (0, exports.OrdersApiFp)(this.configuration).postCreateConsignment(id, shipmentId, shippingRequestDTO, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
12912
12996
|
};
|
|
12997
|
+
/**
|
|
12998
|
+
* Create an order via the legacy portal
|
|
12999
|
+
* @summary Create an order via the legacy portal
|
|
13000
|
+
* @param {OrderDTO} [orderDTO] Legacy Portal Order
|
|
13001
|
+
* @param {*} [options] Override http request option.
|
|
13002
|
+
* @throws {RequiredError}
|
|
13003
|
+
*/
|
|
13004
|
+
OrdersApi.prototype.postCreatePortalOrderLegacy = function (orderDTO, options) {
|
|
13005
|
+
var _this = this;
|
|
13006
|
+
return (0, exports.OrdersApiFp)(this.configuration).postCreatePortalOrderLegacy(orderDTO, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
13007
|
+
};
|
|
12913
13008
|
/**
|
|
12914
13009
|
* Create Shipment (Admin)
|
|
12915
13010
|
* @summary Create Shipment (Admin)
|
|
@@ -12960,6 +13055,18 @@ var OrdersApi = /** @class */ (function (_super) {
|
|
|
12960
13055
|
var _this = this;
|
|
12961
13056
|
return (0, exports.OrdersApiFp)(this.configuration).postPrintShippingLabel(id, shipmentId, printer, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
12962
13057
|
};
|
|
13058
|
+
/**
|
|
13059
|
+
* Process 3CX Licences (Admin)
|
|
13060
|
+
* @summary Process 3CX Licences (Admin)
|
|
13061
|
+
* @param {number} id Order ID
|
|
13062
|
+
* @param {number} batchId Batch ID
|
|
13063
|
+
* @param {*} [options] Override http request option.
|
|
13064
|
+
* @throws {RequiredError}
|
|
13065
|
+
*/
|
|
13066
|
+
OrdersApi.prototype.postProcessTcxLicences = function (id, batchId, options) {
|
|
13067
|
+
var _this = this;
|
|
13068
|
+
return (0, exports.OrdersApiFp)(this.configuration).postProcessTcxLicences(id, batchId, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
13069
|
+
};
|
|
12963
13070
|
/**
|
|
12964
13071
|
* Send Order Email
|
|
12965
13072
|
* @summary Send Order Email
|
|
@@ -13096,18 +13203,18 @@ exports.GetGetOrdersStatusEnum = {
|
|
|
13096
13203
|
Paid: 'PAID',
|
|
13097
13204
|
InvoicePaid: 'INVOICE_PAID',
|
|
13098
13205
|
Unpaid: 'UNPAID',
|
|
13099
|
-
Quote: 'QUOTE'
|
|
13206
|
+
Quote: 'QUOTE',
|
|
13100
13207
|
};
|
|
13101
13208
|
exports.GetGetOrdersFilterEnum = {
|
|
13102
13209
|
Outstanding: 'OUTSTANDING',
|
|
13103
13210
|
Quotes: 'QUOTES',
|
|
13104
13211
|
All: 'ALL',
|
|
13105
|
-
BackOrders: 'BACK_ORDERS'
|
|
13212
|
+
BackOrders: 'BACK_ORDERS',
|
|
13106
13213
|
};
|
|
13107
13214
|
exports.PostPrintShippingLabelPrinterEnum = {
|
|
13108
13215
|
NUMBER_1: 1,
|
|
13109
13216
|
NUMBER_2: 2,
|
|
13110
|
-
NUMBER_3: 3
|
|
13217
|
+
NUMBER_3: 3,
|
|
13111
13218
|
};
|
|
13112
13219
|
/**
|
|
13113
13220
|
* PricingApi - axios parameter creator
|
|
@@ -13380,14 +13487,14 @@ exports.GetGetPriceListTypeEnum = {
|
|
|
13380
13487
|
EdTechPro: 'EdTechPro',
|
|
13381
13488
|
Sms: 'SMS',
|
|
13382
13489
|
SipTrunks: 'SIP Trunks',
|
|
13383
|
-
CrmIntegrations: 'CRM Integrations'
|
|
13490
|
+
CrmIntegrations: 'CRM Integrations',
|
|
13384
13491
|
};
|
|
13385
13492
|
exports.GetGetPriceListFormatEnum = {
|
|
13386
13493
|
Pdf: 'pdf',
|
|
13387
13494
|
Json: 'json',
|
|
13388
13495
|
Csv: 'csv',
|
|
13389
13496
|
Xml: 'xml',
|
|
13390
|
-
Html: 'html'
|
|
13497
|
+
Html: 'html',
|
|
13391
13498
|
};
|
|
13392
13499
|
exports.GetGetPriceListCategoryEnum = {
|
|
13393
13500
|
Yealink: 'Yealink',
|
|
@@ -13409,7 +13516,7 @@ exports.GetGetPriceListCategoryEnum = {
|
|
|
13409
13516
|
FanvilWirelessPhones: 'Fanvil Wireless Phones',
|
|
13410
13517
|
FanvilSecurityProducts: 'Fanvil Security Products',
|
|
13411
13518
|
FanvilAccessories: 'Fanvil Accessories',
|
|
13412
|
-
FanvilHotelPhones: 'Fanvil Hotel Phones'
|
|
13519
|
+
FanvilHotelPhones: 'Fanvil Hotel Phones',
|
|
13413
13520
|
};
|
|
13414
13521
|
exports.PostSendPriceListTypeEnum = {
|
|
13415
13522
|
Products: 'Products',
|
|
@@ -13420,14 +13527,14 @@ exports.PostSendPriceListTypeEnum = {
|
|
|
13420
13527
|
EdTechPro: 'EdTechPro',
|
|
13421
13528
|
Sms: 'SMS',
|
|
13422
13529
|
SipTrunks: 'SIP Trunks',
|
|
13423
|
-
CrmIntegrations: 'CRM Integrations'
|
|
13530
|
+
CrmIntegrations: 'CRM Integrations',
|
|
13424
13531
|
};
|
|
13425
13532
|
exports.PostSendPriceListFormatEnum = {
|
|
13426
13533
|
Pdf: 'pdf',
|
|
13427
13534
|
Json: 'json',
|
|
13428
13535
|
Csv: 'csv',
|
|
13429
13536
|
Xml: 'xml',
|
|
13430
|
-
Html: 'html'
|
|
13537
|
+
Html: 'html',
|
|
13431
13538
|
};
|
|
13432
13539
|
exports.PostSendPriceListCategoryEnum = {
|
|
13433
13540
|
Yealink: 'Yealink',
|
|
@@ -13449,7 +13556,7 @@ exports.PostSendPriceListCategoryEnum = {
|
|
|
13449
13556
|
FanvilWirelessPhones: 'Fanvil Wireless Phones',
|
|
13450
13557
|
FanvilSecurityProducts: 'Fanvil Security Products',
|
|
13451
13558
|
FanvilAccessories: 'Fanvil Accessories',
|
|
13452
|
-
FanvilHotelPhones: 'Fanvil Hotel Phones'
|
|
13559
|
+
FanvilHotelPhones: 'Fanvil Hotel Phones',
|
|
13453
13560
|
};
|
|
13454
13561
|
/**
|
|
13455
13562
|
* ProductsApi - axios parameter creator
|
|
@@ -13761,23 +13868,23 @@ var ProductsApiAxiosParamCreator = function (configuration) {
|
|
|
13761
13868
|
* Get Product
|
|
13762
13869
|
* @summary Get Product
|
|
13763
13870
|
* @param {string} sku Product SKU
|
|
13764
|
-
* @param {
|
|
13871
|
+
* @param {PostGetProductForCustomerRequest} postGetProductForCustomerRequest Product search criteria
|
|
13765
13872
|
* @param {*} [options] Override http request option.
|
|
13766
13873
|
* @throws {RequiredError}
|
|
13767
13874
|
*/
|
|
13768
|
-
postGetProduct: function (sku_1,
|
|
13875
|
+
postGetProduct: function (sku_1, postGetProductForCustomerRequest_1) {
|
|
13769
13876
|
var args_1 = [];
|
|
13770
13877
|
for (var _i = 2; _i < arguments.length; _i++) {
|
|
13771
13878
|
args_1[_i - 2] = arguments[_i];
|
|
13772
13879
|
}
|
|
13773
|
-
return __awaiter(_this, __spreadArray([sku_1,
|
|
13880
|
+
return __awaiter(_this, __spreadArray([sku_1, postGetProductForCustomerRequest_1], args_1, true), void 0, function (sku, postGetProductForCustomerRequest, options) {
|
|
13774
13881
|
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
13775
13882
|
if (options === void 0) { options = {}; }
|
|
13776
13883
|
return __generator(this, function (_a) {
|
|
13777
13884
|
// verify required parameter 'sku' is not null or undefined
|
|
13778
13885
|
(0, common_1.assertParamExists)('postGetProduct', 'sku', sku);
|
|
13779
|
-
// verify required parameter '
|
|
13780
|
-
(0, common_1.assertParamExists)('postGetProduct', '
|
|
13886
|
+
// verify required parameter 'postGetProductForCustomerRequest' is not null or undefined
|
|
13887
|
+
(0, common_1.assertParamExists)('postGetProduct', 'postGetProductForCustomerRequest', postGetProductForCustomerRequest);
|
|
13781
13888
|
localVarPath = "/products/{sku}"
|
|
13782
13889
|
.replace("{".concat("sku", "}"), encodeURIComponent(String(sku)));
|
|
13783
13890
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
@@ -13792,7 +13899,7 @@ var ProductsApiAxiosParamCreator = function (configuration) {
|
|
|
13792
13899
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
13793
13900
|
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
13794
13901
|
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
13795
|
-
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(
|
|
13902
|
+
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(postGetProductForCustomerRequest, localVarRequestOptions, configuration);
|
|
13796
13903
|
return [2 /*return*/, {
|
|
13797
13904
|
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
13798
13905
|
options: localVarRequestOptions,
|
|
@@ -14045,17 +14152,17 @@ var ProductsApiFp = function (configuration) {
|
|
|
14045
14152
|
* Get Product
|
|
14046
14153
|
* @summary Get Product
|
|
14047
14154
|
* @param {string} sku Product SKU
|
|
14048
|
-
* @param {
|
|
14155
|
+
* @param {PostGetProductForCustomerRequest} postGetProductForCustomerRequest Product search criteria
|
|
14049
14156
|
* @param {*} [options] Override http request option.
|
|
14050
14157
|
* @throws {RequiredError}
|
|
14051
14158
|
*/
|
|
14052
|
-
postGetProduct: function (sku,
|
|
14159
|
+
postGetProduct: function (sku, postGetProductForCustomerRequest, options) {
|
|
14053
14160
|
return __awaiter(this, void 0, void 0, function () {
|
|
14054
14161
|
var localVarAxiosArgs, localVarOperationServerIndex, localVarOperationServerBasePath;
|
|
14055
14162
|
var _a, _b, _c;
|
|
14056
14163
|
return __generator(this, function (_d) {
|
|
14057
14164
|
switch (_d.label) {
|
|
14058
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.postGetProduct(sku,
|
|
14165
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.postGetProduct(sku, postGetProductForCustomerRequest, options)];
|
|
14059
14166
|
case 1:
|
|
14060
14167
|
localVarAxiosArgs = _d.sent();
|
|
14061
14168
|
localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
@@ -14182,12 +14289,12 @@ var ProductsApiFactory = function (configuration, basePath, axios) {
|
|
|
14182
14289
|
* Get Product
|
|
14183
14290
|
* @summary Get Product
|
|
14184
14291
|
* @param {string} sku Product SKU
|
|
14185
|
-
* @param {
|
|
14292
|
+
* @param {PostGetProductForCustomerRequest} postGetProductForCustomerRequest Product search criteria
|
|
14186
14293
|
* @param {*} [options] Override http request option.
|
|
14187
14294
|
* @throws {RequiredError}
|
|
14188
14295
|
*/
|
|
14189
|
-
postGetProduct: function (sku,
|
|
14190
|
-
return localVarFp.postGetProduct(sku,
|
|
14296
|
+
postGetProduct: function (sku, postGetProductForCustomerRequest, options) {
|
|
14297
|
+
return localVarFp.postGetProduct(sku, postGetProductForCustomerRequest, options).then(function (request) { return request(axios, basePath); });
|
|
14191
14298
|
},
|
|
14192
14299
|
/**
|
|
14193
14300
|
* Get Product For Customer
|
|
@@ -14303,13 +14410,13 @@ var ProductsApi = /** @class */ (function (_super) {
|
|
|
14303
14410
|
* Get Product
|
|
14304
14411
|
* @summary Get Product
|
|
14305
14412
|
* @param {string} sku Product SKU
|
|
14306
|
-
* @param {
|
|
14413
|
+
* @param {PostGetProductForCustomerRequest} postGetProductForCustomerRequest Product search criteria
|
|
14307
14414
|
* @param {*} [options] Override http request option.
|
|
14308
14415
|
* @throws {RequiredError}
|
|
14309
14416
|
*/
|
|
14310
|
-
ProductsApi.prototype.postGetProduct = function (sku,
|
|
14417
|
+
ProductsApi.prototype.postGetProduct = function (sku, postGetProductForCustomerRequest, options) {
|
|
14311
14418
|
var _this = this;
|
|
14312
|
-
return (0, exports.ProductsApiFp)(this.configuration).postGetProduct(sku,
|
|
14419
|
+
return (0, exports.ProductsApiFp)(this.configuration).postGetProduct(sku, postGetProductForCustomerRequest, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
14313
14420
|
};
|
|
14314
14421
|
/**
|
|
14315
14422
|
* Get Product For Customer
|
|
@@ -14329,8 +14436,385 @@ var ProductsApi = /** @class */ (function (_super) {
|
|
|
14329
14436
|
exports.ProductsApi = ProductsApi;
|
|
14330
14437
|
exports.GetGetLegacyStockListFormatEnum = {
|
|
14331
14438
|
Xml: 'XML',
|
|
14332
|
-
Csv: 'CSV'
|
|
14439
|
+
Csv: 'CSV',
|
|
14440
|
+
};
|
|
14441
|
+
/**
|
|
14442
|
+
* ProspectsApi - axios parameter creator
|
|
14443
|
+
*/
|
|
14444
|
+
var ProspectsApiAxiosParamCreator = function (configuration) {
|
|
14445
|
+
var _this = this;
|
|
14446
|
+
return {
|
|
14447
|
+
/**
|
|
14448
|
+
* Get Prospect
|
|
14449
|
+
* @summary Get Prospect
|
|
14450
|
+
* @param {string} xeroId Xero ID
|
|
14451
|
+
* @param {*} [options] Override http request option.
|
|
14452
|
+
* @throws {RequiredError}
|
|
14453
|
+
*/
|
|
14454
|
+
getGetProspect: function (xeroId_1) {
|
|
14455
|
+
var args_1 = [];
|
|
14456
|
+
for (var _i = 1; _i < arguments.length; _i++) {
|
|
14457
|
+
args_1[_i - 1] = arguments[_i];
|
|
14458
|
+
}
|
|
14459
|
+
return __awaiter(_this, __spreadArray([xeroId_1], args_1, true), void 0, function (xeroId, options) {
|
|
14460
|
+
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
14461
|
+
if (options === void 0) { options = {}; }
|
|
14462
|
+
return __generator(this, function (_a) {
|
|
14463
|
+
// verify required parameter 'xeroId' is not null or undefined
|
|
14464
|
+
(0, common_1.assertParamExists)('getGetProspect', 'xeroId', xeroId);
|
|
14465
|
+
localVarPath = "/accounts/prospects/{xero_id}"
|
|
14466
|
+
.replace("{".concat("xero_id", "}"), encodeURIComponent(String(xeroId)));
|
|
14467
|
+
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
14468
|
+
if (configuration) {
|
|
14469
|
+
baseOptions = configuration.baseOptions;
|
|
14470
|
+
}
|
|
14471
|
+
localVarRequestOptions = __assign(__assign({ method: 'GET' }, baseOptions), options);
|
|
14472
|
+
localVarHeaderParameter = {};
|
|
14473
|
+
localVarQueryParameter = {};
|
|
14474
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
14475
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
14476
|
+
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
14477
|
+
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
14478
|
+
return [2 /*return*/, {
|
|
14479
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
14480
|
+
options: localVarRequestOptions,
|
|
14481
|
+
}];
|
|
14482
|
+
});
|
|
14483
|
+
});
|
|
14484
|
+
},
|
|
14485
|
+
/**
|
|
14486
|
+
* Get Prospects
|
|
14487
|
+
* @summary Get Prospects
|
|
14488
|
+
* @param {*} [options] Override http request option.
|
|
14489
|
+
* @throws {RequiredError}
|
|
14490
|
+
*/
|
|
14491
|
+
getGetProspects: function () {
|
|
14492
|
+
var args_1 = [];
|
|
14493
|
+
for (var _i = 0; _i < arguments.length; _i++) {
|
|
14494
|
+
args_1[_i] = arguments[_i];
|
|
14495
|
+
}
|
|
14496
|
+
return __awaiter(_this, __spreadArray([], args_1, true), void 0, function (options) {
|
|
14497
|
+
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
14498
|
+
if (options === void 0) { options = {}; }
|
|
14499
|
+
return __generator(this, function (_a) {
|
|
14500
|
+
localVarPath = "/accounts/prospects";
|
|
14501
|
+
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
14502
|
+
if (configuration) {
|
|
14503
|
+
baseOptions = configuration.baseOptions;
|
|
14504
|
+
}
|
|
14505
|
+
localVarRequestOptions = __assign(__assign({ method: 'GET' }, baseOptions), options);
|
|
14506
|
+
localVarHeaderParameter = {};
|
|
14507
|
+
localVarQueryParameter = {};
|
|
14508
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
14509
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
14510
|
+
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
14511
|
+
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
14512
|
+
return [2 /*return*/, {
|
|
14513
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
14514
|
+
options: localVarRequestOptions,
|
|
14515
|
+
}];
|
|
14516
|
+
});
|
|
14517
|
+
});
|
|
14518
|
+
},
|
|
14519
|
+
/**
|
|
14520
|
+
* Remove From Prospect
|
|
14521
|
+
* @summary Remove From Prospects
|
|
14522
|
+
* @param {string} xeroId Xero ID
|
|
14523
|
+
* @param {boolean} status Status
|
|
14524
|
+
* @param {*} [options] Override http request option.
|
|
14525
|
+
* @throws {RequiredError}
|
|
14526
|
+
*/
|
|
14527
|
+
getRemoveFromProspects: function (xeroId_1, status_1) {
|
|
14528
|
+
var args_1 = [];
|
|
14529
|
+
for (var _i = 2; _i < arguments.length; _i++) {
|
|
14530
|
+
args_1[_i - 2] = arguments[_i];
|
|
14531
|
+
}
|
|
14532
|
+
return __awaiter(_this, __spreadArray([xeroId_1, status_1], args_1, true), void 0, function (xeroId, status, options) {
|
|
14533
|
+
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
14534
|
+
if (options === void 0) { options = {}; }
|
|
14535
|
+
return __generator(this, function (_a) {
|
|
14536
|
+
// verify required parameter 'xeroId' is not null or undefined
|
|
14537
|
+
(0, common_1.assertParamExists)('getRemoveFromProspects', 'xeroId', xeroId);
|
|
14538
|
+
// verify required parameter 'status' is not null or undefined
|
|
14539
|
+
(0, common_1.assertParamExists)('getRemoveFromProspects', 'status', status);
|
|
14540
|
+
localVarPath = "/accounts/prospects/{xero_id}/remove"
|
|
14541
|
+
.replace("{".concat("xero_id", "}"), encodeURIComponent(String(xeroId)));
|
|
14542
|
+
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
14543
|
+
if (configuration) {
|
|
14544
|
+
baseOptions = configuration.baseOptions;
|
|
14545
|
+
}
|
|
14546
|
+
localVarRequestOptions = __assign(__assign({ method: 'GET' }, baseOptions), options);
|
|
14547
|
+
localVarHeaderParameter = {};
|
|
14548
|
+
localVarQueryParameter = {};
|
|
14549
|
+
if (status !== undefined) {
|
|
14550
|
+
localVarQueryParameter['status'] = status;
|
|
14551
|
+
}
|
|
14552
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
14553
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
14554
|
+
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
14555
|
+
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
14556
|
+
return [2 /*return*/, {
|
|
14557
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
14558
|
+
options: localVarRequestOptions,
|
|
14559
|
+
}];
|
|
14560
|
+
});
|
|
14561
|
+
});
|
|
14562
|
+
},
|
|
14563
|
+
/**
|
|
14564
|
+
* Set Call Back Date
|
|
14565
|
+
* @summary Set Call Back Date
|
|
14566
|
+
* @param {string} xeroId Xero ID
|
|
14567
|
+
* @param {string} date Callback Date
|
|
14568
|
+
* @param {*} [options] Override http request option.
|
|
14569
|
+
* @throws {RequiredError}
|
|
14570
|
+
*/
|
|
14571
|
+
getSetCallback: function (xeroId_1, date_1) {
|
|
14572
|
+
var args_1 = [];
|
|
14573
|
+
for (var _i = 2; _i < arguments.length; _i++) {
|
|
14574
|
+
args_1[_i - 2] = arguments[_i];
|
|
14575
|
+
}
|
|
14576
|
+
return __awaiter(_this, __spreadArray([xeroId_1, date_1], args_1, true), void 0, function (xeroId, date, options) {
|
|
14577
|
+
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
14578
|
+
if (options === void 0) { options = {}; }
|
|
14579
|
+
return __generator(this, function (_a) {
|
|
14580
|
+
// verify required parameter 'xeroId' is not null or undefined
|
|
14581
|
+
(0, common_1.assertParamExists)('getSetCallback', 'xeroId', xeroId);
|
|
14582
|
+
// verify required parameter 'date' is not null or undefined
|
|
14583
|
+
(0, common_1.assertParamExists)('getSetCallback', 'date', date);
|
|
14584
|
+
localVarPath = "/accounts/prospects/{xero_id}/date"
|
|
14585
|
+
.replace("{".concat("xero_id", "}"), encodeURIComponent(String(xeroId)));
|
|
14586
|
+
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
14587
|
+
if (configuration) {
|
|
14588
|
+
baseOptions = configuration.baseOptions;
|
|
14589
|
+
}
|
|
14590
|
+
localVarRequestOptions = __assign(__assign({ method: 'GET' }, baseOptions), options);
|
|
14591
|
+
localVarHeaderParameter = {};
|
|
14592
|
+
localVarQueryParameter = {};
|
|
14593
|
+
if (date !== undefined) {
|
|
14594
|
+
localVarQueryParameter['date'] = date;
|
|
14595
|
+
}
|
|
14596
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
14597
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
14598
|
+
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
14599
|
+
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
14600
|
+
return [2 /*return*/, {
|
|
14601
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
14602
|
+
options: localVarRequestOptions,
|
|
14603
|
+
}];
|
|
14604
|
+
});
|
|
14605
|
+
});
|
|
14606
|
+
},
|
|
14607
|
+
};
|
|
14608
|
+
};
|
|
14609
|
+
exports.ProspectsApiAxiosParamCreator = ProspectsApiAxiosParamCreator;
|
|
14610
|
+
/**
|
|
14611
|
+
* ProspectsApi - functional programming interface
|
|
14612
|
+
*/
|
|
14613
|
+
var ProspectsApiFp = function (configuration) {
|
|
14614
|
+
var localVarAxiosParamCreator = (0, exports.ProspectsApiAxiosParamCreator)(configuration);
|
|
14615
|
+
return {
|
|
14616
|
+
/**
|
|
14617
|
+
* Get Prospect
|
|
14618
|
+
* @summary Get Prospect
|
|
14619
|
+
* @param {string} xeroId Xero ID
|
|
14620
|
+
* @param {*} [options] Override http request option.
|
|
14621
|
+
* @throws {RequiredError}
|
|
14622
|
+
*/
|
|
14623
|
+
getGetProspect: function (xeroId, options) {
|
|
14624
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
14625
|
+
var localVarAxiosArgs, localVarOperationServerIndex, localVarOperationServerBasePath;
|
|
14626
|
+
var _a, _b, _c;
|
|
14627
|
+
return __generator(this, function (_d) {
|
|
14628
|
+
switch (_d.label) {
|
|
14629
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.getGetProspect(xeroId, options)];
|
|
14630
|
+
case 1:
|
|
14631
|
+
localVarAxiosArgs = _d.sent();
|
|
14632
|
+
localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
14633
|
+
localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['ProspectsApi.getGetProspect']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
14634
|
+
return [2 /*return*/, function (axios, basePath) { return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath); }];
|
|
14635
|
+
}
|
|
14636
|
+
});
|
|
14637
|
+
});
|
|
14638
|
+
},
|
|
14639
|
+
/**
|
|
14640
|
+
* Get Prospects
|
|
14641
|
+
* @summary Get Prospects
|
|
14642
|
+
* @param {*} [options] Override http request option.
|
|
14643
|
+
* @throws {RequiredError}
|
|
14644
|
+
*/
|
|
14645
|
+
getGetProspects: function (options) {
|
|
14646
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
14647
|
+
var localVarAxiosArgs, localVarOperationServerIndex, localVarOperationServerBasePath;
|
|
14648
|
+
var _a, _b, _c;
|
|
14649
|
+
return __generator(this, function (_d) {
|
|
14650
|
+
switch (_d.label) {
|
|
14651
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.getGetProspects(options)];
|
|
14652
|
+
case 1:
|
|
14653
|
+
localVarAxiosArgs = _d.sent();
|
|
14654
|
+
localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
14655
|
+
localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['ProspectsApi.getGetProspects']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
14656
|
+
return [2 /*return*/, function (axios, basePath) { return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath); }];
|
|
14657
|
+
}
|
|
14658
|
+
});
|
|
14659
|
+
});
|
|
14660
|
+
},
|
|
14661
|
+
/**
|
|
14662
|
+
* Remove From Prospect
|
|
14663
|
+
* @summary Remove From Prospects
|
|
14664
|
+
* @param {string} xeroId Xero ID
|
|
14665
|
+
* @param {boolean} status Status
|
|
14666
|
+
* @param {*} [options] Override http request option.
|
|
14667
|
+
* @throws {RequiredError}
|
|
14668
|
+
*/
|
|
14669
|
+
getRemoveFromProspects: function (xeroId, status, options) {
|
|
14670
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
14671
|
+
var localVarAxiosArgs, localVarOperationServerIndex, localVarOperationServerBasePath;
|
|
14672
|
+
var _a, _b, _c;
|
|
14673
|
+
return __generator(this, function (_d) {
|
|
14674
|
+
switch (_d.label) {
|
|
14675
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.getRemoveFromProspects(xeroId, status, options)];
|
|
14676
|
+
case 1:
|
|
14677
|
+
localVarAxiosArgs = _d.sent();
|
|
14678
|
+
localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
14679
|
+
localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['ProspectsApi.getRemoveFromProspects']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
14680
|
+
return [2 /*return*/, function (axios, basePath) { return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath); }];
|
|
14681
|
+
}
|
|
14682
|
+
});
|
|
14683
|
+
});
|
|
14684
|
+
},
|
|
14685
|
+
/**
|
|
14686
|
+
* Set Call Back Date
|
|
14687
|
+
* @summary Set Call Back Date
|
|
14688
|
+
* @param {string} xeroId Xero ID
|
|
14689
|
+
* @param {string} date Callback Date
|
|
14690
|
+
* @param {*} [options] Override http request option.
|
|
14691
|
+
* @throws {RequiredError}
|
|
14692
|
+
*/
|
|
14693
|
+
getSetCallback: function (xeroId, date, options) {
|
|
14694
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
14695
|
+
var localVarAxiosArgs, localVarOperationServerIndex, localVarOperationServerBasePath;
|
|
14696
|
+
var _a, _b, _c;
|
|
14697
|
+
return __generator(this, function (_d) {
|
|
14698
|
+
switch (_d.label) {
|
|
14699
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.getSetCallback(xeroId, date, options)];
|
|
14700
|
+
case 1:
|
|
14701
|
+
localVarAxiosArgs = _d.sent();
|
|
14702
|
+
localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
14703
|
+
localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['ProspectsApi.getSetCallback']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
14704
|
+
return [2 /*return*/, function (axios, basePath) { return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath); }];
|
|
14705
|
+
}
|
|
14706
|
+
});
|
|
14707
|
+
});
|
|
14708
|
+
},
|
|
14709
|
+
};
|
|
14710
|
+
};
|
|
14711
|
+
exports.ProspectsApiFp = ProspectsApiFp;
|
|
14712
|
+
/**
|
|
14713
|
+
* ProspectsApi - factory interface
|
|
14714
|
+
*/
|
|
14715
|
+
var ProspectsApiFactory = function (configuration, basePath, axios) {
|
|
14716
|
+
var localVarFp = (0, exports.ProspectsApiFp)(configuration);
|
|
14717
|
+
return {
|
|
14718
|
+
/**
|
|
14719
|
+
* Get Prospect
|
|
14720
|
+
* @summary Get Prospect
|
|
14721
|
+
* @param {string} xeroId Xero ID
|
|
14722
|
+
* @param {*} [options] Override http request option.
|
|
14723
|
+
* @throws {RequiredError}
|
|
14724
|
+
*/
|
|
14725
|
+
getGetProspect: function (xeroId, options) {
|
|
14726
|
+
return localVarFp.getGetProspect(xeroId, options).then(function (request) { return request(axios, basePath); });
|
|
14727
|
+
},
|
|
14728
|
+
/**
|
|
14729
|
+
* Get Prospects
|
|
14730
|
+
* @summary Get Prospects
|
|
14731
|
+
* @param {*} [options] Override http request option.
|
|
14732
|
+
* @throws {RequiredError}
|
|
14733
|
+
*/
|
|
14734
|
+
getGetProspects: function (options) {
|
|
14735
|
+
return localVarFp.getGetProspects(options).then(function (request) { return request(axios, basePath); });
|
|
14736
|
+
},
|
|
14737
|
+
/**
|
|
14738
|
+
* Remove From Prospect
|
|
14739
|
+
* @summary Remove From Prospects
|
|
14740
|
+
* @param {string} xeroId Xero ID
|
|
14741
|
+
* @param {boolean} status Status
|
|
14742
|
+
* @param {*} [options] Override http request option.
|
|
14743
|
+
* @throws {RequiredError}
|
|
14744
|
+
*/
|
|
14745
|
+
getRemoveFromProspects: function (xeroId, status, options) {
|
|
14746
|
+
return localVarFp.getRemoveFromProspects(xeroId, status, options).then(function (request) { return request(axios, basePath); });
|
|
14747
|
+
},
|
|
14748
|
+
/**
|
|
14749
|
+
* Set Call Back Date
|
|
14750
|
+
* @summary Set Call Back Date
|
|
14751
|
+
* @param {string} xeroId Xero ID
|
|
14752
|
+
* @param {string} date Callback Date
|
|
14753
|
+
* @param {*} [options] Override http request option.
|
|
14754
|
+
* @throws {RequiredError}
|
|
14755
|
+
*/
|
|
14756
|
+
getSetCallback: function (xeroId, date, options) {
|
|
14757
|
+
return localVarFp.getSetCallback(xeroId, date, options).then(function (request) { return request(axios, basePath); });
|
|
14758
|
+
},
|
|
14759
|
+
};
|
|
14333
14760
|
};
|
|
14761
|
+
exports.ProspectsApiFactory = ProspectsApiFactory;
|
|
14762
|
+
/**
|
|
14763
|
+
* ProspectsApi - object-oriented interface
|
|
14764
|
+
*/
|
|
14765
|
+
var ProspectsApi = /** @class */ (function (_super) {
|
|
14766
|
+
__extends(ProspectsApi, _super);
|
|
14767
|
+
function ProspectsApi() {
|
|
14768
|
+
return _super !== null && _super.apply(this, arguments) || this;
|
|
14769
|
+
}
|
|
14770
|
+
/**
|
|
14771
|
+
* Get Prospect
|
|
14772
|
+
* @summary Get Prospect
|
|
14773
|
+
* @param {string} xeroId Xero ID
|
|
14774
|
+
* @param {*} [options] Override http request option.
|
|
14775
|
+
* @throws {RequiredError}
|
|
14776
|
+
*/
|
|
14777
|
+
ProspectsApi.prototype.getGetProspect = function (xeroId, options) {
|
|
14778
|
+
var _this = this;
|
|
14779
|
+
return (0, exports.ProspectsApiFp)(this.configuration).getGetProspect(xeroId, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
14780
|
+
};
|
|
14781
|
+
/**
|
|
14782
|
+
* Get Prospects
|
|
14783
|
+
* @summary Get Prospects
|
|
14784
|
+
* @param {*} [options] Override http request option.
|
|
14785
|
+
* @throws {RequiredError}
|
|
14786
|
+
*/
|
|
14787
|
+
ProspectsApi.prototype.getGetProspects = function (options) {
|
|
14788
|
+
var _this = this;
|
|
14789
|
+
return (0, exports.ProspectsApiFp)(this.configuration).getGetProspects(options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
14790
|
+
};
|
|
14791
|
+
/**
|
|
14792
|
+
* Remove From Prospect
|
|
14793
|
+
* @summary Remove From Prospects
|
|
14794
|
+
* @param {string} xeroId Xero ID
|
|
14795
|
+
* @param {boolean} status Status
|
|
14796
|
+
* @param {*} [options] Override http request option.
|
|
14797
|
+
* @throws {RequiredError}
|
|
14798
|
+
*/
|
|
14799
|
+
ProspectsApi.prototype.getRemoveFromProspects = function (xeroId, status, options) {
|
|
14800
|
+
var _this = this;
|
|
14801
|
+
return (0, exports.ProspectsApiFp)(this.configuration).getRemoveFromProspects(xeroId, status, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
14802
|
+
};
|
|
14803
|
+
/**
|
|
14804
|
+
* Set Call Back Date
|
|
14805
|
+
* @summary Set Call Back Date
|
|
14806
|
+
* @param {string} xeroId Xero ID
|
|
14807
|
+
* @param {string} date Callback Date
|
|
14808
|
+
* @param {*} [options] Override http request option.
|
|
14809
|
+
* @throws {RequiredError}
|
|
14810
|
+
*/
|
|
14811
|
+
ProspectsApi.prototype.getSetCallback = function (xeroId, date, options) {
|
|
14812
|
+
var _this = this;
|
|
14813
|
+
return (0, exports.ProspectsApiFp)(this.configuration).getSetCallback(xeroId, date, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
14814
|
+
};
|
|
14815
|
+
return ProspectsApi;
|
|
14816
|
+
}(base_1.BaseAPI));
|
|
14817
|
+
exports.ProspectsApi = ProspectsApi;
|
|
14334
14818
|
/**
|
|
14335
14819
|
* ProvisioningApi - axios parameter creator
|
|
14336
14820
|
*/
|
|
@@ -20958,5 +21442,5 @@ exports.PostAddWebhookWebhookUriEnum = {
|
|
|
20958
21442
|
WebhookFreshdeskUpdate: '/webhook/freshdesk/update',
|
|
20959
21443
|
WebhookTest: '/webhook/test',
|
|
20960
21444
|
WebhookXeroInvoices: '/webhook/xero/invoices',
|
|
20961
|
-
WebhookTcxPhonesAdd: '/webhook/tcx/phones/add'
|
|
21445
|
+
WebhookTcxPhonesAdd: '/webhook/tcx/phones/add',
|
|
20962
21446
|
};
|