@epam/ai-dial-chat-api-client 1.3.0-dev.274 → 1.3.0-dev.276
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/generated/src/apis/CelebrationsApi.d.ts +60 -0
- package/generated/src/apis/CelebrationsApi.d.ts.map +1 -0
- package/generated/src/apis/CelebrationsApi.js +107 -0
- package/generated/src/apis/index.d.ts +1 -0
- package/generated/src/apis/index.d.ts.map +1 -1
- package/generated/src/apis/index.js +1 -0
- package/generated/src/models/index.d.ts +532 -0
- package/generated/src/models/index.d.ts.map +1 -1
- package/generated/src/models/index.js +74 -2
- package/package.json +2 -2
- package/tsconfig.lib.tsbuildinfo +1 -1
|
@@ -0,0 +1,60 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Chat API
|
|
3
|
+
* REST API for the chat application. Provides endpoints for theme configuration, authentication, and management. All endpoints return appropriate HTTP status codes (200, 400, 401, 403, 404, 502, 503) with descriptive error messages.
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 1.0.0
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
import * as runtime from '../runtime';
|
|
13
|
+
import type { CelebrationCatalogDto, CelebrationPackDto } from '../models/index';
|
|
14
|
+
export interface GetCelebrationAssetRequest {
|
|
15
|
+
assetId: string;
|
|
16
|
+
}
|
|
17
|
+
export interface GetCelebrationPackRequest {
|
|
18
|
+
packId: string;
|
|
19
|
+
version: string;
|
|
20
|
+
}
|
|
21
|
+
/**
|
|
22
|
+
*
|
|
23
|
+
*/
|
|
24
|
+
export declare class CelebrationsApi extends runtime.BaseAPI {
|
|
25
|
+
/**
|
|
26
|
+
* Returns the verified bytes of an asset that a manifest of the current celebration index declares, with its registered Content-Type. JSON and SVG are compressed when the client accepts br or gzip.
|
|
27
|
+
* Get a celebration asset
|
|
28
|
+
*/
|
|
29
|
+
getCelebrationAssetRaw(requestParameters: GetCelebrationAssetRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<{
|
|
30
|
+
[key: string]: unknown;
|
|
31
|
+
}>>;
|
|
32
|
+
/**
|
|
33
|
+
* Returns the verified bytes of an asset that a manifest of the current celebration index declares, with its registered Content-Type. JSON and SVG are compressed when the client accepts br or gzip.
|
|
34
|
+
* Get a celebration asset
|
|
35
|
+
*/
|
|
36
|
+
getCelebrationAsset(requestParameters: GetCelebrationAssetRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<{
|
|
37
|
+
[key: string]: unknown;
|
|
38
|
+
}>;
|
|
39
|
+
/**
|
|
40
|
+
* Returns the validated celebration index: every published pack version and the default pack per event. Cached for 60 seconds, with an ETag; manifest paths and hashes are never exposed.
|
|
41
|
+
* Get the celebration catalog
|
|
42
|
+
*/
|
|
43
|
+
getCelebrationCatalogRaw(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<CelebrationCatalogDto>>;
|
|
44
|
+
/**
|
|
45
|
+
* Returns the validated celebration index: every published pack version and the default pack per event. Cached for 60 seconds, with an ETag; manifest paths and hashes are never exposed.
|
|
46
|
+
* Get the celebration catalog
|
|
47
|
+
*/
|
|
48
|
+
getCelebrationCatalog(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<CelebrationCatalogDto>;
|
|
49
|
+
/**
|
|
50
|
+
* Returns one validated pack version that the current celebration index lists. A version is immutable, so the response may be cached for a year.
|
|
51
|
+
* Get a celebration pack
|
|
52
|
+
*/
|
|
53
|
+
getCelebrationPackRaw(requestParameters: GetCelebrationPackRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<CelebrationPackDto>>;
|
|
54
|
+
/**
|
|
55
|
+
* Returns one validated pack version that the current celebration index lists. A version is immutable, so the response may be cached for a year.
|
|
56
|
+
* Get a celebration pack
|
|
57
|
+
*/
|
|
58
|
+
getCelebrationPack(requestParameters: GetCelebrationPackRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<CelebrationPackDto>;
|
|
59
|
+
}
|
|
60
|
+
//# sourceMappingURL=CelebrationsApi.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"CelebrationsApi.d.ts","sourceRoot":"","sources":["../../../../src/generated/src/apis/CelebrationsApi.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAEH,OAAO,KAAK,OAAO,MAAM,YAAY,CAAC;AACtC,OAAO,KAAK,EACV,qBAAqB,EACrB,kBAAkB,EACnB,MAAM,iBAAiB,CAAC;AAEzB,MAAM,WAAW,0BAA0B;IACzC,OAAO,EAAE,MAAM,CAAC;CACjB;AAED,MAAM,WAAW,yBAAyB;IACxC,MAAM,EAAE,MAAM,CAAC;IACf,OAAO,EAAE,MAAM,CAAC;CACjB;AAED;;GAEG;AACH,qBAAa,eAAgB,SAAQ,OAAO,CAAC,OAAO;IAClD;;;OAGG;IACG,sBAAsB,CAC1B,iBAAiB,EAAE,0BAA0B,EAC7C,aAAa,CAAC,EAAE,WAAW,GAAG,OAAO,CAAC,oBAAoB,GACzD,OAAO,CAAC,OAAO,CAAC,WAAW,CAAC;QAAE,CAAC,GAAG,EAAE,MAAM,GAAG,OAAO,CAAA;KAAE,CAAC,CAAC;IA+B3D;;;OAGG;IACG,mBAAmB,CACvB,iBAAiB,EAAE,0BAA0B,EAC7C,aAAa,CAAC,EAAE,WAAW,GAAG,OAAO,CAAC,oBAAoB,GACzD,OAAO,CAAC;QAAE,CAAC,GAAG,EAAE,MAAM,GAAG,OAAO,CAAA;KAAE,CAAC;IAQtC;;;OAGG;IACG,wBAAwB,CAC5B,aAAa,CAAC,EAAE,WAAW,GAAG,OAAO,CAAC,oBAAoB,GACzD,OAAO,CAAC,OAAO,CAAC,WAAW,CAAC,qBAAqB,CAAC,CAAC;IAoBtD;;;OAGG;IACG,qBAAqB,CACzB,aAAa,CAAC,EAAE,WAAW,GAAG,OAAO,CAAC,oBAAoB,GACzD,OAAO,CAAC,qBAAqB,CAAC;IAKjC;;;OAGG;IACG,qBAAqB,CACzB,iBAAiB,EAAE,yBAAyB,EAC5C,aAAa,CAAC,EAAE,WAAW,GAAG,OAAO,CAAC,oBAAoB,GACzD,OAAO,CAAC,OAAO,CAAC,WAAW,CAAC,kBAAkB,CAAC,CAAC;IA0CnD;;;OAGG;IACG,kBAAkB,CACtB,iBAAiB,EAAE,yBAAyB,EAC5C,aAAa,CAAC,EAAE,WAAW,GAAG,OAAO,CAAC,oBAAoB,GACzD,OAAO,CAAC,kBAAkB,CAAC;CAO/B"}
|
|
@@ -0,0 +1,107 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* Chat API
|
|
6
|
+
* REST API for the chat application. Provides endpoints for theme configuration, authentication, and management. All endpoints return appropriate HTTP status codes (200, 400, 401, 403, 404, 502, 503) with descriptive error messages.
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: 1.0.0
|
|
9
|
+
*
|
|
10
|
+
*
|
|
11
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
+
* https://openapi-generator.tech
|
|
13
|
+
* Do not edit the class manually.
|
|
14
|
+
*/
|
|
15
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
+
exports.CelebrationsApi = void 0;
|
|
17
|
+
const runtime = require("../runtime");
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
*/
|
|
21
|
+
class CelebrationsApi extends runtime.BaseAPI {
|
|
22
|
+
/**
|
|
23
|
+
* Returns the verified bytes of an asset that a manifest of the current celebration index declares, with its registered Content-Type. JSON and SVG are compressed when the client accepts br or gzip.
|
|
24
|
+
* Get a celebration asset
|
|
25
|
+
*/
|
|
26
|
+
async getCelebrationAssetRaw(requestParameters, initOverrides) {
|
|
27
|
+
if (requestParameters['assetId'] == null) {
|
|
28
|
+
throw new runtime.RequiredError('assetId', 'Required parameter "assetId" was null or undefined when calling getCelebrationAsset().');
|
|
29
|
+
}
|
|
30
|
+
const queryParameters = {};
|
|
31
|
+
const headerParameters = {};
|
|
32
|
+
let urlPath = `/api/v1/celebrations/assets/{assetId}`;
|
|
33
|
+
urlPath = urlPath.replace(`{${'assetId'}}`, encodeURIComponent(String(requestParameters['assetId'])));
|
|
34
|
+
const response = await this.request({
|
|
35
|
+
path: urlPath,
|
|
36
|
+
method: 'GET',
|
|
37
|
+
headers: headerParameters,
|
|
38
|
+
query: queryParameters,
|
|
39
|
+
}, initOverrides);
|
|
40
|
+
return new runtime.JSONApiResponse(response);
|
|
41
|
+
}
|
|
42
|
+
/**
|
|
43
|
+
* Returns the verified bytes of an asset that a manifest of the current celebration index declares, with its registered Content-Type. JSON and SVG are compressed when the client accepts br or gzip.
|
|
44
|
+
* Get a celebration asset
|
|
45
|
+
*/
|
|
46
|
+
async getCelebrationAsset(requestParameters, initOverrides) {
|
|
47
|
+
const response = await this.getCelebrationAssetRaw(requestParameters, initOverrides);
|
|
48
|
+
return await response.value();
|
|
49
|
+
}
|
|
50
|
+
/**
|
|
51
|
+
* Returns the validated celebration index: every published pack version and the default pack per event. Cached for 60 seconds, with an ETag; manifest paths and hashes are never exposed.
|
|
52
|
+
* Get the celebration catalog
|
|
53
|
+
*/
|
|
54
|
+
async getCelebrationCatalogRaw(initOverrides) {
|
|
55
|
+
const queryParameters = {};
|
|
56
|
+
const headerParameters = {};
|
|
57
|
+
let urlPath = `/api/v1/celebrations`;
|
|
58
|
+
const response = await this.request({
|
|
59
|
+
path: urlPath,
|
|
60
|
+
method: 'GET',
|
|
61
|
+
headers: headerParameters,
|
|
62
|
+
query: queryParameters,
|
|
63
|
+
}, initOverrides);
|
|
64
|
+
return new runtime.JSONApiResponse(response);
|
|
65
|
+
}
|
|
66
|
+
/**
|
|
67
|
+
* Returns the validated celebration index: every published pack version and the default pack per event. Cached for 60 seconds, with an ETag; manifest paths and hashes are never exposed.
|
|
68
|
+
* Get the celebration catalog
|
|
69
|
+
*/
|
|
70
|
+
async getCelebrationCatalog(initOverrides) {
|
|
71
|
+
const response = await this.getCelebrationCatalogRaw(initOverrides);
|
|
72
|
+
return await response.value();
|
|
73
|
+
}
|
|
74
|
+
/**
|
|
75
|
+
* Returns one validated pack version that the current celebration index lists. A version is immutable, so the response may be cached for a year.
|
|
76
|
+
* Get a celebration pack
|
|
77
|
+
*/
|
|
78
|
+
async getCelebrationPackRaw(requestParameters, initOverrides) {
|
|
79
|
+
if (requestParameters['packId'] == null) {
|
|
80
|
+
throw new runtime.RequiredError('packId', 'Required parameter "packId" was null or undefined when calling getCelebrationPack().');
|
|
81
|
+
}
|
|
82
|
+
if (requestParameters['version'] == null) {
|
|
83
|
+
throw new runtime.RequiredError('version', 'Required parameter "version" was null or undefined when calling getCelebrationPack().');
|
|
84
|
+
}
|
|
85
|
+
const queryParameters = {};
|
|
86
|
+
const headerParameters = {};
|
|
87
|
+
let urlPath = `/api/v1/celebrations/packs/{packId}/{version}`;
|
|
88
|
+
urlPath = urlPath.replace(`{${'packId'}}`, encodeURIComponent(String(requestParameters['packId'])));
|
|
89
|
+
urlPath = urlPath.replace(`{${'version'}}`, encodeURIComponent(String(requestParameters['version'])));
|
|
90
|
+
const response = await this.request({
|
|
91
|
+
path: urlPath,
|
|
92
|
+
method: 'GET',
|
|
93
|
+
headers: headerParameters,
|
|
94
|
+
query: queryParameters,
|
|
95
|
+
}, initOverrides);
|
|
96
|
+
return new runtime.JSONApiResponse(response);
|
|
97
|
+
}
|
|
98
|
+
/**
|
|
99
|
+
* Returns one validated pack version that the current celebration index lists. A version is immutable, so the response may be cached for a year.
|
|
100
|
+
* Get a celebration pack
|
|
101
|
+
*/
|
|
102
|
+
async getCelebrationPack(requestParameters, initOverrides) {
|
|
103
|
+
const response = await this.getCelebrationPackRaw(requestParameters, initOverrides);
|
|
104
|
+
return await response.value();
|
|
105
|
+
}
|
|
106
|
+
}
|
|
107
|
+
exports.CelebrationsApi = CelebrationsApi;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/generated/src/apis/index.ts"],"names":[],"mappings":"AAEA,cAAc,gBAAgB,CAAC;AAC/B,cAAc,mBAAmB,CAAC;AAClC,cAAc,WAAW,CAAC;AAC1B,cAAc,WAAW,CAAC;AAC1B,cAAc,oBAAoB,CAAC;AACnC,cAAc,oBAAoB,CAAC;AACnC,cAAc,gBAAgB,CAAC;AAC/B,cAAc,kBAAkB,CAAC;AACjC,cAAc,uBAAuB,CAAC;AACtC,cAAc,YAAY,CAAC;AAC3B,cAAc,aAAa,CAAC;AAC5B,cAAc,aAAa,CAAC;AAC5B,cAAc,yBAAyB,CAAC;AACxC,cAAc,eAAe,CAAC;AAC9B,cAAc,cAAc,CAAC;AAC7B,cAAc,cAAc,CAAC;AAC7B,cAAc,WAAW,CAAC;AAC1B,cAAc,qBAAqB,CAAC;AACpC,cAAc,YAAY,CAAC;AAC3B,cAAc,aAAa,CAAC;AAC5B,cAAc,qBAAqB,CAAC;AACpC,cAAc,aAAa,CAAC;AAC5B,cAAc,eAAe,CAAC;AAC9B,cAAc,oBAAoB,CAAC;AACnC,cAAc,WAAW,CAAC;AAC1B,cAAc,iBAAiB,CAAC"}
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/generated/src/apis/index.ts"],"names":[],"mappings":"AAEA,cAAc,gBAAgB,CAAC;AAC/B,cAAc,mBAAmB,CAAC;AAClC,cAAc,WAAW,CAAC;AAC1B,cAAc,mBAAmB,CAAC;AAClC,cAAc,WAAW,CAAC;AAC1B,cAAc,oBAAoB,CAAC;AACnC,cAAc,oBAAoB,CAAC;AACnC,cAAc,gBAAgB,CAAC;AAC/B,cAAc,kBAAkB,CAAC;AACjC,cAAc,uBAAuB,CAAC;AACtC,cAAc,YAAY,CAAC;AAC3B,cAAc,aAAa,CAAC;AAC5B,cAAc,aAAa,CAAC;AAC5B,cAAc,yBAAyB,CAAC;AACxC,cAAc,eAAe,CAAC;AAC9B,cAAc,cAAc,CAAC;AAC7B,cAAc,cAAc,CAAC;AAC7B,cAAc,WAAW,CAAC;AAC1B,cAAc,qBAAqB,CAAC;AACpC,cAAc,YAAY,CAAC;AAC3B,cAAc,aAAa,CAAC;AAC5B,cAAc,qBAAqB,CAAC;AACpC,cAAc,aAAa,CAAC;AAC5B,cAAc,eAAe,CAAC;AAC9B,cAAc,oBAAoB,CAAC;AACnC,cAAc,WAAW,CAAC;AAC1B,cAAc,iBAAiB,CAAC"}
|
|
@@ -6,6 +6,7 @@ const tslib_1 = require("tslib");
|
|
|
6
6
|
tslib_1.__exportStar(require("./AppConfigApi"), exports);
|
|
7
7
|
tslib_1.__exportStar(require("./ApplicationsApi"), exports);
|
|
8
8
|
tslib_1.__exportStar(require("./AuthApi"), exports);
|
|
9
|
+
tslib_1.__exportStar(require("./CelebrationsApi"), exports);
|
|
9
10
|
tslib_1.__exportStar(require("./ChatApi"), exports);
|
|
10
11
|
tslib_1.__exportStar(require("./ClientChannelApi"), exports);
|
|
11
12
|
tslib_1.__exportStar(require("./ConversationsApi"), exports);
|