@studyfetch/sdk 1.26.0 → 1.27.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +12 -0
- package/package.json +1 -1
- package/resources/v1/components.d.mts +40 -0
- package/resources/v1/components.d.mts.map +1 -1
- package/resources/v1/components.d.ts +40 -0
- package/resources/v1/components.d.ts.map +1 -1
- package/resources/v1/index.d.mts +0 -7
- package/resources/v1/index.d.mts.map +1 -1
- package/resources/v1/index.d.ts +0 -7
- package/resources/v1/index.d.ts.map +1 -1
- package/resources/v1/index.js +9 -23
- package/resources/v1/index.js.map +1 -1
- package/resources/v1/index.mjs +0 -7
- package/resources/v1/index.mjs.map +1 -1
- package/resources/v1/materials/upload.d.mts +12 -0
- package/resources/v1/materials/upload.d.mts.map +1 -1
- package/resources/v1/materials/upload.d.ts +12 -0
- package/resources/v1/materials/upload.d.ts.map +1 -1
- package/resources/v1/v1.d.mts +0 -28
- package/resources/v1/v1.d.mts.map +1 -1
- package/resources/v1/v1.d.ts +0 -28
- package/resources/v1/v1.d.ts.map +1 -1
- package/resources/v1/v1.js +0 -28
- package/resources/v1/v1.js.map +1 -1
- package/resources/v1/v1.mjs +0 -28
- package/resources/v1/v1.mjs.map +1 -1
- package/src/resources/v1/components.ts +49 -0
- package/src/resources/v1/index.ts +0 -45
- package/src/resources/v1/materials/upload.ts +15 -0
- package/src/resources/v1/v1.ts +0 -122
- package/src/version.ts +1 -1
- package/version.d.mts +1 -1
- package/version.d.ts +1 -1
- package/version.js +1 -1
- package/version.mjs +1 -1
- package/resources/v1/audio-recaps/audio-recaps.d.mts +0 -44
- package/resources/v1/audio-recaps/audio-recaps.d.mts.map +0 -1
- package/resources/v1/audio-recaps/audio-recaps.d.ts +0 -44
- package/resources/v1/audio-recaps/audio-recaps.d.ts.map +0 -1
- package/resources/v1/audio-recaps/audio-recaps.js +0 -63
- package/resources/v1/audio-recaps/audio-recaps.js.map +0 -1
- package/resources/v1/audio-recaps/audio-recaps.mjs +0 -58
- package/resources/v1/audio-recaps/audio-recaps.mjs.map +0 -1
- package/resources/v1/audio-recaps/index.d.mts +0 -3
- package/resources/v1/audio-recaps/index.d.mts.map +0 -1
- package/resources/v1/audio-recaps/index.d.ts +0 -3
- package/resources/v1/audio-recaps/index.d.ts.map +0 -1
- package/resources/v1/audio-recaps/index.js +0 -9
- package/resources/v1/audio-recaps/index.js.map +0 -1
- package/resources/v1/audio-recaps/index.mjs +0 -4
- package/resources/v1/audio-recaps/index.mjs.map +0 -1
- package/resources/v1/audio-recaps/sections.d.mts +0 -35
- package/resources/v1/audio-recaps/sections.d.mts.map +0 -1
- package/resources/v1/audio-recaps/sections.d.ts +0 -35
- package/resources/v1/audio-recaps/sections.d.ts.map +0 -1
- package/resources/v1/audio-recaps/sections.js +0 -42
- package/resources/v1/audio-recaps/sections.js.map +0 -1
- package/resources/v1/audio-recaps/sections.mjs +0 -38
- package/resources/v1/audio-recaps/sections.mjs.map +0 -1
- package/resources/v1/audio-recaps.d.mts +0 -2
- package/resources/v1/audio-recaps.d.mts.map +0 -1
- package/resources/v1/audio-recaps.d.ts +0 -2
- package/resources/v1/audio-recaps.d.ts.map +0 -1
- package/resources/v1/audio-recaps.js +0 -6
- package/resources/v1/audio-recaps.js.map +0 -1
- package/resources/v1/audio-recaps.mjs +0 -3
- package/resources/v1/audio-recaps.mjs.map +0 -1
- package/resources/v1/chat/chat.d.mts +0 -217
- package/resources/v1/chat/chat.d.mts.map +0 -1
- package/resources/v1/chat/chat.d.ts +0 -217
- package/resources/v1/chat/chat.d.ts.map +0 -1
- package/resources/v1/chat/chat.js +0 -99
- package/resources/v1/chat/chat.js.map +0 -1
- package/resources/v1/chat/chat.mjs +0 -94
- package/resources/v1/chat/chat.mjs.map +0 -1
- package/resources/v1/chat/index.d.mts +0 -4
- package/resources/v1/chat/index.d.mts.map +0 -1
- package/resources/v1/chat/index.d.ts +0 -4
- package/resources/v1/chat/index.d.ts.map +0 -1
- package/resources/v1/chat/index.js +0 -11
- package/resources/v1/chat/index.js.map +0 -1
- package/resources/v1/chat/index.mjs +0 -5
- package/resources/v1/chat/index.mjs.map +0 -1
- package/resources/v1/chat/sessions.d.mts +0 -28
- package/resources/v1/chat/sessions.d.mts.map +0 -1
- package/resources/v1/chat/sessions.d.ts +0 -28
- package/resources/v1/chat/sessions.d.ts.map +0 -1
- package/resources/v1/chat/sessions.js +0 -38
- package/resources/v1/chat/sessions.js.map +0 -1
- package/resources/v1/chat/sessions.mjs +0 -34
- package/resources/v1/chat/sessions.mjs.map +0 -1
- package/resources/v1/chat/test.d.mts +0 -20
- package/resources/v1/chat/test.d.mts.map +0 -1
- package/resources/v1/chat/test.d.ts +0 -20
- package/resources/v1/chat/test.d.ts.map +0 -1
- package/resources/v1/chat/test.js +0 -34
- package/resources/v1/chat/test.js.map +0 -1
- package/resources/v1/chat/test.mjs +0 -30
- package/resources/v1/chat/test.mjs.map +0 -1
- package/resources/v1/chat.d.mts +0 -2
- package/resources/v1/chat.d.mts.map +0 -1
- package/resources/v1/chat.d.ts +0 -2
- package/resources/v1/chat.d.ts.map +0 -1
- package/resources/v1/chat.js +0 -6
- package/resources/v1/chat.js.map +0 -1
- package/resources/v1/chat.mjs +0 -3
- package/resources/v1/chat.mjs.map +0 -1
- package/resources/v1/data-analyst/data-analyst.d.mts +0 -156
- package/resources/v1/data-analyst/data-analyst.d.mts.map +0 -1
- package/resources/v1/data-analyst/data-analyst.d.ts +0 -156
- package/resources/v1/data-analyst/data-analyst.d.ts.map +0 -1
- package/resources/v1/data-analyst/data-analyst.js +0 -99
- package/resources/v1/data-analyst/data-analyst.js.map +0 -1
- package/resources/v1/data-analyst/data-analyst.mjs +0 -94
- package/resources/v1/data-analyst/data-analyst.mjs.map +0 -1
- package/resources/v1/data-analyst/index.d.mts +0 -4
- package/resources/v1/data-analyst/index.d.mts.map +0 -1
- package/resources/v1/data-analyst/index.d.ts +0 -4
- package/resources/v1/data-analyst/index.d.ts.map +0 -1
- package/resources/v1/data-analyst/index.js +0 -11
- package/resources/v1/data-analyst/index.js.map +0 -1
- package/resources/v1/data-analyst/index.mjs +0 -5
- package/resources/v1/data-analyst/index.mjs.map +0 -1
- package/resources/v1/data-analyst/sessions.d.mts +0 -28
- package/resources/v1/data-analyst/sessions.d.mts.map +0 -1
- package/resources/v1/data-analyst/sessions.d.ts +0 -28
- package/resources/v1/data-analyst/sessions.d.ts.map +0 -1
- package/resources/v1/data-analyst/sessions.js +0 -38
- package/resources/v1/data-analyst/sessions.js.map +0 -1
- package/resources/v1/data-analyst/sessions.mjs +0 -34
- package/resources/v1/data-analyst/sessions.mjs.map +0 -1
- package/resources/v1/data-analyst/test.d.mts +0 -20
- package/resources/v1/data-analyst/test.d.mts.map +0 -1
- package/resources/v1/data-analyst/test.d.ts +0 -20
- package/resources/v1/data-analyst/test.d.ts.map +0 -1
- package/resources/v1/data-analyst/test.js +0 -34
- package/resources/v1/data-analyst/test.js.map +0 -1
- package/resources/v1/data-analyst/test.mjs +0 -30
- package/resources/v1/data-analyst/test.mjs.map +0 -1
- package/resources/v1/data-analyst.d.mts +0 -2
- package/resources/v1/data-analyst.d.mts.map +0 -1
- package/resources/v1/data-analyst.d.ts +0 -2
- package/resources/v1/data-analyst.d.ts.map +0 -1
- package/resources/v1/data-analyst.js +0 -6
- package/resources/v1/data-analyst.js.map +0 -1
- package/resources/v1/data-analyst.mjs +0 -3
- package/resources/v1/data-analyst.mjs.map +0 -1
- package/resources/v1/explainers.d.mts +0 -152
- package/resources/v1/explainers.d.mts.map +0 -1
- package/resources/v1/explainers.d.ts +0 -152
- package/resources/v1/explainers.d.ts.map +0 -1
- package/resources/v1/explainers.js +0 -64
- package/resources/v1/explainers.js.map +0 -1
- package/resources/v1/explainers.mjs +0 -60
- package/resources/v1/explainers.mjs.map +0 -1
- package/resources/v1/flashcards.d.mts +0 -256
- package/resources/v1/flashcards.d.mts.map +0 -1
- package/resources/v1/flashcards.d.ts +0 -256
- package/resources/v1/flashcards.d.ts.map +0 -1
- package/resources/v1/flashcards.js +0 -112
- package/resources/v1/flashcards.js.map +0 -1
- package/resources/v1/flashcards.mjs +0 -108
- package/resources/v1/flashcards.mjs.map +0 -1
- package/resources/v1/scenarios/component.d.mts +0 -84
- package/resources/v1/scenarios/component.d.mts.map +0 -1
- package/resources/v1/scenarios/component.d.ts +0 -84
- package/resources/v1/scenarios/component.d.ts.map +0 -1
- package/resources/v1/scenarios/component.js +0 -56
- package/resources/v1/scenarios/component.js.map +0 -1
- package/resources/v1/scenarios/component.mjs +0 -52
- package/resources/v1/scenarios/component.mjs.map +0 -1
- package/resources/v1/scenarios/index.d.mts +0 -5
- package/resources/v1/scenarios/index.d.mts.map +0 -1
- package/resources/v1/scenarios/index.d.ts +0 -5
- package/resources/v1/scenarios/index.d.ts.map +0 -1
- package/resources/v1/scenarios/index.js +0 -13
- package/resources/v1/scenarios/index.js.map +0 -1
- package/resources/v1/scenarios/index.mjs +0 -6
- package/resources/v1/scenarios/index.mjs.map +0 -1
- package/resources/v1/scenarios/scenarios.d.mts +0 -289
- package/resources/v1/scenarios/scenarios.d.mts.map +0 -1
- package/resources/v1/scenarios/scenarios.d.ts +0 -289
- package/resources/v1/scenarios/scenarios.d.ts.map +0 -1
- package/resources/v1/scenarios/scenarios.js +0 -131
- package/resources/v1/scenarios/scenarios.js.map +0 -1
- package/resources/v1/scenarios/scenarios.mjs +0 -126
- package/resources/v1/scenarios/scenarios.mjs.map +0 -1
- package/resources/v1/scenarios/sessions.d.mts +0 -20
- package/resources/v1/scenarios/sessions.d.mts.map +0 -1
- package/resources/v1/scenarios/sessions.d.ts +0 -20
- package/resources/v1/scenarios/sessions.d.ts.map +0 -1
- package/resources/v1/scenarios/sessions.js +0 -35
- package/resources/v1/scenarios/sessions.js.map +0 -1
- package/resources/v1/scenarios/sessions.mjs +0 -31
- package/resources/v1/scenarios/sessions.mjs.map +0 -1
- package/resources/v1/scenarios/submissions/index.d.mts +0 -3
- package/resources/v1/scenarios/submissions/index.d.mts.map +0 -1
- package/resources/v1/scenarios/submissions/index.d.ts +0 -3
- package/resources/v1/scenarios/submissions/index.d.ts.map +0 -1
- package/resources/v1/scenarios/submissions/index.js +0 -9
- package/resources/v1/scenarios/submissions/index.js.map +0 -1
- package/resources/v1/scenarios/submissions/index.mjs +0 -4
- package/resources/v1/scenarios/submissions/index.mjs.map +0 -1
- package/resources/v1/scenarios/submissions/submissions.d.mts +0 -10
- package/resources/v1/scenarios/submissions/submissions.d.mts.map +0 -1
- package/resources/v1/scenarios/submissions/submissions.d.ts +0 -10
- package/resources/v1/scenarios/submissions/submissions.d.ts.map +0 -1
- package/resources/v1/scenarios/submissions/submissions.js +0 -17
- package/resources/v1/scenarios/submissions/submissions.js.map +0 -1
- package/resources/v1/scenarios/submissions/submissions.mjs +0 -12
- package/resources/v1/scenarios/submissions/submissions.mjs.map +0 -1
- package/resources/v1/scenarios/submissions/user.d.mts +0 -22
- package/resources/v1/scenarios/submissions/user.d.mts.map +0 -1
- package/resources/v1/scenarios/submissions/user.d.ts +0 -22
- package/resources/v1/scenarios/submissions/user.d.ts.map +0 -1
- package/resources/v1/scenarios/submissions/user.js +0 -37
- package/resources/v1/scenarios/submissions/user.js.map +0 -1
- package/resources/v1/scenarios/submissions/user.mjs +0 -33
- package/resources/v1/scenarios/submissions/user.mjs.map +0 -1
- package/resources/v1/scenarios/submissions.d.mts +0 -2
- package/resources/v1/scenarios/submissions.d.mts.map +0 -1
- package/resources/v1/scenarios/submissions.d.ts +0 -2
- package/resources/v1/scenarios/submissions.d.ts.map +0 -1
- package/resources/v1/scenarios/submissions.js +0 -6
- package/resources/v1/scenarios/submissions.js.map +0 -1
- package/resources/v1/scenarios/submissions.mjs +0 -3
- package/resources/v1/scenarios/submissions.mjs.map +0 -1
- package/resources/v1/scenarios.d.mts +0 -2
- package/resources/v1/scenarios.d.mts.map +0 -1
- package/resources/v1/scenarios.d.ts +0 -2
- package/resources/v1/scenarios.d.ts.map +0 -1
- package/resources/v1/scenarios.js +0 -6
- package/resources/v1/scenarios.js.map +0 -1
- package/resources/v1/scenarios.mjs +0 -3
- package/resources/v1/scenarios.mjs.map +0 -1
- package/resources/v1/tests/component.d.mts +0 -13
- package/resources/v1/tests/component.d.mts.map +0 -1
- package/resources/v1/tests/component.d.ts +0 -13
- package/resources/v1/tests/component.d.ts.map +0 -1
- package/resources/v1/tests/component.js +0 -23
- package/resources/v1/tests/component.js.map +0 -1
- package/resources/v1/tests/component.mjs +0 -19
- package/resources/v1/tests/component.mjs.map +0 -1
- package/resources/v1/tests/index.d.mts +0 -3
- package/resources/v1/tests/index.d.mts.map +0 -1
- package/resources/v1/tests/index.d.ts +0 -3
- package/resources/v1/tests/index.d.ts.map +0 -1
- package/resources/v1/tests/index.js +0 -9
- package/resources/v1/tests/index.js.map +0 -1
- package/resources/v1/tests/index.mjs +0 -4
- package/resources/v1/tests/index.mjs.map +0 -1
- package/resources/v1/tests/tests.d.mts +0 -112
- package/resources/v1/tests/tests.d.mts.map +0 -1
- package/resources/v1/tests/tests.d.ts +0 -112
- package/resources/v1/tests/tests.d.ts.map +0 -1
- package/resources/v1/tests/tests.js +0 -112
- package/resources/v1/tests/tests.js.map +0 -1
- package/resources/v1/tests/tests.mjs +0 -107
- package/resources/v1/tests/tests.mjs.map +0 -1
- package/resources/v1/tests.d.mts +0 -2
- package/resources/v1/tests.d.mts.map +0 -1
- package/resources/v1/tests.d.ts +0 -2
- package/resources/v1/tests.d.ts.map +0 -1
- package/resources/v1/tests.js +0 -6
- package/resources/v1/tests.js.map +0 -1
- package/resources/v1/tests.mjs +0 -3
- package/resources/v1/tests.mjs.map +0 -1
- package/src/resources/v1/audio-recaps/audio-recaps.ts +0 -79
- package/src/resources/v1/audio-recaps/index.ts +0 -4
- package/src/resources/v1/audio-recaps/sections.ts +0 -53
- package/src/resources/v1/audio-recaps.ts +0 -3
- package/src/resources/v1/chat/chat.ts +0 -303
- package/src/resources/v1/chat/index.ts +0 -11
- package/src/resources/v1/chat/sessions.ts +0 -46
- package/src/resources/v1/chat/test.ts +0 -34
- package/src/resources/v1/chat.ts +0 -3
- package/src/resources/v1/data-analyst/data-analyst.ts +0 -233
- package/src/resources/v1/data-analyst/index.ts +0 -10
- package/src/resources/v1/data-analyst/sessions.ts +0 -46
- package/src/resources/v1/data-analyst/test.ts +0 -34
- package/src/resources/v1/data-analyst.ts +0 -3
- package/src/resources/v1/explainers.ts +0 -203
- package/src/resources/v1/flashcards.ts +0 -353
- package/src/resources/v1/scenarios/component.ts +0 -118
- package/src/resources/v1/scenarios/index.ts +0 -13
- package/src/resources/v1/scenarios/scenarios.ts +0 -400
- package/src/resources/v1/scenarios/sessions.ts +0 -35
- package/src/resources/v1/scenarios/submissions/index.ts +0 -4
- package/src/resources/v1/scenarios/submissions/submissions.ts +0 -15
- package/src/resources/v1/scenarios/submissions/user.ts +0 -37
- package/src/resources/v1/scenarios/submissions.ts +0 -3
- package/src/resources/v1/scenarios.ts +0 -3
- package/src/resources/v1/tests/component.ts +0 -22
- package/src/resources/v1/tests/index.ts +0 -10
- package/src/resources/v1/tests/tests.ts +0 -173
- package/src/resources/v1/tests.ts +0 -3
|
@@ -1,44 +0,0 @@
|
|
|
1
|
-
import { APIResource } from "../../../core/resource.js";
|
|
2
|
-
import * as SectionsAPI from "./sections.js";
|
|
3
|
-
import { SectionRetrieveParams, Sections } from "./sections.js";
|
|
4
|
-
import { APIPromise } from "../../../core/api-promise.js";
|
|
5
|
-
import { RequestOptions } from "../../../internal/request-options.js";
|
|
6
|
-
export declare class AudioRecaps extends APIResource {
|
|
7
|
-
sections: SectionsAPI.Sections;
|
|
8
|
-
/**
|
|
9
|
-
* Create a new audio recap
|
|
10
|
-
*
|
|
11
|
-
* @example
|
|
12
|
-
* ```ts
|
|
13
|
-
* await client.v1.audioRecaps.create();
|
|
14
|
-
* ```
|
|
15
|
-
*/
|
|
16
|
-
create(body: AudioRecapCreateParams, options?: RequestOptions): APIPromise<void>;
|
|
17
|
-
/**
|
|
18
|
-
* Get audio recap by ID
|
|
19
|
-
*
|
|
20
|
-
* @example
|
|
21
|
-
* ```ts
|
|
22
|
-
* await client.v1.audioRecaps.retrieve('recapId');
|
|
23
|
-
* ```
|
|
24
|
-
*/
|
|
25
|
-
retrieve(recapID: string, options?: RequestOptions): APIPromise<void>;
|
|
26
|
-
/**
|
|
27
|
-
* Ask a question about the audio recap
|
|
28
|
-
*
|
|
29
|
-
* @example
|
|
30
|
-
* ```ts
|
|
31
|
-
* await client.v1.audioRecaps.askQuestion('recapId');
|
|
32
|
-
* ```
|
|
33
|
-
*/
|
|
34
|
-
askQuestion(recapID: string, body: AudioRecapAskQuestionParams, options?: RequestOptions): APIPromise<void>;
|
|
35
|
-
}
|
|
36
|
-
export interface AudioRecapCreateParams {
|
|
37
|
-
}
|
|
38
|
-
export interface AudioRecapAskQuestionParams {
|
|
39
|
-
}
|
|
40
|
-
export declare namespace AudioRecaps {
|
|
41
|
-
export { type AudioRecapCreateParams as AudioRecapCreateParams, type AudioRecapAskQuestionParams as AudioRecapAskQuestionParams, };
|
|
42
|
-
export { Sections as Sections, type SectionRetrieveParams as SectionRetrieveParams };
|
|
43
|
-
}
|
|
44
|
-
//# sourceMappingURL=audio-recaps.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"audio-recaps.d.ts","sourceRoot":"","sources":["../../../src/resources/v1/audio-recaps/audio-recaps.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;OACf,KAAK,WAAW;OAChB,EAAE,qBAAqB,EAAE,QAAQ,EAAE;OACnC,EAAE,UAAU,EAAE;OAEd,EAAE,cAAc,EAAE;AAGzB,qBAAa,WAAY,SAAQ,WAAW;IAC1C,QAAQ,EAAE,WAAW,CAAC,QAAQ,CAA0C;IAExE;;;;;;;OAOG;IACH,MAAM,CAAC,IAAI,EAAE,sBAAsB,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,IAAI,CAAC;IAQhF;;;;;;;OAOG;IACH,QAAQ,CAAC,OAAO,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,IAAI,CAAC;IAOrE;;;;;;;OAOG;IACH,WAAW,CACT,OAAO,EAAE,MAAM,EACf,IAAI,EAAE,2BAA2B,EACjC,OAAO,CAAC,EAAE,cAAc,GACvB,UAAU,CAAC,IAAI,CAAC;CAOpB;AAED,MAAM,WAAW,sBAAsB;CAAG;AAE1C,MAAM,WAAW,2BAA2B;CAAG;AAI/C,MAAM,CAAC,OAAO,WAAW,WAAW,CAAC;IACnC,OAAO,EACL,KAAK,sBAAsB,IAAI,sBAAsB,EACrD,KAAK,2BAA2B,IAAI,2BAA2B,GAChE,CAAC;IAEF,OAAO,EAAE,QAAQ,IAAI,QAAQ,EAAE,KAAK,qBAAqB,IAAI,qBAAqB,EAAE,CAAC;CACtF"}
|
|
@@ -1,63 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
3
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
|
-
exports.AudioRecaps = void 0;
|
|
5
|
-
const tslib_1 = require("../../../internal/tslib.js");
|
|
6
|
-
const resource_1 = require("../../../core/resource.js");
|
|
7
|
-
const SectionsAPI = tslib_1.__importStar(require("./sections.js"));
|
|
8
|
-
const sections_1 = require("./sections.js");
|
|
9
|
-
const headers_1 = require("../../../internal/headers.js");
|
|
10
|
-
const path_1 = require("../../../internal/utils/path.js");
|
|
11
|
-
class AudioRecaps extends resource_1.APIResource {
|
|
12
|
-
constructor() {
|
|
13
|
-
super(...arguments);
|
|
14
|
-
this.sections = new SectionsAPI.Sections(this._client);
|
|
15
|
-
}
|
|
16
|
-
/**
|
|
17
|
-
* Create a new audio recap
|
|
18
|
-
*
|
|
19
|
-
* @example
|
|
20
|
-
* ```ts
|
|
21
|
-
* await client.v1.audioRecaps.create();
|
|
22
|
-
* ```
|
|
23
|
-
*/
|
|
24
|
-
create(body, options) {
|
|
25
|
-
return this._client.post('/api/v1/audio-recaps/create', {
|
|
26
|
-
body,
|
|
27
|
-
...options,
|
|
28
|
-
headers: (0, headers_1.buildHeaders)([{ Accept: '*/*' }, options?.headers]),
|
|
29
|
-
});
|
|
30
|
-
}
|
|
31
|
-
/**
|
|
32
|
-
* Get audio recap by ID
|
|
33
|
-
*
|
|
34
|
-
* @example
|
|
35
|
-
* ```ts
|
|
36
|
-
* await client.v1.audioRecaps.retrieve('recapId');
|
|
37
|
-
* ```
|
|
38
|
-
*/
|
|
39
|
-
retrieve(recapID, options) {
|
|
40
|
-
return this._client.get((0, path_1.path) `/api/v1/audio-recaps/${recapID}/get`, {
|
|
41
|
-
...options,
|
|
42
|
-
headers: (0, headers_1.buildHeaders)([{ Accept: '*/*' }, options?.headers]),
|
|
43
|
-
});
|
|
44
|
-
}
|
|
45
|
-
/**
|
|
46
|
-
* Ask a question about the audio recap
|
|
47
|
-
*
|
|
48
|
-
* @example
|
|
49
|
-
* ```ts
|
|
50
|
-
* await client.v1.audioRecaps.askQuestion('recapId');
|
|
51
|
-
* ```
|
|
52
|
-
*/
|
|
53
|
-
askQuestion(recapID, body, options) {
|
|
54
|
-
return this._client.post((0, path_1.path) `/api/v1/audio-recaps/${recapID}/ask-question`, {
|
|
55
|
-
body,
|
|
56
|
-
...options,
|
|
57
|
-
headers: (0, headers_1.buildHeaders)([{ Accept: '*/*' }, options?.headers]),
|
|
58
|
-
});
|
|
59
|
-
}
|
|
60
|
-
}
|
|
61
|
-
exports.AudioRecaps = AudioRecaps;
|
|
62
|
-
AudioRecaps.Sections = sections_1.Sections;
|
|
63
|
-
//# sourceMappingURL=audio-recaps.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"audio-recaps.js","sourceRoot":"","sources":["../../../src/resources/v1/audio-recaps/audio-recaps.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;;AAEtF,wDAAqD;AACrD,mEAA0C;AAC1C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ONTRIBUTING.md for details.
|
|
2
|
-
import { APIResource } from "../../../core/resource.mjs";
|
|
3
|
-
import * as SectionsAPI from "./sections.mjs";
|
|
4
|
-
import { Sections } from "./sections.mjs";
|
|
5
|
-
import { buildHeaders } from "../../../internal/headers.mjs";
|
|
6
|
-
import { path } from "../../../internal/utils/path.mjs";
|
|
7
|
-
export class AudioRecaps extends APIResource {
|
|
8
|
-
constructor() {
|
|
9
|
-
super(...arguments);
|
|
10
|
-
this.sections = new SectionsAPI.Sections(this._client);
|
|
11
|
-
}
|
|
12
|
-
/**
|
|
13
|
-
* Create a new audio recap
|
|
14
|
-
*
|
|
15
|
-
* @example
|
|
16
|
-
* ```ts
|
|
17
|
-
* await client.v1.audioRecaps.create();
|
|
18
|
-
* ```
|
|
19
|
-
*/
|
|
20
|
-
create(body, options) {
|
|
21
|
-
return this._client.post('/api/v1/audio-recaps/create', {
|
|
22
|
-
body,
|
|
23
|
-
...options,
|
|
24
|
-
headers: buildHeaders([{ Accept: '*/*' }, options?.headers]),
|
|
25
|
-
});
|
|
26
|
-
}
|
|
27
|
-
/**
|
|
28
|
-
* Get audio recap by ID
|
|
29
|
-
*
|
|
30
|
-
* @example
|
|
31
|
-
* ```ts
|
|
32
|
-
* await client.v1.audioRecaps.retrieve('recapId');
|
|
33
|
-
* ```
|
|
34
|
-
*/
|
|
35
|
-
retrieve(recapID, options) {
|
|
36
|
-
return this._client.get(path `/api/v1/audio-recaps/${recapID}/get`, {
|
|
37
|
-
...options,
|
|
38
|
-
headers: buildHeaders([{ Accept: '*/*' }, options?.headers]),
|
|
39
|
-
});
|
|
40
|
-
}
|
|
41
|
-
/**
|
|
42
|
-
* Ask a question about the audio recap
|
|
43
|
-
*
|
|
44
|
-
* @example
|
|
45
|
-
* ```ts
|
|
46
|
-
* await client.v1.audioRecaps.askQuestion('recapId');
|
|
47
|
-
* ```
|
|
48
|
-
*/
|
|
49
|
-
askQuestion(recapID, body, options) {
|
|
50
|
-
return this._client.post(path `/api/v1/audio-recaps/${recapID}/ask-question`, {
|
|
51
|
-
body,
|
|
52
|
-
...options,
|
|
53
|
-
headers: buildHeaders([{ Accept: '*/*' }, options?.headers]),
|
|
54
|
-
});
|
|
55
|
-
}
|
|
56
|
-
}
|
|
57
|
-
AudioRecaps.Sections = Sections;
|
|
58
|
-
//# sourceMappingURL=audio-recaps.mjs.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"audio-recaps.mjs","sourceRoot":"","sources":["../../../src/resources/v1/audio-recaps/audio-recaps.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAE/E,EAAE,WAAW,EAAE;OACf,KAAK,WAAW;OAChB,EAAyB,QAAQ,EAAE;OAEnC,EAAE,YAAY,EAAE;OAEhB,EAAE,IAAI,EAAE;AAEf,MAAM,OAAO,WAAY,SAAQ,WAAW;IAA5C;;QACE,aAAQ,GAAyB,IAAI,WAAW,CAAC,QAAQ,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;IAoD1E,CAAC;IAlDC;;;;;;;OAOG;IACH,MAAM,CAAC,IAA4B,EAAE,OAAwB;QAC3D,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,6BAA6B,EAAE;YACtD,IAAI;YACJ,GAAG,OAAO;YACV,OAAO,EAAE,YAAY,CAAC,CAAC,EAAE,MAAM,EAAE,KAAK,EAAE,EAAE,OAAO,EAAE,OAAO,CAAC,CAAC;SAC7D,CAAC,CAAC;IACL,CAAC;IAED;;;;;;;OAOG;IACH,QAAQ,CAAC,OAAe,EAAE,OAAwB;QAChD,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,IAAI,CAAA,wBAAwB,OAAO,MAAM,EAAE;YACjE,GAAG,OAAO;YACV,OAAO,EAAE,YAAY,CAAC,CAAC,EAAE,MAAM,EAAE,KAAK,EAAE,EAAE,OAAO,EAAE,OAAO,CAAC,CAAC;SAC7D,CAAC,CAAC;IACL,CAAC;IAED;;;;;;;OAOG;IACH,WAAW,CACT,OAAe,EACf,IAAiC,EACjC,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,IAAI,CAAA,wBAAwB,OAAO,eAAe,EAAE;YAC3E,IAAI;YACJ,GAAG,OAAO;YACV,OAAO,EAAE,YAAY,CAAC,CAAC,EAAE,MAAM,EAAE,KAAK,EAAE,EAAE,OAAO,EAAE,OAAO,CAAC,CAAC;SAC7D,CAAC,CAAC;IACL,CAAC;CACF;AAMD,WAAW,CAAC,QAAQ,GAAG,QAAQ,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.mts","sourceRoot":"","sources":["../../../src/resources/v1/audio-recaps/index.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE,KAAK,sBAAsB,EAAE,KAAK,2BAA2B,EAAE;OAC9E,EAAE,QAAQ,EAAE,KAAK,qBAAqB,EAAE"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/resources/v1/audio-recaps/index.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE,KAAK,sBAAsB,EAAE,KAAK,2BAA2B,EAAE;OAC9E,EAAE,QAAQ,EAAE,KAAK,qBAAqB,EAAE"}
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
3
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
|
-
exports.Sections = exports.AudioRecaps = void 0;
|
|
5
|
-
var audio_recaps_1 = require("./audio-recaps.js");
|
|
6
|
-
Object.defineProperty(exports, "AudioRecaps", { enumerable: true, get: function () { return audio_recaps_1.AudioRecaps; } });
|
|
7
|
-
var sections_1 = require("./sections.js");
|
|
8
|
-
Object.defineProperty(exports, "Sections", { enumerable: true, get: function () { return sections_1.Sections; } });
|
|
9
|
-
//# sourceMappingURL=index.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/resources/v1/audio-recaps/index.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,kDAA4G;AAAnG,2GAAA,WAAW,OAAA;AACpB,0CAAkE;AAAzD,oGAAA,QAAQ,OAAA"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.mjs","sourceRoot":"","sources":["../../../src/resources/v1/audio-recaps/index.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAE/E,EAAE,WAAW,EAAiE;OAC9E,EAAE,QAAQ,EAA8B"}
|
|
@@ -1,35 +0,0 @@
|
|
|
1
|
-
import { APIResource } from "../../../core/resource.mjs";
|
|
2
|
-
import { APIPromise } from "../../../core/api-promise.mjs";
|
|
3
|
-
import { RequestOptions } from "../../../internal/request-options.mjs";
|
|
4
|
-
export declare class Sections extends APIResource {
|
|
5
|
-
/**
|
|
6
|
-
* Get specific audio recap section
|
|
7
|
-
*
|
|
8
|
-
* @example
|
|
9
|
-
* ```ts
|
|
10
|
-
* await client.v1.audioRecaps.sections.retrieve('sectionId', {
|
|
11
|
-
* recapId: 'recapId',
|
|
12
|
-
* });
|
|
13
|
-
* ```
|
|
14
|
-
*/
|
|
15
|
-
retrieve(sectionID: string, params: SectionRetrieveParams, options?: RequestOptions): APIPromise<void>;
|
|
16
|
-
/**
|
|
17
|
-
* Get audio recap sections
|
|
18
|
-
*
|
|
19
|
-
* @example
|
|
20
|
-
* ```ts
|
|
21
|
-
* await client.v1.audioRecaps.sections.list('recapId');
|
|
22
|
-
* ```
|
|
23
|
-
*/
|
|
24
|
-
list(recapID: string, options?: RequestOptions): APIPromise<void>;
|
|
25
|
-
}
|
|
26
|
-
export interface SectionRetrieveParams {
|
|
27
|
-
/**
|
|
28
|
-
* Audio recap ID
|
|
29
|
-
*/
|
|
30
|
-
recapId: string;
|
|
31
|
-
}
|
|
32
|
-
export declare namespace Sections {
|
|
33
|
-
export { type SectionRetrieveParams as SectionRetrieveParams };
|
|
34
|
-
}
|
|
35
|
-
//# sourceMappingURL=sections.d.mts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"sections.d.mts","sourceRoot":"","sources":["../../../src/resources/v1/audio-recaps/sections.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;OACf,EAAE,UAAU,EAAE;OAEd,EAAE,cAAc,EAAE;AAGzB,qBAAa,QAAS,SAAQ,WAAW;IACvC;;;;;;;;;OASG;IACH,QAAQ,CAAC,SAAS,EAAE,MAAM,EAAE,MAAM,EAAE,qBAAqB,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,IAAI,CAAC;IAQtG;;;;;;;OAOG;IACH,IAAI,CAAC,OAAO,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,IAAI,CAAC;CAMlE;AAED,MAAM,WAAW,qBAAqB;IACpC;;OAEG;IACH,OAAO,EAAE,MAAM,CAAC;CACjB;AAED,MAAM,CAAC,OAAO,WAAW,QAAQ,CAAC;IAChC,OAAO,EAAE,KAAK,qBAAqB,IAAI,qBAAqB,EAAE,CAAC;CAChE"}
|
|
@@ -1,35 +0,0 @@
|
|
|
1
|
-
import { APIResource } from "../../../core/resource.js";
|
|
2
|
-
import { APIPromise } from "../../../core/api-promise.js";
|
|
3
|
-
import { RequestOptions } from "../../../internal/request-options.js";
|
|
4
|
-
export declare class Sections extends APIResource {
|
|
5
|
-
/**
|
|
6
|
-
* Get specific audio recap section
|
|
7
|
-
*
|
|
8
|
-
* @example
|
|
9
|
-
* ```ts
|
|
10
|
-
* await client.v1.audioRecaps.sections.retrieve('sectionId', {
|
|
11
|
-
* recapId: 'recapId',
|
|
12
|
-
* });
|
|
13
|
-
* ```
|
|
14
|
-
*/
|
|
15
|
-
retrieve(sectionID: string, params: SectionRetrieveParams, options?: RequestOptions): APIPromise<void>;
|
|
16
|
-
/**
|
|
17
|
-
* Get audio recap sections
|
|
18
|
-
*
|
|
19
|
-
* @example
|
|
20
|
-
* ```ts
|
|
21
|
-
* await client.v1.audioRecaps.sections.list('recapId');
|
|
22
|
-
* ```
|
|
23
|
-
*/
|
|
24
|
-
list(recapID: string, options?: RequestOptions): APIPromise<void>;
|
|
25
|
-
}
|
|
26
|
-
export interface SectionRetrieveParams {
|
|
27
|
-
/**
|
|
28
|
-
* Audio recap ID
|
|
29
|
-
*/
|
|
30
|
-
recapId: string;
|
|
31
|
-
}
|
|
32
|
-
export declare namespace Sections {
|
|
33
|
-
export { type SectionRetrieveParams as SectionRetrieveParams };
|
|
34
|
-
}
|
|
35
|
-
//# sourceMappingURL=sections.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"sections.d.ts","sourceRoot":"","sources":["../../../src/resources/v1/audio-recaps/sections.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;OACf,EAAE,UAAU,EAAE;OAEd,EAAE,cAAc,EAAE;AAGzB,qBAAa,QAAS,SAAQ,WAAW;IACvC;;;;;;;;;OASG;IACH,QAAQ,CAAC,SAAS,EAAE,MAAM,EAAE,MAAM,EAAE,qBAAqB,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,IAAI,CAAC;IAQtG;;;;;;;OAOG;IACH,IAAI,CAAC,OAAO,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,IAAI,CAAC;CAMlE;AAED,MAAM,WAAW,qBAAqB;IACpC;;OAEG;IACH,OAAO,EAAE,MAAM,CAAC;CACjB;AAED,MAAM,CAAC,OAAO,WAAW,QAAQ,CAAC;IAChC,OAAO,EAAE,KAAK,qBAAqB,IAAI,qBAAqB,EAAE,CAAC;CAChE"}
|
|
@@ -1,42 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
3
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
|
-
exports.Sections = void 0;
|
|
5
|
-
const resource_1 = require("../../../core/resource.js");
|
|
6
|
-
const headers_1 = require("../../../internal/headers.js");
|
|
7
|
-
const path_1 = require("../../../internal/utils/path.js");
|
|
8
|
-
class Sections extends resource_1.APIResource {
|
|
9
|
-
/**
|
|
10
|
-
* Get specific audio recap section
|
|
11
|
-
*
|
|
12
|
-
* @example
|
|
13
|
-
* ```ts
|
|
14
|
-
* await client.v1.audioRecaps.sections.retrieve('sectionId', {
|
|
15
|
-
* recapId: 'recapId',
|
|
16
|
-
* });
|
|
17
|
-
* ```
|
|
18
|
-
*/
|
|
19
|
-
retrieve(sectionID, params, options) {
|
|
20
|
-
const { recapId } = params;
|
|
21
|
-
return this._client.get((0, path_1.path) `/api/v1/audio-recaps/${recapId}/sections/${sectionID}`, {
|
|
22
|
-
...options,
|
|
23
|
-
headers: (0, headers_1.buildHeaders)([{ Accept: '*/*' }, options?.headers]),
|
|
24
|
-
});
|
|
25
|
-
}
|
|
26
|
-
/**
|
|
27
|
-
* Get audio recap sections
|
|
28
|
-
*
|
|
29
|
-
* @example
|
|
30
|
-
* ```ts
|
|
31
|
-
* await client.v1.audioRecaps.sections.list('recapId');
|
|
32
|
-
* ```
|
|
33
|
-
*/
|
|
34
|
-
list(recapID, options) {
|
|
35
|
-
return this._client.get((0, path_1.path) `/api/v1/audio-recaps/${recapID}/sections`, {
|
|
36
|
-
...options,
|
|
37
|
-
headers: (0, headers_1.buildHeaders)([{ Accept: '*/*' }, options?.headers]),
|
|
38
|
-
});
|
|
39
|
-
}
|
|
40
|
-
}
|
|
41
|
-
exports.Sections = Sections;
|
|
42
|
-
//# sourceMappingURL=sections.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"sections.js","sourceRoot":"","sources":["../../../src/resources/v1/audio-recaps/sections.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,wDAAqD;AAErD,0DAAyD;AAEzD,0DAAoD;AAEpD,MAAa,QAAS,SAAQ,sBAAW;IACvC;;;;;;;;;OASG;IACH,QAAQ,CAAC,SAAiB,EAAE,MAA6B,EAAE,OAAwB;QACjF,MAAM,EAAE,OAAO,EAAE,GAAG,MAAM,CAAC;QAC3B,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,IAAA,WAAI,EAAA,wBAAwB,OAAO,aAAa,SAAS,EAAE,EAAE;YACnF,GAAG,OAAO;YACV,OAAO,EAAE,IAAA,sBAAY,EAAC,CAAC,EAAE,MAAM,EAAE,KAAK,EAAE,EAAE,OAAO,EAAE,OAAO,CAAC,CAAC;SAC7D,CAAC,CAAC;IACL,CAAC;IAED;;;;;;;OAOG;IACH,IAAI,CAAC,OAAe,EAAE,OAAwB;QAC5C,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,IAAA,WAAI,EAAA,wBAAwB,OAAO,WAAW,EAAE;YACtE,GAAG,OAAO;YACV,OAAO,EAAE,IAAA,sBAAY,EAAC,CAAC,EAAE,MAAM,EAAE,KAAK,EAAE,EAAE,OAAO,EAAE,OAAO,CAAC,CAAC;SAC7D,CAAC,CAAC;IACL,CAAC;CACF;AAjCD,4BAiCC"}
|
|
@@ -1,38 +0,0 @@
|
|
|
1
|
-
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
2
|
-
import { APIResource } from "../../../core/resource.mjs";
|
|
3
|
-
import { buildHeaders } from "../../../internal/headers.mjs";
|
|
4
|
-
import { path } from "../../../internal/utils/path.mjs";
|
|
5
|
-
export class Sections extends APIResource {
|
|
6
|
-
/**
|
|
7
|
-
* Get specific audio recap section
|
|
8
|
-
*
|
|
9
|
-
* @example
|
|
10
|
-
* ```ts
|
|
11
|
-
* await client.v1.audioRecaps.sections.retrieve('sectionId', {
|
|
12
|
-
* recapId: 'recapId',
|
|
13
|
-
* });
|
|
14
|
-
* ```
|
|
15
|
-
*/
|
|
16
|
-
retrieve(sectionID, params, options) {
|
|
17
|
-
const { recapId } = params;
|
|
18
|
-
return this._client.get(path `/api/v1/audio-recaps/${recapId}/sections/${sectionID}`, {
|
|
19
|
-
...options,
|
|
20
|
-
headers: buildHeaders([{ Accept: '*/*' }, options?.headers]),
|
|
21
|
-
});
|
|
22
|
-
}
|
|
23
|
-
/**
|
|
24
|
-
* Get audio recap sections
|
|
25
|
-
*
|
|
26
|
-
* @example
|
|
27
|
-
* ```ts
|
|
28
|
-
* await client.v1.audioRecaps.sections.list('recapId');
|
|
29
|
-
* ```
|
|
30
|
-
*/
|
|
31
|
-
list(recapID, options) {
|
|
32
|
-
return this._client.get(path `/api/v1/audio-recaps/${recapID}/sections`, {
|
|
33
|
-
...options,
|
|
34
|
-
headers: buildHeaders([{ Accept: '*/*' }, options?.headers]),
|
|
35
|
-
});
|
|
36
|
-
}
|
|
37
|
-
}
|
|
38
|
-
//# sourceMappingURL=sections.mjs.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"sections.mjs","sourceRoot":"","sources":["../../../src/resources/v1/audio-recaps/sections.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAE/E,EAAE,WAAW,EAAE;OAEf,EAAE,YAAY,EAAE;OAEhB,EAAE,IAAI,EAAE;AAEf,MAAM,OAAO,QAAS,SAAQ,WAAW;IACvC;;;;;;;;;OASG;IACH,QAAQ,CAAC,SAAiB,EAAE,MAA6B,EAAE,OAAwB;QACjF,MAAM,EAAE,OAAO,EAAE,GAAG,MAAM,CAAC;QAC3B,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,IAAI,CAAA,wBAAwB,OAAO,aAAa,SAAS,EAAE,EAAE;YACnF,GAAG,OAAO;YACV,OAAO,EAAE,YAAY,CAAC,CAAC,EAAE,MAAM,EAAE,KAAK,EAAE,EAAE,OAAO,EAAE,OAAO,CAAC,CAAC;SAC7D,CAAC,CAAC;IACL,CAAC;IAED;;;;;;;OAOG;IACH,IAAI,CAAC,OAAe,EAAE,OAAwB;QAC5C,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,IAAI,CAAA,wBAAwB,OAAO,WAAW,EAAE;YACtE,GAAG,OAAO;YACV,OAAO,EAAE,YAAY,CAAC,CAAC,EAAE,MAAM,EAAE,KAAK,EAAE,EAAE,OAAO,EAAE,OAAO,CAAC,CAAC;SAC7D,CAAC,CAAC;IACL,CAAC;CACF"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"audio-recaps.d.mts","sourceRoot":"","sources":["../../src/resources/v1/audio-recaps.ts"],"names":[],"mappings":""}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"audio-recaps.d.ts","sourceRoot":"","sources":["../../src/resources/v1/audio-recaps.ts"],"names":[],"mappings":""}
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
3
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
|
-
const tslib_1 = require("../../internal/tslib.js");
|
|
5
|
-
tslib_1.__exportStar(require("./audio-recaps/index.js"), exports);
|
|
6
|
-
//# sourceMappingURL=audio-recaps.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"audio-recaps.js","sourceRoot":"","sources":["../../src/resources/v1/audio-recaps.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,kEAAqC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"audio-recaps.mjs","sourceRoot":"","sources":["../../src/resources/v1/audio-recaps.ts"],"names":[],"mappings":"AAAA,sFAAsF"}
|
|
@@ -1,217 +0,0 @@
|
|
|
1
|
-
import { APIResource } from "../../../core/resource.mjs";
|
|
2
|
-
import * as SessionsAPI from "./sessions.mjs";
|
|
3
|
-
import { SessionRetrieveParams, Sessions } from "./sessions.mjs";
|
|
4
|
-
import * as TestAPI from "./test.mjs";
|
|
5
|
-
import { Test } from "./test.mjs";
|
|
6
|
-
import { APIPromise } from "../../../core/api-promise.mjs";
|
|
7
|
-
import { RequestOptions } from "../../../internal/request-options.mjs";
|
|
8
|
-
export declare class Chat extends APIResource {
|
|
9
|
-
sessions: SessionsAPI.Sessions;
|
|
10
|
-
test: TestAPI.Test;
|
|
11
|
-
/**
|
|
12
|
-
* @example
|
|
13
|
-
* ```ts
|
|
14
|
-
* await client.v1.chat.getHistory();
|
|
15
|
-
* ```
|
|
16
|
-
*/
|
|
17
|
-
getHistory(options?: RequestOptions): APIPromise<void>;
|
|
18
|
-
/**
|
|
19
|
-
* @example
|
|
20
|
-
* ```ts
|
|
21
|
-
* await client.v1.chat.getSession('sessionId', {
|
|
22
|
-
* userId: 'userId',
|
|
23
|
-
* });
|
|
24
|
-
* ```
|
|
25
|
-
*/
|
|
26
|
-
getSession(sessionID: string, query: ChatGetSessionParams, options?: RequestOptions): APIPromise<void>;
|
|
27
|
-
/**
|
|
28
|
-
* @example
|
|
29
|
-
* ```ts
|
|
30
|
-
* await client.v1.chat.sendFollowups();
|
|
31
|
-
* ```
|
|
32
|
-
*/
|
|
33
|
-
sendFollowups(options?: RequestOptions): APIPromise<void>;
|
|
34
|
-
/**
|
|
35
|
-
* @example
|
|
36
|
-
* ```ts
|
|
37
|
-
* await client.v1.chat.sendMessage({
|
|
38
|
-
* componentId: 'componentId',
|
|
39
|
-
* message: {},
|
|
40
|
-
* 'x-component-id': 'x-component-id',
|
|
41
|
-
* });
|
|
42
|
-
* ```
|
|
43
|
-
*/
|
|
44
|
-
sendMessage(params: ChatSendMessageParams, options?: RequestOptions): APIPromise<void>;
|
|
45
|
-
/**
|
|
46
|
-
* Stream chat responses
|
|
47
|
-
*
|
|
48
|
-
* @example
|
|
49
|
-
* ```ts
|
|
50
|
-
* await client.v1.chat.stream();
|
|
51
|
-
* ```
|
|
52
|
-
*/
|
|
53
|
-
stream(params: ChatStreamParams, options?: RequestOptions): APIPromise<void>;
|
|
54
|
-
}
|
|
55
|
-
export interface Interaction {
|
|
56
|
-
/**
|
|
57
|
-
* Component ID for context
|
|
58
|
-
*/
|
|
59
|
-
componentId: string;
|
|
60
|
-
/**
|
|
61
|
-
* Chat message content
|
|
62
|
-
*/
|
|
63
|
-
message: Interaction.Message;
|
|
64
|
-
/**
|
|
65
|
-
* Additional context data
|
|
66
|
-
*/
|
|
67
|
-
context?: unknown;
|
|
68
|
-
/**
|
|
69
|
-
* Group IDs for collaboration
|
|
70
|
-
*/
|
|
71
|
-
groupIds?: Array<string>;
|
|
72
|
-
/**
|
|
73
|
-
* Session ID for conversation continuity
|
|
74
|
-
*/
|
|
75
|
-
sessionId?: string;
|
|
76
|
-
/**
|
|
77
|
-
* User ID for tracking
|
|
78
|
-
*/
|
|
79
|
-
userId?: string;
|
|
80
|
-
}
|
|
81
|
-
export declare namespace Interaction {
|
|
82
|
-
/**
|
|
83
|
-
* Chat message content
|
|
84
|
-
*/
|
|
85
|
-
interface Message {
|
|
86
|
-
/**
|
|
87
|
-
* Images attached to the message
|
|
88
|
-
*/
|
|
89
|
-
images?: Array<Message.Image>;
|
|
90
|
-
/**
|
|
91
|
-
* Text content of the message
|
|
92
|
-
*/
|
|
93
|
-
text?: string;
|
|
94
|
-
}
|
|
95
|
-
namespace Message {
|
|
96
|
-
interface Image {
|
|
97
|
-
/**
|
|
98
|
-
* Base64 encoded image data
|
|
99
|
-
*/
|
|
100
|
-
base64?: string;
|
|
101
|
-
/**
|
|
102
|
-
* Caption for the image
|
|
103
|
-
*/
|
|
104
|
-
caption?: string;
|
|
105
|
-
/**
|
|
106
|
-
* MIME type of the image
|
|
107
|
-
*/
|
|
108
|
-
mimeType?: string;
|
|
109
|
-
/**
|
|
110
|
-
* URL of the image
|
|
111
|
-
*/
|
|
112
|
-
url?: string;
|
|
113
|
-
}
|
|
114
|
-
}
|
|
115
|
-
}
|
|
116
|
-
export interface ChatGetSessionParams {
|
|
117
|
-
userId: string;
|
|
118
|
-
}
|
|
119
|
-
export interface ChatSendMessageParams {
|
|
120
|
-
/**
|
|
121
|
-
* Body param: Component ID for context
|
|
122
|
-
*/
|
|
123
|
-
componentId: string;
|
|
124
|
-
/**
|
|
125
|
-
* Body param: Chat message content
|
|
126
|
-
*/
|
|
127
|
-
message: ChatSendMessageParams.Message;
|
|
128
|
-
/**
|
|
129
|
-
* Header param:
|
|
130
|
-
*/
|
|
131
|
-
'x-component-id': string;
|
|
132
|
-
/**
|
|
133
|
-
* Body param: Additional context data
|
|
134
|
-
*/
|
|
135
|
-
context?: unknown;
|
|
136
|
-
/**
|
|
137
|
-
* Body param: Group IDs for collaboration
|
|
138
|
-
*/
|
|
139
|
-
groupIds?: Array<string>;
|
|
140
|
-
/**
|
|
141
|
-
* Body param: Session ID for conversation continuity
|
|
142
|
-
*/
|
|
143
|
-
sessionId?: string;
|
|
144
|
-
/**
|
|
145
|
-
* Body param: User ID for tracking
|
|
146
|
-
*/
|
|
147
|
-
userId?: string;
|
|
148
|
-
}
|
|
149
|
-
export declare namespace ChatSendMessageParams {
|
|
150
|
-
/**
|
|
151
|
-
* Chat message content
|
|
152
|
-
*/
|
|
153
|
-
interface Message {
|
|
154
|
-
/**
|
|
155
|
-
* Images attached to the message
|
|
156
|
-
*/
|
|
157
|
-
images?: Array<Message.Image>;
|
|
158
|
-
/**
|
|
159
|
-
* Text content of the message
|
|
160
|
-
*/
|
|
161
|
-
text?: string;
|
|
162
|
-
}
|
|
163
|
-
namespace Message {
|
|
164
|
-
interface Image {
|
|
165
|
-
/**
|
|
166
|
-
* Base64 encoded image data
|
|
167
|
-
*/
|
|
168
|
-
base64?: string;
|
|
169
|
-
/**
|
|
170
|
-
* Caption for the image
|
|
171
|
-
*/
|
|
172
|
-
caption?: string;
|
|
173
|
-
/**
|
|
174
|
-
* MIME type of the image
|
|
175
|
-
*/
|
|
176
|
-
mimeType?: string;
|
|
177
|
-
/**
|
|
178
|
-
* URL of the image
|
|
179
|
-
*/
|
|
180
|
-
url?: string;
|
|
181
|
-
}
|
|
182
|
-
}
|
|
183
|
-
}
|
|
184
|
-
export interface ChatStreamParams {
|
|
185
|
-
/**
|
|
186
|
-
* Body param:
|
|
187
|
-
*/
|
|
188
|
-
context?: unknown;
|
|
189
|
-
/**
|
|
190
|
-
* Body param:
|
|
191
|
-
*/
|
|
192
|
-
groupId?: string;
|
|
193
|
-
/**
|
|
194
|
-
* Body param:
|
|
195
|
-
*/
|
|
196
|
-
messages?: Array<ChatStreamParams.Message>;
|
|
197
|
-
/**
|
|
198
|
-
* Body param:
|
|
199
|
-
*/
|
|
200
|
-
userId?: string;
|
|
201
|
-
/**
|
|
202
|
-
* Header param: Component ID for context
|
|
203
|
-
*/
|
|
204
|
-
'x-component-id'?: string;
|
|
205
|
-
}
|
|
206
|
-
export declare namespace ChatStreamParams {
|
|
207
|
-
interface Message {
|
|
208
|
-
content?: string;
|
|
209
|
-
role?: 'user' | 'assistant' | 'system';
|
|
210
|
-
}
|
|
211
|
-
}
|
|
212
|
-
export declare namespace Chat {
|
|
213
|
-
export { type Interaction as Interaction, type ChatGetSessionParams as ChatGetSessionParams, type ChatSendMessageParams as ChatSendMessageParams, type ChatStreamParams as ChatStreamParams, };
|
|
214
|
-
export { Sessions as Sessions, type SessionRetrieveParams as SessionRetrieveParams };
|
|
215
|
-
export { Test as Test };
|
|
216
|
-
}
|
|
217
|
-
//# sourceMappingURL=chat.d.mts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"chat.d.mts","sourceRoot":"","sources":["../../../src/resources/v1/chat/chat.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;OACf,KAAK,WAAW;OAChB,EAAE,qBAAqB,EAAE,QAAQ,EAAE;OACnC,KAAK,OAAO;OACZ,EAAE,IAAI,EAAE;OACR,EAAE,UAAU,EAAE;OAEd,EAAE,cAAc,EAAE;AAGzB,qBAAa,IAAK,SAAQ,WAAW;IACnC,QAAQ,EAAE,WAAW,CAAC,QAAQ,CAA0C;IACxE,IAAI,EAAE,OAAO,CAAC,IAAI,CAAkC;I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