yellowgrid-api-ts 3.2.30-dev.0 → 3.2.31-dev.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.openapi-generator/VERSION +1 -1
- package/api.ts +3720 -8
- package/base.ts +24 -0
- package/common.ts +38 -1
- package/configuration.ts +18 -24
- package/dist/api.d.ts +3720 -8
- package/dist/api.js +371 -4
- package/dist/base.d.ts +24 -0
- package/dist/base.js +19 -0
- package/dist/common.d.ts +37 -0
- package/dist/common.js +37 -0
- package/dist/configuration.d.ts +17 -24
- package/dist/configuration.js +1 -1
- package/docs/ServicesApi.md +2 -2
- package/openapitools.json +1 -1
- package/package.json +1 -1
- package/docs/IncidentDTO.md +0 -35
- package/docs/IncidentRequestDTO.md +0 -25
- package/docs/IncidentSubscriptionModel.md +0 -23
- package/docs/IncidentUpdateDTO.md +0 -27
- package/docs/IncidentUpdateEntity.md +0 -29
- package/docs/IncidentUpdateRequestDTO.md +0 -23
- package/docs/NumberPortDTO.md +0 -51
- package/docs/NumberPortEntity.md +0 -47
- package/docs/NumberPortModel.md +0 -51
- package/docs/NumberPortRangeDTO.md +0 -33
- package/docs/NumberPortRangeRequestDTO.md +0 -27
- package/docs/NumberPortingApi.md +0 -658
- package/docs/NumberPortsModel.md +0 -27
- package/docs/SupportTicketModel.md +0 -41
package/dist/base.d.ts
CHANGED
|
@@ -12,22 +12,42 @@
|
|
|
12
12
|
import type { Configuration } from './configuration';
|
|
13
13
|
import type { AxiosInstance, RawAxiosRequestConfig } from 'axios';
|
|
14
14
|
export declare const BASE_PATH: string;
|
|
15
|
+
/**
|
|
16
|
+
*
|
|
17
|
+
* @export
|
|
18
|
+
*/
|
|
15
19
|
export declare const COLLECTION_FORMATS: {
|
|
16
20
|
csv: string;
|
|
17
21
|
ssv: string;
|
|
18
22
|
tsv: string;
|
|
19
23
|
pipes: string;
|
|
20
24
|
};
|
|
25
|
+
/**
|
|
26
|
+
*
|
|
27
|
+
* @export
|
|
28
|
+
* @interface RequestArgs
|
|
29
|
+
*/
|
|
21
30
|
export interface RequestArgs {
|
|
22
31
|
url: string;
|
|
23
32
|
options: RawAxiosRequestConfig;
|
|
24
33
|
}
|
|
34
|
+
/**
|
|
35
|
+
*
|
|
36
|
+
* @export
|
|
37
|
+
* @class BaseAPI
|
|
38
|
+
*/
|
|
25
39
|
export declare class BaseAPI {
|
|
26
40
|
protected basePath: string;
|
|
27
41
|
protected axios: AxiosInstance;
|
|
28
42
|
protected configuration: Configuration | undefined;
|
|
29
43
|
constructor(configuration?: Configuration, basePath?: string, axios?: AxiosInstance);
|
|
30
44
|
}
|
|
45
|
+
/**
|
|
46
|
+
*
|
|
47
|
+
* @export
|
|
48
|
+
* @class RequiredError
|
|
49
|
+
* @extends {Error}
|
|
50
|
+
*/
|
|
31
51
|
export declare class RequiredError extends Error {
|
|
32
52
|
field: string;
|
|
33
53
|
constructor(field: string, msg?: string);
|
|
@@ -38,5 +58,9 @@ interface ServerMap {
|
|
|
38
58
|
description: string;
|
|
39
59
|
}[];
|
|
40
60
|
}
|
|
61
|
+
/**
|
|
62
|
+
*
|
|
63
|
+
* @export
|
|
64
|
+
*/
|
|
41
65
|
export declare const operationServerMap: ServerMap;
|
|
42
66
|
export {};
|
package/dist/base.js
CHANGED
|
@@ -31,12 +31,21 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
31
31
|
exports.operationServerMap = exports.RequiredError = exports.BaseAPI = exports.COLLECTION_FORMATS = exports.BASE_PATH = void 0;
|
|
32
32
|
var axios_1 = require("axios");
|
|
33
33
|
exports.BASE_PATH = "http://api.yellowgrid.local".replace(/\/+$/, "");
|
|
34
|
+
/**
|
|
35
|
+
*
|
|
36
|
+
* @export
|
|
37
|
+
*/
|
|
34
38
|
exports.COLLECTION_FORMATS = {
|
|
35
39
|
csv: ",",
|
|
36
40
|
ssv: " ",
|
|
37
41
|
tsv: "\t",
|
|
38
42
|
pipes: "|",
|
|
39
43
|
};
|
|
44
|
+
/**
|
|
45
|
+
*
|
|
46
|
+
* @export
|
|
47
|
+
* @class BaseAPI
|
|
48
|
+
*/
|
|
40
49
|
var BaseAPI = /** @class */ (function () {
|
|
41
50
|
function BaseAPI(configuration, basePath, axios) {
|
|
42
51
|
if (basePath === void 0) { basePath = exports.BASE_PATH; }
|
|
@@ -53,6 +62,12 @@ var BaseAPI = /** @class */ (function () {
|
|
|
53
62
|
}());
|
|
54
63
|
exports.BaseAPI = BaseAPI;
|
|
55
64
|
;
|
|
65
|
+
/**
|
|
66
|
+
*
|
|
67
|
+
* @export
|
|
68
|
+
* @class RequiredError
|
|
69
|
+
* @extends {Error}
|
|
70
|
+
*/
|
|
56
71
|
var RequiredError = /** @class */ (function (_super) {
|
|
57
72
|
__extends(RequiredError, _super);
|
|
58
73
|
function RequiredError(field, msg) {
|
|
@@ -64,4 +79,8 @@ var RequiredError = /** @class */ (function (_super) {
|
|
|
64
79
|
return RequiredError;
|
|
65
80
|
}(Error));
|
|
66
81
|
exports.RequiredError = RequiredError;
|
|
82
|
+
/**
|
|
83
|
+
*
|
|
84
|
+
* @export
|
|
85
|
+
*/
|
|
67
86
|
exports.operationServerMap = {};
|
package/dist/common.d.ts
CHANGED
|
@@ -12,17 +12,54 @@
|
|
|
12
12
|
import type { Configuration } from "./configuration";
|
|
13
13
|
import type { RequestArgs } from "./base";
|
|
14
14
|
import type { AxiosInstance, AxiosResponse } from 'axios';
|
|
15
|
+
/**
|
|
16
|
+
*
|
|
17
|
+
* @export
|
|
18
|
+
*/
|
|
15
19
|
export declare const DUMMY_BASE_URL = "https://example.com";
|
|
16
20
|
/**
|
|
17
21
|
*
|
|
18
22
|
* @throws {RequiredError}
|
|
23
|
+
* @export
|
|
19
24
|
*/
|
|
20
25
|
export declare const assertParamExists: (functionName: string, paramName: string, paramValue: unknown) => void;
|
|
26
|
+
/**
|
|
27
|
+
*
|
|
28
|
+
* @export
|
|
29
|
+
*/
|
|
21
30
|
export declare const setApiKeyToObject: (object: any, keyParamName: string, configuration?: Configuration) => Promise<void>;
|
|
31
|
+
/**
|
|
32
|
+
*
|
|
33
|
+
* @export
|
|
34
|
+
*/
|
|
22
35
|
export declare const setBasicAuthToObject: (object: any, configuration?: Configuration) => void;
|
|
36
|
+
/**
|
|
37
|
+
*
|
|
38
|
+
* @export
|
|
39
|
+
*/
|
|
23
40
|
export declare const setBearerAuthToObject: (object: any, configuration?: Configuration) => Promise<void>;
|
|
41
|
+
/**
|
|
42
|
+
*
|
|
43
|
+
* @export
|
|
44
|
+
*/
|
|
24
45
|
export declare const setOAuthToObject: (object: any, name: string, scopes: string[], configuration?: Configuration) => Promise<void>;
|
|
46
|
+
/**
|
|
47
|
+
*
|
|
48
|
+
* @export
|
|
49
|
+
*/
|
|
25
50
|
export declare const setSearchParams: (url: URL, ...objects: any[]) => void;
|
|
51
|
+
/**
|
|
52
|
+
*
|
|
53
|
+
* @export
|
|
54
|
+
*/
|
|
26
55
|
export declare const serializeDataIfNeeded: (value: any, requestOptions: any, configuration?: Configuration) => any;
|
|
56
|
+
/**
|
|
57
|
+
*
|
|
58
|
+
* @export
|
|
59
|
+
*/
|
|
27
60
|
export declare const toPathString: (url: URL) => string;
|
|
61
|
+
/**
|
|
62
|
+
*
|
|
63
|
+
* @export
|
|
64
|
+
*/
|
|
28
65
|
export declare const createRequestFunction: (axiosArgs: RequestArgs, globalAxios: AxiosInstance, BASE_PATH: string, configuration?: Configuration) => <T = unknown, R = AxiosResponse<T>>(axios?: AxiosInstance, basePath?: string) => Promise<R>;
|
package/dist/common.js
CHANGED
|
@@ -62,10 +62,15 @@ var __generator = (this && this.__generator) || function (thisArg, body) {
|
|
|
62
62
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
63
63
|
exports.createRequestFunction = exports.toPathString = exports.serializeDataIfNeeded = exports.setSearchParams = exports.setOAuthToObject = exports.setBearerAuthToObject = exports.setBasicAuthToObject = exports.setApiKeyToObject = exports.assertParamExists = exports.DUMMY_BASE_URL = void 0;
|
|
64
64
|
var base_1 = require("./base");
|
|
65
|
+
/**
|
|
66
|
+
*
|
|
67
|
+
* @export
|
|
68
|
+
*/
|
|
65
69
|
exports.DUMMY_BASE_URL = 'https://example.com';
|
|
66
70
|
/**
|
|
67
71
|
*
|
|
68
72
|
* @throws {RequiredError}
|
|
73
|
+
* @export
|
|
69
74
|
*/
|
|
70
75
|
var assertParamExists = function (functionName, paramName, paramValue) {
|
|
71
76
|
if (paramValue === null || paramValue === undefined) {
|
|
@@ -73,6 +78,10 @@ var assertParamExists = function (functionName, paramName, paramValue) {
|
|
|
73
78
|
}
|
|
74
79
|
};
|
|
75
80
|
exports.assertParamExists = assertParamExists;
|
|
81
|
+
/**
|
|
82
|
+
*
|
|
83
|
+
* @export
|
|
84
|
+
*/
|
|
76
85
|
var setApiKeyToObject = function (object, keyParamName, configuration) {
|
|
77
86
|
return __awaiter(this, void 0, void 0, function () {
|
|
78
87
|
var localVarApiKeyValue, _a;
|
|
@@ -99,12 +108,20 @@ var setApiKeyToObject = function (object, keyParamName, configuration) {
|
|
|
99
108
|
});
|
|
100
109
|
};
|
|
101
110
|
exports.setApiKeyToObject = setApiKeyToObject;
|
|
111
|
+
/**
|
|
112
|
+
*
|
|
113
|
+
* @export
|
|
114
|
+
*/
|
|
102
115
|
var setBasicAuthToObject = function (object, configuration) {
|
|
103
116
|
if (configuration && (configuration.username || configuration.password)) {
|
|
104
117
|
object["auth"] = { username: configuration.username, password: configuration.password };
|
|
105
118
|
}
|
|
106
119
|
};
|
|
107
120
|
exports.setBasicAuthToObject = setBasicAuthToObject;
|
|
121
|
+
/**
|
|
122
|
+
*
|
|
123
|
+
* @export
|
|
124
|
+
*/
|
|
108
125
|
var setBearerAuthToObject = function (object, configuration) {
|
|
109
126
|
return __awaiter(this, void 0, void 0, function () {
|
|
110
127
|
var accessToken, _a;
|
|
@@ -131,6 +148,10 @@ var setBearerAuthToObject = function (object, configuration) {
|
|
|
131
148
|
});
|
|
132
149
|
};
|
|
133
150
|
exports.setBearerAuthToObject = setBearerAuthToObject;
|
|
151
|
+
/**
|
|
152
|
+
*
|
|
153
|
+
* @export
|
|
154
|
+
*/
|
|
134
155
|
var setOAuthToObject = function (object, name, scopes, configuration) {
|
|
135
156
|
return __awaiter(this, void 0, void 0, function () {
|
|
136
157
|
var localVarAccessTokenValue, _a;
|
|
@@ -180,6 +201,10 @@ function setFlattenedQueryParams(urlSearchParams, parameter, key) {
|
|
|
180
201
|
}
|
|
181
202
|
}
|
|
182
203
|
}
|
|
204
|
+
/**
|
|
205
|
+
*
|
|
206
|
+
* @export
|
|
207
|
+
*/
|
|
183
208
|
var setSearchParams = function (url) {
|
|
184
209
|
var objects = [];
|
|
185
210
|
for (var _i = 1; _i < arguments.length; _i++) {
|
|
@@ -190,6 +215,10 @@ var setSearchParams = function (url) {
|
|
|
190
215
|
url.search = searchParams.toString();
|
|
191
216
|
};
|
|
192
217
|
exports.setSearchParams = setSearchParams;
|
|
218
|
+
/**
|
|
219
|
+
*
|
|
220
|
+
* @export
|
|
221
|
+
*/
|
|
193
222
|
var serializeDataIfNeeded = function (value, requestOptions, configuration) {
|
|
194
223
|
var nonString = typeof value !== 'string';
|
|
195
224
|
var needsSerialization = nonString && configuration && configuration.isJsonMime
|
|
@@ -200,10 +229,18 @@ var serializeDataIfNeeded = function (value, requestOptions, configuration) {
|
|
|
200
229
|
: (value || "");
|
|
201
230
|
};
|
|
202
231
|
exports.serializeDataIfNeeded = serializeDataIfNeeded;
|
|
232
|
+
/**
|
|
233
|
+
*
|
|
234
|
+
* @export
|
|
235
|
+
*/
|
|
203
236
|
var toPathString = function (url) {
|
|
204
237
|
return url.pathname + url.search + url.hash;
|
|
205
238
|
};
|
|
206
239
|
exports.toPathString = toPathString;
|
|
240
|
+
/**
|
|
241
|
+
*
|
|
242
|
+
* @export
|
|
243
|
+
*/
|
|
207
244
|
var createRequestFunction = function (axiosArgs, globalAxios, BASE_PATH, configuration) {
|
|
208
245
|
return function (axios, basePath) {
|
|
209
246
|
var _a;
|
package/dist/configuration.d.ts
CHANGED
|
@@ -9,23 +9,11 @@
|
|
|
9
9
|
* https://openapi-generator.tech
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
|
-
interface AWSv4Configuration {
|
|
13
|
-
options?: {
|
|
14
|
-
region?: string;
|
|
15
|
-
service?: string;
|
|
16
|
-
};
|
|
17
|
-
credentials?: {
|
|
18
|
-
accessKeyId?: string;
|
|
19
|
-
secretAccessKey?: string;
|
|
20
|
-
sessionToken?: string;
|
|
21
|
-
};
|
|
22
|
-
}
|
|
23
12
|
export interface ConfigurationParameters {
|
|
24
13
|
apiKey?: string | Promise<string> | ((name: string) => string) | ((name: string) => Promise<string>);
|
|
25
14
|
username?: string;
|
|
26
15
|
password?: string;
|
|
27
16
|
accessToken?: string | Promise<string> | ((name?: string, scopes?: string[]) => string) | ((name?: string, scopes?: string[]) => Promise<string>);
|
|
28
|
-
awsv4?: AWSv4Configuration;
|
|
29
17
|
basePath?: string;
|
|
30
18
|
serverIndex?: number;
|
|
31
19
|
baseOptions?: any;
|
|
@@ -35,43 +23,49 @@ export declare class Configuration {
|
|
|
35
23
|
/**
|
|
36
24
|
* parameter for apiKey security
|
|
37
25
|
* @param name security name
|
|
26
|
+
* @memberof Configuration
|
|
38
27
|
*/
|
|
39
28
|
apiKey?: string | Promise<string> | ((name: string) => string) | ((name: string) => Promise<string>);
|
|
40
29
|
/**
|
|
41
30
|
* parameter for basic security
|
|
31
|
+
*
|
|
32
|
+
* @type {string}
|
|
33
|
+
* @memberof Configuration
|
|
42
34
|
*/
|
|
43
35
|
username?: string;
|
|
44
36
|
/**
|
|
45
37
|
* parameter for basic security
|
|
38
|
+
*
|
|
39
|
+
* @type {string}
|
|
40
|
+
* @memberof Configuration
|
|
46
41
|
*/
|
|
47
42
|
password?: string;
|
|
48
43
|
/**
|
|
49
44
|
* parameter for oauth2 security
|
|
50
45
|
* @param name security name
|
|
51
46
|
* @param scopes oauth2 scope
|
|
52
|
-
*/
|
|
53
|
-
accessToken?: string | Promise<string> | ((name?: string, scopes?: string[]) => string) | ((name?: string, scopes?: string[]) => Promise<string>);
|
|
54
|
-
/**
|
|
55
|
-
* parameter for aws4 signature security
|
|
56
|
-
* @param {Object} AWS4Signature - AWS4 Signature security
|
|
57
|
-
* @param {string} options.region - aws region
|
|
58
|
-
* @param {string} options.service - name of the service.
|
|
59
|
-
* @param {string} credentials.accessKeyId - aws access key id
|
|
60
|
-
* @param {string} credentials.secretAccessKey - aws access key
|
|
61
|
-
* @param {string} credentials.sessionToken - aws session token
|
|
62
47
|
* @memberof Configuration
|
|
63
48
|
*/
|
|
64
|
-
|
|
49
|
+
accessToken?: string | Promise<string> | ((name?: string, scopes?: string[]) => string) | ((name?: string, scopes?: string[]) => Promise<string>);
|
|
65
50
|
/**
|
|
66
51
|
* override base path
|
|
52
|
+
*
|
|
53
|
+
* @type {string}
|
|
54
|
+
* @memberof Configuration
|
|
67
55
|
*/
|
|
68
56
|
basePath?: string;
|
|
69
57
|
/**
|
|
70
58
|
* override server index
|
|
59
|
+
*
|
|
60
|
+
* @type {number}
|
|
61
|
+
* @memberof Configuration
|
|
71
62
|
*/
|
|
72
63
|
serverIndex?: number;
|
|
73
64
|
/**
|
|
74
65
|
* base options for axios calls
|
|
66
|
+
*
|
|
67
|
+
* @type {any}
|
|
68
|
+
* @memberof Configuration
|
|
75
69
|
*/
|
|
76
70
|
baseOptions?: any;
|
|
77
71
|
/**
|
|
@@ -95,4 +89,3 @@ export declare class Configuration {
|
|
|
95
89
|
*/
|
|
96
90
|
isJsonMime(mime: string): boolean;
|
|
97
91
|
}
|
|
98
|
-
export {};
|
package/dist/configuration.js
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
3
4
|
/**
|
|
4
5
|
* Yellowgrid
|
|
5
6
|
* Welcome to the Yellowgrid API documentation. This API provides secure and comprehensive access to the Yellowgrid platform, enabling developers and integrators to manage accounts, contacts, SIP trunks, SMS messaging, 3CX integrations, and provisioning services. ## Key Features: - **Accounts**: View and manage account details, contacts, client credentials, and verification. - **Provisioning**: Automate setup and configuration of devices and groups. - **SIP Trunks**: Manage trunk creation, changes, DDIs, diverts, and configuration. - **Messaging**: Send SMS messages securely via the messaging gateway. - **3CX Integrations**: Automate licence handling, installation, and multi-tenant setup. ## Authentication: The API supports OAuth 2.0 for authentication and authorization. Ensure you use a valid bearer token for all authenticated endpoints. ## Base URL: `http://api.yellowgrid.local` For questions or technical support, please contact support@yellowgrid.co.uk.
|
|
@@ -32,7 +33,6 @@ var Configuration = /** @class */ (function () {
|
|
|
32
33
|
this.username = param.username;
|
|
33
34
|
this.password = param.password;
|
|
34
35
|
this.accessToken = param.accessToken;
|
|
35
|
-
this.awsv4 = param.awsv4;
|
|
36
36
|
this.basePath = param.basePath;
|
|
37
37
|
this.serverIndex = param.serverIndex;
|
|
38
38
|
this.baseOptions = __assign(__assign({}, param.baseOptions), { headers: __assign({}, (_a = param.baseOptions) === null || _a === void 0 ? void 0 : _a.headers) });
|
package/docs/ServicesApi.md
CHANGED
|
@@ -234,7 +234,7 @@ import {
|
|
|
234
234
|
const configuration = new Configuration();
|
|
235
235
|
const apiInstance = new ServicesApi(configuration);
|
|
236
236
|
|
|
237
|
-
let id:
|
|
237
|
+
let id: number; //Group ID (default to undefined)
|
|
238
238
|
let eventUpdateRequestDTO: EventUpdateRequestDTO; // (optional)
|
|
239
239
|
|
|
240
240
|
const { status, data } = await apiInstance.postCreateEventUpdate(
|
|
@@ -248,7 +248,7 @@ const { status, data } = await apiInstance.postCreateEventUpdate(
|
|
|
248
248
|
|Name | Type | Description | Notes|
|
|
249
249
|
|------------- | ------------- | ------------- | -------------|
|
|
250
250
|
| **eventUpdateRequestDTO** | **EventUpdateRequestDTO**| | |
|
|
251
|
-
| **id** | [**
|
|
251
|
+
| **id** | [**number**] | Group ID | defaults to undefined|
|
|
252
252
|
|
|
253
253
|
|
|
254
254
|
### Return type
|
package/openapitools.json
CHANGED
package/package.json
CHANGED
package/docs/IncidentDTO.md
DELETED
|
@@ -1,35 +0,0 @@
|
|
|
1
|
-
# IncidentDTO
|
|
2
|
-
|
|
3
|
-
Incident DTO
|
|
4
|
-
|
|
5
|
-
## Properties
|
|
6
|
-
|
|
7
|
-
Name | Type | Description | Notes
|
|
8
|
-
------------ | ------------- | ------------- | -------------
|
|
9
|
-
**title** | **string** | Incident Title | [optional] [default to undefined]
|
|
10
|
-
**severity** | **number** | Incident Severity | [optional] [default to undefined]
|
|
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]
|
|
14
|
-
**id** | **number** | Incident ID | [optional] [default to undefined]
|
|
15
|
-
**status** | **number** | Incident Status | [optional] [default to undefined]
|
|
16
|
-
**updates** | [**Array<IncidentUpdateDTO>**](IncidentUpdateDTO.md) | Incident Updates | [optional] [default to undefined]
|
|
17
|
-
|
|
18
|
-
## Example
|
|
19
|
-
|
|
20
|
-
```typescript
|
|
21
|
-
import { IncidentDTO } from 'yellowgrid-api-ts';
|
|
22
|
-
|
|
23
|
-
const instance: IncidentDTO = {
|
|
24
|
-
title,
|
|
25
|
-
severity,
|
|
26
|
-
service,
|
|
27
|
-
statusName,
|
|
28
|
-
severityName,
|
|
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)
|
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
# IncidentRequestDTO
|
|
2
|
-
|
|
3
|
-
Incident Request DTO
|
|
4
|
-
|
|
5
|
-
## Properties
|
|
6
|
-
|
|
7
|
-
Name | Type | Description | Notes
|
|
8
|
-
------------ | ------------- | ------------- | -------------
|
|
9
|
-
**title** | **string** | Incident Title | [optional] [default to undefined]
|
|
10
|
-
**severity** | **number** | Incident Severity | [optional] [default to undefined]
|
|
11
|
-
**service** | **number** | Service Impacted | [optional] [default to undefined]
|
|
12
|
-
|
|
13
|
-
## Example
|
|
14
|
-
|
|
15
|
-
```typescript
|
|
16
|
-
import { IncidentRequestDTO } from 'yellowgrid-api-ts';
|
|
17
|
-
|
|
18
|
-
const instance: IncidentRequestDTO = {
|
|
19
|
-
title,
|
|
20
|
-
severity,
|
|
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)
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
# IncidentSubscriptionModel
|
|
2
|
-
|
|
3
|
-
Incident 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 { IncidentSubscriptionModel } from 'yellowgrid-api-ts';
|
|
16
|
-
|
|
17
|
-
const instance: IncidentSubscriptionModel = {
|
|
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)
|
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
# IncidentUpdateDTO
|
|
2
|
-
|
|
3
|
-
Incident Update DTO
|
|
4
|
-
|
|
5
|
-
## Properties
|
|
6
|
-
|
|
7
|
-
Name | Type | Description | Notes
|
|
8
|
-
------------ | ------------- | ------------- | -------------
|
|
9
|
-
**message** | **string** | Incident Update Message | [optional] [default to undefined]
|
|
10
|
-
**type** | **number** | Incident Update Type | [optional] [default to undefined]
|
|
11
|
-
**typeName** | **string** | Incident Update Type Description | [optional] [default to undefined]
|
|
12
|
-
**createdAt** | **string** | Date Time | [optional] [default to undefined]
|
|
13
|
-
|
|
14
|
-
## Example
|
|
15
|
-
|
|
16
|
-
```typescript
|
|
17
|
-
import { IncidentUpdateDTO } from 'yellowgrid-api-ts';
|
|
18
|
-
|
|
19
|
-
const instance: IncidentUpdateDTO = {
|
|
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)
|
|
@@ -1,29 +0,0 @@
|
|
|
1
|
-
# IncidentUpdateEntity
|
|
2
|
-
|
|
3
|
-
IncidentUpdatesEntity
|
|
4
|
-
|
|
5
|
-
## Properties
|
|
6
|
-
|
|
7
|
-
Name | Type | Description | Notes
|
|
8
|
-
------------ | ------------- | ------------- | -------------
|
|
9
|
-
**id** | **number** | id | [optional] [default to undefined]
|
|
10
|
-
**incidentId** | **number** | incidentId | [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 { IncidentUpdateEntity } from 'yellowgrid-api-ts';
|
|
19
|
-
|
|
20
|
-
const instance: IncidentUpdateEntity = {
|
|
21
|
-
id,
|
|
22
|
-
incidentId,
|
|
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)
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
# IncidentUpdateRequestDTO
|
|
2
|
-
|
|
3
|
-
Incident Update Request DTO
|
|
4
|
-
|
|
5
|
-
## Properties
|
|
6
|
-
|
|
7
|
-
Name | Type | Description | Notes
|
|
8
|
-
------------ | ------------- | ------------- | -------------
|
|
9
|
-
**message** | **string** | Incident Update Message | [optional] [default to undefined]
|
|
10
|
-
**type** | **number** | Incident Update Type | [optional] [default to undefined]
|
|
11
|
-
|
|
12
|
-
## Example
|
|
13
|
-
|
|
14
|
-
```typescript
|
|
15
|
-
import { IncidentUpdateRequestDTO } from 'yellowgrid-api-ts';
|
|
16
|
-
|
|
17
|
-
const instance: IncidentUpdateRequestDTO = {
|
|
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)
|
package/docs/NumberPortDTO.md
DELETED
|
@@ -1,51 +0,0 @@
|
|
|
1
|
-
# NumberPortDTO
|
|
2
|
-
|
|
3
|
-
Number Port Response
|
|
4
|
-
|
|
5
|
-
## Properties
|
|
6
|
-
|
|
7
|
-
Name | Type | Description | Notes
|
|
8
|
-
------------ | ------------- | ------------- | -------------
|
|
9
|
-
**companyName** | **string** | Company Name | [optional] [default to undefined]
|
|
10
|
-
**addressLine1** | **string** | Address Line 1 | [optional] [default to undefined]
|
|
11
|
-
**addressLine2** | **string** | Address Line 2 | [optional] [default to undefined]
|
|
12
|
-
**city** | **string** | City | [optional] [default to undefined]
|
|
13
|
-
**postCode** | **string** | Post Code | [optional] [default to undefined]
|
|
14
|
-
**trunkId** | **number** | Trunk ID | [optional] [default to undefined]
|
|
15
|
-
**tenantId** | **string** | Starter Bundle ID | [optional] [default to undefined]
|
|
16
|
-
**requestedPortDate** | **string** | Requested Port Date | [optional] [default to undefined]
|
|
17
|
-
**asap** | **boolean** | Port Date ASAP | [optional] [default to undefined]
|
|
18
|
-
**comment** | **string** | Comment | [optional] [default to undefined]
|
|
19
|
-
**id** | **number** | Number Port ID | [optional] [default to undefined]
|
|
20
|
-
**customerName** | **string** | Customer Name | [optional] [default to undefined]
|
|
21
|
-
**portDate** | **string** | Porting Date | [optional] [default to undefined]
|
|
22
|
-
**numberRanges** | [**Array<NumberPortRangeDTO>**](NumberPortRangeDTO.md) | Number Ranges | [optional] [default to undefined]
|
|
23
|
-
**status** | **number** | Status | [optional] [default to undefined]
|
|
24
|
-
**ticketId** | **number** | Ticket ID | [optional] [default to undefined]
|
|
25
|
-
|
|
26
|
-
## Example
|
|
27
|
-
|
|
28
|
-
```typescript
|
|
29
|
-
import { NumberPortDTO } from 'yellowgrid-api-ts';
|
|
30
|
-
|
|
31
|
-
const instance: NumberPortDTO = {
|
|
32
|
-
companyName,
|
|
33
|
-
addressLine1,
|
|
34
|
-
addressLine2,
|
|
35
|
-
city,
|
|
36
|
-
postCode,
|
|
37
|
-
trunkId,
|
|
38
|
-
tenantId,
|
|
39
|
-
requestedPortDate,
|
|
40
|
-
asap,
|
|
41
|
-
comment,
|
|
42
|
-
id,
|
|
43
|
-
customerName,
|
|
44
|
-
portDate,
|
|
45
|
-
numberRanges,
|
|
46
|
-
status,
|
|
47
|
-
ticketId,
|
|
48
|
-
};
|
|
49
|
-
```
|
|
50
|
-
|
|
51
|
-
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
|
package/docs/NumberPortEntity.md
DELETED
|
@@ -1,47 +0,0 @@
|
|
|
1
|
-
# NumberPortEntity
|
|
2
|
-
|
|
3
|
-
NumberPortsEntity
|
|
4
|
-
|
|
5
|
-
## Properties
|
|
6
|
-
|
|
7
|
-
Name | Type | Description | Notes
|
|
8
|
-
------------ | ------------- | ------------- | -------------
|
|
9
|
-
**id** | **number** | Number Port ID | [optional] [default to undefined]
|
|
10
|
-
**customerId** | **number** | Customer ID | [optional] [default to undefined]
|
|
11
|
-
**endUser** | **string** | End User | [optional] [default to undefined]
|
|
12
|
-
**addressLine1** | **string** | Address Line 1 | [optional] [default to undefined]
|
|
13
|
-
**addressLine2** | **string** | Address Line 2 | [optional] [default to undefined]
|
|
14
|
-
**city** | **string** | City | [optional] [default to undefined]
|
|
15
|
-
**postCode** | **string** | Post Code | [optional] [default to undefined]
|
|
16
|
-
**trunkId** | **string** | Trunk ID | [optional] [default to undefined]
|
|
17
|
-
**tenantId** | **string** | Tenant ID | [optional] [default to undefined]
|
|
18
|
-
**requestedPortDate** | **string** | Requested Port Date | [optional] [default to undefined]
|
|
19
|
-
**portDate** | **string** | Port Date | [optional] [default to undefined]
|
|
20
|
-
**comment** | **string** | Comment | [optional] [default to undefined]
|
|
21
|
-
**status** | **number** | Status | [optional] [default to undefined]
|
|
22
|
-
**ticketId** | **number** | Ticket ID | [optional] [default to undefined]
|
|
23
|
-
|
|
24
|
-
## Example
|
|
25
|
-
|
|
26
|
-
```typescript
|
|
27
|
-
import { NumberPortEntity } from 'yellowgrid-api-ts';
|
|
28
|
-
|
|
29
|
-
const instance: NumberPortEntity = {
|
|
30
|
-
id,
|
|
31
|
-
customerId,
|
|
32
|
-
endUser,
|
|
33
|
-
addressLine1,
|
|
34
|
-
addressLine2,
|
|
35
|
-
city,
|
|
36
|
-
postCode,
|
|
37
|
-
trunkId,
|
|
38
|
-
tenantId,
|
|
39
|
-
requestedPortDate,
|
|
40
|
-
portDate,
|
|
41
|
-
comment,
|
|
42
|
-
status,
|
|
43
|
-
ticketId,
|
|
44
|
-
};
|
|
45
|
-
```
|
|
46
|
-
|
|
47
|
-
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
|