@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,107 @@
|
|
|
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$WorkflowsCreateResponse = void 0;
|
|
40
|
+
const make_api_request_js_1 = require("make-api-request-js");
|
|
41
|
+
const z = __importStar(require("zod"));
|
|
42
|
+
const workflows_create_response_versions_item_1 = require("./workflows-create-response-versions-item");
|
|
43
|
+
/**
|
|
44
|
+
* Takes network data, validates it, and transforms keys to match typescript object WorkflowsCreateResponse
|
|
45
|
+
*/
|
|
46
|
+
const SchemaIn$WorkflowsCreateResponse = z
|
|
47
|
+
.object({
|
|
48
|
+
created_at: z.string().optional(),
|
|
49
|
+
description: z.string().optional(),
|
|
50
|
+
id: z.string().optional(),
|
|
51
|
+
name: z.string().optional(),
|
|
52
|
+
origin_id: z.string().nullable().optional(),
|
|
53
|
+
updated_at: z.string().optional(),
|
|
54
|
+
user_id: z.string().optional(),
|
|
55
|
+
versions: z
|
|
56
|
+
.array(workflows_create_response_versions_item_1.Schemas$WorkflowsCreateResponseVersionsItem.in)
|
|
57
|
+
.optional(),
|
|
58
|
+
workflow_id: z.string().optional(),
|
|
59
|
+
})
|
|
60
|
+
.transform((obj) => {
|
|
61
|
+
return (0, make_api_request_js_1.zodTransform)(obj, {
|
|
62
|
+
created_at: "createdAt",
|
|
63
|
+
description: "description",
|
|
64
|
+
id: "id",
|
|
65
|
+
name: "name",
|
|
66
|
+
origin_id: "originId",
|
|
67
|
+
updated_at: "updatedAt",
|
|
68
|
+
user_id: "userId",
|
|
69
|
+
versions: "versions",
|
|
70
|
+
workflow_id: "workflowId",
|
|
71
|
+
});
|
|
72
|
+
});
|
|
73
|
+
/**
|
|
74
|
+
* @internal
|
|
75
|
+
* Takes typescript data, validates it, and maps keys to match the expected external object External$WorkflowsCreateResponse
|
|
76
|
+
*/
|
|
77
|
+
const SchemaOut$WorkflowsCreateResponse = z
|
|
78
|
+
.object({
|
|
79
|
+
createdAt: z.string().optional(),
|
|
80
|
+
description: z.string().optional(),
|
|
81
|
+
id: z.string().optional(),
|
|
82
|
+
name: z.string().optional(),
|
|
83
|
+
originId: z.string().nullable().optional(),
|
|
84
|
+
updatedAt: z.string().optional(),
|
|
85
|
+
userId: z.string().optional(),
|
|
86
|
+
versions: z
|
|
87
|
+
.array(workflows_create_response_versions_item_1.Schemas$WorkflowsCreateResponseVersionsItem.out)
|
|
88
|
+
.optional(),
|
|
89
|
+
workflowId: z.string().optional(),
|
|
90
|
+
})
|
|
91
|
+
.transform((obj) => {
|
|
92
|
+
return (0, make_api_request_js_1.zodTransform)(obj, {
|
|
93
|
+
createdAt: "created_at",
|
|
94
|
+
description: "description",
|
|
95
|
+
id: "id",
|
|
96
|
+
name: "name",
|
|
97
|
+
originId: "origin_id",
|
|
98
|
+
updatedAt: "updated_at",
|
|
99
|
+
userId: "user_id",
|
|
100
|
+
versions: "versions",
|
|
101
|
+
workflowId: "workflow_id",
|
|
102
|
+
});
|
|
103
|
+
});
|
|
104
|
+
exports.Schemas$WorkflowsCreateResponse = {
|
|
105
|
+
in: SchemaIn$WorkflowsCreateResponse,
|
|
106
|
+
out: SchemaOut$WorkflowsCreateResponse,
|
|
107
|
+
};
|
|
@@ -0,0 +1,62 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Generated by Sideko (sideko.dev)
|
|
3
|
+
**/
|
|
4
|
+
import * as z from "zod";
|
|
5
|
+
/**
|
|
6
|
+
* WorkflowsDeleteResponse
|
|
7
|
+
*/
|
|
8
|
+
export type WorkflowsDeleteResponse = {
|
|
9
|
+
/**
|
|
10
|
+
* Creation timestamp
|
|
11
|
+
*/
|
|
12
|
+
createdAt: string;
|
|
13
|
+
/**
|
|
14
|
+
* Description of the workflow
|
|
15
|
+
*/
|
|
16
|
+
description: string;
|
|
17
|
+
/**
|
|
18
|
+
* Unique identifier for the workflow origin
|
|
19
|
+
*/
|
|
20
|
+
id: string;
|
|
21
|
+
/**
|
|
22
|
+
* Name of the workflow
|
|
23
|
+
*/
|
|
24
|
+
name: string;
|
|
25
|
+
/**
|
|
26
|
+
* Parent origin ID if this is a fork
|
|
27
|
+
*/
|
|
28
|
+
originId?: string | null | undefined;
|
|
29
|
+
/**
|
|
30
|
+
* Last update timestamp
|
|
31
|
+
*/
|
|
32
|
+
updatedAt: string;
|
|
33
|
+
/**
|
|
34
|
+
* User ID of the owner
|
|
35
|
+
*/
|
|
36
|
+
userId: string;
|
|
37
|
+
/**
|
|
38
|
+
* The ID of the current active workflow version
|
|
39
|
+
*/
|
|
40
|
+
workflowId: string;
|
|
41
|
+
[additionalProperty: string]: string | string | string | string | (string | null | undefined) | string | string | string | any | null | undefined;
|
|
42
|
+
};
|
|
43
|
+
/**
|
|
44
|
+
* @internal
|
|
45
|
+
* WorkflowsDeleteResponse without any key transformation, this is what
|
|
46
|
+
* we expect to come in as network data
|
|
47
|
+
*/
|
|
48
|
+
export type External$WorkflowsDeleteResponse = {
|
|
49
|
+
created_at: string;
|
|
50
|
+
description: string;
|
|
51
|
+
id: string;
|
|
52
|
+
name: string;
|
|
53
|
+
origin_id?: string | null | undefined;
|
|
54
|
+
updated_at: string;
|
|
55
|
+
user_id: string;
|
|
56
|
+
workflow_id: string;
|
|
57
|
+
[additionalProperty: string]: string | string | string | string | (string | null | undefined) | string | string | string | External$WorkflowsDeleteResponse | null | undefined;
|
|
58
|
+
};
|
|
59
|
+
export declare const Schemas$WorkflowsDeleteResponse: {
|
|
60
|
+
in: z.ZodType<WorkflowsDeleteResponse, z.ZodTypeDef, unknown>;
|
|
61
|
+
out: z.ZodType<External$WorkflowsDeleteResponse, z.ZodTypeDef, WorkflowsDeleteResponse>;
|
|
62
|
+
};
|
|
@@ -0,0 +1,100 @@
|
|
|
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$WorkflowsDeleteResponse = 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 WorkflowsDeleteResponse
|
|
44
|
+
*/
|
|
45
|
+
const SchemaIn$WorkflowsDeleteResponse = z
|
|
46
|
+
.object({
|
|
47
|
+
created_at: z.string(),
|
|
48
|
+
description: z.string(),
|
|
49
|
+
id: z.string(),
|
|
50
|
+
name: z.string(),
|
|
51
|
+
origin_id: z.string().nullable().optional(),
|
|
52
|
+
updated_at: z.string(),
|
|
53
|
+
user_id: z.string(),
|
|
54
|
+
workflow_id: z.string(),
|
|
55
|
+
})
|
|
56
|
+
.catchall(make_api_request_js_1.zodRequiredAny)
|
|
57
|
+
.transform((obj) => {
|
|
58
|
+
return (0, make_api_request_js_1.zodTransform)(obj, {
|
|
59
|
+
created_at: "createdAt",
|
|
60
|
+
description: "description",
|
|
61
|
+
id: "id",
|
|
62
|
+
name: "name",
|
|
63
|
+
origin_id: "originId",
|
|
64
|
+
updated_at: "updatedAt",
|
|
65
|
+
user_id: "userId",
|
|
66
|
+
workflow_id: "workflowId",
|
|
67
|
+
});
|
|
68
|
+
});
|
|
69
|
+
/**
|
|
70
|
+
* @internal
|
|
71
|
+
* Takes typescript data, validates it, and maps keys to match the expected external object External$WorkflowsDeleteResponse
|
|
72
|
+
*/
|
|
73
|
+
const SchemaOut$WorkflowsDeleteResponse = z
|
|
74
|
+
.object({
|
|
75
|
+
createdAt: z.string(),
|
|
76
|
+
description: z.string(),
|
|
77
|
+
id: z.string(),
|
|
78
|
+
name: z.string(),
|
|
79
|
+
originId: z.string().nullable().optional(),
|
|
80
|
+
updatedAt: z.string(),
|
|
81
|
+
userId: z.string(),
|
|
82
|
+
workflowId: z.string(),
|
|
83
|
+
})
|
|
84
|
+
.catchall(make_api_request_js_1.zodRequiredAny)
|
|
85
|
+
.transform((obj) => {
|
|
86
|
+
return (0, make_api_request_js_1.zodTransform)(obj, {
|
|
87
|
+
createdAt: "created_at",
|
|
88
|
+
description: "description",
|
|
89
|
+
id: "id",
|
|
90
|
+
name: "name",
|
|
91
|
+
originId: "origin_id",
|
|
92
|
+
updatedAt: "updated_at",
|
|
93
|
+
userId: "user_id",
|
|
94
|
+
workflowId: "workflow_id",
|
|
95
|
+
});
|
|
96
|
+
});
|
|
97
|
+
exports.Schemas$WorkflowsDeleteResponse = {
|
|
98
|
+
in: SchemaIn$WorkflowsDeleteResponse,
|
|
99
|
+
out: SchemaOut$WorkflowsDeleteResponse,
|
|
100
|
+
};
|
|
@@ -6,7 +6,7 @@ import * as z from "zod";
|
|
|
6
6
|
* WorkflowsDispatchCreateBody
|
|
7
7
|
*/
|
|
8
8
|
export type WorkflowsDispatchCreateBody = {
|
|
9
|
-
|
|
9
|
+
inputs: Record<string, any | undefined>;
|
|
10
10
|
};
|
|
11
11
|
/**
|
|
12
12
|
* @internal
|
|
@@ -14,7 +14,7 @@ export type WorkflowsDispatchCreateBody = {
|
|
|
14
14
|
* we expect to come in as network data
|
|
15
15
|
*/
|
|
16
16
|
export type External$WorkflowsDispatchCreateBody = {
|
|
17
|
-
|
|
17
|
+
inputs: Record<string, any | undefined>;
|
|
18
18
|
};
|
|
19
19
|
export declare const Schemas$WorkflowsDispatchCreateBody: {
|
|
20
20
|
in: z.ZodType<WorkflowsDispatchCreateBody, z.ZodTypeDef, unknown>;
|
|
@@ -44,11 +44,11 @@ const z = __importStar(require("zod"));
|
|
|
44
44
|
*/
|
|
45
45
|
const SchemaIn$WorkflowsDispatchCreateBody = z
|
|
46
46
|
.object({
|
|
47
|
-
|
|
47
|
+
inputs: z.record(z.string(), make_api_request_js_1.zodRequiredAny.optional()),
|
|
48
48
|
})
|
|
49
49
|
.transform((obj) => {
|
|
50
50
|
return (0, make_api_request_js_1.zodTransform)(obj, {
|
|
51
|
-
|
|
51
|
+
inputs: "inputs",
|
|
52
52
|
});
|
|
53
53
|
});
|
|
54
54
|
/**
|
|
@@ -57,11 +57,11 @@ const SchemaIn$WorkflowsDispatchCreateBody = z
|
|
|
57
57
|
*/
|
|
58
58
|
const SchemaOut$WorkflowsDispatchCreateBody = z
|
|
59
59
|
.object({
|
|
60
|
-
|
|
60
|
+
inputs: z.record(z.string(), make_api_request_js_1.zodRequiredAny.optional()),
|
|
61
61
|
})
|
|
62
62
|
.transform((obj) => {
|
|
63
63
|
return (0, make_api_request_js_1.zodTransform)(obj, {
|
|
64
|
-
|
|
64
|
+
inputs: "inputs",
|
|
65
65
|
});
|
|
66
66
|
});
|
|
67
67
|
exports.Schemas$WorkflowsDispatchCreateBody = {
|
|
@@ -0,0 +1,62 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Generated by Sideko (sideko.dev)
|
|
3
|
+
**/
|
|
4
|
+
import * as z from "zod";
|
|
5
|
+
/**
|
|
6
|
+
* WorkflowsGetResponse
|
|
7
|
+
*/
|
|
8
|
+
export type WorkflowsGetResponse = {
|
|
9
|
+
/**
|
|
10
|
+
* Creation timestamp
|
|
11
|
+
*/
|
|
12
|
+
createdAt: string;
|
|
13
|
+
/**
|
|
14
|
+
* Description of the workflow
|
|
15
|
+
*/
|
|
16
|
+
description: string;
|
|
17
|
+
/**
|
|
18
|
+
* Unique identifier for the workflow origin
|
|
19
|
+
*/
|
|
20
|
+
id: string;
|
|
21
|
+
/**
|
|
22
|
+
* Name of the workflow
|
|
23
|
+
*/
|
|
24
|
+
name: string;
|
|
25
|
+
/**
|
|
26
|
+
* Parent origin ID if this is a fork
|
|
27
|
+
*/
|
|
28
|
+
originId?: string | null | undefined;
|
|
29
|
+
/**
|
|
30
|
+
* Last update timestamp
|
|
31
|
+
*/
|
|
32
|
+
updatedAt: string;
|
|
33
|
+
/**
|
|
34
|
+
* User ID of the owner
|
|
35
|
+
*/
|
|
36
|
+
userId: string;
|
|
37
|
+
/**
|
|
38
|
+
* The ID of the current active workflow version
|
|
39
|
+
*/
|
|
40
|
+
workflowId: string;
|
|
41
|
+
[additionalProperty: string]: string | string | string | string | (string | null | undefined) | string | string | string | any | null | undefined;
|
|
42
|
+
};
|
|
43
|
+
/**
|
|
44
|
+
* @internal
|
|
45
|
+
* WorkflowsGetResponse without any key transformation, this is what
|
|
46
|
+
* we expect to come in as network data
|
|
47
|
+
*/
|
|
48
|
+
export type External$WorkflowsGetResponse = {
|
|
49
|
+
created_at: string;
|
|
50
|
+
description: string;
|
|
51
|
+
id: string;
|
|
52
|
+
name: string;
|
|
53
|
+
origin_id?: string | null | undefined;
|
|
54
|
+
updated_at: string;
|
|
55
|
+
user_id: string;
|
|
56
|
+
workflow_id: string;
|
|
57
|
+
[additionalProperty: string]: string | string | string | string | (string | null | undefined) | string | string | string | External$WorkflowsGetResponse | null | undefined;
|
|
58
|
+
};
|
|
59
|
+
export declare const Schemas$WorkflowsGetResponse: {
|
|
60
|
+
in: z.ZodType<WorkflowsGetResponse, z.ZodTypeDef, unknown>;
|
|
61
|
+
out: z.ZodType<External$WorkflowsGetResponse, z.ZodTypeDef, WorkflowsGetResponse>;
|
|
62
|
+
};
|
|
@@ -0,0 +1,100 @@
|
|
|
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$WorkflowsGetResponse = 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 WorkflowsGetResponse
|
|
44
|
+
*/
|
|
45
|
+
const SchemaIn$WorkflowsGetResponse = z
|
|
46
|
+
.object({
|
|
47
|
+
created_at: z.string(),
|
|
48
|
+
description: z.string(),
|
|
49
|
+
id: z.string(),
|
|
50
|
+
name: z.string(),
|
|
51
|
+
origin_id: z.string().nullable().optional(),
|
|
52
|
+
updated_at: z.string(),
|
|
53
|
+
user_id: z.string(),
|
|
54
|
+
workflow_id: z.string(),
|
|
55
|
+
})
|
|
56
|
+
.catchall(make_api_request_js_1.zodRequiredAny)
|
|
57
|
+
.transform((obj) => {
|
|
58
|
+
return (0, make_api_request_js_1.zodTransform)(obj, {
|
|
59
|
+
created_at: "createdAt",
|
|
60
|
+
description: "description",
|
|
61
|
+
id: "id",
|
|
62
|
+
name: "name",
|
|
63
|
+
origin_id: "originId",
|
|
64
|
+
updated_at: "updatedAt",
|
|
65
|
+
user_id: "userId",
|
|
66
|
+
workflow_id: "workflowId",
|
|
67
|
+
});
|
|
68
|
+
});
|
|
69
|
+
/**
|
|
70
|
+
* @internal
|
|
71
|
+
* Takes typescript data, validates it, and maps keys to match the expected external object External$WorkflowsGetResponse
|
|
72
|
+
*/
|
|
73
|
+
const SchemaOut$WorkflowsGetResponse = z
|
|
74
|
+
.object({
|
|
75
|
+
createdAt: z.string(),
|
|
76
|
+
description: z.string(),
|
|
77
|
+
id: z.string(),
|
|
78
|
+
name: z.string(),
|
|
79
|
+
originId: z.string().nullable().optional(),
|
|
80
|
+
updatedAt: z.string(),
|
|
81
|
+
userId: z.string(),
|
|
82
|
+
workflowId: z.string(),
|
|
83
|
+
})
|
|
84
|
+
.catchall(make_api_request_js_1.zodRequiredAny)
|
|
85
|
+
.transform((obj) => {
|
|
86
|
+
return (0, make_api_request_js_1.zodTransform)(obj, {
|
|
87
|
+
createdAt: "created_at",
|
|
88
|
+
description: "description",
|
|
89
|
+
id: "id",
|
|
90
|
+
name: "name",
|
|
91
|
+
originId: "origin_id",
|
|
92
|
+
updatedAt: "updated_at",
|
|
93
|
+
userId: "user_id",
|
|
94
|
+
workflowId: "workflow_id",
|
|
95
|
+
});
|
|
96
|
+
});
|
|
97
|
+
exports.Schemas$WorkflowsGetResponse = {
|
|
98
|
+
in: SchemaIn$WorkflowsGetResponse,
|
|
99
|
+
out: SchemaOut$WorkflowsGetResponse,
|
|
100
|
+
};
|
|
@@ -0,0 +1,62 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Generated by Sideko (sideko.dev)
|
|
3
|
+
**/
|
|
4
|
+
import * as z from "zod";
|
|
5
|
+
/**
|
|
6
|
+
* WorkflowsListResponseItem
|
|
7
|
+
*/
|
|
8
|
+
export type WorkflowsListResponseItem = {
|
|
9
|
+
/**
|
|
10
|
+
* Creation timestamp
|
|
11
|
+
*/
|
|
12
|
+
createdAt: string;
|
|
13
|
+
/**
|
|
14
|
+
* Description of the workflow
|
|
15
|
+
*/
|
|
16
|
+
description: string;
|
|
17
|
+
/**
|
|
18
|
+
* Unique identifier for the workflow origin
|
|
19
|
+
*/
|
|
20
|
+
id: string;
|
|
21
|
+
/**
|
|
22
|
+
* Name of the workflow
|
|
23
|
+
*/
|
|
24
|
+
name: string;
|
|
25
|
+
/**
|
|
26
|
+
* Parent origin ID if this is a fork
|
|
27
|
+
*/
|
|
28
|
+
originId?: string | null | undefined;
|
|
29
|
+
/**
|
|
30
|
+
* Last update timestamp
|
|
31
|
+
*/
|
|
32
|
+
updatedAt: string;
|
|
33
|
+
/**
|
|
34
|
+
* User ID of the owner
|
|
35
|
+
*/
|
|
36
|
+
userId: string;
|
|
37
|
+
/**
|
|
38
|
+
* The ID of the current active workflow version
|
|
39
|
+
*/
|
|
40
|
+
workflowId: string;
|
|
41
|
+
[additionalProperty: string]: string | string | string | string | (string | null | undefined) | string | string | string | any | null | undefined;
|
|
42
|
+
};
|
|
43
|
+
/**
|
|
44
|
+
* @internal
|
|
45
|
+
* WorkflowsListResponseItem without any key transformation, this is what
|
|
46
|
+
* we expect to come in as network data
|
|
47
|
+
*/
|
|
48
|
+
export type External$WorkflowsListResponseItem = {
|
|
49
|
+
created_at: string;
|
|
50
|
+
description: string;
|
|
51
|
+
id: string;
|
|
52
|
+
name: string;
|
|
53
|
+
origin_id?: string | null | undefined;
|
|
54
|
+
updated_at: string;
|
|
55
|
+
user_id: string;
|
|
56
|
+
workflow_id: string;
|
|
57
|
+
[additionalProperty: string]: string | string | string | string | (string | null | undefined) | string | string | string | External$WorkflowsListResponseItem | null | undefined;
|
|
58
|
+
};
|
|
59
|
+
export declare const Schemas$WorkflowsListResponseItem: {
|
|
60
|
+
in: z.ZodType<WorkflowsListResponseItem, z.ZodTypeDef, unknown>;
|
|
61
|
+
out: z.ZodType<External$WorkflowsListResponseItem, z.ZodTypeDef, WorkflowsListResponseItem>;
|
|
62
|
+
};
|
|
@@ -0,0 +1,100 @@
|
|
|
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$WorkflowsListResponseItem = 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 WorkflowsListResponseItem
|
|
44
|
+
*/
|
|
45
|
+
const SchemaIn$WorkflowsListResponseItem = z
|
|
46
|
+
.object({
|
|
47
|
+
created_at: z.string(),
|
|
48
|
+
description: z.string(),
|
|
49
|
+
id: z.string(),
|
|
50
|
+
name: z.string(),
|
|
51
|
+
origin_id: z.string().nullable().optional(),
|
|
52
|
+
updated_at: z.string(),
|
|
53
|
+
user_id: z.string(),
|
|
54
|
+
workflow_id: z.string(),
|
|
55
|
+
})
|
|
56
|
+
.catchall(make_api_request_js_1.zodRequiredAny)
|
|
57
|
+
.transform((obj) => {
|
|
58
|
+
return (0, make_api_request_js_1.zodTransform)(obj, {
|
|
59
|
+
created_at: "createdAt",
|
|
60
|
+
description: "description",
|
|
61
|
+
id: "id",
|
|
62
|
+
name: "name",
|
|
63
|
+
origin_id: "originId",
|
|
64
|
+
updated_at: "updatedAt",
|
|
65
|
+
user_id: "userId",
|
|
66
|
+
workflow_id: "workflowId",
|
|
67
|
+
});
|
|
68
|
+
});
|
|
69
|
+
/**
|
|
70
|
+
* @internal
|
|
71
|
+
* Takes typescript data, validates it, and maps keys to match the expected external object External$WorkflowsListResponseItem
|
|
72
|
+
*/
|
|
73
|
+
const SchemaOut$WorkflowsListResponseItem = z
|
|
74
|
+
.object({
|
|
75
|
+
createdAt: z.string(),
|
|
76
|
+
description: z.string(),
|
|
77
|
+
id: z.string(),
|
|
78
|
+
name: z.string(),
|
|
79
|
+
originId: z.string().nullable().optional(),
|
|
80
|
+
updatedAt: z.string(),
|
|
81
|
+
userId: z.string(),
|
|
82
|
+
workflowId: z.string(),
|
|
83
|
+
})
|
|
84
|
+
.catchall(make_api_request_js_1.zodRequiredAny)
|
|
85
|
+
.transform((obj) => {
|
|
86
|
+
return (0, make_api_request_js_1.zodTransform)(obj, {
|
|
87
|
+
createdAt: "created_at",
|
|
88
|
+
description: "description",
|
|
89
|
+
id: "id",
|
|
90
|
+
name: "name",
|
|
91
|
+
originId: "origin_id",
|
|
92
|
+
updatedAt: "updated_at",
|
|
93
|
+
userId: "user_id",
|
|
94
|
+
workflowId: "workflow_id",
|
|
95
|
+
});
|
|
96
|
+
});
|
|
97
|
+
exports.Schemas$WorkflowsListResponseItem = {
|
|
98
|
+
in: SchemaIn$WorkflowsListResponseItem,
|
|
99
|
+
out: SchemaOut$WorkflowsListResponseItem,
|
|
100
|
+
};
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Generated by Sideko (sideko.dev)
|
|
3
|
+
**/
|
|
4
|
+
import * as z from "zod";
|
|
5
|
+
/**
|
|
6
|
+
* WorkflowsPatchBody
|
|
7
|
+
*/
|
|
8
|
+
export type WorkflowsPatchBody = {
|
|
9
|
+
/**
|
|
10
|
+
* Updated description of the workflow
|
|
11
|
+
*/
|
|
12
|
+
description?: string | undefined;
|
|
13
|
+
/**
|
|
14
|
+
* Updated name of the workflow
|
|
15
|
+
*/
|
|
16
|
+
name?: string | undefined;
|
|
17
|
+
/**
|
|
18
|
+
* Updated active workflow version ID
|
|
19
|
+
*/
|
|
20
|
+
workflowId?: string | undefined;
|
|
21
|
+
[additionalProperty: string]: (string | undefined) | (string | undefined) | (string | undefined) | any | null | undefined;
|
|
22
|
+
};
|
|
23
|
+
/**
|
|
24
|
+
* @internal
|
|
25
|
+
* WorkflowsPatchBody without any key transformation, this is what
|
|
26
|
+
* we expect to come in as network data
|
|
27
|
+
*/
|
|
28
|
+
export type External$WorkflowsPatchBody = {
|
|
29
|
+
description?: string | undefined;
|
|
30
|
+
name?: string | undefined;
|
|
31
|
+
workflow_id?: string | undefined;
|
|
32
|
+
[additionalProperty: string]: (string | undefined) | (string | undefined) | (string | undefined) | External$WorkflowsPatchBody | null | undefined;
|
|
33
|
+
};
|
|
34
|
+
export declare const Schemas$WorkflowsPatchBody: {
|
|
35
|
+
in: z.ZodType<WorkflowsPatchBody, z.ZodTypeDef, unknown>;
|
|
36
|
+
out: z.ZodType<External$WorkflowsPatchBody, z.ZodTypeDef, WorkflowsPatchBody>;
|
|
37
|
+
};
|