yellowgrid-api-ts 3.2.2 → 3.2.4-dev.0
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 +7 -2
- package/.openapi-generator/VERSION +1 -1
- package/.openapi-generator-ignore +0 -0
- package/README.md +17 -1
- package/api.ts +1518 -3858
- package/base.ts +1 -25
- package/common.ts +2 -39
- package/config.json +3 -3
- package/configuration.ts +25 -19
- package/dist/api.d.ts +760 -3672
- package/dist/api.js +1334 -563
- package/dist/base.d.ts +1 -25
- package/dist/base.js +1 -20
- package/dist/common.d.ts +1 -38
- package/dist/common.js +1 -38
- package/dist/configuration.d.ts +25 -18
- 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 +0 -0
- 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/NumberPortDTO.md +49 -0
- package/docs/NumberPortEntity.md +47 -0
- package/docs/NumberPortModel.md +49 -0
- package/docs/NumberPortRangeDTO.md +33 -0
- package/docs/NumberPortRangeRequestDTO.md +27 -0
- package/docs/NumberPortingApi.md +655 -0
- package/docs/NumberPortsModel.md +27 -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 +0 -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/{TelephonySupportTicketModel.md → SupportTicketModel.md} +3 -3
- 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/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/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.
|
|
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;
|
|
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.NumberPortingApi = exports.NumberPortingApiFactory = exports.NumberPortingApiFp = exports.NumberPortingApiAxiosParamCreator = exports.MyPBXToolsApi = exports.MyPBXToolsApiFactory = exports.MyPBXToolsApiFp = exports.MyPBXToolsApiAxiosParamCreator = exports.GetGetTenantsStatusEnum = exports.Class3CXMultiTenantApi = exports.Class3CXMultiTenantApiFactory = exports.Class3CXMultiTenantApiFp = exports.Class3CXMultiTenantApiAxiosParamCreator = exports.GetGetPriceSchoolTypeEnum = exports.GetGetPriceLicenceTypeEnum = exports.Class3CXIntegrationsApi = exports.Class3CXIntegrationsApiFactory = 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 = exports.SIPTrunksApi = exports.SIPTrunksApiFactory = exports.SIPTrunksApiFp = exports.SIPTrunksApiAxiosParamCreator = void 0;
|
|
90
90
|
var axios_1 = require("axios");
|
|
91
91
|
// Some imports not used depending on template conditions
|
|
92
92
|
// @ts-ignore
|
|
@@ -286,7 +286,6 @@ exports.UpgradeRequestModelSchoolTypeEnum = {
|
|
|
286
286
|
};
|
|
287
287
|
/**
|
|
288
288
|
* AccountsApi - axios parameter creator
|
|
289
|
-
* @export
|
|
290
289
|
*/
|
|
291
290
|
var AccountsApiAxiosParamCreator = function (configuration) {
|
|
292
291
|
var _this = this;
|
|
@@ -1010,7 +1009,6 @@ var AccountsApiAxiosParamCreator = function (configuration) {
|
|
|
1010
1009
|
exports.AccountsApiAxiosParamCreator = AccountsApiAxiosParamCreator;
|
|
1011
1010
|
/**
|
|
1012
1011
|
* AccountsApi - functional programming interface
|
|
1013
|
-
* @export
|
|
1014
1012
|
*/
|
|
1015
1013
|
var AccountsApiFp = function (configuration) {
|
|
1016
1014
|
var localVarAxiosParamCreator = (0, exports.AccountsApiAxiosParamCreator)(configuration);
|
|
@@ -1459,7 +1457,6 @@ var AccountsApiFp = function (configuration) {
|
|
|
1459
1457
|
exports.AccountsApiFp = AccountsApiFp;
|
|
1460
1458
|
/**
|
|
1461
1459
|
* AccountsApi - factory interface
|
|
1462
|
-
* @export
|
|
1463
1460
|
*/
|
|
1464
1461
|
var AccountsApiFactory = function (configuration, basePath, axios) {
|
|
1465
1462
|
var localVarFp = (0, exports.AccountsApiFp)(configuration);
|
|
@@ -1661,9 +1658,6 @@ var AccountsApiFactory = function (configuration, basePath, axios) {
|
|
|
1661
1658
|
exports.AccountsApiFactory = AccountsApiFactory;
|
|
1662
1659
|
/**
|
|
1663
1660
|
* AccountsApi - object-oriented interface
|
|
1664
|
-
* @export
|
|
1665
|
-
* @class AccountsApi
|
|
1666
|
-
* @extends {BaseAPI}
|
|
1667
1661
|
*/
|
|
1668
1662
|
var AccountsApi = /** @class */ (function (_super) {
|
|
1669
1663
|
__extends(AccountsApi, _super);
|
|
@@ -1676,7 +1670,6 @@ var AccountsApi = /** @class */ (function (_super) {
|
|
|
1676
1670
|
* @param {string} id OAuth 2.0 Client ID
|
|
1677
1671
|
* @param {*} [options] Override http request option.
|
|
1678
1672
|
* @throws {RequiredError}
|
|
1679
|
-
* @memberof AccountsApi
|
|
1680
1673
|
*/
|
|
1681
1674
|
AccountsApi.prototype.deleteDeleteClientCredentials = function (id, options) {
|
|
1682
1675
|
var _this = this;
|
|
@@ -1688,7 +1681,6 @@ var AccountsApi = /** @class */ (function (_super) {
|
|
|
1688
1681
|
* @param {string} email Contact Email Address
|
|
1689
1682
|
* @param {*} [options] Override http request option.
|
|
1690
1683
|
* @throws {RequiredError}
|
|
1691
|
-
* @memberof AccountsApi
|
|
1692
1684
|
*/
|
|
1693
1685
|
AccountsApi.prototype.deleteUpdateAccountContact = function (email, options) {
|
|
1694
1686
|
var _this = this;
|
|
@@ -1699,7 +1691,6 @@ var AccountsApi = /** @class */ (function (_super) {
|
|
|
1699
1691
|
* @summary Get Account
|
|
1700
1692
|
* @param {*} [options] Override http request option.
|
|
1701
1693
|
* @throws {RequiredError}
|
|
1702
|
-
* @memberof AccountsApi
|
|
1703
1694
|
*/
|
|
1704
1695
|
AccountsApi.prototype.getGetAccount = function (options) {
|
|
1705
1696
|
var _this = this;
|
|
@@ -1711,7 +1702,6 @@ var AccountsApi = /** @class */ (function (_super) {
|
|
|
1711
1702
|
* @param {string} [email] Contact Email Address
|
|
1712
1703
|
* @param {*} [options] Override http request option.
|
|
1713
1704
|
* @throws {RequiredError}
|
|
1714
|
-
* @memberof AccountsApi
|
|
1715
1705
|
*/
|
|
1716
1706
|
AccountsApi.prototype.getGetAccountContacts = function (email, options) {
|
|
1717
1707
|
var _this = this;
|
|
@@ -1723,7 +1713,6 @@ var AccountsApi = /** @class */ (function (_super) {
|
|
|
1723
1713
|
* @param {number} id Customer ID
|
|
1724
1714
|
* @param {*} [options] Override http request option.
|
|
1725
1715
|
* @throws {RequiredError}
|
|
1726
|
-
* @memberof AccountsApi
|
|
1727
1716
|
*/
|
|
1728
1717
|
AccountsApi.prototype.getGetAccountDetailedSummary = function (id, options) {
|
|
1729
1718
|
var _this = this;
|
|
@@ -1738,7 +1727,6 @@ var AccountsApi = /** @class */ (function (_super) {
|
|
|
1738
1727
|
* @param {boolean} [active] Active
|
|
1739
1728
|
* @param {*} [options] Override http request option.
|
|
1740
1729
|
* @throws {RequiredError}
|
|
1741
|
-
* @memberof AccountsApi
|
|
1742
1730
|
*/
|
|
1743
1731
|
AccountsApi.prototype.getGetAccounts = function (pageSize, page, search, active, options) {
|
|
1744
1732
|
var _this = this;
|
|
@@ -1749,7 +1737,6 @@ var AccountsApi = /** @class */ (function (_super) {
|
|
|
1749
1737
|
* @summary Get user\'s client credentials
|
|
1750
1738
|
* @param {*} [options] Override http request option.
|
|
1751
1739
|
* @throws {RequiredError}
|
|
1752
|
-
* @memberof AccountsApi
|
|
1753
1740
|
*/
|
|
1754
1741
|
AccountsApi.prototype.getGetClientCredentials = function (options) {
|
|
1755
1742
|
var _this = this;
|
|
@@ -1760,7 +1747,6 @@ var AccountsApi = /** @class */ (function (_super) {
|
|
|
1760
1747
|
* @summary Get 3CX Keys
|
|
1761
1748
|
* @param {*} [options] Override http request option.
|
|
1762
1749
|
* @throws {RequiredError}
|
|
1763
|
-
* @memberof AccountsApi
|
|
1764
1750
|
*/
|
|
1765
1751
|
AccountsApi.prototype.getGetCustomerKeys = function (options) {
|
|
1766
1752
|
var _this = this;
|
|
@@ -1772,7 +1758,6 @@ var AccountsApi = /** @class */ (function (_super) {
|
|
|
1772
1758
|
* @param {string} token Verification Token
|
|
1773
1759
|
* @param {*} [options] Override http request option.
|
|
1774
1760
|
* @throws {RequiredError}
|
|
1775
|
-
* @memberof AccountsApi
|
|
1776
1761
|
*/
|
|
1777
1762
|
AccountsApi.prototype.getVerifyEmailAddress = function (token, options) {
|
|
1778
1763
|
var _this = this;
|
|
@@ -1783,7 +1768,6 @@ var AccountsApi = /** @class */ (function (_super) {
|
|
|
1783
1768
|
* @param {PatchSetTcxWizardCnameRequest} [patchSetTcxWizardCnameRequest] CNAME Request
|
|
1784
1769
|
* @param {*} [options] Override http request option.
|
|
1785
1770
|
* @throws {RequiredError}
|
|
1786
|
-
* @memberof AccountsApi
|
|
1787
1771
|
*/
|
|
1788
1772
|
AccountsApi.prototype.patchSetTcxWizardCname = function (patchSetTcxWizardCnameRequest, options) {
|
|
1789
1773
|
var _this = this;
|
|
@@ -1796,7 +1780,6 @@ var AccountsApi = /** @class */ (function (_super) {
|
|
|
1796
1780
|
* @param {PatchUpdateAccountContactPasswordRequest} [patchUpdateAccountContactPasswordRequest] New account request
|
|
1797
1781
|
* @param {*} [options] Override http request option.
|
|
1798
1782
|
* @throws {RequiredError}
|
|
1799
|
-
* @memberof AccountsApi
|
|
1800
1783
|
*/
|
|
1801
1784
|
AccountsApi.prototype.patchUpdateAccountContactPassword = function (token, patchUpdateAccountContactPasswordRequest, options) {
|
|
1802
1785
|
var _this = this;
|
|
@@ -1808,7 +1791,6 @@ var AccountsApi = /** @class */ (function (_super) {
|
|
|
1808
1791
|
* @param {AccountContactRequestModel} [accountContactRequestModel] New account request
|
|
1809
1792
|
* @param {*} [options] Override http request option.
|
|
1810
1793
|
* @throws {RequiredError}
|
|
1811
|
-
* @memberof AccountsApi
|
|
1812
1794
|
*/
|
|
1813
1795
|
AccountsApi.prototype.postGetAccountContacts = function (accountContactRequestModel, options) {
|
|
1814
1796
|
var _this = this;
|
|
@@ -1820,7 +1802,6 @@ var AccountsApi = /** @class */ (function (_super) {
|
|
|
1820
1802
|
* @param {AccountRequestModel} [accountRequestModel] New account request
|
|
1821
1803
|
* @param {*} [options] Override http request option.
|
|
1822
1804
|
* @throws {RequiredError}
|
|
1823
|
-
* @memberof AccountsApi
|
|
1824
1805
|
*/
|
|
1825
1806
|
AccountsApi.prototype.postGetAccounts = function (accountRequestModel, options) {
|
|
1826
1807
|
var _this = this;
|
|
@@ -1831,7 +1812,6 @@ var AccountsApi = /** @class */ (function (_super) {
|
|
|
1831
1812
|
* @summary Get Admin Account
|
|
1832
1813
|
* @param {*} [options] Override http request option.
|
|
1833
1814
|
* @throws {RequiredError}
|
|
1834
|
-
* @memberof AccountsApi
|
|
1835
1815
|
*/
|
|
1836
1816
|
AccountsApi.prototype.postGetAdminAccount = function (options) {
|
|
1837
1817
|
var _this = this;
|
|
@@ -1843,7 +1823,6 @@ var AccountsApi = /** @class */ (function (_super) {
|
|
|
1843
1823
|
* @param {PostGetClientCredentialsRequest} [postGetClientCredentialsRequest] New client credentials request
|
|
1844
1824
|
* @param {*} [options] Override http request option.
|
|
1845
1825
|
* @throws {RequiredError}
|
|
1846
|
-
* @memberof AccountsApi
|
|
1847
1826
|
*/
|
|
1848
1827
|
AccountsApi.prototype.postGetClientCredentials = function (postGetClientCredentialsRequest, options) {
|
|
1849
1828
|
var _this = this;
|
|
@@ -1855,7 +1834,6 @@ var AccountsApi = /** @class */ (function (_super) {
|
|
|
1855
1834
|
* @param {string} email Email Address
|
|
1856
1835
|
* @param {*} [options] Override http request option.
|
|
1857
1836
|
* @throws {RequiredError}
|
|
1858
|
-
* @memberof AccountsApi
|
|
1859
1837
|
*/
|
|
1860
1838
|
AccountsApi.prototype.postSendEmailVerificationEmail = function (email, options) {
|
|
1861
1839
|
var _this = this;
|
|
@@ -1867,7 +1845,6 @@ var AccountsApi = /** @class */ (function (_super) {
|
|
|
1867
1845
|
* @param {string} email Email Address
|
|
1868
1846
|
* @param {*} [options] Override http request option.
|
|
1869
1847
|
* @throws {RequiredError}
|
|
1870
|
-
* @memberof AccountsApi
|
|
1871
1848
|
*/
|
|
1872
1849
|
AccountsApi.prototype.postSendPasswordReset = function (email, options) {
|
|
1873
1850
|
var _this = this;
|
|
@@ -1881,7 +1858,6 @@ var AccountsApi = /** @class */ (function (_super) {
|
|
|
1881
1858
|
* @param {string} [vatNumber] VAT Number
|
|
1882
1859
|
* @param {*} [options] Override http request option.
|
|
1883
1860
|
* @throws {RequiredError}
|
|
1884
|
-
* @memberof AccountsApi
|
|
1885
1861
|
*/
|
|
1886
1862
|
AccountsApi.prototype.postSubmitResellerApplication = function (creditRequired, companyNumber, vatNumber, options) {
|
|
1887
1863
|
var _this = this;
|
|
@@ -1894,7 +1870,6 @@ var AccountsApi = /** @class */ (function (_super) {
|
|
|
1894
1870
|
* @param {AccountContactRequestModel} [accountContactRequestModel] Account request
|
|
1895
1871
|
* @param {*} [options] Override http request option.
|
|
1896
1872
|
* @throws {RequiredError}
|
|
1897
|
-
* @memberof AccountsApi
|
|
1898
1873
|
*/
|
|
1899
1874
|
AccountsApi.prototype.putUpdateAccountContact = function (email, accountContactRequestModel, options) {
|
|
1900
1875
|
var _this = this;
|
|
@@ -1905,7 +1880,6 @@ var AccountsApi = /** @class */ (function (_super) {
|
|
|
1905
1880
|
exports.AccountsApi = AccountsApi;
|
|
1906
1881
|
/**
|
|
1907
1882
|
* CRMApi - axios parameter creator
|
|
1908
|
-
* @export
|
|
1909
1883
|
*/
|
|
1910
1884
|
var CRMApiAxiosParamCreator = function (configuration) {
|
|
1911
1885
|
var _this = this;
|
|
@@ -1947,7 +1921,6 @@ var CRMApiAxiosParamCreator = function (configuration) {
|
|
|
1947
1921
|
exports.CRMApiAxiosParamCreator = CRMApiAxiosParamCreator;
|
|
1948
1922
|
/**
|
|
1949
1923
|
* CRMApi - functional programming interface
|
|
1950
|
-
* @export
|
|
1951
1924
|
*/
|
|
1952
1925
|
var CRMApiFp = function (configuration) {
|
|
1953
1926
|
var localVarAxiosParamCreator = (0, exports.CRMApiAxiosParamCreator)(configuration);
|
|
@@ -1978,7 +1951,6 @@ var CRMApiFp = function (configuration) {
|
|
|
1978
1951
|
exports.CRMApiFp = CRMApiFp;
|
|
1979
1952
|
/**
|
|
1980
1953
|
* CRMApi - factory interface
|
|
1981
|
-
* @export
|
|
1982
1954
|
*/
|
|
1983
1955
|
var CRMApiFactory = function (configuration, basePath, axios) {
|
|
1984
1956
|
var localVarFp = (0, exports.CRMApiFp)(configuration);
|
|
@@ -1996,9 +1968,6 @@ var CRMApiFactory = function (configuration, basePath, axios) {
|
|
|
1996
1968
|
exports.CRMApiFactory = CRMApiFactory;
|
|
1997
1969
|
/**
|
|
1998
1970
|
* CRMApi - object-oriented interface
|
|
1999
|
-
* @export
|
|
2000
|
-
* @class CRMApi
|
|
2001
|
-
* @extends {BaseAPI}
|
|
2002
1971
|
*/
|
|
2003
1972
|
var CRMApi = /** @class */ (function (_super) {
|
|
2004
1973
|
__extends(CRMApi, _super);
|
|
@@ -2009,7 +1978,6 @@ var CRMApi = /** @class */ (function (_super) {
|
|
|
2009
1978
|
* Search for contacts by phone number
|
|
2010
1979
|
* @param {*} [options] Override http request option.
|
|
2011
1980
|
* @throws {RequiredError}
|
|
2012
|
-
* @memberof CRMApi
|
|
2013
1981
|
*/
|
|
2014
1982
|
CRMApi.prototype.getSearchByPhone = function (options) {
|
|
2015
1983
|
var _this = this;
|
|
@@ -2020,7 +1988,6 @@ var CRMApi = /** @class */ (function (_super) {
|
|
|
2020
1988
|
exports.CRMApi = CRMApi;
|
|
2021
1989
|
/**
|
|
2022
1990
|
* Class3CXApi - axios parameter creator
|
|
2023
|
-
* @export
|
|
2024
1991
|
*/
|
|
2025
1992
|
var Class3CXApiAxiosParamCreator = function (configuration) {
|
|
2026
1993
|
var _this = this;
|
|
@@ -2105,7 +2072,6 @@ var Class3CXApiAxiosParamCreator = function (configuration) {
|
|
|
2105
2072
|
exports.Class3CXApiAxiosParamCreator = Class3CXApiAxiosParamCreator;
|
|
2106
2073
|
/**
|
|
2107
2074
|
* Class3CXApi - functional programming interface
|
|
2108
|
-
* @export
|
|
2109
2075
|
*/
|
|
2110
2076
|
var Class3CXApiFp = function (configuration) {
|
|
2111
2077
|
var localVarAxiosParamCreator = (0, exports.Class3CXApiAxiosParamCreator)(configuration);
|
|
@@ -2161,7 +2127,6 @@ var Class3CXApiFp = function (configuration) {
|
|
|
2161
2127
|
exports.Class3CXApiFp = Class3CXApiFp;
|
|
2162
2128
|
/**
|
|
2163
2129
|
* Class3CXApi - factory interface
|
|
2164
|
-
* @export
|
|
2165
2130
|
*/
|
|
2166
2131
|
var Class3CXApiFactory = function (configuration, basePath, axios) {
|
|
2167
2132
|
var localVarFp = (0, exports.Class3CXApiFp)(configuration);
|
|
@@ -2191,9 +2156,6 @@ var Class3CXApiFactory = function (configuration, basePath, axios) {
|
|
|
2191
2156
|
exports.Class3CXApiFactory = Class3CXApiFactory;
|
|
2192
2157
|
/**
|
|
2193
2158
|
* Class3CXApi - object-oriented interface
|
|
2194
|
-
* @export
|
|
2195
|
-
* @class Class3CXApi
|
|
2196
|
-
* @extends {BaseAPI}
|
|
2197
2159
|
*/
|
|
2198
2160
|
var Class3CXApi = /** @class */ (function (_super) {
|
|
2199
2161
|
__extends(Class3CXApi, _super);
|
|
@@ -2206,7 +2168,6 @@ var Class3CXApi = /** @class */ (function (_super) {
|
|
|
2206
2168
|
* @param {string} key 3CX Licence Key
|
|
2207
2169
|
* @param {*} [options] Override http request option.
|
|
2208
2170
|
* @throws {RequiredError}
|
|
2209
|
-
* @memberof Class3CXApi
|
|
2210
2171
|
*/
|
|
2211
2172
|
Class3CXApi.prototype.getGetLicenceDetails = function (key, options) {
|
|
2212
2173
|
var _this = this;
|
|
@@ -2218,7 +2179,6 @@ var Class3CXApi = /** @class */ (function (_super) {
|
|
|
2218
2179
|
* @param {Array<string>} [requestBody] Licence Lookup Request
|
|
2219
2180
|
* @param {*} [options] Override http request option.
|
|
2220
2181
|
* @throws {RequiredError}
|
|
2221
|
-
* @memberof Class3CXApi
|
|
2222
2182
|
*/
|
|
2223
2183
|
Class3CXApi.prototype.postGetBulkLicenceDetails = function (requestBody, options) {
|
|
2224
2184
|
var _this = this;
|
|
@@ -2229,7 +2189,6 @@ var Class3CXApi = /** @class */ (function (_super) {
|
|
|
2229
2189
|
exports.Class3CXApi = Class3CXApi;
|
|
2230
2190
|
/**
|
|
2231
2191
|
* Class3CXInstallationWizardApi - axios parameter creator
|
|
2232
|
-
* @export
|
|
2233
2192
|
*/
|
|
2234
2193
|
var Class3CXInstallationWizardApiAxiosParamCreator = function (configuration) {
|
|
2235
2194
|
var _this = this;
|
|
@@ -3479,7 +3438,6 @@ var Class3CXInstallationWizardApiAxiosParamCreator = function (configuration) {
|
|
|
3479
3438
|
exports.Class3CXInstallationWizardApiAxiosParamCreator = Class3CXInstallationWizardApiAxiosParamCreator;
|
|
3480
3439
|
/**
|
|
3481
3440
|
* Class3CXInstallationWizardApi - functional programming interface
|
|
3482
|
-
* @export
|
|
3483
3441
|
*/
|
|
3484
3442
|
var Class3CXInstallationWizardApiFp = function (configuration) {
|
|
3485
3443
|
var localVarAxiosParamCreator = (0, exports.Class3CXInstallationWizardApiAxiosParamCreator)(configuration);
|
|
@@ -4252,7 +4210,6 @@ var Class3CXInstallationWizardApiFp = function (configuration) {
|
|
|
4252
4210
|
exports.Class3CXInstallationWizardApiFp = Class3CXInstallationWizardApiFp;
|
|
4253
4211
|
/**
|
|
4254
4212
|
* Class3CXInstallationWizardApi - factory interface
|
|
4255
|
-
* @export
|
|
4256
4213
|
*/
|
|
4257
4214
|
var Class3CXInstallationWizardApiFactory = function (configuration, basePath, axios) {
|
|
4258
4215
|
var localVarFp = (0, exports.Class3CXInstallationWizardApiFp)(configuration);
|
|
@@ -4596,9 +4553,6 @@ var Class3CXInstallationWizardApiFactory = function (configuration, basePath, ax
|
|
|
4596
4553
|
exports.Class3CXInstallationWizardApiFactory = Class3CXInstallationWizardApiFactory;
|
|
4597
4554
|
/**
|
|
4598
4555
|
* Class3CXInstallationWizardApi - object-oriented interface
|
|
4599
|
-
* @export
|
|
4600
|
-
* @class Class3CXInstallationWizardApi
|
|
4601
|
-
* @extends {BaseAPI}
|
|
4602
4556
|
*/
|
|
4603
4557
|
var Class3CXInstallationWizardApi = /** @class */ (function (_super) {
|
|
4604
4558
|
__extends(Class3CXInstallationWizardApi, _super);
|
|
@@ -4611,7 +4565,6 @@ var Class3CXInstallationWizardApi = /** @class */ (function (_super) {
|
|
|
4611
4565
|
* @param {Array<TcxExtsEntity>} [tcxExtsEntity] 3CX Wizard Extensions
|
|
4612
4566
|
* @param {*} [options] Override http request option.
|
|
4613
4567
|
* @throws {RequiredError}
|
|
4614
|
-
* @memberof Class3CXInstallationWizardApi
|
|
4615
4568
|
*/
|
|
4616
4569
|
Class3CXInstallationWizardApi.prototype.deleteAddExtensions = function (tcxExtsEntity, options) {
|
|
4617
4570
|
var _this = this;
|
|
@@ -4623,7 +4576,6 @@ var Class3CXInstallationWizardApi = /** @class */ (function (_super) {
|
|
|
4623
4576
|
* @param {Array<TcxNumbersEntity>} [tcxNumbersEntity] 3CX Wizard Numbers
|
|
4624
4577
|
* @param {*} [options] Override http request option.
|
|
4625
4578
|
* @throws {RequiredError}
|
|
4626
|
-
* @memberof Class3CXInstallationWizardApi
|
|
4627
4579
|
*/
|
|
4628
4580
|
Class3CXInstallationWizardApi.prototype.deleteAddNumbers = function (tcxNumbersEntity, options) {
|
|
4629
4581
|
var _this = this;
|
|
@@ -4635,7 +4587,6 @@ var Class3CXInstallationWizardApi = /** @class */ (function (_super) {
|
|
|
4635
4587
|
* @param {Array<TcxPhonesEntity>} [tcxPhonesEntity] 3CX Wizard Phones
|
|
4636
4588
|
* @param {*} [options] Override http request option.
|
|
4637
4589
|
* @throws {RequiredError}
|
|
4638
|
-
* @memberof Class3CXInstallationWizardApi
|
|
4639
4590
|
*/
|
|
4640
4591
|
Class3CXInstallationWizardApi.prototype.deleteAddPhones = function (tcxPhonesEntity, options) {
|
|
4641
4592
|
var _this = this;
|
|
@@ -4647,7 +4598,6 @@ var Class3CXInstallationWizardApi = /** @class */ (function (_super) {
|
|
|
4647
4598
|
* @param {Array<TcxSbcModel>} [tcxSbcModel] 3CX Wizard SBCs
|
|
4648
4599
|
* @param {*} [options] Override http request option.
|
|
4649
4600
|
* @throws {RequiredError}
|
|
4650
|
-
* @memberof Class3CXInstallationWizardApi
|
|
4651
4601
|
*/
|
|
4652
4602
|
Class3CXInstallationWizardApi.prototype.deleteAddSbcs = function (tcxSbcModel, options) {
|
|
4653
4603
|
var _this = this;
|
|
@@ -4658,7 +4608,6 @@ var Class3CXInstallationWizardApi = /** @class */ (function (_super) {
|
|
|
4658
4608
|
* @summary Delete 3CX Installation Wizard
|
|
4659
4609
|
* @param {*} [options] Override http request option.
|
|
4660
4610
|
* @throws {RequiredError}
|
|
4661
|
-
* @memberof Class3CXInstallationWizardApi
|
|
4662
4611
|
*/
|
|
4663
4612
|
Class3CXInstallationWizardApi.prototype.deleteGetWizard = function (options) {
|
|
4664
4613
|
var _this = this;
|
|
@@ -4669,7 +4618,6 @@ var Class3CXInstallationWizardApi = /** @class */ (function (_super) {
|
|
|
4669
4618
|
* @summary Get phones on linked order and MAC addresses
|
|
4670
4619
|
* @param {*} [options] Override http request option.
|
|
4671
4620
|
* @throws {RequiredError}
|
|
4672
|
-
* @memberof Class3CXInstallationWizardApi
|
|
4673
4621
|
*/
|
|
4674
4622
|
Class3CXInstallationWizardApi.prototype.getAddPhones = function (options) {
|
|
4675
4623
|
var _this = this;
|
|
@@ -4680,7 +4628,6 @@ var Class3CXInstallationWizardApi = /** @class */ (function (_super) {
|
|
|
4680
4628
|
* @summary Get UK National Area Codes
|
|
4681
4629
|
* @param {*} [options] Override http request option.
|
|
4682
4630
|
* @throws {RequiredError}
|
|
4683
|
-
* @memberof Class3CXInstallationWizardApi
|
|
4684
4631
|
*/
|
|
4685
4632
|
Class3CXInstallationWizardApi.prototype.getGetAreaCodesTcxWizard = function (options) {
|
|
4686
4633
|
var _this = this;
|
|
@@ -4692,7 +4639,6 @@ var Class3CXInstallationWizardApi = /** @class */ (function (_super) {
|
|
|
4692
4639
|
* @param {number} id SIP Trunk ID
|
|
4693
4640
|
* @param {*} [options] Override http request option.
|
|
4694
4641
|
* @throws {RequiredError}
|
|
4695
|
-
* @memberof Class3CXInstallationWizardApi
|
|
4696
4642
|
*/
|
|
4697
4643
|
Class3CXInstallationWizardApi.prototype.getGetDdisTcxWizard = function (id, options) {
|
|
4698
4644
|
var _this = this;
|
|
@@ -4703,7 +4649,6 @@ var Class3CXInstallationWizardApi = /** @class */ (function (_super) {
|
|
|
4703
4649
|
* @summary Get Hosting Price
|
|
4704
4650
|
* @param {*} [options] Override http request option.
|
|
4705
4651
|
* @throws {RequiredError}
|
|
4706
|
-
* @memberof Class3CXInstallationWizardApi
|
|
4707
4652
|
*/
|
|
4708
4653
|
Class3CXInstallationWizardApi.prototype.getGetHostingPrice = function (options) {
|
|
4709
4654
|
var _this = this;
|
|
@@ -4714,7 +4659,6 @@ var Class3CXInstallationWizardApi = /** @class */ (function (_super) {
|
|
|
4714
4659
|
* @summary Get 3CX Hosting Regions
|
|
4715
4660
|
* @param {*} [options] Override http request option.
|
|
4716
4661
|
* @throws {RequiredError}
|
|
4717
|
-
* @memberof Class3CXInstallationWizardApi
|
|
4718
4662
|
*/
|
|
4719
4663
|
Class3CXInstallationWizardApi.prototype.getGetHostingRegions = function (options) {
|
|
4720
4664
|
var _this = this;
|
|
@@ -4730,7 +4674,6 @@ var Class3CXInstallationWizardApi = /** @class */ (function (_super) {
|
|
|
4730
4674
|
* @param {*} [options] Override http request option.
|
|
4731
4675
|
* @deprecated
|
|
4732
4676
|
* @throws {RequiredError}
|
|
4733
|
-
* @memberof Class3CXInstallationWizardApi
|
|
4734
4677
|
*/
|
|
4735
4678
|
Class3CXInstallationWizardApi.prototype.getGetInstallStatus = function (id, u, c, p, options) {
|
|
4736
4679
|
var _this = this;
|
|
@@ -4741,7 +4684,6 @@ var Class3CXInstallationWizardApi = /** @class */ (function (_super) {
|
|
|
4741
4684
|
* @summary Get 3CX Instance Install Status
|
|
4742
4685
|
* @param {*} [options] Override http request option.
|
|
4743
4686
|
* @throws {RequiredError}
|
|
4744
|
-
* @memberof Class3CXInstallationWizardApi
|
|
4745
4687
|
*/
|
|
4746
4688
|
Class3CXInstallationWizardApi.prototype.getGetInstanceInstallStatus = function (options) {
|
|
4747
4689
|
var _this = this;
|
|
@@ -4752,7 +4694,6 @@ var Class3CXInstallationWizardApi = /** @class */ (function (_super) {
|
|
|
4752
4694
|
* @summary Get PBX IP Address
|
|
4753
4695
|
* @param {*} [options] Override http request option.
|
|
4754
4696
|
* @throws {RequiredError}
|
|
4755
|
-
* @memberof Class3CXInstallationWizardApi
|
|
4756
4697
|
*/
|
|
4757
4698
|
Class3CXInstallationWizardApi.prototype.getGetPbxIpAddress = function (options) {
|
|
4758
4699
|
var _this = this;
|
|
@@ -4764,7 +4705,6 @@ var Class3CXInstallationWizardApi = /** @class */ (function (_super) {
|
|
|
4764
4705
|
* @param {number} id SIP Trunk ID
|
|
4765
4706
|
* @param {*} [options] Override http request option.
|
|
4766
4707
|
* @throws {RequiredError}
|
|
4767
|
-
* @memberof Class3CXInstallationWizardApi
|
|
4768
4708
|
*/
|
|
4769
4709
|
Class3CXInstallationWizardApi.prototype.getGetSipTrunkTcxWizard = function (id, options) {
|
|
4770
4710
|
var _this = this;
|
|
@@ -4778,7 +4718,6 @@ var Class3CXInstallationWizardApi = /** @class */ (function (_super) {
|
|
|
4778
4718
|
* @param {string} [search] Search
|
|
4779
4719
|
* @param {*} [options] Override http request option.
|
|
4780
4720
|
* @throws {RequiredError}
|
|
4781
|
-
* @memberof Class3CXInstallationWizardApi
|
|
4782
4721
|
*/
|
|
4783
4722
|
Class3CXInstallationWizardApi.prototype.getGetSipTrunksTcxWizard = function (pageSize, page, search, options) {
|
|
4784
4723
|
var _this = this;
|
|
@@ -4789,7 +4728,6 @@ var Class3CXInstallationWizardApi = /** @class */ (function (_super) {
|
|
|
4789
4728
|
* @summary Get 3CX Installation Wizard
|
|
4790
4729
|
* @param {*} [options] Override http request option.
|
|
4791
4730
|
* @throws {RequiredError}
|
|
4792
|
-
* @memberof Class3CXInstallationWizardApi
|
|
4793
4731
|
*/
|
|
4794
4732
|
Class3CXInstallationWizardApi.prototype.getGetWizard = function (options) {
|
|
4795
4733
|
var _this = this;
|
|
@@ -4801,7 +4739,6 @@ var Class3CXInstallationWizardApi = /** @class */ (function (_super) {
|
|
|
4801
4739
|
* @param {Array<TcxExtsEntity>} [tcxExtsEntity] 3CX Wizard Extensions
|
|
4802
4740
|
* @param {*} [options] Override http request option.
|
|
4803
4741
|
* @throws {RequiredError}
|
|
4804
|
-
* @memberof Class3CXInstallationWizardApi
|
|
4805
4742
|
*/
|
|
4806
4743
|
Class3CXInstallationWizardApi.prototype.patchAddExtensions = function (tcxExtsEntity, options) {
|
|
4807
4744
|
var _this = this;
|
|
@@ -4813,7 +4750,6 @@ var Class3CXInstallationWizardApi = /** @class */ (function (_super) {
|
|
|
4813
4750
|
* @param {Array<TcxNumbersEntity>} [tcxNumbersEntity] 3CX Wizard Numbers
|
|
4814
4751
|
* @param {*} [options] Override http request option.
|
|
4815
4752
|
* @throws {RequiredError}
|
|
4816
|
-
* @memberof Class3CXInstallationWizardApi
|
|
4817
4753
|
*/
|
|
4818
4754
|
Class3CXInstallationWizardApi.prototype.patchAddNumbers = function (tcxNumbersEntity, options) {
|
|
4819
4755
|
var _this = this;
|
|
@@ -4825,7 +4761,6 @@ var Class3CXInstallationWizardApi = /** @class */ (function (_super) {
|
|
|
4825
4761
|
* @param {Array<TcxPhonesEntity>} [tcxPhonesEntity] 3CX Wizard Phones
|
|
4826
4762
|
* @param {*} [options] Override http request option.
|
|
4827
4763
|
* @throws {RequiredError}
|
|
4828
|
-
* @memberof Class3CXInstallationWizardApi
|
|
4829
4764
|
*/
|
|
4830
4765
|
Class3CXInstallationWizardApi.prototype.patchAddPhones = function (tcxPhonesEntity, options) {
|
|
4831
4766
|
var _this = this;
|
|
@@ -4837,7 +4772,6 @@ var Class3CXInstallationWizardApi = /** @class */ (function (_super) {
|
|
|
4837
4772
|
* @param {Array<TcxSbcModel>} [tcxSbcModel] 3CX Wizard SBCs
|
|
4838
4773
|
* @param {*} [options] Override http request option.
|
|
4839
4774
|
* @throws {RequiredError}
|
|
4840
|
-
* @memberof Class3CXInstallationWizardApi
|
|
4841
4775
|
*/
|
|
4842
4776
|
Class3CXInstallationWizardApi.prototype.patchAddSbcs = function (tcxSbcModel, options) {
|
|
4843
4777
|
var _this = this;
|
|
@@ -4849,7 +4783,6 @@ var Class3CXInstallationWizardApi = /** @class */ (function (_super) {
|
|
|
4849
4783
|
* @param {TcxWizardModel} [tcxWizardModel] 3CX Wizard
|
|
4850
4784
|
* @param {*} [options] Override http request option.
|
|
4851
4785
|
* @throws {RequiredError}
|
|
4852
|
-
* @memberof Class3CXInstallationWizardApi
|
|
4853
4786
|
*/
|
|
4854
4787
|
Class3CXInstallationWizardApi.prototype.patchGetWizard = function (tcxWizardModel, options) {
|
|
4855
4788
|
var _this = this;
|
|
@@ -4861,7 +4794,6 @@ var Class3CXInstallationWizardApi = /** @class */ (function (_super) {
|
|
|
4861
4794
|
* @param {Array<TcxExtsEntity>} [tcxExtsEntity] 3CX Wizard Extension
|
|
4862
4795
|
* @param {*} [options] Override http request option.
|
|
4863
4796
|
* @throws {RequiredError}
|
|
4864
|
-
* @memberof Class3CXInstallationWizardApi
|
|
4865
4797
|
*/
|
|
4866
4798
|
Class3CXInstallationWizardApi.prototype.postAddExtensions = function (tcxExtsEntity, options) {
|
|
4867
4799
|
var _this = this;
|
|
@@ -4873,7 +4805,6 @@ var Class3CXInstallationWizardApi = /** @class */ (function (_super) {
|
|
|
4873
4805
|
* @param {Array<TcxNumbersEntity>} [tcxNumbersEntity] 3CX Wizard Numbers
|
|
4874
4806
|
* @param {*} [options] Override http request option.
|
|
4875
4807
|
* @throws {RequiredError}
|
|
4876
|
-
* @memberof Class3CXInstallationWizardApi
|
|
4877
4808
|
*/
|
|
4878
4809
|
Class3CXInstallationWizardApi.prototype.postAddNumbers = function (tcxNumbersEntity, options) {
|
|
4879
4810
|
var _this = this;
|
|
@@ -4885,7 +4816,6 @@ var Class3CXInstallationWizardApi = /** @class */ (function (_super) {
|
|
|
4885
4816
|
* @param {Array<TcxPhonesEntity>} [tcxPhonesEntity] 3CX Wizard Phones
|
|
4886
4817
|
* @param {*} [options] Override http request option.
|
|
4887
4818
|
* @throws {RequiredError}
|
|
4888
|
-
* @memberof Class3CXInstallationWizardApi
|
|
4889
4819
|
*/
|
|
4890
4820
|
Class3CXInstallationWizardApi.prototype.postAddPhones = function (tcxPhonesEntity, options) {
|
|
4891
4821
|
var _this = this;
|
|
@@ -4897,7 +4827,6 @@ var Class3CXInstallationWizardApi = /** @class */ (function (_super) {
|
|
|
4897
4827
|
* @param {Array<TcxSbcModel>} [tcxSbcModel] 3CX Wizard SBCs
|
|
4898
4828
|
* @param {*} [options] Override http request option.
|
|
4899
4829
|
* @throws {RequiredError}
|
|
4900
|
-
* @memberof Class3CXInstallationWizardApi
|
|
4901
4830
|
*/
|
|
4902
4831
|
Class3CXInstallationWizardApi.prototype.postAddSbcs = function (tcxSbcModel, options) {
|
|
4903
4832
|
var _this = this;
|
|
@@ -4908,7 +4837,6 @@ var Class3CXInstallationWizardApi = /** @class */ (function (_super) {
|
|
|
4908
4837
|
* @summary Build Instance From 3CX Installation Wizard
|
|
4909
4838
|
* @param {*} [options] Override http request option.
|
|
4910
4839
|
* @throws {RequiredError}
|
|
4911
|
-
* @memberof Class3CXInstallationWizardApi
|
|
4912
4840
|
*/
|
|
4913
4841
|
Class3CXInstallationWizardApi.prototype.postBuildInstance = function (options) {
|
|
4914
4842
|
var _this = this;
|
|
@@ -4924,7 +4852,6 @@ var Class3CXInstallationWizardApi = /** @class */ (function (_super) {
|
|
|
4924
4852
|
* @param {*} [options] Override http request option.
|
|
4925
4853
|
* @deprecated
|
|
4926
4854
|
* @throws {RequiredError}
|
|
4927
|
-
* @memberof Class3CXInstallationWizardApi
|
|
4928
4855
|
*/
|
|
4929
4856
|
Class3CXInstallationWizardApi.prototype.postBuildInstanceFromWizard = function (id, u, c, p, options) {
|
|
4930
4857
|
var _this = this;
|
|
@@ -4935,7 +4862,6 @@ var Class3CXInstallationWizardApi = /** @class */ (function (_super) {
|
|
|
4935
4862
|
* @summary Create Instance From 3CX Installation Wizard
|
|
4936
4863
|
* @param {*} [options] Override http request option.
|
|
4937
4864
|
* @throws {RequiredError}
|
|
4938
|
-
* @memberof Class3CXInstallationWizardApi
|
|
4939
4865
|
*/
|
|
4940
4866
|
Class3CXInstallationWizardApi.prototype.postCreateInstance = function (options) {
|
|
4941
4867
|
var _this = this;
|
|
@@ -4951,7 +4877,6 @@ var Class3CXInstallationWizardApi = /** @class */ (function (_super) {
|
|
|
4951
4877
|
* @param {*} [options] Override http request option.
|
|
4952
4878
|
* @deprecated
|
|
4953
4879
|
* @throws {RequiredError}
|
|
4954
|
-
* @memberof Class3CXInstallationWizardApi
|
|
4955
4880
|
*/
|
|
4956
4881
|
Class3CXInstallationWizardApi.prototype.postCreateInstanceFromWizard = function (id, u, c, p, options) {
|
|
4957
4882
|
var _this = this;
|
|
@@ -4964,7 +4889,6 @@ var Class3CXInstallationWizardApi = /** @class */ (function (_super) {
|
|
|
4964
4889
|
* @param {DdiRangesRequestModel} [ddiRangesRequestModel] DDI Request
|
|
4965
4890
|
* @param {*} [options] Override http request option.
|
|
4966
4891
|
* @throws {RequiredError}
|
|
4967
|
-
* @memberof Class3CXInstallationWizardApi
|
|
4968
4892
|
*/
|
|
4969
4893
|
Class3CXInstallationWizardApi.prototype.postGetDdisTcxWizard = function (id, ddiRangesRequestModel, options) {
|
|
4970
4894
|
var _this = this;
|
|
@@ -4976,7 +4900,6 @@ var Class3CXInstallationWizardApi = /** @class */ (function (_super) {
|
|
|
4976
4900
|
* @param {SipTrunkChangeResponseModel} [sipTrunkChangeResponseModel] Change Request
|
|
4977
4901
|
* @param {*} [options] Override http request option.
|
|
4978
4902
|
* @throws {RequiredError}
|
|
4979
|
-
* @memberof Class3CXInstallationWizardApi
|
|
4980
4903
|
*/
|
|
4981
4904
|
Class3CXInstallationWizardApi.prototype.postGetRequestedDdisTcxWizard = function (sipTrunkChangeResponseModel, options) {
|
|
4982
4905
|
var _this = this;
|
|
@@ -4988,7 +4911,6 @@ var Class3CXInstallationWizardApi = /** @class */ (function (_super) {
|
|
|
4988
4911
|
* @param {SipTrunkCreationRequestModel} [sipTrunkCreationRequestModel] New SIP Trunk Request
|
|
4989
4912
|
* @param {*} [options] Override http request option.
|
|
4990
4913
|
* @throws {RequiredError}
|
|
4991
|
-
* @memberof Class3CXInstallationWizardApi
|
|
4992
4914
|
*/
|
|
4993
4915
|
Class3CXInstallationWizardApi.prototype.postGetSipTrunksTcxWizard = function (sipTrunkCreationRequestModel, options) {
|
|
4994
4916
|
var _this = this;
|
|
@@ -4999,7 +4921,6 @@ var Class3CXInstallationWizardApi = /** @class */ (function (_super) {
|
|
|
4999
4921
|
* @param {File} backup 3CX Backup ZIP File
|
|
5000
4922
|
* @param {*} [options] Override http request option.
|
|
5001
4923
|
* @throws {RequiredError}
|
|
5002
|
-
* @memberof Class3CXInstallationWizardApi
|
|
5003
4924
|
*/
|
|
5004
4925
|
Class3CXInstallationWizardApi.prototype.postUploadBackup = function (backup, options) {
|
|
5005
4926
|
var _this = this;
|
|
@@ -5010,7 +4931,6 @@ var Class3CXInstallationWizardApi = /** @class */ (function (_super) {
|
|
|
5010
4931
|
exports.Class3CXInstallationWizardApi = Class3CXInstallationWizardApi;
|
|
5011
4932
|
/**
|
|
5012
4933
|
* Class3CXInstallationsApi - axios parameter creator
|
|
5013
|
-
* @export
|
|
5014
4934
|
*/
|
|
5015
4935
|
var Class3CXInstallationsApiAxiosParamCreator = function (configuration) {
|
|
5016
4936
|
var _this = this;
|
|
@@ -5501,7 +5421,6 @@ var Class3CXInstallationsApiAxiosParamCreator = function (configuration) {
|
|
|
5501
5421
|
exports.Class3CXInstallationsApiAxiosParamCreator = Class3CXInstallationsApiAxiosParamCreator;
|
|
5502
5422
|
/**
|
|
5503
5423
|
* Class3CXInstallationsApi - functional programming interface
|
|
5504
|
-
* @export
|
|
5505
5424
|
*/
|
|
5506
5425
|
var Class3CXInstallationsApiFp = function (configuration) {
|
|
5507
5426
|
var localVarAxiosParamCreator = (0, exports.Class3CXInstallationsApiAxiosParamCreator)(configuration);
|
|
@@ -5779,7 +5698,6 @@ var Class3CXInstallationsApiFp = function (configuration) {
|
|
|
5779
5698
|
exports.Class3CXInstallationsApiFp = Class3CXInstallationsApiFp;
|
|
5780
5699
|
/**
|
|
5781
5700
|
* Class3CXInstallationsApi - factory interface
|
|
5782
|
-
* @export
|
|
5783
5701
|
*/
|
|
5784
5702
|
var Class3CXInstallationsApiFactory = function (configuration, basePath, axios) {
|
|
5785
5703
|
var localVarFp = (0, exports.Class3CXInstallationsApiFp)(configuration);
|
|
@@ -5914,9 +5832,6 @@ var Class3CXInstallationsApiFactory = function (configuration, basePath, axios)
|
|
|
5914
5832
|
exports.Class3CXInstallationsApiFactory = Class3CXInstallationsApiFactory;
|
|
5915
5833
|
/**
|
|
5916
5834
|
* Class3CXInstallationsApi - object-oriented interface
|
|
5917
|
-
* @export
|
|
5918
|
-
* @class Class3CXInstallationsApi
|
|
5919
|
-
* @extends {BaseAPI}
|
|
5920
5835
|
*/
|
|
5921
5836
|
var Class3CXInstallationsApi = /** @class */ (function (_super) {
|
|
5922
5837
|
__extends(Class3CXInstallationsApi, _super);
|
|
@@ -5929,7 +5844,6 @@ var Class3CXInstallationsApi = /** @class */ (function (_super) {
|
|
|
5929
5844
|
* @param {number} wizardId Wizard ID
|
|
5930
5845
|
* @param {*} [options] Override http request option.
|
|
5931
5846
|
* @throws {RequiredError}
|
|
5932
|
-
* @memberof Class3CXInstallationsApi
|
|
5933
5847
|
*/
|
|
5934
5848
|
Class3CXInstallationsApi.prototype.getGetDetails = function (wizardId, options) {
|
|
5935
5849
|
var _this = this;
|
|
@@ -5947,7 +5861,6 @@ var Class3CXInstallationsApi = /** @class */ (function (_super) {
|
|
|
5947
5861
|
* @param {GetGetInstallationsInstallTypeEnum} [installType] Install Type
|
|
5948
5862
|
* @param {*} [options] Override http request option.
|
|
5949
5863
|
* @throws {RequiredError}
|
|
5950
|
-
* @memberof Class3CXInstallationsApi
|
|
5951
5864
|
*/
|
|
5952
5865
|
Class3CXInstallationsApi.prototype.getGetInstallations = function (pageSize, page, customerId, search, status, hosting, installType, options) {
|
|
5953
5866
|
var _this = this;
|
|
@@ -5961,7 +5874,6 @@ var Class3CXInstallationsApi = /** @class */ (function (_super) {
|
|
|
5961
5874
|
* @param {string} ipAddress Whitelist IP Address
|
|
5962
5875
|
* @param {*} [options] Override http request option.
|
|
5963
5876
|
* @throws {RequiredError}
|
|
5964
|
-
* @memberof Class3CXInstallationsApi
|
|
5965
5877
|
*/
|
|
5966
5878
|
Class3CXInstallationsApi.prototype.postCreateSshUser = function (instanceId, expiryDate, ipAddress, options) {
|
|
5967
5879
|
var _this = this;
|
|
@@ -5973,7 +5885,6 @@ var Class3CXInstallationsApi = /** @class */ (function (_super) {
|
|
|
5973
5885
|
* @param {string} instanceId Instance ID
|
|
5974
5886
|
* @param {*} [options] Override http request option.
|
|
5975
5887
|
* @throws {RequiredError}
|
|
5976
|
-
* @memberof Class3CXInstallationsApi
|
|
5977
5888
|
*/
|
|
5978
5889
|
Class3CXInstallationsApi.prototype.postDeleteInstance = function (instanceId, options) {
|
|
5979
5890
|
var _this = this;
|
|
@@ -5987,7 +5898,6 @@ var Class3CXInstallationsApi = /** @class */ (function (_super) {
|
|
|
5987
5898
|
* @param {string} schedule Scheduled Task (Date & Time)
|
|
5988
5899
|
* @param {*} [options] Override http request option.
|
|
5989
5900
|
* @throws {RequiredError}
|
|
5990
|
-
* @memberof Class3CXInstallationsApi
|
|
5991
5901
|
*/
|
|
5992
5902
|
Class3CXInstallationsApi.prototype.postExtendDisk = function (instanceId, gigabytes, schedule, options) {
|
|
5993
5903
|
var _this = this;
|
|
@@ -6000,7 +5910,6 @@ var Class3CXInstallationsApi = /** @class */ (function (_super) {
|
|
|
6000
5910
|
* @param {PostFailoverInstanceTypeEnum} type Failover Type
|
|
6001
5911
|
* @param {*} [options] Override http request option.
|
|
6002
5912
|
* @throws {RequiredError}
|
|
6003
|
-
* @memberof Class3CXInstallationsApi
|
|
6004
5913
|
*/
|
|
6005
5914
|
Class3CXInstallationsApi.prototype.postFailoverInstance = function (instanceId, type, options) {
|
|
6006
5915
|
var _this = this;
|
|
@@ -6012,7 +5921,6 @@ var Class3CXInstallationsApi = /** @class */ (function (_super) {
|
|
|
6012
5921
|
* @param {string} instanceId Instance ID
|
|
6013
5922
|
* @param {*} [options] Override http request option.
|
|
6014
5923
|
* @throws {RequiredError}
|
|
6015
|
-
* @memberof Class3CXInstallationsApi
|
|
6016
5924
|
*/
|
|
6017
5925
|
Class3CXInstallationsApi.prototype.postRebootInstance = function (instanceId, options) {
|
|
6018
5926
|
var _this = this;
|
|
@@ -6026,7 +5934,6 @@ var Class3CXInstallationsApi = /** @class */ (function (_super) {
|
|
|
6026
5934
|
* @param {string} [schedule] Scheduled Task (Date & Time)
|
|
6027
5935
|
* @param {*} [options] Override http request option.
|
|
6028
5936
|
* @throws {RequiredError}
|
|
6029
|
-
* @memberof Class3CXInstallationsApi
|
|
6030
5937
|
*/
|
|
6031
5938
|
Class3CXInstallationsApi.prototype.postResizeInstance = function (instanceId, size, schedule, options) {
|
|
6032
5939
|
var _this = this;
|
|
@@ -6039,7 +5946,6 @@ var Class3CXInstallationsApi = /** @class */ (function (_super) {
|
|
|
6039
5946
|
* @param {string} [schedule] Scheduled Task (Date & Time)
|
|
6040
5947
|
* @param {*} [options] Override http request option.
|
|
6041
5948
|
* @throws {RequiredError}
|
|
6042
|
-
* @memberof Class3CXInstallationsApi
|
|
6043
5949
|
*/
|
|
6044
5950
|
Class3CXInstallationsApi.prototype.postSuspendInstance = function (instanceId, schedule, options) {
|
|
6045
5951
|
var _this = this;
|
|
@@ -6051,7 +5957,6 @@ var Class3CXInstallationsApi = /** @class */ (function (_super) {
|
|
|
6051
5957
|
* @param {string} instanceId Instance ID
|
|
6052
5958
|
* @param {*} [options] Override http request option.
|
|
6053
5959
|
* @throws {RequiredError}
|
|
6054
|
-
* @memberof Class3CXInstallationsApi
|
|
6055
5960
|
*/
|
|
6056
5961
|
Class3CXInstallationsApi.prototype.postUnsuspendInstance = function (instanceId, options) {
|
|
6057
5962
|
var _this = this;
|
|
@@ -6064,7 +5969,6 @@ var Class3CXInstallationsApi = /** @class */ (function (_super) {
|
|
|
6064
5969
|
* @param {string} schedule Scheduled Task (Date & Time)
|
|
6065
5970
|
* @param {*} [options] Override http request option.
|
|
6066
5971
|
* @throws {RequiredError}
|
|
6067
|
-
* @memberof Class3CXInstallationsApi
|
|
6068
5972
|
*/
|
|
6069
5973
|
Class3CXInstallationsApi.prototype.postUpgradeDebian = function (instanceId, schedule, options) {
|
|
6070
5974
|
var _this = this;
|
|
@@ -6073,43 +5977,28 @@ var Class3CXInstallationsApi = /** @class */ (function (_super) {
|
|
|
6073
5977
|
return Class3CXInstallationsApi;
|
|
6074
5978
|
}(base_1.BaseAPI));
|
|
6075
5979
|
exports.Class3CXInstallationsApi = Class3CXInstallationsApi;
|
|
6076
|
-
/**
|
|
6077
|
-
* @export
|
|
6078
|
-
*/
|
|
6079
5980
|
exports.GetGetInstallationsStatusEnum = {
|
|
6080
5981
|
Completed: 'Completed',
|
|
6081
5982
|
Outstanding: 'Outstanding',
|
|
6082
5983
|
Offline: 'Offline',
|
|
6083
5984
|
FailedOver: 'Failed Over'
|
|
6084
5985
|
};
|
|
6085
|
-
/**
|
|
6086
|
-
* @export
|
|
6087
|
-
*/
|
|
6088
5986
|
exports.GetGetInstallationsHostingEnum = {
|
|
6089
5987
|
Yellowgrid: 'yellowgrid',
|
|
6090
5988
|
MultiTenant: 'multi-tenant',
|
|
6091
5989
|
Onprem: 'onprem',
|
|
6092
5990
|
All: 'all'
|
|
6093
5991
|
};
|
|
6094
|
-
/**
|
|
6095
|
-
* @export
|
|
6096
|
-
*/
|
|
6097
5992
|
exports.GetGetInstallationsInstallTypeEnum = {
|
|
6098
5993
|
New: 'new',
|
|
6099
5994
|
Restore: 'restore',
|
|
6100
5995
|
Failover: 'failover',
|
|
6101
5996
|
MultiTenant: 'multi-tenant'
|
|
6102
5997
|
};
|
|
6103
|
-
/**
|
|
6104
|
-
* @export
|
|
6105
|
-
*/
|
|
6106
5998
|
exports.PostFailoverInstanceTypeEnum = {
|
|
6107
5999
|
Config: 'config',
|
|
6108
6000
|
Image: 'image'
|
|
6109
6001
|
};
|
|
6110
|
-
/**
|
|
6111
|
-
* @export
|
|
6112
|
-
*/
|
|
6113
6002
|
exports.PostResizeInstanceSizeEnum = {
|
|
6114
6003
|
D24: 'd2-4',
|
|
6115
6004
|
D28: 'd2-8',
|
|
@@ -6117,7 +6006,6 @@ exports.PostResizeInstanceSizeEnum = {
|
|
|
6117
6006
|
};
|
|
6118
6007
|
/**
|
|
6119
6008
|
* Class3CXIntegrationsApi - axios parameter creator
|
|
6120
|
-
* @export
|
|
6121
6009
|
*/
|
|
6122
6010
|
var Class3CXIntegrationsApiAxiosParamCreator = function (configuration) {
|
|
6123
6011
|
var _this = this;
|
|
@@ -6363,7 +6251,6 @@ var Class3CXIntegrationsApiAxiosParamCreator = function (configuration) {
|
|
|
6363
6251
|
exports.Class3CXIntegrationsApiAxiosParamCreator = Class3CXIntegrationsApiAxiosParamCreator;
|
|
6364
6252
|
/**
|
|
6365
6253
|
* Class3CXIntegrationsApi - functional programming interface
|
|
6366
|
-
* @export
|
|
6367
6254
|
*/
|
|
6368
6255
|
var Class3CXIntegrationsApiFp = function (configuration) {
|
|
6369
6256
|
var localVarAxiosParamCreator = (0, exports.Class3CXIntegrationsApiAxiosParamCreator)(configuration);
|
|
@@ -6509,7 +6396,6 @@ var Class3CXIntegrationsApiFp = function (configuration) {
|
|
|
6509
6396
|
exports.Class3CXIntegrationsApiFp = Class3CXIntegrationsApiFp;
|
|
6510
6397
|
/**
|
|
6511
6398
|
* Class3CXIntegrationsApi - factory interface
|
|
6512
|
-
* @export
|
|
6513
6399
|
*/
|
|
6514
6400
|
var Class3CXIntegrationsApiFactory = function (configuration, basePath, axios) {
|
|
6515
6401
|
var localVarFp = (0, exports.Class3CXIntegrationsApiFp)(configuration);
|
|
@@ -6577,9 +6463,6 @@ var Class3CXIntegrationsApiFactory = function (configuration, basePath, axios) {
|
|
|
6577
6463
|
exports.Class3CXIntegrationsApiFactory = Class3CXIntegrationsApiFactory;
|
|
6578
6464
|
/**
|
|
6579
6465
|
* Class3CXIntegrationsApi - object-oriented interface
|
|
6580
|
-
* @export
|
|
6581
|
-
* @class Class3CXIntegrationsApi
|
|
6582
|
-
* @extends {BaseAPI}
|
|
6583
6466
|
*/
|
|
6584
6467
|
var Class3CXIntegrationsApi = /** @class */ (function (_super) {
|
|
6585
6468
|
__extends(Class3CXIntegrationsApi, _super);
|
|
@@ -6592,7 +6475,6 @@ var Class3CXIntegrationsApi = /** @class */ (function (_super) {
|
|
|
6592
6475
|
* @param {GetGetPriceSchoolTypeEnum} schoolType EdTechPro School Type
|
|
6593
6476
|
* @param {*} [options] Override http request option.
|
|
6594
6477
|
* @throws {RequiredError}
|
|
6595
|
-
* @memberof Class3CXIntegrationsApi
|
|
6596
6478
|
*/
|
|
6597
6479
|
Class3CXIntegrationsApi.prototype.getGetPrice = function (licenceType, schoolType, options) {
|
|
6598
6480
|
var _this = this;
|
|
@@ -6605,7 +6487,6 @@ var Class3CXIntegrationsApi = /** @class */ (function (_super) {
|
|
|
6605
6487
|
* @param {string} [search] Search
|
|
6606
6488
|
* @param {*} [options] Override http request option.
|
|
6607
6489
|
* @throws {RequiredError}
|
|
6608
|
-
* @memberof Class3CXIntegrationsApi
|
|
6609
6490
|
*/
|
|
6610
6491
|
Class3CXIntegrationsApi.prototype.getGetSchools = function (pageSize, page, search, options) {
|
|
6611
6492
|
var _this = this;
|
|
@@ -6615,7 +6496,6 @@ var Class3CXIntegrationsApi = /** @class */ (function (_super) {
|
|
|
6615
6496
|
* Get EdTechPro Trusts
|
|
6616
6497
|
* @param {*} [options] Override http request option.
|
|
6617
6498
|
* @throws {RequiredError}
|
|
6618
|
-
* @memberof Class3CXIntegrationsApi
|
|
6619
6499
|
*/
|
|
6620
6500
|
Class3CXIntegrationsApi.prototype.getGetTrusts = function (options) {
|
|
6621
6501
|
var _this = this;
|
|
@@ -6628,7 +6508,6 @@ var Class3CXIntegrationsApi = /** @class */ (function (_super) {
|
|
|
6628
6508
|
* @param {string} ref School Order Reference
|
|
6629
6509
|
* @param {*} [options] Override http request option.
|
|
6630
6510
|
* @throws {RequiredError}
|
|
6631
|
-
* @memberof Class3CXIntegrationsApi
|
|
6632
6511
|
*/
|
|
6633
6512
|
Class3CXIntegrationsApi.prototype.patchUpdateEtpOrderReference = function (clientId, schoolId, ref, options) {
|
|
6634
6513
|
var _this = this;
|
|
@@ -6639,7 +6518,6 @@ var Class3CXIntegrationsApi = /** @class */ (function (_super) {
|
|
|
6639
6518
|
* @param {OrderRequestModel} [orderRequestModel] New EdTechPro Order Request
|
|
6640
6519
|
* @param {*} [options] Override http request option.
|
|
6641
6520
|
* @throws {RequiredError}
|
|
6642
|
-
* @memberof Class3CXIntegrationsApi
|
|
6643
6521
|
*/
|
|
6644
6522
|
Class3CXIntegrationsApi.prototype.postOrderEdTechPro = function (orderRequestModel, options) {
|
|
6645
6523
|
var _this = this;
|
|
@@ -6650,7 +6528,6 @@ var Class3CXIntegrationsApi = /** @class */ (function (_super) {
|
|
|
6650
6528
|
* @param {UpgradeRequestModel} [upgradeRequestModel] New EdTechPro Upgrade Request
|
|
6651
6529
|
* @param {*} [options] Override http request option.
|
|
6652
6530
|
* @throws {RequiredError}
|
|
6653
|
-
* @memberof Class3CXIntegrationsApi
|
|
6654
6531
|
*/
|
|
6655
6532
|
Class3CXIntegrationsApi.prototype.postUpgradeEdTechPro = function (upgradeRequestModel, options) {
|
|
6656
6533
|
var _this = this;
|
|
@@ -6659,23 +6536,16 @@ var Class3CXIntegrationsApi = /** @class */ (function (_super) {
|
|
|
6659
6536
|
return Class3CXIntegrationsApi;
|
|
6660
6537
|
}(base_1.BaseAPI));
|
|
6661
6538
|
exports.Class3CXIntegrationsApi = Class3CXIntegrationsApi;
|
|
6662
|
-
/**
|
|
6663
|
-
* @export
|
|
6664
|
-
*/
|
|
6665
6539
|
exports.GetGetPriceLicenceTypeEnum = {
|
|
6666
6540
|
Lite: 'lite',
|
|
6667
6541
|
Pro: 'pro'
|
|
6668
6542
|
};
|
|
6669
|
-
/**
|
|
6670
|
-
* @export
|
|
6671
|
-
*/
|
|
6672
6543
|
exports.GetGetPriceSchoolTypeEnum = {
|
|
6673
6544
|
Primary: 'primary',
|
|
6674
6545
|
Secondary: 'secondary'
|
|
6675
6546
|
};
|
|
6676
6547
|
/**
|
|
6677
6548
|
* Class3CXMultiTenantApi - axios parameter creator
|
|
6678
|
-
* @export
|
|
6679
6549
|
*/
|
|
6680
6550
|
var Class3CXMultiTenantApiAxiosParamCreator = function (configuration) {
|
|
6681
6551
|
var _this = this;
|
|
@@ -6955,7 +6825,6 @@ var Class3CXMultiTenantApiAxiosParamCreator = function (configuration) {
|
|
|
6955
6825
|
exports.Class3CXMultiTenantApiAxiosParamCreator = Class3CXMultiTenantApiAxiosParamCreator;
|
|
6956
6826
|
/**
|
|
6957
6827
|
* Class3CXMultiTenantApi - functional programming interface
|
|
6958
|
-
* @export
|
|
6959
6828
|
*/
|
|
6960
6829
|
var Class3CXMultiTenantApiFp = function (configuration) {
|
|
6961
6830
|
var localVarAxiosParamCreator = (0, exports.Class3CXMultiTenantApiAxiosParamCreator)(configuration);
|
|
@@ -7129,337 +6998,1436 @@ var Class3CXMultiTenantApiFp = function (configuration) {
|
|
|
7129
6998
|
exports.Class3CXMultiTenantApiFp = Class3CXMultiTenantApiFp;
|
|
7130
6999
|
/**
|
|
7131
7000
|
* Class3CXMultiTenantApi - factory interface
|
|
7132
|
-
* @export
|
|
7133
7001
|
*/
|
|
7134
7002
|
var Class3CXMultiTenantApiFactory = function (configuration, basePath, axios) {
|
|
7135
7003
|
var localVarFp = (0, exports.Class3CXMultiTenantApiFp)(configuration);
|
|
7136
7004
|
return {
|
|
7137
7005
|
/**
|
|
7138
|
-
* Delete 3CX Starter Bundle Tenant
|
|
7139
|
-
* @summary Delete 3CX MT Tenant
|
|
7140
|
-
* @param {string} reference Tenant Reference
|
|
7006
|
+
* Delete 3CX Starter Bundle Tenant
|
|
7007
|
+
* @summary Delete 3CX MT Tenant
|
|
7008
|
+
* @param {string} reference Tenant Reference
|
|
7009
|
+
* @param {*} [options] Override http request option.
|
|
7010
|
+
* @throws {RequiredError}
|
|
7011
|
+
*/
|
|
7012
|
+
deleteGetTenant: function (reference, options) {
|
|
7013
|
+
return localVarFp.deleteGetTenant(reference, options).then(function (request) { return request(axios, basePath); });
|
|
7014
|
+
},
|
|
7015
|
+
/**
|
|
7016
|
+
* Get 3CX Starter Bundle Tenant
|
|
7017
|
+
* @summary Get 3CX MT Tenant
|
|
7018
|
+
* @param {string} reference Tenant Reference
|
|
7019
|
+
* @param {*} [options] Override http request option.
|
|
7020
|
+
* @throws {RequiredError}
|
|
7021
|
+
*/
|
|
7022
|
+
getGetTenant: function (reference, options) {
|
|
7023
|
+
return localVarFp.getGetTenant(reference, options).then(function (request) { return request(axios, basePath); });
|
|
7024
|
+
},
|
|
7025
|
+
/**
|
|
7026
|
+
* Get 3CX Starter Bundle Tenants
|
|
7027
|
+
* @summary Get 3CX MT Tenants
|
|
7028
|
+
* @param {number} [pageSize] Number Of Results
|
|
7029
|
+
* @param {number} [page] Page Number
|
|
7030
|
+
* @param {string} [search] Search
|
|
7031
|
+
* @param {GetGetTenantsStatusEnum} [status] Status
|
|
7032
|
+
* @param {*} [options] Override http request option.
|
|
7033
|
+
* @throws {RequiredError}
|
|
7034
|
+
*/
|
|
7035
|
+
getGetTenants: function (pageSize, page, search, status, options) {
|
|
7036
|
+
return localVarFp.getGetTenants(pageSize, page, search, status, options).then(function (request) { return request(axios, basePath); });
|
|
7037
|
+
},
|
|
7038
|
+
/**
|
|
7039
|
+
* Add 3CX MT DDI
|
|
7040
|
+
* @summary Add 3CX MT DDI
|
|
7041
|
+
* @param {string} areacode Area Code
|
|
7042
|
+
* @param {*} [options] Override http request option.
|
|
7043
|
+
* @throws {RequiredError}
|
|
7044
|
+
*/
|
|
7045
|
+
postAddMtDdi: function (areacode, options) {
|
|
7046
|
+
return localVarFp.postAddMtDdi(areacode, options).then(function (request) { return request(axios, basePath); });
|
|
7047
|
+
},
|
|
7048
|
+
/**
|
|
7049
|
+
* Get 3CX MT New DDIs
|
|
7050
|
+
* @summary Get 3CX MT New DDIs
|
|
7051
|
+
* @param {MultiTenantChangeResponseModel} [multiTenantChangeResponseModel] Multi-Tenant Change Request
|
|
7052
|
+
* @param {*} [options] Override http request option.
|
|
7053
|
+
* @throws {RequiredError}
|
|
7054
|
+
*/
|
|
7055
|
+
postGetMtNewDdis: function (multiTenantChangeResponseModel, options) {
|
|
7056
|
+
return localVarFp.postGetMtNewDdis(multiTenantChangeResponseModel, options).then(function (request) { return request(axios, basePath); });
|
|
7057
|
+
},
|
|
7058
|
+
/**
|
|
7059
|
+
* Add 3CX Starter Bundle Tenant
|
|
7060
|
+
* @summary Add 3CX MT Tenant
|
|
7061
|
+
* @param {TcxMultiTenantModel} [tcxMultiTenantModel] New 3CX Starter Bundle Request
|
|
7062
|
+
* @param {*} [options] Override http request option.
|
|
7063
|
+
* @throws {RequiredError}
|
|
7064
|
+
*/
|
|
7065
|
+
postGetTenants: function (tcxMultiTenantModel, options) {
|
|
7066
|
+
return localVarFp.postGetTenants(tcxMultiTenantModel, options).then(function (request) { return request(axios, basePath); });
|
|
7067
|
+
},
|
|
7068
|
+
/**
|
|
7069
|
+
* Track 3CX MT Change
|
|
7070
|
+
* @summary Track 3CX MT Change
|
|
7071
|
+
* @param {MultiTenantChangeResponseModel} [multiTenantChangeResponseModel] Multi-Tenant Change Request
|
|
7072
|
+
* @param {*} [options] Override http request option.
|
|
7073
|
+
* @throws {RequiredError}
|
|
7074
|
+
*/
|
|
7075
|
+
postTrackMtChange: function (multiTenantChangeResponseModel, options) {
|
|
7076
|
+
return localVarFp.postTrackMtChange(multiTenantChangeResponseModel, options).then(function (request) { return request(axios, basePath); });
|
|
7077
|
+
},
|
|
7078
|
+
};
|
|
7079
|
+
};
|
|
7080
|
+
exports.Class3CXMultiTenantApiFactory = Class3CXMultiTenantApiFactory;
|
|
7081
|
+
/**
|
|
7082
|
+
* Class3CXMultiTenantApi - object-oriented interface
|
|
7083
|
+
*/
|
|
7084
|
+
var Class3CXMultiTenantApi = /** @class */ (function (_super) {
|
|
7085
|
+
__extends(Class3CXMultiTenantApi, _super);
|
|
7086
|
+
function Class3CXMultiTenantApi() {
|
|
7087
|
+
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} id Number Port ID
|
|
7353
|
+
* @param {*} [options] Override http request option.
|
|
7354
|
+
* @throws {RequiredError}
|
|
7355
|
+
*/
|
|
7356
|
+
getGetAdminNumberPort: function (id_1) {
|
|
7357
|
+
var args_1 = [];
|
|
7358
|
+
for (var _i = 1; _i < arguments.length; _i++) {
|
|
7359
|
+
args_1[_i - 1] = arguments[_i];
|
|
7360
|
+
}
|
|
7361
|
+
return __awaiter(_this, __spreadArray([id_1], args_1, true), void 0, function (id, options) {
|
|
7362
|
+
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
7363
|
+
if (options === void 0) { options = {}; }
|
|
7364
|
+
return __generator(this, function (_a) {
|
|
7365
|
+
// verify required parameter 'id' is not null or undefined
|
|
7366
|
+
(0, common_1.assertParamExists)('getGetAdminNumberPort', 'id', id);
|
|
7367
|
+
localVarPath = "/admin/sip/numbers/ports/{id}"
|
|
7368
|
+
.replace("{".concat("id", "}"), encodeURIComponent(String(id)));
|
|
7369
|
+
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
7370
|
+
if (configuration) {
|
|
7371
|
+
baseOptions = configuration.baseOptions;
|
|
7372
|
+
}
|
|
7373
|
+
localVarRequestOptions = __assign(__assign({ method: 'GET' }, baseOptions), options);
|
|
7374
|
+
localVarHeaderParameter = {};
|
|
7375
|
+
localVarQueryParameter = {};
|
|
7376
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
7377
|
+
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
7378
|
+
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
7379
|
+
return [2 /*return*/, {
|
|
7380
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
7381
|
+
options: localVarRequestOptions,
|
|
7382
|
+
}];
|
|
7383
|
+
});
|
|
7384
|
+
});
|
|
7385
|
+
},
|
|
7386
|
+
/**
|
|
7387
|
+
*
|
|
7388
|
+
* @param {number} [pageSize] Number Of Results
|
|
7389
|
+
* @param {number} [page] Page Number
|
|
7390
|
+
* @param {string} [search] Search
|
|
7391
|
+
* @param {*} [options] Override http request option.
|
|
7392
|
+
* @throws {RequiredError}
|
|
7393
|
+
*/
|
|
7394
|
+
getGetAdminNumberPorts: function (pageSize_1, page_1, search_1) {
|
|
7395
|
+
var args_1 = [];
|
|
7396
|
+
for (var _i = 3; _i < arguments.length; _i++) {
|
|
7397
|
+
args_1[_i - 3] = arguments[_i];
|
|
7398
|
+
}
|
|
7399
|
+
return __awaiter(_this, __spreadArray([pageSize_1, page_1, search_1], args_1, true), void 0, function (pageSize, page, search, options) {
|
|
7400
|
+
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
7401
|
+
if (options === void 0) { options = {}; }
|
|
7402
|
+
return __generator(this, function (_a) {
|
|
7403
|
+
localVarPath = "/admin/sip/numbers/ports/";
|
|
7404
|
+
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
7405
|
+
if (configuration) {
|
|
7406
|
+
baseOptions = configuration.baseOptions;
|
|
7407
|
+
}
|
|
7408
|
+
localVarRequestOptions = __assign(__assign({ method: 'GET' }, baseOptions), options);
|
|
7409
|
+
localVarHeaderParameter = {};
|
|
7410
|
+
localVarQueryParameter = {};
|
|
7411
|
+
if (pageSize !== undefined) {
|
|
7412
|
+
localVarQueryParameter['pageSize'] = pageSize;
|
|
7413
|
+
}
|
|
7414
|
+
if (page !== undefined) {
|
|
7415
|
+
localVarQueryParameter['page'] = page;
|
|
7416
|
+
}
|
|
7417
|
+
if (search !== undefined) {
|
|
7418
|
+
localVarQueryParameter['search'] = search;
|
|
7419
|
+
}
|
|
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
|
+
getGetNumberPorts: 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 = "/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} [portDate] Porting Date
|
|
7782
|
+
* @param {Array<NumberPortRangeDTO>} [numberRanges] Number Ranges
|
|
7783
|
+
* @param {number} [status] Status
|
|
7784
|
+
* @param {number | null} [ticketId] Ticket ID
|
|
7785
|
+
* @param {*} [options] Override http request option.
|
|
7786
|
+
* @throws {RequiredError}
|
|
7787
|
+
*/
|
|
7788
|
+
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, portDate_1, numberRanges_1, status_1, ticketId_1) {
|
|
7789
|
+
var args_1 = [];
|
|
7790
|
+
for (var _i = 16; _i < arguments.length; _i++) {
|
|
7791
|
+
args_1[_i - 16] = arguments[_i];
|
|
7792
|
+
}
|
|
7793
|
+
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, 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, portDate, numberRanges, status, ticketId, options) {
|
|
7794
|
+
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, localVarFormParams, headersFromBaseOptions;
|
|
7795
|
+
if (options === void 0) { options = {}; }
|
|
7796
|
+
return __generator(this, function (_a) {
|
|
7797
|
+
// verify required parameter 'id' is not null or undefined
|
|
7798
|
+
(0, common_1.assertParamExists)('putGetAdminNumberPort', 'id', id);
|
|
7799
|
+
localVarPath = "/admin/sip/numbers/ports/{id}"
|
|
7800
|
+
.replace("{".concat("id", "}"), encodeURIComponent(String(id)));
|
|
7801
|
+
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
7802
|
+
if (configuration) {
|
|
7803
|
+
baseOptions = configuration.baseOptions;
|
|
7804
|
+
}
|
|
7805
|
+
localVarRequestOptions = __assign(__assign({ method: 'PUT' }, baseOptions), options);
|
|
7806
|
+
localVarHeaderParameter = {};
|
|
7807
|
+
localVarQueryParameter = {};
|
|
7808
|
+
localVarFormParams = new ((configuration && configuration.formDataCtor) || FormData)();
|
|
7809
|
+
if (companyName !== undefined) {
|
|
7810
|
+
localVarFormParams.append('companyName', companyName);
|
|
7811
|
+
}
|
|
7812
|
+
if (addressLine1 !== undefined) {
|
|
7813
|
+
localVarFormParams.append('addressLine1', addressLine1);
|
|
7814
|
+
}
|
|
7815
|
+
if (addressLine2 !== undefined) {
|
|
7816
|
+
localVarFormParams.append('addressLine2', addressLine2);
|
|
7817
|
+
}
|
|
7818
|
+
if (city !== undefined) {
|
|
7819
|
+
localVarFormParams.append('city', city);
|
|
7820
|
+
}
|
|
7821
|
+
if (postCode !== undefined) {
|
|
7822
|
+
localVarFormParams.append('postCode', postCode);
|
|
7823
|
+
}
|
|
7824
|
+
if (trunkId !== undefined) {
|
|
7825
|
+
localVarFormParams.append('trunkId', trunkId);
|
|
7826
|
+
}
|
|
7827
|
+
if (tenantId !== undefined) {
|
|
7828
|
+
localVarFormParams.append('tenantId', tenantId);
|
|
7829
|
+
}
|
|
7830
|
+
if (requestedPortDate !== undefined) {
|
|
7831
|
+
localVarFormParams.append('requestedPortDate', requestedPortDate);
|
|
7832
|
+
}
|
|
7833
|
+
if (asap !== undefined) {
|
|
7834
|
+
localVarFormParams.append('asap', String(asap));
|
|
7835
|
+
}
|
|
7836
|
+
if (comment !== undefined) {
|
|
7837
|
+
localVarFormParams.append('comment', comment);
|
|
7838
|
+
}
|
|
7839
|
+
if (id2 !== undefined) {
|
|
7840
|
+
localVarFormParams.append('id', id2);
|
|
7841
|
+
}
|
|
7842
|
+
if (portDate !== undefined) {
|
|
7843
|
+
localVarFormParams.append('portDate', portDate);
|
|
7844
|
+
}
|
|
7845
|
+
if (numberRanges) {
|
|
7846
|
+
localVarFormParams.append('numberRanges', numberRanges.join(base_1.COLLECTION_FORMATS.csv));
|
|
7847
|
+
}
|
|
7848
|
+
if (status !== undefined) {
|
|
7849
|
+
localVarFormParams.append('status', status);
|
|
7850
|
+
}
|
|
7851
|
+
if (ticketId !== undefined) {
|
|
7852
|
+
localVarFormParams.append('ticketId', ticketId);
|
|
7853
|
+
}
|
|
7854
|
+
localVarHeaderParameter['Content-Type'] = 'multipart/form-data';
|
|
7855
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
7856
|
+
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
7857
|
+
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
7858
|
+
localVarRequestOptions.data = localVarFormParams;
|
|
7859
|
+
return [2 /*return*/, {
|
|
7860
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
7861
|
+
options: localVarRequestOptions,
|
|
7862
|
+
}];
|
|
7863
|
+
});
|
|
7864
|
+
});
|
|
7865
|
+
},
|
|
7866
|
+
};
|
|
7867
|
+
};
|
|
7868
|
+
exports.NumberPortingApiAxiosParamCreator = NumberPortingApiAxiosParamCreator;
|
|
7869
|
+
/**
|
|
7870
|
+
* NumberPortingApi - functional programming interface
|
|
7871
|
+
*/
|
|
7872
|
+
var NumberPortingApiFp = function (configuration) {
|
|
7873
|
+
var localVarAxiosParamCreator = (0, exports.NumberPortingApiAxiosParamCreator)(configuration);
|
|
7874
|
+
return {
|
|
7875
|
+
/**
|
|
7876
|
+
*
|
|
7877
|
+
* @param {number} id Number Port ID
|
|
7878
|
+
* @param {*} [options] Override http request option.
|
|
7879
|
+
* @throws {RequiredError}
|
|
7880
|
+
*/
|
|
7881
|
+
deleteGetAdminNumberPort: function (id, options) {
|
|
7882
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
7883
|
+
var localVarAxiosArgs, localVarOperationServerIndex, localVarOperationServerBasePath;
|
|
7884
|
+
var _a, _b, _c;
|
|
7885
|
+
return __generator(this, function (_d) {
|
|
7886
|
+
switch (_d.label) {
|
|
7887
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.deleteGetAdminNumberPort(id, options)];
|
|
7888
|
+
case 1:
|
|
7889
|
+
localVarAxiosArgs = _d.sent();
|
|
7890
|
+
localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
7891
|
+
localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['NumberPortingApi.deleteGetAdminNumberPort']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
7892
|
+
return [2 /*return*/, function (axios, basePath) { return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath); }];
|
|
7893
|
+
}
|
|
7894
|
+
});
|
|
7895
|
+
});
|
|
7896
|
+
},
|
|
7897
|
+
/**
|
|
7898
|
+
*
|
|
7899
|
+
* @param {number} id Number Port ID
|
|
7900
|
+
* @param {*} [options] Override http request option.
|
|
7901
|
+
* @throws {RequiredError}
|
|
7902
|
+
*/
|
|
7903
|
+
getGetAdminNumberPort: function (id, options) {
|
|
7904
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
7905
|
+
var localVarAxiosArgs, localVarOperationServerIndex, localVarOperationServerBasePath;
|
|
7906
|
+
var _a, _b, _c;
|
|
7907
|
+
return __generator(this, function (_d) {
|
|
7908
|
+
switch (_d.label) {
|
|
7909
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.getGetAdminNumberPort(id, options)];
|
|
7910
|
+
case 1:
|
|
7911
|
+
localVarAxiosArgs = _d.sent();
|
|
7912
|
+
localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
7913
|
+
localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['NumberPortingApi.getGetAdminNumberPort']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
7914
|
+
return [2 /*return*/, function (axios, basePath) { return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath); }];
|
|
7915
|
+
}
|
|
7916
|
+
});
|
|
7917
|
+
});
|
|
7918
|
+
},
|
|
7919
|
+
/**
|
|
7920
|
+
*
|
|
7921
|
+
* @param {number} [pageSize] Number Of Results
|
|
7922
|
+
* @param {number} [page] Page Number
|
|
7923
|
+
* @param {string} [search] Search
|
|
7924
|
+
* @param {*} [options] Override http request option.
|
|
7925
|
+
* @throws {RequiredError}
|
|
7926
|
+
*/
|
|
7927
|
+
getGetAdminNumberPorts: function (pageSize, page, search, options) {
|
|
7928
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
7929
|
+
var localVarAxiosArgs, localVarOperationServerIndex, localVarOperationServerBasePath;
|
|
7930
|
+
var _a, _b, _c;
|
|
7931
|
+
return __generator(this, function (_d) {
|
|
7932
|
+
switch (_d.label) {
|
|
7933
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.getGetAdminNumberPorts(pageSize, page, search, options)];
|
|
7934
|
+
case 1:
|
|
7935
|
+
localVarAxiosArgs = _d.sent();
|
|
7936
|
+
localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
7937
|
+
localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['NumberPortingApi.getGetAdminNumberPorts']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
7938
|
+
return [2 /*return*/, function (axios, basePath) { return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath); }];
|
|
7939
|
+
}
|
|
7940
|
+
});
|
|
7941
|
+
});
|
|
7942
|
+
},
|
|
7943
|
+
/**
|
|
7944
|
+
*
|
|
7945
|
+
* @param {number} [pageSize] Number Of Results
|
|
7946
|
+
* @param {number} [page] Page Number
|
|
7947
|
+
* @param {string} [search] Search
|
|
7948
|
+
* @param {*} [options] Override http request option.
|
|
7949
|
+
* @throws {RequiredError}
|
|
7950
|
+
*/
|
|
7951
|
+
getGetNumberPorts: function (pageSize, page, search, options) {
|
|
7952
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
7953
|
+
var localVarAxiosArgs, localVarOperationServerIndex, localVarOperationServerBasePath;
|
|
7954
|
+
var _a, _b, _c;
|
|
7955
|
+
return __generator(this, function (_d) {
|
|
7956
|
+
switch (_d.label) {
|
|
7957
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.getGetNumberPorts(pageSize, page, search, options)];
|
|
7958
|
+
case 1:
|
|
7959
|
+
localVarAxiosArgs = _d.sent();
|
|
7960
|
+
localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
7961
|
+
localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['NumberPortingApi.getGetNumberPorts']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
7962
|
+
return [2 /*return*/, function (axios, basePath) { return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath); }];
|
|
7963
|
+
}
|
|
7964
|
+
});
|
|
7965
|
+
});
|
|
7966
|
+
},
|
|
7967
|
+
/**
|
|
7968
|
+
*
|
|
7969
|
+
* @param {number} id Number Port ID
|
|
7970
|
+
* @param {*} [options] Override http request option.
|
|
7971
|
+
* @throws {RequiredError}
|
|
7972
|
+
*/
|
|
7973
|
+
getUpdateNumberPort: function (id, options) {
|
|
7974
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
7975
|
+
var localVarAxiosArgs, localVarOperationServerIndex, localVarOperationServerBasePath;
|
|
7976
|
+
var _a, _b, _c;
|
|
7977
|
+
return __generator(this, function (_d) {
|
|
7978
|
+
switch (_d.label) {
|
|
7979
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.getUpdateNumberPort(id, options)];
|
|
7980
|
+
case 1:
|
|
7981
|
+
localVarAxiosArgs = _d.sent();
|
|
7982
|
+
localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
7983
|
+
localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['NumberPortingApi.getUpdateNumberPort']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
7984
|
+
return [2 /*return*/, function (axios, basePath) { return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath); }];
|
|
7985
|
+
}
|
|
7986
|
+
});
|
|
7987
|
+
});
|
|
7988
|
+
},
|
|
7989
|
+
/**
|
|
7990
|
+
*
|
|
7991
|
+
* @param {string | null} [companyName] Company Name
|
|
7992
|
+
* @param {string | null} [addressLine1] Address Line 1
|
|
7993
|
+
* @param {string | null} [addressLine2] Address Line 2
|
|
7994
|
+
* @param {string | null} [city] City
|
|
7995
|
+
* @param {string | null} [postCode] Post Code
|
|
7996
|
+
* @param {number | null} [trunkId] Trunk ID
|
|
7997
|
+
* @param {number | null} [tenantId] Starter Bundle ID
|
|
7998
|
+
* @param {string | null} [requestedPortDate] Requested Port Date
|
|
7999
|
+
* @param {boolean | null} [asap] Port Date ASAP
|
|
8000
|
+
* @param {string | null} [comment] Comment
|
|
8001
|
+
* @param {Array<NumberPortRangeRequestDTO>} [numberRanges] Number Ranges
|
|
8002
|
+
* @param {File} [cloa] CLOA (only provide on submission)
|
|
8003
|
+
* @param {*} [options] Override http request option.
|
|
8004
|
+
* @throws {RequiredError}
|
|
8005
|
+
*/
|
|
8006
|
+
postCreateNumberPort: function (companyName, addressLine1, addressLine2, city, postCode, trunkId, tenantId, requestedPortDate, asap, comment, numberRanges, cloa, options) {
|
|
8007
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
8008
|
+
var localVarAxiosArgs, localVarOperationServerIndex, localVarOperationServerBasePath;
|
|
8009
|
+
var _a, _b, _c;
|
|
8010
|
+
return __generator(this, function (_d) {
|
|
8011
|
+
switch (_d.label) {
|
|
8012
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.postCreateNumberPort(companyName, addressLine1, addressLine2, city, postCode, trunkId, tenantId, requestedPortDate, asap, comment, numberRanges, cloa, options)];
|
|
8013
|
+
case 1:
|
|
8014
|
+
localVarAxiosArgs = _d.sent();
|
|
8015
|
+
localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
8016
|
+
localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['NumberPortingApi.postCreateNumberPort']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
8017
|
+
return [2 /*return*/, function (axios, basePath) { return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath); }];
|
|
8018
|
+
}
|
|
8019
|
+
});
|
|
8020
|
+
});
|
|
8021
|
+
},
|
|
8022
|
+
/**
|
|
8023
|
+
*
|
|
8024
|
+
* @param {number} id Number Port ID
|
|
8025
|
+
* @param {string | null} [companyName] Company Name
|
|
8026
|
+
* @param {string | null} [addressLine1] Address Line 1
|
|
8027
|
+
* @param {string | null} [addressLine2] Address Line 2
|
|
8028
|
+
* @param {string | null} [city] City
|
|
8029
|
+
* @param {string | null} [postCode] Post Code
|
|
8030
|
+
* @param {number | null} [trunkId] Trunk ID
|
|
8031
|
+
* @param {number | null} [tenantId] Starter Bundle ID
|
|
8032
|
+
* @param {string | null} [requestedPortDate] Requested Port Date
|
|
8033
|
+
* @param {boolean | null} [asap] Port Date ASAP
|
|
8034
|
+
* @param {string | null} [comment] Comment
|
|
8035
|
+
* @param {Array<NumberPortRangeRequestDTO>} [numberRanges] Number Ranges
|
|
8036
|
+
* @param {File} [cloa] CLOA (only provide on submission)
|
|
8037
|
+
* @param {*} [options] Override http request option.
|
|
8038
|
+
* @throws {RequiredError}
|
|
8039
|
+
*/
|
|
8040
|
+
postSubmitNumberPort: function (id, companyName, addressLine1, addressLine2, city, postCode, trunkId, tenantId, requestedPortDate, asap, comment, numberRanges, cloa, options) {
|
|
8041
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
8042
|
+
var localVarAxiosArgs, localVarOperationServerIndex, localVarOperationServerBasePath;
|
|
8043
|
+
var _a, _b, _c;
|
|
8044
|
+
return __generator(this, function (_d) {
|
|
8045
|
+
switch (_d.label) {
|
|
8046
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.postSubmitNumberPort(id, companyName, addressLine1, addressLine2, city, postCode, trunkId, tenantId, requestedPortDate, asap, comment, numberRanges, cloa, options)];
|
|
8047
|
+
case 1:
|
|
8048
|
+
localVarAxiosArgs = _d.sent();
|
|
8049
|
+
localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
8050
|
+
localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['NumberPortingApi.postSubmitNumberPort']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
8051
|
+
return [2 /*return*/, function (axios, basePath) { return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath); }];
|
|
8052
|
+
}
|
|
8053
|
+
});
|
|
8054
|
+
});
|
|
8055
|
+
},
|
|
8056
|
+
/**
|
|
8057
|
+
*
|
|
8058
|
+
* @param {number} id Number Port ID
|
|
8059
|
+
* @param {string | null} [companyName] Company Name
|
|
8060
|
+
* @param {string | null} [addressLine1] Address Line 1
|
|
8061
|
+
* @param {string | null} [addressLine2] Address Line 2
|
|
8062
|
+
* @param {string | null} [city] City
|
|
8063
|
+
* @param {string | null} [postCode] Post Code
|
|
8064
|
+
* @param {number | null} [trunkId] Trunk ID
|
|
8065
|
+
* @param {number | null} [tenantId] Starter Bundle ID
|
|
8066
|
+
* @param {string | null} [requestedPortDate] Requested Port Date
|
|
8067
|
+
* @param {boolean | null} [asap] Port Date ASAP
|
|
8068
|
+
* @param {string | null} [comment] Comment
|
|
8069
|
+
* @param {Array<NumberPortRangeRequestDTO>} [numberRanges] Number Ranges
|
|
8070
|
+
* @param {File} [cloa] CLOA (only provide on submission)
|
|
8071
|
+
* @param {*} [options] Override http request option.
|
|
8072
|
+
* @throws {RequiredError}
|
|
8073
|
+
*/
|
|
8074
|
+
postUpdateNumberPort: function (id, companyName, addressLine1, addressLine2, city, postCode, trunkId, tenantId, requestedPortDate, asap, comment, numberRanges, cloa, options) {
|
|
8075
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
8076
|
+
var localVarAxiosArgs, localVarOperationServerIndex, localVarOperationServerBasePath;
|
|
8077
|
+
var _a, _b, _c;
|
|
8078
|
+
return __generator(this, function (_d) {
|
|
8079
|
+
switch (_d.label) {
|
|
8080
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.postUpdateNumberPort(id, companyName, addressLine1, addressLine2, city, postCode, trunkId, tenantId, requestedPortDate, asap, comment, numberRanges, cloa, options)];
|
|
8081
|
+
case 1:
|
|
8082
|
+
localVarAxiosArgs = _d.sent();
|
|
8083
|
+
localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
8084
|
+
localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['NumberPortingApi.postUpdateNumberPort']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
8085
|
+
return [2 /*return*/, function (axios, basePath) { return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath); }];
|
|
8086
|
+
}
|
|
8087
|
+
});
|
|
8088
|
+
});
|
|
8089
|
+
},
|
|
8090
|
+
/**
|
|
8091
|
+
*
|
|
8092
|
+
* @param {number} id Number Port ID
|
|
8093
|
+
* @param {string | null} [companyName] Company Name
|
|
8094
|
+
* @param {string | null} [addressLine1] Address Line 1
|
|
8095
|
+
* @param {string | null} [addressLine2] Address Line 2
|
|
8096
|
+
* @param {string | null} [city] City
|
|
8097
|
+
* @param {string | null} [postCode] Post Code
|
|
8098
|
+
* @param {number | null} [trunkId] Trunk ID
|
|
8099
|
+
* @param {number | null} [tenantId] Starter Bundle ID
|
|
8100
|
+
* @param {string | null} [requestedPortDate] Requested Port Date
|
|
8101
|
+
* @param {boolean | null} [asap] Port Date ASAP
|
|
8102
|
+
* @param {string | null} [comment] Comment
|
|
8103
|
+
* @param {number} [id2] Number Port ID
|
|
8104
|
+
* @param {string} [portDate] Porting Date
|
|
8105
|
+
* @param {Array<NumberPortRangeDTO>} [numberRanges] Number Ranges
|
|
8106
|
+
* @param {number} [status] Status
|
|
8107
|
+
* @param {number | null} [ticketId] Ticket ID
|
|
8108
|
+
* @param {*} [options] Override http request option.
|
|
8109
|
+
* @throws {RequiredError}
|
|
8110
|
+
*/
|
|
8111
|
+
putGetAdminNumberPort: function (id, companyName, addressLine1, addressLine2, city, postCode, trunkId, tenantId, requestedPortDate, asap, comment, id2, portDate, numberRanges, status, ticketId, options) {
|
|
8112
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
8113
|
+
var localVarAxiosArgs, localVarOperationServerIndex, localVarOperationServerBasePath;
|
|
8114
|
+
var _a, _b, _c;
|
|
8115
|
+
return __generator(this, function (_d) {
|
|
8116
|
+
switch (_d.label) {
|
|
8117
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.putGetAdminNumberPort(id, companyName, addressLine1, addressLine2, city, postCode, trunkId, tenantId, requestedPortDate, asap, comment, id2, portDate, numberRanges, status, ticketId, options)];
|
|
8118
|
+
case 1:
|
|
8119
|
+
localVarAxiosArgs = _d.sent();
|
|
8120
|
+
localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
8121
|
+
localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['NumberPortingApi.putGetAdminNumberPort']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
8122
|
+
return [2 /*return*/, function (axios, basePath) { return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath); }];
|
|
8123
|
+
}
|
|
8124
|
+
});
|
|
8125
|
+
});
|
|
8126
|
+
},
|
|
8127
|
+
};
|
|
8128
|
+
};
|
|
8129
|
+
exports.NumberPortingApiFp = NumberPortingApiFp;
|
|
8130
|
+
/**
|
|
8131
|
+
* NumberPortingApi - factory interface
|
|
8132
|
+
*/
|
|
8133
|
+
var NumberPortingApiFactory = function (configuration, basePath, axios) {
|
|
8134
|
+
var localVarFp = (0, exports.NumberPortingApiFp)(configuration);
|
|
8135
|
+
return {
|
|
8136
|
+
/**
|
|
8137
|
+
*
|
|
8138
|
+
* @param {number} id Number Port ID
|
|
8139
|
+
* @param {*} [options] Override http request option.
|
|
8140
|
+
* @throws {RequiredError}
|
|
8141
|
+
*/
|
|
8142
|
+
deleteGetAdminNumberPort: function (id, options) {
|
|
8143
|
+
return localVarFp.deleteGetAdminNumberPort(id, options).then(function (request) { return request(axios, basePath); });
|
|
8144
|
+
},
|
|
8145
|
+
/**
|
|
8146
|
+
*
|
|
8147
|
+
* @param {number} id Number Port ID
|
|
7141
8148
|
* @param {*} [options] Override http request option.
|
|
7142
8149
|
* @throws {RequiredError}
|
|
7143
8150
|
*/
|
|
7144
|
-
|
|
7145
|
-
return localVarFp.
|
|
8151
|
+
getGetAdminNumberPort: function (id, options) {
|
|
8152
|
+
return localVarFp.getGetAdminNumberPort(id, options).then(function (request) { return request(axios, basePath); });
|
|
7146
8153
|
},
|
|
7147
8154
|
/**
|
|
7148
|
-
*
|
|
7149
|
-
* @
|
|
7150
|
-
* @param {
|
|
8155
|
+
*
|
|
8156
|
+
* @param {number} [pageSize] Number Of Results
|
|
8157
|
+
* @param {number} [page] Page Number
|
|
8158
|
+
* @param {string} [search] Search
|
|
7151
8159
|
* @param {*} [options] Override http request option.
|
|
7152
8160
|
* @throws {RequiredError}
|
|
7153
8161
|
*/
|
|
7154
|
-
|
|
7155
|
-
return localVarFp.
|
|
8162
|
+
getGetAdminNumberPorts: function (pageSize, page, search, options) {
|
|
8163
|
+
return localVarFp.getGetAdminNumberPorts(pageSize, page, search, options).then(function (request) { return request(axios, basePath); });
|
|
7156
8164
|
},
|
|
7157
8165
|
/**
|
|
7158
|
-
*
|
|
7159
|
-
* @summary Get 3CX MT Tenants
|
|
8166
|
+
*
|
|
7160
8167
|
* @param {number} [pageSize] Number Of Results
|
|
7161
8168
|
* @param {number} [page] Page Number
|
|
7162
8169
|
* @param {string} [search] Search
|
|
7163
|
-
* @param {GetGetTenantsStatusEnum} [status] Status
|
|
7164
8170
|
* @param {*} [options] Override http request option.
|
|
7165
8171
|
* @throws {RequiredError}
|
|
7166
8172
|
*/
|
|
7167
|
-
|
|
7168
|
-
return localVarFp.
|
|
8173
|
+
getGetNumberPorts: function (pageSize, page, search, options) {
|
|
8174
|
+
return localVarFp.getGetNumberPorts(pageSize, page, search, options).then(function (request) { return request(axios, basePath); });
|
|
7169
8175
|
},
|
|
7170
8176
|
/**
|
|
7171
|
-
*
|
|
7172
|
-
* @
|
|
7173
|
-
* @param {string} areacode Area Code
|
|
8177
|
+
*
|
|
8178
|
+
* @param {number} id Number Port ID
|
|
7174
8179
|
* @param {*} [options] Override http request option.
|
|
7175
8180
|
* @throws {RequiredError}
|
|
7176
8181
|
*/
|
|
7177
|
-
|
|
7178
|
-
return localVarFp.
|
|
8182
|
+
getUpdateNumberPort: function (id, options) {
|
|
8183
|
+
return localVarFp.getUpdateNumberPort(id, options).then(function (request) { return request(axios, basePath); });
|
|
7179
8184
|
},
|
|
7180
8185
|
/**
|
|
7181
|
-
*
|
|
7182
|
-
* @
|
|
7183
|
-
* @param {
|
|
8186
|
+
*
|
|
8187
|
+
* @param {string | null} [companyName] Company Name
|
|
8188
|
+
* @param {string | null} [addressLine1] Address Line 1
|
|
8189
|
+
* @param {string | null} [addressLine2] Address Line 2
|
|
8190
|
+
* @param {string | null} [city] City
|
|
8191
|
+
* @param {string | null} [postCode] Post Code
|
|
8192
|
+
* @param {number | null} [trunkId] Trunk ID
|
|
8193
|
+
* @param {number | null} [tenantId] Starter Bundle ID
|
|
8194
|
+
* @param {string | null} [requestedPortDate] Requested Port Date
|
|
8195
|
+
* @param {boolean | null} [asap] Port Date ASAP
|
|
8196
|
+
* @param {string | null} [comment] Comment
|
|
8197
|
+
* @param {Array<NumberPortRangeRequestDTO>} [numberRanges] Number Ranges
|
|
8198
|
+
* @param {File} [cloa] CLOA (only provide on submission)
|
|
7184
8199
|
* @param {*} [options] Override http request option.
|
|
7185
8200
|
* @throws {RequiredError}
|
|
7186
8201
|
*/
|
|
7187
|
-
|
|
7188
|
-
return localVarFp.
|
|
8202
|
+
postCreateNumberPort: function (companyName, addressLine1, addressLine2, city, postCode, trunkId, tenantId, requestedPortDate, asap, comment, numberRanges, cloa, options) {
|
|
8203
|
+
return localVarFp.postCreateNumberPort(companyName, addressLine1, addressLine2, city, postCode, trunkId, tenantId, requestedPortDate, asap, comment, numberRanges, cloa, options).then(function (request) { return request(axios, basePath); });
|
|
7189
8204
|
},
|
|
7190
8205
|
/**
|
|
7191
|
-
*
|
|
7192
|
-
* @
|
|
7193
|
-
* @param {
|
|
8206
|
+
*
|
|
8207
|
+
* @param {number} id Number Port ID
|
|
8208
|
+
* @param {string | null} [companyName] Company Name
|
|
8209
|
+
* @param {string | null} [addressLine1] Address Line 1
|
|
8210
|
+
* @param {string | null} [addressLine2] Address Line 2
|
|
8211
|
+
* @param {string | null} [city] City
|
|
8212
|
+
* @param {string | null} [postCode] Post Code
|
|
8213
|
+
* @param {number | null} [trunkId] Trunk ID
|
|
8214
|
+
* @param {number | null} [tenantId] Starter Bundle ID
|
|
8215
|
+
* @param {string | null} [requestedPortDate] Requested Port Date
|
|
8216
|
+
* @param {boolean | null} [asap] Port Date ASAP
|
|
8217
|
+
* @param {string | null} [comment] Comment
|
|
8218
|
+
* @param {Array<NumberPortRangeRequestDTO>} [numberRanges] Number Ranges
|
|
8219
|
+
* @param {File} [cloa] CLOA (only provide on submission)
|
|
7194
8220
|
* @param {*} [options] Override http request option.
|
|
7195
8221
|
* @throws {RequiredError}
|
|
7196
8222
|
*/
|
|
7197
|
-
|
|
7198
|
-
return localVarFp.
|
|
8223
|
+
postSubmitNumberPort: function (id, companyName, addressLine1, addressLine2, city, postCode, trunkId, tenantId, requestedPortDate, asap, comment, numberRanges, cloa, options) {
|
|
8224
|
+
return localVarFp.postSubmitNumberPort(id, companyName, addressLine1, addressLine2, city, postCode, trunkId, tenantId, requestedPortDate, asap, comment, numberRanges, cloa, options).then(function (request) { return request(axios, basePath); });
|
|
7199
8225
|
},
|
|
7200
8226
|
/**
|
|
7201
|
-
*
|
|
7202
|
-
* @
|
|
7203
|
-
* @param {
|
|
8227
|
+
*
|
|
8228
|
+
* @param {number} id Number Port ID
|
|
8229
|
+
* @param {string | null} [companyName] Company Name
|
|
8230
|
+
* @param {string | null} [addressLine1] Address Line 1
|
|
8231
|
+
* @param {string | null} [addressLine2] Address Line 2
|
|
8232
|
+
* @param {string | null} [city] City
|
|
8233
|
+
* @param {string | null} [postCode] Post Code
|
|
8234
|
+
* @param {number | null} [trunkId] Trunk ID
|
|
8235
|
+
* @param {number | null} [tenantId] Starter Bundle ID
|
|
8236
|
+
* @param {string | null} [requestedPortDate] Requested Port Date
|
|
8237
|
+
* @param {boolean | null} [asap] Port Date ASAP
|
|
8238
|
+
* @param {string | null} [comment] Comment
|
|
8239
|
+
* @param {Array<NumberPortRangeRequestDTO>} [numberRanges] Number Ranges
|
|
8240
|
+
* @param {File} [cloa] CLOA (only provide on submission)
|
|
7204
8241
|
* @param {*} [options] Override http request option.
|
|
7205
8242
|
* @throws {RequiredError}
|
|
7206
8243
|
*/
|
|
7207
|
-
|
|
7208
|
-
return localVarFp.
|
|
8244
|
+
postUpdateNumberPort: function (id, companyName, addressLine1, addressLine2, city, postCode, trunkId, tenantId, requestedPortDate, asap, comment, numberRanges, cloa, options) {
|
|
8245
|
+
return localVarFp.postUpdateNumberPort(id, companyName, addressLine1, addressLine2, city, postCode, trunkId, tenantId, requestedPortDate, asap, comment, numberRanges, cloa, options).then(function (request) { return request(axios, basePath); });
|
|
8246
|
+
},
|
|
8247
|
+
/**
|
|
8248
|
+
*
|
|
8249
|
+
* @param {number} id Number Port ID
|
|
8250
|
+
* @param {string | null} [companyName] Company Name
|
|
8251
|
+
* @param {string | null} [addressLine1] Address Line 1
|
|
8252
|
+
* @param {string | null} [addressLine2] Address Line 2
|
|
8253
|
+
* @param {string | null} [city] City
|
|
8254
|
+
* @param {string | null} [postCode] Post Code
|
|
8255
|
+
* @param {number | null} [trunkId] Trunk ID
|
|
8256
|
+
* @param {number | null} [tenantId] Starter Bundle ID
|
|
8257
|
+
* @param {string | null} [requestedPortDate] Requested Port Date
|
|
8258
|
+
* @param {boolean | null} [asap] Port Date ASAP
|
|
8259
|
+
* @param {string | null} [comment] Comment
|
|
8260
|
+
* @param {number} [id2] Number Port ID
|
|
8261
|
+
* @param {string} [portDate] Porting Date
|
|
8262
|
+
* @param {Array<NumberPortRangeDTO>} [numberRanges] Number Ranges
|
|
8263
|
+
* @param {number} [status] Status
|
|
8264
|
+
* @param {number | null} [ticketId] Ticket ID
|
|
8265
|
+
* @param {*} [options] Override http request option.
|
|
8266
|
+
* @throws {RequiredError}
|
|
8267
|
+
*/
|
|
8268
|
+
putGetAdminNumberPort: function (id, companyName, addressLine1, addressLine2, city, postCode, trunkId, tenantId, requestedPortDate, asap, comment, id2, portDate, numberRanges, status, ticketId, options) {
|
|
8269
|
+
return localVarFp.putGetAdminNumberPort(id, companyName, addressLine1, addressLine2, city, postCode, trunkId, tenantId, requestedPortDate, asap, comment, id2, portDate, numberRanges, status, ticketId, options).then(function (request) { return request(axios, basePath); });
|
|
7209
8270
|
},
|
|
7210
8271
|
};
|
|
7211
8272
|
};
|
|
7212
|
-
exports.
|
|
8273
|
+
exports.NumberPortingApiFactory = NumberPortingApiFactory;
|
|
7213
8274
|
/**
|
|
7214
|
-
*
|
|
7215
|
-
* @export
|
|
7216
|
-
* @class Class3CXMultiTenantApi
|
|
7217
|
-
* @extends {BaseAPI}
|
|
8275
|
+
* NumberPortingApi - object-oriented interface
|
|
7218
8276
|
*/
|
|
7219
|
-
var
|
|
7220
|
-
__extends(
|
|
7221
|
-
function
|
|
8277
|
+
var NumberPortingApi = /** @class */ (function (_super) {
|
|
8278
|
+
__extends(NumberPortingApi, _super);
|
|
8279
|
+
function NumberPortingApi() {
|
|
7222
8280
|
return _super !== null && _super.apply(this, arguments) || this;
|
|
7223
8281
|
}
|
|
7224
8282
|
/**
|
|
7225
|
-
*
|
|
7226
|
-
* @
|
|
7227
|
-
* @param {string} reference Tenant Reference
|
|
8283
|
+
*
|
|
8284
|
+
* @param {number} id Number Port ID
|
|
7228
8285
|
* @param {*} [options] Override http request option.
|
|
7229
8286
|
* @throws {RequiredError}
|
|
7230
|
-
* @memberof Class3CXMultiTenantApi
|
|
7231
8287
|
*/
|
|
7232
|
-
|
|
8288
|
+
NumberPortingApi.prototype.deleteGetAdminNumberPort = function (id, options) {
|
|
7233
8289
|
var _this = this;
|
|
7234
|
-
return (0, exports.
|
|
8290
|
+
return (0, exports.NumberPortingApiFp)(this.configuration).deleteGetAdminNumberPort(id, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
7235
8291
|
};
|
|
7236
8292
|
/**
|
|
7237
|
-
*
|
|
7238
|
-
* @
|
|
7239
|
-
* @param {string} reference Tenant Reference
|
|
8293
|
+
*
|
|
8294
|
+
* @param {number} id Number Port ID
|
|
7240
8295
|
* @param {*} [options] Override http request option.
|
|
7241
8296
|
* @throws {RequiredError}
|
|
7242
|
-
* @memberof Class3CXMultiTenantApi
|
|
7243
8297
|
*/
|
|
7244
|
-
|
|
8298
|
+
NumberPortingApi.prototype.getGetAdminNumberPort = function (id, options) {
|
|
7245
8299
|
var _this = this;
|
|
7246
|
-
return (0, exports.
|
|
8300
|
+
return (0, exports.NumberPortingApiFp)(this.configuration).getGetAdminNumberPort(id, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
7247
8301
|
};
|
|
7248
8302
|
/**
|
|
7249
|
-
*
|
|
7250
|
-
* @summary Get 3CX MT Tenants
|
|
8303
|
+
*
|
|
7251
8304
|
* @param {number} [pageSize] Number Of Results
|
|
7252
8305
|
* @param {number} [page] Page Number
|
|
7253
8306
|
* @param {string} [search] Search
|
|
7254
|
-
* @param {GetGetTenantsStatusEnum} [status] Status
|
|
7255
8307
|
* @param {*} [options] Override http request option.
|
|
7256
8308
|
* @throws {RequiredError}
|
|
7257
|
-
* @memberof Class3CXMultiTenantApi
|
|
7258
8309
|
*/
|
|
7259
|
-
|
|
8310
|
+
NumberPortingApi.prototype.getGetAdminNumberPorts = function (pageSize, page, search, options) {
|
|
7260
8311
|
var _this = this;
|
|
7261
|
-
return (0, exports.
|
|
8312
|
+
return (0, exports.NumberPortingApiFp)(this.configuration).getGetAdminNumberPorts(pageSize, page, search, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
7262
8313
|
};
|
|
7263
8314
|
/**
|
|
7264
|
-
*
|
|
7265
|
-
* @
|
|
7266
|
-
* @param {
|
|
8315
|
+
*
|
|
8316
|
+
* @param {number} [pageSize] Number Of Results
|
|
8317
|
+
* @param {number} [page] Page Number
|
|
8318
|
+
* @param {string} [search] Search
|
|
7267
8319
|
* @param {*} [options] Override http request option.
|
|
7268
8320
|
* @throws {RequiredError}
|
|
7269
|
-
* @memberof Class3CXMultiTenantApi
|
|
7270
8321
|
*/
|
|
7271
|
-
|
|
8322
|
+
NumberPortingApi.prototype.getGetNumberPorts = function (pageSize, page, search, options) {
|
|
7272
8323
|
var _this = this;
|
|
7273
|
-
return (0, exports.
|
|
8324
|
+
return (0, exports.NumberPortingApiFp)(this.configuration).getGetNumberPorts(pageSize, page, search, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
7274
8325
|
};
|
|
7275
8326
|
/**
|
|
7276
|
-
*
|
|
7277
|
-
* @
|
|
7278
|
-
* @param {MultiTenantChangeResponseModel} [multiTenantChangeResponseModel] Multi-Tenant Change Request
|
|
8327
|
+
*
|
|
8328
|
+
* @param {number} id Number Port ID
|
|
7279
8329
|
* @param {*} [options] Override http request option.
|
|
7280
8330
|
* @throws {RequiredError}
|
|
7281
|
-
* @memberof Class3CXMultiTenantApi
|
|
7282
8331
|
*/
|
|
7283
|
-
|
|
8332
|
+
NumberPortingApi.prototype.getUpdateNumberPort = function (id, options) {
|
|
7284
8333
|
var _this = this;
|
|
7285
|
-
return (0, exports.
|
|
8334
|
+
return (0, exports.NumberPortingApiFp)(this.configuration).getUpdateNumberPort(id, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
7286
8335
|
};
|
|
7287
8336
|
/**
|
|
7288
|
-
*
|
|
7289
|
-
* @
|
|
7290
|
-
* @param {
|
|
8337
|
+
*
|
|
8338
|
+
* @param {string | null} [companyName] Company Name
|
|
8339
|
+
* @param {string | null} [addressLine1] Address Line 1
|
|
8340
|
+
* @param {string | null} [addressLine2] Address Line 2
|
|
8341
|
+
* @param {string | null} [city] City
|
|
8342
|
+
* @param {string | null} [postCode] Post Code
|
|
8343
|
+
* @param {number | null} [trunkId] Trunk ID
|
|
8344
|
+
* @param {number | null} [tenantId] Starter Bundle ID
|
|
8345
|
+
* @param {string | null} [requestedPortDate] Requested Port Date
|
|
8346
|
+
* @param {boolean | null} [asap] Port Date ASAP
|
|
8347
|
+
* @param {string | null} [comment] Comment
|
|
8348
|
+
* @param {Array<NumberPortRangeRequestDTO>} [numberRanges] Number Ranges
|
|
8349
|
+
* @param {File} [cloa] CLOA (only provide on submission)
|
|
7291
8350
|
* @param {*} [options] Override http request option.
|
|
7292
8351
|
* @throws {RequiredError}
|
|
7293
|
-
* @memberof Class3CXMultiTenantApi
|
|
7294
8352
|
*/
|
|
7295
|
-
|
|
8353
|
+
NumberPortingApi.prototype.postCreateNumberPort = function (companyName, addressLine1, addressLine2, city, postCode, trunkId, tenantId, requestedPortDate, asap, comment, numberRanges, cloa, options) {
|
|
7296
8354
|
var _this = this;
|
|
7297
|
-
return (0, exports.
|
|
8355
|
+
return (0, exports.NumberPortingApiFp)(this.configuration).postCreateNumberPort(companyName, addressLine1, addressLine2, city, postCode, trunkId, tenantId, requestedPortDate, asap, comment, numberRanges, cloa, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
7298
8356
|
};
|
|
7299
8357
|
/**
|
|
7300
|
-
*
|
|
7301
|
-
* @
|
|
7302
|
-
* @param {
|
|
8358
|
+
*
|
|
8359
|
+
* @param {number} id Number Port ID
|
|
8360
|
+
* @param {string | null} [companyName] Company Name
|
|
8361
|
+
* @param {string | null} [addressLine1] Address Line 1
|
|
8362
|
+
* @param {string | null} [addressLine2] Address Line 2
|
|
8363
|
+
* @param {string | null} [city] City
|
|
8364
|
+
* @param {string | null} [postCode] Post Code
|
|
8365
|
+
* @param {number | null} [trunkId] Trunk ID
|
|
8366
|
+
* @param {number | null} [tenantId] Starter Bundle ID
|
|
8367
|
+
* @param {string | null} [requestedPortDate] Requested Port Date
|
|
8368
|
+
* @param {boolean | null} [asap] Port Date ASAP
|
|
8369
|
+
* @param {string | null} [comment] Comment
|
|
8370
|
+
* @param {Array<NumberPortRangeRequestDTO>} [numberRanges] Number Ranges
|
|
8371
|
+
* @param {File} [cloa] CLOA (only provide on submission)
|
|
7303
8372
|
* @param {*} [options] Override http request option.
|
|
7304
8373
|
* @throws {RequiredError}
|
|
7305
|
-
* @memberof Class3CXMultiTenantApi
|
|
7306
8374
|
*/
|
|
7307
|
-
|
|
8375
|
+
NumberPortingApi.prototype.postSubmitNumberPort = function (id, companyName, addressLine1, addressLine2, city, postCode, trunkId, tenantId, requestedPortDate, asap, comment, numberRanges, cloa, options) {
|
|
7308
8376
|
var _this = this;
|
|
7309
|
-
return (0, exports.
|
|
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
|
-
},
|
|
8377
|
+
return (0, exports.NumberPortingApiFp)(this.configuration).postSubmitNumberPort(id, companyName, addressLine1, addressLine2, city, postCode, trunkId, tenantId, requestedPortDate, asap, comment, numberRanges, cloa, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
7409
8378
|
};
|
|
7410
|
-
|
|
7411
|
-
|
|
7412
|
-
|
|
7413
|
-
|
|
7414
|
-
|
|
7415
|
-
|
|
7416
|
-
|
|
7417
|
-
|
|
7418
|
-
|
|
7419
|
-
|
|
7420
|
-
|
|
7421
|
-
|
|
7422
|
-
|
|
7423
|
-
|
|
7424
|
-
|
|
7425
|
-
|
|
7426
|
-
|
|
7427
|
-
|
|
7428
|
-
|
|
7429
|
-
|
|
8379
|
+
/**
|
|
8380
|
+
*
|
|
8381
|
+
* @param {number} id Number Port ID
|
|
8382
|
+
* @param {string | null} [companyName] Company Name
|
|
8383
|
+
* @param {string | null} [addressLine1] Address Line 1
|
|
8384
|
+
* @param {string | null} [addressLine2] Address Line 2
|
|
8385
|
+
* @param {string | null} [city] City
|
|
8386
|
+
* @param {string | null} [postCode] Post Code
|
|
8387
|
+
* @param {number | null} [trunkId] Trunk ID
|
|
8388
|
+
* @param {number | null} [tenantId] Starter Bundle ID
|
|
8389
|
+
* @param {string | null} [requestedPortDate] Requested Port Date
|
|
8390
|
+
* @param {boolean | null} [asap] Port Date ASAP
|
|
8391
|
+
* @param {string | null} [comment] Comment
|
|
8392
|
+
* @param {Array<NumberPortRangeRequestDTO>} [numberRanges] Number Ranges
|
|
8393
|
+
* @param {File} [cloa] CLOA (only provide on submission)
|
|
8394
|
+
* @param {*} [options] Override http request option.
|
|
8395
|
+
* @throws {RequiredError}
|
|
8396
|
+
*/
|
|
8397
|
+
NumberPortingApi.prototype.postUpdateNumberPort = function (id, companyName, addressLine1, addressLine2, city, postCode, trunkId, tenantId, requestedPortDate, asap, comment, numberRanges, cloa, options) {
|
|
8398
|
+
var _this = this;
|
|
8399
|
+
return (0, exports.NumberPortingApiFp)(this.configuration).postUpdateNumberPort(id, companyName, addressLine1, addressLine2, city, postCode, trunkId, tenantId, requestedPortDate, asap, comment, numberRanges, cloa, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
7430
8400
|
};
|
|
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
|
-
}
|
|
7444
8401
|
/**
|
|
7445
|
-
*
|
|
7446
|
-
* @
|
|
7447
|
-
* @param {string}
|
|
7448
|
-
* @param {string}
|
|
8402
|
+
*
|
|
8403
|
+
* @param {number} id Number Port ID
|
|
8404
|
+
* @param {string | null} [companyName] Company Name
|
|
8405
|
+
* @param {string | null} [addressLine1] Address Line 1
|
|
8406
|
+
* @param {string | null} [addressLine2] Address Line 2
|
|
8407
|
+
* @param {string | null} [city] City
|
|
8408
|
+
* @param {string | null} [postCode] Post Code
|
|
8409
|
+
* @param {number | null} [trunkId] Trunk ID
|
|
8410
|
+
* @param {number | null} [tenantId] Starter Bundle ID
|
|
8411
|
+
* @param {string | null} [requestedPortDate] Requested Port Date
|
|
8412
|
+
* @param {boolean | null} [asap] Port Date ASAP
|
|
8413
|
+
* @param {string | null} [comment] Comment
|
|
8414
|
+
* @param {number} [id2] Number Port ID
|
|
8415
|
+
* @param {string} [portDate] Porting Date
|
|
8416
|
+
* @param {Array<NumberPortRangeDTO>} [numberRanges] Number Ranges
|
|
8417
|
+
* @param {number} [status] Status
|
|
8418
|
+
* @param {number | null} [ticketId] Ticket ID
|
|
7449
8419
|
* @param {*} [options] Override http request option.
|
|
7450
8420
|
* @throws {RequiredError}
|
|
7451
|
-
* @memberof MyPBXToolsApi
|
|
7452
8421
|
*/
|
|
7453
|
-
|
|
8422
|
+
NumberPortingApi.prototype.putGetAdminNumberPort = function (id, companyName, addressLine1, addressLine2, city, postCode, trunkId, tenantId, requestedPortDate, asap, comment, id2, portDate, numberRanges, status, ticketId, options) {
|
|
7454
8423
|
var _this = this;
|
|
7455
|
-
return (0, exports.
|
|
8424
|
+
return (0, exports.NumberPortingApiFp)(this.configuration).putGetAdminNumberPort(id, companyName, addressLine1, addressLine2, city, postCode, trunkId, tenantId, requestedPortDate, asap, comment, id2, portDate, numberRanges, status, ticketId, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
7456
8425
|
};
|
|
7457
|
-
return
|
|
8426
|
+
return NumberPortingApi;
|
|
7458
8427
|
}(base_1.BaseAPI));
|
|
7459
|
-
exports.
|
|
8428
|
+
exports.NumberPortingApi = NumberPortingApi;
|
|
7460
8429
|
/**
|
|
7461
8430
|
* OAuth20Api - axios parameter creator
|
|
7462
|
-
* @export
|
|
7463
8431
|
*/
|
|
7464
8432
|
var OAuth20ApiAxiosParamCreator = function (configuration) {
|
|
7465
8433
|
var _this = this;
|
|
@@ -7755,7 +8723,6 @@ var OAuth20ApiAxiosParamCreator = function (configuration) {
|
|
|
7755
8723
|
exports.OAuth20ApiAxiosParamCreator = OAuth20ApiAxiosParamCreator;
|
|
7756
8724
|
/**
|
|
7757
8725
|
* OAuth20Api - functional programming interface
|
|
7758
|
-
* @export
|
|
7759
8726
|
*/
|
|
7760
8727
|
var OAuth20ApiFp = function (configuration) {
|
|
7761
8728
|
var localVarAxiosParamCreator = (0, exports.OAuth20ApiAxiosParamCreator)(configuration);
|
|
@@ -7917,7 +8884,6 @@ var OAuth20ApiFp = function (configuration) {
|
|
|
7917
8884
|
exports.OAuth20ApiFp = OAuth20ApiFp;
|
|
7918
8885
|
/**
|
|
7919
8886
|
* OAuth20Api - factory interface
|
|
7920
|
-
* @export
|
|
7921
8887
|
*/
|
|
7922
8888
|
var OAuth20ApiFactory = function (configuration, basePath, axios) {
|
|
7923
8889
|
var localVarFp = (0, exports.OAuth20ApiFp)(configuration);
|
|
@@ -8001,9 +8967,6 @@ var OAuth20ApiFactory = function (configuration, basePath, axios) {
|
|
|
8001
8967
|
exports.OAuth20ApiFactory = OAuth20ApiFactory;
|
|
8002
8968
|
/**
|
|
8003
8969
|
* OAuth20Api - object-oriented interface
|
|
8004
|
-
* @export
|
|
8005
|
-
* @class OAuth20Api
|
|
8006
|
-
* @extends {BaseAPI}
|
|
8007
8970
|
*/
|
|
8008
8971
|
var OAuth20Api = /** @class */ (function (_super) {
|
|
8009
8972
|
__extends(OAuth20Api, _super);
|
|
@@ -8015,7 +8978,6 @@ var OAuth20Api = /** @class */ (function (_super) {
|
|
|
8015
8978
|
* @summary Get MFA QR Code
|
|
8016
8979
|
* @param {*} [options] Override http request option.
|
|
8017
8980
|
* @throws {RequiredError}
|
|
8018
|
-
* @memberof OAuth20Api
|
|
8019
8981
|
*/
|
|
8020
8982
|
OAuth20Api.prototype.getGetMfaQrCode = function (options) {
|
|
8021
8983
|
var _this = this;
|
|
@@ -8026,7 +8988,6 @@ var OAuth20Api = /** @class */ (function (_super) {
|
|
|
8026
8988
|
* @summary Get Scopes
|
|
8027
8989
|
* @param {*} [options] Override http request option.
|
|
8028
8990
|
* @throws {RequiredError}
|
|
8029
|
-
* @memberof OAuth20Api
|
|
8030
8991
|
*/
|
|
8031
8992
|
OAuth20Api.prototype.getGetScopes = function (options) {
|
|
8032
8993
|
var _this = this;
|
|
@@ -8049,7 +9010,6 @@ var OAuth20Api = /** @class */ (function (_super) {
|
|
|
8049
9010
|
* @param {boolean | null} [endUser] End User (Only used in Token Exchange)
|
|
8050
9011
|
* @param {*} [options] Override http request option.
|
|
8051
9012
|
* @throws {RequiredError}
|
|
8052
|
-
* @memberof OAuth20Api
|
|
8053
9013
|
*/
|
|
8054
9014
|
OAuth20Api.prototype.postAccessToken = function (clientId, clientSecret, grantType, scope, redirectUri, code, refreshToken, codeVerifier, token, tokenExchangeType, licenceKey, endUser, options) {
|
|
8055
9015
|
var _this = this;
|
|
@@ -8067,7 +9027,6 @@ var OAuth20Api = /** @class */ (function (_super) {
|
|
|
8067
9027
|
* @param {string} [codeChallengeMethod] OAuth 2.0 Code Challenge Method
|
|
8068
9028
|
* @param {*} [options] Override http request option.
|
|
8069
9029
|
* @throws {RequiredError}
|
|
8070
|
-
* @memberof OAuth20Api
|
|
8071
9030
|
*/
|
|
8072
9031
|
OAuth20Api.prototype.postAuthorise = function (clientId, responseType, scope, redirectUri, state, codeChallenge, codeChallengeMethod, options) {
|
|
8073
9032
|
var _this = this;
|
|
@@ -8078,7 +9037,6 @@ var OAuth20Api = /** @class */ (function (_super) {
|
|
|
8078
9037
|
* @summary Get Token Identity
|
|
8079
9038
|
* @param {*} [options] Override http request option.
|
|
8080
9039
|
* @throws {RequiredError}
|
|
8081
|
-
* @memberof OAuth20Api
|
|
8082
9040
|
*/
|
|
8083
9041
|
OAuth20Api.prototype.postGetIdentity = function (options) {
|
|
8084
9042
|
var _this = this;
|
|
@@ -8090,7 +9048,6 @@ var OAuth20Api = /** @class */ (function (_super) {
|
|
|
8090
9048
|
* @param {PortalLoginModel} [portalLoginModel] Login Credentials
|
|
8091
9049
|
* @param {*} [options] Override http request option.
|
|
8092
9050
|
* @throws {RequiredError}
|
|
8093
|
-
* @memberof OAuth20Api
|
|
8094
9051
|
*/
|
|
8095
9052
|
OAuth20Api.prototype.postPortalLogin = function (portalLoginModel, options) {
|
|
8096
9053
|
var _this = this;
|
|
@@ -8099,9 +9056,6 @@ var OAuth20Api = /** @class */ (function (_super) {
|
|
|
8099
9056
|
return OAuth20Api;
|
|
8100
9057
|
}(base_1.BaseAPI));
|
|
8101
9058
|
exports.OAuth20Api = OAuth20Api;
|
|
8102
|
-
/**
|
|
8103
|
-
* @export
|
|
8104
|
-
*/
|
|
8105
9059
|
exports.PostAccessTokenGrantTypeEnum = {
|
|
8106
9060
|
ClientCredentials: 'client_credentials',
|
|
8107
9061
|
Code: 'code',
|
|
@@ -8111,9 +9065,6 @@ exports.PostAccessTokenGrantTypeEnum = {
|
|
|
8111
9065
|
TokenExchange: 'token_exchange',
|
|
8112
9066
|
Password: 'password'
|
|
8113
9067
|
};
|
|
8114
|
-
/**
|
|
8115
|
-
* @export
|
|
8116
|
-
*/
|
|
8117
9068
|
exports.PostAccessTokenScopeEnum = {
|
|
8118
9069
|
Star: '*',
|
|
8119
9070
|
Fdps: 'fdps',
|
|
@@ -8122,6 +9073,8 @@ exports.PostAccessTokenScopeEnum = {
|
|
|
8122
9073
|
TcxWizard: 'tcx_wizard',
|
|
8123
9074
|
AccountsRead: 'accounts.read',
|
|
8124
9075
|
AccountsWrite: 'accounts.write',
|
|
9076
|
+
NumberPortingread: 'number_portingread',
|
|
9077
|
+
NumberPortingwrite: 'number_portingwrite',
|
|
8125
9078
|
PricingRead: 'pricing.read',
|
|
8126
9079
|
OrdersRead: 'orders.read',
|
|
8127
9080
|
OrdersWrite: 'orders.write',
|
|
@@ -8140,16 +9093,10 @@ exports.PostAccessTokenScopeEnum = {
|
|
|
8140
9093
|
TicketsRead: 'tickets.read',
|
|
8141
9094
|
TicketsWrite: 'tickets.write'
|
|
8142
9095
|
};
|
|
8143
|
-
/**
|
|
8144
|
-
* @export
|
|
8145
|
-
*/
|
|
8146
9096
|
exports.PostAccessTokenTokenExchangeTypeEnum = {
|
|
8147
9097
|
TcxWizard: 'tcx_wizard',
|
|
8148
9098
|
Portal: 'portal'
|
|
8149
9099
|
};
|
|
8150
|
-
/**
|
|
8151
|
-
* @export
|
|
8152
|
-
*/
|
|
8153
9100
|
exports.PostAuthoriseScopeEnum = {
|
|
8154
9101
|
Star: '*',
|
|
8155
9102
|
Fdps: 'fdps',
|
|
@@ -8158,6 +9105,8 @@ exports.PostAuthoriseScopeEnum = {
|
|
|
8158
9105
|
TcxWizard: 'tcx_wizard',
|
|
8159
9106
|
AccountsRead: 'accounts.read',
|
|
8160
9107
|
AccountsWrite: 'accounts.write',
|
|
9108
|
+
NumberPortingread: 'number_portingread',
|
|
9109
|
+
NumberPortingwrite: 'number_portingwrite',
|
|
8161
9110
|
PricingRead: 'pricing.read',
|
|
8162
9111
|
OrdersRead: 'orders.read',
|
|
8163
9112
|
OrdersWrite: 'orders.write',
|
|
@@ -8178,7 +9127,6 @@ exports.PostAuthoriseScopeEnum = {
|
|
|
8178
9127
|
};
|
|
8179
9128
|
/**
|
|
8180
9129
|
* OrdersApi - axios parameter creator
|
|
8181
|
-
* @export
|
|
8182
9130
|
*/
|
|
8183
9131
|
var OrdersApiAxiosParamCreator = function (configuration) {
|
|
8184
9132
|
var _this = this;
|
|
@@ -8528,7 +9476,6 @@ var OrdersApiAxiosParamCreator = function (configuration) {
|
|
|
8528
9476
|
exports.OrdersApiAxiosParamCreator = OrdersApiAxiosParamCreator;
|
|
8529
9477
|
/**
|
|
8530
9478
|
* OrdersApi - functional programming interface
|
|
8531
|
-
* @export
|
|
8532
9479
|
*/
|
|
8533
9480
|
var OrdersApiFp = function (configuration) {
|
|
8534
9481
|
var localVarAxiosParamCreator = (0, exports.OrdersApiAxiosParamCreator)(configuration);
|
|
@@ -8734,7 +9681,6 @@ var OrdersApiFp = function (configuration) {
|
|
|
8734
9681
|
exports.OrdersApiFp = OrdersApiFp;
|
|
8735
9682
|
/**
|
|
8736
9683
|
* OrdersApi - factory interface
|
|
8737
|
-
* @export
|
|
8738
9684
|
*/
|
|
8739
9685
|
var OrdersApiFactory = function (configuration, basePath, axios) {
|
|
8740
9686
|
var localVarFp = (0, exports.OrdersApiFp)(configuration);
|
|
@@ -8836,9 +9782,6 @@ var OrdersApiFactory = function (configuration, basePath, axios) {
|
|
|
8836
9782
|
exports.OrdersApiFactory = OrdersApiFactory;
|
|
8837
9783
|
/**
|
|
8838
9784
|
* OrdersApi - object-oriented interface
|
|
8839
|
-
* @export
|
|
8840
|
-
* @class OrdersApi
|
|
8841
|
-
* @extends {BaseAPI}
|
|
8842
9785
|
*/
|
|
8843
9786
|
var OrdersApi = /** @class */ (function (_super) {
|
|
8844
9787
|
__extends(OrdersApi, _super);
|
|
@@ -8851,7 +9794,6 @@ var OrdersApi = /** @class */ (function (_super) {
|
|
|
8851
9794
|
* @param {number} id Order ID
|
|
8852
9795
|
* @param {*} [options] Override http request option.
|
|
8853
9796
|
* @throws {RequiredError}
|
|
8854
|
-
* @memberof OrdersApi
|
|
8855
9797
|
*/
|
|
8856
9798
|
OrdersApi.prototype.deleteUpdateOrder = function (id, options) {
|
|
8857
9799
|
var _this = this;
|
|
@@ -8863,7 +9805,6 @@ var OrdersApi = /** @class */ (function (_super) {
|
|
|
8863
9805
|
* @param {number} id Order ID
|
|
8864
9806
|
* @param {*} [options] Override http request option.
|
|
8865
9807
|
* @throws {RequiredError}
|
|
8866
|
-
* @memberof OrdersApi
|
|
8867
9808
|
*/
|
|
8868
9809
|
OrdersApi.prototype.getGetAdminEditableOrder = function (id, options) {
|
|
8869
9810
|
var _this = this;
|
|
@@ -8875,7 +9816,6 @@ var OrdersApi = /** @class */ (function (_super) {
|
|
|
8875
9816
|
* @param {number} id Order ID
|
|
8876
9817
|
* @param {*} [options] Override http request option.
|
|
8877
9818
|
* @throws {RequiredError}
|
|
8878
|
-
* @memberof OrdersApi
|
|
8879
9819
|
*/
|
|
8880
9820
|
OrdersApi.prototype.getGetEditableOrder = function (id, options) {
|
|
8881
9821
|
var _this = this;
|
|
@@ -8893,7 +9833,6 @@ var OrdersApi = /** @class */ (function (_super) {
|
|
|
8893
9833
|
* @param {number | null} [customerId] Customer ID
|
|
8894
9834
|
* @param {*} [options] Override http request option.
|
|
8895
9835
|
* @throws {RequiredError}
|
|
8896
|
-
* @memberof OrdersApi
|
|
8897
9836
|
*/
|
|
8898
9837
|
OrdersApi.prototype.getGetOrders = function (pageSize, page, search, fulfillable, status, filter, customerId, options) {
|
|
8899
9838
|
var _this = this;
|
|
@@ -8906,7 +9845,6 @@ var OrdersApi = /** @class */ (function (_super) {
|
|
|
8906
9845
|
* @param {AdminOrderRequestDTO} [adminOrderRequestDTO] Admin Order Request
|
|
8907
9846
|
* @param {*} [options] Override http request option.
|
|
8908
9847
|
* @throws {RequiredError}
|
|
8909
|
-
* @memberof OrdersApi
|
|
8910
9848
|
*/
|
|
8911
9849
|
OrdersApi.prototype.postCreateAdminOrder = function (readonly, adminOrderRequestDTO, options) {
|
|
8912
9850
|
var _this = this;
|
|
@@ -8919,7 +9857,6 @@ var OrdersApi = /** @class */ (function (_super) {
|
|
|
8919
9857
|
* @param {CustomerOrderRequestDTO} [customerOrderRequestDTO] Order Request
|
|
8920
9858
|
* @param {*} [options] Override http request option.
|
|
8921
9859
|
* @throws {RequiredError}
|
|
8922
|
-
* @memberof OrdersApi
|
|
8923
9860
|
*/
|
|
8924
9861
|
OrdersApi.prototype.postGetOrders = function (readonly, customerOrderRequestDTO, options) {
|
|
8925
9862
|
var _this = this;
|
|
@@ -8933,7 +9870,6 @@ var OrdersApi = /** @class */ (function (_super) {
|
|
|
8933
9870
|
* @param {AdminOrderRequestDTO} [adminOrderRequestDTO] Order Request
|
|
8934
9871
|
* @param {*} [options] Override http request option.
|
|
8935
9872
|
* @throws {RequiredError}
|
|
8936
|
-
* @memberof OrdersApi
|
|
8937
9873
|
*/
|
|
8938
9874
|
OrdersApi.prototype.putUpdateAdminOrder = function (id, readonly, adminOrderRequestDTO, options) {
|
|
8939
9875
|
var _this = this;
|
|
@@ -8947,7 +9883,6 @@ var OrdersApi = /** @class */ (function (_super) {
|
|
|
8947
9883
|
* @param {CustomerOrderRequestDTO} [customerOrderRequestDTO] Order Request
|
|
8948
9884
|
* @param {*} [options] Override http request option.
|
|
8949
9885
|
* @throws {RequiredError}
|
|
8950
|
-
* @memberof OrdersApi
|
|
8951
9886
|
*/
|
|
8952
9887
|
OrdersApi.prototype.putUpdateOrder = function (id, readonly, customerOrderRequestDTO, options) {
|
|
8953
9888
|
var _this = this;
|
|
@@ -8956,18 +9891,12 @@ var OrdersApi = /** @class */ (function (_super) {
|
|
|
8956
9891
|
return OrdersApi;
|
|
8957
9892
|
}(base_1.BaseAPI));
|
|
8958
9893
|
exports.OrdersApi = OrdersApi;
|
|
8959
|
-
/**
|
|
8960
|
-
* @export
|
|
8961
|
-
*/
|
|
8962
9894
|
exports.GetGetOrdersStatusEnum = {
|
|
8963
9895
|
Paid: 'PAID',
|
|
8964
9896
|
InvoicePaid: 'INVOICE_PAID',
|
|
8965
9897
|
Unpaid: 'UNPAID',
|
|
8966
9898
|
Quote: 'QUOTE'
|
|
8967
9899
|
};
|
|
8968
|
-
/**
|
|
8969
|
-
* @export
|
|
8970
|
-
*/
|
|
8971
9900
|
exports.GetGetOrdersFilterEnum = {
|
|
8972
9901
|
Outstanding: 'OUTSTANDING',
|
|
8973
9902
|
Quotes: 'QUOTES',
|
|
@@ -8976,7 +9905,6 @@ exports.GetGetOrdersFilterEnum = {
|
|
|
8976
9905
|
};
|
|
8977
9906
|
/**
|
|
8978
9907
|
* PricingApi - axios parameter creator
|
|
8979
|
-
* @export
|
|
8980
9908
|
*/
|
|
8981
9909
|
var PricingApiAxiosParamCreator = function (configuration) {
|
|
8982
9910
|
var _this = this;
|
|
@@ -9100,7 +10028,6 @@ var PricingApiAxiosParamCreator = function (configuration) {
|
|
|
9100
10028
|
exports.PricingApiAxiosParamCreator = PricingApiAxiosParamCreator;
|
|
9101
10029
|
/**
|
|
9102
10030
|
* PricingApi - functional programming interface
|
|
9103
|
-
* @export
|
|
9104
10031
|
*/
|
|
9105
10032
|
var PricingApiFp = function (configuration) {
|
|
9106
10033
|
var localVarAxiosParamCreator = (0, exports.PricingApiAxiosParamCreator)(configuration);
|
|
@@ -9163,7 +10090,6 @@ var PricingApiFp = function (configuration) {
|
|
|
9163
10090
|
exports.PricingApiFp = PricingApiFp;
|
|
9164
10091
|
/**
|
|
9165
10092
|
* PricingApi - factory interface
|
|
9166
|
-
* @export
|
|
9167
10093
|
*/
|
|
9168
10094
|
var PricingApiFactory = function (configuration, basePath, axios) {
|
|
9169
10095
|
var localVarFp = (0, exports.PricingApiFp)(configuration);
|
|
@@ -9200,9 +10126,6 @@ var PricingApiFactory = function (configuration, basePath, axios) {
|
|
|
9200
10126
|
exports.PricingApiFactory = PricingApiFactory;
|
|
9201
10127
|
/**
|
|
9202
10128
|
* PricingApi - object-oriented interface
|
|
9203
|
-
* @export
|
|
9204
|
-
* @class PricingApi
|
|
9205
|
-
* @extends {BaseAPI}
|
|
9206
10129
|
*/
|
|
9207
10130
|
var PricingApi = /** @class */ (function (_super) {
|
|
9208
10131
|
__extends(PricingApi, _super);
|
|
@@ -9218,7 +10141,6 @@ var PricingApi = /** @class */ (function (_super) {
|
|
|
9218
10141
|
* @param {string} [customerId] Customer ID
|
|
9219
10142
|
* @param {*} [options] Override http request option.
|
|
9220
10143
|
* @throws {RequiredError}
|
|
9221
|
-
* @memberof PricingApi
|
|
9222
10144
|
*/
|
|
9223
10145
|
PricingApi.prototype.getGetPriceList = function (type, format, category, customerId, options) {
|
|
9224
10146
|
var _this = this;
|
|
@@ -9234,7 +10156,6 @@ var PricingApi = /** @class */ (function (_super) {
|
|
|
9234
10156
|
* @param {PostSendPriceListCategoryEnum} [category] Product Category
|
|
9235
10157
|
* @param {*} [options] Override http request option.
|
|
9236
10158
|
* @throws {RequiredError}
|
|
9237
|
-
* @memberof PricingApi
|
|
9238
10159
|
*/
|
|
9239
10160
|
PricingApi.prototype.postSendPriceList = function (email, customerId, type, format, category, options) {
|
|
9240
10161
|
var _this = this;
|
|
@@ -9243,9 +10164,6 @@ var PricingApi = /** @class */ (function (_super) {
|
|
|
9243
10164
|
return PricingApi;
|
|
9244
10165
|
}(base_1.BaseAPI));
|
|
9245
10166
|
exports.PricingApi = PricingApi;
|
|
9246
|
-
/**
|
|
9247
|
-
* @export
|
|
9248
|
-
*/
|
|
9249
10167
|
exports.GetGetPriceListTypeEnum = {
|
|
9250
10168
|
Products: 'Products',
|
|
9251
10169
|
StockProducts: 'Stock Products',
|
|
@@ -9256,9 +10174,6 @@ exports.GetGetPriceListTypeEnum = {
|
|
|
9256
10174
|
Sms: 'SMS',
|
|
9257
10175
|
SipTrunks: 'SIP Trunks'
|
|
9258
10176
|
};
|
|
9259
|
-
/**
|
|
9260
|
-
* @export
|
|
9261
|
-
*/
|
|
9262
10177
|
exports.GetGetPriceListFormatEnum = {
|
|
9263
10178
|
Pdf: 'pdf',
|
|
9264
10179
|
Json: 'json',
|
|
@@ -9266,9 +10181,6 @@ exports.GetGetPriceListFormatEnum = {
|
|
|
9266
10181
|
Xml: 'xml',
|
|
9267
10182
|
Html: 'html'
|
|
9268
10183
|
};
|
|
9269
|
-
/**
|
|
9270
|
-
* @export
|
|
9271
|
-
*/
|
|
9272
10184
|
exports.GetGetPriceListCategoryEnum = {
|
|
9273
10185
|
Yealink: 'Yealink',
|
|
9274
10186
|
Mairdi: 'Mairdi',
|
|
@@ -9291,9 +10203,6 @@ exports.GetGetPriceListCategoryEnum = {
|
|
|
9291
10203
|
FanvilAccessories: 'Fanvil Accessories',
|
|
9292
10204
|
FanvilHotelPhones: 'Fanvil Hotel Phones'
|
|
9293
10205
|
};
|
|
9294
|
-
/**
|
|
9295
|
-
* @export
|
|
9296
|
-
*/
|
|
9297
10206
|
exports.PostSendPriceListTypeEnum = {
|
|
9298
10207
|
Products: 'Products',
|
|
9299
10208
|
StockProducts: 'Stock Products',
|
|
@@ -9304,9 +10213,6 @@ exports.PostSendPriceListTypeEnum = {
|
|
|
9304
10213
|
Sms: 'SMS',
|
|
9305
10214
|
SipTrunks: 'SIP Trunks'
|
|
9306
10215
|
};
|
|
9307
|
-
/**
|
|
9308
|
-
* @export
|
|
9309
|
-
*/
|
|
9310
10216
|
exports.PostSendPriceListFormatEnum = {
|
|
9311
10217
|
Pdf: 'pdf',
|
|
9312
10218
|
Json: 'json',
|
|
@@ -9314,9 +10220,6 @@ exports.PostSendPriceListFormatEnum = {
|
|
|
9314
10220
|
Xml: 'xml',
|
|
9315
10221
|
Html: 'html'
|
|
9316
10222
|
};
|
|
9317
|
-
/**
|
|
9318
|
-
* @export
|
|
9319
|
-
*/
|
|
9320
10223
|
exports.PostSendPriceListCategoryEnum = {
|
|
9321
10224
|
Yealink: 'Yealink',
|
|
9322
10225
|
Mairdi: 'Mairdi',
|
|
@@ -9341,7 +10244,6 @@ exports.PostSendPriceListCategoryEnum = {
|
|
|
9341
10244
|
};
|
|
9342
10245
|
/**
|
|
9343
10246
|
* ProductsApi - axios parameter creator
|
|
9344
|
-
* @export
|
|
9345
10247
|
*/
|
|
9346
10248
|
var ProductsApiAxiosParamCreator = function (configuration) {
|
|
9347
10249
|
var _this = this;
|
|
@@ -9658,7 +10560,6 @@ var ProductsApiAxiosParamCreator = function (configuration) {
|
|
|
9658
10560
|
exports.ProductsApiAxiosParamCreator = ProductsApiAxiosParamCreator;
|
|
9659
10561
|
/**
|
|
9660
10562
|
* ProductsApi - functional programming interface
|
|
9661
|
-
* @export
|
|
9662
10563
|
*/
|
|
9663
10564
|
var ProductsApiFp = function (configuration) {
|
|
9664
10565
|
var localVarAxiosParamCreator = (0, exports.ProductsApiAxiosParamCreator)(configuration);
|
|
@@ -9854,7 +10755,6 @@ var ProductsApiFp = function (configuration) {
|
|
|
9854
10755
|
exports.ProductsApiFp = ProductsApiFp;
|
|
9855
10756
|
/**
|
|
9856
10757
|
* ProductsApi - factory interface
|
|
9857
|
-
* @export
|
|
9858
10758
|
*/
|
|
9859
10759
|
var ProductsApiFactory = function (configuration, basePath, axios) {
|
|
9860
10760
|
var localVarFp = (0, exports.ProductsApiFp)(configuration);
|
|
@@ -9946,9 +10846,6 @@ var ProductsApiFactory = function (configuration, basePath, axios) {
|
|
|
9946
10846
|
exports.ProductsApiFactory = ProductsApiFactory;
|
|
9947
10847
|
/**
|
|
9948
10848
|
* ProductsApi - object-oriented interface
|
|
9949
|
-
* @export
|
|
9950
|
-
* @class ProductsApi
|
|
9951
|
-
* @extends {BaseAPI}
|
|
9952
10849
|
*/
|
|
9953
10850
|
var ProductsApi = /** @class */ (function (_super) {
|
|
9954
10851
|
__extends(ProductsApi, _super);
|
|
@@ -9960,7 +10857,6 @@ var ProductsApi = /** @class */ (function (_super) {
|
|
|
9960
10857
|
* @summary Get Attribute Sets
|
|
9961
10858
|
* @param {*} [options] Override http request option.
|
|
9962
10859
|
* @throws {RequiredError}
|
|
9963
|
-
* @memberof ProductsApi
|
|
9964
10860
|
*/
|
|
9965
10861
|
ProductsApi.prototype.getGetAttributeSets = function (options) {
|
|
9966
10862
|
var _this = this;
|
|
@@ -9973,7 +10869,6 @@ var ProductsApi = /** @class */ (function (_super) {
|
|
|
9973
10869
|
* @param {*} [options] Override http request option.
|
|
9974
10870
|
* @deprecated
|
|
9975
10871
|
* @throws {RequiredError}
|
|
9976
|
-
* @memberof ProductsApi
|
|
9977
10872
|
*/
|
|
9978
10873
|
ProductsApi.prototype.getGetLegacyStockList = function (format, options) {
|
|
9979
10874
|
var _this = this;
|
|
@@ -9984,7 +10879,6 @@ var ProductsApi = /** @class */ (function (_super) {
|
|
|
9984
10879
|
* @summary Get Products
|
|
9985
10880
|
* @param {*} [options] Override http request option.
|
|
9986
10881
|
* @throws {RequiredError}
|
|
9987
|
-
* @memberof ProductsApi
|
|
9988
10882
|
*/
|
|
9989
10883
|
ProductsApi.prototype.getGetProducts = function (options) {
|
|
9990
10884
|
var _this = this;
|
|
@@ -9995,7 +10889,6 @@ var ProductsApi = /** @class */ (function (_super) {
|
|
|
9995
10889
|
* @summary Get Current Stock & Pricing
|
|
9996
10890
|
* @param {*} [options] Override http request option.
|
|
9997
10891
|
* @throws {RequiredError}
|
|
9998
|
-
* @memberof ProductsApi
|
|
9999
10892
|
*/
|
|
10000
10893
|
ProductsApi.prototype.getGetStockList = function (options) {
|
|
10001
10894
|
var _this = this;
|
|
@@ -10006,7 +10899,6 @@ var ProductsApi = /** @class */ (function (_super) {
|
|
|
10006
10899
|
* @summary Get 3CX Templates
|
|
10007
10900
|
* @param {*} [options] Override http request option.
|
|
10008
10901
|
* @throws {RequiredError}
|
|
10009
|
-
* @memberof ProductsApi
|
|
10010
10902
|
*/
|
|
10011
10903
|
ProductsApi.prototype.getGetTcxTemplates = function (options) {
|
|
10012
10904
|
var _this = this;
|
|
@@ -10020,7 +10912,6 @@ var ProductsApi = /** @class */ (function (_super) {
|
|
|
10020
10912
|
* @param {string} [search] Search
|
|
10021
10913
|
* @param {*} [options] Override http request option.
|
|
10022
10914
|
* @throws {RequiredError}
|
|
10023
|
-
* @memberof ProductsApi
|
|
10024
10915
|
*/
|
|
10025
10916
|
ProductsApi.prototype.getSearchProducts = function (pageSize, page, search, options) {
|
|
10026
10917
|
var _this = this;
|
|
@@ -10033,7 +10924,6 @@ var ProductsApi = /** @class */ (function (_super) {
|
|
|
10033
10924
|
* @param {PostGetProductRequest} postGetProductRequest Product search criteria
|
|
10034
10925
|
* @param {*} [options] Override http request option.
|
|
10035
10926
|
* @throws {RequiredError}
|
|
10036
|
-
* @memberof ProductsApi
|
|
10037
10927
|
*/
|
|
10038
10928
|
ProductsApi.prototype.postGetProduct = function (sku, postGetProductRequest, options) {
|
|
10039
10929
|
var _this = this;
|
|
@@ -10047,7 +10937,6 @@ var ProductsApi = /** @class */ (function (_super) {
|
|
|
10047
10937
|
* @param {PostGetProductForCustomerRequest} postGetProductForCustomerRequest Product search criteria
|
|
10048
10938
|
* @param {*} [options] Override http request option.
|
|
10049
10939
|
* @throws {RequiredError}
|
|
10050
|
-
* @memberof ProductsApi
|
|
10051
10940
|
*/
|
|
10052
10941
|
ProductsApi.prototype.postGetProductForCustomer = function (customerId, sku, postGetProductForCustomerRequest, options) {
|
|
10053
10942
|
var _this = this;
|
|
@@ -10056,16 +10945,12 @@ var ProductsApi = /** @class */ (function (_super) {
|
|
|
10056
10945
|
return ProductsApi;
|
|
10057
10946
|
}(base_1.BaseAPI));
|
|
10058
10947
|
exports.ProductsApi = ProductsApi;
|
|
10059
|
-
/**
|
|
10060
|
-
* @export
|
|
10061
|
-
*/
|
|
10062
10948
|
exports.GetGetLegacyStockListFormatEnum = {
|
|
10063
10949
|
Xml: 'XML',
|
|
10064
10950
|
Csv: 'CSV'
|
|
10065
10951
|
};
|
|
10066
10952
|
/**
|
|
10067
10953
|
* ProvisioningApi - axios parameter creator
|
|
10068
|
-
* @export
|
|
10069
10954
|
*/
|
|
10070
10955
|
var ProvisioningApiAxiosParamCreator = function (configuration) {
|
|
10071
10956
|
var _this = this;
|
|
@@ -10345,7 +11230,6 @@ var ProvisioningApiAxiosParamCreator = function (configuration) {
|
|
|
10345
11230
|
exports.ProvisioningApiAxiosParamCreator = ProvisioningApiAxiosParamCreator;
|
|
10346
11231
|
/**
|
|
10347
11232
|
* ProvisioningApi - functional programming interface
|
|
10348
|
-
* @export
|
|
10349
11233
|
*/
|
|
10350
11234
|
var ProvisioningApiFp = function (configuration) {
|
|
10351
11235
|
var localVarAxiosParamCreator = (0, exports.ProvisioningApiAxiosParamCreator)(configuration);
|
|
@@ -10519,7 +11403,6 @@ var ProvisioningApiFp = function (configuration) {
|
|
|
10519
11403
|
exports.ProvisioningApiFp = ProvisioningApiFp;
|
|
10520
11404
|
/**
|
|
10521
11405
|
* ProvisioningApi - factory interface
|
|
10522
|
-
* @export
|
|
10523
11406
|
*/
|
|
10524
11407
|
var ProvisioningApiFactory = function (configuration, basePath, axios) {
|
|
10525
11408
|
var localVarFp = (0, exports.ProvisioningApiFp)(configuration);
|
|
@@ -10602,9 +11485,6 @@ var ProvisioningApiFactory = function (configuration, basePath, axios) {
|
|
|
10602
11485
|
exports.ProvisioningApiFactory = ProvisioningApiFactory;
|
|
10603
11486
|
/**
|
|
10604
11487
|
* ProvisioningApi - object-oriented interface
|
|
10605
|
-
* @export
|
|
10606
|
-
* @class ProvisioningApi
|
|
10607
|
-
* @extends {BaseAPI}
|
|
10608
11488
|
*/
|
|
10609
11489
|
var ProvisioningApi = /** @class */ (function (_super) {
|
|
10610
11490
|
__extends(ProvisioningApi, _super);
|
|
@@ -10618,7 +11498,6 @@ var ProvisioningApi = /** @class */ (function (_super) {
|
|
|
10618
11498
|
* @param {string} mac MAC Address
|
|
10619
11499
|
* @param {*} [options] Override http request option.
|
|
10620
11500
|
* @throws {RequiredError}
|
|
10621
|
-
* @memberof ProvisioningApi
|
|
10622
11501
|
*/
|
|
10623
11502
|
ProvisioningApi.prototype.deleteAddFanvilMac = function (id, mac, options) {
|
|
10624
11503
|
var _this = this;
|
|
@@ -10630,7 +11509,6 @@ var ProvisioningApi = /** @class */ (function (_super) {
|
|
|
10630
11509
|
* @param {string} id Group ID
|
|
10631
11510
|
* @param {*} [options] Override http request option.
|
|
10632
11511
|
* @throws {RequiredError}
|
|
10633
|
-
* @memberof ProvisioningApi
|
|
10634
11512
|
*/
|
|
10635
11513
|
ProvisioningApi.prototype.deleteDeleteFanvilGroup = function (id, options) {
|
|
10636
11514
|
var _this = this;
|
|
@@ -10643,7 +11521,6 @@ var ProvisioningApi = /** @class */ (function (_super) {
|
|
|
10643
11521
|
* @param {string} mac MAC Address
|
|
10644
11522
|
* @param {*} [options] Override http request option.
|
|
10645
11523
|
* @throws {RequiredError}
|
|
10646
|
-
* @memberof ProvisioningApi
|
|
10647
11524
|
*/
|
|
10648
11525
|
ProvisioningApi.prototype.getGetFanvilEncryptionKey = function (id, mac, options) {
|
|
10649
11526
|
var _this = this;
|
|
@@ -10655,7 +11532,6 @@ var ProvisioningApi = /** @class */ (function (_super) {
|
|
|
10655
11532
|
* @param {string} id Group ID
|
|
10656
11533
|
* @param {*} [options] Override http request option.
|
|
10657
11534
|
* @throws {RequiredError}
|
|
10658
|
-
* @memberof ProvisioningApi
|
|
10659
11535
|
*/
|
|
10660
11536
|
ProvisioningApi.prototype.getGetFanvilGroupMacs = function (id, options) {
|
|
10661
11537
|
var _this = this;
|
|
@@ -10667,7 +11543,6 @@ var ProvisioningApi = /** @class */ (function (_super) {
|
|
|
10667
11543
|
* @param {string} [id] Customer ID
|
|
10668
11544
|
* @param {*} [options] Override http request option.
|
|
10669
11545
|
* @throws {RequiredError}
|
|
10670
|
-
* @memberof ProvisioningApi
|
|
10671
11546
|
*/
|
|
10672
11547
|
ProvisioningApi.prototype.getGetGroups = function (id, options) {
|
|
10673
11548
|
var _this = this;
|
|
@@ -10679,7 +11554,6 @@ var ProvisioningApi = /** @class */ (function (_super) {
|
|
|
10679
11554
|
* @param {ProvisioningRequestEntity} [provisioningRequestEntity] Provisioning Group Request
|
|
10680
11555
|
* @param {*} [options] Override http request option.
|
|
10681
11556
|
* @throws {RequiredError}
|
|
10682
|
-
* @memberof ProvisioningApi
|
|
10683
11557
|
*/
|
|
10684
11558
|
ProvisioningApi.prototype.postAddFanvilGroup = function (provisioningRequestEntity, options) {
|
|
10685
11559
|
var _this = this;
|
|
@@ -10692,7 +11566,6 @@ var ProvisioningApi = /** @class */ (function (_super) {
|
|
|
10692
11566
|
* @param {string} mac MAC Address
|
|
10693
11567
|
* @param {*} [options] Override http request option.
|
|
10694
11568
|
* @throws {RequiredError}
|
|
10695
|
-
* @memberof ProvisioningApi
|
|
10696
11569
|
*/
|
|
10697
11570
|
ProvisioningApi.prototype.postAddFanvilMac = function (id, mac, options) {
|
|
10698
11571
|
var _this = this;
|
|
@@ -10703,7 +11576,6 @@ var ProvisioningApi = /** @class */ (function (_super) {
|
|
|
10703
11576
|
exports.ProvisioningApi = ProvisioningApi;
|
|
10704
11577
|
/**
|
|
10705
11578
|
* SIPTrunksApi - axios parameter creator
|
|
10706
|
-
* @export
|
|
10707
11579
|
*/
|
|
10708
11580
|
var SIPTrunksApiAxiosParamCreator = function (configuration) {
|
|
10709
11581
|
var _this = this;
|
|
@@ -11587,7 +12459,6 @@ var SIPTrunksApiAxiosParamCreator = function (configuration) {
|
|
|
11587
12459
|
exports.SIPTrunksApiAxiosParamCreator = SIPTrunksApiAxiosParamCreator;
|
|
11588
12460
|
/**
|
|
11589
12461
|
* SIPTrunksApi - functional programming interface
|
|
11590
|
-
* @export
|
|
11591
12462
|
*/
|
|
11592
12463
|
var SIPTrunksApiFp = function (configuration) {
|
|
11593
12464
|
var localVarAxiosParamCreator = (0, exports.SIPTrunksApiAxiosParamCreator)(configuration);
|
|
@@ -12116,7 +12987,6 @@ var SIPTrunksApiFp = function (configuration) {
|
|
|
12116
12987
|
exports.SIPTrunksApiFp = SIPTrunksApiFp;
|
|
12117
12988
|
/**
|
|
12118
12989
|
* SIPTrunksApi - factory interface
|
|
12119
|
-
* @export
|
|
12120
12990
|
*/
|
|
12121
12991
|
var SIPTrunksApiFactory = function (configuration, basePath, axios) {
|
|
12122
12992
|
var localVarFp = (0, exports.SIPTrunksApiFp)(configuration);
|
|
@@ -12359,9 +13229,6 @@ var SIPTrunksApiFactory = function (configuration, basePath, axios) {
|
|
|
12359
13229
|
exports.SIPTrunksApiFactory = SIPTrunksApiFactory;
|
|
12360
13230
|
/**
|
|
12361
13231
|
* SIPTrunksApi - object-oriented interface
|
|
12362
|
-
* @export
|
|
12363
|
-
* @class SIPTrunksApi
|
|
12364
|
-
* @extends {BaseAPI}
|
|
12365
13232
|
*/
|
|
12366
13233
|
var SIPTrunksApi = /** @class */ (function (_super) {
|
|
12367
13234
|
__extends(SIPTrunksApi, _super);
|
|
@@ -12374,7 +13241,6 @@ var SIPTrunksApi = /** @class */ (function (_super) {
|
|
|
12374
13241
|
* @param {number} id SIP Trunk ID
|
|
12375
13242
|
* @param {*} [options] Override http request option.
|
|
12376
13243
|
* @throws {RequiredError}
|
|
12377
|
-
* @memberof SIPTrunksApi
|
|
12378
13244
|
*/
|
|
12379
13245
|
SIPTrunksApi.prototype.deleteGetSipTrunk = function (id, options) {
|
|
12380
13246
|
var _this = this;
|
|
@@ -12386,7 +13252,6 @@ var SIPTrunksApi = /** @class */ (function (_super) {
|
|
|
12386
13252
|
* @param {number} id SIP Trunk ID
|
|
12387
13253
|
* @param {*} [options] Override http request option.
|
|
12388
13254
|
* @throws {RequiredError}
|
|
12389
|
-
* @memberof SIPTrunksApi
|
|
12390
13255
|
*/
|
|
12391
13256
|
SIPTrunksApi.prototype.getCanDivert = function (id, options) {
|
|
12392
13257
|
var _this = this;
|
|
@@ -12398,7 +13263,6 @@ var SIPTrunksApi = /** @class */ (function (_super) {
|
|
|
12398
13263
|
* @param {number} id SIP Trunk ID
|
|
12399
13264
|
* @param {*} [options] Override http request option.
|
|
12400
13265
|
* @throws {RequiredError}
|
|
12401
|
-
* @memberof SIPTrunksApi
|
|
12402
13266
|
*/
|
|
12403
13267
|
SIPTrunksApi.prototype.getGetAddress = function (id, options) {
|
|
12404
13268
|
var _this = this;
|
|
@@ -12409,7 +13273,6 @@ var SIPTrunksApi = /** @class */ (function (_super) {
|
|
|
12409
13273
|
* @summary Get UK National Area Codes
|
|
12410
13274
|
* @param {*} [options] Override http request option.
|
|
12411
13275
|
* @throws {RequiredError}
|
|
12412
|
-
* @memberof SIPTrunksApi
|
|
12413
13276
|
*/
|
|
12414
13277
|
SIPTrunksApi.prototype.getGetAreaCodes = function (options) {
|
|
12415
13278
|
var _this = this;
|
|
@@ -12421,7 +13284,6 @@ var SIPTrunksApi = /** @class */ (function (_super) {
|
|
|
12421
13284
|
* @param {number} id SIP Trunk ID
|
|
12422
13285
|
* @param {*} [options] Override http request option.
|
|
12423
13286
|
* @throws {RequiredError}
|
|
12424
|
-
* @memberof SIPTrunksApi
|
|
12425
13287
|
*/
|
|
12426
13288
|
SIPTrunksApi.prototype.getGetCliFlexibility = function (id, options) {
|
|
12427
13289
|
var _this = this;
|
|
@@ -12433,7 +13295,6 @@ var SIPTrunksApi = /** @class */ (function (_super) {
|
|
|
12433
13295
|
* @param {number} id SIP Trunk ID
|
|
12434
13296
|
* @param {*} [options] Override http request option.
|
|
12435
13297
|
* @throws {RequiredError}
|
|
12436
|
-
* @memberof SIPTrunksApi
|
|
12437
13298
|
*/
|
|
12438
13299
|
SIPTrunksApi.prototype.getGetDdis = function (id, options) {
|
|
12439
13300
|
var _this = this;
|
|
@@ -12446,7 +13307,6 @@ var SIPTrunksApi = /** @class */ (function (_super) {
|
|
|
12446
13307
|
* @param {boolean} [enabled] Enabled Diverts
|
|
12447
13308
|
* @param {*} [options] Override http request option.
|
|
12448
13309
|
* @throws {RequiredError}
|
|
12449
|
-
* @memberof SIPTrunksApi
|
|
12450
13310
|
*/
|
|
12451
13311
|
SIPTrunksApi.prototype.getGetDiverts = function (id, enabled, options) {
|
|
12452
13312
|
var _this = this;
|
|
@@ -12458,7 +13318,6 @@ var SIPTrunksApi = /** @class */ (function (_super) {
|
|
|
12458
13318
|
* @param {number} id SIP Trunk ID
|
|
12459
13319
|
* @param {*} [options] Override http request option.
|
|
12460
13320
|
* @throws {RequiredError}
|
|
12461
|
-
* @memberof SIPTrunksApi
|
|
12462
13321
|
*/
|
|
12463
13322
|
SIPTrunksApi.prototype.getGetSipTrunk = function (id, options) {
|
|
12464
13323
|
var _this = this;
|
|
@@ -12472,7 +13331,6 @@ var SIPTrunksApi = /** @class */ (function (_super) {
|
|
|
12472
13331
|
* @param {string} [search] Search
|
|
12473
13332
|
* @param {*} [options] Override http request option.
|
|
12474
13333
|
* @throws {RequiredError}
|
|
12475
|
-
* @memberof SIPTrunksApi
|
|
12476
13334
|
*/
|
|
12477
13335
|
SIPTrunksApi.prototype.getGetSipTrunks = function (pageSize, page, search, options) {
|
|
12478
13336
|
var _this = this;
|
|
@@ -12485,7 +13343,6 @@ var SIPTrunksApi = /** @class */ (function (_super) {
|
|
|
12485
13343
|
* @param {boolean} enabled Enabled
|
|
12486
13344
|
* @param {*} [options] Override http request option.
|
|
12487
13345
|
* @throws {RequiredError}
|
|
12488
|
-
* @memberof SIPTrunksApi
|
|
12489
13346
|
*/
|
|
12490
13347
|
SIPTrunksApi.prototype.patchGetCliFlexibility = function (id, enabled, options) {
|
|
12491
13348
|
var _this = this;
|
|
@@ -12497,7 +13354,6 @@ var SIPTrunksApi = /** @class */ (function (_super) {
|
|
|
12497
13354
|
* @param {number} id SIP Trunk ID
|
|
12498
13355
|
* @param {*} [options] Override http request option.
|
|
12499
13356
|
* @throws {RequiredError}
|
|
12500
|
-
* @memberof SIPTrunksApi
|
|
12501
13357
|
*/
|
|
12502
13358
|
SIPTrunksApi.prototype.patchSetAsAvailable = function (id, options) {
|
|
12503
13359
|
var _this = this;
|
|
@@ -12511,7 +13367,6 @@ var SIPTrunksApi = /** @class */ (function (_super) {
|
|
|
12511
13367
|
* @param {number} [billingCustomerId] Billing Customer ID
|
|
12512
13368
|
* @param {*} [options] Override http request option.
|
|
12513
13369
|
* @throws {RequiredError}
|
|
12514
|
-
* @memberof SIPTrunksApi
|
|
12515
13370
|
*/
|
|
12516
13371
|
SIPTrunksApi.prototype.patchSetOwnership = function (id, ownerId, billingCustomerId, options) {
|
|
12517
13372
|
var _this = this;
|
|
@@ -12524,7 +13379,6 @@ var SIPTrunksApi = /** @class */ (function (_super) {
|
|
|
12524
13379
|
* @param {number} channels SIP Channels
|
|
12525
13380
|
* @param {*} [options] Override http request option.
|
|
12526
13381
|
* @throws {RequiredError}
|
|
12527
|
-
* @memberof SIPTrunksApi
|
|
12528
13382
|
*/
|
|
12529
13383
|
SIPTrunksApi.prototype.patchUpdateChannelCount = function (id, channels, options) {
|
|
12530
13384
|
var _this = this;
|
|
@@ -12537,7 +13391,6 @@ var SIPTrunksApi = /** @class */ (function (_super) {
|
|
|
12537
13391
|
* @param {string} company Company Name
|
|
12538
13392
|
* @param {*} [options] Override http request option.
|
|
12539
13393
|
* @throws {RequiredError}
|
|
12540
|
-
* @memberof SIPTrunksApi
|
|
12541
13394
|
*/
|
|
12542
13395
|
SIPTrunksApi.prototype.patchUpdateCompanyName = function (id, company, options) {
|
|
12543
13396
|
var _this = this;
|
|
@@ -12550,7 +13403,6 @@ var SIPTrunksApi = /** @class */ (function (_super) {
|
|
|
12550
13403
|
* @param {string} number Main Trunk Number
|
|
12551
13404
|
* @param {*} [options] Override http request option.
|
|
12552
13405
|
* @throws {RequiredError}
|
|
12553
|
-
* @memberof SIPTrunksApi
|
|
12554
13406
|
*/
|
|
12555
13407
|
SIPTrunksApi.prototype.patchUpdateMainTrunkNumber = function (id, number, options) {
|
|
12556
13408
|
var _this = this;
|
|
@@ -12563,7 +13415,6 @@ var SIPTrunksApi = /** @class */ (function (_super) {
|
|
|
12563
13415
|
* @param {string} ipAddress PBX IP Address
|
|
12564
13416
|
* @param {*} [options] Override http request option.
|
|
12565
13417
|
* @throws {RequiredError}
|
|
12566
|
-
* @memberof SIPTrunksApi
|
|
12567
13418
|
*/
|
|
12568
13419
|
SIPTrunksApi.prototype.patchUpdatePbxIPAddress = function (id, ipAddress, options) {
|
|
12569
13420
|
var _this = this;
|
|
@@ -12576,7 +13427,6 @@ var SIPTrunksApi = /** @class */ (function (_super) {
|
|
|
12576
13427
|
* @param {DdiRangesRequestModel} [ddiRangesRequestModel] DDI Request
|
|
12577
13428
|
* @param {*} [options] Override http request option.
|
|
12578
13429
|
* @throws {RequiredError}
|
|
12579
|
-
* @memberof SIPTrunksApi
|
|
12580
13430
|
*/
|
|
12581
13431
|
SIPTrunksApi.prototype.postGetDdis = function (id, ddiRangesRequestModel, options) {
|
|
12582
13432
|
var _this = this;
|
|
@@ -12588,7 +13438,6 @@ var SIPTrunksApi = /** @class */ (function (_super) {
|
|
|
12588
13438
|
* @param {SipTrunkChangeResponseModel} [sipTrunkChangeResponseModel] Change Request
|
|
12589
13439
|
* @param {*} [options] Override http request option.
|
|
12590
13440
|
* @throws {RequiredError}
|
|
12591
|
-
* @memberof SIPTrunksApi
|
|
12592
13441
|
*/
|
|
12593
13442
|
SIPTrunksApi.prototype.postGetRequestedDdis = function (sipTrunkChangeResponseModel, options) {
|
|
12594
13443
|
var _this = this;
|
|
@@ -12600,7 +13449,6 @@ var SIPTrunksApi = /** @class */ (function (_super) {
|
|
|
12600
13449
|
* @param {SipTrunkCreationRequestModel} [sipTrunkCreationRequestModel] New SIP Trunk Request
|
|
12601
13450
|
* @param {*} [options] Override http request option.
|
|
12602
13451
|
* @throws {RequiredError}
|
|
12603
|
-
* @memberof SIPTrunksApi
|
|
12604
13452
|
*/
|
|
12605
13453
|
SIPTrunksApi.prototype.postGetSipTrunks = function (sipTrunkCreationRequestModel, options) {
|
|
12606
13454
|
var _this = this;
|
|
@@ -12612,7 +13460,6 @@ var SIPTrunksApi = /** @class */ (function (_super) {
|
|
|
12612
13460
|
* @param {SipTrunkChangeResponseModel} [sipTrunkChangeResponseModel] Change Request
|
|
12613
13461
|
* @param {*} [options] Override http request option.
|
|
12614
13462
|
* @throws {RequiredError}
|
|
12615
|
-
* @memberof SIPTrunksApi
|
|
12616
13463
|
*/
|
|
12617
13464
|
SIPTrunksApi.prototype.postTrackChange = function (sipTrunkChangeResponseModel, options) {
|
|
12618
13465
|
var _this = this;
|
|
@@ -12625,7 +13472,6 @@ var SIPTrunksApi = /** @class */ (function (_super) {
|
|
|
12625
13472
|
* @param {AddressRequestModel} [addressRequestModel] Address Request
|
|
12626
13473
|
* @param {*} [options] Override http request option.
|
|
12627
13474
|
* @throws {RequiredError}
|
|
12628
|
-
* @memberof SIPTrunksApi
|
|
12629
13475
|
*/
|
|
12630
13476
|
SIPTrunksApi.prototype.putGetAddress = function (id, addressRequestModel, options) {
|
|
12631
13477
|
var _this = this;
|
|
@@ -12639,7 +13485,6 @@ var SIPTrunksApi = /** @class */ (function (_super) {
|
|
|
12639
13485
|
* @param {DivertRequestModel} [divertRequestModel] Divert Request
|
|
12640
13486
|
* @param {*} [options] Override http request option.
|
|
12641
13487
|
* @throws {RequiredError}
|
|
12642
|
-
* @memberof SIPTrunksApi
|
|
12643
13488
|
*/
|
|
12644
13489
|
SIPTrunksApi.prototype.putGetDiverts = function (id, enabled, divertRequestModel, options) {
|
|
12645
13490
|
var _this = this;
|
|
@@ -12650,7 +13495,6 @@ var SIPTrunksApi = /** @class */ (function (_super) {
|
|
|
12650
13495
|
exports.SIPTrunksApi = SIPTrunksApi;
|
|
12651
13496
|
/**
|
|
12652
13497
|
* SMSApi - axios parameter creator
|
|
12653
|
-
* @export
|
|
12654
13498
|
*/
|
|
12655
13499
|
var SMSApiAxiosParamCreator = function (configuration) {
|
|
12656
13500
|
var _this = this;
|
|
@@ -12701,7 +13545,6 @@ var SMSApiAxiosParamCreator = function (configuration) {
|
|
|
12701
13545
|
exports.SMSApiAxiosParamCreator = SMSApiAxiosParamCreator;
|
|
12702
13546
|
/**
|
|
12703
13547
|
* SMSApi - functional programming interface
|
|
12704
|
-
* @export
|
|
12705
13548
|
*/
|
|
12706
13549
|
var SMSApiFp = function (configuration) {
|
|
12707
13550
|
var localVarAxiosParamCreator = (0, exports.SMSApiAxiosParamCreator)(configuration);
|
|
@@ -12734,7 +13577,6 @@ var SMSApiFp = function (configuration) {
|
|
|
12734
13577
|
exports.SMSApiFp = SMSApiFp;
|
|
12735
13578
|
/**
|
|
12736
13579
|
* SMSApi - factory interface
|
|
12737
|
-
* @export
|
|
12738
13580
|
*/
|
|
12739
13581
|
var SMSApiFactory = function (configuration, basePath, axios) {
|
|
12740
13582
|
var localVarFp = (0, exports.SMSApiFp)(configuration);
|
|
@@ -12754,9 +13596,6 @@ var SMSApiFactory = function (configuration, basePath, axios) {
|
|
|
12754
13596
|
exports.SMSApiFactory = SMSApiFactory;
|
|
12755
13597
|
/**
|
|
12756
13598
|
* SMSApi - object-oriented interface
|
|
12757
|
-
* @export
|
|
12758
|
-
* @class SMSApi
|
|
12759
|
-
* @extends {BaseAPI}
|
|
12760
13599
|
*/
|
|
12761
13600
|
var SMSApi = /** @class */ (function (_super) {
|
|
12762
13601
|
__extends(SMSApi, _super);
|
|
@@ -12769,7 +13608,6 @@ var SMSApi = /** @class */ (function (_super) {
|
|
|
12769
13608
|
* @param {SmsMessageModel} [smsMessageModel] SMS Message
|
|
12770
13609
|
* @param {*} [options] Override http request option.
|
|
12771
13610
|
* @throws {RequiredError}
|
|
12772
|
-
* @memberof SMSApi
|
|
12773
13611
|
*/
|
|
12774
13612
|
SMSApi.prototype.postSendSms = function (authorization, smsMessageModel, options) {
|
|
12775
13613
|
var _this = this;
|
|
@@ -12780,7 +13618,6 @@ var SMSApi = /** @class */ (function (_super) {
|
|
|
12780
13618
|
exports.SMSApi = SMSApi;
|
|
12781
13619
|
/**
|
|
12782
13620
|
* ShippingApi - axios parameter creator
|
|
12783
|
-
* @export
|
|
12784
13621
|
*/
|
|
12785
13622
|
var ShippingApiAxiosParamCreator = function (configuration) {
|
|
12786
13623
|
var _this = this;
|
|
@@ -12868,7 +13705,6 @@ var ShippingApiAxiosParamCreator = function (configuration) {
|
|
|
12868
13705
|
exports.ShippingApiAxiosParamCreator = ShippingApiAxiosParamCreator;
|
|
12869
13706
|
/**
|
|
12870
13707
|
* ShippingApi - functional programming interface
|
|
12871
|
-
* @export
|
|
12872
13708
|
*/
|
|
12873
13709
|
var ShippingApiFp = function (configuration) {
|
|
12874
13710
|
var localVarAxiosParamCreator = (0, exports.ShippingApiAxiosParamCreator)(configuration);
|
|
@@ -12925,7 +13761,6 @@ var ShippingApiFp = function (configuration) {
|
|
|
12925
13761
|
exports.ShippingApiFp = ShippingApiFp;
|
|
12926
13762
|
/**
|
|
12927
13763
|
* ShippingApi - factory interface
|
|
12928
|
-
* @export
|
|
12929
13764
|
*/
|
|
12930
13765
|
var ShippingApiFactory = function (configuration, basePath, axios) {
|
|
12931
13766
|
var localVarFp = (0, exports.ShippingApiFp)(configuration);
|
|
@@ -12956,9 +13791,6 @@ var ShippingApiFactory = function (configuration, basePath, axios) {
|
|
|
12956
13791
|
exports.ShippingApiFactory = ShippingApiFactory;
|
|
12957
13792
|
/**
|
|
12958
13793
|
* ShippingApi - object-oriented interface
|
|
12959
|
-
* @export
|
|
12960
|
-
* @class ShippingApi
|
|
12961
|
-
* @extends {BaseAPI}
|
|
12962
13794
|
*/
|
|
12963
13795
|
var ShippingApi = /** @class */ (function (_super) {
|
|
12964
13796
|
__extends(ShippingApi, _super);
|
|
@@ -12972,7 +13804,6 @@ var ShippingApi = /** @class */ (function (_super) {
|
|
|
12972
13804
|
* @param {ShippingInformationDTO} [shippingInformationDTO] Shipping Information
|
|
12973
13805
|
* @param {*} [options] Override http request option.
|
|
12974
13806
|
* @throws {RequiredError}
|
|
12975
|
-
* @memberof ShippingApi
|
|
12976
13807
|
*/
|
|
12977
13808
|
ShippingApi.prototype.postGetAdminShippingServices = function (customerId, shippingInformationDTO, options) {
|
|
12978
13809
|
var _this = this;
|
|
@@ -12984,7 +13815,6 @@ var ShippingApi = /** @class */ (function (_super) {
|
|
|
12984
13815
|
* @param {ShippingInformationDTO} [shippingInformationDTO] Shipping Information
|
|
12985
13816
|
* @param {*} [options] Override http request option.
|
|
12986
13817
|
* @throws {RequiredError}
|
|
12987
|
-
* @memberof ShippingApi
|
|
12988
13818
|
*/
|
|
12989
13819
|
ShippingApi.prototype.postGetShippingServices = function (shippingInformationDTO, options) {
|
|
12990
13820
|
var _this = this;
|
|
@@ -12995,7 +13825,6 @@ var ShippingApi = /** @class */ (function (_super) {
|
|
|
12995
13825
|
exports.ShippingApi = ShippingApi;
|
|
12996
13826
|
/**
|
|
12997
13827
|
* StockManagementApi - axios parameter creator
|
|
12998
|
-
* @export
|
|
12999
13828
|
*/
|
|
13000
13829
|
var StockManagementApiAxiosParamCreator = function (configuration) {
|
|
13001
13830
|
var _this = this;
|
|
@@ -13960,7 +14789,6 @@ var StockManagementApiAxiosParamCreator = function (configuration) {
|
|
|
13960
14789
|
exports.StockManagementApiAxiosParamCreator = StockManagementApiAxiosParamCreator;
|
|
13961
14790
|
/**
|
|
13962
14791
|
* StockManagementApi - functional programming interface
|
|
13963
|
-
* @export
|
|
13964
14792
|
*/
|
|
13965
14793
|
var StockManagementApiFp = function (configuration) {
|
|
13966
14794
|
var localVarAxiosParamCreator = (0, exports.StockManagementApiAxiosParamCreator)(configuration);
|
|
@@ -14539,7 +15367,6 @@ var StockManagementApiFp = function (configuration) {
|
|
|
14539
15367
|
exports.StockManagementApiFp = StockManagementApiFp;
|
|
14540
15368
|
/**
|
|
14541
15369
|
* StockManagementApi - factory interface
|
|
14542
|
-
* @export
|
|
14543
15370
|
*/
|
|
14544
15371
|
var StockManagementApiFactory = function (configuration, basePath, axios) {
|
|
14545
15372
|
var localVarFp = (0, exports.StockManagementApiFp)(configuration);
|
|
@@ -14806,9 +15633,6 @@ var StockManagementApiFactory = function (configuration, basePath, axios) {
|
|
|
14806
15633
|
exports.StockManagementApiFactory = StockManagementApiFactory;
|
|
14807
15634
|
/**
|
|
14808
15635
|
* StockManagementApi - object-oriented interface
|
|
14809
|
-
* @export
|
|
14810
|
-
* @class StockManagementApi
|
|
14811
|
-
* @extends {BaseAPI}
|
|
14812
15636
|
*/
|
|
14813
15637
|
var StockManagementApi = /** @class */ (function (_super) {
|
|
14814
15638
|
__extends(StockManagementApi, _super);
|
|
@@ -14821,7 +15645,6 @@ var StockManagementApi = /** @class */ (function (_super) {
|
|
|
14821
15645
|
* @param {number} id Stock Order ID
|
|
14822
15646
|
* @param {*} [options] Override http request option.
|
|
14823
15647
|
* @throws {RequiredError}
|
|
14824
|
-
* @memberof StockManagementApi
|
|
14825
15648
|
*/
|
|
14826
15649
|
StockManagementApi.prototype.deleteDeleteStockOrder = function (id, options) {
|
|
14827
15650
|
var _this = this;
|
|
@@ -14834,7 +15657,6 @@ var StockManagementApi = /** @class */ (function (_super) {
|
|
|
14834
15657
|
* @param {number} deductionId Stock Order Deduction ID
|
|
14835
15658
|
* @param {*} [options] Override http request option.
|
|
14836
15659
|
* @throws {RequiredError}
|
|
14837
|
-
* @memberof StockManagementApi
|
|
14838
15660
|
*/
|
|
14839
15661
|
StockManagementApi.prototype.deleteDeleteStockOrderDeduction = function (orderId, deductionId, options) {
|
|
14840
15662
|
var _this = this;
|
|
@@ -14847,7 +15669,6 @@ var StockManagementApi = /** @class */ (function (_super) {
|
|
|
14847
15669
|
* @param {number} itemId Stock Order Item ID
|
|
14848
15670
|
* @param {*} [options] Override http request option.
|
|
14849
15671
|
* @throws {RequiredError}
|
|
14850
|
-
* @memberof StockManagementApi
|
|
14851
15672
|
*/
|
|
14852
15673
|
StockManagementApi.prototype.deleteDeleteStockOrderItem = function (orderId, itemId, options) {
|
|
14853
15674
|
var _this = this;
|
|
@@ -14859,7 +15680,6 @@ var StockManagementApi = /** @class */ (function (_super) {
|
|
|
14859
15680
|
* @param {number} id Stock Product ID
|
|
14860
15681
|
* @param {*} [options] Override http request option.
|
|
14861
15682
|
* @throws {RequiredError}
|
|
14862
|
-
* @memberof StockManagementApi
|
|
14863
15683
|
*/
|
|
14864
15684
|
StockManagementApi.prototype.deleteGetStockProduct = function (id, options) {
|
|
14865
15685
|
var _this = this;
|
|
@@ -14871,7 +15691,6 @@ var StockManagementApi = /** @class */ (function (_super) {
|
|
|
14871
15691
|
* @param {number} id Stock Order ID
|
|
14872
15692
|
* @param {*} [options] Override http request option.
|
|
14873
15693
|
* @throws {RequiredError}
|
|
14874
|
-
* @memberof StockManagementApi
|
|
14875
15694
|
*/
|
|
14876
15695
|
StockManagementApi.prototype.getDeleteStockOrder = function (id, options) {
|
|
14877
15696
|
var _this = this;
|
|
@@ -14883,7 +15702,6 @@ var StockManagementApi = /** @class */ (function (_super) {
|
|
|
14883
15702
|
* @param {string} sku Product SKU
|
|
14884
15703
|
* @param {*} [options] Override http request option.
|
|
14885
15704
|
* @throws {RequiredError}
|
|
14886
|
-
* @memberof StockManagementApi
|
|
14887
15705
|
*/
|
|
14888
15706
|
StockManagementApi.prototype.getGetProductDetails = function (sku, options) {
|
|
14889
15707
|
var _this = this;
|
|
@@ -14895,7 +15713,6 @@ var StockManagementApi = /** @class */ (function (_super) {
|
|
|
14895
15713
|
* @param {number} id Stock Order ID
|
|
14896
15714
|
* @param {*} [options] Override http request option.
|
|
14897
15715
|
* @throws {RequiredError}
|
|
14898
|
-
* @memberof StockManagementApi
|
|
14899
15716
|
*/
|
|
14900
15717
|
StockManagementApi.prototype.getGetStockOrderPurchaseOrder = function (id, options) {
|
|
14901
15718
|
var _this = this;
|
|
@@ -14907,7 +15724,6 @@ var StockManagementApi = /** @class */ (function (_super) {
|
|
|
14907
15724
|
* @param {number} id Stock Order ID
|
|
14908
15725
|
* @param {*} [options] Override http request option.
|
|
14909
15726
|
* @throws {RequiredError}
|
|
14910
|
-
* @memberof StockManagementApi
|
|
14911
15727
|
*/
|
|
14912
15728
|
StockManagementApi.prototype.getGetStockOrderSupplierEmail = function (id, options) {
|
|
14913
15729
|
var _this = this;
|
|
@@ -14922,7 +15738,6 @@ var StockManagementApi = /** @class */ (function (_super) {
|
|
|
14922
15738
|
* @param {boolean} [outstanding] Outstanding Orders
|
|
14923
15739
|
* @param {*} [options] Override http request option.
|
|
14924
15740
|
* @throws {RequiredError}
|
|
14925
|
-
* @memberof StockManagementApi
|
|
14926
15741
|
*/
|
|
14927
15742
|
StockManagementApi.prototype.getGetStockOrders = function (pageSize, page, search, outstanding, options) {
|
|
14928
15743
|
var _this = this;
|
|
@@ -14934,7 +15749,6 @@ var StockManagementApi = /** @class */ (function (_super) {
|
|
|
14934
15749
|
* @param {number} id Stock Product ID
|
|
14935
15750
|
* @param {*} [options] Override http request option.
|
|
14936
15751
|
* @throws {RequiredError}
|
|
14937
|
-
* @memberof StockManagementApi
|
|
14938
15752
|
*/
|
|
14939
15753
|
StockManagementApi.prototype.getGetStockProduct = function (id, options) {
|
|
14940
15754
|
var _this = this;
|
|
@@ -14945,7 +15759,6 @@ var StockManagementApi = /** @class */ (function (_super) {
|
|
|
14945
15759
|
* @summary Get Stock Product Suppliers
|
|
14946
15760
|
* @param {*} [options] Override http request option.
|
|
14947
15761
|
* @throws {RequiredError}
|
|
14948
|
-
* @memberof StockManagementApi
|
|
14949
15762
|
*/
|
|
14950
15763
|
StockManagementApi.prototype.getGetStockProductSuppliers = function (options) {
|
|
14951
15764
|
var _this = this;
|
|
@@ -14959,7 +15772,6 @@ var StockManagementApi = /** @class */ (function (_super) {
|
|
|
14959
15772
|
* @param {string} [search] Search
|
|
14960
15773
|
* @param {*} [options] Override http request option.
|
|
14961
15774
|
* @throws {RequiredError}
|
|
14962
|
-
* @memberof StockManagementApi
|
|
14963
15775
|
*/
|
|
14964
15776
|
StockManagementApi.prototype.getGetStockProducts = function (pageSize, page, search, options) {
|
|
14965
15777
|
var _this = this;
|
|
@@ -14971,7 +15783,6 @@ var StockManagementApi = /** @class */ (function (_super) {
|
|
|
14971
15783
|
* @param {number} id Supplier ID
|
|
14972
15784
|
* @param {*} [options] Override http request option.
|
|
14973
15785
|
* @throws {RequiredError}
|
|
14974
|
-
* @memberof StockManagementApi
|
|
14975
15786
|
*/
|
|
14976
15787
|
StockManagementApi.prototype.getGetStockSupplierProducts = function (id, options) {
|
|
14977
15788
|
var _this = this;
|
|
@@ -14983,7 +15794,6 @@ var StockManagementApi = /** @class */ (function (_super) {
|
|
|
14983
15794
|
* @param {number} id Stock Order ID
|
|
14984
15795
|
* @param {*} [options] Override http request option.
|
|
14985
15796
|
* @throws {RequiredError}
|
|
14986
|
-
* @memberof StockManagementApi
|
|
14987
15797
|
*/
|
|
14988
15798
|
StockManagementApi.prototype.getUploadStockOrderInvoice = function (id, options) {
|
|
14989
15799
|
var _this = this;
|
|
@@ -14996,7 +15806,6 @@ var StockManagementApi = /** @class */ (function (_super) {
|
|
|
14996
15806
|
* @param {StockOrderModel} [stockOrderModel]
|
|
14997
15807
|
* @param {*} [options] Override http request option.
|
|
14998
15808
|
* @throws {RequiredError}
|
|
14999
|
-
* @memberof StockManagementApi
|
|
15000
15809
|
*/
|
|
15001
15810
|
StockManagementApi.prototype.patchDeleteStockOrder = function (id, stockOrderModel, options) {
|
|
15002
15811
|
var _this = this;
|
|
@@ -15010,7 +15819,6 @@ var StockManagementApi = /** @class */ (function (_super) {
|
|
|
15010
15819
|
* @param {StockOrderDeductionModel} [stockOrderDeductionModel]
|
|
15011
15820
|
* @param {*} [options] Override http request option.
|
|
15012
15821
|
* @throws {RequiredError}
|
|
15013
|
-
* @memberof StockManagementApi
|
|
15014
15822
|
*/
|
|
15015
15823
|
StockManagementApi.prototype.patchDeleteStockOrderDeduction = function (orderId, deductionId, stockOrderDeductionModel, options) {
|
|
15016
15824
|
var _this = this;
|
|
@@ -15024,7 +15832,6 @@ var StockManagementApi = /** @class */ (function (_super) {
|
|
|
15024
15832
|
* @param {StockOrderItemModel} [stockOrderItemModel]
|
|
15025
15833
|
* @param {*} [options] Override http request option.
|
|
15026
15834
|
* @throws {RequiredError}
|
|
15027
|
-
* @memberof StockManagementApi
|
|
15028
15835
|
*/
|
|
15029
15836
|
StockManagementApi.prototype.patchDeleteStockOrderItem = function (orderId, itemId, stockOrderItemModel, options) {
|
|
15030
15837
|
var _this = this;
|
|
@@ -15037,7 +15844,6 @@ var StockManagementApi = /** @class */ (function (_super) {
|
|
|
15037
15844
|
* @param {Array<StockOrderDeductionRequestModel>} [stockOrderDeductionRequestModel]
|
|
15038
15845
|
* @param {*} [options] Override http request option.
|
|
15039
15846
|
* @throws {RequiredError}
|
|
15040
|
-
* @memberof StockManagementApi
|
|
15041
15847
|
*/
|
|
15042
15848
|
StockManagementApi.prototype.postAddStockOrderDeduction = function (id, stockOrderDeductionRequestModel, options) {
|
|
15043
15849
|
var _this = this;
|
|
@@ -15050,7 +15856,6 @@ var StockManagementApi = /** @class */ (function (_super) {
|
|
|
15050
15856
|
* @param {Array<StockOrderItemRequestModel>} [stockOrderItemRequestModel]
|
|
15051
15857
|
* @param {*} [options] Override http request option.
|
|
15052
15858
|
* @throws {RequiredError}
|
|
15053
|
-
* @memberof StockManagementApi
|
|
15054
15859
|
*/
|
|
15055
15860
|
StockManagementApi.prototype.postAddStockOrderItem = function (id, stockOrderItemRequestModel, options) {
|
|
15056
15861
|
var _this = this;
|
|
@@ -15062,7 +15867,6 @@ var StockManagementApi = /** @class */ (function (_super) {
|
|
|
15062
15867
|
* @param {StockOrderRequestModel} [stockOrderRequestModel]
|
|
15063
15868
|
* @param {*} [options] Override http request option.
|
|
15064
15869
|
* @throws {RequiredError}
|
|
15065
|
-
* @memberof StockManagementApi
|
|
15066
15870
|
*/
|
|
15067
15871
|
StockManagementApi.prototype.postGetStockOrders = function (stockOrderRequestModel, options) {
|
|
15068
15872
|
var _this = this;
|
|
@@ -15074,7 +15878,6 @@ var StockManagementApi = /** @class */ (function (_super) {
|
|
|
15074
15878
|
* @param {StockProductModel} [stockProductModel] Stock Product
|
|
15075
15879
|
* @param {*} [options] Override http request option.
|
|
15076
15880
|
* @throws {RequiredError}
|
|
15077
|
-
* @memberof StockManagementApi
|
|
15078
15881
|
*/
|
|
15079
15882
|
StockManagementApi.prototype.postGetStockProducts = function (stockProductModel, options) {
|
|
15080
15883
|
var _this = this;
|
|
@@ -15087,7 +15890,6 @@ var StockManagementApi = /** @class */ (function (_super) {
|
|
|
15087
15890
|
* @param {File} invoice Supplier Invoice
|
|
15088
15891
|
* @param {*} [options] Override http request option.
|
|
15089
15892
|
* @throws {RequiredError}
|
|
15090
|
-
* @memberof StockManagementApi
|
|
15091
15893
|
*/
|
|
15092
15894
|
StockManagementApi.prototype.postUploadStockOrderInvoice = function (id, invoice, options) {
|
|
15093
15895
|
var _this = this;
|
|
@@ -15100,7 +15902,6 @@ var StockManagementApi = /** @class */ (function (_super) {
|
|
|
15100
15902
|
* @param {StockProductModel} [stockProductModel] Stock Product
|
|
15101
15903
|
* @param {*} [options] Override http request option.
|
|
15102
15904
|
* @throws {RequiredError}
|
|
15103
|
-
* @memberof StockManagementApi
|
|
15104
15905
|
*/
|
|
15105
15906
|
StockManagementApi.prototype.putGetStockProduct = function (id, stockProductModel, options) {
|
|
15106
15907
|
var _this = this;
|
|
@@ -15114,7 +15915,6 @@ var StockManagementApi = /** @class */ (function (_super) {
|
|
|
15114
15915
|
* @param {number} received Quantity Received
|
|
15115
15916
|
* @param {*} [options] Override http request option.
|
|
15116
15917
|
* @throws {RequiredError}
|
|
15117
|
-
* @memberof StockManagementApi
|
|
15118
15918
|
*/
|
|
15119
15919
|
StockManagementApi.prototype.putReceiveStockOrderItem = function (orderId, itemId, received, options) {
|
|
15120
15920
|
var _this = this;
|
|
@@ -15125,7 +15925,6 @@ var StockManagementApi = /** @class */ (function (_super) {
|
|
|
15125
15925
|
exports.StockManagementApi = StockManagementApi;
|
|
15126
15926
|
/**
|
|
15127
15927
|
* SystemApi - axios parameter creator
|
|
15128
|
-
* @export
|
|
15129
15928
|
*/
|
|
15130
15929
|
var SystemApiAxiosParamCreator = function (configuration) {
|
|
15131
15930
|
var _this = this;
|
|
@@ -15199,7 +15998,6 @@ var SystemApiAxiosParamCreator = function (configuration) {
|
|
|
15199
15998
|
exports.SystemApiAxiosParamCreator = SystemApiAxiosParamCreator;
|
|
15200
15999
|
/**
|
|
15201
16000
|
* SystemApi - functional programming interface
|
|
15202
|
-
* @export
|
|
15203
16001
|
*/
|
|
15204
16002
|
var SystemApiFp = function (configuration) {
|
|
15205
16003
|
var localVarAxiosParamCreator = (0, exports.SystemApiAxiosParamCreator)(configuration);
|
|
@@ -15238,7 +16036,6 @@ var SystemApiFp = function (configuration) {
|
|
|
15238
16036
|
exports.SystemApiFp = SystemApiFp;
|
|
15239
16037
|
/**
|
|
15240
16038
|
* SystemApi - factory interface
|
|
15241
|
-
* @export
|
|
15242
16039
|
*/
|
|
15243
16040
|
var SystemApiFactory = function (configuration, basePath, axios) {
|
|
15244
16041
|
var localVarFp = (0, exports.SystemApiFp)(configuration);
|
|
@@ -15264,9 +16061,6 @@ var SystemApiFactory = function (configuration, basePath, axios) {
|
|
|
15264
16061
|
exports.SystemApiFactory = SystemApiFactory;
|
|
15265
16062
|
/**
|
|
15266
16063
|
* SystemApi - object-oriented interface
|
|
15267
|
-
* @export
|
|
15268
|
-
* @class SystemApi
|
|
15269
|
-
* @extends {BaseAPI}
|
|
15270
16064
|
*/
|
|
15271
16065
|
var SystemApi = /** @class */ (function (_super) {
|
|
15272
16066
|
__extends(SystemApi, _super);
|
|
@@ -15285,7 +16079,6 @@ var SystemApi = /** @class */ (function (_super) {
|
|
|
15285
16079
|
* @param {number} [page] Page Number
|
|
15286
16080
|
* @param {*} [options] Override http request option.
|
|
15287
16081
|
* @throws {RequiredError}
|
|
15288
|
-
* @memberof SystemApi
|
|
15289
16082
|
*/
|
|
15290
16083
|
SystemApi.prototype.getLogSearch = function (clientId, clientIp, responseCode, date, filterOutDomain, pageSize, page, options) {
|
|
15291
16084
|
var _this = this;
|
|
@@ -15296,7 +16089,6 @@ var SystemApi = /** @class */ (function (_super) {
|
|
|
15296
16089
|
exports.SystemApi = SystemApi;
|
|
15297
16090
|
/**
|
|
15298
16091
|
* TicketsApi - axios parameter creator
|
|
15299
|
-
* @export
|
|
15300
16092
|
*/
|
|
15301
16093
|
var TicketsApiAxiosParamCreator = function (configuration) {
|
|
15302
16094
|
var _this = this;
|
|
@@ -15520,7 +16312,6 @@ var TicketsApiAxiosParamCreator = function (configuration) {
|
|
|
15520
16312
|
exports.TicketsApiAxiosParamCreator = TicketsApiAxiosParamCreator;
|
|
15521
16313
|
/**
|
|
15522
16314
|
* TicketsApi - functional programming interface
|
|
15523
|
-
* @export
|
|
15524
16315
|
*/
|
|
15525
16316
|
var TicketsApiFp = function (configuration) {
|
|
15526
16317
|
var localVarAxiosParamCreator = (0, exports.TicketsApiAxiosParamCreator)(configuration);
|
|
@@ -15646,7 +16437,6 @@ var TicketsApiFp = function (configuration) {
|
|
|
15646
16437
|
exports.TicketsApiFp = TicketsApiFp;
|
|
15647
16438
|
/**
|
|
15648
16439
|
* TicketsApi - factory interface
|
|
15649
|
-
* @export
|
|
15650
16440
|
*/
|
|
15651
16441
|
var TicketsApiFactory = function (configuration, basePath, axios) {
|
|
15652
16442
|
var localVarFp = (0, exports.TicketsApiFp)(configuration);
|
|
@@ -15707,9 +16497,6 @@ var TicketsApiFactory = function (configuration, basePath, axios) {
|
|
|
15707
16497
|
exports.TicketsApiFactory = TicketsApiFactory;
|
|
15708
16498
|
/**
|
|
15709
16499
|
* TicketsApi - object-oriented interface
|
|
15710
|
-
* @export
|
|
15711
|
-
* @class TicketsApi
|
|
15712
|
-
* @extends {BaseAPI}
|
|
15713
16500
|
*/
|
|
15714
16501
|
var TicketsApi = /** @class */ (function (_super) {
|
|
15715
16502
|
__extends(TicketsApi, _super);
|
|
@@ -15723,7 +16510,6 @@ var TicketsApi = /** @class */ (function (_super) {
|
|
|
15723
16510
|
* @param {number} [page] Page Number
|
|
15724
16511
|
* @param {*} [options] Override http request option.
|
|
15725
16512
|
* @throws {RequiredError}
|
|
15726
|
-
* @memberof TicketsApi
|
|
15727
16513
|
*/
|
|
15728
16514
|
TicketsApi.prototype.getCreateTicket = function (search, pageSize, page, options) {
|
|
15729
16515
|
var _this = this;
|
|
@@ -15734,7 +16520,6 @@ var TicketsApi = /** @class */ (function (_super) {
|
|
|
15734
16520
|
* @param {number} id Ticket ID
|
|
15735
16521
|
* @param {*} [options] Override http request option.
|
|
15736
16522
|
* @throws {RequiredError}
|
|
15737
|
-
* @memberof TicketsApi
|
|
15738
16523
|
*/
|
|
15739
16524
|
TicketsApi.prototype.getGetTicket = function (id, options) {
|
|
15740
16525
|
var _this = this;
|
|
@@ -15745,7 +16530,6 @@ var TicketsApi = /** @class */ (function (_super) {
|
|
|
15745
16530
|
* @param {number} id Ticket ID
|
|
15746
16531
|
* @param {*} [options] Override http request option.
|
|
15747
16532
|
* @throws {RequiredError}
|
|
15748
|
-
* @memberof TicketsApi
|
|
15749
16533
|
*/
|
|
15750
16534
|
TicketsApi.prototype.patchCloseTicket = function (id, options) {
|
|
15751
16535
|
var _this = this;
|
|
@@ -15758,7 +16542,6 @@ var TicketsApi = /** @class */ (function (_super) {
|
|
|
15758
16542
|
* @param {Array<File>} [attachments] Attachments (up to 20MB combined)
|
|
15759
16543
|
* @param {*} [options] Override http request option.
|
|
15760
16544
|
* @throws {RequiredError}
|
|
15761
|
-
* @memberof TicketsApi
|
|
15762
16545
|
*/
|
|
15763
16546
|
TicketsApi.prototype.postCreateTicket = function (subject, message, attachments, options) {
|
|
15764
16547
|
var _this = this;
|
|
@@ -15771,7 +16554,6 @@ var TicketsApi = /** @class */ (function (_super) {
|
|
|
15771
16554
|
* @param {Array<File>} [attachments] Attachments (up to 20MB combined)
|
|
15772
16555
|
* @param {*} [options] Override http request option.
|
|
15773
16556
|
* @throws {RequiredError}
|
|
15774
|
-
* @memberof TicketsApi
|
|
15775
16557
|
*/
|
|
15776
16558
|
TicketsApi.prototype.postTicketReply = function (id, body, attachments, options) {
|
|
15777
16559
|
var _this = this;
|
|
@@ -15782,7 +16564,6 @@ var TicketsApi = /** @class */ (function (_super) {
|
|
|
15782
16564
|
exports.TicketsApi = TicketsApi;
|
|
15783
16565
|
/**
|
|
15784
16566
|
* WebhooksApi - axios parameter creator
|
|
15785
|
-
* @export
|
|
15786
16567
|
*/
|
|
15787
16568
|
var WebhooksApiAxiosParamCreator = function (configuration) {
|
|
15788
16569
|
var _this = this;
|
|
@@ -15870,7 +16651,6 @@ var WebhooksApiAxiosParamCreator = function (configuration) {
|
|
|
15870
16651
|
exports.WebhooksApiAxiosParamCreator = WebhooksApiAxiosParamCreator;
|
|
15871
16652
|
/**
|
|
15872
16653
|
* WebhooksApi - functional programming interface
|
|
15873
|
-
* @export
|
|
15874
16654
|
*/
|
|
15875
16655
|
var WebhooksApiFp = function (configuration) {
|
|
15876
16656
|
var localVarAxiosParamCreator = (0, exports.WebhooksApiAxiosParamCreator)(configuration);
|
|
@@ -15926,7 +16706,6 @@ var WebhooksApiFp = function (configuration) {
|
|
|
15926
16706
|
exports.WebhooksApiFp = WebhooksApiFp;
|
|
15927
16707
|
/**
|
|
15928
16708
|
* WebhooksApi - factory interface
|
|
15929
|
-
* @export
|
|
15930
16709
|
*/
|
|
15931
16710
|
var WebhooksApiFactory = function (configuration, basePath, axios) {
|
|
15932
16711
|
var localVarFp = (0, exports.WebhooksApiFp)(configuration);
|
|
@@ -15956,9 +16735,6 @@ var WebhooksApiFactory = function (configuration, basePath, axios) {
|
|
|
15956
16735
|
exports.WebhooksApiFactory = WebhooksApiFactory;
|
|
15957
16736
|
/**
|
|
15958
16737
|
* WebhooksApi - object-oriented interface
|
|
15959
|
-
* @export
|
|
15960
|
-
* @class WebhooksApi
|
|
15961
|
-
* @extends {BaseAPI}
|
|
15962
16738
|
*/
|
|
15963
16739
|
var WebhooksApi = /** @class */ (function (_super) {
|
|
15964
16740
|
__extends(WebhooksApi, _super);
|
|
@@ -15971,7 +16747,6 @@ var WebhooksApi = /** @class */ (function (_super) {
|
|
|
15971
16747
|
* @param {string} authKey Webhook Authentication Key
|
|
15972
16748
|
* @param {*} [options] Override http request option.
|
|
15973
16749
|
* @throws {RequiredError}
|
|
15974
|
-
* @memberof WebhooksApi
|
|
15975
16750
|
*/
|
|
15976
16751
|
WebhooksApi.prototype.deleteRevokeWebhook = function (authKey, options) {
|
|
15977
16752
|
var _this = this;
|
|
@@ -15983,7 +16758,6 @@ var WebhooksApi = /** @class */ (function (_super) {
|
|
|
15983
16758
|
* @param {PostAddWebhookWebhookUriEnum} webhookUri Webhook URI
|
|
15984
16759
|
* @param {*} [options] Override http request option.
|
|
15985
16760
|
* @throws {RequiredError}
|
|
15986
|
-
* @memberof WebhooksApi
|
|
15987
16761
|
*/
|
|
15988
16762
|
WebhooksApi.prototype.postAddWebhook = function (webhookUri, options) {
|
|
15989
16763
|
var _this = this;
|
|
@@ -15992,9 +16766,6 @@ var WebhooksApi = /** @class */ (function (_super) {
|
|
|
15992
16766
|
return WebhooksApi;
|
|
15993
16767
|
}(base_1.BaseAPI));
|
|
15994
16768
|
exports.WebhooksApi = WebhooksApi;
|
|
15995
|
-
/**
|
|
15996
|
-
* @export
|
|
15997
|
-
*/
|
|
15998
16769
|
exports.PostAddWebhookWebhookUriEnum = {
|
|
15999
16770
|
WebhookComposerInstall: '/webhook/composer/install',
|
|
16000
16771
|
WebhookFreshdeskCreate: '/webhook/freshdesk/create',
|