@scenario-labs/sdk 1.1.0 → 1.2.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.
Files changed (139) hide show
  1. package/CHANGELOG.md +17 -0
  2. package/client.d.mts +6 -6
  3. package/client.d.mts.map +1 -1
  4. package/client.d.ts +6 -6
  5. package/client.d.ts.map +1 -1
  6. package/client.js +17 -6
  7. package/client.js.map +1 -1
  8. package/client.mjs +17 -6
  9. package/client.mjs.map +1 -1
  10. package/internal/request-options.d.mts +0 -4
  11. package/internal/request-options.d.mts.map +1 -1
  12. package/internal/request-options.d.ts +0 -4
  13. package/internal/request-options.d.ts.map +1 -1
  14. package/internal/request-options.js.map +1 -1
  15. package/internal/request-options.mjs.map +1 -1
  16. package/lib/workflow.d.mts +2 -2
  17. package/lib/workflow.d.mts.map +1 -1
  18. package/lib/workflow.d.ts +2 -2
  19. package/lib/workflow.d.ts.map +1 -1
  20. package/lib/workflow.js +2 -2
  21. package/lib/workflow.js.map +1 -1
  22. package/lib/workflow.mjs +2 -2
  23. package/lib/workflow.mjs.map +1 -1
  24. package/package.json +1 -1
  25. package/resources/assets/assets.d.mts +1 -5
  26. package/resources/assets/assets.d.mts.map +1 -1
  27. package/resources/assets/assets.d.ts +1 -5
  28. package/resources/assets/assets.d.ts.map +1 -1
  29. package/resources/assets/assets.js +0 -4
  30. package/resources/assets/assets.js.map +1 -1
  31. package/resources/assets/assets.mjs +0 -4
  32. package/resources/assets/assets.mjs.map +1 -1
  33. package/resources/assets/index.d.mts +0 -1
  34. package/resources/assets/index.d.mts.map +1 -1
  35. package/resources/assets/index.d.ts +0 -1
  36. package/resources/assets/index.d.ts.map +1 -1
  37. package/resources/assets/index.js +1 -3
  38. package/resources/assets/index.js.map +1 -1
  39. package/resources/assets/index.mjs +0 -1
  40. package/resources/assets/index.mjs.map +1 -1
  41. package/resources/index.d.mts +2 -1
  42. package/resources/index.d.mts.map +1 -1
  43. package/resources/index.d.ts +2 -1
  44. package/resources/index.d.ts.map +1 -1
  45. package/resources/index.js +3 -1
  46. package/resources/index.js.map +1 -1
  47. package/resources/index.mjs +1 -0
  48. package/resources/index.mjs.map +1 -1
  49. package/resources/jobs.d.mts +10 -3
  50. package/resources/jobs.d.mts.map +1 -1
  51. package/resources/jobs.d.ts +10 -3
  52. package/resources/jobs.d.ts.map +1 -1
  53. package/resources/models/models.d.mts +13 -11
  54. package/resources/models/models.d.mts.map +1 -1
  55. package/resources/models/models.d.ts +13 -11
  56. package/resources/models/models.d.ts.map +1 -1
  57. package/resources/models/models.js.map +1 -1
  58. package/resources/models/models.mjs.map +1 -1
  59. package/resources/oscu.d.mts +5 -0
  60. package/resources/oscu.d.mts.map +1 -1
  61. package/resources/oscu.d.ts +5 -0
  62. package/resources/oscu.d.ts.map +1 -1
  63. package/resources/oscu.js +5 -0
  64. package/resources/oscu.js.map +1 -1
  65. package/resources/oscu.mjs +5 -0
  66. package/resources/oscu.mjs.map +1 -1
  67. package/resources/pricing/index.d.mts +3 -0
  68. package/resources/pricing/index.d.mts.map +1 -0
  69. package/resources/pricing/index.d.ts +3 -0
  70. package/resources/pricing/index.d.ts.map +1 -0
  71. package/resources/pricing/index.js +9 -0
  72. package/resources/pricing/index.js.map +1 -0
  73. package/resources/pricing/index.mjs +4 -0
  74. package/resources/pricing/index.mjs.map +1 -0
  75. package/resources/pricing/oscu.d.mts +25 -0
  76. package/resources/pricing/oscu.d.mts.map +1 -0
  77. package/resources/pricing/oscu.d.ts +25 -0
  78. package/resources/pricing/oscu.d.ts.map +1 -0
  79. package/resources/pricing/oscu.js +16 -0
  80. package/resources/pricing/oscu.js.map +1 -0
  81. package/resources/pricing/oscu.mjs +12 -0
  82. package/resources/pricing/oscu.mjs.map +1 -0
  83. package/resources/pricing/pricing.d.mts +10 -0
  84. package/resources/pricing/pricing.d.mts.map +1 -0
  85. package/resources/pricing/pricing.d.ts +10 -0
  86. package/resources/pricing/pricing.d.ts.map +1 -0
  87. package/resources/pricing/pricing.js +17 -0
  88. package/resources/pricing/pricing.js.map +1 -0
  89. package/resources/pricing/pricing.mjs +12 -0
  90. package/resources/pricing/pricing.mjs.map +1 -0
  91. package/resources/pricing.d.mts +2 -0
  92. package/resources/pricing.d.mts.map +1 -0
  93. package/resources/pricing.d.ts +2 -0
  94. package/resources/pricing.d.ts.map +1 -0
  95. package/resources/pricing.js +6 -0
  96. package/resources/pricing.js.map +1 -0
  97. package/resources/pricing.mjs +3 -0
  98. package/resources/pricing.mjs.map +1 -0
  99. package/resources/usages.d.mts +6 -4
  100. package/resources/usages.d.mts.map +1 -1
  101. package/resources/usages.d.ts +6 -4
  102. package/resources/usages.d.ts.map +1 -1
  103. package/resources/workflows.d.mts +1156 -1142
  104. package/resources/workflows.d.mts.map +1 -1
  105. package/resources/workflows.d.ts +1156 -1142
  106. package/resources/workflows.d.ts.map +1 -1
  107. package/resources/workflows.js +13 -6
  108. package/resources/workflows.js.map +1 -1
  109. package/resources/workflows.mjs +13 -6
  110. package/resources/workflows.mjs.map +1 -1
  111. package/src/client.ts +24 -11
  112. package/src/internal/request-options.ts +0 -2
  113. package/src/lib/workflow.ts +4 -4
  114. package/src/resources/assets/assets.ts +3 -13
  115. package/src/resources/assets/index.ts +0 -6
  116. package/src/resources/index.ts +3 -1
  117. package/src/resources/jobs.ts +12 -4
  118. package/src/resources/models/models.ts +51 -11
  119. package/src/resources/oscu.ts +5 -0
  120. package/src/resources/pricing/index.ts +4 -0
  121. package/src/resources/pricing/oscu.ts +35 -0
  122. package/src/resources/pricing/pricing.ts +15 -0
  123. package/src/resources/pricing.ts +3 -0
  124. package/src/resources/usages.ts +7 -3
  125. package/src/resources/workflows.ts +1540 -1522
  126. package/src/version.ts +1 -1
  127. package/version.d.mts +1 -1
  128. package/version.d.ts +1 -1
  129. package/version.js +1 -1
  130. package/version.mjs +1 -1
  131. package/resources/assets/public.d.mts +0 -1538
  132. package/resources/assets/public.d.mts.map +0 -1
  133. package/resources/assets/public.d.ts +0 -1538
  134. package/resources/assets/public.d.ts.map +0 -1
  135. package/resources/assets/public.js +0 -28
  136. package/resources/assets/public.js.map +0 -1
  137. package/resources/assets/public.mjs +0 -24
  138. package/resources/assets/public.mjs.map +0 -1
  139. package/src/resources/assets/public.ts +0 -2461
@@ -2,8 +2,8 @@ import type { APIPromise } from '../core/api-promise';
2
2
  import type { RequestOptions } from '../internal/request-options';
3
3
  import {
4
4
  Workflows,
5
+ WorkflowUserApprovalResponse,
5
6
  type WorkflowApproveUserParams,
6
- type WorkflowApproveUserResponse,
7
7
  type WorkflowRetrieveResponse,
8
8
  type WorkflowRunParams,
9
9
  type WorkflowRunResponse,
@@ -114,11 +114,11 @@ export class EnhancedWorkflows extends Workflows {
114
114
  }
115
115
 
116
116
  /** Approve a user approval node. Returns an enhanced response where `job` has `.wait()`. */
117
- override approveUser(
117
+ override userApproval(
118
118
  workflowID: string,
119
119
  body: WorkflowApproveUserParams,
120
120
  options?: RequestOptions,
121
- ): APIPromise<WithJob<WorkflowApproveUserResponse>> {
122
- return enhanceJob(this._client, super.approveUser(workflowID, body, options));
121
+ ): APIPromise<WithJob<WorkflowUserApprovalResponse>> {
122
+ return enhanceJob(this._client, super.userApproval(workflowID, body, options));
123
123
  }
124
124
  }
@@ -10,8 +10,6 @@ import {
10
10
  DownloadRequestParams,
11
11
  DownloadRequestResponse,
12
12
  } from './download';
13
- import * as PublicAPI from './public';
14
- import { Public, PublicListParams, PublicListResponse, PublicRetrieveResponse } from './public';
15
13
  import { APIPromise } from '../../core/api-promise';
16
14
  import {
17
15
  AssetsCursor,
@@ -25,7 +23,6 @@ import { path } from '../../internal/utils/path';
25
23
 
26
24
  export class Assets extends APIResource {
27
25
  download: DownloadAPI.Download = new DownloadAPI.Download(this._client);
28
- public: PublicAPI.Public = new PublicAPI.Public(this._client);
29
26
 
30
27
  /**
31
28
  * Get the details of an asset. Supports both public access (via the
@@ -10296,7 +10293,7 @@ export interface AssetListParams extends AssetsCursorParams {
10296
10293
  * video2video, video2img, txt2img, img2img, txt2video, uploaded, uploaded-video,
10297
10294
  * uploaded-audio, uploaded-3d, uploaded-avatar, upscale-video
10298
10295
  */
10299
- types?:
10296
+ types?: Array<
10300
10297
  | 'inference-txt2img'
10301
10298
  | 'inference-txt2img-ip-adapter'
10302
10299
  | 'inference-txt2img-texture'
@@ -10371,7 +10368,8 @@ export interface AssetListParams extends AssetsCursorParams {
10371
10368
  | 'uploaded-audio'
10372
10369
  | 'uploaded-3d'
10373
10370
  | 'uploaded-avatar'
10374
- | 'upscale-video';
10371
+ | 'upscale-video'
10372
+ >;
10375
10373
 
10376
10374
  /**
10377
10375
  * Filter results to only return assets updated after the specified ISO string date
@@ -10523,7 +10521,6 @@ export interface AssetUploadParams {
10523
10521
  }
10524
10522
 
10525
10523
  Assets.Download = Download;
10526
- Assets.Public = Public;
10527
10524
 
10528
10525
  export declare namespace Assets {
10529
10526
  export {
@@ -10561,11 +10558,4 @@ export declare namespace Assets {
10561
10558
  type DownloadRequestParams as DownloadRequestParams,
10562
10559
  type DownloadRequestBatchParams as DownloadRequestBatchParams,
10563
10560
  };
10564
-
10565
- export {
10566
- Public as Public,
10567
- type PublicRetrieveResponse as PublicRetrieveResponse,
10568
- type PublicListResponse as PublicListResponse,
10569
- type PublicListParams as PublicListParams,
10570
- };
10571
10561
  }
@@ -35,9 +35,3 @@ export {
35
35
  type DownloadRequestParams,
36
36
  type DownloadRequestBatchParams,
37
37
  } from './download';
38
- export {
39
- Public,
40
- type PublicRetrieveResponse,
41
- type PublicListResponse,
42
- type PublicListParams,
43
- } from './public';
@@ -93,6 +93,7 @@ export {
93
93
  type ModelListResponsesModelsCursor,
94
94
  } from './models/models';
95
95
  export { Oscu, type OscuRetrievePricesResponse } from './oscu';
96
+ export { Pricing } from './pricing/pricing';
96
97
  export {
97
98
  Search,
98
99
  type SearchAssetSearchResponse,
@@ -119,14 +120,15 @@ export {
119
120
  type WorkflowUpdateResponse,
120
121
  type WorkflowListResponse,
121
122
  type WorkflowDeleteResponse,
122
- type WorkflowApproveUserResponse,
123
123
  type WorkflowGetTagsResponse,
124
124
  type WorkflowRunResponse,
125
+ type WorkflowUserApprovalResponse,
125
126
  type WorkflowCreateParams,
126
127
  type WorkflowUpdateParams,
127
128
  type WorkflowListParams,
128
129
  type WorkflowApproveUserParams,
129
130
  type WorkflowGetTagsParams,
130
131
  type WorkflowRunParams,
132
+ type WorkflowUserApprovalParams,
131
133
  type WorkflowListResponsesWorkflowsCursor,
132
134
  } from './workflows';
@@ -2964,10 +2964,17 @@ export interface JobListParams extends JobsCursorParams {
2964
2964
  | 'workflow';
2965
2965
 
2966
2966
  /**
2967
- * The types of the jobs to return. If "types" is defined, "type" will be ignored.
2968
- * Optional.
2967
+ * The types of the jobs to return, comma separated. If "types" is defined, "type"
2968
+ * will be ignored. Can be any of the following values: assets-download,
2969
+ * model-training, flux-model-training, musubi-model-training, inference, pixelate,
2970
+ * embed, remove-background, vectorize, canvas-export, image-generation,
2971
+ * image-prompt-editing, caption, generate-prompt, describe-style, translate,
2972
+ * detection, restyle, repaint, reframe, segment, skybox-base-360,
2973
+ * skybox-upscale-360, skybox-hdri, skybox-3d, texture, upscale, upscale-skybox,
2974
+ * upscale-texture, flux, openai-image-generation, upload, custom,
2975
+ * mesh-preview-rendering, workflow. Optional.
2969
2976
  */
2970
- types?:
2977
+ types?: Array<
2971
2978
  | 'assets-download'
2972
2979
  | 'model-training'
2973
2980
  | 'flux-model-training'
@@ -3002,7 +3009,8 @@ export interface JobListParams extends JobsCursorParams {
3002
3009
  | 'upload'
3003
3010
  | 'custom'
3004
3011
  | 'mesh-preview-rendering'
3005
- | 'workflow';
3012
+ | 'workflow'
3013
+ >;
3006
3014
 
3007
3015
  workflowId?: unknown;
3008
3016
  }
@@ -9892,11 +9892,12 @@ export interface ModelListParams extends ModelsCursorParams {
9892
9892
  tags?: string;
9893
9893
 
9894
9894
  /**
9895
- * List all the models of a specific type. Can be any of the following values:
9896
- * sd-1_5, sd-1_5-lora, sd-1_5-composition, sd-xl, sd-xl-lora, sd-xl-composition,
9897
- * flux.1, flux.1-lora, flux.1-kontext-dev, flux.1-krea-dev, flux.1-kontext-lora,
9898
- * flux.1-krea-lora, flux.1-composition, flux.1-pro, flux1.1-pro,
9899
- * flux.1.1-pro-ultra, flux.2-dev-lora, flux.2-dev-edit-lora, flux.2-klein-4b-lora,
9895
+ * List all the models of a specific type. The parameter "type" and "types" cannot
9896
+ * be used together. Can be any of the following values: sd-1_5, sd-1_5-lora,
9897
+ * sd-1_5-composition, sd-xl, sd-xl-lora, sd-xl-composition, flux.1, flux.1-lora,
9898
+ * flux.1-kontext-dev, flux.1-krea-dev, flux.1-kontext-lora, flux.1-krea-lora,
9899
+ * flux.1-composition, flux.1-pro, flux1.1-pro, flux.1.1-pro-ultra,
9900
+ * flux.2-dev-lora, flux.2-dev-edit-lora, flux.2-klein-4b-lora,
9900
9901
  * flux.2-klein-9b-lora, flux.2-klein-base-4b-lora, flux.2-klein-base-9b-lora,
9901
9902
  * flux.2-klein-4b-edit-lora, flux.2-klein-9b-edit-lora,
9902
9903
  * flux.2-klein-base-4b-edit-lora, flux.2-klein-base-9b-edit-lora, gpt-image-1,
@@ -9945,11 +9946,12 @@ export interface ModelListParams extends ModelsCursorParams {
9945
9946
  | 'elevenlabs-voice';
9946
9947
 
9947
9948
  /**
9948
- * List of types, comma separated. Can be any of the following values: sd-1_5,
9949
- * sd-1_5-lora, sd-1_5-composition, sd-xl, sd-xl-lora, sd-xl-composition, flux.1,
9950
- * flux.1-lora, flux.1-kontext-dev, flux.1-krea-dev, flux.1-kontext-lora,
9951
- * flux.1-krea-lora, flux.1-composition, flux.1-pro, flux1.1-pro,
9952
- * flux.1.1-pro-ultra, flux.2-dev-lora, flux.2-dev-edit-lora, flux.2-klein-4b-lora,
9949
+ * List of types, comma separated. The parameter "type" and "types" cannot be used
9950
+ * together. Can be any of the following values: sd-1_5, sd-1_5-lora,
9951
+ * sd-1_5-composition, sd-xl, sd-xl-lora, sd-xl-composition, flux.1, flux.1-lora,
9952
+ * flux.1-kontext-dev, flux.1-krea-dev, flux.1-kontext-lora, flux.1-krea-lora,
9953
+ * flux.1-composition, flux.1-pro, flux1.1-pro, flux.1.1-pro-ultra,
9954
+ * flux.2-dev-lora, flux.2-dev-edit-lora, flux.2-klein-4b-lora,
9953
9955
  * flux.2-klein-9b-lora, flux.2-klein-base-4b-lora, flux.2-klein-base-9b-lora,
9954
9956
  * flux.2-klein-4b-edit-lora, flux.2-klein-9b-edit-lora,
9955
9957
  * flux.2-klein-base-4b-edit-lora, flux.2-klein-base-9b-edit-lora, gpt-image-1,
@@ -9958,7 +9960,45 @@ export interface ModelListParams extends ModelsCursorParams {
9958
9960
  * zimage-turbo-lora, zimage-de-turbo-lora, custom, elevenlabs-voice. Only
9959
9961
  * available when privacy=public
9960
9962
  */
9961
- types?: string;
9963
+ types?: Array<
9964
+ | 'sd-1_5'
9965
+ | 'sd-1_5-lora'
9966
+ | 'sd-1_5-composition'
9967
+ | 'sd-xl'
9968
+ | 'sd-xl-lora'
9969
+ | 'sd-xl-composition'
9970
+ | 'flux.1'
9971
+ | 'flux.1-lora'
9972
+ | 'flux.1-kontext-dev'
9973
+ | 'flux.1-krea-dev'
9974
+ | 'flux.1-kontext-lora'
9975
+ | 'flux.1-krea-lora'
9976
+ | 'flux.1-composition'
9977
+ | 'flux.1-pro'
9978
+ | 'flux1.1-pro'
9979
+ | 'flux.1.1-pro-ultra'
9980
+ | 'flux.2-dev-lora'
9981
+ | 'flux.2-dev-edit-lora'
9982
+ | 'flux.2-klein-4b-lora'
9983
+ | 'flux.2-klein-9b-lora'
9984
+ | 'flux.2-klein-base-4b-lora'
9985
+ | 'flux.2-klein-base-9b-lora'
9986
+ | 'flux.2-klein-4b-edit-lora'
9987
+ | 'flux.2-klein-9b-edit-lora'
9988
+ | 'flux.2-klein-base-4b-edit-lora'
9989
+ | 'flux.2-klein-base-9b-edit-lora'
9990
+ | 'gpt-image-1'
9991
+ | 'qwen-image-lora'
9992
+ | 'qwen-image-2512-lora'
9993
+ | 'qwen-image-edit-lora'
9994
+ | 'qwen-image-edit-2509-lora'
9995
+ | 'qwen-image-edit-2511-lora'
9996
+ | 'zimage-lora'
9997
+ | 'zimage-turbo-lora'
9998
+ | 'zimage-de-turbo-lora'
9999
+ | 'custom'
10000
+ | 'elevenlabs-voice'
10001
+ >;
9962
10002
 
9963
10003
  /**
9964
10004
  * Filter results to only return models updated after the specified ISO string date
@@ -4,10 +4,15 @@ import { APIResource } from '../core/resource';
4
4
  import { APIPromise } from '../core/api-promise';
5
5
  import { RequestOptions } from '../internal/request-options';
6
6
 
7
+ /**
8
+ * @deprecated Use `pricing` instead.
9
+ */
7
10
  export class Oscu extends APIResource {
8
11
  /**
9
12
  * Get the public Prepaid Compute Units (or OSCU for One Shot Compute Units) price
10
13
  * details
14
+ *
15
+ * @deprecated Use `pricing` instead.
11
16
  */
12
17
  retrievePrices(options?: RequestOptions): APIPromise<OscuRetrievePricesResponse> {
13
18
  return this._client.get('/oscu/prices', options);
@@ -0,0 +1,4 @@
1
+ // File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
2
+
3
+ export { Oscu, type OscuRetrievePricesResponse } from './oscu';
4
+ export { Pricing } from './pricing';
@@ -0,0 +1,35 @@
1
+ // File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
2
+
3
+ import { APIResource } from '../../core/resource';
4
+ import { APIPromise } from '../../core/api-promise';
5
+ import { RequestOptions } from '../../internal/request-options';
6
+
7
+ export class Oscu extends APIResource {
8
+ /**
9
+ * Get the public Prepaid Compute Units (or OSCU for One Shot Compute Units) price
10
+ * details
11
+ */
12
+ retrievePrices(options?: RequestOptions): APIPromise<OscuRetrievePricesResponse> {
13
+ return this._client.get('/oscu/prices', options);
14
+ }
15
+ }
16
+
17
+ export interface OscuRetrievePricesResponse {
18
+ prices: Array<OscuRetrievePricesResponse.Price>;
19
+ }
20
+
21
+ export namespace OscuRetrievePricesResponse {
22
+ export interface Price {
23
+ creativeUnits?: number;
24
+
25
+ currency?: string;
26
+
27
+ expires?: number;
28
+
29
+ unitAmount?: number;
30
+ }
31
+ }
32
+
33
+ export declare namespace Oscu {
34
+ export { type OscuRetrievePricesResponse as OscuRetrievePricesResponse };
35
+ }
@@ -0,0 +1,15 @@
1
+ // File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
2
+
3
+ import { APIResource } from '../../core/resource';
4
+ import * as OscuAPI from './oscu';
5
+ import { Oscu, OscuRetrievePricesResponse } from './oscu';
6
+
7
+ export class Pricing extends APIResource {
8
+ oscu: OscuAPI.Oscu = new OscuAPI.Oscu(this._client);
9
+ }
10
+
11
+ Pricing.Oscu = Oscu;
12
+
13
+ export declare namespace Pricing {
14
+ export { Oscu as Oscu, type OscuRetrievePricesResponse as OscuRetrievePricesResponse };
15
+ }
@@ -0,0 +1,3 @@
1
+ // File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
2
+
3
+ export * from './pricing/index';
@@ -138,8 +138,10 @@ export namespace UsageListResponse {
138
138
  | 'update-model-prompt-guide'
139
139
  | 'update-oscu-auto-refill'
140
140
  | 'update-project'
141
+ | 'update-project-instructions'
141
142
  | 'update-subscription'
142
143
  | 'update-team'
144
+ | 'update-team-instructions'
143
145
  | 'update-team-member'
144
146
  | 'upscale'
145
147
  | 'vectorization';
@@ -1757,10 +1759,12 @@ export interface UsageListParams {
1757
1759
  timeRange?: 'last-hour' | 'last-day' | 'last-three-days' | 'last-seven-days' | 'last-thirty-one-days';
1758
1760
 
1759
1761
  /**
1760
- * The type of the usage data. Can be one or more comma separated values. Default
1761
- * is all types. If bad type or empty, all types will be returned.
1762
+ * The type of the usage data. Can be one or more comma separated values. Can be
1763
+ * any of the following values: usages, activity, consumption, model-usages,
1764
+ * asset-usages, nsfw-usages. Default is all types. If bad type or empty, all types
1765
+ * will be returned.
1762
1766
  */
1763
- type?: 'usages' | 'activity' | 'consumption' | 'model-usages' | 'asset-usages' | 'nsfw-usages';
1767
+ type?: Array<'usages' | 'activity' | 'consumption' | 'model-usages' | 'asset-usages' | 'nsfw-usages'>;
1764
1768
 
1765
1769
  /**
1766
1770
  * The unique identifier of the user for the usage. If not provided, returns all