yellowgrid-api-ts 3.2.25-dev.0 → 3.2.26-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/api.ts +24 -8
- package/dist/api.d.ts +24 -8
- package/dist/api.js +3 -3
- package/docs/IncidentDTO.md +6 -2
- package/docs/IncidentRequestDTO.md +2 -2
- package/docs/IncidentUpdateDTO.md +2 -0
- package/docs/ServiceStatusDTO.md +2 -0
- package/package.json +1 -1
package/api.ts
CHANGED
|
@@ -1772,13 +1772,21 @@ export interface IncidentDTO {
|
|
|
1772
1772
|
*/
|
|
1773
1773
|
'title'?: string;
|
|
1774
1774
|
/**
|
|
1775
|
-
* Incident
|
|
1775
|
+
* Incident Severity
|
|
1776
1776
|
*/
|
|
1777
|
-
'
|
|
1777
|
+
'severity'?: IncidentDTOSeverityEnum;
|
|
1778
1778
|
/**
|
|
1779
1779
|
* Service Impacted
|
|
1780
1780
|
*/
|
|
1781
1781
|
'service'?: IncidentDTOServiceEnum;
|
|
1782
|
+
/**
|
|
1783
|
+
* Incident Status Description
|
|
1784
|
+
*/
|
|
1785
|
+
'statusName'?: string;
|
|
1786
|
+
/**
|
|
1787
|
+
* Incident Severity Description
|
|
1788
|
+
*/
|
|
1789
|
+
'severityName'?: string;
|
|
1782
1790
|
/**
|
|
1783
1791
|
* Incident ID
|
|
1784
1792
|
*/
|
|
@@ -1793,12 +1801,12 @@ export interface IncidentDTO {
|
|
|
1793
1801
|
'updates'?: Array<IncidentUpdateDTO>;
|
|
1794
1802
|
}
|
|
1795
1803
|
|
|
1796
|
-
export const
|
|
1804
|
+
export const IncidentDTOSeverityEnum = {
|
|
1797
1805
|
NUMBER_0: 0,
|
|
1798
1806
|
NUMBER_1: 1
|
|
1799
1807
|
} as const;
|
|
1800
1808
|
|
|
1801
|
-
export type
|
|
1809
|
+
export type IncidentDTOSeverityEnum = typeof IncidentDTOSeverityEnum[keyof typeof IncidentDTOSeverityEnum];
|
|
1802
1810
|
export const IncidentDTOServiceEnum = {
|
|
1803
1811
|
NUMBER_0: 0
|
|
1804
1812
|
} as const;
|
|
@@ -1821,21 +1829,21 @@ export interface IncidentRequestDTO {
|
|
|
1821
1829
|
*/
|
|
1822
1830
|
'title'?: string;
|
|
1823
1831
|
/**
|
|
1824
|
-
* Incident
|
|
1832
|
+
* Incident Severity
|
|
1825
1833
|
*/
|
|
1826
|
-
'
|
|
1834
|
+
'severity'?: IncidentRequestDTOSeverityEnum;
|
|
1827
1835
|
/**
|
|
1828
1836
|
* Service Impacted
|
|
1829
1837
|
*/
|
|
1830
1838
|
'service'?: IncidentRequestDTOServiceEnum;
|
|
1831
1839
|
}
|
|
1832
1840
|
|
|
1833
|
-
export const
|
|
1841
|
+
export const IncidentRequestDTOSeverityEnum = {
|
|
1834
1842
|
NUMBER_0: 0,
|
|
1835
1843
|
NUMBER_1: 1
|
|
1836
1844
|
} as const;
|
|
1837
1845
|
|
|
1838
|
-
export type
|
|
1846
|
+
export type IncidentRequestDTOSeverityEnum = typeof IncidentRequestDTOSeverityEnum[keyof typeof IncidentRequestDTOSeverityEnum];
|
|
1839
1847
|
export const IncidentRequestDTOServiceEnum = {
|
|
1840
1848
|
NUMBER_0: 0
|
|
1841
1849
|
} as const;
|
|
@@ -1867,6 +1875,10 @@ export interface IncidentUpdateDTO {
|
|
|
1867
1875
|
* Incident Update Type
|
|
1868
1876
|
*/
|
|
1869
1877
|
'type'?: IncidentUpdateDTOTypeEnum;
|
|
1878
|
+
/**
|
|
1879
|
+
* Incident Update Type Description
|
|
1880
|
+
*/
|
|
1881
|
+
'typeName'?: string;
|
|
1870
1882
|
/**
|
|
1871
1883
|
* Date Time
|
|
1872
1884
|
*/
|
|
@@ -3710,6 +3722,10 @@ export type ServiceHealthDTOGlobalStatusEnum = typeof ServiceHealthDTOGlobalStat
|
|
|
3710
3722
|
* Service Status DTO
|
|
3711
3723
|
*/
|
|
3712
3724
|
export interface ServiceStatusDTO {
|
|
3725
|
+
/**
|
|
3726
|
+
* Service Status Description
|
|
3727
|
+
*/
|
|
3728
|
+
'statusName'?: string;
|
|
3713
3729
|
/**
|
|
3714
3730
|
* Service Name
|
|
3715
3731
|
*/
|
package/dist/api.d.ts
CHANGED
|
@@ -1750,13 +1750,21 @@ export interface IncidentDTO {
|
|
|
1750
1750
|
*/
|
|
1751
1751
|
'title'?: string;
|
|
1752
1752
|
/**
|
|
1753
|
-
* Incident
|
|
1753
|
+
* Incident Severity
|
|
1754
1754
|
*/
|
|
1755
|
-
'
|
|
1755
|
+
'severity'?: IncidentDTOSeverityEnum;
|
|
1756
1756
|
/**
|
|
1757
1757
|
* Service Impacted
|
|
1758
1758
|
*/
|
|
1759
1759
|
'service'?: IncidentDTOServiceEnum;
|
|
1760
|
+
/**
|
|
1761
|
+
* Incident Status Description
|
|
1762
|
+
*/
|
|
1763
|
+
'statusName'?: string;
|
|
1764
|
+
/**
|
|
1765
|
+
* Incident Severity Description
|
|
1766
|
+
*/
|
|
1767
|
+
'severityName'?: string;
|
|
1760
1768
|
/**
|
|
1761
1769
|
* Incident ID
|
|
1762
1770
|
*/
|
|
@@ -1770,11 +1778,11 @@ export interface IncidentDTO {
|
|
|
1770
1778
|
*/
|
|
1771
1779
|
'updates'?: Array<IncidentUpdateDTO>;
|
|
1772
1780
|
}
|
|
1773
|
-
export declare const
|
|
1781
|
+
export declare const IncidentDTOSeverityEnum: {
|
|
1774
1782
|
readonly NUMBER_0: 0;
|
|
1775
1783
|
readonly NUMBER_1: 1;
|
|
1776
1784
|
};
|
|
1777
|
-
export type
|
|
1785
|
+
export type IncidentDTOSeverityEnum = typeof IncidentDTOSeverityEnum[keyof typeof IncidentDTOSeverityEnum];
|
|
1778
1786
|
export declare const IncidentDTOServiceEnum: {
|
|
1779
1787
|
readonly NUMBER_0: 0;
|
|
1780
1788
|
};
|
|
@@ -1794,19 +1802,19 @@ export interface IncidentRequestDTO {
|
|
|
1794
1802
|
*/
|
|
1795
1803
|
'title'?: string;
|
|
1796
1804
|
/**
|
|
1797
|
-
* Incident
|
|
1805
|
+
* Incident Severity
|
|
1798
1806
|
*/
|
|
1799
|
-
'
|
|
1807
|
+
'severity'?: IncidentRequestDTOSeverityEnum;
|
|
1800
1808
|
/**
|
|
1801
1809
|
* Service Impacted
|
|
1802
1810
|
*/
|
|
1803
1811
|
'service'?: IncidentRequestDTOServiceEnum;
|
|
1804
1812
|
}
|
|
1805
|
-
export declare const
|
|
1813
|
+
export declare const IncidentRequestDTOSeverityEnum: {
|
|
1806
1814
|
readonly NUMBER_0: 0;
|
|
1807
1815
|
readonly NUMBER_1: 1;
|
|
1808
1816
|
};
|
|
1809
|
-
export type
|
|
1817
|
+
export type IncidentRequestDTOSeverityEnum = typeof IncidentRequestDTOSeverityEnum[keyof typeof IncidentRequestDTOSeverityEnum];
|
|
1810
1818
|
export declare const IncidentRequestDTOServiceEnum: {
|
|
1811
1819
|
readonly NUMBER_0: 0;
|
|
1812
1820
|
};
|
|
@@ -1836,6 +1844,10 @@ export interface IncidentUpdateDTO {
|
|
|
1836
1844
|
* Incident Update Type
|
|
1837
1845
|
*/
|
|
1838
1846
|
'type'?: IncidentUpdateDTOTypeEnum;
|
|
1847
|
+
/**
|
|
1848
|
+
* Incident Update Type Description
|
|
1849
|
+
*/
|
|
1850
|
+
'typeName'?: string;
|
|
1839
1851
|
/**
|
|
1840
1852
|
* Date Time
|
|
1841
1853
|
*/
|
|
@@ -3657,6 +3669,10 @@ export type ServiceHealthDTOGlobalStatusEnum = typeof ServiceHealthDTOGlobalStat
|
|
|
3657
3669
|
* Service Status DTO
|
|
3658
3670
|
*/
|
|
3659
3671
|
export interface ServiceStatusDTO {
|
|
3672
|
+
/**
|
|
3673
|
+
* Service Status Description
|
|
3674
|
+
*/
|
|
3675
|
+
'statusName'?: string;
|
|
3660
3676
|
/**
|
|
3661
3677
|
* Service Name
|
|
3662
3678
|
*/
|
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.
|
|
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;
|
|
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");
|
|
@@ -119,7 +119,7 @@ exports.HostingRegionDTOCodeEnum = {
|
|
|
119
119
|
UsEastVa1: 'US-EAST-VA-1',
|
|
120
120
|
UsWestOr1: 'US-WEST-OR-1'
|
|
121
121
|
};
|
|
122
|
-
exports.
|
|
122
|
+
exports.IncidentDTOSeverityEnum = {
|
|
123
123
|
NUMBER_0: 0,
|
|
124
124
|
NUMBER_1: 1
|
|
125
125
|
};
|
|
@@ -131,7 +131,7 @@ exports.IncidentDTOStatusEnum = {
|
|
|
131
131
|
NUMBER_1: 1,
|
|
132
132
|
NUMBER_2: 2
|
|
133
133
|
};
|
|
134
|
-
exports.
|
|
134
|
+
exports.IncidentRequestDTOSeverityEnum = {
|
|
135
135
|
NUMBER_0: 0,
|
|
136
136
|
NUMBER_1: 1
|
|
137
137
|
};
|
package/docs/IncidentDTO.md
CHANGED
|
@@ -7,8 +7,10 @@ Incident DTO
|
|
|
7
7
|
Name | Type | Description | Notes
|
|
8
8
|
------------ | ------------- | ------------- | -------------
|
|
9
9
|
**title** | **string** | Incident Title | [optional] [default to undefined]
|
|
10
|
-
**
|
|
10
|
+
**severity** | **number** | Incident Severity | [optional] [default to undefined]
|
|
11
11
|
**service** | **number** | Service Impacted | [optional] [default to undefined]
|
|
12
|
+
**statusName** | **string** | Incident Status Description | [optional] [default to undefined]
|
|
13
|
+
**severityName** | **string** | Incident Severity Description | [optional] [default to undefined]
|
|
12
14
|
**id** | **number** | Incident ID | [optional] [default to undefined]
|
|
13
15
|
**status** | **number** | Incident Status | [optional] [default to undefined]
|
|
14
16
|
**updates** | [**Array<IncidentUpdateDTO>**](IncidentUpdateDTO.md) | Incident Updates | [optional] [default to undefined]
|
|
@@ -20,8 +22,10 @@ import { IncidentDTO } from 'yellowgrid-api-ts';
|
|
|
20
22
|
|
|
21
23
|
const instance: IncidentDTO = {
|
|
22
24
|
title,
|
|
23
|
-
|
|
25
|
+
severity,
|
|
24
26
|
service,
|
|
27
|
+
statusName,
|
|
28
|
+
severityName,
|
|
25
29
|
id,
|
|
26
30
|
status,
|
|
27
31
|
updates,
|
|
@@ -7,7 +7,7 @@ Incident Request DTO
|
|
|
7
7
|
Name | Type | Description | Notes
|
|
8
8
|
------------ | ------------- | ------------- | -------------
|
|
9
9
|
**title** | **string** | Incident Title | [optional] [default to undefined]
|
|
10
|
-
**
|
|
10
|
+
**severity** | **number** | Incident Severity | [optional] [default to undefined]
|
|
11
11
|
**service** | **number** | Service Impacted | [optional] [default to undefined]
|
|
12
12
|
|
|
13
13
|
## Example
|
|
@@ -17,7 +17,7 @@ import { IncidentRequestDTO } from 'yellowgrid-api-ts';
|
|
|
17
17
|
|
|
18
18
|
const instance: IncidentRequestDTO = {
|
|
19
19
|
title,
|
|
20
|
-
|
|
20
|
+
severity,
|
|
21
21
|
service,
|
|
22
22
|
};
|
|
23
23
|
```
|
|
@@ -8,6 +8,7 @@ Name | Type | Description | Notes
|
|
|
8
8
|
------------ | ------------- | ------------- | -------------
|
|
9
9
|
**message** | **string** | Incident Update Message | [optional] [default to undefined]
|
|
10
10
|
**type** | **number** | Incident Update Type | [optional] [default to undefined]
|
|
11
|
+
**typeName** | **string** | Incident Update Type Description | [optional] [default to undefined]
|
|
11
12
|
**createdAt** | **string** | Date Time | [optional] [default to undefined]
|
|
12
13
|
|
|
13
14
|
## Example
|
|
@@ -18,6 +19,7 @@ import { IncidentUpdateDTO } from 'yellowgrid-api-ts';
|
|
|
18
19
|
const instance: IncidentUpdateDTO = {
|
|
19
20
|
message,
|
|
20
21
|
type,
|
|
22
|
+
typeName,
|
|
21
23
|
createdAt,
|
|
22
24
|
};
|
|
23
25
|
```
|
package/docs/ServiceStatusDTO.md
CHANGED
|
@@ -6,6 +6,7 @@ Service Status DTO
|
|
|
6
6
|
|
|
7
7
|
Name | Type | Description | Notes
|
|
8
8
|
------------ | ------------- | ------------- | -------------
|
|
9
|
+
**statusName** | **string** | Service Status Description | [optional] [default to undefined]
|
|
9
10
|
**serviceName** | **string** | Service Name | [optional] [default to undefined]
|
|
10
11
|
**status** | **number** | Service Status | [optional] [default to undefined]
|
|
11
12
|
**incidents** | [**Array<IncidentDTO>**](IncidentDTO.md) | Service Incidents | [optional] [default to undefined]
|
|
@@ -16,6 +17,7 @@ Name | Type | Description | Notes
|
|
|
16
17
|
import { ServiceStatusDTO } from 'yellowgrid-api-ts';
|
|
17
18
|
|
|
18
19
|
const instance: ServiceStatusDTO = {
|
|
20
|
+
statusName,
|
|
19
21
|
serviceName,
|
|
20
22
|
status,
|
|
21
23
|
incidents,
|