syllable-sdk 0.1.0-alpha.53 → 0.1.0-alpha.55
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/docs/sdks/agents/README.md +4 -4
- package/docs/sdks/datasources/README.md +6 -2
- package/hooks/hooks.d.ts.map +1 -1
- package/hooks/hooks.js +2 -0
- package/hooks/hooks.js.map +1 -1
- package/jsr.json +1 -1
- package/lib/config.d.ts +2 -2
- package/lib/config.js +2 -2
- package/models/components/agentwaitsound.d.ts +3 -0
- package/models/components/agentwaitsound.d.ts.map +1 -1
- package/models/components/agentwaitsound.js +1 -0
- package/models/components/agentwaitsound.js.map +1 -1
- package/models/components/datasourcecreaterequest.d.ts +4 -4
- package/models/components/datasourcecreaterequest.d.ts.map +1 -1
- package/models/components/datasourcecreaterequest.js +2 -2
- package/models/components/datasourcecreaterequest.js.map +1 -1
- package/models/components/datasourcedetailresponse.d.ts +4 -4
- package/models/components/datasourcedetailresponse.d.ts.map +1 -1
- package/models/components/datasourcedetailresponse.js +2 -2
- package/models/components/datasourcedetailresponse.js.map +1 -1
- package/models/components/datasourcemetadataresponse.d.ts +4 -4
- package/models/components/datasourcemetadataresponse.d.ts.map +1 -1
- package/models/components/datasourcemetadataresponse.js +2 -2
- package/models/components/datasourcemetadataresponse.js.map +1 -1
- package/models/components/datasourceupdaterequest.d.ts +4 -4
- package/models/components/datasourceupdaterequest.d.ts.map +1 -1
- package/models/components/datasourceupdaterequest.js +2 -2
- package/models/components/datasourceupdaterequest.js.map +1 -1
- package/models/components/promptcreaterequest.d.ts +1 -1
- package/models/components/promptupdaterequest.d.ts +1 -1
- package/openapi.json +125 -27
- package/package.json +1 -1
- package/src/hooks/hooks.ts +3 -0
- package/src/lib/config.ts +2 -2
- package/src/models/components/agentwaitsound.ts +1 -0
- package/src/models/components/datasourcecreaterequest.ts +6 -6
- package/src/models/components/datasourcedetailresponse.ts +6 -6
- package/src/models/components/datasourcemetadataresponse.ts +6 -6
- package/src/models/components/datasourceupdaterequest.ts +6 -6
- package/src/models/components/promptcreaterequest.ts +1 -1
- package/src/models/components/promptupdaterequest.ts +1 -1
|
@@ -119,7 +119,7 @@ async function run() {
|
|
|
119
119
|
"key1": "<value>",
|
|
120
120
|
},
|
|
121
121
|
sttProvider: "Google STT V2",
|
|
122
|
-
waitSound: "Keyboard
|
|
122
|
+
waitSound: "Keyboard 1",
|
|
123
123
|
});
|
|
124
124
|
|
|
125
125
|
// Handle the result
|
|
@@ -162,7 +162,7 @@ async function run() {
|
|
|
162
162
|
"key1": "<value>",
|
|
163
163
|
},
|
|
164
164
|
sttProvider: "Google STT V2",
|
|
165
|
-
waitSound: "Keyboard
|
|
165
|
+
waitSound: "Keyboard 1",
|
|
166
166
|
});
|
|
167
167
|
|
|
168
168
|
if (!res.ok) {
|
|
@@ -232,7 +232,7 @@ async function run() {
|
|
|
232
232
|
"key1": "<value>",
|
|
233
233
|
},
|
|
234
234
|
sttProvider: "Google STT V2",
|
|
235
|
-
waitSound: "Keyboard
|
|
235
|
+
waitSound: "Keyboard 1",
|
|
236
236
|
id: 488852,
|
|
237
237
|
});
|
|
238
238
|
|
|
@@ -278,7 +278,7 @@ async function run() {
|
|
|
278
278
|
"key1": "<value>",
|
|
279
279
|
},
|
|
280
280
|
sttProvider: "Google STT V2",
|
|
281
|
-
waitSound: "Keyboard
|
|
281
|
+
waitSound: "Keyboard 1",
|
|
282
282
|
id: 488852,
|
|
283
283
|
});
|
|
284
284
|
|
|
@@ -106,7 +106,8 @@ async function run() {
|
|
|
106
106
|
labels: [
|
|
107
107
|
"Weather Info",
|
|
108
108
|
],
|
|
109
|
-
chunk:
|
|
109
|
+
chunk: false,
|
|
110
|
+
chunkDelimiter: null,
|
|
110
111
|
text: "<value>",
|
|
111
112
|
});
|
|
112
113
|
|
|
@@ -138,7 +139,8 @@ async function run() {
|
|
|
138
139
|
labels: [
|
|
139
140
|
"Weather Info",
|
|
140
141
|
],
|
|
141
|
-
chunk:
|
|
142
|
+
chunk: false,
|
|
143
|
+
chunkDelimiter: null,
|
|
142
144
|
text: "<value>",
|
|
143
145
|
});
|
|
144
146
|
|
|
@@ -196,6 +198,7 @@ async function run() {
|
|
|
196
198
|
"Weather Info",
|
|
197
199
|
],
|
|
198
200
|
chunk: false,
|
|
201
|
+
chunkDelimiter: null,
|
|
199
202
|
id: 1,
|
|
200
203
|
editComments: "Added new info",
|
|
201
204
|
text: "<value>",
|
|
@@ -230,6 +233,7 @@ async function run() {
|
|
|
230
233
|
"Weather Info",
|
|
231
234
|
],
|
|
232
235
|
chunk: false,
|
|
236
|
+
chunkDelimiter: null,
|
|
233
237
|
id: 1,
|
|
234
238
|
editComments: "Added new info",
|
|
235
239
|
text: "<value>",
|
package/hooks/hooks.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"hooks.d.ts","sourceRoot":"","sources":["../src/hooks/hooks.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAC;AAC9C,OAAO,EACL,iBAAiB,EACjB,cAAc,EACd,mBAAmB,EACnB,gBAAgB,EAChB,0BAA0B,EAC1B,uBAAuB,EACvB,oBAAoB,EACpB,iBAAiB,EAEjB,KAAK,EACL,WAAW,EACX,cAAc,EACf,MAAM,YAAY,CAAC;
|
|
1
|
+
{"version":3,"file":"hooks.d.ts","sourceRoot":"","sources":["../src/hooks/hooks.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAC;AAC9C,OAAO,EACL,iBAAiB,EACjB,cAAc,EACd,mBAAmB,EACnB,gBAAgB,EAChB,0BAA0B,EAC1B,uBAAuB,EACvB,oBAAoB,EACpB,iBAAiB,EAEjB,KAAK,EACL,WAAW,EACX,cAAc,EACf,MAAM,YAAY,CAAC;AAIpB,qBAAa,QAAS,YAAW,KAAK;IACpC,YAAY,EAAE,WAAW,EAAE,CAAM;IACjC,wBAAwB,EAAE,uBAAuB,EAAE,CAAM;IACzD,kBAAkB,EAAE,iBAAiB,EAAE,CAAM;IAC7C,iBAAiB,EAAE,gBAAgB,EAAE,CAAM;IAC3C,eAAe,EAAE,cAAc,EAAE,CAAM;;IAyBvC,mBAAmB,CAAC,IAAI,EAAE,WAAW;IAIrC,+BAA+B,CAAC,IAAI,EAAE,uBAAuB;IAI7D,yBAAyB,CAAC,IAAI,EAAE,iBAAiB;IAIjD,wBAAwB,CAAC,IAAI,EAAE,gBAAgB;IAI/C,sBAAsB,CAAC,IAAI,EAAE,cAAc;IAI3C,OAAO,CAAC,IAAI,EAAE,cAAc,GAAG,cAAc;IAI7C,mBAAmB,CACjB,OAAO,EAAE,0BAA0B,EACnC,KAAK,EAAE,YAAY,GAClB,YAAY;IAUT,aAAa,CACjB,OAAO,EAAE,oBAAoB,EAC7B,OAAO,EAAE,OAAO,GACf,OAAO,CAAC,OAAO,CAAC;IAUb,YAAY,CAChB,OAAO,EAAE,mBAAmB,EAC5B,QAAQ,EAAE,QAAQ,GACjB,OAAO,CAAC,QAAQ,CAAC;IAUd,UAAU,CACd,OAAO,EAAE,iBAAiB,EAC1B,QAAQ,EAAE,QAAQ,GAAG,IAAI,EACzB,KAAK,EAAE,OAAO,GACb,OAAO,CAAC;QAAE,QAAQ,EAAE,QAAQ,GAAG,IAAI,CAAC;QAAC,KAAK,EAAE,OAAO,CAAA;KAAE,CAAC;CAY1D"}
|
package/hooks/hooks.js
CHANGED
|
@@ -4,6 +4,7 @@
|
|
|
4
4
|
*/
|
|
5
5
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
6
|
exports.SDKHooks = void 0;
|
|
7
|
+
const registration_js_1 = require("./registration.js");
|
|
7
8
|
class SDKHooks {
|
|
8
9
|
constructor() {
|
|
9
10
|
this.sdkInitHooks = [];
|
|
@@ -29,6 +30,7 @@ class SDKHooks {
|
|
|
29
30
|
this.registerAfterErrorHook(hook);
|
|
30
31
|
}
|
|
31
32
|
}
|
|
33
|
+
(0, registration_js_1.initHooks)(this);
|
|
32
34
|
}
|
|
33
35
|
registerSDKInitHook(hook) {
|
|
34
36
|
this.sdkInitHooks.push(hook);
|
package/hooks/hooks.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"hooks.js","sourceRoot":"","sources":["../src/hooks/hooks.ts"],"names":[],"mappings":";AAAA;;GAEG;;;AAkBH,MAAa,QAAQ;IAOnB;QANA,iBAAY,GAAkB,EAAE,CAAC;QACjC,6BAAwB,GAA8B,EAAE,CAAC;QACzD,uBAAkB,GAAwB,EAAE,CAAC;QAC7C,sBAAiB,GAAuB,EAAE,CAAC;QAC3C,oBAAe,GAAqB,EAAE,CAAC;QAGrC,MAAM,WAAW,GAAgB,EAAE,CAAC;QAEpC,KAAK,MAAM,IAAI,IAAI,WAAW,EAAE,CAAC;YAC/B,IAAI,SAAS,IAAI,IAAI,EAAE,CAAC;gBACtB,IAAI,CAAC,mBAAmB,CAAC,IAAI,CAAC,CAAC;YACjC,CAAC;YACD,IAAI,qBAAqB,IAAI,IAAI,EAAE,CAAC;gBAClC,IAAI,CAAC,+BAA+B,CAAC,IAAI,CAAC,CAAC;YAC7C,CAAC;YACD,IAAI,eAAe,IAAI,IAAI,EAAE,CAAC;gBAC5B,IAAI,CAAC,yBAAyB,CAAC,IAAI,CAAC,CAAC;YACvC,CAAC;YACD,IAAI,cAAc,IAAI,IAAI,EAAE,CAAC;gBAC3B,IAAI,CAAC,wBAAwB,CAAC,IAAI,CAAC,CAAC;YACtC,CAAC;YACD,IAAI,YAAY,IAAI,IAAI,EAAE,CAAC;gBACzB,IAAI,CAAC,sBAAsB,CAAC,IAAI,CAAC,CAAC;YACpC,CAAC;QACH,CAAC;
|
|
1
|
+
{"version":3,"file":"hooks.js","sourceRoot":"","sources":["../src/hooks/hooks.ts"],"names":[],"mappings":";AAAA;;GAEG;;;AAkBH,uDAA8C;AAE9C,MAAa,QAAQ;IAOnB;QANA,iBAAY,GAAkB,EAAE,CAAC;QACj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QAEhB,KAAK,MAAM,IAAI,IAAI,IAAI,CAAC,eAAe,EAAE,CAAC;YACxC,MAAM,MAAM,GAAG,MAAM,IAAI,CAAC,UAAU,CAAC,OAAO,EAAE,GAAG,EAAE,GAAG,CAAC,CAAC;YACxD,GAAG,GAAG,MAAM,CAAC,QAAQ,CAAC;YACtB,GAAG,GAAG,MAAM,CAAC,KAAK,CAAC;QACrB,CAAC;QAED,OAAO,EAAE,QAAQ,EAAE,GAAG,EAAE,KAAK,EAAE,GAAG,EAAE,CAAC;IACvC,CAAC;CACF;AA7GD,4BA6GC"}
|
package/jsr.json
CHANGED
package/lib/config.d.ts
CHANGED
|
@@ -27,8 +27,8 @@ export declare function serverURLFromOptions(options: SDKOptions): URL | null;
|
|
|
27
27
|
export declare const SDK_METADATA: {
|
|
28
28
|
readonly language: "typescript";
|
|
29
29
|
readonly openapiDocVersion: "0.0.2";
|
|
30
|
-
readonly sdkVersion: "0.1.0-alpha.
|
|
30
|
+
readonly sdkVersion: "0.1.0-alpha.55";
|
|
31
31
|
readonly genVersion: "2.512.4";
|
|
32
|
-
readonly userAgent: "speakeasy-sdk/typescript 0.1.0-alpha.
|
|
32
|
+
readonly userAgent: "speakeasy-sdk/typescript 0.1.0-alpha.55 2.512.4 0.0.2 syllable-sdk";
|
|
33
33
|
};
|
|
34
34
|
//# sourceMappingURL=config.d.ts.map
|
package/lib/config.js
CHANGED
|
@@ -31,8 +31,8 @@ function serverURLFromOptions(options) {
|
|
|
31
31
|
exports.SDK_METADATA = {
|
|
32
32
|
language: "typescript",
|
|
33
33
|
openapiDocVersion: "0.0.2",
|
|
34
|
-
sdkVersion: "0.1.0-alpha.
|
|
34
|
+
sdkVersion: "0.1.0-alpha.55",
|
|
35
35
|
genVersion: "2.512.4",
|
|
36
|
-
userAgent: "speakeasy-sdk/typescript 0.1.0-alpha.
|
|
36
|
+
userAgent: "speakeasy-sdk/typescript 0.1.0-alpha.55 2.512.4 0.0.2 syllable-sdk",
|
|
37
37
|
};
|
|
38
38
|
//# sourceMappingURL=config.js.map
|
|
@@ -4,6 +4,7 @@ import { ClosedEnum } from "../../types/enums.js";
|
|
|
4
4
|
* Wait sounds supported by agents.
|
|
5
5
|
*/
|
|
6
6
|
export declare const AgentWaitSound: {
|
|
7
|
+
readonly NoSound: "No Sound";
|
|
7
8
|
readonly Keyboard1: "Keyboard 1";
|
|
8
9
|
readonly Keyboard2: "Keyboard 2";
|
|
9
10
|
readonly CallCenter: "Call Center";
|
|
@@ -23,12 +24,14 @@ export declare const AgentWaitSound$outboundSchema: z.ZodNativeEnum<typeof Agent
|
|
|
23
24
|
export declare namespace AgentWaitSound$ {
|
|
24
25
|
/** @deprecated use `AgentWaitSound$inboundSchema` instead. */
|
|
25
26
|
const inboundSchema: z.ZodNativeEnum<{
|
|
27
|
+
readonly NoSound: "No Sound";
|
|
26
28
|
readonly Keyboard1: "Keyboard 1";
|
|
27
29
|
readonly Keyboard2: "Keyboard 2";
|
|
28
30
|
readonly CallCenter: "Call Center";
|
|
29
31
|
}>;
|
|
30
32
|
/** @deprecated use `AgentWaitSound$outboundSchema` instead. */
|
|
31
33
|
const outboundSchema: z.ZodNativeEnum<{
|
|
34
|
+
readonly NoSound: "No Sound";
|
|
32
35
|
readonly Keyboard1: "Keyboard 1";
|
|
33
36
|
readonly Keyboard2: "Keyboard 2";
|
|
34
37
|
readonly CallCenter: "Call Center";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"agentwaitsound.d.ts","sourceRoot":"","sources":["../../src/models/components/agentwaitsound.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,KAAK,CAAC;AACzB,OAAO,EAAE,UAAU,EAAE,MAAM,sBAAsB,CAAC;AAElD;;GAEG;AACH,eAAO,MAAM,cAAc
|
|
1
|
+
{"version":3,"file":"agentwaitsound.d.ts","sourceRoot":"","sources":["../../src/models/components/agentwaitsound.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,KAAK,CAAC;AACzB,OAAO,EAAE,UAAU,EAAE,MAAM,sBAAsB,CAAC;AAElD;;GAEG;AACH,eAAO,MAAM,cAAc;;;;;CAKjB,CAAC;AACX;;GAEG;AACH,MAAM,MAAM,cAAc,GAAG,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC;AAE/D,gBAAgB;AAChB,eAAO,MAAM,4BAA4B,EAAE,CAAC,CAAC,aAAa,CACxD,OAAO,cAAc,CACS,CAAC;AAEjC,gBAAgB;AAChB,eAAO,MAAM,6BAA6B,EAAE,CAAC,CAAC,aAAa,CACzD,OAAO,cAAc,CACS,CAAC;AAEjC;;;GAGG;AACH,yBAAiB,eAAe,CAAC;IAC/B,8DAA8D;IACvD,MAAM,aAAa;;;;;MAA+B,CAAC;IAC1D,+DAA+D;IACxD,MAAM,cAAc;;;;;MAAgC,CAAC;CAC7D"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"agentwaitsound.js","sourceRoot":"","sources":["../../src/models/components/agentwaitsound.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;AAEH,uCAAyB;AAGzB;;GAEG;AACU,QAAA,cAAc,GAAG;IAC5B,SAAS,EAAE,YAAY;IACvB,SAAS,EAAE,YAAY;IACvB,UAAU,EAAE,aAAa;CACjB,CAAC;AAMX,gBAAgB;AACH,QAAA,4BAA4B,GAErC,CAAC,CAAC,UAAU,CAAC,sBAAc,CAAC,CAAC;AAEjC,gBAAgB;AACH,QAAA,6BAA6B,GAEtC,oCAA4B,CAAC;AAEjC;;;GAGG;AACH,IAAiB,eAAe,CAK/B;AALD,WAAiB,eAAe;IAC9B,8DAA8D;IACjD,6BAAa,GAAG,oCAA4B,CAAC;IAC1D,+DAA+D;IAClD,8BAAc,GAAG,qCAA6B,CAAC;AAC9D,CAAC,EALgB,eAAe,+BAAf,eAAe,QAK/B"}
|
|
1
|
+
{"version":3,"file":"agentwaitsound.js","sourceRoot":"","sources":["../../src/models/components/agentwaitsound.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;AAEH,uCAAyB;AAGzB;;GAEG;AACU,QAAA,cAAc,GAAG;IAC5B,OAAO,EAAE,UAAU;IACnB,SAAS,EAAE,YAAY;IACvB,SAAS,EAAE,YAAY;IACvB,UAAU,EAAE,aAAa;CACjB,CAAC;AAMX,gBAAgB;AACH,QAAA,4BAA4B,GAErC,CAAC,CAAC,UAAU,CAAC,sBAAc,CAAC,CAAC;AAEjC,gBAAgB;AACH,QAAA,6BAA6B,GAEtC,oCAA4B,CAAC;AAEjC;;;GAGG;AACH,IAAiB,eAAe,CAK/B;AALD,WAAiB,eAAe;IAC9B,8DAA8D;IACjD,6BAAa,GAAG,oCAA4B,CAAC;IAC1D,+DAA+D;IAClD,8BAAc,GAAG,qCAA6B,CAAC;AAC9D,CAAC,EALgB,eAAe,+BAAf,eAAe,QAK/B"}
|
|
@@ -15,13 +15,13 @@ export type DataSourceCreateRequest = {
|
|
|
15
15
|
*/
|
|
16
16
|
labels?: Array<string> | undefined;
|
|
17
17
|
/**
|
|
18
|
-
* Whether the content should be split into smaller chunks. This
|
|
18
|
+
* Whether the content should be split into smaller chunks. (This feature is coming in the future - currently this value will always be treated as False.)
|
|
19
19
|
*/
|
|
20
20
|
chunk: boolean;
|
|
21
21
|
/**
|
|
22
|
-
* String that should be treated as delimiter between intended chunks
|
|
22
|
+
* String that should be treated as delimiter between intended chunks. (This feature is coming in the future - currently this value will always be treated as None.)
|
|
23
23
|
*/
|
|
24
|
-
chunkDelimiter?: string | undefined;
|
|
24
|
+
chunkDelimiter?: string | null | undefined;
|
|
25
25
|
/**
|
|
26
26
|
* Information that the data source will provide to the agent accessing it.
|
|
27
27
|
*/
|
|
@@ -35,7 +35,7 @@ export type DataSourceCreateRequest$Outbound = {
|
|
|
35
35
|
description?: string | null | undefined;
|
|
36
36
|
labels?: Array<string> | undefined;
|
|
37
37
|
chunk: boolean;
|
|
38
|
-
chunk_delimiter
|
|
38
|
+
chunk_delimiter?: string | null | undefined;
|
|
39
39
|
text: string;
|
|
40
40
|
};
|
|
41
41
|
/** @internal */
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"datasourcecreaterequest.d.ts","sourceRoot":"","sources":["../../src/models/components/datasourcecreaterequest.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,KAAK,CAAC;AAGzB,OAAO,EAAE,MAAM,IAAI,eAAe,EAAE,MAAM,mBAAmB,CAAC;AAC9D,OAAO,EAAE,kBAAkB,EAAE,MAAM,iCAAiC,CAAC;AAErE,MAAM,MAAM,uBAAuB,GAAG;IACpC;;OAEG;IACH,IAAI,EAAE,MAAM,CAAC;IACb;;OAEG;IACH,WAAW,CAAC,EAAE,MAAM,GAAG,IAAI,GAAG,SAAS,CAAC;IACxC;;OAEG;IACH,MAAM,CAAC,EAAE,KAAK,CAAC,MAAM,CAAC,GAAG,SAAS,CAAC;IACnC;;OAEG;IACH,KAAK,EAAE,OAAO,CAAC;IACf;;OAEG;IACH,cAAc,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;
|
|
1
|
+
{"version":3,"file":"datasourcecreaterequest.d.ts","sourceRoot":"","sources":["../../src/models/components/datasourcecreaterequest.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,KAAK,CAAC;AAGzB,OAAO,EAAE,MAAM,IAAI,eAAe,EAAE,MAAM,mBAAmB,CAAC;AAC9D,OAAO,EAAE,kBAAkB,EAAE,MAAM,iCAAiC,CAAC;AAErE,MAAM,MAAM,uBAAuB,GAAG;IACpC;;OAEG;IACH,IAAI,EAAE,MAAM,CAAC;IACb;;OAEG;IACH,WAAW,CAAC,EAAE,MAAM,GAAG,IAAI,GAAG,SAAS,CAAC;IACxC;;OAEG;IACH,MAAM,CAAC,EAAE,KAAK,CAAC,MAAM,CAAC,GAAG,SAAS,CAAC;IACnC;;OAEG;IACH,KAAK,EAAE,OAAO,CAAC;IACf;;OAEG;IACH,cAAc,CAAC,EAAE,MAAM,GAAG,IAAI,GAAG,SAAS,CAAC;IAC3C;;OAEG;IACH,IAAI,EAAE,MAAM,CAAC;CACd,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,qCAAqC,EAAE,CAAC,CAAC,OAAO,CAC3D,uBAAuB,EACvB,CAAC,CAAC,UAAU,EACZ,OAAO,CAYP,CAAC;AAEH,gBAAgB;AAChB,MAAM,MAAM,gCAAgC,GAAG;IAC7C,IAAI,EAAE,MAAM,CAAC;IACb,WAAW,CAAC,EAAE,MAAM,GAAG,IAAI,GAAG,SAAS,CAAC;IACxC,MAAM,CAAC,EAAE,KAAK,CAAC,MAAM,CAAC,GAAG,SAAS,CAAC;IACnC,KAAK,EAAE,OAAO,CAAC;IACf,eAAe,CAAC,EAAE,MAAM,GAAG,IAAI,GAAG,SAAS,CAAC;IAC5C,IAAI,EAAE,MAAM,CAAC;CACd,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,sCAAsC,EAAE,CAAC,CAAC,OAAO,CAC5D,gCAAgC,EAChC,CAAC,CAAC,UAAU,EACZ,uBAAuB,CAYvB,CAAC;AAEH;;;GAGG;AACH,yBAAiB,wBAAwB,CAAC;IACxC,uEAAuE;IAChE,MAAM,aAAa,2DAAwC,CAAC;IACnE,wEAAwE;IACjE,MAAM,cAAc,oFAAyC,CAAC;IACrE,kEAAkE;IAClE,KAAY,QAAQ,GAAG,gCAAgC,CAAC;CACzD;AAED,wBAAgB,6BAA6B,CAC3C,uBAAuB,EAAE,uBAAuB,GAC/C,MAAM,CAIR;AAED,wBAAgB,+BAA+B,CAC7C,UAAU,EAAE,MAAM,GACjB,eAAe,CAAC,uBAAuB,EAAE,kBAAkB,CAAC,CAM9D"}
|
|
@@ -38,7 +38,7 @@ exports.DataSourceCreateRequest$inboundSchema = z.object({
|
|
|
38
38
|
description: z.nullable(z.string()).optional(),
|
|
39
39
|
labels: z.array(z.string()).optional(),
|
|
40
40
|
chunk: z.boolean(),
|
|
41
|
-
chunk_delimiter: z.string().
|
|
41
|
+
chunk_delimiter: z.nullable(z.string()).optional(),
|
|
42
42
|
text: z.string(),
|
|
43
43
|
}).transform((v) => {
|
|
44
44
|
return (0, primitives_js_1.remap)(v, {
|
|
@@ -51,7 +51,7 @@ exports.DataSourceCreateRequest$outboundSchema = z.object({
|
|
|
51
51
|
description: z.nullable(z.string()).optional(),
|
|
52
52
|
labels: z.array(z.string()).optional(),
|
|
53
53
|
chunk: z.boolean(),
|
|
54
|
-
chunkDelimiter: z.string().
|
|
54
|
+
chunkDelimiter: z.nullable(z.string()).optional(),
|
|
55
55
|
text: z.string(),
|
|
56
56
|
}).transform((v) => {
|
|
57
57
|
return (0, primitives_js_1.remap)(v, {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"datasourcecreaterequest.js","sourceRoot":"","sources":["../../src/models/components/datasourcecreaterequest.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;AA8FH,sEAMC;AAED,0EAQC;AA5GD,uCAAyB;AACzB,2DAA0D;AAC1D,qDAAiD;AA+BjD,gBAAgB;AACH,QAAA,qCAAqC,GAI9C,CAAC,CAAC,MAAM,CAAC;IACX,IAAI,EAAE,CAAC,CAAC,MAAM,EAAE;IAChB,WAAW,EAAE,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,MAAM,EAAE,CAAC,CAAC,QAAQ,EAAE;IAC9C,MAAM,EAAE,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,MAAM,EAAE,CAAC,CAAC,QAAQ,EAAE;IACtC,KAAK,EAAE,CAAC,CAAC,OAAO,EAAE;IAClB,eAAe,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,
|
|
1
|
+
{"version":3,"file":"datasourcecreaterequest.js","sourceRoot":"","sources":["../../src/models/components/datasourcecreaterequest.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;AA8FH,sEAMC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AA,qBAAM,EAAC,CAAC,EAAE;QACf,cAAc,EAAE,iBAAiB;KAClC,CAAC,CAAC;AACL,CAAC,CAAC,CAAC;AAEH;;;GAGG;AACH,IAAiB,wBAAwB,CAOxC;AAPD,WAAiB,wBAAwB;IACvC,uEAAuE;IAC1D,sCAAa,GAAG,6CAAqC,CAAC;IACnE,wEAAwE;IAC3D,uCAAc,GAAG,8CAAsC,CAAC;AAGvE,CAAC,EAPgB,wBAAwB,wCAAxB,wBAAwB,QAOxC;AAED,SAAgB,6BAA6B,CAC3C,uBAAgD;IAEhD,OAAO,IAAI,CAAC,SAAS,CACnB,8CAAsC,CAAC,KAAK,CAAC,uBAAuB,CAAC,CACtE,CAAC;AACJ,CAAC;AAED,SAAgB,+BAA+B,CAC7C,UAAkB;IAElB,OAAO,IAAA,sBAAS,EACd,UAAU,EACV,CAAC,CAAC,EAAE,EAAE,CAAC,6CAAqC,CAAC,KAAK,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,EACjE,qDAAqD,CACtD,CAAC;AACJ,CAAC"}
|
|
@@ -18,13 +18,13 @@ export type DataSourceDetailResponse = {
|
|
|
18
18
|
*/
|
|
19
19
|
labels?: Array<string> | undefined;
|
|
20
20
|
/**
|
|
21
|
-
* Whether the content should be split into smaller chunks. This
|
|
21
|
+
* Whether the content should be split into smaller chunks. (This feature is coming in the future - currently this value will always be treated as False.)
|
|
22
22
|
*/
|
|
23
23
|
chunk: boolean;
|
|
24
24
|
/**
|
|
25
|
-
* String that should be treated as delimiter between intended chunks
|
|
25
|
+
* String that should be treated as delimiter between intended chunks. (This feature is coming in the future - currently this value will always be treated as None.)
|
|
26
26
|
*/
|
|
27
|
-
chunkDelimiter?: string | undefined;
|
|
27
|
+
chunkDelimiter?: string | null | undefined;
|
|
28
28
|
/**
|
|
29
29
|
* The data source ID.
|
|
30
30
|
*/
|
|
@@ -54,7 +54,7 @@ export type DataSourceDetailResponse$Outbound = {
|
|
|
54
54
|
description?: string | null | undefined;
|
|
55
55
|
labels?: Array<string> | undefined;
|
|
56
56
|
chunk: boolean;
|
|
57
|
-
chunk_delimiter
|
|
57
|
+
chunk_delimiter?: string | null | undefined;
|
|
58
58
|
id: number;
|
|
59
59
|
edit_comments?: string | null | undefined;
|
|
60
60
|
updated_at: string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"datasourcedetailresponse.d.ts","sourceRoot":"","sources":["../../src/models/components/datasourcedetailresponse.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,KAAK,CAAC;AAGzB,OAAO,EAAE,MAAM,IAAI,eAAe,EAAE,MAAM,mBAAmB,CAAC;AAC9D,OAAO,EAAE,kBAAkB,EAAE,MAAM,iCAAiC,CAAC;AAErE;;GAEG;AACH,MAAM,MAAM,wBAAwB,GAAG;IACrC;;OAEG;IACH,IAAI,EAAE,MAAM,CAAC;IACb;;OAEG;IACH,WAAW,CAAC,EAAE,MAAM,GAAG,IAAI,GAAG,SAAS,CAAC;IACxC;;OAEG;IACH,MAAM,CAAC,EAAE,KAAK,CAAC,MAAM,CAAC,GAAG,SAAS,CAAC;IACnC;;OAEG;IACH,KAAK,EAAE,OAAO,CAAC;IACf;;OAEG;IACH,cAAc,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;
|
|
1
|
+
{"version":3,"file":"datasourcedetailresponse.d.ts","sourceRoot":"","sources":["../../src/models/components/datasourcedetailresponse.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,KAAK,CAAC;AAGzB,OAAO,EAAE,MAAM,IAAI,eAAe,EAAE,MAAM,mBAAmB,CAAC;AAC9D,OAAO,EAAE,kBAAkB,EAAE,MAAM,iCAAiC,CAAC;AAErE;;GAEG;AACH,MAAM,MAAM,wBAAwB,GAAG;IACrC;;OAEG;IACH,IAAI,EAAE,MAAM,CAAC;IACb;;OAEG;IACH,WAAW,CAAC,EAAE,MAAM,GAAG,IAAI,GAAG,SAAS,CAAC;IACxC;;O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AiB,yBAAyB,CAAC;IACzC,wEAAwE;IACjE,MAAM,aAAa,4DAAyC,CAAC;IACpE,yEAAyE;IAClE,MAAM,cAAc,sFAA0C,CAAC;IACtE,mEAAmE;IACnE,KAAY,QAAQ,GAAG,iCAAiC,CAAC;CAC1D;AAED,wBAAgB,8BAA8B,CAC5C,wBAAwB,EAAE,wBAAwB,GACjD,MAAM,CAIR;AAED,wBAAgB,gCAAgC,CAC9C,UAAU,EAAE,MAAM,GACjB,eAAe,CAAC,wBAAwB,EAAE,kBAAkB,CAAC,CAM/D"}
|
|
@@ -38,7 +38,7 @@ exports.DataSourceDetailResponse$inboundSchema = z.object({
|
|
|
38
38
|
description: z.nullable(z.string()).optional(),
|
|
39
39
|
labels: z.array(z.string()).optional(),
|
|
40
40
|
chunk: z.boolean(),
|
|
41
|
-
chunk_delimiter: z.string().
|
|
41
|
+
chunk_delimiter: z.nullable(z.string()).optional(),
|
|
42
42
|
id: z.number().int(),
|
|
43
43
|
edit_comments: z.nullable(z.string()).optional(),
|
|
44
44
|
updated_at: z.string().datetime({ offset: true }).transform(v => new Date(v)),
|
|
@@ -58,7 +58,7 @@ exports.DataSourceDetailResponse$outboundSchema = z.object({
|
|
|
58
58
|
description: z.nullable(z.string()).optional(),
|
|
59
59
|
labels: z.array(z.string()).optional(),
|
|
60
60
|
chunk: z.boolean(),
|
|
61
|
-
chunkDelimiter: z.string().
|
|
61
|
+
chunkDelimiter: z.nullable(z.string()).optional(),
|
|
62
62
|
id: z.number().int(),
|
|
63
63
|
editComments: z.nullable(z.string()).optional(),
|
|
64
64
|
updatedAt: z.date().transform(v => v.toISOString()),
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"datasourcedetailresponse.js","sourceRoot":"","sources":["../../src/models/components/datasourcedetailresponse.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;AAmIH,wEAMC;AAED,4EAQC;AAjJD,uCAAyB;AACzB,2DAA0D;AAC1D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C,CAAC,MAAM,EAAE,CAAC;IACrC,IAAI,EAAE,CAAC,CAAC,MAAM,EAAE;CACjB,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,EAAE,EAAE;IACjB,OAAO,IAAA,qBAAM,EAAC,CAAC,EAAE;QACf,cAAc,EAAE,iBAAiB;QACjC,YAAY,EAAE,eAAe;QAC7B,SAAS,EAAE,YAAY;QACvB,aAAa,EAAE,iBAAiB;KACjC,CAAC,CAAC;AACL,CAAC,CAAC,CAAC;AAEH;;;GAGG;AACH,IAAiB,yBAAyB,CAOzC;AAPD,WAAiB,yBAAyB;IACxC,wEAAwE;IAC3D,uCAAa,GAAG,8CAAsC,CAAC;IACpE,yEAAyE;IAC5D,wCAAc,GAAG,+CAAuC,CAAC;AAGxE,CAAC,EAPgB,yBAAyB,yCAAzB,yBAAyB,QAOzC;AAED,SAAgB,8BAA8B,CAC5C,wBAAkD;IAElD,OAAO,IAAI,CAAC,SAAS,CACnB,+CAAuC,CAAC,KAAK,CAAC,wBAAwB,CAAC,CACxE,CAAC;AACJ,CAAC;AAED,SAAgB,gCAAgC,CAC9C,UAAkB;IAElB,OAAO,IAAA,sBAAS,EACd,UAAU,EACV,CAAC,CAAC,EAAE,EAAE,CAAC,8CAAsC,CAAC,KAAK,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,EAClE,sDAAsD,CACvD,CAAC;AACJ,CAAC"}
|
|
@@ -18,13 +18,13 @@ export type DataSourceMetadataResponse = {
|
|
|
18
18
|
*/
|
|
19
19
|
labels?: Array<string> | undefined;
|
|
20
20
|
/**
|
|
21
|
-
* Whether the content should be split into smaller chunks. This
|
|
21
|
+
* Whether the content should be split into smaller chunks. (This feature is coming in the future - currently this value will always be treated as False.)
|
|
22
22
|
*/
|
|
23
23
|
chunk: boolean;
|
|
24
24
|
/**
|
|
25
|
-
* String that should be treated as delimiter between intended chunks
|
|
25
|
+
* String that should be treated as delimiter between intended chunks. (This feature is coming in the future - currently this value will always be treated as None.)
|
|
26
26
|
*/
|
|
27
|
-
chunkDelimiter?: string | undefined;
|
|
27
|
+
chunkDelimiter?: string | null | undefined;
|
|
28
28
|
/**
|
|
29
29
|
* The data source ID.
|
|
30
30
|
*/
|
|
@@ -50,7 +50,7 @@ export type DataSourceMetadataResponse$Outbound = {
|
|
|
50
50
|
description?: string | null | undefined;
|
|
51
51
|
labels?: Array<string> | undefined;
|
|
52
52
|
chunk: boolean;
|
|
53
|
-
chunk_delimiter
|
|
53
|
+
chunk_delimiter?: string | null | undefined;
|
|
54
54
|
id: number;
|
|
55
55
|
edit_comments?: string | null | undefined;
|
|
56
56
|
updated_at: string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"datasourcemetadataresponse.d.ts","sourceRoot":"","sources":["../../src/models/components/datasourcemetadataresponse.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,KAAK,CAAC;AAGzB,OAAO,EAAE,MAAM,IAAI,eAAe,EAAE,MAAM,mBAAmB,CAAC;AAC9D,OAAO,EAAE,kBAAkB,EAAE,MAAM,iCAAiC,CAAC;AAErE;;GAEG;AACH,MAAM,MAAM,0BAA0B,GAAG;IACvC;;OAEG;IACH,IAAI,EAAE,MAAM,CAAC;IACb;;OAEG;IACH,WAAW,CAAC,EAAE,MAAM,GAAG,IAAI,GAAG,SAAS,CAAC;IACxC;;OAEG;IACH,MAAM,CAAC,EAAE,KAAK,CAAC,MAAM,CAAC,GAAG,SAAS,CAAC;IACnC;;OAEG;IACH,KAAK,EAAE,OAAO,CAAC;IACf;;OAEG;IACH,cAAc,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;
|
|
1
|
+
{"version":3,"file":"datasourcemetadataresponse.d.ts","sourceRoot":"","sources":["../../src/models/components/datasourcemetadataresponse.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,KAAK,CAAC;AAGzB,OAAO,EAAE,MAAM,IAAI,eAAe,EAAE,MAAM,mBAAmB,CAAC;A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AAgB;AAChB,eAAO,MAAM,yCAAyC,EAAE,CAAC,CAAC,OAAO,CAC/D,mCAAmC,EACnC,CAAC,CAAC,UAAU,EACZ,0BAA0B,CAkB1B,CAAC;AAEH;;;GAGG;AACH,yBAAiB,2BAA2B,CAAC;IAC3C,0EAA0E;IACnE,MAAM,aAAa,8DAA2C,CAAC;IACtE,2EAA2E;IACpE,MAAM,cAAc,0FAA4C,CAAC;IACxE,qEAAqE;IACrE,KAAY,QAAQ,GAAG,mCAAmC,CAAC;CAC5D;AAED,wBAAgB,gCAAgC,CAC9C,0BAA0B,EAAE,0BAA0B,GACrD,MAAM,CAIR;AAED,wBAAgB,kCAAkC,CAChD,UAAU,EAAE,MAAM,GACjB,eAAe,CAAC,0BAA0B,EAAE,kBAAkB,CAAC,CAMjE"}
|
|
@@ -38,7 +38,7 @@ exports.DataSourceMetadataResponse$inboundSchema = z.object({
|
|
|
38
38
|
description: z.nullable(z.string()).optional(),
|
|
39
39
|
labels: z.array(z.string()).optional(),
|
|
40
40
|
chunk: z.boolean(),
|
|
41
|
-
chunk_delimiter: z.string().
|
|
41
|
+
chunk_delimiter: z.nullable(z.string()).optional(),
|
|
42
42
|
id: z.number().int(),
|
|
43
43
|
edit_comments: z.nullable(z.string()).optional(),
|
|
44
44
|
updated_at: z.string().datetime({ offset: true }).transform(v => new Date(v)),
|
|
@@ -57,7 +57,7 @@ exports.DataSourceMetadataResponse$outboundSchema = z.object({
|
|
|
57
57
|
description: z.nullable(z.string()).optional(),
|
|
58
58
|
labels: z.array(z.string()).optional(),
|
|
59
59
|
chunk: z.boolean(),
|
|
60
|
-
chunkDelimiter: z.string().
|
|
60
|
+
chunkDelimiter: z.nullable(z.string()).optional(),
|
|
61
61
|
id: z.number().int(),
|
|
62
62
|
editComments: z.nullable(z.string()).optional(),
|
|
63
63
|
updatedAt: z.date().transform(v => v.toISOString()),
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"datasourcemetadataresponse.js","sourceRoot":"","sources":["../../src/models/components/datasourcemetadataresponse.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;AA4HH,4EAMC;AAED,gFAQC;AA1ID,uCAAyB;AACzB,2DAA0D;AAC1D,qDAAiD;AA8CjD,gBAAgB;AACH,QAAA,wCAAwC,GAIjD,CAAC,CAAC,MAAM,CAAC;IACX,IAAI,EAAE,CAAC,CAAC,MAAM,EAAE;IAChB,WAAW,EAAE,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,MAAM,EAAE,CAAC,CAAC,QAAQ,EAAE;IAC9C,MAAM,EAAE,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,MAAM,EAAE,CAAC,CAAC,QAAQ,EAAE;IACtC,KAAK,EAAE,CAAC,CAAC,OAAO,EAAE;IAClB,eAAe,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,
|
|
1
|
+
{"version":3,"file":"datasourcemetadataresponse.js","sourceRoot":"","sources":["../../src/models/components/datasourcemetadataresponse.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;AA4HH,4EAMC;AAED,gFAQC;AA1ID,uCAAyB;AACzB,2DAA0D;AAC1D,qDAAiD;AA8CjD,gBAAgB;AACH,QAAA,wCAAwC,GAIjD,CAAC,CAAC,MAAM,CAAC;IACX,IAAI,EAAE,CAAC,CAAC,MAAM,EAAE;IAChB,WAAW,EAAE,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,MAAM,EAAE,CAAC,CAAC,QAAQ,EAAE;IAC9C,MAAM,EAAE,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,MAAM,EAAE,CAAC,CAAC,QAAQ,EAAE;IACtC,KAAK,EAAE,CAAC,CAAC,OAAO,EAAE;IAClB,eAAe,EAAE,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,MAAM,EAAE,CAAC,CAAC,QAAQ,EAAE;IAClD,EAAE,EAAE,CAAC,CAAC,MAAM,EAAE,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AAS,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,WAAW,EAAE,CAAC;IACnD,aAAa,EAAE,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,MAAM,EAAE,CAAC;CACtC,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,EAAE,EAAE;IACjB,OAAO,IAAA,qBAAM,EAAC,CAAC,EAAE;QACf,cAAc,EAAE,iBAAiB;QACjC,YAAY,EAAE,eAAe;QAC7B,SAAS,EAAE,YAAY;QACvB,aAAa,EAAE,iBAAiB;KACjC,CAAC,CAAC;AACL,CAAC,CAAC,CAAC;AAEH;;;GAGG;AACH,IAAiB,2BAA2B,CAO3C;AAPD,WAAiB,2BAA2B;IAC1C,0EAA0E;IAC7D,yCAAa,GAAG,gDAAwC,CAAC;IACtE,2EAA2E;IAC9D,0CAAc,GAAG,iDAAyC,CAAC;AAG1E,CAAC,EAPgB,2BAA2B,2CAA3B,2BAA2B,QAO3C;AAED,SAAgB,gCAAgC,CAC9C,0BAAsD;IAEtD,OAAO,IAAI,CAAC,SAAS,CACnB,iDAAyC,CAAC,KAAK,CAAC,0BAA0B,CAAC,CAC5E,CAAC;AACJ,CAAC;AAED,SAAgB,kCAAkC,CAChD,UAAkB;IAElB,OAAO,IAAA,sBAAS,EACd,UAAU,EACV,CAAC,CAAC,EAAE,EAAE,CAAC,gDAAwC,CAAC,KAAK,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,EACpE,wDAAwD,CACzD,CAAC;AACJ,CAAC"}
|
|
@@ -15,13 +15,13 @@ export type DataSourceUpdateRequest = {
|
|
|
15
15
|
*/
|
|
16
16
|
labels?: Array<string> | undefined;
|
|
17
17
|
/**
|
|
18
|
-
* Whether the content should be split into smaller chunks. This
|
|
18
|
+
* Whether the content should be split into smaller chunks. (This feature is coming in the future - currently this value will always be treated as False.)
|
|
19
19
|
*/
|
|
20
20
|
chunk: boolean;
|
|
21
21
|
/**
|
|
22
|
-
* String that should be treated as delimiter between intended chunks
|
|
22
|
+
* String that should be treated as delimiter between intended chunks. (This feature is coming in the future - currently this value will always be treated as None.)
|
|
23
23
|
*/
|
|
24
|
-
chunkDelimiter?: string | undefined;
|
|
24
|
+
chunkDelimiter?: string | null | undefined;
|
|
25
25
|
/**
|
|
26
26
|
* The data source ID.
|
|
27
27
|
*/
|
|
@@ -43,7 +43,7 @@ export type DataSourceUpdateRequest$Outbound = {
|
|
|
43
43
|
description?: string | null | undefined;
|
|
44
44
|
labels?: Array<string> | undefined;
|
|
45
45
|
chunk: boolean;
|
|
46
|
-
chunk_delimiter
|
|
46
|
+
chunk_delimiter?: string | null | undefined;
|
|
47
47
|
id: number;
|
|
48
48
|
edit_comments?: string | null | undefined;
|
|
49
49
|
text: string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"datasourceupdaterequest.d.ts","sourceRoot":"","sources":["../../src/models/components/datasourceupdaterequest.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,KAAK,CAAC;AAGzB,OAAO,EAAE,MAAM,IAAI,eAAe,EAAE,MAAM,mBAAmB,CAAC;AAC9D,OAAO,EAAE,kBAAkB,EAAE,MAAM,iCAAiC,CAAC;AAErE,MAAM,MAAM,uBAAuB,GAAG;IACpC;;OAEG;IACH,IAAI,EAAE,MAAM,CAAC;IACb;;OAEG;IACH,WAAW,CAAC,EAAE,MAAM,GAAG,IAAI,GAAG,SAAS,CAAC;IACxC;;OAEG;IACH,MAAM,CAAC,EAAE,KAAK,CAAC,MAAM,CAAC,GAAG,SAAS,CAAC;IACnC;;OAEG;IACH,KAAK,EAAE,OAAO,CAAC;IACf;;OAEG;IACH,cAAc,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;
|
|
1
|
+
{"version":3,"file":"datasourceupdaterequest.d.ts","sourceRoot":"","sources":["../../src/models/components/datasourceupdaterequest.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,KAAK,CAAC;AAGzB,OAAO,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D,gCAAgC,EAChC,CAAC,CAAC,UAAU,EACZ,uBAAuB,CAevB,CAAC;AAEH;;;GAGG;AACH,yBAAiB,wBAAwB,CAAC;IACxC,uEAAuE;IAChE,MAAM,aAAa,2DAAwC,CAAC;IACnE,wEAAwE;IACjE,MAAM,cAAc,oFAAyC,CAAC;IACrE,kEAAkE;IAClE,KAAY,QAAQ,GAAG,gCAAgC,CAAC;CACzD;AAED,wBAAgB,6BAA6B,CAC3C,uBAAuB,EAAE,uBAAuB,GAC/C,MAAM,CAIR;AAED,wBAAgB,+BAA+B,CAC7C,UAAU,EAAE,MAAM,GACjB,eAAe,CAAC,uBAAuB,EAAE,kBAAkB,CAAC,CAM9D"}
|
|
@@ -38,7 +38,7 @@ exports.DataSourceUpdateRequest$inboundSchema = z.object({
|
|
|
38
38
|
description: z.nullable(z.string()).optional(),
|
|
39
39
|
labels: z.array(z.string()).optional(),
|
|
40
40
|
chunk: z.boolean(),
|
|
41
|
-
chunk_delimiter: z.string().
|
|
41
|
+
chunk_delimiter: z.nullable(z.string()).optional(),
|
|
42
42
|
id: z.number().int(),
|
|
43
43
|
edit_comments: z.nullable(z.string()).optional(),
|
|
44
44
|
text: z.string(),
|
|
@@ -54,7 +54,7 @@ exports.DataSourceUpdateRequest$outboundSchema = z.object({
|
|
|
54
54
|
description: z.nullable(z.string()).optional(),
|
|
55
55
|
labels: z.array(z.string()).optional(),
|
|
56
56
|
chunk: z.boolean(),
|
|
57
|
-
chunkDelimiter: z.string().
|
|
57
|
+
chunkDelimiter: z.nullable(z.string()).optional(),
|
|
58
58
|
id: z.number().int(),
|
|
59
59
|
editComments: z.nullable(z.string()).optional(),
|
|
60
60
|
text: z.string(),
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"datasourceupdaterequest.js","sourceRoot":"","sources":["../../src/models/components/datasourceupdaterequest.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;AA8GH,sEAMC;AAED,0EAQC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xB,wBAAwB,QAOxC;AAED,SAAgB,6BAA6B,CAC3C,uBAAgD;IAEhD,OAAO,IAAI,CAAC,SAAS,CACnB,8CAAsC,CAAC,KAAK,CAAC,uBAAuB,CAAC,CACtE,CAAC;AACJ,CAAC;AAED,SAAgB,+BAA+B,CAC7C,UAAkB;IAElB,OAAO,IAAA,sBAAS,EACd,UAAU,EACV,CAAC,CAAC,EAAE,EAAE,CAAC,6CAAqC,CAAC,KAAK,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,EACjE,qDAAqD,CACtD,CAAC;AACJ,CAAC"}
|
|
@@ -25,7 +25,7 @@ export type PromptCreateRequest = {
|
|
|
25
25
|
tools?: Array<string> | undefined;
|
|
26
26
|
llmConfig: PromptLlmConfig;
|
|
27
27
|
/**
|
|
28
|
-
* Whether to include the default tools (`
|
|
28
|
+
* Whether to include the default tools (`hangup`, `summary`) in the list of tools for the prompt. If you disable this during creation, you might want to disable it during updates as well, otherwise the default tools will be added when updating the prompt.
|
|
29
29
|
*/
|
|
30
30
|
includeDefaultTools?: boolean | undefined;
|
|
31
31
|
};
|
|
@@ -33,7 +33,7 @@ export type PromptUpdateRequest = {
|
|
|
33
33
|
*/
|
|
34
34
|
editComments?: string | null | undefined;
|
|
35
35
|
/**
|
|
36
|
-
* Whether to include the default tools (`
|
|
36
|
+
* Whether to include the default tools (`hangup`, `summary`) in the list of tools for the prompt. If you remove one of the default tools from your prompt, you might want to disable this option so that the tool is not added again when updated.
|
|
37
37
|
*/
|
|
38
38
|
includeDefaultTools?: boolean | undefined;
|
|
39
39
|
};
|
package/openapi.json
CHANGED
|
@@ -7347,6 +7347,7 @@
|
|
|
7347
7347
|
],
|
|
7348
7348
|
"description": "Sound to play while waiting for a response from the LLM.",
|
|
7349
7349
|
"examples": [
|
|
7350
|
+
"No Sound",
|
|
7350
7351
|
"Keyboard 1",
|
|
7351
7352
|
"Keyboard 2",
|
|
7352
7353
|
"Call Center"
|
|
@@ -7565,6 +7566,7 @@
|
|
|
7565
7566
|
"title": "Wait Sound",
|
|
7566
7567
|
"description": "Sound to play while waiting for a response from the LLM.",
|
|
7567
7568
|
"examples": [
|
|
7569
|
+
"No Sound",
|
|
7568
7570
|
"Keyboard 1",
|
|
7569
7571
|
"Keyboard 2",
|
|
7570
7572
|
"Call Center"
|
|
@@ -7876,6 +7878,7 @@
|
|
|
7876
7878
|
],
|
|
7877
7879
|
"description": "Sound to play while waiting for a response from the LLM.",
|
|
7878
7880
|
"examples": [
|
|
7881
|
+
"No Sound",
|
|
7879
7882
|
"Keyboard 1",
|
|
7880
7883
|
"Keyboard 2",
|
|
7881
7884
|
"Call Center"
|
|
@@ -8078,6 +8081,7 @@
|
|
|
8078
8081
|
"AgentWaitSound": {
|
|
8079
8082
|
"type": "string",
|
|
8080
8083
|
"enum": [
|
|
8084
|
+
"No Sound",
|
|
8081
8085
|
"Keyboard 1",
|
|
8082
8086
|
"Keyboard 2",
|
|
8083
8087
|
"Call Center"
|
|
@@ -8799,6 +8803,18 @@
|
|
|
8799
8803
|
],
|
|
8800
8804
|
"title": "Conversation Id",
|
|
8801
8805
|
"description": "Unique ID for conversation"
|
|
8806
|
+
},
|
|
8807
|
+
"insights": {
|
|
8808
|
+
"anyOf": [
|
|
8809
|
+
{
|
|
8810
|
+
"type": "object"
|
|
8811
|
+
},
|
|
8812
|
+
{
|
|
8813
|
+
"type": "null"
|
|
8814
|
+
}
|
|
8815
|
+
],
|
|
8816
|
+
"title": "Insights",
|
|
8817
|
+
"description": "Insights from request"
|
|
8802
8818
|
}
|
|
8803
8819
|
},
|
|
8804
8820
|
"type": "object",
|
|
@@ -9429,16 +9445,24 @@
|
|
|
9429
9445
|
"chunk": {
|
|
9430
9446
|
"type": "boolean",
|
|
9431
9447
|
"title": "Chunk",
|
|
9432
|
-
"description": "Whether the content should be split into smaller chunks. This
|
|
9448
|
+
"description": "Whether the content should be split into smaller chunks. (This feature is coming in the future - currently this value will always be treated as False.)",
|
|
9449
|
+
"examples": [
|
|
9450
|
+
false
|
|
9451
|
+
]
|
|
9433
9452
|
},
|
|
9434
9453
|
"chunk_delimiter": {
|
|
9435
|
-
"
|
|
9454
|
+
"anyOf": [
|
|
9455
|
+
{
|
|
9456
|
+
"type": "string"
|
|
9457
|
+
},
|
|
9458
|
+
{
|
|
9459
|
+
"type": "null"
|
|
9460
|
+
}
|
|
9461
|
+
],
|
|
9436
9462
|
"title": "Chunk Delimiter",
|
|
9437
|
-
"description": "String that should be treated as delimiter between intended chunks
|
|
9438
|
-
"default": "\n\n",
|
|
9463
|
+
"description": "String that should be treated as delimiter between intended chunks. (This feature is coming in the future - currently this value will always be treated as None.)",
|
|
9439
9464
|
"examples": [
|
|
9440
|
-
|
|
9441
|
-
"|"
|
|
9465
|
+
null
|
|
9442
9466
|
]
|
|
9443
9467
|
},
|
|
9444
9468
|
"text": {
|
|
@@ -9497,16 +9521,24 @@
|
|
|
9497
9521
|
"chunk": {
|
|
9498
9522
|
"type": "boolean",
|
|
9499
9523
|
"title": "Chunk",
|
|
9500
|
-
"description": "Whether the content should be split into smaller chunks. This
|
|
9524
|
+
"description": "Whether the content should be split into smaller chunks. (This feature is coming in the future - currently this value will always be treated as False.)",
|
|
9525
|
+
"examples": [
|
|
9526
|
+
false
|
|
9527
|
+
]
|
|
9501
9528
|
},
|
|
9502
9529
|
"chunk_delimiter": {
|
|
9503
|
-
"
|
|
9530
|
+
"anyOf": [
|
|
9531
|
+
{
|
|
9532
|
+
"type": "string"
|
|
9533
|
+
},
|
|
9534
|
+
{
|
|
9535
|
+
"type": "null"
|
|
9536
|
+
}
|
|
9537
|
+
],
|
|
9504
9538
|
"title": "Chunk Delimiter",
|
|
9505
|
-
"description": "String that should be treated as delimiter between intended chunks
|
|
9506
|
-
"default": "\n\n",
|
|
9539
|
+
"description": "String that should be treated as delimiter between intended chunks. (This feature is coming in the future - currently this value will always be treated as None.)",
|
|
9507
9540
|
"examples": [
|
|
9508
|
-
|
|
9509
|
-
"|"
|
|
9541
|
+
null
|
|
9510
9542
|
]
|
|
9511
9543
|
},
|
|
9512
9544
|
"id": {
|
|
@@ -9613,16 +9645,24 @@
|
|
|
9613
9645
|
"chunk": {
|
|
9614
9646
|
"type": "boolean",
|
|
9615
9647
|
"title": "Chunk",
|
|
9616
|
-
"description": "Whether the content should be split into smaller chunks. This
|
|
9648
|
+
"description": "Whether the content should be split into smaller chunks. (This feature is coming in the future - currently this value will always be treated as False.)",
|
|
9649
|
+
"examples": [
|
|
9650
|
+
false
|
|
9651
|
+
]
|
|
9617
9652
|
},
|
|
9618
9653
|
"chunk_delimiter": {
|
|
9619
|
-
"
|
|
9654
|
+
"anyOf": [
|
|
9655
|
+
{
|
|
9656
|
+
"type": "string"
|
|
9657
|
+
},
|
|
9658
|
+
{
|
|
9659
|
+
"type": "null"
|
|
9660
|
+
}
|
|
9661
|
+
],
|
|
9620
9662
|
"title": "Chunk Delimiter",
|
|
9621
|
-
"description": "String that should be treated as delimiter between intended chunks
|
|
9622
|
-
"default": "\n\n",
|
|
9663
|
+
"description": "String that should be treated as delimiter between intended chunks. (This feature is coming in the future - currently this value will always be treated as None.)",
|
|
9623
9664
|
"examples": [
|
|
9624
|
-
|
|
9625
|
-
"|"
|
|
9665
|
+
null
|
|
9626
9666
|
]
|
|
9627
9667
|
},
|
|
9628
9668
|
"id": {
|
|
@@ -9736,16 +9776,24 @@
|
|
|
9736
9776
|
"chunk": {
|
|
9737
9777
|
"type": "boolean",
|
|
9738
9778
|
"title": "Chunk",
|
|
9739
|
-
"description": "Whether the content should be split into smaller chunks. This
|
|
9779
|
+
"description": "Whether the content should be split into smaller chunks. (This feature is coming in the future - currently this value will always be treated as False.)",
|
|
9780
|
+
"examples": [
|
|
9781
|
+
false
|
|
9782
|
+
]
|
|
9740
9783
|
},
|
|
9741
9784
|
"chunk_delimiter": {
|
|
9742
|
-
"
|
|
9785
|
+
"anyOf": [
|
|
9786
|
+
{
|
|
9787
|
+
"type": "string"
|
|
9788
|
+
},
|
|
9789
|
+
{
|
|
9790
|
+
"type": "null"
|
|
9791
|
+
}
|
|
9792
|
+
],
|
|
9743
9793
|
"title": "Chunk Delimiter",
|
|
9744
|
-
"description": "String that should be treated as delimiter between intended chunks
|
|
9745
|
-
"default": "\n\n",
|
|
9794
|
+
"description": "String that should be treated as delimiter between intended chunks. (This feature is coming in the future - currently this value will always be treated as None.)",
|
|
9746
9795
|
"examples": [
|
|
9747
|
-
|
|
9748
|
-
"|"
|
|
9796
|
+
null
|
|
9749
9797
|
]
|
|
9750
9798
|
},
|
|
9751
9799
|
"id": {
|
|
@@ -11688,6 +11736,30 @@
|
|
|
11688
11736
|
"description": "Batch or Interactive",
|
|
11689
11737
|
"default": "BATCH"
|
|
11690
11738
|
},
|
|
11739
|
+
"caller_id": {
|
|
11740
|
+
"anyOf": [
|
|
11741
|
+
{
|
|
11742
|
+
"type": "string"
|
|
11743
|
+
},
|
|
11744
|
+
{
|
|
11745
|
+
"type": "null"
|
|
11746
|
+
}
|
|
11747
|
+
],
|
|
11748
|
+
"title": "Caller Id",
|
|
11749
|
+
"description": "Caller ID for call"
|
|
11750
|
+
},
|
|
11751
|
+
"pause_seconds": {
|
|
11752
|
+
"anyOf": [
|
|
11753
|
+
{
|
|
11754
|
+
"type": "integer"
|
|
11755
|
+
},
|
|
11756
|
+
{
|
|
11757
|
+
"type": "null"
|
|
11758
|
+
}
|
|
11759
|
+
],
|
|
11760
|
+
"title": "Pause Seconds",
|
|
11761
|
+
"description": "How many seconds to pause between queueing calls. Useful when rate should be less than 1 per minute"
|
|
11762
|
+
},
|
|
11691
11763
|
"id": {
|
|
11692
11764
|
"type": "integer",
|
|
11693
11765
|
"title": "Id",
|
|
@@ -11716,6 +11788,7 @@
|
|
|
11716
11788
|
"daily_start_time",
|
|
11717
11789
|
"daily_end_time",
|
|
11718
11790
|
"timezone",
|
|
11791
|
+
"caller_id",
|
|
11719
11792
|
"id",
|
|
11720
11793
|
"last_updated_by"
|
|
11721
11794
|
],
|
|
@@ -11757,6 +11830,30 @@
|
|
|
11757
11830
|
"$ref": "#/components/schemas/ActionMode",
|
|
11758
11831
|
"description": "Batch or Interactive",
|
|
11759
11832
|
"default": "BATCH"
|
|
11833
|
+
},
|
|
11834
|
+
"caller_id": {
|
|
11835
|
+
"anyOf": [
|
|
11836
|
+
{
|
|
11837
|
+
"type": "string"
|
|
11838
|
+
},
|
|
11839
|
+
{
|
|
11840
|
+
"type": "null"
|
|
11841
|
+
}
|
|
11842
|
+
],
|
|
11843
|
+
"title": "Caller Id",
|
|
11844
|
+
"description": "Caller ID for call"
|
|
11845
|
+
},
|
|
11846
|
+
"pause_seconds": {
|
|
11847
|
+
"anyOf": [
|
|
11848
|
+
{
|
|
11849
|
+
"type": "integer"
|
|
11850
|
+
},
|
|
11851
|
+
{
|
|
11852
|
+
"type": "null"
|
|
11853
|
+
}
|
|
11854
|
+
],
|
|
11855
|
+
"title": "Pause Seconds",
|
|
11856
|
+
"description": "How many seconds to pause between queueing calls. Useful when rate should be less than 1 per minute"
|
|
11760
11857
|
}
|
|
11761
11858
|
},
|
|
11762
11859
|
"type": "object",
|
|
@@ -11765,7 +11862,8 @@
|
|
|
11765
11862
|
"campaign_variables",
|
|
11766
11863
|
"daily_start_time",
|
|
11767
11864
|
"daily_end_time",
|
|
11768
|
-
"timezone"
|
|
11865
|
+
"timezone",
|
|
11866
|
+
"caller_id"
|
|
11769
11867
|
],
|
|
11770
11868
|
"title": "OutboundCampaignInput"
|
|
11771
11869
|
},
|
|
@@ -11821,7 +11919,7 @@
|
|
|
11821
11919
|
"include_default_tools": {
|
|
11822
11920
|
"type": "boolean",
|
|
11823
11921
|
"title": "Include Default Tools",
|
|
11824
|
-
"description": "Whether to include the default tools (`
|
|
11922
|
+
"description": "Whether to include the default tools (`hangup`, `summary`) in the list of tools for the prompt. If you disable this during creation, you might want to disable it during updates as well, otherwise the default tools will be added when updating the prompt.",
|
|
11825
11923
|
"default": true
|
|
11826
11924
|
}
|
|
11827
11925
|
},
|
|
@@ -12174,7 +12272,7 @@
|
|
|
12174
12272
|
"include_default_tools": {
|
|
12175
12273
|
"type": "boolean",
|
|
12176
12274
|
"title": "Include Default Tools",
|
|
12177
|
-
"description": "Whether to include the default tools (`
|
|
12275
|
+
"description": "Whether to include the default tools (`hangup`, `summary`) in the list of tools for the prompt. If you remove one of the default tools from your prompt, you might want to disable this option so that the tool is not added again when updated.",
|
|
12178
12276
|
"default": true
|
|
12179
12277
|
}
|
|
12180
12278
|
},
|
package/package.json
CHANGED
package/src/hooks/hooks.ts
CHANGED
|
@@ -18,6 +18,8 @@ import {
|
|
|
18
18
|
SDKInitOptions,
|
|
19
19
|
} from "./types.js";
|
|
20
20
|
|
|
21
|
+
import { initHooks } from "./registration.js";
|
|
22
|
+
|
|
21
23
|
export class SDKHooks implements Hooks {
|
|
22
24
|
sdkInitHooks: SDKInitHook[] = [];
|
|
23
25
|
beforeCreateRequestHooks: BeforeCreateRequestHook[] = [];
|
|
@@ -45,6 +47,7 @@ export class SDKHooks implements Hooks {
|
|
|
45
47
|
this.registerAfterErrorHook(hook);
|
|
46
48
|
}
|
|
47
49
|
}
|
|
50
|
+
initHooks(this);
|
|
48
51
|
}
|
|
49
52
|
|
|
50
53
|
registerSDKInitHook(hook: SDKInitHook) {
|
package/src/lib/config.ts
CHANGED
|
@@ -57,8 +57,8 @@ export function serverURLFromOptions(options: SDKOptions): URL | null {
|
|
|
57
57
|
export const SDK_METADATA = {
|
|
58
58
|
language: "typescript",
|
|
59
59
|
openapiDocVersion: "0.0.2",
|
|
60
|
-
sdkVersion: "0.1.0-alpha.
|
|
60
|
+
sdkVersion: "0.1.0-alpha.55",
|
|
61
61
|
genVersion: "2.512.4",
|
|
62
62
|
userAgent:
|
|
63
|
-
"speakeasy-sdk/typescript 0.1.0-alpha.
|
|
63
|
+
"speakeasy-sdk/typescript 0.1.0-alpha.55 2.512.4 0.0.2 syllable-sdk",
|
|
64
64
|
} as const;
|
|
@@ -22,13 +22,13 @@ export type DataSourceCreateRequest = {
|
|
|
22
22
|
*/
|
|
23
23
|
labels?: Array<string> | undefined;
|
|
24
24
|
/**
|
|
25
|
-
* Whether the content should be split into smaller chunks. This
|
|
25
|
+
* Whether the content should be split into smaller chunks. (This feature is coming in the future - currently this value will always be treated as False.)
|
|
26
26
|
*/
|
|
27
27
|
chunk: boolean;
|
|
28
28
|
/**
|
|
29
|
-
* String that should be treated as delimiter between intended chunks
|
|
29
|
+
* String that should be treated as delimiter between intended chunks. (This feature is coming in the future - currently this value will always be treated as None.)
|
|
30
30
|
*/
|
|
31
|
-
chunkDelimiter?: string | undefined;
|
|
31
|
+
chunkDelimiter?: string | null | undefined;
|
|
32
32
|
/**
|
|
33
33
|
* Information that the data source will provide to the agent accessing it.
|
|
34
34
|
*/
|
|
@@ -45,7 +45,7 @@ export const DataSourceCreateRequest$inboundSchema: z.ZodType<
|
|
|
45
45
|
description: z.nullable(z.string()).optional(),
|
|
46
46
|
labels: z.array(z.string()).optional(),
|
|
47
47
|
chunk: z.boolean(),
|
|
48
|
-
chunk_delimiter: z.string().
|
|
48
|
+
chunk_delimiter: z.nullable(z.string()).optional(),
|
|
49
49
|
text: z.string(),
|
|
50
50
|
}).transform((v) => {
|
|
51
51
|
return remap$(v, {
|
|
@@ -59,7 +59,7 @@ export type DataSourceCreateRequest$Outbound = {
|
|
|
59
59
|
description?: string | null | undefined;
|
|
60
60
|
labels?: Array<string> | undefined;
|
|
61
61
|
chunk: boolean;
|
|
62
|
-
chunk_delimiter
|
|
62
|
+
chunk_delimiter?: string | null | undefined;
|
|
63
63
|
text: string;
|
|
64
64
|
};
|
|
65
65
|
|
|
@@ -73,7 +73,7 @@ export const DataSourceCreateRequest$outboundSchema: z.ZodType<
|
|
|
73
73
|
description: z.nullable(z.string()).optional(),
|
|
74
74
|
labels: z.array(z.string()).optional(),
|
|
75
75
|
chunk: z.boolean(),
|
|
76
|
-
chunkDelimiter: z.string().
|
|
76
|
+
chunkDelimiter: z.nullable(z.string()).optional(),
|
|
77
77
|
text: z.string(),
|
|
78
78
|
}).transform((v) => {
|
|
79
79
|
return remap$(v, {
|
|
@@ -25,13 +25,13 @@ export type DataSourceDetailResponse = {
|
|
|
25
25
|
*/
|
|
26
26
|
labels?: Array<string> | undefined;
|
|
27
27
|
/**
|
|
28
|
-
* Whether the content should be split into smaller chunks. This
|
|
28
|
+
* Whether the content should be split into smaller chunks. (This feature is coming in the future - currently this value will always be treated as False.)
|
|
29
29
|
*/
|
|
30
30
|
chunk: boolean;
|
|
31
31
|
/**
|
|
32
|
-
* String that should be treated as delimiter between intended chunks
|
|
32
|
+
* String that should be treated as delimiter between intended chunks. (This feature is coming in the future - currently this value will always be treated as None.)
|
|
33
33
|
*/
|
|
34
|
-
chunkDelimiter?: string | undefined;
|
|
34
|
+
chunkDelimiter?: string | null | undefined;
|
|
35
35
|
/**
|
|
36
36
|
* The data source ID.
|
|
37
37
|
*/
|
|
@@ -64,7 +64,7 @@ export const DataSourceDetailResponse$inboundSchema: z.ZodType<
|
|
|
64
64
|
description: z.nullable(z.string()).optional(),
|
|
65
65
|
labels: z.array(z.string()).optional(),
|
|
66
66
|
chunk: z.boolean(),
|
|
67
|
-
chunk_delimiter: z.string().
|
|
67
|
+
chunk_delimiter: z.nullable(z.string()).optional(),
|
|
68
68
|
id: z.number().int(),
|
|
69
69
|
edit_comments: z.nullable(z.string()).optional(),
|
|
70
70
|
updated_at: z.string().datetime({ offset: true }).transform(v => new Date(v)),
|
|
@@ -85,7 +85,7 @@ export type DataSourceDetailResponse$Outbound = {
|
|
|
85
85
|
description?: string | null | undefined;
|
|
86
86
|
labels?: Array<string> | undefined;
|
|
87
87
|
chunk: boolean;
|
|
88
|
-
chunk_delimiter
|
|
88
|
+
chunk_delimiter?: string | null | undefined;
|
|
89
89
|
id: number;
|
|
90
90
|
edit_comments?: string | null | undefined;
|
|
91
91
|
updated_at: string;
|
|
@@ -103,7 +103,7 @@ export const DataSourceDetailResponse$outboundSchema: z.ZodType<
|
|
|
103
103
|
description: z.nullable(z.string()).optional(),
|
|
104
104
|
labels: z.array(z.string()).optional(),
|
|
105
105
|
chunk: z.boolean(),
|
|
106
|
-
chunkDelimiter: z.string().
|
|
106
|
+
chunkDelimiter: z.nullable(z.string()).optional(),
|
|
107
107
|
id: z.number().int(),
|
|
108
108
|
editComments: z.nullable(z.string()).optional(),
|
|
109
109
|
updatedAt: z.date().transform(v => v.toISOString()),
|
|
@@ -25,13 +25,13 @@ export type DataSourceMetadataResponse = {
|
|
|
25
25
|
*/
|
|
26
26
|
labels?: Array<string> | undefined;
|
|
27
27
|
/**
|
|
28
|
-
* Whether the content should be split into smaller chunks. This
|
|
28
|
+
* Whether the content should be split into smaller chunks. (This feature is coming in the future - currently this value will always be treated as False.)
|
|
29
29
|
*/
|
|
30
30
|
chunk: boolean;
|
|
31
31
|
/**
|
|
32
|
-
* String that should be treated as delimiter between intended chunks
|
|
32
|
+
* String that should be treated as delimiter between intended chunks. (This feature is coming in the future - currently this value will always be treated as None.)
|
|
33
33
|
*/
|
|
34
|
-
chunkDelimiter?: string | undefined;
|
|
34
|
+
chunkDelimiter?: string | null | undefined;
|
|
35
35
|
/**
|
|
36
36
|
* The data source ID.
|
|
37
37
|
*/
|
|
@@ -60,7 +60,7 @@ export const DataSourceMetadataResponse$inboundSchema: z.ZodType<
|
|
|
60
60
|
description: z.nullable(z.string()).optional(),
|
|
61
61
|
labels: z.array(z.string()).optional(),
|
|
62
62
|
chunk: z.boolean(),
|
|
63
|
-
chunk_delimiter: z.string().
|
|
63
|
+
chunk_delimiter: z.nullable(z.string()).optional(),
|
|
64
64
|
id: z.number().int(),
|
|
65
65
|
edit_comments: z.nullable(z.string()).optional(),
|
|
66
66
|
updated_at: z.string().datetime({ offset: true }).transform(v => new Date(v)),
|
|
@@ -80,7 +80,7 @@ export type DataSourceMetadataResponse$Outbound = {
|
|
|
80
80
|
description?: string | null | undefined;
|
|
81
81
|
labels?: Array<string> | undefined;
|
|
82
82
|
chunk: boolean;
|
|
83
|
-
chunk_delimiter
|
|
83
|
+
chunk_delimiter?: string | null | undefined;
|
|
84
84
|
id: number;
|
|
85
85
|
edit_comments?: string | null | undefined;
|
|
86
86
|
updated_at: string;
|
|
@@ -97,7 +97,7 @@ export const DataSourceMetadataResponse$outboundSchema: z.ZodType<
|
|
|
97
97
|
description: z.nullable(z.string()).optional(),
|
|
98
98
|
labels: z.array(z.string()).optional(),
|
|
99
99
|
chunk: z.boolean(),
|
|
100
|
-
chunkDelimiter: z.string().
|
|
100
|
+
chunkDelimiter: z.nullable(z.string()).optional(),
|
|
101
101
|
id: z.number().int(),
|
|
102
102
|
editComments: z.nullable(z.string()).optional(),
|
|
103
103
|
updatedAt: z.date().transform(v => v.toISOString()),
|
|
@@ -22,13 +22,13 @@ export type DataSourceUpdateRequest = {
|
|
|
22
22
|
*/
|
|
23
23
|
labels?: Array<string> | undefined;
|
|
24
24
|
/**
|
|
25
|
-
* Whether the content should be split into smaller chunks. This
|
|
25
|
+
* Whether the content should be split into smaller chunks. (This feature is coming in the future - currently this value will always be treated as False.)
|
|
26
26
|
*/
|
|
27
27
|
chunk: boolean;
|
|
28
28
|
/**
|
|
29
|
-
* String that should be treated as delimiter between intended chunks
|
|
29
|
+
* String that should be treated as delimiter between intended chunks. (This feature is coming in the future - currently this value will always be treated as None.)
|
|
30
30
|
*/
|
|
31
|
-
chunkDelimiter?: string | undefined;
|
|
31
|
+
chunkDelimiter?: string | null | undefined;
|
|
32
32
|
/**
|
|
33
33
|
* The data source ID.
|
|
34
34
|
*/
|
|
@@ -53,7 +53,7 @@ export const DataSourceUpdateRequest$inboundSchema: z.ZodType<
|
|
|
53
53
|
description: z.nullable(z.string()).optional(),
|
|
54
54
|
labels: z.array(z.string()).optional(),
|
|
55
55
|
chunk: z.boolean(),
|
|
56
|
-
chunk_delimiter: z.string().
|
|
56
|
+
chunk_delimiter: z.nullable(z.string()).optional(),
|
|
57
57
|
id: z.number().int(),
|
|
58
58
|
edit_comments: z.nullable(z.string()).optional(),
|
|
59
59
|
text: z.string(),
|
|
@@ -70,7 +70,7 @@ export type DataSourceUpdateRequest$Outbound = {
|
|
|
70
70
|
description?: string | null | undefined;
|
|
71
71
|
labels?: Array<string> | undefined;
|
|
72
72
|
chunk: boolean;
|
|
73
|
-
chunk_delimiter
|
|
73
|
+
chunk_delimiter?: string | null | undefined;
|
|
74
74
|
id: number;
|
|
75
75
|
edit_comments?: string | null | undefined;
|
|
76
76
|
text: string;
|
|
@@ -86,7 +86,7 @@ export const DataSourceUpdateRequest$outboundSchema: z.ZodType<
|
|
|
86
86
|
description: z.nullable(z.string()).optional(),
|
|
87
87
|
labels: z.array(z.string()).optional(),
|
|
88
88
|
chunk: z.boolean(),
|
|
89
|
-
chunkDelimiter: z.string().
|
|
89
|
+
chunkDelimiter: z.nullable(z.string()).optional(),
|
|
90
90
|
id: z.number().int(),
|
|
91
91
|
editComments: z.nullable(z.string()).optional(),
|
|
92
92
|
text: z.string(),
|
|
@@ -37,7 +37,7 @@ export type PromptCreateRequest = {
|
|
|
37
37
|
tools?: Array<string> | undefined;
|
|
38
38
|
llmConfig: PromptLlmConfig;
|
|
39
39
|
/**
|
|
40
|
-
* Whether to include the default tools (`
|
|
40
|
+
* Whether to include the default tools (`hangup`, `summary`) in the list of tools for the prompt. If you disable this during creation, you might want to disable it during updates as well, otherwise the default tools will be added when updating the prompt.
|
|
41
41
|
*/
|
|
42
42
|
includeDefaultTools?: boolean | undefined;
|
|
43
43
|
};
|
|
@@ -45,7 +45,7 @@ export type PromptUpdateRequest = {
|
|
|
45
45
|
*/
|
|
46
46
|
editComments?: string | null | undefined;
|
|
47
47
|
/**
|
|
48
|
-
* Whether to include the default tools (`
|
|
48
|
+
* Whether to include the default tools (`hangup`, `summary`) in the list of tools for the prompt. If you remove one of the default tools from your prompt, you might want to disable this option so that the tool is not added again when updated.
|
|
49
49
|
*/
|
|
50
50
|
includeDefaultTools?: boolean | undefined;
|
|
51
51
|
};
|