@vertexvis/api-client-node 0.31.0 → 0.33.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 +970 -32
- package/dist/cjs/api.js +653 -40
- package/dist/cjs/client/version.d.ts +1 -1
- package/dist/cjs/client/version.js +1 -1
- package/dist/cjs/client/vertex-client.d.ts +3 -1
- package/dist/cjs/client/vertex-client.js +2 -0
- package/dist/esm/api.d.ts +970 -32
- package/dist/esm/api.js +644 -35
- package/dist/esm/client/version.d.ts +1 -1
- package/dist/esm/client/version.js +1 -1
- package/dist/esm/client/vertex-client.d.ts +3 -1
- package/dist/esm/client/vertex-client.js +3 -1
- package/package.json +1 -1
package/dist/esm/api.js
CHANGED
|
@@ -78,6 +78,9 @@ export const CreatePermissionGrantDataTypeEnum = {
|
|
|
78
78
|
export const CreatePermissionGrantDataAttributesCapabilityEnum = {
|
|
79
79
|
Read: 'read',
|
|
80
80
|
};
|
|
81
|
+
export const CreateReplyRequestDataTypeEnum = {
|
|
82
|
+
Reply: 'reply',
|
|
83
|
+
};
|
|
81
84
|
export const CreateSceneExpressionAlterationRequestDataTypeEnum = {
|
|
82
85
|
SceneAlterationExpression: 'scene-alteration-expression',
|
|
83
86
|
};
|
|
@@ -86,6 +89,9 @@ export const CreateSceneItemRequestDataAttributesResolutionRuleEnum = {
|
|
|
86
89
|
LatestIteration: 'latest-iteration',
|
|
87
90
|
LatestRevision: 'latest-revision',
|
|
88
91
|
};
|
|
92
|
+
export const CreateSceneReferenceTypeEnum = {
|
|
93
|
+
SceneReference: 'scene-reference',
|
|
94
|
+
};
|
|
89
95
|
export const CreateSearchSessionRequestDataTypeEnum = {
|
|
90
96
|
SearchSession: 'search-session',
|
|
91
97
|
};
|
|
@@ -196,6 +202,9 @@ export const QueryBySceneItemIdsTypeEnum = {
|
|
|
196
202
|
export const QueryBySceneItemMetadataTypeEnum = {
|
|
197
203
|
QueryByMetadata: 'query-by-metadata',
|
|
198
204
|
};
|
|
205
|
+
export const ReplyDataTypeEnum = {
|
|
206
|
+
Reply: 'reply',
|
|
207
|
+
};
|
|
199
208
|
export const SceneItemAndExpressionTypeEnum = {
|
|
200
209
|
And: 'and',
|
|
201
210
|
};
|
|
@@ -208,6 +217,9 @@ export const SceneItemQueryOperandTypeEnum = {
|
|
|
208
217
|
export const SceneItemRelationshipDataTypeEnum = {
|
|
209
218
|
SceneItem: 'scene-item',
|
|
210
219
|
};
|
|
220
|
+
export const SceneReferenceTypeEnum = {
|
|
221
|
+
SceneReference: 'scene-reference',
|
|
222
|
+
};
|
|
211
223
|
export const SceneRelationshipDataTypeEnum = {
|
|
212
224
|
Scene: 'scene',
|
|
213
225
|
};
|
|
@@ -229,6 +241,9 @@ export const SelectOpTypeEnum = {
|
|
|
229
241
|
export const ThreadDataTypeEnum = {
|
|
230
242
|
Thread: 'thread',
|
|
231
243
|
};
|
|
244
|
+
export const ThreadRelationshipDataTypeEnum = {
|
|
245
|
+
Thread: 'thread',
|
|
246
|
+
};
|
|
232
247
|
/**
|
|
233
248
|
*
|
|
234
249
|
* @export
|
|
@@ -268,6 +283,9 @@ export const UpdateWebhookSubscriptionRequestDataAttributesStatusEnum = {
|
|
|
268
283
|
export const UserGroupIdTypeEnum = {
|
|
269
284
|
UserGroup: 'user-group',
|
|
270
285
|
};
|
|
286
|
+
export const UserIdTypeEnum = {
|
|
287
|
+
User: 'user',
|
|
288
|
+
};
|
|
271
289
|
export const UserRelationshipDataTypeEnum = {
|
|
272
290
|
User: 'user',
|
|
273
291
|
};
|
|
@@ -297,6 +315,12 @@ export const WebhookSubscriptionDataAttributesStatusEnum = {
|
|
|
297
315
|
Active: 'active',
|
|
298
316
|
Paused: 'paused',
|
|
299
317
|
};
|
|
318
|
+
export const WithSceneViewIdTypeEnum = {
|
|
319
|
+
SceneViewId: 'scene-view-id',
|
|
320
|
+
};
|
|
321
|
+
export const WithSceneViewStateIdTypeEnum = {
|
|
322
|
+
SceneViewStateId: 'scene-view-state-id',
|
|
323
|
+
};
|
|
300
324
|
/**
|
|
301
325
|
* AccountsApi - axios parameter creator
|
|
302
326
|
* @export
|
|
@@ -1403,6 +1427,42 @@ export const CollaborationContextsApiAxiosParamCreator = function (configuration
|
|
|
1403
1427
|
options: localVarRequestOptions,
|
|
1404
1428
|
};
|
|
1405
1429
|
}),
|
|
1430
|
+
/**
|
|
1431
|
+
* List `collaboration-context`s
|
|
1432
|
+
* @param {string} [pageCursor] The cursor for the next page of items.
|
|
1433
|
+
* @param {number} [pageSize] The number of items to return.
|
|
1434
|
+
* @param {*} [options] Override http request option.
|
|
1435
|
+
* @throws {RequiredError}
|
|
1436
|
+
*/
|
|
1437
|
+
listCollaborationContexts: (pageCursor, pageSize, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
1438
|
+
var _d;
|
|
1439
|
+
const localVarPath = `/collaboration-contexts`;
|
|
1440
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
1441
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
1442
|
+
let baseOptions;
|
|
1443
|
+
if (configuration) {
|
|
1444
|
+
baseOptions = configuration.baseOptions;
|
|
1445
|
+
}
|
|
1446
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
1447
|
+
const localVarHeaderParameter = {};
|
|
1448
|
+
const localVarQueryParameter = {};
|
|
1449
|
+
// authentication OAuth2 required
|
|
1450
|
+
// oauth required
|
|
1451
|
+
yield setOAuthToObject(localVarHeaderParameter, 'OAuth2', [], configuration);
|
|
1452
|
+
if (pageCursor !== undefined) {
|
|
1453
|
+
localVarQueryParameter['page[cursor]'] = pageCursor;
|
|
1454
|
+
}
|
|
1455
|
+
if (pageSize !== undefined) {
|
|
1456
|
+
localVarQueryParameter['page[size]'] = pageSize;
|
|
1457
|
+
}
|
|
1458
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
1459
|
+
let headersFromBaseOptions = (_d = baseOptions === null || baseOptions === void 0 ? void 0 : baseOptions.headers) !== null && _d !== void 0 ? _d : {};
|
|
1460
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
1461
|
+
return {
|
|
1462
|
+
url: toPathString(localVarUrlObj),
|
|
1463
|
+
options: localVarRequestOptions,
|
|
1464
|
+
};
|
|
1465
|
+
}),
|
|
1406
1466
|
};
|
|
1407
1467
|
};
|
|
1408
1468
|
/**
|
|
@@ -1449,6 +1509,19 @@ export const CollaborationContextsApiFp = function (configuration) {
|
|
|
1449
1509
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
1450
1510
|
});
|
|
1451
1511
|
},
|
|
1512
|
+
/**
|
|
1513
|
+
* List `collaboration-context`s
|
|
1514
|
+
* @param {string} [pageCursor] The cursor for the next page of items.
|
|
1515
|
+
* @param {number} [pageSize] The number of items to return.
|
|
1516
|
+
* @param {*} [options] Override http request option.
|
|
1517
|
+
* @throws {RequiredError}
|
|
1518
|
+
*/
|
|
1519
|
+
listCollaborationContexts(pageCursor, pageSize, options) {
|
|
1520
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
1521
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.listCollaborationContexts(pageCursor, pageSize, options);
|
|
1522
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
1523
|
+
});
|
|
1524
|
+
},
|
|
1452
1525
|
};
|
|
1453
1526
|
};
|
|
1454
1527
|
/**
|
|
@@ -1492,6 +1565,18 @@ export const CollaborationContextsApiFactory = function (configuration, basePath
|
|
|
1492
1565
|
.getCollaborationContext(id, options)
|
|
1493
1566
|
.then((request) => request(axios, basePath));
|
|
1494
1567
|
},
|
|
1568
|
+
/**
|
|
1569
|
+
* List `collaboration-context`s
|
|
1570
|
+
* @param {string} [pageCursor] The cursor for the next page of items.
|
|
1571
|
+
* @param {number} [pageSize] The number of items to return.
|
|
1572
|
+
* @param {*} [options] Override http request option.
|
|
1573
|
+
* @throws {RequiredError}
|
|
1574
|
+
*/
|
|
1575
|
+
listCollaborationContexts(pageCursor, pageSize, options) {
|
|
1576
|
+
return localVarFp
|
|
1577
|
+
.listCollaborationContexts(pageCursor, pageSize, options)
|
|
1578
|
+
.then((request) => request(axios, basePath));
|
|
1579
|
+
},
|
|
1495
1580
|
};
|
|
1496
1581
|
};
|
|
1497
1582
|
/**
|
|
@@ -1537,6 +1622,18 @@ export class CollaborationContextsApi extends BaseAPI {
|
|
|
1537
1622
|
.getCollaborationContext(requestParameters.id, options)
|
|
1538
1623
|
.then((request) => request(this.axios, this.basePath));
|
|
1539
1624
|
}
|
|
1625
|
+
/**
|
|
1626
|
+
* List `collaboration-context`s
|
|
1627
|
+
* @param {CollaborationContextsApiListCollaborationContextsRequest} requestParameters Request parameters.
|
|
1628
|
+
* @param {*} [options] Override http request option.
|
|
1629
|
+
* @throws {RequiredError}
|
|
1630
|
+
* @memberof CollaborationContextsApi
|
|
1631
|
+
*/
|
|
1632
|
+
listCollaborationContexts(requestParameters = {}, options) {
|
|
1633
|
+
return CollaborationContextsApiFp(this.configuration)
|
|
1634
|
+
.listCollaborationContexts(requestParameters.pageCursor, requestParameters.pageSize, options)
|
|
1635
|
+
.then((request) => request(this.axios, this.basePath));
|
|
1636
|
+
}
|
|
1540
1637
|
}
|
|
1541
1638
|
/**
|
|
1542
1639
|
* ExportsApi - axios parameter creator
|
|
@@ -3882,11 +3979,13 @@ export const Oauth2ApiAxiosParamCreator = function (configuration) {
|
|
|
3882
3979
|
* @param {string} [scope]
|
|
3883
3980
|
* @param {string} [code]
|
|
3884
3981
|
* @param {string} [redirectUri]
|
|
3982
|
+
* @param {string} [subjectTokenType]
|
|
3885
3983
|
* @param {string} [refreshToken]
|
|
3984
|
+
* @param {string} [subjectToken]
|
|
3886
3985
|
* @param {*} [options] Override http request option.
|
|
3887
3986
|
* @throws {RequiredError}
|
|
3888
3987
|
*/
|
|
3889
|
-
createToken: (grantType, scope, code, redirectUri, refreshToken, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
3988
|
+
createToken: (grantType, scope, code, redirectUri, subjectTokenType, refreshToken, subjectToken, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
3890
3989
|
var _c;
|
|
3891
3990
|
// verify required parameter 'grantType' is not null or undefined
|
|
3892
3991
|
assertParamExists('createToken', 'grantType', grantType);
|
|
@@ -3916,9 +4015,15 @@ export const Oauth2ApiAxiosParamCreator = function (configuration) {
|
|
|
3916
4015
|
if (grantType !== undefined) {
|
|
3917
4016
|
localVarFormParams.set('grant_type', grantType);
|
|
3918
4017
|
}
|
|
4018
|
+
if (subjectTokenType !== undefined) {
|
|
4019
|
+
localVarFormParams.set('subject_token_type', subjectTokenType);
|
|
4020
|
+
}
|
|
3919
4021
|
if (refreshToken !== undefined) {
|
|
3920
4022
|
localVarFormParams.set('refresh_token', refreshToken);
|
|
3921
4023
|
}
|
|
4024
|
+
if (subjectToken !== undefined) {
|
|
4025
|
+
localVarFormParams.set('subject_token', subjectToken);
|
|
4026
|
+
}
|
|
3922
4027
|
localVarHeaderParameter['Content-Type'] =
|
|
3923
4028
|
'application/x-www-form-urlencoded';
|
|
3924
4029
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
@@ -4004,13 +4109,15 @@ export const Oauth2ApiFp = function (configuration) {
|
|
|
4004
4109
|
* @param {string} [scope]
|
|
4005
4110
|
* @param {string} [code]
|
|
4006
4111
|
* @param {string} [redirectUri]
|
|
4112
|
+
* @param {string} [subjectTokenType]
|
|
4007
4113
|
* @param {string} [refreshToken]
|
|
4114
|
+
* @param {string} [subjectToken]
|
|
4008
4115
|
* @param {*} [options] Override http request option.
|
|
4009
4116
|
* @throws {RequiredError}
|
|
4010
4117
|
*/
|
|
4011
|
-
createToken(grantType, scope, code, redirectUri, refreshToken, options) {
|
|
4118
|
+
createToken(grantType, scope, code, redirectUri, subjectTokenType, refreshToken, subjectToken, options) {
|
|
4012
4119
|
return __awaiter(this, void 0, void 0, function* () {
|
|
4013
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.createToken(grantType, scope, code, redirectUri, refreshToken, options);
|
|
4120
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.createToken(grantType, scope, code, redirectUri, subjectTokenType, refreshToken, subjectToken, options);
|
|
4014
4121
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
4015
4122
|
});
|
|
4016
4123
|
},
|
|
@@ -4065,13 +4172,15 @@ export const Oauth2ApiFactory = function (configuration, basePath, axios) {
|
|
|
4065
4172
|
* @param {string} [scope]
|
|
4066
4173
|
* @param {string} [code]
|
|
4067
4174
|
* @param {string} [redirectUri]
|
|
4175
|
+
* @param {string} [subjectTokenType]
|
|
4068
4176
|
* @param {string} [refreshToken]
|
|
4177
|
+
* @param {string} [subjectToken]
|
|
4069
4178
|
* @param {*} [options] Override http request option.
|
|
4070
4179
|
* @throws {RequiredError}
|
|
4071
4180
|
*/
|
|
4072
|
-
createToken(grantType, scope, code, redirectUri, refreshToken, options) {
|
|
4181
|
+
createToken(grantType, scope, code, redirectUri, subjectTokenType, refreshToken, subjectToken, options) {
|
|
4073
4182
|
return localVarFp
|
|
4074
|
-
.createToken(grantType, scope, code, redirectUri, refreshToken, options)
|
|
4183
|
+
.createToken(grantType, scope, code, redirectUri, subjectTokenType, refreshToken, subjectToken, options)
|
|
4075
4184
|
.then((request) => request(axios, basePath));
|
|
4076
4185
|
},
|
|
4077
4186
|
/**
|
|
@@ -4127,7 +4236,7 @@ export class Oauth2Api extends BaseAPI {
|
|
|
4127
4236
|
*/
|
|
4128
4237
|
createToken(requestParameters, options) {
|
|
4129
4238
|
return Oauth2ApiFp(this.configuration)
|
|
4130
|
-
.createToken(requestParameters.grantType, requestParameters.scope, requestParameters.code, requestParameters.redirectUri, requestParameters.refreshToken, options)
|
|
4239
|
+
.createToken(requestParameters.grantType, requestParameters.scope, requestParameters.code, requestParameters.redirectUri, requestParameters.subjectTokenType, requestParameters.refreshToken, requestParameters.subjectToken, options)
|
|
4131
4240
|
.then((request) => request(this.axios, this.basePath));
|
|
4132
4241
|
}
|
|
4133
4242
|
/**
|
|
@@ -5233,6 +5342,42 @@ export const PartsApiAxiosParamCreator = function (configuration) {
|
|
|
5233
5342
|
options: localVarRequestOptions,
|
|
5234
5343
|
};
|
|
5235
5344
|
}),
|
|
5345
|
+
/**
|
|
5346
|
+
* Update a `part` by ID
|
|
5347
|
+
* @param {string} id The `part` ID.
|
|
5348
|
+
* @param {UpdatePartRequest} updatePartRequest
|
|
5349
|
+
* @param {*} [options] Override http request option.
|
|
5350
|
+
* @throws {RequiredError}
|
|
5351
|
+
*/
|
|
5352
|
+
updatePart: (id, updatePartRequest, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
5353
|
+
var _f;
|
|
5354
|
+
// verify required parameter 'id' is not null or undefined
|
|
5355
|
+
assertParamExists('updatePart', 'id', id);
|
|
5356
|
+
// verify required parameter 'updatePartRequest' is not null or undefined
|
|
5357
|
+
assertParamExists('updatePart', 'updatePartRequest', updatePartRequest);
|
|
5358
|
+
const localVarPath = `/parts/{id}`.replace(`{${'id'}}`, encodeURIComponent(String(id)));
|
|
5359
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
5360
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
5361
|
+
let baseOptions;
|
|
5362
|
+
if (configuration) {
|
|
5363
|
+
baseOptions = configuration.baseOptions;
|
|
5364
|
+
}
|
|
5365
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'PATCH' }, baseOptions), options);
|
|
5366
|
+
const localVarHeaderParameter = {};
|
|
5367
|
+
const localVarQueryParameter = {};
|
|
5368
|
+
// authentication OAuth2 required
|
|
5369
|
+
// oauth required
|
|
5370
|
+
yield setOAuthToObject(localVarHeaderParameter, 'OAuth2', [], configuration);
|
|
5371
|
+
localVarHeaderParameter['Content-Type'] = 'application/vnd.api+json';
|
|
5372
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
5373
|
+
let headersFromBaseOptions = (_f = baseOptions === null || baseOptions === void 0 ? void 0 : baseOptions.headers) !== null && _f !== void 0 ? _f : {};
|
|
5374
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
5375
|
+
localVarRequestOptions.data = serializeDataIfNeeded(updatePartRequest, localVarRequestOptions, configuration);
|
|
5376
|
+
return {
|
|
5377
|
+
url: toPathString(localVarUrlObj),
|
|
5378
|
+
options: localVarRequestOptions,
|
|
5379
|
+
};
|
|
5380
|
+
}),
|
|
5236
5381
|
};
|
|
5237
5382
|
};
|
|
5238
5383
|
/**
|
|
@@ -5306,6 +5451,19 @@ export const PartsApiFp = function (configuration) {
|
|
|
5306
5451
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
5307
5452
|
});
|
|
5308
5453
|
},
|
|
5454
|
+
/**
|
|
5455
|
+
* Update a `part` by ID
|
|
5456
|
+
* @param {string} id The `part` ID.
|
|
5457
|
+
* @param {UpdatePartRequest} updatePartRequest
|
|
5458
|
+
* @param {*} [options] Override http request option.
|
|
5459
|
+
* @throws {RequiredError}
|
|
5460
|
+
*/
|
|
5461
|
+
updatePart(id, updatePartRequest, options) {
|
|
5462
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
5463
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.updatePart(id, updatePartRequest, options);
|
|
5464
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
5465
|
+
});
|
|
5466
|
+
},
|
|
5309
5467
|
};
|
|
5310
5468
|
};
|
|
5311
5469
|
/**
|
|
@@ -5374,6 +5532,18 @@ export const PartsApiFactory = function (configuration, basePath, axios) {
|
|
|
5374
5532
|
.getQueuedPartDeletion(id, options)
|
|
5375
5533
|
.then((request) => request(axios, basePath));
|
|
5376
5534
|
},
|
|
5535
|
+
/**
|
|
5536
|
+
* Update a `part` by ID
|
|
5537
|
+
* @param {string} id The `part` ID.
|
|
5538
|
+
* @param {UpdatePartRequest} updatePartRequest
|
|
5539
|
+
* @param {*} [options] Override http request option.
|
|
5540
|
+
* @throws {RequiredError}
|
|
5541
|
+
*/
|
|
5542
|
+
updatePart(id, updatePartRequest, options) {
|
|
5543
|
+
return localVarFp
|
|
5544
|
+
.updatePart(id, updatePartRequest, options)
|
|
5545
|
+
.then((request) => request(axios, basePath));
|
|
5546
|
+
},
|
|
5377
5547
|
};
|
|
5378
5548
|
};
|
|
5379
5549
|
/**
|
|
@@ -5443,6 +5613,18 @@ export class PartsApi extends BaseAPI {
|
|
|
5443
5613
|
.getQueuedPartDeletion(requestParameters.id, options)
|
|
5444
5614
|
.then((request) => request(this.axios, this.basePath));
|
|
5445
5615
|
}
|
|
5616
|
+
/**
|
|
5617
|
+
* Update a `part` by ID
|
|
5618
|
+
* @param {PartsApiUpdatePartRequest} requestParameters Request parameters.
|
|
5619
|
+
* @param {*} [options] Override http request option.
|
|
5620
|
+
* @throws {RequiredError}
|
|
5621
|
+
* @memberof PartsApi
|
|
5622
|
+
*/
|
|
5623
|
+
updatePart(requestParameters, options) {
|
|
5624
|
+
return PartsApiFp(this.configuration)
|
|
5625
|
+
.updatePart(requestParameters.id, requestParameters.updatePartRequest, options)
|
|
5626
|
+
.then((request) => request(this.axios, this.basePath));
|
|
5627
|
+
}
|
|
5446
5628
|
}
|
|
5447
5629
|
/**
|
|
5448
5630
|
* PermissionGrantsApi - axios parameter creator
|
|
@@ -6067,6 +6249,270 @@ export class PropertyEntriesApi extends BaseAPI {
|
|
|
6067
6249
|
.then((request) => request(this.axios, this.basePath));
|
|
6068
6250
|
}
|
|
6069
6251
|
}
|
|
6252
|
+
/**
|
|
6253
|
+
* RepliesApi - axios parameter creator
|
|
6254
|
+
* @export
|
|
6255
|
+
*/
|
|
6256
|
+
export const RepliesApiAxiosParamCreator = function (configuration) {
|
|
6257
|
+
return {
|
|
6258
|
+
/**
|
|
6259
|
+
* Create a `reply` belonging to a `thread`.
|
|
6260
|
+
* @param {string} id The `thread` ID.
|
|
6261
|
+
* @param {CreateReplyRequest} createReplyRequest
|
|
6262
|
+
* @param {*} [options] Override http request option.
|
|
6263
|
+
* @throws {RequiredError}
|
|
6264
|
+
*/
|
|
6265
|
+
createReply: (id, createReplyRequest, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
6266
|
+
var _a;
|
|
6267
|
+
// verify required parameter 'id' is not null or undefined
|
|
6268
|
+
assertParamExists('createReply', 'id', id);
|
|
6269
|
+
// verify required parameter 'createReplyRequest' is not null or undefined
|
|
6270
|
+
assertParamExists('createReply', 'createReplyRequest', createReplyRequest);
|
|
6271
|
+
const localVarPath = `/threads/{id}/replies`.replace(`{${'id'}}`, encodeURIComponent(String(id)));
|
|
6272
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
6273
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
6274
|
+
let baseOptions;
|
|
6275
|
+
if (configuration) {
|
|
6276
|
+
baseOptions = configuration.baseOptions;
|
|
6277
|
+
}
|
|
6278
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
|
|
6279
|
+
const localVarHeaderParameter = {};
|
|
6280
|
+
const localVarQueryParameter = {};
|
|
6281
|
+
// authentication OAuth2 required
|
|
6282
|
+
// oauth required
|
|
6283
|
+
yield setOAuthToObject(localVarHeaderParameter, 'OAuth2', [], configuration);
|
|
6284
|
+
localVarHeaderParameter['Content-Type'] = 'application/vnd.api+json';
|
|
6285
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
6286
|
+
let headersFromBaseOptions = (_a = baseOptions === null || baseOptions === void 0 ? void 0 : baseOptions.headers) !== null && _a !== void 0 ? _a : {};
|
|
6287
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
6288
|
+
localVarRequestOptions.data = serializeDataIfNeeded(createReplyRequest, localVarRequestOptions, configuration);
|
|
6289
|
+
return {
|
|
6290
|
+
url: toPathString(localVarUrlObj),
|
|
6291
|
+
options: localVarRequestOptions,
|
|
6292
|
+
};
|
|
6293
|
+
}),
|
|
6294
|
+
/**
|
|
6295
|
+
* Get a `reply`.
|
|
6296
|
+
* @param {string} id The `thread` ID.
|
|
6297
|
+
* @param {string} [include] Comma-separated list of relationships to include in response.
|
|
6298
|
+
* @param {*} [options] Override http request option.
|
|
6299
|
+
* @throws {RequiredError}
|
|
6300
|
+
*/
|
|
6301
|
+
getReply: (id, include, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
6302
|
+
var _b;
|
|
6303
|
+
// verify required parameter 'id' is not null or undefined
|
|
6304
|
+
assertParamExists('getReply', 'id', id);
|
|
6305
|
+
const localVarPath = `/replies/{id}`.replace(`{${'id'}}`, encodeURIComponent(String(id)));
|
|
6306
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
6307
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
6308
|
+
let baseOptions;
|
|
6309
|
+
if (configuration) {
|
|
6310
|
+
baseOptions = configuration.baseOptions;
|
|
6311
|
+
}
|
|
6312
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
6313
|
+
const localVarHeaderParameter = {};
|
|
6314
|
+
const localVarQueryParameter = {};
|
|
6315
|
+
// authentication OAuth2 required
|
|
6316
|
+
// oauth required
|
|
6317
|
+
yield setOAuthToObject(localVarHeaderParameter, 'OAuth2', [], configuration);
|
|
6318
|
+
if (include !== undefined) {
|
|
6319
|
+
localVarQueryParameter['include'] = include;
|
|
6320
|
+
}
|
|
6321
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
6322
|
+
let headersFromBaseOptions = (_b = baseOptions === null || baseOptions === void 0 ? void 0 : baseOptions.headers) !== null && _b !== void 0 ? _b : {};
|
|
6323
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
6324
|
+
return {
|
|
6325
|
+
url: toPathString(localVarUrlObj),
|
|
6326
|
+
options: localVarRequestOptions,
|
|
6327
|
+
};
|
|
6328
|
+
}),
|
|
6329
|
+
/**
|
|
6330
|
+
* List `replies`
|
|
6331
|
+
* @param {string} [filterThreadId] Comma-separated list of supplied IDs to filter on.
|
|
6332
|
+
* @param {string} [pageCursor] The cursor for the next page of items.
|
|
6333
|
+
* @param {number} [pageSize] The number of items to return.
|
|
6334
|
+
* @param {string} [include] Comma-separated list of relationships to include in response.
|
|
6335
|
+
* @param {*} [options] Override http request option.
|
|
6336
|
+
* @throws {RequiredError}
|
|
6337
|
+
*/
|
|
6338
|
+
listReplies: (filterThreadId, pageCursor, pageSize, include, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
6339
|
+
var _c;
|
|
6340
|
+
const localVarPath = `/replies`;
|
|
6341
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
6342
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
6343
|
+
let baseOptions;
|
|
6344
|
+
if (configuration) {
|
|
6345
|
+
baseOptions = configuration.baseOptions;
|
|
6346
|
+
}
|
|
6347
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
6348
|
+
const localVarHeaderParameter = {};
|
|
6349
|
+
const localVarQueryParameter = {};
|
|
6350
|
+
// authentication OAuth2 required
|
|
6351
|
+
// oauth required
|
|
6352
|
+
yield setOAuthToObject(localVarHeaderParameter, 'OAuth2', [], configuration);
|
|
6353
|
+
if (filterThreadId !== undefined) {
|
|
6354
|
+
localVarQueryParameter['filter[threadId]'] = filterThreadId;
|
|
6355
|
+
}
|
|
6356
|
+
if (pageCursor !== undefined) {
|
|
6357
|
+
localVarQueryParameter['page[cursor]'] = pageCursor;
|
|
6358
|
+
}
|
|
6359
|
+
if (pageSize !== undefined) {
|
|
6360
|
+
localVarQueryParameter['page[size]'] = pageSize;
|
|
6361
|
+
}
|
|
6362
|
+
if (include !== undefined) {
|
|
6363
|
+
localVarQueryParameter['include'] = include;
|
|
6364
|
+
}
|
|
6365
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
6366
|
+
let headersFromBaseOptions = (_c = baseOptions === null || baseOptions === void 0 ? void 0 : baseOptions.headers) !== null && _c !== void 0 ? _c : {};
|
|
6367
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
6368
|
+
return {
|
|
6369
|
+
url: toPathString(localVarUrlObj),
|
|
6370
|
+
options: localVarRequestOptions,
|
|
6371
|
+
};
|
|
6372
|
+
}),
|
|
6373
|
+
};
|
|
6374
|
+
};
|
|
6375
|
+
/**
|
|
6376
|
+
* RepliesApi - functional programming interface
|
|
6377
|
+
* @export
|
|
6378
|
+
*/
|
|
6379
|
+
export const RepliesApiFp = function (configuration) {
|
|
6380
|
+
const localVarAxiosParamCreator = RepliesApiAxiosParamCreator(configuration);
|
|
6381
|
+
return {
|
|
6382
|
+
/**
|
|
6383
|
+
* Create a `reply` belonging to a `thread`.
|
|
6384
|
+
* @param {string} id The `thread` ID.
|
|
6385
|
+
* @param {CreateReplyRequest} createReplyRequest
|
|
6386
|
+
* @param {*} [options] Override http request option.
|
|
6387
|
+
* @throws {RequiredError}
|
|
6388
|
+
*/
|
|
6389
|
+
createReply(id, createReplyRequest, options) {
|
|
6390
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
6391
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.createReply(id, createReplyRequest, options);
|
|
6392
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
6393
|
+
});
|
|
6394
|
+
},
|
|
6395
|
+
/**
|
|
6396
|
+
* Get a `reply`.
|
|
6397
|
+
* @param {string} id The `thread` ID.
|
|
6398
|
+
* @param {string} [include] Comma-separated list of relationships to include in response.
|
|
6399
|
+
* @param {*} [options] Override http request option.
|
|
6400
|
+
* @throws {RequiredError}
|
|
6401
|
+
*/
|
|
6402
|
+
getReply(id, include, options) {
|
|
6403
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
6404
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.getReply(id, include, options);
|
|
6405
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
6406
|
+
});
|
|
6407
|
+
},
|
|
6408
|
+
/**
|
|
6409
|
+
* List `replies`
|
|
6410
|
+
* @param {string} [filterThreadId] Comma-separated list of supplied IDs to filter on.
|
|
6411
|
+
* @param {string} [pageCursor] The cursor for the next page of items.
|
|
6412
|
+
* @param {number} [pageSize] The number of items to return.
|
|
6413
|
+
* @param {string} [include] Comma-separated list of relationships to include in response.
|
|
6414
|
+
* @param {*} [options] Override http request option.
|
|
6415
|
+
* @throws {RequiredError}
|
|
6416
|
+
*/
|
|
6417
|
+
listReplies(filterThreadId, pageCursor, pageSize, include, options) {
|
|
6418
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
6419
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.listReplies(filterThreadId, pageCursor, pageSize, include, options);
|
|
6420
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
6421
|
+
});
|
|
6422
|
+
},
|
|
6423
|
+
};
|
|
6424
|
+
};
|
|
6425
|
+
/**
|
|
6426
|
+
* RepliesApi - factory interface
|
|
6427
|
+
* @export
|
|
6428
|
+
*/
|
|
6429
|
+
export const RepliesApiFactory = function (configuration, basePath, axios) {
|
|
6430
|
+
const localVarFp = RepliesApiFp(configuration);
|
|
6431
|
+
return {
|
|
6432
|
+
/**
|
|
6433
|
+
* Create a `reply` belonging to a `thread`.
|
|
6434
|
+
* @param {string} id The `thread` ID.
|
|
6435
|
+
* @param {CreateReplyRequest} createReplyRequest
|
|
6436
|
+
* @param {*} [options] Override http request option.
|
|
6437
|
+
* @throws {RequiredError}
|
|
6438
|
+
*/
|
|
6439
|
+
createReply(id, createReplyRequest, options) {
|
|
6440
|
+
return localVarFp
|
|
6441
|
+
.createReply(id, createReplyRequest, options)
|
|
6442
|
+
.then((request) => request(axios, basePath));
|
|
6443
|
+
},
|
|
6444
|
+
/**
|
|
6445
|
+
* Get a `reply`.
|
|
6446
|
+
* @param {string} id The `thread` ID.
|
|
6447
|
+
* @param {string} [include] Comma-separated list of relationships to include in response.
|
|
6448
|
+
* @param {*} [options] Override http request option.
|
|
6449
|
+
* @throws {RequiredError}
|
|
6450
|
+
*/
|
|
6451
|
+
getReply(id, include, options) {
|
|
6452
|
+
return localVarFp
|
|
6453
|
+
.getReply(id, include, options)
|
|
6454
|
+
.then((request) => request(axios, basePath));
|
|
6455
|
+
},
|
|
6456
|
+
/**
|
|
6457
|
+
* List `replies`
|
|
6458
|
+
* @param {string} [filterThreadId] Comma-separated list of supplied IDs to filter on.
|
|
6459
|
+
* @param {string} [pageCursor] The cursor for the next page of items.
|
|
6460
|
+
* @param {number} [pageSize] The number of items to return.
|
|
6461
|
+
* @param {string} [include] Comma-separated list of relationships to include in response.
|
|
6462
|
+
* @param {*} [options] Override http request option.
|
|
6463
|
+
* @throws {RequiredError}
|
|
6464
|
+
*/
|
|
6465
|
+
listReplies(filterThreadId, pageCursor, pageSize, include, options) {
|
|
6466
|
+
return localVarFp
|
|
6467
|
+
.listReplies(filterThreadId, pageCursor, pageSize, include, options)
|
|
6468
|
+
.then((request) => request(axios, basePath));
|
|
6469
|
+
},
|
|
6470
|
+
};
|
|
6471
|
+
};
|
|
6472
|
+
/**
|
|
6473
|
+
* RepliesApi - object-oriented interface
|
|
6474
|
+
* @export
|
|
6475
|
+
* @class RepliesApi
|
|
6476
|
+
* @extends {BaseAPI}
|
|
6477
|
+
*/
|
|
6478
|
+
export class RepliesApi extends BaseAPI {
|
|
6479
|
+
/**
|
|
6480
|
+
* Create a `reply` belonging to a `thread`.
|
|
6481
|
+
* @param {RepliesApiCreateReplyRequest} requestParameters Request parameters.
|
|
6482
|
+
* @param {*} [options] Override http request option.
|
|
6483
|
+
* @throws {RequiredError}
|
|
6484
|
+
* @memberof RepliesApi
|
|
6485
|
+
*/
|
|
6486
|
+
createReply(requestParameters, options) {
|
|
6487
|
+
return RepliesApiFp(this.configuration)
|
|
6488
|
+
.createReply(requestParameters.id, requestParameters.createReplyRequest, options)
|
|
6489
|
+
.then((request) => request(this.axios, this.basePath));
|
|
6490
|
+
}
|
|
6491
|
+
/**
|
|
6492
|
+
* Get a `reply`.
|
|
6493
|
+
* @param {RepliesApiGetReplyRequest} requestParameters Request parameters.
|
|
6494
|
+
* @param {*} [options] Override http request option.
|
|
6495
|
+
* @throws {RequiredError}
|
|
6496
|
+
* @memberof RepliesApi
|
|
6497
|
+
*/
|
|
6498
|
+
getReply(requestParameters, options) {
|
|
6499
|
+
return RepliesApiFp(this.configuration)
|
|
6500
|
+
.getReply(requestParameters.id, requestParameters.include, options)
|
|
6501
|
+
.then((request) => request(this.axios, this.basePath));
|
|
6502
|
+
}
|
|
6503
|
+
/**
|
|
6504
|
+
* List `replies`
|
|
6505
|
+
* @param {RepliesApiListRepliesRequest} requestParameters Request parameters.
|
|
6506
|
+
* @param {*} [options] Override http request option.
|
|
6507
|
+
* @throws {RequiredError}
|
|
6508
|
+
* @memberof RepliesApi
|
|
6509
|
+
*/
|
|
6510
|
+
listReplies(requestParameters = {}, options) {
|
|
6511
|
+
return RepliesApiFp(this.configuration)
|
|
6512
|
+
.listReplies(requestParameters.filterThreadId, requestParameters.pageCursor, requestParameters.pageSize, requestParameters.include, options)
|
|
6513
|
+
.then((request) => request(this.axios, this.basePath));
|
|
6514
|
+
}
|
|
6515
|
+
}
|
|
6070
6516
|
/**
|
|
6071
6517
|
* SceneAlterationsApi - axios parameter creator
|
|
6072
6518
|
* @export
|
|
@@ -9995,10 +10441,12 @@ export const ThreadsApiAxiosParamCreator = function (configuration) {
|
|
|
9995
10441
|
/**
|
|
9996
10442
|
* Get a `thread`.
|
|
9997
10443
|
* @param {string} id The `thread` ID.
|
|
10444
|
+
* @param {string} [fieldsThread] Comma-separated list of fields to return in response. An empty value returns no fields. Due to its potential size, metadata is only returned if explicitly requested.
|
|
10445
|
+
* @param {string} [include] Comma-separated list of relationships to include in response.
|
|
9998
10446
|
* @param {*} [options] Override http request option.
|
|
9999
10447
|
* @throws {RequiredError}
|
|
10000
10448
|
*/
|
|
10001
|
-
getThread: (id, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
10449
|
+
getThread: (id, fieldsThread, include, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
10002
10450
|
var _b;
|
|
10003
10451
|
// verify required parameter 'id' is not null or undefined
|
|
10004
10452
|
assertParamExists('getThread', 'id', id);
|
|
@@ -10015,6 +10463,12 @@ export const ThreadsApiAxiosParamCreator = function (configuration) {
|
|
|
10015
10463
|
// authentication OAuth2 required
|
|
10016
10464
|
// oauth required
|
|
10017
10465
|
yield setOAuthToObject(localVarHeaderParameter, 'OAuth2', [], configuration);
|
|
10466
|
+
if (fieldsThread !== undefined) {
|
|
10467
|
+
localVarQueryParameter['fields[thread]'] = fieldsThread;
|
|
10468
|
+
}
|
|
10469
|
+
if (include !== undefined) {
|
|
10470
|
+
localVarQueryParameter['include'] = include;
|
|
10471
|
+
}
|
|
10018
10472
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
10019
10473
|
let headersFromBaseOptions = (_b = baseOptions === null || baseOptions === void 0 ? void 0 : baseOptions.headers) !== null && _b !== void 0 ? _b : {};
|
|
10020
10474
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
@@ -10023,16 +10477,49 @@ export const ThreadsApiAxiosParamCreator = function (configuration) {
|
|
|
10023
10477
|
options: localVarRequestOptions,
|
|
10024
10478
|
};
|
|
10025
10479
|
}),
|
|
10480
|
+
/**
|
|
10481
|
+
* Get a `thread`s `user`s.
|
|
10482
|
+
* @param {string} id The `thread` ID.
|
|
10483
|
+
* @param {*} [options] Override http request option.
|
|
10484
|
+
* @throws {RequiredError}
|
|
10485
|
+
*/
|
|
10486
|
+
getThreadParticipants: (id, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
10487
|
+
var _c;
|
|
10488
|
+
// verify required parameter 'id' is not null or undefined
|
|
10489
|
+
assertParamExists('getThreadParticipants', 'id', id);
|
|
10490
|
+
const localVarPath = `/threads/{id}/users`.replace(`{${'id'}}`, encodeURIComponent(String(id)));
|
|
10491
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
10492
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
10493
|
+
let baseOptions;
|
|
10494
|
+
if (configuration) {
|
|
10495
|
+
baseOptions = configuration.baseOptions;
|
|
10496
|
+
}
|
|
10497
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
10498
|
+
const localVarHeaderParameter = {};
|
|
10499
|
+
const localVarQueryParameter = {};
|
|
10500
|
+
// authentication OAuth2 required
|
|
10501
|
+
// oauth required
|
|
10502
|
+
yield setOAuthToObject(localVarHeaderParameter, 'OAuth2', [], configuration);
|
|
10503
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
10504
|
+
let headersFromBaseOptions = (_c = baseOptions === null || baseOptions === void 0 ? void 0 : baseOptions.headers) !== null && _c !== void 0 ? _c : {};
|
|
10505
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
10506
|
+
return {
|
|
10507
|
+
url: toPathString(localVarUrlObj),
|
|
10508
|
+
options: localVarRequestOptions,
|
|
10509
|
+
};
|
|
10510
|
+
}),
|
|
10026
10511
|
/**
|
|
10027
10512
|
* Get a page of `thread`s.
|
|
10513
|
+
* @param {string} [fieldsThread] Comma-separated list of fields to return in response. An empty value returns no fields. Due to its potential size, metadata is only returned if explicitly requested.
|
|
10028
10514
|
* @param {string} [filterCollaborationContextId] A collaboration context to filter on.
|
|
10029
10515
|
* @param {string} [pageCursor] The cursor for the next page of items.
|
|
10030
10516
|
* @param {number} [pageSize] The number of items to return.
|
|
10517
|
+
* @param {string} [include] Comma-separated list of relationships to include in response.
|
|
10031
10518
|
* @param {*} [options] Override http request option.
|
|
10032
10519
|
* @throws {RequiredError}
|
|
10033
10520
|
*/
|
|
10034
|
-
getThreads: (filterCollaborationContextId, pageCursor, pageSize, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
10035
|
-
var
|
|
10521
|
+
getThreads: (fieldsThread, filterCollaborationContextId, pageCursor, pageSize, include, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
10522
|
+
var _d;
|
|
10036
10523
|
const localVarPath = `/threads`;
|
|
10037
10524
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
10038
10525
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -10046,6 +10533,9 @@ export const ThreadsApiAxiosParamCreator = function (configuration) {
|
|
|
10046
10533
|
// authentication OAuth2 required
|
|
10047
10534
|
// oauth required
|
|
10048
10535
|
yield setOAuthToObject(localVarHeaderParameter, 'OAuth2', [], configuration);
|
|
10536
|
+
if (fieldsThread !== undefined) {
|
|
10537
|
+
localVarQueryParameter['fields[thread]'] = fieldsThread;
|
|
10538
|
+
}
|
|
10049
10539
|
if (filterCollaborationContextId !== undefined) {
|
|
10050
10540
|
localVarQueryParameter['filter[collaborationContextId]'] =
|
|
10051
10541
|
filterCollaborationContextId;
|
|
@@ -10056,8 +10546,11 @@ export const ThreadsApiAxiosParamCreator = function (configuration) {
|
|
|
10056
10546
|
if (pageSize !== undefined) {
|
|
10057
10547
|
localVarQueryParameter['page[size]'] = pageSize;
|
|
10058
10548
|
}
|
|
10549
|
+
if (include !== undefined) {
|
|
10550
|
+
localVarQueryParameter['include'] = include;
|
|
10551
|
+
}
|
|
10059
10552
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
10060
|
-
let headersFromBaseOptions = (
|
|
10553
|
+
let headersFromBaseOptions = (_d = baseOptions === null || baseOptions === void 0 ? void 0 : baseOptions.headers) !== null && _d !== void 0 ? _d : {};
|
|
10061
10554
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
10062
10555
|
return {
|
|
10063
10556
|
url: toPathString(localVarUrlObj),
|
|
@@ -10089,26 +10582,42 @@ export const ThreadsApiFp = function (configuration) {
|
|
|
10089
10582
|
/**
|
|
10090
10583
|
* Get a `thread`.
|
|
10091
10584
|
* @param {string} id The `thread` ID.
|
|
10585
|
+
* @param {string} [fieldsThread] Comma-separated list of fields to return in response. An empty value returns no fields. Due to its potential size, metadata is only returned if explicitly requested.
|
|
10586
|
+
* @param {string} [include] Comma-separated list of relationships to include in response.
|
|
10092
10587
|
* @param {*} [options] Override http request option.
|
|
10093
10588
|
* @throws {RequiredError}
|
|
10094
10589
|
*/
|
|
10095
|
-
getThread(id, options) {
|
|
10590
|
+
getThread(id, fieldsThread, include, options) {
|
|
10096
10591
|
return __awaiter(this, void 0, void 0, function* () {
|
|
10097
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.getThread(id, options);
|
|
10592
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.getThread(id, fieldsThread, include, options);
|
|
10593
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
10594
|
+
});
|
|
10595
|
+
},
|
|
10596
|
+
/**
|
|
10597
|
+
* Get a `thread`s `user`s.
|
|
10598
|
+
* @param {string} id The `thread` ID.
|
|
10599
|
+
* @param {*} [options] Override http request option.
|
|
10600
|
+
* @throws {RequiredError}
|
|
10601
|
+
*/
|
|
10602
|
+
getThreadParticipants(id, options) {
|
|
10603
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
10604
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.getThreadParticipants(id, options);
|
|
10098
10605
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
10099
10606
|
});
|
|
10100
10607
|
},
|
|
10101
10608
|
/**
|
|
10102
10609
|
* Get a page of `thread`s.
|
|
10610
|
+
* @param {string} [fieldsThread] Comma-separated list of fields to return in response. An empty value returns no fields. Due to its potential size, metadata is only returned if explicitly requested.
|
|
10103
10611
|
* @param {string} [filterCollaborationContextId] A collaboration context to filter on.
|
|
10104
10612
|
* @param {string} [pageCursor] The cursor for the next page of items.
|
|
10105
10613
|
* @param {number} [pageSize] The number of items to return.
|
|
10614
|
+
* @param {string} [include] Comma-separated list of relationships to include in response.
|
|
10106
10615
|
* @param {*} [options] Override http request option.
|
|
10107
10616
|
* @throws {RequiredError}
|
|
10108
10617
|
*/
|
|
10109
|
-
getThreads(filterCollaborationContextId, pageCursor, pageSize, options) {
|
|
10618
|
+
getThreads(fieldsThread, filterCollaborationContextId, pageCursor, pageSize, include, options) {
|
|
10110
10619
|
return __awaiter(this, void 0, void 0, function* () {
|
|
10111
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.getThreads(filterCollaborationContextId, pageCursor, pageSize, options);
|
|
10620
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.getThreads(fieldsThread, filterCollaborationContextId, pageCursor, pageSize, include, options);
|
|
10112
10621
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
10113
10622
|
});
|
|
10114
10623
|
},
|
|
@@ -10136,25 +10645,40 @@ export const ThreadsApiFactory = function (configuration, basePath, axios) {
|
|
|
10136
10645
|
/**
|
|
10137
10646
|
* Get a `thread`.
|
|
10138
10647
|
* @param {string} id The `thread` ID.
|
|
10648
|
+
* @param {string} [fieldsThread] Comma-separated list of fields to return in response. An empty value returns no fields. Due to its potential size, metadata is only returned if explicitly requested.
|
|
10649
|
+
* @param {string} [include] Comma-separated list of relationships to include in response.
|
|
10650
|
+
* @param {*} [options] Override http request option.
|
|
10651
|
+
* @throws {RequiredError}
|
|
10652
|
+
*/
|
|
10653
|
+
getThread(id, fieldsThread, include, options) {
|
|
10654
|
+
return localVarFp
|
|
10655
|
+
.getThread(id, fieldsThread, include, options)
|
|
10656
|
+
.then((request) => request(axios, basePath));
|
|
10657
|
+
},
|
|
10658
|
+
/**
|
|
10659
|
+
* Get a `thread`s `user`s.
|
|
10660
|
+
* @param {string} id The `thread` ID.
|
|
10139
10661
|
* @param {*} [options] Override http request option.
|
|
10140
10662
|
* @throws {RequiredError}
|
|
10141
10663
|
*/
|
|
10142
|
-
|
|
10664
|
+
getThreadParticipants(id, options) {
|
|
10143
10665
|
return localVarFp
|
|
10144
|
-
.
|
|
10666
|
+
.getThreadParticipants(id, options)
|
|
10145
10667
|
.then((request) => request(axios, basePath));
|
|
10146
10668
|
},
|
|
10147
10669
|
/**
|
|
10148
10670
|
* Get a page of `thread`s.
|
|
10671
|
+
* @param {string} [fieldsThread] Comma-separated list of fields to return in response. An empty value returns no fields. Due to its potential size, metadata is only returned if explicitly requested.
|
|
10149
10672
|
* @param {string} [filterCollaborationContextId] A collaboration context to filter on.
|
|
10150
10673
|
* @param {string} [pageCursor] The cursor for the next page of items.
|
|
10151
10674
|
* @param {number} [pageSize] The number of items to return.
|
|
10675
|
+
* @param {string} [include] Comma-separated list of relationships to include in response.
|
|
10152
10676
|
* @param {*} [options] Override http request option.
|
|
10153
10677
|
* @throws {RequiredError}
|
|
10154
10678
|
*/
|
|
10155
|
-
getThreads(filterCollaborationContextId, pageCursor, pageSize, options) {
|
|
10679
|
+
getThreads(fieldsThread, filterCollaborationContextId, pageCursor, pageSize, include, options) {
|
|
10156
10680
|
return localVarFp
|
|
10157
|
-
.getThreads(filterCollaborationContextId, pageCursor, pageSize, options)
|
|
10681
|
+
.getThreads(fieldsThread, filterCollaborationContextId, pageCursor, pageSize, include, options)
|
|
10158
10682
|
.then((request) => request(axios, basePath));
|
|
10159
10683
|
},
|
|
10160
10684
|
};
|
|
@@ -10187,7 +10711,19 @@ export class ThreadsApi extends BaseAPI {
|
|
|
10187
10711
|
*/
|
|
10188
10712
|
getThread(requestParameters, options) {
|
|
10189
10713
|
return ThreadsApiFp(this.configuration)
|
|
10190
|
-
.getThread(requestParameters.id, options)
|
|
10714
|
+
.getThread(requestParameters.id, requestParameters.fieldsThread, requestParameters.include, options)
|
|
10715
|
+
.then((request) => request(this.axios, this.basePath));
|
|
10716
|
+
}
|
|
10717
|
+
/**
|
|
10718
|
+
* Get a `thread`s `user`s.
|
|
10719
|
+
* @param {ThreadsApiGetThreadParticipantsRequest} requestParameters Request parameters.
|
|
10720
|
+
* @param {*} [options] Override http request option.
|
|
10721
|
+
* @throws {RequiredError}
|
|
10722
|
+
* @memberof ThreadsApi
|
|
10723
|
+
*/
|
|
10724
|
+
getThreadParticipants(requestParameters, options) {
|
|
10725
|
+
return ThreadsApiFp(this.configuration)
|
|
10726
|
+
.getThreadParticipants(requestParameters.id, options)
|
|
10191
10727
|
.then((request) => request(this.axios, this.basePath));
|
|
10192
10728
|
}
|
|
10193
10729
|
/**
|
|
@@ -10199,7 +10735,7 @@ export class ThreadsApi extends BaseAPI {
|
|
|
10199
10735
|
*/
|
|
10200
10736
|
getThreads(requestParameters = {}, options) {
|
|
10201
10737
|
return ThreadsApiFp(this.configuration)
|
|
10202
|
-
.getThreads(requestParameters.filterCollaborationContextId, requestParameters.pageCursor, requestParameters.pageSize, options)
|
|
10738
|
+
.getThreads(requestParameters.fieldsThread, requestParameters.filterCollaborationContextId, requestParameters.pageCursor, requestParameters.pageSize, requestParameters.include, options)
|
|
10203
10739
|
.then((request) => request(this.axios, this.basePath));
|
|
10204
10740
|
}
|
|
10205
10741
|
}
|
|
@@ -10687,6 +11223,42 @@ export class TranslationInspectionsApi extends BaseAPI {
|
|
|
10687
11223
|
*/
|
|
10688
11224
|
export const UserGroupsApiAxiosParamCreator = function (configuration) {
|
|
10689
11225
|
return {
|
|
11226
|
+
/**
|
|
11227
|
+
* Add a `user` to a `user-group`.
|
|
11228
|
+
* @param {string} id A `user-group` ID.
|
|
11229
|
+
* @param {UserIdList} userIdList
|
|
11230
|
+
* @param {*} [options] Override http request option.
|
|
11231
|
+
* @throws {RequiredError}
|
|
11232
|
+
*/
|
|
11233
|
+
addUsersToUserGroup: (id, userIdList, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
11234
|
+
var _a;
|
|
11235
|
+
// verify required parameter 'id' is not null or undefined
|
|
11236
|
+
assertParamExists('addUsersToUserGroup', 'id', id);
|
|
11237
|
+
// verify required parameter 'userIdList' is not null or undefined
|
|
11238
|
+
assertParamExists('addUsersToUserGroup', 'userIdList', userIdList);
|
|
11239
|
+
const localVarPath = `/user-groups/{id}/users`.replace(`{${'id'}}`, encodeURIComponent(String(id)));
|
|
11240
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
11241
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
11242
|
+
let baseOptions;
|
|
11243
|
+
if (configuration) {
|
|
11244
|
+
baseOptions = configuration.baseOptions;
|
|
11245
|
+
}
|
|
11246
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
|
|
11247
|
+
const localVarHeaderParameter = {};
|
|
11248
|
+
const localVarQueryParameter = {};
|
|
11249
|
+
// authentication OAuth2 required
|
|
11250
|
+
// oauth required
|
|
11251
|
+
yield setOAuthToObject(localVarHeaderParameter, 'OAuth2', [], configuration);
|
|
11252
|
+
localVarHeaderParameter['Content-Type'] = 'application/vnd.api+json';
|
|
11253
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
11254
|
+
let headersFromBaseOptions = (_a = baseOptions === null || baseOptions === void 0 ? void 0 : baseOptions.headers) !== null && _a !== void 0 ? _a : {};
|
|
11255
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
11256
|
+
localVarRequestOptions.data = serializeDataIfNeeded(userIdList, localVarRequestOptions, configuration);
|
|
11257
|
+
return {
|
|
11258
|
+
url: toPathString(localVarUrlObj),
|
|
11259
|
+
options: localVarRequestOptions,
|
|
11260
|
+
};
|
|
11261
|
+
}),
|
|
10690
11262
|
/**
|
|
10691
11263
|
* Create a `user-group`
|
|
10692
11264
|
* @param {CreateUserGroupRequest} createUserGroupRequest
|
|
@@ -10694,7 +11266,7 @@ export const UserGroupsApiAxiosParamCreator = function (configuration) {
|
|
|
10694
11266
|
* @throws {RequiredError}
|
|
10695
11267
|
*/
|
|
10696
11268
|
createUserGroup: (createUserGroupRequest, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
10697
|
-
var
|
|
11269
|
+
var _b;
|
|
10698
11270
|
// verify required parameter 'createUserGroupRequest' is not null or undefined
|
|
10699
11271
|
assertParamExists('createUserGroup', 'createUserGroupRequest', createUserGroupRequest);
|
|
10700
11272
|
const localVarPath = `/user-groups`;
|
|
@@ -10712,7 +11284,7 @@ export const UserGroupsApiAxiosParamCreator = function (configuration) {
|
|
|
10712
11284
|
yield setOAuthToObject(localVarHeaderParameter, 'OAuth2', [], configuration);
|
|
10713
11285
|
localVarHeaderParameter['Content-Type'] = 'application/vnd.api+json';
|
|
10714
11286
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
10715
|
-
let headersFromBaseOptions = (
|
|
11287
|
+
let headersFromBaseOptions = (_b = baseOptions === null || baseOptions === void 0 ? void 0 : baseOptions.headers) !== null && _b !== void 0 ? _b : {};
|
|
10716
11288
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
10717
11289
|
localVarRequestOptions.data = serializeDataIfNeeded(createUserGroupRequest, localVarRequestOptions, configuration);
|
|
10718
11290
|
return {
|
|
@@ -10727,7 +11299,7 @@ export const UserGroupsApiAxiosParamCreator = function (configuration) {
|
|
|
10727
11299
|
* @throws {RequiredError}
|
|
10728
11300
|
*/
|
|
10729
11301
|
getUserGroup: (id, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
10730
|
-
var
|
|
11302
|
+
var _c;
|
|
10731
11303
|
// verify required parameter 'id' is not null or undefined
|
|
10732
11304
|
assertParamExists('getUserGroup', 'id', id);
|
|
10733
11305
|
const localVarPath = `/user-groups/{id}`.replace(`{${'id'}}`, encodeURIComponent(String(id)));
|
|
@@ -10744,7 +11316,7 @@ export const UserGroupsApiAxiosParamCreator = function (configuration) {
|
|
|
10744
11316
|
// oauth required
|
|
10745
11317
|
yield setOAuthToObject(localVarHeaderParameter, 'OAuth2', [], configuration);
|
|
10746
11318
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
10747
|
-
let headersFromBaseOptions = (
|
|
11319
|
+
let headersFromBaseOptions = (_c = baseOptions === null || baseOptions === void 0 ? void 0 : baseOptions.headers) !== null && _c !== void 0 ? _c : {};
|
|
10748
11320
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
10749
11321
|
return {
|
|
10750
11322
|
url: toPathString(localVarUrlObj),
|
|
@@ -10760,6 +11332,19 @@ export const UserGroupsApiAxiosParamCreator = function (configuration) {
|
|
|
10760
11332
|
export const UserGroupsApiFp = function (configuration) {
|
|
10761
11333
|
const localVarAxiosParamCreator = UserGroupsApiAxiosParamCreator(configuration);
|
|
10762
11334
|
return {
|
|
11335
|
+
/**
|
|
11336
|
+
* Add a `user` to a `user-group`.
|
|
11337
|
+
* @param {string} id A `user-group` ID.
|
|
11338
|
+
* @param {UserIdList} userIdList
|
|
11339
|
+
* @param {*} [options] Override http request option.
|
|
11340
|
+
* @throws {RequiredError}
|
|
11341
|
+
*/
|
|
11342
|
+
addUsersToUserGroup(id, userIdList, options) {
|
|
11343
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
11344
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.addUsersToUserGroup(id, userIdList, options);
|
|
11345
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
11346
|
+
});
|
|
11347
|
+
},
|
|
10763
11348
|
/**
|
|
10764
11349
|
* Create a `user-group`
|
|
10765
11350
|
* @param {CreateUserGroupRequest} createUserGroupRequest
|
|
@@ -10793,6 +11378,18 @@ export const UserGroupsApiFp = function (configuration) {
|
|
|
10793
11378
|
export const UserGroupsApiFactory = function (configuration, basePath, axios) {
|
|
10794
11379
|
const localVarFp = UserGroupsApiFp(configuration);
|
|
10795
11380
|
return {
|
|
11381
|
+
/**
|
|
11382
|
+
* Add a `user` to a `user-group`.
|
|
11383
|
+
* @param {string} id A `user-group` ID.
|
|
11384
|
+
* @param {UserIdList} userIdList
|
|
11385
|
+
* @param {*} [options] Override http request option.
|
|
11386
|
+
* @throws {RequiredError}
|
|
11387
|
+
*/
|
|
11388
|
+
addUsersToUserGroup(id, userIdList, options) {
|
|
11389
|
+
return localVarFp
|
|
11390
|
+
.addUsersToUserGroup(id, userIdList, options)
|
|
11391
|
+
.then((request) => request(axios, basePath));
|
|
11392
|
+
},
|
|
10796
11393
|
/**
|
|
10797
11394
|
* Create a `user-group`
|
|
10798
11395
|
* @param {CreateUserGroupRequest} createUserGroupRequest
|
|
@@ -10824,6 +11421,18 @@ export const UserGroupsApiFactory = function (configuration, basePath, axios) {
|
|
|
10824
11421
|
* @extends {BaseAPI}
|
|
10825
11422
|
*/
|
|
10826
11423
|
export class UserGroupsApi extends BaseAPI {
|
|
11424
|
+
/**
|
|
11425
|
+
* Add a `user` to a `user-group`.
|
|
11426
|
+
* @param {UserGroupsApiAddUsersToUserGroupRequest} requestParameters Request parameters.
|
|
11427
|
+
* @param {*} [options] Override http request option.
|
|
11428
|
+
* @throws {RequiredError}
|
|
11429
|
+
* @memberof UserGroupsApi
|
|
11430
|
+
*/
|
|
11431
|
+
addUsersToUserGroup(requestParameters, options) {
|
|
11432
|
+
return UserGroupsApiFp(this.configuration)
|
|
11433
|
+
.addUsersToUserGroup(requestParameters.id, requestParameters.userIdList, options)
|
|
11434
|
+
.then((request) => request(this.axios, this.basePath));
|
|
11435
|
+
}
|
|
10827
11436
|
/**
|
|
10828
11437
|
* Create a `user-group`
|
|
10829
11438
|
* @param {UserGroupsApiCreateUserGroupRequest} requestParameters Request parameters.
|
|
@@ -10960,13 +11569,13 @@ export const UsersApiAxiosParamCreator = function (configuration) {
|
|
|
10960
11569
|
}),
|
|
10961
11570
|
/**
|
|
10962
11571
|
* List `user`s.
|
|
10963
|
-
* @param {string} [
|
|
11572
|
+
* @param {string} [filterIdpId] Id from the idpProvider.
|
|
10964
11573
|
* @param {string} [pageCursor] The cursor for the next page of items.
|
|
10965
11574
|
* @param {number} [pageSize] The number of items to return.
|
|
10966
11575
|
* @param {*} [options] Override http request option.
|
|
10967
11576
|
* @throws {RequiredError}
|
|
10968
11577
|
*/
|
|
10969
|
-
listUsers: (
|
|
11578
|
+
listUsers: (filterIdpId, pageCursor, pageSize, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
10970
11579
|
var _d;
|
|
10971
11580
|
const localVarPath = `/users`;
|
|
10972
11581
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
@@ -10981,8 +11590,8 @@ export const UsersApiAxiosParamCreator = function (configuration) {
|
|
|
10981
11590
|
// authentication OAuth2 required
|
|
10982
11591
|
// oauth required
|
|
10983
11592
|
yield setOAuthToObject(localVarHeaderParameter, 'OAuth2', [], configuration);
|
|
10984
|
-
if (
|
|
10985
|
-
localVarQueryParameter['filter[
|
|
11593
|
+
if (filterIdpId !== undefined) {
|
|
11594
|
+
localVarQueryParameter['filter[idpId]'] = filterIdpId;
|
|
10986
11595
|
}
|
|
10987
11596
|
if (pageCursor !== undefined) {
|
|
10988
11597
|
localVarQueryParameter['page[cursor]'] = pageCursor;
|
|
@@ -11047,15 +11656,15 @@ export const UsersApiFp = function (configuration) {
|
|
|
11047
11656
|
},
|
|
11048
11657
|
/**
|
|
11049
11658
|
* List `user`s.
|
|
11050
|
-
* @param {string} [
|
|
11659
|
+
* @param {string} [filterIdpId] Id from the idpProvider.
|
|
11051
11660
|
* @param {string} [pageCursor] The cursor for the next page of items.
|
|
11052
11661
|
* @param {number} [pageSize] The number of items to return.
|
|
11053
11662
|
* @param {*} [options] Override http request option.
|
|
11054
11663
|
* @throws {RequiredError}
|
|
11055
11664
|
*/
|
|
11056
|
-
listUsers(
|
|
11665
|
+
listUsers(filterIdpId, pageCursor, pageSize, options) {
|
|
11057
11666
|
return __awaiter(this, void 0, void 0, function* () {
|
|
11058
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.listUsers(
|
|
11667
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.listUsers(filterIdpId, pageCursor, pageSize, options);
|
|
11059
11668
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
11060
11669
|
});
|
|
11061
11670
|
},
|
|
@@ -11105,15 +11714,15 @@ export const UsersApiFactory = function (configuration, basePath, axios) {
|
|
|
11105
11714
|
},
|
|
11106
11715
|
/**
|
|
11107
11716
|
* List `user`s.
|
|
11108
|
-
* @param {string} [
|
|
11717
|
+
* @param {string} [filterIdpId] Id from the idpProvider.
|
|
11109
11718
|
* @param {string} [pageCursor] The cursor for the next page of items.
|
|
11110
11719
|
* @param {number} [pageSize] The number of items to return.
|
|
11111
11720
|
* @param {*} [options] Override http request option.
|
|
11112
11721
|
* @throws {RequiredError}
|
|
11113
11722
|
*/
|
|
11114
|
-
listUsers(
|
|
11723
|
+
listUsers(filterIdpId, pageCursor, pageSize, options) {
|
|
11115
11724
|
return localVarFp
|
|
11116
|
-
.listUsers(
|
|
11725
|
+
.listUsers(filterIdpId, pageCursor, pageSize, options)
|
|
11117
11726
|
.then((request) => request(axios, basePath));
|
|
11118
11727
|
},
|
|
11119
11728
|
};
|
|
@@ -11170,7 +11779,7 @@ export class UsersApi extends BaseAPI {
|
|
|
11170
11779
|
*/
|
|
11171
11780
|
listUsers(requestParameters = {}, options) {
|
|
11172
11781
|
return UsersApiFp(this.configuration)
|
|
11173
|
-
.listUsers(requestParameters.
|
|
11782
|
+
.listUsers(requestParameters.filterIdpId, requestParameters.pageCursor, requestParameters.pageSize, options)
|
|
11174
11783
|
.then((request) => request(this.axios, this.basePath));
|
|
11175
11784
|
}
|
|
11176
11785
|
}
|