yellowgrid-api-ts 3.2.27-dev.0 → 3.2.28-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/dist/api.js CHANGED
@@ -84,7 +84,7 @@ 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.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.IncidentUpdateRequestDTOTypeEnum = exports.IncidentUpdateDTOTypeEnum = exports.IncidentRequestDTOServiceEnum = exports.IncidentRequestDTOSeverityEnum = exports.IncidentDTOStatusEnum = exports.IncidentDTOServiceEnum = exports.IncidentDTOSeverityEnum = exports.HostingRegionDTOCodeEnum = exports.HostingChangeResponseModelTypeEnum = exports.DivertResponseModelStatusEnum = exports.AdminUserModelRoleEnum = 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
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
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");
@@ -104,52 +104,52 @@ exports.DivertResponseModelStatusEnum = {
104
104
  Enabled: 'enabled',
105
105
  Disabled: 'disabled'
106
106
  };
107
- exports.HostingChangeResponseModelTypeEnum = {
108
- NewInstance: 'New Instance',
109
- BuildingInstance: 'Building Instance'
110
- };
111
- exports.HostingRegionDTOCodeEnum = {
112
- Uk1: 'UK1',
113
- Waw1: 'WAW1',
114
- Bhs5: 'BHS5',
115
- De1: 'DE1',
116
- Gra7: 'GRA7',
117
- Syd1: 'SYD1',
118
- Sgp1: 'SGP1',
119
- UsEastVa1: 'US-EAST-VA-1',
120
- UsWestOr1: 'US-WEST-OR-1'
121
- };
122
- exports.IncidentDTOSeverityEnum = {
107
+ exports.EventDTOTypeEnum = {
123
108
  NUMBER_0: 0,
124
109
  NUMBER_1: 1
125
110
  };
126
- exports.IncidentDTOServiceEnum = {
111
+ exports.EventDTOServiceEnum = {
127
112
  NUMBER_0: 0,
128
113
  NUMBER_1: 1
129
114
  };
130
- exports.IncidentDTOStatusEnum = {
115
+ exports.EventDTOStatusEnum = {
131
116
  NUMBER_0: 0,
132
117
  NUMBER_1: 1,
133
118
  NUMBER_2: 2
134
119
  };
135
- exports.IncidentRequestDTOSeverityEnum = {
120
+ exports.EventRequestDTOTypeEnum = {
136
121
  NUMBER_0: 0,
137
122
  NUMBER_1: 1
138
123
  };
139
- exports.IncidentRequestDTOServiceEnum = {
124
+ exports.EventRequestDTOServiceEnum = {
140
125
  NUMBER_0: 0,
141
126
  NUMBER_1: 1
142
127
  };
143
- exports.IncidentUpdateDTOTypeEnum = {
128
+ exports.EventUpdateDTOTypeEnum = {
144
129
  NUMBER_0: 0,
145
130
  NUMBER_1: 1,
146
131
  NUMBER_2: 2
147
132
  };
148
- exports.IncidentUpdateRequestDTOTypeEnum = {
133
+ exports.EventUpdateRequestDTOTypeEnum = {
149
134
  NUMBER_0: 0,
150
135
  NUMBER_1: 1,
151
136
  NUMBER_2: 2
152
137
  };
138
+ exports.HostingChangeResponseModelTypeEnum = {
139
+ NewInstance: 'New Instance',
140
+ BuildingInstance: 'Building Instance'
141
+ };
142
+ exports.HostingRegionDTOCodeEnum = {
143
+ Uk1: 'UK1',
144
+ Waw1: 'WAW1',
145
+ Bhs5: 'BHS5',
146
+ De1: 'DE1',
147
+ Gra7: 'GRA7',
148
+ Syd1: 'SYD1',
149
+ Sgp1: 'SGP1',
150
+ UsEastVa1: 'US-EAST-VA-1',
151
+ UsWestOr1: 'US-WEST-OR-1'
152
+ };
153
153
  exports.ItemDiscountEntityTypeEnum = {
154
154
  TcxPhones: 'TCX_PHONES',
155
155
  PhoneBulk: 'PHONE_BULK',
@@ -12628,7 +12628,7 @@ var ServicesApiAxiosParamCreator = function (configuration) {
12628
12628
  var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
12629
12629
  if (options === void 0) { options = {}; }
12630
12630
  return __generator(this, function (_a) {
12631
- localVarPath = "/services/incidents/unsubscribe";
12631
+ localVarPath = "/services/events/unsubscribe";
12632
12632
  localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
12633
12633
  if (configuration) {
12634
12634
  baseOptions = configuration.baseOptions;
@@ -12690,7 +12690,7 @@ var ServicesApiAxiosParamCreator = function (configuration) {
12690
12690
  * @param {*} [options] Override http request option.
12691
12691
  * @throws {RequiredError}
12692
12692
  */
12693
- patchArchiveIncident: function (id_1) {
12693
+ patchArchiveEvent: function (id_1) {
12694
12694
  var args_1 = [];
12695
12695
  for (var _i = 1; _i < arguments.length; _i++) {
12696
12696
  args_1[_i - 1] = arguments[_i];
@@ -12700,8 +12700,8 @@ var ServicesApiAxiosParamCreator = function (configuration) {
12700
12700
  if (options === void 0) { options = {}; }
12701
12701
  return __generator(this, function (_a) {
12702
12702
  // verify required parameter 'id' is not null or undefined
12703
- (0, common_1.assertParamExists)('patchArchiveIncident', 'id', id);
12704
- localVarPath = "/services/incidents/{id}/archive"
12703
+ (0, common_1.assertParamExists)('patchArchiveEvent', 'id', id);
12704
+ localVarPath = "/services/events/{id}/archive"
12705
12705
  .replace("{".concat("id", "}"), encodeURIComponent(String(id)));
12706
12706
  localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
12707
12707
  if (configuration) {
@@ -12722,20 +12722,20 @@ var ServicesApiAxiosParamCreator = function (configuration) {
12722
12722
  },
12723
12723
  /**
12724
12724
  *
12725
- * @param {IncidentRequestDTO} [incidentRequestDTO]
12725
+ * @param {EventRequestDTO} [eventRequestDTO]
12726
12726
  * @param {*} [options] Override http request option.
12727
12727
  * @throws {RequiredError}
12728
12728
  */
12729
- postCreateIncident: function (incidentRequestDTO_1) {
12729
+ postCreateEvent: function (eventRequestDTO_1) {
12730
12730
  var args_1 = [];
12731
12731
  for (var _i = 1; _i < arguments.length; _i++) {
12732
12732
  args_1[_i - 1] = arguments[_i];
12733
12733
  }
12734
- return __awaiter(_this, __spreadArray([incidentRequestDTO_1], args_1, true), void 0, function (incidentRequestDTO, options) {
12734
+ return __awaiter(_this, __spreadArray([eventRequestDTO_1], args_1, true), void 0, function (eventRequestDTO, options) {
12735
12735
  var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
12736
12736
  if (options === void 0) { options = {}; }
12737
12737
  return __generator(this, function (_a) {
12738
- localVarPath = "/services/incidents";
12738
+ localVarPath = "/services/events";
12739
12739
  localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
12740
12740
  if (configuration) {
12741
12741
  baseOptions = configuration.baseOptions;
@@ -12747,7 +12747,7 @@ var ServicesApiAxiosParamCreator = function (configuration) {
12747
12747
  (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
12748
12748
  headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
12749
12749
  localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
12750
- localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(incidentRequestDTO, localVarRequestOptions, configuration);
12750
+ localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(eventRequestDTO, localVarRequestOptions, configuration);
12751
12751
  return [2 /*return*/, {
12752
12752
  url: (0, common_1.toPathString)(localVarUrlObj),
12753
12753
  options: localVarRequestOptions,
@@ -12758,22 +12758,22 @@ var ServicesApiAxiosParamCreator = function (configuration) {
12758
12758
  /**
12759
12759
  *
12760
12760
  * @param {string} id Group ID
12761
- * @param {IncidentUpdateRequestDTO} [incidentUpdateRequestDTO]
12761
+ * @param {EventUpdateRequestDTO} [eventUpdateRequestDTO]
12762
12762
  * @param {*} [options] Override http request option.
12763
12763
  * @throws {RequiredError}
12764
12764
  */
12765
- postCreateIncidentUpdate: function (id_1, incidentUpdateRequestDTO_1) {
12765
+ postCreateEventUpdate: function (id_1, eventUpdateRequestDTO_1) {
12766
12766
  var args_1 = [];
12767
12767
  for (var _i = 2; _i < arguments.length; _i++) {
12768
12768
  args_1[_i - 2] = arguments[_i];
12769
12769
  }
12770
- return __awaiter(_this, __spreadArray([id_1, incidentUpdateRequestDTO_1], args_1, true), void 0, function (id, incidentUpdateRequestDTO, options) {
12770
+ return __awaiter(_this, __spreadArray([id_1, eventUpdateRequestDTO_1], args_1, true), void 0, function (id, eventUpdateRequestDTO, options) {
12771
12771
  var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
12772
12772
  if (options === void 0) { options = {}; }
12773
12773
  return __generator(this, function (_a) {
12774
12774
  // verify required parameter 'id' is not null or undefined
12775
- (0, common_1.assertParamExists)('postCreateIncidentUpdate', 'id', id);
12776
- localVarPath = "/services/incidents/{id}/updates"
12775
+ (0, common_1.assertParamExists)('postCreateEventUpdate', 'id', id);
12776
+ localVarPath = "/services/events/{id}/updates"
12777
12777
  .replace("{".concat("id", "}"), encodeURIComponent(String(id)));
12778
12778
  localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
12779
12779
  if (configuration) {
@@ -12786,7 +12786,7 @@ var ServicesApiAxiosParamCreator = function (configuration) {
12786
12786
  (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
12787
12787
  headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
12788
12788
  localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
12789
- localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(incidentUpdateRequestDTO, localVarRequestOptions, configuration);
12789
+ localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(eventUpdateRequestDTO, localVarRequestOptions, configuration);
12790
12790
  return [2 /*return*/, {
12791
12791
  url: (0, common_1.toPathString)(localVarUrlObj),
12792
12792
  options: localVarRequestOptions,
@@ -12809,7 +12809,7 @@ var ServicesApiAxiosParamCreator = function (configuration) {
12809
12809
  var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
12810
12810
  if (options === void 0) { options = {}; }
12811
12811
  return __generator(this, function (_a) {
12812
- localVarPath = "/services/incidents/subscribe";
12812
+ localVarPath = "/services/events/subscribe";
12813
12813
  localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
12814
12814
  if (configuration) {
12815
12815
  baseOptions = configuration.baseOptions;
@@ -12889,17 +12889,17 @@ var ServicesApiFp = function (configuration) {
12889
12889
  * @param {*} [options] Override http request option.
12890
12890
  * @throws {RequiredError}
12891
12891
  */
12892
- patchArchiveIncident: function (id, options) {
12892
+ patchArchiveEvent: function (id, options) {
12893
12893
  return __awaiter(this, void 0, void 0, function () {
12894
12894
  var localVarAxiosArgs, localVarOperationServerIndex, localVarOperationServerBasePath;
12895
12895
  var _a, _b, _c;
12896
12896
  return __generator(this, function (_d) {
12897
12897
  switch (_d.label) {
12898
- case 0: return [4 /*yield*/, localVarAxiosParamCreator.patchArchiveIncident(id, options)];
12898
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.patchArchiveEvent(id, options)];
12899
12899
  case 1:
12900
12900
  localVarAxiosArgs = _d.sent();
12901
12901
  localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
12902
- localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['ServicesApi.patchArchiveIncident']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
12902
+ localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['ServicesApi.patchArchiveEvent']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
12903
12903
  return [2 /*return*/, function (axios, basePath) { return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath); }];
12904
12904
  }
12905
12905
  });
@@ -12907,21 +12907,21 @@ var ServicesApiFp = function (configuration) {
12907
12907
  },
12908
12908
  /**
12909
12909
  *
12910
- * @param {IncidentRequestDTO} [incidentRequestDTO]
12910
+ * @param {EventRequestDTO} [eventRequestDTO]
12911
12911
  * @param {*} [options] Override http request option.
12912
12912
  * @throws {RequiredError}
12913
12913
  */
12914
- postCreateIncident: function (incidentRequestDTO, options) {
12914
+ postCreateEvent: function (eventRequestDTO, options) {
12915
12915
  return __awaiter(this, void 0, void 0, function () {
12916
12916
  var localVarAxiosArgs, localVarOperationServerIndex, localVarOperationServerBasePath;
12917
12917
  var _a, _b, _c;
12918
12918
  return __generator(this, function (_d) {
12919
12919
  switch (_d.label) {
12920
- case 0: return [4 /*yield*/, localVarAxiosParamCreator.postCreateIncident(incidentRequestDTO, options)];
12920
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.postCreateEvent(eventRequestDTO, options)];
12921
12921
  case 1:
12922
12922
  localVarAxiosArgs = _d.sent();
12923
12923
  localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
12924
- localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['ServicesApi.postCreateIncident']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
12924
+ localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['ServicesApi.postCreateEvent']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
12925
12925
  return [2 /*return*/, function (axios, basePath) { return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath); }];
12926
12926
  }
12927
12927
  });
@@ -12930,21 +12930,21 @@ var ServicesApiFp = function (configuration) {
12930
12930
  /**
12931
12931
  *
12932
12932
  * @param {string} id Group ID
12933
- * @param {IncidentUpdateRequestDTO} [incidentUpdateRequestDTO]
12933
+ * @param {EventUpdateRequestDTO} [eventUpdateRequestDTO]
12934
12934
  * @param {*} [options] Override http request option.
12935
12935
  * @throws {RequiredError}
12936
12936
  */
12937
- postCreateIncidentUpdate: function (id, incidentUpdateRequestDTO, options) {
12937
+ postCreateEventUpdate: function (id, eventUpdateRequestDTO, options) {
12938
12938
  return __awaiter(this, void 0, void 0, function () {
12939
12939
  var localVarAxiosArgs, localVarOperationServerIndex, localVarOperationServerBasePath;
12940
12940
  var _a, _b, _c;
12941
12941
  return __generator(this, function (_d) {
12942
12942
  switch (_d.label) {
12943
- case 0: return [4 /*yield*/, localVarAxiosParamCreator.postCreateIncidentUpdate(id, incidentUpdateRequestDTO, options)];
12943
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.postCreateEventUpdate(id, eventUpdateRequestDTO, options)];
12944
12944
  case 1:
12945
12945
  localVarAxiosArgs = _d.sent();
12946
12946
  localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
12947
- localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['ServicesApi.postCreateIncidentUpdate']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
12947
+ localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['ServicesApi.postCreateEventUpdate']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
12948
12948
  return [2 /*return*/, function (axios, basePath) { return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath); }];
12949
12949
  }
12950
12950
  });
@@ -13005,27 +13005,27 @@ var ServicesApiFactory = function (configuration, basePath, axios) {
13005
13005
  * @param {*} [options] Override http request option.
13006
13006
  * @throws {RequiredError}
13007
13007
  */
13008
- patchArchiveIncident: function (id, options) {
13009
- return localVarFp.patchArchiveIncident(id, options).then(function (request) { return request(axios, basePath); });
13008
+ patchArchiveEvent: function (id, options) {
13009
+ return localVarFp.patchArchiveEvent(id, options).then(function (request) { return request(axios, basePath); });
13010
13010
  },
13011
13011
  /**
13012
13012
  *
13013
- * @param {IncidentRequestDTO} [incidentRequestDTO]
13013
+ * @param {EventRequestDTO} [eventRequestDTO]
13014
13014
  * @param {*} [options] Override http request option.
13015
13015
  * @throws {RequiredError}
13016
13016
  */
13017
- postCreateIncident: function (incidentRequestDTO, options) {
13018
- return localVarFp.postCreateIncident(incidentRequestDTO, options).then(function (request) { return request(axios, basePath); });
13017
+ postCreateEvent: function (eventRequestDTO, options) {
13018
+ return localVarFp.postCreateEvent(eventRequestDTO, options).then(function (request) { return request(axios, basePath); });
13019
13019
  },
13020
13020
  /**
13021
13021
  *
13022
13022
  * @param {string} id Group ID
13023
- * @param {IncidentUpdateRequestDTO} [incidentUpdateRequestDTO]
13023
+ * @param {EventUpdateRequestDTO} [eventUpdateRequestDTO]
13024
13024
  * @param {*} [options] Override http request option.
13025
13025
  * @throws {RequiredError}
13026
13026
  */
13027
- postCreateIncidentUpdate: function (id, incidentUpdateRequestDTO, options) {
13028
- return localVarFp.postCreateIncidentUpdate(id, incidentUpdateRequestDTO, options).then(function (request) { return request(axios, basePath); });
13027
+ postCreateEventUpdate: function (id, eventUpdateRequestDTO, options) {
13028
+ return localVarFp.postCreateEventUpdate(id, eventUpdateRequestDTO, options).then(function (request) { return request(axios, basePath); });
13029
13029
  },
13030
13030
  /**
13031
13031
  *
@@ -13073,30 +13073,30 @@ var ServicesApi = /** @class */ (function (_super) {
13073
13073
  * @param {*} [options] Override http request option.
13074
13074
  * @throws {RequiredError}
13075
13075
  */
13076
- ServicesApi.prototype.patchArchiveIncident = function (id, options) {
13076
+ ServicesApi.prototype.patchArchiveEvent = function (id, options) {
13077
13077
  var _this = this;
13078
- return (0, exports.ServicesApiFp)(this.configuration).patchArchiveIncident(id, options).then(function (request) { return request(_this.axios, _this.basePath); });
13078
+ return (0, exports.ServicesApiFp)(this.configuration).patchArchiveEvent(id, options).then(function (request) { return request(_this.axios, _this.basePath); });
13079
13079
  };
13080
13080
  /**
13081
13081
  *
13082
- * @param {IncidentRequestDTO} [incidentRequestDTO]
13082
+ * @param {EventRequestDTO} [eventRequestDTO]
13083
13083
  * @param {*} [options] Override http request option.
13084
13084
  * @throws {RequiredError}
13085
13085
  */
13086
- ServicesApi.prototype.postCreateIncident = function (incidentRequestDTO, options) {
13086
+ ServicesApi.prototype.postCreateEvent = function (eventRequestDTO, options) {
13087
13087
  var _this = this;
13088
- return (0, exports.ServicesApiFp)(this.configuration).postCreateIncident(incidentRequestDTO, options).then(function (request) { return request(_this.axios, _this.basePath); });
13088
+ return (0, exports.ServicesApiFp)(this.configuration).postCreateEvent(eventRequestDTO, options).then(function (request) { return request(_this.axios, _this.basePath); });
13089
13089
  };
13090
13090
  /**
13091
13091
  *
13092
13092
  * @param {string} id Group ID
13093
- * @param {IncidentUpdateRequestDTO} [incidentUpdateRequestDTO]
13093
+ * @param {EventUpdateRequestDTO} [eventUpdateRequestDTO]
13094
13094
  * @param {*} [options] Override http request option.
13095
13095
  * @throws {RequiredError}
13096
13096
  */
13097
- ServicesApi.prototype.postCreateIncidentUpdate = function (id, incidentUpdateRequestDTO, options) {
13097
+ ServicesApi.prototype.postCreateEventUpdate = function (id, eventUpdateRequestDTO, options) {
13098
13098
  var _this = this;
13099
- return (0, exports.ServicesApiFp)(this.configuration).postCreateIncidentUpdate(id, incidentUpdateRequestDTO, options).then(function (request) { return request(_this.axios, _this.basePath); });
13099
+ return (0, exports.ServicesApiFp)(this.configuration).postCreateEventUpdate(id, eventUpdateRequestDTO, options).then(function (request) { return request(_this.axios, _this.basePath); });
13100
13100
  };
13101
13101
  /**
13102
13102
  *
@@ -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&lt;EventUpdateDTO&gt;**](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)
@@ -0,0 +1,23 @@
1
+ # EventSubscriptionModel
2
+
3
+ Service Event Subscribption Model
4
+
5
+ ## Properties
6
+
7
+ Name | Type | Description | Notes
8
+ ------------ | ------------- | ------------- | -------------
9
+ **id** | **string** | id | [optional] [default to undefined]
10
+ **email** | **string** | email | [optional] [default to undefined]
11
+
12
+ ## Example
13
+
14
+ ```typescript
15
+ import { EventSubscriptionModel } from 'yellowgrid-api-ts';
16
+
17
+ const instance: EventSubscriptionModel = {
18
+ id,
19
+ email,
20
+ };
21
+ ```
22
+
23
+ [[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,27 @@
1
+ # EventUpdateDTO
2
+
3
+ Service Event Update DTO
4
+
5
+ ## Properties
6
+
7
+ Name | Type | Description | Notes
8
+ ------------ | ------------- | ------------- | -------------
9
+ **message** | **string** | Service Event Update Message | [optional] [default to undefined]
10
+ **type** | **number** | Service Event Update Type | [optional] [default to undefined]
11
+ **typeName** | **string** | Service Event Update Type Description | [optional] [default to undefined]
12
+ **createdAt** | **string** | Date Time | [optional] [default to undefined]
13
+
14
+ ## Example
15
+
16
+ ```typescript
17
+ import { EventUpdateDTO } from 'yellowgrid-api-ts';
18
+
19
+ const instance: EventUpdateDTO = {
20
+ message,
21
+ type,
22
+ typeName,
23
+ createdAt,
24
+ };
25
+ ```
26
+
27
+ [[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,29 @@
1
+ # EventUpdateEntity
2
+
3
+ Event Update Entity
4
+
5
+ ## Properties
6
+
7
+ Name | Type | Description | Notes
8
+ ------------ | ------------- | ------------- | -------------
9
+ **id** | **number** | id | [optional] [default to undefined]
10
+ **eventId** | **number** | eventId | [optional] [default to undefined]
11
+ **message** | **string** | message | [optional] [default to undefined]
12
+ **type** | **number** | type | [optional] [default to undefined]
13
+ **createdAt** | **string** | createdAt | [optional] [default to undefined]
14
+
15
+ ## Example
16
+
17
+ ```typescript
18
+ import { EventUpdateEntity } from 'yellowgrid-api-ts';
19
+
20
+ const instance: EventUpdateEntity = {
21
+ id,
22
+ eventId,
23
+ message,
24
+ type,
25
+ createdAt,
26
+ };
27
+ ```
28
+
29
+ [[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,23 @@
1
+ # EventUpdateRequestDTO
2
+
3
+ Service Event Update Request DTO
4
+
5
+ ## Properties
6
+
7
+ Name | Type | Description | Notes
8
+ ------------ | ------------- | ------------- | -------------
9
+ **message** | **string** | Service Event Update Message | [optional] [default to undefined]
10
+ **type** | **number** | Service Event Update Type | [optional] [default to undefined]
11
+
12
+ ## Example
13
+
14
+ ```typescript
15
+ import { EventUpdateRequestDTO } from 'yellowgrid-api-ts';
16
+
17
+ const instance: EventUpdateRequestDTO = {
18
+ message,
19
+ type,
20
+ };
21
+ ```
22
+
23
+ [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
@@ -9,7 +9,7 @@ Name | Type | Description | Notes
9
9
  **statusName** | **string** | Service Status Description | [optional] [default to undefined]
10
10
  **name** | **string** | Service Name | [optional] [default to undefined]
11
11
  **status** | **number** | Service Status | [optional] [default to undefined]
12
- **incidents** | [**Array&lt;IncidentDTO&gt;**](IncidentDTO.md) | Service Incidents | [optional] [default to undefined]
12
+ **events** | [**Array&lt;EventDTO&gt;**](EventDTO.md) | Service Events | [optional] [default to undefined]
13
13
 
14
14
  ## Example
15
15
 
@@ -20,7 +20,7 @@ const instance: ServiceStatusDTO = {
20
20
  statusName,
21
21
  name,
22
22
  status,
23
- incidents,
23
+ events,
24
24
  };
25
25
  ```
26
26