@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
|
@@ -4,6 +4,12 @@
|
|
|
4
4
|
import { ApiPromise, CoreClient, CoreResourceClient, RequestOptions, ResourceClientOptions } from "make-api-request-js";
|
|
5
5
|
import * as requests from "../../../../resources/integrations/api/operations/request-types";
|
|
6
6
|
import * as types from "../../../../types";
|
|
7
|
+
/**
|
|
8
|
+
* Generated by Sideko (sideko.dev)
|
|
9
|
+
**/
|
|
10
|
+
/**
|
|
11
|
+
* Generated by Sideko (sideko.dev)
|
|
12
|
+
**/
|
|
7
13
|
/**
|
|
8
14
|
* Generated by Sideko (sideko.dev)
|
|
9
15
|
**/
|
|
@@ -12,24 +18,32 @@ export declare class OperationsClient extends CoreResourceClient {
|
|
|
12
18
|
/**
|
|
13
19
|
* Delete an API operation
|
|
14
20
|
*
|
|
21
|
+
* Delete an API operation by its ID.
|
|
22
|
+
*
|
|
15
23
|
* DELETE /integrations/api/{id}/operations/{operationId}
|
|
16
24
|
*/
|
|
17
25
|
delete(request: requests.DeleteRequest, opts?: RequestOptions): ApiPromise<types.IntegrationsApiOperationsDeleteResponse>;
|
|
18
26
|
/**
|
|
19
27
|
* Get an API operation by ID
|
|
20
28
|
*
|
|
29
|
+
* Retrieve a single API operation by its ID.
|
|
30
|
+
*
|
|
21
31
|
* GET /integrations/api/{id}/operations/{operationId}
|
|
22
32
|
*/
|
|
23
33
|
get(request: requests.GetRequest, opts?: RequestOptions): ApiPromise<types.IntegrationsApiOperationsGetResponse>;
|
|
24
34
|
/**
|
|
25
35
|
* Update an API operation
|
|
26
36
|
*
|
|
37
|
+
* Update an existing API operation by its ID.
|
|
38
|
+
*
|
|
27
39
|
* PATCH /integrations/api/{id}/operations/{operationId}
|
|
28
40
|
*/
|
|
29
41
|
patch(request: requests.PatchRequest, opts?: RequestOptions): ApiPromise<types.IntegrationsApiOperationsPatchResponse>;
|
|
30
42
|
/**
|
|
31
43
|
* Create a new API operation
|
|
32
44
|
*
|
|
45
|
+
* Create a new API operation under the specified API integration.
|
|
46
|
+
*
|
|
33
47
|
* POST /integrations/api/{id}/operations
|
|
34
48
|
*/
|
|
35
49
|
create(request: requests.CreateRequest, opts?: RequestOptions): ApiPromise<types.IntegrationsApiOperationsCreateResponse>;
|
|
@@ -11,6 +11,12 @@ const integrations_api_operations_delete_response_1 = require("../../../../types
|
|
|
11
11
|
const integrations_api_operations_get_response_1 = require("../../../../types/integrations-api-operations-get-response");
|
|
12
12
|
const integrations_api_operations_patch_body_1 = require("../../../../types/integrations-api-operations-patch-body");
|
|
13
13
|
const integrations_api_operations_patch_response_1 = require("../../../../types/integrations-api-operations-patch-response");
|
|
14
|
+
/**
|
|
15
|
+
* Generated by Sideko (sideko.dev)
|
|
16
|
+
**/
|
|
17
|
+
/**
|
|
18
|
+
* Generated by Sideko (sideko.dev)
|
|
19
|
+
**/
|
|
14
20
|
/**
|
|
15
21
|
* Generated by Sideko (sideko.dev)
|
|
16
22
|
**/
|
|
@@ -21,6 +27,8 @@ class OperationsClient extends make_api_request_js_1.CoreResourceClient {
|
|
|
21
27
|
/**
|
|
22
28
|
* Delete an API operation
|
|
23
29
|
*
|
|
30
|
+
* Delete an API operation by its ID.
|
|
31
|
+
*
|
|
24
32
|
* DELETE /integrations/api/{id}/operations/{operationId}
|
|
25
33
|
*/
|
|
26
34
|
delete(request, opts) {
|
|
@@ -35,6 +43,8 @@ class OperationsClient extends make_api_request_js_1.CoreResourceClient {
|
|
|
35
43
|
/**
|
|
36
44
|
* Get an API operation by ID
|
|
37
45
|
*
|
|
46
|
+
* Retrieve a single API operation by its ID.
|
|
47
|
+
*
|
|
38
48
|
* GET /integrations/api/{id}/operations/{operationId}
|
|
39
49
|
*/
|
|
40
50
|
get(request, opts) {
|
|
@@ -49,6 +59,8 @@ class OperationsClient extends make_api_request_js_1.CoreResourceClient {
|
|
|
49
59
|
/**
|
|
50
60
|
* Update an API operation
|
|
51
61
|
*
|
|
62
|
+
* Update an existing API operation by its ID.
|
|
63
|
+
*
|
|
52
64
|
* PATCH /integrations/api/{id}/operations/{operationId}
|
|
53
65
|
*/
|
|
54
66
|
patch(request, opts) {
|
|
@@ -67,6 +79,8 @@ class OperationsClient extends make_api_request_js_1.CoreResourceClient {
|
|
|
67
79
|
/**
|
|
68
80
|
* Create a new API operation
|
|
69
81
|
*
|
|
82
|
+
* Create a new API operation under the specified API integration.
|
|
83
|
+
*
|
|
70
84
|
* POST /integrations/api/{id}/operations
|
|
71
85
|
*/
|
|
72
86
|
create(request, opts) {
|
|
@@ -6,6 +6,12 @@ import { OperationsClient } from "../../../resources/integrations/api/operations
|
|
|
6
6
|
import * as requests from "../../../resources/integrations/api/request-types";
|
|
7
7
|
import { SecretsClient } from "../../../resources/integrations/api/secrets";
|
|
8
8
|
import * as types from "../../../types";
|
|
9
|
+
/**
|
|
10
|
+
* Generated by Sideko (sideko.dev)
|
|
11
|
+
**/
|
|
12
|
+
/**
|
|
13
|
+
* Generated by Sideko (sideko.dev)
|
|
14
|
+
**/
|
|
9
15
|
/**
|
|
10
16
|
* Generated by Sideko (sideko.dev)
|
|
11
17
|
**/
|
|
@@ -18,18 +24,24 @@ export declare class ApiClient extends CoreResourceClient {
|
|
|
18
24
|
/**
|
|
19
25
|
* Delete an API integration
|
|
20
26
|
*
|
|
27
|
+
* Delete an API integration by its ID.
|
|
28
|
+
*
|
|
21
29
|
* DELETE /integrations/api/{id}
|
|
22
30
|
*/
|
|
23
31
|
delete(request: requests.DeleteRequest, opts?: RequestOptions): ApiPromise<types.IntegrationsApiDeleteResponse>;
|
|
24
32
|
/**
|
|
25
33
|
* Get an API integration by ID
|
|
26
34
|
*
|
|
35
|
+
* Retrieve a single API integration by its ID.
|
|
36
|
+
*
|
|
27
37
|
* GET /integrations/api/{id}
|
|
28
38
|
*/
|
|
29
39
|
get(request: requests.GetRequest, opts?: RequestOptions): ApiPromise<types.IntegrationsApiGetResponse>;
|
|
30
40
|
/**
|
|
31
41
|
* Create a new API integration
|
|
32
42
|
*
|
|
43
|
+
* Create a new API integration for the authenticated user.
|
|
44
|
+
*
|
|
33
45
|
* POST /integrations/api
|
|
34
46
|
*/
|
|
35
47
|
create(request?: requests.CreateRequest, opts?: RequestOptions): ApiPromise<types.IntegrationsApiCreateResponse>;
|
|
@@ -9,6 +9,12 @@ const integrations_api_create_body_1 = require("../../../types/integrations-api-
|
|
|
9
9
|
const integrations_api_create_response_1 = require("../../../types/integrations-api-create-response");
|
|
10
10
|
const integrations_api_delete_response_1 = require("../../../types/integrations-api-delete-response");
|
|
11
11
|
const integrations_api_get_response_1 = require("../../../types/integrations-api-get-response");
|
|
12
|
+
/**
|
|
13
|
+
* Generated by Sideko (sideko.dev)
|
|
14
|
+
**/
|
|
15
|
+
/**
|
|
16
|
+
* Generated by Sideko (sideko.dev)
|
|
17
|
+
**/
|
|
12
18
|
/**
|
|
13
19
|
* Generated by Sideko (sideko.dev)
|
|
14
20
|
**/
|
|
@@ -31,6 +37,8 @@ class ApiClient extends make_api_request_js_1.CoreResourceClient {
|
|
|
31
37
|
/**
|
|
32
38
|
* Delete an API integration
|
|
33
39
|
*
|
|
40
|
+
* Delete an API integration by its ID.
|
|
41
|
+
*
|
|
34
42
|
* DELETE /integrations/api/{id}
|
|
35
43
|
*/
|
|
36
44
|
delete(request, opts) {
|
|
@@ -45,6 +53,8 @@ class ApiClient extends make_api_request_js_1.CoreResourceClient {
|
|
|
45
53
|
/**
|
|
46
54
|
* Get an API integration by ID
|
|
47
55
|
*
|
|
56
|
+
* Retrieve a single API integration by its ID.
|
|
57
|
+
*
|
|
48
58
|
* GET /integrations/api/{id}
|
|
49
59
|
*/
|
|
50
60
|
get(request, opts) {
|
|
@@ -59,6 +69,8 @@ class ApiClient extends make_api_request_js_1.CoreResourceClient {
|
|
|
59
69
|
/**
|
|
60
70
|
* Create a new API integration
|
|
61
71
|
*
|
|
72
|
+
* Create a new API integration for the authenticated user.
|
|
73
|
+
*
|
|
62
74
|
* POST /integrations/api
|
|
63
75
|
*/
|
|
64
76
|
create(request = {}, opts) {
|
|
@@ -4,6 +4,12 @@
|
|
|
4
4
|
import { ApiPromise, CoreClient, CoreResourceClient, RequestOptions, ResourceClientOptions } from "make-api-request-js";
|
|
5
5
|
import * as requests from "../../../../resources/integrations/api/secrets/request-types";
|
|
6
6
|
import * as types from "../../../../types";
|
|
7
|
+
/**
|
|
8
|
+
* Generated by Sideko (sideko.dev)
|
|
9
|
+
**/
|
|
10
|
+
/**
|
|
11
|
+
* Generated by Sideko (sideko.dev)
|
|
12
|
+
**/
|
|
7
13
|
/**
|
|
8
14
|
* Generated by Sideko (sideko.dev)
|
|
9
15
|
**/
|
|
@@ -12,18 +18,24 @@ export declare class SecretsClient extends CoreResourceClient {
|
|
|
12
18
|
/**
|
|
13
19
|
* Delete an API secret
|
|
14
20
|
*
|
|
21
|
+
* Delete an API secret from the specified API integration.
|
|
22
|
+
*
|
|
15
23
|
* DELETE /integrations/api/{id}/secrets/{secretId}
|
|
16
24
|
*/
|
|
17
25
|
delete(request: requests.DeleteRequest, opts?: RequestOptions): ApiPromise<types.IntegrationsApiSecretsDeleteResponse>;
|
|
18
26
|
/**
|
|
19
27
|
* Get all API secrets for an API integration
|
|
20
28
|
*
|
|
29
|
+
* Retrieve all API secrets configured for the specified API integration.
|
|
30
|
+
*
|
|
21
31
|
* GET /integrations/api/{id}/secrets
|
|
22
32
|
*/
|
|
23
33
|
list(request: requests.ListRequest, opts?: RequestOptions): ApiPromise<types.IntegrationsApiSecretsListResponseItem[]>;
|
|
24
34
|
/**
|
|
25
35
|
* Create a new API secret
|
|
26
36
|
*
|
|
37
|
+
* Create and encrypt a new API secret for the specified API integration.
|
|
38
|
+
*
|
|
27
39
|
* POST /integrations/api/{id}/secrets
|
|
28
40
|
*/
|
|
29
41
|
create(request: requests.CreateRequest, opts?: RequestOptions): ApiPromise<types.IntegrationsApiSecretsCreateResponse>;
|
|
@@ -43,6 +43,12 @@ const integrations_api_secrets_create_body_1 = require("../../../../types/integr
|
|
|
43
43
|
const integrations_api_secrets_create_response_1 = require("../../../../types/integrations-api-secrets-create-response");
|
|
44
44
|
const integrations_api_secrets_delete_response_1 = require("../../../../types/integrations-api-secrets-delete-response");
|
|
45
45
|
const integrations_api_secrets_list_response_item_1 = require("../../../../types/integrations-api-secrets-list-response-item");
|
|
46
|
+
/**
|
|
47
|
+
* Generated by Sideko (sideko.dev)
|
|
48
|
+
**/
|
|
49
|
+
/**
|
|
50
|
+
* Generated by Sideko (sideko.dev)
|
|
51
|
+
**/
|
|
46
52
|
/**
|
|
47
53
|
* Generated by Sideko (sideko.dev)
|
|
48
54
|
**/
|
|
@@ -53,6 +59,8 @@ class SecretsClient extends make_api_request_js_1.CoreResourceClient {
|
|
|
53
59
|
/**
|
|
54
60
|
* Delete an API secret
|
|
55
61
|
*
|
|
62
|
+
* Delete an API secret from the specified API integration.
|
|
63
|
+
*
|
|
56
64
|
* DELETE /integrations/api/{id}/secrets/{secretId}
|
|
57
65
|
*/
|
|
58
66
|
delete(request, opts) {
|
|
@@ -67,6 +75,8 @@ class SecretsClient extends make_api_request_js_1.CoreResourceClient {
|
|
|
67
75
|
/**
|
|
68
76
|
* Get all API secrets for an API integration
|
|
69
77
|
*
|
|
78
|
+
* Retrieve all API secrets configured for the specified API integration.
|
|
79
|
+
*
|
|
70
80
|
* GET /integrations/api/{id}/secrets
|
|
71
81
|
*/
|
|
72
82
|
list(request, opts) {
|
|
@@ -81,6 +91,8 @@ class SecretsClient extends make_api_request_js_1.CoreResourceClient {
|
|
|
81
91
|
/**
|
|
82
92
|
* Create a new API secret
|
|
83
93
|
*
|
|
94
|
+
* Create and encrypt a new API secret for the specified API integration.
|
|
95
|
+
*
|
|
84
96
|
* POST /integrations/api/{id}/secrets
|
|
85
97
|
*/
|
|
86
98
|
create(request, opts) {
|
|
@@ -3,6 +3,12 @@
|
|
|
3
3
|
**/
|
|
4
4
|
import { CoreClient, CoreResourceClient, ResourceClientOptions } from "make-api-request-js";
|
|
5
5
|
import { ApiClient } from "../../resources/integrations/api";
|
|
6
|
+
/**
|
|
7
|
+
* Generated by Sideko (sideko.dev)
|
|
8
|
+
**/
|
|
9
|
+
/**
|
|
10
|
+
* Generated by Sideko (sideko.dev)
|
|
11
|
+
**/
|
|
6
12
|
/**
|
|
7
13
|
* Generated by Sideko (sideko.dev)
|
|
8
14
|
**/
|
|
@@ -5,6 +5,12 @@
|
|
|
5
5
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
6
|
exports.IntegrationsClient = void 0;
|
|
7
7
|
const make_api_request_js_1 = require("make-api-request-js");
|
|
8
|
+
/**
|
|
9
|
+
* Generated by Sideko (sideko.dev)
|
|
10
|
+
**/
|
|
11
|
+
/**
|
|
12
|
+
* Generated by Sideko (sideko.dev)
|
|
13
|
+
**/
|
|
8
14
|
/**
|
|
9
15
|
* Generated by Sideko (sideko.dev)
|
|
10
16
|
**/
|
|
@@ -0,0 +1,45 @@
|
|
|
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.tables = exports.MemoryClient = void 0;
|
|
40
|
+
var resource_client_1 = require("./resource-client");
|
|
41
|
+
Object.defineProperty(exports, "MemoryClient", { enumerable: true, get: function () { return resource_client_1.MemoryClient; } });
|
|
42
|
+
exports.tables = __importStar(require("./tables"));
|
|
43
|
+
/**
|
|
44
|
+
* Generated by Sideko (sideko.dev)
|
|
45
|
+
**/
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Generated by Sideko (sideko.dev)
|
|
3
|
+
**/
|
|
4
|
+
import { CoreClient, CoreResourceClient, ResourceClientOptions } from "make-api-request-js";
|
|
5
|
+
import { TablesClient } from "../../resources/memory/tables";
|
|
6
|
+
/**
|
|
7
|
+
* Generated by Sideko (sideko.dev)
|
|
8
|
+
**/
|
|
9
|
+
export declare class MemoryClient extends CoreResourceClient {
|
|
10
|
+
private _tablesLazy?;
|
|
11
|
+
constructor(coreClient: CoreClient, opts: ResourceClientOptions);
|
|
12
|
+
get tables(): TablesClient;
|
|
13
|
+
}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* Generated by Sideko (sideko.dev)
|
|
4
|
+
**/
|
|
5
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
+
exports.MemoryClient = void 0;
|
|
7
|
+
const make_api_request_js_1 = require("make-api-request-js");
|
|
8
|
+
/**
|
|
9
|
+
* Generated by Sideko (sideko.dev)
|
|
10
|
+
**/
|
|
11
|
+
class MemoryClient extends make_api_request_js_1.CoreResourceClient {
|
|
12
|
+
constructor(coreClient, opts) {
|
|
13
|
+
super(coreClient, opts);
|
|
14
|
+
if (this._opts.lazyLoad === false) {
|
|
15
|
+
this.tables;
|
|
16
|
+
}
|
|
17
|
+
}
|
|
18
|
+
get tables() {
|
|
19
|
+
var _a;
|
|
20
|
+
return ((_a = this._tablesLazy) !== null && _a !== void 0 ? _a : (this._tablesLazy = new (require("./tables").TablesClient)(this._client, this._opts)));
|
|
21
|
+
}
|
|
22
|
+
}
|
|
23
|
+
exports.MemoryClient = MemoryClient;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Generated by Sideko (sideko.dev)
|
|
3
|
+
**/
|
|
4
|
+
export * as mutate from "./mutate";
|
|
5
|
+
export * as query from "./query";
|
|
6
|
+
export { CreateRequest, DeleteRequest, GetRequest, ListRequest, } from "./request-types";
|
|
7
|
+
export { TablesClient } from "./resource-client";
|
|
8
|
+
/**
|
|
9
|
+
* Generated by Sideko (sideko.dev)
|
|
10
|
+
**/
|
|
@@ -0,0 +1,46 @@
|
|
|
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.TablesClient = exports.query = exports.mutate = void 0;
|
|
40
|
+
exports.mutate = __importStar(require("./mutate"));
|
|
41
|
+
exports.query = __importStar(require("./query"));
|
|
42
|
+
var resource_client_1 = require("./resource-client");
|
|
43
|
+
Object.defineProperty(exports, "TablesClient", { enumerable: true, get: function () { return resource_client_1.TablesClient; } });
|
|
44
|
+
/**
|
|
45
|
+
* Generated by Sideko (sideko.dev)
|
|
46
|
+
**/
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* Generated by Sideko (sideko.dev)
|
|
4
|
+
**/
|
|
5
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
+
exports.MutateClient = void 0;
|
|
7
|
+
var resource_client_1 = require("./resource-client");
|
|
8
|
+
Object.defineProperty(exports, "MutateClient", { enumerable: true, get: function () { return resource_client_1.MutateClient; } });
|
|
9
|
+
/**
|
|
10
|
+
* Generated by Sideko (sideko.dev)
|
|
11
|
+
**/
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Generated by Sideko (sideko.dev)
|
|
3
|
+
**/
|
|
4
|
+
import * as z from "zod";
|
|
5
|
+
import { External$MemoryTablesMutateCreateBodyMutation, MemoryTablesMutateCreateBodyMutation } from "../../../../types/memory-tables-mutate-create-body-mutation";
|
|
6
|
+
/**
|
|
7
|
+
* CreateRequest
|
|
8
|
+
*/
|
|
9
|
+
export type CreateRequest = {
|
|
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
|
+
* CreateRequest without any key transformation, this is what
|
|
23
|
+
* we expect to come in as network data
|
|
24
|
+
*/
|
|
25
|
+
export type External$CreateRequest = {
|
|
26
|
+
mutation: External$MemoryTablesMutateCreateBodyMutation;
|
|
27
|
+
table_id: string;
|
|
28
|
+
[additionalProperty: string]: External$MemoryTablesMutateCreateBodyMutation | string | External$CreateRequest | null | undefined;
|
|
29
|
+
};
|
|
30
|
+
export declare const Schemas$CreateRequest: {
|
|
31
|
+
in: z.ZodType<CreateRequest, z.ZodTypeDef, unknown>;
|
|
32
|
+
out: z.ZodType<External$CreateRequest, z.ZodTypeDef, CreateRequest>;
|
|
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$CreateRequest = 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("../../../../types/memory-tables-mutate-create-body-mutation");
|
|
43
|
+
/**
|
|
44
|
+
* Takes network data, validates it, and transforms keys to match typescript object CreateRequest
|
|
45
|
+
*/
|
|
46
|
+
const SchemaIn$CreateRequest = 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$CreateRequest
|
|
61
|
+
*/
|
|
62
|
+
const SchemaOut$CreateRequest = 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$CreateRequest = {
|
|
75
|
+
in: SchemaIn$CreateRequest,
|
|
76
|
+
out: SchemaOut$CreateRequest,
|
|
77
|
+
};
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Generated by Sideko (sideko.dev)
|
|
3
|
+
**/
|
|
4
|
+
import { ApiPromise, CoreClient, CoreResourceClient, RequestOptions, ResourceClientOptions } from "make-api-request-js";
|
|
5
|
+
import * as requests from "../../../../resources/memory/tables/mutate/request-types";
|
|
6
|
+
import * as types from "../../../../types";
|
|
7
|
+
/**
|
|
8
|
+
* Generated by Sideko (sideko.dev)
|
|
9
|
+
**/
|
|
10
|
+
export declare class MutateClient extends CoreResourceClient {
|
|
11
|
+
constructor(coreClient: CoreClient, opts: ResourceClientOptions);
|
|
12
|
+
/**
|
|
13
|
+
* Mutate a memory table
|
|
14
|
+
*
|
|
15
|
+
* Execute a mutation (create, update, upsert, or delete) against a memory table.
|
|
16
|
+
*
|
|
17
|
+
* POST /memory/tables/mutate
|
|
18
|
+
*/
|
|
19
|
+
create(request: requests.CreateRequest, opts?: RequestOptions): ApiPromise<types.MemoryTablesMutateCreateResponse>;
|
|
20
|
+
}
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* Generated by Sideko (sideko.dev)
|
|
4
|
+
**/
|
|
5
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
+
exports.MutateClient = void 0;
|
|
7
|
+
const make_api_request_js_1 = require("make-api-request-js");
|
|
8
|
+
const memory_tables_mutate_create_body_1 = require("../../../../types/memory-tables-mutate-create-body");
|
|
9
|
+
const memory_tables_mutate_create_response_1 = require("../../../../types/memory-tables-mutate-create-response");
|
|
10
|
+
/**
|
|
11
|
+
* Generated by Sideko (sideko.dev)
|
|
12
|
+
**/
|
|
13
|
+
class MutateClient extends make_api_request_js_1.CoreResourceClient {
|
|
14
|
+
constructor(coreClient, opts) {
|
|
15
|
+
super(coreClient, opts);
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* Mutate a memory table
|
|
19
|
+
*
|
|
20
|
+
* Execute a mutation (create, update, upsert, or delete) against a memory table.
|
|
21
|
+
*
|
|
22
|
+
* POST /memory/tables/mutate
|
|
23
|
+
*/
|
|
24
|
+
create(request, opts) {
|
|
25
|
+
return this._client.makeRequest({
|
|
26
|
+
method: "post",
|
|
27
|
+
path: "/memory/tables/mutate",
|
|
28
|
+
auth: ["ApiKeyAuth", "BearerAuth"],
|
|
29
|
+
contentType: "application/json",
|
|
30
|
+
body: memory_tables_mutate_create_body_1.Schemas$MemoryTablesMutateCreateBody.out.parse(request),
|
|
31
|
+
responseSchema: memory_tables_mutate_create_response_1.Schemas$MemoryTablesMutateCreateResponse.in,
|
|
32
|
+
opts,
|
|
33
|
+
});
|
|
34
|
+
}
|
|
35
|
+
}
|
|
36
|
+
exports.MutateClient = MutateClient;
|