@human2human/sdk 0.1.0 → 0.3.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +61 -16
- package/dist/client.d.ts +12 -3
- package/dist/client.js +11 -6
- package/dist/environment.d.ts +1 -1
- package/dist/environment.js +1 -1
- package/dist/index.d.ts +7 -1
- package/dist/index.js +8 -1
- 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/index.d.ts +6 -0
- package/dist/resources/agent/index.js +6 -0
- package/dist/resources/agent/resource-client.d.ts +6 -0
- package/dist/resources/agent/resource-client.js +6 -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 +6 -0
- package/dist/resources/chats/index.js +6 -0
- package/dist/resources/chats/resource-client.d.ts +9 -3
- package/dist/resources/chats/resource-client.js +9 -3
- package/dist/resources/feeds/index.d.ts +6 -0
- package/dist/resources/feeds/index.js +6 -0
- 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 -0
- package/dist/resources/feeds/resource-client.js +12 -0
- package/dist/resources/feeds/vector/index.d.ts +6 -0
- package/dist/resources/feeds/vector/index.js +6 -0
- package/dist/resources/feeds/vector/resource-client.d.ts +6 -0
- package/dist/resources/feeds/vector/resource-client.js +6 -0
- package/dist/resources/feeds/vector/search/index.d.ts +6 -0
- package/dist/resources/feeds/vector/search/index.js +6 -0
- package/dist/resources/feeds/vector/search/resource-client.d.ts +8 -0
- package/dist/resources/feeds/vector/search/resource-client.js +8 -0
- package/dist/resources/index.d.ts +2 -1
- package/dist/resources/index.js +3 -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/request-types.d.ts +3 -3
- package/dist/resources/integrations/api/operations/request-types.js +9 -9
- 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/request-types.d.ts +1 -1
- package/dist/resources/integrations/api/secrets/request-types.js +3 -3
- 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 +5 -0
- package/dist/resources/memory/index.js +42 -0
- package/dist/resources/memory/resource-client.d.ts +10 -0
- package/dist/resources/memory/resource-client.js +20 -0
- package/dist/resources/memory/tables/index.d.ts +7 -0
- package/dist/resources/memory/tables/index.js +43 -0
- package/dist/resources/memory/tables/mutate/index.d.ts +5 -0
- package/dist/resources/memory/tables/mutate/index.js +8 -0
- package/dist/resources/memory/tables/mutate/request-types.d.ts +33 -0
- package/dist/resources/memory/tables/mutate/request-types.js +77 -0
- package/dist/resources/memory/tables/mutate/resource-client.d.ts +17 -0
- package/dist/resources/memory/tables/mutate/resource-client.js +33 -0
- package/dist/resources/memory/tables/query/index.d.ts +5 -0
- package/dist/resources/memory/tables/query/index.js +8 -0
- package/dist/resources/memory/tables/query/request-types.d.ts +37 -0
- package/dist/resources/memory/tables/query/request-types.js +80 -0
- package/dist/resources/memory/tables/query/resource-client.d.ts +17 -0
- package/dist/resources/memory/tables/query/resource-client.js +33 -0
- package/dist/resources/memory/tables/request-types.d.ts +105 -0
- package/dist/resources/memory/tables/request-types.js +171 -0
- package/dist/resources/memory/tables/resource-client.d.ts +47 -0
- package/dist/resources/memory/tables/resource-client.js +144 -0
- package/dist/resources/search-groups/index.d.ts +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 +5 -0
- package/dist/resources/subscriptions/events/index.js +8 -0
- package/dist/resources/subscriptions/events/request-types.d.ts +115 -0
- package/dist/resources/subscriptions/events/request-types.js +179 -0
- package/dist/resources/subscriptions/events/resource-client.d.ts +41 -0
- package/dist/resources/subscriptions/events/resource-client.js +132 -0
- package/dist/resources/subscriptions/index.d.ts +5 -0
- package/dist/resources/subscriptions/index.js +42 -0
- package/dist/resources/subscriptions/resource-client.d.ts +10 -0
- package/dist/resources/subscriptions/resource-client.js +20 -0
- package/dist/resources/tools/code-execution/index.d.ts +6 -0
- package/dist/resources/tools/code-execution/index.js +6 -0
- package/dist/resources/tools/code-execution/request-types.d.ts +2 -2
- package/dist/resources/tools/code-execution/request-types.js +6 -6
- 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/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/resource-client.d.ts +10 -2
- package/dist/resources/tools/internet-search/resource-client.js +11 -37
- 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/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/resource-client.d.ts +9 -1
- package/dist/resources/tools/structured-output/resource-client.js +9 -1
- package/dist/resources/workflow/index.d.ts +3 -0
- package/dist/resources/workflow/index.js +3 -0
- package/dist/resources/workflow/resource-client.d.ts +3 -0
- package/dist/resources/workflow/resource-client.js +3 -0
- package/dist/resources/workflow/run/index.d.ts +3 -0
- package/dist/resources/workflow/run/index.js +3 -0
- package/dist/resources/workflow/run/resource-client.d.ts +3 -0
- package/dist/resources/workflow/run/resource-client.js +3 -0
- package/dist/resources/workflow/run/trigger/index.d.ts +3 -0
- package/dist/resources/workflow/run/trigger/index.js +3 -0
- package/dist/resources/workflow/run/trigger/resource-client.d.ts +3 -0
- package/dist/resources/workflow/run/trigger/resource-client.js +3 -0
- 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 +148 -0
- package/dist/resources/workflows/request-types.js +218 -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 +5 -0
- package/dist/resources/workflows/runs/dispatch/index.js +8 -0
- package/dist/resources/workflows/runs/dispatch/request-types.d.ts +25 -0
- package/dist/resources/workflows/runs/dispatch/request-types.js +70 -0
- package/dist/resources/workflows/runs/dispatch/resource-client.d.ts +17 -0
- package/dist/resources/workflows/runs/dispatch/resource-client.js +30 -0
- package/dist/resources/workflows/runs/index.d.ts +6 -0
- package/dist/resources/workflows/runs/index.js +42 -0
- package/dist/resources/workflows/runs/request-types.d.ts +115 -0
- package/dist/resources/workflows/runs/request-types.js +179 -0
- package/dist/resources/workflows/runs/resource-client.d.ts +44 -0
- package/dist/resources/workflows/runs/resource-client.js +151 -0
- package/dist/resources/workflows/versions/index.d.ts +5 -0
- package/dist/resources/workflows/versions/index.js +8 -0
- package/dist/resources/workflows/versions/request-types.d.ts +188 -0
- package/dist/resources/workflows/versions/request-types.js +250 -0
- package/dist/resources/workflows/versions/resource-client.d.ts +49 -0
- package/dist/resources/workflows/versions/resource-client.js +152 -0
- package/dist/types/index.d.ts +62 -4
- 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-internet-search-create-response.d.ts +22 -0
- package/dist/types/tools-internet-search-create-response.js +70 -0
- package/dist/types/workflows-create-body.d.ts +42 -0
- package/dist/types/workflows-create-body.js +84 -0
- package/dist/types/workflows-create-response.d.ts +62 -0
- package/dist/types/workflows-create-response.js +100 -0
- package/dist/types/workflows-delete-response.d.ts +62 -0
- package/dist/types/workflows-delete-response.js +100 -0
- package/dist/types/workflows-get-response.d.ts +62 -0
- package/dist/types/workflows-get-response.js +100 -0
- package/dist/types/workflows-list-response-item.d.ts +62 -0
- package/dist/types/workflows-list-response-item.js +100 -0
- package/dist/types/workflows-patch-body.d.ts +37 -0
- package/dist/types/workflows-patch-body.js +80 -0
- package/dist/types/workflows-patch-response.d.ts +62 -0
- package/dist/types/workflows-patch-response.js +100 -0
- package/dist/types/workflows-runs-create-body-execution-type-enum.d.ts +7 -0
- package/dist/types/workflows-runs-create-body-execution-type-enum.js +5 -0
- package/dist/types/workflows-runs-create-body.d.ts +37 -0
- package/dist/types/workflows-runs-create-body.js +80 -0
- package/dist/types/workflows-runs-create-response-status-enum.d.ts +7 -0
- package/dist/types/workflows-runs-create-response-status-enum.js +5 -0
- package/dist/types/workflows-runs-create-response.d.ts +28 -0
- package/dist/types/workflows-runs-create-response.js +86 -0
- package/dist/types/workflows-runs-delete-response-status-enum.d.ts +7 -0
- package/dist/types/workflows-runs-delete-response-status-enum.js +5 -0
- package/dist/types/workflows-runs-delete-response.d.ts +28 -0
- package/dist/types/workflows-runs-delete-response.js +86 -0
- package/dist/types/workflows-runs-dispatch-create-response.d.ts +30 -0
- package/dist/types/workflows-runs-dispatch-create-response.js +74 -0
- package/dist/types/workflows-runs-get-response-status-enum.d.ts +7 -0
- package/dist/types/workflows-runs-get-response-status-enum.js +5 -0
- package/dist/types/workflows-runs-get-response.d.ts +28 -0
- package/dist/types/workflows-runs-get-response.js +86 -0
- package/dist/types/workflows-runs-list-response-item-status-enum.d.ts +7 -0
- package/dist/types/workflows-runs-list-response-item-status-enum.js +5 -0
- package/dist/types/workflows-runs-list-response-item.d.ts +28 -0
- package/dist/types/workflows-runs-list-response-item.js +86 -0
- package/dist/types/workflows-versions-create-body.d.ts +47 -0
- package/dist/types/workflows-versions-create-body.js +88 -0
- package/dist/types/workflows-versions-create-response.d.ts +67 -0
- package/dist/types/workflows-versions-create-response.js +104 -0
- package/dist/types/workflows-versions-delete-response.d.ts +67 -0
- package/dist/types/workflows-versions-delete-response.js +104 -0
- package/dist/types/workflows-versions-get-response.d.ts +67 -0
- package/dist/types/workflows-versions-get-response.js +104 -0
- package/dist/types/workflows-versions-list-response-item.d.ts +67 -0
- package/dist/types/workflows-versions-list-response-item.js +104 -0
- package/dist/types/workflows-versions-patch-body.d.ts +47 -0
- package/dist/types/workflows-versions-patch-body.js +88 -0
- package/dist/types/workflows-versions-patch-response.d.ts +67 -0
- package/dist/types/workflows-versions-patch-response.js +104 -0
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -20,15 +20,15 @@ const client = new Client({
|
|
|
20
20
|
### [agent.build.workflow](src/resources/agent/build/workflow/README.md)
|
|
21
21
|
|
|
22
22
|
- [create](src/resources/agent/build/workflow/README.md#create) - Build a workflow
|
|
23
|
-
- [list](src/resources/agent/build/workflow/README.md#list) - Get
|
|
23
|
+
- [list](src/resources/agent/build/workflow/README.md#list) - Get workflow build output
|
|
24
24
|
|
|
25
25
|
### [auth.login](src/resources/auth/login/README.md)
|
|
26
26
|
|
|
27
|
-
- [create](src/resources/auth/login/README.md#create) -
|
|
27
|
+
- [create](src/resources/auth/login/README.md#create) - Log in
|
|
28
28
|
|
|
29
29
|
### [auth.refresh](src/resources/auth/refresh/README.md)
|
|
30
30
|
|
|
31
|
-
- [create](src/resources/auth/refresh/README.md#create) - Refresh token
|
|
31
|
+
- [create](src/resources/auth/refresh/README.md#create) - Refresh an auth token
|
|
32
32
|
|
|
33
33
|
### [chats](src/resources/chats/README.md)
|
|
34
34
|
|
|
@@ -70,6 +70,21 @@ const client = new Client({
|
|
|
70
70
|
- [delete](src/resources/integrations/api/secrets/README.md#delete) - Delete an API secret
|
|
71
71
|
- [list](src/resources/integrations/api/secrets/README.md#list) - Get all API secrets for an API integration
|
|
72
72
|
|
|
73
|
+
### [memory.tables](src/resources/memory/tables/README.md)
|
|
74
|
+
|
|
75
|
+
- [create](src/resources/memory/tables/README.md#create) - Create a memory table
|
|
76
|
+
- [delete](src/resources/memory/tables/README.md#delete) - Delete a memory table
|
|
77
|
+
- [get](src/resources/memory/tables/README.md#get) - Get a memory table
|
|
78
|
+
- [list](src/resources/memory/tables/README.md#list) - List memory tables
|
|
79
|
+
|
|
80
|
+
### [memory.tables.mutate](src/resources/memory/tables/mutate/README.md)
|
|
81
|
+
|
|
82
|
+
- [create](src/resources/memory/tables/mutate/README.md#create) - Mutate a memory table
|
|
83
|
+
|
|
84
|
+
### [memory.tables.query](src/resources/memory/tables/query/README.md)
|
|
85
|
+
|
|
86
|
+
- [create](src/resources/memory/tables/query/README.md#create) - Query a memory table
|
|
87
|
+
|
|
73
88
|
### [searchGroups](src/resources/search-groups/README.md)
|
|
74
89
|
|
|
75
90
|
- [create](src/resources/search-groups/README.md#create) - Create a new dictionary
|
|
@@ -82,52 +97,82 @@ const client = new Client({
|
|
|
82
97
|
- [get](src/resources/search-groups/items/README.md#get) - Get a search item by id
|
|
83
98
|
- [list](src/resources/search-groups/items/README.md#list) - List search items in a search group
|
|
84
99
|
|
|
100
|
+
### [subscriptions.events](src/resources/subscriptions/events/README.md)
|
|
101
|
+
|
|
102
|
+
- [create](src/resources/subscriptions/events/README.md#create) - Create an event subscription
|
|
103
|
+
- [delete](src/resources/subscriptions/events/README.md#delete) - Delete an event subscription
|
|
104
|
+
- [get](src/resources/subscriptions/events/README.md#get) - Get an event subscription
|
|
105
|
+
- [list](src/resources/subscriptions/events/README.md#list) - List event subscriptions
|
|
106
|
+
|
|
85
107
|
### [tools](src/resources/tools/README.md)
|
|
86
108
|
|
|
87
|
-
- [list](src/resources/tools/README.md#list) -
|
|
109
|
+
- [list](src/resources/tools/README.md#list) - List tools
|
|
88
110
|
|
|
89
111
|
### [tools.codeExecution](src/resources/tools/code-execution/README.md)
|
|
90
112
|
|
|
91
|
-
- [create](src/resources/tools/code-execution/README.md#create) - Execute code
|
|
113
|
+
- [create](src/resources/tools/code-execution/README.md#create) - Execute code
|
|
92
114
|
|
|
93
115
|
### [tools.dictionarySearch](src/resources/tools/dictionary-search/README.md)
|
|
94
116
|
|
|
95
|
-
- [create](src/resources/tools/dictionary-search/README.md#create) - Search
|
|
117
|
+
- [create](src/resources/tools/dictionary-search/README.md#create) - Search dictionary definitions
|
|
96
118
|
|
|
97
119
|
### [tools.format](src/resources/tools/format/README.md)
|
|
98
120
|
|
|
99
|
-
- [create](src/resources/tools/format/README.md#create) - Format
|
|
121
|
+
- [create](src/resources/tools/format/README.md#create) - Format content
|
|
100
122
|
|
|
101
123
|
### [tools.internetSearch](src/resources/tools/internet-search/README.md)
|
|
102
124
|
|
|
103
|
-
- [create](src/resources/tools/internet-search/README.md#create) -
|
|
125
|
+
- [create](src/resources/tools/internet-search/README.md#create) - Run internet search
|
|
104
126
|
|
|
105
127
|
### [tools.memoryQuery](src/resources/tools/memory-query/README.md)
|
|
106
128
|
|
|
107
|
-
- [create](src/resources/tools/memory-query/README.md#create) - Query
|
|
129
|
+
- [create](src/resources/tools/memory-query/README.md#create) - Query memory
|
|
108
130
|
|
|
109
131
|
### [tools.metaTagger](src/resources/tools/meta-tagger/README.md)
|
|
110
132
|
|
|
111
|
-
- [create](src/resources/tools/meta-tagger/README.md#create) -
|
|
133
|
+
- [create](src/resources/tools/meta-tagger/README.md#create) - Apply meta tags
|
|
112
134
|
|
|
113
135
|
### [tools.standardLlm](src/resources/tools/standard-llm/README.md)
|
|
114
136
|
|
|
115
|
-
- [create](src/resources/tools/standard-llm/README.md#create) -
|
|
137
|
+
- [create](src/resources/tools/standard-llm/README.md#create) - Run standard LLM
|
|
116
138
|
|
|
117
139
|
### [tools.structuredOutput](src/resources/tools/structured-output/README.md)
|
|
118
140
|
|
|
119
|
-
- [create](src/resources/tools/structured-output/README.md#create) -
|
|
141
|
+
- [create](src/resources/tools/structured-output/README.md#create) - Generate structured output
|
|
120
142
|
|
|
121
|
-
### [
|
|
143
|
+
### [workflows](src/resources/workflows/README.md)
|
|
122
144
|
|
|
123
|
-
- [create](src/resources/
|
|
145
|
+
- [create](src/resources/workflows/README.md#create) - Create a workflow
|
|
146
|
+
- [delete](src/resources/workflows/README.md#delete) - Delete a workflow
|
|
147
|
+
- [get](src/resources/workflows/README.md#get) - Get a workflow
|
|
148
|
+
- [list](src/resources/workflows/README.md#list) - List workflows
|
|
149
|
+
- [patch](src/resources/workflows/README.md#patch) - Update a workflow
|
|
124
150
|
|
|
125
151
|
### [workflows.dispatch](src/resources/workflows/dispatch/README.md)
|
|
126
152
|
|
|
127
|
-
- [create](src/resources/workflows/dispatch/README.md#create) - Dispatch a
|
|
153
|
+
- [create](src/resources/workflows/dispatch/README.md#create) - Dispatch a workflow
|
|
128
154
|
|
|
129
155
|
### [workflows.invoke](src/resources/workflows/invoke/README.md)
|
|
130
156
|
|
|
131
|
-
- [create](src/resources/workflows/invoke/README.md#create) - Invoke a
|
|
157
|
+
- [create](src/resources/workflows/invoke/README.md#create) - Invoke a workflow
|
|
158
|
+
|
|
159
|
+
### [workflows.runs](src/resources/workflows/runs/README.md)
|
|
160
|
+
|
|
161
|
+
- [create](src/resources/workflows/runs/README.md#create) - Create a workflow run
|
|
162
|
+
- [delete](src/resources/workflows/runs/README.md#delete) - Delete a workflow run
|
|
163
|
+
- [get](src/resources/workflows/runs/README.md#get) - Get a workflow run
|
|
164
|
+
- [list](src/resources/workflows/runs/README.md#list) - List workflow runs
|
|
165
|
+
|
|
166
|
+
### [workflows.runs.dispatch](src/resources/workflows/runs/dispatch/README.md)
|
|
167
|
+
|
|
168
|
+
- [create](src/resources/workflows/runs/dispatch/README.md#create) - Dispatch a workflow run
|
|
169
|
+
|
|
170
|
+
### [workflows.versions](src/resources/workflows/versions/README.md)
|
|
171
|
+
|
|
172
|
+
- [create](src/resources/workflows/versions/README.md#create) - Create a workflow version
|
|
173
|
+
- [delete](src/resources/workflows/versions/README.md#delete) - Delete a workflow version
|
|
174
|
+
- [get](src/resources/workflows/versions/README.md#get) - Get a workflow version
|
|
175
|
+
- [list](src/resources/workflows/versions/README.md#list) - List workflow versions
|
|
176
|
+
- [patch](src/resources/workflows/versions/README.md#patch) - Update a workflow version
|
|
132
177
|
|
|
133
178
|
<!-- MODULE DOCS END -->
|
package/dist/client.d.ts
CHANGED
|
@@ -8,10 +8,17 @@ import { AuthClient } from "./resources/auth";
|
|
|
8
8
|
import { ChatsClient } from "./resources/chats";
|
|
9
9
|
import { FeedsClient } from "./resources/feeds";
|
|
10
10
|
import { IntegrationsClient } from "./resources/integrations";
|
|
11
|
+
import { MemoryClient } from "./resources/memory";
|
|
11
12
|
import { SearchGroupsClient } from "./resources/search-groups";
|
|
13
|
+
import { SubscriptionsClient } from "./resources/subscriptions";
|
|
12
14
|
import { ToolsClient } from "./resources/tools";
|
|
13
|
-
import { WorkflowClient } from "./resources/workflow";
|
|
14
15
|
import { WorkflowsClient } from "./resources/workflows";
|
|
16
|
+
/**
|
|
17
|
+
* Generated by Sideko (sideko.dev)
|
|
18
|
+
**/
|
|
19
|
+
/**
|
|
20
|
+
* Generated by Sideko (sideko.dev)
|
|
21
|
+
**/
|
|
15
22
|
export interface ClientOptions extends ResourceClientOptions {
|
|
16
23
|
baseUrl?: string;
|
|
17
24
|
environment?: Environment;
|
|
@@ -21,8 +28,9 @@ export interface ClientOptions extends ResourceClientOptions {
|
|
|
21
28
|
token?: string;
|
|
22
29
|
}
|
|
23
30
|
export declare class Client {
|
|
31
|
+
private _subscriptionsLazy?;
|
|
32
|
+
private _memoryLazy?;
|
|
24
33
|
private _workflowsLazy?;
|
|
25
|
-
private _workflowLazy?;
|
|
26
34
|
private _toolsLazy?;
|
|
27
35
|
private _searchGroupsLazy?;
|
|
28
36
|
private _integrationsLazy?;
|
|
@@ -40,6 +48,7 @@ export declare class Client {
|
|
|
40
48
|
get integrations(): IntegrationsClient;
|
|
41
49
|
get searchGroups(): SearchGroupsClient;
|
|
42
50
|
get tools(): ToolsClient;
|
|
43
|
-
get workflow(): WorkflowClient;
|
|
44
51
|
get workflows(): WorkflowsClient;
|
|
52
|
+
get memory(): MemoryClient;
|
|
53
|
+
get subscriptions(): SubscriptionsClient;
|
|
45
54
|
}
|
package/dist/client.js
CHANGED
|
@@ -24,9 +24,10 @@ class Client {
|
|
|
24
24
|
this.chats;
|
|
25
25
|
this.feeds;
|
|
26
26
|
this.integrations;
|
|
27
|
+
this.memory;
|
|
27
28
|
this.searchGroups;
|
|
29
|
+
this.subscriptions;
|
|
28
30
|
this.tools;
|
|
29
|
-
this.workflow;
|
|
30
31
|
this.workflows;
|
|
31
32
|
}
|
|
32
33
|
}
|
|
@@ -60,15 +61,19 @@ class Client {
|
|
|
60
61
|
var _a;
|
|
61
62
|
return ((_a = this._toolsLazy) !== null && _a !== void 0 ? _a : (this._toolsLazy = new (require("./resources/tools").ToolsClient)(this._client, this._opts)));
|
|
62
63
|
}
|
|
63
|
-
get workflow() {
|
|
64
|
-
var _a;
|
|
65
|
-
return ((_a = this._workflowLazy) !== null && _a !== void 0 ? _a : (this._workflowLazy =
|
|
66
|
-
new (require("./resources/workflow").WorkflowClient)(this._client, this._opts)));
|
|
67
|
-
}
|
|
68
64
|
get workflows() {
|
|
69
65
|
var _a;
|
|
70
66
|
return ((_a = this._workflowsLazy) !== null && _a !== void 0 ? _a : (this._workflowsLazy =
|
|
71
67
|
new (require("./resources/workflows").WorkflowsClient)(this._client, this._opts)));
|
|
72
68
|
}
|
|
69
|
+
get memory() {
|
|
70
|
+
var _a;
|
|
71
|
+
return ((_a = this._memoryLazy) !== null && _a !== void 0 ? _a : (this._memoryLazy = new (require("./resources/memory").MemoryClient)(this._client, this._opts)));
|
|
72
|
+
}
|
|
73
|
+
get subscriptions() {
|
|
74
|
+
var _a;
|
|
75
|
+
return ((_a = this._subscriptionsLazy) !== null && _a !== void 0 ? _a : (this._subscriptionsLazy =
|
|
76
|
+
new (require("./resources/subscriptions").SubscriptionsClient)(this._client, this._opts)));
|
|
77
|
+
}
|
|
73
78
|
}
|
|
74
79
|
exports.Client = Client;
|
package/dist/environment.d.ts
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
export declare enum Environment {
|
|
5
5
|
Default = "http://localhost",
|
|
6
6
|
DefaultTemplate = "{protocol}://{host}",
|
|
7
|
-
MockServer = "https://api.sideko.dev/v1/mock/human2human/api/0.
|
|
7
|
+
MockServer = "https://api.sideko.dev/v1/mock/human2human/api/0.3.0"
|
|
8
8
|
}
|
|
9
9
|
/**
|
|
10
10
|
* Variables for formatting DefaultTemplate
|
package/dist/environment.js
CHANGED
|
@@ -10,7 +10,7 @@ var Environment;
|
|
|
10
10
|
(function (Environment) {
|
|
11
11
|
Environment["Default"] = "http://localhost";
|
|
12
12
|
Environment["DefaultTemplate"] = "{protocol}://{host}";
|
|
13
|
-
Environment["MockServer"] = "https://api.sideko.dev/v1/mock/human2human/api/0.
|
|
13
|
+
Environment["MockServer"] = "https://api.sideko.dev/v1/mock/human2human/api/0.3.0";
|
|
14
14
|
})(Environment || (exports.Environment = Environment = {}));
|
|
15
15
|
/**
|
|
16
16
|
* Format the DefaultTemplate URL with the given variables
|
package/dist/index.d.ts
CHANGED
|
@@ -1,8 +1,14 @@
|
|
|
1
1
|
export { ApiError, ApiResponse, BinaryResponse, RequestOptions, UploadFile, isUploadFile, } from "make-api-request-js";
|
|
2
|
-
export { Client as default } from "./client";
|
|
2
|
+
export { Client, Client as default } from "./client";
|
|
3
3
|
export { Environment, formatDefaultTemplate, formatServerTemplate, } from "./environment";
|
|
4
4
|
export * as resources from "./resources";
|
|
5
5
|
export * as types from "./types";
|
|
6
6
|
/**
|
|
7
7
|
* Generated by Sideko (sideko.dev)
|
|
8
8
|
**/
|
|
9
|
+
/**
|
|
10
|
+
* Generated by Sideko (sideko.dev)
|
|
11
|
+
**/
|
|
12
|
+
/**
|
|
13
|
+
* Generated by Sideko (sideko.dev)
|
|
14
|
+
**/
|
package/dist/index.js
CHANGED
|
@@ -33,12 +33,13 @@ var __importStar = (this && this.__importStar) || (function () {
|
|
|
33
33
|
};
|
|
34
34
|
})();
|
|
35
35
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
36
|
-
exports.types = exports.resources = exports.formatServerTemplate = exports.formatDefaultTemplate = exports.Environment = exports.default = exports.isUploadFile = exports.BinaryResponse = exports.ApiError = void 0;
|
|
36
|
+
exports.types = exports.resources = exports.formatServerTemplate = exports.formatDefaultTemplate = exports.Environment = exports.default = exports.Client = exports.isUploadFile = exports.BinaryResponse = exports.ApiError = void 0;
|
|
37
37
|
var make_api_request_js_1 = require("make-api-request-js");
|
|
38
38
|
Object.defineProperty(exports, "ApiError", { enumerable: true, get: function () { return make_api_request_js_1.ApiError; } });
|
|
39
39
|
Object.defineProperty(exports, "BinaryResponse", { enumerable: true, get: function () { return make_api_request_js_1.BinaryResponse; } });
|
|
40
40
|
Object.defineProperty(exports, "isUploadFile", { enumerable: true, get: function () { return make_api_request_js_1.isUploadFile; } });
|
|
41
41
|
var client_1 = require("./client");
|
|
42
|
+
Object.defineProperty(exports, "Client", { enumerable: true, get: function () { return client_1.Client; } });
|
|
42
43
|
Object.defineProperty(exports, "default", { enumerable: true, get: function () { return client_1.Client; } });
|
|
43
44
|
var environment_1 = require("./environment");
|
|
44
45
|
Object.defineProperty(exports, "Environment", { enumerable: true, get: function () { return environment_1.Environment; } });
|
|
@@ -49,3 +50,9 @@ exports.types = __importStar(require("./types"));
|
|
|
49
50
|
/**
|
|
50
51
|
* Generated by Sideko (sideko.dev)
|
|
51
52
|
**/
|
|
53
|
+
/**
|
|
54
|
+
* Generated by Sideko (sideko.dev)
|
|
55
|
+
**/
|
|
56
|
+
/**
|
|
57
|
+
* Generated by Sideko (sideko.dev)
|
|
58
|
+
**/
|
|
@@ -40,3 +40,9 @@ exports.workflow = exports.BuildClient = void 0;
|
|
|
40
40
|
var resource_client_1 = require("./resource-client");
|
|
41
41
|
Object.defineProperty(exports, "BuildClient", { enumerable: true, get: function () { return resource_client_1.BuildClient; } });
|
|
42
42
|
exports.workflow = __importStar(require("./workflow"));
|
|
43
|
+
/**
|
|
44
|
+
* Generated by Sideko (sideko.dev)
|
|
45
|
+
**/
|
|
46
|
+
/**
|
|
47
|
+
* Generated by Sideko (sideko.dev)
|
|
48
|
+
**/
|
|
@@ -3,6 +3,12 @@
|
|
|
3
3
|
**/
|
|
4
4
|
import { CoreClient, CoreResourceClient, ResourceClientOptions } from "make-api-request-js";
|
|
5
5
|
import { WorkflowClient } from "../../../resources/agent/build/workflow";
|
|
6
|
+
/**
|
|
7
|
+
* Generated by Sideko (sideko.dev)
|
|
8
|
+
**/
|
|
9
|
+
/**
|
|
10
|
+
* Generated by Sideko (sideko.dev)
|
|
11
|
+
**/
|
|
6
12
|
export declare class BuildClient extends CoreResourceClient {
|
|
7
13
|
private _workflowLazy?;
|
|
8
14
|
constructor(coreClient: CoreClient, opts: ResourceClientOptions);
|
|
@@ -5,6 +5,12 @@
|
|
|
5
5
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
6
|
exports.BuildClient = 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
|
class BuildClient extends make_api_request_js_1.CoreResourceClient {
|
|
9
15
|
constructor(coreClient, opts) {
|
|
10
16
|
super(coreClient, opts);
|
|
@@ -6,3 +6,9 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
6
6
|
exports.WorkflowClient = void 0;
|
|
7
7
|
var resource_client_1 = require("./resource-client");
|
|
8
8
|
Object.defineProperty(exports, "WorkflowClient", { enumerable: true, get: function () { return resource_client_1.WorkflowClient; } });
|
|
9
|
+
/**
|
|
10
|
+
* Generated by Sideko (sideko.dev)
|
|
11
|
+
**/
|
|
12
|
+
/**
|
|
13
|
+
* Generated by Sideko (sideko.dev)
|
|
14
|
+
**/
|
|
@@ -4,10 +4,18 @@
|
|
|
4
4
|
import { ApiPromise, CoreClient, CoreResourceClient, RequestOptions, ResourceClientOptions } from "make-api-request-js";
|
|
5
5
|
import * as requests from "../../../../resources/agent/build/workflow/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
|
export declare class WorkflowClient extends CoreResourceClient {
|
|
8
14
|
constructor(coreClient: CoreClient, opts: ResourceClientOptions);
|
|
9
15
|
/**
|
|
10
|
-
* Get
|
|
16
|
+
* Get workflow build output
|
|
17
|
+
*
|
|
18
|
+
* Retrieve the latest workflow build output for an agent build chat.
|
|
11
19
|
*
|
|
12
20
|
* GET /agent/build/workflow
|
|
13
21
|
*/
|
|
@@ -15,6 +23,8 @@ export declare class WorkflowClient extends CoreResourceClient {
|
|
|
15
23
|
/**
|
|
16
24
|
* Build a workflow
|
|
17
25
|
*
|
|
26
|
+
* Start or continue an agent-assisted workflow build session.
|
|
27
|
+
*
|
|
18
28
|
* POST /agent/build/workflow
|
|
19
29
|
*/
|
|
20
30
|
create(request: requests.CreateRequest, opts?: RequestOptions): ApiPromise<types.AgentBuildWorkflowCreateResponse>;
|
|
@@ -42,12 +42,20 @@ const z = __importStar(require("zod"));
|
|
|
42
42
|
const agent_build_workflow_create_body_1 = require("../../../../types/agent-build-workflow-create-body");
|
|
43
43
|
const agent_build_workflow_create_response_1 = require("../../../../types/agent-build-workflow-create-response");
|
|
44
44
|
const agent_build_workflow_list_response_1 = require("../../../../types/agent-build-workflow-list-response");
|
|
45
|
+
/**
|
|
46
|
+
* Generated by Sideko (sideko.dev)
|
|
47
|
+
**/
|
|
48
|
+
/**
|
|
49
|
+
* Generated by Sideko (sideko.dev)
|
|
50
|
+
**/
|
|
45
51
|
class WorkflowClient extends make_api_request_js_1.CoreResourceClient {
|
|
46
52
|
constructor(coreClient, opts) {
|
|
47
53
|
super(coreClient, opts);
|
|
48
54
|
}
|
|
49
55
|
/**
|
|
50
|
-
* Get
|
|
56
|
+
* Get workflow build output
|
|
57
|
+
*
|
|
58
|
+
* Retrieve the latest workflow build output for an agent build chat.
|
|
51
59
|
*
|
|
52
60
|
* GET /agent/build/workflow
|
|
53
61
|
*/
|
|
@@ -71,6 +79,8 @@ class WorkflowClient extends make_api_request_js_1.CoreResourceClient {
|
|
|
71
79
|
/**
|
|
72
80
|
* Build a workflow
|
|
73
81
|
*
|
|
82
|
+
* Start or continue an agent-assisted workflow build session.
|
|
83
|
+
*
|
|
74
84
|
* POST /agent/build/workflow
|
|
75
85
|
*/
|
|
76
86
|
create(request, opts) {
|
|
@@ -40,3 +40,9 @@ exports.AgentClient = exports.build = void 0;
|
|
|
40
40
|
exports.build = __importStar(require("./build"));
|
|
41
41
|
var resource_client_1 = require("./resource-client");
|
|
42
42
|
Object.defineProperty(exports, "AgentClient", { enumerable: true, get: function () { return resource_client_1.AgentClient; } });
|
|
43
|
+
/**
|
|
44
|
+
* Generated by Sideko (sideko.dev)
|
|
45
|
+
**/
|
|
46
|
+
/**
|
|
47
|
+
* Generated by Sideko (sideko.dev)
|
|
48
|
+
**/
|
|
@@ -3,6 +3,12 @@
|
|
|
3
3
|
**/
|
|
4
4
|
import { CoreClient, CoreResourceClient, ResourceClientOptions } from "make-api-request-js";
|
|
5
5
|
import { BuildClient } from "../../resources/agent/build";
|
|
6
|
+
/**
|
|
7
|
+
* Generated by Sideko (sideko.dev)
|
|
8
|
+
**/
|
|
9
|
+
/**
|
|
10
|
+
* Generated by Sideko (sideko.dev)
|
|
11
|
+
**/
|
|
6
12
|
export declare class AgentClient extends CoreResourceClient {
|
|
7
13
|
private _buildLazy?;
|
|
8
14
|
constructor(coreClient: CoreClient, opts: ResourceClientOptions);
|
|
@@ -5,6 +5,12 @@
|
|
|
5
5
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
6
|
exports.AgentClient = 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
|
class AgentClient extends make_api_request_js_1.CoreResourceClient {
|
|
9
15
|
constructor(coreClient, opts) {
|
|
10
16
|
super(coreClient, opts);
|
|
@@ -41,3 +41,9 @@ exports.login = __importStar(require("./login"));
|
|
|
41
41
|
exports.refresh = __importStar(require("./refresh"));
|
|
42
42
|
var resource_client_1 = require("./resource-client");
|
|
43
43
|
Object.defineProperty(exports, "AuthClient", { enumerable: true, get: function () { return resource_client_1.AuthClient; } });
|
|
44
|
+
/**
|
|
45
|
+
* Generated by Sideko (sideko.dev)
|
|
46
|
+
**/
|
|
47
|
+
/**
|
|
48
|
+
* Generated by Sideko (sideko.dev)
|
|
49
|
+
**/
|
|
@@ -6,3 +6,9 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
6
6
|
exports.LoginClient = void 0;
|
|
7
7
|
var resource_client_1 = require("./resource-client");
|
|
8
8
|
Object.defineProperty(exports, "LoginClient", { enumerable: true, get: function () { return resource_client_1.LoginClient; } });
|
|
9
|
+
/**
|
|
10
|
+
* Generated by Sideko (sideko.dev)
|
|
11
|
+
**/
|
|
12
|
+
/**
|
|
13
|
+
* Generated by Sideko (sideko.dev)
|
|
14
|
+
**/
|
|
@@ -4,10 +4,18 @@
|
|
|
4
4
|
import { ApiPromise, CoreClient, CoreResourceClient, RequestOptions, ResourceClientOptions } from "make-api-request-js";
|
|
5
5
|
import * as requests from "../../../resources/auth/login/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
|
export declare class LoginClient extends CoreResourceClient {
|
|
8
14
|
constructor(coreClient: CoreClient, opts: ResourceClientOptions);
|
|
9
15
|
/**
|
|
10
|
-
*
|
|
16
|
+
* Log in
|
|
17
|
+
*
|
|
18
|
+
* Authenticate with an email address and password to receive an access token and refresh token.
|
|
11
19
|
*
|
|
12
20
|
* POST /auth/login
|
|
13
21
|
*/
|
|
@@ -7,12 +7,20 @@ exports.LoginClient = void 0;
|
|
|
7
7
|
const make_api_request_js_1 = require("make-api-request-js");
|
|
8
8
|
const auth_login_create_body_1 = require("../../../types/auth-login-create-body");
|
|
9
9
|
const auth_login_create_response_1 = require("../../../types/auth-login-create-response");
|
|
10
|
+
/**
|
|
11
|
+
* Generated by Sideko (sideko.dev)
|
|
12
|
+
**/
|
|
13
|
+
/**
|
|
14
|
+
* Generated by Sideko (sideko.dev)
|
|
15
|
+
**/
|
|
10
16
|
class LoginClient extends make_api_request_js_1.CoreResourceClient {
|
|
11
17
|
constructor(coreClient, opts) {
|
|
12
18
|
super(coreClient, opts);
|
|
13
19
|
}
|
|
14
20
|
/**
|
|
15
|
-
*
|
|
21
|
+
* Log in
|
|
22
|
+
*
|
|
23
|
+
* Authenticate with an email address and password to receive an access token and refresh token.
|
|
16
24
|
*
|
|
17
25
|
* POST /auth/login
|
|
18
26
|
*/
|
|
@@ -6,3 +6,9 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
6
6
|
exports.RefreshClient = void 0;
|
|
7
7
|
var resource_client_1 = require("./resource-client");
|
|
8
8
|
Object.defineProperty(exports, "RefreshClient", { enumerable: true, get: function () { return resource_client_1.RefreshClient; } });
|
|
9
|
+
/**
|
|
10
|
+
* Generated by Sideko (sideko.dev)
|
|
11
|
+
**/
|
|
12
|
+
/**
|
|
13
|
+
* Generated by Sideko (sideko.dev)
|
|
14
|
+
**/
|
|
@@ -4,10 +4,18 @@
|
|
|
4
4
|
import { ApiPromise, CoreClient, CoreResourceClient, RequestOptions, ResourceClientOptions } from "make-api-request-js";
|
|
5
5
|
import * as requests from "../../../resources/auth/refresh/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
|
export declare class RefreshClient extends CoreResourceClient {
|
|
8
14
|
constructor(coreClient: CoreClient, opts: ResourceClientOptions);
|
|
9
15
|
/**
|
|
10
|
-
* Refresh token
|
|
16
|
+
* Refresh an auth token
|
|
17
|
+
*
|
|
18
|
+
* Exchange a valid refresh token for a new access token and refresh token pair.
|
|
11
19
|
*
|
|
12
20
|
* POST /auth/refresh
|
|
13
21
|
*/
|
|
@@ -7,12 +7,20 @@ exports.RefreshClient = void 0;
|
|
|
7
7
|
const make_api_request_js_1 = require("make-api-request-js");
|
|
8
8
|
const auth_refresh_create_body_1 = require("../../../types/auth-refresh-create-body");
|
|
9
9
|
const auth_refresh_create_response_1 = require("../../../types/auth-refresh-create-response");
|
|
10
|
+
/**
|
|
11
|
+
* Generated by Sideko (sideko.dev)
|
|
12
|
+
**/
|
|
13
|
+
/**
|
|
14
|
+
* Generated by Sideko (sideko.dev)
|
|
15
|
+
**/
|
|
10
16
|
class RefreshClient extends make_api_request_js_1.CoreResourceClient {
|
|
11
17
|
constructor(coreClient, opts) {
|
|
12
18
|
super(coreClient, opts);
|
|
13
19
|
}
|
|
14
20
|
/**
|
|
15
|
-
* Refresh token
|
|
21
|
+
* Refresh an auth token
|
|
22
|
+
*
|
|
23
|
+
* Exchange a valid refresh token for a new access token and refresh token pair.
|
|
16
24
|
*
|
|
17
25
|
* POST /auth/refresh
|
|
18
26
|
*/
|
|
@@ -4,6 +4,12 @@
|
|
|
4
4
|
import { CoreClient, CoreResourceClient, ResourceClientOptions } from "make-api-request-js";
|
|
5
5
|
import { LoginClient } from "../../resources/auth/login";
|
|
6
6
|
import { RefreshClient } from "../../resources/auth/refresh";
|
|
7
|
+
/**
|
|
8
|
+
* Generated by Sideko (sideko.dev)
|
|
9
|
+
**/
|
|
10
|
+
/**
|
|
11
|
+
* Generated by Sideko (sideko.dev)
|
|
12
|
+
**/
|
|
7
13
|
export declare class AuthClient extends CoreResourceClient {
|
|
8
14
|
private _refreshLazy?;
|
|
9
15
|
private _loginLazy?;
|
|
@@ -5,6 +5,12 @@
|
|
|
5
5
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
6
|
exports.AuthClient = 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
|
class AuthClient extends make_api_request_js_1.CoreResourceClient {
|
|
9
15
|
constructor(coreClient, opts) {
|
|
10
16
|
super(coreClient, opts);
|