@emilgroup/tenant-sdk 1.9.0 → 1.15.1-beta.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.
Files changed (77) hide show
  1. package/.openapi-generator/FILES +1 -2
  2. package/README.md +2 -2
  3. package/api/custom-schema-api.ts +36 -22
  4. package/api/data-report-api.ts +50 -36
  5. package/api/delete-organization-invitations-api.ts +161 -0
  6. package/api/invite-users-api.ts +32 -18
  7. package/api/list-organization-invitations-api.ts +32 -18
  8. package/api/organizations-api.ts +28 -14
  9. package/api/roles-api.ts +22 -22
  10. package/api/settings-api.ts +4 -4
  11. package/api/users-api.ts +32 -18
  12. package/api.ts +2 -0
  13. package/base.ts +1 -0
  14. package/dist/api/custom-schema-api.d.ts +28 -19
  15. package/dist/api/custom-schema-api.js +26 -20
  16. package/dist/api/data-report-api.d.ts +38 -29
  17. package/dist/api/data-report-api.js +35 -29
  18. package/dist/api/delete-organization-invitations-api.d.ts +96 -0
  19. package/dist/api/delete-organization-invitations-api.js +223 -0
  20. package/dist/api/invite-users-api.d.ts +24 -15
  21. package/dist/api/invite-users-api.js +22 -16
  22. package/dist/api/list-organization-invitations-api.d.ts +24 -15
  23. package/dist/api/list-organization-invitations-api.js +22 -16
  24. package/dist/api/organizations-api.d.ts +20 -11
  25. package/dist/api/organizations-api.js +18 -12
  26. package/dist/api/roles-api.d.ts +22 -22
  27. package/dist/api/roles-api.js +13 -13
  28. package/dist/api/settings-api.d.ts +4 -4
  29. package/dist/api/settings-api.js +4 -4
  30. package/dist/api/users-api.d.ts +24 -15
  31. package/dist/api/users-api.js +22 -16
  32. package/dist/api.d.ts +1 -0
  33. package/dist/api.js +1 -0
  34. package/dist/base.js +1 -0
  35. package/dist/models/batch-delete-request-dto.d.ts +2 -2
  36. package/dist/models/create-data-report-request-dto.d.ts +1 -1
  37. package/dist/models/create-role-request-dto.d.ts +2 -2
  38. package/dist/models/custom-field-dto.d.ts +43 -11
  39. package/dist/models/custom-field-dto.js +5 -2
  40. package/dist/models/data-report-class.d.ts +1 -1
  41. package/dist/models/disable-users-request-dto.d.ts +2 -2
  42. package/dist/models/enable-users-request-dto.d.ts +2 -2
  43. package/dist/models/index.d.ts +0 -2
  44. package/dist/models/index.js +0 -2
  45. package/dist/models/inline-response200.d.ts +6 -6
  46. package/dist/models/inline-response503.d.ts +6 -6
  47. package/dist/models/invite-class.d.ts +7 -0
  48. package/dist/models/invite-org-request-dto.d.ts +1 -1
  49. package/dist/models/invite-users-request-dto.d.ts +6 -0
  50. package/dist/models/run-data-report-response-class.d.ts +2 -2
  51. package/dist/models/update-data-report-request-dto.d.ts +1 -1
  52. package/dist/models/update-role-request-dto.d.ts +2 -2
  53. package/dist/models/user-class.d.ts +7 -6
  54. package/models/batch-delete-request-dto.ts +2 -2
  55. package/models/create-data-report-request-dto.ts +1 -1
  56. package/models/create-role-request-dto.ts +2 -2
  57. package/models/custom-field-dto.ts +44 -12
  58. package/models/data-report-class.ts +1 -1
  59. package/models/disable-users-request-dto.ts +2 -2
  60. package/models/enable-users-request-dto.ts +2 -2
  61. package/models/index.ts +0 -2
  62. package/models/inline-response200.ts +6 -6
  63. package/models/inline-response503.ts +6 -6
  64. package/models/invite-class.ts +7 -0
  65. package/models/invite-org-request-dto.ts +1 -1
  66. package/models/invite-users-request-dto.ts +6 -0
  67. package/models/run-data-report-response-class.ts +2 -2
  68. package/models/update-data-report-request-dto.ts +1 -1
  69. package/models/update-role-request-dto.ts +2 -2
  70. package/models/user-class.ts +7 -6
  71. package/package.json +1 -2
  72. package/dist/models/custom-field-option-dto.d.ts +0 -30
  73. package/dist/models/custom-field-option-dto.js +0 -15
  74. package/dist/models/set-user-setting-response-class.d.ts +0 -36
  75. package/dist/models/set-user-setting-response-class.js +0 -15
  76. package/models/custom-field-option-dto.ts +0 -36
  77. package/models/set-user-setting-response-class.ts +0 -42
@@ -0,0 +1,96 @@
1
+ /**
2
+ * EMIL Tenant Service
3
+ * The EMIL TenantService API description
4
+ *
5
+ * The version of the OpenAPI document: 1.0
6
+ * Contact: kontakt@emil.de
7
+ *
8
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
+ * https://openapi-generator.tech
10
+ * Do not edit the class manually.
11
+ */
12
+ import { AxiosPromise, AxiosInstance, AxiosRequestConfig } from 'axios';
13
+ import { Configuration } from '../configuration';
14
+ import { RequestArgs, BaseAPI } from '../base';
15
+ import { DeleteResponseClass } from '../models';
16
+ /**
17
+ * DeleteOrganizationInvitationsApi - axios parameter creator
18
+ * @export
19
+ */
20
+ export declare const DeleteOrganizationInvitationsApiAxiosParamCreator: (configuration?: Configuration) => {
21
+ /**
22
+ * Permanently deletes the organization invitation. Supply the unique id that was returned when you created the organization invitation and this will delete it.
23
+ * @summary Delete the organization invitation
24
+ * @param {number} id
25
+ * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
26
+ * @param {*} [options] Override http request option.
27
+ * @throws {RequiredError}
28
+ */
29
+ deleteOrgInvitation: (id: number, authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
30
+ };
31
+ /**
32
+ * DeleteOrganizationInvitationsApi - functional programming interface
33
+ * @export
34
+ */
35
+ export declare const DeleteOrganizationInvitationsApiFp: (configuration?: Configuration) => {
36
+ /**
37
+ * Permanently deletes the organization invitation. Supply the unique id that was returned when you created the organization invitation and this will delete it.
38
+ * @summary Delete the organization invitation
39
+ * @param {number} id
40
+ * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
41
+ * @param {*} [options] Override http request option.
42
+ * @throws {RequiredError}
43
+ */
44
+ deleteOrgInvitation(id: number, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DeleteResponseClass>>;
45
+ };
46
+ /**
47
+ * DeleteOrganizationInvitationsApi - factory interface
48
+ * @export
49
+ */
50
+ export declare const DeleteOrganizationInvitationsApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
51
+ /**
52
+ * Permanently deletes the organization invitation. Supply the unique id that was returned when you created the organization invitation and this will delete it.
53
+ * @summary Delete the organization invitation
54
+ * @param {number} id
55
+ * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
56
+ * @param {*} [options] Override http request option.
57
+ * @throws {RequiredError}
58
+ */
59
+ deleteOrgInvitation(id: number, authorization?: string, options?: any): AxiosPromise<DeleteResponseClass>;
60
+ };
61
+ /**
62
+ * Request parameters for deleteOrgInvitation operation in DeleteOrganizationInvitationsApi.
63
+ * @export
64
+ * @interface DeleteOrganizationInvitationsApiDeleteOrgInvitationRequest
65
+ */
66
+ export interface DeleteOrganizationInvitationsApiDeleteOrgInvitationRequest {
67
+ /**
68
+ *
69
+ * @type {number}
70
+ * @memberof DeleteOrganizationInvitationsApiDeleteOrgInvitation
71
+ */
72
+ readonly id: number;
73
+ /**
74
+ * Bearer Token: provided by the login endpoint under the name accessToken.
75
+ * @type {string}
76
+ * @memberof DeleteOrganizationInvitationsApiDeleteOrgInvitation
77
+ */
78
+ readonly authorization?: string;
79
+ }
80
+ /**
81
+ * DeleteOrganizationInvitationsApi - object-oriented interface
82
+ * @export
83
+ * @class DeleteOrganizationInvitationsApi
84
+ * @extends {BaseAPI}
85
+ */
86
+ export declare class DeleteOrganizationInvitationsApi extends BaseAPI {
87
+ /**
88
+ * Permanently deletes the organization invitation. Supply the unique id that was returned when you created the organization invitation and this will delete it.
89
+ * @summary Delete the organization invitation
90
+ * @param {DeleteOrganizationInvitationsApiDeleteOrgInvitationRequest} requestParameters Request parameters.
91
+ * @param {*} [options] Override http request option.
92
+ * @throws {RequiredError}
93
+ * @memberof DeleteOrganizationInvitationsApi
94
+ */
95
+ deleteOrgInvitation(requestParameters: DeleteOrganizationInvitationsApiDeleteOrgInvitationRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<DeleteResponseClass, any>>;
96
+ }
@@ -0,0 +1,223 @@
1
+ "use strict";
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+ /**
5
+ * EMIL Tenant Service
6
+ * The EMIL TenantService API description
7
+ *
8
+ * The version of the OpenAPI document: 1.0
9
+ * Contact: kontakt@emil.de
10
+ *
11
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
12
+ * https://openapi-generator.tech
13
+ * Do not edit the class manually.
14
+ */
15
+ var __extends = (this && this.__extends) || (function () {
16
+ var extendStatics = function (d, b) {
17
+ extendStatics = Object.setPrototypeOf ||
18
+ ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
19
+ function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
20
+ return extendStatics(d, b);
21
+ };
22
+ return function (d, b) {
23
+ if (typeof b !== "function" && b !== null)
24
+ throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
25
+ extendStatics(d, b);
26
+ function __() { this.constructor = d; }
27
+ d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
28
+ };
29
+ })();
30
+ var __assign = (this && this.__assign) || function () {
31
+ __assign = Object.assign || function(t) {
32
+ for (var s, i = 1, n = arguments.length; i < n; i++) {
33
+ s = arguments[i];
34
+ for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
35
+ t[p] = s[p];
36
+ }
37
+ return t;
38
+ };
39
+ return __assign.apply(this, arguments);
40
+ };
41
+ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
42
+ function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
43
+ return new (P || (P = Promise))(function (resolve, reject) {
44
+ function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
45
+ function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
46
+ function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
47
+ step((generator = generator.apply(thisArg, _arguments || [])).next());
48
+ });
49
+ };
50
+ var __generator = (this && this.__generator) || function (thisArg, body) {
51
+ var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;
52
+ return g = { next: verb(0), "throw": verb(1), "return": verb(2) }, typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g;
53
+ function verb(n) { return function (v) { return step([n, v]); }; }
54
+ function step(op) {
55
+ if (f) throw new TypeError("Generator is already executing.");
56
+ while (g && (g = 0, op[0] && (_ = 0)), _) try {
57
+ if (f = 1, y && (t = op[0] & 2 ? y["return"] : op[0] ? y["throw"] || ((t = y["return"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;
58
+ if (y = 0, t) op = [op[0] & 2, t.value];
59
+ switch (op[0]) {
60
+ case 0: case 1: t = op; break;
61
+ case 4: _.label++; return { value: op[1], done: false };
62
+ case 5: _.label++; y = op[1]; op = [0]; continue;
63
+ case 7: op = _.ops.pop(); _.trys.pop(); continue;
64
+ default:
65
+ if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; }
66
+ if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; }
67
+ if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; }
68
+ if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; }
69
+ if (t[2]) _.ops.pop();
70
+ _.trys.pop(); continue;
71
+ }
72
+ op = body.call(thisArg, _);
73
+ } catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; }
74
+ if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };
75
+ }
76
+ };
77
+ var __importDefault = (this && this.__importDefault) || function (mod) {
78
+ return (mod && mod.__esModule) ? mod : { "default": mod };
79
+ };
80
+ Object.defineProperty(exports, "__esModule", { value: true });
81
+ exports.DeleteOrganizationInvitationsApi = exports.DeleteOrganizationInvitationsApiFactory = exports.DeleteOrganizationInvitationsApiFp = exports.DeleteOrganizationInvitationsApiAxiosParamCreator = void 0;
82
+ var axios_1 = __importDefault(require("axios"));
83
+ // Some imports not used depending on template conditions
84
+ // @ts-ignore
85
+ var common_1 = require("../common");
86
+ // @ts-ignore
87
+ var base_1 = require("../base");
88
+ /**
89
+ * DeleteOrganizationInvitationsApi - axios parameter creator
90
+ * @export
91
+ */
92
+ var DeleteOrganizationInvitationsApiAxiosParamCreator = function (configuration) {
93
+ var _this = this;
94
+ return {
95
+ /**
96
+ * Permanently deletes the organization invitation. Supply the unique id that was returned when you created the organization invitation and this will delete it.
97
+ * @summary Delete the organization invitation
98
+ * @param {number} id
99
+ * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
100
+ * @param {*} [options] Override http request option.
101
+ * @throws {RequiredError}
102
+ */
103
+ deleteOrgInvitation: function (id, authorization, options) {
104
+ if (options === void 0) { options = {}; }
105
+ return __awaiter(_this, void 0, void 0, function () {
106
+ var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
107
+ return __generator(this, function (_a) {
108
+ switch (_a.label) {
109
+ case 0:
110
+ // verify required parameter 'id' is not null or undefined
111
+ (0, common_1.assertParamExists)('deleteOrgInvitation', 'id', id);
112
+ localVarPath = "/tenantservice/v1/invitations/organizations/{id}"
113
+ .replace("{".concat("id", "}"), encodeURIComponent(String(id)));
114
+ localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
115
+ if (configuration) {
116
+ baseOptions = configuration.baseOptions;
117
+ baseAccessToken = configuration.accessToken;
118
+ }
119
+ localVarRequestOptions = __assign(__assign({ method: 'DELETE' }, baseOptions), options);
120
+ localVarHeaderParameter = {};
121
+ localVarQueryParameter = {};
122
+ // authentication bearer required
123
+ // http bearer authentication required
124
+ return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)];
125
+ case 1:
126
+ // authentication bearer required
127
+ // http bearer authentication required
128
+ _a.sent();
129
+ if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
130
+ localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
131
+ }
132
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
133
+ headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
134
+ localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
135
+ return [2 /*return*/, {
136
+ url: (0, common_1.toPathString)(localVarUrlObj),
137
+ options: localVarRequestOptions,
138
+ }];
139
+ }
140
+ });
141
+ });
142
+ },
143
+ };
144
+ };
145
+ exports.DeleteOrganizationInvitationsApiAxiosParamCreator = DeleteOrganizationInvitationsApiAxiosParamCreator;
146
+ /**
147
+ * DeleteOrganizationInvitationsApi - functional programming interface
148
+ * @export
149
+ */
150
+ var DeleteOrganizationInvitationsApiFp = function (configuration) {
151
+ var localVarAxiosParamCreator = (0, exports.DeleteOrganizationInvitationsApiAxiosParamCreator)(configuration);
152
+ return {
153
+ /**
154
+ * Permanently deletes the organization invitation. Supply the unique id that was returned when you created the organization invitation and this will delete it.
155
+ * @summary Delete the organization invitation
156
+ * @param {number} id
157
+ * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
158
+ * @param {*} [options] Override http request option.
159
+ * @throws {RequiredError}
160
+ */
161
+ deleteOrgInvitation: function (id, authorization, options) {
162
+ return __awaiter(this, void 0, void 0, function () {
163
+ var localVarAxiosArgs;
164
+ return __generator(this, function (_a) {
165
+ switch (_a.label) {
166
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.deleteOrgInvitation(id, authorization, options)];
167
+ case 1:
168
+ localVarAxiosArgs = _a.sent();
169
+ return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
170
+ }
171
+ });
172
+ });
173
+ },
174
+ };
175
+ };
176
+ exports.DeleteOrganizationInvitationsApiFp = DeleteOrganizationInvitationsApiFp;
177
+ /**
178
+ * DeleteOrganizationInvitationsApi - factory interface
179
+ * @export
180
+ */
181
+ var DeleteOrganizationInvitationsApiFactory = function (configuration, basePath, axios) {
182
+ var localVarFp = (0, exports.DeleteOrganizationInvitationsApiFp)(configuration);
183
+ return {
184
+ /**
185
+ * Permanently deletes the organization invitation. Supply the unique id that was returned when you created the organization invitation and this will delete it.
186
+ * @summary Delete the organization invitation
187
+ * @param {number} id
188
+ * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
189
+ * @param {*} [options] Override http request option.
190
+ * @throws {RequiredError}
191
+ */
192
+ deleteOrgInvitation: function (id, authorization, options) {
193
+ return localVarFp.deleteOrgInvitation(id, authorization, options).then(function (request) { return request(axios, basePath); });
194
+ },
195
+ };
196
+ };
197
+ exports.DeleteOrganizationInvitationsApiFactory = DeleteOrganizationInvitationsApiFactory;
198
+ /**
199
+ * DeleteOrganizationInvitationsApi - object-oriented interface
200
+ * @export
201
+ * @class DeleteOrganizationInvitationsApi
202
+ * @extends {BaseAPI}
203
+ */
204
+ var DeleteOrganizationInvitationsApi = /** @class */ (function (_super) {
205
+ __extends(DeleteOrganizationInvitationsApi, _super);
206
+ function DeleteOrganizationInvitationsApi() {
207
+ return _super !== null && _super.apply(this, arguments) || this;
208
+ }
209
+ /**
210
+ * Permanently deletes the organization invitation. Supply the unique id that was returned when you created the organization invitation and this will delete it.
211
+ * @summary Delete the organization invitation
212
+ * @param {DeleteOrganizationInvitationsApiDeleteOrgInvitationRequest} requestParameters Request parameters.
213
+ * @param {*} [options] Override http request option.
214
+ * @throws {RequiredError}
215
+ * @memberof DeleteOrganizationInvitationsApi
216
+ */
217
+ DeleteOrganizationInvitationsApi.prototype.deleteOrgInvitation = function (requestParameters, options) {
218
+ var _this = this;
219
+ return (0, exports.DeleteOrganizationInvitationsApiFp)(this.configuration).deleteOrgInvitation(requestParameters.id, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
220
+ };
221
+ return DeleteOrganizationInvitationsApi;
222
+ }(base_1.BaseAPI));
223
+ exports.DeleteOrganizationInvitationsApi = DeleteOrganizationInvitationsApi;
@@ -62,19 +62,20 @@ export declare const InviteUsersApiAxiosParamCreator: (configuration?: Configura
62
62
  */
63
63
  inviteUsers: (inviteUsersRequestDto: InviteUsersRequestDto, authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
64
64
  /**
65
- * 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.
65
+ * 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.
66
66
  * @summary List invited users
67
67
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
68
- * @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 100. Default: 10.
68
+ * @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
69
69
  * @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&#x3D;1, your subsequent call can include pageToken&#x3D;2 in order to fetch the next page of the list.
70
70
  * @param {any} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
71
- * @param {any} [search] Search the list by any field. For instance, if you want to search by code add code&#x3D;xxx in order to fetch the result.
71
+ * @param {any} [search] To search the list by any field, pass search&#x3D;xxx to fetch the result.
72
72
  * @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.
73
73
  * @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.
74
+ * @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.
74
75
  * @param {*} [options] Override http request option.
75
76
  * @throws {RequiredError}
76
77
  */
77
- listInvites: (authorization?: string, pageSize?: any, pageToken?: any, filter?: any, search?: any, order?: any, expand?: any, options?: AxiosRequestConfig) => Promise<RequestArgs>;
78
+ listInvites: (authorization?: string, pageSize?: any, pageToken?: any, filter?: any, search?: any, order?: any, expand?: any, filters?: any, options?: AxiosRequestConfig) => Promise<RequestArgs>;
78
79
  };
79
80
  /**
80
81
  * InviteUsersApi - functional programming interface
@@ -118,19 +119,20 @@ export declare const InviteUsersApiFp: (configuration?: Configuration) => {
118
119
  */
119
120
  inviteUsers(inviteUsersRequestDto: InviteUsersRequestDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<InviteUsersResponseClass>>;
120
121
  /**
121
- * 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.
122
+ * 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.
122
123
  * @summary List invited users
123
124
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
124
- * @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 100. Default: 10.
125
+ * @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
125
126
  * @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&#x3D;1, your subsequent call can include pageToken&#x3D;2 in order to fetch the next page of the list.
126
127
  * @param {any} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
127
- * @param {any} [search] Search the list by any field. For instance, if you want to search by code add code&#x3D;xxx in order to fetch the result.
128
+ * @param {any} [search] To search the list by any field, pass search&#x3D;xxx to fetch the result.
128
129
  * @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.
129
130
  * @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.
131
+ * @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.
130
132
  * @param {*} [options] Override http request option.
131
133
  * @throws {RequiredError}
132
134
  */
133
- listInvites(authorization?: string, pageSize?: any, pageToken?: any, filter?: any, search?: any, order?: any, expand?: any, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListInvitesResponseClass>>;
135
+ listInvites(authorization?: string, pageSize?: any, pageToken?: any, filter?: any, search?: any, order?: any, expand?: any, filters?: any, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListInvitesResponseClass>>;
134
136
  };
135
137
  /**
136
138
  * InviteUsersApi - factory interface
@@ -174,19 +176,20 @@ export declare const InviteUsersApiFactory: (configuration?: Configuration, base
174
176
  */
175
177
  inviteUsers(inviteUsersRequestDto: InviteUsersRequestDto, authorization?: string, options?: any): AxiosPromise<InviteUsersResponseClass>;
176
178
  /**
177
- * 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.
179
+ * 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.
178
180
  * @summary List invited users
179
181
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
180
- * @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 100. Default: 10.
182
+ * @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
181
183
  * @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&#x3D;1, your subsequent call can include pageToken&#x3D;2 in order to fetch the next page of the list.
182
184
  * @param {any} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
183
- * @param {any} [search] Search the list by any field. For instance, if you want to search by code add code&#x3D;xxx in order to fetch the result.
185
+ * @param {any} [search] To search the list by any field, pass search&#x3D;xxx to fetch the result.
184
186
  * @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.
185
187
  * @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.
188
+ * @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.
186
189
  * @param {*} [options] Override http request option.
187
190
  * @throws {RequiredError}
188
191
  */
189
- listInvites(authorization?: string, pageSize?: any, pageToken?: any, filter?: any, search?: any, order?: any, expand?: any, options?: any): AxiosPromise<ListInvitesResponseClass>;
192
+ listInvites(authorization?: string, pageSize?: any, pageToken?: any, filter?: any, search?: any, order?: any, expand?: any, filters?: any, options?: any): AxiosPromise<ListInvitesResponseClass>;
190
193
  };
191
194
  /**
192
195
  * Request parameters for deleteInvite operation in InviteUsersApi.
@@ -277,7 +280,7 @@ export interface InviteUsersApiListInvitesRequest {
277
280
  */
278
281
  readonly authorization?: string;
279
282
  /**
280
- * A limit on the number of objects to be returned. Limit ranges between 1 and 100. Default: 10.
283
+ * A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
281
284
  * @type {any}
282
285
  * @memberof InviteUsersApiListInvites
283
286
  */
@@ -295,7 +298,7 @@ export interface InviteUsersApiListInvitesRequest {
295
298
  */
296
299
  readonly filter?: any;
297
300
  /**
298
- * Search the list by any field. For instance, if you want to search by code add code&#x3D;xxx in order to fetch the result.
301
+ * To search the list by any field, pass search&#x3D;xxx to fetch the result.
299
302
  * @type {any}
300
303
  * @memberof InviteUsersApiListInvites
301
304
  */
@@ -312,6 +315,12 @@ export interface InviteUsersApiListInvitesRequest {
312
315
  * @memberof InviteUsersApiListInvites
313
316
  */
314
317
  readonly expand?: any;
318
+ /**
319
+ * 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.
320
+ * @type {any}
321
+ * @memberof InviteUsersApiListInvites
322
+ */
323
+ readonly filters?: any;
315
324
  }
316
325
  /**
317
326
  * InviteUsersApi - object-oriented interface
@@ -357,7 +366,7 @@ export declare class InviteUsersApi extends BaseAPI {
357
366
  */
358
367
  inviteUsers(requestParameters: InviteUsersApiInviteUsersRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<InviteUsersResponseClass, any>>;
359
368
  /**
360
- * 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.
369
+ * 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.
361
370
  * @summary List invited users
362
371
  * @param {InviteUsersApiListInvitesRequest} requestParameters Request parameters.
363
372
  * @param {*} [options] Override http request option.
@@ -288,19 +288,20 @@ var InviteUsersApiAxiosParamCreator = function (configuration) {
288
288
  });
289
289
  },
290
290
  /**
291
- * 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.
291
+ * 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.
292
292
  * @summary List invited users
293
293
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
294
- * @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 100. Default: 10.
294
+ * @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
295
295
  * @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&#x3D;1, your subsequent call can include pageToken&#x3D;2 in order to fetch the next page of the list.
296
296
  * @param {any} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
297
- * @param {any} [search] Search the list by any field. For instance, if you want to search by code add code&#x3D;xxx in order to fetch the result.
297
+ * @param {any} [search] To search the list by any field, pass search&#x3D;xxx to fetch the result.
298
298
  * @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.
299
299
  * @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.
300
+ * @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.
300
301
  * @param {*} [options] Override http request option.
301
302
  * @throws {RequiredError}
302
303
  */
303
- listInvites: function (authorization, pageSize, pageToken, filter, search, order, expand, options) {
304
+ listInvites: function (authorization, pageSize, pageToken, filter, search, order, expand, filters, options) {
304
305
  if (options === void 0) { options = {}; }
305
306
  return __awaiter(_this, void 0, void 0, function () {
306
307
  var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
@@ -341,6 +342,9 @@ var InviteUsersApiAxiosParamCreator = function (configuration) {
341
342
  if (expand !== undefined) {
342
343
  localVarQueryParameter['expand'] = expand;
343
344
  }
345
+ if (filters !== undefined) {
346
+ localVarQueryParameter['filters'] = filters;
347
+ }
344
348
  if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
345
349
  localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
346
350
  }
@@ -450,24 +454,25 @@ var InviteUsersApiFp = function (configuration) {
450
454
  });
451
455
  },
452
456
  /**
453
- * 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.
457
+ * 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.
454
458
  * @summary List invited users
455
459
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
456
- * @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 100. Default: 10.
460
+ * @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
457
461
  * @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&#x3D;1, your subsequent call can include pageToken&#x3D;2 in order to fetch the next page of the list.
458
462
  * @param {any} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
459
- * @param {any} [search] Search the list by any field. For instance, if you want to search by code add code&#x3D;xxx in order to fetch the result.
463
+ * @param {any} [search] To search the list by any field, pass search&#x3D;xxx to fetch the result.
460
464
  * @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.
461
465
  * @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.
466
+ * @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.
462
467
  * @param {*} [options] Override http request option.
463
468
  * @throws {RequiredError}
464
469
  */
465
- listInvites: function (authorization, pageSize, pageToken, filter, search, order, expand, options) {
470
+ listInvites: function (authorization, pageSize, pageToken, filter, search, order, expand, filters, options) {
466
471
  return __awaiter(this, void 0, void 0, function () {
467
472
  var localVarAxiosArgs;
468
473
  return __generator(this, function (_a) {
469
474
  switch (_a.label) {
470
- case 0: return [4 /*yield*/, localVarAxiosParamCreator.listInvites(authorization, pageSize, pageToken, filter, search, order, expand, options)];
475
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.listInvites(authorization, pageSize, pageToken, filter, search, order, expand, filters, options)];
471
476
  case 1:
472
477
  localVarAxiosArgs = _a.sent();
473
478
  return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
@@ -530,20 +535,21 @@ var InviteUsersApiFactory = function (configuration, basePath, axios) {
530
535
  return localVarFp.inviteUsers(inviteUsersRequestDto, authorization, options).then(function (request) { return request(axios, basePath); });
531
536
  },
532
537
  /**
533
- * 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
+ * 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.
534
539
  * @summary List invited users
535
540
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
536
- * @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 100. Default: 10.
541
+ * @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
537
542
  * @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&#x3D;1, your subsequent call can include pageToken&#x3D;2 in order to fetch the next page of the list.
538
543
  * @param {any} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
539
- * @param {any} [search] Search the list by any field. For instance, if you want to search by code add code&#x3D;xxx in order to fetch the result.
544
+ * @param {any} [search] To search the list by any field, pass search&#x3D;xxx to fetch the result.
540
545
  * @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.
541
546
  * @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.
547
+ * @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.
542
548
  * @param {*} [options] Override http request option.
543
549
  * @throws {RequiredError}
544
550
  */
545
- listInvites: function (authorization, pageSize, pageToken, filter, search, order, expand, options) {
546
- return localVarFp.listInvites(authorization, pageSize, pageToken, filter, search, order, expand, options).then(function (request) { return request(axios, basePath); });
551
+ listInvites: function (authorization, pageSize, pageToken, filter, search, order, expand, filters, options) {
552
+ return localVarFp.listInvites(authorization, pageSize, pageToken, filter, search, order, expand, filters, options).then(function (request) { return request(axios, basePath); });
547
553
  },
548
554
  };
549
555
  };
@@ -608,7 +614,7 @@ var InviteUsersApi = /** @class */ (function (_super) {
608
614
  return (0, exports.InviteUsersApiFp)(this.configuration).inviteUsers(requestParameters.inviteUsersRequestDto, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
609
615
  };
610
616
  /**
611
- * 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.
617
+ * 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.
612
618
  * @summary List invited users
613
619
  * @param {InviteUsersApiListInvitesRequest} requestParameters Request parameters.
614
620
  * @param {*} [options] Override http request option.
@@ -618,7 +624,7 @@ var InviteUsersApi = /** @class */ (function (_super) {
618
624
  InviteUsersApi.prototype.listInvites = function (requestParameters, options) {
619
625
  var _this = this;
620
626
  if (requestParameters === void 0) { requestParameters = {}; }
621
- 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); });
627
+ 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); });
622
628
  };
623
629
  return InviteUsersApi;
624
630
  }(base_1.BaseAPI));