@emilgroup/tenant-sdk-node 1.9.0 → 1.15.1-beta.2

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 (75) 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 +165 -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/dist/api/custom-schema-api.d.ts +28 -19
  14. package/dist/api/custom-schema-api.js +26 -20
  15. package/dist/api/data-report-api.d.ts +38 -29
  16. package/dist/api/data-report-api.js +35 -29
  17. package/dist/api/delete-organization-invitations-api.d.ts +96 -0
  18. package/dist/api/delete-organization-invitations-api.js +227 -0
  19. package/dist/api/invite-users-api.d.ts +24 -15
  20. package/dist/api/invite-users-api.js +22 -16
  21. package/dist/api/list-organization-invitations-api.d.ts +24 -15
  22. package/dist/api/list-organization-invitations-api.js +22 -16
  23. package/dist/api/organizations-api.d.ts +20 -11
  24. package/dist/api/organizations-api.js +18 -12
  25. package/dist/api/roles-api.d.ts +22 -22
  26. package/dist/api/roles-api.js +13 -13
  27. package/dist/api/settings-api.d.ts +4 -4
  28. package/dist/api/settings-api.js +4 -4
  29. package/dist/api/users-api.d.ts +24 -15
  30. package/dist/api/users-api.js +22 -16
  31. package/dist/api.d.ts +1 -0
  32. package/dist/api.js +1 -0
  33. package/dist/models/batch-delete-request-dto.d.ts +2 -2
  34. package/dist/models/create-data-report-request-dto.d.ts +1 -1
  35. package/dist/models/create-role-request-dto.d.ts +2 -2
  36. package/dist/models/custom-field-dto.d.ts +43 -11
  37. package/dist/models/custom-field-dto.js +5 -2
  38. package/dist/models/data-report-class.d.ts +1 -1
  39. package/dist/models/disable-users-request-dto.d.ts +2 -2
  40. package/dist/models/enable-users-request-dto.d.ts +2 -2
  41. package/dist/models/index.d.ts +0 -2
  42. package/dist/models/index.js +0 -2
  43. package/dist/models/inline-response200.d.ts +6 -6
  44. package/dist/models/inline-response503.d.ts +6 -6
  45. package/dist/models/invite-class.d.ts +7 -0
  46. package/dist/models/invite-org-request-dto.d.ts +1 -1
  47. package/dist/models/invite-users-request-dto.d.ts +6 -0
  48. package/dist/models/run-data-report-response-class.d.ts +2 -2
  49. package/dist/models/update-data-report-request-dto.d.ts +1 -1
  50. package/dist/models/update-role-request-dto.d.ts +2 -2
  51. package/dist/models/user-class.d.ts +7 -6
  52. package/models/batch-delete-request-dto.ts +2 -2
  53. package/models/create-data-report-request-dto.ts +1 -1
  54. package/models/create-role-request-dto.ts +2 -2
  55. package/models/custom-field-dto.ts +44 -12
  56. package/models/data-report-class.ts +1 -1
  57. package/models/disable-users-request-dto.ts +2 -2
  58. package/models/enable-users-request-dto.ts +2 -2
  59. package/models/index.ts +0 -2
  60. package/models/inline-response200.ts +6 -6
  61. package/models/inline-response503.ts +6 -6
  62. package/models/invite-class.ts +7 -0
  63. package/models/invite-org-request-dto.ts +1 -1
  64. package/models/invite-users-request-dto.ts +6 -0
  65. package/models/run-data-report-response-class.ts +2 -2
  66. package/models/update-data-report-request-dto.ts +1 -1
  67. package/models/update-role-request-dto.ts +2 -2
  68. package/models/user-class.ts +7 -6
  69. package/package.json +2 -2
  70. package/dist/models/custom-field-option-dto.d.ts +0 -30
  71. package/dist/models/custom-field-option-dto.js +0 -15
  72. package/dist/models/set-user-setting-response-class.d.ts +0 -36
  73. package/dist/models/set-user-setting-response-class.js +0 -15
  74. package/models/custom-field-option-dto.ts +0 -36
  75. 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,227 @@
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
+ // URLSearchParams not necessarily used
89
+ // @ts-ignore
90
+ var url_1 = require("url");
91
+ var FormData = require('form-data');
92
+ /**
93
+ * DeleteOrganizationInvitationsApi - axios parameter creator
94
+ * @export
95
+ */
96
+ var DeleteOrganizationInvitationsApiAxiosParamCreator = function (configuration) {
97
+ var _this = this;
98
+ return {
99
+ /**
100
+ * Permanently deletes the organization invitation. Supply the unique id that was returned when you created the organization invitation and this will delete it.
101
+ * @summary Delete the organization invitation
102
+ * @param {number} id
103
+ * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
104
+ * @param {*} [options] Override http request option.
105
+ * @throws {RequiredError}
106
+ */
107
+ deleteOrgInvitation: function (id, authorization, options) {
108
+ if (options === void 0) { options = {}; }
109
+ return __awaiter(_this, void 0, void 0, function () {
110
+ var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
111
+ return __generator(this, function (_a) {
112
+ switch (_a.label) {
113
+ case 0:
114
+ // verify required parameter 'id' is not null or undefined
115
+ (0, common_1.assertParamExists)('deleteOrgInvitation', 'id', id);
116
+ localVarPath = "/tenantservice/v1/invitations/organizations/{id}"
117
+ .replace("{".concat("id", "}"), encodeURIComponent(String(id)));
118
+ localVarUrlObj = new url_1.URL(localVarPath, common_1.DUMMY_BASE_URL);
119
+ if (configuration) {
120
+ baseOptions = configuration.baseOptions;
121
+ baseAccessToken = configuration.accessToken;
122
+ }
123
+ localVarRequestOptions = __assign(__assign({ method: 'DELETE' }, baseOptions), options);
124
+ localVarHeaderParameter = {};
125
+ localVarQueryParameter = {};
126
+ // authentication bearer required
127
+ // http bearer authentication required
128
+ return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)];
129
+ case 1:
130
+ // authentication bearer required
131
+ // http bearer authentication required
132
+ _a.sent();
133
+ if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
134
+ localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
135
+ }
136
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
137
+ headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
138
+ localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
139
+ return [2 /*return*/, {
140
+ url: (0, common_1.toPathString)(localVarUrlObj),
141
+ options: localVarRequestOptions,
142
+ }];
143
+ }
144
+ });
145
+ });
146
+ },
147
+ };
148
+ };
149
+ exports.DeleteOrganizationInvitationsApiAxiosParamCreator = DeleteOrganizationInvitationsApiAxiosParamCreator;
150
+ /**
151
+ * DeleteOrganizationInvitationsApi - functional programming interface
152
+ * @export
153
+ */
154
+ var DeleteOrganizationInvitationsApiFp = function (configuration) {
155
+ var localVarAxiosParamCreator = (0, exports.DeleteOrganizationInvitationsApiAxiosParamCreator)(configuration);
156
+ return {
157
+ /**
158
+ * Permanently deletes the organization invitation. Supply the unique id that was returned when you created the organization invitation and this will delete it.
159
+ * @summary Delete the organization invitation
160
+ * @param {number} id
161
+ * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
162
+ * @param {*} [options] Override http request option.
163
+ * @throws {RequiredError}
164
+ */
165
+ deleteOrgInvitation: function (id, authorization, options) {
166
+ return __awaiter(this, void 0, void 0, function () {
167
+ var localVarAxiosArgs;
168
+ return __generator(this, function (_a) {
169
+ switch (_a.label) {
170
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.deleteOrgInvitation(id, authorization, options)];
171
+ case 1:
172
+ localVarAxiosArgs = _a.sent();
173
+ return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
174
+ }
175
+ });
176
+ });
177
+ },
178
+ };
179
+ };
180
+ exports.DeleteOrganizationInvitationsApiFp = DeleteOrganizationInvitationsApiFp;
181
+ /**
182
+ * DeleteOrganizationInvitationsApi - factory interface
183
+ * @export
184
+ */
185
+ var DeleteOrganizationInvitationsApiFactory = function (configuration, basePath, axios) {
186
+ var localVarFp = (0, exports.DeleteOrganizationInvitationsApiFp)(configuration);
187
+ return {
188
+ /**
189
+ * Permanently deletes the organization invitation. Supply the unique id that was returned when you created the organization invitation and this will delete it.
190
+ * @summary Delete the organization invitation
191
+ * @param {number} id
192
+ * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
193
+ * @param {*} [options] Override http request option.
194
+ * @throws {RequiredError}
195
+ */
196
+ deleteOrgInvitation: function (id, authorization, options) {
197
+ return localVarFp.deleteOrgInvitation(id, authorization, options).then(function (request) { return request(axios, basePath); });
198
+ },
199
+ };
200
+ };
201
+ exports.DeleteOrganizationInvitationsApiFactory = DeleteOrganizationInvitationsApiFactory;
202
+ /**
203
+ * DeleteOrganizationInvitationsApi - object-oriented interface
204
+ * @export
205
+ * @class DeleteOrganizationInvitationsApi
206
+ * @extends {BaseAPI}
207
+ */
208
+ var DeleteOrganizationInvitationsApi = /** @class */ (function (_super) {
209
+ __extends(DeleteOrganizationInvitationsApi, _super);
210
+ function DeleteOrganizationInvitationsApi() {
211
+ return _super !== null && _super.apply(this, arguments) || this;
212
+ }
213
+ /**
214
+ * Permanently deletes the organization invitation. Supply the unique id that was returned when you created the organization invitation and this will delete it.
215
+ * @summary Delete the organization invitation
216
+ * @param {DeleteOrganizationInvitationsApiDeleteOrgInvitationRequest} requestParameters Request parameters.
217
+ * @param {*} [options] Override http request option.
218
+ * @throws {RequiredError}
219
+ * @memberof DeleteOrganizationInvitationsApi
220
+ */
221
+ DeleteOrganizationInvitationsApi.prototype.deleteOrgInvitation = function (requestParameters, options) {
222
+ var _this = this;
223
+ return (0, exports.DeleteOrganizationInvitationsApiFp)(this.configuration).deleteOrgInvitation(requestParameters.id, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
224
+ };
225
+ return DeleteOrganizationInvitationsApi;
226
+ }(base_1.BaseAPI));
227
+ 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.
@@ -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. The invited users are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
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 100. Default: 10.
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&#x3D;1, your subsequent call can include pageToken&#x3D;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] 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
+ * @param {any} [search] To search the list by any field, pass search&#x3D;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. The invited users are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
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 100. Default: 10.
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&#x3D;1, your subsequent call can include pageToken&#x3D;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] 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.
467
+ * @param {any} [search] To search the list by any field, pass search&#x3D;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. The invited users are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
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 100. Default: 10.
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&#x3D;1, your subsequent call can include pageToken&#x3D;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] 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.
548
+ * @param {any} [search] To search the list by any field, pass search&#x3D;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. The invited users are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
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));