@or-sdk/bots 1.5.2-beta.3996.0 → 1.5.2-beta.4000.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/dist/types/types.d.ts +2 -24
- package/dist/types/types.d.ts.map +1 -1
- package/package.json +6 -6
- package/src/types.ts +2 -0
- package/tsconfig.types.json +2 -3
package/dist/types/types.d.ts
CHANGED
|
@@ -1,24 +1,9 @@
|
|
|
1
1
|
import { Token } from '@or-sdk/base';
|
|
2
2
|
export type BotsConfig = {
|
|
3
|
-
/**
|
|
4
|
-
* token
|
|
5
|
-
*/
|
|
6
3
|
token: Token;
|
|
7
|
-
/**
|
|
8
|
-
* Url of OneReach service discovery api
|
|
9
|
-
*/
|
|
10
4
|
discoveryUrl?: string;
|
|
11
|
-
/**
|
|
12
|
-
* Account ID for cross-account requests (super admin only)
|
|
13
|
-
*/
|
|
14
5
|
accountId?: string;
|
|
15
|
-
/**
|
|
16
|
-
* Url of OneReach DataHubSvc api
|
|
17
|
-
*/
|
|
18
6
|
dataHubSvcUrl?: string;
|
|
19
|
-
/**
|
|
20
|
-
* Api feature
|
|
21
|
-
*/
|
|
22
7
|
feature?: string;
|
|
23
8
|
};
|
|
24
9
|
export type Bot = {
|
|
@@ -48,6 +33,7 @@ export type ListBotsParams = {
|
|
|
48
33
|
projection?: string[];
|
|
49
34
|
sandbox?: boolean;
|
|
50
35
|
group?: string[];
|
|
36
|
+
sourceId?: string;
|
|
51
37
|
};
|
|
52
38
|
export type PaginationOptions = {
|
|
53
39
|
limit?: number;
|
|
@@ -59,6 +45,7 @@ export type GetBotsParams = {
|
|
|
59
45
|
};
|
|
60
46
|
projection?: string[];
|
|
61
47
|
sandbox?: boolean;
|
|
48
|
+
sourceId?: string;
|
|
62
49
|
};
|
|
63
50
|
export type BotUploadIconResult = {
|
|
64
51
|
downloadUrl: string;
|
|
@@ -88,19 +75,10 @@ export type BotUploadIcon = {
|
|
|
88
75
|
cacheControl: string;
|
|
89
76
|
fileModel: File;
|
|
90
77
|
};
|
|
91
|
-
/**
|
|
92
|
-
* Single parameter for the Bot Configuration settings.
|
|
93
|
-
*/
|
|
94
78
|
export type BotConfigParam = {
|
|
95
|
-
/**
|
|
96
|
-
* UUID identifier. For the new records must be created on a client.
|
|
97
|
-
*/
|
|
98
79
|
id: string;
|
|
99
80
|
key: string;
|
|
100
81
|
type: 'string' | 'number' | 'boolean' | 'json' | 'null';
|
|
101
|
-
/**
|
|
102
|
-
* Parameter value corresponding to the `type`. JSON is stores as a serialized string.
|
|
103
|
-
*/
|
|
104
82
|
value: string | number | boolean | null;
|
|
105
83
|
};
|
|
106
84
|
export type DeleteBotProgress = {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../src/types.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,EAAE,MAAM,cAAc,CAAC;AAErC,MAAM,MAAM,UAAU,GAAG;
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../src/types.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,EAAE,MAAM,cAAc,CAAC;AAErC,MAAM,MAAM,UAAU,GAAG;IAIvB,KAAK,EAAE,KAAK,CAAC;IAKb,YAAY,CAAC,EAAE,MAAM,CAAC;IAKtB,SAAS,CAAC,EAAE,MAAM,CAAC;IAKnB,aAAa,CAAC,EAAE,MAAM,CAAC;IAKvB,OAAO,CAAC,EAAE,MAAM,CAAC;CAClB,CAAC;AAEF,MAAM,MAAM,GAAG,GAAG;IAChB,EAAE,CAAC,EAAE,MAAM,CAAC;IACZ,IAAI,EAAE;QACJ,KAAK,EAAE,MAAM,CAAC;QACd,KAAK,EAAE,MAAM,GAAG,IAAI,CAAC;QACrB,MAAM,CAAC,EAAE,cAAc,EAAE,CAAC;QAC1B,WAAW,EAAE,MAAM,CAAC;QACpB,OAAO,EAAE,MAAM,CAAC;QAChB,QAAQ,EAAE,MAAM,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YAC1B,kBAAkB,EAAE,MAAM,CAAC;YAC3B,sBAAsB,EAAE,MAAM,CAAC;YAC/B,eAAe,CAAC,EAAE,MAAM,CAAC;SAC1B,CAAC;QACF,GAAG,EAAE,MAAM,CAAC;KACb,CAAC;CACH,CAAC;AAEF,MAAM,MAAM,sBAAsB,GAAG;IACnC,EAAE,EAAE,MAAM,CAAC;IACX,IAAI,EAAE;QACJ,KAAK,EAAE,MAAM,CAAC;KACf,CAAC;CACH,CAAC;AAEF,MAAM,MAAM,aAAa,GAAG;IAC1B,IAAI,EAAE,MAAM,CAAC;IACb,YAAY,EAAE,MAAM,CAAC;IACrB,SAAS,EAAE,IAAI,CAAC;CACjB,CAAC;AAKF,MAAM,MAAM,cAAc,GAAG;IAI3B,EAAE,EAAE,MAAM,CAAC;IACX,GAAG,EAAE,MAAM,CAAC;IACZ,IAAI,EAAE,QAAQ,GAAG,QAAQ,GAAG,SAAS,GAAG,MAAM,GAAG,MAAM,CAAC;IAIxD,KAAK,EAAE,MAAM,GAAG,MAAM,GAAG,OAAO,GAAG,IAAI,CAAC;CACzC,CAAC;AAEF,MAAM,MAAM,iBAAiB,GAAG;IAC9B,QAAQ,EAAE,MAAM,CAAC;IACjB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,OAAO,EAAE,MAAM,CAAC;CACjB,CAAC;AAGF,MAAM,MAAM,qBAAqB,GAAG;IAClC,UAAU,EAAE;QACV,IAAI,EAAE,MAAM,CAAC;KACd,EAAE,CAAA;CACJ,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@or-sdk/bots",
|
|
3
|
-
"version": "1.5.2-beta.
|
|
3
|
+
"version": "1.5.2-beta.4000.0",
|
|
4
4
|
"license": "Apache-2.0",
|
|
5
5
|
"main": "dist/cjs/index.js",
|
|
6
6
|
"module": "dist/esm/index.js",
|
|
7
7
|
"types": "dist/types/index.d.ts",
|
|
8
8
|
"scripts": {
|
|
9
|
-
"build": "pnpm clean &&
|
|
9
|
+
"build": "pnpm clean && pnpm build:esm & pnpm build:cjs",
|
|
10
10
|
"build:cjs": "tsc --project tsconfig.json",
|
|
11
11
|
"build:esm": "tsc --project tsconfig.esm.json",
|
|
12
12
|
"build:types": "tsc --project tsconfig.types.json",
|
|
13
|
-
"build:watch": "concurrently
|
|
13
|
+
"build:watch": "concurrently -r --hide 1,2 \"pnpm build:watch:cjs\" \"pnpm build:watch:esm\" \"pnpm build:watch:types\"",
|
|
14
14
|
"build:watch:cjs": "tsc --project tsconfig.json -w",
|
|
15
15
|
"build:watch:esm": "tsc --project tsconfig.esm.json -w",
|
|
16
16
|
"build:watch:types": "tsc --project tsconfig.types.json -w",
|
|
@@ -18,9 +18,9 @@
|
|
|
18
18
|
"dev": "pnpm build:watch:esm"
|
|
19
19
|
},
|
|
20
20
|
"dependencies": {
|
|
21
|
-
"@or-sdk/base": "^0.42.
|
|
22
|
-
"@or-sdk/data-hub-svc": "^2.
|
|
23
|
-
"@or-sdk/tags": "^1.0.
|
|
21
|
+
"@or-sdk/base": "^0.42.5",
|
|
22
|
+
"@or-sdk/data-hub-svc": "^2.2.6",
|
|
23
|
+
"@or-sdk/tags": "^1.0.46"
|
|
24
24
|
},
|
|
25
25
|
"devDependencies": {
|
|
26
26
|
"concurrently": "9.0.1",
|
package/src/types.ts
CHANGED
|
@@ -55,6 +55,7 @@ export type ListBotsParams = {
|
|
|
55
55
|
projection?: string[];
|
|
56
56
|
sandbox?: boolean;
|
|
57
57
|
group?: string[];
|
|
58
|
+
sourceId?: string;
|
|
58
59
|
};
|
|
59
60
|
|
|
60
61
|
export type PaginationOptions = {
|
|
@@ -68,6 +69,7 @@ export type GetBotsParams = {
|
|
|
68
69
|
};
|
|
69
70
|
projection?: string[];
|
|
70
71
|
sandbox?: boolean;
|
|
72
|
+
sourceId?:string;
|
|
71
73
|
};
|
|
72
74
|
|
|
73
75
|
export type BotUploadIconResult = {
|