@studyfetch/sdk 1.2.0 → 1.4.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 +16 -0
- package/package.json +1 -1
- package/resources/v1/admin/admin.d.mts +2 -11
- package/resources/v1/admin/admin.d.mts.map +1 -1
- package/resources/v1/admin/admin.d.ts +2 -11
- package/resources/v1/admin/admin.d.ts.map +1 -1
- package/resources/v1/admin/admin.js +0 -13
- package/resources/v1/admin/admin.js.map +1 -1
- package/resources/v1/admin/admin.mjs +0 -13
- package/resources/v1/admin/admin.mjs.map +1 -1
- package/resources/v1/admin/index.d.mts +1 -1
- package/resources/v1/admin/index.d.mts.map +1 -1
- package/resources/v1/admin/index.d.ts +1 -1
- package/resources/v1/admin/index.d.ts.map +1 -1
- package/resources/v1/admin/index.js.map +1 -1
- package/resources/v1/admin/index.mjs.map +1 -1
- package/resources/v1/admin/models.d.mts +0 -9
- package/resources/v1/admin/models.d.mts.map +1 -1
- package/resources/v1/admin/models.d.ts +0 -9
- package/resources/v1/admin/models.d.ts.map +1 -1
- package/resources/v1/admin/models.js +0 -13
- package/resources/v1/admin/models.js.map +1 -1
- package/resources/v1/admin/models.mjs +0 -13
- package/resources/v1/admin/models.mjs.map +1 -1
- package/resources/v1/admin/organization-invites.d.mts +0 -37
- package/resources/v1/admin/organization-invites.d.mts.map +1 -1
- package/resources/v1/admin/organization-invites.d.ts +0 -37
- package/resources/v1/admin/organization-invites.d.ts.map +1 -1
- package/resources/v1/admin/organization-invites.js +0 -53
- package/resources/v1/admin/organization-invites.js.map +1 -1
- package/resources/v1/admin/organization-invites.mjs +0 -53
- package/resources/v1/admin/organization-invites.mjs.map +1 -1
- package/resources/v1/admin/organizations/models/excluded.d.mts +0 -20
- package/resources/v1/admin/organizations/models/excluded.d.mts.map +1 -1
- package/resources/v1/admin/organizations/models/excluded.d.ts +0 -20
- package/resources/v1/admin/organizations/models/excluded.d.ts.map +1 -1
- package/resources/v1/admin/organizations/models/excluded.js +0 -30
- package/resources/v1/admin/organizations/models/excluded.js.map +1 -1
- package/resources/v1/admin/organizations/models/excluded.mjs +0 -30
- package/resources/v1/admin/organizations/models/excluded.mjs.map +1 -1
- package/resources/v1/admin/organizations/organizations.d.mts +0 -9
- package/resources/v1/admin/organizations/organizations.d.mts.map +1 -1
- package/resources/v1/admin/organizations/organizations.d.ts +0 -9
- package/resources/v1/admin/organizations/organizations.d.ts.map +1 -1
- package/resources/v1/admin/organizations/organizations.js +0 -13
- package/resources/v1/admin/organizations/organizations.js.map +1 -1
- package/resources/v1/admin/organizations/organizations.mjs +0 -13
- package/resources/v1/admin/organizations/organizations.mjs.map +1 -1
- package/resources/v1/components.d.mts +239 -11
- package/resources/v1/components.d.mts.map +1 -1
- package/resources/v1/components.d.ts +239 -11
- package/resources/v1/components.d.ts.map +1 -1
- package/resources/v1/components.js +10 -29
- package/resources/v1/components.js.map +1 -1
- package/resources/v1/components.mjs +10 -29
- package/resources/v1/components.mjs.map +1 -1
- package/resources/v1/index.d.mts +2 -2
- package/resources/v1/index.d.mts.map +1 -1
- package/resources/v1/index.d.ts +2 -2
- package/resources/v1/index.d.ts.map +1 -1
- package/resources/v1/index.js.map +1 -1
- package/resources/v1/index.mjs.map +1 -1
- package/resources/v1/materials/index.d.mts +2 -2
- package/resources/v1/materials/index.d.mts.map +1 -1
- package/resources/v1/materials/index.d.ts +2 -2
- package/resources/v1/materials/index.d.ts.map +1 -1
- package/resources/v1/materials/index.js.map +1 -1
- package/resources/v1/materials/index.mjs +1 -1
- package/resources/v1/materials/index.mjs.map +1 -1
- package/resources/v1/materials/materials.d.mts +192 -9
- package/resources/v1/materials/materials.d.mts.map +1 -1
- package/resources/v1/materials/materials.d.ts +192 -9
- package/resources/v1/materials/materials.d.ts.map +1 -1
- package/resources/v1/materials/materials.js +6 -17
- package/resources/v1/materials/materials.js.map +1 -1
- package/resources/v1/materials/materials.mjs +7 -18
- package/resources/v1/materials/materials.mjs.map +1 -1
- package/resources/v1/materials/upload.d.mts +133 -11
- package/resources/v1/materials/upload.d.mts.map +1 -1
- package/resources/v1/materials/upload.d.ts +133 -11
- package/resources/v1/materials/upload.d.ts.map +1 -1
- package/resources/v1/materials/upload.js +12 -14
- package/resources/v1/materials/upload.js.map +1 -1
- package/resources/v1/materials/upload.mjs +12 -14
- package/resources/v1/materials/upload.mjs.map +1 -1
- package/resources/v1/v1.d.mts +4 -4
- package/resources/v1/v1.d.mts.map +1 -1
- package/resources/v1/v1.d.ts +4 -4
- package/resources/v1/v1.d.ts.map +1 -1
- package/resources/v1/v1.js.map +1 -1
- package/resources/v1/v1.mjs.map +1 -1
- package/src/resources/v1/admin/admin.ts +2 -21
- package/src/resources/v1/admin/index.ts +1 -1
- package/src/resources/v1/admin/models.ts +1 -17
- package/src/resources/v1/admin/organization-invites.ts +1 -66
- package/src/resources/v1/admin/organizations/models/excluded.ts +1 -35
- package/src/resources/v1/admin/organizations/organizations.ts +0 -16
- package/src/resources/v1/components.ts +312 -34
- package/src/resources/v1/index.ts +8 -0
- package/src/resources/v1/materials/index.ts +10 -1
- package/src/resources/v1/materials/materials.ts +262 -21
- package/src/resources/v1/materials/upload.ts +175 -19
- package/src/resources/v1/v1.ts +16 -0
- 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
|
@@ -7,7 +7,7 @@ export declare class Components extends APIResource {
|
|
|
7
7
|
*
|
|
8
8
|
* @example
|
|
9
9
|
* ```ts
|
|
10
|
-
* await client.v1.components.create({
|
|
10
|
+
* const component = await client.v1.components.create({
|
|
11
11
|
* config: {},
|
|
12
12
|
* name: 'My Study Component',
|
|
13
13
|
* origin: 'chat',
|
|
@@ -15,34 +15,34 @@ export declare class Components extends APIResource {
|
|
|
15
15
|
* });
|
|
16
16
|
* ```
|
|
17
17
|
*/
|
|
18
|
-
create(body: ComponentCreateParams, options?: RequestOptions): APIPromise<
|
|
18
|
+
create(body: ComponentCreateParams, options?: RequestOptions): APIPromise<ComponentCreateResponse>;
|
|
19
19
|
/**
|
|
20
20
|
* Get component by ID
|
|
21
21
|
*
|
|
22
22
|
* @example
|
|
23
23
|
* ```ts
|
|
24
|
-
* await client.v1.components.retrieve('id');
|
|
24
|
+
* const component = await client.v1.components.retrieve('id');
|
|
25
25
|
* ```
|
|
26
26
|
*/
|
|
27
|
-
retrieve(id: string, options?: RequestOptions): APIPromise<
|
|
27
|
+
retrieve(id: string, options?: RequestOptions): APIPromise<ComponentRetrieveResponse>;
|
|
28
28
|
/**
|
|
29
29
|
* Update component
|
|
30
30
|
*
|
|
31
31
|
* @example
|
|
32
32
|
* ```ts
|
|
33
|
-
* await client.v1.components.update('id');
|
|
33
|
+
* const component = await client.v1.components.update('id');
|
|
34
34
|
* ```
|
|
35
35
|
*/
|
|
36
|
-
update(id: string, body: ComponentUpdateParams, options?: RequestOptions): APIPromise<
|
|
36
|
+
update(id: string, body: ComponentUpdateParams, options?: RequestOptions): APIPromise<ComponentUpdateResponse>;
|
|
37
37
|
/**
|
|
38
38
|
* Get all components
|
|
39
39
|
*
|
|
40
40
|
* @example
|
|
41
41
|
* ```ts
|
|
42
|
-
* await client.v1.components.list();
|
|
42
|
+
* const components = await client.v1.components.list();
|
|
43
43
|
* ```
|
|
44
44
|
*/
|
|
45
|
-
list(query?: ComponentListParams | null | undefined, options?: RequestOptions): APIPromise<
|
|
45
|
+
list(query?: ComponentListParams | null | undefined, options?: RequestOptions): APIPromise<ComponentListResponse>;
|
|
46
46
|
/**
|
|
47
47
|
* Delete component
|
|
48
48
|
*
|
|
@@ -71,10 +71,10 @@ export declare class Components extends APIResource {
|
|
|
71
71
|
*
|
|
72
72
|
* @example
|
|
73
73
|
* ```ts
|
|
74
|
-
* await client.v1.components.embed('id');
|
|
74
|
+
* const response = await client.v1.components.embed('id');
|
|
75
75
|
* ```
|
|
76
76
|
*/
|
|
77
|
-
embed(id: string, body: ComponentEmbedParams, options?: RequestOptions): APIPromise<
|
|
77
|
+
embed(id: string, body: ComponentEmbedParams, options?: RequestOptions): APIPromise<ComponentEmbedResponse>;
|
|
78
78
|
/**
|
|
79
79
|
* @example
|
|
80
80
|
* ```ts
|
|
@@ -83,6 +83,234 @@ export declare class Components extends APIResource {
|
|
|
83
83
|
*/
|
|
84
84
|
interact(id: string, options?: RequestOptions): APIPromise<void>;
|
|
85
85
|
}
|
|
86
|
+
export interface ComponentCreateResponse {
|
|
87
|
+
/**
|
|
88
|
+
* Component ID (MongoDB ObjectId)
|
|
89
|
+
*/
|
|
90
|
+
_id: string;
|
|
91
|
+
/**
|
|
92
|
+
* Unique component identifier
|
|
93
|
+
*/
|
|
94
|
+
componentId: string;
|
|
95
|
+
/**
|
|
96
|
+
* Component configuration
|
|
97
|
+
*/
|
|
98
|
+
config: unknown;
|
|
99
|
+
/**
|
|
100
|
+
* Creation timestamp
|
|
101
|
+
*/
|
|
102
|
+
createdAt: string;
|
|
103
|
+
/**
|
|
104
|
+
* Component name
|
|
105
|
+
*/
|
|
106
|
+
name: string;
|
|
107
|
+
/**
|
|
108
|
+
* Organization ID
|
|
109
|
+
*/
|
|
110
|
+
organization: string;
|
|
111
|
+
/**
|
|
112
|
+
* Component status
|
|
113
|
+
*/
|
|
114
|
+
status: 'active' | 'inactive' | 'draft';
|
|
115
|
+
/**
|
|
116
|
+
* Component type
|
|
117
|
+
*/
|
|
118
|
+
type: 'chat' | 'flashcards' | 'tests' | 'scenarios' | 'explainers' | 'audio-recap';
|
|
119
|
+
/**
|
|
120
|
+
* Last update timestamp
|
|
121
|
+
*/
|
|
122
|
+
updatedAt: string;
|
|
123
|
+
/**
|
|
124
|
+
* Usage statistics
|
|
125
|
+
*/
|
|
126
|
+
usage: unknown;
|
|
127
|
+
/**
|
|
128
|
+
* Component description
|
|
129
|
+
*/
|
|
130
|
+
description?: string;
|
|
131
|
+
}
|
|
132
|
+
export interface ComponentRetrieveResponse {
|
|
133
|
+
/**
|
|
134
|
+
* Component ID (MongoDB ObjectId)
|
|
135
|
+
*/
|
|
136
|
+
_id: string;
|
|
137
|
+
/**
|
|
138
|
+
* Unique component identifier
|
|
139
|
+
*/
|
|
140
|
+
componentId: string;
|
|
141
|
+
/**
|
|
142
|
+
* Component configuration
|
|
143
|
+
*/
|
|
144
|
+
config: unknown;
|
|
145
|
+
/**
|
|
146
|
+
* Creation timestamp
|
|
147
|
+
*/
|
|
148
|
+
createdAt: string;
|
|
149
|
+
/**
|
|
150
|
+
* Component name
|
|
151
|
+
*/
|
|
152
|
+
name: string;
|
|
153
|
+
/**
|
|
154
|
+
* Organization ID
|
|
155
|
+
*/
|
|
156
|
+
organization: string;
|
|
157
|
+
/**
|
|
158
|
+
* Component status
|
|
159
|
+
*/
|
|
160
|
+
status: 'active' | 'inactive' | 'draft';
|
|
161
|
+
/**
|
|
162
|
+
* Component type
|
|
163
|
+
*/
|
|
164
|
+
type: 'chat' | 'flashcards' | 'tests' | 'scenarios' | 'explainers' | 'audio-recap';
|
|
165
|
+
/**
|
|
166
|
+
* Last update timestamp
|
|
167
|
+
*/
|
|
168
|
+
updatedAt: string;
|
|
169
|
+
/**
|
|
170
|
+
* Usage statistics
|
|
171
|
+
*/
|
|
172
|
+
usage: unknown;
|
|
173
|
+
/**
|
|
174
|
+
* Component description
|
|
175
|
+
*/
|
|
176
|
+
description?: string;
|
|
177
|
+
}
|
|
178
|
+
export interface ComponentUpdateResponse {
|
|
179
|
+
/**
|
|
180
|
+
* Component ID (MongoDB ObjectId)
|
|
181
|
+
*/
|
|
182
|
+
_id: string;
|
|
183
|
+
/**
|
|
184
|
+
* Unique component identifier
|
|
185
|
+
*/
|
|
186
|
+
componentId: string;
|
|
187
|
+
/**
|
|
188
|
+
* Component configuration
|
|
189
|
+
*/
|
|
190
|
+
config: unknown;
|
|
191
|
+
/**
|
|
192
|
+
* Creation timestamp
|
|
193
|
+
*/
|
|
194
|
+
createdAt: string;
|
|
195
|
+
/**
|
|
196
|
+
* Component name
|
|
197
|
+
*/
|
|
198
|
+
name: string;
|
|
199
|
+
/**
|
|
200
|
+
* Organization ID
|
|
201
|
+
*/
|
|
202
|
+
organization: string;
|
|
203
|
+
/**
|
|
204
|
+
* Component status
|
|
205
|
+
*/
|
|
206
|
+
status: 'active' | 'inactive' | 'draft';
|
|
207
|
+
/**
|
|
208
|
+
* Component type
|
|
209
|
+
*/
|
|
210
|
+
type: 'chat' | 'flashcards' | 'tests' | 'scenarios' | 'explainers' | 'audio-recap';
|
|
211
|
+
/**
|
|
212
|
+
* Last update timestamp
|
|
213
|
+
*/
|
|
214
|
+
updatedAt: string;
|
|
215
|
+
/**
|
|
216
|
+
* Usage statistics
|
|
217
|
+
*/
|
|
218
|
+
usage: unknown;
|
|
219
|
+
/**
|
|
220
|
+
* Component description
|
|
221
|
+
*/
|
|
222
|
+
description?: string;
|
|
223
|
+
}
|
|
224
|
+
export type ComponentListResponse = Array<ComponentListResponse.ComponentListResponseItem>;
|
|
225
|
+
export declare namespace ComponentListResponse {
|
|
226
|
+
interface ComponentListResponseItem {
|
|
227
|
+
/**
|
|
228
|
+
* Component ID (MongoDB ObjectId)
|
|
229
|
+
*/
|
|
230
|
+
_id: string;
|
|
231
|
+
/**
|
|
232
|
+
* Unique component identifier
|
|
233
|
+
*/
|
|
234
|
+
componentId: string;
|
|
235
|
+
/**
|
|
236
|
+
* Component configuration
|
|
237
|
+
*/
|
|
238
|
+
config: unknown;
|
|
239
|
+
/**
|
|
240
|
+
* Creation timestamp
|
|
241
|
+
*/
|
|
242
|
+
createdAt: string;
|
|
243
|
+
/**
|
|
244
|
+
* Component name
|
|
245
|
+
*/
|
|
246
|
+
name: string;
|
|
247
|
+
/**
|
|
248
|
+
* Organization ID
|
|
249
|
+
*/
|
|
250
|
+
organization: string;
|
|
251
|
+
/**
|
|
252
|
+
* Component status
|
|
253
|
+
*/
|
|
254
|
+
status: 'active' | 'inactive' | 'draft';
|
|
255
|
+
/**
|
|
256
|
+
* Component type
|
|
257
|
+
*/
|
|
258
|
+
type: 'chat' | 'flashcards' | 'tests' | 'scenarios' | 'explainers' | 'audio-recap';
|
|
259
|
+
/**
|
|
260
|
+
* Last update timestamp
|
|
261
|
+
*/
|
|
262
|
+
updatedAt: string;
|
|
263
|
+
/**
|
|
264
|
+
* Usage statistics
|
|
265
|
+
*/
|
|
266
|
+
usage: unknown;
|
|
267
|
+
/**
|
|
268
|
+
* Component description
|
|
269
|
+
*/
|
|
270
|
+
description?: string;
|
|
271
|
+
}
|
|
272
|
+
}
|
|
273
|
+
export interface ComponentEmbedResponse {
|
|
274
|
+
/**
|
|
275
|
+
* JWT token for authentication
|
|
276
|
+
*/
|
|
277
|
+
token: string;
|
|
278
|
+
/**
|
|
279
|
+
* Component ID
|
|
280
|
+
*/
|
|
281
|
+
componentId: string;
|
|
282
|
+
/**
|
|
283
|
+
* Component type
|
|
284
|
+
*/
|
|
285
|
+
componentType: string;
|
|
286
|
+
/**
|
|
287
|
+
* The embed URL for iframe integration
|
|
288
|
+
*/
|
|
289
|
+
embedUrl: string;
|
|
290
|
+
/**
|
|
291
|
+
* Token expiration timestamp
|
|
292
|
+
*/
|
|
293
|
+
expiresAt: string;
|
|
294
|
+
/**
|
|
295
|
+
* Embed options
|
|
296
|
+
*/
|
|
297
|
+
options: ComponentEmbedResponse.Options;
|
|
298
|
+
}
|
|
299
|
+
export declare namespace ComponentEmbedResponse {
|
|
300
|
+
/**
|
|
301
|
+
* Embed options
|
|
302
|
+
*/
|
|
303
|
+
interface Options {
|
|
304
|
+
/**
|
|
305
|
+
* Embed height
|
|
306
|
+
*/
|
|
307
|
+
height?: string;
|
|
308
|
+
/**
|
|
309
|
+
* Embed width
|
|
310
|
+
*/
|
|
311
|
+
width?: string;
|
|
312
|
+
}
|
|
313
|
+
}
|
|
86
314
|
export interface ComponentCreateParams {
|
|
87
315
|
/**
|
|
88
316
|
* Component-specific configuration
|
|
@@ -248,6 +476,6 @@ export declare namespace ComponentEmbedParams {
|
|
|
248
476
|
}
|
|
249
477
|
}
|
|
250
478
|
export declare namespace Components {
|
|
251
|
-
export { type ComponentCreateParams as ComponentCreateParams, type ComponentUpdateParams as ComponentUpdateParams, type ComponentListParams as ComponentListParams, type ComponentEmbedParams as ComponentEmbedParams, };
|
|
479
|
+
export { type ComponentCreateResponse as ComponentCreateResponse, type ComponentRetrieveResponse as ComponentRetrieveResponse, type ComponentUpdateResponse as ComponentUpdateResponse, type ComponentListResponse as ComponentListResponse, type ComponentEmbedResponse as ComponentEmbedResponse, type ComponentCreateParams as ComponentCreateParams, type ComponentUpdateParams as ComponentUpdateParams, type ComponentListParams as ComponentListParams, type ComponentEmbedParams as ComponentEmbedParams, };
|
|
252
480
|
}
|
|
253
481
|
//# sourceMappingURL=components.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"components.d.ts","sourceRoot":"","sources":["../../src/resources/v1/components.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;OACf,EAAE,UAAU,EAAE;OAEd,EAAE,cAAc,EAAE;AAGzB,qBAAa,UAAW,SAAQ,WAAW;IACzC;;;;;;;;;;;;OAYG;IACH,MAAM,CAAC,IAAI,EAAE,qBAAqB,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,
|
|
1
|
+
{"version":3,"file":"components.d.ts","sourceRoot":"","sources":["../../src/resources/v1/components.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;OACf,EAAE,UAAU,EAAE;OAEd,EAAE,cAAc,EAAE;AAGzB,qBAAa,UAAW,SAAQ,WAAW;IACzC;;;;;;;;;;;;OAYG;IACH,MAAM,CAAC,IAAI,EAAE,qBAAqB,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,uBAAuB,CAAC;IAIlG;;;;;;;OAOG;IACH,QAAQ,CAAC,EAAE,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,yBAAyB,CAAC;IAIrF;;;;;;;OAOG;IACH,MAAM,CACJ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K,yBAAyB,IAAI,yBAAyB,EAC3D,KAAK,uBAAuB,IAAI,uBAAuB,EACvD,KAAK,qBAAqB,IAAI,qBAAqB,EACnD,KAAK,sBAAsB,IAAI,sBAAsB,EACrD,KAAK,qBAAqB,IAAI,qBAAqB,EACnD,KAAK,qBAAqB,IAAI,qBAAqB,EACnD,KAAK,mBAAmB,IAAI,mBAAmB,EAC/C,KAAK,oBAAoB,IAAI,oBAAoB,GAClD,CAAC;CACH"}
|
|
@@ -11,7 +11,7 @@ class Components extends resource_1.APIResource {
|
|
|
11
11
|
*
|
|
12
12
|
* @example
|
|
13
13
|
* ```ts
|
|
14
|
-
* await client.v1.components.create({
|
|
14
|
+
* const component = await client.v1.components.create({
|
|
15
15
|
* config: {},
|
|
16
16
|
* name: 'My Study Component',
|
|
17
17
|
* origin: 'chat',
|
|
@@ -20,55 +20,40 @@ class Components extends resource_1.APIResource {
|
|
|
20
20
|
* ```
|
|
21
21
|
*/
|
|
22
22
|
create(body, options) {
|
|
23
|
-
return this._client.post('/api/v1/components', {
|
|
24
|
-
body,
|
|
25
|
-
...options,
|
|
26
|
-
headers: (0, headers_1.buildHeaders)([{ Accept: '*/*' }, options?.headers]),
|
|
27
|
-
});
|
|
23
|
+
return this._client.post('/api/v1/components', { body, ...options });
|
|
28
24
|
}
|
|
29
25
|
/**
|
|
30
26
|
* Get component by ID
|
|
31
27
|
*
|
|
32
28
|
* @example
|
|
33
29
|
* ```ts
|
|
34
|
-
* await client.v1.components.retrieve('id');
|
|
30
|
+
* const component = await client.v1.components.retrieve('id');
|
|
35
31
|
* ```
|
|
36
32
|
*/
|
|
37
33
|
retrieve(id, options) {
|
|
38
|
-
return this._client.get((0, path_1.path) `/api/v1/components/${id}`,
|
|
39
|
-
...options,
|
|
40
|
-
headers: (0, headers_1.buildHeaders)([{ Accept: '*/*' }, options?.headers]),
|
|
41
|
-
});
|
|
34
|
+
return this._client.get((0, path_1.path) `/api/v1/components/${id}`, options);
|
|
42
35
|
}
|
|
43
36
|
/**
|
|
44
37
|
* Update component
|
|
45
38
|
*
|
|
46
39
|
* @example
|
|
47
40
|
* ```ts
|
|
48
|
-
* await client.v1.components.update('id');
|
|
41
|
+
* const component = await client.v1.components.update('id');
|
|
49
42
|
* ```
|
|
50
43
|
*/
|
|
51
44
|
update(id, body, options) {
|
|
52
|
-
return this._client.patch((0, path_1.path) `/api/v1/components/${id}`, {
|
|
53
|
-
body,
|
|
54
|
-
...options,
|
|
55
|
-
headers: (0, headers_1.buildHeaders)([{ Accept: '*/*' }, options?.headers]),
|
|
56
|
-
});
|
|
45
|
+
return this._client.patch((0, path_1.path) `/api/v1/components/${id}`, { body, ...options });
|
|
57
46
|
}
|
|
58
47
|
/**
|
|
59
48
|
* Get all components
|
|
60
49
|
*
|
|
61
50
|
* @example
|
|
62
51
|
* ```ts
|
|
63
|
-
* await client.v1.components.list();
|
|
52
|
+
* const components = await client.v1.components.list();
|
|
64
53
|
* ```
|
|
65
54
|
*/
|
|
66
55
|
list(query = {}, options) {
|
|
67
|
-
return this._client.get('/api/v1/components', {
|
|
68
|
-
query,
|
|
69
|
-
...options,
|
|
70
|
-
headers: (0, headers_1.buildHeaders)([{ Accept: '*/*' }, options?.headers]),
|
|
71
|
-
});
|
|
56
|
+
return this._client.get('/api/v1/components', { query, ...options });
|
|
72
57
|
}
|
|
73
58
|
/**
|
|
74
59
|
* Delete component
|
|
@@ -113,15 +98,11 @@ class Components extends resource_1.APIResource {
|
|
|
113
98
|
*
|
|
114
99
|
* @example
|
|
115
100
|
* ```ts
|
|
116
|
-
* await client.v1.components.embed('id');
|
|
101
|
+
* const response = await client.v1.components.embed('id');
|
|
117
102
|
* ```
|
|
118
103
|
*/
|
|
119
104
|
embed(id, body, options) {
|
|
120
|
-
return this._client.post((0, path_1.path) `/api/v1/components/${id}/embed`, {
|
|
121
|
-
body,
|
|
122
|
-
...options,
|
|
123
|
-
headers: (0, headers_1.buildHeaders)([{ Accept: '*/*' }, options?.headers]),
|
|
124
|
-
});
|
|
105
|
+
return this._client.post((0, path_1.path) `/api/v1/components/${id}/embed`, { body, ...options });
|
|
125
106
|
}
|
|
126
107
|
/**
|
|
127
108
|
* @example
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"components.js","sourceRoot":"","sources":["../../src/resources/v1/components.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,qDAAkD;AAElD,uDAAsD;AAEtD,uDAAiD;AAEjD,MAAa,UAAW,SAAQ,sBAAW;IACzC;;;;;;;;;;;;OAYG;IACH,MAAM,CAAC,IAA2B,EAAE,OAAwB;QAC1D,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,oBAAoB,EAAE
|
|
1
|
+
{"version":3,"file":"components.js","sourceRoot":"","sources":["../../src/resources/v1/components.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,qDAAkD;AAElD,uDAAsD;AAEtD,uDAAiD;AAEjD,MAAa,UAAW,SAAQ,sBAAW;IACzC;;;;;;;;;;;;OAYG;IACH,MAAM,CAAC,IAA2B,EAAE,OAAwB;QAC1D,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,oBAAoB,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IACvE,CAAC;IAED;;;;;;;OAOG;IACH,QAAQ,CAAC,EAAU,EAAE,OAAwB;QAC3C,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,IAAA,WAAI,EAAA,sBAAsB,EAAE,EAAE,EAAE,OAAO,CAAC,CAAC;IACnE,CAAC;IAED;;;;;;;OAOG;IACH,MAAM,CACJ,EAAU,EACV,IAA2B,EAC3B,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,KAAK,CAAC,IAAA,WAAI,EAAA,sBAAsB,EAAE,EAAE,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IAClF,CAAC;IAED;;;;;;;OAOG;IACH,IAAI,CACF,QAAgD,EAA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AAO,EAAE,CAAC,CAAC;IACvF,CAAC;IAED;;;;;OAKG;IACH,QAAQ,CAAC,EAAU,EAAE,OAAwB;QAC3C,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,IAAA,WAAI,EAAA,sBAAsB,EAAE,WAAW,EAAE;YAChE,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;AAlID,gCAkIC"}
|
|
@@ -8,7 +8,7 @@ export class Components extends APIResource {
|
|
|
8
8
|
*
|
|
9
9
|
* @example
|
|
10
10
|
* ```ts
|
|
11
|
-
* await client.v1.components.create({
|
|
11
|
+
* const component = await client.v1.components.create({
|
|
12
12
|
* config: {},
|
|
13
13
|
* name: 'My Study Component',
|
|
14
14
|
* origin: 'chat',
|
|
@@ -17,55 +17,40 @@ export class Components extends APIResource {
|
|
|
17
17
|
* ```
|
|
18
18
|
*/
|
|
19
19
|
create(body, options) {
|
|
20
|
-
return this._client.post('/api/v1/components', {
|
|
21
|
-
body,
|
|
22
|
-
...options,
|
|
23
|
-
headers: buildHeaders([{ Accept: '*/*' }, options?.headers]),
|
|
24
|
-
});
|
|
20
|
+
return this._client.post('/api/v1/components', { body, ...options });
|
|
25
21
|
}
|
|
26
22
|
/**
|
|
27
23
|
* Get component by ID
|
|
28
24
|
*
|
|
29
25
|
* @example
|
|
30
26
|
* ```ts
|
|
31
|
-
* await client.v1.components.retrieve('id');
|
|
27
|
+
* const component = await client.v1.components.retrieve('id');
|
|
32
28
|
* ```
|
|
33
29
|
*/
|
|
34
30
|
retrieve(id, options) {
|
|
35
|
-
return this._client.get(path `/api/v1/components/${id}`,
|
|
36
|
-
...options,
|
|
37
|
-
headers: buildHeaders([{ Accept: '*/*' }, options?.headers]),
|
|
38
|
-
});
|
|
31
|
+
return this._client.get(path `/api/v1/components/${id}`, options);
|
|
39
32
|
}
|
|
40
33
|
/**
|
|
41
34
|
* Update component
|
|
42
35
|
*
|
|
43
36
|
* @example
|
|
44
37
|
* ```ts
|
|
45
|
-
* await client.v1.components.update('id');
|
|
38
|
+
* const component = await client.v1.components.update('id');
|
|
46
39
|
* ```
|
|
47
40
|
*/
|
|
48
41
|
update(id, body, options) {
|
|
49
|
-
return this._client.patch(path `/api/v1/components/${id}`, {
|
|
50
|
-
body,
|
|
51
|
-
...options,
|
|
52
|
-
headers: buildHeaders([{ Accept: '*/*' }, options?.headers]),
|
|
53
|
-
});
|
|
42
|
+
return this._client.patch(path `/api/v1/components/${id}`, { body, ...options });
|
|
54
43
|
}
|
|
55
44
|
/**
|
|
56
45
|
* Get all components
|
|
57
46
|
*
|
|
58
47
|
* @example
|
|
59
48
|
* ```ts
|
|
60
|
-
* await client.v1.components.list();
|
|
49
|
+
* const components = await client.v1.components.list();
|
|
61
50
|
* ```
|
|
62
51
|
*/
|
|
63
52
|
list(query = {}, options) {
|
|
64
|
-
return this._client.get('/api/v1/components', {
|
|
65
|
-
query,
|
|
66
|
-
...options,
|
|
67
|
-
headers: buildHeaders([{ Accept: '*/*' }, options?.headers]),
|
|
68
|
-
});
|
|
53
|
+
return this._client.get('/api/v1/components', { query, ...options });
|
|
69
54
|
}
|
|
70
55
|
/**
|
|
71
56
|
* Delete component
|
|
@@ -110,15 +95,11 @@ export class Components extends APIResource {
|
|
|
110
95
|
*
|
|
111
96
|
* @example
|
|
112
97
|
* ```ts
|
|
113
|
-
* await client.v1.components.embed('id');
|
|
98
|
+
* const response = await client.v1.components.embed('id');
|
|
114
99
|
* ```
|
|
115
100
|
*/
|
|
116
101
|
embed(id, body, options) {
|
|
117
|
-
return this._client.post(path `/api/v1/components/${id}/embed`, {
|
|
118
|
-
body,
|
|
119
|
-
...options,
|
|
120
|
-
headers: buildHeaders([{ Accept: '*/*' }, options?.headers]),
|
|
121
|
-
});
|
|
102
|
+
return this._client.post(path `/api/v1/components/${id}/embed`, { body, ...options });
|
|
122
103
|
}
|
|
123
104
|
/**
|
|
124
105
|
* @example
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"components.mjs","sourceRoot":"","sources":["../../src/resources/v1/components.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAE/E,EAAE,WAAW,EAAE;OAEf,EAAE,YAAY,EAAE;OAEhB,EAAE,IAAI,EAAE;AAEf,MAAM,OAAO,UAAW,SAAQ,WAAW;IACzC;;;;;;;;;;;;OAYG;IACH,MAAM,CAAC,IAA2B,EAAE,OAAwB;QAC1D,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,oBAAoB,EAAE
|
|
1
|
+
{"version":3,"file":"components.mjs","sourceRoot":"","sources":["../../src/resources/v1/components.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAE/E,EAAE,WAAW,EAAE;OAEf,EAAE,YAAY,EAAE;OAEhB,EAAE,IAAI,EAAE;AAEf,MAAM,OAAO,UAAW,SAAQ,WAAW;IACzC;;;;;;;;;;;;OAYG;IACH,MAAM,CAAC,IAA2B,EAAE,OAAwB;QAC1D,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,oBAAoB,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IACvE,CAAC;IAED;;;;;;;OAOG;IACH,QAAQ,CAAC,EAAU,EAAE,OAAwB;QAC3C,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,IAAI,CAAA,sBAAsB,EAAE,EAAE,EAAE,OAAO,CAAC,CAAC;IACnE,CAAC;IAED;;;;;;;OAOG;IACH,MAAM,CACJ,EAAU,EACV,IAA2B,EAC3B,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,KAAK,CAAC,IAAI,CAAA,sBAAsB,EAAE,EAAE,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IAClF,CAAC;IAED;;;;;;;OAOG;IACH,IAAI,CACF,QAAgD,E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;OAKG;IACH,QAAQ,CAAC,EAAU,EAAE,OAAwB;QAC3C,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,IAAI,CAAA,sBAAsB,EAAE,WAAW,EAAE;YAChE,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"}
|
package/resources/v1/index.d.mts
CHANGED
|
@@ -2,12 +2,12 @@ export { Admin } from "./admin/index.mjs";
|
|
|
2
2
|
export { AudioRecaps, type AudioRecapCreateParams, type AudioRecapAskQuestionParams, } from "./audio-recaps/index.mjs";
|
|
3
3
|
export { Auth, type AuthRegisterNewUserParams, type AuthRegisterWithInviteParams, type AuthRequestPasswordResetParams, type AuthResetPasswordParams, type AuthVerifyResetTokenParams, } from "./auth/index.mjs";
|
|
4
4
|
export { Chat, type ChatRetrieveSessionParams, type ChatSendMessageParams, type ChatStreamParams, } from "./chat/index.mjs";
|
|
5
|
-
export { Components, type ComponentCreateParams, type ComponentUpdateParams, type ComponentListParams, type ComponentEmbedParams, } from "./components.mjs";
|
|
5
|
+
export { Components, type ComponentCreateResponse, type ComponentRetrieveResponse, type ComponentUpdateResponse, type ComponentListResponse, type ComponentEmbedResponse, type ComponentCreateParams, type ComponentUpdateParams, type ComponentListParams, type ComponentEmbedParams, } from "./components.mjs";
|
|
6
6
|
export { Embed, type EmbedGetThemeParams, type EmbedVerifyParams } from "./embed/index.mjs";
|
|
7
7
|
export { Explainers, type ExplainerCreateParams, type ExplainerHandleWebhookParams } from "./explainers.mjs";
|
|
8
8
|
export { Flashcards, type FlashcardBatchProcessResponse, type FlashcardGetAlgorithmInfoResponse, type FlashcardGetTypesResponse, type FlashcardBatchProcessParams, type FlashcardGetAllParams, type FlashcardGetDueParams, type FlashcardGetStatsParams, type FlashcardRateParams, } from "./flashcards.mjs";
|
|
9
9
|
export { Folders, type FolderCreateParams, type FolderUpdateParams, type FolderListParams } from "./folders.mjs";
|
|
10
|
-
export { Materials, type MaterialCreateParams, type MaterialListParams, type MaterialGetDownloadURLParams, } from "./materials/index.mjs";
|
|
10
|
+
export { Materials, type MaterialCreateResponse, type MaterialRetrieveResponse, type MaterialListResponse, type MaterialCreateParams, type MaterialListParams, type MaterialGetDownloadURLParams, } from "./materials/index.mjs";
|
|
11
11
|
export { Organizations, type OrganizationUpdateParams } from "./organizations/index.mjs";
|
|
12
12
|
export { Scenarios, type ScenarioCreateParams, type ScenarioUpdateParams } from "./scenarios/index.mjs";
|
|
13
13
|
export { Tests, type TestCreateParams, type TestRetakeParams, type TestSubmitParams, type TestSubmitAnswerParams, } from "./tests/index.mjs";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.mts","sourceRoot":"","sources":["../../src/resources/v1/index.ts"],"names":[],"mappings":"OAEO,EAAE,KAAK,EAAE;OACT,EACL,WAAW,EACX,KAAK,sBAAsB,EAC3B,KAAK,2BAA2B,GACjC;OACM,EACL,IAAI,EACJ,KAAK,yBAAyB,EAC9B,KAAK,4BAA4B,EACjC,KAAK,8BAA8B,EACnC,KAAK,uBAAuB,EAC5B,KAAK,0BAA0B,GAChC;OACM,EACL,IAAI,EACJ,KAAK,yBAAyB,EAC9B,KAAK,qBAAqB,EAC1B,KAAK,gBAAgB,GACtB;OACM,EACL,UAAU,EACV,KAAK,qBAAqB,EAC1B,KAAK,qBAAqB,EAC1B,KAAK,mBAAmB,EACxB,KAAK,oBAAoB,GAC1B;OACM,EAAE,KAAK,EAAE,KAAK,mBAAmB,EAAE,KAAK,iBAAiB,EAAE;OAC3D,EAAE,UAAU,EAAE,KAAK,qBAAqB,EAAE,KAAK,4BAA4B,EAAE;OAC7E,EACL,UAAU,EACV,KAAK,6BAA6B,EAClC,KAAK,iCAAiC,EACtC,KAAK,yBAAyB,EAC9B,KAAK,2BAA2B,EAChC,KAAK,qBAAqB,EAC1B,KAAK,qBAAqB,EAC1B,KAAK,uBAAuB,EAC5B,KAAK,mBAAmB,GACzB;OACM,EAAE,OAAO,EAAE,KAAK,kBAAkB,EAAE,KAAK,kBAAkB,EAAE,KAAK,gBAAgB,EAAE;OACpF,EACL,SAAS,EACT,KAAK,oBAAoB,EACzB,KAAK,kBAAkB,EACvB,KAAK,4BAA4B,GAClC;OACM,EAAE,aAAa,EAAE,KAAK,wBAAwB,EAAE;OAChD,EAAE,SAAS,EAAE,KAAK,oBAAoB,EAAE,KAAK,oBAAoB,EAAE;OACnE,EACL,KAAK,EACL,KAAK,gBAAgB,EACrB,KAAK,gBAAgB,EACrB,KAAK,gBAAgB,EACrB,KAAK,sBAAsB,GAC5B;OACM,EAAE,MAAM,EAAE;OACV,EACL,KAAK,EACL,KAAK,mBAAmB,EACxB,KAAK,qBAAqB,EAC1B,KAAK,qBAAqB,EAC1B,KAAK,oBAAoB,EACzB,KAAK,qBAAqB,EAC1B,KAAK,2BAA2B,GACjC;OACM,EAAE,EAAE,EAAE"}
|
|
1
|
+
{"version":3,"file":"index.d.mts","sourceRoot":"","sources":["../../src/resources/v1/index.ts"],"names":[],"mappings":"OAEO,EAAE,KAAK,EAAE;OACT,EACL,WAAW,EACX,KAAK,sBAAsB,EAC3B,KAAK,2BAA2B,GACjC;OACM,EACL,IAAI,EACJ,KAAK,yBAAyB,EAC9B,KAAK,4BAA4B,EACjC,KAAK,8BAA8B,EACnC,KAAK,uBAAuB,EAC5B,KAAK,0BAA0B,GAChC;OACM,EACL,IAAI,EACJ,KAAK,yBAAyB,EAC9B,KAAK,qBAAqB,EAC1B,KAAK,gBAAgB,GACtB;OACM,EACL,UAAU,EACV,KAAK,uBAAuB,EAC5B,KAAK,yBAAyB,EAC9B,KAAK,uBAAuB,EAC5B,KAAK,qBAAqB,EAC1B,KAAK,sBAAsB,EAC3B,KAAK,qBAAqB,EAC1B,KAAK,qBAAqB,EAC1B,KAAK,mBAAmB,EACxB,KAAK,oBAAoB,GAC1B;OACM,EAAE,KAAK,EAAE,KAAK,mBAAmB,EAAE,KAAK,iBAAiB,EAAE;OAC3D,EAAE,UAAU,EAAE,KAAK,qBAAqB,EAAE,KAAK,4BAA4B,EAAE;OAC7E,EACL,UAAU,EACV,KAAK,6BAA6B,EAClC,KAAK,iCAAiC,EACtC,KAAK,yBAAyB,EAC9B,KAAK,2BAA2B,EAChC,KAAK,qBAAqB,EAC1B,KAAK,qBAAqB,EAC1B,KAAK,uBAAuB,EAC5B,KAAK,mBAAmB,GACzB;OACM,EAAE,OAAO,EAAE,KAAK,kBAAkB,EAAE,KAAK,kBAAkB,EAAE,KAAK,gBAAgB,EAAE;OACpF,EACL,SAAS,EACT,KAAK,sBAAsB,EAC3B,KAAK,wBAAwB,EAC7B,KAAK,oBAAoB,EACzB,KAAK,oBAAoB,EACzB,KAAK,kBAAkB,EACvB,KAAK,4BAA4B,GAClC;OACM,EAAE,aAAa,EAAE,KAAK,wBAAwB,EAAE;OAChD,EAAE,SAAS,EAAE,KAAK,oBAAoB,EAAE,KAAK,oBAAoB,EAAE;OACnE,EACL,KAAK,EACL,KAAK,gBAAgB,EACrB,KAAK,gBAAgB,EACrB,KAAK,gBAAgB,EACrB,KAAK,sBAAsB,GAC5B;OACM,EAAE,MAAM,EAAE;OACV,EACL,KAAK,EACL,KAAK,mBAAmB,EACxB,KAAK,qBAAqB,EAC1B,KAAK,qBAAqB,EAC1B,KAAK,oBAAoB,EACzB,KAAK,qBAAqB,EAC1B,KAAK,2BAA2B,GACjC;OACM,EAAE,EAAE,EAAE"}
|
package/resources/v1/index.d.ts
CHANGED
|
@@ -2,12 +2,12 @@ export { Admin } from "./admin/index.js";
|
|
|
2
2
|
export { AudioRecaps, type AudioRecapCreateParams, type AudioRecapAskQuestionParams, } from "./audio-recaps/index.js";
|
|
3
3
|
export { Auth, type AuthRegisterNewUserParams, type AuthRegisterWithInviteParams, type AuthRequestPasswordResetParams, type AuthResetPasswordParams, type AuthVerifyResetTokenParams, } from "./auth/index.js";
|
|
4
4
|
export { Chat, type ChatRetrieveSessionParams, type ChatSendMessageParams, type ChatStreamParams, } from "./chat/index.js";
|
|
5
|
-
export { Components, type ComponentCreateParams, type ComponentUpdateParams, type ComponentListParams, type ComponentEmbedParams, } from "./components.js";
|
|
5
|
+
export { Components, type ComponentCreateResponse, type ComponentRetrieveResponse, type ComponentUpdateResponse, type ComponentListResponse, type ComponentEmbedResponse, type ComponentCreateParams, type ComponentUpdateParams, type ComponentListParams, type ComponentEmbedParams, } from "./components.js";
|
|
6
6
|
export { Embed, type EmbedGetThemeParams, type EmbedVerifyParams } from "./embed/index.js";
|
|
7
7
|
export { Explainers, type ExplainerCreateParams, type ExplainerHandleWebhookParams } from "./explainers.js";
|
|
8
8
|
export { Flashcards, type FlashcardBatchProcessResponse, type FlashcardGetAlgorithmInfoResponse, type FlashcardGetTypesResponse, type FlashcardBatchProcessParams, type FlashcardGetAllParams, type FlashcardGetDueParams, type FlashcardGetStatsParams, type FlashcardRateParams, } from "./flashcards.js";
|
|
9
9
|
export { Folders, type FolderCreateParams, type FolderUpdateParams, type FolderListParams } from "./folders.js";
|
|
10
|
-
export { Materials, type MaterialCreateParams, type MaterialListParams, type MaterialGetDownloadURLParams, } from "./materials/index.js";
|
|
10
|
+
export { Materials, type MaterialCreateResponse, type MaterialRetrieveResponse, type MaterialListResponse, type MaterialCreateParams, type MaterialListParams, type MaterialGetDownloadURLParams, } from "./materials/index.js";
|
|
11
11
|
export { Organizations, type OrganizationUpdateParams } from "./organizations/index.js";
|
|
12
12
|
export { Scenarios, type ScenarioCreateParams, type ScenarioUpdateParams } from "./scenarios/index.js";
|
|
13
13
|
export { Tests, type TestCreateParams, type TestRetakeParams, type TestSubmitParams, type TestSubmitAnswerParams, } from "./tests/index.js";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/resources/v1/index.ts"],"names":[],"mappings":"OAEO,EAAE,KAAK,EAAE;OACT,EACL,WAAW,EACX,KAA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,KAAK,oBAAoB,EAAE,KAAK,oBAAoB,EAAE;OACnE,EACL,KAAK,EACL,KAAK,gBAAgB,EACrB,KAAK,gBAAgB,EACrB,KAAK,gBAAgB,EACrB,KAAK,sBAAsB,GAC5B;OACM,EAAE,MAAM,EAAE;OACV,EACL,KAAK,EACL,KAAK,mBAAmB,EACxB,KAAK,qBAAqB,EAC1B,KAAK,qBAAqB,EAC1B,KAAK,oBAAoB,EACzB,KAAK,qBAAqB,EAC1B,KAAK,2BAA2B,GACjC;OACM,EAAE,EAAE,EAAE"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/resources/v1/index.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,0CAAsC;AAA7B,8FAAA,KAAK,OAAA;AACd,iDAI8B;AAH5B,oGAAA,WAAW,OAAA;AAIb,yCAOsB;AANpB,6FAAA,IAAI,OAAA;AAON,yCAKsB;AAJpB,6FAAA,IAAI,OAAA;AAKN,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/resources/v1/index.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,0CAAsC;AAA7B,8FAAA,KAAK,OAAA;AACd,iDAI8B;AAH5B,oGAAA,WAAW,OAAA;AAIb,yCAOsB;AANpB,6FAAA,IAAI,OAAA;AAON,yCAKsB;AAJpB,6FAAA,IAAI,OAAA;AAKN,8CAWsB;AAVpB,wGAAA,UAAU,OAAA;AAWZ,0CAAwF;AAA/E,8FAAA,KAAK,OAAA;AACd,8CAAyG;AAAhG,wGAAA,UAAU,OAAA;AACnB,8CAUsB;AATpB,wGAAA,UAAU,OAAA;AAUZ,wCAA6G;AAApG,kGAAA,OAAO,OAAA;AAChB,8CAQ2B;AAPzB,kGAAA,SAAS,OAAA;AAQX,kDAAqF;AAA5E,sGAAA,aAAa,OAAA;AACtB,8CAAoG;AAA3F,kGAAA,SAAS,OAAA;AAClB,0CAMuB;AALrB,8FAAA,KAAK,OAAA;AAMP,4CAAwC;AAA/B,gGAAA,MAAM,OAAA;AACf,oCAQiB;AAPf,8FAAA,KAAK,OAAA;AAQP,8BAA0B;AAAjB,wFAAA,EAAE,OAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.mjs","sourceRoot":"","sources":["../../src/resources/v1/index.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAE/E,EAAE,KAAK,EAAE;OACT,EACL,WAAW,GAGZ;OACM,EACL,IAAI,GAML;OACM,EACL,IAAI,GAIL;OACM,EACL,UAAU,
|
|
1
|
+
{"version":3,"file":"index.mjs","sourceRoot":"","sources":["../../src/resources/v1/index.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAE/E,EAAE,KAAK,EAAE;OACT,EACL,WAAW,GAGZ;OACM,EACL,IAAI,GAML;OACM,EACL,IAAI,GAIL;OACM,EACL,UAAU,GAUX;OACM,EAAE,KAAK,EAAoD;OAC3D,EAAE,UAAU,EAAiE;OAC7E,EACL,UAAU,GASX;OACM,EAAE,OAAO,EAA2E;OACpF,EACL,SAAS,GAOV;OACM,EAAE,aAAa,EAAiC;OAChD,EAAE,SAAS,EAAwD;OACnE,EACL,KAAK,GAKN;OACM,EAAE,MAAM,EAAE;OACV,EACL,KAAK,GAON;OACM,EAAE,EAAE,EAAE"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
export { Bulk } from "./bulk.mjs";
|
|
2
|
-
export { Materials, type MaterialCreateParams, type MaterialListParams, type MaterialGetDownloadURLParams, } from "./materials.mjs";
|
|
2
|
+
export { Materials, type MaterialCreateResponse, type MaterialRetrieveResponse, type MaterialListResponse, type MaterialCreateParams, type MaterialListParams, type MaterialGetDownloadURLParams, } from "./materials.mjs";
|
|
3
3
|
export { Test } from "./test.mjs";
|
|
4
|
-
export { Upload, type UploadUploadFileParams, type UploadUploadFromURLParams } from "./upload.mjs";
|
|
4
|
+
export { Upload, type UploadUploadFileResponse, type UploadUploadFromURLResponse, type UploadUploadFileParams, type UploadUploadFromURLParams, } from "./upload.mjs";
|
|
5
5
|
//# sourceMappingURL=index.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.mts","sourceRoot":"","sources":["../../../src/resources/v1/materials/index.ts"],"names":[],"mappings":"OAEO,EAAE,IAAI,EAAE;OACR,EACL,SAAS,EACT,KAAK,oBAAoB,EACzB,KAAK,kBAAkB,EACvB,KAAK,4BAA4B,GAClC;OACM,EAAE,IAAI,EAAE;OACR,
|
|
1
|
+
{"version":3,"file":"index.d.mts","sourceRoot":"","sources":["../../../src/resources/v1/materials/index.ts"],"names":[],"mappings":"OAEO,EAAE,IAAI,EAAE;OACR,EACL,SAAS,EACT,KAAK,sBAAsB,EAC3B,KAAK,wBAAwB,EAC7B,KAAK,oBAAoB,EACzB,KAAK,oBAAoB,EACzB,KAAK,kBAAkB,EACvB,KAAK,4BAA4B,GAClC;OACM,EAAE,IAAI,EAAE;OACR,EACL,MAAM,EACN,KAAK,wBAAwB,EAC7B,KAAK,2BAA2B,EAChC,KAAK,sBAAsB,EAC3B,KAAK,yBAAyB,GAC/B"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
export { Bulk } from "./bulk.js";
|
|
2
|
-
export { Materials, type MaterialCreateParams, type MaterialListParams, type MaterialGetDownloadURLParams, } from "./materials.js";
|
|
2
|
+
export { Materials, type MaterialCreateResponse, type MaterialRetrieveResponse, type MaterialListResponse, type MaterialCreateParams, type MaterialListParams, type MaterialGetDownloadURLParams, } from "./materials.js";
|
|
3
3
|
export { Test } from "./test.js";
|
|
4
|
-
export { Upload, type UploadUploadFileParams, type UploadUploadFromURLParams } from "./upload.js";
|
|
4
|
+
export { Upload, type UploadUploadFileResponse, type UploadUploadFromURLResponse, type UploadUploadFileParams, type UploadUploadFromURLParams, } from "./upload.js";
|
|
5
5
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/resources/v1/materials/index.ts"],"names":[],"mappings":"OAEO,EAAE,IAAI,EAAE;OACR,EACL,SAAS,EACT,KAAK,oBAAoB,EACzB,KAAK,kBAAkB,EACvB,KAAK,4BAA4B,GAClC;OACM,EAAE,IAAI,EAAE;OACR,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/resources/v1/materials/index.ts"],"names":[],"mappings":"OAEO,EAAE,IAAI,EAAE;OACR,EACL,SAAS,EACT,KAAK,sBAAsB,EAC3B,KAAK,wBAAwB,EAC7B,KAAK,oBAAoB,EACzB,KAAK,oBAAoB,EACzB,KAAK,kBAAkB,EACvB,KAAK,4BAA4B,GAClC;OACM,EAAE,IAAI,EAAE;OACR,EACL,MAAM,EACN,KAAK,wBAAwB,EAC7B,KAAK,2BAA2B,EAChC,KAAK,sBAAsB,EAC3B,KAAK,yBAAyB,GAC/B"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/resources/v1/materials/index.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,kCAA8B;AAArB,4FAAA,IAAI,OAAA;AACb,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/resources/v1/materials/index.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,kCAA8B;AAArB,4FAAA,IAAI,OAAA;AACb,4CAQqB;AAPnB,sGAAA,SAAS,OAAA;AAQX,kCAA8B;AAArB,4FAAA,IAAI,OAAA;AACb,sCAMkB;AALhB,gGAAA,MAAM,OAAA"}
|