yellowgrid-api-ts 3.2.105-dev.0 → 3.2.105
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 +8 -3
- package/.openapi-generator/VERSION +1 -1
- package/.openapi-generator-ignore +0 -0
- package/README.md +18 -10
- package/api.ts +1153 -657
- 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 +586 -301
- package/dist/api.js +1087 -601
- package/dist/base.d.ts +1 -1
- package/dist/base.js +2 -2
- package/dist/common.d.ts +1 -1
- package/dist/common.js +1 -1
- package/dist/configuration.d.ts +1 -1
- package/dist/configuration.js +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +1 -1
- package/dist/models/CourierEnum.d.ts +0 -0
- package/dist/models/CourierEnum.js +0 -0
- package/dist/models/EventStatusEnum.d.ts +0 -0
- package/dist/models/EventStatusEnum.js +0 -0
- package/dist/models/EventTypeEnum.d.ts +0 -0
- package/dist/models/EventTypeEnum.js +0 -0
- package/dist/models/PortStatusEnum.d.ts +0 -0
- package/dist/models/PortStatusEnum.js +0 -0
- package/dist/models/PrinterEnum.d.ts +0 -0
- package/dist/models/PrinterEnum.js +0 -0
- package/dist/models/ScheduledTaskEnum.d.ts +33 -0
- package/dist/models/ScheduledTaskEnum.js +35 -0
- package/dist/models/ServiceEnum.d.ts +5 -0
- package/dist/models/ServiceEnum.js +5 -0
- package/dist/models/ServiceHealthEnum.d.ts +0 -0
- package/dist/models/ServiceHealthEnum.js +0 -0
- package/dist/models/ServiceStatusEnum.d.ts +0 -0
- package/dist/models/ServiceStatusEnum.js +0 -0
- package/dist/models/UpdateTypeEnum.d.ts +0 -0
- package/dist/models/UpdateTypeEnum.js +0 -0
- package/docs/AbstractOrderRequestDTO.md +0 -0
- package/docs/AccountContactEntity.md +0 -0
- package/docs/AccountContactModel.md +0 -0
- package/docs/AccountContactRequestModel.md +0 -0
- package/docs/AccountDetailedSummaryDTO.md +0 -0
- package/docs/AccountRequestModel.md +0 -0
- package/docs/AccountSummaryDTO.md +0 -0
- package/docs/AccountsApi.md +5 -353
- package/docs/AccountsResponseModel.md +0 -0
- package/docs/AddressModel.md +0 -0
- package/docs/AddressRequestModel.md +0 -0
- package/docs/AdminNumberPortDTO.md +0 -0
- package/docs/AdminOrderRequestDTO.md +0 -0
- package/docs/AdminUserModel.md +0 -0
- package/docs/AgentHoursGraphModel.md +0 -0
- package/docs/AgentHoursGraphMonthModel.md +0 -0
- package/docs/ApiLogEntity.md +0 -0
- package/docs/AreaCodeModel.md +0 -0
- package/docs/AttachmentModel.md +0 -0
- package/docs/AttributeSetEnum.md +0 -0
- package/docs/AuditLogEntity.md +0 -0
- package/docs/AuthCodeResponseModel.md +0 -0
- package/docs/BasicItemDTO.md +0 -0
- package/docs/BasicProductDTO.md +0 -0
- package/docs/BatchDTO.md +0 -0
- package/docs/BatchEntity.md +0 -0
- package/docs/CRMApi.md +1 -1
- package/docs/CallBarringModel.md +0 -0
- package/docs/Class3CXApi.md +1 -1
- package/docs/Class3CXInstallationWizardApi.md +1 -1
- package/docs/Class3CXInstallationsApi.md +348 -5
- package/docs/Class3CXIntegrationsApi.md +1 -1
- package/docs/Class3CXMultiTenantApi.md +1 -1
- package/docs/ClientDetailsModel.md +0 -0
- package/docs/ClientModel.md +0 -0
- package/docs/CompanyContractModel.md +0 -0
- package/docs/ContactInfoModel.md +0 -0
- package/docs/ConversationModel.md +0 -0
- package/docs/CourierPriceEntity.md +0 -0
- package/docs/CreditAccountEntity.md +0 -0
- package/docs/CreditNoteDTO.md +0 -0
- package/docs/CreditNoteEntity.md +0 -0
- package/docs/CreditNoteItemDTO.md +0 -0
- package/docs/CreditNoteItemEntity.md +0 -0
- package/docs/CreditNoteItemModel.md +0 -0
- package/docs/CreditNoteModel.md +0 -0
- package/docs/CrmContactDTO.md +0 -0
- package/docs/CustomerInformationModel.md +0 -0
- package/docs/CustomerItemRequestDTO.md +0 -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 +0 -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 +0 -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/OrderDetailsDTO.md +0 -0
- package/docs/OrderEntity.md +0 -0
- package/docs/OrderItemDTO.md +0 -0
- package/docs/OrderRequestModel.md +0 -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 +59 -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 +0 -0
- package/docs/PostGetProductRequest.md +0 -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 +1 -1
- 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/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/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/{PatchUpdateAccountCnameRequest.md → TcxSbcResponseDTO.md} +8 -5
- package/docs/TcxSetupEntity.md +0 -0
- package/docs/TcxSetupsModel.md +0 -0
- package/docs/TcxSipTrunksEntity.md +0 -0
- package/docs/TcxTemplateXmlEnum.md +0 -0
- package/docs/TcxUsersEntity.md +0 -0
- package/docs/TcxWizardConfigModel.md +0 -0
- package/docs/TcxWizardModel.md +0 -0
- package/docs/TechSupportCompanySummaryDTO.md +0 -0
- package/docs/TicketSummaryModel.md +0 -0
- package/docs/TicketTimeDTO.md +0 -0
- package/docs/TicketsApi.md +1 -1
- package/docs/TokenResponseModel.md +0 -0
- package/docs/UpgradeOrderResponseModel.md +0 -0
- package/docs/UpgradeRequestModel.md +0 -0
- package/docs/UserEntity.md +0 -0
- package/docs/WebhooksApi.md +1 -1
- package/docs/XeroLogEntity.md +0 -0
- package/getEnums.php +31 -31
- package/git_push.sh +0 -0
- package/index.ts +1 -1
- package/models/CourierEnum.ts +0 -0
- package/models/EventStatusEnum.ts +0 -0
- package/models/EventTypeEnum.ts +0 -0
- package/models/PortStatusEnum.ts +0 -0
- package/models/PrinterEnum.ts +0 -0
- package/models/ScheduledTaskEnum.ts +34 -0
- package/models/ServiceEnum.ts +5 -0
- package/models/ServiceHealthEnum.ts +0 -0
- package/models/ServiceStatusEnum.ts +0 -0
- package/models/UpdateTypeEnum.ts +0 -0
- package/openapitools.json +1 -1
- package/package.json +1 -1
- package/tsconfig.json +0 -0
- package/dist/models/StatusEnum.d.ts +0 -18
- package/dist/models/StatusEnum.js +0 -20
- package/dist/src/apis/AccountsApi.d.ts +0 -258
- package/dist/src/apis/AccountsApi.js +0 -975
- package/dist/src/apis/CRMApi.d.ts +0 -26
- package/dist/src/apis/CRMApi.js +0 -122
- package/dist/src/apis/Class3CXApi.d.ts +0 -44
- package/dist/src/apis/Class3CXApi.js +0 -177
- package/dist/src/apis/Class3CXInstallationWizardApi.d.ts +0 -446
- package/dist/src/apis/Class3CXInstallationWizardApi.js +0 -1740
- package/dist/src/apis/Class3CXInstallationsApi.d.ts +0 -253
- package/dist/src/apis/Class3CXInstallationsApi.js +0 -806
- package/dist/src/apis/Class3CXIntegrationsApi.d.ts +0 -102
- package/dist/src/apis/Class3CXIntegrationsApi.js +0 -386
- package/dist/src/apis/Class3CXMultiTenantApi.d.ts +0 -122
- package/dist/src/apis/Class3CXMultiTenantApi.js +0 -431
- package/dist/src/apis/MyPBXToolsApi.d.ts +0 -32
- package/dist/src/apis/MyPBXToolsApi.js +0 -136
- package/dist/src/apis/OAuth20Api.d.ts +0 -185
- package/dist/src/apis/OAuth20Api.js +0 -507
- package/dist/src/apis/OrdersApi.d.ts +0 -154
- package/dist/src/apis/OrdersApi.js +0 -512
- package/dist/src/apis/PricingApi.d.ts +0 -154
- package/dist/src/apis/PricingApi.js +0 -308
- package/dist/src/apis/ProductsApi.d.ts +0 -135
- package/dist/src/apis/ProductsApi.js +0 -531
- package/dist/src/apis/ProvisioningApi.d.ts +0 -112
- package/dist/src/apis/ProvisioningApi.js +0 -427
- package/dist/src/apis/SIPTrunksApi.d.ts +0 -315
- package/dist/src/apis/SIPTrunksApi.js +0 -1197
- package/dist/src/apis/SMSApi.d.ts +0 -30
- package/dist/src/apis/SMSApi.js +0 -130
- package/dist/src/apis/ServicesApi.d.ts +0 -81
- package/dist/src/apis/ServicesApi.js +0 -386
- package/dist/src/apis/ShippingApi.d.ts +0 -45
- package/dist/src/apis/ShippingApi.js +0 -179
- package/dist/src/apis/StockManagementApi.d.ts +0 -345
- package/dist/src/apis/StockManagementApi.js +0 -1293
- package/dist/src/apis/SystemApi.d.ts +0 -37
- package/dist/src/apis/SystemApi.js +0 -146
- package/dist/src/apis/TicketsApi.d.ts +0 -79
- package/dist/src/apis/TicketsApi.js +0 -360
- package/dist/src/apis/WebhooksApi.d.ts +0 -56
- package/dist/src/apis/WebhooksApi.js +0 -189
- package/dist/src/apis/index.d.ts +0 -21
- package/dist/src/apis/index.js +0 -39
- package/dist/src/index.d.ts +0 -3
- package/dist/src/index.js +0 -21
- package/dist/src/models/AbstractOrderRequestDTO.d.ts +0 -71
- package/dist/src/models/AbstractOrderRequestDTO.js +0 -64
- package/dist/src/models/AccountContactEntity.d.ts +0 -104
- package/dist/src/models/AccountContactEntity.js +0 -73
- package/dist/src/models/AccountContactModel.d.ts +0 -104
- package/dist/src/models/AccountContactModel.js +0 -73
- package/dist/src/models/AccountContactRequestModel.d.ts +0 -80
- package/dist/src/models/AccountContactRequestModel.js +0 -65
- package/dist/src/models/AccountDetailedSummaryDTO.d.ts +0 -89
- package/dist/src/models/AccountDetailedSummaryDTO.js +0 -70
- package/dist/src/models/AccountRequestModel.d.ts +0 -128
- package/dist/src/models/AccountRequestModel.js +0 -81
- package/dist/src/models/AccountSummaryDTO.d.ts +0 -44
- package/dist/src/models/AccountSummaryDTO.js +0 -53
- package/dist/src/models/AccountsResponseModel.d.ts +0 -51
- package/dist/src/models/AccountsResponseModel.js +0 -56
- package/dist/src/models/AddressModel.d.ts +0 -110
- package/dist/src/models/AddressModel.js +0 -75
- package/dist/src/models/AddressRequestModel.d.ts +0 -50
- package/dist/src/models/AddressRequestModel.js +0 -55
- package/dist/src/models/AdminOrderRequestDTO.d.ts +0 -113
- package/dist/src/models/AdminOrderRequestDTO.js +0 -78
- package/dist/src/models/AdminUserModel.d.ts +0 -79
- package/dist/src/models/AdminUserModel.js +0 -72
- package/dist/src/models/AgentHoursGraphModel.d.ts +0 -51
- package/dist/src/models/AgentHoursGraphModel.js +0 -56
- package/dist/src/models/AgentHoursGraphMonthModel.d.ts +0 -38
- package/dist/src/models/AgentHoursGraphMonthModel.js +0 -51
- package/dist/src/models/ApiLogEntity.d.ts +0 -98
- package/dist/src/models/ApiLogEntity.js +0 -71
- package/dist/src/models/AreaCodeModel.d.ts +0 -38
- package/dist/src/models/AreaCodeModel.js +0 -51
- package/dist/src/models/AttachmentModel.d.ts +0 -56
- package/dist/src/models/AttachmentModel.js +0 -57
- package/dist/src/models/AttributeSetEnum.d.ts +0 -38
- package/dist/src/models/AttributeSetEnum.js +0 -51
- package/dist/src/models/AuditLogEntity.d.ts +0 -80
- package/dist/src/models/AuditLogEntity.js +0 -65
- package/dist/src/models/AuthCodeResponseModel.d.ts +0 -44
- package/dist/src/models/AuthCodeResponseModel.js +0 -53
- package/dist/src/models/BasicItemDTO.d.ts +0 -38
- package/dist/src/models/BasicItemDTO.js +0 -51
- package/dist/src/models/BasicProductDTO.d.ts +0 -38
- package/dist/src/models/BasicProductDTO.js +0 -51
- package/dist/src/models/BatchEntity.d.ts +0 -128
- package/dist/src/models/BatchEntity.js +0 -81
- package/dist/src/models/CallBarringModel.d.ts +0 -56
- package/dist/src/models/CallBarringModel.js +0 -57
- package/dist/src/models/ClientDetailsModel.d.ts +0 -68
- package/dist/src/models/ClientDetailsModel.js +0 -61
- package/dist/src/models/ClientModel.d.ts +0 -50
- package/dist/src/models/ClientModel.js +0 -55
- package/dist/src/models/CompanyContractModel.d.ts +0 -56
- package/dist/src/models/CompanyContractModel.js +0 -57
- package/dist/src/models/ContactInfoModel.d.ts +0 -56
- package/dist/src/models/ContactInfoModel.js +0 -57
- package/dist/src/models/ConversationModel.d.ts +0 -75
- package/dist/src/models/ConversationModel.js +0 -64
- package/dist/src/models/CourierPriceEntity.d.ts +0 -86
- package/dist/src/models/CourierPriceEntity.js +0 -67
- package/dist/src/models/CreditAccountEntity.d.ts +0 -152
- package/dist/src/models/CreditAccountEntity.js +0 -89
- package/dist/src/models/CrmContactDTO.d.ts +0 -68
- package/dist/src/models/CrmContactDTO.js +0 -61
- package/dist/src/models/CustomerInformationModel.d.ts +0 -68
- package/dist/src/models/CustomerInformationModel.js +0 -61
- package/dist/src/models/CustomerItemRequestDTO.d.ts +0 -81
- package/dist/src/models/CustomerItemRequestDTO.js +0 -66
- package/dist/src/models/CustomerOrderRequestDTO.d.ts +0 -71
- package/dist/src/models/CustomerOrderRequestDTO.js +0 -64
- package/dist/src/models/CustomerPriceListEnum.d.ts +0 -38
- package/dist/src/models/CustomerPriceListEnum.js +0 -51
- package/dist/src/models/CustomerSummaryReportDTO.d.ts +0 -65
- package/dist/src/models/CustomerSummaryReportDTO.js +0 -62
- package/dist/src/models/DdiRangeRequestModel.d.ts +0 -44
- package/dist/src/models/DdiRangeRequestModel.js +0 -53
- package/dist/src/models/DdiRangesRequestModel.d.ts +0 -33
- package/dist/src/models/DdiRangesRequestModel.js +0 -50
- package/dist/src/models/DetailedItemRequestDTO.d.ts +0 -99
- package/dist/src/models/DetailedItemRequestDTO.js +0 -72
- package/dist/src/models/DetailedOrderRequestDTO.d.ts +0 -71
- package/dist/src/models/DetailedOrderRequestDTO.js +0 -64
- package/dist/src/models/DivertRequestModel.d.ts +0 -38
- package/dist/src/models/DivertRequestModel.js +0 -51
- package/dist/src/models/DivertResponseModel.d.ts +0 -52
- package/dist/src/models/DivertResponseModel.js +0 -61
- package/dist/src/models/EdTechProClientEntity.d.ts +0 -56
- package/dist/src/models/EdTechProClientEntity.js +0 -57
- package/dist/src/models/EdTechProSchoolModel.d.ts +0 -104
- package/dist/src/models/EdTechProSchoolModel.js +0 -73
- package/dist/src/models/EdTechProSchoolsModel.d.ts +0 -51
- package/dist/src/models/EdTechProSchoolsModel.js +0 -56
- package/dist/src/models/EdTechProSetupModel.d.ts +0 -56
- package/dist/src/models/EdTechProSetupModel.js +0 -57
- package/dist/src/models/EventDTO.d.ts +0 -84
- package/dist/src/models/EventDTO.js +0 -73
- package/dist/src/models/EventRequestDTO.d.ts +0 -44
- package/dist/src/models/EventRequestDTO.js +0 -53
- package/dist/src/models/EventSubscriptionModel.d.ts +0 -38
- package/dist/src/models/EventSubscriptionModel.js +0 -51
- package/dist/src/models/EventTypeEnum.d.ts +0 -19
- package/dist/src/models/EventTypeEnum.js +0 -24
- package/dist/src/models/EventUpdateDTO.d.ts +0 -50
- package/dist/src/models/EventUpdateDTO.js +0 -55
- package/dist/src/models/EventUpdateEntity.d.ts +0 -56
- package/dist/src/models/EventUpdateEntity.js +0 -57
- package/dist/src/models/EventUpdateRequestDTO.d.ts +0 -44
- package/dist/src/models/EventUpdateRequestDTO.js +0 -53
- package/dist/src/models/FraudManagementModel.d.ts +0 -38
- package/dist/src/models/FraudManagementModel.js +0 -51
- package/dist/src/models/FreshdeskCompanyTicketsModel.d.ts +0 -51
- package/dist/src/models/FreshdeskCompanyTicketsModel.js +0 -56
- package/dist/src/models/FreshdeskTicketEntity.d.ts +0 -68
- package/dist/src/models/FreshdeskTicketEntity.js +0 -61
- package/dist/src/models/FtpAccountsEntity.d.ts +0 -56
- package/dist/src/models/FtpAccountsEntity.js +0 -57
- package/dist/src/models/GenericFileModel.d.ts +0 -44
- package/dist/src/models/GenericFileModel.js +0 -53
- package/dist/src/models/GetGetPrice200Response.d.ts +0 -32
- package/dist/src/models/GetGetPrice200Response.js +0 -49
- package/dist/src/models/GetGetRecording200Response.d.ts +0 -32
- package/dist/src/models/GetGetRecording200Response.js +0 -49
- package/dist/src/models/HostingChangeResponseModel.d.ts +0 -64
- package/dist/src/models/HostingChangeResponseModel.js +0 -65
- package/dist/src/models/HostingRegionDTO.d.ts +0 -59
- package/dist/src/models/HostingRegionDTO.js +0 -68
- package/dist/src/models/InstanceAutoFailoverEntity.d.ts +0 -56
- package/dist/src/models/InstanceAutoFailoverEntity.js +0 -57
- package/dist/src/models/InstanceDeletionScheduleEntity.d.ts +0 -50
- package/dist/src/models/InstanceDeletionScheduleEntity.js +0 -55
- package/dist/src/models/InstanceEntity.d.ts +0 -152
- package/dist/src/models/InstanceEntity.js +0 -89
- package/dist/src/models/InstanceFailoverEntity.d.ts +0 -92
- package/dist/src/models/InstanceFailoverEntity.js +0 -69
- package/dist/src/models/InstanceMonitoringEntity.d.ts +0 -44
- package/dist/src/models/InstanceMonitoringEntity.js +0 -53
- package/dist/src/models/InstanceMonitoringLogEntity.d.ts +0 -62
- package/dist/src/models/InstanceMonitoringLogEntity.js +0 -59
- package/dist/src/models/InstanceScheduledTasksEntity.d.ts +0 -62
- package/dist/src/models/InstanceScheduledTasksEntity.js +0 -59
- package/dist/src/models/InstanceTcxDetailsEntity.d.ts +0 -86
- package/dist/src/models/InstanceTcxDetailsEntity.js +0 -67
- package/dist/src/models/InstanceUserCredentialsEntity.d.ts +0 -56
- package/dist/src/models/InstanceUserCredentialsEntity.js +0 -57
- package/dist/src/models/ItemDTO.d.ts +0 -117
- package/dist/src/models/ItemDTO.js +0 -78
- package/dist/src/models/ItemDiscountEntity.d.ts +0 -77
- package/dist/src/models/ItemDiscountEntity.js +0 -70
- package/dist/src/models/ItemEntity.d.ts +0 -158
- package/dist/src/models/ItemEntity.js +0 -91
- package/dist/src/models/LinkedOrderEntity.d.ts +0 -38
- package/dist/src/models/LinkedOrderEntity.js +0 -51
- package/dist/src/models/MFARequiredModel.d.ts +0 -38
- package/dist/src/models/MFARequiredModel.js +0 -51
- package/dist/src/models/MonthlyUsageModel.d.ts +0 -38
- package/dist/src/models/MonthlyUsageModel.js +0 -51
- package/dist/src/models/MultiTenantChangeResponseModel.d.ts +0 -70
- package/dist/src/models/MultiTenantChangeResponseModel.js +0 -75
- package/dist/src/models/NavigationModel.d.ts +0 -50
- package/dist/src/models/NavigationModel.js +0 -55
- package/dist/src/models/OfflineInstancesEntity.d.ts +0 -56
- package/dist/src/models/OfflineInstancesEntity.js +0 -57
- package/dist/src/models/OrderEntity.d.ts +0 -374
- package/dist/src/models/OrderEntity.js +0 -163
- package/dist/src/models/OrderRequestModel.d.ts +0 -120
- package/dist/src/models/OrderRequestModel.js +0 -88
- package/dist/src/models/OrderSummariesModel.d.ts +0 -51
- package/dist/src/models/OrderSummariesModel.js +0 -56
- package/dist/src/models/OrderSummaryDTO.d.ts +0 -126
- package/dist/src/models/OrderSummaryDTO.js +0 -83
- package/dist/src/models/OrderTotalModel.d.ts +0 -111
- package/dist/src/models/OrderTotalModel.js +0 -100
- package/dist/src/models/OrderedItemEntity.d.ts +0 -110
- package/dist/src/models/OrderedItemEntity.js +0 -75
- package/dist/src/models/PatchSetTcxWizardCnameRequest.d.ts +0 -32
- package/dist/src/models/PatchSetTcxWizardCnameRequest.js +0 -49
- package/dist/src/models/PatchUpdateAccountContactPasswordRequest.d.ts +0 -32
- package/dist/src/models/PatchUpdateAccountContactPasswordRequest.js +0 -49
- package/dist/src/models/PortalAccountModel.d.ts +0 -171
- package/dist/src/models/PortalAccountModel.js +0 -96
- package/dist/src/models/PortalLoginModel.d.ts +0 -68
- package/dist/src/models/PortalLoginModel.js +0 -61
- package/dist/src/models/PostAddWebhook200Response.d.ts +0 -32
- package/dist/src/models/PostAddWebhook200Response.js +0 -49
- package/dist/src/models/PostGetClientCredentialsRequest.d.ts +0 -32
- package/dist/src/models/PostGetClientCredentialsRequest.js +0 -49
- package/dist/src/models/PostGetProductForCustomerRequest.d.ts +0 -50
- package/dist/src/models/PostGetProductForCustomerRequest.js +0 -55
- package/dist/src/models/PostGetProductRequest.d.ts +0 -44
- package/dist/src/models/PostGetProductRequest.js +0 -53
- package/dist/src/models/PriceListItemModel.d.ts +0 -56
- package/dist/src/models/PriceListItemModel.js +0 -57
- package/dist/src/models/PrizesEntity.d.ts +0 -62
- package/dist/src/models/PrizesEntity.js +0 -59
- package/dist/src/models/ProductPriceListItemModel.d.ts +0 -62
- package/dist/src/models/ProductPriceListItemModel.js +0 -59
- package/dist/src/models/ProductSearchResultsModel.d.ts +0 -33
- package/dist/src/models/ProductSearchResultsModel.js +0 -50
- package/dist/src/models/ProductSerialInfoModel.d.ts +0 -50
- package/dist/src/models/ProductSerialInfoModel.js +0 -55
- package/dist/src/models/ProductSummaryDTO.d.ts +0 -81
- package/dist/src/models/ProductSummaryDTO.js +0 -66
- package/dist/src/models/PromoCodesEntity.d.ts +0 -98
- package/dist/src/models/PromoCodesEntity.js +0 -71
- package/dist/src/models/PromoItemsEntity.d.ts +0 -74
- package/dist/src/models/PromoItemsEntity.js +0 -63
- package/dist/src/models/ProvisioningModel.d.ts +0 -56
- package/dist/src/models/ProvisioningModel.js +0 -57
- package/dist/src/models/ProvisioningRequestEntity.d.ts +0 -44
- package/dist/src/models/ProvisioningRequestEntity.js +0 -53
- package/dist/src/models/RecordingBackupAzureModel.d.ts +0 -50
- package/dist/src/models/RecordingBackupAzureModel.js +0 -55
- package/dist/src/models/RecordingsBackupInfoDTO.d.ts +0 -40
- package/dist/src/models/RecordingsBackupInfoDTO.js +0 -53
- package/dist/src/models/ResourceNotReadyException.d.ts +0 -44
- package/dist/src/models/ResourceNotReadyException.js +0 -53
- package/dist/src/models/RootAccessModel.d.ts +0 -44
- package/dist/src/models/RootAccessModel.js +0 -53
- package/dist/src/models/S3BucketEntity.d.ts +0 -50
- package/dist/src/models/S3BucketEntity.js +0 -55
- package/dist/src/models/ScannedItemModel.d.ts +0 -56
- package/dist/src/models/ScannedItemModel.js +0 -57
- package/dist/src/models/ScopeModel.d.ts +0 -38
- package/dist/src/models/ScopeModel.js +0 -51
- package/dist/src/models/ServiceEnum.d.ts +0 -14
- package/dist/src/models/ServiceEnum.js +0 -19
- package/dist/src/models/ServiceHealthDTO.d.ts +0 -48
- package/dist/src/models/ServiceHealthDTO.js +0 -61
- package/dist/src/models/ServiceHealthEnum.d.ts +0 -19
- package/dist/src/models/ServiceHealthEnum.js +0 -24
- package/dist/src/models/ServiceStatusDTO.d.ts +0 -60
- package/dist/src/models/ServiceStatusDTO.js +0 -65
- package/dist/src/models/ServiceStatusEnum.d.ts +0 -19
- package/dist/src/models/ServiceStatusEnum.js +0 -24
- package/dist/src/models/ShipmentAddressEntity.d.ts +0 -92
- package/dist/src/models/ShipmentAddressEntity.js +0 -69
- package/dist/src/models/ShipmentEntity.d.ts +0 -98
- package/dist/src/models/ShipmentEntity.js +0 -71
- package/dist/src/models/ShipmentItemEntity.d.ts +0 -56
- package/dist/src/models/ShipmentItemEntity.js +0 -57
- package/dist/src/models/ShippingConsignmentModel.d.ts +0 -51
- package/dist/src/models/ShippingConsignmentModel.js +0 -56
- package/dist/src/models/ShippingInformationDTO.d.ts +0 -45
- package/dist/src/models/ShippingInformationDTO.js +0 -54
- package/dist/src/models/ShippingServiceDTO.d.ts +0 -47
- package/dist/src/models/ShippingServiceDTO.js +0 -60
- package/dist/src/models/ShippingServiceModel.d.ts +0 -71
- package/dist/src/models/ShippingServiceModel.js +0 -68
- package/dist/src/models/ShippingServicesModel.d.ts +0 -33
- package/dist/src/models/ShippingServicesModel.js +0 -50
- package/dist/src/models/SipTrunkChangeResponseModel.d.ts +0 -77
- package/dist/src/models/SipTrunkChangeResponseModel.js +0 -78
- package/dist/src/models/SipTrunkCreationRequestModel.d.ts +0 -66
- package/dist/src/models/SipTrunkCreationRequestModel.js +0 -63
- package/dist/src/models/SipTrunkEntity.d.ts +0 -98
- package/dist/src/models/SipTrunkEntity.js +0 -71
- package/dist/src/models/SipTrunksResponseModel.d.ts +0 -51
- package/dist/src/models/SipTrunksResponseModel.js +0 -56
- package/dist/src/models/SmsAccountEntity.d.ts +0 -68
- package/dist/src/models/SmsAccountEntity.js +0 -61
- package/dist/src/models/SmsDataModel.d.ts +0 -33
- package/dist/src/models/SmsDataModel.js +0 -50
- package/dist/src/models/SmsMessageModel.d.ts +0 -44
- package/dist/src/models/SmsMessageModel.js +0 -53
- package/dist/src/models/SmsNumbersEntity.d.ts +0 -38
- package/dist/src/models/SmsNumbersEntity.js +0 -51
- package/dist/src/models/SmsPayloadModel.d.ts +0 -45
- package/dist/src/models/SmsPayloadModel.js +0 -54
- package/dist/src/models/SmsPhoneNumberModel.d.ts +0 -53
- package/dist/src/models/SmsPhoneNumberModel.js +0 -66
- package/dist/src/models/SmsResponseModel.d.ts +0 -67
- package/dist/src/models/SmsResponseModel.js +0 -68
- package/dist/src/models/SmsWhitelistEntity.d.ts +0 -38
- package/dist/src/models/SmsWhitelistEntity.js +0 -51
- package/dist/src/models/StockOrderCourierEntity.d.ts +0 -50
- package/dist/src/models/StockOrderCourierEntity.js +0 -55
- package/dist/src/models/StockOrderDeductionModel.d.ts +0 -50
- package/dist/src/models/StockOrderDeductionModel.js +0 -55
- package/dist/src/models/StockOrderDeductionRequestModel.d.ts +0 -38
- package/dist/src/models/StockOrderDeductionRequestModel.js +0 -51
- package/dist/src/models/StockOrderDeductionsEntity.d.ts +0 -50
- package/dist/src/models/StockOrderDeductionsEntity.js +0 -55
- package/dist/src/models/StockOrderEntity.d.ts +0 -158
- package/dist/src/models/StockOrderEntity.js +0 -91
- package/dist/src/models/StockOrderItemEntity.d.ts +0 -68
- package/dist/src/models/StockOrderItemEntity.js +0 -61
- package/dist/src/models/StockOrderItemModel.d.ts +0 -80
- package/dist/src/models/StockOrderItemModel.js +0 -65
- package/dist/src/models/StockOrderItemRequestModel.d.ts +0 -50
- package/dist/src/models/StockOrderItemRequestModel.js +0 -55
- package/dist/src/models/StockOrderModel.d.ts +0 -137
- package/dist/src/models/StockOrderModel.js +0 -97
- package/dist/src/models/StockOrderProductEntity.d.ts +0 -62
- package/dist/src/models/StockOrderProductEntity.js +0 -59
- package/dist/src/models/StockOrderRequestModel.d.ts +0 -46
- package/dist/src/models/StockOrderRequestModel.js +0 -55
- package/dist/src/models/StockOrderSupplierEntity.d.ts +0 -80
- package/dist/src/models/StockOrderSupplierEntity.js +0 -65
- package/dist/src/models/StockOrderSupplierModel.d.ts +0 -80
- package/dist/src/models/StockOrderSupplierModel.js +0 -65
- package/dist/src/models/StockOrdersModel.d.ts +0 -51
- package/dist/src/models/StockOrdersModel.js +0 -56
- package/dist/src/models/StockProductModel.d.ts +0 -120
- package/dist/src/models/StockProductModel.js +0 -81
- package/dist/src/models/StockProductPriceModel.d.ts +0 -39
- package/dist/src/models/StockProductPriceModel.js +0 -52
- package/dist/src/models/StockProductSummariesModel.d.ts +0 -51
- package/dist/src/models/StockProductSummariesModel.js +0 -56
- package/dist/src/models/StockProductSummaryModel.d.ts +0 -69
- package/dist/src/models/StockProductSummaryModel.js +0 -62
- package/dist/src/models/StockTransactionsEntity.d.ts +0 -74
- package/dist/src/models/StockTransactionsEntity.js +0 -63
- package/dist/src/models/SupplierEntity.d.ts +0 -80
- package/dist/src/models/SupplierEntity.js +0 -65
- package/dist/src/models/SupplierItemEntity.d.ts +0 -74
- package/dist/src/models/SupplierItemEntity.js +0 -63
- package/dist/src/models/TcxBackupEntity.d.ts +0 -80
- package/dist/src/models/TcxBackupEntity.js +0 -65
- package/dist/src/models/TcxBackupModel.d.ts +0 -140
- package/dist/src/models/TcxBackupModel.js +0 -85
- package/dist/src/models/TcxBillingEntity.d.ts +0 -86
- package/dist/src/models/TcxBillingEntity.js +0 -67
- package/dist/src/models/TcxBulkLicenceDetailsModel.d.ts +0 -40
- package/dist/src/models/TcxBulkLicenceDetailsModel.js +0 -53
- package/dist/src/models/TcxDeadLicenceEntity.d.ts +0 -44
- package/dist/src/models/TcxDeadLicenceEntity.js +0 -53
- package/dist/src/models/TcxExtsEntity.d.ts +0 -74
- package/dist/src/models/TcxExtsEntity.js +0 -63
- package/dist/src/models/TcxHostingPricingEntity.d.ts +0 -74
- package/dist/src/models/TcxHostingPricingEntity.js +0 -63
- package/dist/src/models/TcxInstallationDetailsModel.d.ts +0 -106
- package/dist/src/models/TcxInstallationDetailsModel.js +0 -75
- package/dist/src/models/TcxInstallationModel.d.ts +0 -200
- package/dist/src/models/TcxInstallationModel.js +0 -105
- package/dist/src/models/TcxInstallationsModel.d.ts +0 -51
- package/dist/src/models/TcxInstallationsModel.js +0 -56
- package/dist/src/models/TcxKeySummaryDTO.d.ts +0 -56
- package/dist/src/models/TcxKeySummaryDTO.js +0 -57
- package/dist/src/models/TcxKeysEntity.d.ts +0 -62
- package/dist/src/models/TcxKeysEntity.js +0 -59
- package/dist/src/models/TcxLicenceDetailsErrorModel.d.ts +0 -50
- package/dist/src/models/TcxLicenceDetailsErrorModel.js +0 -55
- package/dist/src/models/TcxLicenceDetailsModel.d.ts +0 -92
- package/dist/src/models/TcxLicenceDetailsModel.js +0 -69
- package/dist/src/models/TcxMacsEntity.d.ts +0 -44
- package/dist/src/models/TcxMacsEntity.js +0 -53
- package/dist/src/models/TcxMultiTenantModel.d.ts +0 -118
- package/dist/src/models/TcxMultiTenantModel.js +0 -83
- package/dist/src/models/TcxMultiTenantUserModel.d.ts +0 -44
- package/dist/src/models/TcxMultiTenantUserModel.js +0 -53
- package/dist/src/models/TcxMultiTenantsModel.d.ts +0 -51
- package/dist/src/models/TcxMultiTenantsModel.js +0 -56
- package/dist/src/models/TcxNumbersEntity.d.ts +0 -44
- package/dist/src/models/TcxNumbersEntity.js +0 -53
- package/dist/src/models/TcxOfficeHoursEntity.d.ts +0 -116
- package/dist/src/models/TcxOfficeHoursEntity.js +0 -77
- package/dist/src/models/TcxPhoneModel.d.ts +0 -68
- package/dist/src/models/TcxPhoneModel.js +0 -61
- package/dist/src/models/TcxPhonesEntity.d.ts +0 -62
- package/dist/src/models/TcxPhonesEntity.js +0 -59
- package/dist/src/models/TcxRemoteStorageModel.d.ts +0 -50
- package/dist/src/models/TcxRemoteStorageModel.js +0 -55
- package/dist/src/models/TcxSbcDTO.d.ts +0 -62
- package/dist/src/models/TcxSbcDTO.js +0 -59
- package/dist/src/models/TcxSbcEntity.d.ts +0 -122
- package/dist/src/models/TcxSbcEntity.js +0 -79
- package/dist/src/models/TcxSbcModel.d.ts +0 -122
- package/dist/src/models/TcxSbcModel.js +0 -79
- package/dist/src/models/TcxSetupEntity.d.ts +0 -207
- package/dist/src/models/TcxSetupEntity.js +0 -123
- package/dist/src/models/TcxSetupsModel.d.ts +0 -51
- package/dist/src/models/TcxSetupsModel.js +0 -56
- package/dist/src/models/TcxSipTrunksEntity.d.ts +0 -104
- package/dist/src/models/TcxSipTrunksEntity.js +0 -73
- package/dist/src/models/TcxTemplateXmlEnum.d.ts +0 -38
- package/dist/src/models/TcxTemplateXmlEnum.js +0 -51
- package/dist/src/models/TcxUsersEntity.d.ts +0 -62
- package/dist/src/models/TcxUsersEntity.js +0 -59
- package/dist/src/models/TcxWizardConfigModel.d.ts +0 -39
- package/dist/src/models/TcxWizardConfigModel.js +0 -52
- package/dist/src/models/TcxWizardModel.d.ts +0 -150
- package/dist/src/models/TcxWizardModel.js +0 -114
- package/dist/src/models/TechSupportCompanySummaryDTO.d.ts +0 -57
- package/dist/src/models/TechSupportCompanySummaryDTO.js +0 -58
- package/dist/src/models/TelephonySupportTicketModel.d.ts +0 -94
- package/dist/src/models/TelephonySupportTicketModel.js +0 -71
- package/dist/src/models/TicketSummaryModel.d.ts +0 -74
- package/dist/src/models/TicketSummaryModel.js +0 -63
- package/dist/src/models/TicketTimeDTO.d.ts +0 -80
- package/dist/src/models/TicketTimeDTO.js +0 -65
- package/dist/src/models/TokenResponseModel.d.ts +0 -44
- package/dist/src/models/TokenResponseModel.js +0 -53
- package/dist/src/models/UpdateTypeEnum.d.ts +0 -19
- package/dist/src/models/UpdateTypeEnum.js +0 -24
- package/dist/src/models/UpgradeOrderResponseModel.d.ts +0 -38
- package/dist/src/models/UpgradeOrderResponseModel.js +0 -51
- package/dist/src/models/UpgradeRequestModel.d.ts +0 -66
- package/dist/src/models/UpgradeRequestModel.js +0 -70
- package/dist/src/models/UserEntity.d.ts +0 -98
- package/dist/src/models/UserEntity.js +0 -71
- package/dist/src/models/XeroLogEntity.d.ts +0 -86
- package/dist/src/models/XeroLogEntity.js +0 -67
- package/dist/src/models/index.d.ts +0 -196
- package/dist/src/models/index.js +0 -214
- package/dist/src/runtime.d.ts +0 -184
- package/dist/src/runtime.js +0 -564
- package/docs/AccountPageDetailsDTO.md +0 -35
- package/docs/TcxInstallationDetailsModel.md +0 -45
package/dist/api.js
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
/* eslint-disable */
|
|
4
4
|
/**
|
|
5
5
|
* Yellowgrid
|
|
6
|
-
* Welcome to the Yellowgrid API documentation.
|
|
6
|
+
* Welcome to the Yellowgrid API documentation. This API provides secure and comprehensive access to the Yellowgrid platform, enabling developers and integrators to manage accounts, contacts, SIP trunks, SMS messaging, 3CX integrations, and provisioning services. ## Key Features: - **Accounts**: View and manage account details, contacts, client credentials, and verification. - **Provisioning**: Automate setup and configuration of devices and groups. - **SIP Trunks**: Manage trunk creation, changes, DDIs, diverts, and configuration. - **Messaging**: Send SMS messages securely via the messaging gateway. - **3CX Integrations**: Automate licence handling, installation, and multi-tenant setup. ## Authentication: The API supports OAuth 2.0 for authentication and authorization. Ensure you use a valid bearer token for all authenticated endpoints. ## Base URL: `https://bitbucket.org` For questions or technical support, please contact support@yellowgrid.co.uk.
|
|
7
7
|
*
|
|
8
8
|
* The version of the OpenAPI document: 0
|
|
9
9
|
*
|
|
@@ -84,9 +84,9 @@ var __spreadArray = (this && this.__spreadArray) || function (to, from, pack) {
|
|
|
84
84
|
return to.concat(ar || Array.prototype.slice.call(from));
|
|
85
85
|
};
|
|
86
86
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
87
|
-
exports.Class3CXInstallationWizardApiFp = exports.Class3CXInstallationWizardApiAxiosParamCreator = exports.Class3CXApi = exports.Class3CXApiFactory = exports.Class3CXApiFp = exports.Class3CXApiAxiosParamCreator = exports.CRMApi = exports.CRMApiFactory = exports.CRMApiFp = exports.CRMApiAxiosParamCreator = exports.
|
|
88
|
-
exports.GetGetPriceListTypeEnum = exports.PricingApi = exports.PricingApiFactory = exports.PricingApiFp = exports.PricingApiAxiosParamCreator = exports.PostPrintShippingLabelPrinterEnum = exports.GetGetOrdersFilterEnum = exports.GetGetOrdersStatusEnum = exports.OrdersApi = exports.OrdersApiFactory = exports.OrdersApiFp = exports.OrdersApiAxiosParamCreator = exports.PostAuthoriseScopeEnum = exports.PostAccessTokenTokenExchangeTypeEnum = exports.PostAccessTokenScopeEnum = exports.PostAccessTokenGrantTypeEnum = exports.OAuth20Api = exports.OAuth20ApiFactory = exports.OAuth20ApiFp = exports.OAuth20ApiAxiosParamCreator = exports.NumberPortingApi = exports.NumberPortingApiFactory = exports.NumberPortingApiFp = exports.NumberPortingApiAxiosParamCreator = exports.MyPBXToolsApi = exports.MyPBXToolsApiFactory = exports.MyPBXToolsApiFp = exports.MyPBXToolsApiAxiosParamCreator = exports.GetGetTenantsStatusEnum = exports.Class3CXMultiTenantApi = exports.Class3CXMultiTenantApiFactory = exports.Class3CXMultiTenantApiFp = exports.Class3CXMultiTenantApiAxiosParamCreator = exports.GetGetPriceSchoolTypeEnum = exports.GetGetPriceLicenceTypeEnum = exports.Class3CXIntegrationsApi = exports.Class3CXIntegrationsApiFactory = exports.Class3CXIntegrationsApiFp = exports.Class3CXIntegrationsApiAxiosParamCreator = exports.PostResizeInstanceSizeEnum = exports.PostFailoverInstanceTypeEnum = exports.GetGetInstallationsInstallTypeEnum = exports.GetGetInstallationsHostingEnum = exports.GetGetInstallationsStatusEnum = exports.Class3CXInstallationsApi = exports.Class3CXInstallationsApiFactory = exports.Class3CXInstallationsApiFp = exports.Class3CXInstallationsApiAxiosParamCreator = exports.Class3CXInstallationWizardApi =
|
|
89
|
-
exports.PostAddWebhookWebhookUriEnum = exports.WebhooksApi = exports.WebhooksApiFactory = exports.WebhooksApiFp = exports.WebhooksApiAxiosParamCreator = exports.TicketsApi = exports.TicketsApiFactory = exports.TicketsApiFp = exports.TicketsApiAxiosParamCreator = exports.SystemApi = exports.SystemApiFactory = exports.SystemApiFp = exports.SystemApiAxiosParamCreator = exports.StockManagementApi = exports.StockManagementApiFactory = exports.StockManagementApiFp = exports.StockManagementApiAxiosParamCreator = exports.ShippingApi = exports.ShippingApiFactory = exports.ShippingApiFp = exports.ShippingApiAxiosParamCreator = exports.ServicesApi = exports.ServicesApiFactory = exports.ServicesApiFp = exports.ServicesApiAxiosParamCreator = exports.SMSApi = exports.SMSApiFactory = exports.SMSApiFp = exports.SMSApiAxiosParamCreator = exports.SIPTrunksApi = exports.SIPTrunksApiFactory = exports.SIPTrunksApiFp = exports.SIPTrunksApiAxiosParamCreator = exports.ProvisioningApi = exports.ProvisioningApiFactory = exports.ProvisioningApiFp = exports.ProvisioningApiAxiosParamCreator = exports.GetGetLegacyStockListFormatEnum = exports.ProductsApi = exports.ProductsApiFactory = exports.ProductsApiFp = exports.ProductsApiAxiosParamCreator = exports.PostSendPriceListCategoryEnum = exports.PostSendPriceListFormatEnum = exports.PostSendPriceListTypeEnum = exports.GetGetPriceListCategoryEnum =
|
|
87
|
+
exports.Class3CXInstallationWizardApiFactory = exports.Class3CXInstallationWizardApiFp = exports.Class3CXInstallationWizardApiAxiosParamCreator = exports.Class3CXApi = exports.Class3CXApiFactory = exports.Class3CXApiFp = exports.Class3CXApiAxiosParamCreator = exports.CRMApi = exports.CRMApiFactory = exports.CRMApiFp = exports.CRMApiAxiosParamCreator = exports.AccountsApi = exports.AccountsApiFactory = exports.AccountsApiFp = exports.AccountsApiAxiosParamCreator = exports.UpgradeRequestModelSchoolTypeEnum = exports.UpgradeRequestModelLicenceTypeEnum = exports.TcxWizardModelInstallationStatusEnum = exports.TcxWizardModelInstallTypeEnum = exports.TcxSetupEntityRegionEnum = exports.TcxSetupEntityInstallTypeEnum = exports.TcxMultiTenantModelPackageEnum = exports.StockOrderModelPaidEnum = exports.StockOrderModelDeliveryMethodEnum = exports.SmsResponseModelEventTypeEnum = exports.SmsPhoneNumberModelStatusEnum = exports.SmsAccountRequestDTOTypeEnum = exports.SmsAccountRequestDTOProviderEnum = exports.SipTrunkChangeResponseModelTypeEnum = exports.ShippingServiceModelCourierEnum = exports.ShippingServiceDTOCourierEnum = exports.ShippingRequestDTOPrinterEnum = exports.ShippingRequestDTOCourierEnum = exports.ShipmentRequestDTOCourierEnum = exports.ShipmentDTOCourierEnum = exports.ServiceStatusDTOStatusEnum = exports.ServiceHealthDTOGlobalStatusEnum = exports.ProspectDTOStatusEnum = exports.OrderTotalModelCurrencyEnum = exports.OrderRequestModelSchoolTypeEnum = exports.OrderRequestModelLicenceTypeEnum = exports.MultiTenantChangeResponseModelTypeEnum = exports.ItemDiscountEntityTypeEnum = exports.HostingRegionDTOCodeEnum = exports.HostingChangeResponseModelTypeEnum = exports.EventDTOStatusEnum = exports.DivertResponseModelStatusEnum = exports.AuditLogEntityTypeEnum = exports.AuditLogEntityActionEnum = exports.AdminUserModelRoleEnum = void 0;
|
|
88
|
+
exports.GetGetPriceListFormatEnum = exports.GetGetPriceListTypeEnum = exports.PricingApi = exports.PricingApiFactory = exports.PricingApiFp = exports.PricingApiAxiosParamCreator = exports.PostPrintShippingLabelPrinterEnum = exports.GetGetOrdersFilterEnum = exports.GetGetOrdersStatusEnum = exports.OrdersApi = exports.OrdersApiFactory = exports.OrdersApiFp = exports.OrdersApiAxiosParamCreator = exports.PostAuthoriseScopeEnum = exports.PostAccessTokenTokenExchangeTypeEnum = exports.PostAccessTokenScopeEnum = exports.PostAccessTokenGrantTypeEnum = exports.OAuth20Api = exports.OAuth20ApiFactory = exports.OAuth20ApiFp = exports.OAuth20ApiAxiosParamCreator = exports.NumberPortingApi = exports.NumberPortingApiFactory = exports.NumberPortingApiFp = exports.NumberPortingApiAxiosParamCreator = exports.MyPBXToolsApi = exports.MyPBXToolsApiFactory = exports.MyPBXToolsApiFp = exports.MyPBXToolsApiAxiosParamCreator = exports.GetGetTenantsStatusEnum = exports.Class3CXMultiTenantApi = exports.Class3CXMultiTenantApiFactory = exports.Class3CXMultiTenantApiFp = exports.Class3CXMultiTenantApiAxiosParamCreator = exports.GetGetPriceSchoolTypeEnum = exports.GetGetPriceLicenceTypeEnum = exports.Class3CXIntegrationsApi = exports.Class3CXIntegrationsApiFactory = exports.Class3CXIntegrationsApiFp = exports.Class3CXIntegrationsApiAxiosParamCreator = exports.PostResizeInstanceSizeEnum = exports.PostFailoverInstanceTypeEnum = exports.GetGetInstallationsInstallTypeEnum = exports.GetGetInstallationsHostingEnum = exports.GetGetInstallationsStatusEnum = exports.Class3CXInstallationsApi = exports.Class3CXInstallationsApiFactory = exports.Class3CXInstallationsApiFp = exports.Class3CXInstallationsApiAxiosParamCreator = exports.Class3CXInstallationWizardApi = void 0;
|
|
89
|
+
exports.PostAddWebhookWebhookUriEnum = exports.WebhooksApi = exports.WebhooksApiFactory = exports.WebhooksApiFp = exports.WebhooksApiAxiosParamCreator = exports.TicketsApi = exports.TicketsApiFactory = exports.TicketsApiFp = exports.TicketsApiAxiosParamCreator = exports.SystemApi = exports.SystemApiFactory = exports.SystemApiFp = exports.SystemApiAxiosParamCreator = exports.StockManagementApi = exports.StockManagementApiFactory = exports.StockManagementApiFp = exports.StockManagementApiAxiosParamCreator = exports.ShippingApi = exports.ShippingApiFactory = exports.ShippingApiFp = exports.ShippingApiAxiosParamCreator = exports.ServicesApi = exports.ServicesApiFactory = exports.ServicesApiFp = exports.ServicesApiAxiosParamCreator = exports.SMSApi = exports.SMSApiFactory = exports.SMSApiFp = exports.SMSApiAxiosParamCreator = exports.SIPTrunksApi = exports.SIPTrunksApiFactory = exports.SIPTrunksApiFp = exports.SIPTrunksApiAxiosParamCreator = exports.ProvisioningApi = exports.ProvisioningApiFactory = exports.ProvisioningApiFp = exports.ProvisioningApiAxiosParamCreator = exports.ProspectsApi = exports.ProspectsApiFactory = exports.ProspectsApiFp = exports.ProspectsApiAxiosParamCreator = exports.GetGetLegacyStockListFormatEnum = exports.ProductsApi = exports.ProductsApiFactory = exports.ProductsApiFp = exports.ProductsApiAxiosParamCreator = exports.PostSendPriceListCategoryEnum = exports.PostSendPriceListFormatEnum = exports.PostSendPriceListTypeEnum = exports.GetGetPriceListCategoryEnum = void 0;
|
|
90
90
|
var axios_1 = require("axios");
|
|
91
91
|
// Some imports not used depending on template conditions
|
|
92
92
|
// @ts-ignore
|
|
@@ -98,13 +98,13 @@ exports.AdminUserModelRoleEnum = {
|
|
|
98
98
|
NUMBER_1: 1,
|
|
99
99
|
NUMBER_2: 2,
|
|
100
100
|
NUMBER_3: 3,
|
|
101
|
-
NUMBER_4: 4
|
|
101
|
+
NUMBER_4: 4,
|
|
102
102
|
};
|
|
103
103
|
exports.AuditLogEntityActionEnum = {
|
|
104
104
|
Create: 'CREATE',
|
|
105
105
|
Read: 'READ',
|
|
106
106
|
Update: 'UPDATE',
|
|
107
|
-
Delete: 'DELETE'
|
|
107
|
+
Delete: 'DELETE',
|
|
108
108
|
};
|
|
109
109
|
exports.AuditLogEntityTypeEnum = {
|
|
110
110
|
AuditLog: 'audit_log',
|
|
@@ -146,6 +146,7 @@ exports.AuditLogEntityTypeEnum = {
|
|
|
146
146
|
PopsPromoCodes: 'pops_promo_codes',
|
|
147
147
|
PopsPromoItems: 'pops_promo_items',
|
|
148
148
|
PopsProvisioning: 'pops_provisioning',
|
|
149
|
+
PopsProspectsV2: 'pops_prospects_v2',
|
|
149
150
|
S3Buckets: 's3_buckets',
|
|
150
151
|
PopsShipmentAddress: 'pops_shipment_address',
|
|
151
152
|
PopsShipments: 'pops_shipments',
|
|
@@ -182,20 +183,20 @@ exports.AuditLogEntityTypeEnum = {
|
|
|
182
183
|
Webhook: 'webhook',
|
|
183
184
|
PopsXeroLog: 'pops_xero_log',
|
|
184
185
|
Oauth2Clients: 'oauth2_clients',
|
|
185
|
-
Oauth2Tokens: 'oauth2_tokens'
|
|
186
|
+
Oauth2Tokens: 'oauth2_tokens',
|
|
186
187
|
};
|
|
187
188
|
exports.DivertResponseModelStatusEnum = {
|
|
188
189
|
Enabled: 'enabled',
|
|
189
|
-
Disabled: 'disabled'
|
|
190
|
+
Disabled: 'disabled',
|
|
190
191
|
};
|
|
191
192
|
exports.EventDTOStatusEnum = {
|
|
192
193
|
NUMBER_0: 0,
|
|
193
194
|
NUMBER_1: 1,
|
|
194
|
-
NUMBER_2: 2
|
|
195
|
+
NUMBER_2: 2,
|
|
195
196
|
};
|
|
196
197
|
exports.HostingChangeResponseModelTypeEnum = {
|
|
197
198
|
NewInstance: 'New Instance',
|
|
198
|
-
BuildingInstance: 'Building Instance'
|
|
199
|
+
BuildingInstance: 'Building Instance',
|
|
199
200
|
};
|
|
200
201
|
exports.HostingRegionDTOCodeEnum = {
|
|
201
202
|
Uk1: 'UK1',
|
|
@@ -206,12 +207,12 @@ exports.HostingRegionDTOCodeEnum = {
|
|
|
206
207
|
Syd1: 'SYD1',
|
|
207
208
|
Sgp1: 'SGP1',
|
|
208
209
|
UsEastVa1: 'US-EAST-VA-1',
|
|
209
|
-
UsWestOr1: 'US-WEST-OR-1'
|
|
210
|
+
UsWestOr1: 'US-WEST-OR-1',
|
|
210
211
|
};
|
|
211
212
|
exports.ItemDiscountEntityTypeEnum = {
|
|
212
213
|
TcxPhones: 'TCX_PHONES',
|
|
213
214
|
PhoneBulk: 'PHONE_BULK',
|
|
214
|
-
Additional: 'ADDITIONAL'
|
|
215
|
+
Additional: 'ADDITIONAL',
|
|
215
216
|
};
|
|
216
217
|
exports.MultiTenantChangeResponseModelTypeEnum = {
|
|
217
218
|
NewTrunk: 'New Trunk',
|
|
@@ -227,15 +228,15 @@ exports.MultiTenantChangeResponseModelTypeEnum = {
|
|
|
227
228
|
Address: 'Address',
|
|
228
229
|
BulkEndpointDetails: 'Bulk Endpoint Details',
|
|
229
230
|
Fraud: 'Fraud',
|
|
230
|
-
CallBarring: 'Call Barring'
|
|
231
|
+
CallBarring: 'Call Barring',
|
|
231
232
|
};
|
|
232
233
|
exports.OrderRequestModelLicenceTypeEnum = {
|
|
233
234
|
Lite: 'lite',
|
|
234
|
-
Pro: 'pro'
|
|
235
|
+
Pro: 'pro',
|
|
235
236
|
};
|
|
236
237
|
exports.OrderRequestModelSchoolTypeEnum = {
|
|
237
238
|
Primary: 'primary',
|
|
238
|
-
Secondary: 'secondary'
|
|
239
|
+
Secondary: 'secondary',
|
|
239
240
|
};
|
|
240
241
|
exports.OrderTotalModelCurrencyEnum = {
|
|
241
242
|
Eur: 'EUR',
|
|
@@ -268,47 +269,54 @@ exports.OrderTotalModelCurrencyEnum = {
|
|
|
268
269
|
Php: 'PHP',
|
|
269
270
|
Sgd: 'SGD',
|
|
270
271
|
Thb: 'THB',
|
|
271
|
-
Zar: 'ZAR'
|
|
272
|
+
Zar: 'ZAR',
|
|
273
|
+
};
|
|
274
|
+
exports.ProspectDTOStatusEnum = {
|
|
275
|
+
NoCallBackSet: 'No Call Back Set',
|
|
276
|
+
CallBackDue: 'Call Back Due',
|
|
277
|
+
NoOrdersPlaced: 'No Orders Placed',
|
|
278
|
+
NoOrdersInTheLast4Months: 'No Orders In The Last 4 Months',
|
|
279
|
+
NoActionRequired: 'No Action Required',
|
|
272
280
|
};
|
|
273
281
|
exports.ServiceHealthDTOGlobalStatusEnum = {
|
|
274
282
|
NUMBER_0: 0,
|
|
275
283
|
NUMBER_1: 1,
|
|
276
|
-
NUMBER_2: 2
|
|
284
|
+
NUMBER_2: 2,
|
|
277
285
|
};
|
|
278
286
|
exports.ServiceStatusDTOStatusEnum = {
|
|
279
287
|
_0: '0',
|
|
280
288
|
_1: '1',
|
|
281
|
-
_2: '2'
|
|
289
|
+
_2: '2',
|
|
282
290
|
};
|
|
283
291
|
exports.ShipmentDTOCourierEnum = {
|
|
284
292
|
Dpd: 'DPD',
|
|
285
293
|
ChorltonPallet: 'Chorlton Pallet',
|
|
286
|
-
Pops: 'POPS'
|
|
294
|
+
Pops: 'POPS',
|
|
287
295
|
};
|
|
288
296
|
exports.ShipmentRequestDTOCourierEnum = {
|
|
289
297
|
Dpd: 'DPD',
|
|
290
298
|
ChorltonPallet: 'Chorlton Pallet',
|
|
291
|
-
Pops: 'POPS'
|
|
299
|
+
Pops: 'POPS',
|
|
292
300
|
};
|
|
293
301
|
exports.ShippingRequestDTOCourierEnum = {
|
|
294
302
|
Dpd: 'DPD',
|
|
295
303
|
ChorltonPallet: 'Chorlton Pallet',
|
|
296
|
-
Pops: 'POPS'
|
|
304
|
+
Pops: 'POPS',
|
|
297
305
|
};
|
|
298
306
|
exports.ShippingRequestDTOPrinterEnum = {
|
|
299
307
|
NUMBER_1: 1,
|
|
300
308
|
NUMBER_2: 2,
|
|
301
|
-
NUMBER_3: 3
|
|
309
|
+
NUMBER_3: 3,
|
|
302
310
|
};
|
|
303
311
|
exports.ShippingServiceDTOCourierEnum = {
|
|
304
312
|
Dpd: 'DPD',
|
|
305
313
|
ChorltonPallet: 'Chorlton Pallet',
|
|
306
|
-
Pops: 'POPS'
|
|
314
|
+
Pops: 'POPS',
|
|
307
315
|
};
|
|
308
316
|
exports.ShippingServiceModelCourierEnum = {
|
|
309
317
|
Dpd: 'DPD',
|
|
310
318
|
ChorltonPallet: 'Chorlton Pallet',
|
|
311
|
-
Pops: 'POPS'
|
|
319
|
+
Pops: 'POPS',
|
|
312
320
|
};
|
|
313
321
|
exports.SipTrunkChangeResponseModelTypeEnum = {
|
|
314
322
|
NewTrunk: 'New Trunk',
|
|
@@ -324,17 +332,17 @@ exports.SipTrunkChangeResponseModelTypeEnum = {
|
|
|
324
332
|
Address: 'Address',
|
|
325
333
|
BulkEndpointDetails: 'Bulk Endpoint Details',
|
|
326
334
|
Fraud: 'Fraud',
|
|
327
|
-
CallBarring: 'Call Barring'
|
|
335
|
+
CallBarring: 'Call Barring',
|
|
328
336
|
};
|
|
329
337
|
exports.SmsAccountRequestDTOProviderEnum = {
|
|
330
|
-
NUMBER_1: 1
|
|
338
|
+
NUMBER_1: 1,
|
|
331
339
|
};
|
|
332
340
|
exports.SmsAccountRequestDTOTypeEnum = {
|
|
333
341
|
Local: 'local',
|
|
334
342
|
TollFree: 'toll_free',
|
|
335
343
|
Mobile: 'mobile',
|
|
336
344
|
National: 'national',
|
|
337
|
-
SharedCost: 'shared_cost'
|
|
345
|
+
SharedCost: 'shared_cost',
|
|
338
346
|
};
|
|
339
347
|
exports.SmsPhoneNumberModelStatusEnum = {
|
|
340
348
|
Queued: 'queued',
|
|
@@ -345,31 +353,31 @@ exports.SmsPhoneNumberModelStatusEnum = {
|
|
|
345
353
|
DeliveryUnconfirmed: 'delivery_unconfirmed',
|
|
346
354
|
Delivered: 'delivered',
|
|
347
355
|
DeliveryFailed: 'delivery_failed',
|
|
348
|
-
WebhookDelivered: 'webhook_delivered'
|
|
356
|
+
WebhookDelivered: 'webhook_delivered',
|
|
349
357
|
};
|
|
350
358
|
exports.SmsResponseModelEventTypeEnum = {
|
|
351
359
|
MessageSent: 'message.sent',
|
|
352
360
|
MessageFinalized: 'message.finalized',
|
|
353
|
-
MessageReceived: 'message.received'
|
|
361
|
+
MessageReceived: 'message.received',
|
|
354
362
|
};
|
|
355
363
|
exports.StockOrderModelDeliveryMethodEnum = {
|
|
356
364
|
Sea: 'Sea',
|
|
357
365
|
Air: 'Air',
|
|
358
|
-
Road: 'Road'
|
|
366
|
+
Road: 'Road',
|
|
359
367
|
};
|
|
360
368
|
exports.StockOrderModelPaidEnum = {
|
|
361
369
|
NUMBER_0: 0,
|
|
362
370
|
NUMBER_1: 1,
|
|
363
|
-
NUMBER_2: 2
|
|
371
|
+
NUMBER_2: 2,
|
|
364
372
|
};
|
|
365
373
|
exports.TcxMultiTenantModelPackageEnum = {
|
|
366
|
-
_3CxStarterBundle: '3CX Starter Bundle'
|
|
374
|
+
_3CxStarterBundle: '3CX Starter Bundle',
|
|
367
375
|
};
|
|
368
376
|
exports.TcxSetupEntityInstallTypeEnum = {
|
|
369
377
|
New: 'new',
|
|
370
378
|
Restore: 'restore',
|
|
371
379
|
Failover: 'failover',
|
|
372
|
-
MultiTenant: 'multi-tenant'
|
|
380
|
+
MultiTenant: 'multi-tenant',
|
|
373
381
|
};
|
|
374
382
|
exports.TcxSetupEntityRegionEnum = {
|
|
375
383
|
Uk1: 'UK1',
|
|
@@ -380,13 +388,13 @@ exports.TcxSetupEntityRegionEnum = {
|
|
|
380
388
|
Syd1: 'SYD1',
|
|
381
389
|
Sgp1: 'SGP1',
|
|
382
390
|
UsEastVa1: 'US-EAST-VA-1',
|
|
383
|
-
UsWestOr1: 'US-WEST-OR-1'
|
|
391
|
+
UsWestOr1: 'US-WEST-OR-1',
|
|
384
392
|
};
|
|
385
393
|
exports.TcxWizardModelInstallTypeEnum = {
|
|
386
394
|
New: 'new',
|
|
387
395
|
Restore: 'restore',
|
|
388
396
|
Failover: 'failover',
|
|
389
|
-
MultiTenant: 'multi-tenant'
|
|
397
|
+
MultiTenant: 'multi-tenant',
|
|
390
398
|
};
|
|
391
399
|
exports.TcxWizardModelInstallationStatusEnum = {
|
|
392
400
|
Building: 'Building',
|
|
@@ -403,15 +411,15 @@ exports.TcxWizardModelInstallationStatusEnum = {
|
|
|
403
411
|
RecordingsBackupInstalled: 'Recordings Backup Installed',
|
|
404
412
|
Complete: 'Complete',
|
|
405
413
|
Deleted: 'Deleted',
|
|
406
|
-
Failed: 'Failed'
|
|
414
|
+
Failed: 'Failed',
|
|
407
415
|
};
|
|
408
416
|
exports.UpgradeRequestModelLicenceTypeEnum = {
|
|
409
417
|
Lite: 'lite',
|
|
410
|
-
Pro: 'pro'
|
|
418
|
+
Pro: 'pro',
|
|
411
419
|
};
|
|
412
420
|
exports.UpgradeRequestModelSchoolTypeEnum = {
|
|
413
421
|
Primary: 'primary',
|
|
414
|
-
Secondary: 'secondary'
|
|
422
|
+
Secondary: 'secondary',
|
|
415
423
|
};
|
|
416
424
|
/**
|
|
417
425
|
* AccountsApi - axios parameter creator
|
|
@@ -603,43 +611,6 @@ var AccountsApiAxiosParamCreator = function (configuration) {
|
|
|
603
611
|
});
|
|
604
612
|
});
|
|
605
613
|
},
|
|
606
|
-
/**
|
|
607
|
-
* Get Account Page Details
|
|
608
|
-
* @param {string} id Xero ID
|
|
609
|
-
* @param {*} [options] Override http request option.
|
|
610
|
-
* @throws {RequiredError}
|
|
611
|
-
*/
|
|
612
|
-
getGetAccountPageInfo: function (id_1) {
|
|
613
|
-
var args_1 = [];
|
|
614
|
-
for (var _i = 1; _i < arguments.length; _i++) {
|
|
615
|
-
args_1[_i - 1] = arguments[_i];
|
|
616
|
-
}
|
|
617
|
-
return __awaiter(_this, __spreadArray([id_1], args_1, true), void 0, function (id, options) {
|
|
618
|
-
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
619
|
-
if (options === void 0) { options = {}; }
|
|
620
|
-
return __generator(this, function (_a) {
|
|
621
|
-
// verify required parameter 'id' is not null or undefined
|
|
622
|
-
(0, common_1.assertParamExists)('getGetAccountPageInfo', 'id', id);
|
|
623
|
-
localVarPath = "/admin/accounts/{id}"
|
|
624
|
-
.replace("{".concat("id", "}"), encodeURIComponent(String(id)));
|
|
625
|
-
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
626
|
-
if (configuration) {
|
|
627
|
-
baseOptions = configuration.baseOptions;
|
|
628
|
-
}
|
|
629
|
-
localVarRequestOptions = __assign(__assign({ method: 'GET' }, baseOptions), options);
|
|
630
|
-
localVarHeaderParameter = {};
|
|
631
|
-
localVarQueryParameter = {};
|
|
632
|
-
localVarHeaderParameter['Accept'] = 'application/json';
|
|
633
|
-
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
634
|
-
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
635
|
-
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
636
|
-
return [2 /*return*/, {
|
|
637
|
-
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
638
|
-
options: localVarRequestOptions,
|
|
639
|
-
}];
|
|
640
|
-
});
|
|
641
|
-
});
|
|
642
|
-
},
|
|
643
614
|
/**
|
|
644
615
|
* Get Accounts
|
|
645
616
|
* @summary Get Accounts
|
|
@@ -797,98 +768,18 @@ var AccountsApiAxiosParamCreator = function (configuration) {
|
|
|
797
768
|
});
|
|
798
769
|
});
|
|
799
770
|
},
|
|
800
|
-
/**
|
|
801
|
-
* Set Account Portal Access
|
|
802
|
-
* @param {string} id Xero ID
|
|
803
|
-
* @param {PatchSetPortalAccessStateEnum} state Portal Access State
|
|
804
|
-
* @param {*} [options] Override http request option.
|
|
805
|
-
* @throws {RequiredError}
|
|
806
|
-
*/
|
|
807
|
-
patchSetPortalAccess: function (id_1, state_1) {
|
|
808
|
-
var args_1 = [];
|
|
809
|
-
for (var _i = 2; _i < arguments.length; _i++) {
|
|
810
|
-
args_1[_i - 2] = arguments[_i];
|
|
811
|
-
}
|
|
812
|
-
return __awaiter(_this, __spreadArray([id_1, state_1], args_1, true), void 0, function (id, state, options) {
|
|
813
|
-
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
814
|
-
if (options === void 0) { options = {}; }
|
|
815
|
-
return __generator(this, function (_a) {
|
|
816
|
-
// verify required parameter 'id' is not null or undefined
|
|
817
|
-
(0, common_1.assertParamExists)('patchSetPortalAccess', 'id', id);
|
|
818
|
-
// verify required parameter 'state' is not null or undefined
|
|
819
|
-
(0, common_1.assertParamExists)('patchSetPortalAccess', 'state', state);
|
|
820
|
-
localVarPath = "/admin/accounts/{id}/portal/access/{state}"
|
|
821
|
-
.replace("{".concat("id", "}"), encodeURIComponent(String(id)))
|
|
822
|
-
.replace("{".concat("state", "}"), encodeURIComponent(String(state)));
|
|
823
|
-
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
824
|
-
if (configuration) {
|
|
825
|
-
baseOptions = configuration.baseOptions;
|
|
826
|
-
}
|
|
827
|
-
localVarRequestOptions = __assign(__assign({ method: 'PATCH' }, baseOptions), options);
|
|
828
|
-
localVarHeaderParameter = {};
|
|
829
|
-
localVarQueryParameter = {};
|
|
830
|
-
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
831
|
-
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
832
|
-
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
833
|
-
return [2 /*return*/, {
|
|
834
|
-
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
835
|
-
options: localVarRequestOptions,
|
|
836
|
-
}];
|
|
837
|
-
});
|
|
838
|
-
});
|
|
839
|
-
},
|
|
840
|
-
/**
|
|
841
|
-
* Set Account Prize Promo
|
|
842
|
-
* @param {string} id Xero ID
|
|
843
|
-
* @param {PatchSetPrizePromoStateEnum} state Prize Promo State
|
|
844
|
-
* @param {*} [options] Override http request option.
|
|
845
|
-
* @throws {RequiredError}
|
|
846
|
-
*/
|
|
847
|
-
patchSetPrizePromo: function (id_1, state_1) {
|
|
848
|
-
var args_1 = [];
|
|
849
|
-
for (var _i = 2; _i < arguments.length; _i++) {
|
|
850
|
-
args_1[_i - 2] = arguments[_i];
|
|
851
|
-
}
|
|
852
|
-
return __awaiter(_this, __spreadArray([id_1, state_1], args_1, true), void 0, function (id, state, options) {
|
|
853
|
-
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
854
|
-
if (options === void 0) { options = {}; }
|
|
855
|
-
return __generator(this, function (_a) {
|
|
856
|
-
// verify required parameter 'id' is not null or undefined
|
|
857
|
-
(0, common_1.assertParamExists)('patchSetPrizePromo', 'id', id);
|
|
858
|
-
// verify required parameter 'state' is not null or undefined
|
|
859
|
-
(0, common_1.assertParamExists)('patchSetPrizePromo', 'state', state);
|
|
860
|
-
localVarPath = "/admin/accounts/{id}/prizes/{state}"
|
|
861
|
-
.replace("{".concat("id", "}"), encodeURIComponent(String(id)))
|
|
862
|
-
.replace("{".concat("state", "}"), encodeURIComponent(String(state)));
|
|
863
|
-
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
864
|
-
if (configuration) {
|
|
865
|
-
baseOptions = configuration.baseOptions;
|
|
866
|
-
}
|
|
867
|
-
localVarRequestOptions = __assign(__assign({ method: 'PATCH' }, baseOptions), options);
|
|
868
|
-
localVarHeaderParameter = {};
|
|
869
|
-
localVarQueryParameter = {};
|
|
870
|
-
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
871
|
-
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
872
|
-
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
873
|
-
return [2 /*return*/, {
|
|
874
|
-
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
875
|
-
options: localVarRequestOptions,
|
|
876
|
-
}];
|
|
877
|
-
});
|
|
878
|
-
});
|
|
879
|
-
},
|
|
880
771
|
/**
|
|
881
772
|
* Set 3CX Wizard CNAME
|
|
882
|
-
* @param {
|
|
773
|
+
* @param {PatchSetTcxWizardCnameRequest} [patchSetTcxWizardCnameRequest] CNAME Request
|
|
883
774
|
* @param {*} [options] Override http request option.
|
|
884
775
|
* @throws {RequiredError}
|
|
885
776
|
*/
|
|
886
|
-
patchSetTcxWizardCname: function (
|
|
777
|
+
patchSetTcxWizardCname: function (patchSetTcxWizardCnameRequest_1) {
|
|
887
778
|
var args_1 = [];
|
|
888
779
|
for (var _i = 1; _i < arguments.length; _i++) {
|
|
889
780
|
args_1[_i - 1] = arguments[_i];
|
|
890
781
|
}
|
|
891
|
-
return __awaiter(_this, __spreadArray([
|
|
782
|
+
return __awaiter(_this, __spreadArray([patchSetTcxWizardCnameRequest_1], args_1, true), void 0, function (patchSetTcxWizardCnameRequest, options) {
|
|
892
783
|
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
893
784
|
if (options === void 0) { options = {}; }
|
|
894
785
|
return __generator(this, function (_a) {
|
|
@@ -904,46 +795,7 @@ var AccountsApiAxiosParamCreator = function (configuration) {
|
|
|
904
795
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
905
796
|
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
906
797
|
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
907
|
-
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(
|
|
908
|
-
return [2 /*return*/, {
|
|
909
|
-
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
910
|
-
options: localVarRequestOptions,
|
|
911
|
-
}];
|
|
912
|
-
});
|
|
913
|
-
});
|
|
914
|
-
},
|
|
915
|
-
/**
|
|
916
|
-
* Set Account Prize Promo
|
|
917
|
-
* @param {string} id Xero ID
|
|
918
|
-
* @param {PatchUpdateAccountCnameRequest} [patchUpdateAccountCnameRequest] CNAME Request
|
|
919
|
-
* @param {*} [options] Override http request option.
|
|
920
|
-
* @throws {RequiredError}
|
|
921
|
-
*/
|
|
922
|
-
patchUpdateAccountCname: function (id_1, patchUpdateAccountCnameRequest_1) {
|
|
923
|
-
var args_1 = [];
|
|
924
|
-
for (var _i = 2; _i < arguments.length; _i++) {
|
|
925
|
-
args_1[_i - 2] = arguments[_i];
|
|
926
|
-
}
|
|
927
|
-
return __awaiter(_this, __spreadArray([id_1, patchUpdateAccountCnameRequest_1], args_1, true), void 0, function (id, patchUpdateAccountCnameRequest, options) {
|
|
928
|
-
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
929
|
-
if (options === void 0) { options = {}; }
|
|
930
|
-
return __generator(this, function (_a) {
|
|
931
|
-
// verify required parameter 'id' is not null or undefined
|
|
932
|
-
(0, common_1.assertParamExists)('patchUpdateAccountCname', 'id', id);
|
|
933
|
-
localVarPath = "/admin/accounts/{id}/cname"
|
|
934
|
-
.replace("{".concat("id", "}"), encodeURIComponent(String(id)));
|
|
935
|
-
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
936
|
-
if (configuration) {
|
|
937
|
-
baseOptions = configuration.baseOptions;
|
|
938
|
-
}
|
|
939
|
-
localVarRequestOptions = __assign(__assign({ method: 'PATCH' }, baseOptions), options);
|
|
940
|
-
localVarHeaderParameter = {};
|
|
941
|
-
localVarQueryParameter = {};
|
|
942
|
-
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
943
|
-
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
944
|
-
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
945
|
-
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
946
|
-
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(patchUpdateAccountCnameRequest, localVarRequestOptions, configuration);
|
|
798
|
+
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(patchSetTcxWizardCnameRequest, localVarRequestOptions, configuration);
|
|
947
799
|
return [2 /*return*/, {
|
|
948
800
|
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
949
801
|
options: localVarRequestOptions,
|
|
@@ -1298,84 +1150,6 @@ var AccountsApiAxiosParamCreator = function (configuration) {
|
|
|
1298
1150
|
});
|
|
1299
1151
|
});
|
|
1300
1152
|
},
|
|
1301
|
-
/**
|
|
1302
|
-
* Update Account Billing Address
|
|
1303
|
-
* @param {string} id Xero ID
|
|
1304
|
-
* @param {AddressModel} [addressModel] Updated Billing Address
|
|
1305
|
-
* @param {*} [options] Override http request option.
|
|
1306
|
-
* @throws {RequiredError}
|
|
1307
|
-
*/
|
|
1308
|
-
putUpdateBillingAddress: function (id_1, addressModel_1) {
|
|
1309
|
-
var args_1 = [];
|
|
1310
|
-
for (var _i = 2; _i < arguments.length; _i++) {
|
|
1311
|
-
args_1[_i - 2] = arguments[_i];
|
|
1312
|
-
}
|
|
1313
|
-
return __awaiter(_this, __spreadArray([id_1, addressModel_1], args_1, true), void 0, function (id, addressModel, options) {
|
|
1314
|
-
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
1315
|
-
if (options === void 0) { options = {}; }
|
|
1316
|
-
return __generator(this, function (_a) {
|
|
1317
|
-
// verify required parameter 'id' is not null or undefined
|
|
1318
|
-
(0, common_1.assertParamExists)('putUpdateBillingAddress', 'id', id);
|
|
1319
|
-
localVarPath = "/admin/accounts/{id}/billing/address"
|
|
1320
|
-
.replace("{".concat("id", "}"), encodeURIComponent(String(id)));
|
|
1321
|
-
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
1322
|
-
if (configuration) {
|
|
1323
|
-
baseOptions = configuration.baseOptions;
|
|
1324
|
-
}
|
|
1325
|
-
localVarRequestOptions = __assign(__assign({ method: 'PUT' }, baseOptions), options);
|
|
1326
|
-
localVarHeaderParameter = {};
|
|
1327
|
-
localVarQueryParameter = {};
|
|
1328
|
-
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
1329
|
-
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
1330
|
-
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1331
|
-
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
1332
|
-
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(addressModel, localVarRequestOptions, configuration);
|
|
1333
|
-
return [2 /*return*/, {
|
|
1334
|
-
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
1335
|
-
options: localVarRequestOptions,
|
|
1336
|
-
}];
|
|
1337
|
-
});
|
|
1338
|
-
});
|
|
1339
|
-
},
|
|
1340
|
-
/**
|
|
1341
|
-
* Update Account Shipping Address
|
|
1342
|
-
* @param {string} id Xero ID
|
|
1343
|
-
* @param {AddressModel} [addressModel] Updated Shipping Address
|
|
1344
|
-
* @param {*} [options] Override http request option.
|
|
1345
|
-
* @throws {RequiredError}
|
|
1346
|
-
*/
|
|
1347
|
-
putUpdateShippingAddress: function (id_1, addressModel_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, addressModel_1], args_1, true), void 0, function (id, addressModel, 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)('putUpdateShippingAddress', 'id', id);
|
|
1358
|
-
localVarPath = "/admin/accounts/{id}/shipping/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)(addressModel, localVarRequestOptions, configuration);
|
|
1372
|
-
return [2 /*return*/, {
|
|
1373
|
-
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
1374
|
-
options: localVarRequestOptions,
|
|
1375
|
-
}];
|
|
1376
|
-
});
|
|
1377
|
-
});
|
|
1378
|
-
},
|
|
1379
1153
|
};
|
|
1380
1154
|
};
|
|
1381
1155
|
exports.AccountsApiAxiosParamCreator = AccountsApiAxiosParamCreator;
|
|
@@ -1499,28 +1273,6 @@ var AccountsApiFp = function (configuration) {
|
|
|
1499
1273
|
});
|
|
1500
1274
|
});
|
|
1501
1275
|
},
|
|
1502
|
-
/**
|
|
1503
|
-
* Get Account Page Details
|
|
1504
|
-
* @param {string} id Xero ID
|
|
1505
|
-
* @param {*} [options] Override http request option.
|
|
1506
|
-
* @throws {RequiredError}
|
|
1507
|
-
*/
|
|
1508
|
-
getGetAccountPageInfo: function (id, options) {
|
|
1509
|
-
return __awaiter(this, void 0, void 0, function () {
|
|
1510
|
-
var localVarAxiosArgs, localVarOperationServerIndex, localVarOperationServerBasePath;
|
|
1511
|
-
var _a, _b, _c;
|
|
1512
|
-
return __generator(this, function (_d) {
|
|
1513
|
-
switch (_d.label) {
|
|
1514
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.getGetAccountPageInfo(id, options)];
|
|
1515
|
-
case 1:
|
|
1516
|
-
localVarAxiosArgs = _d.sent();
|
|
1517
|
-
localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
1518
|
-
localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['AccountsApi.getGetAccountPageInfo']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
1519
|
-
return [2 /*return*/, function (axios, basePath) { return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath); }];
|
|
1520
|
-
}
|
|
1521
|
-
});
|
|
1522
|
-
});
|
|
1523
|
-
},
|
|
1524
1276
|
/**
|
|
1525
1277
|
* Get Accounts
|
|
1526
1278
|
* @summary Get Accounts
|
|
@@ -1614,65 +1366,19 @@ var AccountsApiFp = function (configuration) {
|
|
|
1614
1366
|
});
|
|
1615
1367
|
});
|
|
1616
1368
|
},
|
|
1617
|
-
/**
|
|
1618
|
-
* Set Account Portal Access
|
|
1619
|
-
* @param {string} id Xero ID
|
|
1620
|
-
* @param {PatchSetPortalAccessStateEnum} state Portal Access State
|
|
1621
|
-
* @param {*} [options] Override http request option.
|
|
1622
|
-
* @throws {RequiredError}
|
|
1623
|
-
*/
|
|
1624
|
-
patchSetPortalAccess: function (id, state, options) {
|
|
1625
|
-
return __awaiter(this, void 0, void 0, function () {
|
|
1626
|
-
var localVarAxiosArgs, localVarOperationServerIndex, localVarOperationServerBasePath;
|
|
1627
|
-
var _a, _b, _c;
|
|
1628
|
-
return __generator(this, function (_d) {
|
|
1629
|
-
switch (_d.label) {
|
|
1630
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.patchSetPortalAccess(id, state, options)];
|
|
1631
|
-
case 1:
|
|
1632
|
-
localVarAxiosArgs = _d.sent();
|
|
1633
|
-
localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
1634
|
-
localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['AccountsApi.patchSetPortalAccess']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
1635
|
-
return [2 /*return*/, function (axios, basePath) { return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath); }];
|
|
1636
|
-
}
|
|
1637
|
-
});
|
|
1638
|
-
});
|
|
1639
|
-
},
|
|
1640
|
-
/**
|
|
1641
|
-
* Set Account Prize Promo
|
|
1642
|
-
* @param {string} id Xero ID
|
|
1643
|
-
* @param {PatchSetPrizePromoStateEnum} state Prize Promo State
|
|
1644
|
-
* @param {*} [options] Override http request option.
|
|
1645
|
-
* @throws {RequiredError}
|
|
1646
|
-
*/
|
|
1647
|
-
patchSetPrizePromo: function (id, state, options) {
|
|
1648
|
-
return __awaiter(this, void 0, void 0, function () {
|
|
1649
|
-
var localVarAxiosArgs, localVarOperationServerIndex, localVarOperationServerBasePath;
|
|
1650
|
-
var _a, _b, _c;
|
|
1651
|
-
return __generator(this, function (_d) {
|
|
1652
|
-
switch (_d.label) {
|
|
1653
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.patchSetPrizePromo(id, state, options)];
|
|
1654
|
-
case 1:
|
|
1655
|
-
localVarAxiosArgs = _d.sent();
|
|
1656
|
-
localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
1657
|
-
localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['AccountsApi.patchSetPrizePromo']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
1658
|
-
return [2 /*return*/, function (axios, basePath) { return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath); }];
|
|
1659
|
-
}
|
|
1660
|
-
});
|
|
1661
|
-
});
|
|
1662
|
-
},
|
|
1663
1369
|
/**
|
|
1664
1370
|
* Set 3CX Wizard CNAME
|
|
1665
|
-
* @param {
|
|
1371
|
+
* @param {PatchSetTcxWizardCnameRequest} [patchSetTcxWizardCnameRequest] CNAME Request
|
|
1666
1372
|
* @param {*} [options] Override http request option.
|
|
1667
1373
|
* @throws {RequiredError}
|
|
1668
1374
|
*/
|
|
1669
|
-
patchSetTcxWizardCname: function (
|
|
1375
|
+
patchSetTcxWizardCname: function (patchSetTcxWizardCnameRequest, options) {
|
|
1670
1376
|
return __awaiter(this, void 0, void 0, function () {
|
|
1671
1377
|
var localVarAxiosArgs, localVarOperationServerIndex, localVarOperationServerBasePath;
|
|
1672
1378
|
var _a, _b, _c;
|
|
1673
1379
|
return __generator(this, function (_d) {
|
|
1674
1380
|
switch (_d.label) {
|
|
1675
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.patchSetTcxWizardCname(
|
|
1381
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.patchSetTcxWizardCname(patchSetTcxWizardCnameRequest, options)];
|
|
1676
1382
|
case 1:
|
|
1677
1383
|
localVarAxiosArgs = _d.sent();
|
|
1678
1384
|
localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
@@ -1682,29 +1388,6 @@ var AccountsApiFp = function (configuration) {
|
|
|
1682
1388
|
});
|
|
1683
1389
|
});
|
|
1684
1390
|
},
|
|
1685
|
-
/**
|
|
1686
|
-
* Set Account Prize Promo
|
|
1687
|
-
* @param {string} id Xero ID
|
|
1688
|
-
* @param {PatchUpdateAccountCnameRequest} [patchUpdateAccountCnameRequest] CNAME Request
|
|
1689
|
-
* @param {*} [options] Override http request option.
|
|
1690
|
-
* @throws {RequiredError}
|
|
1691
|
-
*/
|
|
1692
|
-
patchUpdateAccountCname: function (id, patchUpdateAccountCnameRequest, options) {
|
|
1693
|
-
return __awaiter(this, void 0, void 0, function () {
|
|
1694
|
-
var localVarAxiosArgs, localVarOperationServerIndex, localVarOperationServerBasePath;
|
|
1695
|
-
var _a, _b, _c;
|
|
1696
|
-
return __generator(this, function (_d) {
|
|
1697
|
-
switch (_d.label) {
|
|
1698
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.patchUpdateAccountCname(id, patchUpdateAccountCnameRequest, options)];
|
|
1699
|
-
case 1:
|
|
1700
|
-
localVarAxiosArgs = _d.sent();
|
|
1701
|
-
localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
1702
|
-
localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['AccountsApi.patchUpdateAccountCname']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
1703
|
-
return [2 /*return*/, function (axios, basePath) { return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath); }];
|
|
1704
|
-
}
|
|
1705
|
-
});
|
|
1706
|
-
});
|
|
1707
|
-
},
|
|
1708
1391
|
/**
|
|
1709
1392
|
* Update Account Password
|
|
1710
1393
|
* @summary Update Account Password
|
|
@@ -1915,52 +1598,6 @@ var AccountsApiFp = function (configuration) {
|
|
|
1915
1598
|
});
|
|
1916
1599
|
});
|
|
1917
1600
|
},
|
|
1918
|
-
/**
|
|
1919
|
-
* Update Account Billing Address
|
|
1920
|
-
* @param {string} id Xero ID
|
|
1921
|
-
* @param {AddressModel} [addressModel] Updated Billing Address
|
|
1922
|
-
* @param {*} [options] Override http request option.
|
|
1923
|
-
* @throws {RequiredError}
|
|
1924
|
-
*/
|
|
1925
|
-
putUpdateBillingAddress: function (id, addressModel, options) {
|
|
1926
|
-
return __awaiter(this, void 0, void 0, function () {
|
|
1927
|
-
var localVarAxiosArgs, localVarOperationServerIndex, localVarOperationServerBasePath;
|
|
1928
|
-
var _a, _b, _c;
|
|
1929
|
-
return __generator(this, function (_d) {
|
|
1930
|
-
switch (_d.label) {
|
|
1931
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.putUpdateBillingAddress(id, addressModel, options)];
|
|
1932
|
-
case 1:
|
|
1933
|
-
localVarAxiosArgs = _d.sent();
|
|
1934
|
-
localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
1935
|
-
localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['AccountsApi.putUpdateBillingAddress']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
1936
|
-
return [2 /*return*/, function (axios, basePath) { return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath); }];
|
|
1937
|
-
}
|
|
1938
|
-
});
|
|
1939
|
-
});
|
|
1940
|
-
},
|
|
1941
|
-
/**
|
|
1942
|
-
* Update Account Shipping Address
|
|
1943
|
-
* @param {string} id Xero ID
|
|
1944
|
-
* @param {AddressModel} [addressModel] Updated Shipping Address
|
|
1945
|
-
* @param {*} [options] Override http request option.
|
|
1946
|
-
* @throws {RequiredError}
|
|
1947
|
-
*/
|
|
1948
|
-
putUpdateShippingAddress: function (id, addressModel, options) {
|
|
1949
|
-
return __awaiter(this, void 0, void 0, function () {
|
|
1950
|
-
var localVarAxiosArgs, localVarOperationServerIndex, localVarOperationServerBasePath;
|
|
1951
|
-
var _a, _b, _c;
|
|
1952
|
-
return __generator(this, function (_d) {
|
|
1953
|
-
switch (_d.label) {
|
|
1954
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.putUpdateShippingAddress(id, addressModel, options)];
|
|
1955
|
-
case 1:
|
|
1956
|
-
localVarAxiosArgs = _d.sent();
|
|
1957
|
-
localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
1958
|
-
localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['AccountsApi.putUpdateShippingAddress']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
1959
|
-
return [2 /*return*/, function (axios, basePath) { return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath); }];
|
|
1960
|
-
}
|
|
1961
|
-
});
|
|
1962
|
-
});
|
|
1963
|
-
},
|
|
1964
1601
|
};
|
|
1965
1602
|
};
|
|
1966
1603
|
exports.AccountsApiFp = AccountsApiFp;
|
|
@@ -2019,15 +1656,6 @@ var AccountsApiFactory = function (configuration, basePath, axios) {
|
|
|
2019
1656
|
getGetAccountDetailedSummary: function (id, options) {
|
|
2020
1657
|
return localVarFp.getGetAccountDetailedSummary(id, options).then(function (request) { return request(axios, basePath); });
|
|
2021
1658
|
},
|
|
2022
|
-
/**
|
|
2023
|
-
* Get Account Page Details
|
|
2024
|
-
* @param {string} id Xero ID
|
|
2025
|
-
* @param {*} [options] Override http request option.
|
|
2026
|
-
* @throws {RequiredError}
|
|
2027
|
-
*/
|
|
2028
|
-
getGetAccountPageInfo: function (id, options) {
|
|
2029
|
-
return localVarFp.getGetAccountPageInfo(id, options).then(function (request) { return request(axios, basePath); });
|
|
2030
|
-
},
|
|
2031
1659
|
/**
|
|
2032
1660
|
* Get Accounts
|
|
2033
1661
|
* @summary Get Accounts
|
|
@@ -2069,44 +1697,14 @@ var AccountsApiFactory = function (configuration, basePath, axios) {
|
|
|
2069
1697
|
getVerifyEmailAddress: function (token, options) {
|
|
2070
1698
|
return localVarFp.getVerifyEmailAddress(token, options).then(function (request) { return request(axios, basePath); });
|
|
2071
1699
|
},
|
|
2072
|
-
/**
|
|
2073
|
-
* Set Account Portal Access
|
|
2074
|
-
* @param {string} id Xero ID
|
|
2075
|
-
* @param {PatchSetPortalAccessStateEnum} state Portal Access State
|
|
2076
|
-
* @param {*} [options] Override http request option.
|
|
2077
|
-
* @throws {RequiredError}
|
|
2078
|
-
*/
|
|
2079
|
-
patchSetPortalAccess: function (id, state, options) {
|
|
2080
|
-
return localVarFp.patchSetPortalAccess(id, state, options).then(function (request) { return request(axios, basePath); });
|
|
2081
|
-
},
|
|
2082
|
-
/**
|
|
2083
|
-
* Set Account Prize Promo
|
|
2084
|
-
* @param {string} id Xero ID
|
|
2085
|
-
* @param {PatchSetPrizePromoStateEnum} state Prize Promo State
|
|
2086
|
-
* @param {*} [options] Override http request option.
|
|
2087
|
-
* @throws {RequiredError}
|
|
2088
|
-
*/
|
|
2089
|
-
patchSetPrizePromo: function (id, state, options) {
|
|
2090
|
-
return localVarFp.patchSetPrizePromo(id, state, options).then(function (request) { return request(axios, basePath); });
|
|
2091
|
-
},
|
|
2092
1700
|
/**
|
|
2093
1701
|
* Set 3CX Wizard CNAME
|
|
2094
|
-
* @param {
|
|
1702
|
+
* @param {PatchSetTcxWizardCnameRequest} [patchSetTcxWizardCnameRequest] CNAME Request
|
|
2095
1703
|
* @param {*} [options] Override http request option.
|
|
2096
1704
|
* @throws {RequiredError}
|
|
2097
1705
|
*/
|
|
2098
|
-
patchSetTcxWizardCname: function (
|
|
2099
|
-
return localVarFp.patchSetTcxWizardCname(
|
|
2100
|
-
},
|
|
2101
|
-
/**
|
|
2102
|
-
* Set Account Prize Promo
|
|
2103
|
-
* @param {string} id Xero ID
|
|
2104
|
-
* @param {PatchUpdateAccountCnameRequest} [patchUpdateAccountCnameRequest] CNAME Request
|
|
2105
|
-
* @param {*} [options] Override http request option.
|
|
2106
|
-
* @throws {RequiredError}
|
|
2107
|
-
*/
|
|
2108
|
-
patchUpdateAccountCname: function (id, patchUpdateAccountCnameRequest, options) {
|
|
2109
|
-
return localVarFp.patchUpdateAccountCname(id, patchUpdateAccountCnameRequest, options).then(function (request) { return request(axios, basePath); });
|
|
1706
|
+
patchSetTcxWizardCname: function (patchSetTcxWizardCnameRequest, options) {
|
|
1707
|
+
return localVarFp.patchSetTcxWizardCname(patchSetTcxWizardCnameRequest, options).then(function (request) { return request(axios, basePath); });
|
|
2110
1708
|
},
|
|
2111
1709
|
/**
|
|
2112
1710
|
* Update Account Password
|
|
@@ -2201,26 +1799,6 @@ var AccountsApiFactory = function (configuration, basePath, axios) {
|
|
|
2201
1799
|
putUpdateAccountContact: function (email, accountContactRequestModel, options) {
|
|
2202
1800
|
return localVarFp.putUpdateAccountContact(email, accountContactRequestModel, options).then(function (request) { return request(axios, basePath); });
|
|
2203
1801
|
},
|
|
2204
|
-
/**
|
|
2205
|
-
* Update Account Billing Address
|
|
2206
|
-
* @param {string} id Xero ID
|
|
2207
|
-
* @param {AddressModel} [addressModel] Updated Billing Address
|
|
2208
|
-
* @param {*} [options] Override http request option.
|
|
2209
|
-
* @throws {RequiredError}
|
|
2210
|
-
*/
|
|
2211
|
-
putUpdateBillingAddress: function (id, addressModel, options) {
|
|
2212
|
-
return localVarFp.putUpdateBillingAddress(id, addressModel, options).then(function (request) { return request(axios, basePath); });
|
|
2213
|
-
},
|
|
2214
|
-
/**
|
|
2215
|
-
* Update Account Shipping Address
|
|
2216
|
-
* @param {string} id Xero ID
|
|
2217
|
-
* @param {AddressModel} [addressModel] Updated Shipping Address
|
|
2218
|
-
* @param {*} [options] Override http request option.
|
|
2219
|
-
* @throws {RequiredError}
|
|
2220
|
-
*/
|
|
2221
|
-
putUpdateShippingAddress: function (id, addressModel, options) {
|
|
2222
|
-
return localVarFp.putUpdateShippingAddress(id, addressModel, options).then(function (request) { return request(axios, basePath); });
|
|
2223
|
-
},
|
|
2224
1802
|
};
|
|
2225
1803
|
};
|
|
2226
1804
|
exports.AccountsApiFactory = AccountsApiFactory;
|
|
@@ -2286,16 +1864,6 @@ var AccountsApi = /** @class */ (function (_super) {
|
|
|
2286
1864
|
var _this = this;
|
|
2287
1865
|
return (0, exports.AccountsApiFp)(this.configuration).getGetAccountDetailedSummary(id, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
2288
1866
|
};
|
|
2289
|
-
/**
|
|
2290
|
-
* Get Account Page Details
|
|
2291
|
-
* @param {string} id Xero ID
|
|
2292
|
-
* @param {*} [options] Override http request option.
|
|
2293
|
-
* @throws {RequiredError}
|
|
2294
|
-
*/
|
|
2295
|
-
AccountsApi.prototype.getGetAccountPageInfo = function (id, options) {
|
|
2296
|
-
var _this = this;
|
|
2297
|
-
return (0, exports.AccountsApiFp)(this.configuration).getGetAccountPageInfo(id, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
2298
|
-
};
|
|
2299
1867
|
/**
|
|
2300
1868
|
* Get Accounts
|
|
2301
1869
|
* @summary Get Accounts
|
|
@@ -2308,81 +1876,48 @@ var AccountsApi = /** @class */ (function (_super) {
|
|
|
2308
1876
|
*/
|
|
2309
1877
|
AccountsApi.prototype.getGetAccounts = function (pageSize, page, search, active, options) {
|
|
2310
1878
|
var _this = this;
|
|
2311
|
-
return (0, exports.AccountsApiFp)(this.configuration).getGetAccounts(pageSize, page, search, active, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
2312
|
-
};
|
|
2313
|
-
/**
|
|
2314
|
-
* Get user\'s client credentials
|
|
2315
|
-
* @summary Get user\'s client credentials
|
|
2316
|
-
* @param {*} [options] Override http request option.
|
|
2317
|
-
* @throws {RequiredError}
|
|
2318
|
-
*/
|
|
2319
|
-
AccountsApi.prototype.getGetClientCredentials = function (options) {
|
|
2320
|
-
var _this = this;
|
|
2321
|
-
return (0, exports.AccountsApiFp)(this.configuration).getGetClientCredentials(options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
2322
|
-
};
|
|
2323
|
-
/**
|
|
2324
|
-
* Get 3CX Keys
|
|
2325
|
-
* @summary Get 3CX Keys
|
|
2326
|
-
* @param {*} [options] Override http request option.
|
|
2327
|
-
* @throws {RequiredError}
|
|
2328
|
-
*/
|
|
2329
|
-
AccountsApi.prototype.getGetCustomerKeys = function (options) {
|
|
2330
|
-
var _this = this;
|
|
2331
|
-
return (0, exports.AccountsApiFp)(this.configuration).getGetCustomerKeys(options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
2332
|
-
};
|
|
2333
|
-
/**
|
|
2334
|
-
* Verify account email address
|
|
2335
|
-
* @summary Verify account email address
|
|
2336
|
-
* @param {string} token Verification Token
|
|
2337
|
-
* @param {*} [options] Override http request option.
|
|
2338
|
-
* @throws {RequiredError}
|
|
2339
|
-
*/
|
|
2340
|
-
AccountsApi.prototype.getVerifyEmailAddress = function (token, options) {
|
|
2341
|
-
var _this = this;
|
|
2342
|
-
return (0, exports.AccountsApiFp)(this.configuration).getVerifyEmailAddress(token, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
1879
|
+
return (0, exports.AccountsApiFp)(this.configuration).getGetAccounts(pageSize, page, search, active, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
2343
1880
|
};
|
|
2344
1881
|
/**
|
|
2345
|
-
*
|
|
2346
|
-
* @
|
|
2347
|
-
* @param {PatchSetPortalAccessStateEnum} state Portal Access State
|
|
1882
|
+
* Get user\'s client credentials
|
|
1883
|
+
* @summary Get user\'s client credentials
|
|
2348
1884
|
* @param {*} [options] Override http request option.
|
|
2349
1885
|
* @throws {RequiredError}
|
|
2350
1886
|
*/
|
|
2351
|
-
AccountsApi.prototype.
|
|
1887
|
+
AccountsApi.prototype.getGetClientCredentials = function (options) {
|
|
2352
1888
|
var _this = this;
|
|
2353
|
-
return (0, exports.AccountsApiFp)(this.configuration).
|
|
1889
|
+
return (0, exports.AccountsApiFp)(this.configuration).getGetClientCredentials(options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
2354
1890
|
};
|
|
2355
1891
|
/**
|
|
2356
|
-
*
|
|
2357
|
-
* @
|
|
2358
|
-
* @param {PatchSetPrizePromoStateEnum} state Prize Promo State
|
|
1892
|
+
* Get 3CX Keys
|
|
1893
|
+
* @summary Get 3CX Keys
|
|
2359
1894
|
* @param {*} [options] Override http request option.
|
|
2360
1895
|
* @throws {RequiredError}
|
|
2361
1896
|
*/
|
|
2362
|
-
AccountsApi.prototype.
|
|
1897
|
+
AccountsApi.prototype.getGetCustomerKeys = function (options) {
|
|
2363
1898
|
var _this = this;
|
|
2364
|
-
return (0, exports.AccountsApiFp)(this.configuration).
|
|
1899
|
+
return (0, exports.AccountsApiFp)(this.configuration).getGetCustomerKeys(options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
2365
1900
|
};
|
|
2366
1901
|
/**
|
|
2367
|
-
*
|
|
2368
|
-
* @
|
|
1902
|
+
* Verify account email address
|
|
1903
|
+
* @summary Verify account email address
|
|
1904
|
+
* @param {string} token Verification Token
|
|
2369
1905
|
* @param {*} [options] Override http request option.
|
|
2370
1906
|
* @throws {RequiredError}
|
|
2371
1907
|
*/
|
|
2372
|
-
AccountsApi.prototype.
|
|
1908
|
+
AccountsApi.prototype.getVerifyEmailAddress = function (token, options) {
|
|
2373
1909
|
var _this = this;
|
|
2374
|
-
return (0, exports.AccountsApiFp)(this.configuration).
|
|
1910
|
+
return (0, exports.AccountsApiFp)(this.configuration).getVerifyEmailAddress(token, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
2375
1911
|
};
|
|
2376
1912
|
/**
|
|
2377
|
-
* Set
|
|
2378
|
-
* @param {
|
|
2379
|
-
* @param {PatchUpdateAccountCnameRequest} [patchUpdateAccountCnameRequest] CNAME Request
|
|
1913
|
+
* Set 3CX Wizard CNAME
|
|
1914
|
+
* @param {PatchSetTcxWizardCnameRequest} [patchSetTcxWizardCnameRequest] CNAME Request
|
|
2380
1915
|
* @param {*} [options] Override http request option.
|
|
2381
1916
|
* @throws {RequiredError}
|
|
2382
1917
|
*/
|
|
2383
|
-
AccountsApi.prototype.
|
|
1918
|
+
AccountsApi.prototype.patchSetTcxWizardCname = function (patchSetTcxWizardCnameRequest, options) {
|
|
2384
1919
|
var _this = this;
|
|
2385
|
-
return (0, exports.AccountsApiFp)(this.configuration).
|
|
1920
|
+
return (0, exports.AccountsApiFp)(this.configuration).patchSetTcxWizardCname(patchSetTcxWizardCnameRequest, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
2386
1921
|
};
|
|
2387
1922
|
/**
|
|
2388
1923
|
* Update Account Password
|
|
@@ -2486,39 +2021,9 @@ var AccountsApi = /** @class */ (function (_super) {
|
|
|
2486
2021
|
var _this = this;
|
|
2487
2022
|
return (0, exports.AccountsApiFp)(this.configuration).putUpdateAccountContact(email, accountContactRequestModel, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
2488
2023
|
};
|
|
2489
|
-
/**
|
|
2490
|
-
* Update Account Billing Address
|
|
2491
|
-
* @param {string} id Xero ID
|
|
2492
|
-
* @param {AddressModel} [addressModel] Updated Billing Address
|
|
2493
|
-
* @param {*} [options] Override http request option.
|
|
2494
|
-
* @throws {RequiredError}
|
|
2495
|
-
*/
|
|
2496
|
-
AccountsApi.prototype.putUpdateBillingAddress = function (id, addressModel, options) {
|
|
2497
|
-
var _this = this;
|
|
2498
|
-
return (0, exports.AccountsApiFp)(this.configuration).putUpdateBillingAddress(id, addressModel, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
2499
|
-
};
|
|
2500
|
-
/**
|
|
2501
|
-
* Update Account Shipping Address
|
|
2502
|
-
* @param {string} id Xero ID
|
|
2503
|
-
* @param {AddressModel} [addressModel] Updated Shipping Address
|
|
2504
|
-
* @param {*} [options] Override http request option.
|
|
2505
|
-
* @throws {RequiredError}
|
|
2506
|
-
*/
|
|
2507
|
-
AccountsApi.prototype.putUpdateShippingAddress = function (id, addressModel, options) {
|
|
2508
|
-
var _this = this;
|
|
2509
|
-
return (0, exports.AccountsApiFp)(this.configuration).putUpdateShippingAddress(id, addressModel, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
2510
|
-
};
|
|
2511
2024
|
return AccountsApi;
|
|
2512
2025
|
}(base_1.BaseAPI));
|
|
2513
2026
|
exports.AccountsApi = AccountsApi;
|
|
2514
|
-
exports.PatchSetPortalAccessStateEnum = {
|
|
2515
|
-
Enable: 'enable',
|
|
2516
|
-
Disable: 'disable'
|
|
2517
|
-
};
|
|
2518
|
-
exports.PatchSetPrizePromoStateEnum = {
|
|
2519
|
-
Enable: 'enable',
|
|
2520
|
-
Disable: 'disable'
|
|
2521
|
-
};
|
|
2522
2027
|
/**
|
|
2523
2028
|
* CRMApi - axios parameter creator
|
|
2524
2029
|
*/
|
|
@@ -5788,6 +5293,49 @@ var Class3CXInstallationsApiAxiosParamCreator = function (configuration) {
|
|
|
5788
5293
|
});
|
|
5789
5294
|
});
|
|
5790
5295
|
},
|
|
5296
|
+
/**
|
|
5297
|
+
* Change instance owner
|
|
5298
|
+
* @summary Change instance owner
|
|
5299
|
+
* @param {string} instanceId Instance ID
|
|
5300
|
+
* @param {number} customerId Customer ID
|
|
5301
|
+
* @param {*} [options] Override http request option.
|
|
5302
|
+
* @throws {RequiredError}
|
|
5303
|
+
*/
|
|
5304
|
+
patchChangeInstanceOwner: function (instanceId_1, customerId_1) {
|
|
5305
|
+
var args_1 = [];
|
|
5306
|
+
for (var _i = 2; _i < arguments.length; _i++) {
|
|
5307
|
+
args_1[_i - 2] = arguments[_i];
|
|
5308
|
+
}
|
|
5309
|
+
return __awaiter(_this, __spreadArray([instanceId_1, customerId_1], args_1, true), void 0, function (instanceId, customerId, options) {
|
|
5310
|
+
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
5311
|
+
if (options === void 0) { options = {}; }
|
|
5312
|
+
return __generator(this, function (_a) {
|
|
5313
|
+
// verify required parameter 'instanceId' is not null or undefined
|
|
5314
|
+
(0, common_1.assertParamExists)('patchChangeInstanceOwner', 'instanceId', instanceId);
|
|
5315
|
+
// verify required parameter 'customerId' is not null or undefined
|
|
5316
|
+
(0, common_1.assertParamExists)('patchChangeInstanceOwner', 'customerId', customerId);
|
|
5317
|
+
localVarPath = "/tcx/installations/{instance_id}/owner"
|
|
5318
|
+
.replace("{".concat("instance_id", "}"), encodeURIComponent(String(instanceId)));
|
|
5319
|
+
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
5320
|
+
if (configuration) {
|
|
5321
|
+
baseOptions = configuration.baseOptions;
|
|
5322
|
+
}
|
|
5323
|
+
localVarRequestOptions = __assign(__assign({ method: 'PATCH' }, baseOptions), options);
|
|
5324
|
+
localVarHeaderParameter = {};
|
|
5325
|
+
localVarQueryParameter = {};
|
|
5326
|
+
if (customerId !== undefined) {
|
|
5327
|
+
localVarQueryParameter['customer_id'] = customerId;
|
|
5328
|
+
}
|
|
5329
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
5330
|
+
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
5331
|
+
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
5332
|
+
return [2 /*return*/, {
|
|
5333
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
5334
|
+
options: localVarRequestOptions,
|
|
5335
|
+
}];
|
|
5336
|
+
});
|
|
5337
|
+
});
|
|
5338
|
+
},
|
|
5791
5339
|
/**
|
|
5792
5340
|
* Update 3CX Instance Auto Failover
|
|
5793
5341
|
* @summary Update 3CX Instance Auto Failover
|
|
@@ -5966,7 +5514,7 @@ var Class3CXInstallationsApiAxiosParamCreator = function (configuration) {
|
|
|
5966
5514
|
* @summary Extend additional disk on 3CX Instance
|
|
5967
5515
|
* @param {string} instanceId Instance ID
|
|
5968
5516
|
* @param {number} gigabytes Disk Space (GB)
|
|
5969
|
-
* @param {string} schedule Scheduled Task (Date & Time)
|
|
5517
|
+
* @param {string} [schedule] Scheduled Task (Date & Time)
|
|
5970
5518
|
* @param {*} [options] Override http request option.
|
|
5971
5519
|
* @throws {RequiredError}
|
|
5972
5520
|
*/
|
|
@@ -5983,8 +5531,6 @@ var Class3CXInstallationsApiAxiosParamCreator = function (configuration) {
|
|
|
5983
5531
|
(0, common_1.assertParamExists)('postExtendDisk', 'instanceId', instanceId);
|
|
5984
5532
|
// verify required parameter 'gigabytes' is not null or undefined
|
|
5985
5533
|
(0, common_1.assertParamExists)('postExtendDisk', 'gigabytes', gigabytes);
|
|
5986
|
-
// verify required parameter 'schedule' is not null or undefined
|
|
5987
|
-
(0, common_1.assertParamExists)('postExtendDisk', 'schedule', schedule);
|
|
5988
5534
|
localVarPath = "/tcx/installations/{instance_id}/disk/extend"
|
|
5989
5535
|
.replace("{".concat("instance_id", "}"), encodeURIComponent(String(instanceId)));
|
|
5990
5536
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
@@ -6053,6 +5599,44 @@ var Class3CXInstallationsApiAxiosParamCreator = function (configuration) {
|
|
|
6053
5599
|
});
|
|
6054
5600
|
});
|
|
6055
5601
|
},
|
|
5602
|
+
/**
|
|
5603
|
+
* Install 3CX SBC
|
|
5604
|
+
* @summary Install 3CX SBC
|
|
5605
|
+
* @param {number} sbcId SBC ID
|
|
5606
|
+
* @param {*} [options] Override http request option.
|
|
5607
|
+
* @throws {RequiredError}
|
|
5608
|
+
*/
|
|
5609
|
+
postInstallTcxSbc: function (sbcId_1) {
|
|
5610
|
+
var args_1 = [];
|
|
5611
|
+
for (var _i = 1; _i < arguments.length; _i++) {
|
|
5612
|
+
args_1[_i - 1] = arguments[_i];
|
|
5613
|
+
}
|
|
5614
|
+
return __awaiter(_this, __spreadArray([sbcId_1], args_1, true), void 0, function (sbcId, options) {
|
|
5615
|
+
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
5616
|
+
if (options === void 0) { options = {}; }
|
|
5617
|
+
return __generator(this, function (_a) {
|
|
5618
|
+
// verify required parameter 'sbcId' is not null or undefined
|
|
5619
|
+
(0, common_1.assertParamExists)('postInstallTcxSbc', 'sbcId', sbcId);
|
|
5620
|
+
localVarPath = "/tcx/installations/sbcs/{sbc_id}/install"
|
|
5621
|
+
.replace("{".concat("sbc_id", "}"), encodeURIComponent(String(sbcId)));
|
|
5622
|
+
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
5623
|
+
if (configuration) {
|
|
5624
|
+
baseOptions = configuration.baseOptions;
|
|
5625
|
+
}
|
|
5626
|
+
localVarRequestOptions = __assign(__assign({ method: 'POST' }, baseOptions), options);
|
|
5627
|
+
localVarHeaderParameter = {};
|
|
5628
|
+
localVarQueryParameter = {};
|
|
5629
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
5630
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
5631
|
+
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
5632
|
+
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
5633
|
+
return [2 /*return*/, {
|
|
5634
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
5635
|
+
options: localVarRequestOptions,
|
|
5636
|
+
}];
|
|
5637
|
+
});
|
|
5638
|
+
});
|
|
5639
|
+
},
|
|
6056
5640
|
/**
|
|
6057
5641
|
* Reboot 3CX Instance
|
|
6058
5642
|
* @summary Reboot 3CX Instance
|
|
@@ -6137,6 +5721,88 @@ var Class3CXInstallationsApiAxiosParamCreator = function (configuration) {
|
|
|
6137
5721
|
});
|
|
6138
5722
|
});
|
|
6139
5723
|
},
|
|
5724
|
+
/**
|
|
5725
|
+
* Restart 3CX Services
|
|
5726
|
+
* @summary Restart 3CX Services
|
|
5727
|
+
* @param {string} instanceId Instance ID
|
|
5728
|
+
* @param {string} [schedule] Scheduled Task (Date & Time)
|
|
5729
|
+
* @param {*} [options] Override http request option.
|
|
5730
|
+
* @throws {RequiredError}
|
|
5731
|
+
*/
|
|
5732
|
+
postRestartServices: function (instanceId_1, schedule_1) {
|
|
5733
|
+
var args_1 = [];
|
|
5734
|
+
for (var _i = 2; _i < arguments.length; _i++) {
|
|
5735
|
+
args_1[_i - 2] = arguments[_i];
|
|
5736
|
+
}
|
|
5737
|
+
return __awaiter(_this, __spreadArray([instanceId_1, schedule_1], args_1, true), void 0, function (instanceId, schedule, options) {
|
|
5738
|
+
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
5739
|
+
if (options === void 0) { options = {}; }
|
|
5740
|
+
return __generator(this, function (_a) {
|
|
5741
|
+
// verify required parameter 'instanceId' is not null or undefined
|
|
5742
|
+
(0, common_1.assertParamExists)('postRestartServices', 'instanceId', instanceId);
|
|
5743
|
+
localVarPath = "/tcx/installations/{instance_id}/services/restart"
|
|
5744
|
+
.replace("{".concat("instance_id", "}"), encodeURIComponent(String(instanceId)));
|
|
5745
|
+
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
5746
|
+
if (configuration) {
|
|
5747
|
+
baseOptions = configuration.baseOptions;
|
|
5748
|
+
}
|
|
5749
|
+
localVarRequestOptions = __assign(__assign({ method: 'POST' }, baseOptions), options);
|
|
5750
|
+
localVarHeaderParameter = {};
|
|
5751
|
+
localVarQueryParameter = {};
|
|
5752
|
+
if (schedule !== undefined) {
|
|
5753
|
+
localVarQueryParameter['schedule'] = schedule;
|
|
5754
|
+
}
|
|
5755
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
5756
|
+
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
5757
|
+
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
5758
|
+
return [2 /*return*/, {
|
|
5759
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
5760
|
+
options: localVarRequestOptions,
|
|
5761
|
+
}];
|
|
5762
|
+
});
|
|
5763
|
+
});
|
|
5764
|
+
},
|
|
5765
|
+
/**
|
|
5766
|
+
* Reboot Instance
|
|
5767
|
+
* @summary Reboot Instance
|
|
5768
|
+
* @param {string} instanceId Instance ID
|
|
5769
|
+
* @param {string} [schedule] Scheduled Task (Date & Time)
|
|
5770
|
+
* @param {*} [options] Override http request option.
|
|
5771
|
+
* @throws {RequiredError}
|
|
5772
|
+
*/
|
|
5773
|
+
postScheduledReboot: function (instanceId_1, schedule_1) {
|
|
5774
|
+
var args_1 = [];
|
|
5775
|
+
for (var _i = 2; _i < arguments.length; _i++) {
|
|
5776
|
+
args_1[_i - 2] = arguments[_i];
|
|
5777
|
+
}
|
|
5778
|
+
return __awaiter(_this, __spreadArray([instanceId_1, schedule_1], args_1, true), void 0, function (instanceId, schedule, options) {
|
|
5779
|
+
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
5780
|
+
if (options === void 0) { options = {}; }
|
|
5781
|
+
return __generator(this, function (_a) {
|
|
5782
|
+
// verify required parameter 'instanceId' is not null or undefined
|
|
5783
|
+
(0, common_1.assertParamExists)('postScheduledReboot', 'instanceId', instanceId);
|
|
5784
|
+
localVarPath = "/tcx/installations/{instance_id}/reboot/scheduled"
|
|
5785
|
+
.replace("{".concat("instance_id", "}"), encodeURIComponent(String(instanceId)));
|
|
5786
|
+
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
5787
|
+
if (configuration) {
|
|
5788
|
+
baseOptions = configuration.baseOptions;
|
|
5789
|
+
}
|
|
5790
|
+
localVarRequestOptions = __assign(__assign({ method: 'POST' }, baseOptions), options);
|
|
5791
|
+
localVarHeaderParameter = {};
|
|
5792
|
+
localVarQueryParameter = {};
|
|
5793
|
+
if (schedule !== undefined) {
|
|
5794
|
+
localVarQueryParameter['schedule'] = schedule;
|
|
5795
|
+
}
|
|
5796
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
5797
|
+
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
5798
|
+
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
5799
|
+
return [2 /*return*/, {
|
|
5800
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
5801
|
+
options: localVarRequestOptions,
|
|
5802
|
+
}];
|
|
5803
|
+
});
|
|
5804
|
+
});
|
|
5805
|
+
},
|
|
6140
5806
|
/**
|
|
6141
5807
|
* Suspend 3CX Instance
|
|
6142
5808
|
* @summary Suspend 3CX Instance
|
|
@@ -6178,6 +5844,43 @@ var Class3CXInstallationsApiAxiosParamCreator = function (configuration) {
|
|
|
6178
5844
|
});
|
|
6179
5845
|
});
|
|
6180
5846
|
},
|
|
5847
|
+
/**
|
|
5848
|
+
* Test 3CX Login Credentials
|
|
5849
|
+
* @summary Test 3CX Login Credentials
|
|
5850
|
+
* @param {string} instanceId Instance ID
|
|
5851
|
+
* @param {*} [options] Override http request option.
|
|
5852
|
+
* @throws {RequiredError}
|
|
5853
|
+
*/
|
|
5854
|
+
postTestLoginCredentials: function (instanceId_1) {
|
|
5855
|
+
var args_1 = [];
|
|
5856
|
+
for (var _i = 1; _i < arguments.length; _i++) {
|
|
5857
|
+
args_1[_i - 1] = arguments[_i];
|
|
5858
|
+
}
|
|
5859
|
+
return __awaiter(_this, __spreadArray([instanceId_1], args_1, true), void 0, function (instanceId, options) {
|
|
5860
|
+
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
5861
|
+
if (options === void 0) { options = {}; }
|
|
5862
|
+
return __generator(this, function (_a) {
|
|
5863
|
+
// verify required parameter 'instanceId' is not null or undefined
|
|
5864
|
+
(0, common_1.assertParamExists)('postTestLoginCredentials', 'instanceId', instanceId);
|
|
5865
|
+
localVarPath = "/tcx/installations/{instance_id}/tests/login"
|
|
5866
|
+
.replace("{".concat("instance_id", "}"), encodeURIComponent(String(instanceId)));
|
|
5867
|
+
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
5868
|
+
if (configuration) {
|
|
5869
|
+
baseOptions = configuration.baseOptions;
|
|
5870
|
+
}
|
|
5871
|
+
localVarRequestOptions = __assign(__assign({ method: 'POST' }, baseOptions), options);
|
|
5872
|
+
localVarHeaderParameter = {};
|
|
5873
|
+
localVarQueryParameter = {};
|
|
5874
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
5875
|
+
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
5876
|
+
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
5877
|
+
return [2 /*return*/, {
|
|
5878
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
5879
|
+
options: localVarRequestOptions,
|
|
5880
|
+
}];
|
|
5881
|
+
});
|
|
5882
|
+
});
|
|
5883
|
+
},
|
|
6181
5884
|
/**
|
|
6182
5885
|
* Unsuspend 3CX Instance
|
|
6183
5886
|
* @summary Unsuspend 3CX Instance
|
|
@@ -6258,6 +5961,47 @@ var Class3CXInstallationsApiAxiosParamCreator = function (configuration) {
|
|
|
6258
5961
|
});
|
|
6259
5962
|
});
|
|
6260
5963
|
},
|
|
5964
|
+
/**
|
|
5965
|
+
* Update 3CX Installation Details
|
|
5966
|
+
* @summary Update 3CX Installation Details
|
|
5967
|
+
* @param {number} wizardId Wizard ID
|
|
5968
|
+
* @param {InstallationDetailsDTO} [installationDetailsDTO] Installation Details
|
|
5969
|
+
* @param {*} [options] Override http request option.
|
|
5970
|
+
* @throws {RequiredError}
|
|
5971
|
+
*/
|
|
5972
|
+
putGetDetails: function (wizardId_1, installationDetailsDTO_1) {
|
|
5973
|
+
var args_1 = [];
|
|
5974
|
+
for (var _i = 2; _i < arguments.length; _i++) {
|
|
5975
|
+
args_1[_i - 2] = arguments[_i];
|
|
5976
|
+
}
|
|
5977
|
+
return __awaiter(_this, __spreadArray([wizardId_1, installationDetailsDTO_1], args_1, true), void 0, function (wizardId, installationDetailsDTO, options) {
|
|
5978
|
+
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
5979
|
+
if (options === void 0) { options = {}; }
|
|
5980
|
+
return __generator(this, function (_a) {
|
|
5981
|
+
// verify required parameter 'wizardId' is not null or undefined
|
|
5982
|
+
(0, common_1.assertParamExists)('putGetDetails', 'wizardId', wizardId);
|
|
5983
|
+
localVarPath = "/tcx/installations/{wizard_id}/details"
|
|
5984
|
+
.replace("{".concat("wizard_id", "}"), encodeURIComponent(String(wizardId)));
|
|
5985
|
+
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
5986
|
+
if (configuration) {
|
|
5987
|
+
baseOptions = configuration.baseOptions;
|
|
5988
|
+
}
|
|
5989
|
+
localVarRequestOptions = __assign(__assign({ method: 'PUT' }, baseOptions), options);
|
|
5990
|
+
localVarHeaderParameter = {};
|
|
5991
|
+
localVarQueryParameter = {};
|
|
5992
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
5993
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
5994
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
5995
|
+
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
5996
|
+
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
5997
|
+
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(installationDetailsDTO, localVarRequestOptions, configuration);
|
|
5998
|
+
return [2 /*return*/, {
|
|
5999
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
6000
|
+
options: localVarRequestOptions,
|
|
6001
|
+
}];
|
|
6002
|
+
});
|
|
6003
|
+
});
|
|
6004
|
+
},
|
|
6261
6005
|
};
|
|
6262
6006
|
};
|
|
6263
6007
|
exports.Class3CXInstallationsApiAxiosParamCreator = Class3CXInstallationsApiAxiosParamCreator;
|
|
@@ -6303,17 +6047,41 @@ var Class3CXInstallationsApiFp = function (configuration) {
|
|
|
6303
6047
|
* @param {*} [options] Override http request option.
|
|
6304
6048
|
* @throws {RequiredError}
|
|
6305
6049
|
*/
|
|
6306
|
-
getGetInstallations: function (pageSize, page, customerId, search, status, hosting, installType, options) {
|
|
6050
|
+
getGetInstallations: function (pageSize, page, customerId, search, status, hosting, installType, options) {
|
|
6051
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
6052
|
+
var localVarAxiosArgs, localVarOperationServerIndex, localVarOperationServerBasePath;
|
|
6053
|
+
var _a, _b, _c;
|
|
6054
|
+
return __generator(this, function (_d) {
|
|
6055
|
+
switch (_d.label) {
|
|
6056
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.getGetInstallations(pageSize, page, customerId, search, status, hosting, installType, options)];
|
|
6057
|
+
case 1:
|
|
6058
|
+
localVarAxiosArgs = _d.sent();
|
|
6059
|
+
localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
6060
|
+
localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['Class3CXInstallationsApi.getGetInstallations']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
6061
|
+
return [2 /*return*/, function (axios, basePath) { return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath); }];
|
|
6062
|
+
}
|
|
6063
|
+
});
|
|
6064
|
+
});
|
|
6065
|
+
},
|
|
6066
|
+
/**
|
|
6067
|
+
* Change instance owner
|
|
6068
|
+
* @summary Change instance owner
|
|
6069
|
+
* @param {string} instanceId Instance ID
|
|
6070
|
+
* @param {number} customerId Customer ID
|
|
6071
|
+
* @param {*} [options] Override http request option.
|
|
6072
|
+
* @throws {RequiredError}
|
|
6073
|
+
*/
|
|
6074
|
+
patchChangeInstanceOwner: function (instanceId, customerId, options) {
|
|
6307
6075
|
return __awaiter(this, void 0, void 0, function () {
|
|
6308
6076
|
var localVarAxiosArgs, localVarOperationServerIndex, localVarOperationServerBasePath;
|
|
6309
6077
|
var _a, _b, _c;
|
|
6310
6078
|
return __generator(this, function (_d) {
|
|
6311
6079
|
switch (_d.label) {
|
|
6312
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.
|
|
6080
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.patchChangeInstanceOwner(instanceId, customerId, options)];
|
|
6313
6081
|
case 1:
|
|
6314
6082
|
localVarAxiosArgs = _d.sent();
|
|
6315
6083
|
localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
6316
|
-
localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['Class3CXInstallationsApi.
|
|
6084
|
+
localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['Class3CXInstallationsApi.patchChangeInstanceOwner']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
6317
6085
|
return [2 /*return*/, function (axios, basePath) { return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath); }];
|
|
6318
6086
|
}
|
|
6319
6087
|
});
|
|
@@ -6420,7 +6188,7 @@ var Class3CXInstallationsApiFp = function (configuration) {
|
|
|
6420
6188
|
* @summary Extend additional disk on 3CX Instance
|
|
6421
6189
|
* @param {string} instanceId Instance ID
|
|
6422
6190
|
* @param {number} gigabytes Disk Space (GB)
|
|
6423
|
-
* @param {string} schedule Scheduled Task (Date & Time)
|
|
6191
|
+
* @param {string} [schedule] Scheduled Task (Date & Time)
|
|
6424
6192
|
* @param {*} [options] Override http request option.
|
|
6425
6193
|
* @throws {RequiredError}
|
|
6426
6194
|
*/
|
|
@@ -6464,6 +6232,29 @@ var Class3CXInstallationsApiFp = function (configuration) {
|
|
|
6464
6232
|
});
|
|
6465
6233
|
});
|
|
6466
6234
|
},
|
|
6235
|
+
/**
|
|
6236
|
+
* Install 3CX SBC
|
|
6237
|
+
* @summary Install 3CX SBC
|
|
6238
|
+
* @param {number} sbcId SBC ID
|
|
6239
|
+
* @param {*} [options] Override http request option.
|
|
6240
|
+
* @throws {RequiredError}
|
|
6241
|
+
*/
|
|
6242
|
+
postInstallTcxSbc: function (sbcId, options) {
|
|
6243
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
6244
|
+
var localVarAxiosArgs, localVarOperationServerIndex, localVarOperationServerBasePath;
|
|
6245
|
+
var _a, _b, _c;
|
|
6246
|
+
return __generator(this, function (_d) {
|
|
6247
|
+
switch (_d.label) {
|
|
6248
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.postInstallTcxSbc(sbcId, options)];
|
|
6249
|
+
case 1:
|
|
6250
|
+
localVarAxiosArgs = _d.sent();
|
|
6251
|
+
localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
6252
|
+
localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['Class3CXInstallationsApi.postInstallTcxSbc']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
6253
|
+
return [2 /*return*/, function (axios, basePath) { return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath); }];
|
|
6254
|
+
}
|
|
6255
|
+
});
|
|
6256
|
+
});
|
|
6257
|
+
},
|
|
6467
6258
|
/**
|
|
6468
6259
|
* Reboot 3CX Instance
|
|
6469
6260
|
* @summary Reboot 3CX Instance
|
|
@@ -6512,6 +6303,54 @@ var Class3CXInstallationsApiFp = function (configuration) {
|
|
|
6512
6303
|
});
|
|
6513
6304
|
});
|
|
6514
6305
|
},
|
|
6306
|
+
/**
|
|
6307
|
+
* Restart 3CX Services
|
|
6308
|
+
* @summary Restart 3CX Services
|
|
6309
|
+
* @param {string} instanceId Instance ID
|
|
6310
|
+
* @param {string} [schedule] Scheduled Task (Date & Time)
|
|
6311
|
+
* @param {*} [options] Override http request option.
|
|
6312
|
+
* @throws {RequiredError}
|
|
6313
|
+
*/
|
|
6314
|
+
postRestartServices: function (instanceId, schedule, options) {
|
|
6315
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
6316
|
+
var localVarAxiosArgs, localVarOperationServerIndex, localVarOperationServerBasePath;
|
|
6317
|
+
var _a, _b, _c;
|
|
6318
|
+
return __generator(this, function (_d) {
|
|
6319
|
+
switch (_d.label) {
|
|
6320
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.postRestartServices(instanceId, schedule, options)];
|
|
6321
|
+
case 1:
|
|
6322
|
+
localVarAxiosArgs = _d.sent();
|
|
6323
|
+
localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
6324
|
+
localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['Class3CXInstallationsApi.postRestartServices']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
6325
|
+
return [2 /*return*/, function (axios, basePath) { return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath); }];
|
|
6326
|
+
}
|
|
6327
|
+
});
|
|
6328
|
+
});
|
|
6329
|
+
},
|
|
6330
|
+
/**
|
|
6331
|
+
* Reboot Instance
|
|
6332
|
+
* @summary Reboot Instance
|
|
6333
|
+
* @param {string} instanceId Instance ID
|
|
6334
|
+
* @param {string} [schedule] Scheduled Task (Date & Time)
|
|
6335
|
+
* @param {*} [options] Override http request option.
|
|
6336
|
+
* @throws {RequiredError}
|
|
6337
|
+
*/
|
|
6338
|
+
postScheduledReboot: function (instanceId, schedule, options) {
|
|
6339
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
6340
|
+
var localVarAxiosArgs, localVarOperationServerIndex, localVarOperationServerBasePath;
|
|
6341
|
+
var _a, _b, _c;
|
|
6342
|
+
return __generator(this, function (_d) {
|
|
6343
|
+
switch (_d.label) {
|
|
6344
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.postScheduledReboot(instanceId, schedule, options)];
|
|
6345
|
+
case 1:
|
|
6346
|
+
localVarAxiosArgs = _d.sent();
|
|
6347
|
+
localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
6348
|
+
localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['Class3CXInstallationsApi.postScheduledReboot']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
6349
|
+
return [2 /*return*/, function (axios, basePath) { return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath); }];
|
|
6350
|
+
}
|
|
6351
|
+
});
|
|
6352
|
+
});
|
|
6353
|
+
},
|
|
6515
6354
|
/**
|
|
6516
6355
|
* Suspend 3CX Instance
|
|
6517
6356
|
* @summary Suspend 3CX Instance
|
|
@@ -6536,6 +6375,29 @@ var Class3CXInstallationsApiFp = function (configuration) {
|
|
|
6536
6375
|
});
|
|
6537
6376
|
});
|
|
6538
6377
|
},
|
|
6378
|
+
/**
|
|
6379
|
+
* Test 3CX Login Credentials
|
|
6380
|
+
* @summary Test 3CX Login Credentials
|
|
6381
|
+
* @param {string} instanceId Instance ID
|
|
6382
|
+
* @param {*} [options] Override http request option.
|
|
6383
|
+
* @throws {RequiredError}
|
|
6384
|
+
*/
|
|
6385
|
+
postTestLoginCredentials: function (instanceId, options) {
|
|
6386
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
6387
|
+
var localVarAxiosArgs, localVarOperationServerIndex, localVarOperationServerBasePath;
|
|
6388
|
+
var _a, _b, _c;
|
|
6389
|
+
return __generator(this, function (_d) {
|
|
6390
|
+
switch (_d.label) {
|
|
6391
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.postTestLoginCredentials(instanceId, options)];
|
|
6392
|
+
case 1:
|
|
6393
|
+
localVarAxiosArgs = _d.sent();
|
|
6394
|
+
localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
6395
|
+
localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['Class3CXInstallationsApi.postTestLoginCredentials']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
6396
|
+
return [2 /*return*/, function (axios, basePath) { return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath); }];
|
|
6397
|
+
}
|
|
6398
|
+
});
|
|
6399
|
+
});
|
|
6400
|
+
},
|
|
6539
6401
|
/**
|
|
6540
6402
|
* Unsuspend 3CX Instance
|
|
6541
6403
|
* @summary Unsuspend 3CX Instance
|
|
@@ -6583,6 +6445,30 @@ var Class3CXInstallationsApiFp = function (configuration) {
|
|
|
6583
6445
|
});
|
|
6584
6446
|
});
|
|
6585
6447
|
},
|
|
6448
|
+
/**
|
|
6449
|
+
* Update 3CX Installation Details
|
|
6450
|
+
* @summary Update 3CX Installation Details
|
|
6451
|
+
* @param {number} wizardId Wizard ID
|
|
6452
|
+
* @param {InstallationDetailsDTO} [installationDetailsDTO] Installation Details
|
|
6453
|
+
* @param {*} [options] Override http request option.
|
|
6454
|
+
* @throws {RequiredError}
|
|
6455
|
+
*/
|
|
6456
|
+
putGetDetails: function (wizardId, installationDetailsDTO, options) {
|
|
6457
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
6458
|
+
var localVarAxiosArgs, localVarOperationServerIndex, localVarOperationServerBasePath;
|
|
6459
|
+
var _a, _b, _c;
|
|
6460
|
+
return __generator(this, function (_d) {
|
|
6461
|
+
switch (_d.label) {
|
|
6462
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.putGetDetails(wizardId, installationDetailsDTO, options)];
|
|
6463
|
+
case 1:
|
|
6464
|
+
localVarAxiosArgs = _d.sent();
|
|
6465
|
+
localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
6466
|
+
localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['Class3CXInstallationsApi.putGetDetails']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
6467
|
+
return [2 /*return*/, function (axios, basePath) { return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath); }];
|
|
6468
|
+
}
|
|
6469
|
+
});
|
|
6470
|
+
});
|
|
6471
|
+
},
|
|
6586
6472
|
};
|
|
6587
6473
|
};
|
|
6588
6474
|
exports.Class3CXInstallationsApiFp = Class3CXInstallationsApiFp;
|
|
@@ -6618,6 +6504,17 @@ var Class3CXInstallationsApiFactory = function (configuration, basePath, axios)
|
|
|
6618
6504
|
getGetInstallations: function (pageSize, page, customerId, search, status, hosting, installType, options) {
|
|
6619
6505
|
return localVarFp.getGetInstallations(pageSize, page, customerId, search, status, hosting, installType, options).then(function (request) { return request(axios, basePath); });
|
|
6620
6506
|
},
|
|
6507
|
+
/**
|
|
6508
|
+
* Change instance owner
|
|
6509
|
+
* @summary Change instance owner
|
|
6510
|
+
* @param {string} instanceId Instance ID
|
|
6511
|
+
* @param {number} customerId Customer ID
|
|
6512
|
+
* @param {*} [options] Override http request option.
|
|
6513
|
+
* @throws {RequiredError}
|
|
6514
|
+
*/
|
|
6515
|
+
patchChangeInstanceOwner: function (instanceId, customerId, options) {
|
|
6516
|
+
return localVarFp.patchChangeInstanceOwner(instanceId, customerId, options).then(function (request) { return request(axios, basePath); });
|
|
6517
|
+
},
|
|
6621
6518
|
/**
|
|
6622
6519
|
* Update 3CX Instance Auto Failover
|
|
6623
6520
|
* @summary Update 3CX Instance Auto Failover
|
|
@@ -6667,7 +6564,7 @@ var Class3CXInstallationsApiFactory = function (configuration, basePath, axios)
|
|
|
6667
6564
|
* @summary Extend additional disk on 3CX Instance
|
|
6668
6565
|
* @param {string} instanceId Instance ID
|
|
6669
6566
|
* @param {number} gigabytes Disk Space (GB)
|
|
6670
|
-
* @param {string} schedule Scheduled Task (Date & Time)
|
|
6567
|
+
* @param {string} [schedule] Scheduled Task (Date & Time)
|
|
6671
6568
|
* @param {*} [options] Override http request option.
|
|
6672
6569
|
* @throws {RequiredError}
|
|
6673
6570
|
*/
|
|
@@ -6685,6 +6582,16 @@ var Class3CXInstallationsApiFactory = function (configuration, basePath, axios)
|
|
|
6685
6582
|
postFailoverInstance: function (instanceId, type, options) {
|
|
6686
6583
|
return localVarFp.postFailoverInstance(instanceId, type, options).then(function (request) { return request(axios, basePath); });
|
|
6687
6584
|
},
|
|
6585
|
+
/**
|
|
6586
|
+
* Install 3CX SBC
|
|
6587
|
+
* @summary Install 3CX SBC
|
|
6588
|
+
* @param {number} sbcId SBC ID
|
|
6589
|
+
* @param {*} [options] Override http request option.
|
|
6590
|
+
* @throws {RequiredError}
|
|
6591
|
+
*/
|
|
6592
|
+
postInstallTcxSbc: function (sbcId, options) {
|
|
6593
|
+
return localVarFp.postInstallTcxSbc(sbcId, options).then(function (request) { return request(axios, basePath); });
|
|
6594
|
+
},
|
|
6688
6595
|
/**
|
|
6689
6596
|
* Reboot 3CX Instance
|
|
6690
6597
|
* @summary Reboot 3CX Instance
|
|
@@ -6707,6 +6614,28 @@ var Class3CXInstallationsApiFactory = function (configuration, basePath, axios)
|
|
|
6707
6614
|
postResizeInstance: function (instanceId, size, schedule, options) {
|
|
6708
6615
|
return localVarFp.postResizeInstance(instanceId, size, schedule, options).then(function (request) { return request(axios, basePath); });
|
|
6709
6616
|
},
|
|
6617
|
+
/**
|
|
6618
|
+
* Restart 3CX Services
|
|
6619
|
+
* @summary Restart 3CX Services
|
|
6620
|
+
* @param {string} instanceId Instance ID
|
|
6621
|
+
* @param {string} [schedule] Scheduled Task (Date & Time)
|
|
6622
|
+
* @param {*} [options] Override http request option.
|
|
6623
|
+
* @throws {RequiredError}
|
|
6624
|
+
*/
|
|
6625
|
+
postRestartServices: function (instanceId, schedule, options) {
|
|
6626
|
+
return localVarFp.postRestartServices(instanceId, schedule, options).then(function (request) { return request(axios, basePath); });
|
|
6627
|
+
},
|
|
6628
|
+
/**
|
|
6629
|
+
* Reboot Instance
|
|
6630
|
+
* @summary Reboot Instance
|
|
6631
|
+
* @param {string} instanceId Instance ID
|
|
6632
|
+
* @param {string} [schedule] Scheduled Task (Date & Time)
|
|
6633
|
+
* @param {*} [options] Override http request option.
|
|
6634
|
+
* @throws {RequiredError}
|
|
6635
|
+
*/
|
|
6636
|
+
postScheduledReboot: function (instanceId, schedule, options) {
|
|
6637
|
+
return localVarFp.postScheduledReboot(instanceId, schedule, options).then(function (request) { return request(axios, basePath); });
|
|
6638
|
+
},
|
|
6710
6639
|
/**
|
|
6711
6640
|
* Suspend 3CX Instance
|
|
6712
6641
|
* @summary Suspend 3CX Instance
|
|
@@ -6718,6 +6647,16 @@ var Class3CXInstallationsApiFactory = function (configuration, basePath, axios)
|
|
|
6718
6647
|
postSuspendInstance: function (instanceId, schedule, options) {
|
|
6719
6648
|
return localVarFp.postSuspendInstance(instanceId, schedule, options).then(function (request) { return request(axios, basePath); });
|
|
6720
6649
|
},
|
|
6650
|
+
/**
|
|
6651
|
+
* Test 3CX Login Credentials
|
|
6652
|
+
* @summary Test 3CX Login Credentials
|
|
6653
|
+
* @param {string} instanceId Instance ID
|
|
6654
|
+
* @param {*} [options] Override http request option.
|
|
6655
|
+
* @throws {RequiredError}
|
|
6656
|
+
*/
|
|
6657
|
+
postTestLoginCredentials: function (instanceId, options) {
|
|
6658
|
+
return localVarFp.postTestLoginCredentials(instanceId, options).then(function (request) { return request(axios, basePath); });
|
|
6659
|
+
},
|
|
6721
6660
|
/**
|
|
6722
6661
|
* Unsuspend 3CX Instance
|
|
6723
6662
|
* @summary Unsuspend 3CX Instance
|
|
@@ -6739,6 +6678,17 @@ var Class3CXInstallationsApiFactory = function (configuration, basePath, axios)
|
|
|
6739
6678
|
postUpgradeDebian: function (instanceId, schedule, options) {
|
|
6740
6679
|
return localVarFp.postUpgradeDebian(instanceId, schedule, options).then(function (request) { return request(axios, basePath); });
|
|
6741
6680
|
},
|
|
6681
|
+
/**
|
|
6682
|
+
* Update 3CX Installation Details
|
|
6683
|
+
* @summary Update 3CX Installation Details
|
|
6684
|
+
* @param {number} wizardId Wizard ID
|
|
6685
|
+
* @param {InstallationDetailsDTO} [installationDetailsDTO] Installation Details
|
|
6686
|
+
* @param {*} [options] Override http request option.
|
|
6687
|
+
* @throws {RequiredError}
|
|
6688
|
+
*/
|
|
6689
|
+
putGetDetails: function (wizardId, installationDetailsDTO, options) {
|
|
6690
|
+
return localVarFp.putGetDetails(wizardId, installationDetailsDTO, options).then(function (request) { return request(axios, basePath); });
|
|
6691
|
+
},
|
|
6742
6692
|
};
|
|
6743
6693
|
};
|
|
6744
6694
|
exports.Class3CXInstallationsApiFactory = Class3CXInstallationsApiFactory;
|
|
@@ -6778,6 +6728,18 @@ var Class3CXInstallationsApi = /** @class */ (function (_super) {
|
|
|
6778
6728
|
var _this = this;
|
|
6779
6729
|
return (0, exports.Class3CXInstallationsApiFp)(this.configuration).getGetInstallations(pageSize, page, customerId, search, status, hosting, installType, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
6780
6730
|
};
|
|
6731
|
+
/**
|
|
6732
|
+
* Change instance owner
|
|
6733
|
+
* @summary Change instance owner
|
|
6734
|
+
* @param {string} instanceId Instance ID
|
|
6735
|
+
* @param {number} customerId Customer ID
|
|
6736
|
+
* @param {*} [options] Override http request option.
|
|
6737
|
+
* @throws {RequiredError}
|
|
6738
|
+
*/
|
|
6739
|
+
Class3CXInstallationsApi.prototype.patchChangeInstanceOwner = function (instanceId, customerId, options) {
|
|
6740
|
+
var _this = this;
|
|
6741
|
+
return (0, exports.Class3CXInstallationsApiFp)(this.configuration).patchChangeInstanceOwner(instanceId, customerId, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
6742
|
+
};
|
|
6781
6743
|
/**
|
|
6782
6744
|
* Update 3CX Instance Auto Failover
|
|
6783
6745
|
* @summary Update 3CX Instance Auto Failover
|
|
@@ -6831,7 +6793,7 @@ var Class3CXInstallationsApi = /** @class */ (function (_super) {
|
|
|
6831
6793
|
* @summary Extend additional disk on 3CX Instance
|
|
6832
6794
|
* @param {string} instanceId Instance ID
|
|
6833
6795
|
* @param {number} gigabytes Disk Space (GB)
|
|
6834
|
-
* @param {string} schedule Scheduled Task (Date & Time)
|
|
6796
|
+
* @param {string} [schedule] Scheduled Task (Date & Time)
|
|
6835
6797
|
* @param {*} [options] Override http request option.
|
|
6836
6798
|
* @throws {RequiredError}
|
|
6837
6799
|
*/
|
|
@@ -6851,6 +6813,17 @@ var Class3CXInstallationsApi = /** @class */ (function (_super) {
|
|
|
6851
6813
|
var _this = this;
|
|
6852
6814
|
return (0, exports.Class3CXInstallationsApiFp)(this.configuration).postFailoverInstance(instanceId, type, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
6853
6815
|
};
|
|
6816
|
+
/**
|
|
6817
|
+
* Install 3CX SBC
|
|
6818
|
+
* @summary Install 3CX SBC
|
|
6819
|
+
* @param {number} sbcId SBC ID
|
|
6820
|
+
* @param {*} [options] Override http request option.
|
|
6821
|
+
* @throws {RequiredError}
|
|
6822
|
+
*/
|
|
6823
|
+
Class3CXInstallationsApi.prototype.postInstallTcxSbc = function (sbcId, options) {
|
|
6824
|
+
var _this = this;
|
|
6825
|
+
return (0, exports.Class3CXInstallationsApiFp)(this.configuration).postInstallTcxSbc(sbcId, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
6826
|
+
};
|
|
6854
6827
|
/**
|
|
6855
6828
|
* Reboot 3CX Instance
|
|
6856
6829
|
* @summary Reboot 3CX Instance
|
|
@@ -6875,6 +6848,30 @@ var Class3CXInstallationsApi = /** @class */ (function (_super) {
|
|
|
6875
6848
|
var _this = this;
|
|
6876
6849
|
return (0, exports.Class3CXInstallationsApiFp)(this.configuration).postResizeInstance(instanceId, size, schedule, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
6877
6850
|
};
|
|
6851
|
+
/**
|
|
6852
|
+
* Restart 3CX Services
|
|
6853
|
+
* @summary Restart 3CX Services
|
|
6854
|
+
* @param {string} instanceId Instance ID
|
|
6855
|
+
* @param {string} [schedule] Scheduled Task (Date & Time)
|
|
6856
|
+
* @param {*} [options] Override http request option.
|
|
6857
|
+
* @throws {RequiredError}
|
|
6858
|
+
*/
|
|
6859
|
+
Class3CXInstallationsApi.prototype.postRestartServices = function (instanceId, schedule, options) {
|
|
6860
|
+
var _this = this;
|
|
6861
|
+
return (0, exports.Class3CXInstallationsApiFp)(this.configuration).postRestartServices(instanceId, schedule, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
6862
|
+
};
|
|
6863
|
+
/**
|
|
6864
|
+
* Reboot Instance
|
|
6865
|
+
* @summary Reboot Instance
|
|
6866
|
+
* @param {string} instanceId Instance ID
|
|
6867
|
+
* @param {string} [schedule] Scheduled Task (Date & Time)
|
|
6868
|
+
* @param {*} [options] Override http request option.
|
|
6869
|
+
* @throws {RequiredError}
|
|
6870
|
+
*/
|
|
6871
|
+
Class3CXInstallationsApi.prototype.postScheduledReboot = function (instanceId, schedule, options) {
|
|
6872
|
+
var _this = this;
|
|
6873
|
+
return (0, exports.Class3CXInstallationsApiFp)(this.configuration).postScheduledReboot(instanceId, schedule, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
6874
|
+
};
|
|
6878
6875
|
/**
|
|
6879
6876
|
* Suspend 3CX Instance
|
|
6880
6877
|
* @summary Suspend 3CX Instance
|
|
@@ -6887,6 +6884,17 @@ var Class3CXInstallationsApi = /** @class */ (function (_super) {
|
|
|
6887
6884
|
var _this = this;
|
|
6888
6885
|
return (0, exports.Class3CXInstallationsApiFp)(this.configuration).postSuspendInstance(instanceId, schedule, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
6889
6886
|
};
|
|
6887
|
+
/**
|
|
6888
|
+
* Test 3CX Login Credentials
|
|
6889
|
+
* @summary Test 3CX Login Credentials
|
|
6890
|
+
* @param {string} instanceId Instance ID
|
|
6891
|
+
* @param {*} [options] Override http request option.
|
|
6892
|
+
* @throws {RequiredError}
|
|
6893
|
+
*/
|
|
6894
|
+
Class3CXInstallationsApi.prototype.postTestLoginCredentials = function (instanceId, options) {
|
|
6895
|
+
var _this = this;
|
|
6896
|
+
return (0, exports.Class3CXInstallationsApiFp)(this.configuration).postTestLoginCredentials(instanceId, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
6897
|
+
};
|
|
6890
6898
|
/**
|
|
6891
6899
|
* Unsuspend 3CX Instance
|
|
6892
6900
|
* @summary Unsuspend 3CX Instance
|
|
@@ -6910,6 +6918,18 @@ var Class3CXInstallationsApi = /** @class */ (function (_super) {
|
|
|
6910
6918
|
var _this = this;
|
|
6911
6919
|
return (0, exports.Class3CXInstallationsApiFp)(this.configuration).postUpgradeDebian(instanceId, schedule, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
6912
6920
|
};
|
|
6921
|
+
/**
|
|
6922
|
+
* Update 3CX Installation Details
|
|
6923
|
+
* @summary Update 3CX Installation Details
|
|
6924
|
+
* @param {number} wizardId Wizard ID
|
|
6925
|
+
* @param {InstallationDetailsDTO} [installationDetailsDTO] Installation Details
|
|
6926
|
+
* @param {*} [options] Override http request option.
|
|
6927
|
+
* @throws {RequiredError}
|
|
6928
|
+
*/
|
|
6929
|
+
Class3CXInstallationsApi.prototype.putGetDetails = function (wizardId, installationDetailsDTO, options) {
|
|
6930
|
+
var _this = this;
|
|
6931
|
+
return (0, exports.Class3CXInstallationsApiFp)(this.configuration).putGetDetails(wizardId, installationDetailsDTO, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
6932
|
+
};
|
|
6913
6933
|
return Class3CXInstallationsApi;
|
|
6914
6934
|
}(base_1.BaseAPI));
|
|
6915
6935
|
exports.Class3CXInstallationsApi = Class3CXInstallationsApi;
|
|
@@ -6917,30 +6937,30 @@ exports.GetGetInstallationsStatusEnum = {
|
|
|
6917
6937
|
Completed: 'Completed',
|
|
6918
6938
|
Outstanding: 'Outstanding',
|
|
6919
6939
|
Offline: 'Offline',
|
|
6920
|
-
FailedOver: 'Failed Over'
|
|
6940
|
+
FailedOver: 'Failed Over',
|
|
6921
6941
|
};
|
|
6922
6942
|
exports.GetGetInstallationsHostingEnum = {
|
|
6923
6943
|
Yellowgrid: 'yellowgrid',
|
|
6924
6944
|
MultiTenant: 'multi-tenant',
|
|
6925
6945
|
Onprem: 'onprem',
|
|
6926
|
-
All: 'all'
|
|
6946
|
+
All: 'all',
|
|
6927
6947
|
};
|
|
6928
6948
|
exports.GetGetInstallationsInstallTypeEnum = {
|
|
6929
6949
|
New: 'new',
|
|
6930
6950
|
Restore: 'restore',
|
|
6931
6951
|
Failover: 'failover',
|
|
6932
|
-
MultiTenant: 'multi-tenant'
|
|
6952
|
+
MultiTenant: 'multi-tenant',
|
|
6933
6953
|
};
|
|
6934
6954
|
exports.PostFailoverInstanceTypeEnum = {
|
|
6935
6955
|
Config: 'config',
|
|
6936
|
-
Image: 'image'
|
|
6956
|
+
Image: 'image',
|
|
6937
6957
|
};
|
|
6938
6958
|
exports.PostResizeInstanceSizeEnum = {
|
|
6939
6959
|
D24: 'd2-4',
|
|
6940
6960
|
D28: 'd2-8',
|
|
6941
6961
|
B230: 'b2-30',
|
|
6942
6962
|
S2vcpu4gb: 's-2vcpu-4gb',
|
|
6943
|
-
S4vcpu8gb: 's-4vcpu-8gb'
|
|
6963
|
+
S4vcpu8gb: 's-4vcpu-8gb',
|
|
6944
6964
|
};
|
|
6945
6965
|
/**
|
|
6946
6966
|
* Class3CXIntegrationsApi - axios parameter creator
|
|
@@ -7481,11 +7501,11 @@ var Class3CXIntegrationsApi = /** @class */ (function (_super) {
|
|
|
7481
7501
|
exports.Class3CXIntegrationsApi = Class3CXIntegrationsApi;
|
|
7482
7502
|
exports.GetGetPriceLicenceTypeEnum = {
|
|
7483
7503
|
Lite: 'lite',
|
|
7484
|
-
Pro: 'pro'
|
|
7504
|
+
Pro: 'pro',
|
|
7485
7505
|
};
|
|
7486
7506
|
exports.GetGetPriceSchoolTypeEnum = {
|
|
7487
7507
|
Primary: 'primary',
|
|
7488
|
-
Secondary: 'secondary'
|
|
7508
|
+
Secondary: 'secondary',
|
|
7489
7509
|
};
|
|
7490
7510
|
/**
|
|
7491
7511
|
* Class3CXMultiTenantApi - axios parameter creator
|
|
@@ -8206,7 +8226,7 @@ exports.GetGetTenantsStatusEnum = {
|
|
|
8206
8226
|
Completed: 'Completed',
|
|
8207
8227
|
Outstanding: 'Outstanding',
|
|
8208
8228
|
Offline: 'Offline',
|
|
8209
|
-
FailedOver: 'Failed Over'
|
|
8229
|
+
FailedOver: 'Failed Over',
|
|
8210
8230
|
};
|
|
8211
8231
|
/**
|
|
8212
8232
|
* MyPBXToolsApi - axios parameter creator
|
|
@@ -10252,7 +10272,7 @@ exports.PostAccessTokenGrantTypeEnum = {
|
|
|
10252
10272
|
AuthorizationCode: 'authorization_code',
|
|
10253
10273
|
MsAuth: 'ms_auth',
|
|
10254
10274
|
TokenExchange: 'token_exchange',
|
|
10255
|
-
Password: 'password'
|
|
10275
|
+
Password: 'password',
|
|
10256
10276
|
};
|
|
10257
10277
|
exports.PostAccessTokenScopeEnum = {
|
|
10258
10278
|
Star: '*',
|
|
@@ -10282,11 +10302,11 @@ exports.PostAccessTokenScopeEnum = {
|
|
|
10282
10302
|
TcxMtRead: 'tcx_mt.read',
|
|
10283
10303
|
TcxMtWrite: 'tcx_mt.write',
|
|
10284
10304
|
TicketsRead: 'tickets.read',
|
|
10285
|
-
TicketsWrite: 'tickets.write'
|
|
10305
|
+
TicketsWrite: 'tickets.write',
|
|
10286
10306
|
};
|
|
10287
10307
|
exports.PostAccessTokenTokenExchangeTypeEnum = {
|
|
10288
10308
|
TcxWizard: 'tcx_wizard',
|
|
10289
|
-
Portal: 'portal'
|
|
10309
|
+
Portal: 'portal',
|
|
10290
10310
|
};
|
|
10291
10311
|
exports.PostAuthoriseScopeEnum = {
|
|
10292
10312
|
Star: '*',
|
|
@@ -10316,7 +10336,7 @@ exports.PostAuthoriseScopeEnum = {
|
|
|
10316
10336
|
TcxMtRead: 'tcx_mt.read',
|
|
10317
10337
|
TcxMtWrite: 'tcx_mt.write',
|
|
10318
10338
|
TicketsRead: 'tickets.read',
|
|
10319
|
-
TicketsWrite: 'tickets.write'
|
|
10339
|
+
TicketsWrite: 'tickets.write',
|
|
10320
10340
|
};
|
|
10321
10341
|
/**
|
|
10322
10342
|
* OrdersApi - axios parameter creator
|
|
@@ -11126,6 +11146,48 @@ var OrdersApiAxiosParamCreator = function (configuration) {
|
|
|
11126
11146
|
});
|
|
11127
11147
|
});
|
|
11128
11148
|
},
|
|
11149
|
+
/**
|
|
11150
|
+
* Process 3CX Licences (Admin)
|
|
11151
|
+
* @summary Process 3CX Licences (Admin)
|
|
11152
|
+
* @param {number} id Order ID
|
|
11153
|
+
* @param {number} batchId Batch ID
|
|
11154
|
+
* @param {*} [options] Override http request option.
|
|
11155
|
+
* @throws {RequiredError}
|
|
11156
|
+
*/
|
|
11157
|
+
postProcessTcxLicences: function (id_1, batchId_1) {
|
|
11158
|
+
var args_1 = [];
|
|
11159
|
+
for (var _i = 2; _i < arguments.length; _i++) {
|
|
11160
|
+
args_1[_i - 2] = arguments[_i];
|
|
11161
|
+
}
|
|
11162
|
+
return __awaiter(_this, __spreadArray([id_1, batchId_1], args_1, true), void 0, function (id, batchId, options) {
|
|
11163
|
+
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
11164
|
+
if (options === void 0) { options = {}; }
|
|
11165
|
+
return __generator(this, function (_a) {
|
|
11166
|
+
// verify required parameter 'id' is not null or undefined
|
|
11167
|
+
(0, common_1.assertParamExists)('postProcessTcxLicences', 'id', id);
|
|
11168
|
+
// verify required parameter 'batchId' is not null or undefined
|
|
11169
|
+
(0, common_1.assertParamExists)('postProcessTcxLicences', 'batchId', batchId);
|
|
11170
|
+
localVarPath = "/admin/orders/{id}/batches/{batch_id}/licences/process"
|
|
11171
|
+
.replace("{".concat("id", "}"), encodeURIComponent(String(id)))
|
|
11172
|
+
.replace("{".concat("batch_id", "}"), encodeURIComponent(String(batchId)));
|
|
11173
|
+
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
11174
|
+
if (configuration) {
|
|
11175
|
+
baseOptions = configuration.baseOptions;
|
|
11176
|
+
}
|
|
11177
|
+
localVarRequestOptions = __assign(__assign({ method: 'POST' }, baseOptions), options);
|
|
11178
|
+
localVarHeaderParameter = {};
|
|
11179
|
+
localVarQueryParameter = {};
|
|
11180
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
11181
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
11182
|
+
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
11183
|
+
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
11184
|
+
return [2 /*return*/, {
|
|
11185
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
11186
|
+
options: localVarRequestOptions,
|
|
11187
|
+
}];
|
|
11188
|
+
});
|
|
11189
|
+
});
|
|
11190
|
+
},
|
|
11129
11191
|
/**
|
|
11130
11192
|
* Send Order Email
|
|
11131
11193
|
* @summary Send Order Email
|
|
@@ -12048,6 +12110,30 @@ var OrdersApiFp = function (configuration) {
|
|
|
12048
12110
|
});
|
|
12049
12111
|
});
|
|
12050
12112
|
},
|
|
12113
|
+
/**
|
|
12114
|
+
* Process 3CX Licences (Admin)
|
|
12115
|
+
* @summary Process 3CX Licences (Admin)
|
|
12116
|
+
* @param {number} id Order ID
|
|
12117
|
+
* @param {number} batchId Batch ID
|
|
12118
|
+
* @param {*} [options] Override http request option.
|
|
12119
|
+
* @throws {RequiredError}
|
|
12120
|
+
*/
|
|
12121
|
+
postProcessTcxLicences: function (id, batchId, options) {
|
|
12122
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
12123
|
+
var localVarAxiosArgs, localVarOperationServerIndex, localVarOperationServerBasePath;
|
|
12124
|
+
var _a, _b, _c;
|
|
12125
|
+
return __generator(this, function (_d) {
|
|
12126
|
+
switch (_d.label) {
|
|
12127
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.postProcessTcxLicences(id, batchId, options)];
|
|
12128
|
+
case 1:
|
|
12129
|
+
localVarAxiosArgs = _d.sent();
|
|
12130
|
+
localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
12131
|
+
localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['OrdersApi.postProcessTcxLicences']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
12132
|
+
return [2 /*return*/, function (axios, basePath) { return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath); }];
|
|
12133
|
+
}
|
|
12134
|
+
});
|
|
12135
|
+
});
|
|
12136
|
+
},
|
|
12051
12137
|
/**
|
|
12052
12138
|
* Send Order Email
|
|
12053
12139
|
* @summary Send Order Email
|
|
@@ -12517,6 +12603,17 @@ var OrdersApiFactory = function (configuration, basePath, axios) {
|
|
|
12517
12603
|
postPrintShippingLabel: function (id, shipmentId, printer, options) {
|
|
12518
12604
|
return localVarFp.postPrintShippingLabel(id, shipmentId, printer, options).then(function (request) { return request(axios, basePath); });
|
|
12519
12605
|
},
|
|
12606
|
+
/**
|
|
12607
|
+
* Process 3CX Licences (Admin)
|
|
12608
|
+
* @summary Process 3CX Licences (Admin)
|
|
12609
|
+
* @param {number} id Order ID
|
|
12610
|
+
* @param {number} batchId Batch ID
|
|
12611
|
+
* @param {*} [options] Override http request option.
|
|
12612
|
+
* @throws {RequiredError}
|
|
12613
|
+
*/
|
|
12614
|
+
postProcessTcxLicences: function (id, batchId, options) {
|
|
12615
|
+
return localVarFp.postProcessTcxLicences(id, batchId, options).then(function (request) { return request(axios, basePath); });
|
|
12616
|
+
},
|
|
12520
12617
|
/**
|
|
12521
12618
|
* Send Order Email
|
|
12522
12619
|
* @summary Send Order Email
|
|
@@ -12877,6 +12974,18 @@ var OrdersApi = /** @class */ (function (_super) {
|
|
|
12877
12974
|
var _this = this;
|
|
12878
12975
|
return (0, exports.OrdersApiFp)(this.configuration).postPrintShippingLabel(id, shipmentId, printer, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
12879
12976
|
};
|
|
12977
|
+
/**
|
|
12978
|
+
* Process 3CX Licences (Admin)
|
|
12979
|
+
* @summary Process 3CX Licences (Admin)
|
|
12980
|
+
* @param {number} id Order ID
|
|
12981
|
+
* @param {number} batchId Batch ID
|
|
12982
|
+
* @param {*} [options] Override http request option.
|
|
12983
|
+
* @throws {RequiredError}
|
|
12984
|
+
*/
|
|
12985
|
+
OrdersApi.prototype.postProcessTcxLicences = function (id, batchId, options) {
|
|
12986
|
+
var _this = this;
|
|
12987
|
+
return (0, exports.OrdersApiFp)(this.configuration).postProcessTcxLicences(id, batchId, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
12988
|
+
};
|
|
12880
12989
|
/**
|
|
12881
12990
|
* Send Order Email
|
|
12882
12991
|
* @summary Send Order Email
|
|
@@ -13013,18 +13122,18 @@ exports.GetGetOrdersStatusEnum = {
|
|
|
13013
13122
|
Paid: 'PAID',
|
|
13014
13123
|
InvoicePaid: 'INVOICE_PAID',
|
|
13015
13124
|
Unpaid: 'UNPAID',
|
|
13016
|
-
Quote: 'QUOTE'
|
|
13125
|
+
Quote: 'QUOTE',
|
|
13017
13126
|
};
|
|
13018
13127
|
exports.GetGetOrdersFilterEnum = {
|
|
13019
13128
|
Outstanding: 'OUTSTANDING',
|
|
13020
13129
|
Quotes: 'QUOTES',
|
|
13021
13130
|
All: 'ALL',
|
|
13022
|
-
BackOrders: 'BACK_ORDERS'
|
|
13131
|
+
BackOrders: 'BACK_ORDERS',
|
|
13023
13132
|
};
|
|
13024
13133
|
exports.PostPrintShippingLabelPrinterEnum = {
|
|
13025
13134
|
NUMBER_1: 1,
|
|
13026
13135
|
NUMBER_2: 2,
|
|
13027
|
-
NUMBER_3: 3
|
|
13136
|
+
NUMBER_3: 3,
|
|
13028
13137
|
};
|
|
13029
13138
|
/**
|
|
13030
13139
|
* PricingApi - axios parameter creator
|
|
@@ -13297,14 +13406,14 @@ exports.GetGetPriceListTypeEnum = {
|
|
|
13297
13406
|
EdTechPro: 'EdTechPro',
|
|
13298
13407
|
Sms: 'SMS',
|
|
13299
13408
|
SipTrunks: 'SIP Trunks',
|
|
13300
|
-
CrmIntegrations: 'CRM Integrations'
|
|
13409
|
+
CrmIntegrations: 'CRM Integrations',
|
|
13301
13410
|
};
|
|
13302
13411
|
exports.GetGetPriceListFormatEnum = {
|
|
13303
13412
|
Pdf: 'pdf',
|
|
13304
13413
|
Json: 'json',
|
|
13305
13414
|
Csv: 'csv',
|
|
13306
13415
|
Xml: 'xml',
|
|
13307
|
-
Html: 'html'
|
|
13416
|
+
Html: 'html',
|
|
13308
13417
|
};
|
|
13309
13418
|
exports.GetGetPriceListCategoryEnum = {
|
|
13310
13419
|
Yealink: 'Yealink',
|
|
@@ -13326,7 +13435,7 @@ exports.GetGetPriceListCategoryEnum = {
|
|
|
13326
13435
|
FanvilWirelessPhones: 'Fanvil Wireless Phones',
|
|
13327
13436
|
FanvilSecurityProducts: 'Fanvil Security Products',
|
|
13328
13437
|
FanvilAccessories: 'Fanvil Accessories',
|
|
13329
|
-
FanvilHotelPhones: 'Fanvil Hotel Phones'
|
|
13438
|
+
FanvilHotelPhones: 'Fanvil Hotel Phones',
|
|
13330
13439
|
};
|
|
13331
13440
|
exports.PostSendPriceListTypeEnum = {
|
|
13332
13441
|
Products: 'Products',
|
|
@@ -13337,14 +13446,14 @@ exports.PostSendPriceListTypeEnum = {
|
|
|
13337
13446
|
EdTechPro: 'EdTechPro',
|
|
13338
13447
|
Sms: 'SMS',
|
|
13339
13448
|
SipTrunks: 'SIP Trunks',
|
|
13340
|
-
CrmIntegrations: 'CRM Integrations'
|
|
13449
|
+
CrmIntegrations: 'CRM Integrations',
|
|
13341
13450
|
};
|
|
13342
13451
|
exports.PostSendPriceListFormatEnum = {
|
|
13343
13452
|
Pdf: 'pdf',
|
|
13344
13453
|
Json: 'json',
|
|
13345
13454
|
Csv: 'csv',
|
|
13346
13455
|
Xml: 'xml',
|
|
13347
|
-
Html: 'html'
|
|
13456
|
+
Html: 'html',
|
|
13348
13457
|
};
|
|
13349
13458
|
exports.PostSendPriceListCategoryEnum = {
|
|
13350
13459
|
Yealink: 'Yealink',
|
|
@@ -13366,7 +13475,7 @@ exports.PostSendPriceListCategoryEnum = {
|
|
|
13366
13475
|
FanvilWirelessPhones: 'Fanvil Wireless Phones',
|
|
13367
13476
|
FanvilSecurityProducts: 'Fanvil Security Products',
|
|
13368
13477
|
FanvilAccessories: 'Fanvil Accessories',
|
|
13369
|
-
FanvilHotelPhones: 'Fanvil Hotel Phones'
|
|
13478
|
+
FanvilHotelPhones: 'Fanvil Hotel Phones',
|
|
13370
13479
|
};
|
|
13371
13480
|
/**
|
|
13372
13481
|
* ProductsApi - axios parameter creator
|
|
@@ -14246,8 +14355,385 @@ var ProductsApi = /** @class */ (function (_super) {
|
|
|
14246
14355
|
exports.ProductsApi = ProductsApi;
|
|
14247
14356
|
exports.GetGetLegacyStockListFormatEnum = {
|
|
14248
14357
|
Xml: 'XML',
|
|
14249
|
-
Csv: 'CSV'
|
|
14358
|
+
Csv: 'CSV',
|
|
14359
|
+
};
|
|
14360
|
+
/**
|
|
14361
|
+
* ProspectsApi - axios parameter creator
|
|
14362
|
+
*/
|
|
14363
|
+
var ProspectsApiAxiosParamCreator = function (configuration) {
|
|
14364
|
+
var _this = this;
|
|
14365
|
+
return {
|
|
14366
|
+
/**
|
|
14367
|
+
* Get Prospect
|
|
14368
|
+
* @summary Get Prospect
|
|
14369
|
+
* @param {string} xeroId Xero ID
|
|
14370
|
+
* @param {*} [options] Override http request option.
|
|
14371
|
+
* @throws {RequiredError}
|
|
14372
|
+
*/
|
|
14373
|
+
getGetProspect: function (xeroId_1) {
|
|
14374
|
+
var args_1 = [];
|
|
14375
|
+
for (var _i = 1; _i < arguments.length; _i++) {
|
|
14376
|
+
args_1[_i - 1] = arguments[_i];
|
|
14377
|
+
}
|
|
14378
|
+
return __awaiter(_this, __spreadArray([xeroId_1], args_1, true), void 0, function (xeroId, options) {
|
|
14379
|
+
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
14380
|
+
if (options === void 0) { options = {}; }
|
|
14381
|
+
return __generator(this, function (_a) {
|
|
14382
|
+
// verify required parameter 'xeroId' is not null or undefined
|
|
14383
|
+
(0, common_1.assertParamExists)('getGetProspect', 'xeroId', xeroId);
|
|
14384
|
+
localVarPath = "/accounts/prospects/{xero_id}"
|
|
14385
|
+
.replace("{".concat("xero_id", "}"), encodeURIComponent(String(xeroId)));
|
|
14386
|
+
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
14387
|
+
if (configuration) {
|
|
14388
|
+
baseOptions = configuration.baseOptions;
|
|
14389
|
+
}
|
|
14390
|
+
localVarRequestOptions = __assign(__assign({ method: 'GET' }, baseOptions), options);
|
|
14391
|
+
localVarHeaderParameter = {};
|
|
14392
|
+
localVarQueryParameter = {};
|
|
14393
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
14394
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
14395
|
+
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
14396
|
+
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
14397
|
+
return [2 /*return*/, {
|
|
14398
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
14399
|
+
options: localVarRequestOptions,
|
|
14400
|
+
}];
|
|
14401
|
+
});
|
|
14402
|
+
});
|
|
14403
|
+
},
|
|
14404
|
+
/**
|
|
14405
|
+
* Get Prospects
|
|
14406
|
+
* @summary Get Prospects
|
|
14407
|
+
* @param {*} [options] Override http request option.
|
|
14408
|
+
* @throws {RequiredError}
|
|
14409
|
+
*/
|
|
14410
|
+
getGetProspects: function () {
|
|
14411
|
+
var args_1 = [];
|
|
14412
|
+
for (var _i = 0; _i < arguments.length; _i++) {
|
|
14413
|
+
args_1[_i] = arguments[_i];
|
|
14414
|
+
}
|
|
14415
|
+
return __awaiter(_this, __spreadArray([], args_1, true), void 0, function (options) {
|
|
14416
|
+
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
14417
|
+
if (options === void 0) { options = {}; }
|
|
14418
|
+
return __generator(this, function (_a) {
|
|
14419
|
+
localVarPath = "/accounts/prospects";
|
|
14420
|
+
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
14421
|
+
if (configuration) {
|
|
14422
|
+
baseOptions = configuration.baseOptions;
|
|
14423
|
+
}
|
|
14424
|
+
localVarRequestOptions = __assign(__assign({ method: 'GET' }, baseOptions), options);
|
|
14425
|
+
localVarHeaderParameter = {};
|
|
14426
|
+
localVarQueryParameter = {};
|
|
14427
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
14428
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
14429
|
+
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
14430
|
+
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
14431
|
+
return [2 /*return*/, {
|
|
14432
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
14433
|
+
options: localVarRequestOptions,
|
|
14434
|
+
}];
|
|
14435
|
+
});
|
|
14436
|
+
});
|
|
14437
|
+
},
|
|
14438
|
+
/**
|
|
14439
|
+
* Remove From Prospect
|
|
14440
|
+
* @summary Remove From Prospects
|
|
14441
|
+
* @param {string} xeroId Xero ID
|
|
14442
|
+
* @param {boolean} status Status
|
|
14443
|
+
* @param {*} [options] Override http request option.
|
|
14444
|
+
* @throws {RequiredError}
|
|
14445
|
+
*/
|
|
14446
|
+
getRemoveFromProspects: function (xeroId_1, status_1) {
|
|
14447
|
+
var args_1 = [];
|
|
14448
|
+
for (var _i = 2; _i < arguments.length; _i++) {
|
|
14449
|
+
args_1[_i - 2] = arguments[_i];
|
|
14450
|
+
}
|
|
14451
|
+
return __awaiter(_this, __spreadArray([xeroId_1, status_1], args_1, true), void 0, function (xeroId, status, options) {
|
|
14452
|
+
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
14453
|
+
if (options === void 0) { options = {}; }
|
|
14454
|
+
return __generator(this, function (_a) {
|
|
14455
|
+
// verify required parameter 'xeroId' is not null or undefined
|
|
14456
|
+
(0, common_1.assertParamExists)('getRemoveFromProspects', 'xeroId', xeroId);
|
|
14457
|
+
// verify required parameter 'status' is not null or undefined
|
|
14458
|
+
(0, common_1.assertParamExists)('getRemoveFromProspects', 'status', status);
|
|
14459
|
+
localVarPath = "/accounts/prospects/{xero_id}/remove"
|
|
14460
|
+
.replace("{".concat("xero_id", "}"), encodeURIComponent(String(xeroId)));
|
|
14461
|
+
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
14462
|
+
if (configuration) {
|
|
14463
|
+
baseOptions = configuration.baseOptions;
|
|
14464
|
+
}
|
|
14465
|
+
localVarRequestOptions = __assign(__assign({ method: 'GET' }, baseOptions), options);
|
|
14466
|
+
localVarHeaderParameter = {};
|
|
14467
|
+
localVarQueryParameter = {};
|
|
14468
|
+
if (status !== undefined) {
|
|
14469
|
+
localVarQueryParameter['status'] = status;
|
|
14470
|
+
}
|
|
14471
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
14472
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
14473
|
+
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
14474
|
+
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
14475
|
+
return [2 /*return*/, {
|
|
14476
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
14477
|
+
options: localVarRequestOptions,
|
|
14478
|
+
}];
|
|
14479
|
+
});
|
|
14480
|
+
});
|
|
14481
|
+
},
|
|
14482
|
+
/**
|
|
14483
|
+
* Set Call Back Date
|
|
14484
|
+
* @summary Set Call Back Date
|
|
14485
|
+
* @param {string} xeroId Xero ID
|
|
14486
|
+
* @param {string} date Callback Date
|
|
14487
|
+
* @param {*} [options] Override http request option.
|
|
14488
|
+
* @throws {RequiredError}
|
|
14489
|
+
*/
|
|
14490
|
+
getSetCallback: function (xeroId_1, date_1) {
|
|
14491
|
+
var args_1 = [];
|
|
14492
|
+
for (var _i = 2; _i < arguments.length; _i++) {
|
|
14493
|
+
args_1[_i - 2] = arguments[_i];
|
|
14494
|
+
}
|
|
14495
|
+
return __awaiter(_this, __spreadArray([xeroId_1, date_1], args_1, true), void 0, function (xeroId, date, options) {
|
|
14496
|
+
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
14497
|
+
if (options === void 0) { options = {}; }
|
|
14498
|
+
return __generator(this, function (_a) {
|
|
14499
|
+
// verify required parameter 'xeroId' is not null or undefined
|
|
14500
|
+
(0, common_1.assertParamExists)('getSetCallback', 'xeroId', xeroId);
|
|
14501
|
+
// verify required parameter 'date' is not null or undefined
|
|
14502
|
+
(0, common_1.assertParamExists)('getSetCallback', 'date', date);
|
|
14503
|
+
localVarPath = "/accounts/prospects/{xero_id}/date"
|
|
14504
|
+
.replace("{".concat("xero_id", "}"), encodeURIComponent(String(xeroId)));
|
|
14505
|
+
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
14506
|
+
if (configuration) {
|
|
14507
|
+
baseOptions = configuration.baseOptions;
|
|
14508
|
+
}
|
|
14509
|
+
localVarRequestOptions = __assign(__assign({ method: 'GET' }, baseOptions), options);
|
|
14510
|
+
localVarHeaderParameter = {};
|
|
14511
|
+
localVarQueryParameter = {};
|
|
14512
|
+
if (date !== undefined) {
|
|
14513
|
+
localVarQueryParameter['date'] = date;
|
|
14514
|
+
}
|
|
14515
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
14516
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
14517
|
+
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
14518
|
+
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
14519
|
+
return [2 /*return*/, {
|
|
14520
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
14521
|
+
options: localVarRequestOptions,
|
|
14522
|
+
}];
|
|
14523
|
+
});
|
|
14524
|
+
});
|
|
14525
|
+
},
|
|
14526
|
+
};
|
|
14527
|
+
};
|
|
14528
|
+
exports.ProspectsApiAxiosParamCreator = ProspectsApiAxiosParamCreator;
|
|
14529
|
+
/**
|
|
14530
|
+
* ProspectsApi - functional programming interface
|
|
14531
|
+
*/
|
|
14532
|
+
var ProspectsApiFp = function (configuration) {
|
|
14533
|
+
var localVarAxiosParamCreator = (0, exports.ProspectsApiAxiosParamCreator)(configuration);
|
|
14534
|
+
return {
|
|
14535
|
+
/**
|
|
14536
|
+
* Get Prospect
|
|
14537
|
+
* @summary Get Prospect
|
|
14538
|
+
* @param {string} xeroId Xero ID
|
|
14539
|
+
* @param {*} [options] Override http request option.
|
|
14540
|
+
* @throws {RequiredError}
|
|
14541
|
+
*/
|
|
14542
|
+
getGetProspect: function (xeroId, options) {
|
|
14543
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
14544
|
+
var localVarAxiosArgs, localVarOperationServerIndex, localVarOperationServerBasePath;
|
|
14545
|
+
var _a, _b, _c;
|
|
14546
|
+
return __generator(this, function (_d) {
|
|
14547
|
+
switch (_d.label) {
|
|
14548
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.getGetProspect(xeroId, options)];
|
|
14549
|
+
case 1:
|
|
14550
|
+
localVarAxiosArgs = _d.sent();
|
|
14551
|
+
localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
14552
|
+
localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['ProspectsApi.getGetProspect']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
14553
|
+
return [2 /*return*/, function (axios, basePath) { return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath); }];
|
|
14554
|
+
}
|
|
14555
|
+
});
|
|
14556
|
+
});
|
|
14557
|
+
},
|
|
14558
|
+
/**
|
|
14559
|
+
* Get Prospects
|
|
14560
|
+
* @summary Get Prospects
|
|
14561
|
+
* @param {*} [options] Override http request option.
|
|
14562
|
+
* @throws {RequiredError}
|
|
14563
|
+
*/
|
|
14564
|
+
getGetProspects: function (options) {
|
|
14565
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
14566
|
+
var localVarAxiosArgs, localVarOperationServerIndex, localVarOperationServerBasePath;
|
|
14567
|
+
var _a, _b, _c;
|
|
14568
|
+
return __generator(this, function (_d) {
|
|
14569
|
+
switch (_d.label) {
|
|
14570
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.getGetProspects(options)];
|
|
14571
|
+
case 1:
|
|
14572
|
+
localVarAxiosArgs = _d.sent();
|
|
14573
|
+
localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
14574
|
+
localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['ProspectsApi.getGetProspects']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
14575
|
+
return [2 /*return*/, function (axios, basePath) { return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath); }];
|
|
14576
|
+
}
|
|
14577
|
+
});
|
|
14578
|
+
});
|
|
14579
|
+
},
|
|
14580
|
+
/**
|
|
14581
|
+
* Remove From Prospect
|
|
14582
|
+
* @summary Remove From Prospects
|
|
14583
|
+
* @param {string} xeroId Xero ID
|
|
14584
|
+
* @param {boolean} status Status
|
|
14585
|
+
* @param {*} [options] Override http request option.
|
|
14586
|
+
* @throws {RequiredError}
|
|
14587
|
+
*/
|
|
14588
|
+
getRemoveFromProspects: function (xeroId, status, options) {
|
|
14589
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
14590
|
+
var localVarAxiosArgs, localVarOperationServerIndex, localVarOperationServerBasePath;
|
|
14591
|
+
var _a, _b, _c;
|
|
14592
|
+
return __generator(this, function (_d) {
|
|
14593
|
+
switch (_d.label) {
|
|
14594
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.getRemoveFromProspects(xeroId, status, options)];
|
|
14595
|
+
case 1:
|
|
14596
|
+
localVarAxiosArgs = _d.sent();
|
|
14597
|
+
localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
14598
|
+
localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['ProspectsApi.getRemoveFromProspects']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
14599
|
+
return [2 /*return*/, function (axios, basePath) { return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath); }];
|
|
14600
|
+
}
|
|
14601
|
+
});
|
|
14602
|
+
});
|
|
14603
|
+
},
|
|
14604
|
+
/**
|
|
14605
|
+
* Set Call Back Date
|
|
14606
|
+
* @summary Set Call Back Date
|
|
14607
|
+
* @param {string} xeroId Xero ID
|
|
14608
|
+
* @param {string} date Callback Date
|
|
14609
|
+
* @param {*} [options] Override http request option.
|
|
14610
|
+
* @throws {RequiredError}
|
|
14611
|
+
*/
|
|
14612
|
+
getSetCallback: function (xeroId, date, options) {
|
|
14613
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
14614
|
+
var localVarAxiosArgs, localVarOperationServerIndex, localVarOperationServerBasePath;
|
|
14615
|
+
var _a, _b, _c;
|
|
14616
|
+
return __generator(this, function (_d) {
|
|
14617
|
+
switch (_d.label) {
|
|
14618
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.getSetCallback(xeroId, date, options)];
|
|
14619
|
+
case 1:
|
|
14620
|
+
localVarAxiosArgs = _d.sent();
|
|
14621
|
+
localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
14622
|
+
localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['ProspectsApi.getSetCallback']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
14623
|
+
return [2 /*return*/, function (axios, basePath) { return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath); }];
|
|
14624
|
+
}
|
|
14625
|
+
});
|
|
14626
|
+
});
|
|
14627
|
+
},
|
|
14628
|
+
};
|
|
14629
|
+
};
|
|
14630
|
+
exports.ProspectsApiFp = ProspectsApiFp;
|
|
14631
|
+
/**
|
|
14632
|
+
* ProspectsApi - factory interface
|
|
14633
|
+
*/
|
|
14634
|
+
var ProspectsApiFactory = function (configuration, basePath, axios) {
|
|
14635
|
+
var localVarFp = (0, exports.ProspectsApiFp)(configuration);
|
|
14636
|
+
return {
|
|
14637
|
+
/**
|
|
14638
|
+
* Get Prospect
|
|
14639
|
+
* @summary Get Prospect
|
|
14640
|
+
* @param {string} xeroId Xero ID
|
|
14641
|
+
* @param {*} [options] Override http request option.
|
|
14642
|
+
* @throws {RequiredError}
|
|
14643
|
+
*/
|
|
14644
|
+
getGetProspect: function (xeroId, options) {
|
|
14645
|
+
return localVarFp.getGetProspect(xeroId, options).then(function (request) { return request(axios, basePath); });
|
|
14646
|
+
},
|
|
14647
|
+
/**
|
|
14648
|
+
* Get Prospects
|
|
14649
|
+
* @summary Get Prospects
|
|
14650
|
+
* @param {*} [options] Override http request option.
|
|
14651
|
+
* @throws {RequiredError}
|
|
14652
|
+
*/
|
|
14653
|
+
getGetProspects: function (options) {
|
|
14654
|
+
return localVarFp.getGetProspects(options).then(function (request) { return request(axios, basePath); });
|
|
14655
|
+
},
|
|
14656
|
+
/**
|
|
14657
|
+
* Remove From Prospect
|
|
14658
|
+
* @summary Remove From Prospects
|
|
14659
|
+
* @param {string} xeroId Xero ID
|
|
14660
|
+
* @param {boolean} status Status
|
|
14661
|
+
* @param {*} [options] Override http request option.
|
|
14662
|
+
* @throws {RequiredError}
|
|
14663
|
+
*/
|
|
14664
|
+
getRemoveFromProspects: function (xeroId, status, options) {
|
|
14665
|
+
return localVarFp.getRemoveFromProspects(xeroId, status, options).then(function (request) { return request(axios, basePath); });
|
|
14666
|
+
},
|
|
14667
|
+
/**
|
|
14668
|
+
* Set Call Back Date
|
|
14669
|
+
* @summary Set Call Back Date
|
|
14670
|
+
* @param {string} xeroId Xero ID
|
|
14671
|
+
* @param {string} date Callback Date
|
|
14672
|
+
* @param {*} [options] Override http request option.
|
|
14673
|
+
* @throws {RequiredError}
|
|
14674
|
+
*/
|
|
14675
|
+
getSetCallback: function (xeroId, date, options) {
|
|
14676
|
+
return localVarFp.getSetCallback(xeroId, date, options).then(function (request) { return request(axios, basePath); });
|
|
14677
|
+
},
|
|
14678
|
+
};
|
|
14250
14679
|
};
|
|
14680
|
+
exports.ProspectsApiFactory = ProspectsApiFactory;
|
|
14681
|
+
/**
|
|
14682
|
+
* ProspectsApi - object-oriented interface
|
|
14683
|
+
*/
|
|
14684
|
+
var ProspectsApi = /** @class */ (function (_super) {
|
|
14685
|
+
__extends(ProspectsApi, _super);
|
|
14686
|
+
function ProspectsApi() {
|
|
14687
|
+
return _super !== null && _super.apply(this, arguments) || this;
|
|
14688
|
+
}
|
|
14689
|
+
/**
|
|
14690
|
+
* Get Prospect
|
|
14691
|
+
* @summary Get Prospect
|
|
14692
|
+
* @param {string} xeroId Xero ID
|
|
14693
|
+
* @param {*} [options] Override http request option.
|
|
14694
|
+
* @throws {RequiredError}
|
|
14695
|
+
*/
|
|
14696
|
+
ProspectsApi.prototype.getGetProspect = function (xeroId, options) {
|
|
14697
|
+
var _this = this;
|
|
14698
|
+
return (0, exports.ProspectsApiFp)(this.configuration).getGetProspect(xeroId, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
14699
|
+
};
|
|
14700
|
+
/**
|
|
14701
|
+
* Get Prospects
|
|
14702
|
+
* @summary Get Prospects
|
|
14703
|
+
* @param {*} [options] Override http request option.
|
|
14704
|
+
* @throws {RequiredError}
|
|
14705
|
+
*/
|
|
14706
|
+
ProspectsApi.prototype.getGetProspects = function (options) {
|
|
14707
|
+
var _this = this;
|
|
14708
|
+
return (0, exports.ProspectsApiFp)(this.configuration).getGetProspects(options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
14709
|
+
};
|
|
14710
|
+
/**
|
|
14711
|
+
* Remove From Prospect
|
|
14712
|
+
* @summary Remove From Prospects
|
|
14713
|
+
* @param {string} xeroId Xero ID
|
|
14714
|
+
* @param {boolean} status Status
|
|
14715
|
+
* @param {*} [options] Override http request option.
|
|
14716
|
+
* @throws {RequiredError}
|
|
14717
|
+
*/
|
|
14718
|
+
ProspectsApi.prototype.getRemoveFromProspects = function (xeroId, status, options) {
|
|
14719
|
+
var _this = this;
|
|
14720
|
+
return (0, exports.ProspectsApiFp)(this.configuration).getRemoveFromProspects(xeroId, status, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
14721
|
+
};
|
|
14722
|
+
/**
|
|
14723
|
+
* Set Call Back Date
|
|
14724
|
+
* @summary Set Call Back Date
|
|
14725
|
+
* @param {string} xeroId Xero ID
|
|
14726
|
+
* @param {string} date Callback Date
|
|
14727
|
+
* @param {*} [options] Override http request option.
|
|
14728
|
+
* @throws {RequiredError}
|
|
14729
|
+
*/
|
|
14730
|
+
ProspectsApi.prototype.getSetCallback = function (xeroId, date, options) {
|
|
14731
|
+
var _this = this;
|
|
14732
|
+
return (0, exports.ProspectsApiFp)(this.configuration).getSetCallback(xeroId, date, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
14733
|
+
};
|
|
14734
|
+
return ProspectsApi;
|
|
14735
|
+
}(base_1.BaseAPI));
|
|
14736
|
+
exports.ProspectsApi = ProspectsApi;
|
|
14251
14737
|
/**
|
|
14252
14738
|
* ProvisioningApi - axios parameter creator
|
|
14253
14739
|
*/
|
|
@@ -20875,5 +21361,5 @@ exports.PostAddWebhookWebhookUriEnum = {
|
|
|
20875
21361
|
WebhookFreshdeskUpdate: '/webhook/freshdesk/update',
|
|
20876
21362
|
WebhookTest: '/webhook/test',
|
|
20877
21363
|
WebhookXeroInvoices: '/webhook/xero/invoices',
|
|
20878
|
-
WebhookTcxPhonesAdd: '/webhook/tcx/phones/add'
|
|
21364
|
+
WebhookTcxPhonesAdd: '/webhook/tcx/phones/add',
|
|
20879
21365
|
};
|