@scenario-labs/sdk 0.2.0 → 1.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 +48 -0
- package/README.md +44 -8
- package/client.d.mts +36 -16
- package/client.d.mts.map +1 -1
- package/client.d.ts +36 -16
- package/client.d.ts.map +1 -1
- package/client.js +21 -11
- package/client.js.map +1 -1
- package/client.mjs +21 -11
- package/client.mjs.map +1 -1
- package/core/pagination.d.mts +153 -0
- package/core/pagination.d.mts.map +1 -0
- package/core/pagination.d.ts +153 -0
- package/core/pagination.d.ts.map +1 -0
- package/core/pagination.js +276 -0
- package/core/pagination.js.map +1 -0
- package/core/pagination.mjs +263 -0
- package/core/pagination.mjs.map +1 -0
- package/index.d.mts +3 -0
- package/index.d.mts.map +1 -1
- package/index.d.ts +3 -0
- package/index.d.ts.map +1 -1
- package/index.js +9 -1
- package/index.js.map +1 -1
- package/index.mjs +3 -0
- package/index.mjs.map +1 -1
- package/internal/request-options.d.mts +1 -1
- package/internal/request-options.d.mts.map +1 -1
- package/internal/request-options.d.ts +1 -1
- package/internal/request-options.d.ts.map +1 -1
- package/lib/models.d.mts +34 -2
- package/lib/models.d.mts.map +1 -1
- package/lib/models.d.ts +34 -2
- package/lib/models.d.ts.map +1 -1
- package/lib/models.js +39 -2
- package/lib/models.js.map +1 -1
- package/lib/models.mjs +37 -1
- package/lib/models.mjs.map +1 -1
- package/lib/scenario.d.mts +2 -0
- package/lib/scenario.d.mts.map +1 -1
- package/lib/scenario.d.ts +2 -0
- package/lib/scenario.d.ts.map +1 -1
- package/lib/scenario.js +2 -0
- package/lib/scenario.js.map +1 -1
- package/lib/scenario.mjs +2 -0
- package/lib/scenario.mjs.map +1 -1
- package/lib/upload.d.mts +89 -0
- package/lib/upload.d.mts.map +1 -0
- package/lib/upload.d.ts +89 -0
- package/lib/upload.d.ts.map +1 -0
- package/lib/upload.js +193 -0
- package/lib/upload.js.map +1 -0
- package/lib/upload.mjs +156 -0
- package/lib/upload.mjs.map +1 -0
- package/lib/workflow.d.mts +19 -3
- package/lib/workflow.d.mts.map +1 -1
- package/lib/workflow.d.ts +19 -3
- package/lib/workflow.d.ts.map +1 -1
- package/lib/workflow.js +26 -5
- package/lib/workflow.js.map +1 -1
- package/lib/workflow.mjs +26 -5
- package/lib/workflow.mjs.map +1 -1
- package/lib/workflow_import_validator.d.mts +40 -0
- package/lib/workflow_import_validator.d.mts.map +1 -0
- package/lib/workflow_import_validator.d.ts +40 -0
- package/lib/workflow_import_validator.d.ts.map +1 -0
- package/lib/workflow_import_validator.js +69 -0
- package/lib/workflow_import_validator.js.map +1 -0
- package/lib/workflow_import_validator.mjs +64 -0
- package/lib/workflow_import_validator.mjs.map +1 -0
- package/lib/workflow_validator.d.mts +22 -0
- package/lib/workflow_validator.d.mts.map +1 -0
- package/lib/workflow_validator.d.ts +22 -0
- package/lib/workflow_validator.d.ts.map +1 -0
- package/lib/workflow_validator.js +124 -0
- package/lib/workflow_validator.js.map +1 -0
- package/lib/workflow_validator.mjs +121 -0
- package/lib/workflow_validator.mjs.map +1 -0
- package/package.json +11 -1
- package/pagination.d.mts +2 -0
- package/pagination.d.mts.map +1 -0
- package/pagination.d.ts +2 -0
- package/pagination.d.ts.map +1 -0
- package/pagination.js +6 -0
- package/pagination.js.map +1 -0
- package/pagination.mjs +2 -0
- package/pagination.mjs.map +1 -0
- package/resources/assets/assets.d.mts +631 -648
- package/resources/assets/assets.d.mts.map +1 -1
- package/resources/assets/assets.d.ts +631 -648
- package/resources/assets/assets.d.ts.map +1 -1
- package/resources/assets/assets.js +5 -4
- package/resources/assets/assets.js.map +1 -1
- package/resources/assets/assets.mjs +5 -4
- package/resources/assets/assets.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 +8 -2
- package/resources/collections/assets.d.mts.map +1 -1
- package/resources/collections/assets.d.ts +8 -2
- package/resources/collections/assets.d.ts.map +1 -1
- package/resources/collections/assets.js +2 -2
- package/resources/collections/assets.js.map +1 -1
- package/resources/collections/assets.mjs +2 -2
- package/resources/collections/assets.mjs.map +1 -1
- package/resources/collections/collections.d.mts +42 -53
- package/resources/collections/collections.d.mts.map +1 -1
- package/resources/collections/collections.d.ts +42 -53
- package/resources/collections/collections.d.ts.map +1 -1
- package/resources/collections/collections.js +5 -1
- package/resources/collections/collections.js.map +1 -1
- package/resources/collections/collections.mjs +5 -1
- package/resources/collections/collections.mjs.map +1 -1
- package/resources/collections/index.d.mts +3 -3
- package/resources/collections/index.d.mts.map +1 -1
- package/resources/collections/index.d.ts +3 -3
- package/resources/collections/index.d.ts.map +1 -1
- package/resources/collections/index.js.map +1 -1
- package/resources/collections/index.mjs +2 -2
- package/resources/collections/index.mjs.map +1 -1
- package/resources/collections/models.d.mts +8 -2
- package/resources/collections/models.d.mts.map +1 -1
- package/resources/collections/models.d.ts +8 -2
- package/resources/collections/models.d.ts.map +1 -1
- package/resources/collections/models.js +2 -2
- package/resources/collections/models.js.map +1 -1
- package/resources/collections/models.mjs +2 -2
- package/resources/collections/models.mjs.map +1 -1
- package/resources/index.d.mts +7 -7
- package/resources/index.d.mts.map +1 -1
- package/resources/index.d.ts +7 -7
- 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 +369 -380
- package/resources/jobs.d.mts.map +1 -1
- package/resources/jobs.d.ts +369 -380
- package/resources/jobs.d.ts.map +1 -1
- package/resources/jobs.js +2 -1
- package/resources/jobs.js.map +1 -1
- package/resources/jobs.mjs +2 -1
- package/resources/jobs.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 +956 -967
- package/resources/models/models.d.mts.map +1 -1
- package/resources/models/models.d.ts +956 -967
- package/resources/models/models.d.ts.map +1 -1
- package/resources/models/models.js +2 -1
- package/resources/models/models.js.map +1 -1
- package/resources/models/models.mjs +2 -1
- package/resources/models/models.mjs.map +1 -1
- package/resources/models/train.d.mts +38 -38
- package/resources/models/train.d.mts.map +1 -1
- package/resources/models/train.d.ts +38 -38
- package/resources/models/train.d.ts.map +1 -1
- package/resources/search.d.mts +215 -295
- package/resources/search.d.mts.map +1 -1
- package/resources/search.d.ts +215 -295
- package/resources/search.d.ts.map +1 -1
- package/resources/search.js +9 -2
- package/resources/search.js.map +1 -1
- package/resources/search.mjs +9 -2
- package/resources/search.mjs.map +1 -1
- package/resources/tags.d.mts +23 -35
- package/resources/tags.d.mts.map +1 -1
- package/resources/tags.d.ts +23 -35
- package/resources/tags.d.ts.map +1 -1
- package/resources/tags.js +2 -1
- package/resources/tags.js.map +1 -1
- package/resources/tags.mjs +2 -1
- package/resources/tags.mjs.map +1 -1
- package/resources/workflows.d.mts +688 -704
- package/resources/workflows.d.mts.map +1 -1
- package/resources/workflows.d.ts +688 -704
- package/resources/workflows.d.ts.map +1 -1
- package/resources/workflows.js +5 -1
- package/resources/workflows.js.map +1 -1
- package/resources/workflows.mjs +5 -1
- package/resources/workflows.mjs.map +1 -1
- package/src/client.ts +118 -15
- package/src/core/pagination.ts +497 -0
- package/src/index.ts +9 -0
- package/src/internal/request-options.ts +1 -1
- package/src/lib/models.ts +62 -2
- package/src/lib/scenario.ts +2 -0
- package/src/lib/upload.ts +250 -0
- package/src/lib/workflow.ts +39 -5
- package/src/lib/workflow_import_validator.ts +104 -0
- package/src/lib/workflow_validator.ts +167 -0
- package/src/pagination.ts +2 -0
- package/src/resources/assets/assets.ts +971 -905
- package/src/resources/assets/index.ts +3 -0
- package/src/resources/collections/assets.ts +14 -2
- package/src/resources/collections/collections.ts +49 -56
- package/src/resources/collections/index.ts +15 -2
- package/src/resources/collections/models.ts +14 -2
- package/src/resources/index.ts +10 -1
- package/src/resources/jobs.ts +613 -622
- package/src/resources/models/index.ts +1 -0
- package/src/resources/models/models.ts +1118 -1130
- package/src/resources/models/train.ts +40 -40
- package/src/resources/search.ts +239 -327
- package/src/resources/tags.ts +32 -39
- package/src/resources/workflows.ts +850 -864
- 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/client.ts
CHANGED
|
@@ -14,6 +14,26 @@ import * as Opts from './internal/request-options';
|
|
|
14
14
|
import { stringifyQuery } from './internal/utils/query';
|
|
15
15
|
import { VERSION } from './version';
|
|
16
16
|
import * as Errors from './core/error';
|
|
17
|
+
import * as Pagination from './core/pagination';
|
|
18
|
+
import {
|
|
19
|
+
AbstractPage,
|
|
20
|
+
type AssetsCursorParams,
|
|
21
|
+
AssetsCursorResponse,
|
|
22
|
+
type CollectionsCursorParams,
|
|
23
|
+
CollectionsCursorResponse,
|
|
24
|
+
type JobsCursorParams,
|
|
25
|
+
JobsCursorResponse,
|
|
26
|
+
type ModelsCursorParams,
|
|
27
|
+
ModelsCursorResponse,
|
|
28
|
+
type SearchHitsOffsetParams,
|
|
29
|
+
SearchHitsOffsetResponse,
|
|
30
|
+
type SnapshotsCursorParams,
|
|
31
|
+
SnapshotsCursorResponse,
|
|
32
|
+
type TagsCursorParams,
|
|
33
|
+
TagsCursorResponse,
|
|
34
|
+
type WorkflowsCursorParams,
|
|
35
|
+
WorkflowsCursorResponse,
|
|
36
|
+
} from './core/pagination';
|
|
17
37
|
import * as Uploads from './core/uploads';
|
|
18
38
|
import * as API from './resources/index';
|
|
19
39
|
import { APIPromise } from './core/api-promise';
|
|
@@ -37,6 +57,7 @@ import {
|
|
|
37
57
|
import {
|
|
38
58
|
JobListParams,
|
|
39
59
|
JobListResponse,
|
|
60
|
+
JobListResponsesJobsCursor,
|
|
40
61
|
JobRetrieveResponse,
|
|
41
62
|
JobTriggerActionParams,
|
|
42
63
|
JobTriggerActionResponse,
|
|
@@ -47,10 +68,12 @@ import {
|
|
|
47
68
|
Search,
|
|
48
69
|
SearchAssetSearchParams,
|
|
49
70
|
SearchAssetSearchResponse,
|
|
71
|
+
SearchAssetSearchResponsesSearchHitsOffset,
|
|
50
72
|
SearchModelSearchParams,
|
|
51
73
|
SearchModelSearchResponse,
|
|
74
|
+
SearchModelSearchResponsesSearchHitsOffset,
|
|
52
75
|
} from './resources/search';
|
|
53
|
-
import { TagListParams, TagListResponse, Tags } from './resources/tags';
|
|
76
|
+
import { TagListParams, TagListResponse, TagListResponsesTagsCursor, Tags } from './resources/tags';
|
|
54
77
|
import {
|
|
55
78
|
UploadCreateParams,
|
|
56
79
|
UploadCreateResponse,
|
|
@@ -70,6 +93,7 @@ import {
|
|
|
70
93
|
WorkflowGetTagsResponse,
|
|
71
94
|
WorkflowListParams,
|
|
72
95
|
WorkflowListResponse,
|
|
96
|
+
WorkflowListResponsesWorkflowsCursor,
|
|
73
97
|
WorkflowRetrieveResponse,
|
|
74
98
|
WorkflowRunParams,
|
|
75
99
|
WorkflowRunResponse,
|
|
@@ -78,6 +102,7 @@ import {
|
|
|
78
102
|
Workflows,
|
|
79
103
|
} from './resources/workflows';
|
|
80
104
|
import {
|
|
105
|
+
AssetDeleteMultipleParams,
|
|
81
106
|
AssetDeleteMultipleResponse,
|
|
82
107
|
AssetDuplicateParams,
|
|
83
108
|
AssetDuplicateResponse,
|
|
@@ -85,8 +110,10 @@ import {
|
|
|
85
110
|
AssetGetBulkResponse,
|
|
86
111
|
AssetListParams,
|
|
87
112
|
AssetListResponse,
|
|
113
|
+
AssetListResponsesAssetsCursor,
|
|
88
114
|
AssetListSnapshotsParams,
|
|
89
115
|
AssetListSnapshotsResponse,
|
|
116
|
+
AssetListSnapshotsResponsesSnapshotsCursor,
|
|
90
117
|
AssetLockParams,
|
|
91
118
|
AssetLockResponse,
|
|
92
119
|
AssetRetrieveParams,
|
|
@@ -107,6 +134,7 @@ import {
|
|
|
107
134
|
CollectionDeleteResponse,
|
|
108
135
|
CollectionListParams,
|
|
109
136
|
CollectionListResponse,
|
|
137
|
+
CollectionListResponsesCollectionsCursor,
|
|
110
138
|
CollectionRetrieveResponse,
|
|
111
139
|
CollectionUpdateParams,
|
|
112
140
|
CollectionUpdateResponse,
|
|
@@ -126,6 +154,7 @@ import {
|
|
|
126
154
|
ModelGetBulkResponse,
|
|
127
155
|
ModelListParams,
|
|
128
156
|
ModelListResponse,
|
|
157
|
+
ModelListResponsesModelsCursor,
|
|
129
158
|
ModelRetrieveParams,
|
|
130
159
|
ModelRetrieveResponse,
|
|
131
160
|
ModelTransferParams,
|
|
@@ -339,14 +368,14 @@ export class Scenario {
|
|
|
339
368
|
}
|
|
340
369
|
|
|
341
370
|
protected validateHeaders({ values, nulls }: NullableHeaders) {
|
|
342
|
-
if (this.
|
|
371
|
+
if (this.apiKey && this.apiSecret && values.get('authorization')) {
|
|
343
372
|
return;
|
|
344
373
|
}
|
|
345
374
|
if (nulls.has('authorization')) {
|
|
346
375
|
return;
|
|
347
376
|
}
|
|
348
377
|
|
|
349
|
-
if (this.
|
|
378
|
+
if (this.bearerAuth && values.get('authorization')) {
|
|
350
379
|
return;
|
|
351
380
|
}
|
|
352
381
|
if (nulls.has('authorization')) {
|
|
@@ -354,27 +383,20 @@ export class Scenario {
|
|
|
354
383
|
}
|
|
355
384
|
|
|
356
385
|
throw new Error(
|
|
357
|
-
'Could not resolve authentication method. Expected either
|
|
386
|
+
'Could not resolve authentication method. Expected either apiKey, apiSecret or bearerAuth to be set. Or for one of the "Authorization" or "Authorization" headers to be explicitly omitted',
|
|
358
387
|
);
|
|
359
388
|
}
|
|
360
389
|
|
|
361
390
|
protected async authHeaders(
|
|
362
391
|
opts: FinalRequestOptions,
|
|
363
|
-
schemes: {
|
|
392
|
+
schemes: { scBasicAuth?: boolean; scBearerAuth?: boolean },
|
|
364
393
|
): Promise<NullableHeaders | undefined> {
|
|
365
394
|
return buildHeaders([
|
|
366
|
-
schemes.scBearerAuth ? await this.scBearerAuth(opts) : null,
|
|
367
395
|
schemes.scBasicAuth ? await this.scBasicAuth(opts) : null,
|
|
396
|
+
schemes.scBearerAuth ? await this.scBearerAuth(opts) : null,
|
|
368
397
|
]);
|
|
369
398
|
}
|
|
370
399
|
|
|
371
|
-
protected async scBearerAuth(opts: FinalRequestOptions): Promise<NullableHeaders | undefined> {
|
|
372
|
-
if (this.bearerAuth == null) {
|
|
373
|
-
return undefined;
|
|
374
|
-
}
|
|
375
|
-
return buildHeaders([{ Authorization: `Bearer ${this.bearerAuth}` }]);
|
|
376
|
-
}
|
|
377
|
-
|
|
378
400
|
protected async scBasicAuth(opts: FinalRequestOptions): Promise<NullableHeaders | undefined> {
|
|
379
401
|
if (!this.apiKey) {
|
|
380
402
|
return undefined;
|
|
@@ -389,6 +411,13 @@ export class Scenario {
|
|
|
389
411
|
return buildHeaders([{ Authorization }]);
|
|
390
412
|
}
|
|
391
413
|
|
|
414
|
+
protected async scBearerAuth(opts: FinalRequestOptions): Promise<NullableHeaders | undefined> {
|
|
415
|
+
if (this.bearerAuth == null) {
|
|
416
|
+
return undefined;
|
|
417
|
+
}
|
|
418
|
+
return buildHeaders([{ Authorization: `Bearer ${this.bearerAuth}` }]);
|
|
419
|
+
}
|
|
420
|
+
|
|
392
421
|
protected stringifyQuery(query: object | Record<string, unknown>): string {
|
|
393
422
|
return stringifyQuery(query);
|
|
394
423
|
}
|
|
@@ -646,6 +675,30 @@ export class Scenario {
|
|
|
646
675
|
return { response, options, controller, requestLogID, retryOfRequestLogID, startTime };
|
|
647
676
|
}
|
|
648
677
|
|
|
678
|
+
getAPIList<Item, PageClass extends Pagination.AbstractPage<Item> = Pagination.AbstractPage<Item>>(
|
|
679
|
+
path: string,
|
|
680
|
+
Page: new (...args: any[]) => PageClass,
|
|
681
|
+
opts?: PromiseOrValue<RequestOptions>,
|
|
682
|
+
): Pagination.PagePromise<PageClass, Item> {
|
|
683
|
+
return this.requestAPIList(
|
|
684
|
+
Page,
|
|
685
|
+
opts && 'then' in opts ?
|
|
686
|
+
opts.then((opts) => ({ method: 'get', path, ...opts }))
|
|
687
|
+
: { method: 'get', path, ...opts },
|
|
688
|
+
);
|
|
689
|
+
}
|
|
690
|
+
|
|
691
|
+
requestAPIList<
|
|
692
|
+
Item = unknown,
|
|
693
|
+
PageClass extends Pagination.AbstractPage<Item> = Pagination.AbstractPage<Item>,
|
|
694
|
+
>(
|
|
695
|
+
Page: new (...args: ConstructorParameters<typeof Pagination.AbstractPage>) => PageClass,
|
|
696
|
+
options: PromiseOrValue<FinalRequestOptions>,
|
|
697
|
+
): Pagination.PagePromise<PageClass, Item> {
|
|
698
|
+
const request = this.makeRequest(options, null, undefined);
|
|
699
|
+
return new Pagination.PagePromise<PageClass, Item>(this as any as Scenario, request, Page);
|
|
700
|
+
}
|
|
701
|
+
|
|
649
702
|
async fetchWithTimeout(
|
|
650
703
|
url: RequestInfo,
|
|
651
704
|
init: RequestInit | undefined,
|
|
@@ -812,7 +865,7 @@ export class Scenario {
|
|
|
812
865
|
...(options.timeout ? { 'X-Stainless-Timeout': String(Math.trunc(options.timeout / 1000)) } : {}),
|
|
813
866
|
...getPlatformHeaders(),
|
|
814
867
|
},
|
|
815
|
-
await this.authHeaders(options, options.__security ?? {
|
|
868
|
+
await this.authHeaders(options, options.__security ?? { scBasicAuth: true, scBearerAuth: true }),
|
|
816
869
|
this._options.defaultHeaders,
|
|
817
870
|
bodyHeaders,
|
|
818
871
|
options.headers,
|
|
@@ -921,6 +974,42 @@ Scenario.Workflows = Workflows;
|
|
|
921
974
|
export declare namespace Scenario {
|
|
922
975
|
export type RequestOptions = Opts.RequestOptions;
|
|
923
976
|
|
|
977
|
+
export import AssetsCursor = Pagination.AssetsCursor;
|
|
978
|
+
export { type AssetsCursorParams as AssetsCursorParams, type AssetsCursorResponse as AssetsCursorResponse };
|
|
979
|
+
|
|
980
|
+
export import SnapshotsCursor = Pagination.SnapshotsCursor;
|
|
981
|
+
export {
|
|
982
|
+
type SnapshotsCursorParams as SnapshotsCursorParams,
|
|
983
|
+
type SnapshotsCursorResponse as SnapshotsCursorResponse,
|
|
984
|
+
};
|
|
985
|
+
|
|
986
|
+
export import CollectionsCursor = Pagination.CollectionsCursor;
|
|
987
|
+
export {
|
|
988
|
+
type CollectionsCursorParams as CollectionsCursorParams,
|
|
989
|
+
type CollectionsCursorResponse as CollectionsCursorResponse,
|
|
990
|
+
};
|
|
991
|
+
|
|
992
|
+
export import JobsCursor = Pagination.JobsCursor;
|
|
993
|
+
export { type JobsCursorParams as JobsCursorParams, type JobsCursorResponse as JobsCursorResponse };
|
|
994
|
+
|
|
995
|
+
export import ModelsCursor = Pagination.ModelsCursor;
|
|
996
|
+
export { type ModelsCursorParams as ModelsCursorParams, type ModelsCursorResponse as ModelsCursorResponse };
|
|
997
|
+
|
|
998
|
+
export import TagsCursor = Pagination.TagsCursor;
|
|
999
|
+
export { type TagsCursorParams as TagsCursorParams, type TagsCursorResponse as TagsCursorResponse };
|
|
1000
|
+
|
|
1001
|
+
export import WorkflowsCursor = Pagination.WorkflowsCursor;
|
|
1002
|
+
export {
|
|
1003
|
+
type WorkflowsCursorParams as WorkflowsCursorParams,
|
|
1004
|
+
type WorkflowsCursorResponse as WorkflowsCursorResponse,
|
|
1005
|
+
};
|
|
1006
|
+
|
|
1007
|
+
export import SearchHitsOffset = Pagination.SearchHitsOffset;
|
|
1008
|
+
export {
|
|
1009
|
+
type SearchHitsOffsetParams as SearchHitsOffsetParams,
|
|
1010
|
+
type SearchHitsOffsetResponse as SearchHitsOffsetResponse,
|
|
1011
|
+
};
|
|
1012
|
+
|
|
924
1013
|
export {
|
|
925
1014
|
Assets as Assets,
|
|
926
1015
|
type AssetRetrieveResponse as AssetRetrieveResponse,
|
|
@@ -934,9 +1023,12 @@ export declare namespace Scenario {
|
|
|
934
1023
|
type AssetUnlockResponse as AssetUnlockResponse,
|
|
935
1024
|
type AssetUpdateTagsResponse as AssetUpdateTagsResponse,
|
|
936
1025
|
type AssetUploadResponse as AssetUploadResponse,
|
|
1026
|
+
type AssetListResponsesAssetsCursor as AssetListResponsesAssetsCursor,
|
|
1027
|
+
type AssetListSnapshotsResponsesSnapshotsCursor as AssetListSnapshotsResponsesSnapshotsCursor,
|
|
937
1028
|
type AssetRetrieveParams as AssetRetrieveParams,
|
|
938
1029
|
type AssetUpdateParams as AssetUpdateParams,
|
|
939
1030
|
type AssetListParams as AssetListParams,
|
|
1031
|
+
type AssetDeleteMultipleParams as AssetDeleteMultipleParams,
|
|
940
1032
|
type AssetDuplicateParams as AssetDuplicateParams,
|
|
941
1033
|
type AssetGetBulkParams as AssetGetBulkParams,
|
|
942
1034
|
type AssetListSnapshotsParams as AssetListSnapshotsParams,
|
|
@@ -953,6 +1045,7 @@ export declare namespace Scenario {
|
|
|
953
1045
|
type CollectionUpdateResponse as CollectionUpdateResponse,
|
|
954
1046
|
type CollectionListResponse as CollectionListResponse,
|
|
955
1047
|
type CollectionDeleteResponse as CollectionDeleteResponse,
|
|
1048
|
+
type CollectionListResponsesCollectionsCursor as CollectionListResponsesCollectionsCursor,
|
|
956
1049
|
type CollectionCreateParams as CollectionCreateParams,
|
|
957
1050
|
type CollectionUpdateParams as CollectionUpdateParams,
|
|
958
1051
|
type CollectionListParams as CollectionListParams,
|
|
@@ -981,6 +1074,7 @@ export declare namespace Scenario {
|
|
|
981
1074
|
type JobRetrieveResponse as JobRetrieveResponse,
|
|
982
1075
|
type JobListResponse as JobListResponse,
|
|
983
1076
|
type JobTriggerActionResponse as JobTriggerActionResponse,
|
|
1077
|
+
type JobListResponsesJobsCursor as JobListResponsesJobsCursor,
|
|
984
1078
|
type JobListParams as JobListParams,
|
|
985
1079
|
type JobTriggerActionParams as JobTriggerActionParams,
|
|
986
1080
|
};
|
|
@@ -998,6 +1092,7 @@ export declare namespace Scenario {
|
|
|
998
1092
|
type ModelGetBulkResponse as ModelGetBulkResponse,
|
|
999
1093
|
type ModelTransferResponse as ModelTransferResponse,
|
|
1000
1094
|
type ModelUpdateTagsResponse as ModelUpdateTagsResponse,
|
|
1095
|
+
type ModelListResponsesModelsCursor as ModelListResponsesModelsCursor,
|
|
1001
1096
|
type ModelCreateParams as ModelCreateParams,
|
|
1002
1097
|
type ModelRetrieveParams as ModelRetrieveParams,
|
|
1003
1098
|
type ModelUpdateParams as ModelUpdateParams,
|
|
@@ -1016,11 +1111,18 @@ export declare namespace Scenario {
|
|
|
1016
1111
|
Search as Search,
|
|
1017
1112
|
type SearchAssetSearchResponse as SearchAssetSearchResponse,
|
|
1018
1113
|
type SearchModelSearchResponse as SearchModelSearchResponse,
|
|
1114
|
+
type SearchAssetSearchResponsesSearchHitsOffset as SearchAssetSearchResponsesSearchHitsOffset,
|
|
1115
|
+
type SearchModelSearchResponsesSearchHitsOffset as SearchModelSearchResponsesSearchHitsOffset,
|
|
1019
1116
|
type SearchAssetSearchParams as SearchAssetSearchParams,
|
|
1020
1117
|
type SearchModelSearchParams as SearchModelSearchParams,
|
|
1021
1118
|
};
|
|
1022
1119
|
|
|
1023
|
-
export {
|
|
1120
|
+
export {
|
|
1121
|
+
Tags as Tags,
|
|
1122
|
+
type TagListResponse as TagListResponse,
|
|
1123
|
+
type TagListResponsesTagsCursor as TagListResponsesTagsCursor,
|
|
1124
|
+
type TagListParams as TagListParams,
|
|
1125
|
+
};
|
|
1024
1126
|
|
|
1025
1127
|
export {
|
|
1026
1128
|
UploadsAPIUploads as Uploads,
|
|
@@ -1047,6 +1149,7 @@ export declare namespace Scenario {
|
|
|
1047
1149
|
type WorkflowApproveUserResponse as WorkflowApproveUserResponse,
|
|
1048
1150
|
type WorkflowGetTagsResponse as WorkflowGetTagsResponse,
|
|
1049
1151
|
type WorkflowRunResponse as WorkflowRunResponse,
|
|
1152
|
+
type WorkflowListResponsesWorkflowsCursor as WorkflowListResponsesWorkflowsCursor,
|
|
1050
1153
|
type WorkflowCreateParams as WorkflowCreateParams,
|
|
1051
1154
|
type WorkflowUpdateParams as WorkflowUpdateParams,
|
|
1052
1155
|
type WorkflowListParams as WorkflowListParams,
|