@scenario-labs/sdk 2.6.0 → 3.0.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 +49 -0
- package/client.d.mts +10 -10
- package/client.d.mts.map +1 -1
- package/client.d.ts +10 -10
- package/client.d.ts.map +1 -1
- package/client.js.map +1 -1
- package/client.mjs.map +1 -1
- package/lib/job.d.mts +2 -2
- package/lib/job.d.mts.map +1 -1
- package/lib/job.d.ts +2 -2
- package/lib/job.d.ts.map +1 -1
- package/lib/job.js +3 -3
- package/lib/job.js.map +1 -1
- package/lib/job.mjs +3 -3
- package/lib/job.mjs.map +1 -1
- package/lib/upload.d.mts +2 -2
- package/lib/upload.d.mts.map +1 -1
- package/lib/upload.d.ts +2 -2
- package/lib/upload.d.ts.map +1 -1
- package/lib/upload.js +4 -4
- package/lib/upload.js.map +1 -1
- package/lib/upload.mjs +4 -4
- package/lib/upload.mjs.map +1 -1
- package/lib/workflow.d.mts +2 -2
- package/lib/workflow.d.mts.map +1 -1
- package/lib/workflow.d.ts +2 -2
- package/lib/workflow.d.ts.map +1 -1
- package/lib/workflow.js +2 -2
- package/lib/workflow.js.map +1 -1
- package/lib/workflow.mjs +2 -2
- package/lib/workflow.mjs.map +1 -1
- package/lib/workflow_converter.d.mts.map +1 -1
- package/lib/workflow_converter.d.ts.map +1 -1
- package/lib/workflow_converter.js +101 -22
- package/lib/workflow_converter.js.map +1 -1
- package/lib/workflow_converter.mjs +101 -22
- package/lib/workflow_converter.mjs.map +1 -1
- package/package.json +1 -1
- package/resources/assets/assets.d.mts +1091 -8
- package/resources/assets/assets.d.mts.map +1 -1
- package/resources/assets/assets.d.ts +1091 -8
- package/resources/assets/assets.d.ts.map +1 -1
- package/resources/assets/assets.js +34 -16
- package/resources/assets/assets.js.map +1 -1
- package/resources/assets/assets.mjs +34 -16
- package/resources/assets/assets.mjs.map +1 -1
- package/resources/assets/download.d.mts +28 -5
- package/resources/assets/download.d.mts.map +1 -1
- package/resources/assets/download.d.ts +28 -5
- package/resources/assets/download.d.ts.map +1 -1
- package/resources/assets/download.js +8 -6
- package/resources/assets/download.js.map +1 -1
- package/resources/assets/download.mjs +8 -6
- package/resources/assets/download.mjs.map +1 -1
- package/resources/assets/index.d.mts +1 -1
- package/resources/assets/index.d.mts.map +1 -1
- package/resources/assets/index.d.ts +1 -1
- package/resources/assets/index.d.ts.map +1 -1
- package/resources/assets/index.js.map +1 -1
- package/resources/assets/index.mjs.map +1 -1
- package/resources/collections/assets.d.mts +15 -4
- package/resources/collections/assets.d.mts.map +1 -1
- package/resources/collections/assets.d.ts +15 -4
- package/resources/collections/assets.d.ts.map +1 -1
- package/resources/collections/assets.js +14 -4
- package/resources/collections/assets.js.map +1 -1
- package/resources/collections/assets.mjs +14 -4
- package/resources/collections/assets.mjs.map +1 -1
- package/resources/collections/collections.d.mts +38 -9
- package/resources/collections/collections.d.mts.map +1 -1
- package/resources/collections/collections.d.ts +38 -9
- package/resources/collections/collections.d.ts.map +1 -1
- package/resources/collections/collections.js +11 -8
- package/resources/collections/collections.js.map +1 -1
- package/resources/collections/collections.mjs +11 -8
- package/resources/collections/collections.mjs.map +1 -1
- package/resources/collections/index.d.mts +1 -1
- package/resources/collections/index.d.mts.map +1 -1
- package/resources/collections/index.d.ts +1 -1
- package/resources/collections/index.d.ts.map +1 -1
- package/resources/collections/index.js.map +1 -1
- package/resources/collections/index.mjs.map +1 -1
- package/resources/collections/models.d.mts +15 -4
- package/resources/collections/models.d.mts.map +1 -1
- package/resources/collections/models.d.ts +15 -4
- package/resources/collections/models.d.ts.map +1 -1
- package/resources/collections/models.js +14 -4
- package/resources/collections/models.js.map +1 -1
- package/resources/collections/models.mjs +14 -4
- package/resources/collections/models.mjs.map +1 -1
- package/resources/generate.d.mts +941 -0
- package/resources/generate.d.mts.map +1 -1
- package/resources/generate.d.ts +941 -0
- package/resources/generate.d.ts.map +1 -1
- package/resources/generate.js +28 -16
- package/resources/generate.js.map +1 -1
- package/resources/generate.mjs +28 -16
- package/resources/generate.mjs.map +1 -1
- package/resources/index.d.mts +5 -5
- package/resources/index.d.mts.map +1 -1
- package/resources/index.d.ts +5 -5
- package/resources/index.d.ts.map +1 -1
- package/resources/index.js.map +1 -1
- package/resources/index.mjs.map +1 -1
- package/resources/jobs.d.mts +146 -2
- package/resources/jobs.d.mts.map +1 -1
- package/resources/jobs.d.ts +146 -2
- package/resources/jobs.d.ts.map +1 -1
- package/resources/jobs.js +8 -4
- package/resources/jobs.js.map +1 -1
- package/resources/jobs.mjs +8 -4
- package/resources/jobs.mjs.map +1 -1
- package/resources/models/description.d.mts +10 -0
- package/resources/models/description.d.mts.map +1 -1
- package/resources/models/description.d.ts +10 -0
- package/resources/models/description.d.ts.map +1 -1
- package/resources/models/description.js +2 -2
- package/resources/models/description.js.map +1 -1
- package/resources/models/description.mjs +2 -2
- package/resources/models/description.mjs.map +1 -1
- package/resources/models/examples.d.mts +346 -1
- package/resources/models/examples.d.mts.map +1 -1
- package/resources/models/examples.d.ts +346 -1
- package/resources/models/examples.d.ts.map +1 -1
- package/resources/models/examples.js +2 -2
- package/resources/models/examples.js.map +1 -1
- package/resources/models/examples.mjs +2 -2
- package/resources/models/examples.mjs.map +1 -1
- package/resources/models/index.d.mts +1 -1
- package/resources/models/index.d.mts.map +1 -1
- package/resources/models/index.d.ts +1 -1
- package/resources/models/index.d.ts.map +1 -1
- package/resources/models/index.js.map +1 -1
- package/resources/models/index.mjs.map +1 -1
- package/resources/models/models.d.mts +71 -13
- package/resources/models/models.d.mts.map +1 -1
- package/resources/models/models.d.ts +71 -13
- package/resources/models/models.d.ts.map +1 -1
- package/resources/models/models.js +30 -18
- package/resources/models/models.js.map +1 -1
- package/resources/models/models.mjs +30 -18
- package/resources/models/models.mjs.map +1 -1
- package/resources/models/train.d.mts +93 -0
- package/resources/models/train.d.mts.map +1 -1
- package/resources/models/train.d.ts +93 -0
- package/resources/models/train.d.ts.map +1 -1
- package/resources/models/train.js +4 -4
- package/resources/models/train.js.map +1 -1
- package/resources/models/train.mjs +4 -4
- package/resources/models/train.mjs.map +1 -1
- package/resources/models/training-images.d.mts +22 -2
- package/resources/models/training-images.d.mts.map +1 -1
- package/resources/models/training-images.d.ts +22 -2
- package/resources/models/training-images.d.ts.map +1 -1
- package/resources/models/training-images.js +15 -8
- package/resources/models/training-images.js.map +1 -1
- package/resources/models/training-images.mjs +15 -8
- package/resources/models/training-images.mjs.map +1 -1
- package/resources/search.d.mts +10 -0
- package/resources/search.d.mts.map +1 -1
- package/resources/search.d.ts +10 -0
- package/resources/search.d.ts.map +1 -1
- package/resources/search.js +4 -4
- package/resources/search.js.map +1 -1
- package/resources/search.mjs +4 -4
- package/resources/search.mjs.map +1 -1
- package/resources/tags.d.mts +5 -0
- package/resources/tags.d.mts.map +1 -1
- package/resources/tags.d.ts +5 -0
- package/resources/tags.d.ts.map +1 -1
- package/resources/uploads.d.mts +35 -20
- package/resources/uploads.d.mts.map +1 -1
- package/resources/uploads.d.ts +35 -20
- package/resources/uploads.d.ts.map +1 -1
- package/resources/uploads.js +8 -6
- package/resources/uploads.js.map +1 -1
- package/resources/uploads.mjs +8 -6
- package/resources/uploads.mjs.map +1 -1
- package/resources/usages.d.mts +53 -10
- package/resources/usages.d.mts.map +1 -1
- package/resources/usages.d.ts +53 -10
- package/resources/usages.d.ts.map +1 -1
- package/resources/workflows.d.mts +446 -266
- package/resources/workflows.d.mts.map +1 -1
- package/resources/workflows.d.ts +446 -266
- package/resources/workflows.d.ts.map +1 -1
- package/resources/workflows.js +20 -12
- package/resources/workflows.js.map +1 -1
- package/resources/workflows.mjs +20 -12
- package/resources/workflows.mjs.map +1 -1
- package/src/client.ts +14 -0
- package/src/lib/job.ts +8 -3
- package/src/lib/upload.ts +5 -3
- package/src/lib/workflow.ts +3 -1
- package/src/lib/workflow_converter.ts +119 -24
- package/src/resources/assets/assets.ts +1310 -32
- package/src/resources/assets/download.ts +40 -7
- package/src/resources/assets/index.ts +1 -0
- package/src/resources/collections/assets.ts +29 -6
- package/src/resources/collections/collections.ts +59 -12
- package/src/resources/collections/index.ts +2 -0
- package/src/resources/collections/models.ts +29 -6
- package/src/resources/generate.ts +1247 -30
- package/src/resources/index.ts +7 -0
- package/src/resources/jobs.ts +169 -4
- package/src/resources/models/description.ts +14 -2
- package/src/resources/models/examples.ts +396 -3
- package/src/resources/models/index.ts +1 -0
- package/src/resources/models/models.ts +112 -26
- package/src/resources/models/train.ts +126 -4
- package/src/resources/models/training-images.ts +41 -10
- package/src/resources/search.ts +16 -4
- package/src/resources/tags.ts +6 -0
- package/src/resources/uploads.ts +47 -22
- package/src/resources/usages.ts +63 -10
- package/src/resources/workflows.ts +783 -563
- 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/src/resources/uploads.ts
CHANGED
|
@@ -10,15 +10,20 @@ export class Uploads extends APIResource {
|
|
|
10
10
|
* Create a temporary upload URL for a file. Support multipart uploads. Return a
|
|
11
11
|
* list of URLs for each part of the file.
|
|
12
12
|
*/
|
|
13
|
-
create(
|
|
14
|
-
|
|
13
|
+
create(params: UploadCreateParams, options?: RequestOptions): APIPromise<UploadCreateResponse> {
|
|
14
|
+
const { projectId, ...body } = params;
|
|
15
|
+
return this._client.post('/uploads', { query: { projectId }, body, ...options });
|
|
15
16
|
}
|
|
16
17
|
|
|
17
18
|
/**
|
|
18
19
|
* Get the details of an existing upload
|
|
19
20
|
*/
|
|
20
|
-
retrieve(
|
|
21
|
-
|
|
21
|
+
retrieve(
|
|
22
|
+
uploadID: string,
|
|
23
|
+
query: UploadRetrieveParams | null | undefined = {},
|
|
24
|
+
options?: RequestOptions,
|
|
25
|
+
): APIPromise<UploadRetrieveResponse> {
|
|
26
|
+
return this._client.get(path`/uploads/${uploadID}`, { query, ...options });
|
|
22
27
|
}
|
|
23
28
|
|
|
24
29
|
/**
|
|
@@ -26,10 +31,11 @@ export class Uploads extends APIResource {
|
|
|
26
31
|
*/
|
|
27
32
|
triggerAction(
|
|
28
33
|
uploadID: string,
|
|
29
|
-
|
|
34
|
+
params: UploadTriggerActionParams,
|
|
30
35
|
options?: RequestOptions,
|
|
31
36
|
): APIPromise<UploadTriggerActionResponse> {
|
|
32
|
-
|
|
37
|
+
const { projectId, ...body } = params;
|
|
38
|
+
return this._client.post(path`/uploads/${uploadID}/action`, { query: { projectId }, body, ...options });
|
|
33
39
|
}
|
|
34
40
|
}
|
|
35
41
|
|
|
@@ -275,53 +281,62 @@ export namespace UploadTriggerActionResponse {
|
|
|
275
281
|
|
|
276
282
|
export interface UploadCreateParams {
|
|
277
283
|
/**
|
|
278
|
-
*
|
|
279
|
-
*
|
|
284
|
+
* Query param: The projectId used for ownership resource management. Either to
|
|
285
|
+
* assert ownership or to set the owner of the resource(s)
|
|
286
|
+
*/
|
|
287
|
+
projectId?: string;
|
|
288
|
+
|
|
289
|
+
/**
|
|
290
|
+
* Body param: Asset extra options. Only available for kinds which produce an
|
|
291
|
+
* asset. (Not available for model kind)
|
|
280
292
|
*/
|
|
281
293
|
assetOptions?: UploadCreateParams.AssetOptions;
|
|
282
294
|
|
|
283
295
|
/**
|
|
284
|
-
* The civitai.com url of the model (example:
|
|
296
|
+
* Body param: The civitai.com url of the model (example:
|
|
285
297
|
* "https://civitai.com/models/370194/translucent-subsurface-scattering-test?modelVersionId=413566").
|
|
286
298
|
*/
|
|
287
299
|
civitaiModelUrl?: string;
|
|
288
300
|
|
|
289
301
|
/**
|
|
290
|
-
* Required for multipart upload. The MIME type of the file (example:
|
|
302
|
+
* Body param: Required for multipart upload. The MIME type of the file (example:
|
|
303
|
+
* "image/jpeg")
|
|
291
304
|
*/
|
|
292
305
|
contentType?: string;
|
|
293
306
|
|
|
294
307
|
/**
|
|
295
|
-
* Required for multipart upload. The original file name of the image
|
|
296
|
-
* "low-res-image.jpg"). It will be ignored if assetId is provided.
|
|
308
|
+
* Body param: Required for multipart upload. The original file name of the image
|
|
309
|
+
* (example: "low-res-image.jpg"). It will be ignored if assetId is provided.
|
|
297
310
|
*/
|
|
298
311
|
fileName?: string;
|
|
299
312
|
|
|
300
313
|
/**
|
|
301
|
-
* Required for multipart upload. The size of the file in bytes
|
|
314
|
+
* Body param: Required for multipart upload. The size of the file in bytes
|
|
302
315
|
*/
|
|
303
316
|
fileSize?: number;
|
|
304
317
|
|
|
305
318
|
/**
|
|
306
|
-
* The huggingface.co modelName (example:
|
|
307
|
-
* to setup other fields if you setup
|
|
319
|
+
* Body param: The huggingface.co modelName (example:
|
|
320
|
+
* "black-forest-labs/FLUX.1-dev"). No need to setup other fields if you setup
|
|
321
|
+
* huggingFaceModelName
|
|
308
322
|
*/
|
|
309
323
|
huggingFaceModelName?: string;
|
|
310
324
|
|
|
311
325
|
/**
|
|
312
|
-
* Required for multipart upload and url. The purpose of the file once
|
|
313
|
-
* (example: "model")
|
|
326
|
+
* Body param: Required for multipart upload and url. The purpose of the file once
|
|
327
|
+
* validated (example: "model")
|
|
314
328
|
*/
|
|
315
329
|
kind?: '3d' | 'asset' | 'audio' | 'avatar' | 'image' | 'model' | 'text' | 'video';
|
|
316
330
|
|
|
317
331
|
/**
|
|
318
|
-
* Required for multipart upload. The number of parts the file will be
|
|
332
|
+
* Body param: Required for multipart upload. The number of parts the file will be
|
|
333
|
+
* uploaded in
|
|
319
334
|
*/
|
|
320
335
|
parts?: number;
|
|
321
336
|
|
|
322
337
|
/**
|
|
323
|
-
* The url where to download the file. If you setup url you MUST setup
|
|
324
|
-
* well.
|
|
338
|
+
* Body param: The url where to download the file. If you setup url you MUST setup
|
|
339
|
+
* kind as well.
|
|
325
340
|
*/
|
|
326
341
|
url?: string;
|
|
327
342
|
}
|
|
@@ -349,12 +364,21 @@ export namespace UploadCreateParams {
|
|
|
349
364
|
}
|
|
350
365
|
}
|
|
351
366
|
|
|
367
|
+
export interface UploadRetrieveParams {
|
|
368
|
+
projectId?: unknown;
|
|
369
|
+
}
|
|
370
|
+
|
|
352
371
|
export interface UploadTriggerActionParams {
|
|
353
372
|
/**
|
|
354
|
-
* The action to perform on an upload, currently only "upload-complete"
|
|
355
|
-
* supported
|
|
373
|
+
* Body param: The action to perform on an upload, currently only "upload-complete"
|
|
374
|
+
* is supported
|
|
356
375
|
*/
|
|
357
376
|
action: 'complete';
|
|
377
|
+
|
|
378
|
+
/**
|
|
379
|
+
* Query param
|
|
380
|
+
*/
|
|
381
|
+
projectId?: unknown;
|
|
358
382
|
}
|
|
359
383
|
|
|
360
384
|
export declare namespace Uploads {
|
|
@@ -363,6 +387,7 @@ export declare namespace Uploads {
|
|
|
363
387
|
type UploadRetrieveResponse as UploadRetrieveResponse,
|
|
364
388
|
type UploadTriggerActionResponse as UploadTriggerActionResponse,
|
|
365
389
|
type UploadCreateParams as UploadCreateParams,
|
|
390
|
+
type UploadRetrieveParams as UploadRetrieveParams,
|
|
366
391
|
type UploadTriggerActionParams as UploadTriggerActionParams,
|
|
367
392
|
};
|
|
368
393
|
}
|
package/src/resources/usages.ts
CHANGED
|
@@ -31,6 +31,8 @@ export interface UsageListResponse {
|
|
|
31
31
|
|
|
32
32
|
nsfwUsages?: Array<UsageListResponse.NsfwUsage>;
|
|
33
33
|
|
|
34
|
+
slopUsages?: Array<UsageListResponse.SlopUsage>;
|
|
35
|
+
|
|
34
36
|
usages?: Array<UsageListResponse.Usage>;
|
|
35
37
|
}
|
|
36
38
|
|
|
@@ -277,6 +279,12 @@ export namespace UsageListResponse {
|
|
|
277
279
|
* The Compute Units consumption for the user
|
|
278
280
|
*/
|
|
279
281
|
value: number;
|
|
282
|
+
|
|
283
|
+
/**
|
|
284
|
+
* Compute Units consumed per billing action, when a breakdown is available
|
|
285
|
+
* (example: `{ "slop-detection": 12 }`). Values are included in `value`.
|
|
286
|
+
*/
|
|
287
|
+
costDetails?: unknown;
|
|
280
288
|
}
|
|
281
289
|
|
|
282
290
|
export interface Entities {
|
|
@@ -1747,6 +1755,43 @@ export namespace UsageListResponse {
|
|
|
1747
1755
|
}
|
|
1748
1756
|
}
|
|
1749
1757
|
|
|
1758
|
+
/**
|
|
1759
|
+
* A SlopGuard verdict series: one per bucket (total | pass | warn | fail).
|
|
1760
|
+
*/
|
|
1761
|
+
export interface SlopUsage {
|
|
1762
|
+
/**
|
|
1763
|
+
* The data points
|
|
1764
|
+
*/
|
|
1765
|
+
points: Array<SlopUsage.Point>;
|
|
1766
|
+
|
|
1767
|
+
/**
|
|
1768
|
+
* The verdict bucket: "total", "pass", "warn", or "fail"
|
|
1769
|
+
*/
|
|
1770
|
+
verdict: string;
|
|
1771
|
+
}
|
|
1772
|
+
|
|
1773
|
+
export namespace SlopUsage {
|
|
1774
|
+
/**
|
|
1775
|
+
* One time-bucket point in a SlopGuard verdict series.
|
|
1776
|
+
*/
|
|
1777
|
+
export interface Point {
|
|
1778
|
+
/**
|
|
1779
|
+
* Distinct scored assets in this bucket for this verdict
|
|
1780
|
+
*/
|
|
1781
|
+
count: number;
|
|
1782
|
+
|
|
1783
|
+
/**
|
|
1784
|
+
* Of `count`, the number of assets generated via an API key.
|
|
1785
|
+
*/
|
|
1786
|
+
countApiKey: number;
|
|
1787
|
+
|
|
1788
|
+
/**
|
|
1789
|
+
* The UTC ISO date of the point
|
|
1790
|
+
*/
|
|
1791
|
+
time: string;
|
|
1792
|
+
}
|
|
1793
|
+
}
|
|
1794
|
+
|
|
1750
1795
|
export interface Usage {
|
|
1751
1796
|
/**
|
|
1752
1797
|
* Granularity for points (example: "1d", "1h", "1m", "15m")
|
|
@@ -1840,13 +1885,13 @@ export interface UsageListParams {
|
|
|
1840
1885
|
|
|
1841
1886
|
/**
|
|
1842
1887
|
* When set, points whose numeric fields are all zero are removed from `usages`,
|
|
1843
|
-
* `modelUsages`, `assetUsages` and `
|
|
1844
|
-
* label, usageName) is preserved with `points: []` so callers still
|
|
1845
|
-
* Useful on wide windows × fine granularities × many models, where
|
|
1846
|
-
* can push the response past the 6 MB API Gateway sync limit. The
|
|
1847
|
-
* `?dropZeroPoints` form, plus any value (`true`, `1`, `yes`, `on`, …)
|
|
1848
|
-
* absent or explicit falsy literals (`false`, `0`, `no`, `off`)
|
|
1849
|
-
* Default disabled for backwards compatibility.
|
|
1888
|
+
* `modelUsages`, `assetUsages`, `nsfwUsages` and `slopUsages`. The parent entry
|
|
1889
|
+
* (model, kind, label, usageName) is preserved with `points: []` so callers still
|
|
1890
|
+
* see every row. Useful on wide windows × fine granularities × many models, where
|
|
1891
|
+
* the zero-fill can push the response past the 6 MB API Gateway sync limit. The
|
|
1892
|
+
* bare `?dropZeroPoints` form, plus any value (`true`, `1`, `yes`, `on`, …)
|
|
1893
|
+
* enables it; absent or explicit falsy literals (`false`, `0`, `no`, `off`)
|
|
1894
|
+
* disable it. Default disabled for backwards compatibility.
|
|
1850
1895
|
*/
|
|
1851
1896
|
dropZeroPoints?: boolean;
|
|
1852
1897
|
|
|
@@ -1868,6 +1913,12 @@ export interface UsageListParams {
|
|
|
1868
1913
|
*/
|
|
1869
1914
|
startDate?: string;
|
|
1870
1915
|
|
|
1916
|
+
/**
|
|
1917
|
+
* The teamId used for ownership resource management. Either to assert ownership or
|
|
1918
|
+
* to set the owner of the resource(s)
|
|
1919
|
+
*/
|
|
1920
|
+
teamId?: string;
|
|
1921
|
+
|
|
1871
1922
|
/**
|
|
1872
1923
|
* The time range of the usage. If not provided, use default timeRange. If
|
|
1873
1924
|
* startDate and endDate provided, timeRange is ignored.
|
|
@@ -1877,10 +1928,12 @@ export interface UsageListParams {
|
|
|
1877
1928
|
/**
|
|
1878
1929
|
* The type of the usage data. Can be one or more comma separated values. Can be
|
|
1879
1930
|
* any of the following values: usages, activity, consumption, model-usages,
|
|
1880
|
-
* asset-usages, nsfw-usages. Default is all types. If bad type or
|
|
1881
|
-
* will be returned.
|
|
1931
|
+
* asset-usages, nsfw-usages, slop-usages. Default is all types. If bad type or
|
|
1932
|
+
* empty, all types will be returned.
|
|
1882
1933
|
*/
|
|
1883
|
-
type?: Array<
|
|
1934
|
+
type?: Array<
|
|
1935
|
+
'usages' | 'activity' | 'consumption' | 'model-usages' | 'asset-usages' | 'nsfw-usages' | 'slop-usages'
|
|
1936
|
+
>;
|
|
1884
1937
|
|
|
1885
1938
|
/**
|
|
1886
1939
|
* The unique identifier of the user for the usage. If not provided, returns all
|