@vertexvis/api-client-node 0.22.6 → 0.23.1
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 +712 -4
- package/dist/cjs/api.js +576 -12
- package/dist/cjs/client/version.d.ts +1 -1
- package/dist/cjs/client/version.js +1 -1
- package/dist/esm/api.d.ts +712 -4
- package/dist/esm/api.js +566 -10
- package/dist/esm/client/version.d.ts +1 -1
- package/dist/esm/client/version.js +1 -1
- package/package.json +1 -1
package/dist/esm/api.js
CHANGED
|
@@ -1534,6 +1534,42 @@ export const FilesApiAxiosParamCreator = function (configuration) {
|
|
|
1534
1534
|
options: localVarRequestOptions,
|
|
1535
1535
|
};
|
|
1536
1536
|
}),
|
|
1537
|
+
/**
|
|
1538
|
+
* Update a `file`.
|
|
1539
|
+
* @param {string} id The `file` ID.
|
|
1540
|
+
* @param {UpdateFileRequest} updateFileRequest
|
|
1541
|
+
* @param {*} [options] Override http request option.
|
|
1542
|
+
* @throws {RequiredError}
|
|
1543
|
+
*/
|
|
1544
|
+
updateFile: (id, updateFileRequest, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
1545
|
+
var _e;
|
|
1546
|
+
// verify required parameter 'id' is not null or undefined
|
|
1547
|
+
assertParamExists('updateFile', 'id', id);
|
|
1548
|
+
// verify required parameter 'updateFileRequest' is not null or undefined
|
|
1549
|
+
assertParamExists('updateFile', 'updateFileRequest', updateFileRequest);
|
|
1550
|
+
const localVarPath = `/files/{id}`.replace(`{${'id'}}`, encodeURIComponent(String(id)));
|
|
1551
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
1552
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
1553
|
+
let baseOptions;
|
|
1554
|
+
if (configuration) {
|
|
1555
|
+
baseOptions = configuration.baseOptions;
|
|
1556
|
+
}
|
|
1557
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'PATCH' }, baseOptions), options);
|
|
1558
|
+
const localVarHeaderParameter = {};
|
|
1559
|
+
const localVarQueryParameter = {};
|
|
1560
|
+
// authentication OAuth2 required
|
|
1561
|
+
// oauth required
|
|
1562
|
+
yield setOAuthToObject(localVarHeaderParameter, 'OAuth2', [], configuration);
|
|
1563
|
+
localVarHeaderParameter['Content-Type'] = 'application/vnd.api+json';
|
|
1564
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
1565
|
+
let headersFromBaseOptions = (_e = baseOptions === null || baseOptions === void 0 ? void 0 : baseOptions.headers) !== null && _e !== void 0 ? _e : {};
|
|
1566
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
1567
|
+
localVarRequestOptions.data = serializeDataIfNeeded(updateFileRequest, localVarRequestOptions, configuration);
|
|
1568
|
+
return {
|
|
1569
|
+
url: toPathString(localVarUrlObj),
|
|
1570
|
+
options: localVarRequestOptions,
|
|
1571
|
+
};
|
|
1572
|
+
}),
|
|
1537
1573
|
/**
|
|
1538
1574
|
* Upload a `file`. Once uploaded, create either parts or geometry sets via the createPart or createGeometrySet APIs.
|
|
1539
1575
|
* @param {string} id The `file` ID.
|
|
@@ -1542,7 +1578,7 @@ export const FilesApiAxiosParamCreator = function (configuration) {
|
|
|
1542
1578
|
* @throws {RequiredError}
|
|
1543
1579
|
*/
|
|
1544
1580
|
uploadFile: (id, body, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
1545
|
-
var
|
|
1581
|
+
var _f;
|
|
1546
1582
|
// verify required parameter 'id' is not null or undefined
|
|
1547
1583
|
assertParamExists('uploadFile', 'id', id);
|
|
1548
1584
|
// verify required parameter 'body' is not null or undefined
|
|
@@ -1562,7 +1598,7 @@ export const FilesApiAxiosParamCreator = function (configuration) {
|
|
|
1562
1598
|
yield setOAuthToObject(localVarHeaderParameter, 'OAuth2', [], configuration);
|
|
1563
1599
|
localVarHeaderParameter['Content-Type'] = 'application/octet-stream';
|
|
1564
1600
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
1565
|
-
let headersFromBaseOptions = (
|
|
1601
|
+
let headersFromBaseOptions = (_f = baseOptions === null || baseOptions === void 0 ? void 0 : baseOptions.headers) !== null && _f !== void 0 ? _f : {};
|
|
1566
1602
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
1567
1603
|
localVarRequestOptions.data = serializeDataIfNeeded(body, localVarRequestOptions, configuration);
|
|
1568
1604
|
return {
|
|
@@ -1629,6 +1665,19 @@ export const FilesApiFp = function (configuration) {
|
|
|
1629
1665
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
1630
1666
|
});
|
|
1631
1667
|
},
|
|
1668
|
+
/**
|
|
1669
|
+
* Update a `file`.
|
|
1670
|
+
* @param {string} id The `file` ID.
|
|
1671
|
+
* @param {UpdateFileRequest} updateFileRequest
|
|
1672
|
+
* @param {*} [options] Override http request option.
|
|
1673
|
+
* @throws {RequiredError}
|
|
1674
|
+
*/
|
|
1675
|
+
updateFile(id, updateFileRequest, options) {
|
|
1676
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
1677
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.updateFile(id, updateFileRequest, options);
|
|
1678
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
1679
|
+
});
|
|
1680
|
+
},
|
|
1632
1681
|
/**
|
|
1633
1682
|
* Upload a `file`. Once uploaded, create either parts or geometry sets via the createPart or createGeometrySet APIs.
|
|
1634
1683
|
* @param {string} id The `file` ID.
|
|
@@ -1697,6 +1746,18 @@ export const FilesApiFactory = function (configuration, basePath, axios) {
|
|
|
1697
1746
|
.getFiles(pageCursor, pageSize, filterSuppliedId, options)
|
|
1698
1747
|
.then((request) => request(axios, basePath));
|
|
1699
1748
|
},
|
|
1749
|
+
/**
|
|
1750
|
+
* Update a `file`.
|
|
1751
|
+
* @param {string} id The `file` ID.
|
|
1752
|
+
* @param {UpdateFileRequest} updateFileRequest
|
|
1753
|
+
* @param {*} [options] Override http request option.
|
|
1754
|
+
* @throws {RequiredError}
|
|
1755
|
+
*/
|
|
1756
|
+
updateFile(id, updateFileRequest, options) {
|
|
1757
|
+
return localVarFp
|
|
1758
|
+
.updateFile(id, updateFileRequest, options)
|
|
1759
|
+
.then((request) => request(axios, basePath));
|
|
1760
|
+
},
|
|
1700
1761
|
/**
|
|
1701
1762
|
* Upload a `file`. Once uploaded, create either parts or geometry sets via the createPart or createGeometrySet APIs.
|
|
1702
1763
|
* @param {string} id The `file` ID.
|
|
@@ -1766,6 +1827,18 @@ export class FilesApi extends BaseAPI {
|
|
|
1766
1827
|
.getFiles(requestParameters.pageCursor, requestParameters.pageSize, requestParameters.filterSuppliedId, options)
|
|
1767
1828
|
.then((request) => request(this.axios, this.basePath));
|
|
1768
1829
|
}
|
|
1830
|
+
/**
|
|
1831
|
+
* Update a `file`.
|
|
1832
|
+
* @param {FilesApiUpdateFileRequest} requestParameters Request parameters.
|
|
1833
|
+
* @param {*} [options] Override http request option.
|
|
1834
|
+
* @throws {RequiredError}
|
|
1835
|
+
* @memberof FilesApi
|
|
1836
|
+
*/
|
|
1837
|
+
updateFile(requestParameters, options) {
|
|
1838
|
+
return FilesApiFp(this.configuration)
|
|
1839
|
+
.updateFile(requestParameters.id, requestParameters.updateFileRequest, options)
|
|
1840
|
+
.then((request) => request(this.axios, this.basePath));
|
|
1841
|
+
}
|
|
1769
1842
|
/**
|
|
1770
1843
|
* Upload a `file`. Once uploaded, create either parts or geometry sets via the createPart or createGeometrySet APIs.
|
|
1771
1844
|
* @param {FilesApiUploadFileRequest} requestParameters Request parameters.
|
|
@@ -2224,6 +2297,274 @@ export class HitsApi extends BaseAPI {
|
|
|
2224
2297
|
.then((request) => request(this.axios, this.basePath));
|
|
2225
2298
|
}
|
|
2226
2299
|
}
|
|
2300
|
+
/**
|
|
2301
|
+
* ModelViewsApi - axios parameter creator
|
|
2302
|
+
* @export
|
|
2303
|
+
*/
|
|
2304
|
+
export const ModelViewsApiAxiosParamCreator = function (configuration) {
|
|
2305
|
+
return {
|
|
2306
|
+
/**
|
|
2307
|
+
* Get the details of a `model-view`.
|
|
2308
|
+
* @param {string} id The `model-view` ID.
|
|
2309
|
+
* @param {*} [options] Override http request option.
|
|
2310
|
+
* @throws {RequiredError}
|
|
2311
|
+
*/
|
|
2312
|
+
getModelView: (id, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
2313
|
+
var _a;
|
|
2314
|
+
// verify required parameter 'id' is not null or undefined
|
|
2315
|
+
assertParamExists('getModelView', 'id', id);
|
|
2316
|
+
const localVarPath = `/model-views/{id}`.replace(`{${'id'}}`, encodeURIComponent(String(id)));
|
|
2317
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
2318
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
2319
|
+
let baseOptions;
|
|
2320
|
+
if (configuration) {
|
|
2321
|
+
baseOptions = configuration.baseOptions;
|
|
2322
|
+
}
|
|
2323
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
2324
|
+
const localVarHeaderParameter = {};
|
|
2325
|
+
const localVarQueryParameter = {};
|
|
2326
|
+
// authentication OAuth2 required
|
|
2327
|
+
// oauth required
|
|
2328
|
+
yield setOAuthToObject(localVarHeaderParameter, 'OAuth2', [], configuration);
|
|
2329
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
2330
|
+
let headersFromBaseOptions = (_a = baseOptions === null || baseOptions === void 0 ? void 0 : baseOptions.headers) !== null && _a !== void 0 ? _a : {};
|
|
2331
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
2332
|
+
return {
|
|
2333
|
+
url: toPathString(localVarUrlObj),
|
|
2334
|
+
options: localVarRequestOptions,
|
|
2335
|
+
};
|
|
2336
|
+
}),
|
|
2337
|
+
/**
|
|
2338
|
+
* Get a paged list of `model-views` for a part revision.
|
|
2339
|
+
* @param {string} id The `part-revision` ID.
|
|
2340
|
+
* @param {boolean} [filterHasAnnotations] Filter model views that contain or do not contain annotations.
|
|
2341
|
+
* @param {string} [pageCursor] The cursor for the next page of items.
|
|
2342
|
+
* @param {number} [pageSize] The number of items to return.
|
|
2343
|
+
* @param {*} [options] Override http request option.
|
|
2344
|
+
* @throws {RequiredError}
|
|
2345
|
+
*/
|
|
2346
|
+
getPartRevisionModelViews: (id, filterHasAnnotations, pageCursor, pageSize, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
2347
|
+
var _b;
|
|
2348
|
+
// verify required parameter 'id' is not null or undefined
|
|
2349
|
+
assertParamExists('getPartRevisionModelViews', 'id', id);
|
|
2350
|
+
const localVarPath = `/part-revisions/{id}/model-views`.replace(`{${'id'}}`, encodeURIComponent(String(id)));
|
|
2351
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
2352
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
2353
|
+
let baseOptions;
|
|
2354
|
+
if (configuration) {
|
|
2355
|
+
baseOptions = configuration.baseOptions;
|
|
2356
|
+
}
|
|
2357
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
2358
|
+
const localVarHeaderParameter = {};
|
|
2359
|
+
const localVarQueryParameter = {};
|
|
2360
|
+
// authentication OAuth2 required
|
|
2361
|
+
// oauth required
|
|
2362
|
+
yield setOAuthToObject(localVarHeaderParameter, 'OAuth2', [], configuration);
|
|
2363
|
+
if (filterHasAnnotations !== undefined) {
|
|
2364
|
+
localVarQueryParameter['filter[hasAnnotations]'] = filterHasAnnotations;
|
|
2365
|
+
}
|
|
2366
|
+
if (pageCursor !== undefined) {
|
|
2367
|
+
localVarQueryParameter['page[cursor]'] = pageCursor;
|
|
2368
|
+
}
|
|
2369
|
+
if (pageSize !== undefined) {
|
|
2370
|
+
localVarQueryParameter['page[size]'] = pageSize;
|
|
2371
|
+
}
|
|
2372
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
2373
|
+
let headersFromBaseOptions = (_b = baseOptions === null || baseOptions === void 0 ? void 0 : baseOptions.headers) !== null && _b !== void 0 ? _b : {};
|
|
2374
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
2375
|
+
return {
|
|
2376
|
+
url: toPathString(localVarUrlObj),
|
|
2377
|
+
options: localVarRequestOptions,
|
|
2378
|
+
};
|
|
2379
|
+
}),
|
|
2380
|
+
/**
|
|
2381
|
+
* Get a paged list of `model-views` for a scene item.
|
|
2382
|
+
* @param {string} id The `scene-item` ID.
|
|
2383
|
+
* @param {boolean} [filterHasAnnotations] Filter model views that contain or do not contain annotations.
|
|
2384
|
+
* @param {string} [pageCursor] The cursor for the next page of items.
|
|
2385
|
+
* @param {number} [pageSize] The number of items to return.
|
|
2386
|
+
* @param {*} [options] Override http request option.
|
|
2387
|
+
* @throws {RequiredError}
|
|
2388
|
+
*/
|
|
2389
|
+
getSceneItemModelViews: (id, filterHasAnnotations, pageCursor, pageSize, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
2390
|
+
var _c;
|
|
2391
|
+
// verify required parameter 'id' is not null or undefined
|
|
2392
|
+
assertParamExists('getSceneItemModelViews', 'id', id);
|
|
2393
|
+
const localVarPath = `/scene-items/{id}/model-views`.replace(`{${'id'}}`, encodeURIComponent(String(id)));
|
|
2394
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
2395
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
2396
|
+
let baseOptions;
|
|
2397
|
+
if (configuration) {
|
|
2398
|
+
baseOptions = configuration.baseOptions;
|
|
2399
|
+
}
|
|
2400
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
2401
|
+
const localVarHeaderParameter = {};
|
|
2402
|
+
const localVarQueryParameter = {};
|
|
2403
|
+
// authentication OAuth2 required
|
|
2404
|
+
// oauth required
|
|
2405
|
+
yield setOAuthToObject(localVarHeaderParameter, 'OAuth2', [], configuration);
|
|
2406
|
+
if (filterHasAnnotations !== undefined) {
|
|
2407
|
+
localVarQueryParameter['filter[hasAnnotations]'] = filterHasAnnotations;
|
|
2408
|
+
}
|
|
2409
|
+
if (pageCursor !== undefined) {
|
|
2410
|
+
localVarQueryParameter['page[cursor]'] = pageCursor;
|
|
2411
|
+
}
|
|
2412
|
+
if (pageSize !== undefined) {
|
|
2413
|
+
localVarQueryParameter['page[size]'] = pageSize;
|
|
2414
|
+
}
|
|
2415
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
2416
|
+
let headersFromBaseOptions = (_c = baseOptions === null || baseOptions === void 0 ? void 0 : baseOptions.headers) !== null && _c !== void 0 ? _c : {};
|
|
2417
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
2418
|
+
return {
|
|
2419
|
+
url: toPathString(localVarUrlObj),
|
|
2420
|
+
options: localVarRequestOptions,
|
|
2421
|
+
};
|
|
2422
|
+
}),
|
|
2423
|
+
};
|
|
2424
|
+
};
|
|
2425
|
+
/**
|
|
2426
|
+
* ModelViewsApi - functional programming interface
|
|
2427
|
+
* @export
|
|
2428
|
+
*/
|
|
2429
|
+
export const ModelViewsApiFp = function (configuration) {
|
|
2430
|
+
const localVarAxiosParamCreator = ModelViewsApiAxiosParamCreator(configuration);
|
|
2431
|
+
return {
|
|
2432
|
+
/**
|
|
2433
|
+
* Get the details of a `model-view`.
|
|
2434
|
+
* @param {string} id The `model-view` ID.
|
|
2435
|
+
* @param {*} [options] Override http request option.
|
|
2436
|
+
* @throws {RequiredError}
|
|
2437
|
+
*/
|
|
2438
|
+
getModelView(id, options) {
|
|
2439
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
2440
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.getModelView(id, options);
|
|
2441
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
2442
|
+
});
|
|
2443
|
+
},
|
|
2444
|
+
/**
|
|
2445
|
+
* Get a paged list of `model-views` for a part revision.
|
|
2446
|
+
* @param {string} id The `part-revision` ID.
|
|
2447
|
+
* @param {boolean} [filterHasAnnotations] Filter model views that contain or do not contain annotations.
|
|
2448
|
+
* @param {string} [pageCursor] The cursor for the next page of items.
|
|
2449
|
+
* @param {number} [pageSize] The number of items to return.
|
|
2450
|
+
* @param {*} [options] Override http request option.
|
|
2451
|
+
* @throws {RequiredError}
|
|
2452
|
+
*/
|
|
2453
|
+
getPartRevisionModelViews(id, filterHasAnnotations, pageCursor, pageSize, options) {
|
|
2454
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
2455
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.getPartRevisionModelViews(id, filterHasAnnotations, pageCursor, pageSize, options);
|
|
2456
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
2457
|
+
});
|
|
2458
|
+
},
|
|
2459
|
+
/**
|
|
2460
|
+
* Get a paged list of `model-views` for a scene item.
|
|
2461
|
+
* @param {string} id The `scene-item` ID.
|
|
2462
|
+
* @param {boolean} [filterHasAnnotations] Filter model views that contain or do not contain annotations.
|
|
2463
|
+
* @param {string} [pageCursor] The cursor for the next page of items.
|
|
2464
|
+
* @param {number} [pageSize] The number of items to return.
|
|
2465
|
+
* @param {*} [options] Override http request option.
|
|
2466
|
+
* @throws {RequiredError}
|
|
2467
|
+
*/
|
|
2468
|
+
getSceneItemModelViews(id, filterHasAnnotations, pageCursor, pageSize, options) {
|
|
2469
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
2470
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.getSceneItemModelViews(id, filterHasAnnotations, pageCursor, pageSize, options);
|
|
2471
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
2472
|
+
});
|
|
2473
|
+
},
|
|
2474
|
+
};
|
|
2475
|
+
};
|
|
2476
|
+
/**
|
|
2477
|
+
* ModelViewsApi - factory interface
|
|
2478
|
+
* @export
|
|
2479
|
+
*/
|
|
2480
|
+
export const ModelViewsApiFactory = function (configuration, basePath, axios) {
|
|
2481
|
+
const localVarFp = ModelViewsApiFp(configuration);
|
|
2482
|
+
return {
|
|
2483
|
+
/**
|
|
2484
|
+
* Get the details of a `model-view`.
|
|
2485
|
+
* @param {string} id The `model-view` ID.
|
|
2486
|
+
* @param {*} [options] Override http request option.
|
|
2487
|
+
* @throws {RequiredError}
|
|
2488
|
+
*/
|
|
2489
|
+
getModelView(id, options) {
|
|
2490
|
+
return localVarFp
|
|
2491
|
+
.getModelView(id, options)
|
|
2492
|
+
.then((request) => request(axios, basePath));
|
|
2493
|
+
},
|
|
2494
|
+
/**
|
|
2495
|
+
* Get a paged list of `model-views` for a part revision.
|
|
2496
|
+
* @param {string} id The `part-revision` ID.
|
|
2497
|
+
* @param {boolean} [filterHasAnnotations] Filter model views that contain or do not contain annotations.
|
|
2498
|
+
* @param {string} [pageCursor] The cursor for the next page of items.
|
|
2499
|
+
* @param {number} [pageSize] The number of items to return.
|
|
2500
|
+
* @param {*} [options] Override http request option.
|
|
2501
|
+
* @throws {RequiredError}
|
|
2502
|
+
*/
|
|
2503
|
+
getPartRevisionModelViews(id, filterHasAnnotations, pageCursor, pageSize, options) {
|
|
2504
|
+
return localVarFp
|
|
2505
|
+
.getPartRevisionModelViews(id, filterHasAnnotations, pageCursor, pageSize, options)
|
|
2506
|
+
.then((request) => request(axios, basePath));
|
|
2507
|
+
},
|
|
2508
|
+
/**
|
|
2509
|
+
* Get a paged list of `model-views` for a scene item.
|
|
2510
|
+
* @param {string} id The `scene-item` ID.
|
|
2511
|
+
* @param {boolean} [filterHasAnnotations] Filter model views that contain or do not contain annotations.
|
|
2512
|
+
* @param {string} [pageCursor] The cursor for the next page of items.
|
|
2513
|
+
* @param {number} [pageSize] The number of items to return.
|
|
2514
|
+
* @param {*} [options] Override http request option.
|
|
2515
|
+
* @throws {RequiredError}
|
|
2516
|
+
*/
|
|
2517
|
+
getSceneItemModelViews(id, filterHasAnnotations, pageCursor, pageSize, options) {
|
|
2518
|
+
return localVarFp
|
|
2519
|
+
.getSceneItemModelViews(id, filterHasAnnotations, pageCursor, pageSize, options)
|
|
2520
|
+
.then((request) => request(axios, basePath));
|
|
2521
|
+
},
|
|
2522
|
+
};
|
|
2523
|
+
};
|
|
2524
|
+
/**
|
|
2525
|
+
* ModelViewsApi - object-oriented interface
|
|
2526
|
+
* @export
|
|
2527
|
+
* @class ModelViewsApi
|
|
2528
|
+
* @extends {BaseAPI}
|
|
2529
|
+
*/
|
|
2530
|
+
export class ModelViewsApi extends BaseAPI {
|
|
2531
|
+
/**
|
|
2532
|
+
* Get the details of a `model-view`.
|
|
2533
|
+
* @param {ModelViewsApiGetModelViewRequest} requestParameters Request parameters.
|
|
2534
|
+
* @param {*} [options] Override http request option.
|
|
2535
|
+
* @throws {RequiredError}
|
|
2536
|
+
* @memberof ModelViewsApi
|
|
2537
|
+
*/
|
|
2538
|
+
getModelView(requestParameters, options) {
|
|
2539
|
+
return ModelViewsApiFp(this.configuration)
|
|
2540
|
+
.getModelView(requestParameters.id, options)
|
|
2541
|
+
.then((request) => request(this.axios, this.basePath));
|
|
2542
|
+
}
|
|
2543
|
+
/**
|
|
2544
|
+
* Get a paged list of `model-views` for a part revision.
|
|
2545
|
+
* @param {ModelViewsApiGetPartRevisionModelViewsRequest} requestParameters Request parameters.
|
|
2546
|
+
* @param {*} [options] Override http request option.
|
|
2547
|
+
* @throws {RequiredError}
|
|
2548
|
+
* @memberof ModelViewsApi
|
|
2549
|
+
*/
|
|
2550
|
+
getPartRevisionModelViews(requestParameters, options) {
|
|
2551
|
+
return ModelViewsApiFp(this.configuration)
|
|
2552
|
+
.getPartRevisionModelViews(requestParameters.id, requestParameters.filterHasAnnotations, requestParameters.pageCursor, requestParameters.pageSize, options)
|
|
2553
|
+
.then((request) => request(this.axios, this.basePath));
|
|
2554
|
+
}
|
|
2555
|
+
/**
|
|
2556
|
+
* Get a paged list of `model-views` for a scene item.
|
|
2557
|
+
* @param {ModelViewsApiGetSceneItemModelViewsRequest} requestParameters Request parameters.
|
|
2558
|
+
* @param {*} [options] Override http request option.
|
|
2559
|
+
* @throws {RequiredError}
|
|
2560
|
+
* @memberof ModelViewsApi
|
|
2561
|
+
*/
|
|
2562
|
+
getSceneItemModelViews(requestParameters, options) {
|
|
2563
|
+
return ModelViewsApiFp(this.configuration)
|
|
2564
|
+
.getSceneItemModelViews(requestParameters.id, requestParameters.filterHasAnnotations, requestParameters.pageCursor, requestParameters.pageSize, options)
|
|
2565
|
+
.then((request) => request(this.axios, this.basePath));
|
|
2566
|
+
}
|
|
2567
|
+
}
|
|
2227
2568
|
/**
|
|
2228
2569
|
* Oauth2Api - axios parameter creator
|
|
2229
2570
|
* @export
|
|
@@ -3755,6 +4096,119 @@ export class PartsApi extends BaseAPI {
|
|
|
3755
4096
|
.then((request) => request(this.axios, this.basePath));
|
|
3756
4097
|
}
|
|
3757
4098
|
}
|
|
4099
|
+
/**
|
|
4100
|
+
* PmiApi - axios parameter creator
|
|
4101
|
+
* @export
|
|
4102
|
+
*/
|
|
4103
|
+
export const PmiApiAxiosParamCreator = function (configuration) {
|
|
4104
|
+
return {
|
|
4105
|
+
/**
|
|
4106
|
+
* List `pmi-annotation`s.
|
|
4107
|
+
* @param {string} [filterModelViewId] Filter annotations belonging to a model view.
|
|
4108
|
+
* @param {string} [pageCursor] The cursor for the next page of items.
|
|
4109
|
+
* @param {number} [pageSize] The number of items to return.
|
|
4110
|
+
* @param {*} [options] Override http request option.
|
|
4111
|
+
* @throws {RequiredError}
|
|
4112
|
+
*/
|
|
4113
|
+
getPmiAnnotations: (filterModelViewId, pageCursor, pageSize, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
4114
|
+
var _a;
|
|
4115
|
+
const localVarPath = `/pmi-annotations`;
|
|
4116
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
4117
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
4118
|
+
let baseOptions;
|
|
4119
|
+
if (configuration) {
|
|
4120
|
+
baseOptions = configuration.baseOptions;
|
|
4121
|
+
}
|
|
4122
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
4123
|
+
const localVarHeaderParameter = {};
|
|
4124
|
+
const localVarQueryParameter = {};
|
|
4125
|
+
// authentication OAuth2 required
|
|
4126
|
+
// oauth required
|
|
4127
|
+
yield setOAuthToObject(localVarHeaderParameter, 'OAuth2', [], configuration);
|
|
4128
|
+
if (filterModelViewId !== undefined) {
|
|
4129
|
+
localVarQueryParameter['filter[modelViewId]'] = filterModelViewId;
|
|
4130
|
+
}
|
|
4131
|
+
if (pageCursor !== undefined) {
|
|
4132
|
+
localVarQueryParameter['page[cursor]'] = pageCursor;
|
|
4133
|
+
}
|
|
4134
|
+
if (pageSize !== undefined) {
|
|
4135
|
+
localVarQueryParameter['page[size]'] = pageSize;
|
|
4136
|
+
}
|
|
4137
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
4138
|
+
let headersFromBaseOptions = (_a = baseOptions === null || baseOptions === void 0 ? void 0 : baseOptions.headers) !== null && _a !== void 0 ? _a : {};
|
|
4139
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
4140
|
+
return {
|
|
4141
|
+
url: toPathString(localVarUrlObj),
|
|
4142
|
+
options: localVarRequestOptions,
|
|
4143
|
+
};
|
|
4144
|
+
}),
|
|
4145
|
+
};
|
|
4146
|
+
};
|
|
4147
|
+
/**
|
|
4148
|
+
* PmiApi - functional programming interface
|
|
4149
|
+
* @export
|
|
4150
|
+
*/
|
|
4151
|
+
export const PmiApiFp = function (configuration) {
|
|
4152
|
+
const localVarAxiosParamCreator = PmiApiAxiosParamCreator(configuration);
|
|
4153
|
+
return {
|
|
4154
|
+
/**
|
|
4155
|
+
* List `pmi-annotation`s.
|
|
4156
|
+
* @param {string} [filterModelViewId] Filter annotations belonging to a model view.
|
|
4157
|
+
* @param {string} [pageCursor] The cursor for the next page of items.
|
|
4158
|
+
* @param {number} [pageSize] The number of items to return.
|
|
4159
|
+
* @param {*} [options] Override http request option.
|
|
4160
|
+
* @throws {RequiredError}
|
|
4161
|
+
*/
|
|
4162
|
+
getPmiAnnotations(filterModelViewId, pageCursor, pageSize, options) {
|
|
4163
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
4164
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.getPmiAnnotations(filterModelViewId, pageCursor, pageSize, options);
|
|
4165
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
4166
|
+
});
|
|
4167
|
+
},
|
|
4168
|
+
};
|
|
4169
|
+
};
|
|
4170
|
+
/**
|
|
4171
|
+
* PmiApi - factory interface
|
|
4172
|
+
* @export
|
|
4173
|
+
*/
|
|
4174
|
+
export const PmiApiFactory = function (configuration, basePath, axios) {
|
|
4175
|
+
const localVarFp = PmiApiFp(configuration);
|
|
4176
|
+
return {
|
|
4177
|
+
/**
|
|
4178
|
+
* List `pmi-annotation`s.
|
|
4179
|
+
* @param {string} [filterModelViewId] Filter annotations belonging to a model view.
|
|
4180
|
+
* @param {string} [pageCursor] The cursor for the next page of items.
|
|
4181
|
+
* @param {number} [pageSize] The number of items to return.
|
|
4182
|
+
* @param {*} [options] Override http request option.
|
|
4183
|
+
* @throws {RequiredError}
|
|
4184
|
+
*/
|
|
4185
|
+
getPmiAnnotations(filterModelViewId, pageCursor, pageSize, options) {
|
|
4186
|
+
return localVarFp
|
|
4187
|
+
.getPmiAnnotations(filterModelViewId, pageCursor, pageSize, options)
|
|
4188
|
+
.then((request) => request(axios, basePath));
|
|
4189
|
+
},
|
|
4190
|
+
};
|
|
4191
|
+
};
|
|
4192
|
+
/**
|
|
4193
|
+
* PmiApi - object-oriented interface
|
|
4194
|
+
* @export
|
|
4195
|
+
* @class PmiApi
|
|
4196
|
+
* @extends {BaseAPI}
|
|
4197
|
+
*/
|
|
4198
|
+
export class PmiApi extends BaseAPI {
|
|
4199
|
+
/**
|
|
4200
|
+
* List `pmi-annotation`s.
|
|
4201
|
+
* @param {PmiApiGetPmiAnnotationsRequest} requestParameters Request parameters.
|
|
4202
|
+
* @param {*} [options] Override http request option.
|
|
4203
|
+
* @throws {RequiredError}
|
|
4204
|
+
* @memberof PmiApi
|
|
4205
|
+
*/
|
|
4206
|
+
getPmiAnnotations(requestParameters = {}, options) {
|
|
4207
|
+
return PmiApiFp(this.configuration)
|
|
4208
|
+
.getPmiAnnotations(requestParameters.filterModelViewId, requestParameters.pageCursor, requestParameters.pageSize, options)
|
|
4209
|
+
.then((request) => request(this.axios, this.basePath));
|
|
4210
|
+
}
|
|
4211
|
+
}
|
|
3758
4212
|
/**
|
|
3759
4213
|
* SceneAlterationsApi - axios parameter creator
|
|
3760
4214
|
* @export
|
|
@@ -4169,6 +4623,53 @@ export const SceneAnnotationsApiAxiosParamCreator = function (configuration) {
|
|
|
4169
4623
|
options: localVarRequestOptions,
|
|
4170
4624
|
};
|
|
4171
4625
|
}),
|
|
4626
|
+
/**
|
|
4627
|
+
* Get `scene-annotation-sets` for a `scene`.
|
|
4628
|
+
* @param {string} id The `scene` ID.
|
|
4629
|
+
* @param {string} [pageCursor] The cursor for the next page of items.
|
|
4630
|
+
* @param {number} [pageSize] The number of items to return.
|
|
4631
|
+
* @param {string} [filterId] Comma-separated list of IDs to filter on.
|
|
4632
|
+
* @param {string} [filterSuppliedId] Comma-separated list of supplied IDs to filter on.
|
|
4633
|
+
* @param {*} [options] Override http request option.
|
|
4634
|
+
* @throws {RequiredError}
|
|
4635
|
+
*/
|
|
4636
|
+
getSceneAnnotationSets: (id, pageCursor, pageSize, filterId, filterSuppliedId, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
4637
|
+
var _d;
|
|
4638
|
+
// verify required parameter 'id' is not null or undefined
|
|
4639
|
+
assertParamExists('getSceneAnnotationSets', 'id', id);
|
|
4640
|
+
const localVarPath = `/scenes/{id}/scene-annotation-sets`.replace(`{${'id'}}`, encodeURIComponent(String(id)));
|
|
4641
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
4642
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
4643
|
+
let baseOptions;
|
|
4644
|
+
if (configuration) {
|
|
4645
|
+
baseOptions = configuration.baseOptions;
|
|
4646
|
+
}
|
|
4647
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
4648
|
+
const localVarHeaderParameter = {};
|
|
4649
|
+
const localVarQueryParameter = {};
|
|
4650
|
+
// authentication OAuth2 required
|
|
4651
|
+
// oauth required
|
|
4652
|
+
yield setOAuthToObject(localVarHeaderParameter, 'OAuth2', [], configuration);
|
|
4653
|
+
if (pageCursor !== undefined) {
|
|
4654
|
+
localVarQueryParameter['page[cursor]'] = pageCursor;
|
|
4655
|
+
}
|
|
4656
|
+
if (pageSize !== undefined) {
|
|
4657
|
+
localVarQueryParameter['page[size]'] = pageSize;
|
|
4658
|
+
}
|
|
4659
|
+
if (filterId !== undefined) {
|
|
4660
|
+
localVarQueryParameter['filter[id]'] = filterId;
|
|
4661
|
+
}
|
|
4662
|
+
if (filterSuppliedId !== undefined) {
|
|
4663
|
+
localVarQueryParameter['filter[suppliedId]'] = filterSuppliedId;
|
|
4664
|
+
}
|
|
4665
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
4666
|
+
let headersFromBaseOptions = (_d = baseOptions === null || baseOptions === void 0 ? void 0 : baseOptions.headers) !== null && _d !== void 0 ? _d : {};
|
|
4667
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
4668
|
+
return {
|
|
4669
|
+
url: toPathString(localVarUrlObj),
|
|
4670
|
+
options: localVarRequestOptions,
|
|
4671
|
+
};
|
|
4672
|
+
}),
|
|
4172
4673
|
/**
|
|
4173
4674
|
* Update the attributes of an annotation. **Preview:** This is a preview API and is subject to change.
|
|
4174
4675
|
* @param {string} id The `scene-annotation` ID.
|
|
@@ -4177,7 +4678,7 @@ export const SceneAnnotationsApiAxiosParamCreator = function (configuration) {
|
|
|
4177
4678
|
* @throws {RequiredError}
|
|
4178
4679
|
*/
|
|
4179
4680
|
updateSceneAnnotation: (id, updateSceneAnnotationRequest, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
4180
|
-
var
|
|
4681
|
+
var _e;
|
|
4181
4682
|
// verify required parameter 'id' is not null or undefined
|
|
4182
4683
|
assertParamExists('updateSceneAnnotation', 'id', id);
|
|
4183
4684
|
// verify required parameter 'updateSceneAnnotationRequest' is not null or undefined
|
|
@@ -4197,7 +4698,7 @@ export const SceneAnnotationsApiAxiosParamCreator = function (configuration) {
|
|
|
4197
4698
|
yield setOAuthToObject(localVarHeaderParameter, 'OAuth2', [], configuration);
|
|
4198
4699
|
localVarHeaderParameter['Content-Type'] = 'application/vnd.api+json';
|
|
4199
4700
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
4200
|
-
let headersFromBaseOptions = (
|
|
4701
|
+
let headersFromBaseOptions = (_e = baseOptions === null || baseOptions === void 0 ? void 0 : baseOptions.headers) !== null && _e !== void 0 ? _e : {};
|
|
4201
4702
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
4202
4703
|
localVarRequestOptions.data = serializeDataIfNeeded(updateSceneAnnotationRequest, localVarRequestOptions, configuration);
|
|
4203
4704
|
return {
|
|
@@ -4252,6 +4753,22 @@ export const SceneAnnotationsApiFp = function (configuration) {
|
|
|
4252
4753
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
4253
4754
|
});
|
|
4254
4755
|
},
|
|
4756
|
+
/**
|
|
4757
|
+
* Get `scene-annotation-sets` for a `scene`.
|
|
4758
|
+
* @param {string} id The `scene` ID.
|
|
4759
|
+
* @param {string} [pageCursor] The cursor for the next page of items.
|
|
4760
|
+
* @param {number} [pageSize] The number of items to return.
|
|
4761
|
+
* @param {string} [filterId] Comma-separated list of IDs to filter on.
|
|
4762
|
+
* @param {string} [filterSuppliedId] Comma-separated list of supplied IDs to filter on.
|
|
4763
|
+
* @param {*} [options] Override http request option.
|
|
4764
|
+
* @throws {RequiredError}
|
|
4765
|
+
*/
|
|
4766
|
+
getSceneAnnotationSets(id, pageCursor, pageSize, filterId, filterSuppliedId, options) {
|
|
4767
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
4768
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.getSceneAnnotationSets(id, pageCursor, pageSize, filterId, filterSuppliedId, options);
|
|
4769
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
4770
|
+
});
|
|
4771
|
+
},
|
|
4255
4772
|
/**
|
|
4256
4773
|
* Update the attributes of an annotation. **Preview:** This is a preview API and is subject to change.
|
|
4257
4774
|
* @param {string} id The `scene-annotation` ID.
|
|
@@ -4309,6 +4826,21 @@ export const SceneAnnotationsApiFactory = function (configuration, basePath, axi
|
|
|
4309
4826
|
.deleteSceneAnnotation(id, options)
|
|
4310
4827
|
.then((request) => request(axios, basePath));
|
|
4311
4828
|
},
|
|
4829
|
+
/**
|
|
4830
|
+
* Get `scene-annotation-sets` for a `scene`.
|
|
4831
|
+
* @param {string} id The `scene` ID.
|
|
4832
|
+
* @param {string} [pageCursor] The cursor for the next page of items.
|
|
4833
|
+
* @param {number} [pageSize] The number of items to return.
|
|
4834
|
+
* @param {string} [filterId] Comma-separated list of IDs to filter on.
|
|
4835
|
+
* @param {string} [filterSuppliedId] Comma-separated list of supplied IDs to filter on.
|
|
4836
|
+
* @param {*} [options] Override http request option.
|
|
4837
|
+
* @throws {RequiredError}
|
|
4838
|
+
*/
|
|
4839
|
+
getSceneAnnotationSets(id, pageCursor, pageSize, filterId, filterSuppliedId, options) {
|
|
4840
|
+
return localVarFp
|
|
4841
|
+
.getSceneAnnotationSets(id, pageCursor, pageSize, filterId, filterSuppliedId, options)
|
|
4842
|
+
.then((request) => request(axios, basePath));
|
|
4843
|
+
},
|
|
4312
4844
|
/**
|
|
4313
4845
|
* Update the attributes of an annotation. **Preview:** This is a preview API and is subject to change.
|
|
4314
4846
|
* @param {string} id The `scene-annotation` ID.
|
|
@@ -4366,6 +4898,18 @@ export class SceneAnnotationsApi extends BaseAPI {
|
|
|
4366
4898
|
.deleteSceneAnnotation(requestParameters.id, options)
|
|
4367
4899
|
.then((request) => request(this.axios, this.basePath));
|
|
4368
4900
|
}
|
|
4901
|
+
/**
|
|
4902
|
+
* Get `scene-annotation-sets` for a `scene`.
|
|
4903
|
+
* @param {SceneAnnotationsApiGetSceneAnnotationSetsRequest} requestParameters Request parameters.
|
|
4904
|
+
* @param {*} [options] Override http request option.
|
|
4905
|
+
* @throws {RequiredError}
|
|
4906
|
+
* @memberof SceneAnnotationsApi
|
|
4907
|
+
*/
|
|
4908
|
+
getSceneAnnotationSets(requestParameters, options) {
|
|
4909
|
+
return SceneAnnotationsApiFp(this.configuration)
|
|
4910
|
+
.getSceneAnnotationSets(requestParameters.id, requestParameters.pageCursor, requestParameters.pageSize, requestParameters.filterId, requestParameters.filterSuppliedId, options)
|
|
4911
|
+
.then((request) => request(this.axios, this.basePath));
|
|
4912
|
+
}
|
|
4369
4913
|
/**
|
|
4370
4914
|
* Update the attributes of an annotation. **Preview:** This is a preview API and is subject to change.
|
|
4371
4915
|
* @param {SceneAnnotationsApiUpdateSceneAnnotationRequest} requestParameters Request parameters.
|
|
@@ -7505,11 +8049,13 @@ export const TranslationInspectionsApiAxiosParamCreator = function (configuratio
|
|
|
7505
8049
|
* Get all current translation jobs in progress.
|
|
7506
8050
|
* @param {string} [pageCursor] The cursor for the next page of items.
|
|
7507
8051
|
* @param {number} [pageSize] The number of items to return.
|
|
8052
|
+
* @param {string} [sort] A sort to apply to the collection. A \"minus\" prefixed before the field name is used to specify descending sort order.
|
|
7508
8053
|
* @param {string} [filterStatus] Status to filter on.
|
|
8054
|
+
* @param {FilterExpression} [filterCompletedAt] The completion date and time to filter on.
|
|
7509
8055
|
* @param {*} [options] Override http request option.
|
|
7510
8056
|
* @throws {RequiredError}
|
|
7511
8057
|
*/
|
|
7512
|
-
getQueuedTranslationJobs: (pageCursor, pageSize, filterStatus, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
8058
|
+
getQueuedTranslationJobs: (pageCursor, pageSize, sort, filterStatus, filterCompletedAt, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
7513
8059
|
var _e;
|
|
7514
8060
|
const localVarPath = `/queued-translation-jobs`;
|
|
7515
8061
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
@@ -7530,9 +8076,15 @@ export const TranslationInspectionsApiAxiosParamCreator = function (configuratio
|
|
|
7530
8076
|
if (pageSize !== undefined) {
|
|
7531
8077
|
localVarQueryParameter['page[size]'] = pageSize;
|
|
7532
8078
|
}
|
|
8079
|
+
if (sort !== undefined) {
|
|
8080
|
+
localVarQueryParameter['sort'] = sort;
|
|
8081
|
+
}
|
|
7533
8082
|
if (filterStatus !== undefined) {
|
|
7534
8083
|
localVarQueryParameter['filter[status]'] = filterStatus;
|
|
7535
8084
|
}
|
|
8085
|
+
if (filterCompletedAt !== undefined) {
|
|
8086
|
+
localVarQueryParameter['filter[completedAt]'] = filterCompletedAt;
|
|
8087
|
+
}
|
|
7536
8088
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
7537
8089
|
let headersFromBaseOptions = (_e = baseOptions === null || baseOptions === void 0 ? void 0 : baseOptions.headers) !== null && _e !== void 0 ? _e : {};
|
|
7538
8090
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
@@ -7644,13 +8196,15 @@ export const TranslationInspectionsApiFp = function (configuration) {
|
|
|
7644
8196
|
* Get all current translation jobs in progress.
|
|
7645
8197
|
* @param {string} [pageCursor] The cursor for the next page of items.
|
|
7646
8198
|
* @param {number} [pageSize] The number of items to return.
|
|
8199
|
+
* @param {string} [sort] A sort to apply to the collection. A \"minus\" prefixed before the field name is used to specify descending sort order.
|
|
7647
8200
|
* @param {string} [filterStatus] Status to filter on.
|
|
8201
|
+
* @param {FilterExpression} [filterCompletedAt] The completion date and time to filter on.
|
|
7648
8202
|
* @param {*} [options] Override http request option.
|
|
7649
8203
|
* @throws {RequiredError}
|
|
7650
8204
|
*/
|
|
7651
|
-
getQueuedTranslationJobs(pageCursor, pageSize, filterStatus, options) {
|
|
8205
|
+
getQueuedTranslationJobs(pageCursor, pageSize, sort, filterStatus, filterCompletedAt, options) {
|
|
7652
8206
|
return __awaiter(this, void 0, void 0, function* () {
|
|
7653
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.getQueuedTranslationJobs(pageCursor, pageSize, filterStatus, options);
|
|
8207
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.getQueuedTranslationJobs(pageCursor, pageSize, sort, filterStatus, filterCompletedAt, options);
|
|
7654
8208
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
7655
8209
|
});
|
|
7656
8210
|
},
|
|
@@ -7727,13 +8281,15 @@ export const TranslationInspectionsApiFactory = function (configuration, basePat
|
|
|
7727
8281
|
* Get all current translation jobs in progress.
|
|
7728
8282
|
* @param {string} [pageCursor] The cursor for the next page of items.
|
|
7729
8283
|
* @param {number} [pageSize] The number of items to return.
|
|
8284
|
+
* @param {string} [sort] A sort to apply to the collection. A \"minus\" prefixed before the field name is used to specify descending sort order.
|
|
7730
8285
|
* @param {string} [filterStatus] Status to filter on.
|
|
8286
|
+
* @param {FilterExpression} [filterCompletedAt] The completion date and time to filter on.
|
|
7731
8287
|
* @param {*} [options] Override http request option.
|
|
7732
8288
|
* @throws {RequiredError}
|
|
7733
8289
|
*/
|
|
7734
|
-
getQueuedTranslationJobs(pageCursor, pageSize, filterStatus, options) {
|
|
8290
|
+
getQueuedTranslationJobs(pageCursor, pageSize, sort, filterStatus, filterCompletedAt, options) {
|
|
7735
8291
|
return localVarFp
|
|
7736
|
-
.getQueuedTranslationJobs(pageCursor, pageSize, filterStatus, options)
|
|
8292
|
+
.getQueuedTranslationJobs(pageCursor, pageSize, sort, filterStatus, filterCompletedAt, options)
|
|
7737
8293
|
.then((request) => request(axios, basePath));
|
|
7738
8294
|
},
|
|
7739
8295
|
/**
|
|
@@ -7817,7 +8373,7 @@ export class TranslationInspectionsApi extends BaseAPI {
|
|
|
7817
8373
|
*/
|
|
7818
8374
|
getQueuedTranslationJobs(requestParameters = {}, options) {
|
|
7819
8375
|
return TranslationInspectionsApiFp(this.configuration)
|
|
7820
|
-
.getQueuedTranslationJobs(requestParameters.pageCursor, requestParameters.pageSize, requestParameters.filterStatus, options)
|
|
8376
|
+
.getQueuedTranslationJobs(requestParameters.pageCursor, requestParameters.pageSize, requestParameters.sort, requestParameters.filterStatus, requestParameters.filterCompletedAt, options)
|
|
7821
8377
|
.then((request) => request(this.axios, this.basePath));
|
|
7822
8378
|
}
|
|
7823
8379
|
/**
|