yellowgrid-api-ts 3.2.115-dev.0 → 3.2.115
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 +1334 -755
- 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 +759 -392
- package/dist/api.js +1236 -747
- 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/PaymentMethodEnum.d.ts +13 -0
- package/dist/models/PaymentMethodEnum.js +15 -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 +2 -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/PaymentMethodEnum.ts +14 -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 -31
- 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,27 +84,32 @@ 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.
|
|
87
|
+
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 = exports.AdminOrderRequestDTOPaymentMethodEnum = void 0;
|
|
88
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 = exports.Class3CXInstallationWizardApiFactory = void 0;
|
|
89
|
-
exports.
|
|
89
|
+
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 = exports.GetGetPriceListFormatEnum = void 0;
|
|
90
|
+
exports.PostAddWebhookWebhookUriEnum = void 0;
|
|
90
91
|
var axios_1 = require("axios");
|
|
91
92
|
// Some imports not used depending on template conditions
|
|
92
93
|
// @ts-ignore
|
|
93
94
|
var common_1 = require("./common");
|
|
94
95
|
// @ts-ignore
|
|
95
96
|
var base_1 = require("./base");
|
|
97
|
+
exports.AdminOrderRequestDTOPaymentMethodEnum = {
|
|
98
|
+
Card: 'card',
|
|
99
|
+
Bacs: 'bacs',
|
|
100
|
+
};
|
|
96
101
|
exports.AdminUserModelRoleEnum = {
|
|
97
102
|
NUMBER_0: 0,
|
|
98
103
|
NUMBER_1: 1,
|
|
99
104
|
NUMBER_2: 2,
|
|
100
105
|
NUMBER_3: 3,
|
|
101
|
-
NUMBER_4: 4
|
|
106
|
+
NUMBER_4: 4,
|
|
102
107
|
};
|
|
103
108
|
exports.AuditLogEntityActionEnum = {
|
|
104
109
|
Create: 'CREATE',
|
|
105
110
|
Read: 'READ',
|
|
106
111
|
Update: 'UPDATE',
|
|
107
|
-
Delete: 'DELETE'
|
|
112
|
+
Delete: 'DELETE',
|
|
108
113
|
};
|
|
109
114
|
exports.AuditLogEntityTypeEnum = {
|
|
110
115
|
AuditLog: 'audit_log',
|
|
@@ -146,6 +151,7 @@ exports.AuditLogEntityTypeEnum = {
|
|
|
146
151
|
PopsPromoCodes: 'pops_promo_codes',
|
|
147
152
|
PopsPromoItems: 'pops_promo_items',
|
|
148
153
|
PopsProvisioning: 'pops_provisioning',
|
|
154
|
+
PopsProspectsV2: 'pops_prospects_v2',
|
|
149
155
|
S3Buckets: 's3_buckets',
|
|
150
156
|
PopsShipmentAddress: 'pops_shipment_address',
|
|
151
157
|
PopsShipments: 'pops_shipments',
|
|
@@ -182,20 +188,20 @@ exports.AuditLogEntityTypeEnum = {
|
|
|
182
188
|
Webhook: 'webhook',
|
|
183
189
|
PopsXeroLog: 'pops_xero_log',
|
|
184
190
|
Oauth2Clients: 'oauth2_clients',
|
|
185
|
-
Oauth2Tokens: 'oauth2_tokens'
|
|
191
|
+
Oauth2Tokens: 'oauth2_tokens',
|
|
186
192
|
};
|
|
187
193
|
exports.DivertResponseModelStatusEnum = {
|
|
188
194
|
Enabled: 'enabled',
|
|
189
|
-
Disabled: 'disabled'
|
|
195
|
+
Disabled: 'disabled',
|
|
190
196
|
};
|
|
191
197
|
exports.EventDTOStatusEnum = {
|
|
192
198
|
NUMBER_0: 0,
|
|
193
199
|
NUMBER_1: 1,
|
|
194
|
-
NUMBER_2: 2
|
|
200
|
+
NUMBER_2: 2,
|
|
195
201
|
};
|
|
196
202
|
exports.HostingChangeResponseModelTypeEnum = {
|
|
197
203
|
NewInstance: 'New Instance',
|
|
198
|
-
BuildingInstance: 'Building Instance'
|
|
204
|
+
BuildingInstance: 'Building Instance',
|
|
199
205
|
};
|
|
200
206
|
exports.HostingRegionDTOCodeEnum = {
|
|
201
207
|
Uk1: 'UK1',
|
|
@@ -206,12 +212,12 @@ exports.HostingRegionDTOCodeEnum = {
|
|
|
206
212
|
Syd1: 'SYD1',
|
|
207
213
|
Sgp1: 'SGP1',
|
|
208
214
|
UsEastVa1: 'US-EAST-VA-1',
|
|
209
|
-
UsWestOr1: 'US-WEST-OR-1'
|
|
215
|
+
UsWestOr1: 'US-WEST-OR-1',
|
|
210
216
|
};
|
|
211
217
|
exports.ItemDiscountEntityTypeEnum = {
|
|
212
218
|
TcxPhones: 'TCX_PHONES',
|
|
213
219
|
PhoneBulk: 'PHONE_BULK',
|
|
214
|
-
Additional: 'ADDITIONAL'
|
|
220
|
+
Additional: 'ADDITIONAL',
|
|
215
221
|
};
|
|
216
222
|
exports.MultiTenantChangeResponseModelTypeEnum = {
|
|
217
223
|
NewTrunk: 'New Trunk',
|
|
@@ -227,15 +233,15 @@ exports.MultiTenantChangeResponseModelTypeEnum = {
|
|
|
227
233
|
Address: 'Address',
|
|
228
234
|
BulkEndpointDetails: 'Bulk Endpoint Details',
|
|
229
235
|
Fraud: 'Fraud',
|
|
230
|
-
CallBarring: 'Call Barring'
|
|
236
|
+
CallBarring: 'Call Barring',
|
|
231
237
|
};
|
|
232
238
|
exports.OrderRequestModelLicenceTypeEnum = {
|
|
233
239
|
Lite: 'lite',
|
|
234
|
-
Pro: 'pro'
|
|
240
|
+
Pro: 'pro',
|
|
235
241
|
};
|
|
236
242
|
exports.OrderRequestModelSchoolTypeEnum = {
|
|
237
243
|
Primary: 'primary',
|
|
238
|
-
Secondary: 'secondary'
|
|
244
|
+
Secondary: 'secondary',
|
|
239
245
|
};
|
|
240
246
|
exports.OrderTotalModelCurrencyEnum = {
|
|
241
247
|
Eur: 'EUR',
|
|
@@ -268,47 +274,54 @@ exports.OrderTotalModelCurrencyEnum = {
|
|
|
268
274
|
Php: 'PHP',
|
|
269
275
|
Sgd: 'SGD',
|
|
270
276
|
Thb: 'THB',
|
|
271
|
-
Zar: 'ZAR'
|
|
277
|
+
Zar: 'ZAR',
|
|
278
|
+
};
|
|
279
|
+
exports.ProspectDTOStatusEnum = {
|
|
280
|
+
NoCallBackSet: 'No Call Back Set',
|
|
281
|
+
CallBackDue: 'Call Back Due',
|
|
282
|
+
NoOrdersPlaced: 'No Orders Placed',
|
|
283
|
+
NoOrdersInTheLast4Months: 'No Orders In The Last 4 Months',
|
|
284
|
+
NoActionRequired: 'No Action Required',
|
|
272
285
|
};
|
|
273
286
|
exports.ServiceHealthDTOGlobalStatusEnum = {
|
|
274
287
|
NUMBER_0: 0,
|
|
275
288
|
NUMBER_1: 1,
|
|
276
|
-
NUMBER_2: 2
|
|
289
|
+
NUMBER_2: 2,
|
|
277
290
|
};
|
|
278
291
|
exports.ServiceStatusDTOStatusEnum = {
|
|
279
292
|
_0: '0',
|
|
280
293
|
_1: '1',
|
|
281
|
-
_2: '2'
|
|
294
|
+
_2: '2',
|
|
282
295
|
};
|
|
283
296
|
exports.ShipmentDTOCourierEnum = {
|
|
284
297
|
Dpd: 'DPD',
|
|
285
298
|
ChorltonPallet: 'Chorlton Pallet',
|
|
286
|
-
Pops: 'POPS'
|
|
299
|
+
Pops: 'POPS',
|
|
287
300
|
};
|
|
288
301
|
exports.ShipmentRequestDTOCourierEnum = {
|
|
289
302
|
Dpd: 'DPD',
|
|
290
303
|
ChorltonPallet: 'Chorlton Pallet',
|
|
291
|
-
Pops: 'POPS'
|
|
304
|
+
Pops: 'POPS',
|
|
292
305
|
};
|
|
293
306
|
exports.ShippingRequestDTOCourierEnum = {
|
|
294
307
|
Dpd: 'DPD',
|
|
295
308
|
ChorltonPallet: 'Chorlton Pallet',
|
|
296
|
-
Pops: 'POPS'
|
|
309
|
+
Pops: 'POPS',
|
|
297
310
|
};
|
|
298
311
|
exports.ShippingRequestDTOPrinterEnum = {
|
|
299
312
|
NUMBER_1: 1,
|
|
300
313
|
NUMBER_2: 2,
|
|
301
|
-
NUMBER_3: 3
|
|
314
|
+
NUMBER_3: 3,
|
|
302
315
|
};
|
|
303
316
|
exports.ShippingServiceDTOCourierEnum = {
|
|
304
317
|
Dpd: 'DPD',
|
|
305
318
|
ChorltonPallet: 'Chorlton Pallet',
|
|
306
|
-
Pops: 'POPS'
|
|
319
|
+
Pops: 'POPS',
|
|
307
320
|
};
|
|
308
321
|
exports.ShippingServiceModelCourierEnum = {
|
|
309
322
|
Dpd: 'DPD',
|
|
310
323
|
ChorltonPallet: 'Chorlton Pallet',
|
|
311
|
-
Pops: 'POPS'
|
|
324
|
+
Pops: 'POPS',
|
|
312
325
|
};
|
|
313
326
|
exports.SipTrunkChangeResponseModelTypeEnum = {
|
|
314
327
|
NewTrunk: 'New Trunk',
|
|
@@ -324,17 +337,17 @@ exports.SipTrunkChangeResponseModelTypeEnum = {
|
|
|
324
337
|
Address: 'Address',
|
|
325
338
|
BulkEndpointDetails: 'Bulk Endpoint Details',
|
|
326
339
|
Fraud: 'Fraud',
|
|
327
|
-
CallBarring: 'Call Barring'
|
|
340
|
+
CallBarring: 'Call Barring',
|
|
328
341
|
};
|
|
329
342
|
exports.SmsAccountRequestDTOProviderEnum = {
|
|
330
|
-
NUMBER_1: 1
|
|
343
|
+
NUMBER_1: 1,
|
|
331
344
|
};
|
|
332
345
|
exports.SmsAccountRequestDTOTypeEnum = {
|
|
333
346
|
Local: 'local',
|
|
334
347
|
TollFree: 'toll_free',
|
|
335
348
|
Mobile: 'mobile',
|
|
336
349
|
National: 'national',
|
|
337
|
-
SharedCost: 'shared_cost'
|
|
350
|
+
SharedCost: 'shared_cost',
|
|
338
351
|
};
|
|
339
352
|
exports.SmsPhoneNumberModelStatusEnum = {
|
|
340
353
|
Queued: 'queued',
|
|
@@ -345,31 +358,31 @@ exports.SmsPhoneNumberModelStatusEnum = {
|
|
|
345
358
|
DeliveryUnconfirmed: 'delivery_unconfirmed',
|
|
346
359
|
Delivered: 'delivered',
|
|
347
360
|
DeliveryFailed: 'delivery_failed',
|
|
348
|
-
WebhookDelivered: 'webhook_delivered'
|
|
361
|
+
WebhookDelivered: 'webhook_delivered',
|
|
349
362
|
};
|
|
350
363
|
exports.SmsResponseModelEventTypeEnum = {
|
|
351
364
|
MessageSent: 'message.sent',
|
|
352
365
|
MessageFinalized: 'message.finalized',
|
|
353
|
-
MessageReceived: 'message.received'
|
|
366
|
+
MessageReceived: 'message.received',
|
|
354
367
|
};
|
|
355
368
|
exports.StockOrderModelDeliveryMethodEnum = {
|
|
356
369
|
Sea: 'Sea',
|
|
357
370
|
Air: 'Air',
|
|
358
|
-
Road: 'Road'
|
|
371
|
+
Road: 'Road',
|
|
359
372
|
};
|
|
360
373
|
exports.StockOrderModelPaidEnum = {
|
|
361
374
|
NUMBER_0: 0,
|
|
362
375
|
NUMBER_1: 1,
|
|
363
|
-
NUMBER_2: 2
|
|
376
|
+
NUMBER_2: 2,
|
|
364
377
|
};
|
|
365
378
|
exports.TcxMultiTenantModelPackageEnum = {
|
|
366
|
-
_3CxStarterBundle: '3CX Starter Bundle'
|
|
379
|
+
_3CxStarterBundle: '3CX Starter Bundle',
|
|
367
380
|
};
|
|
368
381
|
exports.TcxSetupEntityInstallTypeEnum = {
|
|
369
382
|
New: 'new',
|
|
370
383
|
Restore: 'restore',
|
|
371
384
|
Failover: 'failover',
|
|
372
|
-
MultiTenant: 'multi-tenant'
|
|
385
|
+
MultiTenant: 'multi-tenant',
|
|
373
386
|
};
|
|
374
387
|
exports.TcxSetupEntityRegionEnum = {
|
|
375
388
|
Uk1: 'UK1',
|
|
@@ -380,13 +393,13 @@ exports.TcxSetupEntityRegionEnum = {
|
|
|
380
393
|
Syd1: 'SYD1',
|
|
381
394
|
Sgp1: 'SGP1',
|
|
382
395
|
UsEastVa1: 'US-EAST-VA-1',
|
|
383
|
-
UsWestOr1: 'US-WEST-OR-1'
|
|
396
|
+
UsWestOr1: 'US-WEST-OR-1',
|
|
384
397
|
};
|
|
385
398
|
exports.TcxWizardModelInstallTypeEnum = {
|
|
386
399
|
New: 'new',
|
|
387
400
|
Restore: 'restore',
|
|
388
401
|
Failover: 'failover',
|
|
389
|
-
MultiTenant: 'multi-tenant'
|
|
402
|
+
MultiTenant: 'multi-tenant',
|
|
390
403
|
};
|
|
391
404
|
exports.TcxWizardModelInstallationStatusEnum = {
|
|
392
405
|
Building: 'Building',
|
|
@@ -403,15 +416,15 @@ exports.TcxWizardModelInstallationStatusEnum = {
|
|
|
403
416
|
RecordingsBackupInstalled: 'Recordings Backup Installed',
|
|
404
417
|
Complete: 'Complete',
|
|
405
418
|
Deleted: 'Deleted',
|
|
406
|
-
Failed: 'Failed'
|
|
419
|
+
Failed: 'Failed',
|
|
407
420
|
};
|
|
408
421
|
exports.UpgradeRequestModelLicenceTypeEnum = {
|
|
409
422
|
Lite: 'lite',
|
|
410
|
-
Pro: 'pro'
|
|
423
|
+
Pro: 'pro',
|
|
411
424
|
};
|
|
412
425
|
exports.UpgradeRequestModelSchoolTypeEnum = {
|
|
413
426
|
Primary: 'primary',
|
|
414
|
-
Secondary: 'secondary'
|
|
427
|
+
Secondary: 'secondary',
|
|
415
428
|
};
|
|
416
429
|
/**
|
|
417
430
|
* AccountsApi - axios parameter creator
|
|
@@ -603,43 +616,6 @@ var AccountsApiAxiosParamCreator = function (configuration) {
|
|
|
603
616
|
});
|
|
604
617
|
});
|
|
605
618
|
},
|
|
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
619
|
/**
|
|
644
620
|
* Get Accounts
|
|
645
621
|
* @summary Get Accounts
|
|
@@ -797,98 +773,18 @@ var AccountsApiAxiosParamCreator = function (configuration) {
|
|
|
797
773
|
});
|
|
798
774
|
});
|
|
799
775
|
},
|
|
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
776
|
/**
|
|
881
777
|
* Set 3CX Wizard CNAME
|
|
882
|
-
* @param {
|
|
778
|
+
* @param {PatchSetTcxWizardCnameRequest} [patchSetTcxWizardCnameRequest] CNAME Request
|
|
883
779
|
* @param {*} [options] Override http request option.
|
|
884
780
|
* @throws {RequiredError}
|
|
885
781
|
*/
|
|
886
|
-
patchSetTcxWizardCname: function (
|
|
782
|
+
patchSetTcxWizardCname: function (patchSetTcxWizardCnameRequest_1) {
|
|
887
783
|
var args_1 = [];
|
|
888
784
|
for (var _i = 1; _i < arguments.length; _i++) {
|
|
889
785
|
args_1[_i - 1] = arguments[_i];
|
|
890
786
|
}
|
|
891
|
-
return __awaiter(_this, __spreadArray([
|
|
787
|
+
return __awaiter(_this, __spreadArray([patchSetTcxWizardCnameRequest_1], args_1, true), void 0, function (patchSetTcxWizardCnameRequest, options) {
|
|
892
788
|
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
893
789
|
if (options === void 0) { options = {}; }
|
|
894
790
|
return __generator(this, function (_a) {
|
|
@@ -904,46 +800,7 @@ var AccountsApiAxiosParamCreator = function (configuration) {
|
|
|
904
800
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
905
801
|
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
906
802
|
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);
|
|
803
|
+
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(patchSetTcxWizardCnameRequest, localVarRequestOptions, configuration);
|
|
947
804
|
return [2 /*return*/, {
|
|
948
805
|
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
949
806
|
options: localVarRequestOptions,
|
|
@@ -1213,45 +1070,6 @@ var AccountsApiAxiosParamCreator = function (configuration) {
|
|
|
1213
1070
|
});
|
|
1214
1071
|
});
|
|
1215
1072
|
},
|
|
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
1073
|
/**
|
|
1256
1074
|
* Submit reseller application
|
|
1257
1075
|
* @summary Submit reseller application
|
|
@@ -1337,84 +1155,6 @@ var AccountsApiAxiosParamCreator = function (configuration) {
|
|
|
1337
1155
|
});
|
|
1338
1156
|
});
|
|
1339
1157
|
},
|
|
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
1158
|
};
|
|
1419
1159
|
};
|
|
1420
1160
|
exports.AccountsApiAxiosParamCreator = AccountsApiAxiosParamCreator;
|
|
@@ -1538,28 +1278,6 @@ var AccountsApiFp = function (configuration) {
|
|
|
1538
1278
|
});
|
|
1539
1279
|
});
|
|
1540
1280
|
},
|
|
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
1281
|
/**
|
|
1564
1282
|
* Get Accounts
|
|
1565
1283
|
* @summary Get Accounts
|
|
@@ -1654,124 +1372,55 @@ var AccountsApiFp = function (configuration) {
|
|
|
1654
1372
|
});
|
|
1655
1373
|
},
|
|
1656
1374
|
/**
|
|
1657
|
-
* Set
|
|
1658
|
-
* @param {
|
|
1659
|
-
* @param {PatchSetPortalAccessStateEnum} state Portal Access State
|
|
1375
|
+
* Set 3CX Wizard CNAME
|
|
1376
|
+
* @param {PatchSetTcxWizardCnameRequest} [patchSetTcxWizardCnameRequest] CNAME Request
|
|
1660
1377
|
* @param {*} [options] Override http request option.
|
|
1661
1378
|
* @throws {RequiredError}
|
|
1662
1379
|
*/
|
|
1663
|
-
|
|
1380
|
+
patchSetTcxWizardCname: function (patchSetTcxWizardCnameRequest, options) {
|
|
1664
1381
|
return __awaiter(this, void 0, void 0, function () {
|
|
1665
1382
|
var localVarAxiosArgs, localVarOperationServerIndex, localVarOperationServerBasePath;
|
|
1666
1383
|
var _a, _b, _c;
|
|
1667
1384
|
return __generator(this, function (_d) {
|
|
1668
1385
|
switch (_d.label) {
|
|
1669
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.
|
|
1386
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.patchSetTcxWizardCname(patchSetTcxWizardCnameRequest, options)];
|
|
1670
1387
|
case 1:
|
|
1671
1388
|
localVarAxiosArgs = _d.sent();
|
|
1672
1389
|
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.
|
|
1390
|
+
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
1391
|
return [2 /*return*/, function (axios, basePath) { return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath); }];
|
|
1675
1392
|
}
|
|
1676
1393
|
});
|
|
1677
1394
|
});
|
|
1678
1395
|
},
|
|
1679
1396
|
/**
|
|
1680
|
-
*
|
|
1681
|
-
* @
|
|
1682
|
-
* @param {
|
|
1397
|
+
* Update Account Password
|
|
1398
|
+
* @summary Update Account Password
|
|
1399
|
+
* @param {string} token Verification Token
|
|
1400
|
+
* @param {PatchUpdateAccountContactPasswordRequest} [patchUpdateAccountContactPasswordRequest] New account request
|
|
1683
1401
|
* @param {*} [options] Override http request option.
|
|
1684
1402
|
* @throws {RequiredError}
|
|
1685
1403
|
*/
|
|
1686
|
-
|
|
1404
|
+
patchUpdateAccountContactPassword: function (token, patchUpdateAccountContactPasswordRequest, options) {
|
|
1687
1405
|
return __awaiter(this, void 0, void 0, function () {
|
|
1688
1406
|
var localVarAxiosArgs, localVarOperationServerIndex, localVarOperationServerBasePath;
|
|
1689
1407
|
var _a, _b, _c;
|
|
1690
1408
|
return __generator(this, function (_d) {
|
|
1691
1409
|
switch (_d.label) {
|
|
1692
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.
|
|
1410
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.patchUpdateAccountContactPassword(token, patchUpdateAccountContactPasswordRequest, options)];
|
|
1693
1411
|
case 1:
|
|
1694
1412
|
localVarAxiosArgs = _d.sent();
|
|
1695
1413
|
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.
|
|
1414
|
+
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
1415
|
return [2 /*return*/, function (axios, basePath) { return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath); }];
|
|
1698
1416
|
}
|
|
1699
1417
|
});
|
|
1700
1418
|
});
|
|
1701
1419
|
},
|
|
1702
1420
|
/**
|
|
1703
|
-
*
|
|
1704
|
-
* @
|
|
1705
|
-
* @param {
|
|
1706
|
-
* @throws {RequiredError}
|
|
1707
|
-
*/
|
|
1708
|
-
patchSetTcxWizardCname: function (patchUpdateAccountCnameRequest, options) {
|
|
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
|
|
1421
|
+
* Add Account Contacts
|
|
1422
|
+
* @summary Add Account Contact
|
|
1423
|
+
* @param {AccountContactRequestModel} [accountContactRequestModel] New account request
|
|
1775
1424
|
* @param {*} [options] Override http request option.
|
|
1776
1425
|
* @throws {RequiredError}
|
|
1777
1426
|
*/
|
|
@@ -1905,29 +1554,6 @@ var AccountsApiFp = function (configuration) {
|
|
|
1905
1554
|
});
|
|
1906
1555
|
});
|
|
1907
1556
|
},
|
|
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
1557
|
/**
|
|
1932
1558
|
* Submit reseller application
|
|
1933
1559
|
* @summary Submit reseller application
|
|
@@ -1977,52 +1603,6 @@ var AccountsApiFp = function (configuration) {
|
|
|
1977
1603
|
});
|
|
1978
1604
|
});
|
|
1979
1605
|
},
|
|
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
1606
|
};
|
|
2027
1607
|
};
|
|
2028
1608
|
exports.AccountsApiFp = AccountsApiFp;
|
|
@@ -2081,15 +1661,6 @@ var AccountsApiFactory = function (configuration, basePath, axios) {
|
|
|
2081
1661
|
getGetAccountDetailedSummary: function (id, options) {
|
|
2082
1662
|
return localVarFp.getGetAccountDetailedSummary(id, options).then(function (request) { return request(axios, basePath); });
|
|
2083
1663
|
},
|
|
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
1664
|
/**
|
|
2094
1665
|
* Get Accounts
|
|
2095
1666
|
* @summary Get Accounts
|
|
@@ -2131,44 +1702,14 @@ var AccountsApiFactory = function (configuration, basePath, axios) {
|
|
|
2131
1702
|
getVerifyEmailAddress: function (token, options) {
|
|
2132
1703
|
return localVarFp.getVerifyEmailAddress(token, options).then(function (request) { return request(axios, basePath); });
|
|
2133
1704
|
},
|
|
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
1705
|
/**
|
|
2155
1706
|
* Set 3CX Wizard CNAME
|
|
2156
|
-
* @param {
|
|
1707
|
+
* @param {PatchSetTcxWizardCnameRequest} [patchSetTcxWizardCnameRequest] CNAME Request
|
|
2157
1708
|
* @param {*} [options] Override http request option.
|
|
2158
1709
|
* @throws {RequiredError}
|
|
2159
1710
|
*/
|
|
2160
|
-
patchSetTcxWizardCname: function (
|
|
2161
|
-
return localVarFp.patchSetTcxWizardCname(
|
|
2162
|
-
},
|
|
2163
|
-
/**
|
|
2164
|
-
* Set Account Prize Promo
|
|
2165
|
-
* @param {string} id Xero ID
|
|
2166
|
-
* @param {PatchUpdateAccountCnameRequest} [patchUpdateAccountCnameRequest] CNAME Request
|
|
2167
|
-
* @param {*} [options] Override http request option.
|
|
2168
|
-
* @throws {RequiredError}
|
|
2169
|
-
*/
|
|
2170
|
-
patchUpdateAccountCname: function (id, patchUpdateAccountCnameRequest, options) {
|
|
2171
|
-
return localVarFp.patchUpdateAccountCname(id, patchUpdateAccountCnameRequest, options).then(function (request) { return request(axios, basePath); });
|
|
1711
|
+
patchSetTcxWizardCname: function (patchSetTcxWizardCnameRequest, options) {
|
|
1712
|
+
return localVarFp.patchSetTcxWizardCname(patchSetTcxWizardCnameRequest, options).then(function (request) { return request(axios, basePath); });
|
|
2172
1713
|
},
|
|
2173
1714
|
/**
|
|
2174
1715
|
* Update Account Password
|
|
@@ -2240,16 +1781,6 @@ var AccountsApiFactory = function (configuration, basePath, axios) {
|
|
|
2240
1781
|
postSendPasswordReset: function (email, options) {
|
|
2241
1782
|
return localVarFp.postSendPasswordReset(email, options).then(function (request) { return request(axios, basePath); });
|
|
2242
1783
|
},
|
|
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
1784
|
/**
|
|
2254
1785
|
* Submit reseller application
|
|
2255
1786
|
* @summary Submit reseller application
|
|
@@ -2273,26 +1804,6 @@ var AccountsApiFactory = function (configuration, basePath, axios) {
|
|
|
2273
1804
|
putUpdateAccountContact: function (email, accountContactRequestModel, options) {
|
|
2274
1805
|
return localVarFp.putUpdateAccountContact(email, accountContactRequestModel, options).then(function (request) { return request(axios, basePath); });
|
|
2275
1806
|
},
|
|
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
1807
|
};
|
|
2297
1808
|
};
|
|
2298
1809
|
exports.AccountsApiFactory = AccountsApiFactory;
|
|
@@ -2358,16 +1869,6 @@ var AccountsApi = /** @class */ (function (_super) {
|
|
|
2358
1869
|
var _this = this;
|
|
2359
1870
|
return (0, exports.AccountsApiFp)(this.configuration).getGetAccountDetailedSummary(id, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
2360
1871
|
};
|
|
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
1872
|
/**
|
|
2372
1873
|
* Get Accounts
|
|
2373
1874
|
* @summary Get Accounts
|
|
@@ -2413,48 +1914,15 @@ var AccountsApi = /** @class */ (function (_super) {
|
|
|
2413
1914
|
var _this = this;
|
|
2414
1915
|
return (0, exports.AccountsApiFp)(this.configuration).getVerifyEmailAddress(token, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
2415
1916
|
};
|
|
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
1917
|
/**
|
|
2439
1918
|
* 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
|
|
1919
|
+
* @param {PatchSetTcxWizardCnameRequest} [patchSetTcxWizardCnameRequest] CNAME Request
|
|
2452
1920
|
* @param {*} [options] Override http request option.
|
|
2453
1921
|
* @throws {RequiredError}
|
|
2454
1922
|
*/
|
|
2455
|
-
AccountsApi.prototype.
|
|
1923
|
+
AccountsApi.prototype.patchSetTcxWizardCname = function (patchSetTcxWizardCnameRequest, options) {
|
|
2456
1924
|
var _this = this;
|
|
2457
|
-
return (0, exports.AccountsApiFp)(this.configuration).
|
|
1925
|
+
return (0, exports.AccountsApiFp)(this.configuration).patchSetTcxWizardCname(patchSetTcxWizardCnameRequest, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
2458
1926
|
};
|
|
2459
1927
|
/**
|
|
2460
1928
|
* Update Account Password
|
|
@@ -2533,17 +2001,6 @@ var AccountsApi = /** @class */ (function (_super) {
|
|
|
2533
2001
|
var _this = this;
|
|
2534
2002
|
return (0, exports.AccountsApiFp)(this.configuration).postSendPasswordReset(email, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
2535
2003
|
};
|
|
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
2004
|
/**
|
|
2548
2005
|
* Submit reseller application
|
|
2549
2006
|
* @summary Submit reseller application
|
|
@@ -2569,39 +2026,9 @@ var AccountsApi = /** @class */ (function (_super) {
|
|
|
2569
2026
|
var _this = this;
|
|
2570
2027
|
return (0, exports.AccountsApiFp)(this.configuration).putUpdateAccountContact(email, accountContactRequestModel, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
2571
2028
|
};
|
|
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
2029
|
return AccountsApi;
|
|
2595
2030
|
}(base_1.BaseAPI));
|
|
2596
2031
|
exports.AccountsApi = AccountsApi;
|
|
2597
|
-
exports.PatchSetPortalAccessStateEnum = {
|
|
2598
|
-
Enable: 'enable',
|
|
2599
|
-
Disable: 'disable'
|
|
2600
|
-
};
|
|
2601
|
-
exports.PatchSetPrizePromoStateEnum = {
|
|
2602
|
-
Enable: 'enable',
|
|
2603
|
-
Disable: 'disable'
|
|
2604
|
-
};
|
|
2605
2032
|
/**
|
|
2606
2033
|
* CRMApi - axios parameter creator
|
|
2607
2034
|
*/
|
|
@@ -5871,6 +5298,49 @@ var Class3CXInstallationsApiAxiosParamCreator = function (configuration) {
|
|
|
5871
5298
|
});
|
|
5872
5299
|
});
|
|
5873
5300
|
},
|
|
5301
|
+
/**
|
|
5302
|
+
* Change instance owner
|
|
5303
|
+
* @summary Change instance owner
|
|
5304
|
+
* @param {string} instanceId Instance ID
|
|
5305
|
+
* @param {number} customerId Customer ID
|
|
5306
|
+
* @param {*} [options] Override http request option.
|
|
5307
|
+
* @throws {RequiredError}
|
|
5308
|
+
*/
|
|
5309
|
+
patchChangeInstanceOwner: function (instanceId_1, customerId_1) {
|
|
5310
|
+
var args_1 = [];
|
|
5311
|
+
for (var _i = 2; _i < arguments.length; _i++) {
|
|
5312
|
+
args_1[_i - 2] = arguments[_i];
|
|
5313
|
+
}
|
|
5314
|
+
return __awaiter(_this, __spreadArray([instanceId_1, customerId_1], args_1, true), void 0, function (instanceId, customerId, options) {
|
|
5315
|
+
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
5316
|
+
if (options === void 0) { options = {}; }
|
|
5317
|
+
return __generator(this, function (_a) {
|
|
5318
|
+
// verify required parameter 'instanceId' is not null or undefined
|
|
5319
|
+
(0, common_1.assertParamExists)('patchChangeInstanceOwner', 'instanceId', instanceId);
|
|
5320
|
+
// verify required parameter 'customerId' is not null or undefined
|
|
5321
|
+
(0, common_1.assertParamExists)('patchChangeInstanceOwner', 'customerId', customerId);
|
|
5322
|
+
localVarPath = "/tcx/installations/{instance_id}/owner"
|
|
5323
|
+
.replace("{".concat("instance_id", "}"), encodeURIComponent(String(instanceId)));
|
|
5324
|
+
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
5325
|
+
if (configuration) {
|
|
5326
|
+
baseOptions = configuration.baseOptions;
|
|
5327
|
+
}
|
|
5328
|
+
localVarRequestOptions = __assign(__assign({ method: 'PATCH' }, baseOptions), options);
|
|
5329
|
+
localVarHeaderParameter = {};
|
|
5330
|
+
localVarQueryParameter = {};
|
|
5331
|
+
if (customerId !== undefined) {
|
|
5332
|
+
localVarQueryParameter['customer_id'] = customerId;
|
|
5333
|
+
}
|
|
5334
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
5335
|
+
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
5336
|
+
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
5337
|
+
return [2 /*return*/, {
|
|
5338
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
5339
|
+
options: localVarRequestOptions,
|
|
5340
|
+
}];
|
|
5341
|
+
});
|
|
5342
|
+
});
|
|
5343
|
+
},
|
|
5874
5344
|
/**
|
|
5875
5345
|
* Update 3CX Instance Auto Failover
|
|
5876
5346
|
* @summary Update 3CX Instance Auto Failover
|
|
@@ -6049,7 +5519,7 @@ var Class3CXInstallationsApiAxiosParamCreator = function (configuration) {
|
|
|
6049
5519
|
* @summary Extend additional disk on 3CX Instance
|
|
6050
5520
|
* @param {string} instanceId Instance ID
|
|
6051
5521
|
* @param {number} gigabytes Disk Space (GB)
|
|
6052
|
-
* @param {string} schedule Scheduled Task (Date & Time)
|
|
5522
|
+
* @param {string} [schedule] Scheduled Task (Date & Time)
|
|
6053
5523
|
* @param {*} [options] Override http request option.
|
|
6054
5524
|
* @throws {RequiredError}
|
|
6055
5525
|
*/
|
|
@@ -6066,8 +5536,6 @@ var Class3CXInstallationsApiAxiosParamCreator = function (configuration) {
|
|
|
6066
5536
|
(0, common_1.assertParamExists)('postExtendDisk', 'instanceId', instanceId);
|
|
6067
5537
|
// verify required parameter 'gigabytes' is not null or undefined
|
|
6068
5538
|
(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
5539
|
localVarPath = "/tcx/installations/{instance_id}/disk/extend"
|
|
6072
5540
|
.replace("{".concat("instance_id", "}"), encodeURIComponent(String(instanceId)));
|
|
6073
5541
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
@@ -6137,25 +5605,25 @@ var Class3CXInstallationsApiAxiosParamCreator = function (configuration) {
|
|
|
6137
5605
|
});
|
|
6138
5606
|
},
|
|
6139
5607
|
/**
|
|
6140
|
-
*
|
|
6141
|
-
* @summary
|
|
6142
|
-
* @param {
|
|
5608
|
+
* Install 3CX SBC
|
|
5609
|
+
* @summary Install 3CX SBC
|
|
5610
|
+
* @param {number} sbcId SBC ID
|
|
6143
5611
|
* @param {*} [options] Override http request option.
|
|
6144
5612
|
* @throws {RequiredError}
|
|
6145
5613
|
*/
|
|
6146
|
-
|
|
5614
|
+
postInstallTcxSbc: function (sbcId_1) {
|
|
6147
5615
|
var args_1 = [];
|
|
6148
5616
|
for (var _i = 1; _i < arguments.length; _i++) {
|
|
6149
5617
|
args_1[_i - 1] = arguments[_i];
|
|
6150
5618
|
}
|
|
6151
|
-
return __awaiter(_this, __spreadArray([
|
|
5619
|
+
return __awaiter(_this, __spreadArray([sbcId_1], args_1, true), void 0, function (sbcId, options) {
|
|
6152
5620
|
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
6153
5621
|
if (options === void 0) { options = {}; }
|
|
6154
5622
|
return __generator(this, function (_a) {
|
|
6155
|
-
// verify required parameter '
|
|
6156
|
-
(0, common_1.assertParamExists)('
|
|
6157
|
-
localVarPath = "/tcx/installations/{
|
|
6158
|
-
.replace("{".concat("
|
|
5623
|
+
// verify required parameter 'sbcId' is not null or undefined
|
|
5624
|
+
(0, common_1.assertParamExists)('postInstallTcxSbc', 'sbcId', sbcId);
|
|
5625
|
+
localVarPath = "/tcx/installations/sbcs/{sbc_id}/install"
|
|
5626
|
+
.replace("{".concat("sbc_id", "}"), encodeURIComponent(String(sbcId)));
|
|
6159
5627
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
6160
5628
|
if (configuration) {
|
|
6161
5629
|
baseOptions = configuration.baseOptions;
|
|
@@ -6163,6 +5631,7 @@ var Class3CXInstallationsApiAxiosParamCreator = function (configuration) {
|
|
|
6163
5631
|
localVarRequestOptions = __assign(__assign({ method: 'POST' }, baseOptions), options);
|
|
6164
5632
|
localVarHeaderParameter = {};
|
|
6165
5633
|
localVarQueryParameter = {};
|
|
5634
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
6166
5635
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
6167
5636
|
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
6168
5637
|
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
@@ -6174,26 +5643,63 @@ var Class3CXInstallationsApiAxiosParamCreator = function (configuration) {
|
|
|
6174
5643
|
});
|
|
6175
5644
|
},
|
|
6176
5645
|
/**
|
|
6177
|
-
*
|
|
6178
|
-
* @summary
|
|
5646
|
+
* Reboot 3CX Instance
|
|
5647
|
+
* @summary Reboot 3CX Instance
|
|
6179
5648
|
* @param {string} instanceId Instance ID
|
|
6180
|
-
* @param {PostResizeInstanceSizeEnum} size Instance Spec
|
|
6181
|
-
* @param {string} [schedule] Scheduled Task (Date & Time)
|
|
6182
5649
|
* @param {*} [options] Override http request option.
|
|
6183
5650
|
* @throws {RequiredError}
|
|
6184
5651
|
*/
|
|
6185
|
-
|
|
5652
|
+
postRebootInstance: function (instanceId_1) {
|
|
6186
5653
|
var args_1 = [];
|
|
6187
|
-
for (var _i =
|
|
6188
|
-
args_1[_i -
|
|
5654
|
+
for (var _i = 1; _i < arguments.length; _i++) {
|
|
5655
|
+
args_1[_i - 1] = arguments[_i];
|
|
6189
5656
|
}
|
|
6190
|
-
return __awaiter(_this, __spreadArray([instanceId_1
|
|
5657
|
+
return __awaiter(_this, __spreadArray([instanceId_1], args_1, true), void 0, function (instanceId, options) {
|
|
6191
5658
|
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
6192
5659
|
if (options === void 0) { options = {}; }
|
|
6193
5660
|
return __generator(this, function (_a) {
|
|
6194
5661
|
// verify required parameter 'instanceId' is not null or undefined
|
|
6195
|
-
(0, common_1.assertParamExists)('
|
|
6196
|
-
|
|
5662
|
+
(0, common_1.assertParamExists)('postRebootInstance', 'instanceId', instanceId);
|
|
5663
|
+
localVarPath = "/tcx/installations/{instance_id}/reboot"
|
|
5664
|
+
.replace("{".concat("instance_id", "}"), encodeURIComponent(String(instanceId)));
|
|
5665
|
+
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
5666
|
+
if (configuration) {
|
|
5667
|
+
baseOptions = configuration.baseOptions;
|
|
5668
|
+
}
|
|
5669
|
+
localVarRequestOptions = __assign(__assign({ method: 'POST' }, baseOptions), options);
|
|
5670
|
+
localVarHeaderParameter = {};
|
|
5671
|
+
localVarQueryParameter = {};
|
|
5672
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
5673
|
+
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
5674
|
+
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
5675
|
+
return [2 /*return*/, {
|
|
5676
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
5677
|
+
options: localVarRequestOptions,
|
|
5678
|
+
}];
|
|
5679
|
+
});
|
|
5680
|
+
});
|
|
5681
|
+
},
|
|
5682
|
+
/**
|
|
5683
|
+
* Resize 3CX Instance
|
|
5684
|
+
* @summary Resize 3CX Instance
|
|
5685
|
+
* @param {string} instanceId Instance ID
|
|
5686
|
+
* @param {PostResizeInstanceSizeEnum} size Instance Spec
|
|
5687
|
+
* @param {string} [schedule] Scheduled Task (Date & Time)
|
|
5688
|
+
* @param {*} [options] Override http request option.
|
|
5689
|
+
* @throws {RequiredError}
|
|
5690
|
+
*/
|
|
5691
|
+
postResizeInstance: function (instanceId_1, size_1, schedule_1) {
|
|
5692
|
+
var args_1 = [];
|
|
5693
|
+
for (var _i = 3; _i < arguments.length; _i++) {
|
|
5694
|
+
args_1[_i - 3] = arguments[_i];
|
|
5695
|
+
}
|
|
5696
|
+
return __awaiter(_this, __spreadArray([instanceId_1, size_1, schedule_1], args_1, true), void 0, function (instanceId, size, schedule, options) {
|
|
5697
|
+
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
5698
|
+
if (options === void 0) { options = {}; }
|
|
5699
|
+
return __generator(this, function (_a) {
|
|
5700
|
+
// verify required parameter 'instanceId' is not null or undefined
|
|
5701
|
+
(0, common_1.assertParamExists)('postResizeInstance', 'instanceId', instanceId);
|
|
5702
|
+
// verify required parameter 'size' is not null or undefined
|
|
6197
5703
|
(0, common_1.assertParamExists)('postResizeInstance', 'size', size);
|
|
6198
5704
|
localVarPath = "/tcx/installations/{instance_id}/resize"
|
|
6199
5705
|
.replace("{".concat("instance_id", "}"), encodeURIComponent(String(instanceId)));
|
|
@@ -6220,6 +5726,88 @@ var Class3CXInstallationsApiAxiosParamCreator = function (configuration) {
|
|
|
6220
5726
|
});
|
|
6221
5727
|
});
|
|
6222
5728
|
},
|
|
5729
|
+
/**
|
|
5730
|
+
* Restart 3CX Services
|
|
5731
|
+
* @summary Restart 3CX Services
|
|
5732
|
+
* @param {string} instanceId Instance ID
|
|
5733
|
+
* @param {string} [schedule] Scheduled Task (Date & Time)
|
|
5734
|
+
* @param {*} [options] Override http request option.
|
|
5735
|
+
* @throws {RequiredError}
|
|
5736
|
+
*/
|
|
5737
|
+
postRestartServices: function (instanceId_1, schedule_1) {
|
|
5738
|
+
var args_1 = [];
|
|
5739
|
+
for (var _i = 2; _i < arguments.length; _i++) {
|
|
5740
|
+
args_1[_i - 2] = arguments[_i];
|
|
5741
|
+
}
|
|
5742
|
+
return __awaiter(_this, __spreadArray([instanceId_1, schedule_1], args_1, true), void 0, function (instanceId, schedule, options) {
|
|
5743
|
+
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
5744
|
+
if (options === void 0) { options = {}; }
|
|
5745
|
+
return __generator(this, function (_a) {
|
|
5746
|
+
// verify required parameter 'instanceId' is not null or undefined
|
|
5747
|
+
(0, common_1.assertParamExists)('postRestartServices', 'instanceId', instanceId);
|
|
5748
|
+
localVarPath = "/tcx/installations/{instance_id}/services/restart"
|
|
5749
|
+
.replace("{".concat("instance_id", "}"), encodeURIComponent(String(instanceId)));
|
|
5750
|
+
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
5751
|
+
if (configuration) {
|
|
5752
|
+
baseOptions = configuration.baseOptions;
|
|
5753
|
+
}
|
|
5754
|
+
localVarRequestOptions = __assign(__assign({ method: 'POST' }, baseOptions), options);
|
|
5755
|
+
localVarHeaderParameter = {};
|
|
5756
|
+
localVarQueryParameter = {};
|
|
5757
|
+
if (schedule !== undefined) {
|
|
5758
|
+
localVarQueryParameter['schedule'] = schedule;
|
|
5759
|
+
}
|
|
5760
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
5761
|
+
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
5762
|
+
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
5763
|
+
return [2 /*return*/, {
|
|
5764
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
5765
|
+
options: localVarRequestOptions,
|
|
5766
|
+
}];
|
|
5767
|
+
});
|
|
5768
|
+
});
|
|
5769
|
+
},
|
|
5770
|
+
/**
|
|
5771
|
+
* Reboot Instance
|
|
5772
|
+
* @summary Reboot Instance
|
|
5773
|
+
* @param {string} instanceId Instance ID
|
|
5774
|
+
* @param {string} [schedule] Scheduled Task (Date & Time)
|
|
5775
|
+
* @param {*} [options] Override http request option.
|
|
5776
|
+
* @throws {RequiredError}
|
|
5777
|
+
*/
|
|
5778
|
+
postScheduledReboot: function (instanceId_1, schedule_1) {
|
|
5779
|
+
var args_1 = [];
|
|
5780
|
+
for (var _i = 2; _i < arguments.length; _i++) {
|
|
5781
|
+
args_1[_i - 2] = arguments[_i];
|
|
5782
|
+
}
|
|
5783
|
+
return __awaiter(_this, __spreadArray([instanceId_1, schedule_1], args_1, true), void 0, function (instanceId, schedule, options) {
|
|
5784
|
+
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
5785
|
+
if (options === void 0) { options = {}; }
|
|
5786
|
+
return __generator(this, function (_a) {
|
|
5787
|
+
// verify required parameter 'instanceId' is not null or undefined
|
|
5788
|
+
(0, common_1.assertParamExists)('postScheduledReboot', 'instanceId', instanceId);
|
|
5789
|
+
localVarPath = "/tcx/installations/{instance_id}/reboot/scheduled"
|
|
5790
|
+
.replace("{".concat("instance_id", "}"), encodeURIComponent(String(instanceId)));
|
|
5791
|
+
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
5792
|
+
if (configuration) {
|
|
5793
|
+
baseOptions = configuration.baseOptions;
|
|
5794
|
+
}
|
|
5795
|
+
localVarRequestOptions = __assign(__assign({ method: 'POST' }, baseOptions), options);
|
|
5796
|
+
localVarHeaderParameter = {};
|
|
5797
|
+
localVarQueryParameter = {};
|
|
5798
|
+
if (schedule !== undefined) {
|
|
5799
|
+
localVarQueryParameter['schedule'] = schedule;
|
|
5800
|
+
}
|
|
5801
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
5802
|
+
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
5803
|
+
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
5804
|
+
return [2 /*return*/, {
|
|
5805
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
5806
|
+
options: localVarRequestOptions,
|
|
5807
|
+
}];
|
|
5808
|
+
});
|
|
5809
|
+
});
|
|
5810
|
+
},
|
|
6223
5811
|
/**
|
|
6224
5812
|
* Suspend 3CX Instance
|
|
6225
5813
|
* @summary Suspend 3CX Instance
|
|
@@ -6261,6 +5849,43 @@ var Class3CXInstallationsApiAxiosParamCreator = function (configuration) {
|
|
|
6261
5849
|
});
|
|
6262
5850
|
});
|
|
6263
5851
|
},
|
|
5852
|
+
/**
|
|
5853
|
+
* Test 3CX Login Credentials
|
|
5854
|
+
* @summary Test 3CX Login Credentials
|
|
5855
|
+
* @param {string} instanceId Instance ID
|
|
5856
|
+
* @param {*} [options] Override http request option.
|
|
5857
|
+
* @throws {RequiredError}
|
|
5858
|
+
*/
|
|
5859
|
+
postTestLoginCredentials: function (instanceId_1) {
|
|
5860
|
+
var args_1 = [];
|
|
5861
|
+
for (var _i = 1; _i < arguments.length; _i++) {
|
|
5862
|
+
args_1[_i - 1] = arguments[_i];
|
|
5863
|
+
}
|
|
5864
|
+
return __awaiter(_this, __spreadArray([instanceId_1], args_1, true), void 0, function (instanceId, options) {
|
|
5865
|
+
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
5866
|
+
if (options === void 0) { options = {}; }
|
|
5867
|
+
return __generator(this, function (_a) {
|
|
5868
|
+
// verify required parameter 'instanceId' is not null or undefined
|
|
5869
|
+
(0, common_1.assertParamExists)('postTestLoginCredentials', 'instanceId', instanceId);
|
|
5870
|
+
localVarPath = "/tcx/installations/{instance_id}/tests/login"
|
|
5871
|
+
.replace("{".concat("instance_id", "}"), encodeURIComponent(String(instanceId)));
|
|
5872
|
+
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
5873
|
+
if (configuration) {
|
|
5874
|
+
baseOptions = configuration.baseOptions;
|
|
5875
|
+
}
|
|
5876
|
+
localVarRequestOptions = __assign(__assign({ method: 'POST' }, baseOptions), options);
|
|
5877
|
+
localVarHeaderParameter = {};
|
|
5878
|
+
localVarQueryParameter = {};
|
|
5879
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
5880
|
+
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
5881
|
+
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
5882
|
+
return [2 /*return*/, {
|
|
5883
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
5884
|
+
options: localVarRequestOptions,
|
|
5885
|
+
}];
|
|
5886
|
+
});
|
|
5887
|
+
});
|
|
5888
|
+
},
|
|
6264
5889
|
/**
|
|
6265
5890
|
* Unsuspend 3CX Instance
|
|
6266
5891
|
* @summary Unsuspend 3CX Instance
|
|
@@ -6341,6 +5966,47 @@ var Class3CXInstallationsApiAxiosParamCreator = function (configuration) {
|
|
|
6341
5966
|
});
|
|
6342
5967
|
});
|
|
6343
5968
|
},
|
|
5969
|
+
/**
|
|
5970
|
+
* Update 3CX Installation Details
|
|
5971
|
+
* @summary Update 3CX Installation Details
|
|
5972
|
+
* @param {number} wizardId Wizard ID
|
|
5973
|
+
* @param {InstallationDetailsDTO} [installationDetailsDTO] Installation Details
|
|
5974
|
+
* @param {*} [options] Override http request option.
|
|
5975
|
+
* @throws {RequiredError}
|
|
5976
|
+
*/
|
|
5977
|
+
putGetDetails: function (wizardId_1, installationDetailsDTO_1) {
|
|
5978
|
+
var args_1 = [];
|
|
5979
|
+
for (var _i = 2; _i < arguments.length; _i++) {
|
|
5980
|
+
args_1[_i - 2] = arguments[_i];
|
|
5981
|
+
}
|
|
5982
|
+
return __awaiter(_this, __spreadArray([wizardId_1, installationDetailsDTO_1], args_1, true), void 0, function (wizardId, installationDetailsDTO, options) {
|
|
5983
|
+
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
5984
|
+
if (options === void 0) { options = {}; }
|
|
5985
|
+
return __generator(this, function (_a) {
|
|
5986
|
+
// verify required parameter 'wizardId' is not null or undefined
|
|
5987
|
+
(0, common_1.assertParamExists)('putGetDetails', 'wizardId', wizardId);
|
|
5988
|
+
localVarPath = "/tcx/installations/{wizard_id}/details"
|
|
5989
|
+
.replace("{".concat("wizard_id", "}"), encodeURIComponent(String(wizardId)));
|
|
5990
|
+
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
5991
|
+
if (configuration) {
|
|
5992
|
+
baseOptions = configuration.baseOptions;
|
|
5993
|
+
}
|
|
5994
|
+
localVarRequestOptions = __assign(__assign({ method: 'PUT' }, baseOptions), options);
|
|
5995
|
+
localVarHeaderParameter = {};
|
|
5996
|
+
localVarQueryParameter = {};
|
|
5997
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
5998
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
5999
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
6000
|
+
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
6001
|
+
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
6002
|
+
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(installationDetailsDTO, localVarRequestOptions, configuration);
|
|
6003
|
+
return [2 /*return*/, {
|
|
6004
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
6005
|
+
options: localVarRequestOptions,
|
|
6006
|
+
}];
|
|
6007
|
+
});
|
|
6008
|
+
});
|
|
6009
|
+
},
|
|
6344
6010
|
};
|
|
6345
6011
|
};
|
|
6346
6012
|
exports.Class3CXInstallationsApiAxiosParamCreator = Class3CXInstallationsApiAxiosParamCreator;
|
|
@@ -6402,6 +6068,30 @@ var Class3CXInstallationsApiFp = function (configuration) {
|
|
|
6402
6068
|
});
|
|
6403
6069
|
});
|
|
6404
6070
|
},
|
|
6071
|
+
/**
|
|
6072
|
+
* Change instance owner
|
|
6073
|
+
* @summary Change instance owner
|
|
6074
|
+
* @param {string} instanceId Instance ID
|
|
6075
|
+
* @param {number} customerId Customer ID
|
|
6076
|
+
* @param {*} [options] Override http request option.
|
|
6077
|
+
* @throws {RequiredError}
|
|
6078
|
+
*/
|
|
6079
|
+
patchChangeInstanceOwner: function (instanceId, customerId, options) {
|
|
6080
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
6081
|
+
var localVarAxiosArgs, localVarOperationServerIndex, localVarOperationServerBasePath;
|
|
6082
|
+
var _a, _b, _c;
|
|
6083
|
+
return __generator(this, function (_d) {
|
|
6084
|
+
switch (_d.label) {
|
|
6085
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.patchChangeInstanceOwner(instanceId, customerId, options)];
|
|
6086
|
+
case 1:
|
|
6087
|
+
localVarAxiosArgs = _d.sent();
|
|
6088
|
+
localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
6089
|
+
localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['Class3CXInstallationsApi.patchChangeInstanceOwner']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
6090
|
+
return [2 /*return*/, function (axios, basePath) { return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath); }];
|
|
6091
|
+
}
|
|
6092
|
+
});
|
|
6093
|
+
});
|
|
6094
|
+
},
|
|
6405
6095
|
/**
|
|
6406
6096
|
* Update 3CX Instance Auto Failover
|
|
6407
6097
|
* @summary Update 3CX Instance Auto Failover
|
|
@@ -6503,7 +6193,7 @@ var Class3CXInstallationsApiFp = function (configuration) {
|
|
|
6503
6193
|
* @summary Extend additional disk on 3CX Instance
|
|
6504
6194
|
* @param {string} instanceId Instance ID
|
|
6505
6195
|
* @param {number} gigabytes Disk Space (GB)
|
|
6506
|
-
* @param {string} schedule Scheduled Task (Date & Time)
|
|
6196
|
+
* @param {string} [schedule] Scheduled Task (Date & Time)
|
|
6507
6197
|
* @param {*} [options] Override http request option.
|
|
6508
6198
|
* @throws {RequiredError}
|
|
6509
6199
|
*/
|
|
@@ -6547,6 +6237,29 @@ var Class3CXInstallationsApiFp = function (configuration) {
|
|
|
6547
6237
|
});
|
|
6548
6238
|
});
|
|
6549
6239
|
},
|
|
6240
|
+
/**
|
|
6241
|
+
* Install 3CX SBC
|
|
6242
|
+
* @summary Install 3CX SBC
|
|
6243
|
+
* @param {number} sbcId SBC ID
|
|
6244
|
+
* @param {*} [options] Override http request option.
|
|
6245
|
+
* @throws {RequiredError}
|
|
6246
|
+
*/
|
|
6247
|
+
postInstallTcxSbc: function (sbcId, options) {
|
|
6248
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
6249
|
+
var localVarAxiosArgs, localVarOperationServerIndex, localVarOperationServerBasePath;
|
|
6250
|
+
var _a, _b, _c;
|
|
6251
|
+
return __generator(this, function (_d) {
|
|
6252
|
+
switch (_d.label) {
|
|
6253
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.postInstallTcxSbc(sbcId, options)];
|
|
6254
|
+
case 1:
|
|
6255
|
+
localVarAxiosArgs = _d.sent();
|
|
6256
|
+
localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
6257
|
+
localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['Class3CXInstallationsApi.postInstallTcxSbc']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
6258
|
+
return [2 /*return*/, function (axios, basePath) { return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath); }];
|
|
6259
|
+
}
|
|
6260
|
+
});
|
|
6261
|
+
});
|
|
6262
|
+
},
|
|
6550
6263
|
/**
|
|
6551
6264
|
* Reboot 3CX Instance
|
|
6552
6265
|
* @summary Reboot 3CX Instance
|
|
@@ -6596,95 +6309,190 @@ var Class3CXInstallationsApiFp = function (configuration) {
|
|
|
6596
6309
|
});
|
|
6597
6310
|
},
|
|
6598
6311
|
/**
|
|
6599
|
-
*
|
|
6600
|
-
* @summary
|
|
6312
|
+
* Restart 3CX Services
|
|
6313
|
+
* @summary Restart 3CX Services
|
|
6601
6314
|
* @param {string} instanceId Instance ID
|
|
6602
6315
|
* @param {string} [schedule] Scheduled Task (Date & Time)
|
|
6603
6316
|
* @param {*} [options] Override http request option.
|
|
6604
6317
|
* @throws {RequiredError}
|
|
6605
6318
|
*/
|
|
6606
|
-
|
|
6319
|
+
postRestartServices: function (instanceId, schedule, options) {
|
|
6607
6320
|
return __awaiter(this, void 0, void 0, function () {
|
|
6608
6321
|
var localVarAxiosArgs, localVarOperationServerIndex, localVarOperationServerBasePath;
|
|
6609
6322
|
var _a, _b, _c;
|
|
6610
6323
|
return __generator(this, function (_d) {
|
|
6611
6324
|
switch (_d.label) {
|
|
6612
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.
|
|
6325
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.postRestartServices(instanceId, schedule, options)];
|
|
6613
6326
|
case 1:
|
|
6614
6327
|
localVarAxiosArgs = _d.sent();
|
|
6615
6328
|
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.
|
|
6329
|
+
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
6330
|
return [2 /*return*/, function (axios, basePath) { return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath); }];
|
|
6618
6331
|
}
|
|
6619
6332
|
});
|
|
6620
6333
|
});
|
|
6621
6334
|
},
|
|
6622
6335
|
/**
|
|
6623
|
-
*
|
|
6624
|
-
* @summary
|
|
6336
|
+
* Reboot Instance
|
|
6337
|
+
* @summary Reboot Instance
|
|
6625
6338
|
* @param {string} instanceId Instance ID
|
|
6339
|
+
* @param {string} [schedule] Scheduled Task (Date & Time)
|
|
6626
6340
|
* @param {*} [options] Override http request option.
|
|
6627
6341
|
* @throws {RequiredError}
|
|
6628
6342
|
*/
|
|
6629
|
-
|
|
6343
|
+
postScheduledReboot: function (instanceId, schedule, options) {
|
|
6630
6344
|
return __awaiter(this, void 0, void 0, function () {
|
|
6631
6345
|
var localVarAxiosArgs, localVarOperationServerIndex, localVarOperationServerBasePath;
|
|
6632
6346
|
var _a, _b, _c;
|
|
6633
6347
|
return __generator(this, function (_d) {
|
|
6634
6348
|
switch (_d.label) {
|
|
6635
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.
|
|
6349
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.postScheduledReboot(instanceId, schedule, options)];
|
|
6636
6350
|
case 1:
|
|
6637
6351
|
localVarAxiosArgs = _d.sent();
|
|
6638
6352
|
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.
|
|
6353
|
+
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
6354
|
return [2 /*return*/, function (axios, basePath) { return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath); }];
|
|
6641
6355
|
}
|
|
6642
6356
|
});
|
|
6643
6357
|
});
|
|
6644
6358
|
},
|
|
6645
6359
|
/**
|
|
6646
|
-
*
|
|
6647
|
-
* @summary
|
|
6360
|
+
* Suspend 3CX Instance
|
|
6361
|
+
* @summary Suspend 3CX Instance
|
|
6648
6362
|
* @param {string} instanceId Instance ID
|
|
6649
|
-
* @param {string} schedule Scheduled Task (Date & Time)
|
|
6363
|
+
* @param {string} [schedule] Scheduled Task (Date & Time)
|
|
6650
6364
|
* @param {*} [options] Override http request option.
|
|
6651
6365
|
* @throws {RequiredError}
|
|
6652
6366
|
*/
|
|
6653
|
-
|
|
6367
|
+
postSuspendInstance: function (instanceId, schedule, options) {
|
|
6654
6368
|
return __awaiter(this, void 0, void 0, function () {
|
|
6655
6369
|
var localVarAxiosArgs, localVarOperationServerIndex, localVarOperationServerBasePath;
|
|
6656
6370
|
var _a, _b, _c;
|
|
6657
6371
|
return __generator(this, function (_d) {
|
|
6658
6372
|
switch (_d.label) {
|
|
6659
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.
|
|
6373
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.postSuspendInstance(instanceId, schedule, options)];
|
|
6660
6374
|
case 1:
|
|
6661
6375
|
localVarAxiosArgs = _d.sent();
|
|
6662
6376
|
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.
|
|
6377
|
+
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
6378
|
return [2 /*return*/, function (axios, basePath) { return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath); }];
|
|
6665
6379
|
}
|
|
6666
6380
|
});
|
|
6667
6381
|
});
|
|
6668
6382
|
},
|
|
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
6383
|
/**
|
|
6679
|
-
*
|
|
6680
|
-
* @summary
|
|
6681
|
-
* @param {
|
|
6384
|
+
* Test 3CX Login Credentials
|
|
6385
|
+
* @summary Test 3CX Login Credentials
|
|
6386
|
+
* @param {string} instanceId Instance ID
|
|
6682
6387
|
* @param {*} [options] Override http request option.
|
|
6683
6388
|
* @throws {RequiredError}
|
|
6684
6389
|
*/
|
|
6685
|
-
|
|
6686
|
-
return
|
|
6687
|
-
|
|
6390
|
+
postTestLoginCredentials: function (instanceId, options) {
|
|
6391
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
6392
|
+
var localVarAxiosArgs, localVarOperationServerIndex, localVarOperationServerBasePath;
|
|
6393
|
+
var _a, _b, _c;
|
|
6394
|
+
return __generator(this, function (_d) {
|
|
6395
|
+
switch (_d.label) {
|
|
6396
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.postTestLoginCredentials(instanceId, options)];
|
|
6397
|
+
case 1:
|
|
6398
|
+
localVarAxiosArgs = _d.sent();
|
|
6399
|
+
localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
6400
|
+
localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['Class3CXInstallationsApi.postTestLoginCredentials']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
6401
|
+
return [2 /*return*/, function (axios, basePath) { return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath); }];
|
|
6402
|
+
}
|
|
6403
|
+
});
|
|
6404
|
+
});
|
|
6405
|
+
},
|
|
6406
|
+
/**
|
|
6407
|
+
* Unsuspend 3CX Instance
|
|
6408
|
+
* @summary Unsuspend 3CX Instance
|
|
6409
|
+
* @param {string} instanceId Instance ID
|
|
6410
|
+
* @param {*} [options] Override http request option.
|
|
6411
|
+
* @throws {RequiredError}
|
|
6412
|
+
*/
|
|
6413
|
+
postUnsuspendInstance: function (instanceId, options) {
|
|
6414
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
6415
|
+
var localVarAxiosArgs, localVarOperationServerIndex, localVarOperationServerBasePath;
|
|
6416
|
+
var _a, _b, _c;
|
|
6417
|
+
return __generator(this, function (_d) {
|
|
6418
|
+
switch (_d.label) {
|
|
6419
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.postUnsuspendInstance(instanceId, options)];
|
|
6420
|
+
case 1:
|
|
6421
|
+
localVarAxiosArgs = _d.sent();
|
|
6422
|
+
localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
6423
|
+
localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['Class3CXInstallationsApi.postUnsuspendInstance']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
6424
|
+
return [2 /*return*/, function (axios, basePath) { return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath); }];
|
|
6425
|
+
}
|
|
6426
|
+
});
|
|
6427
|
+
});
|
|
6428
|
+
},
|
|
6429
|
+
/**
|
|
6430
|
+
* Install OS update on 3CX Instance
|
|
6431
|
+
* @summary Install OS update on 3CX Instance
|
|
6432
|
+
* @param {string} instanceId Instance ID
|
|
6433
|
+
* @param {string} schedule Scheduled Task (Date & Time)
|
|
6434
|
+
* @param {*} [options] Override http request option.
|
|
6435
|
+
* @throws {RequiredError}
|
|
6436
|
+
*/
|
|
6437
|
+
postUpgradeDebian: function (instanceId, schedule, options) {
|
|
6438
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
6439
|
+
var localVarAxiosArgs, localVarOperationServerIndex, localVarOperationServerBasePath;
|
|
6440
|
+
var _a, _b, _c;
|
|
6441
|
+
return __generator(this, function (_d) {
|
|
6442
|
+
switch (_d.label) {
|
|
6443
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.postUpgradeDebian(instanceId, schedule, options)];
|
|
6444
|
+
case 1:
|
|
6445
|
+
localVarAxiosArgs = _d.sent();
|
|
6446
|
+
localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
6447
|
+
localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['Class3CXInstallationsApi.postUpgradeDebian']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
6448
|
+
return [2 /*return*/, function (axios, basePath) { return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath); }];
|
|
6449
|
+
}
|
|
6450
|
+
});
|
|
6451
|
+
});
|
|
6452
|
+
},
|
|
6453
|
+
/**
|
|
6454
|
+
* Update 3CX Installation Details
|
|
6455
|
+
* @summary Update 3CX Installation Details
|
|
6456
|
+
* @param {number} wizardId Wizard ID
|
|
6457
|
+
* @param {InstallationDetailsDTO} [installationDetailsDTO] Installation Details
|
|
6458
|
+
* @param {*} [options] Override http request option.
|
|
6459
|
+
* @throws {RequiredError}
|
|
6460
|
+
*/
|
|
6461
|
+
putGetDetails: function (wizardId, installationDetailsDTO, options) {
|
|
6462
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
6463
|
+
var localVarAxiosArgs, localVarOperationServerIndex, localVarOperationServerBasePath;
|
|
6464
|
+
var _a, _b, _c;
|
|
6465
|
+
return __generator(this, function (_d) {
|
|
6466
|
+
switch (_d.label) {
|
|
6467
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.putGetDetails(wizardId, installationDetailsDTO, options)];
|
|
6468
|
+
case 1:
|
|
6469
|
+
localVarAxiosArgs = _d.sent();
|
|
6470
|
+
localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
6471
|
+
localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['Class3CXInstallationsApi.putGetDetails']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
6472
|
+
return [2 /*return*/, function (axios, basePath) { return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath); }];
|
|
6473
|
+
}
|
|
6474
|
+
});
|
|
6475
|
+
});
|
|
6476
|
+
},
|
|
6477
|
+
};
|
|
6478
|
+
};
|
|
6479
|
+
exports.Class3CXInstallationsApiFp = Class3CXInstallationsApiFp;
|
|
6480
|
+
/**
|
|
6481
|
+
* Class3CXInstallationsApi - factory interface
|
|
6482
|
+
*/
|
|
6483
|
+
var Class3CXInstallationsApiFactory = function (configuration, basePath, axios) {
|
|
6484
|
+
var localVarFp = (0, exports.Class3CXInstallationsApiFp)(configuration);
|
|
6485
|
+
return {
|
|
6486
|
+
/**
|
|
6487
|
+
* Get 3CX Installation Details
|
|
6488
|
+
* @summary Get 3CX Installation Details
|
|
6489
|
+
* @param {number} wizardId Wizard ID
|
|
6490
|
+
* @param {*} [options] Override http request option.
|
|
6491
|
+
* @throws {RequiredError}
|
|
6492
|
+
*/
|
|
6493
|
+
getGetDetails: function (wizardId, options) {
|
|
6494
|
+
return localVarFp.getGetDetails(wizardId, options).then(function (request) { return request(axios, basePath); });
|
|
6495
|
+
},
|
|
6688
6496
|
/**
|
|
6689
6497
|
* Get 3CX Installations
|
|
6690
6498
|
* @summary Get 3CX Installations
|
|
@@ -6701,6 +6509,17 @@ var Class3CXInstallationsApiFactory = function (configuration, basePath, axios)
|
|
|
6701
6509
|
getGetInstallations: function (pageSize, page, customerId, search, status, hosting, installType, options) {
|
|
6702
6510
|
return localVarFp.getGetInstallations(pageSize, page, customerId, search, status, hosting, installType, options).then(function (request) { return request(axios, basePath); });
|
|
6703
6511
|
},
|
|
6512
|
+
/**
|
|
6513
|
+
* Change instance owner
|
|
6514
|
+
* @summary Change instance owner
|
|
6515
|
+
* @param {string} instanceId Instance ID
|
|
6516
|
+
* @param {number} customerId Customer ID
|
|
6517
|
+
* @param {*} [options] Override http request option.
|
|
6518
|
+
* @throws {RequiredError}
|
|
6519
|
+
*/
|
|
6520
|
+
patchChangeInstanceOwner: function (instanceId, customerId, options) {
|
|
6521
|
+
return localVarFp.patchChangeInstanceOwner(instanceId, customerId, options).then(function (request) { return request(axios, basePath); });
|
|
6522
|
+
},
|
|
6704
6523
|
/**
|
|
6705
6524
|
* Update 3CX Instance Auto Failover
|
|
6706
6525
|
* @summary Update 3CX Instance Auto Failover
|
|
@@ -6750,7 +6569,7 @@ var Class3CXInstallationsApiFactory = function (configuration, basePath, axios)
|
|
|
6750
6569
|
* @summary Extend additional disk on 3CX Instance
|
|
6751
6570
|
* @param {string} instanceId Instance ID
|
|
6752
6571
|
* @param {number} gigabytes Disk Space (GB)
|
|
6753
|
-
* @param {string} schedule Scheduled Task (Date & Time)
|
|
6572
|
+
* @param {string} [schedule] Scheduled Task (Date & Time)
|
|
6754
6573
|
* @param {*} [options] Override http request option.
|
|
6755
6574
|
* @throws {RequiredError}
|
|
6756
6575
|
*/
|
|
@@ -6768,6 +6587,16 @@ var Class3CXInstallationsApiFactory = function (configuration, basePath, axios)
|
|
|
6768
6587
|
postFailoverInstance: function (instanceId, type, options) {
|
|
6769
6588
|
return localVarFp.postFailoverInstance(instanceId, type, options).then(function (request) { return request(axios, basePath); });
|
|
6770
6589
|
},
|
|
6590
|
+
/**
|
|
6591
|
+
* Install 3CX SBC
|
|
6592
|
+
* @summary Install 3CX SBC
|
|
6593
|
+
* @param {number} sbcId SBC ID
|
|
6594
|
+
* @param {*} [options] Override http request option.
|
|
6595
|
+
* @throws {RequiredError}
|
|
6596
|
+
*/
|
|
6597
|
+
postInstallTcxSbc: function (sbcId, options) {
|
|
6598
|
+
return localVarFp.postInstallTcxSbc(sbcId, options).then(function (request) { return request(axios, basePath); });
|
|
6599
|
+
},
|
|
6771
6600
|
/**
|
|
6772
6601
|
* Reboot 3CX Instance
|
|
6773
6602
|
* @summary Reboot 3CX Instance
|
|
@@ -6790,6 +6619,28 @@ var Class3CXInstallationsApiFactory = function (configuration, basePath, axios)
|
|
|
6790
6619
|
postResizeInstance: function (instanceId, size, schedule, options) {
|
|
6791
6620
|
return localVarFp.postResizeInstance(instanceId, size, schedule, options).then(function (request) { return request(axios, basePath); });
|
|
6792
6621
|
},
|
|
6622
|
+
/**
|
|
6623
|
+
* Restart 3CX Services
|
|
6624
|
+
* @summary Restart 3CX Services
|
|
6625
|
+
* @param {string} instanceId Instance ID
|
|
6626
|
+
* @param {string} [schedule] Scheduled Task (Date & Time)
|
|
6627
|
+
* @param {*} [options] Override http request option.
|
|
6628
|
+
* @throws {RequiredError}
|
|
6629
|
+
*/
|
|
6630
|
+
postRestartServices: function (instanceId, schedule, options) {
|
|
6631
|
+
return localVarFp.postRestartServices(instanceId, schedule, options).then(function (request) { return request(axios, basePath); });
|
|
6632
|
+
},
|
|
6633
|
+
/**
|
|
6634
|
+
* Reboot Instance
|
|
6635
|
+
* @summary Reboot Instance
|
|
6636
|
+
* @param {string} instanceId Instance ID
|
|
6637
|
+
* @param {string} [schedule] Scheduled Task (Date & Time)
|
|
6638
|
+
* @param {*} [options] Override http request option.
|
|
6639
|
+
* @throws {RequiredError}
|
|
6640
|
+
*/
|
|
6641
|
+
postScheduledReboot: function (instanceId, schedule, options) {
|
|
6642
|
+
return localVarFp.postScheduledReboot(instanceId, schedule, options).then(function (request) { return request(axios, basePath); });
|
|
6643
|
+
},
|
|
6793
6644
|
/**
|
|
6794
6645
|
* Suspend 3CX Instance
|
|
6795
6646
|
* @summary Suspend 3CX Instance
|
|
@@ -6801,6 +6652,16 @@ var Class3CXInstallationsApiFactory = function (configuration, basePath, axios)
|
|
|
6801
6652
|
postSuspendInstance: function (instanceId, schedule, options) {
|
|
6802
6653
|
return localVarFp.postSuspendInstance(instanceId, schedule, options).then(function (request) { return request(axios, basePath); });
|
|
6803
6654
|
},
|
|
6655
|
+
/**
|
|
6656
|
+
* Test 3CX Login Credentials
|
|
6657
|
+
* @summary Test 3CX Login Credentials
|
|
6658
|
+
* @param {string} instanceId Instance ID
|
|
6659
|
+
* @param {*} [options] Override http request option.
|
|
6660
|
+
* @throws {RequiredError}
|
|
6661
|
+
*/
|
|
6662
|
+
postTestLoginCredentials: function (instanceId, options) {
|
|
6663
|
+
return localVarFp.postTestLoginCredentials(instanceId, options).then(function (request) { return request(axios, basePath); });
|
|
6664
|
+
},
|
|
6804
6665
|
/**
|
|
6805
6666
|
* Unsuspend 3CX Instance
|
|
6806
6667
|
* @summary Unsuspend 3CX Instance
|
|
@@ -6822,6 +6683,17 @@ var Class3CXInstallationsApiFactory = function (configuration, basePath, axios)
|
|
|
6822
6683
|
postUpgradeDebian: function (instanceId, schedule, options) {
|
|
6823
6684
|
return localVarFp.postUpgradeDebian(instanceId, schedule, options).then(function (request) { return request(axios, basePath); });
|
|
6824
6685
|
},
|
|
6686
|
+
/**
|
|
6687
|
+
* Update 3CX Installation Details
|
|
6688
|
+
* @summary Update 3CX Installation Details
|
|
6689
|
+
* @param {number} wizardId Wizard ID
|
|
6690
|
+
* @param {InstallationDetailsDTO} [installationDetailsDTO] Installation Details
|
|
6691
|
+
* @param {*} [options] Override http request option.
|
|
6692
|
+
* @throws {RequiredError}
|
|
6693
|
+
*/
|
|
6694
|
+
putGetDetails: function (wizardId, installationDetailsDTO, options) {
|
|
6695
|
+
return localVarFp.putGetDetails(wizardId, installationDetailsDTO, options).then(function (request) { return request(axios, basePath); });
|
|
6696
|
+
},
|
|
6825
6697
|
};
|
|
6826
6698
|
};
|
|
6827
6699
|
exports.Class3CXInstallationsApiFactory = Class3CXInstallationsApiFactory;
|
|
@@ -6861,6 +6733,18 @@ var Class3CXInstallationsApi = /** @class */ (function (_super) {
|
|
|
6861
6733
|
var _this = this;
|
|
6862
6734
|
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
6735
|
};
|
|
6736
|
+
/**
|
|
6737
|
+
* Change instance owner
|
|
6738
|
+
* @summary Change instance owner
|
|
6739
|
+
* @param {string} instanceId Instance ID
|
|
6740
|
+
* @param {number} customerId Customer ID
|
|
6741
|
+
* @param {*} [options] Override http request option.
|
|
6742
|
+
* @throws {RequiredError}
|
|
6743
|
+
*/
|
|
6744
|
+
Class3CXInstallationsApi.prototype.patchChangeInstanceOwner = function (instanceId, customerId, options) {
|
|
6745
|
+
var _this = this;
|
|
6746
|
+
return (0, exports.Class3CXInstallationsApiFp)(this.configuration).patchChangeInstanceOwner(instanceId, customerId, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
6747
|
+
};
|
|
6864
6748
|
/**
|
|
6865
6749
|
* Update 3CX Instance Auto Failover
|
|
6866
6750
|
* @summary Update 3CX Instance Auto Failover
|
|
@@ -6914,7 +6798,7 @@ var Class3CXInstallationsApi = /** @class */ (function (_super) {
|
|
|
6914
6798
|
* @summary Extend additional disk on 3CX Instance
|
|
6915
6799
|
* @param {string} instanceId Instance ID
|
|
6916
6800
|
* @param {number} gigabytes Disk Space (GB)
|
|
6917
|
-
* @param {string} schedule Scheduled Task (Date & Time)
|
|
6801
|
+
* @param {string} [schedule] Scheduled Task (Date & Time)
|
|
6918
6802
|
* @param {*} [options] Override http request option.
|
|
6919
6803
|
* @throws {RequiredError}
|
|
6920
6804
|
*/
|
|
@@ -6934,6 +6818,17 @@ var Class3CXInstallationsApi = /** @class */ (function (_super) {
|
|
|
6934
6818
|
var _this = this;
|
|
6935
6819
|
return (0, exports.Class3CXInstallationsApiFp)(this.configuration).postFailoverInstance(instanceId, type, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
6936
6820
|
};
|
|
6821
|
+
/**
|
|
6822
|
+
* Install 3CX SBC
|
|
6823
|
+
* @summary Install 3CX SBC
|
|
6824
|
+
* @param {number} sbcId SBC ID
|
|
6825
|
+
* @param {*} [options] Override http request option.
|
|
6826
|
+
* @throws {RequiredError}
|
|
6827
|
+
*/
|
|
6828
|
+
Class3CXInstallationsApi.prototype.postInstallTcxSbc = function (sbcId, options) {
|
|
6829
|
+
var _this = this;
|
|
6830
|
+
return (0, exports.Class3CXInstallationsApiFp)(this.configuration).postInstallTcxSbc(sbcId, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
6831
|
+
};
|
|
6937
6832
|
/**
|
|
6938
6833
|
* Reboot 3CX Instance
|
|
6939
6834
|
* @summary Reboot 3CX Instance
|
|
@@ -6958,6 +6853,30 @@ var Class3CXInstallationsApi = /** @class */ (function (_super) {
|
|
|
6958
6853
|
var _this = this;
|
|
6959
6854
|
return (0, exports.Class3CXInstallationsApiFp)(this.configuration).postResizeInstance(instanceId, size, schedule, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
6960
6855
|
};
|
|
6856
|
+
/**
|
|
6857
|
+
* Restart 3CX Services
|
|
6858
|
+
* @summary Restart 3CX Services
|
|
6859
|
+
* @param {string} instanceId Instance ID
|
|
6860
|
+
* @param {string} [schedule] Scheduled Task (Date & Time)
|
|
6861
|
+
* @param {*} [options] Override http request option.
|
|
6862
|
+
* @throws {RequiredError}
|
|
6863
|
+
*/
|
|
6864
|
+
Class3CXInstallationsApi.prototype.postRestartServices = function (instanceId, schedule, options) {
|
|
6865
|
+
var _this = this;
|
|
6866
|
+
return (0, exports.Class3CXInstallationsApiFp)(this.configuration).postRestartServices(instanceId, schedule, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
6867
|
+
};
|
|
6868
|
+
/**
|
|
6869
|
+
* Reboot Instance
|
|
6870
|
+
* @summary Reboot Instance
|
|
6871
|
+
* @param {string} instanceId Instance ID
|
|
6872
|
+
* @param {string} [schedule] Scheduled Task (Date & Time)
|
|
6873
|
+
* @param {*} [options] Override http request option.
|
|
6874
|
+
* @throws {RequiredError}
|
|
6875
|
+
*/
|
|
6876
|
+
Class3CXInstallationsApi.prototype.postScheduledReboot = function (instanceId, schedule, options) {
|
|
6877
|
+
var _this = this;
|
|
6878
|
+
return (0, exports.Class3CXInstallationsApiFp)(this.configuration).postScheduledReboot(instanceId, schedule, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
6879
|
+
};
|
|
6961
6880
|
/**
|
|
6962
6881
|
* Suspend 3CX Instance
|
|
6963
6882
|
* @summary Suspend 3CX Instance
|
|
@@ -6970,6 +6889,17 @@ var Class3CXInstallationsApi = /** @class */ (function (_super) {
|
|
|
6970
6889
|
var _this = this;
|
|
6971
6890
|
return (0, exports.Class3CXInstallationsApiFp)(this.configuration).postSuspendInstance(instanceId, schedule, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
6972
6891
|
};
|
|
6892
|
+
/**
|
|
6893
|
+
* Test 3CX Login Credentials
|
|
6894
|
+
* @summary Test 3CX Login Credentials
|
|
6895
|
+
* @param {string} instanceId Instance ID
|
|
6896
|
+
* @param {*} [options] Override http request option.
|
|
6897
|
+
* @throws {RequiredError}
|
|
6898
|
+
*/
|
|
6899
|
+
Class3CXInstallationsApi.prototype.postTestLoginCredentials = function (instanceId, options) {
|
|
6900
|
+
var _this = this;
|
|
6901
|
+
return (0, exports.Class3CXInstallationsApiFp)(this.configuration).postTestLoginCredentials(instanceId, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
6902
|
+
};
|
|
6973
6903
|
/**
|
|
6974
6904
|
* Unsuspend 3CX Instance
|
|
6975
6905
|
* @summary Unsuspend 3CX Instance
|
|
@@ -6993,6 +6923,18 @@ var Class3CXInstallationsApi = /** @class */ (function (_super) {
|
|
|
6993
6923
|
var _this = this;
|
|
6994
6924
|
return (0, exports.Class3CXInstallationsApiFp)(this.configuration).postUpgradeDebian(instanceId, schedule, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
6995
6925
|
};
|
|
6926
|
+
/**
|
|
6927
|
+
* Update 3CX Installation Details
|
|
6928
|
+
* @summary Update 3CX Installation Details
|
|
6929
|
+
* @param {number} wizardId Wizard ID
|
|
6930
|
+
* @param {InstallationDetailsDTO} [installationDetailsDTO] Installation Details
|
|
6931
|
+
* @param {*} [options] Override http request option.
|
|
6932
|
+
* @throws {RequiredError}
|
|
6933
|
+
*/
|
|
6934
|
+
Class3CXInstallationsApi.prototype.putGetDetails = function (wizardId, installationDetailsDTO, options) {
|
|
6935
|
+
var _this = this;
|
|
6936
|
+
return (0, exports.Class3CXInstallationsApiFp)(this.configuration).putGetDetails(wizardId, installationDetailsDTO, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
6937
|
+
};
|
|
6996
6938
|
return Class3CXInstallationsApi;
|
|
6997
6939
|
}(base_1.BaseAPI));
|
|
6998
6940
|
exports.Class3CXInstallationsApi = Class3CXInstallationsApi;
|
|
@@ -7000,30 +6942,30 @@ exports.GetGetInstallationsStatusEnum = {
|
|
|
7000
6942
|
Completed: 'Completed',
|
|
7001
6943
|
Outstanding: 'Outstanding',
|
|
7002
6944
|
Offline: 'Offline',
|
|
7003
|
-
FailedOver: 'Failed Over'
|
|
6945
|
+
FailedOver: 'Failed Over',
|
|
7004
6946
|
};
|
|
7005
6947
|
exports.GetGetInstallationsHostingEnum = {
|
|
7006
6948
|
Yellowgrid: 'yellowgrid',
|
|
7007
6949
|
MultiTenant: 'multi-tenant',
|
|
7008
6950
|
Onprem: 'onprem',
|
|
7009
|
-
All: 'all'
|
|
6951
|
+
All: 'all',
|
|
7010
6952
|
};
|
|
7011
6953
|
exports.GetGetInstallationsInstallTypeEnum = {
|
|
7012
6954
|
New: 'new',
|
|
7013
6955
|
Restore: 'restore',
|
|
7014
6956
|
Failover: 'failover',
|
|
7015
|
-
MultiTenant: 'multi-tenant'
|
|
6957
|
+
MultiTenant: 'multi-tenant',
|
|
7016
6958
|
};
|
|
7017
6959
|
exports.PostFailoverInstanceTypeEnum = {
|
|
7018
6960
|
Config: 'config',
|
|
7019
|
-
Image: 'image'
|
|
6961
|
+
Image: 'image',
|
|
7020
6962
|
};
|
|
7021
6963
|
exports.PostResizeInstanceSizeEnum = {
|
|
7022
6964
|
D24: 'd2-4',
|
|
7023
6965
|
D28: 'd2-8',
|
|
7024
6966
|
B230: 'b2-30',
|
|
7025
6967
|
S2vcpu4gb: 's-2vcpu-4gb',
|
|
7026
|
-
S4vcpu8gb: 's-4vcpu-8gb'
|
|
6968
|
+
S4vcpu8gb: 's-4vcpu-8gb',
|
|
7027
6969
|
};
|
|
7028
6970
|
/**
|
|
7029
6971
|
* Class3CXIntegrationsApi - axios parameter creator
|
|
@@ -7564,11 +7506,11 @@ var Class3CXIntegrationsApi = /** @class */ (function (_super) {
|
|
|
7564
7506
|
exports.Class3CXIntegrationsApi = Class3CXIntegrationsApi;
|
|
7565
7507
|
exports.GetGetPriceLicenceTypeEnum = {
|
|
7566
7508
|
Lite: 'lite',
|
|
7567
|
-
Pro: 'pro'
|
|
7509
|
+
Pro: 'pro',
|
|
7568
7510
|
};
|
|
7569
7511
|
exports.GetGetPriceSchoolTypeEnum = {
|
|
7570
7512
|
Primary: 'primary',
|
|
7571
|
-
Secondary: 'secondary'
|
|
7513
|
+
Secondary: 'secondary',
|
|
7572
7514
|
};
|
|
7573
7515
|
/**
|
|
7574
7516
|
* Class3CXMultiTenantApi - axios parameter creator
|
|
@@ -8289,7 +8231,7 @@ exports.GetGetTenantsStatusEnum = {
|
|
|
8289
8231
|
Completed: 'Completed',
|
|
8290
8232
|
Outstanding: 'Outstanding',
|
|
8291
8233
|
Offline: 'Offline',
|
|
8292
|
-
FailedOver: 'Failed Over'
|
|
8234
|
+
FailedOver: 'Failed Over',
|
|
8293
8235
|
};
|
|
8294
8236
|
/**
|
|
8295
8237
|
* MyPBXToolsApi - axios parameter creator
|
|
@@ -10335,7 +10277,7 @@ exports.PostAccessTokenGrantTypeEnum = {
|
|
|
10335
10277
|
AuthorizationCode: 'authorization_code',
|
|
10336
10278
|
MsAuth: 'ms_auth',
|
|
10337
10279
|
TokenExchange: 'token_exchange',
|
|
10338
|
-
Password: 'password'
|
|
10280
|
+
Password: 'password',
|
|
10339
10281
|
};
|
|
10340
10282
|
exports.PostAccessTokenScopeEnum = {
|
|
10341
10283
|
Star: '*',
|
|
@@ -10365,11 +10307,11 @@ exports.PostAccessTokenScopeEnum = {
|
|
|
10365
10307
|
TcxMtRead: 'tcx_mt.read',
|
|
10366
10308
|
TcxMtWrite: 'tcx_mt.write',
|
|
10367
10309
|
TicketsRead: 'tickets.read',
|
|
10368
|
-
TicketsWrite: 'tickets.write'
|
|
10310
|
+
TicketsWrite: 'tickets.write',
|
|
10369
10311
|
};
|
|
10370
10312
|
exports.PostAccessTokenTokenExchangeTypeEnum = {
|
|
10371
10313
|
TcxWizard: 'tcx_wizard',
|
|
10372
|
-
Portal: 'portal'
|
|
10314
|
+
Portal: 'portal',
|
|
10373
10315
|
};
|
|
10374
10316
|
exports.PostAuthoriseScopeEnum = {
|
|
10375
10317
|
Star: '*',
|
|
@@ -10399,7 +10341,7 @@ exports.PostAuthoriseScopeEnum = {
|
|
|
10399
10341
|
TcxMtRead: 'tcx_mt.read',
|
|
10400
10342
|
TcxMtWrite: 'tcx_mt.write',
|
|
10401
10343
|
TicketsRead: 'tickets.read',
|
|
10402
|
-
TicketsWrite: 'tickets.write'
|
|
10344
|
+
TicketsWrite: 'tickets.write',
|
|
10403
10345
|
};
|
|
10404
10346
|
/**
|
|
10405
10347
|
* OrdersApi - axios parameter creator
|
|
@@ -11034,6 +10976,43 @@ var OrdersApiAxiosParamCreator = function (configuration) {
|
|
|
11034
10976
|
});
|
|
11035
10977
|
});
|
|
11036
10978
|
},
|
|
10979
|
+
/**
|
|
10980
|
+
* Create an order via the legacy portal
|
|
10981
|
+
* @summary Create an order via the legacy portal
|
|
10982
|
+
* @param {OrderDTO} [orderDTO] Legacy Portal Order
|
|
10983
|
+
* @param {*} [options] Override http request option.
|
|
10984
|
+
* @throws {RequiredError}
|
|
10985
|
+
*/
|
|
10986
|
+
postCreatePortalOrderLegacy: function (orderDTO_1) {
|
|
10987
|
+
var args_1 = [];
|
|
10988
|
+
for (var _i = 1; _i < arguments.length; _i++) {
|
|
10989
|
+
args_1[_i - 1] = arguments[_i];
|
|
10990
|
+
}
|
|
10991
|
+
return __awaiter(_this, __spreadArray([orderDTO_1], args_1, true), void 0, function (orderDTO, options) {
|
|
10992
|
+
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
10993
|
+
if (options === void 0) { options = {}; }
|
|
10994
|
+
return __generator(this, function (_a) {
|
|
10995
|
+
localVarPath = "/orders/portal/legacy";
|
|
10996
|
+
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
10997
|
+
if (configuration) {
|
|
10998
|
+
baseOptions = configuration.baseOptions;
|
|
10999
|
+
}
|
|
11000
|
+
localVarRequestOptions = __assign(__assign({ method: 'POST' }, baseOptions), options);
|
|
11001
|
+
localVarHeaderParameter = {};
|
|
11002
|
+
localVarQueryParameter = {};
|
|
11003
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
11004
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
11005
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
11006
|
+
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
11007
|
+
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
11008
|
+
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(orderDTO, localVarRequestOptions, configuration);
|
|
11009
|
+
return [2 /*return*/, {
|
|
11010
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
11011
|
+
options: localVarRequestOptions,
|
|
11012
|
+
}];
|
|
11013
|
+
});
|
|
11014
|
+
});
|
|
11015
|
+
},
|
|
11037
11016
|
/**
|
|
11038
11017
|
* Create Shipment (Admin)
|
|
11039
11018
|
* @summary Create Shipment (Admin)
|
|
@@ -11209,6 +11188,48 @@ var OrdersApiAxiosParamCreator = function (configuration) {
|
|
|
11209
11188
|
});
|
|
11210
11189
|
});
|
|
11211
11190
|
},
|
|
11191
|
+
/**
|
|
11192
|
+
* Process 3CX Licences (Admin)
|
|
11193
|
+
* @summary Process 3CX Licences (Admin)
|
|
11194
|
+
* @param {number} id Order ID
|
|
11195
|
+
* @param {number} batchId Batch ID
|
|
11196
|
+
* @param {*} [options] Override http request option.
|
|
11197
|
+
* @throws {RequiredError}
|
|
11198
|
+
*/
|
|
11199
|
+
postProcessTcxLicences: function (id_1, batchId_1) {
|
|
11200
|
+
var args_1 = [];
|
|
11201
|
+
for (var _i = 2; _i < arguments.length; _i++) {
|
|
11202
|
+
args_1[_i - 2] = arguments[_i];
|
|
11203
|
+
}
|
|
11204
|
+
return __awaiter(_this, __spreadArray([id_1, batchId_1], args_1, true), void 0, function (id, batchId, options) {
|
|
11205
|
+
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
11206
|
+
if (options === void 0) { options = {}; }
|
|
11207
|
+
return __generator(this, function (_a) {
|
|
11208
|
+
// verify required parameter 'id' is not null or undefined
|
|
11209
|
+
(0, common_1.assertParamExists)('postProcessTcxLicences', 'id', id);
|
|
11210
|
+
// verify required parameter 'batchId' is not null or undefined
|
|
11211
|
+
(0, common_1.assertParamExists)('postProcessTcxLicences', 'batchId', batchId);
|
|
11212
|
+
localVarPath = "/admin/orders/{id}/batches/{batch_id}/licences/process"
|
|
11213
|
+
.replace("{".concat("id", "}"), encodeURIComponent(String(id)))
|
|
11214
|
+
.replace("{".concat("batch_id", "}"), encodeURIComponent(String(batchId)));
|
|
11215
|
+
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
11216
|
+
if (configuration) {
|
|
11217
|
+
baseOptions = configuration.baseOptions;
|
|
11218
|
+
}
|
|
11219
|
+
localVarRequestOptions = __assign(__assign({ method: 'POST' }, baseOptions), options);
|
|
11220
|
+
localVarHeaderParameter = {};
|
|
11221
|
+
localVarQueryParameter = {};
|
|
11222
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
11223
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
11224
|
+
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
11225
|
+
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
11226
|
+
return [2 /*return*/, {
|
|
11227
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
11228
|
+
options: localVarRequestOptions,
|
|
11229
|
+
}];
|
|
11230
|
+
});
|
|
11231
|
+
});
|
|
11232
|
+
},
|
|
11212
11233
|
/**
|
|
11213
11234
|
* Send Order Email
|
|
11214
11235
|
* @summary Send Order Email
|
|
@@ -12034,11 +12055,34 @@ var OrdersApiFp = function (configuration) {
|
|
|
12034
12055
|
});
|
|
12035
12056
|
},
|
|
12036
12057
|
/**
|
|
12037
|
-
* Create
|
|
12038
|
-
* @summary Create
|
|
12039
|
-
* @param {
|
|
12040
|
-
* @param {
|
|
12041
|
-
* @
|
|
12058
|
+
* Create an order via the legacy portal
|
|
12059
|
+
* @summary Create an order via the legacy portal
|
|
12060
|
+
* @param {OrderDTO} [orderDTO] Legacy Portal Order
|
|
12061
|
+
* @param {*} [options] Override http request option.
|
|
12062
|
+
* @throws {RequiredError}
|
|
12063
|
+
*/
|
|
12064
|
+
postCreatePortalOrderLegacy: function (orderDTO, options) {
|
|
12065
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
12066
|
+
var localVarAxiosArgs, localVarOperationServerIndex, localVarOperationServerBasePath;
|
|
12067
|
+
var _a, _b, _c;
|
|
12068
|
+
return __generator(this, function (_d) {
|
|
12069
|
+
switch (_d.label) {
|
|
12070
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.postCreatePortalOrderLegacy(orderDTO, options)];
|
|
12071
|
+
case 1:
|
|
12072
|
+
localVarAxiosArgs = _d.sent();
|
|
12073
|
+
localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
12074
|
+
localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['OrdersApi.postCreatePortalOrderLegacy']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
12075
|
+
return [2 /*return*/, function (axios, basePath) { return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath); }];
|
|
12076
|
+
}
|
|
12077
|
+
});
|
|
12078
|
+
});
|
|
12079
|
+
},
|
|
12080
|
+
/**
|
|
12081
|
+
* Create Shipment (Admin)
|
|
12082
|
+
* @summary Create Shipment (Admin)
|
|
12083
|
+
* @param {number} id Order ID
|
|
12084
|
+
* @param {number} batchId Batch ID
|
|
12085
|
+
* @param {ShipmentRequestDTO} [shipmentRequestDTO] Shipment Request
|
|
12042
12086
|
* @param {*} [options] Override http request option.
|
|
12043
12087
|
* @throws {RequiredError}
|
|
12044
12088
|
*/
|
|
@@ -12131,6 +12175,30 @@ var OrdersApiFp = function (configuration) {
|
|
|
12131
12175
|
});
|
|
12132
12176
|
});
|
|
12133
12177
|
},
|
|
12178
|
+
/**
|
|
12179
|
+
* Process 3CX Licences (Admin)
|
|
12180
|
+
* @summary Process 3CX Licences (Admin)
|
|
12181
|
+
* @param {number} id Order ID
|
|
12182
|
+
* @param {number} batchId Batch ID
|
|
12183
|
+
* @param {*} [options] Override http request option.
|
|
12184
|
+
* @throws {RequiredError}
|
|
12185
|
+
*/
|
|
12186
|
+
postProcessTcxLicences: function (id, batchId, options) {
|
|
12187
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
12188
|
+
var localVarAxiosArgs, localVarOperationServerIndex, localVarOperationServerBasePath;
|
|
12189
|
+
var _a, _b, _c;
|
|
12190
|
+
return __generator(this, function (_d) {
|
|
12191
|
+
switch (_d.label) {
|
|
12192
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.postProcessTcxLicences(id, batchId, options)];
|
|
12193
|
+
case 1:
|
|
12194
|
+
localVarAxiosArgs = _d.sent();
|
|
12195
|
+
localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
12196
|
+
localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['OrdersApi.postProcessTcxLicences']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
12197
|
+
return [2 /*return*/, function (axios, basePath) { return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath); }];
|
|
12198
|
+
}
|
|
12199
|
+
});
|
|
12200
|
+
});
|
|
12201
|
+
},
|
|
12134
12202
|
/**
|
|
12135
12203
|
* Send Order Email
|
|
12136
12204
|
* @summary Send Order Email
|
|
@@ -12554,6 +12622,16 @@ var OrdersApiFactory = function (configuration, basePath, axios) {
|
|
|
12554
12622
|
postCreateConsignment: function (id, shipmentId, shippingRequestDTO, options) {
|
|
12555
12623
|
return localVarFp.postCreateConsignment(id, shipmentId, shippingRequestDTO, options).then(function (request) { return request(axios, basePath); });
|
|
12556
12624
|
},
|
|
12625
|
+
/**
|
|
12626
|
+
* Create an order via the legacy portal
|
|
12627
|
+
* @summary Create an order via the legacy portal
|
|
12628
|
+
* @param {OrderDTO} [orderDTO] Legacy Portal Order
|
|
12629
|
+
* @param {*} [options] Override http request option.
|
|
12630
|
+
* @throws {RequiredError}
|
|
12631
|
+
*/
|
|
12632
|
+
postCreatePortalOrderLegacy: function (orderDTO, options) {
|
|
12633
|
+
return localVarFp.postCreatePortalOrderLegacy(orderDTO, options).then(function (request) { return request(axios, basePath); });
|
|
12634
|
+
},
|
|
12557
12635
|
/**
|
|
12558
12636
|
* Create Shipment (Admin)
|
|
12559
12637
|
* @summary Create Shipment (Admin)
|
|
@@ -12600,6 +12678,17 @@ var OrdersApiFactory = function (configuration, basePath, axios) {
|
|
|
12600
12678
|
postPrintShippingLabel: function (id, shipmentId, printer, options) {
|
|
12601
12679
|
return localVarFp.postPrintShippingLabel(id, shipmentId, printer, options).then(function (request) { return request(axios, basePath); });
|
|
12602
12680
|
},
|
|
12681
|
+
/**
|
|
12682
|
+
* Process 3CX Licences (Admin)
|
|
12683
|
+
* @summary Process 3CX Licences (Admin)
|
|
12684
|
+
* @param {number} id Order ID
|
|
12685
|
+
* @param {number} batchId Batch ID
|
|
12686
|
+
* @param {*} [options] Override http request option.
|
|
12687
|
+
* @throws {RequiredError}
|
|
12688
|
+
*/
|
|
12689
|
+
postProcessTcxLicences: function (id, batchId, options) {
|
|
12690
|
+
return localVarFp.postProcessTcxLicences(id, batchId, options).then(function (request) { return request(axios, basePath); });
|
|
12691
|
+
},
|
|
12603
12692
|
/**
|
|
12604
12693
|
* Send Order Email
|
|
12605
12694
|
* @summary Send Order Email
|
|
@@ -12910,6 +12999,17 @@ var OrdersApi = /** @class */ (function (_super) {
|
|
|
12910
12999
|
var _this = this;
|
|
12911
13000
|
return (0, exports.OrdersApiFp)(this.configuration).postCreateConsignment(id, shipmentId, shippingRequestDTO, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
12912
13001
|
};
|
|
13002
|
+
/**
|
|
13003
|
+
* Create an order via the legacy portal
|
|
13004
|
+
* @summary Create an order via the legacy portal
|
|
13005
|
+
* @param {OrderDTO} [orderDTO] Legacy Portal Order
|
|
13006
|
+
* @param {*} [options] Override http request option.
|
|
13007
|
+
* @throws {RequiredError}
|
|
13008
|
+
*/
|
|
13009
|
+
OrdersApi.prototype.postCreatePortalOrderLegacy = function (orderDTO, options) {
|
|
13010
|
+
var _this = this;
|
|
13011
|
+
return (0, exports.OrdersApiFp)(this.configuration).postCreatePortalOrderLegacy(orderDTO, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
13012
|
+
};
|
|
12913
13013
|
/**
|
|
12914
13014
|
* Create Shipment (Admin)
|
|
12915
13015
|
* @summary Create Shipment (Admin)
|
|
@@ -12960,6 +13060,18 @@ var OrdersApi = /** @class */ (function (_super) {
|
|
|
12960
13060
|
var _this = this;
|
|
12961
13061
|
return (0, exports.OrdersApiFp)(this.configuration).postPrintShippingLabel(id, shipmentId, printer, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
12962
13062
|
};
|
|
13063
|
+
/**
|
|
13064
|
+
* Process 3CX Licences (Admin)
|
|
13065
|
+
* @summary Process 3CX Licences (Admin)
|
|
13066
|
+
* @param {number} id Order ID
|
|
13067
|
+
* @param {number} batchId Batch ID
|
|
13068
|
+
* @param {*} [options] Override http request option.
|
|
13069
|
+
* @throws {RequiredError}
|
|
13070
|
+
*/
|
|
13071
|
+
OrdersApi.prototype.postProcessTcxLicences = function (id, batchId, options) {
|
|
13072
|
+
var _this = this;
|
|
13073
|
+
return (0, exports.OrdersApiFp)(this.configuration).postProcessTcxLicences(id, batchId, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
13074
|
+
};
|
|
12963
13075
|
/**
|
|
12964
13076
|
* Send Order Email
|
|
12965
13077
|
* @summary Send Order Email
|
|
@@ -13096,18 +13208,18 @@ exports.GetGetOrdersStatusEnum = {
|
|
|
13096
13208
|
Paid: 'PAID',
|
|
13097
13209
|
InvoicePaid: 'INVOICE_PAID',
|
|
13098
13210
|
Unpaid: 'UNPAID',
|
|
13099
|
-
Quote: 'QUOTE'
|
|
13211
|
+
Quote: 'QUOTE',
|
|
13100
13212
|
};
|
|
13101
13213
|
exports.GetGetOrdersFilterEnum = {
|
|
13102
13214
|
Outstanding: 'OUTSTANDING',
|
|
13103
13215
|
Quotes: 'QUOTES',
|
|
13104
13216
|
All: 'ALL',
|
|
13105
|
-
BackOrders: 'BACK_ORDERS'
|
|
13217
|
+
BackOrders: 'BACK_ORDERS',
|
|
13106
13218
|
};
|
|
13107
13219
|
exports.PostPrintShippingLabelPrinterEnum = {
|
|
13108
13220
|
NUMBER_1: 1,
|
|
13109
13221
|
NUMBER_2: 2,
|
|
13110
|
-
NUMBER_3: 3
|
|
13222
|
+
NUMBER_3: 3,
|
|
13111
13223
|
};
|
|
13112
13224
|
/**
|
|
13113
13225
|
* PricingApi - axios parameter creator
|
|
@@ -13380,14 +13492,14 @@ exports.GetGetPriceListTypeEnum = {
|
|
|
13380
13492
|
EdTechPro: 'EdTechPro',
|
|
13381
13493
|
Sms: 'SMS',
|
|
13382
13494
|
SipTrunks: 'SIP Trunks',
|
|
13383
|
-
CrmIntegrations: 'CRM Integrations'
|
|
13495
|
+
CrmIntegrations: 'CRM Integrations',
|
|
13384
13496
|
};
|
|
13385
13497
|
exports.GetGetPriceListFormatEnum = {
|
|
13386
13498
|
Pdf: 'pdf',
|
|
13387
13499
|
Json: 'json',
|
|
13388
13500
|
Csv: 'csv',
|
|
13389
13501
|
Xml: 'xml',
|
|
13390
|
-
Html: 'html'
|
|
13502
|
+
Html: 'html',
|
|
13391
13503
|
};
|
|
13392
13504
|
exports.GetGetPriceListCategoryEnum = {
|
|
13393
13505
|
Yealink: 'Yealink',
|
|
@@ -13409,7 +13521,7 @@ exports.GetGetPriceListCategoryEnum = {
|
|
|
13409
13521
|
FanvilWirelessPhones: 'Fanvil Wireless Phones',
|
|
13410
13522
|
FanvilSecurityProducts: 'Fanvil Security Products',
|
|
13411
13523
|
FanvilAccessories: 'Fanvil Accessories',
|
|
13412
|
-
FanvilHotelPhones: 'Fanvil Hotel Phones'
|
|
13524
|
+
FanvilHotelPhones: 'Fanvil Hotel Phones',
|
|
13413
13525
|
};
|
|
13414
13526
|
exports.PostSendPriceListTypeEnum = {
|
|
13415
13527
|
Products: 'Products',
|
|
@@ -13420,14 +13532,14 @@ exports.PostSendPriceListTypeEnum = {
|
|
|
13420
13532
|
EdTechPro: 'EdTechPro',
|
|
13421
13533
|
Sms: 'SMS',
|
|
13422
13534
|
SipTrunks: 'SIP Trunks',
|
|
13423
|
-
CrmIntegrations: 'CRM Integrations'
|
|
13535
|
+
CrmIntegrations: 'CRM Integrations',
|
|
13424
13536
|
};
|
|
13425
13537
|
exports.PostSendPriceListFormatEnum = {
|
|
13426
13538
|
Pdf: 'pdf',
|
|
13427
13539
|
Json: 'json',
|
|
13428
13540
|
Csv: 'csv',
|
|
13429
13541
|
Xml: 'xml',
|
|
13430
|
-
Html: 'html'
|
|
13542
|
+
Html: 'html',
|
|
13431
13543
|
};
|
|
13432
13544
|
exports.PostSendPriceListCategoryEnum = {
|
|
13433
13545
|
Yealink: 'Yealink',
|
|
@@ -13449,7 +13561,7 @@ exports.PostSendPriceListCategoryEnum = {
|
|
|
13449
13561
|
FanvilWirelessPhones: 'Fanvil Wireless Phones',
|
|
13450
13562
|
FanvilSecurityProducts: 'Fanvil Security Products',
|
|
13451
13563
|
FanvilAccessories: 'Fanvil Accessories',
|
|
13452
|
-
FanvilHotelPhones: 'Fanvil Hotel Phones'
|
|
13564
|
+
FanvilHotelPhones: 'Fanvil Hotel Phones',
|
|
13453
13565
|
};
|
|
13454
13566
|
/**
|
|
13455
13567
|
* ProductsApi - axios parameter creator
|
|
@@ -13761,23 +13873,23 @@ var ProductsApiAxiosParamCreator = function (configuration) {
|
|
|
13761
13873
|
* Get Product
|
|
13762
13874
|
* @summary Get Product
|
|
13763
13875
|
* @param {string} sku Product SKU
|
|
13764
|
-
* @param {
|
|
13876
|
+
* @param {PostGetProductForCustomerRequest} postGetProductForCustomerRequest Product search criteria
|
|
13765
13877
|
* @param {*} [options] Override http request option.
|
|
13766
13878
|
* @throws {RequiredError}
|
|
13767
13879
|
*/
|
|
13768
|
-
postGetProduct: function (sku_1,
|
|
13880
|
+
postGetProduct: function (sku_1, postGetProductForCustomerRequest_1) {
|
|
13769
13881
|
var args_1 = [];
|
|
13770
13882
|
for (var _i = 2; _i < arguments.length; _i++) {
|
|
13771
13883
|
args_1[_i - 2] = arguments[_i];
|
|
13772
13884
|
}
|
|
13773
|
-
return __awaiter(_this, __spreadArray([sku_1,
|
|
13885
|
+
return __awaiter(_this, __spreadArray([sku_1, postGetProductForCustomerRequest_1], args_1, true), void 0, function (sku, postGetProductForCustomerRequest, options) {
|
|
13774
13886
|
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
13775
13887
|
if (options === void 0) { options = {}; }
|
|
13776
13888
|
return __generator(this, function (_a) {
|
|
13777
13889
|
// verify required parameter 'sku' is not null or undefined
|
|
13778
13890
|
(0, common_1.assertParamExists)('postGetProduct', 'sku', sku);
|
|
13779
|
-
// verify required parameter '
|
|
13780
|
-
(0, common_1.assertParamExists)('postGetProduct', '
|
|
13891
|
+
// verify required parameter 'postGetProductForCustomerRequest' is not null or undefined
|
|
13892
|
+
(0, common_1.assertParamExists)('postGetProduct', 'postGetProductForCustomerRequest', postGetProductForCustomerRequest);
|
|
13781
13893
|
localVarPath = "/products/{sku}"
|
|
13782
13894
|
.replace("{".concat("sku", "}"), encodeURIComponent(String(sku)));
|
|
13783
13895
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
@@ -13792,7 +13904,7 @@ var ProductsApiAxiosParamCreator = function (configuration) {
|
|
|
13792
13904
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
13793
13905
|
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
13794
13906
|
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
13795
|
-
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(
|
|
13907
|
+
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(postGetProductForCustomerRequest, localVarRequestOptions, configuration);
|
|
13796
13908
|
return [2 /*return*/, {
|
|
13797
13909
|
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
13798
13910
|
options: localVarRequestOptions,
|
|
@@ -14045,17 +14157,17 @@ var ProductsApiFp = function (configuration) {
|
|
|
14045
14157
|
* Get Product
|
|
14046
14158
|
* @summary Get Product
|
|
14047
14159
|
* @param {string} sku Product SKU
|
|
14048
|
-
* @param {
|
|
14160
|
+
* @param {PostGetProductForCustomerRequest} postGetProductForCustomerRequest Product search criteria
|
|
14049
14161
|
* @param {*} [options] Override http request option.
|
|
14050
14162
|
* @throws {RequiredError}
|
|
14051
14163
|
*/
|
|
14052
|
-
postGetProduct: function (sku,
|
|
14164
|
+
postGetProduct: function (sku, postGetProductForCustomerRequest, options) {
|
|
14053
14165
|
return __awaiter(this, void 0, void 0, function () {
|
|
14054
14166
|
var localVarAxiosArgs, localVarOperationServerIndex, localVarOperationServerBasePath;
|
|
14055
14167
|
var _a, _b, _c;
|
|
14056
14168
|
return __generator(this, function (_d) {
|
|
14057
14169
|
switch (_d.label) {
|
|
14058
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.postGetProduct(sku,
|
|
14170
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.postGetProduct(sku, postGetProductForCustomerRequest, options)];
|
|
14059
14171
|
case 1:
|
|
14060
14172
|
localVarAxiosArgs = _d.sent();
|
|
14061
14173
|
localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
@@ -14182,12 +14294,12 @@ var ProductsApiFactory = function (configuration, basePath, axios) {
|
|
|
14182
14294
|
* Get Product
|
|
14183
14295
|
* @summary Get Product
|
|
14184
14296
|
* @param {string} sku Product SKU
|
|
14185
|
-
* @param {
|
|
14297
|
+
* @param {PostGetProductForCustomerRequest} postGetProductForCustomerRequest Product search criteria
|
|
14186
14298
|
* @param {*} [options] Override http request option.
|
|
14187
14299
|
* @throws {RequiredError}
|
|
14188
14300
|
*/
|
|
14189
|
-
postGetProduct: function (sku,
|
|
14190
|
-
return localVarFp.postGetProduct(sku,
|
|
14301
|
+
postGetProduct: function (sku, postGetProductForCustomerRequest, options) {
|
|
14302
|
+
return localVarFp.postGetProduct(sku, postGetProductForCustomerRequest, options).then(function (request) { return request(axios, basePath); });
|
|
14191
14303
|
},
|
|
14192
14304
|
/**
|
|
14193
14305
|
* Get Product For Customer
|
|
@@ -14303,13 +14415,13 @@ var ProductsApi = /** @class */ (function (_super) {
|
|
|
14303
14415
|
* Get Product
|
|
14304
14416
|
* @summary Get Product
|
|
14305
14417
|
* @param {string} sku Product SKU
|
|
14306
|
-
* @param {
|
|
14418
|
+
* @param {PostGetProductForCustomerRequest} postGetProductForCustomerRequest Product search criteria
|
|
14307
14419
|
* @param {*} [options] Override http request option.
|
|
14308
14420
|
* @throws {RequiredError}
|
|
14309
14421
|
*/
|
|
14310
|
-
ProductsApi.prototype.postGetProduct = function (sku,
|
|
14422
|
+
ProductsApi.prototype.postGetProduct = function (sku, postGetProductForCustomerRequest, options) {
|
|
14311
14423
|
var _this = this;
|
|
14312
|
-
return (0, exports.ProductsApiFp)(this.configuration).postGetProduct(sku,
|
|
14424
|
+
return (0, exports.ProductsApiFp)(this.configuration).postGetProduct(sku, postGetProductForCustomerRequest, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
14313
14425
|
};
|
|
14314
14426
|
/**
|
|
14315
14427
|
* Get Product For Customer
|
|
@@ -14329,8 +14441,385 @@ var ProductsApi = /** @class */ (function (_super) {
|
|
|
14329
14441
|
exports.ProductsApi = ProductsApi;
|
|
14330
14442
|
exports.GetGetLegacyStockListFormatEnum = {
|
|
14331
14443
|
Xml: 'XML',
|
|
14332
|
-
Csv: 'CSV'
|
|
14444
|
+
Csv: 'CSV',
|
|
14333
14445
|
};
|
|
14446
|
+
/**
|
|
14447
|
+
* ProspectsApi - axios parameter creator
|
|
14448
|
+
*/
|
|
14449
|
+
var ProspectsApiAxiosParamCreator = function (configuration) {
|
|
14450
|
+
var _this = this;
|
|
14451
|
+
return {
|
|
14452
|
+
/**
|
|
14453
|
+
* Get Prospect
|
|
14454
|
+
* @summary Get Prospect
|
|
14455
|
+
* @param {string} xeroId Xero ID
|
|
14456
|
+
* @param {*} [options] Override http request option.
|
|
14457
|
+
* @throws {RequiredError}
|
|
14458
|
+
*/
|
|
14459
|
+
getGetProspect: function (xeroId_1) {
|
|
14460
|
+
var args_1 = [];
|
|
14461
|
+
for (var _i = 1; _i < arguments.length; _i++) {
|
|
14462
|
+
args_1[_i - 1] = arguments[_i];
|
|
14463
|
+
}
|
|
14464
|
+
return __awaiter(_this, __spreadArray([xeroId_1], args_1, true), void 0, function (xeroId, options) {
|
|
14465
|
+
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
14466
|
+
if (options === void 0) { options = {}; }
|
|
14467
|
+
return __generator(this, function (_a) {
|
|
14468
|
+
// verify required parameter 'xeroId' is not null or undefined
|
|
14469
|
+
(0, common_1.assertParamExists)('getGetProspect', 'xeroId', xeroId);
|
|
14470
|
+
localVarPath = "/accounts/prospects/{xero_id}"
|
|
14471
|
+
.replace("{".concat("xero_id", "}"), encodeURIComponent(String(xeroId)));
|
|
14472
|
+
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
14473
|
+
if (configuration) {
|
|
14474
|
+
baseOptions = configuration.baseOptions;
|
|
14475
|
+
}
|
|
14476
|
+
localVarRequestOptions = __assign(__assign({ method: 'GET' }, baseOptions), options);
|
|
14477
|
+
localVarHeaderParameter = {};
|
|
14478
|
+
localVarQueryParameter = {};
|
|
14479
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
14480
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
14481
|
+
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
14482
|
+
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
14483
|
+
return [2 /*return*/, {
|
|
14484
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
14485
|
+
options: localVarRequestOptions,
|
|
14486
|
+
}];
|
|
14487
|
+
});
|
|
14488
|
+
});
|
|
14489
|
+
},
|
|
14490
|
+
/**
|
|
14491
|
+
* Get Prospects
|
|
14492
|
+
* @summary Get Prospects
|
|
14493
|
+
* @param {*} [options] Override http request option.
|
|
14494
|
+
* @throws {RequiredError}
|
|
14495
|
+
*/
|
|
14496
|
+
getGetProspects: function () {
|
|
14497
|
+
var args_1 = [];
|
|
14498
|
+
for (var _i = 0; _i < arguments.length; _i++) {
|
|
14499
|
+
args_1[_i] = arguments[_i];
|
|
14500
|
+
}
|
|
14501
|
+
return __awaiter(_this, __spreadArray([], args_1, true), void 0, function (options) {
|
|
14502
|
+
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
14503
|
+
if (options === void 0) { options = {}; }
|
|
14504
|
+
return __generator(this, function (_a) {
|
|
14505
|
+
localVarPath = "/accounts/prospects";
|
|
14506
|
+
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
14507
|
+
if (configuration) {
|
|
14508
|
+
baseOptions = configuration.baseOptions;
|
|
14509
|
+
}
|
|
14510
|
+
localVarRequestOptions = __assign(__assign({ method: 'GET' }, baseOptions), options);
|
|
14511
|
+
localVarHeaderParameter = {};
|
|
14512
|
+
localVarQueryParameter = {};
|
|
14513
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
14514
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
14515
|
+
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
14516
|
+
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
14517
|
+
return [2 /*return*/, {
|
|
14518
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
14519
|
+
options: localVarRequestOptions,
|
|
14520
|
+
}];
|
|
14521
|
+
});
|
|
14522
|
+
});
|
|
14523
|
+
},
|
|
14524
|
+
/**
|
|
14525
|
+
* Remove From Prospect
|
|
14526
|
+
* @summary Remove From Prospects
|
|
14527
|
+
* @param {string} xeroId Xero ID
|
|
14528
|
+
* @param {boolean} status Status
|
|
14529
|
+
* @param {*} [options] Override http request option.
|
|
14530
|
+
* @throws {RequiredError}
|
|
14531
|
+
*/
|
|
14532
|
+
getRemoveFromProspects: function (xeroId_1, status_1) {
|
|
14533
|
+
var args_1 = [];
|
|
14534
|
+
for (var _i = 2; _i < arguments.length; _i++) {
|
|
14535
|
+
args_1[_i - 2] = arguments[_i];
|
|
14536
|
+
}
|
|
14537
|
+
return __awaiter(_this, __spreadArray([xeroId_1, status_1], args_1, true), void 0, function (xeroId, status, options) {
|
|
14538
|
+
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
14539
|
+
if (options === void 0) { options = {}; }
|
|
14540
|
+
return __generator(this, function (_a) {
|
|
14541
|
+
// verify required parameter 'xeroId' is not null or undefined
|
|
14542
|
+
(0, common_1.assertParamExists)('getRemoveFromProspects', 'xeroId', xeroId);
|
|
14543
|
+
// verify required parameter 'status' is not null or undefined
|
|
14544
|
+
(0, common_1.assertParamExists)('getRemoveFromProspects', 'status', status);
|
|
14545
|
+
localVarPath = "/accounts/prospects/{xero_id}/remove"
|
|
14546
|
+
.replace("{".concat("xero_id", "}"), encodeURIComponent(String(xeroId)));
|
|
14547
|
+
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
14548
|
+
if (configuration) {
|
|
14549
|
+
baseOptions = configuration.baseOptions;
|
|
14550
|
+
}
|
|
14551
|
+
localVarRequestOptions = __assign(__assign({ method: 'GET' }, baseOptions), options);
|
|
14552
|
+
localVarHeaderParameter = {};
|
|
14553
|
+
localVarQueryParameter = {};
|
|
14554
|
+
if (status !== undefined) {
|
|
14555
|
+
localVarQueryParameter['status'] = status;
|
|
14556
|
+
}
|
|
14557
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
14558
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
14559
|
+
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
14560
|
+
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
14561
|
+
return [2 /*return*/, {
|
|
14562
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
14563
|
+
options: localVarRequestOptions,
|
|
14564
|
+
}];
|
|
14565
|
+
});
|
|
14566
|
+
});
|
|
14567
|
+
},
|
|
14568
|
+
/**
|
|
14569
|
+
* Set Call Back Date
|
|
14570
|
+
* @summary Set Call Back Date
|
|
14571
|
+
* @param {string} xeroId Xero ID
|
|
14572
|
+
* @param {string} date Callback Date
|
|
14573
|
+
* @param {*} [options] Override http request option.
|
|
14574
|
+
* @throws {RequiredError}
|
|
14575
|
+
*/
|
|
14576
|
+
getSetCallback: function (xeroId_1, date_1) {
|
|
14577
|
+
var args_1 = [];
|
|
14578
|
+
for (var _i = 2; _i < arguments.length; _i++) {
|
|
14579
|
+
args_1[_i - 2] = arguments[_i];
|
|
14580
|
+
}
|
|
14581
|
+
return __awaiter(_this, __spreadArray([xeroId_1, date_1], args_1, true), void 0, function (xeroId, date, options) {
|
|
14582
|
+
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
14583
|
+
if (options === void 0) { options = {}; }
|
|
14584
|
+
return __generator(this, function (_a) {
|
|
14585
|
+
// verify required parameter 'xeroId' is not null or undefined
|
|
14586
|
+
(0, common_1.assertParamExists)('getSetCallback', 'xeroId', xeroId);
|
|
14587
|
+
// verify required parameter 'date' is not null or undefined
|
|
14588
|
+
(0, common_1.assertParamExists)('getSetCallback', 'date', date);
|
|
14589
|
+
localVarPath = "/accounts/prospects/{xero_id}/date"
|
|
14590
|
+
.replace("{".concat("xero_id", "}"), encodeURIComponent(String(xeroId)));
|
|
14591
|
+
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
14592
|
+
if (configuration) {
|
|
14593
|
+
baseOptions = configuration.baseOptions;
|
|
14594
|
+
}
|
|
14595
|
+
localVarRequestOptions = __assign(__assign({ method: 'GET' }, baseOptions), options);
|
|
14596
|
+
localVarHeaderParameter = {};
|
|
14597
|
+
localVarQueryParameter = {};
|
|
14598
|
+
if (date !== undefined) {
|
|
14599
|
+
localVarQueryParameter['date'] = date;
|
|
14600
|
+
}
|
|
14601
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
14602
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
14603
|
+
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
14604
|
+
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
14605
|
+
return [2 /*return*/, {
|
|
14606
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
14607
|
+
options: localVarRequestOptions,
|
|
14608
|
+
}];
|
|
14609
|
+
});
|
|
14610
|
+
});
|
|
14611
|
+
},
|
|
14612
|
+
};
|
|
14613
|
+
};
|
|
14614
|
+
exports.ProspectsApiAxiosParamCreator = ProspectsApiAxiosParamCreator;
|
|
14615
|
+
/**
|
|
14616
|
+
* ProspectsApi - functional programming interface
|
|
14617
|
+
*/
|
|
14618
|
+
var ProspectsApiFp = function (configuration) {
|
|
14619
|
+
var localVarAxiosParamCreator = (0, exports.ProspectsApiAxiosParamCreator)(configuration);
|
|
14620
|
+
return {
|
|
14621
|
+
/**
|
|
14622
|
+
* Get Prospect
|
|
14623
|
+
* @summary Get Prospect
|
|
14624
|
+
* @param {string} xeroId Xero ID
|
|
14625
|
+
* @param {*} [options] Override http request option.
|
|
14626
|
+
* @throws {RequiredError}
|
|
14627
|
+
*/
|
|
14628
|
+
getGetProspect: function (xeroId, options) {
|
|
14629
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
14630
|
+
var localVarAxiosArgs, localVarOperationServerIndex, localVarOperationServerBasePath;
|
|
14631
|
+
var _a, _b, _c;
|
|
14632
|
+
return __generator(this, function (_d) {
|
|
14633
|
+
switch (_d.label) {
|
|
14634
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.getGetProspect(xeroId, options)];
|
|
14635
|
+
case 1:
|
|
14636
|
+
localVarAxiosArgs = _d.sent();
|
|
14637
|
+
localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
14638
|
+
localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['ProspectsApi.getGetProspect']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
14639
|
+
return [2 /*return*/, function (axios, basePath) { return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath); }];
|
|
14640
|
+
}
|
|
14641
|
+
});
|
|
14642
|
+
});
|
|
14643
|
+
},
|
|
14644
|
+
/**
|
|
14645
|
+
* Get Prospects
|
|
14646
|
+
* @summary Get Prospects
|
|
14647
|
+
* @param {*} [options] Override http request option.
|
|
14648
|
+
* @throws {RequiredError}
|
|
14649
|
+
*/
|
|
14650
|
+
getGetProspects: function (options) {
|
|
14651
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
14652
|
+
var localVarAxiosArgs, localVarOperationServerIndex, localVarOperationServerBasePath;
|
|
14653
|
+
var _a, _b, _c;
|
|
14654
|
+
return __generator(this, function (_d) {
|
|
14655
|
+
switch (_d.label) {
|
|
14656
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.getGetProspects(options)];
|
|
14657
|
+
case 1:
|
|
14658
|
+
localVarAxiosArgs = _d.sent();
|
|
14659
|
+
localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
14660
|
+
localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['ProspectsApi.getGetProspects']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
14661
|
+
return [2 /*return*/, function (axios, basePath) { return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath); }];
|
|
14662
|
+
}
|
|
14663
|
+
});
|
|
14664
|
+
});
|
|
14665
|
+
},
|
|
14666
|
+
/**
|
|
14667
|
+
* Remove From Prospect
|
|
14668
|
+
* @summary Remove From Prospects
|
|
14669
|
+
* @param {string} xeroId Xero ID
|
|
14670
|
+
* @param {boolean} status Status
|
|
14671
|
+
* @param {*} [options] Override http request option.
|
|
14672
|
+
* @throws {RequiredError}
|
|
14673
|
+
*/
|
|
14674
|
+
getRemoveFromProspects: function (xeroId, status, options) {
|
|
14675
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
14676
|
+
var localVarAxiosArgs, localVarOperationServerIndex, localVarOperationServerBasePath;
|
|
14677
|
+
var _a, _b, _c;
|
|
14678
|
+
return __generator(this, function (_d) {
|
|
14679
|
+
switch (_d.label) {
|
|
14680
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.getRemoveFromProspects(xeroId, status, options)];
|
|
14681
|
+
case 1:
|
|
14682
|
+
localVarAxiosArgs = _d.sent();
|
|
14683
|
+
localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
14684
|
+
localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['ProspectsApi.getRemoveFromProspects']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
14685
|
+
return [2 /*return*/, function (axios, basePath) { return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath); }];
|
|
14686
|
+
}
|
|
14687
|
+
});
|
|
14688
|
+
});
|
|
14689
|
+
},
|
|
14690
|
+
/**
|
|
14691
|
+
* Set Call Back Date
|
|
14692
|
+
* @summary Set Call Back Date
|
|
14693
|
+
* @param {string} xeroId Xero ID
|
|
14694
|
+
* @param {string} date Callback Date
|
|
14695
|
+
* @param {*} [options] Override http request option.
|
|
14696
|
+
* @throws {RequiredError}
|
|
14697
|
+
*/
|
|
14698
|
+
getSetCallback: function (xeroId, date, options) {
|
|
14699
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
14700
|
+
var localVarAxiosArgs, localVarOperationServerIndex, localVarOperationServerBasePath;
|
|
14701
|
+
var _a, _b, _c;
|
|
14702
|
+
return __generator(this, function (_d) {
|
|
14703
|
+
switch (_d.label) {
|
|
14704
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.getSetCallback(xeroId, date, options)];
|
|
14705
|
+
case 1:
|
|
14706
|
+
localVarAxiosArgs = _d.sent();
|
|
14707
|
+
localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
14708
|
+
localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['ProspectsApi.getSetCallback']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
14709
|
+
return [2 /*return*/, function (axios, basePath) { return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath); }];
|
|
14710
|
+
}
|
|
14711
|
+
});
|
|
14712
|
+
});
|
|
14713
|
+
},
|
|
14714
|
+
};
|
|
14715
|
+
};
|
|
14716
|
+
exports.ProspectsApiFp = ProspectsApiFp;
|
|
14717
|
+
/**
|
|
14718
|
+
* ProspectsApi - factory interface
|
|
14719
|
+
*/
|
|
14720
|
+
var ProspectsApiFactory = function (configuration, basePath, axios) {
|
|
14721
|
+
var localVarFp = (0, exports.ProspectsApiFp)(configuration);
|
|
14722
|
+
return {
|
|
14723
|
+
/**
|
|
14724
|
+
* Get Prospect
|
|
14725
|
+
* @summary Get Prospect
|
|
14726
|
+
* @param {string} xeroId Xero ID
|
|
14727
|
+
* @param {*} [options] Override http request option.
|
|
14728
|
+
* @throws {RequiredError}
|
|
14729
|
+
*/
|
|
14730
|
+
getGetProspect: function (xeroId, options) {
|
|
14731
|
+
return localVarFp.getGetProspect(xeroId, options).then(function (request) { return request(axios, basePath); });
|
|
14732
|
+
},
|
|
14733
|
+
/**
|
|
14734
|
+
* Get Prospects
|
|
14735
|
+
* @summary Get Prospects
|
|
14736
|
+
* @param {*} [options] Override http request option.
|
|
14737
|
+
* @throws {RequiredError}
|
|
14738
|
+
*/
|
|
14739
|
+
getGetProspects: function (options) {
|
|
14740
|
+
return localVarFp.getGetProspects(options).then(function (request) { return request(axios, basePath); });
|
|
14741
|
+
},
|
|
14742
|
+
/**
|
|
14743
|
+
* Remove From Prospect
|
|
14744
|
+
* @summary Remove From Prospects
|
|
14745
|
+
* @param {string} xeroId Xero ID
|
|
14746
|
+
* @param {boolean} status Status
|
|
14747
|
+
* @param {*} [options] Override http request option.
|
|
14748
|
+
* @throws {RequiredError}
|
|
14749
|
+
*/
|
|
14750
|
+
getRemoveFromProspects: function (xeroId, status, options) {
|
|
14751
|
+
return localVarFp.getRemoveFromProspects(xeroId, status, options).then(function (request) { return request(axios, basePath); });
|
|
14752
|
+
},
|
|
14753
|
+
/**
|
|
14754
|
+
* Set Call Back Date
|
|
14755
|
+
* @summary Set Call Back Date
|
|
14756
|
+
* @param {string} xeroId Xero ID
|
|
14757
|
+
* @param {string} date Callback Date
|
|
14758
|
+
* @param {*} [options] Override http request option.
|
|
14759
|
+
* @throws {RequiredError}
|
|
14760
|
+
*/
|
|
14761
|
+
getSetCallback: function (xeroId, date, options) {
|
|
14762
|
+
return localVarFp.getSetCallback(xeroId, date, options).then(function (request) { return request(axios, basePath); });
|
|
14763
|
+
},
|
|
14764
|
+
};
|
|
14765
|
+
};
|
|
14766
|
+
exports.ProspectsApiFactory = ProspectsApiFactory;
|
|
14767
|
+
/**
|
|
14768
|
+
* ProspectsApi - object-oriented interface
|
|
14769
|
+
*/
|
|
14770
|
+
var ProspectsApi = /** @class */ (function (_super) {
|
|
14771
|
+
__extends(ProspectsApi, _super);
|
|
14772
|
+
function ProspectsApi() {
|
|
14773
|
+
return _super !== null && _super.apply(this, arguments) || this;
|
|
14774
|
+
}
|
|
14775
|
+
/**
|
|
14776
|
+
* Get Prospect
|
|
14777
|
+
* @summary Get Prospect
|
|
14778
|
+
* @param {string} xeroId Xero ID
|
|
14779
|
+
* @param {*} [options] Override http request option.
|
|
14780
|
+
* @throws {RequiredError}
|
|
14781
|
+
*/
|
|
14782
|
+
ProspectsApi.prototype.getGetProspect = function (xeroId, options) {
|
|
14783
|
+
var _this = this;
|
|
14784
|
+
return (0, exports.ProspectsApiFp)(this.configuration).getGetProspect(xeroId, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
14785
|
+
};
|
|
14786
|
+
/**
|
|
14787
|
+
* Get Prospects
|
|
14788
|
+
* @summary Get Prospects
|
|
14789
|
+
* @param {*} [options] Override http request option.
|
|
14790
|
+
* @throws {RequiredError}
|
|
14791
|
+
*/
|
|
14792
|
+
ProspectsApi.prototype.getGetProspects = function (options) {
|
|
14793
|
+
var _this = this;
|
|
14794
|
+
return (0, exports.ProspectsApiFp)(this.configuration).getGetProspects(options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
14795
|
+
};
|
|
14796
|
+
/**
|
|
14797
|
+
* Remove From Prospect
|
|
14798
|
+
* @summary Remove From Prospects
|
|
14799
|
+
* @param {string} xeroId Xero ID
|
|
14800
|
+
* @param {boolean} status Status
|
|
14801
|
+
* @param {*} [options] Override http request option.
|
|
14802
|
+
* @throws {RequiredError}
|
|
14803
|
+
*/
|
|
14804
|
+
ProspectsApi.prototype.getRemoveFromProspects = function (xeroId, status, options) {
|
|
14805
|
+
var _this = this;
|
|
14806
|
+
return (0, exports.ProspectsApiFp)(this.configuration).getRemoveFromProspects(xeroId, status, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
14807
|
+
};
|
|
14808
|
+
/**
|
|
14809
|
+
* Set Call Back Date
|
|
14810
|
+
* @summary Set Call Back Date
|
|
14811
|
+
* @param {string} xeroId Xero ID
|
|
14812
|
+
* @param {string} date Callback Date
|
|
14813
|
+
* @param {*} [options] Override http request option.
|
|
14814
|
+
* @throws {RequiredError}
|
|
14815
|
+
*/
|
|
14816
|
+
ProspectsApi.prototype.getSetCallback = function (xeroId, date, options) {
|
|
14817
|
+
var _this = this;
|
|
14818
|
+
return (0, exports.ProspectsApiFp)(this.configuration).getSetCallback(xeroId, date, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
14819
|
+
};
|
|
14820
|
+
return ProspectsApi;
|
|
14821
|
+
}(base_1.BaseAPI));
|
|
14822
|
+
exports.ProspectsApi = ProspectsApi;
|
|
14334
14823
|
/**
|
|
14335
14824
|
* ProvisioningApi - axios parameter creator
|
|
14336
14825
|
*/
|
|
@@ -20958,5 +21447,5 @@ exports.PostAddWebhookWebhookUriEnum = {
|
|
|
20958
21447
|
WebhookFreshdeskUpdate: '/webhook/freshdesk/update',
|
|
20959
21448
|
WebhookTest: '/webhook/test',
|
|
20960
21449
|
WebhookXeroInvoices: '/webhook/xero/invoices',
|
|
20961
|
-
WebhookTcxPhonesAdd: '/webhook/tcx/phones/add'
|
|
21450
|
+
WebhookTcxPhonesAdd: '/webhook/tcx/phones/add',
|
|
20962
21451
|
};
|