yellowgrid-api-ts 3.2.119-dev.0 → 3.2.119
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 +9 -8
- package/.openapi-generator/VERSION +1 -1
- package/.openapi-generator-ignore +0 -0
- package/README.md +14 -19
- package/api.ts +991 -1070
- 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 +502 -456
- package/dist/api.js +816 -1085
- 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/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 +33 -0
- package/dist/models/ScheduledTaskEnum.js +35 -0
- package/dist/models/ServiceEnum.d.ts +5 -0
- package/dist/models/ServiceEnum.js +5 -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/AccountContactEntity.md +0 -0
- package/docs/AccountContactModel.md +0 -0
- package/docs/AccountContactRequestModel.md +0 -0
- package/docs/AccountDetailedSummaryDTO.md +0 -0
- package/docs/AccountRequestModel.md +0 -0
- package/docs/AccountSummaryDTO.md +0 -0
- package/docs/AccountsApi.md +5 -589
- package/docs/AccountsResponseModel.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/CRMApi.md +1 -1
- package/docs/CallBarringModel.md +0 -0
- package/docs/Class3CXApi.md +1 -1
- package/docs/Class3CXInstallationWizardApi.md +1 -1
- package/docs/Class3CXInstallationsApi.md +60 -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/CreditAccountEntity.md +0 -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/CrmContactDTO.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/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 +1 -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/PatchSetTcxWizardCnameRequest.md +0 -0
- package/docs/PatchUpdateAccountContactPasswordRequest.md +0 -0
- package/docs/PortalAccountModel.md +0 -0
- package/docs/PortalLoginModel.md +0 -0
- package/docs/PostAddAdminNoteRequest.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/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 +33 -0
- package/docs/ProspectEntity.md +41 -0
- package/docs/ProspectsApi.md +226 -0
- 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/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/PaymentMethodEnum.ts +14 -0
- package/models/PortStatusEnum.ts +0 -0
- package/models/PrinterEnum.ts +0 -0
- package/models/ScheduledTaskEnum.ts +34 -0
- package/models/ServiceEnum.ts +5 -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/AddressDTO.md +0 -31
- package/docs/PatchSendWelcomeEmailRequest.md +0 -20
- package/docs/PatchUpdateAccountCnameRequest.md +0 -20
- package/docs/PatchUpdateAccountCompanyNumberRequest.md +0 -20
- package/docs/PatchUpdateAccountPhoneRequest.md +0 -20
- package/docs/PatchUpdateAccountVatNumberRequest.md +0 -20
- package/docs/PostGetProductRequest.md +0 -24
- package/docs/PostSendWelcomeEmailRequest.md +0 -20
- 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,27 +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.
|
|
87
|
+
exports.Class3CXInstallationWizardApiAxiosParamCreator = exports.Class3CXApi = exports.Class3CXApiFactory = exports.Class3CXApiFp = exports.Class3CXApiAxiosParamCreator = exports.CRMApi = exports.CRMApiFactory = exports.CRMApiFp = exports.CRMApiAxiosParamCreator = 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.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.PricingApi = exports.PricingApiFactory = exports.PricingApiFp = exports.PricingApiAxiosParamCreator = exports.PostPrintShippingLabelPrinterEnum = exports.GetGetOrdersFilterEnum = exports.GetGetOrdersStatusEnum = exports.OrdersApi = exports.OrdersApiFactory = 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 = void 0;
|
|
89
|
+
exports.WebhooksApiFactory = exports.WebhooksApiFp = exports.WebhooksApiAxiosParamCreator = exports.TicketsApi = exports.TicketsApiFactory = exports.TicketsApiFp = exports.TicketsApiAxiosParamCreator = exports.SystemApi = exports.SystemApiFactory = 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 = void 0;
|
|
90
|
+
exports.PostAddWebhookWebhookUriEnum = exports.WebhooksApi = void 0;
|
|
90
91
|
var axios_1 = require("axios");
|
|
91
92
|
// Some imports not used depending on template conditions
|
|
92
93
|
// @ts-ignore
|
|
93
94
|
var common_1 = require("./common");
|
|
94
95
|
// @ts-ignore
|
|
95
96
|
var base_1 = require("./base");
|
|
97
|
+
exports.AdminOrderRequestDTOPaymentMethodEnum = {
|
|
98
|
+
Card: 'card',
|
|
99
|
+
Bacs: 'bacs',
|
|
100
|
+
};
|
|
96
101
|
exports.AdminUserModelRoleEnum = {
|
|
97
102
|
NUMBER_0: 0,
|
|
98
103
|
NUMBER_1: 1,
|
|
99
104
|
NUMBER_2: 2,
|
|
100
105
|
NUMBER_3: 3,
|
|
101
|
-
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',
|
|
102
114
|
};
|
|
103
115
|
exports.AuditLogEntityActionEnum = {
|
|
104
116
|
Create: 'CREATE',
|
|
105
117
|
Read: 'READ',
|
|
106
118
|
Update: 'UPDATE',
|
|
107
|
-
Delete: 'DELETE'
|
|
119
|
+
Delete: 'DELETE',
|
|
108
120
|
};
|
|
109
121
|
exports.AuditLogEntityTypeEnum = {
|
|
110
122
|
AuditLog: 'audit_log',
|
|
@@ -146,6 +158,7 @@ exports.AuditLogEntityTypeEnum = {
|
|
|
146
158
|
PopsPromoCodes: 'pops_promo_codes',
|
|
147
159
|
PopsPromoItems: 'pops_promo_items',
|
|
148
160
|
PopsProvisioning: 'pops_provisioning',
|
|
161
|
+
PopsProspectsV2: 'pops_prospects_v2',
|
|
149
162
|
S3Buckets: 's3_buckets',
|
|
150
163
|
PopsShipmentAddress: 'pops_shipment_address',
|
|
151
164
|
PopsShipments: 'pops_shipments',
|
|
@@ -182,20 +195,20 @@ exports.AuditLogEntityTypeEnum = {
|
|
|
182
195
|
Webhook: 'webhook',
|
|
183
196
|
PopsXeroLog: 'pops_xero_log',
|
|
184
197
|
Oauth2Clients: 'oauth2_clients',
|
|
185
|
-
Oauth2Tokens: 'oauth2_tokens'
|
|
198
|
+
Oauth2Tokens: 'oauth2_tokens',
|
|
186
199
|
};
|
|
187
200
|
exports.DivertResponseModelStatusEnum = {
|
|
188
201
|
Enabled: 'enabled',
|
|
189
|
-
Disabled: 'disabled'
|
|
202
|
+
Disabled: 'disabled',
|
|
190
203
|
};
|
|
191
204
|
exports.EventDTOStatusEnum = {
|
|
192
205
|
NUMBER_0: 0,
|
|
193
206
|
NUMBER_1: 1,
|
|
194
|
-
NUMBER_2: 2
|
|
207
|
+
NUMBER_2: 2,
|
|
195
208
|
};
|
|
196
209
|
exports.HostingChangeResponseModelTypeEnum = {
|
|
197
210
|
NewInstance: 'New Instance',
|
|
198
|
-
BuildingInstance: 'Building Instance'
|
|
211
|
+
BuildingInstance: 'Building Instance',
|
|
199
212
|
};
|
|
200
213
|
exports.HostingRegionDTOCodeEnum = {
|
|
201
214
|
Uk1: 'UK1',
|
|
@@ -206,12 +219,12 @@ exports.HostingRegionDTOCodeEnum = {
|
|
|
206
219
|
Syd1: 'SYD1',
|
|
207
220
|
Sgp1: 'SGP1',
|
|
208
221
|
UsEastVa1: 'US-EAST-VA-1',
|
|
209
|
-
UsWestOr1: 'US-WEST-OR-1'
|
|
222
|
+
UsWestOr1: 'US-WEST-OR-1',
|
|
210
223
|
};
|
|
211
224
|
exports.ItemDiscountEntityTypeEnum = {
|
|
212
225
|
TcxPhones: 'TCX_PHONES',
|
|
213
226
|
PhoneBulk: 'PHONE_BULK',
|
|
214
|
-
Additional: 'ADDITIONAL'
|
|
227
|
+
Additional: 'ADDITIONAL',
|
|
215
228
|
};
|
|
216
229
|
exports.MultiTenantChangeResponseModelTypeEnum = {
|
|
217
230
|
NewTrunk: 'New Trunk',
|
|
@@ -227,15 +240,15 @@ exports.MultiTenantChangeResponseModelTypeEnum = {
|
|
|
227
240
|
Address: 'Address',
|
|
228
241
|
BulkEndpointDetails: 'Bulk Endpoint Details',
|
|
229
242
|
Fraud: 'Fraud',
|
|
230
|
-
CallBarring: 'Call Barring'
|
|
243
|
+
CallBarring: 'Call Barring',
|
|
231
244
|
};
|
|
232
245
|
exports.OrderRequestModelLicenceTypeEnum = {
|
|
233
246
|
Lite: 'lite',
|
|
234
|
-
Pro: 'pro'
|
|
247
|
+
Pro: 'pro',
|
|
235
248
|
};
|
|
236
249
|
exports.OrderRequestModelSchoolTypeEnum = {
|
|
237
250
|
Primary: 'primary',
|
|
238
|
-
Secondary: 'secondary'
|
|
251
|
+
Secondary: 'secondary',
|
|
239
252
|
};
|
|
240
253
|
exports.OrderTotalModelCurrencyEnum = {
|
|
241
254
|
Eur: 'EUR',
|
|
@@ -268,47 +281,54 @@ exports.OrderTotalModelCurrencyEnum = {
|
|
|
268
281
|
Php: 'PHP',
|
|
269
282
|
Sgd: 'SGD',
|
|
270
283
|
Thb: 'THB',
|
|
271
|
-
Zar: 'ZAR'
|
|
284
|
+
Zar: 'ZAR',
|
|
285
|
+
};
|
|
286
|
+
exports.ProspectDTOStatusEnum = {
|
|
287
|
+
NoCallBackSet: 'No Call Back Set',
|
|
288
|
+
CallBackDue: 'Call Back Due',
|
|
289
|
+
NoOrdersPlaced: 'No Orders Placed',
|
|
290
|
+
NoOrdersInTheLast4Months: 'No Orders In The Last 4 Months',
|
|
291
|
+
NoActionRequired: 'No Action Required',
|
|
272
292
|
};
|
|
273
293
|
exports.ServiceHealthDTOGlobalStatusEnum = {
|
|
274
294
|
NUMBER_0: 0,
|
|
275
295
|
NUMBER_1: 1,
|
|
276
|
-
NUMBER_2: 2
|
|
296
|
+
NUMBER_2: 2,
|
|
277
297
|
};
|
|
278
298
|
exports.ServiceStatusDTOStatusEnum = {
|
|
279
299
|
_0: '0',
|
|
280
300
|
_1: '1',
|
|
281
|
-
_2: '2'
|
|
301
|
+
_2: '2',
|
|
282
302
|
};
|
|
283
303
|
exports.ShipmentDTOCourierEnum = {
|
|
284
304
|
Dpd: 'DPD',
|
|
285
305
|
ChorltonPallet: 'Chorlton Pallet',
|
|
286
|
-
Pops: 'POPS'
|
|
306
|
+
Pops: 'POPS',
|
|
287
307
|
};
|
|
288
308
|
exports.ShipmentRequestDTOCourierEnum = {
|
|
289
309
|
Dpd: 'DPD',
|
|
290
310
|
ChorltonPallet: 'Chorlton Pallet',
|
|
291
|
-
Pops: 'POPS'
|
|
311
|
+
Pops: 'POPS',
|
|
292
312
|
};
|
|
293
313
|
exports.ShippingRequestDTOCourierEnum = {
|
|
294
314
|
Dpd: 'DPD',
|
|
295
315
|
ChorltonPallet: 'Chorlton Pallet',
|
|
296
|
-
Pops: 'POPS'
|
|
316
|
+
Pops: 'POPS',
|
|
297
317
|
};
|
|
298
318
|
exports.ShippingRequestDTOPrinterEnum = {
|
|
299
319
|
NUMBER_1: 1,
|
|
300
320
|
NUMBER_2: 2,
|
|
301
|
-
NUMBER_3: 3
|
|
321
|
+
NUMBER_3: 3,
|
|
302
322
|
};
|
|
303
323
|
exports.ShippingServiceDTOCourierEnum = {
|
|
304
324
|
Dpd: 'DPD',
|
|
305
325
|
ChorltonPallet: 'Chorlton Pallet',
|
|
306
|
-
Pops: 'POPS'
|
|
326
|
+
Pops: 'POPS',
|
|
307
327
|
};
|
|
308
328
|
exports.ShippingServiceModelCourierEnum = {
|
|
309
329
|
Dpd: 'DPD',
|
|
310
330
|
ChorltonPallet: 'Chorlton Pallet',
|
|
311
|
-
Pops: 'POPS'
|
|
331
|
+
Pops: 'POPS',
|
|
312
332
|
};
|
|
313
333
|
exports.SipTrunkChangeResponseModelTypeEnum = {
|
|
314
334
|
NewTrunk: 'New Trunk',
|
|
@@ -324,17 +344,17 @@ exports.SipTrunkChangeResponseModelTypeEnum = {
|
|
|
324
344
|
Address: 'Address',
|
|
325
345
|
BulkEndpointDetails: 'Bulk Endpoint Details',
|
|
326
346
|
Fraud: 'Fraud',
|
|
327
|
-
CallBarring: 'Call Barring'
|
|
347
|
+
CallBarring: 'Call Barring',
|
|
328
348
|
};
|
|
329
349
|
exports.SmsAccountRequestDTOProviderEnum = {
|
|
330
|
-
NUMBER_1: 1
|
|
350
|
+
NUMBER_1: 1,
|
|
331
351
|
};
|
|
332
352
|
exports.SmsAccountRequestDTOTypeEnum = {
|
|
333
353
|
Local: 'local',
|
|
334
354
|
TollFree: 'toll_free',
|
|
335
355
|
Mobile: 'mobile',
|
|
336
356
|
National: 'national',
|
|
337
|
-
SharedCost: 'shared_cost'
|
|
357
|
+
SharedCost: 'shared_cost',
|
|
338
358
|
};
|
|
339
359
|
exports.SmsPhoneNumberModelStatusEnum = {
|
|
340
360
|
Queued: 'queued',
|
|
@@ -345,31 +365,31 @@ exports.SmsPhoneNumberModelStatusEnum = {
|
|
|
345
365
|
DeliveryUnconfirmed: 'delivery_unconfirmed',
|
|
346
366
|
Delivered: 'delivered',
|
|
347
367
|
DeliveryFailed: 'delivery_failed',
|
|
348
|
-
WebhookDelivered: 'webhook_delivered'
|
|
368
|
+
WebhookDelivered: 'webhook_delivered',
|
|
349
369
|
};
|
|
350
370
|
exports.SmsResponseModelEventTypeEnum = {
|
|
351
371
|
MessageSent: 'message.sent',
|
|
352
372
|
MessageFinalized: 'message.finalized',
|
|
353
|
-
MessageReceived: 'message.received'
|
|
373
|
+
MessageReceived: 'message.received',
|
|
354
374
|
};
|
|
355
375
|
exports.StockOrderModelDeliveryMethodEnum = {
|
|
356
376
|
Sea: 'Sea',
|
|
357
377
|
Air: 'Air',
|
|
358
|
-
Road: 'Road'
|
|
378
|
+
Road: 'Road',
|
|
359
379
|
};
|
|
360
380
|
exports.StockOrderModelPaidEnum = {
|
|
361
381
|
NUMBER_0: 0,
|
|
362
382
|
NUMBER_1: 1,
|
|
363
|
-
NUMBER_2: 2
|
|
383
|
+
NUMBER_2: 2,
|
|
364
384
|
};
|
|
365
385
|
exports.TcxMultiTenantModelPackageEnum = {
|
|
366
|
-
_3CxStarterBundle: '3CX Starter Bundle'
|
|
386
|
+
_3CxStarterBundle: '3CX Starter Bundle',
|
|
367
387
|
};
|
|
368
388
|
exports.TcxSetupEntityInstallTypeEnum = {
|
|
369
389
|
New: 'new',
|
|
370
390
|
Restore: 'restore',
|
|
371
391
|
Failover: 'failover',
|
|
372
|
-
MultiTenant: 'multi-tenant'
|
|
392
|
+
MultiTenant: 'multi-tenant',
|
|
373
393
|
};
|
|
374
394
|
exports.TcxSetupEntityRegionEnum = {
|
|
375
395
|
Uk1: 'UK1',
|
|
@@ -380,13 +400,13 @@ exports.TcxSetupEntityRegionEnum = {
|
|
|
380
400
|
Syd1: 'SYD1',
|
|
381
401
|
Sgp1: 'SGP1',
|
|
382
402
|
UsEastVa1: 'US-EAST-VA-1',
|
|
383
|
-
UsWestOr1: 'US-WEST-OR-1'
|
|
403
|
+
UsWestOr1: 'US-WEST-OR-1',
|
|
384
404
|
};
|
|
385
405
|
exports.TcxWizardModelInstallTypeEnum = {
|
|
386
406
|
New: 'new',
|
|
387
407
|
Restore: 'restore',
|
|
388
408
|
Failover: 'failover',
|
|
389
|
-
MultiTenant: 'multi-tenant'
|
|
409
|
+
MultiTenant: 'multi-tenant',
|
|
390
410
|
};
|
|
391
411
|
exports.TcxWizardModelInstallationStatusEnum = {
|
|
392
412
|
Building: 'Building',
|
|
@@ -403,15 +423,15 @@ exports.TcxWizardModelInstallationStatusEnum = {
|
|
|
403
423
|
RecordingsBackupInstalled: 'Recordings Backup Installed',
|
|
404
424
|
Complete: 'Complete',
|
|
405
425
|
Deleted: 'Deleted',
|
|
406
|
-
Failed: 'Failed'
|
|
426
|
+
Failed: 'Failed',
|
|
407
427
|
};
|
|
408
428
|
exports.UpgradeRequestModelLicenceTypeEnum = {
|
|
409
429
|
Lite: 'lite',
|
|
410
|
-
Pro: 'pro'
|
|
430
|
+
Pro: 'pro',
|
|
411
431
|
};
|
|
412
432
|
exports.UpgradeRequestModelSchoolTypeEnum = {
|
|
413
433
|
Primary: 'primary',
|
|
414
|
-
Secondary: 'secondary'
|
|
434
|
+
Secondary: 'secondary',
|
|
415
435
|
};
|
|
416
436
|
/**
|
|
417
437
|
* AccountsApi - axios parameter creator
|
|
@@ -438,7 +458,7 @@ var AccountsApiAxiosParamCreator = function (configuration) {
|
|
|
438
458
|
// verify required parameter 'id' is not null or undefined
|
|
439
459
|
(0, common_1.assertParamExists)('deleteDeleteClientCredentials', 'id', id);
|
|
440
460
|
localVarPath = "/accounts/me/contacts/credentials/{id}"
|
|
441
|
-
.replace(
|
|
461
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
442
462
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
443
463
|
if (configuration) {
|
|
444
464
|
baseOptions = configuration.baseOptions;
|
|
@@ -475,7 +495,7 @@ var AccountsApiAxiosParamCreator = function (configuration) {
|
|
|
475
495
|
// verify required parameter 'email' is not null or undefined
|
|
476
496
|
(0, common_1.assertParamExists)('deleteUpdateAccountContact', 'email', email);
|
|
477
497
|
localVarPath = "/accounts/me/contacts/{email}"
|
|
478
|
-
.replace(
|
|
498
|
+
.replace('{email}', encodeURIComponent(String(email)));
|
|
479
499
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
480
500
|
if (configuration) {
|
|
481
501
|
baseOptions = configuration.baseOptions;
|
|
@@ -584,44 +604,7 @@ var AccountsApiAxiosParamCreator = function (configuration) {
|
|
|
584
604
|
// verify required parameter 'id' is not null or undefined
|
|
585
605
|
(0, common_1.assertParamExists)('getGetAccountDetailedSummary', 'id', id);
|
|
586
606
|
localVarPath = "/accounts/{id}/summary"
|
|
587
|
-
.replace(
|
|
588
|
-
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
589
|
-
if (configuration) {
|
|
590
|
-
baseOptions = configuration.baseOptions;
|
|
591
|
-
}
|
|
592
|
-
localVarRequestOptions = __assign(__assign({ method: 'GET' }, baseOptions), options);
|
|
593
|
-
localVarHeaderParameter = {};
|
|
594
|
-
localVarQueryParameter = {};
|
|
595
|
-
localVarHeaderParameter['Accept'] = 'application/json';
|
|
596
|
-
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
597
|
-
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
598
|
-
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
599
|
-
return [2 /*return*/, {
|
|
600
|
-
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
601
|
-
options: localVarRequestOptions,
|
|
602
|
-
}];
|
|
603
|
-
});
|
|
604
|
-
});
|
|
605
|
-
},
|
|
606
|
-
/**
|
|
607
|
-
* Get Account Page Details
|
|
608
|
-
* @param {string} id Xero ID
|
|
609
|
-
* @param {*} [options] Override http request option.
|
|
610
|
-
* @throws {RequiredError}
|
|
611
|
-
*/
|
|
612
|
-
getGetAccountPageInfo: function (id_1) {
|
|
613
|
-
var args_1 = [];
|
|
614
|
-
for (var _i = 1; _i < arguments.length; _i++) {
|
|
615
|
-
args_1[_i - 1] = arguments[_i];
|
|
616
|
-
}
|
|
617
|
-
return __awaiter(_this, __spreadArray([id_1], args_1, true), void 0, function (id, options) {
|
|
618
|
-
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
619
|
-
if (options === void 0) { options = {}; }
|
|
620
|
-
return __generator(this, function (_a) {
|
|
621
|
-
// verify required parameter 'id' is not null or undefined
|
|
622
|
-
(0, common_1.assertParamExists)('getGetAccountPageInfo', 'id', id);
|
|
623
|
-
localVarPath = "/admin/accounts/{id}"
|
|
624
|
-
.replace("{".concat("id", "}"), encodeURIComponent(String(id)));
|
|
607
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
625
608
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
626
609
|
if (configuration) {
|
|
627
610
|
baseOptions = configuration.baseOptions;
|
|
@@ -797,98 +780,18 @@ var AccountsApiAxiosParamCreator = function (configuration) {
|
|
|
797
780
|
});
|
|
798
781
|
});
|
|
799
782
|
},
|
|
800
|
-
/**
|
|
801
|
-
* Set Account Portal Access
|
|
802
|
-
* @param {string} id Xero ID
|
|
803
|
-
* @param {PatchSetPortalAccessStateEnum} state Portal Access State
|
|
804
|
-
* @param {*} [options] Override http request option.
|
|
805
|
-
* @throws {RequiredError}
|
|
806
|
-
*/
|
|
807
|
-
patchSetPortalAccess: function (id_1, state_1) {
|
|
808
|
-
var args_1 = [];
|
|
809
|
-
for (var _i = 2; _i < arguments.length; _i++) {
|
|
810
|
-
args_1[_i - 2] = arguments[_i];
|
|
811
|
-
}
|
|
812
|
-
return __awaiter(_this, __spreadArray([id_1, state_1], args_1, true), void 0, function (id, state, options) {
|
|
813
|
-
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
814
|
-
if (options === void 0) { options = {}; }
|
|
815
|
-
return __generator(this, function (_a) {
|
|
816
|
-
// verify required parameter 'id' is not null or undefined
|
|
817
|
-
(0, common_1.assertParamExists)('patchSetPortalAccess', 'id', id);
|
|
818
|
-
// verify required parameter 'state' is not null or undefined
|
|
819
|
-
(0, common_1.assertParamExists)('patchSetPortalAccess', 'state', state);
|
|
820
|
-
localVarPath = "/admin/accounts/{id}/portal/access/{state}"
|
|
821
|
-
.replace("{".concat("id", "}"), encodeURIComponent(String(id)))
|
|
822
|
-
.replace("{".concat("state", "}"), encodeURIComponent(String(state)));
|
|
823
|
-
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
824
|
-
if (configuration) {
|
|
825
|
-
baseOptions = configuration.baseOptions;
|
|
826
|
-
}
|
|
827
|
-
localVarRequestOptions = __assign(__assign({ method: 'PATCH' }, baseOptions), options);
|
|
828
|
-
localVarHeaderParameter = {};
|
|
829
|
-
localVarQueryParameter = {};
|
|
830
|
-
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
831
|
-
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
832
|
-
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
833
|
-
return [2 /*return*/, {
|
|
834
|
-
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
835
|
-
options: localVarRequestOptions,
|
|
836
|
-
}];
|
|
837
|
-
});
|
|
838
|
-
});
|
|
839
|
-
},
|
|
840
|
-
/**
|
|
841
|
-
* Set Account Prize Promo
|
|
842
|
-
* @param {string} id Xero ID
|
|
843
|
-
* @param {PatchSetPrizePromoStateEnum} state Prize Promo State
|
|
844
|
-
* @param {*} [options] Override http request option.
|
|
845
|
-
* @throws {RequiredError}
|
|
846
|
-
*/
|
|
847
|
-
patchSetPrizePromo: function (id_1, state_1) {
|
|
848
|
-
var args_1 = [];
|
|
849
|
-
for (var _i = 2; _i < arguments.length; _i++) {
|
|
850
|
-
args_1[_i - 2] = arguments[_i];
|
|
851
|
-
}
|
|
852
|
-
return __awaiter(_this, __spreadArray([id_1, state_1], args_1, true), void 0, function (id, state, options) {
|
|
853
|
-
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
854
|
-
if (options === void 0) { options = {}; }
|
|
855
|
-
return __generator(this, function (_a) {
|
|
856
|
-
// verify required parameter 'id' is not null or undefined
|
|
857
|
-
(0, common_1.assertParamExists)('patchSetPrizePromo', 'id', id);
|
|
858
|
-
// verify required parameter 'state' is not null or undefined
|
|
859
|
-
(0, common_1.assertParamExists)('patchSetPrizePromo', 'state', state);
|
|
860
|
-
localVarPath = "/admin/accounts/{id}/prizes/{state}"
|
|
861
|
-
.replace("{".concat("id", "}"), encodeURIComponent(String(id)))
|
|
862
|
-
.replace("{".concat("state", "}"), encodeURIComponent(String(state)));
|
|
863
|
-
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
864
|
-
if (configuration) {
|
|
865
|
-
baseOptions = configuration.baseOptions;
|
|
866
|
-
}
|
|
867
|
-
localVarRequestOptions = __assign(__assign({ method: 'PATCH' }, baseOptions), options);
|
|
868
|
-
localVarHeaderParameter = {};
|
|
869
|
-
localVarQueryParameter = {};
|
|
870
|
-
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
871
|
-
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
872
|
-
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
873
|
-
return [2 /*return*/, {
|
|
874
|
-
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
875
|
-
options: localVarRequestOptions,
|
|
876
|
-
}];
|
|
877
|
-
});
|
|
878
|
-
});
|
|
879
|
-
},
|
|
880
783
|
/**
|
|
881
784
|
* Set 3CX Wizard CNAME
|
|
882
|
-
* @param {
|
|
785
|
+
* @param {PatchSetTcxWizardCnameRequest} [patchSetTcxWizardCnameRequest] CNAME Request
|
|
883
786
|
* @param {*} [options] Override http request option.
|
|
884
787
|
* @throws {RequiredError}
|
|
885
788
|
*/
|
|
886
|
-
patchSetTcxWizardCname: function (
|
|
789
|
+
patchSetTcxWizardCname: function (patchSetTcxWizardCnameRequest_1) {
|
|
887
790
|
var args_1 = [];
|
|
888
791
|
for (var _i = 1; _i < arguments.length; _i++) {
|
|
889
792
|
args_1[_i - 1] = arguments[_i];
|
|
890
793
|
}
|
|
891
|
-
return __awaiter(_this, __spreadArray([
|
|
794
|
+
return __awaiter(_this, __spreadArray([patchSetTcxWizardCnameRequest_1], args_1, true), void 0, function (patchSetTcxWizardCnameRequest, options) {
|
|
892
795
|
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
893
796
|
if (options === void 0) { options = {}; }
|
|
894
797
|
return __generator(this, function (_a) {
|
|
@@ -904,85 +807,7 @@ var AccountsApiAxiosParamCreator = function (configuration) {
|
|
|
904
807
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
905
808
|
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
906
809
|
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
907
|
-
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(
|
|
908
|
-
return [2 /*return*/, {
|
|
909
|
-
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
910
|
-
options: localVarRequestOptions,
|
|
911
|
-
}];
|
|
912
|
-
});
|
|
913
|
-
});
|
|
914
|
-
},
|
|
915
|
-
/**
|
|
916
|
-
* Set Account CNAME
|
|
917
|
-
* @param {string} id Xero ID
|
|
918
|
-
* @param {PatchUpdateAccountCnameRequest} [patchUpdateAccountCnameRequest] CNAME Request
|
|
919
|
-
* @param {*} [options] Override http request option.
|
|
920
|
-
* @throws {RequiredError}
|
|
921
|
-
*/
|
|
922
|
-
patchUpdateAccountCname: function (id_1, patchUpdateAccountCnameRequest_1) {
|
|
923
|
-
var args_1 = [];
|
|
924
|
-
for (var _i = 2; _i < arguments.length; _i++) {
|
|
925
|
-
args_1[_i - 2] = arguments[_i];
|
|
926
|
-
}
|
|
927
|
-
return __awaiter(_this, __spreadArray([id_1, patchUpdateAccountCnameRequest_1], args_1, true), void 0, function (id, patchUpdateAccountCnameRequest, options) {
|
|
928
|
-
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
929
|
-
if (options === void 0) { options = {}; }
|
|
930
|
-
return __generator(this, function (_a) {
|
|
931
|
-
// verify required parameter 'id' is not null or undefined
|
|
932
|
-
(0, common_1.assertParamExists)('patchUpdateAccountCname', 'id', id);
|
|
933
|
-
localVarPath = "/admin/accounts/{id}/cname"
|
|
934
|
-
.replace("{".concat("id", "}"), encodeURIComponent(String(id)));
|
|
935
|
-
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
936
|
-
if (configuration) {
|
|
937
|
-
baseOptions = configuration.baseOptions;
|
|
938
|
-
}
|
|
939
|
-
localVarRequestOptions = __assign(__assign({ method: 'PATCH' }, baseOptions), options);
|
|
940
|
-
localVarHeaderParameter = {};
|
|
941
|
-
localVarQueryParameter = {};
|
|
942
|
-
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
943
|
-
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
944
|
-
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
945
|
-
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
946
|
-
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(patchUpdateAccountCnameRequest, localVarRequestOptions, configuration);
|
|
947
|
-
return [2 /*return*/, {
|
|
948
|
-
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
949
|
-
options: localVarRequestOptions,
|
|
950
|
-
}];
|
|
951
|
-
});
|
|
952
|
-
});
|
|
953
|
-
},
|
|
954
|
-
/**
|
|
955
|
-
* Set Account Company Number
|
|
956
|
-
* @param {string} id Xero ID
|
|
957
|
-
* @param {PatchUpdateAccountCompanyNumberRequest} [patchUpdateAccountCompanyNumberRequest] Account Company Number Request
|
|
958
|
-
* @param {*} [options] Override http request option.
|
|
959
|
-
* @throws {RequiredError}
|
|
960
|
-
*/
|
|
961
|
-
patchUpdateAccountCompanyNumber: function (id_1, patchUpdateAccountCompanyNumberRequest_1) {
|
|
962
|
-
var args_1 = [];
|
|
963
|
-
for (var _i = 2; _i < arguments.length; _i++) {
|
|
964
|
-
args_1[_i - 2] = arguments[_i];
|
|
965
|
-
}
|
|
966
|
-
return __awaiter(_this, __spreadArray([id_1, patchUpdateAccountCompanyNumberRequest_1], args_1, true), void 0, function (id, patchUpdateAccountCompanyNumberRequest, options) {
|
|
967
|
-
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
968
|
-
if (options === void 0) { options = {}; }
|
|
969
|
-
return __generator(this, function (_a) {
|
|
970
|
-
// verify required parameter 'id' is not null or undefined
|
|
971
|
-
(0, common_1.assertParamExists)('patchUpdateAccountCompanyNumber', 'id', id);
|
|
972
|
-
localVarPath = "/admin/accounts/{id}/companyNumber"
|
|
973
|
-
.replace("{".concat("id", "}"), encodeURIComponent(String(id)));
|
|
974
|
-
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
975
|
-
if (configuration) {
|
|
976
|
-
baseOptions = configuration.baseOptions;
|
|
977
|
-
}
|
|
978
|
-
localVarRequestOptions = __assign(__assign({ method: 'PATCH' }, baseOptions), options);
|
|
979
|
-
localVarHeaderParameter = {};
|
|
980
|
-
localVarQueryParameter = {};
|
|
981
|
-
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
982
|
-
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
983
|
-
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
984
|
-
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
985
|
-
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(patchUpdateAccountCompanyNumberRequest, localVarRequestOptions, configuration);
|
|
810
|
+
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(patchSetTcxWizardCnameRequest, localVarRequestOptions, configuration);
|
|
986
811
|
return [2 /*return*/, {
|
|
987
812
|
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
988
813
|
options: localVarRequestOptions,
|
|
@@ -1032,84 +857,6 @@ var AccountsApiAxiosParamCreator = function (configuration) {
|
|
|
1032
857
|
});
|
|
1033
858
|
});
|
|
1034
859
|
},
|
|
1035
|
-
/**
|
|
1036
|
-
* Set Account Phone
|
|
1037
|
-
* @param {string} id Xero ID
|
|
1038
|
-
* @param {PatchUpdateAccountPhoneRequest} [patchUpdateAccountPhoneRequest] Telephone Request
|
|
1039
|
-
* @param {*} [options] Override http request option.
|
|
1040
|
-
* @throws {RequiredError}
|
|
1041
|
-
*/
|
|
1042
|
-
patchUpdateAccountPhone: function (id_1, patchUpdateAccountPhoneRequest_1) {
|
|
1043
|
-
var args_1 = [];
|
|
1044
|
-
for (var _i = 2; _i < arguments.length; _i++) {
|
|
1045
|
-
args_1[_i - 2] = arguments[_i];
|
|
1046
|
-
}
|
|
1047
|
-
return __awaiter(_this, __spreadArray([id_1, patchUpdateAccountPhoneRequest_1], args_1, true), void 0, function (id, patchUpdateAccountPhoneRequest, options) {
|
|
1048
|
-
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
1049
|
-
if (options === void 0) { options = {}; }
|
|
1050
|
-
return __generator(this, function (_a) {
|
|
1051
|
-
// verify required parameter 'id' is not null or undefined
|
|
1052
|
-
(0, common_1.assertParamExists)('patchUpdateAccountPhone', 'id', id);
|
|
1053
|
-
localVarPath = "/admin/accounts/{id}/phone"
|
|
1054
|
-
.replace("{".concat("id", "}"), encodeURIComponent(String(id)));
|
|
1055
|
-
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
1056
|
-
if (configuration) {
|
|
1057
|
-
baseOptions = configuration.baseOptions;
|
|
1058
|
-
}
|
|
1059
|
-
localVarRequestOptions = __assign(__assign({ method: 'PATCH' }, baseOptions), options);
|
|
1060
|
-
localVarHeaderParameter = {};
|
|
1061
|
-
localVarQueryParameter = {};
|
|
1062
|
-
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
1063
|
-
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
1064
|
-
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1065
|
-
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
1066
|
-
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(patchUpdateAccountPhoneRequest, localVarRequestOptions, configuration);
|
|
1067
|
-
return [2 /*return*/, {
|
|
1068
|
-
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
1069
|
-
options: localVarRequestOptions,
|
|
1070
|
-
}];
|
|
1071
|
-
});
|
|
1072
|
-
});
|
|
1073
|
-
},
|
|
1074
|
-
/**
|
|
1075
|
-
* Set Account VAT Number
|
|
1076
|
-
* @param {string} id Xero ID
|
|
1077
|
-
* @param {PatchUpdateAccountVatNumberRequest} [patchUpdateAccountVatNumberRequest] VAT Number Request
|
|
1078
|
-
* @param {*} [options] Override http request option.
|
|
1079
|
-
* @throws {RequiredError}
|
|
1080
|
-
*/
|
|
1081
|
-
patchUpdateAccountVatNumber: function (id_1, patchUpdateAccountVatNumberRequest_1) {
|
|
1082
|
-
var args_1 = [];
|
|
1083
|
-
for (var _i = 2; _i < arguments.length; _i++) {
|
|
1084
|
-
args_1[_i - 2] = arguments[_i];
|
|
1085
|
-
}
|
|
1086
|
-
return __awaiter(_this, __spreadArray([id_1, patchUpdateAccountVatNumberRequest_1], args_1, true), void 0, function (id, patchUpdateAccountVatNumberRequest, options) {
|
|
1087
|
-
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
1088
|
-
if (options === void 0) { options = {}; }
|
|
1089
|
-
return __generator(this, function (_a) {
|
|
1090
|
-
// verify required parameter 'id' is not null or undefined
|
|
1091
|
-
(0, common_1.assertParamExists)('patchUpdateAccountVatNumber', 'id', id);
|
|
1092
|
-
localVarPath = "/admin/accounts/{id}/vatNumber"
|
|
1093
|
-
.replace("{".concat("id", "}"), encodeURIComponent(String(id)));
|
|
1094
|
-
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
1095
|
-
if (configuration) {
|
|
1096
|
-
baseOptions = configuration.baseOptions;
|
|
1097
|
-
}
|
|
1098
|
-
localVarRequestOptions = __assign(__assign({ method: 'PATCH' }, baseOptions), options);
|
|
1099
|
-
localVarHeaderParameter = {};
|
|
1100
|
-
localVarQueryParameter = {};
|
|
1101
|
-
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
1102
|
-
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
1103
|
-
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1104
|
-
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
1105
|
-
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(patchUpdateAccountVatNumberRequest, localVarRequestOptions, configuration);
|
|
1106
|
-
return [2 /*return*/, {
|
|
1107
|
-
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
1108
|
-
options: localVarRequestOptions,
|
|
1109
|
-
}];
|
|
1110
|
-
});
|
|
1111
|
-
});
|
|
1112
|
-
},
|
|
1113
860
|
/**
|
|
1114
861
|
* Add Account Contacts
|
|
1115
862
|
* @summary Add Account Contact
|
|
@@ -1273,7 +1020,7 @@ var AccountsApiAxiosParamCreator = function (configuration) {
|
|
|
1273
1020
|
// verify required parameter 'email' is not null or undefined
|
|
1274
1021
|
(0, common_1.assertParamExists)('postSendEmailVerificationEmail', 'email', email);
|
|
1275
1022
|
localVarPath = "/accounts/contacts/verify/{email}"
|
|
1276
|
-
.replace(
|
|
1023
|
+
.replace('{email}', encodeURIComponent(String(email)));
|
|
1277
1024
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
1278
1025
|
if (configuration) {
|
|
1279
1026
|
baseOptions = configuration.baseOptions;
|
|
@@ -1330,45 +1077,6 @@ var AccountsApiAxiosParamCreator = function (configuration) {
|
|
|
1330
1077
|
});
|
|
1331
1078
|
});
|
|
1332
1079
|
},
|
|
1333
|
-
/**
|
|
1334
|
-
* Send Account Welcome Email
|
|
1335
|
-
* @param {string} id Xero ID
|
|
1336
|
-
* @param {PostSendWelcomeEmailRequest} [postSendWelcomeEmailRequest] Email Request
|
|
1337
|
-
* @param {*} [options] Override http request option.
|
|
1338
|
-
* @throws {RequiredError}
|
|
1339
|
-
*/
|
|
1340
|
-
postSendWelcomeEmail: function (id_1, postSendWelcomeEmailRequest_1) {
|
|
1341
|
-
var args_1 = [];
|
|
1342
|
-
for (var _i = 2; _i < arguments.length; _i++) {
|
|
1343
|
-
args_1[_i - 2] = arguments[_i];
|
|
1344
|
-
}
|
|
1345
|
-
return __awaiter(_this, __spreadArray([id_1, postSendWelcomeEmailRequest_1], args_1, true), void 0, function (id, postSendWelcomeEmailRequest, options) {
|
|
1346
|
-
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
1347
|
-
if (options === void 0) { options = {}; }
|
|
1348
|
-
return __generator(this, function (_a) {
|
|
1349
|
-
// verify required parameter 'id' is not null or undefined
|
|
1350
|
-
(0, common_1.assertParamExists)('postSendWelcomeEmail', 'id', id);
|
|
1351
|
-
localVarPath = "/admin/accounts/{id}/email/welcome"
|
|
1352
|
-
.replace("{".concat("id", "}"), encodeURIComponent(String(id)));
|
|
1353
|
-
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
1354
|
-
if (configuration) {
|
|
1355
|
-
baseOptions = configuration.baseOptions;
|
|
1356
|
-
}
|
|
1357
|
-
localVarRequestOptions = __assign(__assign({ method: 'POST' }, baseOptions), options);
|
|
1358
|
-
localVarHeaderParameter = {};
|
|
1359
|
-
localVarQueryParameter = {};
|
|
1360
|
-
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
1361
|
-
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
1362
|
-
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1363
|
-
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
1364
|
-
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(postSendWelcomeEmailRequest, localVarRequestOptions, configuration);
|
|
1365
|
-
return [2 /*return*/, {
|
|
1366
|
-
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
1367
|
-
options: localVarRequestOptions,
|
|
1368
|
-
}];
|
|
1369
|
-
});
|
|
1370
|
-
});
|
|
1371
|
-
},
|
|
1372
1080
|
/**
|
|
1373
1081
|
* Submit reseller application
|
|
1374
1082
|
* @summary Submit reseller application
|
|
@@ -1434,7 +1142,7 @@ var AccountsApiAxiosParamCreator = function (configuration) {
|
|
|
1434
1142
|
// verify required parameter 'email' is not null or undefined
|
|
1435
1143
|
(0, common_1.assertParamExists)('putUpdateAccountContact', 'email', email);
|
|
1436
1144
|
localVarPath = "/accounts/me/contacts/{email}"
|
|
1437
|
-
.replace(
|
|
1145
|
+
.replace('{email}', encodeURIComponent(String(email)));
|
|
1438
1146
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
1439
1147
|
if (configuration) {
|
|
1440
1148
|
baseOptions = configuration.baseOptions;
|
|
@@ -1454,84 +1162,6 @@ var AccountsApiAxiosParamCreator = function (configuration) {
|
|
|
1454
1162
|
});
|
|
1455
1163
|
});
|
|
1456
1164
|
},
|
|
1457
|
-
/**
|
|
1458
|
-
* Update Account Billing Address
|
|
1459
|
-
* @param {string} id Xero ID
|
|
1460
|
-
* @param {AddressDTO} [addressDTO] Updated Billing Address
|
|
1461
|
-
* @param {*} [options] Override http request option.
|
|
1462
|
-
* @throws {RequiredError}
|
|
1463
|
-
*/
|
|
1464
|
-
putUpdateBillingAddress: function (id_1, addressDTO_1) {
|
|
1465
|
-
var args_1 = [];
|
|
1466
|
-
for (var _i = 2; _i < arguments.length; _i++) {
|
|
1467
|
-
args_1[_i - 2] = arguments[_i];
|
|
1468
|
-
}
|
|
1469
|
-
return __awaiter(_this, __spreadArray([id_1, addressDTO_1], args_1, true), void 0, function (id, addressDTO, options) {
|
|
1470
|
-
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
1471
|
-
if (options === void 0) { options = {}; }
|
|
1472
|
-
return __generator(this, function (_a) {
|
|
1473
|
-
// verify required parameter 'id' is not null or undefined
|
|
1474
|
-
(0, common_1.assertParamExists)('putUpdateBillingAddress', 'id', id);
|
|
1475
|
-
localVarPath = "/admin/accounts/{id}/billing/address"
|
|
1476
|
-
.replace("{".concat("id", "}"), encodeURIComponent(String(id)));
|
|
1477
|
-
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
1478
|
-
if (configuration) {
|
|
1479
|
-
baseOptions = configuration.baseOptions;
|
|
1480
|
-
}
|
|
1481
|
-
localVarRequestOptions = __assign(__assign({ method: 'PUT' }, baseOptions), options);
|
|
1482
|
-
localVarHeaderParameter = {};
|
|
1483
|
-
localVarQueryParameter = {};
|
|
1484
|
-
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
1485
|
-
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
1486
|
-
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1487
|
-
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
1488
|
-
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(addressDTO, localVarRequestOptions, configuration);
|
|
1489
|
-
return [2 /*return*/, {
|
|
1490
|
-
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
1491
|
-
options: localVarRequestOptions,
|
|
1492
|
-
}];
|
|
1493
|
-
});
|
|
1494
|
-
});
|
|
1495
|
-
},
|
|
1496
|
-
/**
|
|
1497
|
-
* Update Account Shipping Address
|
|
1498
|
-
* @param {string} id Xero ID
|
|
1499
|
-
* @param {AddressDTO} [addressDTO] Updated Shipping Address
|
|
1500
|
-
* @param {*} [options] Override http request option.
|
|
1501
|
-
* @throws {RequiredError}
|
|
1502
|
-
*/
|
|
1503
|
-
putUpdateShippingAddress: function (id_1, addressDTO_1) {
|
|
1504
|
-
var args_1 = [];
|
|
1505
|
-
for (var _i = 2; _i < arguments.length; _i++) {
|
|
1506
|
-
args_1[_i - 2] = arguments[_i];
|
|
1507
|
-
}
|
|
1508
|
-
return __awaiter(_this, __spreadArray([id_1, addressDTO_1], args_1, true), void 0, function (id, addressDTO, options) {
|
|
1509
|
-
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
1510
|
-
if (options === void 0) { options = {}; }
|
|
1511
|
-
return __generator(this, function (_a) {
|
|
1512
|
-
// verify required parameter 'id' is not null or undefined
|
|
1513
|
-
(0, common_1.assertParamExists)('putUpdateShippingAddress', 'id', id);
|
|
1514
|
-
localVarPath = "/admin/accounts/{id}/shipping/address"
|
|
1515
|
-
.replace("{".concat("id", "}"), encodeURIComponent(String(id)));
|
|
1516
|
-
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
1517
|
-
if (configuration) {
|
|
1518
|
-
baseOptions = configuration.baseOptions;
|
|
1519
|
-
}
|
|
1520
|
-
localVarRequestOptions = __assign(__assign({ method: 'PUT' }, baseOptions), options);
|
|
1521
|
-
localVarHeaderParameter = {};
|
|
1522
|
-
localVarQueryParameter = {};
|
|
1523
|
-
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
1524
|
-
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
1525
|
-
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1526
|
-
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
1527
|
-
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(addressDTO, localVarRequestOptions, configuration);
|
|
1528
|
-
return [2 /*return*/, {
|
|
1529
|
-
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
1530
|
-
options: localVarRequestOptions,
|
|
1531
|
-
}];
|
|
1532
|
-
});
|
|
1533
|
-
});
|
|
1534
|
-
},
|
|
1535
1165
|
};
|
|
1536
1166
|
};
|
|
1537
1167
|
exports.AccountsApiAxiosParamCreator = AccountsApiAxiosParamCreator;
|
|
@@ -1655,28 +1285,6 @@ var AccountsApiFp = function (configuration) {
|
|
|
1655
1285
|
});
|
|
1656
1286
|
});
|
|
1657
1287
|
},
|
|
1658
|
-
/**
|
|
1659
|
-
* Get Account Page Details
|
|
1660
|
-
* @param {string} id Xero ID
|
|
1661
|
-
* @param {*} [options] Override http request option.
|
|
1662
|
-
* @throws {RequiredError}
|
|
1663
|
-
*/
|
|
1664
|
-
getGetAccountPageInfo: function (id, options) {
|
|
1665
|
-
return __awaiter(this, void 0, void 0, function () {
|
|
1666
|
-
var localVarAxiosArgs, localVarOperationServerIndex, localVarOperationServerBasePath;
|
|
1667
|
-
var _a, _b, _c;
|
|
1668
|
-
return __generator(this, function (_d) {
|
|
1669
|
-
switch (_d.label) {
|
|
1670
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.getGetAccountPageInfo(id, options)];
|
|
1671
|
-
case 1:
|
|
1672
|
-
localVarAxiosArgs = _d.sent();
|
|
1673
|
-
localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
1674
|
-
localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['AccountsApi.getGetAccountPageInfo']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
1675
|
-
return [2 /*return*/, function (axios, basePath) { return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath); }];
|
|
1676
|
-
}
|
|
1677
|
-
});
|
|
1678
|
-
});
|
|
1679
|
-
},
|
|
1680
1288
|
/**
|
|
1681
1289
|
* Get Accounts
|
|
1682
1290
|
* @summary Get Accounts
|
|
@@ -1770,65 +1378,19 @@ var AccountsApiFp = function (configuration) {
|
|
|
1770
1378
|
});
|
|
1771
1379
|
});
|
|
1772
1380
|
},
|
|
1773
|
-
/**
|
|
1774
|
-
* Set Account Portal Access
|
|
1775
|
-
* @param {string} id Xero ID
|
|
1776
|
-
* @param {PatchSetPortalAccessStateEnum} state Portal Access State
|
|
1777
|
-
* @param {*} [options] Override http request option.
|
|
1778
|
-
* @throws {RequiredError}
|
|
1779
|
-
*/
|
|
1780
|
-
patchSetPortalAccess: function (id, state, options) {
|
|
1781
|
-
return __awaiter(this, void 0, void 0, function () {
|
|
1782
|
-
var localVarAxiosArgs, localVarOperationServerIndex, localVarOperationServerBasePath;
|
|
1783
|
-
var _a, _b, _c;
|
|
1784
|
-
return __generator(this, function (_d) {
|
|
1785
|
-
switch (_d.label) {
|
|
1786
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.patchSetPortalAccess(id, state, options)];
|
|
1787
|
-
case 1:
|
|
1788
|
-
localVarAxiosArgs = _d.sent();
|
|
1789
|
-
localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
1790
|
-
localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['AccountsApi.patchSetPortalAccess']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
1791
|
-
return [2 /*return*/, function (axios, basePath) { return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath); }];
|
|
1792
|
-
}
|
|
1793
|
-
});
|
|
1794
|
-
});
|
|
1795
|
-
},
|
|
1796
|
-
/**
|
|
1797
|
-
* Set Account Prize Promo
|
|
1798
|
-
* @param {string} id Xero ID
|
|
1799
|
-
* @param {PatchSetPrizePromoStateEnum} state Prize Promo State
|
|
1800
|
-
* @param {*} [options] Override http request option.
|
|
1801
|
-
* @throws {RequiredError}
|
|
1802
|
-
*/
|
|
1803
|
-
patchSetPrizePromo: function (id, state, options) {
|
|
1804
|
-
return __awaiter(this, void 0, void 0, function () {
|
|
1805
|
-
var localVarAxiosArgs, localVarOperationServerIndex, localVarOperationServerBasePath;
|
|
1806
|
-
var _a, _b, _c;
|
|
1807
|
-
return __generator(this, function (_d) {
|
|
1808
|
-
switch (_d.label) {
|
|
1809
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.patchSetPrizePromo(id, state, options)];
|
|
1810
|
-
case 1:
|
|
1811
|
-
localVarAxiosArgs = _d.sent();
|
|
1812
|
-
localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
1813
|
-
localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['AccountsApi.patchSetPrizePromo']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
1814
|
-
return [2 /*return*/, function (axios, basePath) { return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath); }];
|
|
1815
|
-
}
|
|
1816
|
-
});
|
|
1817
|
-
});
|
|
1818
|
-
},
|
|
1819
1381
|
/**
|
|
1820
1382
|
* Set 3CX Wizard CNAME
|
|
1821
|
-
* @param {
|
|
1383
|
+
* @param {PatchSetTcxWizardCnameRequest} [patchSetTcxWizardCnameRequest] CNAME Request
|
|
1822
1384
|
* @param {*} [options] Override http request option.
|
|
1823
1385
|
* @throws {RequiredError}
|
|
1824
1386
|
*/
|
|
1825
|
-
patchSetTcxWizardCname: function (
|
|
1387
|
+
patchSetTcxWizardCname: function (patchSetTcxWizardCnameRequest, options) {
|
|
1826
1388
|
return __awaiter(this, void 0, void 0, function () {
|
|
1827
1389
|
var localVarAxiosArgs, localVarOperationServerIndex, localVarOperationServerBasePath;
|
|
1828
1390
|
var _a, _b, _c;
|
|
1829
1391
|
return __generator(this, function (_d) {
|
|
1830
1392
|
switch (_d.label) {
|
|
1831
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.patchSetTcxWizardCname(
|
|
1393
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.patchSetTcxWizardCname(patchSetTcxWizardCnameRequest, options)];
|
|
1832
1394
|
case 1:
|
|
1833
1395
|
localVarAxiosArgs = _d.sent();
|
|
1834
1396
|
localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
@@ -1838,52 +1400,6 @@ var AccountsApiFp = function (configuration) {
|
|
|
1838
1400
|
});
|
|
1839
1401
|
});
|
|
1840
1402
|
},
|
|
1841
|
-
/**
|
|
1842
|
-
* Set Account CNAME
|
|
1843
|
-
* @param {string} id Xero ID
|
|
1844
|
-
* @param {PatchUpdateAccountCnameRequest} [patchUpdateAccountCnameRequest] CNAME Request
|
|
1845
|
-
* @param {*} [options] Override http request option.
|
|
1846
|
-
* @throws {RequiredError}
|
|
1847
|
-
*/
|
|
1848
|
-
patchUpdateAccountCname: function (id, patchUpdateAccountCnameRequest, options) {
|
|
1849
|
-
return __awaiter(this, void 0, void 0, function () {
|
|
1850
|
-
var localVarAxiosArgs, localVarOperationServerIndex, localVarOperationServerBasePath;
|
|
1851
|
-
var _a, _b, _c;
|
|
1852
|
-
return __generator(this, function (_d) {
|
|
1853
|
-
switch (_d.label) {
|
|
1854
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.patchUpdateAccountCname(id, patchUpdateAccountCnameRequest, options)];
|
|
1855
|
-
case 1:
|
|
1856
|
-
localVarAxiosArgs = _d.sent();
|
|
1857
|
-
localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
1858
|
-
localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['AccountsApi.patchUpdateAccountCname']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
1859
|
-
return [2 /*return*/, function (axios, basePath) { return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath); }];
|
|
1860
|
-
}
|
|
1861
|
-
});
|
|
1862
|
-
});
|
|
1863
|
-
},
|
|
1864
|
-
/**
|
|
1865
|
-
* Set Account Company Number
|
|
1866
|
-
* @param {string} id Xero ID
|
|
1867
|
-
* @param {PatchUpdateAccountCompanyNumberRequest} [patchUpdateAccountCompanyNumberRequest] Account Company Number Request
|
|
1868
|
-
* @param {*} [options] Override http request option.
|
|
1869
|
-
* @throws {RequiredError}
|
|
1870
|
-
*/
|
|
1871
|
-
patchUpdateAccountCompanyNumber: function (id, patchUpdateAccountCompanyNumberRequest, options) {
|
|
1872
|
-
return __awaiter(this, void 0, void 0, function () {
|
|
1873
|
-
var localVarAxiosArgs, localVarOperationServerIndex, localVarOperationServerBasePath;
|
|
1874
|
-
var _a, _b, _c;
|
|
1875
|
-
return __generator(this, function (_d) {
|
|
1876
|
-
switch (_d.label) {
|
|
1877
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.patchUpdateAccountCompanyNumber(id, patchUpdateAccountCompanyNumberRequest, options)];
|
|
1878
|
-
case 1:
|
|
1879
|
-
localVarAxiosArgs = _d.sent();
|
|
1880
|
-
localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
1881
|
-
localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['AccountsApi.patchUpdateAccountCompanyNumber']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
1882
|
-
return [2 /*return*/, function (axios, basePath) { return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath); }];
|
|
1883
|
-
}
|
|
1884
|
-
});
|
|
1885
|
-
});
|
|
1886
|
-
},
|
|
1887
1403
|
/**
|
|
1888
1404
|
* Update Account Password
|
|
1889
1405
|
* @summary Update Account Password
|
|
@@ -1908,52 +1424,6 @@ var AccountsApiFp = function (configuration) {
|
|
|
1908
1424
|
});
|
|
1909
1425
|
});
|
|
1910
1426
|
},
|
|
1911
|
-
/**
|
|
1912
|
-
* Set Account Phone
|
|
1913
|
-
* @param {string} id Xero ID
|
|
1914
|
-
* @param {PatchUpdateAccountPhoneRequest} [patchUpdateAccountPhoneRequest] Telephone Request
|
|
1915
|
-
* @param {*} [options] Override http request option.
|
|
1916
|
-
* @throws {RequiredError}
|
|
1917
|
-
*/
|
|
1918
|
-
patchUpdateAccountPhone: function (id, patchUpdateAccountPhoneRequest, options) {
|
|
1919
|
-
return __awaiter(this, void 0, void 0, function () {
|
|
1920
|
-
var localVarAxiosArgs, localVarOperationServerIndex, localVarOperationServerBasePath;
|
|
1921
|
-
var _a, _b, _c;
|
|
1922
|
-
return __generator(this, function (_d) {
|
|
1923
|
-
switch (_d.label) {
|
|
1924
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.patchUpdateAccountPhone(id, patchUpdateAccountPhoneRequest, options)];
|
|
1925
|
-
case 1:
|
|
1926
|
-
localVarAxiosArgs = _d.sent();
|
|
1927
|
-
localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
1928
|
-
localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['AccountsApi.patchUpdateAccountPhone']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
1929
|
-
return [2 /*return*/, function (axios, basePath) { return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath); }];
|
|
1930
|
-
}
|
|
1931
|
-
});
|
|
1932
|
-
});
|
|
1933
|
-
},
|
|
1934
|
-
/**
|
|
1935
|
-
* Set Account VAT Number
|
|
1936
|
-
* @param {string} id Xero ID
|
|
1937
|
-
* @param {PatchUpdateAccountVatNumberRequest} [patchUpdateAccountVatNumberRequest] VAT Number Request
|
|
1938
|
-
* @param {*} [options] Override http request option.
|
|
1939
|
-
* @throws {RequiredError}
|
|
1940
|
-
*/
|
|
1941
|
-
patchUpdateAccountVatNumber: function (id, patchUpdateAccountVatNumberRequest, options) {
|
|
1942
|
-
return __awaiter(this, void 0, void 0, function () {
|
|
1943
|
-
var localVarAxiosArgs, localVarOperationServerIndex, localVarOperationServerBasePath;
|
|
1944
|
-
var _a, _b, _c;
|
|
1945
|
-
return __generator(this, function (_d) {
|
|
1946
|
-
switch (_d.label) {
|
|
1947
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.patchUpdateAccountVatNumber(id, patchUpdateAccountVatNumberRequest, options)];
|
|
1948
|
-
case 1:
|
|
1949
|
-
localVarAxiosArgs = _d.sent();
|
|
1950
|
-
localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
1951
|
-
localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['AccountsApi.patchUpdateAccountVatNumber']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
1952
|
-
return [2 /*return*/, function (axios, basePath) { return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath); }];
|
|
1953
|
-
}
|
|
1954
|
-
});
|
|
1955
|
-
});
|
|
1956
|
-
},
|
|
1957
1427
|
/**
|
|
1958
1428
|
* Add Account Contacts
|
|
1959
1429
|
* @summary Add Account Contact
|
|
@@ -2091,29 +1561,6 @@ var AccountsApiFp = function (configuration) {
|
|
|
2091
1561
|
});
|
|
2092
1562
|
});
|
|
2093
1563
|
},
|
|
2094
|
-
/**
|
|
2095
|
-
* Send Account Welcome Email
|
|
2096
|
-
* @param {string} id Xero ID
|
|
2097
|
-
* @param {PostSendWelcomeEmailRequest} [postSendWelcomeEmailRequest] Email Request
|
|
2098
|
-
* @param {*} [options] Override http request option.
|
|
2099
|
-
* @throws {RequiredError}
|
|
2100
|
-
*/
|
|
2101
|
-
postSendWelcomeEmail: function (id, postSendWelcomeEmailRequest, options) {
|
|
2102
|
-
return __awaiter(this, void 0, void 0, function () {
|
|
2103
|
-
var localVarAxiosArgs, localVarOperationServerIndex, localVarOperationServerBasePath;
|
|
2104
|
-
var _a, _b, _c;
|
|
2105
|
-
return __generator(this, function (_d) {
|
|
2106
|
-
switch (_d.label) {
|
|
2107
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.postSendWelcomeEmail(id, postSendWelcomeEmailRequest, options)];
|
|
2108
|
-
case 1:
|
|
2109
|
-
localVarAxiosArgs = _d.sent();
|
|
2110
|
-
localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
2111
|
-
localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['AccountsApi.postSendWelcomeEmail']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
2112
|
-
return [2 /*return*/, function (axios, basePath) { return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath); }];
|
|
2113
|
-
}
|
|
2114
|
-
});
|
|
2115
|
-
});
|
|
2116
|
-
},
|
|
2117
1564
|
/**
|
|
2118
1565
|
* Submit reseller application
|
|
2119
1566
|
* @summary Submit reseller application
|
|
@@ -2163,52 +1610,6 @@ var AccountsApiFp = function (configuration) {
|
|
|
2163
1610
|
});
|
|
2164
1611
|
});
|
|
2165
1612
|
},
|
|
2166
|
-
/**
|
|
2167
|
-
* Update Account Billing Address
|
|
2168
|
-
* @param {string} id Xero ID
|
|
2169
|
-
* @param {AddressDTO} [addressDTO] Updated Billing Address
|
|
2170
|
-
* @param {*} [options] Override http request option.
|
|
2171
|
-
* @throws {RequiredError}
|
|
2172
|
-
*/
|
|
2173
|
-
putUpdateBillingAddress: function (id, addressDTO, options) {
|
|
2174
|
-
return __awaiter(this, void 0, void 0, function () {
|
|
2175
|
-
var localVarAxiosArgs, localVarOperationServerIndex, localVarOperationServerBasePath;
|
|
2176
|
-
var _a, _b, _c;
|
|
2177
|
-
return __generator(this, function (_d) {
|
|
2178
|
-
switch (_d.label) {
|
|
2179
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.putUpdateBillingAddress(id, addressDTO, options)];
|
|
2180
|
-
case 1:
|
|
2181
|
-
localVarAxiosArgs = _d.sent();
|
|
2182
|
-
localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
2183
|
-
localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['AccountsApi.putUpdateBillingAddress']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
2184
|
-
return [2 /*return*/, function (axios, basePath) { return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath); }];
|
|
2185
|
-
}
|
|
2186
|
-
});
|
|
2187
|
-
});
|
|
2188
|
-
},
|
|
2189
|
-
/**
|
|
2190
|
-
* Update Account Shipping Address
|
|
2191
|
-
* @param {string} id Xero ID
|
|
2192
|
-
* @param {AddressDTO} [addressDTO] Updated Shipping Address
|
|
2193
|
-
* @param {*} [options] Override http request option.
|
|
2194
|
-
* @throws {RequiredError}
|
|
2195
|
-
*/
|
|
2196
|
-
putUpdateShippingAddress: function (id, addressDTO, options) {
|
|
2197
|
-
return __awaiter(this, void 0, void 0, function () {
|
|
2198
|
-
var localVarAxiosArgs, localVarOperationServerIndex, localVarOperationServerBasePath;
|
|
2199
|
-
var _a, _b, _c;
|
|
2200
|
-
return __generator(this, function (_d) {
|
|
2201
|
-
switch (_d.label) {
|
|
2202
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.putUpdateShippingAddress(id, addressDTO, options)];
|
|
2203
|
-
case 1:
|
|
2204
|
-
localVarAxiosArgs = _d.sent();
|
|
2205
|
-
localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
2206
|
-
localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['AccountsApi.putUpdateShippingAddress']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
2207
|
-
return [2 /*return*/, function (axios, basePath) { return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath); }];
|
|
2208
|
-
}
|
|
2209
|
-
});
|
|
2210
|
-
});
|
|
2211
|
-
},
|
|
2212
1613
|
};
|
|
2213
1614
|
};
|
|
2214
1615
|
exports.AccountsApiFp = AccountsApiFp;
|
|
@@ -2267,15 +1668,6 @@ var AccountsApiFactory = function (configuration, basePath, axios) {
|
|
|
2267
1668
|
getGetAccountDetailedSummary: function (id, options) {
|
|
2268
1669
|
return localVarFp.getGetAccountDetailedSummary(id, options).then(function (request) { return request(axios, basePath); });
|
|
2269
1670
|
},
|
|
2270
|
-
/**
|
|
2271
|
-
* Get Account Page Details
|
|
2272
|
-
* @param {string} id Xero ID
|
|
2273
|
-
* @param {*} [options] Override http request option.
|
|
2274
|
-
* @throws {RequiredError}
|
|
2275
|
-
*/
|
|
2276
|
-
getGetAccountPageInfo: function (id, options) {
|
|
2277
|
-
return localVarFp.getGetAccountPageInfo(id, options).then(function (request) { return request(axios, basePath); });
|
|
2278
|
-
},
|
|
2279
1671
|
/**
|
|
2280
1672
|
* Get Accounts
|
|
2281
1673
|
* @summary Get Accounts
|
|
@@ -2318,113 +1710,53 @@ var AccountsApiFactory = function (configuration, basePath, axios) {
|
|
|
2318
1710
|
return localVarFp.getVerifyEmailAddress(token, options).then(function (request) { return request(axios, basePath); });
|
|
2319
1711
|
},
|
|
2320
1712
|
/**
|
|
2321
|
-
* Set
|
|
2322
|
-
* @param {
|
|
2323
|
-
* @param {PatchSetPortalAccessStateEnum} state Portal Access State
|
|
1713
|
+
* Set 3CX Wizard CNAME
|
|
1714
|
+
* @param {PatchSetTcxWizardCnameRequest} [patchSetTcxWizardCnameRequest] CNAME Request
|
|
2324
1715
|
* @param {*} [options] Override http request option.
|
|
2325
1716
|
* @throws {RequiredError}
|
|
2326
1717
|
*/
|
|
2327
|
-
|
|
2328
|
-
return localVarFp.
|
|
1718
|
+
patchSetTcxWizardCname: function (patchSetTcxWizardCnameRequest, options) {
|
|
1719
|
+
return localVarFp.patchSetTcxWizardCname(patchSetTcxWizardCnameRequest, options).then(function (request) { return request(axios, basePath); });
|
|
2329
1720
|
},
|
|
2330
1721
|
/**
|
|
2331
|
-
*
|
|
2332
|
-
* @
|
|
2333
|
-
* @param {
|
|
1722
|
+
* Update Account Password
|
|
1723
|
+
* @summary Update Account Password
|
|
1724
|
+
* @param {string} token Verification Token
|
|
1725
|
+
* @param {PatchUpdateAccountContactPasswordRequest} [patchUpdateAccountContactPasswordRequest] New account request
|
|
2334
1726
|
* @param {*} [options] Override http request option.
|
|
2335
1727
|
* @throws {RequiredError}
|
|
2336
1728
|
*/
|
|
2337
|
-
|
|
2338
|
-
return localVarFp.
|
|
1729
|
+
patchUpdateAccountContactPassword: function (token, patchUpdateAccountContactPasswordRequest, options) {
|
|
1730
|
+
return localVarFp.patchUpdateAccountContactPassword(token, patchUpdateAccountContactPasswordRequest, options).then(function (request) { return request(axios, basePath); });
|
|
2339
1731
|
},
|
|
2340
1732
|
/**
|
|
2341
|
-
*
|
|
2342
|
-
* @
|
|
1733
|
+
* Add Account Contacts
|
|
1734
|
+
* @summary Add Account Contact
|
|
1735
|
+
* @param {AccountContactRequestModel} [accountContactRequestModel] New account request
|
|
2343
1736
|
* @param {*} [options] Override http request option.
|
|
2344
1737
|
* @throws {RequiredError}
|
|
2345
1738
|
*/
|
|
2346
|
-
|
|
2347
|
-
return localVarFp.
|
|
1739
|
+
postGetAccountContacts: function (accountContactRequestModel, options) {
|
|
1740
|
+
return localVarFp.postGetAccountContacts(accountContactRequestModel, options).then(function (request) { return request(axios, basePath); });
|
|
2348
1741
|
},
|
|
2349
1742
|
/**
|
|
2350
|
-
*
|
|
2351
|
-
* @
|
|
2352
|
-
* @param {
|
|
1743
|
+
* Create new customer account
|
|
1744
|
+
* @summary Create a new customer account
|
|
1745
|
+
* @param {AccountRequestModel} [accountRequestModel] New account request
|
|
2353
1746
|
* @param {*} [options] Override http request option.
|
|
2354
1747
|
* @throws {RequiredError}
|
|
2355
1748
|
*/
|
|
2356
|
-
|
|
2357
|
-
return localVarFp.
|
|
1749
|
+
postGetAccounts: function (accountRequestModel, options) {
|
|
1750
|
+
return localVarFp.postGetAccounts(accountRequestModel, options).then(function (request) { return request(axios, basePath); });
|
|
2358
1751
|
},
|
|
2359
1752
|
/**
|
|
2360
|
-
*
|
|
2361
|
-
* @
|
|
2362
|
-
* @param {PatchUpdateAccountCompanyNumberRequest} [patchUpdateAccountCompanyNumberRequest] Account Company Number Request
|
|
1753
|
+
* Get Admin Account
|
|
1754
|
+
* @summary Get Admin Account
|
|
2363
1755
|
* @param {*} [options] Override http request option.
|
|
2364
1756
|
* @throws {RequiredError}
|
|
2365
1757
|
*/
|
|
2366
|
-
|
|
2367
|
-
return localVarFp.
|
|
2368
|
-
},
|
|
2369
|
-
/**
|
|
2370
|
-
* Update Account Password
|
|
2371
|
-
* @summary Update Account Password
|
|
2372
|
-
* @param {string} token Verification Token
|
|
2373
|
-
* @param {PatchUpdateAccountContactPasswordRequest} [patchUpdateAccountContactPasswordRequest] New account request
|
|
2374
|
-
* @param {*} [options] Override http request option.
|
|
2375
|
-
* @throws {RequiredError}
|
|
2376
|
-
*/
|
|
2377
|
-
patchUpdateAccountContactPassword: function (token, patchUpdateAccountContactPasswordRequest, options) {
|
|
2378
|
-
return localVarFp.patchUpdateAccountContactPassword(token, patchUpdateAccountContactPasswordRequest, options).then(function (request) { return request(axios, basePath); });
|
|
2379
|
-
},
|
|
2380
|
-
/**
|
|
2381
|
-
* Set Account Phone
|
|
2382
|
-
* @param {string} id Xero ID
|
|
2383
|
-
* @param {PatchUpdateAccountPhoneRequest} [patchUpdateAccountPhoneRequest] Telephone Request
|
|
2384
|
-
* @param {*} [options] Override http request option.
|
|
2385
|
-
* @throws {RequiredError}
|
|
2386
|
-
*/
|
|
2387
|
-
patchUpdateAccountPhone: function (id, patchUpdateAccountPhoneRequest, options) {
|
|
2388
|
-
return localVarFp.patchUpdateAccountPhone(id, patchUpdateAccountPhoneRequest, options).then(function (request) { return request(axios, basePath); });
|
|
2389
|
-
},
|
|
2390
|
-
/**
|
|
2391
|
-
* Set Account VAT Number
|
|
2392
|
-
* @param {string} id Xero ID
|
|
2393
|
-
* @param {PatchUpdateAccountVatNumberRequest} [patchUpdateAccountVatNumberRequest] VAT Number Request
|
|
2394
|
-
* @param {*} [options] Override http request option.
|
|
2395
|
-
* @throws {RequiredError}
|
|
2396
|
-
*/
|
|
2397
|
-
patchUpdateAccountVatNumber: function (id, patchUpdateAccountVatNumberRequest, options) {
|
|
2398
|
-
return localVarFp.patchUpdateAccountVatNumber(id, patchUpdateAccountVatNumberRequest, options).then(function (request) { return request(axios, basePath); });
|
|
2399
|
-
},
|
|
2400
|
-
/**
|
|
2401
|
-
* Add Account Contacts
|
|
2402
|
-
* @summary Add Account Contact
|
|
2403
|
-
* @param {AccountContactRequestModel} [accountContactRequestModel] New account request
|
|
2404
|
-
* @param {*} [options] Override http request option.
|
|
2405
|
-
* @throws {RequiredError}
|
|
2406
|
-
*/
|
|
2407
|
-
postGetAccountContacts: function (accountContactRequestModel, options) {
|
|
2408
|
-
return localVarFp.postGetAccountContacts(accountContactRequestModel, options).then(function (request) { return request(axios, basePath); });
|
|
2409
|
-
},
|
|
2410
|
-
/**
|
|
2411
|
-
* Create new customer account
|
|
2412
|
-
* @summary Create a new customer account
|
|
2413
|
-
* @param {AccountRequestModel} [accountRequestModel] New account request
|
|
2414
|
-
* @param {*} [options] Override http request option.
|
|
2415
|
-
* @throws {RequiredError}
|
|
2416
|
-
*/
|
|
2417
|
-
postGetAccounts: function (accountRequestModel, options) {
|
|
2418
|
-
return localVarFp.postGetAccounts(accountRequestModel, options).then(function (request) { return request(axios, basePath); });
|
|
2419
|
-
},
|
|
2420
|
-
/**
|
|
2421
|
-
* Get Admin Account
|
|
2422
|
-
* @summary Get Admin Account
|
|
2423
|
-
* @param {*} [options] Override http request option.
|
|
2424
|
-
* @throws {RequiredError}
|
|
2425
|
-
*/
|
|
2426
|
-
postGetAdminAccount: function (options) {
|
|
2427
|
-
return localVarFp.postGetAdminAccount(options).then(function (request) { return request(axios, basePath); });
|
|
1758
|
+
postGetAdminAccount: function (options) {
|
|
1759
|
+
return localVarFp.postGetAdminAccount(options).then(function (request) { return request(axios, basePath); });
|
|
2428
1760
|
},
|
|
2429
1761
|
/**
|
|
2430
1762
|
* Create client credentials
|
|
@@ -2456,16 +1788,6 @@ var AccountsApiFactory = function (configuration, basePath, axios) {
|
|
|
2456
1788
|
postSendPasswordReset: function (email, options) {
|
|
2457
1789
|
return localVarFp.postSendPasswordReset(email, options).then(function (request) { return request(axios, basePath); });
|
|
2458
1790
|
},
|
|
2459
|
-
/**
|
|
2460
|
-
* Send Account Welcome Email
|
|
2461
|
-
* @param {string} id Xero ID
|
|
2462
|
-
* @param {PostSendWelcomeEmailRequest} [postSendWelcomeEmailRequest] Email Request
|
|
2463
|
-
* @param {*} [options] Override http request option.
|
|
2464
|
-
* @throws {RequiredError}
|
|
2465
|
-
*/
|
|
2466
|
-
postSendWelcomeEmail: function (id, postSendWelcomeEmailRequest, options) {
|
|
2467
|
-
return localVarFp.postSendWelcomeEmail(id, postSendWelcomeEmailRequest, options).then(function (request) { return request(axios, basePath); });
|
|
2468
|
-
},
|
|
2469
1791
|
/**
|
|
2470
1792
|
* Submit reseller application
|
|
2471
1793
|
* @summary Submit reseller application
|
|
@@ -2489,26 +1811,6 @@ var AccountsApiFactory = function (configuration, basePath, axios) {
|
|
|
2489
1811
|
putUpdateAccountContact: function (email, accountContactRequestModel, options) {
|
|
2490
1812
|
return localVarFp.putUpdateAccountContact(email, accountContactRequestModel, options).then(function (request) { return request(axios, basePath); });
|
|
2491
1813
|
},
|
|
2492
|
-
/**
|
|
2493
|
-
* Update Account Billing Address
|
|
2494
|
-
* @param {string} id Xero ID
|
|
2495
|
-
* @param {AddressDTO} [addressDTO] Updated Billing Address
|
|
2496
|
-
* @param {*} [options] Override http request option.
|
|
2497
|
-
* @throws {RequiredError}
|
|
2498
|
-
*/
|
|
2499
|
-
putUpdateBillingAddress: function (id, addressDTO, options) {
|
|
2500
|
-
return localVarFp.putUpdateBillingAddress(id, addressDTO, options).then(function (request) { return request(axios, basePath); });
|
|
2501
|
-
},
|
|
2502
|
-
/**
|
|
2503
|
-
* Update Account Shipping Address
|
|
2504
|
-
* @param {string} id Xero ID
|
|
2505
|
-
* @param {AddressDTO} [addressDTO] Updated Shipping Address
|
|
2506
|
-
* @param {*} [options] Override http request option.
|
|
2507
|
-
* @throws {RequiredError}
|
|
2508
|
-
*/
|
|
2509
|
-
putUpdateShippingAddress: function (id, addressDTO, options) {
|
|
2510
|
-
return localVarFp.putUpdateShippingAddress(id, addressDTO, options).then(function (request) { return request(axios, basePath); });
|
|
2511
|
-
},
|
|
2512
1814
|
};
|
|
2513
1815
|
};
|
|
2514
1816
|
exports.AccountsApiFactory = AccountsApiFactory;
|
|
@@ -2574,16 +1876,6 @@ var AccountsApi = /** @class */ (function (_super) {
|
|
|
2574
1876
|
var _this = this;
|
|
2575
1877
|
return (0, exports.AccountsApiFp)(this.configuration).getGetAccountDetailedSummary(id, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
2576
1878
|
};
|
|
2577
|
-
/**
|
|
2578
|
-
* Get Account Page Details
|
|
2579
|
-
* @param {string} id Xero ID
|
|
2580
|
-
* @param {*} [options] Override http request option.
|
|
2581
|
-
* @throws {RequiredError}
|
|
2582
|
-
*/
|
|
2583
|
-
AccountsApi.prototype.getGetAccountPageInfo = function (id, options) {
|
|
2584
|
-
var _this = this;
|
|
2585
|
-
return (0, exports.AccountsApiFp)(this.configuration).getGetAccountPageInfo(id, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
2586
|
-
};
|
|
2587
1879
|
/**
|
|
2588
1880
|
* Get Accounts
|
|
2589
1881
|
* @summary Get Accounts
|
|
@@ -2629,59 +1921,15 @@ var AccountsApi = /** @class */ (function (_super) {
|
|
|
2629
1921
|
var _this = this;
|
|
2630
1922
|
return (0, exports.AccountsApiFp)(this.configuration).getVerifyEmailAddress(token, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
2631
1923
|
};
|
|
2632
|
-
/**
|
|
2633
|
-
* Set Account Portal Access
|
|
2634
|
-
* @param {string} id Xero ID
|
|
2635
|
-
* @param {PatchSetPortalAccessStateEnum} state Portal Access State
|
|
2636
|
-
* @param {*} [options] Override http request option.
|
|
2637
|
-
* @throws {RequiredError}
|
|
2638
|
-
*/
|
|
2639
|
-
AccountsApi.prototype.patchSetPortalAccess = function (id, state, options) {
|
|
2640
|
-
var _this = this;
|
|
2641
|
-
return (0, exports.AccountsApiFp)(this.configuration).patchSetPortalAccess(id, state, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
2642
|
-
};
|
|
2643
|
-
/**
|
|
2644
|
-
* Set Account Prize Promo
|
|
2645
|
-
* @param {string} id Xero ID
|
|
2646
|
-
* @param {PatchSetPrizePromoStateEnum} state Prize Promo State
|
|
2647
|
-
* @param {*} [options] Override http request option.
|
|
2648
|
-
* @throws {RequiredError}
|
|
2649
|
-
*/
|
|
2650
|
-
AccountsApi.prototype.patchSetPrizePromo = function (id, state, options) {
|
|
2651
|
-
var _this = this;
|
|
2652
|
-
return (0, exports.AccountsApiFp)(this.configuration).patchSetPrizePromo(id, state, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
2653
|
-
};
|
|
2654
1924
|
/**
|
|
2655
1925
|
* Set 3CX Wizard CNAME
|
|
2656
|
-
* @param {
|
|
2657
|
-
* @param {*} [options] Override http request option.
|
|
2658
|
-
* @throws {RequiredError}
|
|
2659
|
-
*/
|
|
2660
|
-
AccountsApi.prototype.patchSetTcxWizardCname = function (patchUpdateAccountCnameRequest, options) {
|
|
2661
|
-
var _this = this;
|
|
2662
|
-
return (0, exports.AccountsApiFp)(this.configuration).patchSetTcxWizardCname(patchUpdateAccountCnameRequest, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
2663
|
-
};
|
|
2664
|
-
/**
|
|
2665
|
-
* Set Account CNAME
|
|
2666
|
-
* @param {string} id Xero ID
|
|
2667
|
-
* @param {PatchUpdateAccountCnameRequest} [patchUpdateAccountCnameRequest] CNAME Request
|
|
2668
|
-
* @param {*} [options] Override http request option.
|
|
2669
|
-
* @throws {RequiredError}
|
|
2670
|
-
*/
|
|
2671
|
-
AccountsApi.prototype.patchUpdateAccountCname = function (id, patchUpdateAccountCnameRequest, options) {
|
|
2672
|
-
var _this = this;
|
|
2673
|
-
return (0, exports.AccountsApiFp)(this.configuration).patchUpdateAccountCname(id, patchUpdateAccountCnameRequest, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
2674
|
-
};
|
|
2675
|
-
/**
|
|
2676
|
-
* Set Account Company Number
|
|
2677
|
-
* @param {string} id Xero ID
|
|
2678
|
-
* @param {PatchUpdateAccountCompanyNumberRequest} [patchUpdateAccountCompanyNumberRequest] Account Company Number Request
|
|
1926
|
+
* @param {PatchSetTcxWizardCnameRequest} [patchSetTcxWizardCnameRequest] CNAME Request
|
|
2679
1927
|
* @param {*} [options] Override http request option.
|
|
2680
1928
|
* @throws {RequiredError}
|
|
2681
1929
|
*/
|
|
2682
|
-
AccountsApi.prototype.
|
|
1930
|
+
AccountsApi.prototype.patchSetTcxWizardCname = function (patchSetTcxWizardCnameRequest, options) {
|
|
2683
1931
|
var _this = this;
|
|
2684
|
-
return (0, exports.AccountsApiFp)(this.configuration).
|
|
1932
|
+
return (0, exports.AccountsApiFp)(this.configuration).patchSetTcxWizardCname(patchSetTcxWizardCnameRequest, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
2685
1933
|
};
|
|
2686
1934
|
/**
|
|
2687
1935
|
* Update Account Password
|
|
@@ -2695,28 +1943,6 @@ var AccountsApi = /** @class */ (function (_super) {
|
|
|
2695
1943
|
var _this = this;
|
|
2696
1944
|
return (0, exports.AccountsApiFp)(this.configuration).patchUpdateAccountContactPassword(token, patchUpdateAccountContactPasswordRequest, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
2697
1945
|
};
|
|
2698
|
-
/**
|
|
2699
|
-
* Set Account Phone
|
|
2700
|
-
* @param {string} id Xero ID
|
|
2701
|
-
* @param {PatchUpdateAccountPhoneRequest} [patchUpdateAccountPhoneRequest] Telephone Request
|
|
2702
|
-
* @param {*} [options] Override http request option.
|
|
2703
|
-
* @throws {RequiredError}
|
|
2704
|
-
*/
|
|
2705
|
-
AccountsApi.prototype.patchUpdateAccountPhone = function (id, patchUpdateAccountPhoneRequest, options) {
|
|
2706
|
-
var _this = this;
|
|
2707
|
-
return (0, exports.AccountsApiFp)(this.configuration).patchUpdateAccountPhone(id, patchUpdateAccountPhoneRequest, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
2708
|
-
};
|
|
2709
|
-
/**
|
|
2710
|
-
* Set Account VAT Number
|
|
2711
|
-
* @param {string} id Xero ID
|
|
2712
|
-
* @param {PatchUpdateAccountVatNumberRequest} [patchUpdateAccountVatNumberRequest] VAT Number Request
|
|
2713
|
-
* @param {*} [options] Override http request option.
|
|
2714
|
-
* @throws {RequiredError}
|
|
2715
|
-
*/
|
|
2716
|
-
AccountsApi.prototype.patchUpdateAccountVatNumber = function (id, patchUpdateAccountVatNumberRequest, options) {
|
|
2717
|
-
var _this = this;
|
|
2718
|
-
return (0, exports.AccountsApiFp)(this.configuration).patchUpdateAccountVatNumber(id, patchUpdateAccountVatNumberRequest, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
2719
|
-
};
|
|
2720
1946
|
/**
|
|
2721
1947
|
* Add Account Contacts
|
|
2722
1948
|
* @summary Add Account Contact
|
|
@@ -2782,17 +2008,6 @@ var AccountsApi = /** @class */ (function (_super) {
|
|
|
2782
2008
|
var _this = this;
|
|
2783
2009
|
return (0, exports.AccountsApiFp)(this.configuration).postSendPasswordReset(email, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
2784
2010
|
};
|
|
2785
|
-
/**
|
|
2786
|
-
* Send Account Welcome Email
|
|
2787
|
-
* @param {string} id Xero ID
|
|
2788
|
-
* @param {PostSendWelcomeEmailRequest} [postSendWelcomeEmailRequest] Email Request
|
|
2789
|
-
* @param {*} [options] Override http request option.
|
|
2790
|
-
* @throws {RequiredError}
|
|
2791
|
-
*/
|
|
2792
|
-
AccountsApi.prototype.postSendWelcomeEmail = function (id, postSendWelcomeEmailRequest, options) {
|
|
2793
|
-
var _this = this;
|
|
2794
|
-
return (0, exports.AccountsApiFp)(this.configuration).postSendWelcomeEmail(id, postSendWelcomeEmailRequest, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
2795
|
-
};
|
|
2796
2011
|
/**
|
|
2797
2012
|
* Submit reseller application
|
|
2798
2013
|
* @summary Submit reseller application
|
|
@@ -2818,39 +2033,9 @@ var AccountsApi = /** @class */ (function (_super) {
|
|
|
2818
2033
|
var _this = this;
|
|
2819
2034
|
return (0, exports.AccountsApiFp)(this.configuration).putUpdateAccountContact(email, accountContactRequestModel, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
2820
2035
|
};
|
|
2821
|
-
/**
|
|
2822
|
-
* Update Account Billing Address
|
|
2823
|
-
* @param {string} id Xero ID
|
|
2824
|
-
* @param {AddressDTO} [addressDTO] Updated Billing Address
|
|
2825
|
-
* @param {*} [options] Override http request option.
|
|
2826
|
-
* @throws {RequiredError}
|
|
2827
|
-
*/
|
|
2828
|
-
AccountsApi.prototype.putUpdateBillingAddress = function (id, addressDTO, options) {
|
|
2829
|
-
var _this = this;
|
|
2830
|
-
return (0, exports.AccountsApiFp)(this.configuration).putUpdateBillingAddress(id, addressDTO, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
2831
|
-
};
|
|
2832
|
-
/**
|
|
2833
|
-
* Update Account Shipping Address
|
|
2834
|
-
* @param {string} id Xero ID
|
|
2835
|
-
* @param {AddressDTO} [addressDTO] Updated Shipping Address
|
|
2836
|
-
* @param {*} [options] Override http request option.
|
|
2837
|
-
* @throws {RequiredError}
|
|
2838
|
-
*/
|
|
2839
|
-
AccountsApi.prototype.putUpdateShippingAddress = function (id, addressDTO, options) {
|
|
2840
|
-
var _this = this;
|
|
2841
|
-
return (0, exports.AccountsApiFp)(this.configuration).putUpdateShippingAddress(id, addressDTO, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
2842
|
-
};
|
|
2843
2036
|
return AccountsApi;
|
|
2844
2037
|
}(base_1.BaseAPI));
|
|
2845
2038
|
exports.AccountsApi = AccountsApi;
|
|
2846
|
-
exports.PatchSetPortalAccessStateEnum = {
|
|
2847
|
-
Enable: 'enable',
|
|
2848
|
-
Disable: 'disable'
|
|
2849
|
-
};
|
|
2850
|
-
exports.PatchSetPrizePromoStateEnum = {
|
|
2851
|
-
Enable: 'enable',
|
|
2852
|
-
Disable: 'disable'
|
|
2853
|
-
};
|
|
2854
2039
|
/**
|
|
2855
2040
|
* CRMApi - axios parameter creator
|
|
2856
2041
|
*/
|
|
@@ -3433,7 +2618,7 @@ var Class3CXInstallationWizardApiAxiosParamCreator = function (configuration) {
|
|
|
3433
2618
|
// verify required parameter 'id' is not null or undefined
|
|
3434
2619
|
(0, common_1.assertParamExists)('getGetDdisTcxWizard', 'id', id);
|
|
3435
2620
|
localVarPath = "/tcx/wizards/sip/trunks/{id}/ddis"
|
|
3436
|
-
.replace(
|
|
2621
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
3437
2622
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
3438
2623
|
if (configuration) {
|
|
3439
2624
|
baseOptions = configuration.baseOptions;
|
|
@@ -3662,7 +2847,7 @@ var Class3CXInstallationWizardApiAxiosParamCreator = function (configuration) {
|
|
|
3662
2847
|
// verify required parameter 'id' is not null or undefined
|
|
3663
2848
|
(0, common_1.assertParamExists)('getGetSipTrunkTcxWizard', 'id', id);
|
|
3664
2849
|
localVarPath = "/tcx/wizards/sip/trunks/{id}"
|
|
3665
|
-
.replace(
|
|
2850
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
3666
2851
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
3667
2852
|
if (configuration) {
|
|
3668
2853
|
baseOptions = configuration.baseOptions;
|
|
@@ -4300,7 +3485,7 @@ var Class3CXInstallationWizardApiAxiosParamCreator = function (configuration) {
|
|
|
4300
3485
|
// verify required parameter 'id' is not null or undefined
|
|
4301
3486
|
(0, common_1.assertParamExists)('postGetDdisTcxWizard', 'id', id);
|
|
4302
3487
|
localVarPath = "/tcx/wizards/sip/trunks/{id}/ddis"
|
|
4303
|
-
.replace(
|
|
3488
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
4304
3489
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
4305
3490
|
if (configuration) {
|
|
4306
3491
|
baseOptions = configuration.baseOptions;
|
|
@@ -6039,7 +5224,7 @@ var Class3CXInstallationsApiAxiosParamCreator = function (configuration) {
|
|
|
6039
5224
|
// verify required parameter 'wizardId' is not null or undefined
|
|
6040
5225
|
(0, common_1.assertParamExists)('getGetDetails', 'wizardId', wizardId);
|
|
6041
5226
|
localVarPath = "/tcx/installations/{wizard_id}/details"
|
|
6042
|
-
.replace(
|
|
5227
|
+
.replace('{wizard_id}', encodeURIComponent(String(wizardId)));
|
|
6043
5228
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
6044
5229
|
if (configuration) {
|
|
6045
5230
|
baseOptions = configuration.baseOptions;
|
|
@@ -6142,7 +5327,7 @@ var Class3CXInstallationsApiAxiosParamCreator = function (configuration) {
|
|
|
6142
5327
|
// verify required parameter 'customerId' is not null or undefined
|
|
6143
5328
|
(0, common_1.assertParamExists)('patchChangeInstanceOwner', 'customerId', customerId);
|
|
6144
5329
|
localVarPath = "/tcx/installations/{instance_id}/owner"
|
|
6145
|
-
.replace(
|
|
5330
|
+
.replace('{instance_id}', encodeURIComponent(String(instanceId)));
|
|
6146
5331
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
6147
5332
|
if (configuration) {
|
|
6148
5333
|
baseOptions = configuration.baseOptions;
|
|
@@ -6185,7 +5370,7 @@ var Class3CXInstallationsApiAxiosParamCreator = function (configuration) {
|
|
|
6185
5370
|
// verify required parameter 'enable' is not null or undefined
|
|
6186
5371
|
(0, common_1.assertParamExists)('patchUpdateAutoFailover', 'enable', enable);
|
|
6187
5372
|
localVarPath = "/tcx/installations/{instance_id}/failover/auto"
|
|
6188
|
-
.replace(
|
|
5373
|
+
.replace('{instance_id}', encodeURIComponent(String(instanceId)));
|
|
6189
5374
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
6190
5375
|
if (configuration) {
|
|
6191
5376
|
baseOptions = configuration.baseOptions;
|
|
@@ -6228,7 +5413,7 @@ var Class3CXInstallationsApiAxiosParamCreator = function (configuration) {
|
|
|
6228
5413
|
// verify required parameter 'gigabytes' is not null or undefined
|
|
6229
5414
|
(0, common_1.assertParamExists)('postAddDisk', 'gigabytes', gigabytes);
|
|
6230
5415
|
localVarPath = "/tcx/installations/{instance_id}/disk"
|
|
6231
|
-
.replace(
|
|
5416
|
+
.replace('{instance_id}', encodeURIComponent(String(instanceId)));
|
|
6232
5417
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
6233
5418
|
if (configuration) {
|
|
6234
5419
|
baseOptions = configuration.baseOptions;
|
|
@@ -6274,7 +5459,7 @@ var Class3CXInstallationsApiAxiosParamCreator = function (configuration) {
|
|
|
6274
5459
|
// verify required parameter 'ipAddress' is not null or undefined
|
|
6275
5460
|
(0, common_1.assertParamExists)('postCreateSshUser', 'ipAddress', ipAddress);
|
|
6276
5461
|
localVarPath = "/tcx/installations/{instance_id}/create/user/root"
|
|
6277
|
-
.replace(
|
|
5462
|
+
.replace('{instance_id}', encodeURIComponent(String(instanceId)));
|
|
6278
5463
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
6279
5464
|
if (configuration) {
|
|
6280
5465
|
baseOptions = configuration.baseOptions;
|
|
@@ -6318,7 +5503,7 @@ var Class3CXInstallationsApiAxiosParamCreator = function (configuration) {
|
|
|
6318
5503
|
// verify required parameter 'instanceId' is not null or undefined
|
|
6319
5504
|
(0, common_1.assertParamExists)('postDeleteInstance', 'instanceId', instanceId);
|
|
6320
5505
|
localVarPath = "/tcx/installations/{instance_id}/delete"
|
|
6321
|
-
.replace(
|
|
5506
|
+
.replace('{instance_id}', encodeURIComponent(String(instanceId)));
|
|
6322
5507
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
6323
5508
|
if (configuration) {
|
|
6324
5509
|
baseOptions = configuration.baseOptions;
|
|
@@ -6359,7 +5544,7 @@ var Class3CXInstallationsApiAxiosParamCreator = function (configuration) {
|
|
|
6359
5544
|
// verify required parameter 'gigabytes' is not null or undefined
|
|
6360
5545
|
(0, common_1.assertParamExists)('postExtendDisk', 'gigabytes', gigabytes);
|
|
6361
5546
|
localVarPath = "/tcx/installations/{instance_id}/disk/extend"
|
|
6362
|
-
.replace(
|
|
5547
|
+
.replace('{instance_id}', encodeURIComponent(String(instanceId)));
|
|
6363
5548
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
6364
5549
|
if (configuration) {
|
|
6365
5550
|
baseOptions = configuration.baseOptions;
|
|
@@ -6405,7 +5590,7 @@ var Class3CXInstallationsApiAxiosParamCreator = function (configuration) {
|
|
|
6405
5590
|
// verify required parameter 'type' is not null or undefined
|
|
6406
5591
|
(0, common_1.assertParamExists)('postFailoverInstance', 'type', type);
|
|
6407
5592
|
localVarPath = "/tcx/installations/{instance_id}/failover"
|
|
6408
|
-
.replace(
|
|
5593
|
+
.replace('{instance_id}', encodeURIComponent(String(instanceId)));
|
|
6409
5594
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
6410
5595
|
if (configuration) {
|
|
6411
5596
|
baseOptions = configuration.baseOptions;
|
|
@@ -6445,7 +5630,7 @@ var Class3CXInstallationsApiAxiosParamCreator = function (configuration) {
|
|
|
6445
5630
|
// verify required parameter 'sbcId' is not null or undefined
|
|
6446
5631
|
(0, common_1.assertParamExists)('postInstallTcxSbc', 'sbcId', sbcId);
|
|
6447
5632
|
localVarPath = "/tcx/installations/sbcs/{sbc_id}/install"
|
|
6448
|
-
.replace(
|
|
5633
|
+
.replace('{sbc_id}', encodeURIComponent(String(sbcId)));
|
|
6449
5634
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
6450
5635
|
if (configuration) {
|
|
6451
5636
|
baseOptions = configuration.baseOptions;
|
|
@@ -6483,7 +5668,7 @@ var Class3CXInstallationsApiAxiosParamCreator = function (configuration) {
|
|
|
6483
5668
|
// verify required parameter 'instanceId' is not null or undefined
|
|
6484
5669
|
(0, common_1.assertParamExists)('postRebootInstance', 'instanceId', instanceId);
|
|
6485
5670
|
localVarPath = "/tcx/installations/{instance_id}/reboot"
|
|
6486
|
-
.replace(
|
|
5671
|
+
.replace('{instance_id}', encodeURIComponent(String(instanceId)));
|
|
6487
5672
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
6488
5673
|
if (configuration) {
|
|
6489
5674
|
baseOptions = configuration.baseOptions;
|
|
@@ -6524,7 +5709,7 @@ var Class3CXInstallationsApiAxiosParamCreator = function (configuration) {
|
|
|
6524
5709
|
// verify required parameter 'size' is not null or undefined
|
|
6525
5710
|
(0, common_1.assertParamExists)('postResizeInstance', 'size', size);
|
|
6526
5711
|
localVarPath = "/tcx/installations/{instance_id}/resize"
|
|
6527
|
-
.replace(
|
|
5712
|
+
.replace('{instance_id}', encodeURIComponent(String(instanceId)));
|
|
6528
5713
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
6529
5714
|
if (configuration) {
|
|
6530
5715
|
baseOptions = configuration.baseOptions;
|
|
@@ -6568,7 +5753,7 @@ var Class3CXInstallationsApiAxiosParamCreator = function (configuration) {
|
|
|
6568
5753
|
// verify required parameter 'instanceId' is not null or undefined
|
|
6569
5754
|
(0, common_1.assertParamExists)('postRestartServices', 'instanceId', instanceId);
|
|
6570
5755
|
localVarPath = "/tcx/installations/{instance_id}/services/restart"
|
|
6571
|
-
.replace(
|
|
5756
|
+
.replace('{instance_id}', encodeURIComponent(String(instanceId)));
|
|
6572
5757
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
6573
5758
|
if (configuration) {
|
|
6574
5759
|
baseOptions = configuration.baseOptions;
|
|
@@ -6609,7 +5794,7 @@ var Class3CXInstallationsApiAxiosParamCreator = function (configuration) {
|
|
|
6609
5794
|
// verify required parameter 'instanceId' is not null or undefined
|
|
6610
5795
|
(0, common_1.assertParamExists)('postScheduledReboot', 'instanceId', instanceId);
|
|
6611
5796
|
localVarPath = "/tcx/installations/{instance_id}/reboot/scheduled"
|
|
6612
|
-
.replace(
|
|
5797
|
+
.replace('{instance_id}', encodeURIComponent(String(instanceId)));
|
|
6613
5798
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
6614
5799
|
if (configuration) {
|
|
6615
5800
|
baseOptions = configuration.baseOptions;
|
|
@@ -6650,7 +5835,7 @@ var Class3CXInstallationsApiAxiosParamCreator = function (configuration) {
|
|
|
6650
5835
|
// verify required parameter 'instanceId' is not null or undefined
|
|
6651
5836
|
(0, common_1.assertParamExists)('postSuspendInstance', 'instanceId', instanceId);
|
|
6652
5837
|
localVarPath = "/tcx/installations/{instance_id}/suspend"
|
|
6653
|
-
.replace(
|
|
5838
|
+
.replace('{instance_id}', encodeURIComponent(String(instanceId)));
|
|
6654
5839
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
6655
5840
|
if (configuration) {
|
|
6656
5841
|
baseOptions = configuration.baseOptions;
|
|
@@ -6690,7 +5875,7 @@ var Class3CXInstallationsApiAxiosParamCreator = function (configuration) {
|
|
|
6690
5875
|
// verify required parameter 'instanceId' is not null or undefined
|
|
6691
5876
|
(0, common_1.assertParamExists)('postTestLoginCredentials', 'instanceId', instanceId);
|
|
6692
5877
|
localVarPath = "/tcx/installations/{instance_id}/tests/login"
|
|
6693
|
-
.replace(
|
|
5878
|
+
.replace('{instance_id}', encodeURIComponent(String(instanceId)));
|
|
6694
5879
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
6695
5880
|
if (configuration) {
|
|
6696
5881
|
baseOptions = configuration.baseOptions;
|
|
@@ -6727,7 +5912,7 @@ var Class3CXInstallationsApiAxiosParamCreator = function (configuration) {
|
|
|
6727
5912
|
// verify required parameter 'instanceId' is not null or undefined
|
|
6728
5913
|
(0, common_1.assertParamExists)('postUnsuspendInstance', 'instanceId', instanceId);
|
|
6729
5914
|
localVarPath = "/tcx/installations/{instance_id}/unsuspend"
|
|
6730
|
-
.replace(
|
|
5915
|
+
.replace('{instance_id}', encodeURIComponent(String(instanceId)));
|
|
6731
5916
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
6732
5917
|
if (configuration) {
|
|
6733
5918
|
baseOptions = configuration.baseOptions;
|
|
@@ -6767,7 +5952,7 @@ var Class3CXInstallationsApiAxiosParamCreator = function (configuration) {
|
|
|
6767
5952
|
// verify required parameter 'schedule' is not null or undefined
|
|
6768
5953
|
(0, common_1.assertParamExists)('postUpgradeDebian', 'schedule', schedule);
|
|
6769
5954
|
localVarPath = "/tcx/installations/{instance_id}/debian/upgrade"
|
|
6770
|
-
.replace(
|
|
5955
|
+
.replace('{instance_id}', encodeURIComponent(String(instanceId)));
|
|
6771
5956
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
6772
5957
|
if (configuration) {
|
|
6773
5958
|
baseOptions = configuration.baseOptions;
|
|
@@ -6788,6 +5973,47 @@ var Class3CXInstallationsApiAxiosParamCreator = function (configuration) {
|
|
|
6788
5973
|
});
|
|
6789
5974
|
});
|
|
6790
5975
|
},
|
|
5976
|
+
/**
|
|
5977
|
+
* Update 3CX Installation Details
|
|
5978
|
+
* @summary Update 3CX Installation Details
|
|
5979
|
+
* @param {number} wizardId Wizard ID
|
|
5980
|
+
* @param {InstallationDetailsDTO} [installationDetailsDTO] Installation Details
|
|
5981
|
+
* @param {*} [options] Override http request option.
|
|
5982
|
+
* @throws {RequiredError}
|
|
5983
|
+
*/
|
|
5984
|
+
putGetDetails: function (wizardId_1, installationDetailsDTO_1) {
|
|
5985
|
+
var args_1 = [];
|
|
5986
|
+
for (var _i = 2; _i < arguments.length; _i++) {
|
|
5987
|
+
args_1[_i - 2] = arguments[_i];
|
|
5988
|
+
}
|
|
5989
|
+
return __awaiter(_this, __spreadArray([wizardId_1, installationDetailsDTO_1], args_1, true), void 0, function (wizardId, installationDetailsDTO, options) {
|
|
5990
|
+
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
5991
|
+
if (options === void 0) { options = {}; }
|
|
5992
|
+
return __generator(this, function (_a) {
|
|
5993
|
+
// verify required parameter 'wizardId' is not null or undefined
|
|
5994
|
+
(0, common_1.assertParamExists)('putGetDetails', 'wizardId', wizardId);
|
|
5995
|
+
localVarPath = "/tcx/installations/{wizard_id}/details"
|
|
5996
|
+
.replace('{wizard_id}', encodeURIComponent(String(wizardId)));
|
|
5997
|
+
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
5998
|
+
if (configuration) {
|
|
5999
|
+
baseOptions = configuration.baseOptions;
|
|
6000
|
+
}
|
|
6001
|
+
localVarRequestOptions = __assign(__assign({ method: 'PUT' }, baseOptions), options);
|
|
6002
|
+
localVarHeaderParameter = {};
|
|
6003
|
+
localVarQueryParameter = {};
|
|
6004
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
6005
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
6006
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
6007
|
+
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
6008
|
+
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
6009
|
+
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(installationDetailsDTO, localVarRequestOptions, configuration);
|
|
6010
|
+
return [2 /*return*/, {
|
|
6011
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
6012
|
+
options: localVarRequestOptions,
|
|
6013
|
+
}];
|
|
6014
|
+
});
|
|
6015
|
+
});
|
|
6016
|
+
},
|
|
6791
6017
|
};
|
|
6792
6018
|
};
|
|
6793
6019
|
exports.Class3CXInstallationsApiAxiosParamCreator = Class3CXInstallationsApiAxiosParamCreator;
|
|
@@ -7231,6 +6457,30 @@ var Class3CXInstallationsApiFp = function (configuration) {
|
|
|
7231
6457
|
});
|
|
7232
6458
|
});
|
|
7233
6459
|
},
|
|
6460
|
+
/**
|
|
6461
|
+
* Update 3CX Installation Details
|
|
6462
|
+
* @summary Update 3CX Installation Details
|
|
6463
|
+
* @param {number} wizardId Wizard ID
|
|
6464
|
+
* @param {InstallationDetailsDTO} [installationDetailsDTO] Installation Details
|
|
6465
|
+
* @param {*} [options] Override http request option.
|
|
6466
|
+
* @throws {RequiredError}
|
|
6467
|
+
*/
|
|
6468
|
+
putGetDetails: function (wizardId, installationDetailsDTO, options) {
|
|
6469
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
6470
|
+
var localVarAxiosArgs, localVarOperationServerIndex, localVarOperationServerBasePath;
|
|
6471
|
+
var _a, _b, _c;
|
|
6472
|
+
return __generator(this, function (_d) {
|
|
6473
|
+
switch (_d.label) {
|
|
6474
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.putGetDetails(wizardId, installationDetailsDTO, options)];
|
|
6475
|
+
case 1:
|
|
6476
|
+
localVarAxiosArgs = _d.sent();
|
|
6477
|
+
localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
6478
|
+
localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['Class3CXInstallationsApi.putGetDetails']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
6479
|
+
return [2 /*return*/, function (axios, basePath) { return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath); }];
|
|
6480
|
+
}
|
|
6481
|
+
});
|
|
6482
|
+
});
|
|
6483
|
+
},
|
|
7234
6484
|
};
|
|
7235
6485
|
};
|
|
7236
6486
|
exports.Class3CXInstallationsApiFp = Class3CXInstallationsApiFp;
|
|
@@ -7440,6 +6690,17 @@ var Class3CXInstallationsApiFactory = function (configuration, basePath, axios)
|
|
|
7440
6690
|
postUpgradeDebian: function (instanceId, schedule, options) {
|
|
7441
6691
|
return localVarFp.postUpgradeDebian(instanceId, schedule, options).then(function (request) { return request(axios, basePath); });
|
|
7442
6692
|
},
|
|
6693
|
+
/**
|
|
6694
|
+
* Update 3CX Installation Details
|
|
6695
|
+
* @summary Update 3CX Installation Details
|
|
6696
|
+
* @param {number} wizardId Wizard ID
|
|
6697
|
+
* @param {InstallationDetailsDTO} [installationDetailsDTO] Installation Details
|
|
6698
|
+
* @param {*} [options] Override http request option.
|
|
6699
|
+
* @throws {RequiredError}
|
|
6700
|
+
*/
|
|
6701
|
+
putGetDetails: function (wizardId, installationDetailsDTO, options) {
|
|
6702
|
+
return localVarFp.putGetDetails(wizardId, installationDetailsDTO, options).then(function (request) { return request(axios, basePath); });
|
|
6703
|
+
},
|
|
7443
6704
|
};
|
|
7444
6705
|
};
|
|
7445
6706
|
exports.Class3CXInstallationsApiFactory = Class3CXInstallationsApiFactory;
|
|
@@ -7669,6 +6930,18 @@ var Class3CXInstallationsApi = /** @class */ (function (_super) {
|
|
|
7669
6930
|
var _this = this;
|
|
7670
6931
|
return (0, exports.Class3CXInstallationsApiFp)(this.configuration).postUpgradeDebian(instanceId, schedule, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
7671
6932
|
};
|
|
6933
|
+
/**
|
|
6934
|
+
* Update 3CX Installation Details
|
|
6935
|
+
* @summary Update 3CX Installation Details
|
|
6936
|
+
* @param {number} wizardId Wizard ID
|
|
6937
|
+
* @param {InstallationDetailsDTO} [installationDetailsDTO] Installation Details
|
|
6938
|
+
* @param {*} [options] Override http request option.
|
|
6939
|
+
* @throws {RequiredError}
|
|
6940
|
+
*/
|
|
6941
|
+
Class3CXInstallationsApi.prototype.putGetDetails = function (wizardId, installationDetailsDTO, options) {
|
|
6942
|
+
var _this = this;
|
|
6943
|
+
return (0, exports.Class3CXInstallationsApiFp)(this.configuration).putGetDetails(wizardId, installationDetailsDTO, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
6944
|
+
};
|
|
7672
6945
|
return Class3CXInstallationsApi;
|
|
7673
6946
|
}(base_1.BaseAPI));
|
|
7674
6947
|
exports.Class3CXInstallationsApi = Class3CXInstallationsApi;
|
|
@@ -7676,30 +6949,30 @@ exports.GetGetInstallationsStatusEnum = {
|
|
|
7676
6949
|
Completed: 'Completed',
|
|
7677
6950
|
Outstanding: 'Outstanding',
|
|
7678
6951
|
Offline: 'Offline',
|
|
7679
|
-
FailedOver: 'Failed Over'
|
|
6952
|
+
FailedOver: 'Failed Over',
|
|
7680
6953
|
};
|
|
7681
6954
|
exports.GetGetInstallationsHostingEnum = {
|
|
7682
6955
|
Yellowgrid: 'yellowgrid',
|
|
7683
6956
|
MultiTenant: 'multi-tenant',
|
|
7684
6957
|
Onprem: 'onprem',
|
|
7685
|
-
All: 'all'
|
|
6958
|
+
All: 'all',
|
|
7686
6959
|
};
|
|
7687
6960
|
exports.GetGetInstallationsInstallTypeEnum = {
|
|
7688
6961
|
New: 'new',
|
|
7689
6962
|
Restore: 'restore',
|
|
7690
6963
|
Failover: 'failover',
|
|
7691
|
-
MultiTenant: 'multi-tenant'
|
|
6964
|
+
MultiTenant: 'multi-tenant',
|
|
7692
6965
|
};
|
|
7693
6966
|
exports.PostFailoverInstanceTypeEnum = {
|
|
7694
6967
|
Config: 'config',
|
|
7695
|
-
Image: 'image'
|
|
6968
|
+
Image: 'image',
|
|
7696
6969
|
};
|
|
7697
6970
|
exports.PostResizeInstanceSizeEnum = {
|
|
7698
6971
|
D24: 'd2-4',
|
|
7699
6972
|
D28: 'd2-8',
|
|
7700
6973
|
B230: 'b2-30',
|
|
7701
6974
|
S2vcpu4gb: 's-2vcpu-4gb',
|
|
7702
|
-
S4vcpu8gb: 's-4vcpu-8gb'
|
|
6975
|
+
S4vcpu8gb: 's-4vcpu-8gb',
|
|
7703
6976
|
};
|
|
7704
6977
|
/**
|
|
7705
6978
|
* Class3CXIntegrationsApi - axios parameter creator
|
|
@@ -7854,8 +7127,8 @@ var Class3CXIntegrationsApiAxiosParamCreator = function (configuration) {
|
|
|
7854
7127
|
// verify required parameter 'ref' is not null or undefined
|
|
7855
7128
|
(0, common_1.assertParamExists)('patchUpdateEtpOrderReference', 'ref', ref);
|
|
7856
7129
|
localVarPath = "/tcx/integrations/edtechpro/{clientId}/schools/{schoolId}/orderReference"
|
|
7857
|
-
.replace(
|
|
7858
|
-
.replace(
|
|
7130
|
+
.replace('{clientId}', encodeURIComponent(String(clientId)))
|
|
7131
|
+
.replace('{schoolId}', encodeURIComponent(String(schoolId)));
|
|
7859
7132
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
7860
7133
|
if (configuration) {
|
|
7861
7134
|
baseOptions = configuration.baseOptions;
|
|
@@ -8240,11 +7513,11 @@ var Class3CXIntegrationsApi = /** @class */ (function (_super) {
|
|
|
8240
7513
|
exports.Class3CXIntegrationsApi = Class3CXIntegrationsApi;
|
|
8241
7514
|
exports.GetGetPriceLicenceTypeEnum = {
|
|
8242
7515
|
Lite: 'lite',
|
|
8243
|
-
Pro: 'pro'
|
|
7516
|
+
Pro: 'pro',
|
|
8244
7517
|
};
|
|
8245
7518
|
exports.GetGetPriceSchoolTypeEnum = {
|
|
8246
7519
|
Primary: 'primary',
|
|
8247
|
-
Secondary: 'secondary'
|
|
7520
|
+
Secondary: 'secondary',
|
|
8248
7521
|
};
|
|
8249
7522
|
/**
|
|
8250
7523
|
* Class3CXMultiTenantApi - axios parameter creator
|
|
@@ -8271,7 +7544,7 @@ var Class3CXMultiTenantApiAxiosParamCreator = function (configuration) {
|
|
|
8271
7544
|
// verify required parameter 'reference' is not null or undefined
|
|
8272
7545
|
(0, common_1.assertParamExists)('deleteGetTenant', 'reference', reference);
|
|
8273
7546
|
localVarPath = "/tcx/mt/tenants/{reference}"
|
|
8274
|
-
.replace(
|
|
7547
|
+
.replace('{reference}', encodeURIComponent(String(reference)));
|
|
8275
7548
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
8276
7549
|
if (configuration) {
|
|
8277
7550
|
baseOptions = configuration.baseOptions;
|
|
@@ -8348,7 +7621,7 @@ var Class3CXMultiTenantApiAxiosParamCreator = function (configuration) {
|
|
|
8348
7621
|
// verify required parameter 'reference' is not null or undefined
|
|
8349
7622
|
(0, common_1.assertParamExists)('getGetTenant', 'reference', reference);
|
|
8350
7623
|
localVarPath = "/tcx/mt/tenants/{reference}"
|
|
8351
|
-
.replace(
|
|
7624
|
+
.replace('{reference}', encodeURIComponent(String(reference)));
|
|
8352
7625
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
8353
7626
|
if (configuration) {
|
|
8354
7627
|
baseOptions = configuration.baseOptions;
|
|
@@ -8965,7 +8238,7 @@ exports.GetGetTenantsStatusEnum = {
|
|
|
8965
8238
|
Completed: 'Completed',
|
|
8966
8239
|
Outstanding: 'Outstanding',
|
|
8967
8240
|
Offline: 'Offline',
|
|
8968
|
-
FailedOver: 'Failed Over'
|
|
8241
|
+
FailedOver: 'Failed Over',
|
|
8969
8242
|
};
|
|
8970
8243
|
/**
|
|
8971
8244
|
* MyPBXToolsApi - axios parameter creator
|
|
@@ -9122,7 +8395,7 @@ var NumberPortingApiAxiosParamCreator = function (configuration) {
|
|
|
9122
8395
|
// verify required parameter 'id' is not null or undefined
|
|
9123
8396
|
(0, common_1.assertParamExists)('deleteGetAdminNumberPort', 'id', id);
|
|
9124
8397
|
localVarPath = "/admin/sip/numbers/ports/{id}"
|
|
9125
|
-
.replace(
|
|
8398
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
9126
8399
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
9127
8400
|
if (configuration) {
|
|
9128
8401
|
baseOptions = configuration.baseOptions;
|
|
@@ -9203,7 +8476,7 @@ var NumberPortingApiAxiosParamCreator = function (configuration) {
|
|
|
9203
8476
|
// verify required parameter 'id' is not null or undefined
|
|
9204
8477
|
(0, common_1.assertParamExists)('getGetAdminNumberPort', 'id', id);
|
|
9205
8478
|
localVarPath = "/admin/sip/numbers/ports/{id}"
|
|
9206
|
-
.replace(
|
|
8479
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
9207
8480
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
9208
8481
|
if (configuration) {
|
|
9209
8482
|
baseOptions = configuration.baseOptions;
|
|
@@ -9285,7 +8558,7 @@ var NumberPortingApiAxiosParamCreator = function (configuration) {
|
|
|
9285
8558
|
// verify required parameter 'id' is not null or undefined
|
|
9286
8559
|
(0, common_1.assertParamExists)('getUpdateNumberPort', 'id', id);
|
|
9287
8560
|
localVarPath = "/sip/numbers/ports/{id}"
|
|
9288
|
-
.replace(
|
|
8561
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
9289
8562
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
9290
8563
|
if (configuration) {
|
|
9291
8564
|
baseOptions = configuration.baseOptions;
|
|
@@ -9322,7 +8595,7 @@ var NumberPortingApiAxiosParamCreator = function (configuration) {
|
|
|
9322
8595
|
// verify required parameter 'id' is not null or undefined
|
|
9323
8596
|
(0, common_1.assertParamExists)('patchCancelAdminNumberPort', 'id', id);
|
|
9324
8597
|
localVarPath = "/admin/sip/numbers/ports/{id}/cancel"
|
|
9325
|
-
.replace(
|
|
8598
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
9326
8599
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
9327
8600
|
if (configuration) {
|
|
9328
8601
|
baseOptions = configuration.baseOptions;
|
|
@@ -9359,7 +8632,7 @@ var NumberPortingApiAxiosParamCreator = function (configuration) {
|
|
|
9359
8632
|
// verify required parameter 'id' is not null or undefined
|
|
9360
8633
|
(0, common_1.assertParamExists)('patchCloseAdminNumberPort', 'id', id);
|
|
9361
8634
|
localVarPath = "/admin/sip/numbers/ports/{id}/close"
|
|
9362
|
-
.replace(
|
|
8635
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
9363
8636
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
9364
8637
|
if (configuration) {
|
|
9365
8638
|
baseOptions = configuration.baseOptions;
|
|
@@ -9399,7 +8672,7 @@ var NumberPortingApiAxiosParamCreator = function (configuration) {
|
|
|
9399
8672
|
// verify required parameter 'postAddAdminNoteRequest' is not null or undefined
|
|
9400
8673
|
(0, common_1.assertParamExists)('postAddAdminNote', 'postAddAdminNoteRequest', postAddAdminNoteRequest);
|
|
9401
8674
|
localVarPath = "/admin/sip/numbers/ports/{id}/notes"
|
|
9402
|
-
.replace(
|
|
8675
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
9403
8676
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
9404
8677
|
if (configuration) {
|
|
9405
8678
|
baseOptions = configuration.baseOptions;
|
|
@@ -9534,7 +8807,7 @@ var NumberPortingApiAxiosParamCreator = function (configuration) {
|
|
|
9534
8807
|
// verify required parameter 'id' is not null or undefined
|
|
9535
8808
|
(0, common_1.assertParamExists)('postSubmitNumberPort', 'id', id);
|
|
9536
8809
|
localVarPath = "/sip/numbers/ports/{id}/submit"
|
|
9537
|
-
.replace(
|
|
8810
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
9538
8811
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
9539
8812
|
if (configuration) {
|
|
9540
8813
|
baseOptions = configuration.baseOptions;
|
|
@@ -9622,7 +8895,7 @@ var NumberPortingApiAxiosParamCreator = function (configuration) {
|
|
|
9622
8895
|
// verify required parameter 'id' is not null or undefined
|
|
9623
8896
|
(0, common_1.assertParamExists)('postUpdateNumberPort', 'id', id);
|
|
9624
8897
|
localVarPath = "/sip/numbers/ports/{id}"
|
|
9625
|
-
.replace(
|
|
8898
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
9626
8899
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
9627
8900
|
if (configuration) {
|
|
9628
8901
|
baseOptions = configuration.baseOptions;
|
|
@@ -9701,7 +8974,7 @@ var NumberPortingApiAxiosParamCreator = function (configuration) {
|
|
|
9701
8974
|
// verify required parameter 'numberPortDTO' is not null or undefined
|
|
9702
8975
|
(0, common_1.assertParamExists)('putGetAdminNumberPort', 'numberPortDTO', numberPortDTO);
|
|
9703
8976
|
localVarPath = "/admin/sip/numbers/ports/{id}"
|
|
9704
|
-
.replace(
|
|
8977
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
9705
8978
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
9706
8979
|
if (configuration) {
|
|
9707
8980
|
baseOptions = configuration.baseOptions;
|
|
@@ -11011,7 +10284,7 @@ exports.PostAccessTokenGrantTypeEnum = {
|
|
|
11011
10284
|
AuthorizationCode: 'authorization_code',
|
|
11012
10285
|
MsAuth: 'ms_auth',
|
|
11013
10286
|
TokenExchange: 'token_exchange',
|
|
11014
|
-
Password: 'password'
|
|
10287
|
+
Password: 'password',
|
|
11015
10288
|
};
|
|
11016
10289
|
exports.PostAccessTokenScopeEnum = {
|
|
11017
10290
|
Star: '*',
|
|
@@ -11041,11 +10314,11 @@ exports.PostAccessTokenScopeEnum = {
|
|
|
11041
10314
|
TcxMtRead: 'tcx_mt.read',
|
|
11042
10315
|
TcxMtWrite: 'tcx_mt.write',
|
|
11043
10316
|
TicketsRead: 'tickets.read',
|
|
11044
|
-
TicketsWrite: 'tickets.write'
|
|
10317
|
+
TicketsWrite: 'tickets.write',
|
|
11045
10318
|
};
|
|
11046
10319
|
exports.PostAccessTokenTokenExchangeTypeEnum = {
|
|
11047
10320
|
TcxWizard: 'tcx_wizard',
|
|
11048
|
-
Portal: 'portal'
|
|
10321
|
+
Portal: 'portal',
|
|
11049
10322
|
};
|
|
11050
10323
|
exports.PostAuthoriseScopeEnum = {
|
|
11051
10324
|
Star: '*',
|
|
@@ -11075,7 +10348,7 @@ exports.PostAuthoriseScopeEnum = {
|
|
|
11075
10348
|
TcxMtRead: 'tcx_mt.read',
|
|
11076
10349
|
TcxMtWrite: 'tcx_mt.write',
|
|
11077
10350
|
TicketsRead: 'tickets.read',
|
|
11078
|
-
TicketsWrite: 'tickets.write'
|
|
10351
|
+
TicketsWrite: 'tickets.write',
|
|
11079
10352
|
};
|
|
11080
10353
|
/**
|
|
11081
10354
|
* OrdersApi - axios parameter creator
|
|
@@ -11104,8 +10377,8 @@ var OrdersApiAxiosParamCreator = function (configuration) {
|
|
|
11104
10377
|
// verify required parameter 'batchId' is not null or undefined
|
|
11105
10378
|
(0, common_1.assertParamExists)('deleteDeleteBatch', 'batchId', batchId);
|
|
11106
10379
|
localVarPath = "/admin/orders/{id}/batches/{batch_id}"
|
|
11107
|
-
.replace(
|
|
11108
|
-
.replace(
|
|
10380
|
+
.replace('{id}', encodeURIComponent(String(id)))
|
|
10381
|
+
.replace('{batch_id}', encodeURIComponent(String(batchId)));
|
|
11109
10382
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
11110
10383
|
if (configuration) {
|
|
11111
10384
|
baseOptions = configuration.baseOptions;
|
|
@@ -11142,7 +10415,7 @@ var OrdersApiAxiosParamCreator = function (configuration) {
|
|
|
11142
10415
|
// verify required parameter 'id' is not null or undefined
|
|
11143
10416
|
(0, common_1.assertParamExists)('deleteUpdateOrder', 'id', id);
|
|
11144
10417
|
localVarPath = "/orders/{id}"
|
|
11145
|
-
.replace(
|
|
10418
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
11146
10419
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
11147
10420
|
if (configuration) {
|
|
11148
10421
|
baseOptions = configuration.baseOptions;
|
|
@@ -11185,9 +10458,9 @@ var OrdersApiAxiosParamCreator = function (configuration) {
|
|
|
11185
10458
|
// verify required parameter 'shipmentId' is not null or undefined
|
|
11186
10459
|
(0, common_1.assertParamExists)('deleteUpdateShipment', 'shipmentId', shipmentId);
|
|
11187
10460
|
localVarPath = "/admin/orders/{id}/batches/{batch_id}/shipments/{shipment_id}"
|
|
11188
|
-
.replace(
|
|
11189
|
-
.replace(
|
|
11190
|
-
.replace(
|
|
10461
|
+
.replace('{id}', encodeURIComponent(String(id)))
|
|
10462
|
+
.replace('{batch_id}', encodeURIComponent(String(batchId)))
|
|
10463
|
+
.replace('{shipment_id}', encodeURIComponent(String(shipmentId)));
|
|
11191
10464
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
11192
10465
|
if (configuration) {
|
|
11193
10466
|
baseOptions = configuration.baseOptions;
|
|
@@ -11224,7 +10497,7 @@ var OrdersApiAxiosParamCreator = function (configuration) {
|
|
|
11224
10497
|
// verify required parameter 'id' is not null or undefined
|
|
11225
10498
|
(0, common_1.assertParamExists)('getGetAdminEditableOrder', 'id', id);
|
|
11226
10499
|
localVarPath = "/admin/orders/{id}/views/editable"
|
|
11227
|
-
.replace(
|
|
10500
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
11228
10501
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
11229
10502
|
if (configuration) {
|
|
11230
10503
|
baseOptions = configuration.baseOptions;
|
|
@@ -11262,7 +10535,7 @@ var OrdersApiAxiosParamCreator = function (configuration) {
|
|
|
11262
10535
|
// verify required parameter 'id' is not null or undefined
|
|
11263
10536
|
(0, common_1.assertParamExists)('getGetAdminOrderDetails', 'id', id);
|
|
11264
10537
|
localVarPath = "/admin/orders/{id}/details"
|
|
11265
|
-
.replace(
|
|
10538
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
11266
10539
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
11267
10540
|
if (configuration) {
|
|
11268
10541
|
baseOptions = configuration.baseOptions;
|
|
@@ -11306,9 +10579,9 @@ var OrdersApiAxiosParamCreator = function (configuration) {
|
|
|
11306
10579
|
// verify required parameter 'shipmentId' is not null or undefined
|
|
11307
10580
|
(0, common_1.assertParamExists)('getGetCommercialInvoice', 'shipmentId', shipmentId);
|
|
11308
10581
|
localVarPath = "/admin/orders/{id}/batches/{batch_id}/shipments/{shipment_id}/pdf"
|
|
11309
|
-
.replace(
|
|
11310
|
-
.replace(
|
|
11311
|
-
.replace(
|
|
10582
|
+
.replace('{id}', encodeURIComponent(String(id)))
|
|
10583
|
+
.replace('{batch_id}', encodeURIComponent(String(batchId)))
|
|
10584
|
+
.replace('{shipment_id}', encodeURIComponent(String(shipmentId)));
|
|
11312
10585
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
11313
10586
|
if (configuration) {
|
|
11314
10587
|
baseOptions = configuration.baseOptions;
|
|
@@ -11346,7 +10619,7 @@ var OrdersApiAxiosParamCreator = function (configuration) {
|
|
|
11346
10619
|
// verify required parameter 'id' is not null or undefined
|
|
11347
10620
|
(0, common_1.assertParamExists)('getGetEditableOrder', 'id', id);
|
|
11348
10621
|
localVarPath = "/orders/{id}/views/editable"
|
|
11349
|
-
.replace(
|
|
10622
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
11350
10623
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
11351
10624
|
if (configuration) {
|
|
11352
10625
|
baseOptions = configuration.baseOptions;
|
|
@@ -11387,8 +10660,8 @@ var OrdersApiAxiosParamCreator = function (configuration) {
|
|
|
11387
10660
|
// verify required parameter 'itemId' is not null or undefined
|
|
11388
10661
|
(0, common_1.assertParamExists)('getGetItemSerialInfo', 'itemId', itemId);
|
|
11389
10662
|
localVarPath = "/admin/orders/{id}/items/{item_id}/info"
|
|
11390
|
-
.replace(
|
|
11391
|
-
.replace(
|
|
10663
|
+
.replace('{id}', encodeURIComponent(String(id)))
|
|
10664
|
+
.replace('{item_id}', encodeURIComponent(String(itemId)));
|
|
11392
10665
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
11393
10666
|
if (configuration) {
|
|
11394
10667
|
baseOptions = configuration.baseOptions;
|
|
@@ -11426,7 +10699,7 @@ var OrdersApiAxiosParamCreator = function (configuration) {
|
|
|
11426
10699
|
// verify required parameter 'id' is not null or undefined
|
|
11427
10700
|
(0, common_1.assertParamExists)('getGetOrderPdf', 'id', id);
|
|
11428
10701
|
localVarPath = "/orders/{id}/pdf"
|
|
11429
|
-
.replace(
|
|
10702
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
11430
10703
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
11431
10704
|
if (configuration) {
|
|
11432
10705
|
baseOptions = configuration.baseOptions;
|
|
@@ -11464,7 +10737,7 @@ var OrdersApiAxiosParamCreator = function (configuration) {
|
|
|
11464
10737
|
// verify required parameter 'id' is not null or undefined
|
|
11465
10738
|
(0, common_1.assertParamExists)('getGetOrderSummary', 'id', id);
|
|
11466
10739
|
localVarPath = "/admin/orders/{id}/summary"
|
|
11467
|
-
.replace(
|
|
10740
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
11468
10741
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
11469
10742
|
if (configuration) {
|
|
11470
10743
|
baseOptions = configuration.baseOptions;
|
|
@@ -11564,7 +10837,7 @@ var OrdersApiAxiosParamCreator = function (configuration) {
|
|
|
11564
10837
|
// verify required parameter 'id' is not null or undefined
|
|
11565
10838
|
(0, common_1.assertParamExists)('patchCompleteOrder', 'id', id);
|
|
11566
10839
|
localVarPath = "/admin/orders/{id}/complete"
|
|
11567
|
-
.replace(
|
|
10840
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
11568
10841
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
11569
10842
|
if (configuration) {
|
|
11570
10843
|
baseOptions = configuration.baseOptions;
|
|
@@ -11603,7 +10876,7 @@ var OrdersApiAxiosParamCreator = function (configuration) {
|
|
|
11603
10876
|
// verify required parameter 'id' is not null or undefined
|
|
11604
10877
|
(0, common_1.assertParamExists)('postAddOrderNote', 'id', id);
|
|
11605
10878
|
localVarPath = "/admin/orders/{id}/notes"
|
|
11606
|
-
.replace(
|
|
10879
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
11607
10880
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
11608
10881
|
if (configuration) {
|
|
11609
10882
|
baseOptions = configuration.baseOptions;
|
|
@@ -11688,8 +10961,8 @@ var OrdersApiAxiosParamCreator = function (configuration) {
|
|
|
11688
10961
|
// verify required parameter 'shipmentId' is not null or undefined
|
|
11689
10962
|
(0, common_1.assertParamExists)('postCreateConsignment', 'shipmentId', shipmentId);
|
|
11690
10963
|
localVarPath = "/admin/orders/{id}/shipments/{shipment_id}/consignment"
|
|
11691
|
-
.replace(
|
|
11692
|
-
.replace(
|
|
10964
|
+
.replace('{id}', encodeURIComponent(String(id)))
|
|
10965
|
+
.replace('{shipment_id}', encodeURIComponent(String(shipmentId)));
|
|
11693
10966
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
11694
10967
|
if (configuration) {
|
|
11695
10968
|
baseOptions = configuration.baseOptions;
|
|
@@ -11710,6 +10983,43 @@ var OrdersApiAxiosParamCreator = function (configuration) {
|
|
|
11710
10983
|
});
|
|
11711
10984
|
});
|
|
11712
10985
|
},
|
|
10986
|
+
/**
|
|
10987
|
+
* Create an order via the legacy portal
|
|
10988
|
+
* @summary Create an order via the legacy portal
|
|
10989
|
+
* @param {OrderDTO} [orderDTO] Legacy Portal Order
|
|
10990
|
+
* @param {*} [options] Override http request option.
|
|
10991
|
+
* @throws {RequiredError}
|
|
10992
|
+
*/
|
|
10993
|
+
postCreatePortalOrderLegacy: function (orderDTO_1) {
|
|
10994
|
+
var args_1 = [];
|
|
10995
|
+
for (var _i = 1; _i < arguments.length; _i++) {
|
|
10996
|
+
args_1[_i - 1] = arguments[_i];
|
|
10997
|
+
}
|
|
10998
|
+
return __awaiter(_this, __spreadArray([orderDTO_1], args_1, true), void 0, function (orderDTO, options) {
|
|
10999
|
+
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
11000
|
+
if (options === void 0) { options = {}; }
|
|
11001
|
+
return __generator(this, function (_a) {
|
|
11002
|
+
localVarPath = "/orders/portal/legacy";
|
|
11003
|
+
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
11004
|
+
if (configuration) {
|
|
11005
|
+
baseOptions = configuration.baseOptions;
|
|
11006
|
+
}
|
|
11007
|
+
localVarRequestOptions = __assign(__assign({ method: 'POST' }, baseOptions), options);
|
|
11008
|
+
localVarHeaderParameter = {};
|
|
11009
|
+
localVarQueryParameter = {};
|
|
11010
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
11011
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
11012
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
11013
|
+
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
11014
|
+
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
11015
|
+
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(orderDTO, localVarRequestOptions, configuration);
|
|
11016
|
+
return [2 /*return*/, {
|
|
11017
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
11018
|
+
options: localVarRequestOptions,
|
|
11019
|
+
}];
|
|
11020
|
+
});
|
|
11021
|
+
});
|
|
11022
|
+
},
|
|
11713
11023
|
/**
|
|
11714
11024
|
* Create Shipment (Admin)
|
|
11715
11025
|
* @summary Create Shipment (Admin)
|
|
@@ -11733,8 +11043,8 @@ var OrdersApiAxiosParamCreator = function (configuration) {
|
|
|
11733
11043
|
// verify required parameter 'batchId' is not null or undefined
|
|
11734
11044
|
(0, common_1.assertParamExists)('postCreateShipment', 'batchId', batchId);
|
|
11735
11045
|
localVarPath = "/admin/orders/{id}/batches/{batch_id}/shipments"
|
|
11736
|
-
.replace(
|
|
11737
|
-
.replace(
|
|
11046
|
+
.replace('{id}', encodeURIComponent(String(id)))
|
|
11047
|
+
.replace('{batch_id}', encodeURIComponent(String(batchId)));
|
|
11738
11048
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
11739
11049
|
if (configuration) {
|
|
11740
11050
|
baseOptions = configuration.baseOptions;
|
|
@@ -11816,7 +11126,7 @@ var OrdersApiAxiosParamCreator = function (configuration) {
|
|
|
11816
11126
|
// verify required parameter 'id' is not null or undefined
|
|
11817
11127
|
(0, common_1.assertParamExists)('postIssueCredit', 'id', id);
|
|
11818
11128
|
localVarPath = "/admin/orders/{id}/credit"
|
|
11819
|
-
.replace(
|
|
11129
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
11820
11130
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
11821
11131
|
if (configuration) {
|
|
11822
11132
|
baseOptions = configuration.baseOptions;
|
|
@@ -11862,8 +11172,8 @@ var OrdersApiAxiosParamCreator = function (configuration) {
|
|
|
11862
11172
|
// verify required parameter 'printer' is not null or undefined
|
|
11863
11173
|
(0, common_1.assertParamExists)('postPrintShippingLabel', 'printer', printer);
|
|
11864
11174
|
localVarPath = "/admin/orders/{id}/shipments/{shipment_id}/label/print"
|
|
11865
|
-
.replace(
|
|
11866
|
-
.replace(
|
|
11175
|
+
.replace('{id}', encodeURIComponent(String(id)))
|
|
11176
|
+
.replace('{shipment_id}', encodeURIComponent(String(shipmentId)));
|
|
11867
11177
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
11868
11178
|
if (configuration) {
|
|
11869
11179
|
baseOptions = configuration.baseOptions;
|
|
@@ -11907,8 +11217,8 @@ var OrdersApiAxiosParamCreator = function (configuration) {
|
|
|
11907
11217
|
// verify required parameter 'batchId' is not null or undefined
|
|
11908
11218
|
(0, common_1.assertParamExists)('postProcessTcxLicences', 'batchId', batchId);
|
|
11909
11219
|
localVarPath = "/admin/orders/{id}/batches/{batch_id}/licences/process"
|
|
11910
|
-
.replace(
|
|
11911
|
-
.replace(
|
|
11220
|
+
.replace('{id}', encodeURIComponent(String(id)))
|
|
11221
|
+
.replace('{batch_id}', encodeURIComponent(String(batchId)));
|
|
11912
11222
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
11913
11223
|
if (configuration) {
|
|
11914
11224
|
baseOptions = configuration.baseOptions;
|
|
@@ -11949,7 +11259,7 @@ var OrdersApiAxiosParamCreator = function (configuration) {
|
|
|
11949
11259
|
// verify required parameter 'email' is not null or undefined
|
|
11950
11260
|
(0, common_1.assertParamExists)('postSendOrderEmail', 'email', email);
|
|
11951
11261
|
localVarPath = "/admin/orders/{id}/email/send"
|
|
11952
|
-
.replace(
|
|
11262
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
11953
11263
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
11954
11264
|
if (configuration) {
|
|
11955
11265
|
baseOptions = configuration.baseOptions;
|
|
@@ -11998,9 +11308,9 @@ var OrdersApiAxiosParamCreator = function (configuration) {
|
|
|
11998
11308
|
// verify required parameter 'email' is not null or undefined
|
|
11999
11309
|
(0, common_1.assertParamExists)('postSendShipmentEmail', 'email', email);
|
|
12000
11310
|
localVarPath = "/admin/orders/{id}/batches/{batch_id}/shipments/{shipment_id}/send/email"
|
|
12001
|
-
.replace(
|
|
12002
|
-
.replace(
|
|
12003
|
-
.replace(
|
|
11311
|
+
.replace('{id}', encodeURIComponent(String(id)))
|
|
11312
|
+
.replace('{batch_id}', encodeURIComponent(String(batchId)))
|
|
11313
|
+
.replace('{shipment_id}', encodeURIComponent(String(shipmentId)));
|
|
12004
11314
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
12005
11315
|
if (configuration) {
|
|
12006
11316
|
baseOptions = configuration.baseOptions;
|
|
@@ -12043,8 +11353,8 @@ var OrdersApiAxiosParamCreator = function (configuration) {
|
|
|
12043
11353
|
// verify required parameter 'batchId' is not null or undefined
|
|
12044
11354
|
(0, common_1.assertParamExists)('postSendSupplierEmail', 'batchId', batchId);
|
|
12045
11355
|
localVarPath = "/admin/orders/{id}/batches/{batch_id}/email/send"
|
|
12046
|
-
.replace(
|
|
12047
|
-
.replace(
|
|
11356
|
+
.replace('{id}', encodeURIComponent(String(id)))
|
|
11357
|
+
.replace('{batch_id}', encodeURIComponent(String(batchId)));
|
|
12048
11358
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
12049
11359
|
if (configuration) {
|
|
12050
11360
|
baseOptions = configuration.baseOptions;
|
|
@@ -12082,7 +11392,7 @@ var OrdersApiAxiosParamCreator = function (configuration) {
|
|
|
12082
11392
|
// verify required parameter 'id' is not null or undefined
|
|
12083
11393
|
(0, common_1.assertParamExists)('postSplitOrder', 'id', id);
|
|
12084
11394
|
localVarPath = "/admin/orders/{id}/split"
|
|
12085
|
-
.replace(
|
|
11395
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
12086
11396
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
12087
11397
|
if (configuration) {
|
|
12088
11398
|
baseOptions = configuration.baseOptions;
|
|
@@ -12126,7 +11436,7 @@ var OrdersApiAxiosParamCreator = function (configuration) {
|
|
|
12126
11436
|
// verify required parameter 'supplierId' is not null or undefined
|
|
12127
11437
|
(0, common_1.assertParamExists)('putAllocateItems', 'supplierId', supplierId);
|
|
12128
11438
|
localVarPath = "/admin/orders/{id}/items/allocate"
|
|
12129
|
-
.replace(
|
|
11439
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
12130
11440
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
12131
11441
|
if (configuration) {
|
|
12132
11442
|
baseOptions = configuration.baseOptions;
|
|
@@ -12171,7 +11481,7 @@ var OrdersApiAxiosParamCreator = function (configuration) {
|
|
|
12171
11481
|
// verify required parameter 'id' is not null or undefined
|
|
12172
11482
|
(0, common_1.assertParamExists)('putUpdateAdminOrder', 'id', id);
|
|
12173
11483
|
localVarPath = "/admin/orders/{id}"
|
|
12174
|
-
.replace(
|
|
11484
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
12175
11485
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
12176
11486
|
if (configuration) {
|
|
12177
11487
|
baseOptions = configuration.baseOptions;
|
|
@@ -12221,9 +11531,9 @@ var OrdersApiAxiosParamCreator = function (configuration) {
|
|
|
12221
11531
|
// verify required parameter 'itemId' is not null or undefined
|
|
12222
11532
|
(0, common_1.assertParamExists)('putUpdateBatchItem', 'itemId', itemId);
|
|
12223
11533
|
localVarPath = "/admin/orders/{id}/batches/{batch_id}/items/{item_id}"
|
|
12224
|
-
.replace(
|
|
12225
|
-
.replace(
|
|
12226
|
-
.replace(
|
|
11534
|
+
.replace('{id}', encodeURIComponent(String(id)))
|
|
11535
|
+
.replace('{batch_id}', encodeURIComponent(String(batchId)))
|
|
11536
|
+
.replace('{item_id}', encodeURIComponent(String(itemId)));
|
|
12227
11537
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
12228
11538
|
if (configuration) {
|
|
12229
11539
|
baseOptions = configuration.baseOptions;
|
|
@@ -12265,7 +11575,7 @@ var OrdersApiAxiosParamCreator = function (configuration) {
|
|
|
12265
11575
|
// verify required parameter 'id' is not null or undefined
|
|
12266
11576
|
(0, common_1.assertParamExists)('putUpdateOrder', 'id', id);
|
|
12267
11577
|
localVarPath = "/orders/{id}"
|
|
12268
|
-
.replace(
|
|
11578
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
12269
11579
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
12270
11580
|
if (configuration) {
|
|
12271
11581
|
baseOptions = configuration.baseOptions;
|
|
@@ -12311,7 +11621,7 @@ var OrdersApiAxiosParamCreator = function (configuration) {
|
|
|
12311
11621
|
// verify required parameter 'paid' is not null or undefined
|
|
12312
11622
|
(0, common_1.assertParamExists)('putUpdatePaymentStatus', 'paid', paid);
|
|
12313
11623
|
localVarPath = "/admin/orders/{id}/paid"
|
|
12314
|
-
.replace(
|
|
11624
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
12315
11625
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
12316
11626
|
if (configuration) {
|
|
12317
11627
|
baseOptions = configuration.baseOptions;
|
|
@@ -12359,9 +11669,9 @@ var OrdersApiAxiosParamCreator = function (configuration) {
|
|
|
12359
11669
|
// verify required parameter 'shipmentId' is not null or undefined
|
|
12360
11670
|
(0, common_1.assertParamExists)('putUpdateShipment', 'shipmentId', shipmentId);
|
|
12361
11671
|
localVarPath = "/admin/orders/{id}/batches/{batch_id}/shipments/{shipment_id}"
|
|
12362
|
-
.replace(
|
|
12363
|
-
.replace(
|
|
12364
|
-
.replace(
|
|
11672
|
+
.replace('{id}', encodeURIComponent(String(id)))
|
|
11673
|
+
.replace('{batch_id}', encodeURIComponent(String(batchId)))
|
|
11674
|
+
.replace('{shipment_id}', encodeURIComponent(String(shipmentId)));
|
|
12365
11675
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
12366
11676
|
if (configuration) {
|
|
12367
11677
|
baseOptions = configuration.baseOptions;
|
|
@@ -12751,6 +12061,29 @@ var OrdersApiFp = function (configuration) {
|
|
|
12751
12061
|
});
|
|
12752
12062
|
});
|
|
12753
12063
|
},
|
|
12064
|
+
/**
|
|
12065
|
+
* Create an order via the legacy portal
|
|
12066
|
+
* @summary Create an order via the legacy portal
|
|
12067
|
+
* @param {OrderDTO} [orderDTO] Legacy Portal Order
|
|
12068
|
+
* @param {*} [options] Override http request option.
|
|
12069
|
+
* @throws {RequiredError}
|
|
12070
|
+
*/
|
|
12071
|
+
postCreatePortalOrderLegacy: function (orderDTO, options) {
|
|
12072
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
12073
|
+
var localVarAxiosArgs, localVarOperationServerIndex, localVarOperationServerBasePath;
|
|
12074
|
+
var _a, _b, _c;
|
|
12075
|
+
return __generator(this, function (_d) {
|
|
12076
|
+
switch (_d.label) {
|
|
12077
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.postCreatePortalOrderLegacy(orderDTO, options)];
|
|
12078
|
+
case 1:
|
|
12079
|
+
localVarAxiosArgs = _d.sent();
|
|
12080
|
+
localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
12081
|
+
localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['OrdersApi.postCreatePortalOrderLegacy']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
12082
|
+
return [2 /*return*/, function (axios, basePath) { return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath); }];
|
|
12083
|
+
}
|
|
12084
|
+
});
|
|
12085
|
+
});
|
|
12086
|
+
},
|
|
12754
12087
|
/**
|
|
12755
12088
|
* Create Shipment (Admin)
|
|
12756
12089
|
* @summary Create Shipment (Admin)
|
|
@@ -13296,6 +12629,16 @@ var OrdersApiFactory = function (configuration, basePath, axios) {
|
|
|
13296
12629
|
postCreateConsignment: function (id, shipmentId, shippingRequestDTO, options) {
|
|
13297
12630
|
return localVarFp.postCreateConsignment(id, shipmentId, shippingRequestDTO, options).then(function (request) { return request(axios, basePath); });
|
|
13298
12631
|
},
|
|
12632
|
+
/**
|
|
12633
|
+
* Create an order via the legacy portal
|
|
12634
|
+
* @summary Create an order via the legacy portal
|
|
12635
|
+
* @param {OrderDTO} [orderDTO] Legacy Portal Order
|
|
12636
|
+
* @param {*} [options] Override http request option.
|
|
12637
|
+
* @throws {RequiredError}
|
|
12638
|
+
*/
|
|
12639
|
+
postCreatePortalOrderLegacy: function (orderDTO, options) {
|
|
12640
|
+
return localVarFp.postCreatePortalOrderLegacy(orderDTO, options).then(function (request) { return request(axios, basePath); });
|
|
12641
|
+
},
|
|
13299
12642
|
/**
|
|
13300
12643
|
* Create Shipment (Admin)
|
|
13301
12644
|
* @summary Create Shipment (Admin)
|
|
@@ -13663,6 +13006,17 @@ var OrdersApi = /** @class */ (function (_super) {
|
|
|
13663
13006
|
var _this = this;
|
|
13664
13007
|
return (0, exports.OrdersApiFp)(this.configuration).postCreateConsignment(id, shipmentId, shippingRequestDTO, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
13665
13008
|
};
|
|
13009
|
+
/**
|
|
13010
|
+
* Create an order via the legacy portal
|
|
13011
|
+
* @summary Create an order via the legacy portal
|
|
13012
|
+
* @param {OrderDTO} [orderDTO] Legacy Portal Order
|
|
13013
|
+
* @param {*} [options] Override http request option.
|
|
13014
|
+
* @throws {RequiredError}
|
|
13015
|
+
*/
|
|
13016
|
+
OrdersApi.prototype.postCreatePortalOrderLegacy = function (orderDTO, options) {
|
|
13017
|
+
var _this = this;
|
|
13018
|
+
return (0, exports.OrdersApiFp)(this.configuration).postCreatePortalOrderLegacy(orderDTO, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
13019
|
+
};
|
|
13666
13020
|
/**
|
|
13667
13021
|
* Create Shipment (Admin)
|
|
13668
13022
|
* @summary Create Shipment (Admin)
|
|
@@ -13861,18 +13215,18 @@ exports.GetGetOrdersStatusEnum = {
|
|
|
13861
13215
|
Paid: 'PAID',
|
|
13862
13216
|
InvoicePaid: 'INVOICE_PAID',
|
|
13863
13217
|
Unpaid: 'UNPAID',
|
|
13864
|
-
Quote: 'QUOTE'
|
|
13218
|
+
Quote: 'QUOTE',
|
|
13865
13219
|
};
|
|
13866
13220
|
exports.GetGetOrdersFilterEnum = {
|
|
13867
13221
|
Outstanding: 'OUTSTANDING',
|
|
13868
13222
|
Quotes: 'QUOTES',
|
|
13869
13223
|
All: 'ALL',
|
|
13870
|
-
BackOrders: 'BACK_ORDERS'
|
|
13224
|
+
BackOrders: 'BACK_ORDERS',
|
|
13871
13225
|
};
|
|
13872
13226
|
exports.PostPrintShippingLabelPrinterEnum = {
|
|
13873
13227
|
NUMBER_1: 1,
|
|
13874
13228
|
NUMBER_2: 2,
|
|
13875
|
-
NUMBER_3: 3
|
|
13229
|
+
NUMBER_3: 3,
|
|
13876
13230
|
};
|
|
13877
13231
|
/**
|
|
13878
13232
|
* PricingApi - axios parameter creator
|
|
@@ -14145,14 +13499,14 @@ exports.GetGetPriceListTypeEnum = {
|
|
|
14145
13499
|
EdTechPro: 'EdTechPro',
|
|
14146
13500
|
Sms: 'SMS',
|
|
14147
13501
|
SipTrunks: 'SIP Trunks',
|
|
14148
|
-
CrmIntegrations: 'CRM Integrations'
|
|
13502
|
+
CrmIntegrations: 'CRM Integrations',
|
|
14149
13503
|
};
|
|
14150
13504
|
exports.GetGetPriceListFormatEnum = {
|
|
14151
13505
|
Pdf: 'pdf',
|
|
14152
13506
|
Json: 'json',
|
|
14153
13507
|
Csv: 'csv',
|
|
14154
13508
|
Xml: 'xml',
|
|
14155
|
-
Html: 'html'
|
|
13509
|
+
Html: 'html',
|
|
14156
13510
|
};
|
|
14157
13511
|
exports.GetGetPriceListCategoryEnum = {
|
|
14158
13512
|
Yealink: 'Yealink',
|
|
@@ -14174,7 +13528,7 @@ exports.GetGetPriceListCategoryEnum = {
|
|
|
14174
13528
|
FanvilWirelessPhones: 'Fanvil Wireless Phones',
|
|
14175
13529
|
FanvilSecurityProducts: 'Fanvil Security Products',
|
|
14176
13530
|
FanvilAccessories: 'Fanvil Accessories',
|
|
14177
|
-
FanvilHotelPhones: 'Fanvil Hotel Phones'
|
|
13531
|
+
FanvilHotelPhones: 'Fanvil Hotel Phones',
|
|
14178
13532
|
};
|
|
14179
13533
|
exports.PostSendPriceListTypeEnum = {
|
|
14180
13534
|
Products: 'Products',
|
|
@@ -14185,14 +13539,14 @@ exports.PostSendPriceListTypeEnum = {
|
|
|
14185
13539
|
EdTechPro: 'EdTechPro',
|
|
14186
13540
|
Sms: 'SMS',
|
|
14187
13541
|
SipTrunks: 'SIP Trunks',
|
|
14188
|
-
CrmIntegrations: 'CRM Integrations'
|
|
13542
|
+
CrmIntegrations: 'CRM Integrations',
|
|
14189
13543
|
};
|
|
14190
13544
|
exports.PostSendPriceListFormatEnum = {
|
|
14191
13545
|
Pdf: 'pdf',
|
|
14192
13546
|
Json: 'json',
|
|
14193
13547
|
Csv: 'csv',
|
|
14194
13548
|
Xml: 'xml',
|
|
14195
|
-
Html: 'html'
|
|
13549
|
+
Html: 'html',
|
|
14196
13550
|
};
|
|
14197
13551
|
exports.PostSendPriceListCategoryEnum = {
|
|
14198
13552
|
Yealink: 'Yealink',
|
|
@@ -14214,7 +13568,7 @@ exports.PostSendPriceListCategoryEnum = {
|
|
|
14214
13568
|
FanvilWirelessPhones: 'Fanvil Wireless Phones',
|
|
14215
13569
|
FanvilSecurityProducts: 'Fanvil Security Products',
|
|
14216
13570
|
FanvilAccessories: 'Fanvil Accessories',
|
|
14217
|
-
FanvilHotelPhones: 'Fanvil Hotel Phones'
|
|
13571
|
+
FanvilHotelPhones: 'Fanvil Hotel Phones',
|
|
14218
13572
|
};
|
|
14219
13573
|
/**
|
|
14220
13574
|
* ProductsApi - axios parameter creator
|
|
@@ -14501,7 +13855,7 @@ var ProductsApiAxiosParamCreator = function (configuration) {
|
|
|
14501
13855
|
// verify required parameter 'quantity' is not null or undefined
|
|
14502
13856
|
(0, common_1.assertParamExists)('patchAddQuantityToStock', 'quantity', quantity);
|
|
14503
13857
|
localVarPath = "/products/{sku}/stock/add"
|
|
14504
|
-
.replace(
|
|
13858
|
+
.replace('{sku}', encodeURIComponent(String(sku)));
|
|
14505
13859
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
14506
13860
|
if (configuration) {
|
|
14507
13861
|
baseOptions = configuration.baseOptions;
|
|
@@ -14526,25 +13880,25 @@ var ProductsApiAxiosParamCreator = function (configuration) {
|
|
|
14526
13880
|
* Get Product
|
|
14527
13881
|
* @summary Get Product
|
|
14528
13882
|
* @param {string} sku Product SKU
|
|
14529
|
-
* @param {
|
|
13883
|
+
* @param {PostGetProductForCustomerRequest} postGetProductForCustomerRequest Product search criteria
|
|
14530
13884
|
* @param {*} [options] Override http request option.
|
|
14531
13885
|
* @throws {RequiredError}
|
|
14532
13886
|
*/
|
|
14533
|
-
postGetProduct: function (sku_1,
|
|
13887
|
+
postGetProduct: function (sku_1, postGetProductForCustomerRequest_1) {
|
|
14534
13888
|
var args_1 = [];
|
|
14535
13889
|
for (var _i = 2; _i < arguments.length; _i++) {
|
|
14536
13890
|
args_1[_i - 2] = arguments[_i];
|
|
14537
13891
|
}
|
|
14538
|
-
return __awaiter(_this, __spreadArray([sku_1,
|
|
13892
|
+
return __awaiter(_this, __spreadArray([sku_1, postGetProductForCustomerRequest_1], args_1, true), void 0, function (sku, postGetProductForCustomerRequest, options) {
|
|
14539
13893
|
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
14540
13894
|
if (options === void 0) { options = {}; }
|
|
14541
13895
|
return __generator(this, function (_a) {
|
|
14542
13896
|
// verify required parameter 'sku' is not null or undefined
|
|
14543
13897
|
(0, common_1.assertParamExists)('postGetProduct', 'sku', sku);
|
|
14544
|
-
// verify required parameter '
|
|
14545
|
-
(0, common_1.assertParamExists)('postGetProduct', '
|
|
13898
|
+
// verify required parameter 'postGetProductForCustomerRequest' is not null or undefined
|
|
13899
|
+
(0, common_1.assertParamExists)('postGetProduct', 'postGetProductForCustomerRequest', postGetProductForCustomerRequest);
|
|
14546
13900
|
localVarPath = "/products/{sku}"
|
|
14547
|
-
.replace(
|
|
13901
|
+
.replace('{sku}', encodeURIComponent(String(sku)));
|
|
14548
13902
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
14549
13903
|
if (configuration) {
|
|
14550
13904
|
baseOptions = configuration.baseOptions;
|
|
@@ -14557,7 +13911,7 @@ var ProductsApiAxiosParamCreator = function (configuration) {
|
|
|
14557
13911
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
14558
13912
|
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
14559
13913
|
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
14560
|
-
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(
|
|
13914
|
+
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(postGetProductForCustomerRequest, localVarRequestOptions, configuration);
|
|
14561
13915
|
return [2 /*return*/, {
|
|
14562
13916
|
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
14563
13917
|
options: localVarRequestOptions,
|
|
@@ -14590,7 +13944,7 @@ var ProductsApiAxiosParamCreator = function (configuration) {
|
|
|
14590
13944
|
// verify required parameter 'postGetProductForCustomerRequest' is not null or undefined
|
|
14591
13945
|
(0, common_1.assertParamExists)('postGetProductForCustomer', 'postGetProductForCustomerRequest', postGetProductForCustomerRequest);
|
|
14592
13946
|
localVarPath = "/admin/products/{sku}"
|
|
14593
|
-
.replace(
|
|
13947
|
+
.replace('{sku}', encodeURIComponent(String(sku)));
|
|
14594
13948
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
14595
13949
|
if (configuration) {
|
|
14596
13950
|
baseOptions = configuration.baseOptions;
|
|
@@ -14810,17 +14164,17 @@ var ProductsApiFp = function (configuration) {
|
|
|
14810
14164
|
* Get Product
|
|
14811
14165
|
* @summary Get Product
|
|
14812
14166
|
* @param {string} sku Product SKU
|
|
14813
|
-
* @param {
|
|
14167
|
+
* @param {PostGetProductForCustomerRequest} postGetProductForCustomerRequest Product search criteria
|
|
14814
14168
|
* @param {*} [options] Override http request option.
|
|
14815
14169
|
* @throws {RequiredError}
|
|
14816
14170
|
*/
|
|
14817
|
-
postGetProduct: function (sku,
|
|
14171
|
+
postGetProduct: function (sku, postGetProductForCustomerRequest, options) {
|
|
14818
14172
|
return __awaiter(this, void 0, void 0, function () {
|
|
14819
14173
|
var localVarAxiosArgs, localVarOperationServerIndex, localVarOperationServerBasePath;
|
|
14820
14174
|
var _a, _b, _c;
|
|
14821
14175
|
return __generator(this, function (_d) {
|
|
14822
14176
|
switch (_d.label) {
|
|
14823
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.postGetProduct(sku,
|
|
14177
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.postGetProduct(sku, postGetProductForCustomerRequest, options)];
|
|
14824
14178
|
case 1:
|
|
14825
14179
|
localVarAxiosArgs = _d.sent();
|
|
14826
14180
|
localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
@@ -14947,12 +14301,12 @@ var ProductsApiFactory = function (configuration, basePath, axios) {
|
|
|
14947
14301
|
* Get Product
|
|
14948
14302
|
* @summary Get Product
|
|
14949
14303
|
* @param {string} sku Product SKU
|
|
14950
|
-
* @param {
|
|
14304
|
+
* @param {PostGetProductForCustomerRequest} postGetProductForCustomerRequest Product search criteria
|
|
14951
14305
|
* @param {*} [options] Override http request option.
|
|
14952
14306
|
* @throws {RequiredError}
|
|
14953
14307
|
*/
|
|
14954
|
-
postGetProduct: function (sku,
|
|
14955
|
-
return localVarFp.postGetProduct(sku,
|
|
14308
|
+
postGetProduct: function (sku, postGetProductForCustomerRequest, options) {
|
|
14309
|
+
return localVarFp.postGetProduct(sku, postGetProductForCustomerRequest, options).then(function (request) { return request(axios, basePath); });
|
|
14956
14310
|
},
|
|
14957
14311
|
/**
|
|
14958
14312
|
* Get Product For Customer
|
|
@@ -15068,13 +14422,13 @@ var ProductsApi = /** @class */ (function (_super) {
|
|
|
15068
14422
|
* Get Product
|
|
15069
14423
|
* @summary Get Product
|
|
15070
14424
|
* @param {string} sku Product SKU
|
|
15071
|
-
* @param {
|
|
14425
|
+
* @param {PostGetProductForCustomerRequest} postGetProductForCustomerRequest Product search criteria
|
|
15072
14426
|
* @param {*} [options] Override http request option.
|
|
15073
14427
|
* @throws {RequiredError}
|
|
15074
14428
|
*/
|
|
15075
|
-
ProductsApi.prototype.postGetProduct = function (sku,
|
|
14429
|
+
ProductsApi.prototype.postGetProduct = function (sku, postGetProductForCustomerRequest, options) {
|
|
15076
14430
|
var _this = this;
|
|
15077
|
-
return (0, exports.ProductsApiFp)(this.configuration).postGetProduct(sku,
|
|
14431
|
+
return (0, exports.ProductsApiFp)(this.configuration).postGetProduct(sku, postGetProductForCustomerRequest, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
15078
14432
|
};
|
|
15079
14433
|
/**
|
|
15080
14434
|
* Get Product For Customer
|
|
@@ -15094,8 +14448,385 @@ var ProductsApi = /** @class */ (function (_super) {
|
|
|
15094
14448
|
exports.ProductsApi = ProductsApi;
|
|
15095
14449
|
exports.GetGetLegacyStockListFormatEnum = {
|
|
15096
14450
|
Xml: 'XML',
|
|
15097
|
-
Csv: 'CSV'
|
|
14451
|
+
Csv: 'CSV',
|
|
14452
|
+
};
|
|
14453
|
+
/**
|
|
14454
|
+
* ProspectsApi - axios parameter creator
|
|
14455
|
+
*/
|
|
14456
|
+
var ProspectsApiAxiosParamCreator = function (configuration) {
|
|
14457
|
+
var _this = this;
|
|
14458
|
+
return {
|
|
14459
|
+
/**
|
|
14460
|
+
* Get Prospect
|
|
14461
|
+
* @summary Get Prospect
|
|
14462
|
+
* @param {string} xeroId Xero ID
|
|
14463
|
+
* @param {*} [options] Override http request option.
|
|
14464
|
+
* @throws {RequiredError}
|
|
14465
|
+
*/
|
|
14466
|
+
getGetProspect: function (xeroId_1) {
|
|
14467
|
+
var args_1 = [];
|
|
14468
|
+
for (var _i = 1; _i < arguments.length; _i++) {
|
|
14469
|
+
args_1[_i - 1] = arguments[_i];
|
|
14470
|
+
}
|
|
14471
|
+
return __awaiter(_this, __spreadArray([xeroId_1], args_1, true), void 0, function (xeroId, options) {
|
|
14472
|
+
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
14473
|
+
if (options === void 0) { options = {}; }
|
|
14474
|
+
return __generator(this, function (_a) {
|
|
14475
|
+
// verify required parameter 'xeroId' is not null or undefined
|
|
14476
|
+
(0, common_1.assertParamExists)('getGetProspect', 'xeroId', xeroId);
|
|
14477
|
+
localVarPath = "/accounts/prospects/{xero_id}"
|
|
14478
|
+
.replace('{xero_id}', encodeURIComponent(String(xeroId)));
|
|
14479
|
+
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
14480
|
+
if (configuration) {
|
|
14481
|
+
baseOptions = configuration.baseOptions;
|
|
14482
|
+
}
|
|
14483
|
+
localVarRequestOptions = __assign(__assign({ method: 'GET' }, baseOptions), options);
|
|
14484
|
+
localVarHeaderParameter = {};
|
|
14485
|
+
localVarQueryParameter = {};
|
|
14486
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
14487
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
14488
|
+
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
14489
|
+
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
14490
|
+
return [2 /*return*/, {
|
|
14491
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
14492
|
+
options: localVarRequestOptions,
|
|
14493
|
+
}];
|
|
14494
|
+
});
|
|
14495
|
+
});
|
|
14496
|
+
},
|
|
14497
|
+
/**
|
|
14498
|
+
* Get Prospects
|
|
14499
|
+
* @summary Get Prospects
|
|
14500
|
+
* @param {*} [options] Override http request option.
|
|
14501
|
+
* @throws {RequiredError}
|
|
14502
|
+
*/
|
|
14503
|
+
getGetProspects: function () {
|
|
14504
|
+
var args_1 = [];
|
|
14505
|
+
for (var _i = 0; _i < arguments.length; _i++) {
|
|
14506
|
+
args_1[_i] = arguments[_i];
|
|
14507
|
+
}
|
|
14508
|
+
return __awaiter(_this, __spreadArray([], args_1, true), void 0, function (options) {
|
|
14509
|
+
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
14510
|
+
if (options === void 0) { options = {}; }
|
|
14511
|
+
return __generator(this, function (_a) {
|
|
14512
|
+
localVarPath = "/accounts/prospects";
|
|
14513
|
+
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
14514
|
+
if (configuration) {
|
|
14515
|
+
baseOptions = configuration.baseOptions;
|
|
14516
|
+
}
|
|
14517
|
+
localVarRequestOptions = __assign(__assign({ method: 'GET' }, baseOptions), options);
|
|
14518
|
+
localVarHeaderParameter = {};
|
|
14519
|
+
localVarQueryParameter = {};
|
|
14520
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
14521
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
14522
|
+
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
14523
|
+
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
14524
|
+
return [2 /*return*/, {
|
|
14525
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
14526
|
+
options: localVarRequestOptions,
|
|
14527
|
+
}];
|
|
14528
|
+
});
|
|
14529
|
+
});
|
|
14530
|
+
},
|
|
14531
|
+
/**
|
|
14532
|
+
* Remove From Prospect
|
|
14533
|
+
* @summary Remove From Prospects
|
|
14534
|
+
* @param {string} xeroId Xero ID
|
|
14535
|
+
* @param {boolean} status Status
|
|
14536
|
+
* @param {*} [options] Override http request option.
|
|
14537
|
+
* @throws {RequiredError}
|
|
14538
|
+
*/
|
|
14539
|
+
getRemoveFromProspects: function (xeroId_1, status_1) {
|
|
14540
|
+
var args_1 = [];
|
|
14541
|
+
for (var _i = 2; _i < arguments.length; _i++) {
|
|
14542
|
+
args_1[_i - 2] = arguments[_i];
|
|
14543
|
+
}
|
|
14544
|
+
return __awaiter(_this, __spreadArray([xeroId_1, status_1], args_1, true), void 0, function (xeroId, status, options) {
|
|
14545
|
+
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
14546
|
+
if (options === void 0) { options = {}; }
|
|
14547
|
+
return __generator(this, function (_a) {
|
|
14548
|
+
// verify required parameter 'xeroId' is not null or undefined
|
|
14549
|
+
(0, common_1.assertParamExists)('getRemoveFromProspects', 'xeroId', xeroId);
|
|
14550
|
+
// verify required parameter 'status' is not null or undefined
|
|
14551
|
+
(0, common_1.assertParamExists)('getRemoveFromProspects', 'status', status);
|
|
14552
|
+
localVarPath = "/accounts/prospects/{xero_id}/remove"
|
|
14553
|
+
.replace('{xero_id}', encodeURIComponent(String(xeroId)));
|
|
14554
|
+
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
14555
|
+
if (configuration) {
|
|
14556
|
+
baseOptions = configuration.baseOptions;
|
|
14557
|
+
}
|
|
14558
|
+
localVarRequestOptions = __assign(__assign({ method: 'GET' }, baseOptions), options);
|
|
14559
|
+
localVarHeaderParameter = {};
|
|
14560
|
+
localVarQueryParameter = {};
|
|
14561
|
+
if (status !== undefined) {
|
|
14562
|
+
localVarQueryParameter['status'] = status;
|
|
14563
|
+
}
|
|
14564
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
14565
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
14566
|
+
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
14567
|
+
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
14568
|
+
return [2 /*return*/, {
|
|
14569
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
14570
|
+
options: localVarRequestOptions,
|
|
14571
|
+
}];
|
|
14572
|
+
});
|
|
14573
|
+
});
|
|
14574
|
+
},
|
|
14575
|
+
/**
|
|
14576
|
+
* Set Call Back Date
|
|
14577
|
+
* @summary Set Call Back Date
|
|
14578
|
+
* @param {string} xeroId Xero ID
|
|
14579
|
+
* @param {string} date Callback Date
|
|
14580
|
+
* @param {*} [options] Override http request option.
|
|
14581
|
+
* @throws {RequiredError}
|
|
14582
|
+
*/
|
|
14583
|
+
getSetCallback: function (xeroId_1, date_1) {
|
|
14584
|
+
var args_1 = [];
|
|
14585
|
+
for (var _i = 2; _i < arguments.length; _i++) {
|
|
14586
|
+
args_1[_i - 2] = arguments[_i];
|
|
14587
|
+
}
|
|
14588
|
+
return __awaiter(_this, __spreadArray([xeroId_1, date_1], args_1, true), void 0, function (xeroId, date, options) {
|
|
14589
|
+
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
14590
|
+
if (options === void 0) { options = {}; }
|
|
14591
|
+
return __generator(this, function (_a) {
|
|
14592
|
+
// verify required parameter 'xeroId' is not null or undefined
|
|
14593
|
+
(0, common_1.assertParamExists)('getSetCallback', 'xeroId', xeroId);
|
|
14594
|
+
// verify required parameter 'date' is not null or undefined
|
|
14595
|
+
(0, common_1.assertParamExists)('getSetCallback', 'date', date);
|
|
14596
|
+
localVarPath = "/accounts/prospects/{xero_id}/date"
|
|
14597
|
+
.replace('{xero_id}', encodeURIComponent(String(xeroId)));
|
|
14598
|
+
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
14599
|
+
if (configuration) {
|
|
14600
|
+
baseOptions = configuration.baseOptions;
|
|
14601
|
+
}
|
|
14602
|
+
localVarRequestOptions = __assign(__assign({ method: 'GET' }, baseOptions), options);
|
|
14603
|
+
localVarHeaderParameter = {};
|
|
14604
|
+
localVarQueryParameter = {};
|
|
14605
|
+
if (date !== undefined) {
|
|
14606
|
+
localVarQueryParameter['date'] = date;
|
|
14607
|
+
}
|
|
14608
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
14609
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
14610
|
+
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
14611
|
+
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
14612
|
+
return [2 /*return*/, {
|
|
14613
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
14614
|
+
options: localVarRequestOptions,
|
|
14615
|
+
}];
|
|
14616
|
+
});
|
|
14617
|
+
});
|
|
14618
|
+
},
|
|
14619
|
+
};
|
|
15098
14620
|
};
|
|
14621
|
+
exports.ProspectsApiAxiosParamCreator = ProspectsApiAxiosParamCreator;
|
|
14622
|
+
/**
|
|
14623
|
+
* ProspectsApi - functional programming interface
|
|
14624
|
+
*/
|
|
14625
|
+
var ProspectsApiFp = function (configuration) {
|
|
14626
|
+
var localVarAxiosParamCreator = (0, exports.ProspectsApiAxiosParamCreator)(configuration);
|
|
14627
|
+
return {
|
|
14628
|
+
/**
|
|
14629
|
+
* Get Prospect
|
|
14630
|
+
* @summary Get Prospect
|
|
14631
|
+
* @param {string} xeroId Xero ID
|
|
14632
|
+
* @param {*} [options] Override http request option.
|
|
14633
|
+
* @throws {RequiredError}
|
|
14634
|
+
*/
|
|
14635
|
+
getGetProspect: function (xeroId, options) {
|
|
14636
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
14637
|
+
var localVarAxiosArgs, localVarOperationServerIndex, localVarOperationServerBasePath;
|
|
14638
|
+
var _a, _b, _c;
|
|
14639
|
+
return __generator(this, function (_d) {
|
|
14640
|
+
switch (_d.label) {
|
|
14641
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.getGetProspect(xeroId, options)];
|
|
14642
|
+
case 1:
|
|
14643
|
+
localVarAxiosArgs = _d.sent();
|
|
14644
|
+
localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
14645
|
+
localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['ProspectsApi.getGetProspect']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
14646
|
+
return [2 /*return*/, function (axios, basePath) { return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath); }];
|
|
14647
|
+
}
|
|
14648
|
+
});
|
|
14649
|
+
});
|
|
14650
|
+
},
|
|
14651
|
+
/**
|
|
14652
|
+
* Get Prospects
|
|
14653
|
+
* @summary Get Prospects
|
|
14654
|
+
* @param {*} [options] Override http request option.
|
|
14655
|
+
* @throws {RequiredError}
|
|
14656
|
+
*/
|
|
14657
|
+
getGetProspects: function (options) {
|
|
14658
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
14659
|
+
var localVarAxiosArgs, localVarOperationServerIndex, localVarOperationServerBasePath;
|
|
14660
|
+
var _a, _b, _c;
|
|
14661
|
+
return __generator(this, function (_d) {
|
|
14662
|
+
switch (_d.label) {
|
|
14663
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.getGetProspects(options)];
|
|
14664
|
+
case 1:
|
|
14665
|
+
localVarAxiosArgs = _d.sent();
|
|
14666
|
+
localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
14667
|
+
localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['ProspectsApi.getGetProspects']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
14668
|
+
return [2 /*return*/, function (axios, basePath) { return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath); }];
|
|
14669
|
+
}
|
|
14670
|
+
});
|
|
14671
|
+
});
|
|
14672
|
+
},
|
|
14673
|
+
/**
|
|
14674
|
+
* Remove From Prospect
|
|
14675
|
+
* @summary Remove From Prospects
|
|
14676
|
+
* @param {string} xeroId Xero ID
|
|
14677
|
+
* @param {boolean} status Status
|
|
14678
|
+
* @param {*} [options] Override http request option.
|
|
14679
|
+
* @throws {RequiredError}
|
|
14680
|
+
*/
|
|
14681
|
+
getRemoveFromProspects: function (xeroId, status, options) {
|
|
14682
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
14683
|
+
var localVarAxiosArgs, localVarOperationServerIndex, localVarOperationServerBasePath;
|
|
14684
|
+
var _a, _b, _c;
|
|
14685
|
+
return __generator(this, function (_d) {
|
|
14686
|
+
switch (_d.label) {
|
|
14687
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.getRemoveFromProspects(xeroId, status, options)];
|
|
14688
|
+
case 1:
|
|
14689
|
+
localVarAxiosArgs = _d.sent();
|
|
14690
|
+
localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
14691
|
+
localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['ProspectsApi.getRemoveFromProspects']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
14692
|
+
return [2 /*return*/, function (axios, basePath) { return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath); }];
|
|
14693
|
+
}
|
|
14694
|
+
});
|
|
14695
|
+
});
|
|
14696
|
+
},
|
|
14697
|
+
/**
|
|
14698
|
+
* Set Call Back Date
|
|
14699
|
+
* @summary Set Call Back Date
|
|
14700
|
+
* @param {string} xeroId Xero ID
|
|
14701
|
+
* @param {string} date Callback Date
|
|
14702
|
+
* @param {*} [options] Override http request option.
|
|
14703
|
+
* @throws {RequiredError}
|
|
14704
|
+
*/
|
|
14705
|
+
getSetCallback: function (xeroId, date, options) {
|
|
14706
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
14707
|
+
var localVarAxiosArgs, localVarOperationServerIndex, localVarOperationServerBasePath;
|
|
14708
|
+
var _a, _b, _c;
|
|
14709
|
+
return __generator(this, function (_d) {
|
|
14710
|
+
switch (_d.label) {
|
|
14711
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.getSetCallback(xeroId, date, options)];
|
|
14712
|
+
case 1:
|
|
14713
|
+
localVarAxiosArgs = _d.sent();
|
|
14714
|
+
localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
14715
|
+
localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['ProspectsApi.getSetCallback']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
14716
|
+
return [2 /*return*/, function (axios, basePath) { return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath); }];
|
|
14717
|
+
}
|
|
14718
|
+
});
|
|
14719
|
+
});
|
|
14720
|
+
},
|
|
14721
|
+
};
|
|
14722
|
+
};
|
|
14723
|
+
exports.ProspectsApiFp = ProspectsApiFp;
|
|
14724
|
+
/**
|
|
14725
|
+
* ProspectsApi - factory interface
|
|
14726
|
+
*/
|
|
14727
|
+
var ProspectsApiFactory = function (configuration, basePath, axios) {
|
|
14728
|
+
var localVarFp = (0, exports.ProspectsApiFp)(configuration);
|
|
14729
|
+
return {
|
|
14730
|
+
/**
|
|
14731
|
+
* Get Prospect
|
|
14732
|
+
* @summary Get Prospect
|
|
14733
|
+
* @param {string} xeroId Xero ID
|
|
14734
|
+
* @param {*} [options] Override http request option.
|
|
14735
|
+
* @throws {RequiredError}
|
|
14736
|
+
*/
|
|
14737
|
+
getGetProspect: function (xeroId, options) {
|
|
14738
|
+
return localVarFp.getGetProspect(xeroId, options).then(function (request) { return request(axios, basePath); });
|
|
14739
|
+
},
|
|
14740
|
+
/**
|
|
14741
|
+
* Get Prospects
|
|
14742
|
+
* @summary Get Prospects
|
|
14743
|
+
* @param {*} [options] Override http request option.
|
|
14744
|
+
* @throws {RequiredError}
|
|
14745
|
+
*/
|
|
14746
|
+
getGetProspects: function (options) {
|
|
14747
|
+
return localVarFp.getGetProspects(options).then(function (request) { return request(axios, basePath); });
|
|
14748
|
+
},
|
|
14749
|
+
/**
|
|
14750
|
+
* Remove From Prospect
|
|
14751
|
+
* @summary Remove From Prospects
|
|
14752
|
+
* @param {string} xeroId Xero ID
|
|
14753
|
+
* @param {boolean} status Status
|
|
14754
|
+
* @param {*} [options] Override http request option.
|
|
14755
|
+
* @throws {RequiredError}
|
|
14756
|
+
*/
|
|
14757
|
+
getRemoveFromProspects: function (xeroId, status, options) {
|
|
14758
|
+
return localVarFp.getRemoveFromProspects(xeroId, status, options).then(function (request) { return request(axios, basePath); });
|
|
14759
|
+
},
|
|
14760
|
+
/**
|
|
14761
|
+
* Set Call Back Date
|
|
14762
|
+
* @summary Set Call Back Date
|
|
14763
|
+
* @param {string} xeroId Xero ID
|
|
14764
|
+
* @param {string} date Callback Date
|
|
14765
|
+
* @param {*} [options] Override http request option.
|
|
14766
|
+
* @throws {RequiredError}
|
|
14767
|
+
*/
|
|
14768
|
+
getSetCallback: function (xeroId, date, options) {
|
|
14769
|
+
return localVarFp.getSetCallback(xeroId, date, options).then(function (request) { return request(axios, basePath); });
|
|
14770
|
+
},
|
|
14771
|
+
};
|
|
14772
|
+
};
|
|
14773
|
+
exports.ProspectsApiFactory = ProspectsApiFactory;
|
|
14774
|
+
/**
|
|
14775
|
+
* ProspectsApi - object-oriented interface
|
|
14776
|
+
*/
|
|
14777
|
+
var ProspectsApi = /** @class */ (function (_super) {
|
|
14778
|
+
__extends(ProspectsApi, _super);
|
|
14779
|
+
function ProspectsApi() {
|
|
14780
|
+
return _super !== null && _super.apply(this, arguments) || this;
|
|
14781
|
+
}
|
|
14782
|
+
/**
|
|
14783
|
+
* Get Prospect
|
|
14784
|
+
* @summary Get Prospect
|
|
14785
|
+
* @param {string} xeroId Xero ID
|
|
14786
|
+
* @param {*} [options] Override http request option.
|
|
14787
|
+
* @throws {RequiredError}
|
|
14788
|
+
*/
|
|
14789
|
+
ProspectsApi.prototype.getGetProspect = function (xeroId, options) {
|
|
14790
|
+
var _this = this;
|
|
14791
|
+
return (0, exports.ProspectsApiFp)(this.configuration).getGetProspect(xeroId, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
14792
|
+
};
|
|
14793
|
+
/**
|
|
14794
|
+
* Get Prospects
|
|
14795
|
+
* @summary Get Prospects
|
|
14796
|
+
* @param {*} [options] Override http request option.
|
|
14797
|
+
* @throws {RequiredError}
|
|
14798
|
+
*/
|
|
14799
|
+
ProspectsApi.prototype.getGetProspects = function (options) {
|
|
14800
|
+
var _this = this;
|
|
14801
|
+
return (0, exports.ProspectsApiFp)(this.configuration).getGetProspects(options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
14802
|
+
};
|
|
14803
|
+
/**
|
|
14804
|
+
* Remove From Prospect
|
|
14805
|
+
* @summary Remove From Prospects
|
|
14806
|
+
* @param {string} xeroId Xero ID
|
|
14807
|
+
* @param {boolean} status Status
|
|
14808
|
+
* @param {*} [options] Override http request option.
|
|
14809
|
+
* @throws {RequiredError}
|
|
14810
|
+
*/
|
|
14811
|
+
ProspectsApi.prototype.getRemoveFromProspects = function (xeroId, status, options) {
|
|
14812
|
+
var _this = this;
|
|
14813
|
+
return (0, exports.ProspectsApiFp)(this.configuration).getRemoveFromProspects(xeroId, status, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
14814
|
+
};
|
|
14815
|
+
/**
|
|
14816
|
+
* Set Call Back Date
|
|
14817
|
+
* @summary Set Call Back Date
|
|
14818
|
+
* @param {string} xeroId Xero ID
|
|
14819
|
+
* @param {string} date Callback Date
|
|
14820
|
+
* @param {*} [options] Override http request option.
|
|
14821
|
+
* @throws {RequiredError}
|
|
14822
|
+
*/
|
|
14823
|
+
ProspectsApi.prototype.getSetCallback = function (xeroId, date, options) {
|
|
14824
|
+
var _this = this;
|
|
14825
|
+
return (0, exports.ProspectsApiFp)(this.configuration).getSetCallback(xeroId, date, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
14826
|
+
};
|
|
14827
|
+
return ProspectsApi;
|
|
14828
|
+
}(base_1.BaseAPI));
|
|
14829
|
+
exports.ProspectsApi = ProspectsApi;
|
|
15099
14830
|
/**
|
|
15100
14831
|
* ProvisioningApi - axios parameter creator
|
|
15101
14832
|
*/
|
|
@@ -15124,8 +14855,8 @@ var ProvisioningApiAxiosParamCreator = function (configuration) {
|
|
|
15124
14855
|
// verify required parameter 'mac' is not null or undefined
|
|
15125
14856
|
(0, common_1.assertParamExists)('deleteAddFanvilMac', 'mac', mac);
|
|
15126
14857
|
localVarPath = "/provisioning/fanvil/groups/{id}/macs/{mac}"
|
|
15127
|
-
.replace(
|
|
15128
|
-
.replace(
|
|
14858
|
+
.replace('{id}', encodeURIComponent(String(id)))
|
|
14859
|
+
.replace('{mac}', encodeURIComponent(String(mac)));
|
|
15129
14860
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
15130
14861
|
if (configuration) {
|
|
15131
14862
|
baseOptions = configuration.baseOptions;
|
|
@@ -15162,7 +14893,7 @@ var ProvisioningApiAxiosParamCreator = function (configuration) {
|
|
|
15162
14893
|
// verify required parameter 'id' is not null or undefined
|
|
15163
14894
|
(0, common_1.assertParamExists)('deleteDeleteFanvilGroup', 'id', id);
|
|
15164
14895
|
localVarPath = "/provisioning/fanvil/groups/{id}"
|
|
15165
|
-
.replace(
|
|
14896
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
15166
14897
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
15167
14898
|
if (configuration) {
|
|
15168
14899
|
baseOptions = configuration.baseOptions;
|
|
@@ -15202,8 +14933,8 @@ var ProvisioningApiAxiosParamCreator = function (configuration) {
|
|
|
15202
14933
|
// verify required parameter 'mac' is not null or undefined
|
|
15203
14934
|
(0, common_1.assertParamExists)('getGetFanvilEncryptionKey', 'mac', mac);
|
|
15204
14935
|
localVarPath = "/provisioning/fanvil/groups/{id}/macs/{mac}/key"
|
|
15205
|
-
.replace(
|
|
15206
|
-
.replace(
|
|
14936
|
+
.replace('{id}', encodeURIComponent(String(id)))
|
|
14937
|
+
.replace('{mac}', encodeURIComponent(String(mac)));
|
|
15207
14938
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
15208
14939
|
if (configuration) {
|
|
15209
14940
|
baseOptions = configuration.baseOptions;
|
|
@@ -15241,7 +14972,7 @@ var ProvisioningApiAxiosParamCreator = function (configuration) {
|
|
|
15241
14972
|
// verify required parameter 'id' is not null or undefined
|
|
15242
14973
|
(0, common_1.assertParamExists)('getGetFanvilGroupMacs', 'id', id);
|
|
15243
14974
|
localVarPath = "/provisioning/fanvil/groups/{id}/macs"
|
|
15244
|
-
.replace(
|
|
14975
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
15245
14976
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
15246
14977
|
if (configuration) {
|
|
15247
14978
|
baseOptions = configuration.baseOptions;
|
|
@@ -15357,8 +15088,8 @@ var ProvisioningApiAxiosParamCreator = function (configuration) {
|
|
|
15357
15088
|
// verify required parameter 'mac' is not null or undefined
|
|
15358
15089
|
(0, common_1.assertParamExists)('postAddFanvilMac', 'mac', mac);
|
|
15359
15090
|
localVarPath = "/provisioning/fanvil/groups/{id}/macs/{mac}"
|
|
15360
|
-
.replace(
|
|
15361
|
-
.replace(
|
|
15091
|
+
.replace('{id}', encodeURIComponent(String(id)))
|
|
15092
|
+
.replace('{mac}', encodeURIComponent(String(mac)));
|
|
15362
15093
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
15363
15094
|
if (configuration) {
|
|
15364
15095
|
baseOptions = configuration.baseOptions;
|
|
@@ -15750,7 +15481,7 @@ var SIPTrunksApiAxiosParamCreator = function (configuration) {
|
|
|
15750
15481
|
// verify required parameter 'id' is not null or undefined
|
|
15751
15482
|
(0, common_1.assertParamExists)('deleteGetSipTrunk', 'id', id);
|
|
15752
15483
|
localVarPath = "/sip/trunks/{id}"
|
|
15753
|
-
.replace(
|
|
15484
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
15754
15485
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
15755
15486
|
if (configuration) {
|
|
15756
15487
|
baseOptions = configuration.baseOptions;
|
|
@@ -15788,7 +15519,7 @@ var SIPTrunksApiAxiosParamCreator = function (configuration) {
|
|
|
15788
15519
|
// verify required parameter 'id' is not null or undefined
|
|
15789
15520
|
(0, common_1.assertParamExists)('getCanDivert', 'id', id);
|
|
15790
15521
|
localVarPath = "/sip/trunks/{id}/diverts/allowed"
|
|
15791
|
-
.replace(
|
|
15522
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
15792
15523
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
15793
15524
|
if (configuration) {
|
|
15794
15525
|
baseOptions = configuration.baseOptions;
|
|
@@ -15826,7 +15557,7 @@ var SIPTrunksApiAxiosParamCreator = function (configuration) {
|
|
|
15826
15557
|
// verify required parameter 'id' is not null or undefined
|
|
15827
15558
|
(0, common_1.assertParamExists)('getGetAddress', 'id', id);
|
|
15828
15559
|
localVarPath = "/sip/trunks/{id}/address"
|
|
15829
|
-
.replace(
|
|
15560
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
15830
15561
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
15831
15562
|
if (configuration) {
|
|
15832
15563
|
baseOptions = configuration.baseOptions;
|
|
@@ -15935,7 +15666,7 @@ var SIPTrunksApiAxiosParamCreator = function (configuration) {
|
|
|
15935
15666
|
// verify required parameter 'id' is not null or undefined
|
|
15936
15667
|
(0, common_1.assertParamExists)('getGetCliFlexibility', 'id', id);
|
|
15937
15668
|
localVarPath = "/sip/trunks/{id}/cli/flexibility"
|
|
15938
|
-
.replace(
|
|
15669
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
15939
15670
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
15940
15671
|
if (configuration) {
|
|
15941
15672
|
baseOptions = configuration.baseOptions;
|
|
@@ -15973,7 +15704,7 @@ var SIPTrunksApiAxiosParamCreator = function (configuration) {
|
|
|
15973
15704
|
// verify required parameter 'id' is not null or undefined
|
|
15974
15705
|
(0, common_1.assertParamExists)('getGetDdis', 'id', id);
|
|
15975
15706
|
localVarPath = "/sip/trunks/{id}/ddis"
|
|
15976
|
-
.replace(
|
|
15707
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
15977
15708
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
15978
15709
|
if (configuration) {
|
|
15979
15710
|
baseOptions = configuration.baseOptions;
|
|
@@ -16012,7 +15743,7 @@ var SIPTrunksApiAxiosParamCreator = function (configuration) {
|
|
|
16012
15743
|
// verify required parameter 'id' is not null or undefined
|
|
16013
15744
|
(0, common_1.assertParamExists)('getGetDiverts', 'id', id);
|
|
16014
15745
|
localVarPath = "/sip/trunks/{id}/diverts"
|
|
16015
|
-
.replace(
|
|
15746
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
16016
15747
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
16017
15748
|
if (configuration) {
|
|
16018
15749
|
baseOptions = configuration.baseOptions;
|
|
@@ -16053,7 +15784,7 @@ var SIPTrunksApiAxiosParamCreator = function (configuration) {
|
|
|
16053
15784
|
// verify required parameter 'id' is not null or undefined
|
|
16054
15785
|
(0, common_1.assertParamExists)('getGetSipTrunk', 'id', id);
|
|
16055
15786
|
localVarPath = "/sip/trunks/{id}"
|
|
16056
|
-
.replace(
|
|
15787
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
16057
15788
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
16058
15789
|
if (configuration) {
|
|
16059
15790
|
baseOptions = configuration.baseOptions;
|
|
@@ -16140,7 +15871,7 @@ var SIPTrunksApiAxiosParamCreator = function (configuration) {
|
|
|
16140
15871
|
// verify required parameter 'enabled' is not null or undefined
|
|
16141
15872
|
(0, common_1.assertParamExists)('patchGetCliFlexibility', 'enabled', enabled);
|
|
16142
15873
|
localVarPath = "/sip/trunks/{id}/cli/flexibility"
|
|
16143
|
-
.replace(
|
|
15874
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
16144
15875
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
16145
15876
|
if (configuration) {
|
|
16146
15877
|
baseOptions = configuration.baseOptions;
|
|
@@ -16181,7 +15912,7 @@ var SIPTrunksApiAxiosParamCreator = function (configuration) {
|
|
|
16181
15912
|
// verify required parameter 'id' is not null or undefined
|
|
16182
15913
|
(0, common_1.assertParamExists)('patchSetAsAvailable', 'id', id);
|
|
16183
15914
|
localVarPath = "/sip/trunks/{id}/available"
|
|
16184
|
-
.replace(
|
|
15915
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
16185
15916
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
16186
15917
|
if (configuration) {
|
|
16187
15918
|
baseOptions = configuration.baseOptions;
|
|
@@ -16222,7 +15953,7 @@ var SIPTrunksApiAxiosParamCreator = function (configuration) {
|
|
|
16222
15953
|
// verify required parameter 'ownerId' is not null or undefined
|
|
16223
15954
|
(0, common_1.assertParamExists)('patchSetOwnership', 'ownerId', ownerId);
|
|
16224
15955
|
localVarPath = "/sip/trunks/{id}/owner"
|
|
16225
|
-
.replace(
|
|
15956
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
16226
15957
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
16227
15958
|
if (configuration) {
|
|
16228
15959
|
baseOptions = configuration.baseOptions;
|
|
@@ -16268,7 +15999,7 @@ var SIPTrunksApiAxiosParamCreator = function (configuration) {
|
|
|
16268
15999
|
// verify required parameter 'channels' is not null or undefined
|
|
16269
16000
|
(0, common_1.assertParamExists)('patchUpdateChannelCount', 'channels', channels);
|
|
16270
16001
|
localVarPath = "/sip/trunks/{id}/channels"
|
|
16271
|
-
.replace(
|
|
16002
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
16272
16003
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
16273
16004
|
if (configuration) {
|
|
16274
16005
|
baseOptions = configuration.baseOptions;
|
|
@@ -16312,7 +16043,7 @@ var SIPTrunksApiAxiosParamCreator = function (configuration) {
|
|
|
16312
16043
|
// verify required parameter 'company' is not null or undefined
|
|
16313
16044
|
(0, common_1.assertParamExists)('patchUpdateCompanyName', 'company', company);
|
|
16314
16045
|
localVarPath = "/sip/trunks/{id}/company"
|
|
16315
|
-
.replace(
|
|
16046
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
16316
16047
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
16317
16048
|
if (configuration) {
|
|
16318
16049
|
baseOptions = configuration.baseOptions;
|
|
@@ -16356,7 +16087,7 @@ var SIPTrunksApiAxiosParamCreator = function (configuration) {
|
|
|
16356
16087
|
// verify required parameter 'number' is not null or undefined
|
|
16357
16088
|
(0, common_1.assertParamExists)('patchUpdateMainTrunkNumber', 'number', number);
|
|
16358
16089
|
localVarPath = "/sip/trunks/{id}/number"
|
|
16359
|
-
.replace(
|
|
16090
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
16360
16091
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
16361
16092
|
if (configuration) {
|
|
16362
16093
|
baseOptions = configuration.baseOptions;
|
|
@@ -16400,7 +16131,7 @@ var SIPTrunksApiAxiosParamCreator = function (configuration) {
|
|
|
16400
16131
|
// verify required parameter 'ipAddress' is not null or undefined
|
|
16401
16132
|
(0, common_1.assertParamExists)('patchUpdatePbxIPAddress', 'ipAddress', ipAddress);
|
|
16402
16133
|
localVarPath = "/sip/trunks/{id}/pbx/ip"
|
|
16403
|
-
.replace(
|
|
16134
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
16404
16135
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
16405
16136
|
if (configuration) {
|
|
16406
16137
|
baseOptions = configuration.baseOptions;
|
|
@@ -16442,7 +16173,7 @@ var SIPTrunksApiAxiosParamCreator = function (configuration) {
|
|
|
16442
16173
|
// verify required parameter 'id' is not null or undefined
|
|
16443
16174
|
(0, common_1.assertParamExists)('postGetDdis', 'id', id);
|
|
16444
16175
|
localVarPath = "/sip/trunks/{id}/ddis"
|
|
16445
|
-
.replace(
|
|
16176
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
16446
16177
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
16447
16178
|
if (configuration) {
|
|
16448
16179
|
baseOptions = configuration.baseOptions;
|
|
@@ -16594,7 +16325,7 @@ var SIPTrunksApiAxiosParamCreator = function (configuration) {
|
|
|
16594
16325
|
// verify required parameter 'id' is not null or undefined
|
|
16595
16326
|
(0, common_1.assertParamExists)('putGetAddress', 'id', id);
|
|
16596
16327
|
localVarPath = "/sip/trunks/{id}/address"
|
|
16597
|
-
.replace(
|
|
16328
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
16598
16329
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
16599
16330
|
if (configuration) {
|
|
16600
16331
|
baseOptions = configuration.baseOptions;
|
|
@@ -16638,7 +16369,7 @@ var SIPTrunksApiAxiosParamCreator = function (configuration) {
|
|
|
16638
16369
|
// verify required parameter 'enabled' is not null or undefined
|
|
16639
16370
|
(0, common_1.assertParamExists)('putGetDiverts', 'enabled', enabled);
|
|
16640
16371
|
localVarPath = "/sip/trunks/{id}/diverts"
|
|
16641
|
-
.replace(
|
|
16372
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
16642
16373
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
16643
16374
|
if (configuration) {
|
|
16644
16375
|
baseOptions = configuration.baseOptions;
|
|
@@ -18044,7 +17775,7 @@ var ServicesApiAxiosParamCreator = function (configuration) {
|
|
|
18044
17775
|
// verify required parameter 'id' is not null or undefined
|
|
18045
17776
|
(0, common_1.assertParamExists)('patchArchiveEvent', 'id', id);
|
|
18046
17777
|
localVarPath = "/services/events/{id}/archive"
|
|
18047
|
-
.replace(
|
|
17778
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
18048
17779
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
18049
17780
|
if (configuration) {
|
|
18050
17781
|
baseOptions = configuration.baseOptions;
|
|
@@ -18082,7 +17813,7 @@ var ServicesApiAxiosParamCreator = function (configuration) {
|
|
|
18082
17813
|
// verify required parameter 'id' is not null or undefined
|
|
18083
17814
|
(0, common_1.assertParamExists)('patchUpdateEvent', 'id', id);
|
|
18084
17815
|
localVarPath = "/services/events/{id}"
|
|
18085
|
-
.replace(
|
|
17816
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
18086
17817
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
18087
17818
|
if (configuration) {
|
|
18088
17819
|
baseOptions = configuration.baseOptions;
|
|
@@ -18158,7 +17889,7 @@ var ServicesApiAxiosParamCreator = function (configuration) {
|
|
|
18158
17889
|
// verify required parameter 'id' is not null or undefined
|
|
18159
17890
|
(0, common_1.assertParamExists)('postCreateEventUpdate', 'id', id);
|
|
18160
17891
|
localVarPath = "/services/events/{id}/updates"
|
|
18161
|
-
.replace(
|
|
17892
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
18162
17893
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
18163
17894
|
if (configuration) {
|
|
18164
17895
|
baseOptions = configuration.baseOptions;
|
|
@@ -18774,7 +18505,7 @@ var StockManagementApiAxiosParamCreator = function (configuration) {
|
|
|
18774
18505
|
// verify required parameter 'id' is not null or undefined
|
|
18775
18506
|
(0, common_1.assertParamExists)('deleteDeleteStockOrder', 'id', id);
|
|
18776
18507
|
localVarPath = "/stock/orders/{id}"
|
|
18777
|
-
.replace(
|
|
18508
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
18778
18509
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
18779
18510
|
if (configuration) {
|
|
18780
18511
|
baseOptions = configuration.baseOptions;
|
|
@@ -18814,8 +18545,8 @@ var StockManagementApiAxiosParamCreator = function (configuration) {
|
|
|
18814
18545
|
// verify required parameter 'deductionId' is not null or undefined
|
|
18815
18546
|
(0, common_1.assertParamExists)('deleteDeleteStockOrderDeduction', 'deductionId', deductionId);
|
|
18816
18547
|
localVarPath = "/stock/orders/{order_id}/deductions/{deduction_id}"
|
|
18817
|
-
.replace(
|
|
18818
|
-
.replace(
|
|
18548
|
+
.replace('{order_id}', encodeURIComponent(String(orderId)))
|
|
18549
|
+
.replace('{deduction_id}', encodeURIComponent(String(deductionId)));
|
|
18819
18550
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
18820
18551
|
if (configuration) {
|
|
18821
18552
|
baseOptions = configuration.baseOptions;
|
|
@@ -18855,8 +18586,8 @@ var StockManagementApiAxiosParamCreator = function (configuration) {
|
|
|
18855
18586
|
// verify required parameter 'itemId' is not null or undefined
|
|
18856
18587
|
(0, common_1.assertParamExists)('deleteDeleteStockOrderItem', 'itemId', itemId);
|
|
18857
18588
|
localVarPath = "/stock/orders/{order_id}/items/{item_id}"
|
|
18858
|
-
.replace(
|
|
18859
|
-
.replace(
|
|
18589
|
+
.replace('{order_id}', encodeURIComponent(String(orderId)))
|
|
18590
|
+
.replace('{item_id}', encodeURIComponent(String(itemId)));
|
|
18860
18591
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
18861
18592
|
if (configuration) {
|
|
18862
18593
|
baseOptions = configuration.baseOptions;
|
|
@@ -18893,7 +18624,7 @@ var StockManagementApiAxiosParamCreator = function (configuration) {
|
|
|
18893
18624
|
// verify required parameter 'id' is not null or undefined
|
|
18894
18625
|
(0, common_1.assertParamExists)('deleteGetStockProduct', 'id', id);
|
|
18895
18626
|
localVarPath = "/stock/products/{id}"
|
|
18896
|
-
.replace(
|
|
18627
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
18897
18628
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
18898
18629
|
if (configuration) {
|
|
18899
18630
|
baseOptions = configuration.baseOptions;
|
|
@@ -18930,7 +18661,7 @@ var StockManagementApiAxiosParamCreator = function (configuration) {
|
|
|
18930
18661
|
// verify required parameter 'id' is not null or undefined
|
|
18931
18662
|
(0, common_1.assertParamExists)('getDeleteStockOrder', 'id', id);
|
|
18932
18663
|
localVarPath = "/stock/orders/{id}"
|
|
18933
|
-
.replace(
|
|
18664
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
18934
18665
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
18935
18666
|
if (configuration) {
|
|
18936
18667
|
baseOptions = configuration.baseOptions;
|
|
@@ -18968,7 +18699,7 @@ var StockManagementApiAxiosParamCreator = function (configuration) {
|
|
|
18968
18699
|
// verify required parameter 'sku' is not null or undefined
|
|
18969
18700
|
(0, common_1.assertParamExists)('getGetProductDetails', 'sku', sku);
|
|
18970
18701
|
localVarPath = "/stock/products/{sku}/details"
|
|
18971
|
-
.replace(
|
|
18702
|
+
.replace('{sku}', encodeURIComponent(String(sku)));
|
|
18972
18703
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
18973
18704
|
if (configuration) {
|
|
18974
18705
|
baseOptions = configuration.baseOptions;
|
|
@@ -19006,7 +18737,7 @@ var StockManagementApiAxiosParamCreator = function (configuration) {
|
|
|
19006
18737
|
// verify required parameter 'id' is not null or undefined
|
|
19007
18738
|
(0, common_1.assertParamExists)('getGetStockOrderPurchaseOrder', 'id', id);
|
|
19008
18739
|
localVarPath = "/stock/orders/{id}/po"
|
|
19009
|
-
.replace(
|
|
18740
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
19010
18741
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
19011
18742
|
if (configuration) {
|
|
19012
18743
|
baseOptions = configuration.baseOptions;
|
|
@@ -19044,7 +18775,7 @@ var StockManagementApiAxiosParamCreator = function (configuration) {
|
|
|
19044
18775
|
// verify required parameter 'id' is not null or undefined
|
|
19045
18776
|
(0, common_1.assertParamExists)('getGetStockOrderSupplierEmail', 'id', id);
|
|
19046
18777
|
localVarPath = "/stock/orders/{id}/supplier/email"
|
|
19047
|
-
.replace(
|
|
18778
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
19048
18779
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
19049
18780
|
if (configuration) {
|
|
19050
18781
|
baseOptions = configuration.baseOptions;
|
|
@@ -19132,7 +18863,7 @@ var StockManagementApiAxiosParamCreator = function (configuration) {
|
|
|
19132
18863
|
// verify required parameter 'id' is not null or undefined
|
|
19133
18864
|
(0, common_1.assertParamExists)('getGetStockProduct', 'id', id);
|
|
19134
18865
|
localVarPath = "/stock/products/{id}"
|
|
19135
|
-
.replace(
|
|
18866
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
19136
18867
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
19137
18868
|
if (configuration) {
|
|
19138
18869
|
baseOptions = configuration.baseOptions;
|
|
@@ -19250,7 +18981,7 @@ var StockManagementApiAxiosParamCreator = function (configuration) {
|
|
|
19250
18981
|
// verify required parameter 'id' is not null or undefined
|
|
19251
18982
|
(0, common_1.assertParamExists)('getGetStockSupplierProducts', 'id', id);
|
|
19252
18983
|
localVarPath = "/stock/suppliers/{id}/products"
|
|
19253
|
-
.replace(
|
|
18984
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
19254
18985
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
19255
18986
|
if (configuration) {
|
|
19256
18987
|
baseOptions = configuration.baseOptions;
|
|
@@ -19288,7 +19019,7 @@ var StockManagementApiAxiosParamCreator = function (configuration) {
|
|
|
19288
19019
|
// verify required parameter 'id' is not null or undefined
|
|
19289
19020
|
(0, common_1.assertParamExists)('getUploadStockOrderInvoice', 'id', id);
|
|
19290
19021
|
localVarPath = "/stock/orders/{id}/invoice"
|
|
19291
|
-
.replace(
|
|
19022
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
19292
19023
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
19293
19024
|
if (configuration) {
|
|
19294
19025
|
baseOptions = configuration.baseOptions;
|
|
@@ -19327,7 +19058,7 @@ var StockManagementApiAxiosParamCreator = function (configuration) {
|
|
|
19327
19058
|
// verify required parameter 'id' is not null or undefined
|
|
19328
19059
|
(0, common_1.assertParamExists)('patchDeleteStockOrder', 'id', id);
|
|
19329
19060
|
localVarPath = "/stock/orders/{id}"
|
|
19330
|
-
.replace(
|
|
19061
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
19331
19062
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
19332
19063
|
if (configuration) {
|
|
19333
19064
|
baseOptions = configuration.baseOptions;
|
|
@@ -19371,8 +19102,8 @@ var StockManagementApiAxiosParamCreator = function (configuration) {
|
|
|
19371
19102
|
// verify required parameter 'deductionId' is not null or undefined
|
|
19372
19103
|
(0, common_1.assertParamExists)('patchDeleteStockOrderDeduction', 'deductionId', deductionId);
|
|
19373
19104
|
localVarPath = "/stock/orders/{order_id}/deductions/{deduction_id}"
|
|
19374
|
-
.replace(
|
|
19375
|
-
.replace(
|
|
19105
|
+
.replace('{order_id}', encodeURIComponent(String(orderId)))
|
|
19106
|
+
.replace('{deduction_id}', encodeURIComponent(String(deductionId)));
|
|
19376
19107
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
19377
19108
|
if (configuration) {
|
|
19378
19109
|
baseOptions = configuration.baseOptions;
|
|
@@ -19416,8 +19147,8 @@ var StockManagementApiAxiosParamCreator = function (configuration) {
|
|
|
19416
19147
|
// verify required parameter 'itemId' is not null or undefined
|
|
19417
19148
|
(0, common_1.assertParamExists)('patchDeleteStockOrderItem', 'itemId', itemId);
|
|
19418
19149
|
localVarPath = "/stock/orders/{order_id}/items/{item_id}"
|
|
19419
|
-
.replace(
|
|
19420
|
-
.replace(
|
|
19150
|
+
.replace('{order_id}', encodeURIComponent(String(orderId)))
|
|
19151
|
+
.replace('{item_id}', encodeURIComponent(String(itemId)));
|
|
19421
19152
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
19422
19153
|
if (configuration) {
|
|
19423
19154
|
baseOptions = configuration.baseOptions;
|
|
@@ -19458,7 +19189,7 @@ var StockManagementApiAxiosParamCreator = function (configuration) {
|
|
|
19458
19189
|
// verify required parameter 'id' is not null or undefined
|
|
19459
19190
|
(0, common_1.assertParamExists)('postAddStockOrderDeduction', 'id', id);
|
|
19460
19191
|
localVarPath = "/stock/orders/{id}/deductions"
|
|
19461
|
-
.replace(
|
|
19192
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
19462
19193
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
19463
19194
|
if (configuration) {
|
|
19464
19195
|
baseOptions = configuration.baseOptions;
|
|
@@ -19499,7 +19230,7 @@ var StockManagementApiAxiosParamCreator = function (configuration) {
|
|
|
19499
19230
|
// verify required parameter 'id' is not null or undefined
|
|
19500
19231
|
(0, common_1.assertParamExists)('postAddStockOrderItem', 'id', id);
|
|
19501
19232
|
localVarPath = "/stock/orders/{id}/items"
|
|
19502
|
-
.replace(
|
|
19233
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
19503
19234
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
19504
19235
|
if (configuration) {
|
|
19505
19236
|
baseOptions = configuration.baseOptions;
|
|
@@ -19616,7 +19347,7 @@ var StockManagementApiAxiosParamCreator = function (configuration) {
|
|
|
19616
19347
|
// verify required parameter 'invoice' is not null or undefined
|
|
19617
19348
|
(0, common_1.assertParamExists)('postUploadStockOrderInvoice', 'invoice', invoice);
|
|
19618
19349
|
localVarPath = "/stock/orders/{id}/invoice"
|
|
19619
|
-
.replace(
|
|
19350
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
19620
19351
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
19621
19352
|
if (configuration) {
|
|
19622
19353
|
baseOptions = configuration.baseOptions;
|
|
@@ -19660,7 +19391,7 @@ var StockManagementApiAxiosParamCreator = function (configuration) {
|
|
|
19660
19391
|
// verify required parameter 'id' is not null or undefined
|
|
19661
19392
|
(0, common_1.assertParamExists)('putGetStockProduct', 'id', id);
|
|
19662
19393
|
localVarPath = "/stock/products/{id}"
|
|
19663
|
-
.replace(
|
|
19394
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
19664
19395
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
19665
19396
|
if (configuration) {
|
|
19666
19397
|
baseOptions = configuration.baseOptions;
|
|
@@ -19706,8 +19437,8 @@ var StockManagementApiAxiosParamCreator = function (configuration) {
|
|
|
19706
19437
|
// verify required parameter 'received' is not null or undefined
|
|
19707
19438
|
(0, common_1.assertParamExists)('putReceiveStockOrderItem', 'received', received);
|
|
19708
19439
|
localVarPath = "/stock/orders/{order_id}/items/{item_id}/receive"
|
|
19709
|
-
.replace(
|
|
19710
|
-
.replace(
|
|
19440
|
+
.replace('{order_id}', encodeURIComponent(String(orderId)))
|
|
19441
|
+
.replace('{item_id}', encodeURIComponent(String(itemId)));
|
|
19711
19442
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
19712
19443
|
if (configuration) {
|
|
19713
19444
|
baseOptions = configuration.baseOptions;
|
|
@@ -21101,7 +20832,7 @@ var TicketsApiAxiosParamCreator = function (configuration) {
|
|
|
21101
20832
|
// verify required parameter 'id' is not null or undefined
|
|
21102
20833
|
(0, common_1.assertParamExists)('getGetTicket', 'id', id);
|
|
21103
20834
|
localVarPath = "/tickets/support/{id}"
|
|
21104
|
-
.replace(
|
|
20835
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
21105
20836
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
21106
20837
|
if (configuration) {
|
|
21107
20838
|
baseOptions = configuration.baseOptions;
|
|
@@ -21138,7 +20869,7 @@ var TicketsApiAxiosParamCreator = function (configuration) {
|
|
|
21138
20869
|
// verify required parameter 'id' is not null or undefined
|
|
21139
20870
|
(0, common_1.assertParamExists)('patchCloseTicket', 'id', id);
|
|
21140
20871
|
localVarPath = "/tickets/support/{id}/close"
|
|
21141
|
-
.replace(
|
|
20872
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
21142
20873
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
21143
20874
|
if (configuration) {
|
|
21144
20875
|
baseOptions = configuration.baseOptions;
|
|
@@ -21227,7 +20958,7 @@ var TicketsApiAxiosParamCreator = function (configuration) {
|
|
|
21227
20958
|
// verify required parameter 'id' is not null or undefined
|
|
21228
20959
|
(0, common_1.assertParamExists)('postTicketReply', 'id', id);
|
|
21229
20960
|
localVarPath = "/tickets/support/{id}/reply"
|
|
21230
|
-
.replace(
|
|
20961
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
21231
20962
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
21232
20963
|
if (configuration) {
|
|
21233
20964
|
baseOptions = configuration.baseOptions;
|
|
@@ -21723,5 +21454,5 @@ exports.PostAddWebhookWebhookUriEnum = {
|
|
|
21723
21454
|
WebhookFreshdeskUpdate: '/webhook/freshdesk/update',
|
|
21724
21455
|
WebhookTest: '/webhook/test',
|
|
21725
21456
|
WebhookXeroInvoices: '/webhook/xero/invoices',
|
|
21726
|
-
WebhookTcxPhonesAdd: '/webhook/tcx/phones/add'
|
|
21457
|
+
WebhookTcxPhonesAdd: '/webhook/tcx/phones/add',
|
|
21727
21458
|
};
|