@human2human/sdk 0.2.0 → 0.4.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 +84 -22
- package/dist/client.d.ts +15 -3
- package/dist/client.js +17 -6
- package/dist/environment.d.ts +1 -1
- package/dist/environment.js +1 -1
- package/dist/index.d.ts +6 -0
- package/dist/index.js +6 -0
- package/dist/resources/agent/build/index.d.ts +6 -0
- package/dist/resources/agent/build/index.js +6 -0
- package/dist/resources/agent/build/resource-client.d.ts +6 -0
- package/dist/resources/agent/build/resource-client.js +6 -0
- package/dist/resources/agent/build/workflow/index.d.ts +6 -0
- package/dist/resources/agent/build/workflow/index.js +6 -0
- package/dist/resources/agent/build/workflow/resource-client.d.ts +11 -1
- package/dist/resources/agent/build/workflow/resource-client.js +11 -1
- package/dist/resources/agent/history/index.d.ts +5 -0
- package/dist/resources/agent/history/index.js +8 -0
- package/dist/resources/agent/history/request-types.d.ts +30 -0
- package/dist/resources/agent/history/request-types.js +74 -0
- package/dist/resources/agent/history/resource-client.d.ts +17 -0
- package/dist/resources/agent/history/resource-client.js +78 -0
- package/dist/resources/agent/index.d.ts +8 -0
- package/dist/resources/agent/index.js +8 -1
- package/dist/resources/agent/request-types.d.ts +68 -0
- package/dist/resources/agent/request-types.js +117 -0
- package/dist/resources/agent/resource-client.d.ts +28 -1
- package/dist/resources/agent/resource-client.js +90 -0
- package/dist/resources/auth/index.d.ts +6 -0
- package/dist/resources/auth/index.js +6 -0
- package/dist/resources/auth/login/index.d.ts +6 -0
- package/dist/resources/auth/login/index.js +6 -0
- package/dist/resources/auth/login/resource-client.d.ts +9 -1
- package/dist/resources/auth/login/resource-client.js +9 -1
- package/dist/resources/auth/refresh/index.d.ts +6 -0
- package/dist/resources/auth/refresh/index.js +6 -0
- package/dist/resources/auth/refresh/resource-client.d.ts +9 -1
- package/dist/resources/auth/refresh/resource-client.js +9 -1
- package/dist/resources/auth/resource-client.d.ts +6 -0
- package/dist/resources/auth/resource-client.js +6 -0
- package/dist/resources/chats/index.d.ts +7 -1
- package/dist/resources/chats/index.js +6 -0
- package/dist/resources/chats/request-types.d.ts +0 -44
- package/dist/resources/chats/request-types.js +1 -73
- package/dist/resources/chats/resource-client.d.ts +7 -17
- package/dist/resources/chats/resource-client.js +7 -87
- package/dist/resources/feeds/index.d.ts +6 -1
- package/dist/resources/feeds/index.js +7 -2
- package/dist/resources/feeds/items/index.d.ts +6 -0
- package/dist/resources/feeds/items/index.js +6 -0
- package/dist/resources/feeds/items/resource-client.d.ts +10 -0
- package/dist/resources/feeds/items/resource-client.js +10 -0
- package/dist/resources/feeds/resource-client.d.ts +12 -3
- package/dist/resources/feeds/resource-client.js +12 -5
- 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 +3 -1
- package/dist/resources/index.js +4 -2
- package/dist/resources/integrations/api/index.d.ts +6 -0
- package/dist/resources/integrations/api/index.js +6 -0
- package/dist/resources/integrations/api/operations/index.d.ts +6 -0
- package/dist/resources/integrations/api/operations/index.js +6 -0
- package/dist/resources/integrations/api/operations/resource-client.d.ts +14 -0
- package/dist/resources/integrations/api/operations/resource-client.js +14 -0
- package/dist/resources/integrations/api/resource-client.d.ts +12 -0
- package/dist/resources/integrations/api/resource-client.js +12 -0
- package/dist/resources/integrations/api/secrets/index.d.ts +6 -0
- package/dist/resources/integrations/api/secrets/index.js +6 -0
- package/dist/resources/integrations/api/secrets/resource-client.d.ts +12 -0
- package/dist/resources/integrations/api/secrets/resource-client.js +12 -0
- package/dist/resources/integrations/index.d.ts +6 -0
- package/dist/resources/integrations/index.js +6 -0
- package/dist/resources/integrations/resource-client.d.ts +6 -0
- package/dist/resources/integrations/resource-client.js +6 -0
- package/dist/resources/memory/index.d.ts +8 -0
- package/dist/resources/memory/index.js +45 -0
- package/dist/resources/memory/resource-client.d.ts +13 -0
- package/dist/resources/memory/resource-client.js +23 -0
- package/dist/resources/memory/tables/index.d.ts +10 -0
- package/dist/resources/memory/tables/index.js +46 -0
- package/dist/resources/memory/tables/mutate/index.d.ts +8 -0
- package/dist/resources/memory/tables/mutate/index.js +11 -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 +20 -0
- package/dist/resources/memory/tables/mutate/resource-client.js +36 -0
- package/dist/resources/memory/tables/query/index.d.ts +8 -0
- package/dist/resources/memory/tables/query/index.js +11 -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 +20 -0
- package/dist/resources/memory/tables/query/resource-client.js +36 -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 +50 -0
- package/dist/resources/memory/tables/resource-client.js +147 -0
- package/dist/resources/search-groups/index.d.ts +6 -0
- package/dist/resources/search-groups/index.js +6 -0
- package/dist/resources/search-groups/items/index.d.ts +6 -0
- package/dist/resources/search-groups/items/index.js +6 -0
- package/dist/resources/search-groups/items/resource-client.d.ts +12 -0
- package/dist/resources/search-groups/items/resource-client.js +12 -0
- package/dist/resources/search-groups/resource-client.d.ts +12 -0
- package/dist/resources/search-groups/resource-client.js +12 -0
- package/dist/resources/subscriptions/events/index.d.ts +8 -0
- package/dist/resources/subscriptions/events/index.js +11 -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 +44 -0
- package/dist/resources/subscriptions/events/resource-client.js +135 -0
- package/dist/resources/subscriptions/index.d.ts +8 -0
- package/dist/resources/subscriptions/index.js +45 -0
- package/dist/resources/subscriptions/resource-client.d.ts +13 -0
- package/dist/resources/subscriptions/resource-client.js +23 -0
- package/dist/resources/tools/code-execution/index.d.ts +6 -0
- package/dist/resources/tools/code-execution/index.js +6 -0
- package/dist/resources/tools/code-execution/request-types.d.ts +7 -2
- package/dist/resources/tools/code-execution/request-types.js +4 -0
- package/dist/resources/tools/code-execution/resource-client.d.ts +9 -1
- package/dist/resources/tools/code-execution/resource-client.js +9 -1
- package/dist/resources/tools/dictionary-search/index.d.ts +6 -0
- package/dist/resources/tools/dictionary-search/index.js +6 -0
- package/dist/resources/tools/dictionary-search/resource-client.d.ts +9 -1
- package/dist/resources/tools/dictionary-search/resource-client.js +9 -1
- package/dist/resources/tools/format/index.d.ts +6 -0
- package/dist/resources/tools/format/index.js +6 -0
- package/dist/resources/tools/format/request-types.d.ts +5 -2
- package/dist/resources/tools/format/request-types.js +5 -0
- package/dist/resources/tools/format/resource-client.d.ts +9 -1
- package/dist/resources/tools/format/resource-client.js +9 -1
- package/dist/resources/tools/index.d.ts +6 -0
- package/dist/resources/tools/index.js +6 -0
- package/dist/resources/tools/internet-search/index.d.ts +6 -0
- package/dist/resources/tools/internet-search/index.js +6 -0
- package/dist/resources/tools/internet-search/request-types.d.ts +30 -0
- package/dist/resources/tools/internet-search/request-types.js +24 -0
- package/dist/resources/tools/internet-search/resource-client.d.ts +9 -1
- package/dist/resources/tools/internet-search/resource-client.js +9 -1
- package/dist/resources/tools/memory-query/index.d.ts +6 -0
- package/dist/resources/tools/memory-query/index.js +6 -0
- package/dist/resources/tools/memory-query/resource-client.d.ts +9 -1
- package/dist/resources/tools/memory-query/resource-client.js +9 -1
- package/dist/resources/tools/meta-tagger/index.d.ts +6 -0
- package/dist/resources/tools/meta-tagger/index.js +6 -0
- package/dist/resources/tools/meta-tagger/resource-client.d.ts +9 -1
- package/dist/resources/tools/meta-tagger/resource-client.js +9 -1
- package/dist/resources/tools/resource-client.d.ts +9 -1
- package/dist/resources/tools/resource-client.js +9 -1
- package/dist/resources/tools/standard-llm/index.d.ts +6 -0
- package/dist/resources/tools/standard-llm/index.js +6 -0
- package/dist/resources/tools/standard-llm/request-types.d.ts +32 -2
- package/dist/resources/tools/standard-llm/request-types.js +24 -0
- package/dist/resources/tools/standard-llm/resource-client.d.ts +9 -1
- package/dist/resources/tools/standard-llm/resource-client.js +9 -1
- package/dist/resources/tools/structured-output/index.d.ts +6 -0
- package/dist/resources/tools/structured-output/index.js +6 -0
- package/dist/resources/tools/structured-output/request-types.d.ts +3 -0
- package/dist/resources/tools/structured-output/request-types.js +5 -0
- package/dist/resources/tools/structured-output/resource-client.d.ts +9 -1
- package/dist/resources/tools/structured-output/resource-client.js +9 -1
- package/dist/resources/workflows/dispatch/index.d.ts +6 -0
- package/dist/resources/workflows/dispatch/index.js +6 -0
- package/dist/resources/workflows/dispatch/resource-client.d.ts +9 -1
- package/dist/resources/workflows/dispatch/resource-client.js +9 -1
- package/dist/resources/workflows/index.d.ts +9 -0
- package/dist/resources/workflows/index.js +9 -1
- package/dist/resources/workflows/invoke/index.d.ts +6 -0
- package/dist/resources/workflows/invoke/index.js +6 -0
- package/dist/resources/workflows/invoke/resource-client.d.ts +9 -1
- package/dist/resources/workflows/invoke/resource-client.js +9 -1
- package/dist/resources/workflows/request-types.d.ts +143 -0
- package/dist/resources/workflows/request-types.js +214 -0
- package/dist/resources/workflows/resource-client.d.ts +55 -1
- package/dist/resources/workflows/resource-client.js +155 -0
- package/dist/resources/workflows/runs/dispatch/index.d.ts +8 -0
- package/dist/resources/workflows/runs/dispatch/index.js +11 -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 +20 -0
- package/dist/resources/workflows/runs/dispatch/resource-client.js +33 -0
- package/dist/resources/workflows/runs/index.d.ts +9 -0
- package/dist/resources/workflows/runs/index.js +45 -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 +47 -0
- package/dist/resources/workflows/runs/resource-client.js +154 -0
- package/dist/resources/workflows/versions/index.d.ts +9 -0
- package/dist/resources/workflows/versions/index.js +45 -0
- package/dist/resources/workflows/versions/request-types.d.ts +174 -0
- package/dist/resources/workflows/versions/request-types.js +239 -0
- package/dist/resources/workflows/versions/resource-client.d.ts +55 -0
- package/dist/resources/workflows/versions/resource-client.js +162 -0
- package/dist/resources/workflows/versions/tasks/index.d.ts +5 -0
- package/dist/resources/workflows/versions/tasks/index.js +8 -0
- package/dist/resources/workflows/versions/tasks/request-types.d.ts +177 -0
- package/dist/resources/workflows/versions/tasks/request-types.js +241 -0
- package/dist/resources/workflows/versions/tasks/resource-client.d.ts +41 -0
- package/dist/resources/workflows/versions/tasks/resource-client.js +87 -0
- package/dist/resources/workspace/index.d.ts +5 -0
- package/dist/resources/workspace/index.js +42 -0
- package/dist/resources/workspace/resource-client.d.ts +10 -0
- package/dist/resources/workspace/resource-client.js +20 -0
- package/dist/resources/workspace/variables/index.d.ts +5 -0
- package/dist/resources/workspace/variables/index.js +8 -0
- package/dist/resources/workspace/variables/request-types.d.ts +96 -0
- package/dist/resources/workspace/variables/request-types.js +176 -0
- package/dist/resources/workspace/variables/resource-client.d.ts +41 -0
- package/dist/resources/workspace/variables/resource-client.js +162 -0
- package/dist/types/agent-create-body.d.ts +47 -0
- package/dist/types/agent-create-body.js +88 -0
- package/dist/types/agent-create-response-messages-item-role-enum.d.ts +7 -0
- package/dist/types/agent-create-response-messages-item-role-enum.js +5 -0
- package/dist/types/agent-create-response-messages-item.d.ts +24 -0
- package/dist/types/agent-create-response-messages-item.js +74 -0
- package/dist/types/agent-create-response.d.ts +41 -0
- package/dist/types/agent-create-response.js +83 -0
- package/dist/types/agent-history-list-response-chats-item.d.ts +30 -0
- package/dist/types/agent-history-list-response-chats-item.js +86 -0
- package/dist/types/agent-history-list-response.d.ts +23 -0
- package/dist/types/agent-history-list-response.js +71 -0
- package/dist/types/agent-list-response-messages-item-role-enum.d.ts +7 -0
- package/dist/types/agent-list-response-messages-item-role-enum.js +5 -0
- package/dist/types/agent-list-response-messages-item.d.ts +24 -0
- package/dist/types/agent-list-response-messages-item.js +74 -0
- package/dist/types/agent-list-response.d.ts +31 -0
- package/dist/types/agent-list-response.js +75 -0
- package/dist/types/feeds-create-body.d.ts +2 -6
- package/dist/types/feeds-create-body.js +4 -16
- package/dist/types/index.d.ts +92 -18
- package/dist/types/index.js +6 -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/tools-code-execution-create-body.d.ts +7 -2
- package/dist/types/tools-code-execution-create-body.js +4 -0
- package/dist/types/tools-format-create-body-params.d.ts +52 -0
- package/dist/types/tools-format-create-body-params.js +92 -0
- package/dist/types/tools-format-create-body.d.ts +5 -2
- package/dist/types/tools-format-create-body.js +5 -0
- package/dist/types/tools-internet-search-create-body-messages-item.d.ts +4 -4
- package/dist/types/tools-internet-search-create-body-messages-item.js +4 -4
- package/dist/types/tools-internet-search-create-body.d.ts +30 -0
- package/dist/types/tools-internet-search-create-body.js +24 -0
- package/dist/types/tools-standard-llm-create-body-messages-item.d.ts +4 -4
- package/dist/types/tools-standard-llm-create-body-messages-item.js +4 -4
- package/dist/types/tools-standard-llm-create-body.d.ts +32 -2
- package/dist/types/tools-standard-llm-create-body.js +24 -0
- package/dist/types/tools-structured-output-create-body-params.d.ts +52 -0
- package/dist/types/tools-structured-output-create-body-params.js +92 -0
- package/dist/types/tools-structured-output-create-body.d.ts +3 -0
- package/dist/types/tools-structured-output-create-body.js +5 -0
- package/dist/types/workflows-create-body.d.ts +37 -0
- package/dist/types/workflows-create-body.js +80 -0
- package/dist/types/workflows-create-response-versions-item.d.ts +67 -0
- package/dist/types/workflows-create-response-versions-item.js +104 -0
- package/dist/types/workflows-create-response.d.ts +63 -0
- package/dist/types/workflows-create-response.js +107 -0
- package/dist/types/workflows-delete-response.d.ts +62 -0
- package/dist/types/workflows-delete-response.js +100 -0
- package/dist/types/workflows-dispatch-create-body.d.ts +2 -2
- package/dist/types/workflows-dispatch-create-body.js +4 -4
- 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-tasks-item.d.ts +72 -0
- package/dist/types/workflows-versions-create-body-tasks-item.js +126 -0
- package/dist/types/workflows-versions-create-body.d.ts +43 -0
- package/dist/types/workflows-versions-create-body.js +85 -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-origin.d.ts +62 -0
- package/dist/types/workflows-versions-get-response-origin.js +100 -0
- package/dist/types/workflows-versions-get-response-tasks-item-tool.d.ts +26 -0
- package/dist/types/workflows-versions-get-response-tasks-item-tool.js +78 -0
- package/dist/types/workflows-versions-get-response-tasks-item.d.ts +73 -0
- package/dist/types/workflows-versions-get-response-tasks-item.js +129 -0
- package/dist/types/workflows-versions-get-response.d.ts +74 -0
- package/dist/types/workflows-versions-get-response.js +114 -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 +37 -0
- package/dist/types/workflows-versions-patch-body.js +80 -0
- package/dist/types/workflows-versions-patch-response.d.ts +67 -0
- package/dist/types/workflows-versions-patch-response.js +104 -0
- package/dist/types/workflows-versions-tasks-create-body.d.ts +52 -0
- package/dist/types/workflows-versions-tasks-create-body.js +92 -0
- package/dist/types/workflows-versions-tasks-create-response.d.ts +72 -0
- package/dist/types/workflows-versions-tasks-create-response.js +126 -0
- package/dist/types/workflows-versions-tasks-delete-response.d.ts +72 -0
- package/dist/types/workflows-versions-tasks-delete-response.js +126 -0
- package/dist/types/workflows-versions-tasks-get-response-tool.d.ts +26 -0
- package/dist/types/workflows-versions-tasks-get-response-tool.js +78 -0
- package/dist/types/workflows-versions-tasks-get-response.d.ts +73 -0
- package/dist/types/workflows-versions-tasks-get-response.js +129 -0
- package/dist/types/workflows-versions-tasks-patch-body-type-enum.d.ts +7 -0
- package/dist/types/workflows-versions-tasks-patch-body-type-enum.js +5 -0
- package/dist/types/workflows-versions-tasks-patch-body.d.ts +62 -0
- package/dist/types/workflows-versions-tasks-patch-body.js +112 -0
- package/dist/types/workflows-versions-tasks-patch-response.d.ts +72 -0
- package/dist/types/workflows-versions-tasks-patch-response.js +126 -0
- package/dist/types/workspace-variables-create-body.d.ts +32 -0
- package/dist/types/workspace-variables-create-body.js +90 -0
- package/dist/types/workspace-variables-create-response.d.ts +38 -0
- package/dist/types/workspace-variables-create-response.js +102 -0
- package/dist/types/workspace-variables-delete-body.d.ts +22 -0
- package/dist/types/workspace-variables-delete-body.js +70 -0
- package/dist/types/workspace-variables-delete-response.d.ts +26 -0
- package/dist/types/workspace-variables-delete-response.js +78 -0
- package/dist/types/workspace-variables-list-response-item.d.ts +38 -0
- package/dist/types/workspace-variables-list-response-item.js +102 -0
- package/dist/types/workspace-variables-patch-body.d.ts +34 -0
- package/dist/types/workspace-variables-patch-body.js +94 -0
- package/dist/types/workspace-variables-patch-response.d.ts +38 -0
- package/dist/types/workspace-variables-patch-response.js +102 -0
- package/package.json +2 -2
|
@@ -0,0 +1,92 @@
|
|
|
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$MemoryTablesGetResponse = 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 MemoryTablesGetResponse
|
|
44
|
+
*/
|
|
45
|
+
const SchemaIn$MemoryTablesGetResponse = z
|
|
46
|
+
.object({
|
|
47
|
+
created_at: z.string(),
|
|
48
|
+
description: z.string(),
|
|
49
|
+
id: z.string(),
|
|
50
|
+
name: z.string(),
|
|
51
|
+
schema: z.record(z.string(), make_api_request_js_1.zodRequiredAny.optional()),
|
|
52
|
+
user_id: z.string(),
|
|
53
|
+
})
|
|
54
|
+
.catchall(make_api_request_js_1.zodRequiredAny)
|
|
55
|
+
.transform((obj) => {
|
|
56
|
+
return (0, make_api_request_js_1.zodTransform)(obj, {
|
|
57
|
+
created_at: "createdAt",
|
|
58
|
+
description: "description",
|
|
59
|
+
id: "id",
|
|
60
|
+
name: "name",
|
|
61
|
+
schema: "schema",
|
|
62
|
+
user_id: "userId",
|
|
63
|
+
});
|
|
64
|
+
});
|
|
65
|
+
/**
|
|
66
|
+
* @internal
|
|
67
|
+
* Takes typescript data, validates it, and maps keys to match the expected external object External$MemoryTablesGetResponse
|
|
68
|
+
*/
|
|
69
|
+
const SchemaOut$MemoryTablesGetResponse = z
|
|
70
|
+
.object({
|
|
71
|
+
createdAt: z.string(),
|
|
72
|
+
description: z.string(),
|
|
73
|
+
id: z.string(),
|
|
74
|
+
name: z.string(),
|
|
75
|
+
schema: z.record(z.string(), make_api_request_js_1.zodRequiredAny.optional()),
|
|
76
|
+
userId: z.string(),
|
|
77
|
+
})
|
|
78
|
+
.catchall(make_api_request_js_1.zodRequiredAny)
|
|
79
|
+
.transform((obj) => {
|
|
80
|
+
return (0, make_api_request_js_1.zodTransform)(obj, {
|
|
81
|
+
createdAt: "created_at",
|
|
82
|
+
description: "description",
|
|
83
|
+
id: "id",
|
|
84
|
+
name: "name",
|
|
85
|
+
schema: "schema",
|
|
86
|
+
userId: "user_id",
|
|
87
|
+
});
|
|
88
|
+
});
|
|
89
|
+
exports.Schemas$MemoryTablesGetResponse = {
|
|
90
|
+
in: SchemaIn$MemoryTablesGetResponse,
|
|
91
|
+
out: SchemaOut$MemoryTablesGetResponse,
|
|
92
|
+
};
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Generated by Sideko (sideko.dev)
|
|
3
|
+
**/
|
|
4
|
+
import * as z from "zod";
|
|
5
|
+
/**
|
|
6
|
+
* MemoryTablesListResponseItem
|
|
7
|
+
*/
|
|
8
|
+
export type MemoryTablesListResponseItem = {
|
|
9
|
+
createdAt: string;
|
|
10
|
+
description: string;
|
|
11
|
+
id: string;
|
|
12
|
+
name: string;
|
|
13
|
+
/**
|
|
14
|
+
* JSON Schema defining the structure of rows in this table
|
|
15
|
+
*/
|
|
16
|
+
schema: Record<string, any | undefined>;
|
|
17
|
+
userId: string;
|
|
18
|
+
[additionalProperty: string]: string | string | string | string | Record<string, any | undefined> | string | any | null | undefined;
|
|
19
|
+
};
|
|
20
|
+
/**
|
|
21
|
+
* @internal
|
|
22
|
+
* MemoryTablesListResponseItem without any key transformation, this is what
|
|
23
|
+
* we expect to come in as network data
|
|
24
|
+
*/
|
|
25
|
+
export type External$MemoryTablesListResponseItem = {
|
|
26
|
+
created_at: string;
|
|
27
|
+
description: string;
|
|
28
|
+
id: string;
|
|
29
|
+
name: string;
|
|
30
|
+
schema: Record<string, any | undefined>;
|
|
31
|
+
user_id: string;
|
|
32
|
+
[additionalProperty: string]: string | string | string | string | Record<string, any | undefined> | string | External$MemoryTablesListResponseItem | null | undefined;
|
|
33
|
+
};
|
|
34
|
+
export declare const Schemas$MemoryTablesListResponseItem: {
|
|
35
|
+
in: z.ZodType<MemoryTablesListResponseItem, z.ZodTypeDef, unknown>;
|
|
36
|
+
out: z.ZodType<External$MemoryTablesListResponseItem, z.ZodTypeDef, MemoryTablesListResponseItem>;
|
|
37
|
+
};
|
|
@@ -0,0 +1,92 @@
|
|
|
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$MemoryTablesListResponseItem = 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 MemoryTablesListResponseItem
|
|
44
|
+
*/
|
|
45
|
+
const SchemaIn$MemoryTablesListResponseItem = z
|
|
46
|
+
.object({
|
|
47
|
+
created_at: z.string(),
|
|
48
|
+
description: z.string(),
|
|
49
|
+
id: z.string(),
|
|
50
|
+
name: z.string(),
|
|
51
|
+
schema: z.record(z.string(), make_api_request_js_1.zodRequiredAny.optional()),
|
|
52
|
+
user_id: z.string(),
|
|
53
|
+
})
|
|
54
|
+
.catchall(make_api_request_js_1.zodRequiredAny)
|
|
55
|
+
.transform((obj) => {
|
|
56
|
+
return (0, make_api_request_js_1.zodTransform)(obj, {
|
|
57
|
+
created_at: "createdAt",
|
|
58
|
+
description: "description",
|
|
59
|
+
id: "id",
|
|
60
|
+
name: "name",
|
|
61
|
+
schema: "schema",
|
|
62
|
+
user_id: "userId",
|
|
63
|
+
});
|
|
64
|
+
});
|
|
65
|
+
/**
|
|
66
|
+
* @internal
|
|
67
|
+
* Takes typescript data, validates it, and maps keys to match the expected external object External$MemoryTablesListResponseItem
|
|
68
|
+
*/
|
|
69
|
+
const SchemaOut$MemoryTablesListResponseItem = z
|
|
70
|
+
.object({
|
|
71
|
+
createdAt: z.string(),
|
|
72
|
+
description: z.string(),
|
|
73
|
+
id: z.string(),
|
|
74
|
+
name: z.string(),
|
|
75
|
+
schema: z.record(z.string(), make_api_request_js_1.zodRequiredAny.optional()),
|
|
76
|
+
userId: z.string(),
|
|
77
|
+
})
|
|
78
|
+
.catchall(make_api_request_js_1.zodRequiredAny)
|
|
79
|
+
.transform((obj) => {
|
|
80
|
+
return (0, make_api_request_js_1.zodTransform)(obj, {
|
|
81
|
+
createdAt: "created_at",
|
|
82
|
+
description: "description",
|
|
83
|
+
id: "id",
|
|
84
|
+
name: "name",
|
|
85
|
+
schema: "schema",
|
|
86
|
+
userId: "user_id",
|
|
87
|
+
});
|
|
88
|
+
});
|
|
89
|
+
exports.Schemas$MemoryTablesListResponseItem = {
|
|
90
|
+
in: SchemaIn$MemoryTablesListResponseItem,
|
|
91
|
+
out: SchemaOut$MemoryTablesListResponseItem,
|
|
92
|
+
};
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Generated by Sideko (sideko.dev)
|
|
3
|
+
**/
|
|
4
|
+
import * as z from "zod";
|
|
5
|
+
/**
|
|
6
|
+
* The mutation to execute
|
|
7
|
+
*/
|
|
8
|
+
export type MemoryTablesMutateCreateBodyMutation = {
|
|
9
|
+
/**
|
|
10
|
+
* The data to insert, update, or upsert
|
|
11
|
+
*/
|
|
12
|
+
data: Record<string, any | undefined>;
|
|
13
|
+
/**
|
|
14
|
+
* The type of the mutation
|
|
15
|
+
*/
|
|
16
|
+
type: "create" | "delete" | "update" | "upsert";
|
|
17
|
+
/**
|
|
18
|
+
* The where clause to filter rows for update or delete
|
|
19
|
+
*/
|
|
20
|
+
where?: Record<string, any | undefined> | undefined;
|
|
21
|
+
[additionalProperty: string]: Record<string, any | undefined> | ("create" | "delete" | "update" | "upsert") | (Record<string, any | undefined> | undefined) | any | null | undefined;
|
|
22
|
+
};
|
|
23
|
+
/**
|
|
24
|
+
* @internal
|
|
25
|
+
* MemoryTablesMutateCreateBodyMutation without any key transformation, this is what
|
|
26
|
+
* we expect to come in as network data
|
|
27
|
+
*/
|
|
28
|
+
export type External$MemoryTablesMutateCreateBodyMutation = {
|
|
29
|
+
data: Record<string, any | undefined>;
|
|
30
|
+
type: "create" | "delete" | "update" | "upsert";
|
|
31
|
+
where?: Record<string, any | undefined> | undefined;
|
|
32
|
+
[additionalProperty: string]: Record<string, any | undefined> | ("create" | "delete" | "update" | "upsert") | (Record<string, any | undefined> | undefined) | External$MemoryTablesMutateCreateBodyMutation | null | undefined;
|
|
33
|
+
};
|
|
34
|
+
export declare const Schemas$MemoryTablesMutateCreateBodyMutation: {
|
|
35
|
+
in: z.ZodType<MemoryTablesMutateCreateBodyMutation, z.ZodTypeDef, unknown>;
|
|
36
|
+
out: z.ZodType<External$MemoryTablesMutateCreateBodyMutation, z.ZodTypeDef, MemoryTablesMutateCreateBodyMutation>;
|
|
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$MemoryTablesMutateCreateBodyMutation = 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 MemoryTablesMutateCreateBodyMutation
|
|
44
|
+
*/
|
|
45
|
+
const SchemaIn$MemoryTablesMutateCreateBodyMutation = z
|
|
46
|
+
.object({
|
|
47
|
+
data: z.record(z.string(), make_api_request_js_1.zodRequiredAny.optional()),
|
|
48
|
+
type: z.enum(["create", "delete", "update", "upsert"]),
|
|
49
|
+
where: z.record(z.string(), make_api_request_js_1.zodRequiredAny.optional()).optional(),
|
|
50
|
+
})
|
|
51
|
+
.catchall(make_api_request_js_1.zodRequiredAny)
|
|
52
|
+
.transform((obj) => {
|
|
53
|
+
return (0, make_api_request_js_1.zodTransform)(obj, {
|
|
54
|
+
data: "data",
|
|
55
|
+
type: "type",
|
|
56
|
+
where: "where",
|
|
57
|
+
});
|
|
58
|
+
});
|
|
59
|
+
/**
|
|
60
|
+
* @internal
|
|
61
|
+
* Takes typescript data, validates it, and maps keys to match the expected external object External$MemoryTablesMutateCreateBodyMutation
|
|
62
|
+
*/
|
|
63
|
+
const SchemaOut$MemoryTablesMutateCreateBodyMutation = z
|
|
64
|
+
.object({
|
|
65
|
+
data: z.record(z.string(), make_api_request_js_1.zodRequiredAny.optional()),
|
|
66
|
+
type: z.enum(["create", "delete", "update", "upsert"]),
|
|
67
|
+
where: z.record(z.string(), make_api_request_js_1.zodRequiredAny.optional()).optional(),
|
|
68
|
+
})
|
|
69
|
+
.catchall(make_api_request_js_1.zodRequiredAny)
|
|
70
|
+
.transform((obj) => {
|
|
71
|
+
return (0, make_api_request_js_1.zodTransform)(obj, {
|
|
72
|
+
data: "data",
|
|
73
|
+
type: "type",
|
|
74
|
+
where: "where",
|
|
75
|
+
});
|
|
76
|
+
});
|
|
77
|
+
exports.Schemas$MemoryTablesMutateCreateBodyMutation = {
|
|
78
|
+
in: SchemaIn$MemoryTablesMutateCreateBodyMutation,
|
|
79
|
+
out: SchemaOut$MemoryTablesMutateCreateBodyMutation,
|
|
80
|
+
};
|
|
@@ -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
|
+
};
|