yellowgrid-api-ts 3.2.139-dev.0 → 3.2.139
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 +15 -2
- package/.openapi-generator/VERSION +1 -1
- package/.openapi-generator-ignore +0 -0
- package/README.md +28 -4
- package/api.ts +1552 -345
- 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 +815 -87
- package/dist/api.js +1524 -420
- 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 +37 -0
- package/docs/AccountRequestModel.md +0 -0
- package/docs/AccountSummaryDTO.md +0 -0
- package/docs/AccountsApi.md +536 -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 +2 -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 +2 -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 +2 -0
- package/docs/ItemDiscountEntity.md +0 -0
- package/docs/ItemEntity.md +0 -0
- package/docs/LinkedOrderEntity.md +0 -0
- package/docs/MFARequiredModel.md +0 -0
- package/docs/MonthlyUsageModel.md +0 -0
- package/docs/MultiTenantChangeResponseModel.md +0 -0
- package/docs/MyPBXToolsApi.md +1 -1
- package/docs/NavigationModel.md +0 -0
- package/docs/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 +2 -0
- package/docs/OrderRequestModel.md +0 -0
- package/docs/OrderResponseDTO.md +25 -0
- package/docs/OrderSummariesModel.md +0 -0
- package/docs/OrderSummaryDTO.md +0 -0
- package/docs/OrderTotalModel.md +0 -0
- package/docs/OrderedItemEntity.md +0 -0
- package/docs/OrderedItemModel.md +0 -0
- package/docs/OrdersApi.md +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/{PatchSetTcxWizardCnameRequest.md → PatchUpdateCreditLimitRequest.md} +5 -5
- package/docs/{PostCreateCrmNoteRequest.md → PatchUpdatePriceListRequest.md} +5 -5
- package/docs/{PostAddAdminNoteRequest.md → PatchUpdateSipChannelCostRequest.md} +5 -5
- package/docs/PatchUpdateTcxHostingPriceListRequest.md +20 -0
- package/docs/{PatchSendWelcomeEmailRequest.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/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 = 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,54 +283,71 @@ exports.OrderTotalModelCurrencyEnum = {
|
|
|
271
283
|
Php: 'PHP',
|
|
272
284
|
Sgd: 'SGD',
|
|
273
285
|
Thb: 'THB',
|
|
274
|
-
Zar: 'ZAR'
|
|
286
|
+
Zar: 'ZAR',
|
|
287
|
+
};
|
|
288
|
+
exports.PatchUpdatePriceListRequestPriceListEnum = {
|
|
289
|
+
Rrp: 'RRP',
|
|
290
|
+
Trade: 'Trade',
|
|
291
|
+
Wholesale: 'Wholesale',
|
|
292
|
+
Itsp: 'ITSP',
|
|
293
|
+
SubDisti: 'Sub Disti',
|
|
294
|
+
Distributor: 'Distributor',
|
|
295
|
+
HotelDisti: 'Hotel Disti',
|
|
296
|
+
};
|
|
297
|
+
exports.PatchUpdateTcxHostingPriceListRequestPriceListEnum = {
|
|
298
|
+
_1: '1',
|
|
299
|
+
_2: '2',
|
|
300
|
+
_3: '3',
|
|
301
|
+
_4: '4',
|
|
302
|
+
_5: '5',
|
|
275
303
|
};
|
|
276
304
|
exports.ProspectDTOStatusEnum = {
|
|
277
305
|
NoCallBackSet: 'No Call Back Set',
|
|
278
306
|
CallBackDue: 'Call Back Due',
|
|
279
307
|
NoOrdersPlaced: 'No Orders Placed',
|
|
280
308
|
NoOrdersInTheLast4Months: 'No Orders In The Last 4 Months',
|
|
281
|
-
NoActionRequired: 'No Action Required'
|
|
309
|
+
NoActionRequired: 'No Action Required',
|
|
310
|
+
DoNotCall: 'Do Not Call',
|
|
282
311
|
};
|
|
283
312
|
exports.ServiceHealthDTOGlobalStatusEnum = {
|
|
284
313
|
NUMBER_0: 0,
|
|
285
314
|
NUMBER_1: 1,
|
|
286
|
-
NUMBER_2: 2
|
|
315
|
+
NUMBER_2: 2,
|
|
287
316
|
};
|
|
288
317
|
exports.ServiceStatusDTOStatusEnum = {
|
|
289
318
|
_0: '0',
|
|
290
319
|
_1: '1',
|
|
291
|
-
_2: '2'
|
|
320
|
+
_2: '2',
|
|
292
321
|
};
|
|
293
322
|
exports.ShipmentDTOCourierEnum = {
|
|
294
323
|
Dpd: 'DPD',
|
|
295
324
|
ChorltonPallet: 'Chorlton Pallet',
|
|
296
|
-
Pops: 'POPS'
|
|
325
|
+
Pops: 'POPS',
|
|
297
326
|
};
|
|
298
327
|
exports.ShipmentRequestDTOCourierEnum = {
|
|
299
328
|
Dpd: 'DPD',
|
|
300
329
|
ChorltonPallet: 'Chorlton Pallet',
|
|
301
|
-
Pops: 'POPS'
|
|
330
|
+
Pops: 'POPS',
|
|
302
331
|
};
|
|
303
332
|
exports.ShippingRequestDTOCourierEnum = {
|
|
304
333
|
Dpd: 'DPD',
|
|
305
334
|
ChorltonPallet: 'Chorlton Pallet',
|
|
306
|
-
Pops: 'POPS'
|
|
335
|
+
Pops: 'POPS',
|
|
307
336
|
};
|
|
308
337
|
exports.ShippingRequestDTOPrinterEnum = {
|
|
309
338
|
NUMBER_1: 1,
|
|
310
339
|
NUMBER_2: 2,
|
|
311
|
-
NUMBER_3: 3
|
|
340
|
+
NUMBER_3: 3,
|
|
312
341
|
};
|
|
313
342
|
exports.ShippingServiceDTOCourierEnum = {
|
|
314
343
|
Dpd: 'DPD',
|
|
315
344
|
ChorltonPallet: 'Chorlton Pallet',
|
|
316
|
-
Pops: 'POPS'
|
|
345
|
+
Pops: 'POPS',
|
|
317
346
|
};
|
|
318
347
|
exports.ShippingServiceModelCourierEnum = {
|
|
319
348
|
Dpd: 'DPD',
|
|
320
349
|
ChorltonPallet: 'Chorlton Pallet',
|
|
321
|
-
Pops: 'POPS'
|
|
350
|
+
Pops: 'POPS',
|
|
322
351
|
};
|
|
323
352
|
exports.SipTrunkChangeResponseModelTypeEnum = {
|
|
324
353
|
NewTrunk: 'New Trunk',
|
|
@@ -334,17 +363,17 @@ exports.SipTrunkChangeResponseModelTypeEnum = {
|
|
|
334
363
|
Address: 'Address',
|
|
335
364
|
BulkEndpointDetails: 'Bulk Endpoint Details',
|
|
336
365
|
Fraud: 'Fraud',
|
|
337
|
-
CallBarring: 'Call Barring'
|
|
366
|
+
CallBarring: 'Call Barring',
|
|
338
367
|
};
|
|
339
368
|
exports.SmsAccountRequestDTOProviderEnum = {
|
|
340
|
-
NUMBER_1: 1
|
|
369
|
+
NUMBER_1: 1,
|
|
341
370
|
};
|
|
342
371
|
exports.SmsAccountRequestDTOTypeEnum = {
|
|
343
372
|
Local: 'local',
|
|
344
373
|
TollFree: 'toll_free',
|
|
345
374
|
Mobile: 'mobile',
|
|
346
375
|
National: 'national',
|
|
347
|
-
SharedCost: 'shared_cost'
|
|
376
|
+
SharedCost: 'shared_cost',
|
|
348
377
|
};
|
|
349
378
|
exports.SmsPhoneNumberModelStatusEnum = {
|
|
350
379
|
Queued: 'queued',
|
|
@@ -355,31 +384,31 @@ exports.SmsPhoneNumberModelStatusEnum = {
|
|
|
355
384
|
DeliveryUnconfirmed: 'delivery_unconfirmed',
|
|
356
385
|
Delivered: 'delivered',
|
|
357
386
|
DeliveryFailed: 'delivery_failed',
|
|
358
|
-
WebhookDelivered: 'webhook_delivered'
|
|
387
|
+
WebhookDelivered: 'webhook_delivered',
|
|
359
388
|
};
|
|
360
389
|
exports.SmsResponseModelEventTypeEnum = {
|
|
361
390
|
MessageSent: 'message.sent',
|
|
362
391
|
MessageFinalized: 'message.finalized',
|
|
363
|
-
MessageReceived: 'message.received'
|
|
392
|
+
MessageReceived: 'message.received',
|
|
364
393
|
};
|
|
365
394
|
exports.StockOrderModelDeliveryMethodEnum = {
|
|
366
395
|
Sea: 'Sea',
|
|
367
396
|
Air: 'Air',
|
|
368
|
-
Road: 'Road'
|
|
397
|
+
Road: 'Road',
|
|
369
398
|
};
|
|
370
399
|
exports.StockOrderModelPaidEnum = {
|
|
371
400
|
NUMBER_0: 0,
|
|
372
401
|
NUMBER_1: 1,
|
|
373
|
-
NUMBER_2: 2
|
|
402
|
+
NUMBER_2: 2,
|
|
374
403
|
};
|
|
375
404
|
exports.TcxMultiTenantModelPackageEnum = {
|
|
376
|
-
_3CxStarterBundle: '3CX Starter Bundle'
|
|
405
|
+
_3CxStarterBundle: '3CX Starter Bundle',
|
|
377
406
|
};
|
|
378
407
|
exports.TcxSetupEntityInstallTypeEnum = {
|
|
379
408
|
New: 'new',
|
|
380
409
|
Restore: 'restore',
|
|
381
410
|
Failover: 'failover',
|
|
382
|
-
MultiTenant: 'multi-tenant'
|
|
411
|
+
MultiTenant: 'multi-tenant',
|
|
383
412
|
};
|
|
384
413
|
exports.TcxSetupEntityRegionEnum = {
|
|
385
414
|
Uk1: 'UK1',
|
|
@@ -390,13 +419,13 @@ exports.TcxSetupEntityRegionEnum = {
|
|
|
390
419
|
Syd1: 'SYD1',
|
|
391
420
|
Sgp1: 'SGP1',
|
|
392
421
|
UsEastVa1: 'US-EAST-VA-1',
|
|
393
|
-
UsWestOr1: 'US-WEST-OR-1'
|
|
422
|
+
UsWestOr1: 'US-WEST-OR-1',
|
|
394
423
|
};
|
|
395
424
|
exports.TcxWizardModelInstallTypeEnum = {
|
|
396
425
|
New: 'new',
|
|
397
426
|
Restore: 'restore',
|
|
398
427
|
Failover: 'failover',
|
|
399
|
-
MultiTenant: 'multi-tenant'
|
|
428
|
+
MultiTenant: 'multi-tenant',
|
|
400
429
|
};
|
|
401
430
|
exports.TcxWizardModelInstallationStatusEnum = {
|
|
402
431
|
Building: 'Building',
|
|
@@ -413,15 +442,15 @@ exports.TcxWizardModelInstallationStatusEnum = {
|
|
|
413
442
|
RecordingsBackupInstalled: 'Recordings Backup Installed',
|
|
414
443
|
Complete: 'Complete',
|
|
415
444
|
Deleted: 'Deleted',
|
|
416
|
-
Failed: 'Failed'
|
|
445
|
+
Failed: 'Failed',
|
|
417
446
|
};
|
|
418
447
|
exports.UpgradeRequestModelLicenceTypeEnum = {
|
|
419
448
|
Lite: 'lite',
|
|
420
|
-
Pro: 'pro'
|
|
449
|
+
Pro: 'pro',
|
|
421
450
|
};
|
|
422
451
|
exports.UpgradeRequestModelSchoolTypeEnum = {
|
|
423
452
|
Primary: 'primary',
|
|
424
|
-
Secondary: 'secondary'
|
|
453
|
+
Secondary: 'secondary',
|
|
425
454
|
};
|
|
426
455
|
/**
|
|
427
456
|
* AccountsApi - axios parameter creator
|
|
@@ -450,8 +479,44 @@ var AccountsApiAxiosParamCreator = function (configuration) {
|
|
|
450
479
|
// verify required parameter 'contactId' is not null or undefined
|
|
451
480
|
(0, common_1.assertParamExists)('deleteAdminUpdateAccountContact', 'contactId', contactId);
|
|
452
481
|
localVarPath = "/admin/accounts/{id}/contacts/{contact_id}"
|
|
453
|
-
.replace(
|
|
454
|
-
.replace(
|
|
482
|
+
.replace('{id}', encodeURIComponent(String(id)))
|
|
483
|
+
.replace('{contact_id}', encodeURIComponent(String(contactId)));
|
|
484
|
+
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
485
|
+
if (configuration) {
|
|
486
|
+
baseOptions = configuration.baseOptions;
|
|
487
|
+
}
|
|
488
|
+
localVarRequestOptions = __assign(__assign({ method: 'DELETE' }, baseOptions), options);
|
|
489
|
+
localVarHeaderParameter = {};
|
|
490
|
+
localVarQueryParameter = {};
|
|
491
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
492
|
+
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
493
|
+
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
494
|
+
return [2 /*return*/, {
|
|
495
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
496
|
+
options: localVarRequestOptions,
|
|
497
|
+
}];
|
|
498
|
+
});
|
|
499
|
+
});
|
|
500
|
+
},
|
|
501
|
+
/**
|
|
502
|
+
* Delete Account
|
|
503
|
+
* @param {string} id Account Xero ID
|
|
504
|
+
* @param {*} [options] Override http request option.
|
|
505
|
+
* @throws {RequiredError}
|
|
506
|
+
*/
|
|
507
|
+
deleteArchiveAccount: function (id_1) {
|
|
508
|
+
var args_1 = [];
|
|
509
|
+
for (var _i = 1; _i < arguments.length; _i++) {
|
|
510
|
+
args_1[_i - 1] = arguments[_i];
|
|
511
|
+
}
|
|
512
|
+
return __awaiter(_this, __spreadArray([id_1], args_1, true), void 0, function (id, options) {
|
|
513
|
+
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
514
|
+
if (options === void 0) { options = {}; }
|
|
515
|
+
return __generator(this, function (_a) {
|
|
516
|
+
// verify required parameter 'id' is not null or undefined
|
|
517
|
+
(0, common_1.assertParamExists)('deleteArchiveAccount', 'id', id);
|
|
518
|
+
localVarPath = "/admin/accounts/{id}/archive"
|
|
519
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
455
520
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
456
521
|
if (configuration) {
|
|
457
522
|
baseOptions = configuration.baseOptions;
|
|
@@ -488,7 +553,7 @@ var AccountsApiAxiosParamCreator = function (configuration) {
|
|
|
488
553
|
// verify required parameter 'id' is not null or undefined
|
|
489
554
|
(0, common_1.assertParamExists)('deleteDeleteClientCredentials', 'id', id);
|
|
490
555
|
localVarPath = "/accounts/me/contacts/credentials/{id}"
|
|
491
|
-
.replace(
|
|
556
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
492
557
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
493
558
|
if (configuration) {
|
|
494
559
|
baseOptions = configuration.baseOptions;
|
|
@@ -525,7 +590,7 @@ var AccountsApiAxiosParamCreator = function (configuration) {
|
|
|
525
590
|
// verify required parameter 'email' is not null or undefined
|
|
526
591
|
(0, common_1.assertParamExists)('deleteUpdateAccountContact', 'email', email);
|
|
527
592
|
localVarPath = "/accounts/me/contacts/{email}"
|
|
528
|
-
.replace(
|
|
593
|
+
.replace('{email}', encodeURIComponent(String(email)));
|
|
529
594
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
530
595
|
if (configuration) {
|
|
531
596
|
baseOptions = configuration.baseOptions;
|
|
@@ -561,7 +626,7 @@ var AccountsApiAxiosParamCreator = function (configuration) {
|
|
|
561
626
|
// verify required parameter 'id' is not null or undefined
|
|
562
627
|
(0, common_1.assertParamExists)('getAdminCreateAccountContact', 'id', id);
|
|
563
628
|
localVarPath = "/admin/accounts/{id}/contacts"
|
|
564
|
-
.replace(
|
|
629
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
565
630
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
566
631
|
if (configuration) {
|
|
567
632
|
baseOptions = configuration.baseOptions;
|
|
@@ -615,22 +680,24 @@ var AccountsApiAxiosParamCreator = function (configuration) {
|
|
|
615
680
|
});
|
|
616
681
|
},
|
|
617
682
|
/**
|
|
618
|
-
* Get Account
|
|
619
|
-
* @
|
|
620
|
-
* @param {string} [email] Contact Email Address
|
|
683
|
+
* Get Account Addresses
|
|
684
|
+
* @param {string} id Xero ID
|
|
621
685
|
* @param {*} [options] Override http request option.
|
|
622
686
|
* @throws {RequiredError}
|
|
623
687
|
*/
|
|
624
|
-
|
|
688
|
+
getGetAccountAddresses: function (id_1) {
|
|
625
689
|
var args_1 = [];
|
|
626
690
|
for (var _i = 1; _i < arguments.length; _i++) {
|
|
627
691
|
args_1[_i - 1] = arguments[_i];
|
|
628
692
|
}
|
|
629
|
-
return __awaiter(_this, __spreadArray([
|
|
693
|
+
return __awaiter(_this, __spreadArray([id_1], args_1, true), void 0, function (id, options) {
|
|
630
694
|
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
631
695
|
if (options === void 0) { options = {}; }
|
|
632
696
|
return __generator(this, function (_a) {
|
|
633
|
-
|
|
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)));
|
|
634
701
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
635
702
|
if (configuration) {
|
|
636
703
|
baseOptions = configuration.baseOptions;
|
|
@@ -638,9 +705,6 @@ var AccountsApiAxiosParamCreator = function (configuration) {
|
|
|
638
705
|
localVarRequestOptions = __assign(__assign({ method: 'GET' }, baseOptions), options);
|
|
639
706
|
localVarHeaderParameter = {};
|
|
640
707
|
localVarQueryParameter = {};
|
|
641
|
-
if (email !== undefined) {
|
|
642
|
-
localVarQueryParameter['email'] = email;
|
|
643
|
-
}
|
|
644
708
|
localVarHeaderParameter['Accept'] = 'application/json';
|
|
645
709
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
646
710
|
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
@@ -653,25 +717,22 @@ var AccountsApiAxiosParamCreator = function (configuration) {
|
|
|
653
717
|
});
|
|
654
718
|
},
|
|
655
719
|
/**
|
|
656
|
-
* Get Account
|
|
657
|
-
* @summary Get Account
|
|
658
|
-
* @param {
|
|
720
|
+
* Get Account Contacts
|
|
721
|
+
* @summary Get Account Contacts
|
|
722
|
+
* @param {string} [email] Contact Email Address
|
|
659
723
|
* @param {*} [options] Override http request option.
|
|
660
724
|
* @throws {RequiredError}
|
|
661
725
|
*/
|
|
662
|
-
|
|
726
|
+
getGetAccountContacts: function (email_1) {
|
|
663
727
|
var args_1 = [];
|
|
664
728
|
for (var _i = 1; _i < arguments.length; _i++) {
|
|
665
729
|
args_1[_i - 1] = arguments[_i];
|
|
666
730
|
}
|
|
667
|
-
return __awaiter(_this, __spreadArray([
|
|
731
|
+
return __awaiter(_this, __spreadArray([email_1], args_1, true), void 0, function (email, options) {
|
|
668
732
|
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
669
733
|
if (options === void 0) { options = {}; }
|
|
670
734
|
return __generator(this, function (_a) {
|
|
671
|
-
|
|
672
|
-
(0, common_1.assertParamExists)('getGetAccountDetailedSummary', 'id', id);
|
|
673
|
-
localVarPath = "/accounts/{id}/summary"
|
|
674
|
-
.replace("{".concat("id", "}"), encodeURIComponent(String(id)));
|
|
735
|
+
localVarPath = "/accounts/me/contacts";
|
|
675
736
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
676
737
|
if (configuration) {
|
|
677
738
|
baseOptions = configuration.baseOptions;
|
|
@@ -679,6 +740,9 @@ var AccountsApiAxiosParamCreator = function (configuration) {
|
|
|
679
740
|
localVarRequestOptions = __assign(__assign({ method: 'GET' }, baseOptions), options);
|
|
680
741
|
localVarHeaderParameter = {};
|
|
681
742
|
localVarQueryParameter = {};
|
|
743
|
+
if (email !== undefined) {
|
|
744
|
+
localVarQueryParameter['email'] = email;
|
|
745
|
+
}
|
|
682
746
|
localVarHeaderParameter['Accept'] = 'application/json';
|
|
683
747
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
684
748
|
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
@@ -691,12 +755,13 @@ var AccountsApiAxiosParamCreator = function (configuration) {
|
|
|
691
755
|
});
|
|
692
756
|
},
|
|
693
757
|
/**
|
|
694
|
-
* Get Account
|
|
695
|
-
* @
|
|
758
|
+
* Get Account Detailed Summary
|
|
759
|
+
* @summary Get Account Detailed Summary
|
|
760
|
+
* @param {number} id Customer ID
|
|
696
761
|
* @param {*} [options] Override http request option.
|
|
697
762
|
* @throws {RequiredError}
|
|
698
763
|
*/
|
|
699
|
-
|
|
764
|
+
getGetAccountDetailedSummary: function (id_1) {
|
|
700
765
|
var args_1 = [];
|
|
701
766
|
for (var _i = 1; _i < arguments.length; _i++) {
|
|
702
767
|
args_1[_i - 1] = arguments[_i];
|
|
@@ -706,9 +771,9 @@ var AccountsApiAxiosParamCreator = function (configuration) {
|
|
|
706
771
|
if (options === void 0) { options = {}; }
|
|
707
772
|
return __generator(this, function (_a) {
|
|
708
773
|
// verify required parameter 'id' is not null or undefined
|
|
709
|
-
(0, common_1.assertParamExists)('
|
|
710
|
-
localVarPath = "/
|
|
711
|
-
.replace(
|
|
774
|
+
(0, common_1.assertParamExists)('getGetAccountDetailedSummary', 'id', id);
|
|
775
|
+
localVarPath = "/accounts/{id}/summary"
|
|
776
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
712
777
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
713
778
|
if (configuration) {
|
|
714
779
|
baseOptions = configuration.baseOptions;
|
|
@@ -845,6 +910,114 @@ var AccountsApiAxiosParamCreator = function (configuration) {
|
|
|
845
910
|
});
|
|
846
911
|
});
|
|
847
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
|
+
},
|
|
848
1021
|
/**
|
|
849
1022
|
* Verify account email address
|
|
850
1023
|
* @summary Verify account email address
|
|
@@ -905,8 +1078,8 @@ var AccountsApiAxiosParamCreator = function (configuration) {
|
|
|
905
1078
|
// verify required parameter 'state' is not null or undefined
|
|
906
1079
|
(0, common_1.assertParamExists)('patchSetPortalAccess', 'state', state);
|
|
907
1080
|
localVarPath = "/admin/accounts/{id}/portal/access/{state}"
|
|
908
|
-
.replace(
|
|
909
|
-
.replace(
|
|
1081
|
+
.replace('{id}', encodeURIComponent(String(id)))
|
|
1082
|
+
.replace('{state}', encodeURIComponent(String(state)));
|
|
910
1083
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
911
1084
|
if (configuration) {
|
|
912
1085
|
baseOptions = configuration.baseOptions;
|
|
@@ -945,8 +1118,8 @@ var AccountsApiAxiosParamCreator = function (configuration) {
|
|
|
945
1118
|
// verify required parameter 'state' is not null or undefined
|
|
946
1119
|
(0, common_1.assertParamExists)('patchSetPrizePromo', 'state', state);
|
|
947
1120
|
localVarPath = "/admin/accounts/{id}/prizes/{state}"
|
|
948
|
-
.replace(
|
|
949
|
-
.replace(
|
|
1121
|
+
.replace('{id}', encodeURIComponent(String(id)))
|
|
1122
|
+
.replace('{state}', encodeURIComponent(String(state)));
|
|
950
1123
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
951
1124
|
if (configuration) {
|
|
952
1125
|
baseOptions = configuration.baseOptions;
|
|
@@ -1018,7 +1191,7 @@ var AccountsApiAxiosParamCreator = function (configuration) {
|
|
|
1018
1191
|
// verify required parameter 'id' is not null or undefined
|
|
1019
1192
|
(0, common_1.assertParamExists)('patchUpdateAccountCname', 'id', id);
|
|
1020
1193
|
localVarPath = "/admin/accounts/{id}/cname"
|
|
1021
|
-
.replace(
|
|
1194
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
1022
1195
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
1023
1196
|
if (configuration) {
|
|
1024
1197
|
baseOptions = configuration.baseOptions;
|
|
@@ -1057,7 +1230,7 @@ var AccountsApiAxiosParamCreator = function (configuration) {
|
|
|
1057
1230
|
// verify required parameter 'id' is not null or undefined
|
|
1058
1231
|
(0, common_1.assertParamExists)('patchUpdateAccountCompanyNumber', 'id', id);
|
|
1059
1232
|
localVarPath = "/admin/accounts/{id}/companyNumber"
|
|
1060
|
-
.replace(
|
|
1233
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
1061
1234
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
1062
1235
|
if (configuration) {
|
|
1063
1236
|
baseOptions = configuration.baseOptions;
|
|
@@ -1138,7 +1311,7 @@ var AccountsApiAxiosParamCreator = function (configuration) {
|
|
|
1138
1311
|
// verify required parameter 'id' is not null or undefined
|
|
1139
1312
|
(0, common_1.assertParamExists)('patchUpdateAccountPhone', 'id', id);
|
|
1140
1313
|
localVarPath = "/admin/accounts/{id}/phone"
|
|
1141
|
-
.replace(
|
|
1314
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
1142
1315
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
1143
1316
|
if (configuration) {
|
|
1144
1317
|
baseOptions = configuration.baseOptions;
|
|
@@ -1177,7 +1350,7 @@ var AccountsApiAxiosParamCreator = function (configuration) {
|
|
|
1177
1350
|
// verify required parameter 'id' is not null or undefined
|
|
1178
1351
|
(0, common_1.assertParamExists)('patchUpdateAccountVatNumber', 'id', id);
|
|
1179
1352
|
localVarPath = "/admin/accounts/{id}/vatNumber"
|
|
1180
|
-
.replace(
|
|
1353
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
1181
1354
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
1182
1355
|
if (configuration) {
|
|
1183
1356
|
baseOptions = configuration.baseOptions;
|
|
@@ -1198,37 +1371,38 @@ var AccountsApiAxiosParamCreator = function (configuration) {
|
|
|
1198
1371
|
});
|
|
1199
1372
|
},
|
|
1200
1373
|
/**
|
|
1201
|
-
*
|
|
1202
|
-
* @param {string} id
|
|
1203
|
-
* @param {
|
|
1374
|
+
* Set Account Credit Limit
|
|
1375
|
+
* @param {string} id Xero ID
|
|
1376
|
+
* @param {PatchUpdateCreditLimitRequest} [patchUpdateCreditLimitRequest] Credit Limit Request
|
|
1204
1377
|
* @param {*} [options] Override http request option.
|
|
1205
1378
|
* @throws {RequiredError}
|
|
1206
1379
|
*/
|
|
1207
|
-
|
|
1380
|
+
patchUpdateCreditLimit: function (id_1, patchUpdateCreditLimitRequest_1) {
|
|
1208
1381
|
var args_1 = [];
|
|
1209
1382
|
for (var _i = 2; _i < arguments.length; _i++) {
|
|
1210
1383
|
args_1[_i - 2] = arguments[_i];
|
|
1211
1384
|
}
|
|
1212
|
-
return __awaiter(_this, __spreadArray([id_1,
|
|
1385
|
+
return __awaiter(_this, __spreadArray([id_1, patchUpdateCreditLimitRequest_1], args_1, true), void 0, function (id, patchUpdateCreditLimitRequest, options) {
|
|
1213
1386
|
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
1214
1387
|
if (options === void 0) { options = {}; }
|
|
1215
1388
|
return __generator(this, function (_a) {
|
|
1216
1389
|
// verify required parameter 'id' is not null or undefined
|
|
1217
|
-
(0, common_1.assertParamExists)('
|
|
1218
|
-
localVarPath = "/admin/accounts/{id}/
|
|
1219
|
-
.replace(
|
|
1390
|
+
(0, common_1.assertParamExists)('patchUpdateCreditLimit', 'id', id);
|
|
1391
|
+
localVarPath = "/admin/accounts/{id}/creditLimit"
|
|
1392
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
1220
1393
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
1221
1394
|
if (configuration) {
|
|
1222
1395
|
baseOptions = configuration.baseOptions;
|
|
1223
1396
|
}
|
|
1224
|
-
localVarRequestOptions = __assign(__assign({ method: '
|
|
1397
|
+
localVarRequestOptions = __assign(__assign({ method: 'PATCH' }, baseOptions), options);
|
|
1225
1398
|
localVarHeaderParameter = {};
|
|
1226
1399
|
localVarQueryParameter = {};
|
|
1227
1400
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
1401
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
1228
1402
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
1229
1403
|
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1230
1404
|
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
1231
|
-
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(
|
|
1405
|
+
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(patchUpdateCreditLimitRequest, localVarRequestOptions, configuration);
|
|
1232
1406
|
return [2 /*return*/, {
|
|
1233
1407
|
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
1234
1408
|
options: localVarRequestOptions,
|
|
@@ -1237,34 +1411,38 @@ var AccountsApiAxiosParamCreator = function (configuration) {
|
|
|
1237
1411
|
});
|
|
1238
1412
|
},
|
|
1239
1413
|
/**
|
|
1240
|
-
*
|
|
1241
|
-
* @
|
|
1242
|
-
* @param {
|
|
1414
|
+
* Set Account Price List
|
|
1415
|
+
* @param {string} id Xero ID
|
|
1416
|
+
* @param {PatchUpdatePriceListRequest} [patchUpdatePriceListRequest] Price List Request
|
|
1243
1417
|
* @param {*} [options] Override http request option.
|
|
1244
1418
|
* @throws {RequiredError}
|
|
1245
1419
|
*/
|
|
1246
|
-
|
|
1420
|
+
patchUpdatePriceList: function (id_1, patchUpdatePriceListRequest_1) {
|
|
1247
1421
|
var args_1 = [];
|
|
1248
|
-
for (var _i =
|
|
1249
|
-
args_1[_i -
|
|
1422
|
+
for (var _i = 2; _i < arguments.length; _i++) {
|
|
1423
|
+
args_1[_i - 2] = arguments[_i];
|
|
1250
1424
|
}
|
|
1251
|
-
return __awaiter(_this, __spreadArray([
|
|
1425
|
+
return __awaiter(_this, __spreadArray([id_1, patchUpdatePriceListRequest_1], args_1, true), void 0, function (id, patchUpdatePriceListRequest, options) {
|
|
1252
1426
|
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
1253
1427
|
if (options === void 0) { options = {}; }
|
|
1254
1428
|
return __generator(this, function (_a) {
|
|
1255
|
-
|
|
1429
|
+
// verify required parameter 'id' is not null or undefined
|
|
1430
|
+
(0, common_1.assertParamExists)('patchUpdatePriceList', 'id', id);
|
|
1431
|
+
localVarPath = "/admin/accounts/{id}/priceList"
|
|
1432
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
1256
1433
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
1257
1434
|
if (configuration) {
|
|
1258
1435
|
baseOptions = configuration.baseOptions;
|
|
1259
1436
|
}
|
|
1260
|
-
localVarRequestOptions = __assign(__assign({ method: '
|
|
1437
|
+
localVarRequestOptions = __assign(__assign({ method: 'PATCH' }, baseOptions), options);
|
|
1261
1438
|
localVarHeaderParameter = {};
|
|
1262
1439
|
localVarQueryParameter = {};
|
|
1263
1440
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
1441
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
1264
1442
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
1265
1443
|
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1266
1444
|
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
1267
|
-
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(
|
|
1445
|
+
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(patchUpdatePriceListRequest, localVarRequestOptions, configuration);
|
|
1268
1446
|
return [2 /*return*/, {
|
|
1269
1447
|
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
1270
1448
|
options: localVarRequestOptions,
|
|
@@ -1273,27 +1451,30 @@ var AccountsApiAxiosParamCreator = function (configuration) {
|
|
|
1273
1451
|
});
|
|
1274
1452
|
},
|
|
1275
1453
|
/**
|
|
1276
|
-
*
|
|
1277
|
-
* @
|
|
1278
|
-
* @param {
|
|
1454
|
+
* Set Account SIP Channel Cost
|
|
1455
|
+
* @param {string} id Xero ID
|
|
1456
|
+
* @param {PatchUpdateSipChannelCostRequest} [patchUpdateSipChannelCostRequest] SIP Channel Cost Request
|
|
1279
1457
|
* @param {*} [options] Override http request option.
|
|
1280
1458
|
* @throws {RequiredError}
|
|
1281
1459
|
*/
|
|
1282
|
-
|
|
1460
|
+
patchUpdateSipChannelCost: function (id_1, patchUpdateSipChannelCostRequest_1) {
|
|
1283
1461
|
var args_1 = [];
|
|
1284
|
-
for (var _i =
|
|
1285
|
-
args_1[_i -
|
|
1462
|
+
for (var _i = 2; _i < arguments.length; _i++) {
|
|
1463
|
+
args_1[_i - 2] = arguments[_i];
|
|
1286
1464
|
}
|
|
1287
|
-
return __awaiter(_this, __spreadArray([
|
|
1465
|
+
return __awaiter(_this, __spreadArray([id_1, patchUpdateSipChannelCostRequest_1], args_1, true), void 0, function (id, patchUpdateSipChannelCostRequest, options) {
|
|
1288
1466
|
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
1289
1467
|
if (options === void 0) { options = {}; }
|
|
1290
1468
|
return __generator(this, function (_a) {
|
|
1291
|
-
|
|
1469
|
+
// verify required parameter 'id' is not null or undefined
|
|
1470
|
+
(0, common_1.assertParamExists)('patchUpdateSipChannelCost', 'id', id);
|
|
1471
|
+
localVarPath = "/admin/accounts/{id}/channelCost"
|
|
1472
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
1292
1473
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
1293
1474
|
if (configuration) {
|
|
1294
1475
|
baseOptions = configuration.baseOptions;
|
|
1295
1476
|
}
|
|
1296
|
-
localVarRequestOptions = __assign(__assign({ method: '
|
|
1477
|
+
localVarRequestOptions = __assign(__assign({ method: 'PATCH' }, baseOptions), options);
|
|
1297
1478
|
localVarHeaderParameter = {};
|
|
1298
1479
|
localVarQueryParameter = {};
|
|
1299
1480
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
@@ -1301,7 +1482,7 @@ var AccountsApiAxiosParamCreator = function (configuration) {
|
|
|
1301
1482
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
1302
1483
|
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1303
1484
|
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
1304
|
-
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(
|
|
1485
|
+
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(patchUpdateSipChannelCostRequest, localVarRequestOptions, configuration);
|
|
1305
1486
|
return [2 /*return*/, {
|
|
1306
1487
|
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
1307
1488
|
options: localVarRequestOptions,
|
|
@@ -1310,32 +1491,38 @@ var AccountsApiAxiosParamCreator = function (configuration) {
|
|
|
1310
1491
|
});
|
|
1311
1492
|
},
|
|
1312
1493
|
/**
|
|
1313
|
-
*
|
|
1314
|
-
* @
|
|
1494
|
+
* Set Account 3CX Hosting Price List
|
|
1495
|
+
* @param {string} id Xero ID
|
|
1496
|
+
* @param {PatchUpdateTcxHostingPriceListRequest} [patchUpdateTcxHostingPriceListRequest] 3CX Hosting Price List Request
|
|
1315
1497
|
* @param {*} [options] Override http request option.
|
|
1316
1498
|
* @throws {RequiredError}
|
|
1317
1499
|
*/
|
|
1318
|
-
|
|
1500
|
+
patchUpdateTcxHostingPriceList: function (id_1, patchUpdateTcxHostingPriceListRequest_1) {
|
|
1319
1501
|
var args_1 = [];
|
|
1320
|
-
for (var _i =
|
|
1321
|
-
args_1[_i] = arguments[_i];
|
|
1502
|
+
for (var _i = 2; _i < arguments.length; _i++) {
|
|
1503
|
+
args_1[_i - 2] = arguments[_i];
|
|
1322
1504
|
}
|
|
1323
|
-
return __awaiter(_this, __spreadArray([], args_1, true), void 0, function (options) {
|
|
1505
|
+
return __awaiter(_this, __spreadArray([id_1, patchUpdateTcxHostingPriceListRequest_1], args_1, true), void 0, function (id, patchUpdateTcxHostingPriceListRequest, options) {
|
|
1324
1506
|
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
1325
1507
|
if (options === void 0) { options = {}; }
|
|
1326
1508
|
return __generator(this, function (_a) {
|
|
1327
|
-
|
|
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)));
|
|
1328
1513
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
1329
1514
|
if (configuration) {
|
|
1330
1515
|
baseOptions = configuration.baseOptions;
|
|
1331
1516
|
}
|
|
1332
|
-
localVarRequestOptions = __assign(__assign({ method: '
|
|
1517
|
+
localVarRequestOptions = __assign(__assign({ method: 'PATCH' }, baseOptions), options);
|
|
1333
1518
|
localVarHeaderParameter = {};
|
|
1334
1519
|
localVarQueryParameter = {};
|
|
1520
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
1335
1521
|
localVarHeaderParameter['Accept'] = 'application/json';
|
|
1336
1522
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
1337
1523
|
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1338
1524
|
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
1525
|
+
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(patchUpdateTcxHostingPriceListRequest, localVarRequestOptions, configuration);
|
|
1339
1526
|
return [2 /*return*/, {
|
|
1340
1527
|
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
1341
1528
|
options: localVarRequestOptions,
|
|
@@ -1344,27 +1531,30 @@ var AccountsApiAxiosParamCreator = function (configuration) {
|
|
|
1344
1531
|
});
|
|
1345
1532
|
},
|
|
1346
1533
|
/**
|
|
1347
|
-
*
|
|
1348
|
-
* @
|
|
1349
|
-
* @param {
|
|
1534
|
+
* Set Account 3CX Partner ID
|
|
1535
|
+
* @param {string} id Xero ID
|
|
1536
|
+
* @param {PatchUpdateTcxPartnerIdRequest} [patchUpdateTcxPartnerIdRequest] Set Account 3CX Partner ID
|
|
1350
1537
|
* @param {*} [options] Override http request option.
|
|
1351
1538
|
* @throws {RequiredError}
|
|
1352
1539
|
*/
|
|
1353
|
-
|
|
1540
|
+
patchUpdateTcxPartnerId: function (id_1, patchUpdateTcxPartnerIdRequest_1) {
|
|
1354
1541
|
var args_1 = [];
|
|
1355
|
-
for (var _i =
|
|
1356
|
-
args_1[_i -
|
|
1542
|
+
for (var _i = 2; _i < arguments.length; _i++) {
|
|
1543
|
+
args_1[_i - 2] = arguments[_i];
|
|
1357
1544
|
}
|
|
1358
|
-
return __awaiter(_this, __spreadArray([
|
|
1545
|
+
return __awaiter(_this, __spreadArray([id_1, patchUpdateTcxPartnerIdRequest_1], args_1, true), void 0, function (id, patchUpdateTcxPartnerIdRequest, options) {
|
|
1359
1546
|
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
1360
1547
|
if (options === void 0) { options = {}; }
|
|
1361
1548
|
return __generator(this, function (_a) {
|
|
1362
|
-
|
|
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)));
|
|
1363
1553
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
1364
1554
|
if (configuration) {
|
|
1365
1555
|
baseOptions = configuration.baseOptions;
|
|
1366
1556
|
}
|
|
1367
|
-
localVarRequestOptions = __assign(__assign({ method: '
|
|
1557
|
+
localVarRequestOptions = __assign(__assign({ method: 'PATCH' }, baseOptions), options);
|
|
1368
1558
|
localVarHeaderParameter = {};
|
|
1369
1559
|
localVarQueryParameter = {};
|
|
1370
1560
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
@@ -1372,7 +1562,7 @@ var AccountsApiAxiosParamCreator = function (configuration) {
|
|
|
1372
1562
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
1373
1563
|
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1374
1564
|
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
1375
|
-
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(
|
|
1565
|
+
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(patchUpdateTcxPartnerIdRequest, localVarRequestOptions, configuration);
|
|
1376
1566
|
return [2 /*return*/, {
|
|
1377
1567
|
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
1378
1568
|
options: localVarRequestOptions,
|
|
@@ -1381,16 +1571,199 @@ var AccountsApiAxiosParamCreator = function (configuration) {
|
|
|
1381
1571
|
});
|
|
1382
1572
|
},
|
|
1383
1573
|
/**
|
|
1384
|
-
*
|
|
1385
|
-
* @
|
|
1386
|
-
* @param {
|
|
1574
|
+
* Create Account Contact
|
|
1575
|
+
* @param {string} id Account Xero ID
|
|
1576
|
+
* @param {AccountContactRequestModel} [accountContactRequestModel] Create Account Contact Request
|
|
1387
1577
|
* @param {*} [options] Override http request option.
|
|
1388
1578
|
* @throws {RequiredError}
|
|
1389
1579
|
*/
|
|
1390
|
-
|
|
1580
|
+
postAdminCreateAccountContact: function (id_1, accountContactRequestModel_1) {
|
|
1391
1581
|
var args_1 = [];
|
|
1392
|
-
for (var _i =
|
|
1393
|
-
args_1[_i -
|
|
1582
|
+
for (var _i = 2; _i < arguments.length; _i++) {
|
|
1583
|
+
args_1[_i - 2] = arguments[_i];
|
|
1584
|
+
}
|
|
1585
|
+
return __awaiter(_this, __spreadArray([id_1, accountContactRequestModel_1], args_1, true), void 0, function (id, accountContactRequestModel, options) {
|
|
1586
|
+
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
1587
|
+
if (options === void 0) { options = {}; }
|
|
1588
|
+
return __generator(this, function (_a) {
|
|
1589
|
+
// verify required parameter 'id' is not null or undefined
|
|
1590
|
+
(0, common_1.assertParamExists)('postAdminCreateAccountContact', 'id', id);
|
|
1591
|
+
localVarPath = "/admin/accounts/{id}/contacts"
|
|
1592
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
1593
|
+
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
1594
|
+
if (configuration) {
|
|
1595
|
+
baseOptions = configuration.baseOptions;
|
|
1596
|
+
}
|
|
1597
|
+
localVarRequestOptions = __assign(__assign({ method: 'POST' }, baseOptions), options);
|
|
1598
|
+
localVarHeaderParameter = {};
|
|
1599
|
+
localVarQueryParameter = {};
|
|
1600
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
1601
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
1602
|
+
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1603
|
+
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
1604
|
+
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(accountContactRequestModel, localVarRequestOptions, configuration);
|
|
1605
|
+
return [2 /*return*/, {
|
|
1606
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
1607
|
+
options: localVarRequestOptions,
|
|
1608
|
+
}];
|
|
1609
|
+
});
|
|
1610
|
+
});
|
|
1611
|
+
},
|
|
1612
|
+
/**
|
|
1613
|
+
* Add Account Contacts
|
|
1614
|
+
* @summary Add Account Contact
|
|
1615
|
+
* @param {AccountContactRequestModel} [accountContactRequestModel] New account request
|
|
1616
|
+
* @param {*} [options] Override http request option.
|
|
1617
|
+
* @throws {RequiredError}
|
|
1618
|
+
*/
|
|
1619
|
+
postGetAccountContacts: function (accountContactRequestModel_1) {
|
|
1620
|
+
var args_1 = [];
|
|
1621
|
+
for (var _i = 1; _i < arguments.length; _i++) {
|
|
1622
|
+
args_1[_i - 1] = arguments[_i];
|
|
1623
|
+
}
|
|
1624
|
+
return __awaiter(_this, __spreadArray([accountContactRequestModel_1], args_1, true), void 0, function (accountContactRequestModel, options) {
|
|
1625
|
+
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
1626
|
+
if (options === void 0) { options = {}; }
|
|
1627
|
+
return __generator(this, function (_a) {
|
|
1628
|
+
localVarPath = "/accounts/me/contacts";
|
|
1629
|
+
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
1630
|
+
if (configuration) {
|
|
1631
|
+
baseOptions = configuration.baseOptions;
|
|
1632
|
+
}
|
|
1633
|
+
localVarRequestOptions = __assign(__assign({ method: 'POST' }, baseOptions), options);
|
|
1634
|
+
localVarHeaderParameter = {};
|
|
1635
|
+
localVarQueryParameter = {};
|
|
1636
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
1637
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
1638
|
+
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1639
|
+
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
1640
|
+
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(accountContactRequestModel, localVarRequestOptions, configuration);
|
|
1641
|
+
return [2 /*return*/, {
|
|
1642
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
1643
|
+
options: localVarRequestOptions,
|
|
1644
|
+
}];
|
|
1645
|
+
});
|
|
1646
|
+
});
|
|
1647
|
+
},
|
|
1648
|
+
/**
|
|
1649
|
+
* Create new customer account
|
|
1650
|
+
* @summary Create a new customer account
|
|
1651
|
+
* @param {AccountRequestModel} [accountRequestModel] New account request
|
|
1652
|
+
* @param {*} [options] Override http request option.
|
|
1653
|
+
* @throws {RequiredError}
|
|
1654
|
+
*/
|
|
1655
|
+
postGetAccounts: function (accountRequestModel_1) {
|
|
1656
|
+
var args_1 = [];
|
|
1657
|
+
for (var _i = 1; _i < arguments.length; _i++) {
|
|
1658
|
+
args_1[_i - 1] = arguments[_i];
|
|
1659
|
+
}
|
|
1660
|
+
return __awaiter(_this, __spreadArray([accountRequestModel_1], args_1, true), void 0, function (accountRequestModel, options) {
|
|
1661
|
+
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
1662
|
+
if (options === void 0) { options = {}; }
|
|
1663
|
+
return __generator(this, function (_a) {
|
|
1664
|
+
localVarPath = "/accounts";
|
|
1665
|
+
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
1666
|
+
if (configuration) {
|
|
1667
|
+
baseOptions = configuration.baseOptions;
|
|
1668
|
+
}
|
|
1669
|
+
localVarRequestOptions = __assign(__assign({ method: 'POST' }, baseOptions), options);
|
|
1670
|
+
localVarHeaderParameter = {};
|
|
1671
|
+
localVarQueryParameter = {};
|
|
1672
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
1673
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
1674
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
1675
|
+
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1676
|
+
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
1677
|
+
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(accountRequestModel, localVarRequestOptions, configuration);
|
|
1678
|
+
return [2 /*return*/, {
|
|
1679
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
1680
|
+
options: localVarRequestOptions,
|
|
1681
|
+
}];
|
|
1682
|
+
});
|
|
1683
|
+
});
|
|
1684
|
+
},
|
|
1685
|
+
/**
|
|
1686
|
+
* Get Admin Account
|
|
1687
|
+
* @summary Get Admin Account
|
|
1688
|
+
* @param {*} [options] Override http request option.
|
|
1689
|
+
* @throws {RequiredError}
|
|
1690
|
+
*/
|
|
1691
|
+
postGetAdminAccount: function () {
|
|
1692
|
+
var args_1 = [];
|
|
1693
|
+
for (var _i = 0; _i < arguments.length; _i++) {
|
|
1694
|
+
args_1[_i] = arguments[_i];
|
|
1695
|
+
}
|
|
1696
|
+
return __awaiter(_this, __spreadArray([], args_1, true), void 0, function (options) {
|
|
1697
|
+
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
1698
|
+
if (options === void 0) { options = {}; }
|
|
1699
|
+
return __generator(this, function (_a) {
|
|
1700
|
+
localVarPath = "/admin/me";
|
|
1701
|
+
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
1702
|
+
if (configuration) {
|
|
1703
|
+
baseOptions = configuration.baseOptions;
|
|
1704
|
+
}
|
|
1705
|
+
localVarRequestOptions = __assign(__assign({ method: 'POST' }, baseOptions), options);
|
|
1706
|
+
localVarHeaderParameter = {};
|
|
1707
|
+
localVarQueryParameter = {};
|
|
1708
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
1709
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
1710
|
+
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1711
|
+
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
1712
|
+
return [2 /*return*/, {
|
|
1713
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
1714
|
+
options: localVarRequestOptions,
|
|
1715
|
+
}];
|
|
1716
|
+
});
|
|
1717
|
+
});
|
|
1718
|
+
},
|
|
1719
|
+
/**
|
|
1720
|
+
* Create client credentials
|
|
1721
|
+
* @summary Create client credentials
|
|
1722
|
+
* @param {PostGetClientCredentialsRequest} [postGetClientCredentialsRequest] New client credentials request
|
|
1723
|
+
* @param {*} [options] Override http request option.
|
|
1724
|
+
* @throws {RequiredError}
|
|
1725
|
+
*/
|
|
1726
|
+
postGetClientCredentials: function (postGetClientCredentialsRequest_1) {
|
|
1727
|
+
var args_1 = [];
|
|
1728
|
+
for (var _i = 1; _i < arguments.length; _i++) {
|
|
1729
|
+
args_1[_i - 1] = arguments[_i];
|
|
1730
|
+
}
|
|
1731
|
+
return __awaiter(_this, __spreadArray([postGetClientCredentialsRequest_1], args_1, true), void 0, function (postGetClientCredentialsRequest, options) {
|
|
1732
|
+
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
1733
|
+
if (options === void 0) { options = {}; }
|
|
1734
|
+
return __generator(this, function (_a) {
|
|
1735
|
+
localVarPath = "/accounts/me/contacts/credentials";
|
|
1736
|
+
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
1737
|
+
if (configuration) {
|
|
1738
|
+
baseOptions = configuration.baseOptions;
|
|
1739
|
+
}
|
|
1740
|
+
localVarRequestOptions = __assign(__assign({ method: 'POST' }, baseOptions), options);
|
|
1741
|
+
localVarHeaderParameter = {};
|
|
1742
|
+
localVarQueryParameter = {};
|
|
1743
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
1744
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
1745
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
1746
|
+
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1747
|
+
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
1748
|
+
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(postGetClientCredentialsRequest, localVarRequestOptions, configuration);
|
|
1749
|
+
return [2 /*return*/, {
|
|
1750
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
1751
|
+
options: localVarRequestOptions,
|
|
1752
|
+
}];
|
|
1753
|
+
});
|
|
1754
|
+
});
|
|
1755
|
+
},
|
|
1756
|
+
/**
|
|
1757
|
+
* Send email verification email
|
|
1758
|
+
* @summary Send email verification email
|
|
1759
|
+
* @param {string} email Email Address
|
|
1760
|
+
* @param {*} [options] Override http request option.
|
|
1761
|
+
* @throws {RequiredError}
|
|
1762
|
+
*/
|
|
1763
|
+
postSendEmailVerificationEmail: function (email_1) {
|
|
1764
|
+
var args_1 = [];
|
|
1765
|
+
for (var _i = 1; _i < arguments.length; _i++) {
|
|
1766
|
+
args_1[_i - 1] = arguments[_i];
|
|
1394
1767
|
}
|
|
1395
1768
|
return __awaiter(_this, __spreadArray([email_1], args_1, true), void 0, function (email, options) {
|
|
1396
1769
|
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
@@ -1399,7 +1772,7 @@ var AccountsApiAxiosParamCreator = function (configuration) {
|
|
|
1399
1772
|
// verify required parameter 'email' is not null or undefined
|
|
1400
1773
|
(0, common_1.assertParamExists)('postSendEmailVerificationEmail', 'email', email);
|
|
1401
1774
|
localVarPath = "/accounts/contacts/verify/{email}"
|
|
1402
|
-
.replace(
|
|
1775
|
+
.replace('{email}', encodeURIComponent(String(email)));
|
|
1403
1776
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
1404
1777
|
if (configuration) {
|
|
1405
1778
|
baseOptions = configuration.baseOptions;
|
|
@@ -1475,7 +1848,7 @@ var AccountsApiAxiosParamCreator = function (configuration) {
|
|
|
1475
1848
|
// verify required parameter 'id' is not null or undefined
|
|
1476
1849
|
(0, common_1.assertParamExists)('postSendWelcomeEmail', 'id', id);
|
|
1477
1850
|
localVarPath = "/admin/accounts/{id}/email/welcome"
|
|
1478
|
-
.replace(
|
|
1851
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
1479
1852
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
1480
1853
|
if (configuration) {
|
|
1481
1854
|
baseOptions = configuration.baseOptions;
|
|
@@ -1562,8 +1935,8 @@ var AccountsApiAxiosParamCreator = function (configuration) {
|
|
|
1562
1935
|
// verify required parameter 'contactId' is not null or undefined
|
|
1563
1936
|
(0, common_1.assertParamExists)('putAdminUpdateAccountContact', 'contactId', contactId);
|
|
1564
1937
|
localVarPath = "/admin/accounts/{id}/contacts/{contact_id}"
|
|
1565
|
-
.replace(
|
|
1566
|
-
.replace(
|
|
1938
|
+
.replace('{id}', encodeURIComponent(String(id)))
|
|
1939
|
+
.replace('{contact_id}', encodeURIComponent(String(contactId)));
|
|
1567
1940
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
1568
1941
|
if (configuration) {
|
|
1569
1942
|
baseOptions = configuration.baseOptions;
|
|
@@ -1603,7 +1976,7 @@ var AccountsApiAxiosParamCreator = function (configuration) {
|
|
|
1603
1976
|
// verify required parameter 'email' is not null or undefined
|
|
1604
1977
|
(0, common_1.assertParamExists)('putUpdateAccountContact', 'email', email);
|
|
1605
1978
|
localVarPath = "/accounts/me/contacts/{email}"
|
|
1606
|
-
.replace(
|
|
1979
|
+
.replace('{email}', encodeURIComponent(String(email)));
|
|
1607
1980
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
1608
1981
|
if (configuration) {
|
|
1609
1982
|
baseOptions = configuration.baseOptions;
|
|
@@ -1642,7 +2015,7 @@ var AccountsApiAxiosParamCreator = function (configuration) {
|
|
|
1642
2015
|
// verify required parameter 'id' is not null or undefined
|
|
1643
2016
|
(0, common_1.assertParamExists)('putUpdateBillingAddress', 'id', id);
|
|
1644
2017
|
localVarPath = "/admin/accounts/{id}/billing/address"
|
|
1645
|
-
.replace(
|
|
2018
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
1646
2019
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
1647
2020
|
if (configuration) {
|
|
1648
2021
|
baseOptions = configuration.baseOptions;
|
|
@@ -1681,7 +2054,7 @@ var AccountsApiAxiosParamCreator = function (configuration) {
|
|
|
1681
2054
|
// verify required parameter 'id' is not null or undefined
|
|
1682
2055
|
(0, common_1.assertParamExists)('putUpdateShippingAddress', 'id', id);
|
|
1683
2056
|
localVarPath = "/admin/accounts/{id}/shipping/address"
|
|
1684
|
-
.replace(
|
|
2057
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
1685
2058
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
1686
2059
|
if (configuration) {
|
|
1687
2060
|
baseOptions = configuration.baseOptions;
|
|
@@ -1733,6 +2106,28 @@ var AccountsApiFp = function (configuration) {
|
|
|
1733
2106
|
});
|
|
1734
2107
|
});
|
|
1735
2108
|
},
|
|
2109
|
+
/**
|
|
2110
|
+
* Delete Account
|
|
2111
|
+
* @param {string} id Account Xero ID
|
|
2112
|
+
* @param {*} [options] Override http request option.
|
|
2113
|
+
* @throws {RequiredError}
|
|
2114
|
+
*/
|
|
2115
|
+
deleteArchiveAccount: function (id, options) {
|
|
2116
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
2117
|
+
var localVarAxiosArgs, localVarOperationServerIndex, localVarOperationServerBasePath;
|
|
2118
|
+
var _a, _b, _c;
|
|
2119
|
+
return __generator(this, function (_d) {
|
|
2120
|
+
switch (_d.label) {
|
|
2121
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.deleteArchiveAccount(id, options)];
|
|
2122
|
+
case 1:
|
|
2123
|
+
localVarAxiosArgs = _d.sent();
|
|
2124
|
+
localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
2125
|
+
localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['AccountsApi.deleteArchiveAccount']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
2126
|
+
return [2 /*return*/, function (axios, basePath) { return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath); }];
|
|
2127
|
+
}
|
|
2128
|
+
});
|
|
2129
|
+
});
|
|
2130
|
+
},
|
|
1736
2131
|
/**
|
|
1737
2132
|
* Delete client credentials
|
|
1738
2133
|
* @summary Delete client credentials
|
|
@@ -1824,68 +2219,68 @@ var AccountsApiFp = function (configuration) {
|
|
|
1824
2219
|
});
|
|
1825
2220
|
},
|
|
1826
2221
|
/**
|
|
1827
|
-
* Get Account
|
|
1828
|
-
* @
|
|
1829
|
-
* @param {string} [email] Contact Email Address
|
|
2222
|
+
* Get Account Addresses
|
|
2223
|
+
* @param {string} id Xero ID
|
|
1830
2224
|
* @param {*} [options] Override http request option.
|
|
1831
2225
|
* @throws {RequiredError}
|
|
1832
2226
|
*/
|
|
1833
|
-
|
|
2227
|
+
getGetAccountAddresses: function (id, options) {
|
|
1834
2228
|
return __awaiter(this, void 0, void 0, function () {
|
|
1835
2229
|
var localVarAxiosArgs, localVarOperationServerIndex, localVarOperationServerBasePath;
|
|
1836
2230
|
var _a, _b, _c;
|
|
1837
2231
|
return __generator(this, function (_d) {
|
|
1838
2232
|
switch (_d.label) {
|
|
1839
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.
|
|
2233
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.getGetAccountAddresses(id, options)];
|
|
1840
2234
|
case 1:
|
|
1841
2235
|
localVarAxiosArgs = _d.sent();
|
|
1842
2236
|
localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
1843
|
-
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;
|
|
1844
2238
|
return [2 /*return*/, function (axios, basePath) { return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath); }];
|
|
1845
2239
|
}
|
|
1846
2240
|
});
|
|
1847
2241
|
});
|
|
1848
2242
|
},
|
|
1849
2243
|
/**
|
|
1850
|
-
* Get Account
|
|
1851
|
-
* @summary Get Account
|
|
1852
|
-
* @param {
|
|
2244
|
+
* Get Account Contacts
|
|
2245
|
+
* @summary Get Account Contacts
|
|
2246
|
+
* @param {string} [email] Contact Email Address
|
|
1853
2247
|
* @param {*} [options] Override http request option.
|
|
1854
2248
|
* @throws {RequiredError}
|
|
1855
2249
|
*/
|
|
1856
|
-
|
|
2250
|
+
getGetAccountContacts: function (email, options) {
|
|
1857
2251
|
return __awaiter(this, void 0, void 0, function () {
|
|
1858
2252
|
var localVarAxiosArgs, localVarOperationServerIndex, localVarOperationServerBasePath;
|
|
1859
2253
|
var _a, _b, _c;
|
|
1860
2254
|
return __generator(this, function (_d) {
|
|
1861
2255
|
switch (_d.label) {
|
|
1862
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.
|
|
2256
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.getGetAccountContacts(email, options)];
|
|
1863
2257
|
case 1:
|
|
1864
2258
|
localVarAxiosArgs = _d.sent();
|
|
1865
2259
|
localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
1866
|
-
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;
|
|
1867
2261
|
return [2 /*return*/, function (axios, basePath) { return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath); }];
|
|
1868
2262
|
}
|
|
1869
2263
|
});
|
|
1870
2264
|
});
|
|
1871
2265
|
},
|
|
1872
2266
|
/**
|
|
1873
|
-
* Get Account
|
|
1874
|
-
* @
|
|
2267
|
+
* Get Account Detailed Summary
|
|
2268
|
+
* @summary Get Account Detailed Summary
|
|
2269
|
+
* @param {number} id Customer ID
|
|
1875
2270
|
* @param {*} [options] Override http request option.
|
|
1876
2271
|
* @throws {RequiredError}
|
|
1877
2272
|
*/
|
|
1878
|
-
|
|
2273
|
+
getGetAccountDetailedSummary: function (id, options) {
|
|
1879
2274
|
return __awaiter(this, void 0, void 0, function () {
|
|
1880
2275
|
var localVarAxiosArgs, localVarOperationServerIndex, localVarOperationServerBasePath;
|
|
1881
2276
|
var _a, _b, _c;
|
|
1882
2277
|
return __generator(this, function (_d) {
|
|
1883
2278
|
switch (_d.label) {
|
|
1884
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.
|
|
2279
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.getGetAccountDetailedSummary(id, options)];
|
|
1885
2280
|
case 1:
|
|
1886
2281
|
localVarAxiosArgs = _d.sent();
|
|
1887
2282
|
localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
1888
|
-
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;
|
|
1889
2284
|
return [2 /*return*/, function (axios, basePath) { return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath); }];
|
|
1890
2285
|
}
|
|
1891
2286
|
});
|
|
@@ -1961,6 +2356,72 @@ var AccountsApiFp = function (configuration) {
|
|
|
1961
2356
|
});
|
|
1962
2357
|
});
|
|
1963
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
|
+
},
|
|
1964
2425
|
/**
|
|
1965
2426
|
* Verify account email address
|
|
1966
2427
|
* @summary Verify account email address
|
|
@@ -2036,133 +2497,248 @@ var AccountsApiFp = function (configuration) {
|
|
|
2036
2497
|
* @param {*} [options] Override http request option.
|
|
2037
2498
|
* @throws {RequiredError}
|
|
2038
2499
|
*/
|
|
2039
|
-
patchSetTcxWizardCname: function (patchUpdateAccountCnameRequest, options) {
|
|
2500
|
+
patchSetTcxWizardCname: function (patchUpdateAccountCnameRequest, options) {
|
|
2501
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
2502
|
+
var localVarAxiosArgs, localVarOperationServerIndex, localVarOperationServerBasePath;
|
|
2503
|
+
var _a, _b, _c;
|
|
2504
|
+
return __generator(this, function (_d) {
|
|
2505
|
+
switch (_d.label) {
|
|
2506
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.patchSetTcxWizardCname(patchUpdateAccountCnameRequest, options)];
|
|
2507
|
+
case 1:
|
|
2508
|
+
localVarAxiosArgs = _d.sent();
|
|
2509
|
+
localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
2510
|
+
localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['AccountsApi.patchSetTcxWizardCname']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
2511
|
+
return [2 /*return*/, function (axios, basePath) { return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath); }];
|
|
2512
|
+
}
|
|
2513
|
+
});
|
|
2514
|
+
});
|
|
2515
|
+
},
|
|
2516
|
+
/**
|
|
2517
|
+
* Set Account CNAME
|
|
2518
|
+
* @param {string} id Xero ID
|
|
2519
|
+
* @param {PatchUpdateAccountCnameRequest} [patchUpdateAccountCnameRequest] CNAME Request
|
|
2520
|
+
* @param {*} [options] Override http request option.
|
|
2521
|
+
* @throws {RequiredError}
|
|
2522
|
+
*/
|
|
2523
|
+
patchUpdateAccountCname: function (id, patchUpdateAccountCnameRequest, options) {
|
|
2524
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
2525
|
+
var localVarAxiosArgs, localVarOperationServerIndex, localVarOperationServerBasePath;
|
|
2526
|
+
var _a, _b, _c;
|
|
2527
|
+
return __generator(this, function (_d) {
|
|
2528
|
+
switch (_d.label) {
|
|
2529
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.patchUpdateAccountCname(id, patchUpdateAccountCnameRequest, options)];
|
|
2530
|
+
case 1:
|
|
2531
|
+
localVarAxiosArgs = _d.sent();
|
|
2532
|
+
localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
2533
|
+
localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['AccountsApi.patchUpdateAccountCname']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
2534
|
+
return [2 /*return*/, function (axios, basePath) { return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath); }];
|
|
2535
|
+
}
|
|
2536
|
+
});
|
|
2537
|
+
});
|
|
2538
|
+
},
|
|
2539
|
+
/**
|
|
2540
|
+
* Set Account Company Number
|
|
2541
|
+
* @param {string} id Xero ID
|
|
2542
|
+
* @param {PatchUpdateAccountCompanyNumberRequest} [patchUpdateAccountCompanyNumberRequest] Account Company Number Request
|
|
2543
|
+
* @param {*} [options] Override http request option.
|
|
2544
|
+
* @throws {RequiredError}
|
|
2545
|
+
*/
|
|
2546
|
+
patchUpdateAccountCompanyNumber: function (id, patchUpdateAccountCompanyNumberRequest, options) {
|
|
2547
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
2548
|
+
var localVarAxiosArgs, localVarOperationServerIndex, localVarOperationServerBasePath;
|
|
2549
|
+
var _a, _b, _c;
|
|
2550
|
+
return __generator(this, function (_d) {
|
|
2551
|
+
switch (_d.label) {
|
|
2552
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.patchUpdateAccountCompanyNumber(id, patchUpdateAccountCompanyNumberRequest, options)];
|
|
2553
|
+
case 1:
|
|
2554
|
+
localVarAxiosArgs = _d.sent();
|
|
2555
|
+
localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
2556
|
+
localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['AccountsApi.patchUpdateAccountCompanyNumber']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
2557
|
+
return [2 /*return*/, function (axios, basePath) { return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath); }];
|
|
2558
|
+
}
|
|
2559
|
+
});
|
|
2560
|
+
});
|
|
2561
|
+
},
|
|
2562
|
+
/**
|
|
2563
|
+
* Update Account Password
|
|
2564
|
+
* @summary Update Account Password
|
|
2565
|
+
* @param {string} token Verification Token
|
|
2566
|
+
* @param {PatchUpdateAccountContactPasswordRequest} [patchUpdateAccountContactPasswordRequest] New account request
|
|
2567
|
+
* @param {*} [options] Override http request option.
|
|
2568
|
+
* @throws {RequiredError}
|
|
2569
|
+
*/
|
|
2570
|
+
patchUpdateAccountContactPassword: function (token, patchUpdateAccountContactPasswordRequest, options) {
|
|
2571
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
2572
|
+
var localVarAxiosArgs, localVarOperationServerIndex, localVarOperationServerBasePath;
|
|
2573
|
+
var _a, _b, _c;
|
|
2574
|
+
return __generator(this, function (_d) {
|
|
2575
|
+
switch (_d.label) {
|
|
2576
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.patchUpdateAccountContactPassword(token, patchUpdateAccountContactPasswordRequest, options)];
|
|
2577
|
+
case 1:
|
|
2578
|
+
localVarAxiosArgs = _d.sent();
|
|
2579
|
+
localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
2580
|
+
localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['AccountsApi.patchUpdateAccountContactPassword']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
2581
|
+
return [2 /*return*/, function (axios, basePath) { return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath); }];
|
|
2582
|
+
}
|
|
2583
|
+
});
|
|
2584
|
+
});
|
|
2585
|
+
},
|
|
2586
|
+
/**
|
|
2587
|
+
* Set Account Phone
|
|
2588
|
+
* @param {string} id Xero ID
|
|
2589
|
+
* @param {PatchUpdateAccountPhoneRequest} [patchUpdateAccountPhoneRequest] Telephone Request
|
|
2590
|
+
* @param {*} [options] Override http request option.
|
|
2591
|
+
* @throws {RequiredError}
|
|
2592
|
+
*/
|
|
2593
|
+
patchUpdateAccountPhone: function (id, patchUpdateAccountPhoneRequest, options) {
|
|
2594
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
2595
|
+
var localVarAxiosArgs, localVarOperationServerIndex, localVarOperationServerBasePath;
|
|
2596
|
+
var _a, _b, _c;
|
|
2597
|
+
return __generator(this, function (_d) {
|
|
2598
|
+
switch (_d.label) {
|
|
2599
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.patchUpdateAccountPhone(id, patchUpdateAccountPhoneRequest, options)];
|
|
2600
|
+
case 1:
|
|
2601
|
+
localVarAxiosArgs = _d.sent();
|
|
2602
|
+
localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
2603
|
+
localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['AccountsApi.patchUpdateAccountPhone']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
2604
|
+
return [2 /*return*/, function (axios, basePath) { return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath); }];
|
|
2605
|
+
}
|
|
2606
|
+
});
|
|
2607
|
+
});
|
|
2608
|
+
},
|
|
2609
|
+
/**
|
|
2610
|
+
* Set Account VAT Number
|
|
2611
|
+
* @param {string} id Xero ID
|
|
2612
|
+
* @param {PatchUpdateAccountVatNumberRequest} [patchUpdateAccountVatNumberRequest] VAT Number Request
|
|
2613
|
+
* @param {*} [options] Override http request option.
|
|
2614
|
+
* @throws {RequiredError}
|
|
2615
|
+
*/
|
|
2616
|
+
patchUpdateAccountVatNumber: function (id, patchUpdateAccountVatNumberRequest, options) {
|
|
2040
2617
|
return __awaiter(this, void 0, void 0, function () {
|
|
2041
2618
|
var localVarAxiosArgs, localVarOperationServerIndex, localVarOperationServerBasePath;
|
|
2042
2619
|
var _a, _b, _c;
|
|
2043
2620
|
return __generator(this, function (_d) {
|
|
2044
2621
|
switch (_d.label) {
|
|
2045
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.
|
|
2622
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.patchUpdateAccountVatNumber(id, patchUpdateAccountVatNumberRequest, options)];
|
|
2046
2623
|
case 1:
|
|
2047
2624
|
localVarAxiosArgs = _d.sent();
|
|
2048
2625
|
localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
2049
|
-
localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['AccountsApi.
|
|
2626
|
+
localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['AccountsApi.patchUpdateAccountVatNumber']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
2050
2627
|
return [2 /*return*/, function (axios, basePath) { return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath); }];
|
|
2051
2628
|
}
|
|
2052
2629
|
});
|
|
2053
2630
|
});
|
|
2054
2631
|
},
|
|
2055
2632
|
/**
|
|
2056
|
-
* Set Account
|
|
2633
|
+
* Set Account Credit Limit
|
|
2057
2634
|
* @param {string} id Xero ID
|
|
2058
|
-
* @param {
|
|
2635
|
+
* @param {PatchUpdateCreditLimitRequest} [patchUpdateCreditLimitRequest] Credit Limit Request
|
|
2059
2636
|
* @param {*} [options] Override http request option.
|
|
2060
2637
|
* @throws {RequiredError}
|
|
2061
2638
|
*/
|
|
2062
|
-
|
|
2639
|
+
patchUpdateCreditLimit: function (id, patchUpdateCreditLimitRequest, options) {
|
|
2063
2640
|
return __awaiter(this, void 0, void 0, function () {
|
|
2064
2641
|
var localVarAxiosArgs, localVarOperationServerIndex, localVarOperationServerBasePath;
|
|
2065
2642
|
var _a, _b, _c;
|
|
2066
2643
|
return __generator(this, function (_d) {
|
|
2067
2644
|
switch (_d.label) {
|
|
2068
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.
|
|
2645
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.patchUpdateCreditLimit(id, patchUpdateCreditLimitRequest, options)];
|
|
2069
2646
|
case 1:
|
|
2070
2647
|
localVarAxiosArgs = _d.sent();
|
|
2071
2648
|
localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
2072
|
-
localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['AccountsApi.
|
|
2649
|
+
localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['AccountsApi.patchUpdateCreditLimit']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
2073
2650
|
return [2 /*return*/, function (axios, basePath) { return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath); }];
|
|
2074
2651
|
}
|
|
2075
2652
|
});
|
|
2076
2653
|
});
|
|
2077
2654
|
},
|
|
2078
2655
|
/**
|
|
2079
|
-
* Set Account
|
|
2656
|
+
* Set Account Price List
|
|
2080
2657
|
* @param {string} id Xero ID
|
|
2081
|
-
* @param {
|
|
2658
|
+
* @param {PatchUpdatePriceListRequest} [patchUpdatePriceListRequest] Price List Request
|
|
2082
2659
|
* @param {*} [options] Override http request option.
|
|
2083
2660
|
* @throws {RequiredError}
|
|
2084
2661
|
*/
|
|
2085
|
-
|
|
2662
|
+
patchUpdatePriceList: function (id, patchUpdatePriceListRequest, options) {
|
|
2086
2663
|
return __awaiter(this, void 0, void 0, function () {
|
|
2087
2664
|
var localVarAxiosArgs, localVarOperationServerIndex, localVarOperationServerBasePath;
|
|
2088
2665
|
var _a, _b, _c;
|
|
2089
2666
|
return __generator(this, function (_d) {
|
|
2090
2667
|
switch (_d.label) {
|
|
2091
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.
|
|
2668
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.patchUpdatePriceList(id, patchUpdatePriceListRequest, options)];
|
|
2092
2669
|
case 1:
|
|
2093
2670
|
localVarAxiosArgs = _d.sent();
|
|
2094
2671
|
localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
2095
|
-
localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['AccountsApi.
|
|
2672
|
+
localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['AccountsApi.patchUpdatePriceList']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
2096
2673
|
return [2 /*return*/, function (axios, basePath) { return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath); }];
|
|
2097
2674
|
}
|
|
2098
2675
|
});
|
|
2099
2676
|
});
|
|
2100
2677
|
},
|
|
2101
2678
|
/**
|
|
2102
|
-
*
|
|
2103
|
-
* @
|
|
2104
|
-
* @param {
|
|
2105
|
-
* @param {PatchUpdateAccountContactPasswordRequest} [patchUpdateAccountContactPasswordRequest] New account request
|
|
2679
|
+
* Set Account SIP Channel Cost
|
|
2680
|
+
* @param {string} id Xero ID
|
|
2681
|
+
* @param {PatchUpdateSipChannelCostRequest} [patchUpdateSipChannelCostRequest] SIP Channel Cost Request
|
|
2106
2682
|
* @param {*} [options] Override http request option.
|
|
2107
2683
|
* @throws {RequiredError}
|
|
2108
2684
|
*/
|
|
2109
|
-
|
|
2685
|
+
patchUpdateSipChannelCost: function (id, patchUpdateSipChannelCostRequest, options) {
|
|
2110
2686
|
return __awaiter(this, void 0, void 0, function () {
|
|
2111
2687
|
var localVarAxiosArgs, localVarOperationServerIndex, localVarOperationServerBasePath;
|
|
2112
2688
|
var _a, _b, _c;
|
|
2113
2689
|
return __generator(this, function (_d) {
|
|
2114
2690
|
switch (_d.label) {
|
|
2115
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.
|
|
2691
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.patchUpdateSipChannelCost(id, patchUpdateSipChannelCostRequest, options)];
|
|
2116
2692
|
case 1:
|
|
2117
2693
|
localVarAxiosArgs = _d.sent();
|
|
2118
2694
|
localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
2119
|
-
localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['AccountsApi.
|
|
2695
|
+
localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['AccountsApi.patchUpdateSipChannelCost']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
2120
2696
|
return [2 /*return*/, function (axios, basePath) { return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath); }];
|
|
2121
2697
|
}
|
|
2122
2698
|
});
|
|
2123
2699
|
});
|
|
2124
2700
|
},
|
|
2125
2701
|
/**
|
|
2126
|
-
* Set Account
|
|
2702
|
+
* Set Account 3CX Hosting Price List
|
|
2127
2703
|
* @param {string} id Xero ID
|
|
2128
|
-
* @param {
|
|
2704
|
+
* @param {PatchUpdateTcxHostingPriceListRequest} [patchUpdateTcxHostingPriceListRequest] 3CX Hosting Price List Request
|
|
2129
2705
|
* @param {*} [options] Override http request option.
|
|
2130
2706
|
* @throws {RequiredError}
|
|
2131
2707
|
*/
|
|
2132
|
-
|
|
2708
|
+
patchUpdateTcxHostingPriceList: function (id, patchUpdateTcxHostingPriceListRequest, options) {
|
|
2133
2709
|
return __awaiter(this, void 0, void 0, function () {
|
|
2134
2710
|
var localVarAxiosArgs, localVarOperationServerIndex, localVarOperationServerBasePath;
|
|
2135
2711
|
var _a, _b, _c;
|
|
2136
2712
|
return __generator(this, function (_d) {
|
|
2137
2713
|
switch (_d.label) {
|
|
2138
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.
|
|
2714
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.patchUpdateTcxHostingPriceList(id, patchUpdateTcxHostingPriceListRequest, options)];
|
|
2139
2715
|
case 1:
|
|
2140
2716
|
localVarAxiosArgs = _d.sent();
|
|
2141
2717
|
localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
2142
|
-
localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['AccountsApi.
|
|
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;
|
|
2143
2719
|
return [2 /*return*/, function (axios, basePath) { return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath); }];
|
|
2144
2720
|
}
|
|
2145
2721
|
});
|
|
2146
2722
|
});
|
|
2147
2723
|
},
|
|
2148
2724
|
/**
|
|
2149
|
-
* Set Account
|
|
2725
|
+
* Set Account 3CX Partner ID
|
|
2150
2726
|
* @param {string} id Xero ID
|
|
2151
|
-
* @param {
|
|
2727
|
+
* @param {PatchUpdateTcxPartnerIdRequest} [patchUpdateTcxPartnerIdRequest] Set Account 3CX Partner ID
|
|
2152
2728
|
* @param {*} [options] Override http request option.
|
|
2153
2729
|
* @throws {RequiredError}
|
|
2154
2730
|
*/
|
|
2155
|
-
|
|
2731
|
+
patchUpdateTcxPartnerId: function (id, patchUpdateTcxPartnerIdRequest, options) {
|
|
2156
2732
|
return __awaiter(this, void 0, void 0, function () {
|
|
2157
2733
|
var localVarAxiosArgs, localVarOperationServerIndex, localVarOperationServerBasePath;
|
|
2158
2734
|
var _a, _b, _c;
|
|
2159
2735
|
return __generator(this, function (_d) {
|
|
2160
2736
|
switch (_d.label) {
|
|
2161
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.
|
|
2737
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.patchUpdateTcxPartnerId(id, patchUpdateTcxPartnerIdRequest, options)];
|
|
2162
2738
|
case 1:
|
|
2163
2739
|
localVarAxiosArgs = _d.sent();
|
|
2164
2740
|
localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
2165
|
-
localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['AccountsApi.
|
|
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;
|
|
2166
2742
|
return [2 /*return*/, function (axios, basePath) { return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath); }];
|
|
2167
2743
|
}
|
|
2168
2744
|
});
|
|
@@ -2489,6 +3065,15 @@ var AccountsApiFactory = function (configuration, basePath, axios) {
|
|
|
2489
3065
|
deleteAdminUpdateAccountContact: function (id, contactId, options) {
|
|
2490
3066
|
return localVarFp.deleteAdminUpdateAccountContact(id, contactId, options).then(function (request) { return request(axios, basePath); });
|
|
2491
3067
|
},
|
|
3068
|
+
/**
|
|
3069
|
+
* Delete Account
|
|
3070
|
+
* @param {string} id Account Xero ID
|
|
3071
|
+
* @param {*} [options] Override http request option.
|
|
3072
|
+
* @throws {RequiredError}
|
|
3073
|
+
*/
|
|
3074
|
+
deleteArchiveAccount: function (id, options) {
|
|
3075
|
+
return localVarFp.deleteArchiveAccount(id, options).then(function (request) { return request(axios, basePath); });
|
|
3076
|
+
},
|
|
2492
3077
|
/**
|
|
2493
3078
|
* Delete client credentials
|
|
2494
3079
|
* @summary Delete client credentials
|
|
@@ -2527,6 +3112,15 @@ var AccountsApiFactory = function (configuration, basePath, axios) {
|
|
|
2527
3112
|
getGetAccount: function (options) {
|
|
2528
3113
|
return localVarFp.getGetAccount(options).then(function (request) { return request(axios, basePath); });
|
|
2529
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
|
+
},
|
|
2530
3124
|
/**
|
|
2531
3125
|
* Get Account Contacts
|
|
2532
3126
|
* @summary Get Account Contacts
|
|
@@ -2547,15 +3141,6 @@ var AccountsApiFactory = function (configuration, basePath, axios) {
|
|
|
2547
3141
|
getGetAccountDetailedSummary: function (id, options) {
|
|
2548
3142
|
return localVarFp.getGetAccountDetailedSummary(id, options).then(function (request) { return request(axios, basePath); });
|
|
2549
3143
|
},
|
|
2550
|
-
/**
|
|
2551
|
-
* Get Account Page Details
|
|
2552
|
-
* @param {string} id Xero ID
|
|
2553
|
-
* @param {*} [options] Override http request option.
|
|
2554
|
-
* @throws {RequiredError}
|
|
2555
|
-
*/
|
|
2556
|
-
getGetAccountPageInfo: function (id, options) {
|
|
2557
|
-
return localVarFp.getGetAccountPageInfo(id, options).then(function (request) { return request(axios, basePath); });
|
|
2558
|
-
},
|
|
2559
3144
|
/**
|
|
2560
3145
|
* Get Accounts
|
|
2561
3146
|
* @summary Get Accounts
|
|
@@ -2587,6 +3172,33 @@ var AccountsApiFactory = function (configuration, basePath, axios) {
|
|
|
2587
3172
|
getGetCustomerKeys: function (options) {
|
|
2588
3173
|
return localVarFp.getGetCustomerKeys(options).then(function (request) { return request(axios, basePath); });
|
|
2589
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
|
+
},
|
|
2590
3202
|
/**
|
|
2591
3203
|
* Verify account email address
|
|
2592
3204
|
* @summary Verify account email address
|
|
@@ -2677,6 +3289,56 @@ var AccountsApiFactory = function (configuration, basePath, axios) {
|
|
|
2677
3289
|
patchUpdateAccountVatNumber: function (id, patchUpdateAccountVatNumberRequest, options) {
|
|
2678
3290
|
return localVarFp.patchUpdateAccountVatNumber(id, patchUpdateAccountVatNumberRequest, options).then(function (request) { return request(axios, basePath); });
|
|
2679
3291
|
},
|
|
3292
|
+
/**
|
|
3293
|
+
* Set Account Credit Limit
|
|
3294
|
+
* @param {string} id Xero ID
|
|
3295
|
+
* @param {PatchUpdateCreditLimitRequest} [patchUpdateCreditLimitRequest] Credit Limit Request
|
|
3296
|
+
* @param {*} [options] Override http request option.
|
|
3297
|
+
* @throws {RequiredError}
|
|
3298
|
+
*/
|
|
3299
|
+
patchUpdateCreditLimit: function (id, patchUpdateCreditLimitRequest, options) {
|
|
3300
|
+
return localVarFp.patchUpdateCreditLimit(id, patchUpdateCreditLimitRequest, options).then(function (request) { return request(axios, basePath); });
|
|
3301
|
+
},
|
|
3302
|
+
/**
|
|
3303
|
+
* Set Account Price List
|
|
3304
|
+
* @param {string} id Xero ID
|
|
3305
|
+
* @param {PatchUpdatePriceListRequest} [patchUpdatePriceListRequest] Price List Request
|
|
3306
|
+
* @param {*} [options] Override http request option.
|
|
3307
|
+
* @throws {RequiredError}
|
|
3308
|
+
*/
|
|
3309
|
+
patchUpdatePriceList: function (id, patchUpdatePriceListRequest, options) {
|
|
3310
|
+
return localVarFp.patchUpdatePriceList(id, patchUpdatePriceListRequest, options).then(function (request) { return request(axios, basePath); });
|
|
3311
|
+
},
|
|
3312
|
+
/**
|
|
3313
|
+
* Set Account SIP Channel Cost
|
|
3314
|
+
* @param {string} id Xero ID
|
|
3315
|
+
* @param {PatchUpdateSipChannelCostRequest} [patchUpdateSipChannelCostRequest] SIP Channel Cost Request
|
|
3316
|
+
* @param {*} [options] Override http request option.
|
|
3317
|
+
* @throws {RequiredError}
|
|
3318
|
+
*/
|
|
3319
|
+
patchUpdateSipChannelCost: function (id, patchUpdateSipChannelCostRequest, options) {
|
|
3320
|
+
return localVarFp.patchUpdateSipChannelCost(id, patchUpdateSipChannelCostRequest, options).then(function (request) { return request(axios, basePath); });
|
|
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
|
+
},
|
|
2680
3342
|
/**
|
|
2681
3343
|
* Create Account Contact
|
|
2682
3344
|
* @param {string} id Account Xero ID
|
|
@@ -2832,6 +3494,16 @@ var AccountsApi = /** @class */ (function (_super) {
|
|
|
2832
3494
|
var _this = this;
|
|
2833
3495
|
return (0, exports.AccountsApiFp)(this.configuration).deleteAdminUpdateAccountContact(id, contactId, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
2834
3496
|
};
|
|
3497
|
+
/**
|
|
3498
|
+
* Delete Account
|
|
3499
|
+
* @param {string} id Account Xero ID
|
|
3500
|
+
* @param {*} [options] Override http request option.
|
|
3501
|
+
* @throws {RequiredError}
|
|
3502
|
+
*/
|
|
3503
|
+
AccountsApi.prototype.deleteArchiveAccount = function (id, options) {
|
|
3504
|
+
var _this = this;
|
|
3505
|
+
return (0, exports.AccountsApiFp)(this.configuration).deleteArchiveAccount(id, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
3506
|
+
};
|
|
2835
3507
|
/**
|
|
2836
3508
|
* Delete client credentials
|
|
2837
3509
|
* @summary Delete client credentials
|
|
@@ -2874,6 +3546,16 @@ var AccountsApi = /** @class */ (function (_super) {
|
|
|
2874
3546
|
var _this = this;
|
|
2875
3547
|
return (0, exports.AccountsApiFp)(this.configuration).getGetAccount(options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
2876
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
|
+
};
|
|
2877
3559
|
/**
|
|
2878
3560
|
* Get Account Contacts
|
|
2879
3561
|
* @summary Get Account Contacts
|
|
@@ -2896,16 +3578,6 @@ var AccountsApi = /** @class */ (function (_super) {
|
|
|
2896
3578
|
var _this = this;
|
|
2897
3579
|
return (0, exports.AccountsApiFp)(this.configuration).getGetAccountDetailedSummary(id, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
2898
3580
|
};
|
|
2899
|
-
/**
|
|
2900
|
-
* Get Account Page Details
|
|
2901
|
-
* @param {string} id Xero ID
|
|
2902
|
-
* @param {*} [options] Override http request option.
|
|
2903
|
-
* @throws {RequiredError}
|
|
2904
|
-
*/
|
|
2905
|
-
AccountsApi.prototype.getGetAccountPageInfo = function (id, options) {
|
|
2906
|
-
var _this = this;
|
|
2907
|
-
return (0, exports.AccountsApiFp)(this.configuration).getGetAccountPageInfo(id, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
2908
|
-
};
|
|
2909
3581
|
/**
|
|
2910
3582
|
* Get Accounts
|
|
2911
3583
|
* @summary Get Accounts
|
|
@@ -2940,6 +3612,36 @@ var AccountsApi = /** @class */ (function (_super) {
|
|
|
2940
3612
|
var _this = this;
|
|
2941
3613
|
return (0, exports.AccountsApiFp)(this.configuration).getGetCustomerKeys(options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
2942
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
|
+
};
|
|
2943
3645
|
/**
|
|
2944
3646
|
* Verify account email address
|
|
2945
3647
|
* @summary Verify account email address
|
|
@@ -3039,6 +3741,61 @@ var AccountsApi = /** @class */ (function (_super) {
|
|
|
3039
3741
|
var _this = this;
|
|
3040
3742
|
return (0, exports.AccountsApiFp)(this.configuration).patchUpdateAccountVatNumber(id, patchUpdateAccountVatNumberRequest, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
3041
3743
|
};
|
|
3744
|
+
/**
|
|
3745
|
+
* Set Account Credit Limit
|
|
3746
|
+
* @param {string} id Xero ID
|
|
3747
|
+
* @param {PatchUpdateCreditLimitRequest} [patchUpdateCreditLimitRequest] Credit Limit Request
|
|
3748
|
+
* @param {*} [options] Override http request option.
|
|
3749
|
+
* @throws {RequiredError}
|
|
3750
|
+
*/
|
|
3751
|
+
AccountsApi.prototype.patchUpdateCreditLimit = function (id, patchUpdateCreditLimitRequest, options) {
|
|
3752
|
+
var _this = this;
|
|
3753
|
+
return (0, exports.AccountsApiFp)(this.configuration).patchUpdateCreditLimit(id, patchUpdateCreditLimitRequest, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
3754
|
+
};
|
|
3755
|
+
/**
|
|
3756
|
+
* Set Account Price List
|
|
3757
|
+
* @param {string} id Xero ID
|
|
3758
|
+
* @param {PatchUpdatePriceListRequest} [patchUpdatePriceListRequest] Price List Request
|
|
3759
|
+
* @param {*} [options] Override http request option.
|
|
3760
|
+
* @throws {RequiredError}
|
|
3761
|
+
*/
|
|
3762
|
+
AccountsApi.prototype.patchUpdatePriceList = function (id, patchUpdatePriceListRequest, options) {
|
|
3763
|
+
var _this = this;
|
|
3764
|
+
return (0, exports.AccountsApiFp)(this.configuration).patchUpdatePriceList(id, patchUpdatePriceListRequest, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
3765
|
+
};
|
|
3766
|
+
/**
|
|
3767
|
+
* Set Account SIP Channel Cost
|
|
3768
|
+
* @param {string} id Xero ID
|
|
3769
|
+
* @param {PatchUpdateSipChannelCostRequest} [patchUpdateSipChannelCostRequest] SIP Channel Cost Request
|
|
3770
|
+
* @param {*} [options] Override http request option.
|
|
3771
|
+
* @throws {RequiredError}
|
|
3772
|
+
*/
|
|
3773
|
+
AccountsApi.prototype.patchUpdateSipChannelCost = function (id, patchUpdateSipChannelCostRequest, options) {
|
|
3774
|
+
var _this = this;
|
|
3775
|
+
return (0, exports.AccountsApiFp)(this.configuration).patchUpdateSipChannelCost(id, patchUpdateSipChannelCostRequest, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
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
|
+
};
|
|
3042
3799
|
/**
|
|
3043
3800
|
* Create Account Contact
|
|
3044
3801
|
* @param {string} id Account Xero ID
|
|
@@ -3151,51 +3908,164 @@ var AccountsApi = /** @class */ (function (_super) {
|
|
|
3151
3908
|
var _this = this;
|
|
3152
3909
|
return (0, exports.AccountsApiFp)(this.configuration).putAdminUpdateAccountContact(id, contactId, accountContactRequestModel, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
3153
3910
|
};
|
|
3154
|
-
/**
|
|
3155
|
-
* Update Account Contacts
|
|
3156
|
-
* @summary Update Account Contact
|
|
3157
|
-
* @param {string} email Contact Email Address
|
|
3158
|
-
* @param {AccountContactRequestModel} [accountContactRequestModel] Account request
|
|
3159
|
-
* @param {*} [options] Override http request option.
|
|
3160
|
-
* @throws {RequiredError}
|
|
3161
|
-
*/
|
|
3162
|
-
AccountsApi.prototype.putUpdateAccountContact = function (email, accountContactRequestModel, options) {
|
|
3163
|
-
var _this = this;
|
|
3164
|
-
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
|
+
},
|
|
3165
4027
|
};
|
|
3166
|
-
|
|
3167
|
-
|
|
3168
|
-
|
|
3169
|
-
|
|
3170
|
-
|
|
3171
|
-
|
|
3172
|
-
|
|
3173
|
-
|
|
3174
|
-
|
|
3175
|
-
|
|
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
|
+
},
|
|
3176
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
|
+
}
|
|
3177
4056
|
/**
|
|
3178
|
-
*
|
|
3179
|
-
* @
|
|
3180
|
-
* @param {AddressDTO} [addressDTO] Updated Shipping Address
|
|
4057
|
+
* Get Billing Customers
|
|
4058
|
+
* @summary Get Billing Customers
|
|
3181
4059
|
* @param {*} [options] Override http request option.
|
|
3182
4060
|
* @throws {RequiredError}
|
|
3183
4061
|
*/
|
|
3184
|
-
|
|
4062
|
+
BillingApi.prototype.getGetAllCustomer = function (options) {
|
|
3185
4063
|
var _this = this;
|
|
3186
|
-
return (0, exports.
|
|
4064
|
+
return (0, exports.BillingApiFp)(this.configuration).getGetAllCustomer(options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
3187
4065
|
};
|
|
3188
|
-
return
|
|
4066
|
+
return BillingApi;
|
|
3189
4067
|
}(base_1.BaseAPI));
|
|
3190
|
-
exports.
|
|
3191
|
-
exports.PatchSetPortalAccessStateEnum = {
|
|
3192
|
-
Enable: 'enable',
|
|
3193
|
-
Disable: 'disable'
|
|
3194
|
-
};
|
|
3195
|
-
exports.PatchSetPrizePromoStateEnum = {
|
|
3196
|
-
Enable: 'enable',
|
|
3197
|
-
Disable: 'disable'
|
|
3198
|
-
};
|
|
4068
|
+
exports.BillingApi = BillingApi;
|
|
3199
4069
|
/**
|
|
3200
4070
|
* CRMApi - axios parameter creator
|
|
3201
4071
|
*/
|
|
@@ -3222,7 +4092,7 @@ var CRMApiAxiosParamCreator = function (configuration) {
|
|
|
3222
4092
|
// verify required parameter 'id' is not null or undefined
|
|
3223
4093
|
(0, common_1.assertParamExists)('getGetCrmActivities', 'id', id);
|
|
3224
4094
|
localVarPath = "/admin/crm/{id}/activities"
|
|
3225
|
-
.replace(
|
|
4095
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
3226
4096
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
3227
4097
|
if (configuration) {
|
|
3228
4098
|
baseOptions = configuration.baseOptions;
|
|
@@ -3299,7 +4169,7 @@ var CRMApiAxiosParamCreator = function (configuration) {
|
|
|
3299
4169
|
// verify required parameter 'id' is not null or undefined
|
|
3300
4170
|
(0, common_1.assertParamExists)('postCreateCrmNote', 'id', id);
|
|
3301
4171
|
localVarPath = "/admin/crm/{id}/activities/note"
|
|
3302
|
-
.replace(
|
|
4172
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
3303
4173
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
3304
4174
|
if (configuration) {
|
|
3305
4175
|
baseOptions = configuration.baseOptions;
|
|
@@ -3484,10 +4354,11 @@ exports.CRMApi = CRMApi;
|
|
|
3484
4354
|
exports.GetGetCrmActivitiesTypeEnum = {
|
|
3485
4355
|
Alert: 'alert',
|
|
3486
4356
|
Call: 'call',
|
|
4357
|
+
Email: 'email',
|
|
3487
4358
|
Note: 'note',
|
|
3488
4359
|
Order: 'order',
|
|
3489
4360
|
Quote: 'quote',
|
|
3490
|
-
TcxOrder: 'tcx_order'
|
|
4361
|
+
TcxOrder: 'tcx_order',
|
|
3491
4362
|
};
|
|
3492
4363
|
/**
|
|
3493
4364
|
* Class3CXApi - axios parameter creator
|
|
@@ -3962,7 +4833,7 @@ var Class3CXInstallationWizardApiAxiosParamCreator = function (configuration) {
|
|
|
3962
4833
|
// verify required parameter 'id' is not null or undefined
|
|
3963
4834
|
(0, common_1.assertParamExists)('getGetDdisTcxWizard', 'id', id);
|
|
3964
4835
|
localVarPath = "/tcx/wizards/sip/trunks/{id}/ddis"
|
|
3965
|
-
.replace(
|
|
4836
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
3966
4837
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
3967
4838
|
if (configuration) {
|
|
3968
4839
|
baseOptions = configuration.baseOptions;
|
|
@@ -4191,7 +5062,7 @@ var Class3CXInstallationWizardApiAxiosParamCreator = function (configuration) {
|
|
|
4191
5062
|
// verify required parameter 'id' is not null or undefined
|
|
4192
5063
|
(0, common_1.assertParamExists)('getGetSipTrunkTcxWizard', 'id', id);
|
|
4193
5064
|
localVarPath = "/tcx/wizards/sip/trunks/{id}"
|
|
4194
|
-
.replace(
|
|
5065
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
4195
5066
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
4196
5067
|
if (configuration) {
|
|
4197
5068
|
baseOptions = configuration.baseOptions;
|
|
@@ -4829,7 +5700,7 @@ var Class3CXInstallationWizardApiAxiosParamCreator = function (configuration) {
|
|
|
4829
5700
|
// verify required parameter 'id' is not null or undefined
|
|
4830
5701
|
(0, common_1.assertParamExists)('postGetDdisTcxWizard', 'id', id);
|
|
4831
5702
|
localVarPath = "/tcx/wizards/sip/trunks/{id}/ddis"
|
|
4832
|
-
.replace(
|
|
5703
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
4833
5704
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
4834
5705
|
if (configuration) {
|
|
4835
5706
|
baseOptions = configuration.baseOptions;
|
|
@@ -6568,7 +7439,7 @@ var Class3CXInstallationsApiAxiosParamCreator = function (configuration) {
|
|
|
6568
7439
|
// verify required parameter 'wizardId' is not null or undefined
|
|
6569
7440
|
(0, common_1.assertParamExists)('getGetDetails', 'wizardId', wizardId);
|
|
6570
7441
|
localVarPath = "/tcx/installations/{wizard_id}/details"
|
|
6571
|
-
.replace(
|
|
7442
|
+
.replace('{wizard_id}', encodeURIComponent(String(wizardId)));
|
|
6572
7443
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
6573
7444
|
if (configuration) {
|
|
6574
7445
|
baseOptions = configuration.baseOptions;
|
|
@@ -6649,6 +7520,44 @@ var Class3CXInstallationsApiAxiosParamCreator = function (configuration) {
|
|
|
6649
7520
|
});
|
|
6650
7521
|
});
|
|
6651
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
|
+
},
|
|
6652
7561
|
/**
|
|
6653
7562
|
* Change instance owner
|
|
6654
7563
|
* @summary Change instance owner
|
|
@@ -6671,7 +7580,7 @@ var Class3CXInstallationsApiAxiosParamCreator = function (configuration) {
|
|
|
6671
7580
|
// verify required parameter 'customerId' is not null or undefined
|
|
6672
7581
|
(0, common_1.assertParamExists)('patchChangeInstanceOwner', 'customerId', customerId);
|
|
6673
7582
|
localVarPath = "/tcx/installations/{instance_id}/owner"
|
|
6674
|
-
.replace(
|
|
7583
|
+
.replace('{instance_id}', encodeURIComponent(String(instanceId)));
|
|
6675
7584
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
6676
7585
|
if (configuration) {
|
|
6677
7586
|
baseOptions = configuration.baseOptions;
|
|
@@ -6714,7 +7623,7 @@ var Class3CXInstallationsApiAxiosParamCreator = function (configuration) {
|
|
|
6714
7623
|
// verify required parameter 'enable' is not null or undefined
|
|
6715
7624
|
(0, common_1.assertParamExists)('patchUpdateAutoFailover', 'enable', enable);
|
|
6716
7625
|
localVarPath = "/tcx/installations/{instance_id}/failover/auto"
|
|
6717
|
-
.replace(
|
|
7626
|
+
.replace('{instance_id}', encodeURIComponent(String(instanceId)));
|
|
6718
7627
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
6719
7628
|
if (configuration) {
|
|
6720
7629
|
baseOptions = configuration.baseOptions;
|
|
@@ -6757,7 +7666,7 @@ var Class3CXInstallationsApiAxiosParamCreator = function (configuration) {
|
|
|
6757
7666
|
// verify required parameter 'gigabytes' is not null or undefined
|
|
6758
7667
|
(0, common_1.assertParamExists)('postAddDisk', 'gigabytes', gigabytes);
|
|
6759
7668
|
localVarPath = "/tcx/installations/{instance_id}/disk"
|
|
6760
|
-
.replace(
|
|
7669
|
+
.replace('{instance_id}', encodeURIComponent(String(instanceId)));
|
|
6761
7670
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
6762
7671
|
if (configuration) {
|
|
6763
7672
|
baseOptions = configuration.baseOptions;
|
|
@@ -6803,7 +7712,7 @@ var Class3CXInstallationsApiAxiosParamCreator = function (configuration) {
|
|
|
6803
7712
|
// verify required parameter 'ipAddress' is not null or undefined
|
|
6804
7713
|
(0, common_1.assertParamExists)('postCreateSshUser', 'ipAddress', ipAddress);
|
|
6805
7714
|
localVarPath = "/tcx/installations/{instance_id}/create/user/root"
|
|
6806
|
-
.replace(
|
|
7715
|
+
.replace('{instance_id}', encodeURIComponent(String(instanceId)));
|
|
6807
7716
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
6808
7717
|
if (configuration) {
|
|
6809
7718
|
baseOptions = configuration.baseOptions;
|
|
@@ -6847,7 +7756,7 @@ var Class3CXInstallationsApiAxiosParamCreator = function (configuration) {
|
|
|
6847
7756
|
// verify required parameter 'instanceId' is not null or undefined
|
|
6848
7757
|
(0, common_1.assertParamExists)('postDeleteInstance', 'instanceId', instanceId);
|
|
6849
7758
|
localVarPath = "/tcx/installations/{instance_id}/delete"
|
|
6850
|
-
.replace(
|
|
7759
|
+
.replace('{instance_id}', encodeURIComponent(String(instanceId)));
|
|
6851
7760
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
6852
7761
|
if (configuration) {
|
|
6853
7762
|
baseOptions = configuration.baseOptions;
|
|
@@ -6888,7 +7797,7 @@ var Class3CXInstallationsApiAxiosParamCreator = function (configuration) {
|
|
|
6888
7797
|
// verify required parameter 'gigabytes' is not null or undefined
|
|
6889
7798
|
(0, common_1.assertParamExists)('postExtendDisk', 'gigabytes', gigabytes);
|
|
6890
7799
|
localVarPath = "/tcx/installations/{instance_id}/disk/extend"
|
|
6891
|
-
.replace(
|
|
7800
|
+
.replace('{instance_id}', encodeURIComponent(String(instanceId)));
|
|
6892
7801
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
6893
7802
|
if (configuration) {
|
|
6894
7803
|
baseOptions = configuration.baseOptions;
|
|
@@ -6934,7 +7843,7 @@ var Class3CXInstallationsApiAxiosParamCreator = function (configuration) {
|
|
|
6934
7843
|
// verify required parameter 'type' is not null or undefined
|
|
6935
7844
|
(0, common_1.assertParamExists)('postFailoverInstance', 'type', type);
|
|
6936
7845
|
localVarPath = "/tcx/installations/{instance_id}/failover"
|
|
6937
|
-
.replace(
|
|
7846
|
+
.replace('{instance_id}', encodeURIComponent(String(instanceId)));
|
|
6938
7847
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
6939
7848
|
if (configuration) {
|
|
6940
7849
|
baseOptions = configuration.baseOptions;
|
|
@@ -6974,7 +7883,7 @@ var Class3CXInstallationsApiAxiosParamCreator = function (configuration) {
|
|
|
6974
7883
|
// verify required parameter 'sbcId' is not null or undefined
|
|
6975
7884
|
(0, common_1.assertParamExists)('postInstallTcxSbc', 'sbcId', sbcId);
|
|
6976
7885
|
localVarPath = "/tcx/installations/sbcs/{sbc_id}/install"
|
|
6977
|
-
.replace(
|
|
7886
|
+
.replace('{sbc_id}', encodeURIComponent(String(sbcId)));
|
|
6978
7887
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
6979
7888
|
if (configuration) {
|
|
6980
7889
|
baseOptions = configuration.baseOptions;
|
|
@@ -7012,7 +7921,7 @@ var Class3CXInstallationsApiAxiosParamCreator = function (configuration) {
|
|
|
7012
7921
|
// verify required parameter 'instanceId' is not null or undefined
|
|
7013
7922
|
(0, common_1.assertParamExists)('postRebootInstance', 'instanceId', instanceId);
|
|
7014
7923
|
localVarPath = "/tcx/installations/{instance_id}/reboot"
|
|
7015
|
-
.replace(
|
|
7924
|
+
.replace('{instance_id}', encodeURIComponent(String(instanceId)));
|
|
7016
7925
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
7017
7926
|
if (configuration) {
|
|
7018
7927
|
baseOptions = configuration.baseOptions;
|
|
@@ -7053,7 +7962,7 @@ var Class3CXInstallationsApiAxiosParamCreator = function (configuration) {
|
|
|
7053
7962
|
// verify required parameter 'size' is not null or undefined
|
|
7054
7963
|
(0, common_1.assertParamExists)('postResizeInstance', 'size', size);
|
|
7055
7964
|
localVarPath = "/tcx/installations/{instance_id}/resize"
|
|
7056
|
-
.replace(
|
|
7965
|
+
.replace('{instance_id}', encodeURIComponent(String(instanceId)));
|
|
7057
7966
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
7058
7967
|
if (configuration) {
|
|
7059
7968
|
baseOptions = configuration.baseOptions;
|
|
@@ -7097,7 +8006,7 @@ var Class3CXInstallationsApiAxiosParamCreator = function (configuration) {
|
|
|
7097
8006
|
// verify required parameter 'instanceId' is not null or undefined
|
|
7098
8007
|
(0, common_1.assertParamExists)('postRestartServices', 'instanceId', instanceId);
|
|
7099
8008
|
localVarPath = "/tcx/installations/{instance_id}/services/restart"
|
|
7100
|
-
.replace(
|
|
8009
|
+
.replace('{instance_id}', encodeURIComponent(String(instanceId)));
|
|
7101
8010
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
7102
8011
|
if (configuration) {
|
|
7103
8012
|
baseOptions = configuration.baseOptions;
|
|
@@ -7138,7 +8047,7 @@ var Class3CXInstallationsApiAxiosParamCreator = function (configuration) {
|
|
|
7138
8047
|
// verify required parameter 'instanceId' is not null or undefined
|
|
7139
8048
|
(0, common_1.assertParamExists)('postScheduledReboot', 'instanceId', instanceId);
|
|
7140
8049
|
localVarPath = "/tcx/installations/{instance_id}/reboot/scheduled"
|
|
7141
|
-
.replace(
|
|
8050
|
+
.replace('{instance_id}', encodeURIComponent(String(instanceId)));
|
|
7142
8051
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
7143
8052
|
if (configuration) {
|
|
7144
8053
|
baseOptions = configuration.baseOptions;
|
|
@@ -7179,7 +8088,7 @@ var Class3CXInstallationsApiAxiosParamCreator = function (configuration) {
|
|
|
7179
8088
|
// verify required parameter 'instanceId' is not null or undefined
|
|
7180
8089
|
(0, common_1.assertParamExists)('postSuspendInstance', 'instanceId', instanceId);
|
|
7181
8090
|
localVarPath = "/tcx/installations/{instance_id}/suspend"
|
|
7182
|
-
.replace(
|
|
8091
|
+
.replace('{instance_id}', encodeURIComponent(String(instanceId)));
|
|
7183
8092
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
7184
8093
|
if (configuration) {
|
|
7185
8094
|
baseOptions = configuration.baseOptions;
|
|
@@ -7219,7 +8128,7 @@ var Class3CXInstallationsApiAxiosParamCreator = function (configuration) {
|
|
|
7219
8128
|
// verify required parameter 'instanceId' is not null or undefined
|
|
7220
8129
|
(0, common_1.assertParamExists)('postTestLoginCredentials', 'instanceId', instanceId);
|
|
7221
8130
|
localVarPath = "/tcx/installations/{instance_id}/tests/login"
|
|
7222
|
-
.replace(
|
|
8131
|
+
.replace('{instance_id}', encodeURIComponent(String(instanceId)));
|
|
7223
8132
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
7224
8133
|
if (configuration) {
|
|
7225
8134
|
baseOptions = configuration.baseOptions;
|
|
@@ -7256,7 +8165,7 @@ var Class3CXInstallationsApiAxiosParamCreator = function (configuration) {
|
|
|
7256
8165
|
// verify required parameter 'instanceId' is not null or undefined
|
|
7257
8166
|
(0, common_1.assertParamExists)('postUnsuspendInstance', 'instanceId', instanceId);
|
|
7258
8167
|
localVarPath = "/tcx/installations/{instance_id}/unsuspend"
|
|
7259
|
-
.replace(
|
|
8168
|
+
.replace('{instance_id}', encodeURIComponent(String(instanceId)));
|
|
7260
8169
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
7261
8170
|
if (configuration) {
|
|
7262
8171
|
baseOptions = configuration.baseOptions;
|
|
@@ -7296,7 +8205,7 @@ var Class3CXInstallationsApiAxiosParamCreator = function (configuration) {
|
|
|
7296
8205
|
// verify required parameter 'schedule' is not null or undefined
|
|
7297
8206
|
(0, common_1.assertParamExists)('postUpgradeDebian', 'schedule', schedule);
|
|
7298
8207
|
localVarPath = "/tcx/installations/{instance_id}/debian/upgrade"
|
|
7299
|
-
.replace(
|
|
8208
|
+
.replace('{instance_id}', encodeURIComponent(String(instanceId)));
|
|
7300
8209
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
7301
8210
|
if (configuration) {
|
|
7302
8211
|
baseOptions = configuration.baseOptions;
|
|
@@ -7337,7 +8246,7 @@ var Class3CXInstallationsApiAxiosParamCreator = function (configuration) {
|
|
|
7337
8246
|
// verify required parameter 'wizardId' is not null or undefined
|
|
7338
8247
|
(0, common_1.assertParamExists)('putGetDetails', 'wizardId', wizardId);
|
|
7339
8248
|
localVarPath = "/tcx/installations/{wizard_id}/details"
|
|
7340
|
-
.replace(
|
|
8249
|
+
.replace('{wizard_id}', encodeURIComponent(String(wizardId)));
|
|
7341
8250
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
7342
8251
|
if (configuration) {
|
|
7343
8252
|
baseOptions = configuration.baseOptions;
|
|
@@ -7419,6 +8328,29 @@ var Class3CXInstallationsApiFp = function (configuration) {
|
|
|
7419
8328
|
});
|
|
7420
8329
|
});
|
|
7421
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
|
+
},
|
|
7422
8354
|
/**
|
|
7423
8355
|
* Change instance owner
|
|
7424
8356
|
* @summary Change instance owner
|
|
@@ -7860,6 +8792,16 @@ var Class3CXInstallationsApiFactory = function (configuration, basePath, axios)
|
|
|
7860
8792
|
getGetInstallations: function (pageSize, page, customerId, search, status, hosting, installType, options) {
|
|
7861
8793
|
return localVarFp.getGetInstallations(pageSize, page, customerId, search, status, hosting, installType, options).then(function (request) { return request(axios, basePath); });
|
|
7862
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
|
+
},
|
|
7863
8805
|
/**
|
|
7864
8806
|
* Change instance owner
|
|
7865
8807
|
* @summary Change instance owner
|
|
@@ -8084,6 +9026,17 @@ var Class3CXInstallationsApi = /** @class */ (function (_super) {
|
|
|
8084
9026
|
var _this = this;
|
|
8085
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); });
|
|
8086
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
|
+
};
|
|
8087
9040
|
/**
|
|
8088
9041
|
* Change instance owner
|
|
8089
9042
|
* @summary Change instance owner
|
|
@@ -8293,30 +9246,30 @@ exports.GetGetInstallationsStatusEnum = {
|
|
|
8293
9246
|
Completed: 'Completed',
|
|
8294
9247
|
Outstanding: 'Outstanding',
|
|
8295
9248
|
Offline: 'Offline',
|
|
8296
|
-
FailedOver: 'Failed Over'
|
|
9249
|
+
FailedOver: 'Failed Over',
|
|
8297
9250
|
};
|
|
8298
9251
|
exports.GetGetInstallationsHostingEnum = {
|
|
8299
9252
|
Yellowgrid: 'yellowgrid',
|
|
8300
9253
|
MultiTenant: 'multi-tenant',
|
|
8301
9254
|
Onprem: 'onprem',
|
|
8302
|
-
All: 'all'
|
|
9255
|
+
All: 'all',
|
|
8303
9256
|
};
|
|
8304
9257
|
exports.GetGetInstallationsInstallTypeEnum = {
|
|
8305
9258
|
New: 'new',
|
|
8306
9259
|
Restore: 'restore',
|
|
8307
9260
|
Failover: 'failover',
|
|
8308
|
-
MultiTenant: 'multi-tenant'
|
|
9261
|
+
MultiTenant: 'multi-tenant',
|
|
8309
9262
|
};
|
|
8310
9263
|
exports.PostFailoverInstanceTypeEnum = {
|
|
8311
9264
|
Config: 'config',
|
|
8312
|
-
Image: 'image'
|
|
9265
|
+
Image: 'image',
|
|
8313
9266
|
};
|
|
8314
9267
|
exports.PostResizeInstanceSizeEnum = {
|
|
8315
9268
|
D24: 'd2-4',
|
|
8316
9269
|
D28: 'd2-8',
|
|
8317
9270
|
B230: 'b2-30',
|
|
8318
9271
|
S2vcpu4gb: 's-2vcpu-4gb',
|
|
8319
|
-
S4vcpu8gb: 's-4vcpu-8gb'
|
|
9272
|
+
S4vcpu8gb: 's-4vcpu-8gb',
|
|
8320
9273
|
};
|
|
8321
9274
|
/**
|
|
8322
9275
|
* Class3CXIntegrationsApi - axios parameter creator
|
|
@@ -8471,8 +9424,8 @@ var Class3CXIntegrationsApiAxiosParamCreator = function (configuration) {
|
|
|
8471
9424
|
// verify required parameter 'ref' is not null or undefined
|
|
8472
9425
|
(0, common_1.assertParamExists)('patchUpdateEtpOrderReference', 'ref', ref);
|
|
8473
9426
|
localVarPath = "/tcx/integrations/edtechpro/{clientId}/schools/{schoolId}/orderReference"
|
|
8474
|
-
.replace(
|
|
8475
|
-
.replace(
|
|
9427
|
+
.replace('{clientId}', encodeURIComponent(String(clientId)))
|
|
9428
|
+
.replace('{schoolId}', encodeURIComponent(String(schoolId)));
|
|
8476
9429
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
8477
9430
|
if (configuration) {
|
|
8478
9431
|
baseOptions = configuration.baseOptions;
|
|
@@ -8857,11 +9810,11 @@ var Class3CXIntegrationsApi = /** @class */ (function (_super) {
|
|
|
8857
9810
|
exports.Class3CXIntegrationsApi = Class3CXIntegrationsApi;
|
|
8858
9811
|
exports.GetGetPriceLicenceTypeEnum = {
|
|
8859
9812
|
Lite: 'lite',
|
|
8860
|
-
Pro: 'pro'
|
|
9813
|
+
Pro: 'pro',
|
|
8861
9814
|
};
|
|
8862
9815
|
exports.GetGetPriceSchoolTypeEnum = {
|
|
8863
9816
|
Primary: 'primary',
|
|
8864
|
-
Secondary: 'secondary'
|
|
9817
|
+
Secondary: 'secondary',
|
|
8865
9818
|
};
|
|
8866
9819
|
/**
|
|
8867
9820
|
* Class3CXMultiTenantApi - axios parameter creator
|
|
@@ -8888,7 +9841,7 @@ var Class3CXMultiTenantApiAxiosParamCreator = function (configuration) {
|
|
|
8888
9841
|
// verify required parameter 'reference' is not null or undefined
|
|
8889
9842
|
(0, common_1.assertParamExists)('deleteGetTenant', 'reference', reference);
|
|
8890
9843
|
localVarPath = "/tcx/mt/tenants/{reference}"
|
|
8891
|
-
.replace(
|
|
9844
|
+
.replace('{reference}', encodeURIComponent(String(reference)));
|
|
8892
9845
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
8893
9846
|
if (configuration) {
|
|
8894
9847
|
baseOptions = configuration.baseOptions;
|
|
@@ -8965,7 +9918,7 @@ var Class3CXMultiTenantApiAxiosParamCreator = function (configuration) {
|
|
|
8965
9918
|
// verify required parameter 'reference' is not null or undefined
|
|
8966
9919
|
(0, common_1.assertParamExists)('getGetTenant', 'reference', reference);
|
|
8967
9920
|
localVarPath = "/tcx/mt/tenants/{reference}"
|
|
8968
|
-
.replace(
|
|
9921
|
+
.replace('{reference}', encodeURIComponent(String(reference)));
|
|
8969
9922
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
8970
9923
|
if (configuration) {
|
|
8971
9924
|
baseOptions = configuration.baseOptions;
|
|
@@ -9582,7 +10535,7 @@ exports.GetGetTenantsStatusEnum = {
|
|
|
9582
10535
|
Completed: 'Completed',
|
|
9583
10536
|
Outstanding: 'Outstanding',
|
|
9584
10537
|
Offline: 'Offline',
|
|
9585
|
-
FailedOver: 'Failed Over'
|
|
10538
|
+
FailedOver: 'Failed Over',
|
|
9586
10539
|
};
|
|
9587
10540
|
/**
|
|
9588
10541
|
* MyPBXToolsApi - axios parameter creator
|
|
@@ -9739,7 +10692,7 @@ var NumberPortingApiAxiosParamCreator = function (configuration) {
|
|
|
9739
10692
|
// verify required parameter 'id' is not null or undefined
|
|
9740
10693
|
(0, common_1.assertParamExists)('deleteGetAdminNumberPort', 'id', id);
|
|
9741
10694
|
localVarPath = "/admin/sip/numbers/ports/{id}"
|
|
9742
|
-
.replace(
|
|
10695
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
9743
10696
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
9744
10697
|
if (configuration) {
|
|
9745
10698
|
baseOptions = configuration.baseOptions;
|
|
@@ -9820,7 +10773,7 @@ var NumberPortingApiAxiosParamCreator = function (configuration) {
|
|
|
9820
10773
|
// verify required parameter 'id' is not null or undefined
|
|
9821
10774
|
(0, common_1.assertParamExists)('getGetAdminNumberPort', 'id', id);
|
|
9822
10775
|
localVarPath = "/admin/sip/numbers/ports/{id}"
|
|
9823
|
-
.replace(
|
|
10776
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
9824
10777
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
9825
10778
|
if (configuration) {
|
|
9826
10779
|
baseOptions = configuration.baseOptions;
|
|
@@ -9902,7 +10855,7 @@ var NumberPortingApiAxiosParamCreator = function (configuration) {
|
|
|
9902
10855
|
// verify required parameter 'id' is not null or undefined
|
|
9903
10856
|
(0, common_1.assertParamExists)('getUpdateNumberPort', 'id', id);
|
|
9904
10857
|
localVarPath = "/sip/numbers/ports/{id}"
|
|
9905
|
-
.replace(
|
|
10858
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
9906
10859
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
9907
10860
|
if (configuration) {
|
|
9908
10861
|
baseOptions = configuration.baseOptions;
|
|
@@ -9939,7 +10892,7 @@ var NumberPortingApiAxiosParamCreator = function (configuration) {
|
|
|
9939
10892
|
// verify required parameter 'id' is not null or undefined
|
|
9940
10893
|
(0, common_1.assertParamExists)('patchCancelAdminNumberPort', 'id', id);
|
|
9941
10894
|
localVarPath = "/admin/sip/numbers/ports/{id}/cancel"
|
|
9942
|
-
.replace(
|
|
10895
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
9943
10896
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
9944
10897
|
if (configuration) {
|
|
9945
10898
|
baseOptions = configuration.baseOptions;
|
|
@@ -9976,7 +10929,7 @@ var NumberPortingApiAxiosParamCreator = function (configuration) {
|
|
|
9976
10929
|
// verify required parameter 'id' is not null or undefined
|
|
9977
10930
|
(0, common_1.assertParamExists)('patchCloseAdminNumberPort', 'id', id);
|
|
9978
10931
|
localVarPath = "/admin/sip/numbers/ports/{id}/close"
|
|
9979
|
-
.replace(
|
|
10932
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
9980
10933
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
9981
10934
|
if (configuration) {
|
|
9982
10935
|
baseOptions = configuration.baseOptions;
|
|
@@ -10016,7 +10969,7 @@ var NumberPortingApiAxiosParamCreator = function (configuration) {
|
|
|
10016
10969
|
// verify required parameter 'numberPortAdminNoteBody' is not null or undefined
|
|
10017
10970
|
(0, common_1.assertParamExists)('postAddAdminNote', 'numberPortAdminNoteBody', numberPortAdminNoteBody);
|
|
10018
10971
|
localVarPath = "/admin/sip/numbers/ports/{id}/notes"
|
|
10019
|
-
.replace(
|
|
10972
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
10020
10973
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
10021
10974
|
if (configuration) {
|
|
10022
10975
|
baseOptions = configuration.baseOptions;
|
|
@@ -10151,7 +11104,7 @@ var NumberPortingApiAxiosParamCreator = function (configuration) {
|
|
|
10151
11104
|
// verify required parameter 'id' is not null or undefined
|
|
10152
11105
|
(0, common_1.assertParamExists)('postSubmitNumberPort', 'id', id);
|
|
10153
11106
|
localVarPath = "/sip/numbers/ports/{id}/submit"
|
|
10154
|
-
.replace(
|
|
11107
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
10155
11108
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
10156
11109
|
if (configuration) {
|
|
10157
11110
|
baseOptions = configuration.baseOptions;
|
|
@@ -10239,7 +11192,7 @@ var NumberPortingApiAxiosParamCreator = function (configuration) {
|
|
|
10239
11192
|
// verify required parameter 'id' is not null or undefined
|
|
10240
11193
|
(0, common_1.assertParamExists)('postUpdateNumberPort', 'id', id);
|
|
10241
11194
|
localVarPath = "/sip/numbers/ports/{id}"
|
|
10242
|
-
.replace(
|
|
11195
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
10243
11196
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
10244
11197
|
if (configuration) {
|
|
10245
11198
|
baseOptions = configuration.baseOptions;
|
|
@@ -10318,7 +11271,7 @@ var NumberPortingApiAxiosParamCreator = function (configuration) {
|
|
|
10318
11271
|
// verify required parameter 'numberPortDTO' is not null or undefined
|
|
10319
11272
|
(0, common_1.assertParamExists)('putGetAdminNumberPort', 'numberPortDTO', numberPortDTO);
|
|
10320
11273
|
localVarPath = "/admin/sip/numbers/ports/{id}"
|
|
10321
|
-
.replace(
|
|
11274
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
10322
11275
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
10323
11276
|
if (configuration) {
|
|
10324
11277
|
baseOptions = configuration.baseOptions;
|
|
@@ -11246,6 +12199,38 @@ var OAuth20ApiAxiosParamCreator = function (configuration) {
|
|
|
11246
12199
|
});
|
|
11247
12200
|
});
|
|
11248
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
|
+
},
|
|
11249
12234
|
/**
|
|
11250
12235
|
* Portal Login
|
|
11251
12236
|
* @summary Portal Login
|
|
@@ -11421,6 +12406,27 @@ var OAuth20ApiFp = function (configuration) {
|
|
|
11421
12406
|
});
|
|
11422
12407
|
});
|
|
11423
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
|
+
},
|
|
11424
12430
|
/**
|
|
11425
12431
|
* Portal Login
|
|
11426
12432
|
* @summary Portal Login
|
|
@@ -11517,6 +12523,14 @@ var OAuth20ApiFactory = function (configuration, basePath, axios) {
|
|
|
11517
12523
|
postGetIdentity: function (options) {
|
|
11518
12524
|
return localVarFp.postGetIdentity(options).then(function (request) { return request(axios, basePath); });
|
|
11519
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
|
+
},
|
|
11520
12534
|
/**
|
|
11521
12535
|
* Portal Login
|
|
11522
12536
|
* @summary Portal Login
|
|
@@ -11607,6 +12621,15 @@ var OAuth20Api = /** @class */ (function (_super) {
|
|
|
11607
12621
|
var _this = this;
|
|
11608
12622
|
return (0, exports.OAuth20ApiFp)(this.configuration).postGetIdentity(options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
11609
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
|
+
};
|
|
11610
12633
|
/**
|
|
11611
12634
|
* Portal Login
|
|
11612
12635
|
* @summary Portal Login
|
|
@@ -11628,7 +12651,7 @@ exports.PostAccessTokenGrantTypeEnum = {
|
|
|
11628
12651
|
AuthorizationCode: 'authorization_code',
|
|
11629
12652
|
MsAuth: 'ms_auth',
|
|
11630
12653
|
TokenExchange: 'token_exchange',
|
|
11631
|
-
Password: 'password'
|
|
12654
|
+
Password: 'password',
|
|
11632
12655
|
};
|
|
11633
12656
|
exports.PostAccessTokenScopeEnum = {
|
|
11634
12657
|
Star: '*',
|
|
@@ -11658,11 +12681,11 @@ exports.PostAccessTokenScopeEnum = {
|
|
|
11658
12681
|
TcxMtRead: 'tcx_mt.read',
|
|
11659
12682
|
TcxMtWrite: 'tcx_mt.write',
|
|
11660
12683
|
TicketsRead: 'tickets.read',
|
|
11661
|
-
TicketsWrite: 'tickets.write'
|
|
12684
|
+
TicketsWrite: 'tickets.write',
|
|
11662
12685
|
};
|
|
11663
12686
|
exports.PostAccessTokenTokenExchangeTypeEnum = {
|
|
11664
12687
|
TcxWizard: 'tcx_wizard',
|
|
11665
|
-
Portal: 'portal'
|
|
12688
|
+
Portal: 'portal',
|
|
11666
12689
|
};
|
|
11667
12690
|
exports.PostAuthoriseScopeEnum = {
|
|
11668
12691
|
Star: '*',
|
|
@@ -11692,7 +12715,7 @@ exports.PostAuthoriseScopeEnum = {
|
|
|
11692
12715
|
TcxMtRead: 'tcx_mt.read',
|
|
11693
12716
|
TcxMtWrite: 'tcx_mt.write',
|
|
11694
12717
|
TicketsRead: 'tickets.read',
|
|
11695
|
-
TicketsWrite: 'tickets.write'
|
|
12718
|
+
TicketsWrite: 'tickets.write',
|
|
11696
12719
|
};
|
|
11697
12720
|
/**
|
|
11698
12721
|
* OrdersApi - axios parameter creator
|
|
@@ -11721,8 +12744,8 @@ var OrdersApiAxiosParamCreator = function (configuration) {
|
|
|
11721
12744
|
// verify required parameter 'batchId' is not null or undefined
|
|
11722
12745
|
(0, common_1.assertParamExists)('deleteDeleteBatch', 'batchId', batchId);
|
|
11723
12746
|
localVarPath = "/admin/orders/{id}/batches/{batch_id}"
|
|
11724
|
-
.replace(
|
|
11725
|
-
.replace(
|
|
12747
|
+
.replace('{id}', encodeURIComponent(String(id)))
|
|
12748
|
+
.replace('{batch_id}', encodeURIComponent(String(batchId)));
|
|
11726
12749
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
11727
12750
|
if (configuration) {
|
|
11728
12751
|
baseOptions = configuration.baseOptions;
|
|
@@ -11759,7 +12782,7 @@ var OrdersApiAxiosParamCreator = function (configuration) {
|
|
|
11759
12782
|
// verify required parameter 'id' is not null or undefined
|
|
11760
12783
|
(0, common_1.assertParamExists)('deleteUpdateOrder', 'id', id);
|
|
11761
12784
|
localVarPath = "/orders/{id}"
|
|
11762
|
-
.replace(
|
|
12785
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
11763
12786
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
11764
12787
|
if (configuration) {
|
|
11765
12788
|
baseOptions = configuration.baseOptions;
|
|
@@ -11802,9 +12825,9 @@ var OrdersApiAxiosParamCreator = function (configuration) {
|
|
|
11802
12825
|
// verify required parameter 'shipmentId' is not null or undefined
|
|
11803
12826
|
(0, common_1.assertParamExists)('deleteUpdateShipment', 'shipmentId', shipmentId);
|
|
11804
12827
|
localVarPath = "/admin/orders/{id}/batches/{batch_id}/shipments/{shipment_id}"
|
|
11805
|
-
.replace(
|
|
11806
|
-
.replace(
|
|
11807
|
-
.replace(
|
|
12828
|
+
.replace('{id}', encodeURIComponent(String(id)))
|
|
12829
|
+
.replace('{batch_id}', encodeURIComponent(String(batchId)))
|
|
12830
|
+
.replace('{shipment_id}', encodeURIComponent(String(shipmentId)));
|
|
11808
12831
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
11809
12832
|
if (configuration) {
|
|
11810
12833
|
baseOptions = configuration.baseOptions;
|
|
@@ -11841,7 +12864,7 @@ var OrdersApiAxiosParamCreator = function (configuration) {
|
|
|
11841
12864
|
// verify required parameter 'id' is not null or undefined
|
|
11842
12865
|
(0, common_1.assertParamExists)('getGetAdminEditableOrder', 'id', id);
|
|
11843
12866
|
localVarPath = "/admin/orders/{id}/views/editable"
|
|
11844
|
-
.replace(
|
|
12867
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
11845
12868
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
11846
12869
|
if (configuration) {
|
|
11847
12870
|
baseOptions = configuration.baseOptions;
|
|
@@ -11879,7 +12902,7 @@ var OrdersApiAxiosParamCreator = function (configuration) {
|
|
|
11879
12902
|
// verify required parameter 'id' is not null or undefined
|
|
11880
12903
|
(0, common_1.assertParamExists)('getGetAdminOrderDetails', 'id', id);
|
|
11881
12904
|
localVarPath = "/admin/orders/{id}/details"
|
|
11882
|
-
.replace(
|
|
12905
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
11883
12906
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
11884
12907
|
if (configuration) {
|
|
11885
12908
|
baseOptions = configuration.baseOptions;
|
|
@@ -11923,9 +12946,9 @@ var OrdersApiAxiosParamCreator = function (configuration) {
|
|
|
11923
12946
|
// verify required parameter 'shipmentId' is not null or undefined
|
|
11924
12947
|
(0, common_1.assertParamExists)('getGetCommercialInvoice', 'shipmentId', shipmentId);
|
|
11925
12948
|
localVarPath = "/admin/orders/{id}/batches/{batch_id}/shipments/{shipment_id}/pdf"
|
|
11926
|
-
.replace(
|
|
11927
|
-
.replace(
|
|
11928
|
-
.replace(
|
|
12949
|
+
.replace('{id}', encodeURIComponent(String(id)))
|
|
12950
|
+
.replace('{batch_id}', encodeURIComponent(String(batchId)))
|
|
12951
|
+
.replace('{shipment_id}', encodeURIComponent(String(shipmentId)));
|
|
11929
12952
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
11930
12953
|
if (configuration) {
|
|
11931
12954
|
baseOptions = configuration.baseOptions;
|
|
@@ -11963,7 +12986,7 @@ var OrdersApiAxiosParamCreator = function (configuration) {
|
|
|
11963
12986
|
// verify required parameter 'id' is not null or undefined
|
|
11964
12987
|
(0, common_1.assertParamExists)('getGetEditableOrder', 'id', id);
|
|
11965
12988
|
localVarPath = "/orders/{id}/views/editable"
|
|
11966
|
-
.replace(
|
|
12989
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
11967
12990
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
11968
12991
|
if (configuration) {
|
|
11969
12992
|
baseOptions = configuration.baseOptions;
|
|
@@ -12004,8 +13027,8 @@ var OrdersApiAxiosParamCreator = function (configuration) {
|
|
|
12004
13027
|
// verify required parameter 'itemId' is not null or undefined
|
|
12005
13028
|
(0, common_1.assertParamExists)('getGetItemSerialInfo', 'itemId', itemId);
|
|
12006
13029
|
localVarPath = "/admin/orders/{id}/items/{item_id}/info"
|
|
12007
|
-
.replace(
|
|
12008
|
-
.replace(
|
|
13030
|
+
.replace('{id}', encodeURIComponent(String(id)))
|
|
13031
|
+
.replace('{item_id}', encodeURIComponent(String(itemId)));
|
|
12009
13032
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
12010
13033
|
if (configuration) {
|
|
12011
13034
|
baseOptions = configuration.baseOptions;
|
|
@@ -12043,7 +13066,7 @@ var OrdersApiAxiosParamCreator = function (configuration) {
|
|
|
12043
13066
|
// verify required parameter 'id' is not null or undefined
|
|
12044
13067
|
(0, common_1.assertParamExists)('getGetOrderPdf', 'id', id);
|
|
12045
13068
|
localVarPath = "/orders/{id}/pdf"
|
|
12046
|
-
.replace(
|
|
13069
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
12047
13070
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
12048
13071
|
if (configuration) {
|
|
12049
13072
|
baseOptions = configuration.baseOptions;
|
|
@@ -12081,7 +13104,7 @@ var OrdersApiAxiosParamCreator = function (configuration) {
|
|
|
12081
13104
|
// verify required parameter 'id' is not null or undefined
|
|
12082
13105
|
(0, common_1.assertParamExists)('getGetOrderSummary', 'id', id);
|
|
12083
13106
|
localVarPath = "/admin/orders/{id}/summary"
|
|
12084
|
-
.replace(
|
|
13107
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
12085
13108
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
12086
13109
|
if (configuration) {
|
|
12087
13110
|
baseOptions = configuration.baseOptions;
|
|
@@ -12181,7 +13204,7 @@ var OrdersApiAxiosParamCreator = function (configuration) {
|
|
|
12181
13204
|
// verify required parameter 'id' is not null or undefined
|
|
12182
13205
|
(0, common_1.assertParamExists)('patchCompleteOrder', 'id', id);
|
|
12183
13206
|
localVarPath = "/admin/orders/{id}/complete"
|
|
12184
|
-
.replace(
|
|
13207
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
12185
13208
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
12186
13209
|
if (configuration) {
|
|
12187
13210
|
baseOptions = configuration.baseOptions;
|
|
@@ -12220,7 +13243,7 @@ var OrdersApiAxiosParamCreator = function (configuration) {
|
|
|
12220
13243
|
// verify required parameter 'id' is not null or undefined
|
|
12221
13244
|
(0, common_1.assertParamExists)('postAddOrderNote', 'id', id);
|
|
12222
13245
|
localVarPath = "/admin/orders/{id}/notes"
|
|
12223
|
-
.replace(
|
|
13246
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
12224
13247
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
12225
13248
|
if (configuration) {
|
|
12226
13249
|
baseOptions = configuration.baseOptions;
|
|
@@ -12305,8 +13328,8 @@ var OrdersApiAxiosParamCreator = function (configuration) {
|
|
|
12305
13328
|
// verify required parameter 'shipmentId' is not null or undefined
|
|
12306
13329
|
(0, common_1.assertParamExists)('postCreateConsignment', 'shipmentId', shipmentId);
|
|
12307
13330
|
localVarPath = "/admin/orders/{id}/shipments/{shipment_id}/consignment"
|
|
12308
|
-
.replace(
|
|
12309
|
-
.replace(
|
|
13331
|
+
.replace('{id}', encodeURIComponent(String(id)))
|
|
13332
|
+
.replace('{shipment_id}', encodeURIComponent(String(shipmentId)));
|
|
12310
13333
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
12311
13334
|
if (configuration) {
|
|
12312
13335
|
baseOptions = configuration.baseOptions;
|
|
@@ -12327,6 +13350,43 @@ var OrdersApiAxiosParamCreator = function (configuration) {
|
|
|
12327
13350
|
});
|
|
12328
13351
|
});
|
|
12329
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
|
+
},
|
|
12330
13390
|
/**
|
|
12331
13391
|
* Create Shipment (Admin)
|
|
12332
13392
|
* @summary Create Shipment (Admin)
|
|
@@ -12350,8 +13410,8 @@ var OrdersApiAxiosParamCreator = function (configuration) {
|
|
|
12350
13410
|
// verify required parameter 'batchId' is not null or undefined
|
|
12351
13411
|
(0, common_1.assertParamExists)('postCreateShipment', 'batchId', batchId);
|
|
12352
13412
|
localVarPath = "/admin/orders/{id}/batches/{batch_id}/shipments"
|
|
12353
|
-
.replace(
|
|
12354
|
-
.replace(
|
|
13413
|
+
.replace('{id}', encodeURIComponent(String(id)))
|
|
13414
|
+
.replace('{batch_id}', encodeURIComponent(String(batchId)));
|
|
12355
13415
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
12356
13416
|
if (configuration) {
|
|
12357
13417
|
baseOptions = configuration.baseOptions;
|
|
@@ -12433,7 +13493,7 @@ var OrdersApiAxiosParamCreator = function (configuration) {
|
|
|
12433
13493
|
// verify required parameter 'id' is not null or undefined
|
|
12434
13494
|
(0, common_1.assertParamExists)('postIssueCredit', 'id', id);
|
|
12435
13495
|
localVarPath = "/admin/orders/{id}/credit"
|
|
12436
|
-
.replace(
|
|
13496
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
12437
13497
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
12438
13498
|
if (configuration) {
|
|
12439
13499
|
baseOptions = configuration.baseOptions;
|
|
@@ -12479,8 +13539,8 @@ var OrdersApiAxiosParamCreator = function (configuration) {
|
|
|
12479
13539
|
// verify required parameter 'printer' is not null or undefined
|
|
12480
13540
|
(0, common_1.assertParamExists)('postPrintShippingLabel', 'printer', printer);
|
|
12481
13541
|
localVarPath = "/admin/orders/{id}/shipments/{shipment_id}/label/print"
|
|
12482
|
-
.replace(
|
|
12483
|
-
.replace(
|
|
13542
|
+
.replace('{id}', encodeURIComponent(String(id)))
|
|
13543
|
+
.replace('{shipment_id}', encodeURIComponent(String(shipmentId)));
|
|
12484
13544
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
12485
13545
|
if (configuration) {
|
|
12486
13546
|
baseOptions = configuration.baseOptions;
|
|
@@ -12524,8 +13584,8 @@ var OrdersApiAxiosParamCreator = function (configuration) {
|
|
|
12524
13584
|
// verify required parameter 'batchId' is not null or undefined
|
|
12525
13585
|
(0, common_1.assertParamExists)('postProcessTcxLicences', 'batchId', batchId);
|
|
12526
13586
|
localVarPath = "/admin/orders/{id}/batches/{batch_id}/licences/process"
|
|
12527
|
-
.replace(
|
|
12528
|
-
.replace(
|
|
13587
|
+
.replace('{id}', encodeURIComponent(String(id)))
|
|
13588
|
+
.replace('{batch_id}', encodeURIComponent(String(batchId)));
|
|
12529
13589
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
12530
13590
|
if (configuration) {
|
|
12531
13591
|
baseOptions = configuration.baseOptions;
|
|
@@ -12566,7 +13626,7 @@ var OrdersApiAxiosParamCreator = function (configuration) {
|
|
|
12566
13626
|
// verify required parameter 'email' is not null or undefined
|
|
12567
13627
|
(0, common_1.assertParamExists)('postSendOrderEmail', 'email', email);
|
|
12568
13628
|
localVarPath = "/admin/orders/{id}/email/send"
|
|
12569
|
-
.replace(
|
|
13629
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
12570
13630
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
12571
13631
|
if (configuration) {
|
|
12572
13632
|
baseOptions = configuration.baseOptions;
|
|
@@ -12615,9 +13675,9 @@ var OrdersApiAxiosParamCreator = function (configuration) {
|
|
|
12615
13675
|
// verify required parameter 'email' is not null or undefined
|
|
12616
13676
|
(0, common_1.assertParamExists)('postSendShipmentEmail', 'email', email);
|
|
12617
13677
|
localVarPath = "/admin/orders/{id}/batches/{batch_id}/shipments/{shipment_id}/send/email"
|
|
12618
|
-
.replace(
|
|
12619
|
-
.replace(
|
|
12620
|
-
.replace(
|
|
13678
|
+
.replace('{id}', encodeURIComponent(String(id)))
|
|
13679
|
+
.replace('{batch_id}', encodeURIComponent(String(batchId)))
|
|
13680
|
+
.replace('{shipment_id}', encodeURIComponent(String(shipmentId)));
|
|
12621
13681
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
12622
13682
|
if (configuration) {
|
|
12623
13683
|
baseOptions = configuration.baseOptions;
|
|
@@ -12660,8 +13720,8 @@ var OrdersApiAxiosParamCreator = function (configuration) {
|
|
|
12660
13720
|
// verify required parameter 'batchId' is not null or undefined
|
|
12661
13721
|
(0, common_1.assertParamExists)('postSendSupplierEmail', 'batchId', batchId);
|
|
12662
13722
|
localVarPath = "/admin/orders/{id}/batches/{batch_id}/email/send"
|
|
12663
|
-
.replace(
|
|
12664
|
-
.replace(
|
|
13723
|
+
.replace('{id}', encodeURIComponent(String(id)))
|
|
13724
|
+
.replace('{batch_id}', encodeURIComponent(String(batchId)));
|
|
12665
13725
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
12666
13726
|
if (configuration) {
|
|
12667
13727
|
baseOptions = configuration.baseOptions;
|
|
@@ -12699,7 +13759,7 @@ var OrdersApiAxiosParamCreator = function (configuration) {
|
|
|
12699
13759
|
// verify required parameter 'id' is not null or undefined
|
|
12700
13760
|
(0, common_1.assertParamExists)('postSplitOrder', 'id', id);
|
|
12701
13761
|
localVarPath = "/admin/orders/{id}/split"
|
|
12702
|
-
.replace(
|
|
13762
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
12703
13763
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
12704
13764
|
if (configuration) {
|
|
12705
13765
|
baseOptions = configuration.baseOptions;
|
|
@@ -12743,7 +13803,7 @@ var OrdersApiAxiosParamCreator = function (configuration) {
|
|
|
12743
13803
|
// verify required parameter 'supplierId' is not null or undefined
|
|
12744
13804
|
(0, common_1.assertParamExists)('putAllocateItems', 'supplierId', supplierId);
|
|
12745
13805
|
localVarPath = "/admin/orders/{id}/items/allocate"
|
|
12746
|
-
.replace(
|
|
13806
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
12747
13807
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
12748
13808
|
if (configuration) {
|
|
12749
13809
|
baseOptions = configuration.baseOptions;
|
|
@@ -12788,7 +13848,7 @@ var OrdersApiAxiosParamCreator = function (configuration) {
|
|
|
12788
13848
|
// verify required parameter 'id' is not null or undefined
|
|
12789
13849
|
(0, common_1.assertParamExists)('putUpdateAdminOrder', 'id', id);
|
|
12790
13850
|
localVarPath = "/admin/orders/{id}"
|
|
12791
|
-
.replace(
|
|
13851
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
12792
13852
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
12793
13853
|
if (configuration) {
|
|
12794
13854
|
baseOptions = configuration.baseOptions;
|
|
@@ -12838,9 +13898,9 @@ var OrdersApiAxiosParamCreator = function (configuration) {
|
|
|
12838
13898
|
// verify required parameter 'itemId' is not null or undefined
|
|
12839
13899
|
(0, common_1.assertParamExists)('putUpdateBatchItem', 'itemId', itemId);
|
|
12840
13900
|
localVarPath = "/admin/orders/{id}/batches/{batch_id}/items/{item_id}"
|
|
12841
|
-
.replace(
|
|
12842
|
-
.replace(
|
|
12843
|
-
.replace(
|
|
13901
|
+
.replace('{id}', encodeURIComponent(String(id)))
|
|
13902
|
+
.replace('{batch_id}', encodeURIComponent(String(batchId)))
|
|
13903
|
+
.replace('{item_id}', encodeURIComponent(String(itemId)));
|
|
12844
13904
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
12845
13905
|
if (configuration) {
|
|
12846
13906
|
baseOptions = configuration.baseOptions;
|
|
@@ -12882,7 +13942,7 @@ var OrdersApiAxiosParamCreator = function (configuration) {
|
|
|
12882
13942
|
// verify required parameter 'id' is not null or undefined
|
|
12883
13943
|
(0, common_1.assertParamExists)('putUpdateOrder', 'id', id);
|
|
12884
13944
|
localVarPath = "/orders/{id}"
|
|
12885
|
-
.replace(
|
|
13945
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
12886
13946
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
12887
13947
|
if (configuration) {
|
|
12888
13948
|
baseOptions = configuration.baseOptions;
|
|
@@ -12928,7 +13988,7 @@ var OrdersApiAxiosParamCreator = function (configuration) {
|
|
|
12928
13988
|
// verify required parameter 'paid' is not null or undefined
|
|
12929
13989
|
(0, common_1.assertParamExists)('putUpdatePaymentStatus', 'paid', paid);
|
|
12930
13990
|
localVarPath = "/admin/orders/{id}/paid"
|
|
12931
|
-
.replace(
|
|
13991
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
12932
13992
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
12933
13993
|
if (configuration) {
|
|
12934
13994
|
baseOptions = configuration.baseOptions;
|
|
@@ -12976,9 +14036,9 @@ var OrdersApiAxiosParamCreator = function (configuration) {
|
|
|
12976
14036
|
// verify required parameter 'shipmentId' is not null or undefined
|
|
12977
14037
|
(0, common_1.assertParamExists)('putUpdateShipment', 'shipmentId', shipmentId);
|
|
12978
14038
|
localVarPath = "/admin/orders/{id}/batches/{batch_id}/shipments/{shipment_id}"
|
|
12979
|
-
.replace(
|
|
12980
|
-
.replace(
|
|
12981
|
-
.replace(
|
|
14039
|
+
.replace('{id}', encodeURIComponent(String(id)))
|
|
14040
|
+
.replace('{batch_id}', encodeURIComponent(String(batchId)))
|
|
14041
|
+
.replace('{shipment_id}', encodeURIComponent(String(shipmentId)));
|
|
12982
14042
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
12983
14043
|
if (configuration) {
|
|
12984
14044
|
baseOptions = configuration.baseOptions;
|
|
@@ -13368,6 +14428,29 @@ var OrdersApiFp = function (configuration) {
|
|
|
13368
14428
|
});
|
|
13369
14429
|
});
|
|
13370
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
|
+
},
|
|
13371
14454
|
/**
|
|
13372
14455
|
* Create Shipment (Admin)
|
|
13373
14456
|
* @summary Create Shipment (Admin)
|
|
@@ -13913,6 +14996,16 @@ var OrdersApiFactory = function (configuration, basePath, axios) {
|
|
|
13913
14996
|
postCreateConsignment: function (id, shipmentId, shippingRequestDTO, options) {
|
|
13914
14997
|
return localVarFp.postCreateConsignment(id, shipmentId, shippingRequestDTO, options).then(function (request) { return request(axios, basePath); });
|
|
13915
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
|
+
},
|
|
13916
15009
|
/**
|
|
13917
15010
|
* Create Shipment (Admin)
|
|
13918
15011
|
* @summary Create Shipment (Admin)
|
|
@@ -14280,6 +15373,17 @@ var OrdersApi = /** @class */ (function (_super) {
|
|
|
14280
15373
|
var _this = this;
|
|
14281
15374
|
return (0, exports.OrdersApiFp)(this.configuration).postCreateConsignment(id, shipmentId, shippingRequestDTO, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
14282
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
|
+
};
|
|
14283
15387
|
/**
|
|
14284
15388
|
* Create Shipment (Admin)
|
|
14285
15389
|
* @summary Create Shipment (Admin)
|
|
@@ -14478,18 +15582,18 @@ exports.GetGetOrdersStatusEnum = {
|
|
|
14478
15582
|
Paid: 'PAID',
|
|
14479
15583
|
InvoicePaid: 'INVOICE_PAID',
|
|
14480
15584
|
Unpaid: 'UNPAID',
|
|
14481
|
-
Quote: 'QUOTE'
|
|
15585
|
+
Quote: 'QUOTE',
|
|
14482
15586
|
};
|
|
14483
15587
|
exports.GetGetOrdersFilterEnum = {
|
|
14484
15588
|
Outstanding: 'OUTSTANDING',
|
|
14485
15589
|
Quotes: 'QUOTES',
|
|
14486
15590
|
All: 'ALL',
|
|
14487
|
-
BackOrders: 'BACK_ORDERS'
|
|
15591
|
+
BackOrders: 'BACK_ORDERS',
|
|
14488
15592
|
};
|
|
14489
15593
|
exports.PostPrintShippingLabelPrinterEnum = {
|
|
14490
15594
|
NUMBER_1: 1,
|
|
14491
15595
|
NUMBER_2: 2,
|
|
14492
|
-
NUMBER_3: 3
|
|
15596
|
+
NUMBER_3: 3,
|
|
14493
15597
|
};
|
|
14494
15598
|
/**
|
|
14495
15599
|
* PricingApi - axios parameter creator
|
|
@@ -14762,14 +15866,14 @@ exports.GetGetPriceListTypeEnum = {
|
|
|
14762
15866
|
EdTechPro: 'EdTechPro',
|
|
14763
15867
|
Sms: 'SMS',
|
|
14764
15868
|
SipTrunks: 'SIP Trunks',
|
|
14765
|
-
CrmIntegrations: 'CRM Integrations'
|
|
15869
|
+
CrmIntegrations: 'CRM Integrations',
|
|
14766
15870
|
};
|
|
14767
15871
|
exports.GetGetPriceListFormatEnum = {
|
|
14768
15872
|
Pdf: 'pdf',
|
|
14769
15873
|
Json: 'json',
|
|
14770
15874
|
Csv: 'csv',
|
|
14771
15875
|
Xml: 'xml',
|
|
14772
|
-
Html: 'html'
|
|
15876
|
+
Html: 'html',
|
|
14773
15877
|
};
|
|
14774
15878
|
exports.GetGetPriceListCategoryEnum = {
|
|
14775
15879
|
Yealink: 'Yealink',
|
|
@@ -14791,7 +15895,7 @@ exports.GetGetPriceListCategoryEnum = {
|
|
|
14791
15895
|
FanvilWirelessPhones: 'Fanvil Wireless Phones',
|
|
14792
15896
|
FanvilSecurityProducts: 'Fanvil Security Products',
|
|
14793
15897
|
FanvilAccessories: 'Fanvil Accessories',
|
|
14794
|
-
FanvilHotelPhones: 'Fanvil Hotel Phones'
|
|
15898
|
+
FanvilHotelPhones: 'Fanvil Hotel Phones',
|
|
14795
15899
|
};
|
|
14796
15900
|
exports.PostSendPriceListTypeEnum = {
|
|
14797
15901
|
Products: 'Products',
|
|
@@ -14802,14 +15906,14 @@ exports.PostSendPriceListTypeEnum = {
|
|
|
14802
15906
|
EdTechPro: 'EdTechPro',
|
|
14803
15907
|
Sms: 'SMS',
|
|
14804
15908
|
SipTrunks: 'SIP Trunks',
|
|
14805
|
-
CrmIntegrations: 'CRM Integrations'
|
|
15909
|
+
CrmIntegrations: 'CRM Integrations',
|
|
14806
15910
|
};
|
|
14807
15911
|
exports.PostSendPriceListFormatEnum = {
|
|
14808
15912
|
Pdf: 'pdf',
|
|
14809
15913
|
Json: 'json',
|
|
14810
15914
|
Csv: 'csv',
|
|
14811
15915
|
Xml: 'xml',
|
|
14812
|
-
Html: 'html'
|
|
15916
|
+
Html: 'html',
|
|
14813
15917
|
};
|
|
14814
15918
|
exports.PostSendPriceListCategoryEnum = {
|
|
14815
15919
|
Yealink: 'Yealink',
|
|
@@ -14831,7 +15935,7 @@ exports.PostSendPriceListCategoryEnum = {
|
|
|
14831
15935
|
FanvilWirelessPhones: 'Fanvil Wireless Phones',
|
|
14832
15936
|
FanvilSecurityProducts: 'Fanvil Security Products',
|
|
14833
15937
|
FanvilAccessories: 'Fanvil Accessories',
|
|
14834
|
-
FanvilHotelPhones: 'Fanvil Hotel Phones'
|
|
15938
|
+
FanvilHotelPhones: 'Fanvil Hotel Phones',
|
|
14835
15939
|
};
|
|
14836
15940
|
/**
|
|
14837
15941
|
* ProductsApi - axios parameter creator
|
|
@@ -15118,7 +16222,7 @@ var ProductsApiAxiosParamCreator = function (configuration) {
|
|
|
15118
16222
|
// verify required parameter 'quantity' is not null or undefined
|
|
15119
16223
|
(0, common_1.assertParamExists)('patchAddQuantityToStock', 'quantity', quantity);
|
|
15120
16224
|
localVarPath = "/products/{sku}/stock/add"
|
|
15121
|
-
.replace(
|
|
16225
|
+
.replace('{sku}', encodeURIComponent(String(sku)));
|
|
15122
16226
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
15123
16227
|
if (configuration) {
|
|
15124
16228
|
baseOptions = configuration.baseOptions;
|
|
@@ -15143,25 +16247,25 @@ var ProductsApiAxiosParamCreator = function (configuration) {
|
|
|
15143
16247
|
* Get Product
|
|
15144
16248
|
* @summary Get Product
|
|
15145
16249
|
* @param {string} sku Product SKU
|
|
15146
|
-
* @param {
|
|
16250
|
+
* @param {PostGetProductForCustomerRequest} postGetProductForCustomerRequest Product search criteria
|
|
15147
16251
|
* @param {*} [options] Override http request option.
|
|
15148
16252
|
* @throws {RequiredError}
|
|
15149
16253
|
*/
|
|
15150
|
-
postGetProduct: function (sku_1,
|
|
16254
|
+
postGetProduct: function (sku_1, postGetProductForCustomerRequest_1) {
|
|
15151
16255
|
var args_1 = [];
|
|
15152
16256
|
for (var _i = 2; _i < arguments.length; _i++) {
|
|
15153
16257
|
args_1[_i - 2] = arguments[_i];
|
|
15154
16258
|
}
|
|
15155
|
-
return __awaiter(_this, __spreadArray([sku_1,
|
|
16259
|
+
return __awaiter(_this, __spreadArray([sku_1, postGetProductForCustomerRequest_1], args_1, true), void 0, function (sku, postGetProductForCustomerRequest, options) {
|
|
15156
16260
|
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
15157
16261
|
if (options === void 0) { options = {}; }
|
|
15158
16262
|
return __generator(this, function (_a) {
|
|
15159
16263
|
// verify required parameter 'sku' is not null or undefined
|
|
15160
16264
|
(0, common_1.assertParamExists)('postGetProduct', 'sku', sku);
|
|
15161
|
-
// verify required parameter '
|
|
15162
|
-
(0, common_1.assertParamExists)('postGetProduct', '
|
|
16265
|
+
// verify required parameter 'postGetProductForCustomerRequest' is not null or undefined
|
|
16266
|
+
(0, common_1.assertParamExists)('postGetProduct', 'postGetProductForCustomerRequest', postGetProductForCustomerRequest);
|
|
15163
16267
|
localVarPath = "/products/{sku}"
|
|
15164
|
-
.replace(
|
|
16268
|
+
.replace('{sku}', encodeURIComponent(String(sku)));
|
|
15165
16269
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
15166
16270
|
if (configuration) {
|
|
15167
16271
|
baseOptions = configuration.baseOptions;
|
|
@@ -15174,7 +16278,7 @@ var ProductsApiAxiosParamCreator = function (configuration) {
|
|
|
15174
16278
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
15175
16279
|
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
15176
16280
|
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
15177
|
-
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(
|
|
16281
|
+
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(postGetProductForCustomerRequest, localVarRequestOptions, configuration);
|
|
15178
16282
|
return [2 /*return*/, {
|
|
15179
16283
|
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
15180
16284
|
options: localVarRequestOptions,
|
|
@@ -15207,7 +16311,7 @@ var ProductsApiAxiosParamCreator = function (configuration) {
|
|
|
15207
16311
|
// verify required parameter 'postGetProductForCustomerRequest' is not null or undefined
|
|
15208
16312
|
(0, common_1.assertParamExists)('postGetProductForCustomer', 'postGetProductForCustomerRequest', postGetProductForCustomerRequest);
|
|
15209
16313
|
localVarPath = "/admin/products/{sku}"
|
|
15210
|
-
.replace(
|
|
16314
|
+
.replace('{sku}', encodeURIComponent(String(sku)));
|
|
15211
16315
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
15212
16316
|
if (configuration) {
|
|
15213
16317
|
baseOptions = configuration.baseOptions;
|
|
@@ -15427,17 +16531,17 @@ var ProductsApiFp = function (configuration) {
|
|
|
15427
16531
|
* Get Product
|
|
15428
16532
|
* @summary Get Product
|
|
15429
16533
|
* @param {string} sku Product SKU
|
|
15430
|
-
* @param {
|
|
16534
|
+
* @param {PostGetProductForCustomerRequest} postGetProductForCustomerRequest Product search criteria
|
|
15431
16535
|
* @param {*} [options] Override http request option.
|
|
15432
16536
|
* @throws {RequiredError}
|
|
15433
16537
|
*/
|
|
15434
|
-
postGetProduct: function (sku,
|
|
16538
|
+
postGetProduct: function (sku, postGetProductForCustomerRequest, options) {
|
|
15435
16539
|
return __awaiter(this, void 0, void 0, function () {
|
|
15436
16540
|
var localVarAxiosArgs, localVarOperationServerIndex, localVarOperationServerBasePath;
|
|
15437
16541
|
var _a, _b, _c;
|
|
15438
16542
|
return __generator(this, function (_d) {
|
|
15439
16543
|
switch (_d.label) {
|
|
15440
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.postGetProduct(sku,
|
|
16544
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.postGetProduct(sku, postGetProductForCustomerRequest, options)];
|
|
15441
16545
|
case 1:
|
|
15442
16546
|
localVarAxiosArgs = _d.sent();
|
|
15443
16547
|
localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
@@ -15564,12 +16668,12 @@ var ProductsApiFactory = function (configuration, basePath, axios) {
|
|
|
15564
16668
|
* Get Product
|
|
15565
16669
|
* @summary Get Product
|
|
15566
16670
|
* @param {string} sku Product SKU
|
|
15567
|
-
* @param {
|
|
16671
|
+
* @param {PostGetProductForCustomerRequest} postGetProductForCustomerRequest Product search criteria
|
|
15568
16672
|
* @param {*} [options] Override http request option.
|
|
15569
16673
|
* @throws {RequiredError}
|
|
15570
16674
|
*/
|
|
15571
|
-
postGetProduct: function (sku,
|
|
15572
|
-
return localVarFp.postGetProduct(sku,
|
|
16675
|
+
postGetProduct: function (sku, postGetProductForCustomerRequest, options) {
|
|
16676
|
+
return localVarFp.postGetProduct(sku, postGetProductForCustomerRequest, options).then(function (request) { return request(axios, basePath); });
|
|
15573
16677
|
},
|
|
15574
16678
|
/**
|
|
15575
16679
|
* Get Product For Customer
|
|
@@ -15685,13 +16789,13 @@ var ProductsApi = /** @class */ (function (_super) {
|
|
|
15685
16789
|
* Get Product
|
|
15686
16790
|
* @summary Get Product
|
|
15687
16791
|
* @param {string} sku Product SKU
|
|
15688
|
-
* @param {
|
|
16792
|
+
* @param {PostGetProductForCustomerRequest} postGetProductForCustomerRequest Product search criteria
|
|
15689
16793
|
* @param {*} [options] Override http request option.
|
|
15690
16794
|
* @throws {RequiredError}
|
|
15691
16795
|
*/
|
|
15692
|
-
ProductsApi.prototype.postGetProduct = function (sku,
|
|
16796
|
+
ProductsApi.prototype.postGetProduct = function (sku, postGetProductForCustomerRequest, options) {
|
|
15693
16797
|
var _this = this;
|
|
15694
|
-
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); });
|
|
15695
16799
|
};
|
|
15696
16800
|
/**
|
|
15697
16801
|
* Get Product For Customer
|
|
@@ -15711,7 +16815,7 @@ var ProductsApi = /** @class */ (function (_super) {
|
|
|
15711
16815
|
exports.ProductsApi = ProductsApi;
|
|
15712
16816
|
exports.GetGetLegacyStockListFormatEnum = {
|
|
15713
16817
|
Xml: 'XML',
|
|
15714
|
-
Csv: 'CSV'
|
|
16818
|
+
Csv: 'CSV',
|
|
15715
16819
|
};
|
|
15716
16820
|
/**
|
|
15717
16821
|
* ProspectsApi - axios parameter creator
|
|
@@ -15738,7 +16842,7 @@ var ProspectsApiAxiosParamCreator = function (configuration) {
|
|
|
15738
16842
|
// verify required parameter 'xeroId' is not null or undefined
|
|
15739
16843
|
(0, common_1.assertParamExists)('getGetProspect', 'xeroId', xeroId);
|
|
15740
16844
|
localVarPath = "/accounts/prospects/{xero_id}"
|
|
15741
|
-
.replace(
|
|
16845
|
+
.replace('{xero_id}', encodeURIComponent(String(xeroId)));
|
|
15742
16846
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
15743
16847
|
if (configuration) {
|
|
15744
16848
|
baseOptions = configuration.baseOptions;
|
|
@@ -15813,7 +16917,7 @@ var ProspectsApiAxiosParamCreator = function (configuration) {
|
|
|
15813
16917
|
// verify required parameter 'status' is not null or undefined
|
|
15814
16918
|
(0, common_1.assertParamExists)('getRemoveFromProspects', 'status', status);
|
|
15815
16919
|
localVarPath = "/accounts/prospects/{xero_id}/remove"
|
|
15816
|
-
.replace(
|
|
16920
|
+
.replace('{xero_id}', encodeURIComponent(String(xeroId)));
|
|
15817
16921
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
15818
16922
|
if (configuration) {
|
|
15819
16923
|
baseOptions = configuration.baseOptions;
|
|
@@ -15857,7 +16961,7 @@ var ProspectsApiAxiosParamCreator = function (configuration) {
|
|
|
15857
16961
|
// verify required parameter 'date' is not null or undefined
|
|
15858
16962
|
(0, common_1.assertParamExists)('getSetCallback', 'date', date);
|
|
15859
16963
|
localVarPath = "/accounts/prospects/{xero_id}/date"
|
|
15860
|
-
.replace(
|
|
16964
|
+
.replace('{xero_id}', encodeURIComponent(String(xeroId)));
|
|
15861
16965
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
15862
16966
|
if (configuration) {
|
|
15863
16967
|
baseOptions = configuration.baseOptions;
|
|
@@ -16118,8 +17222,8 @@ var ProvisioningApiAxiosParamCreator = function (configuration) {
|
|
|
16118
17222
|
// verify required parameter 'mac' is not null or undefined
|
|
16119
17223
|
(0, common_1.assertParamExists)('deleteAddFanvilMac', 'mac', mac);
|
|
16120
17224
|
localVarPath = "/provisioning/fanvil/groups/{id}/macs/{mac}"
|
|
16121
|
-
.replace(
|
|
16122
|
-
.replace(
|
|
17225
|
+
.replace('{id}', encodeURIComponent(String(id)))
|
|
17226
|
+
.replace('{mac}', encodeURIComponent(String(mac)));
|
|
16123
17227
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
16124
17228
|
if (configuration) {
|
|
16125
17229
|
baseOptions = configuration.baseOptions;
|
|
@@ -16156,7 +17260,7 @@ var ProvisioningApiAxiosParamCreator = function (configuration) {
|
|
|
16156
17260
|
// verify required parameter 'id' is not null or undefined
|
|
16157
17261
|
(0, common_1.assertParamExists)('deleteDeleteFanvilGroup', 'id', id);
|
|
16158
17262
|
localVarPath = "/provisioning/fanvil/groups/{id}"
|
|
16159
|
-
.replace(
|
|
17263
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
16160
17264
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
16161
17265
|
if (configuration) {
|
|
16162
17266
|
baseOptions = configuration.baseOptions;
|
|
@@ -16196,8 +17300,8 @@ var ProvisioningApiAxiosParamCreator = function (configuration) {
|
|
|
16196
17300
|
// verify required parameter 'mac' is not null or undefined
|
|
16197
17301
|
(0, common_1.assertParamExists)('getGetFanvilEncryptionKey', 'mac', mac);
|
|
16198
17302
|
localVarPath = "/provisioning/fanvil/groups/{id}/macs/{mac}/key"
|
|
16199
|
-
.replace(
|
|
16200
|
-
.replace(
|
|
17303
|
+
.replace('{id}', encodeURIComponent(String(id)))
|
|
17304
|
+
.replace('{mac}', encodeURIComponent(String(mac)));
|
|
16201
17305
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
16202
17306
|
if (configuration) {
|
|
16203
17307
|
baseOptions = configuration.baseOptions;
|
|
@@ -16235,7 +17339,7 @@ var ProvisioningApiAxiosParamCreator = function (configuration) {
|
|
|
16235
17339
|
// verify required parameter 'id' is not null or undefined
|
|
16236
17340
|
(0, common_1.assertParamExists)('getGetFanvilGroupMacs', 'id', id);
|
|
16237
17341
|
localVarPath = "/provisioning/fanvil/groups/{id}/macs"
|
|
16238
|
-
.replace(
|
|
17342
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
16239
17343
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
16240
17344
|
if (configuration) {
|
|
16241
17345
|
baseOptions = configuration.baseOptions;
|
|
@@ -16351,8 +17455,8 @@ var ProvisioningApiAxiosParamCreator = function (configuration) {
|
|
|
16351
17455
|
// verify required parameter 'mac' is not null or undefined
|
|
16352
17456
|
(0, common_1.assertParamExists)('postAddFanvilMac', 'mac', mac);
|
|
16353
17457
|
localVarPath = "/provisioning/fanvil/groups/{id}/macs/{mac}"
|
|
16354
|
-
.replace(
|
|
16355
|
-
.replace(
|
|
17458
|
+
.replace('{id}', encodeURIComponent(String(id)))
|
|
17459
|
+
.replace('{mac}', encodeURIComponent(String(mac)));
|
|
16356
17460
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
16357
17461
|
if (configuration) {
|
|
16358
17462
|
baseOptions = configuration.baseOptions;
|
|
@@ -16744,7 +17848,7 @@ var SIPTrunksApiAxiosParamCreator = function (configuration) {
|
|
|
16744
17848
|
// verify required parameter 'id' is not null or undefined
|
|
16745
17849
|
(0, common_1.assertParamExists)('deleteGetSipTrunk', 'id', id);
|
|
16746
17850
|
localVarPath = "/sip/trunks/{id}"
|
|
16747
|
-
.replace(
|
|
17851
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
16748
17852
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
16749
17853
|
if (configuration) {
|
|
16750
17854
|
baseOptions = configuration.baseOptions;
|
|
@@ -16782,7 +17886,7 @@ var SIPTrunksApiAxiosParamCreator = function (configuration) {
|
|
|
16782
17886
|
// verify required parameter 'id' is not null or undefined
|
|
16783
17887
|
(0, common_1.assertParamExists)('getCanDivert', 'id', id);
|
|
16784
17888
|
localVarPath = "/sip/trunks/{id}/diverts/allowed"
|
|
16785
|
-
.replace(
|
|
17889
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
16786
17890
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
16787
17891
|
if (configuration) {
|
|
16788
17892
|
baseOptions = configuration.baseOptions;
|
|
@@ -16820,7 +17924,7 @@ var SIPTrunksApiAxiosParamCreator = function (configuration) {
|
|
|
16820
17924
|
// verify required parameter 'id' is not null or undefined
|
|
16821
17925
|
(0, common_1.assertParamExists)('getGetAddress', 'id', id);
|
|
16822
17926
|
localVarPath = "/sip/trunks/{id}/address"
|
|
16823
|
-
.replace(
|
|
17927
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
16824
17928
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
16825
17929
|
if (configuration) {
|
|
16826
17930
|
baseOptions = configuration.baseOptions;
|
|
@@ -16929,7 +18033,7 @@ var SIPTrunksApiAxiosParamCreator = function (configuration) {
|
|
|
16929
18033
|
// verify required parameter 'id' is not null or undefined
|
|
16930
18034
|
(0, common_1.assertParamExists)('getGetCliFlexibility', 'id', id);
|
|
16931
18035
|
localVarPath = "/sip/trunks/{id}/cli/flexibility"
|
|
16932
|
-
.replace(
|
|
18036
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
16933
18037
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
16934
18038
|
if (configuration) {
|
|
16935
18039
|
baseOptions = configuration.baseOptions;
|
|
@@ -16967,7 +18071,7 @@ var SIPTrunksApiAxiosParamCreator = function (configuration) {
|
|
|
16967
18071
|
// verify required parameter 'id' is not null or undefined
|
|
16968
18072
|
(0, common_1.assertParamExists)('getGetDdis', 'id', id);
|
|
16969
18073
|
localVarPath = "/sip/trunks/{id}/ddis"
|
|
16970
|
-
.replace(
|
|
18074
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
16971
18075
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
16972
18076
|
if (configuration) {
|
|
16973
18077
|
baseOptions = configuration.baseOptions;
|
|
@@ -17006,7 +18110,7 @@ var SIPTrunksApiAxiosParamCreator = function (configuration) {
|
|
|
17006
18110
|
// verify required parameter 'id' is not null or undefined
|
|
17007
18111
|
(0, common_1.assertParamExists)('getGetDiverts', 'id', id);
|
|
17008
18112
|
localVarPath = "/sip/trunks/{id}/diverts"
|
|
17009
|
-
.replace(
|
|
18113
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
17010
18114
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
17011
18115
|
if (configuration) {
|
|
17012
18116
|
baseOptions = configuration.baseOptions;
|
|
@@ -17047,7 +18151,7 @@ var SIPTrunksApiAxiosParamCreator = function (configuration) {
|
|
|
17047
18151
|
// verify required parameter 'id' is not null or undefined
|
|
17048
18152
|
(0, common_1.assertParamExists)('getGetSipTrunk', 'id', id);
|
|
17049
18153
|
localVarPath = "/sip/trunks/{id}"
|
|
17050
|
-
.replace(
|
|
18154
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
17051
18155
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
17052
18156
|
if (configuration) {
|
|
17053
18157
|
baseOptions = configuration.baseOptions;
|
|
@@ -17134,7 +18238,7 @@ var SIPTrunksApiAxiosParamCreator = function (configuration) {
|
|
|
17134
18238
|
// verify required parameter 'enabled' is not null or undefined
|
|
17135
18239
|
(0, common_1.assertParamExists)('patchGetCliFlexibility', 'enabled', enabled);
|
|
17136
18240
|
localVarPath = "/sip/trunks/{id}/cli/flexibility"
|
|
17137
|
-
.replace(
|
|
18241
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
17138
18242
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
17139
18243
|
if (configuration) {
|
|
17140
18244
|
baseOptions = configuration.baseOptions;
|
|
@@ -17175,7 +18279,7 @@ var SIPTrunksApiAxiosParamCreator = function (configuration) {
|
|
|
17175
18279
|
// verify required parameter 'id' is not null or undefined
|
|
17176
18280
|
(0, common_1.assertParamExists)('patchSetAsAvailable', 'id', id);
|
|
17177
18281
|
localVarPath = "/sip/trunks/{id}/available"
|
|
17178
|
-
.replace(
|
|
18282
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
17179
18283
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
17180
18284
|
if (configuration) {
|
|
17181
18285
|
baseOptions = configuration.baseOptions;
|
|
@@ -17216,7 +18320,7 @@ var SIPTrunksApiAxiosParamCreator = function (configuration) {
|
|
|
17216
18320
|
// verify required parameter 'ownerId' is not null or undefined
|
|
17217
18321
|
(0, common_1.assertParamExists)('patchSetOwnership', 'ownerId', ownerId);
|
|
17218
18322
|
localVarPath = "/sip/trunks/{id}/owner"
|
|
17219
|
-
.replace(
|
|
18323
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
17220
18324
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
17221
18325
|
if (configuration) {
|
|
17222
18326
|
baseOptions = configuration.baseOptions;
|
|
@@ -17262,7 +18366,7 @@ var SIPTrunksApiAxiosParamCreator = function (configuration) {
|
|
|
17262
18366
|
// verify required parameter 'channels' is not null or undefined
|
|
17263
18367
|
(0, common_1.assertParamExists)('patchUpdateChannelCount', 'channels', channels);
|
|
17264
18368
|
localVarPath = "/sip/trunks/{id}/channels"
|
|
17265
|
-
.replace(
|
|
18369
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
17266
18370
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
17267
18371
|
if (configuration) {
|
|
17268
18372
|
baseOptions = configuration.baseOptions;
|
|
@@ -17306,7 +18410,7 @@ var SIPTrunksApiAxiosParamCreator = function (configuration) {
|
|
|
17306
18410
|
// verify required parameter 'company' is not null or undefined
|
|
17307
18411
|
(0, common_1.assertParamExists)('patchUpdateCompanyName', 'company', company);
|
|
17308
18412
|
localVarPath = "/sip/trunks/{id}/company"
|
|
17309
|
-
.replace(
|
|
18413
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
17310
18414
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
17311
18415
|
if (configuration) {
|
|
17312
18416
|
baseOptions = configuration.baseOptions;
|
|
@@ -17350,7 +18454,7 @@ var SIPTrunksApiAxiosParamCreator = function (configuration) {
|
|
|
17350
18454
|
// verify required parameter 'number' is not null or undefined
|
|
17351
18455
|
(0, common_1.assertParamExists)('patchUpdateMainTrunkNumber', 'number', number);
|
|
17352
18456
|
localVarPath = "/sip/trunks/{id}/number"
|
|
17353
|
-
.replace(
|
|
18457
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
17354
18458
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
17355
18459
|
if (configuration) {
|
|
17356
18460
|
baseOptions = configuration.baseOptions;
|
|
@@ -17394,7 +18498,7 @@ var SIPTrunksApiAxiosParamCreator = function (configuration) {
|
|
|
17394
18498
|
// verify required parameter 'ipAddress' is not null or undefined
|
|
17395
18499
|
(0, common_1.assertParamExists)('patchUpdatePbxIPAddress', 'ipAddress', ipAddress);
|
|
17396
18500
|
localVarPath = "/sip/trunks/{id}/pbx/ip"
|
|
17397
|
-
.replace(
|
|
18501
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
17398
18502
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
17399
18503
|
if (configuration) {
|
|
17400
18504
|
baseOptions = configuration.baseOptions;
|
|
@@ -17436,7 +18540,7 @@ var SIPTrunksApiAxiosParamCreator = function (configuration) {
|
|
|
17436
18540
|
// verify required parameter 'id' is not null or undefined
|
|
17437
18541
|
(0, common_1.assertParamExists)('postGetDdis', 'id', id);
|
|
17438
18542
|
localVarPath = "/sip/trunks/{id}/ddis"
|
|
17439
|
-
.replace(
|
|
18543
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
17440
18544
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
17441
18545
|
if (configuration) {
|
|
17442
18546
|
baseOptions = configuration.baseOptions;
|
|
@@ -17588,7 +18692,7 @@ var SIPTrunksApiAxiosParamCreator = function (configuration) {
|
|
|
17588
18692
|
// verify required parameter 'id' is not null or undefined
|
|
17589
18693
|
(0, common_1.assertParamExists)('putGetAddress', 'id', id);
|
|
17590
18694
|
localVarPath = "/sip/trunks/{id}/address"
|
|
17591
|
-
.replace(
|
|
18695
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
17592
18696
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
17593
18697
|
if (configuration) {
|
|
17594
18698
|
baseOptions = configuration.baseOptions;
|
|
@@ -17632,7 +18736,7 @@ var SIPTrunksApiAxiosParamCreator = function (configuration) {
|
|
|
17632
18736
|
// verify required parameter 'enabled' is not null or undefined
|
|
17633
18737
|
(0, common_1.assertParamExists)('putGetDiverts', 'enabled', enabled);
|
|
17634
18738
|
localVarPath = "/sip/trunks/{id}/diverts"
|
|
17635
|
-
.replace(
|
|
18739
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
17636
18740
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
17637
18741
|
if (configuration) {
|
|
17638
18742
|
baseOptions = configuration.baseOptions;
|
|
@@ -19038,7 +20142,7 @@ var ServicesApiAxiosParamCreator = function (configuration) {
|
|
|
19038
20142
|
// verify required parameter 'id' is not null or undefined
|
|
19039
20143
|
(0, common_1.assertParamExists)('patchArchiveEvent', 'id', id);
|
|
19040
20144
|
localVarPath = "/services/events/{id}/archive"
|
|
19041
|
-
.replace(
|
|
20145
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
19042
20146
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
19043
20147
|
if (configuration) {
|
|
19044
20148
|
baseOptions = configuration.baseOptions;
|
|
@@ -19076,7 +20180,7 @@ var ServicesApiAxiosParamCreator = function (configuration) {
|
|
|
19076
20180
|
// verify required parameter 'id' is not null or undefined
|
|
19077
20181
|
(0, common_1.assertParamExists)('patchUpdateEvent', 'id', id);
|
|
19078
20182
|
localVarPath = "/services/events/{id}"
|
|
19079
|
-
.replace(
|
|
20183
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
19080
20184
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
19081
20185
|
if (configuration) {
|
|
19082
20186
|
baseOptions = configuration.baseOptions;
|
|
@@ -19152,7 +20256,7 @@ var ServicesApiAxiosParamCreator = function (configuration) {
|
|
|
19152
20256
|
// verify required parameter 'id' is not null or undefined
|
|
19153
20257
|
(0, common_1.assertParamExists)('postCreateEventUpdate', 'id', id);
|
|
19154
20258
|
localVarPath = "/services/events/{id}/updates"
|
|
19155
|
-
.replace(
|
|
20259
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
19156
20260
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
19157
20261
|
if (configuration) {
|
|
19158
20262
|
baseOptions = configuration.baseOptions;
|
|
@@ -19768,7 +20872,7 @@ var StockManagementApiAxiosParamCreator = function (configuration) {
|
|
|
19768
20872
|
// verify required parameter 'id' is not null or undefined
|
|
19769
20873
|
(0, common_1.assertParamExists)('deleteDeleteStockOrder', 'id', id);
|
|
19770
20874
|
localVarPath = "/stock/orders/{id}"
|
|
19771
|
-
.replace(
|
|
20875
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
19772
20876
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
19773
20877
|
if (configuration) {
|
|
19774
20878
|
baseOptions = configuration.baseOptions;
|
|
@@ -19808,8 +20912,8 @@ var StockManagementApiAxiosParamCreator = function (configuration) {
|
|
|
19808
20912
|
// verify required parameter 'deductionId' is not null or undefined
|
|
19809
20913
|
(0, common_1.assertParamExists)('deleteDeleteStockOrderDeduction', 'deductionId', deductionId);
|
|
19810
20914
|
localVarPath = "/stock/orders/{order_id}/deductions/{deduction_id}"
|
|
19811
|
-
.replace(
|
|
19812
|
-
.replace(
|
|
20915
|
+
.replace('{order_id}', encodeURIComponent(String(orderId)))
|
|
20916
|
+
.replace('{deduction_id}', encodeURIComponent(String(deductionId)));
|
|
19813
20917
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
19814
20918
|
if (configuration) {
|
|
19815
20919
|
baseOptions = configuration.baseOptions;
|
|
@@ -19849,8 +20953,8 @@ var StockManagementApiAxiosParamCreator = function (configuration) {
|
|
|
19849
20953
|
// verify required parameter 'itemId' is not null or undefined
|
|
19850
20954
|
(0, common_1.assertParamExists)('deleteDeleteStockOrderItem', 'itemId', itemId);
|
|
19851
20955
|
localVarPath = "/stock/orders/{order_id}/items/{item_id}"
|
|
19852
|
-
.replace(
|
|
19853
|
-
.replace(
|
|
20956
|
+
.replace('{order_id}', encodeURIComponent(String(orderId)))
|
|
20957
|
+
.replace('{item_id}', encodeURIComponent(String(itemId)));
|
|
19854
20958
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
19855
20959
|
if (configuration) {
|
|
19856
20960
|
baseOptions = configuration.baseOptions;
|
|
@@ -19887,7 +20991,7 @@ var StockManagementApiAxiosParamCreator = function (configuration) {
|
|
|
19887
20991
|
// verify required parameter 'id' is not null or undefined
|
|
19888
20992
|
(0, common_1.assertParamExists)('deleteGetStockProduct', 'id', id);
|
|
19889
20993
|
localVarPath = "/stock/products/{id}"
|
|
19890
|
-
.replace(
|
|
20994
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
19891
20995
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
19892
20996
|
if (configuration) {
|
|
19893
20997
|
baseOptions = configuration.baseOptions;
|
|
@@ -19924,7 +21028,7 @@ var StockManagementApiAxiosParamCreator = function (configuration) {
|
|
|
19924
21028
|
// verify required parameter 'id' is not null or undefined
|
|
19925
21029
|
(0, common_1.assertParamExists)('getDeleteStockOrder', 'id', id);
|
|
19926
21030
|
localVarPath = "/stock/orders/{id}"
|
|
19927
|
-
.replace(
|
|
21031
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
19928
21032
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
19929
21033
|
if (configuration) {
|
|
19930
21034
|
baseOptions = configuration.baseOptions;
|
|
@@ -19962,7 +21066,7 @@ var StockManagementApiAxiosParamCreator = function (configuration) {
|
|
|
19962
21066
|
// verify required parameter 'sku' is not null or undefined
|
|
19963
21067
|
(0, common_1.assertParamExists)('getGetProductDetails', 'sku', sku);
|
|
19964
21068
|
localVarPath = "/stock/products/{sku}/details"
|
|
19965
|
-
.replace(
|
|
21069
|
+
.replace('{sku}', encodeURIComponent(String(sku)));
|
|
19966
21070
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
19967
21071
|
if (configuration) {
|
|
19968
21072
|
baseOptions = configuration.baseOptions;
|
|
@@ -20000,7 +21104,7 @@ var StockManagementApiAxiosParamCreator = function (configuration) {
|
|
|
20000
21104
|
// verify required parameter 'id' is not null or undefined
|
|
20001
21105
|
(0, common_1.assertParamExists)('getGetStockOrderPurchaseOrder', 'id', id);
|
|
20002
21106
|
localVarPath = "/stock/orders/{id}/po"
|
|
20003
|
-
.replace(
|
|
21107
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
20004
21108
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
20005
21109
|
if (configuration) {
|
|
20006
21110
|
baseOptions = configuration.baseOptions;
|
|
@@ -20038,7 +21142,7 @@ var StockManagementApiAxiosParamCreator = function (configuration) {
|
|
|
20038
21142
|
// verify required parameter 'id' is not null or undefined
|
|
20039
21143
|
(0, common_1.assertParamExists)('getGetStockOrderSupplierEmail', 'id', id);
|
|
20040
21144
|
localVarPath = "/stock/orders/{id}/supplier/email"
|
|
20041
|
-
.replace(
|
|
21145
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
20042
21146
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
20043
21147
|
if (configuration) {
|
|
20044
21148
|
baseOptions = configuration.baseOptions;
|
|
@@ -20126,7 +21230,7 @@ var StockManagementApiAxiosParamCreator = function (configuration) {
|
|
|
20126
21230
|
// verify required parameter 'id' is not null or undefined
|
|
20127
21231
|
(0, common_1.assertParamExists)('getGetStockProduct', 'id', id);
|
|
20128
21232
|
localVarPath = "/stock/products/{id}"
|
|
20129
|
-
.replace(
|
|
21233
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
20130
21234
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
20131
21235
|
if (configuration) {
|
|
20132
21236
|
baseOptions = configuration.baseOptions;
|
|
@@ -20244,7 +21348,7 @@ var StockManagementApiAxiosParamCreator = function (configuration) {
|
|
|
20244
21348
|
// verify required parameter 'id' is not null or undefined
|
|
20245
21349
|
(0, common_1.assertParamExists)('getGetStockSupplierProducts', 'id', id);
|
|
20246
21350
|
localVarPath = "/stock/suppliers/{id}/products"
|
|
20247
|
-
.replace(
|
|
21351
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
20248
21352
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
20249
21353
|
if (configuration) {
|
|
20250
21354
|
baseOptions = configuration.baseOptions;
|
|
@@ -20282,7 +21386,7 @@ var StockManagementApiAxiosParamCreator = function (configuration) {
|
|
|
20282
21386
|
// verify required parameter 'id' is not null or undefined
|
|
20283
21387
|
(0, common_1.assertParamExists)('getUploadStockOrderInvoice', 'id', id);
|
|
20284
21388
|
localVarPath = "/stock/orders/{id}/invoice"
|
|
20285
|
-
.replace(
|
|
21389
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
20286
21390
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
20287
21391
|
if (configuration) {
|
|
20288
21392
|
baseOptions = configuration.baseOptions;
|
|
@@ -20321,7 +21425,7 @@ var StockManagementApiAxiosParamCreator = function (configuration) {
|
|
|
20321
21425
|
// verify required parameter 'id' is not null or undefined
|
|
20322
21426
|
(0, common_1.assertParamExists)('patchDeleteStockOrder', 'id', id);
|
|
20323
21427
|
localVarPath = "/stock/orders/{id}"
|
|
20324
|
-
.replace(
|
|
21428
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
20325
21429
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
20326
21430
|
if (configuration) {
|
|
20327
21431
|
baseOptions = configuration.baseOptions;
|
|
@@ -20365,8 +21469,8 @@ var StockManagementApiAxiosParamCreator = function (configuration) {
|
|
|
20365
21469
|
// verify required parameter 'deductionId' is not null or undefined
|
|
20366
21470
|
(0, common_1.assertParamExists)('patchDeleteStockOrderDeduction', 'deductionId', deductionId);
|
|
20367
21471
|
localVarPath = "/stock/orders/{order_id}/deductions/{deduction_id}"
|
|
20368
|
-
.replace(
|
|
20369
|
-
.replace(
|
|
21472
|
+
.replace('{order_id}', encodeURIComponent(String(orderId)))
|
|
21473
|
+
.replace('{deduction_id}', encodeURIComponent(String(deductionId)));
|
|
20370
21474
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
20371
21475
|
if (configuration) {
|
|
20372
21476
|
baseOptions = configuration.baseOptions;
|
|
@@ -20410,8 +21514,8 @@ var StockManagementApiAxiosParamCreator = function (configuration) {
|
|
|
20410
21514
|
// verify required parameter 'itemId' is not null or undefined
|
|
20411
21515
|
(0, common_1.assertParamExists)('patchDeleteStockOrderItem', 'itemId', itemId);
|
|
20412
21516
|
localVarPath = "/stock/orders/{order_id}/items/{item_id}"
|
|
20413
|
-
.replace(
|
|
20414
|
-
.replace(
|
|
21517
|
+
.replace('{order_id}', encodeURIComponent(String(orderId)))
|
|
21518
|
+
.replace('{item_id}', encodeURIComponent(String(itemId)));
|
|
20415
21519
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
20416
21520
|
if (configuration) {
|
|
20417
21521
|
baseOptions = configuration.baseOptions;
|
|
@@ -20452,7 +21556,7 @@ var StockManagementApiAxiosParamCreator = function (configuration) {
|
|
|
20452
21556
|
// verify required parameter 'id' is not null or undefined
|
|
20453
21557
|
(0, common_1.assertParamExists)('postAddStockOrderDeduction', 'id', id);
|
|
20454
21558
|
localVarPath = "/stock/orders/{id}/deductions"
|
|
20455
|
-
.replace(
|
|
21559
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
20456
21560
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
20457
21561
|
if (configuration) {
|
|
20458
21562
|
baseOptions = configuration.baseOptions;
|
|
@@ -20493,7 +21597,7 @@ var StockManagementApiAxiosParamCreator = function (configuration) {
|
|
|
20493
21597
|
// verify required parameter 'id' is not null or undefined
|
|
20494
21598
|
(0, common_1.assertParamExists)('postAddStockOrderItem', 'id', id);
|
|
20495
21599
|
localVarPath = "/stock/orders/{id}/items"
|
|
20496
|
-
.replace(
|
|
21600
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
20497
21601
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
20498
21602
|
if (configuration) {
|
|
20499
21603
|
baseOptions = configuration.baseOptions;
|
|
@@ -20610,7 +21714,7 @@ var StockManagementApiAxiosParamCreator = function (configuration) {
|
|
|
20610
21714
|
// verify required parameter 'invoice' is not null or undefined
|
|
20611
21715
|
(0, common_1.assertParamExists)('postUploadStockOrderInvoice', 'invoice', invoice);
|
|
20612
21716
|
localVarPath = "/stock/orders/{id}/invoice"
|
|
20613
|
-
.replace(
|
|
21717
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
20614
21718
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
20615
21719
|
if (configuration) {
|
|
20616
21720
|
baseOptions = configuration.baseOptions;
|
|
@@ -20654,7 +21758,7 @@ var StockManagementApiAxiosParamCreator = function (configuration) {
|
|
|
20654
21758
|
// verify required parameter 'id' is not null or undefined
|
|
20655
21759
|
(0, common_1.assertParamExists)('putGetStockProduct', 'id', id);
|
|
20656
21760
|
localVarPath = "/stock/products/{id}"
|
|
20657
|
-
.replace(
|
|
21761
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
20658
21762
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
20659
21763
|
if (configuration) {
|
|
20660
21764
|
baseOptions = configuration.baseOptions;
|
|
@@ -20700,8 +21804,8 @@ var StockManagementApiAxiosParamCreator = function (configuration) {
|
|
|
20700
21804
|
// verify required parameter 'received' is not null or undefined
|
|
20701
21805
|
(0, common_1.assertParamExists)('putReceiveStockOrderItem', 'received', received);
|
|
20702
21806
|
localVarPath = "/stock/orders/{order_id}/items/{item_id}/receive"
|
|
20703
|
-
.replace(
|
|
20704
|
-
.replace(
|
|
21807
|
+
.replace('{order_id}', encodeURIComponent(String(orderId)))
|
|
21808
|
+
.replace('{item_id}', encodeURIComponent(String(itemId)));
|
|
20705
21809
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
20706
21810
|
if (configuration) {
|
|
20707
21811
|
baseOptions = configuration.baseOptions;
|
|
@@ -22095,7 +23199,7 @@ var TicketsApiAxiosParamCreator = function (configuration) {
|
|
|
22095
23199
|
// verify required parameter 'id' is not null or undefined
|
|
22096
23200
|
(0, common_1.assertParamExists)('getGetTicket', 'id', id);
|
|
22097
23201
|
localVarPath = "/tickets/support/{id}"
|
|
22098
|
-
.replace(
|
|
23202
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
22099
23203
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
22100
23204
|
if (configuration) {
|
|
22101
23205
|
baseOptions = configuration.baseOptions;
|
|
@@ -22132,7 +23236,7 @@ var TicketsApiAxiosParamCreator = function (configuration) {
|
|
|
22132
23236
|
// verify required parameter 'id' is not null or undefined
|
|
22133
23237
|
(0, common_1.assertParamExists)('patchCloseTicket', 'id', id);
|
|
22134
23238
|
localVarPath = "/tickets/support/{id}/close"
|
|
22135
|
-
.replace(
|
|
23239
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
22136
23240
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
22137
23241
|
if (configuration) {
|
|
22138
23242
|
baseOptions = configuration.baseOptions;
|
|
@@ -22221,7 +23325,7 @@ var TicketsApiAxiosParamCreator = function (configuration) {
|
|
|
22221
23325
|
// verify required parameter 'id' is not null or undefined
|
|
22222
23326
|
(0, common_1.assertParamExists)('postTicketReply', 'id', id);
|
|
22223
23327
|
localVarPath = "/tickets/support/{id}/reply"
|
|
22224
|
-
.replace(
|
|
23328
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
22225
23329
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
22226
23330
|
if (configuration) {
|
|
22227
23331
|
baseOptions = configuration.baseOptions;
|
|
@@ -22717,5 +23821,5 @@ exports.PostAddWebhookWebhookUriEnum = {
|
|
|
22717
23821
|
WebhookFreshdeskUpdate: '/webhook/freshdesk/update',
|
|
22718
23822
|
WebhookTest: '/webhook/test',
|
|
22719
23823
|
WebhookXeroInvoices: '/webhook/xero/invoices',
|
|
22720
|
-
WebhookTcxPhonesAdd: '/webhook/tcx/phones/add'
|
|
23824
|
+
WebhookTcxPhonesAdd: '/webhook/tcx/phones/add',
|
|
22721
23825
|
};
|