@vertexvis/api-client-node 0.22.6 → 0.23.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/dist/cjs/api.d.ts CHANGED
@@ -1727,7 +1727,7 @@ export interface CreateSceneRequestDataAttributes {
1727
1727
  */
1728
1728
  worldOrientation?: Orientation;
1729
1729
  /**
1730
- * User supplied key-value pairs for a scene. You can supply up to 50 entries, with key names limited to 64 characters and values limited to 256 characters.
1730
+ * User supplied key-value pairs for a scene. You can supply up to 50 entries, with key names limited to 64 characters and values limited to 256 characters. A null value will delete the entry in the map, all other key/value pairs provided here will be inserted or updated into the existing scene metadata.
1731
1731
  * @type {{ [key: string]: string; }}
1732
1732
  * @memberof CreateSceneRequestDataAttributes
1733
1733
  */
@@ -2537,6 +2537,49 @@ export declare const FileRelationshipDataTypeEnum: {
2537
2537
  readonly File: "file";
2538
2538
  };
2539
2539
  export declare type FileRelationshipDataTypeEnum = (typeof FileRelationshipDataTypeEnum)[keyof typeof FileRelationshipDataTypeEnum];
2540
+ /**
2541
+ * Describes how an attribute should be filtered.
2542
+ * @export
2543
+ * @interface FilterExpression
2544
+ */
2545
+ export interface FilterExpression {
2546
+ /**
2547
+ * A value of a filter.
2548
+ * @type {string}
2549
+ * @memberof FilterExpression
2550
+ */
2551
+ eq?: string;
2552
+ /**
2553
+ * A value of a filter.
2554
+ * @type {string}
2555
+ * @memberof FilterExpression
2556
+ */
2557
+ neq?: string;
2558
+ /**
2559
+ * A value of a filter.
2560
+ * @type {string}
2561
+ * @memberof FilterExpression
2562
+ */
2563
+ gt?: string;
2564
+ /**
2565
+ * A value of a filter.
2566
+ * @type {string}
2567
+ * @memberof FilterExpression
2568
+ */
2569
+ gte?: string;
2570
+ /**
2571
+ * A value of a filter.
2572
+ * @type {string}
2573
+ * @memberof FilterExpression
2574
+ */
2575
+ lt?: string;
2576
+ /**
2577
+ * A value of a filter.
2578
+ * @type {string}
2579
+ * @memberof FilterExpression
2580
+ */
2581
+ lte?: string;
2582
+ }
2540
2583
  /**
2541
2584
  *
2542
2585
  * @export
@@ -4483,6 +4526,27 @@ export interface SceneAnnotationSetDataAttributes {
4483
4526
  */
4484
4527
  suppliedId?: string;
4485
4528
  }
4529
+ /**
4530
+ *
4531
+ * @export
4532
+ * @interface SceneAnnotationSetList
4533
+ */
4534
+ export interface SceneAnnotationSetList {
4535
+ /**
4536
+ *
4537
+ * @type {Array<SceneAnnotationSetData>}
4538
+ * @memberof SceneAnnotationSetList
4539
+ */
4540
+ data: Array<SceneAnnotationSetData>;
4541
+ /**
4542
+ *
4543
+ * @type {{ [key: string]: Link; }}
4544
+ * @memberof SceneAnnotationSetList
4545
+ */
4546
+ links: {
4547
+ [key: string]: Link;
4548
+ };
4549
+ }
4486
4550
  /**
4487
4551
  *
4488
4552
  * @export
@@ -9876,6 +9940,17 @@ export declare const SceneAnnotationsApiAxiosParamCreator: (configuration?: Conf
9876
9940
  * @throws {RequiredError}
9877
9941
  */
9878
9942
  deleteSceneAnnotation: (id: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
9943
+ /**
9944
+ * Get `scene-annotation-sets` for a `scene`.
9945
+ * @param {string} id The &#x60;scene&#x60; ID.
9946
+ * @param {string} [pageCursor] The cursor for the next page of items.
9947
+ * @param {number} [pageSize] The number of items to return.
9948
+ * @param {string} [filterId] Comma-separated list of IDs to filter on.
9949
+ * @param {string} [filterSuppliedId] Comma-separated list of supplied IDs to filter on.
9950
+ * @param {*} [options] Override http request option.
9951
+ * @throws {RequiredError}
9952
+ */
9953
+ getSceneAnnotationSets: (id: string, pageCursor?: string | undefined, pageSize?: number | undefined, filterId?: string | undefined, filterSuppliedId?: string | undefined, options?: AxiosRequestConfig) => Promise<RequestArgs>;
9879
9954
  /**
9880
9955
  * Update the attributes of an annotation. **Preview:** This is a preview API and is subject to change.
9881
9956
  * @param {string} id The &#x60;scene-annotation&#x60; ID.
@@ -9913,6 +9988,17 @@ export declare const SceneAnnotationsApiFp: (configuration?: Configuration | und
9913
9988
  * @throws {RequiredError}
9914
9989
  */
9915
9990
  deleteSceneAnnotation(id: string, options?: AxiosRequestConfig<any> | undefined): Promise<(axios?: AxiosInstance | undefined, basePath?: string | undefined) => AxiosPromise<void>>;
9991
+ /**
9992
+ * Get `scene-annotation-sets` for a `scene`.
9993
+ * @param {string} id The &#x60;scene&#x60; ID.
9994
+ * @param {string} [pageCursor] The cursor for the next page of items.
9995
+ * @param {number} [pageSize] The number of items to return.
9996
+ * @param {string} [filterId] Comma-separated list of IDs to filter on.
9997
+ * @param {string} [filterSuppliedId] Comma-separated list of supplied IDs to filter on.
9998
+ * @param {*} [options] Override http request option.
9999
+ * @throws {RequiredError}
10000
+ */
10001
+ getSceneAnnotationSets(id: string, pageCursor?: string | undefined, pageSize?: number | undefined, filterId?: string | undefined, filterSuppliedId?: string | undefined, options?: AxiosRequestConfig<any> | undefined): Promise<(axios?: AxiosInstance | undefined, basePath?: string | undefined) => AxiosPromise<SceneAnnotationSetList>>;
9916
10002
  /**
9917
10003
  * Update the attributes of an annotation. **Preview:** This is a preview API and is subject to change.
9918
10004
  * @param {string} id The &#x60;scene-annotation&#x60; ID.
@@ -9950,6 +10036,17 @@ export declare const SceneAnnotationsApiFactory: (configuration?: Configuration
9950
10036
  * @throws {RequiredError}
9951
10037
  */
9952
10038
  deleteSceneAnnotation(id: string, options?: any): AxiosPromise<void>;
10039
+ /**
10040
+ * Get `scene-annotation-sets` for a `scene`.
10041
+ * @param {string} id The &#x60;scene&#x60; ID.
10042
+ * @param {string} [pageCursor] The cursor for the next page of items.
10043
+ * @param {number} [pageSize] The number of items to return.
10044
+ * @param {string} [filterId] Comma-separated list of IDs to filter on.
10045
+ * @param {string} [filterSuppliedId] Comma-separated list of supplied IDs to filter on.
10046
+ * @param {*} [options] Override http request option.
10047
+ * @throws {RequiredError}
10048
+ */
10049
+ getSceneAnnotationSets(id: string, pageCursor?: string | undefined, pageSize?: number | undefined, filterId?: string | undefined, filterSuppliedId?: string | undefined, options?: any): AxiosPromise<SceneAnnotationSetList>;
9953
10050
  /**
9954
10051
  * Update the attributes of an annotation. **Preview:** This is a preview API and is subject to change.
9955
10052
  * @param {string} id The &#x60;scene-annotation&#x60; ID.
@@ -10010,6 +10107,43 @@ export interface SceneAnnotationsApiDeleteSceneAnnotationRequest {
10010
10107
  */
10011
10108
  readonly id: string;
10012
10109
  }
10110
+ /**
10111
+ * Request parameters for getSceneAnnotationSets operation in SceneAnnotationsApi.
10112
+ * @export
10113
+ * @interface SceneAnnotationsApiGetSceneAnnotationSetsRequest
10114
+ */
10115
+ export interface SceneAnnotationsApiGetSceneAnnotationSetsRequest {
10116
+ /**
10117
+ * The &#x60;scene&#x60; ID.
10118
+ * @type {string}
10119
+ * @memberof SceneAnnotationsApiGetSceneAnnotationSets
10120
+ */
10121
+ readonly id: string;
10122
+ /**
10123
+ * The cursor for the next page of items.
10124
+ * @type {string}
10125
+ * @memberof SceneAnnotationsApiGetSceneAnnotationSets
10126
+ */
10127
+ readonly pageCursor?: string;
10128
+ /**
10129
+ * The number of items to return.
10130
+ * @type {number}
10131
+ * @memberof SceneAnnotationsApiGetSceneAnnotationSets
10132
+ */
10133
+ readonly pageSize?: number;
10134
+ /**
10135
+ * Comma-separated list of IDs to filter on.
10136
+ * @type {string}
10137
+ * @memberof SceneAnnotationsApiGetSceneAnnotationSets
10138
+ */
10139
+ readonly filterId?: string;
10140
+ /**
10141
+ * Comma-separated list of supplied IDs to filter on.
10142
+ * @type {string}
10143
+ * @memberof SceneAnnotationsApiGetSceneAnnotationSets
10144
+ */
10145
+ readonly filterSuppliedId?: string;
10146
+ }
10013
10147
  /**
10014
10148
  * Request parameters for updateSceneAnnotation operation in SceneAnnotationsApi.
10015
10149
  * @export
@@ -10060,6 +10194,14 @@ export declare class SceneAnnotationsApi extends BaseAPI {
10060
10194
  * @memberof SceneAnnotationsApi
10061
10195
  */
10062
10196
  deleteSceneAnnotation(requestParameters: SceneAnnotationsApiDeleteSceneAnnotationRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
10197
+ /**
10198
+ * Get `scene-annotation-sets` for a `scene`.
10199
+ * @param {SceneAnnotationsApiGetSceneAnnotationSetsRequest} requestParameters Request parameters.
10200
+ * @param {*} [options] Override http request option.
10201
+ * @throws {RequiredError}
10202
+ * @memberof SceneAnnotationsApi
10203
+ */
10204
+ getSceneAnnotationSets(requestParameters: SceneAnnotationsApiGetSceneAnnotationSetsRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<SceneAnnotationSetList, any>>;
10063
10205
  /**
10064
10206
  * Update the attributes of an annotation. **Preview:** This is a preview API and is subject to change.
10065
10207
  * @param {SceneAnnotationsApiUpdateSceneAnnotationRequest} requestParameters Request parameters.
@@ -12283,11 +12425,13 @@ export declare const TranslationInspectionsApiAxiosParamCreator: (configuration?
12283
12425
  * Get all current translation jobs in progress.
12284
12426
  * @param {string} [pageCursor] The cursor for the next page of items.
12285
12427
  * @param {number} [pageSize] The number of items to return.
12428
+ * @param {string} [sort] A sort to apply to the collection. A \&quot;minus\&quot; prefixed before the field name is used to specify descending sort order.
12286
12429
  * @param {string} [filterStatus] Status to filter on.
12430
+ * @param {FilterExpression} [filterCompletedAt] The completion date and time to filter on.
12287
12431
  * @param {*} [options] Override http request option.
12288
12432
  * @throws {RequiredError}
12289
12433
  */
12290
- getQueuedTranslationJobs: (pageCursor?: string | undefined, pageSize?: number | undefined, filterStatus?: string | undefined, options?: AxiosRequestConfig) => Promise<RequestArgs>;
12434
+ getQueuedTranslationJobs: (pageCursor?: string | undefined, pageSize?: number | undefined, sort?: string | undefined, filterStatus?: string | undefined, filterCompletedAt?: FilterExpression | undefined, options?: AxiosRequestConfig) => Promise<RequestArgs>;
12291
12435
  /**
12292
12436
  * This has been deprecated and replaced by **queued-translation-jobs** - Get `queued-translation`s.
12293
12437
  * @param {string} [pageCursor] The cursor for the next page of items.
@@ -12337,11 +12481,13 @@ export declare const TranslationInspectionsApiFp: (configuration?: Configuration
12337
12481
  * Get all current translation jobs in progress.
12338
12482
  * @param {string} [pageCursor] The cursor for the next page of items.
12339
12483
  * @param {number} [pageSize] The number of items to return.
12484
+ * @param {string} [sort] A sort to apply to the collection. A \&quot;minus\&quot; prefixed before the field name is used to specify descending sort order.
12340
12485
  * @param {string} [filterStatus] Status to filter on.
12486
+ * @param {FilterExpression} [filterCompletedAt] The completion date and time to filter on.
12341
12487
  * @param {*} [options] Override http request option.
12342
12488
  * @throws {RequiredError}
12343
12489
  */
12344
- getQueuedTranslationJobs(pageCursor?: string | undefined, pageSize?: number | undefined, filterStatus?: string | undefined, options?: AxiosRequestConfig<any> | undefined): Promise<(axios?: AxiosInstance | undefined, basePath?: string | undefined) => AxiosPromise<QueuedJobList>>;
12490
+ getQueuedTranslationJobs(pageCursor?: string | undefined, pageSize?: number | undefined, sort?: string | undefined, filterStatus?: string | undefined, filterCompletedAt?: FilterExpression | undefined, options?: AxiosRequestConfig<any> | undefined): Promise<(axios?: AxiosInstance | undefined, basePath?: string | undefined) => AxiosPromise<QueuedJobList>>;
12345
12491
  /**
12346
12492
  * This has been deprecated and replaced by **queued-translation-jobs** - Get `queued-translation`s.
12347
12493
  * @param {string} [pageCursor] The cursor for the next page of items.
@@ -12391,11 +12537,13 @@ export declare const TranslationInspectionsApiFactory: (configuration?: Configur
12391
12537
  * Get all current translation jobs in progress.
12392
12538
  * @param {string} [pageCursor] The cursor for the next page of items.
12393
12539
  * @param {number} [pageSize] The number of items to return.
12540
+ * @param {string} [sort] A sort to apply to the collection. A \&quot;minus\&quot; prefixed before the field name is used to specify descending sort order.
12394
12541
  * @param {string} [filterStatus] Status to filter on.
12542
+ * @param {FilterExpression} [filterCompletedAt] The completion date and time to filter on.
12395
12543
  * @param {*} [options] Override http request option.
12396
12544
  * @throws {RequiredError}
12397
12545
  */
12398
- getQueuedTranslationJobs(pageCursor?: string | undefined, pageSize?: number | undefined, filterStatus?: string | undefined, options?: any): AxiosPromise<QueuedJobList>;
12546
+ getQueuedTranslationJobs(pageCursor?: string | undefined, pageSize?: number | undefined, sort?: string | undefined, filterStatus?: string | undefined, filterCompletedAt?: FilterExpression | undefined, options?: any): AxiosPromise<QueuedJobList>;
12399
12547
  /**
12400
12548
  * This has been deprecated and replaced by **queued-translation-jobs** - Get `queued-translation`s.
12401
12549
  * @param {string} [pageCursor] The cursor for the next page of items.
@@ -12477,12 +12625,24 @@ export interface TranslationInspectionsApiGetQueuedTranslationJobsRequest {
12477
12625
  * @memberof TranslationInspectionsApiGetQueuedTranslationJobs
12478
12626
  */
12479
12627
  readonly pageSize?: number;
12628
+ /**
12629
+ * A sort to apply to the collection. A \&quot;minus\&quot; prefixed before the field name is used to specify descending sort order.
12630
+ * @type {string}
12631
+ * @memberof TranslationInspectionsApiGetQueuedTranslationJobs
12632
+ */
12633
+ readonly sort?: string;
12480
12634
  /**
12481
12635
  * Status to filter on.
12482
12636
  * @type {string}
12483
12637
  * @memberof TranslationInspectionsApiGetQueuedTranslationJobs
12484
12638
  */
12485
12639
  readonly filterStatus?: string;
12640
+ /**
12641
+ * The completion date and time to filter on.
12642
+ * @type {FilterExpression}
12643
+ * @memberof TranslationInspectionsApiGetQueuedTranslationJobs
12644
+ */
12645
+ readonly filterCompletedAt?: FilterExpression;
12486
12646
  }
12487
12647
  /**
12488
12648
  * Request parameters for getQueuedTranslations operation in TranslationInspectionsApi.
package/dist/cjs/api.js CHANGED
@@ -4225,6 +4225,53 @@ const SceneAnnotationsApiAxiosParamCreator = function (configuration) {
4225
4225
  options: localVarRequestOptions,
4226
4226
  };
4227
4227
  }),
4228
+ /**
4229
+ * Get `scene-annotation-sets` for a `scene`.
4230
+ * @param {string} id The &#x60;scene&#x60; ID.
4231
+ * @param {string} [pageCursor] The cursor for the next page of items.
4232
+ * @param {number} [pageSize] The number of items to return.
4233
+ * @param {string} [filterId] Comma-separated list of IDs to filter on.
4234
+ * @param {string} [filterSuppliedId] Comma-separated list of supplied IDs to filter on.
4235
+ * @param {*} [options] Override http request option.
4236
+ * @throws {RequiredError}
4237
+ */
4238
+ getSceneAnnotationSets: (id, pageCursor, pageSize, filterId, filterSuppliedId, options = {}) => __awaiter(this, void 0, void 0, function* () {
4239
+ var _d;
4240
+ // verify required parameter 'id' is not null or undefined
4241
+ (0, common_1.assertParamExists)('getSceneAnnotationSets', 'id', id);
4242
+ const localVarPath = `/scenes/{id}/scene-annotation-sets`.replace(`{${'id'}}`, encodeURIComponent(String(id)));
4243
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
4244
+ const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
4245
+ let baseOptions;
4246
+ if (configuration) {
4247
+ baseOptions = configuration.baseOptions;
4248
+ }
4249
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
4250
+ const localVarHeaderParameter = {};
4251
+ const localVarQueryParameter = {};
4252
+ // authentication OAuth2 required
4253
+ // oauth required
4254
+ yield (0, common_1.setOAuthToObject)(localVarHeaderParameter, 'OAuth2', [], configuration);
4255
+ if (pageCursor !== undefined) {
4256
+ localVarQueryParameter['page[cursor]'] = pageCursor;
4257
+ }
4258
+ if (pageSize !== undefined) {
4259
+ localVarQueryParameter['page[size]'] = pageSize;
4260
+ }
4261
+ if (filterId !== undefined) {
4262
+ localVarQueryParameter['filter[id]'] = filterId;
4263
+ }
4264
+ if (filterSuppliedId !== undefined) {
4265
+ localVarQueryParameter['filter[suppliedId]'] = filterSuppliedId;
4266
+ }
4267
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
4268
+ let headersFromBaseOptions = (_d = baseOptions === null || baseOptions === void 0 ? void 0 : baseOptions.headers) !== null && _d !== void 0 ? _d : {};
4269
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
4270
+ return {
4271
+ url: (0, common_1.toPathString)(localVarUrlObj),
4272
+ options: localVarRequestOptions,
4273
+ };
4274
+ }),
4228
4275
  /**
4229
4276
  * Update the attributes of an annotation. **Preview:** This is a preview API and is subject to change.
4230
4277
  * @param {string} id The &#x60;scene-annotation&#x60; ID.
@@ -4233,7 +4280,7 @@ const SceneAnnotationsApiAxiosParamCreator = function (configuration) {
4233
4280
  * @throws {RequiredError}
4234
4281
  */
4235
4282
  updateSceneAnnotation: (id, updateSceneAnnotationRequest, options = {}) => __awaiter(this, void 0, void 0, function* () {
4236
- var _d;
4283
+ var _e;
4237
4284
  // verify required parameter 'id' is not null or undefined
4238
4285
  (0, common_1.assertParamExists)('updateSceneAnnotation', 'id', id);
4239
4286
  // verify required parameter 'updateSceneAnnotationRequest' is not null or undefined
@@ -4253,7 +4300,7 @@ const SceneAnnotationsApiAxiosParamCreator = function (configuration) {
4253
4300
  yield (0, common_1.setOAuthToObject)(localVarHeaderParameter, 'OAuth2', [], configuration);
4254
4301
  localVarHeaderParameter['Content-Type'] = 'application/vnd.api+json';
4255
4302
  (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
4256
- let headersFromBaseOptions = (_d = baseOptions === null || baseOptions === void 0 ? void 0 : baseOptions.headers) !== null && _d !== void 0 ? _d : {};
4303
+ let headersFromBaseOptions = (_e = baseOptions === null || baseOptions === void 0 ? void 0 : baseOptions.headers) !== null && _e !== void 0 ? _e : {};
4257
4304
  localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
4258
4305
  localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(updateSceneAnnotationRequest, localVarRequestOptions, configuration);
4259
4306
  return {
@@ -4309,6 +4356,22 @@ const SceneAnnotationsApiFp = function (configuration) {
4309
4356
  return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
4310
4357
  });
4311
4358
  },
4359
+ /**
4360
+ * Get `scene-annotation-sets` for a `scene`.
4361
+ * @param {string} id The &#x60;scene&#x60; ID.
4362
+ * @param {string} [pageCursor] The cursor for the next page of items.
4363
+ * @param {number} [pageSize] The number of items to return.
4364
+ * @param {string} [filterId] Comma-separated list of IDs to filter on.
4365
+ * @param {string} [filterSuppliedId] Comma-separated list of supplied IDs to filter on.
4366
+ * @param {*} [options] Override http request option.
4367
+ * @throws {RequiredError}
4368
+ */
4369
+ getSceneAnnotationSets(id, pageCursor, pageSize, filterId, filterSuppliedId, options) {
4370
+ return __awaiter(this, void 0, void 0, function* () {
4371
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.getSceneAnnotationSets(id, pageCursor, pageSize, filterId, filterSuppliedId, options);
4372
+ return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
4373
+ });
4374
+ },
4312
4375
  /**
4313
4376
  * Update the attributes of an annotation. **Preview:** This is a preview API and is subject to change.
4314
4377
  * @param {string} id The &#x60;scene-annotation&#x60; ID.
@@ -4367,6 +4430,21 @@ const SceneAnnotationsApiFactory = function (configuration, basePath, axios) {
4367
4430
  .deleteSceneAnnotation(id, options)
4368
4431
  .then((request) => request(axios, basePath));
4369
4432
  },
4433
+ /**
4434
+ * Get `scene-annotation-sets` for a `scene`.
4435
+ * @param {string} id The &#x60;scene&#x60; ID.
4436
+ * @param {string} [pageCursor] The cursor for the next page of items.
4437
+ * @param {number} [pageSize] The number of items to return.
4438
+ * @param {string} [filterId] Comma-separated list of IDs to filter on.
4439
+ * @param {string} [filterSuppliedId] Comma-separated list of supplied IDs to filter on.
4440
+ * @param {*} [options] Override http request option.
4441
+ * @throws {RequiredError}
4442
+ */
4443
+ getSceneAnnotationSets(id, pageCursor, pageSize, filterId, filterSuppliedId, options) {
4444
+ return localVarFp
4445
+ .getSceneAnnotationSets(id, pageCursor, pageSize, filterId, filterSuppliedId, options)
4446
+ .then((request) => request(axios, basePath));
4447
+ },
4370
4448
  /**
4371
4449
  * Update the attributes of an annotation. **Preview:** This is a preview API and is subject to change.
4372
4450
  * @param {string} id The &#x60;scene-annotation&#x60; ID.
@@ -4425,6 +4503,18 @@ class SceneAnnotationsApi extends base_1.BaseAPI {
4425
4503
  .deleteSceneAnnotation(requestParameters.id, options)
4426
4504
  .then((request) => request(this.axios, this.basePath));
4427
4505
  }
4506
+ /**
4507
+ * Get `scene-annotation-sets` for a `scene`.
4508
+ * @param {SceneAnnotationsApiGetSceneAnnotationSetsRequest} requestParameters Request parameters.
4509
+ * @param {*} [options] Override http request option.
4510
+ * @throws {RequiredError}
4511
+ * @memberof SceneAnnotationsApi
4512
+ */
4513
+ getSceneAnnotationSets(requestParameters, options) {
4514
+ return (0, exports.SceneAnnotationsApiFp)(this.configuration)
4515
+ .getSceneAnnotationSets(requestParameters.id, requestParameters.pageCursor, requestParameters.pageSize, requestParameters.filterId, requestParameters.filterSuppliedId, options)
4516
+ .then((request) => request(this.axios, this.basePath));
4517
+ }
4428
4518
  /**
4429
4519
  * Update the attributes of an annotation. **Preview:** This is a preview API and is subject to change.
4430
4520
  * @param {SceneAnnotationsApiUpdateSceneAnnotationRequest} requestParameters Request parameters.
@@ -7593,11 +7683,13 @@ const TranslationInspectionsApiAxiosParamCreator = function (configuration) {
7593
7683
  * Get all current translation jobs in progress.
7594
7684
  * @param {string} [pageCursor] The cursor for the next page of items.
7595
7685
  * @param {number} [pageSize] The number of items to return.
7686
+ * @param {string} [sort] A sort to apply to the collection. A \&quot;minus\&quot; prefixed before the field name is used to specify descending sort order.
7596
7687
  * @param {string} [filterStatus] Status to filter on.
7688
+ * @param {FilterExpression} [filterCompletedAt] The completion date and time to filter on.
7597
7689
  * @param {*} [options] Override http request option.
7598
7690
  * @throws {RequiredError}
7599
7691
  */
7600
- getQueuedTranslationJobs: (pageCursor, pageSize, filterStatus, options = {}) => __awaiter(this, void 0, void 0, function* () {
7692
+ getQueuedTranslationJobs: (pageCursor, pageSize, sort, filterStatus, filterCompletedAt, options = {}) => __awaiter(this, void 0, void 0, function* () {
7601
7693
  var _e;
7602
7694
  const localVarPath = `/queued-translation-jobs`;
7603
7695
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
@@ -7618,9 +7710,15 @@ const TranslationInspectionsApiAxiosParamCreator = function (configuration) {
7618
7710
  if (pageSize !== undefined) {
7619
7711
  localVarQueryParameter['page[size]'] = pageSize;
7620
7712
  }
7713
+ if (sort !== undefined) {
7714
+ localVarQueryParameter['sort'] = sort;
7715
+ }
7621
7716
  if (filterStatus !== undefined) {
7622
7717
  localVarQueryParameter['filter[status]'] = filterStatus;
7623
7718
  }
7719
+ if (filterCompletedAt !== undefined) {
7720
+ localVarQueryParameter['filter[completedAt]'] = filterCompletedAt;
7721
+ }
7624
7722
  (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
7625
7723
  let headersFromBaseOptions = (_e = baseOptions === null || baseOptions === void 0 ? void 0 : baseOptions.headers) !== null && _e !== void 0 ? _e : {};
7626
7724
  localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
@@ -7733,13 +7831,15 @@ const TranslationInspectionsApiFp = function (configuration) {
7733
7831
  * Get all current translation jobs in progress.
7734
7832
  * @param {string} [pageCursor] The cursor for the next page of items.
7735
7833
  * @param {number} [pageSize] The number of items to return.
7834
+ * @param {string} [sort] A sort to apply to the collection. A \&quot;minus\&quot; prefixed before the field name is used to specify descending sort order.
7736
7835
  * @param {string} [filterStatus] Status to filter on.
7836
+ * @param {FilterExpression} [filterCompletedAt] The completion date and time to filter on.
7737
7837
  * @param {*} [options] Override http request option.
7738
7838
  * @throws {RequiredError}
7739
7839
  */
7740
- getQueuedTranslationJobs(pageCursor, pageSize, filterStatus, options) {
7840
+ getQueuedTranslationJobs(pageCursor, pageSize, sort, filterStatus, filterCompletedAt, options) {
7741
7841
  return __awaiter(this, void 0, void 0, function* () {
7742
- const localVarAxiosArgs = yield localVarAxiosParamCreator.getQueuedTranslationJobs(pageCursor, pageSize, filterStatus, options);
7842
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.getQueuedTranslationJobs(pageCursor, pageSize, sort, filterStatus, filterCompletedAt, options);
7743
7843
  return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
7744
7844
  });
7745
7845
  },
@@ -7817,13 +7917,15 @@ const TranslationInspectionsApiFactory = function (configuration, basePath, axio
7817
7917
  * Get all current translation jobs in progress.
7818
7918
  * @param {string} [pageCursor] The cursor for the next page of items.
7819
7919
  * @param {number} [pageSize] The number of items to return.
7920
+ * @param {string} [sort] A sort to apply to the collection. A \&quot;minus\&quot; prefixed before the field name is used to specify descending sort order.
7820
7921
  * @param {string} [filterStatus] Status to filter on.
7922
+ * @param {FilterExpression} [filterCompletedAt] The completion date and time to filter on.
7821
7923
  * @param {*} [options] Override http request option.
7822
7924
  * @throws {RequiredError}
7823
7925
  */
7824
- getQueuedTranslationJobs(pageCursor, pageSize, filterStatus, options) {
7926
+ getQueuedTranslationJobs(pageCursor, pageSize, sort, filterStatus, filterCompletedAt, options) {
7825
7927
  return localVarFp
7826
- .getQueuedTranslationJobs(pageCursor, pageSize, filterStatus, options)
7928
+ .getQueuedTranslationJobs(pageCursor, pageSize, sort, filterStatus, filterCompletedAt, options)
7827
7929
  .then((request) => request(axios, basePath));
7828
7930
  },
7829
7931
  /**
@@ -7908,7 +8010,7 @@ class TranslationInspectionsApi extends base_1.BaseAPI {
7908
8010
  */
7909
8011
  getQueuedTranslationJobs(requestParameters = {}, options) {
7910
8012
  return (0, exports.TranslationInspectionsApiFp)(this.configuration)
7911
- .getQueuedTranslationJobs(requestParameters.pageCursor, requestParameters.pageSize, requestParameters.filterStatus, options)
8013
+ .getQueuedTranslationJobs(requestParameters.pageCursor, requestParameters.pageSize, requestParameters.sort, requestParameters.filterStatus, requestParameters.filterCompletedAt, options)
7912
8014
  .then((request) => request(this.axios, this.basePath));
7913
8015
  }
7914
8016
  /**
@@ -1 +1 @@
1
- export declare const version = "0.22.6";
1
+ export declare const version = "0.23.0";
@@ -1,4 +1,4 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.version = void 0;
4
- exports.version = '0.22.6';
4
+ exports.version = '0.23.0';
package/dist/esm/api.d.ts CHANGED
@@ -1727,7 +1727,7 @@ export interface CreateSceneRequestDataAttributes {
1727
1727
  */
1728
1728
  worldOrientation?: Orientation;
1729
1729
  /**
1730
- * User supplied key-value pairs for a scene. You can supply up to 50 entries, with key names limited to 64 characters and values limited to 256 characters.
1730
+ * User supplied key-value pairs for a scene. You can supply up to 50 entries, with key names limited to 64 characters and values limited to 256 characters. A null value will delete the entry in the map, all other key/value pairs provided here will be inserted or updated into the existing scene metadata.
1731
1731
  * @type {{ [key: string]: string; }}
1732
1732
  * @memberof CreateSceneRequestDataAttributes
1733
1733
  */
@@ -2537,6 +2537,49 @@ export declare const FileRelationshipDataTypeEnum: {
2537
2537
  readonly File: "file";
2538
2538
  };
2539
2539
  export declare type FileRelationshipDataTypeEnum = (typeof FileRelationshipDataTypeEnum)[keyof typeof FileRelationshipDataTypeEnum];
2540
+ /**
2541
+ * Describes how an attribute should be filtered.
2542
+ * @export
2543
+ * @interface FilterExpression
2544
+ */
2545
+ export interface FilterExpression {
2546
+ /**
2547
+ * A value of a filter.
2548
+ * @type {string}
2549
+ * @memberof FilterExpression
2550
+ */
2551
+ eq?: string;
2552
+ /**
2553
+ * A value of a filter.
2554
+ * @type {string}
2555
+ * @memberof FilterExpression
2556
+ */
2557
+ neq?: string;
2558
+ /**
2559
+ * A value of a filter.
2560
+ * @type {string}
2561
+ * @memberof FilterExpression
2562
+ */
2563
+ gt?: string;
2564
+ /**
2565
+ * A value of a filter.
2566
+ * @type {string}
2567
+ * @memberof FilterExpression
2568
+ */
2569
+ gte?: string;
2570
+ /**
2571
+ * A value of a filter.
2572
+ * @type {string}
2573
+ * @memberof FilterExpression
2574
+ */
2575
+ lt?: string;
2576
+ /**
2577
+ * A value of a filter.
2578
+ * @type {string}
2579
+ * @memberof FilterExpression
2580
+ */
2581
+ lte?: string;
2582
+ }
2540
2583
  /**
2541
2584
  *
2542
2585
  * @export
@@ -4483,6 +4526,27 @@ export interface SceneAnnotationSetDataAttributes {
4483
4526
  */
4484
4527
  suppliedId?: string;
4485
4528
  }
4529
+ /**
4530
+ *
4531
+ * @export
4532
+ * @interface SceneAnnotationSetList
4533
+ */
4534
+ export interface SceneAnnotationSetList {
4535
+ /**
4536
+ *
4537
+ * @type {Array<SceneAnnotationSetData>}
4538
+ * @memberof SceneAnnotationSetList
4539
+ */
4540
+ data: Array<SceneAnnotationSetData>;
4541
+ /**
4542
+ *
4543
+ * @type {{ [key: string]: Link; }}
4544
+ * @memberof SceneAnnotationSetList
4545
+ */
4546
+ links: {
4547
+ [key: string]: Link;
4548
+ };
4549
+ }
4486
4550
  /**
4487
4551
  *
4488
4552
  * @export
@@ -9876,6 +9940,17 @@ export declare const SceneAnnotationsApiAxiosParamCreator: (configuration?: Conf
9876
9940
  * @throws {RequiredError}
9877
9941
  */
9878
9942
  deleteSceneAnnotation: (id: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
9943
+ /**
9944
+ * Get `scene-annotation-sets` for a `scene`.
9945
+ * @param {string} id The &#x60;scene&#x60; ID.
9946
+ * @param {string} [pageCursor] The cursor for the next page of items.
9947
+ * @param {number} [pageSize] The number of items to return.
9948
+ * @param {string} [filterId] Comma-separated list of IDs to filter on.
9949
+ * @param {string} [filterSuppliedId] Comma-separated list of supplied IDs to filter on.
9950
+ * @param {*} [options] Override http request option.
9951
+ * @throws {RequiredError}
9952
+ */
9953
+ getSceneAnnotationSets: (id: string, pageCursor?: string | undefined, pageSize?: number | undefined, filterId?: string | undefined, filterSuppliedId?: string | undefined, options?: AxiosRequestConfig) => Promise<RequestArgs>;
9879
9954
  /**
9880
9955
  * Update the attributes of an annotation. **Preview:** This is a preview API and is subject to change.
9881
9956
  * @param {string} id The &#x60;scene-annotation&#x60; ID.
@@ -9913,6 +9988,17 @@ export declare const SceneAnnotationsApiFp: (configuration?: Configuration | und
9913
9988
  * @throws {RequiredError}
9914
9989
  */
9915
9990
  deleteSceneAnnotation(id: string, options?: AxiosRequestConfig<any> | undefined): Promise<(axios?: AxiosInstance | undefined, basePath?: string | undefined) => AxiosPromise<void>>;
9991
+ /**
9992
+ * Get `scene-annotation-sets` for a `scene`.
9993
+ * @param {string} id The &#x60;scene&#x60; ID.
9994
+ * @param {string} [pageCursor] The cursor for the next page of items.
9995
+ * @param {number} [pageSize] The number of items to return.
9996
+ * @param {string} [filterId] Comma-separated list of IDs to filter on.
9997
+ * @param {string} [filterSuppliedId] Comma-separated list of supplied IDs to filter on.
9998
+ * @param {*} [options] Override http request option.
9999
+ * @throws {RequiredError}
10000
+ */
10001
+ getSceneAnnotationSets(id: string, pageCursor?: string | undefined, pageSize?: number | undefined, filterId?: string | undefined, filterSuppliedId?: string | undefined, options?: AxiosRequestConfig<any> | undefined): Promise<(axios?: AxiosInstance | undefined, basePath?: string | undefined) => AxiosPromise<SceneAnnotationSetList>>;
9916
10002
  /**
9917
10003
  * Update the attributes of an annotation. **Preview:** This is a preview API and is subject to change.
9918
10004
  * @param {string} id The &#x60;scene-annotation&#x60; ID.
@@ -9950,6 +10036,17 @@ export declare const SceneAnnotationsApiFactory: (configuration?: Configuration
9950
10036
  * @throws {RequiredError}
9951
10037
  */
9952
10038
  deleteSceneAnnotation(id: string, options?: any): AxiosPromise<void>;
10039
+ /**
10040
+ * Get `scene-annotation-sets` for a `scene`.
10041
+ * @param {string} id The &#x60;scene&#x60; ID.
10042
+ * @param {string} [pageCursor] The cursor for the next page of items.
10043
+ * @param {number} [pageSize] The number of items to return.
10044
+ * @param {string} [filterId] Comma-separated list of IDs to filter on.
10045
+ * @param {string} [filterSuppliedId] Comma-separated list of supplied IDs to filter on.
10046
+ * @param {*} [options] Override http request option.
10047
+ * @throws {RequiredError}
10048
+ */
10049
+ getSceneAnnotationSets(id: string, pageCursor?: string | undefined, pageSize?: number | undefined, filterId?: string | undefined, filterSuppliedId?: string | undefined, options?: any): AxiosPromise<SceneAnnotationSetList>;
9953
10050
  /**
9954
10051
  * Update the attributes of an annotation. **Preview:** This is a preview API and is subject to change.
9955
10052
  * @param {string} id The &#x60;scene-annotation&#x60; ID.
@@ -10010,6 +10107,43 @@ export interface SceneAnnotationsApiDeleteSceneAnnotationRequest {
10010
10107
  */
10011
10108
  readonly id: string;
10012
10109
  }
10110
+ /**
10111
+ * Request parameters for getSceneAnnotationSets operation in SceneAnnotationsApi.
10112
+ * @export
10113
+ * @interface SceneAnnotationsApiGetSceneAnnotationSetsRequest
10114
+ */
10115
+ export interface SceneAnnotationsApiGetSceneAnnotationSetsRequest {
10116
+ /**
10117
+ * The &#x60;scene&#x60; ID.
10118
+ * @type {string}
10119
+ * @memberof SceneAnnotationsApiGetSceneAnnotationSets
10120
+ */
10121
+ readonly id: string;
10122
+ /**
10123
+ * The cursor for the next page of items.
10124
+ * @type {string}
10125
+ * @memberof SceneAnnotationsApiGetSceneAnnotationSets
10126
+ */
10127
+ readonly pageCursor?: string;
10128
+ /**
10129
+ * The number of items to return.
10130
+ * @type {number}
10131
+ * @memberof SceneAnnotationsApiGetSceneAnnotationSets
10132
+ */
10133
+ readonly pageSize?: number;
10134
+ /**
10135
+ * Comma-separated list of IDs to filter on.
10136
+ * @type {string}
10137
+ * @memberof SceneAnnotationsApiGetSceneAnnotationSets
10138
+ */
10139
+ readonly filterId?: string;
10140
+ /**
10141
+ * Comma-separated list of supplied IDs to filter on.
10142
+ * @type {string}
10143
+ * @memberof SceneAnnotationsApiGetSceneAnnotationSets
10144
+ */
10145
+ readonly filterSuppliedId?: string;
10146
+ }
10013
10147
  /**
10014
10148
  * Request parameters for updateSceneAnnotation operation in SceneAnnotationsApi.
10015
10149
  * @export
@@ -10060,6 +10194,14 @@ export declare class SceneAnnotationsApi extends BaseAPI {
10060
10194
  * @memberof SceneAnnotationsApi
10061
10195
  */
10062
10196
  deleteSceneAnnotation(requestParameters: SceneAnnotationsApiDeleteSceneAnnotationRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
10197
+ /**
10198
+ * Get `scene-annotation-sets` for a `scene`.
10199
+ * @param {SceneAnnotationsApiGetSceneAnnotationSetsRequest} requestParameters Request parameters.
10200
+ * @param {*} [options] Override http request option.
10201
+ * @throws {RequiredError}
10202
+ * @memberof SceneAnnotationsApi
10203
+ */
10204
+ getSceneAnnotationSets(requestParameters: SceneAnnotationsApiGetSceneAnnotationSetsRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<SceneAnnotationSetList, any>>;
10063
10205
  /**
10064
10206
  * Update the attributes of an annotation. **Preview:** This is a preview API and is subject to change.
10065
10207
  * @param {SceneAnnotationsApiUpdateSceneAnnotationRequest} requestParameters Request parameters.
@@ -12283,11 +12425,13 @@ export declare const TranslationInspectionsApiAxiosParamCreator: (configuration?
12283
12425
  * Get all current translation jobs in progress.
12284
12426
  * @param {string} [pageCursor] The cursor for the next page of items.
12285
12427
  * @param {number} [pageSize] The number of items to return.
12428
+ * @param {string} [sort] A sort to apply to the collection. A \&quot;minus\&quot; prefixed before the field name is used to specify descending sort order.
12286
12429
  * @param {string} [filterStatus] Status to filter on.
12430
+ * @param {FilterExpression} [filterCompletedAt] The completion date and time to filter on.
12287
12431
  * @param {*} [options] Override http request option.
12288
12432
  * @throws {RequiredError}
12289
12433
  */
12290
- getQueuedTranslationJobs: (pageCursor?: string | undefined, pageSize?: number | undefined, filterStatus?: string | undefined, options?: AxiosRequestConfig) => Promise<RequestArgs>;
12434
+ getQueuedTranslationJobs: (pageCursor?: string | undefined, pageSize?: number | undefined, sort?: string | undefined, filterStatus?: string | undefined, filterCompletedAt?: FilterExpression | undefined, options?: AxiosRequestConfig) => Promise<RequestArgs>;
12291
12435
  /**
12292
12436
  * This has been deprecated and replaced by **queued-translation-jobs** - Get `queued-translation`s.
12293
12437
  * @param {string} [pageCursor] The cursor for the next page of items.
@@ -12337,11 +12481,13 @@ export declare const TranslationInspectionsApiFp: (configuration?: Configuration
12337
12481
  * Get all current translation jobs in progress.
12338
12482
  * @param {string} [pageCursor] The cursor for the next page of items.
12339
12483
  * @param {number} [pageSize] The number of items to return.
12484
+ * @param {string} [sort] A sort to apply to the collection. A \&quot;minus\&quot; prefixed before the field name is used to specify descending sort order.
12340
12485
  * @param {string} [filterStatus] Status to filter on.
12486
+ * @param {FilterExpression} [filterCompletedAt] The completion date and time to filter on.
12341
12487
  * @param {*} [options] Override http request option.
12342
12488
  * @throws {RequiredError}
12343
12489
  */
12344
- getQueuedTranslationJobs(pageCursor?: string | undefined, pageSize?: number | undefined, filterStatus?: string | undefined, options?: AxiosRequestConfig<any> | undefined): Promise<(axios?: AxiosInstance | undefined, basePath?: string | undefined) => AxiosPromise<QueuedJobList>>;
12490
+ getQueuedTranslationJobs(pageCursor?: string | undefined, pageSize?: number | undefined, sort?: string | undefined, filterStatus?: string | undefined, filterCompletedAt?: FilterExpression | undefined, options?: AxiosRequestConfig<any> | undefined): Promise<(axios?: AxiosInstance | undefined, basePath?: string | undefined) => AxiosPromise<QueuedJobList>>;
12345
12491
  /**
12346
12492
  * This has been deprecated and replaced by **queued-translation-jobs** - Get `queued-translation`s.
12347
12493
  * @param {string} [pageCursor] The cursor for the next page of items.
@@ -12391,11 +12537,13 @@ export declare const TranslationInspectionsApiFactory: (configuration?: Configur
12391
12537
  * Get all current translation jobs in progress.
12392
12538
  * @param {string} [pageCursor] The cursor for the next page of items.
12393
12539
  * @param {number} [pageSize] The number of items to return.
12540
+ * @param {string} [sort] A sort to apply to the collection. A \&quot;minus\&quot; prefixed before the field name is used to specify descending sort order.
12394
12541
  * @param {string} [filterStatus] Status to filter on.
12542
+ * @param {FilterExpression} [filterCompletedAt] The completion date and time to filter on.
12395
12543
  * @param {*} [options] Override http request option.
12396
12544
  * @throws {RequiredError}
12397
12545
  */
12398
- getQueuedTranslationJobs(pageCursor?: string | undefined, pageSize?: number | undefined, filterStatus?: string | undefined, options?: any): AxiosPromise<QueuedJobList>;
12546
+ getQueuedTranslationJobs(pageCursor?: string | undefined, pageSize?: number | undefined, sort?: string | undefined, filterStatus?: string | undefined, filterCompletedAt?: FilterExpression | undefined, options?: any): AxiosPromise<QueuedJobList>;
12399
12547
  /**
12400
12548
  * This has been deprecated and replaced by **queued-translation-jobs** - Get `queued-translation`s.
12401
12549
  * @param {string} [pageCursor] The cursor for the next page of items.
@@ -12477,12 +12625,24 @@ export interface TranslationInspectionsApiGetQueuedTranslationJobsRequest {
12477
12625
  * @memberof TranslationInspectionsApiGetQueuedTranslationJobs
12478
12626
  */
12479
12627
  readonly pageSize?: number;
12628
+ /**
12629
+ * A sort to apply to the collection. A \&quot;minus\&quot; prefixed before the field name is used to specify descending sort order.
12630
+ * @type {string}
12631
+ * @memberof TranslationInspectionsApiGetQueuedTranslationJobs
12632
+ */
12633
+ readonly sort?: string;
12480
12634
  /**
12481
12635
  * Status to filter on.
12482
12636
  * @type {string}
12483
12637
  * @memberof TranslationInspectionsApiGetQueuedTranslationJobs
12484
12638
  */
12485
12639
  readonly filterStatus?: string;
12640
+ /**
12641
+ * The completion date and time to filter on.
12642
+ * @type {FilterExpression}
12643
+ * @memberof TranslationInspectionsApiGetQueuedTranslationJobs
12644
+ */
12645
+ readonly filterCompletedAt?: FilterExpression;
12486
12646
  }
12487
12647
  /**
12488
12648
  * Request parameters for getQueuedTranslations operation in TranslationInspectionsApi.
package/dist/esm/api.js CHANGED
@@ -4169,6 +4169,53 @@ export const SceneAnnotationsApiAxiosParamCreator = function (configuration) {
4169
4169
  options: localVarRequestOptions,
4170
4170
  };
4171
4171
  }),
4172
+ /**
4173
+ * Get `scene-annotation-sets` for a `scene`.
4174
+ * @param {string} id The &#x60;scene&#x60; ID.
4175
+ * @param {string} [pageCursor] The cursor for the next page of items.
4176
+ * @param {number} [pageSize] The number of items to return.
4177
+ * @param {string} [filterId] Comma-separated list of IDs to filter on.
4178
+ * @param {string} [filterSuppliedId] Comma-separated list of supplied IDs to filter on.
4179
+ * @param {*} [options] Override http request option.
4180
+ * @throws {RequiredError}
4181
+ */
4182
+ getSceneAnnotationSets: (id, pageCursor, pageSize, filterId, filterSuppliedId, options = {}) => __awaiter(this, void 0, void 0, function* () {
4183
+ var _d;
4184
+ // verify required parameter 'id' is not null or undefined
4185
+ assertParamExists('getSceneAnnotationSets', 'id', id);
4186
+ const localVarPath = `/scenes/{id}/scene-annotation-sets`.replace(`{${'id'}}`, encodeURIComponent(String(id)));
4187
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
4188
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
4189
+ let baseOptions;
4190
+ if (configuration) {
4191
+ baseOptions = configuration.baseOptions;
4192
+ }
4193
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
4194
+ const localVarHeaderParameter = {};
4195
+ const localVarQueryParameter = {};
4196
+ // authentication OAuth2 required
4197
+ // oauth required
4198
+ yield setOAuthToObject(localVarHeaderParameter, 'OAuth2', [], configuration);
4199
+ if (pageCursor !== undefined) {
4200
+ localVarQueryParameter['page[cursor]'] = pageCursor;
4201
+ }
4202
+ if (pageSize !== undefined) {
4203
+ localVarQueryParameter['page[size]'] = pageSize;
4204
+ }
4205
+ if (filterId !== undefined) {
4206
+ localVarQueryParameter['filter[id]'] = filterId;
4207
+ }
4208
+ if (filterSuppliedId !== undefined) {
4209
+ localVarQueryParameter['filter[suppliedId]'] = filterSuppliedId;
4210
+ }
4211
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
4212
+ let headersFromBaseOptions = (_d = baseOptions === null || baseOptions === void 0 ? void 0 : baseOptions.headers) !== null && _d !== void 0 ? _d : {};
4213
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
4214
+ return {
4215
+ url: toPathString(localVarUrlObj),
4216
+ options: localVarRequestOptions,
4217
+ };
4218
+ }),
4172
4219
  /**
4173
4220
  * Update the attributes of an annotation. **Preview:** This is a preview API and is subject to change.
4174
4221
  * @param {string} id The &#x60;scene-annotation&#x60; ID.
@@ -4177,7 +4224,7 @@ export const SceneAnnotationsApiAxiosParamCreator = function (configuration) {
4177
4224
  * @throws {RequiredError}
4178
4225
  */
4179
4226
  updateSceneAnnotation: (id, updateSceneAnnotationRequest, options = {}) => __awaiter(this, void 0, void 0, function* () {
4180
- var _d;
4227
+ var _e;
4181
4228
  // verify required parameter 'id' is not null or undefined
4182
4229
  assertParamExists('updateSceneAnnotation', 'id', id);
4183
4230
  // verify required parameter 'updateSceneAnnotationRequest' is not null or undefined
@@ -4197,7 +4244,7 @@ export const SceneAnnotationsApiAxiosParamCreator = function (configuration) {
4197
4244
  yield setOAuthToObject(localVarHeaderParameter, 'OAuth2', [], configuration);
4198
4245
  localVarHeaderParameter['Content-Type'] = 'application/vnd.api+json';
4199
4246
  setSearchParams(localVarUrlObj, localVarQueryParameter);
4200
- let headersFromBaseOptions = (_d = baseOptions === null || baseOptions === void 0 ? void 0 : baseOptions.headers) !== null && _d !== void 0 ? _d : {};
4247
+ let headersFromBaseOptions = (_e = baseOptions === null || baseOptions === void 0 ? void 0 : baseOptions.headers) !== null && _e !== void 0 ? _e : {};
4201
4248
  localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
4202
4249
  localVarRequestOptions.data = serializeDataIfNeeded(updateSceneAnnotationRequest, localVarRequestOptions, configuration);
4203
4250
  return {
@@ -4252,6 +4299,22 @@ export const SceneAnnotationsApiFp = function (configuration) {
4252
4299
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
4253
4300
  });
4254
4301
  },
4302
+ /**
4303
+ * Get `scene-annotation-sets` for a `scene`.
4304
+ * @param {string} id The &#x60;scene&#x60; ID.
4305
+ * @param {string} [pageCursor] The cursor for the next page of items.
4306
+ * @param {number} [pageSize] The number of items to return.
4307
+ * @param {string} [filterId] Comma-separated list of IDs to filter on.
4308
+ * @param {string} [filterSuppliedId] Comma-separated list of supplied IDs to filter on.
4309
+ * @param {*} [options] Override http request option.
4310
+ * @throws {RequiredError}
4311
+ */
4312
+ getSceneAnnotationSets(id, pageCursor, pageSize, filterId, filterSuppliedId, options) {
4313
+ return __awaiter(this, void 0, void 0, function* () {
4314
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.getSceneAnnotationSets(id, pageCursor, pageSize, filterId, filterSuppliedId, options);
4315
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
4316
+ });
4317
+ },
4255
4318
  /**
4256
4319
  * Update the attributes of an annotation. **Preview:** This is a preview API and is subject to change.
4257
4320
  * @param {string} id The &#x60;scene-annotation&#x60; ID.
@@ -4309,6 +4372,21 @@ export const SceneAnnotationsApiFactory = function (configuration, basePath, axi
4309
4372
  .deleteSceneAnnotation(id, options)
4310
4373
  .then((request) => request(axios, basePath));
4311
4374
  },
4375
+ /**
4376
+ * Get `scene-annotation-sets` for a `scene`.
4377
+ * @param {string} id The &#x60;scene&#x60; ID.
4378
+ * @param {string} [pageCursor] The cursor for the next page of items.
4379
+ * @param {number} [pageSize] The number of items to return.
4380
+ * @param {string} [filterId] Comma-separated list of IDs to filter on.
4381
+ * @param {string} [filterSuppliedId] Comma-separated list of supplied IDs to filter on.
4382
+ * @param {*} [options] Override http request option.
4383
+ * @throws {RequiredError}
4384
+ */
4385
+ getSceneAnnotationSets(id, pageCursor, pageSize, filterId, filterSuppliedId, options) {
4386
+ return localVarFp
4387
+ .getSceneAnnotationSets(id, pageCursor, pageSize, filterId, filterSuppliedId, options)
4388
+ .then((request) => request(axios, basePath));
4389
+ },
4312
4390
  /**
4313
4391
  * Update the attributes of an annotation. **Preview:** This is a preview API and is subject to change.
4314
4392
  * @param {string} id The &#x60;scene-annotation&#x60; ID.
@@ -4366,6 +4444,18 @@ export class SceneAnnotationsApi extends BaseAPI {
4366
4444
  .deleteSceneAnnotation(requestParameters.id, options)
4367
4445
  .then((request) => request(this.axios, this.basePath));
4368
4446
  }
4447
+ /**
4448
+ * Get `scene-annotation-sets` for a `scene`.
4449
+ * @param {SceneAnnotationsApiGetSceneAnnotationSetsRequest} requestParameters Request parameters.
4450
+ * @param {*} [options] Override http request option.
4451
+ * @throws {RequiredError}
4452
+ * @memberof SceneAnnotationsApi
4453
+ */
4454
+ getSceneAnnotationSets(requestParameters, options) {
4455
+ return SceneAnnotationsApiFp(this.configuration)
4456
+ .getSceneAnnotationSets(requestParameters.id, requestParameters.pageCursor, requestParameters.pageSize, requestParameters.filterId, requestParameters.filterSuppliedId, options)
4457
+ .then((request) => request(this.axios, this.basePath));
4458
+ }
4369
4459
  /**
4370
4460
  * Update the attributes of an annotation. **Preview:** This is a preview API and is subject to change.
4371
4461
  * @param {SceneAnnotationsApiUpdateSceneAnnotationRequest} requestParameters Request parameters.
@@ -7505,11 +7595,13 @@ export const TranslationInspectionsApiAxiosParamCreator = function (configuratio
7505
7595
  * Get all current translation jobs in progress.
7506
7596
  * @param {string} [pageCursor] The cursor for the next page of items.
7507
7597
  * @param {number} [pageSize] The number of items to return.
7598
+ * @param {string} [sort] A sort to apply to the collection. A \&quot;minus\&quot; prefixed before the field name is used to specify descending sort order.
7508
7599
  * @param {string} [filterStatus] Status to filter on.
7600
+ * @param {FilterExpression} [filterCompletedAt] The completion date and time to filter on.
7509
7601
  * @param {*} [options] Override http request option.
7510
7602
  * @throws {RequiredError}
7511
7603
  */
7512
- getQueuedTranslationJobs: (pageCursor, pageSize, filterStatus, options = {}) => __awaiter(this, void 0, void 0, function* () {
7604
+ getQueuedTranslationJobs: (pageCursor, pageSize, sort, filterStatus, filterCompletedAt, options = {}) => __awaiter(this, void 0, void 0, function* () {
7513
7605
  var _e;
7514
7606
  const localVarPath = `/queued-translation-jobs`;
7515
7607
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
@@ -7530,9 +7622,15 @@ export const TranslationInspectionsApiAxiosParamCreator = function (configuratio
7530
7622
  if (pageSize !== undefined) {
7531
7623
  localVarQueryParameter['page[size]'] = pageSize;
7532
7624
  }
7625
+ if (sort !== undefined) {
7626
+ localVarQueryParameter['sort'] = sort;
7627
+ }
7533
7628
  if (filterStatus !== undefined) {
7534
7629
  localVarQueryParameter['filter[status]'] = filterStatus;
7535
7630
  }
7631
+ if (filterCompletedAt !== undefined) {
7632
+ localVarQueryParameter['filter[completedAt]'] = filterCompletedAt;
7633
+ }
7536
7634
  setSearchParams(localVarUrlObj, localVarQueryParameter);
7537
7635
  let headersFromBaseOptions = (_e = baseOptions === null || baseOptions === void 0 ? void 0 : baseOptions.headers) !== null && _e !== void 0 ? _e : {};
7538
7636
  localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
@@ -7644,13 +7742,15 @@ export const TranslationInspectionsApiFp = function (configuration) {
7644
7742
  * Get all current translation jobs in progress.
7645
7743
  * @param {string} [pageCursor] The cursor for the next page of items.
7646
7744
  * @param {number} [pageSize] The number of items to return.
7745
+ * @param {string} [sort] A sort to apply to the collection. A \&quot;minus\&quot; prefixed before the field name is used to specify descending sort order.
7647
7746
  * @param {string} [filterStatus] Status to filter on.
7747
+ * @param {FilterExpression} [filterCompletedAt] The completion date and time to filter on.
7648
7748
  * @param {*} [options] Override http request option.
7649
7749
  * @throws {RequiredError}
7650
7750
  */
7651
- getQueuedTranslationJobs(pageCursor, pageSize, filterStatus, options) {
7751
+ getQueuedTranslationJobs(pageCursor, pageSize, sort, filterStatus, filterCompletedAt, options) {
7652
7752
  return __awaiter(this, void 0, void 0, function* () {
7653
- const localVarAxiosArgs = yield localVarAxiosParamCreator.getQueuedTranslationJobs(pageCursor, pageSize, filterStatus, options);
7753
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.getQueuedTranslationJobs(pageCursor, pageSize, sort, filterStatus, filterCompletedAt, options);
7654
7754
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
7655
7755
  });
7656
7756
  },
@@ -7727,13 +7827,15 @@ export const TranslationInspectionsApiFactory = function (configuration, basePat
7727
7827
  * Get all current translation jobs in progress.
7728
7828
  * @param {string} [pageCursor] The cursor for the next page of items.
7729
7829
  * @param {number} [pageSize] The number of items to return.
7830
+ * @param {string} [sort] A sort to apply to the collection. A \&quot;minus\&quot; prefixed before the field name is used to specify descending sort order.
7730
7831
  * @param {string} [filterStatus] Status to filter on.
7832
+ * @param {FilterExpression} [filterCompletedAt] The completion date and time to filter on.
7731
7833
  * @param {*} [options] Override http request option.
7732
7834
  * @throws {RequiredError}
7733
7835
  */
7734
- getQueuedTranslationJobs(pageCursor, pageSize, filterStatus, options) {
7836
+ getQueuedTranslationJobs(pageCursor, pageSize, sort, filterStatus, filterCompletedAt, options) {
7735
7837
  return localVarFp
7736
- .getQueuedTranslationJobs(pageCursor, pageSize, filterStatus, options)
7838
+ .getQueuedTranslationJobs(pageCursor, pageSize, sort, filterStatus, filterCompletedAt, options)
7737
7839
  .then((request) => request(axios, basePath));
7738
7840
  },
7739
7841
  /**
@@ -7817,7 +7919,7 @@ export class TranslationInspectionsApi extends BaseAPI {
7817
7919
  */
7818
7920
  getQueuedTranslationJobs(requestParameters = {}, options) {
7819
7921
  return TranslationInspectionsApiFp(this.configuration)
7820
- .getQueuedTranslationJobs(requestParameters.pageCursor, requestParameters.pageSize, requestParameters.filterStatus, options)
7922
+ .getQueuedTranslationJobs(requestParameters.pageCursor, requestParameters.pageSize, requestParameters.sort, requestParameters.filterStatus, requestParameters.filterCompletedAt, options)
7821
7923
  .then((request) => request(this.axios, this.basePath));
7822
7924
  }
7823
7925
  /**
@@ -1 +1 @@
1
- export declare const version = "0.22.6";
1
+ export declare const version = "0.23.0";
@@ -1 +1 @@
1
- export const version = '0.22.6';
1
+ export const version = '0.23.0';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vertexvis/api-client-node",
3
- "version": "0.22.6",
3
+ "version": "0.23.0",
4
4
  "description": "The Vertex REST API client for Node.js.",
5
5
  "license": "MIT",
6
6
  "author": "Vertex Developers <support@vertexvis.com> (https://developer.vertexvis.com)",