yellowgrid-api-ts 3.2.147-dev.0 → 3.2.148
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 +291 -284
- package/.openapi-generator/VERSION +1 -1
- package/README.md +14 -3
- package/api.ts +932 -346
- 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 +466 -87
- package/dist/api.js +808 -298
- 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/HostingPriceListEnum.d.ts +28 -0
- package/dist/models/HostingPriceListEnum.js +30 -0
- package/dist/models/PaymentMethodEnum.d.ts +13 -0
- package/dist/models/PaymentMethodEnum.js +15 -0
- package/dist/models/UserGroupEnum.d.ts +28 -0
- package/dist/models/UserGroupEnum.js +30 -0
- package/docs/AbstractOrderRequestDTO.md +1 -1
- package/docs/AccountAddressesDTO.md +25 -0
- package/docs/AccountsApi.md +76 -28
- package/docs/AdminOrderRequestDTO.md +3 -1
- package/docs/AdminUserModel.md +4 -0
- package/docs/BillingApi.md +55 -0
- package/docs/CRMApi.md +3 -3
- package/docs/Class3CXApi.md +49 -1
- package/docs/Class3CXInstallationWizardApi.md +1 -1
- package/docs/Class3CXInstallationsApi.md +56 -1
- package/docs/Class3CXIntegrationsApi.md +1 -1
- package/docs/Class3CXMultiTenantApi.md +1 -1
- package/docs/CreditAccountEntity.md +4 -0
- package/docs/{CrmActivityDto.md → CrmActivityDTO.md} +1 -1
- package/docs/CrmDateActivitiesDTO.md +1 -1
- package/docs/CustomerOrderRequestDTO.md +1 -1
- package/docs/DetailedOrderRequestDTO.md +1 -1
- package/docs/MyPBXToolsApi.md +1 -1
- package/docs/NumberPortingApi.md +1 -1
- package/docs/OAuth20Api.md +49 -1
- package/docs/OrderDTO.md +25 -0
- package/docs/OrderResponseDTO.md +25 -0
- package/docs/OrdersApi.md +57 -1
- package/docs/PartnerDTO.md +2 -2
- package/docs/PortalAccountModel.md +4 -2
- package/docs/PricingApi.md +1 -1
- package/docs/ProductSummaryDTO.md +2 -2
- package/docs/ProductsApi.md +1 -1
- package/docs/ProspectDTO.md +2 -2
- package/docs/ProspectsApi.md +1 -1
- package/docs/ProvisioningApi.md +1 -1
- package/docs/RecordingBackupAzureModel.md +2 -0
- package/docs/RecordingsBackupInfoDTO.md +2 -2
- package/docs/SIPTrunksApi.md +1 -1
- package/docs/SMSApi.md +1 -1
- package/docs/SbcDTO.md +35 -0
- package/docs/ServicesApi.md +1 -1
- package/docs/ShipmentRequestDTO.md +2 -2
- package/docs/ShippingAddressDTO.md +35 -0
- package/docs/ShippingApi.md +1 -1
- package/docs/StockManagementApi.md +1 -1
- package/docs/SystemApi.md +1 -1
- package/docs/TableHistoryEntity.md +35 -0
- package/docs/TcxKeySummaryDTO.md +1 -1
- package/docs/TicketsApi.md +1 -1
- package/docs/WebhooksApi.md +1 -1
- package/getEnums.php +31 -31
- package/index.ts +1 -1
- package/models/HostingPriceListEnum.ts +29 -0
- package/models/PaymentMethodEnum.ts +14 -0
- package/models/UserGroupEnum.ts +29 -0
- package/openapitools.json +1 -1
- package/package.json +2 -2
- package/dist/models/StatusEnum.d.ts +0 -18
- package/dist/models/StatusEnum.js +0 -20
- package/dist/src/apis/AccountsApi.d.ts +0 -258
- package/dist/src/apis/AccountsApi.js +0 -975
- package/dist/src/apis/CRMApi.d.ts +0 -26
- package/dist/src/apis/CRMApi.js +0 -122
- package/dist/src/apis/Class3CXApi.d.ts +0 -44
- package/dist/src/apis/Class3CXApi.js +0 -177
- package/dist/src/apis/Class3CXInstallationWizardApi.d.ts +0 -446
- package/dist/src/apis/Class3CXInstallationWizardApi.js +0 -1740
- package/dist/src/apis/Class3CXInstallationsApi.d.ts +0 -253
- package/dist/src/apis/Class3CXInstallationsApi.js +0 -806
- package/dist/src/apis/Class3CXIntegrationsApi.d.ts +0 -102
- package/dist/src/apis/Class3CXIntegrationsApi.js +0 -386
- package/dist/src/apis/Class3CXMultiTenantApi.d.ts +0 -122
- package/dist/src/apis/Class3CXMultiTenantApi.js +0 -431
- package/dist/src/apis/MyPBXToolsApi.d.ts +0 -32
- package/dist/src/apis/MyPBXToolsApi.js +0 -136
- package/dist/src/apis/OAuth20Api.d.ts +0 -185
- package/dist/src/apis/OAuth20Api.js +0 -507
- package/dist/src/apis/OrdersApi.d.ts +0 -154
- package/dist/src/apis/OrdersApi.js +0 -512
- package/dist/src/apis/PricingApi.d.ts +0 -154
- package/dist/src/apis/PricingApi.js +0 -308
- package/dist/src/apis/ProductsApi.d.ts +0 -135
- package/dist/src/apis/ProductsApi.js +0 -531
- package/dist/src/apis/ProvisioningApi.d.ts +0 -112
- package/dist/src/apis/ProvisioningApi.js +0 -427
- package/dist/src/apis/SIPTrunksApi.d.ts +0 -315
- package/dist/src/apis/SIPTrunksApi.js +0 -1197
- package/dist/src/apis/SMSApi.d.ts +0 -30
- package/dist/src/apis/SMSApi.js +0 -130
- package/dist/src/apis/ServicesApi.d.ts +0 -81
- package/dist/src/apis/ServicesApi.js +0 -386
- package/dist/src/apis/ShippingApi.d.ts +0 -45
- package/dist/src/apis/ShippingApi.js +0 -179
- package/dist/src/apis/StockManagementApi.d.ts +0 -345
- package/dist/src/apis/StockManagementApi.js +0 -1293
- package/dist/src/apis/SystemApi.d.ts +0 -37
- package/dist/src/apis/SystemApi.js +0 -146
- package/dist/src/apis/TicketsApi.d.ts +0 -79
- package/dist/src/apis/TicketsApi.js +0 -360
- package/dist/src/apis/WebhooksApi.d.ts +0 -56
- package/dist/src/apis/WebhooksApi.js +0 -189
- package/dist/src/apis/index.d.ts +0 -21
- package/dist/src/apis/index.js +0 -39
- package/dist/src/index.d.ts +0 -3
- package/dist/src/index.js +0 -21
- package/dist/src/models/AbstractOrderRequestDTO.d.ts +0 -71
- package/dist/src/models/AbstractOrderRequestDTO.js +0 -64
- package/dist/src/models/AccountContactEntity.d.ts +0 -104
- package/dist/src/models/AccountContactEntity.js +0 -73
- package/dist/src/models/AccountContactModel.d.ts +0 -104
- package/dist/src/models/AccountContactModel.js +0 -73
- package/dist/src/models/AccountContactRequestModel.d.ts +0 -80
- package/dist/src/models/AccountContactRequestModel.js +0 -65
- package/dist/src/models/AccountDetailedSummaryDTO.d.ts +0 -89
- package/dist/src/models/AccountDetailedSummaryDTO.js +0 -70
- package/dist/src/models/AccountRequestModel.d.ts +0 -128
- package/dist/src/models/AccountRequestModel.js +0 -81
- package/dist/src/models/AccountSummaryDTO.d.ts +0 -44
- package/dist/src/models/AccountSummaryDTO.js +0 -53
- package/dist/src/models/AccountsResponseModel.d.ts +0 -51
- package/dist/src/models/AccountsResponseModel.js +0 -56
- package/dist/src/models/AddressModel.d.ts +0 -110
- package/dist/src/models/AddressModel.js +0 -75
- package/dist/src/models/AddressRequestModel.d.ts +0 -50
- package/dist/src/models/AddressRequestModel.js +0 -55
- package/dist/src/models/AdminOrderRequestDTO.d.ts +0 -113
- package/dist/src/models/AdminOrderRequestDTO.js +0 -78
- package/dist/src/models/AdminUserModel.d.ts +0 -79
- package/dist/src/models/AdminUserModel.js +0 -72
- package/dist/src/models/AgentHoursGraphModel.d.ts +0 -51
- package/dist/src/models/AgentHoursGraphModel.js +0 -56
- package/dist/src/models/AgentHoursGraphMonthModel.d.ts +0 -38
- package/dist/src/models/AgentHoursGraphMonthModel.js +0 -51
- package/dist/src/models/ApiLogEntity.d.ts +0 -98
- package/dist/src/models/ApiLogEntity.js +0 -71
- package/dist/src/models/AreaCodeModel.d.ts +0 -38
- package/dist/src/models/AreaCodeModel.js +0 -51
- package/dist/src/models/AttachmentModel.d.ts +0 -56
- package/dist/src/models/AttachmentModel.js +0 -57
- package/dist/src/models/AttributeSetEnum.d.ts +0 -38
- package/dist/src/models/AttributeSetEnum.js +0 -51
- package/dist/src/models/AuditLogEntity.d.ts +0 -80
- package/dist/src/models/AuditLogEntity.js +0 -65
- package/dist/src/models/AuthCodeResponseModel.d.ts +0 -44
- package/dist/src/models/AuthCodeResponseModel.js +0 -53
- package/dist/src/models/BasicItemDTO.d.ts +0 -38
- package/dist/src/models/BasicItemDTO.js +0 -51
- package/dist/src/models/BasicProductDTO.d.ts +0 -38
- package/dist/src/models/BasicProductDTO.js +0 -51
- package/dist/src/models/BatchEntity.d.ts +0 -128
- package/dist/src/models/BatchEntity.js +0 -81
- package/dist/src/models/CallBarringModel.d.ts +0 -56
- package/dist/src/models/CallBarringModel.js +0 -57
- package/dist/src/models/ClientDetailsModel.d.ts +0 -68
- package/dist/src/models/ClientDetailsModel.js +0 -61
- package/dist/src/models/ClientModel.d.ts +0 -50
- package/dist/src/models/ClientModel.js +0 -55
- package/dist/src/models/CompanyContractModel.d.ts +0 -56
- package/dist/src/models/CompanyContractModel.js +0 -57
- package/dist/src/models/ContactInfoModel.d.ts +0 -56
- package/dist/src/models/ContactInfoModel.js +0 -57
- package/dist/src/models/ConversationModel.d.ts +0 -75
- package/dist/src/models/ConversationModel.js +0 -64
- package/dist/src/models/CourierPriceEntity.d.ts +0 -86
- package/dist/src/models/CourierPriceEntity.js +0 -67
- package/dist/src/models/CreditAccountEntity.d.ts +0 -152
- package/dist/src/models/CreditAccountEntity.js +0 -89
- package/dist/src/models/CrmContactDTO.d.ts +0 -68
- package/dist/src/models/CrmContactDTO.js +0 -61
- package/dist/src/models/CustomerInformationModel.d.ts +0 -68
- package/dist/src/models/CustomerInformationModel.js +0 -61
- package/dist/src/models/CustomerItemRequestDTO.d.ts +0 -81
- package/dist/src/models/CustomerItemRequestDTO.js +0 -66
- package/dist/src/models/CustomerOrderRequestDTO.d.ts +0 -71
- package/dist/src/models/CustomerOrderRequestDTO.js +0 -64
- package/dist/src/models/CustomerPriceListEnum.d.ts +0 -38
- package/dist/src/models/CustomerPriceListEnum.js +0 -51
- package/dist/src/models/CustomerSummaryReportDTO.d.ts +0 -65
- package/dist/src/models/CustomerSummaryReportDTO.js +0 -62
- package/dist/src/models/DdiRangeRequestModel.d.ts +0 -44
- package/dist/src/models/DdiRangeRequestModel.js +0 -53
- package/dist/src/models/DdiRangesRequestModel.d.ts +0 -33
- package/dist/src/models/DdiRangesRequestModel.js +0 -50
- package/dist/src/models/DetailedItemRequestDTO.d.ts +0 -99
- package/dist/src/models/DetailedItemRequestDTO.js +0 -72
- package/dist/src/models/DetailedOrderRequestDTO.d.ts +0 -71
- package/dist/src/models/DetailedOrderRequestDTO.js +0 -64
- package/dist/src/models/DivertRequestModel.d.ts +0 -38
- package/dist/src/models/DivertRequestModel.js +0 -51
- package/dist/src/models/DivertResponseModel.d.ts +0 -52
- package/dist/src/models/DivertResponseModel.js +0 -61
- package/dist/src/models/EdTechProClientEntity.d.ts +0 -56
- package/dist/src/models/EdTechProClientEntity.js +0 -57
- package/dist/src/models/EdTechProSchoolModel.d.ts +0 -104
- package/dist/src/models/EdTechProSchoolModel.js +0 -73
- package/dist/src/models/EdTechProSchoolsModel.d.ts +0 -51
- package/dist/src/models/EdTechProSchoolsModel.js +0 -56
- package/dist/src/models/EdTechProSetupModel.d.ts +0 -56
- package/dist/src/models/EdTechProSetupModel.js +0 -57
- package/dist/src/models/EventDTO.d.ts +0 -84
- package/dist/src/models/EventDTO.js +0 -73
- package/dist/src/models/EventRequestDTO.d.ts +0 -44
- package/dist/src/models/EventRequestDTO.js +0 -53
- package/dist/src/models/EventSubscriptionModel.d.ts +0 -38
- package/dist/src/models/EventSubscriptionModel.js +0 -51
- package/dist/src/models/EventTypeEnum.d.ts +0 -19
- package/dist/src/models/EventTypeEnum.js +0 -24
- package/dist/src/models/EventUpdateDTO.d.ts +0 -50
- package/dist/src/models/EventUpdateDTO.js +0 -55
- package/dist/src/models/EventUpdateEntity.d.ts +0 -56
- package/dist/src/models/EventUpdateEntity.js +0 -57
- package/dist/src/models/EventUpdateRequestDTO.d.ts +0 -44
- package/dist/src/models/EventUpdateRequestDTO.js +0 -53
- package/dist/src/models/FraudManagementModel.d.ts +0 -38
- package/dist/src/models/FraudManagementModel.js +0 -51
- package/dist/src/models/FreshdeskCompanyTicketsModel.d.ts +0 -51
- package/dist/src/models/FreshdeskCompanyTicketsModel.js +0 -56
- package/dist/src/models/FreshdeskTicketEntity.d.ts +0 -68
- package/dist/src/models/FreshdeskTicketEntity.js +0 -61
- package/dist/src/models/FtpAccountsEntity.d.ts +0 -56
- package/dist/src/models/FtpAccountsEntity.js +0 -57
- package/dist/src/models/GenericFileModel.d.ts +0 -44
- package/dist/src/models/GenericFileModel.js +0 -53
- package/dist/src/models/GetGetPrice200Response.d.ts +0 -32
- package/dist/src/models/GetGetPrice200Response.js +0 -49
- package/dist/src/models/GetGetRecording200Response.d.ts +0 -32
- package/dist/src/models/GetGetRecording200Response.js +0 -49
- package/dist/src/models/HostingChangeResponseModel.d.ts +0 -64
- package/dist/src/models/HostingChangeResponseModel.js +0 -65
- package/dist/src/models/HostingRegionDTO.d.ts +0 -59
- package/dist/src/models/HostingRegionDTO.js +0 -68
- package/dist/src/models/InstanceAutoFailoverEntity.d.ts +0 -56
- package/dist/src/models/InstanceAutoFailoverEntity.js +0 -57
- package/dist/src/models/InstanceDeletionScheduleEntity.d.ts +0 -50
- package/dist/src/models/InstanceDeletionScheduleEntity.js +0 -55
- package/dist/src/models/InstanceEntity.d.ts +0 -152
- package/dist/src/models/InstanceEntity.js +0 -89
- package/dist/src/models/InstanceFailoverEntity.d.ts +0 -92
- package/dist/src/models/InstanceFailoverEntity.js +0 -69
- package/dist/src/models/InstanceMonitoringEntity.d.ts +0 -44
- package/dist/src/models/InstanceMonitoringEntity.js +0 -53
- package/dist/src/models/InstanceMonitoringLogEntity.d.ts +0 -62
- package/dist/src/models/InstanceMonitoringLogEntity.js +0 -59
- package/dist/src/models/InstanceScheduledTasksEntity.d.ts +0 -62
- package/dist/src/models/InstanceScheduledTasksEntity.js +0 -59
- package/dist/src/models/InstanceTcxDetailsEntity.d.ts +0 -86
- package/dist/src/models/InstanceTcxDetailsEntity.js +0 -67
- package/dist/src/models/InstanceUserCredentialsEntity.d.ts +0 -56
- package/dist/src/models/InstanceUserCredentialsEntity.js +0 -57
- package/dist/src/models/ItemDTO.d.ts +0 -117
- package/dist/src/models/ItemDTO.js +0 -78
- package/dist/src/models/ItemDiscountEntity.d.ts +0 -77
- package/dist/src/models/ItemDiscountEntity.js +0 -70
- package/dist/src/models/ItemEntity.d.ts +0 -158
- package/dist/src/models/ItemEntity.js +0 -91
- package/dist/src/models/LinkedOrderEntity.d.ts +0 -38
- package/dist/src/models/LinkedOrderEntity.js +0 -51
- package/dist/src/models/MFARequiredModel.d.ts +0 -38
- package/dist/src/models/MFARequiredModel.js +0 -51
- package/dist/src/models/MonthlyUsageModel.d.ts +0 -38
- package/dist/src/models/MonthlyUsageModel.js +0 -51
- package/dist/src/models/MultiTenantChangeResponseModel.d.ts +0 -70
- package/dist/src/models/MultiTenantChangeResponseModel.js +0 -75
- package/dist/src/models/NavigationModel.d.ts +0 -50
- package/dist/src/models/NavigationModel.js +0 -55
- package/dist/src/models/OfflineInstancesEntity.d.ts +0 -56
- package/dist/src/models/OfflineInstancesEntity.js +0 -57
- package/dist/src/models/OrderEntity.d.ts +0 -374
- package/dist/src/models/OrderEntity.js +0 -163
- package/dist/src/models/OrderRequestModel.d.ts +0 -120
- package/dist/src/models/OrderRequestModel.js +0 -88
- package/dist/src/models/OrderSummariesModel.d.ts +0 -51
- package/dist/src/models/OrderSummariesModel.js +0 -56
- package/dist/src/models/OrderSummaryDTO.d.ts +0 -126
- package/dist/src/models/OrderSummaryDTO.js +0 -83
- package/dist/src/models/OrderTotalModel.d.ts +0 -111
- package/dist/src/models/OrderTotalModel.js +0 -100
- package/dist/src/models/OrderedItemEntity.d.ts +0 -110
- package/dist/src/models/OrderedItemEntity.js +0 -75
- package/dist/src/models/PatchSetTcxWizardCnameRequest.d.ts +0 -32
- package/dist/src/models/PatchSetTcxWizardCnameRequest.js +0 -49
- package/dist/src/models/PatchUpdateAccountContactPasswordRequest.d.ts +0 -32
- package/dist/src/models/PatchUpdateAccountContactPasswordRequest.js +0 -49
- package/dist/src/models/PortalAccountModel.d.ts +0 -171
- package/dist/src/models/PortalAccountModel.js +0 -96
- package/dist/src/models/PortalLoginModel.d.ts +0 -68
- package/dist/src/models/PortalLoginModel.js +0 -61
- package/dist/src/models/PostAddWebhook200Response.d.ts +0 -32
- package/dist/src/models/PostAddWebhook200Response.js +0 -49
- package/dist/src/models/PostGetClientCredentialsRequest.d.ts +0 -32
- package/dist/src/models/PostGetClientCredentialsRequest.js +0 -49
- package/dist/src/models/PostGetProductForCustomerRequest.d.ts +0 -50
- package/dist/src/models/PostGetProductForCustomerRequest.js +0 -55
- package/dist/src/models/PostGetProductRequest.d.ts +0 -44
- package/dist/src/models/PostGetProductRequest.js +0 -53
- package/dist/src/models/PriceListItemModel.d.ts +0 -56
- package/dist/src/models/PriceListItemModel.js +0 -57
- package/dist/src/models/PrizesEntity.d.ts +0 -62
- package/dist/src/models/PrizesEntity.js +0 -59
- package/dist/src/models/ProductPriceListItemModel.d.ts +0 -62
- package/dist/src/models/ProductPriceListItemModel.js +0 -59
- package/dist/src/models/ProductSearchResultsModel.d.ts +0 -33
- package/dist/src/models/ProductSearchResultsModel.js +0 -50
- package/dist/src/models/ProductSerialInfoModel.d.ts +0 -50
- package/dist/src/models/ProductSerialInfoModel.js +0 -55
- package/dist/src/models/ProductSummaryDTO.d.ts +0 -81
- package/dist/src/models/ProductSummaryDTO.js +0 -66
- package/dist/src/models/PromoCodesEntity.d.ts +0 -98
- package/dist/src/models/PromoCodesEntity.js +0 -71
- package/dist/src/models/PromoItemsEntity.d.ts +0 -74
- package/dist/src/models/PromoItemsEntity.js +0 -63
- package/dist/src/models/ProvisioningModel.d.ts +0 -56
- package/dist/src/models/ProvisioningModel.js +0 -57
- package/dist/src/models/ProvisioningRequestEntity.d.ts +0 -44
- package/dist/src/models/ProvisioningRequestEntity.js +0 -53
- package/dist/src/models/RecordingBackupAzureModel.d.ts +0 -50
- package/dist/src/models/RecordingBackupAzureModel.js +0 -55
- package/dist/src/models/RecordingsBackupInfoDTO.d.ts +0 -40
- package/dist/src/models/RecordingsBackupInfoDTO.js +0 -53
- package/dist/src/models/ResourceNotReadyException.d.ts +0 -44
- package/dist/src/models/ResourceNotReadyException.js +0 -53
- package/dist/src/models/RootAccessModel.d.ts +0 -44
- package/dist/src/models/RootAccessModel.js +0 -53
- package/dist/src/models/S3BucketEntity.d.ts +0 -50
- package/dist/src/models/S3BucketEntity.js +0 -55
- package/dist/src/models/ScannedItemModel.d.ts +0 -56
- package/dist/src/models/ScannedItemModel.js +0 -57
- package/dist/src/models/ScopeModel.d.ts +0 -38
- package/dist/src/models/ScopeModel.js +0 -51
- package/dist/src/models/ServiceEnum.d.ts +0 -14
- package/dist/src/models/ServiceEnum.js +0 -19
- package/dist/src/models/ServiceHealthDTO.d.ts +0 -48
- package/dist/src/models/ServiceHealthDTO.js +0 -61
- package/dist/src/models/ServiceHealthEnum.d.ts +0 -19
- package/dist/src/models/ServiceHealthEnum.js +0 -24
- package/dist/src/models/ServiceStatusDTO.d.ts +0 -60
- package/dist/src/models/ServiceStatusDTO.js +0 -65
- package/dist/src/models/ServiceStatusEnum.d.ts +0 -19
- package/dist/src/models/ServiceStatusEnum.js +0 -24
- package/dist/src/models/ShipmentAddressEntity.d.ts +0 -92
- package/dist/src/models/ShipmentAddressEntity.js +0 -69
- package/dist/src/models/ShipmentEntity.d.ts +0 -98
- package/dist/src/models/ShipmentEntity.js +0 -71
- package/dist/src/models/ShipmentItemEntity.d.ts +0 -56
- package/dist/src/models/ShipmentItemEntity.js +0 -57
- package/dist/src/models/ShippingConsignmentModel.d.ts +0 -51
- package/dist/src/models/ShippingConsignmentModel.js +0 -56
- package/dist/src/models/ShippingInformationDTO.d.ts +0 -45
- package/dist/src/models/ShippingInformationDTO.js +0 -54
- package/dist/src/models/ShippingServiceDTO.d.ts +0 -47
- package/dist/src/models/ShippingServiceDTO.js +0 -60
- package/dist/src/models/ShippingServiceModel.d.ts +0 -71
- package/dist/src/models/ShippingServiceModel.js +0 -68
- package/dist/src/models/ShippingServicesModel.d.ts +0 -33
- package/dist/src/models/ShippingServicesModel.js +0 -50
- package/dist/src/models/SipTrunkChangeResponseModel.d.ts +0 -77
- package/dist/src/models/SipTrunkChangeResponseModel.js +0 -78
- package/dist/src/models/SipTrunkCreationRequestModel.d.ts +0 -66
- package/dist/src/models/SipTrunkCreationRequestModel.js +0 -63
- package/dist/src/models/SipTrunkEntity.d.ts +0 -98
- package/dist/src/models/SipTrunkEntity.js +0 -71
- package/dist/src/models/SipTrunksResponseModel.d.ts +0 -51
- package/dist/src/models/SipTrunksResponseModel.js +0 -56
- package/dist/src/models/SmsAccountEntity.d.ts +0 -68
- package/dist/src/models/SmsAccountEntity.js +0 -61
- package/dist/src/models/SmsDataModel.d.ts +0 -33
- package/dist/src/models/SmsDataModel.js +0 -50
- package/dist/src/models/SmsMessageModel.d.ts +0 -44
- package/dist/src/models/SmsMessageModel.js +0 -53
- package/dist/src/models/SmsNumbersEntity.d.ts +0 -38
- package/dist/src/models/SmsNumbersEntity.js +0 -51
- package/dist/src/models/SmsPayloadModel.d.ts +0 -45
- package/dist/src/models/SmsPayloadModel.js +0 -54
- package/dist/src/models/SmsPhoneNumberModel.d.ts +0 -53
- package/dist/src/models/SmsPhoneNumberModel.js +0 -66
- package/dist/src/models/SmsResponseModel.d.ts +0 -67
- package/dist/src/models/SmsResponseModel.js +0 -68
- package/dist/src/models/SmsWhitelistEntity.d.ts +0 -38
- package/dist/src/models/SmsWhitelistEntity.js +0 -51
- package/dist/src/models/StockOrderCourierEntity.d.ts +0 -50
- package/dist/src/models/StockOrderCourierEntity.js +0 -55
- package/dist/src/models/StockOrderDeductionModel.d.ts +0 -50
- package/dist/src/models/StockOrderDeductionModel.js +0 -55
- package/dist/src/models/StockOrderDeductionRequestModel.d.ts +0 -38
- package/dist/src/models/StockOrderDeductionRequestModel.js +0 -51
- package/dist/src/models/StockOrderDeductionsEntity.d.ts +0 -50
- package/dist/src/models/StockOrderDeductionsEntity.js +0 -55
- package/dist/src/models/StockOrderEntity.d.ts +0 -158
- package/dist/src/models/StockOrderEntity.js +0 -91
- package/dist/src/models/StockOrderItemEntity.d.ts +0 -68
- package/dist/src/models/StockOrderItemEntity.js +0 -61
- package/dist/src/models/StockOrderItemModel.d.ts +0 -80
- package/dist/src/models/StockOrderItemModel.js +0 -65
- package/dist/src/models/StockOrderItemRequestModel.d.ts +0 -50
- package/dist/src/models/StockOrderItemRequestModel.js +0 -55
- package/dist/src/models/StockOrderModel.d.ts +0 -137
- package/dist/src/models/StockOrderModel.js +0 -97
- package/dist/src/models/StockOrderProductEntity.d.ts +0 -62
- package/dist/src/models/StockOrderProductEntity.js +0 -59
- package/dist/src/models/StockOrderRequestModel.d.ts +0 -46
- package/dist/src/models/StockOrderRequestModel.js +0 -55
- package/dist/src/models/StockOrderSupplierEntity.d.ts +0 -80
- package/dist/src/models/StockOrderSupplierEntity.js +0 -65
- package/dist/src/models/StockOrderSupplierModel.d.ts +0 -80
- package/dist/src/models/StockOrderSupplierModel.js +0 -65
- package/dist/src/models/StockOrdersModel.d.ts +0 -51
- package/dist/src/models/StockOrdersModel.js +0 -56
- package/dist/src/models/StockProductModel.d.ts +0 -120
- package/dist/src/models/StockProductModel.js +0 -81
- package/dist/src/models/StockProductPriceModel.d.ts +0 -39
- package/dist/src/models/StockProductPriceModel.js +0 -52
- package/dist/src/models/StockProductSummariesModel.d.ts +0 -51
- package/dist/src/models/StockProductSummariesModel.js +0 -56
- package/dist/src/models/StockProductSummaryModel.d.ts +0 -69
- package/dist/src/models/StockProductSummaryModel.js +0 -62
- package/dist/src/models/StockTransactionsEntity.d.ts +0 -74
- package/dist/src/models/StockTransactionsEntity.js +0 -63
- package/dist/src/models/SupplierEntity.d.ts +0 -80
- package/dist/src/models/SupplierEntity.js +0 -65
- package/dist/src/models/SupplierItemEntity.d.ts +0 -74
- package/dist/src/models/SupplierItemEntity.js +0 -63
- package/dist/src/models/TcxBackupEntity.d.ts +0 -80
- package/dist/src/models/TcxBackupEntity.js +0 -65
- package/dist/src/models/TcxBackupModel.d.ts +0 -140
- package/dist/src/models/TcxBackupModel.js +0 -85
- package/dist/src/models/TcxBillingEntity.d.ts +0 -86
- package/dist/src/models/TcxBillingEntity.js +0 -67
- package/dist/src/models/TcxBulkLicenceDetailsModel.d.ts +0 -40
- package/dist/src/models/TcxBulkLicenceDetailsModel.js +0 -53
- package/dist/src/models/TcxDeadLicenceEntity.d.ts +0 -44
- package/dist/src/models/TcxDeadLicenceEntity.js +0 -53
- package/dist/src/models/TcxExtsEntity.d.ts +0 -74
- package/dist/src/models/TcxExtsEntity.js +0 -63
- package/dist/src/models/TcxHostingPricingEntity.d.ts +0 -74
- package/dist/src/models/TcxHostingPricingEntity.js +0 -63
- package/dist/src/models/TcxInstallationDetailsModel.d.ts +0 -106
- package/dist/src/models/TcxInstallationDetailsModel.js +0 -75
- package/dist/src/models/TcxInstallationModel.d.ts +0 -200
- package/dist/src/models/TcxInstallationModel.js +0 -105
- package/dist/src/models/TcxInstallationsModel.d.ts +0 -51
- package/dist/src/models/TcxInstallationsModel.js +0 -56
- package/dist/src/models/TcxKeySummaryDTO.d.ts +0 -56
- package/dist/src/models/TcxKeySummaryDTO.js +0 -57
- package/dist/src/models/TcxKeysEntity.d.ts +0 -62
- package/dist/src/models/TcxKeysEntity.js +0 -59
- package/dist/src/models/TcxLicenceDetailsErrorModel.d.ts +0 -50
- package/dist/src/models/TcxLicenceDetailsErrorModel.js +0 -55
- package/dist/src/models/TcxLicenceDetailsModel.d.ts +0 -92
- package/dist/src/models/TcxLicenceDetailsModel.js +0 -69
- package/dist/src/models/TcxMacsEntity.d.ts +0 -44
- package/dist/src/models/TcxMacsEntity.js +0 -53
- package/dist/src/models/TcxMultiTenantModel.d.ts +0 -118
- package/dist/src/models/TcxMultiTenantModel.js +0 -83
- package/dist/src/models/TcxMultiTenantUserModel.d.ts +0 -44
- package/dist/src/models/TcxMultiTenantUserModel.js +0 -53
- package/dist/src/models/TcxMultiTenantsModel.d.ts +0 -51
- package/dist/src/models/TcxMultiTenantsModel.js +0 -56
- package/dist/src/models/TcxNumbersEntity.d.ts +0 -44
- package/dist/src/models/TcxNumbersEntity.js +0 -53
- package/dist/src/models/TcxOfficeHoursEntity.d.ts +0 -116
- package/dist/src/models/TcxOfficeHoursEntity.js +0 -77
- package/dist/src/models/TcxPhoneModel.d.ts +0 -68
- package/dist/src/models/TcxPhoneModel.js +0 -61
- package/dist/src/models/TcxPhonesEntity.d.ts +0 -62
- package/dist/src/models/TcxPhonesEntity.js +0 -59
- package/dist/src/models/TcxRemoteStorageModel.d.ts +0 -50
- package/dist/src/models/TcxRemoteStorageModel.js +0 -55
- package/dist/src/models/TcxSbcDTO.d.ts +0 -62
- package/dist/src/models/TcxSbcDTO.js +0 -59
- package/dist/src/models/TcxSbcEntity.d.ts +0 -122
- package/dist/src/models/TcxSbcEntity.js +0 -79
- package/dist/src/models/TcxSbcModel.d.ts +0 -122
- package/dist/src/models/TcxSbcModel.js +0 -79
- package/dist/src/models/TcxSetupEntity.d.ts +0 -207
- package/dist/src/models/TcxSetupEntity.js +0 -123
- package/dist/src/models/TcxSetupsModel.d.ts +0 -51
- package/dist/src/models/TcxSetupsModel.js +0 -56
- package/dist/src/models/TcxSipTrunksEntity.d.ts +0 -104
- package/dist/src/models/TcxSipTrunksEntity.js +0 -73
- package/dist/src/models/TcxTemplateXmlEnum.d.ts +0 -38
- package/dist/src/models/TcxTemplateXmlEnum.js +0 -51
- package/dist/src/models/TcxUsersEntity.d.ts +0 -62
- package/dist/src/models/TcxUsersEntity.js +0 -59
- package/dist/src/models/TcxWizardConfigModel.d.ts +0 -39
- package/dist/src/models/TcxWizardConfigModel.js +0 -52
- package/dist/src/models/TcxWizardModel.d.ts +0 -150
- package/dist/src/models/TcxWizardModel.js +0 -114
- package/dist/src/models/TechSupportCompanySummaryDTO.d.ts +0 -57
- package/dist/src/models/TechSupportCompanySummaryDTO.js +0 -58
- package/dist/src/models/TelephonySupportTicketModel.d.ts +0 -94
- package/dist/src/models/TelephonySupportTicketModel.js +0 -71
- package/dist/src/models/TicketSummaryModel.d.ts +0 -74
- package/dist/src/models/TicketSummaryModel.js +0 -63
- package/dist/src/models/TicketTimeDTO.d.ts +0 -80
- package/dist/src/models/TicketTimeDTO.js +0 -65
- package/dist/src/models/TokenResponseModel.d.ts +0 -44
- package/dist/src/models/TokenResponseModel.js +0 -53
- package/dist/src/models/UpdateTypeEnum.d.ts +0 -19
- package/dist/src/models/UpdateTypeEnum.js +0 -24
- package/dist/src/models/UpgradeOrderResponseModel.d.ts +0 -38
- package/dist/src/models/UpgradeOrderResponseModel.js +0 -51
- package/dist/src/models/UpgradeRequestModel.d.ts +0 -66
- package/dist/src/models/UpgradeRequestModel.js +0 -70
- package/dist/src/models/UserEntity.d.ts +0 -98
- package/dist/src/models/UserEntity.js +0 -71
- package/dist/src/models/XeroLogEntity.d.ts +0 -86
- package/dist/src/models/XeroLogEntity.js +0 -67
- package/dist/src/models/index.d.ts +0 -196
- package/dist/src/models/index.js +0 -214
- package/dist/src/runtime.d.ts +0 -184
- package/dist/src/runtime.js +0 -564
- package/docs/AccountPageDetailsDTO.md +0 -41
- package/docs/PatchSendWelcomeEmailRequest.md +0 -20
- package/docs/PatchSetTcxWizardCnameRequest.md +0 -20
- package/docs/PostAddAdminNoteRequest.md +0 -20
- package/docs/PostCreateCrmNoteRequest.md +0 -20
- package/docs/PostGetProductRequest.md +0 -24
- package/docs/TcxInstallationDetailsModel.md +0 -45
- /package/docs/{CrmActivitiesResponseDto.md → CrmActivitiesResponseDTO.md} +0 -0
package/dist/api.js
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
/* eslint-disable */
|
|
4
4
|
/**
|
|
5
5
|
* Yellowgrid
|
|
6
|
-
* Welcome to the Yellowgrid API documentation.
|
|
6
|
+
* Welcome to the Yellowgrid API documentation. This API provides secure and comprehensive access to the Yellowgrid platform, enabling developers and integrators to manage accounts, contacts, SIP trunks, SMS messaging, 3CX integrations, and provisioning services. ## Key Features: - **Accounts**: View and manage account details, contacts, client credentials, and verification. - **Provisioning**: Automate setup and configuration of devices and groups. - **SIP Trunks**: Manage trunk creation, changes, DDIs, diverts, and configuration. - **Messaging**: Send SMS messages securely via the messaging gateway. - **3CX Integrations**: Automate licence handling, installation, and multi-tenant setup. ## Authentication: The API supports OAuth 2.0 for authentication and authorization. Ensure you use a valid bearer token for all authenticated endpoints. ## Base URL: `https://bitbucket.org` For questions or technical support, please contact support@yellowgrid.co.uk.
|
|
7
7
|
*
|
|
8
8
|
* The version of the OpenAPI document: 0
|
|
9
9
|
*
|
|
@@ -84,28 +84,39 @@ var __spreadArray = (this && this.__spreadArray) || function (to, from, pack) {
|
|
|
84
84
|
return to.concat(ar || Array.prototype.slice.call(from));
|
|
85
85
|
};
|
|
86
86
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
87
|
-
exports.
|
|
88
|
-
exports.
|
|
89
|
-
exports.
|
|
90
|
-
exports.PostAddWebhookWebhookUriEnum = exports.WebhooksApi = exports.WebhooksApiFactory = exports.WebhooksApiFp = exports.WebhooksApiAxiosParamCreator = void 0;
|
|
87
|
+
exports.CRMApiAxiosParamCreator = exports.BillingApi = exports.BillingApiFactory = exports.BillingApiFp = exports.BillingApiAxiosParamCreator = exports.PatchSetPrizePromoStateEnum = exports.PatchSetPortalAccessStateEnum = exports.AccountsApi = exports.AccountsApiFactory = exports.AccountsApiFp = exports.AccountsApiAxiosParamCreator = exports.UpgradeRequestModelSchoolTypeEnum = exports.UpgradeRequestModelLicenceTypeEnum = exports.TcxWizardModelInstallationStatusEnum = exports.TcxWizardModelInstallTypeEnum = exports.TcxSetupEntityRegionEnum = exports.TcxSetupEntityInstallTypeEnum = exports.TcxMultiTenantModelPackageEnum = exports.StockOrderModelPaidEnum = exports.StockOrderModelDeliveryMethodEnum = exports.SmsResponseModelEventTypeEnum = exports.SmsPhoneNumberModelStatusEnum = exports.SmsAccountRequestDTOTypeEnum = exports.SmsAccountRequestDTOProviderEnum = exports.SipTrunkChangeResponseModelTypeEnum = exports.ShippingServiceModelCourierEnum = exports.ShippingServiceDTOCourierEnum = exports.ShippingRequestDTOPrinterEnum = exports.ShippingRequestDTOCourierEnum = exports.ShipmentRequestDTOCourierEnum = exports.ShipmentDTOCourierEnum = exports.ServiceStatusDTOStatusEnum = exports.ServiceHealthDTOGlobalStatusEnum = exports.ProspectDTOStatusEnum = exports.PatchUpdateTcxHostingPriceListRequestPriceListEnum = exports.PatchUpdatePriceListRequestPriceListEnum = exports.OrderTotalModelCurrencyEnum = exports.OrderRequestModelSchoolTypeEnum = exports.OrderRequestModelLicenceTypeEnum = exports.MultiTenantChangeResponseModelTypeEnum = exports.ItemDiscountEntityTypeEnum = exports.HostingRegionDTOCodeEnum = exports.HostingChangeResponseModelTypeEnum = exports.EventDTOStatusEnum = exports.DivertResponseModelStatusEnum = exports.AuditLogEntityTypeEnum = exports.AuditLogEntityActionEnum = exports.AdminUserModelPermissionsEnum = exports.AdminUserModelRoleEnum = exports.AdminOrderRequestDTOPaymentMethodEnum = void 0;
|
|
88
|
+
exports.OrdersApiFp = exports.OrdersApiAxiosParamCreator = exports.PostAuthoriseScopeEnum = exports.PostAccessTokenTokenExchangeTypeEnum = exports.PostAccessTokenScopeEnum = exports.PostAccessTokenGrantTypeEnum = exports.OAuth20Api = exports.OAuth20ApiFactory = exports.OAuth20ApiFp = exports.OAuth20ApiAxiosParamCreator = exports.NumberPortingApi = exports.NumberPortingApiFactory = exports.NumberPortingApiFp = exports.NumberPortingApiAxiosParamCreator = exports.MyPBXToolsApi = exports.MyPBXToolsApiFactory = exports.MyPBXToolsApiFp = exports.MyPBXToolsApiAxiosParamCreator = exports.GetGetTenantsStatusEnum = exports.Class3CXMultiTenantApi = exports.Class3CXMultiTenantApiFactory = exports.Class3CXMultiTenantApiFp = exports.Class3CXMultiTenantApiAxiosParamCreator = exports.GetGetPriceSchoolTypeEnum = exports.GetGetPriceLicenceTypeEnum = exports.Class3CXIntegrationsApi = exports.Class3CXIntegrationsApiFactory = exports.Class3CXIntegrationsApiFp = exports.Class3CXIntegrationsApiAxiosParamCreator = exports.PostResizeInstanceSizeEnum = exports.PostFailoverInstanceTypeEnum = exports.GetGetInstallationsInstallTypeEnum = exports.GetGetInstallationsHostingEnum = exports.GetGetInstallationsStatusEnum = exports.Class3CXInstallationsApi = exports.Class3CXInstallationsApiFactory = exports.Class3CXInstallationsApiFp = exports.Class3CXInstallationsApiAxiosParamCreator = exports.Class3CXInstallationWizardApi = exports.Class3CXInstallationWizardApiFactory = exports.Class3CXInstallationWizardApiFp = exports.Class3CXInstallationWizardApiAxiosParamCreator = exports.Class3CXApi = exports.Class3CXApiFactory = exports.Class3CXApiFp = exports.Class3CXApiAxiosParamCreator = exports.GetGetCrmActivitiesTypeEnum = exports.CRMApi = exports.CRMApiFactory = exports.CRMApiFp = void 0;
|
|
89
|
+
exports.SystemApiFp = exports.SystemApiAxiosParamCreator = exports.StockManagementApi = exports.StockManagementApiFactory = exports.StockManagementApiFp = exports.StockManagementApiAxiosParamCreator = exports.ShippingApi = exports.ShippingApiFactory = exports.ShippingApiFp = exports.ShippingApiAxiosParamCreator = exports.ServicesApi = exports.ServicesApiFactory = exports.ServicesApiFp = exports.ServicesApiAxiosParamCreator = exports.SMSApi = exports.SMSApiFactory = exports.SMSApiFp = exports.SMSApiAxiosParamCreator = exports.SIPTrunksApi = exports.SIPTrunksApiFactory = exports.SIPTrunksApiFp = exports.SIPTrunksApiAxiosParamCreator = exports.ProvisioningApi = exports.ProvisioningApiFactory = exports.ProvisioningApiFp = exports.ProvisioningApiAxiosParamCreator = exports.ProspectsApi = exports.ProspectsApiFactory = exports.ProspectsApiFp = exports.ProspectsApiAxiosParamCreator = exports.GetGetLegacyStockListFormatEnum = exports.ProductsApi = exports.ProductsApiFactory = exports.ProductsApiFp = exports.ProductsApiAxiosParamCreator = exports.PostSendPriceListCategoryEnum = exports.PostSendPriceListFormatEnum = exports.PostSendPriceListTypeEnum = exports.GetGetPriceListCategoryEnum = exports.GetGetPriceListFormatEnum = exports.GetGetPriceListTypeEnum = exports.PricingApi = exports.PricingApiFactory = exports.PricingApiFp = exports.PricingApiAxiosParamCreator = exports.PostPrintShippingLabelPrinterEnum = exports.GetGetOrdersFilterEnum = exports.GetGetOrdersStatusEnum = exports.OrdersApi = exports.OrdersApiFactory = void 0;
|
|
90
|
+
exports.PostAddWebhookWebhookUriEnum = exports.WebhooksApi = exports.WebhooksApiFactory = exports.WebhooksApiFp = exports.WebhooksApiAxiosParamCreator = exports.TicketsApi = exports.TicketsApiFactory = exports.TicketsApiFp = exports.TicketsApiAxiosParamCreator = exports.SystemApi = exports.SystemApiFactory = void 0;
|
|
91
91
|
var axios_1 = require("axios");
|
|
92
92
|
// Some imports not used depending on template conditions
|
|
93
93
|
// @ts-ignore
|
|
94
94
|
var common_1 = require("./common");
|
|
95
95
|
// @ts-ignore
|
|
96
96
|
var base_1 = require("./base");
|
|
97
|
+
exports.AdminOrderRequestDTOPaymentMethodEnum = {
|
|
98
|
+
Card: 'card',
|
|
99
|
+
Bacs: 'bacs',
|
|
100
|
+
};
|
|
97
101
|
exports.AdminUserModelRoleEnum = {
|
|
98
102
|
NUMBER_0: 0,
|
|
99
103
|
NUMBER_1: 1,
|
|
100
104
|
NUMBER_2: 2,
|
|
101
105
|
NUMBER_3: 3,
|
|
102
|
-
NUMBER_4: 4
|
|
106
|
+
NUMBER_4: 4,
|
|
107
|
+
};
|
|
108
|
+
exports.AdminUserModelPermissionsEnum = {
|
|
109
|
+
All: 'All',
|
|
110
|
+
Standard: 'Standard',
|
|
111
|
+
Technical: 'Technical',
|
|
112
|
+
Privileged: 'Privileged',
|
|
113
|
+
Development: 'Development',
|
|
103
114
|
};
|
|
104
115
|
exports.AuditLogEntityActionEnum = {
|
|
105
116
|
Create: 'CREATE',
|
|
106
117
|
Read: 'READ',
|
|
107
118
|
Update: 'UPDATE',
|
|
108
|
-
Delete: 'DELETE'
|
|
119
|
+
Delete: 'DELETE',
|
|
109
120
|
};
|
|
110
121
|
exports.AuditLogEntityTypeEnum = {
|
|
111
122
|
AuditLog: 'audit_log',
|
|
@@ -167,6 +178,7 @@ exports.AuditLogEntityTypeEnum = {
|
|
|
167
178
|
PopsStockTransactions: 'pops_stock_transactions',
|
|
168
179
|
PopsSuppliers: 'pops_suppliers',
|
|
169
180
|
PopsSupplierItems: 'pops_supplier_items',
|
|
181
|
+
PopsTableAttribs: 'pops_table_attribs',
|
|
170
182
|
Pops3cxBackup: 'pops_3cx_backup',
|
|
171
183
|
Pops3cxBilling: 'pops_3cx_billing',
|
|
172
184
|
PopsDeadLicences: 'pops_dead_licences',
|
|
@@ -185,20 +197,20 @@ exports.AuditLogEntityTypeEnum = {
|
|
|
185
197
|
Webhook: 'webhook',
|
|
186
198
|
PopsXeroLog: 'pops_xero_log',
|
|
187
199
|
Oauth2Clients: 'oauth2_clients',
|
|
188
|
-
Oauth2Tokens: 'oauth2_tokens'
|
|
200
|
+
Oauth2Tokens: 'oauth2_tokens',
|
|
189
201
|
};
|
|
190
202
|
exports.DivertResponseModelStatusEnum = {
|
|
191
203
|
Enabled: 'enabled',
|
|
192
|
-
Disabled: 'disabled'
|
|
204
|
+
Disabled: 'disabled',
|
|
193
205
|
};
|
|
194
206
|
exports.EventDTOStatusEnum = {
|
|
195
207
|
NUMBER_0: 0,
|
|
196
208
|
NUMBER_1: 1,
|
|
197
|
-
NUMBER_2: 2
|
|
209
|
+
NUMBER_2: 2,
|
|
198
210
|
};
|
|
199
211
|
exports.HostingChangeResponseModelTypeEnum = {
|
|
200
212
|
NewInstance: 'New Instance',
|
|
201
|
-
BuildingInstance: 'Building Instance'
|
|
213
|
+
BuildingInstance: 'Building Instance',
|
|
202
214
|
};
|
|
203
215
|
exports.HostingRegionDTOCodeEnum = {
|
|
204
216
|
Uk1: 'UK1',
|
|
@@ -209,12 +221,12 @@ exports.HostingRegionDTOCodeEnum = {
|
|
|
209
221
|
Syd1: 'SYD1',
|
|
210
222
|
Sgp1: 'SGP1',
|
|
211
223
|
UsEastVa1: 'US-EAST-VA-1',
|
|
212
|
-
UsWestOr1: 'US-WEST-OR-1'
|
|
224
|
+
UsWestOr1: 'US-WEST-OR-1',
|
|
213
225
|
};
|
|
214
226
|
exports.ItemDiscountEntityTypeEnum = {
|
|
215
227
|
TcxPhones: 'TCX_PHONES',
|
|
216
228
|
PhoneBulk: 'PHONE_BULK',
|
|
217
|
-
Additional: 'ADDITIONAL'
|
|
229
|
+
Additional: 'ADDITIONAL',
|
|
218
230
|
};
|
|
219
231
|
exports.MultiTenantChangeResponseModelTypeEnum = {
|
|
220
232
|
NewTrunk: 'New Trunk',
|
|
@@ -230,15 +242,15 @@ exports.MultiTenantChangeResponseModelTypeEnum = {
|
|
|
230
242
|
Address: 'Address',
|
|
231
243
|
BulkEndpointDetails: 'Bulk Endpoint Details',
|
|
232
244
|
Fraud: 'Fraud',
|
|
233
|
-
CallBarring: 'Call Barring'
|
|
245
|
+
CallBarring: 'Call Barring',
|
|
234
246
|
};
|
|
235
247
|
exports.OrderRequestModelLicenceTypeEnum = {
|
|
236
248
|
Lite: 'lite',
|
|
237
|
-
Pro: 'pro'
|
|
249
|
+
Pro: 'pro',
|
|
238
250
|
};
|
|
239
251
|
exports.OrderRequestModelSchoolTypeEnum = {
|
|
240
252
|
Primary: 'primary',
|
|
241
|
-
Secondary: 'secondary'
|
|
253
|
+
Secondary: 'secondary',
|
|
242
254
|
};
|
|
243
255
|
exports.OrderTotalModelCurrencyEnum = {
|
|
244
256
|
Eur: 'EUR',
|
|
@@ -271,7 +283,7 @@ exports.OrderTotalModelCurrencyEnum = {
|
|
|
271
283
|
Php: 'PHP',
|
|
272
284
|
Sgd: 'SGD',
|
|
273
285
|
Thb: 'THB',
|
|
274
|
-
Zar: 'ZAR'
|
|
286
|
+
Zar: 'ZAR',
|
|
275
287
|
};
|
|
276
288
|
exports.PatchUpdatePriceListRequestPriceListEnum = {
|
|
277
289
|
Rrp: 'RRP',
|
|
@@ -280,61 +292,62 @@ exports.PatchUpdatePriceListRequestPriceListEnum = {
|
|
|
280
292
|
Itsp: 'ITSP',
|
|
281
293
|
SubDisti: 'Sub Disti',
|
|
282
294
|
Distributor: 'Distributor',
|
|
283
|
-
HotelDisti: 'Hotel Disti'
|
|
295
|
+
HotelDisti: 'Hotel Disti',
|
|
284
296
|
};
|
|
285
297
|
exports.PatchUpdateTcxHostingPriceListRequestPriceListEnum = {
|
|
286
298
|
_1: '1',
|
|
287
299
|
_2: '2',
|
|
288
300
|
_3: '3',
|
|
289
301
|
_4: '4',
|
|
290
|
-
_5: '5'
|
|
302
|
+
_5: '5',
|
|
291
303
|
};
|
|
292
304
|
exports.ProspectDTOStatusEnum = {
|
|
293
305
|
NoCallBackSet: 'No Call Back Set',
|
|
294
306
|
CallBackDue: 'Call Back Due',
|
|
295
307
|
NoOrdersPlaced: 'No Orders Placed',
|
|
296
308
|
NoOrdersInTheLast4Months: 'No Orders In The Last 4 Months',
|
|
297
|
-
NoActionRequired: 'No Action Required'
|
|
309
|
+
NoActionRequired: 'No Action Required',
|
|
310
|
+
DoNotCall: 'Do Not Call',
|
|
298
311
|
};
|
|
299
312
|
exports.ServiceHealthDTOGlobalStatusEnum = {
|
|
300
313
|
NUMBER_0: 0,
|
|
301
314
|
NUMBER_1: 1,
|
|
302
|
-
NUMBER_2: 2
|
|
315
|
+
NUMBER_2: 2,
|
|
303
316
|
};
|
|
304
317
|
exports.ServiceStatusDTOStatusEnum = {
|
|
305
318
|
_0: '0',
|
|
306
319
|
_1: '1',
|
|
307
|
-
_2: '2'
|
|
320
|
+
_2: '2',
|
|
308
321
|
};
|
|
309
322
|
exports.ShipmentDTOCourierEnum = {
|
|
310
323
|
Dpd: 'DPD',
|
|
311
324
|
ChorltonPallet: 'Chorlton Pallet',
|
|
312
|
-
Pops: 'POPS'
|
|
325
|
+
Pops: 'POPS',
|
|
313
326
|
};
|
|
314
327
|
exports.ShipmentRequestDTOCourierEnum = {
|
|
315
328
|
Dpd: 'DPD',
|
|
316
329
|
ChorltonPallet: 'Chorlton Pallet',
|
|
317
|
-
Pops: 'POPS'
|
|
330
|
+
Pops: 'POPS',
|
|
318
331
|
};
|
|
319
332
|
exports.ShippingRequestDTOCourierEnum = {
|
|
320
333
|
Dpd: 'DPD',
|
|
321
334
|
ChorltonPallet: 'Chorlton Pallet',
|
|
322
|
-
Pops: 'POPS'
|
|
335
|
+
Pops: 'POPS',
|
|
323
336
|
};
|
|
324
337
|
exports.ShippingRequestDTOPrinterEnum = {
|
|
325
338
|
NUMBER_1: 1,
|
|
326
339
|
NUMBER_2: 2,
|
|
327
|
-
NUMBER_3: 3
|
|
340
|
+
NUMBER_3: 3,
|
|
328
341
|
};
|
|
329
342
|
exports.ShippingServiceDTOCourierEnum = {
|
|
330
343
|
Dpd: 'DPD',
|
|
331
344
|
ChorltonPallet: 'Chorlton Pallet',
|
|
332
|
-
Pops: 'POPS'
|
|
345
|
+
Pops: 'POPS',
|
|
333
346
|
};
|
|
334
347
|
exports.ShippingServiceModelCourierEnum = {
|
|
335
348
|
Dpd: 'DPD',
|
|
336
349
|
ChorltonPallet: 'Chorlton Pallet',
|
|
337
|
-
Pops: 'POPS'
|
|
350
|
+
Pops: 'POPS',
|
|
338
351
|
};
|
|
339
352
|
exports.SipTrunkChangeResponseModelTypeEnum = {
|
|
340
353
|
NewTrunk: 'New Trunk',
|
|
@@ -350,17 +363,17 @@ exports.SipTrunkChangeResponseModelTypeEnum = {
|
|
|
350
363
|
Address: 'Address',
|
|
351
364
|
BulkEndpointDetails: 'Bulk Endpoint Details',
|
|
352
365
|
Fraud: 'Fraud',
|
|
353
|
-
CallBarring: 'Call Barring'
|
|
366
|
+
CallBarring: 'Call Barring',
|
|
354
367
|
};
|
|
355
368
|
exports.SmsAccountRequestDTOProviderEnum = {
|
|
356
|
-
NUMBER_1: 1
|
|
369
|
+
NUMBER_1: 1,
|
|
357
370
|
};
|
|
358
371
|
exports.SmsAccountRequestDTOTypeEnum = {
|
|
359
372
|
Local: 'local',
|
|
360
373
|
TollFree: 'toll_free',
|
|
361
374
|
Mobile: 'mobile',
|
|
362
375
|
National: 'national',
|
|
363
|
-
SharedCost: 'shared_cost'
|
|
376
|
+
SharedCost: 'shared_cost',
|
|
364
377
|
};
|
|
365
378
|
exports.SmsPhoneNumberModelStatusEnum = {
|
|
366
379
|
Queued: 'queued',
|
|
@@ -371,31 +384,31 @@ exports.SmsPhoneNumberModelStatusEnum = {
|
|
|
371
384
|
DeliveryUnconfirmed: 'delivery_unconfirmed',
|
|
372
385
|
Delivered: 'delivered',
|
|
373
386
|
DeliveryFailed: 'delivery_failed',
|
|
374
|
-
WebhookDelivered: 'webhook_delivered'
|
|
387
|
+
WebhookDelivered: 'webhook_delivered',
|
|
375
388
|
};
|
|
376
389
|
exports.SmsResponseModelEventTypeEnum = {
|
|
377
390
|
MessageSent: 'message.sent',
|
|
378
391
|
MessageFinalized: 'message.finalized',
|
|
379
|
-
MessageReceived: 'message.received'
|
|
392
|
+
MessageReceived: 'message.received',
|
|
380
393
|
};
|
|
381
394
|
exports.StockOrderModelDeliveryMethodEnum = {
|
|
382
395
|
Sea: 'Sea',
|
|
383
396
|
Air: 'Air',
|
|
384
|
-
Road: 'Road'
|
|
397
|
+
Road: 'Road',
|
|
385
398
|
};
|
|
386
399
|
exports.StockOrderModelPaidEnum = {
|
|
387
400
|
NUMBER_0: 0,
|
|
388
401
|
NUMBER_1: 1,
|
|
389
|
-
NUMBER_2: 2
|
|
402
|
+
NUMBER_2: 2,
|
|
390
403
|
};
|
|
391
404
|
exports.TcxMultiTenantModelPackageEnum = {
|
|
392
|
-
_3CxStarterBundle: '3CX Starter Bundle'
|
|
405
|
+
_3CxStarterBundle: '3CX Starter Bundle',
|
|
393
406
|
};
|
|
394
407
|
exports.TcxSetupEntityInstallTypeEnum = {
|
|
395
408
|
New: 'new',
|
|
396
409
|
Restore: 'restore',
|
|
397
410
|
Failover: 'failover',
|
|
398
|
-
MultiTenant: 'multi-tenant'
|
|
411
|
+
MultiTenant: 'multi-tenant',
|
|
399
412
|
};
|
|
400
413
|
exports.TcxSetupEntityRegionEnum = {
|
|
401
414
|
Uk1: 'UK1',
|
|
@@ -406,13 +419,13 @@ exports.TcxSetupEntityRegionEnum = {
|
|
|
406
419
|
Syd1: 'SYD1',
|
|
407
420
|
Sgp1: 'SGP1',
|
|
408
421
|
UsEastVa1: 'US-EAST-VA-1',
|
|
409
|
-
UsWestOr1: 'US-WEST-OR-1'
|
|
422
|
+
UsWestOr1: 'US-WEST-OR-1',
|
|
410
423
|
};
|
|
411
424
|
exports.TcxWizardModelInstallTypeEnum = {
|
|
412
425
|
New: 'new',
|
|
413
426
|
Restore: 'restore',
|
|
414
427
|
Failover: 'failover',
|
|
415
|
-
MultiTenant: 'multi-tenant'
|
|
428
|
+
MultiTenant: 'multi-tenant',
|
|
416
429
|
};
|
|
417
430
|
exports.TcxWizardModelInstallationStatusEnum = {
|
|
418
431
|
Building: 'Building',
|
|
@@ -429,15 +442,15 @@ exports.TcxWizardModelInstallationStatusEnum = {
|
|
|
429
442
|
RecordingsBackupInstalled: 'Recordings Backup Installed',
|
|
430
443
|
Complete: 'Complete',
|
|
431
444
|
Deleted: 'Deleted',
|
|
432
|
-
Failed: 'Failed'
|
|
445
|
+
Failed: 'Failed',
|
|
433
446
|
};
|
|
434
447
|
exports.UpgradeRequestModelLicenceTypeEnum = {
|
|
435
448
|
Lite: 'lite',
|
|
436
|
-
Pro: 'pro'
|
|
449
|
+
Pro: 'pro',
|
|
437
450
|
};
|
|
438
451
|
exports.UpgradeRequestModelSchoolTypeEnum = {
|
|
439
452
|
Primary: 'primary',
|
|
440
|
-
Secondary: 'secondary'
|
|
453
|
+
Secondary: 'secondary',
|
|
441
454
|
};
|
|
442
455
|
/**
|
|
443
456
|
* AccountsApi - axios parameter creator
|
|
@@ -466,8 +479,8 @@ var AccountsApiAxiosParamCreator = function (configuration) {
|
|
|
466
479
|
// verify required parameter 'contactId' is not null or undefined
|
|
467
480
|
(0, common_1.assertParamExists)('deleteAdminUpdateAccountContact', 'contactId', contactId);
|
|
468
481
|
localVarPath = "/admin/accounts/{id}/contacts/{contact_id}"
|
|
469
|
-
.replace(
|
|
470
|
-
.replace(
|
|
482
|
+
.replace('{id}', encodeURIComponent(String(id)))
|
|
483
|
+
.replace('{contact_id}', encodeURIComponent(String(contactId)));
|
|
471
484
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
472
485
|
if (configuration) {
|
|
473
486
|
baseOptions = configuration.baseOptions;
|
|
@@ -503,7 +516,7 @@ var AccountsApiAxiosParamCreator = function (configuration) {
|
|
|
503
516
|
// verify required parameter 'id' is not null or undefined
|
|
504
517
|
(0, common_1.assertParamExists)('deleteArchiveAccount', 'id', id);
|
|
505
518
|
localVarPath = "/admin/accounts/{id}/archive"
|
|
506
|
-
.replace(
|
|
519
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
507
520
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
508
521
|
if (configuration) {
|
|
509
522
|
baseOptions = configuration.baseOptions;
|
|
@@ -540,7 +553,7 @@ var AccountsApiAxiosParamCreator = function (configuration) {
|
|
|
540
553
|
// verify required parameter 'id' is not null or undefined
|
|
541
554
|
(0, common_1.assertParamExists)('deleteDeleteClientCredentials', 'id', id);
|
|
542
555
|
localVarPath = "/accounts/me/contacts/credentials/{id}"
|
|
543
|
-
.replace(
|
|
556
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
544
557
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
545
558
|
if (configuration) {
|
|
546
559
|
baseOptions = configuration.baseOptions;
|
|
@@ -577,7 +590,7 @@ var AccountsApiAxiosParamCreator = function (configuration) {
|
|
|
577
590
|
// verify required parameter 'email' is not null or undefined
|
|
578
591
|
(0, common_1.assertParamExists)('deleteUpdateAccountContact', 'email', email);
|
|
579
592
|
localVarPath = "/accounts/me/contacts/{email}"
|
|
580
|
-
.replace(
|
|
593
|
+
.replace('{email}', encodeURIComponent(String(email)));
|
|
581
594
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
582
595
|
if (configuration) {
|
|
583
596
|
baseOptions = configuration.baseOptions;
|
|
@@ -613,7 +626,7 @@ var AccountsApiAxiosParamCreator = function (configuration) {
|
|
|
613
626
|
// verify required parameter 'id' is not null or undefined
|
|
614
627
|
(0, common_1.assertParamExists)('getAdminCreateAccountContact', 'id', id);
|
|
615
628
|
localVarPath = "/admin/accounts/{id}/contacts"
|
|
616
|
-
.replace(
|
|
629
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
617
630
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
618
631
|
if (configuration) {
|
|
619
632
|
baseOptions = configuration.baseOptions;
|
|
@@ -667,22 +680,24 @@ var AccountsApiAxiosParamCreator = function (configuration) {
|
|
|
667
680
|
});
|
|
668
681
|
},
|
|
669
682
|
/**
|
|
670
|
-
* Get Account
|
|
671
|
-
* @
|
|
672
|
-
* @param {string} [email] Contact Email Address
|
|
683
|
+
* Get Account Addresses
|
|
684
|
+
* @param {string} id Xero ID
|
|
673
685
|
* @param {*} [options] Override http request option.
|
|
674
686
|
* @throws {RequiredError}
|
|
675
687
|
*/
|
|
676
|
-
|
|
688
|
+
getGetAccountAddresses: function (id_1) {
|
|
677
689
|
var args_1 = [];
|
|
678
690
|
for (var _i = 1; _i < arguments.length; _i++) {
|
|
679
691
|
args_1[_i - 1] = arguments[_i];
|
|
680
692
|
}
|
|
681
|
-
return __awaiter(_this, __spreadArray([
|
|
693
|
+
return __awaiter(_this, __spreadArray([id_1], args_1, true), void 0, function (id, options) {
|
|
682
694
|
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
683
695
|
if (options === void 0) { options = {}; }
|
|
684
696
|
return __generator(this, function (_a) {
|
|
685
|
-
|
|
697
|
+
// verify required parameter 'id' is not null or undefined
|
|
698
|
+
(0, common_1.assertParamExists)('getGetAccountAddresses', 'id', id);
|
|
699
|
+
localVarPath = "/admin/accounts/{id}/addresses"
|
|
700
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
686
701
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
687
702
|
if (configuration) {
|
|
688
703
|
baseOptions = configuration.baseOptions;
|
|
@@ -690,9 +705,6 @@ var AccountsApiAxiosParamCreator = function (configuration) {
|
|
|
690
705
|
localVarRequestOptions = __assign(__assign({ method: 'GET' }, baseOptions), options);
|
|
691
706
|
localVarHeaderParameter = {};
|
|
692
707
|
localVarQueryParameter = {};
|
|
693
|
-
if (email !== undefined) {
|
|
694
|
-
localVarQueryParameter['email'] = email;
|
|
695
|
-
}
|
|
696
708
|
localVarHeaderParameter['Accept'] = 'application/json';
|
|
697
709
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
698
710
|
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
@@ -705,25 +717,22 @@ var AccountsApiAxiosParamCreator = function (configuration) {
|
|
|
705
717
|
});
|
|
706
718
|
},
|
|
707
719
|
/**
|
|
708
|
-
* Get Account
|
|
709
|
-
* @summary Get Account
|
|
710
|
-
* @param {
|
|
720
|
+
* Get Account Contacts
|
|
721
|
+
* @summary Get Account Contacts
|
|
722
|
+
* @param {string} [email] Contact Email Address
|
|
711
723
|
* @param {*} [options] Override http request option.
|
|
712
724
|
* @throws {RequiredError}
|
|
713
725
|
*/
|
|
714
|
-
|
|
726
|
+
getGetAccountContacts: function (email_1) {
|
|
715
727
|
var args_1 = [];
|
|
716
728
|
for (var _i = 1; _i < arguments.length; _i++) {
|
|
717
729
|
args_1[_i - 1] = arguments[_i];
|
|
718
730
|
}
|
|
719
|
-
return __awaiter(_this, __spreadArray([
|
|
731
|
+
return __awaiter(_this, __spreadArray([email_1], args_1, true), void 0, function (email, options) {
|
|
720
732
|
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
721
733
|
if (options === void 0) { options = {}; }
|
|
722
734
|
return __generator(this, function (_a) {
|
|
723
|
-
|
|
724
|
-
(0, common_1.assertParamExists)('getGetAccountDetailedSummary', 'id', id);
|
|
725
|
-
localVarPath = "/accounts/{id}/summary"
|
|
726
|
-
.replace("{".concat("id", "}"), encodeURIComponent(String(id)));
|
|
735
|
+
localVarPath = "/accounts/me/contacts";
|
|
727
736
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
728
737
|
if (configuration) {
|
|
729
738
|
baseOptions = configuration.baseOptions;
|
|
@@ -731,6 +740,9 @@ var AccountsApiAxiosParamCreator = function (configuration) {
|
|
|
731
740
|
localVarRequestOptions = __assign(__assign({ method: 'GET' }, baseOptions), options);
|
|
732
741
|
localVarHeaderParameter = {};
|
|
733
742
|
localVarQueryParameter = {};
|
|
743
|
+
if (email !== undefined) {
|
|
744
|
+
localVarQueryParameter['email'] = email;
|
|
745
|
+
}
|
|
734
746
|
localVarHeaderParameter['Accept'] = 'application/json';
|
|
735
747
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
736
748
|
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
@@ -743,12 +755,13 @@ var AccountsApiAxiosParamCreator = function (configuration) {
|
|
|
743
755
|
});
|
|
744
756
|
},
|
|
745
757
|
/**
|
|
746
|
-
* Get Account
|
|
747
|
-
* @
|
|
758
|
+
* Get Account Detailed Summary
|
|
759
|
+
* @summary Get Account Detailed Summary
|
|
760
|
+
* @param {number} id Customer ID
|
|
748
761
|
* @param {*} [options] Override http request option.
|
|
749
762
|
* @throws {RequiredError}
|
|
750
763
|
*/
|
|
751
|
-
|
|
764
|
+
getGetAccountDetailedSummary: function (id_1) {
|
|
752
765
|
var args_1 = [];
|
|
753
766
|
for (var _i = 1; _i < arguments.length; _i++) {
|
|
754
767
|
args_1[_i - 1] = arguments[_i];
|
|
@@ -758,9 +771,9 @@ var AccountsApiAxiosParamCreator = function (configuration) {
|
|
|
758
771
|
if (options === void 0) { options = {}; }
|
|
759
772
|
return __generator(this, function (_a) {
|
|
760
773
|
// verify required parameter 'id' is not null or undefined
|
|
761
|
-
(0, common_1.assertParamExists)('
|
|
762
|
-
localVarPath = "/
|
|
763
|
-
.replace(
|
|
774
|
+
(0, common_1.assertParamExists)('getGetAccountDetailedSummary', 'id', id);
|
|
775
|
+
localVarPath = "/accounts/{id}/summary"
|
|
776
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
764
777
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
765
778
|
if (configuration) {
|
|
766
779
|
baseOptions = configuration.baseOptions;
|
|
@@ -915,7 +928,41 @@ var AccountsApiAxiosParamCreator = function (configuration) {
|
|
|
915
928
|
// verify required parameter 'id' is not null or undefined
|
|
916
929
|
(0, common_1.assertParamExists)('getGetFinanceSettings', 'id', id);
|
|
917
930
|
localVarPath = "/admin/accounts/{id}/finance"
|
|
918
|
-
.replace(
|
|
931
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
932
|
+
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
933
|
+
if (configuration) {
|
|
934
|
+
baseOptions = configuration.baseOptions;
|
|
935
|
+
}
|
|
936
|
+
localVarRequestOptions = __assign(__assign({ method: 'GET' }, baseOptions), options);
|
|
937
|
+
localVarHeaderParameter = {};
|
|
938
|
+
localVarQueryParameter = {};
|
|
939
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
940
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
941
|
+
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
942
|
+
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
943
|
+
return [2 /*return*/, {
|
|
944
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
945
|
+
options: localVarRequestOptions,
|
|
946
|
+
}];
|
|
947
|
+
});
|
|
948
|
+
});
|
|
949
|
+
},
|
|
950
|
+
/**
|
|
951
|
+
* Get Last Account
|
|
952
|
+
* @summary Get Last Account
|
|
953
|
+
* @param {*} [options] Override http request option.
|
|
954
|
+
* @throws {RequiredError}
|
|
955
|
+
*/
|
|
956
|
+
getGetLastAccount: function () {
|
|
957
|
+
var args_1 = [];
|
|
958
|
+
for (var _i = 0; _i < arguments.length; _i++) {
|
|
959
|
+
args_1[_i] = arguments[_i];
|
|
960
|
+
}
|
|
961
|
+
return __awaiter(_this, __spreadArray([], args_1, true), void 0, function (options) {
|
|
962
|
+
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
963
|
+
if (options === void 0) { options = {}; }
|
|
964
|
+
return __generator(this, function (_a) {
|
|
965
|
+
localVarPath = "/admin/accounts/last";
|
|
919
966
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
920
967
|
if (configuration) {
|
|
921
968
|
baseOptions = configuration.baseOptions;
|
|
@@ -952,7 +999,7 @@ var AccountsApiAxiosParamCreator = function (configuration) {
|
|
|
952
999
|
// verify required parameter 'id' is not null or undefined
|
|
953
1000
|
(0, common_1.assertParamExists)('getGetTcxPartnerDetails', 'id', id);
|
|
954
1001
|
localVarPath = "/admin/accounts/{id}/tcx/partner"
|
|
955
|
-
.replace(
|
|
1002
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
956
1003
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
957
1004
|
if (configuration) {
|
|
958
1005
|
baseOptions = configuration.baseOptions;
|
|
@@ -1031,8 +1078,8 @@ var AccountsApiAxiosParamCreator = function (configuration) {
|
|
|
1031
1078
|
// verify required parameter 'state' is not null or undefined
|
|
1032
1079
|
(0, common_1.assertParamExists)('patchSetPortalAccess', 'state', state);
|
|
1033
1080
|
localVarPath = "/admin/accounts/{id}/portal/access/{state}"
|
|
1034
|
-
.replace(
|
|
1035
|
-
.replace(
|
|
1081
|
+
.replace('{id}', encodeURIComponent(String(id)))
|
|
1082
|
+
.replace('{state}', encodeURIComponent(String(state)));
|
|
1036
1083
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
1037
1084
|
if (configuration) {
|
|
1038
1085
|
baseOptions = configuration.baseOptions;
|
|
@@ -1071,8 +1118,8 @@ var AccountsApiAxiosParamCreator = function (configuration) {
|
|
|
1071
1118
|
// verify required parameter 'state' is not null or undefined
|
|
1072
1119
|
(0, common_1.assertParamExists)('patchSetPrizePromo', 'state', state);
|
|
1073
1120
|
localVarPath = "/admin/accounts/{id}/prizes/{state}"
|
|
1074
|
-
.replace(
|
|
1075
|
-
.replace(
|
|
1121
|
+
.replace('{id}', encodeURIComponent(String(id)))
|
|
1122
|
+
.replace('{state}', encodeURIComponent(String(state)));
|
|
1076
1123
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
1077
1124
|
if (configuration) {
|
|
1078
1125
|
baseOptions = configuration.baseOptions;
|
|
@@ -1144,7 +1191,7 @@ var AccountsApiAxiosParamCreator = function (configuration) {
|
|
|
1144
1191
|
// verify required parameter 'id' is not null or undefined
|
|
1145
1192
|
(0, common_1.assertParamExists)('patchUpdateAccountCname', 'id', id);
|
|
1146
1193
|
localVarPath = "/admin/accounts/{id}/cname"
|
|
1147
|
-
.replace(
|
|
1194
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
1148
1195
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
1149
1196
|
if (configuration) {
|
|
1150
1197
|
baseOptions = configuration.baseOptions;
|
|
@@ -1183,7 +1230,7 @@ var AccountsApiAxiosParamCreator = function (configuration) {
|
|
|
1183
1230
|
// verify required parameter 'id' is not null or undefined
|
|
1184
1231
|
(0, common_1.assertParamExists)('patchUpdateAccountCompanyNumber', 'id', id);
|
|
1185
1232
|
localVarPath = "/admin/accounts/{id}/companyNumber"
|
|
1186
|
-
.replace(
|
|
1233
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
1187
1234
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
1188
1235
|
if (configuration) {
|
|
1189
1236
|
baseOptions = configuration.baseOptions;
|
|
@@ -1264,7 +1311,7 @@ var AccountsApiAxiosParamCreator = function (configuration) {
|
|
|
1264
1311
|
// verify required parameter 'id' is not null or undefined
|
|
1265
1312
|
(0, common_1.assertParamExists)('patchUpdateAccountPhone', 'id', id);
|
|
1266
1313
|
localVarPath = "/admin/accounts/{id}/phone"
|
|
1267
|
-
.replace(
|
|
1314
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
1268
1315
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
1269
1316
|
if (configuration) {
|
|
1270
1317
|
baseOptions = configuration.baseOptions;
|
|
@@ -1303,7 +1350,7 @@ var AccountsApiAxiosParamCreator = function (configuration) {
|
|
|
1303
1350
|
// verify required parameter 'id' is not null or undefined
|
|
1304
1351
|
(0, common_1.assertParamExists)('patchUpdateAccountVatNumber', 'id', id);
|
|
1305
1352
|
localVarPath = "/admin/accounts/{id}/vatNumber"
|
|
1306
|
-
.replace(
|
|
1353
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
1307
1354
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
1308
1355
|
if (configuration) {
|
|
1309
1356
|
baseOptions = configuration.baseOptions;
|
|
@@ -1342,7 +1389,7 @@ var AccountsApiAxiosParamCreator = function (configuration) {
|
|
|
1342
1389
|
// verify required parameter 'id' is not null or undefined
|
|
1343
1390
|
(0, common_1.assertParamExists)('patchUpdateCreditLimit', 'id', id);
|
|
1344
1391
|
localVarPath = "/admin/accounts/{id}/creditLimit"
|
|
1345
|
-
.replace(
|
|
1392
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
1346
1393
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
1347
1394
|
if (configuration) {
|
|
1348
1395
|
baseOptions = configuration.baseOptions;
|
|
@@ -1382,7 +1429,7 @@ var AccountsApiAxiosParamCreator = function (configuration) {
|
|
|
1382
1429
|
// verify required parameter 'id' is not null or undefined
|
|
1383
1430
|
(0, common_1.assertParamExists)('patchUpdatePriceList', 'id', id);
|
|
1384
1431
|
localVarPath = "/admin/accounts/{id}/priceList"
|
|
1385
|
-
.replace(
|
|
1432
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
1386
1433
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
1387
1434
|
if (configuration) {
|
|
1388
1435
|
baseOptions = configuration.baseOptions;
|
|
@@ -1422,7 +1469,7 @@ var AccountsApiAxiosParamCreator = function (configuration) {
|
|
|
1422
1469
|
// verify required parameter 'id' is not null or undefined
|
|
1423
1470
|
(0, common_1.assertParamExists)('patchUpdateSipChannelCost', 'id', id);
|
|
1424
1471
|
localVarPath = "/admin/accounts/{id}/channelCost"
|
|
1425
|
-
.replace(
|
|
1472
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
1426
1473
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
1427
1474
|
if (configuration) {
|
|
1428
1475
|
baseOptions = configuration.baseOptions;
|
|
@@ -1462,7 +1509,7 @@ var AccountsApiAxiosParamCreator = function (configuration) {
|
|
|
1462
1509
|
// verify required parameter 'id' is not null or undefined
|
|
1463
1510
|
(0, common_1.assertParamExists)('patchUpdateTcxHostingPriceList', 'id', id);
|
|
1464
1511
|
localVarPath = "/admin/accounts/{id}/tcx/hosting/priceList"
|
|
1465
|
-
.replace(
|
|
1512
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
1466
1513
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
1467
1514
|
if (configuration) {
|
|
1468
1515
|
baseOptions = configuration.baseOptions;
|
|
@@ -1502,7 +1549,7 @@ var AccountsApiAxiosParamCreator = function (configuration) {
|
|
|
1502
1549
|
// verify required parameter 'id' is not null or undefined
|
|
1503
1550
|
(0, common_1.assertParamExists)('patchUpdateTcxPartnerId', 'id', id);
|
|
1504
1551
|
localVarPath = "/admin/accounts{id}/tcx/partner/id"
|
|
1505
|
-
.replace(
|
|
1552
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
1506
1553
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
1507
1554
|
if (configuration) {
|
|
1508
1555
|
baseOptions = configuration.baseOptions;
|
|
@@ -1542,7 +1589,7 @@ var AccountsApiAxiosParamCreator = function (configuration) {
|
|
|
1542
1589
|
// verify required parameter 'id' is not null or undefined
|
|
1543
1590
|
(0, common_1.assertParamExists)('postAdminCreateAccountContact', 'id', id);
|
|
1544
1591
|
localVarPath = "/admin/accounts/{id}/contacts"
|
|
1545
|
-
.replace(
|
|
1592
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
1546
1593
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
1547
1594
|
if (configuration) {
|
|
1548
1595
|
baseOptions = configuration.baseOptions;
|
|
@@ -1725,7 +1772,7 @@ var AccountsApiAxiosParamCreator = function (configuration) {
|
|
|
1725
1772
|
// verify required parameter 'email' is not null or undefined
|
|
1726
1773
|
(0, common_1.assertParamExists)('postSendEmailVerificationEmail', 'email', email);
|
|
1727
1774
|
localVarPath = "/accounts/contacts/verify/{email}"
|
|
1728
|
-
.replace(
|
|
1775
|
+
.replace('{email}', encodeURIComponent(String(email)));
|
|
1729
1776
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
1730
1777
|
if (configuration) {
|
|
1731
1778
|
baseOptions = configuration.baseOptions;
|
|
@@ -1801,7 +1848,7 @@ var AccountsApiAxiosParamCreator = function (configuration) {
|
|
|
1801
1848
|
// verify required parameter 'id' is not null or undefined
|
|
1802
1849
|
(0, common_1.assertParamExists)('postSendWelcomeEmail', 'id', id);
|
|
1803
1850
|
localVarPath = "/admin/accounts/{id}/email/welcome"
|
|
1804
|
-
.replace(
|
|
1851
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
1805
1852
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
1806
1853
|
if (configuration) {
|
|
1807
1854
|
baseOptions = configuration.baseOptions;
|
|
@@ -1888,8 +1935,8 @@ var AccountsApiAxiosParamCreator = function (configuration) {
|
|
|
1888
1935
|
// verify required parameter 'contactId' is not null or undefined
|
|
1889
1936
|
(0, common_1.assertParamExists)('putAdminUpdateAccountContact', 'contactId', contactId);
|
|
1890
1937
|
localVarPath = "/admin/accounts/{id}/contacts/{contact_id}"
|
|
1891
|
-
.replace(
|
|
1892
|
-
.replace(
|
|
1938
|
+
.replace('{id}', encodeURIComponent(String(id)))
|
|
1939
|
+
.replace('{contact_id}', encodeURIComponent(String(contactId)));
|
|
1893
1940
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
1894
1941
|
if (configuration) {
|
|
1895
1942
|
baseOptions = configuration.baseOptions;
|
|
@@ -1929,7 +1976,7 @@ var AccountsApiAxiosParamCreator = function (configuration) {
|
|
|
1929
1976
|
// verify required parameter 'email' is not null or undefined
|
|
1930
1977
|
(0, common_1.assertParamExists)('putUpdateAccountContact', 'email', email);
|
|
1931
1978
|
localVarPath = "/accounts/me/contacts/{email}"
|
|
1932
|
-
.replace(
|
|
1979
|
+
.replace('{email}', encodeURIComponent(String(email)));
|
|
1933
1980
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
1934
1981
|
if (configuration) {
|
|
1935
1982
|
baseOptions = configuration.baseOptions;
|
|
@@ -1968,7 +2015,7 @@ var AccountsApiAxiosParamCreator = function (configuration) {
|
|
|
1968
2015
|
// verify required parameter 'id' is not null or undefined
|
|
1969
2016
|
(0, common_1.assertParamExists)('putUpdateBillingAddress', 'id', id);
|
|
1970
2017
|
localVarPath = "/admin/accounts/{id}/billing/address"
|
|
1971
|
-
.replace(
|
|
2018
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
1972
2019
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
1973
2020
|
if (configuration) {
|
|
1974
2021
|
baseOptions = configuration.baseOptions;
|
|
@@ -2007,7 +2054,7 @@ var AccountsApiAxiosParamCreator = function (configuration) {
|
|
|
2007
2054
|
// verify required parameter 'id' is not null or undefined
|
|
2008
2055
|
(0, common_1.assertParamExists)('putUpdateShippingAddress', 'id', id);
|
|
2009
2056
|
localVarPath = "/admin/accounts/{id}/shipping/address"
|
|
2010
|
-
.replace(
|
|
2057
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
2011
2058
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
2012
2059
|
if (configuration) {
|
|
2013
2060
|
baseOptions = configuration.baseOptions;
|
|
@@ -2172,68 +2219,68 @@ var AccountsApiFp = function (configuration) {
|
|
|
2172
2219
|
});
|
|
2173
2220
|
},
|
|
2174
2221
|
/**
|
|
2175
|
-
* Get Account
|
|
2176
|
-
* @
|
|
2177
|
-
* @param {string} [email] Contact Email Address
|
|
2222
|
+
* Get Account Addresses
|
|
2223
|
+
* @param {string} id Xero ID
|
|
2178
2224
|
* @param {*} [options] Override http request option.
|
|
2179
2225
|
* @throws {RequiredError}
|
|
2180
2226
|
*/
|
|
2181
|
-
|
|
2227
|
+
getGetAccountAddresses: function (id, options) {
|
|
2182
2228
|
return __awaiter(this, void 0, void 0, function () {
|
|
2183
2229
|
var localVarAxiosArgs, localVarOperationServerIndex, localVarOperationServerBasePath;
|
|
2184
2230
|
var _a, _b, _c;
|
|
2185
2231
|
return __generator(this, function (_d) {
|
|
2186
2232
|
switch (_d.label) {
|
|
2187
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.
|
|
2233
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.getGetAccountAddresses(id, options)];
|
|
2188
2234
|
case 1:
|
|
2189
2235
|
localVarAxiosArgs = _d.sent();
|
|
2190
2236
|
localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
2191
|
-
localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['AccountsApi.
|
|
2237
|
+
localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['AccountsApi.getGetAccountAddresses']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
2192
2238
|
return [2 /*return*/, function (axios, basePath) { return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath); }];
|
|
2193
2239
|
}
|
|
2194
2240
|
});
|
|
2195
2241
|
});
|
|
2196
2242
|
},
|
|
2197
2243
|
/**
|
|
2198
|
-
* Get Account
|
|
2199
|
-
* @summary Get Account
|
|
2200
|
-
* @param {
|
|
2244
|
+
* Get Account Contacts
|
|
2245
|
+
* @summary Get Account Contacts
|
|
2246
|
+
* @param {string} [email] Contact Email Address
|
|
2201
2247
|
* @param {*} [options] Override http request option.
|
|
2202
2248
|
* @throws {RequiredError}
|
|
2203
2249
|
*/
|
|
2204
|
-
|
|
2250
|
+
getGetAccountContacts: function (email, options) {
|
|
2205
2251
|
return __awaiter(this, void 0, void 0, function () {
|
|
2206
2252
|
var localVarAxiosArgs, localVarOperationServerIndex, localVarOperationServerBasePath;
|
|
2207
2253
|
var _a, _b, _c;
|
|
2208
2254
|
return __generator(this, function (_d) {
|
|
2209
2255
|
switch (_d.label) {
|
|
2210
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.
|
|
2256
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.getGetAccountContacts(email, options)];
|
|
2211
2257
|
case 1:
|
|
2212
2258
|
localVarAxiosArgs = _d.sent();
|
|
2213
2259
|
localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
2214
|
-
localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['AccountsApi.
|
|
2260
|
+
localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['AccountsApi.getGetAccountContacts']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
2215
2261
|
return [2 /*return*/, function (axios, basePath) { return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath); }];
|
|
2216
2262
|
}
|
|
2217
2263
|
});
|
|
2218
2264
|
});
|
|
2219
2265
|
},
|
|
2220
2266
|
/**
|
|
2221
|
-
* Get Account
|
|
2222
|
-
* @
|
|
2267
|
+
* Get Account Detailed Summary
|
|
2268
|
+
* @summary Get Account Detailed Summary
|
|
2269
|
+
* @param {number} id Customer ID
|
|
2223
2270
|
* @param {*} [options] Override http request option.
|
|
2224
2271
|
* @throws {RequiredError}
|
|
2225
2272
|
*/
|
|
2226
|
-
|
|
2273
|
+
getGetAccountDetailedSummary: function (id, options) {
|
|
2227
2274
|
return __awaiter(this, void 0, void 0, function () {
|
|
2228
2275
|
var localVarAxiosArgs, localVarOperationServerIndex, localVarOperationServerBasePath;
|
|
2229
2276
|
var _a, _b, _c;
|
|
2230
2277
|
return __generator(this, function (_d) {
|
|
2231
2278
|
switch (_d.label) {
|
|
2232
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.
|
|
2279
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.getGetAccountDetailedSummary(id, options)];
|
|
2233
2280
|
case 1:
|
|
2234
2281
|
localVarAxiosArgs = _d.sent();
|
|
2235
2282
|
localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
2236
|
-
localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['AccountsApi.
|
|
2283
|
+
localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['AccountsApi.getGetAccountDetailedSummary']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
2237
2284
|
return [2 /*return*/, function (axios, basePath) { return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath); }];
|
|
2238
2285
|
}
|
|
2239
2286
|
});
|
|
@@ -2331,6 +2378,28 @@ var AccountsApiFp = function (configuration) {
|
|
|
2331
2378
|
});
|
|
2332
2379
|
});
|
|
2333
2380
|
},
|
|
2381
|
+
/**
|
|
2382
|
+
* Get Last Account
|
|
2383
|
+
* @summary Get Last Account
|
|
2384
|
+
* @param {*} [options] Override http request option.
|
|
2385
|
+
* @throws {RequiredError}
|
|
2386
|
+
*/
|
|
2387
|
+
getGetLastAccount: function (options) {
|
|
2388
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
2389
|
+
var localVarAxiosArgs, localVarOperationServerIndex, localVarOperationServerBasePath;
|
|
2390
|
+
var _a, _b, _c;
|
|
2391
|
+
return __generator(this, function (_d) {
|
|
2392
|
+
switch (_d.label) {
|
|
2393
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.getGetLastAccount(options)];
|
|
2394
|
+
case 1:
|
|
2395
|
+
localVarAxiosArgs = _d.sent();
|
|
2396
|
+
localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
2397
|
+
localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['AccountsApi.getGetLastAccount']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
2398
|
+
return [2 /*return*/, function (axios, basePath) { return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath); }];
|
|
2399
|
+
}
|
|
2400
|
+
});
|
|
2401
|
+
});
|
|
2402
|
+
},
|
|
2334
2403
|
/**
|
|
2335
2404
|
* Get Account 3CX Details
|
|
2336
2405
|
* @param {string} id Xero ID
|
|
@@ -3043,6 +3112,15 @@ var AccountsApiFactory = function (configuration, basePath, axios) {
|
|
|
3043
3112
|
getGetAccount: function (options) {
|
|
3044
3113
|
return localVarFp.getGetAccount(options).then(function (request) { return request(axios, basePath); });
|
|
3045
3114
|
},
|
|
3115
|
+
/**
|
|
3116
|
+
* Get Account Addresses
|
|
3117
|
+
* @param {string} id Xero ID
|
|
3118
|
+
* @param {*} [options] Override http request option.
|
|
3119
|
+
* @throws {RequiredError}
|
|
3120
|
+
*/
|
|
3121
|
+
getGetAccountAddresses: function (id, options) {
|
|
3122
|
+
return localVarFp.getGetAccountAddresses(id, options).then(function (request) { return request(axios, basePath); });
|
|
3123
|
+
},
|
|
3046
3124
|
/**
|
|
3047
3125
|
* Get Account Contacts
|
|
3048
3126
|
* @summary Get Account Contacts
|
|
@@ -3063,15 +3141,6 @@ var AccountsApiFactory = function (configuration, basePath, axios) {
|
|
|
3063
3141
|
getGetAccountDetailedSummary: function (id, options) {
|
|
3064
3142
|
return localVarFp.getGetAccountDetailedSummary(id, options).then(function (request) { return request(axios, basePath); });
|
|
3065
3143
|
},
|
|
3066
|
-
/**
|
|
3067
|
-
* Get Account Page Details
|
|
3068
|
-
* @param {string} id Xero ID
|
|
3069
|
-
* @param {*} [options] Override http request option.
|
|
3070
|
-
* @throws {RequiredError}
|
|
3071
|
-
*/
|
|
3072
|
-
getGetAccountPageInfo: function (id, options) {
|
|
3073
|
-
return localVarFp.getGetAccountPageInfo(id, options).then(function (request) { return request(axios, basePath); });
|
|
3074
|
-
},
|
|
3075
3144
|
/**
|
|
3076
3145
|
* Get Accounts
|
|
3077
3146
|
* @summary Get Accounts
|
|
@@ -3112,6 +3181,15 @@ var AccountsApiFactory = function (configuration, basePath, axios) {
|
|
|
3112
3181
|
getGetFinanceSettings: function (id, options) {
|
|
3113
3182
|
return localVarFp.getGetFinanceSettings(id, options).then(function (request) { return request(axios, basePath); });
|
|
3114
3183
|
},
|
|
3184
|
+
/**
|
|
3185
|
+
* Get Last Account
|
|
3186
|
+
* @summary Get Last Account
|
|
3187
|
+
* @param {*} [options] Override http request option.
|
|
3188
|
+
* @throws {RequiredError}
|
|
3189
|
+
*/
|
|
3190
|
+
getGetLastAccount: function (options) {
|
|
3191
|
+
return localVarFp.getGetLastAccount(options).then(function (request) { return request(axios, basePath); });
|
|
3192
|
+
},
|
|
3115
3193
|
/**
|
|
3116
3194
|
* Get Account 3CX Details
|
|
3117
3195
|
* @param {string} id Xero ID
|
|
@@ -3468,6 +3546,16 @@ var AccountsApi = /** @class */ (function (_super) {
|
|
|
3468
3546
|
var _this = this;
|
|
3469
3547
|
return (0, exports.AccountsApiFp)(this.configuration).getGetAccount(options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
3470
3548
|
};
|
|
3549
|
+
/**
|
|
3550
|
+
* Get Account Addresses
|
|
3551
|
+
* @param {string} id Xero ID
|
|
3552
|
+
* @param {*} [options] Override http request option.
|
|
3553
|
+
* @throws {RequiredError}
|
|
3554
|
+
*/
|
|
3555
|
+
AccountsApi.prototype.getGetAccountAddresses = function (id, options) {
|
|
3556
|
+
var _this = this;
|
|
3557
|
+
return (0, exports.AccountsApiFp)(this.configuration).getGetAccountAddresses(id, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
3558
|
+
};
|
|
3471
3559
|
/**
|
|
3472
3560
|
* Get Account Contacts
|
|
3473
3561
|
* @summary Get Account Contacts
|
|
@@ -3490,16 +3578,6 @@ var AccountsApi = /** @class */ (function (_super) {
|
|
|
3490
3578
|
var _this = this;
|
|
3491
3579
|
return (0, exports.AccountsApiFp)(this.configuration).getGetAccountDetailedSummary(id, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
3492
3580
|
};
|
|
3493
|
-
/**
|
|
3494
|
-
* Get Account Page Details
|
|
3495
|
-
* @param {string} id Xero ID
|
|
3496
|
-
* @param {*} [options] Override http request option.
|
|
3497
|
-
* @throws {RequiredError}
|
|
3498
|
-
*/
|
|
3499
|
-
AccountsApi.prototype.getGetAccountPageInfo = function (id, options) {
|
|
3500
|
-
var _this = this;
|
|
3501
|
-
return (0, exports.AccountsApiFp)(this.configuration).getGetAccountPageInfo(id, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
3502
|
-
};
|
|
3503
3581
|
/**
|
|
3504
3582
|
* Get Accounts
|
|
3505
3583
|
* @summary Get Accounts
|
|
@@ -3544,6 +3622,16 @@ var AccountsApi = /** @class */ (function (_super) {
|
|
|
3544
3622
|
var _this = this;
|
|
3545
3623
|
return (0, exports.AccountsApiFp)(this.configuration).getGetFinanceSettings(id, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
3546
3624
|
};
|
|
3625
|
+
/**
|
|
3626
|
+
* Get Last Account
|
|
3627
|
+
* @summary Get Last Account
|
|
3628
|
+
* @param {*} [options] Override http request option.
|
|
3629
|
+
* @throws {RequiredError}
|
|
3630
|
+
*/
|
|
3631
|
+
AccountsApi.prototype.getGetLastAccount = function (options) {
|
|
3632
|
+
var _this = this;
|
|
3633
|
+
return (0, exports.AccountsApiFp)(this.configuration).getGetLastAccount(options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
3634
|
+
};
|
|
3547
3635
|
/**
|
|
3548
3636
|
* Get Account 3CX Details
|
|
3549
3637
|
* @param {string} id Xero ID
|
|
@@ -3859,12 +3947,125 @@ var AccountsApi = /** @class */ (function (_super) {
|
|
|
3859
3947
|
exports.AccountsApi = AccountsApi;
|
|
3860
3948
|
exports.PatchSetPortalAccessStateEnum = {
|
|
3861
3949
|
Enable: 'enable',
|
|
3862
|
-
Disable: 'disable'
|
|
3950
|
+
Disable: 'disable',
|
|
3863
3951
|
};
|
|
3864
3952
|
exports.PatchSetPrizePromoStateEnum = {
|
|
3865
3953
|
Enable: 'enable',
|
|
3866
|
-
Disable: 'disable'
|
|
3954
|
+
Disable: 'disable',
|
|
3955
|
+
};
|
|
3956
|
+
/**
|
|
3957
|
+
* BillingApi - axios parameter creator
|
|
3958
|
+
*/
|
|
3959
|
+
var BillingApiAxiosParamCreator = function (configuration) {
|
|
3960
|
+
var _this = this;
|
|
3961
|
+
return {
|
|
3962
|
+
/**
|
|
3963
|
+
* Get Billing Customers
|
|
3964
|
+
* @summary Get Billing Customers
|
|
3965
|
+
* @param {*} [options] Override http request option.
|
|
3966
|
+
* @throws {RequiredError}
|
|
3967
|
+
*/
|
|
3968
|
+
getGetAllCustomer: function () {
|
|
3969
|
+
var args_1 = [];
|
|
3970
|
+
for (var _i = 0; _i < arguments.length; _i++) {
|
|
3971
|
+
args_1[_i] = arguments[_i];
|
|
3972
|
+
}
|
|
3973
|
+
return __awaiter(_this, __spreadArray([], args_1, true), void 0, function (options) {
|
|
3974
|
+
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
3975
|
+
if (options === void 0) { options = {}; }
|
|
3976
|
+
return __generator(this, function (_a) {
|
|
3977
|
+
localVarPath = "/billing/admin/customerList";
|
|
3978
|
+
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
3979
|
+
if (configuration) {
|
|
3980
|
+
baseOptions = configuration.baseOptions;
|
|
3981
|
+
}
|
|
3982
|
+
localVarRequestOptions = __assign(__assign({ method: 'GET' }, baseOptions), options);
|
|
3983
|
+
localVarHeaderParameter = {};
|
|
3984
|
+
localVarQueryParameter = {};
|
|
3985
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
3986
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
3987
|
+
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
3988
|
+
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
3989
|
+
return [2 /*return*/, {
|
|
3990
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
3991
|
+
options: localVarRequestOptions,
|
|
3992
|
+
}];
|
|
3993
|
+
});
|
|
3994
|
+
});
|
|
3995
|
+
},
|
|
3996
|
+
};
|
|
3867
3997
|
};
|
|
3998
|
+
exports.BillingApiAxiosParamCreator = BillingApiAxiosParamCreator;
|
|
3999
|
+
/**
|
|
4000
|
+
* BillingApi - functional programming interface
|
|
4001
|
+
*/
|
|
4002
|
+
var BillingApiFp = function (configuration) {
|
|
4003
|
+
var localVarAxiosParamCreator = (0, exports.BillingApiAxiosParamCreator)(configuration);
|
|
4004
|
+
return {
|
|
4005
|
+
/**
|
|
4006
|
+
* Get Billing Customers
|
|
4007
|
+
* @summary Get Billing Customers
|
|
4008
|
+
* @param {*} [options] Override http request option.
|
|
4009
|
+
* @throws {RequiredError}
|
|
4010
|
+
*/
|
|
4011
|
+
getGetAllCustomer: function (options) {
|
|
4012
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
4013
|
+
var localVarAxiosArgs, localVarOperationServerIndex, localVarOperationServerBasePath;
|
|
4014
|
+
var _a, _b, _c;
|
|
4015
|
+
return __generator(this, function (_d) {
|
|
4016
|
+
switch (_d.label) {
|
|
4017
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.getGetAllCustomer(options)];
|
|
4018
|
+
case 1:
|
|
4019
|
+
localVarAxiosArgs = _d.sent();
|
|
4020
|
+
localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
4021
|
+
localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['BillingApi.getGetAllCustomer']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
4022
|
+
return [2 /*return*/, function (axios, basePath) { return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath); }];
|
|
4023
|
+
}
|
|
4024
|
+
});
|
|
4025
|
+
});
|
|
4026
|
+
},
|
|
4027
|
+
};
|
|
4028
|
+
};
|
|
4029
|
+
exports.BillingApiFp = BillingApiFp;
|
|
4030
|
+
/**
|
|
4031
|
+
* BillingApi - factory interface
|
|
4032
|
+
*/
|
|
4033
|
+
var BillingApiFactory = function (configuration, basePath, axios) {
|
|
4034
|
+
var localVarFp = (0, exports.BillingApiFp)(configuration);
|
|
4035
|
+
return {
|
|
4036
|
+
/**
|
|
4037
|
+
* Get Billing Customers
|
|
4038
|
+
* @summary Get Billing Customers
|
|
4039
|
+
* @param {*} [options] Override http request option.
|
|
4040
|
+
* @throws {RequiredError}
|
|
4041
|
+
*/
|
|
4042
|
+
getGetAllCustomer: function (options) {
|
|
4043
|
+
return localVarFp.getGetAllCustomer(options).then(function (request) { return request(axios, basePath); });
|
|
4044
|
+
},
|
|
4045
|
+
};
|
|
4046
|
+
};
|
|
4047
|
+
exports.BillingApiFactory = BillingApiFactory;
|
|
4048
|
+
/**
|
|
4049
|
+
* BillingApi - object-oriented interface
|
|
4050
|
+
*/
|
|
4051
|
+
var BillingApi = /** @class */ (function (_super) {
|
|
4052
|
+
__extends(BillingApi, _super);
|
|
4053
|
+
function BillingApi() {
|
|
4054
|
+
return _super !== null && _super.apply(this, arguments) || this;
|
|
4055
|
+
}
|
|
4056
|
+
/**
|
|
4057
|
+
* Get Billing Customers
|
|
4058
|
+
* @summary Get Billing Customers
|
|
4059
|
+
* @param {*} [options] Override http request option.
|
|
4060
|
+
* @throws {RequiredError}
|
|
4061
|
+
*/
|
|
4062
|
+
BillingApi.prototype.getGetAllCustomer = function (options) {
|
|
4063
|
+
var _this = this;
|
|
4064
|
+
return (0, exports.BillingApiFp)(this.configuration).getGetAllCustomer(options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
4065
|
+
};
|
|
4066
|
+
return BillingApi;
|
|
4067
|
+
}(base_1.BaseAPI));
|
|
4068
|
+
exports.BillingApi = BillingApi;
|
|
3868
4069
|
/**
|
|
3869
4070
|
* CRMApi - axios parameter creator
|
|
3870
4071
|
*/
|
|
@@ -3891,7 +4092,7 @@ var CRMApiAxiosParamCreator = function (configuration) {
|
|
|
3891
4092
|
// verify required parameter 'id' is not null or undefined
|
|
3892
4093
|
(0, common_1.assertParamExists)('getGetCrmActivities', 'id', id);
|
|
3893
4094
|
localVarPath = "/admin/crm/{id}/activities"
|
|
3894
|
-
.replace(
|
|
4095
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
3895
4096
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
3896
4097
|
if (configuration) {
|
|
3897
4098
|
baseOptions = configuration.baseOptions;
|
|
@@ -3968,7 +4169,7 @@ var CRMApiAxiosParamCreator = function (configuration) {
|
|
|
3968
4169
|
// verify required parameter 'id' is not null or undefined
|
|
3969
4170
|
(0, common_1.assertParamExists)('postCreateCrmNote', 'id', id);
|
|
3970
4171
|
localVarPath = "/admin/crm/{id}/activities/note"
|
|
3971
|
-
.replace(
|
|
4172
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
3972
4173
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
3973
4174
|
if (configuration) {
|
|
3974
4175
|
baseOptions = configuration.baseOptions;
|
|
@@ -4153,10 +4354,11 @@ exports.CRMApi = CRMApi;
|
|
|
4153
4354
|
exports.GetGetCrmActivitiesTypeEnum = {
|
|
4154
4355
|
Alert: 'alert',
|
|
4155
4356
|
Call: 'call',
|
|
4357
|
+
Email: 'email',
|
|
4156
4358
|
Note: 'note',
|
|
4157
4359
|
Order: 'order',
|
|
4158
4360
|
Quote: 'quote',
|
|
4159
|
-
TcxOrder: 'tcx_order'
|
|
4361
|
+
TcxOrder: 'tcx_order',
|
|
4160
4362
|
};
|
|
4161
4363
|
/**
|
|
4162
4364
|
* Class3CXApi - axios parameter creator
|
|
@@ -4204,6 +4406,40 @@ var Class3CXApiAxiosParamCreator = function (configuration) {
|
|
|
4204
4406
|
});
|
|
4205
4407
|
});
|
|
4206
4408
|
},
|
|
4409
|
+
/**
|
|
4410
|
+
* Get 3CX Expiring Keys
|
|
4411
|
+
* @summary Get 3CX Expiring Keys
|
|
4412
|
+
* @param {*} [options] Override http request option.
|
|
4413
|
+
* @throws {RequiredError}
|
|
4414
|
+
*/
|
|
4415
|
+
getGetTcxExpiringKeys: function () {
|
|
4416
|
+
var args_1 = [];
|
|
4417
|
+
for (var _i = 0; _i < arguments.length; _i++) {
|
|
4418
|
+
args_1[_i] = arguments[_i];
|
|
4419
|
+
}
|
|
4420
|
+
return __awaiter(_this, __spreadArray([], args_1, true), void 0, function (options) {
|
|
4421
|
+
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
4422
|
+
if (options === void 0) { options = {}; }
|
|
4423
|
+
return __generator(this, function (_a) {
|
|
4424
|
+
localVarPath = "/tcx/admin/keys/expiring/csv";
|
|
4425
|
+
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
4426
|
+
if (configuration) {
|
|
4427
|
+
baseOptions = configuration.baseOptions;
|
|
4428
|
+
}
|
|
4429
|
+
localVarRequestOptions = __assign(__assign({ method: 'GET' }, baseOptions), options);
|
|
4430
|
+
localVarHeaderParameter = {};
|
|
4431
|
+
localVarQueryParameter = {};
|
|
4432
|
+
localVarHeaderParameter['Accept'] = 'text/csv';
|
|
4433
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
4434
|
+
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
4435
|
+
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
4436
|
+
return [2 /*return*/, {
|
|
4437
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
4438
|
+
options: localVarRequestOptions,
|
|
4439
|
+
}];
|
|
4440
|
+
});
|
|
4441
|
+
});
|
|
4442
|
+
},
|
|
4207
4443
|
/**
|
|
4208
4444
|
* Get Bulk 3CX Licence Details
|
|
4209
4445
|
* @summary Get bulk 3CX Licence Details
|
|
@@ -4273,6 +4509,28 @@ var Class3CXApiFp = function (configuration) {
|
|
|
4273
4509
|
});
|
|
4274
4510
|
});
|
|
4275
4511
|
},
|
|
4512
|
+
/**
|
|
4513
|
+
* Get 3CX Expiring Keys
|
|
4514
|
+
* @summary Get 3CX Expiring Keys
|
|
4515
|
+
* @param {*} [options] Override http request option.
|
|
4516
|
+
* @throws {RequiredError}
|
|
4517
|
+
*/
|
|
4518
|
+
getGetTcxExpiringKeys: function (options) {
|
|
4519
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
4520
|
+
var localVarAxiosArgs, localVarOperationServerIndex, localVarOperationServerBasePath;
|
|
4521
|
+
var _a, _b, _c;
|
|
4522
|
+
return __generator(this, function (_d) {
|
|
4523
|
+
switch (_d.label) {
|
|
4524
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.getGetTcxExpiringKeys(options)];
|
|
4525
|
+
case 1:
|
|
4526
|
+
localVarAxiosArgs = _d.sent();
|
|
4527
|
+
localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
4528
|
+
localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['Class3CXApi.getGetTcxExpiringKeys']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
4529
|
+
return [2 /*return*/, function (axios, basePath) { return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath); }];
|
|
4530
|
+
}
|
|
4531
|
+
});
|
|
4532
|
+
});
|
|
4533
|
+
},
|
|
4276
4534
|
/**
|
|
4277
4535
|
* Get Bulk 3CX Licence Details
|
|
4278
4536
|
* @summary Get bulk 3CX Licence Details
|
|
@@ -4315,6 +4573,15 @@ var Class3CXApiFactory = function (configuration, basePath, axios) {
|
|
|
4315
4573
|
getGetLicenceDetails: function (key, options) {
|
|
4316
4574
|
return localVarFp.getGetLicenceDetails(key, options).then(function (request) { return request(axios, basePath); });
|
|
4317
4575
|
},
|
|
4576
|
+
/**
|
|
4577
|
+
* Get 3CX Expiring Keys
|
|
4578
|
+
* @summary Get 3CX Expiring Keys
|
|
4579
|
+
* @param {*} [options] Override http request option.
|
|
4580
|
+
* @throws {RequiredError}
|
|
4581
|
+
*/
|
|
4582
|
+
getGetTcxExpiringKeys: function (options) {
|
|
4583
|
+
return localVarFp.getGetTcxExpiringKeys(options).then(function (request) { return request(axios, basePath); });
|
|
4584
|
+
},
|
|
4318
4585
|
/**
|
|
4319
4586
|
* Get Bulk 3CX Licence Details
|
|
4320
4587
|
* @summary Get bulk 3CX Licence Details
|
|
@@ -4347,6 +4614,16 @@ var Class3CXApi = /** @class */ (function (_super) {
|
|
|
4347
4614
|
var _this = this;
|
|
4348
4615
|
return (0, exports.Class3CXApiFp)(this.configuration).getGetLicenceDetails(key, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
4349
4616
|
};
|
|
4617
|
+
/**
|
|
4618
|
+
* Get 3CX Expiring Keys
|
|
4619
|
+
* @summary Get 3CX Expiring Keys
|
|
4620
|
+
* @param {*} [options] Override http request option.
|
|
4621
|
+
* @throws {RequiredError}
|
|
4622
|
+
*/
|
|
4623
|
+
Class3CXApi.prototype.getGetTcxExpiringKeys = function (options) {
|
|
4624
|
+
var _this = this;
|
|
4625
|
+
return (0, exports.Class3CXApiFp)(this.configuration).getGetTcxExpiringKeys(options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
4626
|
+
};
|
|
4350
4627
|
/**
|
|
4351
4628
|
* Get Bulk 3CX Licence Details
|
|
4352
4629
|
* @summary Get bulk 3CX Licence Details
|
|
@@ -4631,7 +4908,7 @@ var Class3CXInstallationWizardApiAxiosParamCreator = function (configuration) {
|
|
|
4631
4908
|
// verify required parameter 'id' is not null or undefined
|
|
4632
4909
|
(0, common_1.assertParamExists)('getGetDdisTcxWizard', 'id', id);
|
|
4633
4910
|
localVarPath = "/tcx/wizards/sip/trunks/{id}/ddis"
|
|
4634
|
-
.replace(
|
|
4911
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
4635
4912
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
4636
4913
|
if (configuration) {
|
|
4637
4914
|
baseOptions = configuration.baseOptions;
|
|
@@ -4860,7 +5137,7 @@ var Class3CXInstallationWizardApiAxiosParamCreator = function (configuration) {
|
|
|
4860
5137
|
// verify required parameter 'id' is not null or undefined
|
|
4861
5138
|
(0, common_1.assertParamExists)('getGetSipTrunkTcxWizard', 'id', id);
|
|
4862
5139
|
localVarPath = "/tcx/wizards/sip/trunks/{id}"
|
|
4863
|
-
.replace(
|
|
5140
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
4864
5141
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
4865
5142
|
if (configuration) {
|
|
4866
5143
|
baseOptions = configuration.baseOptions;
|
|
@@ -5498,7 +5775,7 @@ var Class3CXInstallationWizardApiAxiosParamCreator = function (configuration) {
|
|
|
5498
5775
|
// verify required parameter 'id' is not null or undefined
|
|
5499
5776
|
(0, common_1.assertParamExists)('postGetDdisTcxWizard', 'id', id);
|
|
5500
5777
|
localVarPath = "/tcx/wizards/sip/trunks/{id}/ddis"
|
|
5501
|
-
.replace(
|
|
5778
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
5502
5779
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
5503
5780
|
if (configuration) {
|
|
5504
5781
|
baseOptions = configuration.baseOptions;
|
|
@@ -7237,7 +7514,7 @@ var Class3CXInstallationsApiAxiosParamCreator = function (configuration) {
|
|
|
7237
7514
|
// verify required parameter 'wizardId' is not null or undefined
|
|
7238
7515
|
(0, common_1.assertParamExists)('getGetDetails', 'wizardId', wizardId);
|
|
7239
7516
|
localVarPath = "/tcx/installations/{wizard_id}/details"
|
|
7240
|
-
.replace(
|
|
7517
|
+
.replace('{wizard_id}', encodeURIComponent(String(wizardId)));
|
|
7241
7518
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
7242
7519
|
if (configuration) {
|
|
7243
7520
|
baseOptions = configuration.baseOptions;
|
|
@@ -7318,6 +7595,44 @@ var Class3CXInstallationsApiAxiosParamCreator = function (configuration) {
|
|
|
7318
7595
|
});
|
|
7319
7596
|
});
|
|
7320
7597
|
},
|
|
7598
|
+
/**
|
|
7599
|
+
* Get Recording Backup Storage
|
|
7600
|
+
* @summary Get Recording Backup Storage
|
|
7601
|
+
* @param {string} instanceId Instance ID
|
|
7602
|
+
* @param {*} [options] Override http request option.
|
|
7603
|
+
* @throws {RequiredError}
|
|
7604
|
+
*/
|
|
7605
|
+
getGetRecordingBackupStorage: function (instanceId_1) {
|
|
7606
|
+
var args_1 = [];
|
|
7607
|
+
for (var _i = 1; _i < arguments.length; _i++) {
|
|
7608
|
+
args_1[_i - 1] = arguments[_i];
|
|
7609
|
+
}
|
|
7610
|
+
return __awaiter(_this, __spreadArray([instanceId_1], args_1, true), void 0, function (instanceId, options) {
|
|
7611
|
+
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
7612
|
+
if (options === void 0) { options = {}; }
|
|
7613
|
+
return __generator(this, function (_a) {
|
|
7614
|
+
// verify required parameter 'instanceId' is not null or undefined
|
|
7615
|
+
(0, common_1.assertParamExists)('getGetRecordingBackupStorage', 'instanceId', instanceId);
|
|
7616
|
+
localVarPath = "/tcx/installations/{instance_id}/recordings/backup"
|
|
7617
|
+
.replace('{instance_id}', encodeURIComponent(String(instanceId)));
|
|
7618
|
+
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
7619
|
+
if (configuration) {
|
|
7620
|
+
baseOptions = configuration.baseOptions;
|
|
7621
|
+
}
|
|
7622
|
+
localVarRequestOptions = __assign(__assign({ method: 'GET' }, baseOptions), options);
|
|
7623
|
+
localVarHeaderParameter = {};
|
|
7624
|
+
localVarQueryParameter = {};
|
|
7625
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
7626
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
7627
|
+
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
7628
|
+
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
7629
|
+
return [2 /*return*/, {
|
|
7630
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
7631
|
+
options: localVarRequestOptions,
|
|
7632
|
+
}];
|
|
7633
|
+
});
|
|
7634
|
+
});
|
|
7635
|
+
},
|
|
7321
7636
|
/**
|
|
7322
7637
|
* Change instance owner
|
|
7323
7638
|
* @summary Change instance owner
|
|
@@ -7340,7 +7655,7 @@ var Class3CXInstallationsApiAxiosParamCreator = function (configuration) {
|
|
|
7340
7655
|
// verify required parameter 'customerId' is not null or undefined
|
|
7341
7656
|
(0, common_1.assertParamExists)('patchChangeInstanceOwner', 'customerId', customerId);
|
|
7342
7657
|
localVarPath = "/tcx/installations/{instance_id}/owner"
|
|
7343
|
-
.replace(
|
|
7658
|
+
.replace('{instance_id}', encodeURIComponent(String(instanceId)));
|
|
7344
7659
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
7345
7660
|
if (configuration) {
|
|
7346
7661
|
baseOptions = configuration.baseOptions;
|
|
@@ -7383,7 +7698,7 @@ var Class3CXInstallationsApiAxiosParamCreator = function (configuration) {
|
|
|
7383
7698
|
// verify required parameter 'enable' is not null or undefined
|
|
7384
7699
|
(0, common_1.assertParamExists)('patchUpdateAutoFailover', 'enable', enable);
|
|
7385
7700
|
localVarPath = "/tcx/installations/{instance_id}/failover/auto"
|
|
7386
|
-
.replace(
|
|
7701
|
+
.replace('{instance_id}', encodeURIComponent(String(instanceId)));
|
|
7387
7702
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
7388
7703
|
if (configuration) {
|
|
7389
7704
|
baseOptions = configuration.baseOptions;
|
|
@@ -7426,7 +7741,7 @@ var Class3CXInstallationsApiAxiosParamCreator = function (configuration) {
|
|
|
7426
7741
|
// verify required parameter 'gigabytes' is not null or undefined
|
|
7427
7742
|
(0, common_1.assertParamExists)('postAddDisk', 'gigabytes', gigabytes);
|
|
7428
7743
|
localVarPath = "/tcx/installations/{instance_id}/disk"
|
|
7429
|
-
.replace(
|
|
7744
|
+
.replace('{instance_id}', encodeURIComponent(String(instanceId)));
|
|
7430
7745
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
7431
7746
|
if (configuration) {
|
|
7432
7747
|
baseOptions = configuration.baseOptions;
|
|
@@ -7472,7 +7787,7 @@ var Class3CXInstallationsApiAxiosParamCreator = function (configuration) {
|
|
|
7472
7787
|
// verify required parameter 'ipAddress' is not null or undefined
|
|
7473
7788
|
(0, common_1.assertParamExists)('postCreateSshUser', 'ipAddress', ipAddress);
|
|
7474
7789
|
localVarPath = "/tcx/installations/{instance_id}/create/user/root"
|
|
7475
|
-
.replace(
|
|
7790
|
+
.replace('{instance_id}', encodeURIComponent(String(instanceId)));
|
|
7476
7791
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
7477
7792
|
if (configuration) {
|
|
7478
7793
|
baseOptions = configuration.baseOptions;
|
|
@@ -7516,7 +7831,7 @@ var Class3CXInstallationsApiAxiosParamCreator = function (configuration) {
|
|
|
7516
7831
|
// verify required parameter 'instanceId' is not null or undefined
|
|
7517
7832
|
(0, common_1.assertParamExists)('postDeleteInstance', 'instanceId', instanceId);
|
|
7518
7833
|
localVarPath = "/tcx/installations/{instance_id}/delete"
|
|
7519
|
-
.replace(
|
|
7834
|
+
.replace('{instance_id}', encodeURIComponent(String(instanceId)));
|
|
7520
7835
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
7521
7836
|
if (configuration) {
|
|
7522
7837
|
baseOptions = configuration.baseOptions;
|
|
@@ -7557,7 +7872,7 @@ var Class3CXInstallationsApiAxiosParamCreator = function (configuration) {
|
|
|
7557
7872
|
// verify required parameter 'gigabytes' is not null or undefined
|
|
7558
7873
|
(0, common_1.assertParamExists)('postExtendDisk', 'gigabytes', gigabytes);
|
|
7559
7874
|
localVarPath = "/tcx/installations/{instance_id}/disk/extend"
|
|
7560
|
-
.replace(
|
|
7875
|
+
.replace('{instance_id}', encodeURIComponent(String(instanceId)));
|
|
7561
7876
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
7562
7877
|
if (configuration) {
|
|
7563
7878
|
baseOptions = configuration.baseOptions;
|
|
@@ -7603,7 +7918,7 @@ var Class3CXInstallationsApiAxiosParamCreator = function (configuration) {
|
|
|
7603
7918
|
// verify required parameter 'type' is not null or undefined
|
|
7604
7919
|
(0, common_1.assertParamExists)('postFailoverInstance', 'type', type);
|
|
7605
7920
|
localVarPath = "/tcx/installations/{instance_id}/failover"
|
|
7606
|
-
.replace(
|
|
7921
|
+
.replace('{instance_id}', encodeURIComponent(String(instanceId)));
|
|
7607
7922
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
7608
7923
|
if (configuration) {
|
|
7609
7924
|
baseOptions = configuration.baseOptions;
|
|
@@ -7643,7 +7958,7 @@ var Class3CXInstallationsApiAxiosParamCreator = function (configuration) {
|
|
|
7643
7958
|
// verify required parameter 'sbcId' is not null or undefined
|
|
7644
7959
|
(0, common_1.assertParamExists)('postInstallTcxSbc', 'sbcId', sbcId);
|
|
7645
7960
|
localVarPath = "/tcx/installations/sbcs/{sbc_id}/install"
|
|
7646
|
-
.replace(
|
|
7961
|
+
.replace('{sbc_id}', encodeURIComponent(String(sbcId)));
|
|
7647
7962
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
7648
7963
|
if (configuration) {
|
|
7649
7964
|
baseOptions = configuration.baseOptions;
|
|
@@ -7681,7 +7996,7 @@ var Class3CXInstallationsApiAxiosParamCreator = function (configuration) {
|
|
|
7681
7996
|
// verify required parameter 'instanceId' is not null or undefined
|
|
7682
7997
|
(0, common_1.assertParamExists)('postRebootInstance', 'instanceId', instanceId);
|
|
7683
7998
|
localVarPath = "/tcx/installations/{instance_id}/reboot"
|
|
7684
|
-
.replace(
|
|
7999
|
+
.replace('{instance_id}', encodeURIComponent(String(instanceId)));
|
|
7685
8000
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
7686
8001
|
if (configuration) {
|
|
7687
8002
|
baseOptions = configuration.baseOptions;
|
|
@@ -7722,7 +8037,7 @@ var Class3CXInstallationsApiAxiosParamCreator = function (configuration) {
|
|
|
7722
8037
|
// verify required parameter 'size' is not null or undefined
|
|
7723
8038
|
(0, common_1.assertParamExists)('postResizeInstance', 'size', size);
|
|
7724
8039
|
localVarPath = "/tcx/installations/{instance_id}/resize"
|
|
7725
|
-
.replace(
|
|
8040
|
+
.replace('{instance_id}', encodeURIComponent(String(instanceId)));
|
|
7726
8041
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
7727
8042
|
if (configuration) {
|
|
7728
8043
|
baseOptions = configuration.baseOptions;
|
|
@@ -7766,7 +8081,7 @@ var Class3CXInstallationsApiAxiosParamCreator = function (configuration) {
|
|
|
7766
8081
|
// verify required parameter 'instanceId' is not null or undefined
|
|
7767
8082
|
(0, common_1.assertParamExists)('postRestartServices', 'instanceId', instanceId);
|
|
7768
8083
|
localVarPath = "/tcx/installations/{instance_id}/services/restart"
|
|
7769
|
-
.replace(
|
|
8084
|
+
.replace('{instance_id}', encodeURIComponent(String(instanceId)));
|
|
7770
8085
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
7771
8086
|
if (configuration) {
|
|
7772
8087
|
baseOptions = configuration.baseOptions;
|
|
@@ -7807,7 +8122,7 @@ var Class3CXInstallationsApiAxiosParamCreator = function (configuration) {
|
|
|
7807
8122
|
// verify required parameter 'instanceId' is not null or undefined
|
|
7808
8123
|
(0, common_1.assertParamExists)('postScheduledReboot', 'instanceId', instanceId);
|
|
7809
8124
|
localVarPath = "/tcx/installations/{instance_id}/reboot/scheduled"
|
|
7810
|
-
.replace(
|
|
8125
|
+
.replace('{instance_id}', encodeURIComponent(String(instanceId)));
|
|
7811
8126
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
7812
8127
|
if (configuration) {
|
|
7813
8128
|
baseOptions = configuration.baseOptions;
|
|
@@ -7848,7 +8163,7 @@ var Class3CXInstallationsApiAxiosParamCreator = function (configuration) {
|
|
|
7848
8163
|
// verify required parameter 'instanceId' is not null or undefined
|
|
7849
8164
|
(0, common_1.assertParamExists)('postSuspendInstance', 'instanceId', instanceId);
|
|
7850
8165
|
localVarPath = "/tcx/installations/{instance_id}/suspend"
|
|
7851
|
-
.replace(
|
|
8166
|
+
.replace('{instance_id}', encodeURIComponent(String(instanceId)));
|
|
7852
8167
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
7853
8168
|
if (configuration) {
|
|
7854
8169
|
baseOptions = configuration.baseOptions;
|
|
@@ -7888,7 +8203,7 @@ var Class3CXInstallationsApiAxiosParamCreator = function (configuration) {
|
|
|
7888
8203
|
// verify required parameter 'instanceId' is not null or undefined
|
|
7889
8204
|
(0, common_1.assertParamExists)('postTestLoginCredentials', 'instanceId', instanceId);
|
|
7890
8205
|
localVarPath = "/tcx/installations/{instance_id}/tests/login"
|
|
7891
|
-
.replace(
|
|
8206
|
+
.replace('{instance_id}', encodeURIComponent(String(instanceId)));
|
|
7892
8207
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
7893
8208
|
if (configuration) {
|
|
7894
8209
|
baseOptions = configuration.baseOptions;
|
|
@@ -7925,7 +8240,7 @@ var Class3CXInstallationsApiAxiosParamCreator = function (configuration) {
|
|
|
7925
8240
|
// verify required parameter 'instanceId' is not null or undefined
|
|
7926
8241
|
(0, common_1.assertParamExists)('postUnsuspendInstance', 'instanceId', instanceId);
|
|
7927
8242
|
localVarPath = "/tcx/installations/{instance_id}/unsuspend"
|
|
7928
|
-
.replace(
|
|
8243
|
+
.replace('{instance_id}', encodeURIComponent(String(instanceId)));
|
|
7929
8244
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
7930
8245
|
if (configuration) {
|
|
7931
8246
|
baseOptions = configuration.baseOptions;
|
|
@@ -7965,7 +8280,7 @@ var Class3CXInstallationsApiAxiosParamCreator = function (configuration) {
|
|
|
7965
8280
|
// verify required parameter 'schedule' is not null or undefined
|
|
7966
8281
|
(0, common_1.assertParamExists)('postUpgradeDebian', 'schedule', schedule);
|
|
7967
8282
|
localVarPath = "/tcx/installations/{instance_id}/debian/upgrade"
|
|
7968
|
-
.replace(
|
|
8283
|
+
.replace('{instance_id}', encodeURIComponent(String(instanceId)));
|
|
7969
8284
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
7970
8285
|
if (configuration) {
|
|
7971
8286
|
baseOptions = configuration.baseOptions;
|
|
@@ -8006,7 +8321,7 @@ var Class3CXInstallationsApiAxiosParamCreator = function (configuration) {
|
|
|
8006
8321
|
// verify required parameter 'wizardId' is not null or undefined
|
|
8007
8322
|
(0, common_1.assertParamExists)('putGetDetails', 'wizardId', wizardId);
|
|
8008
8323
|
localVarPath = "/tcx/installations/{wizard_id}/details"
|
|
8009
|
-
.replace(
|
|
8324
|
+
.replace('{wizard_id}', encodeURIComponent(String(wizardId)));
|
|
8010
8325
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
8011
8326
|
if (configuration) {
|
|
8012
8327
|
baseOptions = configuration.baseOptions;
|
|
@@ -8088,6 +8403,29 @@ var Class3CXInstallationsApiFp = function (configuration) {
|
|
|
8088
8403
|
});
|
|
8089
8404
|
});
|
|
8090
8405
|
},
|
|
8406
|
+
/**
|
|
8407
|
+
* Get Recording Backup Storage
|
|
8408
|
+
* @summary Get Recording Backup Storage
|
|
8409
|
+
* @param {string} instanceId Instance ID
|
|
8410
|
+
* @param {*} [options] Override http request option.
|
|
8411
|
+
* @throws {RequiredError}
|
|
8412
|
+
*/
|
|
8413
|
+
getGetRecordingBackupStorage: function (instanceId, options) {
|
|
8414
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
8415
|
+
var localVarAxiosArgs, localVarOperationServerIndex, localVarOperationServerBasePath;
|
|
8416
|
+
var _a, _b, _c;
|
|
8417
|
+
return __generator(this, function (_d) {
|
|
8418
|
+
switch (_d.label) {
|
|
8419
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.getGetRecordingBackupStorage(instanceId, options)];
|
|
8420
|
+
case 1:
|
|
8421
|
+
localVarAxiosArgs = _d.sent();
|
|
8422
|
+
localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
8423
|
+
localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['Class3CXInstallationsApi.getGetRecordingBackupStorage']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
8424
|
+
return [2 /*return*/, function (axios, basePath) { return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath); }];
|
|
8425
|
+
}
|
|
8426
|
+
});
|
|
8427
|
+
});
|
|
8428
|
+
},
|
|
8091
8429
|
/**
|
|
8092
8430
|
* Change instance owner
|
|
8093
8431
|
* @summary Change instance owner
|
|
@@ -8529,6 +8867,16 @@ var Class3CXInstallationsApiFactory = function (configuration, basePath, axios)
|
|
|
8529
8867
|
getGetInstallations: function (pageSize, page, customerId, search, status, hosting, installType, options) {
|
|
8530
8868
|
return localVarFp.getGetInstallations(pageSize, page, customerId, search, status, hosting, installType, options).then(function (request) { return request(axios, basePath); });
|
|
8531
8869
|
},
|
|
8870
|
+
/**
|
|
8871
|
+
* Get Recording Backup Storage
|
|
8872
|
+
* @summary Get Recording Backup Storage
|
|
8873
|
+
* @param {string} instanceId Instance ID
|
|
8874
|
+
* @param {*} [options] Override http request option.
|
|
8875
|
+
* @throws {RequiredError}
|
|
8876
|
+
*/
|
|
8877
|
+
getGetRecordingBackupStorage: function (instanceId, options) {
|
|
8878
|
+
return localVarFp.getGetRecordingBackupStorage(instanceId, options).then(function (request) { return request(axios, basePath); });
|
|
8879
|
+
},
|
|
8532
8880
|
/**
|
|
8533
8881
|
* Change instance owner
|
|
8534
8882
|
* @summary Change instance owner
|
|
@@ -8753,6 +9101,17 @@ var Class3CXInstallationsApi = /** @class */ (function (_super) {
|
|
|
8753
9101
|
var _this = this;
|
|
8754
9102
|
return (0, exports.Class3CXInstallationsApiFp)(this.configuration).getGetInstallations(pageSize, page, customerId, search, status, hosting, installType, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
8755
9103
|
};
|
|
9104
|
+
/**
|
|
9105
|
+
* Get Recording Backup Storage
|
|
9106
|
+
* @summary Get Recording Backup Storage
|
|
9107
|
+
* @param {string} instanceId Instance ID
|
|
9108
|
+
* @param {*} [options] Override http request option.
|
|
9109
|
+
* @throws {RequiredError}
|
|
9110
|
+
*/
|
|
9111
|
+
Class3CXInstallationsApi.prototype.getGetRecordingBackupStorage = function (instanceId, options) {
|
|
9112
|
+
var _this = this;
|
|
9113
|
+
return (0, exports.Class3CXInstallationsApiFp)(this.configuration).getGetRecordingBackupStorage(instanceId, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
9114
|
+
};
|
|
8756
9115
|
/**
|
|
8757
9116
|
* Change instance owner
|
|
8758
9117
|
* @summary Change instance owner
|
|
@@ -8962,30 +9321,30 @@ exports.GetGetInstallationsStatusEnum = {
|
|
|
8962
9321
|
Completed: 'Completed',
|
|
8963
9322
|
Outstanding: 'Outstanding',
|
|
8964
9323
|
Offline: 'Offline',
|
|
8965
|
-
FailedOver: 'Failed Over'
|
|
9324
|
+
FailedOver: 'Failed Over',
|
|
8966
9325
|
};
|
|
8967
9326
|
exports.GetGetInstallationsHostingEnum = {
|
|
8968
9327
|
Yellowgrid: 'yellowgrid',
|
|
8969
9328
|
MultiTenant: 'multi-tenant',
|
|
8970
9329
|
Onprem: 'onprem',
|
|
8971
|
-
All: 'all'
|
|
9330
|
+
All: 'all',
|
|
8972
9331
|
};
|
|
8973
9332
|
exports.GetGetInstallationsInstallTypeEnum = {
|
|
8974
9333
|
New: 'new',
|
|
8975
9334
|
Restore: 'restore',
|
|
8976
9335
|
Failover: 'failover',
|
|
8977
|
-
MultiTenant: 'multi-tenant'
|
|
9336
|
+
MultiTenant: 'multi-tenant',
|
|
8978
9337
|
};
|
|
8979
9338
|
exports.PostFailoverInstanceTypeEnum = {
|
|
8980
9339
|
Config: 'config',
|
|
8981
|
-
Image: 'image'
|
|
9340
|
+
Image: 'image',
|
|
8982
9341
|
};
|
|
8983
9342
|
exports.PostResizeInstanceSizeEnum = {
|
|
8984
9343
|
D24: 'd2-4',
|
|
8985
9344
|
D28: 'd2-8',
|
|
8986
9345
|
B230: 'b2-30',
|
|
8987
9346
|
S2vcpu4gb: 's-2vcpu-4gb',
|
|
8988
|
-
S4vcpu8gb: 's-4vcpu-8gb'
|
|
9347
|
+
S4vcpu8gb: 's-4vcpu-8gb',
|
|
8989
9348
|
};
|
|
8990
9349
|
/**
|
|
8991
9350
|
* Class3CXIntegrationsApi - axios parameter creator
|
|
@@ -9140,8 +9499,8 @@ var Class3CXIntegrationsApiAxiosParamCreator = function (configuration) {
|
|
|
9140
9499
|
// verify required parameter 'ref' is not null or undefined
|
|
9141
9500
|
(0, common_1.assertParamExists)('patchUpdateEtpOrderReference', 'ref', ref);
|
|
9142
9501
|
localVarPath = "/tcx/integrations/edtechpro/{clientId}/schools/{schoolId}/orderReference"
|
|
9143
|
-
.replace(
|
|
9144
|
-
.replace(
|
|
9502
|
+
.replace('{clientId}', encodeURIComponent(String(clientId)))
|
|
9503
|
+
.replace('{schoolId}', encodeURIComponent(String(schoolId)));
|
|
9145
9504
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
9146
9505
|
if (configuration) {
|
|
9147
9506
|
baseOptions = configuration.baseOptions;
|
|
@@ -9526,11 +9885,11 @@ var Class3CXIntegrationsApi = /** @class */ (function (_super) {
|
|
|
9526
9885
|
exports.Class3CXIntegrationsApi = Class3CXIntegrationsApi;
|
|
9527
9886
|
exports.GetGetPriceLicenceTypeEnum = {
|
|
9528
9887
|
Lite: 'lite',
|
|
9529
|
-
Pro: 'pro'
|
|
9888
|
+
Pro: 'pro',
|
|
9530
9889
|
};
|
|
9531
9890
|
exports.GetGetPriceSchoolTypeEnum = {
|
|
9532
9891
|
Primary: 'primary',
|
|
9533
|
-
Secondary: 'secondary'
|
|
9892
|
+
Secondary: 'secondary',
|
|
9534
9893
|
};
|
|
9535
9894
|
/**
|
|
9536
9895
|
* Class3CXMultiTenantApi - axios parameter creator
|
|
@@ -9557,7 +9916,7 @@ var Class3CXMultiTenantApiAxiosParamCreator = function (configuration) {
|
|
|
9557
9916
|
// verify required parameter 'reference' is not null or undefined
|
|
9558
9917
|
(0, common_1.assertParamExists)('deleteGetTenant', 'reference', reference);
|
|
9559
9918
|
localVarPath = "/tcx/mt/tenants/{reference}"
|
|
9560
|
-
.replace(
|
|
9919
|
+
.replace('{reference}', encodeURIComponent(String(reference)));
|
|
9561
9920
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
9562
9921
|
if (configuration) {
|
|
9563
9922
|
baseOptions = configuration.baseOptions;
|
|
@@ -9634,7 +9993,7 @@ var Class3CXMultiTenantApiAxiosParamCreator = function (configuration) {
|
|
|
9634
9993
|
// verify required parameter 'reference' is not null or undefined
|
|
9635
9994
|
(0, common_1.assertParamExists)('getGetTenant', 'reference', reference);
|
|
9636
9995
|
localVarPath = "/tcx/mt/tenants/{reference}"
|
|
9637
|
-
.replace(
|
|
9996
|
+
.replace('{reference}', encodeURIComponent(String(reference)));
|
|
9638
9997
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
9639
9998
|
if (configuration) {
|
|
9640
9999
|
baseOptions = configuration.baseOptions;
|
|
@@ -10251,7 +10610,7 @@ exports.GetGetTenantsStatusEnum = {
|
|
|
10251
10610
|
Completed: 'Completed',
|
|
10252
10611
|
Outstanding: 'Outstanding',
|
|
10253
10612
|
Offline: 'Offline',
|
|
10254
|
-
FailedOver: 'Failed Over'
|
|
10613
|
+
FailedOver: 'Failed Over',
|
|
10255
10614
|
};
|
|
10256
10615
|
/**
|
|
10257
10616
|
* MyPBXToolsApi - axios parameter creator
|
|
@@ -10408,7 +10767,7 @@ var NumberPortingApiAxiosParamCreator = function (configuration) {
|
|
|
10408
10767
|
// verify required parameter 'id' is not null or undefined
|
|
10409
10768
|
(0, common_1.assertParamExists)('deleteGetAdminNumberPort', 'id', id);
|
|
10410
10769
|
localVarPath = "/admin/sip/numbers/ports/{id}"
|
|
10411
|
-
.replace(
|
|
10770
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
10412
10771
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
10413
10772
|
if (configuration) {
|
|
10414
10773
|
baseOptions = configuration.baseOptions;
|
|
@@ -10489,7 +10848,7 @@ var NumberPortingApiAxiosParamCreator = function (configuration) {
|
|
|
10489
10848
|
// verify required parameter 'id' is not null or undefined
|
|
10490
10849
|
(0, common_1.assertParamExists)('getGetAdminNumberPort', 'id', id);
|
|
10491
10850
|
localVarPath = "/admin/sip/numbers/ports/{id}"
|
|
10492
|
-
.replace(
|
|
10851
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
10493
10852
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
10494
10853
|
if (configuration) {
|
|
10495
10854
|
baseOptions = configuration.baseOptions;
|
|
@@ -10571,7 +10930,7 @@ var NumberPortingApiAxiosParamCreator = function (configuration) {
|
|
|
10571
10930
|
// verify required parameter 'id' is not null or undefined
|
|
10572
10931
|
(0, common_1.assertParamExists)('getUpdateNumberPort', 'id', id);
|
|
10573
10932
|
localVarPath = "/sip/numbers/ports/{id}"
|
|
10574
|
-
.replace(
|
|
10933
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
10575
10934
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
10576
10935
|
if (configuration) {
|
|
10577
10936
|
baseOptions = configuration.baseOptions;
|
|
@@ -10608,7 +10967,7 @@ var NumberPortingApiAxiosParamCreator = function (configuration) {
|
|
|
10608
10967
|
// verify required parameter 'id' is not null or undefined
|
|
10609
10968
|
(0, common_1.assertParamExists)('patchCancelAdminNumberPort', 'id', id);
|
|
10610
10969
|
localVarPath = "/admin/sip/numbers/ports/{id}/cancel"
|
|
10611
|
-
.replace(
|
|
10970
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
10612
10971
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
10613
10972
|
if (configuration) {
|
|
10614
10973
|
baseOptions = configuration.baseOptions;
|
|
@@ -10645,7 +11004,7 @@ var NumberPortingApiAxiosParamCreator = function (configuration) {
|
|
|
10645
11004
|
// verify required parameter 'id' is not null or undefined
|
|
10646
11005
|
(0, common_1.assertParamExists)('patchCloseAdminNumberPort', 'id', id);
|
|
10647
11006
|
localVarPath = "/admin/sip/numbers/ports/{id}/close"
|
|
10648
|
-
.replace(
|
|
11007
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
10649
11008
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
10650
11009
|
if (configuration) {
|
|
10651
11010
|
baseOptions = configuration.baseOptions;
|
|
@@ -10685,7 +11044,7 @@ var NumberPortingApiAxiosParamCreator = function (configuration) {
|
|
|
10685
11044
|
// verify required parameter 'numberPortAdminNoteBody' is not null or undefined
|
|
10686
11045
|
(0, common_1.assertParamExists)('postAddAdminNote', 'numberPortAdminNoteBody', numberPortAdminNoteBody);
|
|
10687
11046
|
localVarPath = "/admin/sip/numbers/ports/{id}/notes"
|
|
10688
|
-
.replace(
|
|
11047
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
10689
11048
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
10690
11049
|
if (configuration) {
|
|
10691
11050
|
baseOptions = configuration.baseOptions;
|
|
@@ -10820,7 +11179,7 @@ var NumberPortingApiAxiosParamCreator = function (configuration) {
|
|
|
10820
11179
|
// verify required parameter 'id' is not null or undefined
|
|
10821
11180
|
(0, common_1.assertParamExists)('postSubmitNumberPort', 'id', id);
|
|
10822
11181
|
localVarPath = "/sip/numbers/ports/{id}/submit"
|
|
10823
|
-
.replace(
|
|
11182
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
10824
11183
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
10825
11184
|
if (configuration) {
|
|
10826
11185
|
baseOptions = configuration.baseOptions;
|
|
@@ -10908,7 +11267,7 @@ var NumberPortingApiAxiosParamCreator = function (configuration) {
|
|
|
10908
11267
|
// verify required parameter 'id' is not null or undefined
|
|
10909
11268
|
(0, common_1.assertParamExists)('postUpdateNumberPort', 'id', id);
|
|
10910
11269
|
localVarPath = "/sip/numbers/ports/{id}"
|
|
10911
|
-
.replace(
|
|
11270
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
10912
11271
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
10913
11272
|
if (configuration) {
|
|
10914
11273
|
baseOptions = configuration.baseOptions;
|
|
@@ -10987,7 +11346,7 @@ var NumberPortingApiAxiosParamCreator = function (configuration) {
|
|
|
10987
11346
|
// verify required parameter 'numberPortDTO' is not null or undefined
|
|
10988
11347
|
(0, common_1.assertParamExists)('putGetAdminNumberPort', 'numberPortDTO', numberPortDTO);
|
|
10989
11348
|
localVarPath = "/admin/sip/numbers/ports/{id}"
|
|
10990
|
-
.replace(
|
|
11349
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
10991
11350
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
10992
11351
|
if (configuration) {
|
|
10993
11352
|
baseOptions = configuration.baseOptions;
|
|
@@ -11915,6 +12274,38 @@ var OAuth20ApiAxiosParamCreator = function (configuration) {
|
|
|
11915
12274
|
});
|
|
11916
12275
|
});
|
|
11917
12276
|
},
|
|
12277
|
+
/**
|
|
12278
|
+
* Remove Oauth 2.0 Cookies
|
|
12279
|
+
* @param {*} [options] Override http request option.
|
|
12280
|
+
* @throws {RequiredError}
|
|
12281
|
+
*/
|
|
12282
|
+
postLogout: function () {
|
|
12283
|
+
var args_1 = [];
|
|
12284
|
+
for (var _i = 0; _i < arguments.length; _i++) {
|
|
12285
|
+
args_1[_i] = arguments[_i];
|
|
12286
|
+
}
|
|
12287
|
+
return __awaiter(_this, __spreadArray([], args_1, true), void 0, function (options) {
|
|
12288
|
+
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
12289
|
+
if (options === void 0) { options = {}; }
|
|
12290
|
+
return __generator(this, function (_a) {
|
|
12291
|
+
localVarPath = "/oauth2/logout";
|
|
12292
|
+
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
12293
|
+
if (configuration) {
|
|
12294
|
+
baseOptions = configuration.baseOptions;
|
|
12295
|
+
}
|
|
12296
|
+
localVarRequestOptions = __assign(__assign({ method: 'POST' }, baseOptions), options);
|
|
12297
|
+
localVarHeaderParameter = {};
|
|
12298
|
+
localVarQueryParameter = {};
|
|
12299
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
12300
|
+
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
12301
|
+
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
12302
|
+
return [2 /*return*/, {
|
|
12303
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
12304
|
+
options: localVarRequestOptions,
|
|
12305
|
+
}];
|
|
12306
|
+
});
|
|
12307
|
+
});
|
|
12308
|
+
},
|
|
11918
12309
|
/**
|
|
11919
12310
|
* Portal Login
|
|
11920
12311
|
* @summary Portal Login
|
|
@@ -12090,6 +12481,27 @@ var OAuth20ApiFp = function (configuration) {
|
|
|
12090
12481
|
});
|
|
12091
12482
|
});
|
|
12092
12483
|
},
|
|
12484
|
+
/**
|
|
12485
|
+
* Remove Oauth 2.0 Cookies
|
|
12486
|
+
* @param {*} [options] Override http request option.
|
|
12487
|
+
* @throws {RequiredError}
|
|
12488
|
+
*/
|
|
12489
|
+
postLogout: function (options) {
|
|
12490
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
12491
|
+
var localVarAxiosArgs, localVarOperationServerIndex, localVarOperationServerBasePath;
|
|
12492
|
+
var _a, _b, _c;
|
|
12493
|
+
return __generator(this, function (_d) {
|
|
12494
|
+
switch (_d.label) {
|
|
12495
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.postLogout(options)];
|
|
12496
|
+
case 1:
|
|
12497
|
+
localVarAxiosArgs = _d.sent();
|
|
12498
|
+
localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
12499
|
+
localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['OAuth20Api.postLogout']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
12500
|
+
return [2 /*return*/, function (axios, basePath) { return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath); }];
|
|
12501
|
+
}
|
|
12502
|
+
});
|
|
12503
|
+
});
|
|
12504
|
+
},
|
|
12093
12505
|
/**
|
|
12094
12506
|
* Portal Login
|
|
12095
12507
|
* @summary Portal Login
|
|
@@ -12186,6 +12598,14 @@ var OAuth20ApiFactory = function (configuration, basePath, axios) {
|
|
|
12186
12598
|
postGetIdentity: function (options) {
|
|
12187
12599
|
return localVarFp.postGetIdentity(options).then(function (request) { return request(axios, basePath); });
|
|
12188
12600
|
},
|
|
12601
|
+
/**
|
|
12602
|
+
* Remove Oauth 2.0 Cookies
|
|
12603
|
+
* @param {*} [options] Override http request option.
|
|
12604
|
+
* @throws {RequiredError}
|
|
12605
|
+
*/
|
|
12606
|
+
postLogout: function (options) {
|
|
12607
|
+
return localVarFp.postLogout(options).then(function (request) { return request(axios, basePath); });
|
|
12608
|
+
},
|
|
12189
12609
|
/**
|
|
12190
12610
|
* Portal Login
|
|
12191
12611
|
* @summary Portal Login
|
|
@@ -12276,6 +12696,15 @@ var OAuth20Api = /** @class */ (function (_super) {
|
|
|
12276
12696
|
var _this = this;
|
|
12277
12697
|
return (0, exports.OAuth20ApiFp)(this.configuration).postGetIdentity(options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
12278
12698
|
};
|
|
12699
|
+
/**
|
|
12700
|
+
* Remove Oauth 2.0 Cookies
|
|
12701
|
+
* @param {*} [options] Override http request option.
|
|
12702
|
+
* @throws {RequiredError}
|
|
12703
|
+
*/
|
|
12704
|
+
OAuth20Api.prototype.postLogout = function (options) {
|
|
12705
|
+
var _this = this;
|
|
12706
|
+
return (0, exports.OAuth20ApiFp)(this.configuration).postLogout(options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
12707
|
+
};
|
|
12279
12708
|
/**
|
|
12280
12709
|
* Portal Login
|
|
12281
12710
|
* @summary Portal Login
|
|
@@ -12297,7 +12726,7 @@ exports.PostAccessTokenGrantTypeEnum = {
|
|
|
12297
12726
|
AuthorizationCode: 'authorization_code',
|
|
12298
12727
|
MsAuth: 'ms_auth',
|
|
12299
12728
|
TokenExchange: 'token_exchange',
|
|
12300
|
-
Password: 'password'
|
|
12729
|
+
Password: 'password',
|
|
12301
12730
|
};
|
|
12302
12731
|
exports.PostAccessTokenScopeEnum = {
|
|
12303
12732
|
Star: '*',
|
|
@@ -12327,11 +12756,11 @@ exports.PostAccessTokenScopeEnum = {
|
|
|
12327
12756
|
TcxMtRead: 'tcx_mt.read',
|
|
12328
12757
|
TcxMtWrite: 'tcx_mt.write',
|
|
12329
12758
|
TicketsRead: 'tickets.read',
|
|
12330
|
-
TicketsWrite: 'tickets.write'
|
|
12759
|
+
TicketsWrite: 'tickets.write',
|
|
12331
12760
|
};
|
|
12332
12761
|
exports.PostAccessTokenTokenExchangeTypeEnum = {
|
|
12333
12762
|
TcxWizard: 'tcx_wizard',
|
|
12334
|
-
Portal: 'portal'
|
|
12763
|
+
Portal: 'portal',
|
|
12335
12764
|
};
|
|
12336
12765
|
exports.PostAuthoriseScopeEnum = {
|
|
12337
12766
|
Star: '*',
|
|
@@ -12361,7 +12790,7 @@ exports.PostAuthoriseScopeEnum = {
|
|
|
12361
12790
|
TcxMtRead: 'tcx_mt.read',
|
|
12362
12791
|
TcxMtWrite: 'tcx_mt.write',
|
|
12363
12792
|
TicketsRead: 'tickets.read',
|
|
12364
|
-
TicketsWrite: 'tickets.write'
|
|
12793
|
+
TicketsWrite: 'tickets.write',
|
|
12365
12794
|
};
|
|
12366
12795
|
/**
|
|
12367
12796
|
* OrdersApi - axios parameter creator
|
|
@@ -12390,8 +12819,8 @@ var OrdersApiAxiosParamCreator = function (configuration) {
|
|
|
12390
12819
|
// verify required parameter 'batchId' is not null or undefined
|
|
12391
12820
|
(0, common_1.assertParamExists)('deleteDeleteBatch', 'batchId', batchId);
|
|
12392
12821
|
localVarPath = "/admin/orders/{id}/batches/{batch_id}"
|
|
12393
|
-
.replace(
|
|
12394
|
-
.replace(
|
|
12822
|
+
.replace('{id}', encodeURIComponent(String(id)))
|
|
12823
|
+
.replace('{batch_id}', encodeURIComponent(String(batchId)));
|
|
12395
12824
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
12396
12825
|
if (configuration) {
|
|
12397
12826
|
baseOptions = configuration.baseOptions;
|
|
@@ -12428,7 +12857,7 @@ var OrdersApiAxiosParamCreator = function (configuration) {
|
|
|
12428
12857
|
// verify required parameter 'id' is not null or undefined
|
|
12429
12858
|
(0, common_1.assertParamExists)('deleteUpdateOrder', 'id', id);
|
|
12430
12859
|
localVarPath = "/orders/{id}"
|
|
12431
|
-
.replace(
|
|
12860
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
12432
12861
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
12433
12862
|
if (configuration) {
|
|
12434
12863
|
baseOptions = configuration.baseOptions;
|
|
@@ -12471,9 +12900,9 @@ var OrdersApiAxiosParamCreator = function (configuration) {
|
|
|
12471
12900
|
// verify required parameter 'shipmentId' is not null or undefined
|
|
12472
12901
|
(0, common_1.assertParamExists)('deleteUpdateShipment', 'shipmentId', shipmentId);
|
|
12473
12902
|
localVarPath = "/admin/orders/{id}/batches/{batch_id}/shipments/{shipment_id}"
|
|
12474
|
-
.replace(
|
|
12475
|
-
.replace(
|
|
12476
|
-
.replace(
|
|
12903
|
+
.replace('{id}', encodeURIComponent(String(id)))
|
|
12904
|
+
.replace('{batch_id}', encodeURIComponent(String(batchId)))
|
|
12905
|
+
.replace('{shipment_id}', encodeURIComponent(String(shipmentId)));
|
|
12477
12906
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
12478
12907
|
if (configuration) {
|
|
12479
12908
|
baseOptions = configuration.baseOptions;
|
|
@@ -12510,7 +12939,7 @@ var OrdersApiAxiosParamCreator = function (configuration) {
|
|
|
12510
12939
|
// verify required parameter 'id' is not null or undefined
|
|
12511
12940
|
(0, common_1.assertParamExists)('getGetAdminEditableOrder', 'id', id);
|
|
12512
12941
|
localVarPath = "/admin/orders/{id}/views/editable"
|
|
12513
|
-
.replace(
|
|
12942
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
12514
12943
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
12515
12944
|
if (configuration) {
|
|
12516
12945
|
baseOptions = configuration.baseOptions;
|
|
@@ -12548,7 +12977,7 @@ var OrdersApiAxiosParamCreator = function (configuration) {
|
|
|
12548
12977
|
// verify required parameter 'id' is not null or undefined
|
|
12549
12978
|
(0, common_1.assertParamExists)('getGetAdminOrderDetails', 'id', id);
|
|
12550
12979
|
localVarPath = "/admin/orders/{id}/details"
|
|
12551
|
-
.replace(
|
|
12980
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
12552
12981
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
12553
12982
|
if (configuration) {
|
|
12554
12983
|
baseOptions = configuration.baseOptions;
|
|
@@ -12592,9 +13021,9 @@ var OrdersApiAxiosParamCreator = function (configuration) {
|
|
|
12592
13021
|
// verify required parameter 'shipmentId' is not null or undefined
|
|
12593
13022
|
(0, common_1.assertParamExists)('getGetCommercialInvoice', 'shipmentId', shipmentId);
|
|
12594
13023
|
localVarPath = "/admin/orders/{id}/batches/{batch_id}/shipments/{shipment_id}/pdf"
|
|
12595
|
-
.replace(
|
|
12596
|
-
.replace(
|
|
12597
|
-
.replace(
|
|
13024
|
+
.replace('{id}', encodeURIComponent(String(id)))
|
|
13025
|
+
.replace('{batch_id}', encodeURIComponent(String(batchId)))
|
|
13026
|
+
.replace('{shipment_id}', encodeURIComponent(String(shipmentId)));
|
|
12598
13027
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
12599
13028
|
if (configuration) {
|
|
12600
13029
|
baseOptions = configuration.baseOptions;
|
|
@@ -12632,7 +13061,7 @@ var OrdersApiAxiosParamCreator = function (configuration) {
|
|
|
12632
13061
|
// verify required parameter 'id' is not null or undefined
|
|
12633
13062
|
(0, common_1.assertParamExists)('getGetEditableOrder', 'id', id);
|
|
12634
13063
|
localVarPath = "/orders/{id}/views/editable"
|
|
12635
|
-
.replace(
|
|
13064
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
12636
13065
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
12637
13066
|
if (configuration) {
|
|
12638
13067
|
baseOptions = configuration.baseOptions;
|
|
@@ -12673,8 +13102,8 @@ var OrdersApiAxiosParamCreator = function (configuration) {
|
|
|
12673
13102
|
// verify required parameter 'itemId' is not null or undefined
|
|
12674
13103
|
(0, common_1.assertParamExists)('getGetItemSerialInfo', 'itemId', itemId);
|
|
12675
13104
|
localVarPath = "/admin/orders/{id}/items/{item_id}/info"
|
|
12676
|
-
.replace(
|
|
12677
|
-
.replace(
|
|
13105
|
+
.replace('{id}', encodeURIComponent(String(id)))
|
|
13106
|
+
.replace('{item_id}', encodeURIComponent(String(itemId)));
|
|
12678
13107
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
12679
13108
|
if (configuration) {
|
|
12680
13109
|
baseOptions = configuration.baseOptions;
|
|
@@ -12712,7 +13141,7 @@ var OrdersApiAxiosParamCreator = function (configuration) {
|
|
|
12712
13141
|
// verify required parameter 'id' is not null or undefined
|
|
12713
13142
|
(0, common_1.assertParamExists)('getGetOrderPdf', 'id', id);
|
|
12714
13143
|
localVarPath = "/orders/{id}/pdf"
|
|
12715
|
-
.replace(
|
|
13144
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
12716
13145
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
12717
13146
|
if (configuration) {
|
|
12718
13147
|
baseOptions = configuration.baseOptions;
|
|
@@ -12750,7 +13179,7 @@ var OrdersApiAxiosParamCreator = function (configuration) {
|
|
|
12750
13179
|
// verify required parameter 'id' is not null or undefined
|
|
12751
13180
|
(0, common_1.assertParamExists)('getGetOrderSummary', 'id', id);
|
|
12752
13181
|
localVarPath = "/admin/orders/{id}/summary"
|
|
12753
|
-
.replace(
|
|
13182
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
12754
13183
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
12755
13184
|
if (configuration) {
|
|
12756
13185
|
baseOptions = configuration.baseOptions;
|
|
@@ -12850,7 +13279,7 @@ var OrdersApiAxiosParamCreator = function (configuration) {
|
|
|
12850
13279
|
// verify required parameter 'id' is not null or undefined
|
|
12851
13280
|
(0, common_1.assertParamExists)('patchCompleteOrder', 'id', id);
|
|
12852
13281
|
localVarPath = "/admin/orders/{id}/complete"
|
|
12853
|
-
.replace(
|
|
13282
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
12854
13283
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
12855
13284
|
if (configuration) {
|
|
12856
13285
|
baseOptions = configuration.baseOptions;
|
|
@@ -12889,7 +13318,7 @@ var OrdersApiAxiosParamCreator = function (configuration) {
|
|
|
12889
13318
|
// verify required parameter 'id' is not null or undefined
|
|
12890
13319
|
(0, common_1.assertParamExists)('postAddOrderNote', 'id', id);
|
|
12891
13320
|
localVarPath = "/admin/orders/{id}/notes"
|
|
12892
|
-
.replace(
|
|
13321
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
12893
13322
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
12894
13323
|
if (configuration) {
|
|
12895
13324
|
baseOptions = configuration.baseOptions;
|
|
@@ -12974,8 +13403,8 @@ var OrdersApiAxiosParamCreator = function (configuration) {
|
|
|
12974
13403
|
// verify required parameter 'shipmentId' is not null or undefined
|
|
12975
13404
|
(0, common_1.assertParamExists)('postCreateConsignment', 'shipmentId', shipmentId);
|
|
12976
13405
|
localVarPath = "/admin/orders/{id}/shipments/{shipment_id}/consignment"
|
|
12977
|
-
.replace(
|
|
12978
|
-
.replace(
|
|
13406
|
+
.replace('{id}', encodeURIComponent(String(id)))
|
|
13407
|
+
.replace('{shipment_id}', encodeURIComponent(String(shipmentId)));
|
|
12979
13408
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
12980
13409
|
if (configuration) {
|
|
12981
13410
|
baseOptions = configuration.baseOptions;
|
|
@@ -12996,6 +13425,43 @@ var OrdersApiAxiosParamCreator = function (configuration) {
|
|
|
12996
13425
|
});
|
|
12997
13426
|
});
|
|
12998
13427
|
},
|
|
13428
|
+
/**
|
|
13429
|
+
* Create an order via the legacy portal
|
|
13430
|
+
* @summary Create an order via the legacy portal
|
|
13431
|
+
* @param {OrderDTO} [orderDTO] Legacy Portal Order
|
|
13432
|
+
* @param {*} [options] Override http request option.
|
|
13433
|
+
* @throws {RequiredError}
|
|
13434
|
+
*/
|
|
13435
|
+
postCreatePortalOrderLegacy: function (orderDTO_1) {
|
|
13436
|
+
var args_1 = [];
|
|
13437
|
+
for (var _i = 1; _i < arguments.length; _i++) {
|
|
13438
|
+
args_1[_i - 1] = arguments[_i];
|
|
13439
|
+
}
|
|
13440
|
+
return __awaiter(_this, __spreadArray([orderDTO_1], args_1, true), void 0, function (orderDTO, options) {
|
|
13441
|
+
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
13442
|
+
if (options === void 0) { options = {}; }
|
|
13443
|
+
return __generator(this, function (_a) {
|
|
13444
|
+
localVarPath = "/orders/portal/legacy";
|
|
13445
|
+
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
13446
|
+
if (configuration) {
|
|
13447
|
+
baseOptions = configuration.baseOptions;
|
|
13448
|
+
}
|
|
13449
|
+
localVarRequestOptions = __assign(__assign({ method: 'POST' }, baseOptions), options);
|
|
13450
|
+
localVarHeaderParameter = {};
|
|
13451
|
+
localVarQueryParameter = {};
|
|
13452
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
13453
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
13454
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
13455
|
+
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
13456
|
+
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
13457
|
+
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(orderDTO, localVarRequestOptions, configuration);
|
|
13458
|
+
return [2 /*return*/, {
|
|
13459
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
13460
|
+
options: localVarRequestOptions,
|
|
13461
|
+
}];
|
|
13462
|
+
});
|
|
13463
|
+
});
|
|
13464
|
+
},
|
|
12999
13465
|
/**
|
|
13000
13466
|
* Create Shipment (Admin)
|
|
13001
13467
|
* @summary Create Shipment (Admin)
|
|
@@ -13019,8 +13485,8 @@ var OrdersApiAxiosParamCreator = function (configuration) {
|
|
|
13019
13485
|
// verify required parameter 'batchId' is not null or undefined
|
|
13020
13486
|
(0, common_1.assertParamExists)('postCreateShipment', 'batchId', batchId);
|
|
13021
13487
|
localVarPath = "/admin/orders/{id}/batches/{batch_id}/shipments"
|
|
13022
|
-
.replace(
|
|
13023
|
-
.replace(
|
|
13488
|
+
.replace('{id}', encodeURIComponent(String(id)))
|
|
13489
|
+
.replace('{batch_id}', encodeURIComponent(String(batchId)));
|
|
13024
13490
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
13025
13491
|
if (configuration) {
|
|
13026
13492
|
baseOptions = configuration.baseOptions;
|
|
@@ -13102,7 +13568,7 @@ var OrdersApiAxiosParamCreator = function (configuration) {
|
|
|
13102
13568
|
// verify required parameter 'id' is not null or undefined
|
|
13103
13569
|
(0, common_1.assertParamExists)('postIssueCredit', 'id', id);
|
|
13104
13570
|
localVarPath = "/admin/orders/{id}/credit"
|
|
13105
|
-
.replace(
|
|
13571
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
13106
13572
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
13107
13573
|
if (configuration) {
|
|
13108
13574
|
baseOptions = configuration.baseOptions;
|
|
@@ -13148,8 +13614,8 @@ var OrdersApiAxiosParamCreator = function (configuration) {
|
|
|
13148
13614
|
// verify required parameter 'printer' is not null or undefined
|
|
13149
13615
|
(0, common_1.assertParamExists)('postPrintShippingLabel', 'printer', printer);
|
|
13150
13616
|
localVarPath = "/admin/orders/{id}/shipments/{shipment_id}/label/print"
|
|
13151
|
-
.replace(
|
|
13152
|
-
.replace(
|
|
13617
|
+
.replace('{id}', encodeURIComponent(String(id)))
|
|
13618
|
+
.replace('{shipment_id}', encodeURIComponent(String(shipmentId)));
|
|
13153
13619
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
13154
13620
|
if (configuration) {
|
|
13155
13621
|
baseOptions = configuration.baseOptions;
|
|
@@ -13193,8 +13659,8 @@ var OrdersApiAxiosParamCreator = function (configuration) {
|
|
|
13193
13659
|
// verify required parameter 'batchId' is not null or undefined
|
|
13194
13660
|
(0, common_1.assertParamExists)('postProcessTcxLicences', 'batchId', batchId);
|
|
13195
13661
|
localVarPath = "/admin/orders/{id}/batches/{batch_id}/licences/process"
|
|
13196
|
-
.replace(
|
|
13197
|
-
.replace(
|
|
13662
|
+
.replace('{id}', encodeURIComponent(String(id)))
|
|
13663
|
+
.replace('{batch_id}', encodeURIComponent(String(batchId)));
|
|
13198
13664
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
13199
13665
|
if (configuration) {
|
|
13200
13666
|
baseOptions = configuration.baseOptions;
|
|
@@ -13235,7 +13701,7 @@ var OrdersApiAxiosParamCreator = function (configuration) {
|
|
|
13235
13701
|
// verify required parameter 'email' is not null or undefined
|
|
13236
13702
|
(0, common_1.assertParamExists)('postSendOrderEmail', 'email', email);
|
|
13237
13703
|
localVarPath = "/admin/orders/{id}/email/send"
|
|
13238
|
-
.replace(
|
|
13704
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
13239
13705
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
13240
13706
|
if (configuration) {
|
|
13241
13707
|
baseOptions = configuration.baseOptions;
|
|
@@ -13284,9 +13750,9 @@ var OrdersApiAxiosParamCreator = function (configuration) {
|
|
|
13284
13750
|
// verify required parameter 'email' is not null or undefined
|
|
13285
13751
|
(0, common_1.assertParamExists)('postSendShipmentEmail', 'email', email);
|
|
13286
13752
|
localVarPath = "/admin/orders/{id}/batches/{batch_id}/shipments/{shipment_id}/send/email"
|
|
13287
|
-
.replace(
|
|
13288
|
-
.replace(
|
|
13289
|
-
.replace(
|
|
13753
|
+
.replace('{id}', encodeURIComponent(String(id)))
|
|
13754
|
+
.replace('{batch_id}', encodeURIComponent(String(batchId)))
|
|
13755
|
+
.replace('{shipment_id}', encodeURIComponent(String(shipmentId)));
|
|
13290
13756
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
13291
13757
|
if (configuration) {
|
|
13292
13758
|
baseOptions = configuration.baseOptions;
|
|
@@ -13329,8 +13795,8 @@ var OrdersApiAxiosParamCreator = function (configuration) {
|
|
|
13329
13795
|
// verify required parameter 'batchId' is not null or undefined
|
|
13330
13796
|
(0, common_1.assertParamExists)('postSendSupplierEmail', 'batchId', batchId);
|
|
13331
13797
|
localVarPath = "/admin/orders/{id}/batches/{batch_id}/email/send"
|
|
13332
|
-
.replace(
|
|
13333
|
-
.replace(
|
|
13798
|
+
.replace('{id}', encodeURIComponent(String(id)))
|
|
13799
|
+
.replace('{batch_id}', encodeURIComponent(String(batchId)));
|
|
13334
13800
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
13335
13801
|
if (configuration) {
|
|
13336
13802
|
baseOptions = configuration.baseOptions;
|
|
@@ -13368,7 +13834,7 @@ var OrdersApiAxiosParamCreator = function (configuration) {
|
|
|
13368
13834
|
// verify required parameter 'id' is not null or undefined
|
|
13369
13835
|
(0, common_1.assertParamExists)('postSplitOrder', 'id', id);
|
|
13370
13836
|
localVarPath = "/admin/orders/{id}/split"
|
|
13371
|
-
.replace(
|
|
13837
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
13372
13838
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
13373
13839
|
if (configuration) {
|
|
13374
13840
|
baseOptions = configuration.baseOptions;
|
|
@@ -13412,7 +13878,7 @@ var OrdersApiAxiosParamCreator = function (configuration) {
|
|
|
13412
13878
|
// verify required parameter 'supplierId' is not null or undefined
|
|
13413
13879
|
(0, common_1.assertParamExists)('putAllocateItems', 'supplierId', supplierId);
|
|
13414
13880
|
localVarPath = "/admin/orders/{id}/items/allocate"
|
|
13415
|
-
.replace(
|
|
13881
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
13416
13882
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
13417
13883
|
if (configuration) {
|
|
13418
13884
|
baseOptions = configuration.baseOptions;
|
|
@@ -13457,7 +13923,7 @@ var OrdersApiAxiosParamCreator = function (configuration) {
|
|
|
13457
13923
|
// verify required parameter 'id' is not null or undefined
|
|
13458
13924
|
(0, common_1.assertParamExists)('putUpdateAdminOrder', 'id', id);
|
|
13459
13925
|
localVarPath = "/admin/orders/{id}"
|
|
13460
|
-
.replace(
|
|
13926
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
13461
13927
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
13462
13928
|
if (configuration) {
|
|
13463
13929
|
baseOptions = configuration.baseOptions;
|
|
@@ -13507,9 +13973,9 @@ var OrdersApiAxiosParamCreator = function (configuration) {
|
|
|
13507
13973
|
// verify required parameter 'itemId' is not null or undefined
|
|
13508
13974
|
(0, common_1.assertParamExists)('putUpdateBatchItem', 'itemId', itemId);
|
|
13509
13975
|
localVarPath = "/admin/orders/{id}/batches/{batch_id}/items/{item_id}"
|
|
13510
|
-
.replace(
|
|
13511
|
-
.replace(
|
|
13512
|
-
.replace(
|
|
13976
|
+
.replace('{id}', encodeURIComponent(String(id)))
|
|
13977
|
+
.replace('{batch_id}', encodeURIComponent(String(batchId)))
|
|
13978
|
+
.replace('{item_id}', encodeURIComponent(String(itemId)));
|
|
13513
13979
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
13514
13980
|
if (configuration) {
|
|
13515
13981
|
baseOptions = configuration.baseOptions;
|
|
@@ -13551,7 +14017,7 @@ var OrdersApiAxiosParamCreator = function (configuration) {
|
|
|
13551
14017
|
// verify required parameter 'id' is not null or undefined
|
|
13552
14018
|
(0, common_1.assertParamExists)('putUpdateOrder', 'id', id);
|
|
13553
14019
|
localVarPath = "/orders/{id}"
|
|
13554
|
-
.replace(
|
|
14020
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
13555
14021
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
13556
14022
|
if (configuration) {
|
|
13557
14023
|
baseOptions = configuration.baseOptions;
|
|
@@ -13597,7 +14063,7 @@ var OrdersApiAxiosParamCreator = function (configuration) {
|
|
|
13597
14063
|
// verify required parameter 'paid' is not null or undefined
|
|
13598
14064
|
(0, common_1.assertParamExists)('putUpdatePaymentStatus', 'paid', paid);
|
|
13599
14065
|
localVarPath = "/admin/orders/{id}/paid"
|
|
13600
|
-
.replace(
|
|
14066
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
13601
14067
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
13602
14068
|
if (configuration) {
|
|
13603
14069
|
baseOptions = configuration.baseOptions;
|
|
@@ -13645,9 +14111,9 @@ var OrdersApiAxiosParamCreator = function (configuration) {
|
|
|
13645
14111
|
// verify required parameter 'shipmentId' is not null or undefined
|
|
13646
14112
|
(0, common_1.assertParamExists)('putUpdateShipment', 'shipmentId', shipmentId);
|
|
13647
14113
|
localVarPath = "/admin/orders/{id}/batches/{batch_id}/shipments/{shipment_id}"
|
|
13648
|
-
.replace(
|
|
13649
|
-
.replace(
|
|
13650
|
-
.replace(
|
|
14114
|
+
.replace('{id}', encodeURIComponent(String(id)))
|
|
14115
|
+
.replace('{batch_id}', encodeURIComponent(String(batchId)))
|
|
14116
|
+
.replace('{shipment_id}', encodeURIComponent(String(shipmentId)));
|
|
13651
14117
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
13652
14118
|
if (configuration) {
|
|
13653
14119
|
baseOptions = configuration.baseOptions;
|
|
@@ -14037,6 +14503,29 @@ var OrdersApiFp = function (configuration) {
|
|
|
14037
14503
|
});
|
|
14038
14504
|
});
|
|
14039
14505
|
},
|
|
14506
|
+
/**
|
|
14507
|
+
* Create an order via the legacy portal
|
|
14508
|
+
* @summary Create an order via the legacy portal
|
|
14509
|
+
* @param {OrderDTO} [orderDTO] Legacy Portal Order
|
|
14510
|
+
* @param {*} [options] Override http request option.
|
|
14511
|
+
* @throws {RequiredError}
|
|
14512
|
+
*/
|
|
14513
|
+
postCreatePortalOrderLegacy: function (orderDTO, options) {
|
|
14514
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
14515
|
+
var localVarAxiosArgs, localVarOperationServerIndex, localVarOperationServerBasePath;
|
|
14516
|
+
var _a, _b, _c;
|
|
14517
|
+
return __generator(this, function (_d) {
|
|
14518
|
+
switch (_d.label) {
|
|
14519
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.postCreatePortalOrderLegacy(orderDTO, options)];
|
|
14520
|
+
case 1:
|
|
14521
|
+
localVarAxiosArgs = _d.sent();
|
|
14522
|
+
localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
14523
|
+
localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['OrdersApi.postCreatePortalOrderLegacy']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
14524
|
+
return [2 /*return*/, function (axios, basePath) { return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath); }];
|
|
14525
|
+
}
|
|
14526
|
+
});
|
|
14527
|
+
});
|
|
14528
|
+
},
|
|
14040
14529
|
/**
|
|
14041
14530
|
* Create Shipment (Admin)
|
|
14042
14531
|
* @summary Create Shipment (Admin)
|
|
@@ -14582,6 +15071,16 @@ var OrdersApiFactory = function (configuration, basePath, axios) {
|
|
|
14582
15071
|
postCreateConsignment: function (id, shipmentId, shippingRequestDTO, options) {
|
|
14583
15072
|
return localVarFp.postCreateConsignment(id, shipmentId, shippingRequestDTO, options).then(function (request) { return request(axios, basePath); });
|
|
14584
15073
|
},
|
|
15074
|
+
/**
|
|
15075
|
+
* Create an order via the legacy portal
|
|
15076
|
+
* @summary Create an order via the legacy portal
|
|
15077
|
+
* @param {OrderDTO} [orderDTO] Legacy Portal Order
|
|
15078
|
+
* @param {*} [options] Override http request option.
|
|
15079
|
+
* @throws {RequiredError}
|
|
15080
|
+
*/
|
|
15081
|
+
postCreatePortalOrderLegacy: function (orderDTO, options) {
|
|
15082
|
+
return localVarFp.postCreatePortalOrderLegacy(orderDTO, options).then(function (request) { return request(axios, basePath); });
|
|
15083
|
+
},
|
|
14585
15084
|
/**
|
|
14586
15085
|
* Create Shipment (Admin)
|
|
14587
15086
|
* @summary Create Shipment (Admin)
|
|
@@ -14949,6 +15448,17 @@ var OrdersApi = /** @class */ (function (_super) {
|
|
|
14949
15448
|
var _this = this;
|
|
14950
15449
|
return (0, exports.OrdersApiFp)(this.configuration).postCreateConsignment(id, shipmentId, shippingRequestDTO, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
14951
15450
|
};
|
|
15451
|
+
/**
|
|
15452
|
+
* Create an order via the legacy portal
|
|
15453
|
+
* @summary Create an order via the legacy portal
|
|
15454
|
+
* @param {OrderDTO} [orderDTO] Legacy Portal Order
|
|
15455
|
+
* @param {*} [options] Override http request option.
|
|
15456
|
+
* @throws {RequiredError}
|
|
15457
|
+
*/
|
|
15458
|
+
OrdersApi.prototype.postCreatePortalOrderLegacy = function (orderDTO, options) {
|
|
15459
|
+
var _this = this;
|
|
15460
|
+
return (0, exports.OrdersApiFp)(this.configuration).postCreatePortalOrderLegacy(orderDTO, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
15461
|
+
};
|
|
14952
15462
|
/**
|
|
14953
15463
|
* Create Shipment (Admin)
|
|
14954
15464
|
* @summary Create Shipment (Admin)
|
|
@@ -15147,18 +15657,18 @@ exports.GetGetOrdersStatusEnum = {
|
|
|
15147
15657
|
Paid: 'PAID',
|
|
15148
15658
|
InvoicePaid: 'INVOICE_PAID',
|
|
15149
15659
|
Unpaid: 'UNPAID',
|
|
15150
|
-
Quote: 'QUOTE'
|
|
15660
|
+
Quote: 'QUOTE',
|
|
15151
15661
|
};
|
|
15152
15662
|
exports.GetGetOrdersFilterEnum = {
|
|
15153
15663
|
Outstanding: 'OUTSTANDING',
|
|
15154
15664
|
Quotes: 'QUOTES',
|
|
15155
15665
|
All: 'ALL',
|
|
15156
|
-
BackOrders: 'BACK_ORDERS'
|
|
15666
|
+
BackOrders: 'BACK_ORDERS',
|
|
15157
15667
|
};
|
|
15158
15668
|
exports.PostPrintShippingLabelPrinterEnum = {
|
|
15159
15669
|
NUMBER_1: 1,
|
|
15160
15670
|
NUMBER_2: 2,
|
|
15161
|
-
NUMBER_3: 3
|
|
15671
|
+
NUMBER_3: 3,
|
|
15162
15672
|
};
|
|
15163
15673
|
/**
|
|
15164
15674
|
* PricingApi - axios parameter creator
|
|
@@ -15431,14 +15941,14 @@ exports.GetGetPriceListTypeEnum = {
|
|
|
15431
15941
|
EdTechPro: 'EdTechPro',
|
|
15432
15942
|
Sms: 'SMS',
|
|
15433
15943
|
SipTrunks: 'SIP Trunks',
|
|
15434
|
-
CrmIntegrations: 'CRM Integrations'
|
|
15944
|
+
CrmIntegrations: 'CRM Integrations',
|
|
15435
15945
|
};
|
|
15436
15946
|
exports.GetGetPriceListFormatEnum = {
|
|
15437
15947
|
Pdf: 'pdf',
|
|
15438
15948
|
Json: 'json',
|
|
15439
15949
|
Csv: 'csv',
|
|
15440
15950
|
Xml: 'xml',
|
|
15441
|
-
Html: 'html'
|
|
15951
|
+
Html: 'html',
|
|
15442
15952
|
};
|
|
15443
15953
|
exports.GetGetPriceListCategoryEnum = {
|
|
15444
15954
|
Yealink: 'Yealink',
|
|
@@ -15460,7 +15970,7 @@ exports.GetGetPriceListCategoryEnum = {
|
|
|
15460
15970
|
FanvilWirelessPhones: 'Fanvil Wireless Phones',
|
|
15461
15971
|
FanvilSecurityProducts: 'Fanvil Security Products',
|
|
15462
15972
|
FanvilAccessories: 'Fanvil Accessories',
|
|
15463
|
-
FanvilHotelPhones: 'Fanvil Hotel Phones'
|
|
15973
|
+
FanvilHotelPhones: 'Fanvil Hotel Phones',
|
|
15464
15974
|
};
|
|
15465
15975
|
exports.PostSendPriceListTypeEnum = {
|
|
15466
15976
|
Products: 'Products',
|
|
@@ -15471,14 +15981,14 @@ exports.PostSendPriceListTypeEnum = {
|
|
|
15471
15981
|
EdTechPro: 'EdTechPro',
|
|
15472
15982
|
Sms: 'SMS',
|
|
15473
15983
|
SipTrunks: 'SIP Trunks',
|
|
15474
|
-
CrmIntegrations: 'CRM Integrations'
|
|
15984
|
+
CrmIntegrations: 'CRM Integrations',
|
|
15475
15985
|
};
|
|
15476
15986
|
exports.PostSendPriceListFormatEnum = {
|
|
15477
15987
|
Pdf: 'pdf',
|
|
15478
15988
|
Json: 'json',
|
|
15479
15989
|
Csv: 'csv',
|
|
15480
15990
|
Xml: 'xml',
|
|
15481
|
-
Html: 'html'
|
|
15991
|
+
Html: 'html',
|
|
15482
15992
|
};
|
|
15483
15993
|
exports.PostSendPriceListCategoryEnum = {
|
|
15484
15994
|
Yealink: 'Yealink',
|
|
@@ -15500,7 +16010,7 @@ exports.PostSendPriceListCategoryEnum = {
|
|
|
15500
16010
|
FanvilWirelessPhones: 'Fanvil Wireless Phones',
|
|
15501
16011
|
FanvilSecurityProducts: 'Fanvil Security Products',
|
|
15502
16012
|
FanvilAccessories: 'Fanvil Accessories',
|
|
15503
|
-
FanvilHotelPhones: 'Fanvil Hotel Phones'
|
|
16013
|
+
FanvilHotelPhones: 'Fanvil Hotel Phones',
|
|
15504
16014
|
};
|
|
15505
16015
|
/**
|
|
15506
16016
|
* ProductsApi - axios parameter creator
|
|
@@ -15787,7 +16297,7 @@ var ProductsApiAxiosParamCreator = function (configuration) {
|
|
|
15787
16297
|
// verify required parameter 'quantity' is not null or undefined
|
|
15788
16298
|
(0, common_1.assertParamExists)('patchAddQuantityToStock', 'quantity', quantity);
|
|
15789
16299
|
localVarPath = "/products/{sku}/stock/add"
|
|
15790
|
-
.replace(
|
|
16300
|
+
.replace('{sku}', encodeURIComponent(String(sku)));
|
|
15791
16301
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
15792
16302
|
if (configuration) {
|
|
15793
16303
|
baseOptions = configuration.baseOptions;
|
|
@@ -15830,7 +16340,7 @@ var ProductsApiAxiosParamCreator = function (configuration) {
|
|
|
15830
16340
|
// verify required parameter 'postGetProductForCustomerRequest' is not null or undefined
|
|
15831
16341
|
(0, common_1.assertParamExists)('postGetProduct', 'postGetProductForCustomerRequest', postGetProductForCustomerRequest);
|
|
15832
16342
|
localVarPath = "/products/{sku}"
|
|
15833
|
-
.replace(
|
|
16343
|
+
.replace('{sku}', encodeURIComponent(String(sku)));
|
|
15834
16344
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
15835
16345
|
if (configuration) {
|
|
15836
16346
|
baseOptions = configuration.baseOptions;
|
|
@@ -15876,7 +16386,7 @@ var ProductsApiAxiosParamCreator = function (configuration) {
|
|
|
15876
16386
|
// verify required parameter 'postGetProductForCustomerRequest' is not null or undefined
|
|
15877
16387
|
(0, common_1.assertParamExists)('postGetProductForCustomer', 'postGetProductForCustomerRequest', postGetProductForCustomerRequest);
|
|
15878
16388
|
localVarPath = "/admin/products/{sku}"
|
|
15879
|
-
.replace(
|
|
16389
|
+
.replace('{sku}', encodeURIComponent(String(sku)));
|
|
15880
16390
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
15881
16391
|
if (configuration) {
|
|
15882
16392
|
baseOptions = configuration.baseOptions;
|
|
@@ -16380,7 +16890,7 @@ var ProductsApi = /** @class */ (function (_super) {
|
|
|
16380
16890
|
exports.ProductsApi = ProductsApi;
|
|
16381
16891
|
exports.GetGetLegacyStockListFormatEnum = {
|
|
16382
16892
|
Xml: 'XML',
|
|
16383
|
-
Csv: 'CSV'
|
|
16893
|
+
Csv: 'CSV',
|
|
16384
16894
|
};
|
|
16385
16895
|
/**
|
|
16386
16896
|
* ProspectsApi - axios parameter creator
|
|
@@ -16407,7 +16917,7 @@ var ProspectsApiAxiosParamCreator = function (configuration) {
|
|
|
16407
16917
|
// verify required parameter 'xeroId' is not null or undefined
|
|
16408
16918
|
(0, common_1.assertParamExists)('getGetProspect', 'xeroId', xeroId);
|
|
16409
16919
|
localVarPath = "/accounts/prospects/{xero_id}"
|
|
16410
|
-
.replace(
|
|
16920
|
+
.replace('{xero_id}', encodeURIComponent(String(xeroId)));
|
|
16411
16921
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
16412
16922
|
if (configuration) {
|
|
16413
16923
|
baseOptions = configuration.baseOptions;
|
|
@@ -16482,7 +16992,7 @@ var ProspectsApiAxiosParamCreator = function (configuration) {
|
|
|
16482
16992
|
// verify required parameter 'status' is not null or undefined
|
|
16483
16993
|
(0, common_1.assertParamExists)('getRemoveFromProspects', 'status', status);
|
|
16484
16994
|
localVarPath = "/accounts/prospects/{xero_id}/remove"
|
|
16485
|
-
.replace(
|
|
16995
|
+
.replace('{xero_id}', encodeURIComponent(String(xeroId)));
|
|
16486
16996
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
16487
16997
|
if (configuration) {
|
|
16488
16998
|
baseOptions = configuration.baseOptions;
|
|
@@ -16526,7 +17036,7 @@ var ProspectsApiAxiosParamCreator = function (configuration) {
|
|
|
16526
17036
|
// verify required parameter 'date' is not null or undefined
|
|
16527
17037
|
(0, common_1.assertParamExists)('getSetCallback', 'date', date);
|
|
16528
17038
|
localVarPath = "/accounts/prospects/{xero_id}/date"
|
|
16529
|
-
.replace(
|
|
17039
|
+
.replace('{xero_id}', encodeURIComponent(String(xeroId)));
|
|
16530
17040
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
16531
17041
|
if (configuration) {
|
|
16532
17042
|
baseOptions = configuration.baseOptions;
|
|
@@ -16787,8 +17297,8 @@ var ProvisioningApiAxiosParamCreator = function (configuration) {
|
|
|
16787
17297
|
// verify required parameter 'mac' is not null or undefined
|
|
16788
17298
|
(0, common_1.assertParamExists)('deleteAddFanvilMac', 'mac', mac);
|
|
16789
17299
|
localVarPath = "/provisioning/fanvil/groups/{id}/macs/{mac}"
|
|
16790
|
-
.replace(
|
|
16791
|
-
.replace(
|
|
17300
|
+
.replace('{id}', encodeURIComponent(String(id)))
|
|
17301
|
+
.replace('{mac}', encodeURIComponent(String(mac)));
|
|
16792
17302
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
16793
17303
|
if (configuration) {
|
|
16794
17304
|
baseOptions = configuration.baseOptions;
|
|
@@ -16825,7 +17335,7 @@ var ProvisioningApiAxiosParamCreator = function (configuration) {
|
|
|
16825
17335
|
// verify required parameter 'id' is not null or undefined
|
|
16826
17336
|
(0, common_1.assertParamExists)('deleteDeleteFanvilGroup', 'id', id);
|
|
16827
17337
|
localVarPath = "/provisioning/fanvil/groups/{id}"
|
|
16828
|
-
.replace(
|
|
17338
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
16829
17339
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
16830
17340
|
if (configuration) {
|
|
16831
17341
|
baseOptions = configuration.baseOptions;
|
|
@@ -16865,8 +17375,8 @@ var ProvisioningApiAxiosParamCreator = function (configuration) {
|
|
|
16865
17375
|
// verify required parameter 'mac' is not null or undefined
|
|
16866
17376
|
(0, common_1.assertParamExists)('getGetFanvilEncryptionKey', 'mac', mac);
|
|
16867
17377
|
localVarPath = "/provisioning/fanvil/groups/{id}/macs/{mac}/key"
|
|
16868
|
-
.replace(
|
|
16869
|
-
.replace(
|
|
17378
|
+
.replace('{id}', encodeURIComponent(String(id)))
|
|
17379
|
+
.replace('{mac}', encodeURIComponent(String(mac)));
|
|
16870
17380
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
16871
17381
|
if (configuration) {
|
|
16872
17382
|
baseOptions = configuration.baseOptions;
|
|
@@ -16904,7 +17414,7 @@ var ProvisioningApiAxiosParamCreator = function (configuration) {
|
|
|
16904
17414
|
// verify required parameter 'id' is not null or undefined
|
|
16905
17415
|
(0, common_1.assertParamExists)('getGetFanvilGroupMacs', 'id', id);
|
|
16906
17416
|
localVarPath = "/provisioning/fanvil/groups/{id}/macs"
|
|
16907
|
-
.replace(
|
|
17417
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
16908
17418
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
16909
17419
|
if (configuration) {
|
|
16910
17420
|
baseOptions = configuration.baseOptions;
|
|
@@ -17020,8 +17530,8 @@ var ProvisioningApiAxiosParamCreator = function (configuration) {
|
|
|
17020
17530
|
// verify required parameter 'mac' is not null or undefined
|
|
17021
17531
|
(0, common_1.assertParamExists)('postAddFanvilMac', 'mac', mac);
|
|
17022
17532
|
localVarPath = "/provisioning/fanvil/groups/{id}/macs/{mac}"
|
|
17023
|
-
.replace(
|
|
17024
|
-
.replace(
|
|
17533
|
+
.replace('{id}', encodeURIComponent(String(id)))
|
|
17534
|
+
.replace('{mac}', encodeURIComponent(String(mac)));
|
|
17025
17535
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
17026
17536
|
if (configuration) {
|
|
17027
17537
|
baseOptions = configuration.baseOptions;
|
|
@@ -17413,7 +17923,7 @@ var SIPTrunksApiAxiosParamCreator = function (configuration) {
|
|
|
17413
17923
|
// verify required parameter 'id' is not null or undefined
|
|
17414
17924
|
(0, common_1.assertParamExists)('deleteGetSipTrunk', 'id', id);
|
|
17415
17925
|
localVarPath = "/sip/trunks/{id}"
|
|
17416
|
-
.replace(
|
|
17926
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
17417
17927
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
17418
17928
|
if (configuration) {
|
|
17419
17929
|
baseOptions = configuration.baseOptions;
|
|
@@ -17451,7 +17961,7 @@ var SIPTrunksApiAxiosParamCreator = function (configuration) {
|
|
|
17451
17961
|
// verify required parameter 'id' is not null or undefined
|
|
17452
17962
|
(0, common_1.assertParamExists)('getCanDivert', 'id', id);
|
|
17453
17963
|
localVarPath = "/sip/trunks/{id}/diverts/allowed"
|
|
17454
|
-
.replace(
|
|
17964
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
17455
17965
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
17456
17966
|
if (configuration) {
|
|
17457
17967
|
baseOptions = configuration.baseOptions;
|
|
@@ -17489,7 +17999,7 @@ var SIPTrunksApiAxiosParamCreator = function (configuration) {
|
|
|
17489
17999
|
// verify required parameter 'id' is not null or undefined
|
|
17490
18000
|
(0, common_1.assertParamExists)('getGetAddress', 'id', id);
|
|
17491
18001
|
localVarPath = "/sip/trunks/{id}/address"
|
|
17492
|
-
.replace(
|
|
18002
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
17493
18003
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
17494
18004
|
if (configuration) {
|
|
17495
18005
|
baseOptions = configuration.baseOptions;
|
|
@@ -17598,7 +18108,7 @@ var SIPTrunksApiAxiosParamCreator = function (configuration) {
|
|
|
17598
18108
|
// verify required parameter 'id' is not null or undefined
|
|
17599
18109
|
(0, common_1.assertParamExists)('getGetCliFlexibility', 'id', id);
|
|
17600
18110
|
localVarPath = "/sip/trunks/{id}/cli/flexibility"
|
|
17601
|
-
.replace(
|
|
18111
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
17602
18112
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
17603
18113
|
if (configuration) {
|
|
17604
18114
|
baseOptions = configuration.baseOptions;
|
|
@@ -17636,7 +18146,7 @@ var SIPTrunksApiAxiosParamCreator = function (configuration) {
|
|
|
17636
18146
|
// verify required parameter 'id' is not null or undefined
|
|
17637
18147
|
(0, common_1.assertParamExists)('getGetDdis', 'id', id);
|
|
17638
18148
|
localVarPath = "/sip/trunks/{id}/ddis"
|
|
17639
|
-
.replace(
|
|
18149
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
17640
18150
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
17641
18151
|
if (configuration) {
|
|
17642
18152
|
baseOptions = configuration.baseOptions;
|
|
@@ -17675,7 +18185,7 @@ var SIPTrunksApiAxiosParamCreator = function (configuration) {
|
|
|
17675
18185
|
// verify required parameter 'id' is not null or undefined
|
|
17676
18186
|
(0, common_1.assertParamExists)('getGetDiverts', 'id', id);
|
|
17677
18187
|
localVarPath = "/sip/trunks/{id}/diverts"
|
|
17678
|
-
.replace(
|
|
18188
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
17679
18189
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
17680
18190
|
if (configuration) {
|
|
17681
18191
|
baseOptions = configuration.baseOptions;
|
|
@@ -17716,7 +18226,7 @@ var SIPTrunksApiAxiosParamCreator = function (configuration) {
|
|
|
17716
18226
|
// verify required parameter 'id' is not null or undefined
|
|
17717
18227
|
(0, common_1.assertParamExists)('getGetSipTrunk', 'id', id);
|
|
17718
18228
|
localVarPath = "/sip/trunks/{id}"
|
|
17719
|
-
.replace(
|
|
18229
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
17720
18230
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
17721
18231
|
if (configuration) {
|
|
17722
18232
|
baseOptions = configuration.baseOptions;
|
|
@@ -17803,7 +18313,7 @@ var SIPTrunksApiAxiosParamCreator = function (configuration) {
|
|
|
17803
18313
|
// verify required parameter 'enabled' is not null or undefined
|
|
17804
18314
|
(0, common_1.assertParamExists)('patchGetCliFlexibility', 'enabled', enabled);
|
|
17805
18315
|
localVarPath = "/sip/trunks/{id}/cli/flexibility"
|
|
17806
|
-
.replace(
|
|
18316
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
17807
18317
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
17808
18318
|
if (configuration) {
|
|
17809
18319
|
baseOptions = configuration.baseOptions;
|
|
@@ -17844,7 +18354,7 @@ var SIPTrunksApiAxiosParamCreator = function (configuration) {
|
|
|
17844
18354
|
// verify required parameter 'id' is not null or undefined
|
|
17845
18355
|
(0, common_1.assertParamExists)('patchSetAsAvailable', 'id', id);
|
|
17846
18356
|
localVarPath = "/sip/trunks/{id}/available"
|
|
17847
|
-
.replace(
|
|
18357
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
17848
18358
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
17849
18359
|
if (configuration) {
|
|
17850
18360
|
baseOptions = configuration.baseOptions;
|
|
@@ -17885,7 +18395,7 @@ var SIPTrunksApiAxiosParamCreator = function (configuration) {
|
|
|
17885
18395
|
// verify required parameter 'ownerId' is not null or undefined
|
|
17886
18396
|
(0, common_1.assertParamExists)('patchSetOwnership', 'ownerId', ownerId);
|
|
17887
18397
|
localVarPath = "/sip/trunks/{id}/owner"
|
|
17888
|
-
.replace(
|
|
18398
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
17889
18399
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
17890
18400
|
if (configuration) {
|
|
17891
18401
|
baseOptions = configuration.baseOptions;
|
|
@@ -17931,7 +18441,7 @@ var SIPTrunksApiAxiosParamCreator = function (configuration) {
|
|
|
17931
18441
|
// verify required parameter 'channels' is not null or undefined
|
|
17932
18442
|
(0, common_1.assertParamExists)('patchUpdateChannelCount', 'channels', channels);
|
|
17933
18443
|
localVarPath = "/sip/trunks/{id}/channels"
|
|
17934
|
-
.replace(
|
|
18444
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
17935
18445
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
17936
18446
|
if (configuration) {
|
|
17937
18447
|
baseOptions = configuration.baseOptions;
|
|
@@ -17975,7 +18485,7 @@ var SIPTrunksApiAxiosParamCreator = function (configuration) {
|
|
|
17975
18485
|
// verify required parameter 'company' is not null or undefined
|
|
17976
18486
|
(0, common_1.assertParamExists)('patchUpdateCompanyName', 'company', company);
|
|
17977
18487
|
localVarPath = "/sip/trunks/{id}/company"
|
|
17978
|
-
.replace(
|
|
18488
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
17979
18489
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
17980
18490
|
if (configuration) {
|
|
17981
18491
|
baseOptions = configuration.baseOptions;
|
|
@@ -18019,7 +18529,7 @@ var SIPTrunksApiAxiosParamCreator = function (configuration) {
|
|
|
18019
18529
|
// verify required parameter 'number' is not null or undefined
|
|
18020
18530
|
(0, common_1.assertParamExists)('patchUpdateMainTrunkNumber', 'number', number);
|
|
18021
18531
|
localVarPath = "/sip/trunks/{id}/number"
|
|
18022
|
-
.replace(
|
|
18532
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
18023
18533
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
18024
18534
|
if (configuration) {
|
|
18025
18535
|
baseOptions = configuration.baseOptions;
|
|
@@ -18063,7 +18573,7 @@ var SIPTrunksApiAxiosParamCreator = function (configuration) {
|
|
|
18063
18573
|
// verify required parameter 'ipAddress' is not null or undefined
|
|
18064
18574
|
(0, common_1.assertParamExists)('patchUpdatePbxIPAddress', 'ipAddress', ipAddress);
|
|
18065
18575
|
localVarPath = "/sip/trunks/{id}/pbx/ip"
|
|
18066
|
-
.replace(
|
|
18576
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
18067
18577
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
18068
18578
|
if (configuration) {
|
|
18069
18579
|
baseOptions = configuration.baseOptions;
|
|
@@ -18105,7 +18615,7 @@ var SIPTrunksApiAxiosParamCreator = function (configuration) {
|
|
|
18105
18615
|
// verify required parameter 'id' is not null or undefined
|
|
18106
18616
|
(0, common_1.assertParamExists)('postGetDdis', 'id', id);
|
|
18107
18617
|
localVarPath = "/sip/trunks/{id}/ddis"
|
|
18108
|
-
.replace(
|
|
18618
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
18109
18619
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
18110
18620
|
if (configuration) {
|
|
18111
18621
|
baseOptions = configuration.baseOptions;
|
|
@@ -18257,7 +18767,7 @@ var SIPTrunksApiAxiosParamCreator = function (configuration) {
|
|
|
18257
18767
|
// verify required parameter 'id' is not null or undefined
|
|
18258
18768
|
(0, common_1.assertParamExists)('putGetAddress', 'id', id);
|
|
18259
18769
|
localVarPath = "/sip/trunks/{id}/address"
|
|
18260
|
-
.replace(
|
|
18770
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
18261
18771
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
18262
18772
|
if (configuration) {
|
|
18263
18773
|
baseOptions = configuration.baseOptions;
|
|
@@ -18301,7 +18811,7 @@ var SIPTrunksApiAxiosParamCreator = function (configuration) {
|
|
|
18301
18811
|
// verify required parameter 'enabled' is not null or undefined
|
|
18302
18812
|
(0, common_1.assertParamExists)('putGetDiverts', 'enabled', enabled);
|
|
18303
18813
|
localVarPath = "/sip/trunks/{id}/diverts"
|
|
18304
|
-
.replace(
|
|
18814
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
18305
18815
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
18306
18816
|
if (configuration) {
|
|
18307
18817
|
baseOptions = configuration.baseOptions;
|
|
@@ -19707,7 +20217,7 @@ var ServicesApiAxiosParamCreator = function (configuration) {
|
|
|
19707
20217
|
// verify required parameter 'id' is not null or undefined
|
|
19708
20218
|
(0, common_1.assertParamExists)('patchArchiveEvent', 'id', id);
|
|
19709
20219
|
localVarPath = "/services/events/{id}/archive"
|
|
19710
|
-
.replace(
|
|
20220
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
19711
20221
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
19712
20222
|
if (configuration) {
|
|
19713
20223
|
baseOptions = configuration.baseOptions;
|
|
@@ -19745,7 +20255,7 @@ var ServicesApiAxiosParamCreator = function (configuration) {
|
|
|
19745
20255
|
// verify required parameter 'id' is not null or undefined
|
|
19746
20256
|
(0, common_1.assertParamExists)('patchUpdateEvent', 'id', id);
|
|
19747
20257
|
localVarPath = "/services/events/{id}"
|
|
19748
|
-
.replace(
|
|
20258
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
19749
20259
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
19750
20260
|
if (configuration) {
|
|
19751
20261
|
baseOptions = configuration.baseOptions;
|
|
@@ -19821,7 +20331,7 @@ var ServicesApiAxiosParamCreator = function (configuration) {
|
|
|
19821
20331
|
// verify required parameter 'id' is not null or undefined
|
|
19822
20332
|
(0, common_1.assertParamExists)('postCreateEventUpdate', 'id', id);
|
|
19823
20333
|
localVarPath = "/services/events/{id}/updates"
|
|
19824
|
-
.replace(
|
|
20334
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
19825
20335
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
19826
20336
|
if (configuration) {
|
|
19827
20337
|
baseOptions = configuration.baseOptions;
|
|
@@ -20437,7 +20947,7 @@ var StockManagementApiAxiosParamCreator = function (configuration) {
|
|
|
20437
20947
|
// verify required parameter 'id' is not null or undefined
|
|
20438
20948
|
(0, common_1.assertParamExists)('deleteDeleteStockOrder', 'id', id);
|
|
20439
20949
|
localVarPath = "/stock/orders/{id}"
|
|
20440
|
-
.replace(
|
|
20950
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
20441
20951
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
20442
20952
|
if (configuration) {
|
|
20443
20953
|
baseOptions = configuration.baseOptions;
|
|
@@ -20477,8 +20987,8 @@ var StockManagementApiAxiosParamCreator = function (configuration) {
|
|
|
20477
20987
|
// verify required parameter 'deductionId' is not null or undefined
|
|
20478
20988
|
(0, common_1.assertParamExists)('deleteDeleteStockOrderDeduction', 'deductionId', deductionId);
|
|
20479
20989
|
localVarPath = "/stock/orders/{order_id}/deductions/{deduction_id}"
|
|
20480
|
-
.replace(
|
|
20481
|
-
.replace(
|
|
20990
|
+
.replace('{order_id}', encodeURIComponent(String(orderId)))
|
|
20991
|
+
.replace('{deduction_id}', encodeURIComponent(String(deductionId)));
|
|
20482
20992
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
20483
20993
|
if (configuration) {
|
|
20484
20994
|
baseOptions = configuration.baseOptions;
|
|
@@ -20518,8 +21028,8 @@ var StockManagementApiAxiosParamCreator = function (configuration) {
|
|
|
20518
21028
|
// verify required parameter 'itemId' is not null or undefined
|
|
20519
21029
|
(0, common_1.assertParamExists)('deleteDeleteStockOrderItem', 'itemId', itemId);
|
|
20520
21030
|
localVarPath = "/stock/orders/{order_id}/items/{item_id}"
|
|
20521
|
-
.replace(
|
|
20522
|
-
.replace(
|
|
21031
|
+
.replace('{order_id}', encodeURIComponent(String(orderId)))
|
|
21032
|
+
.replace('{item_id}', encodeURIComponent(String(itemId)));
|
|
20523
21033
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
20524
21034
|
if (configuration) {
|
|
20525
21035
|
baseOptions = configuration.baseOptions;
|
|
@@ -20556,7 +21066,7 @@ var StockManagementApiAxiosParamCreator = function (configuration) {
|
|
|
20556
21066
|
// verify required parameter 'id' is not null or undefined
|
|
20557
21067
|
(0, common_1.assertParamExists)('deleteGetStockProduct', 'id', id);
|
|
20558
21068
|
localVarPath = "/stock/products/{id}"
|
|
20559
|
-
.replace(
|
|
21069
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
20560
21070
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
20561
21071
|
if (configuration) {
|
|
20562
21072
|
baseOptions = configuration.baseOptions;
|
|
@@ -20593,7 +21103,7 @@ var StockManagementApiAxiosParamCreator = function (configuration) {
|
|
|
20593
21103
|
// verify required parameter 'id' is not null or undefined
|
|
20594
21104
|
(0, common_1.assertParamExists)('getDeleteStockOrder', 'id', id);
|
|
20595
21105
|
localVarPath = "/stock/orders/{id}"
|
|
20596
|
-
.replace(
|
|
21106
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
20597
21107
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
20598
21108
|
if (configuration) {
|
|
20599
21109
|
baseOptions = configuration.baseOptions;
|
|
@@ -20631,7 +21141,7 @@ var StockManagementApiAxiosParamCreator = function (configuration) {
|
|
|
20631
21141
|
// verify required parameter 'sku' is not null or undefined
|
|
20632
21142
|
(0, common_1.assertParamExists)('getGetProductDetails', 'sku', sku);
|
|
20633
21143
|
localVarPath = "/stock/products/{sku}/details"
|
|
20634
|
-
.replace(
|
|
21144
|
+
.replace('{sku}', encodeURIComponent(String(sku)));
|
|
20635
21145
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
20636
21146
|
if (configuration) {
|
|
20637
21147
|
baseOptions = configuration.baseOptions;
|
|
@@ -20669,7 +21179,7 @@ var StockManagementApiAxiosParamCreator = function (configuration) {
|
|
|
20669
21179
|
// verify required parameter 'id' is not null or undefined
|
|
20670
21180
|
(0, common_1.assertParamExists)('getGetStockOrderPurchaseOrder', 'id', id);
|
|
20671
21181
|
localVarPath = "/stock/orders/{id}/po"
|
|
20672
|
-
.replace(
|
|
21182
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
20673
21183
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
20674
21184
|
if (configuration) {
|
|
20675
21185
|
baseOptions = configuration.baseOptions;
|
|
@@ -20707,7 +21217,7 @@ var StockManagementApiAxiosParamCreator = function (configuration) {
|
|
|
20707
21217
|
// verify required parameter 'id' is not null or undefined
|
|
20708
21218
|
(0, common_1.assertParamExists)('getGetStockOrderSupplierEmail', 'id', id);
|
|
20709
21219
|
localVarPath = "/stock/orders/{id}/supplier/email"
|
|
20710
|
-
.replace(
|
|
21220
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
20711
21221
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
20712
21222
|
if (configuration) {
|
|
20713
21223
|
baseOptions = configuration.baseOptions;
|
|
@@ -20795,7 +21305,7 @@ var StockManagementApiAxiosParamCreator = function (configuration) {
|
|
|
20795
21305
|
// verify required parameter 'id' is not null or undefined
|
|
20796
21306
|
(0, common_1.assertParamExists)('getGetStockProduct', 'id', id);
|
|
20797
21307
|
localVarPath = "/stock/products/{id}"
|
|
20798
|
-
.replace(
|
|
21308
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
20799
21309
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
20800
21310
|
if (configuration) {
|
|
20801
21311
|
baseOptions = configuration.baseOptions;
|
|
@@ -20913,7 +21423,7 @@ var StockManagementApiAxiosParamCreator = function (configuration) {
|
|
|
20913
21423
|
// verify required parameter 'id' is not null or undefined
|
|
20914
21424
|
(0, common_1.assertParamExists)('getGetStockSupplierProducts', 'id', id);
|
|
20915
21425
|
localVarPath = "/stock/suppliers/{id}/products"
|
|
20916
|
-
.replace(
|
|
21426
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
20917
21427
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
20918
21428
|
if (configuration) {
|
|
20919
21429
|
baseOptions = configuration.baseOptions;
|
|
@@ -20951,7 +21461,7 @@ var StockManagementApiAxiosParamCreator = function (configuration) {
|
|
|
20951
21461
|
// verify required parameter 'id' is not null or undefined
|
|
20952
21462
|
(0, common_1.assertParamExists)('getUploadStockOrderInvoice', 'id', id);
|
|
20953
21463
|
localVarPath = "/stock/orders/{id}/invoice"
|
|
20954
|
-
.replace(
|
|
21464
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
20955
21465
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
20956
21466
|
if (configuration) {
|
|
20957
21467
|
baseOptions = configuration.baseOptions;
|
|
@@ -20990,7 +21500,7 @@ var StockManagementApiAxiosParamCreator = function (configuration) {
|
|
|
20990
21500
|
// verify required parameter 'id' is not null or undefined
|
|
20991
21501
|
(0, common_1.assertParamExists)('patchDeleteStockOrder', 'id', id);
|
|
20992
21502
|
localVarPath = "/stock/orders/{id}"
|
|
20993
|
-
.replace(
|
|
21503
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
20994
21504
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
20995
21505
|
if (configuration) {
|
|
20996
21506
|
baseOptions = configuration.baseOptions;
|
|
@@ -21034,8 +21544,8 @@ var StockManagementApiAxiosParamCreator = function (configuration) {
|
|
|
21034
21544
|
// verify required parameter 'deductionId' is not null or undefined
|
|
21035
21545
|
(0, common_1.assertParamExists)('patchDeleteStockOrderDeduction', 'deductionId', deductionId);
|
|
21036
21546
|
localVarPath = "/stock/orders/{order_id}/deductions/{deduction_id}"
|
|
21037
|
-
.replace(
|
|
21038
|
-
.replace(
|
|
21547
|
+
.replace('{order_id}', encodeURIComponent(String(orderId)))
|
|
21548
|
+
.replace('{deduction_id}', encodeURIComponent(String(deductionId)));
|
|
21039
21549
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
21040
21550
|
if (configuration) {
|
|
21041
21551
|
baseOptions = configuration.baseOptions;
|
|
@@ -21079,8 +21589,8 @@ var StockManagementApiAxiosParamCreator = function (configuration) {
|
|
|
21079
21589
|
// verify required parameter 'itemId' is not null or undefined
|
|
21080
21590
|
(0, common_1.assertParamExists)('patchDeleteStockOrderItem', 'itemId', itemId);
|
|
21081
21591
|
localVarPath = "/stock/orders/{order_id}/items/{item_id}"
|
|
21082
|
-
.replace(
|
|
21083
|
-
.replace(
|
|
21592
|
+
.replace('{order_id}', encodeURIComponent(String(orderId)))
|
|
21593
|
+
.replace('{item_id}', encodeURIComponent(String(itemId)));
|
|
21084
21594
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
21085
21595
|
if (configuration) {
|
|
21086
21596
|
baseOptions = configuration.baseOptions;
|
|
@@ -21121,7 +21631,7 @@ var StockManagementApiAxiosParamCreator = function (configuration) {
|
|
|
21121
21631
|
// verify required parameter 'id' is not null or undefined
|
|
21122
21632
|
(0, common_1.assertParamExists)('postAddStockOrderDeduction', 'id', id);
|
|
21123
21633
|
localVarPath = "/stock/orders/{id}/deductions"
|
|
21124
|
-
.replace(
|
|
21634
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
21125
21635
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
21126
21636
|
if (configuration) {
|
|
21127
21637
|
baseOptions = configuration.baseOptions;
|
|
@@ -21162,7 +21672,7 @@ var StockManagementApiAxiosParamCreator = function (configuration) {
|
|
|
21162
21672
|
// verify required parameter 'id' is not null or undefined
|
|
21163
21673
|
(0, common_1.assertParamExists)('postAddStockOrderItem', 'id', id);
|
|
21164
21674
|
localVarPath = "/stock/orders/{id}/items"
|
|
21165
|
-
.replace(
|
|
21675
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
21166
21676
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
21167
21677
|
if (configuration) {
|
|
21168
21678
|
baseOptions = configuration.baseOptions;
|
|
@@ -21279,7 +21789,7 @@ var StockManagementApiAxiosParamCreator = function (configuration) {
|
|
|
21279
21789
|
// verify required parameter 'invoice' is not null or undefined
|
|
21280
21790
|
(0, common_1.assertParamExists)('postUploadStockOrderInvoice', 'invoice', invoice);
|
|
21281
21791
|
localVarPath = "/stock/orders/{id}/invoice"
|
|
21282
|
-
.replace(
|
|
21792
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
21283
21793
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
21284
21794
|
if (configuration) {
|
|
21285
21795
|
baseOptions = configuration.baseOptions;
|
|
@@ -21323,7 +21833,7 @@ var StockManagementApiAxiosParamCreator = function (configuration) {
|
|
|
21323
21833
|
// verify required parameter 'id' is not null or undefined
|
|
21324
21834
|
(0, common_1.assertParamExists)('putGetStockProduct', 'id', id);
|
|
21325
21835
|
localVarPath = "/stock/products/{id}"
|
|
21326
|
-
.replace(
|
|
21836
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
21327
21837
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
21328
21838
|
if (configuration) {
|
|
21329
21839
|
baseOptions = configuration.baseOptions;
|
|
@@ -21369,8 +21879,8 @@ var StockManagementApiAxiosParamCreator = function (configuration) {
|
|
|
21369
21879
|
// verify required parameter 'received' is not null or undefined
|
|
21370
21880
|
(0, common_1.assertParamExists)('putReceiveStockOrderItem', 'received', received);
|
|
21371
21881
|
localVarPath = "/stock/orders/{order_id}/items/{item_id}/receive"
|
|
21372
|
-
.replace(
|
|
21373
|
-
.replace(
|
|
21882
|
+
.replace('{order_id}', encodeURIComponent(String(orderId)))
|
|
21883
|
+
.replace('{item_id}', encodeURIComponent(String(itemId)));
|
|
21374
21884
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
21375
21885
|
if (configuration) {
|
|
21376
21886
|
baseOptions = configuration.baseOptions;
|
|
@@ -22764,7 +23274,7 @@ var TicketsApiAxiosParamCreator = function (configuration) {
|
|
|
22764
23274
|
// verify required parameter 'id' is not null or undefined
|
|
22765
23275
|
(0, common_1.assertParamExists)('getGetTicket', 'id', id);
|
|
22766
23276
|
localVarPath = "/tickets/support/{id}"
|
|
22767
|
-
.replace(
|
|
23277
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
22768
23278
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
22769
23279
|
if (configuration) {
|
|
22770
23280
|
baseOptions = configuration.baseOptions;
|
|
@@ -22801,7 +23311,7 @@ var TicketsApiAxiosParamCreator = function (configuration) {
|
|
|
22801
23311
|
// verify required parameter 'id' is not null or undefined
|
|
22802
23312
|
(0, common_1.assertParamExists)('patchCloseTicket', 'id', id);
|
|
22803
23313
|
localVarPath = "/tickets/support/{id}/close"
|
|
22804
|
-
.replace(
|
|
23314
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
22805
23315
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
22806
23316
|
if (configuration) {
|
|
22807
23317
|
baseOptions = configuration.baseOptions;
|
|
@@ -22890,7 +23400,7 @@ var TicketsApiAxiosParamCreator = function (configuration) {
|
|
|
22890
23400
|
// verify required parameter 'id' is not null or undefined
|
|
22891
23401
|
(0, common_1.assertParamExists)('postTicketReply', 'id', id);
|
|
22892
23402
|
localVarPath = "/tickets/support/{id}/reply"
|
|
22893
|
-
.replace(
|
|
23403
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
22894
23404
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
22895
23405
|
if (configuration) {
|
|
22896
23406
|
baseOptions = configuration.baseOptions;
|
|
@@ -23386,5 +23896,5 @@ exports.PostAddWebhookWebhookUriEnum = {
|
|
|
23386
23896
|
WebhookFreshdeskUpdate: '/webhook/freshdesk/update',
|
|
23387
23897
|
WebhookTest: '/webhook/test',
|
|
23388
23898
|
WebhookXeroInvoices: '/webhook/xero/invoices',
|
|
23389
|
-
WebhookTcxPhonesAdd: '/webhook/tcx/phones/add'
|
|
23899
|
+
WebhookTcxPhonesAdd: '/webhook/tcx/phones/add',
|
|
23390
23900
|
};
|