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.
@@ -59,6 +59,12 @@ docs/EdTechProClientEntity.md
59
59
  docs/EdTechProSchoolModel.md
60
60
  docs/EdTechProSchoolsModel.md
61
61
  docs/EdTechProSetupModel.md
62
+ docs/EventDTO.md
63
+ docs/EventRequestDTO.md
64
+ docs/EventSubscriptionModel.md
65
+ docs/EventUpdateDTO.md
66
+ docs/EventUpdateEntity.md
67
+ docs/EventUpdateRequestDTO.md
62
68
  docs/FraudManagementModel.md
63
69
  docs/FreshdeskCompanyTicketsModel.md
64
70
  docs/FreshdeskTicketEntity.md
@@ -68,12 +74,6 @@ docs/GetGetPrice200Response.md
68
74
  docs/GetGetRecording200Response.md
69
75
  docs/HostingChangeResponseModel.md
70
76
  docs/HostingRegionDTO.md
71
- docs/IncidentDTO.md
72
- docs/IncidentRequestDTO.md
73
- docs/IncidentSubscriptionModel.md
74
- docs/IncidentUpdateDTO.md
75
- docs/IncidentUpdateEntity.md
76
- docs/IncidentUpdateRequestDTO.md
77
77
  docs/InstanceAutoFailoverEntity.md
78
78
  docs/InstanceDeletionScheduleEntity.md
79
79
  docs/InstanceEntity.md
package/README.md CHANGED
@@ -186,12 +186,12 @@ Class | Method | HTTP request | Description
186
186
  *SIPTrunksApi* | [**putGetAddress**](docs/SIPTrunksApi.md#putgetaddress) | **PUT** /sip/trunks/{id}/address | Update SIP Trunk Address
187
187
  *SIPTrunksApi* | [**putGetDiverts**](docs/SIPTrunksApi.md#putgetdiverts) | **PUT** /sip/trunks/{id}/diverts | Update SIP Trunk Diverts
188
188
  *SMSApi* | [**postSendSms**](docs/SMSApi.md#postsendsms) | **POST** /messaging/sms/send |
189
- *ServicesApi* | [**deleteUnsubscribe**](docs/ServicesApi.md#deleteunsubscribe) | **DELETE** /services/incidents/unsubscribe |
189
+ *ServicesApi* | [**deleteUnsubscribe**](docs/ServicesApi.md#deleteunsubscribe) | **DELETE** /services/events/unsubscribe |
190
190
  *ServicesApi* | [**getGetServiceHealth**](docs/ServicesApi.md#getgetservicehealth) | **GET** /services/health |
191
- *ServicesApi* | [**patchArchiveIncident**](docs/ServicesApi.md#patcharchiveincident) | **PATCH** /services/incidents/{id}/archive |
192
- *ServicesApi* | [**postCreateIncident**](docs/ServicesApi.md#postcreateincident) | **POST** /services/incidents |
193
- *ServicesApi* | [**postCreateIncidentUpdate**](docs/ServicesApi.md#postcreateincidentupdate) | **POST** /services/incidents/{id}/updates |
194
- *ServicesApi* | [**postSubscribe**](docs/ServicesApi.md#postsubscribe) | **POST** /services/incidents/subscribe |
191
+ *ServicesApi* | [**patchArchiveEvent**](docs/ServicesApi.md#patcharchiveevent) | **PATCH** /services/events/{id}/archive |
192
+ *ServicesApi* | [**postCreateEvent**](docs/ServicesApi.md#postcreateevent) | **POST** /services/events |
193
+ *ServicesApi* | [**postCreateEventUpdate**](docs/ServicesApi.md#postcreateeventupdate) | **POST** /services/events/{id}/updates |
194
+ *ServicesApi* | [**postSubscribe**](docs/ServicesApi.md#postsubscribe) | **POST** /services/events/subscribe |
195
195
  *ShippingApi* | [**postGetAdminShippingServices**](docs/ShippingApi.md#postgetadminshippingservices) | **POST** /admin/shipping/services | Get Shipping Services
196
196
  *ShippingApi* | [**postGetShippingServices**](docs/ShippingApi.md#postgetshippingservices) | **POST** /shipping/services | Get Shipping Services
197
197
  *StockManagementApi* | [**deleteDeleteStockOrder**](docs/StockManagementApi.md#deletedeletestockorder) | **DELETE** /stock/orders/{id} | Delete Stock Order
@@ -277,6 +277,12 @@ Class | Method | HTTP request | Description
277
277
  - [EdTechProSchoolModel](docs/EdTechProSchoolModel.md)
278
278
  - [EdTechProSchoolsModel](docs/EdTechProSchoolsModel.md)
279
279
  - [EdTechProSetupModel](docs/EdTechProSetupModel.md)
280
+ - [EventDTO](docs/EventDTO.md)
281
+ - [EventRequestDTO](docs/EventRequestDTO.md)
282
+ - [EventSubscriptionModel](docs/EventSubscriptionModel.md)
283
+ - [EventUpdateDTO](docs/EventUpdateDTO.md)
284
+ - [EventUpdateEntity](docs/EventUpdateEntity.md)
285
+ - [EventUpdateRequestDTO](docs/EventUpdateRequestDTO.md)
280
286
  - [FraudManagementModel](docs/FraudManagementModel.md)
281
287
  - [FreshdeskCompanyTicketsModel](docs/FreshdeskCompanyTicketsModel.md)
282
288
  - [FreshdeskTicketEntity](docs/FreshdeskTicketEntity.md)
@@ -286,12 +292,6 @@ Class | Method | HTTP request | Description
286
292
  - [GetGetRecording200Response](docs/GetGetRecording200Response.md)
287
293
  - [HostingChangeResponseModel](docs/HostingChangeResponseModel.md)
288
294
  - [HostingRegionDTO](docs/HostingRegionDTO.md)
289
- - [IncidentDTO](docs/IncidentDTO.md)
290
- - [IncidentRequestDTO](docs/IncidentRequestDTO.md)
291
- - [IncidentSubscriptionModel](docs/IncidentSubscriptionModel.md)
292
- - [IncidentUpdateDTO](docs/IncidentUpdateDTO.md)
293
- - [IncidentUpdateEntity](docs/IncidentUpdateEntity.md)
294
- - [IncidentUpdateRequestDTO](docs/IncidentUpdateRequestDTO.md)
295
295
  - [InstanceAutoFailoverEntity](docs/InstanceAutoFailoverEntity.md)
296
296
  - [InstanceDeletionScheduleEntity](docs/InstanceDeletionScheduleEntity.md)
297
297
  - [InstanceEntity](docs/InstanceEntity.md)
package/api.ts CHANGED
@@ -1583,6 +1583,185 @@ export interface EdTechProSetupModel {
1583
1583
  */
1584
1584
  'installed'?: boolean;
1585
1585
  }
1586
+ /**
1587
+ * Service Event DTO
1588
+ */
1589
+ export interface EventDTO {
1590
+ /**
1591
+ * Service Event Title
1592
+ */
1593
+ 'title'?: string;
1594
+ /**
1595
+ * Service Event Type
1596
+ */
1597
+ 'type'?: EventDTOTypeEnum;
1598
+ /**
1599
+ * Service Impacted
1600
+ */
1601
+ 'service'?: EventDTOServiceEnum;
1602
+ /**
1603
+ * Event Status Description
1604
+ */
1605
+ 'statusName'?: string;
1606
+ /**
1607
+ * Event Type Description
1608
+ */
1609
+ 'typeName'?: string;
1610
+ /**
1611
+ * Service Event ID
1612
+ */
1613
+ 'id'?: number;
1614
+ /**
1615
+ * Service Event Status
1616
+ */
1617
+ 'status'?: EventDTOStatusEnum;
1618
+ /**
1619
+ * Service Event Updates
1620
+ */
1621
+ 'updates'?: Array<EventUpdateDTO>;
1622
+ }
1623
+
1624
+ export const EventDTOTypeEnum = {
1625
+ NUMBER_0: 0,
1626
+ NUMBER_1: 1
1627
+ } as const;
1628
+
1629
+ export type EventDTOTypeEnum = typeof EventDTOTypeEnum[keyof typeof EventDTOTypeEnum];
1630
+ export const EventDTOServiceEnum = {
1631
+ NUMBER_0: 0,
1632
+ NUMBER_1: 1
1633
+ } as const;
1634
+
1635
+ export type EventDTOServiceEnum = typeof EventDTOServiceEnum[keyof typeof EventDTOServiceEnum];
1636
+ export const EventDTOStatusEnum = {
1637
+ NUMBER_0: 0,
1638
+ NUMBER_1: 1,
1639
+ NUMBER_2: 2
1640
+ } as const;
1641
+
1642
+ export type EventDTOStatusEnum = typeof EventDTOStatusEnum[keyof typeof EventDTOStatusEnum];
1643
+
1644
+ /**
1645
+ * Service Event Request DTO
1646
+ */
1647
+ export interface EventRequestDTO {
1648
+ /**
1649
+ * Service Event Title
1650
+ */
1651
+ 'title'?: string;
1652
+ /**
1653
+ * Service Event Type
1654
+ */
1655
+ 'type'?: EventRequestDTOTypeEnum;
1656
+ /**
1657
+ * Service Impacted
1658
+ */
1659
+ 'service'?: EventRequestDTOServiceEnum;
1660
+ }
1661
+
1662
+ export const EventRequestDTOTypeEnum = {
1663
+ NUMBER_0: 0,
1664
+ NUMBER_1: 1
1665
+ } as const;
1666
+
1667
+ export type EventRequestDTOTypeEnum = typeof EventRequestDTOTypeEnum[keyof typeof EventRequestDTOTypeEnum];
1668
+ export const EventRequestDTOServiceEnum = {
1669
+ NUMBER_0: 0,
1670
+ NUMBER_1: 1
1671
+ } as const;
1672
+
1673
+ export type EventRequestDTOServiceEnum = typeof EventRequestDTOServiceEnum[keyof typeof EventRequestDTOServiceEnum];
1674
+
1675
+ /**
1676
+ * Service Event Subscribption Model
1677
+ */
1678
+ export interface EventSubscriptionModel {
1679
+ /**
1680
+ * id
1681
+ */
1682
+ 'id'?: string;
1683
+ /**
1684
+ * email
1685
+ */
1686
+ 'email'?: string;
1687
+ }
1688
+ /**
1689
+ * Service Event Update DTO
1690
+ */
1691
+ export interface EventUpdateDTO {
1692
+ /**
1693
+ * Service Event Update Message
1694
+ */
1695
+ 'message'?: string;
1696
+ /**
1697
+ * Service Event Update Type
1698
+ */
1699
+ 'type'?: EventUpdateDTOTypeEnum;
1700
+ /**
1701
+ * Service Event Update Type Description
1702
+ */
1703
+ 'typeName'?: string;
1704
+ /**
1705
+ * Date Time
1706
+ */
1707
+ 'createdAt'?: string;
1708
+ }
1709
+
1710
+ export const EventUpdateDTOTypeEnum = {
1711
+ NUMBER_0: 0,
1712
+ NUMBER_1: 1,
1713
+ NUMBER_2: 2
1714
+ } as const;
1715
+
1716
+ export type EventUpdateDTOTypeEnum = typeof EventUpdateDTOTypeEnum[keyof typeof EventUpdateDTOTypeEnum];
1717
+
1718
+ /**
1719
+ * Event Update Entity
1720
+ */
1721
+ export interface EventUpdateEntity {
1722
+ /**
1723
+ * id
1724
+ */
1725
+ 'id'?: number;
1726
+ /**
1727
+ * eventId
1728
+ */
1729
+ 'eventId'?: number;
1730
+ /**
1731
+ * message
1732
+ */
1733
+ 'message'?: string;
1734
+ /**
1735
+ * type
1736
+ */
1737
+ 'type'?: number;
1738
+ /**
1739
+ * createdAt
1740
+ */
1741
+ 'createdAt'?: string;
1742
+ }
1743
+ /**
1744
+ * Service Event Update Request DTO
1745
+ */
1746
+ export interface EventUpdateRequestDTO {
1747
+ /**
1748
+ * Service Event Update Message
1749
+ */
1750
+ 'message'?: string;
1751
+ /**
1752
+ * Service Event Update Type
1753
+ */
1754
+ 'type'?: EventUpdateRequestDTOTypeEnum;
1755
+ }
1756
+
1757
+ export const EventUpdateRequestDTOTypeEnum = {
1758
+ NUMBER_0: 0,
1759
+ NUMBER_1: 1,
1760
+ NUMBER_2: 2
1761
+ } as const;
1762
+
1763
+ export type EventUpdateRequestDTOTypeEnum = typeof EventUpdateRequestDTOTypeEnum[keyof typeof EventUpdateRequestDTOTypeEnum];
1764
+
1586
1765
  /**
1587
1766
  * Fraud Management
1588
1767
  */
@@ -1763,185 +1942,6 @@ export const HostingRegionDTOCodeEnum = {
1763
1942
 
1764
1943
  export type HostingRegionDTOCodeEnum = typeof HostingRegionDTOCodeEnum[keyof typeof HostingRegionDTOCodeEnum];
1765
1944
 
1766
- /**
1767
- * Incident DTO
1768
- */
1769
- export interface IncidentDTO {
1770
- /**
1771
- * Incident Title
1772
- */
1773
- 'title'?: string;
1774
- /**
1775
- * Incident Severity
1776
- */
1777
- 'severity'?: IncidentDTOSeverityEnum;
1778
- /**
1779
- * Service Impacted
1780
- */
1781
- 'service'?: IncidentDTOServiceEnum;
1782
- /**
1783
- * Incident Status Description
1784
- */
1785
- 'statusName'?: string;
1786
- /**
1787
- * Incident Severity Description
1788
- */
1789
- 'severityName'?: string;
1790
- /**
1791
- * Incident ID
1792
- */
1793
- 'id'?: number;
1794
- /**
1795
- * Incident Status
1796
- */
1797
- 'status'?: IncidentDTOStatusEnum;
1798
- /**
1799
- * Incident Updates
1800
- */
1801
- 'updates'?: Array<IncidentUpdateDTO>;
1802
- }
1803
-
1804
- export const IncidentDTOSeverityEnum = {
1805
- NUMBER_0: 0,
1806
- NUMBER_1: 1
1807
- } as const;
1808
-
1809
- export type IncidentDTOSeverityEnum = typeof IncidentDTOSeverityEnum[keyof typeof IncidentDTOSeverityEnum];
1810
- export const IncidentDTOServiceEnum = {
1811
- NUMBER_0: 0,
1812
- NUMBER_1: 1
1813
- } as const;
1814
-
1815
- export type IncidentDTOServiceEnum = typeof IncidentDTOServiceEnum[keyof typeof IncidentDTOServiceEnum];
1816
- export const IncidentDTOStatusEnum = {
1817
- NUMBER_0: 0,
1818
- NUMBER_1: 1,
1819
- NUMBER_2: 2
1820
- } as const;
1821
-
1822
- export type IncidentDTOStatusEnum = typeof IncidentDTOStatusEnum[keyof typeof IncidentDTOStatusEnum];
1823
-
1824
- /**
1825
- * Incident Request DTO
1826
- */
1827
- export interface IncidentRequestDTO {
1828
- /**
1829
- * Incident Title
1830
- */
1831
- 'title'?: string;
1832
- /**
1833
- * Incident Severity
1834
- */
1835
- 'severity'?: IncidentRequestDTOSeverityEnum;
1836
- /**
1837
- * Service Impacted
1838
- */
1839
- 'service'?: IncidentRequestDTOServiceEnum;
1840
- }
1841
-
1842
- export const IncidentRequestDTOSeverityEnum = {
1843
- NUMBER_0: 0,
1844
- NUMBER_1: 1
1845
- } as const;
1846
-
1847
- export type IncidentRequestDTOSeverityEnum = typeof IncidentRequestDTOSeverityEnum[keyof typeof IncidentRequestDTOSeverityEnum];
1848
- export const IncidentRequestDTOServiceEnum = {
1849
- NUMBER_0: 0,
1850
- NUMBER_1: 1
1851
- } as const;
1852
-
1853
- export type IncidentRequestDTOServiceEnum = typeof IncidentRequestDTOServiceEnum[keyof typeof IncidentRequestDTOServiceEnum];
1854
-
1855
- /**
1856
- * Incident Subscribption Model
1857
- */
1858
- export interface IncidentSubscriptionModel {
1859
- /**
1860
- * id
1861
- */
1862
- 'id'?: string;
1863
- /**
1864
- * email
1865
- */
1866
- 'email'?: string;
1867
- }
1868
- /**
1869
- * Incident Update DTO
1870
- */
1871
- export interface IncidentUpdateDTO {
1872
- /**
1873
- * Incident Update Message
1874
- */
1875
- 'message'?: string;
1876
- /**
1877
- * Incident Update Type
1878
- */
1879
- 'type'?: IncidentUpdateDTOTypeEnum;
1880
- /**
1881
- * Incident Update Type Description
1882
- */
1883
- 'typeName'?: string;
1884
- /**
1885
- * Date Time
1886
- */
1887
- 'createdAt'?: string;
1888
- }
1889
-
1890
- export const IncidentUpdateDTOTypeEnum = {
1891
- NUMBER_0: 0,
1892
- NUMBER_1: 1,
1893
- NUMBER_2: 2
1894
- } as const;
1895
-
1896
- export type IncidentUpdateDTOTypeEnum = typeof IncidentUpdateDTOTypeEnum[keyof typeof IncidentUpdateDTOTypeEnum];
1897
-
1898
- /**
1899
- * IncidentUpdatesEntity
1900
- */
1901
- export interface IncidentUpdateEntity {
1902
- /**
1903
- * id
1904
- */
1905
- 'id'?: number;
1906
- /**
1907
- * incidentId
1908
- */
1909
- 'incidentId'?: number;
1910
- /**
1911
- * message
1912
- */
1913
- 'message'?: string;
1914
- /**
1915
- * type
1916
- */
1917
- 'type'?: number;
1918
- /**
1919
- * createdAt
1920
- */
1921
- 'createdAt'?: string;
1922
- }
1923
- /**
1924
- * Incident Update Request DTO
1925
- */
1926
- export interface IncidentUpdateRequestDTO {
1927
- /**
1928
- * Incident Update Message
1929
- */
1930
- 'message'?: string;
1931
- /**
1932
- * Incident Update Type
1933
- */
1934
- 'type'?: IncidentUpdateRequestDTOTypeEnum;
1935
- }
1936
-
1937
- export const IncidentUpdateRequestDTOTypeEnum = {
1938
- NUMBER_0: 0,
1939
- NUMBER_1: 1,
1940
- NUMBER_2: 2
1941
- } as const;
1942
-
1943
- export type IncidentUpdateRequestDTOTypeEnum = typeof IncidentUpdateRequestDTOTypeEnum[keyof typeof IncidentUpdateRequestDTOTypeEnum];
1944
-
1945
1945
  /**
1946
1946
  * InstanceFailoverIpsEntity
1947
1947
  */
@@ -3737,9 +3737,9 @@ export interface ServiceStatusDTO {
3737
3737
  */
3738
3738
  'status'?: ServiceStatusDTOStatusEnum;
3739
3739
  /**
3740
- * Service Incidents
3740
+ * Service Events
3741
3741
  */
3742
- 'incidents'?: Array<IncidentDTO>;
3742
+ 'events'?: Array<EventDTO>;
3743
3743
  }
3744
3744
 
3745
3745
  export const ServiceStatusDTOStatusEnum = {
@@ -17287,7 +17287,7 @@ export const ServicesApiAxiosParamCreator = function (configuration?: Configurat
17287
17287
  * @throws {RequiredError}
17288
17288
  */
17289
17289
  deleteUnsubscribe: async (id?: string, email?: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
17290
- const localVarPath = `/services/incidents/unsubscribe`;
17290
+ const localVarPath = `/services/events/unsubscribe`;
17291
17291
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
17292
17292
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
17293
17293
  let baseOptions;
@@ -17353,10 +17353,10 @@ export const ServicesApiAxiosParamCreator = function (configuration?: Configurat
17353
17353
  * @param {*} [options] Override http request option.
17354
17354
  * @throws {RequiredError}
17355
17355
  */
17356
- patchArchiveIncident: async (id: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
17356
+ patchArchiveEvent: async (id: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
17357
17357
  // verify required parameter 'id' is not null or undefined
17358
- assertParamExists('patchArchiveIncident', 'id', id)
17359
- const localVarPath = `/services/incidents/{id}/archive`
17358
+ assertParamExists('patchArchiveEvent', 'id', id)
17359
+ const localVarPath = `/services/events/{id}/archive`
17360
17360
  .replace(`{${"id"}}`, encodeURIComponent(String(id)));
17361
17361
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
17362
17362
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
@@ -17382,12 +17382,12 @@ export const ServicesApiAxiosParamCreator = function (configuration?: Configurat
17382
17382
  },
17383
17383
  /**
17384
17384
  *
17385
- * @param {IncidentRequestDTO} [incidentRequestDTO]
17385
+ * @param {EventRequestDTO} [eventRequestDTO]
17386
17386
  * @param {*} [options] Override http request option.
17387
17387
  * @throws {RequiredError}
17388
17388
  */
17389
- postCreateIncident: async (incidentRequestDTO?: IncidentRequestDTO, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
17390
- const localVarPath = `/services/incidents`;
17389
+ postCreateEvent: async (eventRequestDTO?: EventRequestDTO, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
17390
+ const localVarPath = `/services/events`;
17391
17391
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
17392
17392
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
17393
17393
  let baseOptions;
@@ -17406,7 +17406,7 @@ export const ServicesApiAxiosParamCreator = function (configuration?: Configurat
17406
17406
  setSearchParams(localVarUrlObj, localVarQueryParameter);
17407
17407
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
17408
17408
  localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
17409
- localVarRequestOptions.data = serializeDataIfNeeded(incidentRequestDTO, localVarRequestOptions, configuration)
17409
+ localVarRequestOptions.data = serializeDataIfNeeded(eventRequestDTO, localVarRequestOptions, configuration)
17410
17410
 
17411
17411
  return {
17412
17412
  url: toPathString(localVarUrlObj),
@@ -17416,14 +17416,14 @@ export const ServicesApiAxiosParamCreator = function (configuration?: Configurat
17416
17416
  /**
17417
17417
  *
17418
17418
  * @param {string} id Group ID
17419
- * @param {IncidentUpdateRequestDTO} [incidentUpdateRequestDTO]
17419
+ * @param {EventUpdateRequestDTO} [eventUpdateRequestDTO]
17420
17420
  * @param {*} [options] Override http request option.
17421
17421
  * @throws {RequiredError}
17422
17422
  */
17423
- postCreateIncidentUpdate: async (id: string, incidentUpdateRequestDTO?: IncidentUpdateRequestDTO, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
17423
+ postCreateEventUpdate: async (id: string, eventUpdateRequestDTO?: EventUpdateRequestDTO, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
17424
17424
  // verify required parameter 'id' is not null or undefined
17425
- assertParamExists('postCreateIncidentUpdate', 'id', id)
17426
- const localVarPath = `/services/incidents/{id}/updates`
17425
+ assertParamExists('postCreateEventUpdate', 'id', id)
17426
+ const localVarPath = `/services/events/{id}/updates`
17427
17427
  .replace(`{${"id"}}`, encodeURIComponent(String(id)));
17428
17428
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
17429
17429
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
@@ -17443,7 +17443,7 @@ export const ServicesApiAxiosParamCreator = function (configuration?: Configurat
17443
17443
  setSearchParams(localVarUrlObj, localVarQueryParameter);
17444
17444
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
17445
17445
  localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
17446
- localVarRequestOptions.data = serializeDataIfNeeded(incidentUpdateRequestDTO, localVarRequestOptions, configuration)
17446
+ localVarRequestOptions.data = serializeDataIfNeeded(eventUpdateRequestDTO, localVarRequestOptions, configuration)
17447
17447
 
17448
17448
  return {
17449
17449
  url: toPathString(localVarUrlObj),
@@ -17457,7 +17457,7 @@ export const ServicesApiAxiosParamCreator = function (configuration?: Configurat
17457
17457
  * @throws {RequiredError}
17458
17458
  */
17459
17459
  postSubscribe: async (email?: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
17460
- const localVarPath = `/services/incidents/subscribe`;
17460
+ const localVarPath = `/services/events/subscribe`;
17461
17461
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
17462
17462
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
17463
17463
  let baseOptions;
@@ -17523,35 +17523,35 @@ export const ServicesApiFp = function(configuration?: Configuration) {
17523
17523
  * @param {*} [options] Override http request option.
17524
17524
  * @throws {RequiredError}
17525
17525
  */
17526
- async patchArchiveIncident(id: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<IncidentDTO>> {
17527
- const localVarAxiosArgs = await localVarAxiosParamCreator.patchArchiveIncident(id, options);
17526
+ async patchArchiveEvent(id: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<EventDTO>> {
17527
+ const localVarAxiosArgs = await localVarAxiosParamCreator.patchArchiveEvent(id, options);
17528
17528
  const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
17529
- const localVarOperationServerBasePath = operationServerMap['ServicesApi.patchArchiveIncident']?.[localVarOperationServerIndex]?.url;
17529
+ const localVarOperationServerBasePath = operationServerMap['ServicesApi.patchArchiveEvent']?.[localVarOperationServerIndex]?.url;
17530
17530
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
17531
17531
  },
17532
17532
  /**
17533
17533
  *
17534
- * @param {IncidentRequestDTO} [incidentRequestDTO]
17534
+ * @param {EventRequestDTO} [eventRequestDTO]
17535
17535
  * @param {*} [options] Override http request option.
17536
17536
  * @throws {RequiredError}
17537
17537
  */
17538
- async postCreateIncident(incidentRequestDTO?: IncidentRequestDTO, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<IncidentDTO>> {
17539
- const localVarAxiosArgs = await localVarAxiosParamCreator.postCreateIncident(incidentRequestDTO, options);
17538
+ async postCreateEvent(eventRequestDTO?: EventRequestDTO, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<EventDTO>> {
17539
+ const localVarAxiosArgs = await localVarAxiosParamCreator.postCreateEvent(eventRequestDTO, options);
17540
17540
  const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
17541
- const localVarOperationServerBasePath = operationServerMap['ServicesApi.postCreateIncident']?.[localVarOperationServerIndex]?.url;
17541
+ const localVarOperationServerBasePath = operationServerMap['ServicesApi.postCreateEvent']?.[localVarOperationServerIndex]?.url;
17542
17542
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
17543
17543
  },
17544
17544
  /**
17545
17545
  *
17546
17546
  * @param {string} id Group ID
17547
- * @param {IncidentUpdateRequestDTO} [incidentUpdateRequestDTO]
17547
+ * @param {EventUpdateRequestDTO} [eventUpdateRequestDTO]
17548
17548
  * @param {*} [options] Override http request option.
17549
17549
  * @throws {RequiredError}
17550
17550
  */
17551
- async postCreateIncidentUpdate(id: string, incidentUpdateRequestDTO?: IncidentUpdateRequestDTO, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<IncidentDTO>> {
17552
- const localVarAxiosArgs = await localVarAxiosParamCreator.postCreateIncidentUpdate(id, incidentUpdateRequestDTO, options);
17551
+ async postCreateEventUpdate(id: string, eventUpdateRequestDTO?: EventUpdateRequestDTO, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<EventDTO>> {
17552
+ const localVarAxiosArgs = await localVarAxiosParamCreator.postCreateEventUpdate(id, eventUpdateRequestDTO, options);
17553
17553
  const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
17554
- const localVarOperationServerBasePath = operationServerMap['ServicesApi.postCreateIncidentUpdate']?.[localVarOperationServerIndex]?.url;
17554
+ const localVarOperationServerBasePath = operationServerMap['ServicesApi.postCreateEventUpdate']?.[localVarOperationServerIndex]?.url;
17555
17555
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
17556
17556
  },
17557
17557
  /**
@@ -17599,27 +17599,27 @@ export const ServicesApiFactory = function (configuration?: Configuration, baseP
17599
17599
  * @param {*} [options] Override http request option.
17600
17600
  * @throws {RequiredError}
17601
17601
  */
17602
- patchArchiveIncident(id: string, options?: RawAxiosRequestConfig): AxiosPromise<IncidentDTO> {
17603
- return localVarFp.patchArchiveIncident(id, options).then((request) => request(axios, basePath));
17602
+ patchArchiveEvent(id: string, options?: RawAxiosRequestConfig): AxiosPromise<EventDTO> {
17603
+ return localVarFp.patchArchiveEvent(id, options).then((request) => request(axios, basePath));
17604
17604
  },
17605
17605
  /**
17606
17606
  *
17607
- * @param {IncidentRequestDTO} [incidentRequestDTO]
17607
+ * @param {EventRequestDTO} [eventRequestDTO]
17608
17608
  * @param {*} [options] Override http request option.
17609
17609
  * @throws {RequiredError}
17610
17610
  */
17611
- postCreateIncident(incidentRequestDTO?: IncidentRequestDTO, options?: RawAxiosRequestConfig): AxiosPromise<IncidentDTO> {
17612
- return localVarFp.postCreateIncident(incidentRequestDTO, options).then((request) => request(axios, basePath));
17611
+ postCreateEvent(eventRequestDTO?: EventRequestDTO, options?: RawAxiosRequestConfig): AxiosPromise<EventDTO> {
17612
+ return localVarFp.postCreateEvent(eventRequestDTO, options).then((request) => request(axios, basePath));
17613
17613
  },
17614
17614
  /**
17615
17615
  *
17616
17616
  * @param {string} id Group ID
17617
- * @param {IncidentUpdateRequestDTO} [incidentUpdateRequestDTO]
17617
+ * @param {EventUpdateRequestDTO} [eventUpdateRequestDTO]
17618
17618
  * @param {*} [options] Override http request option.
17619
17619
  * @throws {RequiredError}
17620
17620
  */
17621
- postCreateIncidentUpdate(id: string, incidentUpdateRequestDTO?: IncidentUpdateRequestDTO, options?: RawAxiosRequestConfig): AxiosPromise<IncidentDTO> {
17622
- return localVarFp.postCreateIncidentUpdate(id, incidentUpdateRequestDTO, options).then((request) => request(axios, basePath));
17621
+ postCreateEventUpdate(id: string, eventUpdateRequestDTO?: EventUpdateRequestDTO, options?: RawAxiosRequestConfig): AxiosPromise<EventDTO> {
17622
+ return localVarFp.postCreateEventUpdate(id, eventUpdateRequestDTO, options).then((request) => request(axios, basePath));
17623
17623
  },
17624
17624
  /**
17625
17625
  *
@@ -17663,29 +17663,29 @@ export class ServicesApi extends BaseAPI {
17663
17663
  * @param {*} [options] Override http request option.
17664
17664
  * @throws {RequiredError}
17665
17665
  */
17666
- public patchArchiveIncident(id: string, options?: RawAxiosRequestConfig) {
17667
- return ServicesApiFp(this.configuration).patchArchiveIncident(id, options).then((request) => request(this.axios, this.basePath));
17666
+ public patchArchiveEvent(id: string, options?: RawAxiosRequestConfig) {
17667
+ return ServicesApiFp(this.configuration).patchArchiveEvent(id, options).then((request) => request(this.axios, this.basePath));
17668
17668
  }
17669
17669
 
17670
17670
  /**
17671
17671
  *
17672
- * @param {IncidentRequestDTO} [incidentRequestDTO]
17672
+ * @param {EventRequestDTO} [eventRequestDTO]
17673
17673
  * @param {*} [options] Override http request option.
17674
17674
  * @throws {RequiredError}
17675
17675
  */
17676
- public postCreateIncident(incidentRequestDTO?: IncidentRequestDTO, options?: RawAxiosRequestConfig) {
17677
- return ServicesApiFp(this.configuration).postCreateIncident(incidentRequestDTO, options).then((request) => request(this.axios, this.basePath));
17676
+ public postCreateEvent(eventRequestDTO?: EventRequestDTO, options?: RawAxiosRequestConfig) {
17677
+ return ServicesApiFp(this.configuration).postCreateEvent(eventRequestDTO, options).then((request) => request(this.axios, this.basePath));
17678
17678
  }
17679
17679
 
17680
17680
  /**
17681
17681
  *
17682
17682
  * @param {string} id Group ID
17683
- * @param {IncidentUpdateRequestDTO} [incidentUpdateRequestDTO]
17683
+ * @param {EventUpdateRequestDTO} [eventUpdateRequestDTO]
17684
17684
  * @param {*} [options] Override http request option.
17685
17685
  * @throws {RequiredError}
17686
17686
  */
17687
- public postCreateIncidentUpdate(id: string, incidentUpdateRequestDTO?: IncidentUpdateRequestDTO, options?: RawAxiosRequestConfig) {
17688
- return ServicesApiFp(this.configuration).postCreateIncidentUpdate(id, incidentUpdateRequestDTO, options).then((request) => request(this.axios, this.basePath));
17687
+ public postCreateEventUpdate(id: string, eventUpdateRequestDTO?: EventUpdateRequestDTO, options?: RawAxiosRequestConfig) {
17688
+ return ServicesApiFp(this.configuration).postCreateEventUpdate(id, eventUpdateRequestDTO, options).then((request) => request(this.axios, this.basePath));
17689
17689
  }
17690
17690
 
17691
17691
  /**