@human2human/sdk 0.2.0 → 0.3.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +61 -16
- package/dist/client.d.ts +9 -3
- package/dist/client.js +11 -6
- package/dist/environment.d.ts +1 -1
- package/dist/environment.js +1 -1
- package/dist/index.d.ts +3 -0
- package/dist/index.js +3 -0
- package/dist/resources/agent/build/index.d.ts +3 -0
- package/dist/resources/agent/build/index.js +3 -0
- package/dist/resources/agent/build/resource-client.d.ts +3 -0
- package/dist/resources/agent/build/resource-client.js +3 -0
- package/dist/resources/agent/build/workflow/index.d.ts +3 -0
- package/dist/resources/agent/build/workflow/index.js +3 -0
- package/dist/resources/agent/build/workflow/resource-client.d.ts +8 -1
- package/dist/resources/agent/build/workflow/resource-client.js +8 -1
- package/dist/resources/agent/index.d.ts +3 -0
- package/dist/resources/agent/index.js +3 -0
- package/dist/resources/agent/resource-client.d.ts +3 -0
- package/dist/resources/agent/resource-client.js +3 -0
- package/dist/resources/auth/index.d.ts +3 -0
- package/dist/resources/auth/index.js +3 -0
- package/dist/resources/auth/login/index.d.ts +3 -0
- package/dist/resources/auth/login/index.js +3 -0
- package/dist/resources/auth/login/resource-client.d.ts +6 -1
- package/dist/resources/auth/login/resource-client.js +6 -1
- package/dist/resources/auth/refresh/index.d.ts +3 -0
- package/dist/resources/auth/refresh/index.js +3 -0
- package/dist/resources/auth/refresh/resource-client.d.ts +6 -1
- package/dist/resources/auth/refresh/resource-client.js +6 -1
- package/dist/resources/auth/resource-client.d.ts +3 -0
- package/dist/resources/auth/resource-client.js +3 -0
- package/dist/resources/chats/index.d.ts +3 -0
- package/dist/resources/chats/index.js +3 -0
- package/dist/resources/chats/resource-client.d.ts +6 -3
- package/dist/resources/chats/resource-client.js +6 -3
- package/dist/resources/feeds/index.d.ts +3 -0
- package/dist/resources/feeds/index.js +3 -0
- package/dist/resources/feeds/items/index.d.ts +3 -0
- package/dist/resources/feeds/items/index.js +3 -0
- package/dist/resources/feeds/items/resource-client.d.ts +7 -0
- package/dist/resources/feeds/items/resource-client.js +7 -0
- package/dist/resources/feeds/resource-client.d.ts +9 -0
- package/dist/resources/feeds/resource-client.js +9 -0
- package/dist/resources/feeds/vector/index.d.ts +3 -0
- package/dist/resources/feeds/vector/index.js +3 -0
- package/dist/resources/feeds/vector/resource-client.d.ts +3 -0
- package/dist/resources/feeds/vector/resource-client.js +3 -0
- package/dist/resources/feeds/vector/search/index.d.ts +3 -0
- package/dist/resources/feeds/vector/search/index.js +3 -0
- package/dist/resources/feeds/vector/search/resource-client.d.ts +5 -0
- package/dist/resources/feeds/vector/search/resource-client.js +5 -0
- package/dist/resources/index.d.ts +2 -1
- package/dist/resources/index.js +3 -2
- package/dist/resources/integrations/api/index.d.ts +3 -0
- package/dist/resources/integrations/api/index.js +3 -0
- package/dist/resources/integrations/api/operations/index.d.ts +3 -0
- package/dist/resources/integrations/api/operations/index.js +3 -0
- package/dist/resources/integrations/api/operations/resource-client.d.ts +11 -0
- package/dist/resources/integrations/api/operations/resource-client.js +11 -0
- package/dist/resources/integrations/api/resource-client.d.ts +9 -0
- package/dist/resources/integrations/api/resource-client.js +9 -0
- package/dist/resources/integrations/api/secrets/index.d.ts +3 -0
- package/dist/resources/integrations/api/secrets/index.js +3 -0
- package/dist/resources/integrations/api/secrets/resource-client.d.ts +9 -0
- package/dist/resources/integrations/api/secrets/resource-client.js +9 -0
- package/dist/resources/integrations/index.d.ts +3 -0
- package/dist/resources/integrations/index.js +3 -0
- package/dist/resources/integrations/resource-client.d.ts +3 -0
- package/dist/resources/integrations/resource-client.js +3 -0
- package/dist/resources/memory/index.d.ts +5 -0
- package/dist/resources/memory/index.js +42 -0
- package/dist/resources/memory/resource-client.d.ts +10 -0
- package/dist/resources/memory/resource-client.js +20 -0
- package/dist/resources/memory/tables/index.d.ts +7 -0
- package/dist/resources/memory/tables/index.js +43 -0
- package/dist/resources/memory/tables/mutate/index.d.ts +5 -0
- package/dist/resources/memory/tables/mutate/index.js +8 -0
- package/dist/resources/memory/tables/mutate/request-types.d.ts +33 -0
- package/dist/resources/memory/tables/mutate/request-types.js +77 -0
- package/dist/resources/memory/tables/mutate/resource-client.d.ts +17 -0
- package/dist/resources/memory/tables/mutate/resource-client.js +33 -0
- package/dist/resources/memory/tables/query/index.d.ts +5 -0
- package/dist/resources/memory/tables/query/index.js +8 -0
- package/dist/resources/memory/tables/query/request-types.d.ts +37 -0
- package/dist/resources/memory/tables/query/request-types.js +80 -0
- package/dist/resources/memory/tables/query/resource-client.d.ts +17 -0
- package/dist/resources/memory/tables/query/resource-client.js +33 -0
- package/dist/resources/memory/tables/request-types.d.ts +105 -0
- package/dist/resources/memory/tables/request-types.js +171 -0
- package/dist/resources/memory/tables/resource-client.d.ts +47 -0
- package/dist/resources/memory/tables/resource-client.js +144 -0
- package/dist/resources/search-groups/index.d.ts +3 -0
- package/dist/resources/search-groups/index.js +3 -0
- package/dist/resources/search-groups/items/index.d.ts +3 -0
- package/dist/resources/search-groups/items/index.js +3 -0
- package/dist/resources/search-groups/items/resource-client.d.ts +9 -0
- package/dist/resources/search-groups/items/resource-client.js +9 -0
- package/dist/resources/search-groups/resource-client.d.ts +9 -0
- package/dist/resources/search-groups/resource-client.js +9 -0
- package/dist/resources/subscriptions/events/index.d.ts +5 -0
- package/dist/resources/subscriptions/events/index.js +8 -0
- package/dist/resources/subscriptions/events/request-types.d.ts +115 -0
- package/dist/resources/subscriptions/events/request-types.js +179 -0
- package/dist/resources/subscriptions/events/resource-client.d.ts +41 -0
- package/dist/resources/subscriptions/events/resource-client.js +132 -0
- package/dist/resources/subscriptions/index.d.ts +5 -0
- package/dist/resources/subscriptions/index.js +42 -0
- package/dist/resources/subscriptions/resource-client.d.ts +10 -0
- package/dist/resources/subscriptions/resource-client.js +20 -0
- package/dist/resources/tools/code-execution/index.d.ts +3 -0
- package/dist/resources/tools/code-execution/index.js +3 -0
- package/dist/resources/tools/code-execution/resource-client.d.ts +6 -1
- package/dist/resources/tools/code-execution/resource-client.js +6 -1
- package/dist/resources/tools/dictionary-search/index.d.ts +3 -0
- package/dist/resources/tools/dictionary-search/index.js +3 -0
- package/dist/resources/tools/dictionary-search/resource-client.d.ts +6 -1
- package/dist/resources/tools/dictionary-search/resource-client.js +6 -1
- package/dist/resources/tools/format/index.d.ts +3 -0
- package/dist/resources/tools/format/index.js +3 -0
- package/dist/resources/tools/format/resource-client.d.ts +6 -1
- package/dist/resources/tools/format/resource-client.js +6 -1
- package/dist/resources/tools/index.d.ts +3 -0
- package/dist/resources/tools/index.js +3 -0
- package/dist/resources/tools/internet-search/index.d.ts +3 -0
- package/dist/resources/tools/internet-search/index.js +3 -0
- package/dist/resources/tools/internet-search/resource-client.d.ts +6 -1
- package/dist/resources/tools/internet-search/resource-client.js +6 -1
- package/dist/resources/tools/memory-query/index.d.ts +3 -0
- package/dist/resources/tools/memory-query/index.js +3 -0
- package/dist/resources/tools/memory-query/resource-client.d.ts +6 -1
- package/dist/resources/tools/memory-query/resource-client.js +6 -1
- package/dist/resources/tools/meta-tagger/index.d.ts +3 -0
- package/dist/resources/tools/meta-tagger/index.js +3 -0
- package/dist/resources/tools/meta-tagger/resource-client.d.ts +6 -1
- package/dist/resources/tools/meta-tagger/resource-client.js +6 -1
- package/dist/resources/tools/resource-client.d.ts +6 -1
- package/dist/resources/tools/resource-client.js +6 -1
- package/dist/resources/tools/standard-llm/index.d.ts +3 -0
- package/dist/resources/tools/standard-llm/index.js +3 -0
- package/dist/resources/tools/standard-llm/resource-client.d.ts +6 -1
- package/dist/resources/tools/standard-llm/resource-client.js +6 -1
- package/dist/resources/tools/structured-output/index.d.ts +3 -0
- package/dist/resources/tools/structured-output/index.js +3 -0
- package/dist/resources/tools/structured-output/resource-client.d.ts +6 -1
- package/dist/resources/tools/structured-output/resource-client.js +6 -1
- package/dist/resources/workflows/dispatch/index.d.ts +3 -0
- package/dist/resources/workflows/dispatch/index.js +3 -0
- package/dist/resources/workflows/dispatch/resource-client.d.ts +6 -1
- package/dist/resources/workflows/dispatch/resource-client.js +6 -1
- package/dist/resources/workflows/index.d.ts +6 -0
- package/dist/resources/workflows/index.js +6 -1
- package/dist/resources/workflows/invoke/index.d.ts +3 -0
- package/dist/resources/workflows/invoke/index.js +3 -0
- package/dist/resources/workflows/invoke/resource-client.d.ts +6 -1
- package/dist/resources/workflows/invoke/resource-client.js +6 -1
- package/dist/resources/workflows/request-types.d.ts +148 -0
- package/dist/resources/workflows/request-types.js +218 -0
- package/dist/resources/workflows/resource-client.d.ts +52 -1
- package/dist/resources/workflows/resource-client.js +152 -0
- package/dist/resources/workflows/runs/dispatch/index.d.ts +5 -0
- package/dist/resources/workflows/runs/dispatch/index.js +8 -0
- package/dist/resources/workflows/runs/dispatch/request-types.d.ts +25 -0
- package/dist/resources/workflows/runs/dispatch/request-types.js +70 -0
- package/dist/resources/workflows/runs/dispatch/resource-client.d.ts +17 -0
- package/dist/resources/workflows/runs/dispatch/resource-client.js +30 -0
- package/dist/resources/workflows/runs/index.d.ts +6 -0
- package/dist/resources/workflows/runs/index.js +42 -0
- package/dist/resources/workflows/runs/request-types.d.ts +115 -0
- package/dist/resources/workflows/runs/request-types.js +179 -0
- package/dist/resources/workflows/runs/resource-client.d.ts +44 -0
- package/dist/resources/workflows/runs/resource-client.js +151 -0
- package/dist/resources/workflows/versions/index.d.ts +5 -0
- package/dist/resources/workflows/versions/index.js +8 -0
- package/dist/resources/workflows/versions/request-types.d.ts +188 -0
- package/dist/resources/workflows/versions/request-types.js +250 -0
- package/dist/resources/workflows/versions/resource-client.d.ts +49 -0
- package/dist/resources/workflows/versions/resource-client.js +152 -0
- package/dist/types/index.d.ts +58 -3
- package/dist/types/index.js +3 -0
- package/dist/types/memory-tables-create-body.d.ts +37 -0
- package/dist/types/memory-tables-create-body.js +80 -0
- package/dist/types/memory-tables-create-response.d.ts +37 -0
- package/dist/types/memory-tables-create-response.js +92 -0
- package/dist/types/memory-tables-delete-response.d.ts +37 -0
- package/dist/types/memory-tables-delete-response.js +92 -0
- package/dist/types/memory-tables-get-response.d.ts +37 -0
- package/dist/types/memory-tables-get-response.js +92 -0
- package/dist/types/memory-tables-list-response-item.d.ts +37 -0
- package/dist/types/memory-tables-list-response-item.js +92 -0
- package/dist/types/memory-tables-mutate-create-body-mutation-type-enum.d.ts +7 -0
- package/dist/types/memory-tables-mutate-create-body-mutation-type-enum.js +5 -0
- package/dist/types/memory-tables-mutate-create-body-mutation.d.ts +37 -0
- package/dist/types/memory-tables-mutate-create-body-mutation.js +80 -0
- package/dist/types/memory-tables-mutate-create-body.d.ts +33 -0
- package/dist/types/memory-tables-mutate-create-body.js +77 -0
- package/dist/types/memory-tables-mutate-create-response-data-item.d.ts +29 -0
- package/dist/types/memory-tables-mutate-create-response-data-item.js +76 -0
- package/dist/types/memory-tables-mutate-create-response-errors-item.d.ts +24 -0
- package/dist/types/memory-tables-mutate-create-response-errors-item.js +74 -0
- package/dist/types/memory-tables-mutate-create-response.d.ts +39 -0
- package/dist/types/memory-tables-mutate-create-response.js +90 -0
- package/dist/types/memory-tables-query-create-body.d.ts +37 -0
- package/dist/types/memory-tables-query-create-body.js +80 -0
- package/dist/types/memory-tables-query-create-response-row.d.ts +29 -0
- package/dist/types/memory-tables-query-create-response-row.js +76 -0
- package/dist/types/memory-tables-query-create-response-rows-item.d.ts +29 -0
- package/dist/types/memory-tables-query-create-response-rows-item.js +76 -0
- package/dist/types/memory-tables-query-create-response.d.ts +36 -0
- package/dist/types/memory-tables-query-create-response.js +86 -0
- package/dist/types/subscriptions-events-create-body-consumer-type-enum.d.ts +7 -0
- package/dist/types/subscriptions-events-create-body-consumer-type-enum.js +5 -0
- package/dist/types/subscriptions-events-create-body-producer-type-enum.d.ts +7 -0
- package/dist/types/subscriptions-events-create-body-producer-type-enum.js +5 -0
- package/dist/types/subscriptions-events-create-body.d.ts +47 -0
- package/dist/types/subscriptions-events-create-body.js +88 -0
- package/dist/types/subscriptions-events-create-response-consumer-type-enum.d.ts +7 -0
- package/dist/types/subscriptions-events-create-response-consumer-type-enum.js +5 -0
- package/dist/types/subscriptions-events-create-response-producer-type-enum.d.ts +7 -0
- package/dist/types/subscriptions-events-create-response-producer-type-enum.js +5 -0
- package/dist/types/subscriptions-events-create-response.d.ts +51 -0
- package/dist/types/subscriptions-events-create-response.js +96 -0
- package/dist/types/subscriptions-events-delete-response-consumer-type-enum.d.ts +7 -0
- package/dist/types/subscriptions-events-delete-response-consumer-type-enum.js +5 -0
- package/dist/types/subscriptions-events-delete-response-producer-type-enum.d.ts +7 -0
- package/dist/types/subscriptions-events-delete-response-producer-type-enum.js +5 -0
- package/dist/types/subscriptions-events-delete-response.d.ts +51 -0
- package/dist/types/subscriptions-events-delete-response.js +96 -0
- package/dist/types/subscriptions-events-get-response-consumer-type-enum.d.ts +7 -0
- package/dist/types/subscriptions-events-get-response-consumer-type-enum.js +5 -0
- package/dist/types/subscriptions-events-get-response-producer-type-enum.d.ts +7 -0
- package/dist/types/subscriptions-events-get-response-producer-type-enum.js +5 -0
- package/dist/types/subscriptions-events-get-response.d.ts +51 -0
- package/dist/types/subscriptions-events-get-response.js +96 -0
- package/dist/types/subscriptions-events-list-response-item-consumer-type-enum.d.ts +7 -0
- package/dist/types/subscriptions-events-list-response-item-consumer-type-enum.js +5 -0
- package/dist/types/subscriptions-events-list-response-item-producer-type-enum.d.ts +7 -0
- package/dist/types/subscriptions-events-list-response-item-producer-type-enum.js +5 -0
- package/dist/types/subscriptions-events-list-response-item.d.ts +51 -0
- package/dist/types/subscriptions-events-list-response-item.js +96 -0
- package/dist/types/workflows-create-body.d.ts +42 -0
- package/dist/types/workflows-create-body.js +84 -0
- package/dist/types/workflows-create-response.d.ts +62 -0
- package/dist/types/workflows-create-response.js +100 -0
- package/dist/types/workflows-delete-response.d.ts +62 -0
- package/dist/types/workflows-delete-response.js +100 -0
- package/dist/types/workflows-get-response.d.ts +62 -0
- package/dist/types/workflows-get-response.js +100 -0
- package/dist/types/workflows-list-response-item.d.ts +62 -0
- package/dist/types/workflows-list-response-item.js +100 -0
- package/dist/types/workflows-patch-body.d.ts +37 -0
- package/dist/types/workflows-patch-body.js +80 -0
- package/dist/types/workflows-patch-response.d.ts +62 -0
- package/dist/types/workflows-patch-response.js +100 -0
- package/dist/types/workflows-runs-create-body-execution-type-enum.d.ts +7 -0
- package/dist/types/workflows-runs-create-body-execution-type-enum.js +5 -0
- package/dist/types/workflows-runs-create-body.d.ts +37 -0
- package/dist/types/workflows-runs-create-body.js +80 -0
- package/dist/types/workflows-runs-create-response-status-enum.d.ts +7 -0
- package/dist/types/workflows-runs-create-response-status-enum.js +5 -0
- package/dist/types/workflows-runs-create-response.d.ts +28 -0
- package/dist/types/workflows-runs-create-response.js +86 -0
- package/dist/types/workflows-runs-delete-response-status-enum.d.ts +7 -0
- package/dist/types/workflows-runs-delete-response-status-enum.js +5 -0
- package/dist/types/workflows-runs-delete-response.d.ts +28 -0
- package/dist/types/workflows-runs-delete-response.js +86 -0
- package/dist/types/workflows-runs-dispatch-create-response.d.ts +30 -0
- package/dist/types/workflows-runs-dispatch-create-response.js +74 -0
- package/dist/types/workflows-runs-get-response-status-enum.d.ts +7 -0
- package/dist/types/workflows-runs-get-response-status-enum.js +5 -0
- package/dist/types/workflows-runs-get-response.d.ts +28 -0
- package/dist/types/workflows-runs-get-response.js +86 -0
- package/dist/types/workflows-runs-list-response-item-status-enum.d.ts +7 -0
- package/dist/types/workflows-runs-list-response-item-status-enum.js +5 -0
- package/dist/types/workflows-runs-list-response-item.d.ts +28 -0
- package/dist/types/workflows-runs-list-response-item.js +86 -0
- package/dist/types/workflows-versions-create-body.d.ts +47 -0
- package/dist/types/workflows-versions-create-body.js +88 -0
- package/dist/types/workflows-versions-create-response.d.ts +67 -0
- package/dist/types/workflows-versions-create-response.js +104 -0
- package/dist/types/workflows-versions-delete-response.d.ts +67 -0
- package/dist/types/workflows-versions-delete-response.js +104 -0
- package/dist/types/workflows-versions-get-response.d.ts +67 -0
- package/dist/types/workflows-versions-get-response.js +104 -0
- package/dist/types/workflows-versions-list-response-item.d.ts +67 -0
- package/dist/types/workflows-versions-list-response-item.js +104 -0
- package/dist/types/workflows-versions-patch-body.d.ts +47 -0
- package/dist/types/workflows-versions-patch-body.js +88 -0
- package/dist/types/workflows-versions-patch-response.d.ts +67 -0
- package/dist/types/workflows-versions-patch-response.js +104 -0
- package/package.json +2 -2
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Generated by Sideko (sideko.dev)
|
|
3
|
+
**/
|
|
4
|
+
import * as z from "zod";
|
|
5
|
+
import { External$MemoryTablesMutateCreateBodyMutation, MemoryTablesMutateCreateBodyMutation } from "./memory-tables-mutate-create-body-mutation";
|
|
6
|
+
/**
|
|
7
|
+
* MemoryTablesMutateCreateBody
|
|
8
|
+
*/
|
|
9
|
+
export type MemoryTablesMutateCreateBody = {
|
|
10
|
+
/**
|
|
11
|
+
* The mutation to execute
|
|
12
|
+
*/
|
|
13
|
+
mutation: MemoryTablesMutateCreateBodyMutation;
|
|
14
|
+
/**
|
|
15
|
+
* The ID of the memory table to mutate
|
|
16
|
+
*/
|
|
17
|
+
tableId: string;
|
|
18
|
+
[additionalProperty: string]: MemoryTablesMutateCreateBodyMutation | string | any | null | undefined;
|
|
19
|
+
};
|
|
20
|
+
/**
|
|
21
|
+
* @internal
|
|
22
|
+
* MemoryTablesMutateCreateBody without any key transformation, this is what
|
|
23
|
+
* we expect to come in as network data
|
|
24
|
+
*/
|
|
25
|
+
export type External$MemoryTablesMutateCreateBody = {
|
|
26
|
+
mutation: External$MemoryTablesMutateCreateBodyMutation;
|
|
27
|
+
table_id: string;
|
|
28
|
+
[additionalProperty: string]: External$MemoryTablesMutateCreateBodyMutation | string | External$MemoryTablesMutateCreateBody | null | undefined;
|
|
29
|
+
};
|
|
30
|
+
export declare const Schemas$MemoryTablesMutateCreateBody: {
|
|
31
|
+
in: z.ZodType<MemoryTablesMutateCreateBody, z.ZodTypeDef, unknown>;
|
|
32
|
+
out: z.ZodType<External$MemoryTablesMutateCreateBody, z.ZodTypeDef, MemoryTablesMutateCreateBody>;
|
|
33
|
+
};
|
|
@@ -0,0 +1,77 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* Generated by Sideko (sideko.dev)
|
|
4
|
+
**/
|
|
5
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
6
|
+
if (k2 === undefined) k2 = k;
|
|
7
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
8
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
9
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
10
|
+
}
|
|
11
|
+
Object.defineProperty(o, k2, desc);
|
|
12
|
+
}) : (function(o, m, k, k2) {
|
|
13
|
+
if (k2 === undefined) k2 = k;
|
|
14
|
+
o[k2] = m[k];
|
|
15
|
+
}));
|
|
16
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
17
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
18
|
+
}) : function(o, v) {
|
|
19
|
+
o["default"] = v;
|
|
20
|
+
});
|
|
21
|
+
var __importStar = (this && this.__importStar) || (function () {
|
|
22
|
+
var ownKeys = function(o) {
|
|
23
|
+
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
24
|
+
var ar = [];
|
|
25
|
+
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
26
|
+
return ar;
|
|
27
|
+
};
|
|
28
|
+
return ownKeys(o);
|
|
29
|
+
};
|
|
30
|
+
return function (mod) {
|
|
31
|
+
if (mod && mod.__esModule) return mod;
|
|
32
|
+
var result = {};
|
|
33
|
+
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
34
|
+
__setModuleDefault(result, mod);
|
|
35
|
+
return result;
|
|
36
|
+
};
|
|
37
|
+
})();
|
|
38
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
39
|
+
exports.Schemas$MemoryTablesMutateCreateBody = void 0;
|
|
40
|
+
const make_api_request_js_1 = require("make-api-request-js");
|
|
41
|
+
const z = __importStar(require("zod"));
|
|
42
|
+
const memory_tables_mutate_create_body_mutation_1 = require("./memory-tables-mutate-create-body-mutation");
|
|
43
|
+
/**
|
|
44
|
+
* Takes network data, validates it, and transforms keys to match typescript object MemoryTablesMutateCreateBody
|
|
45
|
+
*/
|
|
46
|
+
const SchemaIn$MemoryTablesMutateCreateBody = z
|
|
47
|
+
.object({
|
|
48
|
+
mutation: memory_tables_mutate_create_body_mutation_1.Schemas$MemoryTablesMutateCreateBodyMutation.in,
|
|
49
|
+
table_id: z.string(),
|
|
50
|
+
})
|
|
51
|
+
.catchall(make_api_request_js_1.zodRequiredAny)
|
|
52
|
+
.transform((obj) => {
|
|
53
|
+
return (0, make_api_request_js_1.zodTransform)(obj, {
|
|
54
|
+
mutation: "mutation",
|
|
55
|
+
table_id: "tableId",
|
|
56
|
+
});
|
|
57
|
+
});
|
|
58
|
+
/**
|
|
59
|
+
* @internal
|
|
60
|
+
* Takes typescript data, validates it, and maps keys to match the expected external object External$MemoryTablesMutateCreateBody
|
|
61
|
+
*/
|
|
62
|
+
const SchemaOut$MemoryTablesMutateCreateBody = z
|
|
63
|
+
.object({
|
|
64
|
+
mutation: memory_tables_mutate_create_body_mutation_1.Schemas$MemoryTablesMutateCreateBodyMutation.out,
|
|
65
|
+
tableId: z.string(),
|
|
66
|
+
})
|
|
67
|
+
.catchall(make_api_request_js_1.zodRequiredAny)
|
|
68
|
+
.transform((obj) => {
|
|
69
|
+
return (0, make_api_request_js_1.zodTransform)(obj, {
|
|
70
|
+
mutation: "mutation",
|
|
71
|
+
tableId: "table_id",
|
|
72
|
+
});
|
|
73
|
+
});
|
|
74
|
+
exports.Schemas$MemoryTablesMutateCreateBody = {
|
|
75
|
+
in: SchemaIn$MemoryTablesMutateCreateBody,
|
|
76
|
+
out: SchemaOut$MemoryTablesMutateCreateBody,
|
|
77
|
+
};
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Generated by Sideko (sideko.dev)
|
|
3
|
+
**/
|
|
4
|
+
import * as z from "zod";
|
|
5
|
+
/**
|
|
6
|
+
* MemoryTablesMutateCreateResponseDataItem
|
|
7
|
+
*/
|
|
8
|
+
export type MemoryTablesMutateCreateResponseDataItem = {
|
|
9
|
+
/**
|
|
10
|
+
* Expected to be an ISO 8601 formatted datetime string.
|
|
11
|
+
*/
|
|
12
|
+
createdAt: string;
|
|
13
|
+
id: string;
|
|
14
|
+
[additionalProperty: string]: string | string | any | null | undefined;
|
|
15
|
+
};
|
|
16
|
+
/**
|
|
17
|
+
* @internal
|
|
18
|
+
* MemoryTablesMutateCreateResponseDataItem without any key transformation, this is what
|
|
19
|
+
* we expect to come in as network data
|
|
20
|
+
*/
|
|
21
|
+
export type External$MemoryTablesMutateCreateResponseDataItem = {
|
|
22
|
+
created_at: string;
|
|
23
|
+
id: string;
|
|
24
|
+
[additionalProperty: string]: string | string | External$MemoryTablesMutateCreateResponseDataItem | null | undefined;
|
|
25
|
+
};
|
|
26
|
+
export declare const Schemas$MemoryTablesMutateCreateResponseDataItem: {
|
|
27
|
+
in: z.ZodType<MemoryTablesMutateCreateResponseDataItem, z.ZodTypeDef, unknown>;
|
|
28
|
+
out: z.ZodType<External$MemoryTablesMutateCreateResponseDataItem, z.ZodTypeDef, MemoryTablesMutateCreateResponseDataItem>;
|
|
29
|
+
};
|
|
@@ -0,0 +1,76 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* Generated by Sideko (sideko.dev)
|
|
4
|
+
**/
|
|
5
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
6
|
+
if (k2 === undefined) k2 = k;
|
|
7
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
8
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
9
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
10
|
+
}
|
|
11
|
+
Object.defineProperty(o, k2, desc);
|
|
12
|
+
}) : (function(o, m, k, k2) {
|
|
13
|
+
if (k2 === undefined) k2 = k;
|
|
14
|
+
o[k2] = m[k];
|
|
15
|
+
}));
|
|
16
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
17
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
18
|
+
}) : function(o, v) {
|
|
19
|
+
o["default"] = v;
|
|
20
|
+
});
|
|
21
|
+
var __importStar = (this && this.__importStar) || (function () {
|
|
22
|
+
var ownKeys = function(o) {
|
|
23
|
+
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
24
|
+
var ar = [];
|
|
25
|
+
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
26
|
+
return ar;
|
|
27
|
+
};
|
|
28
|
+
return ownKeys(o);
|
|
29
|
+
};
|
|
30
|
+
return function (mod) {
|
|
31
|
+
if (mod && mod.__esModule) return mod;
|
|
32
|
+
var result = {};
|
|
33
|
+
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
34
|
+
__setModuleDefault(result, mod);
|
|
35
|
+
return result;
|
|
36
|
+
};
|
|
37
|
+
})();
|
|
38
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
39
|
+
exports.Schemas$MemoryTablesMutateCreateResponseDataItem = void 0;
|
|
40
|
+
const make_api_request_js_1 = require("make-api-request-js");
|
|
41
|
+
const z = __importStar(require("zod"));
|
|
42
|
+
/**
|
|
43
|
+
* Takes network data, validates it, and transforms keys to match typescript object MemoryTablesMutateCreateResponseDataItem
|
|
44
|
+
*/
|
|
45
|
+
const SchemaIn$MemoryTablesMutateCreateResponseDataItem = z
|
|
46
|
+
.object({
|
|
47
|
+
created_at: z.string(),
|
|
48
|
+
id: z.string(),
|
|
49
|
+
})
|
|
50
|
+
.catchall(make_api_request_js_1.zodRequiredAny)
|
|
51
|
+
.transform((obj) => {
|
|
52
|
+
return (0, make_api_request_js_1.zodTransform)(obj, {
|
|
53
|
+
created_at: "createdAt",
|
|
54
|
+
id: "id",
|
|
55
|
+
});
|
|
56
|
+
});
|
|
57
|
+
/**
|
|
58
|
+
* @internal
|
|
59
|
+
* Takes typescript data, validates it, and maps keys to match the expected external object External$MemoryTablesMutateCreateResponseDataItem
|
|
60
|
+
*/
|
|
61
|
+
const SchemaOut$MemoryTablesMutateCreateResponseDataItem = z
|
|
62
|
+
.object({
|
|
63
|
+
createdAt: z.string(),
|
|
64
|
+
id: z.string(),
|
|
65
|
+
})
|
|
66
|
+
.catchall(make_api_request_js_1.zodRequiredAny)
|
|
67
|
+
.transform((obj) => {
|
|
68
|
+
return (0, make_api_request_js_1.zodTransform)(obj, {
|
|
69
|
+
createdAt: "created_at",
|
|
70
|
+
id: "id",
|
|
71
|
+
});
|
|
72
|
+
});
|
|
73
|
+
exports.Schemas$MemoryTablesMutateCreateResponseDataItem = {
|
|
74
|
+
in: SchemaIn$MemoryTablesMutateCreateResponseDataItem,
|
|
75
|
+
out: SchemaOut$MemoryTablesMutateCreateResponseDataItem,
|
|
76
|
+
};
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Generated by Sideko (sideko.dev)
|
|
3
|
+
**/
|
|
4
|
+
import * as z from "zod";
|
|
5
|
+
/**
|
|
6
|
+
* MemoryTablesMutateCreateResponseErrorsItem
|
|
7
|
+
*/
|
|
8
|
+
export type MemoryTablesMutateCreateResponseErrorsItem = {
|
|
9
|
+
data?: Record<string, any | undefined> | null | undefined;
|
|
10
|
+
error?: string | undefined;
|
|
11
|
+
};
|
|
12
|
+
/**
|
|
13
|
+
* @internal
|
|
14
|
+
* MemoryTablesMutateCreateResponseErrorsItem without any key transformation, this is what
|
|
15
|
+
* we expect to come in as network data
|
|
16
|
+
*/
|
|
17
|
+
export type External$MemoryTablesMutateCreateResponseErrorsItem = {
|
|
18
|
+
data?: Record<string, any | undefined> | null | undefined;
|
|
19
|
+
error?: string | undefined;
|
|
20
|
+
};
|
|
21
|
+
export declare const Schemas$MemoryTablesMutateCreateResponseErrorsItem: {
|
|
22
|
+
in: z.ZodType<MemoryTablesMutateCreateResponseErrorsItem, z.ZodTypeDef, unknown>;
|
|
23
|
+
out: z.ZodType<External$MemoryTablesMutateCreateResponseErrorsItem, z.ZodTypeDef, MemoryTablesMutateCreateResponseErrorsItem>;
|
|
24
|
+
};
|
|
@@ -0,0 +1,74 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* Generated by Sideko (sideko.dev)
|
|
4
|
+
**/
|
|
5
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
6
|
+
if (k2 === undefined) k2 = k;
|
|
7
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
8
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
9
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
10
|
+
}
|
|
11
|
+
Object.defineProperty(o, k2, desc);
|
|
12
|
+
}) : (function(o, m, k, k2) {
|
|
13
|
+
if (k2 === undefined) k2 = k;
|
|
14
|
+
o[k2] = m[k];
|
|
15
|
+
}));
|
|
16
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
17
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
18
|
+
}) : function(o, v) {
|
|
19
|
+
o["default"] = v;
|
|
20
|
+
});
|
|
21
|
+
var __importStar = (this && this.__importStar) || (function () {
|
|
22
|
+
var ownKeys = function(o) {
|
|
23
|
+
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
24
|
+
var ar = [];
|
|
25
|
+
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
26
|
+
return ar;
|
|
27
|
+
};
|
|
28
|
+
return ownKeys(o);
|
|
29
|
+
};
|
|
30
|
+
return function (mod) {
|
|
31
|
+
if (mod && mod.__esModule) return mod;
|
|
32
|
+
var result = {};
|
|
33
|
+
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
34
|
+
__setModuleDefault(result, mod);
|
|
35
|
+
return result;
|
|
36
|
+
};
|
|
37
|
+
})();
|
|
38
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
39
|
+
exports.Schemas$MemoryTablesMutateCreateResponseErrorsItem = void 0;
|
|
40
|
+
const make_api_request_js_1 = require("make-api-request-js");
|
|
41
|
+
const z = __importStar(require("zod"));
|
|
42
|
+
/**
|
|
43
|
+
* Takes network data, validates it, and transforms keys to match typescript object MemoryTablesMutateCreateResponseErrorsItem
|
|
44
|
+
*/
|
|
45
|
+
const SchemaIn$MemoryTablesMutateCreateResponseErrorsItem = z
|
|
46
|
+
.object({
|
|
47
|
+
data: z.record(z.string(), make_api_request_js_1.zodRequiredAny.optional()).nullable().optional(),
|
|
48
|
+
error: z.string().optional(),
|
|
49
|
+
})
|
|
50
|
+
.transform((obj) => {
|
|
51
|
+
return (0, make_api_request_js_1.zodTransform)(obj, {
|
|
52
|
+
data: "data",
|
|
53
|
+
error: "error",
|
|
54
|
+
});
|
|
55
|
+
});
|
|
56
|
+
/**
|
|
57
|
+
* @internal
|
|
58
|
+
* Takes typescript data, validates it, and maps keys to match the expected external object External$MemoryTablesMutateCreateResponseErrorsItem
|
|
59
|
+
*/
|
|
60
|
+
const SchemaOut$MemoryTablesMutateCreateResponseErrorsItem = z
|
|
61
|
+
.object({
|
|
62
|
+
data: z.record(z.string(), make_api_request_js_1.zodRequiredAny.optional()).nullable().optional(),
|
|
63
|
+
error: z.string().optional(),
|
|
64
|
+
})
|
|
65
|
+
.transform((obj) => {
|
|
66
|
+
return (0, make_api_request_js_1.zodTransform)(obj, {
|
|
67
|
+
data: "data",
|
|
68
|
+
error: "error",
|
|
69
|
+
});
|
|
70
|
+
});
|
|
71
|
+
exports.Schemas$MemoryTablesMutateCreateResponseErrorsItem = {
|
|
72
|
+
in: SchemaIn$MemoryTablesMutateCreateResponseErrorsItem,
|
|
73
|
+
out: SchemaOut$MemoryTablesMutateCreateResponseErrorsItem,
|
|
74
|
+
};
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Generated by Sideko (sideko.dev)
|
|
3
|
+
**/
|
|
4
|
+
import * as z from "zod";
|
|
5
|
+
import { External$MemoryTablesMutateCreateResponseDataItem, MemoryTablesMutateCreateResponseDataItem } from "./memory-tables-mutate-create-response-data-item";
|
|
6
|
+
import { External$MemoryTablesMutateCreateResponseErrorsItem, MemoryTablesMutateCreateResponseErrorsItem } from "./memory-tables-mutate-create-response-errors-item";
|
|
7
|
+
/**
|
|
8
|
+
* MemoryTablesMutateCreateResponse
|
|
9
|
+
*/
|
|
10
|
+
export type MemoryTablesMutateCreateResponse = {
|
|
11
|
+
/**
|
|
12
|
+
* The number of affected rows
|
|
13
|
+
*/
|
|
14
|
+
count: number;
|
|
15
|
+
/**
|
|
16
|
+
* The affected rows
|
|
17
|
+
*/
|
|
18
|
+
data?: MemoryTablesMutateCreateResponseDataItem[] | undefined;
|
|
19
|
+
/**
|
|
20
|
+
* Any errors that occurred during the mutation
|
|
21
|
+
*/
|
|
22
|
+
errors?: MemoryTablesMutateCreateResponseErrorsItem[] | undefined;
|
|
23
|
+
[additionalProperty: string]: number | (MemoryTablesMutateCreateResponseDataItem[] | undefined) | (MemoryTablesMutateCreateResponseErrorsItem[] | undefined) | any | null | undefined;
|
|
24
|
+
};
|
|
25
|
+
/**
|
|
26
|
+
* @internal
|
|
27
|
+
* MemoryTablesMutateCreateResponse without any key transformation, this is what
|
|
28
|
+
* we expect to come in as network data
|
|
29
|
+
*/
|
|
30
|
+
export type External$MemoryTablesMutateCreateResponse = {
|
|
31
|
+
count: number;
|
|
32
|
+
data?: External$MemoryTablesMutateCreateResponseDataItem[] | undefined;
|
|
33
|
+
errors?: External$MemoryTablesMutateCreateResponseErrorsItem[] | undefined;
|
|
34
|
+
[additionalProperty: string]: number | (External$MemoryTablesMutateCreateResponseDataItem[] | undefined) | (External$MemoryTablesMutateCreateResponseErrorsItem[] | undefined) | External$MemoryTablesMutateCreateResponse | null | undefined;
|
|
35
|
+
};
|
|
36
|
+
export declare const Schemas$MemoryTablesMutateCreateResponse: {
|
|
37
|
+
in: z.ZodType<MemoryTablesMutateCreateResponse, z.ZodTypeDef, unknown>;
|
|
38
|
+
out: z.ZodType<External$MemoryTablesMutateCreateResponse, z.ZodTypeDef, MemoryTablesMutateCreateResponse>;
|
|
39
|
+
};
|
|
@@ -0,0 +1,90 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* Generated by Sideko (sideko.dev)
|
|
4
|
+
**/
|
|
5
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
6
|
+
if (k2 === undefined) k2 = k;
|
|
7
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
8
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
9
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
10
|
+
}
|
|
11
|
+
Object.defineProperty(o, k2, desc);
|
|
12
|
+
}) : (function(o, m, k, k2) {
|
|
13
|
+
if (k2 === undefined) k2 = k;
|
|
14
|
+
o[k2] = m[k];
|
|
15
|
+
}));
|
|
16
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
17
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
18
|
+
}) : function(o, v) {
|
|
19
|
+
o["default"] = v;
|
|
20
|
+
});
|
|
21
|
+
var __importStar = (this && this.__importStar) || (function () {
|
|
22
|
+
var ownKeys = function(o) {
|
|
23
|
+
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
24
|
+
var ar = [];
|
|
25
|
+
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
26
|
+
return ar;
|
|
27
|
+
};
|
|
28
|
+
return ownKeys(o);
|
|
29
|
+
};
|
|
30
|
+
return function (mod) {
|
|
31
|
+
if (mod && mod.__esModule) return mod;
|
|
32
|
+
var result = {};
|
|
33
|
+
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
34
|
+
__setModuleDefault(result, mod);
|
|
35
|
+
return result;
|
|
36
|
+
};
|
|
37
|
+
})();
|
|
38
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
39
|
+
exports.Schemas$MemoryTablesMutateCreateResponse = void 0;
|
|
40
|
+
const make_api_request_js_1 = require("make-api-request-js");
|
|
41
|
+
const z = __importStar(require("zod"));
|
|
42
|
+
const memory_tables_mutate_create_response_data_item_1 = require("./memory-tables-mutate-create-response-data-item");
|
|
43
|
+
const memory_tables_mutate_create_response_errors_item_1 = require("./memory-tables-mutate-create-response-errors-item");
|
|
44
|
+
/**
|
|
45
|
+
* Takes network data, validates it, and transforms keys to match typescript object MemoryTablesMutateCreateResponse
|
|
46
|
+
*/
|
|
47
|
+
const SchemaIn$MemoryTablesMutateCreateResponse = z
|
|
48
|
+
.object({
|
|
49
|
+
count: z.number(),
|
|
50
|
+
data: z
|
|
51
|
+
.array(memory_tables_mutate_create_response_data_item_1.Schemas$MemoryTablesMutateCreateResponseDataItem.in)
|
|
52
|
+
.optional(),
|
|
53
|
+
errors: z
|
|
54
|
+
.array(memory_tables_mutate_create_response_errors_item_1.Schemas$MemoryTablesMutateCreateResponseErrorsItem.in)
|
|
55
|
+
.optional(),
|
|
56
|
+
})
|
|
57
|
+
.catchall(make_api_request_js_1.zodRequiredAny)
|
|
58
|
+
.transform((obj) => {
|
|
59
|
+
return (0, make_api_request_js_1.zodTransform)(obj, {
|
|
60
|
+
count: "count",
|
|
61
|
+
data: "data",
|
|
62
|
+
errors: "errors",
|
|
63
|
+
});
|
|
64
|
+
});
|
|
65
|
+
/**
|
|
66
|
+
* @internal
|
|
67
|
+
* Takes typescript data, validates it, and maps keys to match the expected external object External$MemoryTablesMutateCreateResponse
|
|
68
|
+
*/
|
|
69
|
+
const SchemaOut$MemoryTablesMutateCreateResponse = z
|
|
70
|
+
.object({
|
|
71
|
+
count: z.number(),
|
|
72
|
+
data: z
|
|
73
|
+
.array(memory_tables_mutate_create_response_data_item_1.Schemas$MemoryTablesMutateCreateResponseDataItem.out)
|
|
74
|
+
.optional(),
|
|
75
|
+
errors: z
|
|
76
|
+
.array(memory_tables_mutate_create_response_errors_item_1.Schemas$MemoryTablesMutateCreateResponseErrorsItem.out)
|
|
77
|
+
.optional(),
|
|
78
|
+
})
|
|
79
|
+
.catchall(make_api_request_js_1.zodRequiredAny)
|
|
80
|
+
.transform((obj) => {
|
|
81
|
+
return (0, make_api_request_js_1.zodTransform)(obj, {
|
|
82
|
+
count: "count",
|
|
83
|
+
data: "data",
|
|
84
|
+
errors: "errors",
|
|
85
|
+
});
|
|
86
|
+
});
|
|
87
|
+
exports.Schemas$MemoryTablesMutateCreateResponse = {
|
|
88
|
+
in: SchemaIn$MemoryTablesMutateCreateResponse,
|
|
89
|
+
out: SchemaOut$MemoryTablesMutateCreateResponse,
|
|
90
|
+
};
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Generated by Sideko (sideko.dev)
|
|
3
|
+
**/
|
|
4
|
+
import * as z from "zod";
|
|
5
|
+
/**
|
|
6
|
+
* MemoryTablesQueryCreateBody
|
|
7
|
+
*/
|
|
8
|
+
export type MemoryTablesQueryCreateBody = {
|
|
9
|
+
/**
|
|
10
|
+
* Optional query modifiers (limit, offset, order, etc.)
|
|
11
|
+
*/
|
|
12
|
+
modifiers?: Record<string, any | undefined> | undefined;
|
|
13
|
+
/**
|
|
14
|
+
* The data query to execute
|
|
15
|
+
*/
|
|
16
|
+
query: Record<string, any | undefined>;
|
|
17
|
+
/**
|
|
18
|
+
* The ID of the memory table to query
|
|
19
|
+
*/
|
|
20
|
+
tableId: string;
|
|
21
|
+
[additionalProperty: string]: (Record<string, any | undefined> | undefined) | Record<string, any | undefined> | string | any | null | undefined;
|
|
22
|
+
};
|
|
23
|
+
/**
|
|
24
|
+
* @internal
|
|
25
|
+
* MemoryTablesQueryCreateBody without any key transformation, this is what
|
|
26
|
+
* we expect to come in as network data
|
|
27
|
+
*/
|
|
28
|
+
export type External$MemoryTablesQueryCreateBody = {
|
|
29
|
+
modifiers?: Record<string, any | undefined> | undefined;
|
|
30
|
+
query: Record<string, any | undefined>;
|
|
31
|
+
table_id: string;
|
|
32
|
+
[additionalProperty: string]: (Record<string, any | undefined> | undefined) | Record<string, any | undefined> | string | External$MemoryTablesQueryCreateBody | null | undefined;
|
|
33
|
+
};
|
|
34
|
+
export declare const Schemas$MemoryTablesQueryCreateBody: {
|
|
35
|
+
in: z.ZodType<MemoryTablesQueryCreateBody, z.ZodTypeDef, unknown>;
|
|
36
|
+
out: z.ZodType<External$MemoryTablesQueryCreateBody, z.ZodTypeDef, MemoryTablesQueryCreateBody>;
|
|
37
|
+
};
|
|
@@ -0,0 +1,80 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* Generated by Sideko (sideko.dev)
|
|
4
|
+
**/
|
|
5
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
6
|
+
if (k2 === undefined) k2 = k;
|
|
7
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
8
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
9
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
10
|
+
}
|
|
11
|
+
Object.defineProperty(o, k2, desc);
|
|
12
|
+
}) : (function(o, m, k, k2) {
|
|
13
|
+
if (k2 === undefined) k2 = k;
|
|
14
|
+
o[k2] = m[k];
|
|
15
|
+
}));
|
|
16
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
17
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
18
|
+
}) : function(o, v) {
|
|
19
|
+
o["default"] = v;
|
|
20
|
+
});
|
|
21
|
+
var __importStar = (this && this.__importStar) || (function () {
|
|
22
|
+
var ownKeys = function(o) {
|
|
23
|
+
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
24
|
+
var ar = [];
|
|
25
|
+
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
26
|
+
return ar;
|
|
27
|
+
};
|
|
28
|
+
return ownKeys(o);
|
|
29
|
+
};
|
|
30
|
+
return function (mod) {
|
|
31
|
+
if (mod && mod.__esModule) return mod;
|
|
32
|
+
var result = {};
|
|
33
|
+
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
34
|
+
__setModuleDefault(result, mod);
|
|
35
|
+
return result;
|
|
36
|
+
};
|
|
37
|
+
})();
|
|
38
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
39
|
+
exports.Schemas$MemoryTablesQueryCreateBody = void 0;
|
|
40
|
+
const make_api_request_js_1 = require("make-api-request-js");
|
|
41
|
+
const z = __importStar(require("zod"));
|
|
42
|
+
/**
|
|
43
|
+
* Takes network data, validates it, and transforms keys to match typescript object MemoryTablesQueryCreateBody
|
|
44
|
+
*/
|
|
45
|
+
const SchemaIn$MemoryTablesQueryCreateBody = z
|
|
46
|
+
.object({
|
|
47
|
+
modifiers: z.record(z.string(), make_api_request_js_1.zodRequiredAny.optional()).optional(),
|
|
48
|
+
query: z.record(z.string(), make_api_request_js_1.zodRequiredAny.optional()),
|
|
49
|
+
table_id: z.string(),
|
|
50
|
+
})
|
|
51
|
+
.catchall(make_api_request_js_1.zodRequiredAny)
|
|
52
|
+
.transform((obj) => {
|
|
53
|
+
return (0, make_api_request_js_1.zodTransform)(obj, {
|
|
54
|
+
modifiers: "modifiers",
|
|
55
|
+
query: "query",
|
|
56
|
+
table_id: "tableId",
|
|
57
|
+
});
|
|
58
|
+
});
|
|
59
|
+
/**
|
|
60
|
+
* @internal
|
|
61
|
+
* Takes typescript data, validates it, and maps keys to match the expected external object External$MemoryTablesQueryCreateBody
|
|
62
|
+
*/
|
|
63
|
+
const SchemaOut$MemoryTablesQueryCreateBody = z
|
|
64
|
+
.object({
|
|
65
|
+
modifiers: z.record(z.string(), make_api_request_js_1.zodRequiredAny.optional()).optional(),
|
|
66
|
+
query: z.record(z.string(), make_api_request_js_1.zodRequiredAny.optional()),
|
|
67
|
+
tableId: z.string(),
|
|
68
|
+
})
|
|
69
|
+
.catchall(make_api_request_js_1.zodRequiredAny)
|
|
70
|
+
.transform((obj) => {
|
|
71
|
+
return (0, make_api_request_js_1.zodTransform)(obj, {
|
|
72
|
+
modifiers: "modifiers",
|
|
73
|
+
query: "query",
|
|
74
|
+
tableId: "table_id",
|
|
75
|
+
});
|
|
76
|
+
});
|
|
77
|
+
exports.Schemas$MemoryTablesQueryCreateBody = {
|
|
78
|
+
in: SchemaIn$MemoryTablesQueryCreateBody,
|
|
79
|
+
out: SchemaOut$MemoryTablesQueryCreateBody,
|
|
80
|
+
};
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Generated by Sideko (sideko.dev)
|
|
3
|
+
**/
|
|
4
|
+
import * as z from "zod";
|
|
5
|
+
/**
|
|
6
|
+
* MemoryTablesQueryCreateResponseRow
|
|
7
|
+
*/
|
|
8
|
+
export type MemoryTablesQueryCreateResponseRow = {
|
|
9
|
+
/**
|
|
10
|
+
* Expected to be an ISO 8601 formatted datetime string.
|
|
11
|
+
*/
|
|
12
|
+
createdAt: string;
|
|
13
|
+
id: string;
|
|
14
|
+
[additionalProperty: string]: string | string | any | null | undefined;
|
|
15
|
+
};
|
|
16
|
+
/**
|
|
17
|
+
* @internal
|
|
18
|
+
* MemoryTablesQueryCreateResponseRow without any key transformation, this is what
|
|
19
|
+
* we expect to come in as network data
|
|
20
|
+
*/
|
|
21
|
+
export type External$MemoryTablesQueryCreateResponseRow = {
|
|
22
|
+
created_at: string;
|
|
23
|
+
id: string;
|
|
24
|
+
[additionalProperty: string]: string | string | External$MemoryTablesQueryCreateResponseRow | null | undefined;
|
|
25
|
+
};
|
|
26
|
+
export declare const Schemas$MemoryTablesQueryCreateResponseRow: {
|
|
27
|
+
in: z.ZodType<MemoryTablesQueryCreateResponseRow, z.ZodTypeDef, unknown>;
|
|
28
|
+
out: z.ZodType<External$MemoryTablesQueryCreateResponseRow, z.ZodTypeDef, MemoryTablesQueryCreateResponseRow>;
|
|
29
|
+
};
|
|
@@ -0,0 +1,76 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* Generated by Sideko (sideko.dev)
|
|
4
|
+
**/
|
|
5
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
6
|
+
if (k2 === undefined) k2 = k;
|
|
7
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
8
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
9
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
10
|
+
}
|
|
11
|
+
Object.defineProperty(o, k2, desc);
|
|
12
|
+
}) : (function(o, m, k, k2) {
|
|
13
|
+
if (k2 === undefined) k2 = k;
|
|
14
|
+
o[k2] = m[k];
|
|
15
|
+
}));
|
|
16
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
17
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
18
|
+
}) : function(o, v) {
|
|
19
|
+
o["default"] = v;
|
|
20
|
+
});
|
|
21
|
+
var __importStar = (this && this.__importStar) || (function () {
|
|
22
|
+
var ownKeys = function(o) {
|
|
23
|
+
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
24
|
+
var ar = [];
|
|
25
|
+
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
26
|
+
return ar;
|
|
27
|
+
};
|
|
28
|
+
return ownKeys(o);
|
|
29
|
+
};
|
|
30
|
+
return function (mod) {
|
|
31
|
+
if (mod && mod.__esModule) return mod;
|
|
32
|
+
var result = {};
|
|
33
|
+
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
34
|
+
__setModuleDefault(result, mod);
|
|
35
|
+
return result;
|
|
36
|
+
};
|
|
37
|
+
})();
|
|
38
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
39
|
+
exports.Schemas$MemoryTablesQueryCreateResponseRow = void 0;
|
|
40
|
+
const make_api_request_js_1 = require("make-api-request-js");
|
|
41
|
+
const z = __importStar(require("zod"));
|
|
42
|
+
/**
|
|
43
|
+
* Takes network data, validates it, and transforms keys to match typescript object MemoryTablesQueryCreateResponseRow
|
|
44
|
+
*/
|
|
45
|
+
const SchemaIn$MemoryTablesQueryCreateResponseRow = z
|
|
46
|
+
.object({
|
|
47
|
+
created_at: z.string(),
|
|
48
|
+
id: z.string(),
|
|
49
|
+
})
|
|
50
|
+
.catchall(make_api_request_js_1.zodRequiredAny)
|
|
51
|
+
.transform((obj) => {
|
|
52
|
+
return (0, make_api_request_js_1.zodTransform)(obj, {
|
|
53
|
+
created_at: "createdAt",
|
|
54
|
+
id: "id",
|
|
55
|
+
});
|
|
56
|
+
});
|
|
57
|
+
/**
|
|
58
|
+
* @internal
|
|
59
|
+
* Takes typescript data, validates it, and maps keys to match the expected external object External$MemoryTablesQueryCreateResponseRow
|
|
60
|
+
*/
|
|
61
|
+
const SchemaOut$MemoryTablesQueryCreateResponseRow = z
|
|
62
|
+
.object({
|
|
63
|
+
createdAt: z.string(),
|
|
64
|
+
id: z.string(),
|
|
65
|
+
})
|
|
66
|
+
.catchall(make_api_request_js_1.zodRequiredAny)
|
|
67
|
+
.transform((obj) => {
|
|
68
|
+
return (0, make_api_request_js_1.zodTransform)(obj, {
|
|
69
|
+
createdAt: "created_at",
|
|
70
|
+
id: "id",
|
|
71
|
+
});
|
|
72
|
+
});
|
|
73
|
+
exports.Schemas$MemoryTablesQueryCreateResponseRow = {
|
|
74
|
+
in: SchemaIn$MemoryTablesQueryCreateResponseRow,
|
|
75
|
+
out: SchemaOut$MemoryTablesQueryCreateResponseRow,
|
|
76
|
+
};
|