@remkoj/optimizely-graph-client 1.0.3 → 2.0.0-pre1
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/admin-api/client/OptimizelyGraphAdminApi.js +1 -1
- package/dist/admin-api/client/core/OpenAPI.js +1 -1
- package/dist/admin-api/client/index.d.ts +1 -0
- package/dist/admin-api/client/index.js +1 -0
- package/dist/admin-api/client/index.js.map +1 -1
- package/dist/admin-api/client/models/DeleteMode.d.ts +5 -0
- package/dist/admin-api/client/models/DeleteMode.js +11 -0
- package/dist/admin-api/client/models/DeleteMode.js.map +1 -0
- package/dist/admin-api/client/models/PropertyType_V3.d.ts +2 -0
- package/dist/admin-api/client/services/DefinitionV3Service.d.ts +25 -11
- package/dist/admin-api/client/services/DefinitionV3Service.js +25 -12
- package/dist/admin-api/client/services/DefinitionV3Service.js.map +1 -1
- package/dist/admin-api/client/services/LogsService.d.ts +1 -1
- package/dist/admin-api/client/services/LogsService.js +1 -1
- package/dist/admin-api/client/services/ResourcesService.d.ts +20 -2
- package/dist/admin-api/client/services/ResourcesService.js +40 -2
- package/dist/admin-api/client/services/ResourcesService.js.map +1 -1
- package/dist/admin-api/client/services/WebhooksService.d.ts +10 -8
- package/dist/admin-api/client/services/WebhooksService.js +10 -8
- package/dist/admin-api/client/services/WebhooksService.js.map +1 -1
- package/dist/admin-api/index.d.ts +37 -2
- package/dist/admin-api/index.js +69 -14
- package/dist/admin-api/index.js.map +1 -1
- package/dist/admin-api/request/OptiHttpRequest.d.ts +18 -0
- package/dist/admin-api/request/OptiHttpRequest.js +27 -0
- package/dist/admin-api/request/OptiHttpRequest.js.map +1 -0
- package/dist/admin-api/request/index.d.ts +2 -0
- package/dist/admin-api/request/index.js +3 -0
- package/dist/admin-api/request/index.js.map +1 -0
- package/dist/admin-api/request/request.d.ts +14 -0
- package/dist/admin-api/request/request.js +70 -0
- package/dist/admin-api/request/request.js.map +1 -0
- package/dist/admin-api/types.d.ts +12 -0
- package/dist/admin-api/types.js +2 -0
- package/dist/admin-api/types.js.map +1 -0
- package/dist/client/client.d.ts +1 -1
- package/dist/client/client.js +4 -2
- package/dist/client/client.js.map +1 -1
- package/dist/client/index.d.ts +1 -1
- package/dist/client/index.js +1 -1
- package/dist/client/index.js.map +1 -1
- package/dist/client/types.d.ts +21 -0
- package/dist/{client/hmac-fetch.js → hmac-fetch.js} +3 -3
- package/dist/hmac-fetch.js.map +1 -0
- package/dist/services/channel-repository/definition.d.ts +7 -1
- package/dist/services/channel-repository/definition.js +14 -0
- package/dist/services/channel-repository/definition.js.map +1 -1
- package/dist/services/channel-repository/repository.js +3 -3
- package/dist/services/channel-repository/repository.js.map +1 -1
- package/dist/services/channel-repository/types.d.ts +9 -5
- package/dist/services/index.d.ts +5 -3
- package/dist/services/index.js +2 -1
- package/dist/services/index.js.map +1 -1
- package/dist/services/routing/index.d.ts +4 -83
- package/dist/services/routing/index.js +2 -242
- package/dist/services/routing/index.js.map +1 -1
- package/dist/services/routing/queries/getAllRoutes.d.ts +28 -0
- package/dist/services/routing/queries/getAllRoutes.js +31 -0
- package/dist/services/routing/queries/getAllRoutes.js.map +1 -0
- package/dist/services/routing/queries/getRouteById.d.ts +13 -0
- package/dist/services/routing/queries/getRouteById.js +24 -0
- package/dist/services/routing/queries/getRouteById.js.map +1 -0
- package/dist/services/routing/queries/getRouteByPath.d.ts +12 -0
- package/dist/services/routing/queries/getRouteByPath.js +30 -0
- package/dist/services/routing/queries/getRouteByPath.js.map +1 -0
- package/dist/services/routing/resolver.d.ts +45 -0
- package/dist/services/routing/resolver.js +137 -0
- package/dist/services/routing/resolver.js.map +1 -0
- package/dist/services/routing/types.d.ts +3 -18
- package/dist/services/types.d.ts +14 -0
- package/dist/services/types.js +2 -0
- package/dist/services/types.js.map +1 -0
- package/dist/services/utils.d.ts +69 -0
- package/dist/services/utils.js +135 -0
- package/dist/services/utils.js.map +1 -0
- package/package.json +12 -7
- package/dist/admin-api/request.d.ts +0 -5
- package/dist/admin-api/request.js +0 -32
- package/dist/admin-api/request.js.map +0 -1
- package/dist/client/hmac-fetch.js.map +0 -1
- /package/dist/{client/hmac-fetch.d.ts → hmac-fetch.d.ts} +0 -0
|
@@ -10,7 +10,7 @@ export class OptimizelyGraphAdminApi {
|
|
|
10
10
|
constructor(config, HttpRequest = FetchHttpRequest) {
|
|
11
11
|
this.request = new HttpRequest({
|
|
12
12
|
BASE: config?.BASE ?? 'https://prod.cg.optimizely.com',
|
|
13
|
-
VERSION: config?.VERSION ?? '3.
|
|
13
|
+
VERSION: config?.VERSION ?? '3.7.2',
|
|
14
14
|
WITH_CREDENTIALS: config?.WITH_CREDENTIALS ?? false,
|
|
15
15
|
CREDENTIALS: config?.CREDENTIALS ?? 'include',
|
|
16
16
|
TOKEN: config?.TOKEN,
|
|
@@ -12,6 +12,7 @@ export type { ContentTypeDefinition_V3 } from './models/ContentTypeDefinition_V3
|
|
|
12
12
|
export type { ContentTypeMap_V3 } from './models/ContentTypeMap_V3.js';
|
|
13
13
|
export type { ContentTypeProperty_V2 } from './models/ContentTypeProperty_V2.js';
|
|
14
14
|
export type { ContentTypeProperty_V3 } from './models/ContentTypeProperty_V3.js';
|
|
15
|
+
export { DeleteMode } from './models/DeleteMode.js';
|
|
15
16
|
export type { FilterMap } from './models/FilterMap.js';
|
|
16
17
|
export type { GraphQLRequest } from './models/GraphQLRequest.js';
|
|
17
18
|
export type { GraphQLResponse } from './models/GraphQLResponse.js';
|
|
@@ -7,6 +7,7 @@ export { ApiError } from './core/ApiError.js';
|
|
|
7
7
|
export { BaseHttpRequest } from './core/BaseHttpRequest.js';
|
|
8
8
|
export { CancelablePromise, CancelError } from './core/CancelablePromise.js';
|
|
9
9
|
export { OpenAPI } from './core/OpenAPI.js';
|
|
10
|
+
export { DeleteMode } from './models/DeleteMode.js';
|
|
10
11
|
export { DefinitionV2Service } from './services/DefinitionV2Service.js';
|
|
11
12
|
export { DefinitionV3Service } from './services/DefinitionV3Service.js';
|
|
12
13
|
export { LogsService } from './services/LogsService.js';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/admin-api/client/index.ts"],"names":[],"mappings":"AAAA,+DAA+D;AAC/D,0BAA0B;AAC1B,oBAAoB;AACpB,oBAAoB;AACpB,OAAO,EAAE,uBAAuB,EAAE,MAAM,8BAA8B,CAAC;AAEvE,OAAO,EAAE,QAAQ,EAAE,MAAM,oBAAoB,CAAC;AAC9C,OAAO,EAAE,eAAe,EAAE,MAAM,2BAA2B,CAAC;AAC5D,OAAO,EAAE,iBAAiB,EAAE,WAAW,EAAE,MAAM,6BAA6B,CAAC;AAC7E,OAAO,EAAE,OAAO,EAAE,MAAM,mBAAmB,CAAC;
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/admin-api/client/index.ts"],"names":[],"mappings":"AAAA,+DAA+D;AAC/D,0BAA0B;AAC1B,oBAAoB;AACpB,oBAAoB;AACpB,OAAO,EAAE,uBAAuB,EAAE,MAAM,8BAA8B,CAAC;AAEvE,OAAO,EAAE,QAAQ,EAAE,MAAM,oBAAoB,CAAC;AAC9C,OAAO,EAAE,eAAe,EAAE,MAAM,2BAA2B,CAAC;AAC5D,OAAO,EAAE,iBAAiB,EAAE,WAAW,EAAE,MAAM,6BAA6B,CAAC;AAC7E,OAAO,EAAE,OAAO,EAAE,MAAM,mBAAmB,CAAC;AAW5C,OAAO,EAAE,UAAU,EAAE,MAAM,wBAAwB,CAAC;AA0BpD,OAAO,EAAE,mBAAmB,EAAE,MAAM,mCAAmC,CAAC;AACxE,OAAO,EAAE,mBAAmB,EAAE,MAAM,mCAAmC,CAAC;AACxE,OAAO,EAAE,WAAW,EAAE,MAAM,2BAA2B,CAAC;AACxD,OAAO,EAAE,WAAW,EAAE,MAAM,2BAA2B,CAAC;AACxD,OAAO,EAAE,mBAAmB,EAAE,MAAM,mCAAmC,CAAC;AACxE,OAAO,EAAE,gBAAgB,EAAE,MAAM,gCAAgC,CAAC;AAClE,OAAO,EAAE,eAAe,EAAE,MAAM,+BAA+B,CAAC"}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
/* generated using openapi-typescript-codegen -- do not edit */
|
|
2
|
+
/* istanbul ignore file */
|
|
3
|
+
/* tslint:disable */
|
|
4
|
+
/* eslint-disable */
|
|
5
|
+
export var DeleteMode;
|
|
6
|
+
(function (DeleteMode) {
|
|
7
|
+
DeleteMode["TYPES"] = "types";
|
|
8
|
+
DeleteMode["DATA"] = "data";
|
|
9
|
+
DeleteMode["RESET"] = "reset";
|
|
10
|
+
})(DeleteMode || (DeleteMode = {}));
|
|
11
|
+
//# sourceMappingURL=DeleteMode.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"DeleteMode.js","sourceRoot":"","sources":["../../../../src/admin-api/client/models/DeleteMode.ts"],"names":[],"mappings":"AAAA,+DAA+D;AAC/D,0BAA0B;AAC1B,oBAAoB;AACpB,oBAAoB;AACpB,MAAM,CAAN,IAAY,UAIX;AAJD,WAAY,UAAU;IAClB,6BAAe,CAAA;IACf,2BAAa,CAAA;IACb,6BAAe,CAAA;AACnB,CAAC,EAJW,UAAU,KAAV,UAAU,QAIrB"}
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import type { ContentTypeDefinition_V3 } from '../models/ContentTypeDefinition_V3.js';
|
|
2
|
+
import type { DeleteMode } from '../models/DeleteMode.js';
|
|
2
3
|
import type { SourceInfoMap } from '../models/SourceInfoMap.js';
|
|
3
4
|
import type { CancelablePromise } from '../core/CancelablePromise.js';
|
|
4
5
|
import type { BaseHttpRequest } from '../core/BaseHttpRequest.js';
|
|
@@ -6,25 +7,38 @@ export declare class DefinitionV3Service {
|
|
|
6
7
|
readonly httpRequest: BaseHttpRequest;
|
|
7
8
|
constructor(httpRequest: BaseHttpRequest);
|
|
8
9
|
/**
|
|
9
|
-
* Get
|
|
10
|
-
* Get
|
|
11
|
-
* @param id The id of the source
|
|
10
|
+
* Get source metadata
|
|
11
|
+
* Get `id`, `label` and `languages` fields of the source
|
|
12
|
+
* @param id The id of the source _(optional)_
|
|
13
|
+
* - _(empty): all sources_
|
|
14
|
+
* - _**default**: only default source_
|
|
15
|
+
* - _**src1**: only src1_
|
|
12
16
|
* @returns SourceInfoMap Ok
|
|
13
17
|
* @throws ApiError
|
|
14
18
|
*/
|
|
15
19
|
getContentV3SourceHandler(id?: string): CancelablePromise<SourceInfoMap>;
|
|
16
20
|
/**
|
|
17
|
-
* Delete
|
|
18
|
-
* Delete content source
|
|
21
|
+
* Delete source
|
|
22
|
+
* Delete content _types / data_ of the source
|
|
19
23
|
* @param id The id of the source
|
|
20
|
-
*
|
|
24
|
+
* - _(empty): all sources_
|
|
25
|
+
* - _**default**: only default source_
|
|
26
|
+
* - _**src1**: only src1_
|
|
27
|
+
* @param mode Delete mode
|
|
28
|
+
*
|
|
29
|
+
* | mode | description | types | data |
|
|
30
|
+
* | -- | -- | -- | -- |
|
|
31
|
+
* | _(empty)_ | _delete types and data_ | _(delete)_ | _(delete)_ |
|
|
32
|
+
* | _**types**_ | _delete only types_ | _(delete)_ | |
|
|
33
|
+
* | _**data**_ | _delete only data_ | | _(delete)_ |
|
|
34
|
+
* | _**reset**_ | _reset data_ | _(delete)_ | _(reset)_ |
|
|
21
35
|
* @returns any Source is deleted successfully
|
|
22
36
|
* @throws ApiError
|
|
23
37
|
*/
|
|
24
|
-
deleteContentV3SourceHandler(id?: string,
|
|
38
|
+
deleteContentV3SourceHandler(id?: string, mode?: DeleteMode): CancelablePromise<any>;
|
|
25
39
|
/**
|
|
26
|
-
* Get
|
|
27
|
-
* Get content types
|
|
40
|
+
* Get content types
|
|
41
|
+
* Get content types of the source
|
|
28
42
|
* @param id The id of the source
|
|
29
43
|
* @returns ContentTypeDefinition_V3 Ok
|
|
30
44
|
* @throws ApiError
|
|
@@ -32,7 +46,7 @@ export declare class DefinitionV3Service {
|
|
|
32
46
|
getContentV3TypeHandler(id?: string): CancelablePromise<ContentTypeDefinition_V3>;
|
|
33
47
|
/**
|
|
34
48
|
* Partial content type update
|
|
35
|
-
* Update content types
|
|
49
|
+
* Update content types of the source partially
|
|
36
50
|
* @param requestBody Content type definitions
|
|
37
51
|
* @param id The id of the source
|
|
38
52
|
* @returns void
|
|
@@ -41,7 +55,7 @@ export declare class DefinitionV3Service {
|
|
|
41
55
|
postContentV3TypeHandler(requestBody: ContentTypeDefinition_V3, id?: string): CancelablePromise<void>;
|
|
42
56
|
/**
|
|
43
57
|
* Full content type update
|
|
44
|
-
* Update content types
|
|
58
|
+
* Update content types of the source (overwrite all)
|
|
45
59
|
* @param requestBody Content type definitions
|
|
46
60
|
* @param id The id of the source
|
|
47
61
|
* @returns void
|
|
@@ -3,9 +3,12 @@ export class DefinitionV3Service {
|
|
|
3
3
|
this.httpRequest = httpRequest;
|
|
4
4
|
}
|
|
5
5
|
/**
|
|
6
|
-
* Get
|
|
7
|
-
* Get
|
|
8
|
-
* @param id The id of the source
|
|
6
|
+
* Get source metadata
|
|
7
|
+
* Get `id`, `label` and `languages` fields of the source
|
|
8
|
+
* @param id The id of the source _(optional)_
|
|
9
|
+
* - _(empty): all sources_
|
|
10
|
+
* - _**default**: only default source_
|
|
11
|
+
* - _**src1**: only src1_
|
|
9
12
|
* @returns SourceInfoMap Ok
|
|
10
13
|
* @throws ApiError
|
|
11
14
|
*/
|
|
@@ -19,20 +22,30 @@ export class DefinitionV3Service {
|
|
|
19
22
|
});
|
|
20
23
|
}
|
|
21
24
|
/**
|
|
22
|
-
* Delete
|
|
23
|
-
* Delete content source
|
|
25
|
+
* Delete source
|
|
26
|
+
* Delete content _types / data_ of the source
|
|
24
27
|
* @param id The id of the source
|
|
25
|
-
*
|
|
28
|
+
* - _(empty): all sources_
|
|
29
|
+
* - _**default**: only default source_
|
|
30
|
+
* - _**src1**: only src1_
|
|
31
|
+
* @param mode Delete mode
|
|
32
|
+
*
|
|
33
|
+
* | mode | description | types | data |
|
|
34
|
+
* | -- | -- | -- | -- |
|
|
35
|
+
* | _(empty)_ | _delete types and data_ | _(delete)_ | _(delete)_ |
|
|
36
|
+
* | _**types**_ | _delete only types_ | _(delete)_ | |
|
|
37
|
+
* | _**data**_ | _delete only data_ | | _(delete)_ |
|
|
38
|
+
* | _**reset**_ | _reset data_ | _(delete)_ | _(reset)_ |
|
|
26
39
|
* @returns any Source is deleted successfully
|
|
27
40
|
* @throws ApiError
|
|
28
41
|
*/
|
|
29
|
-
deleteContentV3SourceHandler(id,
|
|
42
|
+
deleteContentV3SourceHandler(id, mode) {
|
|
30
43
|
return this.httpRequest.request({
|
|
31
44
|
method: 'DELETE',
|
|
32
45
|
url: '/api/content/v3/sources',
|
|
33
46
|
query: {
|
|
34
47
|
'id': id,
|
|
35
|
-
'
|
|
48
|
+
'mode': mode,
|
|
36
49
|
},
|
|
37
50
|
errors: {
|
|
38
51
|
404: `Source is not found`,
|
|
@@ -40,8 +53,8 @@ export class DefinitionV3Service {
|
|
|
40
53
|
});
|
|
41
54
|
}
|
|
42
55
|
/**
|
|
43
|
-
* Get
|
|
44
|
-
* Get content types
|
|
56
|
+
* Get content types
|
|
57
|
+
* Get content types of the source
|
|
45
58
|
* @param id The id of the source
|
|
46
59
|
* @returns ContentTypeDefinition_V3 Ok
|
|
47
60
|
* @throws ApiError
|
|
@@ -57,7 +70,7 @@ export class DefinitionV3Service {
|
|
|
57
70
|
}
|
|
58
71
|
/**
|
|
59
72
|
* Partial content type update
|
|
60
|
-
* Update content types
|
|
73
|
+
* Update content types of the source partially
|
|
61
74
|
* @param requestBody Content type definitions
|
|
62
75
|
* @param id The id of the source
|
|
63
76
|
* @returns void
|
|
@@ -76,7 +89,7 @@ export class DefinitionV3Service {
|
|
|
76
89
|
}
|
|
77
90
|
/**
|
|
78
91
|
* Full content type update
|
|
79
|
-
* Update content types
|
|
92
|
+
* Update content types of the source (overwrite all)
|
|
80
93
|
* @param requestBody Content type definitions
|
|
81
94
|
* @param id The id of the source
|
|
82
95
|
* @returns void
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DefinitionV3Service.js","sourceRoot":"","sources":["../../../../src/admin-api/client/services/DefinitionV3Service.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"DefinitionV3Service.js","sourceRoot":"","sources":["../../../../src/admin-api/client/services/DefinitionV3Service.ts"],"names":[],"mappings":"AASA,MAAM,OAAO,mBAAmB;IAC5B,YAA4B,WAA4B;QAA5B,gBAAW,GAAX,WAAW,CAAiB;IAAG,CAAC;IAC5D;;;;;;;;;OASG;IACI,yBAAyB,CAC5B,EAAW;QAEX,OAAO,IAAI,CAAC,WAAW,CAAC,OAAO,CAAC;YAC5B,MAAM,EAAE,KAAK;YACb,GAAG,EAAE,yBAAyB;YAC9B,KAAK,EAAE;gBACH,IAAI,EAAE,EAAE;aACX;SACJ,CAAC,CAAC;IACP,CAAC;IACD;;;;;;;;;;;;;;;;;OAiBG;IACI,4BAA4B,CAC/B,EAAW,EACX,IAAiB;QAEjB,OAAO,IAAI,CAAC,WAAW,CAAC,OAAO,CAAC;YAC5B,MAAM,EAAE,QAAQ;YAChB,GAAG,EAAE,yBAAyB;YAC9B,KAAK,EAAE;gBACH,IAAI,EAAE,EAAE;gBACR,MAAM,EAAE,IAAI;aACf;YACD,MAAM,EAAE;gBACJ,GAAG,EAAE,qBAAqB;aAC7B;SACJ,CAAC,CAAC;IACP,CAAC;IACD;;;;;;OAMG;IACI,uBAAuB,CAC1B,KAAa,SAAS;QAEtB,OAAO,IAAI,CAAC,WAAW,CAAC,OAAO,CAAC;YAC5B,MAAM,EAAE,KAAK;YACb,GAAG,EAAE,uBAAuB;YAC5B,KAAK,EAAE;gBACH,IAAI,EAAE,EAAE;aACX;SACJ,CAAC,CAAC;IACP,CAAC;IACD;;;;;;;OAOG;IACI,wBAAwB,CAC3B,WAAqC,EACrC,KAAa,SAAS;QAEtB,OAAO,IAAI,CAAC,WAAW,CAAC,OAAO,CAAC;YAC5B,MAAM,EAAE,MAAM;YACd,GAAG,EAAE,uBAAuB;YAC5B,KAAK,EAAE;gBACH,IAAI,EAAE,EAAE;aACX;YACD,IAAI,EAAE,WAAW;YACjB,SAAS,EAAE,kBAAkB;SAChC,CAAC,CAAC;IACP,CAAC;IACD;;;;;;;OAOG;IACI,uBAAuB,CAC1B,WAAqC,EACrC,KAAa,SAAS;QAEtB,OAAO,IAAI,CAAC,WAAW,CAAC,OAAO,CAAC;YAC5B,MAAM,EAAE,KAAK;YACb,GAAG,EAAE,uBAAuB;YAC5B,KAAK,EAAE;gBACH,IAAI,EAAE,EAAE;aACX;YACD,IAAI,EAAE,WAAW;YACjB,SAAS,EAAE,kBAAkB;SAChC,CAAC,CAAC;IACP,CAAC;CACJ"}
|
|
@@ -10,10 +10,19 @@ export declare class ResourcesService {
|
|
|
10
10
|
* Stop words are the words in a stop list (or stop list or negative dictionary) which are filtered out (stopped) before or after processing of natural language data (text) because they are insignificant
|
|
11
11
|
* @param requestBody
|
|
12
12
|
* @param languageRouting
|
|
13
|
+
* @param sourceRouting
|
|
13
14
|
* @returns void
|
|
14
15
|
* @throws ApiError
|
|
15
16
|
*/
|
|
16
|
-
upsertStopwordHandler(requestBody: StopwordsBody, languageRouting?: string): CancelablePromise<void>;
|
|
17
|
+
upsertStopwordHandler(requestBody: StopwordsBody, languageRouting?: string, sourceRouting?: string): CancelablePromise<void>;
|
|
18
|
+
/**
|
|
19
|
+
* Delete stop words
|
|
20
|
+
* @param languageRouting
|
|
21
|
+
* @param sourceRouting
|
|
22
|
+
* @returns void
|
|
23
|
+
* @throws ApiError
|
|
24
|
+
*/
|
|
25
|
+
deleteStopwordHandler(languageRouting?: string, sourceRouting?: string): CancelablePromise<void>;
|
|
17
26
|
/**
|
|
18
27
|
* Store synonyms
|
|
19
28
|
* When you write a query, you can use synonyms to expand the keywords to get results that users otherwise may not have found.
|
|
@@ -22,9 +31,18 @@ export declare class ResourcesService {
|
|
|
22
31
|
* This happens when you store synonyms in Optimizely Graph and enable them per field in your query. Otherwise, many relevant results may not be retrieved.
|
|
23
32
|
* @param requestBody
|
|
24
33
|
* @param languageRouting
|
|
34
|
+
* @param sourceRouting
|
|
25
35
|
* @param synonymSlot
|
|
26
36
|
* @returns void
|
|
27
37
|
* @throws ApiError
|
|
28
38
|
*/
|
|
29
|
-
upsertSynonymHandler(requestBody: SynonymsBody, languageRouting?: string, synonymSlot?: 'one' | 'two'): CancelablePromise<void>;
|
|
39
|
+
upsertSynonymHandler(requestBody: SynonymsBody, languageRouting?: string, sourceRouting?: string, synonymSlot?: 'one' | 'two'): CancelablePromise<void>;
|
|
40
|
+
/**
|
|
41
|
+
* Delete synonyms
|
|
42
|
+
* @param languageRouting
|
|
43
|
+
* @param sourceRouting
|
|
44
|
+
* @returns void
|
|
45
|
+
* @throws ApiError
|
|
46
|
+
*/
|
|
47
|
+
deleteSynonymHandler(languageRouting?: string, sourceRouting?: string): CancelablePromise<void>;
|
|
30
48
|
}
|
|
@@ -7,20 +7,39 @@ export class ResourcesService {
|
|
|
7
7
|
* Stop words are the words in a stop list (or stop list or negative dictionary) which are filtered out (stopped) before or after processing of natural language data (text) because they are insignificant
|
|
8
8
|
* @param requestBody
|
|
9
9
|
* @param languageRouting
|
|
10
|
+
* @param sourceRouting
|
|
10
11
|
* @returns void
|
|
11
12
|
* @throws ApiError
|
|
12
13
|
*/
|
|
13
|
-
upsertStopwordHandler(requestBody, languageRouting) {
|
|
14
|
+
upsertStopwordHandler(requestBody, languageRouting, sourceRouting) {
|
|
14
15
|
return this.httpRequest.request({
|
|
15
16
|
method: 'PUT',
|
|
16
17
|
url: '/resources/stopwords',
|
|
17
18
|
query: {
|
|
18
19
|
'language_routing': languageRouting,
|
|
20
|
+
'source_routing': sourceRouting,
|
|
19
21
|
},
|
|
20
22
|
body: requestBody,
|
|
21
23
|
mediaType: 'text/plain',
|
|
22
24
|
});
|
|
23
25
|
}
|
|
26
|
+
/**
|
|
27
|
+
* Delete stop words
|
|
28
|
+
* @param languageRouting
|
|
29
|
+
* @param sourceRouting
|
|
30
|
+
* @returns void
|
|
31
|
+
* @throws ApiError
|
|
32
|
+
*/
|
|
33
|
+
deleteStopwordHandler(languageRouting, sourceRouting) {
|
|
34
|
+
return this.httpRequest.request({
|
|
35
|
+
method: 'DELETE',
|
|
36
|
+
url: '/resources/stopwords',
|
|
37
|
+
query: {
|
|
38
|
+
'language_routing': languageRouting,
|
|
39
|
+
'source_routing': sourceRouting,
|
|
40
|
+
},
|
|
41
|
+
});
|
|
42
|
+
}
|
|
24
43
|
/**
|
|
25
44
|
* Store synonyms
|
|
26
45
|
* When you write a query, you can use synonyms to expand the keywords to get results that users otherwise may not have found.
|
|
@@ -29,21 +48,40 @@ export class ResourcesService {
|
|
|
29
48
|
* This happens when you store synonyms in Optimizely Graph and enable them per field in your query. Otherwise, many relevant results may not be retrieved.
|
|
30
49
|
* @param requestBody
|
|
31
50
|
* @param languageRouting
|
|
51
|
+
* @param sourceRouting
|
|
32
52
|
* @param synonymSlot
|
|
33
53
|
* @returns void
|
|
34
54
|
* @throws ApiError
|
|
35
55
|
*/
|
|
36
|
-
upsertSynonymHandler(requestBody, languageRouting, synonymSlot = 'one') {
|
|
56
|
+
upsertSynonymHandler(requestBody, languageRouting, sourceRouting, synonymSlot = 'one') {
|
|
37
57
|
return this.httpRequest.request({
|
|
38
58
|
method: 'PUT',
|
|
39
59
|
url: '/resources/synonyms',
|
|
40
60
|
query: {
|
|
41
61
|
'language_routing': languageRouting,
|
|
62
|
+
'source_routing': sourceRouting,
|
|
42
63
|
'synonym_slot': synonymSlot,
|
|
43
64
|
},
|
|
44
65
|
body: requestBody,
|
|
45
66
|
mediaType: 'text/plain',
|
|
46
67
|
});
|
|
47
68
|
}
|
|
69
|
+
/**
|
|
70
|
+
* Delete synonyms
|
|
71
|
+
* @param languageRouting
|
|
72
|
+
* @param sourceRouting
|
|
73
|
+
* @returns void
|
|
74
|
+
* @throws ApiError
|
|
75
|
+
*/
|
|
76
|
+
deleteSynonymHandler(languageRouting, sourceRouting) {
|
|
77
|
+
return this.httpRequest.request({
|
|
78
|
+
method: 'DELETE',
|
|
79
|
+
url: '/resources/synonyms',
|
|
80
|
+
query: {
|
|
81
|
+
'language_routing': languageRouting,
|
|
82
|
+
'source_routing': sourceRouting,
|
|
83
|
+
},
|
|
84
|
+
});
|
|
85
|
+
}
|
|
48
86
|
}
|
|
49
87
|
//# sourceMappingURL=ResourcesService.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ResourcesService.js","sourceRoot":"","sources":["../../../../src/admin-api/client/services/ResourcesService.ts"],"names":[],"mappings":"AAQA,MAAM,OAAO,gBAAgB;IACzB,YAA4B,WAA4B;QAA5B,gBAAW,GAAX,WAAW,CAAiB;IAAG,CAAC;IAC5D
|
|
1
|
+
{"version":3,"file":"ResourcesService.js","sourceRoot":"","sources":["../../../../src/admin-api/client/services/ResourcesService.ts"],"names":[],"mappings":"AAQA,MAAM,OAAO,gBAAgB;IACzB,YAA4B,WAA4B;QAA5B,gBAAW,GAAX,WAAW,CAAiB;IAAG,CAAC;IAC5D;;;;;;;;OAQG;IACI,qBAAqB,CACxB,WAA0B,EAC1B,eAAwB,EACxB,aAAsB;QAEtB,OAAO,IAAI,CAAC,WAAW,CAAC,OAAO,CAAC;YAC5B,MAAM,EAAE,KAAK;YACb,GAAG,EAAE,sBAAsB;YAC3B,KAAK,EAAE;gBACH,kBAAkB,EAAE,eAAe;gBACnC,gBAAgB,EAAE,aAAa;aAClC;YACD,IAAI,EAAE,WAAW;YACjB,SAAS,EAAE,YAAY;SAC1B,CAAC,CAAC;IACP,CAAC;IACD;;;;;;OAMG;IACI,qBAAqB,CACxB,eAAwB,EACxB,aAAsB;QAEtB,OAAO,IAAI,CAAC,WAAW,CAAC,OAAO,CAAC;YAC5B,MAAM,EAAE,QAAQ;YAChB,GAAG,EAAE,sBAAsB;YAC3B,KAAK,EAAE;gBACH,kBAAkB,EAAE,eAAe;gBACnC,gBAAgB,EAAE,aAAa;aAClC;SACJ,CAAC,CAAC;IACP,CAAC;IACD;;;;;;;;;;;;OAYG;IACI,oBAAoB,CACvB,WAAyB,EACzB,eAAwB,EACxB,aAAsB,EACtB,cAA6B,KAAK;QAElC,OAAO,IAAI,CAAC,WAAW,CAAC,OAAO,CAAC;YAC5B,MAAM,EAAE,KAAK;YACb,GAAG,EAAE,qBAAqB;YAC1B,KAAK,EAAE;gBACH,kBAAkB,EAAE,eAAe;gBACnC,gBAAgB,EAAE,aAAa;gBAC/B,cAAc,EAAE,WAAW;aAC9B;YACD,IAAI,EAAE,WAAW;YACjB,SAAS,EAAE,YAAY;SAC1B,CAAC,CAAC;IACP,CAAC;IACD;;;;;;OAMG;IACI,oBAAoB,CACvB,eAAwB,EACxB,aAAsB;QAEtB,OAAO,IAAI,CAAC,WAAW,CAAC,OAAO,CAAC;YAC5B,MAAM,EAAE,QAAQ;YAChB,GAAG,EAAE,qBAAqB;YAC1B,KAAK,EAAE;gBACH,kBAAkB,EAAE,eAAe;gBACnC,gBAAgB,EAAE,aAAa;aAClC;SACJ,CAAC,CAAC;IACP,CAAC;CACJ"}
|
|
@@ -6,33 +6,35 @@ export declare class WebhooksService {
|
|
|
6
6
|
readonly httpRequest: BaseHttpRequest;
|
|
7
7
|
constructor(httpRequest: BaseHttpRequest);
|
|
8
8
|
/**
|
|
9
|
-
* List
|
|
9
|
+
* List webhooks
|
|
10
10
|
* List all registered webhooks
|
|
11
11
|
* @returns Webhook Ok
|
|
12
12
|
* @throws ApiError
|
|
13
13
|
*/
|
|
14
14
|
listWebhookHandler(): CancelablePromise<Array<Webhook>>;
|
|
15
15
|
/**
|
|
16
|
-
*
|
|
17
|
-
* Register a webhook and listen events respect to filter definition
|
|
16
|
+
* Add webhook
|
|
17
|
+
* Register a webhook and listen events respect to filter definition
|
|
18
|
+
*
|
|
19
|
+
* ---
|
|
18
20
|
*
|
|
19
|
-
*
|
|
21
|
+
* _(empty filter): listen all events_
|
|
20
22
|
* @param requestBody
|
|
21
23
|
* @returns void
|
|
22
24
|
* @throws ApiError
|
|
23
25
|
*/
|
|
24
26
|
createWebhookHandler(requestBody: WebhookPayload): CancelablePromise<void>;
|
|
25
27
|
/**
|
|
26
|
-
* Delete
|
|
27
|
-
* Delete a registered webhook
|
|
28
|
+
* Delete webhook
|
|
29
|
+
* Delete a registered webhook with `id`
|
|
28
30
|
* @param id
|
|
29
31
|
* @returns void
|
|
30
32
|
* @throws ApiError
|
|
31
33
|
*/
|
|
32
34
|
deleteWebhookHandler(id: string): CancelablePromise<void>;
|
|
33
35
|
/**
|
|
34
|
-
* Update
|
|
35
|
-
* Update a registered webhook
|
|
36
|
+
* Update webhook
|
|
37
|
+
* Update a registered webhook with `id`
|
|
36
38
|
* @param id
|
|
37
39
|
* @param requestBody
|
|
38
40
|
* @returns void
|
|
@@ -3,7 +3,7 @@ export class WebhooksService {
|
|
|
3
3
|
this.httpRequest = httpRequest;
|
|
4
4
|
}
|
|
5
5
|
/**
|
|
6
|
-
* List
|
|
6
|
+
* List webhooks
|
|
7
7
|
* List all registered webhooks
|
|
8
8
|
* @returns Webhook Ok
|
|
9
9
|
* @throws ApiError
|
|
@@ -15,10 +15,12 @@ export class WebhooksService {
|
|
|
15
15
|
});
|
|
16
16
|
}
|
|
17
17
|
/**
|
|
18
|
-
*
|
|
19
|
-
* Register a webhook and listen events respect to filter definition
|
|
18
|
+
* Add webhook
|
|
19
|
+
* Register a webhook and listen events respect to filter definition
|
|
20
|
+
*
|
|
21
|
+
* ---
|
|
20
22
|
*
|
|
21
|
-
*
|
|
23
|
+
* _(empty filter): listen all events_
|
|
22
24
|
* @param requestBody
|
|
23
25
|
* @returns void
|
|
24
26
|
* @throws ApiError
|
|
@@ -32,8 +34,8 @@ export class WebhooksService {
|
|
|
32
34
|
});
|
|
33
35
|
}
|
|
34
36
|
/**
|
|
35
|
-
* Delete
|
|
36
|
-
* Delete a registered webhook
|
|
37
|
+
* Delete webhook
|
|
38
|
+
* Delete a registered webhook with `id`
|
|
37
39
|
* @param id
|
|
38
40
|
* @returns void
|
|
39
41
|
* @throws ApiError
|
|
@@ -48,8 +50,8 @@ export class WebhooksService {
|
|
|
48
50
|
});
|
|
49
51
|
}
|
|
50
52
|
/**
|
|
51
|
-
* Update
|
|
52
|
-
* Update a registered webhook
|
|
53
|
+
* Update webhook
|
|
54
|
+
* Update a registered webhook with `id`
|
|
53
55
|
* @param id
|
|
54
56
|
* @param requestBody
|
|
55
57
|
* @returns void
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"WebhooksService.js","sourceRoot":"","sources":["../../../../src/admin-api/client/services/WebhooksService.ts"],"names":[],"mappings":"AAQA,MAAM,OAAO,eAAe;IACxB,YAA4B,WAA4B;QAA5B,gBAAW,GAAX,WAAW,CAAiB;IAAG,CAAC;IAC5D;;;;;OAKG;IACI,kBAAkB;QACrB,OAAO,IAAI,CAAC,WAAW,CAAC,OAAO,CAAC;YAC5B,MAAM,EAAE,KAAK;YACb,GAAG,EAAE,eAAe;SACvB,CAAC,CAAC;IACP,CAAC;IACD
|
|
1
|
+
{"version":3,"file":"WebhooksService.js","sourceRoot":"","sources":["../../../../src/admin-api/client/services/WebhooksService.ts"],"names":[],"mappings":"AAQA,MAAM,OAAO,eAAe;IACxB,YAA4B,WAA4B;QAA5B,gBAAW,GAAX,WAAW,CAAiB;IAAG,CAAC;IAC5D;;;;;OAKG;IACI,kBAAkB;QACrB,OAAO,IAAI,CAAC,WAAW,CAAC,OAAO,CAAC;YAC5B,MAAM,EAAE,KAAK;YACb,GAAG,EAAE,eAAe;SACvB,CAAC,CAAC;IACP,CAAC;IACD;;;;;;;;;;OAUG;IACI,oBAAoB,CACvB,WAA2B;QAE3B,OAAO,IAAI,CAAC,WAAW,CAAC,OAAO,CAAC;YAC5B,MAAM,EAAE,MAAM;YACd,GAAG,EAAE,eAAe;YACpB,IAAI,EAAE,WAAW;YACjB,SAAS,EAAE,kBAAkB;SAChC,CAAC,CAAC;IACP,CAAC;IACD;;;;;;OAMG;IACI,oBAAoB,CACvB,EAAU;QAEV,OAAO,IAAI,CAAC,WAAW,CAAC,OAAO,CAAC;YAC5B,MAAM,EAAE,QAAQ;YAChB,GAAG,EAAE,oBAAoB;YACzB,IAAI,EAAE;gBACF,IAAI,EAAE,EAAE;aACX;SACJ,CAAC,CAAC;IACP,CAAC;IACD;;;;;;;OAOG;IACI,oBAAoB,CACvB,EAAU,EACV,WAA2B;QAE3B,OAAO,IAAI,CAAC,WAAW,CAAC,OAAO,CAAC;YAC5B,MAAM,EAAE,KAAK;YACb,GAAG,EAAE,oBAAoB;YACzB,IAAI,EAAE;gBACF,IAAI,EAAE,EAAE;aACX;YACD,IAAI,EAAE,WAAW;YACjB,SAAS,EAAE,kBAAkB;SAChC,CAAC,CAAC;IACP,CAAC;CACJ"}
|
|
@@ -1,6 +1,41 @@
|
|
|
1
|
-
import { type OptimizelyGraphConfig } from '../config.js';
|
|
2
|
-
import { OptimizelyGraphAdminApi, type ApiError } from './client/index.js';
|
|
1
|
+
import { type OptimizelyGraphConfig, OptimizelyGraphConfigInternal } from '../config.js';
|
|
2
|
+
import { OptimizelyGraphAdminApi as BaseOptimizelyGraphAdminApi, type ApiError, type CancelablePromise } from './client/index.js';
|
|
3
|
+
import type * as ClientTypes from './types.js';
|
|
4
|
+
export * from './types.js';
|
|
3
5
|
export * from './client/index.js';
|
|
6
|
+
export declare class OptimizelyGraphAdminApi extends BaseOptimizelyGraphAdminApi {
|
|
7
|
+
protected readonly graphConfig: OptimizelyGraphConfigInternal;
|
|
8
|
+
constructor(config?: OptimizelyGraphConfig);
|
|
9
|
+
/**
|
|
10
|
+
* Retrieve the journal contents from a Content Source post operation
|
|
11
|
+
*
|
|
12
|
+
* @param journalId The journal identifier, typically something like 'stream/{guid}'
|
|
13
|
+
* @returns The journal contents
|
|
14
|
+
*/
|
|
15
|
+
getJournal(journalId: string): CancelablePromise<ClientTypes.JournalResponse>;
|
|
16
|
+
/**
|
|
17
|
+
* Convenience mehtod that chains the two needed service calls to get the
|
|
18
|
+
* actual result from submitting content into Optimizely Graph.
|
|
19
|
+
*
|
|
20
|
+
* @param sourceId The unique identifier of the content source
|
|
21
|
+
* @param contentItems The data to be sent to Optimizely Graph in the required NDJson format
|
|
22
|
+
* @returns The results of the operation
|
|
23
|
+
*/
|
|
24
|
+
postSourceContent(sourceId: string, contentItems: string): CancelablePromise<ClientTypes.PostContentV2DataHandlerResponse>;
|
|
25
|
+
}
|
|
26
|
+
/**
|
|
27
|
+
* Check if the provided value is an API Error, so that it can be handled as such
|
|
28
|
+
*
|
|
29
|
+
* @param error The value to check
|
|
30
|
+
* @returns 'true' when the value is an ApiError, 'false' otherwise
|
|
31
|
+
*/
|
|
4
32
|
export declare function isApiError(error: any): error is ApiError;
|
|
33
|
+
/**
|
|
34
|
+
* Create a new instance of the Optimizely Graph Admin API client
|
|
35
|
+
*
|
|
36
|
+
* @param config The Optimizely Graph config, will be read from the
|
|
37
|
+
* environment when omitted
|
|
38
|
+
* @returns The Admin API client
|
|
39
|
+
*/
|
|
5
40
|
export declare function createClient(config?: OptimizelyGraphConfig): OptimizelyGraphAdminApi;
|
|
6
41
|
export default createClient;
|
package/dist/admin-api/index.js
CHANGED
|
@@ -1,25 +1,80 @@
|
|
|
1
1
|
import { readEnvironmentVariables, applyConfigDefaults, validateConfig } from '../config.js';
|
|
2
|
-
import { OptimizelyGraphAdminApi } from './client/index.js';
|
|
2
|
+
import { OptimizelyGraphAdminApi as BaseOptimizelyGraphAdminApi } from './client/index.js';
|
|
3
|
+
import OptiHttpRequest, { isOptiHttpRequest } from './request/index.js';
|
|
4
|
+
export * from './types.js';
|
|
3
5
|
export * from './client/index.js';
|
|
6
|
+
export class OptimizelyGraphAdminApi extends BaseOptimizelyGraphAdminApi {
|
|
7
|
+
constructor(config) {
|
|
8
|
+
const graphConfig = applyConfigDefaults(config ?? readEnvironmentVariables());
|
|
9
|
+
if (!validateConfig(graphConfig, true))
|
|
10
|
+
throw new Error("The Optimizely Graph Admin API requires the App Key and Secret to be defined");
|
|
11
|
+
const apiConfig = {
|
|
12
|
+
BASE: graphConfig.gateway,
|
|
13
|
+
CREDENTIALS: "include",
|
|
14
|
+
HEADERS: {
|
|
15
|
+
"X-Client": "@RemkoJ/OptimizelyGraphClient",
|
|
16
|
+
}
|
|
17
|
+
};
|
|
18
|
+
super(apiConfig, OptiHttpRequest);
|
|
19
|
+
if (isOptiHttpRequest(this.request))
|
|
20
|
+
this.request.setOptiGraphConfig(graphConfig);
|
|
21
|
+
this.graphConfig = graphConfig;
|
|
22
|
+
}
|
|
23
|
+
/**
|
|
24
|
+
* Retrieve the journal contents from a Content Source post operation
|
|
25
|
+
*
|
|
26
|
+
* @param journalId The journal identifier, typically something like 'stream/{guid}'
|
|
27
|
+
* @returns The journal contents
|
|
28
|
+
*/
|
|
29
|
+
getJournal(journalId) {
|
|
30
|
+
return this.request.request({
|
|
31
|
+
method: "GET",
|
|
32
|
+
url: "/journal/{journalId}",
|
|
33
|
+
path: {
|
|
34
|
+
'journalId': journalId,
|
|
35
|
+
}
|
|
36
|
+
});
|
|
37
|
+
}
|
|
38
|
+
/**
|
|
39
|
+
* Convenience mehtod that chains the two needed service calls to get the
|
|
40
|
+
* actual result from submitting content into Optimizely Graph.
|
|
41
|
+
*
|
|
42
|
+
* @param sourceId The unique identifier of the content source
|
|
43
|
+
* @param contentItems The data to be sent to Optimizely Graph in the required NDJson format
|
|
44
|
+
* @returns The results of the operation
|
|
45
|
+
*/
|
|
46
|
+
postSourceContent(sourceId, contentItems) {
|
|
47
|
+
return this.request.request({
|
|
48
|
+
method: 'POST',
|
|
49
|
+
url: '/api/content/v2/data',
|
|
50
|
+
query: {
|
|
51
|
+
'id': sourceId,
|
|
52
|
+
},
|
|
53
|
+
body: contentItems,
|
|
54
|
+
mediaType: 'application/x-ndjson',
|
|
55
|
+
});
|
|
56
|
+
}
|
|
57
|
+
}
|
|
58
|
+
/**
|
|
59
|
+
* Check if the provided value is an API Error, so that it can be handled as such
|
|
60
|
+
*
|
|
61
|
+
* @param error The value to check
|
|
62
|
+
* @returns 'true' when the value is an ApiError, 'false' otherwise
|
|
63
|
+
*/
|
|
4
64
|
export function isApiError(error) {
|
|
5
65
|
if (typeof error != 'object' || error == null)
|
|
6
66
|
return false;
|
|
7
67
|
return typeof error.status == 'number' && typeof error.url == 'string';
|
|
8
68
|
}
|
|
69
|
+
/**
|
|
70
|
+
* Create a new instance of the Optimizely Graph Admin API client
|
|
71
|
+
*
|
|
72
|
+
* @param config The Optimizely Graph config, will be read from the
|
|
73
|
+
* environment when omitted
|
|
74
|
+
* @returns The Admin API client
|
|
75
|
+
*/
|
|
9
76
|
export function createClient(config) {
|
|
10
|
-
|
|
11
|
-
if (!validateConfig(graphConfig, true))
|
|
12
|
-
throw new Error("The Optimizely Graph Admin API requires the App Key and Secret to be defined");
|
|
13
|
-
const client = new OptimizelyGraphAdminApi({
|
|
14
|
-
BASE: graphConfig.gateway,
|
|
15
|
-
CREDENTIALS: "include",
|
|
16
|
-
USERNAME: graphConfig.app_key,
|
|
17
|
-
PASSWORD: graphConfig.secret,
|
|
18
|
-
HEADERS: {
|
|
19
|
-
"X-Client": "@RemkoJ/OptimizelyGraphClient",
|
|
20
|
-
}
|
|
21
|
-
});
|
|
22
|
-
return client;
|
|
77
|
+
return new OptimizelyGraphAdminApi(config);
|
|
23
78
|
}
|
|
24
79
|
export default createClient;
|
|
25
80
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/admin-api/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,wBAAwB,EAAE,mBAAmB,EAAE,cAAc,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/admin-api/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,wBAAwB,EAAE,mBAAmB,EAAE,cAAc,EAA6D,MAAM,cAAc,CAAA;AACvJ,OAAO,EAAE,uBAAuB,IAAI,2BAA2B,EAA6D,MAAM,mBAAmB,CAAA;AACrJ,OAAO,eAAe,EAAE,EAAE,iBAAiB,EAAE,MAAM,oBAAoB,CAAA;AAGvE,cAAc,YAAY,CAAA;AAC1B,cAAc,mBAAmB,CAAA;AAEjC,MAAM,OAAO,uBAAwB,SAAQ,2BAA2B;IAGpE,YAAmB,MAA8B;QAC7C,MAAM,WAAW,GAAG,mBAAmB,CAAC,MAAM,IAAI,wBAAwB,EAAE,CAAC,CAAA;QAC7E,IAAI,CAAC,cAAc,CAAC,WAAW,EAAE,IAAI,CAAC;YAClC,MAAM,IAAI,KAAK,CAAC,8EAA8E,CAAC,CAAA;QACnG,MAAM,SAAS,GAA4B;YACvC,IAAI,EAAE,WAAW,CAAC,OAAO;YACzB,WAAW,EAAE,SAAS;YACtB,OAAO,EAAE;gBACL,UAAU,EAAE,+BAA+B;aAC9C;SACJ,CAAA;QACD,KAAK,CAAC,SAAS,EAAE,eAAe,CAAC,CAAA;QACjC,IAAI,iBAAiB,CAAC,IAAI,CAAC,OAAO,CAAC;YAC/B,IAAI,CAAC,OAAO,CAAC,kBAAkB,CAAC,WAAW,CAAC,CAAA;QAChD,IAAI,CAAC,WAAW,GAAG,WAAW,CAAA;IAClC,CAAC;IACD;;;;;OAKG;IACI,UAAU,CAAC,SAAiB;QAC/B,OAAO,IAAI,CAAC,OAAO,CAAC,OAAO,CAA8B;YACrD,MAAM,EAAE,KAAK;YACb,GAAG,EAAE,sBAAsB;YAC3B,IAAI,EAAE;gBACF,WAAW,EAAE,SAAS;aACzB;SACJ,CAAC,CAAA;IACN,CAAC;IAED;;;;;;;OAOG;IACI,iBAAiB,CAAC,QAAgB,EAAE,YAAoB;QAE3D,OAAO,IAAI,CAAC,OAAO,CAAC,OAAO,CAA+C;YACtE,MAAM,EAAE,MAAM;YACd,GAAG,EAAE,sBAAsB;YAC3B,KAAK,EAAE;gBACH,IAAI,EAAE,QAAQ;aACjB;YACD,IAAI,EAAE,YAAY;YAClB,SAAS,EAAE,sBAAsB;SACpC,CAAC,CAAC;IACP,CAAC;CACJ;AAED;;;;;GAKG;AACH,MAAM,UAAU,UAAU,CAAC,KAAU;IAEjC,IAAI,OAAO,KAAK,IAAI,QAAQ,IAAI,KAAK,IAAI,IAAI;QACzC,OAAO,KAAK,CAAA;IAChB,OAAO,OAAQ,KAAkB,CAAC,MAAM,IAAI,QAAQ,IAAI,OAAQ,KAAkB,CAAC,GAAG,IAAI,QAAQ,CAAA;AACtG,CAAC;AAED;;;;;;GAMG;AACH,MAAM,UAAU,YAAY,CAAC,MAA8B;IAEvD,OAAO,IAAI,uBAAuB,CAAC,MAAM,CAAC,CAAA;AAC9C,CAAC;AAED,eAAe,YAAY,CAAA"}
|