yellowgrid-api-ts 3.2.141-dev.0 → 3.2.141
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 +11 -2
- package/.openapi-generator/VERSION +1 -1
- package/.openapi-generator-ignore +0 -0
- package/README.md +21 -5
- package/api.ts +1278 -430
- package/base.ts +2 -2
- package/common.ts +1 -1
- package/config.json +3 -3
- package/configuration.ts +3 -3
- package/dist/api.d.ts +657 -131
- package/dist/api.js +1163 -400
- 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 +3 -3
- 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/HostingPriceListEnum.d.ts +28 -0
- package/dist/models/HostingPriceListEnum.js +30 -0
- package/dist/models/PaymentMethodEnum.d.ts +13 -0
- package/dist/models/PaymentMethodEnum.js +15 -0
- package/dist/models/PortStatusEnum.d.ts +0 -0
- package/dist/models/PortStatusEnum.js +0 -0
- package/dist/models/PrinterEnum.d.ts +0 -0
- package/dist/models/PrinterEnum.js +0 -0
- package/dist/models/ScheduledTaskEnum.d.ts +0 -0
- package/dist/models/ScheduledTaskEnum.js +0 -0
- package/dist/models/ServiceEnum.d.ts +0 -0
- package/dist/models/ServiceEnum.js +0 -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/dist/models/UserGroupEnum.d.ts +28 -0
- package/dist/models/UserGroupEnum.js +30 -0
- package/docs/AbstractOrderRequestDTO.md +1 -1
- package/docs/AccountAddressesDTO.md +25 -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/AccountFinanceDTO.md +2 -0
- package/docs/AccountRequestModel.md +0 -0
- package/docs/AccountSummaryDTO.md +0 -0
- package/docs/AccountsApi.md +304 -83
- package/docs/AccountsResponseModel.md +0 -0
- package/docs/AddressDTO.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 +3 -1
- package/docs/AdminUserModel.md +4 -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/BillingApi.md +55 -0
- package/docs/CRMApi.md +3 -3
- package/docs/CallBarringModel.md +0 -0
- package/docs/Class3CXApi.md +49 -1
- package/docs/Class3CXInstallationWizardApi.md +1 -1
- package/docs/Class3CXInstallationsApi.md +56 -1
- 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/CreateCrmNoteBody.md +0 -0
- package/docs/CreditAccountEntity.md +4 -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/{CrmActivitiesResponseDto.md → CrmActivitiesResponseDTO.md} +0 -0
- package/docs/{CrmActivityDto.md → CrmActivityDTO.md} +1 -1
- package/docs/CrmContactDTO.md +0 -0
- package/docs/CrmDateActivitiesDTO.md +1 -1
- package/docs/CrmNoteEntity.md +0 -0
- package/docs/CrmNoteModel.md +0 -0
- package/docs/CustomerInformationModel.md +0 -0
- package/docs/CustomerItemRequestDTO.md +0 -0
- package/docs/CustomerOrderRequestDTO.md +1 -1
- 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 +1 -1
- 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 +0 -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/NumberPortAdminNoteBody.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 +49 -1
- package/docs/OfflineInstancesEntity.md +0 -0
- package/docs/OrderDTO.md +25 -0
- package/docs/OrderDetailsDTO.md +0 -0
- package/docs/OrderEntity.md +0 -0
- package/docs/OrderItemDTO.md +0 -0
- package/docs/OrderRequestModel.md +0 -0
- package/docs/OrderResponseDTO.md +25 -0
- package/docs/OrderSummariesModel.md +0 -0
- package/docs/OrderSummaryDTO.md +0 -0
- package/docs/OrderTotalModel.md +0 -0
- package/docs/OrderedItemEntity.md +0 -0
- package/docs/OrderedItemModel.md +0 -0
- package/docs/OrdersApi.md +57 -1
- package/docs/PartnerDTO.md +39 -0
- package/docs/PatchUpdateAccountCnameRequest.md +0 -0
- package/docs/PatchUpdateAccountCompanyNumberRequest.md +0 -0
- package/docs/PatchUpdateAccountContactPasswordRequest.md +0 -0
- package/docs/PatchUpdateAccountPhoneRequest.md +0 -0
- package/docs/PatchUpdateAccountVatNumberRequest.md +0 -0
- package/docs/PatchUpdateCreditLimitRequest.md +0 -0
- package/docs/PatchUpdatePriceListRequest.md +0 -0
- package/docs/PatchUpdateSipChannelCostRequest.md +0 -0
- package/docs/{PostAddAdminNoteRequest.md → PatchUpdateTcxHostingPriceListRequest.md} +5 -5
- package/docs/{PostCreateCrmNoteRequest.md → PatchUpdateTcxPartnerIdRequest.md} +5 -5
- package/docs/PortalAccountModel.md +4 -2
- package/docs/PortalLoginModel.md +0 -0
- package/docs/PostAddOrderNoteRequest.md +0 -0
- package/docs/PostAddWebhook200Response.md +0 -0
- package/docs/PostGetClientCredentialsRequest.md +0 -0
- package/docs/PostGetProductForCustomerRequest.md +2 -0
- package/docs/PostSendWelcomeEmailRequest.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 -2
- package/docs/ProductsApi.md +6 -6
- package/docs/PromoCodesEntity.md +0 -0
- package/docs/PromoItemsEntity.md +0 -0
- package/docs/ProspectDTO.md +2 -2
- package/docs/ProspectEntity.md +0 -0
- package/docs/ProspectsApi.md +1 -1
- 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 +2 -2
- package/docs/RemoteStorageDTO.md +0 -0
- package/docs/ResourceNotReadyException.md +0 -0
- package/docs/RootAccessModel.md +0 -0
- package/docs/S3BucketEntity.md +0 -0
- package/docs/SIPTrunksApi.md +1 -1
- package/docs/SMSApi.md +1 -1
- package/docs/SbcDTO.md +35 -0
- package/docs/ScannedItemModel.md +0 -0
- package/docs/ScopeModel.md +0 -0
- package/docs/ServiceHealthDTO.md +0 -0
- package/docs/ServiceStatusDTO.md +0 -0
- package/docs/ServicesApi.md +1 -1
- package/docs/ShipmentAddressEntity.md +0 -0
- package/docs/ShipmentDTO.md +0 -0
- package/docs/ShipmentEntity.md +0 -0
- package/docs/ShipmentItemDTO.md +0 -0
- package/docs/ShipmentItemEntity.md +0 -0
- package/docs/ShipmentItemModel.md +0 -0
- package/docs/ShipmentModel.md +0 -0
- package/docs/ShipmentRequestDTO.md +2 -2
- package/docs/ShippingAddressDTO.md +35 -0
- package/docs/ShippingApi.md +1 -1
- package/docs/ShippingConsignmentModel.md +0 -0
- package/docs/ShippingInformationDTO.md +0 -0
- package/docs/ShippingRequestDTO.md +0 -0
- package/docs/ShippingServiceDTO.md +0 -0
- package/docs/ShippingServiceModel.md +0 -0
- package/docs/ShippingServicesModel.md +0 -0
- package/docs/SipTrunkChangeResponseModel.md +0 -0
- package/docs/SipTrunkCreationRequestModel.md +0 -0
- package/docs/SipTrunkEntity.md +0 -0
- package/docs/SipTrunksResponseModel.md +0 -0
- package/docs/SmsAccountDTO.md +0 -0
- package/docs/SmsAccountEntity.md +0 -0
- package/docs/SmsAccountRequestDTO.md +0 -0
- package/docs/SmsDataModel.md +0 -0
- package/docs/SmsMessageModel.md +0 -0
- package/docs/SmsNumbersEntity.md +0 -0
- package/docs/SmsPayloadModel.md +0 -0
- package/docs/SmsPhoneNumberModel.md +0 -0
- package/docs/SmsResponseModel.md +0 -0
- package/docs/SmsWhitelistEntity.md +0 -0
- package/docs/StockManagementApi.md +1 -1
- package/docs/StockOrderCourierEntity.md +0 -0
- package/docs/StockOrderDeductionModel.md +0 -0
- package/docs/StockOrderDeductionRequestModel.md +0 -0
- package/docs/StockOrderDeductionsEntity.md +0 -0
- package/docs/StockOrderEntity.md +0 -0
- package/docs/StockOrderItemEntity.md +0 -0
- package/docs/StockOrderItemModel.md +0 -0
- package/docs/StockOrderItemRequestModel.md +0 -0
- package/docs/StockOrderModel.md +0 -0
- package/docs/StockOrderProductEntity.md +0 -0
- package/docs/StockOrderRequestModel.md +0 -0
- package/docs/StockOrderSupplierEntity.md +0 -0
- package/docs/StockOrderSupplierModel.md +0 -0
- package/docs/StockOrdersModel.md +0 -0
- package/docs/StockProductModel.md +0 -0
- package/docs/StockProductPriceModel.md +0 -0
- package/docs/StockProductSummariesModel.md +0 -0
- package/docs/StockProductSummaryModel.md +0 -0
- package/docs/StockTransactionsEntity.md +0 -0
- package/docs/SupplierEntity.md +0 -0
- package/docs/SupplierItemEntity.md +0 -0
- package/docs/SupplierItemModel.md +0 -0
- package/docs/SupplierModel.md +0 -0
- package/docs/SupportTicketModel.md +0 -0
- package/docs/SystemApi.md +1 -1
- package/docs/TableHistoryEntity.md +35 -0
- 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 +1 -1
- 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 +0 -0
- package/docs/TcxSbcEntity.md +0 -0
- package/docs/TcxSbcModel.md +0 -0
- package/docs/TcxSbcResponseDTO.md +0 -0
- 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/HostingPriceListEnum.ts +29 -0
- package/models/PaymentMethodEnum.ts +14 -0
- package/models/PortStatusEnum.ts +0 -0
- package/models/PrinterEnum.ts +0 -0
- package/models/ScheduledTaskEnum.ts +0 -0
- package/models/ServiceEnum.ts +0 -0
- package/models/ServiceHealthEnum.ts +0 -0
- package/models/ServiceStatusEnum.ts +0 -0
- package/models/UpdateTypeEnum.ts +0 -0
- package/models/UserGroupEnum.ts +29 -0
- package/openapitools.json +1 -1
- package/package.json +2 -2
- 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 -41
- package/docs/PatchSendWelcomeEmailRequest.md +0 -20
- package/docs/PatchSetTcxWizardCnameRequest.md +0 -20
- package/docs/PostGetProductRequest.md +0 -24
- package/docs/TcxInstallationDetailsModel.md +0 -45
package/dist/api.js
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
/* eslint-disable */
|
|
4
4
|
/**
|
|
5
5
|
* Yellowgrid
|
|
6
|
-
* Welcome to the Yellowgrid API documentation.
|
|
6
|
+
* Welcome to the Yellowgrid API documentation. This API provides secure and comprehensive access to the Yellowgrid platform, enabling developers and integrators to manage accounts, contacts, SIP trunks, SMS messaging, 3CX integrations, and provisioning services. ## Key Features: - **Accounts**: View and manage account details, contacts, client credentials, and verification. - **Provisioning**: Automate setup and configuration of devices and groups. - **SIP Trunks**: Manage trunk creation, changes, DDIs, diverts, and configuration. - **Messaging**: Send SMS messages securely via the messaging gateway. - **3CX Integrations**: Automate licence handling, installation, and multi-tenant setup. ## Authentication: The API supports OAuth 2.0 for authentication and authorization. Ensure you use a valid bearer token for all authenticated endpoints. ## Base URL: `https://bitbucket.org` For questions or technical support, please contact support@yellowgrid.co.uk.
|
|
7
7
|
*
|
|
8
8
|
* The version of the OpenAPI document: 0
|
|
9
9
|
*
|
|
@@ -84,28 +84,39 @@ 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.
|
|
88
|
-
exports.
|
|
89
|
-
exports.
|
|
90
|
-
exports.PostAddWebhookWebhookUriEnum = exports.WebhooksApi = exports.WebhooksApiFactory = exports.WebhooksApiFp = void 0;
|
|
87
|
+
exports.CRMApiAxiosParamCreator = exports.BillingApi = exports.BillingApiFactory = exports.BillingApiFp = exports.BillingApiAxiosParamCreator = exports.PatchSetPrizePromoStateEnum = exports.PatchSetPortalAccessStateEnum = 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.PatchUpdateTcxHostingPriceListRequestPriceListEnum = exports.PatchUpdatePriceListRequestPriceListEnum = exports.OrderTotalModelCurrencyEnum = exports.OrderRequestModelSchoolTypeEnum = exports.OrderRequestModelLicenceTypeEnum = exports.MultiTenantChangeResponseModelTypeEnum = exports.ItemDiscountEntityTypeEnum = exports.HostingRegionDTOCodeEnum = exports.HostingChangeResponseModelTypeEnum = exports.EventDTOStatusEnum = exports.DivertResponseModelStatusEnum = exports.AuditLogEntityTypeEnum = exports.AuditLogEntityActionEnum = exports.AdminUserModelPermissionsEnum = exports.AdminUserModelRoleEnum = exports.AdminOrderRequestDTOPaymentMethodEnum = void 0;
|
|
88
|
+
exports.OrdersApiFp = exports.OrdersApiAxiosParamCreator = exports.PostAuthoriseScopeEnum = exports.PostAccessTokenTokenExchangeTypeEnum = exports.PostAccessTokenScopeEnum = exports.PostAccessTokenGrantTypeEnum = exports.OAuth20Api = exports.OAuth20ApiFactory = exports.OAuth20ApiFp = exports.OAuth20ApiAxiosParamCreator = exports.NumberPortingApi = exports.NumberPortingApiFactory = exports.NumberPortingApiFp = exports.NumberPortingApiAxiosParamCreator = exports.MyPBXToolsApi = exports.MyPBXToolsApiFactory = exports.MyPBXToolsApiFp = exports.MyPBXToolsApiAxiosParamCreator = exports.GetGetTenantsStatusEnum = exports.Class3CXMultiTenantApi = exports.Class3CXMultiTenantApiFactory = exports.Class3CXMultiTenantApiFp = exports.Class3CXMultiTenantApiAxiosParamCreator = exports.GetGetPriceSchoolTypeEnum = exports.GetGetPriceLicenceTypeEnum = exports.Class3CXIntegrationsApi = exports.Class3CXIntegrationsApiFactory = exports.Class3CXIntegrationsApiFp = exports.Class3CXIntegrationsApiAxiosParamCreator = exports.PostResizeInstanceSizeEnum = exports.PostFailoverInstanceTypeEnum = exports.GetGetInstallationsInstallTypeEnum = exports.GetGetInstallationsHostingEnum = exports.GetGetInstallationsStatusEnum = exports.Class3CXInstallationsApi = exports.Class3CXInstallationsApiFactory = exports.Class3CXInstallationsApiFp = exports.Class3CXInstallationsApiAxiosParamCreator = exports.Class3CXInstallationWizardApi = exports.Class3CXInstallationWizardApiFactory = exports.Class3CXInstallationWizardApiFp = exports.Class3CXInstallationWizardApiAxiosParamCreator = exports.Class3CXApi = exports.Class3CXApiFactory = exports.Class3CXApiFp = exports.Class3CXApiAxiosParamCreator = exports.GetGetCrmActivitiesTypeEnum = exports.CRMApi = exports.CRMApiFactory = exports.CRMApiFp = void 0;
|
|
89
|
+
exports.SystemApiFp = exports.SystemApiAxiosParamCreator = exports.StockManagementApi = exports.StockManagementApiFactory = exports.StockManagementApiFp = exports.StockManagementApiAxiosParamCreator = exports.ShippingApi = exports.ShippingApiFactory = exports.ShippingApiFp = exports.ShippingApiAxiosParamCreator = exports.ServicesApi = exports.ServicesApiFactory = exports.ServicesApiFp = exports.ServicesApiAxiosParamCreator = exports.SMSApi = exports.SMSApiFactory = exports.SMSApiFp = exports.SMSApiAxiosParamCreator = exports.SIPTrunksApi = exports.SIPTrunksApiFactory = exports.SIPTrunksApiFp = exports.SIPTrunksApiAxiosParamCreator = exports.ProvisioningApi = exports.ProvisioningApiFactory = exports.ProvisioningApiFp = exports.ProvisioningApiAxiosParamCreator = exports.ProspectsApi = exports.ProspectsApiFactory = exports.ProspectsApiFp = exports.ProspectsApiAxiosParamCreator = exports.GetGetLegacyStockListFormatEnum = exports.ProductsApi = exports.ProductsApiFactory = exports.ProductsApiFp = exports.ProductsApiAxiosParamCreator = exports.PostSendPriceListCategoryEnum = exports.PostSendPriceListFormatEnum = exports.PostSendPriceListTypeEnum = exports.GetGetPriceListCategoryEnum = exports.GetGetPriceListFormatEnum = exports.GetGetPriceListTypeEnum = exports.PricingApi = exports.PricingApiFactory = exports.PricingApiFp = exports.PricingApiAxiosParamCreator = exports.PostPrintShippingLabelPrinterEnum = exports.GetGetOrdersFilterEnum = exports.GetGetOrdersStatusEnum = exports.OrdersApi = exports.OrdersApiFactory = void 0;
|
|
90
|
+
exports.PostAddWebhookWebhookUriEnum = exports.WebhooksApi = exports.WebhooksApiFactory = exports.WebhooksApiFp = exports.WebhooksApiAxiosParamCreator = exports.TicketsApi = exports.TicketsApiFactory = exports.TicketsApiFp = exports.TicketsApiAxiosParamCreator = exports.SystemApi = exports.SystemApiFactory = void 0;
|
|
91
91
|
var axios_1 = require("axios");
|
|
92
92
|
// Some imports not used depending on template conditions
|
|
93
93
|
// @ts-ignore
|
|
94
94
|
var common_1 = require("./common");
|
|
95
95
|
// @ts-ignore
|
|
96
96
|
var base_1 = require("./base");
|
|
97
|
+
exports.AdminOrderRequestDTOPaymentMethodEnum = {
|
|
98
|
+
Card: 'card',
|
|
99
|
+
Bacs: 'bacs',
|
|
100
|
+
};
|
|
97
101
|
exports.AdminUserModelRoleEnum = {
|
|
98
102
|
NUMBER_0: 0,
|
|
99
103
|
NUMBER_1: 1,
|
|
100
104
|
NUMBER_2: 2,
|
|
101
105
|
NUMBER_3: 3,
|
|
102
|
-
NUMBER_4: 4
|
|
106
|
+
NUMBER_4: 4,
|
|
107
|
+
};
|
|
108
|
+
exports.AdminUserModelPermissionsEnum = {
|
|
109
|
+
All: 'All',
|
|
110
|
+
Standard: 'Standard',
|
|
111
|
+
Technical: 'Technical',
|
|
112
|
+
Privileged: 'Privileged',
|
|
113
|
+
Development: 'Development',
|
|
103
114
|
};
|
|
104
115
|
exports.AuditLogEntityActionEnum = {
|
|
105
116
|
Create: 'CREATE',
|
|
106
117
|
Read: 'READ',
|
|
107
118
|
Update: 'UPDATE',
|
|
108
|
-
Delete: 'DELETE'
|
|
119
|
+
Delete: 'DELETE',
|
|
109
120
|
};
|
|
110
121
|
exports.AuditLogEntityTypeEnum = {
|
|
111
122
|
AuditLog: 'audit_log',
|
|
@@ -167,6 +178,7 @@ exports.AuditLogEntityTypeEnum = {
|
|
|
167
178
|
PopsStockTransactions: 'pops_stock_transactions',
|
|
168
179
|
PopsSuppliers: 'pops_suppliers',
|
|
169
180
|
PopsSupplierItems: 'pops_supplier_items',
|
|
181
|
+
PopsTableAttribs: 'pops_table_attribs',
|
|
170
182
|
Pops3cxBackup: 'pops_3cx_backup',
|
|
171
183
|
Pops3cxBilling: 'pops_3cx_billing',
|
|
172
184
|
PopsDeadLicences: 'pops_dead_licences',
|
|
@@ -185,20 +197,20 @@ exports.AuditLogEntityTypeEnum = {
|
|
|
185
197
|
Webhook: 'webhook',
|
|
186
198
|
PopsXeroLog: 'pops_xero_log',
|
|
187
199
|
Oauth2Clients: 'oauth2_clients',
|
|
188
|
-
Oauth2Tokens: 'oauth2_tokens'
|
|
200
|
+
Oauth2Tokens: 'oauth2_tokens',
|
|
189
201
|
};
|
|
190
202
|
exports.DivertResponseModelStatusEnum = {
|
|
191
203
|
Enabled: 'enabled',
|
|
192
|
-
Disabled: 'disabled'
|
|
204
|
+
Disabled: 'disabled',
|
|
193
205
|
};
|
|
194
206
|
exports.EventDTOStatusEnum = {
|
|
195
207
|
NUMBER_0: 0,
|
|
196
208
|
NUMBER_1: 1,
|
|
197
|
-
NUMBER_2: 2
|
|
209
|
+
NUMBER_2: 2,
|
|
198
210
|
};
|
|
199
211
|
exports.HostingChangeResponseModelTypeEnum = {
|
|
200
212
|
NewInstance: 'New Instance',
|
|
201
|
-
BuildingInstance: 'Building Instance'
|
|
213
|
+
BuildingInstance: 'Building Instance',
|
|
202
214
|
};
|
|
203
215
|
exports.HostingRegionDTOCodeEnum = {
|
|
204
216
|
Uk1: 'UK1',
|
|
@@ -209,12 +221,12 @@ exports.HostingRegionDTOCodeEnum = {
|
|
|
209
221
|
Syd1: 'SYD1',
|
|
210
222
|
Sgp1: 'SGP1',
|
|
211
223
|
UsEastVa1: 'US-EAST-VA-1',
|
|
212
|
-
UsWestOr1: 'US-WEST-OR-1'
|
|
224
|
+
UsWestOr1: 'US-WEST-OR-1',
|
|
213
225
|
};
|
|
214
226
|
exports.ItemDiscountEntityTypeEnum = {
|
|
215
227
|
TcxPhones: 'TCX_PHONES',
|
|
216
228
|
PhoneBulk: 'PHONE_BULK',
|
|
217
|
-
Additional: 'ADDITIONAL'
|
|
229
|
+
Additional: 'ADDITIONAL',
|
|
218
230
|
};
|
|
219
231
|
exports.MultiTenantChangeResponseModelTypeEnum = {
|
|
220
232
|
NewTrunk: 'New Trunk',
|
|
@@ -230,15 +242,15 @@ exports.MultiTenantChangeResponseModelTypeEnum = {
|
|
|
230
242
|
Address: 'Address',
|
|
231
243
|
BulkEndpointDetails: 'Bulk Endpoint Details',
|
|
232
244
|
Fraud: 'Fraud',
|
|
233
|
-
CallBarring: 'Call Barring'
|
|
245
|
+
CallBarring: 'Call Barring',
|
|
234
246
|
};
|
|
235
247
|
exports.OrderRequestModelLicenceTypeEnum = {
|
|
236
248
|
Lite: 'lite',
|
|
237
|
-
Pro: 'pro'
|
|
249
|
+
Pro: 'pro',
|
|
238
250
|
};
|
|
239
251
|
exports.OrderRequestModelSchoolTypeEnum = {
|
|
240
252
|
Primary: 'primary',
|
|
241
|
-
Secondary: 'secondary'
|
|
253
|
+
Secondary: 'secondary',
|
|
242
254
|
};
|
|
243
255
|
exports.OrderTotalModelCurrencyEnum = {
|
|
244
256
|
Eur: 'EUR',
|
|
@@ -271,7 +283,7 @@ exports.OrderTotalModelCurrencyEnum = {
|
|
|
271
283
|
Php: 'PHP',
|
|
272
284
|
Sgd: 'SGD',
|
|
273
285
|
Thb: 'THB',
|
|
274
|
-
Zar: 'ZAR'
|
|
286
|
+
Zar: 'ZAR',
|
|
275
287
|
};
|
|
276
288
|
exports.PatchUpdatePriceListRequestPriceListEnum = {
|
|
277
289
|
Rrp: 'RRP',
|
|
@@ -280,54 +292,62 @@ exports.PatchUpdatePriceListRequestPriceListEnum = {
|
|
|
280
292
|
Itsp: 'ITSP',
|
|
281
293
|
SubDisti: 'Sub Disti',
|
|
282
294
|
Distributor: 'Distributor',
|
|
283
|
-
HotelDisti: 'Hotel Disti'
|
|
295
|
+
HotelDisti: 'Hotel Disti',
|
|
296
|
+
};
|
|
297
|
+
exports.PatchUpdateTcxHostingPriceListRequestPriceListEnum = {
|
|
298
|
+
_1: '1',
|
|
299
|
+
_2: '2',
|
|
300
|
+
_3: '3',
|
|
301
|
+
_4: '4',
|
|
302
|
+
_5: '5',
|
|
284
303
|
};
|
|
285
304
|
exports.ProspectDTOStatusEnum = {
|
|
286
305
|
NoCallBackSet: 'No Call Back Set',
|
|
287
306
|
CallBackDue: 'Call Back Due',
|
|
288
307
|
NoOrdersPlaced: 'No Orders Placed',
|
|
289
308
|
NoOrdersInTheLast4Months: 'No Orders In The Last 4 Months',
|
|
290
|
-
NoActionRequired: 'No Action Required'
|
|
309
|
+
NoActionRequired: 'No Action Required',
|
|
310
|
+
DoNotCall: 'Do Not Call',
|
|
291
311
|
};
|
|
292
312
|
exports.ServiceHealthDTOGlobalStatusEnum = {
|
|
293
313
|
NUMBER_0: 0,
|
|
294
314
|
NUMBER_1: 1,
|
|
295
|
-
NUMBER_2: 2
|
|
315
|
+
NUMBER_2: 2,
|
|
296
316
|
};
|
|
297
317
|
exports.ServiceStatusDTOStatusEnum = {
|
|
298
318
|
_0: '0',
|
|
299
319
|
_1: '1',
|
|
300
|
-
_2: '2'
|
|
320
|
+
_2: '2',
|
|
301
321
|
};
|
|
302
322
|
exports.ShipmentDTOCourierEnum = {
|
|
303
323
|
Dpd: 'DPD',
|
|
304
324
|
ChorltonPallet: 'Chorlton Pallet',
|
|
305
|
-
Pops: 'POPS'
|
|
325
|
+
Pops: 'POPS',
|
|
306
326
|
};
|
|
307
327
|
exports.ShipmentRequestDTOCourierEnum = {
|
|
308
328
|
Dpd: 'DPD',
|
|
309
329
|
ChorltonPallet: 'Chorlton Pallet',
|
|
310
|
-
Pops: 'POPS'
|
|
330
|
+
Pops: 'POPS',
|
|
311
331
|
};
|
|
312
332
|
exports.ShippingRequestDTOCourierEnum = {
|
|
313
333
|
Dpd: 'DPD',
|
|
314
334
|
ChorltonPallet: 'Chorlton Pallet',
|
|
315
|
-
Pops: 'POPS'
|
|
335
|
+
Pops: 'POPS',
|
|
316
336
|
};
|
|
317
337
|
exports.ShippingRequestDTOPrinterEnum = {
|
|
318
338
|
NUMBER_1: 1,
|
|
319
339
|
NUMBER_2: 2,
|
|
320
|
-
NUMBER_3: 3
|
|
340
|
+
NUMBER_3: 3,
|
|
321
341
|
};
|
|
322
342
|
exports.ShippingServiceDTOCourierEnum = {
|
|
323
343
|
Dpd: 'DPD',
|
|
324
344
|
ChorltonPallet: 'Chorlton Pallet',
|
|
325
|
-
Pops: 'POPS'
|
|
345
|
+
Pops: 'POPS',
|
|
326
346
|
};
|
|
327
347
|
exports.ShippingServiceModelCourierEnum = {
|
|
328
348
|
Dpd: 'DPD',
|
|
329
349
|
ChorltonPallet: 'Chorlton Pallet',
|
|
330
|
-
Pops: 'POPS'
|
|
350
|
+
Pops: 'POPS',
|
|
331
351
|
};
|
|
332
352
|
exports.SipTrunkChangeResponseModelTypeEnum = {
|
|
333
353
|
NewTrunk: 'New Trunk',
|
|
@@ -343,17 +363,17 @@ exports.SipTrunkChangeResponseModelTypeEnum = {
|
|
|
343
363
|
Address: 'Address',
|
|
344
364
|
BulkEndpointDetails: 'Bulk Endpoint Details',
|
|
345
365
|
Fraud: 'Fraud',
|
|
346
|
-
CallBarring: 'Call Barring'
|
|
366
|
+
CallBarring: 'Call Barring',
|
|
347
367
|
};
|
|
348
368
|
exports.SmsAccountRequestDTOProviderEnum = {
|
|
349
|
-
NUMBER_1: 1
|
|
369
|
+
NUMBER_1: 1,
|
|
350
370
|
};
|
|
351
371
|
exports.SmsAccountRequestDTOTypeEnum = {
|
|
352
372
|
Local: 'local',
|
|
353
373
|
TollFree: 'toll_free',
|
|
354
374
|
Mobile: 'mobile',
|
|
355
375
|
National: 'national',
|
|
356
|
-
SharedCost: 'shared_cost'
|
|
376
|
+
SharedCost: 'shared_cost',
|
|
357
377
|
};
|
|
358
378
|
exports.SmsPhoneNumberModelStatusEnum = {
|
|
359
379
|
Queued: 'queued',
|
|
@@ -364,31 +384,31 @@ exports.SmsPhoneNumberModelStatusEnum = {
|
|
|
364
384
|
DeliveryUnconfirmed: 'delivery_unconfirmed',
|
|
365
385
|
Delivered: 'delivered',
|
|
366
386
|
DeliveryFailed: 'delivery_failed',
|
|
367
|
-
WebhookDelivered: 'webhook_delivered'
|
|
387
|
+
WebhookDelivered: 'webhook_delivered',
|
|
368
388
|
};
|
|
369
389
|
exports.SmsResponseModelEventTypeEnum = {
|
|
370
390
|
MessageSent: 'message.sent',
|
|
371
391
|
MessageFinalized: 'message.finalized',
|
|
372
|
-
MessageReceived: 'message.received'
|
|
392
|
+
MessageReceived: 'message.received',
|
|
373
393
|
};
|
|
374
394
|
exports.StockOrderModelDeliveryMethodEnum = {
|
|
375
395
|
Sea: 'Sea',
|
|
376
396
|
Air: 'Air',
|
|
377
|
-
Road: 'Road'
|
|
397
|
+
Road: 'Road',
|
|
378
398
|
};
|
|
379
399
|
exports.StockOrderModelPaidEnum = {
|
|
380
400
|
NUMBER_0: 0,
|
|
381
401
|
NUMBER_1: 1,
|
|
382
|
-
NUMBER_2: 2
|
|
402
|
+
NUMBER_2: 2,
|
|
383
403
|
};
|
|
384
404
|
exports.TcxMultiTenantModelPackageEnum = {
|
|
385
|
-
_3CxStarterBundle: '3CX Starter Bundle'
|
|
405
|
+
_3CxStarterBundle: '3CX Starter Bundle',
|
|
386
406
|
};
|
|
387
407
|
exports.TcxSetupEntityInstallTypeEnum = {
|
|
388
408
|
New: 'new',
|
|
389
409
|
Restore: 'restore',
|
|
390
410
|
Failover: 'failover',
|
|
391
|
-
MultiTenant: 'multi-tenant'
|
|
411
|
+
MultiTenant: 'multi-tenant',
|
|
392
412
|
};
|
|
393
413
|
exports.TcxSetupEntityRegionEnum = {
|
|
394
414
|
Uk1: 'UK1',
|
|
@@ -399,13 +419,13 @@ exports.TcxSetupEntityRegionEnum = {
|
|
|
399
419
|
Syd1: 'SYD1',
|
|
400
420
|
Sgp1: 'SGP1',
|
|
401
421
|
UsEastVa1: 'US-EAST-VA-1',
|
|
402
|
-
UsWestOr1: 'US-WEST-OR-1'
|
|
422
|
+
UsWestOr1: 'US-WEST-OR-1',
|
|
403
423
|
};
|
|
404
424
|
exports.TcxWizardModelInstallTypeEnum = {
|
|
405
425
|
New: 'new',
|
|
406
426
|
Restore: 'restore',
|
|
407
427
|
Failover: 'failover',
|
|
408
|
-
MultiTenant: 'multi-tenant'
|
|
428
|
+
MultiTenant: 'multi-tenant',
|
|
409
429
|
};
|
|
410
430
|
exports.TcxWizardModelInstallationStatusEnum = {
|
|
411
431
|
Building: 'Building',
|
|
@@ -422,15 +442,15 @@ exports.TcxWizardModelInstallationStatusEnum = {
|
|
|
422
442
|
RecordingsBackupInstalled: 'Recordings Backup Installed',
|
|
423
443
|
Complete: 'Complete',
|
|
424
444
|
Deleted: 'Deleted',
|
|
425
|
-
Failed: 'Failed'
|
|
445
|
+
Failed: 'Failed',
|
|
426
446
|
};
|
|
427
447
|
exports.UpgradeRequestModelLicenceTypeEnum = {
|
|
428
448
|
Lite: 'lite',
|
|
429
|
-
Pro: 'pro'
|
|
449
|
+
Pro: 'pro',
|
|
430
450
|
};
|
|
431
451
|
exports.UpgradeRequestModelSchoolTypeEnum = {
|
|
432
452
|
Primary: 'primary',
|
|
433
|
-
Secondary: 'secondary'
|
|
453
|
+
Secondary: 'secondary',
|
|
434
454
|
};
|
|
435
455
|
/**
|
|
436
456
|
* AccountsApi - axios parameter creator
|
|
@@ -459,8 +479,8 @@ var AccountsApiAxiosParamCreator = function (configuration) {
|
|
|
459
479
|
// verify required parameter 'contactId' is not null or undefined
|
|
460
480
|
(0, common_1.assertParamExists)('deleteAdminUpdateAccountContact', 'contactId', contactId);
|
|
461
481
|
localVarPath = "/admin/accounts/{id}/contacts/{contact_id}"
|
|
462
|
-
.replace(
|
|
463
|
-
.replace(
|
|
482
|
+
.replace('{id}', encodeURIComponent(String(id)))
|
|
483
|
+
.replace('{contact_id}', encodeURIComponent(String(contactId)));
|
|
464
484
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
465
485
|
if (configuration) {
|
|
466
486
|
baseOptions = configuration.baseOptions;
|
|
@@ -496,7 +516,7 @@ var AccountsApiAxiosParamCreator = function (configuration) {
|
|
|
496
516
|
// verify required parameter 'id' is not null or undefined
|
|
497
517
|
(0, common_1.assertParamExists)('deleteArchiveAccount', 'id', id);
|
|
498
518
|
localVarPath = "/admin/accounts/{id}/archive"
|
|
499
|
-
.replace(
|
|
519
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
500
520
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
501
521
|
if (configuration) {
|
|
502
522
|
baseOptions = configuration.baseOptions;
|
|
@@ -533,43 +553,7 @@ var AccountsApiAxiosParamCreator = function (configuration) {
|
|
|
533
553
|
// verify required parameter 'id' is not null or undefined
|
|
534
554
|
(0, common_1.assertParamExists)('deleteDeleteClientCredentials', 'id', id);
|
|
535
555
|
localVarPath = "/accounts/me/contacts/credentials/{id}"
|
|
536
|
-
.replace(
|
|
537
|
-
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
538
|
-
if (configuration) {
|
|
539
|
-
baseOptions = configuration.baseOptions;
|
|
540
|
-
}
|
|
541
|
-
localVarRequestOptions = __assign(__assign({ method: 'DELETE' }, baseOptions), options);
|
|
542
|
-
localVarHeaderParameter = {};
|
|
543
|
-
localVarQueryParameter = {};
|
|
544
|
-
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
545
|
-
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
546
|
-
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
547
|
-
return [2 /*return*/, {
|
|
548
|
-
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
549
|
-
options: localVarRequestOptions,
|
|
550
|
-
}];
|
|
551
|
-
});
|
|
552
|
-
});
|
|
553
|
-
},
|
|
554
|
-
/**
|
|
555
|
-
* Get Account Finance
|
|
556
|
-
* @param {string} id Account Xero ID
|
|
557
|
-
* @param {*} [options] Override http request option.
|
|
558
|
-
* @throws {RequiredError}
|
|
559
|
-
*/
|
|
560
|
-
deleteGetFinanceSettings: function (id_1) {
|
|
561
|
-
var args_1 = [];
|
|
562
|
-
for (var _i = 1; _i < arguments.length; _i++) {
|
|
563
|
-
args_1[_i - 1] = arguments[_i];
|
|
564
|
-
}
|
|
565
|
-
return __awaiter(_this, __spreadArray([id_1], args_1, true), void 0, function (id, options) {
|
|
566
|
-
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
567
|
-
if (options === void 0) { options = {}; }
|
|
568
|
-
return __generator(this, function (_a) {
|
|
569
|
-
// verify required parameter 'id' is not null or undefined
|
|
570
|
-
(0, common_1.assertParamExists)('deleteGetFinanceSettings', 'id', id);
|
|
571
|
-
localVarPath = "/admin/accounts/{id}/finance"
|
|
572
|
-
.replace("{".concat("id", "}"), encodeURIComponent(String(id)));
|
|
556
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
573
557
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
574
558
|
if (configuration) {
|
|
575
559
|
baseOptions = configuration.baseOptions;
|
|
@@ -577,7 +561,6 @@ var AccountsApiAxiosParamCreator = function (configuration) {
|
|
|
577
561
|
localVarRequestOptions = __assign(__assign({ method: 'DELETE' }, baseOptions), options);
|
|
578
562
|
localVarHeaderParameter = {};
|
|
579
563
|
localVarQueryParameter = {};
|
|
580
|
-
localVarHeaderParameter['Accept'] = 'application/json';
|
|
581
564
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
582
565
|
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
583
566
|
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
@@ -607,7 +590,7 @@ var AccountsApiAxiosParamCreator = function (configuration) {
|
|
|
607
590
|
// verify required parameter 'email' is not null or undefined
|
|
608
591
|
(0, common_1.assertParamExists)('deleteUpdateAccountContact', 'email', email);
|
|
609
592
|
localVarPath = "/accounts/me/contacts/{email}"
|
|
610
|
-
.replace(
|
|
593
|
+
.replace('{email}', encodeURIComponent(String(email)));
|
|
611
594
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
612
595
|
if (configuration) {
|
|
613
596
|
baseOptions = configuration.baseOptions;
|
|
@@ -643,7 +626,7 @@ var AccountsApiAxiosParamCreator = function (configuration) {
|
|
|
643
626
|
// verify required parameter 'id' is not null or undefined
|
|
644
627
|
(0, common_1.assertParamExists)('getAdminCreateAccountContact', 'id', id);
|
|
645
628
|
localVarPath = "/admin/accounts/{id}/contacts"
|
|
646
|
-
.replace(
|
|
629
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
647
630
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
648
631
|
if (configuration) {
|
|
649
632
|
baseOptions = configuration.baseOptions;
|
|
@@ -697,22 +680,24 @@ var AccountsApiAxiosParamCreator = function (configuration) {
|
|
|
697
680
|
});
|
|
698
681
|
},
|
|
699
682
|
/**
|
|
700
|
-
* Get Account
|
|
701
|
-
* @
|
|
702
|
-
* @param {string} [email] Contact Email Address
|
|
683
|
+
* Get Account Addresses
|
|
684
|
+
* @param {string} id Xero ID
|
|
703
685
|
* @param {*} [options] Override http request option.
|
|
704
686
|
* @throws {RequiredError}
|
|
705
687
|
*/
|
|
706
|
-
|
|
688
|
+
getGetAccountAddresses: function (id_1) {
|
|
707
689
|
var args_1 = [];
|
|
708
690
|
for (var _i = 1; _i < arguments.length; _i++) {
|
|
709
691
|
args_1[_i - 1] = arguments[_i];
|
|
710
692
|
}
|
|
711
|
-
return __awaiter(_this, __spreadArray([
|
|
693
|
+
return __awaiter(_this, __spreadArray([id_1], args_1, true), void 0, function (id, options) {
|
|
712
694
|
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
713
695
|
if (options === void 0) { options = {}; }
|
|
714
696
|
return __generator(this, function (_a) {
|
|
715
|
-
|
|
697
|
+
// verify required parameter 'id' is not null or undefined
|
|
698
|
+
(0, common_1.assertParamExists)('getGetAccountAddresses', 'id', id);
|
|
699
|
+
localVarPath = "/admin/accounts/{id}/addresses"
|
|
700
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
716
701
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
717
702
|
if (configuration) {
|
|
718
703
|
baseOptions = configuration.baseOptions;
|
|
@@ -720,9 +705,6 @@ var AccountsApiAxiosParamCreator = function (configuration) {
|
|
|
720
705
|
localVarRequestOptions = __assign(__assign({ method: 'GET' }, baseOptions), options);
|
|
721
706
|
localVarHeaderParameter = {};
|
|
722
707
|
localVarQueryParameter = {};
|
|
723
|
-
if (email !== undefined) {
|
|
724
|
-
localVarQueryParameter['email'] = email;
|
|
725
|
-
}
|
|
726
708
|
localVarHeaderParameter['Accept'] = 'application/json';
|
|
727
709
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
728
710
|
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
@@ -735,25 +717,22 @@ var AccountsApiAxiosParamCreator = function (configuration) {
|
|
|
735
717
|
});
|
|
736
718
|
},
|
|
737
719
|
/**
|
|
738
|
-
* Get Account
|
|
739
|
-
* @summary Get Account
|
|
740
|
-
* @param {
|
|
720
|
+
* Get Account Contacts
|
|
721
|
+
* @summary Get Account Contacts
|
|
722
|
+
* @param {string} [email] Contact Email Address
|
|
741
723
|
* @param {*} [options] Override http request option.
|
|
742
724
|
* @throws {RequiredError}
|
|
743
725
|
*/
|
|
744
|
-
|
|
726
|
+
getGetAccountContacts: function (email_1) {
|
|
745
727
|
var args_1 = [];
|
|
746
728
|
for (var _i = 1; _i < arguments.length; _i++) {
|
|
747
729
|
args_1[_i - 1] = arguments[_i];
|
|
748
730
|
}
|
|
749
|
-
return __awaiter(_this, __spreadArray([
|
|
731
|
+
return __awaiter(_this, __spreadArray([email_1], args_1, true), void 0, function (email, options) {
|
|
750
732
|
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
751
733
|
if (options === void 0) { options = {}; }
|
|
752
734
|
return __generator(this, function (_a) {
|
|
753
|
-
|
|
754
|
-
(0, common_1.assertParamExists)('getGetAccountDetailedSummary', 'id', id);
|
|
755
|
-
localVarPath = "/accounts/{id}/summary"
|
|
756
|
-
.replace("{".concat("id", "}"), encodeURIComponent(String(id)));
|
|
735
|
+
localVarPath = "/accounts/me/contacts";
|
|
757
736
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
758
737
|
if (configuration) {
|
|
759
738
|
baseOptions = configuration.baseOptions;
|
|
@@ -761,6 +740,9 @@ var AccountsApiAxiosParamCreator = function (configuration) {
|
|
|
761
740
|
localVarRequestOptions = __assign(__assign({ method: 'GET' }, baseOptions), options);
|
|
762
741
|
localVarHeaderParameter = {};
|
|
763
742
|
localVarQueryParameter = {};
|
|
743
|
+
if (email !== undefined) {
|
|
744
|
+
localVarQueryParameter['email'] = email;
|
|
745
|
+
}
|
|
764
746
|
localVarHeaderParameter['Accept'] = 'application/json';
|
|
765
747
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
766
748
|
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
@@ -773,12 +755,13 @@ var AccountsApiAxiosParamCreator = function (configuration) {
|
|
|
773
755
|
});
|
|
774
756
|
},
|
|
775
757
|
/**
|
|
776
|
-
* Get Account
|
|
777
|
-
* @
|
|
758
|
+
* Get Account Detailed Summary
|
|
759
|
+
* @summary Get Account Detailed Summary
|
|
760
|
+
* @param {number} id Customer ID
|
|
778
761
|
* @param {*} [options] Override http request option.
|
|
779
762
|
* @throws {RequiredError}
|
|
780
763
|
*/
|
|
781
|
-
|
|
764
|
+
getGetAccountDetailedSummary: function (id_1) {
|
|
782
765
|
var args_1 = [];
|
|
783
766
|
for (var _i = 1; _i < arguments.length; _i++) {
|
|
784
767
|
args_1[_i - 1] = arguments[_i];
|
|
@@ -788,9 +771,9 @@ var AccountsApiAxiosParamCreator = function (configuration) {
|
|
|
788
771
|
if (options === void 0) { options = {}; }
|
|
789
772
|
return __generator(this, function (_a) {
|
|
790
773
|
// verify required parameter 'id' is not null or undefined
|
|
791
|
-
(0, common_1.assertParamExists)('
|
|
792
|
-
localVarPath = "/
|
|
793
|
-
.replace(
|
|
774
|
+
(0, common_1.assertParamExists)('getGetAccountDetailedSummary', 'id', id);
|
|
775
|
+
localVarPath = "/accounts/{id}/summary"
|
|
776
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
794
777
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
795
778
|
if (configuration) {
|
|
796
779
|
baseOptions = configuration.baseOptions;
|
|
@@ -927,6 +910,114 @@ var AccountsApiAxiosParamCreator = function (configuration) {
|
|
|
927
910
|
});
|
|
928
911
|
});
|
|
929
912
|
},
|
|
913
|
+
/**
|
|
914
|
+
* Get Account Finance
|
|
915
|
+
* @param {string} id Account Xero ID
|
|
916
|
+
* @param {*} [options] Override http request option.
|
|
917
|
+
* @throws {RequiredError}
|
|
918
|
+
*/
|
|
919
|
+
getGetFinanceSettings: function (id_1) {
|
|
920
|
+
var args_1 = [];
|
|
921
|
+
for (var _i = 1; _i < arguments.length; _i++) {
|
|
922
|
+
args_1[_i - 1] = arguments[_i];
|
|
923
|
+
}
|
|
924
|
+
return __awaiter(_this, __spreadArray([id_1], args_1, true), void 0, function (id, options) {
|
|
925
|
+
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
926
|
+
if (options === void 0) { options = {}; }
|
|
927
|
+
return __generator(this, function (_a) {
|
|
928
|
+
// verify required parameter 'id' is not null or undefined
|
|
929
|
+
(0, common_1.assertParamExists)('getGetFinanceSettings', 'id', id);
|
|
930
|
+
localVarPath = "/admin/accounts/{id}/finance"
|
|
931
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
932
|
+
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
933
|
+
if (configuration) {
|
|
934
|
+
baseOptions = configuration.baseOptions;
|
|
935
|
+
}
|
|
936
|
+
localVarRequestOptions = __assign(__assign({ method: 'GET' }, baseOptions), options);
|
|
937
|
+
localVarHeaderParameter = {};
|
|
938
|
+
localVarQueryParameter = {};
|
|
939
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
940
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
941
|
+
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
942
|
+
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
943
|
+
return [2 /*return*/, {
|
|
944
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
945
|
+
options: localVarRequestOptions,
|
|
946
|
+
}];
|
|
947
|
+
});
|
|
948
|
+
});
|
|
949
|
+
},
|
|
950
|
+
/**
|
|
951
|
+
* Get Last Account
|
|
952
|
+
* @summary Get Last Account
|
|
953
|
+
* @param {*} [options] Override http request option.
|
|
954
|
+
* @throws {RequiredError}
|
|
955
|
+
*/
|
|
956
|
+
getGetLastAccount: function () {
|
|
957
|
+
var args_1 = [];
|
|
958
|
+
for (var _i = 0; _i < arguments.length; _i++) {
|
|
959
|
+
args_1[_i] = arguments[_i];
|
|
960
|
+
}
|
|
961
|
+
return __awaiter(_this, __spreadArray([], args_1, true), void 0, function (options) {
|
|
962
|
+
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
963
|
+
if (options === void 0) { options = {}; }
|
|
964
|
+
return __generator(this, function (_a) {
|
|
965
|
+
localVarPath = "/admin/accounts/last";
|
|
966
|
+
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
967
|
+
if (configuration) {
|
|
968
|
+
baseOptions = configuration.baseOptions;
|
|
969
|
+
}
|
|
970
|
+
localVarRequestOptions = __assign(__assign({ method: 'GET' }, baseOptions), options);
|
|
971
|
+
localVarHeaderParameter = {};
|
|
972
|
+
localVarQueryParameter = {};
|
|
973
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
974
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
975
|
+
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
976
|
+
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
977
|
+
return [2 /*return*/, {
|
|
978
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
979
|
+
options: localVarRequestOptions,
|
|
980
|
+
}];
|
|
981
|
+
});
|
|
982
|
+
});
|
|
983
|
+
},
|
|
984
|
+
/**
|
|
985
|
+
* Get Account 3CX Details
|
|
986
|
+
* @param {string} id Xero ID
|
|
987
|
+
* @param {*} [options] Override http request option.
|
|
988
|
+
* @throws {RequiredError}
|
|
989
|
+
*/
|
|
990
|
+
getGetTcxPartnerDetails: function (id_1) {
|
|
991
|
+
var args_1 = [];
|
|
992
|
+
for (var _i = 1; _i < arguments.length; _i++) {
|
|
993
|
+
args_1[_i - 1] = arguments[_i];
|
|
994
|
+
}
|
|
995
|
+
return __awaiter(_this, __spreadArray([id_1], args_1, true), void 0, function (id, options) {
|
|
996
|
+
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
997
|
+
if (options === void 0) { options = {}; }
|
|
998
|
+
return __generator(this, function (_a) {
|
|
999
|
+
// verify required parameter 'id' is not null or undefined
|
|
1000
|
+
(0, common_1.assertParamExists)('getGetTcxPartnerDetails', 'id', id);
|
|
1001
|
+
localVarPath = "/admin/accounts/{id}/tcx/partner"
|
|
1002
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
1003
|
+
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
1004
|
+
if (configuration) {
|
|
1005
|
+
baseOptions = configuration.baseOptions;
|
|
1006
|
+
}
|
|
1007
|
+
localVarRequestOptions = __assign(__assign({ method: 'GET' }, baseOptions), options);
|
|
1008
|
+
localVarHeaderParameter = {};
|
|
1009
|
+
localVarQueryParameter = {};
|
|
1010
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
1011
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
1012
|
+
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1013
|
+
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
1014
|
+
return [2 /*return*/, {
|
|
1015
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
1016
|
+
options: localVarRequestOptions,
|
|
1017
|
+
}];
|
|
1018
|
+
});
|
|
1019
|
+
});
|
|
1020
|
+
},
|
|
930
1021
|
/**
|
|
931
1022
|
* Verify account email address
|
|
932
1023
|
* @summary Verify account email address
|
|
@@ -987,8 +1078,8 @@ var AccountsApiAxiosParamCreator = function (configuration) {
|
|
|
987
1078
|
// verify required parameter 'state' is not null or undefined
|
|
988
1079
|
(0, common_1.assertParamExists)('patchSetPortalAccess', 'state', state);
|
|
989
1080
|
localVarPath = "/admin/accounts/{id}/portal/access/{state}"
|
|
990
|
-
.replace(
|
|
991
|
-
.replace(
|
|
1081
|
+
.replace('{id}', encodeURIComponent(String(id)))
|
|
1082
|
+
.replace('{state}', encodeURIComponent(String(state)));
|
|
992
1083
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
993
1084
|
if (configuration) {
|
|
994
1085
|
baseOptions = configuration.baseOptions;
|
|
@@ -1027,8 +1118,8 @@ var AccountsApiAxiosParamCreator = function (configuration) {
|
|
|
1027
1118
|
// verify required parameter 'state' is not null or undefined
|
|
1028
1119
|
(0, common_1.assertParamExists)('patchSetPrizePromo', 'state', state);
|
|
1029
1120
|
localVarPath = "/admin/accounts/{id}/prizes/{state}"
|
|
1030
|
-
.replace(
|
|
1031
|
-
.replace(
|
|
1121
|
+
.replace('{id}', encodeURIComponent(String(id)))
|
|
1122
|
+
.replace('{state}', encodeURIComponent(String(state)));
|
|
1032
1123
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
1033
1124
|
if (configuration) {
|
|
1034
1125
|
baseOptions = configuration.baseOptions;
|
|
@@ -1100,7 +1191,7 @@ var AccountsApiAxiosParamCreator = function (configuration) {
|
|
|
1100
1191
|
// verify required parameter 'id' is not null or undefined
|
|
1101
1192
|
(0, common_1.assertParamExists)('patchUpdateAccountCname', 'id', id);
|
|
1102
1193
|
localVarPath = "/admin/accounts/{id}/cname"
|
|
1103
|
-
.replace(
|
|
1194
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
1104
1195
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
1105
1196
|
if (configuration) {
|
|
1106
1197
|
baseOptions = configuration.baseOptions;
|
|
@@ -1139,7 +1230,7 @@ var AccountsApiAxiosParamCreator = function (configuration) {
|
|
|
1139
1230
|
// verify required parameter 'id' is not null or undefined
|
|
1140
1231
|
(0, common_1.assertParamExists)('patchUpdateAccountCompanyNumber', 'id', id);
|
|
1141
1232
|
localVarPath = "/admin/accounts/{id}/companyNumber"
|
|
1142
|
-
.replace(
|
|
1233
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
1143
1234
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
1144
1235
|
if (configuration) {
|
|
1145
1236
|
baseOptions = configuration.baseOptions;
|
|
@@ -1220,7 +1311,7 @@ var AccountsApiAxiosParamCreator = function (configuration) {
|
|
|
1220
1311
|
// verify required parameter 'id' is not null or undefined
|
|
1221
1312
|
(0, common_1.assertParamExists)('patchUpdateAccountPhone', 'id', id);
|
|
1222
1313
|
localVarPath = "/admin/accounts/{id}/phone"
|
|
1223
|
-
.replace(
|
|
1314
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
1224
1315
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
1225
1316
|
if (configuration) {
|
|
1226
1317
|
baseOptions = configuration.baseOptions;
|
|
@@ -1259,7 +1350,7 @@ var AccountsApiAxiosParamCreator = function (configuration) {
|
|
|
1259
1350
|
// verify required parameter 'id' is not null or undefined
|
|
1260
1351
|
(0, common_1.assertParamExists)('patchUpdateAccountVatNumber', 'id', id);
|
|
1261
1352
|
localVarPath = "/admin/accounts/{id}/vatNumber"
|
|
1262
|
-
.replace(
|
|
1353
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
1263
1354
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
1264
1355
|
if (configuration) {
|
|
1265
1356
|
baseOptions = configuration.baseOptions;
|
|
@@ -1298,7 +1389,7 @@ var AccountsApiAxiosParamCreator = function (configuration) {
|
|
|
1298
1389
|
// verify required parameter 'id' is not null or undefined
|
|
1299
1390
|
(0, common_1.assertParamExists)('patchUpdateCreditLimit', 'id', id);
|
|
1300
1391
|
localVarPath = "/admin/accounts/{id}/creditLimit"
|
|
1301
|
-
.replace(
|
|
1392
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
1302
1393
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
1303
1394
|
if (configuration) {
|
|
1304
1395
|
baseOptions = configuration.baseOptions;
|
|
@@ -1338,7 +1429,7 @@ var AccountsApiAxiosParamCreator = function (configuration) {
|
|
|
1338
1429
|
// verify required parameter 'id' is not null or undefined
|
|
1339
1430
|
(0, common_1.assertParamExists)('patchUpdatePriceList', 'id', id);
|
|
1340
1431
|
localVarPath = "/admin/accounts/{id}/priceList"
|
|
1341
|
-
.replace(
|
|
1432
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
1342
1433
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
1343
1434
|
if (configuration) {
|
|
1344
1435
|
baseOptions = configuration.baseOptions;
|
|
@@ -1378,7 +1469,7 @@ var AccountsApiAxiosParamCreator = function (configuration) {
|
|
|
1378
1469
|
// verify required parameter 'id' is not null or undefined
|
|
1379
1470
|
(0, common_1.assertParamExists)('patchUpdateSipChannelCost', 'id', id);
|
|
1380
1471
|
localVarPath = "/admin/accounts/{id}/channelCost"
|
|
1381
|
-
.replace(
|
|
1472
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
1382
1473
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
1383
1474
|
if (configuration) {
|
|
1384
1475
|
baseOptions = configuration.baseOptions;
|
|
@@ -1399,6 +1490,86 @@ var AccountsApiAxiosParamCreator = function (configuration) {
|
|
|
1399
1490
|
});
|
|
1400
1491
|
});
|
|
1401
1492
|
},
|
|
1493
|
+
/**
|
|
1494
|
+
* Set Account 3CX Hosting Price List
|
|
1495
|
+
* @param {string} id Xero ID
|
|
1496
|
+
* @param {PatchUpdateTcxHostingPriceListRequest} [patchUpdateTcxHostingPriceListRequest] 3CX Hosting Price List Request
|
|
1497
|
+
* @param {*} [options] Override http request option.
|
|
1498
|
+
* @throws {RequiredError}
|
|
1499
|
+
*/
|
|
1500
|
+
patchUpdateTcxHostingPriceList: function (id_1, patchUpdateTcxHostingPriceListRequest_1) {
|
|
1501
|
+
var args_1 = [];
|
|
1502
|
+
for (var _i = 2; _i < arguments.length; _i++) {
|
|
1503
|
+
args_1[_i - 2] = arguments[_i];
|
|
1504
|
+
}
|
|
1505
|
+
return __awaiter(_this, __spreadArray([id_1, patchUpdateTcxHostingPriceListRequest_1], args_1, true), void 0, function (id, patchUpdateTcxHostingPriceListRequest, options) {
|
|
1506
|
+
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
1507
|
+
if (options === void 0) { options = {}; }
|
|
1508
|
+
return __generator(this, function (_a) {
|
|
1509
|
+
// verify required parameter 'id' is not null or undefined
|
|
1510
|
+
(0, common_1.assertParamExists)('patchUpdateTcxHostingPriceList', 'id', id);
|
|
1511
|
+
localVarPath = "/admin/accounts/{id}/tcx/hosting/priceList"
|
|
1512
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
1513
|
+
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
1514
|
+
if (configuration) {
|
|
1515
|
+
baseOptions = configuration.baseOptions;
|
|
1516
|
+
}
|
|
1517
|
+
localVarRequestOptions = __assign(__assign({ method: 'PATCH' }, baseOptions), options);
|
|
1518
|
+
localVarHeaderParameter = {};
|
|
1519
|
+
localVarQueryParameter = {};
|
|
1520
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
1521
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
1522
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
1523
|
+
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1524
|
+
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
1525
|
+
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(patchUpdateTcxHostingPriceListRequest, localVarRequestOptions, configuration);
|
|
1526
|
+
return [2 /*return*/, {
|
|
1527
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
1528
|
+
options: localVarRequestOptions,
|
|
1529
|
+
}];
|
|
1530
|
+
});
|
|
1531
|
+
});
|
|
1532
|
+
},
|
|
1533
|
+
/**
|
|
1534
|
+
* Set Account 3CX Partner ID
|
|
1535
|
+
* @param {string} id Xero ID
|
|
1536
|
+
* @param {PatchUpdateTcxPartnerIdRequest} [patchUpdateTcxPartnerIdRequest] Set Account 3CX Partner ID
|
|
1537
|
+
* @param {*} [options] Override http request option.
|
|
1538
|
+
* @throws {RequiredError}
|
|
1539
|
+
*/
|
|
1540
|
+
patchUpdateTcxPartnerId: function (id_1, patchUpdateTcxPartnerIdRequest_1) {
|
|
1541
|
+
var args_1 = [];
|
|
1542
|
+
for (var _i = 2; _i < arguments.length; _i++) {
|
|
1543
|
+
args_1[_i - 2] = arguments[_i];
|
|
1544
|
+
}
|
|
1545
|
+
return __awaiter(_this, __spreadArray([id_1, patchUpdateTcxPartnerIdRequest_1], args_1, true), void 0, function (id, patchUpdateTcxPartnerIdRequest, options) {
|
|
1546
|
+
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
1547
|
+
if (options === void 0) { options = {}; }
|
|
1548
|
+
return __generator(this, function (_a) {
|
|
1549
|
+
// verify required parameter 'id' is not null or undefined
|
|
1550
|
+
(0, common_1.assertParamExists)('patchUpdateTcxPartnerId', 'id', id);
|
|
1551
|
+
localVarPath = "/admin/accounts{id}/tcx/partner/id"
|
|
1552
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
1553
|
+
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
1554
|
+
if (configuration) {
|
|
1555
|
+
baseOptions = configuration.baseOptions;
|
|
1556
|
+
}
|
|
1557
|
+
localVarRequestOptions = __assign(__assign({ method: 'PATCH' }, baseOptions), options);
|
|
1558
|
+
localVarHeaderParameter = {};
|
|
1559
|
+
localVarQueryParameter = {};
|
|
1560
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
1561
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
1562
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
1563
|
+
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1564
|
+
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
1565
|
+
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(patchUpdateTcxPartnerIdRequest, localVarRequestOptions, configuration);
|
|
1566
|
+
return [2 /*return*/, {
|
|
1567
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
1568
|
+
options: localVarRequestOptions,
|
|
1569
|
+
}];
|
|
1570
|
+
});
|
|
1571
|
+
});
|
|
1572
|
+
},
|
|
1402
1573
|
/**
|
|
1403
1574
|
* Create Account Contact
|
|
1404
1575
|
* @param {string} id Account Xero ID
|
|
@@ -1418,7 +1589,7 @@ var AccountsApiAxiosParamCreator = function (configuration) {
|
|
|
1418
1589
|
// verify required parameter 'id' is not null or undefined
|
|
1419
1590
|
(0, common_1.assertParamExists)('postAdminCreateAccountContact', 'id', id);
|
|
1420
1591
|
localVarPath = "/admin/accounts/{id}/contacts"
|
|
1421
|
-
.replace(
|
|
1592
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
1422
1593
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
1423
1594
|
if (configuration) {
|
|
1424
1595
|
baseOptions = configuration.baseOptions;
|
|
@@ -1601,7 +1772,7 @@ var AccountsApiAxiosParamCreator = function (configuration) {
|
|
|
1601
1772
|
// verify required parameter 'email' is not null or undefined
|
|
1602
1773
|
(0, common_1.assertParamExists)('postSendEmailVerificationEmail', 'email', email);
|
|
1603
1774
|
localVarPath = "/accounts/contacts/verify/{email}"
|
|
1604
|
-
.replace(
|
|
1775
|
+
.replace('{email}', encodeURIComponent(String(email)));
|
|
1605
1776
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
1606
1777
|
if (configuration) {
|
|
1607
1778
|
baseOptions = configuration.baseOptions;
|
|
@@ -1677,7 +1848,7 @@ var AccountsApiAxiosParamCreator = function (configuration) {
|
|
|
1677
1848
|
// verify required parameter 'id' is not null or undefined
|
|
1678
1849
|
(0, common_1.assertParamExists)('postSendWelcomeEmail', 'id', id);
|
|
1679
1850
|
localVarPath = "/admin/accounts/{id}/email/welcome"
|
|
1680
|
-
.replace(
|
|
1851
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
1681
1852
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
1682
1853
|
if (configuration) {
|
|
1683
1854
|
baseOptions = configuration.baseOptions;
|
|
@@ -1764,8 +1935,8 @@ var AccountsApiAxiosParamCreator = function (configuration) {
|
|
|
1764
1935
|
// verify required parameter 'contactId' is not null or undefined
|
|
1765
1936
|
(0, common_1.assertParamExists)('putAdminUpdateAccountContact', 'contactId', contactId);
|
|
1766
1937
|
localVarPath = "/admin/accounts/{id}/contacts/{contact_id}"
|
|
1767
|
-
.replace(
|
|
1768
|
-
.replace(
|
|
1938
|
+
.replace('{id}', encodeURIComponent(String(id)))
|
|
1939
|
+
.replace('{contact_id}', encodeURIComponent(String(contactId)));
|
|
1769
1940
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
1770
1941
|
if (configuration) {
|
|
1771
1942
|
baseOptions = configuration.baseOptions;
|
|
@@ -1805,7 +1976,7 @@ var AccountsApiAxiosParamCreator = function (configuration) {
|
|
|
1805
1976
|
// verify required parameter 'email' is not null or undefined
|
|
1806
1977
|
(0, common_1.assertParamExists)('putUpdateAccountContact', 'email', email);
|
|
1807
1978
|
localVarPath = "/accounts/me/contacts/{email}"
|
|
1808
|
-
.replace(
|
|
1979
|
+
.replace('{email}', encodeURIComponent(String(email)));
|
|
1809
1980
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
1810
1981
|
if (configuration) {
|
|
1811
1982
|
baseOptions = configuration.baseOptions;
|
|
@@ -1844,7 +2015,7 @@ var AccountsApiAxiosParamCreator = function (configuration) {
|
|
|
1844
2015
|
// verify required parameter 'id' is not null or undefined
|
|
1845
2016
|
(0, common_1.assertParamExists)('putUpdateBillingAddress', 'id', id);
|
|
1846
2017
|
localVarPath = "/admin/accounts/{id}/billing/address"
|
|
1847
|
-
.replace(
|
|
2018
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
1848
2019
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
1849
2020
|
if (configuration) {
|
|
1850
2021
|
baseOptions = configuration.baseOptions;
|
|
@@ -1883,7 +2054,7 @@ var AccountsApiAxiosParamCreator = function (configuration) {
|
|
|
1883
2054
|
// verify required parameter 'id' is not null or undefined
|
|
1884
2055
|
(0, common_1.assertParamExists)('putUpdateShippingAddress', 'id', id);
|
|
1885
2056
|
localVarPath = "/admin/accounts/{id}/shipping/address"
|
|
1886
|
-
.replace(
|
|
2057
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
1887
2058
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
1888
2059
|
if (configuration) {
|
|
1889
2060
|
baseOptions = configuration.baseOptions;
|
|
@@ -1981,89 +2152,89 @@ var AccountsApiFp = function (configuration) {
|
|
|
1981
2152
|
});
|
|
1982
2153
|
},
|
|
1983
2154
|
/**
|
|
1984
|
-
*
|
|
1985
|
-
* @
|
|
2155
|
+
* Delete Account Contacts
|
|
2156
|
+
* @summary Delete Account Contact
|
|
2157
|
+
* @param {string} email Contact Email Address
|
|
1986
2158
|
* @param {*} [options] Override http request option.
|
|
1987
2159
|
* @throws {RequiredError}
|
|
1988
2160
|
*/
|
|
1989
|
-
|
|
2161
|
+
deleteUpdateAccountContact: function (email, options) {
|
|
1990
2162
|
return __awaiter(this, void 0, void 0, function () {
|
|
1991
2163
|
var localVarAxiosArgs, localVarOperationServerIndex, localVarOperationServerBasePath;
|
|
1992
2164
|
var _a, _b, _c;
|
|
1993
2165
|
return __generator(this, function (_d) {
|
|
1994
2166
|
switch (_d.label) {
|
|
1995
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.
|
|
2167
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.deleteUpdateAccountContact(email, options)];
|
|
1996
2168
|
case 1:
|
|
1997
2169
|
localVarAxiosArgs = _d.sent();
|
|
1998
2170
|
localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
1999
|
-
localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['AccountsApi.
|
|
2171
|
+
localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['AccountsApi.deleteUpdateAccountContact']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
2000
2172
|
return [2 /*return*/, function (axios, basePath) { return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath); }];
|
|
2001
2173
|
}
|
|
2002
2174
|
});
|
|
2003
2175
|
});
|
|
2004
2176
|
},
|
|
2005
2177
|
/**
|
|
2006
|
-
*
|
|
2007
|
-
* @
|
|
2008
|
-
* @param {string} email Contact Email Address
|
|
2178
|
+
* Get Account Contacts
|
|
2179
|
+
* @param {string} id Account Xero ID
|
|
2009
2180
|
* @param {*} [options] Override http request option.
|
|
2010
2181
|
* @throws {RequiredError}
|
|
2011
2182
|
*/
|
|
2012
|
-
|
|
2183
|
+
getAdminCreateAccountContact: function (id, options) {
|
|
2013
2184
|
return __awaiter(this, void 0, void 0, function () {
|
|
2014
2185
|
var localVarAxiosArgs, localVarOperationServerIndex, localVarOperationServerBasePath;
|
|
2015
2186
|
var _a, _b, _c;
|
|
2016
2187
|
return __generator(this, function (_d) {
|
|
2017
2188
|
switch (_d.label) {
|
|
2018
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.
|
|
2189
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.getAdminCreateAccountContact(id, options)];
|
|
2019
2190
|
case 1:
|
|
2020
2191
|
localVarAxiosArgs = _d.sent();
|
|
2021
2192
|
localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
2022
|
-
localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['AccountsApi.
|
|
2193
|
+
localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['AccountsApi.getAdminCreateAccountContact']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
2023
2194
|
return [2 /*return*/, function (axios, basePath) { return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath); }];
|
|
2024
2195
|
}
|
|
2025
2196
|
});
|
|
2026
2197
|
});
|
|
2027
2198
|
},
|
|
2028
2199
|
/**
|
|
2029
|
-
* Get Account
|
|
2030
|
-
* @
|
|
2200
|
+
* Get Account
|
|
2201
|
+
* @summary Get Account
|
|
2031
2202
|
* @param {*} [options] Override http request option.
|
|
2032
2203
|
* @throws {RequiredError}
|
|
2033
2204
|
*/
|
|
2034
|
-
|
|
2205
|
+
getGetAccount: function (options) {
|
|
2035
2206
|
return __awaiter(this, void 0, void 0, function () {
|
|
2036
2207
|
var localVarAxiosArgs, localVarOperationServerIndex, localVarOperationServerBasePath;
|
|
2037
2208
|
var _a, _b, _c;
|
|
2038
2209
|
return __generator(this, function (_d) {
|
|
2039
2210
|
switch (_d.label) {
|
|
2040
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.
|
|
2211
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.getGetAccount(options)];
|
|
2041
2212
|
case 1:
|
|
2042
2213
|
localVarAxiosArgs = _d.sent();
|
|
2043
2214
|
localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
2044
|
-
localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['AccountsApi.
|
|
2215
|
+
localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['AccountsApi.getGetAccount']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
2045
2216
|
return [2 /*return*/, function (axios, basePath) { return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath); }];
|
|
2046
2217
|
}
|
|
2047
2218
|
});
|
|
2048
2219
|
});
|
|
2049
2220
|
},
|
|
2050
2221
|
/**
|
|
2051
|
-
* Get Account
|
|
2052
|
-
* @
|
|
2222
|
+
* Get Account Addresses
|
|
2223
|
+
* @param {string} id Xero ID
|
|
2053
2224
|
* @param {*} [options] Override http request option.
|
|
2054
2225
|
* @throws {RequiredError}
|
|
2055
2226
|
*/
|
|
2056
|
-
|
|
2227
|
+
getGetAccountAddresses: function (id, options) {
|
|
2057
2228
|
return __awaiter(this, void 0, void 0, function () {
|
|
2058
2229
|
var localVarAxiosArgs, localVarOperationServerIndex, localVarOperationServerBasePath;
|
|
2059
2230
|
var _a, _b, _c;
|
|
2060
2231
|
return __generator(this, function (_d) {
|
|
2061
2232
|
switch (_d.label) {
|
|
2062
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.
|
|
2233
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.getGetAccountAddresses(id, options)];
|
|
2063
2234
|
case 1:
|
|
2064
2235
|
localVarAxiosArgs = _d.sent();
|
|
2065
2236
|
localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
2066
|
-
localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['AccountsApi.
|
|
2237
|
+
localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['AccountsApi.getGetAccountAddresses']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
2067
2238
|
return [2 /*return*/, function (axios, basePath) { return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath); }];
|
|
2068
2239
|
}
|
|
2069
2240
|
});
|
|
@@ -2115,28 +2286,6 @@ var AccountsApiFp = function (configuration) {
|
|
|
2115
2286
|
});
|
|
2116
2287
|
});
|
|
2117
2288
|
},
|
|
2118
|
-
/**
|
|
2119
|
-
* Get Account Page Details
|
|
2120
|
-
* @param {string} id Xero ID
|
|
2121
|
-
* @param {*} [options] Override http request option.
|
|
2122
|
-
* @throws {RequiredError}
|
|
2123
|
-
*/
|
|
2124
|
-
getGetAccountPageInfo: function (id, options) {
|
|
2125
|
-
return __awaiter(this, void 0, void 0, function () {
|
|
2126
|
-
var localVarAxiosArgs, localVarOperationServerIndex, localVarOperationServerBasePath;
|
|
2127
|
-
var _a, _b, _c;
|
|
2128
|
-
return __generator(this, function (_d) {
|
|
2129
|
-
switch (_d.label) {
|
|
2130
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.getGetAccountPageInfo(id, options)];
|
|
2131
|
-
case 1:
|
|
2132
|
-
localVarAxiosArgs = _d.sent();
|
|
2133
|
-
localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
2134
|
-
localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['AccountsApi.getGetAccountPageInfo']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
2135
|
-
return [2 /*return*/, function (axios, basePath) { return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath); }];
|
|
2136
|
-
}
|
|
2137
|
-
});
|
|
2138
|
-
});
|
|
2139
|
-
},
|
|
2140
2289
|
/**
|
|
2141
2290
|
* Get Accounts
|
|
2142
2291
|
* @summary Get Accounts
|
|
@@ -2207,6 +2356,72 @@ var AccountsApiFp = function (configuration) {
|
|
|
2207
2356
|
});
|
|
2208
2357
|
});
|
|
2209
2358
|
},
|
|
2359
|
+
/**
|
|
2360
|
+
* Get Account Finance
|
|
2361
|
+
* @param {string} id Account Xero ID
|
|
2362
|
+
* @param {*} [options] Override http request option.
|
|
2363
|
+
* @throws {RequiredError}
|
|
2364
|
+
*/
|
|
2365
|
+
getGetFinanceSettings: function (id, options) {
|
|
2366
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
2367
|
+
var localVarAxiosArgs, localVarOperationServerIndex, localVarOperationServerBasePath;
|
|
2368
|
+
var _a, _b, _c;
|
|
2369
|
+
return __generator(this, function (_d) {
|
|
2370
|
+
switch (_d.label) {
|
|
2371
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.getGetFinanceSettings(id, options)];
|
|
2372
|
+
case 1:
|
|
2373
|
+
localVarAxiosArgs = _d.sent();
|
|
2374
|
+
localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
2375
|
+
localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['AccountsApi.getGetFinanceSettings']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
2376
|
+
return [2 /*return*/, function (axios, basePath) { return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath); }];
|
|
2377
|
+
}
|
|
2378
|
+
});
|
|
2379
|
+
});
|
|
2380
|
+
},
|
|
2381
|
+
/**
|
|
2382
|
+
* Get Last Account
|
|
2383
|
+
* @summary Get Last Account
|
|
2384
|
+
* @param {*} [options] Override http request option.
|
|
2385
|
+
* @throws {RequiredError}
|
|
2386
|
+
*/
|
|
2387
|
+
getGetLastAccount: function (options) {
|
|
2388
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
2389
|
+
var localVarAxiosArgs, localVarOperationServerIndex, localVarOperationServerBasePath;
|
|
2390
|
+
var _a, _b, _c;
|
|
2391
|
+
return __generator(this, function (_d) {
|
|
2392
|
+
switch (_d.label) {
|
|
2393
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.getGetLastAccount(options)];
|
|
2394
|
+
case 1:
|
|
2395
|
+
localVarAxiosArgs = _d.sent();
|
|
2396
|
+
localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
2397
|
+
localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['AccountsApi.getGetLastAccount']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
2398
|
+
return [2 /*return*/, function (axios, basePath) { return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath); }];
|
|
2399
|
+
}
|
|
2400
|
+
});
|
|
2401
|
+
});
|
|
2402
|
+
},
|
|
2403
|
+
/**
|
|
2404
|
+
* Get Account 3CX Details
|
|
2405
|
+
* @param {string} id Xero ID
|
|
2406
|
+
* @param {*} [options] Override http request option.
|
|
2407
|
+
* @throws {RequiredError}
|
|
2408
|
+
*/
|
|
2409
|
+
getGetTcxPartnerDetails: function (id, options) {
|
|
2410
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
2411
|
+
var localVarAxiosArgs, localVarOperationServerIndex, localVarOperationServerBasePath;
|
|
2412
|
+
var _a, _b, _c;
|
|
2413
|
+
return __generator(this, function (_d) {
|
|
2414
|
+
switch (_d.label) {
|
|
2415
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.getGetTcxPartnerDetails(id, options)];
|
|
2416
|
+
case 1:
|
|
2417
|
+
localVarAxiosArgs = _d.sent();
|
|
2418
|
+
localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
2419
|
+
localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['AccountsApi.getGetTcxPartnerDetails']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
2420
|
+
return [2 /*return*/, function (axios, basePath) { return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath); }];
|
|
2421
|
+
}
|
|
2422
|
+
});
|
|
2423
|
+
});
|
|
2424
|
+
},
|
|
2210
2425
|
/**
|
|
2211
2426
|
* Verify account email address
|
|
2212
2427
|
* @summary Verify account email address
|
|
@@ -2483,6 +2698,52 @@ var AccountsApiFp = function (configuration) {
|
|
|
2483
2698
|
});
|
|
2484
2699
|
});
|
|
2485
2700
|
},
|
|
2701
|
+
/**
|
|
2702
|
+
* Set Account 3CX Hosting Price List
|
|
2703
|
+
* @param {string} id Xero ID
|
|
2704
|
+
* @param {PatchUpdateTcxHostingPriceListRequest} [patchUpdateTcxHostingPriceListRequest] 3CX Hosting Price List Request
|
|
2705
|
+
* @param {*} [options] Override http request option.
|
|
2706
|
+
* @throws {RequiredError}
|
|
2707
|
+
*/
|
|
2708
|
+
patchUpdateTcxHostingPriceList: function (id, patchUpdateTcxHostingPriceListRequest, options) {
|
|
2709
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
2710
|
+
var localVarAxiosArgs, localVarOperationServerIndex, localVarOperationServerBasePath;
|
|
2711
|
+
var _a, _b, _c;
|
|
2712
|
+
return __generator(this, function (_d) {
|
|
2713
|
+
switch (_d.label) {
|
|
2714
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.patchUpdateTcxHostingPriceList(id, patchUpdateTcxHostingPriceListRequest, options)];
|
|
2715
|
+
case 1:
|
|
2716
|
+
localVarAxiosArgs = _d.sent();
|
|
2717
|
+
localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
2718
|
+
localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['AccountsApi.patchUpdateTcxHostingPriceList']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
2719
|
+
return [2 /*return*/, function (axios, basePath) { return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath); }];
|
|
2720
|
+
}
|
|
2721
|
+
});
|
|
2722
|
+
});
|
|
2723
|
+
},
|
|
2724
|
+
/**
|
|
2725
|
+
* Set Account 3CX Partner ID
|
|
2726
|
+
* @param {string} id Xero ID
|
|
2727
|
+
* @param {PatchUpdateTcxPartnerIdRequest} [patchUpdateTcxPartnerIdRequest] Set Account 3CX Partner ID
|
|
2728
|
+
* @param {*} [options] Override http request option.
|
|
2729
|
+
* @throws {RequiredError}
|
|
2730
|
+
*/
|
|
2731
|
+
patchUpdateTcxPartnerId: function (id, patchUpdateTcxPartnerIdRequest, options) {
|
|
2732
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
2733
|
+
var localVarAxiosArgs, localVarOperationServerIndex, localVarOperationServerBasePath;
|
|
2734
|
+
var _a, _b, _c;
|
|
2735
|
+
return __generator(this, function (_d) {
|
|
2736
|
+
switch (_d.label) {
|
|
2737
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.patchUpdateTcxPartnerId(id, patchUpdateTcxPartnerIdRequest, options)];
|
|
2738
|
+
case 1:
|
|
2739
|
+
localVarAxiosArgs = _d.sent();
|
|
2740
|
+
localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
2741
|
+
localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['AccountsApi.patchUpdateTcxPartnerId']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
2742
|
+
return [2 /*return*/, function (axios, basePath) { return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath); }];
|
|
2743
|
+
}
|
|
2744
|
+
});
|
|
2745
|
+
});
|
|
2746
|
+
},
|
|
2486
2747
|
/**
|
|
2487
2748
|
* Create Account Contact
|
|
2488
2749
|
* @param {string} id Account Xero ID
|
|
@@ -2823,15 +3084,6 @@ var AccountsApiFactory = function (configuration, basePath, axios) {
|
|
|
2823
3084
|
deleteDeleteClientCredentials: function (id, options) {
|
|
2824
3085
|
return localVarFp.deleteDeleteClientCredentials(id, options).then(function (request) { return request(axios, basePath); });
|
|
2825
3086
|
},
|
|
2826
|
-
/**
|
|
2827
|
-
* Get Account Finance
|
|
2828
|
-
* @param {string} id Account Xero ID
|
|
2829
|
-
* @param {*} [options] Override http request option.
|
|
2830
|
-
* @throws {RequiredError}
|
|
2831
|
-
*/
|
|
2832
|
-
deleteGetFinanceSettings: function (id, options) {
|
|
2833
|
-
return localVarFp.deleteGetFinanceSettings(id, options).then(function (request) { return request(axios, basePath); });
|
|
2834
|
-
},
|
|
2835
3087
|
/**
|
|
2836
3088
|
* Delete Account Contacts
|
|
2837
3089
|
* @summary Delete Account Contact
|
|
@@ -2860,6 +3112,15 @@ var AccountsApiFactory = function (configuration, basePath, axios) {
|
|
|
2860
3112
|
getGetAccount: function (options) {
|
|
2861
3113
|
return localVarFp.getGetAccount(options).then(function (request) { return request(axios, basePath); });
|
|
2862
3114
|
},
|
|
3115
|
+
/**
|
|
3116
|
+
* Get Account Addresses
|
|
3117
|
+
* @param {string} id Xero ID
|
|
3118
|
+
* @param {*} [options] Override http request option.
|
|
3119
|
+
* @throws {RequiredError}
|
|
3120
|
+
*/
|
|
3121
|
+
getGetAccountAddresses: function (id, options) {
|
|
3122
|
+
return localVarFp.getGetAccountAddresses(id, options).then(function (request) { return request(axios, basePath); });
|
|
3123
|
+
},
|
|
2863
3124
|
/**
|
|
2864
3125
|
* Get Account Contacts
|
|
2865
3126
|
* @summary Get Account Contacts
|
|
@@ -2880,15 +3141,6 @@ var AccountsApiFactory = function (configuration, basePath, axios) {
|
|
|
2880
3141
|
getGetAccountDetailedSummary: function (id, options) {
|
|
2881
3142
|
return localVarFp.getGetAccountDetailedSummary(id, options).then(function (request) { return request(axios, basePath); });
|
|
2882
3143
|
},
|
|
2883
|
-
/**
|
|
2884
|
-
* Get Account Page Details
|
|
2885
|
-
* @param {string} id Xero ID
|
|
2886
|
-
* @param {*} [options] Override http request option.
|
|
2887
|
-
* @throws {RequiredError}
|
|
2888
|
-
*/
|
|
2889
|
-
getGetAccountPageInfo: function (id, options) {
|
|
2890
|
-
return localVarFp.getGetAccountPageInfo(id, options).then(function (request) { return request(axios, basePath); });
|
|
2891
|
-
},
|
|
2892
3144
|
/**
|
|
2893
3145
|
* Get Accounts
|
|
2894
3146
|
* @summary Get Accounts
|
|
@@ -2920,6 +3172,33 @@ var AccountsApiFactory = function (configuration, basePath, axios) {
|
|
|
2920
3172
|
getGetCustomerKeys: function (options) {
|
|
2921
3173
|
return localVarFp.getGetCustomerKeys(options).then(function (request) { return request(axios, basePath); });
|
|
2922
3174
|
},
|
|
3175
|
+
/**
|
|
3176
|
+
* Get Account Finance
|
|
3177
|
+
* @param {string} id Account Xero ID
|
|
3178
|
+
* @param {*} [options] Override http request option.
|
|
3179
|
+
* @throws {RequiredError}
|
|
3180
|
+
*/
|
|
3181
|
+
getGetFinanceSettings: function (id, options) {
|
|
3182
|
+
return localVarFp.getGetFinanceSettings(id, options).then(function (request) { return request(axios, basePath); });
|
|
3183
|
+
},
|
|
3184
|
+
/**
|
|
3185
|
+
* Get Last Account
|
|
3186
|
+
* @summary Get Last Account
|
|
3187
|
+
* @param {*} [options] Override http request option.
|
|
3188
|
+
* @throws {RequiredError}
|
|
3189
|
+
*/
|
|
3190
|
+
getGetLastAccount: function (options) {
|
|
3191
|
+
return localVarFp.getGetLastAccount(options).then(function (request) { return request(axios, basePath); });
|
|
3192
|
+
},
|
|
3193
|
+
/**
|
|
3194
|
+
* Get Account 3CX Details
|
|
3195
|
+
* @param {string} id Xero ID
|
|
3196
|
+
* @param {*} [options] Override http request option.
|
|
3197
|
+
* @throws {RequiredError}
|
|
3198
|
+
*/
|
|
3199
|
+
getGetTcxPartnerDetails: function (id, options) {
|
|
3200
|
+
return localVarFp.getGetTcxPartnerDetails(id, options).then(function (request) { return request(axios, basePath); });
|
|
3201
|
+
},
|
|
2923
3202
|
/**
|
|
2924
3203
|
* Verify account email address
|
|
2925
3204
|
* @summary Verify account email address
|
|
@@ -3040,6 +3319,26 @@ var AccountsApiFactory = function (configuration, basePath, axios) {
|
|
|
3040
3319
|
patchUpdateSipChannelCost: function (id, patchUpdateSipChannelCostRequest, options) {
|
|
3041
3320
|
return localVarFp.patchUpdateSipChannelCost(id, patchUpdateSipChannelCostRequest, options).then(function (request) { return request(axios, basePath); });
|
|
3042
3321
|
},
|
|
3322
|
+
/**
|
|
3323
|
+
* Set Account 3CX Hosting Price List
|
|
3324
|
+
* @param {string} id Xero ID
|
|
3325
|
+
* @param {PatchUpdateTcxHostingPriceListRequest} [patchUpdateTcxHostingPriceListRequest] 3CX Hosting Price List Request
|
|
3326
|
+
* @param {*} [options] Override http request option.
|
|
3327
|
+
* @throws {RequiredError}
|
|
3328
|
+
*/
|
|
3329
|
+
patchUpdateTcxHostingPriceList: function (id, patchUpdateTcxHostingPriceListRequest, options) {
|
|
3330
|
+
return localVarFp.patchUpdateTcxHostingPriceList(id, patchUpdateTcxHostingPriceListRequest, options).then(function (request) { return request(axios, basePath); });
|
|
3331
|
+
},
|
|
3332
|
+
/**
|
|
3333
|
+
* Set Account 3CX Partner ID
|
|
3334
|
+
* @param {string} id Xero ID
|
|
3335
|
+
* @param {PatchUpdateTcxPartnerIdRequest} [patchUpdateTcxPartnerIdRequest] Set Account 3CX Partner ID
|
|
3336
|
+
* @param {*} [options] Override http request option.
|
|
3337
|
+
* @throws {RequiredError}
|
|
3338
|
+
*/
|
|
3339
|
+
patchUpdateTcxPartnerId: function (id, patchUpdateTcxPartnerIdRequest, options) {
|
|
3340
|
+
return localVarFp.patchUpdateTcxPartnerId(id, patchUpdateTcxPartnerIdRequest, options).then(function (request) { return request(axios, basePath); });
|
|
3341
|
+
},
|
|
3043
3342
|
/**
|
|
3044
3343
|
* Create Account Contact
|
|
3045
3344
|
* @param {string} id Account Xero ID
|
|
@@ -3216,16 +3515,6 @@ var AccountsApi = /** @class */ (function (_super) {
|
|
|
3216
3515
|
var _this = this;
|
|
3217
3516
|
return (0, exports.AccountsApiFp)(this.configuration).deleteDeleteClientCredentials(id, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
3218
3517
|
};
|
|
3219
|
-
/**
|
|
3220
|
-
* Get Account Finance
|
|
3221
|
-
* @param {string} id Account Xero ID
|
|
3222
|
-
* @param {*} [options] Override http request option.
|
|
3223
|
-
* @throws {RequiredError}
|
|
3224
|
-
*/
|
|
3225
|
-
AccountsApi.prototype.deleteGetFinanceSettings = function (id, options) {
|
|
3226
|
-
var _this = this;
|
|
3227
|
-
return (0, exports.AccountsApiFp)(this.configuration).deleteGetFinanceSettings(id, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
3228
|
-
};
|
|
3229
3518
|
/**
|
|
3230
3519
|
* Delete Account Contacts
|
|
3231
3520
|
* @summary Delete Account Contact
|
|
@@ -3257,6 +3546,16 @@ var AccountsApi = /** @class */ (function (_super) {
|
|
|
3257
3546
|
var _this = this;
|
|
3258
3547
|
return (0, exports.AccountsApiFp)(this.configuration).getGetAccount(options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
3259
3548
|
};
|
|
3549
|
+
/**
|
|
3550
|
+
* Get Account Addresses
|
|
3551
|
+
* @param {string} id Xero ID
|
|
3552
|
+
* @param {*} [options] Override http request option.
|
|
3553
|
+
* @throws {RequiredError}
|
|
3554
|
+
*/
|
|
3555
|
+
AccountsApi.prototype.getGetAccountAddresses = function (id, options) {
|
|
3556
|
+
var _this = this;
|
|
3557
|
+
return (0, exports.AccountsApiFp)(this.configuration).getGetAccountAddresses(id, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
3558
|
+
};
|
|
3260
3559
|
/**
|
|
3261
3560
|
* Get Account Contacts
|
|
3262
3561
|
* @summary Get Account Contacts
|
|
@@ -3279,16 +3578,6 @@ var AccountsApi = /** @class */ (function (_super) {
|
|
|
3279
3578
|
var _this = this;
|
|
3280
3579
|
return (0, exports.AccountsApiFp)(this.configuration).getGetAccountDetailedSummary(id, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
3281
3580
|
};
|
|
3282
|
-
/**
|
|
3283
|
-
* Get Account Page Details
|
|
3284
|
-
* @param {string} id Xero ID
|
|
3285
|
-
* @param {*} [options] Override http request option.
|
|
3286
|
-
* @throws {RequiredError}
|
|
3287
|
-
*/
|
|
3288
|
-
AccountsApi.prototype.getGetAccountPageInfo = function (id, options) {
|
|
3289
|
-
var _this = this;
|
|
3290
|
-
return (0, exports.AccountsApiFp)(this.configuration).getGetAccountPageInfo(id, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
3291
|
-
};
|
|
3292
3581
|
/**
|
|
3293
3582
|
* Get Accounts
|
|
3294
3583
|
* @summary Get Accounts
|
|
@@ -3323,6 +3612,36 @@ var AccountsApi = /** @class */ (function (_super) {
|
|
|
3323
3612
|
var _this = this;
|
|
3324
3613
|
return (0, exports.AccountsApiFp)(this.configuration).getGetCustomerKeys(options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
3325
3614
|
};
|
|
3615
|
+
/**
|
|
3616
|
+
* Get Account Finance
|
|
3617
|
+
* @param {string} id Account Xero ID
|
|
3618
|
+
* @param {*} [options] Override http request option.
|
|
3619
|
+
* @throws {RequiredError}
|
|
3620
|
+
*/
|
|
3621
|
+
AccountsApi.prototype.getGetFinanceSettings = function (id, options) {
|
|
3622
|
+
var _this = this;
|
|
3623
|
+
return (0, exports.AccountsApiFp)(this.configuration).getGetFinanceSettings(id, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
3624
|
+
};
|
|
3625
|
+
/**
|
|
3626
|
+
* Get Last Account
|
|
3627
|
+
* @summary Get Last Account
|
|
3628
|
+
* @param {*} [options] Override http request option.
|
|
3629
|
+
* @throws {RequiredError}
|
|
3630
|
+
*/
|
|
3631
|
+
AccountsApi.prototype.getGetLastAccount = function (options) {
|
|
3632
|
+
var _this = this;
|
|
3633
|
+
return (0, exports.AccountsApiFp)(this.configuration).getGetLastAccount(options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
3634
|
+
};
|
|
3635
|
+
/**
|
|
3636
|
+
* Get Account 3CX Details
|
|
3637
|
+
* @param {string} id Xero ID
|
|
3638
|
+
* @param {*} [options] Override http request option.
|
|
3639
|
+
* @throws {RequiredError}
|
|
3640
|
+
*/
|
|
3641
|
+
AccountsApi.prototype.getGetTcxPartnerDetails = function (id, options) {
|
|
3642
|
+
var _this = this;
|
|
3643
|
+
return (0, exports.AccountsApiFp)(this.configuration).getGetTcxPartnerDetails(id, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
3644
|
+
};
|
|
3326
3645
|
/**
|
|
3327
3646
|
* Verify account email address
|
|
3328
3647
|
* @summary Verify account email address
|
|
@@ -3455,6 +3774,28 @@ var AccountsApi = /** @class */ (function (_super) {
|
|
|
3455
3774
|
var _this = this;
|
|
3456
3775
|
return (0, exports.AccountsApiFp)(this.configuration).patchUpdateSipChannelCost(id, patchUpdateSipChannelCostRequest, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
3457
3776
|
};
|
|
3777
|
+
/**
|
|
3778
|
+
* Set Account 3CX Hosting Price List
|
|
3779
|
+
* @param {string} id Xero ID
|
|
3780
|
+
* @param {PatchUpdateTcxHostingPriceListRequest} [patchUpdateTcxHostingPriceListRequest] 3CX Hosting Price List Request
|
|
3781
|
+
* @param {*} [options] Override http request option.
|
|
3782
|
+
* @throws {RequiredError}
|
|
3783
|
+
*/
|
|
3784
|
+
AccountsApi.prototype.patchUpdateTcxHostingPriceList = function (id, patchUpdateTcxHostingPriceListRequest, options) {
|
|
3785
|
+
var _this = this;
|
|
3786
|
+
return (0, exports.AccountsApiFp)(this.configuration).patchUpdateTcxHostingPriceList(id, patchUpdateTcxHostingPriceListRequest, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
3787
|
+
};
|
|
3788
|
+
/**
|
|
3789
|
+
* Set Account 3CX Partner ID
|
|
3790
|
+
* @param {string} id Xero ID
|
|
3791
|
+
* @param {PatchUpdateTcxPartnerIdRequest} [patchUpdateTcxPartnerIdRequest] Set Account 3CX Partner ID
|
|
3792
|
+
* @param {*} [options] Override http request option.
|
|
3793
|
+
* @throws {RequiredError}
|
|
3794
|
+
*/
|
|
3795
|
+
AccountsApi.prototype.patchUpdateTcxPartnerId = function (id, patchUpdateTcxPartnerIdRequest, options) {
|
|
3796
|
+
var _this = this;
|
|
3797
|
+
return (0, exports.AccountsApiFp)(this.configuration).patchUpdateTcxPartnerId(id, patchUpdateTcxPartnerIdRequest, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
3798
|
+
};
|
|
3458
3799
|
/**
|
|
3459
3800
|
* Create Account Contact
|
|
3460
3801
|
* @param {string} id Account Xero ID
|
|
@@ -3597,21 +3938,134 @@ var AccountsApi = /** @class */ (function (_super) {
|
|
|
3597
3938
|
* @param {*} [options] Override http request option.
|
|
3598
3939
|
* @throws {RequiredError}
|
|
3599
3940
|
*/
|
|
3600
|
-
AccountsApi.prototype.putUpdateShippingAddress = function (id, addressDTO, options) {
|
|
3941
|
+
AccountsApi.prototype.putUpdateShippingAddress = function (id, addressDTO, options) {
|
|
3942
|
+
var _this = this;
|
|
3943
|
+
return (0, exports.AccountsApiFp)(this.configuration).putUpdateShippingAddress(id, addressDTO, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
3944
|
+
};
|
|
3945
|
+
return AccountsApi;
|
|
3946
|
+
}(base_1.BaseAPI));
|
|
3947
|
+
exports.AccountsApi = AccountsApi;
|
|
3948
|
+
exports.PatchSetPortalAccessStateEnum = {
|
|
3949
|
+
Enable: 'enable',
|
|
3950
|
+
Disable: 'disable',
|
|
3951
|
+
};
|
|
3952
|
+
exports.PatchSetPrizePromoStateEnum = {
|
|
3953
|
+
Enable: 'enable',
|
|
3954
|
+
Disable: 'disable',
|
|
3955
|
+
};
|
|
3956
|
+
/**
|
|
3957
|
+
* BillingApi - axios parameter creator
|
|
3958
|
+
*/
|
|
3959
|
+
var BillingApiAxiosParamCreator = function (configuration) {
|
|
3960
|
+
var _this = this;
|
|
3961
|
+
return {
|
|
3962
|
+
/**
|
|
3963
|
+
* Get Billing Customers
|
|
3964
|
+
* @summary Get Billing Customers
|
|
3965
|
+
* @param {*} [options] Override http request option.
|
|
3966
|
+
* @throws {RequiredError}
|
|
3967
|
+
*/
|
|
3968
|
+
getGetAllCustomer: function () {
|
|
3969
|
+
var args_1 = [];
|
|
3970
|
+
for (var _i = 0; _i < arguments.length; _i++) {
|
|
3971
|
+
args_1[_i] = arguments[_i];
|
|
3972
|
+
}
|
|
3973
|
+
return __awaiter(_this, __spreadArray([], args_1, true), void 0, function (options) {
|
|
3974
|
+
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
3975
|
+
if (options === void 0) { options = {}; }
|
|
3976
|
+
return __generator(this, function (_a) {
|
|
3977
|
+
localVarPath = "/billing/admin/customerList";
|
|
3978
|
+
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
3979
|
+
if (configuration) {
|
|
3980
|
+
baseOptions = configuration.baseOptions;
|
|
3981
|
+
}
|
|
3982
|
+
localVarRequestOptions = __assign(__assign({ method: 'GET' }, baseOptions), options);
|
|
3983
|
+
localVarHeaderParameter = {};
|
|
3984
|
+
localVarQueryParameter = {};
|
|
3985
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
3986
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
3987
|
+
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
3988
|
+
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
3989
|
+
return [2 /*return*/, {
|
|
3990
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
3991
|
+
options: localVarRequestOptions,
|
|
3992
|
+
}];
|
|
3993
|
+
});
|
|
3994
|
+
});
|
|
3995
|
+
},
|
|
3996
|
+
};
|
|
3997
|
+
};
|
|
3998
|
+
exports.BillingApiAxiosParamCreator = BillingApiAxiosParamCreator;
|
|
3999
|
+
/**
|
|
4000
|
+
* BillingApi - functional programming interface
|
|
4001
|
+
*/
|
|
4002
|
+
var BillingApiFp = function (configuration) {
|
|
4003
|
+
var localVarAxiosParamCreator = (0, exports.BillingApiAxiosParamCreator)(configuration);
|
|
4004
|
+
return {
|
|
4005
|
+
/**
|
|
4006
|
+
* Get Billing Customers
|
|
4007
|
+
* @summary Get Billing Customers
|
|
4008
|
+
* @param {*} [options] Override http request option.
|
|
4009
|
+
* @throws {RequiredError}
|
|
4010
|
+
*/
|
|
4011
|
+
getGetAllCustomer: function (options) {
|
|
4012
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
4013
|
+
var localVarAxiosArgs, localVarOperationServerIndex, localVarOperationServerBasePath;
|
|
4014
|
+
var _a, _b, _c;
|
|
4015
|
+
return __generator(this, function (_d) {
|
|
4016
|
+
switch (_d.label) {
|
|
4017
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.getGetAllCustomer(options)];
|
|
4018
|
+
case 1:
|
|
4019
|
+
localVarAxiosArgs = _d.sent();
|
|
4020
|
+
localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
4021
|
+
localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['BillingApi.getGetAllCustomer']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
4022
|
+
return [2 /*return*/, function (axios, basePath) { return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath); }];
|
|
4023
|
+
}
|
|
4024
|
+
});
|
|
4025
|
+
});
|
|
4026
|
+
},
|
|
4027
|
+
};
|
|
4028
|
+
};
|
|
4029
|
+
exports.BillingApiFp = BillingApiFp;
|
|
4030
|
+
/**
|
|
4031
|
+
* BillingApi - factory interface
|
|
4032
|
+
*/
|
|
4033
|
+
var BillingApiFactory = function (configuration, basePath, axios) {
|
|
4034
|
+
var localVarFp = (0, exports.BillingApiFp)(configuration);
|
|
4035
|
+
return {
|
|
4036
|
+
/**
|
|
4037
|
+
* Get Billing Customers
|
|
4038
|
+
* @summary Get Billing Customers
|
|
4039
|
+
* @param {*} [options] Override http request option.
|
|
4040
|
+
* @throws {RequiredError}
|
|
4041
|
+
*/
|
|
4042
|
+
getGetAllCustomer: function (options) {
|
|
4043
|
+
return localVarFp.getGetAllCustomer(options).then(function (request) { return request(axios, basePath); });
|
|
4044
|
+
},
|
|
4045
|
+
};
|
|
4046
|
+
};
|
|
4047
|
+
exports.BillingApiFactory = BillingApiFactory;
|
|
4048
|
+
/**
|
|
4049
|
+
* BillingApi - object-oriented interface
|
|
4050
|
+
*/
|
|
4051
|
+
var BillingApi = /** @class */ (function (_super) {
|
|
4052
|
+
__extends(BillingApi, _super);
|
|
4053
|
+
function BillingApi() {
|
|
4054
|
+
return _super !== null && _super.apply(this, arguments) || this;
|
|
4055
|
+
}
|
|
4056
|
+
/**
|
|
4057
|
+
* Get Billing Customers
|
|
4058
|
+
* @summary Get Billing Customers
|
|
4059
|
+
* @param {*} [options] Override http request option.
|
|
4060
|
+
* @throws {RequiredError}
|
|
4061
|
+
*/
|
|
4062
|
+
BillingApi.prototype.getGetAllCustomer = function (options) {
|
|
3601
4063
|
var _this = this;
|
|
3602
|
-
return (0, exports.
|
|
4064
|
+
return (0, exports.BillingApiFp)(this.configuration).getGetAllCustomer(options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
3603
4065
|
};
|
|
3604
|
-
return
|
|
4066
|
+
return BillingApi;
|
|
3605
4067
|
}(base_1.BaseAPI));
|
|
3606
|
-
exports.
|
|
3607
|
-
exports.PatchSetPortalAccessStateEnum = {
|
|
3608
|
-
Enable: 'enable',
|
|
3609
|
-
Disable: 'disable'
|
|
3610
|
-
};
|
|
3611
|
-
exports.PatchSetPrizePromoStateEnum = {
|
|
3612
|
-
Enable: 'enable',
|
|
3613
|
-
Disable: 'disable'
|
|
3614
|
-
};
|
|
4068
|
+
exports.BillingApi = BillingApi;
|
|
3615
4069
|
/**
|
|
3616
4070
|
* CRMApi - axios parameter creator
|
|
3617
4071
|
*/
|
|
@@ -3638,7 +4092,7 @@ var CRMApiAxiosParamCreator = function (configuration) {
|
|
|
3638
4092
|
// verify required parameter 'id' is not null or undefined
|
|
3639
4093
|
(0, common_1.assertParamExists)('getGetCrmActivities', 'id', id);
|
|
3640
4094
|
localVarPath = "/admin/crm/{id}/activities"
|
|
3641
|
-
.replace(
|
|
4095
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
3642
4096
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
3643
4097
|
if (configuration) {
|
|
3644
4098
|
baseOptions = configuration.baseOptions;
|
|
@@ -3715,7 +4169,7 @@ var CRMApiAxiosParamCreator = function (configuration) {
|
|
|
3715
4169
|
// verify required parameter 'id' is not null or undefined
|
|
3716
4170
|
(0, common_1.assertParamExists)('postCreateCrmNote', 'id', id);
|
|
3717
4171
|
localVarPath = "/admin/crm/{id}/activities/note"
|
|
3718
|
-
.replace(
|
|
4172
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
3719
4173
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
3720
4174
|
if (configuration) {
|
|
3721
4175
|
baseOptions = configuration.baseOptions;
|
|
@@ -3900,10 +4354,11 @@ exports.CRMApi = CRMApi;
|
|
|
3900
4354
|
exports.GetGetCrmActivitiesTypeEnum = {
|
|
3901
4355
|
Alert: 'alert',
|
|
3902
4356
|
Call: 'call',
|
|
4357
|
+
Email: 'email',
|
|
3903
4358
|
Note: 'note',
|
|
3904
4359
|
Order: 'order',
|
|
3905
4360
|
Quote: 'quote',
|
|
3906
|
-
TcxOrder: 'tcx_order'
|
|
4361
|
+
TcxOrder: 'tcx_order',
|
|
3907
4362
|
};
|
|
3908
4363
|
/**
|
|
3909
4364
|
* Class3CXApi - axios parameter creator
|
|
@@ -3951,6 +4406,40 @@ var Class3CXApiAxiosParamCreator = function (configuration) {
|
|
|
3951
4406
|
});
|
|
3952
4407
|
});
|
|
3953
4408
|
},
|
|
4409
|
+
/**
|
|
4410
|
+
* Get 3CX Expiring Keys
|
|
4411
|
+
* @summary Get 3CX Expiring Keys
|
|
4412
|
+
* @param {*} [options] Override http request option.
|
|
4413
|
+
* @throws {RequiredError}
|
|
4414
|
+
*/
|
|
4415
|
+
getGetTcxExpiringKeys: function () {
|
|
4416
|
+
var args_1 = [];
|
|
4417
|
+
for (var _i = 0; _i < arguments.length; _i++) {
|
|
4418
|
+
args_1[_i] = arguments[_i];
|
|
4419
|
+
}
|
|
4420
|
+
return __awaiter(_this, __spreadArray([], args_1, true), void 0, function (options) {
|
|
4421
|
+
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
4422
|
+
if (options === void 0) { options = {}; }
|
|
4423
|
+
return __generator(this, function (_a) {
|
|
4424
|
+
localVarPath = "/tcx/admin/keys/expiring/csv";
|
|
4425
|
+
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
4426
|
+
if (configuration) {
|
|
4427
|
+
baseOptions = configuration.baseOptions;
|
|
4428
|
+
}
|
|
4429
|
+
localVarRequestOptions = __assign(__assign({ method: 'GET' }, baseOptions), options);
|
|
4430
|
+
localVarHeaderParameter = {};
|
|
4431
|
+
localVarQueryParameter = {};
|
|
4432
|
+
localVarHeaderParameter['Accept'] = 'text/csv';
|
|
4433
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
4434
|
+
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
4435
|
+
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
4436
|
+
return [2 /*return*/, {
|
|
4437
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
4438
|
+
options: localVarRequestOptions,
|
|
4439
|
+
}];
|
|
4440
|
+
});
|
|
4441
|
+
});
|
|
4442
|
+
},
|
|
3954
4443
|
/**
|
|
3955
4444
|
* Get Bulk 3CX Licence Details
|
|
3956
4445
|
* @summary Get bulk 3CX Licence Details
|
|
@@ -4020,6 +4509,28 @@ var Class3CXApiFp = function (configuration) {
|
|
|
4020
4509
|
});
|
|
4021
4510
|
});
|
|
4022
4511
|
},
|
|
4512
|
+
/**
|
|
4513
|
+
* Get 3CX Expiring Keys
|
|
4514
|
+
* @summary Get 3CX Expiring Keys
|
|
4515
|
+
* @param {*} [options] Override http request option.
|
|
4516
|
+
* @throws {RequiredError}
|
|
4517
|
+
*/
|
|
4518
|
+
getGetTcxExpiringKeys: function (options) {
|
|
4519
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
4520
|
+
var localVarAxiosArgs, localVarOperationServerIndex, localVarOperationServerBasePath;
|
|
4521
|
+
var _a, _b, _c;
|
|
4522
|
+
return __generator(this, function (_d) {
|
|
4523
|
+
switch (_d.label) {
|
|
4524
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.getGetTcxExpiringKeys(options)];
|
|
4525
|
+
case 1:
|
|
4526
|
+
localVarAxiosArgs = _d.sent();
|
|
4527
|
+
localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
4528
|
+
localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['Class3CXApi.getGetTcxExpiringKeys']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
4529
|
+
return [2 /*return*/, function (axios, basePath) { return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath); }];
|
|
4530
|
+
}
|
|
4531
|
+
});
|
|
4532
|
+
});
|
|
4533
|
+
},
|
|
4023
4534
|
/**
|
|
4024
4535
|
* Get Bulk 3CX Licence Details
|
|
4025
4536
|
* @summary Get bulk 3CX Licence Details
|
|
@@ -4062,6 +4573,15 @@ var Class3CXApiFactory = function (configuration, basePath, axios) {
|
|
|
4062
4573
|
getGetLicenceDetails: function (key, options) {
|
|
4063
4574
|
return localVarFp.getGetLicenceDetails(key, options).then(function (request) { return request(axios, basePath); });
|
|
4064
4575
|
},
|
|
4576
|
+
/**
|
|
4577
|
+
* Get 3CX Expiring Keys
|
|
4578
|
+
* @summary Get 3CX Expiring Keys
|
|
4579
|
+
* @param {*} [options] Override http request option.
|
|
4580
|
+
* @throws {RequiredError}
|
|
4581
|
+
*/
|
|
4582
|
+
getGetTcxExpiringKeys: function (options) {
|
|
4583
|
+
return localVarFp.getGetTcxExpiringKeys(options).then(function (request) { return request(axios, basePath); });
|
|
4584
|
+
},
|
|
4065
4585
|
/**
|
|
4066
4586
|
* Get Bulk 3CX Licence Details
|
|
4067
4587
|
* @summary Get bulk 3CX Licence Details
|
|
@@ -4094,6 +4614,16 @@ var Class3CXApi = /** @class */ (function (_super) {
|
|
|
4094
4614
|
var _this = this;
|
|
4095
4615
|
return (0, exports.Class3CXApiFp)(this.configuration).getGetLicenceDetails(key, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
4096
4616
|
};
|
|
4617
|
+
/**
|
|
4618
|
+
* Get 3CX Expiring Keys
|
|
4619
|
+
* @summary Get 3CX Expiring Keys
|
|
4620
|
+
* @param {*} [options] Override http request option.
|
|
4621
|
+
* @throws {RequiredError}
|
|
4622
|
+
*/
|
|
4623
|
+
Class3CXApi.prototype.getGetTcxExpiringKeys = function (options) {
|
|
4624
|
+
var _this = this;
|
|
4625
|
+
return (0, exports.Class3CXApiFp)(this.configuration).getGetTcxExpiringKeys(options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
4626
|
+
};
|
|
4097
4627
|
/**
|
|
4098
4628
|
* Get Bulk 3CX Licence Details
|
|
4099
4629
|
* @summary Get bulk 3CX Licence Details
|
|
@@ -4378,7 +4908,7 @@ var Class3CXInstallationWizardApiAxiosParamCreator = function (configuration) {
|
|
|
4378
4908
|
// verify required parameter 'id' is not null or undefined
|
|
4379
4909
|
(0, common_1.assertParamExists)('getGetDdisTcxWizard', 'id', id);
|
|
4380
4910
|
localVarPath = "/tcx/wizards/sip/trunks/{id}/ddis"
|
|
4381
|
-
.replace(
|
|
4911
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
4382
4912
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
4383
4913
|
if (configuration) {
|
|
4384
4914
|
baseOptions = configuration.baseOptions;
|
|
@@ -4607,7 +5137,7 @@ var Class3CXInstallationWizardApiAxiosParamCreator = function (configuration) {
|
|
|
4607
5137
|
// verify required parameter 'id' is not null or undefined
|
|
4608
5138
|
(0, common_1.assertParamExists)('getGetSipTrunkTcxWizard', 'id', id);
|
|
4609
5139
|
localVarPath = "/tcx/wizards/sip/trunks/{id}"
|
|
4610
|
-
.replace(
|
|
5140
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
4611
5141
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
4612
5142
|
if (configuration) {
|
|
4613
5143
|
baseOptions = configuration.baseOptions;
|
|
@@ -5245,7 +5775,7 @@ var Class3CXInstallationWizardApiAxiosParamCreator = function (configuration) {
|
|
|
5245
5775
|
// verify required parameter 'id' is not null or undefined
|
|
5246
5776
|
(0, common_1.assertParamExists)('postGetDdisTcxWizard', 'id', id);
|
|
5247
5777
|
localVarPath = "/tcx/wizards/sip/trunks/{id}/ddis"
|
|
5248
|
-
.replace(
|
|
5778
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
5249
5779
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
5250
5780
|
if (configuration) {
|
|
5251
5781
|
baseOptions = configuration.baseOptions;
|
|
@@ -6984,7 +7514,7 @@ var Class3CXInstallationsApiAxiosParamCreator = function (configuration) {
|
|
|
6984
7514
|
// verify required parameter 'wizardId' is not null or undefined
|
|
6985
7515
|
(0, common_1.assertParamExists)('getGetDetails', 'wizardId', wizardId);
|
|
6986
7516
|
localVarPath = "/tcx/installations/{wizard_id}/details"
|
|
6987
|
-
.replace(
|
|
7517
|
+
.replace('{wizard_id}', encodeURIComponent(String(wizardId)));
|
|
6988
7518
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
6989
7519
|
if (configuration) {
|
|
6990
7520
|
baseOptions = configuration.baseOptions;
|
|
@@ -7065,6 +7595,44 @@ var Class3CXInstallationsApiAxiosParamCreator = function (configuration) {
|
|
|
7065
7595
|
});
|
|
7066
7596
|
});
|
|
7067
7597
|
},
|
|
7598
|
+
/**
|
|
7599
|
+
* Get Recording Backup Storage
|
|
7600
|
+
* @summary Get Recording Backup Storage
|
|
7601
|
+
* @param {string} instanceId Instance ID
|
|
7602
|
+
* @param {*} [options] Override http request option.
|
|
7603
|
+
* @throws {RequiredError}
|
|
7604
|
+
*/
|
|
7605
|
+
getGetRecordingBackupStorage: function (instanceId_1) {
|
|
7606
|
+
var args_1 = [];
|
|
7607
|
+
for (var _i = 1; _i < arguments.length; _i++) {
|
|
7608
|
+
args_1[_i - 1] = arguments[_i];
|
|
7609
|
+
}
|
|
7610
|
+
return __awaiter(_this, __spreadArray([instanceId_1], args_1, true), void 0, function (instanceId, options) {
|
|
7611
|
+
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
7612
|
+
if (options === void 0) { options = {}; }
|
|
7613
|
+
return __generator(this, function (_a) {
|
|
7614
|
+
// verify required parameter 'instanceId' is not null or undefined
|
|
7615
|
+
(0, common_1.assertParamExists)('getGetRecordingBackupStorage', 'instanceId', instanceId);
|
|
7616
|
+
localVarPath = "/tcx/installations/{instance_id}/recordings/backup"
|
|
7617
|
+
.replace('{instance_id}', encodeURIComponent(String(instanceId)));
|
|
7618
|
+
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
7619
|
+
if (configuration) {
|
|
7620
|
+
baseOptions = configuration.baseOptions;
|
|
7621
|
+
}
|
|
7622
|
+
localVarRequestOptions = __assign(__assign({ method: 'GET' }, baseOptions), options);
|
|
7623
|
+
localVarHeaderParameter = {};
|
|
7624
|
+
localVarQueryParameter = {};
|
|
7625
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
7626
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
7627
|
+
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
7628
|
+
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
7629
|
+
return [2 /*return*/, {
|
|
7630
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
7631
|
+
options: localVarRequestOptions,
|
|
7632
|
+
}];
|
|
7633
|
+
});
|
|
7634
|
+
});
|
|
7635
|
+
},
|
|
7068
7636
|
/**
|
|
7069
7637
|
* Change instance owner
|
|
7070
7638
|
* @summary Change instance owner
|
|
@@ -7087,7 +7655,7 @@ var Class3CXInstallationsApiAxiosParamCreator = function (configuration) {
|
|
|
7087
7655
|
// verify required parameter 'customerId' is not null or undefined
|
|
7088
7656
|
(0, common_1.assertParamExists)('patchChangeInstanceOwner', 'customerId', customerId);
|
|
7089
7657
|
localVarPath = "/tcx/installations/{instance_id}/owner"
|
|
7090
|
-
.replace(
|
|
7658
|
+
.replace('{instance_id}', encodeURIComponent(String(instanceId)));
|
|
7091
7659
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
7092
7660
|
if (configuration) {
|
|
7093
7661
|
baseOptions = configuration.baseOptions;
|
|
@@ -7130,7 +7698,7 @@ var Class3CXInstallationsApiAxiosParamCreator = function (configuration) {
|
|
|
7130
7698
|
// verify required parameter 'enable' is not null or undefined
|
|
7131
7699
|
(0, common_1.assertParamExists)('patchUpdateAutoFailover', 'enable', enable);
|
|
7132
7700
|
localVarPath = "/tcx/installations/{instance_id}/failover/auto"
|
|
7133
|
-
.replace(
|
|
7701
|
+
.replace('{instance_id}', encodeURIComponent(String(instanceId)));
|
|
7134
7702
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
7135
7703
|
if (configuration) {
|
|
7136
7704
|
baseOptions = configuration.baseOptions;
|
|
@@ -7173,7 +7741,7 @@ var Class3CXInstallationsApiAxiosParamCreator = function (configuration) {
|
|
|
7173
7741
|
// verify required parameter 'gigabytes' is not null or undefined
|
|
7174
7742
|
(0, common_1.assertParamExists)('postAddDisk', 'gigabytes', gigabytes);
|
|
7175
7743
|
localVarPath = "/tcx/installations/{instance_id}/disk"
|
|
7176
|
-
.replace(
|
|
7744
|
+
.replace('{instance_id}', encodeURIComponent(String(instanceId)));
|
|
7177
7745
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
7178
7746
|
if (configuration) {
|
|
7179
7747
|
baseOptions = configuration.baseOptions;
|
|
@@ -7219,7 +7787,7 @@ var Class3CXInstallationsApiAxiosParamCreator = function (configuration) {
|
|
|
7219
7787
|
// verify required parameter 'ipAddress' is not null or undefined
|
|
7220
7788
|
(0, common_1.assertParamExists)('postCreateSshUser', 'ipAddress', ipAddress);
|
|
7221
7789
|
localVarPath = "/tcx/installations/{instance_id}/create/user/root"
|
|
7222
|
-
.replace(
|
|
7790
|
+
.replace('{instance_id}', encodeURIComponent(String(instanceId)));
|
|
7223
7791
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
7224
7792
|
if (configuration) {
|
|
7225
7793
|
baseOptions = configuration.baseOptions;
|
|
@@ -7263,7 +7831,7 @@ var Class3CXInstallationsApiAxiosParamCreator = function (configuration) {
|
|
|
7263
7831
|
// verify required parameter 'instanceId' is not null or undefined
|
|
7264
7832
|
(0, common_1.assertParamExists)('postDeleteInstance', 'instanceId', instanceId);
|
|
7265
7833
|
localVarPath = "/tcx/installations/{instance_id}/delete"
|
|
7266
|
-
.replace(
|
|
7834
|
+
.replace('{instance_id}', encodeURIComponent(String(instanceId)));
|
|
7267
7835
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
7268
7836
|
if (configuration) {
|
|
7269
7837
|
baseOptions = configuration.baseOptions;
|
|
@@ -7304,7 +7872,7 @@ var Class3CXInstallationsApiAxiosParamCreator = function (configuration) {
|
|
|
7304
7872
|
// verify required parameter 'gigabytes' is not null or undefined
|
|
7305
7873
|
(0, common_1.assertParamExists)('postExtendDisk', 'gigabytes', gigabytes);
|
|
7306
7874
|
localVarPath = "/tcx/installations/{instance_id}/disk/extend"
|
|
7307
|
-
.replace(
|
|
7875
|
+
.replace('{instance_id}', encodeURIComponent(String(instanceId)));
|
|
7308
7876
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
7309
7877
|
if (configuration) {
|
|
7310
7878
|
baseOptions = configuration.baseOptions;
|
|
@@ -7350,7 +7918,7 @@ var Class3CXInstallationsApiAxiosParamCreator = function (configuration) {
|
|
|
7350
7918
|
// verify required parameter 'type' is not null or undefined
|
|
7351
7919
|
(0, common_1.assertParamExists)('postFailoverInstance', 'type', type);
|
|
7352
7920
|
localVarPath = "/tcx/installations/{instance_id}/failover"
|
|
7353
|
-
.replace(
|
|
7921
|
+
.replace('{instance_id}', encodeURIComponent(String(instanceId)));
|
|
7354
7922
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
7355
7923
|
if (configuration) {
|
|
7356
7924
|
baseOptions = configuration.baseOptions;
|
|
@@ -7390,7 +7958,7 @@ var Class3CXInstallationsApiAxiosParamCreator = function (configuration) {
|
|
|
7390
7958
|
// verify required parameter 'sbcId' is not null or undefined
|
|
7391
7959
|
(0, common_1.assertParamExists)('postInstallTcxSbc', 'sbcId', sbcId);
|
|
7392
7960
|
localVarPath = "/tcx/installations/sbcs/{sbc_id}/install"
|
|
7393
|
-
.replace(
|
|
7961
|
+
.replace('{sbc_id}', encodeURIComponent(String(sbcId)));
|
|
7394
7962
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
7395
7963
|
if (configuration) {
|
|
7396
7964
|
baseOptions = configuration.baseOptions;
|
|
@@ -7428,7 +7996,7 @@ var Class3CXInstallationsApiAxiosParamCreator = function (configuration) {
|
|
|
7428
7996
|
// verify required parameter 'instanceId' is not null or undefined
|
|
7429
7997
|
(0, common_1.assertParamExists)('postRebootInstance', 'instanceId', instanceId);
|
|
7430
7998
|
localVarPath = "/tcx/installations/{instance_id}/reboot"
|
|
7431
|
-
.replace(
|
|
7999
|
+
.replace('{instance_id}', encodeURIComponent(String(instanceId)));
|
|
7432
8000
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
7433
8001
|
if (configuration) {
|
|
7434
8002
|
baseOptions = configuration.baseOptions;
|
|
@@ -7469,7 +8037,7 @@ var Class3CXInstallationsApiAxiosParamCreator = function (configuration) {
|
|
|
7469
8037
|
// verify required parameter 'size' is not null or undefined
|
|
7470
8038
|
(0, common_1.assertParamExists)('postResizeInstance', 'size', size);
|
|
7471
8039
|
localVarPath = "/tcx/installations/{instance_id}/resize"
|
|
7472
|
-
.replace(
|
|
8040
|
+
.replace('{instance_id}', encodeURIComponent(String(instanceId)));
|
|
7473
8041
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
7474
8042
|
if (configuration) {
|
|
7475
8043
|
baseOptions = configuration.baseOptions;
|
|
@@ -7513,7 +8081,7 @@ var Class3CXInstallationsApiAxiosParamCreator = function (configuration) {
|
|
|
7513
8081
|
// verify required parameter 'instanceId' is not null or undefined
|
|
7514
8082
|
(0, common_1.assertParamExists)('postRestartServices', 'instanceId', instanceId);
|
|
7515
8083
|
localVarPath = "/tcx/installations/{instance_id}/services/restart"
|
|
7516
|
-
.replace(
|
|
8084
|
+
.replace('{instance_id}', encodeURIComponent(String(instanceId)));
|
|
7517
8085
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
7518
8086
|
if (configuration) {
|
|
7519
8087
|
baseOptions = configuration.baseOptions;
|
|
@@ -7554,7 +8122,7 @@ var Class3CXInstallationsApiAxiosParamCreator = function (configuration) {
|
|
|
7554
8122
|
// verify required parameter 'instanceId' is not null or undefined
|
|
7555
8123
|
(0, common_1.assertParamExists)('postScheduledReboot', 'instanceId', instanceId);
|
|
7556
8124
|
localVarPath = "/tcx/installations/{instance_id}/reboot/scheduled"
|
|
7557
|
-
.replace(
|
|
8125
|
+
.replace('{instance_id}', encodeURIComponent(String(instanceId)));
|
|
7558
8126
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
7559
8127
|
if (configuration) {
|
|
7560
8128
|
baseOptions = configuration.baseOptions;
|
|
@@ -7595,7 +8163,7 @@ var Class3CXInstallationsApiAxiosParamCreator = function (configuration) {
|
|
|
7595
8163
|
// verify required parameter 'instanceId' is not null or undefined
|
|
7596
8164
|
(0, common_1.assertParamExists)('postSuspendInstance', 'instanceId', instanceId);
|
|
7597
8165
|
localVarPath = "/tcx/installations/{instance_id}/suspend"
|
|
7598
|
-
.replace(
|
|
8166
|
+
.replace('{instance_id}', encodeURIComponent(String(instanceId)));
|
|
7599
8167
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
7600
8168
|
if (configuration) {
|
|
7601
8169
|
baseOptions = configuration.baseOptions;
|
|
@@ -7635,7 +8203,7 @@ var Class3CXInstallationsApiAxiosParamCreator = function (configuration) {
|
|
|
7635
8203
|
// verify required parameter 'instanceId' is not null or undefined
|
|
7636
8204
|
(0, common_1.assertParamExists)('postTestLoginCredentials', 'instanceId', instanceId);
|
|
7637
8205
|
localVarPath = "/tcx/installations/{instance_id}/tests/login"
|
|
7638
|
-
.replace(
|
|
8206
|
+
.replace('{instance_id}', encodeURIComponent(String(instanceId)));
|
|
7639
8207
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
7640
8208
|
if (configuration) {
|
|
7641
8209
|
baseOptions = configuration.baseOptions;
|
|
@@ -7672,7 +8240,7 @@ var Class3CXInstallationsApiAxiosParamCreator = function (configuration) {
|
|
|
7672
8240
|
// verify required parameter 'instanceId' is not null or undefined
|
|
7673
8241
|
(0, common_1.assertParamExists)('postUnsuspendInstance', 'instanceId', instanceId);
|
|
7674
8242
|
localVarPath = "/tcx/installations/{instance_id}/unsuspend"
|
|
7675
|
-
.replace(
|
|
8243
|
+
.replace('{instance_id}', encodeURIComponent(String(instanceId)));
|
|
7676
8244
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
7677
8245
|
if (configuration) {
|
|
7678
8246
|
baseOptions = configuration.baseOptions;
|
|
@@ -7712,7 +8280,7 @@ var Class3CXInstallationsApiAxiosParamCreator = function (configuration) {
|
|
|
7712
8280
|
// verify required parameter 'schedule' is not null or undefined
|
|
7713
8281
|
(0, common_1.assertParamExists)('postUpgradeDebian', 'schedule', schedule);
|
|
7714
8282
|
localVarPath = "/tcx/installations/{instance_id}/debian/upgrade"
|
|
7715
|
-
.replace(
|
|
8283
|
+
.replace('{instance_id}', encodeURIComponent(String(instanceId)));
|
|
7716
8284
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
7717
8285
|
if (configuration) {
|
|
7718
8286
|
baseOptions = configuration.baseOptions;
|
|
@@ -7753,7 +8321,7 @@ var Class3CXInstallationsApiAxiosParamCreator = function (configuration) {
|
|
|
7753
8321
|
// verify required parameter 'wizardId' is not null or undefined
|
|
7754
8322
|
(0, common_1.assertParamExists)('putGetDetails', 'wizardId', wizardId);
|
|
7755
8323
|
localVarPath = "/tcx/installations/{wizard_id}/details"
|
|
7756
|
-
.replace(
|
|
8324
|
+
.replace('{wizard_id}', encodeURIComponent(String(wizardId)));
|
|
7757
8325
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
7758
8326
|
if (configuration) {
|
|
7759
8327
|
baseOptions = configuration.baseOptions;
|
|
@@ -7835,6 +8403,29 @@ var Class3CXInstallationsApiFp = function (configuration) {
|
|
|
7835
8403
|
});
|
|
7836
8404
|
});
|
|
7837
8405
|
},
|
|
8406
|
+
/**
|
|
8407
|
+
* Get Recording Backup Storage
|
|
8408
|
+
* @summary Get Recording Backup Storage
|
|
8409
|
+
* @param {string} instanceId Instance ID
|
|
8410
|
+
* @param {*} [options] Override http request option.
|
|
8411
|
+
* @throws {RequiredError}
|
|
8412
|
+
*/
|
|
8413
|
+
getGetRecordingBackupStorage: function (instanceId, options) {
|
|
8414
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
8415
|
+
var localVarAxiosArgs, localVarOperationServerIndex, localVarOperationServerBasePath;
|
|
8416
|
+
var _a, _b, _c;
|
|
8417
|
+
return __generator(this, function (_d) {
|
|
8418
|
+
switch (_d.label) {
|
|
8419
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.getGetRecordingBackupStorage(instanceId, options)];
|
|
8420
|
+
case 1:
|
|
8421
|
+
localVarAxiosArgs = _d.sent();
|
|
8422
|
+
localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
8423
|
+
localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['Class3CXInstallationsApi.getGetRecordingBackupStorage']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
8424
|
+
return [2 /*return*/, function (axios, basePath) { return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath); }];
|
|
8425
|
+
}
|
|
8426
|
+
});
|
|
8427
|
+
});
|
|
8428
|
+
},
|
|
7838
8429
|
/**
|
|
7839
8430
|
* Change instance owner
|
|
7840
8431
|
* @summary Change instance owner
|
|
@@ -8276,6 +8867,16 @@ var Class3CXInstallationsApiFactory = function (configuration, basePath, axios)
|
|
|
8276
8867
|
getGetInstallations: function (pageSize, page, customerId, search, status, hosting, installType, options) {
|
|
8277
8868
|
return localVarFp.getGetInstallations(pageSize, page, customerId, search, status, hosting, installType, options).then(function (request) { return request(axios, basePath); });
|
|
8278
8869
|
},
|
|
8870
|
+
/**
|
|
8871
|
+
* Get Recording Backup Storage
|
|
8872
|
+
* @summary Get Recording Backup Storage
|
|
8873
|
+
* @param {string} instanceId Instance ID
|
|
8874
|
+
* @param {*} [options] Override http request option.
|
|
8875
|
+
* @throws {RequiredError}
|
|
8876
|
+
*/
|
|
8877
|
+
getGetRecordingBackupStorage: function (instanceId, options) {
|
|
8878
|
+
return localVarFp.getGetRecordingBackupStorage(instanceId, options).then(function (request) { return request(axios, basePath); });
|
|
8879
|
+
},
|
|
8279
8880
|
/**
|
|
8280
8881
|
* Change instance owner
|
|
8281
8882
|
* @summary Change instance owner
|
|
@@ -8500,6 +9101,17 @@ var Class3CXInstallationsApi = /** @class */ (function (_super) {
|
|
|
8500
9101
|
var _this = this;
|
|
8501
9102
|
return (0, exports.Class3CXInstallationsApiFp)(this.configuration).getGetInstallations(pageSize, page, customerId, search, status, hosting, installType, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
8502
9103
|
};
|
|
9104
|
+
/**
|
|
9105
|
+
* Get Recording Backup Storage
|
|
9106
|
+
* @summary Get Recording Backup Storage
|
|
9107
|
+
* @param {string} instanceId Instance ID
|
|
9108
|
+
* @param {*} [options] Override http request option.
|
|
9109
|
+
* @throws {RequiredError}
|
|
9110
|
+
*/
|
|
9111
|
+
Class3CXInstallationsApi.prototype.getGetRecordingBackupStorage = function (instanceId, options) {
|
|
9112
|
+
var _this = this;
|
|
9113
|
+
return (0, exports.Class3CXInstallationsApiFp)(this.configuration).getGetRecordingBackupStorage(instanceId, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
9114
|
+
};
|
|
8503
9115
|
/**
|
|
8504
9116
|
* Change instance owner
|
|
8505
9117
|
* @summary Change instance owner
|
|
@@ -8709,30 +9321,30 @@ exports.GetGetInstallationsStatusEnum = {
|
|
|
8709
9321
|
Completed: 'Completed',
|
|
8710
9322
|
Outstanding: 'Outstanding',
|
|
8711
9323
|
Offline: 'Offline',
|
|
8712
|
-
FailedOver: 'Failed Over'
|
|
9324
|
+
FailedOver: 'Failed Over',
|
|
8713
9325
|
};
|
|
8714
9326
|
exports.GetGetInstallationsHostingEnum = {
|
|
8715
9327
|
Yellowgrid: 'yellowgrid',
|
|
8716
9328
|
MultiTenant: 'multi-tenant',
|
|
8717
9329
|
Onprem: 'onprem',
|
|
8718
|
-
All: 'all'
|
|
9330
|
+
All: 'all',
|
|
8719
9331
|
};
|
|
8720
9332
|
exports.GetGetInstallationsInstallTypeEnum = {
|
|
8721
9333
|
New: 'new',
|
|
8722
9334
|
Restore: 'restore',
|
|
8723
9335
|
Failover: 'failover',
|
|
8724
|
-
MultiTenant: 'multi-tenant'
|
|
9336
|
+
MultiTenant: 'multi-tenant',
|
|
8725
9337
|
};
|
|
8726
9338
|
exports.PostFailoverInstanceTypeEnum = {
|
|
8727
9339
|
Config: 'config',
|
|
8728
|
-
Image: 'image'
|
|
9340
|
+
Image: 'image',
|
|
8729
9341
|
};
|
|
8730
9342
|
exports.PostResizeInstanceSizeEnum = {
|
|
8731
9343
|
D24: 'd2-4',
|
|
8732
9344
|
D28: 'd2-8',
|
|
8733
9345
|
B230: 'b2-30',
|
|
8734
9346
|
S2vcpu4gb: 's-2vcpu-4gb',
|
|
8735
|
-
S4vcpu8gb: 's-4vcpu-8gb'
|
|
9347
|
+
S4vcpu8gb: 's-4vcpu-8gb',
|
|
8736
9348
|
};
|
|
8737
9349
|
/**
|
|
8738
9350
|
* Class3CXIntegrationsApi - axios parameter creator
|
|
@@ -8887,8 +9499,8 @@ var Class3CXIntegrationsApiAxiosParamCreator = function (configuration) {
|
|
|
8887
9499
|
// verify required parameter 'ref' is not null or undefined
|
|
8888
9500
|
(0, common_1.assertParamExists)('patchUpdateEtpOrderReference', 'ref', ref);
|
|
8889
9501
|
localVarPath = "/tcx/integrations/edtechpro/{clientId}/schools/{schoolId}/orderReference"
|
|
8890
|
-
.replace(
|
|
8891
|
-
.replace(
|
|
9502
|
+
.replace('{clientId}', encodeURIComponent(String(clientId)))
|
|
9503
|
+
.replace('{schoolId}', encodeURIComponent(String(schoolId)));
|
|
8892
9504
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
8893
9505
|
if (configuration) {
|
|
8894
9506
|
baseOptions = configuration.baseOptions;
|
|
@@ -9273,11 +9885,11 @@ var Class3CXIntegrationsApi = /** @class */ (function (_super) {
|
|
|
9273
9885
|
exports.Class3CXIntegrationsApi = Class3CXIntegrationsApi;
|
|
9274
9886
|
exports.GetGetPriceLicenceTypeEnum = {
|
|
9275
9887
|
Lite: 'lite',
|
|
9276
|
-
Pro: 'pro'
|
|
9888
|
+
Pro: 'pro',
|
|
9277
9889
|
};
|
|
9278
9890
|
exports.GetGetPriceSchoolTypeEnum = {
|
|
9279
9891
|
Primary: 'primary',
|
|
9280
|
-
Secondary: 'secondary'
|
|
9892
|
+
Secondary: 'secondary',
|
|
9281
9893
|
};
|
|
9282
9894
|
/**
|
|
9283
9895
|
* Class3CXMultiTenantApi - axios parameter creator
|
|
@@ -9304,7 +9916,7 @@ var Class3CXMultiTenantApiAxiosParamCreator = function (configuration) {
|
|
|
9304
9916
|
// verify required parameter 'reference' is not null or undefined
|
|
9305
9917
|
(0, common_1.assertParamExists)('deleteGetTenant', 'reference', reference);
|
|
9306
9918
|
localVarPath = "/tcx/mt/tenants/{reference}"
|
|
9307
|
-
.replace(
|
|
9919
|
+
.replace('{reference}', encodeURIComponent(String(reference)));
|
|
9308
9920
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
9309
9921
|
if (configuration) {
|
|
9310
9922
|
baseOptions = configuration.baseOptions;
|
|
@@ -9381,7 +9993,7 @@ var Class3CXMultiTenantApiAxiosParamCreator = function (configuration) {
|
|
|
9381
9993
|
// verify required parameter 'reference' is not null or undefined
|
|
9382
9994
|
(0, common_1.assertParamExists)('getGetTenant', 'reference', reference);
|
|
9383
9995
|
localVarPath = "/tcx/mt/tenants/{reference}"
|
|
9384
|
-
.replace(
|
|
9996
|
+
.replace('{reference}', encodeURIComponent(String(reference)));
|
|
9385
9997
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
9386
9998
|
if (configuration) {
|
|
9387
9999
|
baseOptions = configuration.baseOptions;
|
|
@@ -9998,7 +10610,7 @@ exports.GetGetTenantsStatusEnum = {
|
|
|
9998
10610
|
Completed: 'Completed',
|
|
9999
10611
|
Outstanding: 'Outstanding',
|
|
10000
10612
|
Offline: 'Offline',
|
|
10001
|
-
FailedOver: 'Failed Over'
|
|
10613
|
+
FailedOver: 'Failed Over',
|
|
10002
10614
|
};
|
|
10003
10615
|
/**
|
|
10004
10616
|
* MyPBXToolsApi - axios parameter creator
|
|
@@ -10155,7 +10767,7 @@ var NumberPortingApiAxiosParamCreator = function (configuration) {
|
|
|
10155
10767
|
// verify required parameter 'id' is not null or undefined
|
|
10156
10768
|
(0, common_1.assertParamExists)('deleteGetAdminNumberPort', 'id', id);
|
|
10157
10769
|
localVarPath = "/admin/sip/numbers/ports/{id}"
|
|
10158
|
-
.replace(
|
|
10770
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
10159
10771
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
10160
10772
|
if (configuration) {
|
|
10161
10773
|
baseOptions = configuration.baseOptions;
|
|
@@ -10236,7 +10848,7 @@ var NumberPortingApiAxiosParamCreator = function (configuration) {
|
|
|
10236
10848
|
// verify required parameter 'id' is not null or undefined
|
|
10237
10849
|
(0, common_1.assertParamExists)('getGetAdminNumberPort', 'id', id);
|
|
10238
10850
|
localVarPath = "/admin/sip/numbers/ports/{id}"
|
|
10239
|
-
.replace(
|
|
10851
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
10240
10852
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
10241
10853
|
if (configuration) {
|
|
10242
10854
|
baseOptions = configuration.baseOptions;
|
|
@@ -10318,7 +10930,7 @@ var NumberPortingApiAxiosParamCreator = function (configuration) {
|
|
|
10318
10930
|
// verify required parameter 'id' is not null or undefined
|
|
10319
10931
|
(0, common_1.assertParamExists)('getUpdateNumberPort', 'id', id);
|
|
10320
10932
|
localVarPath = "/sip/numbers/ports/{id}"
|
|
10321
|
-
.replace(
|
|
10933
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
10322
10934
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
10323
10935
|
if (configuration) {
|
|
10324
10936
|
baseOptions = configuration.baseOptions;
|
|
@@ -10355,7 +10967,7 @@ var NumberPortingApiAxiosParamCreator = function (configuration) {
|
|
|
10355
10967
|
// verify required parameter 'id' is not null or undefined
|
|
10356
10968
|
(0, common_1.assertParamExists)('patchCancelAdminNumberPort', 'id', id);
|
|
10357
10969
|
localVarPath = "/admin/sip/numbers/ports/{id}/cancel"
|
|
10358
|
-
.replace(
|
|
10970
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
10359
10971
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
10360
10972
|
if (configuration) {
|
|
10361
10973
|
baseOptions = configuration.baseOptions;
|
|
@@ -10392,7 +11004,7 @@ var NumberPortingApiAxiosParamCreator = function (configuration) {
|
|
|
10392
11004
|
// verify required parameter 'id' is not null or undefined
|
|
10393
11005
|
(0, common_1.assertParamExists)('patchCloseAdminNumberPort', 'id', id);
|
|
10394
11006
|
localVarPath = "/admin/sip/numbers/ports/{id}/close"
|
|
10395
|
-
.replace(
|
|
11007
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
10396
11008
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
10397
11009
|
if (configuration) {
|
|
10398
11010
|
baseOptions = configuration.baseOptions;
|
|
@@ -10432,7 +11044,7 @@ var NumberPortingApiAxiosParamCreator = function (configuration) {
|
|
|
10432
11044
|
// verify required parameter 'numberPortAdminNoteBody' is not null or undefined
|
|
10433
11045
|
(0, common_1.assertParamExists)('postAddAdminNote', 'numberPortAdminNoteBody', numberPortAdminNoteBody);
|
|
10434
11046
|
localVarPath = "/admin/sip/numbers/ports/{id}/notes"
|
|
10435
|
-
.replace(
|
|
11047
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
10436
11048
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
10437
11049
|
if (configuration) {
|
|
10438
11050
|
baseOptions = configuration.baseOptions;
|
|
@@ -10567,7 +11179,7 @@ var NumberPortingApiAxiosParamCreator = function (configuration) {
|
|
|
10567
11179
|
// verify required parameter 'id' is not null or undefined
|
|
10568
11180
|
(0, common_1.assertParamExists)('postSubmitNumberPort', 'id', id);
|
|
10569
11181
|
localVarPath = "/sip/numbers/ports/{id}/submit"
|
|
10570
|
-
.replace(
|
|
11182
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
10571
11183
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
10572
11184
|
if (configuration) {
|
|
10573
11185
|
baseOptions = configuration.baseOptions;
|
|
@@ -10655,7 +11267,7 @@ var NumberPortingApiAxiosParamCreator = function (configuration) {
|
|
|
10655
11267
|
// verify required parameter 'id' is not null or undefined
|
|
10656
11268
|
(0, common_1.assertParamExists)('postUpdateNumberPort', 'id', id);
|
|
10657
11269
|
localVarPath = "/sip/numbers/ports/{id}"
|
|
10658
|
-
.replace(
|
|
11270
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
10659
11271
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
10660
11272
|
if (configuration) {
|
|
10661
11273
|
baseOptions = configuration.baseOptions;
|
|
@@ -10734,7 +11346,7 @@ var NumberPortingApiAxiosParamCreator = function (configuration) {
|
|
|
10734
11346
|
// verify required parameter 'numberPortDTO' is not null or undefined
|
|
10735
11347
|
(0, common_1.assertParamExists)('putGetAdminNumberPort', 'numberPortDTO', numberPortDTO);
|
|
10736
11348
|
localVarPath = "/admin/sip/numbers/ports/{id}"
|
|
10737
|
-
.replace(
|
|
11349
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
10738
11350
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
10739
11351
|
if (configuration) {
|
|
10740
11352
|
baseOptions = configuration.baseOptions;
|
|
@@ -11662,6 +12274,38 @@ var OAuth20ApiAxiosParamCreator = function (configuration) {
|
|
|
11662
12274
|
});
|
|
11663
12275
|
});
|
|
11664
12276
|
},
|
|
12277
|
+
/**
|
|
12278
|
+
* Remove Oauth 2.0 Cookies
|
|
12279
|
+
* @param {*} [options] Override http request option.
|
|
12280
|
+
* @throws {RequiredError}
|
|
12281
|
+
*/
|
|
12282
|
+
postLogout: function () {
|
|
12283
|
+
var args_1 = [];
|
|
12284
|
+
for (var _i = 0; _i < arguments.length; _i++) {
|
|
12285
|
+
args_1[_i] = arguments[_i];
|
|
12286
|
+
}
|
|
12287
|
+
return __awaiter(_this, __spreadArray([], args_1, true), void 0, function (options) {
|
|
12288
|
+
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
12289
|
+
if (options === void 0) { options = {}; }
|
|
12290
|
+
return __generator(this, function (_a) {
|
|
12291
|
+
localVarPath = "/oauth2/logout";
|
|
12292
|
+
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
12293
|
+
if (configuration) {
|
|
12294
|
+
baseOptions = configuration.baseOptions;
|
|
12295
|
+
}
|
|
12296
|
+
localVarRequestOptions = __assign(__assign({ method: 'POST' }, baseOptions), options);
|
|
12297
|
+
localVarHeaderParameter = {};
|
|
12298
|
+
localVarQueryParameter = {};
|
|
12299
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
12300
|
+
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
12301
|
+
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
12302
|
+
return [2 /*return*/, {
|
|
12303
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
12304
|
+
options: localVarRequestOptions,
|
|
12305
|
+
}];
|
|
12306
|
+
});
|
|
12307
|
+
});
|
|
12308
|
+
},
|
|
11665
12309
|
/**
|
|
11666
12310
|
* Portal Login
|
|
11667
12311
|
* @summary Portal Login
|
|
@@ -11837,6 +12481,27 @@ var OAuth20ApiFp = function (configuration) {
|
|
|
11837
12481
|
});
|
|
11838
12482
|
});
|
|
11839
12483
|
},
|
|
12484
|
+
/**
|
|
12485
|
+
* Remove Oauth 2.0 Cookies
|
|
12486
|
+
* @param {*} [options] Override http request option.
|
|
12487
|
+
* @throws {RequiredError}
|
|
12488
|
+
*/
|
|
12489
|
+
postLogout: function (options) {
|
|
12490
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
12491
|
+
var localVarAxiosArgs, localVarOperationServerIndex, localVarOperationServerBasePath;
|
|
12492
|
+
var _a, _b, _c;
|
|
12493
|
+
return __generator(this, function (_d) {
|
|
12494
|
+
switch (_d.label) {
|
|
12495
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.postLogout(options)];
|
|
12496
|
+
case 1:
|
|
12497
|
+
localVarAxiosArgs = _d.sent();
|
|
12498
|
+
localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
12499
|
+
localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['OAuth20Api.postLogout']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
12500
|
+
return [2 /*return*/, function (axios, basePath) { return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath); }];
|
|
12501
|
+
}
|
|
12502
|
+
});
|
|
12503
|
+
});
|
|
12504
|
+
},
|
|
11840
12505
|
/**
|
|
11841
12506
|
* Portal Login
|
|
11842
12507
|
* @summary Portal Login
|
|
@@ -11933,6 +12598,14 @@ var OAuth20ApiFactory = function (configuration, basePath, axios) {
|
|
|
11933
12598
|
postGetIdentity: function (options) {
|
|
11934
12599
|
return localVarFp.postGetIdentity(options).then(function (request) { return request(axios, basePath); });
|
|
11935
12600
|
},
|
|
12601
|
+
/**
|
|
12602
|
+
* Remove Oauth 2.0 Cookies
|
|
12603
|
+
* @param {*} [options] Override http request option.
|
|
12604
|
+
* @throws {RequiredError}
|
|
12605
|
+
*/
|
|
12606
|
+
postLogout: function (options) {
|
|
12607
|
+
return localVarFp.postLogout(options).then(function (request) { return request(axios, basePath); });
|
|
12608
|
+
},
|
|
11936
12609
|
/**
|
|
11937
12610
|
* Portal Login
|
|
11938
12611
|
* @summary Portal Login
|
|
@@ -12023,6 +12696,15 @@ var OAuth20Api = /** @class */ (function (_super) {
|
|
|
12023
12696
|
var _this = this;
|
|
12024
12697
|
return (0, exports.OAuth20ApiFp)(this.configuration).postGetIdentity(options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
12025
12698
|
};
|
|
12699
|
+
/**
|
|
12700
|
+
* Remove Oauth 2.0 Cookies
|
|
12701
|
+
* @param {*} [options] Override http request option.
|
|
12702
|
+
* @throws {RequiredError}
|
|
12703
|
+
*/
|
|
12704
|
+
OAuth20Api.prototype.postLogout = function (options) {
|
|
12705
|
+
var _this = this;
|
|
12706
|
+
return (0, exports.OAuth20ApiFp)(this.configuration).postLogout(options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
12707
|
+
};
|
|
12026
12708
|
/**
|
|
12027
12709
|
* Portal Login
|
|
12028
12710
|
* @summary Portal Login
|
|
@@ -12044,7 +12726,7 @@ exports.PostAccessTokenGrantTypeEnum = {
|
|
|
12044
12726
|
AuthorizationCode: 'authorization_code',
|
|
12045
12727
|
MsAuth: 'ms_auth',
|
|
12046
12728
|
TokenExchange: 'token_exchange',
|
|
12047
|
-
Password: 'password'
|
|
12729
|
+
Password: 'password',
|
|
12048
12730
|
};
|
|
12049
12731
|
exports.PostAccessTokenScopeEnum = {
|
|
12050
12732
|
Star: '*',
|
|
@@ -12074,11 +12756,11 @@ exports.PostAccessTokenScopeEnum = {
|
|
|
12074
12756
|
TcxMtRead: 'tcx_mt.read',
|
|
12075
12757
|
TcxMtWrite: 'tcx_mt.write',
|
|
12076
12758
|
TicketsRead: 'tickets.read',
|
|
12077
|
-
TicketsWrite: 'tickets.write'
|
|
12759
|
+
TicketsWrite: 'tickets.write',
|
|
12078
12760
|
};
|
|
12079
12761
|
exports.PostAccessTokenTokenExchangeTypeEnum = {
|
|
12080
12762
|
TcxWizard: 'tcx_wizard',
|
|
12081
|
-
Portal: 'portal'
|
|
12763
|
+
Portal: 'portal',
|
|
12082
12764
|
};
|
|
12083
12765
|
exports.PostAuthoriseScopeEnum = {
|
|
12084
12766
|
Star: '*',
|
|
@@ -12108,7 +12790,7 @@ exports.PostAuthoriseScopeEnum = {
|
|
|
12108
12790
|
TcxMtRead: 'tcx_mt.read',
|
|
12109
12791
|
TcxMtWrite: 'tcx_mt.write',
|
|
12110
12792
|
TicketsRead: 'tickets.read',
|
|
12111
|
-
TicketsWrite: 'tickets.write'
|
|
12793
|
+
TicketsWrite: 'tickets.write',
|
|
12112
12794
|
};
|
|
12113
12795
|
/**
|
|
12114
12796
|
* OrdersApi - axios parameter creator
|
|
@@ -12137,8 +12819,8 @@ var OrdersApiAxiosParamCreator = function (configuration) {
|
|
|
12137
12819
|
// verify required parameter 'batchId' is not null or undefined
|
|
12138
12820
|
(0, common_1.assertParamExists)('deleteDeleteBatch', 'batchId', batchId);
|
|
12139
12821
|
localVarPath = "/admin/orders/{id}/batches/{batch_id}"
|
|
12140
|
-
.replace(
|
|
12141
|
-
.replace(
|
|
12822
|
+
.replace('{id}', encodeURIComponent(String(id)))
|
|
12823
|
+
.replace('{batch_id}', encodeURIComponent(String(batchId)));
|
|
12142
12824
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
12143
12825
|
if (configuration) {
|
|
12144
12826
|
baseOptions = configuration.baseOptions;
|
|
@@ -12175,7 +12857,7 @@ var OrdersApiAxiosParamCreator = function (configuration) {
|
|
|
12175
12857
|
// verify required parameter 'id' is not null or undefined
|
|
12176
12858
|
(0, common_1.assertParamExists)('deleteUpdateOrder', 'id', id);
|
|
12177
12859
|
localVarPath = "/orders/{id}"
|
|
12178
|
-
.replace(
|
|
12860
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
12179
12861
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
12180
12862
|
if (configuration) {
|
|
12181
12863
|
baseOptions = configuration.baseOptions;
|
|
@@ -12218,9 +12900,9 @@ var OrdersApiAxiosParamCreator = function (configuration) {
|
|
|
12218
12900
|
// verify required parameter 'shipmentId' is not null or undefined
|
|
12219
12901
|
(0, common_1.assertParamExists)('deleteUpdateShipment', 'shipmentId', shipmentId);
|
|
12220
12902
|
localVarPath = "/admin/orders/{id}/batches/{batch_id}/shipments/{shipment_id}"
|
|
12221
|
-
.replace(
|
|
12222
|
-
.replace(
|
|
12223
|
-
.replace(
|
|
12903
|
+
.replace('{id}', encodeURIComponent(String(id)))
|
|
12904
|
+
.replace('{batch_id}', encodeURIComponent(String(batchId)))
|
|
12905
|
+
.replace('{shipment_id}', encodeURIComponent(String(shipmentId)));
|
|
12224
12906
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
12225
12907
|
if (configuration) {
|
|
12226
12908
|
baseOptions = configuration.baseOptions;
|
|
@@ -12257,7 +12939,7 @@ var OrdersApiAxiosParamCreator = function (configuration) {
|
|
|
12257
12939
|
// verify required parameter 'id' is not null or undefined
|
|
12258
12940
|
(0, common_1.assertParamExists)('getGetAdminEditableOrder', 'id', id);
|
|
12259
12941
|
localVarPath = "/admin/orders/{id}/views/editable"
|
|
12260
|
-
.replace(
|
|
12942
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
12261
12943
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
12262
12944
|
if (configuration) {
|
|
12263
12945
|
baseOptions = configuration.baseOptions;
|
|
@@ -12295,7 +12977,7 @@ var OrdersApiAxiosParamCreator = function (configuration) {
|
|
|
12295
12977
|
// verify required parameter 'id' is not null or undefined
|
|
12296
12978
|
(0, common_1.assertParamExists)('getGetAdminOrderDetails', 'id', id);
|
|
12297
12979
|
localVarPath = "/admin/orders/{id}/details"
|
|
12298
|
-
.replace(
|
|
12980
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
12299
12981
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
12300
12982
|
if (configuration) {
|
|
12301
12983
|
baseOptions = configuration.baseOptions;
|
|
@@ -12339,9 +13021,9 @@ var OrdersApiAxiosParamCreator = function (configuration) {
|
|
|
12339
13021
|
// verify required parameter 'shipmentId' is not null or undefined
|
|
12340
13022
|
(0, common_1.assertParamExists)('getGetCommercialInvoice', 'shipmentId', shipmentId);
|
|
12341
13023
|
localVarPath = "/admin/orders/{id}/batches/{batch_id}/shipments/{shipment_id}/pdf"
|
|
12342
|
-
.replace(
|
|
12343
|
-
.replace(
|
|
12344
|
-
.replace(
|
|
13024
|
+
.replace('{id}', encodeURIComponent(String(id)))
|
|
13025
|
+
.replace('{batch_id}', encodeURIComponent(String(batchId)))
|
|
13026
|
+
.replace('{shipment_id}', encodeURIComponent(String(shipmentId)));
|
|
12345
13027
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
12346
13028
|
if (configuration) {
|
|
12347
13029
|
baseOptions = configuration.baseOptions;
|
|
@@ -12379,7 +13061,7 @@ var OrdersApiAxiosParamCreator = function (configuration) {
|
|
|
12379
13061
|
// verify required parameter 'id' is not null or undefined
|
|
12380
13062
|
(0, common_1.assertParamExists)('getGetEditableOrder', 'id', id);
|
|
12381
13063
|
localVarPath = "/orders/{id}/views/editable"
|
|
12382
|
-
.replace(
|
|
13064
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
12383
13065
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
12384
13066
|
if (configuration) {
|
|
12385
13067
|
baseOptions = configuration.baseOptions;
|
|
@@ -12420,8 +13102,8 @@ var OrdersApiAxiosParamCreator = function (configuration) {
|
|
|
12420
13102
|
// verify required parameter 'itemId' is not null or undefined
|
|
12421
13103
|
(0, common_1.assertParamExists)('getGetItemSerialInfo', 'itemId', itemId);
|
|
12422
13104
|
localVarPath = "/admin/orders/{id}/items/{item_id}/info"
|
|
12423
|
-
.replace(
|
|
12424
|
-
.replace(
|
|
13105
|
+
.replace('{id}', encodeURIComponent(String(id)))
|
|
13106
|
+
.replace('{item_id}', encodeURIComponent(String(itemId)));
|
|
12425
13107
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
12426
13108
|
if (configuration) {
|
|
12427
13109
|
baseOptions = configuration.baseOptions;
|
|
@@ -12459,7 +13141,7 @@ var OrdersApiAxiosParamCreator = function (configuration) {
|
|
|
12459
13141
|
// verify required parameter 'id' is not null or undefined
|
|
12460
13142
|
(0, common_1.assertParamExists)('getGetOrderPdf', 'id', id);
|
|
12461
13143
|
localVarPath = "/orders/{id}/pdf"
|
|
12462
|
-
.replace(
|
|
13144
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
12463
13145
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
12464
13146
|
if (configuration) {
|
|
12465
13147
|
baseOptions = configuration.baseOptions;
|
|
@@ -12497,7 +13179,7 @@ var OrdersApiAxiosParamCreator = function (configuration) {
|
|
|
12497
13179
|
// verify required parameter 'id' is not null or undefined
|
|
12498
13180
|
(0, common_1.assertParamExists)('getGetOrderSummary', 'id', id);
|
|
12499
13181
|
localVarPath = "/admin/orders/{id}/summary"
|
|
12500
|
-
.replace(
|
|
13182
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
12501
13183
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
12502
13184
|
if (configuration) {
|
|
12503
13185
|
baseOptions = configuration.baseOptions;
|
|
@@ -12597,7 +13279,7 @@ var OrdersApiAxiosParamCreator = function (configuration) {
|
|
|
12597
13279
|
// verify required parameter 'id' is not null or undefined
|
|
12598
13280
|
(0, common_1.assertParamExists)('patchCompleteOrder', 'id', id);
|
|
12599
13281
|
localVarPath = "/admin/orders/{id}/complete"
|
|
12600
|
-
.replace(
|
|
13282
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
12601
13283
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
12602
13284
|
if (configuration) {
|
|
12603
13285
|
baseOptions = configuration.baseOptions;
|
|
@@ -12636,7 +13318,7 @@ var OrdersApiAxiosParamCreator = function (configuration) {
|
|
|
12636
13318
|
// verify required parameter 'id' is not null or undefined
|
|
12637
13319
|
(0, common_1.assertParamExists)('postAddOrderNote', 'id', id);
|
|
12638
13320
|
localVarPath = "/admin/orders/{id}/notes"
|
|
12639
|
-
.replace(
|
|
13321
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
12640
13322
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
12641
13323
|
if (configuration) {
|
|
12642
13324
|
baseOptions = configuration.baseOptions;
|
|
@@ -12721,8 +13403,8 @@ var OrdersApiAxiosParamCreator = function (configuration) {
|
|
|
12721
13403
|
// verify required parameter 'shipmentId' is not null or undefined
|
|
12722
13404
|
(0, common_1.assertParamExists)('postCreateConsignment', 'shipmentId', shipmentId);
|
|
12723
13405
|
localVarPath = "/admin/orders/{id}/shipments/{shipment_id}/consignment"
|
|
12724
|
-
.replace(
|
|
12725
|
-
.replace(
|
|
13406
|
+
.replace('{id}', encodeURIComponent(String(id)))
|
|
13407
|
+
.replace('{shipment_id}', encodeURIComponent(String(shipmentId)));
|
|
12726
13408
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
12727
13409
|
if (configuration) {
|
|
12728
13410
|
baseOptions = configuration.baseOptions;
|
|
@@ -12743,6 +13425,43 @@ var OrdersApiAxiosParamCreator = function (configuration) {
|
|
|
12743
13425
|
});
|
|
12744
13426
|
});
|
|
12745
13427
|
},
|
|
13428
|
+
/**
|
|
13429
|
+
* Create an order via the legacy portal
|
|
13430
|
+
* @summary Create an order via the legacy portal
|
|
13431
|
+
* @param {OrderDTO} [orderDTO] Legacy Portal Order
|
|
13432
|
+
* @param {*} [options] Override http request option.
|
|
13433
|
+
* @throws {RequiredError}
|
|
13434
|
+
*/
|
|
13435
|
+
postCreatePortalOrderLegacy: function (orderDTO_1) {
|
|
13436
|
+
var args_1 = [];
|
|
13437
|
+
for (var _i = 1; _i < arguments.length; _i++) {
|
|
13438
|
+
args_1[_i - 1] = arguments[_i];
|
|
13439
|
+
}
|
|
13440
|
+
return __awaiter(_this, __spreadArray([orderDTO_1], args_1, true), void 0, function (orderDTO, options) {
|
|
13441
|
+
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
13442
|
+
if (options === void 0) { options = {}; }
|
|
13443
|
+
return __generator(this, function (_a) {
|
|
13444
|
+
localVarPath = "/orders/portal/legacy";
|
|
13445
|
+
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
13446
|
+
if (configuration) {
|
|
13447
|
+
baseOptions = configuration.baseOptions;
|
|
13448
|
+
}
|
|
13449
|
+
localVarRequestOptions = __assign(__assign({ method: 'POST' }, baseOptions), options);
|
|
13450
|
+
localVarHeaderParameter = {};
|
|
13451
|
+
localVarQueryParameter = {};
|
|
13452
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
13453
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
13454
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
13455
|
+
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
13456
|
+
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
13457
|
+
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(orderDTO, localVarRequestOptions, configuration);
|
|
13458
|
+
return [2 /*return*/, {
|
|
13459
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
13460
|
+
options: localVarRequestOptions,
|
|
13461
|
+
}];
|
|
13462
|
+
});
|
|
13463
|
+
});
|
|
13464
|
+
},
|
|
12746
13465
|
/**
|
|
12747
13466
|
* Create Shipment (Admin)
|
|
12748
13467
|
* @summary Create Shipment (Admin)
|
|
@@ -12766,8 +13485,8 @@ var OrdersApiAxiosParamCreator = function (configuration) {
|
|
|
12766
13485
|
// verify required parameter 'batchId' is not null or undefined
|
|
12767
13486
|
(0, common_1.assertParamExists)('postCreateShipment', 'batchId', batchId);
|
|
12768
13487
|
localVarPath = "/admin/orders/{id}/batches/{batch_id}/shipments"
|
|
12769
|
-
.replace(
|
|
12770
|
-
.replace(
|
|
13488
|
+
.replace('{id}', encodeURIComponent(String(id)))
|
|
13489
|
+
.replace('{batch_id}', encodeURIComponent(String(batchId)));
|
|
12771
13490
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
12772
13491
|
if (configuration) {
|
|
12773
13492
|
baseOptions = configuration.baseOptions;
|
|
@@ -12849,7 +13568,7 @@ var OrdersApiAxiosParamCreator = function (configuration) {
|
|
|
12849
13568
|
// verify required parameter 'id' is not null or undefined
|
|
12850
13569
|
(0, common_1.assertParamExists)('postIssueCredit', 'id', id);
|
|
12851
13570
|
localVarPath = "/admin/orders/{id}/credit"
|
|
12852
|
-
.replace(
|
|
13571
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
12853
13572
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
12854
13573
|
if (configuration) {
|
|
12855
13574
|
baseOptions = configuration.baseOptions;
|
|
@@ -12895,8 +13614,8 @@ var OrdersApiAxiosParamCreator = function (configuration) {
|
|
|
12895
13614
|
// verify required parameter 'printer' is not null or undefined
|
|
12896
13615
|
(0, common_1.assertParamExists)('postPrintShippingLabel', 'printer', printer);
|
|
12897
13616
|
localVarPath = "/admin/orders/{id}/shipments/{shipment_id}/label/print"
|
|
12898
|
-
.replace(
|
|
12899
|
-
.replace(
|
|
13617
|
+
.replace('{id}', encodeURIComponent(String(id)))
|
|
13618
|
+
.replace('{shipment_id}', encodeURIComponent(String(shipmentId)));
|
|
12900
13619
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
12901
13620
|
if (configuration) {
|
|
12902
13621
|
baseOptions = configuration.baseOptions;
|
|
@@ -12940,8 +13659,8 @@ var OrdersApiAxiosParamCreator = function (configuration) {
|
|
|
12940
13659
|
// verify required parameter 'batchId' is not null or undefined
|
|
12941
13660
|
(0, common_1.assertParamExists)('postProcessTcxLicences', 'batchId', batchId);
|
|
12942
13661
|
localVarPath = "/admin/orders/{id}/batches/{batch_id}/licences/process"
|
|
12943
|
-
.replace(
|
|
12944
|
-
.replace(
|
|
13662
|
+
.replace('{id}', encodeURIComponent(String(id)))
|
|
13663
|
+
.replace('{batch_id}', encodeURIComponent(String(batchId)));
|
|
12945
13664
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
12946
13665
|
if (configuration) {
|
|
12947
13666
|
baseOptions = configuration.baseOptions;
|
|
@@ -12982,7 +13701,7 @@ var OrdersApiAxiosParamCreator = function (configuration) {
|
|
|
12982
13701
|
// verify required parameter 'email' is not null or undefined
|
|
12983
13702
|
(0, common_1.assertParamExists)('postSendOrderEmail', 'email', email);
|
|
12984
13703
|
localVarPath = "/admin/orders/{id}/email/send"
|
|
12985
|
-
.replace(
|
|
13704
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
12986
13705
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
12987
13706
|
if (configuration) {
|
|
12988
13707
|
baseOptions = configuration.baseOptions;
|
|
@@ -13031,9 +13750,9 @@ var OrdersApiAxiosParamCreator = function (configuration) {
|
|
|
13031
13750
|
// verify required parameter 'email' is not null or undefined
|
|
13032
13751
|
(0, common_1.assertParamExists)('postSendShipmentEmail', 'email', email);
|
|
13033
13752
|
localVarPath = "/admin/orders/{id}/batches/{batch_id}/shipments/{shipment_id}/send/email"
|
|
13034
|
-
.replace(
|
|
13035
|
-
.replace(
|
|
13036
|
-
.replace(
|
|
13753
|
+
.replace('{id}', encodeURIComponent(String(id)))
|
|
13754
|
+
.replace('{batch_id}', encodeURIComponent(String(batchId)))
|
|
13755
|
+
.replace('{shipment_id}', encodeURIComponent(String(shipmentId)));
|
|
13037
13756
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
13038
13757
|
if (configuration) {
|
|
13039
13758
|
baseOptions = configuration.baseOptions;
|
|
@@ -13076,8 +13795,8 @@ var OrdersApiAxiosParamCreator = function (configuration) {
|
|
|
13076
13795
|
// verify required parameter 'batchId' is not null or undefined
|
|
13077
13796
|
(0, common_1.assertParamExists)('postSendSupplierEmail', 'batchId', batchId);
|
|
13078
13797
|
localVarPath = "/admin/orders/{id}/batches/{batch_id}/email/send"
|
|
13079
|
-
.replace(
|
|
13080
|
-
.replace(
|
|
13798
|
+
.replace('{id}', encodeURIComponent(String(id)))
|
|
13799
|
+
.replace('{batch_id}', encodeURIComponent(String(batchId)));
|
|
13081
13800
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
13082
13801
|
if (configuration) {
|
|
13083
13802
|
baseOptions = configuration.baseOptions;
|
|
@@ -13115,7 +13834,7 @@ var OrdersApiAxiosParamCreator = function (configuration) {
|
|
|
13115
13834
|
// verify required parameter 'id' is not null or undefined
|
|
13116
13835
|
(0, common_1.assertParamExists)('postSplitOrder', 'id', id);
|
|
13117
13836
|
localVarPath = "/admin/orders/{id}/split"
|
|
13118
|
-
.replace(
|
|
13837
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
13119
13838
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
13120
13839
|
if (configuration) {
|
|
13121
13840
|
baseOptions = configuration.baseOptions;
|
|
@@ -13159,7 +13878,7 @@ var OrdersApiAxiosParamCreator = function (configuration) {
|
|
|
13159
13878
|
// verify required parameter 'supplierId' is not null or undefined
|
|
13160
13879
|
(0, common_1.assertParamExists)('putAllocateItems', 'supplierId', supplierId);
|
|
13161
13880
|
localVarPath = "/admin/orders/{id}/items/allocate"
|
|
13162
|
-
.replace(
|
|
13881
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
13163
13882
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
13164
13883
|
if (configuration) {
|
|
13165
13884
|
baseOptions = configuration.baseOptions;
|
|
@@ -13204,7 +13923,7 @@ var OrdersApiAxiosParamCreator = function (configuration) {
|
|
|
13204
13923
|
// verify required parameter 'id' is not null or undefined
|
|
13205
13924
|
(0, common_1.assertParamExists)('putUpdateAdminOrder', 'id', id);
|
|
13206
13925
|
localVarPath = "/admin/orders/{id}"
|
|
13207
|
-
.replace(
|
|
13926
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
13208
13927
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
13209
13928
|
if (configuration) {
|
|
13210
13929
|
baseOptions = configuration.baseOptions;
|
|
@@ -13254,9 +13973,9 @@ var OrdersApiAxiosParamCreator = function (configuration) {
|
|
|
13254
13973
|
// verify required parameter 'itemId' is not null or undefined
|
|
13255
13974
|
(0, common_1.assertParamExists)('putUpdateBatchItem', 'itemId', itemId);
|
|
13256
13975
|
localVarPath = "/admin/orders/{id}/batches/{batch_id}/items/{item_id}"
|
|
13257
|
-
.replace(
|
|
13258
|
-
.replace(
|
|
13259
|
-
.replace(
|
|
13976
|
+
.replace('{id}', encodeURIComponent(String(id)))
|
|
13977
|
+
.replace('{batch_id}', encodeURIComponent(String(batchId)))
|
|
13978
|
+
.replace('{item_id}', encodeURIComponent(String(itemId)));
|
|
13260
13979
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
13261
13980
|
if (configuration) {
|
|
13262
13981
|
baseOptions = configuration.baseOptions;
|
|
@@ -13298,7 +14017,7 @@ var OrdersApiAxiosParamCreator = function (configuration) {
|
|
|
13298
14017
|
// verify required parameter 'id' is not null or undefined
|
|
13299
14018
|
(0, common_1.assertParamExists)('putUpdateOrder', 'id', id);
|
|
13300
14019
|
localVarPath = "/orders/{id}"
|
|
13301
|
-
.replace(
|
|
14020
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
13302
14021
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
13303
14022
|
if (configuration) {
|
|
13304
14023
|
baseOptions = configuration.baseOptions;
|
|
@@ -13344,7 +14063,7 @@ var OrdersApiAxiosParamCreator = function (configuration) {
|
|
|
13344
14063
|
// verify required parameter 'paid' is not null or undefined
|
|
13345
14064
|
(0, common_1.assertParamExists)('putUpdatePaymentStatus', 'paid', paid);
|
|
13346
14065
|
localVarPath = "/admin/orders/{id}/paid"
|
|
13347
|
-
.replace(
|
|
14066
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
13348
14067
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
13349
14068
|
if (configuration) {
|
|
13350
14069
|
baseOptions = configuration.baseOptions;
|
|
@@ -13392,9 +14111,9 @@ var OrdersApiAxiosParamCreator = function (configuration) {
|
|
|
13392
14111
|
// verify required parameter 'shipmentId' is not null or undefined
|
|
13393
14112
|
(0, common_1.assertParamExists)('putUpdateShipment', 'shipmentId', shipmentId);
|
|
13394
14113
|
localVarPath = "/admin/orders/{id}/batches/{batch_id}/shipments/{shipment_id}"
|
|
13395
|
-
.replace(
|
|
13396
|
-
.replace(
|
|
13397
|
-
.replace(
|
|
14114
|
+
.replace('{id}', encodeURIComponent(String(id)))
|
|
14115
|
+
.replace('{batch_id}', encodeURIComponent(String(batchId)))
|
|
14116
|
+
.replace('{shipment_id}', encodeURIComponent(String(shipmentId)));
|
|
13398
14117
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
13399
14118
|
if (configuration) {
|
|
13400
14119
|
baseOptions = configuration.baseOptions;
|
|
@@ -13784,6 +14503,29 @@ var OrdersApiFp = function (configuration) {
|
|
|
13784
14503
|
});
|
|
13785
14504
|
});
|
|
13786
14505
|
},
|
|
14506
|
+
/**
|
|
14507
|
+
* Create an order via the legacy portal
|
|
14508
|
+
* @summary Create an order via the legacy portal
|
|
14509
|
+
* @param {OrderDTO} [orderDTO] Legacy Portal Order
|
|
14510
|
+
* @param {*} [options] Override http request option.
|
|
14511
|
+
* @throws {RequiredError}
|
|
14512
|
+
*/
|
|
14513
|
+
postCreatePortalOrderLegacy: function (orderDTO, options) {
|
|
14514
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
14515
|
+
var localVarAxiosArgs, localVarOperationServerIndex, localVarOperationServerBasePath;
|
|
14516
|
+
var _a, _b, _c;
|
|
14517
|
+
return __generator(this, function (_d) {
|
|
14518
|
+
switch (_d.label) {
|
|
14519
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.postCreatePortalOrderLegacy(orderDTO, options)];
|
|
14520
|
+
case 1:
|
|
14521
|
+
localVarAxiosArgs = _d.sent();
|
|
14522
|
+
localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
14523
|
+
localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['OrdersApi.postCreatePortalOrderLegacy']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
14524
|
+
return [2 /*return*/, function (axios, basePath) { return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath); }];
|
|
14525
|
+
}
|
|
14526
|
+
});
|
|
14527
|
+
});
|
|
14528
|
+
},
|
|
13787
14529
|
/**
|
|
13788
14530
|
* Create Shipment (Admin)
|
|
13789
14531
|
* @summary Create Shipment (Admin)
|
|
@@ -14329,6 +15071,16 @@ var OrdersApiFactory = function (configuration, basePath, axios) {
|
|
|
14329
15071
|
postCreateConsignment: function (id, shipmentId, shippingRequestDTO, options) {
|
|
14330
15072
|
return localVarFp.postCreateConsignment(id, shipmentId, shippingRequestDTO, options).then(function (request) { return request(axios, basePath); });
|
|
14331
15073
|
},
|
|
15074
|
+
/**
|
|
15075
|
+
* Create an order via the legacy portal
|
|
15076
|
+
* @summary Create an order via the legacy portal
|
|
15077
|
+
* @param {OrderDTO} [orderDTO] Legacy Portal Order
|
|
15078
|
+
* @param {*} [options] Override http request option.
|
|
15079
|
+
* @throws {RequiredError}
|
|
15080
|
+
*/
|
|
15081
|
+
postCreatePortalOrderLegacy: function (orderDTO, options) {
|
|
15082
|
+
return localVarFp.postCreatePortalOrderLegacy(orderDTO, options).then(function (request) { return request(axios, basePath); });
|
|
15083
|
+
},
|
|
14332
15084
|
/**
|
|
14333
15085
|
* Create Shipment (Admin)
|
|
14334
15086
|
* @summary Create Shipment (Admin)
|
|
@@ -14696,6 +15448,17 @@ var OrdersApi = /** @class */ (function (_super) {
|
|
|
14696
15448
|
var _this = this;
|
|
14697
15449
|
return (0, exports.OrdersApiFp)(this.configuration).postCreateConsignment(id, shipmentId, shippingRequestDTO, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
14698
15450
|
};
|
|
15451
|
+
/**
|
|
15452
|
+
* Create an order via the legacy portal
|
|
15453
|
+
* @summary Create an order via the legacy portal
|
|
15454
|
+
* @param {OrderDTO} [orderDTO] Legacy Portal Order
|
|
15455
|
+
* @param {*} [options] Override http request option.
|
|
15456
|
+
* @throws {RequiredError}
|
|
15457
|
+
*/
|
|
15458
|
+
OrdersApi.prototype.postCreatePortalOrderLegacy = function (orderDTO, options) {
|
|
15459
|
+
var _this = this;
|
|
15460
|
+
return (0, exports.OrdersApiFp)(this.configuration).postCreatePortalOrderLegacy(orderDTO, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
15461
|
+
};
|
|
14699
15462
|
/**
|
|
14700
15463
|
* Create Shipment (Admin)
|
|
14701
15464
|
* @summary Create Shipment (Admin)
|
|
@@ -14894,18 +15657,18 @@ exports.GetGetOrdersStatusEnum = {
|
|
|
14894
15657
|
Paid: 'PAID',
|
|
14895
15658
|
InvoicePaid: 'INVOICE_PAID',
|
|
14896
15659
|
Unpaid: 'UNPAID',
|
|
14897
|
-
Quote: 'QUOTE'
|
|
15660
|
+
Quote: 'QUOTE',
|
|
14898
15661
|
};
|
|
14899
15662
|
exports.GetGetOrdersFilterEnum = {
|
|
14900
15663
|
Outstanding: 'OUTSTANDING',
|
|
14901
15664
|
Quotes: 'QUOTES',
|
|
14902
15665
|
All: 'ALL',
|
|
14903
|
-
BackOrders: 'BACK_ORDERS'
|
|
15666
|
+
BackOrders: 'BACK_ORDERS',
|
|
14904
15667
|
};
|
|
14905
15668
|
exports.PostPrintShippingLabelPrinterEnum = {
|
|
14906
15669
|
NUMBER_1: 1,
|
|
14907
15670
|
NUMBER_2: 2,
|
|
14908
|
-
NUMBER_3: 3
|
|
15671
|
+
NUMBER_3: 3,
|
|
14909
15672
|
};
|
|
14910
15673
|
/**
|
|
14911
15674
|
* PricingApi - axios parameter creator
|
|
@@ -15178,14 +15941,14 @@ exports.GetGetPriceListTypeEnum = {
|
|
|
15178
15941
|
EdTechPro: 'EdTechPro',
|
|
15179
15942
|
Sms: 'SMS',
|
|
15180
15943
|
SipTrunks: 'SIP Trunks',
|
|
15181
|
-
CrmIntegrations: 'CRM Integrations'
|
|
15944
|
+
CrmIntegrations: 'CRM Integrations',
|
|
15182
15945
|
};
|
|
15183
15946
|
exports.GetGetPriceListFormatEnum = {
|
|
15184
15947
|
Pdf: 'pdf',
|
|
15185
15948
|
Json: 'json',
|
|
15186
15949
|
Csv: 'csv',
|
|
15187
15950
|
Xml: 'xml',
|
|
15188
|
-
Html: 'html'
|
|
15951
|
+
Html: 'html',
|
|
15189
15952
|
};
|
|
15190
15953
|
exports.GetGetPriceListCategoryEnum = {
|
|
15191
15954
|
Yealink: 'Yealink',
|
|
@@ -15207,7 +15970,7 @@ exports.GetGetPriceListCategoryEnum = {
|
|
|
15207
15970
|
FanvilWirelessPhones: 'Fanvil Wireless Phones',
|
|
15208
15971
|
FanvilSecurityProducts: 'Fanvil Security Products',
|
|
15209
15972
|
FanvilAccessories: 'Fanvil Accessories',
|
|
15210
|
-
FanvilHotelPhones: 'Fanvil Hotel Phones'
|
|
15973
|
+
FanvilHotelPhones: 'Fanvil Hotel Phones',
|
|
15211
15974
|
};
|
|
15212
15975
|
exports.PostSendPriceListTypeEnum = {
|
|
15213
15976
|
Products: 'Products',
|
|
@@ -15218,14 +15981,14 @@ exports.PostSendPriceListTypeEnum = {
|
|
|
15218
15981
|
EdTechPro: 'EdTechPro',
|
|
15219
15982
|
Sms: 'SMS',
|
|
15220
15983
|
SipTrunks: 'SIP Trunks',
|
|
15221
|
-
CrmIntegrations: 'CRM Integrations'
|
|
15984
|
+
CrmIntegrations: 'CRM Integrations',
|
|
15222
15985
|
};
|
|
15223
15986
|
exports.PostSendPriceListFormatEnum = {
|
|
15224
15987
|
Pdf: 'pdf',
|
|
15225
15988
|
Json: 'json',
|
|
15226
15989
|
Csv: 'csv',
|
|
15227
15990
|
Xml: 'xml',
|
|
15228
|
-
Html: 'html'
|
|
15991
|
+
Html: 'html',
|
|
15229
15992
|
};
|
|
15230
15993
|
exports.PostSendPriceListCategoryEnum = {
|
|
15231
15994
|
Yealink: 'Yealink',
|
|
@@ -15247,7 +16010,7 @@ exports.PostSendPriceListCategoryEnum = {
|
|
|
15247
16010
|
FanvilWirelessPhones: 'Fanvil Wireless Phones',
|
|
15248
16011
|
FanvilSecurityProducts: 'Fanvil Security Products',
|
|
15249
16012
|
FanvilAccessories: 'Fanvil Accessories',
|
|
15250
|
-
FanvilHotelPhones: 'Fanvil Hotel Phones'
|
|
16013
|
+
FanvilHotelPhones: 'Fanvil Hotel Phones',
|
|
15251
16014
|
};
|
|
15252
16015
|
/**
|
|
15253
16016
|
* ProductsApi - axios parameter creator
|
|
@@ -15534,7 +16297,7 @@ var ProductsApiAxiosParamCreator = function (configuration) {
|
|
|
15534
16297
|
// verify required parameter 'quantity' is not null or undefined
|
|
15535
16298
|
(0, common_1.assertParamExists)('patchAddQuantityToStock', 'quantity', quantity);
|
|
15536
16299
|
localVarPath = "/products/{sku}/stock/add"
|
|
15537
|
-
.replace(
|
|
16300
|
+
.replace('{sku}', encodeURIComponent(String(sku)));
|
|
15538
16301
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
15539
16302
|
if (configuration) {
|
|
15540
16303
|
baseOptions = configuration.baseOptions;
|
|
@@ -15559,25 +16322,25 @@ var ProductsApiAxiosParamCreator = function (configuration) {
|
|
|
15559
16322
|
* Get Product
|
|
15560
16323
|
* @summary Get Product
|
|
15561
16324
|
* @param {string} sku Product SKU
|
|
15562
|
-
* @param {
|
|
16325
|
+
* @param {PostGetProductForCustomerRequest} postGetProductForCustomerRequest Product search criteria
|
|
15563
16326
|
* @param {*} [options] Override http request option.
|
|
15564
16327
|
* @throws {RequiredError}
|
|
15565
16328
|
*/
|
|
15566
|
-
postGetProduct: function (sku_1,
|
|
16329
|
+
postGetProduct: function (sku_1, postGetProductForCustomerRequest_1) {
|
|
15567
16330
|
var args_1 = [];
|
|
15568
16331
|
for (var _i = 2; _i < arguments.length; _i++) {
|
|
15569
16332
|
args_1[_i - 2] = arguments[_i];
|
|
15570
16333
|
}
|
|
15571
|
-
return __awaiter(_this, __spreadArray([sku_1,
|
|
16334
|
+
return __awaiter(_this, __spreadArray([sku_1, postGetProductForCustomerRequest_1], args_1, true), void 0, function (sku, postGetProductForCustomerRequest, options) {
|
|
15572
16335
|
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
15573
16336
|
if (options === void 0) { options = {}; }
|
|
15574
16337
|
return __generator(this, function (_a) {
|
|
15575
16338
|
// verify required parameter 'sku' is not null or undefined
|
|
15576
16339
|
(0, common_1.assertParamExists)('postGetProduct', 'sku', sku);
|
|
15577
|
-
// verify required parameter '
|
|
15578
|
-
(0, common_1.assertParamExists)('postGetProduct', '
|
|
16340
|
+
// verify required parameter 'postGetProductForCustomerRequest' is not null or undefined
|
|
16341
|
+
(0, common_1.assertParamExists)('postGetProduct', 'postGetProductForCustomerRequest', postGetProductForCustomerRequest);
|
|
15579
16342
|
localVarPath = "/products/{sku}"
|
|
15580
|
-
.replace(
|
|
16343
|
+
.replace('{sku}', encodeURIComponent(String(sku)));
|
|
15581
16344
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
15582
16345
|
if (configuration) {
|
|
15583
16346
|
baseOptions = configuration.baseOptions;
|
|
@@ -15590,7 +16353,7 @@ var ProductsApiAxiosParamCreator = function (configuration) {
|
|
|
15590
16353
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
15591
16354
|
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
15592
16355
|
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
15593
|
-
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(
|
|
16356
|
+
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(postGetProductForCustomerRequest, localVarRequestOptions, configuration);
|
|
15594
16357
|
return [2 /*return*/, {
|
|
15595
16358
|
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
15596
16359
|
options: localVarRequestOptions,
|
|
@@ -15623,7 +16386,7 @@ var ProductsApiAxiosParamCreator = function (configuration) {
|
|
|
15623
16386
|
// verify required parameter 'postGetProductForCustomerRequest' is not null or undefined
|
|
15624
16387
|
(0, common_1.assertParamExists)('postGetProductForCustomer', 'postGetProductForCustomerRequest', postGetProductForCustomerRequest);
|
|
15625
16388
|
localVarPath = "/admin/products/{sku}"
|
|
15626
|
-
.replace(
|
|
16389
|
+
.replace('{sku}', encodeURIComponent(String(sku)));
|
|
15627
16390
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
15628
16391
|
if (configuration) {
|
|
15629
16392
|
baseOptions = configuration.baseOptions;
|
|
@@ -15843,17 +16606,17 @@ var ProductsApiFp = function (configuration) {
|
|
|
15843
16606
|
* Get Product
|
|
15844
16607
|
* @summary Get Product
|
|
15845
16608
|
* @param {string} sku Product SKU
|
|
15846
|
-
* @param {
|
|
16609
|
+
* @param {PostGetProductForCustomerRequest} postGetProductForCustomerRequest Product search criteria
|
|
15847
16610
|
* @param {*} [options] Override http request option.
|
|
15848
16611
|
* @throws {RequiredError}
|
|
15849
16612
|
*/
|
|
15850
|
-
postGetProduct: function (sku,
|
|
16613
|
+
postGetProduct: function (sku, postGetProductForCustomerRequest, options) {
|
|
15851
16614
|
return __awaiter(this, void 0, void 0, function () {
|
|
15852
16615
|
var localVarAxiosArgs, localVarOperationServerIndex, localVarOperationServerBasePath;
|
|
15853
16616
|
var _a, _b, _c;
|
|
15854
16617
|
return __generator(this, function (_d) {
|
|
15855
16618
|
switch (_d.label) {
|
|
15856
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.postGetProduct(sku,
|
|
16619
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.postGetProduct(sku, postGetProductForCustomerRequest, options)];
|
|
15857
16620
|
case 1:
|
|
15858
16621
|
localVarAxiosArgs = _d.sent();
|
|
15859
16622
|
localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
@@ -15980,12 +16743,12 @@ var ProductsApiFactory = function (configuration, basePath, axios) {
|
|
|
15980
16743
|
* Get Product
|
|
15981
16744
|
* @summary Get Product
|
|
15982
16745
|
* @param {string} sku Product SKU
|
|
15983
|
-
* @param {
|
|
16746
|
+
* @param {PostGetProductForCustomerRequest} postGetProductForCustomerRequest Product search criteria
|
|
15984
16747
|
* @param {*} [options] Override http request option.
|
|
15985
16748
|
* @throws {RequiredError}
|
|
15986
16749
|
*/
|
|
15987
|
-
postGetProduct: function (sku,
|
|
15988
|
-
return localVarFp.postGetProduct(sku,
|
|
16750
|
+
postGetProduct: function (sku, postGetProductForCustomerRequest, options) {
|
|
16751
|
+
return localVarFp.postGetProduct(sku, postGetProductForCustomerRequest, options).then(function (request) { return request(axios, basePath); });
|
|
15989
16752
|
},
|
|
15990
16753
|
/**
|
|
15991
16754
|
* Get Product For Customer
|
|
@@ -16101,13 +16864,13 @@ var ProductsApi = /** @class */ (function (_super) {
|
|
|
16101
16864
|
* Get Product
|
|
16102
16865
|
* @summary Get Product
|
|
16103
16866
|
* @param {string} sku Product SKU
|
|
16104
|
-
* @param {
|
|
16867
|
+
* @param {PostGetProductForCustomerRequest} postGetProductForCustomerRequest Product search criteria
|
|
16105
16868
|
* @param {*} [options] Override http request option.
|
|
16106
16869
|
* @throws {RequiredError}
|
|
16107
16870
|
*/
|
|
16108
|
-
ProductsApi.prototype.postGetProduct = function (sku,
|
|
16871
|
+
ProductsApi.prototype.postGetProduct = function (sku, postGetProductForCustomerRequest, options) {
|
|
16109
16872
|
var _this = this;
|
|
16110
|
-
return (0, exports.ProductsApiFp)(this.configuration).postGetProduct(sku,
|
|
16873
|
+
return (0, exports.ProductsApiFp)(this.configuration).postGetProduct(sku, postGetProductForCustomerRequest, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
16111
16874
|
};
|
|
16112
16875
|
/**
|
|
16113
16876
|
* Get Product For Customer
|
|
@@ -16127,7 +16890,7 @@ var ProductsApi = /** @class */ (function (_super) {
|
|
|
16127
16890
|
exports.ProductsApi = ProductsApi;
|
|
16128
16891
|
exports.GetGetLegacyStockListFormatEnum = {
|
|
16129
16892
|
Xml: 'XML',
|
|
16130
|
-
Csv: 'CSV'
|
|
16893
|
+
Csv: 'CSV',
|
|
16131
16894
|
};
|
|
16132
16895
|
/**
|
|
16133
16896
|
* ProspectsApi - axios parameter creator
|
|
@@ -16154,7 +16917,7 @@ var ProspectsApiAxiosParamCreator = function (configuration) {
|
|
|
16154
16917
|
// verify required parameter 'xeroId' is not null or undefined
|
|
16155
16918
|
(0, common_1.assertParamExists)('getGetProspect', 'xeroId', xeroId);
|
|
16156
16919
|
localVarPath = "/accounts/prospects/{xero_id}"
|
|
16157
|
-
.replace(
|
|
16920
|
+
.replace('{xero_id}', encodeURIComponent(String(xeroId)));
|
|
16158
16921
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
16159
16922
|
if (configuration) {
|
|
16160
16923
|
baseOptions = configuration.baseOptions;
|
|
@@ -16229,7 +16992,7 @@ var ProspectsApiAxiosParamCreator = function (configuration) {
|
|
|
16229
16992
|
// verify required parameter 'status' is not null or undefined
|
|
16230
16993
|
(0, common_1.assertParamExists)('getRemoveFromProspects', 'status', status);
|
|
16231
16994
|
localVarPath = "/accounts/prospects/{xero_id}/remove"
|
|
16232
|
-
.replace(
|
|
16995
|
+
.replace('{xero_id}', encodeURIComponent(String(xeroId)));
|
|
16233
16996
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
16234
16997
|
if (configuration) {
|
|
16235
16998
|
baseOptions = configuration.baseOptions;
|
|
@@ -16273,7 +17036,7 @@ var ProspectsApiAxiosParamCreator = function (configuration) {
|
|
|
16273
17036
|
// verify required parameter 'date' is not null or undefined
|
|
16274
17037
|
(0, common_1.assertParamExists)('getSetCallback', 'date', date);
|
|
16275
17038
|
localVarPath = "/accounts/prospects/{xero_id}/date"
|
|
16276
|
-
.replace(
|
|
17039
|
+
.replace('{xero_id}', encodeURIComponent(String(xeroId)));
|
|
16277
17040
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
16278
17041
|
if (configuration) {
|
|
16279
17042
|
baseOptions = configuration.baseOptions;
|
|
@@ -16534,8 +17297,8 @@ var ProvisioningApiAxiosParamCreator = function (configuration) {
|
|
|
16534
17297
|
// verify required parameter 'mac' is not null or undefined
|
|
16535
17298
|
(0, common_1.assertParamExists)('deleteAddFanvilMac', 'mac', mac);
|
|
16536
17299
|
localVarPath = "/provisioning/fanvil/groups/{id}/macs/{mac}"
|
|
16537
|
-
.replace(
|
|
16538
|
-
.replace(
|
|
17300
|
+
.replace('{id}', encodeURIComponent(String(id)))
|
|
17301
|
+
.replace('{mac}', encodeURIComponent(String(mac)));
|
|
16539
17302
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
16540
17303
|
if (configuration) {
|
|
16541
17304
|
baseOptions = configuration.baseOptions;
|
|
@@ -16572,7 +17335,7 @@ var ProvisioningApiAxiosParamCreator = function (configuration) {
|
|
|
16572
17335
|
// verify required parameter 'id' is not null or undefined
|
|
16573
17336
|
(0, common_1.assertParamExists)('deleteDeleteFanvilGroup', 'id', id);
|
|
16574
17337
|
localVarPath = "/provisioning/fanvil/groups/{id}"
|
|
16575
|
-
.replace(
|
|
17338
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
16576
17339
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
16577
17340
|
if (configuration) {
|
|
16578
17341
|
baseOptions = configuration.baseOptions;
|
|
@@ -16612,8 +17375,8 @@ var ProvisioningApiAxiosParamCreator = function (configuration) {
|
|
|
16612
17375
|
// verify required parameter 'mac' is not null or undefined
|
|
16613
17376
|
(0, common_1.assertParamExists)('getGetFanvilEncryptionKey', 'mac', mac);
|
|
16614
17377
|
localVarPath = "/provisioning/fanvil/groups/{id}/macs/{mac}/key"
|
|
16615
|
-
.replace(
|
|
16616
|
-
.replace(
|
|
17378
|
+
.replace('{id}', encodeURIComponent(String(id)))
|
|
17379
|
+
.replace('{mac}', encodeURIComponent(String(mac)));
|
|
16617
17380
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
16618
17381
|
if (configuration) {
|
|
16619
17382
|
baseOptions = configuration.baseOptions;
|
|
@@ -16651,7 +17414,7 @@ var ProvisioningApiAxiosParamCreator = function (configuration) {
|
|
|
16651
17414
|
// verify required parameter 'id' is not null or undefined
|
|
16652
17415
|
(0, common_1.assertParamExists)('getGetFanvilGroupMacs', 'id', id);
|
|
16653
17416
|
localVarPath = "/provisioning/fanvil/groups/{id}/macs"
|
|
16654
|
-
.replace(
|
|
17417
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
16655
17418
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
16656
17419
|
if (configuration) {
|
|
16657
17420
|
baseOptions = configuration.baseOptions;
|
|
@@ -16767,8 +17530,8 @@ var ProvisioningApiAxiosParamCreator = function (configuration) {
|
|
|
16767
17530
|
// verify required parameter 'mac' is not null or undefined
|
|
16768
17531
|
(0, common_1.assertParamExists)('postAddFanvilMac', 'mac', mac);
|
|
16769
17532
|
localVarPath = "/provisioning/fanvil/groups/{id}/macs/{mac}"
|
|
16770
|
-
.replace(
|
|
16771
|
-
.replace(
|
|
17533
|
+
.replace('{id}', encodeURIComponent(String(id)))
|
|
17534
|
+
.replace('{mac}', encodeURIComponent(String(mac)));
|
|
16772
17535
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
16773
17536
|
if (configuration) {
|
|
16774
17537
|
baseOptions = configuration.baseOptions;
|
|
@@ -17160,7 +17923,7 @@ var SIPTrunksApiAxiosParamCreator = function (configuration) {
|
|
|
17160
17923
|
// verify required parameter 'id' is not null or undefined
|
|
17161
17924
|
(0, common_1.assertParamExists)('deleteGetSipTrunk', 'id', id);
|
|
17162
17925
|
localVarPath = "/sip/trunks/{id}"
|
|
17163
|
-
.replace(
|
|
17926
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
17164
17927
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
17165
17928
|
if (configuration) {
|
|
17166
17929
|
baseOptions = configuration.baseOptions;
|
|
@@ -17198,7 +17961,7 @@ var SIPTrunksApiAxiosParamCreator = function (configuration) {
|
|
|
17198
17961
|
// verify required parameter 'id' is not null or undefined
|
|
17199
17962
|
(0, common_1.assertParamExists)('getCanDivert', 'id', id);
|
|
17200
17963
|
localVarPath = "/sip/trunks/{id}/diverts/allowed"
|
|
17201
|
-
.replace(
|
|
17964
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
17202
17965
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
17203
17966
|
if (configuration) {
|
|
17204
17967
|
baseOptions = configuration.baseOptions;
|
|
@@ -17236,7 +17999,7 @@ var SIPTrunksApiAxiosParamCreator = function (configuration) {
|
|
|
17236
17999
|
// verify required parameter 'id' is not null or undefined
|
|
17237
18000
|
(0, common_1.assertParamExists)('getGetAddress', 'id', id);
|
|
17238
18001
|
localVarPath = "/sip/trunks/{id}/address"
|
|
17239
|
-
.replace(
|
|
18002
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
17240
18003
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
17241
18004
|
if (configuration) {
|
|
17242
18005
|
baseOptions = configuration.baseOptions;
|
|
@@ -17345,7 +18108,7 @@ var SIPTrunksApiAxiosParamCreator = function (configuration) {
|
|
|
17345
18108
|
// verify required parameter 'id' is not null or undefined
|
|
17346
18109
|
(0, common_1.assertParamExists)('getGetCliFlexibility', 'id', id);
|
|
17347
18110
|
localVarPath = "/sip/trunks/{id}/cli/flexibility"
|
|
17348
|
-
.replace(
|
|
18111
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
17349
18112
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
17350
18113
|
if (configuration) {
|
|
17351
18114
|
baseOptions = configuration.baseOptions;
|
|
@@ -17383,7 +18146,7 @@ var SIPTrunksApiAxiosParamCreator = function (configuration) {
|
|
|
17383
18146
|
// verify required parameter 'id' is not null or undefined
|
|
17384
18147
|
(0, common_1.assertParamExists)('getGetDdis', 'id', id);
|
|
17385
18148
|
localVarPath = "/sip/trunks/{id}/ddis"
|
|
17386
|
-
.replace(
|
|
18149
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
17387
18150
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
17388
18151
|
if (configuration) {
|
|
17389
18152
|
baseOptions = configuration.baseOptions;
|
|
@@ -17422,7 +18185,7 @@ var SIPTrunksApiAxiosParamCreator = function (configuration) {
|
|
|
17422
18185
|
// verify required parameter 'id' is not null or undefined
|
|
17423
18186
|
(0, common_1.assertParamExists)('getGetDiverts', 'id', id);
|
|
17424
18187
|
localVarPath = "/sip/trunks/{id}/diverts"
|
|
17425
|
-
.replace(
|
|
18188
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
17426
18189
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
17427
18190
|
if (configuration) {
|
|
17428
18191
|
baseOptions = configuration.baseOptions;
|
|
@@ -17463,7 +18226,7 @@ var SIPTrunksApiAxiosParamCreator = function (configuration) {
|
|
|
17463
18226
|
// verify required parameter 'id' is not null or undefined
|
|
17464
18227
|
(0, common_1.assertParamExists)('getGetSipTrunk', 'id', id);
|
|
17465
18228
|
localVarPath = "/sip/trunks/{id}"
|
|
17466
|
-
.replace(
|
|
18229
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
17467
18230
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
17468
18231
|
if (configuration) {
|
|
17469
18232
|
baseOptions = configuration.baseOptions;
|
|
@@ -17550,7 +18313,7 @@ var SIPTrunksApiAxiosParamCreator = function (configuration) {
|
|
|
17550
18313
|
// verify required parameter 'enabled' is not null or undefined
|
|
17551
18314
|
(0, common_1.assertParamExists)('patchGetCliFlexibility', 'enabled', enabled);
|
|
17552
18315
|
localVarPath = "/sip/trunks/{id}/cli/flexibility"
|
|
17553
|
-
.replace(
|
|
18316
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
17554
18317
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
17555
18318
|
if (configuration) {
|
|
17556
18319
|
baseOptions = configuration.baseOptions;
|
|
@@ -17591,7 +18354,7 @@ var SIPTrunksApiAxiosParamCreator = function (configuration) {
|
|
|
17591
18354
|
// verify required parameter 'id' is not null or undefined
|
|
17592
18355
|
(0, common_1.assertParamExists)('patchSetAsAvailable', 'id', id);
|
|
17593
18356
|
localVarPath = "/sip/trunks/{id}/available"
|
|
17594
|
-
.replace(
|
|
18357
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
17595
18358
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
17596
18359
|
if (configuration) {
|
|
17597
18360
|
baseOptions = configuration.baseOptions;
|
|
@@ -17632,7 +18395,7 @@ var SIPTrunksApiAxiosParamCreator = function (configuration) {
|
|
|
17632
18395
|
// verify required parameter 'ownerId' is not null or undefined
|
|
17633
18396
|
(0, common_1.assertParamExists)('patchSetOwnership', 'ownerId', ownerId);
|
|
17634
18397
|
localVarPath = "/sip/trunks/{id}/owner"
|
|
17635
|
-
.replace(
|
|
18398
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
17636
18399
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
17637
18400
|
if (configuration) {
|
|
17638
18401
|
baseOptions = configuration.baseOptions;
|
|
@@ -17678,7 +18441,7 @@ var SIPTrunksApiAxiosParamCreator = function (configuration) {
|
|
|
17678
18441
|
// verify required parameter 'channels' is not null or undefined
|
|
17679
18442
|
(0, common_1.assertParamExists)('patchUpdateChannelCount', 'channels', channels);
|
|
17680
18443
|
localVarPath = "/sip/trunks/{id}/channels"
|
|
17681
|
-
.replace(
|
|
18444
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
17682
18445
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
17683
18446
|
if (configuration) {
|
|
17684
18447
|
baseOptions = configuration.baseOptions;
|
|
@@ -17722,7 +18485,7 @@ var SIPTrunksApiAxiosParamCreator = function (configuration) {
|
|
|
17722
18485
|
// verify required parameter 'company' is not null or undefined
|
|
17723
18486
|
(0, common_1.assertParamExists)('patchUpdateCompanyName', 'company', company);
|
|
17724
18487
|
localVarPath = "/sip/trunks/{id}/company"
|
|
17725
|
-
.replace(
|
|
18488
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
17726
18489
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
17727
18490
|
if (configuration) {
|
|
17728
18491
|
baseOptions = configuration.baseOptions;
|
|
@@ -17766,7 +18529,7 @@ var SIPTrunksApiAxiosParamCreator = function (configuration) {
|
|
|
17766
18529
|
// verify required parameter 'number' is not null or undefined
|
|
17767
18530
|
(0, common_1.assertParamExists)('patchUpdateMainTrunkNumber', 'number', number);
|
|
17768
18531
|
localVarPath = "/sip/trunks/{id}/number"
|
|
17769
|
-
.replace(
|
|
18532
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
17770
18533
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
17771
18534
|
if (configuration) {
|
|
17772
18535
|
baseOptions = configuration.baseOptions;
|
|
@@ -17810,7 +18573,7 @@ var SIPTrunksApiAxiosParamCreator = function (configuration) {
|
|
|
17810
18573
|
// verify required parameter 'ipAddress' is not null or undefined
|
|
17811
18574
|
(0, common_1.assertParamExists)('patchUpdatePbxIPAddress', 'ipAddress', ipAddress);
|
|
17812
18575
|
localVarPath = "/sip/trunks/{id}/pbx/ip"
|
|
17813
|
-
.replace(
|
|
18576
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
17814
18577
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
17815
18578
|
if (configuration) {
|
|
17816
18579
|
baseOptions = configuration.baseOptions;
|
|
@@ -17852,7 +18615,7 @@ var SIPTrunksApiAxiosParamCreator = function (configuration) {
|
|
|
17852
18615
|
// verify required parameter 'id' is not null or undefined
|
|
17853
18616
|
(0, common_1.assertParamExists)('postGetDdis', 'id', id);
|
|
17854
18617
|
localVarPath = "/sip/trunks/{id}/ddis"
|
|
17855
|
-
.replace(
|
|
18618
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
17856
18619
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
17857
18620
|
if (configuration) {
|
|
17858
18621
|
baseOptions = configuration.baseOptions;
|
|
@@ -18004,7 +18767,7 @@ var SIPTrunksApiAxiosParamCreator = function (configuration) {
|
|
|
18004
18767
|
// verify required parameter 'id' is not null or undefined
|
|
18005
18768
|
(0, common_1.assertParamExists)('putGetAddress', 'id', id);
|
|
18006
18769
|
localVarPath = "/sip/trunks/{id}/address"
|
|
18007
|
-
.replace(
|
|
18770
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
18008
18771
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
18009
18772
|
if (configuration) {
|
|
18010
18773
|
baseOptions = configuration.baseOptions;
|
|
@@ -18048,7 +18811,7 @@ var SIPTrunksApiAxiosParamCreator = function (configuration) {
|
|
|
18048
18811
|
// verify required parameter 'enabled' is not null or undefined
|
|
18049
18812
|
(0, common_1.assertParamExists)('putGetDiverts', 'enabled', enabled);
|
|
18050
18813
|
localVarPath = "/sip/trunks/{id}/diverts"
|
|
18051
|
-
.replace(
|
|
18814
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
18052
18815
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
18053
18816
|
if (configuration) {
|
|
18054
18817
|
baseOptions = configuration.baseOptions;
|
|
@@ -19454,7 +20217,7 @@ var ServicesApiAxiosParamCreator = function (configuration) {
|
|
|
19454
20217
|
// verify required parameter 'id' is not null or undefined
|
|
19455
20218
|
(0, common_1.assertParamExists)('patchArchiveEvent', 'id', id);
|
|
19456
20219
|
localVarPath = "/services/events/{id}/archive"
|
|
19457
|
-
.replace(
|
|
20220
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
19458
20221
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
19459
20222
|
if (configuration) {
|
|
19460
20223
|
baseOptions = configuration.baseOptions;
|
|
@@ -19492,7 +20255,7 @@ var ServicesApiAxiosParamCreator = function (configuration) {
|
|
|
19492
20255
|
// verify required parameter 'id' is not null or undefined
|
|
19493
20256
|
(0, common_1.assertParamExists)('patchUpdateEvent', 'id', id);
|
|
19494
20257
|
localVarPath = "/services/events/{id}"
|
|
19495
|
-
.replace(
|
|
20258
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
19496
20259
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
19497
20260
|
if (configuration) {
|
|
19498
20261
|
baseOptions = configuration.baseOptions;
|
|
@@ -19568,7 +20331,7 @@ var ServicesApiAxiosParamCreator = function (configuration) {
|
|
|
19568
20331
|
// verify required parameter 'id' is not null or undefined
|
|
19569
20332
|
(0, common_1.assertParamExists)('postCreateEventUpdate', 'id', id);
|
|
19570
20333
|
localVarPath = "/services/events/{id}/updates"
|
|
19571
|
-
.replace(
|
|
20334
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
19572
20335
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
19573
20336
|
if (configuration) {
|
|
19574
20337
|
baseOptions = configuration.baseOptions;
|
|
@@ -20184,7 +20947,7 @@ var StockManagementApiAxiosParamCreator = function (configuration) {
|
|
|
20184
20947
|
// verify required parameter 'id' is not null or undefined
|
|
20185
20948
|
(0, common_1.assertParamExists)('deleteDeleteStockOrder', 'id', id);
|
|
20186
20949
|
localVarPath = "/stock/orders/{id}"
|
|
20187
|
-
.replace(
|
|
20950
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
20188
20951
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
20189
20952
|
if (configuration) {
|
|
20190
20953
|
baseOptions = configuration.baseOptions;
|
|
@@ -20224,8 +20987,8 @@ var StockManagementApiAxiosParamCreator = function (configuration) {
|
|
|
20224
20987
|
// verify required parameter 'deductionId' is not null or undefined
|
|
20225
20988
|
(0, common_1.assertParamExists)('deleteDeleteStockOrderDeduction', 'deductionId', deductionId);
|
|
20226
20989
|
localVarPath = "/stock/orders/{order_id}/deductions/{deduction_id}"
|
|
20227
|
-
.replace(
|
|
20228
|
-
.replace(
|
|
20990
|
+
.replace('{order_id}', encodeURIComponent(String(orderId)))
|
|
20991
|
+
.replace('{deduction_id}', encodeURIComponent(String(deductionId)));
|
|
20229
20992
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
20230
20993
|
if (configuration) {
|
|
20231
20994
|
baseOptions = configuration.baseOptions;
|
|
@@ -20265,8 +21028,8 @@ var StockManagementApiAxiosParamCreator = function (configuration) {
|
|
|
20265
21028
|
// verify required parameter 'itemId' is not null or undefined
|
|
20266
21029
|
(0, common_1.assertParamExists)('deleteDeleteStockOrderItem', 'itemId', itemId);
|
|
20267
21030
|
localVarPath = "/stock/orders/{order_id}/items/{item_id}"
|
|
20268
|
-
.replace(
|
|
20269
|
-
.replace(
|
|
21031
|
+
.replace('{order_id}', encodeURIComponent(String(orderId)))
|
|
21032
|
+
.replace('{item_id}', encodeURIComponent(String(itemId)));
|
|
20270
21033
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
20271
21034
|
if (configuration) {
|
|
20272
21035
|
baseOptions = configuration.baseOptions;
|
|
@@ -20303,7 +21066,7 @@ var StockManagementApiAxiosParamCreator = function (configuration) {
|
|
|
20303
21066
|
// verify required parameter 'id' is not null or undefined
|
|
20304
21067
|
(0, common_1.assertParamExists)('deleteGetStockProduct', 'id', id);
|
|
20305
21068
|
localVarPath = "/stock/products/{id}"
|
|
20306
|
-
.replace(
|
|
21069
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
20307
21070
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
20308
21071
|
if (configuration) {
|
|
20309
21072
|
baseOptions = configuration.baseOptions;
|
|
@@ -20340,7 +21103,7 @@ var StockManagementApiAxiosParamCreator = function (configuration) {
|
|
|
20340
21103
|
// verify required parameter 'id' is not null or undefined
|
|
20341
21104
|
(0, common_1.assertParamExists)('getDeleteStockOrder', 'id', id);
|
|
20342
21105
|
localVarPath = "/stock/orders/{id}"
|
|
20343
|
-
.replace(
|
|
21106
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
20344
21107
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
20345
21108
|
if (configuration) {
|
|
20346
21109
|
baseOptions = configuration.baseOptions;
|
|
@@ -20378,7 +21141,7 @@ var StockManagementApiAxiosParamCreator = function (configuration) {
|
|
|
20378
21141
|
// verify required parameter 'sku' is not null or undefined
|
|
20379
21142
|
(0, common_1.assertParamExists)('getGetProductDetails', 'sku', sku);
|
|
20380
21143
|
localVarPath = "/stock/products/{sku}/details"
|
|
20381
|
-
.replace(
|
|
21144
|
+
.replace('{sku}', encodeURIComponent(String(sku)));
|
|
20382
21145
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
20383
21146
|
if (configuration) {
|
|
20384
21147
|
baseOptions = configuration.baseOptions;
|
|
@@ -20416,7 +21179,7 @@ var StockManagementApiAxiosParamCreator = function (configuration) {
|
|
|
20416
21179
|
// verify required parameter 'id' is not null or undefined
|
|
20417
21180
|
(0, common_1.assertParamExists)('getGetStockOrderPurchaseOrder', 'id', id);
|
|
20418
21181
|
localVarPath = "/stock/orders/{id}/po"
|
|
20419
|
-
.replace(
|
|
21182
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
20420
21183
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
20421
21184
|
if (configuration) {
|
|
20422
21185
|
baseOptions = configuration.baseOptions;
|
|
@@ -20454,7 +21217,7 @@ var StockManagementApiAxiosParamCreator = function (configuration) {
|
|
|
20454
21217
|
// verify required parameter 'id' is not null or undefined
|
|
20455
21218
|
(0, common_1.assertParamExists)('getGetStockOrderSupplierEmail', 'id', id);
|
|
20456
21219
|
localVarPath = "/stock/orders/{id}/supplier/email"
|
|
20457
|
-
.replace(
|
|
21220
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
20458
21221
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
20459
21222
|
if (configuration) {
|
|
20460
21223
|
baseOptions = configuration.baseOptions;
|
|
@@ -20542,7 +21305,7 @@ var StockManagementApiAxiosParamCreator = function (configuration) {
|
|
|
20542
21305
|
// verify required parameter 'id' is not null or undefined
|
|
20543
21306
|
(0, common_1.assertParamExists)('getGetStockProduct', 'id', id);
|
|
20544
21307
|
localVarPath = "/stock/products/{id}"
|
|
20545
|
-
.replace(
|
|
21308
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
20546
21309
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
20547
21310
|
if (configuration) {
|
|
20548
21311
|
baseOptions = configuration.baseOptions;
|
|
@@ -20660,7 +21423,7 @@ var StockManagementApiAxiosParamCreator = function (configuration) {
|
|
|
20660
21423
|
// verify required parameter 'id' is not null or undefined
|
|
20661
21424
|
(0, common_1.assertParamExists)('getGetStockSupplierProducts', 'id', id);
|
|
20662
21425
|
localVarPath = "/stock/suppliers/{id}/products"
|
|
20663
|
-
.replace(
|
|
21426
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
20664
21427
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
20665
21428
|
if (configuration) {
|
|
20666
21429
|
baseOptions = configuration.baseOptions;
|
|
@@ -20698,7 +21461,7 @@ var StockManagementApiAxiosParamCreator = function (configuration) {
|
|
|
20698
21461
|
// verify required parameter 'id' is not null or undefined
|
|
20699
21462
|
(0, common_1.assertParamExists)('getUploadStockOrderInvoice', 'id', id);
|
|
20700
21463
|
localVarPath = "/stock/orders/{id}/invoice"
|
|
20701
|
-
.replace(
|
|
21464
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
20702
21465
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
20703
21466
|
if (configuration) {
|
|
20704
21467
|
baseOptions = configuration.baseOptions;
|
|
@@ -20737,7 +21500,7 @@ var StockManagementApiAxiosParamCreator = function (configuration) {
|
|
|
20737
21500
|
// verify required parameter 'id' is not null or undefined
|
|
20738
21501
|
(0, common_1.assertParamExists)('patchDeleteStockOrder', 'id', id);
|
|
20739
21502
|
localVarPath = "/stock/orders/{id}"
|
|
20740
|
-
.replace(
|
|
21503
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
20741
21504
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
20742
21505
|
if (configuration) {
|
|
20743
21506
|
baseOptions = configuration.baseOptions;
|
|
@@ -20781,8 +21544,8 @@ var StockManagementApiAxiosParamCreator = function (configuration) {
|
|
|
20781
21544
|
// verify required parameter 'deductionId' is not null or undefined
|
|
20782
21545
|
(0, common_1.assertParamExists)('patchDeleteStockOrderDeduction', 'deductionId', deductionId);
|
|
20783
21546
|
localVarPath = "/stock/orders/{order_id}/deductions/{deduction_id}"
|
|
20784
|
-
.replace(
|
|
20785
|
-
.replace(
|
|
21547
|
+
.replace('{order_id}', encodeURIComponent(String(orderId)))
|
|
21548
|
+
.replace('{deduction_id}', encodeURIComponent(String(deductionId)));
|
|
20786
21549
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
20787
21550
|
if (configuration) {
|
|
20788
21551
|
baseOptions = configuration.baseOptions;
|
|
@@ -20826,8 +21589,8 @@ var StockManagementApiAxiosParamCreator = function (configuration) {
|
|
|
20826
21589
|
// verify required parameter 'itemId' is not null or undefined
|
|
20827
21590
|
(0, common_1.assertParamExists)('patchDeleteStockOrderItem', 'itemId', itemId);
|
|
20828
21591
|
localVarPath = "/stock/orders/{order_id}/items/{item_id}"
|
|
20829
|
-
.replace(
|
|
20830
|
-
.replace(
|
|
21592
|
+
.replace('{order_id}', encodeURIComponent(String(orderId)))
|
|
21593
|
+
.replace('{item_id}', encodeURIComponent(String(itemId)));
|
|
20831
21594
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
20832
21595
|
if (configuration) {
|
|
20833
21596
|
baseOptions = configuration.baseOptions;
|
|
@@ -20868,7 +21631,7 @@ var StockManagementApiAxiosParamCreator = function (configuration) {
|
|
|
20868
21631
|
// verify required parameter 'id' is not null or undefined
|
|
20869
21632
|
(0, common_1.assertParamExists)('postAddStockOrderDeduction', 'id', id);
|
|
20870
21633
|
localVarPath = "/stock/orders/{id}/deductions"
|
|
20871
|
-
.replace(
|
|
21634
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
20872
21635
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
20873
21636
|
if (configuration) {
|
|
20874
21637
|
baseOptions = configuration.baseOptions;
|
|
@@ -20909,7 +21672,7 @@ var StockManagementApiAxiosParamCreator = function (configuration) {
|
|
|
20909
21672
|
// verify required parameter 'id' is not null or undefined
|
|
20910
21673
|
(0, common_1.assertParamExists)('postAddStockOrderItem', 'id', id);
|
|
20911
21674
|
localVarPath = "/stock/orders/{id}/items"
|
|
20912
|
-
.replace(
|
|
21675
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
20913
21676
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
20914
21677
|
if (configuration) {
|
|
20915
21678
|
baseOptions = configuration.baseOptions;
|
|
@@ -21026,7 +21789,7 @@ var StockManagementApiAxiosParamCreator = function (configuration) {
|
|
|
21026
21789
|
// verify required parameter 'invoice' is not null or undefined
|
|
21027
21790
|
(0, common_1.assertParamExists)('postUploadStockOrderInvoice', 'invoice', invoice);
|
|
21028
21791
|
localVarPath = "/stock/orders/{id}/invoice"
|
|
21029
|
-
.replace(
|
|
21792
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
21030
21793
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
21031
21794
|
if (configuration) {
|
|
21032
21795
|
baseOptions = configuration.baseOptions;
|
|
@@ -21070,7 +21833,7 @@ var StockManagementApiAxiosParamCreator = function (configuration) {
|
|
|
21070
21833
|
// verify required parameter 'id' is not null or undefined
|
|
21071
21834
|
(0, common_1.assertParamExists)('putGetStockProduct', 'id', id);
|
|
21072
21835
|
localVarPath = "/stock/products/{id}"
|
|
21073
|
-
.replace(
|
|
21836
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
21074
21837
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
21075
21838
|
if (configuration) {
|
|
21076
21839
|
baseOptions = configuration.baseOptions;
|
|
@@ -21116,8 +21879,8 @@ var StockManagementApiAxiosParamCreator = function (configuration) {
|
|
|
21116
21879
|
// verify required parameter 'received' is not null or undefined
|
|
21117
21880
|
(0, common_1.assertParamExists)('putReceiveStockOrderItem', 'received', received);
|
|
21118
21881
|
localVarPath = "/stock/orders/{order_id}/items/{item_id}/receive"
|
|
21119
|
-
.replace(
|
|
21120
|
-
.replace(
|
|
21882
|
+
.replace('{order_id}', encodeURIComponent(String(orderId)))
|
|
21883
|
+
.replace('{item_id}', encodeURIComponent(String(itemId)));
|
|
21121
21884
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
21122
21885
|
if (configuration) {
|
|
21123
21886
|
baseOptions = configuration.baseOptions;
|
|
@@ -22511,7 +23274,7 @@ var TicketsApiAxiosParamCreator = function (configuration) {
|
|
|
22511
23274
|
// verify required parameter 'id' is not null or undefined
|
|
22512
23275
|
(0, common_1.assertParamExists)('getGetTicket', 'id', id);
|
|
22513
23276
|
localVarPath = "/tickets/support/{id}"
|
|
22514
|
-
.replace(
|
|
23277
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
22515
23278
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
22516
23279
|
if (configuration) {
|
|
22517
23280
|
baseOptions = configuration.baseOptions;
|
|
@@ -22548,7 +23311,7 @@ var TicketsApiAxiosParamCreator = function (configuration) {
|
|
|
22548
23311
|
// verify required parameter 'id' is not null or undefined
|
|
22549
23312
|
(0, common_1.assertParamExists)('patchCloseTicket', 'id', id);
|
|
22550
23313
|
localVarPath = "/tickets/support/{id}/close"
|
|
22551
|
-
.replace(
|
|
23314
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
22552
23315
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
22553
23316
|
if (configuration) {
|
|
22554
23317
|
baseOptions = configuration.baseOptions;
|
|
@@ -22637,7 +23400,7 @@ var TicketsApiAxiosParamCreator = function (configuration) {
|
|
|
22637
23400
|
// verify required parameter 'id' is not null or undefined
|
|
22638
23401
|
(0, common_1.assertParamExists)('postTicketReply', 'id', id);
|
|
22639
23402
|
localVarPath = "/tickets/support/{id}/reply"
|
|
22640
|
-
.replace(
|
|
23403
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
22641
23404
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
22642
23405
|
if (configuration) {
|
|
22643
23406
|
baseOptions = configuration.baseOptions;
|
|
@@ -23133,5 +23896,5 @@ exports.PostAddWebhookWebhookUriEnum = {
|
|
|
23133
23896
|
WebhookFreshdeskUpdate: '/webhook/freshdesk/update',
|
|
23134
23897
|
WebhookTest: '/webhook/test',
|
|
23135
23898
|
WebhookXeroInvoices: '/webhook/xero/invoices',
|
|
23136
|
-
WebhookTcxPhonesAdd: '/webhook/tcx/phones/add'
|
|
23899
|
+
WebhookTcxPhonesAdd: '/webhook/tcx/phones/add',
|
|
23137
23900
|
};
|