@cadenya/cadenya 0.135.0 → 1.0.1
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 +86 -358
- package/api.md +781 -0
- package/dist/client.d.ts +69 -0
- package/dist/client.d.ts.map +1 -0
- package/dist/client.js +97 -0
- package/dist/client.js.map +1 -0
- package/dist/core/error.d.ts +39 -0
- package/dist/core/error.d.ts.map +1 -0
- package/dist/core/error.js +56 -0
- package/dist/core/error.js.map +1 -0
- package/dist/core/http.d.ts +140 -0
- package/dist/core/http.d.ts.map +1 -0
- package/dist/core/http.js +525 -0
- package/dist/core/http.js.map +1 -0
- package/dist/core/pagination.d.ts +12 -0
- package/dist/core/pagination.d.ts.map +1 -0
- package/dist/core/pagination.js +29 -0
- package/dist/core/pagination.js.map +1 -0
- package/dist/core/sse.d.ts +44 -0
- package/dist/core/sse.d.ts.map +1 -0
- package/dist/core/sse.js +350 -0
- package/dist/core/sse.js.map +1 -0
- package/dist/core/webhooks.d.ts +25 -0
- package/dist/core/webhooks.d.ts.map +1 -0
- package/dist/core/webhooks.js +124 -0
- package/dist/core/webhooks.js.map +1 -0
- package/dist/index.d.ts +35 -0
- package/dist/index.d.ts.map +1 -0
- package/dist/index.js +32 -0
- package/dist/index.js.map +1 -0
- package/dist/resources/accounts.d.ts +34 -0
- package/dist/resources/accounts.d.ts.map +1 -0
- package/dist/resources/accounts.js +47 -0
- package/dist/resources/accounts.js.map +1 -0
- package/dist/resources/agent-schedules.d.ts +186 -0
- package/dist/resources/agent-schedules.d.ts.map +1 -0
- package/dist/resources/agent-schedules.js +141 -0
- package/dist/resources/agent-schedules.js.map +1 -0
- package/dist/resources/agent-variations.d.ts +230 -0
- package/dist/resources/agent-variations.d.ts.map +1 -0
- package/dist/resources/agent-variations.js +174 -0
- package/dist/resources/agent-variations.js.map +1 -0
- package/dist/resources/agents.d.ts +318 -0
- package/dist/resources/agents.d.ts.map +1 -0
- package/dist/resources/agents.js +202 -0
- package/dist/resources/agents.js.map +1 -0
- package/dist/resources/ai-provider-keys.d.ts +141 -0
- package/dist/resources/ai-provider-keys.d.ts.map +1 -0
- package/dist/resources/ai-provider-keys.js +93 -0
- package/dist/resources/ai-provider-keys.js.map +1 -0
- package/dist/resources/api-keys.d.ts +222 -0
- package/dist/resources/api-keys.d.ts.map +1 -0
- package/dist/resources/api-keys.js +194 -0
- package/dist/resources/api-keys.js.map +1 -0
- package/dist/resources/memory-entries.d.ts +122 -0
- package/dist/resources/memory-entries.d.ts.map +1 -0
- package/dist/resources/memory-entries.js +93 -0
- package/dist/resources/memory-entries.js.map +1 -0
- package/dist/resources/memory-layers.d.ts +137 -0
- package/dist/resources/memory-layers.d.ts.map +1 -0
- package/dist/resources/memory-layers.js +97 -0
- package/dist/resources/memory-layers.js.map +1 -0
- package/dist/resources/models.d.ts +148 -0
- package/dist/resources/models.d.ts.map +1 -0
- package/dist/resources/models.js +93 -0
- package/dist/resources/models.js.map +1 -0
- package/dist/resources/objectives.d.ts +602 -0
- package/dist/resources/objectives.d.ts.map +1 -0
- package/dist/resources/objectives.js +356 -0
- package/dist/resources/objectives.js.map +1 -0
- package/dist/resources/profiles.d.ts +16 -0
- package/dist/resources/profiles.d.ts.map +1 -0
- package/dist/resources/profiles.js +21 -0
- package/dist/resources/profiles.js.map +1 -0
- package/dist/resources/tenants.d.ts +135 -0
- package/dist/resources/tenants.d.ts.map +1 -0
- package/dist/resources/tenants.js +80 -0
- package/dist/resources/tenants.js.map +1 -0
- package/dist/resources/tool-search.d.ts +27 -0
- package/dist/resources/tool-search.d.ts.map +1 -0
- package/dist/resources/tool-search.js +25 -0
- package/dist/resources/tool-search.js.map +1 -0
- package/dist/resources/tool-set-secrets.d.ts +128 -0
- package/dist/resources/tool-set-secrets.d.ts.map +1 -0
- package/dist/resources/tool-set-secrets.js +93 -0
- package/dist/resources/tool-set-secrets.js.map +1 -0
- package/dist/resources/tool-sets.d.ts +271 -0
- package/dist/resources/tool-sets.d.ts.map +1 -0
- package/dist/resources/tool-sets.js +185 -0
- package/dist/resources/tool-sets.js.map +1 -0
- package/dist/resources/tools.d.ts +178 -0
- package/dist/resources/tools.d.ts.map +1 -0
- package/dist/resources/tools.js +125 -0
- package/dist/resources/tools.js.map +1 -0
- package/dist/resources/uploads.d.ts +43 -0
- package/dist/resources/uploads.d.ts.map +1 -0
- package/dist/resources/uploads.js +41 -0
- package/dist/resources/uploads.js.map +1 -0
- package/dist/resources/widget-sessions.d.ts +168 -0
- package/dist/resources/widget-sessions.d.ts.map +1 -0
- package/dist/resources/widget-sessions.js +110 -0
- package/dist/resources/widget-sessions.js.map +1 -0
- package/dist/resources/widgets.d.ts +166 -0
- package/dist/resources/widgets.d.ts.map +1 -0
- package/dist/resources/widgets.js +125 -0
- package/dist/resources/widgets.js.map +1 -0
- package/dist/resources/workspace-admin.d.ts +214 -0
- package/dist/resources/workspace-admin.d.ts.map +1 -0
- package/dist/resources/workspace-admin.js +154 -0
- package/dist/resources/workspace-admin.js.map +1 -0
- package/dist/resources/workspace-secrets.d.ts +134 -0
- package/dist/resources/workspace-secrets.d.ts.map +1 -0
- package/dist/resources/workspace-secrets.js +93 -0
- package/dist/resources/workspace-secrets.js.map +1 -0
- package/dist/resources/workspaces.d.ts +44 -0
- package/dist/resources/workspaces.d.ts.map +1 -0
- package/dist/resources/workspaces.js +26 -0
- package/dist/resources/workspaces.js.map +1 -0
- package/dist/types.d.ts +4634 -0
- package/dist/types.d.ts.map +1 -0
- package/dist/types.js +103 -0
- package/dist/types.js.map +1 -0
- package/dist/webhooks.d.ts +93 -0
- package/dist/webhooks.d.ts.map +1 -0
- package/dist/webhooks.js +21 -0
- package/dist/webhooks.js.map +1 -0
- package/package.json +23 -164
- package/src/client.ts +124 -1532
- package/src/core/error.ts +50 -109
- package/src/core/http.ts +639 -0
- package/src/core/pagination.ts +16 -150
- package/src/core/sse.ts +338 -0
- package/src/core/webhooks.ts +141 -0
- package/src/index.ts +35 -20
- package/src/resources/accounts.ts +50 -0
- package/src/resources/agent-schedules.ts +251 -0
- package/src/resources/agent-variations.ts +312 -0
- package/src/resources/agents.ts +411 -1
- package/src/resources/ai-provider-keys.ts +119 -309
- package/src/resources/api-keys.ts +219 -276
- package/src/resources/memory-entries.ts +163 -0
- package/src/resources/memory-layers.ts +181 -1
- package/src/resources/models.ts +125 -372
- package/src/resources/objectives.ts +764 -1
- package/src/resources/profiles.ts +17 -13
- package/src/resources/tenants.ts +168 -1
- package/src/resources/tool-search.ts +36 -0
- package/src/resources/tool-set-secrets.ts +169 -0
- package/src/resources/tool-sets.ts +355 -1
- package/src/resources/tools.ts +235 -0
- package/src/resources/uploads.ts +42 -127
- package/src/resources/widget-sessions.ts +148 -437
- package/src/resources/widgets.ts +155 -247
- package/src/resources/workspace-admin.ts +281 -1
- package/src/resources/workspace-secrets.ts +121 -159
- package/src/resources/workspaces.ts +32 -75
- package/src/types.ts +5188 -0
- package/src/webhooks.ts +107 -0
- package/CHANGELOG.md +0 -1542
- package/api-promise.d.mts +0 -3
- package/api-promise.d.mts.map +0 -1
- package/api-promise.d.ts +0 -3
- package/api-promise.d.ts.map +0 -1
- package/api-promise.js +0 -6
- package/api-promise.js.map +0 -1
- package/api-promise.mjs +0 -3
- package/api-promise.mjs.map +0 -1
- package/client.d.mts +0 -335
- package/client.d.mts.map +0 -1
- package/client.d.ts +0 -335
- package/client.d.ts.map +0 -1
- package/client.js +0 -630
- package/client.js.map +0 -1
- package/client.mjs +0 -626
- package/client.mjs.map +0 -1
- package/core/api-promise.d.mts +0 -46
- package/core/api-promise.d.mts.map +0 -1
- package/core/api-promise.d.ts +0 -46
- package/core/api-promise.d.ts.map +0 -1
- package/core/api-promise.js +0 -73
- package/core/api-promise.js.map +0 -1
- package/core/api-promise.mjs +0 -69
- package/core/api-promise.mjs.map +0 -1
- package/core/error.d.mts +0 -46
- package/core/error.d.mts.map +0 -1
- package/core/error.d.ts +0 -46
- package/core/error.d.ts.map +0 -1
- package/core/error.js +0 -112
- package/core/error.js.map +0 -1
- package/core/error.mjs +0 -96
- package/core/error.mjs.map +0 -1
- package/core/pagination.d.mts +0 -59
- package/core/pagination.d.mts.map +0 -1
- package/core/pagination.d.ts +0 -59
- package/core/pagination.d.ts.map +0 -1
- package/core/pagination.js +0 -100
- package/core/pagination.js.map +0 -1
- package/core/pagination.mjs +0 -94
- package/core/pagination.mjs.map +0 -1
- package/core/resource.d.mts +0 -6
- package/core/resource.d.mts.map +0 -1
- package/core/resource.d.ts +0 -6
- package/core/resource.d.ts.map +0 -1
- package/core/resource.js +0 -10
- package/core/resource.js.map +0 -1
- package/core/resource.mjs +0 -6
- package/core/resource.mjs.map +0 -1
- package/core/streaming.d.mts +0 -33
- package/core/streaming.d.mts.map +0 -1
- package/core/streaming.d.ts +0 -33
- package/core/streaming.d.ts.map +0 -1
- package/core/streaming.js +0 -268
- package/core/streaming.js.map +0 -1
- package/core/streaming.mjs +0 -263
- package/core/streaming.mjs.map +0 -1
- package/core/uploads.d.mts +0 -3
- package/core/uploads.d.mts.map +0 -1
- package/core/uploads.d.ts +0 -3
- package/core/uploads.d.ts.map +0 -1
- package/core/uploads.js +0 -6
- package/core/uploads.js.map +0 -1
- package/core/uploads.mjs +0 -2
- package/core/uploads.mjs.map +0 -1
- package/error.d.mts +0 -3
- package/error.d.mts.map +0 -1
- package/error.d.ts +0 -3
- package/error.d.ts.map +0 -1
- package/error.js +0 -6
- package/error.js.map +0 -1
- package/error.mjs +0 -3
- package/error.mjs.map +0 -1
- package/index.d.mts +0 -7
- package/index.d.mts.map +0 -1
- package/index.d.ts +0 -7
- package/index.d.ts.map +0 -1
- package/index.js +0 -31
- package/index.js.map +0 -1
- package/index.mjs +0 -7
- package/index.mjs.map +0 -1
- package/internal/builtin-types.d.mts +0 -73
- package/internal/builtin-types.d.mts.map +0 -1
- package/internal/builtin-types.d.ts +0 -73
- package/internal/builtin-types.d.ts.map +0 -1
- package/internal/builtin-types.js +0 -3
- package/internal/builtin-types.js.map +0 -1
- package/internal/builtin-types.mjs +0 -2
- package/internal/builtin-types.mjs.map +0 -1
- package/internal/decoders/line.d.mts +0 -17
- package/internal/decoders/line.d.mts.map +0 -1
- package/internal/decoders/line.d.ts +0 -17
- package/internal/decoders/line.d.ts.map +0 -1
- package/internal/decoders/line.js +0 -113
- package/internal/decoders/line.js.map +0 -1
- package/internal/decoders/line.mjs +0 -108
- package/internal/decoders/line.mjs.map +0 -1
- package/internal/detect-platform.d.mts +0 -15
- package/internal/detect-platform.d.mts.map +0 -1
- package/internal/detect-platform.d.ts +0 -15
- package/internal/detect-platform.d.ts.map +0 -1
- package/internal/detect-platform.js +0 -161
- package/internal/detect-platform.js.map +0 -1
- package/internal/detect-platform.mjs +0 -156
- package/internal/detect-platform.mjs.map +0 -1
- package/internal/errors.d.mts +0 -3
- package/internal/errors.d.mts.map +0 -1
- package/internal/errors.d.ts +0 -3
- package/internal/errors.d.ts.map +0 -1
- package/internal/errors.js +0 -40
- package/internal/errors.js.map +0 -1
- package/internal/errors.mjs +0 -35
- package/internal/errors.mjs.map +0 -1
- package/internal/headers.d.mts +0 -20
- package/internal/headers.d.mts.map +0 -1
- package/internal/headers.d.ts +0 -20
- package/internal/headers.d.ts.map +0 -1
- package/internal/headers.js +0 -78
- package/internal/headers.js.map +0 -1
- package/internal/headers.mjs +0 -73
- package/internal/headers.mjs.map +0 -1
- package/internal/parse.d.mts +0 -12
- package/internal/parse.d.mts.map +0 -1
- package/internal/parse.d.ts +0 -12
- package/internal/parse.d.ts.map +0 -1
- package/internal/parse.js +0 -49
- package/internal/parse.js.map +0 -1
- package/internal/parse.mjs +0 -46
- package/internal/parse.mjs.map +0 -1
- package/internal/qs/formats.d.mts +0 -7
- package/internal/qs/formats.d.mts.map +0 -1
- package/internal/qs/formats.d.ts +0 -7
- package/internal/qs/formats.d.ts.map +0 -1
- package/internal/qs/formats.js +0 -13
- package/internal/qs/formats.js.map +0 -1
- package/internal/qs/formats.mjs +0 -9
- package/internal/qs/formats.mjs.map +0 -1
- package/internal/qs/index.d.mts +0 -10
- package/internal/qs/index.d.mts.map +0 -1
- package/internal/qs/index.d.ts +0 -10
- package/internal/qs/index.d.ts.map +0 -1
- package/internal/qs/index.js +0 -14
- package/internal/qs/index.js.map +0 -1
- package/internal/qs/index.mjs +0 -10
- package/internal/qs/index.mjs.map +0 -1
- package/internal/qs/stringify.d.mts +0 -3
- package/internal/qs/stringify.d.mts.map +0 -1
- package/internal/qs/stringify.d.ts +0 -3
- package/internal/qs/stringify.d.ts.map +0 -1
- package/internal/qs/stringify.js +0 -277
- package/internal/qs/stringify.js.map +0 -1
- package/internal/qs/stringify.mjs +0 -274
- package/internal/qs/stringify.mjs.map +0 -1
- package/internal/qs/types.d.mts +0 -57
- package/internal/qs/types.d.mts.map +0 -1
- package/internal/qs/types.d.ts +0 -57
- package/internal/qs/types.d.ts.map +0 -1
- package/internal/qs/types.js +0 -3
- package/internal/qs/types.js.map +0 -1
- package/internal/qs/types.mjs +0 -2
- package/internal/qs/types.mjs.map +0 -1
- package/internal/qs/utils.d.mts +0 -15
- package/internal/qs/utils.d.mts.map +0 -1
- package/internal/qs/utils.d.ts +0 -15
- package/internal/qs/utils.d.ts.map +0 -1
- package/internal/qs/utils.js +0 -230
- package/internal/qs/utils.js.map +0 -1
- package/internal/qs/utils.mjs +0 -217
- package/internal/qs/utils.mjs.map +0 -1
- package/internal/request-options.d.mts +0 -77
- package/internal/request-options.d.mts.map +0 -1
- package/internal/request-options.d.ts +0 -77
- package/internal/request-options.d.ts.map +0 -1
- package/internal/request-options.js +0 -13
- package/internal/request-options.js.map +0 -1
- package/internal/request-options.mjs +0 -9
- package/internal/request-options.mjs.map +0 -1
- package/internal/shim-types.d.mts +0 -17
- package/internal/shim-types.d.mts.map +0 -1
- package/internal/shim-types.d.ts +0 -17
- package/internal/shim-types.d.ts.map +0 -1
- package/internal/shim-types.js +0 -9
- package/internal/shim-types.js.map +0 -1
- package/internal/shim-types.mjs +0 -8
- package/internal/shim-types.mjs.map +0 -1
- package/internal/shims.d.mts +0 -26
- package/internal/shims.d.mts.map +0 -1
- package/internal/shims.d.ts +0 -26
- package/internal/shims.d.ts.map +0 -1
- package/internal/shims.js +0 -97
- package/internal/shims.js.map +0 -1
- package/internal/shims.mjs +0 -90
- package/internal/shims.mjs.map +0 -1
- package/internal/to-file.d.mts +0 -45
- package/internal/to-file.d.mts.map +0 -1
- package/internal/to-file.d.ts +0 -45
- package/internal/to-file.d.ts.map +0 -1
- package/internal/to-file.js +0 -91
- package/internal/to-file.js.map +0 -1
- package/internal/to-file.mjs +0 -88
- package/internal/to-file.mjs.map +0 -1
- package/internal/tslib.js +0 -81
- package/internal/tslib.mjs +0 -17
- package/internal/types.d.mts +0 -69
- package/internal/types.d.mts.map +0 -1
- package/internal/types.d.ts +0 -69
- package/internal/types.d.ts.map +0 -1
- package/internal/types.js +0 -3
- package/internal/types.js.map +0 -1
- package/internal/types.mjs +0 -2
- package/internal/types.mjs.map +0 -1
- package/internal/uploads.d.mts +0 -42
- package/internal/uploads.d.mts.map +0 -1
- package/internal/uploads.d.ts +0 -42
- package/internal/uploads.d.ts.map +0 -1
- package/internal/uploads.js +0 -141
- package/internal/uploads.js.map +0 -1
- package/internal/uploads.mjs +0 -131
- package/internal/uploads.mjs.map +0 -1
- package/internal/utils/base64.d.mts +0 -3
- package/internal/utils/base64.d.mts.map +0 -1
- package/internal/utils/base64.d.ts +0 -3
- package/internal/utils/base64.d.ts.map +0 -1
- package/internal/utils/base64.js +0 -37
- package/internal/utils/base64.js.map +0 -1
- package/internal/utils/base64.mjs +0 -32
- package/internal/utils/base64.mjs.map +0 -1
- package/internal/utils/bytes.d.mts +0 -4
- package/internal/utils/bytes.d.mts.map +0 -1
- package/internal/utils/bytes.d.ts +0 -4
- package/internal/utils/bytes.d.ts.map +0 -1
- package/internal/utils/bytes.js +0 -31
- package/internal/utils/bytes.js.map +0 -1
- package/internal/utils/bytes.mjs +0 -26
- package/internal/utils/bytes.mjs.map +0 -1
- package/internal/utils/env.d.mts +0 -9
- package/internal/utils/env.d.mts.map +0 -1
- package/internal/utils/env.d.ts +0 -9
- package/internal/utils/env.d.ts.map +0 -1
- package/internal/utils/env.js +0 -21
- package/internal/utils/env.js.map +0 -1
- package/internal/utils/env.mjs +0 -17
- package/internal/utils/env.mjs.map +0 -1
- package/internal/utils/log.d.mts +0 -37
- package/internal/utils/log.d.mts.map +0 -1
- package/internal/utils/log.d.ts +0 -37
- package/internal/utils/log.d.ts.map +0 -1
- package/internal/utils/log.js +0 -86
- package/internal/utils/log.js.map +0 -1
- package/internal/utils/log.mjs +0 -80
- package/internal/utils/log.mjs.map +0 -1
- package/internal/utils/path.d.mts +0 -15
- package/internal/utils/path.d.mts.map +0 -1
- package/internal/utils/path.d.ts +0 -15
- package/internal/utils/path.d.ts.map +0 -1
- package/internal/utils/path.js +0 -79
- package/internal/utils/path.js.map +0 -1
- package/internal/utils/path.mjs +0 -74
- package/internal/utils/path.mjs.map +0 -1
- package/internal/utils/query.d.mts +0 -2
- package/internal/utils/query.d.mts.map +0 -1
- package/internal/utils/query.d.ts +0 -2
- package/internal/utils/query.d.ts.map +0 -1
- package/internal/utils/query.js +0 -9
- package/internal/utils/query.js.map +0 -1
- package/internal/utils/query.mjs +0 -5
- package/internal/utils/query.mjs.map +0 -1
- package/internal/utils/sleep.d.mts +0 -2
- package/internal/utils/sleep.d.mts.map +0 -1
- package/internal/utils/sleep.d.ts +0 -2
- package/internal/utils/sleep.d.ts.map +0 -1
- package/internal/utils/sleep.js +0 -6
- package/internal/utils/sleep.js.map +0 -1
- package/internal/utils/sleep.mjs +0 -2
- package/internal/utils/sleep.mjs.map +0 -1
- package/internal/utils/uuid.d.mts +0 -5
- package/internal/utils/uuid.d.mts.map +0 -1
- package/internal/utils/uuid.d.ts +0 -5
- package/internal/utils/uuid.d.ts.map +0 -1
- package/internal/utils/uuid.js +0 -18
- package/internal/utils/uuid.js.map +0 -1
- package/internal/utils/uuid.mjs +0 -14
- package/internal/utils/uuid.mjs.map +0 -1
- package/internal/utils/values.d.mts +0 -18
- package/internal/utils/values.d.mts.map +0 -1
- package/internal/utils/values.d.ts +0 -18
- package/internal/utils/values.d.ts.map +0 -1
- package/internal/utils/values.js +0 -111
- package/internal/utils/values.js.map +0 -1
- package/internal/utils/values.mjs +0 -93
- package/internal/utils/values.mjs.map +0 -1
- package/internal/utils.d.mts +0 -8
- package/internal/utils.d.mts.map +0 -1
- package/internal/utils.d.ts +0 -8
- package/internal/utils.d.ts.map +0 -1
- package/internal/utils.js +0 -11
- package/internal/utils.js.map +0 -1
- package/internal/utils.mjs +0 -8
- package/internal/utils.mjs.map +0 -1
- package/pagination.d.mts +0 -3
- package/pagination.d.mts.map +0 -1
- package/pagination.d.ts +0 -3
- package/pagination.d.ts.map +0 -1
- package/pagination.js +0 -6
- package/pagination.js.map +0 -1
- package/pagination.mjs +0 -3
- package/pagination.mjs.map +0 -1
- package/resource.d.mts +0 -3
- package/resource.d.mts.map +0 -1
- package/resource.d.ts +0 -3
- package/resource.d.ts.map +0 -1
- package/resource.js +0 -6
- package/resource.js.map +0 -1
- package/resource.mjs +0 -3
- package/resource.mjs.map +0 -1
- package/resources/account.d.mts +0 -124
- package/resources/account.d.mts.map +0 -1
- package/resources/account.d.ts +0 -124
- package/resources/account.d.ts.map +0 -1
- package/resources/account.js +0 -32
- package/resources/account.js.map +0 -1
- package/resources/account.mjs +0 -28
- package/resources/account.mjs.map +0 -1
- package/resources/agents/agents.d.mts +0 -379
- package/resources/agents/agents.d.mts.map +0 -1
- package/resources/agents/agents.d.ts +0 -379
- package/resources/agents/agents.d.ts.map +0 -1
- package/resources/agents/agents.js +0 -191
- package/resources/agents/agents.js.map +0 -1
- package/resources/agents/agents.mjs +0 -186
- package/resources/agents/agents.mjs.map +0 -1
- package/resources/agents/feedback.d.mts +0 -71
- package/resources/agents/feedback.d.mts.map +0 -1
- package/resources/agents/feedback.d.ts +0 -71
- package/resources/agents/feedback.d.ts.map +0 -1
- package/resources/agents/feedback.js +0 -33
- package/resources/agents/feedback.js.map +0 -1
- package/resources/agents/feedback.mjs +0 -29
- package/resources/agents/feedback.mjs.map +0 -1
- package/resources/agents/index.d.mts +0 -6
- package/resources/agents/index.d.mts.map +0 -1
- package/resources/agents/index.d.ts +0 -6
- package/resources/agents/index.d.ts.map +0 -1
- package/resources/agents/index.js +0 -14
- package/resources/agents/index.js.map +0 -1
- package/resources/agents/index.mjs +0 -6
- package/resources/agents/index.mjs.map +0 -1
- package/resources/agents/schedules.d.mts +0 -383
- package/resources/agents/schedules.d.mts.map +0 -1
- package/resources/agents/schedules.d.ts +0 -383
- package/resources/agents/schedules.d.ts.map +0 -1
- package/resources/agents/schedules.js +0 -171
- package/resources/agents/schedules.js.map +0 -1
- package/resources/agents/schedules.mjs +0 -167
- package/resources/agents/schedules.mjs.map +0 -1
- package/resources/agents/variations.d.mts +0 -723
- package/resources/agents/variations.d.mts.map +0 -1
- package/resources/agents/variations.d.ts +0 -723
- package/resources/agents/variations.d.ts.map +0 -1
- package/resources/agents/variations.js +0 -208
- package/resources/agents/variations.js.map +0 -1
- package/resources/agents/variations.mjs +0 -204
- package/resources/agents/variations.mjs.map +0 -1
- package/resources/agents/webhook-deliveries.d.mts +0 -96
- package/resources/agents/webhook-deliveries.d.mts.map +0 -1
- package/resources/agents/webhook-deliveries.d.ts +0 -96
- package/resources/agents/webhook-deliveries.d.ts.map +0 -1
- package/resources/agents/webhook-deliveries.js +0 -31
- package/resources/agents/webhook-deliveries.js.map +0 -1
- package/resources/agents/webhook-deliveries.mjs +0 -27
- package/resources/agents/webhook-deliveries.mjs.map +0 -1
- package/resources/agents.d.mts +0 -2
- package/resources/agents.d.mts.map +0 -1
- package/resources/agents.d.ts +0 -2
- package/resources/agents.d.ts.map +0 -1
- package/resources/agents.js +0 -5
- package/resources/agents.js.map +0 -1
- package/resources/agents.mjs +0 -2
- package/resources/agents.mjs.map +0 -1
- package/resources/ai-provider-keys.d.mts +0 -269
- package/resources/ai-provider-keys.d.mts.map +0 -1
- package/resources/ai-provider-keys.d.ts +0 -269
- package/resources/ai-provider-keys.d.ts.map +0 -1
- package/resources/ai-provider-keys.js +0 -52
- package/resources/ai-provider-keys.js.map +0 -1
- package/resources/ai-provider-keys.mjs +0 -48
- package/resources/ai-provider-keys.mjs.map +0 -1
- package/resources/api-keys.d.mts +0 -268
- package/resources/api-keys.d.mts.map +0 -1
- package/resources/api-keys.d.ts +0 -268
- package/resources/api-keys.d.ts.map +0 -1
- package/resources/api-keys.js +0 -83
- package/resources/api-keys.js.map +0 -1
- package/resources/api-keys.mjs +0 -79
- package/resources/api-keys.mjs.map +0 -1
- package/resources/global-api-key.d.mts +0 -33
- package/resources/global-api-key.d.mts.map +0 -1
- package/resources/global-api-key.d.ts +0 -33
- package/resources/global-api-key.d.ts.map +0 -1
- package/resources/global-api-key.js +0 -42
- package/resources/global-api-key.js.map +0 -1
- package/resources/global-api-key.mjs +0 -38
- package/resources/global-api-key.mjs.map +0 -1
- package/resources/index.d.mts +0 -21
- package/resources/index.d.mts.map +0 -1
- package/resources/index.d.ts +0 -21
- package/resources/index.d.ts.map +0 -1
- package/resources/index.js +0 -44
- package/resources/index.js.map +0 -1
- package/resources/index.mjs +0 -21
- package/resources/index.mjs.map +0 -1
- package/resources/memory-layers/entries.d.mts +0 -257
- package/resources/memory-layers/entries.d.mts.map +0 -1
- package/resources/memory-layers/entries.d.ts +0 -257
- package/resources/memory-layers/entries.d.ts.map +0 -1
- package/resources/memory-layers/entries.js +0 -58
- package/resources/memory-layers/entries.js.map +0 -1
- package/resources/memory-layers/entries.mjs +0 -54
- package/resources/memory-layers/entries.mjs.map +0 -1
- package/resources/memory-layers/index.d.mts +0 -3
- package/resources/memory-layers/index.d.mts.map +0 -1
- package/resources/memory-layers/index.d.ts +0 -3
- package/resources/memory-layers/index.d.ts.map +0 -1
- package/resources/memory-layers/index.js +0 -8
- package/resources/memory-layers/index.js.map +0 -1
- package/resources/memory-layers/index.mjs +0 -3
- package/resources/memory-layers/index.mjs.map +0 -1
- package/resources/memory-layers/memory-layers.d.mts +0 -196
- package/resources/memory-layers/memory-layers.d.mts.map +0 -1
- package/resources/memory-layers/memory-layers.d.ts +0 -196
- package/resources/memory-layers/memory-layers.d.ts.map +0 -1
- package/resources/memory-layers/memory-layers.js +0 -63
- package/resources/memory-layers/memory-layers.js.map +0 -1
- package/resources/memory-layers/memory-layers.mjs +0 -58
- package/resources/memory-layers/memory-layers.mjs.map +0 -1
- package/resources/memory-layers.d.mts +0 -2
- package/resources/memory-layers.d.mts.map +0 -1
- package/resources/memory-layers.d.ts +0 -2
- package/resources/memory-layers.d.ts.map +0 -1
- package/resources/memory-layers.js +0 -5
- package/resources/memory-layers.js.map +0 -1
- package/resources/memory-layers.mjs +0 -2
- package/resources/memory-layers.mjs.map +0 -1
- package/resources/models.d.mts +0 -315
- package/resources/models.d.mts.map +0 -1
- package/resources/models.d.ts +0 -315
- package/resources/models.d.ts.map +0 -1
- package/resources/models.js +0 -59
- package/resources/models.js.map +0 -1
- package/resources/models.mjs +0 -55
- package/resources/models.mjs.map +0 -1
- package/resources/objectives/feedback.d.mts +0 -126
- package/resources/objectives/feedback.d.mts.map +0 -1
- package/resources/objectives/feedback.d.ts +0 -126
- package/resources/objectives/feedback.d.ts.map +0 -1
- package/resources/objectives/feedback.js +0 -52
- package/resources/objectives/feedback.js.map +0 -1
- package/resources/objectives/feedback.mjs +0 -48
- package/resources/objectives/feedback.mjs.map +0 -1
- package/resources/objectives/index.d.mts +0 -6
- package/resources/objectives/index.d.mts.map +0 -1
- package/resources/objectives/index.d.ts +0 -6
- package/resources/objectives/index.d.ts.map +0 -1
- package/resources/objectives/index.js +0 -14
- package/resources/objectives/index.js.map +0 -1
- package/resources/objectives/index.mjs +0 -6
- package/resources/objectives/index.mjs.map +0 -1
- package/resources/objectives/objectives.d.mts +0 -1280
- package/resources/objectives/objectives.d.mts.map +0 -1
- package/resources/objectives/objectives.d.ts +0 -1280
- package/resources/objectives/objectives.d.ts.map +0 -1
- package/resources/objectives/objectives.js +0 -213
- package/resources/objectives/objectives.js.map +0 -1
- package/resources/objectives/objectives.mjs +0 -208
- package/resources/objectives/objectives.mjs.map +0 -1
- package/resources/objectives/tasks.d.mts +0 -88
- package/resources/objectives/tasks.d.mts.map +0 -1
- package/resources/objectives/tasks.d.ts +0 -88
- package/resources/objectives/tasks.d.ts.map +0 -1
- package/resources/objectives/tasks.js +0 -45
- package/resources/objectives/tasks.js.map +0 -1
- package/resources/objectives/tasks.mjs +0 -41
- package/resources/objectives/tasks.mjs.map +0 -1
- package/resources/objectives/tool-calls.d.mts +0 -379
- package/resources/objectives/tool-calls.d.mts.map +0 -1
- package/resources/objectives/tool-calls.d.ts +0 -379
- package/resources/objectives/tool-calls.d.ts.map +0 -1
- package/resources/objectives/tool-calls.js +0 -110
- package/resources/objectives/tool-calls.js.map +0 -1
- package/resources/objectives/tool-calls.mjs +0 -106
- package/resources/objectives/tool-calls.mjs.map +0 -1
- package/resources/objectives/tools.d.mts +0 -53
- package/resources/objectives/tools.d.mts.map +0 -1
- package/resources/objectives/tools.d.ts +0 -53
- package/resources/objectives/tools.d.ts.map +0 -1
- package/resources/objectives/tools.js +0 -28
- package/resources/objectives/tools.js.map +0 -1
- package/resources/objectives/tools.mjs +0 -24
- package/resources/objectives/tools.mjs.map +0 -1
- package/resources/objectives.d.mts +0 -2
- package/resources/objectives.d.mts.map +0 -1
- package/resources/objectives.d.ts +0 -2
- package/resources/objectives.d.ts.map +0 -1
- package/resources/objectives.js +0 -5
- package/resources/objectives.js.map +0 -1
- package/resources/objectives.mjs +0 -2
- package/resources/objectives.mjs.map +0 -1
- package/resources/profiles.d.mts +0 -16
- package/resources/profiles.d.mts.map +0 -1
- package/resources/profiles.d.ts +0 -16
- package/resources/profiles.d.ts.map +0 -1
- package/resources/profiles.js +0 -19
- package/resources/profiles.js.map +0 -1
- package/resources/profiles.mjs +0 -15
- package/resources/profiles.mjs.map +0 -1
- package/resources/search.d.mts +0 -33
- package/resources/search.d.mts.map +0 -1
- package/resources/search.d.ts +0 -33
- package/resources/search.d.ts.map +0 -1
- package/resources/search.js +0 -19
- package/resources/search.js.map +0 -1
- package/resources/search.mjs +0 -15
- package/resources/search.mjs.map +0 -1
- package/resources/shared.d.mts +0 -215
- package/resources/shared.d.mts.map +0 -1
- package/resources/shared.d.ts +0 -215
- package/resources/shared.d.ts.map +0 -1
- package/resources/shared.js +0 -3
- package/resources/shared.js.map +0 -1
- package/resources/shared.mjs +0 -2
- package/resources/shared.mjs.map +0 -1
- package/resources/tenants/index.d.mts +0 -3
- package/resources/tenants/index.d.mts.map +0 -1
- package/resources/tenants/index.d.ts +0 -3
- package/resources/tenants/index.d.ts.map +0 -1
- package/resources/tenants/index.js +0 -8
- package/resources/tenants/index.js.map +0 -1
- package/resources/tenants/index.mjs +0 -3
- package/resources/tenants/index.mjs.map +0 -1
- package/resources/tenants/subjects.d.mts +0 -43
- package/resources/tenants/subjects.d.mts.map +0 -1
- package/resources/tenants/subjects.d.ts +0 -43
- package/resources/tenants/subjects.d.ts.map +0 -1
- package/resources/tenants/subjects.js +0 -26
- package/resources/tenants/subjects.js.map +0 -1
- package/resources/tenants/subjects.mjs +0 -22
- package/resources/tenants/subjects.mjs.map +0 -1
- package/resources/tenants/tenants.d.mts +0 -158
- package/resources/tenants/tenants.d.mts.map +0 -1
- package/resources/tenants/tenants.d.ts +0 -158
- package/resources/tenants/tenants.d.ts.map +0 -1
- package/resources/tenants/tenants.js +0 -57
- package/resources/tenants/tenants.js.map +0 -1
- package/resources/tenants/tenants.mjs +0 -52
- package/resources/tenants/tenants.mjs.map +0 -1
- package/resources/tenants.d.mts +0 -2
- package/resources/tenants.d.mts.map +0 -1
- package/resources/tenants.d.ts +0 -2
- package/resources/tenants.d.ts.map +0 -1
- package/resources/tenants.js +0 -5
- package/resources/tenants.js.map +0 -1
- package/resources/tenants.mjs +0 -2
- package/resources/tenants.mjs.map +0 -1
- package/resources/tool-sets/index.d.mts +0 -4
- package/resources/tool-sets/index.d.mts.map +0 -1
- package/resources/tool-sets/index.d.ts +0 -4
- package/resources/tool-sets/index.d.ts.map +0 -1
- package/resources/tool-sets/index.js +0 -10
- package/resources/tool-sets/index.js.map +0 -1
- package/resources/tool-sets/index.mjs +0 -4
- package/resources/tool-sets/index.mjs.map +0 -1
- package/resources/tool-sets/secrets.d.mts +0 -135
- package/resources/tool-sets/secrets.d.mts.map +0 -1
- package/resources/tool-sets/secrets.d.ts +0 -135
- package/resources/tool-sets/secrets.d.ts.map +0 -1
- package/resources/tool-sets/secrets.js +0 -62
- package/resources/tool-sets/secrets.js.map +0 -1
- package/resources/tool-sets/secrets.mjs +0 -58
- package/resources/tool-sets/secrets.mjs.map +0 -1
- package/resources/tool-sets/tool-sets.d.mts +0 -595
- package/resources/tool-sets/tool-sets.d.mts.map +0 -1
- package/resources/tool-sets/tool-sets.d.ts +0 -595
- package/resources/tool-sets/tool-sets.d.ts.map +0 -1
- package/resources/tool-sets/tool-sets.js +0 -122
- package/resources/tool-sets/tool-sets.js.map +0 -1
- package/resources/tool-sets/tool-sets.mjs +0 -117
- package/resources/tool-sets/tool-sets.mjs.map +0 -1
- package/resources/tool-sets/tools.d.mts +0 -305
- package/resources/tool-sets/tools.d.mts.map +0 -1
- package/resources/tool-sets/tools.d.ts +0 -305
- package/resources/tool-sets/tools.d.ts.map +0 -1
- package/resources/tool-sets/tools.js +0 -84
- package/resources/tool-sets/tools.js.map +0 -1
- package/resources/tool-sets/tools.mjs +0 -80
- package/resources/tool-sets/tools.mjs.map +0 -1
- package/resources/tool-sets.d.mts +0 -2
- package/resources/tool-sets.d.mts.map +0 -1
- package/resources/tool-sets.d.ts +0 -2
- package/resources/tool-sets.d.ts.map +0 -1
- package/resources/tool-sets.js +0 -5
- package/resources/tool-sets.js.map +0 -1
- package/resources/tool-sets.mjs +0 -2
- package/resources/tool-sets.mjs.map +0 -1
- package/resources/uploads.d.mts +0 -107
- package/resources/uploads.d.mts.map +0 -1
- package/resources/uploads.d.ts +0 -107
- package/resources/uploads.d.ts.map +0 -1
- package/resources/uploads.js +0 -30
- package/resources/uploads.js.map +0 -1
- package/resources/uploads.mjs +0 -26
- package/resources/uploads.mjs.map +0 -1
- package/resources/webhooks.d.mts +0 -92
- package/resources/webhooks.d.mts.map +0 -1
- package/resources/webhooks.d.ts +0 -92
- package/resources/webhooks.d.ts.map +0 -1
- package/resources/webhooks.js +0 -22
- package/resources/webhooks.js.map +0 -1
- package/resources/webhooks.mjs +0 -18
- package/resources/webhooks.mjs.map +0 -1
- package/resources/widget-sessions.d.mts +0 -388
- package/resources/widget-sessions.d.mts.map +0 -1
- package/resources/widget-sessions.d.ts +0 -388
- package/resources/widget-sessions.d.ts.map +0 -1
- package/resources/widget-sessions.js +0 -78
- package/resources/widget-sessions.js.map +0 -1
- package/resources/widget-sessions.mjs +0 -74
- package/resources/widget-sessions.mjs.map +0 -1
- package/resources/widgets.d.mts +0 -225
- package/resources/widgets.d.mts.map +0 -1
- package/resources/widgets.d.ts +0 -225
- package/resources/widgets.d.ts.map +0 -1
- package/resources/widgets.js +0 -82
- package/resources/widgets.js.map +0 -1
- package/resources/widgets.mjs +0 -78
- package/resources/widgets.mjs.map +0 -1
- package/resources/workspace-admin/index.d.mts +0 -4
- package/resources/workspace-admin/index.d.mts.map +0 -1
- package/resources/workspace-admin/index.d.ts +0 -4
- package/resources/workspace-admin/index.d.ts.map +0 -1
- package/resources/workspace-admin/index.js +0 -10
- package/resources/workspace-admin/index.js.map +0 -1
- package/resources/workspace-admin/index.mjs +0 -4
- package/resources/workspace-admin/index.mjs.map +0 -1
- package/resources/workspace-admin/members.d.mts +0 -90
- package/resources/workspace-admin/members.d.mts.map +0 -1
- package/resources/workspace-admin/members.d.ts +0 -90
- package/resources/workspace-admin/members.d.ts.map +0 -1
- package/resources/workspace-admin/members.js +0 -73
- package/resources/workspace-admin/members.js.map +0 -1
- package/resources/workspace-admin/members.mjs +0 -69
- package/resources/workspace-admin/members.mjs.map +0 -1
- package/resources/workspace-admin/profiles.d.mts +0 -46
- package/resources/workspace-admin/profiles.d.mts.map +0 -1
- package/resources/workspace-admin/profiles.d.ts +0 -46
- package/resources/workspace-admin/profiles.d.ts.map +0 -1
- package/resources/workspace-admin/profiles.js +0 -35
- package/resources/workspace-admin/profiles.js.map +0 -1
- package/resources/workspace-admin/profiles.mjs +0 -31
- package/resources/workspace-admin/profiles.mjs.map +0 -1
- package/resources/workspace-admin/workspace-admin.d.mts +0 -227
- package/resources/workspace-admin/workspace-admin.d.mts.map +0 -1
- package/resources/workspace-admin/workspace-admin.d.ts +0 -227
- package/resources/workspace-admin/workspace-admin.d.ts.map +0 -1
- package/resources/workspace-admin/workspace-admin.js +0 -111
- package/resources/workspace-admin/workspace-admin.js.map +0 -1
- package/resources/workspace-admin/workspace-admin.mjs +0 -106
- package/resources/workspace-admin/workspace-admin.mjs.map +0 -1
- package/resources/workspace-admin.d.mts +0 -2
- package/resources/workspace-admin.d.mts.map +0 -1
- package/resources/workspace-admin.d.ts +0 -2
- package/resources/workspace-admin.d.ts.map +0 -1
- package/resources/workspace-admin.js +0 -5
- package/resources/workspace-admin.js.map +0 -1
- package/resources/workspace-admin.mjs +0 -2
- package/resources/workspace-admin.mjs.map +0 -1
- package/resources/workspace-secrets.d.mts +0 -134
- package/resources/workspace-secrets.d.mts.map +0 -1
- package/resources/workspace-secrets.d.ts +0 -134
- package/resources/workspace-secrets.d.ts.map +0 -1
- package/resources/workspace-secrets.js +0 -52
- package/resources/workspace-secrets.js.map +0 -1
- package/resources/workspace-secrets.mjs +0 -48
- package/resources/workspace-secrets.mjs.map +0 -1
- package/resources/workspaces.d.mts +0 -70
- package/resources/workspaces.d.mts.map +0 -1
- package/resources/workspaces.d.ts +0 -70
- package/resources/workspaces.d.ts.map +0 -1
- package/resources/workspaces.js +0 -23
- package/resources/workspaces.js.map +0 -1
- package/resources/workspaces.mjs +0 -19
- package/resources/workspaces.mjs.map +0 -1
- package/resources.d.mts +0 -2
- package/resources.d.mts.map +0 -1
- package/resources.d.ts +0 -2
- package/resources.d.ts.map +0 -1
- package/resources.js +0 -5
- package/resources.js.map +0 -1
- package/resources.mjs +0 -2
- package/resources.mjs.map +0 -1
- package/src/api-promise.ts +0 -2
- package/src/core/README.md +0 -3
- package/src/core/api-promise.ts +0 -90
- package/src/core/resource.ts +0 -9
- package/src/core/streaming.ts +0 -319
- package/src/core/uploads.ts +0 -2
- package/src/error.ts +0 -2
- package/src/internal/README.md +0 -3
- package/src/internal/builtin-types.ts +0 -91
- package/src/internal/decoders/line.ts +0 -135
- package/src/internal/detect-platform.ts +0 -194
- package/src/internal/errors.ts +0 -31
- package/src/internal/headers.ts +0 -95
- package/src/internal/parse.ts +0 -68
- package/src/internal/qs/LICENSE.md +0 -13
- package/src/internal/qs/README.md +0 -3
- package/src/internal/qs/formats.ts +0 -10
- package/src/internal/qs/index.ts +0 -13
- package/src/internal/qs/stringify.ts +0 -385
- package/src/internal/qs/types.ts +0 -71
- package/src/internal/qs/utils.ts +0 -265
- package/src/internal/request-options.ts +0 -91
- package/src/internal/shim-types.ts +0 -24
- package/src/internal/shims.ts +0 -105
- package/src/internal/to-file.ts +0 -154
- package/src/internal/types.ts +0 -91
- package/src/internal/uploads.ts +0 -187
- package/src/internal/utils/base64.ts +0 -38
- package/src/internal/utils/bytes.ts +0 -32
- package/src/internal/utils/env.ts +0 -16
- package/src/internal/utils/log.ts +0 -126
- package/src/internal/utils/path.ts +0 -88
- package/src/internal/utils/query.ts +0 -5
- package/src/internal/utils/sleep.ts +0 -1
- package/src/internal/utils/uuid.ts +0 -15
- package/src/internal/utils/values.ts +0 -103
- package/src/internal/utils.ts +0 -7
- package/src/lib/.keep +0 -3
- package/src/pagination.ts +0 -2
- package/src/resource.ts +0 -2
- package/src/resources/account.ts +0 -158
- package/src/resources/agents/agents.ts +0 -616
- package/src/resources/agents/feedback.ts +0 -96
- package/src/resources/agents/index.ts +0 -75
- package/src/resources/agents/schedules.ts +0 -541
- package/src/resources/agents/variations.ts +0 -981
- package/src/resources/agents/webhook-deliveries.ts +0 -176
- package/src/resources/global-api-key.ts +0 -44
- package/src/resources/index.ts +0 -307
- package/src/resources/memory-layers/entries.ts +0 -373
- package/src/resources/memory-layers/index.ts +0 -29
- package/src/resources/memory-layers/memory-layers.ts +0 -314
- package/src/resources/objectives/feedback.ts +0 -171
- package/src/resources/objectives/index.ts +0 -115
- package/src/resources/objectives/objectives.ts +0 -1787
- package/src/resources/objectives/tasks.ts +0 -129
- package/src/resources/objectives/tool-calls.ts +0 -572
- package/src/resources/objectives/tools.ts +0 -74
- package/src/resources/search.ts +0 -52
- package/src/resources/shared.ts +0 -234
- package/src/resources/tenants/index.ts +0 -13
- package/src/resources/tenants/subjects.ts +0 -61
- package/src/resources/tenants/tenants.ts +0 -218
- package/src/resources/tool-sets/index.ts +0 -87
- package/src/resources/tool-sets/secrets.ts +0 -223
- package/src/resources/tool-sets/tool-sets.ts +0 -934
- package/src/resources/tool-sets/tools.ts +0 -456
- package/src/resources/webhooks.ts +0 -122
- package/src/resources/workspace-admin/index.ts +0 -12
- package/src/resources/workspace-admin/members.ts +0 -131
- package/src/resources/workspace-admin/profiles.ts +0 -58
- package/src/resources/workspace-admin/workspace-admin.ts +0 -302
- package/src/resources.ts +0 -1
- package/src/streaming.ts +0 -2
- package/src/tsconfig.json +0 -11
- package/src/uploads.ts +0 -2
- package/src/version.ts +0 -1
- package/streaming.d.mts +0 -3
- package/streaming.d.mts.map +0 -1
- package/streaming.d.ts +0 -3
- package/streaming.d.ts.map +0 -1
- package/streaming.js +0 -6
- package/streaming.js.map +0 -1
- package/streaming.mjs +0 -3
- package/streaming.mjs.map +0 -1
- package/uploads.d.mts +0 -3
- package/uploads.d.mts.map +0 -1
- package/uploads.d.ts +0 -3
- package/uploads.d.ts.map +0 -1
- package/uploads.js +0 -6
- package/uploads.js.map +0 -1
- package/uploads.mjs +0 -3
- package/uploads.mjs.map +0 -1
- package/version.d.mts +0 -2
- package/version.d.mts.map +0 -1
- package/version.d.ts +0 -2
- package/version.d.ts.map +0 -1
- package/version.js +0 -5
- package/version.js.map +0 -1
- package/version.mjs +0 -2
- package/version.mjs.map +0 -1
package/api.md
ADDED
|
@@ -0,0 +1,781 @@
|
|
|
1
|
+
# Cadenya TypeScript SDK reference
|
|
2
|
+
|
|
3
|
+
Plain methods return an awaitable APIPromise (with `.withResponse()` and
|
|
4
|
+
`.asResponse()` for raw Response access); pagination and streaming methods
|
|
5
|
+
return a Promise of a Page or Stream. See README.md for usage patterns.
|
|
6
|
+
|
|
7
|
+
## accounts
|
|
8
|
+
|
|
9
|
+
Retrieves the current account for the token accessing the API
|
|
10
|
+
|
|
11
|
+
```ts
|
|
12
|
+
client.accounts.retrieve(options?: RequestOptions): APIPromise<Account>
|
|
13
|
+
```
|
|
14
|
+
Rotates the challenge token for the account
|
|
15
|
+
|
|
16
|
+
```ts
|
|
17
|
+
client.accounts.rotateChallengeToken(options?: RequestOptions): APIPromise<RotateChallengeTokenResponse>
|
|
18
|
+
```
|
|
19
|
+
Rotates the webhook signing key for the account
|
|
20
|
+
|
|
21
|
+
```ts
|
|
22
|
+
client.accounts.rotateWebhookSigningKey(options?: RequestOptions): APIPromise<RotateWebhookEventsHmacSecretResponse>
|
|
23
|
+
```
|
|
24
|
+
|
|
25
|
+
## apiKeys
|
|
26
|
+
|
|
27
|
+
Get the global API key
|
|
28
|
+
|
|
29
|
+
```ts
|
|
30
|
+
client.apiKeys.retrieveGlobal(options?: RequestOptions): APIPromise<APIKey>
|
|
31
|
+
```
|
|
32
|
+
Disable the global API key
|
|
33
|
+
|
|
34
|
+
```ts
|
|
35
|
+
client.apiKeys.disableGlobal(options?: RequestOptions): APIPromise<APIKey>
|
|
36
|
+
```
|
|
37
|
+
Enable the global API key
|
|
38
|
+
|
|
39
|
+
```ts
|
|
40
|
+
client.apiKeys.enableGlobal(options?: RequestOptions): APIPromise<APIKey>
|
|
41
|
+
```
|
|
42
|
+
Rotate the global API key
|
|
43
|
+
|
|
44
|
+
```ts
|
|
45
|
+
client.apiKeys.rotateGlobal(options?: RequestOptions): APIPromise<APIKey>
|
|
46
|
+
```
|
|
47
|
+
List API keys
|
|
48
|
+
|
|
49
|
+
```ts
|
|
50
|
+
client.apiKeys.list(params?: ApiKeyListParams, options?: RequestOptions): Promise<Page<APIKey>>
|
|
51
|
+
```
|
|
52
|
+
Create a new API key
|
|
53
|
+
|
|
54
|
+
```ts
|
|
55
|
+
client.apiKeys.create(params: ApiKeyCreateParams, options?: RequestOptions): APIPromise<APIKey>
|
|
56
|
+
```
|
|
57
|
+
Get an API key by ID
|
|
58
|
+
|
|
59
|
+
```ts
|
|
60
|
+
client.apiKeys.retrieve(id: string, params?: ApiKeyRetrieveParams, options?: RequestOptions): APIPromise<APIKey>
|
|
61
|
+
```
|
|
62
|
+
Delete an API key
|
|
63
|
+
|
|
64
|
+
```ts
|
|
65
|
+
client.apiKeys.delete(id: string, params?: ApiKeyDeleteParams, options?: RequestOptions): APIPromise<void>
|
|
66
|
+
```
|
|
67
|
+
Update an API key
|
|
68
|
+
|
|
69
|
+
```ts
|
|
70
|
+
client.apiKeys.update(id: string, params?: ApiKeyUpdateParams, options?: RequestOptions): APIPromise<APIKey>
|
|
71
|
+
```
|
|
72
|
+
Disable an API key
|
|
73
|
+
|
|
74
|
+
```ts
|
|
75
|
+
client.apiKeys.disable(id: string, params?: ApiKeyDisableParams, options?: RequestOptions): APIPromise<APIKey>
|
|
76
|
+
```
|
|
77
|
+
Enable an API key
|
|
78
|
+
|
|
79
|
+
```ts
|
|
80
|
+
client.apiKeys.enable(id: string, params?: ApiKeyEnableParams, options?: RequestOptions): APIPromise<APIKey>
|
|
81
|
+
```
|
|
82
|
+
Rotate an API key
|
|
83
|
+
|
|
84
|
+
```ts
|
|
85
|
+
client.apiKeys.rotate(id: string, params?: ApiKeyRotateParams, options?: RequestOptions): APIPromise<APIKey>
|
|
86
|
+
```
|
|
87
|
+
|
|
88
|
+
## workspaceAdmin
|
|
89
|
+
|
|
90
|
+
Search account profiles
|
|
91
|
+
|
|
92
|
+
```ts
|
|
93
|
+
client.workspaceAdmin.listProfiles(params?: WorkspaceAdminListProfilesParams, options?: RequestOptions): Promise<Page<Profile>>
|
|
94
|
+
```
|
|
95
|
+
List all workspaces in the account
|
|
96
|
+
|
|
97
|
+
```ts
|
|
98
|
+
client.workspaceAdmin.listAccount(params?: WorkspaceAdminListAccountParams, options?: RequestOptions): Promise<Page<Workspace>>
|
|
99
|
+
```
|
|
100
|
+
Create a workspace
|
|
101
|
+
|
|
102
|
+
```ts
|
|
103
|
+
client.workspaceAdmin.create(params: WorkspaceAdminCreateParams, options?: RequestOptions): APIPromise<Workspace>
|
|
104
|
+
```
|
|
105
|
+
Get a workspace by ID
|
|
106
|
+
|
|
107
|
+
```ts
|
|
108
|
+
client.workspaceAdmin.retrieve(params?: WorkspaceAdminRetrieveParams, options?: RequestOptions): APIPromise<Workspace>
|
|
109
|
+
```
|
|
110
|
+
Archive a workspace
|
|
111
|
+
|
|
112
|
+
```ts
|
|
113
|
+
client.workspaceAdmin.archive(params?: WorkspaceAdminArchiveParams, options?: RequestOptions): APIPromise<void>
|
|
114
|
+
```
|
|
115
|
+
Update a workspace
|
|
116
|
+
|
|
117
|
+
```ts
|
|
118
|
+
client.workspaceAdmin.update(params?: WorkspaceAdminUpdateParams, options?: RequestOptions): APIPromise<Workspace>
|
|
119
|
+
```
|
|
120
|
+
List workspace members
|
|
121
|
+
|
|
122
|
+
```ts
|
|
123
|
+
client.workspaceAdmin.listMembers(params?: WorkspaceAdminListMembersParams, options?: RequestOptions): Promise<Page<WorkspaceMember>>
|
|
124
|
+
```
|
|
125
|
+
Add a member to a workspace
|
|
126
|
+
|
|
127
|
+
```ts
|
|
128
|
+
client.workspaceAdmin.addMember(params?: WorkspaceAdminAddMemberParams, options?: RequestOptions): APIPromise<WorkspaceMember>
|
|
129
|
+
```
|
|
130
|
+
Remove a member from a workspace
|
|
131
|
+
|
|
132
|
+
```ts
|
|
133
|
+
client.workspaceAdmin.removeMember(profileId: string, params?: WorkspaceAdminRemoveMemberParams, options?: RequestOptions): APIPromise<void>
|
|
134
|
+
```
|
|
135
|
+
|
|
136
|
+
## profiles
|
|
137
|
+
|
|
138
|
+
Retrieves the profile for the credentials accessing the API
|
|
139
|
+
|
|
140
|
+
```ts
|
|
141
|
+
client.profiles.whoami(options?: RequestOptions): APIPromise<Profile>
|
|
142
|
+
```
|
|
143
|
+
|
|
144
|
+
## workspaces
|
|
145
|
+
|
|
146
|
+
List workspaces
|
|
147
|
+
|
|
148
|
+
```ts
|
|
149
|
+
client.workspaces.list(params?: WorkspaceListParams, options?: RequestOptions): Promise<Page<Workspace>>
|
|
150
|
+
```
|
|
151
|
+
|
|
152
|
+
## agents
|
|
153
|
+
|
|
154
|
+
List agents
|
|
155
|
+
|
|
156
|
+
```ts
|
|
157
|
+
client.agents.list(params?: AgentListParams, options?: RequestOptions): Promise<Page<Agent>>
|
|
158
|
+
```
|
|
159
|
+
Create a new agent
|
|
160
|
+
|
|
161
|
+
```ts
|
|
162
|
+
client.agents.create(params: AgentCreateParams, options?: RequestOptions): APIPromise<Agent>
|
|
163
|
+
```
|
|
164
|
+
List feedback for an agent
|
|
165
|
+
|
|
166
|
+
```ts
|
|
167
|
+
client.agents.listFeedback(agentId: string, params?: AgentListFeedbackParams, options?: RequestOptions): Promise<Page<ObjectiveFeedback>>
|
|
168
|
+
```
|
|
169
|
+
List webhook deliveries
|
|
170
|
+
|
|
171
|
+
```ts
|
|
172
|
+
client.agents.listWebhookDeliveries(agentId: string, params?: AgentListWebhookDeliveriesParams, options?: RequestOptions): Promise<Page<WebhookDelivery>>
|
|
173
|
+
```
|
|
174
|
+
Get an agent by ID
|
|
175
|
+
|
|
176
|
+
```ts
|
|
177
|
+
client.agents.retrieve(id: string, params?: AgentRetrieveParams, options?: RequestOptions): APIPromise<Agent>
|
|
178
|
+
```
|
|
179
|
+
Delete an agent
|
|
180
|
+
|
|
181
|
+
```ts
|
|
182
|
+
client.agents.delete(id: string, params?: AgentDeleteParams, options?: RequestOptions): APIPromise<void>
|
|
183
|
+
```
|
|
184
|
+
Update an agent
|
|
185
|
+
|
|
186
|
+
```ts
|
|
187
|
+
client.agents.update(id: string, params?: AgentUpdateParams, options?: RequestOptions): APIPromise<Agent>
|
|
188
|
+
```
|
|
189
|
+
Archive an agent
|
|
190
|
+
|
|
191
|
+
```ts
|
|
192
|
+
client.agents.archive(id: string, params?: AgentArchiveParams, options?: RequestOptions): APIPromise<Agent>
|
|
193
|
+
```
|
|
194
|
+
Publish an agent
|
|
195
|
+
|
|
196
|
+
```ts
|
|
197
|
+
client.agents.publish(id: string, params?: AgentPublishParams, options?: RequestOptions): APIPromise<Agent>
|
|
198
|
+
```
|
|
199
|
+
Unarchive an agent
|
|
200
|
+
|
|
201
|
+
```ts
|
|
202
|
+
client.agents.unarchive(id: string, params?: AgentUnarchiveParams, options?: RequestOptions): APIPromise<Agent>
|
|
203
|
+
```
|
|
204
|
+
Unpublish an agent
|
|
205
|
+
|
|
206
|
+
```ts
|
|
207
|
+
client.agents.unpublish(id: string, params?: AgentUnpublishParams, options?: RequestOptions): APIPromise<Agent>
|
|
208
|
+
```
|
|
209
|
+
|
|
210
|
+
## agents.schedules
|
|
211
|
+
|
|
212
|
+
List schedules
|
|
213
|
+
|
|
214
|
+
```ts
|
|
215
|
+
client.agents.schedules.list(agentId: string, params?: AgentScheduleListParams, options?: RequestOptions): Promise<Page<AgentSchedule>>
|
|
216
|
+
```
|
|
217
|
+
Create a new schedule
|
|
218
|
+
|
|
219
|
+
```ts
|
|
220
|
+
client.agents.schedules.create(agentId: string, params: AgentScheduleCreateParams, options?: RequestOptions): APIPromise<AgentSchedule>
|
|
221
|
+
```
|
|
222
|
+
Get a schedule by ID
|
|
223
|
+
|
|
224
|
+
```ts
|
|
225
|
+
client.agents.schedules.retrieve(agentId: string, id: string, params?: AgentScheduleRetrieveParams, options?: RequestOptions): APIPromise<AgentSchedule>
|
|
226
|
+
```
|
|
227
|
+
Delete a schedule
|
|
228
|
+
|
|
229
|
+
```ts
|
|
230
|
+
client.agents.schedules.delete(agentId: string, id: string, params?: AgentScheduleDeleteParams, options?: RequestOptions): APIPromise<void>
|
|
231
|
+
```
|
|
232
|
+
Update a schedule
|
|
233
|
+
|
|
234
|
+
```ts
|
|
235
|
+
client.agents.schedules.update(agentId: string, id: string, params?: AgentScheduleUpdateParams, options?: RequestOptions): APIPromise<AgentSchedule>
|
|
236
|
+
```
|
|
237
|
+
Archive a schedule
|
|
238
|
+
|
|
239
|
+
```ts
|
|
240
|
+
client.agents.schedules.archive(agentId: string, id: string, params?: AgentScheduleArchiveParams, options?: RequestOptions): APIPromise<AgentSchedule>
|
|
241
|
+
```
|
|
242
|
+
Pause a schedule
|
|
243
|
+
|
|
244
|
+
```ts
|
|
245
|
+
client.agents.schedules.pause(agentId: string, id: string, params?: AgentSchedulePauseParams, options?: RequestOptions): APIPromise<AgentSchedule>
|
|
246
|
+
```
|
|
247
|
+
Resume a schedule
|
|
248
|
+
|
|
249
|
+
```ts
|
|
250
|
+
client.agents.schedules.resume(agentId: string, id: string, params?: AgentScheduleResumeParams, options?: RequestOptions): APIPromise<AgentSchedule>
|
|
251
|
+
```
|
|
252
|
+
|
|
253
|
+
## agents.variations
|
|
254
|
+
|
|
255
|
+
List variations
|
|
256
|
+
|
|
257
|
+
```ts
|
|
258
|
+
client.agents.variations.list(agentId: string, params?: AgentVariationListParams, options?: RequestOptions): Promise<Page<AgentVariation>>
|
|
259
|
+
```
|
|
260
|
+
Create a new variation
|
|
261
|
+
|
|
262
|
+
```ts
|
|
263
|
+
client.agents.variations.create(agentId: string, params: AgentVariationCreateParams, options?: RequestOptions): APIPromise<AgentVariation>
|
|
264
|
+
```
|
|
265
|
+
Get a variation by ID
|
|
266
|
+
|
|
267
|
+
```ts
|
|
268
|
+
client.agents.variations.retrieve(agentId: string, id: string, params?: AgentVariationRetrieveParams, options?: RequestOptions): APIPromise<AgentVariation>
|
|
269
|
+
```
|
|
270
|
+
Delete a variation
|
|
271
|
+
|
|
272
|
+
```ts
|
|
273
|
+
client.agents.variations.delete(agentId: string, id: string, params?: AgentVariationDeleteParams, options?: RequestOptions): APIPromise<void>
|
|
274
|
+
```
|
|
275
|
+
Update a variation
|
|
276
|
+
|
|
277
|
+
```ts
|
|
278
|
+
client.agents.variations.update(agentId: string, id: string, params?: AgentVariationUpdateParams, options?: RequestOptions): APIPromise<AgentVariation>
|
|
279
|
+
```
|
|
280
|
+
Add an assignment to a variation
|
|
281
|
+
|
|
282
|
+
```ts
|
|
283
|
+
client.agents.variations.addAssignment(agentId: string, variationId: string, params: AgentVariationAddAssignmentParams, options?: RequestOptions): APIPromise<VariationAssignment>
|
|
284
|
+
```
|
|
285
|
+
Remove an assignment from a variation
|
|
286
|
+
|
|
287
|
+
```ts
|
|
288
|
+
client.agents.variations.removeAssignment(agentId: string, variationId: string, id: string, params?: AgentVariationRemoveAssignmentParams, options?: RequestOptions): APIPromise<void>
|
|
289
|
+
```
|
|
290
|
+
Attach a memory layer to a variation
|
|
291
|
+
|
|
292
|
+
```ts
|
|
293
|
+
client.agents.variations.addMemoryLayer(agentId: string, variationId: string, params: AgentVariationAddMemoryLayerParams, options?: RequestOptions): APIPromise<VariationMemoryLayerAssignment>
|
|
294
|
+
```
|
|
295
|
+
Remove a memory layer assignment from a variation
|
|
296
|
+
|
|
297
|
+
```ts
|
|
298
|
+
client.agents.variations.removeMemoryLayer(agentId: string, variationId: string, id: string, params?: AgentVariationRemoveMemoryLayerParams, options?: RequestOptions): APIPromise<void>
|
|
299
|
+
```
|
|
300
|
+
Update a variation's memory layer assignment
|
|
301
|
+
|
|
302
|
+
```ts
|
|
303
|
+
client.agents.variations.updateMemoryLayer(agentId: string, variationId: string, id: string, params?: AgentVariationUpdateMemoryLayerParams, options?: RequestOptions): APIPromise<VariationMemoryLayerAssignment>
|
|
304
|
+
```
|
|
305
|
+
|
|
306
|
+
## aiProviderKeys
|
|
307
|
+
|
|
308
|
+
List AI provider keys
|
|
309
|
+
|
|
310
|
+
```ts
|
|
311
|
+
client.aiProviderKeys.list(params?: AiProviderKeyListParams, options?: RequestOptions): Promise<Page<AIProviderKey>>
|
|
312
|
+
```
|
|
313
|
+
Create a new AI provider key
|
|
314
|
+
|
|
315
|
+
```ts
|
|
316
|
+
client.aiProviderKeys.create(params: AiProviderKeyCreateParams, options?: RequestOptions): APIPromise<AIProviderKey>
|
|
317
|
+
```
|
|
318
|
+
Get an AI provider key by ID
|
|
319
|
+
|
|
320
|
+
```ts
|
|
321
|
+
client.aiProviderKeys.retrieve(id: string, params?: AiProviderKeyRetrieveParams, options?: RequestOptions): APIPromise<AIProviderKey>
|
|
322
|
+
```
|
|
323
|
+
Delete an AI provider key
|
|
324
|
+
|
|
325
|
+
```ts
|
|
326
|
+
client.aiProviderKeys.delete(id: string, params?: AiProviderKeyDeleteParams, options?: RequestOptions): APIPromise<void>
|
|
327
|
+
```
|
|
328
|
+
Update an AI provider key
|
|
329
|
+
|
|
330
|
+
```ts
|
|
331
|
+
client.aiProviderKeys.update(id: string, params?: AiProviderKeyUpdateParams, options?: RequestOptions): APIPromise<AIProviderKey>
|
|
332
|
+
```
|
|
333
|
+
|
|
334
|
+
## memoryLayers
|
|
335
|
+
|
|
336
|
+
List memory layers
|
|
337
|
+
|
|
338
|
+
```ts
|
|
339
|
+
client.memoryLayers.list(params?: MemoryLayerListParams, options?: RequestOptions): Promise<Page<MemoryLayer>>
|
|
340
|
+
```
|
|
341
|
+
Create a new memory layer
|
|
342
|
+
|
|
343
|
+
```ts
|
|
344
|
+
client.memoryLayers.create(params: MemoryLayerCreateParams, options?: RequestOptions): APIPromise<MemoryLayer>
|
|
345
|
+
```
|
|
346
|
+
Get a memory layer by ID
|
|
347
|
+
|
|
348
|
+
```ts
|
|
349
|
+
client.memoryLayers.retrieve(id: string, params?: MemoryLayerRetrieveParams, options?: RequestOptions): APIPromise<MemoryLayer>
|
|
350
|
+
```
|
|
351
|
+
Delete a memory layer
|
|
352
|
+
|
|
353
|
+
```ts
|
|
354
|
+
client.memoryLayers.delete(id: string, params?: MemoryLayerDeleteParams, options?: RequestOptions): APIPromise<void>
|
|
355
|
+
```
|
|
356
|
+
Update a memory layer
|
|
357
|
+
|
|
358
|
+
```ts
|
|
359
|
+
client.memoryLayers.update(id: string, params?: MemoryLayerUpdateParams, options?: RequestOptions): APIPromise<MemoryLayer>
|
|
360
|
+
```
|
|
361
|
+
|
|
362
|
+
## memoryLayers.entries
|
|
363
|
+
|
|
364
|
+
List memory entries
|
|
365
|
+
|
|
366
|
+
```ts
|
|
367
|
+
client.memoryLayers.entries.list(memoryLayerId: string, params?: MemoryEntryListParams, options?: RequestOptions): Promise<Page<MemoryEntry>>
|
|
368
|
+
```
|
|
369
|
+
Create a new memory entry
|
|
370
|
+
|
|
371
|
+
```ts
|
|
372
|
+
client.memoryLayers.entries.create(memoryLayerId: string, params: MemoryEntryCreateParams, options?: RequestOptions): APIPromise<MemoryEntryDetail>
|
|
373
|
+
```
|
|
374
|
+
Get a memory entry by ID
|
|
375
|
+
|
|
376
|
+
```ts
|
|
377
|
+
client.memoryLayers.entries.retrieve(memoryLayerId: string, id: string, params?: MemoryEntryRetrieveParams, options?: RequestOptions): APIPromise<MemoryEntryDetail>
|
|
378
|
+
```
|
|
379
|
+
Delete a memory entry
|
|
380
|
+
|
|
381
|
+
```ts
|
|
382
|
+
client.memoryLayers.entries.delete(memoryLayerId: string, id: string, params?: MemoryEntryDeleteParams, options?: RequestOptions): APIPromise<void>
|
|
383
|
+
```
|
|
384
|
+
Update a memory entry
|
|
385
|
+
|
|
386
|
+
```ts
|
|
387
|
+
client.memoryLayers.entries.update(memoryLayerId: string, id: string, params?: MemoryEntryUpdateParams, options?: RequestOptions): APIPromise<MemoryEntryDetail>
|
|
388
|
+
```
|
|
389
|
+
|
|
390
|
+
## models
|
|
391
|
+
|
|
392
|
+
List models
|
|
393
|
+
|
|
394
|
+
```ts
|
|
395
|
+
client.models.list(params?: ModelListParams, options?: RequestOptions): Promise<Page<Model>>
|
|
396
|
+
```
|
|
397
|
+
Get a model by ID
|
|
398
|
+
|
|
399
|
+
```ts
|
|
400
|
+
client.models.retrieve(id: string, params?: ModelRetrieveParams, options?: RequestOptions): APIPromise<Model>
|
|
401
|
+
```
|
|
402
|
+
Disable a model
|
|
403
|
+
|
|
404
|
+
```ts
|
|
405
|
+
client.models.disable(id: string, params?: ModelDisableParams, options?: RequestOptions): APIPromise<Model>
|
|
406
|
+
```
|
|
407
|
+
Enable a model
|
|
408
|
+
|
|
409
|
+
```ts
|
|
410
|
+
client.models.enable(id: string, params?: ModelEnableParams, options?: RequestOptions): APIPromise<Model>
|
|
411
|
+
```
|
|
412
|
+
Swap models on agent variations
|
|
413
|
+
|
|
414
|
+
```ts
|
|
415
|
+
client.models.swapOnVariations(params?: ModelSwapOnVariationsParams, options?: RequestOptions): APIPromise<void>
|
|
416
|
+
```
|
|
417
|
+
|
|
418
|
+
## objectives
|
|
419
|
+
|
|
420
|
+
List objectives
|
|
421
|
+
|
|
422
|
+
```ts
|
|
423
|
+
client.objectives.list(params?: ObjectiveListParams, options?: RequestOptions): Promise<Page<Objective>>
|
|
424
|
+
```
|
|
425
|
+
Create a new objective
|
|
426
|
+
|
|
427
|
+
```ts
|
|
428
|
+
client.objectives.create(params: ObjectiveCreateParams, options?: RequestOptions): APIPromise<Objective>
|
|
429
|
+
```
|
|
430
|
+
Get an objective by ID
|
|
431
|
+
|
|
432
|
+
```ts
|
|
433
|
+
client.objectives.retrieve(id: string, params?: ObjectiveRetrieveParams, options?: RequestOptions): APIPromise<Objective>
|
|
434
|
+
```
|
|
435
|
+
List objective context windows
|
|
436
|
+
|
|
437
|
+
```ts
|
|
438
|
+
client.objectives.listContextWindows(objectiveId: string, params?: ObjectiveListContextWindowsParams, options?: RequestOptions): Promise<Page<ObjectiveContextWindow>>
|
|
439
|
+
```
|
|
440
|
+
Get objective context diagnostics
|
|
441
|
+
|
|
442
|
+
```ts
|
|
443
|
+
client.objectives.retrieveDiagnostics(objectiveId: string, params?: ObjectiveRetrieveDiagnosticsParams, options?: RequestOptions): APIPromise<GetObjectiveDiagnosticsResponse>
|
|
444
|
+
```
|
|
445
|
+
List objective events
|
|
446
|
+
|
|
447
|
+
```ts
|
|
448
|
+
client.objectives.listEvents(objectiveId: string, params?: ObjectiveListEventsParams, options?: RequestOptions): Promise<Page<ObjectiveEvent>>
|
|
449
|
+
```
|
|
450
|
+
Stream objective events
|
|
451
|
+
|
|
452
|
+
```ts
|
|
453
|
+
client.objectives.streamEvents(objectiveId: string, params?: ObjectiveStreamEventsParams, options?: RequestOptions): Promise<Stream<ObjectiveEvent>>
|
|
454
|
+
```
|
|
455
|
+
List feedback for an objective
|
|
456
|
+
|
|
457
|
+
```ts
|
|
458
|
+
client.objectives.listFeedback(objectiveId: string, params?: ObjectiveListFeedbackParams, options?: RequestOptions): Promise<Page<ObjectiveFeedback>>
|
|
459
|
+
```
|
|
460
|
+
Submit feedback for an objective
|
|
461
|
+
|
|
462
|
+
```ts
|
|
463
|
+
client.objectives.createFeedback(objectiveId: string, params: ObjectiveCreateFeedbackParams, options?: RequestOptions): APIPromise<ObjectiveFeedback>
|
|
464
|
+
```
|
|
465
|
+
List objective tasks
|
|
466
|
+
|
|
467
|
+
```ts
|
|
468
|
+
client.objectives.listTasks(objectiveId: string, params?: ObjectiveListTasksParams, options?: RequestOptions): Promise<Page<ObjectiveTask>>
|
|
469
|
+
```
|
|
470
|
+
Get an objective task by ID
|
|
471
|
+
|
|
472
|
+
```ts
|
|
473
|
+
client.objectives.retrieveTask(objectiveId: string, id: string, params?: ObjectiveRetrieveTaskParams, options?: RequestOptions): APIPromise<ObjectiveTask>
|
|
474
|
+
```
|
|
475
|
+
List objective tool calls
|
|
476
|
+
|
|
477
|
+
```ts
|
|
478
|
+
client.objectives.listToolCalls(objectiveId: string, params?: ObjectiveListToolCallsParams, options?: RequestOptions): Promise<Page<ObjectiveToolCall>>
|
|
479
|
+
```
|
|
480
|
+
Get an objective tool call by ID
|
|
481
|
+
|
|
482
|
+
```ts
|
|
483
|
+
client.objectives.retrieveToolCall(objectiveId: string, toolCallId: string, params?: ObjectiveRetrieveToolCallParams, options?: RequestOptions): APIPromise<ObjectiveToolCallWithResult>
|
|
484
|
+
```
|
|
485
|
+
Approve a tool call
|
|
486
|
+
|
|
487
|
+
```ts
|
|
488
|
+
client.objectives.approveToolCall(objectiveId: string, toolCallId: string, params?: ObjectiveApproveToolCallParams, options?: RequestOptions): APIPromise<ObjectiveToolCall>
|
|
489
|
+
```
|
|
490
|
+
Deny a tool call
|
|
491
|
+
|
|
492
|
+
```ts
|
|
493
|
+
client.objectives.denyToolCall(objectiveId: string, toolCallId: string, params?: ObjectiveDenyToolCallParams, options?: RequestOptions): APIPromise<ObjectiveToolCall>
|
|
494
|
+
```
|
|
495
|
+
Set a bare tool call's content
|
|
496
|
+
|
|
497
|
+
```ts
|
|
498
|
+
client.objectives.setToolCallContent(objectiveId: string, toolCallId: string, params: ObjectiveSetToolCallContentParams, options?: RequestOptions): APIPromise<ObjectiveToolCall>
|
|
499
|
+
```
|
|
500
|
+
List objective tools
|
|
501
|
+
|
|
502
|
+
```ts
|
|
503
|
+
client.objectives.listTools(objectiveId: string, params?: ObjectiveListToolsParams, options?: RequestOptions): Promise<Page<ObjectiveTool>>
|
|
504
|
+
```
|
|
505
|
+
Cancel an objective
|
|
506
|
+
|
|
507
|
+
```ts
|
|
508
|
+
client.objectives.cancel(objectiveId: string, params?: ObjectiveCancelParams, options?: RequestOptions): APIPromise<Objective>
|
|
509
|
+
```
|
|
510
|
+
Compact an objective
|
|
511
|
+
|
|
512
|
+
```ts
|
|
513
|
+
client.objectives.compact(objectiveId: string, params?: ObjectiveCompactParams, options?: RequestOptions): APIPromise<CompactObjectiveResponse>
|
|
514
|
+
```
|
|
515
|
+
Continue an objective
|
|
516
|
+
|
|
517
|
+
```ts
|
|
518
|
+
client.objectives.continue(objectiveId: string, params: ObjectiveContinueParams, options?: RequestOptions): APIPromise<ObjectiveEvent>
|
|
519
|
+
```
|
|
520
|
+
|
|
521
|
+
## toolSearch
|
|
522
|
+
|
|
523
|
+
Search for tools or tool sets
|
|
524
|
+
|
|
525
|
+
```ts
|
|
526
|
+
client.toolSearch.searchOrSets(params: ToolSearchSearchOrSetsParams, options?: RequestOptions): APIPromise<SearchToolsOrToolSetsResponse>
|
|
527
|
+
```
|
|
528
|
+
|
|
529
|
+
## tenants
|
|
530
|
+
|
|
531
|
+
List tenants
|
|
532
|
+
|
|
533
|
+
```ts
|
|
534
|
+
client.tenants.list(params?: TenantListParams, options?: RequestOptions): Promise<Page<Tenant>>
|
|
535
|
+
```
|
|
536
|
+
Get a tenant by ID
|
|
537
|
+
|
|
538
|
+
```ts
|
|
539
|
+
client.tenants.retrieve(id: string, params?: TenantRetrieveParams, options?: RequestOptions): APIPromise<Tenant>
|
|
540
|
+
```
|
|
541
|
+
Erase a tenant
|
|
542
|
+
|
|
543
|
+
```ts
|
|
544
|
+
client.tenants.delete(id: string, params?: TenantDeleteParams, options?: RequestOptions): APIPromise<Tenant>
|
|
545
|
+
```
|
|
546
|
+
List a tenant's subjects
|
|
547
|
+
|
|
548
|
+
```ts
|
|
549
|
+
client.tenants.listSubjects(tenantId: string, params?: TenantListSubjectsParams, options?: RequestOptions): Promise<Page<Subject>>
|
|
550
|
+
```
|
|
551
|
+
|
|
552
|
+
## toolSets
|
|
553
|
+
|
|
554
|
+
List tool sets
|
|
555
|
+
|
|
556
|
+
```ts
|
|
557
|
+
client.toolSets.list(params?: ToolSetListParams, options?: RequestOptions): Promise<Page<ToolSet>>
|
|
558
|
+
```
|
|
559
|
+
Create a new tool set
|
|
560
|
+
|
|
561
|
+
```ts
|
|
562
|
+
client.toolSets.create(params: ToolSetCreateParams, options?: RequestOptions): APIPromise<ToolSet>
|
|
563
|
+
```
|
|
564
|
+
Get a tool set by ID
|
|
565
|
+
|
|
566
|
+
```ts
|
|
567
|
+
client.toolSets.retrieve(id: string, params?: ToolSetRetrieveParams, options?: RequestOptions): APIPromise<ToolSet>
|
|
568
|
+
```
|
|
569
|
+
Delete a tool set
|
|
570
|
+
|
|
571
|
+
```ts
|
|
572
|
+
client.toolSets.delete(id: string, params?: ToolSetDeleteParams, options?: RequestOptions): APIPromise<void>
|
|
573
|
+
```
|
|
574
|
+
Update a tool set
|
|
575
|
+
|
|
576
|
+
```ts
|
|
577
|
+
client.toolSets.update(id: string, params?: ToolSetUpdateParams, options?: RequestOptions): APIPromise<ToolSet>
|
|
578
|
+
```
|
|
579
|
+
Archive a tool set
|
|
580
|
+
|
|
581
|
+
```ts
|
|
582
|
+
client.toolSets.archive(id: string, params?: ToolSetArchiveParams, options?: RequestOptions): APIPromise<ToolSet>
|
|
583
|
+
```
|
|
584
|
+
Unarchive a tool set
|
|
585
|
+
|
|
586
|
+
```ts
|
|
587
|
+
client.toolSets.unarchive(id: string, params?: ToolSetUnarchiveParams, options?: RequestOptions): APIPromise<ToolSet>
|
|
588
|
+
```
|
|
589
|
+
List tool set events
|
|
590
|
+
|
|
591
|
+
```ts
|
|
592
|
+
client.toolSets.listEvents(toolSetId: string, params?: ToolSetListEventsParams, options?: RequestOptions): Promise<Page<ToolSetEvent>>
|
|
593
|
+
```
|
|
594
|
+
Get consumed OpenAPI spec
|
|
595
|
+
|
|
596
|
+
```ts
|
|
597
|
+
client.toolSets.retrieveOpenApiSpec(toolSetId: string, params?: ToolSetRetrieveOpenApiSpecParams, options?: RequestOptions): APIPromise<GetToolSetOpenAPISpecResponse>
|
|
598
|
+
```
|
|
599
|
+
List tool set usage
|
|
600
|
+
|
|
601
|
+
```ts
|
|
602
|
+
client.toolSets.listUsage(toolSetId: string, params?: ToolSetListUsageParams, options?: RequestOptions): Promise<Page<ToolSetUsage>>
|
|
603
|
+
```
|
|
604
|
+
|
|
605
|
+
## toolSets.secrets
|
|
606
|
+
|
|
607
|
+
List tool set secrets
|
|
608
|
+
|
|
609
|
+
```ts
|
|
610
|
+
client.toolSets.secrets.list(toolSetId: string, params?: ToolSetSecretListParams, options?: RequestOptions): Promise<Page<ToolSetSecret>>
|
|
611
|
+
```
|
|
612
|
+
Create a new tool set secret
|
|
613
|
+
|
|
614
|
+
```ts
|
|
615
|
+
client.toolSets.secrets.create(toolSetId: string, params: ToolSetSecretCreateParams, options?: RequestOptions): APIPromise<ToolSetSecret>
|
|
616
|
+
```
|
|
617
|
+
Get a tool set secret by ID
|
|
618
|
+
|
|
619
|
+
```ts
|
|
620
|
+
client.toolSets.secrets.retrieve(toolSetId: string, id: string, params?: ToolSetSecretRetrieveParams, options?: RequestOptions): APIPromise<ToolSetSecret>
|
|
621
|
+
```
|
|
622
|
+
Delete a tool set secret
|
|
623
|
+
|
|
624
|
+
```ts
|
|
625
|
+
client.toolSets.secrets.delete(toolSetId: string, id: string, params?: ToolSetSecretDeleteParams, options?: RequestOptions): APIPromise<void>
|
|
626
|
+
```
|
|
627
|
+
Update a tool set secret
|
|
628
|
+
|
|
629
|
+
```ts
|
|
630
|
+
client.toolSets.secrets.update(toolSetId: string, id: string, params?: ToolSetSecretUpdateParams, options?: RequestOptions): APIPromise<ToolSetSecret>
|
|
631
|
+
```
|
|
632
|
+
|
|
633
|
+
## toolSets.tools
|
|
634
|
+
|
|
635
|
+
List tools
|
|
636
|
+
|
|
637
|
+
```ts
|
|
638
|
+
client.toolSets.tools.list(toolSetId: string, params?: ToolListParams, options?: RequestOptions): Promise<Page<Tool>>
|
|
639
|
+
```
|
|
640
|
+
Create a new tool
|
|
641
|
+
|
|
642
|
+
```ts
|
|
643
|
+
client.toolSets.tools.create(toolSetId: string, params: ToolCreateParams, options?: RequestOptions): APIPromise<Tool>
|
|
644
|
+
```
|
|
645
|
+
Get a tool by ID
|
|
646
|
+
|
|
647
|
+
```ts
|
|
648
|
+
client.toolSets.tools.retrieve(toolSetId: string, id: string, params?: ToolRetrieveParams, options?: RequestOptions): APIPromise<Tool>
|
|
649
|
+
```
|
|
650
|
+
Delete a tool
|
|
651
|
+
|
|
652
|
+
```ts
|
|
653
|
+
client.toolSets.tools.delete(toolSetId: string, id: string, params?: ToolDeleteParams, options?: RequestOptions): APIPromise<void>
|
|
654
|
+
```
|
|
655
|
+
Update a tool
|
|
656
|
+
|
|
657
|
+
```ts
|
|
658
|
+
client.toolSets.tools.update(toolSetId: string, id: string, params?: ToolUpdateParams, options?: RequestOptions): APIPromise<Tool>
|
|
659
|
+
```
|
|
660
|
+
Omit a tool
|
|
661
|
+
|
|
662
|
+
```ts
|
|
663
|
+
client.toolSets.tools.omit(toolSetId: string, id: string, params?: ToolOmitParams, options?: RequestOptions): APIPromise<Tool>
|
|
664
|
+
```
|
|
665
|
+
Restore a tool
|
|
666
|
+
|
|
667
|
+
```ts
|
|
668
|
+
client.toolSets.tools.restore(toolSetId: string, id: string, params?: ToolRestoreParams, options?: RequestOptions): APIPromise<Tool>
|
|
669
|
+
```
|
|
670
|
+
|
|
671
|
+
## uploads
|
|
672
|
+
|
|
673
|
+
Create an upload
|
|
674
|
+
|
|
675
|
+
```ts
|
|
676
|
+
client.uploads.create(params: UploadCreateParams, options?: RequestOptions): APIPromise<Upload>
|
|
677
|
+
```
|
|
678
|
+
Get an upload by ID
|
|
679
|
+
|
|
680
|
+
```ts
|
|
681
|
+
client.uploads.retrieve(id: string, params?: UploadRetrieveParams, options?: RequestOptions): APIPromise<Upload>
|
|
682
|
+
```
|
|
683
|
+
|
|
684
|
+
## widgetSessions
|
|
685
|
+
|
|
686
|
+
List widget sessions
|
|
687
|
+
|
|
688
|
+
```ts
|
|
689
|
+
client.widgetSessions.list(params?: WidgetSessionListParams, options?: RequestOptions): Promise<Page<WidgetSession>>
|
|
690
|
+
```
|
|
691
|
+
Create a widget session
|
|
692
|
+
|
|
693
|
+
```ts
|
|
694
|
+
client.widgetSessions.create(params: WidgetSessionCreateParams, options?: RequestOptions): APIPromise<WidgetSession>
|
|
695
|
+
```
|
|
696
|
+
Delete all of a tenant's widget sessions
|
|
697
|
+
|
|
698
|
+
```ts
|
|
699
|
+
client.widgetSessions.deleteTenant(params?: WidgetSessionDeleteTenantParams, options?: RequestOptions): APIPromise<DeleteTenantWidgetSessionsResponse>
|
|
700
|
+
```
|
|
701
|
+
Get a widget session by ID
|
|
702
|
+
|
|
703
|
+
```ts
|
|
704
|
+
client.widgetSessions.retrieve(id: string, params?: WidgetSessionRetrieveParams, options?: RequestOptions): APIPromise<WidgetSession>
|
|
705
|
+
```
|
|
706
|
+
Delete a widget session
|
|
707
|
+
|
|
708
|
+
```ts
|
|
709
|
+
client.widgetSessions.delete(id: string, params?: WidgetSessionDeleteParams, options?: RequestOptions): APIPromise<void>
|
|
710
|
+
```
|
|
711
|
+
Revoke a widget session
|
|
712
|
+
|
|
713
|
+
```ts
|
|
714
|
+
client.widgetSessions.revoke(id: string, params?: WidgetSessionRevokeParams, options?: RequestOptions): APIPromise<WidgetSession>
|
|
715
|
+
```
|
|
716
|
+
|
|
717
|
+
## widgets
|
|
718
|
+
|
|
719
|
+
List widgets
|
|
720
|
+
|
|
721
|
+
```ts
|
|
722
|
+
client.widgets.list(params?: WidgetListParams, options?: RequestOptions): Promise<Page<Widget>>
|
|
723
|
+
```
|
|
724
|
+
Create a new widget
|
|
725
|
+
|
|
726
|
+
```ts
|
|
727
|
+
client.widgets.create(params: WidgetCreateParams, options?: RequestOptions): APIPromise<Widget>
|
|
728
|
+
```
|
|
729
|
+
Get a widget by ID
|
|
730
|
+
|
|
731
|
+
```ts
|
|
732
|
+
client.widgets.retrieve(id: string, params?: WidgetRetrieveParams, options?: RequestOptions): APIPromise<Widget>
|
|
733
|
+
```
|
|
734
|
+
Delete a widget
|
|
735
|
+
|
|
736
|
+
```ts
|
|
737
|
+
client.widgets.delete(id: string, params?: WidgetDeleteParams, options?: RequestOptions): APIPromise<void>
|
|
738
|
+
```
|
|
739
|
+
Update a widget
|
|
740
|
+
|
|
741
|
+
```ts
|
|
742
|
+
client.widgets.update(id: string, params?: WidgetUpdateParams, options?: RequestOptions): APIPromise<Widget>
|
|
743
|
+
```
|
|
744
|
+
Archive a widget
|
|
745
|
+
|
|
746
|
+
```ts
|
|
747
|
+
client.widgets.archive(id: string, params?: WidgetArchiveParams, options?: RequestOptions): APIPromise<Widget>
|
|
748
|
+
```
|
|
749
|
+
Unarchive a widget
|
|
750
|
+
|
|
751
|
+
```ts
|
|
752
|
+
client.widgets.unarchive(id: string, params?: WidgetUnarchiveParams, options?: RequestOptions): APIPromise<Widget>
|
|
753
|
+
```
|
|
754
|
+
|
|
755
|
+
## workspaceSecrets
|
|
756
|
+
|
|
757
|
+
List workspace secrets
|
|
758
|
+
|
|
759
|
+
```ts
|
|
760
|
+
client.workspaceSecrets.list(params?: WorkspaceSecretListParams, options?: RequestOptions): Promise<Page<WorkspaceSecret>>
|
|
761
|
+
```
|
|
762
|
+
Create a new workspace secret
|
|
763
|
+
|
|
764
|
+
```ts
|
|
765
|
+
client.workspaceSecrets.create(params: WorkspaceSecretCreateParams, options?: RequestOptions): APIPromise<WorkspaceSecret>
|
|
766
|
+
```
|
|
767
|
+
Get a workspace secret by ID
|
|
768
|
+
|
|
769
|
+
```ts
|
|
770
|
+
client.workspaceSecrets.retrieve(id: string, params?: WorkspaceSecretRetrieveParams, options?: RequestOptions): APIPromise<WorkspaceSecret>
|
|
771
|
+
```
|
|
772
|
+
Delete a workspace secret
|
|
773
|
+
|
|
774
|
+
```ts
|
|
775
|
+
client.workspaceSecrets.delete(id: string, params?: WorkspaceSecretDeleteParams, options?: RequestOptions): APIPromise<void>
|
|
776
|
+
```
|
|
777
|
+
Update a workspace secret
|
|
778
|
+
|
|
779
|
+
```ts
|
|
780
|
+
client.workspaceSecrets.update(id: string, params?: WorkspaceSecretUpdateParams, options?: RequestOptions): APIPromise<WorkspaceSecret>
|
|
781
|
+
```
|