yellowgrid-api-ts 3.2.137-dev.0 → 3.2.137
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 -6
- package/api.ts +1494 -355
- 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 +783 -87
- package/dist/api.js +1390 -368
- 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 +538 -30
- 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;
|
|
@@ -560,8 +625,8 @@ var AccountsApiAxiosParamCreator = function (configuration) {
|
|
|
560
625
|
return __generator(this, function (_a) {
|
|
561
626
|
// verify required parameter 'id' is not null or undefined
|
|
562
627
|
(0, common_1.assertParamExists)('getAdminCreateAccountContact', 'id', id);
|
|
563
|
-
localVarPath = "/admin/accounts/{id}/contacts
|
|
564
|
-
.replace(
|
|
628
|
+
localVarPath = "/admin/accounts/{id}/contacts"
|
|
629
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
565
630
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
566
631
|
if (configuration) {
|
|
567
632
|
baseOptions = configuration.baseOptions;
|
|
@@ -615,22 +680,24 @@ var AccountsApiAxiosParamCreator = function (configuration) {
|
|
|
615
680
|
});
|
|
616
681
|
},
|
|
617
682
|
/**
|
|
618
|
-
* Get Account
|
|
619
|
-
* @
|
|
620
|
-
* @param {string} [email] Contact Email Address
|
|
683
|
+
* Get Account Addresses
|
|
684
|
+
* @param {string} id Xero ID
|
|
621
685
|
* @param {*} [options] Override http request option.
|
|
622
686
|
* @throws {RequiredError}
|
|
623
687
|
*/
|
|
624
|
-
|
|
688
|
+
getGetAccountAddresses: function (id_1) {
|
|
625
689
|
var args_1 = [];
|
|
626
690
|
for (var _i = 1; _i < arguments.length; _i++) {
|
|
627
691
|
args_1[_i - 1] = arguments[_i];
|
|
628
692
|
}
|
|
629
|
-
return __awaiter(_this, __spreadArray([
|
|
693
|
+
return __awaiter(_this, __spreadArray([id_1], args_1, true), void 0, function (id, options) {
|
|
630
694
|
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
631
695
|
if (options === void 0) { options = {}; }
|
|
632
696
|
return __generator(this, function (_a) {
|
|
633
|
-
|
|
697
|
+
// verify required parameter 'id' is not null or undefined
|
|
698
|
+
(0, common_1.assertParamExists)('getGetAccountAddresses', 'id', id);
|
|
699
|
+
localVarPath = "/admin/accounts/{id}/addresses"
|
|
700
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
634
701
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
635
702
|
if (configuration) {
|
|
636
703
|
baseOptions = configuration.baseOptions;
|
|
@@ -638,9 +705,6 @@ var AccountsApiAxiosParamCreator = function (configuration) {
|
|
|
638
705
|
localVarRequestOptions = __assign(__assign({ method: 'GET' }, baseOptions), options);
|
|
639
706
|
localVarHeaderParameter = {};
|
|
640
707
|
localVarQueryParameter = {};
|
|
641
|
-
if (email !== undefined) {
|
|
642
|
-
localVarQueryParameter['email'] = email;
|
|
643
|
-
}
|
|
644
708
|
localVarHeaderParameter['Accept'] = 'application/json';
|
|
645
709
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
646
710
|
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
@@ -653,25 +717,22 @@ var AccountsApiAxiosParamCreator = function (configuration) {
|
|
|
653
717
|
});
|
|
654
718
|
},
|
|
655
719
|
/**
|
|
656
|
-
* Get Account
|
|
657
|
-
* @summary Get Account
|
|
658
|
-
* @param {
|
|
720
|
+
* Get Account Contacts
|
|
721
|
+
* @summary Get Account Contacts
|
|
722
|
+
* @param {string} [email] Contact Email Address
|
|
659
723
|
* @param {*} [options] Override http request option.
|
|
660
724
|
* @throws {RequiredError}
|
|
661
725
|
*/
|
|
662
|
-
|
|
726
|
+
getGetAccountContacts: function (email_1) {
|
|
663
727
|
var args_1 = [];
|
|
664
728
|
for (var _i = 1; _i < arguments.length; _i++) {
|
|
665
729
|
args_1[_i - 1] = arguments[_i];
|
|
666
730
|
}
|
|
667
|
-
return __awaiter(_this, __spreadArray([
|
|
731
|
+
return __awaiter(_this, __spreadArray([email_1], args_1, true), void 0, function (email, options) {
|
|
668
732
|
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
669
733
|
if (options === void 0) { options = {}; }
|
|
670
734
|
return __generator(this, function (_a) {
|
|
671
|
-
|
|
672
|
-
(0, common_1.assertParamExists)('getGetAccountDetailedSummary', 'id', id);
|
|
673
|
-
localVarPath = "/accounts/{id}/summary"
|
|
674
|
-
.replace("{".concat("id", "}"), encodeURIComponent(String(id)));
|
|
735
|
+
localVarPath = "/accounts/me/contacts";
|
|
675
736
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
676
737
|
if (configuration) {
|
|
677
738
|
baseOptions = configuration.baseOptions;
|
|
@@ -679,6 +740,9 @@ var AccountsApiAxiosParamCreator = function (configuration) {
|
|
|
679
740
|
localVarRequestOptions = __assign(__assign({ method: 'GET' }, baseOptions), options);
|
|
680
741
|
localVarHeaderParameter = {};
|
|
681
742
|
localVarQueryParameter = {};
|
|
743
|
+
if (email !== undefined) {
|
|
744
|
+
localVarQueryParameter['email'] = email;
|
|
745
|
+
}
|
|
682
746
|
localVarHeaderParameter['Accept'] = 'application/json';
|
|
683
747
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
684
748
|
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
@@ -691,12 +755,13 @@ var AccountsApiAxiosParamCreator = function (configuration) {
|
|
|
691
755
|
});
|
|
692
756
|
},
|
|
693
757
|
/**
|
|
694
|
-
* Get Account
|
|
695
|
-
* @
|
|
758
|
+
* Get Account Detailed Summary
|
|
759
|
+
* @summary Get Account Detailed Summary
|
|
760
|
+
* @param {number} id Customer ID
|
|
696
761
|
* @param {*} [options] Override http request option.
|
|
697
762
|
* @throws {RequiredError}
|
|
698
763
|
*/
|
|
699
|
-
|
|
764
|
+
getGetAccountDetailedSummary: function (id_1) {
|
|
700
765
|
var args_1 = [];
|
|
701
766
|
for (var _i = 1; _i < arguments.length; _i++) {
|
|
702
767
|
args_1[_i - 1] = arguments[_i];
|
|
@@ -706,9 +771,9 @@ var AccountsApiAxiosParamCreator = function (configuration) {
|
|
|
706
771
|
if (options === void 0) { options = {}; }
|
|
707
772
|
return __generator(this, function (_a) {
|
|
708
773
|
// verify required parameter 'id' is not null or undefined
|
|
709
|
-
(0, common_1.assertParamExists)('
|
|
710
|
-
localVarPath = "/
|
|
711
|
-
.replace(
|
|
774
|
+
(0, common_1.assertParamExists)('getGetAccountDetailedSummary', 'id', id);
|
|
775
|
+
localVarPath = "/accounts/{id}/summary"
|
|
776
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
712
777
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
713
778
|
if (configuration) {
|
|
714
779
|
baseOptions = configuration.baseOptions;
|
|
@@ -845,6 +910,114 @@ var AccountsApiAxiosParamCreator = function (configuration) {
|
|
|
845
910
|
});
|
|
846
911
|
});
|
|
847
912
|
},
|
|
913
|
+
/**
|
|
914
|
+
* Get Account Finance
|
|
915
|
+
* @param {string} id Account Xero ID
|
|
916
|
+
* @param {*} [options] Override http request option.
|
|
917
|
+
* @throws {RequiredError}
|
|
918
|
+
*/
|
|
919
|
+
getGetFinanceSettings: function (id_1) {
|
|
920
|
+
var args_1 = [];
|
|
921
|
+
for (var _i = 1; _i < arguments.length; _i++) {
|
|
922
|
+
args_1[_i - 1] = arguments[_i];
|
|
923
|
+
}
|
|
924
|
+
return __awaiter(_this, __spreadArray([id_1], args_1, true), void 0, function (id, options) {
|
|
925
|
+
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
926
|
+
if (options === void 0) { options = {}; }
|
|
927
|
+
return __generator(this, function (_a) {
|
|
928
|
+
// verify required parameter 'id' is not null or undefined
|
|
929
|
+
(0, common_1.assertParamExists)('getGetFinanceSettings', 'id', id);
|
|
930
|
+
localVarPath = "/admin/accounts/{id}/finance"
|
|
931
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
932
|
+
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
933
|
+
if (configuration) {
|
|
934
|
+
baseOptions = configuration.baseOptions;
|
|
935
|
+
}
|
|
936
|
+
localVarRequestOptions = __assign(__assign({ method: 'GET' }, baseOptions), options);
|
|
937
|
+
localVarHeaderParameter = {};
|
|
938
|
+
localVarQueryParameter = {};
|
|
939
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
940
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
941
|
+
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
942
|
+
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
943
|
+
return [2 /*return*/, {
|
|
944
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
945
|
+
options: localVarRequestOptions,
|
|
946
|
+
}];
|
|
947
|
+
});
|
|
948
|
+
});
|
|
949
|
+
},
|
|
950
|
+
/**
|
|
951
|
+
* Get Last Account
|
|
952
|
+
* @summary Get Last Account
|
|
953
|
+
* @param {*} [options] Override http request option.
|
|
954
|
+
* @throws {RequiredError}
|
|
955
|
+
*/
|
|
956
|
+
getGetLastAccount: function () {
|
|
957
|
+
var args_1 = [];
|
|
958
|
+
for (var _i = 0; _i < arguments.length; _i++) {
|
|
959
|
+
args_1[_i] = arguments[_i];
|
|
960
|
+
}
|
|
961
|
+
return __awaiter(_this, __spreadArray([], args_1, true), void 0, function (options) {
|
|
962
|
+
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
963
|
+
if (options === void 0) { options = {}; }
|
|
964
|
+
return __generator(this, function (_a) {
|
|
965
|
+
localVarPath = "/admin/accounts/last";
|
|
966
|
+
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
967
|
+
if (configuration) {
|
|
968
|
+
baseOptions = configuration.baseOptions;
|
|
969
|
+
}
|
|
970
|
+
localVarRequestOptions = __assign(__assign({ method: 'GET' }, baseOptions), options);
|
|
971
|
+
localVarHeaderParameter = {};
|
|
972
|
+
localVarQueryParameter = {};
|
|
973
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
974
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
975
|
+
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
976
|
+
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
977
|
+
return [2 /*return*/, {
|
|
978
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
979
|
+
options: localVarRequestOptions,
|
|
980
|
+
}];
|
|
981
|
+
});
|
|
982
|
+
});
|
|
983
|
+
},
|
|
984
|
+
/**
|
|
985
|
+
* Get Account 3CX Details
|
|
986
|
+
* @param {string} id Xero ID
|
|
987
|
+
* @param {*} [options] Override http request option.
|
|
988
|
+
* @throws {RequiredError}
|
|
989
|
+
*/
|
|
990
|
+
getGetTcxPartnerDetails: function (id_1) {
|
|
991
|
+
var args_1 = [];
|
|
992
|
+
for (var _i = 1; _i < arguments.length; _i++) {
|
|
993
|
+
args_1[_i - 1] = arguments[_i];
|
|
994
|
+
}
|
|
995
|
+
return __awaiter(_this, __spreadArray([id_1], args_1, true), void 0, function (id, options) {
|
|
996
|
+
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
997
|
+
if (options === void 0) { options = {}; }
|
|
998
|
+
return __generator(this, function (_a) {
|
|
999
|
+
// verify required parameter 'id' is not null or undefined
|
|
1000
|
+
(0, common_1.assertParamExists)('getGetTcxPartnerDetails', 'id', id);
|
|
1001
|
+
localVarPath = "/admin/accounts/{id}/tcx/partner"
|
|
1002
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
1003
|
+
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
1004
|
+
if (configuration) {
|
|
1005
|
+
baseOptions = configuration.baseOptions;
|
|
1006
|
+
}
|
|
1007
|
+
localVarRequestOptions = __assign(__assign({ method: 'GET' }, baseOptions), options);
|
|
1008
|
+
localVarHeaderParameter = {};
|
|
1009
|
+
localVarQueryParameter = {};
|
|
1010
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
1011
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
1012
|
+
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1013
|
+
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
1014
|
+
return [2 /*return*/, {
|
|
1015
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
1016
|
+
options: localVarRequestOptions,
|
|
1017
|
+
}];
|
|
1018
|
+
});
|
|
1019
|
+
});
|
|
1020
|
+
},
|
|
848
1021
|
/**
|
|
849
1022
|
* Verify account email address
|
|
850
1023
|
* @summary Verify account email address
|
|
@@ -905,8 +1078,8 @@ var AccountsApiAxiosParamCreator = function (configuration) {
|
|
|
905
1078
|
// verify required parameter 'state' is not null or undefined
|
|
906
1079
|
(0, common_1.assertParamExists)('patchSetPortalAccess', 'state', state);
|
|
907
1080
|
localVarPath = "/admin/accounts/{id}/portal/access/{state}"
|
|
908
|
-
.replace(
|
|
909
|
-
.replace(
|
|
1081
|
+
.replace('{id}', encodeURIComponent(String(id)))
|
|
1082
|
+
.replace('{state}', encodeURIComponent(String(state)));
|
|
910
1083
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
911
1084
|
if (configuration) {
|
|
912
1085
|
baseOptions = configuration.baseOptions;
|
|
@@ -945,8 +1118,8 @@ var AccountsApiAxiosParamCreator = function (configuration) {
|
|
|
945
1118
|
// verify required parameter 'state' is not null or undefined
|
|
946
1119
|
(0, common_1.assertParamExists)('patchSetPrizePromo', 'state', state);
|
|
947
1120
|
localVarPath = "/admin/accounts/{id}/prizes/{state}"
|
|
948
|
-
.replace(
|
|
949
|
-
.replace(
|
|
1121
|
+
.replace('{id}', encodeURIComponent(String(id)))
|
|
1122
|
+
.replace('{state}', encodeURIComponent(String(state)));
|
|
950
1123
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
951
1124
|
if (configuration) {
|
|
952
1125
|
baseOptions = configuration.baseOptions;
|
|
@@ -1018,7 +1191,7 @@ var AccountsApiAxiosParamCreator = function (configuration) {
|
|
|
1018
1191
|
// verify required parameter 'id' is not null or undefined
|
|
1019
1192
|
(0, common_1.assertParamExists)('patchUpdateAccountCname', 'id', id);
|
|
1020
1193
|
localVarPath = "/admin/accounts/{id}/cname"
|
|
1021
|
-
.replace(
|
|
1194
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
1022
1195
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
1023
1196
|
if (configuration) {
|
|
1024
1197
|
baseOptions = configuration.baseOptions;
|
|
@@ -1057,7 +1230,7 @@ var AccountsApiAxiosParamCreator = function (configuration) {
|
|
|
1057
1230
|
// verify required parameter 'id' is not null or undefined
|
|
1058
1231
|
(0, common_1.assertParamExists)('patchUpdateAccountCompanyNumber', 'id', id);
|
|
1059
1232
|
localVarPath = "/admin/accounts/{id}/companyNumber"
|
|
1060
|
-
.replace(
|
|
1233
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
1061
1234
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
1062
1235
|
if (configuration) {
|
|
1063
1236
|
baseOptions = configuration.baseOptions;
|
|
@@ -1138,7 +1311,7 @@ var AccountsApiAxiosParamCreator = function (configuration) {
|
|
|
1138
1311
|
// verify required parameter 'id' is not null or undefined
|
|
1139
1312
|
(0, common_1.assertParamExists)('patchUpdateAccountPhone', 'id', id);
|
|
1140
1313
|
localVarPath = "/admin/accounts/{id}/phone"
|
|
1141
|
-
.replace(
|
|
1314
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
1142
1315
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
1143
1316
|
if (configuration) {
|
|
1144
1317
|
baseOptions = configuration.baseOptions;
|
|
@@ -1177,7 +1350,7 @@ var AccountsApiAxiosParamCreator = function (configuration) {
|
|
|
1177
1350
|
// verify required parameter 'id' is not null or undefined
|
|
1178
1351
|
(0, common_1.assertParamExists)('patchUpdateAccountVatNumber', 'id', id);
|
|
1179
1352
|
localVarPath = "/admin/accounts/{id}/vatNumber"
|
|
1180
|
-
.replace(
|
|
1353
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
1181
1354
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
1182
1355
|
if (configuration) {
|
|
1183
1356
|
baseOptions = configuration.baseOptions;
|
|
@@ -1198,37 +1371,38 @@ var AccountsApiAxiosParamCreator = function (configuration) {
|
|
|
1198
1371
|
});
|
|
1199
1372
|
},
|
|
1200
1373
|
/**
|
|
1201
|
-
*
|
|
1202
|
-
* @param {string} id
|
|
1203
|
-
* @param {
|
|
1374
|
+
* Set Account Credit Limit
|
|
1375
|
+
* @param {string} id Xero ID
|
|
1376
|
+
* @param {PatchUpdateCreditLimitRequest} [patchUpdateCreditLimitRequest] Credit Limit Request
|
|
1204
1377
|
* @param {*} [options] Override http request option.
|
|
1205
1378
|
* @throws {RequiredError}
|
|
1206
1379
|
*/
|
|
1207
|
-
|
|
1380
|
+
patchUpdateCreditLimit: function (id_1, patchUpdateCreditLimitRequest_1) {
|
|
1208
1381
|
var args_1 = [];
|
|
1209
1382
|
for (var _i = 2; _i < arguments.length; _i++) {
|
|
1210
1383
|
args_1[_i - 2] = arguments[_i];
|
|
1211
1384
|
}
|
|
1212
|
-
return __awaiter(_this, __spreadArray([id_1,
|
|
1385
|
+
return __awaiter(_this, __spreadArray([id_1, patchUpdateCreditLimitRequest_1], args_1, true), void 0, function (id, patchUpdateCreditLimitRequest, options) {
|
|
1213
1386
|
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
1214
1387
|
if (options === void 0) { options = {}; }
|
|
1215
1388
|
return __generator(this, function (_a) {
|
|
1216
1389
|
// verify required parameter 'id' is not null or undefined
|
|
1217
|
-
(0, common_1.assertParamExists)('
|
|
1218
|
-
localVarPath = "/admin/accounts/{id}/
|
|
1219
|
-
.replace(
|
|
1390
|
+
(0, common_1.assertParamExists)('patchUpdateCreditLimit', 'id', id);
|
|
1391
|
+
localVarPath = "/admin/accounts/{id}/creditLimit"
|
|
1392
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
1220
1393
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
1221
1394
|
if (configuration) {
|
|
1222
1395
|
baseOptions = configuration.baseOptions;
|
|
1223
1396
|
}
|
|
1224
|
-
localVarRequestOptions = __assign(__assign({ method: '
|
|
1397
|
+
localVarRequestOptions = __assign(__assign({ method: 'PATCH' }, baseOptions), options);
|
|
1225
1398
|
localVarHeaderParameter = {};
|
|
1226
1399
|
localVarQueryParameter = {};
|
|
1227
1400
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
1401
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
1228
1402
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
1229
1403
|
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1230
1404
|
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
1231
|
-
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(
|
|
1405
|
+
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(patchUpdateCreditLimitRequest, localVarRequestOptions, configuration);
|
|
1232
1406
|
return [2 /*return*/, {
|
|
1233
1407
|
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
1234
1408
|
options: localVarRequestOptions,
|
|
@@ -1237,34 +1411,38 @@ var AccountsApiAxiosParamCreator = function (configuration) {
|
|
|
1237
1411
|
});
|
|
1238
1412
|
},
|
|
1239
1413
|
/**
|
|
1240
|
-
*
|
|
1241
|
-
* @
|
|
1242
|
-
* @param {
|
|
1414
|
+
* Set Account Price List
|
|
1415
|
+
* @param {string} id Xero ID
|
|
1416
|
+
* @param {PatchUpdatePriceListRequest} [patchUpdatePriceListRequest] Price List Request
|
|
1243
1417
|
* @param {*} [options] Override http request option.
|
|
1244
1418
|
* @throws {RequiredError}
|
|
1245
1419
|
*/
|
|
1246
|
-
|
|
1420
|
+
patchUpdatePriceList: function (id_1, patchUpdatePriceListRequest_1) {
|
|
1247
1421
|
var args_1 = [];
|
|
1248
|
-
for (var _i =
|
|
1249
|
-
args_1[_i -
|
|
1422
|
+
for (var _i = 2; _i < arguments.length; _i++) {
|
|
1423
|
+
args_1[_i - 2] = arguments[_i];
|
|
1250
1424
|
}
|
|
1251
|
-
return __awaiter(_this, __spreadArray([
|
|
1425
|
+
return __awaiter(_this, __spreadArray([id_1, patchUpdatePriceListRequest_1], args_1, true), void 0, function (id, patchUpdatePriceListRequest, options) {
|
|
1252
1426
|
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
1253
1427
|
if (options === void 0) { options = {}; }
|
|
1254
1428
|
return __generator(this, function (_a) {
|
|
1255
|
-
|
|
1429
|
+
// verify required parameter 'id' is not null or undefined
|
|
1430
|
+
(0, common_1.assertParamExists)('patchUpdatePriceList', 'id', id);
|
|
1431
|
+
localVarPath = "/admin/accounts/{id}/priceList"
|
|
1432
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
1256
1433
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
1257
1434
|
if (configuration) {
|
|
1258
1435
|
baseOptions = configuration.baseOptions;
|
|
1259
1436
|
}
|
|
1260
|
-
localVarRequestOptions = __assign(__assign({ method: '
|
|
1437
|
+
localVarRequestOptions = __assign(__assign({ method: 'PATCH' }, baseOptions), options);
|
|
1261
1438
|
localVarHeaderParameter = {};
|
|
1262
1439
|
localVarQueryParameter = {};
|
|
1263
1440
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
1441
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
1264
1442
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
1265
1443
|
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1266
1444
|
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
1267
|
-
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(
|
|
1445
|
+
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(patchUpdatePriceListRequest, localVarRequestOptions, configuration);
|
|
1268
1446
|
return [2 /*return*/, {
|
|
1269
1447
|
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
1270
1448
|
options: localVarRequestOptions,
|
|
@@ -1273,27 +1451,30 @@ var AccountsApiAxiosParamCreator = function (configuration) {
|
|
|
1273
1451
|
});
|
|
1274
1452
|
},
|
|
1275
1453
|
/**
|
|
1276
|
-
*
|
|
1277
|
-
* @
|
|
1278
|
-
* @param {
|
|
1454
|
+
* Set Account SIP Channel Cost
|
|
1455
|
+
* @param {string} id Xero ID
|
|
1456
|
+
* @param {PatchUpdateSipChannelCostRequest} [patchUpdateSipChannelCostRequest] SIP Channel Cost Request
|
|
1279
1457
|
* @param {*} [options] Override http request option.
|
|
1280
1458
|
* @throws {RequiredError}
|
|
1281
1459
|
*/
|
|
1282
|
-
|
|
1460
|
+
patchUpdateSipChannelCost: function (id_1, patchUpdateSipChannelCostRequest_1) {
|
|
1283
1461
|
var args_1 = [];
|
|
1284
|
-
for (var _i =
|
|
1285
|
-
args_1[_i -
|
|
1462
|
+
for (var _i = 2; _i < arguments.length; _i++) {
|
|
1463
|
+
args_1[_i - 2] = arguments[_i];
|
|
1286
1464
|
}
|
|
1287
|
-
return __awaiter(_this, __spreadArray([
|
|
1465
|
+
return __awaiter(_this, __spreadArray([id_1, patchUpdateSipChannelCostRequest_1], args_1, true), void 0, function (id, patchUpdateSipChannelCostRequest, options) {
|
|
1288
1466
|
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
1289
1467
|
if (options === void 0) { options = {}; }
|
|
1290
1468
|
return __generator(this, function (_a) {
|
|
1291
|
-
|
|
1469
|
+
// verify required parameter 'id' is not null or undefined
|
|
1470
|
+
(0, common_1.assertParamExists)('patchUpdateSipChannelCost', 'id', id);
|
|
1471
|
+
localVarPath = "/admin/accounts/{id}/channelCost"
|
|
1472
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
1292
1473
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
1293
1474
|
if (configuration) {
|
|
1294
1475
|
baseOptions = configuration.baseOptions;
|
|
1295
1476
|
}
|
|
1296
|
-
localVarRequestOptions = __assign(__assign({ method: '
|
|
1477
|
+
localVarRequestOptions = __assign(__assign({ method: 'PATCH' }, baseOptions), options);
|
|
1297
1478
|
localVarHeaderParameter = {};
|
|
1298
1479
|
localVarQueryParameter = {};
|
|
1299
1480
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
@@ -1301,7 +1482,7 @@ var AccountsApiAxiosParamCreator = function (configuration) {
|
|
|
1301
1482
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
1302
1483
|
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1303
1484
|
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
1304
|
-
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(
|
|
1485
|
+
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(patchUpdateSipChannelCostRequest, localVarRequestOptions, configuration);
|
|
1305
1486
|
return [2 /*return*/, {
|
|
1306
1487
|
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
1307
1488
|
options: localVarRequestOptions,
|
|
@@ -1310,32 +1491,38 @@ var AccountsApiAxiosParamCreator = function (configuration) {
|
|
|
1310
1491
|
});
|
|
1311
1492
|
},
|
|
1312
1493
|
/**
|
|
1313
|
-
*
|
|
1314
|
-
* @
|
|
1494
|
+
* Set Account 3CX Hosting Price List
|
|
1495
|
+
* @param {string} id Xero ID
|
|
1496
|
+
* @param {PatchUpdateTcxHostingPriceListRequest} [patchUpdateTcxHostingPriceListRequest] 3CX Hosting Price List Request
|
|
1315
1497
|
* @param {*} [options] Override http request option.
|
|
1316
1498
|
* @throws {RequiredError}
|
|
1317
1499
|
*/
|
|
1318
|
-
|
|
1500
|
+
patchUpdateTcxHostingPriceList: function (id_1, patchUpdateTcxHostingPriceListRequest_1) {
|
|
1319
1501
|
var args_1 = [];
|
|
1320
|
-
for (var _i =
|
|
1321
|
-
args_1[_i] = arguments[_i];
|
|
1502
|
+
for (var _i = 2; _i < arguments.length; _i++) {
|
|
1503
|
+
args_1[_i - 2] = arguments[_i];
|
|
1322
1504
|
}
|
|
1323
|
-
return __awaiter(_this, __spreadArray([], args_1, true), void 0, function (options) {
|
|
1505
|
+
return __awaiter(_this, __spreadArray([id_1, patchUpdateTcxHostingPriceListRequest_1], args_1, true), void 0, function (id, patchUpdateTcxHostingPriceListRequest, options) {
|
|
1324
1506
|
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
1325
1507
|
if (options === void 0) { options = {}; }
|
|
1326
1508
|
return __generator(this, function (_a) {
|
|
1327
|
-
|
|
1509
|
+
// verify required parameter 'id' is not null or undefined
|
|
1510
|
+
(0, common_1.assertParamExists)('patchUpdateTcxHostingPriceList', 'id', id);
|
|
1511
|
+
localVarPath = "/admin/accounts/{id}/tcx/hosting/priceList"
|
|
1512
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
1328
1513
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
1329
1514
|
if (configuration) {
|
|
1330
1515
|
baseOptions = configuration.baseOptions;
|
|
1331
1516
|
}
|
|
1332
|
-
localVarRequestOptions = __assign(__assign({ method: '
|
|
1517
|
+
localVarRequestOptions = __assign(__assign({ method: 'PATCH' }, baseOptions), options);
|
|
1333
1518
|
localVarHeaderParameter = {};
|
|
1334
1519
|
localVarQueryParameter = {};
|
|
1520
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
1335
1521
|
localVarHeaderParameter['Accept'] = 'application/json';
|
|
1336
1522
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
1337
1523
|
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1338
1524
|
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
1525
|
+
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(patchUpdateTcxHostingPriceListRequest, localVarRequestOptions, configuration);
|
|
1339
1526
|
return [2 /*return*/, {
|
|
1340
1527
|
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
1341
1528
|
options: localVarRequestOptions,
|
|
@@ -1344,27 +1531,30 @@ var AccountsApiAxiosParamCreator = function (configuration) {
|
|
|
1344
1531
|
});
|
|
1345
1532
|
},
|
|
1346
1533
|
/**
|
|
1347
|
-
*
|
|
1348
|
-
* @
|
|
1349
|
-
* @param {
|
|
1534
|
+
* Set Account 3CX Partner ID
|
|
1535
|
+
* @param {string} id Xero ID
|
|
1536
|
+
* @param {PatchUpdateTcxPartnerIdRequest} [patchUpdateTcxPartnerIdRequest] Set Account 3CX Partner ID
|
|
1350
1537
|
* @param {*} [options] Override http request option.
|
|
1351
1538
|
* @throws {RequiredError}
|
|
1352
1539
|
*/
|
|
1353
|
-
|
|
1540
|
+
patchUpdateTcxPartnerId: function (id_1, patchUpdateTcxPartnerIdRequest_1) {
|
|
1354
1541
|
var args_1 = [];
|
|
1355
|
-
for (var _i =
|
|
1356
|
-
args_1[_i -
|
|
1542
|
+
for (var _i = 2; _i < arguments.length; _i++) {
|
|
1543
|
+
args_1[_i - 2] = arguments[_i];
|
|
1357
1544
|
}
|
|
1358
|
-
return __awaiter(_this, __spreadArray([
|
|
1545
|
+
return __awaiter(_this, __spreadArray([id_1, patchUpdateTcxPartnerIdRequest_1], args_1, true), void 0, function (id, patchUpdateTcxPartnerIdRequest, options) {
|
|
1359
1546
|
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
1360
1547
|
if (options === void 0) { options = {}; }
|
|
1361
1548
|
return __generator(this, function (_a) {
|
|
1362
|
-
|
|
1549
|
+
// verify required parameter 'id' is not null or undefined
|
|
1550
|
+
(0, common_1.assertParamExists)('patchUpdateTcxPartnerId', 'id', id);
|
|
1551
|
+
localVarPath = "/admin/accounts{id}/tcx/partner/id"
|
|
1552
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
1363
1553
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
1364
1554
|
if (configuration) {
|
|
1365
1555
|
baseOptions = configuration.baseOptions;
|
|
1366
1556
|
}
|
|
1367
|
-
localVarRequestOptions = __assign(__assign({ method: '
|
|
1557
|
+
localVarRequestOptions = __assign(__assign({ method: 'PATCH' }, baseOptions), options);
|
|
1368
1558
|
localVarHeaderParameter = {};
|
|
1369
1559
|
localVarQueryParameter = {};
|
|
1370
1560
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
@@ -1372,7 +1562,7 @@ var AccountsApiAxiosParamCreator = function (configuration) {
|
|
|
1372
1562
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
1373
1563
|
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1374
1564
|
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
1375
|
-
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(
|
|
1565
|
+
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(patchUpdateTcxPartnerIdRequest, localVarRequestOptions, configuration);
|
|
1376
1566
|
return [2 /*return*/, {
|
|
1377
1567
|
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
1378
1568
|
options: localVarRequestOptions,
|
|
@@ -1381,17 +1571,200 @@ var AccountsApiAxiosParamCreator = function (configuration) {
|
|
|
1381
1571
|
});
|
|
1382
1572
|
},
|
|
1383
1573
|
/**
|
|
1384
|
-
*
|
|
1385
|
-
* @
|
|
1386
|
-
* @param {
|
|
1574
|
+
* Create Account Contact
|
|
1575
|
+
* @param {string} id Account Xero ID
|
|
1576
|
+
* @param {AccountContactRequestModel} [accountContactRequestModel] Create Account Contact Request
|
|
1387
1577
|
* @param {*} [options] Override http request option.
|
|
1388
1578
|
* @throws {RequiredError}
|
|
1389
1579
|
*/
|
|
1390
|
-
|
|
1580
|
+
postAdminCreateAccountContact: function (id_1, accountContactRequestModel_1) {
|
|
1391
1581
|
var args_1 = [];
|
|
1392
|
-
for (var _i =
|
|
1393
|
-
args_1[_i -
|
|
1394
|
-
}
|
|
1582
|
+
for (var _i = 2; _i < arguments.length; _i++) {
|
|
1583
|
+
args_1[_i - 2] = arguments[_i];
|
|
1584
|
+
}
|
|
1585
|
+
return __awaiter(_this, __spreadArray([id_1, accountContactRequestModel_1], args_1, true), void 0, function (id, accountContactRequestModel, options) {
|
|
1586
|
+
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
1587
|
+
if (options === void 0) { options = {}; }
|
|
1588
|
+
return __generator(this, function (_a) {
|
|
1589
|
+
// verify required parameter 'id' is not null or undefined
|
|
1590
|
+
(0, common_1.assertParamExists)('postAdminCreateAccountContact', 'id', id);
|
|
1591
|
+
localVarPath = "/admin/accounts/{id}/contacts"
|
|
1592
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
1593
|
+
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
1594
|
+
if (configuration) {
|
|
1595
|
+
baseOptions = configuration.baseOptions;
|
|
1596
|
+
}
|
|
1597
|
+
localVarRequestOptions = __assign(__assign({ method: 'POST' }, baseOptions), options);
|
|
1598
|
+
localVarHeaderParameter = {};
|
|
1599
|
+
localVarQueryParameter = {};
|
|
1600
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
1601
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
1602
|
+
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1603
|
+
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
1604
|
+
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(accountContactRequestModel, localVarRequestOptions, configuration);
|
|
1605
|
+
return [2 /*return*/, {
|
|
1606
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
1607
|
+
options: localVarRequestOptions,
|
|
1608
|
+
}];
|
|
1609
|
+
});
|
|
1610
|
+
});
|
|
1611
|
+
},
|
|
1612
|
+
/**
|
|
1613
|
+
* Add Account Contacts
|
|
1614
|
+
* @summary Add Account Contact
|
|
1615
|
+
* @param {AccountContactRequestModel} [accountContactRequestModel] New account request
|
|
1616
|
+
* @param {*} [options] Override http request option.
|
|
1617
|
+
* @throws {RequiredError}
|
|
1618
|
+
*/
|
|
1619
|
+
postGetAccountContacts: function (accountContactRequestModel_1) {
|
|
1620
|
+
var args_1 = [];
|
|
1621
|
+
for (var _i = 1; _i < arguments.length; _i++) {
|
|
1622
|
+
args_1[_i - 1] = arguments[_i];
|
|
1623
|
+
}
|
|
1624
|
+
return __awaiter(_this, __spreadArray([accountContactRequestModel_1], args_1, true), void 0, function (accountContactRequestModel, options) {
|
|
1625
|
+
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
1626
|
+
if (options === void 0) { options = {}; }
|
|
1627
|
+
return __generator(this, function (_a) {
|
|
1628
|
+
localVarPath = "/accounts/me/contacts";
|
|
1629
|
+
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
1630
|
+
if (configuration) {
|
|
1631
|
+
baseOptions = configuration.baseOptions;
|
|
1632
|
+
}
|
|
1633
|
+
localVarRequestOptions = __assign(__assign({ method: 'POST' }, baseOptions), options);
|
|
1634
|
+
localVarHeaderParameter = {};
|
|
1635
|
+
localVarQueryParameter = {};
|
|
1636
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
1637
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
1638
|
+
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1639
|
+
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
1640
|
+
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(accountContactRequestModel, localVarRequestOptions, configuration);
|
|
1641
|
+
return [2 /*return*/, {
|
|
1642
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
1643
|
+
options: localVarRequestOptions,
|
|
1644
|
+
}];
|
|
1645
|
+
});
|
|
1646
|
+
});
|
|
1647
|
+
},
|
|
1648
|
+
/**
|
|
1649
|
+
* Create new customer account
|
|
1650
|
+
* @summary Create a new customer account
|
|
1651
|
+
* @param {AccountRequestModel} [accountRequestModel] New account request
|
|
1652
|
+
* @param {*} [options] Override http request option.
|
|
1653
|
+
* @throws {RequiredError}
|
|
1654
|
+
*/
|
|
1655
|
+
postGetAccounts: function (accountRequestModel_1) {
|
|
1656
|
+
var args_1 = [];
|
|
1657
|
+
for (var _i = 1; _i < arguments.length; _i++) {
|
|
1658
|
+
args_1[_i - 1] = arguments[_i];
|
|
1659
|
+
}
|
|
1660
|
+
return __awaiter(_this, __spreadArray([accountRequestModel_1], args_1, true), void 0, function (accountRequestModel, options) {
|
|
1661
|
+
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
1662
|
+
if (options === void 0) { options = {}; }
|
|
1663
|
+
return __generator(this, function (_a) {
|
|
1664
|
+
localVarPath = "/accounts";
|
|
1665
|
+
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
1666
|
+
if (configuration) {
|
|
1667
|
+
baseOptions = configuration.baseOptions;
|
|
1668
|
+
}
|
|
1669
|
+
localVarRequestOptions = __assign(__assign({ method: 'POST' }, baseOptions), options);
|
|
1670
|
+
localVarHeaderParameter = {};
|
|
1671
|
+
localVarQueryParameter = {};
|
|
1672
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
1673
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
1674
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
1675
|
+
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1676
|
+
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
1677
|
+
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(accountRequestModel, localVarRequestOptions, configuration);
|
|
1678
|
+
return [2 /*return*/, {
|
|
1679
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
1680
|
+
options: localVarRequestOptions,
|
|
1681
|
+
}];
|
|
1682
|
+
});
|
|
1683
|
+
});
|
|
1684
|
+
},
|
|
1685
|
+
/**
|
|
1686
|
+
* Get Admin Account
|
|
1687
|
+
* @summary Get Admin Account
|
|
1688
|
+
* @param {*} [options] Override http request option.
|
|
1689
|
+
* @throws {RequiredError}
|
|
1690
|
+
*/
|
|
1691
|
+
postGetAdminAccount: function () {
|
|
1692
|
+
var args_1 = [];
|
|
1693
|
+
for (var _i = 0; _i < arguments.length; _i++) {
|
|
1694
|
+
args_1[_i] = arguments[_i];
|
|
1695
|
+
}
|
|
1696
|
+
return __awaiter(_this, __spreadArray([], args_1, true), void 0, function (options) {
|
|
1697
|
+
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
1698
|
+
if (options === void 0) { options = {}; }
|
|
1699
|
+
return __generator(this, function (_a) {
|
|
1700
|
+
localVarPath = "/admin/me";
|
|
1701
|
+
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
1702
|
+
if (configuration) {
|
|
1703
|
+
baseOptions = configuration.baseOptions;
|
|
1704
|
+
}
|
|
1705
|
+
localVarRequestOptions = __assign(__assign({ method: 'POST' }, baseOptions), options);
|
|
1706
|
+
localVarHeaderParameter = {};
|
|
1707
|
+
localVarQueryParameter = {};
|
|
1708
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
1709
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
1710
|
+
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1711
|
+
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
1712
|
+
return [2 /*return*/, {
|
|
1713
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
1714
|
+
options: localVarRequestOptions,
|
|
1715
|
+
}];
|
|
1716
|
+
});
|
|
1717
|
+
});
|
|
1718
|
+
},
|
|
1719
|
+
/**
|
|
1720
|
+
* Create client credentials
|
|
1721
|
+
* @summary Create client credentials
|
|
1722
|
+
* @param {PostGetClientCredentialsRequest} [postGetClientCredentialsRequest] New client credentials request
|
|
1723
|
+
* @param {*} [options] Override http request option.
|
|
1724
|
+
* @throws {RequiredError}
|
|
1725
|
+
*/
|
|
1726
|
+
postGetClientCredentials: function (postGetClientCredentialsRequest_1) {
|
|
1727
|
+
var args_1 = [];
|
|
1728
|
+
for (var _i = 1; _i < arguments.length; _i++) {
|
|
1729
|
+
args_1[_i - 1] = arguments[_i];
|
|
1730
|
+
}
|
|
1731
|
+
return __awaiter(_this, __spreadArray([postGetClientCredentialsRequest_1], args_1, true), void 0, function (postGetClientCredentialsRequest, options) {
|
|
1732
|
+
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
1733
|
+
if (options === void 0) { options = {}; }
|
|
1734
|
+
return __generator(this, function (_a) {
|
|
1735
|
+
localVarPath = "/accounts/me/contacts/credentials";
|
|
1736
|
+
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
1737
|
+
if (configuration) {
|
|
1738
|
+
baseOptions = configuration.baseOptions;
|
|
1739
|
+
}
|
|
1740
|
+
localVarRequestOptions = __assign(__assign({ method: 'POST' }, baseOptions), options);
|
|
1741
|
+
localVarHeaderParameter = {};
|
|
1742
|
+
localVarQueryParameter = {};
|
|
1743
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
1744
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
1745
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
1746
|
+
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1747
|
+
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
1748
|
+
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(postGetClientCredentialsRequest, localVarRequestOptions, configuration);
|
|
1749
|
+
return [2 /*return*/, {
|
|
1750
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
1751
|
+
options: localVarRequestOptions,
|
|
1752
|
+
}];
|
|
1753
|
+
});
|
|
1754
|
+
});
|
|
1755
|
+
},
|
|
1756
|
+
/**
|
|
1757
|
+
* Send email verification email
|
|
1758
|
+
* @summary Send email verification email
|
|
1759
|
+
* @param {string} email Email Address
|
|
1760
|
+
* @param {*} [options] Override http request option.
|
|
1761
|
+
* @throws {RequiredError}
|
|
1762
|
+
*/
|
|
1763
|
+
postSendEmailVerificationEmail: function (email_1) {
|
|
1764
|
+
var args_1 = [];
|
|
1765
|
+
for (var _i = 1; _i < arguments.length; _i++) {
|
|
1766
|
+
args_1[_i - 1] = arguments[_i];
|
|
1767
|
+
}
|
|
1395
1768
|
return __awaiter(_this, __spreadArray([email_1], args_1, true), void 0, function (email, options) {
|
|
1396
1769
|
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
1397
1770
|
if (options === void 0) { options = {}; }
|
|
@@ -1399,7 +1772,7 @@ var AccountsApiAxiosParamCreator = function (configuration) {
|
|
|
1399
1772
|
// verify required parameter 'email' is not null or undefined
|
|
1400
1773
|
(0, common_1.assertParamExists)('postSendEmailVerificationEmail', 'email', email);
|
|
1401
1774
|
localVarPath = "/accounts/contacts/verify/{email}"
|
|
1402
|
-
.replace(
|
|
1775
|
+
.replace('{email}', encodeURIComponent(String(email)));
|
|
1403
1776
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
1404
1777
|
if (configuration) {
|
|
1405
1778
|
baseOptions = configuration.baseOptions;
|
|
@@ -1475,7 +1848,7 @@ var AccountsApiAxiosParamCreator = function (configuration) {
|
|
|
1475
1848
|
// verify required parameter 'id' is not null or undefined
|
|
1476
1849
|
(0, common_1.assertParamExists)('postSendWelcomeEmail', 'id', id);
|
|
1477
1850
|
localVarPath = "/admin/accounts/{id}/email/welcome"
|
|
1478
|
-
.replace(
|
|
1851
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
1479
1852
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
1480
1853
|
if (configuration) {
|
|
1481
1854
|
baseOptions = configuration.baseOptions;
|
|
@@ -1562,8 +1935,8 @@ var AccountsApiAxiosParamCreator = function (configuration) {
|
|
|
1562
1935
|
// verify required parameter 'contactId' is not null or undefined
|
|
1563
1936
|
(0, common_1.assertParamExists)('putAdminUpdateAccountContact', 'contactId', contactId);
|
|
1564
1937
|
localVarPath = "/admin/accounts/{id}/contacts/{contact_id}"
|
|
1565
|
-
.replace(
|
|
1566
|
-
.replace(
|
|
1938
|
+
.replace('{id}', encodeURIComponent(String(id)))
|
|
1939
|
+
.replace('{contact_id}', encodeURIComponent(String(contactId)));
|
|
1567
1940
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
1568
1941
|
if (configuration) {
|
|
1569
1942
|
baseOptions = configuration.baseOptions;
|
|
@@ -1603,7 +1976,7 @@ var AccountsApiAxiosParamCreator = function (configuration) {
|
|
|
1603
1976
|
// verify required parameter 'email' is not null or undefined
|
|
1604
1977
|
(0, common_1.assertParamExists)('putUpdateAccountContact', 'email', email);
|
|
1605
1978
|
localVarPath = "/accounts/me/contacts/{email}"
|
|
1606
|
-
.replace(
|
|
1979
|
+
.replace('{email}', encodeURIComponent(String(email)));
|
|
1607
1980
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
1608
1981
|
if (configuration) {
|
|
1609
1982
|
baseOptions = configuration.baseOptions;
|
|
@@ -1642,7 +2015,7 @@ var AccountsApiAxiosParamCreator = function (configuration) {
|
|
|
1642
2015
|
// verify required parameter 'id' is not null or undefined
|
|
1643
2016
|
(0, common_1.assertParamExists)('putUpdateBillingAddress', 'id', id);
|
|
1644
2017
|
localVarPath = "/admin/accounts/{id}/billing/address"
|
|
1645
|
-
.replace(
|
|
2018
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
1646
2019
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
1647
2020
|
if (configuration) {
|
|
1648
2021
|
baseOptions = configuration.baseOptions;
|
|
@@ -1681,7 +2054,7 @@ var AccountsApiAxiosParamCreator = function (configuration) {
|
|
|
1681
2054
|
// verify required parameter 'id' is not null or undefined
|
|
1682
2055
|
(0, common_1.assertParamExists)('putUpdateShippingAddress', 'id', id);
|
|
1683
2056
|
localVarPath = "/admin/accounts/{id}/shipping/address"
|
|
1684
|
-
.replace(
|
|
2057
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
1685
2058
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
1686
2059
|
if (configuration) {
|
|
1687
2060
|
baseOptions = configuration.baseOptions;
|
|
@@ -1733,6 +2106,28 @@ var AccountsApiFp = function (configuration) {
|
|
|
1733
2106
|
});
|
|
1734
2107
|
});
|
|
1735
2108
|
},
|
|
2109
|
+
/**
|
|
2110
|
+
* Delete Account
|
|
2111
|
+
* @param {string} id Account Xero ID
|
|
2112
|
+
* @param {*} [options] Override http request option.
|
|
2113
|
+
* @throws {RequiredError}
|
|
2114
|
+
*/
|
|
2115
|
+
deleteArchiveAccount: function (id, options) {
|
|
2116
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
2117
|
+
var localVarAxiosArgs, localVarOperationServerIndex, localVarOperationServerBasePath;
|
|
2118
|
+
var _a, _b, _c;
|
|
2119
|
+
return __generator(this, function (_d) {
|
|
2120
|
+
switch (_d.label) {
|
|
2121
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.deleteArchiveAccount(id, options)];
|
|
2122
|
+
case 1:
|
|
2123
|
+
localVarAxiosArgs = _d.sent();
|
|
2124
|
+
localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
2125
|
+
localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['AccountsApi.deleteArchiveAccount']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
2126
|
+
return [2 /*return*/, function (axios, basePath) { return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath); }];
|
|
2127
|
+
}
|
|
2128
|
+
});
|
|
2129
|
+
});
|
|
2130
|
+
},
|
|
1736
2131
|
/**
|
|
1737
2132
|
* Delete client credentials
|
|
1738
2133
|
* @summary Delete client credentials
|
|
@@ -1824,68 +2219,68 @@ var AccountsApiFp = function (configuration) {
|
|
|
1824
2219
|
});
|
|
1825
2220
|
},
|
|
1826
2221
|
/**
|
|
1827
|
-
* Get Account
|
|
1828
|
-
* @
|
|
1829
|
-
* @param {string} [email] Contact Email Address
|
|
2222
|
+
* Get Account Addresses
|
|
2223
|
+
* @param {string} id Xero ID
|
|
1830
2224
|
* @param {*} [options] Override http request option.
|
|
1831
2225
|
* @throws {RequiredError}
|
|
1832
2226
|
*/
|
|
1833
|
-
|
|
2227
|
+
getGetAccountAddresses: function (id, options) {
|
|
1834
2228
|
return __awaiter(this, void 0, void 0, function () {
|
|
1835
2229
|
var localVarAxiosArgs, localVarOperationServerIndex, localVarOperationServerBasePath;
|
|
1836
2230
|
var _a, _b, _c;
|
|
1837
2231
|
return __generator(this, function (_d) {
|
|
1838
2232
|
switch (_d.label) {
|
|
1839
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.
|
|
2233
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.getGetAccountAddresses(id, options)];
|
|
1840
2234
|
case 1:
|
|
1841
2235
|
localVarAxiosArgs = _d.sent();
|
|
1842
2236
|
localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
1843
|
-
localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['AccountsApi.
|
|
2237
|
+
localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['AccountsApi.getGetAccountAddresses']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
1844
2238
|
return [2 /*return*/, function (axios, basePath) { return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath); }];
|
|
1845
2239
|
}
|
|
1846
2240
|
});
|
|
1847
2241
|
});
|
|
1848
2242
|
},
|
|
1849
2243
|
/**
|
|
1850
|
-
* Get Account
|
|
1851
|
-
* @summary Get Account
|
|
1852
|
-
* @param {
|
|
2244
|
+
* Get Account Contacts
|
|
2245
|
+
* @summary Get Account Contacts
|
|
2246
|
+
* @param {string} [email] Contact Email Address
|
|
1853
2247
|
* @param {*} [options] Override http request option.
|
|
1854
2248
|
* @throws {RequiredError}
|
|
1855
2249
|
*/
|
|
1856
|
-
|
|
2250
|
+
getGetAccountContacts: function (email, options) {
|
|
1857
2251
|
return __awaiter(this, void 0, void 0, function () {
|
|
1858
2252
|
var localVarAxiosArgs, localVarOperationServerIndex, localVarOperationServerBasePath;
|
|
1859
2253
|
var _a, _b, _c;
|
|
1860
2254
|
return __generator(this, function (_d) {
|
|
1861
2255
|
switch (_d.label) {
|
|
1862
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.
|
|
2256
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.getGetAccountContacts(email, options)];
|
|
1863
2257
|
case 1:
|
|
1864
2258
|
localVarAxiosArgs = _d.sent();
|
|
1865
2259
|
localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
1866
|
-
localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['AccountsApi.
|
|
2260
|
+
localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['AccountsApi.getGetAccountContacts']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
1867
2261
|
return [2 /*return*/, function (axios, basePath) { return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath); }];
|
|
1868
2262
|
}
|
|
1869
2263
|
});
|
|
1870
2264
|
});
|
|
1871
2265
|
},
|
|
1872
2266
|
/**
|
|
1873
|
-
* Get Account
|
|
1874
|
-
* @
|
|
2267
|
+
* Get Account Detailed Summary
|
|
2268
|
+
* @summary Get Account Detailed Summary
|
|
2269
|
+
* @param {number} id Customer ID
|
|
1875
2270
|
* @param {*} [options] Override http request option.
|
|
1876
2271
|
* @throws {RequiredError}
|
|
1877
2272
|
*/
|
|
1878
|
-
|
|
2273
|
+
getGetAccountDetailedSummary: function (id, options) {
|
|
1879
2274
|
return __awaiter(this, void 0, void 0, function () {
|
|
1880
2275
|
var localVarAxiosArgs, localVarOperationServerIndex, localVarOperationServerBasePath;
|
|
1881
2276
|
var _a, _b, _c;
|
|
1882
2277
|
return __generator(this, function (_d) {
|
|
1883
2278
|
switch (_d.label) {
|
|
1884
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.
|
|
2279
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.getGetAccountDetailedSummary(id, options)];
|
|
1885
2280
|
case 1:
|
|
1886
2281
|
localVarAxiosArgs = _d.sent();
|
|
1887
2282
|
localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
1888
|
-
localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['AccountsApi.
|
|
2283
|
+
localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['AccountsApi.getGetAccountDetailedSummary']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
1889
2284
|
return [2 /*return*/, function (axios, basePath) { return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath); }];
|
|
1890
2285
|
}
|
|
1891
2286
|
});
|
|
@@ -1961,6 +2356,72 @@ var AccountsApiFp = function (configuration) {
|
|
|
1961
2356
|
});
|
|
1962
2357
|
});
|
|
1963
2358
|
},
|
|
2359
|
+
/**
|
|
2360
|
+
* Get Account Finance
|
|
2361
|
+
* @param {string} id Account Xero ID
|
|
2362
|
+
* @param {*} [options] Override http request option.
|
|
2363
|
+
* @throws {RequiredError}
|
|
2364
|
+
*/
|
|
2365
|
+
getGetFinanceSettings: function (id, options) {
|
|
2366
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
2367
|
+
var localVarAxiosArgs, localVarOperationServerIndex, localVarOperationServerBasePath;
|
|
2368
|
+
var _a, _b, _c;
|
|
2369
|
+
return __generator(this, function (_d) {
|
|
2370
|
+
switch (_d.label) {
|
|
2371
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.getGetFinanceSettings(id, options)];
|
|
2372
|
+
case 1:
|
|
2373
|
+
localVarAxiosArgs = _d.sent();
|
|
2374
|
+
localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
2375
|
+
localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['AccountsApi.getGetFinanceSettings']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
2376
|
+
return [2 /*return*/, function (axios, basePath) { return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath); }];
|
|
2377
|
+
}
|
|
2378
|
+
});
|
|
2379
|
+
});
|
|
2380
|
+
},
|
|
2381
|
+
/**
|
|
2382
|
+
* Get Last Account
|
|
2383
|
+
* @summary Get Last Account
|
|
2384
|
+
* @param {*} [options] Override http request option.
|
|
2385
|
+
* @throws {RequiredError}
|
|
2386
|
+
*/
|
|
2387
|
+
getGetLastAccount: function (options) {
|
|
2388
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
2389
|
+
var localVarAxiosArgs, localVarOperationServerIndex, localVarOperationServerBasePath;
|
|
2390
|
+
var _a, _b, _c;
|
|
2391
|
+
return __generator(this, function (_d) {
|
|
2392
|
+
switch (_d.label) {
|
|
2393
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.getGetLastAccount(options)];
|
|
2394
|
+
case 1:
|
|
2395
|
+
localVarAxiosArgs = _d.sent();
|
|
2396
|
+
localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
2397
|
+
localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['AccountsApi.getGetLastAccount']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
2398
|
+
return [2 /*return*/, function (axios, basePath) { return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath); }];
|
|
2399
|
+
}
|
|
2400
|
+
});
|
|
2401
|
+
});
|
|
2402
|
+
},
|
|
2403
|
+
/**
|
|
2404
|
+
* Get Account 3CX Details
|
|
2405
|
+
* @param {string} id Xero ID
|
|
2406
|
+
* @param {*} [options] Override http request option.
|
|
2407
|
+
* @throws {RequiredError}
|
|
2408
|
+
*/
|
|
2409
|
+
getGetTcxPartnerDetails: function (id, options) {
|
|
2410
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
2411
|
+
var localVarAxiosArgs, localVarOperationServerIndex, localVarOperationServerBasePath;
|
|
2412
|
+
var _a, _b, _c;
|
|
2413
|
+
return __generator(this, function (_d) {
|
|
2414
|
+
switch (_d.label) {
|
|
2415
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.getGetTcxPartnerDetails(id, options)];
|
|
2416
|
+
case 1:
|
|
2417
|
+
localVarAxiosArgs = _d.sent();
|
|
2418
|
+
localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
2419
|
+
localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['AccountsApi.getGetTcxPartnerDetails']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
2420
|
+
return [2 /*return*/, function (axios, basePath) { return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath); }];
|
|
2421
|
+
}
|
|
2422
|
+
});
|
|
2423
|
+
});
|
|
2424
|
+
},
|
|
1964
2425
|
/**
|
|
1965
2426
|
* Verify account email address
|
|
1966
2427
|
* @summary Verify account email address
|
|
@@ -2168,6 +2629,121 @@ var AccountsApiFp = function (configuration) {
|
|
|
2168
2629
|
});
|
|
2169
2630
|
});
|
|
2170
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
|
+
},
|
|
2171
2747
|
/**
|
|
2172
2748
|
* Create Account Contact
|
|
2173
2749
|
* @param {string} id Account Xero ID
|
|
@@ -2489,6 +3065,15 @@ var AccountsApiFactory = function (configuration, basePath, axios) {
|
|
|
2489
3065
|
deleteAdminUpdateAccountContact: function (id, contactId, options) {
|
|
2490
3066
|
return localVarFp.deleteAdminUpdateAccountContact(id, contactId, options).then(function (request) { return request(axios, basePath); });
|
|
2491
3067
|
},
|
|
3068
|
+
/**
|
|
3069
|
+
* Delete Account
|
|
3070
|
+
* @param {string} id Account Xero ID
|
|
3071
|
+
* @param {*} [options] Override http request option.
|
|
3072
|
+
* @throws {RequiredError}
|
|
3073
|
+
*/
|
|
3074
|
+
deleteArchiveAccount: function (id, options) {
|
|
3075
|
+
return localVarFp.deleteArchiveAccount(id, options).then(function (request) { return request(axios, basePath); });
|
|
3076
|
+
},
|
|
2492
3077
|
/**
|
|
2493
3078
|
* Delete client credentials
|
|
2494
3079
|
* @summary Delete client credentials
|
|
@@ -2527,6 +3112,15 @@ var AccountsApiFactory = function (configuration, basePath, axios) {
|
|
|
2527
3112
|
getGetAccount: function (options) {
|
|
2528
3113
|
return localVarFp.getGetAccount(options).then(function (request) { return request(axios, basePath); });
|
|
2529
3114
|
},
|
|
3115
|
+
/**
|
|
3116
|
+
* Get Account Addresses
|
|
3117
|
+
* @param {string} id Xero ID
|
|
3118
|
+
* @param {*} [options] Override http request option.
|
|
3119
|
+
* @throws {RequiredError}
|
|
3120
|
+
*/
|
|
3121
|
+
getGetAccountAddresses: function (id, options) {
|
|
3122
|
+
return localVarFp.getGetAccountAddresses(id, options).then(function (request) { return request(axios, basePath); });
|
|
3123
|
+
},
|
|
2530
3124
|
/**
|
|
2531
3125
|
* Get Account Contacts
|
|
2532
3126
|
* @summary Get Account Contacts
|
|
@@ -2547,15 +3141,6 @@ var AccountsApiFactory = function (configuration, basePath, axios) {
|
|
|
2547
3141
|
getGetAccountDetailedSummary: function (id, options) {
|
|
2548
3142
|
return localVarFp.getGetAccountDetailedSummary(id, options).then(function (request) { return request(axios, basePath); });
|
|
2549
3143
|
},
|
|
2550
|
-
/**
|
|
2551
|
-
* Get Account Page Details
|
|
2552
|
-
* @param {string} id Xero ID
|
|
2553
|
-
* @param {*} [options] Override http request option.
|
|
2554
|
-
* @throws {RequiredError}
|
|
2555
|
-
*/
|
|
2556
|
-
getGetAccountPageInfo: function (id, options) {
|
|
2557
|
-
return localVarFp.getGetAccountPageInfo(id, options).then(function (request) { return request(axios, basePath); });
|
|
2558
|
-
},
|
|
2559
3144
|
/**
|
|
2560
3145
|
* Get Accounts
|
|
2561
3146
|
* @summary Get Accounts
|
|
@@ -2587,6 +3172,33 @@ var AccountsApiFactory = function (configuration, basePath, axios) {
|
|
|
2587
3172
|
getGetCustomerKeys: function (options) {
|
|
2588
3173
|
return localVarFp.getGetCustomerKeys(options).then(function (request) { return request(axios, basePath); });
|
|
2589
3174
|
},
|
|
3175
|
+
/**
|
|
3176
|
+
* Get Account Finance
|
|
3177
|
+
* @param {string} id Account Xero ID
|
|
3178
|
+
* @param {*} [options] Override http request option.
|
|
3179
|
+
* @throws {RequiredError}
|
|
3180
|
+
*/
|
|
3181
|
+
getGetFinanceSettings: function (id, options) {
|
|
3182
|
+
return localVarFp.getGetFinanceSettings(id, options).then(function (request) { return request(axios, basePath); });
|
|
3183
|
+
},
|
|
3184
|
+
/**
|
|
3185
|
+
* Get Last Account
|
|
3186
|
+
* @summary Get Last Account
|
|
3187
|
+
* @param {*} [options] Override http request option.
|
|
3188
|
+
* @throws {RequiredError}
|
|
3189
|
+
*/
|
|
3190
|
+
getGetLastAccount: function (options) {
|
|
3191
|
+
return localVarFp.getGetLastAccount(options).then(function (request) { return request(axios, basePath); });
|
|
3192
|
+
},
|
|
3193
|
+
/**
|
|
3194
|
+
* Get Account 3CX Details
|
|
3195
|
+
* @param {string} id Xero ID
|
|
3196
|
+
* @param {*} [options] Override http request option.
|
|
3197
|
+
* @throws {RequiredError}
|
|
3198
|
+
*/
|
|
3199
|
+
getGetTcxPartnerDetails: function (id, options) {
|
|
3200
|
+
return localVarFp.getGetTcxPartnerDetails(id, options).then(function (request) { return request(axios, basePath); });
|
|
3201
|
+
},
|
|
2590
3202
|
/**
|
|
2591
3203
|
* Verify account email address
|
|
2592
3204
|
* @summary Verify account email address
|
|
@@ -2677,6 +3289,56 @@ var AccountsApiFactory = function (configuration, basePath, axios) {
|
|
|
2677
3289
|
patchUpdateAccountVatNumber: function (id, patchUpdateAccountVatNumberRequest, options) {
|
|
2678
3290
|
return localVarFp.patchUpdateAccountVatNumber(id, patchUpdateAccountVatNumberRequest, options).then(function (request) { return request(axios, basePath); });
|
|
2679
3291
|
},
|
|
3292
|
+
/**
|
|
3293
|
+
* Set Account Credit Limit
|
|
3294
|
+
* @param {string} id Xero ID
|
|
3295
|
+
* @param {PatchUpdateCreditLimitRequest} [patchUpdateCreditLimitRequest] Credit Limit Request
|
|
3296
|
+
* @param {*} [options] Override http request option.
|
|
3297
|
+
* @throws {RequiredError}
|
|
3298
|
+
*/
|
|
3299
|
+
patchUpdateCreditLimit: function (id, patchUpdateCreditLimitRequest, options) {
|
|
3300
|
+
return localVarFp.patchUpdateCreditLimit(id, patchUpdateCreditLimitRequest, options).then(function (request) { return request(axios, basePath); });
|
|
3301
|
+
},
|
|
3302
|
+
/**
|
|
3303
|
+
* Set Account Price List
|
|
3304
|
+
* @param {string} id Xero ID
|
|
3305
|
+
* @param {PatchUpdatePriceListRequest} [patchUpdatePriceListRequest] Price List Request
|
|
3306
|
+
* @param {*} [options] Override http request option.
|
|
3307
|
+
* @throws {RequiredError}
|
|
3308
|
+
*/
|
|
3309
|
+
patchUpdatePriceList: function (id, patchUpdatePriceListRequest, options) {
|
|
3310
|
+
return localVarFp.patchUpdatePriceList(id, patchUpdatePriceListRequest, options).then(function (request) { return request(axios, basePath); });
|
|
3311
|
+
},
|
|
3312
|
+
/**
|
|
3313
|
+
* Set Account SIP Channel Cost
|
|
3314
|
+
* @param {string} id Xero ID
|
|
3315
|
+
* @param {PatchUpdateSipChannelCostRequest} [patchUpdateSipChannelCostRequest] SIP Channel Cost Request
|
|
3316
|
+
* @param {*} [options] Override http request option.
|
|
3317
|
+
* @throws {RequiredError}
|
|
3318
|
+
*/
|
|
3319
|
+
patchUpdateSipChannelCost: function (id, patchUpdateSipChannelCostRequest, options) {
|
|
3320
|
+
return localVarFp.patchUpdateSipChannelCost(id, patchUpdateSipChannelCostRequest, options).then(function (request) { return request(axios, basePath); });
|
|
3321
|
+
},
|
|
3322
|
+
/**
|
|
3323
|
+
* Set Account 3CX Hosting Price List
|
|
3324
|
+
* @param {string} id Xero ID
|
|
3325
|
+
* @param {PatchUpdateTcxHostingPriceListRequest} [patchUpdateTcxHostingPriceListRequest] 3CX Hosting Price List Request
|
|
3326
|
+
* @param {*} [options] Override http request option.
|
|
3327
|
+
* @throws {RequiredError}
|
|
3328
|
+
*/
|
|
3329
|
+
patchUpdateTcxHostingPriceList: function (id, patchUpdateTcxHostingPriceListRequest, options) {
|
|
3330
|
+
return localVarFp.patchUpdateTcxHostingPriceList(id, patchUpdateTcxHostingPriceListRequest, options).then(function (request) { return request(axios, basePath); });
|
|
3331
|
+
},
|
|
3332
|
+
/**
|
|
3333
|
+
* Set Account 3CX Partner ID
|
|
3334
|
+
* @param {string} id Xero ID
|
|
3335
|
+
* @param {PatchUpdateTcxPartnerIdRequest} [patchUpdateTcxPartnerIdRequest] Set Account 3CX Partner ID
|
|
3336
|
+
* @param {*} [options] Override http request option.
|
|
3337
|
+
* @throws {RequiredError}
|
|
3338
|
+
*/
|
|
3339
|
+
patchUpdateTcxPartnerId: function (id, patchUpdateTcxPartnerIdRequest, options) {
|
|
3340
|
+
return localVarFp.patchUpdateTcxPartnerId(id, patchUpdateTcxPartnerIdRequest, options).then(function (request) { return request(axios, basePath); });
|
|
3341
|
+
},
|
|
2680
3342
|
/**
|
|
2681
3343
|
* Create Account Contact
|
|
2682
3344
|
* @param {string} id Account Xero ID
|
|
@@ -2832,6 +3494,16 @@ var AccountsApi = /** @class */ (function (_super) {
|
|
|
2832
3494
|
var _this = this;
|
|
2833
3495
|
return (0, exports.AccountsApiFp)(this.configuration).deleteAdminUpdateAccountContact(id, contactId, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
2834
3496
|
};
|
|
3497
|
+
/**
|
|
3498
|
+
* Delete Account
|
|
3499
|
+
* @param {string} id Account Xero ID
|
|
3500
|
+
* @param {*} [options] Override http request option.
|
|
3501
|
+
* @throws {RequiredError}
|
|
3502
|
+
*/
|
|
3503
|
+
AccountsApi.prototype.deleteArchiveAccount = function (id, options) {
|
|
3504
|
+
var _this = this;
|
|
3505
|
+
return (0, exports.AccountsApiFp)(this.configuration).deleteArchiveAccount(id, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
3506
|
+
};
|
|
2835
3507
|
/**
|
|
2836
3508
|
* Delete client credentials
|
|
2837
3509
|
* @summary Delete client credentials
|
|
@@ -2874,6 +3546,16 @@ var AccountsApi = /** @class */ (function (_super) {
|
|
|
2874
3546
|
var _this = this;
|
|
2875
3547
|
return (0, exports.AccountsApiFp)(this.configuration).getGetAccount(options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
2876
3548
|
};
|
|
3549
|
+
/**
|
|
3550
|
+
* Get Account Addresses
|
|
3551
|
+
* @param {string} id Xero ID
|
|
3552
|
+
* @param {*} [options] Override http request option.
|
|
3553
|
+
* @throws {RequiredError}
|
|
3554
|
+
*/
|
|
3555
|
+
AccountsApi.prototype.getGetAccountAddresses = function (id, options) {
|
|
3556
|
+
var _this = this;
|
|
3557
|
+
return (0, exports.AccountsApiFp)(this.configuration).getGetAccountAddresses(id, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
3558
|
+
};
|
|
2877
3559
|
/**
|
|
2878
3560
|
* Get Account Contacts
|
|
2879
3561
|
* @summary Get Account Contacts
|
|
@@ -2897,48 +3579,68 @@ var AccountsApi = /** @class */ (function (_super) {
|
|
|
2897
3579
|
return (0, exports.AccountsApiFp)(this.configuration).getGetAccountDetailedSummary(id, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
2898
3580
|
};
|
|
2899
3581
|
/**
|
|
2900
|
-
* Get
|
|
2901
|
-
* @
|
|
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
|
|
2902
3588
|
* @param {*} [options] Override http request option.
|
|
2903
3589
|
* @throws {RequiredError}
|
|
2904
3590
|
*/
|
|
2905
|
-
AccountsApi.prototype.
|
|
3591
|
+
AccountsApi.prototype.getGetAccounts = function (pageSize, page, search, active, options) {
|
|
2906
3592
|
var _this = this;
|
|
2907
|
-
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); });
|
|
2908
3614
|
};
|
|
2909
3615
|
/**
|
|
2910
|
-
* Get
|
|
2911
|
-
* @
|
|
2912
|
-
* @param {number} [pageSize] Number Of Results
|
|
2913
|
-
* @param {number} [page] Page Number
|
|
2914
|
-
* @param {string} [search] Search
|
|
2915
|
-
* @param {boolean} [active] Active
|
|
3616
|
+
* Get Account Finance
|
|
3617
|
+
* @param {string} id Account Xero ID
|
|
2916
3618
|
* @param {*} [options] Override http request option.
|
|
2917
3619
|
* @throws {RequiredError}
|
|
2918
3620
|
*/
|
|
2919
|
-
AccountsApi.prototype.
|
|
3621
|
+
AccountsApi.prototype.getGetFinanceSettings = function (id, options) {
|
|
2920
3622
|
var _this = this;
|
|
2921
|
-
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); });
|
|
2922
3624
|
};
|
|
2923
3625
|
/**
|
|
2924
|
-
* Get
|
|
2925
|
-
* @summary Get
|
|
3626
|
+
* Get Last Account
|
|
3627
|
+
* @summary Get Last Account
|
|
2926
3628
|
* @param {*} [options] Override http request option.
|
|
2927
3629
|
* @throws {RequiredError}
|
|
2928
3630
|
*/
|
|
2929
|
-
AccountsApi.prototype.
|
|
3631
|
+
AccountsApi.prototype.getGetLastAccount = function (options) {
|
|
2930
3632
|
var _this = this;
|
|
2931
|
-
return (0, exports.AccountsApiFp)(this.configuration).
|
|
3633
|
+
return (0, exports.AccountsApiFp)(this.configuration).getGetLastAccount(options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
2932
3634
|
};
|
|
2933
3635
|
/**
|
|
2934
|
-
* Get 3CX
|
|
2935
|
-
* @
|
|
3636
|
+
* Get Account 3CX Details
|
|
3637
|
+
* @param {string} id Xero ID
|
|
2936
3638
|
* @param {*} [options] Override http request option.
|
|
2937
3639
|
* @throws {RequiredError}
|
|
2938
3640
|
*/
|
|
2939
|
-
AccountsApi.prototype.
|
|
3641
|
+
AccountsApi.prototype.getGetTcxPartnerDetails = function (id, options) {
|
|
2940
3642
|
var _this = this;
|
|
2941
|
-
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); });
|
|
2942
3644
|
};
|
|
2943
3645
|
/**
|
|
2944
3646
|
* Verify account email address
|
|
@@ -3039,6 +3741,61 @@ var AccountsApi = /** @class */ (function (_super) {
|
|
|
3039
3741
|
var _this = this;
|
|
3040
3742
|
return (0, exports.AccountsApiFp)(this.configuration).patchUpdateAccountVatNumber(id, patchUpdateAccountVatNumberRequest, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
3041
3743
|
};
|
|
3744
|
+
/**
|
|
3745
|
+
* Set Account Credit Limit
|
|
3746
|
+
* @param {string} id Xero ID
|
|
3747
|
+
* @param {PatchUpdateCreditLimitRequest} [patchUpdateCreditLimitRequest] Credit Limit Request
|
|
3748
|
+
* @param {*} [options] Override http request option.
|
|
3749
|
+
* @throws {RequiredError}
|
|
3750
|
+
*/
|
|
3751
|
+
AccountsApi.prototype.patchUpdateCreditLimit = function (id, patchUpdateCreditLimitRequest, options) {
|
|
3752
|
+
var _this = this;
|
|
3753
|
+
return (0, exports.AccountsApiFp)(this.configuration).patchUpdateCreditLimit(id, patchUpdateCreditLimitRequest, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
3754
|
+
};
|
|
3755
|
+
/**
|
|
3756
|
+
* Set Account Price List
|
|
3757
|
+
* @param {string} id Xero ID
|
|
3758
|
+
* @param {PatchUpdatePriceListRequest} [patchUpdatePriceListRequest] Price List Request
|
|
3759
|
+
* @param {*} [options] Override http request option.
|
|
3760
|
+
* @throws {RequiredError}
|
|
3761
|
+
*/
|
|
3762
|
+
AccountsApi.prototype.patchUpdatePriceList = function (id, patchUpdatePriceListRequest, options) {
|
|
3763
|
+
var _this = this;
|
|
3764
|
+
return (0, exports.AccountsApiFp)(this.configuration).patchUpdatePriceList(id, patchUpdatePriceListRequest, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
3765
|
+
};
|
|
3766
|
+
/**
|
|
3767
|
+
* Set Account SIP Channel Cost
|
|
3768
|
+
* @param {string} id Xero ID
|
|
3769
|
+
* @param {PatchUpdateSipChannelCostRequest} [patchUpdateSipChannelCostRequest] SIP Channel Cost Request
|
|
3770
|
+
* @param {*} [options] Override http request option.
|
|
3771
|
+
* @throws {RequiredError}
|
|
3772
|
+
*/
|
|
3773
|
+
AccountsApi.prototype.patchUpdateSipChannelCost = function (id, patchUpdateSipChannelCostRequest, options) {
|
|
3774
|
+
var _this = this;
|
|
3775
|
+
return (0, exports.AccountsApiFp)(this.configuration).patchUpdateSipChannelCost(id, patchUpdateSipChannelCostRequest, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
3776
|
+
};
|
|
3777
|
+
/**
|
|
3778
|
+
* Set Account 3CX Hosting Price List
|
|
3779
|
+
* @param {string} id Xero ID
|
|
3780
|
+
* @param {PatchUpdateTcxHostingPriceListRequest} [patchUpdateTcxHostingPriceListRequest] 3CX Hosting Price List Request
|
|
3781
|
+
* @param {*} [options] Override http request option.
|
|
3782
|
+
* @throws {RequiredError}
|
|
3783
|
+
*/
|
|
3784
|
+
AccountsApi.prototype.patchUpdateTcxHostingPriceList = function (id, patchUpdateTcxHostingPriceListRequest, options) {
|
|
3785
|
+
var _this = this;
|
|
3786
|
+
return (0, exports.AccountsApiFp)(this.configuration).patchUpdateTcxHostingPriceList(id, patchUpdateTcxHostingPriceListRequest, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
3787
|
+
};
|
|
3788
|
+
/**
|
|
3789
|
+
* Set Account 3CX Partner ID
|
|
3790
|
+
* @param {string} id Xero ID
|
|
3791
|
+
* @param {PatchUpdateTcxPartnerIdRequest} [patchUpdateTcxPartnerIdRequest] Set Account 3CX Partner ID
|
|
3792
|
+
* @param {*} [options] Override http request option.
|
|
3793
|
+
* @throws {RequiredError}
|
|
3794
|
+
*/
|
|
3795
|
+
AccountsApi.prototype.patchUpdateTcxPartnerId = function (id, patchUpdateTcxPartnerIdRequest, options) {
|
|
3796
|
+
var _this = this;
|
|
3797
|
+
return (0, exports.AccountsApiFp)(this.configuration).patchUpdateTcxPartnerId(id, patchUpdateTcxPartnerIdRequest, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
3798
|
+
};
|
|
3042
3799
|
/**
|
|
3043
3800
|
* Create Account Contact
|
|
3044
3801
|
* @param {string} id Account Xero ID
|
|
@@ -3190,12 +3947,125 @@ var AccountsApi = /** @class */ (function (_super) {
|
|
|
3190
3947
|
exports.AccountsApi = AccountsApi;
|
|
3191
3948
|
exports.PatchSetPortalAccessStateEnum = {
|
|
3192
3949
|
Enable: 'enable',
|
|
3193
|
-
Disable: 'disable'
|
|
3950
|
+
Disable: 'disable',
|
|
3194
3951
|
};
|
|
3195
3952
|
exports.PatchSetPrizePromoStateEnum = {
|
|
3196
3953
|
Enable: 'enable',
|
|
3197
|
-
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
|
+
};
|
|
3198
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;
|
|
3199
4069
|
/**
|
|
3200
4070
|
* CRMApi - axios parameter creator
|
|
3201
4071
|
*/
|
|
@@ -3222,7 +4092,7 @@ var CRMApiAxiosParamCreator = function (configuration) {
|
|
|
3222
4092
|
// verify required parameter 'id' is not null or undefined
|
|
3223
4093
|
(0, common_1.assertParamExists)('getGetCrmActivities', 'id', id);
|
|
3224
4094
|
localVarPath = "/admin/crm/{id}/activities"
|
|
3225
|
-
.replace(
|
|
4095
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
3226
4096
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
3227
4097
|
if (configuration) {
|
|
3228
4098
|
baseOptions = configuration.baseOptions;
|
|
@@ -3299,7 +4169,7 @@ var CRMApiAxiosParamCreator = function (configuration) {
|
|
|
3299
4169
|
// verify required parameter 'id' is not null or undefined
|
|
3300
4170
|
(0, common_1.assertParamExists)('postCreateCrmNote', 'id', id);
|
|
3301
4171
|
localVarPath = "/admin/crm/{id}/activities/note"
|
|
3302
|
-
.replace(
|
|
4172
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
3303
4173
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
3304
4174
|
if (configuration) {
|
|
3305
4175
|
baseOptions = configuration.baseOptions;
|
|
@@ -3484,10 +4354,11 @@ exports.CRMApi = CRMApi;
|
|
|
3484
4354
|
exports.GetGetCrmActivitiesTypeEnum = {
|
|
3485
4355
|
Alert: 'alert',
|
|
3486
4356
|
Call: 'call',
|
|
4357
|
+
Email: 'email',
|
|
3487
4358
|
Note: 'note',
|
|
3488
4359
|
Order: 'order',
|
|
3489
4360
|
Quote: 'quote',
|
|
3490
|
-
TcxOrder: 'tcx_order'
|
|
4361
|
+
TcxOrder: 'tcx_order',
|
|
3491
4362
|
};
|
|
3492
4363
|
/**
|
|
3493
4364
|
* Class3CXApi - axios parameter creator
|
|
@@ -3962,7 +4833,7 @@ var Class3CXInstallationWizardApiAxiosParamCreator = function (configuration) {
|
|
|
3962
4833
|
// verify required parameter 'id' is not null or undefined
|
|
3963
4834
|
(0, common_1.assertParamExists)('getGetDdisTcxWizard', 'id', id);
|
|
3964
4835
|
localVarPath = "/tcx/wizards/sip/trunks/{id}/ddis"
|
|
3965
|
-
.replace(
|
|
4836
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
3966
4837
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
3967
4838
|
if (configuration) {
|
|
3968
4839
|
baseOptions = configuration.baseOptions;
|
|
@@ -4191,7 +5062,7 @@ var Class3CXInstallationWizardApiAxiosParamCreator = function (configuration) {
|
|
|
4191
5062
|
// verify required parameter 'id' is not null or undefined
|
|
4192
5063
|
(0, common_1.assertParamExists)('getGetSipTrunkTcxWizard', 'id', id);
|
|
4193
5064
|
localVarPath = "/tcx/wizards/sip/trunks/{id}"
|
|
4194
|
-
.replace(
|
|
5065
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
4195
5066
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
4196
5067
|
if (configuration) {
|
|
4197
5068
|
baseOptions = configuration.baseOptions;
|
|
@@ -4829,7 +5700,7 @@ var Class3CXInstallationWizardApiAxiosParamCreator = function (configuration) {
|
|
|
4829
5700
|
// verify required parameter 'id' is not null or undefined
|
|
4830
5701
|
(0, common_1.assertParamExists)('postGetDdisTcxWizard', 'id', id);
|
|
4831
5702
|
localVarPath = "/tcx/wizards/sip/trunks/{id}/ddis"
|
|
4832
|
-
.replace(
|
|
5703
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
4833
5704
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
4834
5705
|
if (configuration) {
|
|
4835
5706
|
baseOptions = configuration.baseOptions;
|
|
@@ -6568,7 +7439,7 @@ var Class3CXInstallationsApiAxiosParamCreator = function (configuration) {
|
|
|
6568
7439
|
// verify required parameter 'wizardId' is not null or undefined
|
|
6569
7440
|
(0, common_1.assertParamExists)('getGetDetails', 'wizardId', wizardId);
|
|
6570
7441
|
localVarPath = "/tcx/installations/{wizard_id}/details"
|
|
6571
|
-
.replace(
|
|
7442
|
+
.replace('{wizard_id}', encodeURIComponent(String(wizardId)));
|
|
6572
7443
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
6573
7444
|
if (configuration) {
|
|
6574
7445
|
baseOptions = configuration.baseOptions;
|
|
@@ -6671,7 +7542,7 @@ var Class3CXInstallationsApiAxiosParamCreator = function (configuration) {
|
|
|
6671
7542
|
// verify required parameter 'customerId' is not null or undefined
|
|
6672
7543
|
(0, common_1.assertParamExists)('patchChangeInstanceOwner', 'customerId', customerId);
|
|
6673
7544
|
localVarPath = "/tcx/installations/{instance_id}/owner"
|
|
6674
|
-
.replace(
|
|
7545
|
+
.replace('{instance_id}', encodeURIComponent(String(instanceId)));
|
|
6675
7546
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
6676
7547
|
if (configuration) {
|
|
6677
7548
|
baseOptions = configuration.baseOptions;
|
|
@@ -6714,7 +7585,7 @@ var Class3CXInstallationsApiAxiosParamCreator = function (configuration) {
|
|
|
6714
7585
|
// verify required parameter 'enable' is not null or undefined
|
|
6715
7586
|
(0, common_1.assertParamExists)('patchUpdateAutoFailover', 'enable', enable);
|
|
6716
7587
|
localVarPath = "/tcx/installations/{instance_id}/failover/auto"
|
|
6717
|
-
.replace(
|
|
7588
|
+
.replace('{instance_id}', encodeURIComponent(String(instanceId)));
|
|
6718
7589
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
6719
7590
|
if (configuration) {
|
|
6720
7591
|
baseOptions = configuration.baseOptions;
|
|
@@ -6757,7 +7628,7 @@ var Class3CXInstallationsApiAxiosParamCreator = function (configuration) {
|
|
|
6757
7628
|
// verify required parameter 'gigabytes' is not null or undefined
|
|
6758
7629
|
(0, common_1.assertParamExists)('postAddDisk', 'gigabytes', gigabytes);
|
|
6759
7630
|
localVarPath = "/tcx/installations/{instance_id}/disk"
|
|
6760
|
-
.replace(
|
|
7631
|
+
.replace('{instance_id}', encodeURIComponent(String(instanceId)));
|
|
6761
7632
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
6762
7633
|
if (configuration) {
|
|
6763
7634
|
baseOptions = configuration.baseOptions;
|
|
@@ -6803,7 +7674,7 @@ var Class3CXInstallationsApiAxiosParamCreator = function (configuration) {
|
|
|
6803
7674
|
// verify required parameter 'ipAddress' is not null or undefined
|
|
6804
7675
|
(0, common_1.assertParamExists)('postCreateSshUser', 'ipAddress', ipAddress);
|
|
6805
7676
|
localVarPath = "/tcx/installations/{instance_id}/create/user/root"
|
|
6806
|
-
.replace(
|
|
7677
|
+
.replace('{instance_id}', encodeURIComponent(String(instanceId)));
|
|
6807
7678
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
6808
7679
|
if (configuration) {
|
|
6809
7680
|
baseOptions = configuration.baseOptions;
|
|
@@ -6847,7 +7718,7 @@ var Class3CXInstallationsApiAxiosParamCreator = function (configuration) {
|
|
|
6847
7718
|
// verify required parameter 'instanceId' is not null or undefined
|
|
6848
7719
|
(0, common_1.assertParamExists)('postDeleteInstance', 'instanceId', instanceId);
|
|
6849
7720
|
localVarPath = "/tcx/installations/{instance_id}/delete"
|
|
6850
|
-
.replace(
|
|
7721
|
+
.replace('{instance_id}', encodeURIComponent(String(instanceId)));
|
|
6851
7722
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
6852
7723
|
if (configuration) {
|
|
6853
7724
|
baseOptions = configuration.baseOptions;
|
|
@@ -6888,7 +7759,7 @@ var Class3CXInstallationsApiAxiosParamCreator = function (configuration) {
|
|
|
6888
7759
|
// verify required parameter 'gigabytes' is not null or undefined
|
|
6889
7760
|
(0, common_1.assertParamExists)('postExtendDisk', 'gigabytes', gigabytes);
|
|
6890
7761
|
localVarPath = "/tcx/installations/{instance_id}/disk/extend"
|
|
6891
|
-
.replace(
|
|
7762
|
+
.replace('{instance_id}', encodeURIComponent(String(instanceId)));
|
|
6892
7763
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
6893
7764
|
if (configuration) {
|
|
6894
7765
|
baseOptions = configuration.baseOptions;
|
|
@@ -6934,7 +7805,7 @@ var Class3CXInstallationsApiAxiosParamCreator = function (configuration) {
|
|
|
6934
7805
|
// verify required parameter 'type' is not null or undefined
|
|
6935
7806
|
(0, common_1.assertParamExists)('postFailoverInstance', 'type', type);
|
|
6936
7807
|
localVarPath = "/tcx/installations/{instance_id}/failover"
|
|
6937
|
-
.replace(
|
|
7808
|
+
.replace('{instance_id}', encodeURIComponent(String(instanceId)));
|
|
6938
7809
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
6939
7810
|
if (configuration) {
|
|
6940
7811
|
baseOptions = configuration.baseOptions;
|
|
@@ -6974,7 +7845,7 @@ var Class3CXInstallationsApiAxiosParamCreator = function (configuration) {
|
|
|
6974
7845
|
// verify required parameter 'sbcId' is not null or undefined
|
|
6975
7846
|
(0, common_1.assertParamExists)('postInstallTcxSbc', 'sbcId', sbcId);
|
|
6976
7847
|
localVarPath = "/tcx/installations/sbcs/{sbc_id}/install"
|
|
6977
|
-
.replace(
|
|
7848
|
+
.replace('{sbc_id}', encodeURIComponent(String(sbcId)));
|
|
6978
7849
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
6979
7850
|
if (configuration) {
|
|
6980
7851
|
baseOptions = configuration.baseOptions;
|
|
@@ -7012,7 +7883,7 @@ var Class3CXInstallationsApiAxiosParamCreator = function (configuration) {
|
|
|
7012
7883
|
// verify required parameter 'instanceId' is not null or undefined
|
|
7013
7884
|
(0, common_1.assertParamExists)('postRebootInstance', 'instanceId', instanceId);
|
|
7014
7885
|
localVarPath = "/tcx/installations/{instance_id}/reboot"
|
|
7015
|
-
.replace(
|
|
7886
|
+
.replace('{instance_id}', encodeURIComponent(String(instanceId)));
|
|
7016
7887
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
7017
7888
|
if (configuration) {
|
|
7018
7889
|
baseOptions = configuration.baseOptions;
|
|
@@ -7053,7 +7924,7 @@ var Class3CXInstallationsApiAxiosParamCreator = function (configuration) {
|
|
|
7053
7924
|
// verify required parameter 'size' is not null or undefined
|
|
7054
7925
|
(0, common_1.assertParamExists)('postResizeInstance', 'size', size);
|
|
7055
7926
|
localVarPath = "/tcx/installations/{instance_id}/resize"
|
|
7056
|
-
.replace(
|
|
7927
|
+
.replace('{instance_id}', encodeURIComponent(String(instanceId)));
|
|
7057
7928
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
7058
7929
|
if (configuration) {
|
|
7059
7930
|
baseOptions = configuration.baseOptions;
|
|
@@ -7097,7 +7968,7 @@ var Class3CXInstallationsApiAxiosParamCreator = function (configuration) {
|
|
|
7097
7968
|
// verify required parameter 'instanceId' is not null or undefined
|
|
7098
7969
|
(0, common_1.assertParamExists)('postRestartServices', 'instanceId', instanceId);
|
|
7099
7970
|
localVarPath = "/tcx/installations/{instance_id}/services/restart"
|
|
7100
|
-
.replace(
|
|
7971
|
+
.replace('{instance_id}', encodeURIComponent(String(instanceId)));
|
|
7101
7972
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
7102
7973
|
if (configuration) {
|
|
7103
7974
|
baseOptions = configuration.baseOptions;
|
|
@@ -7138,7 +8009,7 @@ var Class3CXInstallationsApiAxiosParamCreator = function (configuration) {
|
|
|
7138
8009
|
// verify required parameter 'instanceId' is not null or undefined
|
|
7139
8010
|
(0, common_1.assertParamExists)('postScheduledReboot', 'instanceId', instanceId);
|
|
7140
8011
|
localVarPath = "/tcx/installations/{instance_id}/reboot/scheduled"
|
|
7141
|
-
.replace(
|
|
8012
|
+
.replace('{instance_id}', encodeURIComponent(String(instanceId)));
|
|
7142
8013
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
7143
8014
|
if (configuration) {
|
|
7144
8015
|
baseOptions = configuration.baseOptions;
|
|
@@ -7179,7 +8050,7 @@ var Class3CXInstallationsApiAxiosParamCreator = function (configuration) {
|
|
|
7179
8050
|
// verify required parameter 'instanceId' is not null or undefined
|
|
7180
8051
|
(0, common_1.assertParamExists)('postSuspendInstance', 'instanceId', instanceId);
|
|
7181
8052
|
localVarPath = "/tcx/installations/{instance_id}/suspend"
|
|
7182
|
-
.replace(
|
|
8053
|
+
.replace('{instance_id}', encodeURIComponent(String(instanceId)));
|
|
7183
8054
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
7184
8055
|
if (configuration) {
|
|
7185
8056
|
baseOptions = configuration.baseOptions;
|
|
@@ -7219,7 +8090,7 @@ var Class3CXInstallationsApiAxiosParamCreator = function (configuration) {
|
|
|
7219
8090
|
// verify required parameter 'instanceId' is not null or undefined
|
|
7220
8091
|
(0, common_1.assertParamExists)('postTestLoginCredentials', 'instanceId', instanceId);
|
|
7221
8092
|
localVarPath = "/tcx/installations/{instance_id}/tests/login"
|
|
7222
|
-
.replace(
|
|
8093
|
+
.replace('{instance_id}', encodeURIComponent(String(instanceId)));
|
|
7223
8094
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
7224
8095
|
if (configuration) {
|
|
7225
8096
|
baseOptions = configuration.baseOptions;
|
|
@@ -7256,7 +8127,7 @@ var Class3CXInstallationsApiAxiosParamCreator = function (configuration) {
|
|
|
7256
8127
|
// verify required parameter 'instanceId' is not null or undefined
|
|
7257
8128
|
(0, common_1.assertParamExists)('postUnsuspendInstance', 'instanceId', instanceId);
|
|
7258
8129
|
localVarPath = "/tcx/installations/{instance_id}/unsuspend"
|
|
7259
|
-
.replace(
|
|
8130
|
+
.replace('{instance_id}', encodeURIComponent(String(instanceId)));
|
|
7260
8131
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
7261
8132
|
if (configuration) {
|
|
7262
8133
|
baseOptions = configuration.baseOptions;
|
|
@@ -7296,7 +8167,7 @@ var Class3CXInstallationsApiAxiosParamCreator = function (configuration) {
|
|
|
7296
8167
|
// verify required parameter 'schedule' is not null or undefined
|
|
7297
8168
|
(0, common_1.assertParamExists)('postUpgradeDebian', 'schedule', schedule);
|
|
7298
8169
|
localVarPath = "/tcx/installations/{instance_id}/debian/upgrade"
|
|
7299
|
-
.replace(
|
|
8170
|
+
.replace('{instance_id}', encodeURIComponent(String(instanceId)));
|
|
7300
8171
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
7301
8172
|
if (configuration) {
|
|
7302
8173
|
baseOptions = configuration.baseOptions;
|
|
@@ -7337,7 +8208,7 @@ var Class3CXInstallationsApiAxiosParamCreator = function (configuration) {
|
|
|
7337
8208
|
// verify required parameter 'wizardId' is not null or undefined
|
|
7338
8209
|
(0, common_1.assertParamExists)('putGetDetails', 'wizardId', wizardId);
|
|
7339
8210
|
localVarPath = "/tcx/installations/{wizard_id}/details"
|
|
7340
|
-
.replace(
|
|
8211
|
+
.replace('{wizard_id}', encodeURIComponent(String(wizardId)));
|
|
7341
8212
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
7342
8213
|
if (configuration) {
|
|
7343
8214
|
baseOptions = configuration.baseOptions;
|
|
@@ -8293,30 +9164,30 @@ exports.GetGetInstallationsStatusEnum = {
|
|
|
8293
9164
|
Completed: 'Completed',
|
|
8294
9165
|
Outstanding: 'Outstanding',
|
|
8295
9166
|
Offline: 'Offline',
|
|
8296
|
-
FailedOver: 'Failed Over'
|
|
9167
|
+
FailedOver: 'Failed Over',
|
|
8297
9168
|
};
|
|
8298
9169
|
exports.GetGetInstallationsHostingEnum = {
|
|
8299
9170
|
Yellowgrid: 'yellowgrid',
|
|
8300
9171
|
MultiTenant: 'multi-tenant',
|
|
8301
9172
|
Onprem: 'onprem',
|
|
8302
|
-
All: 'all'
|
|
9173
|
+
All: 'all',
|
|
8303
9174
|
};
|
|
8304
9175
|
exports.GetGetInstallationsInstallTypeEnum = {
|
|
8305
9176
|
New: 'new',
|
|
8306
9177
|
Restore: 'restore',
|
|
8307
9178
|
Failover: 'failover',
|
|
8308
|
-
MultiTenant: 'multi-tenant'
|
|
9179
|
+
MultiTenant: 'multi-tenant',
|
|
8309
9180
|
};
|
|
8310
9181
|
exports.PostFailoverInstanceTypeEnum = {
|
|
8311
9182
|
Config: 'config',
|
|
8312
|
-
Image: 'image'
|
|
9183
|
+
Image: 'image',
|
|
8313
9184
|
};
|
|
8314
9185
|
exports.PostResizeInstanceSizeEnum = {
|
|
8315
9186
|
D24: 'd2-4',
|
|
8316
9187
|
D28: 'd2-8',
|
|
8317
9188
|
B230: 'b2-30',
|
|
8318
9189
|
S2vcpu4gb: 's-2vcpu-4gb',
|
|
8319
|
-
S4vcpu8gb: 's-4vcpu-8gb'
|
|
9190
|
+
S4vcpu8gb: 's-4vcpu-8gb',
|
|
8320
9191
|
};
|
|
8321
9192
|
/**
|
|
8322
9193
|
* Class3CXIntegrationsApi - axios parameter creator
|
|
@@ -8471,8 +9342,8 @@ var Class3CXIntegrationsApiAxiosParamCreator = function (configuration) {
|
|
|
8471
9342
|
// verify required parameter 'ref' is not null or undefined
|
|
8472
9343
|
(0, common_1.assertParamExists)('patchUpdateEtpOrderReference', 'ref', ref);
|
|
8473
9344
|
localVarPath = "/tcx/integrations/edtechpro/{clientId}/schools/{schoolId}/orderReference"
|
|
8474
|
-
.replace(
|
|
8475
|
-
.replace(
|
|
9345
|
+
.replace('{clientId}', encodeURIComponent(String(clientId)))
|
|
9346
|
+
.replace('{schoolId}', encodeURIComponent(String(schoolId)));
|
|
8476
9347
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
8477
9348
|
if (configuration) {
|
|
8478
9349
|
baseOptions = configuration.baseOptions;
|
|
@@ -8857,11 +9728,11 @@ var Class3CXIntegrationsApi = /** @class */ (function (_super) {
|
|
|
8857
9728
|
exports.Class3CXIntegrationsApi = Class3CXIntegrationsApi;
|
|
8858
9729
|
exports.GetGetPriceLicenceTypeEnum = {
|
|
8859
9730
|
Lite: 'lite',
|
|
8860
|
-
Pro: 'pro'
|
|
9731
|
+
Pro: 'pro',
|
|
8861
9732
|
};
|
|
8862
9733
|
exports.GetGetPriceSchoolTypeEnum = {
|
|
8863
9734
|
Primary: 'primary',
|
|
8864
|
-
Secondary: 'secondary'
|
|
9735
|
+
Secondary: 'secondary',
|
|
8865
9736
|
};
|
|
8866
9737
|
/**
|
|
8867
9738
|
* Class3CXMultiTenantApi - axios parameter creator
|
|
@@ -8888,7 +9759,7 @@ var Class3CXMultiTenantApiAxiosParamCreator = function (configuration) {
|
|
|
8888
9759
|
// verify required parameter 'reference' is not null or undefined
|
|
8889
9760
|
(0, common_1.assertParamExists)('deleteGetTenant', 'reference', reference);
|
|
8890
9761
|
localVarPath = "/tcx/mt/tenants/{reference}"
|
|
8891
|
-
.replace(
|
|
9762
|
+
.replace('{reference}', encodeURIComponent(String(reference)));
|
|
8892
9763
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
8893
9764
|
if (configuration) {
|
|
8894
9765
|
baseOptions = configuration.baseOptions;
|
|
@@ -8965,7 +9836,7 @@ var Class3CXMultiTenantApiAxiosParamCreator = function (configuration) {
|
|
|
8965
9836
|
// verify required parameter 'reference' is not null or undefined
|
|
8966
9837
|
(0, common_1.assertParamExists)('getGetTenant', 'reference', reference);
|
|
8967
9838
|
localVarPath = "/tcx/mt/tenants/{reference}"
|
|
8968
|
-
.replace(
|
|
9839
|
+
.replace('{reference}', encodeURIComponent(String(reference)));
|
|
8969
9840
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
8970
9841
|
if (configuration) {
|
|
8971
9842
|
baseOptions = configuration.baseOptions;
|
|
@@ -9582,7 +10453,7 @@ exports.GetGetTenantsStatusEnum = {
|
|
|
9582
10453
|
Completed: 'Completed',
|
|
9583
10454
|
Outstanding: 'Outstanding',
|
|
9584
10455
|
Offline: 'Offline',
|
|
9585
|
-
FailedOver: 'Failed Over'
|
|
10456
|
+
FailedOver: 'Failed Over',
|
|
9586
10457
|
};
|
|
9587
10458
|
/**
|
|
9588
10459
|
* MyPBXToolsApi - axios parameter creator
|
|
@@ -9739,7 +10610,7 @@ var NumberPortingApiAxiosParamCreator = function (configuration) {
|
|
|
9739
10610
|
// verify required parameter 'id' is not null or undefined
|
|
9740
10611
|
(0, common_1.assertParamExists)('deleteGetAdminNumberPort', 'id', id);
|
|
9741
10612
|
localVarPath = "/admin/sip/numbers/ports/{id}"
|
|
9742
|
-
.replace(
|
|
10613
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
9743
10614
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
9744
10615
|
if (configuration) {
|
|
9745
10616
|
baseOptions = configuration.baseOptions;
|
|
@@ -9820,7 +10691,7 @@ var NumberPortingApiAxiosParamCreator = function (configuration) {
|
|
|
9820
10691
|
// verify required parameter 'id' is not null or undefined
|
|
9821
10692
|
(0, common_1.assertParamExists)('getGetAdminNumberPort', 'id', id);
|
|
9822
10693
|
localVarPath = "/admin/sip/numbers/ports/{id}"
|
|
9823
|
-
.replace(
|
|
10694
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
9824
10695
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
9825
10696
|
if (configuration) {
|
|
9826
10697
|
baseOptions = configuration.baseOptions;
|
|
@@ -9902,7 +10773,7 @@ var NumberPortingApiAxiosParamCreator = function (configuration) {
|
|
|
9902
10773
|
// verify required parameter 'id' is not null or undefined
|
|
9903
10774
|
(0, common_1.assertParamExists)('getUpdateNumberPort', 'id', id);
|
|
9904
10775
|
localVarPath = "/sip/numbers/ports/{id}"
|
|
9905
|
-
.replace(
|
|
10776
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
9906
10777
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
9907
10778
|
if (configuration) {
|
|
9908
10779
|
baseOptions = configuration.baseOptions;
|
|
@@ -9939,7 +10810,7 @@ var NumberPortingApiAxiosParamCreator = function (configuration) {
|
|
|
9939
10810
|
// verify required parameter 'id' is not null or undefined
|
|
9940
10811
|
(0, common_1.assertParamExists)('patchCancelAdminNumberPort', 'id', id);
|
|
9941
10812
|
localVarPath = "/admin/sip/numbers/ports/{id}/cancel"
|
|
9942
|
-
.replace(
|
|
10813
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
9943
10814
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
9944
10815
|
if (configuration) {
|
|
9945
10816
|
baseOptions = configuration.baseOptions;
|
|
@@ -9976,7 +10847,7 @@ var NumberPortingApiAxiosParamCreator = function (configuration) {
|
|
|
9976
10847
|
// verify required parameter 'id' is not null or undefined
|
|
9977
10848
|
(0, common_1.assertParamExists)('patchCloseAdminNumberPort', 'id', id);
|
|
9978
10849
|
localVarPath = "/admin/sip/numbers/ports/{id}/close"
|
|
9979
|
-
.replace(
|
|
10850
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
9980
10851
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
9981
10852
|
if (configuration) {
|
|
9982
10853
|
baseOptions = configuration.baseOptions;
|
|
@@ -10016,7 +10887,7 @@ var NumberPortingApiAxiosParamCreator = function (configuration) {
|
|
|
10016
10887
|
// verify required parameter 'numberPortAdminNoteBody' is not null or undefined
|
|
10017
10888
|
(0, common_1.assertParamExists)('postAddAdminNote', 'numberPortAdminNoteBody', numberPortAdminNoteBody);
|
|
10018
10889
|
localVarPath = "/admin/sip/numbers/ports/{id}/notes"
|
|
10019
|
-
.replace(
|
|
10890
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
10020
10891
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
10021
10892
|
if (configuration) {
|
|
10022
10893
|
baseOptions = configuration.baseOptions;
|
|
@@ -10151,7 +11022,7 @@ var NumberPortingApiAxiosParamCreator = function (configuration) {
|
|
|
10151
11022
|
// verify required parameter 'id' is not null or undefined
|
|
10152
11023
|
(0, common_1.assertParamExists)('postSubmitNumberPort', 'id', id);
|
|
10153
11024
|
localVarPath = "/sip/numbers/ports/{id}/submit"
|
|
10154
|
-
.replace(
|
|
11025
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
10155
11026
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
10156
11027
|
if (configuration) {
|
|
10157
11028
|
baseOptions = configuration.baseOptions;
|
|
@@ -10239,7 +11110,7 @@ var NumberPortingApiAxiosParamCreator = function (configuration) {
|
|
|
10239
11110
|
// verify required parameter 'id' is not null or undefined
|
|
10240
11111
|
(0, common_1.assertParamExists)('postUpdateNumberPort', 'id', id);
|
|
10241
11112
|
localVarPath = "/sip/numbers/ports/{id}"
|
|
10242
|
-
.replace(
|
|
11113
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
10243
11114
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
10244
11115
|
if (configuration) {
|
|
10245
11116
|
baseOptions = configuration.baseOptions;
|
|
@@ -10318,7 +11189,7 @@ var NumberPortingApiAxiosParamCreator = function (configuration) {
|
|
|
10318
11189
|
// verify required parameter 'numberPortDTO' is not null or undefined
|
|
10319
11190
|
(0, common_1.assertParamExists)('putGetAdminNumberPort', 'numberPortDTO', numberPortDTO);
|
|
10320
11191
|
localVarPath = "/admin/sip/numbers/ports/{id}"
|
|
10321
|
-
.replace(
|
|
11192
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
10322
11193
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
10323
11194
|
if (configuration) {
|
|
10324
11195
|
baseOptions = configuration.baseOptions;
|
|
@@ -11246,6 +12117,38 @@ var OAuth20ApiAxiosParamCreator = function (configuration) {
|
|
|
11246
12117
|
});
|
|
11247
12118
|
});
|
|
11248
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
|
+
},
|
|
11249
12152
|
/**
|
|
11250
12153
|
* Portal Login
|
|
11251
12154
|
* @summary Portal Login
|
|
@@ -11421,6 +12324,27 @@ var OAuth20ApiFp = function (configuration) {
|
|
|
11421
12324
|
});
|
|
11422
12325
|
});
|
|
11423
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
|
+
},
|
|
11424
12348
|
/**
|
|
11425
12349
|
* Portal Login
|
|
11426
12350
|
* @summary Portal Login
|
|
@@ -11517,6 +12441,14 @@ var OAuth20ApiFactory = function (configuration, basePath, axios) {
|
|
|
11517
12441
|
postGetIdentity: function (options) {
|
|
11518
12442
|
return localVarFp.postGetIdentity(options).then(function (request) { return request(axios, basePath); });
|
|
11519
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
|
+
},
|
|
11520
12452
|
/**
|
|
11521
12453
|
* Portal Login
|
|
11522
12454
|
* @summary Portal Login
|
|
@@ -11607,6 +12539,15 @@ var OAuth20Api = /** @class */ (function (_super) {
|
|
|
11607
12539
|
var _this = this;
|
|
11608
12540
|
return (0, exports.OAuth20ApiFp)(this.configuration).postGetIdentity(options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
11609
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
|
+
};
|
|
11610
12551
|
/**
|
|
11611
12552
|
* Portal Login
|
|
11612
12553
|
* @summary Portal Login
|
|
@@ -11628,7 +12569,7 @@ exports.PostAccessTokenGrantTypeEnum = {
|
|
|
11628
12569
|
AuthorizationCode: 'authorization_code',
|
|
11629
12570
|
MsAuth: 'ms_auth',
|
|
11630
12571
|
TokenExchange: 'token_exchange',
|
|
11631
|
-
Password: 'password'
|
|
12572
|
+
Password: 'password',
|
|
11632
12573
|
};
|
|
11633
12574
|
exports.PostAccessTokenScopeEnum = {
|
|
11634
12575
|
Star: '*',
|
|
@@ -11658,11 +12599,11 @@ exports.PostAccessTokenScopeEnum = {
|
|
|
11658
12599
|
TcxMtRead: 'tcx_mt.read',
|
|
11659
12600
|
TcxMtWrite: 'tcx_mt.write',
|
|
11660
12601
|
TicketsRead: 'tickets.read',
|
|
11661
|
-
TicketsWrite: 'tickets.write'
|
|
12602
|
+
TicketsWrite: 'tickets.write',
|
|
11662
12603
|
};
|
|
11663
12604
|
exports.PostAccessTokenTokenExchangeTypeEnum = {
|
|
11664
12605
|
TcxWizard: 'tcx_wizard',
|
|
11665
|
-
Portal: 'portal'
|
|
12606
|
+
Portal: 'portal',
|
|
11666
12607
|
};
|
|
11667
12608
|
exports.PostAuthoriseScopeEnum = {
|
|
11668
12609
|
Star: '*',
|
|
@@ -11692,7 +12633,7 @@ exports.PostAuthoriseScopeEnum = {
|
|
|
11692
12633
|
TcxMtRead: 'tcx_mt.read',
|
|
11693
12634
|
TcxMtWrite: 'tcx_mt.write',
|
|
11694
12635
|
TicketsRead: 'tickets.read',
|
|
11695
|
-
TicketsWrite: 'tickets.write'
|
|
12636
|
+
TicketsWrite: 'tickets.write',
|
|
11696
12637
|
};
|
|
11697
12638
|
/**
|
|
11698
12639
|
* OrdersApi - axios parameter creator
|
|
@@ -11721,8 +12662,8 @@ var OrdersApiAxiosParamCreator = function (configuration) {
|
|
|
11721
12662
|
// verify required parameter 'batchId' is not null or undefined
|
|
11722
12663
|
(0, common_1.assertParamExists)('deleteDeleteBatch', 'batchId', batchId);
|
|
11723
12664
|
localVarPath = "/admin/orders/{id}/batches/{batch_id}"
|
|
11724
|
-
.replace(
|
|
11725
|
-
.replace(
|
|
12665
|
+
.replace('{id}', encodeURIComponent(String(id)))
|
|
12666
|
+
.replace('{batch_id}', encodeURIComponent(String(batchId)));
|
|
11726
12667
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
11727
12668
|
if (configuration) {
|
|
11728
12669
|
baseOptions = configuration.baseOptions;
|
|
@@ -11759,7 +12700,7 @@ var OrdersApiAxiosParamCreator = function (configuration) {
|
|
|
11759
12700
|
// verify required parameter 'id' is not null or undefined
|
|
11760
12701
|
(0, common_1.assertParamExists)('deleteUpdateOrder', 'id', id);
|
|
11761
12702
|
localVarPath = "/orders/{id}"
|
|
11762
|
-
.replace(
|
|
12703
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
11763
12704
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
11764
12705
|
if (configuration) {
|
|
11765
12706
|
baseOptions = configuration.baseOptions;
|
|
@@ -11802,9 +12743,9 @@ var OrdersApiAxiosParamCreator = function (configuration) {
|
|
|
11802
12743
|
// verify required parameter 'shipmentId' is not null or undefined
|
|
11803
12744
|
(0, common_1.assertParamExists)('deleteUpdateShipment', 'shipmentId', shipmentId);
|
|
11804
12745
|
localVarPath = "/admin/orders/{id}/batches/{batch_id}/shipments/{shipment_id}"
|
|
11805
|
-
.replace(
|
|
11806
|
-
.replace(
|
|
11807
|
-
.replace(
|
|
12746
|
+
.replace('{id}', encodeURIComponent(String(id)))
|
|
12747
|
+
.replace('{batch_id}', encodeURIComponent(String(batchId)))
|
|
12748
|
+
.replace('{shipment_id}', encodeURIComponent(String(shipmentId)));
|
|
11808
12749
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
11809
12750
|
if (configuration) {
|
|
11810
12751
|
baseOptions = configuration.baseOptions;
|
|
@@ -11841,7 +12782,7 @@ var OrdersApiAxiosParamCreator = function (configuration) {
|
|
|
11841
12782
|
// verify required parameter 'id' is not null or undefined
|
|
11842
12783
|
(0, common_1.assertParamExists)('getGetAdminEditableOrder', 'id', id);
|
|
11843
12784
|
localVarPath = "/admin/orders/{id}/views/editable"
|
|
11844
|
-
.replace(
|
|
12785
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
11845
12786
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
11846
12787
|
if (configuration) {
|
|
11847
12788
|
baseOptions = configuration.baseOptions;
|
|
@@ -11879,7 +12820,7 @@ var OrdersApiAxiosParamCreator = function (configuration) {
|
|
|
11879
12820
|
// verify required parameter 'id' is not null or undefined
|
|
11880
12821
|
(0, common_1.assertParamExists)('getGetAdminOrderDetails', 'id', id);
|
|
11881
12822
|
localVarPath = "/admin/orders/{id}/details"
|
|
11882
|
-
.replace(
|
|
12823
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
11883
12824
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
11884
12825
|
if (configuration) {
|
|
11885
12826
|
baseOptions = configuration.baseOptions;
|
|
@@ -11923,9 +12864,9 @@ var OrdersApiAxiosParamCreator = function (configuration) {
|
|
|
11923
12864
|
// verify required parameter 'shipmentId' is not null or undefined
|
|
11924
12865
|
(0, common_1.assertParamExists)('getGetCommercialInvoice', 'shipmentId', shipmentId);
|
|
11925
12866
|
localVarPath = "/admin/orders/{id}/batches/{batch_id}/shipments/{shipment_id}/pdf"
|
|
11926
|
-
.replace(
|
|
11927
|
-
.replace(
|
|
11928
|
-
.replace(
|
|
12867
|
+
.replace('{id}', encodeURIComponent(String(id)))
|
|
12868
|
+
.replace('{batch_id}', encodeURIComponent(String(batchId)))
|
|
12869
|
+
.replace('{shipment_id}', encodeURIComponent(String(shipmentId)));
|
|
11929
12870
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
11930
12871
|
if (configuration) {
|
|
11931
12872
|
baseOptions = configuration.baseOptions;
|
|
@@ -11963,7 +12904,7 @@ var OrdersApiAxiosParamCreator = function (configuration) {
|
|
|
11963
12904
|
// verify required parameter 'id' is not null or undefined
|
|
11964
12905
|
(0, common_1.assertParamExists)('getGetEditableOrder', 'id', id);
|
|
11965
12906
|
localVarPath = "/orders/{id}/views/editable"
|
|
11966
|
-
.replace(
|
|
12907
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
11967
12908
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
11968
12909
|
if (configuration) {
|
|
11969
12910
|
baseOptions = configuration.baseOptions;
|
|
@@ -12004,8 +12945,8 @@ var OrdersApiAxiosParamCreator = function (configuration) {
|
|
|
12004
12945
|
// verify required parameter 'itemId' is not null or undefined
|
|
12005
12946
|
(0, common_1.assertParamExists)('getGetItemSerialInfo', 'itemId', itemId);
|
|
12006
12947
|
localVarPath = "/admin/orders/{id}/items/{item_id}/info"
|
|
12007
|
-
.replace(
|
|
12008
|
-
.replace(
|
|
12948
|
+
.replace('{id}', encodeURIComponent(String(id)))
|
|
12949
|
+
.replace('{item_id}', encodeURIComponent(String(itemId)));
|
|
12009
12950
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
12010
12951
|
if (configuration) {
|
|
12011
12952
|
baseOptions = configuration.baseOptions;
|
|
@@ -12043,7 +12984,7 @@ var OrdersApiAxiosParamCreator = function (configuration) {
|
|
|
12043
12984
|
// verify required parameter 'id' is not null or undefined
|
|
12044
12985
|
(0, common_1.assertParamExists)('getGetOrderPdf', 'id', id);
|
|
12045
12986
|
localVarPath = "/orders/{id}/pdf"
|
|
12046
|
-
.replace(
|
|
12987
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
12047
12988
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
12048
12989
|
if (configuration) {
|
|
12049
12990
|
baseOptions = configuration.baseOptions;
|
|
@@ -12081,7 +13022,7 @@ var OrdersApiAxiosParamCreator = function (configuration) {
|
|
|
12081
13022
|
// verify required parameter 'id' is not null or undefined
|
|
12082
13023
|
(0, common_1.assertParamExists)('getGetOrderSummary', 'id', id);
|
|
12083
13024
|
localVarPath = "/admin/orders/{id}/summary"
|
|
12084
|
-
.replace(
|
|
13025
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
12085
13026
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
12086
13027
|
if (configuration) {
|
|
12087
13028
|
baseOptions = configuration.baseOptions;
|
|
@@ -12181,7 +13122,7 @@ var OrdersApiAxiosParamCreator = function (configuration) {
|
|
|
12181
13122
|
// verify required parameter 'id' is not null or undefined
|
|
12182
13123
|
(0, common_1.assertParamExists)('patchCompleteOrder', 'id', id);
|
|
12183
13124
|
localVarPath = "/admin/orders/{id}/complete"
|
|
12184
|
-
.replace(
|
|
13125
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
12185
13126
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
12186
13127
|
if (configuration) {
|
|
12187
13128
|
baseOptions = configuration.baseOptions;
|
|
@@ -12220,7 +13161,7 @@ var OrdersApiAxiosParamCreator = function (configuration) {
|
|
|
12220
13161
|
// verify required parameter 'id' is not null or undefined
|
|
12221
13162
|
(0, common_1.assertParamExists)('postAddOrderNote', 'id', id);
|
|
12222
13163
|
localVarPath = "/admin/orders/{id}/notes"
|
|
12223
|
-
.replace(
|
|
13164
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
12224
13165
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
12225
13166
|
if (configuration) {
|
|
12226
13167
|
baseOptions = configuration.baseOptions;
|
|
@@ -12305,8 +13246,8 @@ var OrdersApiAxiosParamCreator = function (configuration) {
|
|
|
12305
13246
|
// verify required parameter 'shipmentId' is not null or undefined
|
|
12306
13247
|
(0, common_1.assertParamExists)('postCreateConsignment', 'shipmentId', shipmentId);
|
|
12307
13248
|
localVarPath = "/admin/orders/{id}/shipments/{shipment_id}/consignment"
|
|
12308
|
-
.replace(
|
|
12309
|
-
.replace(
|
|
13249
|
+
.replace('{id}', encodeURIComponent(String(id)))
|
|
13250
|
+
.replace('{shipment_id}', encodeURIComponent(String(shipmentId)));
|
|
12310
13251
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
12311
13252
|
if (configuration) {
|
|
12312
13253
|
baseOptions = configuration.baseOptions;
|
|
@@ -12327,6 +13268,43 @@ var OrdersApiAxiosParamCreator = function (configuration) {
|
|
|
12327
13268
|
});
|
|
12328
13269
|
});
|
|
12329
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
|
+
},
|
|
12330
13308
|
/**
|
|
12331
13309
|
* Create Shipment (Admin)
|
|
12332
13310
|
* @summary Create Shipment (Admin)
|
|
@@ -12350,8 +13328,8 @@ var OrdersApiAxiosParamCreator = function (configuration) {
|
|
|
12350
13328
|
// verify required parameter 'batchId' is not null or undefined
|
|
12351
13329
|
(0, common_1.assertParamExists)('postCreateShipment', 'batchId', batchId);
|
|
12352
13330
|
localVarPath = "/admin/orders/{id}/batches/{batch_id}/shipments"
|
|
12353
|
-
.replace(
|
|
12354
|
-
.replace(
|
|
13331
|
+
.replace('{id}', encodeURIComponent(String(id)))
|
|
13332
|
+
.replace('{batch_id}', encodeURIComponent(String(batchId)));
|
|
12355
13333
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
12356
13334
|
if (configuration) {
|
|
12357
13335
|
baseOptions = configuration.baseOptions;
|
|
@@ -12433,7 +13411,7 @@ var OrdersApiAxiosParamCreator = function (configuration) {
|
|
|
12433
13411
|
// verify required parameter 'id' is not null or undefined
|
|
12434
13412
|
(0, common_1.assertParamExists)('postIssueCredit', 'id', id);
|
|
12435
13413
|
localVarPath = "/admin/orders/{id}/credit"
|
|
12436
|
-
.replace(
|
|
13414
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
12437
13415
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
12438
13416
|
if (configuration) {
|
|
12439
13417
|
baseOptions = configuration.baseOptions;
|
|
@@ -12479,8 +13457,8 @@ var OrdersApiAxiosParamCreator = function (configuration) {
|
|
|
12479
13457
|
// verify required parameter 'printer' is not null or undefined
|
|
12480
13458
|
(0, common_1.assertParamExists)('postPrintShippingLabel', 'printer', printer);
|
|
12481
13459
|
localVarPath = "/admin/orders/{id}/shipments/{shipment_id}/label/print"
|
|
12482
|
-
.replace(
|
|
12483
|
-
.replace(
|
|
13460
|
+
.replace('{id}', encodeURIComponent(String(id)))
|
|
13461
|
+
.replace('{shipment_id}', encodeURIComponent(String(shipmentId)));
|
|
12484
13462
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
12485
13463
|
if (configuration) {
|
|
12486
13464
|
baseOptions = configuration.baseOptions;
|
|
@@ -12524,8 +13502,8 @@ var OrdersApiAxiosParamCreator = function (configuration) {
|
|
|
12524
13502
|
// verify required parameter 'batchId' is not null or undefined
|
|
12525
13503
|
(0, common_1.assertParamExists)('postProcessTcxLicences', 'batchId', batchId);
|
|
12526
13504
|
localVarPath = "/admin/orders/{id}/batches/{batch_id}/licences/process"
|
|
12527
|
-
.replace(
|
|
12528
|
-
.replace(
|
|
13505
|
+
.replace('{id}', encodeURIComponent(String(id)))
|
|
13506
|
+
.replace('{batch_id}', encodeURIComponent(String(batchId)));
|
|
12529
13507
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
12530
13508
|
if (configuration) {
|
|
12531
13509
|
baseOptions = configuration.baseOptions;
|
|
@@ -12566,7 +13544,7 @@ var OrdersApiAxiosParamCreator = function (configuration) {
|
|
|
12566
13544
|
// verify required parameter 'email' is not null or undefined
|
|
12567
13545
|
(0, common_1.assertParamExists)('postSendOrderEmail', 'email', email);
|
|
12568
13546
|
localVarPath = "/admin/orders/{id}/email/send"
|
|
12569
|
-
.replace(
|
|
13547
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
12570
13548
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
12571
13549
|
if (configuration) {
|
|
12572
13550
|
baseOptions = configuration.baseOptions;
|
|
@@ -12615,9 +13593,9 @@ var OrdersApiAxiosParamCreator = function (configuration) {
|
|
|
12615
13593
|
// verify required parameter 'email' is not null or undefined
|
|
12616
13594
|
(0, common_1.assertParamExists)('postSendShipmentEmail', 'email', email);
|
|
12617
13595
|
localVarPath = "/admin/orders/{id}/batches/{batch_id}/shipments/{shipment_id}/send/email"
|
|
12618
|
-
.replace(
|
|
12619
|
-
.replace(
|
|
12620
|
-
.replace(
|
|
13596
|
+
.replace('{id}', encodeURIComponent(String(id)))
|
|
13597
|
+
.replace('{batch_id}', encodeURIComponent(String(batchId)))
|
|
13598
|
+
.replace('{shipment_id}', encodeURIComponent(String(shipmentId)));
|
|
12621
13599
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
12622
13600
|
if (configuration) {
|
|
12623
13601
|
baseOptions = configuration.baseOptions;
|
|
@@ -12660,8 +13638,8 @@ var OrdersApiAxiosParamCreator = function (configuration) {
|
|
|
12660
13638
|
// verify required parameter 'batchId' is not null or undefined
|
|
12661
13639
|
(0, common_1.assertParamExists)('postSendSupplierEmail', 'batchId', batchId);
|
|
12662
13640
|
localVarPath = "/admin/orders/{id}/batches/{batch_id}/email/send"
|
|
12663
|
-
.replace(
|
|
12664
|
-
.replace(
|
|
13641
|
+
.replace('{id}', encodeURIComponent(String(id)))
|
|
13642
|
+
.replace('{batch_id}', encodeURIComponent(String(batchId)));
|
|
12665
13643
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
12666
13644
|
if (configuration) {
|
|
12667
13645
|
baseOptions = configuration.baseOptions;
|
|
@@ -12699,7 +13677,7 @@ var OrdersApiAxiosParamCreator = function (configuration) {
|
|
|
12699
13677
|
// verify required parameter 'id' is not null or undefined
|
|
12700
13678
|
(0, common_1.assertParamExists)('postSplitOrder', 'id', id);
|
|
12701
13679
|
localVarPath = "/admin/orders/{id}/split"
|
|
12702
|
-
.replace(
|
|
13680
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
12703
13681
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
12704
13682
|
if (configuration) {
|
|
12705
13683
|
baseOptions = configuration.baseOptions;
|
|
@@ -12743,7 +13721,7 @@ var OrdersApiAxiosParamCreator = function (configuration) {
|
|
|
12743
13721
|
// verify required parameter 'supplierId' is not null or undefined
|
|
12744
13722
|
(0, common_1.assertParamExists)('putAllocateItems', 'supplierId', supplierId);
|
|
12745
13723
|
localVarPath = "/admin/orders/{id}/items/allocate"
|
|
12746
|
-
.replace(
|
|
13724
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
12747
13725
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
12748
13726
|
if (configuration) {
|
|
12749
13727
|
baseOptions = configuration.baseOptions;
|
|
@@ -12788,7 +13766,7 @@ var OrdersApiAxiosParamCreator = function (configuration) {
|
|
|
12788
13766
|
// verify required parameter 'id' is not null or undefined
|
|
12789
13767
|
(0, common_1.assertParamExists)('putUpdateAdminOrder', 'id', id);
|
|
12790
13768
|
localVarPath = "/admin/orders/{id}"
|
|
12791
|
-
.replace(
|
|
13769
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
12792
13770
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
12793
13771
|
if (configuration) {
|
|
12794
13772
|
baseOptions = configuration.baseOptions;
|
|
@@ -12838,9 +13816,9 @@ var OrdersApiAxiosParamCreator = function (configuration) {
|
|
|
12838
13816
|
// verify required parameter 'itemId' is not null or undefined
|
|
12839
13817
|
(0, common_1.assertParamExists)('putUpdateBatchItem', 'itemId', itemId);
|
|
12840
13818
|
localVarPath = "/admin/orders/{id}/batches/{batch_id}/items/{item_id}"
|
|
12841
|
-
.replace(
|
|
12842
|
-
.replace(
|
|
12843
|
-
.replace(
|
|
13819
|
+
.replace('{id}', encodeURIComponent(String(id)))
|
|
13820
|
+
.replace('{batch_id}', encodeURIComponent(String(batchId)))
|
|
13821
|
+
.replace('{item_id}', encodeURIComponent(String(itemId)));
|
|
12844
13822
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
12845
13823
|
if (configuration) {
|
|
12846
13824
|
baseOptions = configuration.baseOptions;
|
|
@@ -12882,7 +13860,7 @@ var OrdersApiAxiosParamCreator = function (configuration) {
|
|
|
12882
13860
|
// verify required parameter 'id' is not null or undefined
|
|
12883
13861
|
(0, common_1.assertParamExists)('putUpdateOrder', 'id', id);
|
|
12884
13862
|
localVarPath = "/orders/{id}"
|
|
12885
|
-
.replace(
|
|
13863
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
12886
13864
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
12887
13865
|
if (configuration) {
|
|
12888
13866
|
baseOptions = configuration.baseOptions;
|
|
@@ -12928,7 +13906,7 @@ var OrdersApiAxiosParamCreator = function (configuration) {
|
|
|
12928
13906
|
// verify required parameter 'paid' is not null or undefined
|
|
12929
13907
|
(0, common_1.assertParamExists)('putUpdatePaymentStatus', 'paid', paid);
|
|
12930
13908
|
localVarPath = "/admin/orders/{id}/paid"
|
|
12931
|
-
.replace(
|
|
13909
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
12932
13910
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
12933
13911
|
if (configuration) {
|
|
12934
13912
|
baseOptions = configuration.baseOptions;
|
|
@@ -12976,9 +13954,9 @@ var OrdersApiAxiosParamCreator = function (configuration) {
|
|
|
12976
13954
|
// verify required parameter 'shipmentId' is not null or undefined
|
|
12977
13955
|
(0, common_1.assertParamExists)('putUpdateShipment', 'shipmentId', shipmentId);
|
|
12978
13956
|
localVarPath = "/admin/orders/{id}/batches/{batch_id}/shipments/{shipment_id}"
|
|
12979
|
-
.replace(
|
|
12980
|
-
.replace(
|
|
12981
|
-
.replace(
|
|
13957
|
+
.replace('{id}', encodeURIComponent(String(id)))
|
|
13958
|
+
.replace('{batch_id}', encodeURIComponent(String(batchId)))
|
|
13959
|
+
.replace('{shipment_id}', encodeURIComponent(String(shipmentId)));
|
|
12982
13960
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
12983
13961
|
if (configuration) {
|
|
12984
13962
|
baseOptions = configuration.baseOptions;
|
|
@@ -13368,6 +14346,29 @@ var OrdersApiFp = function (configuration) {
|
|
|
13368
14346
|
});
|
|
13369
14347
|
});
|
|
13370
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
|
+
},
|
|
13371
14372
|
/**
|
|
13372
14373
|
* Create Shipment (Admin)
|
|
13373
14374
|
* @summary Create Shipment (Admin)
|
|
@@ -13913,6 +14914,16 @@ var OrdersApiFactory = function (configuration, basePath, axios) {
|
|
|
13913
14914
|
postCreateConsignment: function (id, shipmentId, shippingRequestDTO, options) {
|
|
13914
14915
|
return localVarFp.postCreateConsignment(id, shipmentId, shippingRequestDTO, options).then(function (request) { return request(axios, basePath); });
|
|
13915
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
|
+
},
|
|
13916
14927
|
/**
|
|
13917
14928
|
* Create Shipment (Admin)
|
|
13918
14929
|
* @summary Create Shipment (Admin)
|
|
@@ -14280,6 +15291,17 @@ var OrdersApi = /** @class */ (function (_super) {
|
|
|
14280
15291
|
var _this = this;
|
|
14281
15292
|
return (0, exports.OrdersApiFp)(this.configuration).postCreateConsignment(id, shipmentId, shippingRequestDTO, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
14282
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
|
+
};
|
|
14283
15305
|
/**
|
|
14284
15306
|
* Create Shipment (Admin)
|
|
14285
15307
|
* @summary Create Shipment (Admin)
|
|
@@ -14478,18 +15500,18 @@ exports.GetGetOrdersStatusEnum = {
|
|
|
14478
15500
|
Paid: 'PAID',
|
|
14479
15501
|
InvoicePaid: 'INVOICE_PAID',
|
|
14480
15502
|
Unpaid: 'UNPAID',
|
|
14481
|
-
Quote: 'QUOTE'
|
|
15503
|
+
Quote: 'QUOTE',
|
|
14482
15504
|
};
|
|
14483
15505
|
exports.GetGetOrdersFilterEnum = {
|
|
14484
15506
|
Outstanding: 'OUTSTANDING',
|
|
14485
15507
|
Quotes: 'QUOTES',
|
|
14486
15508
|
All: 'ALL',
|
|
14487
|
-
BackOrders: 'BACK_ORDERS'
|
|
15509
|
+
BackOrders: 'BACK_ORDERS',
|
|
14488
15510
|
};
|
|
14489
15511
|
exports.PostPrintShippingLabelPrinterEnum = {
|
|
14490
15512
|
NUMBER_1: 1,
|
|
14491
15513
|
NUMBER_2: 2,
|
|
14492
|
-
NUMBER_3: 3
|
|
15514
|
+
NUMBER_3: 3,
|
|
14493
15515
|
};
|
|
14494
15516
|
/**
|
|
14495
15517
|
* PricingApi - axios parameter creator
|
|
@@ -14762,14 +15784,14 @@ exports.GetGetPriceListTypeEnum = {
|
|
|
14762
15784
|
EdTechPro: 'EdTechPro',
|
|
14763
15785
|
Sms: 'SMS',
|
|
14764
15786
|
SipTrunks: 'SIP Trunks',
|
|
14765
|
-
CrmIntegrations: 'CRM Integrations'
|
|
15787
|
+
CrmIntegrations: 'CRM Integrations',
|
|
14766
15788
|
};
|
|
14767
15789
|
exports.GetGetPriceListFormatEnum = {
|
|
14768
15790
|
Pdf: 'pdf',
|
|
14769
15791
|
Json: 'json',
|
|
14770
15792
|
Csv: 'csv',
|
|
14771
15793
|
Xml: 'xml',
|
|
14772
|
-
Html: 'html'
|
|
15794
|
+
Html: 'html',
|
|
14773
15795
|
};
|
|
14774
15796
|
exports.GetGetPriceListCategoryEnum = {
|
|
14775
15797
|
Yealink: 'Yealink',
|
|
@@ -14791,7 +15813,7 @@ exports.GetGetPriceListCategoryEnum = {
|
|
|
14791
15813
|
FanvilWirelessPhones: 'Fanvil Wireless Phones',
|
|
14792
15814
|
FanvilSecurityProducts: 'Fanvil Security Products',
|
|
14793
15815
|
FanvilAccessories: 'Fanvil Accessories',
|
|
14794
|
-
FanvilHotelPhones: 'Fanvil Hotel Phones'
|
|
15816
|
+
FanvilHotelPhones: 'Fanvil Hotel Phones',
|
|
14795
15817
|
};
|
|
14796
15818
|
exports.PostSendPriceListTypeEnum = {
|
|
14797
15819
|
Products: 'Products',
|
|
@@ -14802,14 +15824,14 @@ exports.PostSendPriceListTypeEnum = {
|
|
|
14802
15824
|
EdTechPro: 'EdTechPro',
|
|
14803
15825
|
Sms: 'SMS',
|
|
14804
15826
|
SipTrunks: 'SIP Trunks',
|
|
14805
|
-
CrmIntegrations: 'CRM Integrations'
|
|
15827
|
+
CrmIntegrations: 'CRM Integrations',
|
|
14806
15828
|
};
|
|
14807
15829
|
exports.PostSendPriceListFormatEnum = {
|
|
14808
15830
|
Pdf: 'pdf',
|
|
14809
15831
|
Json: 'json',
|
|
14810
15832
|
Csv: 'csv',
|
|
14811
15833
|
Xml: 'xml',
|
|
14812
|
-
Html: 'html'
|
|
15834
|
+
Html: 'html',
|
|
14813
15835
|
};
|
|
14814
15836
|
exports.PostSendPriceListCategoryEnum = {
|
|
14815
15837
|
Yealink: 'Yealink',
|
|
@@ -14831,7 +15853,7 @@ exports.PostSendPriceListCategoryEnum = {
|
|
|
14831
15853
|
FanvilWirelessPhones: 'Fanvil Wireless Phones',
|
|
14832
15854
|
FanvilSecurityProducts: 'Fanvil Security Products',
|
|
14833
15855
|
FanvilAccessories: 'Fanvil Accessories',
|
|
14834
|
-
FanvilHotelPhones: 'Fanvil Hotel Phones'
|
|
15856
|
+
FanvilHotelPhones: 'Fanvil Hotel Phones',
|
|
14835
15857
|
};
|
|
14836
15858
|
/**
|
|
14837
15859
|
* ProductsApi - axios parameter creator
|
|
@@ -15118,7 +16140,7 @@ var ProductsApiAxiosParamCreator = function (configuration) {
|
|
|
15118
16140
|
// verify required parameter 'quantity' is not null or undefined
|
|
15119
16141
|
(0, common_1.assertParamExists)('patchAddQuantityToStock', 'quantity', quantity);
|
|
15120
16142
|
localVarPath = "/products/{sku}/stock/add"
|
|
15121
|
-
.replace(
|
|
16143
|
+
.replace('{sku}', encodeURIComponent(String(sku)));
|
|
15122
16144
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
15123
16145
|
if (configuration) {
|
|
15124
16146
|
baseOptions = configuration.baseOptions;
|
|
@@ -15143,25 +16165,25 @@ var ProductsApiAxiosParamCreator = function (configuration) {
|
|
|
15143
16165
|
* Get Product
|
|
15144
16166
|
* @summary Get Product
|
|
15145
16167
|
* @param {string} sku Product SKU
|
|
15146
|
-
* @param {
|
|
16168
|
+
* @param {PostGetProductForCustomerRequest} postGetProductForCustomerRequest Product search criteria
|
|
15147
16169
|
* @param {*} [options] Override http request option.
|
|
15148
16170
|
* @throws {RequiredError}
|
|
15149
16171
|
*/
|
|
15150
|
-
postGetProduct: function (sku_1,
|
|
16172
|
+
postGetProduct: function (sku_1, postGetProductForCustomerRequest_1) {
|
|
15151
16173
|
var args_1 = [];
|
|
15152
16174
|
for (var _i = 2; _i < arguments.length; _i++) {
|
|
15153
16175
|
args_1[_i - 2] = arguments[_i];
|
|
15154
16176
|
}
|
|
15155
|
-
return __awaiter(_this, __spreadArray([sku_1,
|
|
16177
|
+
return __awaiter(_this, __spreadArray([sku_1, postGetProductForCustomerRequest_1], args_1, true), void 0, function (sku, postGetProductForCustomerRequest, options) {
|
|
15156
16178
|
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
15157
16179
|
if (options === void 0) { options = {}; }
|
|
15158
16180
|
return __generator(this, function (_a) {
|
|
15159
16181
|
// verify required parameter 'sku' is not null or undefined
|
|
15160
16182
|
(0, common_1.assertParamExists)('postGetProduct', 'sku', sku);
|
|
15161
|
-
// verify required parameter '
|
|
15162
|
-
(0, common_1.assertParamExists)('postGetProduct', '
|
|
16183
|
+
// verify required parameter 'postGetProductForCustomerRequest' is not null or undefined
|
|
16184
|
+
(0, common_1.assertParamExists)('postGetProduct', 'postGetProductForCustomerRequest', postGetProductForCustomerRequest);
|
|
15163
16185
|
localVarPath = "/products/{sku}"
|
|
15164
|
-
.replace(
|
|
16186
|
+
.replace('{sku}', encodeURIComponent(String(sku)));
|
|
15165
16187
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
15166
16188
|
if (configuration) {
|
|
15167
16189
|
baseOptions = configuration.baseOptions;
|
|
@@ -15174,7 +16196,7 @@ var ProductsApiAxiosParamCreator = function (configuration) {
|
|
|
15174
16196
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
15175
16197
|
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
15176
16198
|
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
15177
|
-
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(
|
|
16199
|
+
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(postGetProductForCustomerRequest, localVarRequestOptions, configuration);
|
|
15178
16200
|
return [2 /*return*/, {
|
|
15179
16201
|
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
15180
16202
|
options: localVarRequestOptions,
|
|
@@ -15207,7 +16229,7 @@ var ProductsApiAxiosParamCreator = function (configuration) {
|
|
|
15207
16229
|
// verify required parameter 'postGetProductForCustomerRequest' is not null or undefined
|
|
15208
16230
|
(0, common_1.assertParamExists)('postGetProductForCustomer', 'postGetProductForCustomerRequest', postGetProductForCustomerRequest);
|
|
15209
16231
|
localVarPath = "/admin/products/{sku}"
|
|
15210
|
-
.replace(
|
|
16232
|
+
.replace('{sku}', encodeURIComponent(String(sku)));
|
|
15211
16233
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
15212
16234
|
if (configuration) {
|
|
15213
16235
|
baseOptions = configuration.baseOptions;
|
|
@@ -15427,17 +16449,17 @@ var ProductsApiFp = function (configuration) {
|
|
|
15427
16449
|
* Get Product
|
|
15428
16450
|
* @summary Get Product
|
|
15429
16451
|
* @param {string} sku Product SKU
|
|
15430
|
-
* @param {
|
|
16452
|
+
* @param {PostGetProductForCustomerRequest} postGetProductForCustomerRequest Product search criteria
|
|
15431
16453
|
* @param {*} [options] Override http request option.
|
|
15432
16454
|
* @throws {RequiredError}
|
|
15433
16455
|
*/
|
|
15434
|
-
postGetProduct: function (sku,
|
|
16456
|
+
postGetProduct: function (sku, postGetProductForCustomerRequest, options) {
|
|
15435
16457
|
return __awaiter(this, void 0, void 0, function () {
|
|
15436
16458
|
var localVarAxiosArgs, localVarOperationServerIndex, localVarOperationServerBasePath;
|
|
15437
16459
|
var _a, _b, _c;
|
|
15438
16460
|
return __generator(this, function (_d) {
|
|
15439
16461
|
switch (_d.label) {
|
|
15440
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.postGetProduct(sku,
|
|
16462
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.postGetProduct(sku, postGetProductForCustomerRequest, options)];
|
|
15441
16463
|
case 1:
|
|
15442
16464
|
localVarAxiosArgs = _d.sent();
|
|
15443
16465
|
localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
@@ -15564,12 +16586,12 @@ var ProductsApiFactory = function (configuration, basePath, axios) {
|
|
|
15564
16586
|
* Get Product
|
|
15565
16587
|
* @summary Get Product
|
|
15566
16588
|
* @param {string} sku Product SKU
|
|
15567
|
-
* @param {
|
|
16589
|
+
* @param {PostGetProductForCustomerRequest} postGetProductForCustomerRequest Product search criteria
|
|
15568
16590
|
* @param {*} [options] Override http request option.
|
|
15569
16591
|
* @throws {RequiredError}
|
|
15570
16592
|
*/
|
|
15571
|
-
postGetProduct: function (sku,
|
|
15572
|
-
return localVarFp.postGetProduct(sku,
|
|
16593
|
+
postGetProduct: function (sku, postGetProductForCustomerRequest, options) {
|
|
16594
|
+
return localVarFp.postGetProduct(sku, postGetProductForCustomerRequest, options).then(function (request) { return request(axios, basePath); });
|
|
15573
16595
|
},
|
|
15574
16596
|
/**
|
|
15575
16597
|
* Get Product For Customer
|
|
@@ -15685,13 +16707,13 @@ var ProductsApi = /** @class */ (function (_super) {
|
|
|
15685
16707
|
* Get Product
|
|
15686
16708
|
* @summary Get Product
|
|
15687
16709
|
* @param {string} sku Product SKU
|
|
15688
|
-
* @param {
|
|
16710
|
+
* @param {PostGetProductForCustomerRequest} postGetProductForCustomerRequest Product search criteria
|
|
15689
16711
|
* @param {*} [options] Override http request option.
|
|
15690
16712
|
* @throws {RequiredError}
|
|
15691
16713
|
*/
|
|
15692
|
-
ProductsApi.prototype.postGetProduct = function (sku,
|
|
16714
|
+
ProductsApi.prototype.postGetProduct = function (sku, postGetProductForCustomerRequest, options) {
|
|
15693
16715
|
var _this = this;
|
|
15694
|
-
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); });
|
|
15695
16717
|
};
|
|
15696
16718
|
/**
|
|
15697
16719
|
* Get Product For Customer
|
|
@@ -15711,7 +16733,7 @@ var ProductsApi = /** @class */ (function (_super) {
|
|
|
15711
16733
|
exports.ProductsApi = ProductsApi;
|
|
15712
16734
|
exports.GetGetLegacyStockListFormatEnum = {
|
|
15713
16735
|
Xml: 'XML',
|
|
15714
|
-
Csv: 'CSV'
|
|
16736
|
+
Csv: 'CSV',
|
|
15715
16737
|
};
|
|
15716
16738
|
/**
|
|
15717
16739
|
* ProspectsApi - axios parameter creator
|
|
@@ -15738,7 +16760,7 @@ var ProspectsApiAxiosParamCreator = function (configuration) {
|
|
|
15738
16760
|
// verify required parameter 'xeroId' is not null or undefined
|
|
15739
16761
|
(0, common_1.assertParamExists)('getGetProspect', 'xeroId', xeroId);
|
|
15740
16762
|
localVarPath = "/accounts/prospects/{xero_id}"
|
|
15741
|
-
.replace(
|
|
16763
|
+
.replace('{xero_id}', encodeURIComponent(String(xeroId)));
|
|
15742
16764
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
15743
16765
|
if (configuration) {
|
|
15744
16766
|
baseOptions = configuration.baseOptions;
|
|
@@ -15813,7 +16835,7 @@ var ProspectsApiAxiosParamCreator = function (configuration) {
|
|
|
15813
16835
|
// verify required parameter 'status' is not null or undefined
|
|
15814
16836
|
(0, common_1.assertParamExists)('getRemoveFromProspects', 'status', status);
|
|
15815
16837
|
localVarPath = "/accounts/prospects/{xero_id}/remove"
|
|
15816
|
-
.replace(
|
|
16838
|
+
.replace('{xero_id}', encodeURIComponent(String(xeroId)));
|
|
15817
16839
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
15818
16840
|
if (configuration) {
|
|
15819
16841
|
baseOptions = configuration.baseOptions;
|
|
@@ -15857,7 +16879,7 @@ var ProspectsApiAxiosParamCreator = function (configuration) {
|
|
|
15857
16879
|
// verify required parameter 'date' is not null or undefined
|
|
15858
16880
|
(0, common_1.assertParamExists)('getSetCallback', 'date', date);
|
|
15859
16881
|
localVarPath = "/accounts/prospects/{xero_id}/date"
|
|
15860
|
-
.replace(
|
|
16882
|
+
.replace('{xero_id}', encodeURIComponent(String(xeroId)));
|
|
15861
16883
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
15862
16884
|
if (configuration) {
|
|
15863
16885
|
baseOptions = configuration.baseOptions;
|
|
@@ -16118,8 +17140,8 @@ var ProvisioningApiAxiosParamCreator = function (configuration) {
|
|
|
16118
17140
|
// verify required parameter 'mac' is not null or undefined
|
|
16119
17141
|
(0, common_1.assertParamExists)('deleteAddFanvilMac', 'mac', mac);
|
|
16120
17142
|
localVarPath = "/provisioning/fanvil/groups/{id}/macs/{mac}"
|
|
16121
|
-
.replace(
|
|
16122
|
-
.replace(
|
|
17143
|
+
.replace('{id}', encodeURIComponent(String(id)))
|
|
17144
|
+
.replace('{mac}', encodeURIComponent(String(mac)));
|
|
16123
17145
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
16124
17146
|
if (configuration) {
|
|
16125
17147
|
baseOptions = configuration.baseOptions;
|
|
@@ -16156,7 +17178,7 @@ var ProvisioningApiAxiosParamCreator = function (configuration) {
|
|
|
16156
17178
|
// verify required parameter 'id' is not null or undefined
|
|
16157
17179
|
(0, common_1.assertParamExists)('deleteDeleteFanvilGroup', 'id', id);
|
|
16158
17180
|
localVarPath = "/provisioning/fanvil/groups/{id}"
|
|
16159
|
-
.replace(
|
|
17181
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
16160
17182
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
16161
17183
|
if (configuration) {
|
|
16162
17184
|
baseOptions = configuration.baseOptions;
|
|
@@ -16196,8 +17218,8 @@ var ProvisioningApiAxiosParamCreator = function (configuration) {
|
|
|
16196
17218
|
// verify required parameter 'mac' is not null or undefined
|
|
16197
17219
|
(0, common_1.assertParamExists)('getGetFanvilEncryptionKey', 'mac', mac);
|
|
16198
17220
|
localVarPath = "/provisioning/fanvil/groups/{id}/macs/{mac}/key"
|
|
16199
|
-
.replace(
|
|
16200
|
-
.replace(
|
|
17221
|
+
.replace('{id}', encodeURIComponent(String(id)))
|
|
17222
|
+
.replace('{mac}', encodeURIComponent(String(mac)));
|
|
16201
17223
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
16202
17224
|
if (configuration) {
|
|
16203
17225
|
baseOptions = configuration.baseOptions;
|
|
@@ -16235,7 +17257,7 @@ var ProvisioningApiAxiosParamCreator = function (configuration) {
|
|
|
16235
17257
|
// verify required parameter 'id' is not null or undefined
|
|
16236
17258
|
(0, common_1.assertParamExists)('getGetFanvilGroupMacs', 'id', id);
|
|
16237
17259
|
localVarPath = "/provisioning/fanvil/groups/{id}/macs"
|
|
16238
|
-
.replace(
|
|
17260
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
16239
17261
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
16240
17262
|
if (configuration) {
|
|
16241
17263
|
baseOptions = configuration.baseOptions;
|
|
@@ -16351,8 +17373,8 @@ var ProvisioningApiAxiosParamCreator = function (configuration) {
|
|
|
16351
17373
|
// verify required parameter 'mac' is not null or undefined
|
|
16352
17374
|
(0, common_1.assertParamExists)('postAddFanvilMac', 'mac', mac);
|
|
16353
17375
|
localVarPath = "/provisioning/fanvil/groups/{id}/macs/{mac}"
|
|
16354
|
-
.replace(
|
|
16355
|
-
.replace(
|
|
17376
|
+
.replace('{id}', encodeURIComponent(String(id)))
|
|
17377
|
+
.replace('{mac}', encodeURIComponent(String(mac)));
|
|
16356
17378
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
16357
17379
|
if (configuration) {
|
|
16358
17380
|
baseOptions = configuration.baseOptions;
|
|
@@ -16744,7 +17766,7 @@ var SIPTrunksApiAxiosParamCreator = function (configuration) {
|
|
|
16744
17766
|
// verify required parameter 'id' is not null or undefined
|
|
16745
17767
|
(0, common_1.assertParamExists)('deleteGetSipTrunk', 'id', id);
|
|
16746
17768
|
localVarPath = "/sip/trunks/{id}"
|
|
16747
|
-
.replace(
|
|
17769
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
16748
17770
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
16749
17771
|
if (configuration) {
|
|
16750
17772
|
baseOptions = configuration.baseOptions;
|
|
@@ -16782,7 +17804,7 @@ var SIPTrunksApiAxiosParamCreator = function (configuration) {
|
|
|
16782
17804
|
// verify required parameter 'id' is not null or undefined
|
|
16783
17805
|
(0, common_1.assertParamExists)('getCanDivert', 'id', id);
|
|
16784
17806
|
localVarPath = "/sip/trunks/{id}/diverts/allowed"
|
|
16785
|
-
.replace(
|
|
17807
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
16786
17808
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
16787
17809
|
if (configuration) {
|
|
16788
17810
|
baseOptions = configuration.baseOptions;
|
|
@@ -16820,7 +17842,7 @@ var SIPTrunksApiAxiosParamCreator = function (configuration) {
|
|
|
16820
17842
|
// verify required parameter 'id' is not null or undefined
|
|
16821
17843
|
(0, common_1.assertParamExists)('getGetAddress', 'id', id);
|
|
16822
17844
|
localVarPath = "/sip/trunks/{id}/address"
|
|
16823
|
-
.replace(
|
|
17845
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
16824
17846
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
16825
17847
|
if (configuration) {
|
|
16826
17848
|
baseOptions = configuration.baseOptions;
|
|
@@ -16929,7 +17951,7 @@ var SIPTrunksApiAxiosParamCreator = function (configuration) {
|
|
|
16929
17951
|
// verify required parameter 'id' is not null or undefined
|
|
16930
17952
|
(0, common_1.assertParamExists)('getGetCliFlexibility', 'id', id);
|
|
16931
17953
|
localVarPath = "/sip/trunks/{id}/cli/flexibility"
|
|
16932
|
-
.replace(
|
|
17954
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
16933
17955
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
16934
17956
|
if (configuration) {
|
|
16935
17957
|
baseOptions = configuration.baseOptions;
|
|
@@ -16967,7 +17989,7 @@ var SIPTrunksApiAxiosParamCreator = function (configuration) {
|
|
|
16967
17989
|
// verify required parameter 'id' is not null or undefined
|
|
16968
17990
|
(0, common_1.assertParamExists)('getGetDdis', 'id', id);
|
|
16969
17991
|
localVarPath = "/sip/trunks/{id}/ddis"
|
|
16970
|
-
.replace(
|
|
17992
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
16971
17993
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
16972
17994
|
if (configuration) {
|
|
16973
17995
|
baseOptions = configuration.baseOptions;
|
|
@@ -17006,7 +18028,7 @@ var SIPTrunksApiAxiosParamCreator = function (configuration) {
|
|
|
17006
18028
|
// verify required parameter 'id' is not null or undefined
|
|
17007
18029
|
(0, common_1.assertParamExists)('getGetDiverts', 'id', id);
|
|
17008
18030
|
localVarPath = "/sip/trunks/{id}/diverts"
|
|
17009
|
-
.replace(
|
|
18031
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
17010
18032
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
17011
18033
|
if (configuration) {
|
|
17012
18034
|
baseOptions = configuration.baseOptions;
|
|
@@ -17047,7 +18069,7 @@ var SIPTrunksApiAxiosParamCreator = function (configuration) {
|
|
|
17047
18069
|
// verify required parameter 'id' is not null or undefined
|
|
17048
18070
|
(0, common_1.assertParamExists)('getGetSipTrunk', 'id', id);
|
|
17049
18071
|
localVarPath = "/sip/trunks/{id}"
|
|
17050
|
-
.replace(
|
|
18072
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
17051
18073
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
17052
18074
|
if (configuration) {
|
|
17053
18075
|
baseOptions = configuration.baseOptions;
|
|
@@ -17134,7 +18156,7 @@ var SIPTrunksApiAxiosParamCreator = function (configuration) {
|
|
|
17134
18156
|
// verify required parameter 'enabled' is not null or undefined
|
|
17135
18157
|
(0, common_1.assertParamExists)('patchGetCliFlexibility', 'enabled', enabled);
|
|
17136
18158
|
localVarPath = "/sip/trunks/{id}/cli/flexibility"
|
|
17137
|
-
.replace(
|
|
18159
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
17138
18160
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
17139
18161
|
if (configuration) {
|
|
17140
18162
|
baseOptions = configuration.baseOptions;
|
|
@@ -17175,7 +18197,7 @@ var SIPTrunksApiAxiosParamCreator = function (configuration) {
|
|
|
17175
18197
|
// verify required parameter 'id' is not null or undefined
|
|
17176
18198
|
(0, common_1.assertParamExists)('patchSetAsAvailable', 'id', id);
|
|
17177
18199
|
localVarPath = "/sip/trunks/{id}/available"
|
|
17178
|
-
.replace(
|
|
18200
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
17179
18201
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
17180
18202
|
if (configuration) {
|
|
17181
18203
|
baseOptions = configuration.baseOptions;
|
|
@@ -17216,7 +18238,7 @@ var SIPTrunksApiAxiosParamCreator = function (configuration) {
|
|
|
17216
18238
|
// verify required parameter 'ownerId' is not null or undefined
|
|
17217
18239
|
(0, common_1.assertParamExists)('patchSetOwnership', 'ownerId', ownerId);
|
|
17218
18240
|
localVarPath = "/sip/trunks/{id}/owner"
|
|
17219
|
-
.replace(
|
|
18241
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
17220
18242
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
17221
18243
|
if (configuration) {
|
|
17222
18244
|
baseOptions = configuration.baseOptions;
|
|
@@ -17262,7 +18284,7 @@ var SIPTrunksApiAxiosParamCreator = function (configuration) {
|
|
|
17262
18284
|
// verify required parameter 'channels' is not null or undefined
|
|
17263
18285
|
(0, common_1.assertParamExists)('patchUpdateChannelCount', 'channels', channels);
|
|
17264
18286
|
localVarPath = "/sip/trunks/{id}/channels"
|
|
17265
|
-
.replace(
|
|
18287
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
17266
18288
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
17267
18289
|
if (configuration) {
|
|
17268
18290
|
baseOptions = configuration.baseOptions;
|
|
@@ -17306,7 +18328,7 @@ var SIPTrunksApiAxiosParamCreator = function (configuration) {
|
|
|
17306
18328
|
// verify required parameter 'company' is not null or undefined
|
|
17307
18329
|
(0, common_1.assertParamExists)('patchUpdateCompanyName', 'company', company);
|
|
17308
18330
|
localVarPath = "/sip/trunks/{id}/company"
|
|
17309
|
-
.replace(
|
|
18331
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
17310
18332
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
17311
18333
|
if (configuration) {
|
|
17312
18334
|
baseOptions = configuration.baseOptions;
|
|
@@ -17350,7 +18372,7 @@ var SIPTrunksApiAxiosParamCreator = function (configuration) {
|
|
|
17350
18372
|
// verify required parameter 'number' is not null or undefined
|
|
17351
18373
|
(0, common_1.assertParamExists)('patchUpdateMainTrunkNumber', 'number', number);
|
|
17352
18374
|
localVarPath = "/sip/trunks/{id}/number"
|
|
17353
|
-
.replace(
|
|
18375
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
17354
18376
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
17355
18377
|
if (configuration) {
|
|
17356
18378
|
baseOptions = configuration.baseOptions;
|
|
@@ -17394,7 +18416,7 @@ var SIPTrunksApiAxiosParamCreator = function (configuration) {
|
|
|
17394
18416
|
// verify required parameter 'ipAddress' is not null or undefined
|
|
17395
18417
|
(0, common_1.assertParamExists)('patchUpdatePbxIPAddress', 'ipAddress', ipAddress);
|
|
17396
18418
|
localVarPath = "/sip/trunks/{id}/pbx/ip"
|
|
17397
|
-
.replace(
|
|
18419
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
17398
18420
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
17399
18421
|
if (configuration) {
|
|
17400
18422
|
baseOptions = configuration.baseOptions;
|
|
@@ -17436,7 +18458,7 @@ var SIPTrunksApiAxiosParamCreator = function (configuration) {
|
|
|
17436
18458
|
// verify required parameter 'id' is not null or undefined
|
|
17437
18459
|
(0, common_1.assertParamExists)('postGetDdis', 'id', id);
|
|
17438
18460
|
localVarPath = "/sip/trunks/{id}/ddis"
|
|
17439
|
-
.replace(
|
|
18461
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
17440
18462
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
17441
18463
|
if (configuration) {
|
|
17442
18464
|
baseOptions = configuration.baseOptions;
|
|
@@ -17588,7 +18610,7 @@ var SIPTrunksApiAxiosParamCreator = function (configuration) {
|
|
|
17588
18610
|
// verify required parameter 'id' is not null or undefined
|
|
17589
18611
|
(0, common_1.assertParamExists)('putGetAddress', 'id', id);
|
|
17590
18612
|
localVarPath = "/sip/trunks/{id}/address"
|
|
17591
|
-
.replace(
|
|
18613
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
17592
18614
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
17593
18615
|
if (configuration) {
|
|
17594
18616
|
baseOptions = configuration.baseOptions;
|
|
@@ -17632,7 +18654,7 @@ var SIPTrunksApiAxiosParamCreator = function (configuration) {
|
|
|
17632
18654
|
// verify required parameter 'enabled' is not null or undefined
|
|
17633
18655
|
(0, common_1.assertParamExists)('putGetDiverts', 'enabled', enabled);
|
|
17634
18656
|
localVarPath = "/sip/trunks/{id}/diverts"
|
|
17635
|
-
.replace(
|
|
18657
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
17636
18658
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
17637
18659
|
if (configuration) {
|
|
17638
18660
|
baseOptions = configuration.baseOptions;
|
|
@@ -19038,7 +20060,7 @@ var ServicesApiAxiosParamCreator = function (configuration) {
|
|
|
19038
20060
|
// verify required parameter 'id' is not null or undefined
|
|
19039
20061
|
(0, common_1.assertParamExists)('patchArchiveEvent', 'id', id);
|
|
19040
20062
|
localVarPath = "/services/events/{id}/archive"
|
|
19041
|
-
.replace(
|
|
20063
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
19042
20064
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
19043
20065
|
if (configuration) {
|
|
19044
20066
|
baseOptions = configuration.baseOptions;
|
|
@@ -19076,7 +20098,7 @@ var ServicesApiAxiosParamCreator = function (configuration) {
|
|
|
19076
20098
|
// verify required parameter 'id' is not null or undefined
|
|
19077
20099
|
(0, common_1.assertParamExists)('patchUpdateEvent', 'id', id);
|
|
19078
20100
|
localVarPath = "/services/events/{id}"
|
|
19079
|
-
.replace(
|
|
20101
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
19080
20102
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
19081
20103
|
if (configuration) {
|
|
19082
20104
|
baseOptions = configuration.baseOptions;
|
|
@@ -19152,7 +20174,7 @@ var ServicesApiAxiosParamCreator = function (configuration) {
|
|
|
19152
20174
|
// verify required parameter 'id' is not null or undefined
|
|
19153
20175
|
(0, common_1.assertParamExists)('postCreateEventUpdate', 'id', id);
|
|
19154
20176
|
localVarPath = "/services/events/{id}/updates"
|
|
19155
|
-
.replace(
|
|
20177
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
19156
20178
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
19157
20179
|
if (configuration) {
|
|
19158
20180
|
baseOptions = configuration.baseOptions;
|
|
@@ -19768,7 +20790,7 @@ var StockManagementApiAxiosParamCreator = function (configuration) {
|
|
|
19768
20790
|
// verify required parameter 'id' is not null or undefined
|
|
19769
20791
|
(0, common_1.assertParamExists)('deleteDeleteStockOrder', 'id', id);
|
|
19770
20792
|
localVarPath = "/stock/orders/{id}"
|
|
19771
|
-
.replace(
|
|
20793
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
19772
20794
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
19773
20795
|
if (configuration) {
|
|
19774
20796
|
baseOptions = configuration.baseOptions;
|
|
@@ -19808,8 +20830,8 @@ var StockManagementApiAxiosParamCreator = function (configuration) {
|
|
|
19808
20830
|
// verify required parameter 'deductionId' is not null or undefined
|
|
19809
20831
|
(0, common_1.assertParamExists)('deleteDeleteStockOrderDeduction', 'deductionId', deductionId);
|
|
19810
20832
|
localVarPath = "/stock/orders/{order_id}/deductions/{deduction_id}"
|
|
19811
|
-
.replace(
|
|
19812
|
-
.replace(
|
|
20833
|
+
.replace('{order_id}', encodeURIComponent(String(orderId)))
|
|
20834
|
+
.replace('{deduction_id}', encodeURIComponent(String(deductionId)));
|
|
19813
20835
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
19814
20836
|
if (configuration) {
|
|
19815
20837
|
baseOptions = configuration.baseOptions;
|
|
@@ -19849,8 +20871,8 @@ var StockManagementApiAxiosParamCreator = function (configuration) {
|
|
|
19849
20871
|
// verify required parameter 'itemId' is not null or undefined
|
|
19850
20872
|
(0, common_1.assertParamExists)('deleteDeleteStockOrderItem', 'itemId', itemId);
|
|
19851
20873
|
localVarPath = "/stock/orders/{order_id}/items/{item_id}"
|
|
19852
|
-
.replace(
|
|
19853
|
-
.replace(
|
|
20874
|
+
.replace('{order_id}', encodeURIComponent(String(orderId)))
|
|
20875
|
+
.replace('{item_id}', encodeURIComponent(String(itemId)));
|
|
19854
20876
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
19855
20877
|
if (configuration) {
|
|
19856
20878
|
baseOptions = configuration.baseOptions;
|
|
@@ -19887,7 +20909,7 @@ var StockManagementApiAxiosParamCreator = function (configuration) {
|
|
|
19887
20909
|
// verify required parameter 'id' is not null or undefined
|
|
19888
20910
|
(0, common_1.assertParamExists)('deleteGetStockProduct', 'id', id);
|
|
19889
20911
|
localVarPath = "/stock/products/{id}"
|
|
19890
|
-
.replace(
|
|
20912
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
19891
20913
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
19892
20914
|
if (configuration) {
|
|
19893
20915
|
baseOptions = configuration.baseOptions;
|
|
@@ -19924,7 +20946,7 @@ var StockManagementApiAxiosParamCreator = function (configuration) {
|
|
|
19924
20946
|
// verify required parameter 'id' is not null or undefined
|
|
19925
20947
|
(0, common_1.assertParamExists)('getDeleteStockOrder', 'id', id);
|
|
19926
20948
|
localVarPath = "/stock/orders/{id}"
|
|
19927
|
-
.replace(
|
|
20949
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
19928
20950
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
19929
20951
|
if (configuration) {
|
|
19930
20952
|
baseOptions = configuration.baseOptions;
|
|
@@ -19962,7 +20984,7 @@ var StockManagementApiAxiosParamCreator = function (configuration) {
|
|
|
19962
20984
|
// verify required parameter 'sku' is not null or undefined
|
|
19963
20985
|
(0, common_1.assertParamExists)('getGetProductDetails', 'sku', sku);
|
|
19964
20986
|
localVarPath = "/stock/products/{sku}/details"
|
|
19965
|
-
.replace(
|
|
20987
|
+
.replace('{sku}', encodeURIComponent(String(sku)));
|
|
19966
20988
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
19967
20989
|
if (configuration) {
|
|
19968
20990
|
baseOptions = configuration.baseOptions;
|
|
@@ -20000,7 +21022,7 @@ var StockManagementApiAxiosParamCreator = function (configuration) {
|
|
|
20000
21022
|
// verify required parameter 'id' is not null or undefined
|
|
20001
21023
|
(0, common_1.assertParamExists)('getGetStockOrderPurchaseOrder', 'id', id);
|
|
20002
21024
|
localVarPath = "/stock/orders/{id}/po"
|
|
20003
|
-
.replace(
|
|
21025
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
20004
21026
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
20005
21027
|
if (configuration) {
|
|
20006
21028
|
baseOptions = configuration.baseOptions;
|
|
@@ -20038,7 +21060,7 @@ var StockManagementApiAxiosParamCreator = function (configuration) {
|
|
|
20038
21060
|
// verify required parameter 'id' is not null or undefined
|
|
20039
21061
|
(0, common_1.assertParamExists)('getGetStockOrderSupplierEmail', 'id', id);
|
|
20040
21062
|
localVarPath = "/stock/orders/{id}/supplier/email"
|
|
20041
|
-
.replace(
|
|
21063
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
20042
21064
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
20043
21065
|
if (configuration) {
|
|
20044
21066
|
baseOptions = configuration.baseOptions;
|
|
@@ -20126,7 +21148,7 @@ var StockManagementApiAxiosParamCreator = function (configuration) {
|
|
|
20126
21148
|
// verify required parameter 'id' is not null or undefined
|
|
20127
21149
|
(0, common_1.assertParamExists)('getGetStockProduct', 'id', id);
|
|
20128
21150
|
localVarPath = "/stock/products/{id}"
|
|
20129
|
-
.replace(
|
|
21151
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
20130
21152
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
20131
21153
|
if (configuration) {
|
|
20132
21154
|
baseOptions = configuration.baseOptions;
|
|
@@ -20244,7 +21266,7 @@ var StockManagementApiAxiosParamCreator = function (configuration) {
|
|
|
20244
21266
|
// verify required parameter 'id' is not null or undefined
|
|
20245
21267
|
(0, common_1.assertParamExists)('getGetStockSupplierProducts', 'id', id);
|
|
20246
21268
|
localVarPath = "/stock/suppliers/{id}/products"
|
|
20247
|
-
.replace(
|
|
21269
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
20248
21270
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
20249
21271
|
if (configuration) {
|
|
20250
21272
|
baseOptions = configuration.baseOptions;
|
|
@@ -20282,7 +21304,7 @@ var StockManagementApiAxiosParamCreator = function (configuration) {
|
|
|
20282
21304
|
// verify required parameter 'id' is not null or undefined
|
|
20283
21305
|
(0, common_1.assertParamExists)('getUploadStockOrderInvoice', 'id', id);
|
|
20284
21306
|
localVarPath = "/stock/orders/{id}/invoice"
|
|
20285
|
-
.replace(
|
|
21307
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
20286
21308
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
20287
21309
|
if (configuration) {
|
|
20288
21310
|
baseOptions = configuration.baseOptions;
|
|
@@ -20321,7 +21343,7 @@ var StockManagementApiAxiosParamCreator = function (configuration) {
|
|
|
20321
21343
|
// verify required parameter 'id' is not null or undefined
|
|
20322
21344
|
(0, common_1.assertParamExists)('patchDeleteStockOrder', 'id', id);
|
|
20323
21345
|
localVarPath = "/stock/orders/{id}"
|
|
20324
|
-
.replace(
|
|
21346
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
20325
21347
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
20326
21348
|
if (configuration) {
|
|
20327
21349
|
baseOptions = configuration.baseOptions;
|
|
@@ -20365,8 +21387,8 @@ var StockManagementApiAxiosParamCreator = function (configuration) {
|
|
|
20365
21387
|
// verify required parameter 'deductionId' is not null or undefined
|
|
20366
21388
|
(0, common_1.assertParamExists)('patchDeleteStockOrderDeduction', 'deductionId', deductionId);
|
|
20367
21389
|
localVarPath = "/stock/orders/{order_id}/deductions/{deduction_id}"
|
|
20368
|
-
.replace(
|
|
20369
|
-
.replace(
|
|
21390
|
+
.replace('{order_id}', encodeURIComponent(String(orderId)))
|
|
21391
|
+
.replace('{deduction_id}', encodeURIComponent(String(deductionId)));
|
|
20370
21392
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
20371
21393
|
if (configuration) {
|
|
20372
21394
|
baseOptions = configuration.baseOptions;
|
|
@@ -20410,8 +21432,8 @@ var StockManagementApiAxiosParamCreator = function (configuration) {
|
|
|
20410
21432
|
// verify required parameter 'itemId' is not null or undefined
|
|
20411
21433
|
(0, common_1.assertParamExists)('patchDeleteStockOrderItem', 'itemId', itemId);
|
|
20412
21434
|
localVarPath = "/stock/orders/{order_id}/items/{item_id}"
|
|
20413
|
-
.replace(
|
|
20414
|
-
.replace(
|
|
21435
|
+
.replace('{order_id}', encodeURIComponent(String(orderId)))
|
|
21436
|
+
.replace('{item_id}', encodeURIComponent(String(itemId)));
|
|
20415
21437
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
20416
21438
|
if (configuration) {
|
|
20417
21439
|
baseOptions = configuration.baseOptions;
|
|
@@ -20452,7 +21474,7 @@ var StockManagementApiAxiosParamCreator = function (configuration) {
|
|
|
20452
21474
|
// verify required parameter 'id' is not null or undefined
|
|
20453
21475
|
(0, common_1.assertParamExists)('postAddStockOrderDeduction', 'id', id);
|
|
20454
21476
|
localVarPath = "/stock/orders/{id}/deductions"
|
|
20455
|
-
.replace(
|
|
21477
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
20456
21478
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
20457
21479
|
if (configuration) {
|
|
20458
21480
|
baseOptions = configuration.baseOptions;
|
|
@@ -20493,7 +21515,7 @@ var StockManagementApiAxiosParamCreator = function (configuration) {
|
|
|
20493
21515
|
// verify required parameter 'id' is not null or undefined
|
|
20494
21516
|
(0, common_1.assertParamExists)('postAddStockOrderItem', 'id', id);
|
|
20495
21517
|
localVarPath = "/stock/orders/{id}/items"
|
|
20496
|
-
.replace(
|
|
21518
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
20497
21519
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
20498
21520
|
if (configuration) {
|
|
20499
21521
|
baseOptions = configuration.baseOptions;
|
|
@@ -20610,7 +21632,7 @@ var StockManagementApiAxiosParamCreator = function (configuration) {
|
|
|
20610
21632
|
// verify required parameter 'invoice' is not null or undefined
|
|
20611
21633
|
(0, common_1.assertParamExists)('postUploadStockOrderInvoice', 'invoice', invoice);
|
|
20612
21634
|
localVarPath = "/stock/orders/{id}/invoice"
|
|
20613
|
-
.replace(
|
|
21635
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
20614
21636
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
20615
21637
|
if (configuration) {
|
|
20616
21638
|
baseOptions = configuration.baseOptions;
|
|
@@ -20654,7 +21676,7 @@ var StockManagementApiAxiosParamCreator = function (configuration) {
|
|
|
20654
21676
|
// verify required parameter 'id' is not null or undefined
|
|
20655
21677
|
(0, common_1.assertParamExists)('putGetStockProduct', 'id', id);
|
|
20656
21678
|
localVarPath = "/stock/products/{id}"
|
|
20657
|
-
.replace(
|
|
21679
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
20658
21680
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
20659
21681
|
if (configuration) {
|
|
20660
21682
|
baseOptions = configuration.baseOptions;
|
|
@@ -20700,8 +21722,8 @@ var StockManagementApiAxiosParamCreator = function (configuration) {
|
|
|
20700
21722
|
// verify required parameter 'received' is not null or undefined
|
|
20701
21723
|
(0, common_1.assertParamExists)('putReceiveStockOrderItem', 'received', received);
|
|
20702
21724
|
localVarPath = "/stock/orders/{order_id}/items/{item_id}/receive"
|
|
20703
|
-
.replace(
|
|
20704
|
-
.replace(
|
|
21725
|
+
.replace('{order_id}', encodeURIComponent(String(orderId)))
|
|
21726
|
+
.replace('{item_id}', encodeURIComponent(String(itemId)));
|
|
20705
21727
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
20706
21728
|
if (configuration) {
|
|
20707
21729
|
baseOptions = configuration.baseOptions;
|
|
@@ -22095,7 +23117,7 @@ var TicketsApiAxiosParamCreator = function (configuration) {
|
|
|
22095
23117
|
// verify required parameter 'id' is not null or undefined
|
|
22096
23118
|
(0, common_1.assertParamExists)('getGetTicket', 'id', id);
|
|
22097
23119
|
localVarPath = "/tickets/support/{id}"
|
|
22098
|
-
.replace(
|
|
23120
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
22099
23121
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
22100
23122
|
if (configuration) {
|
|
22101
23123
|
baseOptions = configuration.baseOptions;
|
|
@@ -22132,7 +23154,7 @@ var TicketsApiAxiosParamCreator = function (configuration) {
|
|
|
22132
23154
|
// verify required parameter 'id' is not null or undefined
|
|
22133
23155
|
(0, common_1.assertParamExists)('patchCloseTicket', 'id', id);
|
|
22134
23156
|
localVarPath = "/tickets/support/{id}/close"
|
|
22135
|
-
.replace(
|
|
23157
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
22136
23158
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
22137
23159
|
if (configuration) {
|
|
22138
23160
|
baseOptions = configuration.baseOptions;
|
|
@@ -22221,7 +23243,7 @@ var TicketsApiAxiosParamCreator = function (configuration) {
|
|
|
22221
23243
|
// verify required parameter 'id' is not null or undefined
|
|
22222
23244
|
(0, common_1.assertParamExists)('postTicketReply', 'id', id);
|
|
22223
23245
|
localVarPath = "/tickets/support/{id}/reply"
|
|
22224
|
-
.replace(
|
|
23246
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
22225
23247
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
22226
23248
|
if (configuration) {
|
|
22227
23249
|
baseOptions = configuration.baseOptions;
|
|
@@ -22717,5 +23739,5 @@ exports.PostAddWebhookWebhookUriEnum = {
|
|
|
22717
23739
|
WebhookFreshdeskUpdate: '/webhook/freshdesk/update',
|
|
22718
23740
|
WebhookTest: '/webhook/test',
|
|
22719
23741
|
WebhookXeroInvoices: '/webhook/xero/invoices',
|
|
22720
|
-
WebhookTcxPhonesAdd: '/webhook/tcx/phones/add'
|
|
23742
|
+
WebhookTcxPhonesAdd: '/webhook/tcx/phones/add',
|
|
22721
23743
|
};
|