yellowgrid-api-ts 3.2.35 → 3.2.37
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/README.md +14 -0
- package/api.ts +746 -0
- package/dist/api.d.ts +490 -0
- package/dist/api.js +561 -3
- 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/ServiceHealthDTO.md +23 -0
- package/docs/ServiceStatusDTO.md +27 -0
- package/docs/ServicesApi.md +330 -0
- package/package.json +1 -1
package/dist/api.js
CHANGED
|
@@ -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.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.EventUpdateRequestDTOTypeEnum = exports.EventUpdateDTOTypeEnum = exports.EventRequestDTOServiceEnum = exports.EventRequestDTOTypeEnum = exports.EventDTOStatusEnum = exports.EventDTOServiceEnum = exports.EventDTOTypeEnum = exports.DivertResponseModelStatusEnum = exports.AdminUserModelRoleEnum = void 0;
|
|
88
|
+
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 = exports.PostFailoverInstanceTypeEnum = exports.GetGetInstallationsInstallTypeEnum = exports.GetGetInstallationsHostingEnum = exports.GetGetInstallationsStatusEnum = exports.Class3CXInstallationsApi = exports.Class3CXInstallationsApiFactory = 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 = 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,37 @@ exports.DivertResponseModelStatusEnum = {
|
|
|
104
104
|
Enabled: 'enabled',
|
|
105
105
|
Disabled: 'disabled'
|
|
106
106
|
};
|
|
107
|
+
exports.EventDTOTypeEnum = {
|
|
108
|
+
NUMBER_0: 0,
|
|
109
|
+
NUMBER_1: 1
|
|
110
|
+
};
|
|
111
|
+
exports.EventDTOServiceEnum = {
|
|
112
|
+
NUMBER_0: 0,
|
|
113
|
+
NUMBER_1: 1
|
|
114
|
+
};
|
|
115
|
+
exports.EventDTOStatusEnum = {
|
|
116
|
+
NUMBER_0: 0,
|
|
117
|
+
NUMBER_1: 1,
|
|
118
|
+
NUMBER_2: 2
|
|
119
|
+
};
|
|
120
|
+
exports.EventRequestDTOTypeEnum = {
|
|
121
|
+
NUMBER_0: 0,
|
|
122
|
+
NUMBER_1: 1
|
|
123
|
+
};
|
|
124
|
+
exports.EventRequestDTOServiceEnum = {
|
|
125
|
+
NUMBER_0: 0,
|
|
126
|
+
NUMBER_1: 1
|
|
127
|
+
};
|
|
128
|
+
exports.EventUpdateDTOTypeEnum = {
|
|
129
|
+
NUMBER_0: 0,
|
|
130
|
+
NUMBER_1: 1,
|
|
131
|
+
NUMBER_2: 2
|
|
132
|
+
};
|
|
133
|
+
exports.EventUpdateRequestDTOTypeEnum = {
|
|
134
|
+
NUMBER_0: 0,
|
|
135
|
+
NUMBER_1: 1,
|
|
136
|
+
NUMBER_2: 2
|
|
137
|
+
};
|
|
107
138
|
exports.HostingChangeResponseModelTypeEnum = {
|
|
108
139
|
NewInstance: 'New Instance',
|
|
109
140
|
BuildingInstance: 'Building Instance'
|
|
@@ -181,6 +212,16 @@ exports.OrderTotalModelCurrencyEnum = {
|
|
|
181
212
|
Thb: 'THB',
|
|
182
213
|
Zar: 'ZAR'
|
|
183
214
|
};
|
|
215
|
+
exports.ServiceHealthDTOGlobalStatusEnum = {
|
|
216
|
+
NUMBER_0: 0,
|
|
217
|
+
NUMBER_1: 1,
|
|
218
|
+
NUMBER_2: 2
|
|
219
|
+
};
|
|
220
|
+
exports.ServiceStatusDTOStatusEnum = {
|
|
221
|
+
NUMBER_0: 0,
|
|
222
|
+
NUMBER_1: 1,
|
|
223
|
+
NUMBER_2: 2
|
|
224
|
+
};
|
|
184
225
|
exports.ShippingServiceDTOCourierEnum = {
|
|
185
226
|
Dpd: 'DPD',
|
|
186
227
|
ChorltonPallet: 'Chorlton Pallet',
|
|
@@ -13120,6 +13161,523 @@ var SMSApi = /** @class */ (function (_super) {
|
|
|
13120
13161
|
return SMSApi;
|
|
13121
13162
|
}(base_1.BaseAPI));
|
|
13122
13163
|
exports.SMSApi = SMSApi;
|
|
13164
|
+
/**
|
|
13165
|
+
* ServicesApi - axios parameter creator
|
|
13166
|
+
* @export
|
|
13167
|
+
*/
|
|
13168
|
+
var ServicesApiAxiosParamCreator = function (configuration) {
|
|
13169
|
+
var _this = this;
|
|
13170
|
+
return {
|
|
13171
|
+
/**
|
|
13172
|
+
*
|
|
13173
|
+
* @param {string} [id] Unsubscribe Email ID
|
|
13174
|
+
* @param {string} [email] Unsubscribe Email Address
|
|
13175
|
+
* @param {*} [options] Override http request option.
|
|
13176
|
+
* @throws {RequiredError}
|
|
13177
|
+
*/
|
|
13178
|
+
deleteUnsubscribe: function (id_1, email_1) {
|
|
13179
|
+
var args_1 = [];
|
|
13180
|
+
for (var _i = 2; _i < arguments.length; _i++) {
|
|
13181
|
+
args_1[_i - 2] = arguments[_i];
|
|
13182
|
+
}
|
|
13183
|
+
return __awaiter(_this, __spreadArray([id_1, email_1], args_1, true), void 0, function (id, email, options) {
|
|
13184
|
+
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
13185
|
+
if (options === void 0) { options = {}; }
|
|
13186
|
+
return __generator(this, function (_a) {
|
|
13187
|
+
localVarPath = "/services/events/unsubscribe";
|
|
13188
|
+
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
13189
|
+
if (configuration) {
|
|
13190
|
+
baseOptions = configuration.baseOptions;
|
|
13191
|
+
}
|
|
13192
|
+
localVarRequestOptions = __assign(__assign({ method: 'DELETE' }, baseOptions), options);
|
|
13193
|
+
localVarHeaderParameter = {};
|
|
13194
|
+
localVarQueryParameter = {};
|
|
13195
|
+
if (id !== undefined) {
|
|
13196
|
+
localVarQueryParameter['id'] = id;
|
|
13197
|
+
}
|
|
13198
|
+
if (email !== undefined) {
|
|
13199
|
+
localVarQueryParameter['email'] = email;
|
|
13200
|
+
}
|
|
13201
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
13202
|
+
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
13203
|
+
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
13204
|
+
return [2 /*return*/, {
|
|
13205
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
13206
|
+
options: localVarRequestOptions,
|
|
13207
|
+
}];
|
|
13208
|
+
});
|
|
13209
|
+
});
|
|
13210
|
+
},
|
|
13211
|
+
/**
|
|
13212
|
+
*
|
|
13213
|
+
* @param {*} [options] Override http request option.
|
|
13214
|
+
* @throws {RequiredError}
|
|
13215
|
+
*/
|
|
13216
|
+
getGetServiceHealth: function () {
|
|
13217
|
+
var args_1 = [];
|
|
13218
|
+
for (var _i = 0; _i < arguments.length; _i++) {
|
|
13219
|
+
args_1[_i] = arguments[_i];
|
|
13220
|
+
}
|
|
13221
|
+
return __awaiter(_this, __spreadArray([], args_1, true), void 0, function (options) {
|
|
13222
|
+
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
13223
|
+
if (options === void 0) { options = {}; }
|
|
13224
|
+
return __generator(this, function (_a) {
|
|
13225
|
+
localVarPath = "/services/health";
|
|
13226
|
+
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
13227
|
+
if (configuration) {
|
|
13228
|
+
baseOptions = configuration.baseOptions;
|
|
13229
|
+
}
|
|
13230
|
+
localVarRequestOptions = __assign(__assign({ method: 'GET' }, baseOptions), options);
|
|
13231
|
+
localVarHeaderParameter = {};
|
|
13232
|
+
localVarQueryParameter = {};
|
|
13233
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
13234
|
+
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
13235
|
+
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
13236
|
+
return [2 /*return*/, {
|
|
13237
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
13238
|
+
options: localVarRequestOptions,
|
|
13239
|
+
}];
|
|
13240
|
+
});
|
|
13241
|
+
});
|
|
13242
|
+
},
|
|
13243
|
+
/**
|
|
13244
|
+
*
|
|
13245
|
+
* @param {number} id Group ID
|
|
13246
|
+
* @param {*} [options] Override http request option.
|
|
13247
|
+
* @throws {RequiredError}
|
|
13248
|
+
*/
|
|
13249
|
+
patchArchiveEvent: function (id_1) {
|
|
13250
|
+
var args_1 = [];
|
|
13251
|
+
for (var _i = 1; _i < arguments.length; _i++) {
|
|
13252
|
+
args_1[_i - 1] = arguments[_i];
|
|
13253
|
+
}
|
|
13254
|
+
return __awaiter(_this, __spreadArray([id_1], args_1, true), void 0, function (id, options) {
|
|
13255
|
+
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
13256
|
+
if (options === void 0) { options = {}; }
|
|
13257
|
+
return __generator(this, function (_a) {
|
|
13258
|
+
// verify required parameter 'id' is not null or undefined
|
|
13259
|
+
(0, common_1.assertParamExists)('patchArchiveEvent', 'id', id);
|
|
13260
|
+
localVarPath = "/services/events/{id}/archive"
|
|
13261
|
+
.replace("{".concat("id", "}"), encodeURIComponent(String(id)));
|
|
13262
|
+
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
13263
|
+
if (configuration) {
|
|
13264
|
+
baseOptions = configuration.baseOptions;
|
|
13265
|
+
}
|
|
13266
|
+
localVarRequestOptions = __assign(__assign({ method: 'PATCH' }, baseOptions), options);
|
|
13267
|
+
localVarHeaderParameter = {};
|
|
13268
|
+
localVarQueryParameter = {};
|
|
13269
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
13270
|
+
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
13271
|
+
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
13272
|
+
return [2 /*return*/, {
|
|
13273
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
13274
|
+
options: localVarRequestOptions,
|
|
13275
|
+
}];
|
|
13276
|
+
});
|
|
13277
|
+
});
|
|
13278
|
+
},
|
|
13279
|
+
/**
|
|
13280
|
+
*
|
|
13281
|
+
* @param {EventRequestDTO} [eventRequestDTO]
|
|
13282
|
+
* @param {*} [options] Override http request option.
|
|
13283
|
+
* @throws {RequiredError}
|
|
13284
|
+
*/
|
|
13285
|
+
postCreateEvent: function (eventRequestDTO_1) {
|
|
13286
|
+
var args_1 = [];
|
|
13287
|
+
for (var _i = 1; _i < arguments.length; _i++) {
|
|
13288
|
+
args_1[_i - 1] = arguments[_i];
|
|
13289
|
+
}
|
|
13290
|
+
return __awaiter(_this, __spreadArray([eventRequestDTO_1], args_1, true), void 0, function (eventRequestDTO, options) {
|
|
13291
|
+
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
13292
|
+
if (options === void 0) { options = {}; }
|
|
13293
|
+
return __generator(this, function (_a) {
|
|
13294
|
+
localVarPath = "/services/events";
|
|
13295
|
+
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
13296
|
+
if (configuration) {
|
|
13297
|
+
baseOptions = configuration.baseOptions;
|
|
13298
|
+
}
|
|
13299
|
+
localVarRequestOptions = __assign(__assign({ method: 'POST' }, baseOptions), options);
|
|
13300
|
+
localVarHeaderParameter = {};
|
|
13301
|
+
localVarQueryParameter = {};
|
|
13302
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
13303
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
13304
|
+
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
13305
|
+
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
13306
|
+
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(eventRequestDTO, localVarRequestOptions, configuration);
|
|
13307
|
+
return [2 /*return*/, {
|
|
13308
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
13309
|
+
options: localVarRequestOptions,
|
|
13310
|
+
}];
|
|
13311
|
+
});
|
|
13312
|
+
});
|
|
13313
|
+
},
|
|
13314
|
+
/**
|
|
13315
|
+
*
|
|
13316
|
+
* @param {number} id Group ID
|
|
13317
|
+
* @param {EventUpdateRequestDTO} [eventUpdateRequestDTO]
|
|
13318
|
+
* @param {*} [options] Override http request option.
|
|
13319
|
+
* @throws {RequiredError}
|
|
13320
|
+
*/
|
|
13321
|
+
postCreateEventUpdate: function (id_1, eventUpdateRequestDTO_1) {
|
|
13322
|
+
var args_1 = [];
|
|
13323
|
+
for (var _i = 2; _i < arguments.length; _i++) {
|
|
13324
|
+
args_1[_i - 2] = arguments[_i];
|
|
13325
|
+
}
|
|
13326
|
+
return __awaiter(_this, __spreadArray([id_1, eventUpdateRequestDTO_1], args_1, true), void 0, function (id, eventUpdateRequestDTO, options) {
|
|
13327
|
+
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
13328
|
+
if (options === void 0) { options = {}; }
|
|
13329
|
+
return __generator(this, function (_a) {
|
|
13330
|
+
// verify required parameter 'id' is not null or undefined
|
|
13331
|
+
(0, common_1.assertParamExists)('postCreateEventUpdate', 'id', id);
|
|
13332
|
+
localVarPath = "/services/events/{id}/updates"
|
|
13333
|
+
.replace("{".concat("id", "}"), encodeURIComponent(String(id)));
|
|
13334
|
+
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
13335
|
+
if (configuration) {
|
|
13336
|
+
baseOptions = configuration.baseOptions;
|
|
13337
|
+
}
|
|
13338
|
+
localVarRequestOptions = __assign(__assign({ method: 'POST' }, baseOptions), options);
|
|
13339
|
+
localVarHeaderParameter = {};
|
|
13340
|
+
localVarQueryParameter = {};
|
|
13341
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
13342
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
13343
|
+
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
13344
|
+
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
13345
|
+
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(eventUpdateRequestDTO, localVarRequestOptions, configuration);
|
|
13346
|
+
return [2 /*return*/, {
|
|
13347
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
13348
|
+
options: localVarRequestOptions,
|
|
13349
|
+
}];
|
|
13350
|
+
});
|
|
13351
|
+
});
|
|
13352
|
+
},
|
|
13353
|
+
/**
|
|
13354
|
+
*
|
|
13355
|
+
* @param {string} [email] Subscription Email Address
|
|
13356
|
+
* @param {*} [options] Override http request option.
|
|
13357
|
+
* @throws {RequiredError}
|
|
13358
|
+
*/
|
|
13359
|
+
postSubscribe: function (email_1) {
|
|
13360
|
+
var args_1 = [];
|
|
13361
|
+
for (var _i = 1; _i < arguments.length; _i++) {
|
|
13362
|
+
args_1[_i - 1] = arguments[_i];
|
|
13363
|
+
}
|
|
13364
|
+
return __awaiter(_this, __spreadArray([email_1], args_1, true), void 0, function (email, options) {
|
|
13365
|
+
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
13366
|
+
if (options === void 0) { options = {}; }
|
|
13367
|
+
return __generator(this, function (_a) {
|
|
13368
|
+
localVarPath = "/services/events/subscribe";
|
|
13369
|
+
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
13370
|
+
if (configuration) {
|
|
13371
|
+
baseOptions = configuration.baseOptions;
|
|
13372
|
+
}
|
|
13373
|
+
localVarRequestOptions = __assign(__assign({ method: 'POST' }, baseOptions), options);
|
|
13374
|
+
localVarHeaderParameter = {};
|
|
13375
|
+
localVarQueryParameter = {};
|
|
13376
|
+
if (email !== undefined) {
|
|
13377
|
+
localVarQueryParameter['email'] = email;
|
|
13378
|
+
}
|
|
13379
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
13380
|
+
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
13381
|
+
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
13382
|
+
return [2 /*return*/, {
|
|
13383
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
13384
|
+
options: localVarRequestOptions,
|
|
13385
|
+
}];
|
|
13386
|
+
});
|
|
13387
|
+
});
|
|
13388
|
+
},
|
|
13389
|
+
};
|
|
13390
|
+
};
|
|
13391
|
+
exports.ServicesApiAxiosParamCreator = ServicesApiAxiosParamCreator;
|
|
13392
|
+
/**
|
|
13393
|
+
* ServicesApi - functional programming interface
|
|
13394
|
+
* @export
|
|
13395
|
+
*/
|
|
13396
|
+
var ServicesApiFp = function (configuration) {
|
|
13397
|
+
var localVarAxiosParamCreator = (0, exports.ServicesApiAxiosParamCreator)(configuration);
|
|
13398
|
+
return {
|
|
13399
|
+
/**
|
|
13400
|
+
*
|
|
13401
|
+
* @param {string} [id] Unsubscribe Email ID
|
|
13402
|
+
* @param {string} [email] Unsubscribe Email Address
|
|
13403
|
+
* @param {*} [options] Override http request option.
|
|
13404
|
+
* @throws {RequiredError}
|
|
13405
|
+
*/
|
|
13406
|
+
deleteUnsubscribe: function (id, email, options) {
|
|
13407
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
13408
|
+
var localVarAxiosArgs, localVarOperationServerIndex, localVarOperationServerBasePath;
|
|
13409
|
+
var _a, _b, _c;
|
|
13410
|
+
return __generator(this, function (_d) {
|
|
13411
|
+
switch (_d.label) {
|
|
13412
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.deleteUnsubscribe(id, email, options)];
|
|
13413
|
+
case 1:
|
|
13414
|
+
localVarAxiosArgs = _d.sent();
|
|
13415
|
+
localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
13416
|
+
localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['ServicesApi.deleteUnsubscribe']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
13417
|
+
return [2 /*return*/, function (axios, basePath) { return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath); }];
|
|
13418
|
+
}
|
|
13419
|
+
});
|
|
13420
|
+
});
|
|
13421
|
+
},
|
|
13422
|
+
/**
|
|
13423
|
+
*
|
|
13424
|
+
* @param {*} [options] Override http request option.
|
|
13425
|
+
* @throws {RequiredError}
|
|
13426
|
+
*/
|
|
13427
|
+
getGetServiceHealth: function (options) {
|
|
13428
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
13429
|
+
var localVarAxiosArgs, localVarOperationServerIndex, localVarOperationServerBasePath;
|
|
13430
|
+
var _a, _b, _c;
|
|
13431
|
+
return __generator(this, function (_d) {
|
|
13432
|
+
switch (_d.label) {
|
|
13433
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.getGetServiceHealth(options)];
|
|
13434
|
+
case 1:
|
|
13435
|
+
localVarAxiosArgs = _d.sent();
|
|
13436
|
+
localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
13437
|
+
localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['ServicesApi.getGetServiceHealth']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
13438
|
+
return [2 /*return*/, function (axios, basePath) { return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath); }];
|
|
13439
|
+
}
|
|
13440
|
+
});
|
|
13441
|
+
});
|
|
13442
|
+
},
|
|
13443
|
+
/**
|
|
13444
|
+
*
|
|
13445
|
+
* @param {number} id Group ID
|
|
13446
|
+
* @param {*} [options] Override http request option.
|
|
13447
|
+
* @throws {RequiredError}
|
|
13448
|
+
*/
|
|
13449
|
+
patchArchiveEvent: function (id, options) {
|
|
13450
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
13451
|
+
var localVarAxiosArgs, localVarOperationServerIndex, localVarOperationServerBasePath;
|
|
13452
|
+
var _a, _b, _c;
|
|
13453
|
+
return __generator(this, function (_d) {
|
|
13454
|
+
switch (_d.label) {
|
|
13455
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.patchArchiveEvent(id, options)];
|
|
13456
|
+
case 1:
|
|
13457
|
+
localVarAxiosArgs = _d.sent();
|
|
13458
|
+
localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
13459
|
+
localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['ServicesApi.patchArchiveEvent']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
13460
|
+
return [2 /*return*/, function (axios, basePath) { return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath); }];
|
|
13461
|
+
}
|
|
13462
|
+
});
|
|
13463
|
+
});
|
|
13464
|
+
},
|
|
13465
|
+
/**
|
|
13466
|
+
*
|
|
13467
|
+
* @param {EventRequestDTO} [eventRequestDTO]
|
|
13468
|
+
* @param {*} [options] Override http request option.
|
|
13469
|
+
* @throws {RequiredError}
|
|
13470
|
+
*/
|
|
13471
|
+
postCreateEvent: function (eventRequestDTO, options) {
|
|
13472
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
13473
|
+
var localVarAxiosArgs, localVarOperationServerIndex, localVarOperationServerBasePath;
|
|
13474
|
+
var _a, _b, _c;
|
|
13475
|
+
return __generator(this, function (_d) {
|
|
13476
|
+
switch (_d.label) {
|
|
13477
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.postCreateEvent(eventRequestDTO, options)];
|
|
13478
|
+
case 1:
|
|
13479
|
+
localVarAxiosArgs = _d.sent();
|
|
13480
|
+
localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
13481
|
+
localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['ServicesApi.postCreateEvent']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
13482
|
+
return [2 /*return*/, function (axios, basePath) { return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath); }];
|
|
13483
|
+
}
|
|
13484
|
+
});
|
|
13485
|
+
});
|
|
13486
|
+
},
|
|
13487
|
+
/**
|
|
13488
|
+
*
|
|
13489
|
+
* @param {number} id Group ID
|
|
13490
|
+
* @param {EventUpdateRequestDTO} [eventUpdateRequestDTO]
|
|
13491
|
+
* @param {*} [options] Override http request option.
|
|
13492
|
+
* @throws {RequiredError}
|
|
13493
|
+
*/
|
|
13494
|
+
postCreateEventUpdate: function (id, eventUpdateRequestDTO, options) {
|
|
13495
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
13496
|
+
var localVarAxiosArgs, localVarOperationServerIndex, localVarOperationServerBasePath;
|
|
13497
|
+
var _a, _b, _c;
|
|
13498
|
+
return __generator(this, function (_d) {
|
|
13499
|
+
switch (_d.label) {
|
|
13500
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.postCreateEventUpdate(id, eventUpdateRequestDTO, options)];
|
|
13501
|
+
case 1:
|
|
13502
|
+
localVarAxiosArgs = _d.sent();
|
|
13503
|
+
localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
13504
|
+
localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['ServicesApi.postCreateEventUpdate']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
13505
|
+
return [2 /*return*/, function (axios, basePath) { return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath); }];
|
|
13506
|
+
}
|
|
13507
|
+
});
|
|
13508
|
+
});
|
|
13509
|
+
},
|
|
13510
|
+
/**
|
|
13511
|
+
*
|
|
13512
|
+
* @param {string} [email] Subscription Email Address
|
|
13513
|
+
* @param {*} [options] Override http request option.
|
|
13514
|
+
* @throws {RequiredError}
|
|
13515
|
+
*/
|
|
13516
|
+
postSubscribe: function (email, options) {
|
|
13517
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
13518
|
+
var localVarAxiosArgs, localVarOperationServerIndex, localVarOperationServerBasePath;
|
|
13519
|
+
var _a, _b, _c;
|
|
13520
|
+
return __generator(this, function (_d) {
|
|
13521
|
+
switch (_d.label) {
|
|
13522
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.postSubscribe(email, options)];
|
|
13523
|
+
case 1:
|
|
13524
|
+
localVarAxiosArgs = _d.sent();
|
|
13525
|
+
localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
13526
|
+
localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['ServicesApi.postSubscribe']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
13527
|
+
return [2 /*return*/, function (axios, basePath) { return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath); }];
|
|
13528
|
+
}
|
|
13529
|
+
});
|
|
13530
|
+
});
|
|
13531
|
+
},
|
|
13532
|
+
};
|
|
13533
|
+
};
|
|
13534
|
+
exports.ServicesApiFp = ServicesApiFp;
|
|
13535
|
+
/**
|
|
13536
|
+
* ServicesApi - factory interface
|
|
13537
|
+
* @export
|
|
13538
|
+
*/
|
|
13539
|
+
var ServicesApiFactory = function (configuration, basePath, axios) {
|
|
13540
|
+
var localVarFp = (0, exports.ServicesApiFp)(configuration);
|
|
13541
|
+
return {
|
|
13542
|
+
/**
|
|
13543
|
+
*
|
|
13544
|
+
* @param {string} [id] Unsubscribe Email ID
|
|
13545
|
+
* @param {string} [email] Unsubscribe Email Address
|
|
13546
|
+
* @param {*} [options] Override http request option.
|
|
13547
|
+
* @throws {RequiredError}
|
|
13548
|
+
*/
|
|
13549
|
+
deleteUnsubscribe: function (id, email, options) {
|
|
13550
|
+
return localVarFp.deleteUnsubscribe(id, email, options).then(function (request) { return request(axios, basePath); });
|
|
13551
|
+
},
|
|
13552
|
+
/**
|
|
13553
|
+
*
|
|
13554
|
+
* @param {*} [options] Override http request option.
|
|
13555
|
+
* @throws {RequiredError}
|
|
13556
|
+
*/
|
|
13557
|
+
getGetServiceHealth: function (options) {
|
|
13558
|
+
return localVarFp.getGetServiceHealth(options).then(function (request) { return request(axios, basePath); });
|
|
13559
|
+
},
|
|
13560
|
+
/**
|
|
13561
|
+
*
|
|
13562
|
+
* @param {number} id Group ID
|
|
13563
|
+
* @param {*} [options] Override http request option.
|
|
13564
|
+
* @throws {RequiredError}
|
|
13565
|
+
*/
|
|
13566
|
+
patchArchiveEvent: function (id, options) {
|
|
13567
|
+
return localVarFp.patchArchiveEvent(id, options).then(function (request) { return request(axios, basePath); });
|
|
13568
|
+
},
|
|
13569
|
+
/**
|
|
13570
|
+
*
|
|
13571
|
+
* @param {EventRequestDTO} [eventRequestDTO]
|
|
13572
|
+
* @param {*} [options] Override http request option.
|
|
13573
|
+
* @throws {RequiredError}
|
|
13574
|
+
*/
|
|
13575
|
+
postCreateEvent: function (eventRequestDTO, options) {
|
|
13576
|
+
return localVarFp.postCreateEvent(eventRequestDTO, options).then(function (request) { return request(axios, basePath); });
|
|
13577
|
+
},
|
|
13578
|
+
/**
|
|
13579
|
+
*
|
|
13580
|
+
* @param {number} id Group ID
|
|
13581
|
+
* @param {EventUpdateRequestDTO} [eventUpdateRequestDTO]
|
|
13582
|
+
* @param {*} [options] Override http request option.
|
|
13583
|
+
* @throws {RequiredError}
|
|
13584
|
+
*/
|
|
13585
|
+
postCreateEventUpdate: function (id, eventUpdateRequestDTO, options) {
|
|
13586
|
+
return localVarFp.postCreateEventUpdate(id, eventUpdateRequestDTO, options).then(function (request) { return request(axios, basePath); });
|
|
13587
|
+
},
|
|
13588
|
+
/**
|
|
13589
|
+
*
|
|
13590
|
+
* @param {string} [email] Subscription Email Address
|
|
13591
|
+
* @param {*} [options] Override http request option.
|
|
13592
|
+
* @throws {RequiredError}
|
|
13593
|
+
*/
|
|
13594
|
+
postSubscribe: function (email, options) {
|
|
13595
|
+
return localVarFp.postSubscribe(email, options).then(function (request) { return request(axios, basePath); });
|
|
13596
|
+
},
|
|
13597
|
+
};
|
|
13598
|
+
};
|
|
13599
|
+
exports.ServicesApiFactory = ServicesApiFactory;
|
|
13600
|
+
/**
|
|
13601
|
+
* ServicesApi - object-oriented interface
|
|
13602
|
+
* @export
|
|
13603
|
+
* @class ServicesApi
|
|
13604
|
+
* @extends {BaseAPI}
|
|
13605
|
+
*/
|
|
13606
|
+
var ServicesApi = /** @class */ (function (_super) {
|
|
13607
|
+
__extends(ServicesApi, _super);
|
|
13608
|
+
function ServicesApi() {
|
|
13609
|
+
return _super !== null && _super.apply(this, arguments) || this;
|
|
13610
|
+
}
|
|
13611
|
+
/**
|
|
13612
|
+
*
|
|
13613
|
+
* @param {string} [id] Unsubscribe Email ID
|
|
13614
|
+
* @param {string} [email] Unsubscribe Email Address
|
|
13615
|
+
* @param {*} [options] Override http request option.
|
|
13616
|
+
* @throws {RequiredError}
|
|
13617
|
+
* @memberof ServicesApi
|
|
13618
|
+
*/
|
|
13619
|
+
ServicesApi.prototype.deleteUnsubscribe = function (id, email, options) {
|
|
13620
|
+
var _this = this;
|
|
13621
|
+
return (0, exports.ServicesApiFp)(this.configuration).deleteUnsubscribe(id, email, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
13622
|
+
};
|
|
13623
|
+
/**
|
|
13624
|
+
*
|
|
13625
|
+
* @param {*} [options] Override http request option.
|
|
13626
|
+
* @throws {RequiredError}
|
|
13627
|
+
* @memberof ServicesApi
|
|
13628
|
+
*/
|
|
13629
|
+
ServicesApi.prototype.getGetServiceHealth = function (options) {
|
|
13630
|
+
var _this = this;
|
|
13631
|
+
return (0, exports.ServicesApiFp)(this.configuration).getGetServiceHealth(options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
13632
|
+
};
|
|
13633
|
+
/**
|
|
13634
|
+
*
|
|
13635
|
+
* @param {number} id Group ID
|
|
13636
|
+
* @param {*} [options] Override http request option.
|
|
13637
|
+
* @throws {RequiredError}
|
|
13638
|
+
* @memberof ServicesApi
|
|
13639
|
+
*/
|
|
13640
|
+
ServicesApi.prototype.patchArchiveEvent = function (id, options) {
|
|
13641
|
+
var _this = this;
|
|
13642
|
+
return (0, exports.ServicesApiFp)(this.configuration).patchArchiveEvent(id, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
13643
|
+
};
|
|
13644
|
+
/**
|
|
13645
|
+
*
|
|
13646
|
+
* @param {EventRequestDTO} [eventRequestDTO]
|
|
13647
|
+
* @param {*} [options] Override http request option.
|
|
13648
|
+
* @throws {RequiredError}
|
|
13649
|
+
* @memberof ServicesApi
|
|
13650
|
+
*/
|
|
13651
|
+
ServicesApi.prototype.postCreateEvent = function (eventRequestDTO, options) {
|
|
13652
|
+
var _this = this;
|
|
13653
|
+
return (0, exports.ServicesApiFp)(this.configuration).postCreateEvent(eventRequestDTO, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
13654
|
+
};
|
|
13655
|
+
/**
|
|
13656
|
+
*
|
|
13657
|
+
* @param {number} id Group ID
|
|
13658
|
+
* @param {EventUpdateRequestDTO} [eventUpdateRequestDTO]
|
|
13659
|
+
* @param {*} [options] Override http request option.
|
|
13660
|
+
* @throws {RequiredError}
|
|
13661
|
+
* @memberof ServicesApi
|
|
13662
|
+
*/
|
|
13663
|
+
ServicesApi.prototype.postCreateEventUpdate = function (id, eventUpdateRequestDTO, options) {
|
|
13664
|
+
var _this = this;
|
|
13665
|
+
return (0, exports.ServicesApiFp)(this.configuration).postCreateEventUpdate(id, eventUpdateRequestDTO, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
13666
|
+
};
|
|
13667
|
+
/**
|
|
13668
|
+
*
|
|
13669
|
+
* @param {string} [email] Subscription Email Address
|
|
13670
|
+
* @param {*} [options] Override http request option.
|
|
13671
|
+
* @throws {RequiredError}
|
|
13672
|
+
* @memberof ServicesApi
|
|
13673
|
+
*/
|
|
13674
|
+
ServicesApi.prototype.postSubscribe = function (email, options) {
|
|
13675
|
+
var _this = this;
|
|
13676
|
+
return (0, exports.ServicesApiFp)(this.configuration).postSubscribe(email, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
13677
|
+
};
|
|
13678
|
+
return ServicesApi;
|
|
13679
|
+
}(base_1.BaseAPI));
|
|
13680
|
+
exports.ServicesApi = ServicesApi;
|
|
13123
13681
|
/**
|
|
13124
13682
|
* ShippingApi - axios parameter creator
|
|
13125
13683
|
* @export
|
package/docs/EventDTO.md
ADDED
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
# EventDTO
|
|
2
|
+
|
|
3
|
+
Service Event DTO
|
|
4
|
+
|
|
5
|
+
## Properties
|
|
6
|
+
|
|
7
|
+
Name | Type | Description | Notes
|
|
8
|
+
------------ | ------------- | ------------- | -------------
|
|
9
|
+
**title** | **string** | Service Event Title | [optional] [default to undefined]
|
|
10
|
+
**type** | **number** | Service Event Type | [optional] [default to undefined]
|
|
11
|
+
**service** | **number** | Service Impacted | [optional] [default to undefined]
|
|
12
|
+
**statusName** | **string** | Event Status Description | [optional] [default to undefined]
|
|
13
|
+
**typeName** | **string** | Event Type Description | [optional] [default to undefined]
|
|
14
|
+
**id** | **number** | Service Event ID | [optional] [default to undefined]
|
|
15
|
+
**status** | **number** | Service Event Status | [optional] [default to undefined]
|
|
16
|
+
**updates** | [**Array<EventUpdateDTO>**](EventUpdateDTO.md) | Service Event Updates | [optional] [default to undefined]
|
|
17
|
+
|
|
18
|
+
## Example
|
|
19
|
+
|
|
20
|
+
```typescript
|
|
21
|
+
import { EventDTO } from 'yellowgrid-api-ts';
|
|
22
|
+
|
|
23
|
+
const instance: EventDTO = {
|
|
24
|
+
title,
|
|
25
|
+
type,
|
|
26
|
+
service,
|
|
27
|
+
statusName,
|
|
28
|
+
typeName,
|
|
29
|
+
id,
|
|
30
|
+
status,
|
|
31
|
+
updates,
|
|
32
|
+
};
|
|
33
|
+
```
|
|
34
|
+
|
|
35
|
+
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
# EventRequestDTO
|
|
2
|
+
|
|
3
|
+
Service Event Request DTO
|
|
4
|
+
|
|
5
|
+
## Properties
|
|
6
|
+
|
|
7
|
+
Name | Type | Description | Notes
|
|
8
|
+
------------ | ------------- | ------------- | -------------
|
|
9
|
+
**title** | **string** | Service Event Title | [optional] [default to undefined]
|
|
10
|
+
**type** | **number** | Service Event Type | [optional] [default to undefined]
|
|
11
|
+
**service** | **number** | Service Impacted | [optional] [default to undefined]
|
|
12
|
+
|
|
13
|
+
## Example
|
|
14
|
+
|
|
15
|
+
```typescript
|
|
16
|
+
import { EventRequestDTO } from 'yellowgrid-api-ts';
|
|
17
|
+
|
|
18
|
+
const instance: EventRequestDTO = {
|
|
19
|
+
title,
|
|
20
|
+
type,
|
|
21
|
+
service,
|
|
22
|
+
};
|
|
23
|
+
```
|
|
24
|
+
|
|
25
|
+
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
|