yellowgrid-api-ts 3.2.36 → 3.2.38-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 +9 -0
- package/.openapi-generator/VERSION +0 -0
- package/.openapi-generator-ignore +0 -0
- package/README.md +14 -0
- package/api.ts +703 -1
- 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 +459 -1
- package/dist/api.js +536 -4
- 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/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/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 -0
- package/docs/InstanceFailoverEntity.md +0 -0
- package/docs/InstanceMonitoringEntity.md +0 -0
- package/docs/InstanceMonitoringLogEntity.md +0 -0
- package/docs/InstanceScheduledTasksEntity.md +0 -0
- package/docs/InstanceTcxDetailsEntity.md +0 -0
- package/docs/InstanceUserCredentialsEntity.md +0 -0
- package/docs/ItemDTO.md +0 -0
- package/docs/ItemDiscountEntity.md +0 -0
- package/docs/ItemEntity.md +0 -0
- package/docs/LinkedOrderEntity.md +0 -0
- package/docs/MFARequiredModel.md +0 -0
- package/docs/MonthlyUsageModel.md +0 -0
- package/docs/MultiTenantChangeResponseModel.md +0 -0
- package/docs/MyPBXToolsApi.md +0 -0
- package/docs/NavigationModel.md +0 -0
- package/docs/OAuth20Api.md +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 -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/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,9 +84,9 @@ 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.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.ServiceStatusDTOStatusEnum = exports.ServiceHealthDTOGlobalStatusEnum = exports.OrderTotalModelCurrencyEnum = exports.OrderRequestModelSchoolTypeEnum = exports.OrderRequestModelLicenceTypeEnum = exports.MultiTenantChangeResponseModelTypeEnum = exports.ItemDiscountEntityTypeEnum = exports.HostingRegionDTOCodeEnum = exports.HostingChangeResponseModelTypeEnum = exports.EventDTOStatusEnum = exports.DivertResponseModelStatusEnum = exports.AdminUserModelRoleEnum = void 0;
|
|
88
|
+
exports.SIPTrunksApiAxiosParamCreator = exports.ProvisioningApi = exports.ProvisioningApiFactory = exports.ProvisioningApiFp = exports.ProvisioningApiAxiosParamCreator = exports.GetGetLegacyStockListFormatEnum = exports.ProductsApi = exports.ProductsApiFactory = exports.ProductsApiFp = exports.ProductsApiAxiosParamCreator = exports.PostSendPriceListCategoryEnum = exports.PostSendPriceListFormatEnum = exports.PostSendPriceListTypeEnum = exports.GetGetPriceListCategoryEnum = exports.GetGetPriceListFormatEnum = exports.GetGetPriceListTypeEnum = exports.PricingApi = exports.PricingApiFactory = exports.PricingApiFp = exports.PricingApiAxiosParamCreator = exports.GetGetOrdersFilterEnum = exports.GetGetOrdersStatusEnum = exports.OrdersApi = exports.OrdersApiFactory = exports.OrdersApiFp = exports.OrdersApiAxiosParamCreator = exports.PostAuthoriseScopeEnum = exports.PostAccessTokenTokenExchangeTypeEnum = exports.PostAccessTokenScopeEnum = exports.PostAccessTokenGrantTypeEnum = exports.OAuth20Api = exports.OAuth20ApiFactory = exports.OAuth20ApiFp = exports.OAuth20ApiAxiosParamCreator = exports.MyPBXToolsApi = exports.MyPBXToolsApiFactory = exports.MyPBXToolsApiFp = exports.MyPBXToolsApiAxiosParamCreator = exports.GetGetTenantsStatusEnum = exports.Class3CXMultiTenantApi = exports.Class3CXMultiTenantApiFactory = exports.Class3CXMultiTenantApiFp = exports.Class3CXMultiTenantApiAxiosParamCreator = exports.GetGetPriceSchoolTypeEnum = exports.GetGetPriceLicenceTypeEnum = exports.Class3CXIntegrationsApi = exports.Class3CXIntegrationsApiFactory = exports.Class3CXIntegrationsApiFp = exports.Class3CXIntegrationsApiAxiosParamCreator = exports.PostResizeInstanceSizeEnum = 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 = void 0;
|
|
90
90
|
var axios_1 = require("axios");
|
|
91
91
|
// Some imports not used depending on template conditions
|
|
92
92
|
// @ts-ignore
|
|
@@ -104,6 +104,11 @@ exports.DivertResponseModelStatusEnum = {
|
|
|
104
104
|
Enabled: 'enabled',
|
|
105
105
|
Disabled: 'disabled'
|
|
106
106
|
};
|
|
107
|
+
exports.EventDTOStatusEnum = {
|
|
108
|
+
NUMBER_0: 0,
|
|
109
|
+
NUMBER_1: 1,
|
|
110
|
+
NUMBER_2: 2
|
|
111
|
+
};
|
|
107
112
|
exports.HostingChangeResponseModelTypeEnum = {
|
|
108
113
|
NewInstance: 'New Instance',
|
|
109
114
|
BuildingInstance: 'Building Instance'
|
|
@@ -181,6 +186,16 @@ exports.OrderTotalModelCurrencyEnum = {
|
|
|
181
186
|
Thb: 'THB',
|
|
182
187
|
Zar: 'ZAR'
|
|
183
188
|
};
|
|
189
|
+
exports.ServiceHealthDTOGlobalStatusEnum = {
|
|
190
|
+
NUMBER_0: 0,
|
|
191
|
+
NUMBER_1: 1,
|
|
192
|
+
NUMBER_2: 2
|
|
193
|
+
};
|
|
194
|
+
exports.ServiceStatusDTOStatusEnum = {
|
|
195
|
+
NUMBER_0: 0,
|
|
196
|
+
NUMBER_1: 1,
|
|
197
|
+
NUMBER_2: 2
|
|
198
|
+
};
|
|
184
199
|
exports.ShippingServiceDTOCourierEnum = {
|
|
185
200
|
Dpd: 'DPD',
|
|
186
201
|
ChorltonPallet: 'Chorlton Pallet',
|
|
@@ -13120,6 +13135,523 @@ var SMSApi = /** @class */ (function (_super) {
|
|
|
13120
13135
|
return SMSApi;
|
|
13121
13136
|
}(base_1.BaseAPI));
|
|
13122
13137
|
exports.SMSApi = SMSApi;
|
|
13138
|
+
/**
|
|
13139
|
+
* ServicesApi - axios parameter creator
|
|
13140
|
+
* @export
|
|
13141
|
+
*/
|
|
13142
|
+
var ServicesApiAxiosParamCreator = function (configuration) {
|
|
13143
|
+
var _this = this;
|
|
13144
|
+
return {
|
|
13145
|
+
/**
|
|
13146
|
+
*
|
|
13147
|
+
* @param {string} [id] Unsubscribe Email ID
|
|
13148
|
+
* @param {string} [email] Unsubscribe Email Address
|
|
13149
|
+
* @param {*} [options] Override http request option.
|
|
13150
|
+
* @throws {RequiredError}
|
|
13151
|
+
*/
|
|
13152
|
+
deleteUnsubscribe: function (id_1, email_1) {
|
|
13153
|
+
var args_1 = [];
|
|
13154
|
+
for (var _i = 2; _i < arguments.length; _i++) {
|
|
13155
|
+
args_1[_i - 2] = arguments[_i];
|
|
13156
|
+
}
|
|
13157
|
+
return __awaiter(_this, __spreadArray([id_1, email_1], args_1, true), void 0, function (id, email, options) {
|
|
13158
|
+
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
13159
|
+
if (options === void 0) { options = {}; }
|
|
13160
|
+
return __generator(this, function (_a) {
|
|
13161
|
+
localVarPath = "/services/events/unsubscribe";
|
|
13162
|
+
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
13163
|
+
if (configuration) {
|
|
13164
|
+
baseOptions = configuration.baseOptions;
|
|
13165
|
+
}
|
|
13166
|
+
localVarRequestOptions = __assign(__assign({ method: 'DELETE' }, baseOptions), options);
|
|
13167
|
+
localVarHeaderParameter = {};
|
|
13168
|
+
localVarQueryParameter = {};
|
|
13169
|
+
if (id !== undefined) {
|
|
13170
|
+
localVarQueryParameter['id'] = id;
|
|
13171
|
+
}
|
|
13172
|
+
if (email !== undefined) {
|
|
13173
|
+
localVarQueryParameter['email'] = email;
|
|
13174
|
+
}
|
|
13175
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
13176
|
+
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
13177
|
+
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
13178
|
+
return [2 /*return*/, {
|
|
13179
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
13180
|
+
options: localVarRequestOptions,
|
|
13181
|
+
}];
|
|
13182
|
+
});
|
|
13183
|
+
});
|
|
13184
|
+
},
|
|
13185
|
+
/**
|
|
13186
|
+
*
|
|
13187
|
+
* @param {*} [options] Override http request option.
|
|
13188
|
+
* @throws {RequiredError}
|
|
13189
|
+
*/
|
|
13190
|
+
getGetServiceHealth: function () {
|
|
13191
|
+
var args_1 = [];
|
|
13192
|
+
for (var _i = 0; _i < arguments.length; _i++) {
|
|
13193
|
+
args_1[_i] = arguments[_i];
|
|
13194
|
+
}
|
|
13195
|
+
return __awaiter(_this, __spreadArray([], args_1, true), void 0, function (options) {
|
|
13196
|
+
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
13197
|
+
if (options === void 0) { options = {}; }
|
|
13198
|
+
return __generator(this, function (_a) {
|
|
13199
|
+
localVarPath = "/services/health";
|
|
13200
|
+
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
13201
|
+
if (configuration) {
|
|
13202
|
+
baseOptions = configuration.baseOptions;
|
|
13203
|
+
}
|
|
13204
|
+
localVarRequestOptions = __assign(__assign({ method: 'GET' }, baseOptions), options);
|
|
13205
|
+
localVarHeaderParameter = {};
|
|
13206
|
+
localVarQueryParameter = {};
|
|
13207
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
13208
|
+
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
13209
|
+
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
13210
|
+
return [2 /*return*/, {
|
|
13211
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
13212
|
+
options: localVarRequestOptions,
|
|
13213
|
+
}];
|
|
13214
|
+
});
|
|
13215
|
+
});
|
|
13216
|
+
},
|
|
13217
|
+
/**
|
|
13218
|
+
*
|
|
13219
|
+
* @param {number} id Group ID
|
|
13220
|
+
* @param {*} [options] Override http request option.
|
|
13221
|
+
* @throws {RequiredError}
|
|
13222
|
+
*/
|
|
13223
|
+
patchArchiveEvent: function (id_1) {
|
|
13224
|
+
var args_1 = [];
|
|
13225
|
+
for (var _i = 1; _i < arguments.length; _i++) {
|
|
13226
|
+
args_1[_i - 1] = arguments[_i];
|
|
13227
|
+
}
|
|
13228
|
+
return __awaiter(_this, __spreadArray([id_1], args_1, true), void 0, function (id, options) {
|
|
13229
|
+
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
13230
|
+
if (options === void 0) { options = {}; }
|
|
13231
|
+
return __generator(this, function (_a) {
|
|
13232
|
+
// verify required parameter 'id' is not null or undefined
|
|
13233
|
+
(0, common_1.assertParamExists)('patchArchiveEvent', 'id', id);
|
|
13234
|
+
localVarPath = "/services/events/{id}/archive"
|
|
13235
|
+
.replace("{".concat("id", "}"), encodeURIComponent(String(id)));
|
|
13236
|
+
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
13237
|
+
if (configuration) {
|
|
13238
|
+
baseOptions = configuration.baseOptions;
|
|
13239
|
+
}
|
|
13240
|
+
localVarRequestOptions = __assign(__assign({ method: 'PATCH' }, baseOptions), options);
|
|
13241
|
+
localVarHeaderParameter = {};
|
|
13242
|
+
localVarQueryParameter = {};
|
|
13243
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
13244
|
+
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
13245
|
+
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
13246
|
+
return [2 /*return*/, {
|
|
13247
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
13248
|
+
options: localVarRequestOptions,
|
|
13249
|
+
}];
|
|
13250
|
+
});
|
|
13251
|
+
});
|
|
13252
|
+
},
|
|
13253
|
+
/**
|
|
13254
|
+
*
|
|
13255
|
+
* @param {EventRequestDTO} [eventRequestDTO]
|
|
13256
|
+
* @param {*} [options] Override http request option.
|
|
13257
|
+
* @throws {RequiredError}
|
|
13258
|
+
*/
|
|
13259
|
+
postCreateEvent: function (eventRequestDTO_1) {
|
|
13260
|
+
var args_1 = [];
|
|
13261
|
+
for (var _i = 1; _i < arguments.length; _i++) {
|
|
13262
|
+
args_1[_i - 1] = arguments[_i];
|
|
13263
|
+
}
|
|
13264
|
+
return __awaiter(_this, __spreadArray([eventRequestDTO_1], args_1, true), void 0, function (eventRequestDTO, options) {
|
|
13265
|
+
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
13266
|
+
if (options === void 0) { options = {}; }
|
|
13267
|
+
return __generator(this, function (_a) {
|
|
13268
|
+
localVarPath = "/services/events";
|
|
13269
|
+
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
13270
|
+
if (configuration) {
|
|
13271
|
+
baseOptions = configuration.baseOptions;
|
|
13272
|
+
}
|
|
13273
|
+
localVarRequestOptions = __assign(__assign({ method: 'POST' }, baseOptions), options);
|
|
13274
|
+
localVarHeaderParameter = {};
|
|
13275
|
+
localVarQueryParameter = {};
|
|
13276
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
13277
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
13278
|
+
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
13279
|
+
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
13280
|
+
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(eventRequestDTO, localVarRequestOptions, configuration);
|
|
13281
|
+
return [2 /*return*/, {
|
|
13282
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
13283
|
+
options: localVarRequestOptions,
|
|
13284
|
+
}];
|
|
13285
|
+
});
|
|
13286
|
+
});
|
|
13287
|
+
},
|
|
13288
|
+
/**
|
|
13289
|
+
*
|
|
13290
|
+
* @param {number} id Group ID
|
|
13291
|
+
* @param {EventUpdateRequestDTO} [eventUpdateRequestDTO]
|
|
13292
|
+
* @param {*} [options] Override http request option.
|
|
13293
|
+
* @throws {RequiredError}
|
|
13294
|
+
*/
|
|
13295
|
+
postCreateEventUpdate: function (id_1, eventUpdateRequestDTO_1) {
|
|
13296
|
+
var args_1 = [];
|
|
13297
|
+
for (var _i = 2; _i < arguments.length; _i++) {
|
|
13298
|
+
args_1[_i - 2] = arguments[_i];
|
|
13299
|
+
}
|
|
13300
|
+
return __awaiter(_this, __spreadArray([id_1, eventUpdateRequestDTO_1], args_1, true), void 0, function (id, eventUpdateRequestDTO, options) {
|
|
13301
|
+
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
13302
|
+
if (options === void 0) { options = {}; }
|
|
13303
|
+
return __generator(this, function (_a) {
|
|
13304
|
+
// verify required parameter 'id' is not null or undefined
|
|
13305
|
+
(0, common_1.assertParamExists)('postCreateEventUpdate', 'id', id);
|
|
13306
|
+
localVarPath = "/services/events/{id}/updates"
|
|
13307
|
+
.replace("{".concat("id", "}"), encodeURIComponent(String(id)));
|
|
13308
|
+
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
13309
|
+
if (configuration) {
|
|
13310
|
+
baseOptions = configuration.baseOptions;
|
|
13311
|
+
}
|
|
13312
|
+
localVarRequestOptions = __assign(__assign({ method: 'POST' }, baseOptions), options);
|
|
13313
|
+
localVarHeaderParameter = {};
|
|
13314
|
+
localVarQueryParameter = {};
|
|
13315
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
13316
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
13317
|
+
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
13318
|
+
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
13319
|
+
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(eventUpdateRequestDTO, localVarRequestOptions, configuration);
|
|
13320
|
+
return [2 /*return*/, {
|
|
13321
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
13322
|
+
options: localVarRequestOptions,
|
|
13323
|
+
}];
|
|
13324
|
+
});
|
|
13325
|
+
});
|
|
13326
|
+
},
|
|
13327
|
+
/**
|
|
13328
|
+
*
|
|
13329
|
+
* @param {string} [email] Subscription Email Address
|
|
13330
|
+
* @param {*} [options] Override http request option.
|
|
13331
|
+
* @throws {RequiredError}
|
|
13332
|
+
*/
|
|
13333
|
+
postSubscribe: function (email_1) {
|
|
13334
|
+
var args_1 = [];
|
|
13335
|
+
for (var _i = 1; _i < arguments.length; _i++) {
|
|
13336
|
+
args_1[_i - 1] = arguments[_i];
|
|
13337
|
+
}
|
|
13338
|
+
return __awaiter(_this, __spreadArray([email_1], args_1, true), void 0, function (email, options) {
|
|
13339
|
+
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
13340
|
+
if (options === void 0) { options = {}; }
|
|
13341
|
+
return __generator(this, function (_a) {
|
|
13342
|
+
localVarPath = "/services/events/subscribe";
|
|
13343
|
+
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
13344
|
+
if (configuration) {
|
|
13345
|
+
baseOptions = configuration.baseOptions;
|
|
13346
|
+
}
|
|
13347
|
+
localVarRequestOptions = __assign(__assign({ method: 'POST' }, baseOptions), options);
|
|
13348
|
+
localVarHeaderParameter = {};
|
|
13349
|
+
localVarQueryParameter = {};
|
|
13350
|
+
if (email !== undefined) {
|
|
13351
|
+
localVarQueryParameter['email'] = email;
|
|
13352
|
+
}
|
|
13353
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
13354
|
+
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
13355
|
+
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
13356
|
+
return [2 /*return*/, {
|
|
13357
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
13358
|
+
options: localVarRequestOptions,
|
|
13359
|
+
}];
|
|
13360
|
+
});
|
|
13361
|
+
});
|
|
13362
|
+
},
|
|
13363
|
+
};
|
|
13364
|
+
};
|
|
13365
|
+
exports.ServicesApiAxiosParamCreator = ServicesApiAxiosParamCreator;
|
|
13366
|
+
/**
|
|
13367
|
+
* ServicesApi - functional programming interface
|
|
13368
|
+
* @export
|
|
13369
|
+
*/
|
|
13370
|
+
var ServicesApiFp = function (configuration) {
|
|
13371
|
+
var localVarAxiosParamCreator = (0, exports.ServicesApiAxiosParamCreator)(configuration);
|
|
13372
|
+
return {
|
|
13373
|
+
/**
|
|
13374
|
+
*
|
|
13375
|
+
* @param {string} [id] Unsubscribe Email ID
|
|
13376
|
+
* @param {string} [email] Unsubscribe Email Address
|
|
13377
|
+
* @param {*} [options] Override http request option.
|
|
13378
|
+
* @throws {RequiredError}
|
|
13379
|
+
*/
|
|
13380
|
+
deleteUnsubscribe: function (id, email, options) {
|
|
13381
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
13382
|
+
var localVarAxiosArgs, localVarOperationServerIndex, localVarOperationServerBasePath;
|
|
13383
|
+
var _a, _b, _c;
|
|
13384
|
+
return __generator(this, function (_d) {
|
|
13385
|
+
switch (_d.label) {
|
|
13386
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.deleteUnsubscribe(id, email, options)];
|
|
13387
|
+
case 1:
|
|
13388
|
+
localVarAxiosArgs = _d.sent();
|
|
13389
|
+
localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
13390
|
+
localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['ServicesApi.deleteUnsubscribe']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
13391
|
+
return [2 /*return*/, function (axios, basePath) { return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath); }];
|
|
13392
|
+
}
|
|
13393
|
+
});
|
|
13394
|
+
});
|
|
13395
|
+
},
|
|
13396
|
+
/**
|
|
13397
|
+
*
|
|
13398
|
+
* @param {*} [options] Override http request option.
|
|
13399
|
+
* @throws {RequiredError}
|
|
13400
|
+
*/
|
|
13401
|
+
getGetServiceHealth: function (options) {
|
|
13402
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
13403
|
+
var localVarAxiosArgs, localVarOperationServerIndex, localVarOperationServerBasePath;
|
|
13404
|
+
var _a, _b, _c;
|
|
13405
|
+
return __generator(this, function (_d) {
|
|
13406
|
+
switch (_d.label) {
|
|
13407
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.getGetServiceHealth(options)];
|
|
13408
|
+
case 1:
|
|
13409
|
+
localVarAxiosArgs = _d.sent();
|
|
13410
|
+
localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
13411
|
+
localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['ServicesApi.getGetServiceHealth']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
13412
|
+
return [2 /*return*/, function (axios, basePath) { return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath); }];
|
|
13413
|
+
}
|
|
13414
|
+
});
|
|
13415
|
+
});
|
|
13416
|
+
},
|
|
13417
|
+
/**
|
|
13418
|
+
*
|
|
13419
|
+
* @param {number} id Group ID
|
|
13420
|
+
* @param {*} [options] Override http request option.
|
|
13421
|
+
* @throws {RequiredError}
|
|
13422
|
+
*/
|
|
13423
|
+
patchArchiveEvent: function (id, options) {
|
|
13424
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
13425
|
+
var localVarAxiosArgs, localVarOperationServerIndex, localVarOperationServerBasePath;
|
|
13426
|
+
var _a, _b, _c;
|
|
13427
|
+
return __generator(this, function (_d) {
|
|
13428
|
+
switch (_d.label) {
|
|
13429
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.patchArchiveEvent(id, options)];
|
|
13430
|
+
case 1:
|
|
13431
|
+
localVarAxiosArgs = _d.sent();
|
|
13432
|
+
localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
13433
|
+
localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['ServicesApi.patchArchiveEvent']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
13434
|
+
return [2 /*return*/, function (axios, basePath) { return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath); }];
|
|
13435
|
+
}
|
|
13436
|
+
});
|
|
13437
|
+
});
|
|
13438
|
+
},
|
|
13439
|
+
/**
|
|
13440
|
+
*
|
|
13441
|
+
* @param {EventRequestDTO} [eventRequestDTO]
|
|
13442
|
+
* @param {*} [options] Override http request option.
|
|
13443
|
+
* @throws {RequiredError}
|
|
13444
|
+
*/
|
|
13445
|
+
postCreateEvent: function (eventRequestDTO, options) {
|
|
13446
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
13447
|
+
var localVarAxiosArgs, localVarOperationServerIndex, localVarOperationServerBasePath;
|
|
13448
|
+
var _a, _b, _c;
|
|
13449
|
+
return __generator(this, function (_d) {
|
|
13450
|
+
switch (_d.label) {
|
|
13451
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.postCreateEvent(eventRequestDTO, options)];
|
|
13452
|
+
case 1:
|
|
13453
|
+
localVarAxiosArgs = _d.sent();
|
|
13454
|
+
localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
13455
|
+
localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['ServicesApi.postCreateEvent']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
13456
|
+
return [2 /*return*/, function (axios, basePath) { return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath); }];
|
|
13457
|
+
}
|
|
13458
|
+
});
|
|
13459
|
+
});
|
|
13460
|
+
},
|
|
13461
|
+
/**
|
|
13462
|
+
*
|
|
13463
|
+
* @param {number} id Group ID
|
|
13464
|
+
* @param {EventUpdateRequestDTO} [eventUpdateRequestDTO]
|
|
13465
|
+
* @param {*} [options] Override http request option.
|
|
13466
|
+
* @throws {RequiredError}
|
|
13467
|
+
*/
|
|
13468
|
+
postCreateEventUpdate: function (id, eventUpdateRequestDTO, options) {
|
|
13469
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
13470
|
+
var localVarAxiosArgs, localVarOperationServerIndex, localVarOperationServerBasePath;
|
|
13471
|
+
var _a, _b, _c;
|
|
13472
|
+
return __generator(this, function (_d) {
|
|
13473
|
+
switch (_d.label) {
|
|
13474
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.postCreateEventUpdate(id, eventUpdateRequestDTO, options)];
|
|
13475
|
+
case 1:
|
|
13476
|
+
localVarAxiosArgs = _d.sent();
|
|
13477
|
+
localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
13478
|
+
localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['ServicesApi.postCreateEventUpdate']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
13479
|
+
return [2 /*return*/, function (axios, basePath) { return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath); }];
|
|
13480
|
+
}
|
|
13481
|
+
});
|
|
13482
|
+
});
|
|
13483
|
+
},
|
|
13484
|
+
/**
|
|
13485
|
+
*
|
|
13486
|
+
* @param {string} [email] Subscription Email Address
|
|
13487
|
+
* @param {*} [options] Override http request option.
|
|
13488
|
+
* @throws {RequiredError}
|
|
13489
|
+
*/
|
|
13490
|
+
postSubscribe: function (email, options) {
|
|
13491
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
13492
|
+
var localVarAxiosArgs, localVarOperationServerIndex, localVarOperationServerBasePath;
|
|
13493
|
+
var _a, _b, _c;
|
|
13494
|
+
return __generator(this, function (_d) {
|
|
13495
|
+
switch (_d.label) {
|
|
13496
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.postSubscribe(email, options)];
|
|
13497
|
+
case 1:
|
|
13498
|
+
localVarAxiosArgs = _d.sent();
|
|
13499
|
+
localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
13500
|
+
localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['ServicesApi.postSubscribe']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
13501
|
+
return [2 /*return*/, function (axios, basePath) { return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath); }];
|
|
13502
|
+
}
|
|
13503
|
+
});
|
|
13504
|
+
});
|
|
13505
|
+
},
|
|
13506
|
+
};
|
|
13507
|
+
};
|
|
13508
|
+
exports.ServicesApiFp = ServicesApiFp;
|
|
13509
|
+
/**
|
|
13510
|
+
* ServicesApi - factory interface
|
|
13511
|
+
* @export
|
|
13512
|
+
*/
|
|
13513
|
+
var ServicesApiFactory = function (configuration, basePath, axios) {
|
|
13514
|
+
var localVarFp = (0, exports.ServicesApiFp)(configuration);
|
|
13515
|
+
return {
|
|
13516
|
+
/**
|
|
13517
|
+
*
|
|
13518
|
+
* @param {string} [id] Unsubscribe Email ID
|
|
13519
|
+
* @param {string} [email] Unsubscribe Email Address
|
|
13520
|
+
* @param {*} [options] Override http request option.
|
|
13521
|
+
* @throws {RequiredError}
|
|
13522
|
+
*/
|
|
13523
|
+
deleteUnsubscribe: function (id, email, options) {
|
|
13524
|
+
return localVarFp.deleteUnsubscribe(id, email, options).then(function (request) { return request(axios, basePath); });
|
|
13525
|
+
},
|
|
13526
|
+
/**
|
|
13527
|
+
*
|
|
13528
|
+
* @param {*} [options] Override http request option.
|
|
13529
|
+
* @throws {RequiredError}
|
|
13530
|
+
*/
|
|
13531
|
+
getGetServiceHealth: function (options) {
|
|
13532
|
+
return localVarFp.getGetServiceHealth(options).then(function (request) { return request(axios, basePath); });
|
|
13533
|
+
},
|
|
13534
|
+
/**
|
|
13535
|
+
*
|
|
13536
|
+
* @param {number} id Group ID
|
|
13537
|
+
* @param {*} [options] Override http request option.
|
|
13538
|
+
* @throws {RequiredError}
|
|
13539
|
+
*/
|
|
13540
|
+
patchArchiveEvent: function (id, options) {
|
|
13541
|
+
return localVarFp.patchArchiveEvent(id, options).then(function (request) { return request(axios, basePath); });
|
|
13542
|
+
},
|
|
13543
|
+
/**
|
|
13544
|
+
*
|
|
13545
|
+
* @param {EventRequestDTO} [eventRequestDTO]
|
|
13546
|
+
* @param {*} [options] Override http request option.
|
|
13547
|
+
* @throws {RequiredError}
|
|
13548
|
+
*/
|
|
13549
|
+
postCreateEvent: function (eventRequestDTO, options) {
|
|
13550
|
+
return localVarFp.postCreateEvent(eventRequestDTO, options).then(function (request) { return request(axios, basePath); });
|
|
13551
|
+
},
|
|
13552
|
+
/**
|
|
13553
|
+
*
|
|
13554
|
+
* @param {number} id Group ID
|
|
13555
|
+
* @param {EventUpdateRequestDTO} [eventUpdateRequestDTO]
|
|
13556
|
+
* @param {*} [options] Override http request option.
|
|
13557
|
+
* @throws {RequiredError}
|
|
13558
|
+
*/
|
|
13559
|
+
postCreateEventUpdate: function (id, eventUpdateRequestDTO, options) {
|
|
13560
|
+
return localVarFp.postCreateEventUpdate(id, eventUpdateRequestDTO, options).then(function (request) { return request(axios, basePath); });
|
|
13561
|
+
},
|
|
13562
|
+
/**
|
|
13563
|
+
*
|
|
13564
|
+
* @param {string} [email] Subscription Email Address
|
|
13565
|
+
* @param {*} [options] Override http request option.
|
|
13566
|
+
* @throws {RequiredError}
|
|
13567
|
+
*/
|
|
13568
|
+
postSubscribe: function (email, options) {
|
|
13569
|
+
return localVarFp.postSubscribe(email, options).then(function (request) { return request(axios, basePath); });
|
|
13570
|
+
},
|
|
13571
|
+
};
|
|
13572
|
+
};
|
|
13573
|
+
exports.ServicesApiFactory = ServicesApiFactory;
|
|
13574
|
+
/**
|
|
13575
|
+
* ServicesApi - object-oriented interface
|
|
13576
|
+
* @export
|
|
13577
|
+
* @class ServicesApi
|
|
13578
|
+
* @extends {BaseAPI}
|
|
13579
|
+
*/
|
|
13580
|
+
var ServicesApi = /** @class */ (function (_super) {
|
|
13581
|
+
__extends(ServicesApi, _super);
|
|
13582
|
+
function ServicesApi() {
|
|
13583
|
+
return _super !== null && _super.apply(this, arguments) || this;
|
|
13584
|
+
}
|
|
13585
|
+
/**
|
|
13586
|
+
*
|
|
13587
|
+
* @param {string} [id] Unsubscribe Email ID
|
|
13588
|
+
* @param {string} [email] Unsubscribe Email Address
|
|
13589
|
+
* @param {*} [options] Override http request option.
|
|
13590
|
+
* @throws {RequiredError}
|
|
13591
|
+
* @memberof ServicesApi
|
|
13592
|
+
*/
|
|
13593
|
+
ServicesApi.prototype.deleteUnsubscribe = function (id, email, options) {
|
|
13594
|
+
var _this = this;
|
|
13595
|
+
return (0, exports.ServicesApiFp)(this.configuration).deleteUnsubscribe(id, email, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
13596
|
+
};
|
|
13597
|
+
/**
|
|
13598
|
+
*
|
|
13599
|
+
* @param {*} [options] Override http request option.
|
|
13600
|
+
* @throws {RequiredError}
|
|
13601
|
+
* @memberof ServicesApi
|
|
13602
|
+
*/
|
|
13603
|
+
ServicesApi.prototype.getGetServiceHealth = function (options) {
|
|
13604
|
+
var _this = this;
|
|
13605
|
+
return (0, exports.ServicesApiFp)(this.configuration).getGetServiceHealth(options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
13606
|
+
};
|
|
13607
|
+
/**
|
|
13608
|
+
*
|
|
13609
|
+
* @param {number} id Group ID
|
|
13610
|
+
* @param {*} [options] Override http request option.
|
|
13611
|
+
* @throws {RequiredError}
|
|
13612
|
+
* @memberof ServicesApi
|
|
13613
|
+
*/
|
|
13614
|
+
ServicesApi.prototype.patchArchiveEvent = function (id, options) {
|
|
13615
|
+
var _this = this;
|
|
13616
|
+
return (0, exports.ServicesApiFp)(this.configuration).patchArchiveEvent(id, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
13617
|
+
};
|
|
13618
|
+
/**
|
|
13619
|
+
*
|
|
13620
|
+
* @param {EventRequestDTO} [eventRequestDTO]
|
|
13621
|
+
* @param {*} [options] Override http request option.
|
|
13622
|
+
* @throws {RequiredError}
|
|
13623
|
+
* @memberof ServicesApi
|
|
13624
|
+
*/
|
|
13625
|
+
ServicesApi.prototype.postCreateEvent = function (eventRequestDTO, options) {
|
|
13626
|
+
var _this = this;
|
|
13627
|
+
return (0, exports.ServicesApiFp)(this.configuration).postCreateEvent(eventRequestDTO, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
13628
|
+
};
|
|
13629
|
+
/**
|
|
13630
|
+
*
|
|
13631
|
+
* @param {number} id Group ID
|
|
13632
|
+
* @param {EventUpdateRequestDTO} [eventUpdateRequestDTO]
|
|
13633
|
+
* @param {*} [options] Override http request option.
|
|
13634
|
+
* @throws {RequiredError}
|
|
13635
|
+
* @memberof ServicesApi
|
|
13636
|
+
*/
|
|
13637
|
+
ServicesApi.prototype.postCreateEventUpdate = function (id, eventUpdateRequestDTO, options) {
|
|
13638
|
+
var _this = this;
|
|
13639
|
+
return (0, exports.ServicesApiFp)(this.configuration).postCreateEventUpdate(id, eventUpdateRequestDTO, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
13640
|
+
};
|
|
13641
|
+
/**
|
|
13642
|
+
*
|
|
13643
|
+
* @param {string} [email] Subscription Email Address
|
|
13644
|
+
* @param {*} [options] Override http request option.
|
|
13645
|
+
* @throws {RequiredError}
|
|
13646
|
+
* @memberof ServicesApi
|
|
13647
|
+
*/
|
|
13648
|
+
ServicesApi.prototype.postSubscribe = function (email, options) {
|
|
13649
|
+
var _this = this;
|
|
13650
|
+
return (0, exports.ServicesApiFp)(this.configuration).postSubscribe(email, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
13651
|
+
};
|
|
13652
|
+
return ServicesApi;
|
|
13653
|
+
}(base_1.BaseAPI));
|
|
13654
|
+
exports.ServicesApi = ServicesApi;
|
|
13123
13655
|
/**
|
|
13124
13656
|
* ShippingApi - axios parameter creator
|
|
13125
13657
|
* @export
|
package/dist/base.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Yellowgrid
|
|
3
|
-
* Welcome to the Yellowgrid API documentation.
|
|
3
|
+
* 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.
|
|
4
4
|
*
|
|
5
5
|
* The version of the OpenAPI document: 0
|
|
6
6
|
*
|
package/dist/base.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
|
*
|
package/dist/common.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Yellowgrid
|
|
3
|
-
* Welcome to the Yellowgrid API documentation.
|
|
3
|
+
* 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.
|
|
4
4
|
*
|
|
5
5
|
* The version of the OpenAPI document: 0
|
|
6
6
|
*
|
package/dist/common.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
|
*
|
package/dist/configuration.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Yellowgrid
|
|
3
|
-
* Welcome to the Yellowgrid API documentation.
|
|
3
|
+
* 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.
|
|
4
4
|
*
|
|
5
5
|
* The version of the OpenAPI document: 0
|
|
6
6
|
*
|