yellowgrid-api-ts 3.2.6-dev.0 → 3.2.9
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 +2 -7
- package/.openapi-generator/VERSION +1 -1
- package/.openapi-generator-ignore +0 -0
- package/README.md +3 -18
- package/api.ts +3900 -1514
- package/base.ts +25 -1
- package/common.ts +39 -2
- package/config.json +3 -3
- package/configuration.ts +19 -25
- package/dist/api.d.ts +3707 -778
- package/dist/api.js +605 -1308
- package/dist/base.d.ts +25 -1
- package/dist/base.js +20 -1
- package/dist/common.d.ts +38 -1
- package/dist/common.js +38 -1
- package/dist/configuration.d.ts +18 -25
- package/dist/configuration.js +2 -2
- package/dist/index.d.ts +1 -1
- package/dist/index.js +1 -1
- package/docs/AbstractOrderRequestDTO.md +0 -0
- package/docs/AccountContactEntity.md +0 -0
- package/docs/AccountContactModel.md +0 -0
- package/docs/AccountContactRequestModel.md +0 -0
- package/docs/AccountDetailedSummaryDTO.md +0 -0
- package/docs/AccountRequestModel.md +0 -0
- package/docs/AccountSummaryDTO.md +0 -0
- package/docs/AccountsApi.md +1 -1
- package/docs/AccountsResponseModel.md +0 -0
- package/docs/AddressModel.md +0 -0
- package/docs/AddressRequestModel.md +0 -0
- package/docs/AdminOrderRequestDTO.md +0 -0
- package/docs/AdminUserModel.md +0 -0
- package/docs/AgentHoursGraphModel.md +0 -0
- package/docs/AgentHoursGraphMonthModel.md +0 -0
- package/docs/ApiLogEntity.md +0 -0
- package/docs/AreaCodeModel.md +0 -0
- package/docs/AttachmentModel.md +0 -0
- package/docs/AttributeSetEnum.md +0 -0
- package/docs/AuditLogEntity.md +0 -0
- package/docs/AuthCodeResponseModel.md +0 -0
- package/docs/BasicItemDTO.md +0 -0
- package/docs/BasicProductDTO.md +0 -0
- package/docs/BatchEntity.md +0 -0
- package/docs/CRMApi.md +0 -0
- package/docs/CallBarringModel.md +0 -0
- package/docs/Class3CXApi.md +0 -0
- package/docs/Class3CXInstallationWizardApi.md +0 -0
- package/docs/Class3CXInstallationsApi.md +0 -0
- package/docs/Class3CXIntegrationsApi.md +0 -0
- package/docs/Class3CXMultiTenantApi.md +0 -0
- package/docs/ClientDetailsModel.md +0 -0
- package/docs/ClientModel.md +0 -0
- package/docs/CompanyContractModel.md +0 -0
- package/docs/ContactInfoModel.md +0 -0
- package/docs/ConversationModel.md +0 -0
- package/docs/CourierPriceEntity.md +0 -0
- package/docs/CreditAccountEntity.md +0 -0
- package/docs/CrmContactDTO.md +0 -0
- package/docs/CustomerInformationModel.md +0 -0
- package/docs/CustomerItemRequestDTO.md +0 -0
- package/docs/CustomerOrderRequestDTO.md +0 -0
- package/docs/CustomerPriceListEnum.md +0 -0
- package/docs/CustomerSummaryReportDTO.md +0 -0
- package/docs/DdiRangeRequestModel.md +0 -0
- package/docs/DdiRangesRequestModel.md +0 -0
- package/docs/DetailedItemRequestDTO.md +0 -0
- package/docs/DetailedOrderRequestDTO.md +0 -0
- package/docs/DivertRequestModel.md +0 -0
- package/docs/DivertResponseModel.md +0 -0
- package/docs/EdTechProClientEntity.md +0 -0
- package/docs/EdTechProSchoolModel.md +0 -0
- package/docs/EdTechProSchoolsModel.md +0 -0
- package/docs/EdTechProSetupModel.md +0 -0
- package/docs/FraudManagementModel.md +0 -0
- package/docs/FreshdeskCompanyTicketsModel.md +0 -0
- package/docs/FreshdeskTicketEntity.md +0 -0
- package/docs/FtpAccountsEntity.md +0 -0
- package/docs/GenericFileModel.md +0 -0
- package/docs/GetGetPrice200Response.md +0 -0
- package/docs/GetGetRecording200Response.md +0 -0
- package/docs/HostingChangeResponseModel.md +0 -0
- package/docs/HostingRegionDTO.md +0 -0
- package/docs/InstanceAutoFailoverEntity.md +0 -0
- package/docs/InstanceDeletionScheduleEntity.md +0 -0
- package/docs/InstanceEntity.md +0 -0
- package/docs/InstanceFailoverEntity.md +0 -0
- package/docs/InstanceMonitoringEntity.md +0 -0
- package/docs/InstanceMonitoringLogEntity.md +0 -0
- package/docs/InstanceScheduledTasksEntity.md +0 -0
- package/docs/InstanceTcxDetailsEntity.md +0 -0
- package/docs/InstanceUserCredentialsEntity.md +0 -0
- package/docs/ItemDTO.md +0 -0
- package/docs/ItemDiscountEntity.md +0 -0
- package/docs/ItemEntity.md +0 -0
- package/docs/LinkedOrderEntity.md +0 -0
- package/docs/MFARequiredModel.md +0 -0
- package/docs/MonthlyUsageModel.md +0 -0
- package/docs/MultiTenantChangeResponseModel.md +0 -0
- package/docs/MyPBXToolsApi.md +0 -0
- package/docs/NavigationModel.md +0 -0
- package/docs/OAuth20Api.md +3 -3
- package/docs/OfflineInstancesEntity.md +0 -0
- package/docs/OrderEntity.md +0 -0
- package/docs/OrderRequestModel.md +0 -0
- package/docs/OrderSummariesModel.md +0 -0
- package/docs/OrderSummaryDTO.md +0 -0
- package/docs/OrderTotalModel.md +0 -0
- package/docs/OrderedItemEntity.md +0 -0
- package/docs/OrdersApi.md +0 -0
- package/docs/PatchSetTcxWizardCnameRequest.md +0 -0
- package/docs/PatchUpdateAccountContactPasswordRequest.md +0 -0
- package/docs/PortalAccountModel.md +0 -0
- package/docs/PortalLoginModel.md +0 -0
- package/docs/PostAddWebhook200Response.md +0 -0
- package/docs/PostGetClientCredentialsRequest.md +0 -0
- package/docs/PostGetProductForCustomerRequest.md +0 -0
- package/docs/PostGetProductRequest.md +0 -0
- package/docs/PriceListItemModel.md +0 -0
- package/docs/PricingApi.md +0 -0
- package/docs/PrizesEntity.md +0 -0
- package/docs/ProductPriceListItemModel.md +0 -0
- package/docs/ProductSearchResultsModel.md +0 -0
- package/docs/ProductSerialInfoModel.md +0 -0
- package/docs/ProductSummaryDTO.md +0 -0
- package/docs/ProductsApi.md +48 -0
- package/docs/PromoCodesEntity.md +0 -0
- package/docs/PromoItemsEntity.md +0 -0
- package/docs/ProvisioningApi.md +0 -0
- package/docs/ProvisioningModel.md +0 -0
- package/docs/ProvisioningRequestEntity.md +0 -0
- package/docs/RecordingBackupAzureModel.md +0 -0
- package/docs/RecordingsBackupInfoDTO.md +0 -0
- package/docs/ResourceNotReadyException.md +0 -0
- package/docs/RootAccessModel.md +0 -0
- package/docs/S3BucketEntity.md +0 -0
- package/docs/SIPTrunksApi.md +0 -0
- package/docs/SMSApi.md +0 -0
- package/docs/ScannedItemModel.md +0 -0
- package/docs/ScopeModel.md +0 -0
- package/docs/ShipmentAddressEntity.md +0 -0
- package/docs/ShipmentEntity.md +0 -0
- package/docs/ShipmentItemEntity.md +0 -0
- package/docs/ShippingApi.md +0 -0
- package/docs/ShippingConsignmentModel.md +0 -0
- package/docs/ShippingInformationDTO.md +0 -0
- package/docs/ShippingServiceDTO.md +0 -0
- package/docs/ShippingServiceModel.md +0 -0
- package/docs/ShippingServicesModel.md +0 -0
- package/docs/SipTrunkChangeResponseModel.md +0 -0
- package/docs/SipTrunkCreationRequestModel.md +0 -0
- package/docs/SipTrunkEntity.md +0 -0
- package/docs/SipTrunksResponseModel.md +0 -0
- package/docs/SmsAccountEntity.md +0 -0
- package/docs/SmsDataModel.md +0 -0
- package/docs/SmsMessageModel.md +0 -0
- package/docs/SmsNumbersEntity.md +0 -0
- package/docs/SmsPayloadModel.md +0 -0
- package/docs/SmsPhoneNumberModel.md +0 -0
- package/docs/SmsResponseModel.md +0 -0
- package/docs/SmsWhitelistEntity.md +0 -0
- package/docs/StockManagementApi.md +0 -0
- package/docs/StockOrderCourierEntity.md +0 -0
- package/docs/StockOrderDeductionModel.md +0 -0
- package/docs/StockOrderDeductionRequestModel.md +0 -0
- package/docs/StockOrderDeductionsEntity.md +0 -0
- package/docs/StockOrderEntity.md +0 -0
- package/docs/StockOrderItemEntity.md +0 -0
- package/docs/StockOrderItemModel.md +0 -0
- package/docs/StockOrderItemRequestModel.md +0 -0
- package/docs/StockOrderModel.md +0 -0
- package/docs/StockOrderProductEntity.md +0 -0
- package/docs/StockOrderRequestModel.md +0 -0
- package/docs/StockOrderSupplierEntity.md +0 -0
- package/docs/StockOrderSupplierModel.md +0 -0
- package/docs/StockOrdersModel.md +0 -0
- package/docs/StockProductModel.md +0 -0
- package/docs/StockProductPriceModel.md +0 -0
- package/docs/StockProductSummariesModel.md +0 -0
- package/docs/StockProductSummaryModel.md +0 -0
- package/docs/StockTransactionsEntity.md +0 -0
- package/docs/SupplierEntity.md +0 -0
- package/docs/SupplierItemEntity.md +0 -0
- package/docs/SystemApi.md +0 -0
- package/docs/TcxBackupEntity.md +0 -0
- package/docs/TcxBackupModel.md +0 -0
- package/docs/TcxBillingEntity.md +0 -0
- package/docs/TcxBulkLicenceDetailsModel.md +0 -0
- package/docs/TcxDeadLicenceEntity.md +0 -0
- package/docs/TcxExtsEntity.md +0 -0
- package/docs/TcxHostingPricingEntity.md +0 -0
- package/docs/TcxInstallationDetailsModel.md +0 -0
- package/docs/TcxInstallationModel.md +0 -0
- package/docs/TcxInstallationsModel.md +0 -0
- package/docs/TcxKeySummaryDTO.md +0 -0
- package/docs/TcxKeysEntity.md +0 -0
- package/docs/TcxLicenceDetailsErrorModel.md +0 -0
- package/docs/TcxLicenceDetailsModel.md +0 -0
- package/docs/TcxMacsEntity.md +0 -0
- package/docs/TcxMultiTenantModel.md +0 -0
- package/docs/TcxMultiTenantUserModel.md +0 -0
- package/docs/TcxMultiTenantsModel.md +0 -0
- package/docs/TcxNumbersEntity.md +0 -0
- package/docs/TcxOfficeHoursEntity.md +0 -0
- package/docs/TcxPhoneModel.md +0 -0
- package/docs/TcxPhonesEntity.md +0 -0
- package/docs/TcxRemoteStorageModel.md +0 -0
- package/docs/TcxSbcDTO.md +0 -0
- package/docs/TcxSbcEntity.md +0 -0
- package/docs/TcxSbcModel.md +0 -0
- package/docs/TcxSetupEntity.md +0 -0
- package/docs/TcxSetupsModel.md +0 -0
- package/docs/TcxSipTrunksEntity.md +0 -0
- package/docs/TcxTemplateXmlEnum.md +0 -0
- package/docs/TcxUsersEntity.md +0 -0
- package/docs/TcxWizardConfigModel.md +0 -0
- package/docs/TcxWizardModel.md +0 -0
- package/docs/TechSupportCompanySummaryDTO.md +0 -0
- package/docs/{SupportTicketModel.md → TelephonySupportTicketModel.md} +3 -3
- package/docs/TicketSummaryModel.md +0 -0
- package/docs/TicketTimeDTO.md +0 -0
- package/docs/TicketsApi.md +8 -8
- package/docs/TokenResponseModel.md +0 -0
- package/docs/UpgradeOrderResponseModel.md +0 -0
- package/docs/UpgradeRequestModel.md +0 -0
- package/docs/UserEntity.md +0 -0
- package/docs/WebhooksApi.md +0 -0
- package/docs/XeroLogEntity.md +0 -0
- package/git_push.sh +0 -0
- package/index.ts +1 -1
- package/openapitools.json +1 -1
- package/package.json +1 -1
- package/tsconfig.json +0 -0
- package/docs/NumberPortDTO.md +0 -51
- package/docs/NumberPortEntity.md +0 -47
- package/docs/NumberPortModel.md +0 -51
- package/docs/NumberPortRangeDTO.md +0 -33
- package/docs/NumberPortRangeRequestDTO.md +0 -27
- package/docs/NumberPortingApi.md +0 -658
- package/docs/NumberPortsModel.md +0 -27
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: `http://api.yellowgrid.local` For questions or technical support, please contact support@yellowgrid.co.uk.
|
|
7
7
|
*
|
|
8
8
|
* The version of the OpenAPI document: 0
|
|
9
9
|
*
|
|
@@ -85,8 +85,8 @@ var __spreadArray = (this && this.__spreadArray) || function (to, from, pack) {
|
|
|
85
85
|
};
|
|
86
86
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
87
87
|
exports.Class3CXIntegrationsApiFp = exports.Class3CXIntegrationsApiAxiosParamCreator = exports.PostResizeInstanceSizeEnum = exports.PostFailoverInstanceTypeEnum = exports.GetGetInstallationsInstallTypeEnum = exports.GetGetInstallationsHostingEnum = exports.GetGetInstallationsStatusEnum = exports.Class3CXInstallationsApi = exports.Class3CXInstallationsApiFactory = exports.Class3CXInstallationsApiFp = exports.Class3CXInstallationsApiAxiosParamCreator = exports.Class3CXInstallationWizardApi = exports.Class3CXInstallationWizardApiFactory = exports.Class3CXInstallationWizardApiFp = exports.Class3CXInstallationWizardApiAxiosParamCreator = exports.Class3CXApi = exports.Class3CXApiFactory = exports.Class3CXApiFp = exports.Class3CXApiAxiosParamCreator = exports.CRMApi = exports.CRMApiFactory = exports.CRMApiFp = exports.CRMApiAxiosParamCreator = exports.AccountsApi = exports.AccountsApiFactory = exports.AccountsApiFp = exports.AccountsApiAxiosParamCreator = exports.UpgradeRequestModelSchoolTypeEnum = exports.UpgradeRequestModelLicenceTypeEnum = exports.TcxWizardModelInstallationStatusEnum = exports.TcxWizardModelInstallTypeEnum = exports.TcxSetupEntityRegionEnum = exports.TcxSetupEntityInstallTypeEnum = exports.TcxMultiTenantModelPackageEnum = exports.StockOrderModelPaidEnum = exports.StockOrderModelDeliveryMethodEnum = exports.SmsResponseModelEventTypeEnum = exports.SmsPhoneNumberModelStatusEnum = exports.SipTrunkChangeResponseModelTypeEnum = exports.ShippingServiceModelCourierEnum = exports.ShippingServiceDTOCourierEnum = exports.OrderTotalModelCurrencyEnum = exports.OrderRequestModelSchoolTypeEnum = exports.OrderRequestModelLicenceTypeEnum = exports.MultiTenantChangeResponseModelTypeEnum = exports.ItemDiscountEntityTypeEnum = exports.HostingRegionDTOCodeEnum = exports.HostingChangeResponseModelTypeEnum = exports.DivertResponseModelStatusEnum = exports.AdminUserModelRoleEnum = void 0;
|
|
88
|
-
exports.ProvisioningApi = exports.ProvisioningApiFactory = exports.ProvisioningApiFp = exports.ProvisioningApiAxiosParamCreator = exports.GetGetLegacyStockListFormatEnum = exports.ProductsApi = exports.ProductsApiFactory = exports.ProductsApiFp = exports.ProductsApiAxiosParamCreator = exports.PostSendPriceListCategoryEnum = exports.PostSendPriceListFormatEnum = exports.PostSendPriceListTypeEnum = exports.GetGetPriceListCategoryEnum = exports.GetGetPriceListFormatEnum = exports.GetGetPriceListTypeEnum = exports.PricingApi = exports.PricingApiFactory = exports.PricingApiFp = exports.PricingApiAxiosParamCreator = exports.GetGetOrdersFilterEnum = exports.GetGetOrdersStatusEnum = exports.OrdersApi = exports.OrdersApiFactory = exports.OrdersApiFp = exports.OrdersApiAxiosParamCreator = exports.PostAuthoriseScopeEnum = exports.PostAccessTokenTokenExchangeTypeEnum = exports.PostAccessTokenScopeEnum = exports.PostAccessTokenGrantTypeEnum = exports.OAuth20Api = exports.OAuth20ApiFactory = exports.OAuth20ApiFp = exports.OAuth20ApiAxiosParamCreator = exports.
|
|
89
|
-
exports.PostAddWebhookWebhookUriEnum = exports.WebhooksApi = exports.WebhooksApiFactory = exports.WebhooksApiFp = exports.WebhooksApiAxiosParamCreator = exports.TicketsApi = exports.TicketsApiFactory = exports.TicketsApiFp = exports.TicketsApiAxiosParamCreator = exports.SystemApi = exports.SystemApiFactory = exports.SystemApiFp = exports.SystemApiAxiosParamCreator = exports.StockManagementApi = exports.StockManagementApiFactory = exports.StockManagementApiFp = exports.StockManagementApiAxiosParamCreator = exports.ShippingApi = exports.ShippingApiFactory = exports.ShippingApiFp = exports.ShippingApiAxiosParamCreator = exports.SMSApi = exports.SMSApiFactory = exports.SMSApiFp = exports.SMSApiAxiosParamCreator =
|
|
88
|
+
exports.SIPTrunksApi = exports.SIPTrunksApiFactory = exports.SIPTrunksApiFp = exports.SIPTrunksApiAxiosParamCreator = exports.ProvisioningApi = exports.ProvisioningApiFactory = exports.ProvisioningApiFp = exports.ProvisioningApiAxiosParamCreator = exports.GetGetLegacyStockListFormatEnum = exports.ProductsApi = exports.ProductsApiFactory = exports.ProductsApiFp = exports.ProductsApiAxiosParamCreator = exports.PostSendPriceListCategoryEnum = exports.PostSendPriceListFormatEnum = exports.PostSendPriceListTypeEnum = exports.GetGetPriceListCategoryEnum = exports.GetGetPriceListFormatEnum = exports.GetGetPriceListTypeEnum = exports.PricingApi = exports.PricingApiFactory = exports.PricingApiFp = exports.PricingApiAxiosParamCreator = exports.GetGetOrdersFilterEnum = exports.GetGetOrdersStatusEnum = exports.OrdersApi = exports.OrdersApiFactory = exports.OrdersApiFp = exports.OrdersApiAxiosParamCreator = exports.PostAuthoriseScopeEnum = exports.PostAccessTokenTokenExchangeTypeEnum = exports.PostAccessTokenScopeEnum = exports.PostAccessTokenGrantTypeEnum = exports.OAuth20Api = exports.OAuth20ApiFactory = exports.OAuth20ApiFp = exports.OAuth20ApiAxiosParamCreator = exports.MyPBXToolsApi = exports.MyPBXToolsApiFactory = exports.MyPBXToolsApiFp = exports.MyPBXToolsApiAxiosParamCreator = exports.GetGetTenantsStatusEnum = exports.Class3CXMultiTenantApi = exports.Class3CXMultiTenantApiFactory = exports.Class3CXMultiTenantApiFp = exports.Class3CXMultiTenantApiAxiosParamCreator = exports.GetGetPriceSchoolTypeEnum = exports.GetGetPriceLicenceTypeEnum = exports.Class3CXIntegrationsApi = exports.Class3CXIntegrationsApiFactory = void 0;
|
|
89
|
+
exports.PostAddWebhookWebhookUriEnum = exports.WebhooksApi = exports.WebhooksApiFactory = exports.WebhooksApiFp = exports.WebhooksApiAxiosParamCreator = exports.TicketsApi = exports.TicketsApiFactory = exports.TicketsApiFp = exports.TicketsApiAxiosParamCreator = exports.SystemApi = exports.SystemApiFactory = exports.SystemApiFp = exports.SystemApiAxiosParamCreator = exports.StockManagementApi = exports.StockManagementApiFactory = exports.StockManagementApiFp = exports.StockManagementApiAxiosParamCreator = exports.ShippingApi = exports.ShippingApiFactory = exports.ShippingApiFp = exports.ShippingApiAxiosParamCreator = exports.SMSApi = exports.SMSApiFactory = exports.SMSApiFp = exports.SMSApiAxiosParamCreator = void 0;
|
|
90
90
|
var axios_1 = require("axios");
|
|
91
91
|
// Some imports not used depending on template conditions
|
|
92
92
|
// @ts-ignore
|
|
@@ -286,6 +286,7 @@ exports.UpgradeRequestModelSchoolTypeEnum = {
|
|
|
286
286
|
};
|
|
287
287
|
/**
|
|
288
288
|
* AccountsApi - axios parameter creator
|
|
289
|
+
* @export
|
|
289
290
|
*/
|
|
290
291
|
var AccountsApiAxiosParamCreator = function (configuration) {
|
|
291
292
|
var _this = this;
|
|
@@ -740,7 +741,7 @@ var AccountsApiAxiosParamCreator = function (configuration) {
|
|
|
740
741
|
},
|
|
741
742
|
/**
|
|
742
743
|
* Create new customer account
|
|
743
|
-
* @summary Create new customer account
|
|
744
|
+
* @summary Create a new customer account
|
|
744
745
|
* @param {AccountRequestModel} [accountRequestModel] New account request
|
|
745
746
|
* @param {*} [options] Override http request option.
|
|
746
747
|
* @throws {RequiredError}
|
|
@@ -1009,6 +1010,7 @@ var AccountsApiAxiosParamCreator = function (configuration) {
|
|
|
1009
1010
|
exports.AccountsApiAxiosParamCreator = AccountsApiAxiosParamCreator;
|
|
1010
1011
|
/**
|
|
1011
1012
|
* AccountsApi - functional programming interface
|
|
1013
|
+
* @export
|
|
1012
1014
|
*/
|
|
1013
1015
|
var AccountsApiFp = function (configuration) {
|
|
1014
1016
|
var localVarAxiosParamCreator = (0, exports.AccountsApiAxiosParamCreator)(configuration);
|
|
@@ -1291,7 +1293,7 @@ var AccountsApiFp = function (configuration) {
|
|
|
1291
1293
|
},
|
|
1292
1294
|
/**
|
|
1293
1295
|
* Create new customer account
|
|
1294
|
-
* @summary Create new customer account
|
|
1296
|
+
* @summary Create a new customer account
|
|
1295
1297
|
* @param {AccountRequestModel} [accountRequestModel] New account request
|
|
1296
1298
|
* @param {*} [options] Override http request option.
|
|
1297
1299
|
* @throws {RequiredError}
|
|
@@ -1457,6 +1459,7 @@ var AccountsApiFp = function (configuration) {
|
|
|
1457
1459
|
exports.AccountsApiFp = AccountsApiFp;
|
|
1458
1460
|
/**
|
|
1459
1461
|
* AccountsApi - factory interface
|
|
1462
|
+
* @export
|
|
1460
1463
|
*/
|
|
1461
1464
|
var AccountsApiFactory = function (configuration, basePath, axios) {
|
|
1462
1465
|
var localVarFp = (0, exports.AccountsApiFp)(configuration);
|
|
@@ -1583,7 +1586,7 @@ var AccountsApiFactory = function (configuration, basePath, axios) {
|
|
|
1583
1586
|
},
|
|
1584
1587
|
/**
|
|
1585
1588
|
* Create new customer account
|
|
1586
|
-
* @summary Create new customer account
|
|
1589
|
+
* @summary Create a new customer account
|
|
1587
1590
|
* @param {AccountRequestModel} [accountRequestModel] New account request
|
|
1588
1591
|
* @param {*} [options] Override http request option.
|
|
1589
1592
|
* @throws {RequiredError}
|
|
@@ -1658,6 +1661,9 @@ var AccountsApiFactory = function (configuration, basePath, axios) {
|
|
|
1658
1661
|
exports.AccountsApiFactory = AccountsApiFactory;
|
|
1659
1662
|
/**
|
|
1660
1663
|
* AccountsApi - object-oriented interface
|
|
1664
|
+
* @export
|
|
1665
|
+
* @class AccountsApi
|
|
1666
|
+
* @extends {BaseAPI}
|
|
1661
1667
|
*/
|
|
1662
1668
|
var AccountsApi = /** @class */ (function (_super) {
|
|
1663
1669
|
__extends(AccountsApi, _super);
|
|
@@ -1670,6 +1676,7 @@ var AccountsApi = /** @class */ (function (_super) {
|
|
|
1670
1676
|
* @param {string} id OAuth 2.0 Client ID
|
|
1671
1677
|
* @param {*} [options] Override http request option.
|
|
1672
1678
|
* @throws {RequiredError}
|
|
1679
|
+
* @memberof AccountsApi
|
|
1673
1680
|
*/
|
|
1674
1681
|
AccountsApi.prototype.deleteDeleteClientCredentials = function (id, options) {
|
|
1675
1682
|
var _this = this;
|
|
@@ -1681,6 +1688,7 @@ var AccountsApi = /** @class */ (function (_super) {
|
|
|
1681
1688
|
* @param {string} email Contact Email Address
|
|
1682
1689
|
* @param {*} [options] Override http request option.
|
|
1683
1690
|
* @throws {RequiredError}
|
|
1691
|
+
* @memberof AccountsApi
|
|
1684
1692
|
*/
|
|
1685
1693
|
AccountsApi.prototype.deleteUpdateAccountContact = function (email, options) {
|
|
1686
1694
|
var _this = this;
|
|
@@ -1691,6 +1699,7 @@ var AccountsApi = /** @class */ (function (_super) {
|
|
|
1691
1699
|
* @summary Get Account
|
|
1692
1700
|
* @param {*} [options] Override http request option.
|
|
1693
1701
|
* @throws {RequiredError}
|
|
1702
|
+
* @memberof AccountsApi
|
|
1694
1703
|
*/
|
|
1695
1704
|
AccountsApi.prototype.getGetAccount = function (options) {
|
|
1696
1705
|
var _this = this;
|
|
@@ -1702,6 +1711,7 @@ var AccountsApi = /** @class */ (function (_super) {
|
|
|
1702
1711
|
* @param {string} [email] Contact Email Address
|
|
1703
1712
|
* @param {*} [options] Override http request option.
|
|
1704
1713
|
* @throws {RequiredError}
|
|
1714
|
+
* @memberof AccountsApi
|
|
1705
1715
|
*/
|
|
1706
1716
|
AccountsApi.prototype.getGetAccountContacts = function (email, options) {
|
|
1707
1717
|
var _this = this;
|
|
@@ -1713,6 +1723,7 @@ var AccountsApi = /** @class */ (function (_super) {
|
|
|
1713
1723
|
* @param {number} id Customer ID
|
|
1714
1724
|
* @param {*} [options] Override http request option.
|
|
1715
1725
|
* @throws {RequiredError}
|
|
1726
|
+
* @memberof AccountsApi
|
|
1716
1727
|
*/
|
|
1717
1728
|
AccountsApi.prototype.getGetAccountDetailedSummary = function (id, options) {
|
|
1718
1729
|
var _this = this;
|
|
@@ -1727,6 +1738,7 @@ var AccountsApi = /** @class */ (function (_super) {
|
|
|
1727
1738
|
* @param {boolean} [active] Active
|
|
1728
1739
|
* @param {*} [options] Override http request option.
|
|
1729
1740
|
* @throws {RequiredError}
|
|
1741
|
+
* @memberof AccountsApi
|
|
1730
1742
|
*/
|
|
1731
1743
|
AccountsApi.prototype.getGetAccounts = function (pageSize, page, search, active, options) {
|
|
1732
1744
|
var _this = this;
|
|
@@ -1737,6 +1749,7 @@ var AccountsApi = /** @class */ (function (_super) {
|
|
|
1737
1749
|
* @summary Get user\'s client credentials
|
|
1738
1750
|
* @param {*} [options] Override http request option.
|
|
1739
1751
|
* @throws {RequiredError}
|
|
1752
|
+
* @memberof AccountsApi
|
|
1740
1753
|
*/
|
|
1741
1754
|
AccountsApi.prototype.getGetClientCredentials = function (options) {
|
|
1742
1755
|
var _this = this;
|
|
@@ -1747,6 +1760,7 @@ var AccountsApi = /** @class */ (function (_super) {
|
|
|
1747
1760
|
* @summary Get 3CX Keys
|
|
1748
1761
|
* @param {*} [options] Override http request option.
|
|
1749
1762
|
* @throws {RequiredError}
|
|
1763
|
+
* @memberof AccountsApi
|
|
1750
1764
|
*/
|
|
1751
1765
|
AccountsApi.prototype.getGetCustomerKeys = function (options) {
|
|
1752
1766
|
var _this = this;
|
|
@@ -1758,6 +1772,7 @@ var AccountsApi = /** @class */ (function (_super) {
|
|
|
1758
1772
|
* @param {string} token Verification Token
|
|
1759
1773
|
* @param {*} [options] Override http request option.
|
|
1760
1774
|
* @throws {RequiredError}
|
|
1775
|
+
* @memberof AccountsApi
|
|
1761
1776
|
*/
|
|
1762
1777
|
AccountsApi.prototype.getVerifyEmailAddress = function (token, options) {
|
|
1763
1778
|
var _this = this;
|
|
@@ -1768,6 +1783,7 @@ var AccountsApi = /** @class */ (function (_super) {
|
|
|
1768
1783
|
* @param {PatchSetTcxWizardCnameRequest} [patchSetTcxWizardCnameRequest] CNAME Request
|
|
1769
1784
|
* @param {*} [options] Override http request option.
|
|
1770
1785
|
* @throws {RequiredError}
|
|
1786
|
+
* @memberof AccountsApi
|
|
1771
1787
|
*/
|
|
1772
1788
|
AccountsApi.prototype.patchSetTcxWizardCname = function (patchSetTcxWizardCnameRequest, options) {
|
|
1773
1789
|
var _this = this;
|
|
@@ -1780,6 +1796,7 @@ var AccountsApi = /** @class */ (function (_super) {
|
|
|
1780
1796
|
* @param {PatchUpdateAccountContactPasswordRequest} [patchUpdateAccountContactPasswordRequest] New account request
|
|
1781
1797
|
* @param {*} [options] Override http request option.
|
|
1782
1798
|
* @throws {RequiredError}
|
|
1799
|
+
* @memberof AccountsApi
|
|
1783
1800
|
*/
|
|
1784
1801
|
AccountsApi.prototype.patchUpdateAccountContactPassword = function (token, patchUpdateAccountContactPasswordRequest, options) {
|
|
1785
1802
|
var _this = this;
|
|
@@ -1791,6 +1808,7 @@ var AccountsApi = /** @class */ (function (_super) {
|
|
|
1791
1808
|
* @param {AccountContactRequestModel} [accountContactRequestModel] New account request
|
|
1792
1809
|
* @param {*} [options] Override http request option.
|
|
1793
1810
|
* @throws {RequiredError}
|
|
1811
|
+
* @memberof AccountsApi
|
|
1794
1812
|
*/
|
|
1795
1813
|
AccountsApi.prototype.postGetAccountContacts = function (accountContactRequestModel, options) {
|
|
1796
1814
|
var _this = this;
|
|
@@ -1798,10 +1816,11 @@ var AccountsApi = /** @class */ (function (_super) {
|
|
|
1798
1816
|
};
|
|
1799
1817
|
/**
|
|
1800
1818
|
* Create new customer account
|
|
1801
|
-
* @summary Create new customer account
|
|
1819
|
+
* @summary Create a new customer account
|
|
1802
1820
|
* @param {AccountRequestModel} [accountRequestModel] New account request
|
|
1803
1821
|
* @param {*} [options] Override http request option.
|
|
1804
1822
|
* @throws {RequiredError}
|
|
1823
|
+
* @memberof AccountsApi
|
|
1805
1824
|
*/
|
|
1806
1825
|
AccountsApi.prototype.postGetAccounts = function (accountRequestModel, options) {
|
|
1807
1826
|
var _this = this;
|
|
@@ -1812,6 +1831,7 @@ var AccountsApi = /** @class */ (function (_super) {
|
|
|
1812
1831
|
* @summary Get Admin Account
|
|
1813
1832
|
* @param {*} [options] Override http request option.
|
|
1814
1833
|
* @throws {RequiredError}
|
|
1834
|
+
* @memberof AccountsApi
|
|
1815
1835
|
*/
|
|
1816
1836
|
AccountsApi.prototype.postGetAdminAccount = function (options) {
|
|
1817
1837
|
var _this = this;
|
|
@@ -1823,6 +1843,7 @@ var AccountsApi = /** @class */ (function (_super) {
|
|
|
1823
1843
|
* @param {PostGetClientCredentialsRequest} [postGetClientCredentialsRequest] New client credentials request
|
|
1824
1844
|
* @param {*} [options] Override http request option.
|
|
1825
1845
|
* @throws {RequiredError}
|
|
1846
|
+
* @memberof AccountsApi
|
|
1826
1847
|
*/
|
|
1827
1848
|
AccountsApi.prototype.postGetClientCredentials = function (postGetClientCredentialsRequest, options) {
|
|
1828
1849
|
var _this = this;
|
|
@@ -1834,6 +1855,7 @@ var AccountsApi = /** @class */ (function (_super) {
|
|
|
1834
1855
|
* @param {string} email Email Address
|
|
1835
1856
|
* @param {*} [options] Override http request option.
|
|
1836
1857
|
* @throws {RequiredError}
|
|
1858
|
+
* @memberof AccountsApi
|
|
1837
1859
|
*/
|
|
1838
1860
|
AccountsApi.prototype.postSendEmailVerificationEmail = function (email, options) {
|
|
1839
1861
|
var _this = this;
|
|
@@ -1845,6 +1867,7 @@ var AccountsApi = /** @class */ (function (_super) {
|
|
|
1845
1867
|
* @param {string} email Email Address
|
|
1846
1868
|
* @param {*} [options] Override http request option.
|
|
1847
1869
|
* @throws {RequiredError}
|
|
1870
|
+
* @memberof AccountsApi
|
|
1848
1871
|
*/
|
|
1849
1872
|
AccountsApi.prototype.postSendPasswordReset = function (email, options) {
|
|
1850
1873
|
var _this = this;
|
|
@@ -1858,6 +1881,7 @@ var AccountsApi = /** @class */ (function (_super) {
|
|
|
1858
1881
|
* @param {string} [vatNumber] VAT Number
|
|
1859
1882
|
* @param {*} [options] Override http request option.
|
|
1860
1883
|
* @throws {RequiredError}
|
|
1884
|
+
* @memberof AccountsApi
|
|
1861
1885
|
*/
|
|
1862
1886
|
AccountsApi.prototype.postSubmitResellerApplication = function (creditRequired, companyNumber, vatNumber, options) {
|
|
1863
1887
|
var _this = this;
|
|
@@ -1870,6 +1894,7 @@ var AccountsApi = /** @class */ (function (_super) {
|
|
|
1870
1894
|
* @param {AccountContactRequestModel} [accountContactRequestModel] Account request
|
|
1871
1895
|
* @param {*} [options] Override http request option.
|
|
1872
1896
|
* @throws {RequiredError}
|
|
1897
|
+
* @memberof AccountsApi
|
|
1873
1898
|
*/
|
|
1874
1899
|
AccountsApi.prototype.putUpdateAccountContact = function (email, accountContactRequestModel, options) {
|
|
1875
1900
|
var _this = this;
|
|
@@ -1880,6 +1905,7 @@ var AccountsApi = /** @class */ (function (_super) {
|
|
|
1880
1905
|
exports.AccountsApi = AccountsApi;
|
|
1881
1906
|
/**
|
|
1882
1907
|
* CRMApi - axios parameter creator
|
|
1908
|
+
* @export
|
|
1883
1909
|
*/
|
|
1884
1910
|
var CRMApiAxiosParamCreator = function (configuration) {
|
|
1885
1911
|
var _this = this;
|
|
@@ -1921,6 +1947,7 @@ var CRMApiAxiosParamCreator = function (configuration) {
|
|
|
1921
1947
|
exports.CRMApiAxiosParamCreator = CRMApiAxiosParamCreator;
|
|
1922
1948
|
/**
|
|
1923
1949
|
* CRMApi - functional programming interface
|
|
1950
|
+
* @export
|
|
1924
1951
|
*/
|
|
1925
1952
|
var CRMApiFp = function (configuration) {
|
|
1926
1953
|
var localVarAxiosParamCreator = (0, exports.CRMApiAxiosParamCreator)(configuration);
|
|
@@ -1951,6 +1978,7 @@ var CRMApiFp = function (configuration) {
|
|
|
1951
1978
|
exports.CRMApiFp = CRMApiFp;
|
|
1952
1979
|
/**
|
|
1953
1980
|
* CRMApi - factory interface
|
|
1981
|
+
* @export
|
|
1954
1982
|
*/
|
|
1955
1983
|
var CRMApiFactory = function (configuration, basePath, axios) {
|
|
1956
1984
|
var localVarFp = (0, exports.CRMApiFp)(configuration);
|
|
@@ -1968,6 +1996,9 @@ var CRMApiFactory = function (configuration, basePath, axios) {
|
|
|
1968
1996
|
exports.CRMApiFactory = CRMApiFactory;
|
|
1969
1997
|
/**
|
|
1970
1998
|
* CRMApi - object-oriented interface
|
|
1999
|
+
* @export
|
|
2000
|
+
* @class CRMApi
|
|
2001
|
+
* @extends {BaseAPI}
|
|
1971
2002
|
*/
|
|
1972
2003
|
var CRMApi = /** @class */ (function (_super) {
|
|
1973
2004
|
__extends(CRMApi, _super);
|
|
@@ -1978,6 +2009,7 @@ var CRMApi = /** @class */ (function (_super) {
|
|
|
1978
2009
|
* Search for contacts by phone number
|
|
1979
2010
|
* @param {*} [options] Override http request option.
|
|
1980
2011
|
* @throws {RequiredError}
|
|
2012
|
+
* @memberof CRMApi
|
|
1981
2013
|
*/
|
|
1982
2014
|
CRMApi.prototype.getSearchByPhone = function (options) {
|
|
1983
2015
|
var _this = this;
|
|
@@ -1988,6 +2020,7 @@ var CRMApi = /** @class */ (function (_super) {
|
|
|
1988
2020
|
exports.CRMApi = CRMApi;
|
|
1989
2021
|
/**
|
|
1990
2022
|
* Class3CXApi - axios parameter creator
|
|
2023
|
+
* @export
|
|
1991
2024
|
*/
|
|
1992
2025
|
var Class3CXApiAxiosParamCreator = function (configuration) {
|
|
1993
2026
|
var _this = this;
|
|
@@ -2072,6 +2105,7 @@ var Class3CXApiAxiosParamCreator = function (configuration) {
|
|
|
2072
2105
|
exports.Class3CXApiAxiosParamCreator = Class3CXApiAxiosParamCreator;
|
|
2073
2106
|
/**
|
|
2074
2107
|
* Class3CXApi - functional programming interface
|
|
2108
|
+
* @export
|
|
2075
2109
|
*/
|
|
2076
2110
|
var Class3CXApiFp = function (configuration) {
|
|
2077
2111
|
var localVarAxiosParamCreator = (0, exports.Class3CXApiAxiosParamCreator)(configuration);
|
|
@@ -2127,6 +2161,7 @@ var Class3CXApiFp = function (configuration) {
|
|
|
2127
2161
|
exports.Class3CXApiFp = Class3CXApiFp;
|
|
2128
2162
|
/**
|
|
2129
2163
|
* Class3CXApi - factory interface
|
|
2164
|
+
* @export
|
|
2130
2165
|
*/
|
|
2131
2166
|
var Class3CXApiFactory = function (configuration, basePath, axios) {
|
|
2132
2167
|
var localVarFp = (0, exports.Class3CXApiFp)(configuration);
|
|
@@ -2156,6 +2191,9 @@ var Class3CXApiFactory = function (configuration, basePath, axios) {
|
|
|
2156
2191
|
exports.Class3CXApiFactory = Class3CXApiFactory;
|
|
2157
2192
|
/**
|
|
2158
2193
|
* Class3CXApi - object-oriented interface
|
|
2194
|
+
* @export
|
|
2195
|
+
* @class Class3CXApi
|
|
2196
|
+
* @extends {BaseAPI}
|
|
2159
2197
|
*/
|
|
2160
2198
|
var Class3CXApi = /** @class */ (function (_super) {
|
|
2161
2199
|
__extends(Class3CXApi, _super);
|
|
@@ -2168,6 +2206,7 @@ var Class3CXApi = /** @class */ (function (_super) {
|
|
|
2168
2206
|
* @param {string} key 3CX Licence Key
|
|
2169
2207
|
* @param {*} [options] Override http request option.
|
|
2170
2208
|
* @throws {RequiredError}
|
|
2209
|
+
* @memberof Class3CXApi
|
|
2171
2210
|
*/
|
|
2172
2211
|
Class3CXApi.prototype.getGetLicenceDetails = function (key, options) {
|
|
2173
2212
|
var _this = this;
|
|
@@ -2179,6 +2218,7 @@ var Class3CXApi = /** @class */ (function (_super) {
|
|
|
2179
2218
|
* @param {Array<string>} [requestBody] Licence Lookup Request
|
|
2180
2219
|
* @param {*} [options] Override http request option.
|
|
2181
2220
|
* @throws {RequiredError}
|
|
2221
|
+
* @memberof Class3CXApi
|
|
2182
2222
|
*/
|
|
2183
2223
|
Class3CXApi.prototype.postGetBulkLicenceDetails = function (requestBody, options) {
|
|
2184
2224
|
var _this = this;
|
|
@@ -2189,6 +2229,7 @@ var Class3CXApi = /** @class */ (function (_super) {
|
|
|
2189
2229
|
exports.Class3CXApi = Class3CXApi;
|
|
2190
2230
|
/**
|
|
2191
2231
|
* Class3CXInstallationWizardApi - axios parameter creator
|
|
2232
|
+
* @export
|
|
2192
2233
|
*/
|
|
2193
2234
|
var Class3CXInstallationWizardApiAxiosParamCreator = function (configuration) {
|
|
2194
2235
|
var _this = this;
|
|
@@ -3438,6 +3479,7 @@ var Class3CXInstallationWizardApiAxiosParamCreator = function (configuration) {
|
|
|
3438
3479
|
exports.Class3CXInstallationWizardApiAxiosParamCreator = Class3CXInstallationWizardApiAxiosParamCreator;
|
|
3439
3480
|
/**
|
|
3440
3481
|
* Class3CXInstallationWizardApi - functional programming interface
|
|
3482
|
+
* @export
|
|
3441
3483
|
*/
|
|
3442
3484
|
var Class3CXInstallationWizardApiFp = function (configuration) {
|
|
3443
3485
|
var localVarAxiosParamCreator = (0, exports.Class3CXInstallationWizardApiAxiosParamCreator)(configuration);
|
|
@@ -4210,6 +4252,7 @@ var Class3CXInstallationWizardApiFp = function (configuration) {
|
|
|
4210
4252
|
exports.Class3CXInstallationWizardApiFp = Class3CXInstallationWizardApiFp;
|
|
4211
4253
|
/**
|
|
4212
4254
|
* Class3CXInstallationWizardApi - factory interface
|
|
4255
|
+
* @export
|
|
4213
4256
|
*/
|
|
4214
4257
|
var Class3CXInstallationWizardApiFactory = function (configuration, basePath, axios) {
|
|
4215
4258
|
var localVarFp = (0, exports.Class3CXInstallationWizardApiFp)(configuration);
|
|
@@ -4553,6 +4596,9 @@ var Class3CXInstallationWizardApiFactory = function (configuration, basePath, ax
|
|
|
4553
4596
|
exports.Class3CXInstallationWizardApiFactory = Class3CXInstallationWizardApiFactory;
|
|
4554
4597
|
/**
|
|
4555
4598
|
* Class3CXInstallationWizardApi - object-oriented interface
|
|
4599
|
+
* @export
|
|
4600
|
+
* @class Class3CXInstallationWizardApi
|
|
4601
|
+
* @extends {BaseAPI}
|
|
4556
4602
|
*/
|
|
4557
4603
|
var Class3CXInstallationWizardApi = /** @class */ (function (_super) {
|
|
4558
4604
|
__extends(Class3CXInstallationWizardApi, _super);
|
|
@@ -4565,6 +4611,7 @@ var Class3CXInstallationWizardApi = /** @class */ (function (_super) {
|
|
|
4565
4611
|
* @param {Array<TcxExtsEntity>} [tcxExtsEntity] 3CX Wizard Extensions
|
|
4566
4612
|
* @param {*} [options] Override http request option.
|
|
4567
4613
|
* @throws {RequiredError}
|
|
4614
|
+
* @memberof Class3CXInstallationWizardApi
|
|
4568
4615
|
*/
|
|
4569
4616
|
Class3CXInstallationWizardApi.prototype.deleteAddExtensions = function (tcxExtsEntity, options) {
|
|
4570
4617
|
var _this = this;
|
|
@@ -4576,6 +4623,7 @@ var Class3CXInstallationWizardApi = /** @class */ (function (_super) {
|
|
|
4576
4623
|
* @param {Array<TcxNumbersEntity>} [tcxNumbersEntity] 3CX Wizard Numbers
|
|
4577
4624
|
* @param {*} [options] Override http request option.
|
|
4578
4625
|
* @throws {RequiredError}
|
|
4626
|
+
* @memberof Class3CXInstallationWizardApi
|
|
4579
4627
|
*/
|
|
4580
4628
|
Class3CXInstallationWizardApi.prototype.deleteAddNumbers = function (tcxNumbersEntity, options) {
|
|
4581
4629
|
var _this = this;
|
|
@@ -4587,6 +4635,7 @@ var Class3CXInstallationWizardApi = /** @class */ (function (_super) {
|
|
|
4587
4635
|
* @param {Array<TcxPhonesEntity>} [tcxPhonesEntity] 3CX Wizard Phones
|
|
4588
4636
|
* @param {*} [options] Override http request option.
|
|
4589
4637
|
* @throws {RequiredError}
|
|
4638
|
+
* @memberof Class3CXInstallationWizardApi
|
|
4590
4639
|
*/
|
|
4591
4640
|
Class3CXInstallationWizardApi.prototype.deleteAddPhones = function (tcxPhonesEntity, options) {
|
|
4592
4641
|
var _this = this;
|
|
@@ -4598,6 +4647,7 @@ var Class3CXInstallationWizardApi = /** @class */ (function (_super) {
|
|
|
4598
4647
|
* @param {Array<TcxSbcModel>} [tcxSbcModel] 3CX Wizard SBCs
|
|
4599
4648
|
* @param {*} [options] Override http request option.
|
|
4600
4649
|
* @throws {RequiredError}
|
|
4650
|
+
* @memberof Class3CXInstallationWizardApi
|
|
4601
4651
|
*/
|
|
4602
4652
|
Class3CXInstallationWizardApi.prototype.deleteAddSbcs = function (tcxSbcModel, options) {
|
|
4603
4653
|
var _this = this;
|
|
@@ -4608,6 +4658,7 @@ var Class3CXInstallationWizardApi = /** @class */ (function (_super) {
|
|
|
4608
4658
|
* @summary Delete 3CX Installation Wizard
|
|
4609
4659
|
* @param {*} [options] Override http request option.
|
|
4610
4660
|
* @throws {RequiredError}
|
|
4661
|
+
* @memberof Class3CXInstallationWizardApi
|
|
4611
4662
|
*/
|
|
4612
4663
|
Class3CXInstallationWizardApi.prototype.deleteGetWizard = function (options) {
|
|
4613
4664
|
var _this = this;
|
|
@@ -4618,6 +4669,7 @@ var Class3CXInstallationWizardApi = /** @class */ (function (_super) {
|
|
|
4618
4669
|
* @summary Get phones on linked order and MAC addresses
|
|
4619
4670
|
* @param {*} [options] Override http request option.
|
|
4620
4671
|
* @throws {RequiredError}
|
|
4672
|
+
* @memberof Class3CXInstallationWizardApi
|
|
4621
4673
|
*/
|
|
4622
4674
|
Class3CXInstallationWizardApi.prototype.getAddPhones = function (options) {
|
|
4623
4675
|
var _this = this;
|
|
@@ -4628,6 +4680,7 @@ var Class3CXInstallationWizardApi = /** @class */ (function (_super) {
|
|
|
4628
4680
|
* @summary Get UK National Area Codes
|
|
4629
4681
|
* @param {*} [options] Override http request option.
|
|
4630
4682
|
* @throws {RequiredError}
|
|
4683
|
+
* @memberof Class3CXInstallationWizardApi
|
|
4631
4684
|
*/
|
|
4632
4685
|
Class3CXInstallationWizardApi.prototype.getGetAreaCodesTcxWizard = function (options) {
|
|
4633
4686
|
var _this = this;
|
|
@@ -4639,6 +4692,7 @@ var Class3CXInstallationWizardApi = /** @class */ (function (_super) {
|
|
|
4639
4692
|
* @param {number} id SIP Trunk ID
|
|
4640
4693
|
* @param {*} [options] Override http request option.
|
|
4641
4694
|
* @throws {RequiredError}
|
|
4695
|
+
* @memberof Class3CXInstallationWizardApi
|
|
4642
4696
|
*/
|
|
4643
4697
|
Class3CXInstallationWizardApi.prototype.getGetDdisTcxWizard = function (id, options) {
|
|
4644
4698
|
var _this = this;
|
|
@@ -4649,6 +4703,7 @@ var Class3CXInstallationWizardApi = /** @class */ (function (_super) {
|
|
|
4649
4703
|
* @summary Get Hosting Price
|
|
4650
4704
|
* @param {*} [options] Override http request option.
|
|
4651
4705
|
* @throws {RequiredError}
|
|
4706
|
+
* @memberof Class3CXInstallationWizardApi
|
|
4652
4707
|
*/
|
|
4653
4708
|
Class3CXInstallationWizardApi.prototype.getGetHostingPrice = function (options) {
|
|
4654
4709
|
var _this = this;
|
|
@@ -4659,6 +4714,7 @@ var Class3CXInstallationWizardApi = /** @class */ (function (_super) {
|
|
|
4659
4714
|
* @summary Get 3CX Hosting Regions
|
|
4660
4715
|
* @param {*} [options] Override http request option.
|
|
4661
4716
|
* @throws {RequiredError}
|
|
4717
|
+
* @memberof Class3CXInstallationWizardApi
|
|
4662
4718
|
*/
|
|
4663
4719
|
Class3CXInstallationWizardApi.prototype.getGetHostingRegions = function (options) {
|
|
4664
4720
|
var _this = this;
|
|
@@ -4674,6 +4730,7 @@ var Class3CXInstallationWizardApi = /** @class */ (function (_super) {
|
|
|
4674
4730
|
* @param {*} [options] Override http request option.
|
|
4675
4731
|
* @deprecated
|
|
4676
4732
|
* @throws {RequiredError}
|
|
4733
|
+
* @memberof Class3CXInstallationWizardApi
|
|
4677
4734
|
*/
|
|
4678
4735
|
Class3CXInstallationWizardApi.prototype.getGetInstallStatus = function (id, u, c, p, options) {
|
|
4679
4736
|
var _this = this;
|
|
@@ -4684,6 +4741,7 @@ var Class3CXInstallationWizardApi = /** @class */ (function (_super) {
|
|
|
4684
4741
|
* @summary Get 3CX Instance Install Status
|
|
4685
4742
|
* @param {*} [options] Override http request option.
|
|
4686
4743
|
* @throws {RequiredError}
|
|
4744
|
+
* @memberof Class3CXInstallationWizardApi
|
|
4687
4745
|
*/
|
|
4688
4746
|
Class3CXInstallationWizardApi.prototype.getGetInstanceInstallStatus = function (options) {
|
|
4689
4747
|
var _this = this;
|
|
@@ -4694,6 +4752,7 @@ var Class3CXInstallationWizardApi = /** @class */ (function (_super) {
|
|
|
4694
4752
|
* @summary Get PBX IP Address
|
|
4695
4753
|
* @param {*} [options] Override http request option.
|
|
4696
4754
|
* @throws {RequiredError}
|
|
4755
|
+
* @memberof Class3CXInstallationWizardApi
|
|
4697
4756
|
*/
|
|
4698
4757
|
Class3CXInstallationWizardApi.prototype.getGetPbxIpAddress = function (options) {
|
|
4699
4758
|
var _this = this;
|
|
@@ -4705,6 +4764,7 @@ var Class3CXInstallationWizardApi = /** @class */ (function (_super) {
|
|
|
4705
4764
|
* @param {number} id SIP Trunk ID
|
|
4706
4765
|
* @param {*} [options] Override http request option.
|
|
4707
4766
|
* @throws {RequiredError}
|
|
4767
|
+
* @memberof Class3CXInstallationWizardApi
|
|
4708
4768
|
*/
|
|
4709
4769
|
Class3CXInstallationWizardApi.prototype.getGetSipTrunkTcxWizard = function (id, options) {
|
|
4710
4770
|
var _this = this;
|
|
@@ -4718,6 +4778,7 @@ var Class3CXInstallationWizardApi = /** @class */ (function (_super) {
|
|
|
4718
4778
|
* @param {string} [search] Search
|
|
4719
4779
|
* @param {*} [options] Override http request option.
|
|
4720
4780
|
* @throws {RequiredError}
|
|
4781
|
+
* @memberof Class3CXInstallationWizardApi
|
|
4721
4782
|
*/
|
|
4722
4783
|
Class3CXInstallationWizardApi.prototype.getGetSipTrunksTcxWizard = function (pageSize, page, search, options) {
|
|
4723
4784
|
var _this = this;
|
|
@@ -4728,6 +4789,7 @@ var Class3CXInstallationWizardApi = /** @class */ (function (_super) {
|
|
|
4728
4789
|
* @summary Get 3CX Installation Wizard
|
|
4729
4790
|
* @param {*} [options] Override http request option.
|
|
4730
4791
|
* @throws {RequiredError}
|
|
4792
|
+
* @memberof Class3CXInstallationWizardApi
|
|
4731
4793
|
*/
|
|
4732
4794
|
Class3CXInstallationWizardApi.prototype.getGetWizard = function (options) {
|
|
4733
4795
|
var _this = this;
|
|
@@ -4739,6 +4801,7 @@ var Class3CXInstallationWizardApi = /** @class */ (function (_super) {
|
|
|
4739
4801
|
* @param {Array<TcxExtsEntity>} [tcxExtsEntity] 3CX Wizard Extensions
|
|
4740
4802
|
* @param {*} [options] Override http request option.
|
|
4741
4803
|
* @throws {RequiredError}
|
|
4804
|
+
* @memberof Class3CXInstallationWizardApi
|
|
4742
4805
|
*/
|
|
4743
4806
|
Class3CXInstallationWizardApi.prototype.patchAddExtensions = function (tcxExtsEntity, options) {
|
|
4744
4807
|
var _this = this;
|
|
@@ -4750,6 +4813,7 @@ var Class3CXInstallationWizardApi = /** @class */ (function (_super) {
|
|
|
4750
4813
|
* @param {Array<TcxNumbersEntity>} [tcxNumbersEntity] 3CX Wizard Numbers
|
|
4751
4814
|
* @param {*} [options] Override http request option.
|
|
4752
4815
|
* @throws {RequiredError}
|
|
4816
|
+
* @memberof Class3CXInstallationWizardApi
|
|
4753
4817
|
*/
|
|
4754
4818
|
Class3CXInstallationWizardApi.prototype.patchAddNumbers = function (tcxNumbersEntity, options) {
|
|
4755
4819
|
var _this = this;
|
|
@@ -4761,6 +4825,7 @@ var Class3CXInstallationWizardApi = /** @class */ (function (_super) {
|
|
|
4761
4825
|
* @param {Array<TcxPhonesEntity>} [tcxPhonesEntity] 3CX Wizard Phones
|
|
4762
4826
|
* @param {*} [options] Override http request option.
|
|
4763
4827
|
* @throws {RequiredError}
|
|
4828
|
+
* @memberof Class3CXInstallationWizardApi
|
|
4764
4829
|
*/
|
|
4765
4830
|
Class3CXInstallationWizardApi.prototype.patchAddPhones = function (tcxPhonesEntity, options) {
|
|
4766
4831
|
var _this = this;
|
|
@@ -4772,6 +4837,7 @@ var Class3CXInstallationWizardApi = /** @class */ (function (_super) {
|
|
|
4772
4837
|
* @param {Array<TcxSbcModel>} [tcxSbcModel] 3CX Wizard SBCs
|
|
4773
4838
|
* @param {*} [options] Override http request option.
|
|
4774
4839
|
* @throws {RequiredError}
|
|
4840
|
+
* @memberof Class3CXInstallationWizardApi
|
|
4775
4841
|
*/
|
|
4776
4842
|
Class3CXInstallationWizardApi.prototype.patchAddSbcs = function (tcxSbcModel, options) {
|
|
4777
4843
|
var _this = this;
|
|
@@ -4783,6 +4849,7 @@ var Class3CXInstallationWizardApi = /** @class */ (function (_super) {
|
|
|
4783
4849
|
* @param {TcxWizardModel} [tcxWizardModel] 3CX Wizard
|
|
4784
4850
|
* @param {*} [options] Override http request option.
|
|
4785
4851
|
* @throws {RequiredError}
|
|
4852
|
+
* @memberof Class3CXInstallationWizardApi
|
|
4786
4853
|
*/
|
|
4787
4854
|
Class3CXInstallationWizardApi.prototype.patchGetWizard = function (tcxWizardModel, options) {
|
|
4788
4855
|
var _this = this;
|
|
@@ -4794,6 +4861,7 @@ var Class3CXInstallationWizardApi = /** @class */ (function (_super) {
|
|
|
4794
4861
|
* @param {Array<TcxExtsEntity>} [tcxExtsEntity] 3CX Wizard Extension
|
|
4795
4862
|
* @param {*} [options] Override http request option.
|
|
4796
4863
|
* @throws {RequiredError}
|
|
4864
|
+
* @memberof Class3CXInstallationWizardApi
|
|
4797
4865
|
*/
|
|
4798
4866
|
Class3CXInstallationWizardApi.prototype.postAddExtensions = function (tcxExtsEntity, options) {
|
|
4799
4867
|
var _this = this;
|
|
@@ -4805,6 +4873,7 @@ var Class3CXInstallationWizardApi = /** @class */ (function (_super) {
|
|
|
4805
4873
|
* @param {Array<TcxNumbersEntity>} [tcxNumbersEntity] 3CX Wizard Numbers
|
|
4806
4874
|
* @param {*} [options] Override http request option.
|
|
4807
4875
|
* @throws {RequiredError}
|
|
4876
|
+
* @memberof Class3CXInstallationWizardApi
|
|
4808
4877
|
*/
|
|
4809
4878
|
Class3CXInstallationWizardApi.prototype.postAddNumbers = function (tcxNumbersEntity, options) {
|
|
4810
4879
|
var _this = this;
|
|
@@ -4816,6 +4885,7 @@ var Class3CXInstallationWizardApi = /** @class */ (function (_super) {
|
|
|
4816
4885
|
* @param {Array<TcxPhonesEntity>} [tcxPhonesEntity] 3CX Wizard Phones
|
|
4817
4886
|
* @param {*} [options] Override http request option.
|
|
4818
4887
|
* @throws {RequiredError}
|
|
4888
|
+
* @memberof Class3CXInstallationWizardApi
|
|
4819
4889
|
*/
|
|
4820
4890
|
Class3CXInstallationWizardApi.prototype.postAddPhones = function (tcxPhonesEntity, options) {
|
|
4821
4891
|
var _this = this;
|
|
@@ -4827,6 +4897,7 @@ var Class3CXInstallationWizardApi = /** @class */ (function (_super) {
|
|
|
4827
4897
|
* @param {Array<TcxSbcModel>} [tcxSbcModel] 3CX Wizard SBCs
|
|
4828
4898
|
* @param {*} [options] Override http request option.
|
|
4829
4899
|
* @throws {RequiredError}
|
|
4900
|
+
* @memberof Class3CXInstallationWizardApi
|
|
4830
4901
|
*/
|
|
4831
4902
|
Class3CXInstallationWizardApi.prototype.postAddSbcs = function (tcxSbcModel, options) {
|
|
4832
4903
|
var _this = this;
|
|
@@ -4837,6 +4908,7 @@ var Class3CXInstallationWizardApi = /** @class */ (function (_super) {
|
|
|
4837
4908
|
* @summary Build Instance From 3CX Installation Wizard
|
|
4838
4909
|
* @param {*} [options] Override http request option.
|
|
4839
4910
|
* @throws {RequiredError}
|
|
4911
|
+
* @memberof Class3CXInstallationWizardApi
|
|
4840
4912
|
*/
|
|
4841
4913
|
Class3CXInstallationWizardApi.prototype.postBuildInstance = function (options) {
|
|
4842
4914
|
var _this = this;
|
|
@@ -4852,6 +4924,7 @@ var Class3CXInstallationWizardApi = /** @class */ (function (_super) {
|
|
|
4852
4924
|
* @param {*} [options] Override http request option.
|
|
4853
4925
|
* @deprecated
|
|
4854
4926
|
* @throws {RequiredError}
|
|
4927
|
+
* @memberof Class3CXInstallationWizardApi
|
|
4855
4928
|
*/
|
|
4856
4929
|
Class3CXInstallationWizardApi.prototype.postBuildInstanceFromWizard = function (id, u, c, p, options) {
|
|
4857
4930
|
var _this = this;
|
|
@@ -4862,6 +4935,7 @@ var Class3CXInstallationWizardApi = /** @class */ (function (_super) {
|
|
|
4862
4935
|
* @summary Create Instance From 3CX Installation Wizard
|
|
4863
4936
|
* @param {*} [options] Override http request option.
|
|
4864
4937
|
* @throws {RequiredError}
|
|
4938
|
+
* @memberof Class3CXInstallationWizardApi
|
|
4865
4939
|
*/
|
|
4866
4940
|
Class3CXInstallationWizardApi.prototype.postCreateInstance = function (options) {
|
|
4867
4941
|
var _this = this;
|
|
@@ -4877,6 +4951,7 @@ var Class3CXInstallationWizardApi = /** @class */ (function (_super) {
|
|
|
4877
4951
|
* @param {*} [options] Override http request option.
|
|
4878
4952
|
* @deprecated
|
|
4879
4953
|
* @throws {RequiredError}
|
|
4954
|
+
* @memberof Class3CXInstallationWizardApi
|
|
4880
4955
|
*/
|
|
4881
4956
|
Class3CXInstallationWizardApi.prototype.postCreateInstanceFromWizard = function (id, u, c, p, options) {
|
|
4882
4957
|
var _this = this;
|
|
@@ -4889,6 +4964,7 @@ var Class3CXInstallationWizardApi = /** @class */ (function (_super) {
|
|
|
4889
4964
|
* @param {DdiRangesRequestModel} [ddiRangesRequestModel] DDI Request
|
|
4890
4965
|
* @param {*} [options] Override http request option.
|
|
4891
4966
|
* @throws {RequiredError}
|
|
4967
|
+
* @memberof Class3CXInstallationWizardApi
|
|
4892
4968
|
*/
|
|
4893
4969
|
Class3CXInstallationWizardApi.prototype.postGetDdisTcxWizard = function (id, ddiRangesRequestModel, options) {
|
|
4894
4970
|
var _this = this;
|
|
@@ -4900,6 +4976,7 @@ var Class3CXInstallationWizardApi = /** @class */ (function (_super) {
|
|
|
4900
4976
|
* @param {SipTrunkChangeResponseModel} [sipTrunkChangeResponseModel] Change Request
|
|
4901
4977
|
* @param {*} [options] Override http request option.
|
|
4902
4978
|
* @throws {RequiredError}
|
|
4979
|
+
* @memberof Class3CXInstallationWizardApi
|
|
4903
4980
|
*/
|
|
4904
4981
|
Class3CXInstallationWizardApi.prototype.postGetRequestedDdisTcxWizard = function (sipTrunkChangeResponseModel, options) {
|
|
4905
4982
|
var _this = this;
|
|
@@ -4911,6 +4988,7 @@ var Class3CXInstallationWizardApi = /** @class */ (function (_super) {
|
|
|
4911
4988
|
* @param {SipTrunkCreationRequestModel} [sipTrunkCreationRequestModel] New SIP Trunk Request
|
|
4912
4989
|
* @param {*} [options] Override http request option.
|
|
4913
4990
|
* @throws {RequiredError}
|
|
4991
|
+
* @memberof Class3CXInstallationWizardApi
|
|
4914
4992
|
*/
|
|
4915
4993
|
Class3CXInstallationWizardApi.prototype.postGetSipTrunksTcxWizard = function (sipTrunkCreationRequestModel, options) {
|
|
4916
4994
|
var _this = this;
|
|
@@ -4921,6 +4999,7 @@ var Class3CXInstallationWizardApi = /** @class */ (function (_super) {
|
|
|
4921
4999
|
* @param {File} backup 3CX Backup ZIP File
|
|
4922
5000
|
* @param {*} [options] Override http request option.
|
|
4923
5001
|
* @throws {RequiredError}
|
|
5002
|
+
* @memberof Class3CXInstallationWizardApi
|
|
4924
5003
|
*/
|
|
4925
5004
|
Class3CXInstallationWizardApi.prototype.postUploadBackup = function (backup, options) {
|
|
4926
5005
|
var _this = this;
|
|
@@ -4931,6 +5010,7 @@ var Class3CXInstallationWizardApi = /** @class */ (function (_super) {
|
|
|
4931
5010
|
exports.Class3CXInstallationWizardApi = Class3CXInstallationWizardApi;
|
|
4932
5011
|
/**
|
|
4933
5012
|
* Class3CXInstallationsApi - axios parameter creator
|
|
5013
|
+
* @export
|
|
4934
5014
|
*/
|
|
4935
5015
|
var Class3CXInstallationsApiAxiosParamCreator = function (configuration) {
|
|
4936
5016
|
var _this = this;
|
|
@@ -5421,6 +5501,7 @@ var Class3CXInstallationsApiAxiosParamCreator = function (configuration) {
|
|
|
5421
5501
|
exports.Class3CXInstallationsApiAxiosParamCreator = Class3CXInstallationsApiAxiosParamCreator;
|
|
5422
5502
|
/**
|
|
5423
5503
|
* Class3CXInstallationsApi - functional programming interface
|
|
5504
|
+
* @export
|
|
5424
5505
|
*/
|
|
5425
5506
|
var Class3CXInstallationsApiFp = function (configuration) {
|
|
5426
5507
|
var localVarAxiosParamCreator = (0, exports.Class3CXInstallationsApiAxiosParamCreator)(configuration);
|
|
@@ -5698,6 +5779,7 @@ var Class3CXInstallationsApiFp = function (configuration) {
|
|
|
5698
5779
|
exports.Class3CXInstallationsApiFp = Class3CXInstallationsApiFp;
|
|
5699
5780
|
/**
|
|
5700
5781
|
* Class3CXInstallationsApi - factory interface
|
|
5782
|
+
* @export
|
|
5701
5783
|
*/
|
|
5702
5784
|
var Class3CXInstallationsApiFactory = function (configuration, basePath, axios) {
|
|
5703
5785
|
var localVarFp = (0, exports.Class3CXInstallationsApiFp)(configuration);
|
|
@@ -5832,6 +5914,9 @@ var Class3CXInstallationsApiFactory = function (configuration, basePath, axios)
|
|
|
5832
5914
|
exports.Class3CXInstallationsApiFactory = Class3CXInstallationsApiFactory;
|
|
5833
5915
|
/**
|
|
5834
5916
|
* Class3CXInstallationsApi - object-oriented interface
|
|
5917
|
+
* @export
|
|
5918
|
+
* @class Class3CXInstallationsApi
|
|
5919
|
+
* @extends {BaseAPI}
|
|
5835
5920
|
*/
|
|
5836
5921
|
var Class3CXInstallationsApi = /** @class */ (function (_super) {
|
|
5837
5922
|
__extends(Class3CXInstallationsApi, _super);
|
|
@@ -5844,6 +5929,7 @@ var Class3CXInstallationsApi = /** @class */ (function (_super) {
|
|
|
5844
5929
|
* @param {number} wizardId Wizard ID
|
|
5845
5930
|
* @param {*} [options] Override http request option.
|
|
5846
5931
|
* @throws {RequiredError}
|
|
5932
|
+
* @memberof Class3CXInstallationsApi
|
|
5847
5933
|
*/
|
|
5848
5934
|
Class3CXInstallationsApi.prototype.getGetDetails = function (wizardId, options) {
|
|
5849
5935
|
var _this = this;
|
|
@@ -5861,6 +5947,7 @@ var Class3CXInstallationsApi = /** @class */ (function (_super) {
|
|
|
5861
5947
|
* @param {GetGetInstallationsInstallTypeEnum} [installType] Install Type
|
|
5862
5948
|
* @param {*} [options] Override http request option.
|
|
5863
5949
|
* @throws {RequiredError}
|
|
5950
|
+
* @memberof Class3CXInstallationsApi
|
|
5864
5951
|
*/
|
|
5865
5952
|
Class3CXInstallationsApi.prototype.getGetInstallations = function (pageSize, page, customerId, search, status, hosting, installType, options) {
|
|
5866
5953
|
var _this = this;
|
|
@@ -5874,6 +5961,7 @@ var Class3CXInstallationsApi = /** @class */ (function (_super) {
|
|
|
5874
5961
|
* @param {string} ipAddress Whitelist IP Address
|
|
5875
5962
|
* @param {*} [options] Override http request option.
|
|
5876
5963
|
* @throws {RequiredError}
|
|
5964
|
+
* @memberof Class3CXInstallationsApi
|
|
5877
5965
|
*/
|
|
5878
5966
|
Class3CXInstallationsApi.prototype.postCreateSshUser = function (instanceId, expiryDate, ipAddress, options) {
|
|
5879
5967
|
var _this = this;
|
|
@@ -5885,6 +5973,7 @@ var Class3CXInstallationsApi = /** @class */ (function (_super) {
|
|
|
5885
5973
|
* @param {string} instanceId Instance ID
|
|
5886
5974
|
* @param {*} [options] Override http request option.
|
|
5887
5975
|
* @throws {RequiredError}
|
|
5976
|
+
* @memberof Class3CXInstallationsApi
|
|
5888
5977
|
*/
|
|
5889
5978
|
Class3CXInstallationsApi.prototype.postDeleteInstance = function (instanceId, options) {
|
|
5890
5979
|
var _this = this;
|
|
@@ -5898,6 +5987,7 @@ var Class3CXInstallationsApi = /** @class */ (function (_super) {
|
|
|
5898
5987
|
* @param {string} schedule Scheduled Task (Date & Time)
|
|
5899
5988
|
* @param {*} [options] Override http request option.
|
|
5900
5989
|
* @throws {RequiredError}
|
|
5990
|
+
* @memberof Class3CXInstallationsApi
|
|
5901
5991
|
*/
|
|
5902
5992
|
Class3CXInstallationsApi.prototype.postExtendDisk = function (instanceId, gigabytes, schedule, options) {
|
|
5903
5993
|
var _this = this;
|
|
@@ -5910,6 +6000,7 @@ var Class3CXInstallationsApi = /** @class */ (function (_super) {
|
|
|
5910
6000
|
* @param {PostFailoverInstanceTypeEnum} type Failover Type
|
|
5911
6001
|
* @param {*} [options] Override http request option.
|
|
5912
6002
|
* @throws {RequiredError}
|
|
6003
|
+
* @memberof Class3CXInstallationsApi
|
|
5913
6004
|
*/
|
|
5914
6005
|
Class3CXInstallationsApi.prototype.postFailoverInstance = function (instanceId, type, options) {
|
|
5915
6006
|
var _this = this;
|
|
@@ -5921,6 +6012,7 @@ var Class3CXInstallationsApi = /** @class */ (function (_super) {
|
|
|
5921
6012
|
* @param {string} instanceId Instance ID
|
|
5922
6013
|
* @param {*} [options] Override http request option.
|
|
5923
6014
|
* @throws {RequiredError}
|
|
6015
|
+
* @memberof Class3CXInstallationsApi
|
|
5924
6016
|
*/
|
|
5925
6017
|
Class3CXInstallationsApi.prototype.postRebootInstance = function (instanceId, options) {
|
|
5926
6018
|
var _this = this;
|
|
@@ -5934,6 +6026,7 @@ var Class3CXInstallationsApi = /** @class */ (function (_super) {
|
|
|
5934
6026
|
* @param {string} [schedule] Scheduled Task (Date & Time)
|
|
5935
6027
|
* @param {*} [options] Override http request option.
|
|
5936
6028
|
* @throws {RequiredError}
|
|
6029
|
+
* @memberof Class3CXInstallationsApi
|
|
5937
6030
|
*/
|
|
5938
6031
|
Class3CXInstallationsApi.prototype.postResizeInstance = function (instanceId, size, schedule, options) {
|
|
5939
6032
|
var _this = this;
|
|
@@ -5946,6 +6039,7 @@ var Class3CXInstallationsApi = /** @class */ (function (_super) {
|
|
|
5946
6039
|
* @param {string} [schedule] Scheduled Task (Date & Time)
|
|
5947
6040
|
* @param {*} [options] Override http request option.
|
|
5948
6041
|
* @throws {RequiredError}
|
|
6042
|
+
* @memberof Class3CXInstallationsApi
|
|
5949
6043
|
*/
|
|
5950
6044
|
Class3CXInstallationsApi.prototype.postSuspendInstance = function (instanceId, schedule, options) {
|
|
5951
6045
|
var _this = this;
|
|
@@ -5957,6 +6051,7 @@ var Class3CXInstallationsApi = /** @class */ (function (_super) {
|
|
|
5957
6051
|
* @param {string} instanceId Instance ID
|
|
5958
6052
|
* @param {*} [options] Override http request option.
|
|
5959
6053
|
* @throws {RequiredError}
|
|
6054
|
+
* @memberof Class3CXInstallationsApi
|
|
5960
6055
|
*/
|
|
5961
6056
|
Class3CXInstallationsApi.prototype.postUnsuspendInstance = function (instanceId, options) {
|
|
5962
6057
|
var _this = this;
|
|
@@ -5969,6 +6064,7 @@ var Class3CXInstallationsApi = /** @class */ (function (_super) {
|
|
|
5969
6064
|
* @param {string} schedule Scheduled Task (Date & Time)
|
|
5970
6065
|
* @param {*} [options] Override http request option.
|
|
5971
6066
|
* @throws {RequiredError}
|
|
6067
|
+
* @memberof Class3CXInstallationsApi
|
|
5972
6068
|
*/
|
|
5973
6069
|
Class3CXInstallationsApi.prototype.postUpgradeDebian = function (instanceId, schedule, options) {
|
|
5974
6070
|
var _this = this;
|
|
@@ -5977,28 +6073,43 @@ var Class3CXInstallationsApi = /** @class */ (function (_super) {
|
|
|
5977
6073
|
return Class3CXInstallationsApi;
|
|
5978
6074
|
}(base_1.BaseAPI));
|
|
5979
6075
|
exports.Class3CXInstallationsApi = Class3CXInstallationsApi;
|
|
6076
|
+
/**
|
|
6077
|
+
* @export
|
|
6078
|
+
*/
|
|
5980
6079
|
exports.GetGetInstallationsStatusEnum = {
|
|
5981
6080
|
Completed: 'Completed',
|
|
5982
6081
|
Outstanding: 'Outstanding',
|
|
5983
6082
|
Offline: 'Offline',
|
|
5984
6083
|
FailedOver: 'Failed Over'
|
|
5985
6084
|
};
|
|
6085
|
+
/**
|
|
6086
|
+
* @export
|
|
6087
|
+
*/
|
|
5986
6088
|
exports.GetGetInstallationsHostingEnum = {
|
|
5987
6089
|
Yellowgrid: 'yellowgrid',
|
|
5988
6090
|
MultiTenant: 'multi-tenant',
|
|
5989
6091
|
Onprem: 'onprem',
|
|
5990
6092
|
All: 'all'
|
|
5991
6093
|
};
|
|
6094
|
+
/**
|
|
6095
|
+
* @export
|
|
6096
|
+
*/
|
|
5992
6097
|
exports.GetGetInstallationsInstallTypeEnum = {
|
|
5993
6098
|
New: 'new',
|
|
5994
6099
|
Restore: 'restore',
|
|
5995
6100
|
Failover: 'failover',
|
|
5996
6101
|
MultiTenant: 'multi-tenant'
|
|
5997
6102
|
};
|
|
6103
|
+
/**
|
|
6104
|
+
* @export
|
|
6105
|
+
*/
|
|
5998
6106
|
exports.PostFailoverInstanceTypeEnum = {
|
|
5999
6107
|
Config: 'config',
|
|
6000
6108
|
Image: 'image'
|
|
6001
6109
|
};
|
|
6110
|
+
/**
|
|
6111
|
+
* @export
|
|
6112
|
+
*/
|
|
6002
6113
|
exports.PostResizeInstanceSizeEnum = {
|
|
6003
6114
|
D24: 'd2-4',
|
|
6004
6115
|
D28: 'd2-8',
|
|
@@ -6006,6 +6117,7 @@ exports.PostResizeInstanceSizeEnum = {
|
|
|
6006
6117
|
};
|
|
6007
6118
|
/**
|
|
6008
6119
|
* Class3CXIntegrationsApi - axios parameter creator
|
|
6120
|
+
* @export
|
|
6009
6121
|
*/
|
|
6010
6122
|
var Class3CXIntegrationsApiAxiosParamCreator = function (configuration) {
|
|
6011
6123
|
var _this = this;
|
|
@@ -6251,6 +6363,7 @@ var Class3CXIntegrationsApiAxiosParamCreator = function (configuration) {
|
|
|
6251
6363
|
exports.Class3CXIntegrationsApiAxiosParamCreator = Class3CXIntegrationsApiAxiosParamCreator;
|
|
6252
6364
|
/**
|
|
6253
6365
|
* Class3CXIntegrationsApi - functional programming interface
|
|
6366
|
+
* @export
|
|
6254
6367
|
*/
|
|
6255
6368
|
var Class3CXIntegrationsApiFp = function (configuration) {
|
|
6256
6369
|
var localVarAxiosParamCreator = (0, exports.Class3CXIntegrationsApiAxiosParamCreator)(configuration);
|
|
@@ -6396,6 +6509,7 @@ var Class3CXIntegrationsApiFp = function (configuration) {
|
|
|
6396
6509
|
exports.Class3CXIntegrationsApiFp = Class3CXIntegrationsApiFp;
|
|
6397
6510
|
/**
|
|
6398
6511
|
* Class3CXIntegrationsApi - factory interface
|
|
6512
|
+
* @export
|
|
6399
6513
|
*/
|
|
6400
6514
|
var Class3CXIntegrationsApiFactory = function (configuration, basePath, axios) {
|
|
6401
6515
|
var localVarFp = (0, exports.Class3CXIntegrationsApiFp)(configuration);
|
|
@@ -6463,6 +6577,9 @@ var Class3CXIntegrationsApiFactory = function (configuration, basePath, axios) {
|
|
|
6463
6577
|
exports.Class3CXIntegrationsApiFactory = Class3CXIntegrationsApiFactory;
|
|
6464
6578
|
/**
|
|
6465
6579
|
* Class3CXIntegrationsApi - object-oriented interface
|
|
6580
|
+
* @export
|
|
6581
|
+
* @class Class3CXIntegrationsApi
|
|
6582
|
+
* @extends {BaseAPI}
|
|
6466
6583
|
*/
|
|
6467
6584
|
var Class3CXIntegrationsApi = /** @class */ (function (_super) {
|
|
6468
6585
|
__extends(Class3CXIntegrationsApi, _super);
|
|
@@ -6475,6 +6592,7 @@ var Class3CXIntegrationsApi = /** @class */ (function (_super) {
|
|
|
6475
6592
|
* @param {GetGetPriceSchoolTypeEnum} schoolType EdTechPro School Type
|
|
6476
6593
|
* @param {*} [options] Override http request option.
|
|
6477
6594
|
* @throws {RequiredError}
|
|
6595
|
+
* @memberof Class3CXIntegrationsApi
|
|
6478
6596
|
*/
|
|
6479
6597
|
Class3CXIntegrationsApi.prototype.getGetPrice = function (licenceType, schoolType, options) {
|
|
6480
6598
|
var _this = this;
|
|
@@ -6487,6 +6605,7 @@ var Class3CXIntegrationsApi = /** @class */ (function (_super) {
|
|
|
6487
6605
|
* @param {string} [search] Search
|
|
6488
6606
|
* @param {*} [options] Override http request option.
|
|
6489
6607
|
* @throws {RequiredError}
|
|
6608
|
+
* @memberof Class3CXIntegrationsApi
|
|
6490
6609
|
*/
|
|
6491
6610
|
Class3CXIntegrationsApi.prototype.getGetSchools = function (pageSize, page, search, options) {
|
|
6492
6611
|
var _this = this;
|
|
@@ -6496,6 +6615,7 @@ var Class3CXIntegrationsApi = /** @class */ (function (_super) {
|
|
|
6496
6615
|
* Get EdTechPro Trusts
|
|
6497
6616
|
* @param {*} [options] Override http request option.
|
|
6498
6617
|
* @throws {RequiredError}
|
|
6618
|
+
* @memberof Class3CXIntegrationsApi
|
|
6499
6619
|
*/
|
|
6500
6620
|
Class3CXIntegrationsApi.prototype.getGetTrusts = function (options) {
|
|
6501
6621
|
var _this = this;
|
|
@@ -6508,6 +6628,7 @@ var Class3CXIntegrationsApi = /** @class */ (function (_super) {
|
|
|
6508
6628
|
* @param {string} ref School Order Reference
|
|
6509
6629
|
* @param {*} [options] Override http request option.
|
|
6510
6630
|
* @throws {RequiredError}
|
|
6631
|
+
* @memberof Class3CXIntegrationsApi
|
|
6511
6632
|
*/
|
|
6512
6633
|
Class3CXIntegrationsApi.prototype.patchUpdateEtpOrderReference = function (clientId, schoolId, ref, options) {
|
|
6513
6634
|
var _this = this;
|
|
@@ -6518,6 +6639,7 @@ var Class3CXIntegrationsApi = /** @class */ (function (_super) {
|
|
|
6518
6639
|
* @param {OrderRequestModel} [orderRequestModel] New EdTechPro Order Request
|
|
6519
6640
|
* @param {*} [options] Override http request option.
|
|
6520
6641
|
* @throws {RequiredError}
|
|
6642
|
+
* @memberof Class3CXIntegrationsApi
|
|
6521
6643
|
*/
|
|
6522
6644
|
Class3CXIntegrationsApi.prototype.postOrderEdTechPro = function (orderRequestModel, options) {
|
|
6523
6645
|
var _this = this;
|
|
@@ -6528,6 +6650,7 @@ var Class3CXIntegrationsApi = /** @class */ (function (_super) {
|
|
|
6528
6650
|
* @param {UpgradeRequestModel} [upgradeRequestModel] New EdTechPro Upgrade Request
|
|
6529
6651
|
* @param {*} [options] Override http request option.
|
|
6530
6652
|
* @throws {RequiredError}
|
|
6653
|
+
* @memberof Class3CXIntegrationsApi
|
|
6531
6654
|
*/
|
|
6532
6655
|
Class3CXIntegrationsApi.prototype.postUpgradeEdTechPro = function (upgradeRequestModel, options) {
|
|
6533
6656
|
var _this = this;
|
|
@@ -6536,16 +6659,23 @@ var Class3CXIntegrationsApi = /** @class */ (function (_super) {
|
|
|
6536
6659
|
return Class3CXIntegrationsApi;
|
|
6537
6660
|
}(base_1.BaseAPI));
|
|
6538
6661
|
exports.Class3CXIntegrationsApi = Class3CXIntegrationsApi;
|
|
6662
|
+
/**
|
|
6663
|
+
* @export
|
|
6664
|
+
*/
|
|
6539
6665
|
exports.GetGetPriceLicenceTypeEnum = {
|
|
6540
6666
|
Lite: 'lite',
|
|
6541
6667
|
Pro: 'pro'
|
|
6542
6668
|
};
|
|
6669
|
+
/**
|
|
6670
|
+
* @export
|
|
6671
|
+
*/
|
|
6543
6672
|
exports.GetGetPriceSchoolTypeEnum = {
|
|
6544
6673
|
Primary: 'primary',
|
|
6545
6674
|
Secondary: 'secondary'
|
|
6546
6675
|
};
|
|
6547
6676
|
/**
|
|
6548
6677
|
* Class3CXMultiTenantApi - axios parameter creator
|
|
6678
|
+
* @export
|
|
6549
6679
|
*/
|
|
6550
6680
|
var Class3CXMultiTenantApiAxiosParamCreator = function (configuration) {
|
|
6551
6681
|
var _this = this;
|
|
@@ -6825,6 +6955,7 @@ var Class3CXMultiTenantApiAxiosParamCreator = function (configuration) {
|
|
|
6825
6955
|
exports.Class3CXMultiTenantApiAxiosParamCreator = Class3CXMultiTenantApiAxiosParamCreator;
|
|
6826
6956
|
/**
|
|
6827
6957
|
* Class3CXMultiTenantApi - functional programming interface
|
|
6958
|
+
* @export
|
|
6828
6959
|
*/
|
|
6829
6960
|
var Class3CXMultiTenantApiFp = function (configuration) {
|
|
6830
6961
|
var localVarAxiosParamCreator = (0, exports.Class3CXMultiTenantApiAxiosParamCreator)(configuration);
|
|
@@ -6998,6 +7129,7 @@ var Class3CXMultiTenantApiFp = function (configuration) {
|
|
|
6998
7129
|
exports.Class3CXMultiTenantApiFp = Class3CXMultiTenantApiFp;
|
|
6999
7130
|
/**
|
|
7000
7131
|
* Class3CXMultiTenantApi - factory interface
|
|
7132
|
+
* @export
|
|
7001
7133
|
*/
|
|
7002
7134
|
var Class3CXMultiTenantApiFactory = function (configuration, basePath, axios) {
|
|
7003
7135
|
var localVarFp = (0, exports.Class3CXMultiTenantApiFp)(configuration);
|
|
@@ -7080,1361 +7212,254 @@ var Class3CXMultiTenantApiFactory = function (configuration, basePath, axios) {
|
|
|
7080
7212
|
exports.Class3CXMultiTenantApiFactory = Class3CXMultiTenantApiFactory;
|
|
7081
7213
|
/**
|
|
7082
7214
|
* Class3CXMultiTenantApi - object-oriented interface
|
|
7215
|
+
* @export
|
|
7216
|
+
* @class Class3CXMultiTenantApi
|
|
7217
|
+
* @extends {BaseAPI}
|
|
7083
7218
|
*/
|
|
7084
7219
|
var Class3CXMultiTenantApi = /** @class */ (function (_super) {
|
|
7085
7220
|
__extends(Class3CXMultiTenantApi, _super);
|
|
7086
7221
|
function Class3CXMultiTenantApi() {
|
|
7087
7222
|
return _super !== null && _super.apply(this, arguments) || this;
|
|
7088
|
-
}
|
|
7089
|
-
/**
|
|
7090
|
-
* Delete 3CX Starter Bundle Tenant
|
|
7091
|
-
* @summary Delete 3CX MT Tenant
|
|
7092
|
-
* @param {string} reference Tenant Reference
|
|
7093
|
-
* @param {*} [options] Override http request option.
|
|
7094
|
-
* @throws {RequiredError}
|
|
7095
|
-
*/
|
|
7096
|
-
Class3CXMultiTenantApi.prototype.deleteGetTenant = function (reference, options) {
|
|
7097
|
-
var _this = this;
|
|
7098
|
-
return (0, exports.Class3CXMultiTenantApiFp)(this.configuration).deleteGetTenant(reference, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
7099
|
-
};
|
|
7100
|
-
/**
|
|
7101
|
-
* Get 3CX Starter Bundle Tenant
|
|
7102
|
-
* @summary Get 3CX MT Tenant
|
|
7103
|
-
* @param {string} reference Tenant Reference
|
|
7104
|
-
* @param {*} [options] Override http request option.
|
|
7105
|
-
* @throws {RequiredError}
|
|
7106
|
-
*/
|
|
7107
|
-
Class3CXMultiTenantApi.prototype.getGetTenant = function (reference, options) {
|
|
7108
|
-
var _this = this;
|
|
7109
|
-
return (0, exports.Class3CXMultiTenantApiFp)(this.configuration).getGetTenant(reference, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
7110
|
-
};
|
|
7111
|
-
/**
|
|
7112
|
-
* Get 3CX Starter Bundle Tenants
|
|
7113
|
-
* @summary Get 3CX MT Tenants
|
|
7114
|
-
* @param {number} [pageSize] Number Of Results
|
|
7115
|
-
* @param {number} [page] Page Number
|
|
7116
|
-
* @param {string} [search] Search
|
|
7117
|
-
* @param {GetGetTenantsStatusEnum} [status] Status
|
|
7118
|
-
* @param {*} [options] Override http request option.
|
|
7119
|
-
* @throws {RequiredError}
|
|
7120
|
-
*/
|
|
7121
|
-
Class3CXMultiTenantApi.prototype.getGetTenants = function (pageSize, page, search, status, options) {
|
|
7122
|
-
var _this = this;
|
|
7123
|
-
return (0, exports.Class3CXMultiTenantApiFp)(this.configuration).getGetTenants(pageSize, page, search, status, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
7124
|
-
};
|
|
7125
|
-
/**
|
|
7126
|
-
* Add 3CX MT DDI
|
|
7127
|
-
* @summary Add 3CX MT DDI
|
|
7128
|
-
* @param {string} areacode Area Code
|
|
7129
|
-
* @param {*} [options] Override http request option.
|
|
7130
|
-
* @throws {RequiredError}
|
|
7131
|
-
*/
|
|
7132
|
-
Class3CXMultiTenantApi.prototype.postAddMtDdi = function (areacode, options) {
|
|
7133
|
-
var _this = this;
|
|
7134
|
-
return (0, exports.Class3CXMultiTenantApiFp)(this.configuration).postAddMtDdi(areacode, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
7135
|
-
};
|
|
7136
|
-
/**
|
|
7137
|
-
* Get 3CX MT New DDIs
|
|
7138
|
-
* @summary Get 3CX MT New DDIs
|
|
7139
|
-
* @param {MultiTenantChangeResponseModel} [multiTenantChangeResponseModel] Multi-Tenant Change Request
|
|
7140
|
-
* @param {*} [options] Override http request option.
|
|
7141
|
-
* @throws {RequiredError}
|
|
7142
|
-
*/
|
|
7143
|
-
Class3CXMultiTenantApi.prototype.postGetMtNewDdis = function (multiTenantChangeResponseModel, options) {
|
|
7144
|
-
var _this = this;
|
|
7145
|
-
return (0, exports.Class3CXMultiTenantApiFp)(this.configuration).postGetMtNewDdis(multiTenantChangeResponseModel, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
7146
|
-
};
|
|
7147
|
-
/**
|
|
7148
|
-
* Add 3CX Starter Bundle Tenant
|
|
7149
|
-
* @summary Add 3CX MT Tenant
|
|
7150
|
-
* @param {TcxMultiTenantModel} [tcxMultiTenantModel] New 3CX Starter Bundle Request
|
|
7151
|
-
* @param {*} [options] Override http request option.
|
|
7152
|
-
* @throws {RequiredError}
|
|
7153
|
-
*/
|
|
7154
|
-
Class3CXMultiTenantApi.prototype.postGetTenants = function (tcxMultiTenantModel, options) {
|
|
7155
|
-
var _this = this;
|
|
7156
|
-
return (0, exports.Class3CXMultiTenantApiFp)(this.configuration).postGetTenants(tcxMultiTenantModel, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
7157
|
-
};
|
|
7158
|
-
/**
|
|
7159
|
-
* Track 3CX MT Change
|
|
7160
|
-
* @summary Track 3CX MT Change
|
|
7161
|
-
* @param {MultiTenantChangeResponseModel} [multiTenantChangeResponseModel] Multi-Tenant Change Request
|
|
7162
|
-
* @param {*} [options] Override http request option.
|
|
7163
|
-
* @throws {RequiredError}
|
|
7164
|
-
*/
|
|
7165
|
-
Class3CXMultiTenantApi.prototype.postTrackMtChange = function (multiTenantChangeResponseModel, options) {
|
|
7166
|
-
var _this = this;
|
|
7167
|
-
return (0, exports.Class3CXMultiTenantApiFp)(this.configuration).postTrackMtChange(multiTenantChangeResponseModel, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
7168
|
-
};
|
|
7169
|
-
return Class3CXMultiTenantApi;
|
|
7170
|
-
}(base_1.BaseAPI));
|
|
7171
|
-
exports.Class3CXMultiTenantApi = Class3CXMultiTenantApi;
|
|
7172
|
-
exports.GetGetTenantsStatusEnum = {
|
|
7173
|
-
Completed: 'Completed',
|
|
7174
|
-
Outstanding: 'Outstanding',
|
|
7175
|
-
Offline: 'Offline',
|
|
7176
|
-
FailedOver: 'Failed Over'
|
|
7177
|
-
};
|
|
7178
|
-
/**
|
|
7179
|
-
* MyPBXToolsApi - axios parameter creator
|
|
7180
|
-
*/
|
|
7181
|
-
var MyPBXToolsApiAxiosParamCreator = function (configuration) {
|
|
7182
|
-
var _this = this;
|
|
7183
|
-
return {
|
|
7184
|
-
/**
|
|
7185
|
-
* Get 3CX Installation Details
|
|
7186
|
-
* @summary Fetch recording from a 3CX instance
|
|
7187
|
-
* @param {string} licenceKey Licence Key
|
|
7188
|
-
* @param {string} fileName File Name
|
|
7189
|
-
* @param {*} [options] Override http request option.
|
|
7190
|
-
* @throws {RequiredError}
|
|
7191
|
-
*/
|
|
7192
|
-
getGetRecording: function (licenceKey_1, fileName_1) {
|
|
7193
|
-
var args_1 = [];
|
|
7194
|
-
for (var _i = 2; _i < arguments.length; _i++) {
|
|
7195
|
-
args_1[_i - 2] = arguments[_i];
|
|
7196
|
-
}
|
|
7197
|
-
return __awaiter(_this, __spreadArray([licenceKey_1, fileName_1], args_1, true), void 0, function (licenceKey, fileName, options) {
|
|
7198
|
-
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
7199
|
-
if (options === void 0) { options = {}; }
|
|
7200
|
-
return __generator(this, function (_a) {
|
|
7201
|
-
// verify required parameter 'licenceKey' is not null or undefined
|
|
7202
|
-
(0, common_1.assertParamExists)('getGetRecording', 'licenceKey', licenceKey);
|
|
7203
|
-
// verify required parameter 'fileName' is not null or undefined
|
|
7204
|
-
(0, common_1.assertParamExists)('getGetRecording', 'fileName', fileName);
|
|
7205
|
-
localVarPath = "/mypbxtools/recordings";
|
|
7206
|
-
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
7207
|
-
if (configuration) {
|
|
7208
|
-
baseOptions = configuration.baseOptions;
|
|
7209
|
-
}
|
|
7210
|
-
localVarRequestOptions = __assign(__assign({ method: 'GET' }, baseOptions), options);
|
|
7211
|
-
localVarHeaderParameter = {};
|
|
7212
|
-
localVarQueryParameter = {};
|
|
7213
|
-
if (licenceKey !== undefined) {
|
|
7214
|
-
localVarQueryParameter['licenceKey'] = licenceKey;
|
|
7215
|
-
}
|
|
7216
|
-
if (fileName !== undefined) {
|
|
7217
|
-
localVarQueryParameter['fileName'] = fileName;
|
|
7218
|
-
}
|
|
7219
|
-
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
7220
|
-
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
7221
|
-
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
7222
|
-
return [2 /*return*/, {
|
|
7223
|
-
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
7224
|
-
options: localVarRequestOptions,
|
|
7225
|
-
}];
|
|
7226
|
-
});
|
|
7227
|
-
});
|
|
7228
|
-
},
|
|
7229
|
-
};
|
|
7230
|
-
};
|
|
7231
|
-
exports.MyPBXToolsApiAxiosParamCreator = MyPBXToolsApiAxiosParamCreator;
|
|
7232
|
-
/**
|
|
7233
|
-
* MyPBXToolsApi - functional programming interface
|
|
7234
|
-
*/
|
|
7235
|
-
var MyPBXToolsApiFp = function (configuration) {
|
|
7236
|
-
var localVarAxiosParamCreator = (0, exports.MyPBXToolsApiAxiosParamCreator)(configuration);
|
|
7237
|
-
return {
|
|
7238
|
-
/**
|
|
7239
|
-
* Get 3CX Installation Details
|
|
7240
|
-
* @summary Fetch recording from a 3CX instance
|
|
7241
|
-
* @param {string} licenceKey Licence Key
|
|
7242
|
-
* @param {string} fileName File Name
|
|
7243
|
-
* @param {*} [options] Override http request option.
|
|
7244
|
-
* @throws {RequiredError}
|
|
7245
|
-
*/
|
|
7246
|
-
getGetRecording: function (licenceKey, fileName, options) {
|
|
7247
|
-
return __awaiter(this, void 0, void 0, function () {
|
|
7248
|
-
var localVarAxiosArgs, localVarOperationServerIndex, localVarOperationServerBasePath;
|
|
7249
|
-
var _a, _b, _c;
|
|
7250
|
-
return __generator(this, function (_d) {
|
|
7251
|
-
switch (_d.label) {
|
|
7252
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.getGetRecording(licenceKey, fileName, options)];
|
|
7253
|
-
case 1:
|
|
7254
|
-
localVarAxiosArgs = _d.sent();
|
|
7255
|
-
localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
7256
|
-
localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['MyPBXToolsApi.getGetRecording']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
7257
|
-
return [2 /*return*/, function (axios, basePath) { return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath); }];
|
|
7258
|
-
}
|
|
7259
|
-
});
|
|
7260
|
-
});
|
|
7261
|
-
},
|
|
7262
|
-
};
|
|
7263
|
-
};
|
|
7264
|
-
exports.MyPBXToolsApiFp = MyPBXToolsApiFp;
|
|
7265
|
-
/**
|
|
7266
|
-
* MyPBXToolsApi - factory interface
|
|
7267
|
-
*/
|
|
7268
|
-
var MyPBXToolsApiFactory = function (configuration, basePath, axios) {
|
|
7269
|
-
var localVarFp = (0, exports.MyPBXToolsApiFp)(configuration);
|
|
7270
|
-
return {
|
|
7271
|
-
/**
|
|
7272
|
-
* Get 3CX Installation Details
|
|
7273
|
-
* @summary Fetch recording from a 3CX instance
|
|
7274
|
-
* @param {string} licenceKey Licence Key
|
|
7275
|
-
* @param {string} fileName File Name
|
|
7276
|
-
* @param {*} [options] Override http request option.
|
|
7277
|
-
* @throws {RequiredError}
|
|
7278
|
-
*/
|
|
7279
|
-
getGetRecording: function (licenceKey, fileName, options) {
|
|
7280
|
-
return localVarFp.getGetRecording(licenceKey, fileName, options).then(function (request) { return request(axios, basePath); });
|
|
7281
|
-
},
|
|
7282
|
-
};
|
|
7283
|
-
};
|
|
7284
|
-
exports.MyPBXToolsApiFactory = MyPBXToolsApiFactory;
|
|
7285
|
-
/**
|
|
7286
|
-
* MyPBXToolsApi - object-oriented interface
|
|
7287
|
-
*/
|
|
7288
|
-
var MyPBXToolsApi = /** @class */ (function (_super) {
|
|
7289
|
-
__extends(MyPBXToolsApi, _super);
|
|
7290
|
-
function MyPBXToolsApi() {
|
|
7291
|
-
return _super !== null && _super.apply(this, arguments) || this;
|
|
7292
|
-
}
|
|
7293
|
-
/**
|
|
7294
|
-
* Get 3CX Installation Details
|
|
7295
|
-
* @summary Fetch recording from a 3CX instance
|
|
7296
|
-
* @param {string} licenceKey Licence Key
|
|
7297
|
-
* @param {string} fileName File Name
|
|
7298
|
-
* @param {*} [options] Override http request option.
|
|
7299
|
-
* @throws {RequiredError}
|
|
7300
|
-
*/
|
|
7301
|
-
MyPBXToolsApi.prototype.getGetRecording = function (licenceKey, fileName, options) {
|
|
7302
|
-
var _this = this;
|
|
7303
|
-
return (0, exports.MyPBXToolsApiFp)(this.configuration).getGetRecording(licenceKey, fileName, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
7304
|
-
};
|
|
7305
|
-
return MyPBXToolsApi;
|
|
7306
|
-
}(base_1.BaseAPI));
|
|
7307
|
-
exports.MyPBXToolsApi = MyPBXToolsApi;
|
|
7308
|
-
/**
|
|
7309
|
-
* NumberPortingApi - axios parameter creator
|
|
7310
|
-
*/
|
|
7311
|
-
var NumberPortingApiAxiosParamCreator = function (configuration) {
|
|
7312
|
-
var _this = this;
|
|
7313
|
-
return {
|
|
7314
|
-
/**
|
|
7315
|
-
*
|
|
7316
|
-
* @param {number} id Number Port ID
|
|
7317
|
-
* @param {*} [options] Override http request option.
|
|
7318
|
-
* @throws {RequiredError}
|
|
7319
|
-
*/
|
|
7320
|
-
deleteGetAdminNumberPort: function (id_1) {
|
|
7321
|
-
var args_1 = [];
|
|
7322
|
-
for (var _i = 1; _i < arguments.length; _i++) {
|
|
7323
|
-
args_1[_i - 1] = arguments[_i];
|
|
7324
|
-
}
|
|
7325
|
-
return __awaiter(_this, __spreadArray([id_1], args_1, true), void 0, function (id, options) {
|
|
7326
|
-
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
7327
|
-
if (options === void 0) { options = {}; }
|
|
7328
|
-
return __generator(this, function (_a) {
|
|
7329
|
-
// verify required parameter 'id' is not null or undefined
|
|
7330
|
-
(0, common_1.assertParamExists)('deleteGetAdminNumberPort', 'id', id);
|
|
7331
|
-
localVarPath = "/admin/sip/numbers/ports/{id}"
|
|
7332
|
-
.replace("{".concat("id", "}"), encodeURIComponent(String(id)));
|
|
7333
|
-
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
7334
|
-
if (configuration) {
|
|
7335
|
-
baseOptions = configuration.baseOptions;
|
|
7336
|
-
}
|
|
7337
|
-
localVarRequestOptions = __assign(__assign({ method: 'DELETE' }, baseOptions), options);
|
|
7338
|
-
localVarHeaderParameter = {};
|
|
7339
|
-
localVarQueryParameter = {};
|
|
7340
|
-
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
7341
|
-
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
7342
|
-
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
7343
|
-
return [2 /*return*/, {
|
|
7344
|
-
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
7345
|
-
options: localVarRequestOptions,
|
|
7346
|
-
}];
|
|
7347
|
-
});
|
|
7348
|
-
});
|
|
7349
|
-
},
|
|
7350
|
-
/**
|
|
7351
|
-
*
|
|
7352
|
-
* @param {number} [pageSize] Number Of Results
|
|
7353
|
-
* @param {number} [page] Page Number
|
|
7354
|
-
* @param {string} [search] Search
|
|
7355
|
-
* @param {*} [options] Override http request option.
|
|
7356
|
-
* @throws {RequiredError}
|
|
7357
|
-
*/
|
|
7358
|
-
getCreateNumberPort: function (pageSize_1, page_1, search_1) {
|
|
7359
|
-
var args_1 = [];
|
|
7360
|
-
for (var _i = 3; _i < arguments.length; _i++) {
|
|
7361
|
-
args_1[_i - 3] = arguments[_i];
|
|
7362
|
-
}
|
|
7363
|
-
return __awaiter(_this, __spreadArray([pageSize_1, page_1, search_1], args_1, true), void 0, function (pageSize, page, search, options) {
|
|
7364
|
-
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
7365
|
-
if (options === void 0) { options = {}; }
|
|
7366
|
-
return __generator(this, function (_a) {
|
|
7367
|
-
localVarPath = "/sip/numbers/ports";
|
|
7368
|
-
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
7369
|
-
if (configuration) {
|
|
7370
|
-
baseOptions = configuration.baseOptions;
|
|
7371
|
-
}
|
|
7372
|
-
localVarRequestOptions = __assign(__assign({ method: 'GET' }, baseOptions), options);
|
|
7373
|
-
localVarHeaderParameter = {};
|
|
7374
|
-
localVarQueryParameter = {};
|
|
7375
|
-
if (pageSize !== undefined) {
|
|
7376
|
-
localVarQueryParameter['pageSize'] = pageSize;
|
|
7377
|
-
}
|
|
7378
|
-
if (page !== undefined) {
|
|
7379
|
-
localVarQueryParameter['page'] = page;
|
|
7380
|
-
}
|
|
7381
|
-
if (search !== undefined) {
|
|
7382
|
-
localVarQueryParameter['search'] = search;
|
|
7383
|
-
}
|
|
7384
|
-
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
7385
|
-
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
7386
|
-
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
7387
|
-
return [2 /*return*/, {
|
|
7388
|
-
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
7389
|
-
options: localVarRequestOptions,
|
|
7390
|
-
}];
|
|
7391
|
-
});
|
|
7392
|
-
});
|
|
7393
|
-
},
|
|
7394
|
-
/**
|
|
7395
|
-
*
|
|
7396
|
-
* @param {number} id Number Port ID
|
|
7397
|
-
* @param {*} [options] Override http request option.
|
|
7398
|
-
* @throws {RequiredError}
|
|
7399
|
-
*/
|
|
7400
|
-
getGetAdminNumberPort: function (id_1) {
|
|
7401
|
-
var args_1 = [];
|
|
7402
|
-
for (var _i = 1; _i < arguments.length; _i++) {
|
|
7403
|
-
args_1[_i - 1] = arguments[_i];
|
|
7404
|
-
}
|
|
7405
|
-
return __awaiter(_this, __spreadArray([id_1], args_1, true), void 0, function (id, options) {
|
|
7406
|
-
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
7407
|
-
if (options === void 0) { options = {}; }
|
|
7408
|
-
return __generator(this, function (_a) {
|
|
7409
|
-
// verify required parameter 'id' is not null or undefined
|
|
7410
|
-
(0, common_1.assertParamExists)('getGetAdminNumberPort', 'id', id);
|
|
7411
|
-
localVarPath = "/admin/sip/numbers/ports/{id}"
|
|
7412
|
-
.replace("{".concat("id", "}"), encodeURIComponent(String(id)));
|
|
7413
|
-
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
7414
|
-
if (configuration) {
|
|
7415
|
-
baseOptions = configuration.baseOptions;
|
|
7416
|
-
}
|
|
7417
|
-
localVarRequestOptions = __assign(__assign({ method: 'GET' }, baseOptions), options);
|
|
7418
|
-
localVarHeaderParameter = {};
|
|
7419
|
-
localVarQueryParameter = {};
|
|
7420
|
-
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
7421
|
-
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
7422
|
-
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
7423
|
-
return [2 /*return*/, {
|
|
7424
|
-
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
7425
|
-
options: localVarRequestOptions,
|
|
7426
|
-
}];
|
|
7427
|
-
});
|
|
7428
|
-
});
|
|
7429
|
-
},
|
|
7430
|
-
/**
|
|
7431
|
-
*
|
|
7432
|
-
* @param {number} [pageSize] Number Of Results
|
|
7433
|
-
* @param {number} [page] Page Number
|
|
7434
|
-
* @param {string} [search] Search
|
|
7435
|
-
* @param {*} [options] Override http request option.
|
|
7436
|
-
* @throws {RequiredError}
|
|
7437
|
-
*/
|
|
7438
|
-
getGetAdminNumberPorts: function (pageSize_1, page_1, search_1) {
|
|
7439
|
-
var args_1 = [];
|
|
7440
|
-
for (var _i = 3; _i < arguments.length; _i++) {
|
|
7441
|
-
args_1[_i - 3] = arguments[_i];
|
|
7442
|
-
}
|
|
7443
|
-
return __awaiter(_this, __spreadArray([pageSize_1, page_1, search_1], args_1, true), void 0, function (pageSize, page, search, options) {
|
|
7444
|
-
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
7445
|
-
if (options === void 0) { options = {}; }
|
|
7446
|
-
return __generator(this, function (_a) {
|
|
7447
|
-
localVarPath = "/admin/sip/numbers/ports";
|
|
7448
|
-
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
7449
|
-
if (configuration) {
|
|
7450
|
-
baseOptions = configuration.baseOptions;
|
|
7451
|
-
}
|
|
7452
|
-
localVarRequestOptions = __assign(__assign({ method: 'GET' }, baseOptions), options);
|
|
7453
|
-
localVarHeaderParameter = {};
|
|
7454
|
-
localVarQueryParameter = {};
|
|
7455
|
-
if (pageSize !== undefined) {
|
|
7456
|
-
localVarQueryParameter['pageSize'] = pageSize;
|
|
7457
|
-
}
|
|
7458
|
-
if (page !== undefined) {
|
|
7459
|
-
localVarQueryParameter['page'] = page;
|
|
7460
|
-
}
|
|
7461
|
-
if (search !== undefined) {
|
|
7462
|
-
localVarQueryParameter['search'] = search;
|
|
7463
|
-
}
|
|
7464
|
-
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
7465
|
-
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
7466
|
-
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
7467
|
-
return [2 /*return*/, {
|
|
7468
|
-
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
7469
|
-
options: localVarRequestOptions,
|
|
7470
|
-
}];
|
|
7471
|
-
});
|
|
7472
|
-
});
|
|
7473
|
-
},
|
|
7474
|
-
/**
|
|
7475
|
-
*
|
|
7476
|
-
* @param {number} id Number Port ID
|
|
7477
|
-
* @param {*} [options] Override http request option.
|
|
7478
|
-
* @throws {RequiredError}
|
|
7479
|
-
*/
|
|
7480
|
-
getUpdateNumberPort: function (id_1) {
|
|
7481
|
-
var args_1 = [];
|
|
7482
|
-
for (var _i = 1; _i < arguments.length; _i++) {
|
|
7483
|
-
args_1[_i - 1] = arguments[_i];
|
|
7484
|
-
}
|
|
7485
|
-
return __awaiter(_this, __spreadArray([id_1], args_1, true), void 0, function (id, options) {
|
|
7486
|
-
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
7487
|
-
if (options === void 0) { options = {}; }
|
|
7488
|
-
return __generator(this, function (_a) {
|
|
7489
|
-
// verify required parameter 'id' is not null or undefined
|
|
7490
|
-
(0, common_1.assertParamExists)('getUpdateNumberPort', 'id', id);
|
|
7491
|
-
localVarPath = "/sip/numbers/ports/{id}"
|
|
7492
|
-
.replace("{".concat("id", "}"), encodeURIComponent(String(id)));
|
|
7493
|
-
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
7494
|
-
if (configuration) {
|
|
7495
|
-
baseOptions = configuration.baseOptions;
|
|
7496
|
-
}
|
|
7497
|
-
localVarRequestOptions = __assign(__assign({ method: 'GET' }, baseOptions), options);
|
|
7498
|
-
localVarHeaderParameter = {};
|
|
7499
|
-
localVarQueryParameter = {};
|
|
7500
|
-
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
7501
|
-
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
7502
|
-
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
7503
|
-
return [2 /*return*/, {
|
|
7504
|
-
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
7505
|
-
options: localVarRequestOptions,
|
|
7506
|
-
}];
|
|
7507
|
-
});
|
|
7508
|
-
});
|
|
7509
|
-
},
|
|
7510
|
-
/**
|
|
7511
|
-
*
|
|
7512
|
-
* @param {string | null} [companyName] Company Name
|
|
7513
|
-
* @param {string | null} [addressLine1] Address Line 1
|
|
7514
|
-
* @param {string | null} [addressLine2] Address Line 2
|
|
7515
|
-
* @param {string | null} [city] City
|
|
7516
|
-
* @param {string | null} [postCode] Post Code
|
|
7517
|
-
* @param {number | null} [trunkId] Trunk ID
|
|
7518
|
-
* @param {number | null} [tenantId] Starter Bundle ID
|
|
7519
|
-
* @param {string | null} [requestedPortDate] Requested Port Date
|
|
7520
|
-
* @param {boolean | null} [asap] Port Date ASAP
|
|
7521
|
-
* @param {string | null} [comment] Comment
|
|
7522
|
-
* @param {Array<NumberPortRangeRequestDTO>} [numberRanges] Number Ranges
|
|
7523
|
-
* @param {File} [cloa] CLOA (only provide on submission)
|
|
7524
|
-
* @param {*} [options] Override http request option.
|
|
7525
|
-
* @throws {RequiredError}
|
|
7526
|
-
*/
|
|
7527
|
-
postCreateNumberPort: function (companyName_1, addressLine1_1, addressLine2_1, city_1, postCode_1, trunkId_1, tenantId_1, requestedPortDate_1, asap_1, comment_1, numberRanges_1, cloa_1) {
|
|
7528
|
-
var args_1 = [];
|
|
7529
|
-
for (var _i = 12; _i < arguments.length; _i++) {
|
|
7530
|
-
args_1[_i - 12] = arguments[_i];
|
|
7531
|
-
}
|
|
7532
|
-
return __awaiter(_this, __spreadArray([companyName_1, addressLine1_1, addressLine2_1, city_1, postCode_1, trunkId_1, tenantId_1, requestedPortDate_1, asap_1, comment_1, numberRanges_1, cloa_1], args_1, true), void 0, function (companyName, addressLine1, addressLine2, city, postCode, trunkId, tenantId, requestedPortDate, asap, comment, numberRanges, cloa, options) {
|
|
7533
|
-
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, localVarFormParams, headersFromBaseOptions;
|
|
7534
|
-
if (options === void 0) { options = {}; }
|
|
7535
|
-
return __generator(this, function (_a) {
|
|
7536
|
-
localVarPath = "/sip/numbers/ports";
|
|
7537
|
-
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
7538
|
-
if (configuration) {
|
|
7539
|
-
baseOptions = configuration.baseOptions;
|
|
7540
|
-
}
|
|
7541
|
-
localVarRequestOptions = __assign(__assign({ method: 'POST' }, baseOptions), options);
|
|
7542
|
-
localVarHeaderParameter = {};
|
|
7543
|
-
localVarQueryParameter = {};
|
|
7544
|
-
localVarFormParams = new ((configuration && configuration.formDataCtor) || FormData)();
|
|
7545
|
-
if (companyName !== undefined) {
|
|
7546
|
-
localVarFormParams.append('companyName', companyName);
|
|
7547
|
-
}
|
|
7548
|
-
if (addressLine1 !== undefined) {
|
|
7549
|
-
localVarFormParams.append('addressLine1', addressLine1);
|
|
7550
|
-
}
|
|
7551
|
-
if (addressLine2 !== undefined) {
|
|
7552
|
-
localVarFormParams.append('addressLine2', addressLine2);
|
|
7553
|
-
}
|
|
7554
|
-
if (city !== undefined) {
|
|
7555
|
-
localVarFormParams.append('city', city);
|
|
7556
|
-
}
|
|
7557
|
-
if (postCode !== undefined) {
|
|
7558
|
-
localVarFormParams.append('postCode', postCode);
|
|
7559
|
-
}
|
|
7560
|
-
if (trunkId !== undefined) {
|
|
7561
|
-
localVarFormParams.append('trunkId', trunkId);
|
|
7562
|
-
}
|
|
7563
|
-
if (tenantId !== undefined) {
|
|
7564
|
-
localVarFormParams.append('tenantId', tenantId);
|
|
7565
|
-
}
|
|
7566
|
-
if (requestedPortDate !== undefined) {
|
|
7567
|
-
localVarFormParams.append('requestedPortDate', requestedPortDate);
|
|
7568
|
-
}
|
|
7569
|
-
if (asap !== undefined) {
|
|
7570
|
-
localVarFormParams.append('asap', String(asap));
|
|
7571
|
-
}
|
|
7572
|
-
if (comment !== undefined) {
|
|
7573
|
-
localVarFormParams.append('comment', comment);
|
|
7574
|
-
}
|
|
7575
|
-
if (numberRanges) {
|
|
7576
|
-
localVarFormParams.append('numberRanges', numberRanges.join(base_1.COLLECTION_FORMATS.csv));
|
|
7577
|
-
}
|
|
7578
|
-
if (cloa !== undefined) {
|
|
7579
|
-
localVarFormParams.append('cloa', cloa);
|
|
7580
|
-
}
|
|
7581
|
-
localVarHeaderParameter['Content-Type'] = 'multipart/form-data';
|
|
7582
|
-
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
7583
|
-
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
7584
|
-
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
7585
|
-
localVarRequestOptions.data = localVarFormParams;
|
|
7586
|
-
return [2 /*return*/, {
|
|
7587
|
-
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
7588
|
-
options: localVarRequestOptions,
|
|
7589
|
-
}];
|
|
7590
|
-
});
|
|
7591
|
-
});
|
|
7592
|
-
},
|
|
7593
|
-
/**
|
|
7594
|
-
*
|
|
7595
|
-
* @param {number} id Number Port ID
|
|
7596
|
-
* @param {string | null} [companyName] Company Name
|
|
7597
|
-
* @param {string | null} [addressLine1] Address Line 1
|
|
7598
|
-
* @param {string | null} [addressLine2] Address Line 2
|
|
7599
|
-
* @param {string | null} [city] City
|
|
7600
|
-
* @param {string | null} [postCode] Post Code
|
|
7601
|
-
* @param {number | null} [trunkId] Trunk ID
|
|
7602
|
-
* @param {number | null} [tenantId] Starter Bundle ID
|
|
7603
|
-
* @param {string | null} [requestedPortDate] Requested Port Date
|
|
7604
|
-
* @param {boolean | null} [asap] Port Date ASAP
|
|
7605
|
-
* @param {string | null} [comment] Comment
|
|
7606
|
-
* @param {Array<NumberPortRangeRequestDTO>} [numberRanges] Number Ranges
|
|
7607
|
-
* @param {File} [cloa] CLOA (only provide on submission)
|
|
7608
|
-
* @param {*} [options] Override http request option.
|
|
7609
|
-
* @throws {RequiredError}
|
|
7610
|
-
*/
|
|
7611
|
-
postSubmitNumberPort: function (id_1, companyName_1, addressLine1_1, addressLine2_1, city_1, postCode_1, trunkId_1, tenantId_1, requestedPortDate_1, asap_1, comment_1, numberRanges_1, cloa_1) {
|
|
7612
|
-
var args_1 = [];
|
|
7613
|
-
for (var _i = 13; _i < arguments.length; _i++) {
|
|
7614
|
-
args_1[_i - 13] = arguments[_i];
|
|
7615
|
-
}
|
|
7616
|
-
return __awaiter(_this, __spreadArray([id_1, companyName_1, addressLine1_1, addressLine2_1, city_1, postCode_1, trunkId_1, tenantId_1, requestedPortDate_1, asap_1, comment_1, numberRanges_1, cloa_1], args_1, true), void 0, function (id, companyName, addressLine1, addressLine2, city, postCode, trunkId, tenantId, requestedPortDate, asap, comment, numberRanges, cloa, options) {
|
|
7617
|
-
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, localVarFormParams, headersFromBaseOptions;
|
|
7618
|
-
if (options === void 0) { options = {}; }
|
|
7619
|
-
return __generator(this, function (_a) {
|
|
7620
|
-
// verify required parameter 'id' is not null or undefined
|
|
7621
|
-
(0, common_1.assertParamExists)('postSubmitNumberPort', 'id', id);
|
|
7622
|
-
localVarPath = "/sip/numbers/ports/{id}/submit"
|
|
7623
|
-
.replace("{".concat("id", "}"), encodeURIComponent(String(id)));
|
|
7624
|
-
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
7625
|
-
if (configuration) {
|
|
7626
|
-
baseOptions = configuration.baseOptions;
|
|
7627
|
-
}
|
|
7628
|
-
localVarRequestOptions = __assign(__assign({ method: 'POST' }, baseOptions), options);
|
|
7629
|
-
localVarHeaderParameter = {};
|
|
7630
|
-
localVarQueryParameter = {};
|
|
7631
|
-
localVarFormParams = new ((configuration && configuration.formDataCtor) || FormData)();
|
|
7632
|
-
if (companyName !== undefined) {
|
|
7633
|
-
localVarFormParams.append('companyName', companyName);
|
|
7634
|
-
}
|
|
7635
|
-
if (addressLine1 !== undefined) {
|
|
7636
|
-
localVarFormParams.append('addressLine1', addressLine1);
|
|
7637
|
-
}
|
|
7638
|
-
if (addressLine2 !== undefined) {
|
|
7639
|
-
localVarFormParams.append('addressLine2', addressLine2);
|
|
7640
|
-
}
|
|
7641
|
-
if (city !== undefined) {
|
|
7642
|
-
localVarFormParams.append('city', city);
|
|
7643
|
-
}
|
|
7644
|
-
if (postCode !== undefined) {
|
|
7645
|
-
localVarFormParams.append('postCode', postCode);
|
|
7646
|
-
}
|
|
7647
|
-
if (trunkId !== undefined) {
|
|
7648
|
-
localVarFormParams.append('trunkId', trunkId);
|
|
7649
|
-
}
|
|
7650
|
-
if (tenantId !== undefined) {
|
|
7651
|
-
localVarFormParams.append('tenantId', tenantId);
|
|
7652
|
-
}
|
|
7653
|
-
if (requestedPortDate !== undefined) {
|
|
7654
|
-
localVarFormParams.append('requestedPortDate', requestedPortDate);
|
|
7655
|
-
}
|
|
7656
|
-
if (asap !== undefined) {
|
|
7657
|
-
localVarFormParams.append('asap', String(asap));
|
|
7658
|
-
}
|
|
7659
|
-
if (comment !== undefined) {
|
|
7660
|
-
localVarFormParams.append('comment', comment);
|
|
7661
|
-
}
|
|
7662
|
-
if (numberRanges) {
|
|
7663
|
-
localVarFormParams.append('numberRanges', numberRanges.join(base_1.COLLECTION_FORMATS.csv));
|
|
7664
|
-
}
|
|
7665
|
-
if (cloa !== undefined) {
|
|
7666
|
-
localVarFormParams.append('cloa', cloa);
|
|
7667
|
-
}
|
|
7668
|
-
localVarHeaderParameter['Content-Type'] = 'multipart/form-data';
|
|
7669
|
-
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
7670
|
-
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
7671
|
-
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
7672
|
-
localVarRequestOptions.data = localVarFormParams;
|
|
7673
|
-
return [2 /*return*/, {
|
|
7674
|
-
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
7675
|
-
options: localVarRequestOptions,
|
|
7676
|
-
}];
|
|
7677
|
-
});
|
|
7678
|
-
});
|
|
7679
|
-
},
|
|
7680
|
-
/**
|
|
7681
|
-
*
|
|
7682
|
-
* @param {number} id Number Port ID
|
|
7683
|
-
* @param {string | null} [companyName] Company Name
|
|
7684
|
-
* @param {string | null} [addressLine1] Address Line 1
|
|
7685
|
-
* @param {string | null} [addressLine2] Address Line 2
|
|
7686
|
-
* @param {string | null} [city] City
|
|
7687
|
-
* @param {string | null} [postCode] Post Code
|
|
7688
|
-
* @param {number | null} [trunkId] Trunk ID
|
|
7689
|
-
* @param {number | null} [tenantId] Starter Bundle ID
|
|
7690
|
-
* @param {string | null} [requestedPortDate] Requested Port Date
|
|
7691
|
-
* @param {boolean | null} [asap] Port Date ASAP
|
|
7692
|
-
* @param {string | null} [comment] Comment
|
|
7693
|
-
* @param {Array<NumberPortRangeRequestDTO>} [numberRanges] Number Ranges
|
|
7694
|
-
* @param {File} [cloa] CLOA (only provide on submission)
|
|
7695
|
-
* @param {*} [options] Override http request option.
|
|
7696
|
-
* @throws {RequiredError}
|
|
7697
|
-
*/
|
|
7698
|
-
postUpdateNumberPort: function (id_1, companyName_1, addressLine1_1, addressLine2_1, city_1, postCode_1, trunkId_1, tenantId_1, requestedPortDate_1, asap_1, comment_1, numberRanges_1, cloa_1) {
|
|
7699
|
-
var args_1 = [];
|
|
7700
|
-
for (var _i = 13; _i < arguments.length; _i++) {
|
|
7701
|
-
args_1[_i - 13] = arguments[_i];
|
|
7702
|
-
}
|
|
7703
|
-
return __awaiter(_this, __spreadArray([id_1, companyName_1, addressLine1_1, addressLine2_1, city_1, postCode_1, trunkId_1, tenantId_1, requestedPortDate_1, asap_1, comment_1, numberRanges_1, cloa_1], args_1, true), void 0, function (id, companyName, addressLine1, addressLine2, city, postCode, trunkId, tenantId, requestedPortDate, asap, comment, numberRanges, cloa, options) {
|
|
7704
|
-
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, localVarFormParams, headersFromBaseOptions;
|
|
7705
|
-
if (options === void 0) { options = {}; }
|
|
7706
|
-
return __generator(this, function (_a) {
|
|
7707
|
-
// verify required parameter 'id' is not null or undefined
|
|
7708
|
-
(0, common_1.assertParamExists)('postUpdateNumberPort', 'id', id);
|
|
7709
|
-
localVarPath = "/sip/numbers/ports/{id}"
|
|
7710
|
-
.replace("{".concat("id", "}"), encodeURIComponent(String(id)));
|
|
7711
|
-
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
7712
|
-
if (configuration) {
|
|
7713
|
-
baseOptions = configuration.baseOptions;
|
|
7714
|
-
}
|
|
7715
|
-
localVarRequestOptions = __assign(__assign({ method: 'POST' }, baseOptions), options);
|
|
7716
|
-
localVarHeaderParameter = {};
|
|
7717
|
-
localVarQueryParameter = {};
|
|
7718
|
-
localVarFormParams = new ((configuration && configuration.formDataCtor) || FormData)();
|
|
7719
|
-
if (companyName !== undefined) {
|
|
7720
|
-
localVarFormParams.append('companyName', companyName);
|
|
7721
|
-
}
|
|
7722
|
-
if (addressLine1 !== undefined) {
|
|
7723
|
-
localVarFormParams.append('addressLine1', addressLine1);
|
|
7724
|
-
}
|
|
7725
|
-
if (addressLine2 !== undefined) {
|
|
7726
|
-
localVarFormParams.append('addressLine2', addressLine2);
|
|
7727
|
-
}
|
|
7728
|
-
if (city !== undefined) {
|
|
7729
|
-
localVarFormParams.append('city', city);
|
|
7730
|
-
}
|
|
7731
|
-
if (postCode !== undefined) {
|
|
7732
|
-
localVarFormParams.append('postCode', postCode);
|
|
7733
|
-
}
|
|
7734
|
-
if (trunkId !== undefined) {
|
|
7735
|
-
localVarFormParams.append('trunkId', trunkId);
|
|
7736
|
-
}
|
|
7737
|
-
if (tenantId !== undefined) {
|
|
7738
|
-
localVarFormParams.append('tenantId', tenantId);
|
|
7739
|
-
}
|
|
7740
|
-
if (requestedPortDate !== undefined) {
|
|
7741
|
-
localVarFormParams.append('requestedPortDate', requestedPortDate);
|
|
7742
|
-
}
|
|
7743
|
-
if (asap !== undefined) {
|
|
7744
|
-
localVarFormParams.append('asap', String(asap));
|
|
7745
|
-
}
|
|
7746
|
-
if (comment !== undefined) {
|
|
7747
|
-
localVarFormParams.append('comment', comment);
|
|
7748
|
-
}
|
|
7749
|
-
if (numberRanges) {
|
|
7750
|
-
localVarFormParams.append('numberRanges', numberRanges.join(base_1.COLLECTION_FORMATS.csv));
|
|
7751
|
-
}
|
|
7752
|
-
if (cloa !== undefined) {
|
|
7753
|
-
localVarFormParams.append('cloa', cloa);
|
|
7754
|
-
}
|
|
7755
|
-
localVarHeaderParameter['Content-Type'] = 'multipart/form-data';
|
|
7756
|
-
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
7757
|
-
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
7758
|
-
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
7759
|
-
localVarRequestOptions.data = localVarFormParams;
|
|
7760
|
-
return [2 /*return*/, {
|
|
7761
|
-
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
7762
|
-
options: localVarRequestOptions,
|
|
7763
|
-
}];
|
|
7764
|
-
});
|
|
7765
|
-
});
|
|
7766
|
-
},
|
|
7767
|
-
/**
|
|
7768
|
-
*
|
|
7769
|
-
* @param {number} id Number Port ID
|
|
7770
|
-
* @param {string | null} [companyName] Company Name
|
|
7771
|
-
* @param {string | null} [addressLine1] Address Line 1
|
|
7772
|
-
* @param {string | null} [addressLine2] Address Line 2
|
|
7773
|
-
* @param {string | null} [city] City
|
|
7774
|
-
* @param {string | null} [postCode] Post Code
|
|
7775
|
-
* @param {number | null} [trunkId] Trunk ID
|
|
7776
|
-
* @param {number | null} [tenantId] Starter Bundle ID
|
|
7777
|
-
* @param {string | null} [requestedPortDate] Requested Port Date
|
|
7778
|
-
* @param {boolean | null} [asap] Port Date ASAP
|
|
7779
|
-
* @param {string | null} [comment] Comment
|
|
7780
|
-
* @param {number} [id2] Number Port ID
|
|
7781
|
-
* @param {string} [customerName] Customer Name
|
|
7782
|
-
* @param {string} [portDate] Porting Date
|
|
7783
|
-
* @param {Array<NumberPortRangeDTO>} [numberRanges] Number Ranges
|
|
7784
|
-
* @param {number} [status] Status
|
|
7785
|
-
* @param {number | null} [ticketId] Ticket ID
|
|
7786
|
-
* @param {*} [options] Override http request option.
|
|
7787
|
-
* @throws {RequiredError}
|
|
7788
|
-
*/
|
|
7789
|
-
putGetAdminNumberPort: function (id_1, companyName_1, addressLine1_1, addressLine2_1, city_1, postCode_1, trunkId_1, tenantId_1, requestedPortDate_1, asap_1, comment_1, id2_1, customerName_1, portDate_1, numberRanges_1, status_1, ticketId_1) {
|
|
7790
|
-
var args_1 = [];
|
|
7791
|
-
for (var _i = 17; _i < arguments.length; _i++) {
|
|
7792
|
-
args_1[_i - 17] = arguments[_i];
|
|
7793
|
-
}
|
|
7794
|
-
return __awaiter(_this, __spreadArray([id_1, companyName_1, addressLine1_1, addressLine2_1, city_1, postCode_1, trunkId_1, tenantId_1, requestedPortDate_1, asap_1, comment_1, id2_1, customerName_1, portDate_1, numberRanges_1, status_1, ticketId_1], args_1, true), void 0, function (id, companyName, addressLine1, addressLine2, city, postCode, trunkId, tenantId, requestedPortDate, asap, comment, id2, customerName, portDate, numberRanges, status, ticketId, options) {
|
|
7795
|
-
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, localVarFormParams, headersFromBaseOptions;
|
|
7796
|
-
if (options === void 0) { options = {}; }
|
|
7797
|
-
return __generator(this, function (_a) {
|
|
7798
|
-
// verify required parameter 'id' is not null or undefined
|
|
7799
|
-
(0, common_1.assertParamExists)('putGetAdminNumberPort', 'id', id);
|
|
7800
|
-
localVarPath = "/admin/sip/numbers/ports/{id}"
|
|
7801
|
-
.replace("{".concat("id", "}"), encodeURIComponent(String(id)));
|
|
7802
|
-
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
7803
|
-
if (configuration) {
|
|
7804
|
-
baseOptions = configuration.baseOptions;
|
|
7805
|
-
}
|
|
7806
|
-
localVarRequestOptions = __assign(__assign({ method: 'PUT' }, baseOptions), options);
|
|
7807
|
-
localVarHeaderParameter = {};
|
|
7808
|
-
localVarQueryParameter = {};
|
|
7809
|
-
localVarFormParams = new ((configuration && configuration.formDataCtor) || FormData)();
|
|
7810
|
-
if (companyName !== undefined) {
|
|
7811
|
-
localVarFormParams.append('companyName', companyName);
|
|
7812
|
-
}
|
|
7813
|
-
if (addressLine1 !== undefined) {
|
|
7814
|
-
localVarFormParams.append('addressLine1', addressLine1);
|
|
7815
|
-
}
|
|
7816
|
-
if (addressLine2 !== undefined) {
|
|
7817
|
-
localVarFormParams.append('addressLine2', addressLine2);
|
|
7818
|
-
}
|
|
7819
|
-
if (city !== undefined) {
|
|
7820
|
-
localVarFormParams.append('city', city);
|
|
7821
|
-
}
|
|
7822
|
-
if (postCode !== undefined) {
|
|
7823
|
-
localVarFormParams.append('postCode', postCode);
|
|
7824
|
-
}
|
|
7825
|
-
if (trunkId !== undefined) {
|
|
7826
|
-
localVarFormParams.append('trunkId', trunkId);
|
|
7827
|
-
}
|
|
7828
|
-
if (tenantId !== undefined) {
|
|
7829
|
-
localVarFormParams.append('tenantId', tenantId);
|
|
7830
|
-
}
|
|
7831
|
-
if (requestedPortDate !== undefined) {
|
|
7832
|
-
localVarFormParams.append('requestedPortDate', requestedPortDate);
|
|
7833
|
-
}
|
|
7834
|
-
if (asap !== undefined) {
|
|
7835
|
-
localVarFormParams.append('asap', String(asap));
|
|
7836
|
-
}
|
|
7837
|
-
if (comment !== undefined) {
|
|
7838
|
-
localVarFormParams.append('comment', comment);
|
|
7839
|
-
}
|
|
7840
|
-
if (id2 !== undefined) {
|
|
7841
|
-
localVarFormParams.append('id', id2);
|
|
7842
|
-
}
|
|
7843
|
-
if (customerName !== undefined) {
|
|
7844
|
-
localVarFormParams.append('customerName', customerName);
|
|
7845
|
-
}
|
|
7846
|
-
if (portDate !== undefined) {
|
|
7847
|
-
localVarFormParams.append('portDate', portDate);
|
|
7848
|
-
}
|
|
7849
|
-
if (numberRanges) {
|
|
7850
|
-
localVarFormParams.append('numberRanges', numberRanges.join(base_1.COLLECTION_FORMATS.csv));
|
|
7851
|
-
}
|
|
7852
|
-
if (status !== undefined) {
|
|
7853
|
-
localVarFormParams.append('status', status);
|
|
7854
|
-
}
|
|
7855
|
-
if (ticketId !== undefined) {
|
|
7856
|
-
localVarFormParams.append('ticketId', ticketId);
|
|
7857
|
-
}
|
|
7858
|
-
localVarHeaderParameter['Content-Type'] = 'multipart/form-data';
|
|
7859
|
-
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
7860
|
-
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
7861
|
-
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
7862
|
-
localVarRequestOptions.data = localVarFormParams;
|
|
7863
|
-
return [2 /*return*/, {
|
|
7864
|
-
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
7865
|
-
options: localVarRequestOptions,
|
|
7866
|
-
}];
|
|
7867
|
-
});
|
|
7868
|
-
});
|
|
7869
|
-
},
|
|
7870
|
-
};
|
|
7871
|
-
};
|
|
7872
|
-
exports.NumberPortingApiAxiosParamCreator = NumberPortingApiAxiosParamCreator;
|
|
7873
|
-
/**
|
|
7874
|
-
* NumberPortingApi - functional programming interface
|
|
7875
|
-
*/
|
|
7876
|
-
var NumberPortingApiFp = function (configuration) {
|
|
7877
|
-
var localVarAxiosParamCreator = (0, exports.NumberPortingApiAxiosParamCreator)(configuration);
|
|
7878
|
-
return {
|
|
7879
|
-
/**
|
|
7880
|
-
*
|
|
7881
|
-
* @param {number} id Number Port ID
|
|
7882
|
-
* @param {*} [options] Override http request option.
|
|
7883
|
-
* @throws {RequiredError}
|
|
7884
|
-
*/
|
|
7885
|
-
deleteGetAdminNumberPort: function (id, options) {
|
|
7886
|
-
return __awaiter(this, void 0, void 0, function () {
|
|
7887
|
-
var localVarAxiosArgs, localVarOperationServerIndex, localVarOperationServerBasePath;
|
|
7888
|
-
var _a, _b, _c;
|
|
7889
|
-
return __generator(this, function (_d) {
|
|
7890
|
-
switch (_d.label) {
|
|
7891
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.deleteGetAdminNumberPort(id, options)];
|
|
7892
|
-
case 1:
|
|
7893
|
-
localVarAxiosArgs = _d.sent();
|
|
7894
|
-
localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
7895
|
-
localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['NumberPortingApi.deleteGetAdminNumberPort']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
7896
|
-
return [2 /*return*/, function (axios, basePath) { return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath); }];
|
|
7897
|
-
}
|
|
7898
|
-
});
|
|
7899
|
-
});
|
|
7900
|
-
},
|
|
7901
|
-
/**
|
|
7902
|
-
*
|
|
7903
|
-
* @param {number} [pageSize] Number Of Results
|
|
7904
|
-
* @param {number} [page] Page Number
|
|
7905
|
-
* @param {string} [search] Search
|
|
7906
|
-
* @param {*} [options] Override http request option.
|
|
7907
|
-
* @throws {RequiredError}
|
|
7908
|
-
*/
|
|
7909
|
-
getCreateNumberPort: function (pageSize, page, search, options) {
|
|
7910
|
-
return __awaiter(this, void 0, void 0, function () {
|
|
7911
|
-
var localVarAxiosArgs, localVarOperationServerIndex, localVarOperationServerBasePath;
|
|
7912
|
-
var _a, _b, _c;
|
|
7913
|
-
return __generator(this, function (_d) {
|
|
7914
|
-
switch (_d.label) {
|
|
7915
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.getCreateNumberPort(pageSize, page, search, options)];
|
|
7916
|
-
case 1:
|
|
7917
|
-
localVarAxiosArgs = _d.sent();
|
|
7918
|
-
localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
7919
|
-
localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['NumberPortingApi.getCreateNumberPort']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
7920
|
-
return [2 /*return*/, function (axios, basePath) { return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath); }];
|
|
7921
|
-
}
|
|
7922
|
-
});
|
|
7923
|
-
});
|
|
7924
|
-
},
|
|
7925
|
-
/**
|
|
7926
|
-
*
|
|
7927
|
-
* @param {number} id Number Port ID
|
|
7928
|
-
* @param {*} [options] Override http request option.
|
|
7929
|
-
* @throws {RequiredError}
|
|
7930
|
-
*/
|
|
7931
|
-
getGetAdminNumberPort: function (id, options) {
|
|
7932
|
-
return __awaiter(this, void 0, void 0, function () {
|
|
7933
|
-
var localVarAxiosArgs, localVarOperationServerIndex, localVarOperationServerBasePath;
|
|
7934
|
-
var _a, _b, _c;
|
|
7935
|
-
return __generator(this, function (_d) {
|
|
7936
|
-
switch (_d.label) {
|
|
7937
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.getGetAdminNumberPort(id, options)];
|
|
7938
|
-
case 1:
|
|
7939
|
-
localVarAxiosArgs = _d.sent();
|
|
7940
|
-
localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
7941
|
-
localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['NumberPortingApi.getGetAdminNumberPort']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
7942
|
-
return [2 /*return*/, function (axios, basePath) { return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath); }];
|
|
7943
|
-
}
|
|
7944
|
-
});
|
|
7945
|
-
});
|
|
7946
|
-
},
|
|
7947
|
-
/**
|
|
7948
|
-
*
|
|
7949
|
-
* @param {number} [pageSize] Number Of Results
|
|
7950
|
-
* @param {number} [page] Page Number
|
|
7951
|
-
* @param {string} [search] Search
|
|
7952
|
-
* @param {*} [options] Override http request option.
|
|
7953
|
-
* @throws {RequiredError}
|
|
7954
|
-
*/
|
|
7955
|
-
getGetAdminNumberPorts: function (pageSize, page, search, options) {
|
|
7956
|
-
return __awaiter(this, void 0, void 0, function () {
|
|
7957
|
-
var localVarAxiosArgs, localVarOperationServerIndex, localVarOperationServerBasePath;
|
|
7958
|
-
var _a, _b, _c;
|
|
7959
|
-
return __generator(this, function (_d) {
|
|
7960
|
-
switch (_d.label) {
|
|
7961
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.getGetAdminNumberPorts(pageSize, page, search, options)];
|
|
7962
|
-
case 1:
|
|
7963
|
-
localVarAxiosArgs = _d.sent();
|
|
7964
|
-
localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
7965
|
-
localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['NumberPortingApi.getGetAdminNumberPorts']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
7966
|
-
return [2 /*return*/, function (axios, basePath) { return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath); }];
|
|
7967
|
-
}
|
|
7968
|
-
});
|
|
7969
|
-
});
|
|
7970
|
-
},
|
|
7971
|
-
/**
|
|
7972
|
-
*
|
|
7973
|
-
* @param {number} id Number Port ID
|
|
7974
|
-
* @param {*} [options] Override http request option.
|
|
7975
|
-
* @throws {RequiredError}
|
|
7976
|
-
*/
|
|
7977
|
-
getUpdateNumberPort: function (id, options) {
|
|
7978
|
-
return __awaiter(this, void 0, void 0, function () {
|
|
7979
|
-
var localVarAxiosArgs, localVarOperationServerIndex, localVarOperationServerBasePath;
|
|
7980
|
-
var _a, _b, _c;
|
|
7981
|
-
return __generator(this, function (_d) {
|
|
7982
|
-
switch (_d.label) {
|
|
7983
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.getUpdateNumberPort(id, options)];
|
|
7984
|
-
case 1:
|
|
7985
|
-
localVarAxiosArgs = _d.sent();
|
|
7986
|
-
localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
7987
|
-
localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['NumberPortingApi.getUpdateNumberPort']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
7988
|
-
return [2 /*return*/, function (axios, basePath) { return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath); }];
|
|
7989
|
-
}
|
|
7990
|
-
});
|
|
7991
|
-
});
|
|
7992
|
-
},
|
|
7993
|
-
/**
|
|
7994
|
-
*
|
|
7995
|
-
* @param {string | null} [companyName] Company Name
|
|
7996
|
-
* @param {string | null} [addressLine1] Address Line 1
|
|
7997
|
-
* @param {string | null} [addressLine2] Address Line 2
|
|
7998
|
-
* @param {string | null} [city] City
|
|
7999
|
-
* @param {string | null} [postCode] Post Code
|
|
8000
|
-
* @param {number | null} [trunkId] Trunk ID
|
|
8001
|
-
* @param {number | null} [tenantId] Starter Bundle ID
|
|
8002
|
-
* @param {string | null} [requestedPortDate] Requested Port Date
|
|
8003
|
-
* @param {boolean | null} [asap] Port Date ASAP
|
|
8004
|
-
* @param {string | null} [comment] Comment
|
|
8005
|
-
* @param {Array<NumberPortRangeRequestDTO>} [numberRanges] Number Ranges
|
|
8006
|
-
* @param {File} [cloa] CLOA (only provide on submission)
|
|
8007
|
-
* @param {*} [options] Override http request option.
|
|
8008
|
-
* @throws {RequiredError}
|
|
8009
|
-
*/
|
|
8010
|
-
postCreateNumberPort: function (companyName, addressLine1, addressLine2, city, postCode, trunkId, tenantId, requestedPortDate, asap, comment, numberRanges, cloa, options) {
|
|
8011
|
-
return __awaiter(this, void 0, void 0, function () {
|
|
8012
|
-
var localVarAxiosArgs, localVarOperationServerIndex, localVarOperationServerBasePath;
|
|
8013
|
-
var _a, _b, _c;
|
|
8014
|
-
return __generator(this, function (_d) {
|
|
8015
|
-
switch (_d.label) {
|
|
8016
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.postCreateNumberPort(companyName, addressLine1, addressLine2, city, postCode, trunkId, tenantId, requestedPortDate, asap, comment, numberRanges, cloa, options)];
|
|
8017
|
-
case 1:
|
|
8018
|
-
localVarAxiosArgs = _d.sent();
|
|
8019
|
-
localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
8020
|
-
localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['NumberPortingApi.postCreateNumberPort']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
8021
|
-
return [2 /*return*/, function (axios, basePath) { return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath); }];
|
|
8022
|
-
}
|
|
8023
|
-
});
|
|
8024
|
-
});
|
|
8025
|
-
},
|
|
8026
|
-
/**
|
|
8027
|
-
*
|
|
8028
|
-
* @param {number} id Number Port ID
|
|
8029
|
-
* @param {string | null} [companyName] Company Name
|
|
8030
|
-
* @param {string | null} [addressLine1] Address Line 1
|
|
8031
|
-
* @param {string | null} [addressLine2] Address Line 2
|
|
8032
|
-
* @param {string | null} [city] City
|
|
8033
|
-
* @param {string | null} [postCode] Post Code
|
|
8034
|
-
* @param {number | null} [trunkId] Trunk ID
|
|
8035
|
-
* @param {number | null} [tenantId] Starter Bundle ID
|
|
8036
|
-
* @param {string | null} [requestedPortDate] Requested Port Date
|
|
8037
|
-
* @param {boolean | null} [asap] Port Date ASAP
|
|
8038
|
-
* @param {string | null} [comment] Comment
|
|
8039
|
-
* @param {Array<NumberPortRangeRequestDTO>} [numberRanges] Number Ranges
|
|
8040
|
-
* @param {File} [cloa] CLOA (only provide on submission)
|
|
8041
|
-
* @param {*} [options] Override http request option.
|
|
8042
|
-
* @throws {RequiredError}
|
|
8043
|
-
*/
|
|
8044
|
-
postSubmitNumberPort: function (id, companyName, addressLine1, addressLine2, city, postCode, trunkId, tenantId, requestedPortDate, asap, comment, numberRanges, cloa, options) {
|
|
8045
|
-
return __awaiter(this, void 0, void 0, function () {
|
|
8046
|
-
var localVarAxiosArgs, localVarOperationServerIndex, localVarOperationServerBasePath;
|
|
8047
|
-
var _a, _b, _c;
|
|
8048
|
-
return __generator(this, function (_d) {
|
|
8049
|
-
switch (_d.label) {
|
|
8050
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.postSubmitNumberPort(id, companyName, addressLine1, addressLine2, city, postCode, trunkId, tenantId, requestedPortDate, asap, comment, numberRanges, cloa, options)];
|
|
8051
|
-
case 1:
|
|
8052
|
-
localVarAxiosArgs = _d.sent();
|
|
8053
|
-
localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
8054
|
-
localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['NumberPortingApi.postSubmitNumberPort']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
8055
|
-
return [2 /*return*/, function (axios, basePath) { return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath); }];
|
|
8056
|
-
}
|
|
8057
|
-
});
|
|
8058
|
-
});
|
|
8059
|
-
},
|
|
8060
|
-
/**
|
|
8061
|
-
*
|
|
8062
|
-
* @param {number} id Number Port ID
|
|
8063
|
-
* @param {string | null} [companyName] Company Name
|
|
8064
|
-
* @param {string | null} [addressLine1] Address Line 1
|
|
8065
|
-
* @param {string | null} [addressLine2] Address Line 2
|
|
8066
|
-
* @param {string | null} [city] City
|
|
8067
|
-
* @param {string | null} [postCode] Post Code
|
|
8068
|
-
* @param {number | null} [trunkId] Trunk ID
|
|
8069
|
-
* @param {number | null} [tenantId] Starter Bundle ID
|
|
8070
|
-
* @param {string | null} [requestedPortDate] Requested Port Date
|
|
8071
|
-
* @param {boolean | null} [asap] Port Date ASAP
|
|
8072
|
-
* @param {string | null} [comment] Comment
|
|
8073
|
-
* @param {Array<NumberPortRangeRequestDTO>} [numberRanges] Number Ranges
|
|
8074
|
-
* @param {File} [cloa] CLOA (only provide on submission)
|
|
8075
|
-
* @param {*} [options] Override http request option.
|
|
8076
|
-
* @throws {RequiredError}
|
|
8077
|
-
*/
|
|
8078
|
-
postUpdateNumberPort: function (id, companyName, addressLine1, addressLine2, city, postCode, trunkId, tenantId, requestedPortDate, asap, comment, numberRanges, cloa, options) {
|
|
8079
|
-
return __awaiter(this, void 0, void 0, function () {
|
|
8080
|
-
var localVarAxiosArgs, localVarOperationServerIndex, localVarOperationServerBasePath;
|
|
8081
|
-
var _a, _b, _c;
|
|
8082
|
-
return __generator(this, function (_d) {
|
|
8083
|
-
switch (_d.label) {
|
|
8084
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.postUpdateNumberPort(id, companyName, addressLine1, addressLine2, city, postCode, trunkId, tenantId, requestedPortDate, asap, comment, numberRanges, cloa, options)];
|
|
8085
|
-
case 1:
|
|
8086
|
-
localVarAxiosArgs = _d.sent();
|
|
8087
|
-
localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
8088
|
-
localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['NumberPortingApi.postUpdateNumberPort']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
8089
|
-
return [2 /*return*/, function (axios, basePath) { return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath); }];
|
|
8090
|
-
}
|
|
8091
|
-
});
|
|
8092
|
-
});
|
|
8093
|
-
},
|
|
8094
|
-
/**
|
|
8095
|
-
*
|
|
8096
|
-
* @param {number} id Number Port ID
|
|
8097
|
-
* @param {string | null} [companyName] Company Name
|
|
8098
|
-
* @param {string | null} [addressLine1] Address Line 1
|
|
8099
|
-
* @param {string | null} [addressLine2] Address Line 2
|
|
8100
|
-
* @param {string | null} [city] City
|
|
8101
|
-
* @param {string | null} [postCode] Post Code
|
|
8102
|
-
* @param {number | null} [trunkId] Trunk ID
|
|
8103
|
-
* @param {number | null} [tenantId] Starter Bundle ID
|
|
8104
|
-
* @param {string | null} [requestedPortDate] Requested Port Date
|
|
8105
|
-
* @param {boolean | null} [asap] Port Date ASAP
|
|
8106
|
-
* @param {string | null} [comment] Comment
|
|
8107
|
-
* @param {number} [id2] Number Port ID
|
|
8108
|
-
* @param {string} [customerName] Customer Name
|
|
8109
|
-
* @param {string} [portDate] Porting Date
|
|
8110
|
-
* @param {Array<NumberPortRangeDTO>} [numberRanges] Number Ranges
|
|
8111
|
-
* @param {number} [status] Status
|
|
8112
|
-
* @param {number | null} [ticketId] Ticket ID
|
|
8113
|
-
* @param {*} [options] Override http request option.
|
|
8114
|
-
* @throws {RequiredError}
|
|
8115
|
-
*/
|
|
8116
|
-
putGetAdminNumberPort: function (id, companyName, addressLine1, addressLine2, city, postCode, trunkId, tenantId, requestedPortDate, asap, comment, id2, customerName, portDate, numberRanges, status, ticketId, options) {
|
|
8117
|
-
return __awaiter(this, void 0, void 0, function () {
|
|
8118
|
-
var localVarAxiosArgs, localVarOperationServerIndex, localVarOperationServerBasePath;
|
|
8119
|
-
var _a, _b, _c;
|
|
8120
|
-
return __generator(this, function (_d) {
|
|
8121
|
-
switch (_d.label) {
|
|
8122
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.putGetAdminNumberPort(id, companyName, addressLine1, addressLine2, city, postCode, trunkId, tenantId, requestedPortDate, asap, comment, id2, customerName, portDate, numberRanges, status, ticketId, options)];
|
|
8123
|
-
case 1:
|
|
8124
|
-
localVarAxiosArgs = _d.sent();
|
|
8125
|
-
localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
8126
|
-
localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['NumberPortingApi.putGetAdminNumberPort']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
8127
|
-
return [2 /*return*/, function (axios, basePath) { return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath); }];
|
|
8128
|
-
}
|
|
8129
|
-
});
|
|
8130
|
-
});
|
|
8131
|
-
},
|
|
8132
|
-
};
|
|
8133
|
-
};
|
|
8134
|
-
exports.NumberPortingApiFp = NumberPortingApiFp;
|
|
8135
|
-
/**
|
|
8136
|
-
* NumberPortingApi - factory interface
|
|
8137
|
-
*/
|
|
8138
|
-
var NumberPortingApiFactory = function (configuration, basePath, axios) {
|
|
8139
|
-
var localVarFp = (0, exports.NumberPortingApiFp)(configuration);
|
|
8140
|
-
return {
|
|
8141
|
-
/**
|
|
8142
|
-
*
|
|
8143
|
-
* @param {number} id Number Port ID
|
|
8144
|
-
* @param {*} [options] Override http request option.
|
|
8145
|
-
* @throws {RequiredError}
|
|
8146
|
-
*/
|
|
8147
|
-
deleteGetAdminNumberPort: function (id, options) {
|
|
8148
|
-
return localVarFp.deleteGetAdminNumberPort(id, options).then(function (request) { return request(axios, basePath); });
|
|
8149
|
-
},
|
|
8150
|
-
/**
|
|
8151
|
-
*
|
|
8152
|
-
* @param {number} [pageSize] Number Of Results
|
|
8153
|
-
* @param {number} [page] Page Number
|
|
8154
|
-
* @param {string} [search] Search
|
|
8155
|
-
* @param {*} [options] Override http request option.
|
|
8156
|
-
* @throws {RequiredError}
|
|
8157
|
-
*/
|
|
8158
|
-
getCreateNumberPort: function (pageSize, page, search, options) {
|
|
8159
|
-
return localVarFp.getCreateNumberPort(pageSize, page, search, options).then(function (request) { return request(axios, basePath); });
|
|
8160
|
-
},
|
|
8161
|
-
/**
|
|
8162
|
-
*
|
|
8163
|
-
* @param {number} id Number Port ID
|
|
8164
|
-
* @param {*} [options] Override http request option.
|
|
8165
|
-
* @throws {RequiredError}
|
|
8166
|
-
*/
|
|
8167
|
-
getGetAdminNumberPort: function (id, options) {
|
|
8168
|
-
return localVarFp.getGetAdminNumberPort(id, options).then(function (request) { return request(axios, basePath); });
|
|
8169
|
-
},
|
|
8170
|
-
/**
|
|
8171
|
-
*
|
|
8172
|
-
* @param {number} [pageSize] Number Of Results
|
|
8173
|
-
* @param {number} [page] Page Number
|
|
8174
|
-
* @param {string} [search] Search
|
|
8175
|
-
* @param {*} [options] Override http request option.
|
|
8176
|
-
* @throws {RequiredError}
|
|
8177
|
-
*/
|
|
8178
|
-
getGetAdminNumberPorts: function (pageSize, page, search, options) {
|
|
8179
|
-
return localVarFp.getGetAdminNumberPorts(pageSize, page, search, options).then(function (request) { return request(axios, basePath); });
|
|
8180
|
-
},
|
|
8181
|
-
/**
|
|
8182
|
-
*
|
|
8183
|
-
* @param {number} id Number Port ID
|
|
8184
|
-
* @param {*} [options] Override http request option.
|
|
8185
|
-
* @throws {RequiredError}
|
|
8186
|
-
*/
|
|
8187
|
-
getUpdateNumberPort: function (id, options) {
|
|
8188
|
-
return localVarFp.getUpdateNumberPort(id, options).then(function (request) { return request(axios, basePath); });
|
|
8189
|
-
},
|
|
8190
|
-
/**
|
|
8191
|
-
*
|
|
8192
|
-
* @param {string | null} [companyName] Company Name
|
|
8193
|
-
* @param {string | null} [addressLine1] Address Line 1
|
|
8194
|
-
* @param {string | null} [addressLine2] Address Line 2
|
|
8195
|
-
* @param {string | null} [city] City
|
|
8196
|
-
* @param {string | null} [postCode] Post Code
|
|
8197
|
-
* @param {number | null} [trunkId] Trunk ID
|
|
8198
|
-
* @param {number | null} [tenantId] Starter Bundle ID
|
|
8199
|
-
* @param {string | null} [requestedPortDate] Requested Port Date
|
|
8200
|
-
* @param {boolean | null} [asap] Port Date ASAP
|
|
8201
|
-
* @param {string | null} [comment] Comment
|
|
8202
|
-
* @param {Array<NumberPortRangeRequestDTO>} [numberRanges] Number Ranges
|
|
8203
|
-
* @param {File} [cloa] CLOA (only provide on submission)
|
|
8204
|
-
* @param {*} [options] Override http request option.
|
|
8205
|
-
* @throws {RequiredError}
|
|
8206
|
-
*/
|
|
8207
|
-
postCreateNumberPort: function (companyName, addressLine1, addressLine2, city, postCode, trunkId, tenantId, requestedPortDate, asap, comment, numberRanges, cloa, options) {
|
|
8208
|
-
return localVarFp.postCreateNumberPort(companyName, addressLine1, addressLine2, city, postCode, trunkId, tenantId, requestedPortDate, asap, comment, numberRanges, cloa, options).then(function (request) { return request(axios, basePath); });
|
|
8209
|
-
},
|
|
8210
|
-
/**
|
|
8211
|
-
*
|
|
8212
|
-
* @param {number} id Number Port ID
|
|
8213
|
-
* @param {string | null} [companyName] Company Name
|
|
8214
|
-
* @param {string | null} [addressLine1] Address Line 1
|
|
8215
|
-
* @param {string | null} [addressLine2] Address Line 2
|
|
8216
|
-
* @param {string | null} [city] City
|
|
8217
|
-
* @param {string | null} [postCode] Post Code
|
|
8218
|
-
* @param {number | null} [trunkId] Trunk ID
|
|
8219
|
-
* @param {number | null} [tenantId] Starter Bundle ID
|
|
8220
|
-
* @param {string | null} [requestedPortDate] Requested Port Date
|
|
8221
|
-
* @param {boolean | null} [asap] Port Date ASAP
|
|
8222
|
-
* @param {string | null} [comment] Comment
|
|
8223
|
-
* @param {Array<NumberPortRangeRequestDTO>} [numberRanges] Number Ranges
|
|
8224
|
-
* @param {File} [cloa] CLOA (only provide on submission)
|
|
8225
|
-
* @param {*} [options] Override http request option.
|
|
8226
|
-
* @throws {RequiredError}
|
|
8227
|
-
*/
|
|
8228
|
-
postSubmitNumberPort: function (id, companyName, addressLine1, addressLine2, city, postCode, trunkId, tenantId, requestedPortDate, asap, comment, numberRanges, cloa, options) {
|
|
8229
|
-
return localVarFp.postSubmitNumberPort(id, companyName, addressLine1, addressLine2, city, postCode, trunkId, tenantId, requestedPortDate, asap, comment, numberRanges, cloa, options).then(function (request) { return request(axios, basePath); });
|
|
8230
|
-
},
|
|
8231
|
-
/**
|
|
8232
|
-
*
|
|
8233
|
-
* @param {number} id Number Port ID
|
|
8234
|
-
* @param {string | null} [companyName] Company Name
|
|
8235
|
-
* @param {string | null} [addressLine1] Address Line 1
|
|
8236
|
-
* @param {string | null} [addressLine2] Address Line 2
|
|
8237
|
-
* @param {string | null} [city] City
|
|
8238
|
-
* @param {string | null} [postCode] Post Code
|
|
8239
|
-
* @param {number | null} [trunkId] Trunk ID
|
|
8240
|
-
* @param {number | null} [tenantId] Starter Bundle ID
|
|
8241
|
-
* @param {string | null} [requestedPortDate] Requested Port Date
|
|
8242
|
-
* @param {boolean | null} [asap] Port Date ASAP
|
|
8243
|
-
* @param {string | null} [comment] Comment
|
|
8244
|
-
* @param {Array<NumberPortRangeRequestDTO>} [numberRanges] Number Ranges
|
|
8245
|
-
* @param {File} [cloa] CLOA (only provide on submission)
|
|
8246
|
-
* @param {*} [options] Override http request option.
|
|
8247
|
-
* @throws {RequiredError}
|
|
8248
|
-
*/
|
|
8249
|
-
postUpdateNumberPort: function (id, companyName, addressLine1, addressLine2, city, postCode, trunkId, tenantId, requestedPortDate, asap, comment, numberRanges, cloa, options) {
|
|
8250
|
-
return localVarFp.postUpdateNumberPort(id, companyName, addressLine1, addressLine2, city, postCode, trunkId, tenantId, requestedPortDate, asap, comment, numberRanges, cloa, options).then(function (request) { return request(axios, basePath); });
|
|
8251
|
-
},
|
|
8252
|
-
/**
|
|
8253
|
-
*
|
|
8254
|
-
* @param {number} id Number Port ID
|
|
8255
|
-
* @param {string | null} [companyName] Company Name
|
|
8256
|
-
* @param {string | null} [addressLine1] Address Line 1
|
|
8257
|
-
* @param {string | null} [addressLine2] Address Line 2
|
|
8258
|
-
* @param {string | null} [city] City
|
|
8259
|
-
* @param {string | null} [postCode] Post Code
|
|
8260
|
-
* @param {number | null} [trunkId] Trunk ID
|
|
8261
|
-
* @param {number | null} [tenantId] Starter Bundle ID
|
|
8262
|
-
* @param {string | null} [requestedPortDate] Requested Port Date
|
|
8263
|
-
* @param {boolean | null} [asap] Port Date ASAP
|
|
8264
|
-
* @param {string | null} [comment] Comment
|
|
8265
|
-
* @param {number} [id2] Number Port ID
|
|
8266
|
-
* @param {string} [customerName] Customer Name
|
|
8267
|
-
* @param {string} [portDate] Porting Date
|
|
8268
|
-
* @param {Array<NumberPortRangeDTO>} [numberRanges] Number Ranges
|
|
8269
|
-
* @param {number} [status] Status
|
|
8270
|
-
* @param {number | null} [ticketId] Ticket ID
|
|
8271
|
-
* @param {*} [options] Override http request option.
|
|
8272
|
-
* @throws {RequiredError}
|
|
8273
|
-
*/
|
|
8274
|
-
putGetAdminNumberPort: function (id, companyName, addressLine1, addressLine2, city, postCode, trunkId, tenantId, requestedPortDate, asap, comment, id2, customerName, portDate, numberRanges, status, ticketId, options) {
|
|
8275
|
-
return localVarFp.putGetAdminNumberPort(id, companyName, addressLine1, addressLine2, city, postCode, trunkId, tenantId, requestedPortDate, asap, comment, id2, customerName, portDate, numberRanges, status, ticketId, options).then(function (request) { return request(axios, basePath); });
|
|
8276
|
-
},
|
|
8277
|
-
};
|
|
8278
|
-
};
|
|
8279
|
-
exports.NumberPortingApiFactory = NumberPortingApiFactory;
|
|
8280
|
-
/**
|
|
8281
|
-
* NumberPortingApi - object-oriented interface
|
|
8282
|
-
*/
|
|
8283
|
-
var NumberPortingApi = /** @class */ (function (_super) {
|
|
8284
|
-
__extends(NumberPortingApi, _super);
|
|
8285
|
-
function NumberPortingApi() {
|
|
8286
|
-
return _super !== null && _super.apply(this, arguments) || this;
|
|
8287
|
-
}
|
|
8288
|
-
/**
|
|
8289
|
-
*
|
|
8290
|
-
* @param {number} id Number Port ID
|
|
8291
|
-
* @param {*} [options] Override http request option.
|
|
8292
|
-
* @throws {RequiredError}
|
|
8293
|
-
*/
|
|
8294
|
-
NumberPortingApi.prototype.deleteGetAdminNumberPort = function (id, options) {
|
|
8295
|
-
var _this = this;
|
|
8296
|
-
return (0, exports.NumberPortingApiFp)(this.configuration).deleteGetAdminNumberPort(id, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
8297
|
-
};
|
|
8298
|
-
/**
|
|
8299
|
-
*
|
|
8300
|
-
* @param {number} [pageSize] Number Of Results
|
|
8301
|
-
* @param {number} [page] Page Number
|
|
8302
|
-
* @param {string} [search] Search
|
|
7223
|
+
}
|
|
7224
|
+
/**
|
|
7225
|
+
* Delete 3CX Starter Bundle Tenant
|
|
7226
|
+
* @summary Delete 3CX MT Tenant
|
|
7227
|
+
* @param {string} reference Tenant Reference
|
|
8303
7228
|
* @param {*} [options] Override http request option.
|
|
8304
7229
|
* @throws {RequiredError}
|
|
7230
|
+
* @memberof Class3CXMultiTenantApi
|
|
8305
7231
|
*/
|
|
8306
|
-
|
|
7232
|
+
Class3CXMultiTenantApi.prototype.deleteGetTenant = function (reference, options) {
|
|
8307
7233
|
var _this = this;
|
|
8308
|
-
return (0, exports.
|
|
7234
|
+
return (0, exports.Class3CXMultiTenantApiFp)(this.configuration).deleteGetTenant(reference, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
8309
7235
|
};
|
|
8310
7236
|
/**
|
|
8311
|
-
*
|
|
8312
|
-
* @
|
|
7237
|
+
* Get 3CX Starter Bundle Tenant
|
|
7238
|
+
* @summary Get 3CX MT Tenant
|
|
7239
|
+
* @param {string} reference Tenant Reference
|
|
8313
7240
|
* @param {*} [options] Override http request option.
|
|
8314
7241
|
* @throws {RequiredError}
|
|
7242
|
+
* @memberof Class3CXMultiTenantApi
|
|
8315
7243
|
*/
|
|
8316
|
-
|
|
7244
|
+
Class3CXMultiTenantApi.prototype.getGetTenant = function (reference, options) {
|
|
8317
7245
|
var _this = this;
|
|
8318
|
-
return (0, exports.
|
|
7246
|
+
return (0, exports.Class3CXMultiTenantApiFp)(this.configuration).getGetTenant(reference, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
8319
7247
|
};
|
|
8320
7248
|
/**
|
|
8321
|
-
*
|
|
7249
|
+
* Get 3CX Starter Bundle Tenants
|
|
7250
|
+
* @summary Get 3CX MT Tenants
|
|
8322
7251
|
* @param {number} [pageSize] Number Of Results
|
|
8323
7252
|
* @param {number} [page] Page Number
|
|
8324
7253
|
* @param {string} [search] Search
|
|
7254
|
+
* @param {GetGetTenantsStatusEnum} [status] Status
|
|
8325
7255
|
* @param {*} [options] Override http request option.
|
|
8326
7256
|
* @throws {RequiredError}
|
|
7257
|
+
* @memberof Class3CXMultiTenantApi
|
|
8327
7258
|
*/
|
|
8328
|
-
|
|
7259
|
+
Class3CXMultiTenantApi.prototype.getGetTenants = function (pageSize, page, search, status, options) {
|
|
8329
7260
|
var _this = this;
|
|
8330
|
-
return (0, exports.
|
|
7261
|
+
return (0, exports.Class3CXMultiTenantApiFp)(this.configuration).getGetTenants(pageSize, page, search, status, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
8331
7262
|
};
|
|
8332
7263
|
/**
|
|
8333
|
-
*
|
|
8334
|
-
* @
|
|
7264
|
+
* Add 3CX MT DDI
|
|
7265
|
+
* @summary Add 3CX MT DDI
|
|
7266
|
+
* @param {string} areacode Area Code
|
|
8335
7267
|
* @param {*} [options] Override http request option.
|
|
8336
7268
|
* @throws {RequiredError}
|
|
7269
|
+
* @memberof Class3CXMultiTenantApi
|
|
8337
7270
|
*/
|
|
8338
|
-
|
|
7271
|
+
Class3CXMultiTenantApi.prototype.postAddMtDdi = function (areacode, options) {
|
|
8339
7272
|
var _this = this;
|
|
8340
|
-
return (0, exports.
|
|
7273
|
+
return (0, exports.Class3CXMultiTenantApiFp)(this.configuration).postAddMtDdi(areacode, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
8341
7274
|
};
|
|
8342
7275
|
/**
|
|
8343
|
-
*
|
|
8344
|
-
* @
|
|
8345
|
-
* @param {
|
|
8346
|
-
* @param {string | null} [addressLine2] Address Line 2
|
|
8347
|
-
* @param {string | null} [city] City
|
|
8348
|
-
* @param {string | null} [postCode] Post Code
|
|
8349
|
-
* @param {number | null} [trunkId] Trunk ID
|
|
8350
|
-
* @param {number | null} [tenantId] Starter Bundle ID
|
|
8351
|
-
* @param {string | null} [requestedPortDate] Requested Port Date
|
|
8352
|
-
* @param {boolean | null} [asap] Port Date ASAP
|
|
8353
|
-
* @param {string | null} [comment] Comment
|
|
8354
|
-
* @param {Array<NumberPortRangeRequestDTO>} [numberRanges] Number Ranges
|
|
8355
|
-
* @param {File} [cloa] CLOA (only provide on submission)
|
|
7276
|
+
* Get 3CX MT New DDIs
|
|
7277
|
+
* @summary Get 3CX MT New DDIs
|
|
7278
|
+
* @param {MultiTenantChangeResponseModel} [multiTenantChangeResponseModel] Multi-Tenant Change Request
|
|
8356
7279
|
* @param {*} [options] Override http request option.
|
|
8357
7280
|
* @throws {RequiredError}
|
|
7281
|
+
* @memberof Class3CXMultiTenantApi
|
|
8358
7282
|
*/
|
|
8359
|
-
|
|
7283
|
+
Class3CXMultiTenantApi.prototype.postGetMtNewDdis = function (multiTenantChangeResponseModel, options) {
|
|
8360
7284
|
var _this = this;
|
|
8361
|
-
return (0, exports.
|
|
7285
|
+
return (0, exports.Class3CXMultiTenantApiFp)(this.configuration).postGetMtNewDdis(multiTenantChangeResponseModel, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
8362
7286
|
};
|
|
8363
7287
|
/**
|
|
8364
|
-
*
|
|
8365
|
-
* @
|
|
8366
|
-
* @param {
|
|
8367
|
-
* @param {string | null} [addressLine1] Address Line 1
|
|
8368
|
-
* @param {string | null} [addressLine2] Address Line 2
|
|
8369
|
-
* @param {string | null} [city] City
|
|
8370
|
-
* @param {string | null} [postCode] Post Code
|
|
8371
|
-
* @param {number | null} [trunkId] Trunk ID
|
|
8372
|
-
* @param {number | null} [tenantId] Starter Bundle ID
|
|
8373
|
-
* @param {string | null} [requestedPortDate] Requested Port Date
|
|
8374
|
-
* @param {boolean | null} [asap] Port Date ASAP
|
|
8375
|
-
* @param {string | null} [comment] Comment
|
|
8376
|
-
* @param {Array<NumberPortRangeRequestDTO>} [numberRanges] Number Ranges
|
|
8377
|
-
* @param {File} [cloa] CLOA (only provide on submission)
|
|
7288
|
+
* Add 3CX Starter Bundle Tenant
|
|
7289
|
+
* @summary Add 3CX MT Tenant
|
|
7290
|
+
* @param {TcxMultiTenantModel} [tcxMultiTenantModel] New 3CX Starter Bundle Request
|
|
8378
7291
|
* @param {*} [options] Override http request option.
|
|
8379
7292
|
* @throws {RequiredError}
|
|
7293
|
+
* @memberof Class3CXMultiTenantApi
|
|
8380
7294
|
*/
|
|
8381
|
-
|
|
7295
|
+
Class3CXMultiTenantApi.prototype.postGetTenants = function (tcxMultiTenantModel, options) {
|
|
8382
7296
|
var _this = this;
|
|
8383
|
-
return (0, exports.
|
|
7297
|
+
return (0, exports.Class3CXMultiTenantApiFp)(this.configuration).postGetTenants(tcxMultiTenantModel, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
8384
7298
|
};
|
|
8385
7299
|
/**
|
|
8386
|
-
*
|
|
8387
|
-
* @
|
|
8388
|
-
* @param {
|
|
8389
|
-
* @param {string | null} [addressLine1] Address Line 1
|
|
8390
|
-
* @param {string | null} [addressLine2] Address Line 2
|
|
8391
|
-
* @param {string | null} [city] City
|
|
8392
|
-
* @param {string | null} [postCode] Post Code
|
|
8393
|
-
* @param {number | null} [trunkId] Trunk ID
|
|
8394
|
-
* @param {number | null} [tenantId] Starter Bundle ID
|
|
8395
|
-
* @param {string | null} [requestedPortDate] Requested Port Date
|
|
8396
|
-
* @param {boolean | null} [asap] Port Date ASAP
|
|
8397
|
-
* @param {string | null} [comment] Comment
|
|
8398
|
-
* @param {Array<NumberPortRangeRequestDTO>} [numberRanges] Number Ranges
|
|
8399
|
-
* @param {File} [cloa] CLOA (only provide on submission)
|
|
7300
|
+
* Track 3CX MT Change
|
|
7301
|
+
* @summary Track 3CX MT Change
|
|
7302
|
+
* @param {MultiTenantChangeResponseModel} [multiTenantChangeResponseModel] Multi-Tenant Change Request
|
|
8400
7303
|
* @param {*} [options] Override http request option.
|
|
8401
7304
|
* @throws {RequiredError}
|
|
7305
|
+
* @memberof Class3CXMultiTenantApi
|
|
8402
7306
|
*/
|
|
8403
|
-
|
|
7307
|
+
Class3CXMultiTenantApi.prototype.postTrackMtChange = function (multiTenantChangeResponseModel, options) {
|
|
8404
7308
|
var _this = this;
|
|
8405
|
-
return (0, exports.
|
|
7309
|
+
return (0, exports.Class3CXMultiTenantApiFp)(this.configuration).postTrackMtChange(multiTenantChangeResponseModel, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
7310
|
+
};
|
|
7311
|
+
return Class3CXMultiTenantApi;
|
|
7312
|
+
}(base_1.BaseAPI));
|
|
7313
|
+
exports.Class3CXMultiTenantApi = Class3CXMultiTenantApi;
|
|
7314
|
+
/**
|
|
7315
|
+
* @export
|
|
7316
|
+
*/
|
|
7317
|
+
exports.GetGetTenantsStatusEnum = {
|
|
7318
|
+
Completed: 'Completed',
|
|
7319
|
+
Outstanding: 'Outstanding',
|
|
7320
|
+
Offline: 'Offline',
|
|
7321
|
+
FailedOver: 'Failed Over'
|
|
7322
|
+
};
|
|
7323
|
+
/**
|
|
7324
|
+
* MyPBXToolsApi - axios parameter creator
|
|
7325
|
+
* @export
|
|
7326
|
+
*/
|
|
7327
|
+
var MyPBXToolsApiAxiosParamCreator = function (configuration) {
|
|
7328
|
+
var _this = this;
|
|
7329
|
+
return {
|
|
7330
|
+
/**
|
|
7331
|
+
* Get 3CX Installation Details
|
|
7332
|
+
* @summary Fetch recording from a 3CX instance
|
|
7333
|
+
* @param {string} licenceKey Licence Key
|
|
7334
|
+
* @param {string} fileName File Name
|
|
7335
|
+
* @param {*} [options] Override http request option.
|
|
7336
|
+
* @throws {RequiredError}
|
|
7337
|
+
*/
|
|
7338
|
+
getGetRecording: function (licenceKey_1, fileName_1) {
|
|
7339
|
+
var args_1 = [];
|
|
7340
|
+
for (var _i = 2; _i < arguments.length; _i++) {
|
|
7341
|
+
args_1[_i - 2] = arguments[_i];
|
|
7342
|
+
}
|
|
7343
|
+
return __awaiter(_this, __spreadArray([licenceKey_1, fileName_1], args_1, true), void 0, function (licenceKey, fileName, options) {
|
|
7344
|
+
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
7345
|
+
if (options === void 0) { options = {}; }
|
|
7346
|
+
return __generator(this, function (_a) {
|
|
7347
|
+
// verify required parameter 'licenceKey' is not null or undefined
|
|
7348
|
+
(0, common_1.assertParamExists)('getGetRecording', 'licenceKey', licenceKey);
|
|
7349
|
+
// verify required parameter 'fileName' is not null or undefined
|
|
7350
|
+
(0, common_1.assertParamExists)('getGetRecording', 'fileName', fileName);
|
|
7351
|
+
localVarPath = "/mypbxtools/recordings";
|
|
7352
|
+
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
7353
|
+
if (configuration) {
|
|
7354
|
+
baseOptions = configuration.baseOptions;
|
|
7355
|
+
}
|
|
7356
|
+
localVarRequestOptions = __assign(__assign({ method: 'GET' }, baseOptions), options);
|
|
7357
|
+
localVarHeaderParameter = {};
|
|
7358
|
+
localVarQueryParameter = {};
|
|
7359
|
+
if (licenceKey !== undefined) {
|
|
7360
|
+
localVarQueryParameter['licenceKey'] = licenceKey;
|
|
7361
|
+
}
|
|
7362
|
+
if (fileName !== undefined) {
|
|
7363
|
+
localVarQueryParameter['fileName'] = fileName;
|
|
7364
|
+
}
|
|
7365
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
7366
|
+
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
7367
|
+
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
7368
|
+
return [2 /*return*/, {
|
|
7369
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
7370
|
+
options: localVarRequestOptions,
|
|
7371
|
+
}];
|
|
7372
|
+
});
|
|
7373
|
+
});
|
|
7374
|
+
},
|
|
7375
|
+
};
|
|
7376
|
+
};
|
|
7377
|
+
exports.MyPBXToolsApiAxiosParamCreator = MyPBXToolsApiAxiosParamCreator;
|
|
7378
|
+
/**
|
|
7379
|
+
* MyPBXToolsApi - functional programming interface
|
|
7380
|
+
* @export
|
|
7381
|
+
*/
|
|
7382
|
+
var MyPBXToolsApiFp = function (configuration) {
|
|
7383
|
+
var localVarAxiosParamCreator = (0, exports.MyPBXToolsApiAxiosParamCreator)(configuration);
|
|
7384
|
+
return {
|
|
7385
|
+
/**
|
|
7386
|
+
* Get 3CX Installation Details
|
|
7387
|
+
* @summary Fetch recording from a 3CX instance
|
|
7388
|
+
* @param {string} licenceKey Licence Key
|
|
7389
|
+
* @param {string} fileName File Name
|
|
7390
|
+
* @param {*} [options] Override http request option.
|
|
7391
|
+
* @throws {RequiredError}
|
|
7392
|
+
*/
|
|
7393
|
+
getGetRecording: function (licenceKey, fileName, options) {
|
|
7394
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
7395
|
+
var localVarAxiosArgs, localVarOperationServerIndex, localVarOperationServerBasePath;
|
|
7396
|
+
var _a, _b, _c;
|
|
7397
|
+
return __generator(this, function (_d) {
|
|
7398
|
+
switch (_d.label) {
|
|
7399
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.getGetRecording(licenceKey, fileName, options)];
|
|
7400
|
+
case 1:
|
|
7401
|
+
localVarAxiosArgs = _d.sent();
|
|
7402
|
+
localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
7403
|
+
localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['MyPBXToolsApi.getGetRecording']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
7404
|
+
return [2 /*return*/, function (axios, basePath) { return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath); }];
|
|
7405
|
+
}
|
|
7406
|
+
});
|
|
7407
|
+
});
|
|
7408
|
+
},
|
|
7409
|
+
};
|
|
7410
|
+
};
|
|
7411
|
+
exports.MyPBXToolsApiFp = MyPBXToolsApiFp;
|
|
7412
|
+
/**
|
|
7413
|
+
* MyPBXToolsApi - factory interface
|
|
7414
|
+
* @export
|
|
7415
|
+
*/
|
|
7416
|
+
var MyPBXToolsApiFactory = function (configuration, basePath, axios) {
|
|
7417
|
+
var localVarFp = (0, exports.MyPBXToolsApiFp)(configuration);
|
|
7418
|
+
return {
|
|
7419
|
+
/**
|
|
7420
|
+
* Get 3CX Installation Details
|
|
7421
|
+
* @summary Fetch recording from a 3CX instance
|
|
7422
|
+
* @param {string} licenceKey Licence Key
|
|
7423
|
+
* @param {string} fileName File Name
|
|
7424
|
+
* @param {*} [options] Override http request option.
|
|
7425
|
+
* @throws {RequiredError}
|
|
7426
|
+
*/
|
|
7427
|
+
getGetRecording: function (licenceKey, fileName, options) {
|
|
7428
|
+
return localVarFp.getGetRecording(licenceKey, fileName, options).then(function (request) { return request(axios, basePath); });
|
|
7429
|
+
},
|
|
8406
7430
|
};
|
|
7431
|
+
};
|
|
7432
|
+
exports.MyPBXToolsApiFactory = MyPBXToolsApiFactory;
|
|
7433
|
+
/**
|
|
7434
|
+
* MyPBXToolsApi - object-oriented interface
|
|
7435
|
+
* @export
|
|
7436
|
+
* @class MyPBXToolsApi
|
|
7437
|
+
* @extends {BaseAPI}
|
|
7438
|
+
*/
|
|
7439
|
+
var MyPBXToolsApi = /** @class */ (function (_super) {
|
|
7440
|
+
__extends(MyPBXToolsApi, _super);
|
|
7441
|
+
function MyPBXToolsApi() {
|
|
7442
|
+
return _super !== null && _super.apply(this, arguments) || this;
|
|
7443
|
+
}
|
|
8407
7444
|
/**
|
|
8408
|
-
*
|
|
8409
|
-
* @
|
|
8410
|
-
* @param {string
|
|
8411
|
-
* @param {string
|
|
8412
|
-
* @param {string | null} [addressLine2] Address Line 2
|
|
8413
|
-
* @param {string | null} [city] City
|
|
8414
|
-
* @param {string | null} [postCode] Post Code
|
|
8415
|
-
* @param {number | null} [trunkId] Trunk ID
|
|
8416
|
-
* @param {number | null} [tenantId] Starter Bundle ID
|
|
8417
|
-
* @param {string | null} [requestedPortDate] Requested Port Date
|
|
8418
|
-
* @param {boolean | null} [asap] Port Date ASAP
|
|
8419
|
-
* @param {string | null} [comment] Comment
|
|
8420
|
-
* @param {number} [id2] Number Port ID
|
|
8421
|
-
* @param {string} [customerName] Customer Name
|
|
8422
|
-
* @param {string} [portDate] Porting Date
|
|
8423
|
-
* @param {Array<NumberPortRangeDTO>} [numberRanges] Number Ranges
|
|
8424
|
-
* @param {number} [status] Status
|
|
8425
|
-
* @param {number | null} [ticketId] Ticket ID
|
|
7445
|
+
* Get 3CX Installation Details
|
|
7446
|
+
* @summary Fetch recording from a 3CX instance
|
|
7447
|
+
* @param {string} licenceKey Licence Key
|
|
7448
|
+
* @param {string} fileName File Name
|
|
8426
7449
|
* @param {*} [options] Override http request option.
|
|
8427
7450
|
* @throws {RequiredError}
|
|
7451
|
+
* @memberof MyPBXToolsApi
|
|
8428
7452
|
*/
|
|
8429
|
-
|
|
7453
|
+
MyPBXToolsApi.prototype.getGetRecording = function (licenceKey, fileName, options) {
|
|
8430
7454
|
var _this = this;
|
|
8431
|
-
return (0, exports.
|
|
7455
|
+
return (0, exports.MyPBXToolsApiFp)(this.configuration).getGetRecording(licenceKey, fileName, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
8432
7456
|
};
|
|
8433
|
-
return
|
|
7457
|
+
return MyPBXToolsApi;
|
|
8434
7458
|
}(base_1.BaseAPI));
|
|
8435
|
-
exports.
|
|
7459
|
+
exports.MyPBXToolsApi = MyPBXToolsApi;
|
|
8436
7460
|
/**
|
|
8437
7461
|
* OAuth20Api - axios parameter creator
|
|
7462
|
+
* @export
|
|
8438
7463
|
*/
|
|
8439
7464
|
var OAuth20ApiAxiosParamCreator = function (configuration) {
|
|
8440
7465
|
var _this = this;
|
|
@@ -8730,6 +7755,7 @@ var OAuth20ApiAxiosParamCreator = function (configuration) {
|
|
|
8730
7755
|
exports.OAuth20ApiAxiosParamCreator = OAuth20ApiAxiosParamCreator;
|
|
8731
7756
|
/**
|
|
8732
7757
|
* OAuth20Api - functional programming interface
|
|
7758
|
+
* @export
|
|
8733
7759
|
*/
|
|
8734
7760
|
var OAuth20ApiFp = function (configuration) {
|
|
8735
7761
|
var localVarAxiosParamCreator = (0, exports.OAuth20ApiAxiosParamCreator)(configuration);
|
|
@@ -8891,6 +7917,7 @@ var OAuth20ApiFp = function (configuration) {
|
|
|
8891
7917
|
exports.OAuth20ApiFp = OAuth20ApiFp;
|
|
8892
7918
|
/**
|
|
8893
7919
|
* OAuth20Api - factory interface
|
|
7920
|
+
* @export
|
|
8894
7921
|
*/
|
|
8895
7922
|
var OAuth20ApiFactory = function (configuration, basePath, axios) {
|
|
8896
7923
|
var localVarFp = (0, exports.OAuth20ApiFp)(configuration);
|
|
@@ -8974,6 +8001,9 @@ var OAuth20ApiFactory = function (configuration, basePath, axios) {
|
|
|
8974
8001
|
exports.OAuth20ApiFactory = OAuth20ApiFactory;
|
|
8975
8002
|
/**
|
|
8976
8003
|
* OAuth20Api - object-oriented interface
|
|
8004
|
+
* @export
|
|
8005
|
+
* @class OAuth20Api
|
|
8006
|
+
* @extends {BaseAPI}
|
|
8977
8007
|
*/
|
|
8978
8008
|
var OAuth20Api = /** @class */ (function (_super) {
|
|
8979
8009
|
__extends(OAuth20Api, _super);
|
|
@@ -8985,6 +8015,7 @@ var OAuth20Api = /** @class */ (function (_super) {
|
|
|
8985
8015
|
* @summary Get MFA QR Code
|
|
8986
8016
|
* @param {*} [options] Override http request option.
|
|
8987
8017
|
* @throws {RequiredError}
|
|
8018
|
+
* @memberof OAuth20Api
|
|
8988
8019
|
*/
|
|
8989
8020
|
OAuth20Api.prototype.getGetMfaQrCode = function (options) {
|
|
8990
8021
|
var _this = this;
|
|
@@ -8995,6 +8026,7 @@ var OAuth20Api = /** @class */ (function (_super) {
|
|
|
8995
8026
|
* @summary Get Scopes
|
|
8996
8027
|
* @param {*} [options] Override http request option.
|
|
8997
8028
|
* @throws {RequiredError}
|
|
8029
|
+
* @memberof OAuth20Api
|
|
8998
8030
|
*/
|
|
8999
8031
|
OAuth20Api.prototype.getGetScopes = function (options) {
|
|
9000
8032
|
var _this = this;
|
|
@@ -9017,6 +8049,7 @@ var OAuth20Api = /** @class */ (function (_super) {
|
|
|
9017
8049
|
* @param {boolean | null} [endUser] End User (Only used in Token Exchange)
|
|
9018
8050
|
* @param {*} [options] Override http request option.
|
|
9019
8051
|
* @throws {RequiredError}
|
|
8052
|
+
* @memberof OAuth20Api
|
|
9020
8053
|
*/
|
|
9021
8054
|
OAuth20Api.prototype.postAccessToken = function (clientId, clientSecret, grantType, scope, redirectUri, code, refreshToken, codeVerifier, token, tokenExchangeType, licenceKey, endUser, options) {
|
|
9022
8055
|
var _this = this;
|
|
@@ -9034,6 +8067,7 @@ var OAuth20Api = /** @class */ (function (_super) {
|
|
|
9034
8067
|
* @param {string} [codeChallengeMethod] OAuth 2.0 Code Challenge Method
|
|
9035
8068
|
* @param {*} [options] Override http request option.
|
|
9036
8069
|
* @throws {RequiredError}
|
|
8070
|
+
* @memberof OAuth20Api
|
|
9037
8071
|
*/
|
|
9038
8072
|
OAuth20Api.prototype.postAuthorise = function (clientId, responseType, scope, redirectUri, state, codeChallenge, codeChallengeMethod, options) {
|
|
9039
8073
|
var _this = this;
|
|
@@ -9044,6 +8078,7 @@ var OAuth20Api = /** @class */ (function (_super) {
|
|
|
9044
8078
|
* @summary Get Token Identity
|
|
9045
8079
|
* @param {*} [options] Override http request option.
|
|
9046
8080
|
* @throws {RequiredError}
|
|
8081
|
+
* @memberof OAuth20Api
|
|
9047
8082
|
*/
|
|
9048
8083
|
OAuth20Api.prototype.postGetIdentity = function (options) {
|
|
9049
8084
|
var _this = this;
|
|
@@ -9055,6 +8090,7 @@ var OAuth20Api = /** @class */ (function (_super) {
|
|
|
9055
8090
|
* @param {PortalLoginModel} [portalLoginModel] Login Credentials
|
|
9056
8091
|
* @param {*} [options] Override http request option.
|
|
9057
8092
|
* @throws {RequiredError}
|
|
8093
|
+
* @memberof OAuth20Api
|
|
9058
8094
|
*/
|
|
9059
8095
|
OAuth20Api.prototype.postPortalLogin = function (portalLoginModel, options) {
|
|
9060
8096
|
var _this = this;
|
|
@@ -9063,6 +8099,9 @@ var OAuth20Api = /** @class */ (function (_super) {
|
|
|
9063
8099
|
return OAuth20Api;
|
|
9064
8100
|
}(base_1.BaseAPI));
|
|
9065
8101
|
exports.OAuth20Api = OAuth20Api;
|
|
8102
|
+
/**
|
|
8103
|
+
* @export
|
|
8104
|
+
*/
|
|
9066
8105
|
exports.PostAccessTokenGrantTypeEnum = {
|
|
9067
8106
|
ClientCredentials: 'client_credentials',
|
|
9068
8107
|
Code: 'code',
|
|
@@ -9072,6 +8111,9 @@ exports.PostAccessTokenGrantTypeEnum = {
|
|
|
9072
8111
|
TokenExchange: 'token_exchange',
|
|
9073
8112
|
Password: 'password'
|
|
9074
8113
|
};
|
|
8114
|
+
/**
|
|
8115
|
+
* @export
|
|
8116
|
+
*/
|
|
9075
8117
|
exports.PostAccessTokenScopeEnum = {
|
|
9076
8118
|
Star: '*',
|
|
9077
8119
|
Fdps: 'fdps',
|
|
@@ -9080,8 +8122,6 @@ exports.PostAccessTokenScopeEnum = {
|
|
|
9080
8122
|
TcxWizard: 'tcx_wizard',
|
|
9081
8123
|
AccountsRead: 'accounts.read',
|
|
9082
8124
|
AccountsWrite: 'accounts.write',
|
|
9083
|
-
NumberPortingread: 'number_portingread',
|
|
9084
|
-
NumberPortingwrite: 'number_portingwrite',
|
|
9085
8125
|
PricingRead: 'pricing.read',
|
|
9086
8126
|
OrdersRead: 'orders.read',
|
|
9087
8127
|
OrdersWrite: 'orders.write',
|
|
@@ -9100,10 +8140,16 @@ exports.PostAccessTokenScopeEnum = {
|
|
|
9100
8140
|
TicketsRead: 'tickets.read',
|
|
9101
8141
|
TicketsWrite: 'tickets.write'
|
|
9102
8142
|
};
|
|
8143
|
+
/**
|
|
8144
|
+
* @export
|
|
8145
|
+
*/
|
|
9103
8146
|
exports.PostAccessTokenTokenExchangeTypeEnum = {
|
|
9104
8147
|
TcxWizard: 'tcx_wizard',
|
|
9105
8148
|
Portal: 'portal'
|
|
9106
8149
|
};
|
|
8150
|
+
/**
|
|
8151
|
+
* @export
|
|
8152
|
+
*/
|
|
9107
8153
|
exports.PostAuthoriseScopeEnum = {
|
|
9108
8154
|
Star: '*',
|
|
9109
8155
|
Fdps: 'fdps',
|
|
@@ -9112,8 +8158,6 @@ exports.PostAuthoriseScopeEnum = {
|
|
|
9112
8158
|
TcxWizard: 'tcx_wizard',
|
|
9113
8159
|
AccountsRead: 'accounts.read',
|
|
9114
8160
|
AccountsWrite: 'accounts.write',
|
|
9115
|
-
NumberPortingread: 'number_portingread',
|
|
9116
|
-
NumberPortingwrite: 'number_portingwrite',
|
|
9117
8161
|
PricingRead: 'pricing.read',
|
|
9118
8162
|
OrdersRead: 'orders.read',
|
|
9119
8163
|
OrdersWrite: 'orders.write',
|
|
@@ -9134,6 +8178,7 @@ exports.PostAuthoriseScopeEnum = {
|
|
|
9134
8178
|
};
|
|
9135
8179
|
/**
|
|
9136
8180
|
* OrdersApi - axios parameter creator
|
|
8181
|
+
* @export
|
|
9137
8182
|
*/
|
|
9138
8183
|
var OrdersApiAxiosParamCreator = function (configuration) {
|
|
9139
8184
|
var _this = this;
|
|
@@ -9483,6 +8528,7 @@ var OrdersApiAxiosParamCreator = function (configuration) {
|
|
|
9483
8528
|
exports.OrdersApiAxiosParamCreator = OrdersApiAxiosParamCreator;
|
|
9484
8529
|
/**
|
|
9485
8530
|
* OrdersApi - functional programming interface
|
|
8531
|
+
* @export
|
|
9486
8532
|
*/
|
|
9487
8533
|
var OrdersApiFp = function (configuration) {
|
|
9488
8534
|
var localVarAxiosParamCreator = (0, exports.OrdersApiAxiosParamCreator)(configuration);
|
|
@@ -9688,6 +8734,7 @@ var OrdersApiFp = function (configuration) {
|
|
|
9688
8734
|
exports.OrdersApiFp = OrdersApiFp;
|
|
9689
8735
|
/**
|
|
9690
8736
|
* OrdersApi - factory interface
|
|
8737
|
+
* @export
|
|
9691
8738
|
*/
|
|
9692
8739
|
var OrdersApiFactory = function (configuration, basePath, axios) {
|
|
9693
8740
|
var localVarFp = (0, exports.OrdersApiFp)(configuration);
|
|
@@ -9789,6 +8836,9 @@ var OrdersApiFactory = function (configuration, basePath, axios) {
|
|
|
9789
8836
|
exports.OrdersApiFactory = OrdersApiFactory;
|
|
9790
8837
|
/**
|
|
9791
8838
|
* OrdersApi - object-oriented interface
|
|
8839
|
+
* @export
|
|
8840
|
+
* @class OrdersApi
|
|
8841
|
+
* @extends {BaseAPI}
|
|
9792
8842
|
*/
|
|
9793
8843
|
var OrdersApi = /** @class */ (function (_super) {
|
|
9794
8844
|
__extends(OrdersApi, _super);
|
|
@@ -9801,6 +8851,7 @@ var OrdersApi = /** @class */ (function (_super) {
|
|
|
9801
8851
|
* @param {number} id Order ID
|
|
9802
8852
|
* @param {*} [options] Override http request option.
|
|
9803
8853
|
* @throws {RequiredError}
|
|
8854
|
+
* @memberof OrdersApi
|
|
9804
8855
|
*/
|
|
9805
8856
|
OrdersApi.prototype.deleteUpdateOrder = function (id, options) {
|
|
9806
8857
|
var _this = this;
|
|
@@ -9812,6 +8863,7 @@ var OrdersApi = /** @class */ (function (_super) {
|
|
|
9812
8863
|
* @param {number} id Order ID
|
|
9813
8864
|
* @param {*} [options] Override http request option.
|
|
9814
8865
|
* @throws {RequiredError}
|
|
8866
|
+
* @memberof OrdersApi
|
|
9815
8867
|
*/
|
|
9816
8868
|
OrdersApi.prototype.getGetAdminEditableOrder = function (id, options) {
|
|
9817
8869
|
var _this = this;
|
|
@@ -9823,6 +8875,7 @@ var OrdersApi = /** @class */ (function (_super) {
|
|
|
9823
8875
|
* @param {number} id Order ID
|
|
9824
8876
|
* @param {*} [options] Override http request option.
|
|
9825
8877
|
* @throws {RequiredError}
|
|
8878
|
+
* @memberof OrdersApi
|
|
9826
8879
|
*/
|
|
9827
8880
|
OrdersApi.prototype.getGetEditableOrder = function (id, options) {
|
|
9828
8881
|
var _this = this;
|
|
@@ -9840,6 +8893,7 @@ var OrdersApi = /** @class */ (function (_super) {
|
|
|
9840
8893
|
* @param {number | null} [customerId] Customer ID
|
|
9841
8894
|
* @param {*} [options] Override http request option.
|
|
9842
8895
|
* @throws {RequiredError}
|
|
8896
|
+
* @memberof OrdersApi
|
|
9843
8897
|
*/
|
|
9844
8898
|
OrdersApi.prototype.getGetOrders = function (pageSize, page, search, fulfillable, status, filter, customerId, options) {
|
|
9845
8899
|
var _this = this;
|
|
@@ -9852,6 +8906,7 @@ var OrdersApi = /** @class */ (function (_super) {
|
|
|
9852
8906
|
* @param {AdminOrderRequestDTO} [adminOrderRequestDTO] Admin Order Request
|
|
9853
8907
|
* @param {*} [options] Override http request option.
|
|
9854
8908
|
* @throws {RequiredError}
|
|
8909
|
+
* @memberof OrdersApi
|
|
9855
8910
|
*/
|
|
9856
8911
|
OrdersApi.prototype.postCreateAdminOrder = function (readonly, adminOrderRequestDTO, options) {
|
|
9857
8912
|
var _this = this;
|
|
@@ -9864,6 +8919,7 @@ var OrdersApi = /** @class */ (function (_super) {
|
|
|
9864
8919
|
* @param {CustomerOrderRequestDTO} [customerOrderRequestDTO] Order Request
|
|
9865
8920
|
* @param {*} [options] Override http request option.
|
|
9866
8921
|
* @throws {RequiredError}
|
|
8922
|
+
* @memberof OrdersApi
|
|
9867
8923
|
*/
|
|
9868
8924
|
OrdersApi.prototype.postGetOrders = function (readonly, customerOrderRequestDTO, options) {
|
|
9869
8925
|
var _this = this;
|
|
@@ -9877,6 +8933,7 @@ var OrdersApi = /** @class */ (function (_super) {
|
|
|
9877
8933
|
* @param {AdminOrderRequestDTO} [adminOrderRequestDTO] Order Request
|
|
9878
8934
|
* @param {*} [options] Override http request option.
|
|
9879
8935
|
* @throws {RequiredError}
|
|
8936
|
+
* @memberof OrdersApi
|
|
9880
8937
|
*/
|
|
9881
8938
|
OrdersApi.prototype.putUpdateAdminOrder = function (id, readonly, adminOrderRequestDTO, options) {
|
|
9882
8939
|
var _this = this;
|
|
@@ -9890,6 +8947,7 @@ var OrdersApi = /** @class */ (function (_super) {
|
|
|
9890
8947
|
* @param {CustomerOrderRequestDTO} [customerOrderRequestDTO] Order Request
|
|
9891
8948
|
* @param {*} [options] Override http request option.
|
|
9892
8949
|
* @throws {RequiredError}
|
|
8950
|
+
* @memberof OrdersApi
|
|
9893
8951
|
*/
|
|
9894
8952
|
OrdersApi.prototype.putUpdateOrder = function (id, readonly, customerOrderRequestDTO, options) {
|
|
9895
8953
|
var _this = this;
|
|
@@ -9898,12 +8956,18 @@ var OrdersApi = /** @class */ (function (_super) {
|
|
|
9898
8956
|
return OrdersApi;
|
|
9899
8957
|
}(base_1.BaseAPI));
|
|
9900
8958
|
exports.OrdersApi = OrdersApi;
|
|
8959
|
+
/**
|
|
8960
|
+
* @export
|
|
8961
|
+
*/
|
|
9901
8962
|
exports.GetGetOrdersStatusEnum = {
|
|
9902
8963
|
Paid: 'PAID',
|
|
9903
8964
|
InvoicePaid: 'INVOICE_PAID',
|
|
9904
8965
|
Unpaid: 'UNPAID',
|
|
9905
8966
|
Quote: 'QUOTE'
|
|
9906
8967
|
};
|
|
8968
|
+
/**
|
|
8969
|
+
* @export
|
|
8970
|
+
*/
|
|
9907
8971
|
exports.GetGetOrdersFilterEnum = {
|
|
9908
8972
|
Outstanding: 'OUTSTANDING',
|
|
9909
8973
|
Quotes: 'QUOTES',
|
|
@@ -9912,6 +8976,7 @@ exports.GetGetOrdersFilterEnum = {
|
|
|
9912
8976
|
};
|
|
9913
8977
|
/**
|
|
9914
8978
|
* PricingApi - axios parameter creator
|
|
8979
|
+
* @export
|
|
9915
8980
|
*/
|
|
9916
8981
|
var PricingApiAxiosParamCreator = function (configuration) {
|
|
9917
8982
|
var _this = this;
|
|
@@ -10035,6 +9100,7 @@ var PricingApiAxiosParamCreator = function (configuration) {
|
|
|
10035
9100
|
exports.PricingApiAxiosParamCreator = PricingApiAxiosParamCreator;
|
|
10036
9101
|
/**
|
|
10037
9102
|
* PricingApi - functional programming interface
|
|
9103
|
+
* @export
|
|
10038
9104
|
*/
|
|
10039
9105
|
var PricingApiFp = function (configuration) {
|
|
10040
9106
|
var localVarAxiosParamCreator = (0, exports.PricingApiAxiosParamCreator)(configuration);
|
|
@@ -10097,6 +9163,7 @@ var PricingApiFp = function (configuration) {
|
|
|
10097
9163
|
exports.PricingApiFp = PricingApiFp;
|
|
10098
9164
|
/**
|
|
10099
9165
|
* PricingApi - factory interface
|
|
9166
|
+
* @export
|
|
10100
9167
|
*/
|
|
10101
9168
|
var PricingApiFactory = function (configuration, basePath, axios) {
|
|
10102
9169
|
var localVarFp = (0, exports.PricingApiFp)(configuration);
|
|
@@ -10133,6 +9200,9 @@ var PricingApiFactory = function (configuration, basePath, axios) {
|
|
|
10133
9200
|
exports.PricingApiFactory = PricingApiFactory;
|
|
10134
9201
|
/**
|
|
10135
9202
|
* PricingApi - object-oriented interface
|
|
9203
|
+
* @export
|
|
9204
|
+
* @class PricingApi
|
|
9205
|
+
* @extends {BaseAPI}
|
|
10136
9206
|
*/
|
|
10137
9207
|
var PricingApi = /** @class */ (function (_super) {
|
|
10138
9208
|
__extends(PricingApi, _super);
|
|
@@ -10148,6 +9218,7 @@ var PricingApi = /** @class */ (function (_super) {
|
|
|
10148
9218
|
* @param {string} [customerId] Customer ID
|
|
10149
9219
|
* @param {*} [options] Override http request option.
|
|
10150
9220
|
* @throws {RequiredError}
|
|
9221
|
+
* @memberof PricingApi
|
|
10151
9222
|
*/
|
|
10152
9223
|
PricingApi.prototype.getGetPriceList = function (type, format, category, customerId, options) {
|
|
10153
9224
|
var _this = this;
|
|
@@ -10163,6 +9234,7 @@ var PricingApi = /** @class */ (function (_super) {
|
|
|
10163
9234
|
* @param {PostSendPriceListCategoryEnum} [category] Product Category
|
|
10164
9235
|
* @param {*} [options] Override http request option.
|
|
10165
9236
|
* @throws {RequiredError}
|
|
9237
|
+
* @memberof PricingApi
|
|
10166
9238
|
*/
|
|
10167
9239
|
PricingApi.prototype.postSendPriceList = function (email, customerId, type, format, category, options) {
|
|
10168
9240
|
var _this = this;
|
|
@@ -10171,6 +9243,9 @@ var PricingApi = /** @class */ (function (_super) {
|
|
|
10171
9243
|
return PricingApi;
|
|
10172
9244
|
}(base_1.BaseAPI));
|
|
10173
9245
|
exports.PricingApi = PricingApi;
|
|
9246
|
+
/**
|
|
9247
|
+
* @export
|
|
9248
|
+
*/
|
|
10174
9249
|
exports.GetGetPriceListTypeEnum = {
|
|
10175
9250
|
Products: 'Products',
|
|
10176
9251
|
StockProducts: 'Stock Products',
|
|
@@ -10181,6 +9256,9 @@ exports.GetGetPriceListTypeEnum = {
|
|
|
10181
9256
|
Sms: 'SMS',
|
|
10182
9257
|
SipTrunks: 'SIP Trunks'
|
|
10183
9258
|
};
|
|
9259
|
+
/**
|
|
9260
|
+
* @export
|
|
9261
|
+
*/
|
|
10184
9262
|
exports.GetGetPriceListFormatEnum = {
|
|
10185
9263
|
Pdf: 'pdf',
|
|
10186
9264
|
Json: 'json',
|
|
@@ -10188,6 +9266,9 @@ exports.GetGetPriceListFormatEnum = {
|
|
|
10188
9266
|
Xml: 'xml',
|
|
10189
9267
|
Html: 'html'
|
|
10190
9268
|
};
|
|
9269
|
+
/**
|
|
9270
|
+
* @export
|
|
9271
|
+
*/
|
|
10191
9272
|
exports.GetGetPriceListCategoryEnum = {
|
|
10192
9273
|
Yealink: 'Yealink',
|
|
10193
9274
|
Mairdi: 'Mairdi',
|
|
@@ -10210,6 +9291,9 @@ exports.GetGetPriceListCategoryEnum = {
|
|
|
10210
9291
|
FanvilAccessories: 'Fanvil Accessories',
|
|
10211
9292
|
FanvilHotelPhones: 'Fanvil Hotel Phones'
|
|
10212
9293
|
};
|
|
9294
|
+
/**
|
|
9295
|
+
* @export
|
|
9296
|
+
*/
|
|
10213
9297
|
exports.PostSendPriceListTypeEnum = {
|
|
10214
9298
|
Products: 'Products',
|
|
10215
9299
|
StockProducts: 'Stock Products',
|
|
@@ -10220,6 +9304,9 @@ exports.PostSendPriceListTypeEnum = {
|
|
|
10220
9304
|
Sms: 'SMS',
|
|
10221
9305
|
SipTrunks: 'SIP Trunks'
|
|
10222
9306
|
};
|
|
9307
|
+
/**
|
|
9308
|
+
* @export
|
|
9309
|
+
*/
|
|
10223
9310
|
exports.PostSendPriceListFormatEnum = {
|
|
10224
9311
|
Pdf: 'pdf',
|
|
10225
9312
|
Json: 'json',
|
|
@@ -10227,6 +9314,9 @@ exports.PostSendPriceListFormatEnum = {
|
|
|
10227
9314
|
Xml: 'xml',
|
|
10228
9315
|
Html: 'html'
|
|
10229
9316
|
};
|
|
9317
|
+
/**
|
|
9318
|
+
* @export
|
|
9319
|
+
*/
|
|
10230
9320
|
exports.PostSendPriceListCategoryEnum = {
|
|
10231
9321
|
Yealink: 'Yealink',
|
|
10232
9322
|
Mairdi: 'Mairdi',
|
|
@@ -10251,6 +9341,7 @@ exports.PostSendPriceListCategoryEnum = {
|
|
|
10251
9341
|
};
|
|
10252
9342
|
/**
|
|
10253
9343
|
* ProductsApi - axios parameter creator
|
|
9344
|
+
* @export
|
|
10254
9345
|
*/
|
|
10255
9346
|
var ProductsApiAxiosParamCreator = function (configuration) {
|
|
10256
9347
|
var _this = this;
|
|
@@ -10288,6 +9379,39 @@ var ProductsApiAxiosParamCreator = function (configuration) {
|
|
|
10288
9379
|
});
|
|
10289
9380
|
});
|
|
10290
9381
|
},
|
|
9382
|
+
/**
|
|
9383
|
+
* Get Customer Price Lists
|
|
9384
|
+
* @summary Get Customer Price Lists
|
|
9385
|
+
* @param {*} [options] Override http request option.
|
|
9386
|
+
* @throws {RequiredError}
|
|
9387
|
+
*/
|
|
9388
|
+
getGetCustomerPriceLists: function () {
|
|
9389
|
+
var args_1 = [];
|
|
9390
|
+
for (var _i = 0; _i < arguments.length; _i++) {
|
|
9391
|
+
args_1[_i] = arguments[_i];
|
|
9392
|
+
}
|
|
9393
|
+
return __awaiter(_this, __spreadArray([], args_1, true), void 0, function (options) {
|
|
9394
|
+
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
9395
|
+
if (options === void 0) { options = {}; }
|
|
9396
|
+
return __generator(this, function (_a) {
|
|
9397
|
+
localVarPath = "/products/prices/lists";
|
|
9398
|
+
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
9399
|
+
if (configuration) {
|
|
9400
|
+
baseOptions = configuration.baseOptions;
|
|
9401
|
+
}
|
|
9402
|
+
localVarRequestOptions = __assign(__assign({ method: 'GET' }, baseOptions), options);
|
|
9403
|
+
localVarHeaderParameter = {};
|
|
9404
|
+
localVarQueryParameter = {};
|
|
9405
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
9406
|
+
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
9407
|
+
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
9408
|
+
return [2 /*return*/, {
|
|
9409
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
9410
|
+
options: localVarRequestOptions,
|
|
9411
|
+
}];
|
|
9412
|
+
});
|
|
9413
|
+
});
|
|
9414
|
+
},
|
|
10291
9415
|
/**
|
|
10292
9416
|
* Get Current Stock & Pricing
|
|
10293
9417
|
* @summary Get Current Stock & Pricing
|
|
@@ -10567,6 +9691,7 @@ var ProductsApiAxiosParamCreator = function (configuration) {
|
|
|
10567
9691
|
exports.ProductsApiAxiosParamCreator = ProductsApiAxiosParamCreator;
|
|
10568
9692
|
/**
|
|
10569
9693
|
* ProductsApi - functional programming interface
|
|
9694
|
+
* @export
|
|
10570
9695
|
*/
|
|
10571
9696
|
var ProductsApiFp = function (configuration) {
|
|
10572
9697
|
var localVarAxiosParamCreator = (0, exports.ProductsApiAxiosParamCreator)(configuration);
|
|
@@ -10593,6 +9718,28 @@ var ProductsApiFp = function (configuration) {
|
|
|
10593
9718
|
});
|
|
10594
9719
|
});
|
|
10595
9720
|
},
|
|
9721
|
+
/**
|
|
9722
|
+
* Get Customer Price Lists
|
|
9723
|
+
* @summary Get Customer Price Lists
|
|
9724
|
+
* @param {*} [options] Override http request option.
|
|
9725
|
+
* @throws {RequiredError}
|
|
9726
|
+
*/
|
|
9727
|
+
getGetCustomerPriceLists: function (options) {
|
|
9728
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
9729
|
+
var localVarAxiosArgs, localVarOperationServerIndex, localVarOperationServerBasePath;
|
|
9730
|
+
var _a, _b, _c;
|
|
9731
|
+
return __generator(this, function (_d) {
|
|
9732
|
+
switch (_d.label) {
|
|
9733
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.getGetCustomerPriceLists(options)];
|
|
9734
|
+
case 1:
|
|
9735
|
+
localVarAxiosArgs = _d.sent();
|
|
9736
|
+
localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
9737
|
+
localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['ProductsApi.getGetCustomerPriceLists']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
9738
|
+
return [2 /*return*/, function (axios, basePath) { return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath); }];
|
|
9739
|
+
}
|
|
9740
|
+
});
|
|
9741
|
+
});
|
|
9742
|
+
},
|
|
10596
9743
|
/**
|
|
10597
9744
|
* Get Current Stock & Pricing
|
|
10598
9745
|
* @summary Get Current Stock & Pricing
|
|
@@ -10762,6 +9909,7 @@ var ProductsApiFp = function (configuration) {
|
|
|
10762
9909
|
exports.ProductsApiFp = ProductsApiFp;
|
|
10763
9910
|
/**
|
|
10764
9911
|
* ProductsApi - factory interface
|
|
9912
|
+
* @export
|
|
10765
9913
|
*/
|
|
10766
9914
|
var ProductsApiFactory = function (configuration, basePath, axios) {
|
|
10767
9915
|
var localVarFp = (0, exports.ProductsApiFp)(configuration);
|
|
@@ -10775,6 +9923,15 @@ var ProductsApiFactory = function (configuration, basePath, axios) {
|
|
|
10775
9923
|
getGetAttributeSets: function (options) {
|
|
10776
9924
|
return localVarFp.getGetAttributeSets(options).then(function (request) { return request(axios, basePath); });
|
|
10777
9925
|
},
|
|
9926
|
+
/**
|
|
9927
|
+
* Get Customer Price Lists
|
|
9928
|
+
* @summary Get Customer Price Lists
|
|
9929
|
+
* @param {*} [options] Override http request option.
|
|
9930
|
+
* @throws {RequiredError}
|
|
9931
|
+
*/
|
|
9932
|
+
getGetCustomerPriceLists: function (options) {
|
|
9933
|
+
return localVarFp.getGetCustomerPriceLists(options).then(function (request) { return request(axios, basePath); });
|
|
9934
|
+
},
|
|
10778
9935
|
/**
|
|
10779
9936
|
* Get Current Stock & Pricing
|
|
10780
9937
|
* @summary Get Current Stock & Pricing
|
|
@@ -10853,6 +10010,9 @@ var ProductsApiFactory = function (configuration, basePath, axios) {
|
|
|
10853
10010
|
exports.ProductsApiFactory = ProductsApiFactory;
|
|
10854
10011
|
/**
|
|
10855
10012
|
* ProductsApi - object-oriented interface
|
|
10013
|
+
* @export
|
|
10014
|
+
* @class ProductsApi
|
|
10015
|
+
* @extends {BaseAPI}
|
|
10856
10016
|
*/
|
|
10857
10017
|
var ProductsApi = /** @class */ (function (_super) {
|
|
10858
10018
|
__extends(ProductsApi, _super);
|
|
@@ -10864,11 +10024,23 @@ var ProductsApi = /** @class */ (function (_super) {
|
|
|
10864
10024
|
* @summary Get Attribute Sets
|
|
10865
10025
|
* @param {*} [options] Override http request option.
|
|
10866
10026
|
* @throws {RequiredError}
|
|
10027
|
+
* @memberof ProductsApi
|
|
10867
10028
|
*/
|
|
10868
10029
|
ProductsApi.prototype.getGetAttributeSets = function (options) {
|
|
10869
10030
|
var _this = this;
|
|
10870
10031
|
return (0, exports.ProductsApiFp)(this.configuration).getGetAttributeSets(options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
10871
10032
|
};
|
|
10033
|
+
/**
|
|
10034
|
+
* Get Customer Price Lists
|
|
10035
|
+
* @summary Get Customer Price Lists
|
|
10036
|
+
* @param {*} [options] Override http request option.
|
|
10037
|
+
* @throws {RequiredError}
|
|
10038
|
+
* @memberof ProductsApi
|
|
10039
|
+
*/
|
|
10040
|
+
ProductsApi.prototype.getGetCustomerPriceLists = function (options) {
|
|
10041
|
+
var _this = this;
|
|
10042
|
+
return (0, exports.ProductsApiFp)(this.configuration).getGetCustomerPriceLists(options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
10043
|
+
};
|
|
10872
10044
|
/**
|
|
10873
10045
|
* Get Current Stock & Pricing
|
|
10874
10046
|
* @summary Get Current Stock & Pricing
|
|
@@ -10876,6 +10048,7 @@ var ProductsApi = /** @class */ (function (_super) {
|
|
|
10876
10048
|
* @param {*} [options] Override http request option.
|
|
10877
10049
|
* @deprecated
|
|
10878
10050
|
* @throws {RequiredError}
|
|
10051
|
+
* @memberof ProductsApi
|
|
10879
10052
|
*/
|
|
10880
10053
|
ProductsApi.prototype.getGetLegacyStockList = function (format, options) {
|
|
10881
10054
|
var _this = this;
|
|
@@ -10886,6 +10059,7 @@ var ProductsApi = /** @class */ (function (_super) {
|
|
|
10886
10059
|
* @summary Get Products
|
|
10887
10060
|
* @param {*} [options] Override http request option.
|
|
10888
10061
|
* @throws {RequiredError}
|
|
10062
|
+
* @memberof ProductsApi
|
|
10889
10063
|
*/
|
|
10890
10064
|
ProductsApi.prototype.getGetProducts = function (options) {
|
|
10891
10065
|
var _this = this;
|
|
@@ -10896,6 +10070,7 @@ var ProductsApi = /** @class */ (function (_super) {
|
|
|
10896
10070
|
* @summary Get Current Stock & Pricing
|
|
10897
10071
|
* @param {*} [options] Override http request option.
|
|
10898
10072
|
* @throws {RequiredError}
|
|
10073
|
+
* @memberof ProductsApi
|
|
10899
10074
|
*/
|
|
10900
10075
|
ProductsApi.prototype.getGetStockList = function (options) {
|
|
10901
10076
|
var _this = this;
|
|
@@ -10906,6 +10081,7 @@ var ProductsApi = /** @class */ (function (_super) {
|
|
|
10906
10081
|
* @summary Get 3CX Templates
|
|
10907
10082
|
* @param {*} [options] Override http request option.
|
|
10908
10083
|
* @throws {RequiredError}
|
|
10084
|
+
* @memberof ProductsApi
|
|
10909
10085
|
*/
|
|
10910
10086
|
ProductsApi.prototype.getGetTcxTemplates = function (options) {
|
|
10911
10087
|
var _this = this;
|
|
@@ -10919,6 +10095,7 @@ var ProductsApi = /** @class */ (function (_super) {
|
|
|
10919
10095
|
* @param {string} [search] Search
|
|
10920
10096
|
* @param {*} [options] Override http request option.
|
|
10921
10097
|
* @throws {RequiredError}
|
|
10098
|
+
* @memberof ProductsApi
|
|
10922
10099
|
*/
|
|
10923
10100
|
ProductsApi.prototype.getSearchProducts = function (pageSize, page, search, options) {
|
|
10924
10101
|
var _this = this;
|
|
@@ -10931,6 +10108,7 @@ var ProductsApi = /** @class */ (function (_super) {
|
|
|
10931
10108
|
* @param {PostGetProductRequest} postGetProductRequest Product search criteria
|
|
10932
10109
|
* @param {*} [options] Override http request option.
|
|
10933
10110
|
* @throws {RequiredError}
|
|
10111
|
+
* @memberof ProductsApi
|
|
10934
10112
|
*/
|
|
10935
10113
|
ProductsApi.prototype.postGetProduct = function (sku, postGetProductRequest, options) {
|
|
10936
10114
|
var _this = this;
|
|
@@ -10944,6 +10122,7 @@ var ProductsApi = /** @class */ (function (_super) {
|
|
|
10944
10122
|
* @param {PostGetProductForCustomerRequest} postGetProductForCustomerRequest Product search criteria
|
|
10945
10123
|
* @param {*} [options] Override http request option.
|
|
10946
10124
|
* @throws {RequiredError}
|
|
10125
|
+
* @memberof ProductsApi
|
|
10947
10126
|
*/
|
|
10948
10127
|
ProductsApi.prototype.postGetProductForCustomer = function (customerId, sku, postGetProductForCustomerRequest, options) {
|
|
10949
10128
|
var _this = this;
|
|
@@ -10952,12 +10131,16 @@ var ProductsApi = /** @class */ (function (_super) {
|
|
|
10952
10131
|
return ProductsApi;
|
|
10953
10132
|
}(base_1.BaseAPI));
|
|
10954
10133
|
exports.ProductsApi = ProductsApi;
|
|
10134
|
+
/**
|
|
10135
|
+
* @export
|
|
10136
|
+
*/
|
|
10955
10137
|
exports.GetGetLegacyStockListFormatEnum = {
|
|
10956
10138
|
Xml: 'XML',
|
|
10957
10139
|
Csv: 'CSV'
|
|
10958
10140
|
};
|
|
10959
10141
|
/**
|
|
10960
10142
|
* ProvisioningApi - axios parameter creator
|
|
10143
|
+
* @export
|
|
10961
10144
|
*/
|
|
10962
10145
|
var ProvisioningApiAxiosParamCreator = function (configuration) {
|
|
10963
10146
|
var _this = this;
|
|
@@ -11237,6 +10420,7 @@ var ProvisioningApiAxiosParamCreator = function (configuration) {
|
|
|
11237
10420
|
exports.ProvisioningApiAxiosParamCreator = ProvisioningApiAxiosParamCreator;
|
|
11238
10421
|
/**
|
|
11239
10422
|
* ProvisioningApi - functional programming interface
|
|
10423
|
+
* @export
|
|
11240
10424
|
*/
|
|
11241
10425
|
var ProvisioningApiFp = function (configuration) {
|
|
11242
10426
|
var localVarAxiosParamCreator = (0, exports.ProvisioningApiAxiosParamCreator)(configuration);
|
|
@@ -11410,6 +10594,7 @@ var ProvisioningApiFp = function (configuration) {
|
|
|
11410
10594
|
exports.ProvisioningApiFp = ProvisioningApiFp;
|
|
11411
10595
|
/**
|
|
11412
10596
|
* ProvisioningApi - factory interface
|
|
10597
|
+
* @export
|
|
11413
10598
|
*/
|
|
11414
10599
|
var ProvisioningApiFactory = function (configuration, basePath, axios) {
|
|
11415
10600
|
var localVarFp = (0, exports.ProvisioningApiFp)(configuration);
|
|
@@ -11492,6 +10677,9 @@ var ProvisioningApiFactory = function (configuration, basePath, axios) {
|
|
|
11492
10677
|
exports.ProvisioningApiFactory = ProvisioningApiFactory;
|
|
11493
10678
|
/**
|
|
11494
10679
|
* ProvisioningApi - object-oriented interface
|
|
10680
|
+
* @export
|
|
10681
|
+
* @class ProvisioningApi
|
|
10682
|
+
* @extends {BaseAPI}
|
|
11495
10683
|
*/
|
|
11496
10684
|
var ProvisioningApi = /** @class */ (function (_super) {
|
|
11497
10685
|
__extends(ProvisioningApi, _super);
|
|
@@ -11505,6 +10693,7 @@ var ProvisioningApi = /** @class */ (function (_super) {
|
|
|
11505
10693
|
* @param {string} mac MAC Address
|
|
11506
10694
|
* @param {*} [options] Override http request option.
|
|
11507
10695
|
* @throws {RequiredError}
|
|
10696
|
+
* @memberof ProvisioningApi
|
|
11508
10697
|
*/
|
|
11509
10698
|
ProvisioningApi.prototype.deleteAddFanvilMac = function (id, mac, options) {
|
|
11510
10699
|
var _this = this;
|
|
@@ -11516,6 +10705,7 @@ var ProvisioningApi = /** @class */ (function (_super) {
|
|
|
11516
10705
|
* @param {string} id Group ID
|
|
11517
10706
|
* @param {*} [options] Override http request option.
|
|
11518
10707
|
* @throws {RequiredError}
|
|
10708
|
+
* @memberof ProvisioningApi
|
|
11519
10709
|
*/
|
|
11520
10710
|
ProvisioningApi.prototype.deleteDeleteFanvilGroup = function (id, options) {
|
|
11521
10711
|
var _this = this;
|
|
@@ -11528,6 +10718,7 @@ var ProvisioningApi = /** @class */ (function (_super) {
|
|
|
11528
10718
|
* @param {string} mac MAC Address
|
|
11529
10719
|
* @param {*} [options] Override http request option.
|
|
11530
10720
|
* @throws {RequiredError}
|
|
10721
|
+
* @memberof ProvisioningApi
|
|
11531
10722
|
*/
|
|
11532
10723
|
ProvisioningApi.prototype.getGetFanvilEncryptionKey = function (id, mac, options) {
|
|
11533
10724
|
var _this = this;
|
|
@@ -11539,6 +10730,7 @@ var ProvisioningApi = /** @class */ (function (_super) {
|
|
|
11539
10730
|
* @param {string} id Group ID
|
|
11540
10731
|
* @param {*} [options] Override http request option.
|
|
11541
10732
|
* @throws {RequiredError}
|
|
10733
|
+
* @memberof ProvisioningApi
|
|
11542
10734
|
*/
|
|
11543
10735
|
ProvisioningApi.prototype.getGetFanvilGroupMacs = function (id, options) {
|
|
11544
10736
|
var _this = this;
|
|
@@ -11550,6 +10742,7 @@ var ProvisioningApi = /** @class */ (function (_super) {
|
|
|
11550
10742
|
* @param {string} [id] Customer ID
|
|
11551
10743
|
* @param {*} [options] Override http request option.
|
|
11552
10744
|
* @throws {RequiredError}
|
|
10745
|
+
* @memberof ProvisioningApi
|
|
11553
10746
|
*/
|
|
11554
10747
|
ProvisioningApi.prototype.getGetGroups = function (id, options) {
|
|
11555
10748
|
var _this = this;
|
|
@@ -11561,6 +10754,7 @@ var ProvisioningApi = /** @class */ (function (_super) {
|
|
|
11561
10754
|
* @param {ProvisioningRequestEntity} [provisioningRequestEntity] Provisioning Group Request
|
|
11562
10755
|
* @param {*} [options] Override http request option.
|
|
11563
10756
|
* @throws {RequiredError}
|
|
10757
|
+
* @memberof ProvisioningApi
|
|
11564
10758
|
*/
|
|
11565
10759
|
ProvisioningApi.prototype.postAddFanvilGroup = function (provisioningRequestEntity, options) {
|
|
11566
10760
|
var _this = this;
|
|
@@ -11573,6 +10767,7 @@ var ProvisioningApi = /** @class */ (function (_super) {
|
|
|
11573
10767
|
* @param {string} mac MAC Address
|
|
11574
10768
|
* @param {*} [options] Override http request option.
|
|
11575
10769
|
* @throws {RequiredError}
|
|
10770
|
+
* @memberof ProvisioningApi
|
|
11576
10771
|
*/
|
|
11577
10772
|
ProvisioningApi.prototype.postAddFanvilMac = function (id, mac, options) {
|
|
11578
10773
|
var _this = this;
|
|
@@ -11583,6 +10778,7 @@ var ProvisioningApi = /** @class */ (function (_super) {
|
|
|
11583
10778
|
exports.ProvisioningApi = ProvisioningApi;
|
|
11584
10779
|
/**
|
|
11585
10780
|
* SIPTrunksApi - axios parameter creator
|
|
10781
|
+
* @export
|
|
11586
10782
|
*/
|
|
11587
10783
|
var SIPTrunksApiAxiosParamCreator = function (configuration) {
|
|
11588
10784
|
var _this = this;
|
|
@@ -12466,6 +11662,7 @@ var SIPTrunksApiAxiosParamCreator = function (configuration) {
|
|
|
12466
11662
|
exports.SIPTrunksApiAxiosParamCreator = SIPTrunksApiAxiosParamCreator;
|
|
12467
11663
|
/**
|
|
12468
11664
|
* SIPTrunksApi - functional programming interface
|
|
11665
|
+
* @export
|
|
12469
11666
|
*/
|
|
12470
11667
|
var SIPTrunksApiFp = function (configuration) {
|
|
12471
11668
|
var localVarAxiosParamCreator = (0, exports.SIPTrunksApiAxiosParamCreator)(configuration);
|
|
@@ -12994,6 +12191,7 @@ var SIPTrunksApiFp = function (configuration) {
|
|
|
12994
12191
|
exports.SIPTrunksApiFp = SIPTrunksApiFp;
|
|
12995
12192
|
/**
|
|
12996
12193
|
* SIPTrunksApi - factory interface
|
|
12194
|
+
* @export
|
|
12997
12195
|
*/
|
|
12998
12196
|
var SIPTrunksApiFactory = function (configuration, basePath, axios) {
|
|
12999
12197
|
var localVarFp = (0, exports.SIPTrunksApiFp)(configuration);
|
|
@@ -13236,6 +12434,9 @@ var SIPTrunksApiFactory = function (configuration, basePath, axios) {
|
|
|
13236
12434
|
exports.SIPTrunksApiFactory = SIPTrunksApiFactory;
|
|
13237
12435
|
/**
|
|
13238
12436
|
* SIPTrunksApi - object-oriented interface
|
|
12437
|
+
* @export
|
|
12438
|
+
* @class SIPTrunksApi
|
|
12439
|
+
* @extends {BaseAPI}
|
|
13239
12440
|
*/
|
|
13240
12441
|
var SIPTrunksApi = /** @class */ (function (_super) {
|
|
13241
12442
|
__extends(SIPTrunksApi, _super);
|
|
@@ -13248,6 +12449,7 @@ var SIPTrunksApi = /** @class */ (function (_super) {
|
|
|
13248
12449
|
* @param {number} id SIP Trunk ID
|
|
13249
12450
|
* @param {*} [options] Override http request option.
|
|
13250
12451
|
* @throws {RequiredError}
|
|
12452
|
+
* @memberof SIPTrunksApi
|
|
13251
12453
|
*/
|
|
13252
12454
|
SIPTrunksApi.prototype.deleteGetSipTrunk = function (id, options) {
|
|
13253
12455
|
var _this = this;
|
|
@@ -13259,6 +12461,7 @@ var SIPTrunksApi = /** @class */ (function (_super) {
|
|
|
13259
12461
|
* @param {number} id SIP Trunk ID
|
|
13260
12462
|
* @param {*} [options] Override http request option.
|
|
13261
12463
|
* @throws {RequiredError}
|
|
12464
|
+
* @memberof SIPTrunksApi
|
|
13262
12465
|
*/
|
|
13263
12466
|
SIPTrunksApi.prototype.getCanDivert = function (id, options) {
|
|
13264
12467
|
var _this = this;
|
|
@@ -13270,6 +12473,7 @@ var SIPTrunksApi = /** @class */ (function (_super) {
|
|
|
13270
12473
|
* @param {number} id SIP Trunk ID
|
|
13271
12474
|
* @param {*} [options] Override http request option.
|
|
13272
12475
|
* @throws {RequiredError}
|
|
12476
|
+
* @memberof SIPTrunksApi
|
|
13273
12477
|
*/
|
|
13274
12478
|
SIPTrunksApi.prototype.getGetAddress = function (id, options) {
|
|
13275
12479
|
var _this = this;
|
|
@@ -13280,6 +12484,7 @@ var SIPTrunksApi = /** @class */ (function (_super) {
|
|
|
13280
12484
|
* @summary Get UK National Area Codes
|
|
13281
12485
|
* @param {*} [options] Override http request option.
|
|
13282
12486
|
* @throws {RequiredError}
|
|
12487
|
+
* @memberof SIPTrunksApi
|
|
13283
12488
|
*/
|
|
13284
12489
|
SIPTrunksApi.prototype.getGetAreaCodes = function (options) {
|
|
13285
12490
|
var _this = this;
|
|
@@ -13291,6 +12496,7 @@ var SIPTrunksApi = /** @class */ (function (_super) {
|
|
|
13291
12496
|
* @param {number} id SIP Trunk ID
|
|
13292
12497
|
* @param {*} [options] Override http request option.
|
|
13293
12498
|
* @throws {RequiredError}
|
|
12499
|
+
* @memberof SIPTrunksApi
|
|
13294
12500
|
*/
|
|
13295
12501
|
SIPTrunksApi.prototype.getGetCliFlexibility = function (id, options) {
|
|
13296
12502
|
var _this = this;
|
|
@@ -13302,6 +12508,7 @@ var SIPTrunksApi = /** @class */ (function (_super) {
|
|
|
13302
12508
|
* @param {number} id SIP Trunk ID
|
|
13303
12509
|
* @param {*} [options] Override http request option.
|
|
13304
12510
|
* @throws {RequiredError}
|
|
12511
|
+
* @memberof SIPTrunksApi
|
|
13305
12512
|
*/
|
|
13306
12513
|
SIPTrunksApi.prototype.getGetDdis = function (id, options) {
|
|
13307
12514
|
var _this = this;
|
|
@@ -13314,6 +12521,7 @@ var SIPTrunksApi = /** @class */ (function (_super) {
|
|
|
13314
12521
|
* @param {boolean} [enabled] Enabled Diverts
|
|
13315
12522
|
* @param {*} [options] Override http request option.
|
|
13316
12523
|
* @throws {RequiredError}
|
|
12524
|
+
* @memberof SIPTrunksApi
|
|
13317
12525
|
*/
|
|
13318
12526
|
SIPTrunksApi.prototype.getGetDiverts = function (id, enabled, options) {
|
|
13319
12527
|
var _this = this;
|
|
@@ -13325,6 +12533,7 @@ var SIPTrunksApi = /** @class */ (function (_super) {
|
|
|
13325
12533
|
* @param {number} id SIP Trunk ID
|
|
13326
12534
|
* @param {*} [options] Override http request option.
|
|
13327
12535
|
* @throws {RequiredError}
|
|
12536
|
+
* @memberof SIPTrunksApi
|
|
13328
12537
|
*/
|
|
13329
12538
|
SIPTrunksApi.prototype.getGetSipTrunk = function (id, options) {
|
|
13330
12539
|
var _this = this;
|
|
@@ -13338,6 +12547,7 @@ var SIPTrunksApi = /** @class */ (function (_super) {
|
|
|
13338
12547
|
* @param {string} [search] Search
|
|
13339
12548
|
* @param {*} [options] Override http request option.
|
|
13340
12549
|
* @throws {RequiredError}
|
|
12550
|
+
* @memberof SIPTrunksApi
|
|
13341
12551
|
*/
|
|
13342
12552
|
SIPTrunksApi.prototype.getGetSipTrunks = function (pageSize, page, search, options) {
|
|
13343
12553
|
var _this = this;
|
|
@@ -13350,6 +12560,7 @@ var SIPTrunksApi = /** @class */ (function (_super) {
|
|
|
13350
12560
|
* @param {boolean} enabled Enabled
|
|
13351
12561
|
* @param {*} [options] Override http request option.
|
|
13352
12562
|
* @throws {RequiredError}
|
|
12563
|
+
* @memberof SIPTrunksApi
|
|
13353
12564
|
*/
|
|
13354
12565
|
SIPTrunksApi.prototype.patchGetCliFlexibility = function (id, enabled, options) {
|
|
13355
12566
|
var _this = this;
|
|
@@ -13361,6 +12572,7 @@ var SIPTrunksApi = /** @class */ (function (_super) {
|
|
|
13361
12572
|
* @param {number} id SIP Trunk ID
|
|
13362
12573
|
* @param {*} [options] Override http request option.
|
|
13363
12574
|
* @throws {RequiredError}
|
|
12575
|
+
* @memberof SIPTrunksApi
|
|
13364
12576
|
*/
|
|
13365
12577
|
SIPTrunksApi.prototype.patchSetAsAvailable = function (id, options) {
|
|
13366
12578
|
var _this = this;
|
|
@@ -13374,6 +12586,7 @@ var SIPTrunksApi = /** @class */ (function (_super) {
|
|
|
13374
12586
|
* @param {number} [billingCustomerId] Billing Customer ID
|
|
13375
12587
|
* @param {*} [options] Override http request option.
|
|
13376
12588
|
* @throws {RequiredError}
|
|
12589
|
+
* @memberof SIPTrunksApi
|
|
13377
12590
|
*/
|
|
13378
12591
|
SIPTrunksApi.prototype.patchSetOwnership = function (id, ownerId, billingCustomerId, options) {
|
|
13379
12592
|
var _this = this;
|
|
@@ -13386,6 +12599,7 @@ var SIPTrunksApi = /** @class */ (function (_super) {
|
|
|
13386
12599
|
* @param {number} channels SIP Channels
|
|
13387
12600
|
* @param {*} [options] Override http request option.
|
|
13388
12601
|
* @throws {RequiredError}
|
|
12602
|
+
* @memberof SIPTrunksApi
|
|
13389
12603
|
*/
|
|
13390
12604
|
SIPTrunksApi.prototype.patchUpdateChannelCount = function (id, channels, options) {
|
|
13391
12605
|
var _this = this;
|
|
@@ -13398,6 +12612,7 @@ var SIPTrunksApi = /** @class */ (function (_super) {
|
|
|
13398
12612
|
* @param {string} company Company Name
|
|
13399
12613
|
* @param {*} [options] Override http request option.
|
|
13400
12614
|
* @throws {RequiredError}
|
|
12615
|
+
* @memberof SIPTrunksApi
|
|
13401
12616
|
*/
|
|
13402
12617
|
SIPTrunksApi.prototype.patchUpdateCompanyName = function (id, company, options) {
|
|
13403
12618
|
var _this = this;
|
|
@@ -13410,6 +12625,7 @@ var SIPTrunksApi = /** @class */ (function (_super) {
|
|
|
13410
12625
|
* @param {string} number Main Trunk Number
|
|
13411
12626
|
* @param {*} [options] Override http request option.
|
|
13412
12627
|
* @throws {RequiredError}
|
|
12628
|
+
* @memberof SIPTrunksApi
|
|
13413
12629
|
*/
|
|
13414
12630
|
SIPTrunksApi.prototype.patchUpdateMainTrunkNumber = function (id, number, options) {
|
|
13415
12631
|
var _this = this;
|
|
@@ -13422,6 +12638,7 @@ var SIPTrunksApi = /** @class */ (function (_super) {
|
|
|
13422
12638
|
* @param {string} ipAddress PBX IP Address
|
|
13423
12639
|
* @param {*} [options] Override http request option.
|
|
13424
12640
|
* @throws {RequiredError}
|
|
12641
|
+
* @memberof SIPTrunksApi
|
|
13425
12642
|
*/
|
|
13426
12643
|
SIPTrunksApi.prototype.patchUpdatePbxIPAddress = function (id, ipAddress, options) {
|
|
13427
12644
|
var _this = this;
|
|
@@ -13434,6 +12651,7 @@ var SIPTrunksApi = /** @class */ (function (_super) {
|
|
|
13434
12651
|
* @param {DdiRangesRequestModel} [ddiRangesRequestModel] DDI Request
|
|
13435
12652
|
* @param {*} [options] Override http request option.
|
|
13436
12653
|
* @throws {RequiredError}
|
|
12654
|
+
* @memberof SIPTrunksApi
|
|
13437
12655
|
*/
|
|
13438
12656
|
SIPTrunksApi.prototype.postGetDdis = function (id, ddiRangesRequestModel, options) {
|
|
13439
12657
|
var _this = this;
|
|
@@ -13445,6 +12663,7 @@ var SIPTrunksApi = /** @class */ (function (_super) {
|
|
|
13445
12663
|
* @param {SipTrunkChangeResponseModel} [sipTrunkChangeResponseModel] Change Request
|
|
13446
12664
|
* @param {*} [options] Override http request option.
|
|
13447
12665
|
* @throws {RequiredError}
|
|
12666
|
+
* @memberof SIPTrunksApi
|
|
13448
12667
|
*/
|
|
13449
12668
|
SIPTrunksApi.prototype.postGetRequestedDdis = function (sipTrunkChangeResponseModel, options) {
|
|
13450
12669
|
var _this = this;
|
|
@@ -13456,6 +12675,7 @@ var SIPTrunksApi = /** @class */ (function (_super) {
|
|
|
13456
12675
|
* @param {SipTrunkCreationRequestModel} [sipTrunkCreationRequestModel] New SIP Trunk Request
|
|
13457
12676
|
* @param {*} [options] Override http request option.
|
|
13458
12677
|
* @throws {RequiredError}
|
|
12678
|
+
* @memberof SIPTrunksApi
|
|
13459
12679
|
*/
|
|
13460
12680
|
SIPTrunksApi.prototype.postGetSipTrunks = function (sipTrunkCreationRequestModel, options) {
|
|
13461
12681
|
var _this = this;
|
|
@@ -13467,6 +12687,7 @@ var SIPTrunksApi = /** @class */ (function (_super) {
|
|
|
13467
12687
|
* @param {SipTrunkChangeResponseModel} [sipTrunkChangeResponseModel] Change Request
|
|
13468
12688
|
* @param {*} [options] Override http request option.
|
|
13469
12689
|
* @throws {RequiredError}
|
|
12690
|
+
* @memberof SIPTrunksApi
|
|
13470
12691
|
*/
|
|
13471
12692
|
SIPTrunksApi.prototype.postTrackChange = function (sipTrunkChangeResponseModel, options) {
|
|
13472
12693
|
var _this = this;
|
|
@@ -13479,6 +12700,7 @@ var SIPTrunksApi = /** @class */ (function (_super) {
|
|
|
13479
12700
|
* @param {AddressRequestModel} [addressRequestModel] Address Request
|
|
13480
12701
|
* @param {*} [options] Override http request option.
|
|
13481
12702
|
* @throws {RequiredError}
|
|
12703
|
+
* @memberof SIPTrunksApi
|
|
13482
12704
|
*/
|
|
13483
12705
|
SIPTrunksApi.prototype.putGetAddress = function (id, addressRequestModel, options) {
|
|
13484
12706
|
var _this = this;
|
|
@@ -13492,6 +12714,7 @@ var SIPTrunksApi = /** @class */ (function (_super) {
|
|
|
13492
12714
|
* @param {DivertRequestModel} [divertRequestModel] Divert Request
|
|
13493
12715
|
* @param {*} [options] Override http request option.
|
|
13494
12716
|
* @throws {RequiredError}
|
|
12717
|
+
* @memberof SIPTrunksApi
|
|
13495
12718
|
*/
|
|
13496
12719
|
SIPTrunksApi.prototype.putGetDiverts = function (id, enabled, divertRequestModel, options) {
|
|
13497
12720
|
var _this = this;
|
|
@@ -13502,6 +12725,7 @@ var SIPTrunksApi = /** @class */ (function (_super) {
|
|
|
13502
12725
|
exports.SIPTrunksApi = SIPTrunksApi;
|
|
13503
12726
|
/**
|
|
13504
12727
|
* SMSApi - axios parameter creator
|
|
12728
|
+
* @export
|
|
13505
12729
|
*/
|
|
13506
12730
|
var SMSApiAxiosParamCreator = function (configuration) {
|
|
13507
12731
|
var _this = this;
|
|
@@ -13552,6 +12776,7 @@ var SMSApiAxiosParamCreator = function (configuration) {
|
|
|
13552
12776
|
exports.SMSApiAxiosParamCreator = SMSApiAxiosParamCreator;
|
|
13553
12777
|
/**
|
|
13554
12778
|
* SMSApi - functional programming interface
|
|
12779
|
+
* @export
|
|
13555
12780
|
*/
|
|
13556
12781
|
var SMSApiFp = function (configuration) {
|
|
13557
12782
|
var localVarAxiosParamCreator = (0, exports.SMSApiAxiosParamCreator)(configuration);
|
|
@@ -13584,6 +12809,7 @@ var SMSApiFp = function (configuration) {
|
|
|
13584
12809
|
exports.SMSApiFp = SMSApiFp;
|
|
13585
12810
|
/**
|
|
13586
12811
|
* SMSApi - factory interface
|
|
12812
|
+
* @export
|
|
13587
12813
|
*/
|
|
13588
12814
|
var SMSApiFactory = function (configuration, basePath, axios) {
|
|
13589
12815
|
var localVarFp = (0, exports.SMSApiFp)(configuration);
|
|
@@ -13603,6 +12829,9 @@ var SMSApiFactory = function (configuration, basePath, axios) {
|
|
|
13603
12829
|
exports.SMSApiFactory = SMSApiFactory;
|
|
13604
12830
|
/**
|
|
13605
12831
|
* SMSApi - object-oriented interface
|
|
12832
|
+
* @export
|
|
12833
|
+
* @class SMSApi
|
|
12834
|
+
* @extends {BaseAPI}
|
|
13606
12835
|
*/
|
|
13607
12836
|
var SMSApi = /** @class */ (function (_super) {
|
|
13608
12837
|
__extends(SMSApi, _super);
|
|
@@ -13615,6 +12844,7 @@ var SMSApi = /** @class */ (function (_super) {
|
|
|
13615
12844
|
* @param {SmsMessageModel} [smsMessageModel] SMS Message
|
|
13616
12845
|
* @param {*} [options] Override http request option.
|
|
13617
12846
|
* @throws {RequiredError}
|
|
12847
|
+
* @memberof SMSApi
|
|
13618
12848
|
*/
|
|
13619
12849
|
SMSApi.prototype.postSendSms = function (authorization, smsMessageModel, options) {
|
|
13620
12850
|
var _this = this;
|
|
@@ -13625,6 +12855,7 @@ var SMSApi = /** @class */ (function (_super) {
|
|
|
13625
12855
|
exports.SMSApi = SMSApi;
|
|
13626
12856
|
/**
|
|
13627
12857
|
* ShippingApi - axios parameter creator
|
|
12858
|
+
* @export
|
|
13628
12859
|
*/
|
|
13629
12860
|
var ShippingApiAxiosParamCreator = function (configuration) {
|
|
13630
12861
|
var _this = this;
|
|
@@ -13712,6 +12943,7 @@ var ShippingApiAxiosParamCreator = function (configuration) {
|
|
|
13712
12943
|
exports.ShippingApiAxiosParamCreator = ShippingApiAxiosParamCreator;
|
|
13713
12944
|
/**
|
|
13714
12945
|
* ShippingApi - functional programming interface
|
|
12946
|
+
* @export
|
|
13715
12947
|
*/
|
|
13716
12948
|
var ShippingApiFp = function (configuration) {
|
|
13717
12949
|
var localVarAxiosParamCreator = (0, exports.ShippingApiAxiosParamCreator)(configuration);
|
|
@@ -13768,6 +13000,7 @@ var ShippingApiFp = function (configuration) {
|
|
|
13768
13000
|
exports.ShippingApiFp = ShippingApiFp;
|
|
13769
13001
|
/**
|
|
13770
13002
|
* ShippingApi - factory interface
|
|
13003
|
+
* @export
|
|
13771
13004
|
*/
|
|
13772
13005
|
var ShippingApiFactory = function (configuration, basePath, axios) {
|
|
13773
13006
|
var localVarFp = (0, exports.ShippingApiFp)(configuration);
|
|
@@ -13798,6 +13031,9 @@ var ShippingApiFactory = function (configuration, basePath, axios) {
|
|
|
13798
13031
|
exports.ShippingApiFactory = ShippingApiFactory;
|
|
13799
13032
|
/**
|
|
13800
13033
|
* ShippingApi - object-oriented interface
|
|
13034
|
+
* @export
|
|
13035
|
+
* @class ShippingApi
|
|
13036
|
+
* @extends {BaseAPI}
|
|
13801
13037
|
*/
|
|
13802
13038
|
var ShippingApi = /** @class */ (function (_super) {
|
|
13803
13039
|
__extends(ShippingApi, _super);
|
|
@@ -13811,6 +13047,7 @@ var ShippingApi = /** @class */ (function (_super) {
|
|
|
13811
13047
|
* @param {ShippingInformationDTO} [shippingInformationDTO] Shipping Information
|
|
13812
13048
|
* @param {*} [options] Override http request option.
|
|
13813
13049
|
* @throws {RequiredError}
|
|
13050
|
+
* @memberof ShippingApi
|
|
13814
13051
|
*/
|
|
13815
13052
|
ShippingApi.prototype.postGetAdminShippingServices = function (customerId, shippingInformationDTO, options) {
|
|
13816
13053
|
var _this = this;
|
|
@@ -13822,6 +13059,7 @@ var ShippingApi = /** @class */ (function (_super) {
|
|
|
13822
13059
|
* @param {ShippingInformationDTO} [shippingInformationDTO] Shipping Information
|
|
13823
13060
|
* @param {*} [options] Override http request option.
|
|
13824
13061
|
* @throws {RequiredError}
|
|
13062
|
+
* @memberof ShippingApi
|
|
13825
13063
|
*/
|
|
13826
13064
|
ShippingApi.prototype.postGetShippingServices = function (shippingInformationDTO, options) {
|
|
13827
13065
|
var _this = this;
|
|
@@ -13832,6 +13070,7 @@ var ShippingApi = /** @class */ (function (_super) {
|
|
|
13832
13070
|
exports.ShippingApi = ShippingApi;
|
|
13833
13071
|
/**
|
|
13834
13072
|
* StockManagementApi - axios parameter creator
|
|
13073
|
+
* @export
|
|
13835
13074
|
*/
|
|
13836
13075
|
var StockManagementApiAxiosParamCreator = function (configuration) {
|
|
13837
13076
|
var _this = this;
|
|
@@ -14796,6 +14035,7 @@ var StockManagementApiAxiosParamCreator = function (configuration) {
|
|
|
14796
14035
|
exports.StockManagementApiAxiosParamCreator = StockManagementApiAxiosParamCreator;
|
|
14797
14036
|
/**
|
|
14798
14037
|
* StockManagementApi - functional programming interface
|
|
14038
|
+
* @export
|
|
14799
14039
|
*/
|
|
14800
14040
|
var StockManagementApiFp = function (configuration) {
|
|
14801
14041
|
var localVarAxiosParamCreator = (0, exports.StockManagementApiAxiosParamCreator)(configuration);
|
|
@@ -15374,6 +14614,7 @@ var StockManagementApiFp = function (configuration) {
|
|
|
15374
14614
|
exports.StockManagementApiFp = StockManagementApiFp;
|
|
15375
14615
|
/**
|
|
15376
14616
|
* StockManagementApi - factory interface
|
|
14617
|
+
* @export
|
|
15377
14618
|
*/
|
|
15378
14619
|
var StockManagementApiFactory = function (configuration, basePath, axios) {
|
|
15379
14620
|
var localVarFp = (0, exports.StockManagementApiFp)(configuration);
|
|
@@ -15640,6 +14881,9 @@ var StockManagementApiFactory = function (configuration, basePath, axios) {
|
|
|
15640
14881
|
exports.StockManagementApiFactory = StockManagementApiFactory;
|
|
15641
14882
|
/**
|
|
15642
14883
|
* StockManagementApi - object-oriented interface
|
|
14884
|
+
* @export
|
|
14885
|
+
* @class StockManagementApi
|
|
14886
|
+
* @extends {BaseAPI}
|
|
15643
14887
|
*/
|
|
15644
14888
|
var StockManagementApi = /** @class */ (function (_super) {
|
|
15645
14889
|
__extends(StockManagementApi, _super);
|
|
@@ -15652,6 +14896,7 @@ var StockManagementApi = /** @class */ (function (_super) {
|
|
|
15652
14896
|
* @param {number} id Stock Order ID
|
|
15653
14897
|
* @param {*} [options] Override http request option.
|
|
15654
14898
|
* @throws {RequiredError}
|
|
14899
|
+
* @memberof StockManagementApi
|
|
15655
14900
|
*/
|
|
15656
14901
|
StockManagementApi.prototype.deleteDeleteStockOrder = function (id, options) {
|
|
15657
14902
|
var _this = this;
|
|
@@ -15664,6 +14909,7 @@ var StockManagementApi = /** @class */ (function (_super) {
|
|
|
15664
14909
|
* @param {number} deductionId Stock Order Deduction ID
|
|
15665
14910
|
* @param {*} [options] Override http request option.
|
|
15666
14911
|
* @throws {RequiredError}
|
|
14912
|
+
* @memberof StockManagementApi
|
|
15667
14913
|
*/
|
|
15668
14914
|
StockManagementApi.prototype.deleteDeleteStockOrderDeduction = function (orderId, deductionId, options) {
|
|
15669
14915
|
var _this = this;
|
|
@@ -15676,6 +14922,7 @@ var StockManagementApi = /** @class */ (function (_super) {
|
|
|
15676
14922
|
* @param {number} itemId Stock Order Item ID
|
|
15677
14923
|
* @param {*} [options] Override http request option.
|
|
15678
14924
|
* @throws {RequiredError}
|
|
14925
|
+
* @memberof StockManagementApi
|
|
15679
14926
|
*/
|
|
15680
14927
|
StockManagementApi.prototype.deleteDeleteStockOrderItem = function (orderId, itemId, options) {
|
|
15681
14928
|
var _this = this;
|
|
@@ -15687,6 +14934,7 @@ var StockManagementApi = /** @class */ (function (_super) {
|
|
|
15687
14934
|
* @param {number} id Stock Product ID
|
|
15688
14935
|
* @param {*} [options] Override http request option.
|
|
15689
14936
|
* @throws {RequiredError}
|
|
14937
|
+
* @memberof StockManagementApi
|
|
15690
14938
|
*/
|
|
15691
14939
|
StockManagementApi.prototype.deleteGetStockProduct = function (id, options) {
|
|
15692
14940
|
var _this = this;
|
|
@@ -15698,6 +14946,7 @@ var StockManagementApi = /** @class */ (function (_super) {
|
|
|
15698
14946
|
* @param {number} id Stock Order ID
|
|
15699
14947
|
* @param {*} [options] Override http request option.
|
|
15700
14948
|
* @throws {RequiredError}
|
|
14949
|
+
* @memberof StockManagementApi
|
|
15701
14950
|
*/
|
|
15702
14951
|
StockManagementApi.prototype.getDeleteStockOrder = function (id, options) {
|
|
15703
14952
|
var _this = this;
|
|
@@ -15709,6 +14958,7 @@ var StockManagementApi = /** @class */ (function (_super) {
|
|
|
15709
14958
|
* @param {string} sku Product SKU
|
|
15710
14959
|
* @param {*} [options] Override http request option.
|
|
15711
14960
|
* @throws {RequiredError}
|
|
14961
|
+
* @memberof StockManagementApi
|
|
15712
14962
|
*/
|
|
15713
14963
|
StockManagementApi.prototype.getGetProductDetails = function (sku, options) {
|
|
15714
14964
|
var _this = this;
|
|
@@ -15720,6 +14970,7 @@ var StockManagementApi = /** @class */ (function (_super) {
|
|
|
15720
14970
|
* @param {number} id Stock Order ID
|
|
15721
14971
|
* @param {*} [options] Override http request option.
|
|
15722
14972
|
* @throws {RequiredError}
|
|
14973
|
+
* @memberof StockManagementApi
|
|
15723
14974
|
*/
|
|
15724
14975
|
StockManagementApi.prototype.getGetStockOrderPurchaseOrder = function (id, options) {
|
|
15725
14976
|
var _this = this;
|
|
@@ -15731,6 +14982,7 @@ var StockManagementApi = /** @class */ (function (_super) {
|
|
|
15731
14982
|
* @param {number} id Stock Order ID
|
|
15732
14983
|
* @param {*} [options] Override http request option.
|
|
15733
14984
|
* @throws {RequiredError}
|
|
14985
|
+
* @memberof StockManagementApi
|
|
15734
14986
|
*/
|
|
15735
14987
|
StockManagementApi.prototype.getGetStockOrderSupplierEmail = function (id, options) {
|
|
15736
14988
|
var _this = this;
|
|
@@ -15745,6 +14997,7 @@ var StockManagementApi = /** @class */ (function (_super) {
|
|
|
15745
14997
|
* @param {boolean} [outstanding] Outstanding Orders
|
|
15746
14998
|
* @param {*} [options] Override http request option.
|
|
15747
14999
|
* @throws {RequiredError}
|
|
15000
|
+
* @memberof StockManagementApi
|
|
15748
15001
|
*/
|
|
15749
15002
|
StockManagementApi.prototype.getGetStockOrders = function (pageSize, page, search, outstanding, options) {
|
|
15750
15003
|
var _this = this;
|
|
@@ -15756,6 +15009,7 @@ var StockManagementApi = /** @class */ (function (_super) {
|
|
|
15756
15009
|
* @param {number} id Stock Product ID
|
|
15757
15010
|
* @param {*} [options] Override http request option.
|
|
15758
15011
|
* @throws {RequiredError}
|
|
15012
|
+
* @memberof StockManagementApi
|
|
15759
15013
|
*/
|
|
15760
15014
|
StockManagementApi.prototype.getGetStockProduct = function (id, options) {
|
|
15761
15015
|
var _this = this;
|
|
@@ -15766,6 +15020,7 @@ var StockManagementApi = /** @class */ (function (_super) {
|
|
|
15766
15020
|
* @summary Get Stock Product Suppliers
|
|
15767
15021
|
* @param {*} [options] Override http request option.
|
|
15768
15022
|
* @throws {RequiredError}
|
|
15023
|
+
* @memberof StockManagementApi
|
|
15769
15024
|
*/
|
|
15770
15025
|
StockManagementApi.prototype.getGetStockProductSuppliers = function (options) {
|
|
15771
15026
|
var _this = this;
|
|
@@ -15779,6 +15034,7 @@ var StockManagementApi = /** @class */ (function (_super) {
|
|
|
15779
15034
|
* @param {string} [search] Search
|
|
15780
15035
|
* @param {*} [options] Override http request option.
|
|
15781
15036
|
* @throws {RequiredError}
|
|
15037
|
+
* @memberof StockManagementApi
|
|
15782
15038
|
*/
|
|
15783
15039
|
StockManagementApi.prototype.getGetStockProducts = function (pageSize, page, search, options) {
|
|
15784
15040
|
var _this = this;
|
|
@@ -15790,6 +15046,7 @@ var StockManagementApi = /** @class */ (function (_super) {
|
|
|
15790
15046
|
* @param {number} id Supplier ID
|
|
15791
15047
|
* @param {*} [options] Override http request option.
|
|
15792
15048
|
* @throws {RequiredError}
|
|
15049
|
+
* @memberof StockManagementApi
|
|
15793
15050
|
*/
|
|
15794
15051
|
StockManagementApi.prototype.getGetStockSupplierProducts = function (id, options) {
|
|
15795
15052
|
var _this = this;
|
|
@@ -15801,6 +15058,7 @@ var StockManagementApi = /** @class */ (function (_super) {
|
|
|
15801
15058
|
* @param {number} id Stock Order ID
|
|
15802
15059
|
* @param {*} [options] Override http request option.
|
|
15803
15060
|
* @throws {RequiredError}
|
|
15061
|
+
* @memberof StockManagementApi
|
|
15804
15062
|
*/
|
|
15805
15063
|
StockManagementApi.prototype.getUploadStockOrderInvoice = function (id, options) {
|
|
15806
15064
|
var _this = this;
|
|
@@ -15813,6 +15071,7 @@ var StockManagementApi = /** @class */ (function (_super) {
|
|
|
15813
15071
|
* @param {StockOrderModel} [stockOrderModel]
|
|
15814
15072
|
* @param {*} [options] Override http request option.
|
|
15815
15073
|
* @throws {RequiredError}
|
|
15074
|
+
* @memberof StockManagementApi
|
|
15816
15075
|
*/
|
|
15817
15076
|
StockManagementApi.prototype.patchDeleteStockOrder = function (id, stockOrderModel, options) {
|
|
15818
15077
|
var _this = this;
|
|
@@ -15826,6 +15085,7 @@ var StockManagementApi = /** @class */ (function (_super) {
|
|
|
15826
15085
|
* @param {StockOrderDeductionModel} [stockOrderDeductionModel]
|
|
15827
15086
|
* @param {*} [options] Override http request option.
|
|
15828
15087
|
* @throws {RequiredError}
|
|
15088
|
+
* @memberof StockManagementApi
|
|
15829
15089
|
*/
|
|
15830
15090
|
StockManagementApi.prototype.patchDeleteStockOrderDeduction = function (orderId, deductionId, stockOrderDeductionModel, options) {
|
|
15831
15091
|
var _this = this;
|
|
@@ -15839,6 +15099,7 @@ var StockManagementApi = /** @class */ (function (_super) {
|
|
|
15839
15099
|
* @param {StockOrderItemModel} [stockOrderItemModel]
|
|
15840
15100
|
* @param {*} [options] Override http request option.
|
|
15841
15101
|
* @throws {RequiredError}
|
|
15102
|
+
* @memberof StockManagementApi
|
|
15842
15103
|
*/
|
|
15843
15104
|
StockManagementApi.prototype.patchDeleteStockOrderItem = function (orderId, itemId, stockOrderItemModel, options) {
|
|
15844
15105
|
var _this = this;
|
|
@@ -15851,6 +15112,7 @@ var StockManagementApi = /** @class */ (function (_super) {
|
|
|
15851
15112
|
* @param {Array<StockOrderDeductionRequestModel>} [stockOrderDeductionRequestModel]
|
|
15852
15113
|
* @param {*} [options] Override http request option.
|
|
15853
15114
|
* @throws {RequiredError}
|
|
15115
|
+
* @memberof StockManagementApi
|
|
15854
15116
|
*/
|
|
15855
15117
|
StockManagementApi.prototype.postAddStockOrderDeduction = function (id, stockOrderDeductionRequestModel, options) {
|
|
15856
15118
|
var _this = this;
|
|
@@ -15863,6 +15125,7 @@ var StockManagementApi = /** @class */ (function (_super) {
|
|
|
15863
15125
|
* @param {Array<StockOrderItemRequestModel>} [stockOrderItemRequestModel]
|
|
15864
15126
|
* @param {*} [options] Override http request option.
|
|
15865
15127
|
* @throws {RequiredError}
|
|
15128
|
+
* @memberof StockManagementApi
|
|
15866
15129
|
*/
|
|
15867
15130
|
StockManagementApi.prototype.postAddStockOrderItem = function (id, stockOrderItemRequestModel, options) {
|
|
15868
15131
|
var _this = this;
|
|
@@ -15874,6 +15137,7 @@ var StockManagementApi = /** @class */ (function (_super) {
|
|
|
15874
15137
|
* @param {StockOrderRequestModel} [stockOrderRequestModel]
|
|
15875
15138
|
* @param {*} [options] Override http request option.
|
|
15876
15139
|
* @throws {RequiredError}
|
|
15140
|
+
* @memberof StockManagementApi
|
|
15877
15141
|
*/
|
|
15878
15142
|
StockManagementApi.prototype.postGetStockOrders = function (stockOrderRequestModel, options) {
|
|
15879
15143
|
var _this = this;
|
|
@@ -15885,6 +15149,7 @@ var StockManagementApi = /** @class */ (function (_super) {
|
|
|
15885
15149
|
* @param {StockProductModel} [stockProductModel] Stock Product
|
|
15886
15150
|
* @param {*} [options] Override http request option.
|
|
15887
15151
|
* @throws {RequiredError}
|
|
15152
|
+
* @memberof StockManagementApi
|
|
15888
15153
|
*/
|
|
15889
15154
|
StockManagementApi.prototype.postGetStockProducts = function (stockProductModel, options) {
|
|
15890
15155
|
var _this = this;
|
|
@@ -15897,6 +15162,7 @@ var StockManagementApi = /** @class */ (function (_super) {
|
|
|
15897
15162
|
* @param {File} invoice Supplier Invoice
|
|
15898
15163
|
* @param {*} [options] Override http request option.
|
|
15899
15164
|
* @throws {RequiredError}
|
|
15165
|
+
* @memberof StockManagementApi
|
|
15900
15166
|
*/
|
|
15901
15167
|
StockManagementApi.prototype.postUploadStockOrderInvoice = function (id, invoice, options) {
|
|
15902
15168
|
var _this = this;
|
|
@@ -15909,6 +15175,7 @@ var StockManagementApi = /** @class */ (function (_super) {
|
|
|
15909
15175
|
* @param {StockProductModel} [stockProductModel] Stock Product
|
|
15910
15176
|
* @param {*} [options] Override http request option.
|
|
15911
15177
|
* @throws {RequiredError}
|
|
15178
|
+
* @memberof StockManagementApi
|
|
15912
15179
|
*/
|
|
15913
15180
|
StockManagementApi.prototype.putGetStockProduct = function (id, stockProductModel, options) {
|
|
15914
15181
|
var _this = this;
|
|
@@ -15922,6 +15189,7 @@ var StockManagementApi = /** @class */ (function (_super) {
|
|
|
15922
15189
|
* @param {number} received Quantity Received
|
|
15923
15190
|
* @param {*} [options] Override http request option.
|
|
15924
15191
|
* @throws {RequiredError}
|
|
15192
|
+
* @memberof StockManagementApi
|
|
15925
15193
|
*/
|
|
15926
15194
|
StockManagementApi.prototype.putReceiveStockOrderItem = function (orderId, itemId, received, options) {
|
|
15927
15195
|
var _this = this;
|
|
@@ -15932,6 +15200,7 @@ var StockManagementApi = /** @class */ (function (_super) {
|
|
|
15932
15200
|
exports.StockManagementApi = StockManagementApi;
|
|
15933
15201
|
/**
|
|
15934
15202
|
* SystemApi - axios parameter creator
|
|
15203
|
+
* @export
|
|
15935
15204
|
*/
|
|
15936
15205
|
var SystemApiAxiosParamCreator = function (configuration) {
|
|
15937
15206
|
var _this = this;
|
|
@@ -16005,6 +15274,7 @@ var SystemApiAxiosParamCreator = function (configuration) {
|
|
|
16005
15274
|
exports.SystemApiAxiosParamCreator = SystemApiAxiosParamCreator;
|
|
16006
15275
|
/**
|
|
16007
15276
|
* SystemApi - functional programming interface
|
|
15277
|
+
* @export
|
|
16008
15278
|
*/
|
|
16009
15279
|
var SystemApiFp = function (configuration) {
|
|
16010
15280
|
var localVarAxiosParamCreator = (0, exports.SystemApiAxiosParamCreator)(configuration);
|
|
@@ -16043,6 +15313,7 @@ var SystemApiFp = function (configuration) {
|
|
|
16043
15313
|
exports.SystemApiFp = SystemApiFp;
|
|
16044
15314
|
/**
|
|
16045
15315
|
* SystemApi - factory interface
|
|
15316
|
+
* @export
|
|
16046
15317
|
*/
|
|
16047
15318
|
var SystemApiFactory = function (configuration, basePath, axios) {
|
|
16048
15319
|
var localVarFp = (0, exports.SystemApiFp)(configuration);
|
|
@@ -16068,6 +15339,9 @@ var SystemApiFactory = function (configuration, basePath, axios) {
|
|
|
16068
15339
|
exports.SystemApiFactory = SystemApiFactory;
|
|
16069
15340
|
/**
|
|
16070
15341
|
* SystemApi - object-oriented interface
|
|
15342
|
+
* @export
|
|
15343
|
+
* @class SystemApi
|
|
15344
|
+
* @extends {BaseAPI}
|
|
16071
15345
|
*/
|
|
16072
15346
|
var SystemApi = /** @class */ (function (_super) {
|
|
16073
15347
|
__extends(SystemApi, _super);
|
|
@@ -16086,6 +15360,7 @@ var SystemApi = /** @class */ (function (_super) {
|
|
|
16086
15360
|
* @param {number} [page] Page Number
|
|
16087
15361
|
* @param {*} [options] Override http request option.
|
|
16088
15362
|
* @throws {RequiredError}
|
|
15363
|
+
* @memberof SystemApi
|
|
16089
15364
|
*/
|
|
16090
15365
|
SystemApi.prototype.getLogSearch = function (clientId, clientIp, responseCode, date, filterOutDomain, pageSize, page, options) {
|
|
16091
15366
|
var _this = this;
|
|
@@ -16096,6 +15371,7 @@ var SystemApi = /** @class */ (function (_super) {
|
|
|
16096
15371
|
exports.SystemApi = SystemApi;
|
|
16097
15372
|
/**
|
|
16098
15373
|
* TicketsApi - axios parameter creator
|
|
15374
|
+
* @export
|
|
16099
15375
|
*/
|
|
16100
15376
|
var TicketsApiAxiosParamCreator = function (configuration) {
|
|
16101
15377
|
var _this = this;
|
|
@@ -16319,6 +15595,7 @@ var TicketsApiAxiosParamCreator = function (configuration) {
|
|
|
16319
15595
|
exports.TicketsApiAxiosParamCreator = TicketsApiAxiosParamCreator;
|
|
16320
15596
|
/**
|
|
16321
15597
|
* TicketsApi - functional programming interface
|
|
15598
|
+
* @export
|
|
16322
15599
|
*/
|
|
16323
15600
|
var TicketsApiFp = function (configuration) {
|
|
16324
15601
|
var localVarAxiosParamCreator = (0, exports.TicketsApiAxiosParamCreator)(configuration);
|
|
@@ -16444,6 +15721,7 @@ var TicketsApiFp = function (configuration) {
|
|
|
16444
15721
|
exports.TicketsApiFp = TicketsApiFp;
|
|
16445
15722
|
/**
|
|
16446
15723
|
* TicketsApi - factory interface
|
|
15724
|
+
* @export
|
|
16447
15725
|
*/
|
|
16448
15726
|
var TicketsApiFactory = function (configuration, basePath, axios) {
|
|
16449
15727
|
var localVarFp = (0, exports.TicketsApiFp)(configuration);
|
|
@@ -16504,6 +15782,9 @@ var TicketsApiFactory = function (configuration, basePath, axios) {
|
|
|
16504
15782
|
exports.TicketsApiFactory = TicketsApiFactory;
|
|
16505
15783
|
/**
|
|
16506
15784
|
* TicketsApi - object-oriented interface
|
|
15785
|
+
* @export
|
|
15786
|
+
* @class TicketsApi
|
|
15787
|
+
* @extends {BaseAPI}
|
|
16507
15788
|
*/
|
|
16508
15789
|
var TicketsApi = /** @class */ (function (_super) {
|
|
16509
15790
|
__extends(TicketsApi, _super);
|
|
@@ -16517,6 +15798,7 @@ var TicketsApi = /** @class */ (function (_super) {
|
|
|
16517
15798
|
* @param {number} [page] Page Number
|
|
16518
15799
|
* @param {*} [options] Override http request option.
|
|
16519
15800
|
* @throws {RequiredError}
|
|
15801
|
+
* @memberof TicketsApi
|
|
16520
15802
|
*/
|
|
16521
15803
|
TicketsApi.prototype.getCreateTicket = function (search, pageSize, page, options) {
|
|
16522
15804
|
var _this = this;
|
|
@@ -16527,6 +15809,7 @@ var TicketsApi = /** @class */ (function (_super) {
|
|
|
16527
15809
|
* @param {number} id Ticket ID
|
|
16528
15810
|
* @param {*} [options] Override http request option.
|
|
16529
15811
|
* @throws {RequiredError}
|
|
15812
|
+
* @memberof TicketsApi
|
|
16530
15813
|
*/
|
|
16531
15814
|
TicketsApi.prototype.getGetTicket = function (id, options) {
|
|
16532
15815
|
var _this = this;
|
|
@@ -16537,6 +15820,7 @@ var TicketsApi = /** @class */ (function (_super) {
|
|
|
16537
15820
|
* @param {number} id Ticket ID
|
|
16538
15821
|
* @param {*} [options] Override http request option.
|
|
16539
15822
|
* @throws {RequiredError}
|
|
15823
|
+
* @memberof TicketsApi
|
|
16540
15824
|
*/
|
|
16541
15825
|
TicketsApi.prototype.patchCloseTicket = function (id, options) {
|
|
16542
15826
|
var _this = this;
|
|
@@ -16549,6 +15833,7 @@ var TicketsApi = /** @class */ (function (_super) {
|
|
|
16549
15833
|
* @param {Array<File>} [attachments] Attachments (up to 20MB combined)
|
|
16550
15834
|
* @param {*} [options] Override http request option.
|
|
16551
15835
|
* @throws {RequiredError}
|
|
15836
|
+
* @memberof TicketsApi
|
|
16552
15837
|
*/
|
|
16553
15838
|
TicketsApi.prototype.postCreateTicket = function (subject, message, attachments, options) {
|
|
16554
15839
|
var _this = this;
|
|
@@ -16561,6 +15846,7 @@ var TicketsApi = /** @class */ (function (_super) {
|
|
|
16561
15846
|
* @param {Array<File>} [attachments] Attachments (up to 20MB combined)
|
|
16562
15847
|
* @param {*} [options] Override http request option.
|
|
16563
15848
|
* @throws {RequiredError}
|
|
15849
|
+
* @memberof TicketsApi
|
|
16564
15850
|
*/
|
|
16565
15851
|
TicketsApi.prototype.postTicketReply = function (id, body, attachments, options) {
|
|
16566
15852
|
var _this = this;
|
|
@@ -16571,6 +15857,7 @@ var TicketsApi = /** @class */ (function (_super) {
|
|
|
16571
15857
|
exports.TicketsApi = TicketsApi;
|
|
16572
15858
|
/**
|
|
16573
15859
|
* WebhooksApi - axios parameter creator
|
|
15860
|
+
* @export
|
|
16574
15861
|
*/
|
|
16575
15862
|
var WebhooksApiAxiosParamCreator = function (configuration) {
|
|
16576
15863
|
var _this = this;
|
|
@@ -16658,6 +15945,7 @@ var WebhooksApiAxiosParamCreator = function (configuration) {
|
|
|
16658
15945
|
exports.WebhooksApiAxiosParamCreator = WebhooksApiAxiosParamCreator;
|
|
16659
15946
|
/**
|
|
16660
15947
|
* WebhooksApi - functional programming interface
|
|
15948
|
+
* @export
|
|
16661
15949
|
*/
|
|
16662
15950
|
var WebhooksApiFp = function (configuration) {
|
|
16663
15951
|
var localVarAxiosParamCreator = (0, exports.WebhooksApiAxiosParamCreator)(configuration);
|
|
@@ -16713,6 +16001,7 @@ var WebhooksApiFp = function (configuration) {
|
|
|
16713
16001
|
exports.WebhooksApiFp = WebhooksApiFp;
|
|
16714
16002
|
/**
|
|
16715
16003
|
* WebhooksApi - factory interface
|
|
16004
|
+
* @export
|
|
16716
16005
|
*/
|
|
16717
16006
|
var WebhooksApiFactory = function (configuration, basePath, axios) {
|
|
16718
16007
|
var localVarFp = (0, exports.WebhooksApiFp)(configuration);
|
|
@@ -16742,6 +16031,9 @@ var WebhooksApiFactory = function (configuration, basePath, axios) {
|
|
|
16742
16031
|
exports.WebhooksApiFactory = WebhooksApiFactory;
|
|
16743
16032
|
/**
|
|
16744
16033
|
* WebhooksApi - object-oriented interface
|
|
16034
|
+
* @export
|
|
16035
|
+
* @class WebhooksApi
|
|
16036
|
+
* @extends {BaseAPI}
|
|
16745
16037
|
*/
|
|
16746
16038
|
var WebhooksApi = /** @class */ (function (_super) {
|
|
16747
16039
|
__extends(WebhooksApi, _super);
|
|
@@ -16754,6 +16046,7 @@ var WebhooksApi = /** @class */ (function (_super) {
|
|
|
16754
16046
|
* @param {string} authKey Webhook Authentication Key
|
|
16755
16047
|
* @param {*} [options] Override http request option.
|
|
16756
16048
|
* @throws {RequiredError}
|
|
16049
|
+
* @memberof WebhooksApi
|
|
16757
16050
|
*/
|
|
16758
16051
|
WebhooksApi.prototype.deleteRevokeWebhook = function (authKey, options) {
|
|
16759
16052
|
var _this = this;
|
|
@@ -16765,6 +16058,7 @@ var WebhooksApi = /** @class */ (function (_super) {
|
|
|
16765
16058
|
* @param {PostAddWebhookWebhookUriEnum} webhookUri Webhook URI
|
|
16766
16059
|
* @param {*} [options] Override http request option.
|
|
16767
16060
|
* @throws {RequiredError}
|
|
16061
|
+
* @memberof WebhooksApi
|
|
16768
16062
|
*/
|
|
16769
16063
|
WebhooksApi.prototype.postAddWebhook = function (webhookUri, options) {
|
|
16770
16064
|
var _this = this;
|
|
@@ -16773,6 +16067,9 @@ var WebhooksApi = /** @class */ (function (_super) {
|
|
|
16773
16067
|
return WebhooksApi;
|
|
16774
16068
|
}(base_1.BaseAPI));
|
|
16775
16069
|
exports.WebhooksApi = WebhooksApi;
|
|
16070
|
+
/**
|
|
16071
|
+
* @export
|
|
16072
|
+
*/
|
|
16776
16073
|
exports.PostAddWebhookWebhookUriEnum = {
|
|
16777
16074
|
WebhookComposerInstall: '/webhook/composer/install',
|
|
16778
16075
|
WebhookFreshdeskCreate: '/webhook/freshdesk/create',
|