yellowgrid-api-ts 3.2.136-dev.0 → 3.2.136
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 +29 -5
- package/api.ts +1550 -347
- 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 +808 -84
- package/dist/api.js +1447 -347
- 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 +667 -104
- 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 +1 -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;
|
|
@@ -543,6 +608,43 @@ var AccountsApiAxiosParamCreator = function (configuration) {
|
|
|
543
608
|
});
|
|
544
609
|
});
|
|
545
610
|
},
|
|
611
|
+
/**
|
|
612
|
+
* Get Account Contacts
|
|
613
|
+
* @param {string} id Account Xero ID
|
|
614
|
+
* @param {*} [options] Override http request option.
|
|
615
|
+
* @throws {RequiredError}
|
|
616
|
+
*/
|
|
617
|
+
getAdminCreateAccountContact: function (id_1) {
|
|
618
|
+
var args_1 = [];
|
|
619
|
+
for (var _i = 1; _i < arguments.length; _i++) {
|
|
620
|
+
args_1[_i - 1] = arguments[_i];
|
|
621
|
+
}
|
|
622
|
+
return __awaiter(_this, __spreadArray([id_1], args_1, true), void 0, function (id, options) {
|
|
623
|
+
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
624
|
+
if (options === void 0) { options = {}; }
|
|
625
|
+
return __generator(this, function (_a) {
|
|
626
|
+
// verify required parameter 'id' is not null or undefined
|
|
627
|
+
(0, common_1.assertParamExists)('getAdminCreateAccountContact', 'id', id);
|
|
628
|
+
localVarPath = "/admin/accounts/{id}/contacts"
|
|
629
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
630
|
+
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
631
|
+
if (configuration) {
|
|
632
|
+
baseOptions = configuration.baseOptions;
|
|
633
|
+
}
|
|
634
|
+
localVarRequestOptions = __assign(__assign({ method: 'GET' }, baseOptions), options);
|
|
635
|
+
localVarHeaderParameter = {};
|
|
636
|
+
localVarQueryParameter = {};
|
|
637
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
638
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
639
|
+
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
640
|
+
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
641
|
+
return [2 /*return*/, {
|
|
642
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
643
|
+
options: localVarRequestOptions,
|
|
644
|
+
}];
|
|
645
|
+
});
|
|
646
|
+
});
|
|
647
|
+
},
|
|
546
648
|
/**
|
|
547
649
|
* Get Account
|
|
548
650
|
* @summary Get Account
|
|
@@ -578,22 +680,24 @@ var AccountsApiAxiosParamCreator = function (configuration) {
|
|
|
578
680
|
});
|
|
579
681
|
},
|
|
580
682
|
/**
|
|
581
|
-
* Get Account
|
|
582
|
-
* @
|
|
583
|
-
* @param {string} [email] Contact Email Address
|
|
683
|
+
* Get Account Addresses
|
|
684
|
+
* @param {string} id Xero ID
|
|
584
685
|
* @param {*} [options] Override http request option.
|
|
585
686
|
* @throws {RequiredError}
|
|
586
687
|
*/
|
|
587
|
-
|
|
688
|
+
getGetAccountAddresses: function (id_1) {
|
|
588
689
|
var args_1 = [];
|
|
589
690
|
for (var _i = 1; _i < arguments.length; _i++) {
|
|
590
691
|
args_1[_i - 1] = arguments[_i];
|
|
591
692
|
}
|
|
592
|
-
return __awaiter(_this, __spreadArray([
|
|
693
|
+
return __awaiter(_this, __spreadArray([id_1], args_1, true), void 0, function (id, options) {
|
|
593
694
|
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
594
695
|
if (options === void 0) { options = {}; }
|
|
595
696
|
return __generator(this, function (_a) {
|
|
596
|
-
|
|
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)));
|
|
597
701
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
598
702
|
if (configuration) {
|
|
599
703
|
baseOptions = configuration.baseOptions;
|
|
@@ -601,9 +705,6 @@ var AccountsApiAxiosParamCreator = function (configuration) {
|
|
|
601
705
|
localVarRequestOptions = __assign(__assign({ method: 'GET' }, baseOptions), options);
|
|
602
706
|
localVarHeaderParameter = {};
|
|
603
707
|
localVarQueryParameter = {};
|
|
604
|
-
if (email !== undefined) {
|
|
605
|
-
localVarQueryParameter['email'] = email;
|
|
606
|
-
}
|
|
607
708
|
localVarHeaderParameter['Accept'] = 'application/json';
|
|
608
709
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
609
710
|
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
@@ -616,25 +717,22 @@ var AccountsApiAxiosParamCreator = function (configuration) {
|
|
|
616
717
|
});
|
|
617
718
|
},
|
|
618
719
|
/**
|
|
619
|
-
* Get Account
|
|
620
|
-
* @summary Get Account
|
|
621
|
-
* @param {
|
|
720
|
+
* Get Account Contacts
|
|
721
|
+
* @summary Get Account Contacts
|
|
722
|
+
* @param {string} [email] Contact Email Address
|
|
622
723
|
* @param {*} [options] Override http request option.
|
|
623
724
|
* @throws {RequiredError}
|
|
624
725
|
*/
|
|
625
|
-
|
|
726
|
+
getGetAccountContacts: function (email_1) {
|
|
626
727
|
var args_1 = [];
|
|
627
728
|
for (var _i = 1; _i < arguments.length; _i++) {
|
|
628
729
|
args_1[_i - 1] = arguments[_i];
|
|
629
730
|
}
|
|
630
|
-
return __awaiter(_this, __spreadArray([
|
|
731
|
+
return __awaiter(_this, __spreadArray([email_1], args_1, true), void 0, function (email, options) {
|
|
631
732
|
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
632
733
|
if (options === void 0) { options = {}; }
|
|
633
734
|
return __generator(this, function (_a) {
|
|
634
|
-
|
|
635
|
-
(0, common_1.assertParamExists)('getGetAccountDetailedSummary', 'id', id);
|
|
636
|
-
localVarPath = "/accounts/{id}/summary"
|
|
637
|
-
.replace("{".concat("id", "}"), encodeURIComponent(String(id)));
|
|
735
|
+
localVarPath = "/accounts/me/contacts";
|
|
638
736
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
639
737
|
if (configuration) {
|
|
640
738
|
baseOptions = configuration.baseOptions;
|
|
@@ -642,6 +740,9 @@ var AccountsApiAxiosParamCreator = function (configuration) {
|
|
|
642
740
|
localVarRequestOptions = __assign(__assign({ method: 'GET' }, baseOptions), options);
|
|
643
741
|
localVarHeaderParameter = {};
|
|
644
742
|
localVarQueryParameter = {};
|
|
743
|
+
if (email !== undefined) {
|
|
744
|
+
localVarQueryParameter['email'] = email;
|
|
745
|
+
}
|
|
645
746
|
localVarHeaderParameter['Accept'] = 'application/json';
|
|
646
747
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
647
748
|
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
@@ -654,12 +755,13 @@ var AccountsApiAxiosParamCreator = function (configuration) {
|
|
|
654
755
|
});
|
|
655
756
|
},
|
|
656
757
|
/**
|
|
657
|
-
* Get Account
|
|
658
|
-
* @
|
|
758
|
+
* Get Account Detailed Summary
|
|
759
|
+
* @summary Get Account Detailed Summary
|
|
760
|
+
* @param {number} id Customer ID
|
|
659
761
|
* @param {*} [options] Override http request option.
|
|
660
762
|
* @throws {RequiredError}
|
|
661
763
|
*/
|
|
662
|
-
|
|
764
|
+
getGetAccountDetailedSummary: function (id_1) {
|
|
663
765
|
var args_1 = [];
|
|
664
766
|
for (var _i = 1; _i < arguments.length; _i++) {
|
|
665
767
|
args_1[_i - 1] = arguments[_i];
|
|
@@ -669,9 +771,9 @@ var AccountsApiAxiosParamCreator = function (configuration) {
|
|
|
669
771
|
if (options === void 0) { options = {}; }
|
|
670
772
|
return __generator(this, function (_a) {
|
|
671
773
|
// verify required parameter 'id' is not null or undefined
|
|
672
|
-
(0, common_1.assertParamExists)('
|
|
673
|
-
localVarPath = "/
|
|
674
|
-
.replace(
|
|
774
|
+
(0, common_1.assertParamExists)('getGetAccountDetailedSummary', 'id', id);
|
|
775
|
+
localVarPath = "/accounts/{id}/summary"
|
|
776
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
675
777
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
676
778
|
if (configuration) {
|
|
677
779
|
baseOptions = configuration.baseOptions;
|
|
@@ -808,6 +910,114 @@ var AccountsApiAxiosParamCreator = function (configuration) {
|
|
|
808
910
|
});
|
|
809
911
|
});
|
|
810
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
|
+
},
|
|
811
1021
|
/**
|
|
812
1022
|
* Verify account email address
|
|
813
1023
|
* @summary Verify account email address
|
|
@@ -868,8 +1078,8 @@ var AccountsApiAxiosParamCreator = function (configuration) {
|
|
|
868
1078
|
// verify required parameter 'state' is not null or undefined
|
|
869
1079
|
(0, common_1.assertParamExists)('patchSetPortalAccess', 'state', state);
|
|
870
1080
|
localVarPath = "/admin/accounts/{id}/portal/access/{state}"
|
|
871
|
-
.replace(
|
|
872
|
-
.replace(
|
|
1081
|
+
.replace('{id}', encodeURIComponent(String(id)))
|
|
1082
|
+
.replace('{state}', encodeURIComponent(String(state)));
|
|
873
1083
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
874
1084
|
if (configuration) {
|
|
875
1085
|
baseOptions = configuration.baseOptions;
|
|
@@ -908,8 +1118,8 @@ var AccountsApiAxiosParamCreator = function (configuration) {
|
|
|
908
1118
|
// verify required parameter 'state' is not null or undefined
|
|
909
1119
|
(0, common_1.assertParamExists)('patchSetPrizePromo', 'state', state);
|
|
910
1120
|
localVarPath = "/admin/accounts/{id}/prizes/{state}"
|
|
911
|
-
.replace(
|
|
912
|
-
.replace(
|
|
1121
|
+
.replace('{id}', encodeURIComponent(String(id)))
|
|
1122
|
+
.replace('{state}', encodeURIComponent(String(state)));
|
|
913
1123
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
914
1124
|
if (configuration) {
|
|
915
1125
|
baseOptions = configuration.baseOptions;
|
|
@@ -981,7 +1191,7 @@ var AccountsApiAxiosParamCreator = function (configuration) {
|
|
|
981
1191
|
// verify required parameter 'id' is not null or undefined
|
|
982
1192
|
(0, common_1.assertParamExists)('patchUpdateAccountCname', 'id', id);
|
|
983
1193
|
localVarPath = "/admin/accounts/{id}/cname"
|
|
984
|
-
.replace(
|
|
1194
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
985
1195
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
986
1196
|
if (configuration) {
|
|
987
1197
|
baseOptions = configuration.baseOptions;
|
|
@@ -1020,7 +1230,7 @@ var AccountsApiAxiosParamCreator = function (configuration) {
|
|
|
1020
1230
|
// verify required parameter 'id' is not null or undefined
|
|
1021
1231
|
(0, common_1.assertParamExists)('patchUpdateAccountCompanyNumber', 'id', id);
|
|
1022
1232
|
localVarPath = "/admin/accounts/{id}/companyNumber"
|
|
1023
|
-
.replace(
|
|
1233
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
1024
1234
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
1025
1235
|
if (configuration) {
|
|
1026
1236
|
baseOptions = configuration.baseOptions;
|
|
@@ -1101,7 +1311,7 @@ var AccountsApiAxiosParamCreator = function (configuration) {
|
|
|
1101
1311
|
// verify required parameter 'id' is not null or undefined
|
|
1102
1312
|
(0, common_1.assertParamExists)('patchUpdateAccountPhone', 'id', id);
|
|
1103
1313
|
localVarPath = "/admin/accounts/{id}/phone"
|
|
1104
|
-
.replace(
|
|
1314
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
1105
1315
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
1106
1316
|
if (configuration) {
|
|
1107
1317
|
baseOptions = configuration.baseOptions;
|
|
@@ -1140,7 +1350,7 @@ var AccountsApiAxiosParamCreator = function (configuration) {
|
|
|
1140
1350
|
// verify required parameter 'id' is not null or undefined
|
|
1141
1351
|
(0, common_1.assertParamExists)('patchUpdateAccountVatNumber', 'id', id);
|
|
1142
1352
|
localVarPath = "/admin/accounts/{id}/vatNumber"
|
|
1143
|
-
.replace(
|
|
1353
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
1144
1354
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
1145
1355
|
if (configuration) {
|
|
1146
1356
|
baseOptions = configuration.baseOptions;
|
|
@@ -1161,37 +1371,38 @@ var AccountsApiAxiosParamCreator = function (configuration) {
|
|
|
1161
1371
|
});
|
|
1162
1372
|
},
|
|
1163
1373
|
/**
|
|
1164
|
-
*
|
|
1165
|
-
* @param {string} id
|
|
1166
|
-
* @param {
|
|
1374
|
+
* Set Account Credit Limit
|
|
1375
|
+
* @param {string} id Xero ID
|
|
1376
|
+
* @param {PatchUpdateCreditLimitRequest} [patchUpdateCreditLimitRequest] Credit Limit Request
|
|
1167
1377
|
* @param {*} [options] Override http request option.
|
|
1168
1378
|
* @throws {RequiredError}
|
|
1169
1379
|
*/
|
|
1170
|
-
|
|
1380
|
+
patchUpdateCreditLimit: function (id_1, patchUpdateCreditLimitRequest_1) {
|
|
1171
1381
|
var args_1 = [];
|
|
1172
1382
|
for (var _i = 2; _i < arguments.length; _i++) {
|
|
1173
1383
|
args_1[_i - 2] = arguments[_i];
|
|
1174
1384
|
}
|
|
1175
|
-
return __awaiter(_this, __spreadArray([id_1,
|
|
1385
|
+
return __awaiter(_this, __spreadArray([id_1, patchUpdateCreditLimitRequest_1], args_1, true), void 0, function (id, patchUpdateCreditLimitRequest, options) {
|
|
1176
1386
|
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
1177
1387
|
if (options === void 0) { options = {}; }
|
|
1178
1388
|
return __generator(this, function (_a) {
|
|
1179
1389
|
// verify required parameter 'id' is not null or undefined
|
|
1180
|
-
(0, common_1.assertParamExists)('
|
|
1181
|
-
localVarPath = "/admin/accounts/{id}/
|
|
1182
|
-
.replace(
|
|
1390
|
+
(0, common_1.assertParamExists)('patchUpdateCreditLimit', 'id', id);
|
|
1391
|
+
localVarPath = "/admin/accounts/{id}/creditLimit"
|
|
1392
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
1183
1393
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
1184
1394
|
if (configuration) {
|
|
1185
1395
|
baseOptions = configuration.baseOptions;
|
|
1186
1396
|
}
|
|
1187
|
-
localVarRequestOptions = __assign(__assign({ method: '
|
|
1397
|
+
localVarRequestOptions = __assign(__assign({ method: 'PATCH' }, baseOptions), options);
|
|
1188
1398
|
localVarHeaderParameter = {};
|
|
1189
1399
|
localVarQueryParameter = {};
|
|
1190
1400
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
1401
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
1191
1402
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
1192
1403
|
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1193
1404
|
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
1194
|
-
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(
|
|
1405
|
+
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(patchUpdateCreditLimitRequest, localVarRequestOptions, configuration);
|
|
1195
1406
|
return [2 /*return*/, {
|
|
1196
1407
|
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
1197
1408
|
options: localVarRequestOptions,
|
|
@@ -1200,34 +1411,38 @@ var AccountsApiAxiosParamCreator = function (configuration) {
|
|
|
1200
1411
|
});
|
|
1201
1412
|
},
|
|
1202
1413
|
/**
|
|
1203
|
-
*
|
|
1204
|
-
* @
|
|
1205
|
-
* @param {
|
|
1414
|
+
* Set Account Price List
|
|
1415
|
+
* @param {string} id Xero ID
|
|
1416
|
+
* @param {PatchUpdatePriceListRequest} [patchUpdatePriceListRequest] Price List Request
|
|
1206
1417
|
* @param {*} [options] Override http request option.
|
|
1207
1418
|
* @throws {RequiredError}
|
|
1208
1419
|
*/
|
|
1209
|
-
|
|
1420
|
+
patchUpdatePriceList: function (id_1, patchUpdatePriceListRequest_1) {
|
|
1210
1421
|
var args_1 = [];
|
|
1211
|
-
for (var _i =
|
|
1212
|
-
args_1[_i -
|
|
1422
|
+
for (var _i = 2; _i < arguments.length; _i++) {
|
|
1423
|
+
args_1[_i - 2] = arguments[_i];
|
|
1213
1424
|
}
|
|
1214
|
-
return __awaiter(_this, __spreadArray([
|
|
1425
|
+
return __awaiter(_this, __spreadArray([id_1, patchUpdatePriceListRequest_1], args_1, true), void 0, function (id, patchUpdatePriceListRequest, options) {
|
|
1215
1426
|
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
1216
1427
|
if (options === void 0) { options = {}; }
|
|
1217
1428
|
return __generator(this, function (_a) {
|
|
1218
|
-
|
|
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)));
|
|
1219
1433
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
1220
1434
|
if (configuration) {
|
|
1221
1435
|
baseOptions = configuration.baseOptions;
|
|
1222
1436
|
}
|
|
1223
|
-
localVarRequestOptions = __assign(__assign({ method: '
|
|
1437
|
+
localVarRequestOptions = __assign(__assign({ method: 'PATCH' }, baseOptions), options);
|
|
1224
1438
|
localVarHeaderParameter = {};
|
|
1225
1439
|
localVarQueryParameter = {};
|
|
1226
1440
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
1441
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
1227
1442
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
1228
1443
|
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1229
1444
|
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
1230
|
-
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(
|
|
1445
|
+
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(patchUpdatePriceListRequest, localVarRequestOptions, configuration);
|
|
1231
1446
|
return [2 /*return*/, {
|
|
1232
1447
|
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
1233
1448
|
options: localVarRequestOptions,
|
|
@@ -1236,27 +1451,30 @@ var AccountsApiAxiosParamCreator = function (configuration) {
|
|
|
1236
1451
|
});
|
|
1237
1452
|
},
|
|
1238
1453
|
/**
|
|
1239
|
-
*
|
|
1240
|
-
* @
|
|
1241
|
-
* @param {
|
|
1454
|
+
* Set Account SIP Channel Cost
|
|
1455
|
+
* @param {string} id Xero ID
|
|
1456
|
+
* @param {PatchUpdateSipChannelCostRequest} [patchUpdateSipChannelCostRequest] SIP Channel Cost Request
|
|
1242
1457
|
* @param {*} [options] Override http request option.
|
|
1243
1458
|
* @throws {RequiredError}
|
|
1244
1459
|
*/
|
|
1245
|
-
|
|
1460
|
+
patchUpdateSipChannelCost: function (id_1, patchUpdateSipChannelCostRequest_1) {
|
|
1246
1461
|
var args_1 = [];
|
|
1247
|
-
for (var _i =
|
|
1248
|
-
args_1[_i -
|
|
1462
|
+
for (var _i = 2; _i < arguments.length; _i++) {
|
|
1463
|
+
args_1[_i - 2] = arguments[_i];
|
|
1249
1464
|
}
|
|
1250
|
-
return __awaiter(_this, __spreadArray([
|
|
1465
|
+
return __awaiter(_this, __spreadArray([id_1, patchUpdateSipChannelCostRequest_1], args_1, true), void 0, function (id, patchUpdateSipChannelCostRequest, options) {
|
|
1251
1466
|
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
1252
1467
|
if (options === void 0) { options = {}; }
|
|
1253
1468
|
return __generator(this, function (_a) {
|
|
1254
|
-
|
|
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)));
|
|
1255
1473
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
1256
1474
|
if (configuration) {
|
|
1257
1475
|
baseOptions = configuration.baseOptions;
|
|
1258
1476
|
}
|
|
1259
|
-
localVarRequestOptions = __assign(__assign({ method: '
|
|
1477
|
+
localVarRequestOptions = __assign(__assign({ method: 'PATCH' }, baseOptions), options);
|
|
1260
1478
|
localVarHeaderParameter = {};
|
|
1261
1479
|
localVarQueryParameter = {};
|
|
1262
1480
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
@@ -1264,7 +1482,7 @@ var AccountsApiAxiosParamCreator = function (configuration) {
|
|
|
1264
1482
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
1265
1483
|
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1266
1484
|
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
1267
|
-
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(
|
|
1485
|
+
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(patchUpdateSipChannelCostRequest, localVarRequestOptions, configuration);
|
|
1268
1486
|
return [2 /*return*/, {
|
|
1269
1487
|
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
1270
1488
|
options: localVarRequestOptions,
|
|
@@ -1273,16 +1491,208 @@ var AccountsApiAxiosParamCreator = function (configuration) {
|
|
|
1273
1491
|
});
|
|
1274
1492
|
},
|
|
1275
1493
|
/**
|
|
1276
|
-
*
|
|
1277
|
-
* @
|
|
1494
|
+
* Set Account 3CX Hosting Price List
|
|
1495
|
+
* @param {string} id Xero ID
|
|
1496
|
+
* @param {PatchUpdateTcxHostingPriceListRequest} [patchUpdateTcxHostingPriceListRequest] 3CX Hosting Price List Request
|
|
1278
1497
|
* @param {*} [options] Override http request option.
|
|
1279
1498
|
* @throws {RequiredError}
|
|
1280
1499
|
*/
|
|
1281
|
-
|
|
1500
|
+
patchUpdateTcxHostingPriceList: function (id_1, patchUpdateTcxHostingPriceListRequest_1) {
|
|
1282
1501
|
var args_1 = [];
|
|
1283
|
-
for (var _i =
|
|
1284
|
-
args_1[_i] = arguments[_i];
|
|
1285
|
-
}
|
|
1502
|
+
for (var _i = 2; _i < arguments.length; _i++) {
|
|
1503
|
+
args_1[_i - 2] = arguments[_i];
|
|
1504
|
+
}
|
|
1505
|
+
return __awaiter(_this, __spreadArray([id_1, patchUpdateTcxHostingPriceListRequest_1], args_1, true), void 0, function (id, patchUpdateTcxHostingPriceListRequest, options) {
|
|
1506
|
+
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
1507
|
+
if (options === void 0) { options = {}; }
|
|
1508
|
+
return __generator(this, function (_a) {
|
|
1509
|
+
// verify required parameter 'id' is not null or undefined
|
|
1510
|
+
(0, common_1.assertParamExists)('patchUpdateTcxHostingPriceList', 'id', id);
|
|
1511
|
+
localVarPath = "/admin/accounts/{id}/tcx/hosting/priceList"
|
|
1512
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
1513
|
+
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
1514
|
+
if (configuration) {
|
|
1515
|
+
baseOptions = configuration.baseOptions;
|
|
1516
|
+
}
|
|
1517
|
+
localVarRequestOptions = __assign(__assign({ method: 'PATCH' }, baseOptions), options);
|
|
1518
|
+
localVarHeaderParameter = {};
|
|
1519
|
+
localVarQueryParameter = {};
|
|
1520
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
1521
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
1522
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
1523
|
+
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1524
|
+
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
1525
|
+
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(patchUpdateTcxHostingPriceListRequest, localVarRequestOptions, configuration);
|
|
1526
|
+
return [2 /*return*/, {
|
|
1527
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
1528
|
+
options: localVarRequestOptions,
|
|
1529
|
+
}];
|
|
1530
|
+
});
|
|
1531
|
+
});
|
|
1532
|
+
},
|
|
1533
|
+
/**
|
|
1534
|
+
* Set Account 3CX Partner ID
|
|
1535
|
+
* @param {string} id Xero ID
|
|
1536
|
+
* @param {PatchUpdateTcxPartnerIdRequest} [patchUpdateTcxPartnerIdRequest] Set Account 3CX Partner ID
|
|
1537
|
+
* @param {*} [options] Override http request option.
|
|
1538
|
+
* @throws {RequiredError}
|
|
1539
|
+
*/
|
|
1540
|
+
patchUpdateTcxPartnerId: function (id_1, patchUpdateTcxPartnerIdRequest_1) {
|
|
1541
|
+
var args_1 = [];
|
|
1542
|
+
for (var _i = 2; _i < arguments.length; _i++) {
|
|
1543
|
+
args_1[_i - 2] = arguments[_i];
|
|
1544
|
+
}
|
|
1545
|
+
return __awaiter(_this, __spreadArray([id_1, patchUpdateTcxPartnerIdRequest_1], args_1, true), void 0, function (id, patchUpdateTcxPartnerIdRequest, options) {
|
|
1546
|
+
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
1547
|
+
if (options === void 0) { options = {}; }
|
|
1548
|
+
return __generator(this, function (_a) {
|
|
1549
|
+
// verify required parameter 'id' is not null or undefined
|
|
1550
|
+
(0, common_1.assertParamExists)('patchUpdateTcxPartnerId', 'id', id);
|
|
1551
|
+
localVarPath = "/admin/accounts{id}/tcx/partner/id"
|
|
1552
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
1553
|
+
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
1554
|
+
if (configuration) {
|
|
1555
|
+
baseOptions = configuration.baseOptions;
|
|
1556
|
+
}
|
|
1557
|
+
localVarRequestOptions = __assign(__assign({ method: 'PATCH' }, baseOptions), options);
|
|
1558
|
+
localVarHeaderParameter = {};
|
|
1559
|
+
localVarQueryParameter = {};
|
|
1560
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
1561
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
1562
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
1563
|
+
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1564
|
+
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
1565
|
+
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(patchUpdateTcxPartnerIdRequest, localVarRequestOptions, configuration);
|
|
1566
|
+
return [2 /*return*/, {
|
|
1567
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
1568
|
+
options: localVarRequestOptions,
|
|
1569
|
+
}];
|
|
1570
|
+
});
|
|
1571
|
+
});
|
|
1572
|
+
},
|
|
1573
|
+
/**
|
|
1574
|
+
* Create Account Contact
|
|
1575
|
+
* @param {string} id Account Xero ID
|
|
1576
|
+
* @param {AccountContactRequestModel} [accountContactRequestModel] Create Account Contact Request
|
|
1577
|
+
* @param {*} [options] Override http request option.
|
|
1578
|
+
* @throws {RequiredError}
|
|
1579
|
+
*/
|
|
1580
|
+
postAdminCreateAccountContact: function (id_1, accountContactRequestModel_1) {
|
|
1581
|
+
var args_1 = [];
|
|
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
|
+
}
|
|
1286
1696
|
return __awaiter(_this, __spreadArray([], args_1, true), void 0, function (options) {
|
|
1287
1697
|
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
1288
1698
|
if (options === void 0) { options = {}; }
|
|
@@ -1362,7 +1772,7 @@ var AccountsApiAxiosParamCreator = function (configuration) {
|
|
|
1362
1772
|
// verify required parameter 'email' is not null or undefined
|
|
1363
1773
|
(0, common_1.assertParamExists)('postSendEmailVerificationEmail', 'email', email);
|
|
1364
1774
|
localVarPath = "/accounts/contacts/verify/{email}"
|
|
1365
|
-
.replace(
|
|
1775
|
+
.replace('{email}', encodeURIComponent(String(email)));
|
|
1366
1776
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
1367
1777
|
if (configuration) {
|
|
1368
1778
|
baseOptions = configuration.baseOptions;
|
|
@@ -1438,7 +1848,7 @@ var AccountsApiAxiosParamCreator = function (configuration) {
|
|
|
1438
1848
|
// verify required parameter 'id' is not null or undefined
|
|
1439
1849
|
(0, common_1.assertParamExists)('postSendWelcomeEmail', 'id', id);
|
|
1440
1850
|
localVarPath = "/admin/accounts/{id}/email/welcome"
|
|
1441
|
-
.replace(
|
|
1851
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
1442
1852
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
1443
1853
|
if (configuration) {
|
|
1444
1854
|
baseOptions = configuration.baseOptions;
|
|
@@ -1525,8 +1935,8 @@ var AccountsApiAxiosParamCreator = function (configuration) {
|
|
|
1525
1935
|
// verify required parameter 'contactId' is not null or undefined
|
|
1526
1936
|
(0, common_1.assertParamExists)('putAdminUpdateAccountContact', 'contactId', contactId);
|
|
1527
1937
|
localVarPath = "/admin/accounts/{id}/contacts/{contact_id}"
|
|
1528
|
-
.replace(
|
|
1529
|
-
.replace(
|
|
1938
|
+
.replace('{id}', encodeURIComponent(String(id)))
|
|
1939
|
+
.replace('{contact_id}', encodeURIComponent(String(contactId)));
|
|
1530
1940
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
1531
1941
|
if (configuration) {
|
|
1532
1942
|
baseOptions = configuration.baseOptions;
|
|
@@ -1566,7 +1976,7 @@ var AccountsApiAxiosParamCreator = function (configuration) {
|
|
|
1566
1976
|
// verify required parameter 'email' is not null or undefined
|
|
1567
1977
|
(0, common_1.assertParamExists)('putUpdateAccountContact', 'email', email);
|
|
1568
1978
|
localVarPath = "/accounts/me/contacts/{email}"
|
|
1569
|
-
.replace(
|
|
1979
|
+
.replace('{email}', encodeURIComponent(String(email)));
|
|
1570
1980
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
1571
1981
|
if (configuration) {
|
|
1572
1982
|
baseOptions = configuration.baseOptions;
|
|
@@ -1605,7 +2015,7 @@ var AccountsApiAxiosParamCreator = function (configuration) {
|
|
|
1605
2015
|
// verify required parameter 'id' is not null or undefined
|
|
1606
2016
|
(0, common_1.assertParamExists)('putUpdateBillingAddress', 'id', id);
|
|
1607
2017
|
localVarPath = "/admin/accounts/{id}/billing/address"
|
|
1608
|
-
.replace(
|
|
2018
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
1609
2019
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
1610
2020
|
if (configuration) {
|
|
1611
2021
|
baseOptions = configuration.baseOptions;
|
|
@@ -1644,7 +2054,7 @@ var AccountsApiAxiosParamCreator = function (configuration) {
|
|
|
1644
2054
|
// verify required parameter 'id' is not null or undefined
|
|
1645
2055
|
(0, common_1.assertParamExists)('putUpdateShippingAddress', 'id', id);
|
|
1646
2056
|
localVarPath = "/admin/accounts/{id}/shipping/address"
|
|
1647
|
-
.replace(
|
|
2057
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
1648
2058
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
1649
2059
|
if (configuration) {
|
|
1650
2060
|
baseOptions = configuration.baseOptions;
|
|
@@ -1696,6 +2106,28 @@ var AccountsApiFp = function (configuration) {
|
|
|
1696
2106
|
});
|
|
1697
2107
|
});
|
|
1698
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
|
+
},
|
|
1699
2131
|
/**
|
|
1700
2132
|
* Delete client credentials
|
|
1701
2133
|
* @summary Delete client credentials
|
|
@@ -1742,6 +2174,28 @@ var AccountsApiFp = function (configuration) {
|
|
|
1742
2174
|
});
|
|
1743
2175
|
});
|
|
1744
2176
|
},
|
|
2177
|
+
/**
|
|
2178
|
+
* Get Account Contacts
|
|
2179
|
+
* @param {string} id Account Xero ID
|
|
2180
|
+
* @param {*} [options] Override http request option.
|
|
2181
|
+
* @throws {RequiredError}
|
|
2182
|
+
*/
|
|
2183
|
+
getAdminCreateAccountContact: function (id, options) {
|
|
2184
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
2185
|
+
var localVarAxiosArgs, localVarOperationServerIndex, localVarOperationServerBasePath;
|
|
2186
|
+
var _a, _b, _c;
|
|
2187
|
+
return __generator(this, function (_d) {
|
|
2188
|
+
switch (_d.label) {
|
|
2189
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.getAdminCreateAccountContact(id, options)];
|
|
2190
|
+
case 1:
|
|
2191
|
+
localVarAxiosArgs = _d.sent();
|
|
2192
|
+
localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
2193
|
+
localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['AccountsApi.getAdminCreateAccountContact']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
2194
|
+
return [2 /*return*/, function (axios, basePath) { return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath); }];
|
|
2195
|
+
}
|
|
2196
|
+
});
|
|
2197
|
+
});
|
|
2198
|
+
},
|
|
1745
2199
|
/**
|
|
1746
2200
|
* Get Account
|
|
1747
2201
|
* @summary Get Account
|
|
@@ -1765,68 +2219,68 @@ var AccountsApiFp = function (configuration) {
|
|
|
1765
2219
|
});
|
|
1766
2220
|
},
|
|
1767
2221
|
/**
|
|
1768
|
-
* Get Account
|
|
1769
|
-
* @
|
|
1770
|
-
* @param {string} [email] Contact Email Address
|
|
2222
|
+
* Get Account Addresses
|
|
2223
|
+
* @param {string} id Xero ID
|
|
1771
2224
|
* @param {*} [options] Override http request option.
|
|
1772
2225
|
* @throws {RequiredError}
|
|
1773
2226
|
*/
|
|
1774
|
-
|
|
2227
|
+
getGetAccountAddresses: function (id, options) {
|
|
1775
2228
|
return __awaiter(this, void 0, void 0, function () {
|
|
1776
2229
|
var localVarAxiosArgs, localVarOperationServerIndex, localVarOperationServerBasePath;
|
|
1777
2230
|
var _a, _b, _c;
|
|
1778
2231
|
return __generator(this, function (_d) {
|
|
1779
2232
|
switch (_d.label) {
|
|
1780
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.
|
|
2233
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.getGetAccountAddresses(id, options)];
|
|
1781
2234
|
case 1:
|
|
1782
2235
|
localVarAxiosArgs = _d.sent();
|
|
1783
2236
|
localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
1784
|
-
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;
|
|
1785
2238
|
return [2 /*return*/, function (axios, basePath) { return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath); }];
|
|
1786
2239
|
}
|
|
1787
2240
|
});
|
|
1788
2241
|
});
|
|
1789
2242
|
},
|
|
1790
2243
|
/**
|
|
1791
|
-
* Get Account
|
|
1792
|
-
* @summary Get Account
|
|
1793
|
-
* @param {
|
|
2244
|
+
* Get Account Contacts
|
|
2245
|
+
* @summary Get Account Contacts
|
|
2246
|
+
* @param {string} [email] Contact Email Address
|
|
1794
2247
|
* @param {*} [options] Override http request option.
|
|
1795
2248
|
* @throws {RequiredError}
|
|
1796
2249
|
*/
|
|
1797
|
-
|
|
2250
|
+
getGetAccountContacts: function (email, options) {
|
|
1798
2251
|
return __awaiter(this, void 0, void 0, function () {
|
|
1799
2252
|
var localVarAxiosArgs, localVarOperationServerIndex, localVarOperationServerBasePath;
|
|
1800
2253
|
var _a, _b, _c;
|
|
1801
2254
|
return __generator(this, function (_d) {
|
|
1802
2255
|
switch (_d.label) {
|
|
1803
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.
|
|
2256
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.getGetAccountContacts(email, options)];
|
|
1804
2257
|
case 1:
|
|
1805
2258
|
localVarAxiosArgs = _d.sent();
|
|
1806
2259
|
localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
1807
|
-
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;
|
|
1808
2261
|
return [2 /*return*/, function (axios, basePath) { return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath); }];
|
|
1809
2262
|
}
|
|
1810
2263
|
});
|
|
1811
2264
|
});
|
|
1812
2265
|
},
|
|
1813
2266
|
/**
|
|
1814
|
-
* Get Account
|
|
1815
|
-
* @
|
|
2267
|
+
* Get Account Detailed Summary
|
|
2268
|
+
* @summary Get Account Detailed Summary
|
|
2269
|
+
* @param {number} id Customer ID
|
|
1816
2270
|
* @param {*} [options] Override http request option.
|
|
1817
2271
|
* @throws {RequiredError}
|
|
1818
2272
|
*/
|
|
1819
|
-
|
|
2273
|
+
getGetAccountDetailedSummary: function (id, options) {
|
|
1820
2274
|
return __awaiter(this, void 0, void 0, function () {
|
|
1821
2275
|
var localVarAxiosArgs, localVarOperationServerIndex, localVarOperationServerBasePath;
|
|
1822
2276
|
var _a, _b, _c;
|
|
1823
2277
|
return __generator(this, function (_d) {
|
|
1824
2278
|
switch (_d.label) {
|
|
1825
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.
|
|
2279
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.getGetAccountDetailedSummary(id, options)];
|
|
1826
2280
|
case 1:
|
|
1827
2281
|
localVarAxiosArgs = _d.sent();
|
|
1828
2282
|
localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
1829
|
-
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;
|
|
1830
2284
|
return [2 /*return*/, function (axios, basePath) { return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath); }];
|
|
1831
2285
|
}
|
|
1832
2286
|
});
|
|
@@ -1902,6 +2356,72 @@ var AccountsApiFp = function (configuration) {
|
|
|
1902
2356
|
});
|
|
1903
2357
|
});
|
|
1904
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
|
+
},
|
|
1905
2425
|
/**
|
|
1906
2426
|
* Verify account email address
|
|
1907
2427
|
* @summary Verify account email address
|
|
@@ -2109,6 +2629,121 @@ var AccountsApiFp = function (configuration) {
|
|
|
2109
2629
|
});
|
|
2110
2630
|
});
|
|
2111
2631
|
},
|
|
2632
|
+
/**
|
|
2633
|
+
* Set Account Credit Limit
|
|
2634
|
+
* @param {string} id Xero ID
|
|
2635
|
+
* @param {PatchUpdateCreditLimitRequest} [patchUpdateCreditLimitRequest] Credit Limit Request
|
|
2636
|
+
* @param {*} [options] Override http request option.
|
|
2637
|
+
* @throws {RequiredError}
|
|
2638
|
+
*/
|
|
2639
|
+
patchUpdateCreditLimit: function (id, patchUpdateCreditLimitRequest, options) {
|
|
2640
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
2641
|
+
var localVarAxiosArgs, localVarOperationServerIndex, localVarOperationServerBasePath;
|
|
2642
|
+
var _a, _b, _c;
|
|
2643
|
+
return __generator(this, function (_d) {
|
|
2644
|
+
switch (_d.label) {
|
|
2645
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.patchUpdateCreditLimit(id, patchUpdateCreditLimitRequest, options)];
|
|
2646
|
+
case 1:
|
|
2647
|
+
localVarAxiosArgs = _d.sent();
|
|
2648
|
+
localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
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;
|
|
2650
|
+
return [2 /*return*/, function (axios, basePath) { return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath); }];
|
|
2651
|
+
}
|
|
2652
|
+
});
|
|
2653
|
+
});
|
|
2654
|
+
},
|
|
2655
|
+
/**
|
|
2656
|
+
* Set Account Price List
|
|
2657
|
+
* @param {string} id Xero ID
|
|
2658
|
+
* @param {PatchUpdatePriceListRequest} [patchUpdatePriceListRequest] Price List Request
|
|
2659
|
+
* @param {*} [options] Override http request option.
|
|
2660
|
+
* @throws {RequiredError}
|
|
2661
|
+
*/
|
|
2662
|
+
patchUpdatePriceList: function (id, patchUpdatePriceListRequest, options) {
|
|
2663
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
2664
|
+
var localVarAxiosArgs, localVarOperationServerIndex, localVarOperationServerBasePath;
|
|
2665
|
+
var _a, _b, _c;
|
|
2666
|
+
return __generator(this, function (_d) {
|
|
2667
|
+
switch (_d.label) {
|
|
2668
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.patchUpdatePriceList(id, patchUpdatePriceListRequest, options)];
|
|
2669
|
+
case 1:
|
|
2670
|
+
localVarAxiosArgs = _d.sent();
|
|
2671
|
+
localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
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;
|
|
2673
|
+
return [2 /*return*/, function (axios, basePath) { return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath); }];
|
|
2674
|
+
}
|
|
2675
|
+
});
|
|
2676
|
+
});
|
|
2677
|
+
},
|
|
2678
|
+
/**
|
|
2679
|
+
* Set Account SIP Channel Cost
|
|
2680
|
+
* @param {string} id Xero ID
|
|
2681
|
+
* @param {PatchUpdateSipChannelCostRequest} [patchUpdateSipChannelCostRequest] SIP Channel Cost Request
|
|
2682
|
+
* @param {*} [options] Override http request option.
|
|
2683
|
+
* @throws {RequiredError}
|
|
2684
|
+
*/
|
|
2685
|
+
patchUpdateSipChannelCost: function (id, patchUpdateSipChannelCostRequest, options) {
|
|
2686
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
2687
|
+
var localVarAxiosArgs, localVarOperationServerIndex, localVarOperationServerBasePath;
|
|
2688
|
+
var _a, _b, _c;
|
|
2689
|
+
return __generator(this, function (_d) {
|
|
2690
|
+
switch (_d.label) {
|
|
2691
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.patchUpdateSipChannelCost(id, patchUpdateSipChannelCostRequest, options)];
|
|
2692
|
+
case 1:
|
|
2693
|
+
localVarAxiosArgs = _d.sent();
|
|
2694
|
+
localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
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;
|
|
2696
|
+
return [2 /*return*/, function (axios, basePath) { return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath); }];
|
|
2697
|
+
}
|
|
2698
|
+
});
|
|
2699
|
+
});
|
|
2700
|
+
},
|
|
2701
|
+
/**
|
|
2702
|
+
* Set Account 3CX Hosting Price List
|
|
2703
|
+
* @param {string} id Xero ID
|
|
2704
|
+
* @param {PatchUpdateTcxHostingPriceListRequest} [patchUpdateTcxHostingPriceListRequest] 3CX Hosting Price List Request
|
|
2705
|
+
* @param {*} [options] Override http request option.
|
|
2706
|
+
* @throws {RequiredError}
|
|
2707
|
+
*/
|
|
2708
|
+
patchUpdateTcxHostingPriceList: function (id, patchUpdateTcxHostingPriceListRequest, options) {
|
|
2709
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
2710
|
+
var localVarAxiosArgs, localVarOperationServerIndex, localVarOperationServerBasePath;
|
|
2711
|
+
var _a, _b, _c;
|
|
2712
|
+
return __generator(this, function (_d) {
|
|
2713
|
+
switch (_d.label) {
|
|
2714
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.patchUpdateTcxHostingPriceList(id, patchUpdateTcxHostingPriceListRequest, options)];
|
|
2715
|
+
case 1:
|
|
2716
|
+
localVarAxiosArgs = _d.sent();
|
|
2717
|
+
localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
2718
|
+
localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['AccountsApi.patchUpdateTcxHostingPriceList']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
2719
|
+
return [2 /*return*/, function (axios, basePath) { return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath); }];
|
|
2720
|
+
}
|
|
2721
|
+
});
|
|
2722
|
+
});
|
|
2723
|
+
},
|
|
2724
|
+
/**
|
|
2725
|
+
* Set Account 3CX Partner ID
|
|
2726
|
+
* @param {string} id Xero ID
|
|
2727
|
+
* @param {PatchUpdateTcxPartnerIdRequest} [patchUpdateTcxPartnerIdRequest] Set Account 3CX Partner ID
|
|
2728
|
+
* @param {*} [options] Override http request option.
|
|
2729
|
+
* @throws {RequiredError}
|
|
2730
|
+
*/
|
|
2731
|
+
patchUpdateTcxPartnerId: function (id, patchUpdateTcxPartnerIdRequest, options) {
|
|
2732
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
2733
|
+
var localVarAxiosArgs, localVarOperationServerIndex, localVarOperationServerBasePath;
|
|
2734
|
+
var _a, _b, _c;
|
|
2735
|
+
return __generator(this, function (_d) {
|
|
2736
|
+
switch (_d.label) {
|
|
2737
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.patchUpdateTcxPartnerId(id, patchUpdateTcxPartnerIdRequest, options)];
|
|
2738
|
+
case 1:
|
|
2739
|
+
localVarAxiosArgs = _d.sent();
|
|
2740
|
+
localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
2741
|
+
localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['AccountsApi.patchUpdateTcxPartnerId']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
2742
|
+
return [2 /*return*/, function (axios, basePath) { return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath); }];
|
|
2743
|
+
}
|
|
2744
|
+
});
|
|
2745
|
+
});
|
|
2746
|
+
},
|
|
2112
2747
|
/**
|
|
2113
2748
|
* Create Account Contact
|
|
2114
2749
|
* @param {string} id Account Xero ID
|
|
@@ -2430,6 +3065,15 @@ var AccountsApiFactory = function (configuration, basePath, axios) {
|
|
|
2430
3065
|
deleteAdminUpdateAccountContact: function (id, contactId, options) {
|
|
2431
3066
|
return localVarFp.deleteAdminUpdateAccountContact(id, contactId, options).then(function (request) { return request(axios, basePath); });
|
|
2432
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
|
+
},
|
|
2433
3077
|
/**
|
|
2434
3078
|
* Delete client credentials
|
|
2435
3079
|
* @summary Delete client credentials
|
|
@@ -2450,6 +3094,15 @@ var AccountsApiFactory = function (configuration, basePath, axios) {
|
|
|
2450
3094
|
deleteUpdateAccountContact: function (email, options) {
|
|
2451
3095
|
return localVarFp.deleteUpdateAccountContact(email, options).then(function (request) { return request(axios, basePath); });
|
|
2452
3096
|
},
|
|
3097
|
+
/**
|
|
3098
|
+
* Get Account Contacts
|
|
3099
|
+
* @param {string} id Account Xero ID
|
|
3100
|
+
* @param {*} [options] Override http request option.
|
|
3101
|
+
* @throws {RequiredError}
|
|
3102
|
+
*/
|
|
3103
|
+
getAdminCreateAccountContact: function (id, options) {
|
|
3104
|
+
return localVarFp.getAdminCreateAccountContact(id, options).then(function (request) { return request(axios, basePath); });
|
|
3105
|
+
},
|
|
2453
3106
|
/**
|
|
2454
3107
|
* Get Account
|
|
2455
3108
|
* @summary Get Account
|
|
@@ -2459,6 +3112,15 @@ var AccountsApiFactory = function (configuration, basePath, axios) {
|
|
|
2459
3112
|
getGetAccount: function (options) {
|
|
2460
3113
|
return localVarFp.getGetAccount(options).then(function (request) { return request(axios, basePath); });
|
|
2461
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
|
+
},
|
|
2462
3124
|
/**
|
|
2463
3125
|
* Get Account Contacts
|
|
2464
3126
|
* @summary Get Account Contacts
|
|
@@ -2479,15 +3141,6 @@ var AccountsApiFactory = function (configuration, basePath, axios) {
|
|
|
2479
3141
|
getGetAccountDetailedSummary: function (id, options) {
|
|
2480
3142
|
return localVarFp.getGetAccountDetailedSummary(id, options).then(function (request) { return request(axios, basePath); });
|
|
2481
3143
|
},
|
|
2482
|
-
/**
|
|
2483
|
-
* Get Account Page Details
|
|
2484
|
-
* @param {string} id Xero ID
|
|
2485
|
-
* @param {*} [options] Override http request option.
|
|
2486
|
-
* @throws {RequiredError}
|
|
2487
|
-
*/
|
|
2488
|
-
getGetAccountPageInfo: function (id, options) {
|
|
2489
|
-
return localVarFp.getGetAccountPageInfo(id, options).then(function (request) { return request(axios, basePath); });
|
|
2490
|
-
},
|
|
2491
3144
|
/**
|
|
2492
3145
|
* Get Accounts
|
|
2493
3146
|
* @summary Get Accounts
|
|
@@ -2519,6 +3172,33 @@ var AccountsApiFactory = function (configuration, basePath, axios) {
|
|
|
2519
3172
|
getGetCustomerKeys: function (options) {
|
|
2520
3173
|
return localVarFp.getGetCustomerKeys(options).then(function (request) { return request(axios, basePath); });
|
|
2521
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
|
+
},
|
|
2522
3202
|
/**
|
|
2523
3203
|
* Verify account email address
|
|
2524
3204
|
* @summary Verify account email address
|
|
@@ -2609,6 +3289,56 @@ var AccountsApiFactory = function (configuration, basePath, axios) {
|
|
|
2609
3289
|
patchUpdateAccountVatNumber: function (id, patchUpdateAccountVatNumberRequest, options) {
|
|
2610
3290
|
return localVarFp.patchUpdateAccountVatNumber(id, patchUpdateAccountVatNumberRequest, options).then(function (request) { return request(axios, basePath); });
|
|
2611
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
|
+
},
|
|
2612
3342
|
/**
|
|
2613
3343
|
* Create Account Contact
|
|
2614
3344
|
* @param {string} id Account Xero ID
|
|
@@ -2764,6 +3494,16 @@ var AccountsApi = /** @class */ (function (_super) {
|
|
|
2764
3494
|
var _this = this;
|
|
2765
3495
|
return (0, exports.AccountsApiFp)(this.configuration).deleteAdminUpdateAccountContact(id, contactId, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
2766
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
|
+
};
|
|
2767
3507
|
/**
|
|
2768
3508
|
* Delete client credentials
|
|
2769
3509
|
* @summary Delete client credentials
|
|
@@ -2786,6 +3526,16 @@ var AccountsApi = /** @class */ (function (_super) {
|
|
|
2786
3526
|
var _this = this;
|
|
2787
3527
|
return (0, exports.AccountsApiFp)(this.configuration).deleteUpdateAccountContact(email, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
2788
3528
|
};
|
|
3529
|
+
/**
|
|
3530
|
+
* Get Account Contacts
|
|
3531
|
+
* @param {string} id Account Xero ID
|
|
3532
|
+
* @param {*} [options] Override http request option.
|
|
3533
|
+
* @throws {RequiredError}
|
|
3534
|
+
*/
|
|
3535
|
+
AccountsApi.prototype.getAdminCreateAccountContact = function (id, options) {
|
|
3536
|
+
var _this = this;
|
|
3537
|
+
return (0, exports.AccountsApiFp)(this.configuration).getAdminCreateAccountContact(id, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
3538
|
+
};
|
|
2789
3539
|
/**
|
|
2790
3540
|
* Get Account
|
|
2791
3541
|
* @summary Get Account
|
|
@@ -2796,6 +3546,16 @@ var AccountsApi = /** @class */ (function (_super) {
|
|
|
2796
3546
|
var _this = this;
|
|
2797
3547
|
return (0, exports.AccountsApiFp)(this.configuration).getGetAccount(options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
2798
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
|
+
};
|
|
2799
3559
|
/**
|
|
2800
3560
|
* Get Account Contacts
|
|
2801
3561
|
* @summary Get Account Contacts
|
|
@@ -2819,48 +3579,68 @@ var AccountsApi = /** @class */ (function (_super) {
|
|
|
2819
3579
|
return (0, exports.AccountsApiFp)(this.configuration).getGetAccountDetailedSummary(id, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
2820
3580
|
};
|
|
2821
3581
|
/**
|
|
2822
|
-
* Get
|
|
2823
|
-
* @
|
|
3582
|
+
* Get Accounts
|
|
3583
|
+
* @summary Get Accounts
|
|
3584
|
+
* @param {number} [pageSize] Number Of Results
|
|
3585
|
+
* @param {number} [page] Page Number
|
|
3586
|
+
* @param {string} [search] Search
|
|
3587
|
+
* @param {boolean} [active] Active
|
|
2824
3588
|
* @param {*} [options] Override http request option.
|
|
2825
3589
|
* @throws {RequiredError}
|
|
2826
3590
|
*/
|
|
2827
|
-
AccountsApi.prototype.
|
|
3591
|
+
AccountsApi.prototype.getGetAccounts = function (pageSize, page, search, active, options) {
|
|
2828
3592
|
var _this = this;
|
|
2829
|
-
return (0, exports.AccountsApiFp)(this.configuration).
|
|
3593
|
+
return (0, exports.AccountsApiFp)(this.configuration).getGetAccounts(pageSize, page, search, active, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
3594
|
+
};
|
|
3595
|
+
/**
|
|
3596
|
+
* Get user\'s client credentials
|
|
3597
|
+
* @summary Get user\'s client credentials
|
|
3598
|
+
* @param {*} [options] Override http request option.
|
|
3599
|
+
* @throws {RequiredError}
|
|
3600
|
+
*/
|
|
3601
|
+
AccountsApi.prototype.getGetClientCredentials = function (options) {
|
|
3602
|
+
var _this = this;
|
|
3603
|
+
return (0, exports.AccountsApiFp)(this.configuration).getGetClientCredentials(options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
3604
|
+
};
|
|
3605
|
+
/**
|
|
3606
|
+
* Get 3CX Keys
|
|
3607
|
+
* @summary Get 3CX Keys
|
|
3608
|
+
* @param {*} [options] Override http request option.
|
|
3609
|
+
* @throws {RequiredError}
|
|
3610
|
+
*/
|
|
3611
|
+
AccountsApi.prototype.getGetCustomerKeys = function (options) {
|
|
3612
|
+
var _this = this;
|
|
3613
|
+
return (0, exports.AccountsApiFp)(this.configuration).getGetCustomerKeys(options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
2830
3614
|
};
|
|
2831
3615
|
/**
|
|
2832
|
-
* Get
|
|
2833
|
-
* @
|
|
2834
|
-
* @param {number} [pageSize] Number Of Results
|
|
2835
|
-
* @param {number} [page] Page Number
|
|
2836
|
-
* @param {string} [search] Search
|
|
2837
|
-
* @param {boolean} [active] Active
|
|
3616
|
+
* Get Account Finance
|
|
3617
|
+
* @param {string} id Account Xero ID
|
|
2838
3618
|
* @param {*} [options] Override http request option.
|
|
2839
3619
|
* @throws {RequiredError}
|
|
2840
3620
|
*/
|
|
2841
|
-
AccountsApi.prototype.
|
|
3621
|
+
AccountsApi.prototype.getGetFinanceSettings = function (id, options) {
|
|
2842
3622
|
var _this = this;
|
|
2843
|
-
return (0, exports.AccountsApiFp)(this.configuration).
|
|
3623
|
+
return (0, exports.AccountsApiFp)(this.configuration).getGetFinanceSettings(id, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
2844
3624
|
};
|
|
2845
3625
|
/**
|
|
2846
|
-
* Get
|
|
2847
|
-
* @summary Get
|
|
3626
|
+
* Get Last Account
|
|
3627
|
+
* @summary Get Last Account
|
|
2848
3628
|
* @param {*} [options] Override http request option.
|
|
2849
3629
|
* @throws {RequiredError}
|
|
2850
3630
|
*/
|
|
2851
|
-
AccountsApi.prototype.
|
|
3631
|
+
AccountsApi.prototype.getGetLastAccount = function (options) {
|
|
2852
3632
|
var _this = this;
|
|
2853
|
-
return (0, exports.AccountsApiFp)(this.configuration).
|
|
3633
|
+
return (0, exports.AccountsApiFp)(this.configuration).getGetLastAccount(options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
2854
3634
|
};
|
|
2855
3635
|
/**
|
|
2856
|
-
* Get 3CX
|
|
2857
|
-
* @
|
|
3636
|
+
* Get Account 3CX Details
|
|
3637
|
+
* @param {string} id Xero ID
|
|
2858
3638
|
* @param {*} [options] Override http request option.
|
|
2859
3639
|
* @throws {RequiredError}
|
|
2860
3640
|
*/
|
|
2861
|
-
AccountsApi.prototype.
|
|
3641
|
+
AccountsApi.prototype.getGetTcxPartnerDetails = function (id, options) {
|
|
2862
3642
|
var _this = this;
|
|
2863
|
-
return (0, exports.AccountsApiFp)(this.configuration).
|
|
3643
|
+
return (0, exports.AccountsApiFp)(this.configuration).getGetTcxPartnerDetails(id, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
2864
3644
|
};
|
|
2865
3645
|
/**
|
|
2866
3646
|
* Verify account email address
|
|
@@ -2961,6 +3741,61 @@ var AccountsApi = /** @class */ (function (_super) {
|
|
|
2961
3741
|
var _this = this;
|
|
2962
3742
|
return (0, exports.AccountsApiFp)(this.configuration).patchUpdateAccountVatNumber(id, patchUpdateAccountVatNumberRequest, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
2963
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
|
+
};
|
|
2964
3799
|
/**
|
|
2965
3800
|
* Create Account Contact
|
|
2966
3801
|
* @param {string} id Account Xero ID
|
|
@@ -3112,12 +3947,125 @@ var AccountsApi = /** @class */ (function (_super) {
|
|
|
3112
3947
|
exports.AccountsApi = AccountsApi;
|
|
3113
3948
|
exports.PatchSetPortalAccessStateEnum = {
|
|
3114
3949
|
Enable: 'enable',
|
|
3115
|
-
Disable: 'disable'
|
|
3950
|
+
Disable: 'disable',
|
|
3116
3951
|
};
|
|
3117
3952
|
exports.PatchSetPrizePromoStateEnum = {
|
|
3118
3953
|
Enable: 'enable',
|
|
3119
|
-
Disable: 'disable'
|
|
3954
|
+
Disable: 'disable',
|
|
3955
|
+
};
|
|
3956
|
+
/**
|
|
3957
|
+
* BillingApi - axios parameter creator
|
|
3958
|
+
*/
|
|
3959
|
+
var BillingApiAxiosParamCreator = function (configuration) {
|
|
3960
|
+
var _this = this;
|
|
3961
|
+
return {
|
|
3962
|
+
/**
|
|
3963
|
+
* Get Billing Customers
|
|
3964
|
+
* @summary Get Billing Customers
|
|
3965
|
+
* @param {*} [options] Override http request option.
|
|
3966
|
+
* @throws {RequiredError}
|
|
3967
|
+
*/
|
|
3968
|
+
getGetAllCustomer: function () {
|
|
3969
|
+
var args_1 = [];
|
|
3970
|
+
for (var _i = 0; _i < arguments.length; _i++) {
|
|
3971
|
+
args_1[_i] = arguments[_i];
|
|
3972
|
+
}
|
|
3973
|
+
return __awaiter(_this, __spreadArray([], args_1, true), void 0, function (options) {
|
|
3974
|
+
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
3975
|
+
if (options === void 0) { options = {}; }
|
|
3976
|
+
return __generator(this, function (_a) {
|
|
3977
|
+
localVarPath = "/billing/admin/customerList";
|
|
3978
|
+
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
3979
|
+
if (configuration) {
|
|
3980
|
+
baseOptions = configuration.baseOptions;
|
|
3981
|
+
}
|
|
3982
|
+
localVarRequestOptions = __assign(__assign({ method: 'GET' }, baseOptions), options);
|
|
3983
|
+
localVarHeaderParameter = {};
|
|
3984
|
+
localVarQueryParameter = {};
|
|
3985
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
3986
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
3987
|
+
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
3988
|
+
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
3989
|
+
return [2 /*return*/, {
|
|
3990
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
3991
|
+
options: localVarRequestOptions,
|
|
3992
|
+
}];
|
|
3993
|
+
});
|
|
3994
|
+
});
|
|
3995
|
+
},
|
|
3996
|
+
};
|
|
3997
|
+
};
|
|
3998
|
+
exports.BillingApiAxiosParamCreator = BillingApiAxiosParamCreator;
|
|
3999
|
+
/**
|
|
4000
|
+
* BillingApi - functional programming interface
|
|
4001
|
+
*/
|
|
4002
|
+
var BillingApiFp = function (configuration) {
|
|
4003
|
+
var localVarAxiosParamCreator = (0, exports.BillingApiAxiosParamCreator)(configuration);
|
|
4004
|
+
return {
|
|
4005
|
+
/**
|
|
4006
|
+
* Get Billing Customers
|
|
4007
|
+
* @summary Get Billing Customers
|
|
4008
|
+
* @param {*} [options] Override http request option.
|
|
4009
|
+
* @throws {RequiredError}
|
|
4010
|
+
*/
|
|
4011
|
+
getGetAllCustomer: function (options) {
|
|
4012
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
4013
|
+
var localVarAxiosArgs, localVarOperationServerIndex, localVarOperationServerBasePath;
|
|
4014
|
+
var _a, _b, _c;
|
|
4015
|
+
return __generator(this, function (_d) {
|
|
4016
|
+
switch (_d.label) {
|
|
4017
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.getGetAllCustomer(options)];
|
|
4018
|
+
case 1:
|
|
4019
|
+
localVarAxiosArgs = _d.sent();
|
|
4020
|
+
localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
4021
|
+
localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['BillingApi.getGetAllCustomer']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
4022
|
+
return [2 /*return*/, function (axios, basePath) { return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath); }];
|
|
4023
|
+
}
|
|
4024
|
+
});
|
|
4025
|
+
});
|
|
4026
|
+
},
|
|
4027
|
+
};
|
|
4028
|
+
};
|
|
4029
|
+
exports.BillingApiFp = BillingApiFp;
|
|
4030
|
+
/**
|
|
4031
|
+
* BillingApi - factory interface
|
|
4032
|
+
*/
|
|
4033
|
+
var BillingApiFactory = function (configuration, basePath, axios) {
|
|
4034
|
+
var localVarFp = (0, exports.BillingApiFp)(configuration);
|
|
4035
|
+
return {
|
|
4036
|
+
/**
|
|
4037
|
+
* Get Billing Customers
|
|
4038
|
+
* @summary Get Billing Customers
|
|
4039
|
+
* @param {*} [options] Override http request option.
|
|
4040
|
+
* @throws {RequiredError}
|
|
4041
|
+
*/
|
|
4042
|
+
getGetAllCustomer: function (options) {
|
|
4043
|
+
return localVarFp.getGetAllCustomer(options).then(function (request) { return request(axios, basePath); });
|
|
4044
|
+
},
|
|
4045
|
+
};
|
|
3120
4046
|
};
|
|
4047
|
+
exports.BillingApiFactory = BillingApiFactory;
|
|
4048
|
+
/**
|
|
4049
|
+
* BillingApi - object-oriented interface
|
|
4050
|
+
*/
|
|
4051
|
+
var BillingApi = /** @class */ (function (_super) {
|
|
4052
|
+
__extends(BillingApi, _super);
|
|
4053
|
+
function BillingApi() {
|
|
4054
|
+
return _super !== null && _super.apply(this, arguments) || this;
|
|
4055
|
+
}
|
|
4056
|
+
/**
|
|
4057
|
+
* Get Billing Customers
|
|
4058
|
+
* @summary Get Billing Customers
|
|
4059
|
+
* @param {*} [options] Override http request option.
|
|
4060
|
+
* @throws {RequiredError}
|
|
4061
|
+
*/
|
|
4062
|
+
BillingApi.prototype.getGetAllCustomer = function (options) {
|
|
4063
|
+
var _this = this;
|
|
4064
|
+
return (0, exports.BillingApiFp)(this.configuration).getGetAllCustomer(options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
4065
|
+
};
|
|
4066
|
+
return BillingApi;
|
|
4067
|
+
}(base_1.BaseAPI));
|
|
4068
|
+
exports.BillingApi = BillingApi;
|
|
3121
4069
|
/**
|
|
3122
4070
|
* CRMApi - axios parameter creator
|
|
3123
4071
|
*/
|
|
@@ -3144,7 +4092,7 @@ var CRMApiAxiosParamCreator = function (configuration) {
|
|
|
3144
4092
|
// verify required parameter 'id' is not null or undefined
|
|
3145
4093
|
(0, common_1.assertParamExists)('getGetCrmActivities', 'id', id);
|
|
3146
4094
|
localVarPath = "/admin/crm/{id}/activities"
|
|
3147
|
-
.replace(
|
|
4095
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
3148
4096
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
3149
4097
|
if (configuration) {
|
|
3150
4098
|
baseOptions = configuration.baseOptions;
|
|
@@ -3221,7 +4169,7 @@ var CRMApiAxiosParamCreator = function (configuration) {
|
|
|
3221
4169
|
// verify required parameter 'id' is not null or undefined
|
|
3222
4170
|
(0, common_1.assertParamExists)('postCreateCrmNote', 'id', id);
|
|
3223
4171
|
localVarPath = "/admin/crm/{id}/activities/note"
|
|
3224
|
-
.replace(
|
|
4172
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
3225
4173
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
3226
4174
|
if (configuration) {
|
|
3227
4175
|
baseOptions = configuration.baseOptions;
|
|
@@ -3406,10 +4354,11 @@ exports.CRMApi = CRMApi;
|
|
|
3406
4354
|
exports.GetGetCrmActivitiesTypeEnum = {
|
|
3407
4355
|
Alert: 'alert',
|
|
3408
4356
|
Call: 'call',
|
|
4357
|
+
Email: 'email',
|
|
3409
4358
|
Note: 'note',
|
|
3410
4359
|
Order: 'order',
|
|
3411
4360
|
Quote: 'quote',
|
|
3412
|
-
TcxOrder: 'tcx_order'
|
|
4361
|
+
TcxOrder: 'tcx_order',
|
|
3413
4362
|
};
|
|
3414
4363
|
/**
|
|
3415
4364
|
* Class3CXApi - axios parameter creator
|
|
@@ -3884,7 +4833,7 @@ var Class3CXInstallationWizardApiAxiosParamCreator = function (configuration) {
|
|
|
3884
4833
|
// verify required parameter 'id' is not null or undefined
|
|
3885
4834
|
(0, common_1.assertParamExists)('getGetDdisTcxWizard', 'id', id);
|
|
3886
4835
|
localVarPath = "/tcx/wizards/sip/trunks/{id}/ddis"
|
|
3887
|
-
.replace(
|
|
4836
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
3888
4837
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
3889
4838
|
if (configuration) {
|
|
3890
4839
|
baseOptions = configuration.baseOptions;
|
|
@@ -4113,7 +5062,7 @@ var Class3CXInstallationWizardApiAxiosParamCreator = function (configuration) {
|
|
|
4113
5062
|
// verify required parameter 'id' is not null or undefined
|
|
4114
5063
|
(0, common_1.assertParamExists)('getGetSipTrunkTcxWizard', 'id', id);
|
|
4115
5064
|
localVarPath = "/tcx/wizards/sip/trunks/{id}"
|
|
4116
|
-
.replace(
|
|
5065
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
4117
5066
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
4118
5067
|
if (configuration) {
|
|
4119
5068
|
baseOptions = configuration.baseOptions;
|
|
@@ -4751,7 +5700,7 @@ var Class3CXInstallationWizardApiAxiosParamCreator = function (configuration) {
|
|
|
4751
5700
|
// verify required parameter 'id' is not null or undefined
|
|
4752
5701
|
(0, common_1.assertParamExists)('postGetDdisTcxWizard', 'id', id);
|
|
4753
5702
|
localVarPath = "/tcx/wizards/sip/trunks/{id}/ddis"
|
|
4754
|
-
.replace(
|
|
5703
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
4755
5704
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
4756
5705
|
if (configuration) {
|
|
4757
5706
|
baseOptions = configuration.baseOptions;
|
|
@@ -6490,7 +7439,7 @@ var Class3CXInstallationsApiAxiosParamCreator = function (configuration) {
|
|
|
6490
7439
|
// verify required parameter 'wizardId' is not null or undefined
|
|
6491
7440
|
(0, common_1.assertParamExists)('getGetDetails', 'wizardId', wizardId);
|
|
6492
7441
|
localVarPath = "/tcx/installations/{wizard_id}/details"
|
|
6493
|
-
.replace(
|
|
7442
|
+
.replace('{wizard_id}', encodeURIComponent(String(wizardId)));
|
|
6494
7443
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
6495
7444
|
if (configuration) {
|
|
6496
7445
|
baseOptions = configuration.baseOptions;
|
|
@@ -6593,7 +7542,7 @@ var Class3CXInstallationsApiAxiosParamCreator = function (configuration) {
|
|
|
6593
7542
|
// verify required parameter 'customerId' is not null or undefined
|
|
6594
7543
|
(0, common_1.assertParamExists)('patchChangeInstanceOwner', 'customerId', customerId);
|
|
6595
7544
|
localVarPath = "/tcx/installations/{instance_id}/owner"
|
|
6596
|
-
.replace(
|
|
7545
|
+
.replace('{instance_id}', encodeURIComponent(String(instanceId)));
|
|
6597
7546
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
6598
7547
|
if (configuration) {
|
|
6599
7548
|
baseOptions = configuration.baseOptions;
|
|
@@ -6636,7 +7585,7 @@ var Class3CXInstallationsApiAxiosParamCreator = function (configuration) {
|
|
|
6636
7585
|
// verify required parameter 'enable' is not null or undefined
|
|
6637
7586
|
(0, common_1.assertParamExists)('patchUpdateAutoFailover', 'enable', enable);
|
|
6638
7587
|
localVarPath = "/tcx/installations/{instance_id}/failover/auto"
|
|
6639
|
-
.replace(
|
|
7588
|
+
.replace('{instance_id}', encodeURIComponent(String(instanceId)));
|
|
6640
7589
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
6641
7590
|
if (configuration) {
|
|
6642
7591
|
baseOptions = configuration.baseOptions;
|
|
@@ -6679,7 +7628,7 @@ var Class3CXInstallationsApiAxiosParamCreator = function (configuration) {
|
|
|
6679
7628
|
// verify required parameter 'gigabytes' is not null or undefined
|
|
6680
7629
|
(0, common_1.assertParamExists)('postAddDisk', 'gigabytes', gigabytes);
|
|
6681
7630
|
localVarPath = "/tcx/installations/{instance_id}/disk"
|
|
6682
|
-
.replace(
|
|
7631
|
+
.replace('{instance_id}', encodeURIComponent(String(instanceId)));
|
|
6683
7632
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
6684
7633
|
if (configuration) {
|
|
6685
7634
|
baseOptions = configuration.baseOptions;
|
|
@@ -6725,7 +7674,7 @@ var Class3CXInstallationsApiAxiosParamCreator = function (configuration) {
|
|
|
6725
7674
|
// verify required parameter 'ipAddress' is not null or undefined
|
|
6726
7675
|
(0, common_1.assertParamExists)('postCreateSshUser', 'ipAddress', ipAddress);
|
|
6727
7676
|
localVarPath = "/tcx/installations/{instance_id}/create/user/root"
|
|
6728
|
-
.replace(
|
|
7677
|
+
.replace('{instance_id}', encodeURIComponent(String(instanceId)));
|
|
6729
7678
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
6730
7679
|
if (configuration) {
|
|
6731
7680
|
baseOptions = configuration.baseOptions;
|
|
@@ -6769,7 +7718,7 @@ var Class3CXInstallationsApiAxiosParamCreator = function (configuration) {
|
|
|
6769
7718
|
// verify required parameter 'instanceId' is not null or undefined
|
|
6770
7719
|
(0, common_1.assertParamExists)('postDeleteInstance', 'instanceId', instanceId);
|
|
6771
7720
|
localVarPath = "/tcx/installations/{instance_id}/delete"
|
|
6772
|
-
.replace(
|
|
7721
|
+
.replace('{instance_id}', encodeURIComponent(String(instanceId)));
|
|
6773
7722
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
6774
7723
|
if (configuration) {
|
|
6775
7724
|
baseOptions = configuration.baseOptions;
|
|
@@ -6810,7 +7759,7 @@ var Class3CXInstallationsApiAxiosParamCreator = function (configuration) {
|
|
|
6810
7759
|
// verify required parameter 'gigabytes' is not null or undefined
|
|
6811
7760
|
(0, common_1.assertParamExists)('postExtendDisk', 'gigabytes', gigabytes);
|
|
6812
7761
|
localVarPath = "/tcx/installations/{instance_id}/disk/extend"
|
|
6813
|
-
.replace(
|
|
7762
|
+
.replace('{instance_id}', encodeURIComponent(String(instanceId)));
|
|
6814
7763
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
6815
7764
|
if (configuration) {
|
|
6816
7765
|
baseOptions = configuration.baseOptions;
|
|
@@ -6856,7 +7805,7 @@ var Class3CXInstallationsApiAxiosParamCreator = function (configuration) {
|
|
|
6856
7805
|
// verify required parameter 'type' is not null or undefined
|
|
6857
7806
|
(0, common_1.assertParamExists)('postFailoverInstance', 'type', type);
|
|
6858
7807
|
localVarPath = "/tcx/installations/{instance_id}/failover"
|
|
6859
|
-
.replace(
|
|
7808
|
+
.replace('{instance_id}', encodeURIComponent(String(instanceId)));
|
|
6860
7809
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
6861
7810
|
if (configuration) {
|
|
6862
7811
|
baseOptions = configuration.baseOptions;
|
|
@@ -6896,7 +7845,7 @@ var Class3CXInstallationsApiAxiosParamCreator = function (configuration) {
|
|
|
6896
7845
|
// verify required parameter 'sbcId' is not null or undefined
|
|
6897
7846
|
(0, common_1.assertParamExists)('postInstallTcxSbc', 'sbcId', sbcId);
|
|
6898
7847
|
localVarPath = "/tcx/installations/sbcs/{sbc_id}/install"
|
|
6899
|
-
.replace(
|
|
7848
|
+
.replace('{sbc_id}', encodeURIComponent(String(sbcId)));
|
|
6900
7849
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
6901
7850
|
if (configuration) {
|
|
6902
7851
|
baseOptions = configuration.baseOptions;
|
|
@@ -6934,7 +7883,7 @@ var Class3CXInstallationsApiAxiosParamCreator = function (configuration) {
|
|
|
6934
7883
|
// verify required parameter 'instanceId' is not null or undefined
|
|
6935
7884
|
(0, common_1.assertParamExists)('postRebootInstance', 'instanceId', instanceId);
|
|
6936
7885
|
localVarPath = "/tcx/installations/{instance_id}/reboot"
|
|
6937
|
-
.replace(
|
|
7886
|
+
.replace('{instance_id}', encodeURIComponent(String(instanceId)));
|
|
6938
7887
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
6939
7888
|
if (configuration) {
|
|
6940
7889
|
baseOptions = configuration.baseOptions;
|
|
@@ -6975,7 +7924,7 @@ var Class3CXInstallationsApiAxiosParamCreator = function (configuration) {
|
|
|
6975
7924
|
// verify required parameter 'size' is not null or undefined
|
|
6976
7925
|
(0, common_1.assertParamExists)('postResizeInstance', 'size', size);
|
|
6977
7926
|
localVarPath = "/tcx/installations/{instance_id}/resize"
|
|
6978
|
-
.replace(
|
|
7927
|
+
.replace('{instance_id}', encodeURIComponent(String(instanceId)));
|
|
6979
7928
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
6980
7929
|
if (configuration) {
|
|
6981
7930
|
baseOptions = configuration.baseOptions;
|
|
@@ -7019,7 +7968,7 @@ var Class3CXInstallationsApiAxiosParamCreator = function (configuration) {
|
|
|
7019
7968
|
// verify required parameter 'instanceId' is not null or undefined
|
|
7020
7969
|
(0, common_1.assertParamExists)('postRestartServices', 'instanceId', instanceId);
|
|
7021
7970
|
localVarPath = "/tcx/installations/{instance_id}/services/restart"
|
|
7022
|
-
.replace(
|
|
7971
|
+
.replace('{instance_id}', encodeURIComponent(String(instanceId)));
|
|
7023
7972
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
7024
7973
|
if (configuration) {
|
|
7025
7974
|
baseOptions = configuration.baseOptions;
|
|
@@ -7060,7 +8009,7 @@ var Class3CXInstallationsApiAxiosParamCreator = function (configuration) {
|
|
|
7060
8009
|
// verify required parameter 'instanceId' is not null or undefined
|
|
7061
8010
|
(0, common_1.assertParamExists)('postScheduledReboot', 'instanceId', instanceId);
|
|
7062
8011
|
localVarPath = "/tcx/installations/{instance_id}/reboot/scheduled"
|
|
7063
|
-
.replace(
|
|
8012
|
+
.replace('{instance_id}', encodeURIComponent(String(instanceId)));
|
|
7064
8013
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
7065
8014
|
if (configuration) {
|
|
7066
8015
|
baseOptions = configuration.baseOptions;
|
|
@@ -7101,7 +8050,7 @@ var Class3CXInstallationsApiAxiosParamCreator = function (configuration) {
|
|
|
7101
8050
|
// verify required parameter 'instanceId' is not null or undefined
|
|
7102
8051
|
(0, common_1.assertParamExists)('postSuspendInstance', 'instanceId', instanceId);
|
|
7103
8052
|
localVarPath = "/tcx/installations/{instance_id}/suspend"
|
|
7104
|
-
.replace(
|
|
8053
|
+
.replace('{instance_id}', encodeURIComponent(String(instanceId)));
|
|
7105
8054
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
7106
8055
|
if (configuration) {
|
|
7107
8056
|
baseOptions = configuration.baseOptions;
|
|
@@ -7141,7 +8090,7 @@ var Class3CXInstallationsApiAxiosParamCreator = function (configuration) {
|
|
|
7141
8090
|
// verify required parameter 'instanceId' is not null or undefined
|
|
7142
8091
|
(0, common_1.assertParamExists)('postTestLoginCredentials', 'instanceId', instanceId);
|
|
7143
8092
|
localVarPath = "/tcx/installations/{instance_id}/tests/login"
|
|
7144
|
-
.replace(
|
|
8093
|
+
.replace('{instance_id}', encodeURIComponent(String(instanceId)));
|
|
7145
8094
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
7146
8095
|
if (configuration) {
|
|
7147
8096
|
baseOptions = configuration.baseOptions;
|
|
@@ -7178,7 +8127,7 @@ var Class3CXInstallationsApiAxiosParamCreator = function (configuration) {
|
|
|
7178
8127
|
// verify required parameter 'instanceId' is not null or undefined
|
|
7179
8128
|
(0, common_1.assertParamExists)('postUnsuspendInstance', 'instanceId', instanceId);
|
|
7180
8129
|
localVarPath = "/tcx/installations/{instance_id}/unsuspend"
|
|
7181
|
-
.replace(
|
|
8130
|
+
.replace('{instance_id}', encodeURIComponent(String(instanceId)));
|
|
7182
8131
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
7183
8132
|
if (configuration) {
|
|
7184
8133
|
baseOptions = configuration.baseOptions;
|
|
@@ -7218,7 +8167,7 @@ var Class3CXInstallationsApiAxiosParamCreator = function (configuration) {
|
|
|
7218
8167
|
// verify required parameter 'schedule' is not null or undefined
|
|
7219
8168
|
(0, common_1.assertParamExists)('postUpgradeDebian', 'schedule', schedule);
|
|
7220
8169
|
localVarPath = "/tcx/installations/{instance_id}/debian/upgrade"
|
|
7221
|
-
.replace(
|
|
8170
|
+
.replace('{instance_id}', encodeURIComponent(String(instanceId)));
|
|
7222
8171
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
7223
8172
|
if (configuration) {
|
|
7224
8173
|
baseOptions = configuration.baseOptions;
|
|
@@ -7259,7 +8208,7 @@ var Class3CXInstallationsApiAxiosParamCreator = function (configuration) {
|
|
|
7259
8208
|
// verify required parameter 'wizardId' is not null or undefined
|
|
7260
8209
|
(0, common_1.assertParamExists)('putGetDetails', 'wizardId', wizardId);
|
|
7261
8210
|
localVarPath = "/tcx/installations/{wizard_id}/details"
|
|
7262
|
-
.replace(
|
|
8211
|
+
.replace('{wizard_id}', encodeURIComponent(String(wizardId)));
|
|
7263
8212
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
7264
8213
|
if (configuration) {
|
|
7265
8214
|
baseOptions = configuration.baseOptions;
|
|
@@ -8215,30 +9164,30 @@ exports.GetGetInstallationsStatusEnum = {
|
|
|
8215
9164
|
Completed: 'Completed',
|
|
8216
9165
|
Outstanding: 'Outstanding',
|
|
8217
9166
|
Offline: 'Offline',
|
|
8218
|
-
FailedOver: 'Failed Over'
|
|
9167
|
+
FailedOver: 'Failed Over',
|
|
8219
9168
|
};
|
|
8220
9169
|
exports.GetGetInstallationsHostingEnum = {
|
|
8221
9170
|
Yellowgrid: 'yellowgrid',
|
|
8222
9171
|
MultiTenant: 'multi-tenant',
|
|
8223
9172
|
Onprem: 'onprem',
|
|
8224
|
-
All: 'all'
|
|
9173
|
+
All: 'all',
|
|
8225
9174
|
};
|
|
8226
9175
|
exports.GetGetInstallationsInstallTypeEnum = {
|
|
8227
9176
|
New: 'new',
|
|
8228
9177
|
Restore: 'restore',
|
|
8229
9178
|
Failover: 'failover',
|
|
8230
|
-
MultiTenant: 'multi-tenant'
|
|
9179
|
+
MultiTenant: 'multi-tenant',
|
|
8231
9180
|
};
|
|
8232
9181
|
exports.PostFailoverInstanceTypeEnum = {
|
|
8233
9182
|
Config: 'config',
|
|
8234
|
-
Image: 'image'
|
|
9183
|
+
Image: 'image',
|
|
8235
9184
|
};
|
|
8236
9185
|
exports.PostResizeInstanceSizeEnum = {
|
|
8237
9186
|
D24: 'd2-4',
|
|
8238
9187
|
D28: 'd2-8',
|
|
8239
9188
|
B230: 'b2-30',
|
|
8240
9189
|
S2vcpu4gb: 's-2vcpu-4gb',
|
|
8241
|
-
S4vcpu8gb: 's-4vcpu-8gb'
|
|
9190
|
+
S4vcpu8gb: 's-4vcpu-8gb',
|
|
8242
9191
|
};
|
|
8243
9192
|
/**
|
|
8244
9193
|
* Class3CXIntegrationsApi - axios parameter creator
|
|
@@ -8393,8 +9342,8 @@ var Class3CXIntegrationsApiAxiosParamCreator = function (configuration) {
|
|
|
8393
9342
|
// verify required parameter 'ref' is not null or undefined
|
|
8394
9343
|
(0, common_1.assertParamExists)('patchUpdateEtpOrderReference', 'ref', ref);
|
|
8395
9344
|
localVarPath = "/tcx/integrations/edtechpro/{clientId}/schools/{schoolId}/orderReference"
|
|
8396
|
-
.replace(
|
|
8397
|
-
.replace(
|
|
9345
|
+
.replace('{clientId}', encodeURIComponent(String(clientId)))
|
|
9346
|
+
.replace('{schoolId}', encodeURIComponent(String(schoolId)));
|
|
8398
9347
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
8399
9348
|
if (configuration) {
|
|
8400
9349
|
baseOptions = configuration.baseOptions;
|
|
@@ -8779,11 +9728,11 @@ var Class3CXIntegrationsApi = /** @class */ (function (_super) {
|
|
|
8779
9728
|
exports.Class3CXIntegrationsApi = Class3CXIntegrationsApi;
|
|
8780
9729
|
exports.GetGetPriceLicenceTypeEnum = {
|
|
8781
9730
|
Lite: 'lite',
|
|
8782
|
-
Pro: 'pro'
|
|
9731
|
+
Pro: 'pro',
|
|
8783
9732
|
};
|
|
8784
9733
|
exports.GetGetPriceSchoolTypeEnum = {
|
|
8785
9734
|
Primary: 'primary',
|
|
8786
|
-
Secondary: 'secondary'
|
|
9735
|
+
Secondary: 'secondary',
|
|
8787
9736
|
};
|
|
8788
9737
|
/**
|
|
8789
9738
|
* Class3CXMultiTenantApi - axios parameter creator
|
|
@@ -8810,7 +9759,7 @@ var Class3CXMultiTenantApiAxiosParamCreator = function (configuration) {
|
|
|
8810
9759
|
// verify required parameter 'reference' is not null or undefined
|
|
8811
9760
|
(0, common_1.assertParamExists)('deleteGetTenant', 'reference', reference);
|
|
8812
9761
|
localVarPath = "/tcx/mt/tenants/{reference}"
|
|
8813
|
-
.replace(
|
|
9762
|
+
.replace('{reference}', encodeURIComponent(String(reference)));
|
|
8814
9763
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
8815
9764
|
if (configuration) {
|
|
8816
9765
|
baseOptions = configuration.baseOptions;
|
|
@@ -8887,7 +9836,7 @@ var Class3CXMultiTenantApiAxiosParamCreator = function (configuration) {
|
|
|
8887
9836
|
// verify required parameter 'reference' is not null or undefined
|
|
8888
9837
|
(0, common_1.assertParamExists)('getGetTenant', 'reference', reference);
|
|
8889
9838
|
localVarPath = "/tcx/mt/tenants/{reference}"
|
|
8890
|
-
.replace(
|
|
9839
|
+
.replace('{reference}', encodeURIComponent(String(reference)));
|
|
8891
9840
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
8892
9841
|
if (configuration) {
|
|
8893
9842
|
baseOptions = configuration.baseOptions;
|
|
@@ -9504,7 +10453,7 @@ exports.GetGetTenantsStatusEnum = {
|
|
|
9504
10453
|
Completed: 'Completed',
|
|
9505
10454
|
Outstanding: 'Outstanding',
|
|
9506
10455
|
Offline: 'Offline',
|
|
9507
|
-
FailedOver: 'Failed Over'
|
|
10456
|
+
FailedOver: 'Failed Over',
|
|
9508
10457
|
};
|
|
9509
10458
|
/**
|
|
9510
10459
|
* MyPBXToolsApi - axios parameter creator
|
|
@@ -9661,7 +10610,7 @@ var NumberPortingApiAxiosParamCreator = function (configuration) {
|
|
|
9661
10610
|
// verify required parameter 'id' is not null or undefined
|
|
9662
10611
|
(0, common_1.assertParamExists)('deleteGetAdminNumberPort', 'id', id);
|
|
9663
10612
|
localVarPath = "/admin/sip/numbers/ports/{id}"
|
|
9664
|
-
.replace(
|
|
10613
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
9665
10614
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
9666
10615
|
if (configuration) {
|
|
9667
10616
|
baseOptions = configuration.baseOptions;
|
|
@@ -9742,7 +10691,7 @@ var NumberPortingApiAxiosParamCreator = function (configuration) {
|
|
|
9742
10691
|
// verify required parameter 'id' is not null or undefined
|
|
9743
10692
|
(0, common_1.assertParamExists)('getGetAdminNumberPort', 'id', id);
|
|
9744
10693
|
localVarPath = "/admin/sip/numbers/ports/{id}"
|
|
9745
|
-
.replace(
|
|
10694
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
9746
10695
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
9747
10696
|
if (configuration) {
|
|
9748
10697
|
baseOptions = configuration.baseOptions;
|
|
@@ -9824,7 +10773,7 @@ var NumberPortingApiAxiosParamCreator = function (configuration) {
|
|
|
9824
10773
|
// verify required parameter 'id' is not null or undefined
|
|
9825
10774
|
(0, common_1.assertParamExists)('getUpdateNumberPort', 'id', id);
|
|
9826
10775
|
localVarPath = "/sip/numbers/ports/{id}"
|
|
9827
|
-
.replace(
|
|
10776
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
9828
10777
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
9829
10778
|
if (configuration) {
|
|
9830
10779
|
baseOptions = configuration.baseOptions;
|
|
@@ -9861,7 +10810,7 @@ var NumberPortingApiAxiosParamCreator = function (configuration) {
|
|
|
9861
10810
|
// verify required parameter 'id' is not null or undefined
|
|
9862
10811
|
(0, common_1.assertParamExists)('patchCancelAdminNumberPort', 'id', id);
|
|
9863
10812
|
localVarPath = "/admin/sip/numbers/ports/{id}/cancel"
|
|
9864
|
-
.replace(
|
|
10813
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
9865
10814
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
9866
10815
|
if (configuration) {
|
|
9867
10816
|
baseOptions = configuration.baseOptions;
|
|
@@ -9898,7 +10847,7 @@ var NumberPortingApiAxiosParamCreator = function (configuration) {
|
|
|
9898
10847
|
// verify required parameter 'id' is not null or undefined
|
|
9899
10848
|
(0, common_1.assertParamExists)('patchCloseAdminNumberPort', 'id', id);
|
|
9900
10849
|
localVarPath = "/admin/sip/numbers/ports/{id}/close"
|
|
9901
|
-
.replace(
|
|
10850
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
9902
10851
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
9903
10852
|
if (configuration) {
|
|
9904
10853
|
baseOptions = configuration.baseOptions;
|
|
@@ -9938,7 +10887,7 @@ var NumberPortingApiAxiosParamCreator = function (configuration) {
|
|
|
9938
10887
|
// verify required parameter 'numberPortAdminNoteBody' is not null or undefined
|
|
9939
10888
|
(0, common_1.assertParamExists)('postAddAdminNote', 'numberPortAdminNoteBody', numberPortAdminNoteBody);
|
|
9940
10889
|
localVarPath = "/admin/sip/numbers/ports/{id}/notes"
|
|
9941
|
-
.replace(
|
|
10890
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
9942
10891
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
9943
10892
|
if (configuration) {
|
|
9944
10893
|
baseOptions = configuration.baseOptions;
|
|
@@ -10073,7 +11022,7 @@ var NumberPortingApiAxiosParamCreator = function (configuration) {
|
|
|
10073
11022
|
// verify required parameter 'id' is not null or undefined
|
|
10074
11023
|
(0, common_1.assertParamExists)('postSubmitNumberPort', 'id', id);
|
|
10075
11024
|
localVarPath = "/sip/numbers/ports/{id}/submit"
|
|
10076
|
-
.replace(
|
|
11025
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
10077
11026
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
10078
11027
|
if (configuration) {
|
|
10079
11028
|
baseOptions = configuration.baseOptions;
|
|
@@ -10161,7 +11110,7 @@ var NumberPortingApiAxiosParamCreator = function (configuration) {
|
|
|
10161
11110
|
// verify required parameter 'id' is not null or undefined
|
|
10162
11111
|
(0, common_1.assertParamExists)('postUpdateNumberPort', 'id', id);
|
|
10163
11112
|
localVarPath = "/sip/numbers/ports/{id}"
|
|
10164
|
-
.replace(
|
|
11113
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
10165
11114
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
10166
11115
|
if (configuration) {
|
|
10167
11116
|
baseOptions = configuration.baseOptions;
|
|
@@ -10240,7 +11189,7 @@ var NumberPortingApiAxiosParamCreator = function (configuration) {
|
|
|
10240
11189
|
// verify required parameter 'numberPortDTO' is not null or undefined
|
|
10241
11190
|
(0, common_1.assertParamExists)('putGetAdminNumberPort', 'numberPortDTO', numberPortDTO);
|
|
10242
11191
|
localVarPath = "/admin/sip/numbers/ports/{id}"
|
|
10243
|
-
.replace(
|
|
11192
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
10244
11193
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
10245
11194
|
if (configuration) {
|
|
10246
11195
|
baseOptions = configuration.baseOptions;
|
|
@@ -11168,6 +12117,38 @@ var OAuth20ApiAxiosParamCreator = function (configuration) {
|
|
|
11168
12117
|
});
|
|
11169
12118
|
});
|
|
11170
12119
|
},
|
|
12120
|
+
/**
|
|
12121
|
+
* Remove Oauth 2.0 Cookies
|
|
12122
|
+
* @param {*} [options] Override http request option.
|
|
12123
|
+
* @throws {RequiredError}
|
|
12124
|
+
*/
|
|
12125
|
+
postLogout: function () {
|
|
12126
|
+
var args_1 = [];
|
|
12127
|
+
for (var _i = 0; _i < arguments.length; _i++) {
|
|
12128
|
+
args_1[_i] = arguments[_i];
|
|
12129
|
+
}
|
|
12130
|
+
return __awaiter(_this, __spreadArray([], args_1, true), void 0, function (options) {
|
|
12131
|
+
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
12132
|
+
if (options === void 0) { options = {}; }
|
|
12133
|
+
return __generator(this, function (_a) {
|
|
12134
|
+
localVarPath = "/oauth2/logout";
|
|
12135
|
+
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
12136
|
+
if (configuration) {
|
|
12137
|
+
baseOptions = configuration.baseOptions;
|
|
12138
|
+
}
|
|
12139
|
+
localVarRequestOptions = __assign(__assign({ method: 'POST' }, baseOptions), options);
|
|
12140
|
+
localVarHeaderParameter = {};
|
|
12141
|
+
localVarQueryParameter = {};
|
|
12142
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
12143
|
+
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
12144
|
+
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
12145
|
+
return [2 /*return*/, {
|
|
12146
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
12147
|
+
options: localVarRequestOptions,
|
|
12148
|
+
}];
|
|
12149
|
+
});
|
|
12150
|
+
});
|
|
12151
|
+
},
|
|
11171
12152
|
/**
|
|
11172
12153
|
* Portal Login
|
|
11173
12154
|
* @summary Portal Login
|
|
@@ -11343,6 +12324,27 @@ var OAuth20ApiFp = function (configuration) {
|
|
|
11343
12324
|
});
|
|
11344
12325
|
});
|
|
11345
12326
|
},
|
|
12327
|
+
/**
|
|
12328
|
+
* Remove Oauth 2.0 Cookies
|
|
12329
|
+
* @param {*} [options] Override http request option.
|
|
12330
|
+
* @throws {RequiredError}
|
|
12331
|
+
*/
|
|
12332
|
+
postLogout: function (options) {
|
|
12333
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
12334
|
+
var localVarAxiosArgs, localVarOperationServerIndex, localVarOperationServerBasePath;
|
|
12335
|
+
var _a, _b, _c;
|
|
12336
|
+
return __generator(this, function (_d) {
|
|
12337
|
+
switch (_d.label) {
|
|
12338
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.postLogout(options)];
|
|
12339
|
+
case 1:
|
|
12340
|
+
localVarAxiosArgs = _d.sent();
|
|
12341
|
+
localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
12342
|
+
localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['OAuth20Api.postLogout']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
12343
|
+
return [2 /*return*/, function (axios, basePath) { return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath); }];
|
|
12344
|
+
}
|
|
12345
|
+
});
|
|
12346
|
+
});
|
|
12347
|
+
},
|
|
11346
12348
|
/**
|
|
11347
12349
|
* Portal Login
|
|
11348
12350
|
* @summary Portal Login
|
|
@@ -11439,6 +12441,14 @@ var OAuth20ApiFactory = function (configuration, basePath, axios) {
|
|
|
11439
12441
|
postGetIdentity: function (options) {
|
|
11440
12442
|
return localVarFp.postGetIdentity(options).then(function (request) { return request(axios, basePath); });
|
|
11441
12443
|
},
|
|
12444
|
+
/**
|
|
12445
|
+
* Remove Oauth 2.0 Cookies
|
|
12446
|
+
* @param {*} [options] Override http request option.
|
|
12447
|
+
* @throws {RequiredError}
|
|
12448
|
+
*/
|
|
12449
|
+
postLogout: function (options) {
|
|
12450
|
+
return localVarFp.postLogout(options).then(function (request) { return request(axios, basePath); });
|
|
12451
|
+
},
|
|
11442
12452
|
/**
|
|
11443
12453
|
* Portal Login
|
|
11444
12454
|
* @summary Portal Login
|
|
@@ -11529,6 +12539,15 @@ var OAuth20Api = /** @class */ (function (_super) {
|
|
|
11529
12539
|
var _this = this;
|
|
11530
12540
|
return (0, exports.OAuth20ApiFp)(this.configuration).postGetIdentity(options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
11531
12541
|
};
|
|
12542
|
+
/**
|
|
12543
|
+
* Remove Oauth 2.0 Cookies
|
|
12544
|
+
* @param {*} [options] Override http request option.
|
|
12545
|
+
* @throws {RequiredError}
|
|
12546
|
+
*/
|
|
12547
|
+
OAuth20Api.prototype.postLogout = function (options) {
|
|
12548
|
+
var _this = this;
|
|
12549
|
+
return (0, exports.OAuth20ApiFp)(this.configuration).postLogout(options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
12550
|
+
};
|
|
11532
12551
|
/**
|
|
11533
12552
|
* Portal Login
|
|
11534
12553
|
* @summary Portal Login
|
|
@@ -11550,7 +12569,7 @@ exports.PostAccessTokenGrantTypeEnum = {
|
|
|
11550
12569
|
AuthorizationCode: 'authorization_code',
|
|
11551
12570
|
MsAuth: 'ms_auth',
|
|
11552
12571
|
TokenExchange: 'token_exchange',
|
|
11553
|
-
Password: 'password'
|
|
12572
|
+
Password: 'password',
|
|
11554
12573
|
};
|
|
11555
12574
|
exports.PostAccessTokenScopeEnum = {
|
|
11556
12575
|
Star: '*',
|
|
@@ -11580,11 +12599,11 @@ exports.PostAccessTokenScopeEnum = {
|
|
|
11580
12599
|
TcxMtRead: 'tcx_mt.read',
|
|
11581
12600
|
TcxMtWrite: 'tcx_mt.write',
|
|
11582
12601
|
TicketsRead: 'tickets.read',
|
|
11583
|
-
TicketsWrite: 'tickets.write'
|
|
12602
|
+
TicketsWrite: 'tickets.write',
|
|
11584
12603
|
};
|
|
11585
12604
|
exports.PostAccessTokenTokenExchangeTypeEnum = {
|
|
11586
12605
|
TcxWizard: 'tcx_wizard',
|
|
11587
|
-
Portal: 'portal'
|
|
12606
|
+
Portal: 'portal',
|
|
11588
12607
|
};
|
|
11589
12608
|
exports.PostAuthoriseScopeEnum = {
|
|
11590
12609
|
Star: '*',
|
|
@@ -11614,7 +12633,7 @@ exports.PostAuthoriseScopeEnum = {
|
|
|
11614
12633
|
TcxMtRead: 'tcx_mt.read',
|
|
11615
12634
|
TcxMtWrite: 'tcx_mt.write',
|
|
11616
12635
|
TicketsRead: 'tickets.read',
|
|
11617
|
-
TicketsWrite: 'tickets.write'
|
|
12636
|
+
TicketsWrite: 'tickets.write',
|
|
11618
12637
|
};
|
|
11619
12638
|
/**
|
|
11620
12639
|
* OrdersApi - axios parameter creator
|
|
@@ -11643,8 +12662,8 @@ var OrdersApiAxiosParamCreator = function (configuration) {
|
|
|
11643
12662
|
// verify required parameter 'batchId' is not null or undefined
|
|
11644
12663
|
(0, common_1.assertParamExists)('deleteDeleteBatch', 'batchId', batchId);
|
|
11645
12664
|
localVarPath = "/admin/orders/{id}/batches/{batch_id}"
|
|
11646
|
-
.replace(
|
|
11647
|
-
.replace(
|
|
12665
|
+
.replace('{id}', encodeURIComponent(String(id)))
|
|
12666
|
+
.replace('{batch_id}', encodeURIComponent(String(batchId)));
|
|
11648
12667
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
11649
12668
|
if (configuration) {
|
|
11650
12669
|
baseOptions = configuration.baseOptions;
|
|
@@ -11681,7 +12700,7 @@ var OrdersApiAxiosParamCreator = function (configuration) {
|
|
|
11681
12700
|
// verify required parameter 'id' is not null or undefined
|
|
11682
12701
|
(0, common_1.assertParamExists)('deleteUpdateOrder', 'id', id);
|
|
11683
12702
|
localVarPath = "/orders/{id}"
|
|
11684
|
-
.replace(
|
|
12703
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
11685
12704
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
11686
12705
|
if (configuration) {
|
|
11687
12706
|
baseOptions = configuration.baseOptions;
|
|
@@ -11724,9 +12743,9 @@ var OrdersApiAxiosParamCreator = function (configuration) {
|
|
|
11724
12743
|
// verify required parameter 'shipmentId' is not null or undefined
|
|
11725
12744
|
(0, common_1.assertParamExists)('deleteUpdateShipment', 'shipmentId', shipmentId);
|
|
11726
12745
|
localVarPath = "/admin/orders/{id}/batches/{batch_id}/shipments/{shipment_id}"
|
|
11727
|
-
.replace(
|
|
11728
|
-
.replace(
|
|
11729
|
-
.replace(
|
|
12746
|
+
.replace('{id}', encodeURIComponent(String(id)))
|
|
12747
|
+
.replace('{batch_id}', encodeURIComponent(String(batchId)))
|
|
12748
|
+
.replace('{shipment_id}', encodeURIComponent(String(shipmentId)));
|
|
11730
12749
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
11731
12750
|
if (configuration) {
|
|
11732
12751
|
baseOptions = configuration.baseOptions;
|
|
@@ -11763,7 +12782,7 @@ var OrdersApiAxiosParamCreator = function (configuration) {
|
|
|
11763
12782
|
// verify required parameter 'id' is not null or undefined
|
|
11764
12783
|
(0, common_1.assertParamExists)('getGetAdminEditableOrder', 'id', id);
|
|
11765
12784
|
localVarPath = "/admin/orders/{id}/views/editable"
|
|
11766
|
-
.replace(
|
|
12785
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
11767
12786
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
11768
12787
|
if (configuration) {
|
|
11769
12788
|
baseOptions = configuration.baseOptions;
|
|
@@ -11801,7 +12820,7 @@ var OrdersApiAxiosParamCreator = function (configuration) {
|
|
|
11801
12820
|
// verify required parameter 'id' is not null or undefined
|
|
11802
12821
|
(0, common_1.assertParamExists)('getGetAdminOrderDetails', 'id', id);
|
|
11803
12822
|
localVarPath = "/admin/orders/{id}/details"
|
|
11804
|
-
.replace(
|
|
12823
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
11805
12824
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
11806
12825
|
if (configuration) {
|
|
11807
12826
|
baseOptions = configuration.baseOptions;
|
|
@@ -11845,9 +12864,9 @@ var OrdersApiAxiosParamCreator = function (configuration) {
|
|
|
11845
12864
|
// verify required parameter 'shipmentId' is not null or undefined
|
|
11846
12865
|
(0, common_1.assertParamExists)('getGetCommercialInvoice', 'shipmentId', shipmentId);
|
|
11847
12866
|
localVarPath = "/admin/orders/{id}/batches/{batch_id}/shipments/{shipment_id}/pdf"
|
|
11848
|
-
.replace(
|
|
11849
|
-
.replace(
|
|
11850
|
-
.replace(
|
|
12867
|
+
.replace('{id}', encodeURIComponent(String(id)))
|
|
12868
|
+
.replace('{batch_id}', encodeURIComponent(String(batchId)))
|
|
12869
|
+
.replace('{shipment_id}', encodeURIComponent(String(shipmentId)));
|
|
11851
12870
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
11852
12871
|
if (configuration) {
|
|
11853
12872
|
baseOptions = configuration.baseOptions;
|
|
@@ -11885,7 +12904,7 @@ var OrdersApiAxiosParamCreator = function (configuration) {
|
|
|
11885
12904
|
// verify required parameter 'id' is not null or undefined
|
|
11886
12905
|
(0, common_1.assertParamExists)('getGetEditableOrder', 'id', id);
|
|
11887
12906
|
localVarPath = "/orders/{id}/views/editable"
|
|
11888
|
-
.replace(
|
|
12907
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
11889
12908
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
11890
12909
|
if (configuration) {
|
|
11891
12910
|
baseOptions = configuration.baseOptions;
|
|
@@ -11926,8 +12945,8 @@ var OrdersApiAxiosParamCreator = function (configuration) {
|
|
|
11926
12945
|
// verify required parameter 'itemId' is not null or undefined
|
|
11927
12946
|
(0, common_1.assertParamExists)('getGetItemSerialInfo', 'itemId', itemId);
|
|
11928
12947
|
localVarPath = "/admin/orders/{id}/items/{item_id}/info"
|
|
11929
|
-
.replace(
|
|
11930
|
-
.replace(
|
|
12948
|
+
.replace('{id}', encodeURIComponent(String(id)))
|
|
12949
|
+
.replace('{item_id}', encodeURIComponent(String(itemId)));
|
|
11931
12950
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
11932
12951
|
if (configuration) {
|
|
11933
12952
|
baseOptions = configuration.baseOptions;
|
|
@@ -11965,7 +12984,7 @@ var OrdersApiAxiosParamCreator = function (configuration) {
|
|
|
11965
12984
|
// verify required parameter 'id' is not null or undefined
|
|
11966
12985
|
(0, common_1.assertParamExists)('getGetOrderPdf', 'id', id);
|
|
11967
12986
|
localVarPath = "/orders/{id}/pdf"
|
|
11968
|
-
.replace(
|
|
12987
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
11969
12988
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
11970
12989
|
if (configuration) {
|
|
11971
12990
|
baseOptions = configuration.baseOptions;
|
|
@@ -12003,7 +13022,7 @@ var OrdersApiAxiosParamCreator = function (configuration) {
|
|
|
12003
13022
|
// verify required parameter 'id' is not null or undefined
|
|
12004
13023
|
(0, common_1.assertParamExists)('getGetOrderSummary', 'id', id);
|
|
12005
13024
|
localVarPath = "/admin/orders/{id}/summary"
|
|
12006
|
-
.replace(
|
|
13025
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
12007
13026
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
12008
13027
|
if (configuration) {
|
|
12009
13028
|
baseOptions = configuration.baseOptions;
|
|
@@ -12103,7 +13122,7 @@ var OrdersApiAxiosParamCreator = function (configuration) {
|
|
|
12103
13122
|
// verify required parameter 'id' is not null or undefined
|
|
12104
13123
|
(0, common_1.assertParamExists)('patchCompleteOrder', 'id', id);
|
|
12105
13124
|
localVarPath = "/admin/orders/{id}/complete"
|
|
12106
|
-
.replace(
|
|
13125
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
12107
13126
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
12108
13127
|
if (configuration) {
|
|
12109
13128
|
baseOptions = configuration.baseOptions;
|
|
@@ -12142,7 +13161,7 @@ var OrdersApiAxiosParamCreator = function (configuration) {
|
|
|
12142
13161
|
// verify required parameter 'id' is not null or undefined
|
|
12143
13162
|
(0, common_1.assertParamExists)('postAddOrderNote', 'id', id);
|
|
12144
13163
|
localVarPath = "/admin/orders/{id}/notes"
|
|
12145
|
-
.replace(
|
|
13164
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
12146
13165
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
12147
13166
|
if (configuration) {
|
|
12148
13167
|
baseOptions = configuration.baseOptions;
|
|
@@ -12227,8 +13246,8 @@ var OrdersApiAxiosParamCreator = function (configuration) {
|
|
|
12227
13246
|
// verify required parameter 'shipmentId' is not null or undefined
|
|
12228
13247
|
(0, common_1.assertParamExists)('postCreateConsignment', 'shipmentId', shipmentId);
|
|
12229
13248
|
localVarPath = "/admin/orders/{id}/shipments/{shipment_id}/consignment"
|
|
12230
|
-
.replace(
|
|
12231
|
-
.replace(
|
|
13249
|
+
.replace('{id}', encodeURIComponent(String(id)))
|
|
13250
|
+
.replace('{shipment_id}', encodeURIComponent(String(shipmentId)));
|
|
12232
13251
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
12233
13252
|
if (configuration) {
|
|
12234
13253
|
baseOptions = configuration.baseOptions;
|
|
@@ -12249,6 +13268,43 @@ var OrdersApiAxiosParamCreator = function (configuration) {
|
|
|
12249
13268
|
});
|
|
12250
13269
|
});
|
|
12251
13270
|
},
|
|
13271
|
+
/**
|
|
13272
|
+
* Create an order via the legacy portal
|
|
13273
|
+
* @summary Create an order via the legacy portal
|
|
13274
|
+
* @param {OrderDTO} [orderDTO] Legacy Portal Order
|
|
13275
|
+
* @param {*} [options] Override http request option.
|
|
13276
|
+
* @throws {RequiredError}
|
|
13277
|
+
*/
|
|
13278
|
+
postCreatePortalOrderLegacy: function (orderDTO_1) {
|
|
13279
|
+
var args_1 = [];
|
|
13280
|
+
for (var _i = 1; _i < arguments.length; _i++) {
|
|
13281
|
+
args_1[_i - 1] = arguments[_i];
|
|
13282
|
+
}
|
|
13283
|
+
return __awaiter(_this, __spreadArray([orderDTO_1], args_1, true), void 0, function (orderDTO, options) {
|
|
13284
|
+
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
13285
|
+
if (options === void 0) { options = {}; }
|
|
13286
|
+
return __generator(this, function (_a) {
|
|
13287
|
+
localVarPath = "/orders/portal/legacy";
|
|
13288
|
+
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
13289
|
+
if (configuration) {
|
|
13290
|
+
baseOptions = configuration.baseOptions;
|
|
13291
|
+
}
|
|
13292
|
+
localVarRequestOptions = __assign(__assign({ method: 'POST' }, baseOptions), options);
|
|
13293
|
+
localVarHeaderParameter = {};
|
|
13294
|
+
localVarQueryParameter = {};
|
|
13295
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
13296
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
13297
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
13298
|
+
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
13299
|
+
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
13300
|
+
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(orderDTO, localVarRequestOptions, configuration);
|
|
13301
|
+
return [2 /*return*/, {
|
|
13302
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
13303
|
+
options: localVarRequestOptions,
|
|
13304
|
+
}];
|
|
13305
|
+
});
|
|
13306
|
+
});
|
|
13307
|
+
},
|
|
12252
13308
|
/**
|
|
12253
13309
|
* Create Shipment (Admin)
|
|
12254
13310
|
* @summary Create Shipment (Admin)
|
|
@@ -12272,8 +13328,8 @@ var OrdersApiAxiosParamCreator = function (configuration) {
|
|
|
12272
13328
|
// verify required parameter 'batchId' is not null or undefined
|
|
12273
13329
|
(0, common_1.assertParamExists)('postCreateShipment', 'batchId', batchId);
|
|
12274
13330
|
localVarPath = "/admin/orders/{id}/batches/{batch_id}/shipments"
|
|
12275
|
-
.replace(
|
|
12276
|
-
.replace(
|
|
13331
|
+
.replace('{id}', encodeURIComponent(String(id)))
|
|
13332
|
+
.replace('{batch_id}', encodeURIComponent(String(batchId)));
|
|
12277
13333
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
12278
13334
|
if (configuration) {
|
|
12279
13335
|
baseOptions = configuration.baseOptions;
|
|
@@ -12355,7 +13411,7 @@ var OrdersApiAxiosParamCreator = function (configuration) {
|
|
|
12355
13411
|
// verify required parameter 'id' is not null or undefined
|
|
12356
13412
|
(0, common_1.assertParamExists)('postIssueCredit', 'id', id);
|
|
12357
13413
|
localVarPath = "/admin/orders/{id}/credit"
|
|
12358
|
-
.replace(
|
|
13414
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
12359
13415
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
12360
13416
|
if (configuration) {
|
|
12361
13417
|
baseOptions = configuration.baseOptions;
|
|
@@ -12401,8 +13457,8 @@ var OrdersApiAxiosParamCreator = function (configuration) {
|
|
|
12401
13457
|
// verify required parameter 'printer' is not null or undefined
|
|
12402
13458
|
(0, common_1.assertParamExists)('postPrintShippingLabel', 'printer', printer);
|
|
12403
13459
|
localVarPath = "/admin/orders/{id}/shipments/{shipment_id}/label/print"
|
|
12404
|
-
.replace(
|
|
12405
|
-
.replace(
|
|
13460
|
+
.replace('{id}', encodeURIComponent(String(id)))
|
|
13461
|
+
.replace('{shipment_id}', encodeURIComponent(String(shipmentId)));
|
|
12406
13462
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
12407
13463
|
if (configuration) {
|
|
12408
13464
|
baseOptions = configuration.baseOptions;
|
|
@@ -12446,8 +13502,8 @@ var OrdersApiAxiosParamCreator = function (configuration) {
|
|
|
12446
13502
|
// verify required parameter 'batchId' is not null or undefined
|
|
12447
13503
|
(0, common_1.assertParamExists)('postProcessTcxLicences', 'batchId', batchId);
|
|
12448
13504
|
localVarPath = "/admin/orders/{id}/batches/{batch_id}/licences/process"
|
|
12449
|
-
.replace(
|
|
12450
|
-
.replace(
|
|
13505
|
+
.replace('{id}', encodeURIComponent(String(id)))
|
|
13506
|
+
.replace('{batch_id}', encodeURIComponent(String(batchId)));
|
|
12451
13507
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
12452
13508
|
if (configuration) {
|
|
12453
13509
|
baseOptions = configuration.baseOptions;
|
|
@@ -12488,7 +13544,7 @@ var OrdersApiAxiosParamCreator = function (configuration) {
|
|
|
12488
13544
|
// verify required parameter 'email' is not null or undefined
|
|
12489
13545
|
(0, common_1.assertParamExists)('postSendOrderEmail', 'email', email);
|
|
12490
13546
|
localVarPath = "/admin/orders/{id}/email/send"
|
|
12491
|
-
.replace(
|
|
13547
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
12492
13548
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
12493
13549
|
if (configuration) {
|
|
12494
13550
|
baseOptions = configuration.baseOptions;
|
|
@@ -12537,9 +13593,9 @@ var OrdersApiAxiosParamCreator = function (configuration) {
|
|
|
12537
13593
|
// verify required parameter 'email' is not null or undefined
|
|
12538
13594
|
(0, common_1.assertParamExists)('postSendShipmentEmail', 'email', email);
|
|
12539
13595
|
localVarPath = "/admin/orders/{id}/batches/{batch_id}/shipments/{shipment_id}/send/email"
|
|
12540
|
-
.replace(
|
|
12541
|
-
.replace(
|
|
12542
|
-
.replace(
|
|
13596
|
+
.replace('{id}', encodeURIComponent(String(id)))
|
|
13597
|
+
.replace('{batch_id}', encodeURIComponent(String(batchId)))
|
|
13598
|
+
.replace('{shipment_id}', encodeURIComponent(String(shipmentId)));
|
|
12543
13599
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
12544
13600
|
if (configuration) {
|
|
12545
13601
|
baseOptions = configuration.baseOptions;
|
|
@@ -12582,8 +13638,8 @@ var OrdersApiAxiosParamCreator = function (configuration) {
|
|
|
12582
13638
|
// verify required parameter 'batchId' is not null or undefined
|
|
12583
13639
|
(0, common_1.assertParamExists)('postSendSupplierEmail', 'batchId', batchId);
|
|
12584
13640
|
localVarPath = "/admin/orders/{id}/batches/{batch_id}/email/send"
|
|
12585
|
-
.replace(
|
|
12586
|
-
.replace(
|
|
13641
|
+
.replace('{id}', encodeURIComponent(String(id)))
|
|
13642
|
+
.replace('{batch_id}', encodeURIComponent(String(batchId)));
|
|
12587
13643
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
12588
13644
|
if (configuration) {
|
|
12589
13645
|
baseOptions = configuration.baseOptions;
|
|
@@ -12621,7 +13677,7 @@ var OrdersApiAxiosParamCreator = function (configuration) {
|
|
|
12621
13677
|
// verify required parameter 'id' is not null or undefined
|
|
12622
13678
|
(0, common_1.assertParamExists)('postSplitOrder', 'id', id);
|
|
12623
13679
|
localVarPath = "/admin/orders/{id}/split"
|
|
12624
|
-
.replace(
|
|
13680
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
12625
13681
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
12626
13682
|
if (configuration) {
|
|
12627
13683
|
baseOptions = configuration.baseOptions;
|
|
@@ -12665,7 +13721,7 @@ var OrdersApiAxiosParamCreator = function (configuration) {
|
|
|
12665
13721
|
// verify required parameter 'supplierId' is not null or undefined
|
|
12666
13722
|
(0, common_1.assertParamExists)('putAllocateItems', 'supplierId', supplierId);
|
|
12667
13723
|
localVarPath = "/admin/orders/{id}/items/allocate"
|
|
12668
|
-
.replace(
|
|
13724
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
12669
13725
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
12670
13726
|
if (configuration) {
|
|
12671
13727
|
baseOptions = configuration.baseOptions;
|
|
@@ -12710,7 +13766,7 @@ var OrdersApiAxiosParamCreator = function (configuration) {
|
|
|
12710
13766
|
// verify required parameter 'id' is not null or undefined
|
|
12711
13767
|
(0, common_1.assertParamExists)('putUpdateAdminOrder', 'id', id);
|
|
12712
13768
|
localVarPath = "/admin/orders/{id}"
|
|
12713
|
-
.replace(
|
|
13769
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
12714
13770
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
12715
13771
|
if (configuration) {
|
|
12716
13772
|
baseOptions = configuration.baseOptions;
|
|
@@ -12760,9 +13816,9 @@ var OrdersApiAxiosParamCreator = function (configuration) {
|
|
|
12760
13816
|
// verify required parameter 'itemId' is not null or undefined
|
|
12761
13817
|
(0, common_1.assertParamExists)('putUpdateBatchItem', 'itemId', itemId);
|
|
12762
13818
|
localVarPath = "/admin/orders/{id}/batches/{batch_id}/items/{item_id}"
|
|
12763
|
-
.replace(
|
|
12764
|
-
.replace(
|
|
12765
|
-
.replace(
|
|
13819
|
+
.replace('{id}', encodeURIComponent(String(id)))
|
|
13820
|
+
.replace('{batch_id}', encodeURIComponent(String(batchId)))
|
|
13821
|
+
.replace('{item_id}', encodeURIComponent(String(itemId)));
|
|
12766
13822
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
12767
13823
|
if (configuration) {
|
|
12768
13824
|
baseOptions = configuration.baseOptions;
|
|
@@ -12804,7 +13860,7 @@ var OrdersApiAxiosParamCreator = function (configuration) {
|
|
|
12804
13860
|
// verify required parameter 'id' is not null or undefined
|
|
12805
13861
|
(0, common_1.assertParamExists)('putUpdateOrder', 'id', id);
|
|
12806
13862
|
localVarPath = "/orders/{id}"
|
|
12807
|
-
.replace(
|
|
13863
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
12808
13864
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
12809
13865
|
if (configuration) {
|
|
12810
13866
|
baseOptions = configuration.baseOptions;
|
|
@@ -12850,7 +13906,7 @@ var OrdersApiAxiosParamCreator = function (configuration) {
|
|
|
12850
13906
|
// verify required parameter 'paid' is not null or undefined
|
|
12851
13907
|
(0, common_1.assertParamExists)('putUpdatePaymentStatus', 'paid', paid);
|
|
12852
13908
|
localVarPath = "/admin/orders/{id}/paid"
|
|
12853
|
-
.replace(
|
|
13909
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
12854
13910
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
12855
13911
|
if (configuration) {
|
|
12856
13912
|
baseOptions = configuration.baseOptions;
|
|
@@ -12898,9 +13954,9 @@ var OrdersApiAxiosParamCreator = function (configuration) {
|
|
|
12898
13954
|
// verify required parameter 'shipmentId' is not null or undefined
|
|
12899
13955
|
(0, common_1.assertParamExists)('putUpdateShipment', 'shipmentId', shipmentId);
|
|
12900
13956
|
localVarPath = "/admin/orders/{id}/batches/{batch_id}/shipments/{shipment_id}"
|
|
12901
|
-
.replace(
|
|
12902
|
-
.replace(
|
|
12903
|
-
.replace(
|
|
13957
|
+
.replace('{id}', encodeURIComponent(String(id)))
|
|
13958
|
+
.replace('{batch_id}', encodeURIComponent(String(batchId)))
|
|
13959
|
+
.replace('{shipment_id}', encodeURIComponent(String(shipmentId)));
|
|
12904
13960
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
12905
13961
|
if (configuration) {
|
|
12906
13962
|
baseOptions = configuration.baseOptions;
|
|
@@ -13290,6 +14346,29 @@ var OrdersApiFp = function (configuration) {
|
|
|
13290
14346
|
});
|
|
13291
14347
|
});
|
|
13292
14348
|
},
|
|
14349
|
+
/**
|
|
14350
|
+
* Create an order via the legacy portal
|
|
14351
|
+
* @summary Create an order via the legacy portal
|
|
14352
|
+
* @param {OrderDTO} [orderDTO] Legacy Portal Order
|
|
14353
|
+
* @param {*} [options] Override http request option.
|
|
14354
|
+
* @throws {RequiredError}
|
|
14355
|
+
*/
|
|
14356
|
+
postCreatePortalOrderLegacy: function (orderDTO, options) {
|
|
14357
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
14358
|
+
var localVarAxiosArgs, localVarOperationServerIndex, localVarOperationServerBasePath;
|
|
14359
|
+
var _a, _b, _c;
|
|
14360
|
+
return __generator(this, function (_d) {
|
|
14361
|
+
switch (_d.label) {
|
|
14362
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.postCreatePortalOrderLegacy(orderDTO, options)];
|
|
14363
|
+
case 1:
|
|
14364
|
+
localVarAxiosArgs = _d.sent();
|
|
14365
|
+
localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
14366
|
+
localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['OrdersApi.postCreatePortalOrderLegacy']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
14367
|
+
return [2 /*return*/, function (axios, basePath) { return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath); }];
|
|
14368
|
+
}
|
|
14369
|
+
});
|
|
14370
|
+
});
|
|
14371
|
+
},
|
|
13293
14372
|
/**
|
|
13294
14373
|
* Create Shipment (Admin)
|
|
13295
14374
|
* @summary Create Shipment (Admin)
|
|
@@ -13835,6 +14914,16 @@ var OrdersApiFactory = function (configuration, basePath, axios) {
|
|
|
13835
14914
|
postCreateConsignment: function (id, shipmentId, shippingRequestDTO, options) {
|
|
13836
14915
|
return localVarFp.postCreateConsignment(id, shipmentId, shippingRequestDTO, options).then(function (request) { return request(axios, basePath); });
|
|
13837
14916
|
},
|
|
14917
|
+
/**
|
|
14918
|
+
* Create an order via the legacy portal
|
|
14919
|
+
* @summary Create an order via the legacy portal
|
|
14920
|
+
* @param {OrderDTO} [orderDTO] Legacy Portal Order
|
|
14921
|
+
* @param {*} [options] Override http request option.
|
|
14922
|
+
* @throws {RequiredError}
|
|
14923
|
+
*/
|
|
14924
|
+
postCreatePortalOrderLegacy: function (orderDTO, options) {
|
|
14925
|
+
return localVarFp.postCreatePortalOrderLegacy(orderDTO, options).then(function (request) { return request(axios, basePath); });
|
|
14926
|
+
},
|
|
13838
14927
|
/**
|
|
13839
14928
|
* Create Shipment (Admin)
|
|
13840
14929
|
* @summary Create Shipment (Admin)
|
|
@@ -14202,6 +15291,17 @@ var OrdersApi = /** @class */ (function (_super) {
|
|
|
14202
15291
|
var _this = this;
|
|
14203
15292
|
return (0, exports.OrdersApiFp)(this.configuration).postCreateConsignment(id, shipmentId, shippingRequestDTO, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
14204
15293
|
};
|
|
15294
|
+
/**
|
|
15295
|
+
* Create an order via the legacy portal
|
|
15296
|
+
* @summary Create an order via the legacy portal
|
|
15297
|
+
* @param {OrderDTO} [orderDTO] Legacy Portal Order
|
|
15298
|
+
* @param {*} [options] Override http request option.
|
|
15299
|
+
* @throws {RequiredError}
|
|
15300
|
+
*/
|
|
15301
|
+
OrdersApi.prototype.postCreatePortalOrderLegacy = function (orderDTO, options) {
|
|
15302
|
+
var _this = this;
|
|
15303
|
+
return (0, exports.OrdersApiFp)(this.configuration).postCreatePortalOrderLegacy(orderDTO, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
15304
|
+
};
|
|
14205
15305
|
/**
|
|
14206
15306
|
* Create Shipment (Admin)
|
|
14207
15307
|
* @summary Create Shipment (Admin)
|
|
@@ -14400,18 +15500,18 @@ exports.GetGetOrdersStatusEnum = {
|
|
|
14400
15500
|
Paid: 'PAID',
|
|
14401
15501
|
InvoicePaid: 'INVOICE_PAID',
|
|
14402
15502
|
Unpaid: 'UNPAID',
|
|
14403
|
-
Quote: 'QUOTE'
|
|
15503
|
+
Quote: 'QUOTE',
|
|
14404
15504
|
};
|
|
14405
15505
|
exports.GetGetOrdersFilterEnum = {
|
|
14406
15506
|
Outstanding: 'OUTSTANDING',
|
|
14407
15507
|
Quotes: 'QUOTES',
|
|
14408
15508
|
All: 'ALL',
|
|
14409
|
-
BackOrders: 'BACK_ORDERS'
|
|
15509
|
+
BackOrders: 'BACK_ORDERS',
|
|
14410
15510
|
};
|
|
14411
15511
|
exports.PostPrintShippingLabelPrinterEnum = {
|
|
14412
15512
|
NUMBER_1: 1,
|
|
14413
15513
|
NUMBER_2: 2,
|
|
14414
|
-
NUMBER_3: 3
|
|
15514
|
+
NUMBER_3: 3,
|
|
14415
15515
|
};
|
|
14416
15516
|
/**
|
|
14417
15517
|
* PricingApi - axios parameter creator
|
|
@@ -14684,14 +15784,14 @@ exports.GetGetPriceListTypeEnum = {
|
|
|
14684
15784
|
EdTechPro: 'EdTechPro',
|
|
14685
15785
|
Sms: 'SMS',
|
|
14686
15786
|
SipTrunks: 'SIP Trunks',
|
|
14687
|
-
CrmIntegrations: 'CRM Integrations'
|
|
15787
|
+
CrmIntegrations: 'CRM Integrations',
|
|
14688
15788
|
};
|
|
14689
15789
|
exports.GetGetPriceListFormatEnum = {
|
|
14690
15790
|
Pdf: 'pdf',
|
|
14691
15791
|
Json: 'json',
|
|
14692
15792
|
Csv: 'csv',
|
|
14693
15793
|
Xml: 'xml',
|
|
14694
|
-
Html: 'html'
|
|
15794
|
+
Html: 'html',
|
|
14695
15795
|
};
|
|
14696
15796
|
exports.GetGetPriceListCategoryEnum = {
|
|
14697
15797
|
Yealink: 'Yealink',
|
|
@@ -14713,7 +15813,7 @@ exports.GetGetPriceListCategoryEnum = {
|
|
|
14713
15813
|
FanvilWirelessPhones: 'Fanvil Wireless Phones',
|
|
14714
15814
|
FanvilSecurityProducts: 'Fanvil Security Products',
|
|
14715
15815
|
FanvilAccessories: 'Fanvil Accessories',
|
|
14716
|
-
FanvilHotelPhones: 'Fanvil Hotel Phones'
|
|
15816
|
+
FanvilHotelPhones: 'Fanvil Hotel Phones',
|
|
14717
15817
|
};
|
|
14718
15818
|
exports.PostSendPriceListTypeEnum = {
|
|
14719
15819
|
Products: 'Products',
|
|
@@ -14724,14 +15824,14 @@ exports.PostSendPriceListTypeEnum = {
|
|
|
14724
15824
|
EdTechPro: 'EdTechPro',
|
|
14725
15825
|
Sms: 'SMS',
|
|
14726
15826
|
SipTrunks: 'SIP Trunks',
|
|
14727
|
-
CrmIntegrations: 'CRM Integrations'
|
|
15827
|
+
CrmIntegrations: 'CRM Integrations',
|
|
14728
15828
|
};
|
|
14729
15829
|
exports.PostSendPriceListFormatEnum = {
|
|
14730
15830
|
Pdf: 'pdf',
|
|
14731
15831
|
Json: 'json',
|
|
14732
15832
|
Csv: 'csv',
|
|
14733
15833
|
Xml: 'xml',
|
|
14734
|
-
Html: 'html'
|
|
15834
|
+
Html: 'html',
|
|
14735
15835
|
};
|
|
14736
15836
|
exports.PostSendPriceListCategoryEnum = {
|
|
14737
15837
|
Yealink: 'Yealink',
|
|
@@ -14753,7 +15853,7 @@ exports.PostSendPriceListCategoryEnum = {
|
|
|
14753
15853
|
FanvilWirelessPhones: 'Fanvil Wireless Phones',
|
|
14754
15854
|
FanvilSecurityProducts: 'Fanvil Security Products',
|
|
14755
15855
|
FanvilAccessories: 'Fanvil Accessories',
|
|
14756
|
-
FanvilHotelPhones: 'Fanvil Hotel Phones'
|
|
15856
|
+
FanvilHotelPhones: 'Fanvil Hotel Phones',
|
|
14757
15857
|
};
|
|
14758
15858
|
/**
|
|
14759
15859
|
* ProductsApi - axios parameter creator
|
|
@@ -15040,7 +16140,7 @@ var ProductsApiAxiosParamCreator = function (configuration) {
|
|
|
15040
16140
|
// verify required parameter 'quantity' is not null or undefined
|
|
15041
16141
|
(0, common_1.assertParamExists)('patchAddQuantityToStock', 'quantity', quantity);
|
|
15042
16142
|
localVarPath = "/products/{sku}/stock/add"
|
|
15043
|
-
.replace(
|
|
16143
|
+
.replace('{sku}', encodeURIComponent(String(sku)));
|
|
15044
16144
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
15045
16145
|
if (configuration) {
|
|
15046
16146
|
baseOptions = configuration.baseOptions;
|
|
@@ -15065,25 +16165,25 @@ var ProductsApiAxiosParamCreator = function (configuration) {
|
|
|
15065
16165
|
* Get Product
|
|
15066
16166
|
* @summary Get Product
|
|
15067
16167
|
* @param {string} sku Product SKU
|
|
15068
|
-
* @param {
|
|
16168
|
+
* @param {PostGetProductForCustomerRequest} postGetProductForCustomerRequest Product search criteria
|
|
15069
16169
|
* @param {*} [options] Override http request option.
|
|
15070
16170
|
* @throws {RequiredError}
|
|
15071
16171
|
*/
|
|
15072
|
-
postGetProduct: function (sku_1,
|
|
16172
|
+
postGetProduct: function (sku_1, postGetProductForCustomerRequest_1) {
|
|
15073
16173
|
var args_1 = [];
|
|
15074
16174
|
for (var _i = 2; _i < arguments.length; _i++) {
|
|
15075
16175
|
args_1[_i - 2] = arguments[_i];
|
|
15076
16176
|
}
|
|
15077
|
-
return __awaiter(_this, __spreadArray([sku_1,
|
|
16177
|
+
return __awaiter(_this, __spreadArray([sku_1, postGetProductForCustomerRequest_1], args_1, true), void 0, function (sku, postGetProductForCustomerRequest, options) {
|
|
15078
16178
|
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
15079
16179
|
if (options === void 0) { options = {}; }
|
|
15080
16180
|
return __generator(this, function (_a) {
|
|
15081
16181
|
// verify required parameter 'sku' is not null or undefined
|
|
15082
16182
|
(0, common_1.assertParamExists)('postGetProduct', 'sku', sku);
|
|
15083
|
-
// verify required parameter '
|
|
15084
|
-
(0, common_1.assertParamExists)('postGetProduct', '
|
|
16183
|
+
// verify required parameter 'postGetProductForCustomerRequest' is not null or undefined
|
|
16184
|
+
(0, common_1.assertParamExists)('postGetProduct', 'postGetProductForCustomerRequest', postGetProductForCustomerRequest);
|
|
15085
16185
|
localVarPath = "/products/{sku}"
|
|
15086
|
-
.replace(
|
|
16186
|
+
.replace('{sku}', encodeURIComponent(String(sku)));
|
|
15087
16187
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
15088
16188
|
if (configuration) {
|
|
15089
16189
|
baseOptions = configuration.baseOptions;
|
|
@@ -15096,7 +16196,7 @@ var ProductsApiAxiosParamCreator = function (configuration) {
|
|
|
15096
16196
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
15097
16197
|
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
15098
16198
|
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
15099
|
-
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(
|
|
16199
|
+
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(postGetProductForCustomerRequest, localVarRequestOptions, configuration);
|
|
15100
16200
|
return [2 /*return*/, {
|
|
15101
16201
|
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
15102
16202
|
options: localVarRequestOptions,
|
|
@@ -15129,7 +16229,7 @@ var ProductsApiAxiosParamCreator = function (configuration) {
|
|
|
15129
16229
|
// verify required parameter 'postGetProductForCustomerRequest' is not null or undefined
|
|
15130
16230
|
(0, common_1.assertParamExists)('postGetProductForCustomer', 'postGetProductForCustomerRequest', postGetProductForCustomerRequest);
|
|
15131
16231
|
localVarPath = "/admin/products/{sku}"
|
|
15132
|
-
.replace(
|
|
16232
|
+
.replace('{sku}', encodeURIComponent(String(sku)));
|
|
15133
16233
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
15134
16234
|
if (configuration) {
|
|
15135
16235
|
baseOptions = configuration.baseOptions;
|
|
@@ -15349,17 +16449,17 @@ var ProductsApiFp = function (configuration) {
|
|
|
15349
16449
|
* Get Product
|
|
15350
16450
|
* @summary Get Product
|
|
15351
16451
|
* @param {string} sku Product SKU
|
|
15352
|
-
* @param {
|
|
16452
|
+
* @param {PostGetProductForCustomerRequest} postGetProductForCustomerRequest Product search criteria
|
|
15353
16453
|
* @param {*} [options] Override http request option.
|
|
15354
16454
|
* @throws {RequiredError}
|
|
15355
16455
|
*/
|
|
15356
|
-
postGetProduct: function (sku,
|
|
16456
|
+
postGetProduct: function (sku, postGetProductForCustomerRequest, options) {
|
|
15357
16457
|
return __awaiter(this, void 0, void 0, function () {
|
|
15358
16458
|
var localVarAxiosArgs, localVarOperationServerIndex, localVarOperationServerBasePath;
|
|
15359
16459
|
var _a, _b, _c;
|
|
15360
16460
|
return __generator(this, function (_d) {
|
|
15361
16461
|
switch (_d.label) {
|
|
15362
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.postGetProduct(sku,
|
|
16462
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.postGetProduct(sku, postGetProductForCustomerRequest, options)];
|
|
15363
16463
|
case 1:
|
|
15364
16464
|
localVarAxiosArgs = _d.sent();
|
|
15365
16465
|
localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
@@ -15486,12 +16586,12 @@ var ProductsApiFactory = function (configuration, basePath, axios) {
|
|
|
15486
16586
|
* Get Product
|
|
15487
16587
|
* @summary Get Product
|
|
15488
16588
|
* @param {string} sku Product SKU
|
|
15489
|
-
* @param {
|
|
16589
|
+
* @param {PostGetProductForCustomerRequest} postGetProductForCustomerRequest Product search criteria
|
|
15490
16590
|
* @param {*} [options] Override http request option.
|
|
15491
16591
|
* @throws {RequiredError}
|
|
15492
16592
|
*/
|
|
15493
|
-
postGetProduct: function (sku,
|
|
15494
|
-
return localVarFp.postGetProduct(sku,
|
|
16593
|
+
postGetProduct: function (sku, postGetProductForCustomerRequest, options) {
|
|
16594
|
+
return localVarFp.postGetProduct(sku, postGetProductForCustomerRequest, options).then(function (request) { return request(axios, basePath); });
|
|
15495
16595
|
},
|
|
15496
16596
|
/**
|
|
15497
16597
|
* Get Product For Customer
|
|
@@ -15607,13 +16707,13 @@ var ProductsApi = /** @class */ (function (_super) {
|
|
|
15607
16707
|
* Get Product
|
|
15608
16708
|
* @summary Get Product
|
|
15609
16709
|
* @param {string} sku Product SKU
|
|
15610
|
-
* @param {
|
|
16710
|
+
* @param {PostGetProductForCustomerRequest} postGetProductForCustomerRequest Product search criteria
|
|
15611
16711
|
* @param {*} [options] Override http request option.
|
|
15612
16712
|
* @throws {RequiredError}
|
|
15613
16713
|
*/
|
|
15614
|
-
ProductsApi.prototype.postGetProduct = function (sku,
|
|
16714
|
+
ProductsApi.prototype.postGetProduct = function (sku, postGetProductForCustomerRequest, options) {
|
|
15615
16715
|
var _this = this;
|
|
15616
|
-
return (0, exports.ProductsApiFp)(this.configuration).postGetProduct(sku,
|
|
16716
|
+
return (0, exports.ProductsApiFp)(this.configuration).postGetProduct(sku, postGetProductForCustomerRequest, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
15617
16717
|
};
|
|
15618
16718
|
/**
|
|
15619
16719
|
* Get Product For Customer
|
|
@@ -15633,7 +16733,7 @@ var ProductsApi = /** @class */ (function (_super) {
|
|
|
15633
16733
|
exports.ProductsApi = ProductsApi;
|
|
15634
16734
|
exports.GetGetLegacyStockListFormatEnum = {
|
|
15635
16735
|
Xml: 'XML',
|
|
15636
|
-
Csv: 'CSV'
|
|
16736
|
+
Csv: 'CSV',
|
|
15637
16737
|
};
|
|
15638
16738
|
/**
|
|
15639
16739
|
* ProspectsApi - axios parameter creator
|
|
@@ -15660,7 +16760,7 @@ var ProspectsApiAxiosParamCreator = function (configuration) {
|
|
|
15660
16760
|
// verify required parameter 'xeroId' is not null or undefined
|
|
15661
16761
|
(0, common_1.assertParamExists)('getGetProspect', 'xeroId', xeroId);
|
|
15662
16762
|
localVarPath = "/accounts/prospects/{xero_id}"
|
|
15663
|
-
.replace(
|
|
16763
|
+
.replace('{xero_id}', encodeURIComponent(String(xeroId)));
|
|
15664
16764
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
15665
16765
|
if (configuration) {
|
|
15666
16766
|
baseOptions = configuration.baseOptions;
|
|
@@ -15735,7 +16835,7 @@ var ProspectsApiAxiosParamCreator = function (configuration) {
|
|
|
15735
16835
|
// verify required parameter 'status' is not null or undefined
|
|
15736
16836
|
(0, common_1.assertParamExists)('getRemoveFromProspects', 'status', status);
|
|
15737
16837
|
localVarPath = "/accounts/prospects/{xero_id}/remove"
|
|
15738
|
-
.replace(
|
|
16838
|
+
.replace('{xero_id}', encodeURIComponent(String(xeroId)));
|
|
15739
16839
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
15740
16840
|
if (configuration) {
|
|
15741
16841
|
baseOptions = configuration.baseOptions;
|
|
@@ -15779,7 +16879,7 @@ var ProspectsApiAxiosParamCreator = function (configuration) {
|
|
|
15779
16879
|
// verify required parameter 'date' is not null or undefined
|
|
15780
16880
|
(0, common_1.assertParamExists)('getSetCallback', 'date', date);
|
|
15781
16881
|
localVarPath = "/accounts/prospects/{xero_id}/date"
|
|
15782
|
-
.replace(
|
|
16882
|
+
.replace('{xero_id}', encodeURIComponent(String(xeroId)));
|
|
15783
16883
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
15784
16884
|
if (configuration) {
|
|
15785
16885
|
baseOptions = configuration.baseOptions;
|
|
@@ -16040,8 +17140,8 @@ var ProvisioningApiAxiosParamCreator = function (configuration) {
|
|
|
16040
17140
|
// verify required parameter 'mac' is not null or undefined
|
|
16041
17141
|
(0, common_1.assertParamExists)('deleteAddFanvilMac', 'mac', mac);
|
|
16042
17142
|
localVarPath = "/provisioning/fanvil/groups/{id}/macs/{mac}"
|
|
16043
|
-
.replace(
|
|
16044
|
-
.replace(
|
|
17143
|
+
.replace('{id}', encodeURIComponent(String(id)))
|
|
17144
|
+
.replace('{mac}', encodeURIComponent(String(mac)));
|
|
16045
17145
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
16046
17146
|
if (configuration) {
|
|
16047
17147
|
baseOptions = configuration.baseOptions;
|
|
@@ -16078,7 +17178,7 @@ var ProvisioningApiAxiosParamCreator = function (configuration) {
|
|
|
16078
17178
|
// verify required parameter 'id' is not null or undefined
|
|
16079
17179
|
(0, common_1.assertParamExists)('deleteDeleteFanvilGroup', 'id', id);
|
|
16080
17180
|
localVarPath = "/provisioning/fanvil/groups/{id}"
|
|
16081
|
-
.replace(
|
|
17181
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
16082
17182
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
16083
17183
|
if (configuration) {
|
|
16084
17184
|
baseOptions = configuration.baseOptions;
|
|
@@ -16118,8 +17218,8 @@ var ProvisioningApiAxiosParamCreator = function (configuration) {
|
|
|
16118
17218
|
// verify required parameter 'mac' is not null or undefined
|
|
16119
17219
|
(0, common_1.assertParamExists)('getGetFanvilEncryptionKey', 'mac', mac);
|
|
16120
17220
|
localVarPath = "/provisioning/fanvil/groups/{id}/macs/{mac}/key"
|
|
16121
|
-
.replace(
|
|
16122
|
-
.replace(
|
|
17221
|
+
.replace('{id}', encodeURIComponent(String(id)))
|
|
17222
|
+
.replace('{mac}', encodeURIComponent(String(mac)));
|
|
16123
17223
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
16124
17224
|
if (configuration) {
|
|
16125
17225
|
baseOptions = configuration.baseOptions;
|
|
@@ -16157,7 +17257,7 @@ var ProvisioningApiAxiosParamCreator = function (configuration) {
|
|
|
16157
17257
|
// verify required parameter 'id' is not null or undefined
|
|
16158
17258
|
(0, common_1.assertParamExists)('getGetFanvilGroupMacs', 'id', id);
|
|
16159
17259
|
localVarPath = "/provisioning/fanvil/groups/{id}/macs"
|
|
16160
|
-
.replace(
|
|
17260
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
16161
17261
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
16162
17262
|
if (configuration) {
|
|
16163
17263
|
baseOptions = configuration.baseOptions;
|
|
@@ -16273,8 +17373,8 @@ var ProvisioningApiAxiosParamCreator = function (configuration) {
|
|
|
16273
17373
|
// verify required parameter 'mac' is not null or undefined
|
|
16274
17374
|
(0, common_1.assertParamExists)('postAddFanvilMac', 'mac', mac);
|
|
16275
17375
|
localVarPath = "/provisioning/fanvil/groups/{id}/macs/{mac}"
|
|
16276
|
-
.replace(
|
|
16277
|
-
.replace(
|
|
17376
|
+
.replace('{id}', encodeURIComponent(String(id)))
|
|
17377
|
+
.replace('{mac}', encodeURIComponent(String(mac)));
|
|
16278
17378
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
16279
17379
|
if (configuration) {
|
|
16280
17380
|
baseOptions = configuration.baseOptions;
|
|
@@ -16666,7 +17766,7 @@ var SIPTrunksApiAxiosParamCreator = function (configuration) {
|
|
|
16666
17766
|
// verify required parameter 'id' is not null or undefined
|
|
16667
17767
|
(0, common_1.assertParamExists)('deleteGetSipTrunk', 'id', id);
|
|
16668
17768
|
localVarPath = "/sip/trunks/{id}"
|
|
16669
|
-
.replace(
|
|
17769
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
16670
17770
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
16671
17771
|
if (configuration) {
|
|
16672
17772
|
baseOptions = configuration.baseOptions;
|
|
@@ -16704,7 +17804,7 @@ var SIPTrunksApiAxiosParamCreator = function (configuration) {
|
|
|
16704
17804
|
// verify required parameter 'id' is not null or undefined
|
|
16705
17805
|
(0, common_1.assertParamExists)('getCanDivert', 'id', id);
|
|
16706
17806
|
localVarPath = "/sip/trunks/{id}/diverts/allowed"
|
|
16707
|
-
.replace(
|
|
17807
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
16708
17808
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
16709
17809
|
if (configuration) {
|
|
16710
17810
|
baseOptions = configuration.baseOptions;
|
|
@@ -16742,7 +17842,7 @@ var SIPTrunksApiAxiosParamCreator = function (configuration) {
|
|
|
16742
17842
|
// verify required parameter 'id' is not null or undefined
|
|
16743
17843
|
(0, common_1.assertParamExists)('getGetAddress', 'id', id);
|
|
16744
17844
|
localVarPath = "/sip/trunks/{id}/address"
|
|
16745
|
-
.replace(
|
|
17845
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
16746
17846
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
16747
17847
|
if (configuration) {
|
|
16748
17848
|
baseOptions = configuration.baseOptions;
|
|
@@ -16851,7 +17951,7 @@ var SIPTrunksApiAxiosParamCreator = function (configuration) {
|
|
|
16851
17951
|
// verify required parameter 'id' is not null or undefined
|
|
16852
17952
|
(0, common_1.assertParamExists)('getGetCliFlexibility', 'id', id);
|
|
16853
17953
|
localVarPath = "/sip/trunks/{id}/cli/flexibility"
|
|
16854
|
-
.replace(
|
|
17954
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
16855
17955
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
16856
17956
|
if (configuration) {
|
|
16857
17957
|
baseOptions = configuration.baseOptions;
|
|
@@ -16889,7 +17989,7 @@ var SIPTrunksApiAxiosParamCreator = function (configuration) {
|
|
|
16889
17989
|
// verify required parameter 'id' is not null or undefined
|
|
16890
17990
|
(0, common_1.assertParamExists)('getGetDdis', 'id', id);
|
|
16891
17991
|
localVarPath = "/sip/trunks/{id}/ddis"
|
|
16892
|
-
.replace(
|
|
17992
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
16893
17993
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
16894
17994
|
if (configuration) {
|
|
16895
17995
|
baseOptions = configuration.baseOptions;
|
|
@@ -16928,7 +18028,7 @@ var SIPTrunksApiAxiosParamCreator = function (configuration) {
|
|
|
16928
18028
|
// verify required parameter 'id' is not null or undefined
|
|
16929
18029
|
(0, common_1.assertParamExists)('getGetDiverts', 'id', id);
|
|
16930
18030
|
localVarPath = "/sip/trunks/{id}/diverts"
|
|
16931
|
-
.replace(
|
|
18031
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
16932
18032
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
16933
18033
|
if (configuration) {
|
|
16934
18034
|
baseOptions = configuration.baseOptions;
|
|
@@ -16969,7 +18069,7 @@ var SIPTrunksApiAxiosParamCreator = function (configuration) {
|
|
|
16969
18069
|
// verify required parameter 'id' is not null or undefined
|
|
16970
18070
|
(0, common_1.assertParamExists)('getGetSipTrunk', 'id', id);
|
|
16971
18071
|
localVarPath = "/sip/trunks/{id}"
|
|
16972
|
-
.replace(
|
|
18072
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
16973
18073
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
16974
18074
|
if (configuration) {
|
|
16975
18075
|
baseOptions = configuration.baseOptions;
|
|
@@ -17056,7 +18156,7 @@ var SIPTrunksApiAxiosParamCreator = function (configuration) {
|
|
|
17056
18156
|
// verify required parameter 'enabled' is not null or undefined
|
|
17057
18157
|
(0, common_1.assertParamExists)('patchGetCliFlexibility', 'enabled', enabled);
|
|
17058
18158
|
localVarPath = "/sip/trunks/{id}/cli/flexibility"
|
|
17059
|
-
.replace(
|
|
18159
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
17060
18160
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
17061
18161
|
if (configuration) {
|
|
17062
18162
|
baseOptions = configuration.baseOptions;
|
|
@@ -17097,7 +18197,7 @@ var SIPTrunksApiAxiosParamCreator = function (configuration) {
|
|
|
17097
18197
|
// verify required parameter 'id' is not null or undefined
|
|
17098
18198
|
(0, common_1.assertParamExists)('patchSetAsAvailable', 'id', id);
|
|
17099
18199
|
localVarPath = "/sip/trunks/{id}/available"
|
|
17100
|
-
.replace(
|
|
18200
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
17101
18201
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
17102
18202
|
if (configuration) {
|
|
17103
18203
|
baseOptions = configuration.baseOptions;
|
|
@@ -17138,7 +18238,7 @@ var SIPTrunksApiAxiosParamCreator = function (configuration) {
|
|
|
17138
18238
|
// verify required parameter 'ownerId' is not null or undefined
|
|
17139
18239
|
(0, common_1.assertParamExists)('patchSetOwnership', 'ownerId', ownerId);
|
|
17140
18240
|
localVarPath = "/sip/trunks/{id}/owner"
|
|
17141
|
-
.replace(
|
|
18241
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
17142
18242
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
17143
18243
|
if (configuration) {
|
|
17144
18244
|
baseOptions = configuration.baseOptions;
|
|
@@ -17184,7 +18284,7 @@ var SIPTrunksApiAxiosParamCreator = function (configuration) {
|
|
|
17184
18284
|
// verify required parameter 'channels' is not null or undefined
|
|
17185
18285
|
(0, common_1.assertParamExists)('patchUpdateChannelCount', 'channels', channels);
|
|
17186
18286
|
localVarPath = "/sip/trunks/{id}/channels"
|
|
17187
|
-
.replace(
|
|
18287
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
17188
18288
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
17189
18289
|
if (configuration) {
|
|
17190
18290
|
baseOptions = configuration.baseOptions;
|
|
@@ -17228,7 +18328,7 @@ var SIPTrunksApiAxiosParamCreator = function (configuration) {
|
|
|
17228
18328
|
// verify required parameter 'company' is not null or undefined
|
|
17229
18329
|
(0, common_1.assertParamExists)('patchUpdateCompanyName', 'company', company);
|
|
17230
18330
|
localVarPath = "/sip/trunks/{id}/company"
|
|
17231
|
-
.replace(
|
|
18331
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
17232
18332
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
17233
18333
|
if (configuration) {
|
|
17234
18334
|
baseOptions = configuration.baseOptions;
|
|
@@ -17272,7 +18372,7 @@ var SIPTrunksApiAxiosParamCreator = function (configuration) {
|
|
|
17272
18372
|
// verify required parameter 'number' is not null or undefined
|
|
17273
18373
|
(0, common_1.assertParamExists)('patchUpdateMainTrunkNumber', 'number', number);
|
|
17274
18374
|
localVarPath = "/sip/trunks/{id}/number"
|
|
17275
|
-
.replace(
|
|
18375
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
17276
18376
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
17277
18377
|
if (configuration) {
|
|
17278
18378
|
baseOptions = configuration.baseOptions;
|
|
@@ -17316,7 +18416,7 @@ var SIPTrunksApiAxiosParamCreator = function (configuration) {
|
|
|
17316
18416
|
// verify required parameter 'ipAddress' is not null or undefined
|
|
17317
18417
|
(0, common_1.assertParamExists)('patchUpdatePbxIPAddress', 'ipAddress', ipAddress);
|
|
17318
18418
|
localVarPath = "/sip/trunks/{id}/pbx/ip"
|
|
17319
|
-
.replace(
|
|
18419
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
17320
18420
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
17321
18421
|
if (configuration) {
|
|
17322
18422
|
baseOptions = configuration.baseOptions;
|
|
@@ -17358,7 +18458,7 @@ var SIPTrunksApiAxiosParamCreator = function (configuration) {
|
|
|
17358
18458
|
// verify required parameter 'id' is not null or undefined
|
|
17359
18459
|
(0, common_1.assertParamExists)('postGetDdis', 'id', id);
|
|
17360
18460
|
localVarPath = "/sip/trunks/{id}/ddis"
|
|
17361
|
-
.replace(
|
|
18461
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
17362
18462
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
17363
18463
|
if (configuration) {
|
|
17364
18464
|
baseOptions = configuration.baseOptions;
|
|
@@ -17510,7 +18610,7 @@ var SIPTrunksApiAxiosParamCreator = function (configuration) {
|
|
|
17510
18610
|
// verify required parameter 'id' is not null or undefined
|
|
17511
18611
|
(0, common_1.assertParamExists)('putGetAddress', 'id', id);
|
|
17512
18612
|
localVarPath = "/sip/trunks/{id}/address"
|
|
17513
|
-
.replace(
|
|
18613
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
17514
18614
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
17515
18615
|
if (configuration) {
|
|
17516
18616
|
baseOptions = configuration.baseOptions;
|
|
@@ -17554,7 +18654,7 @@ var SIPTrunksApiAxiosParamCreator = function (configuration) {
|
|
|
17554
18654
|
// verify required parameter 'enabled' is not null or undefined
|
|
17555
18655
|
(0, common_1.assertParamExists)('putGetDiverts', 'enabled', enabled);
|
|
17556
18656
|
localVarPath = "/sip/trunks/{id}/diverts"
|
|
17557
|
-
.replace(
|
|
18657
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
17558
18658
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
17559
18659
|
if (configuration) {
|
|
17560
18660
|
baseOptions = configuration.baseOptions;
|
|
@@ -18960,7 +20060,7 @@ var ServicesApiAxiosParamCreator = function (configuration) {
|
|
|
18960
20060
|
// verify required parameter 'id' is not null or undefined
|
|
18961
20061
|
(0, common_1.assertParamExists)('patchArchiveEvent', 'id', id);
|
|
18962
20062
|
localVarPath = "/services/events/{id}/archive"
|
|
18963
|
-
.replace(
|
|
20063
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
18964
20064
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
18965
20065
|
if (configuration) {
|
|
18966
20066
|
baseOptions = configuration.baseOptions;
|
|
@@ -18998,7 +20098,7 @@ var ServicesApiAxiosParamCreator = function (configuration) {
|
|
|
18998
20098
|
// verify required parameter 'id' is not null or undefined
|
|
18999
20099
|
(0, common_1.assertParamExists)('patchUpdateEvent', 'id', id);
|
|
19000
20100
|
localVarPath = "/services/events/{id}"
|
|
19001
|
-
.replace(
|
|
20101
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
19002
20102
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
19003
20103
|
if (configuration) {
|
|
19004
20104
|
baseOptions = configuration.baseOptions;
|
|
@@ -19074,7 +20174,7 @@ var ServicesApiAxiosParamCreator = function (configuration) {
|
|
|
19074
20174
|
// verify required parameter 'id' is not null or undefined
|
|
19075
20175
|
(0, common_1.assertParamExists)('postCreateEventUpdate', 'id', id);
|
|
19076
20176
|
localVarPath = "/services/events/{id}/updates"
|
|
19077
|
-
.replace(
|
|
20177
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
19078
20178
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
19079
20179
|
if (configuration) {
|
|
19080
20180
|
baseOptions = configuration.baseOptions;
|
|
@@ -19690,7 +20790,7 @@ var StockManagementApiAxiosParamCreator = function (configuration) {
|
|
|
19690
20790
|
// verify required parameter 'id' is not null or undefined
|
|
19691
20791
|
(0, common_1.assertParamExists)('deleteDeleteStockOrder', 'id', id);
|
|
19692
20792
|
localVarPath = "/stock/orders/{id}"
|
|
19693
|
-
.replace(
|
|
20793
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
19694
20794
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
19695
20795
|
if (configuration) {
|
|
19696
20796
|
baseOptions = configuration.baseOptions;
|
|
@@ -19730,8 +20830,8 @@ var StockManagementApiAxiosParamCreator = function (configuration) {
|
|
|
19730
20830
|
// verify required parameter 'deductionId' is not null or undefined
|
|
19731
20831
|
(0, common_1.assertParamExists)('deleteDeleteStockOrderDeduction', 'deductionId', deductionId);
|
|
19732
20832
|
localVarPath = "/stock/orders/{order_id}/deductions/{deduction_id}"
|
|
19733
|
-
.replace(
|
|
19734
|
-
.replace(
|
|
20833
|
+
.replace('{order_id}', encodeURIComponent(String(orderId)))
|
|
20834
|
+
.replace('{deduction_id}', encodeURIComponent(String(deductionId)));
|
|
19735
20835
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
19736
20836
|
if (configuration) {
|
|
19737
20837
|
baseOptions = configuration.baseOptions;
|
|
@@ -19771,8 +20871,8 @@ var StockManagementApiAxiosParamCreator = function (configuration) {
|
|
|
19771
20871
|
// verify required parameter 'itemId' is not null or undefined
|
|
19772
20872
|
(0, common_1.assertParamExists)('deleteDeleteStockOrderItem', 'itemId', itemId);
|
|
19773
20873
|
localVarPath = "/stock/orders/{order_id}/items/{item_id}"
|
|
19774
|
-
.replace(
|
|
19775
|
-
.replace(
|
|
20874
|
+
.replace('{order_id}', encodeURIComponent(String(orderId)))
|
|
20875
|
+
.replace('{item_id}', encodeURIComponent(String(itemId)));
|
|
19776
20876
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
19777
20877
|
if (configuration) {
|
|
19778
20878
|
baseOptions = configuration.baseOptions;
|
|
@@ -19809,7 +20909,7 @@ var StockManagementApiAxiosParamCreator = function (configuration) {
|
|
|
19809
20909
|
// verify required parameter 'id' is not null or undefined
|
|
19810
20910
|
(0, common_1.assertParamExists)('deleteGetStockProduct', 'id', id);
|
|
19811
20911
|
localVarPath = "/stock/products/{id}"
|
|
19812
|
-
.replace(
|
|
20912
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
19813
20913
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
19814
20914
|
if (configuration) {
|
|
19815
20915
|
baseOptions = configuration.baseOptions;
|
|
@@ -19846,7 +20946,7 @@ var StockManagementApiAxiosParamCreator = function (configuration) {
|
|
|
19846
20946
|
// verify required parameter 'id' is not null or undefined
|
|
19847
20947
|
(0, common_1.assertParamExists)('getDeleteStockOrder', 'id', id);
|
|
19848
20948
|
localVarPath = "/stock/orders/{id}"
|
|
19849
|
-
.replace(
|
|
20949
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
19850
20950
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
19851
20951
|
if (configuration) {
|
|
19852
20952
|
baseOptions = configuration.baseOptions;
|
|
@@ -19884,7 +20984,7 @@ var StockManagementApiAxiosParamCreator = function (configuration) {
|
|
|
19884
20984
|
// verify required parameter 'sku' is not null or undefined
|
|
19885
20985
|
(0, common_1.assertParamExists)('getGetProductDetails', 'sku', sku);
|
|
19886
20986
|
localVarPath = "/stock/products/{sku}/details"
|
|
19887
|
-
.replace(
|
|
20987
|
+
.replace('{sku}', encodeURIComponent(String(sku)));
|
|
19888
20988
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
19889
20989
|
if (configuration) {
|
|
19890
20990
|
baseOptions = configuration.baseOptions;
|
|
@@ -19922,7 +21022,7 @@ var StockManagementApiAxiosParamCreator = function (configuration) {
|
|
|
19922
21022
|
// verify required parameter 'id' is not null or undefined
|
|
19923
21023
|
(0, common_1.assertParamExists)('getGetStockOrderPurchaseOrder', 'id', id);
|
|
19924
21024
|
localVarPath = "/stock/orders/{id}/po"
|
|
19925
|
-
.replace(
|
|
21025
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
19926
21026
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
19927
21027
|
if (configuration) {
|
|
19928
21028
|
baseOptions = configuration.baseOptions;
|
|
@@ -19960,7 +21060,7 @@ var StockManagementApiAxiosParamCreator = function (configuration) {
|
|
|
19960
21060
|
// verify required parameter 'id' is not null or undefined
|
|
19961
21061
|
(0, common_1.assertParamExists)('getGetStockOrderSupplierEmail', 'id', id);
|
|
19962
21062
|
localVarPath = "/stock/orders/{id}/supplier/email"
|
|
19963
|
-
.replace(
|
|
21063
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
19964
21064
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
19965
21065
|
if (configuration) {
|
|
19966
21066
|
baseOptions = configuration.baseOptions;
|
|
@@ -20048,7 +21148,7 @@ var StockManagementApiAxiosParamCreator = function (configuration) {
|
|
|
20048
21148
|
// verify required parameter 'id' is not null or undefined
|
|
20049
21149
|
(0, common_1.assertParamExists)('getGetStockProduct', 'id', id);
|
|
20050
21150
|
localVarPath = "/stock/products/{id}"
|
|
20051
|
-
.replace(
|
|
21151
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
20052
21152
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
20053
21153
|
if (configuration) {
|
|
20054
21154
|
baseOptions = configuration.baseOptions;
|
|
@@ -20166,7 +21266,7 @@ var StockManagementApiAxiosParamCreator = function (configuration) {
|
|
|
20166
21266
|
// verify required parameter 'id' is not null or undefined
|
|
20167
21267
|
(0, common_1.assertParamExists)('getGetStockSupplierProducts', 'id', id);
|
|
20168
21268
|
localVarPath = "/stock/suppliers/{id}/products"
|
|
20169
|
-
.replace(
|
|
21269
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
20170
21270
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
20171
21271
|
if (configuration) {
|
|
20172
21272
|
baseOptions = configuration.baseOptions;
|
|
@@ -20204,7 +21304,7 @@ var StockManagementApiAxiosParamCreator = function (configuration) {
|
|
|
20204
21304
|
// verify required parameter 'id' is not null or undefined
|
|
20205
21305
|
(0, common_1.assertParamExists)('getUploadStockOrderInvoice', 'id', id);
|
|
20206
21306
|
localVarPath = "/stock/orders/{id}/invoice"
|
|
20207
|
-
.replace(
|
|
21307
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
20208
21308
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
20209
21309
|
if (configuration) {
|
|
20210
21310
|
baseOptions = configuration.baseOptions;
|
|
@@ -20243,7 +21343,7 @@ var StockManagementApiAxiosParamCreator = function (configuration) {
|
|
|
20243
21343
|
// verify required parameter 'id' is not null or undefined
|
|
20244
21344
|
(0, common_1.assertParamExists)('patchDeleteStockOrder', 'id', id);
|
|
20245
21345
|
localVarPath = "/stock/orders/{id}"
|
|
20246
|
-
.replace(
|
|
21346
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
20247
21347
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
20248
21348
|
if (configuration) {
|
|
20249
21349
|
baseOptions = configuration.baseOptions;
|
|
@@ -20287,8 +21387,8 @@ var StockManagementApiAxiosParamCreator = function (configuration) {
|
|
|
20287
21387
|
// verify required parameter 'deductionId' is not null or undefined
|
|
20288
21388
|
(0, common_1.assertParamExists)('patchDeleteStockOrderDeduction', 'deductionId', deductionId);
|
|
20289
21389
|
localVarPath = "/stock/orders/{order_id}/deductions/{deduction_id}"
|
|
20290
|
-
.replace(
|
|
20291
|
-
.replace(
|
|
21390
|
+
.replace('{order_id}', encodeURIComponent(String(orderId)))
|
|
21391
|
+
.replace('{deduction_id}', encodeURIComponent(String(deductionId)));
|
|
20292
21392
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
20293
21393
|
if (configuration) {
|
|
20294
21394
|
baseOptions = configuration.baseOptions;
|
|
@@ -20332,8 +21432,8 @@ var StockManagementApiAxiosParamCreator = function (configuration) {
|
|
|
20332
21432
|
// verify required parameter 'itemId' is not null or undefined
|
|
20333
21433
|
(0, common_1.assertParamExists)('patchDeleteStockOrderItem', 'itemId', itemId);
|
|
20334
21434
|
localVarPath = "/stock/orders/{order_id}/items/{item_id}"
|
|
20335
|
-
.replace(
|
|
20336
|
-
.replace(
|
|
21435
|
+
.replace('{order_id}', encodeURIComponent(String(orderId)))
|
|
21436
|
+
.replace('{item_id}', encodeURIComponent(String(itemId)));
|
|
20337
21437
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
20338
21438
|
if (configuration) {
|
|
20339
21439
|
baseOptions = configuration.baseOptions;
|
|
@@ -20374,7 +21474,7 @@ var StockManagementApiAxiosParamCreator = function (configuration) {
|
|
|
20374
21474
|
// verify required parameter 'id' is not null or undefined
|
|
20375
21475
|
(0, common_1.assertParamExists)('postAddStockOrderDeduction', 'id', id);
|
|
20376
21476
|
localVarPath = "/stock/orders/{id}/deductions"
|
|
20377
|
-
.replace(
|
|
21477
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
20378
21478
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
20379
21479
|
if (configuration) {
|
|
20380
21480
|
baseOptions = configuration.baseOptions;
|
|
@@ -20415,7 +21515,7 @@ var StockManagementApiAxiosParamCreator = function (configuration) {
|
|
|
20415
21515
|
// verify required parameter 'id' is not null or undefined
|
|
20416
21516
|
(0, common_1.assertParamExists)('postAddStockOrderItem', 'id', id);
|
|
20417
21517
|
localVarPath = "/stock/orders/{id}/items"
|
|
20418
|
-
.replace(
|
|
21518
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
20419
21519
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
20420
21520
|
if (configuration) {
|
|
20421
21521
|
baseOptions = configuration.baseOptions;
|
|
@@ -20532,7 +21632,7 @@ var StockManagementApiAxiosParamCreator = function (configuration) {
|
|
|
20532
21632
|
// verify required parameter 'invoice' is not null or undefined
|
|
20533
21633
|
(0, common_1.assertParamExists)('postUploadStockOrderInvoice', 'invoice', invoice);
|
|
20534
21634
|
localVarPath = "/stock/orders/{id}/invoice"
|
|
20535
|
-
.replace(
|
|
21635
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
20536
21636
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
20537
21637
|
if (configuration) {
|
|
20538
21638
|
baseOptions = configuration.baseOptions;
|
|
@@ -20576,7 +21676,7 @@ var StockManagementApiAxiosParamCreator = function (configuration) {
|
|
|
20576
21676
|
// verify required parameter 'id' is not null or undefined
|
|
20577
21677
|
(0, common_1.assertParamExists)('putGetStockProduct', 'id', id);
|
|
20578
21678
|
localVarPath = "/stock/products/{id}"
|
|
20579
|
-
.replace(
|
|
21679
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
20580
21680
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
20581
21681
|
if (configuration) {
|
|
20582
21682
|
baseOptions = configuration.baseOptions;
|
|
@@ -20622,8 +21722,8 @@ var StockManagementApiAxiosParamCreator = function (configuration) {
|
|
|
20622
21722
|
// verify required parameter 'received' is not null or undefined
|
|
20623
21723
|
(0, common_1.assertParamExists)('putReceiveStockOrderItem', 'received', received);
|
|
20624
21724
|
localVarPath = "/stock/orders/{order_id}/items/{item_id}/receive"
|
|
20625
|
-
.replace(
|
|
20626
|
-
.replace(
|
|
21725
|
+
.replace('{order_id}', encodeURIComponent(String(orderId)))
|
|
21726
|
+
.replace('{item_id}', encodeURIComponent(String(itemId)));
|
|
20627
21727
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
20628
21728
|
if (configuration) {
|
|
20629
21729
|
baseOptions = configuration.baseOptions;
|
|
@@ -22017,7 +23117,7 @@ var TicketsApiAxiosParamCreator = function (configuration) {
|
|
|
22017
23117
|
// verify required parameter 'id' is not null or undefined
|
|
22018
23118
|
(0, common_1.assertParamExists)('getGetTicket', 'id', id);
|
|
22019
23119
|
localVarPath = "/tickets/support/{id}"
|
|
22020
|
-
.replace(
|
|
23120
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
22021
23121
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
22022
23122
|
if (configuration) {
|
|
22023
23123
|
baseOptions = configuration.baseOptions;
|
|
@@ -22054,7 +23154,7 @@ var TicketsApiAxiosParamCreator = function (configuration) {
|
|
|
22054
23154
|
// verify required parameter 'id' is not null or undefined
|
|
22055
23155
|
(0, common_1.assertParamExists)('patchCloseTicket', 'id', id);
|
|
22056
23156
|
localVarPath = "/tickets/support/{id}/close"
|
|
22057
|
-
.replace(
|
|
23157
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
22058
23158
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
22059
23159
|
if (configuration) {
|
|
22060
23160
|
baseOptions = configuration.baseOptions;
|
|
@@ -22143,7 +23243,7 @@ var TicketsApiAxiosParamCreator = function (configuration) {
|
|
|
22143
23243
|
// verify required parameter 'id' is not null or undefined
|
|
22144
23244
|
(0, common_1.assertParamExists)('postTicketReply', 'id', id);
|
|
22145
23245
|
localVarPath = "/tickets/support/{id}/reply"
|
|
22146
|
-
.replace(
|
|
23246
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
22147
23247
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
22148
23248
|
if (configuration) {
|
|
22149
23249
|
baseOptions = configuration.baseOptions;
|
|
@@ -22639,5 +23739,5 @@ exports.PostAddWebhookWebhookUriEnum = {
|
|
|
22639
23739
|
WebhookFreshdeskUpdate: '/webhook/freshdesk/update',
|
|
22640
23740
|
WebhookTest: '/webhook/test',
|
|
22641
23741
|
WebhookXeroInvoices: '/webhook/xero/invoices',
|
|
22642
|
-
WebhookTcxPhonesAdd: '/webhook/tcx/phones/add'
|
|
23742
|
+
WebhookTcxPhonesAdd: '/webhook/tcx/phones/add',
|
|
22643
23743
|
};
|