@kittycad/lib 4.0.20 → 4.0.23
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/index.cjs +1 -1
- package/dist/mjs/index.js +1 -1
- package/dist/types/src/api/payments/list_invoices_for_org.d.ts +10 -4
- package/dist/types/src/api/payments/list_invoices_for_org.d.ts.map +1 -1
- package/dist/types/src/api/payments/list_invoices_for_user.d.ts +10 -4
- package/dist/types/src/api/payments/list_invoices_for_user.d.ts.map +1 -1
- package/dist/types/src/index.d.ts +5 -33
- package/dist/types/src/index.d.ts.map +1 -1
- package/dist/types/src/models.d.ts +77 -237
- package/dist/types/src/models.d.ts.map +1 -1
- package/dist/types/src/webrtc.d.ts +3 -1
- package/dist/types/src/webrtc.d.ts.map +1 -1
- package/package.json +2 -2
- package/dist/types/src/api/api-calls/get_api_call_metrics.d.ts +0 -24
- package/dist/types/src/api/api-calls/get_api_call_metrics.d.ts.map +0 -1
- package/dist/types/src/api/api-calls/list_api_calls.d.ts +0 -30
- package/dist/types/src/api/api-calls/list_api_calls.d.ts.map +0 -1
- package/dist/types/src/api/api-calls/list_async_operations.d.ts +0 -34
- package/dist/types/src/api/api-calls/list_async_operations.d.ts.map +0 -1
- package/dist/types/src/api/meta/create_event.d.ts +0 -25
- package/dist/types/src/api/meta/create_event.d.ts.map +0 -1
- package/dist/types/src/api/ml/get_ml_prompt.d.ts +0 -24
- package/dist/types/src/api/ml/get_ml_prompt.d.ts.map +0 -1
- package/dist/types/src/api/ml/list_ml_prompts.d.ts +0 -34
- package/dist/types/src/api/ml/list_ml_prompts.d.ts.map +0 -1
- package/dist/types/src/api/orgs/get_any_org.d.ts +0 -24
- package/dist/types/src/api/orgs/get_any_org.d.ts.map +0 -1
- package/dist/types/src/api/orgs/list_orgs.d.ts +0 -30
- package/dist/types/src/api/orgs/list_orgs.d.ts.map +0 -1
- package/dist/types/src/api/users/list_users.d.ts +0 -30
- package/dist/types/src/api/users/list_users.d.ts.map +0 -1
- package/dist/types/src/api/users/list_users_extended.d.ts +0 -30
- package/dist/types/src/api/users/list_users_extended.d.ts.map +0 -1
|
@@ -42,7 +42,9 @@ export declare class WebRTC extends EventTarget {
|
|
|
42
42
|
executor(): {
|
|
43
43
|
addEventListener: any;
|
|
44
44
|
removeEventListener: any;
|
|
45
|
-
submit: (kclStr: string
|
|
45
|
+
submit: (kclStr: string, opts?: {
|
|
46
|
+
mainKclPathName: string;
|
|
47
|
+
}) => Promise<ExpectedWebSocketResponse>;
|
|
46
48
|
};
|
|
47
49
|
webRTCOnConnectionStateChange(): void;
|
|
48
50
|
webRTCOnTrack(ev: RTCTrackEvent): void;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"webrtc.d.ts","sourceRoot":"","sources":["../../../src/webrtc.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,MAAM,UAAU,CAAA;AACjC,OAAO,kBAAkB,MAAM,qCAAqC,CAAA;AACpE,OAAO,EACL,uBAAuB,EACvB,wBAAwB,EACxB,wBAAwB,EACzB,MAAM,UAAU,CAAA;AAGjB,KAAK,yBAAyB,GAC1B,wBAAwB,GACxB,wBAAwB,GACxB,KAAK,CAAA;AAoDT,KAAK,aAAa,GACd;IACE,IAAI,EAAE,WAAW,CAAA;IACjB,OAAO,EAAE;QACP,IAAI,EAAE,SAAS,CAAA;QACf,IAAI,EAAE,OAAO,CAAA;KACd,CAAA;CACF,GACD;IACE,EAAE,EAAE,WAAW,CAAA;IACf,OAAO,EAAE;QACP,IAAI,EAAE,MAAM,CAAA;QACZ,IAAI,EAAE,OAAO,CAAA;KACd,CAAA;CACF,GACD;IACE,IAAI,EAAE,MAAM,CAAA;IACZ,OAAO,EACH;QACE,IAAI,EAAE,SAAS,CAAA;QACf,IAAI,EAAE,OAAO,CAAA;KACd,GACD;QACE,IAAI,EAAE,SAAS,CAAA;QACf,IAAI,EAAE,OAAO,CAAA;KACd,CAAA;CACN,CAAA;AAG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IAuB/C,YAAY,CAAC,EAAE,EAAE,aAAa,CAAC,SAAS,CAAC;IAoBzC,qBAAqB,CAAC,EAAE,EAAE,YAAY,CAAC,aAAa,CAAC;IAcrD,GAAG;IAWH,KAAK;IAWL,cAAc,CAAC,EAAE,EAAE,gBAAgB;IAkJnC,MAAM,CAAC,IAAI,EAAE;QAAE,KAAK,EAAE,MAAM,CAAC;QAAC,MAAM,EAAE,MAAM,CAAA;KAAE;IAgB9C,iBAAiB,CAAC,EAAE,EAAE,WAAW;IAyBjC,IAAI,CACF,GAAG,IAAI,EAAE,UAAU,CAAC,SAAS,CAAC,MAAM,CAAC,CAAC,GACrC,OAAO,CAAC,yBAAyB,CAAC;CAqBtC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@kittycad/lib",
|
|
3
|
-
"version": "4.0.
|
|
3
|
+
"version": "4.0.23",
|
|
4
4
|
"description": "Javascript library for KittyCAD API",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"keywords": [
|
|
@@ -84,7 +84,7 @@
|
|
|
84
84
|
"@msgpack/msgpack": "^3.1.3",
|
|
85
85
|
"bson": "^7.1.1",
|
|
86
86
|
"cross-fetch": "^4.0.0",
|
|
87
|
-
"@kittycad/kcl-wasm-lib": "0.1.
|
|
87
|
+
"@kittycad/kcl-wasm-lib": "0.1.143",
|
|
88
88
|
"openapi-types": "^12.0.0",
|
|
89
89
|
"rollup-plugin-web-worker-loader": "^1.7.0",
|
|
90
90
|
"ts-node": "^10.9.1",
|
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
import { Client } from '../../client.js';
|
|
2
|
-
import { ApiCallQueryGroup, ApiCallQueryGroupBy } from '../../models.js';
|
|
3
|
-
interface GetApiCallMetricsInput {
|
|
4
|
-
client?: Client;
|
|
5
|
-
group_by: ApiCallQueryGroupBy;
|
|
6
|
-
}
|
|
7
|
-
type GetApiCallMetricsReturn = ApiCallQueryGroup[];
|
|
8
|
-
/**
|
|
9
|
-
* Get API call metrics.
|
|
10
|
-
*
|
|
11
|
-
* This endpoint requires authentication by a Zoo employee. The API calls are grouped by the parameter passed.
|
|
12
|
-
*
|
|
13
|
-
* Tags: api-calls, hidden
|
|
14
|
-
*
|
|
15
|
-
* @param params Function parameters.
|
|
16
|
-
* @property {Client} [client] Optional client with auth token.
|
|
17
|
-
* @property {ApiCallQueryGroupBy} group_by What field to group the metrics by. (query)
|
|
18
|
-
* @returns {Promise<GetApiCallMetricsReturn>} successful operation
|
|
19
|
-
*
|
|
20
|
-
* Possible return types: ApiCallQueryGroup[]
|
|
21
|
-
*/
|
|
22
|
-
export default function get_api_call_metrics({ client, group_by, }: GetApiCallMetricsInput): Promise<GetApiCallMetricsReturn>;
|
|
23
|
-
export {};
|
|
24
|
-
//# sourceMappingURL=get_api_call_metrics.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"get_api_call_metrics.d.ts","sourceRoot":"","sources":["../../../../../src/api/api-calls/get_api_call_metrics.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAc,MAAM,iBAAiB,CAAA;AAGpD,OAAO,EAAE,iBAAiB,EAAE,mBAAmB,EAAE,MAAM,iBAAiB,CAAA;AAExE,UAAU,sBAAsB;IAC9B,MAAM,CAAC,EAAE,MAAM,CAAA;IACf,QAAQ,EAAE,mBAAmB,CAAA;CAC9B;AAED,KAAK,uBAAuB,GAAG,iBAAiB,EAAE,CAAA;AAElD;;;;;;;;;;;;;GAaG;AACH,wBAA8B,oBAAoB,CAAC,EACjD,MAAM,EACN,QAAQ,GACT,EAAE,sBAAsB,GAAG,OAAO,CAAC,uBAAuB,CAAC,CAqB3D"}
|
|
@@ -1,30 +0,0 @@
|
|
|
1
|
-
import { Client } from '../../client.js';
|
|
2
|
-
import { Pager } from '../../pagination.js';
|
|
3
|
-
import { ApiCallWithPriceResultsPage, CreatedAtSortMode, ApiCallWithPrice } from '../../models.js';
|
|
4
|
-
interface ListApiCallsInput {
|
|
5
|
-
client?: Client;
|
|
6
|
-
limit?: number;
|
|
7
|
-
page_token?: string;
|
|
8
|
-
sort_by?: CreatedAtSortMode;
|
|
9
|
-
}
|
|
10
|
-
type ListApiCallsReturn = ApiCallWithPriceResultsPage;
|
|
11
|
-
/**
|
|
12
|
-
* List API calls.
|
|
13
|
-
*
|
|
14
|
-
* This endpoint requires authentication by a Zoo employee. The API calls are returned in order of creation, with the most recently created API calls first.
|
|
15
|
-
*
|
|
16
|
-
* Tags: api-calls, hidden
|
|
17
|
-
*
|
|
18
|
-
* @param params Function parameters.
|
|
19
|
-
* @property {Client} [client] Optional client with auth token.
|
|
20
|
-
* @property {number} limit Maximum number of items returned by a single call (query)
|
|
21
|
-
* @property {string} page_token Token returned by previous call to retrieve the subsequent page (query)
|
|
22
|
-
* @property {CreatedAtSortMode} sort_by (query)
|
|
23
|
-
* @returns {Promise<ListApiCallsReturn>} successful operation
|
|
24
|
-
*
|
|
25
|
-
* Possible return types: ApiCallWithPriceResultsPage
|
|
26
|
-
*/
|
|
27
|
-
export default function list_api_calls({ client, limit, page_token, sort_by, }: ListApiCallsInput): Promise<ListApiCallsReturn>;
|
|
28
|
-
export declare function list_api_calls_pager(params: ListApiCallsInput): Pager<ListApiCallsInput, ListApiCallsReturn, ApiCallWithPrice>;
|
|
29
|
-
export {};
|
|
30
|
-
//# sourceMappingURL=list_api_calls.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"list_api_calls.d.ts","sourceRoot":"","sources":["../../../../../src/api/api-calls/list_api_calls.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAc,MAAM,iBAAiB,CAAA;AAEpD,OAAO,EAAE,KAAK,EAAe,MAAM,qBAAqB,CAAA;AAExD,OAAO,EACL,2BAA2B,EAC3B,iBAAiB,EACjB,gBAAgB,EACjB,MAAM,iBAAiB,CAAA;AAExB,UAAU,iBAAiB;IACzB,MAAM,CAAC,EAAE,MAAM,CAAA;IACf,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,UAAU,CAAC,EAAE,MAAM,CAAA;IACnB,OAAO,CAAC,EAAE,iBAAiB,CAAA;CAC5B;AAED,KAAK,kBAAkB,GAAG,2BAA2B,CAAA;AAErD;;;;;;;;;;;;;;;GAeG;AACH,wBAA8B,cAAc,CAAC,EAC3C,MAAM,EACN,KAAK,EACL,UAAU,EACV,OAAO,GACR,EAAE,iBAAiB,GAAG,OAAO,CAAC,kBAAkB,CAAC,CAyBjD;AAED,wBAAgB,oBAAoB,CAClC,MAAM,EAAE,iBAAiB,GACxB,KAAK,CAAC,iBAAiB,EAAE,kBAAkB,EAAE,gBAAgB,CAAC,CAMhE"}
|
|
@@ -1,34 +0,0 @@
|
|
|
1
|
-
import { Client } from '../../client.js';
|
|
2
|
-
import { Pager } from '../../pagination.js';
|
|
3
|
-
import { AsyncApiCallResultsPage, CreatedAtSortMode, ApiCallStatus, AsyncApiCall } from '../../models.js';
|
|
4
|
-
interface ListAsyncOperationsInput {
|
|
5
|
-
client?: Client;
|
|
6
|
-
limit?: number;
|
|
7
|
-
page_token?: string;
|
|
8
|
-
sort_by?: CreatedAtSortMode;
|
|
9
|
-
status?: ApiCallStatus;
|
|
10
|
-
}
|
|
11
|
-
type ListAsyncOperationsReturn = AsyncApiCallResultsPage;
|
|
12
|
-
/**
|
|
13
|
-
* List async operations.
|
|
14
|
-
*
|
|
15
|
-
* For async file conversion operations, this endpoint does not return the contents of converted files (`output`). To get the contents use the `/async/operations/{id}` endpoint.
|
|
16
|
-
*
|
|
17
|
-
* This endpoint requires authentication by a Zoo employee.
|
|
18
|
-
*
|
|
19
|
-
* Tags: api-calls, hidden
|
|
20
|
-
*
|
|
21
|
-
* @param params Function parameters.
|
|
22
|
-
* @property {Client} [client] Optional client with auth token.
|
|
23
|
-
* @property {number} limit Maximum number of items returned by a single call (query)
|
|
24
|
-
* @property {string} page_token Token returned by previous call to retrieve the subsequent page (query)
|
|
25
|
-
* @property {CreatedAtSortMode} sort_by (query)
|
|
26
|
-
* @property {ApiCallStatus} status The status to filter by. (query)
|
|
27
|
-
* @returns {Promise<ListAsyncOperationsReturn>} successful operation
|
|
28
|
-
*
|
|
29
|
-
* Possible return types: AsyncApiCallResultsPage
|
|
30
|
-
*/
|
|
31
|
-
export default function list_async_operations({ client, limit, page_token, sort_by, status, }: ListAsyncOperationsInput): Promise<ListAsyncOperationsReturn>;
|
|
32
|
-
export declare function list_async_operations_pager(params: ListAsyncOperationsInput): Pager<ListAsyncOperationsInput, ListAsyncOperationsReturn, AsyncApiCall>;
|
|
33
|
-
export {};
|
|
34
|
-
//# sourceMappingURL=list_async_operations.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"list_async_operations.d.ts","sourceRoot":"","sources":["../../../../../src/api/api-calls/list_async_operations.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAc,MAAM,iBAAiB,CAAA;AAEpD,OAAO,EAAE,KAAK,EAAe,MAAM,qBAAqB,CAAA;AAExD,OAAO,EACL,uBAAuB,EACvB,iBAAiB,EACjB,aAAa,EACb,YAAY,EACb,MAAM,iBAAiB,CAAA;AAExB,UAAU,wBAAwB;IAChC,MAAM,CAAC,EAAE,MAAM,CAAA;IACf,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,UAAU,CAAC,EAAE,MAAM,CAAA;IACnB,OAAO,CAAC,EAAE,iBAAiB,CAAA;IAC3B,MAAM,CAAC,EAAE,aAAa,CAAA;CACvB;AAED,KAAK,yBAAyB,GAAG,uBAAuB,CAAA;AAExD;;;;;;;;;;;;;;;;;;GAkBG;AACH,wBAA8B,qBAAqB,CAAC,EAClD,MAAM,EACN,KAAK,EACL,UAAU,EACV,OAAO,EACP,MAAM,GACP,EAAE,wBAAwB,GAAG,OAAO,CAAC,yBAAyB,CAAC,CA0B/D;AAED,wBAAgB,2BAA2B,CACzC,MAAM,EAAE,wBAAwB,GAC/B,KAAK,CAAC,wBAAwB,EAAE,yBAAyB,EAAE,YAAY,CAAC,CAM1E"}
|
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
import { File } from '../../models.js';
|
|
2
|
-
import { Client } from '../../client.js';
|
|
3
|
-
import { Event } from '../../models.js';
|
|
4
|
-
interface CreateEventInput {
|
|
5
|
-
client?: Client;
|
|
6
|
-
files: File[];
|
|
7
|
-
body: Event;
|
|
8
|
-
}
|
|
9
|
-
type CreateEventReturn = void;
|
|
10
|
-
/**
|
|
11
|
-
* Creates an internal telemetry event.
|
|
12
|
-
*
|
|
13
|
-
* We collect anonymous telemetry data for improving our product.
|
|
14
|
-
*
|
|
15
|
-
* Tags: meta, hidden
|
|
16
|
-
*
|
|
17
|
-
* @param params Function parameters.
|
|
18
|
-
* @property {Client} [client] Optional client with auth token.
|
|
19
|
-
* @property {File[]} files Files attached as multipart/form-data.
|
|
20
|
-
* @property {Event} body Telemetry requests
|
|
21
|
-
* @returns {Promise<CreateEventReturn>} resource updated
|
|
22
|
-
*/
|
|
23
|
-
export default function create_event({ client, files, body, }: CreateEventInput): Promise<CreateEventReturn>;
|
|
24
|
-
export {};
|
|
25
|
-
//# sourceMappingURL=create_event.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"create_event.d.ts","sourceRoot":"","sources":["../../../../../src/api/meta/create_event.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,IAAI,EAAE,MAAM,iBAAiB,CAAA;AACtC,OAAO,EAAE,MAAM,EAAc,MAAM,iBAAiB,CAAA;AAGpD,OAAO,EAAE,KAAK,EAAE,MAAM,iBAAiB,CAAA;AAEvC,UAAU,gBAAgB;IACxB,MAAM,CAAC,EAAE,MAAM,CAAA;IACf,KAAK,EAAE,IAAI,EAAE,CAAA;IACb,IAAI,EAAE,KAAK,CAAA;CACZ;AAED,KAAK,iBAAiB,GAAG,IAAI,CAAA;AAE7B;;;;;;;;;;;;GAYG;AACH,wBAA8B,YAAY,CAAC,EACzC,MAAM,EACN,KAAK,EACL,IAAI,GACL,EAAE,gBAAgB,GAAG,OAAO,CAAC,iBAAiB,CAAC,CAgC/C"}
|
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
import { Client } from '../../client.js';
|
|
2
|
-
import { MlPromptResponse } from '../../models.js';
|
|
3
|
-
interface GetMlPromptInput {
|
|
4
|
-
client?: Client;
|
|
5
|
-
id: string;
|
|
6
|
-
}
|
|
7
|
-
type GetMlPromptReturn = MlPromptResponse;
|
|
8
|
-
/**
|
|
9
|
-
* Get a ML prompt.
|
|
10
|
-
*
|
|
11
|
-
* This endpoint requires authentication by a Zoo employee.
|
|
12
|
-
*
|
|
13
|
-
* Tags: ml, hidden
|
|
14
|
-
*
|
|
15
|
-
* @param params Function parameters.
|
|
16
|
-
* @property {Client} [client] Optional client with auth token.
|
|
17
|
-
* @property {string} id The id of the model to give feedback to. (path)
|
|
18
|
-
* @returns {Promise<GetMlPromptReturn>} successful operation
|
|
19
|
-
*
|
|
20
|
-
* Possible return types: MlPromptResponse
|
|
21
|
-
*/
|
|
22
|
-
export default function get_ml_prompt({ client, id, }: GetMlPromptInput): Promise<GetMlPromptReturn>;
|
|
23
|
-
export {};
|
|
24
|
-
//# sourceMappingURL=get_ml_prompt.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"get_ml_prompt.d.ts","sourceRoot":"","sources":["../../../../../src/api/ml/get_ml_prompt.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAc,MAAM,iBAAiB,CAAA;AAGpD,OAAO,EAAE,gBAAgB,EAAE,MAAM,iBAAiB,CAAA;AAElD,UAAU,gBAAgB;IACxB,MAAM,CAAC,EAAE,MAAM,CAAA;IACf,EAAE,EAAE,MAAM,CAAA;CACX;AAED,KAAK,iBAAiB,GAAG,gBAAgB,CAAA;AAEzC;;;;;;;;;;;;;GAaG;AACH,wBAA8B,aAAa,CAAC,EAC1C,MAAM,EACN,EAAE,GACH,EAAE,gBAAgB,GAAG,OAAO,CAAC,iBAAiB,CAAC,CAqB/C"}
|
|
@@ -1,34 +0,0 @@
|
|
|
1
|
-
import { Client } from '../../client.js';
|
|
2
|
-
import { Pager } from '../../pagination.js';
|
|
3
|
-
import { MlPromptResponseResultsPage, CreatedAtSortMode, MlPromptResponse } from '../../models.js';
|
|
4
|
-
interface ListMlPromptsInput {
|
|
5
|
-
client?: Client;
|
|
6
|
-
limit?: number;
|
|
7
|
-
page_token?: string;
|
|
8
|
-
sort_by?: CreatedAtSortMode;
|
|
9
|
-
}
|
|
10
|
-
type ListMlPromptsReturn = MlPromptResponseResultsPage;
|
|
11
|
-
/**
|
|
12
|
-
* List all ML prompts.
|
|
13
|
-
*
|
|
14
|
-
* For text-to-cad prompts, this will always return the STEP file contents as well as the format the user originally requested.
|
|
15
|
-
*
|
|
16
|
-
* This endpoint requires authentication by a Zoo employee.
|
|
17
|
-
*
|
|
18
|
-
* The ML prompts are returned in order of creation, with the most recently created ML prompts first.
|
|
19
|
-
*
|
|
20
|
-
* Tags: ml, hidden
|
|
21
|
-
*
|
|
22
|
-
* @param params Function parameters.
|
|
23
|
-
* @property {Client} [client] Optional client with auth token.
|
|
24
|
-
* @property {number} limit Maximum number of items returned by a single call (query)
|
|
25
|
-
* @property {string} page_token Token returned by previous call to retrieve the subsequent page (query)
|
|
26
|
-
* @property {CreatedAtSortMode} sort_by (query)
|
|
27
|
-
* @returns {Promise<ListMlPromptsReturn>} successful operation
|
|
28
|
-
*
|
|
29
|
-
* Possible return types: MlPromptResponseResultsPage
|
|
30
|
-
*/
|
|
31
|
-
export default function list_ml_prompts({ client, limit, page_token, sort_by, }: ListMlPromptsInput): Promise<ListMlPromptsReturn>;
|
|
32
|
-
export declare function list_ml_prompts_pager(params: ListMlPromptsInput): Pager<ListMlPromptsInput, ListMlPromptsReturn, MlPromptResponse>;
|
|
33
|
-
export {};
|
|
34
|
-
//# sourceMappingURL=list_ml_prompts.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"list_ml_prompts.d.ts","sourceRoot":"","sources":["../../../../../src/api/ml/list_ml_prompts.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAc,MAAM,iBAAiB,CAAA;AAEpD,OAAO,EAAE,KAAK,EAAe,MAAM,qBAAqB,CAAA;AAExD,OAAO,EACL,2BAA2B,EAC3B,iBAAiB,EACjB,gBAAgB,EACjB,MAAM,iBAAiB,CAAA;AAExB,UAAU,kBAAkB;IAC1B,MAAM,CAAC,EAAE,MAAM,CAAA;IACf,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,UAAU,CAAC,EAAE,MAAM,CAAA;IACnB,OAAO,CAAC,EAAE,iBAAiB,CAAA;CAC5B;AAED,KAAK,mBAAmB,GAAG,2BAA2B,CAAA;AAEtD;;;;;;;;;;;;;;;;;;;GAmBG;AACH,wBAA8B,eAAe,CAAC,EAC5C,MAAM,EACN,KAAK,EACL,UAAU,EACV,OAAO,GACR,EAAE,kBAAkB,GAAG,OAAO,CAAC,mBAAmB,CAAC,CAyBnD;AAED,wBAAgB,qBAAqB,CACnC,MAAM,EAAE,kBAAkB,GACzB,KAAK,CAAC,kBAAkB,EAAE,mBAAmB,EAAE,gBAAgB,CAAC,CAMlE"}
|
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
import { Client } from '../../client.js';
|
|
2
|
-
import { Org, Uuid } from '../../models.js';
|
|
3
|
-
interface GetAnyOrgInput {
|
|
4
|
-
client?: Client;
|
|
5
|
-
id: Uuid;
|
|
6
|
-
}
|
|
7
|
-
type GetAnyOrgReturn = Org;
|
|
8
|
-
/**
|
|
9
|
-
* Get an org.
|
|
10
|
-
*
|
|
11
|
-
* This endpoint requires authentication by a Zoo employee. It gets the information for the specified org.
|
|
12
|
-
*
|
|
13
|
-
* Tags: orgs, hidden
|
|
14
|
-
*
|
|
15
|
-
* @param params Function parameters.
|
|
16
|
-
* @property {Client} [client] Optional client with auth token.
|
|
17
|
-
* @property {Uuid} id The organization ID. (path)
|
|
18
|
-
* @returns {Promise<GetAnyOrgReturn>} successful operation
|
|
19
|
-
*
|
|
20
|
-
* Possible return types: Org
|
|
21
|
-
*/
|
|
22
|
-
export default function get_any_org({ client, id, }: GetAnyOrgInput): Promise<GetAnyOrgReturn>;
|
|
23
|
-
export {};
|
|
24
|
-
//# sourceMappingURL=get_any_org.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"get_any_org.d.ts","sourceRoot":"","sources":["../../../../../src/api/orgs/get_any_org.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAc,MAAM,iBAAiB,CAAA;AAGpD,OAAO,EAAE,GAAG,EAAE,IAAI,EAAE,MAAM,iBAAiB,CAAA;AAE3C,UAAU,cAAc;IACtB,MAAM,CAAC,EAAE,MAAM,CAAA;IACf,EAAE,EAAE,IAAI,CAAA;CACT;AAED,KAAK,eAAe,GAAG,GAAG,CAAA;AAE1B;;;;;;;;;;;;;GAaG;AACH,wBAA8B,WAAW,CAAC,EACxC,MAAM,EACN,EAAE,GACH,EAAE,cAAc,GAAG,OAAO,CAAC,eAAe,CAAC,CAqB3C"}
|
|
@@ -1,30 +0,0 @@
|
|
|
1
|
-
import { Client } from '../../client.js';
|
|
2
|
-
import { Pager } from '../../pagination.js';
|
|
3
|
-
import { OrgResultsPage, CreatedAtSortMode, Org } from '../../models.js';
|
|
4
|
-
interface ListOrgsInput {
|
|
5
|
-
client?: Client;
|
|
6
|
-
limit?: number;
|
|
7
|
-
page_token?: string;
|
|
8
|
-
sort_by?: CreatedAtSortMode;
|
|
9
|
-
}
|
|
10
|
-
type ListOrgsReturn = OrgResultsPage;
|
|
11
|
-
/**
|
|
12
|
-
* List orgs.
|
|
13
|
-
*
|
|
14
|
-
* This endpoint requires authentication by a Zoo employee. The orgs are returned in order of creation, with the most recently created orgs first.
|
|
15
|
-
*
|
|
16
|
-
* Tags: orgs, hidden
|
|
17
|
-
*
|
|
18
|
-
* @param params Function parameters.
|
|
19
|
-
* @property {Client} [client] Optional client with auth token.
|
|
20
|
-
* @property {number} limit Maximum number of items returned by a single call (query)
|
|
21
|
-
* @property {string} page_token Token returned by previous call to retrieve the subsequent page (query)
|
|
22
|
-
* @property {CreatedAtSortMode} sort_by (query)
|
|
23
|
-
* @returns {Promise<ListOrgsReturn>} successful operation
|
|
24
|
-
*
|
|
25
|
-
* Possible return types: OrgResultsPage
|
|
26
|
-
*/
|
|
27
|
-
export default function list_orgs({ client, limit, page_token, sort_by, }: ListOrgsInput): Promise<ListOrgsReturn>;
|
|
28
|
-
export declare function list_orgs_pager(params: ListOrgsInput): Pager<ListOrgsInput, ListOrgsReturn, Org>;
|
|
29
|
-
export {};
|
|
30
|
-
//# sourceMappingURL=list_orgs.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"list_orgs.d.ts","sourceRoot":"","sources":["../../../../../src/api/orgs/list_orgs.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAc,MAAM,iBAAiB,CAAA;AAEpD,OAAO,EAAE,KAAK,EAAe,MAAM,qBAAqB,CAAA;AAExD,OAAO,EAAE,cAAc,EAAE,iBAAiB,EAAE,GAAG,EAAE,MAAM,iBAAiB,CAAA;AAExE,UAAU,aAAa;IACrB,MAAM,CAAC,EAAE,MAAM,CAAA;IACf,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,UAAU,CAAC,EAAE,MAAM,CAAA;IACnB,OAAO,CAAC,EAAE,iBAAiB,CAAA;CAC5B;AAED,KAAK,cAAc,GAAG,cAAc,CAAA;AAEpC;;;;;;;;;;;;;;;GAeG;AACH,wBAA8B,SAAS,CAAC,EACtC,MAAM,EACN,KAAK,EACL,UAAU,EACV,OAAO,GACR,EAAE,aAAa,GAAG,OAAO,CAAC,cAAc,CAAC,CAyBzC;AAED,wBAAgB,eAAe,CAC7B,MAAM,EAAE,aAAa,GACpB,KAAK,CAAC,aAAa,EAAE,cAAc,EAAE,GAAG,CAAC,CAM3C"}
|
|
@@ -1,30 +0,0 @@
|
|
|
1
|
-
import { Client } from '../../client.js';
|
|
2
|
-
import { Pager } from '../../pagination.js';
|
|
3
|
-
import { UserResponseResultsPage, CreatedAtSortMode, UserResponse } from '../../models.js';
|
|
4
|
-
interface ListUsersInput {
|
|
5
|
-
client?: Client;
|
|
6
|
-
limit?: number;
|
|
7
|
-
page_token?: string;
|
|
8
|
-
sort_by?: CreatedAtSortMode;
|
|
9
|
-
}
|
|
10
|
-
type ListUsersReturn = UserResponseResultsPage;
|
|
11
|
-
/**
|
|
12
|
-
* List users.
|
|
13
|
-
*
|
|
14
|
-
* This endpoint requires authentication by a Zoo employee. The users are returned in order of creation, with the most recently created users first.
|
|
15
|
-
*
|
|
16
|
-
* Tags: users, hidden
|
|
17
|
-
*
|
|
18
|
-
* @param params Function parameters.
|
|
19
|
-
* @property {Client} [client] Optional client with auth token.
|
|
20
|
-
* @property {number} limit Maximum number of items returned by a single call (query)
|
|
21
|
-
* @property {string} page_token Token returned by previous call to retrieve the subsequent page (query)
|
|
22
|
-
* @property {CreatedAtSortMode} sort_by (query)
|
|
23
|
-
* @returns {Promise<ListUsersReturn>} successful operation
|
|
24
|
-
*
|
|
25
|
-
* Possible return types: UserResponseResultsPage
|
|
26
|
-
*/
|
|
27
|
-
export default function list_users({ client, limit, page_token, sort_by, }: ListUsersInput): Promise<ListUsersReturn>;
|
|
28
|
-
export declare function list_users_pager(params: ListUsersInput): Pager<ListUsersInput, ListUsersReturn, UserResponse>;
|
|
29
|
-
export {};
|
|
30
|
-
//# sourceMappingURL=list_users.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"list_users.d.ts","sourceRoot":"","sources":["../../../../../src/api/users/list_users.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAc,MAAM,iBAAiB,CAAA;AAEpD,OAAO,EAAE,KAAK,EAAe,MAAM,qBAAqB,CAAA;AAExD,OAAO,EACL,uBAAuB,EACvB,iBAAiB,EACjB,YAAY,EACb,MAAM,iBAAiB,CAAA;AAExB,UAAU,cAAc;IACtB,MAAM,CAAC,EAAE,MAAM,CAAA;IACf,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,UAAU,CAAC,EAAE,MAAM,CAAA;IACnB,OAAO,CAAC,EAAE,iBAAiB,CAAA;CAC5B;AAED,KAAK,eAAe,GAAG,uBAAuB,CAAA;AAE9C;;;;;;;;;;;;;;;GAeG;AACH,wBAA8B,UAAU,CAAC,EACvC,MAAM,EACN,KAAK,EACL,UAAU,EACV,OAAO,GACR,EAAE,cAAc,GAAG,OAAO,CAAC,eAAe,CAAC,CAyB3C;AAED,wBAAgB,gBAAgB,CAC9B,MAAM,EAAE,cAAc,GACrB,KAAK,CAAC,cAAc,EAAE,eAAe,EAAE,YAAY,CAAC,CAMtD"}
|
|
@@ -1,30 +0,0 @@
|
|
|
1
|
-
import { Client } from '../../client.js';
|
|
2
|
-
import { Pager } from '../../pagination.js';
|
|
3
|
-
import { ExtendedUserResultsPage, CreatedAtSortMode, ExtendedUser } from '../../models.js';
|
|
4
|
-
interface ListUsersExtendedInput {
|
|
5
|
-
client?: Client;
|
|
6
|
-
limit?: number;
|
|
7
|
-
page_token?: string;
|
|
8
|
-
sort_by?: CreatedAtSortMode;
|
|
9
|
-
}
|
|
10
|
-
type ListUsersExtendedReturn = ExtendedUserResultsPage;
|
|
11
|
-
/**
|
|
12
|
-
* List users with extended information.
|
|
13
|
-
*
|
|
14
|
-
* This endpoint requires authentication by a Zoo employee. The users are returned in order of creation, with the most recently created users first.
|
|
15
|
-
*
|
|
16
|
-
* Tags: users, hidden
|
|
17
|
-
*
|
|
18
|
-
* @param params Function parameters.
|
|
19
|
-
* @property {Client} [client] Optional client with auth token.
|
|
20
|
-
* @property {number} limit Maximum number of items returned by a single call (query)
|
|
21
|
-
* @property {string} page_token Token returned by previous call to retrieve the subsequent page (query)
|
|
22
|
-
* @property {CreatedAtSortMode} sort_by (query)
|
|
23
|
-
* @returns {Promise<ListUsersExtendedReturn>} successful operation
|
|
24
|
-
*
|
|
25
|
-
* Possible return types: ExtendedUserResultsPage
|
|
26
|
-
*/
|
|
27
|
-
export default function list_users_extended({ client, limit, page_token, sort_by, }: ListUsersExtendedInput): Promise<ListUsersExtendedReturn>;
|
|
28
|
-
export declare function list_users_extended_pager(params: ListUsersExtendedInput): Pager<ListUsersExtendedInput, ListUsersExtendedReturn, ExtendedUser>;
|
|
29
|
-
export {};
|
|
30
|
-
//# sourceMappingURL=list_users_extended.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"list_users_extended.d.ts","sourceRoot":"","sources":["../../../../../src/api/users/list_users_extended.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAc,MAAM,iBAAiB,CAAA;AAEpD,OAAO,EAAE,KAAK,EAAe,MAAM,qBAAqB,CAAA;AAExD,OAAO,EACL,uBAAuB,EACvB,iBAAiB,EACjB,YAAY,EACb,MAAM,iBAAiB,CAAA;AAExB,UAAU,sBAAsB;IAC9B,MAAM,CAAC,EAAE,MAAM,CAAA;IACf,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,UAAU,CAAC,EAAE,MAAM,CAAA;IACnB,OAAO,CAAC,EAAE,iBAAiB,CAAA;CAC5B;AAED,KAAK,uBAAuB,GAAG,uBAAuB,CAAA;AAEtD;;;;;;;;;;;;;;;GAeG;AACH,wBAA8B,mBAAmB,CAAC,EAChD,MAAM,EACN,KAAK,EACL,UAAU,EACV,OAAO,GACR,EAAE,sBAAsB,GAAG,OAAO,CAAC,uBAAuB,CAAC,CAyB3D;AAED,wBAAgB,yBAAyB,CACvC,MAAM,EAAE,sBAAsB,GAC7B,KAAK,CAAC,sBAAsB,EAAE,uBAAuB,EAAE,YAAY,CAAC,CAMtE"}
|