syllable-sdk 0.1.0-alpha.53 → 0.1.0-alpha.54
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/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/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 +121 -27
- package/package.json +1 -1
- package/src/hooks/hooks.ts +3 -0
- package/src/lib/config.ts +2 -2
- 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
|
@@ -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,mB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ooks = 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,CAA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,CAAC,YAAY,CAAC,OAAO,EAAE,GAAG,CAAC,CAAC;QAC9C,CAAC;QAED,OAAO,GAAG,CAAC;IACb,CAAC;IAED,KAAK,CAAC,UAAU,CACd,OAA0B,EAC1B,QAAyB,EACzB,KAAc;QAEd,IAAI,GAAG,GAAG,QAAQ,CAAC;QACnB,IAAI,GAAG,GAAG,KAAK,CAAC;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.54";
|
|
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.54 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.54",
|
|
35
35
|
genVersion: "2.512.4",
|
|
36
|
-
userAgent: "speakeasy-sdk/typescript 0.1.0-alpha.
|
|
36
|
+
userAgent: "speakeasy-sdk/typescript 0.1.0-alpha.54 2.512.4 0.0.2 syllable-sdk",
|
|
37
37
|
};
|
|
38
38
|
//# sourceMappingURL=config.js.map
|
|
@@ -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;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,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;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;;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,EAAE,EAAE,MAAM,CAAC;IACX;;OAEG;IACH,YAAY,CAAC,EAAE,MAAM,GAAG,IAAI,GAAG,SAAS,CAAC;IACzC;;OAEG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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,qDAAiD;AAkDjD,gBAAgB;AACH,QAAA,sCAAsC,GAI/C,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,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AEH;;;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;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,KA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,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,C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;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,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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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;AA5HD,uCAAyB;AACzB,2DAA0D;AAC1D,qDAAiD;AAuCjD,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,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AAC,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
|
@@ -8799,6 +8799,18 @@
|
|
|
8799
8799
|
],
|
|
8800
8800
|
"title": "Conversation Id",
|
|
8801
8801
|
"description": "Unique ID for conversation"
|
|
8802
|
+
},
|
|
8803
|
+
"insights": {
|
|
8804
|
+
"anyOf": [
|
|
8805
|
+
{
|
|
8806
|
+
"type": "object"
|
|
8807
|
+
},
|
|
8808
|
+
{
|
|
8809
|
+
"type": "null"
|
|
8810
|
+
}
|
|
8811
|
+
],
|
|
8812
|
+
"title": "Insights",
|
|
8813
|
+
"description": "Insights from request"
|
|
8802
8814
|
}
|
|
8803
8815
|
},
|
|
8804
8816
|
"type": "object",
|
|
@@ -9429,16 +9441,24 @@
|
|
|
9429
9441
|
"chunk": {
|
|
9430
9442
|
"type": "boolean",
|
|
9431
9443
|
"title": "Chunk",
|
|
9432
|
-
"description": "Whether the content should be split into smaller chunks. This
|
|
9444
|
+
"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.)",
|
|
9445
|
+
"examples": [
|
|
9446
|
+
false
|
|
9447
|
+
]
|
|
9433
9448
|
},
|
|
9434
9449
|
"chunk_delimiter": {
|
|
9435
|
-
"
|
|
9450
|
+
"anyOf": [
|
|
9451
|
+
{
|
|
9452
|
+
"type": "string"
|
|
9453
|
+
},
|
|
9454
|
+
{
|
|
9455
|
+
"type": "null"
|
|
9456
|
+
}
|
|
9457
|
+
],
|
|
9436
9458
|
"title": "Chunk Delimiter",
|
|
9437
|
-
"description": "String that should be treated as delimiter between intended chunks
|
|
9438
|
-
"default": "\n\n",
|
|
9459
|
+
"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
9460
|
"examples": [
|
|
9440
|
-
|
|
9441
|
-
"|"
|
|
9461
|
+
null
|
|
9442
9462
|
]
|
|
9443
9463
|
},
|
|
9444
9464
|
"text": {
|
|
@@ -9497,16 +9517,24 @@
|
|
|
9497
9517
|
"chunk": {
|
|
9498
9518
|
"type": "boolean",
|
|
9499
9519
|
"title": "Chunk",
|
|
9500
|
-
"description": "Whether the content should be split into smaller chunks. This
|
|
9520
|
+
"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.)",
|
|
9521
|
+
"examples": [
|
|
9522
|
+
false
|
|
9523
|
+
]
|
|
9501
9524
|
},
|
|
9502
9525
|
"chunk_delimiter": {
|
|
9503
|
-
"
|
|
9526
|
+
"anyOf": [
|
|
9527
|
+
{
|
|
9528
|
+
"type": "string"
|
|
9529
|
+
},
|
|
9530
|
+
{
|
|
9531
|
+
"type": "null"
|
|
9532
|
+
}
|
|
9533
|
+
],
|
|
9504
9534
|
"title": "Chunk Delimiter",
|
|
9505
|
-
"description": "String that should be treated as delimiter between intended chunks
|
|
9506
|
-
"default": "\n\n",
|
|
9535
|
+
"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
9536
|
"examples": [
|
|
9508
|
-
|
|
9509
|
-
"|"
|
|
9537
|
+
null
|
|
9510
9538
|
]
|
|
9511
9539
|
},
|
|
9512
9540
|
"id": {
|
|
@@ -9613,16 +9641,24 @@
|
|
|
9613
9641
|
"chunk": {
|
|
9614
9642
|
"type": "boolean",
|
|
9615
9643
|
"title": "Chunk",
|
|
9616
|
-
"description": "Whether the content should be split into smaller chunks. This
|
|
9644
|
+
"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.)",
|
|
9645
|
+
"examples": [
|
|
9646
|
+
false
|
|
9647
|
+
]
|
|
9617
9648
|
},
|
|
9618
9649
|
"chunk_delimiter": {
|
|
9619
|
-
"
|
|
9650
|
+
"anyOf": [
|
|
9651
|
+
{
|
|
9652
|
+
"type": "string"
|
|
9653
|
+
},
|
|
9654
|
+
{
|
|
9655
|
+
"type": "null"
|
|
9656
|
+
}
|
|
9657
|
+
],
|
|
9620
9658
|
"title": "Chunk Delimiter",
|
|
9621
|
-
"description": "String that should be treated as delimiter between intended chunks
|
|
9622
|
-
"default": "\n\n",
|
|
9659
|
+
"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
9660
|
"examples": [
|
|
9624
|
-
|
|
9625
|
-
"|"
|
|
9661
|
+
null
|
|
9626
9662
|
]
|
|
9627
9663
|
},
|
|
9628
9664
|
"id": {
|
|
@@ -9736,16 +9772,24 @@
|
|
|
9736
9772
|
"chunk": {
|
|
9737
9773
|
"type": "boolean",
|
|
9738
9774
|
"title": "Chunk",
|
|
9739
|
-
"description": "Whether the content should be split into smaller chunks. This
|
|
9775
|
+
"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.)",
|
|
9776
|
+
"examples": [
|
|
9777
|
+
false
|
|
9778
|
+
]
|
|
9740
9779
|
},
|
|
9741
9780
|
"chunk_delimiter": {
|
|
9742
|
-
"
|
|
9781
|
+
"anyOf": [
|
|
9782
|
+
{
|
|
9783
|
+
"type": "string"
|
|
9784
|
+
},
|
|
9785
|
+
{
|
|
9786
|
+
"type": "null"
|
|
9787
|
+
}
|
|
9788
|
+
],
|
|
9743
9789
|
"title": "Chunk Delimiter",
|
|
9744
|
-
"description": "String that should be treated as delimiter between intended chunks
|
|
9745
|
-
"default": "\n\n",
|
|
9790
|
+
"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
9791
|
"examples": [
|
|
9747
|
-
|
|
9748
|
-
"|"
|
|
9792
|
+
null
|
|
9749
9793
|
]
|
|
9750
9794
|
},
|
|
9751
9795
|
"id": {
|
|
@@ -11688,6 +11732,30 @@
|
|
|
11688
11732
|
"description": "Batch or Interactive",
|
|
11689
11733
|
"default": "BATCH"
|
|
11690
11734
|
},
|
|
11735
|
+
"caller_id": {
|
|
11736
|
+
"anyOf": [
|
|
11737
|
+
{
|
|
11738
|
+
"type": "string"
|
|
11739
|
+
},
|
|
11740
|
+
{
|
|
11741
|
+
"type": "null"
|
|
11742
|
+
}
|
|
11743
|
+
],
|
|
11744
|
+
"title": "Caller Id",
|
|
11745
|
+
"description": "Caller ID for call"
|
|
11746
|
+
},
|
|
11747
|
+
"pause_seconds": {
|
|
11748
|
+
"anyOf": [
|
|
11749
|
+
{
|
|
11750
|
+
"type": "integer"
|
|
11751
|
+
},
|
|
11752
|
+
{
|
|
11753
|
+
"type": "null"
|
|
11754
|
+
}
|
|
11755
|
+
],
|
|
11756
|
+
"title": "Pause Seconds",
|
|
11757
|
+
"description": "How many seconds to pause between queueing calls. Useful when rate should be less than 1 per minute"
|
|
11758
|
+
},
|
|
11691
11759
|
"id": {
|
|
11692
11760
|
"type": "integer",
|
|
11693
11761
|
"title": "Id",
|
|
@@ -11716,6 +11784,7 @@
|
|
|
11716
11784
|
"daily_start_time",
|
|
11717
11785
|
"daily_end_time",
|
|
11718
11786
|
"timezone",
|
|
11787
|
+
"caller_id",
|
|
11719
11788
|
"id",
|
|
11720
11789
|
"last_updated_by"
|
|
11721
11790
|
],
|
|
@@ -11757,6 +11826,30 @@
|
|
|
11757
11826
|
"$ref": "#/components/schemas/ActionMode",
|
|
11758
11827
|
"description": "Batch or Interactive",
|
|
11759
11828
|
"default": "BATCH"
|
|
11829
|
+
},
|
|
11830
|
+
"caller_id": {
|
|
11831
|
+
"anyOf": [
|
|
11832
|
+
{
|
|
11833
|
+
"type": "string"
|
|
11834
|
+
},
|
|
11835
|
+
{
|
|
11836
|
+
"type": "null"
|
|
11837
|
+
}
|
|
11838
|
+
],
|
|
11839
|
+
"title": "Caller Id",
|
|
11840
|
+
"description": "Caller ID for call"
|
|
11841
|
+
},
|
|
11842
|
+
"pause_seconds": {
|
|
11843
|
+
"anyOf": [
|
|
11844
|
+
{
|
|
11845
|
+
"type": "integer"
|
|
11846
|
+
},
|
|
11847
|
+
{
|
|
11848
|
+
"type": "null"
|
|
11849
|
+
}
|
|
11850
|
+
],
|
|
11851
|
+
"title": "Pause Seconds",
|
|
11852
|
+
"description": "How many seconds to pause between queueing calls. Useful when rate should be less than 1 per minute"
|
|
11760
11853
|
}
|
|
11761
11854
|
},
|
|
11762
11855
|
"type": "object",
|
|
@@ -11765,7 +11858,8 @@
|
|
|
11765
11858
|
"campaign_variables",
|
|
11766
11859
|
"daily_start_time",
|
|
11767
11860
|
"daily_end_time",
|
|
11768
|
-
"timezone"
|
|
11861
|
+
"timezone",
|
|
11862
|
+
"caller_id"
|
|
11769
11863
|
],
|
|
11770
11864
|
"title": "OutboundCampaignInput"
|
|
11771
11865
|
},
|
|
@@ -11821,7 +11915,7 @@
|
|
|
11821
11915
|
"include_default_tools": {
|
|
11822
11916
|
"type": "boolean",
|
|
11823
11917
|
"title": "Include Default Tools",
|
|
11824
|
-
"description": "Whether to include the default tools (`
|
|
11918
|
+
"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
11919
|
"default": true
|
|
11826
11920
|
}
|
|
11827
11921
|
},
|
|
@@ -12174,7 +12268,7 @@
|
|
|
12174
12268
|
"include_default_tools": {
|
|
12175
12269
|
"type": "boolean",
|
|
12176
12270
|
"title": "Include Default Tools",
|
|
12177
|
-
"description": "Whether to include the default tools (`
|
|
12271
|
+
"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
12272
|
"default": true
|
|
12179
12273
|
}
|
|
12180
12274
|
},
|
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.54",
|
|
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.54 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
|
};
|