syllable-sdk 0.1.0-alpha.44 → 0.1.0-alpha.45
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/README.md +6 -2
- package/docs/sdks/datasources/README.md +26 -18
- package/docs/sdks/v1/README.md +158 -0
- package/funcs/dataSourcesDelete.d.ts.map +1 -1
- package/funcs/dataSourcesDelete.js +5 -2
- package/funcs/dataSourcesDelete.js.map +1 -1
- package/funcs/{dataSourcesGetByName.d.ts → dataSourcesGetById.d.ts} +2 -2
- package/funcs/dataSourcesGetById.d.ts.map +1 -0
- package/funcs/dataSourcesGetById.js +108 -0
- package/funcs/dataSourcesGetById.js.map +1 -0
- package/funcs/v1Delete.d.ts +16 -0
- package/funcs/v1Delete.d.ts.map +1 -0
- package/funcs/v1Delete.js +112 -0
- package/funcs/v1Delete.js.map +1 -0
- package/funcs/v1GetById.d.ts +17 -0
- package/funcs/v1GetById.d.ts.map +1 -0
- package/funcs/{dataSourcesGetByName.js → v1GetById.js} +10 -7
- package/funcs/v1GetById.js.map +1 -0
- package/jsr.json +1 -1
- package/lib/config.d.ts +2 -2
- package/lib/config.js +2 -2
- package/mintlify/mint.json +1 -0
- package/models/components/datasourcedetailresponse.d.ts +5 -0
- package/models/components/datasourcedetailresponse.d.ts.map +1 -1
- package/models/components/datasourcedetailresponse.js +2 -0
- package/models/components/datasourcedetailresponse.js.map +1 -1
- package/models/components/datasourcemetadataresponse.d.ts +5 -0
- package/models/components/datasourcemetadataresponse.d.ts.map +1 -1
- package/models/components/datasourcemetadataresponse.js +2 -0
- package/models/components/datasourcemetadataresponse.js.map +1 -1
- package/models/components/datasourceupdaterequest.d.ts +5 -0
- package/models/components/datasourceupdaterequest.d.ts.map +1 -1
- package/models/components/datasourceupdaterequest.js +2 -0
- package/models/components/datasourceupdaterequest.js.map +1 -1
- package/models/operations/datasourcesdelete.d.ts +2 -2
- package/models/operations/datasourcesdelete.d.ts.map +1 -1
- package/models/operations/datasourcesdelete.js +4 -4
- package/models/operations/datasourcesdelete.js.map +1 -1
- package/models/operations/datasourcesgetbyid.d.ts +29 -0
- package/models/operations/datasourcesgetbyid.d.ts.map +1 -0
- package/models/operations/{datasourcesgetbyname.js → datasourcesgetbyid.js} +21 -21
- package/models/operations/datasourcesgetbyid.js.map +1 -0
- package/models/operations/index.d.ts +1 -1
- package/models/operations/index.d.ts.map +1 -1
- package/models/operations/index.js +1 -1
- package/models/operations/index.js.map +1 -1
- package/openapi.json +111 -29
- package/package.json +1 -1
- package/sdk/datasources.d.ts +1 -1
- package/sdk/datasources.d.ts.map +1 -1
- package/sdk/datasources.js +3 -3
- package/sdk/datasources.js.map +1 -1
- package/sdk/sdk.d.ts +2 -2
- package/sdk/sdk.d.ts.map +1 -1
- package/sdk/sdk.js +3 -3
- package/sdk/sdk.js.map +1 -1
- package/sdk/v1.d.ts +14 -0
- package/sdk/v1.d.ts.map +1 -1
- package/sdk/v1.js +20 -0
- package/sdk/v1.js.map +1 -1
- package/src/funcs/dataSourcesDelete.ts +5 -8
- package/src/funcs/{dataSourcesGetByName.ts → dataSourcesGetById.ts} +9 -13
- package/src/funcs/v1Delete.ts +147 -0
- package/src/funcs/v1GetById.ts +142 -0
- package/src/lib/config.ts +2 -2
- package/src/models/components/datasourcedetailresponse.ts +7 -0
- package/src/models/components/datasourcemetadataresponse.ts +7 -0
- package/src/models/components/datasourceupdaterequest.ts +7 -0
- package/src/models/operations/datasourcesdelete.ts +6 -6
- package/src/models/operations/datasourcesgetbyid.ts +75 -0
- package/src/models/operations/index.ts +1 -1
- package/src/sdk/datasources.ts +4 -4
- package/src/sdk/sdk.ts +5 -5
- package/src/sdk/v1.ts +36 -0
- package/funcs/dataSourcesGetByName.d.ts.map +0 -1
- package/funcs/dataSourcesGetByName.js.map +0 -1
- package/models/operations/datasourcesgetbyname.d.ts +0 -29
- package/models/operations/datasourcesgetbyname.d.ts.map +0 -1
- package/models/operations/datasourcesgetbyname.js.map +0 -1
- package/src/models/operations/datasourcesgetbyname.ts +0 -77
|
@@ -0,0 +1,147 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
+
*/
|
|
4
|
+
|
|
5
|
+
import * as z from "zod";
|
|
6
|
+
import { SyllableSDKCore } from "../core.js";
|
|
7
|
+
import { encodeFormQuery, encodeSimple } from "../lib/encodings.js";
|
|
8
|
+
import * as M from "../lib/matchers.js";
|
|
9
|
+
import { compactMap } from "../lib/primitives.js";
|
|
10
|
+
import { safeParse } from "../lib/schemas.js";
|
|
11
|
+
import { RequestOptions } from "../lib/sdks.js";
|
|
12
|
+
import { extractSecurity, resolveGlobalSecurity } from "../lib/security.js";
|
|
13
|
+
import { pathToFunc } from "../lib/url.js";
|
|
14
|
+
import {
|
|
15
|
+
ConnectionError,
|
|
16
|
+
InvalidRequestError,
|
|
17
|
+
RequestAbortedError,
|
|
18
|
+
RequestTimeoutError,
|
|
19
|
+
UnexpectedClientError,
|
|
20
|
+
} from "../models/errors/httpclienterrors.js";
|
|
21
|
+
import * as errors from "../models/errors/index.js";
|
|
22
|
+
import { SDKError } from "../models/errors/sdkerror.js";
|
|
23
|
+
import { SDKValidationError } from "../models/errors/sdkvalidationerror.js";
|
|
24
|
+
import * as operations from "../models/operations/index.js";
|
|
25
|
+
import { Result } from "../types/fp.js";
|
|
26
|
+
|
|
27
|
+
/**
|
|
28
|
+
* Delete Data Source
|
|
29
|
+
*
|
|
30
|
+
* @remarks
|
|
31
|
+
* Delete a given data source.
|
|
32
|
+
*/
|
|
33
|
+
export async function v1Delete(
|
|
34
|
+
client: SyllableSDKCore,
|
|
35
|
+
request: operations.DataSourcesDeleteRequest,
|
|
36
|
+
options?: RequestOptions,
|
|
37
|
+
): Promise<
|
|
38
|
+
Result<
|
|
39
|
+
any,
|
|
40
|
+
| errors.HTTPValidationError
|
|
41
|
+
| SDKError
|
|
42
|
+
| SDKValidationError
|
|
43
|
+
| UnexpectedClientError
|
|
44
|
+
| InvalidRequestError
|
|
45
|
+
| RequestAbortedError
|
|
46
|
+
| RequestTimeoutError
|
|
47
|
+
| ConnectionError
|
|
48
|
+
>
|
|
49
|
+
> {
|
|
50
|
+
const parsed = safeParse(
|
|
51
|
+
request,
|
|
52
|
+
(value) => operations.DataSourcesDeleteRequest$outboundSchema.parse(value),
|
|
53
|
+
"Input validation failed",
|
|
54
|
+
);
|
|
55
|
+
if (!parsed.ok) {
|
|
56
|
+
return parsed;
|
|
57
|
+
}
|
|
58
|
+
const payload = parsed.value;
|
|
59
|
+
const body = null;
|
|
60
|
+
|
|
61
|
+
const pathParams = {
|
|
62
|
+
data_source_id: encodeSimple("data_source_id", payload.data_source_id, {
|
|
63
|
+
explode: false,
|
|
64
|
+
charEncoding: "percent",
|
|
65
|
+
}),
|
|
66
|
+
};
|
|
67
|
+
|
|
68
|
+
const path = pathToFunc("/api/v1/data_sources/{data_source_id}")(pathParams);
|
|
69
|
+
|
|
70
|
+
const query = encodeFormQuery({
|
|
71
|
+
"reason": payload.reason,
|
|
72
|
+
});
|
|
73
|
+
|
|
74
|
+
const headers = new Headers(compactMap({
|
|
75
|
+
Accept: "application/json",
|
|
76
|
+
}));
|
|
77
|
+
|
|
78
|
+
const secConfig = await extractSecurity(client._options.apiKeyHeader);
|
|
79
|
+
const securityInput = secConfig == null ? {} : { apiKeyHeader: secConfig };
|
|
80
|
+
const requestSecurity = resolveGlobalSecurity(securityInput);
|
|
81
|
+
|
|
82
|
+
const context = {
|
|
83
|
+
baseURL: options?.serverURL ?? "",
|
|
84
|
+
operationID: "data_sources_delete",
|
|
85
|
+
oAuth2Scopes: [],
|
|
86
|
+
|
|
87
|
+
resolvedSecurity: requestSecurity,
|
|
88
|
+
|
|
89
|
+
securitySource: client._options.apiKeyHeader,
|
|
90
|
+
retryConfig: options?.retries
|
|
91
|
+
|| client._options.retryConfig
|
|
92
|
+
|| { strategy: "none" },
|
|
93
|
+
retryCodes: options?.retryCodes || ["429", "500", "502", "503", "504"],
|
|
94
|
+
};
|
|
95
|
+
|
|
96
|
+
const requestRes = client._createRequest(context, {
|
|
97
|
+
security: requestSecurity,
|
|
98
|
+
method: "DELETE",
|
|
99
|
+
baseURL: options?.serverURL,
|
|
100
|
+
path: path,
|
|
101
|
+
headers: headers,
|
|
102
|
+
query: query,
|
|
103
|
+
body: body,
|
|
104
|
+
timeoutMs: options?.timeoutMs || client._options.timeoutMs || -1,
|
|
105
|
+
}, options);
|
|
106
|
+
if (!requestRes.ok) {
|
|
107
|
+
return requestRes;
|
|
108
|
+
}
|
|
109
|
+
const req = requestRes.value;
|
|
110
|
+
|
|
111
|
+
const doResult = await client._do(req, {
|
|
112
|
+
context,
|
|
113
|
+
errorCodes: ["422", "4XX", "5XX"],
|
|
114
|
+
retryConfig: context.retryConfig,
|
|
115
|
+
retryCodes: context.retryCodes,
|
|
116
|
+
});
|
|
117
|
+
if (!doResult.ok) {
|
|
118
|
+
return doResult;
|
|
119
|
+
}
|
|
120
|
+
const response = doResult.value;
|
|
121
|
+
|
|
122
|
+
const responseFields = {
|
|
123
|
+
HttpMeta: { Response: response, Request: req },
|
|
124
|
+
};
|
|
125
|
+
|
|
126
|
+
const [result] = await M.match<
|
|
127
|
+
any,
|
|
128
|
+
| errors.HTTPValidationError
|
|
129
|
+
| SDKError
|
|
130
|
+
| SDKValidationError
|
|
131
|
+
| UnexpectedClientError
|
|
132
|
+
| InvalidRequestError
|
|
133
|
+
| RequestAbortedError
|
|
134
|
+
| RequestTimeoutError
|
|
135
|
+
| ConnectionError
|
|
136
|
+
>(
|
|
137
|
+
M.json(200, z.any()),
|
|
138
|
+
M.jsonErr(422, errors.HTTPValidationError$inboundSchema),
|
|
139
|
+
M.fail("4XX"),
|
|
140
|
+
M.fail("5XX"),
|
|
141
|
+
)(response, { extraFields: responseFields });
|
|
142
|
+
if (!result.ok) {
|
|
143
|
+
return result;
|
|
144
|
+
}
|
|
145
|
+
|
|
146
|
+
return result;
|
|
147
|
+
}
|
|
@@ -0,0 +1,142 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
+
*/
|
|
4
|
+
|
|
5
|
+
import { SyllableSDKCore } from "../core.js";
|
|
6
|
+
import { encodeSimple } from "../lib/encodings.js";
|
|
7
|
+
import * as M from "../lib/matchers.js";
|
|
8
|
+
import { compactMap } from "../lib/primitives.js";
|
|
9
|
+
import { safeParse } from "../lib/schemas.js";
|
|
10
|
+
import { RequestOptions } from "../lib/sdks.js";
|
|
11
|
+
import { extractSecurity, resolveGlobalSecurity } from "../lib/security.js";
|
|
12
|
+
import { pathToFunc } from "../lib/url.js";
|
|
13
|
+
import * as components from "../models/components/index.js";
|
|
14
|
+
import {
|
|
15
|
+
ConnectionError,
|
|
16
|
+
InvalidRequestError,
|
|
17
|
+
RequestAbortedError,
|
|
18
|
+
RequestTimeoutError,
|
|
19
|
+
UnexpectedClientError,
|
|
20
|
+
} from "../models/errors/httpclienterrors.js";
|
|
21
|
+
import * as errors from "../models/errors/index.js";
|
|
22
|
+
import { SDKError } from "../models/errors/sdkerror.js";
|
|
23
|
+
import { SDKValidationError } from "../models/errors/sdkvalidationerror.js";
|
|
24
|
+
import * as operations from "../models/operations/index.js";
|
|
25
|
+
import { Result } from "../types/fp.js";
|
|
26
|
+
|
|
27
|
+
/**
|
|
28
|
+
* Get Data Source
|
|
29
|
+
*
|
|
30
|
+
* @remarks
|
|
31
|
+
* Fetch a given data source, including its text.
|
|
32
|
+
*/
|
|
33
|
+
export async function v1GetById(
|
|
34
|
+
client: SyllableSDKCore,
|
|
35
|
+
request: operations.DataSourcesGetByIdRequest,
|
|
36
|
+
options?: RequestOptions,
|
|
37
|
+
): Promise<
|
|
38
|
+
Result<
|
|
39
|
+
components.DataSourceDetailResponse,
|
|
40
|
+
| errors.HTTPValidationError
|
|
41
|
+
| SDKError
|
|
42
|
+
| SDKValidationError
|
|
43
|
+
| UnexpectedClientError
|
|
44
|
+
| InvalidRequestError
|
|
45
|
+
| RequestAbortedError
|
|
46
|
+
| RequestTimeoutError
|
|
47
|
+
| ConnectionError
|
|
48
|
+
>
|
|
49
|
+
> {
|
|
50
|
+
const parsed = safeParse(
|
|
51
|
+
request,
|
|
52
|
+
(value) => operations.DataSourcesGetByIdRequest$outboundSchema.parse(value),
|
|
53
|
+
"Input validation failed",
|
|
54
|
+
);
|
|
55
|
+
if (!parsed.ok) {
|
|
56
|
+
return parsed;
|
|
57
|
+
}
|
|
58
|
+
const payload = parsed.value;
|
|
59
|
+
const body = null;
|
|
60
|
+
|
|
61
|
+
const pathParams = {
|
|
62
|
+
data_source_id: encodeSimple("data_source_id", payload.data_source_id, {
|
|
63
|
+
explode: false,
|
|
64
|
+
charEncoding: "percent",
|
|
65
|
+
}),
|
|
66
|
+
};
|
|
67
|
+
|
|
68
|
+
const path = pathToFunc("/api/v1/data_sources/{data_source_id}")(pathParams);
|
|
69
|
+
|
|
70
|
+
const headers = new Headers(compactMap({
|
|
71
|
+
Accept: "application/json",
|
|
72
|
+
}));
|
|
73
|
+
|
|
74
|
+
const secConfig = await extractSecurity(client._options.apiKeyHeader);
|
|
75
|
+
const securityInput = secConfig == null ? {} : { apiKeyHeader: secConfig };
|
|
76
|
+
const requestSecurity = resolveGlobalSecurity(securityInput);
|
|
77
|
+
|
|
78
|
+
const context = {
|
|
79
|
+
baseURL: options?.serverURL ?? "",
|
|
80
|
+
operationID: "data_sources_get_by_id",
|
|
81
|
+
oAuth2Scopes: [],
|
|
82
|
+
|
|
83
|
+
resolvedSecurity: requestSecurity,
|
|
84
|
+
|
|
85
|
+
securitySource: client._options.apiKeyHeader,
|
|
86
|
+
retryConfig: options?.retries
|
|
87
|
+
|| client._options.retryConfig
|
|
88
|
+
|| { strategy: "none" },
|
|
89
|
+
retryCodes: options?.retryCodes || ["429", "500", "502", "503", "504"],
|
|
90
|
+
};
|
|
91
|
+
|
|
92
|
+
const requestRes = client._createRequest(context, {
|
|
93
|
+
security: requestSecurity,
|
|
94
|
+
method: "GET",
|
|
95
|
+
baseURL: options?.serverURL,
|
|
96
|
+
path: path,
|
|
97
|
+
headers: headers,
|
|
98
|
+
body: body,
|
|
99
|
+
timeoutMs: options?.timeoutMs || client._options.timeoutMs || -1,
|
|
100
|
+
}, options);
|
|
101
|
+
if (!requestRes.ok) {
|
|
102
|
+
return requestRes;
|
|
103
|
+
}
|
|
104
|
+
const req = requestRes.value;
|
|
105
|
+
|
|
106
|
+
const doResult = await client._do(req, {
|
|
107
|
+
context,
|
|
108
|
+
errorCodes: ["422", "4XX", "5XX"],
|
|
109
|
+
retryConfig: context.retryConfig,
|
|
110
|
+
retryCodes: context.retryCodes,
|
|
111
|
+
});
|
|
112
|
+
if (!doResult.ok) {
|
|
113
|
+
return doResult;
|
|
114
|
+
}
|
|
115
|
+
const response = doResult.value;
|
|
116
|
+
|
|
117
|
+
const responseFields = {
|
|
118
|
+
HttpMeta: { Response: response, Request: req },
|
|
119
|
+
};
|
|
120
|
+
|
|
121
|
+
const [result] = await M.match<
|
|
122
|
+
components.DataSourceDetailResponse,
|
|
123
|
+
| errors.HTTPValidationError
|
|
124
|
+
| SDKError
|
|
125
|
+
| SDKValidationError
|
|
126
|
+
| UnexpectedClientError
|
|
127
|
+
| InvalidRequestError
|
|
128
|
+
| RequestAbortedError
|
|
129
|
+
| RequestTimeoutError
|
|
130
|
+
| ConnectionError
|
|
131
|
+
>(
|
|
132
|
+
M.json(200, components.DataSourceDetailResponse$inboundSchema),
|
|
133
|
+
M.jsonErr(422, errors.HTTPValidationError$inboundSchema),
|
|
134
|
+
M.fail("4XX"),
|
|
135
|
+
M.fail("5XX"),
|
|
136
|
+
)(response, { extraFields: responseFields });
|
|
137
|
+
if (!result.ok) {
|
|
138
|
+
return result;
|
|
139
|
+
}
|
|
140
|
+
|
|
141
|
+
return result;
|
|
142
|
+
}
|
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.45",
|
|
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.45 2.512.4 0.0.2 syllable-sdk",
|
|
64
64
|
} as const;
|
|
@@ -32,6 +32,10 @@ export type DataSourceDetailResponse = {
|
|
|
32
32
|
* String that should be treated as delimiter between intended chunks if chunk == True. This string will not be included in any chunks. Defaults to a blank line ('\n\n').
|
|
33
33
|
*/
|
|
34
34
|
chunkDelimiter?: string | undefined;
|
|
35
|
+
/**
|
|
36
|
+
* The data source ID.
|
|
37
|
+
*/
|
|
38
|
+
id: number;
|
|
35
39
|
/**
|
|
36
40
|
* The comments for the most recent edit to the data source
|
|
37
41
|
*/
|
|
@@ -61,6 +65,7 @@ export const DataSourceDetailResponse$inboundSchema: z.ZodType<
|
|
|
61
65
|
labels: z.array(z.string()).optional(),
|
|
62
66
|
chunk: z.boolean(),
|
|
63
67
|
chunk_delimiter: z.string().default("\n\n"),
|
|
68
|
+
id: z.number().int(),
|
|
64
69
|
edit_comments: z.nullable(z.string()).optional(),
|
|
65
70
|
updated_at: z.string().datetime({ offset: true }).transform(v => new Date(v)),
|
|
66
71
|
last_updated_by: z.nullable(z.string()),
|
|
@@ -81,6 +86,7 @@ export type DataSourceDetailResponse$Outbound = {
|
|
|
81
86
|
labels?: Array<string> | undefined;
|
|
82
87
|
chunk: boolean;
|
|
83
88
|
chunk_delimiter: string;
|
|
89
|
+
id: number;
|
|
84
90
|
edit_comments?: string | null | undefined;
|
|
85
91
|
updated_at: string;
|
|
86
92
|
last_updated_by: string | null;
|
|
@@ -98,6 +104,7 @@ export const DataSourceDetailResponse$outboundSchema: z.ZodType<
|
|
|
98
104
|
labels: z.array(z.string()).optional(),
|
|
99
105
|
chunk: z.boolean(),
|
|
100
106
|
chunkDelimiter: z.string().default("\n\n"),
|
|
107
|
+
id: z.number().int(),
|
|
101
108
|
editComments: z.nullable(z.string()).optional(),
|
|
102
109
|
updatedAt: z.date().transform(v => v.toISOString()),
|
|
103
110
|
lastUpdatedBy: z.nullable(z.string()),
|
|
@@ -32,6 +32,10 @@ export type DataSourceMetadataResponse = {
|
|
|
32
32
|
* String that should be treated as delimiter between intended chunks if chunk == True. This string will not be included in any chunks. Defaults to a blank line ('\n\n').
|
|
33
33
|
*/
|
|
34
34
|
chunkDelimiter?: string | undefined;
|
|
35
|
+
/**
|
|
36
|
+
* The data source ID.
|
|
37
|
+
*/
|
|
38
|
+
id: number;
|
|
35
39
|
/**
|
|
36
40
|
* The comments for the most recent edit to the data source
|
|
37
41
|
*/
|
|
@@ -57,6 +61,7 @@ export const DataSourceMetadataResponse$inboundSchema: z.ZodType<
|
|
|
57
61
|
labels: z.array(z.string()).optional(),
|
|
58
62
|
chunk: z.boolean(),
|
|
59
63
|
chunk_delimiter: z.string().default("\n\n"),
|
|
64
|
+
id: z.number().int(),
|
|
60
65
|
edit_comments: z.nullable(z.string()).optional(),
|
|
61
66
|
updated_at: z.string().datetime({ offset: true }).transform(v => new Date(v)),
|
|
62
67
|
last_updated_by: z.nullable(z.string()),
|
|
@@ -76,6 +81,7 @@ export type DataSourceMetadataResponse$Outbound = {
|
|
|
76
81
|
labels?: Array<string> | undefined;
|
|
77
82
|
chunk: boolean;
|
|
78
83
|
chunk_delimiter: string;
|
|
84
|
+
id: number;
|
|
79
85
|
edit_comments?: string | null | undefined;
|
|
80
86
|
updated_at: string;
|
|
81
87
|
last_updated_by: string | null;
|
|
@@ -92,6 +98,7 @@ export const DataSourceMetadataResponse$outboundSchema: z.ZodType<
|
|
|
92
98
|
labels: z.array(z.string()).optional(),
|
|
93
99
|
chunk: z.boolean(),
|
|
94
100
|
chunkDelimiter: z.string().default("\n\n"),
|
|
101
|
+
id: z.number().int(),
|
|
95
102
|
editComments: z.nullable(z.string()).optional(),
|
|
96
103
|
updatedAt: z.date().transform(v => v.toISOString()),
|
|
97
104
|
lastUpdatedBy: z.nullable(z.string()),
|
|
@@ -29,6 +29,10 @@ export type DataSourceUpdateRequest = {
|
|
|
29
29
|
* String that should be treated as delimiter between intended chunks if chunk == True. This string will not be included in any chunks. Defaults to a blank line ('\n\n').
|
|
30
30
|
*/
|
|
31
31
|
chunkDelimiter?: string | undefined;
|
|
32
|
+
/**
|
|
33
|
+
* The data source ID.
|
|
34
|
+
*/
|
|
35
|
+
id: number;
|
|
32
36
|
/**
|
|
33
37
|
* The comments for the most recent edit to the data source
|
|
34
38
|
*/
|
|
@@ -50,6 +54,7 @@ export const DataSourceUpdateRequest$inboundSchema: z.ZodType<
|
|
|
50
54
|
labels: z.array(z.string()).optional(),
|
|
51
55
|
chunk: z.boolean(),
|
|
52
56
|
chunk_delimiter: z.string().default("\n\n"),
|
|
57
|
+
id: z.number().int(),
|
|
53
58
|
edit_comments: z.nullable(z.string()).optional(),
|
|
54
59
|
text: z.string(),
|
|
55
60
|
}).transform((v) => {
|
|
@@ -66,6 +71,7 @@ export type DataSourceUpdateRequest$Outbound = {
|
|
|
66
71
|
labels?: Array<string> | undefined;
|
|
67
72
|
chunk: boolean;
|
|
68
73
|
chunk_delimiter: string;
|
|
74
|
+
id: number;
|
|
69
75
|
edit_comments?: string | null | undefined;
|
|
70
76
|
text: string;
|
|
71
77
|
};
|
|
@@ -81,6 +87,7 @@ export const DataSourceUpdateRequest$outboundSchema: z.ZodType<
|
|
|
81
87
|
labels: z.array(z.string()).optional(),
|
|
82
88
|
chunk: z.boolean(),
|
|
83
89
|
chunkDelimiter: z.string().default("\n\n"),
|
|
90
|
+
id: z.number().int(),
|
|
84
91
|
editComments: z.nullable(z.string()).optional(),
|
|
85
92
|
text: z.string(),
|
|
86
93
|
}).transform((v) => {
|
|
@@ -9,7 +9,7 @@ import { Result as SafeParseResult } from "../../types/fp.js";
|
|
|
9
9
|
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
10
10
|
|
|
11
11
|
export type DataSourcesDeleteRequest = {
|
|
12
|
-
|
|
12
|
+
dataSourceId: number;
|
|
13
13
|
reason: string;
|
|
14
14
|
};
|
|
15
15
|
|
|
@@ -19,17 +19,17 @@ export const DataSourcesDeleteRequest$inboundSchema: z.ZodType<
|
|
|
19
19
|
z.ZodTypeDef,
|
|
20
20
|
unknown
|
|
21
21
|
> = z.object({
|
|
22
|
-
|
|
22
|
+
data_source_id: z.number().int(),
|
|
23
23
|
reason: z.string(),
|
|
24
24
|
}).transform((v) => {
|
|
25
25
|
return remap$(v, {
|
|
26
|
-
"
|
|
26
|
+
"data_source_id": "dataSourceId",
|
|
27
27
|
});
|
|
28
28
|
});
|
|
29
29
|
|
|
30
30
|
/** @internal */
|
|
31
31
|
export type DataSourcesDeleteRequest$Outbound = {
|
|
32
|
-
|
|
32
|
+
data_source_id: number;
|
|
33
33
|
reason: string;
|
|
34
34
|
};
|
|
35
35
|
|
|
@@ -39,11 +39,11 @@ export const DataSourcesDeleteRequest$outboundSchema: z.ZodType<
|
|
|
39
39
|
z.ZodTypeDef,
|
|
40
40
|
DataSourcesDeleteRequest
|
|
41
41
|
> = z.object({
|
|
42
|
-
|
|
42
|
+
dataSourceId: z.number().int(),
|
|
43
43
|
reason: z.string(),
|
|
44
44
|
}).transform((v) => {
|
|
45
45
|
return remap$(v, {
|
|
46
|
-
|
|
46
|
+
dataSourceId: "data_source_id",
|
|
47
47
|
});
|
|
48
48
|
});
|
|
49
49
|
|
|
@@ -0,0 +1,75 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
+
*/
|
|
4
|
+
|
|
5
|
+
import * as z from "zod";
|
|
6
|
+
import { remap as remap$ } from "../../lib/primitives.js";
|
|
7
|
+
import { safeParse } from "../../lib/schemas.js";
|
|
8
|
+
import { Result as SafeParseResult } from "../../types/fp.js";
|
|
9
|
+
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
10
|
+
|
|
11
|
+
export type DataSourcesGetByIdRequest = {
|
|
12
|
+
dataSourceId: number;
|
|
13
|
+
};
|
|
14
|
+
|
|
15
|
+
/** @internal */
|
|
16
|
+
export const DataSourcesGetByIdRequest$inboundSchema: z.ZodType<
|
|
17
|
+
DataSourcesGetByIdRequest,
|
|
18
|
+
z.ZodTypeDef,
|
|
19
|
+
unknown
|
|
20
|
+
> = z.object({
|
|
21
|
+
data_source_id: z.number().int(),
|
|
22
|
+
}).transform((v) => {
|
|
23
|
+
return remap$(v, {
|
|
24
|
+
"data_source_id": "dataSourceId",
|
|
25
|
+
});
|
|
26
|
+
});
|
|
27
|
+
|
|
28
|
+
/** @internal */
|
|
29
|
+
export type DataSourcesGetByIdRequest$Outbound = {
|
|
30
|
+
data_source_id: number;
|
|
31
|
+
};
|
|
32
|
+
|
|
33
|
+
/** @internal */
|
|
34
|
+
export const DataSourcesGetByIdRequest$outboundSchema: z.ZodType<
|
|
35
|
+
DataSourcesGetByIdRequest$Outbound,
|
|
36
|
+
z.ZodTypeDef,
|
|
37
|
+
DataSourcesGetByIdRequest
|
|
38
|
+
> = z.object({
|
|
39
|
+
dataSourceId: z.number().int(),
|
|
40
|
+
}).transform((v) => {
|
|
41
|
+
return remap$(v, {
|
|
42
|
+
dataSourceId: "data_source_id",
|
|
43
|
+
});
|
|
44
|
+
});
|
|
45
|
+
|
|
46
|
+
/**
|
|
47
|
+
* @internal
|
|
48
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
49
|
+
*/
|
|
50
|
+
export namespace DataSourcesGetByIdRequest$ {
|
|
51
|
+
/** @deprecated use `DataSourcesGetByIdRequest$inboundSchema` instead. */
|
|
52
|
+
export const inboundSchema = DataSourcesGetByIdRequest$inboundSchema;
|
|
53
|
+
/** @deprecated use `DataSourcesGetByIdRequest$outboundSchema` instead. */
|
|
54
|
+
export const outboundSchema = DataSourcesGetByIdRequest$outboundSchema;
|
|
55
|
+
/** @deprecated use `DataSourcesGetByIdRequest$Outbound` instead. */
|
|
56
|
+
export type Outbound = DataSourcesGetByIdRequest$Outbound;
|
|
57
|
+
}
|
|
58
|
+
|
|
59
|
+
export function dataSourcesGetByIdRequestToJSON(
|
|
60
|
+
dataSourcesGetByIdRequest: DataSourcesGetByIdRequest,
|
|
61
|
+
): string {
|
|
62
|
+
return JSON.stringify(
|
|
63
|
+
DataSourcesGetByIdRequest$outboundSchema.parse(dataSourcesGetByIdRequest),
|
|
64
|
+
);
|
|
65
|
+
}
|
|
66
|
+
|
|
67
|
+
export function dataSourcesGetByIdRequestFromJSON(
|
|
68
|
+
jsonString: string,
|
|
69
|
+
): SafeParseResult<DataSourcesGetByIdRequest, SDKValidationError> {
|
|
70
|
+
return safeParse(
|
|
71
|
+
jsonString,
|
|
72
|
+
(x) => DataSourcesGetByIdRequest$inboundSchema.parse(JSON.parse(x)),
|
|
73
|
+
`Failed to parse 'DataSourcesGetByIdRequest' from JSON`,
|
|
74
|
+
);
|
|
75
|
+
}
|
|
@@ -17,7 +17,7 @@ export * from "./custommessagegetbyid.js";
|
|
|
17
17
|
export * from "./custommessagesdelete.js";
|
|
18
18
|
export * from "./custommessageslist.js";
|
|
19
19
|
export * from "./datasourcesdelete.js";
|
|
20
|
-
export * from "./
|
|
20
|
+
export * from "./datasourcesgetbyid.js";
|
|
21
21
|
export * from "./datasourceslist.js";
|
|
22
22
|
export * from "./eventslist.js";
|
|
23
23
|
export * from "./generatesessionrecordingurls.js";
|
package/src/sdk/datasources.ts
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
|
|
5
5
|
import { dataSourcesCreate } from "../funcs/dataSourcesCreate.js";
|
|
6
6
|
import { dataSourcesDelete } from "../funcs/dataSourcesDelete.js";
|
|
7
|
-
import {
|
|
7
|
+
import { dataSourcesGetById } from "../funcs/dataSourcesGetById.js";
|
|
8
8
|
import { dataSourcesList } from "../funcs/dataSourcesList.js";
|
|
9
9
|
import { dataSourcesUpdate } from "../funcs/dataSourcesUpdate.js";
|
|
10
10
|
import { ClientSDK, RequestOptions } from "../lib/sdks.js";
|
|
@@ -70,11 +70,11 @@ export class DataSources extends ClientSDK {
|
|
|
70
70
|
* @remarks
|
|
71
71
|
* Fetch a given data source, including its text.
|
|
72
72
|
*/
|
|
73
|
-
async
|
|
74
|
-
request: operations.
|
|
73
|
+
async getById(
|
|
74
|
+
request: operations.DataSourcesGetByIdRequest,
|
|
75
75
|
options?: RequestOptions,
|
|
76
76
|
): Promise<components.DataSourceDetailResponse> {
|
|
77
|
-
return unwrapAsync(
|
|
77
|
+
return unwrapAsync(dataSourcesGetById(
|
|
78
78
|
this,
|
|
79
79
|
request,
|
|
80
80
|
options,
|
package/src/sdk/sdk.ts
CHANGED
|
@@ -38,6 +38,11 @@ export class SyllableSDK extends ClientSDK {
|
|
|
38
38
|
return (this._dataSources ??= new DataSources(this._options));
|
|
39
39
|
}
|
|
40
40
|
|
|
41
|
+
private _v1?: V1;
|
|
42
|
+
get v1(): V1 {
|
|
43
|
+
return (this._v1 ??= new V1(this._options));
|
|
44
|
+
}
|
|
45
|
+
|
|
41
46
|
private _events?: Events;
|
|
42
47
|
get events(): Events {
|
|
43
48
|
return (this._events ??= new Events(this._options));
|
|
@@ -77,9 +82,4 @@ export class SyllableSDK extends ClientSDK {
|
|
|
77
82
|
get dashboards(): Dashboards {
|
|
78
83
|
return (this._dashboards ??= new Dashboards(this._options));
|
|
79
84
|
}
|
|
80
|
-
|
|
81
|
-
private _v1?: V1;
|
|
82
|
-
get v1(): V1 {
|
|
83
|
-
return (this._v1 ??= new V1(this._options));
|
|
84
|
-
}
|
|
85
85
|
}
|
package/src/sdk/v1.ts
CHANGED
|
@@ -2,6 +2,8 @@
|
|
|
2
2
|
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
3
|
*/
|
|
4
4
|
|
|
5
|
+
import { v1Delete } from "../funcs/v1Delete.js";
|
|
6
|
+
import { v1GetById } from "../funcs/v1GetById.js";
|
|
5
7
|
import { v1PostGetDashboard } from "../funcs/v1PostGetDashboard.js";
|
|
6
8
|
import { v1PostListDashboard } from "../funcs/v1PostListDashboard.js";
|
|
7
9
|
import { v1PostSessionEventsDashboard } from "../funcs/v1PostSessionEventsDashboard.js";
|
|
@@ -14,6 +16,40 @@ import * as operations from "../models/operations/index.js";
|
|
|
14
16
|
import { unwrapAsync } from "../types/fp.js";
|
|
15
17
|
|
|
16
18
|
export class V1 extends ClientSDK {
|
|
19
|
+
/**
|
|
20
|
+
* Get Data Source
|
|
21
|
+
*
|
|
22
|
+
* @remarks
|
|
23
|
+
* Fetch a given data source, including its text.
|
|
24
|
+
*/
|
|
25
|
+
async getById(
|
|
26
|
+
request: operations.DataSourcesGetByIdRequest,
|
|
27
|
+
options?: RequestOptions,
|
|
28
|
+
): Promise<components.DataSourceDetailResponse> {
|
|
29
|
+
return unwrapAsync(v1GetById(
|
|
30
|
+
this,
|
|
31
|
+
request,
|
|
32
|
+
options,
|
|
33
|
+
));
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
/**
|
|
37
|
+
* Delete Data Source
|
|
38
|
+
*
|
|
39
|
+
* @remarks
|
|
40
|
+
* Delete a given data source.
|
|
41
|
+
*/
|
|
42
|
+
async delete(
|
|
43
|
+
request: operations.DataSourcesDeleteRequest,
|
|
44
|
+
options?: RequestOptions,
|
|
45
|
+
): Promise<any> {
|
|
46
|
+
return unwrapAsync(v1Delete(
|
|
47
|
+
this,
|
|
48
|
+
request,
|
|
49
|
+
options,
|
|
50
|
+
));
|
|
51
|
+
}
|
|
52
|
+
|
|
17
53
|
/**
|
|
18
54
|
* Post List Dashboards
|
|
19
55
|
*
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"dataSourcesGetByName.d.ts","sourceRoot":"","sources":["../src/funcs/dataSourcesGetByName.ts"],"names":[],"m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AAU,CAAC,sCAAsC,CAAC,EAC9D,CAAC,CAAC,OAAO,CAAC,GAAG,EAAE,MAAM,CAAC,iCAAiC,CAAC,EACxD,CAAC,CAAC,IAAI,CAAC,KAAK,CAAC,EACb,CAAC,CAAC,IAAI,CAAC,KAAK,CAAC,CACd,CAAC,QAAQ,EAAE,EAAE,WAAW,EAAE,cAAc,EAAE,CAAC,CAAC;IAC7C,IAAI,CAAC,MAAM,CAAC,EAAE,EAAE,CAAC;QACf,OAAO,MAAM,CAAC;IAChB,CAAC;IAED,OAAO,MAAM,CAAC;AAChB,CAAC"}
|
|
@@ -1,29 +0,0 @@
|
|
|
1
|
-
import * as z from "zod";
|
|
2
|
-
import { Result as SafeParseResult } from "../../types/fp.js";
|
|
3
|
-
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
4
|
-
export type DataSourcesGetByNameRequest = {
|
|
5
|
-
dataSourceName: string;
|
|
6
|
-
};
|
|
7
|
-
/** @internal */
|
|
8
|
-
export declare const DataSourcesGetByNameRequest$inboundSchema: z.ZodType<DataSourcesGetByNameRequest, z.ZodTypeDef, unknown>;
|
|
9
|
-
/** @internal */
|
|
10
|
-
export type DataSourcesGetByNameRequest$Outbound = {
|
|
11
|
-
data_source_name: string;
|
|
12
|
-
};
|
|
13
|
-
/** @internal */
|
|
14
|
-
export declare const DataSourcesGetByNameRequest$outboundSchema: z.ZodType<DataSourcesGetByNameRequest$Outbound, z.ZodTypeDef, DataSourcesGetByNameRequest>;
|
|
15
|
-
/**
|
|
16
|
-
* @internal
|
|
17
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
18
|
-
*/
|
|
19
|
-
export declare namespace DataSourcesGetByNameRequest$ {
|
|
20
|
-
/** @deprecated use `DataSourcesGetByNameRequest$inboundSchema` instead. */
|
|
21
|
-
const inboundSchema: z.ZodType<DataSourcesGetByNameRequest, z.ZodTypeDef, unknown>;
|
|
22
|
-
/** @deprecated use `DataSourcesGetByNameRequest$outboundSchema` instead. */
|
|
23
|
-
const outboundSchema: z.ZodType<DataSourcesGetByNameRequest$Outbound, z.ZodTypeDef, DataSourcesGetByNameRequest>;
|
|
24
|
-
/** @deprecated use `DataSourcesGetByNameRequest$Outbound` instead. */
|
|
25
|
-
type Outbound = DataSourcesGetByNameRequest$Outbound;
|
|
26
|
-
}
|
|
27
|
-
export declare function dataSourcesGetByNameRequestToJSON(dataSourcesGetByNameRequest: DataSourcesGetByNameRequest): string;
|
|
28
|
-
export declare function dataSourcesGetByNameRequestFromJSON(jsonString: string): SafeParseResult<DataSourcesGetByNameRequest, SDKValidationError>;
|
|
29
|
-
//# sourceMappingURL=datasourcesgetbyname.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"datasourcesgetbyname.d.ts","sourceRoot":"","sources":["../../src/models/operations/datasourcesgetbyname.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,2BAA2B,GAAG;IACxC,cAAc,EAAE,MAAM,CAAC;CACxB,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,yCAAyC,EAAE,CAAC,CAAC,OAAO,CAC/D,2BAA2B,EAC3B,CAAC,CAAC,UAAU,EACZ,OAAO,CAOP,CAAC;AAEH,gBAAgB;AAChB,MAAM,MAAM,oCAAoC,GAAG;IACjD,gBAAgB,EAAE,MAAM,CAAC;CAC1B,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,0CAA0C,EAAE,CAAC,CAAC,OAAO,CAChE,oCAAoC,EACpC,CAAC,CAAC,UAAU,EACZ,2BAA2B,CAO3B,CAAC;AAEH;;;GAGG;AACH,yBAAiB,4BAA4B,CAAC;IAC5C,2EAA2E;IACpE,MAAM,aAAa,+DAA4C,CAAC;IACvE,4EAA4E;IACrE,MAAM,cAAc,4FAA6C,CAAC;IACzE,sEAAsE;IACtE,KAAY,QAAQ,GAAG,oCAAoC,CAAC;CAC7D;AAED,wBAAgB,iCAAiC,CAC/C,2BAA2B,EAAE,2BAA2B,GACvD,MAAM,CAMR;AAED,wBAAgB,mCAAmC,CACjD,UAAU,EAAE,MAAM,GACjB,eAAe,CAAC,2BAA2B,EAAE,kBAAkB,CAAC,CAMlE"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"datasourcesgetbyname.js","sourceRoot":"","sources":["../../src/models/operations/datasourcesgetbyname.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;AAwDH,8EAQC;AAED,kFAQC;AAxED,uCAAyB;AACzB,2DAA0D;AAC1D,qDAAiD;AAQjD,gBAAgB;AACH,QAAA,yCAAyC,GAIlD,CAAC,CAAC,MAAM,CAAC;IACX,gBAAgB,EAAE,CAAC,CAAC,MAAM,EAAE;CAC7B,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,EAAE,EAAE;IACjB,OAAO,IAAA,qBAAM,EAAC,CAAC,EAAE;QACf,kBAAkB,EAAE,gBAAgB;KACrC,CAAC,CAAC;AACL,CAAC,CAAC,CAAC;AAOH,gBAAgB;AACH,QAAA,0CAA0C,GAInD,CAAC,CAAC,MAAM,CAAC;IACX,cAAc,EAAE,CAAC,CAAC,MAAM,EAAE;CAC3B,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,EAAE,EAAE;IACjB,OAAO,IAAA,qBAAM,EAAC,CAAC,EAAE;QACf,cAAc,EAAE,kBAAkB;KACnC,CAAC,CAAC;AACL,CAAC,CAAC,CAAC;AAEH;;;GAGG;AACH,IAAiB,4BAA4B,CAO5C;AAPD,WAAiB,4BAA4B;IAC3C,2EAA2E;IAC9D,0CAAa,GAAG,iDAAyC,CAAC;IACvE,4EAA4E;IAC/D,2CAAc,GAAG,kDAA0C,CAAC;AAG3E,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