@emilgroup/tenant-sdk-node 1.15.0 → 1.16.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/.openapi-generator/FILES +0 -1
- package/README.md +18 -2
- package/api/custom-schema-api.ts +36 -22
- package/api/data-report-api.ts +50 -36
- package/api/invite-users-api.ts +32 -18
- package/api/list-organization-invitations-api.ts +32 -18
- package/api/organizations-api.ts +28 -14
- package/api/roles-api.ts +22 -22
- package/api/settings-api.ts +4 -4
- package/api/users-api.ts +32 -18
- package/configuration.ts +1 -1
- package/dist/api/custom-schema-api.d.ts +28 -19
- package/dist/api/custom-schema-api.js +26 -20
- package/dist/api/data-report-api.d.ts +38 -29
- package/dist/api/data-report-api.js +35 -29
- package/dist/api/invite-users-api.d.ts +24 -15
- package/dist/api/invite-users-api.js +22 -16
- package/dist/api/list-organization-invitations-api.d.ts +24 -15
- package/dist/api/list-organization-invitations-api.js +22 -16
- package/dist/api/organizations-api.d.ts +20 -11
- package/dist/api/organizations-api.js +18 -12
- package/dist/api/roles-api.d.ts +22 -22
- package/dist/api/roles-api.js +13 -13
- package/dist/api/settings-api.d.ts +4 -4
- package/dist/api/settings-api.js +4 -4
- package/dist/api/users-api.d.ts +24 -15
- package/dist/api/users-api.js +22 -16
- package/dist/configuration.js +0 -7
- package/dist/models/batch-delete-request-dto.d.ts +2 -2
- package/dist/models/create-data-report-request-dto.d.ts +1 -1
- package/dist/models/create-role-request-dto.d.ts +2 -2
- package/dist/models/custom-field-dto.d.ts +37 -4
- package/dist/models/custom-field-dto.js +5 -2
- package/dist/models/data-report-class.d.ts +1 -1
- package/dist/models/disable-users-request-dto.d.ts +2 -2
- package/dist/models/enable-users-request-dto.d.ts +2 -2
- package/dist/models/index.d.ts +0 -1
- package/dist/models/index.js +0 -1
- package/dist/models/inline-response200.d.ts +6 -6
- package/dist/models/inline-response503.d.ts +6 -6
- package/dist/models/invite-class.d.ts +7 -0
- package/dist/models/invite-org-request-dto.d.ts +1 -1
- package/dist/models/invite-users-request-dto.d.ts +6 -0
- package/dist/models/organization-class.d.ts +6 -0
- package/dist/models/run-data-report-response-class.d.ts +2 -2
- package/dist/models/update-data-report-request-dto.d.ts +1 -1
- package/dist/models/update-role-request-dto.d.ts +2 -2
- package/dist/models/user-class.d.ts +7 -6
- package/models/batch-delete-request-dto.ts +2 -2
- package/models/create-data-report-request-dto.ts +1 -1
- package/models/create-role-request-dto.ts +2 -2
- package/models/custom-field-dto.ts +38 -5
- package/models/data-report-class.ts +1 -1
- package/models/disable-users-request-dto.ts +2 -2
- package/models/enable-users-request-dto.ts +2 -2
- package/models/index.ts +0 -1
- package/models/inline-response200.ts +6 -6
- package/models/inline-response503.ts +6 -6
- package/models/invite-class.ts +7 -0
- package/models/invite-org-request-dto.ts +1 -1
- package/models/invite-users-request-dto.ts +6 -0
- package/models/organization-class.ts +6 -0
- package/models/run-data-report-response-class.ts +2 -2
- package/models/update-data-report-request-dto.ts +1 -1
- package/models/update-role-request-dto.ts +2 -2
- package/models/user-class.ts +7 -6
- package/package.json +1 -1
- package/dist/models/set-user-setting-response-class.d.ts +0 -36
- package/dist/models/set-user-setting-response-class.js +0 -15
- package/models/set-user-setting-response-class.ts +0 -42
|
@@ -292,19 +292,20 @@ var InviteUsersApiAxiosParamCreator = function (configuration) {
|
|
|
292
292
|
});
|
|
293
293
|
},
|
|
294
294
|
/**
|
|
295
|
-
* Returns a list of invited users you have previously created.
|
|
295
|
+
* Returns a list of invited users you have previously created. The invited users are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
|
|
296
296
|
* @summary List invited users
|
|
297
297
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
298
|
-
* @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and
|
|
298
|
+
* @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
299
299
|
* @param {any} [pageToken] A cursor for use in pagination. pageToken is an ID that defines your place in the list. For instance, if you make a list request and receive 100 objects and pageToken=1, your subsequent call can include pageToken=2 in order to fetch the next page of the list.
|
|
300
300
|
* @param {any} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
|
|
301
|
-
* @param {any} [search]
|
|
301
|
+
* @param {any} [search] To search the list by any field, pass search=xxx to fetch the result.
|
|
302
302
|
* @param {any} [order] The order parameter determines how the results should be sorted according to a specified field. It functions similarly to an SQL ORDER BY. Sorting can be performed in either ascending (ASC) or descending (DESC) order. Default: ASC.
|
|
303
303
|
* @param {any} [expand] Use this parameter to fetch additional information about the list items. The expand query parameter increases the set of fields that appear in the response in addition to the default ones. Expanding resources can reduce the number of API calls required to accomplish a task. However, use this with parsimony as some expanded fields can drastically increase payload size.
|
|
304
|
+
* @param {any} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations. In general, fetching filtered responses conserves bandwidth and reduces response time.
|
|
304
305
|
* @param {*} [options] Override http request option.
|
|
305
306
|
* @throws {RequiredError}
|
|
306
307
|
*/
|
|
307
|
-
listInvites: function (authorization, pageSize, pageToken, filter, search, order, expand, options) {
|
|
308
|
+
listInvites: function (authorization, pageSize, pageToken, filter, search, order, expand, filters, options) {
|
|
308
309
|
if (options === void 0) { options = {}; }
|
|
309
310
|
return __awaiter(_this, void 0, void 0, function () {
|
|
310
311
|
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
@@ -345,6 +346,9 @@ var InviteUsersApiAxiosParamCreator = function (configuration) {
|
|
|
345
346
|
if (expand !== undefined) {
|
|
346
347
|
localVarQueryParameter['expand'] = expand;
|
|
347
348
|
}
|
|
349
|
+
if (filters !== undefined) {
|
|
350
|
+
localVarQueryParameter['filters'] = filters;
|
|
351
|
+
}
|
|
348
352
|
if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
|
|
349
353
|
localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
|
|
350
354
|
}
|
|
@@ -454,24 +458,25 @@ var InviteUsersApiFp = function (configuration) {
|
|
|
454
458
|
});
|
|
455
459
|
},
|
|
456
460
|
/**
|
|
457
|
-
* Returns a list of invited users you have previously created.
|
|
461
|
+
* Returns a list of invited users you have previously created. The invited users are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
|
|
458
462
|
* @summary List invited users
|
|
459
463
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
460
|
-
* @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and
|
|
464
|
+
* @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
461
465
|
* @param {any} [pageToken] A cursor for use in pagination. pageToken is an ID that defines your place in the list. For instance, if you make a list request and receive 100 objects and pageToken=1, your subsequent call can include pageToken=2 in order to fetch the next page of the list.
|
|
462
466
|
* @param {any} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
|
|
463
|
-
* @param {any} [search]
|
|
467
|
+
* @param {any} [search] To search the list by any field, pass search=xxx to fetch the result.
|
|
464
468
|
* @param {any} [order] The order parameter determines how the results should be sorted according to a specified field. It functions similarly to an SQL ORDER BY. Sorting can be performed in either ascending (ASC) or descending (DESC) order. Default: ASC.
|
|
465
469
|
* @param {any} [expand] Use this parameter to fetch additional information about the list items. The expand query parameter increases the set of fields that appear in the response in addition to the default ones. Expanding resources can reduce the number of API calls required to accomplish a task. However, use this with parsimony as some expanded fields can drastically increase payload size.
|
|
470
|
+
* @param {any} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations. In general, fetching filtered responses conserves bandwidth and reduces response time.
|
|
466
471
|
* @param {*} [options] Override http request option.
|
|
467
472
|
* @throws {RequiredError}
|
|
468
473
|
*/
|
|
469
|
-
listInvites: function (authorization, pageSize, pageToken, filter, search, order, expand, options) {
|
|
474
|
+
listInvites: function (authorization, pageSize, pageToken, filter, search, order, expand, filters, options) {
|
|
470
475
|
return __awaiter(this, void 0, void 0, function () {
|
|
471
476
|
var localVarAxiosArgs;
|
|
472
477
|
return __generator(this, function (_a) {
|
|
473
478
|
switch (_a.label) {
|
|
474
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.listInvites(authorization, pageSize, pageToken, filter, search, order, expand, options)];
|
|
479
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.listInvites(authorization, pageSize, pageToken, filter, search, order, expand, filters, options)];
|
|
475
480
|
case 1:
|
|
476
481
|
localVarAxiosArgs = _a.sent();
|
|
477
482
|
return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
@@ -534,20 +539,21 @@ var InviteUsersApiFactory = function (configuration, basePath, axios) {
|
|
|
534
539
|
return localVarFp.inviteUsers(inviteUsersRequestDto, authorization, options).then(function (request) { return request(axios, basePath); });
|
|
535
540
|
},
|
|
536
541
|
/**
|
|
537
|
-
* Returns a list of invited users you have previously created.
|
|
542
|
+
* Returns a list of invited users you have previously created. The invited users are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
|
|
538
543
|
* @summary List invited users
|
|
539
544
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
540
|
-
* @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and
|
|
545
|
+
* @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
541
546
|
* @param {any} [pageToken] A cursor for use in pagination. pageToken is an ID that defines your place in the list. For instance, if you make a list request and receive 100 objects and pageToken=1, your subsequent call can include pageToken=2 in order to fetch the next page of the list.
|
|
542
547
|
* @param {any} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
|
|
543
|
-
* @param {any} [search]
|
|
548
|
+
* @param {any} [search] To search the list by any field, pass search=xxx to fetch the result.
|
|
544
549
|
* @param {any} [order] The order parameter determines how the results should be sorted according to a specified field. It functions similarly to an SQL ORDER BY. Sorting can be performed in either ascending (ASC) or descending (DESC) order. Default: ASC.
|
|
545
550
|
* @param {any} [expand] Use this parameter to fetch additional information about the list items. The expand query parameter increases the set of fields that appear in the response in addition to the default ones. Expanding resources can reduce the number of API calls required to accomplish a task. However, use this with parsimony as some expanded fields can drastically increase payload size.
|
|
551
|
+
* @param {any} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations. In general, fetching filtered responses conserves bandwidth and reduces response time.
|
|
546
552
|
* @param {*} [options] Override http request option.
|
|
547
553
|
* @throws {RequiredError}
|
|
548
554
|
*/
|
|
549
|
-
listInvites: function (authorization, pageSize, pageToken, filter, search, order, expand, options) {
|
|
550
|
-
return localVarFp.listInvites(authorization, pageSize, pageToken, filter, search, order, expand, options).then(function (request) { return request(axios, basePath); });
|
|
555
|
+
listInvites: function (authorization, pageSize, pageToken, filter, search, order, expand, filters, options) {
|
|
556
|
+
return localVarFp.listInvites(authorization, pageSize, pageToken, filter, search, order, expand, filters, options).then(function (request) { return request(axios, basePath); });
|
|
551
557
|
},
|
|
552
558
|
};
|
|
553
559
|
};
|
|
@@ -612,7 +618,7 @@ var InviteUsersApi = /** @class */ (function (_super) {
|
|
|
612
618
|
return (0, exports.InviteUsersApiFp)(this.configuration).inviteUsers(requestParameters.inviteUsersRequestDto, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
613
619
|
};
|
|
614
620
|
/**
|
|
615
|
-
* Returns a list of invited users you have previously created.
|
|
621
|
+
* Returns a list of invited users you have previously created. The invited users are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
|
|
616
622
|
* @summary List invited users
|
|
617
623
|
* @param {InviteUsersApiListInvitesRequest} requestParameters Request parameters.
|
|
618
624
|
* @param {*} [options] Override http request option.
|
|
@@ -622,7 +628,7 @@ var InviteUsersApi = /** @class */ (function (_super) {
|
|
|
622
628
|
InviteUsersApi.prototype.listInvites = function (requestParameters, options) {
|
|
623
629
|
var _this = this;
|
|
624
630
|
if (requestParameters === void 0) { requestParameters = {}; }
|
|
625
|
-
return (0, exports.InviteUsersApiFp)(this.configuration).listInvites(requestParameters.authorization, requestParameters.pageSize, requestParameters.pageToken, requestParameters.filter, requestParameters.search, requestParameters.order, requestParameters.expand, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
631
|
+
return (0, exports.InviteUsersApiFp)(this.configuration).listInvites(requestParameters.authorization, requestParameters.pageSize, requestParameters.pageToken, requestParameters.filter, requestParameters.search, requestParameters.order, requestParameters.expand, requestParameters.filters, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
626
632
|
};
|
|
627
633
|
return InviteUsersApi;
|
|
628
634
|
}(base_1.BaseAPI));
|
|
@@ -19,19 +19,20 @@ import { ListOrgInvitationsResponseClass } from '../models';
|
|
|
19
19
|
*/
|
|
20
20
|
export declare const ListOrganizationInvitationsApiAxiosParamCreator: (configuration?: Configuration) => {
|
|
21
21
|
/**
|
|
22
|
-
* Returns a list of organization invitations you have previously created.
|
|
22
|
+
* Returns a list of organization invitations you have previously created. The organization invitations are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
|
|
23
23
|
* @summary List organization invitations
|
|
24
24
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
25
|
-
* @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and
|
|
25
|
+
* @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
26
26
|
* @param {any} [pageToken] A cursor for use in pagination. pageToken is an ID that defines your place in the list. For instance, if you make a list request and receive 100 objects and pageToken=1, your subsequent call can include pageToken=2 in order to fetch the next page of the list.
|
|
27
27
|
* @param {any} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
|
|
28
|
-
* @param {any} [search]
|
|
28
|
+
* @param {any} [search] To search the list by any field, pass search=xxx to fetch the result.
|
|
29
29
|
* @param {any} [order] The order parameter determines how the results should be sorted according to a specified field. It functions similarly to an SQL ORDER BY. Sorting can be performed in either ascending (ASC) or descending (DESC) order. Default: ASC.
|
|
30
30
|
* @param {any} [expand] Use this parameter to fetch additional information about the list items. The expand query parameter increases the set of fields that appear in the response in addition to the default ones. Expanding resources can reduce the number of API calls required to accomplish a task. However, use this with parsimony as some expanded fields can drastically increase payload size.
|
|
31
|
+
* @param {any} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations. In general, fetching filtered responses conserves bandwidth and reduces response time.
|
|
31
32
|
* @param {*} [options] Override http request option.
|
|
32
33
|
* @throws {RequiredError}
|
|
33
34
|
*/
|
|
34
|
-
listOrgInvitations: (authorization?: string, pageSize?: any, pageToken?: any, filter?: any, search?: any, order?: any, expand?: any, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
35
|
+
listOrgInvitations: (authorization?: string, pageSize?: any, pageToken?: any, filter?: any, search?: any, order?: any, expand?: any, filters?: any, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
35
36
|
};
|
|
36
37
|
/**
|
|
37
38
|
* ListOrganizationInvitationsApi - functional programming interface
|
|
@@ -39,19 +40,20 @@ export declare const ListOrganizationInvitationsApiAxiosParamCreator: (configura
|
|
|
39
40
|
*/
|
|
40
41
|
export declare const ListOrganizationInvitationsApiFp: (configuration?: Configuration) => {
|
|
41
42
|
/**
|
|
42
|
-
* Returns a list of organization invitations you have previously created.
|
|
43
|
+
* Returns a list of organization invitations you have previously created. The organization invitations are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
|
|
43
44
|
* @summary List organization invitations
|
|
44
45
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
45
|
-
* @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and
|
|
46
|
+
* @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
46
47
|
* @param {any} [pageToken] A cursor for use in pagination. pageToken is an ID that defines your place in the list. For instance, if you make a list request and receive 100 objects and pageToken=1, your subsequent call can include pageToken=2 in order to fetch the next page of the list.
|
|
47
48
|
* @param {any} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
|
|
48
|
-
* @param {any} [search]
|
|
49
|
+
* @param {any} [search] To search the list by any field, pass search=xxx to fetch the result.
|
|
49
50
|
* @param {any} [order] The order parameter determines how the results should be sorted according to a specified field. It functions similarly to an SQL ORDER BY. Sorting can be performed in either ascending (ASC) or descending (DESC) order. Default: ASC.
|
|
50
51
|
* @param {any} [expand] Use this parameter to fetch additional information about the list items. The expand query parameter increases the set of fields that appear in the response in addition to the default ones. Expanding resources can reduce the number of API calls required to accomplish a task. However, use this with parsimony as some expanded fields can drastically increase payload size.
|
|
52
|
+
* @param {any} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations. In general, fetching filtered responses conserves bandwidth and reduces response time.
|
|
51
53
|
* @param {*} [options] Override http request option.
|
|
52
54
|
* @throws {RequiredError}
|
|
53
55
|
*/
|
|
54
|
-
listOrgInvitations(authorization?: string, pageSize?: any, pageToken?: any, filter?: any, search?: any, order?: any, expand?: any, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListOrgInvitationsResponseClass>>;
|
|
56
|
+
listOrgInvitations(authorization?: string, pageSize?: any, pageToken?: any, filter?: any, search?: any, order?: any, expand?: any, filters?: any, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListOrgInvitationsResponseClass>>;
|
|
55
57
|
};
|
|
56
58
|
/**
|
|
57
59
|
* ListOrganizationInvitationsApi - factory interface
|
|
@@ -59,19 +61,20 @@ export declare const ListOrganizationInvitationsApiFp: (configuration?: Configur
|
|
|
59
61
|
*/
|
|
60
62
|
export declare const ListOrganizationInvitationsApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
|
|
61
63
|
/**
|
|
62
|
-
* Returns a list of organization invitations you have previously created.
|
|
64
|
+
* Returns a list of organization invitations you have previously created. The organization invitations are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
|
|
63
65
|
* @summary List organization invitations
|
|
64
66
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
65
|
-
* @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and
|
|
67
|
+
* @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
66
68
|
* @param {any} [pageToken] A cursor for use in pagination. pageToken is an ID that defines your place in the list. For instance, if you make a list request and receive 100 objects and pageToken=1, your subsequent call can include pageToken=2 in order to fetch the next page of the list.
|
|
67
69
|
* @param {any} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
|
|
68
|
-
* @param {any} [search]
|
|
70
|
+
* @param {any} [search] To search the list by any field, pass search=xxx to fetch the result.
|
|
69
71
|
* @param {any} [order] The order parameter determines how the results should be sorted according to a specified field. It functions similarly to an SQL ORDER BY. Sorting can be performed in either ascending (ASC) or descending (DESC) order. Default: ASC.
|
|
70
72
|
* @param {any} [expand] Use this parameter to fetch additional information about the list items. The expand query parameter increases the set of fields that appear in the response in addition to the default ones. Expanding resources can reduce the number of API calls required to accomplish a task. However, use this with parsimony as some expanded fields can drastically increase payload size.
|
|
73
|
+
* @param {any} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations. In general, fetching filtered responses conserves bandwidth and reduces response time.
|
|
71
74
|
* @param {*} [options] Override http request option.
|
|
72
75
|
* @throws {RequiredError}
|
|
73
76
|
*/
|
|
74
|
-
listOrgInvitations(authorization?: string, pageSize?: any, pageToken?: any, filter?: any, search?: any, order?: any, expand?: any, options?: any): AxiosPromise<ListOrgInvitationsResponseClass>;
|
|
77
|
+
listOrgInvitations(authorization?: string, pageSize?: any, pageToken?: any, filter?: any, search?: any, order?: any, expand?: any, filters?: any, options?: any): AxiosPromise<ListOrgInvitationsResponseClass>;
|
|
75
78
|
};
|
|
76
79
|
/**
|
|
77
80
|
* Request parameters for listOrgInvitations operation in ListOrganizationInvitationsApi.
|
|
@@ -86,7 +89,7 @@ export interface ListOrganizationInvitationsApiListOrgInvitationsRequest {
|
|
|
86
89
|
*/
|
|
87
90
|
readonly authorization?: string;
|
|
88
91
|
/**
|
|
89
|
-
* A limit on the number of objects to be returned. Limit ranges between 1 and
|
|
92
|
+
* A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
90
93
|
* @type {any}
|
|
91
94
|
* @memberof ListOrganizationInvitationsApiListOrgInvitations
|
|
92
95
|
*/
|
|
@@ -104,7 +107,7 @@ export interface ListOrganizationInvitationsApiListOrgInvitationsRequest {
|
|
|
104
107
|
*/
|
|
105
108
|
readonly filter?: any;
|
|
106
109
|
/**
|
|
107
|
-
*
|
|
110
|
+
* To search the list by any field, pass search=xxx to fetch the result.
|
|
108
111
|
* @type {any}
|
|
109
112
|
* @memberof ListOrganizationInvitationsApiListOrgInvitations
|
|
110
113
|
*/
|
|
@@ -121,6 +124,12 @@ export interface ListOrganizationInvitationsApiListOrgInvitationsRequest {
|
|
|
121
124
|
* @memberof ListOrganizationInvitationsApiListOrgInvitations
|
|
122
125
|
*/
|
|
123
126
|
readonly expand?: any;
|
|
127
|
+
/**
|
|
128
|
+
* Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations. In general, fetching filtered responses conserves bandwidth and reduces response time.
|
|
129
|
+
* @type {any}
|
|
130
|
+
* @memberof ListOrganizationInvitationsApiListOrgInvitations
|
|
131
|
+
*/
|
|
132
|
+
readonly filters?: any;
|
|
124
133
|
}
|
|
125
134
|
/**
|
|
126
135
|
* ListOrganizationInvitationsApi - object-oriented interface
|
|
@@ -130,7 +139,7 @@ export interface ListOrganizationInvitationsApiListOrgInvitationsRequest {
|
|
|
130
139
|
*/
|
|
131
140
|
export declare class ListOrganizationInvitationsApi extends BaseAPI {
|
|
132
141
|
/**
|
|
133
|
-
* Returns a list of organization invitations you have previously created.
|
|
142
|
+
* Returns a list of organization invitations you have previously created. The organization invitations are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
|
|
134
143
|
* @summary List organization invitations
|
|
135
144
|
* @param {ListOrganizationInvitationsApiListOrgInvitationsRequest} requestParameters Request parameters.
|
|
136
145
|
* @param {*} [options] Override http request option.
|
|
@@ -97,19 +97,20 @@ var ListOrganizationInvitationsApiAxiosParamCreator = function (configuration) {
|
|
|
97
97
|
var _this = this;
|
|
98
98
|
return {
|
|
99
99
|
/**
|
|
100
|
-
* Returns a list of organization invitations you have previously created.
|
|
100
|
+
* Returns a list of organization invitations you have previously created. The organization invitations are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
|
|
101
101
|
* @summary List organization invitations
|
|
102
102
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
103
|
-
* @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and
|
|
103
|
+
* @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
104
104
|
* @param {any} [pageToken] A cursor for use in pagination. pageToken is an ID that defines your place in the list. For instance, if you make a list request and receive 100 objects and pageToken=1, your subsequent call can include pageToken=2 in order to fetch the next page of the list.
|
|
105
105
|
* @param {any} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
|
|
106
|
-
* @param {any} [search]
|
|
106
|
+
* @param {any} [search] To search the list by any field, pass search=xxx to fetch the result.
|
|
107
107
|
* @param {any} [order] The order parameter determines how the results should be sorted according to a specified field. It functions similarly to an SQL ORDER BY. Sorting can be performed in either ascending (ASC) or descending (DESC) order. Default: ASC.
|
|
108
108
|
* @param {any} [expand] Use this parameter to fetch additional information about the list items. The expand query parameter increases the set of fields that appear in the response in addition to the default ones. Expanding resources can reduce the number of API calls required to accomplish a task. However, use this with parsimony as some expanded fields can drastically increase payload size.
|
|
109
|
+
* @param {any} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations. In general, fetching filtered responses conserves bandwidth and reduces response time.
|
|
109
110
|
* @param {*} [options] Override http request option.
|
|
110
111
|
* @throws {RequiredError}
|
|
111
112
|
*/
|
|
112
|
-
listOrgInvitations: function (authorization, pageSize, pageToken, filter, search, order, expand, options) {
|
|
113
|
+
listOrgInvitations: function (authorization, pageSize, pageToken, filter, search, order, expand, filters, options) {
|
|
113
114
|
if (options === void 0) { options = {}; }
|
|
114
115
|
return __awaiter(_this, void 0, void 0, function () {
|
|
115
116
|
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
@@ -150,6 +151,9 @@ var ListOrganizationInvitationsApiAxiosParamCreator = function (configuration) {
|
|
|
150
151
|
if (expand !== undefined) {
|
|
151
152
|
localVarQueryParameter['expand'] = expand;
|
|
152
153
|
}
|
|
154
|
+
if (filters !== undefined) {
|
|
155
|
+
localVarQueryParameter['filters'] = filters;
|
|
156
|
+
}
|
|
153
157
|
if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
|
|
154
158
|
localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
|
|
155
159
|
}
|
|
@@ -175,24 +179,25 @@ var ListOrganizationInvitationsApiFp = function (configuration) {
|
|
|
175
179
|
var localVarAxiosParamCreator = (0, exports.ListOrganizationInvitationsApiAxiosParamCreator)(configuration);
|
|
176
180
|
return {
|
|
177
181
|
/**
|
|
178
|
-
* Returns a list of organization invitations you have previously created.
|
|
182
|
+
* Returns a list of organization invitations you have previously created. The organization invitations are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
|
|
179
183
|
* @summary List organization invitations
|
|
180
184
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
181
|
-
* @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and
|
|
185
|
+
* @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
182
186
|
* @param {any} [pageToken] A cursor for use in pagination. pageToken is an ID that defines your place in the list. For instance, if you make a list request and receive 100 objects and pageToken=1, your subsequent call can include pageToken=2 in order to fetch the next page of the list.
|
|
183
187
|
* @param {any} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
|
|
184
|
-
* @param {any} [search]
|
|
188
|
+
* @param {any} [search] To search the list by any field, pass search=xxx to fetch the result.
|
|
185
189
|
* @param {any} [order] The order parameter determines how the results should be sorted according to a specified field. It functions similarly to an SQL ORDER BY. Sorting can be performed in either ascending (ASC) or descending (DESC) order. Default: ASC.
|
|
186
190
|
* @param {any} [expand] Use this parameter to fetch additional information about the list items. The expand query parameter increases the set of fields that appear in the response in addition to the default ones. Expanding resources can reduce the number of API calls required to accomplish a task. However, use this with parsimony as some expanded fields can drastically increase payload size.
|
|
191
|
+
* @param {any} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations. In general, fetching filtered responses conserves bandwidth and reduces response time.
|
|
187
192
|
* @param {*} [options] Override http request option.
|
|
188
193
|
* @throws {RequiredError}
|
|
189
194
|
*/
|
|
190
|
-
listOrgInvitations: function (authorization, pageSize, pageToken, filter, search, order, expand, options) {
|
|
195
|
+
listOrgInvitations: function (authorization, pageSize, pageToken, filter, search, order, expand, filters, options) {
|
|
191
196
|
return __awaiter(this, void 0, void 0, function () {
|
|
192
197
|
var localVarAxiosArgs;
|
|
193
198
|
return __generator(this, function (_a) {
|
|
194
199
|
switch (_a.label) {
|
|
195
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.listOrgInvitations(authorization, pageSize, pageToken, filter, search, order, expand, options)];
|
|
200
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.listOrgInvitations(authorization, pageSize, pageToken, filter, search, order, expand, filters, options)];
|
|
196
201
|
case 1:
|
|
197
202
|
localVarAxiosArgs = _a.sent();
|
|
198
203
|
return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
@@ -211,20 +216,21 @@ var ListOrganizationInvitationsApiFactory = function (configuration, basePath, a
|
|
|
211
216
|
var localVarFp = (0, exports.ListOrganizationInvitationsApiFp)(configuration);
|
|
212
217
|
return {
|
|
213
218
|
/**
|
|
214
|
-
* Returns a list of organization invitations you have previously created.
|
|
219
|
+
* Returns a list of organization invitations you have previously created. The organization invitations are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
|
|
215
220
|
* @summary List organization invitations
|
|
216
221
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
217
|
-
* @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and
|
|
222
|
+
* @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
218
223
|
* @param {any} [pageToken] A cursor for use in pagination. pageToken is an ID that defines your place in the list. For instance, if you make a list request and receive 100 objects and pageToken=1, your subsequent call can include pageToken=2 in order to fetch the next page of the list.
|
|
219
224
|
* @param {any} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
|
|
220
|
-
* @param {any} [search]
|
|
225
|
+
* @param {any} [search] To search the list by any field, pass search=xxx to fetch the result.
|
|
221
226
|
* @param {any} [order] The order parameter determines how the results should be sorted according to a specified field. It functions similarly to an SQL ORDER BY. Sorting can be performed in either ascending (ASC) or descending (DESC) order. Default: ASC.
|
|
222
227
|
* @param {any} [expand] Use this parameter to fetch additional information about the list items. The expand query parameter increases the set of fields that appear in the response in addition to the default ones. Expanding resources can reduce the number of API calls required to accomplish a task. However, use this with parsimony as some expanded fields can drastically increase payload size.
|
|
228
|
+
* @param {any} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations. In general, fetching filtered responses conserves bandwidth and reduces response time.
|
|
223
229
|
* @param {*} [options] Override http request option.
|
|
224
230
|
* @throws {RequiredError}
|
|
225
231
|
*/
|
|
226
|
-
listOrgInvitations: function (authorization, pageSize, pageToken, filter, search, order, expand, options) {
|
|
227
|
-
return localVarFp.listOrgInvitations(authorization, pageSize, pageToken, filter, search, order, expand, options).then(function (request) { return request(axios, basePath); });
|
|
232
|
+
listOrgInvitations: function (authorization, pageSize, pageToken, filter, search, order, expand, filters, options) {
|
|
233
|
+
return localVarFp.listOrgInvitations(authorization, pageSize, pageToken, filter, search, order, expand, filters, options).then(function (request) { return request(axios, basePath); });
|
|
228
234
|
},
|
|
229
235
|
};
|
|
230
236
|
};
|
|
@@ -241,7 +247,7 @@ var ListOrganizationInvitationsApi = /** @class */ (function (_super) {
|
|
|
241
247
|
return _super !== null && _super.apply(this, arguments) || this;
|
|
242
248
|
}
|
|
243
249
|
/**
|
|
244
|
-
* Returns a list of organization invitations you have previously created.
|
|
250
|
+
* Returns a list of organization invitations you have previously created. The organization invitations are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
|
|
245
251
|
* @summary List organization invitations
|
|
246
252
|
* @param {ListOrganizationInvitationsApiListOrgInvitationsRequest} requestParameters Request parameters.
|
|
247
253
|
* @param {*} [options] Override http request option.
|
|
@@ -251,7 +257,7 @@ var ListOrganizationInvitationsApi = /** @class */ (function (_super) {
|
|
|
251
257
|
ListOrganizationInvitationsApi.prototype.listOrgInvitations = function (requestParameters, options) {
|
|
252
258
|
var _this = this;
|
|
253
259
|
if (requestParameters === void 0) { requestParameters = {}; }
|
|
254
|
-
return (0, exports.ListOrganizationInvitationsApiFp)(this.configuration).listOrgInvitations(requestParameters.authorization, requestParameters.pageSize, requestParameters.pageToken, requestParameters.filter, requestParameters.search, requestParameters.order, requestParameters.expand, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
260
|
+
return (0, exports.ListOrganizationInvitationsApiFp)(this.configuration).listOrgInvitations(requestParameters.authorization, requestParameters.pageSize, requestParameters.pageToken, requestParameters.filter, requestParameters.search, requestParameters.order, requestParameters.expand, requestParameters.filters, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
255
261
|
};
|
|
256
262
|
return ListOrganizationInvitationsApi;
|
|
257
263
|
}(base_1.BaseAPI));
|
|
@@ -34,16 +34,17 @@ export declare const OrganizationsApiAxiosParamCreator: (configuration?: Configu
|
|
|
34
34
|
* This will fetch list of organizations
|
|
35
35
|
* @summary List organizations
|
|
36
36
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
37
|
-
* @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and
|
|
37
|
+
* @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
38
38
|
* @param {any} [pageToken] A cursor for use in pagination. pageToken is an ID that defines your place in the list. For instance, if you make a list request and receive 100 objects and pageToken=1, your subsequent call can include pageToken=2 in order to fetch the next page of the list.
|
|
39
39
|
* @param {any} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
|
|
40
|
-
* @param {any} [search]
|
|
40
|
+
* @param {any} [search] To search the list by any field, pass search=xxx to fetch the result.
|
|
41
41
|
* @param {any} [order] The order parameter determines how the results should be sorted according to a specified field. It functions similarly to an SQL ORDER BY. Sorting can be performed in either ascending (ASC) or descending (DESC) order. Default: ASC.
|
|
42
42
|
* @param {any} [expand] Use this parameter to fetch additional information about the list items. The expand query parameter increases the set of fields that appear in the response in addition to the default ones. Expanding resources can reduce the number of API calls required to accomplish a task. However, use this with parsimony as some expanded fields can drastically increase payload size.
|
|
43
|
+
* @param {any} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations. In general, fetching filtered responses conserves bandwidth and reduces response time.
|
|
43
44
|
* @param {*} [options] Override http request option.
|
|
44
45
|
* @throws {RequiredError}
|
|
45
46
|
*/
|
|
46
|
-
listOrganizations: (authorization?: string, pageSize?: any, pageToken?: any, filter?: any, search?: any, order?: any, expand?: any, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
47
|
+
listOrganizations: (authorization?: string, pageSize?: any, pageToken?: any, filter?: any, search?: any, order?: any, expand?: any, filters?: any, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
47
48
|
/**
|
|
48
49
|
* Update organization data
|
|
49
50
|
* @summary Update the Organization
|
|
@@ -73,16 +74,17 @@ export declare const OrganizationsApiFp: (configuration?: Configuration) => {
|
|
|
73
74
|
* This will fetch list of organizations
|
|
74
75
|
* @summary List organizations
|
|
75
76
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
76
|
-
* @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and
|
|
77
|
+
* @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
77
78
|
* @param {any} [pageToken] A cursor for use in pagination. pageToken is an ID that defines your place in the list. For instance, if you make a list request and receive 100 objects and pageToken=1, your subsequent call can include pageToken=2 in order to fetch the next page of the list.
|
|
78
79
|
* @param {any} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
|
|
79
|
-
* @param {any} [search]
|
|
80
|
+
* @param {any} [search] To search the list by any field, pass search=xxx to fetch the result.
|
|
80
81
|
* @param {any} [order] The order parameter determines how the results should be sorted according to a specified field. It functions similarly to an SQL ORDER BY. Sorting can be performed in either ascending (ASC) or descending (DESC) order. Default: ASC.
|
|
81
82
|
* @param {any} [expand] Use this parameter to fetch additional information about the list items. The expand query parameter increases the set of fields that appear in the response in addition to the default ones. Expanding resources can reduce the number of API calls required to accomplish a task. However, use this with parsimony as some expanded fields can drastically increase payload size.
|
|
83
|
+
* @param {any} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations. In general, fetching filtered responses conserves bandwidth and reduces response time.
|
|
82
84
|
* @param {*} [options] Override http request option.
|
|
83
85
|
* @throws {RequiredError}
|
|
84
86
|
*/
|
|
85
|
-
listOrganizations(authorization?: string, pageSize?: any, pageToken?: any, filter?: any, search?: any, order?: any, expand?: any, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListOrganizationsResponseClass>>;
|
|
87
|
+
listOrganizations(authorization?: string, pageSize?: any, pageToken?: any, filter?: any, search?: any, order?: any, expand?: any, filters?: any, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListOrganizationsResponseClass>>;
|
|
86
88
|
/**
|
|
87
89
|
* Update organization data
|
|
88
90
|
* @summary Update the Organization
|
|
@@ -112,16 +114,17 @@ export declare const OrganizationsApiFactory: (configuration?: Configuration, ba
|
|
|
112
114
|
* This will fetch list of organizations
|
|
113
115
|
* @summary List organizations
|
|
114
116
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
115
|
-
* @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and
|
|
117
|
+
* @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
116
118
|
* @param {any} [pageToken] A cursor for use in pagination. pageToken is an ID that defines your place in the list. For instance, if you make a list request and receive 100 objects and pageToken=1, your subsequent call can include pageToken=2 in order to fetch the next page of the list.
|
|
117
119
|
* @param {any} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
|
|
118
|
-
* @param {any} [search]
|
|
120
|
+
* @param {any} [search] To search the list by any field, pass search=xxx to fetch the result.
|
|
119
121
|
* @param {any} [order] The order parameter determines how the results should be sorted according to a specified field. It functions similarly to an SQL ORDER BY. Sorting can be performed in either ascending (ASC) or descending (DESC) order. Default: ASC.
|
|
120
122
|
* @param {any} [expand] Use this parameter to fetch additional information about the list items. The expand query parameter increases the set of fields that appear in the response in addition to the default ones. Expanding resources can reduce the number of API calls required to accomplish a task. However, use this with parsimony as some expanded fields can drastically increase payload size.
|
|
123
|
+
* @param {any} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations. In general, fetching filtered responses conserves bandwidth and reduces response time.
|
|
121
124
|
* @param {*} [options] Override http request option.
|
|
122
125
|
* @throws {RequiredError}
|
|
123
126
|
*/
|
|
124
|
-
listOrganizations(authorization?: string, pageSize?: any, pageToken?: any, filter?: any, search?: any, order?: any, expand?: any, options?: any): AxiosPromise<ListOrganizationsResponseClass>;
|
|
127
|
+
listOrganizations(authorization?: string, pageSize?: any, pageToken?: any, filter?: any, search?: any, order?: any, expand?: any, filters?: any, options?: any): AxiosPromise<ListOrganizationsResponseClass>;
|
|
125
128
|
/**
|
|
126
129
|
* Update organization data
|
|
127
130
|
* @summary Update the Organization
|
|
@@ -165,7 +168,7 @@ export interface OrganizationsApiListOrganizationsRequest {
|
|
|
165
168
|
*/
|
|
166
169
|
readonly authorization?: string;
|
|
167
170
|
/**
|
|
168
|
-
* A limit on the number of objects to be returned. Limit ranges between 1 and
|
|
171
|
+
* A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
169
172
|
* @type {any}
|
|
170
173
|
* @memberof OrganizationsApiListOrganizations
|
|
171
174
|
*/
|
|
@@ -183,7 +186,7 @@ export interface OrganizationsApiListOrganizationsRequest {
|
|
|
183
186
|
*/
|
|
184
187
|
readonly filter?: any;
|
|
185
188
|
/**
|
|
186
|
-
*
|
|
189
|
+
* To search the list by any field, pass search=xxx to fetch the result.
|
|
187
190
|
* @type {any}
|
|
188
191
|
* @memberof OrganizationsApiListOrganizations
|
|
189
192
|
*/
|
|
@@ -200,6 +203,12 @@ export interface OrganizationsApiListOrganizationsRequest {
|
|
|
200
203
|
* @memberof OrganizationsApiListOrganizations
|
|
201
204
|
*/
|
|
202
205
|
readonly expand?: any;
|
|
206
|
+
/**
|
|
207
|
+
* Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations. In general, fetching filtered responses conserves bandwidth and reduces response time.
|
|
208
|
+
* @type {any}
|
|
209
|
+
* @memberof OrganizationsApiListOrganizations
|
|
210
|
+
*/
|
|
211
|
+
readonly filters?: any;
|
|
203
212
|
}
|
|
204
213
|
/**
|
|
205
214
|
* Request parameters for updateOrganization operation in OrganizationsApi.
|
|
@@ -148,16 +148,17 @@ var OrganizationsApiAxiosParamCreator = function (configuration) {
|
|
|
148
148
|
* This will fetch list of organizations
|
|
149
149
|
* @summary List organizations
|
|
150
150
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
151
|
-
* @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and
|
|
151
|
+
* @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
152
152
|
* @param {any} [pageToken] A cursor for use in pagination. pageToken is an ID that defines your place in the list. For instance, if you make a list request and receive 100 objects and pageToken=1, your subsequent call can include pageToken=2 in order to fetch the next page of the list.
|
|
153
153
|
* @param {any} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
|
|
154
|
-
* @param {any} [search]
|
|
154
|
+
* @param {any} [search] To search the list by any field, pass search=xxx to fetch the result.
|
|
155
155
|
* @param {any} [order] The order parameter determines how the results should be sorted according to a specified field. It functions similarly to an SQL ORDER BY. Sorting can be performed in either ascending (ASC) or descending (DESC) order. Default: ASC.
|
|
156
156
|
* @param {any} [expand] Use this parameter to fetch additional information about the list items. The expand query parameter increases the set of fields that appear in the response in addition to the default ones. Expanding resources can reduce the number of API calls required to accomplish a task. However, use this with parsimony as some expanded fields can drastically increase payload size.
|
|
157
|
+
* @param {any} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations. In general, fetching filtered responses conserves bandwidth and reduces response time.
|
|
157
158
|
* @param {*} [options] Override http request option.
|
|
158
159
|
* @throws {RequiredError}
|
|
159
160
|
*/
|
|
160
|
-
listOrganizations: function (authorization, pageSize, pageToken, filter, search, order, expand, options) {
|
|
161
|
+
listOrganizations: function (authorization, pageSize, pageToken, filter, search, order, expand, filters, options) {
|
|
161
162
|
if (options === void 0) { options = {}; }
|
|
162
163
|
return __awaiter(_this, void 0, void 0, function () {
|
|
163
164
|
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
@@ -198,6 +199,9 @@ var OrganizationsApiAxiosParamCreator = function (configuration) {
|
|
|
198
199
|
if (expand !== undefined) {
|
|
199
200
|
localVarQueryParameter['expand'] = expand;
|
|
200
201
|
}
|
|
202
|
+
if (filters !== undefined) {
|
|
203
|
+
localVarQueryParameter['filters'] = filters;
|
|
204
|
+
}
|
|
201
205
|
if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
|
|
202
206
|
localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
|
|
203
207
|
}
|
|
@@ -300,21 +304,22 @@ var OrganizationsApiFp = function (configuration) {
|
|
|
300
304
|
* This will fetch list of organizations
|
|
301
305
|
* @summary List organizations
|
|
302
306
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
303
|
-
* @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and
|
|
307
|
+
* @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
304
308
|
* @param {any} [pageToken] A cursor for use in pagination. pageToken is an ID that defines your place in the list. For instance, if you make a list request and receive 100 objects and pageToken=1, your subsequent call can include pageToken=2 in order to fetch the next page of the list.
|
|
305
309
|
* @param {any} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
|
|
306
|
-
* @param {any} [search]
|
|
310
|
+
* @param {any} [search] To search the list by any field, pass search=xxx to fetch the result.
|
|
307
311
|
* @param {any} [order] The order parameter determines how the results should be sorted according to a specified field. It functions similarly to an SQL ORDER BY. Sorting can be performed in either ascending (ASC) or descending (DESC) order. Default: ASC.
|
|
308
312
|
* @param {any} [expand] Use this parameter to fetch additional information about the list items. The expand query parameter increases the set of fields that appear in the response in addition to the default ones. Expanding resources can reduce the number of API calls required to accomplish a task. However, use this with parsimony as some expanded fields can drastically increase payload size.
|
|
313
|
+
* @param {any} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations. In general, fetching filtered responses conserves bandwidth and reduces response time.
|
|
309
314
|
* @param {*} [options] Override http request option.
|
|
310
315
|
* @throws {RequiredError}
|
|
311
316
|
*/
|
|
312
|
-
listOrganizations: function (authorization, pageSize, pageToken, filter, search, order, expand, options) {
|
|
317
|
+
listOrganizations: function (authorization, pageSize, pageToken, filter, search, order, expand, filters, options) {
|
|
313
318
|
return __awaiter(this, void 0, void 0, function () {
|
|
314
319
|
var localVarAxiosArgs;
|
|
315
320
|
return __generator(this, function (_a) {
|
|
316
321
|
switch (_a.label) {
|
|
317
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.listOrganizations(authorization, pageSize, pageToken, filter, search, order, expand, options)];
|
|
322
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.listOrganizations(authorization, pageSize, pageToken, filter, search, order, expand, filters, options)];
|
|
318
323
|
case 1:
|
|
319
324
|
localVarAxiosArgs = _a.sent();
|
|
320
325
|
return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
@@ -369,17 +374,18 @@ var OrganizationsApiFactory = function (configuration, basePath, axios) {
|
|
|
369
374
|
* This will fetch list of organizations
|
|
370
375
|
* @summary List organizations
|
|
371
376
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
372
|
-
* @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and
|
|
377
|
+
* @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
373
378
|
* @param {any} [pageToken] A cursor for use in pagination. pageToken is an ID that defines your place in the list. For instance, if you make a list request and receive 100 objects and pageToken=1, your subsequent call can include pageToken=2 in order to fetch the next page of the list.
|
|
374
379
|
* @param {any} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
|
|
375
|
-
* @param {any} [search]
|
|
380
|
+
* @param {any} [search] To search the list by any field, pass search=xxx to fetch the result.
|
|
376
381
|
* @param {any} [order] The order parameter determines how the results should be sorted according to a specified field. It functions similarly to an SQL ORDER BY. Sorting can be performed in either ascending (ASC) or descending (DESC) order. Default: ASC.
|
|
377
382
|
* @param {any} [expand] Use this parameter to fetch additional information about the list items. The expand query parameter increases the set of fields that appear in the response in addition to the default ones. Expanding resources can reduce the number of API calls required to accomplish a task. However, use this with parsimony as some expanded fields can drastically increase payload size.
|
|
383
|
+
* @param {any} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations. In general, fetching filtered responses conserves bandwidth and reduces response time.
|
|
378
384
|
* @param {*} [options] Override http request option.
|
|
379
385
|
* @throws {RequiredError}
|
|
380
386
|
*/
|
|
381
|
-
listOrganizations: function (authorization, pageSize, pageToken, filter, search, order, expand, options) {
|
|
382
|
-
return localVarFp.listOrganizations(authorization, pageSize, pageToken, filter, search, order, expand, options).then(function (request) { return request(axios, basePath); });
|
|
387
|
+
listOrganizations: function (authorization, pageSize, pageToken, filter, search, order, expand, filters, options) {
|
|
388
|
+
return localVarFp.listOrganizations(authorization, pageSize, pageToken, filter, search, order, expand, filters, options).then(function (request) { return request(axios, basePath); });
|
|
383
389
|
},
|
|
384
390
|
/**
|
|
385
391
|
* Update organization data
|
|
@@ -430,7 +436,7 @@ var OrganizationsApi = /** @class */ (function (_super) {
|
|
|
430
436
|
OrganizationsApi.prototype.listOrganizations = function (requestParameters, options) {
|
|
431
437
|
var _this = this;
|
|
432
438
|
if (requestParameters === void 0) { requestParameters = {}; }
|
|
433
|
-
return (0, exports.OrganizationsApiFp)(this.configuration).listOrganizations(requestParameters.authorization, requestParameters.pageSize, requestParameters.pageToken, requestParameters.filter, requestParameters.search, requestParameters.order, requestParameters.expand, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
439
|
+
return (0, exports.OrganizationsApiFp)(this.configuration).listOrganizations(requestParameters.authorization, requestParameters.pageSize, requestParameters.pageToken, requestParameters.filter, requestParameters.search, requestParameters.order, requestParameters.expand, requestParameters.filters, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
434
440
|
};
|
|
435
441
|
/**
|
|
436
442
|
* Update organization data
|