@roarkanalytics/sdk 2.17.0 → 2.19.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/CHANGELOG.md +35 -0
- package/README.md +9 -0
- package/core.d.ts.map +1 -1
- package/core.js +5 -0
- package/core.js.map +1 -1
- package/core.mjs +5 -0
- package/core.mjs.map +1 -1
- package/package.json +1 -1
- package/resources/persona.d.ts +12 -12
- package/resources/persona.d.ts.map +1 -1
- package/resources/simulation.d.ts +6 -6
- package/resources/simulation.d.ts.map +1 -1
- package/src/_shims/auto/runtime-bun.ts +1 -1
- package/src/_shims/auto/runtime-node.ts +1 -1
- package/src/_shims/auto/runtime.ts +1 -1
- package/src/_shims/auto/types-node.ts +1 -1
- package/src/_shims/bun-runtime.ts +2 -2
- package/src/_shims/index.d.ts +3 -3
- package/src/_shims/index.mjs +1 -1
- package/src/_shims/node-runtime.ts +3 -3
- package/src/_shims/registry.ts +1 -1
- package/src/_shims/web-runtime.ts +3 -3
- package/src/core.ts +11 -5
- package/src/error.ts +1 -1
- package/src/index.ts +15 -15
- package/src/internal/qs/formats.ts +1 -1
- package/src/internal/qs/index.ts +3 -3
- package/src/internal/qs/stringify.ts +3 -3
- package/src/internal/qs/utils.ts +2 -2
- package/src/resource.ts +1 -1
- package/src/resources/call.ts +3 -3
- package/src/resources/evaluation.ts +3 -3
- package/src/resources/health.ts +2 -2
- package/src/resources/index.ts +7 -7
- package/src/resources/integrations.ts +2 -2
- package/src/resources/metric.ts +2 -2
- package/src/resources/persona.ts +21 -15
- package/src/resources/simulation.ts +12 -9
- package/src/resources.ts +1 -1
- package/src/shims/node.ts +3 -3
- package/src/shims/web.ts +3 -3
- package/src/uploads.ts +4 -4
- package/src/version.ts +1 -1
- package/version.d.ts +1 -1
- package/version.js +1 -1
- package/version.mjs +1 -1
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
2
2
|
|
|
3
|
-
import { APIResource } from
|
|
4
|
-
import { isRequestOptions } from
|
|
5
|
-
import * as Core from
|
|
3
|
+
import { APIResource } from "../resource.js";
|
|
4
|
+
import { isRequestOptions } from "../core.js";
|
|
5
|
+
import * as Core from "../core.js";
|
|
6
6
|
|
|
7
7
|
export class Simulation extends APIResource {
|
|
8
8
|
/**
|
|
@@ -281,7 +281,8 @@ export namespace SimulationGetRunPlanJobResponse {
|
|
|
281
281
|
| 'AU'
|
|
282
282
|
| 'IT'
|
|
283
283
|
| 'ID'
|
|
284
|
-
| 'TH'
|
|
284
|
+
| 'TH'
|
|
285
|
+
| 'JP';
|
|
285
286
|
|
|
286
287
|
/**
|
|
287
288
|
* Background noise setting
|
|
@@ -329,7 +330,7 @@ export namespace SimulationGetRunPlanJobResponse {
|
|
|
329
330
|
/**
|
|
330
331
|
* Primary language ISO 639-1 code for the persona
|
|
331
332
|
*/
|
|
332
|
-
language: 'EN' | 'ES' | 'DE' | 'HI' | 'FR' | 'NL' | 'AR' | 'EL' | 'IT' | 'ID' | 'TH';
|
|
333
|
+
language: 'EN' | 'ES' | 'DE' | 'HI' | 'FR' | 'NL' | 'AR' | 'EL' | 'IT' | 'ID' | 'TH' | 'JA';
|
|
333
334
|
|
|
334
335
|
/**
|
|
335
336
|
* How reliable the persona's memory is
|
|
@@ -507,7 +508,8 @@ export namespace SimulationGetSimulationJobByIDResponse {
|
|
|
507
508
|
| 'AU'
|
|
508
509
|
| 'IT'
|
|
509
510
|
| 'ID'
|
|
510
|
-
| 'TH'
|
|
511
|
+
| 'TH'
|
|
512
|
+
| 'JP';
|
|
511
513
|
|
|
512
514
|
/**
|
|
513
515
|
* Background noise setting
|
|
@@ -555,7 +557,7 @@ export namespace SimulationGetSimulationJobByIDResponse {
|
|
|
555
557
|
/**
|
|
556
558
|
* Primary language ISO 639-1 code for the persona
|
|
557
559
|
*/
|
|
558
|
-
language: 'EN' | 'ES' | 'DE' | 'HI' | 'FR' | 'NL' | 'AR' | 'EL' | 'IT' | 'ID' | 'TH';
|
|
560
|
+
language: 'EN' | 'ES' | 'DE' | 'HI' | 'FR' | 'NL' | 'AR' | 'EL' | 'IT' | 'ID' | 'TH' | 'JA';
|
|
559
561
|
|
|
560
562
|
/**
|
|
561
563
|
* How reliable the persona's memory is
|
|
@@ -874,7 +876,8 @@ export namespace SimulationLookupSimulationJobResponse {
|
|
|
874
876
|
| 'AU'
|
|
875
877
|
| 'IT'
|
|
876
878
|
| 'ID'
|
|
877
|
-
| 'TH'
|
|
879
|
+
| 'TH'
|
|
880
|
+
| 'JP';
|
|
878
881
|
|
|
879
882
|
/**
|
|
880
883
|
* Background noise setting
|
|
@@ -922,7 +925,7 @@ export namespace SimulationLookupSimulationJobResponse {
|
|
|
922
925
|
/**
|
|
923
926
|
* Primary language ISO 639-1 code for the persona
|
|
924
927
|
*/
|
|
925
|
-
language: 'EN' | 'ES' | 'DE' | 'HI' | 'FR' | 'NL' | 'AR' | 'EL' | 'IT' | 'ID' | 'TH';
|
|
928
|
+
language: 'EN' | 'ES' | 'DE' | 'HI' | 'FR' | 'NL' | 'AR' | 'EL' | 'IT' | 'ID' | 'TH' | 'JA';
|
|
926
929
|
|
|
927
930
|
/**
|
|
928
931
|
* How reliable the persona's memory is
|
package/src/resources.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export * from
|
|
1
|
+
export * from "./resources/index.js";
|
package/src/shims/node.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
// @ts-ignore
|
|
2
|
-
import * as types from
|
|
3
|
-
import { setShims } from
|
|
4
|
-
import { getRuntime } from
|
|
2
|
+
import * as types from "../_shims/node-types.js";
|
|
3
|
+
import { setShims } from "../_shims/registry.js";
|
|
4
|
+
import { getRuntime } from "../_shims/node-runtime.js";
|
|
5
5
|
setShims(getRuntime());
|
|
6
6
|
|
|
7
7
|
declare module '../_shims/manual-types' {
|
package/src/shims/web.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
// @ts-ignore
|
|
2
|
-
import * as types from
|
|
3
|
-
import { setShims } from
|
|
4
|
-
import { getRuntime } from
|
|
2
|
+
import * as types from "../_shims/web-types.js";
|
|
3
|
+
import { setShims } from "../_shims/registry.js";
|
|
4
|
+
import { getRuntime } from "../_shims/web-runtime.js";
|
|
5
5
|
setShims(getRuntime({ manuallyImported: true }));
|
|
6
6
|
|
|
7
7
|
declare module '../_shims/manual-types' {
|
package/src/uploads.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { type RequestOptions } from
|
|
1
|
+
import { type RequestOptions } from "./core.js";
|
|
2
2
|
import {
|
|
3
3
|
FormData,
|
|
4
4
|
File,
|
|
@@ -7,9 +7,9 @@ import {
|
|
|
7
7
|
getMultipartRequestOptions,
|
|
8
8
|
type FsReadStream,
|
|
9
9
|
isFsReadStream,
|
|
10
|
-
} from
|
|
11
|
-
import { MultipartBody } from
|
|
12
|
-
export { fileFromPath } from
|
|
10
|
+
} from "./_shims/index.js";
|
|
11
|
+
import { MultipartBody } from "./_shims/MultipartBody.js";
|
|
12
|
+
export { fileFromPath } from "./_shims/index.js";
|
|
13
13
|
|
|
14
14
|
type BlobLikePart = string | ArrayBuffer | ArrayBufferView | BlobLike | Uint8Array | DataView;
|
|
15
15
|
export type BlobPart = string | ArrayBuffer | ArrayBufferView | Blob | Uint8Array | DataView;
|
package/src/version.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export const VERSION = '2.
|
|
1
|
+
export const VERSION = '2.19.1'; // x-release-please-version
|
package/version.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export declare const VERSION = "2.
|
|
1
|
+
export declare const VERSION = "2.19.1";
|
|
2
2
|
//# sourceMappingURL=version.d.ts.map
|
package/version.js
CHANGED
package/version.mjs
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export const VERSION = '2.
|
|
1
|
+
export const VERSION = '2.19.1'; // x-release-please-version
|
|
2
2
|
//# sourceMappingURL=version.mjs.map
|