yellowgrid-api-ts 3.2.160-dev.0 → 3.2.160
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 +292 -289
- package/.openapi-generator/VERSION +1 -1
- package/README.md +7 -1
- package/api.ts +624 -247
- 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 +252 -10
- package/dist/api.js +549 -238
- package/dist/base.d.ts +1 -1
- package/dist/base.js +2 -2
- package/dist/common.d.ts +1 -1
- package/dist/common.js +1 -1
- package/dist/configuration.d.ts +1 -1
- package/dist/configuration.js +3 -3
- package/dist/index.d.ts +1 -1
- package/dist/index.js +1 -1
- package/dist/models/CourierEnum.d.ts +5 -0
- package/dist/models/CourierEnum.js +5 -0
- package/dist/models/UserGroupEnum.d.ts +5 -0
- package/dist/models/UserGroupEnum.js +5 -0
- package/docs/AbstractOrderRequestDTO.md +1 -1
- package/docs/AccountsApi.md +97 -1
- package/docs/AdminOrderRequestDTO.md +1 -1
- package/docs/BillingApi.md +1 -1
- 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/{CrmActivityDto.md → CrmActivityDTO.md} +1 -1
- package/docs/CrmDateActivitiesDTO.md +1 -1
- package/docs/CustomerListAccountDTO.md +45 -0
- 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 +1 -1
- package/docs/OrdersApi.md +1 -1
- 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/ServicesApi.md +1 -1
- package/docs/ShipmentRequestDTO.md +2 -2
- 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/CourierEnum.ts +5 -0
- package/models/UserGroupEnum.ts +5 -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
|
*
|
|
@@ -96,27 +96,28 @@ var common_1 = require("./common");
|
|
|
96
96
|
var base_1 = require("./base");
|
|
97
97
|
exports.AdminOrderRequestDTOPaymentMethodEnum = {
|
|
98
98
|
Card: 'card',
|
|
99
|
-
Bacs: 'bacs'
|
|
99
|
+
Bacs: 'bacs',
|
|
100
100
|
};
|
|
101
101
|
exports.AdminUserModelRoleEnum = {
|
|
102
102
|
NUMBER_0: 0,
|
|
103
103
|
NUMBER_1: 1,
|
|
104
104
|
NUMBER_2: 2,
|
|
105
105
|
NUMBER_3: 3,
|
|
106
|
-
NUMBER_4: 4
|
|
106
|
+
NUMBER_4: 4,
|
|
107
107
|
};
|
|
108
108
|
exports.AdminUserModelPermissionsEnum = {
|
|
109
109
|
All: 'All',
|
|
110
110
|
Standard: 'Standard',
|
|
111
111
|
Technical: 'Technical',
|
|
112
112
|
Privileged: 'Privileged',
|
|
113
|
-
Development: 'Development'
|
|
113
|
+
Development: 'Development',
|
|
114
|
+
Finance: 'Finance',
|
|
114
115
|
};
|
|
115
116
|
exports.AuditLogEntityActionEnum = {
|
|
116
117
|
Create: 'CREATE',
|
|
117
118
|
Read: 'READ',
|
|
118
119
|
Update: 'UPDATE',
|
|
119
|
-
Delete: 'DELETE'
|
|
120
|
+
Delete: 'DELETE',
|
|
120
121
|
};
|
|
121
122
|
exports.AuditLogEntityTypeEnum = {
|
|
122
123
|
AuditLog: 'audit_log',
|
|
@@ -178,6 +179,7 @@ exports.AuditLogEntityTypeEnum = {
|
|
|
178
179
|
PopsStockTransactions: 'pops_stock_transactions',
|
|
179
180
|
PopsSuppliers: 'pops_suppliers',
|
|
180
181
|
PopsSupplierItems: 'pops_supplier_items',
|
|
182
|
+
PopsTableAttribs: 'pops_table_attribs',
|
|
181
183
|
Pops3cxBackup: 'pops_3cx_backup',
|
|
182
184
|
Pops3cxBilling: 'pops_3cx_billing',
|
|
183
185
|
PopsDeadLicences: 'pops_dead_licences',
|
|
@@ -196,20 +198,20 @@ exports.AuditLogEntityTypeEnum = {
|
|
|
196
198
|
Webhook: 'webhook',
|
|
197
199
|
PopsXeroLog: 'pops_xero_log',
|
|
198
200
|
Oauth2Clients: 'oauth2_clients',
|
|
199
|
-
Oauth2Tokens: 'oauth2_tokens'
|
|
201
|
+
Oauth2Tokens: 'oauth2_tokens',
|
|
200
202
|
};
|
|
201
203
|
exports.DivertResponseModelStatusEnum = {
|
|
202
204
|
Enabled: 'enabled',
|
|
203
|
-
Disabled: 'disabled'
|
|
205
|
+
Disabled: 'disabled',
|
|
204
206
|
};
|
|
205
207
|
exports.EventDTOStatusEnum = {
|
|
206
208
|
NUMBER_0: 0,
|
|
207
209
|
NUMBER_1: 1,
|
|
208
|
-
NUMBER_2: 2
|
|
210
|
+
NUMBER_2: 2,
|
|
209
211
|
};
|
|
210
212
|
exports.HostingChangeResponseModelTypeEnum = {
|
|
211
213
|
NewInstance: 'New Instance',
|
|
212
|
-
BuildingInstance: 'Building Instance'
|
|
214
|
+
BuildingInstance: 'Building Instance',
|
|
213
215
|
};
|
|
214
216
|
exports.HostingRegionDTOCodeEnum = {
|
|
215
217
|
Uk1: 'UK1',
|
|
@@ -220,12 +222,12 @@ exports.HostingRegionDTOCodeEnum = {
|
|
|
220
222
|
Syd1: 'SYD1',
|
|
221
223
|
Sgp1: 'SGP1',
|
|
222
224
|
UsEastVa1: 'US-EAST-VA-1',
|
|
223
|
-
UsWestOr1: 'US-WEST-OR-1'
|
|
225
|
+
UsWestOr1: 'US-WEST-OR-1',
|
|
224
226
|
};
|
|
225
227
|
exports.ItemDiscountEntityTypeEnum = {
|
|
226
228
|
TcxPhones: 'TCX_PHONES',
|
|
227
229
|
PhoneBulk: 'PHONE_BULK',
|
|
228
|
-
Additional: 'ADDITIONAL'
|
|
230
|
+
Additional: 'ADDITIONAL',
|
|
229
231
|
};
|
|
230
232
|
exports.MultiTenantChangeResponseModelTypeEnum = {
|
|
231
233
|
NewTrunk: 'New Trunk',
|
|
@@ -241,15 +243,15 @@ exports.MultiTenantChangeResponseModelTypeEnum = {
|
|
|
241
243
|
Address: 'Address',
|
|
242
244
|
BulkEndpointDetails: 'Bulk Endpoint Details',
|
|
243
245
|
Fraud: 'Fraud',
|
|
244
|
-
CallBarring: 'Call Barring'
|
|
246
|
+
CallBarring: 'Call Barring',
|
|
245
247
|
};
|
|
246
248
|
exports.OrderRequestModelLicenceTypeEnum = {
|
|
247
249
|
Lite: 'lite',
|
|
248
|
-
Pro: 'pro'
|
|
250
|
+
Pro: 'pro',
|
|
249
251
|
};
|
|
250
252
|
exports.OrderRequestModelSchoolTypeEnum = {
|
|
251
253
|
Primary: 'primary',
|
|
252
|
-
Secondary: 'secondary'
|
|
254
|
+
Secondary: 'secondary',
|
|
253
255
|
};
|
|
254
256
|
exports.OrderTotalModelCurrencyEnum = {
|
|
255
257
|
Eur: 'EUR',
|
|
@@ -282,7 +284,7 @@ exports.OrderTotalModelCurrencyEnum = {
|
|
|
282
284
|
Php: 'PHP',
|
|
283
285
|
Sgd: 'SGD',
|
|
284
286
|
Thb: 'THB',
|
|
285
|
-
Zar: 'ZAR'
|
|
287
|
+
Zar: 'ZAR',
|
|
286
288
|
};
|
|
287
289
|
exports.PatchUpdatePriceListRequestPriceListEnum = {
|
|
288
290
|
Rrp: 'RRP',
|
|
@@ -291,14 +293,14 @@ exports.PatchUpdatePriceListRequestPriceListEnum = {
|
|
|
291
293
|
Itsp: 'ITSP',
|
|
292
294
|
SubDisti: 'Sub Disti',
|
|
293
295
|
Distributor: 'Distributor',
|
|
294
|
-
HotelDisti: 'Hotel Disti'
|
|
296
|
+
HotelDisti: 'Hotel Disti',
|
|
295
297
|
};
|
|
296
298
|
exports.PatchUpdateTcxHostingPriceListRequestPriceListEnum = {
|
|
297
299
|
_1: '1',
|
|
298
300
|
_2: '2',
|
|
299
301
|
_3: '3',
|
|
300
302
|
_4: '4',
|
|
301
|
-
_5: '5'
|
|
303
|
+
_5: '5',
|
|
302
304
|
};
|
|
303
305
|
exports.ProspectDTOStatusEnum = {
|
|
304
306
|
NoCallBackSet: 'No Call Back Set',
|
|
@@ -306,47 +308,52 @@ exports.ProspectDTOStatusEnum = {
|
|
|
306
308
|
NoOrdersPlaced: 'No Orders Placed',
|
|
307
309
|
NoOrdersInTheLast4Months: 'No Orders In The Last 4 Months',
|
|
308
310
|
NoActionRequired: 'No Action Required',
|
|
309
|
-
DoNotCall: 'Do Not Call'
|
|
311
|
+
DoNotCall: 'Do Not Call',
|
|
310
312
|
};
|
|
311
313
|
exports.ServiceHealthDTOGlobalStatusEnum = {
|
|
312
314
|
NUMBER_0: 0,
|
|
313
315
|
NUMBER_1: 1,
|
|
314
|
-
NUMBER_2: 2
|
|
316
|
+
NUMBER_2: 2,
|
|
315
317
|
};
|
|
316
318
|
exports.ServiceStatusDTOStatusEnum = {
|
|
317
319
|
_0: '0',
|
|
318
320
|
_1: '1',
|
|
319
|
-
_2: '2'
|
|
321
|
+
_2: '2',
|
|
320
322
|
};
|
|
321
323
|
exports.ShipmentDTOCourierEnum = {
|
|
322
324
|
Dpd: 'DPD',
|
|
323
325
|
ChorltonPallet: 'Chorlton Pallet',
|
|
324
|
-
Pops: 'POPS'
|
|
326
|
+
Pops: 'POPS',
|
|
327
|
+
Interparcel: 'Interparcel',
|
|
325
328
|
};
|
|
326
329
|
exports.ShipmentRequestDTOCourierEnum = {
|
|
327
330
|
Dpd: 'DPD',
|
|
328
331
|
ChorltonPallet: 'Chorlton Pallet',
|
|
329
|
-
Pops: 'POPS'
|
|
332
|
+
Pops: 'POPS',
|
|
333
|
+
Interparcel: 'Interparcel',
|
|
330
334
|
};
|
|
331
335
|
exports.ShippingRequestDTOCourierEnum = {
|
|
332
336
|
Dpd: 'DPD',
|
|
333
337
|
ChorltonPallet: 'Chorlton Pallet',
|
|
334
|
-
Pops: 'POPS'
|
|
338
|
+
Pops: 'POPS',
|
|
339
|
+
Interparcel: 'Interparcel',
|
|
335
340
|
};
|
|
336
341
|
exports.ShippingRequestDTOPrinterEnum = {
|
|
337
342
|
NUMBER_1: 1,
|
|
338
343
|
NUMBER_2: 2,
|
|
339
|
-
NUMBER_3: 3
|
|
344
|
+
NUMBER_3: 3,
|
|
340
345
|
};
|
|
341
346
|
exports.ShippingServiceDTOCourierEnum = {
|
|
342
347
|
Dpd: 'DPD',
|
|
343
348
|
ChorltonPallet: 'Chorlton Pallet',
|
|
344
|
-
Pops: 'POPS'
|
|
349
|
+
Pops: 'POPS',
|
|
350
|
+
Interparcel: 'Interparcel',
|
|
345
351
|
};
|
|
346
352
|
exports.ShippingServiceModelCourierEnum = {
|
|
347
353
|
Dpd: 'DPD',
|
|
348
354
|
ChorltonPallet: 'Chorlton Pallet',
|
|
349
|
-
Pops: 'POPS'
|
|
355
|
+
Pops: 'POPS',
|
|
356
|
+
Interparcel: 'Interparcel',
|
|
350
357
|
};
|
|
351
358
|
exports.SipTrunkChangeResponseModelTypeEnum = {
|
|
352
359
|
NewTrunk: 'New Trunk',
|
|
@@ -362,17 +369,17 @@ exports.SipTrunkChangeResponseModelTypeEnum = {
|
|
|
362
369
|
Address: 'Address',
|
|
363
370
|
BulkEndpointDetails: 'Bulk Endpoint Details',
|
|
364
371
|
Fraud: 'Fraud',
|
|
365
|
-
CallBarring: 'Call Barring'
|
|
372
|
+
CallBarring: 'Call Barring',
|
|
366
373
|
};
|
|
367
374
|
exports.SmsAccountRequestDTOProviderEnum = {
|
|
368
|
-
NUMBER_1: 1
|
|
375
|
+
NUMBER_1: 1,
|
|
369
376
|
};
|
|
370
377
|
exports.SmsAccountRequestDTOTypeEnum = {
|
|
371
378
|
Local: 'local',
|
|
372
379
|
TollFree: 'toll_free',
|
|
373
380
|
Mobile: 'mobile',
|
|
374
381
|
National: 'national',
|
|
375
|
-
SharedCost: 'shared_cost'
|
|
382
|
+
SharedCost: 'shared_cost',
|
|
376
383
|
};
|
|
377
384
|
exports.SmsPhoneNumberModelStatusEnum = {
|
|
378
385
|
Queued: 'queued',
|
|
@@ -383,31 +390,31 @@ exports.SmsPhoneNumberModelStatusEnum = {
|
|
|
383
390
|
DeliveryUnconfirmed: 'delivery_unconfirmed',
|
|
384
391
|
Delivered: 'delivered',
|
|
385
392
|
DeliveryFailed: 'delivery_failed',
|
|
386
|
-
WebhookDelivered: 'webhook_delivered'
|
|
393
|
+
WebhookDelivered: 'webhook_delivered',
|
|
387
394
|
};
|
|
388
395
|
exports.SmsResponseModelEventTypeEnum = {
|
|
389
396
|
MessageSent: 'message.sent',
|
|
390
397
|
MessageFinalized: 'message.finalized',
|
|
391
|
-
MessageReceived: 'message.received'
|
|
398
|
+
MessageReceived: 'message.received',
|
|
392
399
|
};
|
|
393
400
|
exports.StockOrderModelDeliveryMethodEnum = {
|
|
394
401
|
Sea: 'Sea',
|
|
395
402
|
Air: 'Air',
|
|
396
|
-
Road: 'Road'
|
|
403
|
+
Road: 'Road',
|
|
397
404
|
};
|
|
398
405
|
exports.StockOrderModelPaidEnum = {
|
|
399
406
|
NUMBER_0: 0,
|
|
400
407
|
NUMBER_1: 1,
|
|
401
|
-
NUMBER_2: 2
|
|
408
|
+
NUMBER_2: 2,
|
|
402
409
|
};
|
|
403
410
|
exports.TcxMultiTenantModelPackageEnum = {
|
|
404
|
-
_3CxStarterBundle: '3CX Starter Bundle'
|
|
411
|
+
_3CxStarterBundle: '3CX Starter Bundle',
|
|
405
412
|
};
|
|
406
413
|
exports.TcxSetupEntityInstallTypeEnum = {
|
|
407
414
|
New: 'new',
|
|
408
415
|
Restore: 'restore',
|
|
409
416
|
Failover: 'failover',
|
|
410
|
-
MultiTenant: 'multi-tenant'
|
|
417
|
+
MultiTenant: 'multi-tenant',
|
|
411
418
|
};
|
|
412
419
|
exports.TcxSetupEntityRegionEnum = {
|
|
413
420
|
Uk1: 'UK1',
|
|
@@ -418,13 +425,13 @@ exports.TcxSetupEntityRegionEnum = {
|
|
|
418
425
|
Syd1: 'SYD1',
|
|
419
426
|
Sgp1: 'SGP1',
|
|
420
427
|
UsEastVa1: 'US-EAST-VA-1',
|
|
421
|
-
UsWestOr1: 'US-WEST-OR-1'
|
|
428
|
+
UsWestOr1: 'US-WEST-OR-1',
|
|
422
429
|
};
|
|
423
430
|
exports.TcxWizardModelInstallTypeEnum = {
|
|
424
431
|
New: 'new',
|
|
425
432
|
Restore: 'restore',
|
|
426
433
|
Failover: 'failover',
|
|
427
|
-
MultiTenant: 'multi-tenant'
|
|
434
|
+
MultiTenant: 'multi-tenant',
|
|
428
435
|
};
|
|
429
436
|
exports.TcxWizardModelInstallationStatusEnum = {
|
|
430
437
|
Building: 'Building',
|
|
@@ -441,15 +448,15 @@ exports.TcxWizardModelInstallationStatusEnum = {
|
|
|
441
448
|
RecordingsBackupInstalled: 'Recordings Backup Installed',
|
|
442
449
|
Complete: 'Complete',
|
|
443
450
|
Deleted: 'Deleted',
|
|
444
|
-
Failed: 'Failed'
|
|
451
|
+
Failed: 'Failed',
|
|
445
452
|
};
|
|
446
453
|
exports.UpgradeRequestModelLicenceTypeEnum = {
|
|
447
454
|
Lite: 'lite',
|
|
448
|
-
Pro: 'pro'
|
|
455
|
+
Pro: 'pro',
|
|
449
456
|
};
|
|
450
457
|
exports.UpgradeRequestModelSchoolTypeEnum = {
|
|
451
458
|
Primary: 'primary',
|
|
452
|
-
Secondary: 'secondary'
|
|
459
|
+
Secondary: 'secondary',
|
|
453
460
|
};
|
|
454
461
|
/**
|
|
455
462
|
* AccountsApi - axios parameter creator
|
|
@@ -478,8 +485,8 @@ var AccountsApiAxiosParamCreator = function (configuration) {
|
|
|
478
485
|
// verify required parameter 'contactId' is not null or undefined
|
|
479
486
|
(0, common_1.assertParamExists)('deleteAdminUpdateAccountContact', 'contactId', contactId);
|
|
480
487
|
localVarPath = "/admin/accounts/{id}/contacts/{contact_id}"
|
|
481
|
-
.replace(
|
|
482
|
-
.replace(
|
|
488
|
+
.replace('{id}', encodeURIComponent(String(id)))
|
|
489
|
+
.replace('{contact_id}', encodeURIComponent(String(contactId)));
|
|
483
490
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
484
491
|
if (configuration) {
|
|
485
492
|
baseOptions = configuration.baseOptions;
|
|
@@ -515,7 +522,7 @@ var AccountsApiAxiosParamCreator = function (configuration) {
|
|
|
515
522
|
// verify required parameter 'id' is not null or undefined
|
|
516
523
|
(0, common_1.assertParamExists)('deleteArchiveAccount', 'id', id);
|
|
517
524
|
localVarPath = "/admin/accounts/{id}/archive"
|
|
518
|
-
.replace(
|
|
525
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
519
526
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
520
527
|
if (configuration) {
|
|
521
528
|
baseOptions = configuration.baseOptions;
|
|
@@ -552,7 +559,7 @@ var AccountsApiAxiosParamCreator = function (configuration) {
|
|
|
552
559
|
// verify required parameter 'id' is not null or undefined
|
|
553
560
|
(0, common_1.assertParamExists)('deleteDeleteClientCredentials', 'id', id);
|
|
554
561
|
localVarPath = "/accounts/me/contacts/credentials/{id}"
|
|
555
|
-
.replace(
|
|
562
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
556
563
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
557
564
|
if (configuration) {
|
|
558
565
|
baseOptions = configuration.baseOptions;
|
|
@@ -589,7 +596,7 @@ var AccountsApiAxiosParamCreator = function (configuration) {
|
|
|
589
596
|
// verify required parameter 'email' is not null or undefined
|
|
590
597
|
(0, common_1.assertParamExists)('deleteUpdateAccountContact', 'email', email);
|
|
591
598
|
localVarPath = "/accounts/me/contacts/{email}"
|
|
592
|
-
.replace(
|
|
599
|
+
.replace('{email}', encodeURIComponent(String(email)));
|
|
593
600
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
594
601
|
if (configuration) {
|
|
595
602
|
baseOptions = configuration.baseOptions;
|
|
@@ -625,7 +632,7 @@ var AccountsApiAxiosParamCreator = function (configuration) {
|
|
|
625
632
|
// verify required parameter 'id' is not null or undefined
|
|
626
633
|
(0, common_1.assertParamExists)('getAdminCreateAccountContact', 'id', id);
|
|
627
634
|
localVarPath = "/admin/accounts/{id}/contacts"
|
|
628
|
-
.replace(
|
|
635
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
629
636
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
630
637
|
if (configuration) {
|
|
631
638
|
baseOptions = configuration.baseOptions;
|
|
@@ -696,7 +703,7 @@ var AccountsApiAxiosParamCreator = function (configuration) {
|
|
|
696
703
|
// verify required parameter 'id' is not null or undefined
|
|
697
704
|
(0, common_1.assertParamExists)('getGetAccountAddresses', 'id', id);
|
|
698
705
|
localVarPath = "/admin/accounts/{id}/addresses"
|
|
699
|
-
.replace(
|
|
706
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
700
707
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
701
708
|
if (configuration) {
|
|
702
709
|
baseOptions = configuration.baseOptions;
|
|
@@ -772,7 +779,7 @@ var AccountsApiAxiosParamCreator = function (configuration) {
|
|
|
772
779
|
// verify required parameter 'id' is not null or undefined
|
|
773
780
|
(0, common_1.assertParamExists)('getGetAccountDetailedSummary', 'id', id);
|
|
774
781
|
localVarPath = "/accounts/{id}/summary"
|
|
775
|
-
.replace(
|
|
782
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
776
783
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
777
784
|
if (configuration) {
|
|
778
785
|
baseOptions = configuration.baseOptions;
|
|
@@ -875,6 +882,39 @@ var AccountsApiAxiosParamCreator = function (configuration) {
|
|
|
875
882
|
});
|
|
876
883
|
});
|
|
877
884
|
},
|
|
885
|
+
/**
|
|
886
|
+
* Get Customer Accounts List
|
|
887
|
+
* @param {*} [options] Override http request option.
|
|
888
|
+
* @throws {RequiredError}
|
|
889
|
+
*/
|
|
890
|
+
getGetCustomerAccountsList: function () {
|
|
891
|
+
var args_1 = [];
|
|
892
|
+
for (var _i = 0; _i < arguments.length; _i++) {
|
|
893
|
+
args_1[_i] = arguments[_i];
|
|
894
|
+
}
|
|
895
|
+
return __awaiter(_this, __spreadArray([], args_1, true), void 0, function (options) {
|
|
896
|
+
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
897
|
+
if (options === void 0) { options = {}; }
|
|
898
|
+
return __generator(this, function (_a) {
|
|
899
|
+
localVarPath = "/admin/accounts/customers/list";
|
|
900
|
+
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
901
|
+
if (configuration) {
|
|
902
|
+
baseOptions = configuration.baseOptions;
|
|
903
|
+
}
|
|
904
|
+
localVarRequestOptions = __assign(__assign({ method: 'GET' }, baseOptions), options);
|
|
905
|
+
localVarHeaderParameter = {};
|
|
906
|
+
localVarQueryParameter = {};
|
|
907
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
908
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
909
|
+
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
910
|
+
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
911
|
+
return [2 /*return*/, {
|
|
912
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
913
|
+
options: localVarRequestOptions,
|
|
914
|
+
}];
|
|
915
|
+
});
|
|
916
|
+
});
|
|
917
|
+
},
|
|
878
918
|
/**
|
|
879
919
|
* Get 3CX Keys
|
|
880
920
|
* @summary Get 3CX Keys
|
|
@@ -927,7 +967,41 @@ var AccountsApiAxiosParamCreator = function (configuration) {
|
|
|
927
967
|
// verify required parameter 'id' is not null or undefined
|
|
928
968
|
(0, common_1.assertParamExists)('getGetFinanceSettings', 'id', id);
|
|
929
969
|
localVarPath = "/admin/accounts/{id}/finance"
|
|
930
|
-
.replace(
|
|
970
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
971
|
+
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
972
|
+
if (configuration) {
|
|
973
|
+
baseOptions = configuration.baseOptions;
|
|
974
|
+
}
|
|
975
|
+
localVarRequestOptions = __assign(__assign({ method: 'GET' }, baseOptions), options);
|
|
976
|
+
localVarHeaderParameter = {};
|
|
977
|
+
localVarQueryParameter = {};
|
|
978
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
979
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
980
|
+
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
981
|
+
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
982
|
+
return [2 /*return*/, {
|
|
983
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
984
|
+
options: localVarRequestOptions,
|
|
985
|
+
}];
|
|
986
|
+
});
|
|
987
|
+
});
|
|
988
|
+
},
|
|
989
|
+
/**
|
|
990
|
+
* Get Last Account
|
|
991
|
+
* @summary Get Last Account
|
|
992
|
+
* @param {*} [options] Override http request option.
|
|
993
|
+
* @throws {RequiredError}
|
|
994
|
+
*/
|
|
995
|
+
getGetLastAccount: function () {
|
|
996
|
+
var args_1 = [];
|
|
997
|
+
for (var _i = 0; _i < arguments.length; _i++) {
|
|
998
|
+
args_1[_i] = arguments[_i];
|
|
999
|
+
}
|
|
1000
|
+
return __awaiter(_this, __spreadArray([], args_1, true), void 0, function (options) {
|
|
1001
|
+
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
1002
|
+
if (options === void 0) { options = {}; }
|
|
1003
|
+
return __generator(this, function (_a) {
|
|
1004
|
+
localVarPath = "/admin/accounts/last";
|
|
931
1005
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
932
1006
|
if (configuration) {
|
|
933
1007
|
baseOptions = configuration.baseOptions;
|
|
@@ -964,7 +1038,7 @@ var AccountsApiAxiosParamCreator = function (configuration) {
|
|
|
964
1038
|
// verify required parameter 'id' is not null or undefined
|
|
965
1039
|
(0, common_1.assertParamExists)('getGetTcxPartnerDetails', 'id', id);
|
|
966
1040
|
localVarPath = "/admin/accounts/{id}/tcx/partner"
|
|
967
|
-
.replace(
|
|
1041
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
968
1042
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
969
1043
|
if (configuration) {
|
|
970
1044
|
baseOptions = configuration.baseOptions;
|
|
@@ -1043,8 +1117,8 @@ var AccountsApiAxiosParamCreator = function (configuration) {
|
|
|
1043
1117
|
// verify required parameter 'state' is not null or undefined
|
|
1044
1118
|
(0, common_1.assertParamExists)('patchSetPortalAccess', 'state', state);
|
|
1045
1119
|
localVarPath = "/admin/accounts/{id}/portal/access/{state}"
|
|
1046
|
-
.replace(
|
|
1047
|
-
.replace(
|
|
1120
|
+
.replace('{id}', encodeURIComponent(String(id)))
|
|
1121
|
+
.replace('{state}', encodeURIComponent(String(state)));
|
|
1048
1122
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
1049
1123
|
if (configuration) {
|
|
1050
1124
|
baseOptions = configuration.baseOptions;
|
|
@@ -1083,8 +1157,8 @@ var AccountsApiAxiosParamCreator = function (configuration) {
|
|
|
1083
1157
|
// verify required parameter 'state' is not null or undefined
|
|
1084
1158
|
(0, common_1.assertParamExists)('patchSetPrizePromo', 'state', state);
|
|
1085
1159
|
localVarPath = "/admin/accounts/{id}/prizes/{state}"
|
|
1086
|
-
.replace(
|
|
1087
|
-
.replace(
|
|
1160
|
+
.replace('{id}', encodeURIComponent(String(id)))
|
|
1161
|
+
.replace('{state}', encodeURIComponent(String(state)));
|
|
1088
1162
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
1089
1163
|
if (configuration) {
|
|
1090
1164
|
baseOptions = configuration.baseOptions;
|
|
@@ -1156,7 +1230,7 @@ var AccountsApiAxiosParamCreator = function (configuration) {
|
|
|
1156
1230
|
// verify required parameter 'id' is not null or undefined
|
|
1157
1231
|
(0, common_1.assertParamExists)('patchUpdateAccountCname', 'id', id);
|
|
1158
1232
|
localVarPath = "/admin/accounts/{id}/cname"
|
|
1159
|
-
.replace(
|
|
1233
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
1160
1234
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
1161
1235
|
if (configuration) {
|
|
1162
1236
|
baseOptions = configuration.baseOptions;
|
|
@@ -1195,7 +1269,7 @@ var AccountsApiAxiosParamCreator = function (configuration) {
|
|
|
1195
1269
|
// verify required parameter 'id' is not null or undefined
|
|
1196
1270
|
(0, common_1.assertParamExists)('patchUpdateAccountCompanyNumber', 'id', id);
|
|
1197
1271
|
localVarPath = "/admin/accounts/{id}/companyNumber"
|
|
1198
|
-
.replace(
|
|
1272
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
1199
1273
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
1200
1274
|
if (configuration) {
|
|
1201
1275
|
baseOptions = configuration.baseOptions;
|
|
@@ -1276,7 +1350,7 @@ var AccountsApiAxiosParamCreator = function (configuration) {
|
|
|
1276
1350
|
// verify required parameter 'id' is not null or undefined
|
|
1277
1351
|
(0, common_1.assertParamExists)('patchUpdateAccountPhone', 'id', id);
|
|
1278
1352
|
localVarPath = "/admin/accounts/{id}/phone"
|
|
1279
|
-
.replace(
|
|
1353
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
1280
1354
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
1281
1355
|
if (configuration) {
|
|
1282
1356
|
baseOptions = configuration.baseOptions;
|
|
@@ -1315,7 +1389,7 @@ var AccountsApiAxiosParamCreator = function (configuration) {
|
|
|
1315
1389
|
// verify required parameter 'id' is not null or undefined
|
|
1316
1390
|
(0, common_1.assertParamExists)('patchUpdateAccountVatNumber', 'id', id);
|
|
1317
1391
|
localVarPath = "/admin/accounts/{id}/vatNumber"
|
|
1318
|
-
.replace(
|
|
1392
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
1319
1393
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
1320
1394
|
if (configuration) {
|
|
1321
1395
|
baseOptions = configuration.baseOptions;
|
|
@@ -1354,7 +1428,7 @@ var AccountsApiAxiosParamCreator = function (configuration) {
|
|
|
1354
1428
|
// verify required parameter 'id' is not null or undefined
|
|
1355
1429
|
(0, common_1.assertParamExists)('patchUpdateCreditLimit', 'id', id);
|
|
1356
1430
|
localVarPath = "/admin/accounts/{id}/creditLimit"
|
|
1357
|
-
.replace(
|
|
1431
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
1358
1432
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
1359
1433
|
if (configuration) {
|
|
1360
1434
|
baseOptions = configuration.baseOptions;
|
|
@@ -1394,7 +1468,7 @@ var AccountsApiAxiosParamCreator = function (configuration) {
|
|
|
1394
1468
|
// verify required parameter 'id' is not null or undefined
|
|
1395
1469
|
(0, common_1.assertParamExists)('patchUpdatePriceList', 'id', id);
|
|
1396
1470
|
localVarPath = "/admin/accounts/{id}/priceList"
|
|
1397
|
-
.replace(
|
|
1471
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
1398
1472
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
1399
1473
|
if (configuration) {
|
|
1400
1474
|
baseOptions = configuration.baseOptions;
|
|
@@ -1434,7 +1508,7 @@ var AccountsApiAxiosParamCreator = function (configuration) {
|
|
|
1434
1508
|
// verify required parameter 'id' is not null or undefined
|
|
1435
1509
|
(0, common_1.assertParamExists)('patchUpdateSipChannelCost', 'id', id);
|
|
1436
1510
|
localVarPath = "/admin/accounts/{id}/channelCost"
|
|
1437
|
-
.replace(
|
|
1511
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
1438
1512
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
1439
1513
|
if (configuration) {
|
|
1440
1514
|
baseOptions = configuration.baseOptions;
|
|
@@ -1474,7 +1548,7 @@ var AccountsApiAxiosParamCreator = function (configuration) {
|
|
|
1474
1548
|
// verify required parameter 'id' is not null or undefined
|
|
1475
1549
|
(0, common_1.assertParamExists)('patchUpdateTcxHostingPriceList', 'id', id);
|
|
1476
1550
|
localVarPath = "/admin/accounts/{id}/tcx/hosting/priceList"
|
|
1477
|
-
.replace(
|
|
1551
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
1478
1552
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
1479
1553
|
if (configuration) {
|
|
1480
1554
|
baseOptions = configuration.baseOptions;
|
|
@@ -1514,7 +1588,7 @@ var AccountsApiAxiosParamCreator = function (configuration) {
|
|
|
1514
1588
|
// verify required parameter 'id' is not null or undefined
|
|
1515
1589
|
(0, common_1.assertParamExists)('patchUpdateTcxPartnerId', 'id', id);
|
|
1516
1590
|
localVarPath = "/admin/accounts{id}/tcx/partner/id"
|
|
1517
|
-
.replace(
|
|
1591
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
1518
1592
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
1519
1593
|
if (configuration) {
|
|
1520
1594
|
baseOptions = configuration.baseOptions;
|
|
@@ -1554,7 +1628,7 @@ var AccountsApiAxiosParamCreator = function (configuration) {
|
|
|
1554
1628
|
// verify required parameter 'id' is not null or undefined
|
|
1555
1629
|
(0, common_1.assertParamExists)('postAdminCreateAccountContact', 'id', id);
|
|
1556
1630
|
localVarPath = "/admin/accounts/{id}/contacts"
|
|
1557
|
-
.replace(
|
|
1631
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
1558
1632
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
1559
1633
|
if (configuration) {
|
|
1560
1634
|
baseOptions = configuration.baseOptions;
|
|
@@ -1737,7 +1811,7 @@ var AccountsApiAxiosParamCreator = function (configuration) {
|
|
|
1737
1811
|
// verify required parameter 'email' is not null or undefined
|
|
1738
1812
|
(0, common_1.assertParamExists)('postSendEmailVerificationEmail', 'email', email);
|
|
1739
1813
|
localVarPath = "/accounts/contacts/verify/{email}"
|
|
1740
|
-
.replace(
|
|
1814
|
+
.replace('{email}', encodeURIComponent(String(email)));
|
|
1741
1815
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
1742
1816
|
if (configuration) {
|
|
1743
1817
|
baseOptions = configuration.baseOptions;
|
|
@@ -1813,7 +1887,7 @@ var AccountsApiAxiosParamCreator = function (configuration) {
|
|
|
1813
1887
|
// verify required parameter 'id' is not null or undefined
|
|
1814
1888
|
(0, common_1.assertParamExists)('postSendWelcomeEmail', 'id', id);
|
|
1815
1889
|
localVarPath = "/admin/accounts/{id}/email/welcome"
|
|
1816
|
-
.replace(
|
|
1890
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
1817
1891
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
1818
1892
|
if (configuration) {
|
|
1819
1893
|
baseOptions = configuration.baseOptions;
|
|
@@ -1900,8 +1974,8 @@ var AccountsApiAxiosParamCreator = function (configuration) {
|
|
|
1900
1974
|
// verify required parameter 'contactId' is not null or undefined
|
|
1901
1975
|
(0, common_1.assertParamExists)('putAdminUpdateAccountContact', 'contactId', contactId);
|
|
1902
1976
|
localVarPath = "/admin/accounts/{id}/contacts/{contact_id}"
|
|
1903
|
-
.replace(
|
|
1904
|
-
.replace(
|
|
1977
|
+
.replace('{id}', encodeURIComponent(String(id)))
|
|
1978
|
+
.replace('{contact_id}', encodeURIComponent(String(contactId)));
|
|
1905
1979
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
1906
1980
|
if (configuration) {
|
|
1907
1981
|
baseOptions = configuration.baseOptions;
|
|
@@ -1941,7 +2015,7 @@ var AccountsApiAxiosParamCreator = function (configuration) {
|
|
|
1941
2015
|
// verify required parameter 'email' is not null or undefined
|
|
1942
2016
|
(0, common_1.assertParamExists)('putUpdateAccountContact', 'email', email);
|
|
1943
2017
|
localVarPath = "/accounts/me/contacts/{email}"
|
|
1944
|
-
.replace(
|
|
2018
|
+
.replace('{email}', encodeURIComponent(String(email)));
|
|
1945
2019
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
1946
2020
|
if (configuration) {
|
|
1947
2021
|
baseOptions = configuration.baseOptions;
|
|
@@ -1980,7 +2054,7 @@ var AccountsApiAxiosParamCreator = function (configuration) {
|
|
|
1980
2054
|
// verify required parameter 'id' is not null or undefined
|
|
1981
2055
|
(0, common_1.assertParamExists)('putUpdateBillingAddress', 'id', id);
|
|
1982
2056
|
localVarPath = "/admin/accounts/{id}/billing/address"
|
|
1983
|
-
.replace(
|
|
2057
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
1984
2058
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
1985
2059
|
if (configuration) {
|
|
1986
2060
|
baseOptions = configuration.baseOptions;
|
|
@@ -2019,7 +2093,7 @@ var AccountsApiAxiosParamCreator = function (configuration) {
|
|
|
2019
2093
|
// verify required parameter 'id' is not null or undefined
|
|
2020
2094
|
(0, common_1.assertParamExists)('putUpdateShippingAddress', 'id', id);
|
|
2021
2095
|
localVarPath = "/admin/accounts/{id}/shipping/address"
|
|
2022
|
-
.replace(
|
|
2096
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
2023
2097
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
2024
2098
|
if (configuration) {
|
|
2025
2099
|
baseOptions = configuration.baseOptions;
|
|
@@ -2299,6 +2373,27 @@ var AccountsApiFp = function (configuration) {
|
|
|
2299
2373
|
});
|
|
2300
2374
|
});
|
|
2301
2375
|
},
|
|
2376
|
+
/**
|
|
2377
|
+
* Get Customer Accounts List
|
|
2378
|
+
* @param {*} [options] Override http request option.
|
|
2379
|
+
* @throws {RequiredError}
|
|
2380
|
+
*/
|
|
2381
|
+
getGetCustomerAccountsList: function (options) {
|
|
2382
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
2383
|
+
var localVarAxiosArgs, localVarOperationServerIndex, localVarOperationServerBasePath;
|
|
2384
|
+
var _a, _b, _c;
|
|
2385
|
+
return __generator(this, function (_d) {
|
|
2386
|
+
switch (_d.label) {
|
|
2387
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.getGetCustomerAccountsList(options)];
|
|
2388
|
+
case 1:
|
|
2389
|
+
localVarAxiosArgs = _d.sent();
|
|
2390
|
+
localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
2391
|
+
localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['AccountsApi.getGetCustomerAccountsList']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
2392
|
+
return [2 /*return*/, function (axios, basePath) { return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath); }];
|
|
2393
|
+
}
|
|
2394
|
+
});
|
|
2395
|
+
});
|
|
2396
|
+
},
|
|
2302
2397
|
/**
|
|
2303
2398
|
* Get 3CX Keys
|
|
2304
2399
|
* @summary Get 3CX Keys
|
|
@@ -2343,6 +2438,28 @@ var AccountsApiFp = function (configuration) {
|
|
|
2343
2438
|
});
|
|
2344
2439
|
});
|
|
2345
2440
|
},
|
|
2441
|
+
/**
|
|
2442
|
+
* Get Last Account
|
|
2443
|
+
* @summary Get Last Account
|
|
2444
|
+
* @param {*} [options] Override http request option.
|
|
2445
|
+
* @throws {RequiredError}
|
|
2446
|
+
*/
|
|
2447
|
+
getGetLastAccount: function (options) {
|
|
2448
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
2449
|
+
var localVarAxiosArgs, localVarOperationServerIndex, localVarOperationServerBasePath;
|
|
2450
|
+
var _a, _b, _c;
|
|
2451
|
+
return __generator(this, function (_d) {
|
|
2452
|
+
switch (_d.label) {
|
|
2453
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.getGetLastAccount(options)];
|
|
2454
|
+
case 1:
|
|
2455
|
+
localVarAxiosArgs = _d.sent();
|
|
2456
|
+
localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
2457
|
+
localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['AccountsApi.getGetLastAccount']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
2458
|
+
return [2 /*return*/, function (axios, basePath) { return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath); }];
|
|
2459
|
+
}
|
|
2460
|
+
});
|
|
2461
|
+
});
|
|
2462
|
+
},
|
|
2346
2463
|
/**
|
|
2347
2464
|
* Get Account 3CX Details
|
|
2348
2465
|
* @param {string} id Xero ID
|
|
@@ -3106,6 +3223,14 @@ var AccountsApiFactory = function (configuration, basePath, axios) {
|
|
|
3106
3223
|
getGetClientCredentials: function (options) {
|
|
3107
3224
|
return localVarFp.getGetClientCredentials(options).then(function (request) { return request(axios, basePath); });
|
|
3108
3225
|
},
|
|
3226
|
+
/**
|
|
3227
|
+
* Get Customer Accounts List
|
|
3228
|
+
* @param {*} [options] Override http request option.
|
|
3229
|
+
* @throws {RequiredError}
|
|
3230
|
+
*/
|
|
3231
|
+
getGetCustomerAccountsList: function (options) {
|
|
3232
|
+
return localVarFp.getGetCustomerAccountsList(options).then(function (request) { return request(axios, basePath); });
|
|
3233
|
+
},
|
|
3109
3234
|
/**
|
|
3110
3235
|
* Get 3CX Keys
|
|
3111
3236
|
* @summary Get 3CX Keys
|
|
@@ -3124,6 +3249,15 @@ var AccountsApiFactory = function (configuration, basePath, axios) {
|
|
|
3124
3249
|
getGetFinanceSettings: function (id, options) {
|
|
3125
3250
|
return localVarFp.getGetFinanceSettings(id, options).then(function (request) { return request(axios, basePath); });
|
|
3126
3251
|
},
|
|
3252
|
+
/**
|
|
3253
|
+
* Get Last Account
|
|
3254
|
+
* @summary Get Last Account
|
|
3255
|
+
* @param {*} [options] Override http request option.
|
|
3256
|
+
* @throws {RequiredError}
|
|
3257
|
+
*/
|
|
3258
|
+
getGetLastAccount: function (options) {
|
|
3259
|
+
return localVarFp.getGetLastAccount(options).then(function (request) { return request(axios, basePath); });
|
|
3260
|
+
},
|
|
3127
3261
|
/**
|
|
3128
3262
|
* Get Account 3CX Details
|
|
3129
3263
|
* @param {string} id Xero ID
|
|
@@ -3536,6 +3670,15 @@ var AccountsApi = /** @class */ (function (_super) {
|
|
|
3536
3670
|
var _this = this;
|
|
3537
3671
|
return (0, exports.AccountsApiFp)(this.configuration).getGetClientCredentials(options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
3538
3672
|
};
|
|
3673
|
+
/**
|
|
3674
|
+
* Get Customer Accounts List
|
|
3675
|
+
* @param {*} [options] Override http request option.
|
|
3676
|
+
* @throws {RequiredError}
|
|
3677
|
+
*/
|
|
3678
|
+
AccountsApi.prototype.getGetCustomerAccountsList = function (options) {
|
|
3679
|
+
var _this = this;
|
|
3680
|
+
return (0, exports.AccountsApiFp)(this.configuration).getGetCustomerAccountsList(options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
3681
|
+
};
|
|
3539
3682
|
/**
|
|
3540
3683
|
* Get 3CX Keys
|
|
3541
3684
|
* @summary Get 3CX Keys
|
|
@@ -3556,6 +3699,16 @@ var AccountsApi = /** @class */ (function (_super) {
|
|
|
3556
3699
|
var _this = this;
|
|
3557
3700
|
return (0, exports.AccountsApiFp)(this.configuration).getGetFinanceSettings(id, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
3558
3701
|
};
|
|
3702
|
+
/**
|
|
3703
|
+
* Get Last Account
|
|
3704
|
+
* @summary Get Last Account
|
|
3705
|
+
* @param {*} [options] Override http request option.
|
|
3706
|
+
* @throws {RequiredError}
|
|
3707
|
+
*/
|
|
3708
|
+
AccountsApi.prototype.getGetLastAccount = function (options) {
|
|
3709
|
+
var _this = this;
|
|
3710
|
+
return (0, exports.AccountsApiFp)(this.configuration).getGetLastAccount(options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
3711
|
+
};
|
|
3559
3712
|
/**
|
|
3560
3713
|
* Get Account 3CX Details
|
|
3561
3714
|
* @param {string} id Xero ID
|
|
@@ -3871,11 +4024,11 @@ var AccountsApi = /** @class */ (function (_super) {
|
|
|
3871
4024
|
exports.AccountsApi = AccountsApi;
|
|
3872
4025
|
exports.PatchSetPortalAccessStateEnum = {
|
|
3873
4026
|
Enable: 'enable',
|
|
3874
|
-
Disable: 'disable'
|
|
4027
|
+
Disable: 'disable',
|
|
3875
4028
|
};
|
|
3876
4029
|
exports.PatchSetPrizePromoStateEnum = {
|
|
3877
4030
|
Enable: 'enable',
|
|
3878
|
-
Disable: 'disable'
|
|
4031
|
+
Disable: 'disable',
|
|
3879
4032
|
};
|
|
3880
4033
|
/**
|
|
3881
4034
|
* BillingApi - axios parameter creator
|
|
@@ -4016,7 +4169,7 @@ var CRMApiAxiosParamCreator = function (configuration) {
|
|
|
4016
4169
|
// verify required parameter 'id' is not null or undefined
|
|
4017
4170
|
(0, common_1.assertParamExists)('getGetCrmActivities', 'id', id);
|
|
4018
4171
|
localVarPath = "/admin/crm/{id}/activities"
|
|
4019
|
-
.replace(
|
|
4172
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
4020
4173
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
4021
4174
|
if (configuration) {
|
|
4022
4175
|
baseOptions = configuration.baseOptions;
|
|
@@ -4093,7 +4246,7 @@ var CRMApiAxiosParamCreator = function (configuration) {
|
|
|
4093
4246
|
// verify required parameter 'id' is not null or undefined
|
|
4094
4247
|
(0, common_1.assertParamExists)('postCreateCrmNote', 'id', id);
|
|
4095
4248
|
localVarPath = "/admin/crm/{id}/activities/note"
|
|
4096
|
-
.replace(
|
|
4249
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
4097
4250
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
4098
4251
|
if (configuration) {
|
|
4099
4252
|
baseOptions = configuration.baseOptions;
|
|
@@ -4278,10 +4431,11 @@ exports.CRMApi = CRMApi;
|
|
|
4278
4431
|
exports.GetGetCrmActivitiesTypeEnum = {
|
|
4279
4432
|
Alert: 'alert',
|
|
4280
4433
|
Call: 'call',
|
|
4434
|
+
Email: 'email',
|
|
4281
4435
|
Note: 'note',
|
|
4282
4436
|
Order: 'order',
|
|
4283
4437
|
Quote: 'quote',
|
|
4284
|
-
TcxOrder: 'tcx_order'
|
|
4438
|
+
TcxOrder: 'tcx_order',
|
|
4285
4439
|
};
|
|
4286
4440
|
/**
|
|
4287
4441
|
* Class3CXApi - axios parameter creator
|
|
@@ -4329,6 +4483,40 @@ var Class3CXApiAxiosParamCreator = function (configuration) {
|
|
|
4329
4483
|
});
|
|
4330
4484
|
});
|
|
4331
4485
|
},
|
|
4486
|
+
/**
|
|
4487
|
+
* Get 3CX Expiring Keys
|
|
4488
|
+
* @summary Get 3CX Expiring Keys
|
|
4489
|
+
* @param {*} [options] Override http request option.
|
|
4490
|
+
* @throws {RequiredError}
|
|
4491
|
+
*/
|
|
4492
|
+
getGetTcxExpiringKeys: function () {
|
|
4493
|
+
var args_1 = [];
|
|
4494
|
+
for (var _i = 0; _i < arguments.length; _i++) {
|
|
4495
|
+
args_1[_i] = arguments[_i];
|
|
4496
|
+
}
|
|
4497
|
+
return __awaiter(_this, __spreadArray([], args_1, true), void 0, function (options) {
|
|
4498
|
+
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
4499
|
+
if (options === void 0) { options = {}; }
|
|
4500
|
+
return __generator(this, function (_a) {
|
|
4501
|
+
localVarPath = "/tcx/admin/keys/expiring/csv";
|
|
4502
|
+
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
4503
|
+
if (configuration) {
|
|
4504
|
+
baseOptions = configuration.baseOptions;
|
|
4505
|
+
}
|
|
4506
|
+
localVarRequestOptions = __assign(__assign({ method: 'GET' }, baseOptions), options);
|
|
4507
|
+
localVarHeaderParameter = {};
|
|
4508
|
+
localVarQueryParameter = {};
|
|
4509
|
+
localVarHeaderParameter['Accept'] = 'text/csv';
|
|
4510
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
4511
|
+
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
4512
|
+
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
4513
|
+
return [2 /*return*/, {
|
|
4514
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
4515
|
+
options: localVarRequestOptions,
|
|
4516
|
+
}];
|
|
4517
|
+
});
|
|
4518
|
+
});
|
|
4519
|
+
},
|
|
4332
4520
|
/**
|
|
4333
4521
|
* Get Bulk 3CX Licence Details
|
|
4334
4522
|
* @summary Get bulk 3CX Licence Details
|
|
@@ -4398,6 +4586,28 @@ var Class3CXApiFp = function (configuration) {
|
|
|
4398
4586
|
});
|
|
4399
4587
|
});
|
|
4400
4588
|
},
|
|
4589
|
+
/**
|
|
4590
|
+
* Get 3CX Expiring Keys
|
|
4591
|
+
* @summary Get 3CX Expiring Keys
|
|
4592
|
+
* @param {*} [options] Override http request option.
|
|
4593
|
+
* @throws {RequiredError}
|
|
4594
|
+
*/
|
|
4595
|
+
getGetTcxExpiringKeys: function (options) {
|
|
4596
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
4597
|
+
var localVarAxiosArgs, localVarOperationServerIndex, localVarOperationServerBasePath;
|
|
4598
|
+
var _a, _b, _c;
|
|
4599
|
+
return __generator(this, function (_d) {
|
|
4600
|
+
switch (_d.label) {
|
|
4601
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.getGetTcxExpiringKeys(options)];
|
|
4602
|
+
case 1:
|
|
4603
|
+
localVarAxiosArgs = _d.sent();
|
|
4604
|
+
localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
4605
|
+
localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['Class3CXApi.getGetTcxExpiringKeys']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
4606
|
+
return [2 /*return*/, function (axios, basePath) { return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath); }];
|
|
4607
|
+
}
|
|
4608
|
+
});
|
|
4609
|
+
});
|
|
4610
|
+
},
|
|
4401
4611
|
/**
|
|
4402
4612
|
* Get Bulk 3CX Licence Details
|
|
4403
4613
|
* @summary Get bulk 3CX Licence Details
|
|
@@ -4440,6 +4650,15 @@ var Class3CXApiFactory = function (configuration, basePath, axios) {
|
|
|
4440
4650
|
getGetLicenceDetails: function (key, options) {
|
|
4441
4651
|
return localVarFp.getGetLicenceDetails(key, options).then(function (request) { return request(axios, basePath); });
|
|
4442
4652
|
},
|
|
4653
|
+
/**
|
|
4654
|
+
* Get 3CX Expiring Keys
|
|
4655
|
+
* @summary Get 3CX Expiring Keys
|
|
4656
|
+
* @param {*} [options] Override http request option.
|
|
4657
|
+
* @throws {RequiredError}
|
|
4658
|
+
*/
|
|
4659
|
+
getGetTcxExpiringKeys: function (options) {
|
|
4660
|
+
return localVarFp.getGetTcxExpiringKeys(options).then(function (request) { return request(axios, basePath); });
|
|
4661
|
+
},
|
|
4443
4662
|
/**
|
|
4444
4663
|
* Get Bulk 3CX Licence Details
|
|
4445
4664
|
* @summary Get bulk 3CX Licence Details
|
|
@@ -4472,6 +4691,16 @@ var Class3CXApi = /** @class */ (function (_super) {
|
|
|
4472
4691
|
var _this = this;
|
|
4473
4692
|
return (0, exports.Class3CXApiFp)(this.configuration).getGetLicenceDetails(key, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
4474
4693
|
};
|
|
4694
|
+
/**
|
|
4695
|
+
* Get 3CX Expiring Keys
|
|
4696
|
+
* @summary Get 3CX Expiring Keys
|
|
4697
|
+
* @param {*} [options] Override http request option.
|
|
4698
|
+
* @throws {RequiredError}
|
|
4699
|
+
*/
|
|
4700
|
+
Class3CXApi.prototype.getGetTcxExpiringKeys = function (options) {
|
|
4701
|
+
var _this = this;
|
|
4702
|
+
return (0, exports.Class3CXApiFp)(this.configuration).getGetTcxExpiringKeys(options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
4703
|
+
};
|
|
4475
4704
|
/**
|
|
4476
4705
|
* Get Bulk 3CX Licence Details
|
|
4477
4706
|
* @summary Get bulk 3CX Licence Details
|
|
@@ -4756,7 +4985,7 @@ var Class3CXInstallationWizardApiAxiosParamCreator = function (configuration) {
|
|
|
4756
4985
|
// verify required parameter 'id' is not null or undefined
|
|
4757
4986
|
(0, common_1.assertParamExists)('getGetDdisTcxWizard', 'id', id);
|
|
4758
4987
|
localVarPath = "/tcx/wizards/sip/trunks/{id}/ddis"
|
|
4759
|
-
.replace(
|
|
4988
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
4760
4989
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
4761
4990
|
if (configuration) {
|
|
4762
4991
|
baseOptions = configuration.baseOptions;
|
|
@@ -4985,7 +5214,7 @@ var Class3CXInstallationWizardApiAxiosParamCreator = function (configuration) {
|
|
|
4985
5214
|
// verify required parameter 'id' is not null or undefined
|
|
4986
5215
|
(0, common_1.assertParamExists)('getGetSipTrunkTcxWizard', 'id', id);
|
|
4987
5216
|
localVarPath = "/tcx/wizards/sip/trunks/{id}"
|
|
4988
|
-
.replace(
|
|
5217
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
4989
5218
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
4990
5219
|
if (configuration) {
|
|
4991
5220
|
baseOptions = configuration.baseOptions;
|
|
@@ -5623,7 +5852,7 @@ var Class3CXInstallationWizardApiAxiosParamCreator = function (configuration) {
|
|
|
5623
5852
|
// verify required parameter 'id' is not null or undefined
|
|
5624
5853
|
(0, common_1.assertParamExists)('postGetDdisTcxWizard', 'id', id);
|
|
5625
5854
|
localVarPath = "/tcx/wizards/sip/trunks/{id}/ddis"
|
|
5626
|
-
.replace(
|
|
5855
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
5627
5856
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
5628
5857
|
if (configuration) {
|
|
5629
5858
|
baseOptions = configuration.baseOptions;
|
|
@@ -7362,7 +7591,7 @@ var Class3CXInstallationsApiAxiosParamCreator = function (configuration) {
|
|
|
7362
7591
|
// verify required parameter 'wizardId' is not null or undefined
|
|
7363
7592
|
(0, common_1.assertParamExists)('getGetDetails', 'wizardId', wizardId);
|
|
7364
7593
|
localVarPath = "/tcx/installations/{wizard_id}/details"
|
|
7365
|
-
.replace(
|
|
7594
|
+
.replace('{wizard_id}', encodeURIComponent(String(wizardId)));
|
|
7366
7595
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
7367
7596
|
if (configuration) {
|
|
7368
7597
|
baseOptions = configuration.baseOptions;
|
|
@@ -7443,6 +7672,44 @@ var Class3CXInstallationsApiAxiosParamCreator = function (configuration) {
|
|
|
7443
7672
|
});
|
|
7444
7673
|
});
|
|
7445
7674
|
},
|
|
7675
|
+
/**
|
|
7676
|
+
* Get Recording Backup Storage
|
|
7677
|
+
* @summary Get Recording Backup Storage
|
|
7678
|
+
* @param {string} instanceId Instance ID
|
|
7679
|
+
* @param {*} [options] Override http request option.
|
|
7680
|
+
* @throws {RequiredError}
|
|
7681
|
+
*/
|
|
7682
|
+
getGetRecordingBackupStorage: function (instanceId_1) {
|
|
7683
|
+
var args_1 = [];
|
|
7684
|
+
for (var _i = 1; _i < arguments.length; _i++) {
|
|
7685
|
+
args_1[_i - 1] = arguments[_i];
|
|
7686
|
+
}
|
|
7687
|
+
return __awaiter(_this, __spreadArray([instanceId_1], args_1, true), void 0, function (instanceId, options) {
|
|
7688
|
+
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
7689
|
+
if (options === void 0) { options = {}; }
|
|
7690
|
+
return __generator(this, function (_a) {
|
|
7691
|
+
// verify required parameter 'instanceId' is not null or undefined
|
|
7692
|
+
(0, common_1.assertParamExists)('getGetRecordingBackupStorage', 'instanceId', instanceId);
|
|
7693
|
+
localVarPath = "/tcx/installations/{instance_id}/recordings/backup"
|
|
7694
|
+
.replace('{instance_id}', encodeURIComponent(String(instanceId)));
|
|
7695
|
+
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
7696
|
+
if (configuration) {
|
|
7697
|
+
baseOptions = configuration.baseOptions;
|
|
7698
|
+
}
|
|
7699
|
+
localVarRequestOptions = __assign(__assign({ method: 'GET' }, baseOptions), options);
|
|
7700
|
+
localVarHeaderParameter = {};
|
|
7701
|
+
localVarQueryParameter = {};
|
|
7702
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
7703
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
7704
|
+
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
7705
|
+
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
7706
|
+
return [2 /*return*/, {
|
|
7707
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
7708
|
+
options: localVarRequestOptions,
|
|
7709
|
+
}];
|
|
7710
|
+
});
|
|
7711
|
+
});
|
|
7712
|
+
},
|
|
7446
7713
|
/**
|
|
7447
7714
|
* Change instance owner
|
|
7448
7715
|
* @summary Change instance owner
|
|
@@ -7465,7 +7732,7 @@ var Class3CXInstallationsApiAxiosParamCreator = function (configuration) {
|
|
|
7465
7732
|
// verify required parameter 'customerId' is not null or undefined
|
|
7466
7733
|
(0, common_1.assertParamExists)('patchChangeInstanceOwner', 'customerId', customerId);
|
|
7467
7734
|
localVarPath = "/tcx/installations/{instance_id}/owner"
|
|
7468
|
-
.replace(
|
|
7735
|
+
.replace('{instance_id}', encodeURIComponent(String(instanceId)));
|
|
7469
7736
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
7470
7737
|
if (configuration) {
|
|
7471
7738
|
baseOptions = configuration.baseOptions;
|
|
@@ -7508,7 +7775,7 @@ var Class3CXInstallationsApiAxiosParamCreator = function (configuration) {
|
|
|
7508
7775
|
// verify required parameter 'enable' is not null or undefined
|
|
7509
7776
|
(0, common_1.assertParamExists)('patchUpdateAutoFailover', 'enable', enable);
|
|
7510
7777
|
localVarPath = "/tcx/installations/{instance_id}/failover/auto"
|
|
7511
|
-
.replace(
|
|
7778
|
+
.replace('{instance_id}', encodeURIComponent(String(instanceId)));
|
|
7512
7779
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
7513
7780
|
if (configuration) {
|
|
7514
7781
|
baseOptions = configuration.baseOptions;
|
|
@@ -7551,7 +7818,7 @@ var Class3CXInstallationsApiAxiosParamCreator = function (configuration) {
|
|
|
7551
7818
|
// verify required parameter 'gigabytes' is not null or undefined
|
|
7552
7819
|
(0, common_1.assertParamExists)('postAddDisk', 'gigabytes', gigabytes);
|
|
7553
7820
|
localVarPath = "/tcx/installations/{instance_id}/disk"
|
|
7554
|
-
.replace(
|
|
7821
|
+
.replace('{instance_id}', encodeURIComponent(String(instanceId)));
|
|
7555
7822
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
7556
7823
|
if (configuration) {
|
|
7557
7824
|
baseOptions = configuration.baseOptions;
|
|
@@ -7597,7 +7864,7 @@ var Class3CXInstallationsApiAxiosParamCreator = function (configuration) {
|
|
|
7597
7864
|
// verify required parameter 'ipAddress' is not null or undefined
|
|
7598
7865
|
(0, common_1.assertParamExists)('postCreateSshUser', 'ipAddress', ipAddress);
|
|
7599
7866
|
localVarPath = "/tcx/installations/{instance_id}/create/user/root"
|
|
7600
|
-
.replace(
|
|
7867
|
+
.replace('{instance_id}', encodeURIComponent(String(instanceId)));
|
|
7601
7868
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
7602
7869
|
if (configuration) {
|
|
7603
7870
|
baseOptions = configuration.baseOptions;
|
|
@@ -7641,7 +7908,7 @@ var Class3CXInstallationsApiAxiosParamCreator = function (configuration) {
|
|
|
7641
7908
|
// verify required parameter 'instanceId' is not null or undefined
|
|
7642
7909
|
(0, common_1.assertParamExists)('postDeleteInstance', 'instanceId', instanceId);
|
|
7643
7910
|
localVarPath = "/tcx/installations/{instance_id}/delete"
|
|
7644
|
-
.replace(
|
|
7911
|
+
.replace('{instance_id}', encodeURIComponent(String(instanceId)));
|
|
7645
7912
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
7646
7913
|
if (configuration) {
|
|
7647
7914
|
baseOptions = configuration.baseOptions;
|
|
@@ -7682,7 +7949,7 @@ var Class3CXInstallationsApiAxiosParamCreator = function (configuration) {
|
|
|
7682
7949
|
// verify required parameter 'gigabytes' is not null or undefined
|
|
7683
7950
|
(0, common_1.assertParamExists)('postExtendDisk', 'gigabytes', gigabytes);
|
|
7684
7951
|
localVarPath = "/tcx/installations/{instance_id}/disk/extend"
|
|
7685
|
-
.replace(
|
|
7952
|
+
.replace('{instance_id}', encodeURIComponent(String(instanceId)));
|
|
7686
7953
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
7687
7954
|
if (configuration) {
|
|
7688
7955
|
baseOptions = configuration.baseOptions;
|
|
@@ -7728,7 +7995,7 @@ var Class3CXInstallationsApiAxiosParamCreator = function (configuration) {
|
|
|
7728
7995
|
// verify required parameter 'type' is not null or undefined
|
|
7729
7996
|
(0, common_1.assertParamExists)('postFailoverInstance', 'type', type);
|
|
7730
7997
|
localVarPath = "/tcx/installations/{instance_id}/failover"
|
|
7731
|
-
.replace(
|
|
7998
|
+
.replace('{instance_id}', encodeURIComponent(String(instanceId)));
|
|
7732
7999
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
7733
8000
|
if (configuration) {
|
|
7734
8001
|
baseOptions = configuration.baseOptions;
|
|
@@ -7768,7 +8035,7 @@ var Class3CXInstallationsApiAxiosParamCreator = function (configuration) {
|
|
|
7768
8035
|
// verify required parameter 'sbcId' is not null or undefined
|
|
7769
8036
|
(0, common_1.assertParamExists)('postInstallTcxSbc', 'sbcId', sbcId);
|
|
7770
8037
|
localVarPath = "/tcx/installations/sbcs/{sbc_id}/install"
|
|
7771
|
-
.replace(
|
|
8038
|
+
.replace('{sbc_id}', encodeURIComponent(String(sbcId)));
|
|
7772
8039
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
7773
8040
|
if (configuration) {
|
|
7774
8041
|
baseOptions = configuration.baseOptions;
|
|
@@ -7806,7 +8073,7 @@ var Class3CXInstallationsApiAxiosParamCreator = function (configuration) {
|
|
|
7806
8073
|
// verify required parameter 'instanceId' is not null or undefined
|
|
7807
8074
|
(0, common_1.assertParamExists)('postRebootInstance', 'instanceId', instanceId);
|
|
7808
8075
|
localVarPath = "/tcx/installations/{instance_id}/reboot"
|
|
7809
|
-
.replace(
|
|
8076
|
+
.replace('{instance_id}', encodeURIComponent(String(instanceId)));
|
|
7810
8077
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
7811
8078
|
if (configuration) {
|
|
7812
8079
|
baseOptions = configuration.baseOptions;
|
|
@@ -7847,7 +8114,7 @@ var Class3CXInstallationsApiAxiosParamCreator = function (configuration) {
|
|
|
7847
8114
|
// verify required parameter 'size' is not null or undefined
|
|
7848
8115
|
(0, common_1.assertParamExists)('postResizeInstance', 'size', size);
|
|
7849
8116
|
localVarPath = "/tcx/installations/{instance_id}/resize"
|
|
7850
|
-
.replace(
|
|
8117
|
+
.replace('{instance_id}', encodeURIComponent(String(instanceId)));
|
|
7851
8118
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
7852
8119
|
if (configuration) {
|
|
7853
8120
|
baseOptions = configuration.baseOptions;
|
|
@@ -7891,7 +8158,7 @@ var Class3CXInstallationsApiAxiosParamCreator = function (configuration) {
|
|
|
7891
8158
|
// verify required parameter 'instanceId' is not null or undefined
|
|
7892
8159
|
(0, common_1.assertParamExists)('postRestartServices', 'instanceId', instanceId);
|
|
7893
8160
|
localVarPath = "/tcx/installations/{instance_id}/services/restart"
|
|
7894
|
-
.replace(
|
|
8161
|
+
.replace('{instance_id}', encodeURIComponent(String(instanceId)));
|
|
7895
8162
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
7896
8163
|
if (configuration) {
|
|
7897
8164
|
baseOptions = configuration.baseOptions;
|
|
@@ -7932,7 +8199,7 @@ var Class3CXInstallationsApiAxiosParamCreator = function (configuration) {
|
|
|
7932
8199
|
// verify required parameter 'instanceId' is not null or undefined
|
|
7933
8200
|
(0, common_1.assertParamExists)('postScheduledReboot', 'instanceId', instanceId);
|
|
7934
8201
|
localVarPath = "/tcx/installations/{instance_id}/reboot/scheduled"
|
|
7935
|
-
.replace(
|
|
8202
|
+
.replace('{instance_id}', encodeURIComponent(String(instanceId)));
|
|
7936
8203
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
7937
8204
|
if (configuration) {
|
|
7938
8205
|
baseOptions = configuration.baseOptions;
|
|
@@ -7973,7 +8240,7 @@ var Class3CXInstallationsApiAxiosParamCreator = function (configuration) {
|
|
|
7973
8240
|
// verify required parameter 'instanceId' is not null or undefined
|
|
7974
8241
|
(0, common_1.assertParamExists)('postSuspendInstance', 'instanceId', instanceId);
|
|
7975
8242
|
localVarPath = "/tcx/installations/{instance_id}/suspend"
|
|
7976
|
-
.replace(
|
|
8243
|
+
.replace('{instance_id}', encodeURIComponent(String(instanceId)));
|
|
7977
8244
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
7978
8245
|
if (configuration) {
|
|
7979
8246
|
baseOptions = configuration.baseOptions;
|
|
@@ -8013,7 +8280,7 @@ var Class3CXInstallationsApiAxiosParamCreator = function (configuration) {
|
|
|
8013
8280
|
// verify required parameter 'instanceId' is not null or undefined
|
|
8014
8281
|
(0, common_1.assertParamExists)('postTestLoginCredentials', 'instanceId', instanceId);
|
|
8015
8282
|
localVarPath = "/tcx/installations/{instance_id}/tests/login"
|
|
8016
|
-
.replace(
|
|
8283
|
+
.replace('{instance_id}', encodeURIComponent(String(instanceId)));
|
|
8017
8284
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
8018
8285
|
if (configuration) {
|
|
8019
8286
|
baseOptions = configuration.baseOptions;
|
|
@@ -8050,7 +8317,7 @@ var Class3CXInstallationsApiAxiosParamCreator = function (configuration) {
|
|
|
8050
8317
|
// verify required parameter 'instanceId' is not null or undefined
|
|
8051
8318
|
(0, common_1.assertParamExists)('postUnsuspendInstance', 'instanceId', instanceId);
|
|
8052
8319
|
localVarPath = "/tcx/installations/{instance_id}/unsuspend"
|
|
8053
|
-
.replace(
|
|
8320
|
+
.replace('{instance_id}', encodeURIComponent(String(instanceId)));
|
|
8054
8321
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
8055
8322
|
if (configuration) {
|
|
8056
8323
|
baseOptions = configuration.baseOptions;
|
|
@@ -8090,7 +8357,7 @@ var Class3CXInstallationsApiAxiosParamCreator = function (configuration) {
|
|
|
8090
8357
|
// verify required parameter 'schedule' is not null or undefined
|
|
8091
8358
|
(0, common_1.assertParamExists)('postUpgradeDebian', 'schedule', schedule);
|
|
8092
8359
|
localVarPath = "/tcx/installations/{instance_id}/debian/upgrade"
|
|
8093
|
-
.replace(
|
|
8360
|
+
.replace('{instance_id}', encodeURIComponent(String(instanceId)));
|
|
8094
8361
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
8095
8362
|
if (configuration) {
|
|
8096
8363
|
baseOptions = configuration.baseOptions;
|
|
@@ -8131,7 +8398,7 @@ var Class3CXInstallationsApiAxiosParamCreator = function (configuration) {
|
|
|
8131
8398
|
// verify required parameter 'wizardId' is not null or undefined
|
|
8132
8399
|
(0, common_1.assertParamExists)('putGetDetails', 'wizardId', wizardId);
|
|
8133
8400
|
localVarPath = "/tcx/installations/{wizard_id}/details"
|
|
8134
|
-
.replace(
|
|
8401
|
+
.replace('{wizard_id}', encodeURIComponent(String(wizardId)));
|
|
8135
8402
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
8136
8403
|
if (configuration) {
|
|
8137
8404
|
baseOptions = configuration.baseOptions;
|
|
@@ -8213,6 +8480,29 @@ var Class3CXInstallationsApiFp = function (configuration) {
|
|
|
8213
8480
|
});
|
|
8214
8481
|
});
|
|
8215
8482
|
},
|
|
8483
|
+
/**
|
|
8484
|
+
* Get Recording Backup Storage
|
|
8485
|
+
* @summary Get Recording Backup Storage
|
|
8486
|
+
* @param {string} instanceId Instance ID
|
|
8487
|
+
* @param {*} [options] Override http request option.
|
|
8488
|
+
* @throws {RequiredError}
|
|
8489
|
+
*/
|
|
8490
|
+
getGetRecordingBackupStorage: function (instanceId, options) {
|
|
8491
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
8492
|
+
var localVarAxiosArgs, localVarOperationServerIndex, localVarOperationServerBasePath;
|
|
8493
|
+
var _a, _b, _c;
|
|
8494
|
+
return __generator(this, function (_d) {
|
|
8495
|
+
switch (_d.label) {
|
|
8496
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.getGetRecordingBackupStorage(instanceId, options)];
|
|
8497
|
+
case 1:
|
|
8498
|
+
localVarAxiosArgs = _d.sent();
|
|
8499
|
+
localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
8500
|
+
localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['Class3CXInstallationsApi.getGetRecordingBackupStorage']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
8501
|
+
return [2 /*return*/, function (axios, basePath) { return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath); }];
|
|
8502
|
+
}
|
|
8503
|
+
});
|
|
8504
|
+
});
|
|
8505
|
+
},
|
|
8216
8506
|
/**
|
|
8217
8507
|
* Change instance owner
|
|
8218
8508
|
* @summary Change instance owner
|
|
@@ -8654,6 +8944,16 @@ var Class3CXInstallationsApiFactory = function (configuration, basePath, axios)
|
|
|
8654
8944
|
getGetInstallations: function (pageSize, page, customerId, search, status, hosting, installType, options) {
|
|
8655
8945
|
return localVarFp.getGetInstallations(pageSize, page, customerId, search, status, hosting, installType, options).then(function (request) { return request(axios, basePath); });
|
|
8656
8946
|
},
|
|
8947
|
+
/**
|
|
8948
|
+
* Get Recording Backup Storage
|
|
8949
|
+
* @summary Get Recording Backup Storage
|
|
8950
|
+
* @param {string} instanceId Instance ID
|
|
8951
|
+
* @param {*} [options] Override http request option.
|
|
8952
|
+
* @throws {RequiredError}
|
|
8953
|
+
*/
|
|
8954
|
+
getGetRecordingBackupStorage: function (instanceId, options) {
|
|
8955
|
+
return localVarFp.getGetRecordingBackupStorage(instanceId, options).then(function (request) { return request(axios, basePath); });
|
|
8956
|
+
},
|
|
8657
8957
|
/**
|
|
8658
8958
|
* Change instance owner
|
|
8659
8959
|
* @summary Change instance owner
|
|
@@ -8878,6 +9178,17 @@ var Class3CXInstallationsApi = /** @class */ (function (_super) {
|
|
|
8878
9178
|
var _this = this;
|
|
8879
9179
|
return (0, exports.Class3CXInstallationsApiFp)(this.configuration).getGetInstallations(pageSize, page, customerId, search, status, hosting, installType, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
8880
9180
|
};
|
|
9181
|
+
/**
|
|
9182
|
+
* Get Recording Backup Storage
|
|
9183
|
+
* @summary Get Recording Backup Storage
|
|
9184
|
+
* @param {string} instanceId Instance ID
|
|
9185
|
+
* @param {*} [options] Override http request option.
|
|
9186
|
+
* @throws {RequiredError}
|
|
9187
|
+
*/
|
|
9188
|
+
Class3CXInstallationsApi.prototype.getGetRecordingBackupStorage = function (instanceId, options) {
|
|
9189
|
+
var _this = this;
|
|
9190
|
+
return (0, exports.Class3CXInstallationsApiFp)(this.configuration).getGetRecordingBackupStorage(instanceId, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
9191
|
+
};
|
|
8881
9192
|
/**
|
|
8882
9193
|
* Change instance owner
|
|
8883
9194
|
* @summary Change instance owner
|
|
@@ -9087,30 +9398,30 @@ exports.GetGetInstallationsStatusEnum = {
|
|
|
9087
9398
|
Completed: 'Completed',
|
|
9088
9399
|
Outstanding: 'Outstanding',
|
|
9089
9400
|
Offline: 'Offline',
|
|
9090
|
-
FailedOver: 'Failed Over'
|
|
9401
|
+
FailedOver: 'Failed Over',
|
|
9091
9402
|
};
|
|
9092
9403
|
exports.GetGetInstallationsHostingEnum = {
|
|
9093
9404
|
Yellowgrid: 'yellowgrid',
|
|
9094
9405
|
MultiTenant: 'multi-tenant',
|
|
9095
9406
|
Onprem: 'onprem',
|
|
9096
|
-
All: 'all'
|
|
9407
|
+
All: 'all',
|
|
9097
9408
|
};
|
|
9098
9409
|
exports.GetGetInstallationsInstallTypeEnum = {
|
|
9099
9410
|
New: 'new',
|
|
9100
9411
|
Restore: 'restore',
|
|
9101
9412
|
Failover: 'failover',
|
|
9102
|
-
MultiTenant: 'multi-tenant'
|
|
9413
|
+
MultiTenant: 'multi-tenant',
|
|
9103
9414
|
};
|
|
9104
9415
|
exports.PostFailoverInstanceTypeEnum = {
|
|
9105
9416
|
Config: 'config',
|
|
9106
|
-
Image: 'image'
|
|
9417
|
+
Image: 'image',
|
|
9107
9418
|
};
|
|
9108
9419
|
exports.PostResizeInstanceSizeEnum = {
|
|
9109
9420
|
D24: 'd2-4',
|
|
9110
9421
|
D28: 'd2-8',
|
|
9111
9422
|
B230: 'b2-30',
|
|
9112
9423
|
S2vcpu4gb: 's-2vcpu-4gb',
|
|
9113
|
-
S4vcpu8gb: 's-4vcpu-8gb'
|
|
9424
|
+
S4vcpu8gb: 's-4vcpu-8gb',
|
|
9114
9425
|
};
|
|
9115
9426
|
/**
|
|
9116
9427
|
* Class3CXIntegrationsApi - axios parameter creator
|
|
@@ -9265,8 +9576,8 @@ var Class3CXIntegrationsApiAxiosParamCreator = function (configuration) {
|
|
|
9265
9576
|
// verify required parameter 'ref' is not null or undefined
|
|
9266
9577
|
(0, common_1.assertParamExists)('patchUpdateEtpOrderReference', 'ref', ref);
|
|
9267
9578
|
localVarPath = "/tcx/integrations/edtechpro/{clientId}/schools/{schoolId}/orderReference"
|
|
9268
|
-
.replace(
|
|
9269
|
-
.replace(
|
|
9579
|
+
.replace('{clientId}', encodeURIComponent(String(clientId)))
|
|
9580
|
+
.replace('{schoolId}', encodeURIComponent(String(schoolId)));
|
|
9270
9581
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
9271
9582
|
if (configuration) {
|
|
9272
9583
|
baseOptions = configuration.baseOptions;
|
|
@@ -9651,11 +9962,11 @@ var Class3CXIntegrationsApi = /** @class */ (function (_super) {
|
|
|
9651
9962
|
exports.Class3CXIntegrationsApi = Class3CXIntegrationsApi;
|
|
9652
9963
|
exports.GetGetPriceLicenceTypeEnum = {
|
|
9653
9964
|
Lite: 'lite',
|
|
9654
|
-
Pro: 'pro'
|
|
9965
|
+
Pro: 'pro',
|
|
9655
9966
|
};
|
|
9656
9967
|
exports.GetGetPriceSchoolTypeEnum = {
|
|
9657
9968
|
Primary: 'primary',
|
|
9658
|
-
Secondary: 'secondary'
|
|
9969
|
+
Secondary: 'secondary',
|
|
9659
9970
|
};
|
|
9660
9971
|
/**
|
|
9661
9972
|
* Class3CXMultiTenantApi - axios parameter creator
|
|
@@ -9682,7 +9993,7 @@ var Class3CXMultiTenantApiAxiosParamCreator = function (configuration) {
|
|
|
9682
9993
|
// verify required parameter 'reference' is not null or undefined
|
|
9683
9994
|
(0, common_1.assertParamExists)('deleteGetTenant', 'reference', reference);
|
|
9684
9995
|
localVarPath = "/tcx/mt/tenants/{reference}"
|
|
9685
|
-
.replace(
|
|
9996
|
+
.replace('{reference}', encodeURIComponent(String(reference)));
|
|
9686
9997
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
9687
9998
|
if (configuration) {
|
|
9688
9999
|
baseOptions = configuration.baseOptions;
|
|
@@ -9759,7 +10070,7 @@ var Class3CXMultiTenantApiAxiosParamCreator = function (configuration) {
|
|
|
9759
10070
|
// verify required parameter 'reference' is not null or undefined
|
|
9760
10071
|
(0, common_1.assertParamExists)('getGetTenant', 'reference', reference);
|
|
9761
10072
|
localVarPath = "/tcx/mt/tenants/{reference}"
|
|
9762
|
-
.replace(
|
|
10073
|
+
.replace('{reference}', encodeURIComponent(String(reference)));
|
|
9763
10074
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
9764
10075
|
if (configuration) {
|
|
9765
10076
|
baseOptions = configuration.baseOptions;
|
|
@@ -10376,7 +10687,7 @@ exports.GetGetTenantsStatusEnum = {
|
|
|
10376
10687
|
Completed: 'Completed',
|
|
10377
10688
|
Outstanding: 'Outstanding',
|
|
10378
10689
|
Offline: 'Offline',
|
|
10379
|
-
FailedOver: 'Failed Over'
|
|
10690
|
+
FailedOver: 'Failed Over',
|
|
10380
10691
|
};
|
|
10381
10692
|
/**
|
|
10382
10693
|
* MyPBXToolsApi - axios parameter creator
|
|
@@ -10533,7 +10844,7 @@ var NumberPortingApiAxiosParamCreator = function (configuration) {
|
|
|
10533
10844
|
// verify required parameter 'id' is not null or undefined
|
|
10534
10845
|
(0, common_1.assertParamExists)('deleteGetAdminNumberPort', 'id', id);
|
|
10535
10846
|
localVarPath = "/admin/sip/numbers/ports/{id}"
|
|
10536
|
-
.replace(
|
|
10847
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
10537
10848
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
10538
10849
|
if (configuration) {
|
|
10539
10850
|
baseOptions = configuration.baseOptions;
|
|
@@ -10614,7 +10925,7 @@ var NumberPortingApiAxiosParamCreator = function (configuration) {
|
|
|
10614
10925
|
// verify required parameter 'id' is not null or undefined
|
|
10615
10926
|
(0, common_1.assertParamExists)('getGetAdminNumberPort', 'id', id);
|
|
10616
10927
|
localVarPath = "/admin/sip/numbers/ports/{id}"
|
|
10617
|
-
.replace(
|
|
10928
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
10618
10929
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
10619
10930
|
if (configuration) {
|
|
10620
10931
|
baseOptions = configuration.baseOptions;
|
|
@@ -10696,7 +11007,7 @@ var NumberPortingApiAxiosParamCreator = function (configuration) {
|
|
|
10696
11007
|
// verify required parameter 'id' is not null or undefined
|
|
10697
11008
|
(0, common_1.assertParamExists)('getUpdateNumberPort', 'id', id);
|
|
10698
11009
|
localVarPath = "/sip/numbers/ports/{id}"
|
|
10699
|
-
.replace(
|
|
11010
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
10700
11011
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
10701
11012
|
if (configuration) {
|
|
10702
11013
|
baseOptions = configuration.baseOptions;
|
|
@@ -10733,7 +11044,7 @@ var NumberPortingApiAxiosParamCreator = function (configuration) {
|
|
|
10733
11044
|
// verify required parameter 'id' is not null or undefined
|
|
10734
11045
|
(0, common_1.assertParamExists)('patchCancelAdminNumberPort', 'id', id);
|
|
10735
11046
|
localVarPath = "/admin/sip/numbers/ports/{id}/cancel"
|
|
10736
|
-
.replace(
|
|
11047
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
10737
11048
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
10738
11049
|
if (configuration) {
|
|
10739
11050
|
baseOptions = configuration.baseOptions;
|
|
@@ -10770,7 +11081,7 @@ var NumberPortingApiAxiosParamCreator = function (configuration) {
|
|
|
10770
11081
|
// verify required parameter 'id' is not null or undefined
|
|
10771
11082
|
(0, common_1.assertParamExists)('patchCloseAdminNumberPort', 'id', id);
|
|
10772
11083
|
localVarPath = "/admin/sip/numbers/ports/{id}/close"
|
|
10773
|
-
.replace(
|
|
11084
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
10774
11085
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
10775
11086
|
if (configuration) {
|
|
10776
11087
|
baseOptions = configuration.baseOptions;
|
|
@@ -10810,7 +11121,7 @@ var NumberPortingApiAxiosParamCreator = function (configuration) {
|
|
|
10810
11121
|
// verify required parameter 'numberPortAdminNoteBody' is not null or undefined
|
|
10811
11122
|
(0, common_1.assertParamExists)('postAddAdminNote', 'numberPortAdminNoteBody', numberPortAdminNoteBody);
|
|
10812
11123
|
localVarPath = "/admin/sip/numbers/ports/{id}/notes"
|
|
10813
|
-
.replace(
|
|
11124
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
10814
11125
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
10815
11126
|
if (configuration) {
|
|
10816
11127
|
baseOptions = configuration.baseOptions;
|
|
@@ -10945,7 +11256,7 @@ var NumberPortingApiAxiosParamCreator = function (configuration) {
|
|
|
10945
11256
|
// verify required parameter 'id' is not null or undefined
|
|
10946
11257
|
(0, common_1.assertParamExists)('postSubmitNumberPort', 'id', id);
|
|
10947
11258
|
localVarPath = "/sip/numbers/ports/{id}/submit"
|
|
10948
|
-
.replace(
|
|
11259
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
10949
11260
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
10950
11261
|
if (configuration) {
|
|
10951
11262
|
baseOptions = configuration.baseOptions;
|
|
@@ -11033,7 +11344,7 @@ var NumberPortingApiAxiosParamCreator = function (configuration) {
|
|
|
11033
11344
|
// verify required parameter 'id' is not null or undefined
|
|
11034
11345
|
(0, common_1.assertParamExists)('postUpdateNumberPort', 'id', id);
|
|
11035
11346
|
localVarPath = "/sip/numbers/ports/{id}"
|
|
11036
|
-
.replace(
|
|
11347
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
11037
11348
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
11038
11349
|
if (configuration) {
|
|
11039
11350
|
baseOptions = configuration.baseOptions;
|
|
@@ -11112,7 +11423,7 @@ var NumberPortingApiAxiosParamCreator = function (configuration) {
|
|
|
11112
11423
|
// verify required parameter 'numberPortDTO' is not null or undefined
|
|
11113
11424
|
(0, common_1.assertParamExists)('putGetAdminNumberPort', 'numberPortDTO', numberPortDTO);
|
|
11114
11425
|
localVarPath = "/admin/sip/numbers/ports/{id}"
|
|
11115
|
-
.replace(
|
|
11426
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
11116
11427
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
11117
11428
|
if (configuration) {
|
|
11118
11429
|
baseOptions = configuration.baseOptions;
|
|
@@ -12492,7 +12803,7 @@ exports.PostAccessTokenGrantTypeEnum = {
|
|
|
12492
12803
|
AuthorizationCode: 'authorization_code',
|
|
12493
12804
|
MsAuth: 'ms_auth',
|
|
12494
12805
|
TokenExchange: 'token_exchange',
|
|
12495
|
-
Password: 'password'
|
|
12806
|
+
Password: 'password',
|
|
12496
12807
|
};
|
|
12497
12808
|
exports.PostAccessTokenScopeEnum = {
|
|
12498
12809
|
Star: '*',
|
|
@@ -12522,11 +12833,11 @@ exports.PostAccessTokenScopeEnum = {
|
|
|
12522
12833
|
TcxMtRead: 'tcx_mt.read',
|
|
12523
12834
|
TcxMtWrite: 'tcx_mt.write',
|
|
12524
12835
|
TicketsRead: 'tickets.read',
|
|
12525
|
-
TicketsWrite: 'tickets.write'
|
|
12836
|
+
TicketsWrite: 'tickets.write',
|
|
12526
12837
|
};
|
|
12527
12838
|
exports.PostAccessTokenTokenExchangeTypeEnum = {
|
|
12528
12839
|
TcxWizard: 'tcx_wizard',
|
|
12529
|
-
Portal: 'portal'
|
|
12840
|
+
Portal: 'portal',
|
|
12530
12841
|
};
|
|
12531
12842
|
exports.PostAuthoriseScopeEnum = {
|
|
12532
12843
|
Star: '*',
|
|
@@ -12556,7 +12867,7 @@ exports.PostAuthoriseScopeEnum = {
|
|
|
12556
12867
|
TcxMtRead: 'tcx_mt.read',
|
|
12557
12868
|
TcxMtWrite: 'tcx_mt.write',
|
|
12558
12869
|
TicketsRead: 'tickets.read',
|
|
12559
|
-
TicketsWrite: 'tickets.write'
|
|
12870
|
+
TicketsWrite: 'tickets.write',
|
|
12560
12871
|
};
|
|
12561
12872
|
/**
|
|
12562
12873
|
* OrdersApi - axios parameter creator
|
|
@@ -12585,8 +12896,8 @@ var OrdersApiAxiosParamCreator = function (configuration) {
|
|
|
12585
12896
|
// verify required parameter 'batchId' is not null or undefined
|
|
12586
12897
|
(0, common_1.assertParamExists)('deleteDeleteBatch', 'batchId', batchId);
|
|
12587
12898
|
localVarPath = "/admin/orders/{id}/batches/{batch_id}"
|
|
12588
|
-
.replace(
|
|
12589
|
-
.replace(
|
|
12899
|
+
.replace('{id}', encodeURIComponent(String(id)))
|
|
12900
|
+
.replace('{batch_id}', encodeURIComponent(String(batchId)));
|
|
12590
12901
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
12591
12902
|
if (configuration) {
|
|
12592
12903
|
baseOptions = configuration.baseOptions;
|
|
@@ -12623,7 +12934,7 @@ var OrdersApiAxiosParamCreator = function (configuration) {
|
|
|
12623
12934
|
// verify required parameter 'id' is not null or undefined
|
|
12624
12935
|
(0, common_1.assertParamExists)('deleteUpdateOrder', 'id', id);
|
|
12625
12936
|
localVarPath = "/orders/{id}"
|
|
12626
|
-
.replace(
|
|
12937
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
12627
12938
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
12628
12939
|
if (configuration) {
|
|
12629
12940
|
baseOptions = configuration.baseOptions;
|
|
@@ -12666,9 +12977,9 @@ var OrdersApiAxiosParamCreator = function (configuration) {
|
|
|
12666
12977
|
// verify required parameter 'shipmentId' is not null or undefined
|
|
12667
12978
|
(0, common_1.assertParamExists)('deleteUpdateShipment', 'shipmentId', shipmentId);
|
|
12668
12979
|
localVarPath = "/admin/orders/{id}/batches/{batch_id}/shipments/{shipment_id}"
|
|
12669
|
-
.replace(
|
|
12670
|
-
.replace(
|
|
12671
|
-
.replace(
|
|
12980
|
+
.replace('{id}', encodeURIComponent(String(id)))
|
|
12981
|
+
.replace('{batch_id}', encodeURIComponent(String(batchId)))
|
|
12982
|
+
.replace('{shipment_id}', encodeURIComponent(String(shipmentId)));
|
|
12672
12983
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
12673
12984
|
if (configuration) {
|
|
12674
12985
|
baseOptions = configuration.baseOptions;
|
|
@@ -12705,7 +13016,7 @@ var OrdersApiAxiosParamCreator = function (configuration) {
|
|
|
12705
13016
|
// verify required parameter 'id' is not null or undefined
|
|
12706
13017
|
(0, common_1.assertParamExists)('getGetAdminEditableOrder', 'id', id);
|
|
12707
13018
|
localVarPath = "/admin/orders/{id}/views/editable"
|
|
12708
|
-
.replace(
|
|
13019
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
12709
13020
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
12710
13021
|
if (configuration) {
|
|
12711
13022
|
baseOptions = configuration.baseOptions;
|
|
@@ -12743,7 +13054,7 @@ var OrdersApiAxiosParamCreator = function (configuration) {
|
|
|
12743
13054
|
// verify required parameter 'id' is not null or undefined
|
|
12744
13055
|
(0, common_1.assertParamExists)('getGetAdminOrderDetails', 'id', id);
|
|
12745
13056
|
localVarPath = "/admin/orders/{id}/details"
|
|
12746
|
-
.replace(
|
|
13057
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
12747
13058
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
12748
13059
|
if (configuration) {
|
|
12749
13060
|
baseOptions = configuration.baseOptions;
|
|
@@ -12787,9 +13098,9 @@ var OrdersApiAxiosParamCreator = function (configuration) {
|
|
|
12787
13098
|
// verify required parameter 'shipmentId' is not null or undefined
|
|
12788
13099
|
(0, common_1.assertParamExists)('getGetCommercialInvoice', 'shipmentId', shipmentId);
|
|
12789
13100
|
localVarPath = "/admin/orders/{id}/batches/{batch_id}/shipments/{shipment_id}/pdf"
|
|
12790
|
-
.replace(
|
|
12791
|
-
.replace(
|
|
12792
|
-
.replace(
|
|
13101
|
+
.replace('{id}', encodeURIComponent(String(id)))
|
|
13102
|
+
.replace('{batch_id}', encodeURIComponent(String(batchId)))
|
|
13103
|
+
.replace('{shipment_id}', encodeURIComponent(String(shipmentId)));
|
|
12793
13104
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
12794
13105
|
if (configuration) {
|
|
12795
13106
|
baseOptions = configuration.baseOptions;
|
|
@@ -12827,7 +13138,7 @@ var OrdersApiAxiosParamCreator = function (configuration) {
|
|
|
12827
13138
|
// verify required parameter 'id' is not null or undefined
|
|
12828
13139
|
(0, common_1.assertParamExists)('getGetEditableOrder', 'id', id);
|
|
12829
13140
|
localVarPath = "/orders/{id}/views/editable"
|
|
12830
|
-
.replace(
|
|
13141
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
12831
13142
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
12832
13143
|
if (configuration) {
|
|
12833
13144
|
baseOptions = configuration.baseOptions;
|
|
@@ -12868,8 +13179,8 @@ var OrdersApiAxiosParamCreator = function (configuration) {
|
|
|
12868
13179
|
// verify required parameter 'itemId' is not null or undefined
|
|
12869
13180
|
(0, common_1.assertParamExists)('getGetItemSerialInfo', 'itemId', itemId);
|
|
12870
13181
|
localVarPath = "/admin/orders/{id}/items/{item_id}/info"
|
|
12871
|
-
.replace(
|
|
12872
|
-
.replace(
|
|
13182
|
+
.replace('{id}', encodeURIComponent(String(id)))
|
|
13183
|
+
.replace('{item_id}', encodeURIComponent(String(itemId)));
|
|
12873
13184
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
12874
13185
|
if (configuration) {
|
|
12875
13186
|
baseOptions = configuration.baseOptions;
|
|
@@ -12907,7 +13218,7 @@ var OrdersApiAxiosParamCreator = function (configuration) {
|
|
|
12907
13218
|
// verify required parameter 'id' is not null or undefined
|
|
12908
13219
|
(0, common_1.assertParamExists)('getGetOrderPdf', 'id', id);
|
|
12909
13220
|
localVarPath = "/orders/{id}/pdf"
|
|
12910
|
-
.replace(
|
|
13221
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
12911
13222
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
12912
13223
|
if (configuration) {
|
|
12913
13224
|
baseOptions = configuration.baseOptions;
|
|
@@ -12945,7 +13256,7 @@ var OrdersApiAxiosParamCreator = function (configuration) {
|
|
|
12945
13256
|
// verify required parameter 'id' is not null or undefined
|
|
12946
13257
|
(0, common_1.assertParamExists)('getGetOrderSummary', 'id', id);
|
|
12947
13258
|
localVarPath = "/admin/orders/{id}/summary"
|
|
12948
|
-
.replace(
|
|
13259
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
12949
13260
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
12950
13261
|
if (configuration) {
|
|
12951
13262
|
baseOptions = configuration.baseOptions;
|
|
@@ -13045,7 +13356,7 @@ var OrdersApiAxiosParamCreator = function (configuration) {
|
|
|
13045
13356
|
// verify required parameter 'id' is not null or undefined
|
|
13046
13357
|
(0, common_1.assertParamExists)('patchCompleteOrder', 'id', id);
|
|
13047
13358
|
localVarPath = "/admin/orders/{id}/complete"
|
|
13048
|
-
.replace(
|
|
13359
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
13049
13360
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
13050
13361
|
if (configuration) {
|
|
13051
13362
|
baseOptions = configuration.baseOptions;
|
|
@@ -13084,7 +13395,7 @@ var OrdersApiAxiosParamCreator = function (configuration) {
|
|
|
13084
13395
|
// verify required parameter 'id' is not null or undefined
|
|
13085
13396
|
(0, common_1.assertParamExists)('postAddOrderNote', 'id', id);
|
|
13086
13397
|
localVarPath = "/admin/orders/{id}/notes"
|
|
13087
|
-
.replace(
|
|
13398
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
13088
13399
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
13089
13400
|
if (configuration) {
|
|
13090
13401
|
baseOptions = configuration.baseOptions;
|
|
@@ -13169,8 +13480,8 @@ var OrdersApiAxiosParamCreator = function (configuration) {
|
|
|
13169
13480
|
// verify required parameter 'shipmentId' is not null or undefined
|
|
13170
13481
|
(0, common_1.assertParamExists)('postCreateConsignment', 'shipmentId', shipmentId);
|
|
13171
13482
|
localVarPath = "/admin/orders/{id}/shipments/{shipment_id}/consignment"
|
|
13172
|
-
.replace(
|
|
13173
|
-
.replace(
|
|
13483
|
+
.replace('{id}', encodeURIComponent(String(id)))
|
|
13484
|
+
.replace('{shipment_id}', encodeURIComponent(String(shipmentId)));
|
|
13174
13485
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
13175
13486
|
if (configuration) {
|
|
13176
13487
|
baseOptions = configuration.baseOptions;
|
|
@@ -13251,8 +13562,8 @@ var OrdersApiAxiosParamCreator = function (configuration) {
|
|
|
13251
13562
|
// verify required parameter 'batchId' is not null or undefined
|
|
13252
13563
|
(0, common_1.assertParamExists)('postCreateShipment', 'batchId', batchId);
|
|
13253
13564
|
localVarPath = "/admin/orders/{id}/batches/{batch_id}/shipments"
|
|
13254
|
-
.replace(
|
|
13255
|
-
.replace(
|
|
13565
|
+
.replace('{id}', encodeURIComponent(String(id)))
|
|
13566
|
+
.replace('{batch_id}', encodeURIComponent(String(batchId)));
|
|
13256
13567
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
13257
13568
|
if (configuration) {
|
|
13258
13569
|
baseOptions = configuration.baseOptions;
|
|
@@ -13334,7 +13645,7 @@ var OrdersApiAxiosParamCreator = function (configuration) {
|
|
|
13334
13645
|
// verify required parameter 'id' is not null or undefined
|
|
13335
13646
|
(0, common_1.assertParamExists)('postIssueCredit', 'id', id);
|
|
13336
13647
|
localVarPath = "/admin/orders/{id}/credit"
|
|
13337
|
-
.replace(
|
|
13648
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
13338
13649
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
13339
13650
|
if (configuration) {
|
|
13340
13651
|
baseOptions = configuration.baseOptions;
|
|
@@ -13380,8 +13691,8 @@ var OrdersApiAxiosParamCreator = function (configuration) {
|
|
|
13380
13691
|
// verify required parameter 'printer' is not null or undefined
|
|
13381
13692
|
(0, common_1.assertParamExists)('postPrintShippingLabel', 'printer', printer);
|
|
13382
13693
|
localVarPath = "/admin/orders/{id}/shipments/{shipment_id}/label/print"
|
|
13383
|
-
.replace(
|
|
13384
|
-
.replace(
|
|
13694
|
+
.replace('{id}', encodeURIComponent(String(id)))
|
|
13695
|
+
.replace('{shipment_id}', encodeURIComponent(String(shipmentId)));
|
|
13385
13696
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
13386
13697
|
if (configuration) {
|
|
13387
13698
|
baseOptions = configuration.baseOptions;
|
|
@@ -13425,8 +13736,8 @@ var OrdersApiAxiosParamCreator = function (configuration) {
|
|
|
13425
13736
|
// verify required parameter 'batchId' is not null or undefined
|
|
13426
13737
|
(0, common_1.assertParamExists)('postProcessTcxLicences', 'batchId', batchId);
|
|
13427
13738
|
localVarPath = "/admin/orders/{id}/batches/{batch_id}/licences/process"
|
|
13428
|
-
.replace(
|
|
13429
|
-
.replace(
|
|
13739
|
+
.replace('{id}', encodeURIComponent(String(id)))
|
|
13740
|
+
.replace('{batch_id}', encodeURIComponent(String(batchId)));
|
|
13430
13741
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
13431
13742
|
if (configuration) {
|
|
13432
13743
|
baseOptions = configuration.baseOptions;
|
|
@@ -13467,7 +13778,7 @@ var OrdersApiAxiosParamCreator = function (configuration) {
|
|
|
13467
13778
|
// verify required parameter 'email' is not null or undefined
|
|
13468
13779
|
(0, common_1.assertParamExists)('postSendOrderEmail', 'email', email);
|
|
13469
13780
|
localVarPath = "/admin/orders/{id}/email/send"
|
|
13470
|
-
.replace(
|
|
13781
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
13471
13782
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
13472
13783
|
if (configuration) {
|
|
13473
13784
|
baseOptions = configuration.baseOptions;
|
|
@@ -13516,9 +13827,9 @@ var OrdersApiAxiosParamCreator = function (configuration) {
|
|
|
13516
13827
|
// verify required parameter 'email' is not null or undefined
|
|
13517
13828
|
(0, common_1.assertParamExists)('postSendShipmentEmail', 'email', email);
|
|
13518
13829
|
localVarPath = "/admin/orders/{id}/batches/{batch_id}/shipments/{shipment_id}/send/email"
|
|
13519
|
-
.replace(
|
|
13520
|
-
.replace(
|
|
13521
|
-
.replace(
|
|
13830
|
+
.replace('{id}', encodeURIComponent(String(id)))
|
|
13831
|
+
.replace('{batch_id}', encodeURIComponent(String(batchId)))
|
|
13832
|
+
.replace('{shipment_id}', encodeURIComponent(String(shipmentId)));
|
|
13522
13833
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
13523
13834
|
if (configuration) {
|
|
13524
13835
|
baseOptions = configuration.baseOptions;
|
|
@@ -13561,8 +13872,8 @@ var OrdersApiAxiosParamCreator = function (configuration) {
|
|
|
13561
13872
|
// verify required parameter 'batchId' is not null or undefined
|
|
13562
13873
|
(0, common_1.assertParamExists)('postSendSupplierEmail', 'batchId', batchId);
|
|
13563
13874
|
localVarPath = "/admin/orders/{id}/batches/{batch_id}/email/send"
|
|
13564
|
-
.replace(
|
|
13565
|
-
.replace(
|
|
13875
|
+
.replace('{id}', encodeURIComponent(String(id)))
|
|
13876
|
+
.replace('{batch_id}', encodeURIComponent(String(batchId)));
|
|
13566
13877
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
13567
13878
|
if (configuration) {
|
|
13568
13879
|
baseOptions = configuration.baseOptions;
|
|
@@ -13600,7 +13911,7 @@ var OrdersApiAxiosParamCreator = function (configuration) {
|
|
|
13600
13911
|
// verify required parameter 'id' is not null or undefined
|
|
13601
13912
|
(0, common_1.assertParamExists)('postSplitOrder', 'id', id);
|
|
13602
13913
|
localVarPath = "/admin/orders/{id}/split"
|
|
13603
|
-
.replace(
|
|
13914
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
13604
13915
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
13605
13916
|
if (configuration) {
|
|
13606
13917
|
baseOptions = configuration.baseOptions;
|
|
@@ -13644,7 +13955,7 @@ var OrdersApiAxiosParamCreator = function (configuration) {
|
|
|
13644
13955
|
// verify required parameter 'supplierId' is not null or undefined
|
|
13645
13956
|
(0, common_1.assertParamExists)('putAllocateItems', 'supplierId', supplierId);
|
|
13646
13957
|
localVarPath = "/admin/orders/{id}/items/allocate"
|
|
13647
|
-
.replace(
|
|
13958
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
13648
13959
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
13649
13960
|
if (configuration) {
|
|
13650
13961
|
baseOptions = configuration.baseOptions;
|
|
@@ -13689,7 +14000,7 @@ var OrdersApiAxiosParamCreator = function (configuration) {
|
|
|
13689
14000
|
// verify required parameter 'id' is not null or undefined
|
|
13690
14001
|
(0, common_1.assertParamExists)('putUpdateAdminOrder', 'id', id);
|
|
13691
14002
|
localVarPath = "/admin/orders/{id}"
|
|
13692
|
-
.replace(
|
|
14003
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
13693
14004
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
13694
14005
|
if (configuration) {
|
|
13695
14006
|
baseOptions = configuration.baseOptions;
|
|
@@ -13739,9 +14050,9 @@ var OrdersApiAxiosParamCreator = function (configuration) {
|
|
|
13739
14050
|
// verify required parameter 'itemId' is not null or undefined
|
|
13740
14051
|
(0, common_1.assertParamExists)('putUpdateBatchItem', 'itemId', itemId);
|
|
13741
14052
|
localVarPath = "/admin/orders/{id}/batches/{batch_id}/items/{item_id}"
|
|
13742
|
-
.replace(
|
|
13743
|
-
.replace(
|
|
13744
|
-
.replace(
|
|
14053
|
+
.replace('{id}', encodeURIComponent(String(id)))
|
|
14054
|
+
.replace('{batch_id}', encodeURIComponent(String(batchId)))
|
|
14055
|
+
.replace('{item_id}', encodeURIComponent(String(itemId)));
|
|
13745
14056
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
13746
14057
|
if (configuration) {
|
|
13747
14058
|
baseOptions = configuration.baseOptions;
|
|
@@ -13783,7 +14094,7 @@ var OrdersApiAxiosParamCreator = function (configuration) {
|
|
|
13783
14094
|
// verify required parameter 'id' is not null or undefined
|
|
13784
14095
|
(0, common_1.assertParamExists)('putUpdateOrder', 'id', id);
|
|
13785
14096
|
localVarPath = "/orders/{id}"
|
|
13786
|
-
.replace(
|
|
14097
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
13787
14098
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
13788
14099
|
if (configuration) {
|
|
13789
14100
|
baseOptions = configuration.baseOptions;
|
|
@@ -13829,7 +14140,7 @@ var OrdersApiAxiosParamCreator = function (configuration) {
|
|
|
13829
14140
|
// verify required parameter 'paid' is not null or undefined
|
|
13830
14141
|
(0, common_1.assertParamExists)('putUpdatePaymentStatus', 'paid', paid);
|
|
13831
14142
|
localVarPath = "/admin/orders/{id}/paid"
|
|
13832
|
-
.replace(
|
|
14143
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
13833
14144
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
13834
14145
|
if (configuration) {
|
|
13835
14146
|
baseOptions = configuration.baseOptions;
|
|
@@ -13877,9 +14188,9 @@ var OrdersApiAxiosParamCreator = function (configuration) {
|
|
|
13877
14188
|
// verify required parameter 'shipmentId' is not null or undefined
|
|
13878
14189
|
(0, common_1.assertParamExists)('putUpdateShipment', 'shipmentId', shipmentId);
|
|
13879
14190
|
localVarPath = "/admin/orders/{id}/batches/{batch_id}/shipments/{shipment_id}"
|
|
13880
|
-
.replace(
|
|
13881
|
-
.replace(
|
|
13882
|
-
.replace(
|
|
14191
|
+
.replace('{id}', encodeURIComponent(String(id)))
|
|
14192
|
+
.replace('{batch_id}', encodeURIComponent(String(batchId)))
|
|
14193
|
+
.replace('{shipment_id}', encodeURIComponent(String(shipmentId)));
|
|
13883
14194
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
13884
14195
|
if (configuration) {
|
|
13885
14196
|
baseOptions = configuration.baseOptions;
|
|
@@ -15423,18 +15734,18 @@ exports.GetGetOrdersStatusEnum = {
|
|
|
15423
15734
|
Paid: 'PAID',
|
|
15424
15735
|
InvoicePaid: 'INVOICE_PAID',
|
|
15425
15736
|
Unpaid: 'UNPAID',
|
|
15426
|
-
Quote: 'QUOTE'
|
|
15737
|
+
Quote: 'QUOTE',
|
|
15427
15738
|
};
|
|
15428
15739
|
exports.GetGetOrdersFilterEnum = {
|
|
15429
15740
|
Outstanding: 'OUTSTANDING',
|
|
15430
15741
|
Quotes: 'QUOTES',
|
|
15431
15742
|
All: 'ALL',
|
|
15432
|
-
BackOrders: 'BACK_ORDERS'
|
|
15743
|
+
BackOrders: 'BACK_ORDERS',
|
|
15433
15744
|
};
|
|
15434
15745
|
exports.PostPrintShippingLabelPrinterEnum = {
|
|
15435
15746
|
NUMBER_1: 1,
|
|
15436
15747
|
NUMBER_2: 2,
|
|
15437
|
-
NUMBER_3: 3
|
|
15748
|
+
NUMBER_3: 3,
|
|
15438
15749
|
};
|
|
15439
15750
|
/**
|
|
15440
15751
|
* PricingApi - axios parameter creator
|
|
@@ -15707,14 +16018,14 @@ exports.GetGetPriceListTypeEnum = {
|
|
|
15707
16018
|
EdTechPro: 'EdTechPro',
|
|
15708
16019
|
Sms: 'SMS',
|
|
15709
16020
|
SipTrunks: 'SIP Trunks',
|
|
15710
|
-
CrmIntegrations: 'CRM Integrations'
|
|
16021
|
+
CrmIntegrations: 'CRM Integrations',
|
|
15711
16022
|
};
|
|
15712
16023
|
exports.GetGetPriceListFormatEnum = {
|
|
15713
16024
|
Pdf: 'pdf',
|
|
15714
16025
|
Json: 'json',
|
|
15715
16026
|
Csv: 'csv',
|
|
15716
16027
|
Xml: 'xml',
|
|
15717
|
-
Html: 'html'
|
|
16028
|
+
Html: 'html',
|
|
15718
16029
|
};
|
|
15719
16030
|
exports.GetGetPriceListCategoryEnum = {
|
|
15720
16031
|
Yealink: 'Yealink',
|
|
@@ -15736,7 +16047,7 @@ exports.GetGetPriceListCategoryEnum = {
|
|
|
15736
16047
|
FanvilWirelessPhones: 'Fanvil Wireless Phones',
|
|
15737
16048
|
FanvilSecurityProducts: 'Fanvil Security Products',
|
|
15738
16049
|
FanvilAccessories: 'Fanvil Accessories',
|
|
15739
|
-
FanvilHotelPhones: 'Fanvil Hotel Phones'
|
|
16050
|
+
FanvilHotelPhones: 'Fanvil Hotel Phones',
|
|
15740
16051
|
};
|
|
15741
16052
|
exports.PostSendPriceListTypeEnum = {
|
|
15742
16053
|
Products: 'Products',
|
|
@@ -15747,14 +16058,14 @@ exports.PostSendPriceListTypeEnum = {
|
|
|
15747
16058
|
EdTechPro: 'EdTechPro',
|
|
15748
16059
|
Sms: 'SMS',
|
|
15749
16060
|
SipTrunks: 'SIP Trunks',
|
|
15750
|
-
CrmIntegrations: 'CRM Integrations'
|
|
16061
|
+
CrmIntegrations: 'CRM Integrations',
|
|
15751
16062
|
};
|
|
15752
16063
|
exports.PostSendPriceListFormatEnum = {
|
|
15753
16064
|
Pdf: 'pdf',
|
|
15754
16065
|
Json: 'json',
|
|
15755
16066
|
Csv: 'csv',
|
|
15756
16067
|
Xml: 'xml',
|
|
15757
|
-
Html: 'html'
|
|
16068
|
+
Html: 'html',
|
|
15758
16069
|
};
|
|
15759
16070
|
exports.PostSendPriceListCategoryEnum = {
|
|
15760
16071
|
Yealink: 'Yealink',
|
|
@@ -15776,7 +16087,7 @@ exports.PostSendPriceListCategoryEnum = {
|
|
|
15776
16087
|
FanvilWirelessPhones: 'Fanvil Wireless Phones',
|
|
15777
16088
|
FanvilSecurityProducts: 'Fanvil Security Products',
|
|
15778
16089
|
FanvilAccessories: 'Fanvil Accessories',
|
|
15779
|
-
FanvilHotelPhones: 'Fanvil Hotel Phones'
|
|
16090
|
+
FanvilHotelPhones: 'Fanvil Hotel Phones',
|
|
15780
16091
|
};
|
|
15781
16092
|
/**
|
|
15782
16093
|
* ProductsApi - axios parameter creator
|
|
@@ -16063,7 +16374,7 @@ var ProductsApiAxiosParamCreator = function (configuration) {
|
|
|
16063
16374
|
// verify required parameter 'quantity' is not null or undefined
|
|
16064
16375
|
(0, common_1.assertParamExists)('patchAddQuantityToStock', 'quantity', quantity);
|
|
16065
16376
|
localVarPath = "/products/{sku}/stock/add"
|
|
16066
|
-
.replace(
|
|
16377
|
+
.replace('{sku}', encodeURIComponent(String(sku)));
|
|
16067
16378
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
16068
16379
|
if (configuration) {
|
|
16069
16380
|
baseOptions = configuration.baseOptions;
|
|
@@ -16106,7 +16417,7 @@ var ProductsApiAxiosParamCreator = function (configuration) {
|
|
|
16106
16417
|
// verify required parameter 'postGetProductForCustomerRequest' is not null or undefined
|
|
16107
16418
|
(0, common_1.assertParamExists)('postGetProduct', 'postGetProductForCustomerRequest', postGetProductForCustomerRequest);
|
|
16108
16419
|
localVarPath = "/products/{sku}"
|
|
16109
|
-
.replace(
|
|
16420
|
+
.replace('{sku}', encodeURIComponent(String(sku)));
|
|
16110
16421
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
16111
16422
|
if (configuration) {
|
|
16112
16423
|
baseOptions = configuration.baseOptions;
|
|
@@ -16152,7 +16463,7 @@ var ProductsApiAxiosParamCreator = function (configuration) {
|
|
|
16152
16463
|
// verify required parameter 'postGetProductForCustomerRequest' is not null or undefined
|
|
16153
16464
|
(0, common_1.assertParamExists)('postGetProductForCustomer', 'postGetProductForCustomerRequest', postGetProductForCustomerRequest);
|
|
16154
16465
|
localVarPath = "/admin/products/{sku}"
|
|
16155
|
-
.replace(
|
|
16466
|
+
.replace('{sku}', encodeURIComponent(String(sku)));
|
|
16156
16467
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
16157
16468
|
if (configuration) {
|
|
16158
16469
|
baseOptions = configuration.baseOptions;
|
|
@@ -16656,7 +16967,7 @@ var ProductsApi = /** @class */ (function (_super) {
|
|
|
16656
16967
|
exports.ProductsApi = ProductsApi;
|
|
16657
16968
|
exports.GetGetLegacyStockListFormatEnum = {
|
|
16658
16969
|
Xml: 'XML',
|
|
16659
|
-
Csv: 'CSV'
|
|
16970
|
+
Csv: 'CSV',
|
|
16660
16971
|
};
|
|
16661
16972
|
/**
|
|
16662
16973
|
* ProspectsApi - axios parameter creator
|
|
@@ -16683,7 +16994,7 @@ var ProspectsApiAxiosParamCreator = function (configuration) {
|
|
|
16683
16994
|
// verify required parameter 'xeroId' is not null or undefined
|
|
16684
16995
|
(0, common_1.assertParamExists)('getGetProspect', 'xeroId', xeroId);
|
|
16685
16996
|
localVarPath = "/accounts/prospects/{xero_id}"
|
|
16686
|
-
.replace(
|
|
16997
|
+
.replace('{xero_id}', encodeURIComponent(String(xeroId)));
|
|
16687
16998
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
16688
16999
|
if (configuration) {
|
|
16689
17000
|
baseOptions = configuration.baseOptions;
|
|
@@ -16758,7 +17069,7 @@ var ProspectsApiAxiosParamCreator = function (configuration) {
|
|
|
16758
17069
|
// verify required parameter 'status' is not null or undefined
|
|
16759
17070
|
(0, common_1.assertParamExists)('getRemoveFromProspects', 'status', status);
|
|
16760
17071
|
localVarPath = "/accounts/prospects/{xero_id}/remove"
|
|
16761
|
-
.replace(
|
|
17072
|
+
.replace('{xero_id}', encodeURIComponent(String(xeroId)));
|
|
16762
17073
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
16763
17074
|
if (configuration) {
|
|
16764
17075
|
baseOptions = configuration.baseOptions;
|
|
@@ -16802,7 +17113,7 @@ var ProspectsApiAxiosParamCreator = function (configuration) {
|
|
|
16802
17113
|
// verify required parameter 'date' is not null or undefined
|
|
16803
17114
|
(0, common_1.assertParamExists)('getSetCallback', 'date', date);
|
|
16804
17115
|
localVarPath = "/accounts/prospects/{xero_id}/date"
|
|
16805
|
-
.replace(
|
|
17116
|
+
.replace('{xero_id}', encodeURIComponent(String(xeroId)));
|
|
16806
17117
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
16807
17118
|
if (configuration) {
|
|
16808
17119
|
baseOptions = configuration.baseOptions;
|
|
@@ -17063,8 +17374,8 @@ var ProvisioningApiAxiosParamCreator = function (configuration) {
|
|
|
17063
17374
|
// verify required parameter 'mac' is not null or undefined
|
|
17064
17375
|
(0, common_1.assertParamExists)('deleteAddFanvilMac', 'mac', mac);
|
|
17065
17376
|
localVarPath = "/provisioning/fanvil/groups/{id}/macs/{mac}"
|
|
17066
|
-
.replace(
|
|
17067
|
-
.replace(
|
|
17377
|
+
.replace('{id}', encodeURIComponent(String(id)))
|
|
17378
|
+
.replace('{mac}', encodeURIComponent(String(mac)));
|
|
17068
17379
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
17069
17380
|
if (configuration) {
|
|
17070
17381
|
baseOptions = configuration.baseOptions;
|
|
@@ -17101,7 +17412,7 @@ var ProvisioningApiAxiosParamCreator = function (configuration) {
|
|
|
17101
17412
|
// verify required parameter 'id' is not null or undefined
|
|
17102
17413
|
(0, common_1.assertParamExists)('deleteDeleteFanvilGroup', 'id', id);
|
|
17103
17414
|
localVarPath = "/provisioning/fanvil/groups/{id}"
|
|
17104
|
-
.replace(
|
|
17415
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
17105
17416
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
17106
17417
|
if (configuration) {
|
|
17107
17418
|
baseOptions = configuration.baseOptions;
|
|
@@ -17141,8 +17452,8 @@ var ProvisioningApiAxiosParamCreator = function (configuration) {
|
|
|
17141
17452
|
// verify required parameter 'mac' is not null or undefined
|
|
17142
17453
|
(0, common_1.assertParamExists)('getGetFanvilEncryptionKey', 'mac', mac);
|
|
17143
17454
|
localVarPath = "/provisioning/fanvil/groups/{id}/macs/{mac}/key"
|
|
17144
|
-
.replace(
|
|
17145
|
-
.replace(
|
|
17455
|
+
.replace('{id}', encodeURIComponent(String(id)))
|
|
17456
|
+
.replace('{mac}', encodeURIComponent(String(mac)));
|
|
17146
17457
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
17147
17458
|
if (configuration) {
|
|
17148
17459
|
baseOptions = configuration.baseOptions;
|
|
@@ -17180,7 +17491,7 @@ var ProvisioningApiAxiosParamCreator = function (configuration) {
|
|
|
17180
17491
|
// verify required parameter 'id' is not null or undefined
|
|
17181
17492
|
(0, common_1.assertParamExists)('getGetFanvilGroupMacs', 'id', id);
|
|
17182
17493
|
localVarPath = "/provisioning/fanvil/groups/{id}/macs"
|
|
17183
|
-
.replace(
|
|
17494
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
17184
17495
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
17185
17496
|
if (configuration) {
|
|
17186
17497
|
baseOptions = configuration.baseOptions;
|
|
@@ -17296,8 +17607,8 @@ var ProvisioningApiAxiosParamCreator = function (configuration) {
|
|
|
17296
17607
|
// verify required parameter 'mac' is not null or undefined
|
|
17297
17608
|
(0, common_1.assertParamExists)('postAddFanvilMac', 'mac', mac);
|
|
17298
17609
|
localVarPath = "/provisioning/fanvil/groups/{id}/macs/{mac}"
|
|
17299
|
-
.replace(
|
|
17300
|
-
.replace(
|
|
17610
|
+
.replace('{id}', encodeURIComponent(String(id)))
|
|
17611
|
+
.replace('{mac}', encodeURIComponent(String(mac)));
|
|
17301
17612
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
17302
17613
|
if (configuration) {
|
|
17303
17614
|
baseOptions = configuration.baseOptions;
|
|
@@ -17689,7 +18000,7 @@ var SIPTrunksApiAxiosParamCreator = function (configuration) {
|
|
|
17689
18000
|
// verify required parameter 'id' is not null or undefined
|
|
17690
18001
|
(0, common_1.assertParamExists)('deleteGetSipTrunk', 'id', id);
|
|
17691
18002
|
localVarPath = "/sip/trunks/{id}"
|
|
17692
|
-
.replace(
|
|
18003
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
17693
18004
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
17694
18005
|
if (configuration) {
|
|
17695
18006
|
baseOptions = configuration.baseOptions;
|
|
@@ -17727,7 +18038,7 @@ var SIPTrunksApiAxiosParamCreator = function (configuration) {
|
|
|
17727
18038
|
// verify required parameter 'id' is not null or undefined
|
|
17728
18039
|
(0, common_1.assertParamExists)('getCanDivert', 'id', id);
|
|
17729
18040
|
localVarPath = "/sip/trunks/{id}/diverts/allowed"
|
|
17730
|
-
.replace(
|
|
18041
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
17731
18042
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
17732
18043
|
if (configuration) {
|
|
17733
18044
|
baseOptions = configuration.baseOptions;
|
|
@@ -17765,7 +18076,7 @@ var SIPTrunksApiAxiosParamCreator = function (configuration) {
|
|
|
17765
18076
|
// verify required parameter 'id' is not null or undefined
|
|
17766
18077
|
(0, common_1.assertParamExists)('getGetAddress', 'id', id);
|
|
17767
18078
|
localVarPath = "/sip/trunks/{id}/address"
|
|
17768
|
-
.replace(
|
|
18079
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
17769
18080
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
17770
18081
|
if (configuration) {
|
|
17771
18082
|
baseOptions = configuration.baseOptions;
|
|
@@ -17874,7 +18185,7 @@ var SIPTrunksApiAxiosParamCreator = function (configuration) {
|
|
|
17874
18185
|
// verify required parameter 'id' is not null or undefined
|
|
17875
18186
|
(0, common_1.assertParamExists)('getGetCliFlexibility', 'id', id);
|
|
17876
18187
|
localVarPath = "/sip/trunks/{id}/cli/flexibility"
|
|
17877
|
-
.replace(
|
|
18188
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
17878
18189
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
17879
18190
|
if (configuration) {
|
|
17880
18191
|
baseOptions = configuration.baseOptions;
|
|
@@ -17912,7 +18223,7 @@ var SIPTrunksApiAxiosParamCreator = function (configuration) {
|
|
|
17912
18223
|
// verify required parameter 'id' is not null or undefined
|
|
17913
18224
|
(0, common_1.assertParamExists)('getGetDdis', 'id', id);
|
|
17914
18225
|
localVarPath = "/sip/trunks/{id}/ddis"
|
|
17915
|
-
.replace(
|
|
18226
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
17916
18227
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
17917
18228
|
if (configuration) {
|
|
17918
18229
|
baseOptions = configuration.baseOptions;
|
|
@@ -17951,7 +18262,7 @@ var SIPTrunksApiAxiosParamCreator = function (configuration) {
|
|
|
17951
18262
|
// verify required parameter 'id' is not null or undefined
|
|
17952
18263
|
(0, common_1.assertParamExists)('getGetDiverts', 'id', id);
|
|
17953
18264
|
localVarPath = "/sip/trunks/{id}/diverts"
|
|
17954
|
-
.replace(
|
|
18265
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
17955
18266
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
17956
18267
|
if (configuration) {
|
|
17957
18268
|
baseOptions = configuration.baseOptions;
|
|
@@ -17992,7 +18303,7 @@ var SIPTrunksApiAxiosParamCreator = function (configuration) {
|
|
|
17992
18303
|
// verify required parameter 'id' is not null or undefined
|
|
17993
18304
|
(0, common_1.assertParamExists)('getGetSipTrunk', 'id', id);
|
|
17994
18305
|
localVarPath = "/sip/trunks/{id}"
|
|
17995
|
-
.replace(
|
|
18306
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
17996
18307
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
17997
18308
|
if (configuration) {
|
|
17998
18309
|
baseOptions = configuration.baseOptions;
|
|
@@ -18079,7 +18390,7 @@ var SIPTrunksApiAxiosParamCreator = function (configuration) {
|
|
|
18079
18390
|
// verify required parameter 'enabled' is not null or undefined
|
|
18080
18391
|
(0, common_1.assertParamExists)('patchGetCliFlexibility', 'enabled', enabled);
|
|
18081
18392
|
localVarPath = "/sip/trunks/{id}/cli/flexibility"
|
|
18082
|
-
.replace(
|
|
18393
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
18083
18394
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
18084
18395
|
if (configuration) {
|
|
18085
18396
|
baseOptions = configuration.baseOptions;
|
|
@@ -18120,7 +18431,7 @@ var SIPTrunksApiAxiosParamCreator = function (configuration) {
|
|
|
18120
18431
|
// verify required parameter 'id' is not null or undefined
|
|
18121
18432
|
(0, common_1.assertParamExists)('patchSetAsAvailable', 'id', id);
|
|
18122
18433
|
localVarPath = "/sip/trunks/{id}/available"
|
|
18123
|
-
.replace(
|
|
18434
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
18124
18435
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
18125
18436
|
if (configuration) {
|
|
18126
18437
|
baseOptions = configuration.baseOptions;
|
|
@@ -18161,7 +18472,7 @@ var SIPTrunksApiAxiosParamCreator = function (configuration) {
|
|
|
18161
18472
|
// verify required parameter 'ownerId' is not null or undefined
|
|
18162
18473
|
(0, common_1.assertParamExists)('patchSetOwnership', 'ownerId', ownerId);
|
|
18163
18474
|
localVarPath = "/sip/trunks/{id}/owner"
|
|
18164
|
-
.replace(
|
|
18475
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
18165
18476
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
18166
18477
|
if (configuration) {
|
|
18167
18478
|
baseOptions = configuration.baseOptions;
|
|
@@ -18207,7 +18518,7 @@ var SIPTrunksApiAxiosParamCreator = function (configuration) {
|
|
|
18207
18518
|
// verify required parameter 'channels' is not null or undefined
|
|
18208
18519
|
(0, common_1.assertParamExists)('patchUpdateChannelCount', 'channels', channels);
|
|
18209
18520
|
localVarPath = "/sip/trunks/{id}/channels"
|
|
18210
|
-
.replace(
|
|
18521
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
18211
18522
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
18212
18523
|
if (configuration) {
|
|
18213
18524
|
baseOptions = configuration.baseOptions;
|
|
@@ -18251,7 +18562,7 @@ var SIPTrunksApiAxiosParamCreator = function (configuration) {
|
|
|
18251
18562
|
// verify required parameter 'company' is not null or undefined
|
|
18252
18563
|
(0, common_1.assertParamExists)('patchUpdateCompanyName', 'company', company);
|
|
18253
18564
|
localVarPath = "/sip/trunks/{id}/company"
|
|
18254
|
-
.replace(
|
|
18565
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
18255
18566
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
18256
18567
|
if (configuration) {
|
|
18257
18568
|
baseOptions = configuration.baseOptions;
|
|
@@ -18295,7 +18606,7 @@ var SIPTrunksApiAxiosParamCreator = function (configuration) {
|
|
|
18295
18606
|
// verify required parameter 'number' is not null or undefined
|
|
18296
18607
|
(0, common_1.assertParamExists)('patchUpdateMainTrunkNumber', 'number', number);
|
|
18297
18608
|
localVarPath = "/sip/trunks/{id}/number"
|
|
18298
|
-
.replace(
|
|
18609
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
18299
18610
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
18300
18611
|
if (configuration) {
|
|
18301
18612
|
baseOptions = configuration.baseOptions;
|
|
@@ -18339,7 +18650,7 @@ var SIPTrunksApiAxiosParamCreator = function (configuration) {
|
|
|
18339
18650
|
// verify required parameter 'ipAddress' is not null or undefined
|
|
18340
18651
|
(0, common_1.assertParamExists)('patchUpdatePbxIPAddress', 'ipAddress', ipAddress);
|
|
18341
18652
|
localVarPath = "/sip/trunks/{id}/pbx/ip"
|
|
18342
|
-
.replace(
|
|
18653
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
18343
18654
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
18344
18655
|
if (configuration) {
|
|
18345
18656
|
baseOptions = configuration.baseOptions;
|
|
@@ -18381,7 +18692,7 @@ var SIPTrunksApiAxiosParamCreator = function (configuration) {
|
|
|
18381
18692
|
// verify required parameter 'id' is not null or undefined
|
|
18382
18693
|
(0, common_1.assertParamExists)('postGetDdis', 'id', id);
|
|
18383
18694
|
localVarPath = "/sip/trunks/{id}/ddis"
|
|
18384
|
-
.replace(
|
|
18695
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
18385
18696
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
18386
18697
|
if (configuration) {
|
|
18387
18698
|
baseOptions = configuration.baseOptions;
|
|
@@ -18533,7 +18844,7 @@ var SIPTrunksApiAxiosParamCreator = function (configuration) {
|
|
|
18533
18844
|
// verify required parameter 'id' is not null or undefined
|
|
18534
18845
|
(0, common_1.assertParamExists)('putGetAddress', 'id', id);
|
|
18535
18846
|
localVarPath = "/sip/trunks/{id}/address"
|
|
18536
|
-
.replace(
|
|
18847
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
18537
18848
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
18538
18849
|
if (configuration) {
|
|
18539
18850
|
baseOptions = configuration.baseOptions;
|
|
@@ -18577,7 +18888,7 @@ var SIPTrunksApiAxiosParamCreator = function (configuration) {
|
|
|
18577
18888
|
// verify required parameter 'enabled' is not null or undefined
|
|
18578
18889
|
(0, common_1.assertParamExists)('putGetDiverts', 'enabled', enabled);
|
|
18579
18890
|
localVarPath = "/sip/trunks/{id}/diverts"
|
|
18580
|
-
.replace(
|
|
18891
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
18581
18892
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
18582
18893
|
if (configuration) {
|
|
18583
18894
|
baseOptions = configuration.baseOptions;
|
|
@@ -19983,7 +20294,7 @@ var ServicesApiAxiosParamCreator = function (configuration) {
|
|
|
19983
20294
|
// verify required parameter 'id' is not null or undefined
|
|
19984
20295
|
(0, common_1.assertParamExists)('patchArchiveEvent', 'id', id);
|
|
19985
20296
|
localVarPath = "/services/events/{id}/archive"
|
|
19986
|
-
.replace(
|
|
20297
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
19987
20298
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
19988
20299
|
if (configuration) {
|
|
19989
20300
|
baseOptions = configuration.baseOptions;
|
|
@@ -20021,7 +20332,7 @@ var ServicesApiAxiosParamCreator = function (configuration) {
|
|
|
20021
20332
|
// verify required parameter 'id' is not null or undefined
|
|
20022
20333
|
(0, common_1.assertParamExists)('patchUpdateEvent', 'id', id);
|
|
20023
20334
|
localVarPath = "/services/events/{id}"
|
|
20024
|
-
.replace(
|
|
20335
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
20025
20336
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
20026
20337
|
if (configuration) {
|
|
20027
20338
|
baseOptions = configuration.baseOptions;
|
|
@@ -20097,7 +20408,7 @@ var ServicesApiAxiosParamCreator = function (configuration) {
|
|
|
20097
20408
|
// verify required parameter 'id' is not null or undefined
|
|
20098
20409
|
(0, common_1.assertParamExists)('postCreateEventUpdate', 'id', id);
|
|
20099
20410
|
localVarPath = "/services/events/{id}/updates"
|
|
20100
|
-
.replace(
|
|
20411
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
20101
20412
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
20102
20413
|
if (configuration) {
|
|
20103
20414
|
baseOptions = configuration.baseOptions;
|
|
@@ -20713,7 +21024,7 @@ var StockManagementApiAxiosParamCreator = function (configuration) {
|
|
|
20713
21024
|
// verify required parameter 'id' is not null or undefined
|
|
20714
21025
|
(0, common_1.assertParamExists)('deleteDeleteStockOrder', 'id', id);
|
|
20715
21026
|
localVarPath = "/stock/orders/{id}"
|
|
20716
|
-
.replace(
|
|
21027
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
20717
21028
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
20718
21029
|
if (configuration) {
|
|
20719
21030
|
baseOptions = configuration.baseOptions;
|
|
@@ -20753,8 +21064,8 @@ var StockManagementApiAxiosParamCreator = function (configuration) {
|
|
|
20753
21064
|
// verify required parameter 'deductionId' is not null or undefined
|
|
20754
21065
|
(0, common_1.assertParamExists)('deleteDeleteStockOrderDeduction', 'deductionId', deductionId);
|
|
20755
21066
|
localVarPath = "/stock/orders/{order_id}/deductions/{deduction_id}"
|
|
20756
|
-
.replace(
|
|
20757
|
-
.replace(
|
|
21067
|
+
.replace('{order_id}', encodeURIComponent(String(orderId)))
|
|
21068
|
+
.replace('{deduction_id}', encodeURIComponent(String(deductionId)));
|
|
20758
21069
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
20759
21070
|
if (configuration) {
|
|
20760
21071
|
baseOptions = configuration.baseOptions;
|
|
@@ -20794,8 +21105,8 @@ var StockManagementApiAxiosParamCreator = function (configuration) {
|
|
|
20794
21105
|
// verify required parameter 'itemId' is not null or undefined
|
|
20795
21106
|
(0, common_1.assertParamExists)('deleteDeleteStockOrderItem', 'itemId', itemId);
|
|
20796
21107
|
localVarPath = "/stock/orders/{order_id}/items/{item_id}"
|
|
20797
|
-
.replace(
|
|
20798
|
-
.replace(
|
|
21108
|
+
.replace('{order_id}', encodeURIComponent(String(orderId)))
|
|
21109
|
+
.replace('{item_id}', encodeURIComponent(String(itemId)));
|
|
20799
21110
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
20800
21111
|
if (configuration) {
|
|
20801
21112
|
baseOptions = configuration.baseOptions;
|
|
@@ -20832,7 +21143,7 @@ var StockManagementApiAxiosParamCreator = function (configuration) {
|
|
|
20832
21143
|
// verify required parameter 'id' is not null or undefined
|
|
20833
21144
|
(0, common_1.assertParamExists)('deleteGetStockProduct', 'id', id);
|
|
20834
21145
|
localVarPath = "/stock/products/{id}"
|
|
20835
|
-
.replace(
|
|
21146
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
20836
21147
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
20837
21148
|
if (configuration) {
|
|
20838
21149
|
baseOptions = configuration.baseOptions;
|
|
@@ -20869,7 +21180,7 @@ var StockManagementApiAxiosParamCreator = function (configuration) {
|
|
|
20869
21180
|
// verify required parameter 'id' is not null or undefined
|
|
20870
21181
|
(0, common_1.assertParamExists)('getDeleteStockOrder', 'id', id);
|
|
20871
21182
|
localVarPath = "/stock/orders/{id}"
|
|
20872
|
-
.replace(
|
|
21183
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
20873
21184
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
20874
21185
|
if (configuration) {
|
|
20875
21186
|
baseOptions = configuration.baseOptions;
|
|
@@ -20907,7 +21218,7 @@ var StockManagementApiAxiosParamCreator = function (configuration) {
|
|
|
20907
21218
|
// verify required parameter 'sku' is not null or undefined
|
|
20908
21219
|
(0, common_1.assertParamExists)('getGetProductDetails', 'sku', sku);
|
|
20909
21220
|
localVarPath = "/stock/products/{sku}/details"
|
|
20910
|
-
.replace(
|
|
21221
|
+
.replace('{sku}', encodeURIComponent(String(sku)));
|
|
20911
21222
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
20912
21223
|
if (configuration) {
|
|
20913
21224
|
baseOptions = configuration.baseOptions;
|
|
@@ -20945,7 +21256,7 @@ var StockManagementApiAxiosParamCreator = function (configuration) {
|
|
|
20945
21256
|
// verify required parameter 'id' is not null or undefined
|
|
20946
21257
|
(0, common_1.assertParamExists)('getGetStockOrderPurchaseOrder', 'id', id);
|
|
20947
21258
|
localVarPath = "/stock/orders/{id}/po"
|
|
20948
|
-
.replace(
|
|
21259
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
20949
21260
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
20950
21261
|
if (configuration) {
|
|
20951
21262
|
baseOptions = configuration.baseOptions;
|
|
@@ -20983,7 +21294,7 @@ var StockManagementApiAxiosParamCreator = function (configuration) {
|
|
|
20983
21294
|
// verify required parameter 'id' is not null or undefined
|
|
20984
21295
|
(0, common_1.assertParamExists)('getGetStockOrderSupplierEmail', 'id', id);
|
|
20985
21296
|
localVarPath = "/stock/orders/{id}/supplier/email"
|
|
20986
|
-
.replace(
|
|
21297
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
20987
21298
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
20988
21299
|
if (configuration) {
|
|
20989
21300
|
baseOptions = configuration.baseOptions;
|
|
@@ -21071,7 +21382,7 @@ var StockManagementApiAxiosParamCreator = function (configuration) {
|
|
|
21071
21382
|
// verify required parameter 'id' is not null or undefined
|
|
21072
21383
|
(0, common_1.assertParamExists)('getGetStockProduct', 'id', id);
|
|
21073
21384
|
localVarPath = "/stock/products/{id}"
|
|
21074
|
-
.replace(
|
|
21385
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
21075
21386
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
21076
21387
|
if (configuration) {
|
|
21077
21388
|
baseOptions = configuration.baseOptions;
|
|
@@ -21189,7 +21500,7 @@ var StockManagementApiAxiosParamCreator = function (configuration) {
|
|
|
21189
21500
|
// verify required parameter 'id' is not null or undefined
|
|
21190
21501
|
(0, common_1.assertParamExists)('getGetStockSupplierProducts', 'id', id);
|
|
21191
21502
|
localVarPath = "/stock/suppliers/{id}/products"
|
|
21192
|
-
.replace(
|
|
21503
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
21193
21504
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
21194
21505
|
if (configuration) {
|
|
21195
21506
|
baseOptions = configuration.baseOptions;
|
|
@@ -21227,7 +21538,7 @@ var StockManagementApiAxiosParamCreator = function (configuration) {
|
|
|
21227
21538
|
// verify required parameter 'id' is not null or undefined
|
|
21228
21539
|
(0, common_1.assertParamExists)('getUploadStockOrderInvoice', 'id', id);
|
|
21229
21540
|
localVarPath = "/stock/orders/{id}/invoice"
|
|
21230
|
-
.replace(
|
|
21541
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
21231
21542
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
21232
21543
|
if (configuration) {
|
|
21233
21544
|
baseOptions = configuration.baseOptions;
|
|
@@ -21266,7 +21577,7 @@ var StockManagementApiAxiosParamCreator = function (configuration) {
|
|
|
21266
21577
|
// verify required parameter 'id' is not null or undefined
|
|
21267
21578
|
(0, common_1.assertParamExists)('patchDeleteStockOrder', 'id', id);
|
|
21268
21579
|
localVarPath = "/stock/orders/{id}"
|
|
21269
|
-
.replace(
|
|
21580
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
21270
21581
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
21271
21582
|
if (configuration) {
|
|
21272
21583
|
baseOptions = configuration.baseOptions;
|
|
@@ -21310,8 +21621,8 @@ var StockManagementApiAxiosParamCreator = function (configuration) {
|
|
|
21310
21621
|
// verify required parameter 'deductionId' is not null or undefined
|
|
21311
21622
|
(0, common_1.assertParamExists)('patchDeleteStockOrderDeduction', 'deductionId', deductionId);
|
|
21312
21623
|
localVarPath = "/stock/orders/{order_id}/deductions/{deduction_id}"
|
|
21313
|
-
.replace(
|
|
21314
|
-
.replace(
|
|
21624
|
+
.replace('{order_id}', encodeURIComponent(String(orderId)))
|
|
21625
|
+
.replace('{deduction_id}', encodeURIComponent(String(deductionId)));
|
|
21315
21626
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
21316
21627
|
if (configuration) {
|
|
21317
21628
|
baseOptions = configuration.baseOptions;
|
|
@@ -21355,8 +21666,8 @@ var StockManagementApiAxiosParamCreator = function (configuration) {
|
|
|
21355
21666
|
// verify required parameter 'itemId' is not null or undefined
|
|
21356
21667
|
(0, common_1.assertParamExists)('patchDeleteStockOrderItem', 'itemId', itemId);
|
|
21357
21668
|
localVarPath = "/stock/orders/{order_id}/items/{item_id}"
|
|
21358
|
-
.replace(
|
|
21359
|
-
.replace(
|
|
21669
|
+
.replace('{order_id}', encodeURIComponent(String(orderId)))
|
|
21670
|
+
.replace('{item_id}', encodeURIComponent(String(itemId)));
|
|
21360
21671
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
21361
21672
|
if (configuration) {
|
|
21362
21673
|
baseOptions = configuration.baseOptions;
|
|
@@ -21397,7 +21708,7 @@ var StockManagementApiAxiosParamCreator = function (configuration) {
|
|
|
21397
21708
|
// verify required parameter 'id' is not null or undefined
|
|
21398
21709
|
(0, common_1.assertParamExists)('postAddStockOrderDeduction', 'id', id);
|
|
21399
21710
|
localVarPath = "/stock/orders/{id}/deductions"
|
|
21400
|
-
.replace(
|
|
21711
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
21401
21712
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
21402
21713
|
if (configuration) {
|
|
21403
21714
|
baseOptions = configuration.baseOptions;
|
|
@@ -21438,7 +21749,7 @@ var StockManagementApiAxiosParamCreator = function (configuration) {
|
|
|
21438
21749
|
// verify required parameter 'id' is not null or undefined
|
|
21439
21750
|
(0, common_1.assertParamExists)('postAddStockOrderItem', 'id', id);
|
|
21440
21751
|
localVarPath = "/stock/orders/{id}/items"
|
|
21441
|
-
.replace(
|
|
21752
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
21442
21753
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
21443
21754
|
if (configuration) {
|
|
21444
21755
|
baseOptions = configuration.baseOptions;
|
|
@@ -21555,7 +21866,7 @@ var StockManagementApiAxiosParamCreator = function (configuration) {
|
|
|
21555
21866
|
// verify required parameter 'invoice' is not null or undefined
|
|
21556
21867
|
(0, common_1.assertParamExists)('postUploadStockOrderInvoice', 'invoice', invoice);
|
|
21557
21868
|
localVarPath = "/stock/orders/{id}/invoice"
|
|
21558
|
-
.replace(
|
|
21869
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
21559
21870
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
21560
21871
|
if (configuration) {
|
|
21561
21872
|
baseOptions = configuration.baseOptions;
|
|
@@ -21599,7 +21910,7 @@ var StockManagementApiAxiosParamCreator = function (configuration) {
|
|
|
21599
21910
|
// verify required parameter 'id' is not null or undefined
|
|
21600
21911
|
(0, common_1.assertParamExists)('putGetStockProduct', 'id', id);
|
|
21601
21912
|
localVarPath = "/stock/products/{id}"
|
|
21602
|
-
.replace(
|
|
21913
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
21603
21914
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
21604
21915
|
if (configuration) {
|
|
21605
21916
|
baseOptions = configuration.baseOptions;
|
|
@@ -21645,8 +21956,8 @@ var StockManagementApiAxiosParamCreator = function (configuration) {
|
|
|
21645
21956
|
// verify required parameter 'received' is not null or undefined
|
|
21646
21957
|
(0, common_1.assertParamExists)('putReceiveStockOrderItem', 'received', received);
|
|
21647
21958
|
localVarPath = "/stock/orders/{order_id}/items/{item_id}/receive"
|
|
21648
|
-
.replace(
|
|
21649
|
-
.replace(
|
|
21959
|
+
.replace('{order_id}', encodeURIComponent(String(orderId)))
|
|
21960
|
+
.replace('{item_id}', encodeURIComponent(String(itemId)));
|
|
21650
21961
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
21651
21962
|
if (configuration) {
|
|
21652
21963
|
baseOptions = configuration.baseOptions;
|
|
@@ -23040,7 +23351,7 @@ var TicketsApiAxiosParamCreator = function (configuration) {
|
|
|
23040
23351
|
// verify required parameter 'id' is not null or undefined
|
|
23041
23352
|
(0, common_1.assertParamExists)('getGetTicket', 'id', id);
|
|
23042
23353
|
localVarPath = "/tickets/support/{id}"
|
|
23043
|
-
.replace(
|
|
23354
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
23044
23355
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
23045
23356
|
if (configuration) {
|
|
23046
23357
|
baseOptions = configuration.baseOptions;
|
|
@@ -23077,7 +23388,7 @@ var TicketsApiAxiosParamCreator = function (configuration) {
|
|
|
23077
23388
|
// verify required parameter 'id' is not null or undefined
|
|
23078
23389
|
(0, common_1.assertParamExists)('patchCloseTicket', 'id', id);
|
|
23079
23390
|
localVarPath = "/tickets/support/{id}/close"
|
|
23080
|
-
.replace(
|
|
23391
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
23081
23392
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
23082
23393
|
if (configuration) {
|
|
23083
23394
|
baseOptions = configuration.baseOptions;
|
|
@@ -23166,7 +23477,7 @@ var TicketsApiAxiosParamCreator = function (configuration) {
|
|
|
23166
23477
|
// verify required parameter 'id' is not null or undefined
|
|
23167
23478
|
(0, common_1.assertParamExists)('postTicketReply', 'id', id);
|
|
23168
23479
|
localVarPath = "/tickets/support/{id}/reply"
|
|
23169
|
-
.replace(
|
|
23480
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
23170
23481
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
23171
23482
|
if (configuration) {
|
|
23172
23483
|
baseOptions = configuration.baseOptions;
|
|
@@ -23662,5 +23973,5 @@ exports.PostAddWebhookWebhookUriEnum = {
|
|
|
23662
23973
|
WebhookFreshdeskUpdate: '/webhook/freshdesk/update',
|
|
23663
23974
|
WebhookTest: '/webhook/test',
|
|
23664
23975
|
WebhookXeroInvoices: '/webhook/xero/invoices',
|
|
23665
|
-
WebhookTcxPhonesAdd: '/webhook/tcx/phones/add'
|
|
23976
|
+
WebhookTcxPhonesAdd: '/webhook/tcx/phones/add',
|
|
23666
23977
|
};
|