@roarkanalytics/sdk 2.21.0 → 2.21.2
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/CHANGELOG.md +16 -0
- package/README.md +112 -51
- package/api-promise.d.mts +2 -0
- package/api-promise.d.mts.map +1 -0
- package/api-promise.d.ts +2 -0
- package/api-promise.d.ts.map +1 -0
- package/api-promise.js +6 -0
- package/api-promise.js.map +1 -0
- package/api-promise.mjs +2 -0
- package/api-promise.mjs.map +1 -0
- package/client.d.mts +196 -0
- package/client.d.mts.map +1 -0
- package/client.d.ts +196 -0
- package/client.d.ts.map +1 -0
- package/client.js +472 -0
- package/client.js.map +1 -0
- package/client.mjs +468 -0
- package/client.mjs.map +1 -0
- package/core/api-promise.d.mts +46 -0
- package/core/api-promise.d.mts.map +1 -0
- package/core/api-promise.d.ts +46 -0
- package/core/api-promise.d.ts.map +1 -0
- package/core/api-promise.js +74 -0
- package/core/api-promise.js.map +1 -0
- package/core/api-promise.mjs +70 -0
- package/core/api-promise.mjs.map +1 -0
- package/core/error.d.mts +46 -0
- package/core/error.d.mts.map +1 -0
- package/core/error.d.ts +46 -0
- package/core/error.d.ts.map +1 -0
- package/core/error.js +113 -0
- package/core/error.js.map +1 -0
- package/core/error.mjs +97 -0
- package/core/error.mjs.map +1 -0
- package/core/resource.d.mts +6 -0
- package/core/resource.d.mts.map +1 -0
- package/core/resource.d.ts +6 -0
- package/core/resource.d.ts.map +1 -0
- package/core/resource.js +11 -0
- package/core/resource.js.map +1 -0
- package/core/resource.mjs +7 -0
- package/core/resource.mjs.map +1 -0
- package/core/uploads.d.mts +3 -0
- package/core/uploads.d.mts.map +1 -0
- package/core/uploads.d.ts +3 -0
- package/core/uploads.d.ts.map +1 -0
- package/core/uploads.js +6 -0
- package/core/uploads.js.map +1 -0
- package/core/uploads.mjs +2 -0
- package/core/uploads.mjs.map +1 -0
- package/error.d.mts +2 -0
- package/error.d.mts.map +1 -0
- package/error.d.ts +1 -46
- package/error.d.ts.map +1 -1
- package/error.js +3 -110
- package/error.js.map +1 -1
- package/error.mjs +1 -96
- package/error.mjs.map +1 -1
- package/index.d.mts +6 -132
- package/index.d.mts.map +1 -0
- package/index.d.ts +5 -131
- package/index.d.ts.map +1 -1
- package/index.js +12 -130
- package/index.js.map +1 -1
- package/index.mjs +5 -103
- package/index.mjs.map +1 -1
- package/internal/builtin-types.d.mts +73 -0
- package/internal/builtin-types.d.mts.map +1 -0
- package/internal/builtin-types.d.ts +73 -0
- package/internal/builtin-types.d.ts.map +1 -0
- package/internal/builtin-types.js +4 -0
- package/internal/builtin-types.js.map +1 -0
- package/internal/builtin-types.mjs +3 -0
- package/internal/builtin-types.mjs.map +1 -0
- package/internal/detect-platform.d.mts +15 -0
- package/internal/detect-platform.d.mts.map +1 -0
- package/internal/detect-platform.d.ts +15 -0
- package/internal/detect-platform.d.ts.map +1 -0
- package/internal/detect-platform.js +162 -0
- package/internal/detect-platform.js.map +1 -0
- package/internal/detect-platform.mjs +157 -0
- package/internal/detect-platform.mjs.map +1 -0
- package/internal/errors.d.mts +3 -0
- package/internal/errors.d.mts.map +1 -0
- package/internal/errors.d.ts +3 -0
- package/internal/errors.d.ts.map +1 -0
- package/internal/errors.js +41 -0
- package/internal/errors.js.map +1 -0
- package/internal/errors.mjs +36 -0
- package/internal/errors.mjs.map +1 -0
- package/internal/headers.d.mts +20 -0
- package/internal/headers.d.mts.map +1 -0
- package/internal/headers.d.ts +20 -0
- package/internal/headers.d.ts.map +1 -0
- package/internal/headers.js +79 -0
- package/internal/headers.js.map +1 -0
- package/internal/headers.mjs +74 -0
- package/internal/headers.mjs.map +1 -0
- package/internal/parse.d.mts +12 -0
- package/internal/parse.d.mts.map +1 -0
- package/internal/parse.d.ts +12 -0
- package/internal/parse.d.ts.map +1 -0
- package/internal/parse.js +40 -0
- package/internal/parse.js.map +1 -0
- package/internal/parse.mjs +37 -0
- package/internal/parse.mjs.map +1 -0
- package/internal/qs/formats.d.mts +7 -0
- package/internal/qs/formats.d.mts.map +1 -0
- package/internal/qs/formats.d.ts +1 -0
- package/internal/qs/formats.d.ts.map +1 -1
- package/internal/qs/formats.js +4 -2
- package/internal/qs/formats.js.map +1 -1
- package/internal/qs/formats.mjs +2 -1
- package/internal/qs/formats.mjs.map +1 -1
- package/internal/qs/index.d.mts +10 -0
- package/internal/qs/index.d.mts.map +1 -0
- package/internal/qs/index.d.ts.map +1 -1
- package/internal/qs/stringify.d.mts +3 -0
- package/internal/qs/stringify.d.mts.map +1 -0
- package/internal/qs/stringify.d.ts.map +1 -1
- package/internal/qs/stringify.js +16 -19
- package/internal/qs/stringify.js.map +1 -1
- package/internal/qs/stringify.mjs +17 -19
- package/internal/qs/stringify.mjs.map +1 -1
- package/internal/qs/types.d.mts +57 -0
- package/internal/qs/types.d.mts.map +1 -0
- package/internal/qs/utils.d.mts +15 -0
- package/internal/qs/utils.d.mts.map +1 -0
- package/internal/qs/utils.d.ts +1 -0
- package/internal/qs/utils.d.ts.map +1 -1
- package/internal/qs/utils.js +22 -21
- package/internal/qs/utils.js.map +1 -1
- package/internal/qs/utils.mjs +12 -12
- package/internal/qs/utils.mjs.map +1 -1
- package/internal/request-options.d.mts +75 -0
- package/internal/request-options.d.mts.map +1 -0
- package/internal/request-options.d.ts +75 -0
- package/internal/request-options.d.ts.map +1 -0
- package/internal/request-options.js +14 -0
- package/internal/request-options.js.map +1 -0
- package/internal/request-options.mjs +10 -0
- package/internal/request-options.mjs.map +1 -0
- package/internal/shim-types.d.mts +17 -0
- package/internal/shim-types.d.mts.map +1 -0
- package/internal/shim-types.d.ts +17 -0
- package/internal/shim-types.d.ts.map +1 -0
- package/internal/shim-types.js +4 -0
- package/internal/shim-types.js.map +1 -0
- package/internal/shim-types.mjs +3 -0
- package/internal/shim-types.mjs.map +1 -0
- package/internal/shims.d.mts +20 -0
- package/internal/shims.d.mts.map +1 -0
- package/internal/shims.d.ts +20 -0
- package/internal/shims.d.ts.map +1 -0
- package/internal/shims.js +92 -0
- package/internal/shims.js.map +1 -0
- package/internal/shims.mjs +85 -0
- package/internal/shims.mjs.map +1 -0
- package/internal/to-file.d.mts +45 -0
- package/internal/to-file.d.mts.map +1 -0
- package/internal/to-file.d.ts +45 -0
- package/internal/to-file.d.ts.map +1 -0
- package/internal/to-file.js +91 -0
- package/internal/to-file.js.map +1 -0
- package/internal/to-file.mjs +88 -0
- package/internal/to-file.mjs.map +1 -0
- package/internal/tslib.js +81 -0
- package/internal/tslib.mjs +17 -0
- package/internal/types.d.mts +69 -0
- package/internal/types.d.mts.map +1 -0
- package/internal/types.d.ts +69 -0
- package/internal/types.d.ts.map +1 -0
- package/internal/types.js +4 -0
- package/internal/types.js.map +1 -0
- package/internal/types.mjs +3 -0
- package/internal/types.mjs.map +1 -0
- package/internal/uploads.d.mts +42 -0
- package/internal/uploads.d.mts.map +1 -0
- package/internal/uploads.d.ts +42 -0
- package/internal/uploads.d.ts.map +1 -0
- package/internal/uploads.js +141 -0
- package/internal/uploads.js.map +1 -0
- package/internal/uploads.mjs +131 -0
- package/internal/uploads.mjs.map +1 -0
- package/internal/utils/base64.d.mts +3 -0
- package/internal/utils/base64.d.mts.map +1 -0
- package/internal/utils/base64.d.ts +3 -0
- package/internal/utils/base64.d.ts.map +1 -0
- package/internal/utils/base64.js +38 -0
- package/internal/utils/base64.js.map +1 -0
- package/internal/utils/base64.mjs +33 -0
- package/internal/utils/base64.mjs.map +1 -0
- package/internal/utils/bytes.d.mts +4 -0
- package/internal/utils/bytes.d.mts.map +1 -0
- package/internal/utils/bytes.d.ts +4 -0
- package/internal/utils/bytes.d.ts.map +1 -0
- package/internal/utils/bytes.js +31 -0
- package/internal/utils/bytes.js.map +1 -0
- package/internal/utils/bytes.mjs +26 -0
- package/internal/utils/bytes.mjs.map +1 -0
- package/internal/utils/env.d.mts +9 -0
- package/internal/utils/env.d.mts.map +1 -0
- package/internal/utils/env.d.ts +9 -0
- package/internal/utils/env.d.ts.map +1 -0
- package/internal/utils/env.js +22 -0
- package/internal/utils/env.js.map +1 -0
- package/internal/utils/env.mjs +18 -0
- package/internal/utils/env.mjs.map +1 -0
- package/internal/utils/log.d.mts +37 -0
- package/internal/utils/log.d.mts.map +1 -0
- package/internal/utils/log.d.ts +37 -0
- package/internal/utils/log.d.ts.map +1 -0
- package/internal/utils/log.js +85 -0
- package/internal/utils/log.js.map +1 -0
- package/internal/utils/log.mjs +79 -0
- package/internal/utils/log.mjs.map +1 -0
- package/internal/utils/path.d.mts +15 -0
- package/internal/utils/path.d.mts.map +1 -0
- package/internal/utils/path.d.ts +15 -0
- package/internal/utils/path.d.ts.map +1 -0
- package/internal/utils/path.js +79 -0
- package/internal/utils/path.js.map +1 -0
- package/internal/utils/path.mjs +74 -0
- package/internal/utils/path.mjs.map +1 -0
- package/internal/utils/sleep.d.mts +2 -0
- package/internal/utils/sleep.d.mts.map +1 -0
- package/internal/utils/sleep.d.ts +2 -0
- package/internal/utils/sleep.d.ts.map +1 -0
- package/internal/utils/sleep.js +7 -0
- package/internal/utils/sleep.js.map +1 -0
- package/internal/utils/sleep.mjs +3 -0
- package/internal/utils/sleep.mjs.map +1 -0
- package/internal/utils/uuid.d.mts +5 -0
- package/internal/utils/uuid.d.mts.map +1 -0
- package/internal/utils/uuid.d.ts +5 -0
- package/internal/utils/uuid.d.ts.map +1 -0
- package/internal/utils/uuid.js +19 -0
- package/internal/utils/uuid.js.map +1 -0
- package/internal/utils/uuid.mjs +15 -0
- package/internal/utils/uuid.mjs.map +1 -0
- package/internal/utils/values.d.mts +18 -0
- package/internal/utils/values.d.mts.map +1 -0
- package/internal/utils/values.d.ts +18 -0
- package/internal/utils/values.d.ts.map +1 -0
- package/internal/utils/values.js +112 -0
- package/internal/utils/values.js.map +1 -0
- package/internal/utils/values.mjs +94 -0
- package/internal/utils/values.mjs.map +1 -0
- package/internal/utils.d.mts +7 -0
- package/internal/utils.d.mts.map +1 -0
- package/internal/utils.d.ts +7 -0
- package/internal/utils.d.ts.map +1 -0
- package/internal/utils.js +11 -0
- package/internal/utils.js.map +1 -0
- package/internal/utils.mjs +8 -0
- package/internal/utils.mjs.map +1 -0
- package/package.json +108 -73
- package/resource.d.mts +2 -0
- package/resource.d.mts.map +1 -0
- package/resource.d.ts +1 -5
- package/resource.d.ts.map +1 -1
- package/resource.js +3 -8
- package/resource.js.map +1 -1
- package/resource.mjs +1 -6
- package/resource.mjs.map +1 -1
- package/resources/call.d.mts +1207 -0
- package/resources/call.d.mts.map +1 -0
- package/resources/call.d.ts +9 -10
- package/resources/call.d.ts.map +1 -1
- package/resources/call.js +17 -16
- package/resources/call.js.map +1 -1
- package/resources/call.mjs +17 -16
- package/resources/call.mjs.map +1 -1
- package/resources/evaluation.d.mts +1307 -0
- package/resources/evaluation.d.mts.map +1 -0
- package/resources/evaluation.d.ts +8 -9
- package/resources/evaluation.d.ts.map +1 -1
- package/resources/evaluation.js +15 -14
- package/resources/evaluation.js.map +1 -1
- package/resources/evaluation.mjs +15 -14
- package/resources/evaluation.mjs.map +1 -1
- package/resources/health.d.mts +29 -0
- package/resources/health.d.mts.map +1 -0
- package/resources/health.d.ts +4 -3
- package/resources/health.d.ts.map +1 -1
- package/resources/health.js +1 -1
- package/resources/health.js.map +1 -1
- package/resources/health.mjs +1 -1
- package/resources/health.mjs.map +1 -1
- package/resources/index.d.mts +8 -0
- package/resources/index.d.mts.map +1 -0
- package/resources/index.d.ts.map +1 -1
- package/resources/integrations.d.mts +114 -0
- package/resources/integrations.d.mts.map +1 -0
- package/resources/integrations.d.ts +5 -4
- package/resources/integrations.d.ts.map +1 -1
- package/resources/integrations.js +1 -1
- package/resources/integrations.js.map +1 -1
- package/resources/integrations.mjs +1 -1
- package/resources/integrations.mjs.map +1 -1
- package/resources/metric.d.mts +75 -0
- package/resources/metric.d.mts.map +1 -0
- package/resources/metric.d.ts +4 -3
- package/resources/metric.d.ts.map +1 -1
- package/resources/metric.js +1 -1
- package/resources/metric.js.map +1 -1
- package/resources/metric.mjs +1 -1
- package/resources/metric.mjs.map +1 -1
- package/resources/persona.d.mts +528 -0
- package/resources/persona.d.mts.map +1 -0
- package/resources/persona.d.ts +8 -9
- package/resources/persona.d.ts.map +1 -1
- package/resources/persona.js +23 -13
- package/resources/persona.js.map +1 -1
- package/resources/persona.mjs +23 -13
- package/resources/persona.mjs.map +1 -1
- package/resources/simulation.d.mts +802 -0
- package/resources/simulation.d.mts.map +1 -0
- package/resources/simulation.d.ts +10 -11
- package/resources/simulation.d.ts.map +1 -1
- package/resources/simulation.js +26 -15
- package/resources/simulation.js.map +1 -1
- package/resources/simulation.mjs +26 -15
- package/resources/simulation.mjs.map +1 -1
- package/resources.d.mts +2 -0
- package/resources.d.mts.map +1 -0
- package/resources.d.ts.map +1 -1
- package/resources.js +2 -15
- package/resources.js.map +1 -1
- package/src/api-promise.ts +2 -0
- package/src/client.ts +842 -0
- package/src/core/README.md +3 -0
- package/src/core/api-promise.ts +92 -0
- package/src/core/error.ts +130 -0
- package/src/core/resource.ts +11 -0
- package/src/core/uploads.ts +2 -0
- package/src/error.ts +2 -130
- package/src/index.ts +5 -308
- package/src/internal/README.md +3 -0
- package/src/internal/builtin-types.ts +93 -0
- package/src/internal/detect-platform.ts +196 -0
- package/src/internal/errors.ts +33 -0
- package/src/internal/headers.ts +97 -0
- package/src/internal/parse.ts +56 -0
- package/src/internal/qs/formats.ts +2 -1
- package/src/internal/qs/stringify.ts +17 -20
- package/src/internal/qs/utils.ts +14 -14
- package/src/internal/request-options.ts +91 -0
- package/src/internal/shim-types.ts +26 -0
- package/src/internal/shims.ts +107 -0
- package/src/internal/to-file.ts +154 -0
- package/src/internal/types.ts +95 -0
- package/src/internal/uploads.ts +187 -0
- package/src/internal/utils/base64.ts +40 -0
- package/src/internal/utils/bytes.ts +32 -0
- package/src/internal/utils/env.ts +18 -0
- package/src/internal/utils/log.ts +126 -0
- package/src/internal/utils/path.ts +88 -0
- package/src/internal/utils/sleep.ts +3 -0
- package/src/internal/utils/uuid.ts +17 -0
- package/src/internal/utils/values.ts +105 -0
- package/src/internal/utils.ts +8 -0
- package/src/resource.ts +2 -11
- package/src/resources/call.ts +19 -38
- package/src/resources/evaluation.ts +21 -37
- package/src/resources/health.ts +4 -3
- package/src/resources/integrations.ts +7 -6
- package/src/resources/metric.ts +4 -3
- package/src/resources/persona.ts +16 -29
- package/src/resources/simulation.ts +22 -43
- package/src/tsconfig.json +2 -2
- package/src/uploads.ts +2 -255
- package/src/version.ts +1 -1
- package/uploads.d.mts +2 -0
- package/uploads.d.mts.map +1 -0
- package/uploads.d.ts +1 -74
- package/uploads.d.ts.map +1 -1
- package/uploads.js +3 -168
- package/uploads.js.map +1 -1
- package/uploads.mjs +1 -157
- package/uploads.mjs.map +1 -1
- package/version.d.mts +2 -0
- package/version.d.mts.map +1 -0
- package/version.d.ts +1 -1
- package/version.js +1 -1
- package/version.mjs +1 -1
- package/_shims/MultipartBody.d.ts +0 -9
- package/_shims/MultipartBody.d.ts.map +0 -1
- package/_shims/MultipartBody.js +0 -16
- package/_shims/MultipartBody.js.map +0 -1
- package/_shims/MultipartBody.mjs +0 -12
- package/_shims/MultipartBody.mjs.map +0 -1
- package/_shims/README.md +0 -46
- package/_shims/auto/runtime-bun.d.ts +0 -5
- package/_shims/auto/runtime-bun.d.ts.map +0 -1
- package/_shims/auto/runtime-bun.js +0 -21
- package/_shims/auto/runtime-bun.js.map +0 -1
- package/_shims/auto/runtime-bun.mjs +0 -2
- package/_shims/auto/runtime-bun.mjs.map +0 -1
- package/_shims/auto/runtime-node.d.ts +0 -5
- package/_shims/auto/runtime-node.d.ts.map +0 -1
- package/_shims/auto/runtime-node.js +0 -21
- package/_shims/auto/runtime-node.js.map +0 -1
- package/_shims/auto/runtime-node.mjs +0 -2
- package/_shims/auto/runtime-node.mjs.map +0 -1
- package/_shims/auto/runtime.d.ts +0 -5
- package/_shims/auto/runtime.d.ts.map +0 -1
- package/_shims/auto/runtime.js +0 -21
- package/_shims/auto/runtime.js.map +0 -1
- package/_shims/auto/runtime.mjs +0 -2
- package/_shims/auto/runtime.mjs.map +0 -1
- package/_shims/auto/types-node.d.ts +0 -5
- package/_shims/auto/types-node.d.ts.map +0 -1
- package/_shims/auto/types-node.js +0 -21
- package/_shims/auto/types-node.js.map +0 -1
- package/_shims/auto/types-node.mjs +0 -2
- package/_shims/auto/types-node.mjs.map +0 -1
- package/_shims/auto/types.d.ts +0 -101
- package/_shims/auto/types.js +0 -3
- package/_shims/auto/types.mjs +0 -3
- package/_shims/bun-runtime.d.ts +0 -6
- package/_shims/bun-runtime.d.ts.map +0 -1
- package/_shims/bun-runtime.js +0 -14
- package/_shims/bun-runtime.js.map +0 -1
- package/_shims/bun-runtime.mjs +0 -10
- package/_shims/bun-runtime.mjs.map +0 -1
- package/_shims/index.d.ts +0 -83
- package/_shims/index.js +0 -17
- package/_shims/index.mjs +0 -11
- package/_shims/manual-types.d.ts +0 -12
- package/_shims/manual-types.js +0 -3
- package/_shims/manual-types.mjs +0 -3
- package/_shims/node-runtime.d.ts +0 -3
- package/_shims/node-runtime.d.ts.map +0 -1
- package/_shims/node-runtime.js +0 -89
- package/_shims/node-runtime.js.map +0 -1
- package/_shims/node-runtime.mjs +0 -56
- package/_shims/node-runtime.mjs.map +0 -1
- package/_shims/node-types.d.ts +0 -42
- package/_shims/node-types.js +0 -3
- package/_shims/node-types.mjs +0 -3
- package/_shims/registry.d.ts +0 -37
- package/_shims/registry.d.ts.map +0 -1
- package/_shims/registry.js +0 -41
- package/_shims/registry.js.map +0 -1
- package/_shims/registry.mjs +0 -37
- package/_shims/registry.mjs.map +0 -1
- package/_shims/web-runtime.d.ts +0 -5
- package/_shims/web-runtime.d.ts.map +0 -1
- package/_shims/web-runtime.js +0 -78
- package/_shims/web-runtime.js.map +0 -1
- package/_shims/web-runtime.mjs +0 -71
- package/_shims/web-runtime.mjs.map +0 -1
- package/_shims/web-types.d.ts +0 -83
- package/_shims/web-types.js +0 -3
- package/_shims/web-types.mjs +0 -3
- package/core.d.ts +0 -255
- package/core.d.ts.map +0 -1
- package/core.js +0 -929
- package/core.js.map +0 -1
- package/core.mjs +0 -897
- package/core.mjs.map +0 -1
- package/shims/node.d.ts +0 -30
- package/shims/node.d.ts.map +0 -1
- package/shims/node.js +0 -31
- package/shims/node.js.map +0 -1
- package/shims/node.mjs +0 -5
- package/shims/node.mjs.map +0 -1
- package/shims/web.d.ts +0 -26
- package/shims/web.d.ts.map +0 -1
- package/shims/web.js +0 -31
- package/shims/web.js.map +0 -1
- package/shims/web.mjs +0 -5
- package/shims/web.mjs.map +0 -1
- package/src/_shims/MultipartBody.ts +0 -9
- package/src/_shims/README.md +0 -46
- package/src/_shims/auto/runtime-bun.ts +0 -4
- package/src/_shims/auto/runtime-node.ts +0 -4
- package/src/_shims/auto/runtime.ts +0 -4
- package/src/_shims/auto/types-node.ts +0 -4
- package/src/_shims/auto/types.d.ts +0 -101
- package/src/_shims/auto/types.js +0 -3
- package/src/_shims/auto/types.mjs +0 -3
- package/src/_shims/bun-runtime.ts +0 -14
- package/src/_shims/index.d.ts +0 -83
- package/src/_shims/index.js +0 -17
- package/src/_shims/index.mjs +0 -11
- package/src/_shims/manual-types.d.ts +0 -12
- package/src/_shims/manual-types.js +0 -3
- package/src/_shims/manual-types.mjs +0 -3
- package/src/_shims/node-runtime.ts +0 -81
- package/src/_shims/node-types.d.ts +0 -42
- package/src/_shims/node-types.js +0 -3
- package/src/_shims/node-types.mjs +0 -3
- package/src/_shims/registry.ts +0 -67
- package/src/_shims/web-runtime.ts +0 -103
- package/src/_shims/web-types.d.ts +0 -83
- package/src/_shims/web-types.js +0 -3
- package/src/_shims/web-types.mjs +0 -3
- package/src/core.ts +0 -1242
- package/src/shims/node.ts +0 -50
- package/src/shims/web.ts +0 -50
package/src/resources/call.ts
CHANGED
|
@@ -1,47 +1,40 @@
|
|
|
1
1
|
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
2
2
|
|
|
3
|
-
import { APIResource } from '../resource';
|
|
4
|
-
import {
|
|
5
|
-
import
|
|
3
|
+
import { APIResource } from '../core/resource';
|
|
4
|
+
import { APIPromise } from '../core/api-promise';
|
|
5
|
+
import { RequestOptions } from '../internal/request-options';
|
|
6
|
+
import { path } from '../internal/utils/path';
|
|
6
7
|
|
|
7
8
|
export class Call extends APIResource {
|
|
8
9
|
/**
|
|
9
10
|
* Create a new call with recording, transcript, agents, and customers
|
|
10
11
|
*/
|
|
11
|
-
create(body: CallCreateParams, options?:
|
|
12
|
+
create(body: CallCreateParams, options?: RequestOptions): APIPromise<CallCreateResponse> {
|
|
12
13
|
return this._client.post('/v1/call', { body, ...options });
|
|
13
14
|
}
|
|
14
15
|
|
|
15
16
|
/**
|
|
16
17
|
* Returns a paginated list of calls for the authenticated project.
|
|
17
18
|
*/
|
|
18
|
-
list(query?: CallListParams, options?: Core.RequestOptions): Core.APIPromise<CallListResponse>;
|
|
19
|
-
list(options?: Core.RequestOptions): Core.APIPromise<CallListResponse>;
|
|
20
19
|
list(
|
|
21
|
-
query: CallListParams |
|
|
22
|
-
options?:
|
|
23
|
-
):
|
|
24
|
-
if (isRequestOptions(query)) {
|
|
25
|
-
return this.list({}, query);
|
|
26
|
-
}
|
|
20
|
+
query: CallListParams | null | undefined = {},
|
|
21
|
+
options?: RequestOptions,
|
|
22
|
+
): APIPromise<CallListResponse> {
|
|
27
23
|
return this._client.get('/v1/call', { query, ...options });
|
|
28
24
|
}
|
|
29
25
|
|
|
30
26
|
/**
|
|
31
27
|
* Retrieve an existing call by its unique identifier
|
|
32
28
|
*/
|
|
33
|
-
|
|
34
|
-
return this._client.get(`/v1/call/${
|
|
29
|
+
getByID(callID: string, options?: RequestOptions): APIPromise<CallGetByIDResponse> {
|
|
30
|
+
return this._client.get(path`/v1/call/${callID}`, options);
|
|
35
31
|
}
|
|
36
32
|
|
|
37
33
|
/**
|
|
38
34
|
* Fetch all evaluation run results for a specific call.
|
|
39
35
|
*/
|
|
40
|
-
listEvaluationRuns(
|
|
41
|
-
|
|
42
|
-
options?: Core.RequestOptions,
|
|
43
|
-
): Core.APIPromise<CallListEvaluationRunsResponse> {
|
|
44
|
-
return this._client.get(`/v1/call/${callId}/evaluation-run`, options);
|
|
36
|
+
listEvaluationRuns(callID: string, options?: RequestOptions): APIPromise<CallListEvaluationRunsResponse> {
|
|
37
|
+
return this._client.get(path`/v1/call/${callID}/evaluation-run`, options);
|
|
45
38
|
}
|
|
46
39
|
|
|
47
40
|
/**
|
|
@@ -49,31 +42,19 @@ export class Call extends APIResource {
|
|
|
49
42
|
* system-generated and custom metrics. Only returns successfully computed metrics.
|
|
50
43
|
*/
|
|
51
44
|
listMetrics(
|
|
52
|
-
|
|
53
|
-
query
|
|
54
|
-
options?:
|
|
55
|
-
):
|
|
56
|
-
|
|
57
|
-
listMetrics(
|
|
58
|
-
callId: string,
|
|
59
|
-
query: CallListMetricsParams | Core.RequestOptions = {},
|
|
60
|
-
options?: Core.RequestOptions,
|
|
61
|
-
): Core.APIPromise<CallListMetricsResponse> {
|
|
62
|
-
if (isRequestOptions(query)) {
|
|
63
|
-
return this.listMetrics(callId, {}, query);
|
|
64
|
-
}
|
|
65
|
-
return this._client.get(`/v1/call/${callId}/metrics`, { query, ...options });
|
|
45
|
+
callID: string,
|
|
46
|
+
query: CallListMetricsParams | null | undefined = {},
|
|
47
|
+
options?: RequestOptions,
|
|
48
|
+
): APIPromise<CallListMetricsResponse> {
|
|
49
|
+
return this._client.get(path`/v1/call/${callID}/metrics`, { query, ...options });
|
|
66
50
|
}
|
|
67
51
|
|
|
68
52
|
/**
|
|
69
53
|
* Fetch detailed sentiment analysis results for a specific call, including
|
|
70
54
|
* emotional tone, key phrases, and sentiment scores.
|
|
71
55
|
*/
|
|
72
|
-
listSentimentRuns(
|
|
73
|
-
|
|
74
|
-
options?: Core.RequestOptions,
|
|
75
|
-
): Core.APIPromise<CallListSentimentRunsResponse> {
|
|
76
|
-
return this._client.get(`/v1/call/${callId}/sentiment-run`, options);
|
|
56
|
+
listSentimentRuns(callID: string, options?: RequestOptions): APIPromise<CallListSentimentRunsResponse> {
|
|
57
|
+
return this._client.get(path`/v1/call/${callID}/sentiment-run`, options);
|
|
77
58
|
}
|
|
78
59
|
}
|
|
79
60
|
|
|
@@ -1,8 +1,9 @@
|
|
|
1
1
|
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
2
2
|
|
|
3
|
-
import { APIResource } from '../resource';
|
|
4
|
-
import {
|
|
5
|
-
import
|
|
3
|
+
import { APIResource } from '../core/resource';
|
|
4
|
+
import { APIPromise } from '../core/api-promise';
|
|
5
|
+
import { RequestOptions } from '../internal/request-options';
|
|
6
|
+
import { path } from '../internal/utils/path';
|
|
6
7
|
|
|
7
8
|
export class Evaluation extends APIResource {
|
|
8
9
|
/**
|
|
@@ -10,26 +11,26 @@ export class Evaluation extends APIResource {
|
|
|
10
11
|
*/
|
|
11
12
|
createJob(
|
|
12
13
|
body: EvaluationCreateJobParams,
|
|
13
|
-
options?:
|
|
14
|
-
):
|
|
14
|
+
options?: RequestOptions,
|
|
15
|
+
): APIPromise<EvaluationCreateJobResponse> {
|
|
15
16
|
return this._client.post('/v1/evaluation/job', { body, ...options });
|
|
16
17
|
}
|
|
17
18
|
|
|
18
19
|
/**
|
|
19
20
|
* Returns a specific evaluator with its blocks and configuration.
|
|
20
21
|
*/
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
options?:
|
|
24
|
-
):
|
|
25
|
-
return this._client.get(`/v1/evaluation/evaluators/${
|
|
22
|
+
getEvaluatorByID(
|
|
23
|
+
evaluatorID: string,
|
|
24
|
+
options?: RequestOptions,
|
|
25
|
+
): APIPromise<EvaluationGetEvaluatorByIDResponse> {
|
|
26
|
+
return this._client.get(path`/v1/evaluation/evaluators/${evaluatorID}`, options);
|
|
26
27
|
}
|
|
27
28
|
|
|
28
29
|
/**
|
|
29
30
|
* Retrieve details of a specific evaluation job
|
|
30
31
|
*/
|
|
31
|
-
getJob(
|
|
32
|
-
return this._client.get(`/v1/evaluation/job/${
|
|
32
|
+
getJob(jobID: string, options?: RequestOptions): APIPromise<EvaluationGetJobResponse> {
|
|
33
|
+
return this._client.get(path`/v1/evaluation/job/${jobID}`, options);
|
|
33
34
|
}
|
|
34
35
|
|
|
35
36
|
/**
|
|
@@ -37,17 +38,9 @@ export class Evaluation extends APIResource {
|
|
|
37
38
|
* authenticated project.
|
|
38
39
|
*/
|
|
39
40
|
listEvaluators(
|
|
40
|
-
query
|
|
41
|
-
options?:
|
|
42
|
-
):
|
|
43
|
-
listEvaluators(options?: Core.RequestOptions): Core.APIPromise<EvaluationListEvaluatorsResponse>;
|
|
44
|
-
listEvaluators(
|
|
45
|
-
query: EvaluationListEvaluatorsParams | Core.RequestOptions = {},
|
|
46
|
-
options?: Core.RequestOptions,
|
|
47
|
-
): Core.APIPromise<EvaluationListEvaluatorsResponse> {
|
|
48
|
-
if (isRequestOptions(query)) {
|
|
49
|
-
return this.listEvaluators({}, query);
|
|
50
|
-
}
|
|
41
|
+
query: EvaluationListEvaluatorsParams | null | undefined = {},
|
|
42
|
+
options?: RequestOptions,
|
|
43
|
+
): APIPromise<EvaluationListEvaluatorsResponse> {
|
|
51
44
|
return this._client.get('/v1/evaluation/evaluators', { query, ...options });
|
|
52
45
|
}
|
|
53
46
|
|
|
@@ -55,20 +48,11 @@ export class Evaluation extends APIResource {
|
|
|
55
48
|
* Retrieve paginated details of a specific evaluation job runs
|
|
56
49
|
*/
|
|
57
50
|
listJobRuns(
|
|
58
|
-
|
|
59
|
-
query
|
|
60
|
-
options?:
|
|
61
|
-
):
|
|
62
|
-
|
|
63
|
-
listJobRuns(
|
|
64
|
-
jobId: string,
|
|
65
|
-
query: EvaluationListJobRunsParams | Core.RequestOptions = {},
|
|
66
|
-
options?: Core.RequestOptions,
|
|
67
|
-
): Core.APIPromise<EvaluationListJobRunsResponse> {
|
|
68
|
-
if (isRequestOptions(query)) {
|
|
69
|
-
return this.listJobRuns(jobId, {}, query);
|
|
70
|
-
}
|
|
71
|
-
return this._client.get(`/v1/evaluation/job/${jobId}/runs`, { query, ...options });
|
|
51
|
+
jobID: string,
|
|
52
|
+
query: EvaluationListJobRunsParams | null | undefined = {},
|
|
53
|
+
options?: RequestOptions,
|
|
54
|
+
): APIPromise<EvaluationListJobRunsResponse> {
|
|
55
|
+
return this._client.get(path`/v1/evaluation/job/${jobID}/runs`, { query, ...options });
|
|
72
56
|
}
|
|
73
57
|
}
|
|
74
58
|
|
package/src/resources/health.ts
CHANGED
|
@@ -1,13 +1,14 @@
|
|
|
1
1
|
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
2
2
|
|
|
3
|
-
import { APIResource } from '../resource';
|
|
4
|
-
import
|
|
3
|
+
import { APIResource } from '../core/resource';
|
|
4
|
+
import { APIPromise } from '../core/api-promise';
|
|
5
|
+
import { RequestOptions } from '../internal/request-options';
|
|
5
6
|
|
|
6
7
|
export class Health extends APIResource {
|
|
7
8
|
/**
|
|
8
9
|
* Returns the health status of the API and its dependencies
|
|
9
10
|
*/
|
|
10
|
-
get(options?:
|
|
11
|
+
get(options?: RequestOptions): APIPromise<HealthGetResponse> {
|
|
11
12
|
return this._client.get('/health', options);
|
|
12
13
|
}
|
|
13
14
|
}
|
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
2
2
|
|
|
3
|
-
import { APIResource } from '../resource';
|
|
4
|
-
import
|
|
3
|
+
import { APIResource } from '../core/resource';
|
|
4
|
+
import { APIPromise } from '../core/api-promise';
|
|
5
|
+
import { RequestOptions } from '../internal/request-options';
|
|
5
6
|
|
|
6
7
|
export class Integrations extends APIResource {
|
|
7
8
|
/**
|
|
@@ -16,8 +17,8 @@ export class Integrations extends APIResource {
|
|
|
16
17
|
*/
|
|
17
18
|
createRetellCall(
|
|
18
19
|
body: IntegrationCreateRetellCallParams,
|
|
19
|
-
options?:
|
|
20
|
-
):
|
|
20
|
+
options?: RequestOptions,
|
|
21
|
+
): APIPromise<IntegrationCreateRetellCallResponse> {
|
|
21
22
|
return this._client.post('/v1/retell/call', { body, ...options });
|
|
22
23
|
}
|
|
23
24
|
|
|
@@ -44,8 +45,8 @@ export class Integrations extends APIResource {
|
|
|
44
45
|
*/
|
|
45
46
|
createVapiCall(
|
|
46
47
|
body: IntegrationCreateVapiCallParams,
|
|
47
|
-
options?:
|
|
48
|
-
):
|
|
48
|
+
options?: RequestOptions,
|
|
49
|
+
): APIPromise<IntegrationCreateVapiCallResponse> {
|
|
49
50
|
return this._client.post('/v1/vapi/call', { body, ...options });
|
|
50
51
|
}
|
|
51
52
|
}
|
package/src/resources/metric.ts
CHANGED
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
2
2
|
|
|
3
|
-
import { APIResource } from '../resource';
|
|
4
|
-
import
|
|
3
|
+
import { APIResource } from '../core/resource';
|
|
4
|
+
import { APIPromise } from '../core/api-promise';
|
|
5
|
+
import { RequestOptions } from '../internal/request-options';
|
|
5
6
|
|
|
6
7
|
export class Metric extends APIResource {
|
|
7
8
|
/**
|
|
@@ -9,7 +10,7 @@ export class Metric extends APIResource {
|
|
|
9
10
|
* system-generated and custom metrics. Only returns metrics from enabled analysis
|
|
10
11
|
* packages.
|
|
11
12
|
*/
|
|
12
|
-
listDefinitions(options?:
|
|
13
|
+
listDefinitions(options?: RequestOptions): APIPromise<MetricListDefinitionsResponse> {
|
|
13
14
|
return this._client.get('/v1/metric/definitions', options);
|
|
14
15
|
}
|
|
15
16
|
}
|
package/src/resources/persona.ts
CHANGED
|
@@ -1,8 +1,9 @@
|
|
|
1
1
|
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
2
2
|
|
|
3
|
-
import { APIResource } from '../resource';
|
|
4
|
-
import {
|
|
5
|
-
import
|
|
3
|
+
import { APIResource } from '../core/resource';
|
|
4
|
+
import { APIPromise } from '../core/api-promise';
|
|
5
|
+
import { RequestOptions } from '../internal/request-options';
|
|
6
|
+
import { path } from '../internal/utils/path';
|
|
6
7
|
|
|
7
8
|
export class Persona extends APIResource {
|
|
8
9
|
/**
|
|
@@ -18,7 +19,7 @@ export class Persona extends APIResource {
|
|
|
18
19
|
* });
|
|
19
20
|
* ```
|
|
20
21
|
*/
|
|
21
|
-
create(body: PersonaCreateParams, options?:
|
|
22
|
+
create(body: PersonaCreateParams, options?: RequestOptions): APIPromise<PersonaCreateResponse> {
|
|
22
23
|
return this._client.post('/v1/persona', { body, ...options });
|
|
23
24
|
}
|
|
24
25
|
|
|
@@ -31,20 +32,11 @@ export class Persona extends APIResource {
|
|
|
31
32
|
* ```
|
|
32
33
|
*/
|
|
33
34
|
update(
|
|
34
|
-
|
|
35
|
-
body
|
|
36
|
-
options?:
|
|
37
|
-
):
|
|
38
|
-
|
|
39
|
-
update(
|
|
40
|
-
personaId: string,
|
|
41
|
-
body: PersonaUpdateParams | Core.RequestOptions = {},
|
|
42
|
-
options?: Core.RequestOptions,
|
|
43
|
-
): Core.APIPromise<PersonaUpdateResponse> {
|
|
44
|
-
if (isRequestOptions(body)) {
|
|
45
|
-
return this.update(personaId, {}, body);
|
|
46
|
-
}
|
|
47
|
-
return this._client.put(`/v1/persona/${personaId}`, { body, ...options });
|
|
35
|
+
personaID: string,
|
|
36
|
+
body: PersonaUpdateParams | null | undefined = {},
|
|
37
|
+
options?: RequestOptions,
|
|
38
|
+
): APIPromise<PersonaUpdateResponse> {
|
|
39
|
+
return this._client.put(path`/v1/persona/${personaID}`, { body, ...options });
|
|
48
40
|
}
|
|
49
41
|
|
|
50
42
|
/**
|
|
@@ -55,15 +47,10 @@ export class Persona extends APIResource {
|
|
|
55
47
|
* const personas = await client.persona.list();
|
|
56
48
|
* ```
|
|
57
49
|
*/
|
|
58
|
-
list(query?: PersonaListParams, options?: Core.RequestOptions): Core.APIPromise<PersonaListResponse>;
|
|
59
|
-
list(options?: Core.RequestOptions): Core.APIPromise<PersonaListResponse>;
|
|
60
50
|
list(
|
|
61
|
-
query: PersonaListParams |
|
|
62
|
-
options?:
|
|
63
|
-
):
|
|
64
|
-
if (isRequestOptions(query)) {
|
|
65
|
-
return this.list({}, query);
|
|
66
|
-
}
|
|
51
|
+
query: PersonaListParams | null | undefined = {},
|
|
52
|
+
options?: RequestOptions,
|
|
53
|
+
): APIPromise<PersonaListResponse> {
|
|
67
54
|
return this._client.get('/v1/persona', { query, ...options });
|
|
68
55
|
}
|
|
69
56
|
|
|
@@ -72,11 +59,11 @@ export class Persona extends APIResource {
|
|
|
72
59
|
*
|
|
73
60
|
* @example
|
|
74
61
|
* ```ts
|
|
75
|
-
* const response = await client.persona.
|
|
62
|
+
* const response = await client.persona.getByID('personaId');
|
|
76
63
|
* ```
|
|
77
64
|
*/
|
|
78
|
-
|
|
79
|
-
return this._client.get(`/v1/persona/${
|
|
65
|
+
getByID(personaID: string, options?: RequestOptions): APIPromise<PersonaGetByIDResponse> {
|
|
66
|
+
return this._client.get(path`/v1/persona/${personaID}`, options);
|
|
80
67
|
}
|
|
81
68
|
}
|
|
82
69
|
|
|
@@ -1,8 +1,9 @@
|
|
|
1
1
|
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
2
2
|
|
|
3
|
-
import { APIResource } from '../resource';
|
|
4
|
-
import {
|
|
5
|
-
import
|
|
3
|
+
import { APIResource } from '../core/resource';
|
|
4
|
+
import { APIPromise } from '../core/api-promise';
|
|
5
|
+
import { RequestOptions } from '../internal/request-options';
|
|
6
|
+
import { path } from '../internal/utils/path';
|
|
6
7
|
|
|
7
8
|
export class Simulation extends APIResource {
|
|
8
9
|
/**
|
|
@@ -16,11 +17,8 @@ export class Simulation extends APIResource {
|
|
|
16
17
|
* );
|
|
17
18
|
* ```
|
|
18
19
|
*/
|
|
19
|
-
getRunPlanJob(
|
|
20
|
-
|
|
21
|
-
options?: Core.RequestOptions,
|
|
22
|
-
): Core.APIPromise<SimulationGetRunPlanJobResponse> {
|
|
23
|
-
return this._client.get(`/v1/simulation/plan/job/${jobId}`, options);
|
|
20
|
+
getRunPlanJob(jobID: unknown, options?: RequestOptions): APIPromise<SimulationGetRunPlanJobResponse> {
|
|
21
|
+
return this._client.get(path`/v1/simulation/plan/job/${jobID}`, options);
|
|
24
22
|
}
|
|
25
23
|
|
|
26
24
|
/**
|
|
@@ -30,16 +28,16 @@ export class Simulation extends APIResource {
|
|
|
30
28
|
* @example
|
|
31
29
|
* ```ts
|
|
32
30
|
* const response =
|
|
33
|
-
* await client.simulation.
|
|
31
|
+
* await client.simulation.getSimulationJobByID(
|
|
34
32
|
* '7f3e4d2c-8a91-4b5c-9e6f-1a2b3c4d5e6f',
|
|
35
33
|
* );
|
|
36
34
|
* ```
|
|
37
35
|
*/
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
options?:
|
|
41
|
-
):
|
|
42
|
-
return this._client.get(`/v1/simulation/job/${
|
|
36
|
+
getSimulationJobByID(
|
|
37
|
+
jobID: unknown,
|
|
38
|
+
options?: RequestOptions,
|
|
39
|
+
): APIPromise<SimulationGetSimulationJobByIDResponse> {
|
|
40
|
+
return this._client.get(path`/v1/simulation/job/${jobID}`, options);
|
|
43
41
|
}
|
|
44
42
|
|
|
45
43
|
/**
|
|
@@ -52,17 +50,9 @@ export class Simulation extends APIResource {
|
|
|
52
50
|
* ```
|
|
53
51
|
*/
|
|
54
52
|
listRunPlanJobs(
|
|
55
|
-
query
|
|
56
|
-
options?:
|
|
57
|
-
):
|
|
58
|
-
listRunPlanJobs(options?: Core.RequestOptions): Core.APIPromise<SimulationListRunPlanJobsResponse>;
|
|
59
|
-
listRunPlanJobs(
|
|
60
|
-
query: SimulationListRunPlanJobsParams | Core.RequestOptions = {},
|
|
61
|
-
options?: Core.RequestOptions,
|
|
62
|
-
): Core.APIPromise<SimulationListRunPlanJobsResponse> {
|
|
63
|
-
if (isRequestOptions(query)) {
|
|
64
|
-
return this.listRunPlanJobs({}, query);
|
|
65
|
-
}
|
|
53
|
+
query: SimulationListRunPlanJobsParams | null | undefined = {},
|
|
54
|
+
options?: RequestOptions,
|
|
55
|
+
): APIPromise<SimulationListRunPlanJobsResponse> {
|
|
66
56
|
return this._client.get('/v1/simulation/plan/jobs', { query, ...options });
|
|
67
57
|
}
|
|
68
58
|
|
|
@@ -75,17 +65,9 @@ export class Simulation extends APIResource {
|
|
|
75
65
|
* ```
|
|
76
66
|
*/
|
|
77
67
|
listScenarios(
|
|
78
|
-
query
|
|
79
|
-
options?:
|
|
80
|
-
):
|
|
81
|
-
listScenarios(options?: Core.RequestOptions): Core.APIPromise<SimulationListScenariosResponse>;
|
|
82
|
-
listScenarios(
|
|
83
|
-
query: SimulationListScenariosParams | Core.RequestOptions = {},
|
|
84
|
-
options?: Core.RequestOptions,
|
|
85
|
-
): Core.APIPromise<SimulationListScenariosResponse> {
|
|
86
|
-
if (isRequestOptions(query)) {
|
|
87
|
-
return this.listScenarios({}, query);
|
|
88
|
-
}
|
|
68
|
+
query: SimulationListScenariosParams | null | undefined = {},
|
|
69
|
+
options?: RequestOptions,
|
|
70
|
+
): APIPromise<SimulationListScenariosResponse> {
|
|
89
71
|
return this._client.get('/v1/simulation/scenario', { query, ...options });
|
|
90
72
|
}
|
|
91
73
|
|
|
@@ -103,8 +85,8 @@ export class Simulation extends APIResource {
|
|
|
103
85
|
*/
|
|
104
86
|
lookupSimulationJob(
|
|
105
87
|
query: SimulationLookupSimulationJobParams,
|
|
106
|
-
options?:
|
|
107
|
-
):
|
|
88
|
+
options?: RequestOptions,
|
|
89
|
+
): APIPromise<SimulationLookupSimulationJobResponse> {
|
|
108
90
|
return this._client.get('/v1/simulation/job/lookup', { query, ...options });
|
|
109
91
|
}
|
|
110
92
|
|
|
@@ -118,11 +100,8 @@ export class Simulation extends APIResource {
|
|
|
118
100
|
* );
|
|
119
101
|
* ```
|
|
120
102
|
*/
|
|
121
|
-
startRunPlanJob(
|
|
122
|
-
|
|
123
|
-
options?: Core.RequestOptions,
|
|
124
|
-
): Core.APIPromise<SimulationStartRunPlanJobResponse> {
|
|
125
|
-
return this._client.post(`/v1/simulation/plan/${planId}/job`, options);
|
|
103
|
+
startRunPlanJob(planID: unknown, options?: RequestOptions): APIPromise<SimulationStartRunPlanJobResponse> {
|
|
104
|
+
return this._client.post(path`/v1/simulation/plan/${planID}/job`, options);
|
|
126
105
|
}
|
|
127
106
|
}
|
|
128
107
|
|