@mutagent/sdk 0.2.28 → 0.2.33
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/dist/commonjs/lib/config.d.ts +2 -2
- package/dist/commonjs/lib/config.js +2 -2
- package/dist/commonjs/models/index.d.ts +4 -6
- package/dist/commonjs/models/index.d.ts.map +1 -1
- package/dist/commonjs/models/index.js +4 -6
- package/dist/commonjs/models/index.js.map +1 -1
- package/dist/commonjs/models/name-description-is-latest.d.ts +55 -0
- package/dist/commonjs/models/name-description-is-latest.d.ts.map +1 -0
- package/dist/commonjs/models/{schemadefaul18.js → name-description-is-latest.js} +17 -13
- package/dist/commonjs/models/name-description-is-latest.js.map +1 -0
- package/dist/commonjs/models/name-description-version.d.ts +6 -33
- package/dist/commonjs/models/name-description-version.d.ts.map +1 -1
- package/dist/commonjs/models/name-description-version.js +4 -22
- package/dist/commonjs/models/name-description-version.js.map +1 -1
- package/dist/commonjs/models/name-provider-api-key.d.ts +3 -2
- package/dist/commonjs/models/name-provider-api-key.d.ts.map +1 -1
- package/dist/commonjs/models/name-provider-api-key.js +2 -1
- package/dist/commonjs/models/name-provider-api-key.js.map +1 -1
- package/dist/commonjs/models/new-version-changes.d.ts +3 -3
- package/dist/commonjs/models/new-version-changes.d.ts.map +1 -1
- package/dist/commonjs/models/new-version-changes.js +2 -2
- package/dist/commonjs/models/new-version-changes.js.map +1 -1
- package/dist/commonjs/models/operations/delete-agent-dataset.d.ts +1 -1
- package/dist/commonjs/models/operations/delete-agent-dataset.d.ts.map +1 -1
- package/dist/commonjs/models/operations/delete-agent-dataset.js +1 -1
- package/dist/commonjs/models/operations/delete-agent-dataset.js.map +1 -1
- package/dist/commonjs/models/operations/delete-prompt-dataset.d.ts +1 -1
- package/dist/commonjs/models/operations/delete-prompt-dataset.d.ts.map +1 -1
- package/dist/commonjs/models/operations/delete-prompt-dataset.js +1 -1
- package/dist/commonjs/models/operations/delete-prompt-dataset.js.map +1 -1
- package/dist/commonjs/models/operations/list-optimizations.d.ts +1 -1
- package/dist/commonjs/models/operations/list-optimizations.js +1 -1
- package/dist/commonjs/models/operations/list-providers.d.ts +1 -1
- package/dist/commonjs/models/operations/list-providers.d.ts.map +1 -1
- package/dist/commonjs/models/operations/list-providers.js +1 -1
- package/dist/commonjs/models/operations/list-providers.js.map +1 -1
- package/dist/commonjs/models/operations/list-traces.d.ts +4 -4
- package/dist/commonjs/models/operations/list-traces.d.ts.map +1 -1
- package/dist/commonjs/models/operations/list-traces.js +2 -2
- package/dist/commonjs/models/operations/list-traces.js.map +1 -1
- package/dist/commonjs/models/operations/list-workspaces.d.ts +1 -1
- package/dist/commonjs/models/operations/list-workspaces.d.ts.map +1 -1
- package/dist/commonjs/models/operations/list-workspaces.js +1 -1
- package/dist/commonjs/models/operations/list-workspaces.js.map +1 -1
- package/dist/commonjs/models/operations/update-organization-member.d.ts +1 -1
- package/dist/commonjs/models/operations/update-organization-member.js +1 -1
- package/dist/commonjs/models/operations/update-prompt.d.ts +2 -2
- package/dist/commonjs/models/operations/update-prompt.d.ts.map +1 -1
- package/dist/commonjs/models/operations/update-prompt.js +1 -1
- package/dist/commonjs/models/operations/update-prompt.js.map +1 -1
- package/dist/commonjs/models/operations/update-workspace-member.d.ts +1 -1
- package/dist/commonjs/models/operations/update-workspace-member.js +1 -1
- package/dist/commonjs/models/schemadefaul12.d.ts +10 -0
- package/dist/commonjs/models/{schemadefaul13.d.ts.map → schemadefaul12.d.ts.map} +1 -1
- package/dist/commonjs/models/{schemadefaul13.js → schemadefaul12.js} +10 -10
- package/dist/commonjs/models/{schemadefaul13.js.map → schemadefaul12.js.map} +1 -1
- package/dist/commonjs/models/schemadefaul14.d.ts +9 -0
- package/dist/commonjs/models/{schemadefaul15.d.ts.map → schemadefaul14.d.ts.map} +1 -1
- package/dist/commonjs/models/{schemadefaul15.js → schemadefaul14.js} +9 -9
- package/dist/commonjs/models/{schemadefaul15.js.map → schemadefaul14.js.map} +1 -1
- package/dist/commonjs/models/schemadefaul8.d.ts +10 -0
- package/dist/commonjs/models/{schemadefaul9.d.ts.map → schemadefaul8.d.ts.map} +1 -1
- package/dist/commonjs/models/{schemadefaul9.js → schemadefaul8.js} +8 -8
- package/dist/commonjs/models/{schemadefaul9.js.map → schemadefaul8.js.map} +1 -1
- package/dist/esm/lib/config.d.ts +2 -2
- package/dist/esm/lib/config.js +2 -2
- package/dist/esm/models/index.d.ts +4 -6
- package/dist/esm/models/index.d.ts.map +1 -1
- package/dist/esm/models/index.js +4 -6
- package/dist/esm/models/index.js.map +1 -1
- package/dist/esm/models/name-description-is-latest.d.ts +55 -0
- package/dist/esm/models/name-description-is-latest.d.ts.map +1 -0
- package/dist/esm/models/name-description-is-latest.js +20 -0
- package/dist/esm/models/name-description-is-latest.js.map +1 -0
- package/dist/esm/models/name-description-version.d.ts +6 -33
- package/dist/esm/models/name-description-version.d.ts.map +1 -1
- package/dist/esm/models/name-description-version.js +3 -18
- package/dist/esm/models/name-description-version.js.map +1 -1
- package/dist/esm/models/name-provider-api-key.d.ts +3 -2
- package/dist/esm/models/name-provider-api-key.d.ts.map +1 -1
- package/dist/esm/models/name-provider-api-key.js +2 -1
- package/dist/esm/models/name-provider-api-key.js.map +1 -1
- package/dist/esm/models/new-version-changes.d.ts +3 -3
- package/dist/esm/models/new-version-changes.d.ts.map +1 -1
- package/dist/esm/models/new-version-changes.js +2 -2
- package/dist/esm/models/new-version-changes.js.map +1 -1
- package/dist/esm/models/operations/delete-agent-dataset.d.ts +1 -1
- package/dist/esm/models/operations/delete-agent-dataset.d.ts.map +1 -1
- package/dist/esm/models/operations/delete-agent-dataset.js +1 -1
- package/dist/esm/models/operations/delete-agent-dataset.js.map +1 -1
- package/dist/esm/models/operations/delete-prompt-dataset.d.ts +1 -1
- package/dist/esm/models/operations/delete-prompt-dataset.d.ts.map +1 -1
- package/dist/esm/models/operations/delete-prompt-dataset.js +1 -1
- package/dist/esm/models/operations/delete-prompt-dataset.js.map +1 -1
- package/dist/esm/models/operations/list-optimizations.d.ts +1 -1
- package/dist/esm/models/operations/list-optimizations.js +1 -1
- package/dist/esm/models/operations/list-providers.d.ts +1 -1
- package/dist/esm/models/operations/list-providers.d.ts.map +1 -1
- package/dist/esm/models/operations/list-providers.js +1 -1
- package/dist/esm/models/operations/list-providers.js.map +1 -1
- package/dist/esm/models/operations/list-traces.d.ts +4 -4
- package/dist/esm/models/operations/list-traces.d.ts.map +1 -1
- package/dist/esm/models/operations/list-traces.js +2 -2
- package/dist/esm/models/operations/list-traces.js.map +1 -1
- package/dist/esm/models/operations/list-workspaces.d.ts +1 -1
- package/dist/esm/models/operations/list-workspaces.d.ts.map +1 -1
- package/dist/esm/models/operations/list-workspaces.js +1 -1
- package/dist/esm/models/operations/list-workspaces.js.map +1 -1
- package/dist/esm/models/operations/update-organization-member.d.ts +1 -1
- package/dist/esm/models/operations/update-organization-member.js +1 -1
- package/dist/esm/models/operations/update-prompt.d.ts +2 -2
- package/dist/esm/models/operations/update-prompt.d.ts.map +1 -1
- package/dist/esm/models/operations/update-prompt.js +1 -1
- package/dist/esm/models/operations/update-prompt.js.map +1 -1
- package/dist/esm/models/operations/update-workspace-member.d.ts +1 -1
- package/dist/esm/models/operations/update-workspace-member.js +1 -1
- package/dist/esm/models/schemadefaul12.d.ts +10 -0
- package/dist/esm/models/{schemadefaul13.d.ts.map → schemadefaul12.d.ts.map} +1 -1
- package/dist/esm/models/schemadefaul12.js +14 -0
- package/dist/esm/models/{schemadefaul13.js.map → schemadefaul12.js.map} +1 -1
- package/dist/esm/models/schemadefaul14.d.ts +9 -0
- package/dist/esm/models/{schemadefaul15.d.ts.map → schemadefaul14.d.ts.map} +1 -1
- package/dist/esm/models/schemadefaul14.js +13 -0
- package/dist/esm/models/{schemadefaul15.js.map → schemadefaul14.js.map} +1 -1
- package/dist/esm/models/schemadefaul8.d.ts +10 -0
- package/dist/esm/models/{schemadefaul9.d.ts.map → schemadefaul8.d.ts.map} +1 -1
- package/dist/esm/models/schemadefaul8.js +12 -0
- package/dist/esm/models/{schemadefaul9.js.map → schemadefaul8.js.map} +1 -1
- package/jsr.json +1 -1
- package/openapi.json +59 -73
- package/package.json +2 -3
- package/scripts/fix-openapi.ts +138 -18
- package/src/lib/config.ts +2 -2
- package/src/models/index.ts +4 -6
- package/src/models/name-description-is-latest.ts +81 -0
- package/src/models/name-description-version.ts +9 -79
- package/src/models/name-provider-api-key.ts +3 -2
- package/src/models/new-version-changes.ts +7 -7
- package/src/models/operations/delete-agent-dataset.ts +2 -2
- package/src/models/operations/delete-prompt-dataset.ts +2 -2
- package/src/models/operations/list-optimizations.ts +3 -3
- package/src/models/operations/list-providers.ts +2 -2
- package/src/models/operations/list-traces.ts +6 -12
- package/src/models/operations/list-workspaces.ts +2 -2
- package/src/models/operations/update-organization-member.ts +3 -3
- package/src/models/operations/update-prompt.ts +3 -3
- package/src/models/operations/update-workspace-member.ts +3 -3
- package/src/models/{schemadefaul13.ts → schemadefaul12.ts} +4 -4
- package/src/models/{schemadefaul15.ts → schemadefaul14.ts} +4 -4
- package/src/models/{schemadefaul9.ts → schemadefaul8.ts} +5 -5
- package/dist/commonjs/models/description-is-latest-system-prompt.d.ts +0 -68
- package/dist/commonjs/models/description-is-latest-system-prompt.d.ts.map +0 -1
- package/dist/commonjs/models/description-is-latest-system-prompt.js +0 -68
- package/dist/commonjs/models/description-is-latest-system-prompt.js.map +0 -1
- package/dist/commonjs/models/schemadefaul13.d.ts +0 -10
- package/dist/commonjs/models/schemadefaul15.d.ts +0 -9
- package/dist/commonjs/models/schemadefaul18.d.ts +0 -13
- package/dist/commonjs/models/schemadefaul18.d.ts.map +0 -1
- package/dist/commonjs/models/schemadefaul18.js.map +0 -1
- package/dist/commonjs/models/schemadefaul19.d.ts +0 -9
- package/dist/commonjs/models/schemadefaul19.d.ts.map +0 -1
- package/dist/commonjs/models/schemadefaul19.js +0 -49
- package/dist/commonjs/models/schemadefaul19.js.map +0 -1
- package/dist/commonjs/models/schemadefaul9.d.ts +0 -10
- package/dist/esm/models/description-is-latest-system-prompt.d.ts +0 -68
- package/dist/esm/models/description-is-latest-system-prompt.d.ts.map +0 -1
- package/dist/esm/models/description-is-latest-system-prompt.js +0 -29
- package/dist/esm/models/description-is-latest-system-prompt.js.map +0 -1
- package/dist/esm/models/schemadefaul13.d.ts +0 -10
- package/dist/esm/models/schemadefaul13.js +0 -14
- package/dist/esm/models/schemadefaul15.d.ts +0 -9
- package/dist/esm/models/schemadefaul15.js +0 -13
- package/dist/esm/models/schemadefaul18.d.ts +0 -13
- package/dist/esm/models/schemadefaul18.d.ts.map +0 -1
- package/dist/esm/models/schemadefaul18.js +0 -17
- package/dist/esm/models/schemadefaul18.js.map +0 -1
- package/dist/esm/models/schemadefaul19.d.ts +0 -9
- package/dist/esm/models/schemadefaul19.d.ts.map +0 -1
- package/dist/esm/models/schemadefaul19.js +0 -13
- package/dist/esm/models/schemadefaul19.js.map +0 -1
- package/dist/esm/models/schemadefaul9.d.ts +0 -10
- package/dist/esm/models/schemadefaul9.js +0 -12
- package/examples/node_modules/.package-lock.json +0 -174
- package/examples/node_modules/@esbuild/darwin-arm64/package.json +0 -20
- package/examples/node_modules/@types/node/assert/strict.d.ts +0 -8
- package/examples/node_modules/@types/node/assert.d.ts +0 -1062
- package/examples/node_modules/@types/node/async_hooks.d.ts +0 -605
- package/examples/node_modules/@types/node/buffer.buffer.d.ts +0 -471
- package/examples/node_modules/@types/node/buffer.d.ts +0 -1936
- package/examples/node_modules/@types/node/child_process.d.ts +0 -1475
- package/examples/node_modules/@types/node/cluster.d.ts +0 -577
- package/examples/node_modules/@types/node/compatibility/disposable.d.ts +0 -16
- package/examples/node_modules/@types/node/compatibility/index.d.ts +0 -9
- package/examples/node_modules/@types/node/compatibility/indexable.d.ts +0 -20
- package/examples/node_modules/@types/node/compatibility/iterators.d.ts +0 -21
- package/examples/node_modules/@types/node/console.d.ts +0 -452
- package/examples/node_modules/@types/node/constants.d.ts +0 -21
- package/examples/node_modules/@types/node/crypto.d.ts +0 -4590
- package/examples/node_modules/@types/node/dgram.d.ts +0 -597
- package/examples/node_modules/@types/node/diagnostics_channel.d.ts +0 -578
- package/examples/node_modules/@types/node/dns/promises.d.ts +0 -479
- package/examples/node_modules/@types/node/dns.d.ts +0 -871
- package/examples/node_modules/@types/node/domain.d.ts +0 -170
- package/examples/node_modules/@types/node/events.d.ts +0 -977
- package/examples/node_modules/@types/node/fs/promises.d.ts +0 -1270
- package/examples/node_modules/@types/node/fs.d.ts +0 -4375
- package/examples/node_modules/@types/node/globals.d.ts +0 -172
- package/examples/node_modules/@types/node/globals.typedarray.d.ts +0 -38
- package/examples/node_modules/@types/node/http.d.ts +0 -2049
- package/examples/node_modules/@types/node/http2.d.ts +0 -2631
- package/examples/node_modules/@types/node/https.d.ts +0 -578
- package/examples/node_modules/@types/node/index.d.ts +0 -93
- package/examples/node_modules/@types/node/inspector.generated.d.ts +0 -3966
- package/examples/node_modules/@types/node/module.d.ts +0 -539
- package/examples/node_modules/@types/node/net.d.ts +0 -1012
- package/examples/node_modules/@types/node/os.d.ts +0 -506
- package/examples/node_modules/@types/node/package.json +0 -140
- package/examples/node_modules/@types/node/path.d.ts +0 -200
- package/examples/node_modules/@types/node/perf_hooks.d.ts +0 -961
- package/examples/node_modules/@types/node/process.d.ts +0 -1966
- package/examples/node_modules/@types/node/punycode.d.ts +0 -117
- package/examples/node_modules/@types/node/querystring.d.ts +0 -152
- package/examples/node_modules/@types/node/readline/promises.d.ts +0 -162
- package/examples/node_modules/@types/node/readline.d.ts +0 -589
- package/examples/node_modules/@types/node/repl.d.ts +0 -430
- package/examples/node_modules/@types/node/sea.d.ts +0 -153
- package/examples/node_modules/@types/node/stream/consumers.d.ts +0 -38
- package/examples/node_modules/@types/node/stream/promises.d.ts +0 -90
- package/examples/node_modules/@types/node/stream/web.d.ts +0 -533
- package/examples/node_modules/@types/node/stream.d.ts +0 -1675
- package/examples/node_modules/@types/node/string_decoder.d.ts +0 -67
- package/examples/node_modules/@types/node/test.d.ts +0 -1787
- package/examples/node_modules/@types/node/timers/promises.d.ts +0 -108
- package/examples/node_modules/@types/node/timers.d.ts +0 -286
- package/examples/node_modules/@types/node/tls.d.ts +0 -1259
- package/examples/node_modules/@types/node/trace_events.d.ts +0 -197
- package/examples/node_modules/@types/node/ts5.6/buffer.buffer.d.ts +0 -468
- package/examples/node_modules/@types/node/ts5.6/globals.typedarray.d.ts +0 -34
- package/examples/node_modules/@types/node/ts5.6/index.d.ts +0 -93
- package/examples/node_modules/@types/node/tty.d.ts +0 -208
- package/examples/node_modules/@types/node/url.d.ts +0 -964
- package/examples/node_modules/@types/node/util.d.ts +0 -2331
- package/examples/node_modules/@types/node/v8.d.ts +0 -809
- package/examples/node_modules/@types/node/vm.d.ts +0 -1001
- package/examples/node_modules/@types/node/wasi.d.ts +0 -181
- package/examples/node_modules/@types/node/web-globals/abortcontroller.d.ts +0 -34
- package/examples/node_modules/@types/node/web-globals/domexception.d.ts +0 -68
- package/examples/node_modules/@types/node/web-globals/events.d.ts +0 -97
- package/examples/node_modules/@types/node/web-globals/fetch.d.ts +0 -46
- package/examples/node_modules/@types/node/worker_threads.d.ts +0 -715
- package/examples/node_modules/@types/node/zlib.d.ts +0 -540
- package/examples/node_modules/dotenv/config.d.ts +0 -1
- package/examples/node_modules/dotenv/config.js +0 -9
- package/examples/node_modules/dotenv/lib/cli-options.js +0 -17
- package/examples/node_modules/dotenv/lib/env-options.js +0 -28
- package/examples/node_modules/dotenv/lib/main.d.ts +0 -162
- package/examples/node_modules/dotenv/lib/main.js +0 -386
- package/examples/node_modules/dotenv/package.json +0 -62
- package/examples/node_modules/esbuild/install.js +0 -289
- package/examples/node_modules/esbuild/lib/main.d.ts +0 -716
- package/examples/node_modules/esbuild/lib/main.js +0 -2242
- package/examples/node_modules/esbuild/package.json +0 -49
- package/examples/node_modules/fsevents/fsevents.d.ts +0 -46
- package/examples/node_modules/fsevents/fsevents.js +0 -83
- package/examples/node_modules/fsevents/package.json +0 -62
- package/examples/node_modules/get-tsconfig/dist/index.mjs +0 -7
- package/examples/node_modules/get-tsconfig/package.json +0 -46
- package/examples/node_modules/resolve-pkg-maps/dist/index.mjs +0 -1
- package/examples/node_modules/resolve-pkg-maps/package.json +0 -42
- package/examples/node_modules/tsx/dist/cjs/api/index.mjs +0 -1
- package/examples/node_modules/tsx/dist/cjs/index.mjs +0 -1
- package/examples/node_modules/tsx/dist/cli.mjs +0 -55
- package/examples/node_modules/tsx/dist/client-BQVF1NaW.mjs +0 -1
- package/examples/node_modules/tsx/dist/esm/api/index.mjs +0 -1
- package/examples/node_modules/tsx/dist/esm/index.mjs +0 -2
- package/examples/node_modules/tsx/dist/get-pipe-path-BHW2eJdv.mjs +0 -1
- package/examples/node_modules/tsx/dist/index-7AaEi15b.mjs +0 -14
- package/examples/node_modules/tsx/dist/index-gbaejti9.mjs +0 -1
- package/examples/node_modules/tsx/dist/lexer-DQCqS3nf.mjs +0 -3
- package/examples/node_modules/tsx/dist/loader.mjs +0 -1
- package/examples/node_modules/tsx/dist/node-features-_8ZFwP_x.mjs +0 -1
- package/examples/node_modules/tsx/dist/package-CeBgXWuR.mjs +0 -1
- package/examples/node_modules/tsx/dist/patch-repl.mjs +0 -1
- package/examples/node_modules/tsx/dist/preflight.mjs +0 -1
- package/examples/node_modules/tsx/dist/register-B7jrtLTO.mjs +0 -1
- package/examples/node_modules/tsx/dist/register-CFH5oNdT.mjs +0 -4
- package/examples/node_modules/tsx/dist/repl.mjs +0 -3
- package/examples/node_modules/tsx/dist/require-DQxpCAr4.mjs +0 -1
- package/examples/node_modules/tsx/dist/suppress-warnings.mjs +0 -1
- package/examples/node_modules/tsx/dist/temporary-directory-CwHp0_NW.mjs +0 -1
- package/examples/node_modules/tsx/dist/types-Cxp8y2TL.d.ts +0 -5
- package/examples/node_modules/tsx/package.json +0 -68
- package/examples/node_modules/undici-types/agent.d.ts +0 -31
- package/examples/node_modules/undici-types/api.d.ts +0 -43
- package/examples/node_modules/undici-types/balanced-pool.d.ts +0 -29
- package/examples/node_modules/undici-types/cache.d.ts +0 -36
- package/examples/node_modules/undici-types/client.d.ts +0 -108
- package/examples/node_modules/undici-types/connector.d.ts +0 -34
- package/examples/node_modules/undici-types/content-type.d.ts +0 -21
- package/examples/node_modules/undici-types/cookies.d.ts +0 -28
- package/examples/node_modules/undici-types/diagnostics-channel.d.ts +0 -66
- package/examples/node_modules/undici-types/dispatcher.d.ts +0 -256
- package/examples/node_modules/undici-types/env-http-proxy-agent.d.ts +0 -21
- package/examples/node_modules/undici-types/errors.d.ts +0 -149
- package/examples/node_modules/undici-types/eventsource.d.ts +0 -61
- package/examples/node_modules/undici-types/fetch.d.ts +0 -209
- package/examples/node_modules/undici-types/file.d.ts +0 -39
- package/examples/node_modules/undici-types/filereader.d.ts +0 -54
- package/examples/node_modules/undici-types/formdata.d.ts +0 -108
- package/examples/node_modules/undici-types/global-dispatcher.d.ts +0 -9
- package/examples/node_modules/undici-types/global-origin.d.ts +0 -7
- package/examples/node_modules/undici-types/handlers.d.ts +0 -15
- package/examples/node_modules/undici-types/header.d.ts +0 -4
- package/examples/node_modules/undici-types/index.d.ts +0 -71
- package/examples/node_modules/undici-types/interceptors.d.ts +0 -17
- package/examples/node_modules/undici-types/mock-agent.d.ts +0 -50
- package/examples/node_modules/undici-types/mock-client.d.ts +0 -25
- package/examples/node_modules/undici-types/mock-errors.d.ts +0 -12
- package/examples/node_modules/undici-types/mock-interceptor.d.ts +0 -93
- package/examples/node_modules/undici-types/mock-pool.d.ts +0 -25
- package/examples/node_modules/undici-types/package.json +0 -55
- package/examples/node_modules/undici-types/patch.d.ts +0 -33
- package/examples/node_modules/undici-types/pool-stats.d.ts +0 -19
- package/examples/node_modules/undici-types/pool.d.ts +0 -39
- package/examples/node_modules/undici-types/proxy-agent.d.ts +0 -28
- package/examples/node_modules/undici-types/readable.d.ts +0 -65
- package/examples/node_modules/undici-types/retry-agent.d.ts +0 -8
- package/examples/node_modules/undici-types/retry-handler.d.ts +0 -116
- package/examples/node_modules/undici-types/util.d.ts +0 -18
- package/examples/node_modules/undici-types/webidl.d.ts +0 -228
- package/examples/node_modules/undici-types/websocket.d.ts +0 -150
- package/src/models/description-is-latest-system-prompt.ts +0 -135
- package/src/models/schemadefaul18.ts +0 -20
- package/src/models/schemadefaul19.ts +0 -16
|
@@ -0,0 +1,81 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
+
*/
|
|
4
|
+
|
|
5
|
+
import * as z from "zod/v4-mini";
|
|
6
|
+
|
|
7
|
+
export type NameDescriptionIsLatest = {
|
|
8
|
+
/**
|
|
9
|
+
* Updated prompt name
|
|
10
|
+
*/
|
|
11
|
+
name?: string | undefined;
|
|
12
|
+
/**
|
|
13
|
+
* Updated description
|
|
14
|
+
*/
|
|
15
|
+
description?: string | undefined;
|
|
16
|
+
/**
|
|
17
|
+
* Update latest version flag
|
|
18
|
+
*/
|
|
19
|
+
isLatest?: boolean | undefined;
|
|
20
|
+
/**
|
|
21
|
+
* Updated system prompt
|
|
22
|
+
*/
|
|
23
|
+
systemPrompt?: string | undefined;
|
|
24
|
+
/**
|
|
25
|
+
* Updated human prompt template
|
|
26
|
+
*/
|
|
27
|
+
humanPrompt?: string | undefined;
|
|
28
|
+
/**
|
|
29
|
+
* Updated raw prompt
|
|
30
|
+
*/
|
|
31
|
+
rawPrompt?: string | undefined;
|
|
32
|
+
/**
|
|
33
|
+
* Updated output schema
|
|
34
|
+
*/
|
|
35
|
+
outputSchema?: any | undefined;
|
|
36
|
+
/**
|
|
37
|
+
* Updated metadata
|
|
38
|
+
*/
|
|
39
|
+
metadata?: any | undefined;
|
|
40
|
+
/**
|
|
41
|
+
* Updated tags
|
|
42
|
+
*/
|
|
43
|
+
tags?: Array<string> | undefined;
|
|
44
|
+
};
|
|
45
|
+
|
|
46
|
+
/** @internal */
|
|
47
|
+
export type NameDescriptionIsLatest$Outbound = {
|
|
48
|
+
name?: string | undefined;
|
|
49
|
+
description?: string | undefined;
|
|
50
|
+
isLatest?: boolean | undefined;
|
|
51
|
+
systemPrompt?: string | undefined;
|
|
52
|
+
humanPrompt?: string | undefined;
|
|
53
|
+
rawPrompt?: string | undefined;
|
|
54
|
+
outputSchema?: any | undefined;
|
|
55
|
+
metadata?: any | undefined;
|
|
56
|
+
tags?: Array<string> | undefined;
|
|
57
|
+
};
|
|
58
|
+
|
|
59
|
+
/** @internal */
|
|
60
|
+
export const NameDescriptionIsLatest$outboundSchema: z.ZodMiniType<
|
|
61
|
+
NameDescriptionIsLatest$Outbound,
|
|
62
|
+
NameDescriptionIsLatest
|
|
63
|
+
> = z.object({
|
|
64
|
+
name: z.optional(z.string()),
|
|
65
|
+
description: z.optional(z.string()),
|
|
66
|
+
isLatest: z.optional(z.boolean()),
|
|
67
|
+
systemPrompt: z.optional(z.string()),
|
|
68
|
+
humanPrompt: z.optional(z.string()),
|
|
69
|
+
rawPrompt: z.optional(z.string()),
|
|
70
|
+
outputSchema: z.optional(z.any()),
|
|
71
|
+
metadata: z.optional(z.any()),
|
|
72
|
+
tags: z.optional(z.array(z.string())),
|
|
73
|
+
});
|
|
74
|
+
|
|
75
|
+
export function nameDescriptionIsLatestToJSON(
|
|
76
|
+
nameDescriptionIsLatest: NameDescriptionIsLatest,
|
|
77
|
+
): string {
|
|
78
|
+
return JSON.stringify(
|
|
79
|
+
NameDescriptionIsLatest$outboundSchema.parse(nameDescriptionIsLatest),
|
|
80
|
+
);
|
|
81
|
+
}
|
|
@@ -4,21 +4,6 @@
|
|
|
4
4
|
|
|
5
5
|
import * as z from "zod/v4-mini";
|
|
6
6
|
|
|
7
|
-
/**
|
|
8
|
-
* JSON Schema defining expected input variables (e.g., {"name": {"type": "string"}})
|
|
9
|
-
*/
|
|
10
|
-
export type InputSchema = {};
|
|
11
|
-
|
|
12
|
-
/**
|
|
13
|
-
* JSON Schema defining expected LLM output structure
|
|
14
|
-
*/
|
|
15
|
-
export type NameDescriptionVersionOutputSchema = {};
|
|
16
|
-
|
|
17
|
-
/**
|
|
18
|
-
* Arbitrary metadata for categorization or tracking (e.g., {"department": "sales"})
|
|
19
|
-
*/
|
|
20
|
-
export type NameDescriptionVersionMetadata = {};
|
|
21
|
-
|
|
22
7
|
export type NameDescriptionVersion = {
|
|
23
8
|
/**
|
|
24
9
|
* Unique name for the prompt (e.g., "customer-greeting")
|
|
@@ -51,15 +36,15 @@ export type NameDescriptionVersion = {
|
|
|
51
36
|
/**
|
|
52
37
|
* JSON Schema defining expected input variables (e.g., {"name": {"type": "string"}})
|
|
53
38
|
*/
|
|
54
|
-
inputSchema:
|
|
39
|
+
inputSchema: any;
|
|
55
40
|
/**
|
|
56
41
|
* JSON Schema defining expected LLM output structure
|
|
57
42
|
*/
|
|
58
|
-
outputSchema?:
|
|
43
|
+
outputSchema?: any | undefined;
|
|
59
44
|
/**
|
|
60
45
|
* Arbitrary metadata for categorization or tracking (e.g., {"department": "sales"})
|
|
61
46
|
*/
|
|
62
|
-
metadata?:
|
|
47
|
+
metadata?: any | undefined;
|
|
63
48
|
/**
|
|
64
49
|
* Email of the creator (e.g., "user@example.com")
|
|
65
50
|
*/
|
|
@@ -70,57 +55,6 @@ export type NameDescriptionVersion = {
|
|
|
70
55
|
tags?: Array<string> | undefined;
|
|
71
56
|
};
|
|
72
57
|
|
|
73
|
-
/** @internal */
|
|
74
|
-
export type InputSchema$Outbound = {};
|
|
75
|
-
|
|
76
|
-
/** @internal */
|
|
77
|
-
export const InputSchema$outboundSchema: z.ZodMiniType<
|
|
78
|
-
InputSchema$Outbound,
|
|
79
|
-
InputSchema
|
|
80
|
-
> = z.object({});
|
|
81
|
-
|
|
82
|
-
export function inputSchemaToJSON(inputSchema: InputSchema): string {
|
|
83
|
-
return JSON.stringify(InputSchema$outboundSchema.parse(inputSchema));
|
|
84
|
-
}
|
|
85
|
-
|
|
86
|
-
/** @internal */
|
|
87
|
-
export type NameDescriptionVersionOutputSchema$Outbound = {};
|
|
88
|
-
|
|
89
|
-
/** @internal */
|
|
90
|
-
export const NameDescriptionVersionOutputSchema$outboundSchema: z.ZodMiniType<
|
|
91
|
-
NameDescriptionVersionOutputSchema$Outbound,
|
|
92
|
-
NameDescriptionVersionOutputSchema
|
|
93
|
-
> = z.object({});
|
|
94
|
-
|
|
95
|
-
export function nameDescriptionVersionOutputSchemaToJSON(
|
|
96
|
-
nameDescriptionVersionOutputSchema: NameDescriptionVersionOutputSchema,
|
|
97
|
-
): string {
|
|
98
|
-
return JSON.stringify(
|
|
99
|
-
NameDescriptionVersionOutputSchema$outboundSchema.parse(
|
|
100
|
-
nameDescriptionVersionOutputSchema,
|
|
101
|
-
),
|
|
102
|
-
);
|
|
103
|
-
}
|
|
104
|
-
|
|
105
|
-
/** @internal */
|
|
106
|
-
export type NameDescriptionVersionMetadata$Outbound = {};
|
|
107
|
-
|
|
108
|
-
/** @internal */
|
|
109
|
-
export const NameDescriptionVersionMetadata$outboundSchema: z.ZodMiniType<
|
|
110
|
-
NameDescriptionVersionMetadata$Outbound,
|
|
111
|
-
NameDescriptionVersionMetadata
|
|
112
|
-
> = z.object({});
|
|
113
|
-
|
|
114
|
-
export function nameDescriptionVersionMetadataToJSON(
|
|
115
|
-
nameDescriptionVersionMetadata: NameDescriptionVersionMetadata,
|
|
116
|
-
): string {
|
|
117
|
-
return JSON.stringify(
|
|
118
|
-
NameDescriptionVersionMetadata$outboundSchema.parse(
|
|
119
|
-
nameDescriptionVersionMetadata,
|
|
120
|
-
),
|
|
121
|
-
);
|
|
122
|
-
}
|
|
123
|
-
|
|
124
58
|
/** @internal */
|
|
125
59
|
export type NameDescriptionVersion$Outbound = {
|
|
126
60
|
name: string;
|
|
@@ -130,9 +64,9 @@ export type NameDescriptionVersion$Outbound = {
|
|
|
130
64
|
systemPrompt?: string | undefined;
|
|
131
65
|
humanPrompt?: string | undefined;
|
|
132
66
|
rawPrompt?: string | undefined;
|
|
133
|
-
inputSchema:
|
|
134
|
-
outputSchema?:
|
|
135
|
-
metadata?:
|
|
67
|
+
inputSchema: any;
|
|
68
|
+
outputSchema?: any | undefined;
|
|
69
|
+
metadata?: any | undefined;
|
|
136
70
|
createdBy?: string | undefined;
|
|
137
71
|
tags?: Array<string> | undefined;
|
|
138
72
|
};
|
|
@@ -149,13 +83,9 @@ export const NameDescriptionVersion$outboundSchema: z.ZodMiniType<
|
|
|
149
83
|
systemPrompt: z.optional(z.string()),
|
|
150
84
|
humanPrompt: z.optional(z.string()),
|
|
151
85
|
rawPrompt: z.optional(z.string()),
|
|
152
|
-
inputSchema: z.
|
|
153
|
-
outputSchema: z.optional(
|
|
154
|
-
|
|
155
|
-
),
|
|
156
|
-
metadata: z.optional(
|
|
157
|
-
z.lazy(() => NameDescriptionVersionMetadata$outboundSchema),
|
|
158
|
-
),
|
|
86
|
+
inputSchema: z.any(),
|
|
87
|
+
outputSchema: z.optional(z.any()),
|
|
88
|
+
metadata: z.optional(z.any()),
|
|
159
89
|
createdBy: z.optional(z.string()),
|
|
160
90
|
tags: z.optional(z.array(z.string())),
|
|
161
91
|
});
|
|
@@ -5,13 +5,14 @@
|
|
|
5
5
|
import * as z from "zod/v4-mini";
|
|
6
6
|
|
|
7
7
|
/**
|
|
8
|
-
* Provider type (openai, anthropic, google, azure, groq, custom)
|
|
8
|
+
* Provider type (openai, anthropic, google, azure, bedrock, groq, glm, moonshot, custom)
|
|
9
9
|
*/
|
|
10
10
|
export enum Provider {
|
|
11
11
|
Openai = "openai",
|
|
12
12
|
Anthropic = "anthropic",
|
|
13
13
|
Google = "google",
|
|
14
14
|
Azure = "azure",
|
|
15
|
+
Bedrock = "bedrock",
|
|
15
16
|
Groq = "groq",
|
|
16
17
|
Glm = "glm",
|
|
17
18
|
Moonshot = "moonshot",
|
|
@@ -52,7 +53,7 @@ export type NameProviderApiKey = {
|
|
|
52
53
|
*/
|
|
53
54
|
name: string;
|
|
54
55
|
/**
|
|
55
|
-
* Provider type (openai, anthropic, google, azure, groq, custom)
|
|
56
|
+
* Provider type (openai, anthropic, google, azure, bedrock, groq, glm, moonshot, custom)
|
|
56
57
|
*/
|
|
57
58
|
provider?: Provider | undefined;
|
|
58
59
|
/**
|
|
@@ -4,10 +4,10 @@
|
|
|
4
4
|
|
|
5
5
|
import * as z from "zod/v4-mini";
|
|
6
6
|
import {
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
} from "./description-is-latest
|
|
7
|
+
NameDescriptionIsLatest,
|
|
8
|
+
NameDescriptionIsLatest$Outbound,
|
|
9
|
+
NameDescriptionIsLatest$outboundSchema,
|
|
10
|
+
} from "./name-description-is-latest.js";
|
|
11
11
|
|
|
12
12
|
export type NewVersionChanges = {
|
|
13
13
|
/**
|
|
@@ -17,13 +17,13 @@ export type NewVersionChanges = {
|
|
|
17
17
|
/**
|
|
18
18
|
* Fields to update on an existing prompt (all fields optional)
|
|
19
19
|
*/
|
|
20
|
-
changes?:
|
|
20
|
+
changes?: NameDescriptionIsLatest | undefined;
|
|
21
21
|
};
|
|
22
22
|
|
|
23
23
|
/** @internal */
|
|
24
24
|
export type NewVersionChanges$Outbound = {
|
|
25
25
|
newVersion: string;
|
|
26
|
-
changes?:
|
|
26
|
+
changes?: NameDescriptionIsLatest$Outbound | undefined;
|
|
27
27
|
};
|
|
28
28
|
|
|
29
29
|
/** @internal */
|
|
@@ -32,7 +32,7 @@ export const NewVersionChanges$outboundSchema: z.ZodMiniType<
|
|
|
32
32
|
NewVersionChanges
|
|
33
33
|
> = z.object({
|
|
34
34
|
newVersion: z.string(),
|
|
35
|
-
changes: z.optional(
|
|
35
|
+
changes: z.optional(NameDescriptionIsLatest$outboundSchema),
|
|
36
36
|
});
|
|
37
37
|
|
|
38
38
|
export function newVersionChangesToJSON(
|
|
@@ -12,7 +12,7 @@ export type DeleteAgentDatasetRequest = {
|
|
|
12
12
|
/** @internal */
|
|
13
13
|
export type DeleteAgentDatasetRequest$Outbound = {
|
|
14
14
|
id: number;
|
|
15
|
-
force
|
|
15
|
+
force?: boolean | undefined;
|
|
16
16
|
};
|
|
17
17
|
|
|
18
18
|
/** @internal */
|
|
@@ -21,7 +21,7 @@ export const DeleteAgentDatasetRequest$outboundSchema: z.ZodMiniType<
|
|
|
21
21
|
DeleteAgentDatasetRequest
|
|
22
22
|
> = z.object({
|
|
23
23
|
id: z.number(),
|
|
24
|
-
force: z.
|
|
24
|
+
force: z.optional(z.boolean()),
|
|
25
25
|
});
|
|
26
26
|
|
|
27
27
|
export function deleteAgentDatasetRequestToJSON(
|
|
@@ -12,7 +12,7 @@ export type DeletePromptDatasetRequest = {
|
|
|
12
12
|
/** @internal */
|
|
13
13
|
export type DeletePromptDatasetRequest$Outbound = {
|
|
14
14
|
id: number;
|
|
15
|
-
force
|
|
15
|
+
force?: boolean | undefined;
|
|
16
16
|
};
|
|
17
17
|
|
|
18
18
|
/** @internal */
|
|
@@ -21,7 +21,7 @@ export const DeletePromptDatasetRequest$outboundSchema: z.ZodMiniType<
|
|
|
21
21
|
DeletePromptDatasetRequest
|
|
22
22
|
> = z.object({
|
|
23
23
|
id: z.number(),
|
|
24
|
-
force: z.
|
|
24
|
+
force: z.optional(z.boolean()),
|
|
25
25
|
});
|
|
26
26
|
|
|
27
27
|
export function deletePromptDatasetRequestToJSON(
|
|
@@ -34,7 +34,7 @@ export type Data = {
|
|
|
34
34
|
promptGroupId: string;
|
|
35
35
|
datasetId: number;
|
|
36
36
|
status: string;
|
|
37
|
-
executionMode: models.
|
|
37
|
+
executionMode: models.Schemadefaul8Open;
|
|
38
38
|
config: Config;
|
|
39
39
|
progress: number;
|
|
40
40
|
currentIteration: number;
|
|
@@ -120,8 +120,8 @@ export const Data$inboundSchema: z.ZodMiniType<Data, unknown> = z.object({
|
|
|
120
120
|
datasetId: types.number(),
|
|
121
121
|
status: types.string(),
|
|
122
122
|
executionMode: z._default(
|
|
123
|
-
models.
|
|
124
|
-
models.
|
|
123
|
+
models.Schemadefaul8$inboundSchema,
|
|
124
|
+
models.Schemadefaul8.WorkerLoop,
|
|
125
125
|
),
|
|
126
126
|
config: z.lazy(() => Config$inboundSchema),
|
|
127
127
|
progress: types.number(),
|
|
@@ -18,7 +18,7 @@ export type ListProvidersRequest$Outbound = {
|
|
|
18
18
|
workspaceId?: string | undefined;
|
|
19
19
|
userId?: string | undefined;
|
|
20
20
|
provider?: string | undefined;
|
|
21
|
-
includeInactive
|
|
21
|
+
includeInactive?: boolean | undefined;
|
|
22
22
|
};
|
|
23
23
|
|
|
24
24
|
/** @internal */
|
|
@@ -30,7 +30,7 @@ export const ListProvidersRequest$outboundSchema: z.ZodMiniType<
|
|
|
30
30
|
workspaceId: z.optional(z.string()),
|
|
31
31
|
userId: z.optional(z.string()),
|
|
32
32
|
provider: z.optional(z.string()),
|
|
33
|
-
includeInactive: z.
|
|
33
|
+
includeInactive: z.optional(z.boolean()),
|
|
34
34
|
});
|
|
35
35
|
|
|
36
36
|
export function listProvidersRequestToJSON(
|
|
@@ -12,8 +12,8 @@ import * as models from "../index.js";
|
|
|
12
12
|
export type ListTracesRequest = {
|
|
13
13
|
sessionId?: string | undefined;
|
|
14
14
|
status?: string | undefined;
|
|
15
|
-
source?:
|
|
16
|
-
environment?:
|
|
15
|
+
source?: string | undefined;
|
|
16
|
+
environment?: string | undefined;
|
|
17
17
|
startAfter?: Date | undefined;
|
|
18
18
|
startBefore?: Date | undefined;
|
|
19
19
|
limit?: number | undefined;
|
|
@@ -28,8 +28,8 @@ export type ListTracesResponse = {
|
|
|
28
28
|
export type ListTracesRequest$Outbound = {
|
|
29
29
|
sessionId?: string | undefined;
|
|
30
30
|
status?: string | undefined;
|
|
31
|
-
source
|
|
32
|
-
environment
|
|
31
|
+
source?: string | undefined;
|
|
32
|
+
environment?: string | undefined;
|
|
33
33
|
startAfter?: string | undefined;
|
|
34
34
|
startBefore?: string | undefined;
|
|
35
35
|
limit: number;
|
|
@@ -43,14 +43,8 @@ export const ListTracesRequest$outboundSchema: z.ZodMiniType<
|
|
|
43
43
|
> = z.object({
|
|
44
44
|
sessionId: z.optional(z.string()),
|
|
45
45
|
status: z.optional(z.string()),
|
|
46
|
-
source: z.
|
|
47
|
-
|
|
48
|
-
models.Schemadefaul18.SDK,
|
|
49
|
-
),
|
|
50
|
-
environment: z._default(
|
|
51
|
-
models.Schemadefaul19$outboundSchema,
|
|
52
|
-
models.Schemadefaul19.Production,
|
|
53
|
-
),
|
|
46
|
+
source: z.optional(z.string()),
|
|
47
|
+
environment: z.optional(z.string()),
|
|
54
48
|
startAfter: z.optional(z.pipe(z.date(), z.transform(v => v.toISOString()))),
|
|
55
49
|
startBefore: z.optional(z.pipe(z.date(), z.transform(v => v.toISOString()))),
|
|
56
50
|
limit: z._default(z.number(), 0),
|
|
@@ -10,7 +10,7 @@ export type ListWorkspacesRequest = {
|
|
|
10
10
|
|
|
11
11
|
/** @internal */
|
|
12
12
|
export type ListWorkspacesRequest$Outbound = {
|
|
13
|
-
includeInactive
|
|
13
|
+
includeInactive?: boolean | undefined;
|
|
14
14
|
};
|
|
15
15
|
|
|
16
16
|
/** @internal */
|
|
@@ -18,7 +18,7 @@ export const ListWorkspacesRequest$outboundSchema: z.ZodMiniType<
|
|
|
18
18
|
ListWorkspacesRequest$Outbound,
|
|
19
19
|
ListWorkspacesRequest
|
|
20
20
|
> = z.object({
|
|
21
|
-
includeInactive: z.
|
|
21
|
+
includeInactive: z.optional(z.boolean()),
|
|
22
22
|
});
|
|
23
23
|
|
|
24
24
|
export function listWorkspacesRequestToJSON(
|
|
@@ -9,7 +9,7 @@ export type UpdateOrganizationMemberRequestBody = {
|
|
|
9
9
|
/**
|
|
10
10
|
* The new role for the member
|
|
11
11
|
*/
|
|
12
|
-
role?: models.
|
|
12
|
+
role?: models.Schemadefaul12 | undefined;
|
|
13
13
|
};
|
|
14
14
|
|
|
15
15
|
export type UpdateOrganizationMemberRequest = {
|
|
@@ -29,8 +29,8 @@ export const UpdateOrganizationMemberRequestBody$outboundSchema: z.ZodMiniType<
|
|
|
29
29
|
UpdateOrganizationMemberRequestBody
|
|
30
30
|
> = z.object({
|
|
31
31
|
role: z._default(
|
|
32
|
-
models.
|
|
33
|
-
models.
|
|
32
|
+
models.Schemadefaul12$outboundSchema,
|
|
33
|
+
models.Schemadefaul12.Owner,
|
|
34
34
|
),
|
|
35
35
|
});
|
|
36
36
|
|
|
@@ -10,13 +10,13 @@ export type UpdatePromptRequest = {
|
|
|
10
10
|
/**
|
|
11
11
|
* Fields to update on an existing prompt (all fields optional)
|
|
12
12
|
*/
|
|
13
|
-
body: models.
|
|
13
|
+
body: models.NameDescriptionIsLatest;
|
|
14
14
|
};
|
|
15
15
|
|
|
16
16
|
/** @internal */
|
|
17
17
|
export type UpdatePromptRequest$Outbound = {
|
|
18
18
|
id: number;
|
|
19
|
-
body: models.
|
|
19
|
+
body: models.NameDescriptionIsLatest$Outbound;
|
|
20
20
|
};
|
|
21
21
|
|
|
22
22
|
/** @internal */
|
|
@@ -25,7 +25,7 @@ export const UpdatePromptRequest$outboundSchema: z.ZodMiniType<
|
|
|
25
25
|
UpdatePromptRequest
|
|
26
26
|
> = z.object({
|
|
27
27
|
id: z.number(),
|
|
28
|
-
body: models.
|
|
28
|
+
body: models.NameDescriptionIsLatest$outboundSchema,
|
|
29
29
|
});
|
|
30
30
|
|
|
31
31
|
export function updatePromptRequestToJSON(
|
|
@@ -9,7 +9,7 @@ export type UpdateWorkspaceMemberRequestBody = {
|
|
|
9
9
|
/**
|
|
10
10
|
* The new role for the member
|
|
11
11
|
*/
|
|
12
|
-
role?: models.
|
|
12
|
+
role?: models.Schemadefaul14 | undefined;
|
|
13
13
|
};
|
|
14
14
|
|
|
15
15
|
export type UpdateWorkspaceMemberRequest = {
|
|
@@ -29,8 +29,8 @@ export const UpdateWorkspaceMemberRequestBody$outboundSchema: z.ZodMiniType<
|
|
|
29
29
|
UpdateWorkspaceMemberRequestBody
|
|
30
30
|
> = z.object({
|
|
31
31
|
role: z._default(
|
|
32
|
-
models.
|
|
33
|
-
models.
|
|
32
|
+
models.Schemadefaul14$outboundSchema,
|
|
33
|
+
models.Schemadefaul14.Admin,
|
|
34
34
|
),
|
|
35
35
|
});
|
|
36
36
|
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
|
|
5
5
|
import * as z from "zod/v4-mini";
|
|
6
6
|
|
|
7
|
-
export enum
|
|
7
|
+
export enum Schemadefaul12 {
|
|
8
8
|
Owner = "owner",
|
|
9
9
|
Admin = "admin",
|
|
10
10
|
Editor = "editor",
|
|
@@ -12,6 +12,6 @@ export enum Schemadefaul13 {
|
|
|
12
12
|
}
|
|
13
13
|
|
|
14
14
|
/** @internal */
|
|
15
|
-
export const
|
|
16
|
-
typeof
|
|
17
|
-
> = z.enum(
|
|
15
|
+
export const Schemadefaul12$outboundSchema: z.ZodMiniEnum<
|
|
16
|
+
typeof Schemadefaul12
|
|
17
|
+
> = z.enum(Schemadefaul12);
|
|
@@ -4,13 +4,13 @@
|
|
|
4
4
|
|
|
5
5
|
import * as z from "zod/v4-mini";
|
|
6
6
|
|
|
7
|
-
export enum
|
|
7
|
+
export enum Schemadefaul14 {
|
|
8
8
|
Admin = "admin",
|
|
9
9
|
Editor = "editor",
|
|
10
10
|
Viewer = "viewer",
|
|
11
11
|
}
|
|
12
12
|
|
|
13
13
|
/** @internal */
|
|
14
|
-
export const
|
|
15
|
-
typeof
|
|
16
|
-
> = z.enum(
|
|
14
|
+
export const Schemadefaul14$outboundSchema: z.ZodMiniEnum<
|
|
15
|
+
typeof Schemadefaul14
|
|
16
|
+
> = z.enum(Schemadefaul14);
|
|
@@ -6,14 +6,14 @@ import * as z from "zod/v4-mini";
|
|
|
6
6
|
import * as openEnums from "../types/enums.js";
|
|
7
7
|
import { OpenEnum } from "../types/enums.js";
|
|
8
8
|
|
|
9
|
-
export enum
|
|
9
|
+
export enum Schemadefaul8 {
|
|
10
10
|
WorkerLoop = "worker_loop",
|
|
11
11
|
BunWorker = "bun_worker",
|
|
12
12
|
}
|
|
13
|
-
export type
|
|
13
|
+
export type Schemadefaul8Open = OpenEnum<typeof Schemadefaul8>;
|
|
14
14
|
|
|
15
15
|
/** @internal */
|
|
16
|
-
export const
|
|
17
|
-
|
|
16
|
+
export const Schemadefaul8$inboundSchema: z.ZodMiniType<
|
|
17
|
+
Schemadefaul8Open,
|
|
18
18
|
unknown
|
|
19
|
-
> = openEnums.inboundSchema(
|
|
19
|
+
> = openEnums.inboundSchema(Schemadefaul8);
|
|
@@ -1,68 +0,0 @@
|
|
|
1
|
-
import * as z from "zod/v4-mini";
|
|
2
|
-
/**
|
|
3
|
-
* Updated output schema
|
|
4
|
-
*/
|
|
5
|
-
export type DescriptionIsLatestSystemPromptOutputSchema = {};
|
|
6
|
-
/**
|
|
7
|
-
* Updated metadata
|
|
8
|
-
*/
|
|
9
|
-
export type DescriptionIsLatestSystemPromptMetadata = {};
|
|
10
|
-
export type DescriptionIsLatestSystemPrompt = {
|
|
11
|
-
/**
|
|
12
|
-
* Updated description
|
|
13
|
-
*/
|
|
14
|
-
description?: string | undefined;
|
|
15
|
-
/**
|
|
16
|
-
* Update latest version flag
|
|
17
|
-
*/
|
|
18
|
-
isLatest?: boolean | undefined;
|
|
19
|
-
/**
|
|
20
|
-
* Updated system prompt
|
|
21
|
-
*/
|
|
22
|
-
systemPrompt?: string | undefined;
|
|
23
|
-
/**
|
|
24
|
-
* Updated human prompt template
|
|
25
|
-
*/
|
|
26
|
-
humanPrompt?: string | undefined;
|
|
27
|
-
/**
|
|
28
|
-
* Updated raw prompt
|
|
29
|
-
*/
|
|
30
|
-
rawPrompt?: string | undefined;
|
|
31
|
-
/**
|
|
32
|
-
* Updated output schema
|
|
33
|
-
*/
|
|
34
|
-
outputSchema?: DescriptionIsLatestSystemPromptOutputSchema | undefined;
|
|
35
|
-
/**
|
|
36
|
-
* Updated metadata
|
|
37
|
-
*/
|
|
38
|
-
metadata?: DescriptionIsLatestSystemPromptMetadata | undefined;
|
|
39
|
-
/**
|
|
40
|
-
* Updated tags
|
|
41
|
-
*/
|
|
42
|
-
tags?: Array<string> | undefined;
|
|
43
|
-
};
|
|
44
|
-
/** @internal */
|
|
45
|
-
export type DescriptionIsLatestSystemPromptOutputSchema$Outbound = {};
|
|
46
|
-
/** @internal */
|
|
47
|
-
export declare const DescriptionIsLatestSystemPromptOutputSchema$outboundSchema: z.ZodMiniType<DescriptionIsLatestSystemPromptOutputSchema$Outbound, DescriptionIsLatestSystemPromptOutputSchema>;
|
|
48
|
-
export declare function descriptionIsLatestSystemPromptOutputSchemaToJSON(descriptionIsLatestSystemPromptOutputSchema: DescriptionIsLatestSystemPromptOutputSchema): string;
|
|
49
|
-
/** @internal */
|
|
50
|
-
export type DescriptionIsLatestSystemPromptMetadata$Outbound = {};
|
|
51
|
-
/** @internal */
|
|
52
|
-
export declare const DescriptionIsLatestSystemPromptMetadata$outboundSchema: z.ZodMiniType<DescriptionIsLatestSystemPromptMetadata$Outbound, DescriptionIsLatestSystemPromptMetadata>;
|
|
53
|
-
export declare function descriptionIsLatestSystemPromptMetadataToJSON(descriptionIsLatestSystemPromptMetadata: DescriptionIsLatestSystemPromptMetadata): string;
|
|
54
|
-
/** @internal */
|
|
55
|
-
export type DescriptionIsLatestSystemPrompt$Outbound = {
|
|
56
|
-
description?: string | undefined;
|
|
57
|
-
isLatest?: boolean | undefined;
|
|
58
|
-
systemPrompt?: string | undefined;
|
|
59
|
-
humanPrompt?: string | undefined;
|
|
60
|
-
rawPrompt?: string | undefined;
|
|
61
|
-
outputSchema?: DescriptionIsLatestSystemPromptOutputSchema$Outbound | undefined;
|
|
62
|
-
metadata?: DescriptionIsLatestSystemPromptMetadata$Outbound | undefined;
|
|
63
|
-
tags?: Array<string> | undefined;
|
|
64
|
-
};
|
|
65
|
-
/** @internal */
|
|
66
|
-
export declare const DescriptionIsLatestSystemPrompt$outboundSchema: z.ZodMiniType<DescriptionIsLatestSystemPrompt$Outbound, DescriptionIsLatestSystemPrompt>;
|
|
67
|
-
export declare function descriptionIsLatestSystemPromptToJSON(descriptionIsLatestSystemPrompt: DescriptionIsLatestSystemPrompt): string;
|
|
68
|
-
//# sourceMappingURL=description-is-latest-system-prompt.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"description-is-latest-system-prompt.d.ts","sourceRoot":"","sources":["../../../src/models/description-is-latest-system-prompt.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,aAAa,CAAC;AAEjC;;GAEG;AACH,MAAM,MAAM,2CAA2C,GAAG,EAAE,CAAC;AAE7D;;GAEG;AACH,MAAM,MAAM,uCAAuC,GAAG,EAAE,CAAC;AAEzD,MAAM,MAAM,+BAA+B,GAAG;IAC5C;;OAEG;IACH,WAAW,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IACjC;;OAEG;IACH,QAAQ,CAAC,EAAE,OAAO,GAAG,SAAS,CAAC;IAC/B;;OAEG;IACH,YAAY,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAClC;;OAEG;IACH,WAAW,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IACjC;;OAEG;IACH,SAAS,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAC/B;;OAEG;IACH,YAAY,CAAC,EAAE,2CAA2C,GAAG,SAAS,CAAC;IACvE;;OAEG;IACH,QAAQ,CAAC,EAAE,uCAAuC,GAAG,SAAS,CAAC;IAC/D;;OAEG;IACH,IAAI,CAAC,EAAE,KAAK,CAAC,MAAM,CAAC,GAAG,SAAS,CAAC;CAClC,CAAC;AAEF,gBAAgB;AAChB,MAAM,MAAM,oDAAoD,GAAG,EAAE,CAAC;AAEtE,gBAAgB;AAChB,eAAO,MAAM,0DAA0D,EACrE,CAAC,CAAC,WAAW,CACX,oDAAoD,EACpD,2CAA2C,CAC7B,CAAC;AAEnB,wBAAgB,iDAAiD,CAC/D,2CAA2C,EACzC,2CAA2C,GAC5C,MAAM,CAMR;AAED,gBAAgB;AAChB,MAAM,MAAM,gDAAgD,GAAG,EAAE,CAAC;AAElE,gBAAgB;AAChB,eAAO,MAAM,sDAAsD,EACjE,CAAC,CAAC,WAAW,CACX,gDAAgD,EAChD,uCAAuC,CACzB,CAAC;AAEnB,wBAAgB,6CAA6C,CAC3D,uCAAuC,EACrC,uCAAuC,GACxC,MAAM,CAMR;AAED,gBAAgB;AAChB,MAAM,MAAM,wCAAwC,GAAG;IACrD,WAAW,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IACjC,QAAQ,CAAC,EAAE,OAAO,GAAG,SAAS,CAAC;IAC/B,YAAY,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAClC,WAAW,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IACjC,SAAS,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAC/B,YAAY,CAAC,EACT,oDAAoD,GACpD,SAAS,CAAC;IACd,QAAQ,CAAC,EAAE,gDAAgD,GAAG,SAAS,CAAC;IACxE,IAAI,CAAC,EAAE,KAAK,CAAC,MAAM,CAAC,GAAG,SAAS,CAAC;CAClC,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,8CAA8C,EAAE,CAAC,CAAC,WAAW,CACxE,wCAAwC,EACxC,+BAA+B,CAc/B,CAAC;AAEH,wBAAgB,qCAAqC,CACnD,+BAA+B,EAAE,+BAA+B,GAC/D,MAAM,CAMR"}
|
|
@@ -1,68 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
/*
|
|
3
|
-
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
4
|
-
*/
|
|
5
|
-
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
6
|
-
if (k2 === undefined) k2 = k;
|
|
7
|
-
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
8
|
-
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
9
|
-
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
10
|
-
}
|
|
11
|
-
Object.defineProperty(o, k2, desc);
|
|
12
|
-
}) : (function(o, m, k, k2) {
|
|
13
|
-
if (k2 === undefined) k2 = k;
|
|
14
|
-
o[k2] = m[k];
|
|
15
|
-
}));
|
|
16
|
-
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
17
|
-
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
18
|
-
}) : function(o, v) {
|
|
19
|
-
o["default"] = v;
|
|
20
|
-
});
|
|
21
|
-
var __importStar = (this && this.__importStar) || (function () {
|
|
22
|
-
var ownKeys = function(o) {
|
|
23
|
-
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
24
|
-
var ar = [];
|
|
25
|
-
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
26
|
-
return ar;
|
|
27
|
-
};
|
|
28
|
-
return ownKeys(o);
|
|
29
|
-
};
|
|
30
|
-
return function (mod) {
|
|
31
|
-
if (mod && mod.__esModule) return mod;
|
|
32
|
-
var result = {};
|
|
33
|
-
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
34
|
-
__setModuleDefault(result, mod);
|
|
35
|
-
return result;
|
|
36
|
-
};
|
|
37
|
-
})();
|
|
38
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
39
|
-
exports.DescriptionIsLatestSystemPrompt$outboundSchema = exports.DescriptionIsLatestSystemPromptMetadata$outboundSchema = exports.DescriptionIsLatestSystemPromptOutputSchema$outboundSchema = void 0;
|
|
40
|
-
exports.descriptionIsLatestSystemPromptOutputSchemaToJSON = descriptionIsLatestSystemPromptOutputSchemaToJSON;
|
|
41
|
-
exports.descriptionIsLatestSystemPromptMetadataToJSON = descriptionIsLatestSystemPromptMetadataToJSON;
|
|
42
|
-
exports.descriptionIsLatestSystemPromptToJSON = descriptionIsLatestSystemPromptToJSON;
|
|
43
|
-
const z = __importStar(require("zod/v4-mini"));
|
|
44
|
-
/** @internal */
|
|
45
|
-
exports.DescriptionIsLatestSystemPromptOutputSchema$outboundSchema = z.object({});
|
|
46
|
-
function descriptionIsLatestSystemPromptOutputSchemaToJSON(descriptionIsLatestSystemPromptOutputSchema) {
|
|
47
|
-
return JSON.stringify(exports.DescriptionIsLatestSystemPromptOutputSchema$outboundSchema.parse(descriptionIsLatestSystemPromptOutputSchema));
|
|
48
|
-
}
|
|
49
|
-
/** @internal */
|
|
50
|
-
exports.DescriptionIsLatestSystemPromptMetadata$outboundSchema = z.object({});
|
|
51
|
-
function descriptionIsLatestSystemPromptMetadataToJSON(descriptionIsLatestSystemPromptMetadata) {
|
|
52
|
-
return JSON.stringify(exports.DescriptionIsLatestSystemPromptMetadata$outboundSchema.parse(descriptionIsLatestSystemPromptMetadata));
|
|
53
|
-
}
|
|
54
|
-
/** @internal */
|
|
55
|
-
exports.DescriptionIsLatestSystemPrompt$outboundSchema = z.object({
|
|
56
|
-
description: z.optional(z.string()),
|
|
57
|
-
isLatest: z.optional(z.boolean()),
|
|
58
|
-
systemPrompt: z.optional(z.string()),
|
|
59
|
-
humanPrompt: z.optional(z.string()),
|
|
60
|
-
rawPrompt: z.optional(z.string()),
|
|
61
|
-
outputSchema: z.optional(z.lazy(() => exports.DescriptionIsLatestSystemPromptOutputSchema$outboundSchema)),
|
|
62
|
-
metadata: z.optional(z.lazy(() => exports.DescriptionIsLatestSystemPromptMetadata$outboundSchema)),
|
|
63
|
-
tags: z.optional(z.array(z.string())),
|
|
64
|
-
});
|
|
65
|
-
function descriptionIsLatestSystemPromptToJSON(descriptionIsLatestSystemPrompt) {
|
|
66
|
-
return JSON.stringify(exports.DescriptionIsLatestSystemPrompt$outboundSchema.parse(descriptionIsLatestSystemPrompt));
|
|
67
|
-
}
|
|
68
|
-
//# sourceMappingURL=description-is-latest-system-prompt.js.map
|