yellowgrid-api-ts 3.2.140-dev.0 → 3.2.140
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 +20 -4
- package/api.ts +1216 -365
- 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 +629 -103
- package/dist/api.js +1108 -342
- 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 -28
- 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 +1 -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,7 +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(
|
|
556
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
537
557
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
538
558
|
if (configuration) {
|
|
539
559
|
baseOptions = configuration.baseOptions;
|
|
@@ -570,7 +590,7 @@ var AccountsApiAxiosParamCreator = function (configuration) {
|
|
|
570
590
|
// verify required parameter 'email' is not null or undefined
|
|
571
591
|
(0, common_1.assertParamExists)('deleteUpdateAccountContact', 'email', email);
|
|
572
592
|
localVarPath = "/accounts/me/contacts/{email}"
|
|
573
|
-
.replace(
|
|
593
|
+
.replace('{email}', encodeURIComponent(String(email)));
|
|
574
594
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
575
595
|
if (configuration) {
|
|
576
596
|
baseOptions = configuration.baseOptions;
|
|
@@ -606,7 +626,7 @@ var AccountsApiAxiosParamCreator = function (configuration) {
|
|
|
606
626
|
// verify required parameter 'id' is not null or undefined
|
|
607
627
|
(0, common_1.assertParamExists)('getAdminCreateAccountContact', 'id', id);
|
|
608
628
|
localVarPath = "/admin/accounts/{id}/contacts"
|
|
609
|
-
.replace(
|
|
629
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
610
630
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
611
631
|
if (configuration) {
|
|
612
632
|
baseOptions = configuration.baseOptions;
|
|
@@ -660,22 +680,24 @@ var AccountsApiAxiosParamCreator = function (configuration) {
|
|
|
660
680
|
});
|
|
661
681
|
},
|
|
662
682
|
/**
|
|
663
|
-
* Get Account
|
|
664
|
-
* @
|
|
665
|
-
* @param {string} [email] Contact Email Address
|
|
683
|
+
* Get Account Addresses
|
|
684
|
+
* @param {string} id Xero ID
|
|
666
685
|
* @param {*} [options] Override http request option.
|
|
667
686
|
* @throws {RequiredError}
|
|
668
687
|
*/
|
|
669
|
-
|
|
688
|
+
getGetAccountAddresses: function (id_1) {
|
|
670
689
|
var args_1 = [];
|
|
671
690
|
for (var _i = 1; _i < arguments.length; _i++) {
|
|
672
691
|
args_1[_i - 1] = arguments[_i];
|
|
673
692
|
}
|
|
674
|
-
return __awaiter(_this, __spreadArray([
|
|
693
|
+
return __awaiter(_this, __spreadArray([id_1], args_1, true), void 0, function (id, options) {
|
|
675
694
|
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
676
695
|
if (options === void 0) { options = {}; }
|
|
677
696
|
return __generator(this, function (_a) {
|
|
678
|
-
|
|
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)));
|
|
679
701
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
680
702
|
if (configuration) {
|
|
681
703
|
baseOptions = configuration.baseOptions;
|
|
@@ -683,9 +705,6 @@ var AccountsApiAxiosParamCreator = function (configuration) {
|
|
|
683
705
|
localVarRequestOptions = __assign(__assign({ method: 'GET' }, baseOptions), options);
|
|
684
706
|
localVarHeaderParameter = {};
|
|
685
707
|
localVarQueryParameter = {};
|
|
686
|
-
if (email !== undefined) {
|
|
687
|
-
localVarQueryParameter['email'] = email;
|
|
688
|
-
}
|
|
689
708
|
localVarHeaderParameter['Accept'] = 'application/json';
|
|
690
709
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
691
710
|
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
@@ -698,25 +717,22 @@ var AccountsApiAxiosParamCreator = function (configuration) {
|
|
|
698
717
|
});
|
|
699
718
|
},
|
|
700
719
|
/**
|
|
701
|
-
* Get Account
|
|
702
|
-
* @summary Get Account
|
|
703
|
-
* @param {
|
|
720
|
+
* Get Account Contacts
|
|
721
|
+
* @summary Get Account Contacts
|
|
722
|
+
* @param {string} [email] Contact Email Address
|
|
704
723
|
* @param {*} [options] Override http request option.
|
|
705
724
|
* @throws {RequiredError}
|
|
706
725
|
*/
|
|
707
|
-
|
|
726
|
+
getGetAccountContacts: function (email_1) {
|
|
708
727
|
var args_1 = [];
|
|
709
728
|
for (var _i = 1; _i < arguments.length; _i++) {
|
|
710
729
|
args_1[_i - 1] = arguments[_i];
|
|
711
730
|
}
|
|
712
|
-
return __awaiter(_this, __spreadArray([
|
|
731
|
+
return __awaiter(_this, __spreadArray([email_1], args_1, true), void 0, function (email, options) {
|
|
713
732
|
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
714
733
|
if (options === void 0) { options = {}; }
|
|
715
734
|
return __generator(this, function (_a) {
|
|
716
|
-
|
|
717
|
-
(0, common_1.assertParamExists)('getGetAccountDetailedSummary', 'id', id);
|
|
718
|
-
localVarPath = "/accounts/{id}/summary"
|
|
719
|
-
.replace("{".concat("id", "}"), encodeURIComponent(String(id)));
|
|
735
|
+
localVarPath = "/accounts/me/contacts";
|
|
720
736
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
721
737
|
if (configuration) {
|
|
722
738
|
baseOptions = configuration.baseOptions;
|
|
@@ -724,6 +740,9 @@ var AccountsApiAxiosParamCreator = function (configuration) {
|
|
|
724
740
|
localVarRequestOptions = __assign(__assign({ method: 'GET' }, baseOptions), options);
|
|
725
741
|
localVarHeaderParameter = {};
|
|
726
742
|
localVarQueryParameter = {};
|
|
743
|
+
if (email !== undefined) {
|
|
744
|
+
localVarQueryParameter['email'] = email;
|
|
745
|
+
}
|
|
727
746
|
localVarHeaderParameter['Accept'] = 'application/json';
|
|
728
747
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
729
748
|
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
@@ -736,12 +755,13 @@ var AccountsApiAxiosParamCreator = function (configuration) {
|
|
|
736
755
|
});
|
|
737
756
|
},
|
|
738
757
|
/**
|
|
739
|
-
* Get Account
|
|
740
|
-
* @
|
|
758
|
+
* Get Account Detailed Summary
|
|
759
|
+
* @summary Get Account Detailed Summary
|
|
760
|
+
* @param {number} id Customer ID
|
|
741
761
|
* @param {*} [options] Override http request option.
|
|
742
762
|
* @throws {RequiredError}
|
|
743
763
|
*/
|
|
744
|
-
|
|
764
|
+
getGetAccountDetailedSummary: function (id_1) {
|
|
745
765
|
var args_1 = [];
|
|
746
766
|
for (var _i = 1; _i < arguments.length; _i++) {
|
|
747
767
|
args_1[_i - 1] = arguments[_i];
|
|
@@ -751,9 +771,9 @@ var AccountsApiAxiosParamCreator = function (configuration) {
|
|
|
751
771
|
if (options === void 0) { options = {}; }
|
|
752
772
|
return __generator(this, function (_a) {
|
|
753
773
|
// verify required parameter 'id' is not null or undefined
|
|
754
|
-
(0, common_1.assertParamExists)('
|
|
755
|
-
localVarPath = "/
|
|
756
|
-
.replace(
|
|
774
|
+
(0, common_1.assertParamExists)('getGetAccountDetailedSummary', 'id', id);
|
|
775
|
+
localVarPath = "/accounts/{id}/summary"
|
|
776
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
757
777
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
758
778
|
if (configuration) {
|
|
759
779
|
baseOptions = configuration.baseOptions;
|
|
@@ -890,6 +910,114 @@ var AccountsApiAxiosParamCreator = function (configuration) {
|
|
|
890
910
|
});
|
|
891
911
|
});
|
|
892
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
|
+
},
|
|
893
1021
|
/**
|
|
894
1022
|
* Verify account email address
|
|
895
1023
|
* @summary Verify account email address
|
|
@@ -950,8 +1078,8 @@ var AccountsApiAxiosParamCreator = function (configuration) {
|
|
|
950
1078
|
// verify required parameter 'state' is not null or undefined
|
|
951
1079
|
(0, common_1.assertParamExists)('patchSetPortalAccess', 'state', state);
|
|
952
1080
|
localVarPath = "/admin/accounts/{id}/portal/access/{state}"
|
|
953
|
-
.replace(
|
|
954
|
-
.replace(
|
|
1081
|
+
.replace('{id}', encodeURIComponent(String(id)))
|
|
1082
|
+
.replace('{state}', encodeURIComponent(String(state)));
|
|
955
1083
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
956
1084
|
if (configuration) {
|
|
957
1085
|
baseOptions = configuration.baseOptions;
|
|
@@ -990,8 +1118,8 @@ var AccountsApiAxiosParamCreator = function (configuration) {
|
|
|
990
1118
|
// verify required parameter 'state' is not null or undefined
|
|
991
1119
|
(0, common_1.assertParamExists)('patchSetPrizePromo', 'state', state);
|
|
992
1120
|
localVarPath = "/admin/accounts/{id}/prizes/{state}"
|
|
993
|
-
.replace(
|
|
994
|
-
.replace(
|
|
1121
|
+
.replace('{id}', encodeURIComponent(String(id)))
|
|
1122
|
+
.replace('{state}', encodeURIComponent(String(state)));
|
|
995
1123
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
996
1124
|
if (configuration) {
|
|
997
1125
|
baseOptions = configuration.baseOptions;
|
|
@@ -1063,7 +1191,7 @@ var AccountsApiAxiosParamCreator = function (configuration) {
|
|
|
1063
1191
|
// verify required parameter 'id' is not null or undefined
|
|
1064
1192
|
(0, common_1.assertParamExists)('patchUpdateAccountCname', 'id', id);
|
|
1065
1193
|
localVarPath = "/admin/accounts/{id}/cname"
|
|
1066
|
-
.replace(
|
|
1194
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
1067
1195
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
1068
1196
|
if (configuration) {
|
|
1069
1197
|
baseOptions = configuration.baseOptions;
|
|
@@ -1102,7 +1230,7 @@ var AccountsApiAxiosParamCreator = function (configuration) {
|
|
|
1102
1230
|
// verify required parameter 'id' is not null or undefined
|
|
1103
1231
|
(0, common_1.assertParamExists)('patchUpdateAccountCompanyNumber', 'id', id);
|
|
1104
1232
|
localVarPath = "/admin/accounts/{id}/companyNumber"
|
|
1105
|
-
.replace(
|
|
1233
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
1106
1234
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
1107
1235
|
if (configuration) {
|
|
1108
1236
|
baseOptions = configuration.baseOptions;
|
|
@@ -1183,7 +1311,7 @@ var AccountsApiAxiosParamCreator = function (configuration) {
|
|
|
1183
1311
|
// verify required parameter 'id' is not null or undefined
|
|
1184
1312
|
(0, common_1.assertParamExists)('patchUpdateAccountPhone', 'id', id);
|
|
1185
1313
|
localVarPath = "/admin/accounts/{id}/phone"
|
|
1186
|
-
.replace(
|
|
1314
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
1187
1315
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
1188
1316
|
if (configuration) {
|
|
1189
1317
|
baseOptions = configuration.baseOptions;
|
|
@@ -1222,7 +1350,7 @@ var AccountsApiAxiosParamCreator = function (configuration) {
|
|
|
1222
1350
|
// verify required parameter 'id' is not null or undefined
|
|
1223
1351
|
(0, common_1.assertParamExists)('patchUpdateAccountVatNumber', 'id', id);
|
|
1224
1352
|
localVarPath = "/admin/accounts/{id}/vatNumber"
|
|
1225
|
-
.replace(
|
|
1353
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
1226
1354
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
1227
1355
|
if (configuration) {
|
|
1228
1356
|
baseOptions = configuration.baseOptions;
|
|
@@ -1261,7 +1389,7 @@ var AccountsApiAxiosParamCreator = function (configuration) {
|
|
|
1261
1389
|
// verify required parameter 'id' is not null or undefined
|
|
1262
1390
|
(0, common_1.assertParamExists)('patchUpdateCreditLimit', 'id', id);
|
|
1263
1391
|
localVarPath = "/admin/accounts/{id}/creditLimit"
|
|
1264
|
-
.replace(
|
|
1392
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
1265
1393
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
1266
1394
|
if (configuration) {
|
|
1267
1395
|
baseOptions = configuration.baseOptions;
|
|
@@ -1301,7 +1429,7 @@ var AccountsApiAxiosParamCreator = function (configuration) {
|
|
|
1301
1429
|
// verify required parameter 'id' is not null or undefined
|
|
1302
1430
|
(0, common_1.assertParamExists)('patchUpdatePriceList', 'id', id);
|
|
1303
1431
|
localVarPath = "/admin/accounts/{id}/priceList"
|
|
1304
|
-
.replace(
|
|
1432
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
1305
1433
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
1306
1434
|
if (configuration) {
|
|
1307
1435
|
baseOptions = configuration.baseOptions;
|
|
@@ -1341,7 +1469,7 @@ var AccountsApiAxiosParamCreator = function (configuration) {
|
|
|
1341
1469
|
// verify required parameter 'id' is not null or undefined
|
|
1342
1470
|
(0, common_1.assertParamExists)('patchUpdateSipChannelCost', 'id', id);
|
|
1343
1471
|
localVarPath = "/admin/accounts/{id}/channelCost"
|
|
1344
|
-
.replace(
|
|
1472
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
1345
1473
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
1346
1474
|
if (configuration) {
|
|
1347
1475
|
baseOptions = configuration.baseOptions;
|
|
@@ -1362,6 +1490,86 @@ var AccountsApiAxiosParamCreator = function (configuration) {
|
|
|
1362
1490
|
});
|
|
1363
1491
|
});
|
|
1364
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
|
+
},
|
|
1365
1573
|
/**
|
|
1366
1574
|
* Create Account Contact
|
|
1367
1575
|
* @param {string} id Account Xero ID
|
|
@@ -1381,7 +1589,7 @@ var AccountsApiAxiosParamCreator = function (configuration) {
|
|
|
1381
1589
|
// verify required parameter 'id' is not null or undefined
|
|
1382
1590
|
(0, common_1.assertParamExists)('postAdminCreateAccountContact', 'id', id);
|
|
1383
1591
|
localVarPath = "/admin/accounts/{id}/contacts"
|
|
1384
|
-
.replace(
|
|
1592
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
1385
1593
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
1386
1594
|
if (configuration) {
|
|
1387
1595
|
baseOptions = configuration.baseOptions;
|
|
@@ -1564,7 +1772,7 @@ var AccountsApiAxiosParamCreator = function (configuration) {
|
|
|
1564
1772
|
// verify required parameter 'email' is not null or undefined
|
|
1565
1773
|
(0, common_1.assertParamExists)('postSendEmailVerificationEmail', 'email', email);
|
|
1566
1774
|
localVarPath = "/accounts/contacts/verify/{email}"
|
|
1567
|
-
.replace(
|
|
1775
|
+
.replace('{email}', encodeURIComponent(String(email)));
|
|
1568
1776
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
1569
1777
|
if (configuration) {
|
|
1570
1778
|
baseOptions = configuration.baseOptions;
|
|
@@ -1640,7 +1848,7 @@ var AccountsApiAxiosParamCreator = function (configuration) {
|
|
|
1640
1848
|
// verify required parameter 'id' is not null or undefined
|
|
1641
1849
|
(0, common_1.assertParamExists)('postSendWelcomeEmail', 'id', id);
|
|
1642
1850
|
localVarPath = "/admin/accounts/{id}/email/welcome"
|
|
1643
|
-
.replace(
|
|
1851
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
1644
1852
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
1645
1853
|
if (configuration) {
|
|
1646
1854
|
baseOptions = configuration.baseOptions;
|
|
@@ -1727,8 +1935,8 @@ var AccountsApiAxiosParamCreator = function (configuration) {
|
|
|
1727
1935
|
// verify required parameter 'contactId' is not null or undefined
|
|
1728
1936
|
(0, common_1.assertParamExists)('putAdminUpdateAccountContact', 'contactId', contactId);
|
|
1729
1937
|
localVarPath = "/admin/accounts/{id}/contacts/{contact_id}"
|
|
1730
|
-
.replace(
|
|
1731
|
-
.replace(
|
|
1938
|
+
.replace('{id}', encodeURIComponent(String(id)))
|
|
1939
|
+
.replace('{contact_id}', encodeURIComponent(String(contactId)));
|
|
1732
1940
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
1733
1941
|
if (configuration) {
|
|
1734
1942
|
baseOptions = configuration.baseOptions;
|
|
@@ -1768,7 +1976,7 @@ var AccountsApiAxiosParamCreator = function (configuration) {
|
|
|
1768
1976
|
// verify required parameter 'email' is not null or undefined
|
|
1769
1977
|
(0, common_1.assertParamExists)('putUpdateAccountContact', 'email', email);
|
|
1770
1978
|
localVarPath = "/accounts/me/contacts/{email}"
|
|
1771
|
-
.replace(
|
|
1979
|
+
.replace('{email}', encodeURIComponent(String(email)));
|
|
1772
1980
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
1773
1981
|
if (configuration) {
|
|
1774
1982
|
baseOptions = configuration.baseOptions;
|
|
@@ -1807,7 +2015,7 @@ var AccountsApiAxiosParamCreator = function (configuration) {
|
|
|
1807
2015
|
// verify required parameter 'id' is not null or undefined
|
|
1808
2016
|
(0, common_1.assertParamExists)('putUpdateBillingAddress', 'id', id);
|
|
1809
2017
|
localVarPath = "/admin/accounts/{id}/billing/address"
|
|
1810
|
-
.replace(
|
|
2018
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
1811
2019
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
1812
2020
|
if (configuration) {
|
|
1813
2021
|
baseOptions = configuration.baseOptions;
|
|
@@ -1846,7 +2054,7 @@ var AccountsApiAxiosParamCreator = function (configuration) {
|
|
|
1846
2054
|
// verify required parameter 'id' is not null or undefined
|
|
1847
2055
|
(0, common_1.assertParamExists)('putUpdateShippingAddress', 'id', id);
|
|
1848
2056
|
localVarPath = "/admin/accounts/{id}/shipping/address"
|
|
1849
|
-
.replace(
|
|
2057
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
1850
2058
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
1851
2059
|
if (configuration) {
|
|
1852
2060
|
baseOptions = configuration.baseOptions;
|
|
@@ -2011,68 +2219,68 @@ var AccountsApiFp = function (configuration) {
|
|
|
2011
2219
|
});
|
|
2012
2220
|
},
|
|
2013
2221
|
/**
|
|
2014
|
-
* Get Account
|
|
2015
|
-
* @
|
|
2016
|
-
* @param {string} [email] Contact Email Address
|
|
2222
|
+
* Get Account Addresses
|
|
2223
|
+
* @param {string} id Xero ID
|
|
2017
2224
|
* @param {*} [options] Override http request option.
|
|
2018
2225
|
* @throws {RequiredError}
|
|
2019
2226
|
*/
|
|
2020
|
-
|
|
2227
|
+
getGetAccountAddresses: function (id, options) {
|
|
2021
2228
|
return __awaiter(this, void 0, void 0, function () {
|
|
2022
2229
|
var localVarAxiosArgs, localVarOperationServerIndex, localVarOperationServerBasePath;
|
|
2023
2230
|
var _a, _b, _c;
|
|
2024
2231
|
return __generator(this, function (_d) {
|
|
2025
2232
|
switch (_d.label) {
|
|
2026
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.
|
|
2233
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.getGetAccountAddresses(id, options)];
|
|
2027
2234
|
case 1:
|
|
2028
2235
|
localVarAxiosArgs = _d.sent();
|
|
2029
2236
|
localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
2030
|
-
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;
|
|
2031
2238
|
return [2 /*return*/, function (axios, basePath) { return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath); }];
|
|
2032
2239
|
}
|
|
2033
2240
|
});
|
|
2034
2241
|
});
|
|
2035
2242
|
},
|
|
2036
2243
|
/**
|
|
2037
|
-
* Get Account
|
|
2038
|
-
* @summary Get Account
|
|
2039
|
-
* @param {
|
|
2244
|
+
* Get Account Contacts
|
|
2245
|
+
* @summary Get Account Contacts
|
|
2246
|
+
* @param {string} [email] Contact Email Address
|
|
2040
2247
|
* @param {*} [options] Override http request option.
|
|
2041
2248
|
* @throws {RequiredError}
|
|
2042
2249
|
*/
|
|
2043
|
-
|
|
2250
|
+
getGetAccountContacts: function (email, options) {
|
|
2044
2251
|
return __awaiter(this, void 0, void 0, function () {
|
|
2045
2252
|
var localVarAxiosArgs, localVarOperationServerIndex, localVarOperationServerBasePath;
|
|
2046
2253
|
var _a, _b, _c;
|
|
2047
2254
|
return __generator(this, function (_d) {
|
|
2048
2255
|
switch (_d.label) {
|
|
2049
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.
|
|
2256
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.getGetAccountContacts(email, options)];
|
|
2050
2257
|
case 1:
|
|
2051
2258
|
localVarAxiosArgs = _d.sent();
|
|
2052
2259
|
localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
2053
|
-
localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['AccountsApi.
|
|
2260
|
+
localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['AccountsApi.getGetAccountContacts']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
2054
2261
|
return [2 /*return*/, function (axios, basePath) { return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath); }];
|
|
2055
2262
|
}
|
|
2056
2263
|
});
|
|
2057
2264
|
});
|
|
2058
2265
|
},
|
|
2059
2266
|
/**
|
|
2060
|
-
* Get Account
|
|
2061
|
-
* @
|
|
2267
|
+
* Get Account Detailed Summary
|
|
2268
|
+
* @summary Get Account Detailed Summary
|
|
2269
|
+
* @param {number} id Customer ID
|
|
2062
2270
|
* @param {*} [options] Override http request option.
|
|
2063
2271
|
* @throws {RequiredError}
|
|
2064
2272
|
*/
|
|
2065
|
-
|
|
2273
|
+
getGetAccountDetailedSummary: function (id, options) {
|
|
2066
2274
|
return __awaiter(this, void 0, void 0, function () {
|
|
2067
2275
|
var localVarAxiosArgs, localVarOperationServerIndex, localVarOperationServerBasePath;
|
|
2068
2276
|
var _a, _b, _c;
|
|
2069
2277
|
return __generator(this, function (_d) {
|
|
2070
2278
|
switch (_d.label) {
|
|
2071
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.
|
|
2279
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.getGetAccountDetailedSummary(id, options)];
|
|
2072
2280
|
case 1:
|
|
2073
2281
|
localVarAxiosArgs = _d.sent();
|
|
2074
2282
|
localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
2075
|
-
localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['AccountsApi.
|
|
2283
|
+
localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['AccountsApi.getGetAccountDetailedSummary']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
2076
2284
|
return [2 /*return*/, function (axios, basePath) { return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath); }];
|
|
2077
2285
|
}
|
|
2078
2286
|
});
|
|
@@ -2148,6 +2356,72 @@ var AccountsApiFp = function (configuration) {
|
|
|
2148
2356
|
});
|
|
2149
2357
|
});
|
|
2150
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
|
+
},
|
|
2151
2425
|
/**
|
|
2152
2426
|
* Verify account email address
|
|
2153
2427
|
* @summary Verify account email address
|
|
@@ -2424,6 +2698,52 @@ var AccountsApiFp = function (configuration) {
|
|
|
2424
2698
|
});
|
|
2425
2699
|
});
|
|
2426
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
|
+
},
|
|
2427
2747
|
/**
|
|
2428
2748
|
* Create Account Contact
|
|
2429
2749
|
* @param {string} id Account Xero ID
|
|
@@ -2792,6 +3112,15 @@ var AccountsApiFactory = function (configuration, basePath, axios) {
|
|
|
2792
3112
|
getGetAccount: function (options) {
|
|
2793
3113
|
return localVarFp.getGetAccount(options).then(function (request) { return request(axios, basePath); });
|
|
2794
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
|
+
},
|
|
2795
3124
|
/**
|
|
2796
3125
|
* Get Account Contacts
|
|
2797
3126
|
* @summary Get Account Contacts
|
|
@@ -2812,15 +3141,6 @@ var AccountsApiFactory = function (configuration, basePath, axios) {
|
|
|
2812
3141
|
getGetAccountDetailedSummary: function (id, options) {
|
|
2813
3142
|
return localVarFp.getGetAccountDetailedSummary(id, options).then(function (request) { return request(axios, basePath); });
|
|
2814
3143
|
},
|
|
2815
|
-
/**
|
|
2816
|
-
* Get Account Page Details
|
|
2817
|
-
* @param {string} id Xero ID
|
|
2818
|
-
* @param {*} [options] Override http request option.
|
|
2819
|
-
* @throws {RequiredError}
|
|
2820
|
-
*/
|
|
2821
|
-
getGetAccountPageInfo: function (id, options) {
|
|
2822
|
-
return localVarFp.getGetAccountPageInfo(id, options).then(function (request) { return request(axios, basePath); });
|
|
2823
|
-
},
|
|
2824
3144
|
/**
|
|
2825
3145
|
* Get Accounts
|
|
2826
3146
|
* @summary Get Accounts
|
|
@@ -2852,6 +3172,33 @@ var AccountsApiFactory = function (configuration, basePath, axios) {
|
|
|
2852
3172
|
getGetCustomerKeys: function (options) {
|
|
2853
3173
|
return localVarFp.getGetCustomerKeys(options).then(function (request) { return request(axios, basePath); });
|
|
2854
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
|
+
},
|
|
2855
3202
|
/**
|
|
2856
3203
|
* Verify account email address
|
|
2857
3204
|
* @summary Verify account email address
|
|
@@ -2972,6 +3319,26 @@ var AccountsApiFactory = function (configuration, basePath, axios) {
|
|
|
2972
3319
|
patchUpdateSipChannelCost: function (id, patchUpdateSipChannelCostRequest, options) {
|
|
2973
3320
|
return localVarFp.patchUpdateSipChannelCost(id, patchUpdateSipChannelCostRequest, options).then(function (request) { return request(axios, basePath); });
|
|
2974
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
|
+
},
|
|
2975
3342
|
/**
|
|
2976
3343
|
* Create Account Contact
|
|
2977
3344
|
* @param {string} id Account Xero ID
|
|
@@ -3179,6 +3546,16 @@ var AccountsApi = /** @class */ (function (_super) {
|
|
|
3179
3546
|
var _this = this;
|
|
3180
3547
|
return (0, exports.AccountsApiFp)(this.configuration).getGetAccount(options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
3181
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
|
+
};
|
|
3182
3559
|
/**
|
|
3183
3560
|
* Get Account Contacts
|
|
3184
3561
|
* @summary Get Account Contacts
|
|
@@ -3201,16 +3578,6 @@ var AccountsApi = /** @class */ (function (_super) {
|
|
|
3201
3578
|
var _this = this;
|
|
3202
3579
|
return (0, exports.AccountsApiFp)(this.configuration).getGetAccountDetailedSummary(id, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
3203
3580
|
};
|
|
3204
|
-
/**
|
|
3205
|
-
* Get Account Page Details
|
|
3206
|
-
* @param {string} id Xero ID
|
|
3207
|
-
* @param {*} [options] Override http request option.
|
|
3208
|
-
* @throws {RequiredError}
|
|
3209
|
-
*/
|
|
3210
|
-
AccountsApi.prototype.getGetAccountPageInfo = function (id, options) {
|
|
3211
|
-
var _this = this;
|
|
3212
|
-
return (0, exports.AccountsApiFp)(this.configuration).getGetAccountPageInfo(id, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
3213
|
-
};
|
|
3214
3581
|
/**
|
|
3215
3582
|
* Get Accounts
|
|
3216
3583
|
* @summary Get Accounts
|
|
@@ -3245,6 +3612,36 @@ var AccountsApi = /** @class */ (function (_super) {
|
|
|
3245
3612
|
var _this = this;
|
|
3246
3613
|
return (0, exports.AccountsApiFp)(this.configuration).getGetCustomerKeys(options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
3247
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
|
+
};
|
|
3248
3645
|
/**
|
|
3249
3646
|
* Verify account email address
|
|
3250
3647
|
* @summary Verify account email address
|
|
@@ -3377,6 +3774,28 @@ var AccountsApi = /** @class */ (function (_super) {
|
|
|
3377
3774
|
var _this = this;
|
|
3378
3775
|
return (0, exports.AccountsApiFp)(this.configuration).patchUpdateSipChannelCost(id, patchUpdateSipChannelCostRequest, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
3379
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
|
+
};
|
|
3380
3799
|
/**
|
|
3381
3800
|
* Create Account Contact
|
|
3382
3801
|
* @param {string} id Account Xero ID
|
|
@@ -3489,51 +3908,164 @@ var AccountsApi = /** @class */ (function (_super) {
|
|
|
3489
3908
|
var _this = this;
|
|
3490
3909
|
return (0, exports.AccountsApiFp)(this.configuration).putAdminUpdateAccountContact(id, contactId, accountContactRequestModel, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
3491
3910
|
};
|
|
3492
|
-
/**
|
|
3493
|
-
* Update Account Contacts
|
|
3494
|
-
* @summary Update Account Contact
|
|
3495
|
-
* @param {string} email Contact Email Address
|
|
3496
|
-
* @param {AccountContactRequestModel} [accountContactRequestModel] Account request
|
|
3497
|
-
* @param {*} [options] Override http request option.
|
|
3498
|
-
* @throws {RequiredError}
|
|
3499
|
-
*/
|
|
3500
|
-
AccountsApi.prototype.putUpdateAccountContact = function (email, accountContactRequestModel, options) {
|
|
3501
|
-
var _this = this;
|
|
3502
|
-
return (0, exports.AccountsApiFp)(this.configuration).putUpdateAccountContact(email, accountContactRequestModel, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
3911
|
+
/**
|
|
3912
|
+
* Update Account Contacts
|
|
3913
|
+
* @summary Update Account Contact
|
|
3914
|
+
* @param {string} email Contact Email Address
|
|
3915
|
+
* @param {AccountContactRequestModel} [accountContactRequestModel] Account request
|
|
3916
|
+
* @param {*} [options] Override http request option.
|
|
3917
|
+
* @throws {RequiredError}
|
|
3918
|
+
*/
|
|
3919
|
+
AccountsApi.prototype.putUpdateAccountContact = function (email, accountContactRequestModel, options) {
|
|
3920
|
+
var _this = this;
|
|
3921
|
+
return (0, exports.AccountsApiFp)(this.configuration).putUpdateAccountContact(email, accountContactRequestModel, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
3922
|
+
};
|
|
3923
|
+
/**
|
|
3924
|
+
* Update Account Billing Address
|
|
3925
|
+
* @param {string} id Xero ID
|
|
3926
|
+
* @param {AddressDTO} [addressDTO] Updated Billing Address
|
|
3927
|
+
* @param {*} [options] Override http request option.
|
|
3928
|
+
* @throws {RequiredError}
|
|
3929
|
+
*/
|
|
3930
|
+
AccountsApi.prototype.putUpdateBillingAddress = function (id, addressDTO, options) {
|
|
3931
|
+
var _this = this;
|
|
3932
|
+
return (0, exports.AccountsApiFp)(this.configuration).putUpdateBillingAddress(id, addressDTO, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
3933
|
+
};
|
|
3934
|
+
/**
|
|
3935
|
+
* Update Account Shipping Address
|
|
3936
|
+
* @param {string} id Xero ID
|
|
3937
|
+
* @param {AddressDTO} [addressDTO] Updated Shipping Address
|
|
3938
|
+
* @param {*} [options] Override http request option.
|
|
3939
|
+
* @throws {RequiredError}
|
|
3940
|
+
*/
|
|
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
|
+
},
|
|
3503
4027
|
};
|
|
3504
|
-
|
|
3505
|
-
|
|
3506
|
-
|
|
3507
|
-
|
|
3508
|
-
|
|
3509
|
-
|
|
3510
|
-
|
|
3511
|
-
|
|
3512
|
-
|
|
3513
|
-
|
|
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
|
+
},
|
|
3514
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
|
+
}
|
|
3515
4056
|
/**
|
|
3516
|
-
*
|
|
3517
|
-
* @
|
|
3518
|
-
* @param {AddressDTO} [addressDTO] Updated Shipping Address
|
|
4057
|
+
* Get Billing Customers
|
|
4058
|
+
* @summary Get Billing Customers
|
|
3519
4059
|
* @param {*} [options] Override http request option.
|
|
3520
4060
|
* @throws {RequiredError}
|
|
3521
4061
|
*/
|
|
3522
|
-
|
|
4062
|
+
BillingApi.prototype.getGetAllCustomer = function (options) {
|
|
3523
4063
|
var _this = this;
|
|
3524
|
-
return (0, exports.
|
|
4064
|
+
return (0, exports.BillingApiFp)(this.configuration).getGetAllCustomer(options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
3525
4065
|
};
|
|
3526
|
-
return
|
|
4066
|
+
return BillingApi;
|
|
3527
4067
|
}(base_1.BaseAPI));
|
|
3528
|
-
exports.
|
|
3529
|
-
exports.PatchSetPortalAccessStateEnum = {
|
|
3530
|
-
Enable: 'enable',
|
|
3531
|
-
Disable: 'disable'
|
|
3532
|
-
};
|
|
3533
|
-
exports.PatchSetPrizePromoStateEnum = {
|
|
3534
|
-
Enable: 'enable',
|
|
3535
|
-
Disable: 'disable'
|
|
3536
|
-
};
|
|
4068
|
+
exports.BillingApi = BillingApi;
|
|
3537
4069
|
/**
|
|
3538
4070
|
* CRMApi - axios parameter creator
|
|
3539
4071
|
*/
|
|
@@ -3560,7 +4092,7 @@ var CRMApiAxiosParamCreator = function (configuration) {
|
|
|
3560
4092
|
// verify required parameter 'id' is not null or undefined
|
|
3561
4093
|
(0, common_1.assertParamExists)('getGetCrmActivities', 'id', id);
|
|
3562
4094
|
localVarPath = "/admin/crm/{id}/activities"
|
|
3563
|
-
.replace(
|
|
4095
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
3564
4096
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
3565
4097
|
if (configuration) {
|
|
3566
4098
|
baseOptions = configuration.baseOptions;
|
|
@@ -3637,7 +4169,7 @@ var CRMApiAxiosParamCreator = function (configuration) {
|
|
|
3637
4169
|
// verify required parameter 'id' is not null or undefined
|
|
3638
4170
|
(0, common_1.assertParamExists)('postCreateCrmNote', 'id', id);
|
|
3639
4171
|
localVarPath = "/admin/crm/{id}/activities/note"
|
|
3640
|
-
.replace(
|
|
4172
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
3641
4173
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
3642
4174
|
if (configuration) {
|
|
3643
4175
|
baseOptions = configuration.baseOptions;
|
|
@@ -3822,10 +4354,11 @@ exports.CRMApi = CRMApi;
|
|
|
3822
4354
|
exports.GetGetCrmActivitiesTypeEnum = {
|
|
3823
4355
|
Alert: 'alert',
|
|
3824
4356
|
Call: 'call',
|
|
4357
|
+
Email: 'email',
|
|
3825
4358
|
Note: 'note',
|
|
3826
4359
|
Order: 'order',
|
|
3827
4360
|
Quote: 'quote',
|
|
3828
|
-
TcxOrder: 'tcx_order'
|
|
4361
|
+
TcxOrder: 'tcx_order',
|
|
3829
4362
|
};
|
|
3830
4363
|
/**
|
|
3831
4364
|
* Class3CXApi - axios parameter creator
|
|
@@ -4300,7 +4833,7 @@ var Class3CXInstallationWizardApiAxiosParamCreator = function (configuration) {
|
|
|
4300
4833
|
// verify required parameter 'id' is not null or undefined
|
|
4301
4834
|
(0, common_1.assertParamExists)('getGetDdisTcxWizard', 'id', id);
|
|
4302
4835
|
localVarPath = "/tcx/wizards/sip/trunks/{id}/ddis"
|
|
4303
|
-
.replace(
|
|
4836
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
4304
4837
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
4305
4838
|
if (configuration) {
|
|
4306
4839
|
baseOptions = configuration.baseOptions;
|
|
@@ -4529,7 +5062,7 @@ var Class3CXInstallationWizardApiAxiosParamCreator = function (configuration) {
|
|
|
4529
5062
|
// verify required parameter 'id' is not null or undefined
|
|
4530
5063
|
(0, common_1.assertParamExists)('getGetSipTrunkTcxWizard', 'id', id);
|
|
4531
5064
|
localVarPath = "/tcx/wizards/sip/trunks/{id}"
|
|
4532
|
-
.replace(
|
|
5065
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
4533
5066
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
4534
5067
|
if (configuration) {
|
|
4535
5068
|
baseOptions = configuration.baseOptions;
|
|
@@ -5167,7 +5700,7 @@ var Class3CXInstallationWizardApiAxiosParamCreator = function (configuration) {
|
|
|
5167
5700
|
// verify required parameter 'id' is not null or undefined
|
|
5168
5701
|
(0, common_1.assertParamExists)('postGetDdisTcxWizard', 'id', id);
|
|
5169
5702
|
localVarPath = "/tcx/wizards/sip/trunks/{id}/ddis"
|
|
5170
|
-
.replace(
|
|
5703
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
5171
5704
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
5172
5705
|
if (configuration) {
|
|
5173
5706
|
baseOptions = configuration.baseOptions;
|
|
@@ -6906,7 +7439,7 @@ var Class3CXInstallationsApiAxiosParamCreator = function (configuration) {
|
|
|
6906
7439
|
// verify required parameter 'wizardId' is not null or undefined
|
|
6907
7440
|
(0, common_1.assertParamExists)('getGetDetails', 'wizardId', wizardId);
|
|
6908
7441
|
localVarPath = "/tcx/installations/{wizard_id}/details"
|
|
6909
|
-
.replace(
|
|
7442
|
+
.replace('{wizard_id}', encodeURIComponent(String(wizardId)));
|
|
6910
7443
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
6911
7444
|
if (configuration) {
|
|
6912
7445
|
baseOptions = configuration.baseOptions;
|
|
@@ -6987,6 +7520,44 @@ var Class3CXInstallationsApiAxiosParamCreator = function (configuration) {
|
|
|
6987
7520
|
});
|
|
6988
7521
|
});
|
|
6989
7522
|
},
|
|
7523
|
+
/**
|
|
7524
|
+
* Get Recording Backup Storage
|
|
7525
|
+
* @summary Get Recording Backup Storage
|
|
7526
|
+
* @param {string} instanceId Instance ID
|
|
7527
|
+
* @param {*} [options] Override http request option.
|
|
7528
|
+
* @throws {RequiredError}
|
|
7529
|
+
*/
|
|
7530
|
+
getGetRecordingBackupStorage: function (instanceId_1) {
|
|
7531
|
+
var args_1 = [];
|
|
7532
|
+
for (var _i = 1; _i < arguments.length; _i++) {
|
|
7533
|
+
args_1[_i - 1] = arguments[_i];
|
|
7534
|
+
}
|
|
7535
|
+
return __awaiter(_this, __spreadArray([instanceId_1], args_1, true), void 0, function (instanceId, options) {
|
|
7536
|
+
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
7537
|
+
if (options === void 0) { options = {}; }
|
|
7538
|
+
return __generator(this, function (_a) {
|
|
7539
|
+
// verify required parameter 'instanceId' is not null or undefined
|
|
7540
|
+
(0, common_1.assertParamExists)('getGetRecordingBackupStorage', 'instanceId', instanceId);
|
|
7541
|
+
localVarPath = "/tcx/installations/{instance_id}/recordings/backup"
|
|
7542
|
+
.replace('{instance_id}', encodeURIComponent(String(instanceId)));
|
|
7543
|
+
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
7544
|
+
if (configuration) {
|
|
7545
|
+
baseOptions = configuration.baseOptions;
|
|
7546
|
+
}
|
|
7547
|
+
localVarRequestOptions = __assign(__assign({ method: 'GET' }, baseOptions), options);
|
|
7548
|
+
localVarHeaderParameter = {};
|
|
7549
|
+
localVarQueryParameter = {};
|
|
7550
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
7551
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
7552
|
+
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
7553
|
+
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
7554
|
+
return [2 /*return*/, {
|
|
7555
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
7556
|
+
options: localVarRequestOptions,
|
|
7557
|
+
}];
|
|
7558
|
+
});
|
|
7559
|
+
});
|
|
7560
|
+
},
|
|
6990
7561
|
/**
|
|
6991
7562
|
* Change instance owner
|
|
6992
7563
|
* @summary Change instance owner
|
|
@@ -7009,7 +7580,7 @@ var Class3CXInstallationsApiAxiosParamCreator = function (configuration) {
|
|
|
7009
7580
|
// verify required parameter 'customerId' is not null or undefined
|
|
7010
7581
|
(0, common_1.assertParamExists)('patchChangeInstanceOwner', 'customerId', customerId);
|
|
7011
7582
|
localVarPath = "/tcx/installations/{instance_id}/owner"
|
|
7012
|
-
.replace(
|
|
7583
|
+
.replace('{instance_id}', encodeURIComponent(String(instanceId)));
|
|
7013
7584
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
7014
7585
|
if (configuration) {
|
|
7015
7586
|
baseOptions = configuration.baseOptions;
|
|
@@ -7052,7 +7623,7 @@ var Class3CXInstallationsApiAxiosParamCreator = function (configuration) {
|
|
|
7052
7623
|
// verify required parameter 'enable' is not null or undefined
|
|
7053
7624
|
(0, common_1.assertParamExists)('patchUpdateAutoFailover', 'enable', enable);
|
|
7054
7625
|
localVarPath = "/tcx/installations/{instance_id}/failover/auto"
|
|
7055
|
-
.replace(
|
|
7626
|
+
.replace('{instance_id}', encodeURIComponent(String(instanceId)));
|
|
7056
7627
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
7057
7628
|
if (configuration) {
|
|
7058
7629
|
baseOptions = configuration.baseOptions;
|
|
@@ -7095,7 +7666,7 @@ var Class3CXInstallationsApiAxiosParamCreator = function (configuration) {
|
|
|
7095
7666
|
// verify required parameter 'gigabytes' is not null or undefined
|
|
7096
7667
|
(0, common_1.assertParamExists)('postAddDisk', 'gigabytes', gigabytes);
|
|
7097
7668
|
localVarPath = "/tcx/installations/{instance_id}/disk"
|
|
7098
|
-
.replace(
|
|
7669
|
+
.replace('{instance_id}', encodeURIComponent(String(instanceId)));
|
|
7099
7670
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
7100
7671
|
if (configuration) {
|
|
7101
7672
|
baseOptions = configuration.baseOptions;
|
|
@@ -7141,7 +7712,7 @@ var Class3CXInstallationsApiAxiosParamCreator = function (configuration) {
|
|
|
7141
7712
|
// verify required parameter 'ipAddress' is not null or undefined
|
|
7142
7713
|
(0, common_1.assertParamExists)('postCreateSshUser', 'ipAddress', ipAddress);
|
|
7143
7714
|
localVarPath = "/tcx/installations/{instance_id}/create/user/root"
|
|
7144
|
-
.replace(
|
|
7715
|
+
.replace('{instance_id}', encodeURIComponent(String(instanceId)));
|
|
7145
7716
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
7146
7717
|
if (configuration) {
|
|
7147
7718
|
baseOptions = configuration.baseOptions;
|
|
@@ -7185,7 +7756,7 @@ var Class3CXInstallationsApiAxiosParamCreator = function (configuration) {
|
|
|
7185
7756
|
// verify required parameter 'instanceId' is not null or undefined
|
|
7186
7757
|
(0, common_1.assertParamExists)('postDeleteInstance', 'instanceId', instanceId);
|
|
7187
7758
|
localVarPath = "/tcx/installations/{instance_id}/delete"
|
|
7188
|
-
.replace(
|
|
7759
|
+
.replace('{instance_id}', encodeURIComponent(String(instanceId)));
|
|
7189
7760
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
7190
7761
|
if (configuration) {
|
|
7191
7762
|
baseOptions = configuration.baseOptions;
|
|
@@ -7226,7 +7797,7 @@ var Class3CXInstallationsApiAxiosParamCreator = function (configuration) {
|
|
|
7226
7797
|
// verify required parameter 'gigabytes' is not null or undefined
|
|
7227
7798
|
(0, common_1.assertParamExists)('postExtendDisk', 'gigabytes', gigabytes);
|
|
7228
7799
|
localVarPath = "/tcx/installations/{instance_id}/disk/extend"
|
|
7229
|
-
.replace(
|
|
7800
|
+
.replace('{instance_id}', encodeURIComponent(String(instanceId)));
|
|
7230
7801
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
7231
7802
|
if (configuration) {
|
|
7232
7803
|
baseOptions = configuration.baseOptions;
|
|
@@ -7272,7 +7843,7 @@ var Class3CXInstallationsApiAxiosParamCreator = function (configuration) {
|
|
|
7272
7843
|
// verify required parameter 'type' is not null or undefined
|
|
7273
7844
|
(0, common_1.assertParamExists)('postFailoverInstance', 'type', type);
|
|
7274
7845
|
localVarPath = "/tcx/installations/{instance_id}/failover"
|
|
7275
|
-
.replace(
|
|
7846
|
+
.replace('{instance_id}', encodeURIComponent(String(instanceId)));
|
|
7276
7847
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
7277
7848
|
if (configuration) {
|
|
7278
7849
|
baseOptions = configuration.baseOptions;
|
|
@@ -7312,7 +7883,7 @@ var Class3CXInstallationsApiAxiosParamCreator = function (configuration) {
|
|
|
7312
7883
|
// verify required parameter 'sbcId' is not null or undefined
|
|
7313
7884
|
(0, common_1.assertParamExists)('postInstallTcxSbc', 'sbcId', sbcId);
|
|
7314
7885
|
localVarPath = "/tcx/installations/sbcs/{sbc_id}/install"
|
|
7315
|
-
.replace(
|
|
7886
|
+
.replace('{sbc_id}', encodeURIComponent(String(sbcId)));
|
|
7316
7887
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
7317
7888
|
if (configuration) {
|
|
7318
7889
|
baseOptions = configuration.baseOptions;
|
|
@@ -7350,7 +7921,7 @@ var Class3CXInstallationsApiAxiosParamCreator = function (configuration) {
|
|
|
7350
7921
|
// verify required parameter 'instanceId' is not null or undefined
|
|
7351
7922
|
(0, common_1.assertParamExists)('postRebootInstance', 'instanceId', instanceId);
|
|
7352
7923
|
localVarPath = "/tcx/installations/{instance_id}/reboot"
|
|
7353
|
-
.replace(
|
|
7924
|
+
.replace('{instance_id}', encodeURIComponent(String(instanceId)));
|
|
7354
7925
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
7355
7926
|
if (configuration) {
|
|
7356
7927
|
baseOptions = configuration.baseOptions;
|
|
@@ -7391,7 +7962,7 @@ var Class3CXInstallationsApiAxiosParamCreator = function (configuration) {
|
|
|
7391
7962
|
// verify required parameter 'size' is not null or undefined
|
|
7392
7963
|
(0, common_1.assertParamExists)('postResizeInstance', 'size', size);
|
|
7393
7964
|
localVarPath = "/tcx/installations/{instance_id}/resize"
|
|
7394
|
-
.replace(
|
|
7965
|
+
.replace('{instance_id}', encodeURIComponent(String(instanceId)));
|
|
7395
7966
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
7396
7967
|
if (configuration) {
|
|
7397
7968
|
baseOptions = configuration.baseOptions;
|
|
@@ -7435,7 +8006,7 @@ var Class3CXInstallationsApiAxiosParamCreator = function (configuration) {
|
|
|
7435
8006
|
// verify required parameter 'instanceId' is not null or undefined
|
|
7436
8007
|
(0, common_1.assertParamExists)('postRestartServices', 'instanceId', instanceId);
|
|
7437
8008
|
localVarPath = "/tcx/installations/{instance_id}/services/restart"
|
|
7438
|
-
.replace(
|
|
8009
|
+
.replace('{instance_id}', encodeURIComponent(String(instanceId)));
|
|
7439
8010
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
7440
8011
|
if (configuration) {
|
|
7441
8012
|
baseOptions = configuration.baseOptions;
|
|
@@ -7476,7 +8047,7 @@ var Class3CXInstallationsApiAxiosParamCreator = function (configuration) {
|
|
|
7476
8047
|
// verify required parameter 'instanceId' is not null or undefined
|
|
7477
8048
|
(0, common_1.assertParamExists)('postScheduledReboot', 'instanceId', instanceId);
|
|
7478
8049
|
localVarPath = "/tcx/installations/{instance_id}/reboot/scheduled"
|
|
7479
|
-
.replace(
|
|
8050
|
+
.replace('{instance_id}', encodeURIComponent(String(instanceId)));
|
|
7480
8051
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
7481
8052
|
if (configuration) {
|
|
7482
8053
|
baseOptions = configuration.baseOptions;
|
|
@@ -7517,7 +8088,7 @@ var Class3CXInstallationsApiAxiosParamCreator = function (configuration) {
|
|
|
7517
8088
|
// verify required parameter 'instanceId' is not null or undefined
|
|
7518
8089
|
(0, common_1.assertParamExists)('postSuspendInstance', 'instanceId', instanceId);
|
|
7519
8090
|
localVarPath = "/tcx/installations/{instance_id}/suspend"
|
|
7520
|
-
.replace(
|
|
8091
|
+
.replace('{instance_id}', encodeURIComponent(String(instanceId)));
|
|
7521
8092
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
7522
8093
|
if (configuration) {
|
|
7523
8094
|
baseOptions = configuration.baseOptions;
|
|
@@ -7557,7 +8128,7 @@ var Class3CXInstallationsApiAxiosParamCreator = function (configuration) {
|
|
|
7557
8128
|
// verify required parameter 'instanceId' is not null or undefined
|
|
7558
8129
|
(0, common_1.assertParamExists)('postTestLoginCredentials', 'instanceId', instanceId);
|
|
7559
8130
|
localVarPath = "/tcx/installations/{instance_id}/tests/login"
|
|
7560
|
-
.replace(
|
|
8131
|
+
.replace('{instance_id}', encodeURIComponent(String(instanceId)));
|
|
7561
8132
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
7562
8133
|
if (configuration) {
|
|
7563
8134
|
baseOptions = configuration.baseOptions;
|
|
@@ -7594,7 +8165,7 @@ var Class3CXInstallationsApiAxiosParamCreator = function (configuration) {
|
|
|
7594
8165
|
// verify required parameter 'instanceId' is not null or undefined
|
|
7595
8166
|
(0, common_1.assertParamExists)('postUnsuspendInstance', 'instanceId', instanceId);
|
|
7596
8167
|
localVarPath = "/tcx/installations/{instance_id}/unsuspend"
|
|
7597
|
-
.replace(
|
|
8168
|
+
.replace('{instance_id}', encodeURIComponent(String(instanceId)));
|
|
7598
8169
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
7599
8170
|
if (configuration) {
|
|
7600
8171
|
baseOptions = configuration.baseOptions;
|
|
@@ -7634,7 +8205,7 @@ var Class3CXInstallationsApiAxiosParamCreator = function (configuration) {
|
|
|
7634
8205
|
// verify required parameter 'schedule' is not null or undefined
|
|
7635
8206
|
(0, common_1.assertParamExists)('postUpgradeDebian', 'schedule', schedule);
|
|
7636
8207
|
localVarPath = "/tcx/installations/{instance_id}/debian/upgrade"
|
|
7637
|
-
.replace(
|
|
8208
|
+
.replace('{instance_id}', encodeURIComponent(String(instanceId)));
|
|
7638
8209
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
7639
8210
|
if (configuration) {
|
|
7640
8211
|
baseOptions = configuration.baseOptions;
|
|
@@ -7675,7 +8246,7 @@ var Class3CXInstallationsApiAxiosParamCreator = function (configuration) {
|
|
|
7675
8246
|
// verify required parameter 'wizardId' is not null or undefined
|
|
7676
8247
|
(0, common_1.assertParamExists)('putGetDetails', 'wizardId', wizardId);
|
|
7677
8248
|
localVarPath = "/tcx/installations/{wizard_id}/details"
|
|
7678
|
-
.replace(
|
|
8249
|
+
.replace('{wizard_id}', encodeURIComponent(String(wizardId)));
|
|
7679
8250
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
7680
8251
|
if (configuration) {
|
|
7681
8252
|
baseOptions = configuration.baseOptions;
|
|
@@ -7757,6 +8328,29 @@ var Class3CXInstallationsApiFp = function (configuration) {
|
|
|
7757
8328
|
});
|
|
7758
8329
|
});
|
|
7759
8330
|
},
|
|
8331
|
+
/**
|
|
8332
|
+
* Get Recording Backup Storage
|
|
8333
|
+
* @summary Get Recording Backup Storage
|
|
8334
|
+
* @param {string} instanceId Instance ID
|
|
8335
|
+
* @param {*} [options] Override http request option.
|
|
8336
|
+
* @throws {RequiredError}
|
|
8337
|
+
*/
|
|
8338
|
+
getGetRecordingBackupStorage: function (instanceId, options) {
|
|
8339
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
8340
|
+
var localVarAxiosArgs, localVarOperationServerIndex, localVarOperationServerBasePath;
|
|
8341
|
+
var _a, _b, _c;
|
|
8342
|
+
return __generator(this, function (_d) {
|
|
8343
|
+
switch (_d.label) {
|
|
8344
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.getGetRecordingBackupStorage(instanceId, options)];
|
|
8345
|
+
case 1:
|
|
8346
|
+
localVarAxiosArgs = _d.sent();
|
|
8347
|
+
localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
8348
|
+
localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['Class3CXInstallationsApi.getGetRecordingBackupStorage']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
8349
|
+
return [2 /*return*/, function (axios, basePath) { return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath); }];
|
|
8350
|
+
}
|
|
8351
|
+
});
|
|
8352
|
+
});
|
|
8353
|
+
},
|
|
7760
8354
|
/**
|
|
7761
8355
|
* Change instance owner
|
|
7762
8356
|
* @summary Change instance owner
|
|
@@ -8198,6 +8792,16 @@ var Class3CXInstallationsApiFactory = function (configuration, basePath, axios)
|
|
|
8198
8792
|
getGetInstallations: function (pageSize, page, customerId, search, status, hosting, installType, options) {
|
|
8199
8793
|
return localVarFp.getGetInstallations(pageSize, page, customerId, search, status, hosting, installType, options).then(function (request) { return request(axios, basePath); });
|
|
8200
8794
|
},
|
|
8795
|
+
/**
|
|
8796
|
+
* Get Recording Backup Storage
|
|
8797
|
+
* @summary Get Recording Backup Storage
|
|
8798
|
+
* @param {string} instanceId Instance ID
|
|
8799
|
+
* @param {*} [options] Override http request option.
|
|
8800
|
+
* @throws {RequiredError}
|
|
8801
|
+
*/
|
|
8802
|
+
getGetRecordingBackupStorage: function (instanceId, options) {
|
|
8803
|
+
return localVarFp.getGetRecordingBackupStorage(instanceId, options).then(function (request) { return request(axios, basePath); });
|
|
8804
|
+
},
|
|
8201
8805
|
/**
|
|
8202
8806
|
* Change instance owner
|
|
8203
8807
|
* @summary Change instance owner
|
|
@@ -8422,6 +9026,17 @@ var Class3CXInstallationsApi = /** @class */ (function (_super) {
|
|
|
8422
9026
|
var _this = this;
|
|
8423
9027
|
return (0, exports.Class3CXInstallationsApiFp)(this.configuration).getGetInstallations(pageSize, page, customerId, search, status, hosting, installType, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
8424
9028
|
};
|
|
9029
|
+
/**
|
|
9030
|
+
* Get Recording Backup Storage
|
|
9031
|
+
* @summary Get Recording Backup Storage
|
|
9032
|
+
* @param {string} instanceId Instance ID
|
|
9033
|
+
* @param {*} [options] Override http request option.
|
|
9034
|
+
* @throws {RequiredError}
|
|
9035
|
+
*/
|
|
9036
|
+
Class3CXInstallationsApi.prototype.getGetRecordingBackupStorage = function (instanceId, options) {
|
|
9037
|
+
var _this = this;
|
|
9038
|
+
return (0, exports.Class3CXInstallationsApiFp)(this.configuration).getGetRecordingBackupStorage(instanceId, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
9039
|
+
};
|
|
8425
9040
|
/**
|
|
8426
9041
|
* Change instance owner
|
|
8427
9042
|
* @summary Change instance owner
|
|
@@ -8631,30 +9246,30 @@ exports.GetGetInstallationsStatusEnum = {
|
|
|
8631
9246
|
Completed: 'Completed',
|
|
8632
9247
|
Outstanding: 'Outstanding',
|
|
8633
9248
|
Offline: 'Offline',
|
|
8634
|
-
FailedOver: 'Failed Over'
|
|
9249
|
+
FailedOver: 'Failed Over',
|
|
8635
9250
|
};
|
|
8636
9251
|
exports.GetGetInstallationsHostingEnum = {
|
|
8637
9252
|
Yellowgrid: 'yellowgrid',
|
|
8638
9253
|
MultiTenant: 'multi-tenant',
|
|
8639
9254
|
Onprem: 'onprem',
|
|
8640
|
-
All: 'all'
|
|
9255
|
+
All: 'all',
|
|
8641
9256
|
};
|
|
8642
9257
|
exports.GetGetInstallationsInstallTypeEnum = {
|
|
8643
9258
|
New: 'new',
|
|
8644
9259
|
Restore: 'restore',
|
|
8645
9260
|
Failover: 'failover',
|
|
8646
|
-
MultiTenant: 'multi-tenant'
|
|
9261
|
+
MultiTenant: 'multi-tenant',
|
|
8647
9262
|
};
|
|
8648
9263
|
exports.PostFailoverInstanceTypeEnum = {
|
|
8649
9264
|
Config: 'config',
|
|
8650
|
-
Image: 'image'
|
|
9265
|
+
Image: 'image',
|
|
8651
9266
|
};
|
|
8652
9267
|
exports.PostResizeInstanceSizeEnum = {
|
|
8653
9268
|
D24: 'd2-4',
|
|
8654
9269
|
D28: 'd2-8',
|
|
8655
9270
|
B230: 'b2-30',
|
|
8656
9271
|
S2vcpu4gb: 's-2vcpu-4gb',
|
|
8657
|
-
S4vcpu8gb: 's-4vcpu-8gb'
|
|
9272
|
+
S4vcpu8gb: 's-4vcpu-8gb',
|
|
8658
9273
|
};
|
|
8659
9274
|
/**
|
|
8660
9275
|
* Class3CXIntegrationsApi - axios parameter creator
|
|
@@ -8809,8 +9424,8 @@ var Class3CXIntegrationsApiAxiosParamCreator = function (configuration) {
|
|
|
8809
9424
|
// verify required parameter 'ref' is not null or undefined
|
|
8810
9425
|
(0, common_1.assertParamExists)('patchUpdateEtpOrderReference', 'ref', ref);
|
|
8811
9426
|
localVarPath = "/tcx/integrations/edtechpro/{clientId}/schools/{schoolId}/orderReference"
|
|
8812
|
-
.replace(
|
|
8813
|
-
.replace(
|
|
9427
|
+
.replace('{clientId}', encodeURIComponent(String(clientId)))
|
|
9428
|
+
.replace('{schoolId}', encodeURIComponent(String(schoolId)));
|
|
8814
9429
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
8815
9430
|
if (configuration) {
|
|
8816
9431
|
baseOptions = configuration.baseOptions;
|
|
@@ -9195,11 +9810,11 @@ var Class3CXIntegrationsApi = /** @class */ (function (_super) {
|
|
|
9195
9810
|
exports.Class3CXIntegrationsApi = Class3CXIntegrationsApi;
|
|
9196
9811
|
exports.GetGetPriceLicenceTypeEnum = {
|
|
9197
9812
|
Lite: 'lite',
|
|
9198
|
-
Pro: 'pro'
|
|
9813
|
+
Pro: 'pro',
|
|
9199
9814
|
};
|
|
9200
9815
|
exports.GetGetPriceSchoolTypeEnum = {
|
|
9201
9816
|
Primary: 'primary',
|
|
9202
|
-
Secondary: 'secondary'
|
|
9817
|
+
Secondary: 'secondary',
|
|
9203
9818
|
};
|
|
9204
9819
|
/**
|
|
9205
9820
|
* Class3CXMultiTenantApi - axios parameter creator
|
|
@@ -9226,7 +9841,7 @@ var Class3CXMultiTenantApiAxiosParamCreator = function (configuration) {
|
|
|
9226
9841
|
// verify required parameter 'reference' is not null or undefined
|
|
9227
9842
|
(0, common_1.assertParamExists)('deleteGetTenant', 'reference', reference);
|
|
9228
9843
|
localVarPath = "/tcx/mt/tenants/{reference}"
|
|
9229
|
-
.replace(
|
|
9844
|
+
.replace('{reference}', encodeURIComponent(String(reference)));
|
|
9230
9845
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
9231
9846
|
if (configuration) {
|
|
9232
9847
|
baseOptions = configuration.baseOptions;
|
|
@@ -9303,7 +9918,7 @@ var Class3CXMultiTenantApiAxiosParamCreator = function (configuration) {
|
|
|
9303
9918
|
// verify required parameter 'reference' is not null or undefined
|
|
9304
9919
|
(0, common_1.assertParamExists)('getGetTenant', 'reference', reference);
|
|
9305
9920
|
localVarPath = "/tcx/mt/tenants/{reference}"
|
|
9306
|
-
.replace(
|
|
9921
|
+
.replace('{reference}', encodeURIComponent(String(reference)));
|
|
9307
9922
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
9308
9923
|
if (configuration) {
|
|
9309
9924
|
baseOptions = configuration.baseOptions;
|
|
@@ -9920,7 +10535,7 @@ exports.GetGetTenantsStatusEnum = {
|
|
|
9920
10535
|
Completed: 'Completed',
|
|
9921
10536
|
Outstanding: 'Outstanding',
|
|
9922
10537
|
Offline: 'Offline',
|
|
9923
|
-
FailedOver: 'Failed Over'
|
|
10538
|
+
FailedOver: 'Failed Over',
|
|
9924
10539
|
};
|
|
9925
10540
|
/**
|
|
9926
10541
|
* MyPBXToolsApi - axios parameter creator
|
|
@@ -10077,7 +10692,7 @@ var NumberPortingApiAxiosParamCreator = function (configuration) {
|
|
|
10077
10692
|
// verify required parameter 'id' is not null or undefined
|
|
10078
10693
|
(0, common_1.assertParamExists)('deleteGetAdminNumberPort', 'id', id);
|
|
10079
10694
|
localVarPath = "/admin/sip/numbers/ports/{id}"
|
|
10080
|
-
.replace(
|
|
10695
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
10081
10696
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
10082
10697
|
if (configuration) {
|
|
10083
10698
|
baseOptions = configuration.baseOptions;
|
|
@@ -10158,7 +10773,7 @@ var NumberPortingApiAxiosParamCreator = function (configuration) {
|
|
|
10158
10773
|
// verify required parameter 'id' is not null or undefined
|
|
10159
10774
|
(0, common_1.assertParamExists)('getGetAdminNumberPort', 'id', id);
|
|
10160
10775
|
localVarPath = "/admin/sip/numbers/ports/{id}"
|
|
10161
|
-
.replace(
|
|
10776
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
10162
10777
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
10163
10778
|
if (configuration) {
|
|
10164
10779
|
baseOptions = configuration.baseOptions;
|
|
@@ -10240,7 +10855,7 @@ var NumberPortingApiAxiosParamCreator = function (configuration) {
|
|
|
10240
10855
|
// verify required parameter 'id' is not null or undefined
|
|
10241
10856
|
(0, common_1.assertParamExists)('getUpdateNumberPort', 'id', id);
|
|
10242
10857
|
localVarPath = "/sip/numbers/ports/{id}"
|
|
10243
|
-
.replace(
|
|
10858
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
10244
10859
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
10245
10860
|
if (configuration) {
|
|
10246
10861
|
baseOptions = configuration.baseOptions;
|
|
@@ -10277,7 +10892,7 @@ var NumberPortingApiAxiosParamCreator = function (configuration) {
|
|
|
10277
10892
|
// verify required parameter 'id' is not null or undefined
|
|
10278
10893
|
(0, common_1.assertParamExists)('patchCancelAdminNumberPort', 'id', id);
|
|
10279
10894
|
localVarPath = "/admin/sip/numbers/ports/{id}/cancel"
|
|
10280
|
-
.replace(
|
|
10895
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
10281
10896
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
10282
10897
|
if (configuration) {
|
|
10283
10898
|
baseOptions = configuration.baseOptions;
|
|
@@ -10314,7 +10929,7 @@ var NumberPortingApiAxiosParamCreator = function (configuration) {
|
|
|
10314
10929
|
// verify required parameter 'id' is not null or undefined
|
|
10315
10930
|
(0, common_1.assertParamExists)('patchCloseAdminNumberPort', 'id', id);
|
|
10316
10931
|
localVarPath = "/admin/sip/numbers/ports/{id}/close"
|
|
10317
|
-
.replace(
|
|
10932
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
10318
10933
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
10319
10934
|
if (configuration) {
|
|
10320
10935
|
baseOptions = configuration.baseOptions;
|
|
@@ -10354,7 +10969,7 @@ var NumberPortingApiAxiosParamCreator = function (configuration) {
|
|
|
10354
10969
|
// verify required parameter 'numberPortAdminNoteBody' is not null or undefined
|
|
10355
10970
|
(0, common_1.assertParamExists)('postAddAdminNote', 'numberPortAdminNoteBody', numberPortAdminNoteBody);
|
|
10356
10971
|
localVarPath = "/admin/sip/numbers/ports/{id}/notes"
|
|
10357
|
-
.replace(
|
|
10972
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
10358
10973
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
10359
10974
|
if (configuration) {
|
|
10360
10975
|
baseOptions = configuration.baseOptions;
|
|
@@ -10489,7 +11104,7 @@ var NumberPortingApiAxiosParamCreator = function (configuration) {
|
|
|
10489
11104
|
// verify required parameter 'id' is not null or undefined
|
|
10490
11105
|
(0, common_1.assertParamExists)('postSubmitNumberPort', 'id', id);
|
|
10491
11106
|
localVarPath = "/sip/numbers/ports/{id}/submit"
|
|
10492
|
-
.replace(
|
|
11107
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
10493
11108
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
10494
11109
|
if (configuration) {
|
|
10495
11110
|
baseOptions = configuration.baseOptions;
|
|
@@ -10577,7 +11192,7 @@ var NumberPortingApiAxiosParamCreator = function (configuration) {
|
|
|
10577
11192
|
// verify required parameter 'id' is not null or undefined
|
|
10578
11193
|
(0, common_1.assertParamExists)('postUpdateNumberPort', 'id', id);
|
|
10579
11194
|
localVarPath = "/sip/numbers/ports/{id}"
|
|
10580
|
-
.replace(
|
|
11195
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
10581
11196
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
10582
11197
|
if (configuration) {
|
|
10583
11198
|
baseOptions = configuration.baseOptions;
|
|
@@ -10656,7 +11271,7 @@ var NumberPortingApiAxiosParamCreator = function (configuration) {
|
|
|
10656
11271
|
// verify required parameter 'numberPortDTO' is not null or undefined
|
|
10657
11272
|
(0, common_1.assertParamExists)('putGetAdminNumberPort', 'numberPortDTO', numberPortDTO);
|
|
10658
11273
|
localVarPath = "/admin/sip/numbers/ports/{id}"
|
|
10659
|
-
.replace(
|
|
11274
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
10660
11275
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
10661
11276
|
if (configuration) {
|
|
10662
11277
|
baseOptions = configuration.baseOptions;
|
|
@@ -11584,6 +12199,38 @@ var OAuth20ApiAxiosParamCreator = function (configuration) {
|
|
|
11584
12199
|
});
|
|
11585
12200
|
});
|
|
11586
12201
|
},
|
|
12202
|
+
/**
|
|
12203
|
+
* Remove Oauth 2.0 Cookies
|
|
12204
|
+
* @param {*} [options] Override http request option.
|
|
12205
|
+
* @throws {RequiredError}
|
|
12206
|
+
*/
|
|
12207
|
+
postLogout: function () {
|
|
12208
|
+
var args_1 = [];
|
|
12209
|
+
for (var _i = 0; _i < arguments.length; _i++) {
|
|
12210
|
+
args_1[_i] = arguments[_i];
|
|
12211
|
+
}
|
|
12212
|
+
return __awaiter(_this, __spreadArray([], args_1, true), void 0, function (options) {
|
|
12213
|
+
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
12214
|
+
if (options === void 0) { options = {}; }
|
|
12215
|
+
return __generator(this, function (_a) {
|
|
12216
|
+
localVarPath = "/oauth2/logout";
|
|
12217
|
+
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
12218
|
+
if (configuration) {
|
|
12219
|
+
baseOptions = configuration.baseOptions;
|
|
12220
|
+
}
|
|
12221
|
+
localVarRequestOptions = __assign(__assign({ method: 'POST' }, baseOptions), options);
|
|
12222
|
+
localVarHeaderParameter = {};
|
|
12223
|
+
localVarQueryParameter = {};
|
|
12224
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
12225
|
+
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
12226
|
+
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
12227
|
+
return [2 /*return*/, {
|
|
12228
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
12229
|
+
options: localVarRequestOptions,
|
|
12230
|
+
}];
|
|
12231
|
+
});
|
|
12232
|
+
});
|
|
12233
|
+
},
|
|
11587
12234
|
/**
|
|
11588
12235
|
* Portal Login
|
|
11589
12236
|
* @summary Portal Login
|
|
@@ -11759,6 +12406,27 @@ var OAuth20ApiFp = function (configuration) {
|
|
|
11759
12406
|
});
|
|
11760
12407
|
});
|
|
11761
12408
|
},
|
|
12409
|
+
/**
|
|
12410
|
+
* Remove Oauth 2.0 Cookies
|
|
12411
|
+
* @param {*} [options] Override http request option.
|
|
12412
|
+
* @throws {RequiredError}
|
|
12413
|
+
*/
|
|
12414
|
+
postLogout: function (options) {
|
|
12415
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
12416
|
+
var localVarAxiosArgs, localVarOperationServerIndex, localVarOperationServerBasePath;
|
|
12417
|
+
var _a, _b, _c;
|
|
12418
|
+
return __generator(this, function (_d) {
|
|
12419
|
+
switch (_d.label) {
|
|
12420
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.postLogout(options)];
|
|
12421
|
+
case 1:
|
|
12422
|
+
localVarAxiosArgs = _d.sent();
|
|
12423
|
+
localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
12424
|
+
localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['OAuth20Api.postLogout']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
12425
|
+
return [2 /*return*/, function (axios, basePath) { return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath); }];
|
|
12426
|
+
}
|
|
12427
|
+
});
|
|
12428
|
+
});
|
|
12429
|
+
},
|
|
11762
12430
|
/**
|
|
11763
12431
|
* Portal Login
|
|
11764
12432
|
* @summary Portal Login
|
|
@@ -11855,6 +12523,14 @@ var OAuth20ApiFactory = function (configuration, basePath, axios) {
|
|
|
11855
12523
|
postGetIdentity: function (options) {
|
|
11856
12524
|
return localVarFp.postGetIdentity(options).then(function (request) { return request(axios, basePath); });
|
|
11857
12525
|
},
|
|
12526
|
+
/**
|
|
12527
|
+
* Remove Oauth 2.0 Cookies
|
|
12528
|
+
* @param {*} [options] Override http request option.
|
|
12529
|
+
* @throws {RequiredError}
|
|
12530
|
+
*/
|
|
12531
|
+
postLogout: function (options) {
|
|
12532
|
+
return localVarFp.postLogout(options).then(function (request) { return request(axios, basePath); });
|
|
12533
|
+
},
|
|
11858
12534
|
/**
|
|
11859
12535
|
* Portal Login
|
|
11860
12536
|
* @summary Portal Login
|
|
@@ -11945,6 +12621,15 @@ var OAuth20Api = /** @class */ (function (_super) {
|
|
|
11945
12621
|
var _this = this;
|
|
11946
12622
|
return (0, exports.OAuth20ApiFp)(this.configuration).postGetIdentity(options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
11947
12623
|
};
|
|
12624
|
+
/**
|
|
12625
|
+
* Remove Oauth 2.0 Cookies
|
|
12626
|
+
* @param {*} [options] Override http request option.
|
|
12627
|
+
* @throws {RequiredError}
|
|
12628
|
+
*/
|
|
12629
|
+
OAuth20Api.prototype.postLogout = function (options) {
|
|
12630
|
+
var _this = this;
|
|
12631
|
+
return (0, exports.OAuth20ApiFp)(this.configuration).postLogout(options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
12632
|
+
};
|
|
11948
12633
|
/**
|
|
11949
12634
|
* Portal Login
|
|
11950
12635
|
* @summary Portal Login
|
|
@@ -11966,7 +12651,7 @@ exports.PostAccessTokenGrantTypeEnum = {
|
|
|
11966
12651
|
AuthorizationCode: 'authorization_code',
|
|
11967
12652
|
MsAuth: 'ms_auth',
|
|
11968
12653
|
TokenExchange: 'token_exchange',
|
|
11969
|
-
Password: 'password'
|
|
12654
|
+
Password: 'password',
|
|
11970
12655
|
};
|
|
11971
12656
|
exports.PostAccessTokenScopeEnum = {
|
|
11972
12657
|
Star: '*',
|
|
@@ -11996,11 +12681,11 @@ exports.PostAccessTokenScopeEnum = {
|
|
|
11996
12681
|
TcxMtRead: 'tcx_mt.read',
|
|
11997
12682
|
TcxMtWrite: 'tcx_mt.write',
|
|
11998
12683
|
TicketsRead: 'tickets.read',
|
|
11999
|
-
TicketsWrite: 'tickets.write'
|
|
12684
|
+
TicketsWrite: 'tickets.write',
|
|
12000
12685
|
};
|
|
12001
12686
|
exports.PostAccessTokenTokenExchangeTypeEnum = {
|
|
12002
12687
|
TcxWizard: 'tcx_wizard',
|
|
12003
|
-
Portal: 'portal'
|
|
12688
|
+
Portal: 'portal',
|
|
12004
12689
|
};
|
|
12005
12690
|
exports.PostAuthoriseScopeEnum = {
|
|
12006
12691
|
Star: '*',
|
|
@@ -12030,7 +12715,7 @@ exports.PostAuthoriseScopeEnum = {
|
|
|
12030
12715
|
TcxMtRead: 'tcx_mt.read',
|
|
12031
12716
|
TcxMtWrite: 'tcx_mt.write',
|
|
12032
12717
|
TicketsRead: 'tickets.read',
|
|
12033
|
-
TicketsWrite: 'tickets.write'
|
|
12718
|
+
TicketsWrite: 'tickets.write',
|
|
12034
12719
|
};
|
|
12035
12720
|
/**
|
|
12036
12721
|
* OrdersApi - axios parameter creator
|
|
@@ -12059,8 +12744,8 @@ var OrdersApiAxiosParamCreator = function (configuration) {
|
|
|
12059
12744
|
// verify required parameter 'batchId' is not null or undefined
|
|
12060
12745
|
(0, common_1.assertParamExists)('deleteDeleteBatch', 'batchId', batchId);
|
|
12061
12746
|
localVarPath = "/admin/orders/{id}/batches/{batch_id}"
|
|
12062
|
-
.replace(
|
|
12063
|
-
.replace(
|
|
12747
|
+
.replace('{id}', encodeURIComponent(String(id)))
|
|
12748
|
+
.replace('{batch_id}', encodeURIComponent(String(batchId)));
|
|
12064
12749
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
12065
12750
|
if (configuration) {
|
|
12066
12751
|
baseOptions = configuration.baseOptions;
|
|
@@ -12097,7 +12782,7 @@ var OrdersApiAxiosParamCreator = function (configuration) {
|
|
|
12097
12782
|
// verify required parameter 'id' is not null or undefined
|
|
12098
12783
|
(0, common_1.assertParamExists)('deleteUpdateOrder', 'id', id);
|
|
12099
12784
|
localVarPath = "/orders/{id}"
|
|
12100
|
-
.replace(
|
|
12785
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
12101
12786
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
12102
12787
|
if (configuration) {
|
|
12103
12788
|
baseOptions = configuration.baseOptions;
|
|
@@ -12140,9 +12825,9 @@ var OrdersApiAxiosParamCreator = function (configuration) {
|
|
|
12140
12825
|
// verify required parameter 'shipmentId' is not null or undefined
|
|
12141
12826
|
(0, common_1.assertParamExists)('deleteUpdateShipment', 'shipmentId', shipmentId);
|
|
12142
12827
|
localVarPath = "/admin/orders/{id}/batches/{batch_id}/shipments/{shipment_id}"
|
|
12143
|
-
.replace(
|
|
12144
|
-
.replace(
|
|
12145
|
-
.replace(
|
|
12828
|
+
.replace('{id}', encodeURIComponent(String(id)))
|
|
12829
|
+
.replace('{batch_id}', encodeURIComponent(String(batchId)))
|
|
12830
|
+
.replace('{shipment_id}', encodeURIComponent(String(shipmentId)));
|
|
12146
12831
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
12147
12832
|
if (configuration) {
|
|
12148
12833
|
baseOptions = configuration.baseOptions;
|
|
@@ -12179,7 +12864,7 @@ var OrdersApiAxiosParamCreator = function (configuration) {
|
|
|
12179
12864
|
// verify required parameter 'id' is not null or undefined
|
|
12180
12865
|
(0, common_1.assertParamExists)('getGetAdminEditableOrder', 'id', id);
|
|
12181
12866
|
localVarPath = "/admin/orders/{id}/views/editable"
|
|
12182
|
-
.replace(
|
|
12867
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
12183
12868
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
12184
12869
|
if (configuration) {
|
|
12185
12870
|
baseOptions = configuration.baseOptions;
|
|
@@ -12217,7 +12902,7 @@ var OrdersApiAxiosParamCreator = function (configuration) {
|
|
|
12217
12902
|
// verify required parameter 'id' is not null or undefined
|
|
12218
12903
|
(0, common_1.assertParamExists)('getGetAdminOrderDetails', 'id', id);
|
|
12219
12904
|
localVarPath = "/admin/orders/{id}/details"
|
|
12220
|
-
.replace(
|
|
12905
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
12221
12906
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
12222
12907
|
if (configuration) {
|
|
12223
12908
|
baseOptions = configuration.baseOptions;
|
|
@@ -12261,9 +12946,9 @@ var OrdersApiAxiosParamCreator = function (configuration) {
|
|
|
12261
12946
|
// verify required parameter 'shipmentId' is not null or undefined
|
|
12262
12947
|
(0, common_1.assertParamExists)('getGetCommercialInvoice', 'shipmentId', shipmentId);
|
|
12263
12948
|
localVarPath = "/admin/orders/{id}/batches/{batch_id}/shipments/{shipment_id}/pdf"
|
|
12264
|
-
.replace(
|
|
12265
|
-
.replace(
|
|
12266
|
-
.replace(
|
|
12949
|
+
.replace('{id}', encodeURIComponent(String(id)))
|
|
12950
|
+
.replace('{batch_id}', encodeURIComponent(String(batchId)))
|
|
12951
|
+
.replace('{shipment_id}', encodeURIComponent(String(shipmentId)));
|
|
12267
12952
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
12268
12953
|
if (configuration) {
|
|
12269
12954
|
baseOptions = configuration.baseOptions;
|
|
@@ -12301,7 +12986,7 @@ var OrdersApiAxiosParamCreator = function (configuration) {
|
|
|
12301
12986
|
// verify required parameter 'id' is not null or undefined
|
|
12302
12987
|
(0, common_1.assertParamExists)('getGetEditableOrder', 'id', id);
|
|
12303
12988
|
localVarPath = "/orders/{id}/views/editable"
|
|
12304
|
-
.replace(
|
|
12989
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
12305
12990
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
12306
12991
|
if (configuration) {
|
|
12307
12992
|
baseOptions = configuration.baseOptions;
|
|
@@ -12342,8 +13027,8 @@ var OrdersApiAxiosParamCreator = function (configuration) {
|
|
|
12342
13027
|
// verify required parameter 'itemId' is not null or undefined
|
|
12343
13028
|
(0, common_1.assertParamExists)('getGetItemSerialInfo', 'itemId', itemId);
|
|
12344
13029
|
localVarPath = "/admin/orders/{id}/items/{item_id}/info"
|
|
12345
|
-
.replace(
|
|
12346
|
-
.replace(
|
|
13030
|
+
.replace('{id}', encodeURIComponent(String(id)))
|
|
13031
|
+
.replace('{item_id}', encodeURIComponent(String(itemId)));
|
|
12347
13032
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
12348
13033
|
if (configuration) {
|
|
12349
13034
|
baseOptions = configuration.baseOptions;
|
|
@@ -12381,7 +13066,7 @@ var OrdersApiAxiosParamCreator = function (configuration) {
|
|
|
12381
13066
|
// verify required parameter 'id' is not null or undefined
|
|
12382
13067
|
(0, common_1.assertParamExists)('getGetOrderPdf', 'id', id);
|
|
12383
13068
|
localVarPath = "/orders/{id}/pdf"
|
|
12384
|
-
.replace(
|
|
13069
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
12385
13070
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
12386
13071
|
if (configuration) {
|
|
12387
13072
|
baseOptions = configuration.baseOptions;
|
|
@@ -12419,7 +13104,7 @@ var OrdersApiAxiosParamCreator = function (configuration) {
|
|
|
12419
13104
|
// verify required parameter 'id' is not null or undefined
|
|
12420
13105
|
(0, common_1.assertParamExists)('getGetOrderSummary', 'id', id);
|
|
12421
13106
|
localVarPath = "/admin/orders/{id}/summary"
|
|
12422
|
-
.replace(
|
|
13107
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
12423
13108
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
12424
13109
|
if (configuration) {
|
|
12425
13110
|
baseOptions = configuration.baseOptions;
|
|
@@ -12519,7 +13204,7 @@ var OrdersApiAxiosParamCreator = function (configuration) {
|
|
|
12519
13204
|
// verify required parameter 'id' is not null or undefined
|
|
12520
13205
|
(0, common_1.assertParamExists)('patchCompleteOrder', 'id', id);
|
|
12521
13206
|
localVarPath = "/admin/orders/{id}/complete"
|
|
12522
|
-
.replace(
|
|
13207
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
12523
13208
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
12524
13209
|
if (configuration) {
|
|
12525
13210
|
baseOptions = configuration.baseOptions;
|
|
@@ -12558,7 +13243,7 @@ var OrdersApiAxiosParamCreator = function (configuration) {
|
|
|
12558
13243
|
// verify required parameter 'id' is not null or undefined
|
|
12559
13244
|
(0, common_1.assertParamExists)('postAddOrderNote', 'id', id);
|
|
12560
13245
|
localVarPath = "/admin/orders/{id}/notes"
|
|
12561
|
-
.replace(
|
|
13246
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
12562
13247
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
12563
13248
|
if (configuration) {
|
|
12564
13249
|
baseOptions = configuration.baseOptions;
|
|
@@ -12643,8 +13328,8 @@ var OrdersApiAxiosParamCreator = function (configuration) {
|
|
|
12643
13328
|
// verify required parameter 'shipmentId' is not null or undefined
|
|
12644
13329
|
(0, common_1.assertParamExists)('postCreateConsignment', 'shipmentId', shipmentId);
|
|
12645
13330
|
localVarPath = "/admin/orders/{id}/shipments/{shipment_id}/consignment"
|
|
12646
|
-
.replace(
|
|
12647
|
-
.replace(
|
|
13331
|
+
.replace('{id}', encodeURIComponent(String(id)))
|
|
13332
|
+
.replace('{shipment_id}', encodeURIComponent(String(shipmentId)));
|
|
12648
13333
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
12649
13334
|
if (configuration) {
|
|
12650
13335
|
baseOptions = configuration.baseOptions;
|
|
@@ -12665,6 +13350,43 @@ var OrdersApiAxiosParamCreator = function (configuration) {
|
|
|
12665
13350
|
});
|
|
12666
13351
|
});
|
|
12667
13352
|
},
|
|
13353
|
+
/**
|
|
13354
|
+
* Create an order via the legacy portal
|
|
13355
|
+
* @summary Create an order via the legacy portal
|
|
13356
|
+
* @param {OrderDTO} [orderDTO] Legacy Portal Order
|
|
13357
|
+
* @param {*} [options] Override http request option.
|
|
13358
|
+
* @throws {RequiredError}
|
|
13359
|
+
*/
|
|
13360
|
+
postCreatePortalOrderLegacy: function (orderDTO_1) {
|
|
13361
|
+
var args_1 = [];
|
|
13362
|
+
for (var _i = 1; _i < arguments.length; _i++) {
|
|
13363
|
+
args_1[_i - 1] = arguments[_i];
|
|
13364
|
+
}
|
|
13365
|
+
return __awaiter(_this, __spreadArray([orderDTO_1], args_1, true), void 0, function (orderDTO, options) {
|
|
13366
|
+
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
13367
|
+
if (options === void 0) { options = {}; }
|
|
13368
|
+
return __generator(this, function (_a) {
|
|
13369
|
+
localVarPath = "/orders/portal/legacy";
|
|
13370
|
+
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
13371
|
+
if (configuration) {
|
|
13372
|
+
baseOptions = configuration.baseOptions;
|
|
13373
|
+
}
|
|
13374
|
+
localVarRequestOptions = __assign(__assign({ method: 'POST' }, baseOptions), options);
|
|
13375
|
+
localVarHeaderParameter = {};
|
|
13376
|
+
localVarQueryParameter = {};
|
|
13377
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
13378
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
13379
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
13380
|
+
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
13381
|
+
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
13382
|
+
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(orderDTO, localVarRequestOptions, configuration);
|
|
13383
|
+
return [2 /*return*/, {
|
|
13384
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
13385
|
+
options: localVarRequestOptions,
|
|
13386
|
+
}];
|
|
13387
|
+
});
|
|
13388
|
+
});
|
|
13389
|
+
},
|
|
12668
13390
|
/**
|
|
12669
13391
|
* Create Shipment (Admin)
|
|
12670
13392
|
* @summary Create Shipment (Admin)
|
|
@@ -12688,8 +13410,8 @@ var OrdersApiAxiosParamCreator = function (configuration) {
|
|
|
12688
13410
|
// verify required parameter 'batchId' is not null or undefined
|
|
12689
13411
|
(0, common_1.assertParamExists)('postCreateShipment', 'batchId', batchId);
|
|
12690
13412
|
localVarPath = "/admin/orders/{id}/batches/{batch_id}/shipments"
|
|
12691
|
-
.replace(
|
|
12692
|
-
.replace(
|
|
13413
|
+
.replace('{id}', encodeURIComponent(String(id)))
|
|
13414
|
+
.replace('{batch_id}', encodeURIComponent(String(batchId)));
|
|
12693
13415
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
12694
13416
|
if (configuration) {
|
|
12695
13417
|
baseOptions = configuration.baseOptions;
|
|
@@ -12771,7 +13493,7 @@ var OrdersApiAxiosParamCreator = function (configuration) {
|
|
|
12771
13493
|
// verify required parameter 'id' is not null or undefined
|
|
12772
13494
|
(0, common_1.assertParamExists)('postIssueCredit', 'id', id);
|
|
12773
13495
|
localVarPath = "/admin/orders/{id}/credit"
|
|
12774
|
-
.replace(
|
|
13496
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
12775
13497
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
12776
13498
|
if (configuration) {
|
|
12777
13499
|
baseOptions = configuration.baseOptions;
|
|
@@ -12817,8 +13539,8 @@ var OrdersApiAxiosParamCreator = function (configuration) {
|
|
|
12817
13539
|
// verify required parameter 'printer' is not null or undefined
|
|
12818
13540
|
(0, common_1.assertParamExists)('postPrintShippingLabel', 'printer', printer);
|
|
12819
13541
|
localVarPath = "/admin/orders/{id}/shipments/{shipment_id}/label/print"
|
|
12820
|
-
.replace(
|
|
12821
|
-
.replace(
|
|
13542
|
+
.replace('{id}', encodeURIComponent(String(id)))
|
|
13543
|
+
.replace('{shipment_id}', encodeURIComponent(String(shipmentId)));
|
|
12822
13544
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
12823
13545
|
if (configuration) {
|
|
12824
13546
|
baseOptions = configuration.baseOptions;
|
|
@@ -12862,8 +13584,8 @@ var OrdersApiAxiosParamCreator = function (configuration) {
|
|
|
12862
13584
|
// verify required parameter 'batchId' is not null or undefined
|
|
12863
13585
|
(0, common_1.assertParamExists)('postProcessTcxLicences', 'batchId', batchId);
|
|
12864
13586
|
localVarPath = "/admin/orders/{id}/batches/{batch_id}/licences/process"
|
|
12865
|
-
.replace(
|
|
12866
|
-
.replace(
|
|
13587
|
+
.replace('{id}', encodeURIComponent(String(id)))
|
|
13588
|
+
.replace('{batch_id}', encodeURIComponent(String(batchId)));
|
|
12867
13589
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
12868
13590
|
if (configuration) {
|
|
12869
13591
|
baseOptions = configuration.baseOptions;
|
|
@@ -12904,7 +13626,7 @@ var OrdersApiAxiosParamCreator = function (configuration) {
|
|
|
12904
13626
|
// verify required parameter 'email' is not null or undefined
|
|
12905
13627
|
(0, common_1.assertParamExists)('postSendOrderEmail', 'email', email);
|
|
12906
13628
|
localVarPath = "/admin/orders/{id}/email/send"
|
|
12907
|
-
.replace(
|
|
13629
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
12908
13630
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
12909
13631
|
if (configuration) {
|
|
12910
13632
|
baseOptions = configuration.baseOptions;
|
|
@@ -12953,9 +13675,9 @@ var OrdersApiAxiosParamCreator = function (configuration) {
|
|
|
12953
13675
|
// verify required parameter 'email' is not null or undefined
|
|
12954
13676
|
(0, common_1.assertParamExists)('postSendShipmentEmail', 'email', email);
|
|
12955
13677
|
localVarPath = "/admin/orders/{id}/batches/{batch_id}/shipments/{shipment_id}/send/email"
|
|
12956
|
-
.replace(
|
|
12957
|
-
.replace(
|
|
12958
|
-
.replace(
|
|
13678
|
+
.replace('{id}', encodeURIComponent(String(id)))
|
|
13679
|
+
.replace('{batch_id}', encodeURIComponent(String(batchId)))
|
|
13680
|
+
.replace('{shipment_id}', encodeURIComponent(String(shipmentId)));
|
|
12959
13681
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
12960
13682
|
if (configuration) {
|
|
12961
13683
|
baseOptions = configuration.baseOptions;
|
|
@@ -12998,8 +13720,8 @@ var OrdersApiAxiosParamCreator = function (configuration) {
|
|
|
12998
13720
|
// verify required parameter 'batchId' is not null or undefined
|
|
12999
13721
|
(0, common_1.assertParamExists)('postSendSupplierEmail', 'batchId', batchId);
|
|
13000
13722
|
localVarPath = "/admin/orders/{id}/batches/{batch_id}/email/send"
|
|
13001
|
-
.replace(
|
|
13002
|
-
.replace(
|
|
13723
|
+
.replace('{id}', encodeURIComponent(String(id)))
|
|
13724
|
+
.replace('{batch_id}', encodeURIComponent(String(batchId)));
|
|
13003
13725
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
13004
13726
|
if (configuration) {
|
|
13005
13727
|
baseOptions = configuration.baseOptions;
|
|
@@ -13037,7 +13759,7 @@ var OrdersApiAxiosParamCreator = function (configuration) {
|
|
|
13037
13759
|
// verify required parameter 'id' is not null or undefined
|
|
13038
13760
|
(0, common_1.assertParamExists)('postSplitOrder', 'id', id);
|
|
13039
13761
|
localVarPath = "/admin/orders/{id}/split"
|
|
13040
|
-
.replace(
|
|
13762
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
13041
13763
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
13042
13764
|
if (configuration) {
|
|
13043
13765
|
baseOptions = configuration.baseOptions;
|
|
@@ -13081,7 +13803,7 @@ var OrdersApiAxiosParamCreator = function (configuration) {
|
|
|
13081
13803
|
// verify required parameter 'supplierId' is not null or undefined
|
|
13082
13804
|
(0, common_1.assertParamExists)('putAllocateItems', 'supplierId', supplierId);
|
|
13083
13805
|
localVarPath = "/admin/orders/{id}/items/allocate"
|
|
13084
|
-
.replace(
|
|
13806
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
13085
13807
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
13086
13808
|
if (configuration) {
|
|
13087
13809
|
baseOptions = configuration.baseOptions;
|
|
@@ -13126,7 +13848,7 @@ var OrdersApiAxiosParamCreator = function (configuration) {
|
|
|
13126
13848
|
// verify required parameter 'id' is not null or undefined
|
|
13127
13849
|
(0, common_1.assertParamExists)('putUpdateAdminOrder', 'id', id);
|
|
13128
13850
|
localVarPath = "/admin/orders/{id}"
|
|
13129
|
-
.replace(
|
|
13851
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
13130
13852
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
13131
13853
|
if (configuration) {
|
|
13132
13854
|
baseOptions = configuration.baseOptions;
|
|
@@ -13176,9 +13898,9 @@ var OrdersApiAxiosParamCreator = function (configuration) {
|
|
|
13176
13898
|
// verify required parameter 'itemId' is not null or undefined
|
|
13177
13899
|
(0, common_1.assertParamExists)('putUpdateBatchItem', 'itemId', itemId);
|
|
13178
13900
|
localVarPath = "/admin/orders/{id}/batches/{batch_id}/items/{item_id}"
|
|
13179
|
-
.replace(
|
|
13180
|
-
.replace(
|
|
13181
|
-
.replace(
|
|
13901
|
+
.replace('{id}', encodeURIComponent(String(id)))
|
|
13902
|
+
.replace('{batch_id}', encodeURIComponent(String(batchId)))
|
|
13903
|
+
.replace('{item_id}', encodeURIComponent(String(itemId)));
|
|
13182
13904
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
13183
13905
|
if (configuration) {
|
|
13184
13906
|
baseOptions = configuration.baseOptions;
|
|
@@ -13220,7 +13942,7 @@ var OrdersApiAxiosParamCreator = function (configuration) {
|
|
|
13220
13942
|
// verify required parameter 'id' is not null or undefined
|
|
13221
13943
|
(0, common_1.assertParamExists)('putUpdateOrder', 'id', id);
|
|
13222
13944
|
localVarPath = "/orders/{id}"
|
|
13223
|
-
.replace(
|
|
13945
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
13224
13946
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
13225
13947
|
if (configuration) {
|
|
13226
13948
|
baseOptions = configuration.baseOptions;
|
|
@@ -13266,7 +13988,7 @@ var OrdersApiAxiosParamCreator = function (configuration) {
|
|
|
13266
13988
|
// verify required parameter 'paid' is not null or undefined
|
|
13267
13989
|
(0, common_1.assertParamExists)('putUpdatePaymentStatus', 'paid', paid);
|
|
13268
13990
|
localVarPath = "/admin/orders/{id}/paid"
|
|
13269
|
-
.replace(
|
|
13991
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
13270
13992
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
13271
13993
|
if (configuration) {
|
|
13272
13994
|
baseOptions = configuration.baseOptions;
|
|
@@ -13314,9 +14036,9 @@ var OrdersApiAxiosParamCreator = function (configuration) {
|
|
|
13314
14036
|
// verify required parameter 'shipmentId' is not null or undefined
|
|
13315
14037
|
(0, common_1.assertParamExists)('putUpdateShipment', 'shipmentId', shipmentId);
|
|
13316
14038
|
localVarPath = "/admin/orders/{id}/batches/{batch_id}/shipments/{shipment_id}"
|
|
13317
|
-
.replace(
|
|
13318
|
-
.replace(
|
|
13319
|
-
.replace(
|
|
14039
|
+
.replace('{id}', encodeURIComponent(String(id)))
|
|
14040
|
+
.replace('{batch_id}', encodeURIComponent(String(batchId)))
|
|
14041
|
+
.replace('{shipment_id}', encodeURIComponent(String(shipmentId)));
|
|
13320
14042
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
13321
14043
|
if (configuration) {
|
|
13322
14044
|
baseOptions = configuration.baseOptions;
|
|
@@ -13706,6 +14428,29 @@ var OrdersApiFp = function (configuration) {
|
|
|
13706
14428
|
});
|
|
13707
14429
|
});
|
|
13708
14430
|
},
|
|
14431
|
+
/**
|
|
14432
|
+
* Create an order via the legacy portal
|
|
14433
|
+
* @summary Create an order via the legacy portal
|
|
14434
|
+
* @param {OrderDTO} [orderDTO] Legacy Portal Order
|
|
14435
|
+
* @param {*} [options] Override http request option.
|
|
14436
|
+
* @throws {RequiredError}
|
|
14437
|
+
*/
|
|
14438
|
+
postCreatePortalOrderLegacy: function (orderDTO, options) {
|
|
14439
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
14440
|
+
var localVarAxiosArgs, localVarOperationServerIndex, localVarOperationServerBasePath;
|
|
14441
|
+
var _a, _b, _c;
|
|
14442
|
+
return __generator(this, function (_d) {
|
|
14443
|
+
switch (_d.label) {
|
|
14444
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.postCreatePortalOrderLegacy(orderDTO, options)];
|
|
14445
|
+
case 1:
|
|
14446
|
+
localVarAxiosArgs = _d.sent();
|
|
14447
|
+
localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
14448
|
+
localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['OrdersApi.postCreatePortalOrderLegacy']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
14449
|
+
return [2 /*return*/, function (axios, basePath) { return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath); }];
|
|
14450
|
+
}
|
|
14451
|
+
});
|
|
14452
|
+
});
|
|
14453
|
+
},
|
|
13709
14454
|
/**
|
|
13710
14455
|
* Create Shipment (Admin)
|
|
13711
14456
|
* @summary Create Shipment (Admin)
|
|
@@ -14251,6 +14996,16 @@ var OrdersApiFactory = function (configuration, basePath, axios) {
|
|
|
14251
14996
|
postCreateConsignment: function (id, shipmentId, shippingRequestDTO, options) {
|
|
14252
14997
|
return localVarFp.postCreateConsignment(id, shipmentId, shippingRequestDTO, options).then(function (request) { return request(axios, basePath); });
|
|
14253
14998
|
},
|
|
14999
|
+
/**
|
|
15000
|
+
* Create an order via the legacy portal
|
|
15001
|
+
* @summary Create an order via the legacy portal
|
|
15002
|
+
* @param {OrderDTO} [orderDTO] Legacy Portal Order
|
|
15003
|
+
* @param {*} [options] Override http request option.
|
|
15004
|
+
* @throws {RequiredError}
|
|
15005
|
+
*/
|
|
15006
|
+
postCreatePortalOrderLegacy: function (orderDTO, options) {
|
|
15007
|
+
return localVarFp.postCreatePortalOrderLegacy(orderDTO, options).then(function (request) { return request(axios, basePath); });
|
|
15008
|
+
},
|
|
14254
15009
|
/**
|
|
14255
15010
|
* Create Shipment (Admin)
|
|
14256
15011
|
* @summary Create Shipment (Admin)
|
|
@@ -14618,6 +15373,17 @@ var OrdersApi = /** @class */ (function (_super) {
|
|
|
14618
15373
|
var _this = this;
|
|
14619
15374
|
return (0, exports.OrdersApiFp)(this.configuration).postCreateConsignment(id, shipmentId, shippingRequestDTO, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
14620
15375
|
};
|
|
15376
|
+
/**
|
|
15377
|
+
* Create an order via the legacy portal
|
|
15378
|
+
* @summary Create an order via the legacy portal
|
|
15379
|
+
* @param {OrderDTO} [orderDTO] Legacy Portal Order
|
|
15380
|
+
* @param {*} [options] Override http request option.
|
|
15381
|
+
* @throws {RequiredError}
|
|
15382
|
+
*/
|
|
15383
|
+
OrdersApi.prototype.postCreatePortalOrderLegacy = function (orderDTO, options) {
|
|
15384
|
+
var _this = this;
|
|
15385
|
+
return (0, exports.OrdersApiFp)(this.configuration).postCreatePortalOrderLegacy(orderDTO, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
15386
|
+
};
|
|
14621
15387
|
/**
|
|
14622
15388
|
* Create Shipment (Admin)
|
|
14623
15389
|
* @summary Create Shipment (Admin)
|
|
@@ -14816,18 +15582,18 @@ exports.GetGetOrdersStatusEnum = {
|
|
|
14816
15582
|
Paid: 'PAID',
|
|
14817
15583
|
InvoicePaid: 'INVOICE_PAID',
|
|
14818
15584
|
Unpaid: 'UNPAID',
|
|
14819
|
-
Quote: 'QUOTE'
|
|
15585
|
+
Quote: 'QUOTE',
|
|
14820
15586
|
};
|
|
14821
15587
|
exports.GetGetOrdersFilterEnum = {
|
|
14822
15588
|
Outstanding: 'OUTSTANDING',
|
|
14823
15589
|
Quotes: 'QUOTES',
|
|
14824
15590
|
All: 'ALL',
|
|
14825
|
-
BackOrders: 'BACK_ORDERS'
|
|
15591
|
+
BackOrders: 'BACK_ORDERS',
|
|
14826
15592
|
};
|
|
14827
15593
|
exports.PostPrintShippingLabelPrinterEnum = {
|
|
14828
15594
|
NUMBER_1: 1,
|
|
14829
15595
|
NUMBER_2: 2,
|
|
14830
|
-
NUMBER_3: 3
|
|
15596
|
+
NUMBER_3: 3,
|
|
14831
15597
|
};
|
|
14832
15598
|
/**
|
|
14833
15599
|
* PricingApi - axios parameter creator
|
|
@@ -15100,14 +15866,14 @@ exports.GetGetPriceListTypeEnum = {
|
|
|
15100
15866
|
EdTechPro: 'EdTechPro',
|
|
15101
15867
|
Sms: 'SMS',
|
|
15102
15868
|
SipTrunks: 'SIP Trunks',
|
|
15103
|
-
CrmIntegrations: 'CRM Integrations'
|
|
15869
|
+
CrmIntegrations: 'CRM Integrations',
|
|
15104
15870
|
};
|
|
15105
15871
|
exports.GetGetPriceListFormatEnum = {
|
|
15106
15872
|
Pdf: 'pdf',
|
|
15107
15873
|
Json: 'json',
|
|
15108
15874
|
Csv: 'csv',
|
|
15109
15875
|
Xml: 'xml',
|
|
15110
|
-
Html: 'html'
|
|
15876
|
+
Html: 'html',
|
|
15111
15877
|
};
|
|
15112
15878
|
exports.GetGetPriceListCategoryEnum = {
|
|
15113
15879
|
Yealink: 'Yealink',
|
|
@@ -15129,7 +15895,7 @@ exports.GetGetPriceListCategoryEnum = {
|
|
|
15129
15895
|
FanvilWirelessPhones: 'Fanvil Wireless Phones',
|
|
15130
15896
|
FanvilSecurityProducts: 'Fanvil Security Products',
|
|
15131
15897
|
FanvilAccessories: 'Fanvil Accessories',
|
|
15132
|
-
FanvilHotelPhones: 'Fanvil Hotel Phones'
|
|
15898
|
+
FanvilHotelPhones: 'Fanvil Hotel Phones',
|
|
15133
15899
|
};
|
|
15134
15900
|
exports.PostSendPriceListTypeEnum = {
|
|
15135
15901
|
Products: 'Products',
|
|
@@ -15140,14 +15906,14 @@ exports.PostSendPriceListTypeEnum = {
|
|
|
15140
15906
|
EdTechPro: 'EdTechPro',
|
|
15141
15907
|
Sms: 'SMS',
|
|
15142
15908
|
SipTrunks: 'SIP Trunks',
|
|
15143
|
-
CrmIntegrations: 'CRM Integrations'
|
|
15909
|
+
CrmIntegrations: 'CRM Integrations',
|
|
15144
15910
|
};
|
|
15145
15911
|
exports.PostSendPriceListFormatEnum = {
|
|
15146
15912
|
Pdf: 'pdf',
|
|
15147
15913
|
Json: 'json',
|
|
15148
15914
|
Csv: 'csv',
|
|
15149
15915
|
Xml: 'xml',
|
|
15150
|
-
Html: 'html'
|
|
15916
|
+
Html: 'html',
|
|
15151
15917
|
};
|
|
15152
15918
|
exports.PostSendPriceListCategoryEnum = {
|
|
15153
15919
|
Yealink: 'Yealink',
|
|
@@ -15169,7 +15935,7 @@ exports.PostSendPriceListCategoryEnum = {
|
|
|
15169
15935
|
FanvilWirelessPhones: 'Fanvil Wireless Phones',
|
|
15170
15936
|
FanvilSecurityProducts: 'Fanvil Security Products',
|
|
15171
15937
|
FanvilAccessories: 'Fanvil Accessories',
|
|
15172
|
-
FanvilHotelPhones: 'Fanvil Hotel Phones'
|
|
15938
|
+
FanvilHotelPhones: 'Fanvil Hotel Phones',
|
|
15173
15939
|
};
|
|
15174
15940
|
/**
|
|
15175
15941
|
* ProductsApi - axios parameter creator
|
|
@@ -15456,7 +16222,7 @@ var ProductsApiAxiosParamCreator = function (configuration) {
|
|
|
15456
16222
|
// verify required parameter 'quantity' is not null or undefined
|
|
15457
16223
|
(0, common_1.assertParamExists)('patchAddQuantityToStock', 'quantity', quantity);
|
|
15458
16224
|
localVarPath = "/products/{sku}/stock/add"
|
|
15459
|
-
.replace(
|
|
16225
|
+
.replace('{sku}', encodeURIComponent(String(sku)));
|
|
15460
16226
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
15461
16227
|
if (configuration) {
|
|
15462
16228
|
baseOptions = configuration.baseOptions;
|
|
@@ -15481,25 +16247,25 @@ var ProductsApiAxiosParamCreator = function (configuration) {
|
|
|
15481
16247
|
* Get Product
|
|
15482
16248
|
* @summary Get Product
|
|
15483
16249
|
* @param {string} sku Product SKU
|
|
15484
|
-
* @param {
|
|
16250
|
+
* @param {PostGetProductForCustomerRequest} postGetProductForCustomerRequest Product search criteria
|
|
15485
16251
|
* @param {*} [options] Override http request option.
|
|
15486
16252
|
* @throws {RequiredError}
|
|
15487
16253
|
*/
|
|
15488
|
-
postGetProduct: function (sku_1,
|
|
16254
|
+
postGetProduct: function (sku_1, postGetProductForCustomerRequest_1) {
|
|
15489
16255
|
var args_1 = [];
|
|
15490
16256
|
for (var _i = 2; _i < arguments.length; _i++) {
|
|
15491
16257
|
args_1[_i - 2] = arguments[_i];
|
|
15492
16258
|
}
|
|
15493
|
-
return __awaiter(_this, __spreadArray([sku_1,
|
|
16259
|
+
return __awaiter(_this, __spreadArray([sku_1, postGetProductForCustomerRequest_1], args_1, true), void 0, function (sku, postGetProductForCustomerRequest, options) {
|
|
15494
16260
|
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
15495
16261
|
if (options === void 0) { options = {}; }
|
|
15496
16262
|
return __generator(this, function (_a) {
|
|
15497
16263
|
// verify required parameter 'sku' is not null or undefined
|
|
15498
16264
|
(0, common_1.assertParamExists)('postGetProduct', 'sku', sku);
|
|
15499
|
-
// verify required parameter '
|
|
15500
|
-
(0, common_1.assertParamExists)('postGetProduct', '
|
|
16265
|
+
// verify required parameter 'postGetProductForCustomerRequest' is not null or undefined
|
|
16266
|
+
(0, common_1.assertParamExists)('postGetProduct', 'postGetProductForCustomerRequest', postGetProductForCustomerRequest);
|
|
15501
16267
|
localVarPath = "/products/{sku}"
|
|
15502
|
-
.replace(
|
|
16268
|
+
.replace('{sku}', encodeURIComponent(String(sku)));
|
|
15503
16269
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
15504
16270
|
if (configuration) {
|
|
15505
16271
|
baseOptions = configuration.baseOptions;
|
|
@@ -15512,7 +16278,7 @@ var ProductsApiAxiosParamCreator = function (configuration) {
|
|
|
15512
16278
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
15513
16279
|
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
15514
16280
|
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
15515
|
-
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(
|
|
16281
|
+
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(postGetProductForCustomerRequest, localVarRequestOptions, configuration);
|
|
15516
16282
|
return [2 /*return*/, {
|
|
15517
16283
|
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
15518
16284
|
options: localVarRequestOptions,
|
|
@@ -15545,7 +16311,7 @@ var ProductsApiAxiosParamCreator = function (configuration) {
|
|
|
15545
16311
|
// verify required parameter 'postGetProductForCustomerRequest' is not null or undefined
|
|
15546
16312
|
(0, common_1.assertParamExists)('postGetProductForCustomer', 'postGetProductForCustomerRequest', postGetProductForCustomerRequest);
|
|
15547
16313
|
localVarPath = "/admin/products/{sku}"
|
|
15548
|
-
.replace(
|
|
16314
|
+
.replace('{sku}', encodeURIComponent(String(sku)));
|
|
15549
16315
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
15550
16316
|
if (configuration) {
|
|
15551
16317
|
baseOptions = configuration.baseOptions;
|
|
@@ -15765,17 +16531,17 @@ var ProductsApiFp = function (configuration) {
|
|
|
15765
16531
|
* Get Product
|
|
15766
16532
|
* @summary Get Product
|
|
15767
16533
|
* @param {string} sku Product SKU
|
|
15768
|
-
* @param {
|
|
16534
|
+
* @param {PostGetProductForCustomerRequest} postGetProductForCustomerRequest Product search criteria
|
|
15769
16535
|
* @param {*} [options] Override http request option.
|
|
15770
16536
|
* @throws {RequiredError}
|
|
15771
16537
|
*/
|
|
15772
|
-
postGetProduct: function (sku,
|
|
16538
|
+
postGetProduct: function (sku, postGetProductForCustomerRequest, options) {
|
|
15773
16539
|
return __awaiter(this, void 0, void 0, function () {
|
|
15774
16540
|
var localVarAxiosArgs, localVarOperationServerIndex, localVarOperationServerBasePath;
|
|
15775
16541
|
var _a, _b, _c;
|
|
15776
16542
|
return __generator(this, function (_d) {
|
|
15777
16543
|
switch (_d.label) {
|
|
15778
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.postGetProduct(sku,
|
|
16544
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.postGetProduct(sku, postGetProductForCustomerRequest, options)];
|
|
15779
16545
|
case 1:
|
|
15780
16546
|
localVarAxiosArgs = _d.sent();
|
|
15781
16547
|
localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
@@ -15902,12 +16668,12 @@ var ProductsApiFactory = function (configuration, basePath, axios) {
|
|
|
15902
16668
|
* Get Product
|
|
15903
16669
|
* @summary Get Product
|
|
15904
16670
|
* @param {string} sku Product SKU
|
|
15905
|
-
* @param {
|
|
16671
|
+
* @param {PostGetProductForCustomerRequest} postGetProductForCustomerRequest Product search criteria
|
|
15906
16672
|
* @param {*} [options] Override http request option.
|
|
15907
16673
|
* @throws {RequiredError}
|
|
15908
16674
|
*/
|
|
15909
|
-
postGetProduct: function (sku,
|
|
15910
|
-
return localVarFp.postGetProduct(sku,
|
|
16675
|
+
postGetProduct: function (sku, postGetProductForCustomerRequest, options) {
|
|
16676
|
+
return localVarFp.postGetProduct(sku, postGetProductForCustomerRequest, options).then(function (request) { return request(axios, basePath); });
|
|
15911
16677
|
},
|
|
15912
16678
|
/**
|
|
15913
16679
|
* Get Product For Customer
|
|
@@ -16023,13 +16789,13 @@ var ProductsApi = /** @class */ (function (_super) {
|
|
|
16023
16789
|
* Get Product
|
|
16024
16790
|
* @summary Get Product
|
|
16025
16791
|
* @param {string} sku Product SKU
|
|
16026
|
-
* @param {
|
|
16792
|
+
* @param {PostGetProductForCustomerRequest} postGetProductForCustomerRequest Product search criteria
|
|
16027
16793
|
* @param {*} [options] Override http request option.
|
|
16028
16794
|
* @throws {RequiredError}
|
|
16029
16795
|
*/
|
|
16030
|
-
ProductsApi.prototype.postGetProduct = function (sku,
|
|
16796
|
+
ProductsApi.prototype.postGetProduct = function (sku, postGetProductForCustomerRequest, options) {
|
|
16031
16797
|
var _this = this;
|
|
16032
|
-
return (0, exports.ProductsApiFp)(this.configuration).postGetProduct(sku,
|
|
16798
|
+
return (0, exports.ProductsApiFp)(this.configuration).postGetProduct(sku, postGetProductForCustomerRequest, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
16033
16799
|
};
|
|
16034
16800
|
/**
|
|
16035
16801
|
* Get Product For Customer
|
|
@@ -16049,7 +16815,7 @@ var ProductsApi = /** @class */ (function (_super) {
|
|
|
16049
16815
|
exports.ProductsApi = ProductsApi;
|
|
16050
16816
|
exports.GetGetLegacyStockListFormatEnum = {
|
|
16051
16817
|
Xml: 'XML',
|
|
16052
|
-
Csv: 'CSV'
|
|
16818
|
+
Csv: 'CSV',
|
|
16053
16819
|
};
|
|
16054
16820
|
/**
|
|
16055
16821
|
* ProspectsApi - axios parameter creator
|
|
@@ -16076,7 +16842,7 @@ var ProspectsApiAxiosParamCreator = function (configuration) {
|
|
|
16076
16842
|
// verify required parameter 'xeroId' is not null or undefined
|
|
16077
16843
|
(0, common_1.assertParamExists)('getGetProspect', 'xeroId', xeroId);
|
|
16078
16844
|
localVarPath = "/accounts/prospects/{xero_id}"
|
|
16079
|
-
.replace(
|
|
16845
|
+
.replace('{xero_id}', encodeURIComponent(String(xeroId)));
|
|
16080
16846
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
16081
16847
|
if (configuration) {
|
|
16082
16848
|
baseOptions = configuration.baseOptions;
|
|
@@ -16151,7 +16917,7 @@ var ProspectsApiAxiosParamCreator = function (configuration) {
|
|
|
16151
16917
|
// verify required parameter 'status' is not null or undefined
|
|
16152
16918
|
(0, common_1.assertParamExists)('getRemoveFromProspects', 'status', status);
|
|
16153
16919
|
localVarPath = "/accounts/prospects/{xero_id}/remove"
|
|
16154
|
-
.replace(
|
|
16920
|
+
.replace('{xero_id}', encodeURIComponent(String(xeroId)));
|
|
16155
16921
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
16156
16922
|
if (configuration) {
|
|
16157
16923
|
baseOptions = configuration.baseOptions;
|
|
@@ -16195,7 +16961,7 @@ var ProspectsApiAxiosParamCreator = function (configuration) {
|
|
|
16195
16961
|
// verify required parameter 'date' is not null or undefined
|
|
16196
16962
|
(0, common_1.assertParamExists)('getSetCallback', 'date', date);
|
|
16197
16963
|
localVarPath = "/accounts/prospects/{xero_id}/date"
|
|
16198
|
-
.replace(
|
|
16964
|
+
.replace('{xero_id}', encodeURIComponent(String(xeroId)));
|
|
16199
16965
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
16200
16966
|
if (configuration) {
|
|
16201
16967
|
baseOptions = configuration.baseOptions;
|
|
@@ -16456,8 +17222,8 @@ var ProvisioningApiAxiosParamCreator = function (configuration) {
|
|
|
16456
17222
|
// verify required parameter 'mac' is not null or undefined
|
|
16457
17223
|
(0, common_1.assertParamExists)('deleteAddFanvilMac', 'mac', mac);
|
|
16458
17224
|
localVarPath = "/provisioning/fanvil/groups/{id}/macs/{mac}"
|
|
16459
|
-
.replace(
|
|
16460
|
-
.replace(
|
|
17225
|
+
.replace('{id}', encodeURIComponent(String(id)))
|
|
17226
|
+
.replace('{mac}', encodeURIComponent(String(mac)));
|
|
16461
17227
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
16462
17228
|
if (configuration) {
|
|
16463
17229
|
baseOptions = configuration.baseOptions;
|
|
@@ -16494,7 +17260,7 @@ var ProvisioningApiAxiosParamCreator = function (configuration) {
|
|
|
16494
17260
|
// verify required parameter 'id' is not null or undefined
|
|
16495
17261
|
(0, common_1.assertParamExists)('deleteDeleteFanvilGroup', 'id', id);
|
|
16496
17262
|
localVarPath = "/provisioning/fanvil/groups/{id}"
|
|
16497
|
-
.replace(
|
|
17263
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
16498
17264
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
16499
17265
|
if (configuration) {
|
|
16500
17266
|
baseOptions = configuration.baseOptions;
|
|
@@ -16534,8 +17300,8 @@ var ProvisioningApiAxiosParamCreator = function (configuration) {
|
|
|
16534
17300
|
// verify required parameter 'mac' is not null or undefined
|
|
16535
17301
|
(0, common_1.assertParamExists)('getGetFanvilEncryptionKey', 'mac', mac);
|
|
16536
17302
|
localVarPath = "/provisioning/fanvil/groups/{id}/macs/{mac}/key"
|
|
16537
|
-
.replace(
|
|
16538
|
-
.replace(
|
|
17303
|
+
.replace('{id}', encodeURIComponent(String(id)))
|
|
17304
|
+
.replace('{mac}', encodeURIComponent(String(mac)));
|
|
16539
17305
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
16540
17306
|
if (configuration) {
|
|
16541
17307
|
baseOptions = configuration.baseOptions;
|
|
@@ -16573,7 +17339,7 @@ var ProvisioningApiAxiosParamCreator = function (configuration) {
|
|
|
16573
17339
|
// verify required parameter 'id' is not null or undefined
|
|
16574
17340
|
(0, common_1.assertParamExists)('getGetFanvilGroupMacs', 'id', id);
|
|
16575
17341
|
localVarPath = "/provisioning/fanvil/groups/{id}/macs"
|
|
16576
|
-
.replace(
|
|
17342
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
16577
17343
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
16578
17344
|
if (configuration) {
|
|
16579
17345
|
baseOptions = configuration.baseOptions;
|
|
@@ -16689,8 +17455,8 @@ var ProvisioningApiAxiosParamCreator = function (configuration) {
|
|
|
16689
17455
|
// verify required parameter 'mac' is not null or undefined
|
|
16690
17456
|
(0, common_1.assertParamExists)('postAddFanvilMac', 'mac', mac);
|
|
16691
17457
|
localVarPath = "/provisioning/fanvil/groups/{id}/macs/{mac}"
|
|
16692
|
-
.replace(
|
|
16693
|
-
.replace(
|
|
17458
|
+
.replace('{id}', encodeURIComponent(String(id)))
|
|
17459
|
+
.replace('{mac}', encodeURIComponent(String(mac)));
|
|
16694
17460
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
16695
17461
|
if (configuration) {
|
|
16696
17462
|
baseOptions = configuration.baseOptions;
|
|
@@ -17082,7 +17848,7 @@ var SIPTrunksApiAxiosParamCreator = function (configuration) {
|
|
|
17082
17848
|
// verify required parameter 'id' is not null or undefined
|
|
17083
17849
|
(0, common_1.assertParamExists)('deleteGetSipTrunk', 'id', id);
|
|
17084
17850
|
localVarPath = "/sip/trunks/{id}"
|
|
17085
|
-
.replace(
|
|
17851
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
17086
17852
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
17087
17853
|
if (configuration) {
|
|
17088
17854
|
baseOptions = configuration.baseOptions;
|
|
@@ -17120,7 +17886,7 @@ var SIPTrunksApiAxiosParamCreator = function (configuration) {
|
|
|
17120
17886
|
// verify required parameter 'id' is not null or undefined
|
|
17121
17887
|
(0, common_1.assertParamExists)('getCanDivert', 'id', id);
|
|
17122
17888
|
localVarPath = "/sip/trunks/{id}/diverts/allowed"
|
|
17123
|
-
.replace(
|
|
17889
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
17124
17890
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
17125
17891
|
if (configuration) {
|
|
17126
17892
|
baseOptions = configuration.baseOptions;
|
|
@@ -17158,7 +17924,7 @@ var SIPTrunksApiAxiosParamCreator = function (configuration) {
|
|
|
17158
17924
|
// verify required parameter 'id' is not null or undefined
|
|
17159
17925
|
(0, common_1.assertParamExists)('getGetAddress', 'id', id);
|
|
17160
17926
|
localVarPath = "/sip/trunks/{id}/address"
|
|
17161
|
-
.replace(
|
|
17927
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
17162
17928
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
17163
17929
|
if (configuration) {
|
|
17164
17930
|
baseOptions = configuration.baseOptions;
|
|
@@ -17267,7 +18033,7 @@ var SIPTrunksApiAxiosParamCreator = function (configuration) {
|
|
|
17267
18033
|
// verify required parameter 'id' is not null or undefined
|
|
17268
18034
|
(0, common_1.assertParamExists)('getGetCliFlexibility', 'id', id);
|
|
17269
18035
|
localVarPath = "/sip/trunks/{id}/cli/flexibility"
|
|
17270
|
-
.replace(
|
|
18036
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
17271
18037
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
17272
18038
|
if (configuration) {
|
|
17273
18039
|
baseOptions = configuration.baseOptions;
|
|
@@ -17305,7 +18071,7 @@ var SIPTrunksApiAxiosParamCreator = function (configuration) {
|
|
|
17305
18071
|
// verify required parameter 'id' is not null or undefined
|
|
17306
18072
|
(0, common_1.assertParamExists)('getGetDdis', 'id', id);
|
|
17307
18073
|
localVarPath = "/sip/trunks/{id}/ddis"
|
|
17308
|
-
.replace(
|
|
18074
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
17309
18075
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
17310
18076
|
if (configuration) {
|
|
17311
18077
|
baseOptions = configuration.baseOptions;
|
|
@@ -17344,7 +18110,7 @@ var SIPTrunksApiAxiosParamCreator = function (configuration) {
|
|
|
17344
18110
|
// verify required parameter 'id' is not null or undefined
|
|
17345
18111
|
(0, common_1.assertParamExists)('getGetDiverts', 'id', id);
|
|
17346
18112
|
localVarPath = "/sip/trunks/{id}/diverts"
|
|
17347
|
-
.replace(
|
|
18113
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
17348
18114
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
17349
18115
|
if (configuration) {
|
|
17350
18116
|
baseOptions = configuration.baseOptions;
|
|
@@ -17385,7 +18151,7 @@ var SIPTrunksApiAxiosParamCreator = function (configuration) {
|
|
|
17385
18151
|
// verify required parameter 'id' is not null or undefined
|
|
17386
18152
|
(0, common_1.assertParamExists)('getGetSipTrunk', 'id', id);
|
|
17387
18153
|
localVarPath = "/sip/trunks/{id}"
|
|
17388
|
-
.replace(
|
|
18154
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
17389
18155
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
17390
18156
|
if (configuration) {
|
|
17391
18157
|
baseOptions = configuration.baseOptions;
|
|
@@ -17472,7 +18238,7 @@ var SIPTrunksApiAxiosParamCreator = function (configuration) {
|
|
|
17472
18238
|
// verify required parameter 'enabled' is not null or undefined
|
|
17473
18239
|
(0, common_1.assertParamExists)('patchGetCliFlexibility', 'enabled', enabled);
|
|
17474
18240
|
localVarPath = "/sip/trunks/{id}/cli/flexibility"
|
|
17475
|
-
.replace(
|
|
18241
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
17476
18242
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
17477
18243
|
if (configuration) {
|
|
17478
18244
|
baseOptions = configuration.baseOptions;
|
|
@@ -17513,7 +18279,7 @@ var SIPTrunksApiAxiosParamCreator = function (configuration) {
|
|
|
17513
18279
|
// verify required parameter 'id' is not null or undefined
|
|
17514
18280
|
(0, common_1.assertParamExists)('patchSetAsAvailable', 'id', id);
|
|
17515
18281
|
localVarPath = "/sip/trunks/{id}/available"
|
|
17516
|
-
.replace(
|
|
18282
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
17517
18283
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
17518
18284
|
if (configuration) {
|
|
17519
18285
|
baseOptions = configuration.baseOptions;
|
|
@@ -17554,7 +18320,7 @@ var SIPTrunksApiAxiosParamCreator = function (configuration) {
|
|
|
17554
18320
|
// verify required parameter 'ownerId' is not null or undefined
|
|
17555
18321
|
(0, common_1.assertParamExists)('patchSetOwnership', 'ownerId', ownerId);
|
|
17556
18322
|
localVarPath = "/sip/trunks/{id}/owner"
|
|
17557
|
-
.replace(
|
|
18323
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
17558
18324
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
17559
18325
|
if (configuration) {
|
|
17560
18326
|
baseOptions = configuration.baseOptions;
|
|
@@ -17600,7 +18366,7 @@ var SIPTrunksApiAxiosParamCreator = function (configuration) {
|
|
|
17600
18366
|
// verify required parameter 'channels' is not null or undefined
|
|
17601
18367
|
(0, common_1.assertParamExists)('patchUpdateChannelCount', 'channels', channels);
|
|
17602
18368
|
localVarPath = "/sip/trunks/{id}/channels"
|
|
17603
|
-
.replace(
|
|
18369
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
17604
18370
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
17605
18371
|
if (configuration) {
|
|
17606
18372
|
baseOptions = configuration.baseOptions;
|
|
@@ -17644,7 +18410,7 @@ var SIPTrunksApiAxiosParamCreator = function (configuration) {
|
|
|
17644
18410
|
// verify required parameter 'company' is not null or undefined
|
|
17645
18411
|
(0, common_1.assertParamExists)('patchUpdateCompanyName', 'company', company);
|
|
17646
18412
|
localVarPath = "/sip/trunks/{id}/company"
|
|
17647
|
-
.replace(
|
|
18413
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
17648
18414
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
17649
18415
|
if (configuration) {
|
|
17650
18416
|
baseOptions = configuration.baseOptions;
|
|
@@ -17688,7 +18454,7 @@ var SIPTrunksApiAxiosParamCreator = function (configuration) {
|
|
|
17688
18454
|
// verify required parameter 'number' is not null or undefined
|
|
17689
18455
|
(0, common_1.assertParamExists)('patchUpdateMainTrunkNumber', 'number', number);
|
|
17690
18456
|
localVarPath = "/sip/trunks/{id}/number"
|
|
17691
|
-
.replace(
|
|
18457
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
17692
18458
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
17693
18459
|
if (configuration) {
|
|
17694
18460
|
baseOptions = configuration.baseOptions;
|
|
@@ -17732,7 +18498,7 @@ var SIPTrunksApiAxiosParamCreator = function (configuration) {
|
|
|
17732
18498
|
// verify required parameter 'ipAddress' is not null or undefined
|
|
17733
18499
|
(0, common_1.assertParamExists)('patchUpdatePbxIPAddress', 'ipAddress', ipAddress);
|
|
17734
18500
|
localVarPath = "/sip/trunks/{id}/pbx/ip"
|
|
17735
|
-
.replace(
|
|
18501
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
17736
18502
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
17737
18503
|
if (configuration) {
|
|
17738
18504
|
baseOptions = configuration.baseOptions;
|
|
@@ -17774,7 +18540,7 @@ var SIPTrunksApiAxiosParamCreator = function (configuration) {
|
|
|
17774
18540
|
// verify required parameter 'id' is not null or undefined
|
|
17775
18541
|
(0, common_1.assertParamExists)('postGetDdis', 'id', id);
|
|
17776
18542
|
localVarPath = "/sip/trunks/{id}/ddis"
|
|
17777
|
-
.replace(
|
|
18543
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
17778
18544
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
17779
18545
|
if (configuration) {
|
|
17780
18546
|
baseOptions = configuration.baseOptions;
|
|
@@ -17926,7 +18692,7 @@ var SIPTrunksApiAxiosParamCreator = function (configuration) {
|
|
|
17926
18692
|
// verify required parameter 'id' is not null or undefined
|
|
17927
18693
|
(0, common_1.assertParamExists)('putGetAddress', 'id', id);
|
|
17928
18694
|
localVarPath = "/sip/trunks/{id}/address"
|
|
17929
|
-
.replace(
|
|
18695
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
17930
18696
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
17931
18697
|
if (configuration) {
|
|
17932
18698
|
baseOptions = configuration.baseOptions;
|
|
@@ -17970,7 +18736,7 @@ var SIPTrunksApiAxiosParamCreator = function (configuration) {
|
|
|
17970
18736
|
// verify required parameter 'enabled' is not null or undefined
|
|
17971
18737
|
(0, common_1.assertParamExists)('putGetDiverts', 'enabled', enabled);
|
|
17972
18738
|
localVarPath = "/sip/trunks/{id}/diverts"
|
|
17973
|
-
.replace(
|
|
18739
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
17974
18740
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
17975
18741
|
if (configuration) {
|
|
17976
18742
|
baseOptions = configuration.baseOptions;
|
|
@@ -19376,7 +20142,7 @@ var ServicesApiAxiosParamCreator = function (configuration) {
|
|
|
19376
20142
|
// verify required parameter 'id' is not null or undefined
|
|
19377
20143
|
(0, common_1.assertParamExists)('patchArchiveEvent', 'id', id);
|
|
19378
20144
|
localVarPath = "/services/events/{id}/archive"
|
|
19379
|
-
.replace(
|
|
20145
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
19380
20146
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
19381
20147
|
if (configuration) {
|
|
19382
20148
|
baseOptions = configuration.baseOptions;
|
|
@@ -19414,7 +20180,7 @@ var ServicesApiAxiosParamCreator = function (configuration) {
|
|
|
19414
20180
|
// verify required parameter 'id' is not null or undefined
|
|
19415
20181
|
(0, common_1.assertParamExists)('patchUpdateEvent', 'id', id);
|
|
19416
20182
|
localVarPath = "/services/events/{id}"
|
|
19417
|
-
.replace(
|
|
20183
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
19418
20184
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
19419
20185
|
if (configuration) {
|
|
19420
20186
|
baseOptions = configuration.baseOptions;
|
|
@@ -19490,7 +20256,7 @@ var ServicesApiAxiosParamCreator = function (configuration) {
|
|
|
19490
20256
|
// verify required parameter 'id' is not null or undefined
|
|
19491
20257
|
(0, common_1.assertParamExists)('postCreateEventUpdate', 'id', id);
|
|
19492
20258
|
localVarPath = "/services/events/{id}/updates"
|
|
19493
|
-
.replace(
|
|
20259
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
19494
20260
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
19495
20261
|
if (configuration) {
|
|
19496
20262
|
baseOptions = configuration.baseOptions;
|
|
@@ -20106,7 +20872,7 @@ var StockManagementApiAxiosParamCreator = function (configuration) {
|
|
|
20106
20872
|
// verify required parameter 'id' is not null or undefined
|
|
20107
20873
|
(0, common_1.assertParamExists)('deleteDeleteStockOrder', 'id', id);
|
|
20108
20874
|
localVarPath = "/stock/orders/{id}"
|
|
20109
|
-
.replace(
|
|
20875
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
20110
20876
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
20111
20877
|
if (configuration) {
|
|
20112
20878
|
baseOptions = configuration.baseOptions;
|
|
@@ -20146,8 +20912,8 @@ var StockManagementApiAxiosParamCreator = function (configuration) {
|
|
|
20146
20912
|
// verify required parameter 'deductionId' is not null or undefined
|
|
20147
20913
|
(0, common_1.assertParamExists)('deleteDeleteStockOrderDeduction', 'deductionId', deductionId);
|
|
20148
20914
|
localVarPath = "/stock/orders/{order_id}/deductions/{deduction_id}"
|
|
20149
|
-
.replace(
|
|
20150
|
-
.replace(
|
|
20915
|
+
.replace('{order_id}', encodeURIComponent(String(orderId)))
|
|
20916
|
+
.replace('{deduction_id}', encodeURIComponent(String(deductionId)));
|
|
20151
20917
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
20152
20918
|
if (configuration) {
|
|
20153
20919
|
baseOptions = configuration.baseOptions;
|
|
@@ -20187,8 +20953,8 @@ var StockManagementApiAxiosParamCreator = function (configuration) {
|
|
|
20187
20953
|
// verify required parameter 'itemId' is not null or undefined
|
|
20188
20954
|
(0, common_1.assertParamExists)('deleteDeleteStockOrderItem', 'itemId', itemId);
|
|
20189
20955
|
localVarPath = "/stock/orders/{order_id}/items/{item_id}"
|
|
20190
|
-
.replace(
|
|
20191
|
-
.replace(
|
|
20956
|
+
.replace('{order_id}', encodeURIComponent(String(orderId)))
|
|
20957
|
+
.replace('{item_id}', encodeURIComponent(String(itemId)));
|
|
20192
20958
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
20193
20959
|
if (configuration) {
|
|
20194
20960
|
baseOptions = configuration.baseOptions;
|
|
@@ -20225,7 +20991,7 @@ var StockManagementApiAxiosParamCreator = function (configuration) {
|
|
|
20225
20991
|
// verify required parameter 'id' is not null or undefined
|
|
20226
20992
|
(0, common_1.assertParamExists)('deleteGetStockProduct', 'id', id);
|
|
20227
20993
|
localVarPath = "/stock/products/{id}"
|
|
20228
|
-
.replace(
|
|
20994
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
20229
20995
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
20230
20996
|
if (configuration) {
|
|
20231
20997
|
baseOptions = configuration.baseOptions;
|
|
@@ -20262,7 +21028,7 @@ var StockManagementApiAxiosParamCreator = function (configuration) {
|
|
|
20262
21028
|
// verify required parameter 'id' is not null or undefined
|
|
20263
21029
|
(0, common_1.assertParamExists)('getDeleteStockOrder', 'id', id);
|
|
20264
21030
|
localVarPath = "/stock/orders/{id}"
|
|
20265
|
-
.replace(
|
|
21031
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
20266
21032
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
20267
21033
|
if (configuration) {
|
|
20268
21034
|
baseOptions = configuration.baseOptions;
|
|
@@ -20300,7 +21066,7 @@ var StockManagementApiAxiosParamCreator = function (configuration) {
|
|
|
20300
21066
|
// verify required parameter 'sku' is not null or undefined
|
|
20301
21067
|
(0, common_1.assertParamExists)('getGetProductDetails', 'sku', sku);
|
|
20302
21068
|
localVarPath = "/stock/products/{sku}/details"
|
|
20303
|
-
.replace(
|
|
21069
|
+
.replace('{sku}', encodeURIComponent(String(sku)));
|
|
20304
21070
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
20305
21071
|
if (configuration) {
|
|
20306
21072
|
baseOptions = configuration.baseOptions;
|
|
@@ -20338,7 +21104,7 @@ var StockManagementApiAxiosParamCreator = function (configuration) {
|
|
|
20338
21104
|
// verify required parameter 'id' is not null or undefined
|
|
20339
21105
|
(0, common_1.assertParamExists)('getGetStockOrderPurchaseOrder', 'id', id);
|
|
20340
21106
|
localVarPath = "/stock/orders/{id}/po"
|
|
20341
|
-
.replace(
|
|
21107
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
20342
21108
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
20343
21109
|
if (configuration) {
|
|
20344
21110
|
baseOptions = configuration.baseOptions;
|
|
@@ -20376,7 +21142,7 @@ var StockManagementApiAxiosParamCreator = function (configuration) {
|
|
|
20376
21142
|
// verify required parameter 'id' is not null or undefined
|
|
20377
21143
|
(0, common_1.assertParamExists)('getGetStockOrderSupplierEmail', 'id', id);
|
|
20378
21144
|
localVarPath = "/stock/orders/{id}/supplier/email"
|
|
20379
|
-
.replace(
|
|
21145
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
20380
21146
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
20381
21147
|
if (configuration) {
|
|
20382
21148
|
baseOptions = configuration.baseOptions;
|
|
@@ -20464,7 +21230,7 @@ var StockManagementApiAxiosParamCreator = function (configuration) {
|
|
|
20464
21230
|
// verify required parameter 'id' is not null or undefined
|
|
20465
21231
|
(0, common_1.assertParamExists)('getGetStockProduct', 'id', id);
|
|
20466
21232
|
localVarPath = "/stock/products/{id}"
|
|
20467
|
-
.replace(
|
|
21233
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
20468
21234
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
20469
21235
|
if (configuration) {
|
|
20470
21236
|
baseOptions = configuration.baseOptions;
|
|
@@ -20582,7 +21348,7 @@ var StockManagementApiAxiosParamCreator = function (configuration) {
|
|
|
20582
21348
|
// verify required parameter 'id' is not null or undefined
|
|
20583
21349
|
(0, common_1.assertParamExists)('getGetStockSupplierProducts', 'id', id);
|
|
20584
21350
|
localVarPath = "/stock/suppliers/{id}/products"
|
|
20585
|
-
.replace(
|
|
21351
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
20586
21352
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
20587
21353
|
if (configuration) {
|
|
20588
21354
|
baseOptions = configuration.baseOptions;
|
|
@@ -20620,7 +21386,7 @@ var StockManagementApiAxiosParamCreator = function (configuration) {
|
|
|
20620
21386
|
// verify required parameter 'id' is not null or undefined
|
|
20621
21387
|
(0, common_1.assertParamExists)('getUploadStockOrderInvoice', 'id', id);
|
|
20622
21388
|
localVarPath = "/stock/orders/{id}/invoice"
|
|
20623
|
-
.replace(
|
|
21389
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
20624
21390
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
20625
21391
|
if (configuration) {
|
|
20626
21392
|
baseOptions = configuration.baseOptions;
|
|
@@ -20659,7 +21425,7 @@ var StockManagementApiAxiosParamCreator = function (configuration) {
|
|
|
20659
21425
|
// verify required parameter 'id' is not null or undefined
|
|
20660
21426
|
(0, common_1.assertParamExists)('patchDeleteStockOrder', 'id', id);
|
|
20661
21427
|
localVarPath = "/stock/orders/{id}"
|
|
20662
|
-
.replace(
|
|
21428
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
20663
21429
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
20664
21430
|
if (configuration) {
|
|
20665
21431
|
baseOptions = configuration.baseOptions;
|
|
@@ -20703,8 +21469,8 @@ var StockManagementApiAxiosParamCreator = function (configuration) {
|
|
|
20703
21469
|
// verify required parameter 'deductionId' is not null or undefined
|
|
20704
21470
|
(0, common_1.assertParamExists)('patchDeleteStockOrderDeduction', 'deductionId', deductionId);
|
|
20705
21471
|
localVarPath = "/stock/orders/{order_id}/deductions/{deduction_id}"
|
|
20706
|
-
.replace(
|
|
20707
|
-
.replace(
|
|
21472
|
+
.replace('{order_id}', encodeURIComponent(String(orderId)))
|
|
21473
|
+
.replace('{deduction_id}', encodeURIComponent(String(deductionId)));
|
|
20708
21474
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
20709
21475
|
if (configuration) {
|
|
20710
21476
|
baseOptions = configuration.baseOptions;
|
|
@@ -20748,8 +21514,8 @@ var StockManagementApiAxiosParamCreator = function (configuration) {
|
|
|
20748
21514
|
// verify required parameter 'itemId' is not null or undefined
|
|
20749
21515
|
(0, common_1.assertParamExists)('patchDeleteStockOrderItem', 'itemId', itemId);
|
|
20750
21516
|
localVarPath = "/stock/orders/{order_id}/items/{item_id}"
|
|
20751
|
-
.replace(
|
|
20752
|
-
.replace(
|
|
21517
|
+
.replace('{order_id}', encodeURIComponent(String(orderId)))
|
|
21518
|
+
.replace('{item_id}', encodeURIComponent(String(itemId)));
|
|
20753
21519
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
20754
21520
|
if (configuration) {
|
|
20755
21521
|
baseOptions = configuration.baseOptions;
|
|
@@ -20790,7 +21556,7 @@ var StockManagementApiAxiosParamCreator = function (configuration) {
|
|
|
20790
21556
|
// verify required parameter 'id' is not null or undefined
|
|
20791
21557
|
(0, common_1.assertParamExists)('postAddStockOrderDeduction', 'id', id);
|
|
20792
21558
|
localVarPath = "/stock/orders/{id}/deductions"
|
|
20793
|
-
.replace(
|
|
21559
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
20794
21560
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
20795
21561
|
if (configuration) {
|
|
20796
21562
|
baseOptions = configuration.baseOptions;
|
|
@@ -20831,7 +21597,7 @@ var StockManagementApiAxiosParamCreator = function (configuration) {
|
|
|
20831
21597
|
// verify required parameter 'id' is not null or undefined
|
|
20832
21598
|
(0, common_1.assertParamExists)('postAddStockOrderItem', 'id', id);
|
|
20833
21599
|
localVarPath = "/stock/orders/{id}/items"
|
|
20834
|
-
.replace(
|
|
21600
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
20835
21601
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
20836
21602
|
if (configuration) {
|
|
20837
21603
|
baseOptions = configuration.baseOptions;
|
|
@@ -20948,7 +21714,7 @@ var StockManagementApiAxiosParamCreator = function (configuration) {
|
|
|
20948
21714
|
// verify required parameter 'invoice' is not null or undefined
|
|
20949
21715
|
(0, common_1.assertParamExists)('postUploadStockOrderInvoice', 'invoice', invoice);
|
|
20950
21716
|
localVarPath = "/stock/orders/{id}/invoice"
|
|
20951
|
-
.replace(
|
|
21717
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
20952
21718
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
20953
21719
|
if (configuration) {
|
|
20954
21720
|
baseOptions = configuration.baseOptions;
|
|
@@ -20992,7 +21758,7 @@ var StockManagementApiAxiosParamCreator = function (configuration) {
|
|
|
20992
21758
|
// verify required parameter 'id' is not null or undefined
|
|
20993
21759
|
(0, common_1.assertParamExists)('putGetStockProduct', 'id', id);
|
|
20994
21760
|
localVarPath = "/stock/products/{id}"
|
|
20995
|
-
.replace(
|
|
21761
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
20996
21762
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
20997
21763
|
if (configuration) {
|
|
20998
21764
|
baseOptions = configuration.baseOptions;
|
|
@@ -21038,8 +21804,8 @@ var StockManagementApiAxiosParamCreator = function (configuration) {
|
|
|
21038
21804
|
// verify required parameter 'received' is not null or undefined
|
|
21039
21805
|
(0, common_1.assertParamExists)('putReceiveStockOrderItem', 'received', received);
|
|
21040
21806
|
localVarPath = "/stock/orders/{order_id}/items/{item_id}/receive"
|
|
21041
|
-
.replace(
|
|
21042
|
-
.replace(
|
|
21807
|
+
.replace('{order_id}', encodeURIComponent(String(orderId)))
|
|
21808
|
+
.replace('{item_id}', encodeURIComponent(String(itemId)));
|
|
21043
21809
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
21044
21810
|
if (configuration) {
|
|
21045
21811
|
baseOptions = configuration.baseOptions;
|
|
@@ -22433,7 +23199,7 @@ var TicketsApiAxiosParamCreator = function (configuration) {
|
|
|
22433
23199
|
// verify required parameter 'id' is not null or undefined
|
|
22434
23200
|
(0, common_1.assertParamExists)('getGetTicket', 'id', id);
|
|
22435
23201
|
localVarPath = "/tickets/support/{id}"
|
|
22436
|
-
.replace(
|
|
23202
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
22437
23203
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
22438
23204
|
if (configuration) {
|
|
22439
23205
|
baseOptions = configuration.baseOptions;
|
|
@@ -22470,7 +23236,7 @@ var TicketsApiAxiosParamCreator = function (configuration) {
|
|
|
22470
23236
|
// verify required parameter 'id' is not null or undefined
|
|
22471
23237
|
(0, common_1.assertParamExists)('patchCloseTicket', 'id', id);
|
|
22472
23238
|
localVarPath = "/tickets/support/{id}/close"
|
|
22473
|
-
.replace(
|
|
23239
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
22474
23240
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
22475
23241
|
if (configuration) {
|
|
22476
23242
|
baseOptions = configuration.baseOptions;
|
|
@@ -22559,7 +23325,7 @@ var TicketsApiAxiosParamCreator = function (configuration) {
|
|
|
22559
23325
|
// verify required parameter 'id' is not null or undefined
|
|
22560
23326
|
(0, common_1.assertParamExists)('postTicketReply', 'id', id);
|
|
22561
23327
|
localVarPath = "/tickets/support/{id}/reply"
|
|
22562
|
-
.replace(
|
|
23328
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
22563
23329
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
22564
23330
|
if (configuration) {
|
|
22565
23331
|
baseOptions = configuration.baseOptions;
|
|
@@ -23055,5 +23821,5 @@ exports.PostAddWebhookWebhookUriEnum = {
|
|
|
23055
23821
|
WebhookFreshdeskUpdate: '/webhook/freshdesk/update',
|
|
23056
23822
|
WebhookTest: '/webhook/test',
|
|
23057
23823
|
WebhookXeroInvoices: '/webhook/xero/invoices',
|
|
23058
|
-
WebhookTcxPhonesAdd: '/webhook/tcx/phones/add'
|
|
23824
|
+
WebhookTcxPhonesAdd: '/webhook/tcx/phones/add',
|
|
23059
23825
|
};
|