yellowgrid-api-ts 3.2.30 → 3.2.31-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 +10 -1
- package/.openapi-generator/VERSION +0 -0
- package/.openapi-generator-ignore +0 -0
- package/README.md +15 -3
- package/api.ts +775 -240
- package/base.ts +1 -1
- package/common.ts +1 -1
- package/config.json +3 -3
- package/configuration.ts +1 -1
- package/dist/api.d.ts +516 -120
- package/dist/api.js +567 -267
- package/dist/base.d.ts +1 -1
- package/dist/base.js +1 -1
- package/dist/common.d.ts +1 -1
- package/dist/common.js +1 -1
- package/dist/configuration.d.ts +1 -1
- package/dist/configuration.js +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +1 -1
- package/docs/AbstractEventUpdateDTO.md +23 -0
- 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 -56
- package/docs/Class3CXInstallationsApi.md +0 -116
- 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/EventDTO.md +35 -0
- package/docs/EventRequestDTO.md +25 -0
- package/docs/EventSubscriptionModel.md +23 -0
- package/docs/EventUpdateDTO.md +27 -0
- package/docs/EventUpdateEntity.md +29 -0
- package/docs/EventUpdateRequestDTO.md +23 -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 -2
- package/docs/InstanceFailoverEntity.md +0 -0
- package/docs/InstanceMonitoringEntity.md +0 -0
- package/docs/InstanceMonitoringLogEntity.md +0 -0
- package/docs/InstanceScheduledTasksEntity.md +0 -0
- package/docs/InstanceTcxDetailsEntity.md +0 -0
- package/docs/InstanceUserCredentialsEntity.md +0 -0
- package/docs/ItemDTO.md +0 -0
- package/docs/ItemDiscountEntity.md +0 -0
- package/docs/ItemEntity.md +0 -0
- package/docs/LinkedOrderEntity.md +0 -0
- package/docs/MFARequiredModel.md +0 -0
- package/docs/MonthlyUsageModel.md +0 -0
- package/docs/MultiTenantChangeResponseModel.md +0 -0
- package/docs/MyPBXToolsApi.md +0 -0
- package/docs/NavigationModel.md +0 -0
- package/docs/OAuth20Api.md +0 -0
- 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/ServiceHealthDTO.md +23 -0
- package/docs/ServiceStatusDTO.md +27 -0
- package/docs/ServicesApi.md +330 -0
- package/docs/ShipmentAddressEntity.md +0 -0
- package/docs/ShipmentEntity.md +0 -0
- package/docs/ShipmentItemEntity.md +0 -0
- package/docs/ShippingApi.md +0 -0
- package/docs/ShippingConsignmentModel.md +0 -0
- package/docs/ShippingInformationDTO.md +0 -0
- package/docs/ShippingServiceDTO.md +0 -0
- package/docs/ShippingServiceModel.md +0 -0
- package/docs/ShippingServicesModel.md +0 -0
- package/docs/SipTrunkChangeResponseModel.md +0 -0
- package/docs/SipTrunkCreationRequestModel.md +0 -0
- package/docs/SipTrunkEntity.md +0 -0
- package/docs/SipTrunksResponseModel.md +0 -0
- package/docs/SmsAccountEntity.md +0 -0
- package/docs/SmsDataModel.md +0 -0
- package/docs/SmsMessageModel.md +0 -0
- package/docs/SmsNumbersEntity.md +0 -0
- package/docs/SmsPayloadModel.md +0 -0
- package/docs/SmsPhoneNumberModel.md +0 -0
- package/docs/SmsResponseModel.md +0 -0
- package/docs/SmsWhitelistEntity.md +0 -0
- package/docs/StockManagementApi.md +0 -0
- package/docs/StockOrderCourierEntity.md +0 -0
- package/docs/StockOrderDeductionModel.md +0 -0
- package/docs/StockOrderDeductionRequestModel.md +0 -0
- package/docs/StockOrderDeductionsEntity.md +0 -0
- package/docs/StockOrderEntity.md +0 -0
- package/docs/StockOrderItemEntity.md +0 -0
- package/docs/StockOrderItemModel.md +0 -0
- package/docs/StockOrderItemRequestModel.md +0 -0
- package/docs/StockOrderModel.md +0 -0
- package/docs/StockOrderProductEntity.md +0 -0
- package/docs/StockOrderRequestModel.md +0 -0
- package/docs/StockOrderSupplierEntity.md +0 -0
- package/docs/StockOrderSupplierModel.md +0 -0
- package/docs/StockOrdersModel.md +0 -0
- package/docs/StockProductModel.md +0 -0
- package/docs/StockProductPriceModel.md +0 -0
- package/docs/StockProductSummariesModel.md +0 -0
- package/docs/StockProductSummaryModel.md +0 -0
- package/docs/StockTransactionsEntity.md +0 -0
- package/docs/SupplierEntity.md +0 -0
- package/docs/SupplierItemEntity.md +0 -0
- package/docs/SystemApi.md +0 -0
- package/docs/TcxBackupEntity.md +0 -0
- package/docs/TcxBackupModel.md +0 -0
- package/docs/TcxBillingEntity.md +0 -0
- package/docs/TcxBulkLicenceDetailsModel.md +0 -0
- package/docs/TcxDeadLicenceEntity.md +0 -0
- package/docs/TcxExtsEntity.md +0 -0
- package/docs/TcxHostingPricingEntity.md +0 -0
- package/docs/TcxInstallationDetailsModel.md +0 -0
- package/docs/TcxInstallationModel.md +0 -2
- 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/TelephonySupportTicketModel.md +0 -0
- package/docs/TicketSummaryModel.md +0 -0
- package/docs/TicketTimeDTO.md +0 -0
- package/docs/TicketsApi.md +0 -0
- 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 +0 -0
- 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
|
*
|
|
@@ -84,15 +84,20 @@ var __spreadArray = (this && this.__spreadArray) || function (to, from, pack) {
|
|
|
84
84
|
return to.concat(ar || Array.prototype.slice.call(from));
|
|
85
85
|
};
|
|
86
86
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
87
|
-
exports.
|
|
88
|
-
exports.
|
|
89
|
-
exports.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;
|
|
87
|
+
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.ServiceStatusDTOStatusEnum = exports.ServiceHealthDTOGlobalStatusEnum = exports.OrderTotalModelCurrencyEnum = exports.OrderRequestModelSchoolTypeEnum = exports.OrderRequestModelLicenceTypeEnum = exports.MultiTenantChangeResponseModelTypeEnum = exports.ItemDiscountEntityTypeEnum = exports.HostingRegionDTOCodeEnum = exports.HostingChangeResponseModelTypeEnum = exports.EventUpdateRequestDTOTypeEnum = exports.EventUpdateDTOTypeEnum = exports.EventRequestDTOServiceEnum = exports.EventRequestDTOTypeEnum = exports.EventDTOStatusEnum = exports.EventDTOServiceEnum = exports.EventDTOTypeEnum = exports.DivertResponseModelStatusEnum = exports.AdminUserModelRoleEnum = exports.AbstractEventUpdateDTOTypeEnum = void 0;
|
|
88
|
+
exports.ProductsApiFactory = exports.ProductsApiFp = exports.ProductsApiAxiosParamCreator = exports.PostSendPriceListCategoryEnum = exports.PostSendPriceListFormatEnum = exports.PostSendPriceListTypeEnum = exports.GetGetPriceListCategoryEnum = exports.GetGetPriceListFormatEnum = exports.GetGetPriceListTypeEnum = exports.PricingApi = exports.PricingApiFactory = exports.PricingApiFp = exports.PricingApiAxiosParamCreator = exports.GetGetOrdersFilterEnum = exports.GetGetOrdersStatusEnum = exports.OrdersApi = exports.OrdersApiFactory = exports.OrdersApiFp = exports.OrdersApiAxiosParamCreator = exports.PostAuthoriseScopeEnum = exports.PostAccessTokenTokenExchangeTypeEnum = exports.PostAccessTokenScopeEnum = exports.PostAccessTokenGrantTypeEnum = exports.OAuth20Api = exports.OAuth20ApiFactory = exports.OAuth20ApiFp = exports.OAuth20ApiAxiosParamCreator = exports.MyPBXToolsApi = exports.MyPBXToolsApiFactory = exports.MyPBXToolsApiFp = exports.MyPBXToolsApiAxiosParamCreator = exports.GetGetTenantsStatusEnum = exports.Class3CXMultiTenantApi = exports.Class3CXMultiTenantApiFactory = exports.Class3CXMultiTenantApiFp = exports.Class3CXMultiTenantApiAxiosParamCreator = exports.GetGetPriceSchoolTypeEnum = exports.GetGetPriceLicenceTypeEnum = exports.Class3CXIntegrationsApi = exports.Class3CXIntegrationsApiFactory = exports.Class3CXIntegrationsApiFp = exports.Class3CXIntegrationsApiAxiosParamCreator = exports.PostResizeInstanceSizeEnum = exports.PostFailoverInstanceTypeEnum = exports.GetGetInstallationsInstallTypeEnum = exports.GetGetInstallationsHostingEnum = exports.GetGetInstallationsStatusEnum = exports.Class3CXInstallationsApi = exports.Class3CXInstallationsApiFactory = exports.Class3CXInstallationsApiFp = 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.ServicesApi = exports.ServicesApiFactory = exports.ServicesApiFp = exports.ServicesApiAxiosParamCreator = exports.SMSApi = exports.SMSApiFactory = exports.SMSApiFp = exports.SMSApiAxiosParamCreator = exports.SIPTrunksApi = exports.SIPTrunksApiFactory = exports.SIPTrunksApiFp = exports.SIPTrunksApiAxiosParamCreator = exports.ProvisioningApi = exports.ProvisioningApiFactory = exports.ProvisioningApiFp = exports.ProvisioningApiAxiosParamCreator = exports.GetGetLegacyStockListFormatEnum = exports.ProductsApi = void 0;
|
|
90
90
|
var axios_1 = require("axios");
|
|
91
91
|
// Some imports not used depending on template conditions
|
|
92
92
|
// @ts-ignore
|
|
93
93
|
var common_1 = require("./common");
|
|
94
94
|
// @ts-ignore
|
|
95
95
|
var base_1 = require("./base");
|
|
96
|
+
exports.AbstractEventUpdateDTOTypeEnum = {
|
|
97
|
+
NUMBER_0: 0,
|
|
98
|
+
NUMBER_1: 1,
|
|
99
|
+
NUMBER_2: 2
|
|
100
|
+
};
|
|
96
101
|
exports.AdminUserModelRoleEnum = {
|
|
97
102
|
NUMBER_0: 0,
|
|
98
103
|
NUMBER_1: 1,
|
|
@@ -104,6 +109,37 @@ exports.DivertResponseModelStatusEnum = {
|
|
|
104
109
|
Enabled: 'enabled',
|
|
105
110
|
Disabled: 'disabled'
|
|
106
111
|
};
|
|
112
|
+
exports.EventDTOTypeEnum = {
|
|
113
|
+
NUMBER_0: 0,
|
|
114
|
+
NUMBER_1: 1
|
|
115
|
+
};
|
|
116
|
+
exports.EventDTOServiceEnum = {
|
|
117
|
+
NUMBER_0: 0,
|
|
118
|
+
NUMBER_1: 1
|
|
119
|
+
};
|
|
120
|
+
exports.EventDTOStatusEnum = {
|
|
121
|
+
NUMBER_0: 0,
|
|
122
|
+
NUMBER_1: 1,
|
|
123
|
+
NUMBER_2: 2
|
|
124
|
+
};
|
|
125
|
+
exports.EventRequestDTOTypeEnum = {
|
|
126
|
+
NUMBER_0: 0,
|
|
127
|
+
NUMBER_1: 1
|
|
128
|
+
};
|
|
129
|
+
exports.EventRequestDTOServiceEnum = {
|
|
130
|
+
NUMBER_0: 0,
|
|
131
|
+
NUMBER_1: 1
|
|
132
|
+
};
|
|
133
|
+
exports.EventUpdateDTOTypeEnum = {
|
|
134
|
+
NUMBER_0: 0,
|
|
135
|
+
NUMBER_1: 1,
|
|
136
|
+
NUMBER_2: 2
|
|
137
|
+
};
|
|
138
|
+
exports.EventUpdateRequestDTOTypeEnum = {
|
|
139
|
+
NUMBER_0: 0,
|
|
140
|
+
NUMBER_1: 1,
|
|
141
|
+
NUMBER_2: 2
|
|
142
|
+
};
|
|
107
143
|
exports.HostingChangeResponseModelTypeEnum = {
|
|
108
144
|
NewInstance: 'New Instance',
|
|
109
145
|
BuildingInstance: 'Building Instance'
|
|
@@ -181,6 +217,16 @@ exports.OrderTotalModelCurrencyEnum = {
|
|
|
181
217
|
Thb: 'THB',
|
|
182
218
|
Zar: 'ZAR'
|
|
183
219
|
};
|
|
220
|
+
exports.ServiceHealthDTOGlobalStatusEnum = {
|
|
221
|
+
NUMBER_0: 0,
|
|
222
|
+
NUMBER_1: 1,
|
|
223
|
+
NUMBER_2: 2
|
|
224
|
+
};
|
|
225
|
+
exports.ServiceStatusDTOStatusEnum = {
|
|
226
|
+
NUMBER_0: 0,
|
|
227
|
+
NUMBER_1: 1,
|
|
228
|
+
NUMBER_2: 2
|
|
229
|
+
};
|
|
184
230
|
exports.ShippingServiceDTOCourierEnum = {
|
|
185
231
|
Dpd: 'DPD',
|
|
186
232
|
ChorltonPallet: 'Chorlton Pallet',
|
|
@@ -3433,42 +3479,6 @@ var Class3CXInstallationWizardApiAxiosParamCreator = function (configuration) {
|
|
|
3433
3479
|
});
|
|
3434
3480
|
});
|
|
3435
3481
|
},
|
|
3436
|
-
/**
|
|
3437
|
-
* Track SIP Trunk Change Request
|
|
3438
|
-
* @summary Track SIP Trunk Change Request
|
|
3439
|
-
* @param {SipTrunkChangeResponseModel} [sipTrunkChangeResponseModel] Change Request
|
|
3440
|
-
* @param {*} [options] Override http request option.
|
|
3441
|
-
* @throws {RequiredError}
|
|
3442
|
-
*/
|
|
3443
|
-
postTrackChangeTcxWizard: function (sipTrunkChangeResponseModel_1) {
|
|
3444
|
-
var args_1 = [];
|
|
3445
|
-
for (var _i = 1; _i < arguments.length; _i++) {
|
|
3446
|
-
args_1[_i - 1] = arguments[_i];
|
|
3447
|
-
}
|
|
3448
|
-
return __awaiter(_this, __spreadArray([sipTrunkChangeResponseModel_1], args_1, true), void 0, function (sipTrunkChangeResponseModel, options) {
|
|
3449
|
-
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
3450
|
-
if (options === void 0) { options = {}; }
|
|
3451
|
-
return __generator(this, function (_a) {
|
|
3452
|
-
localVarPath = "/tcx/wizards/sip/trunks/changes/track";
|
|
3453
|
-
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
3454
|
-
if (configuration) {
|
|
3455
|
-
baseOptions = configuration.baseOptions;
|
|
3456
|
-
}
|
|
3457
|
-
localVarRequestOptions = __assign(__assign({ method: 'POST' }, baseOptions), options);
|
|
3458
|
-
localVarHeaderParameter = {};
|
|
3459
|
-
localVarQueryParameter = {};
|
|
3460
|
-
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
3461
|
-
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
3462
|
-
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
3463
|
-
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
3464
|
-
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(sipTrunkChangeResponseModel, localVarRequestOptions, configuration);
|
|
3465
|
-
return [2 /*return*/, {
|
|
3466
|
-
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
3467
|
-
options: localVarRequestOptions,
|
|
3468
|
-
}];
|
|
3469
|
-
});
|
|
3470
|
-
});
|
|
3471
|
-
},
|
|
3472
3482
|
/**
|
|
3473
3483
|
* Upload 3CX Backup File
|
|
3474
3484
|
* @param {File} backup 3CX Backup ZIP File
|
|
@@ -4261,29 +4271,6 @@ var Class3CXInstallationWizardApiFp = function (configuration) {
|
|
|
4261
4271
|
});
|
|
4262
4272
|
});
|
|
4263
4273
|
},
|
|
4264
|
-
/**
|
|
4265
|
-
* Track SIP Trunk Change Request
|
|
4266
|
-
* @summary Track SIP Trunk Change Request
|
|
4267
|
-
* @param {SipTrunkChangeResponseModel} [sipTrunkChangeResponseModel] Change Request
|
|
4268
|
-
* @param {*} [options] Override http request option.
|
|
4269
|
-
* @throws {RequiredError}
|
|
4270
|
-
*/
|
|
4271
|
-
postTrackChangeTcxWizard: function (sipTrunkChangeResponseModel, options) {
|
|
4272
|
-
return __awaiter(this, void 0, void 0, function () {
|
|
4273
|
-
var localVarAxiosArgs, localVarOperationServerIndex, localVarOperationServerBasePath;
|
|
4274
|
-
var _a, _b, _c;
|
|
4275
|
-
return __generator(this, function (_d) {
|
|
4276
|
-
switch (_d.label) {
|
|
4277
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.postTrackChangeTcxWizard(sipTrunkChangeResponseModel, options)];
|
|
4278
|
-
case 1:
|
|
4279
|
-
localVarAxiosArgs = _d.sent();
|
|
4280
|
-
localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
4281
|
-
localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['Class3CXInstallationWizardApi.postTrackChangeTcxWizard']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
4282
|
-
return [2 /*return*/, function (axios, basePath) { return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath); }];
|
|
4283
|
-
}
|
|
4284
|
-
});
|
|
4285
|
-
});
|
|
4286
|
-
},
|
|
4287
4274
|
/**
|
|
4288
4275
|
* Upload 3CX Backup File
|
|
4289
4276
|
* @param {File} backup 3CX Backup ZIP File
|
|
@@ -4641,16 +4628,6 @@ var Class3CXInstallationWizardApiFactory = function (configuration, basePath, ax
|
|
|
4641
4628
|
postGetSipTrunksTcxWizard: function (sipTrunkCreationRequestModel, options) {
|
|
4642
4629
|
return localVarFp.postGetSipTrunksTcxWizard(sipTrunkCreationRequestModel, options).then(function (request) { return request(axios, basePath); });
|
|
4643
4630
|
},
|
|
4644
|
-
/**
|
|
4645
|
-
* Track SIP Trunk Change Request
|
|
4646
|
-
* @summary Track SIP Trunk Change Request
|
|
4647
|
-
* @param {SipTrunkChangeResponseModel} [sipTrunkChangeResponseModel] Change Request
|
|
4648
|
-
* @param {*} [options] Override http request option.
|
|
4649
|
-
* @throws {RequiredError}
|
|
4650
|
-
*/
|
|
4651
|
-
postTrackChangeTcxWizard: function (sipTrunkChangeResponseModel, options) {
|
|
4652
|
-
return localVarFp.postTrackChangeTcxWizard(sipTrunkChangeResponseModel, options).then(function (request) { return request(axios, basePath); });
|
|
4653
|
-
},
|
|
4654
4631
|
/**
|
|
4655
4632
|
* Upload 3CX Backup File
|
|
4656
4633
|
* @param {File} backup 3CX Backup ZIP File
|
|
@@ -5063,18 +5040,6 @@ var Class3CXInstallationWizardApi = /** @class */ (function (_super) {
|
|
|
5063
5040
|
var _this = this;
|
|
5064
5041
|
return (0, exports.Class3CXInstallationWizardApiFp)(this.configuration).postGetSipTrunksTcxWizard(sipTrunkCreationRequestModel, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
5065
5042
|
};
|
|
5066
|
-
/**
|
|
5067
|
-
* Track SIP Trunk Change Request
|
|
5068
|
-
* @summary Track SIP Trunk Change Request
|
|
5069
|
-
* @param {SipTrunkChangeResponseModel} [sipTrunkChangeResponseModel] Change Request
|
|
5070
|
-
* @param {*} [options] Override http request option.
|
|
5071
|
-
* @throws {RequiredError}
|
|
5072
|
-
* @memberof Class3CXInstallationWizardApi
|
|
5073
|
-
*/
|
|
5074
|
-
Class3CXInstallationWizardApi.prototype.postTrackChangeTcxWizard = function (sipTrunkChangeResponseModel, options) {
|
|
5075
|
-
var _this = this;
|
|
5076
|
-
return (0, exports.Class3CXInstallationWizardApiFp)(this.configuration).postTrackChangeTcxWizard(sipTrunkChangeResponseModel, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
5077
|
-
};
|
|
5078
5043
|
/**
|
|
5079
5044
|
* Upload 3CX Backup File
|
|
5080
5045
|
* @param {File} backup 3CX Backup ZIP File
|
|
@@ -5194,92 +5159,6 @@ var Class3CXInstallationsApiAxiosParamCreator = function (configuration) {
|
|
|
5194
5159
|
});
|
|
5195
5160
|
});
|
|
5196
5161
|
},
|
|
5197
|
-
/**
|
|
5198
|
-
* Update 3CX Instance Auto Failover
|
|
5199
|
-
* @summary Update 3CX Instance Auto Failover
|
|
5200
|
-
* @param {string} instanceId Instance ID
|
|
5201
|
-
* @param {boolean} enable Enable
|
|
5202
|
-
* @param {*} [options] Override http request option.
|
|
5203
|
-
* @throws {RequiredError}
|
|
5204
|
-
*/
|
|
5205
|
-
patchUpdateAutoFailover: function (instanceId_1, enable_1) {
|
|
5206
|
-
var args_1 = [];
|
|
5207
|
-
for (var _i = 2; _i < arguments.length; _i++) {
|
|
5208
|
-
args_1[_i - 2] = arguments[_i];
|
|
5209
|
-
}
|
|
5210
|
-
return __awaiter(_this, __spreadArray([instanceId_1, enable_1], args_1, true), void 0, function (instanceId, enable, options) {
|
|
5211
|
-
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
5212
|
-
if (options === void 0) { options = {}; }
|
|
5213
|
-
return __generator(this, function (_a) {
|
|
5214
|
-
// verify required parameter 'instanceId' is not null or undefined
|
|
5215
|
-
(0, common_1.assertParamExists)('patchUpdateAutoFailover', 'instanceId', instanceId);
|
|
5216
|
-
// verify required parameter 'enable' is not null or undefined
|
|
5217
|
-
(0, common_1.assertParamExists)('patchUpdateAutoFailover', 'enable', enable);
|
|
5218
|
-
localVarPath = "/tcx/installations/{instance_id}/failover/auto"
|
|
5219
|
-
.replace("{".concat("instance_id", "}"), encodeURIComponent(String(instanceId)));
|
|
5220
|
-
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
5221
|
-
if (configuration) {
|
|
5222
|
-
baseOptions = configuration.baseOptions;
|
|
5223
|
-
}
|
|
5224
|
-
localVarRequestOptions = __assign(__assign({ method: 'PATCH' }, baseOptions), options);
|
|
5225
|
-
localVarHeaderParameter = {};
|
|
5226
|
-
localVarQueryParameter = {};
|
|
5227
|
-
if (enable !== undefined) {
|
|
5228
|
-
localVarQueryParameter['enable'] = enable;
|
|
5229
|
-
}
|
|
5230
|
-
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
5231
|
-
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
5232
|
-
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
5233
|
-
return [2 /*return*/, {
|
|
5234
|
-
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
5235
|
-
options: localVarRequestOptions,
|
|
5236
|
-
}];
|
|
5237
|
-
});
|
|
5238
|
-
});
|
|
5239
|
-
},
|
|
5240
|
-
/**
|
|
5241
|
-
* Add additional disk on 3CX Instance
|
|
5242
|
-
* @summary Add additional disk on 3CX Instance
|
|
5243
|
-
* @param {string} instanceId Instance ID
|
|
5244
|
-
* @param {number} gigabytes Disk Space (GB)
|
|
5245
|
-
* @param {*} [options] Override http request option.
|
|
5246
|
-
* @throws {RequiredError}
|
|
5247
|
-
*/
|
|
5248
|
-
postAddDisk: function (instanceId_1, gigabytes_1) {
|
|
5249
|
-
var args_1 = [];
|
|
5250
|
-
for (var _i = 2; _i < arguments.length; _i++) {
|
|
5251
|
-
args_1[_i - 2] = arguments[_i];
|
|
5252
|
-
}
|
|
5253
|
-
return __awaiter(_this, __spreadArray([instanceId_1, gigabytes_1], args_1, true), void 0, function (instanceId, gigabytes, options) {
|
|
5254
|
-
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
5255
|
-
if (options === void 0) { options = {}; }
|
|
5256
|
-
return __generator(this, function (_a) {
|
|
5257
|
-
// verify required parameter 'instanceId' is not null or undefined
|
|
5258
|
-
(0, common_1.assertParamExists)('postAddDisk', 'instanceId', instanceId);
|
|
5259
|
-
// verify required parameter 'gigabytes' is not null or undefined
|
|
5260
|
-
(0, common_1.assertParamExists)('postAddDisk', 'gigabytes', gigabytes);
|
|
5261
|
-
localVarPath = "/tcx/installations/{instance_id}/disk"
|
|
5262
|
-
.replace("{".concat("instance_id", "}"), encodeURIComponent(String(instanceId)));
|
|
5263
|
-
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
5264
|
-
if (configuration) {
|
|
5265
|
-
baseOptions = configuration.baseOptions;
|
|
5266
|
-
}
|
|
5267
|
-
localVarRequestOptions = __assign(__assign({ method: 'POST' }, baseOptions), options);
|
|
5268
|
-
localVarHeaderParameter = {};
|
|
5269
|
-
localVarQueryParameter = {};
|
|
5270
|
-
if (gigabytes !== undefined) {
|
|
5271
|
-
localVarQueryParameter['gigabytes'] = gigabytes;
|
|
5272
|
-
}
|
|
5273
|
-
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
5274
|
-
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
5275
|
-
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
5276
|
-
return [2 /*return*/, {
|
|
5277
|
-
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
5278
|
-
options: localVarRequestOptions,
|
|
5279
|
-
}];
|
|
5280
|
-
});
|
|
5281
|
-
});
|
|
5282
|
-
},
|
|
5283
5162
|
/**
|
|
5284
5163
|
* Create a root user
|
|
5285
5164
|
* @summary Create a root user
|
|
@@ -5725,54 +5604,6 @@ var Class3CXInstallationsApiFp = function (configuration) {
|
|
|
5725
5604
|
});
|
|
5726
5605
|
});
|
|
5727
5606
|
},
|
|
5728
|
-
/**
|
|
5729
|
-
* Update 3CX Instance Auto Failover
|
|
5730
|
-
* @summary Update 3CX Instance Auto Failover
|
|
5731
|
-
* @param {string} instanceId Instance ID
|
|
5732
|
-
* @param {boolean} enable Enable
|
|
5733
|
-
* @param {*} [options] Override http request option.
|
|
5734
|
-
* @throws {RequiredError}
|
|
5735
|
-
*/
|
|
5736
|
-
patchUpdateAutoFailover: function (instanceId, enable, options) {
|
|
5737
|
-
return __awaiter(this, void 0, void 0, function () {
|
|
5738
|
-
var localVarAxiosArgs, localVarOperationServerIndex, localVarOperationServerBasePath;
|
|
5739
|
-
var _a, _b, _c;
|
|
5740
|
-
return __generator(this, function (_d) {
|
|
5741
|
-
switch (_d.label) {
|
|
5742
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.patchUpdateAutoFailover(instanceId, enable, options)];
|
|
5743
|
-
case 1:
|
|
5744
|
-
localVarAxiosArgs = _d.sent();
|
|
5745
|
-
localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
5746
|
-
localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['Class3CXInstallationsApi.patchUpdateAutoFailover']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
5747
|
-
return [2 /*return*/, function (axios, basePath) { return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath); }];
|
|
5748
|
-
}
|
|
5749
|
-
});
|
|
5750
|
-
});
|
|
5751
|
-
},
|
|
5752
|
-
/**
|
|
5753
|
-
* Add additional disk on 3CX Instance
|
|
5754
|
-
* @summary Add additional disk on 3CX Instance
|
|
5755
|
-
* @param {string} instanceId Instance ID
|
|
5756
|
-
* @param {number} gigabytes Disk Space (GB)
|
|
5757
|
-
* @param {*} [options] Override http request option.
|
|
5758
|
-
* @throws {RequiredError}
|
|
5759
|
-
*/
|
|
5760
|
-
postAddDisk: function (instanceId, gigabytes, options) {
|
|
5761
|
-
return __awaiter(this, void 0, void 0, function () {
|
|
5762
|
-
var localVarAxiosArgs, localVarOperationServerIndex, localVarOperationServerBasePath;
|
|
5763
|
-
var _a, _b, _c;
|
|
5764
|
-
return __generator(this, function (_d) {
|
|
5765
|
-
switch (_d.label) {
|
|
5766
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.postAddDisk(instanceId, gigabytes, options)];
|
|
5767
|
-
case 1:
|
|
5768
|
-
localVarAxiosArgs = _d.sent();
|
|
5769
|
-
localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
5770
|
-
localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['Class3CXInstallationsApi.postAddDisk']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
5771
|
-
return [2 /*return*/, function (axios, basePath) { return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath); }];
|
|
5772
|
-
}
|
|
5773
|
-
});
|
|
5774
|
-
});
|
|
5775
|
-
},
|
|
5776
5607
|
/**
|
|
5777
5608
|
* Create a root user
|
|
5778
5609
|
* @summary Create a root user
|
|
@@ -6025,28 +5856,6 @@ var Class3CXInstallationsApiFactory = function (configuration, basePath, axios)
|
|
|
6025
5856
|
getGetInstallations: function (pageSize, page, customerId, search, status, hosting, installType, options) {
|
|
6026
5857
|
return localVarFp.getGetInstallations(pageSize, page, customerId, search, status, hosting, installType, options).then(function (request) { return request(axios, basePath); });
|
|
6027
5858
|
},
|
|
6028
|
-
/**
|
|
6029
|
-
* Update 3CX Instance Auto Failover
|
|
6030
|
-
* @summary Update 3CX Instance Auto Failover
|
|
6031
|
-
* @param {string} instanceId Instance ID
|
|
6032
|
-
* @param {boolean} enable Enable
|
|
6033
|
-
* @param {*} [options] Override http request option.
|
|
6034
|
-
* @throws {RequiredError}
|
|
6035
|
-
*/
|
|
6036
|
-
patchUpdateAutoFailover: function (instanceId, enable, options) {
|
|
6037
|
-
return localVarFp.patchUpdateAutoFailover(instanceId, enable, options).then(function (request) { return request(axios, basePath); });
|
|
6038
|
-
},
|
|
6039
|
-
/**
|
|
6040
|
-
* Add additional disk on 3CX Instance
|
|
6041
|
-
* @summary Add additional disk on 3CX Instance
|
|
6042
|
-
* @param {string} instanceId Instance ID
|
|
6043
|
-
* @param {number} gigabytes Disk Space (GB)
|
|
6044
|
-
* @param {*} [options] Override http request option.
|
|
6045
|
-
* @throws {RequiredError}
|
|
6046
|
-
*/
|
|
6047
|
-
postAddDisk: function (instanceId, gigabytes, options) {
|
|
6048
|
-
return localVarFp.postAddDisk(instanceId, gigabytes, options).then(function (request) { return request(axios, basePath); });
|
|
6049
|
-
},
|
|
6050
5859
|
/**
|
|
6051
5860
|
* Create a root user
|
|
6052
5861
|
* @summary Create a root user
|
|
@@ -6190,32 +5999,6 @@ var Class3CXInstallationsApi = /** @class */ (function (_super) {
|
|
|
6190
5999
|
var _this = this;
|
|
6191
6000
|
return (0, exports.Class3CXInstallationsApiFp)(this.configuration).getGetInstallations(pageSize, page, customerId, search, status, hosting, installType, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
6192
6001
|
};
|
|
6193
|
-
/**
|
|
6194
|
-
* Update 3CX Instance Auto Failover
|
|
6195
|
-
* @summary Update 3CX Instance Auto Failover
|
|
6196
|
-
* @param {string} instanceId Instance ID
|
|
6197
|
-
* @param {boolean} enable Enable
|
|
6198
|
-
* @param {*} [options] Override http request option.
|
|
6199
|
-
* @throws {RequiredError}
|
|
6200
|
-
* @memberof Class3CXInstallationsApi
|
|
6201
|
-
*/
|
|
6202
|
-
Class3CXInstallationsApi.prototype.patchUpdateAutoFailover = function (instanceId, enable, options) {
|
|
6203
|
-
var _this = this;
|
|
6204
|
-
return (0, exports.Class3CXInstallationsApiFp)(this.configuration).patchUpdateAutoFailover(instanceId, enable, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
6205
|
-
};
|
|
6206
|
-
/**
|
|
6207
|
-
* Add additional disk on 3CX Instance
|
|
6208
|
-
* @summary Add additional disk on 3CX Instance
|
|
6209
|
-
* @param {string} instanceId Instance ID
|
|
6210
|
-
* @param {number} gigabytes Disk Space (GB)
|
|
6211
|
-
* @param {*} [options] Override http request option.
|
|
6212
|
-
* @throws {RequiredError}
|
|
6213
|
-
* @memberof Class3CXInstallationsApi
|
|
6214
|
-
*/
|
|
6215
|
-
Class3CXInstallationsApi.prototype.postAddDisk = function (instanceId, gigabytes, options) {
|
|
6216
|
-
var _this = this;
|
|
6217
|
-
return (0, exports.Class3CXInstallationsApiFp)(this.configuration).postAddDisk(instanceId, gigabytes, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
6218
|
-
};
|
|
6219
6002
|
/**
|
|
6220
6003
|
* Create a root user
|
|
6221
6004
|
* @summary Create a root user
|
|
@@ -13118,6 +12901,523 @@ var SMSApi = /** @class */ (function (_super) {
|
|
|
13118
12901
|
return SMSApi;
|
|
13119
12902
|
}(base_1.BaseAPI));
|
|
13120
12903
|
exports.SMSApi = SMSApi;
|
|
12904
|
+
/**
|
|
12905
|
+
* ServicesApi - axios parameter creator
|
|
12906
|
+
* @export
|
|
12907
|
+
*/
|
|
12908
|
+
var ServicesApiAxiosParamCreator = function (configuration) {
|
|
12909
|
+
var _this = this;
|
|
12910
|
+
return {
|
|
12911
|
+
/**
|
|
12912
|
+
*
|
|
12913
|
+
* @param {string} [id] Unsubscribe Email ID
|
|
12914
|
+
* @param {string} [email] Unsubscribe Email Address
|
|
12915
|
+
* @param {*} [options] Override http request option.
|
|
12916
|
+
* @throws {RequiredError}
|
|
12917
|
+
*/
|
|
12918
|
+
deleteUnsubscribe: function (id_1, email_1) {
|
|
12919
|
+
var args_1 = [];
|
|
12920
|
+
for (var _i = 2; _i < arguments.length; _i++) {
|
|
12921
|
+
args_1[_i - 2] = arguments[_i];
|
|
12922
|
+
}
|
|
12923
|
+
return __awaiter(_this, __spreadArray([id_1, email_1], args_1, true), void 0, function (id, email, options) {
|
|
12924
|
+
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
12925
|
+
if (options === void 0) { options = {}; }
|
|
12926
|
+
return __generator(this, function (_a) {
|
|
12927
|
+
localVarPath = "/services/events/unsubscribe";
|
|
12928
|
+
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
12929
|
+
if (configuration) {
|
|
12930
|
+
baseOptions = configuration.baseOptions;
|
|
12931
|
+
}
|
|
12932
|
+
localVarRequestOptions = __assign(__assign({ method: 'DELETE' }, baseOptions), options);
|
|
12933
|
+
localVarHeaderParameter = {};
|
|
12934
|
+
localVarQueryParameter = {};
|
|
12935
|
+
if (id !== undefined) {
|
|
12936
|
+
localVarQueryParameter['id'] = id;
|
|
12937
|
+
}
|
|
12938
|
+
if (email !== undefined) {
|
|
12939
|
+
localVarQueryParameter['email'] = email;
|
|
12940
|
+
}
|
|
12941
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
12942
|
+
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
12943
|
+
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
12944
|
+
return [2 /*return*/, {
|
|
12945
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
12946
|
+
options: localVarRequestOptions,
|
|
12947
|
+
}];
|
|
12948
|
+
});
|
|
12949
|
+
});
|
|
12950
|
+
},
|
|
12951
|
+
/**
|
|
12952
|
+
*
|
|
12953
|
+
* @param {*} [options] Override http request option.
|
|
12954
|
+
* @throws {RequiredError}
|
|
12955
|
+
*/
|
|
12956
|
+
getGetServiceHealth: function () {
|
|
12957
|
+
var args_1 = [];
|
|
12958
|
+
for (var _i = 0; _i < arguments.length; _i++) {
|
|
12959
|
+
args_1[_i] = arguments[_i];
|
|
12960
|
+
}
|
|
12961
|
+
return __awaiter(_this, __spreadArray([], args_1, true), void 0, function (options) {
|
|
12962
|
+
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
12963
|
+
if (options === void 0) { options = {}; }
|
|
12964
|
+
return __generator(this, function (_a) {
|
|
12965
|
+
localVarPath = "/services/health";
|
|
12966
|
+
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
12967
|
+
if (configuration) {
|
|
12968
|
+
baseOptions = configuration.baseOptions;
|
|
12969
|
+
}
|
|
12970
|
+
localVarRequestOptions = __assign(__assign({ method: 'GET' }, baseOptions), options);
|
|
12971
|
+
localVarHeaderParameter = {};
|
|
12972
|
+
localVarQueryParameter = {};
|
|
12973
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
12974
|
+
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
12975
|
+
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
12976
|
+
return [2 /*return*/, {
|
|
12977
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
12978
|
+
options: localVarRequestOptions,
|
|
12979
|
+
}];
|
|
12980
|
+
});
|
|
12981
|
+
});
|
|
12982
|
+
},
|
|
12983
|
+
/**
|
|
12984
|
+
*
|
|
12985
|
+
* @param {number} id Group ID
|
|
12986
|
+
* @param {*} [options] Override http request option.
|
|
12987
|
+
* @throws {RequiredError}
|
|
12988
|
+
*/
|
|
12989
|
+
patchArchiveEvent: function (id_1) {
|
|
12990
|
+
var args_1 = [];
|
|
12991
|
+
for (var _i = 1; _i < arguments.length; _i++) {
|
|
12992
|
+
args_1[_i - 1] = arguments[_i];
|
|
12993
|
+
}
|
|
12994
|
+
return __awaiter(_this, __spreadArray([id_1], args_1, true), void 0, function (id, options) {
|
|
12995
|
+
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
12996
|
+
if (options === void 0) { options = {}; }
|
|
12997
|
+
return __generator(this, function (_a) {
|
|
12998
|
+
// verify required parameter 'id' is not null or undefined
|
|
12999
|
+
(0, common_1.assertParamExists)('patchArchiveEvent', 'id', id);
|
|
13000
|
+
localVarPath = "/services/events/{id}/archive"
|
|
13001
|
+
.replace("{".concat("id", "}"), encodeURIComponent(String(id)));
|
|
13002
|
+
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
13003
|
+
if (configuration) {
|
|
13004
|
+
baseOptions = configuration.baseOptions;
|
|
13005
|
+
}
|
|
13006
|
+
localVarRequestOptions = __assign(__assign({ method: 'PATCH' }, baseOptions), options);
|
|
13007
|
+
localVarHeaderParameter = {};
|
|
13008
|
+
localVarQueryParameter = {};
|
|
13009
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
13010
|
+
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
13011
|
+
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
13012
|
+
return [2 /*return*/, {
|
|
13013
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
13014
|
+
options: localVarRequestOptions,
|
|
13015
|
+
}];
|
|
13016
|
+
});
|
|
13017
|
+
});
|
|
13018
|
+
},
|
|
13019
|
+
/**
|
|
13020
|
+
*
|
|
13021
|
+
* @param {EventRequestDTO} [eventRequestDTO]
|
|
13022
|
+
* @param {*} [options] Override http request option.
|
|
13023
|
+
* @throws {RequiredError}
|
|
13024
|
+
*/
|
|
13025
|
+
postCreateEvent: function (eventRequestDTO_1) {
|
|
13026
|
+
var args_1 = [];
|
|
13027
|
+
for (var _i = 1; _i < arguments.length; _i++) {
|
|
13028
|
+
args_1[_i - 1] = arguments[_i];
|
|
13029
|
+
}
|
|
13030
|
+
return __awaiter(_this, __spreadArray([eventRequestDTO_1], args_1, true), void 0, function (eventRequestDTO, options) {
|
|
13031
|
+
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
13032
|
+
if (options === void 0) { options = {}; }
|
|
13033
|
+
return __generator(this, function (_a) {
|
|
13034
|
+
localVarPath = "/services/events";
|
|
13035
|
+
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
13036
|
+
if (configuration) {
|
|
13037
|
+
baseOptions = configuration.baseOptions;
|
|
13038
|
+
}
|
|
13039
|
+
localVarRequestOptions = __assign(__assign({ method: 'POST' }, baseOptions), options);
|
|
13040
|
+
localVarHeaderParameter = {};
|
|
13041
|
+
localVarQueryParameter = {};
|
|
13042
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
13043
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
13044
|
+
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
13045
|
+
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
13046
|
+
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(eventRequestDTO, localVarRequestOptions, configuration);
|
|
13047
|
+
return [2 /*return*/, {
|
|
13048
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
13049
|
+
options: localVarRequestOptions,
|
|
13050
|
+
}];
|
|
13051
|
+
});
|
|
13052
|
+
});
|
|
13053
|
+
},
|
|
13054
|
+
/**
|
|
13055
|
+
*
|
|
13056
|
+
* @param {number} id Group ID
|
|
13057
|
+
* @param {EventUpdateRequestDTO} [eventUpdateRequestDTO]
|
|
13058
|
+
* @param {*} [options] Override http request option.
|
|
13059
|
+
* @throws {RequiredError}
|
|
13060
|
+
*/
|
|
13061
|
+
postCreateEventUpdate: function (id_1, eventUpdateRequestDTO_1) {
|
|
13062
|
+
var args_1 = [];
|
|
13063
|
+
for (var _i = 2; _i < arguments.length; _i++) {
|
|
13064
|
+
args_1[_i - 2] = arguments[_i];
|
|
13065
|
+
}
|
|
13066
|
+
return __awaiter(_this, __spreadArray([id_1, eventUpdateRequestDTO_1], args_1, true), void 0, function (id, eventUpdateRequestDTO, options) {
|
|
13067
|
+
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
13068
|
+
if (options === void 0) { options = {}; }
|
|
13069
|
+
return __generator(this, function (_a) {
|
|
13070
|
+
// verify required parameter 'id' is not null or undefined
|
|
13071
|
+
(0, common_1.assertParamExists)('postCreateEventUpdate', 'id', id);
|
|
13072
|
+
localVarPath = "/services/events/{id}/updates"
|
|
13073
|
+
.replace("{".concat("id", "}"), encodeURIComponent(String(id)));
|
|
13074
|
+
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
13075
|
+
if (configuration) {
|
|
13076
|
+
baseOptions = configuration.baseOptions;
|
|
13077
|
+
}
|
|
13078
|
+
localVarRequestOptions = __assign(__assign({ method: 'POST' }, baseOptions), options);
|
|
13079
|
+
localVarHeaderParameter = {};
|
|
13080
|
+
localVarQueryParameter = {};
|
|
13081
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
13082
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
13083
|
+
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
13084
|
+
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
13085
|
+
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(eventUpdateRequestDTO, localVarRequestOptions, configuration);
|
|
13086
|
+
return [2 /*return*/, {
|
|
13087
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
13088
|
+
options: localVarRequestOptions,
|
|
13089
|
+
}];
|
|
13090
|
+
});
|
|
13091
|
+
});
|
|
13092
|
+
},
|
|
13093
|
+
/**
|
|
13094
|
+
*
|
|
13095
|
+
* @param {string} [email] Subscription Email Address
|
|
13096
|
+
* @param {*} [options] Override http request option.
|
|
13097
|
+
* @throws {RequiredError}
|
|
13098
|
+
*/
|
|
13099
|
+
postSubscribe: function (email_1) {
|
|
13100
|
+
var args_1 = [];
|
|
13101
|
+
for (var _i = 1; _i < arguments.length; _i++) {
|
|
13102
|
+
args_1[_i - 1] = arguments[_i];
|
|
13103
|
+
}
|
|
13104
|
+
return __awaiter(_this, __spreadArray([email_1], args_1, true), void 0, function (email, options) {
|
|
13105
|
+
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
13106
|
+
if (options === void 0) { options = {}; }
|
|
13107
|
+
return __generator(this, function (_a) {
|
|
13108
|
+
localVarPath = "/services/events/subscribe";
|
|
13109
|
+
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
13110
|
+
if (configuration) {
|
|
13111
|
+
baseOptions = configuration.baseOptions;
|
|
13112
|
+
}
|
|
13113
|
+
localVarRequestOptions = __assign(__assign({ method: 'POST' }, baseOptions), options);
|
|
13114
|
+
localVarHeaderParameter = {};
|
|
13115
|
+
localVarQueryParameter = {};
|
|
13116
|
+
if (email !== undefined) {
|
|
13117
|
+
localVarQueryParameter['email'] = email;
|
|
13118
|
+
}
|
|
13119
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
13120
|
+
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
13121
|
+
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
13122
|
+
return [2 /*return*/, {
|
|
13123
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
13124
|
+
options: localVarRequestOptions,
|
|
13125
|
+
}];
|
|
13126
|
+
});
|
|
13127
|
+
});
|
|
13128
|
+
},
|
|
13129
|
+
};
|
|
13130
|
+
};
|
|
13131
|
+
exports.ServicesApiAxiosParamCreator = ServicesApiAxiosParamCreator;
|
|
13132
|
+
/**
|
|
13133
|
+
* ServicesApi - functional programming interface
|
|
13134
|
+
* @export
|
|
13135
|
+
*/
|
|
13136
|
+
var ServicesApiFp = function (configuration) {
|
|
13137
|
+
var localVarAxiosParamCreator = (0, exports.ServicesApiAxiosParamCreator)(configuration);
|
|
13138
|
+
return {
|
|
13139
|
+
/**
|
|
13140
|
+
*
|
|
13141
|
+
* @param {string} [id] Unsubscribe Email ID
|
|
13142
|
+
* @param {string} [email] Unsubscribe Email Address
|
|
13143
|
+
* @param {*} [options] Override http request option.
|
|
13144
|
+
* @throws {RequiredError}
|
|
13145
|
+
*/
|
|
13146
|
+
deleteUnsubscribe: function (id, email, options) {
|
|
13147
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
13148
|
+
var localVarAxiosArgs, localVarOperationServerIndex, localVarOperationServerBasePath;
|
|
13149
|
+
var _a, _b, _c;
|
|
13150
|
+
return __generator(this, function (_d) {
|
|
13151
|
+
switch (_d.label) {
|
|
13152
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.deleteUnsubscribe(id, email, options)];
|
|
13153
|
+
case 1:
|
|
13154
|
+
localVarAxiosArgs = _d.sent();
|
|
13155
|
+
localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
13156
|
+
localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['ServicesApi.deleteUnsubscribe']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
13157
|
+
return [2 /*return*/, function (axios, basePath) { return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath); }];
|
|
13158
|
+
}
|
|
13159
|
+
});
|
|
13160
|
+
});
|
|
13161
|
+
},
|
|
13162
|
+
/**
|
|
13163
|
+
*
|
|
13164
|
+
* @param {*} [options] Override http request option.
|
|
13165
|
+
* @throws {RequiredError}
|
|
13166
|
+
*/
|
|
13167
|
+
getGetServiceHealth: function (options) {
|
|
13168
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
13169
|
+
var localVarAxiosArgs, localVarOperationServerIndex, localVarOperationServerBasePath;
|
|
13170
|
+
var _a, _b, _c;
|
|
13171
|
+
return __generator(this, function (_d) {
|
|
13172
|
+
switch (_d.label) {
|
|
13173
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.getGetServiceHealth(options)];
|
|
13174
|
+
case 1:
|
|
13175
|
+
localVarAxiosArgs = _d.sent();
|
|
13176
|
+
localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
13177
|
+
localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['ServicesApi.getGetServiceHealth']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
13178
|
+
return [2 /*return*/, function (axios, basePath) { return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath); }];
|
|
13179
|
+
}
|
|
13180
|
+
});
|
|
13181
|
+
});
|
|
13182
|
+
},
|
|
13183
|
+
/**
|
|
13184
|
+
*
|
|
13185
|
+
* @param {number} id Group ID
|
|
13186
|
+
* @param {*} [options] Override http request option.
|
|
13187
|
+
* @throws {RequiredError}
|
|
13188
|
+
*/
|
|
13189
|
+
patchArchiveEvent: function (id, options) {
|
|
13190
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
13191
|
+
var localVarAxiosArgs, localVarOperationServerIndex, localVarOperationServerBasePath;
|
|
13192
|
+
var _a, _b, _c;
|
|
13193
|
+
return __generator(this, function (_d) {
|
|
13194
|
+
switch (_d.label) {
|
|
13195
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.patchArchiveEvent(id, options)];
|
|
13196
|
+
case 1:
|
|
13197
|
+
localVarAxiosArgs = _d.sent();
|
|
13198
|
+
localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
13199
|
+
localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['ServicesApi.patchArchiveEvent']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
13200
|
+
return [2 /*return*/, function (axios, basePath) { return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath); }];
|
|
13201
|
+
}
|
|
13202
|
+
});
|
|
13203
|
+
});
|
|
13204
|
+
},
|
|
13205
|
+
/**
|
|
13206
|
+
*
|
|
13207
|
+
* @param {EventRequestDTO} [eventRequestDTO]
|
|
13208
|
+
* @param {*} [options] Override http request option.
|
|
13209
|
+
* @throws {RequiredError}
|
|
13210
|
+
*/
|
|
13211
|
+
postCreateEvent: function (eventRequestDTO, options) {
|
|
13212
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
13213
|
+
var localVarAxiosArgs, localVarOperationServerIndex, localVarOperationServerBasePath;
|
|
13214
|
+
var _a, _b, _c;
|
|
13215
|
+
return __generator(this, function (_d) {
|
|
13216
|
+
switch (_d.label) {
|
|
13217
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.postCreateEvent(eventRequestDTO, options)];
|
|
13218
|
+
case 1:
|
|
13219
|
+
localVarAxiosArgs = _d.sent();
|
|
13220
|
+
localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
13221
|
+
localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['ServicesApi.postCreateEvent']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
13222
|
+
return [2 /*return*/, function (axios, basePath) { return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath); }];
|
|
13223
|
+
}
|
|
13224
|
+
});
|
|
13225
|
+
});
|
|
13226
|
+
},
|
|
13227
|
+
/**
|
|
13228
|
+
*
|
|
13229
|
+
* @param {number} id Group ID
|
|
13230
|
+
* @param {EventUpdateRequestDTO} [eventUpdateRequestDTO]
|
|
13231
|
+
* @param {*} [options] Override http request option.
|
|
13232
|
+
* @throws {RequiredError}
|
|
13233
|
+
*/
|
|
13234
|
+
postCreateEventUpdate: function (id, eventUpdateRequestDTO, options) {
|
|
13235
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
13236
|
+
var localVarAxiosArgs, localVarOperationServerIndex, localVarOperationServerBasePath;
|
|
13237
|
+
var _a, _b, _c;
|
|
13238
|
+
return __generator(this, function (_d) {
|
|
13239
|
+
switch (_d.label) {
|
|
13240
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.postCreateEventUpdate(id, eventUpdateRequestDTO, options)];
|
|
13241
|
+
case 1:
|
|
13242
|
+
localVarAxiosArgs = _d.sent();
|
|
13243
|
+
localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
13244
|
+
localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['ServicesApi.postCreateEventUpdate']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
13245
|
+
return [2 /*return*/, function (axios, basePath) { return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath); }];
|
|
13246
|
+
}
|
|
13247
|
+
});
|
|
13248
|
+
});
|
|
13249
|
+
},
|
|
13250
|
+
/**
|
|
13251
|
+
*
|
|
13252
|
+
* @param {string} [email] Subscription Email Address
|
|
13253
|
+
* @param {*} [options] Override http request option.
|
|
13254
|
+
* @throws {RequiredError}
|
|
13255
|
+
*/
|
|
13256
|
+
postSubscribe: function (email, options) {
|
|
13257
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
13258
|
+
var localVarAxiosArgs, localVarOperationServerIndex, localVarOperationServerBasePath;
|
|
13259
|
+
var _a, _b, _c;
|
|
13260
|
+
return __generator(this, function (_d) {
|
|
13261
|
+
switch (_d.label) {
|
|
13262
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.postSubscribe(email, options)];
|
|
13263
|
+
case 1:
|
|
13264
|
+
localVarAxiosArgs = _d.sent();
|
|
13265
|
+
localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
13266
|
+
localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['ServicesApi.postSubscribe']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
13267
|
+
return [2 /*return*/, function (axios, basePath) { return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath); }];
|
|
13268
|
+
}
|
|
13269
|
+
});
|
|
13270
|
+
});
|
|
13271
|
+
},
|
|
13272
|
+
};
|
|
13273
|
+
};
|
|
13274
|
+
exports.ServicesApiFp = ServicesApiFp;
|
|
13275
|
+
/**
|
|
13276
|
+
* ServicesApi - factory interface
|
|
13277
|
+
* @export
|
|
13278
|
+
*/
|
|
13279
|
+
var ServicesApiFactory = function (configuration, basePath, axios) {
|
|
13280
|
+
var localVarFp = (0, exports.ServicesApiFp)(configuration);
|
|
13281
|
+
return {
|
|
13282
|
+
/**
|
|
13283
|
+
*
|
|
13284
|
+
* @param {string} [id] Unsubscribe Email ID
|
|
13285
|
+
* @param {string} [email] Unsubscribe Email Address
|
|
13286
|
+
* @param {*} [options] Override http request option.
|
|
13287
|
+
* @throws {RequiredError}
|
|
13288
|
+
*/
|
|
13289
|
+
deleteUnsubscribe: function (id, email, options) {
|
|
13290
|
+
return localVarFp.deleteUnsubscribe(id, email, options).then(function (request) { return request(axios, basePath); });
|
|
13291
|
+
},
|
|
13292
|
+
/**
|
|
13293
|
+
*
|
|
13294
|
+
* @param {*} [options] Override http request option.
|
|
13295
|
+
* @throws {RequiredError}
|
|
13296
|
+
*/
|
|
13297
|
+
getGetServiceHealth: function (options) {
|
|
13298
|
+
return localVarFp.getGetServiceHealth(options).then(function (request) { return request(axios, basePath); });
|
|
13299
|
+
},
|
|
13300
|
+
/**
|
|
13301
|
+
*
|
|
13302
|
+
* @param {number} id Group ID
|
|
13303
|
+
* @param {*} [options] Override http request option.
|
|
13304
|
+
* @throws {RequiredError}
|
|
13305
|
+
*/
|
|
13306
|
+
patchArchiveEvent: function (id, options) {
|
|
13307
|
+
return localVarFp.patchArchiveEvent(id, options).then(function (request) { return request(axios, basePath); });
|
|
13308
|
+
},
|
|
13309
|
+
/**
|
|
13310
|
+
*
|
|
13311
|
+
* @param {EventRequestDTO} [eventRequestDTO]
|
|
13312
|
+
* @param {*} [options] Override http request option.
|
|
13313
|
+
* @throws {RequiredError}
|
|
13314
|
+
*/
|
|
13315
|
+
postCreateEvent: function (eventRequestDTO, options) {
|
|
13316
|
+
return localVarFp.postCreateEvent(eventRequestDTO, options).then(function (request) { return request(axios, basePath); });
|
|
13317
|
+
},
|
|
13318
|
+
/**
|
|
13319
|
+
*
|
|
13320
|
+
* @param {number} id Group ID
|
|
13321
|
+
* @param {EventUpdateRequestDTO} [eventUpdateRequestDTO]
|
|
13322
|
+
* @param {*} [options] Override http request option.
|
|
13323
|
+
* @throws {RequiredError}
|
|
13324
|
+
*/
|
|
13325
|
+
postCreateEventUpdate: function (id, eventUpdateRequestDTO, options) {
|
|
13326
|
+
return localVarFp.postCreateEventUpdate(id, eventUpdateRequestDTO, options).then(function (request) { return request(axios, basePath); });
|
|
13327
|
+
},
|
|
13328
|
+
/**
|
|
13329
|
+
*
|
|
13330
|
+
* @param {string} [email] Subscription Email Address
|
|
13331
|
+
* @param {*} [options] Override http request option.
|
|
13332
|
+
* @throws {RequiredError}
|
|
13333
|
+
*/
|
|
13334
|
+
postSubscribe: function (email, options) {
|
|
13335
|
+
return localVarFp.postSubscribe(email, options).then(function (request) { return request(axios, basePath); });
|
|
13336
|
+
},
|
|
13337
|
+
};
|
|
13338
|
+
};
|
|
13339
|
+
exports.ServicesApiFactory = ServicesApiFactory;
|
|
13340
|
+
/**
|
|
13341
|
+
* ServicesApi - object-oriented interface
|
|
13342
|
+
* @export
|
|
13343
|
+
* @class ServicesApi
|
|
13344
|
+
* @extends {BaseAPI}
|
|
13345
|
+
*/
|
|
13346
|
+
var ServicesApi = /** @class */ (function (_super) {
|
|
13347
|
+
__extends(ServicesApi, _super);
|
|
13348
|
+
function ServicesApi() {
|
|
13349
|
+
return _super !== null && _super.apply(this, arguments) || this;
|
|
13350
|
+
}
|
|
13351
|
+
/**
|
|
13352
|
+
*
|
|
13353
|
+
* @param {string} [id] Unsubscribe Email ID
|
|
13354
|
+
* @param {string} [email] Unsubscribe Email Address
|
|
13355
|
+
* @param {*} [options] Override http request option.
|
|
13356
|
+
* @throws {RequiredError}
|
|
13357
|
+
* @memberof ServicesApi
|
|
13358
|
+
*/
|
|
13359
|
+
ServicesApi.prototype.deleteUnsubscribe = function (id, email, options) {
|
|
13360
|
+
var _this = this;
|
|
13361
|
+
return (0, exports.ServicesApiFp)(this.configuration).deleteUnsubscribe(id, email, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
13362
|
+
};
|
|
13363
|
+
/**
|
|
13364
|
+
*
|
|
13365
|
+
* @param {*} [options] Override http request option.
|
|
13366
|
+
* @throws {RequiredError}
|
|
13367
|
+
* @memberof ServicesApi
|
|
13368
|
+
*/
|
|
13369
|
+
ServicesApi.prototype.getGetServiceHealth = function (options) {
|
|
13370
|
+
var _this = this;
|
|
13371
|
+
return (0, exports.ServicesApiFp)(this.configuration).getGetServiceHealth(options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
13372
|
+
};
|
|
13373
|
+
/**
|
|
13374
|
+
*
|
|
13375
|
+
* @param {number} id Group ID
|
|
13376
|
+
* @param {*} [options] Override http request option.
|
|
13377
|
+
* @throws {RequiredError}
|
|
13378
|
+
* @memberof ServicesApi
|
|
13379
|
+
*/
|
|
13380
|
+
ServicesApi.prototype.patchArchiveEvent = function (id, options) {
|
|
13381
|
+
var _this = this;
|
|
13382
|
+
return (0, exports.ServicesApiFp)(this.configuration).patchArchiveEvent(id, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
13383
|
+
};
|
|
13384
|
+
/**
|
|
13385
|
+
*
|
|
13386
|
+
* @param {EventRequestDTO} [eventRequestDTO]
|
|
13387
|
+
* @param {*} [options] Override http request option.
|
|
13388
|
+
* @throws {RequiredError}
|
|
13389
|
+
* @memberof ServicesApi
|
|
13390
|
+
*/
|
|
13391
|
+
ServicesApi.prototype.postCreateEvent = function (eventRequestDTO, options) {
|
|
13392
|
+
var _this = this;
|
|
13393
|
+
return (0, exports.ServicesApiFp)(this.configuration).postCreateEvent(eventRequestDTO, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
13394
|
+
};
|
|
13395
|
+
/**
|
|
13396
|
+
*
|
|
13397
|
+
* @param {number} id Group ID
|
|
13398
|
+
* @param {EventUpdateRequestDTO} [eventUpdateRequestDTO]
|
|
13399
|
+
* @param {*} [options] Override http request option.
|
|
13400
|
+
* @throws {RequiredError}
|
|
13401
|
+
* @memberof ServicesApi
|
|
13402
|
+
*/
|
|
13403
|
+
ServicesApi.prototype.postCreateEventUpdate = function (id, eventUpdateRequestDTO, options) {
|
|
13404
|
+
var _this = this;
|
|
13405
|
+
return (0, exports.ServicesApiFp)(this.configuration).postCreateEventUpdate(id, eventUpdateRequestDTO, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
13406
|
+
};
|
|
13407
|
+
/**
|
|
13408
|
+
*
|
|
13409
|
+
* @param {string} [email] Subscription Email Address
|
|
13410
|
+
* @param {*} [options] Override http request option.
|
|
13411
|
+
* @throws {RequiredError}
|
|
13412
|
+
* @memberof ServicesApi
|
|
13413
|
+
*/
|
|
13414
|
+
ServicesApi.prototype.postSubscribe = function (email, options) {
|
|
13415
|
+
var _this = this;
|
|
13416
|
+
return (0, exports.ServicesApiFp)(this.configuration).postSubscribe(email, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
13417
|
+
};
|
|
13418
|
+
return ServicesApi;
|
|
13419
|
+
}(base_1.BaseAPI));
|
|
13420
|
+
exports.ServicesApi = ServicesApi;
|
|
13121
13421
|
/**
|
|
13122
13422
|
* ShippingApi - axios parameter creator
|
|
13123
13423
|
* @export
|