@emilgroup/tenant-sdk-node 1.15.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 (68) hide show
  1. package/.openapi-generator/FILES +0 -1
  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/invite-users-api.ts +32 -18
  6. package/api/list-organization-invitations-api.ts +32 -18
  7. package/api/organizations-api.ts +28 -14
  8. package/api/roles-api.ts +22 -22
  9. package/api/settings-api.ts +4 -4
  10. package/api/users-api.ts +32 -18
  11. package/configuration.ts +1 -1
  12. package/dist/api/custom-schema-api.d.ts +28 -19
  13. package/dist/api/custom-schema-api.js +26 -20
  14. package/dist/api/data-report-api.d.ts +38 -29
  15. package/dist/api/data-report-api.js +35 -29
  16. package/dist/api/invite-users-api.d.ts +24 -15
  17. package/dist/api/invite-users-api.js +22 -16
  18. package/dist/api/list-organization-invitations-api.d.ts +24 -15
  19. package/dist/api/list-organization-invitations-api.js +22 -16
  20. package/dist/api/organizations-api.d.ts +20 -11
  21. package/dist/api/organizations-api.js +18 -12
  22. package/dist/api/roles-api.d.ts +22 -22
  23. package/dist/api/roles-api.js +13 -13
  24. package/dist/api/settings-api.d.ts +4 -4
  25. package/dist/api/settings-api.js +4 -4
  26. package/dist/api/users-api.d.ts +24 -15
  27. package/dist/api/users-api.js +22 -16
  28. package/dist/configuration.js +0 -7
  29. package/dist/models/batch-delete-request-dto.d.ts +2 -2
  30. package/dist/models/create-data-report-request-dto.d.ts +1 -1
  31. package/dist/models/create-role-request-dto.d.ts +2 -2
  32. package/dist/models/custom-field-dto.d.ts +37 -4
  33. package/dist/models/custom-field-dto.js +5 -2
  34. package/dist/models/data-report-class.d.ts +1 -1
  35. package/dist/models/disable-users-request-dto.d.ts +2 -2
  36. package/dist/models/enable-users-request-dto.d.ts +2 -2
  37. package/dist/models/index.d.ts +0 -1
  38. package/dist/models/index.js +0 -1
  39. package/dist/models/inline-response200.d.ts +6 -6
  40. package/dist/models/inline-response503.d.ts +6 -6
  41. package/dist/models/invite-class.d.ts +7 -0
  42. package/dist/models/invite-org-request-dto.d.ts +1 -1
  43. package/dist/models/invite-users-request-dto.d.ts +6 -0
  44. package/dist/models/run-data-report-response-class.d.ts +2 -2
  45. package/dist/models/update-data-report-request-dto.d.ts +1 -1
  46. package/dist/models/update-role-request-dto.d.ts +2 -2
  47. package/dist/models/user-class.d.ts +7 -6
  48. package/models/batch-delete-request-dto.ts +2 -2
  49. package/models/create-data-report-request-dto.ts +1 -1
  50. package/models/create-role-request-dto.ts +2 -2
  51. package/models/custom-field-dto.ts +38 -5
  52. package/models/data-report-class.ts +1 -1
  53. package/models/disable-users-request-dto.ts +2 -2
  54. package/models/enable-users-request-dto.ts +2 -2
  55. package/models/index.ts +0 -1
  56. package/models/inline-response200.ts +6 -6
  57. package/models/inline-response503.ts +6 -6
  58. package/models/invite-class.ts +7 -0
  59. package/models/invite-org-request-dto.ts +1 -1
  60. package/models/invite-users-request-dto.ts +6 -0
  61. package/models/run-data-report-response-class.ts +2 -2
  62. package/models/update-data-report-request-dto.ts +1 -1
  63. package/models/update-role-request-dto.ts +2 -2
  64. package/models/user-class.ts +7 -6
  65. package/package.json +1 -1
  66. package/dist/models/set-user-setting-response-class.d.ts +0 -36
  67. package/dist/models/set-user-setting-response-class.js +0 -15
  68. package/models/set-user-setting-response-class.ts +0 -42
@@ -98,19 +98,20 @@ export declare const UsersApiAxiosParamCreator: (configuration?: Configuration)
98
98
  */
99
99
  getUser: (code: string, code2: string, authorization?: string, expand?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
100
100
  /**
101
- * Returns a list of users you have previously created. The users are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
101
+ * Returns a list of users you have previously created. The users are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
102
102
  * @summary List users
103
103
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
104
- * @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 100. Default: 10.
104
+ * @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
105
105
  * @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.
106
106
  * @param {any} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
107
- * @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.
107
+ * @param {any} [search] To search the list by any field, pass search&#x3D;xxx to fetch the result.
108
108
  * @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.
109
109
  * @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.
110
+ * @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.
110
111
  * @param {*} [options] Override http request option.
111
112
  * @throws {RequiredError}
112
113
  */
113
- listUsers: (authorization?: string, pageSize?: any, pageToken?: any, filter?: any, search?: any, order?: any, expand?: any, options?: AxiosRequestConfig) => Promise<RequestArgs>;
114
+ listUsers: (authorization?: string, pageSize?: any, pageToken?: any, filter?: any, search?: any, order?: any, expand?: any, filters?: any, options?: AxiosRequestConfig) => Promise<RequestArgs>;
114
115
  };
115
116
  /**
116
117
  * UsersApi - functional programming interface
@@ -185,19 +186,20 @@ export declare const UsersApiFp: (configuration?: Configuration) => {
185
186
  */
186
187
  getUser(code: string, code2: string, authorization?: string, expand?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetUserResponseClass>>;
187
188
  /**
188
- * Returns a list of users you have previously created. The users are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
189
+ * Returns a list of users you have previously created. The users are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
189
190
  * @summary List users
190
191
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
191
- * @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 100. Default: 10.
192
+ * @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
192
193
  * @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.
193
194
  * @param {any} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
194
- * @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.
195
+ * @param {any} [search] To search the list by any field, pass search&#x3D;xxx to fetch the result.
195
196
  * @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.
196
197
  * @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.
198
+ * @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.
197
199
  * @param {*} [options] Override http request option.
198
200
  * @throws {RequiredError}
199
201
  */
200
- listUsers(authorization?: string, pageSize?: any, pageToken?: any, filter?: any, search?: any, order?: any, expand?: any, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListUsersResponseClass>>;
202
+ listUsers(authorization?: string, pageSize?: any, pageToken?: any, filter?: any, search?: any, order?: any, expand?: any, filters?: any, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListUsersResponseClass>>;
201
203
  };
202
204
  /**
203
205
  * UsersApi - factory interface
@@ -272,19 +274,20 @@ export declare const UsersApiFactory: (configuration?: Configuration, basePath?:
272
274
  */
273
275
  getUser(code: string, code2: string, authorization?: string, expand?: string, options?: any): AxiosPromise<GetUserResponseClass>;
274
276
  /**
275
- * Returns a list of users you have previously created. The users are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
277
+ * Returns a list of users you have previously created. The users are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
276
278
  * @summary List users
277
279
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
278
- * @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 100. Default: 10.
280
+ * @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
279
281
  * @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.
280
282
  * @param {any} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
281
- * @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.
283
+ * @param {any} [search] To search the list by any field, pass search&#x3D;xxx to fetch the result.
282
284
  * @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.
283
285
  * @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.
286
+ * @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.
284
287
  * @param {*} [options] Override http request option.
285
288
  * @throws {RequiredError}
286
289
  */
287
- listUsers(authorization?: string, pageSize?: any, pageToken?: any, filter?: any, search?: any, order?: any, expand?: any, options?: any): AxiosPromise<ListUsersResponseClass>;
290
+ listUsers(authorization?: string, pageSize?: any, pageToken?: any, filter?: any, search?: any, order?: any, expand?: any, filters?: any, options?: any): AxiosPromise<ListUsersResponseClass>;
288
291
  };
289
292
  /**
290
293
  * Request parameters for assignUserRoles operation in UsersApi.
@@ -469,7 +472,7 @@ export interface UsersApiListUsersRequest {
469
472
  */
470
473
  readonly authorization?: string;
471
474
  /**
472
- * A limit on the number of objects to be returned. Limit ranges between 1 and 100. Default: 10.
475
+ * A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
473
476
  * @type {any}
474
477
  * @memberof UsersApiListUsers
475
478
  */
@@ -487,7 +490,7 @@ export interface UsersApiListUsersRequest {
487
490
  */
488
491
  readonly filter?: any;
489
492
  /**
490
- * 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.
493
+ * To search the list by any field, pass search&#x3D;xxx to fetch the result.
491
494
  * @type {any}
492
495
  * @memberof UsersApiListUsers
493
496
  */
@@ -504,6 +507,12 @@ export interface UsersApiListUsersRequest {
504
507
  * @memberof UsersApiListUsers
505
508
  */
506
509
  readonly expand?: any;
510
+ /**
511
+ * 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.
512
+ * @type {any}
513
+ * @memberof UsersApiListUsers
514
+ */
515
+ readonly filters?: any;
507
516
  }
508
517
  /**
509
518
  * UsersApi - object-oriented interface
@@ -577,7 +586,7 @@ export declare class UsersApi extends BaseAPI {
577
586
  */
578
587
  getUser(requestParameters: UsersApiGetUserRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<GetUserResponseClass, any>>;
579
588
  /**
580
- * Returns a list of users you have previously created. The users are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
589
+ * Returns a list of users you have previously created. The users are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
581
590
  * @summary List users
582
591
  * @param {UsersApiListUsersRequest} requestParameters Request parameters.
583
592
  * @param {*} [options] Override http request option.
@@ -491,19 +491,20 @@ var UsersApiAxiosParamCreator = function (configuration) {
491
491
  });
492
492
  },
493
493
  /**
494
- * Returns a list of users you have previously created. The users are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
494
+ * Returns a list of users you have previously created. The users are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
495
495
  * @summary List users
496
496
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
497
- * @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 100. Default: 10.
497
+ * @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
498
498
  * @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.
499
499
  * @param {any} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
500
- * @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.
500
+ * @param {any} [search] To search the list by any field, pass search&#x3D;xxx to fetch the result.
501
501
  * @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.
502
502
  * @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.
503
+ * @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.
503
504
  * @param {*} [options] Override http request option.
504
505
  * @throws {RequiredError}
505
506
  */
506
- listUsers: function (authorization, pageSize, pageToken, filter, search, order, expand, options) {
507
+ listUsers: function (authorization, pageSize, pageToken, filter, search, order, expand, filters, options) {
507
508
  if (options === void 0) { options = {}; }
508
509
  return __awaiter(_this, void 0, void 0, function () {
509
510
  var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
@@ -544,6 +545,9 @@ var UsersApiAxiosParamCreator = function (configuration) {
544
545
  if (expand !== undefined) {
545
546
  localVarQueryParameter['expand'] = expand;
546
547
  }
548
+ if (filters !== undefined) {
549
+ localVarQueryParameter['filters'] = filters;
550
+ }
547
551
  if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
548
552
  localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
549
553
  }
@@ -732,24 +736,25 @@ var UsersApiFp = function (configuration) {
732
736
  });
733
737
  },
734
738
  /**
735
- * Returns a list of users you have previously created. The users are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
739
+ * Returns a list of users you have previously created. The users are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
736
740
  * @summary List users
737
741
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
738
- * @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 100. Default: 10.
742
+ * @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
739
743
  * @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.
740
744
  * @param {any} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
741
- * @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.
745
+ * @param {any} [search] To search the list by any field, pass search&#x3D;xxx to fetch the result.
742
746
  * @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.
743
747
  * @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.
748
+ * @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.
744
749
  * @param {*} [options] Override http request option.
745
750
  * @throws {RequiredError}
746
751
  */
747
- listUsers: function (authorization, pageSize, pageToken, filter, search, order, expand, options) {
752
+ listUsers: function (authorization, pageSize, pageToken, filter, search, order, expand, filters, options) {
748
753
  return __awaiter(this, void 0, void 0, function () {
749
754
  var localVarAxiosArgs;
750
755
  return __generator(this, function (_a) {
751
756
  switch (_a.label) {
752
- case 0: return [4 /*yield*/, localVarAxiosParamCreator.listUsers(authorization, pageSize, pageToken, filter, search, order, expand, options)];
757
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.listUsers(authorization, pageSize, pageToken, filter, search, order, expand, filters, options)];
753
758
  case 1:
754
759
  localVarAxiosArgs = _a.sent();
755
760
  return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
@@ -851,20 +856,21 @@ var UsersApiFactory = function (configuration, basePath, axios) {
851
856
  return localVarFp.getUser(code, code2, authorization, expand, options).then(function (request) { return request(axios, basePath); });
852
857
  },
853
858
  /**
854
- * Returns a list of users you have previously created. The users are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
859
+ * Returns a list of users you have previously created. The users are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
855
860
  * @summary List users
856
861
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
857
- * @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 100. Default: 10.
862
+ * @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
858
863
  * @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.
859
864
  * @param {any} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
860
- * @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.
865
+ * @param {any} [search] To search the list by any field, pass search&#x3D;xxx to fetch the result.
861
866
  * @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.
862
867
  * @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.
868
+ * @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.
863
869
  * @param {*} [options] Override http request option.
864
870
  * @throws {RequiredError}
865
871
  */
866
- listUsers: function (authorization, pageSize, pageToken, filter, search, order, expand, options) {
867
- return localVarFp.listUsers(authorization, pageSize, pageToken, filter, search, order, expand, options).then(function (request) { return request(axios, basePath); });
872
+ listUsers: function (authorization, pageSize, pageToken, filter, search, order, expand, filters, options) {
873
+ return localVarFp.listUsers(authorization, pageSize, pageToken, filter, search, order, expand, filters, options).then(function (request) { return request(axios, basePath); });
868
874
  },
869
875
  };
870
876
  };
@@ -969,7 +975,7 @@ var UsersApi = /** @class */ (function (_super) {
969
975
  return (0, exports.UsersApiFp)(this.configuration).getUser(requestParameters.code, requestParameters.code2, requestParameters.authorization, requestParameters.expand, options).then(function (request) { return request(_this.axios, _this.basePath); });
970
976
  };
971
977
  /**
972
- * Returns a list of users you have previously created. The users are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
978
+ * Returns a list of users you have previously created. The users are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
973
979
  * @summary List users
974
980
  * @param {UsersApiListUsersRequest} requestParameters Request parameters.
975
981
  * @param {*} [options] Override http request option.
@@ -979,7 +985,7 @@ var UsersApi = /** @class */ (function (_super) {
979
985
  UsersApi.prototype.listUsers = function (requestParameters, options) {
980
986
  var _this = this;
981
987
  if (requestParameters === void 0) { requestParameters = {}; }
982
- return (0, exports.UsersApiFp)(this.configuration).listUsers(requestParameters.authorization, requestParameters.pageSize, requestParameters.pageToken, requestParameters.filter, requestParameters.search, requestParameters.order, requestParameters.expand, options).then(function (request) { return request(_this.axios, _this.basePath); });
988
+ return (0, exports.UsersApiFp)(this.configuration).listUsers(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); });
983
989
  };
984
990
  return UsersApi;
985
991
  }(base_1.BaseAPI));
@@ -17,13 +17,6 @@ exports.Configuration = void 0;
17
17
  var Configuration = /** @class */ (function () {
18
18
  function Configuration(param) {
19
19
  if (param === void 0) { param = {}; }
20
- /**
21
- * parameter for oauth2 security
22
- * @param name security name
23
- * @param scopes oauth2 scope
24
- * @memberof Configuration
25
- */
26
- this.accessToken = '';
27
20
  this.apiKey = param.apiKey;
28
21
  this.username = param.username;
29
22
  this.password = param.password;
@@ -17,8 +17,8 @@
17
17
  export interface BatchDeleteRequestDto {
18
18
  /**
19
19
  * Invited users ids.
20
- * @type {Array<string>}
20
+ * @type {Array<number>}
21
21
  * @memberof BatchDeleteRequestDto
22
22
  */
23
- 'ids': Array<string>;
23
+ 'ids': Array<number>;
24
24
  }
@@ -23,7 +23,7 @@ export interface CreateDataReportRequestDto {
23
23
  */
24
24
  'code': string;
25
25
  /**
26
- * A slug is a human-readable, unique identifier, used to identify a resource instead of a less human-readable identifier like an id.
26
+ * A slug is a human-readable, unique identifier, used to identify a resource instead of a less human-readable identifier like an id.
27
27
  * @type {string}
28
28
  * @memberof CreateDataReportRequestDto
29
29
  */
@@ -29,8 +29,8 @@ export interface CreateRoleRequestDto {
29
29
  'description': string;
30
30
  /**
31
31
  * Permission ids for the role
32
- * @type {Array<string>}
32
+ * @type {Array<number>}
33
33
  * @memberof CreateRoleRequestDto
34
34
  */
35
- 'permissionIds': Array<string>;
35
+ 'permissionIds': Array<number>;
36
36
  }
@@ -27,6 +27,12 @@ export interface CustomFieldDto {
27
27
  * @memberof CustomFieldDto
28
28
  */
29
29
  'label'?: string;
30
+ /**
31
+ * The type of the custom field. Supported types are: string, number, boolean, array, object, date, dateTime, phoneNumber, email, url
32
+ * @type {string}
33
+ * @memberof CustomFieldDto
34
+ */
35
+ 'type': CustomFieldDtoTypeEnum;
30
36
  /**
31
37
  * Indicates whether the customField is required
32
38
  * @type {boolean}
@@ -62,21 +68,48 @@ export interface CustomFieldDto {
62
68
  * @type {object}
63
69
  * @memberof CustomFieldDto
64
70
  */
65
- 'options': object;
71
+ 'options'?: object;
66
72
  /**
67
- *
73
+ * The minimum number of items allowed for array fields.
74
+ * @type {number}
75
+ * @memberof CustomFieldDto
76
+ */
77
+ 'minItems'?: number;
78
+ /**
79
+ * The maximum number of items allowed for array fields.
80
+ * @type {number}
81
+ * @memberof CustomFieldDto
82
+ */
83
+ 'maxItems'?: number;
84
+ /**
85
+ * Defines the structure of items for array fields.
86
+ * @type {CustomFieldDto}
87
+ * @memberof CustomFieldDto
88
+ */
89
+ 'items'?: CustomFieldDto;
90
+ /**
91
+ * Defines the properties for object fields.
92
+ * @type {object}
93
+ * @memberof CustomFieldDto
94
+ */
95
+ 'properties'?: object;
96
+ /**
97
+ * Defines the regex expression for string field.
68
98
  * @type {string}
69
99
  * @memberof CustomFieldDto
70
100
  */
71
- 'type': CustomFieldDtoTypeEnum;
101
+ 'regexExpression'?: string;
72
102
  }
73
103
  export declare const CustomFieldDtoTypeEnum: {
74
104
  readonly String: "string";
75
105
  readonly Number: "number";
76
106
  readonly Boolean: "boolean";
77
107
  readonly Date: "date";
78
- readonly DateTime: "date-time";
108
+ readonly DateTime: "dateTime";
79
109
  readonly Email: "email";
80
110
  readonly Object: "object";
111
+ readonly Phone: "phone";
112
+ readonly Url: "url";
113
+ readonly Array: "array";
81
114
  };
82
115
  export type CustomFieldDtoTypeEnum = typeof CustomFieldDtoTypeEnum[keyof typeof CustomFieldDtoTypeEnum];
@@ -19,7 +19,10 @@ exports.CustomFieldDtoTypeEnum = {
19
19
  Number: 'number',
20
20
  Boolean: 'boolean',
21
21
  Date: 'date',
22
- DateTime: 'date-time',
22
+ DateTime: 'dateTime',
23
23
  Email: 'email',
24
- Object: 'object'
24
+ Object: 'object',
25
+ Phone: 'phone',
26
+ Url: 'url',
27
+ Array: 'array'
25
28
  };
@@ -29,7 +29,7 @@ export interface DataReportClass {
29
29
  */
30
30
  'code': string;
31
31
  /**
32
- * A slug is a human-readable, unique identifier, used to identify a resource instead of a less human-readable identifier like an id.
32
+ * A slug is a human-readable, unique identifier, used to identify a resource instead of a less human-readable identifier like an id.
33
33
  * @type {string}
34
34
  * @memberof DataReportClass
35
35
  */
@@ -17,8 +17,8 @@
17
17
  export interface DisableUsersRequestDto {
18
18
  /**
19
19
  * user ids
20
- * @type {Array<string>}
20
+ * @type {Array<number>}
21
21
  * @memberof DisableUsersRequestDto
22
22
  */
23
- 'ids': Array<string>;
23
+ 'ids': Array<number>;
24
24
  }
@@ -17,8 +17,8 @@
17
17
  export interface EnableUsersRequestDto {
18
18
  /**
19
19
  * user ids
20
- * @type {Array<string>}
20
+ * @type {Array<number>}
21
21
  * @memberof EnableUsersRequestDto
22
22
  */
23
- 'ids': Array<string>;
23
+ 'ids': Array<number>;
24
24
  }
@@ -55,7 +55,6 @@ export * from './role-class';
55
55
  export * from './run-data-report-request-dto';
56
56
  export * from './run-data-report-response-class';
57
57
  export * from './set-setting-request-dto';
58
- export * from './set-user-setting-response-class';
59
58
  export * from './subscription-class';
60
59
  export * from './tenant-admin-user-dto';
61
60
  export * from './tenant-settings-class';
@@ -71,7 +71,6 @@ __exportStar(require("./role-class"), exports);
71
71
  __exportStar(require("./run-data-report-request-dto"), exports);
72
72
  __exportStar(require("./run-data-report-response-class"), exports);
73
73
  __exportStar(require("./set-setting-request-dto"), exports);
74
- __exportStar(require("./set-user-setting-response-class"), exports);
75
74
  __exportStar(require("./subscription-class"), exports);
76
75
  __exportStar(require("./tenant-admin-user-dto"), exports);
77
76
  __exportStar(require("./tenant-settings-class"), exports);
@@ -23,32 +23,32 @@ export interface InlineResponse200 {
23
23
  'status'?: string;
24
24
  /**
25
25
  *
26
- * @type {{ [key: string]: { [key: string]: string; }; }}
26
+ * @type {{ [key: string]: { [key: string]: object; }; }}
27
27
  * @memberof InlineResponse200
28
28
  */
29
29
  'info'?: {
30
30
  [key: string]: {
31
- [key: string]: string;
31
+ [key: string]: object;
32
32
  };
33
33
  } | null;
34
34
  /**
35
35
  *
36
- * @type {{ [key: string]: { [key: string]: string; }; }}
36
+ * @type {{ [key: string]: { [key: string]: object; }; }}
37
37
  * @memberof InlineResponse200
38
38
  */
39
39
  'error'?: {
40
40
  [key: string]: {
41
- [key: string]: string;
41
+ [key: string]: object;
42
42
  };
43
43
  } | null;
44
44
  /**
45
45
  *
46
- * @type {{ [key: string]: { [key: string]: string; }; }}
46
+ * @type {{ [key: string]: { [key: string]: object; }; }}
47
47
  * @memberof InlineResponse200
48
48
  */
49
49
  'details'?: {
50
50
  [key: string]: {
51
- [key: string]: string;
51
+ [key: string]: object;
52
52
  };
53
53
  };
54
54
  }
@@ -23,32 +23,32 @@ export interface InlineResponse503 {
23
23
  'status'?: string;
24
24
  /**
25
25
  *
26
- * @type {{ [key: string]: { [key: string]: string; }; }}
26
+ * @type {{ [key: string]: { [key: string]: object; }; }}
27
27
  * @memberof InlineResponse503
28
28
  */
29
29
  'info'?: {
30
30
  [key: string]: {
31
- [key: string]: string;
31
+ [key: string]: object;
32
32
  };
33
33
  } | null;
34
34
  /**
35
35
  *
36
- * @type {{ [key: string]: { [key: string]: string; }; }}
36
+ * @type {{ [key: string]: { [key: string]: object; }; }}
37
37
  * @memberof InlineResponse503
38
38
  */
39
39
  'error'?: {
40
40
  [key: string]: {
41
- [key: string]: string;
41
+ [key: string]: object;
42
42
  };
43
43
  } | null;
44
44
  /**
45
45
  *
46
- * @type {{ [key: string]: { [key: string]: string; }; }}
46
+ * @type {{ [key: string]: { [key: string]: object; }; }}
47
47
  * @memberof InlineResponse503
48
48
  */
49
49
  'details'?: {
50
50
  [key: string]: {
51
- [key: string]: string;
51
+ [key: string]: object;
52
52
  };
53
53
  };
54
54
  }
@@ -9,6 +9,7 @@
9
9
  * https://openapi-generator.tech
10
10
  * Do not edit the class manually.
11
11
  */
12
+ import { OrganizationClass } from './organization-class';
12
13
  import { RoleClass } from './role-class';
13
14
  /**
14
15
  *
@@ -52,4 +53,10 @@ export interface InviteClass {
52
53
  * @memberof InviteClass
53
54
  */
54
55
  'updatedAt': string;
56
+ /**
57
+ * Organization associated with the user
58
+ * @type {OrganizationClass}
59
+ * @memberof InviteClass
60
+ */
61
+ 'organization': OrganizationClass;
55
62
  }
@@ -34,7 +34,7 @@ export interface InviteOrgRequestDto {
34
34
  */
35
35
  'name': string;
36
36
  /**
37
- * Identifier for the organization.
37
+ * Identifier for the organization. Restrictions: should have at least 3 characters; should not exceed 63 characters; must be unique within the hierarchy scope; only lowercase letters (a-z), digits (0-9), and underscores (_) are allowed; will be part of the organization\'s ERN; the ERN length must not exceed 63 characters, including the slug.
38
38
  * @type {string}
39
39
  * @memberof InviteOrgRequestDto
40
40
  */
@@ -27,4 +27,10 @@ export interface InviteUsersRequestDto {
27
27
  * @memberof InviteUsersRequestDto
28
28
  */
29
29
  'roleIds': Array<number>;
30
+ /**
31
+ * Organization associated with the users.
32
+ * @type {number}
33
+ * @memberof InviteUsersRequestDto
34
+ */
35
+ 'organizationId'?: number;
30
36
  }
@@ -17,8 +17,8 @@
17
17
  export interface RunDataReportResponseClass {
18
18
  /**
19
19
  * Report results as an array of objects (each row is an object).
20
- * @type {Array<any>}
20
+ * @type {Array<object>}
21
21
  * @memberof RunDataReportResponseClass
22
22
  */
23
- 'data': Array<any>;
23
+ 'data': Array<object>;
24
24
  }
@@ -23,7 +23,7 @@ export interface UpdateDataReportRequestDto {
23
23
  */
24
24
  'code': string;
25
25
  /**
26
- * A slug is a human-readable, unique identifier, used to identify a resource instead of a less human-readable identifier like an id.
26
+ * A slug is a human-readable, unique identifier, used to identify a resource instead of a less human-readable identifier like an id.
27
27
  * @type {string}
28
28
  * @memberof UpdateDataReportRequestDto
29
29
  */
@@ -35,8 +35,8 @@ export interface UpdateRoleRequestDto {
35
35
  'description': string;
36
36
  /**
37
37
  * Permission ids for the role
38
- * @type {Array<string>}
38
+ * @type {Array<number>}
39
39
  * @memberof UpdateRoleRequestDto
40
40
  */
41
- 'permissionIds': Array<string>;
41
+ 'permissionIds': Array<number>;
42
42
  }
@@ -9,6 +9,7 @@
9
9
  * https://openapi-generator.tech
10
10
  * Do not edit the class manually.
11
11
  */
12
+ import { OrganizationClass } from './organization-class';
12
13
  import { RoleClass } from './role-class';
13
14
  import { SubscriptionClass } from './subscription-class';
14
15
  /**
@@ -59,12 +60,6 @@ export interface UserClass {
59
60
  * @memberof UserClass
60
61
  */
61
62
  'sub': string;
62
- /**
63
- * tenant id
64
- * @type {number}
65
- * @memberof UserClass
66
- */
67
- 'tenantId'?: number;
68
63
  /**
69
64
  * roles associated with the user
70
65
  * @type {Array<RoleClass>}
@@ -95,4 +90,10 @@ export interface UserClass {
95
90
  * @memberof UserClass
96
91
  */
97
92
  'updatedAt': string;
93
+ /**
94
+ * Organization associated with the user
95
+ * @type {OrganizationClass}
96
+ * @memberof UserClass
97
+ */
98
+ 'organization': OrganizationClass;
98
99
  }
@@ -22,9 +22,9 @@
22
22
  export interface BatchDeleteRequestDto {
23
23
  /**
24
24
  * Invited users ids.
25
- * @type {Array<string>}
25
+ * @type {Array<number>}
26
26
  * @memberof BatchDeleteRequestDto
27
27
  */
28
- 'ids': Array<string>;
28
+ 'ids': Array<number>;
29
29
  }
30
30
 
@@ -28,7 +28,7 @@ export interface CreateDataReportRequestDto {
28
28
  */
29
29
  'code': string;
30
30
  /**
31
- * A slug is a human-readable, unique identifier, used to identify a resource instead of a less human-readable identifier like an id.
31
+ * A slug is a human-readable, unique identifier, used to identify a resource instead of a less human-readable identifier like an id.
32
32
  * @type {string}
33
33
  * @memberof CreateDataReportRequestDto
34
34
  */