@emilgroup/tenant-sdk-node 1.39.1-beta.7 → 1.39.1-beta.70

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 (144) hide show
  1. package/.openapi-generator/FILES +32 -18
  2. package/README.md +2 -2
  3. package/api/dashboard-api.ts +0 -103
  4. package/api/ssoconnection-api.ts +793 -0
  5. package/api/ssoid-pgroups-api.ts +803 -0
  6. package/api/user-controller-rest-api.ts +4 -4
  7. package/api/users-api.ts +4 -4
  8. package/api.ts +4 -4
  9. package/dist/api/dashboard-api.d.ts +0 -56
  10. package/dist/api/dashboard-api.js +0 -92
  11. package/dist/api/ssoconnection-api.d.ts +434 -0
  12. package/dist/api/ssoconnection-api.js +784 -0
  13. package/dist/api/ssoid-pgroups-api.d.ts +451 -0
  14. package/dist/api/{report-schedule-api.js → ssoid-pgroups-api.js} +262 -169
  15. package/dist/api/user-controller-rest-api.d.ts +4 -4
  16. package/dist/api/user-controller-rest-api.js +3 -3
  17. package/dist/api/users-api.d.ts +4 -4
  18. package/dist/api/users-api.js +3 -3
  19. package/dist/api.d.ts +2 -2
  20. package/dist/api.js +2 -2
  21. package/dist/models/create-sso-connection-request-dto.d.ts +66 -0
  22. package/dist/models/create-sso-connection-request-dto.js +23 -0
  23. package/dist/models/{get-report-schedule-response-class.d.ts → create-sso-connection-response-class.d.ts} +7 -7
  24. package/dist/models/create-sso-idp-group-request-dto.d.ts +37 -0
  25. package/dist/models/{create-report-schedule-response-class.d.ts → create-sso-idp-group-response-class.d.ts} +7 -7
  26. package/dist/models/dbconfig-dto.d.ts +0 -6
  27. package/dist/models/delete-by-code-response-class.d.ts +24 -0
  28. package/dist/models/get-sso-connection-response-class.d.ts +25 -0
  29. package/dist/models/get-sso-connection-setup-response-class.d.ts +25 -0
  30. package/dist/models/get-sso-idp-group-response-class.d.ts +25 -0
  31. package/dist/models/index.d.ts +30 -16
  32. package/dist/models/index.js +30 -16
  33. package/dist/models/list-sso-idp-groups-response-class.d.ts +43 -0
  34. package/dist/models/oidc-sso-details-input-dto.d.ts +36 -0
  35. package/dist/models/oidc-sso-details-update-dto.d.ts +36 -0
  36. package/dist/models/oidc-sso-setup-class.d.ts +31 -0
  37. package/dist/models/{delete-tenant-request-dto.d.ts → saml-sso-details-dto.d.ts} +5 -11
  38. package/dist/models/saml-sso-setup-class.d.ts +37 -0
  39. package/dist/models/{report-schedule-parameter-class.d.ts → shared-oidc-sso-details-class.d.ts} +11 -17
  40. package/dist/models/{report-schedule-parameter-value-class.d.ts → shared-saml-sso-details-class.d.ts} +5 -11
  41. package/dist/models/shared-sso-attribute-mapping-class.d.ts +30 -0
  42. package/dist/models/sso-attribute-mapping-dto.d.ts +30 -0
  43. package/dist/models/sso-attribute-mapping-dto.js +15 -0
  44. package/dist/models/sso-attribute-mapping-template-class.d.ts +36 -0
  45. package/dist/models/sso-attribute-mapping-template-class.js +15 -0
  46. package/dist/models/sso-connection-class.d.ts +102 -0
  47. package/dist/models/sso-connection-class.js +23 -0
  48. package/dist/models/sso-connection-setup-class.d.ts +32 -0
  49. package/dist/models/sso-connection-setup-class.js +15 -0
  50. package/dist/models/sso-idp-group-class.d.ts +73 -0
  51. package/dist/models/sso-idp-group-class.js +15 -0
  52. package/dist/models/update-sso-connection-body-dto.d.ts +45 -0
  53. package/dist/models/update-sso-connection-body-dto.js +15 -0
  54. package/dist/models/update-sso-connection-response-class.d.ts +25 -0
  55. package/dist/models/update-sso-connection-response-class.js +15 -0
  56. package/dist/models/update-sso-connection-status-body-dto.d.ts +24 -0
  57. package/dist/models/update-sso-connection-status-body-dto.js +15 -0
  58. package/dist/models/update-sso-connection-status-response-class.d.ts +25 -0
  59. package/dist/models/update-sso-connection-status-response-class.js +15 -0
  60. package/dist/models/update-sso-idp-group-body-dto.d.ts +31 -0
  61. package/dist/models/update-sso-idp-group-body-dto.js +15 -0
  62. package/dist/models/update-sso-idp-group-response-class.d.ts +25 -0
  63. package/dist/models/update-sso-idp-group-response-class.js +15 -0
  64. package/dist/models/update-sso-idp-group-status-body-dto.d.ts +24 -0
  65. package/dist/models/update-sso-idp-group-status-body-dto.js +15 -0
  66. package/dist/models/update-sso-idp-group-status-response-class.d.ts +25 -0
  67. package/dist/models/update-sso-idp-group-status-response-class.js +15 -0
  68. package/dist/models/user-class.d.ts +7 -0
  69. package/models/create-sso-connection-request-dto.ts +76 -0
  70. package/models/{get-report-schedule-response-class.ts → create-sso-connection-response-class.ts} +7 -7
  71. package/models/create-sso-idp-group-request-dto.ts +43 -0
  72. package/models/{create-report-schedule-response-class.ts → create-sso-idp-group-response-class.ts} +7 -7
  73. package/models/dbconfig-dto.ts +0 -6
  74. package/models/delete-by-code-response-class.ts +30 -0
  75. package/models/get-sso-connection-response-class.ts +31 -0
  76. package/models/get-sso-connection-setup-response-class.ts +31 -0
  77. package/models/get-sso-idp-group-response-class.ts +31 -0
  78. package/models/index.ts +30 -16
  79. package/models/list-sso-idp-groups-response-class.ts +49 -0
  80. package/models/oidc-sso-details-input-dto.ts +42 -0
  81. package/models/{report-schedule-parameter-class.ts → oidc-sso-details-update-dto.ts} +11 -17
  82. package/models/oidc-sso-setup-class.ts +37 -0
  83. package/models/{delete-tenant-request-dto.ts → saml-sso-details-dto.ts} +5 -11
  84. package/models/saml-sso-setup-class.ts +43 -0
  85. package/models/{report-schedule-parameter-dto.ts → shared-oidc-sso-details-class.ts} +11 -17
  86. package/models/{report-schedule-parameter-value-class.ts → shared-saml-sso-details-class.ts} +5 -11
  87. package/models/shared-sso-attribute-mapping-class.ts +36 -0
  88. package/models/sso-attribute-mapping-dto.ts +36 -0
  89. package/models/sso-attribute-mapping-template-class.ts +42 -0
  90. package/models/sso-connection-class.ts +112 -0
  91. package/models/sso-connection-setup-class.ts +38 -0
  92. package/models/sso-idp-group-class.ts +79 -0
  93. package/models/update-sso-connection-body-dto.ts +51 -0
  94. package/models/update-sso-connection-response-class.ts +31 -0
  95. package/models/update-sso-connection-status-body-dto.ts +30 -0
  96. package/models/update-sso-connection-status-response-class.ts +31 -0
  97. package/models/update-sso-idp-group-body-dto.ts +37 -0
  98. package/models/update-sso-idp-group-response-class.ts +31 -0
  99. package/models/update-sso-idp-group-status-body-dto.ts +30 -0
  100. package/models/update-sso-idp-group-status-response-class.ts +31 -0
  101. package/models/user-class.ts +7 -0
  102. package/package.json +1 -1
  103. package/api/report-schedule-api.ts +0 -697
  104. package/api/report-schedule-logs-api.ts +0 -250
  105. package/dist/api/report-schedule-api.d.ts +0 -394
  106. package/dist/api/report-schedule-logs-api.d.ts +0 -150
  107. package/dist/api/report-schedule-logs-api.js +0 -264
  108. package/dist/models/create-report-schedule-request-dto.d.ts +0 -115
  109. package/dist/models/dashboard-metadata-class.d.ts +0 -43
  110. package/dist/models/get-dashboard-metadata-response-class.d.ts +0 -25
  111. package/dist/models/list-report-schedule-logs-response-class.d.ts +0 -43
  112. package/dist/models/list-report-schedules-response-class.d.ts +0 -43
  113. package/dist/models/quick-sight-analysis-parameter-class.d.ts +0 -36
  114. package/dist/models/report-schedule-class.d.ts +0 -157
  115. package/dist/models/report-schedule-log-class.d.ts +0 -133
  116. package/dist/models/report-schedule-parameter-dto.d.ts +0 -42
  117. package/dist/models/update-report-schedule-request-dto.d.ts +0 -121
  118. package/dist/models/update-report-schedule-response-class.d.ts +0 -25
  119. package/models/create-report-schedule-request-dto.ts +0 -121
  120. package/models/dashboard-metadata-class.ts +0 -49
  121. package/models/get-dashboard-metadata-response-class.ts +0 -31
  122. package/models/list-report-schedule-logs-response-class.ts +0 -49
  123. package/models/list-report-schedules-response-class.ts +0 -49
  124. package/models/quick-sight-analysis-parameter-class.ts +0 -42
  125. package/models/report-schedule-class.ts +0 -163
  126. package/models/report-schedule-log-class.ts +0 -139
  127. package/models/update-report-schedule-request-dto.ts +0 -127
  128. package/models/update-report-schedule-response-class.ts +0 -31
  129. /package/dist/models/{create-report-schedule-request-dto.js → create-sso-connection-response-class.js} +0 -0
  130. /package/dist/models/{create-report-schedule-response-class.js → create-sso-idp-group-request-dto.js} +0 -0
  131. /package/dist/models/{dashboard-metadata-class.js → create-sso-idp-group-response-class.js} +0 -0
  132. /package/dist/models/{delete-tenant-request-dto.js → delete-by-code-response-class.js} +0 -0
  133. /package/dist/models/{get-dashboard-metadata-response-class.js → get-sso-connection-response-class.js} +0 -0
  134. /package/dist/models/{get-report-schedule-response-class.js → get-sso-connection-setup-response-class.js} +0 -0
  135. /package/dist/models/{list-report-schedule-logs-response-class.js → get-sso-idp-group-response-class.js} +0 -0
  136. /package/dist/models/{list-report-schedules-response-class.js → list-sso-idp-groups-response-class.js} +0 -0
  137. /package/dist/models/{quick-sight-analysis-parameter-class.js → oidc-sso-details-input-dto.js} +0 -0
  138. /package/dist/models/{report-schedule-class.js → oidc-sso-details-update-dto.js} +0 -0
  139. /package/dist/models/{report-schedule-log-class.js → oidc-sso-setup-class.js} +0 -0
  140. /package/dist/models/{report-schedule-parameter-class.js → saml-sso-details-dto.js} +0 -0
  141. /package/dist/models/{report-schedule-parameter-dto.js → saml-sso-setup-class.js} +0 -0
  142. /package/dist/models/{report-schedule-parameter-value-class.js → shared-oidc-sso-details-class.js} +0 -0
  143. /package/dist/models/{update-report-schedule-request-dto.js → shared-saml-sso-details-class.js} +0 -0
  144. /package/dist/models/{update-report-schedule-response-class.js → shared-sso-attribute-mapping-class.js} +0 -0
@@ -78,7 +78,7 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
78
78
  return (mod && mod.__esModule) ? mod : { "default": mod };
79
79
  };
80
80
  Object.defineProperty(exports, "__esModule", { value: true });
81
- exports.ReportScheduleApi = exports.ReportScheduleApiFactory = exports.ReportScheduleApiFp = exports.ReportScheduleApiAxiosParamCreator = void 0;
81
+ exports.SSOIdPGroupsApi = exports.SSOIdPGroupsApiFactory = exports.SSOIdPGroupsApiFp = exports.SSOIdPGroupsApiAxiosParamCreator = void 0;
82
82
  var axios_1 = __importDefault(require("axios"));
83
83
  // Some imports not used depending on template conditions
84
84
  // @ts-ignore
@@ -90,30 +90,30 @@ var base_1 = require("../base");
90
90
  var url_1 = require("url");
91
91
  var FormData = require('form-data');
92
92
  /**
93
- * ReportScheduleApi - axios parameter creator
93
+ * SSOIdPGroupsApi - axios parameter creator
94
94
  * @export
95
95
  */
96
- var ReportScheduleApiAxiosParamCreator = function (configuration) {
96
+ var SSOIdPGroupsApiAxiosParamCreator = function (configuration) {
97
97
  var _this = this;
98
98
  return {
99
99
  /**
100
- * Creates a scheduled report configuration for the tenant **Required Permissions** \"reporting.dashboards.view\"
101
- * @summary Create the report-schedule
102
- * @param {CreateReportScheduleRequestDto} createReportScheduleRequestDto
103
- * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
100
+ * Creates an inactive IdP group with at least one EIS user-group mapping. externalId is any text and is immutable after create. **Required Permissions** \"tenant-management.settings.create\"
101
+ * @summary Register an IdP group and its EIS mappings
102
+ * @param {CreateSsoIdpGroupRequestDto} createSsoIdpGroupRequestDto
103
+ * @param {string} [authorization] Bearer Token
104
104
  * @param {*} [options] Override http request option.
105
105
  * @throws {RequiredError}
106
106
  */
107
- createReportSchedule: function (createReportScheduleRequestDto, authorization, options) {
107
+ createSsoIdpGroup: function (createSsoIdpGroupRequestDto, authorization, options) {
108
108
  if (options === void 0) { options = {}; }
109
109
  return __awaiter(_this, void 0, void 0, function () {
110
110
  var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
111
111
  return __generator(this, function (_a) {
112
112
  switch (_a.label) {
113
113
  case 0:
114
- // verify required parameter 'createReportScheduleRequestDto' is not null or undefined
115
- (0, common_1.assertParamExists)('createReportSchedule', 'createReportScheduleRequestDto', createReportScheduleRequestDto);
116
- localVarPath = "/tenantservice/v1/report-schedules";
114
+ // verify required parameter 'createSsoIdpGroupRequestDto' is not null or undefined
115
+ (0, common_1.assertParamExists)('createSsoIdpGroup', 'createSsoIdpGroupRequestDto', createSsoIdpGroupRequestDto);
116
+ localVarPath = "/tenantservice/v1/sso-idp-groups";
117
117
  localVarUrlObj = new url_1.URL(localVarPath, common_1.DUMMY_BASE_URL);
118
118
  if (configuration) {
119
119
  baseOptions = configuration.baseOptions;
@@ -136,7 +136,7 @@ var ReportScheduleApiAxiosParamCreator = function (configuration) {
136
136
  (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
137
137
  headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
138
138
  localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
139
- localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(createReportScheduleRequestDto, localVarRequestOptions, configuration);
139
+ localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(createSsoIdpGroupRequestDto, localVarRequestOptions, configuration);
140
140
  return [2 /*return*/, {
141
141
  url: (0, common_1.toPathString)(localVarUrlObj),
142
142
  options: localVarRequestOptions,
@@ -146,14 +146,14 @@ var ReportScheduleApiAxiosParamCreator = function (configuration) {
146
146
  });
147
147
  },
148
148
  /**
149
- * Permanently deletes the report-schedule. Supply the unique code that was returned when you created the report-schedule and this will delete it. **Required Permissions** \"reporting.dashboards.view\"
150
- * @summary Delete the report-schedule
151
- * @param {string} code Unique identifier for the object.
152
- * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
149
+ * undefined **Required Permissions** \"tenant-management.settings.delete\"
150
+ * @summary Delete an IdP group and all of its mappings
151
+ * @param {string} code IdP group code.
152
+ * @param {string} [authorization] Bearer Token
153
153
  * @param {*} [options] Override http request option.
154
154
  * @throws {RequiredError}
155
155
  */
156
- deleteReportSchedule: function (code, authorization, options) {
156
+ deleteSsoIdpGroup: function (code, authorization, options) {
157
157
  if (options === void 0) { options = {}; }
158
158
  return __awaiter(_this, void 0, void 0, function () {
159
159
  var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
@@ -161,8 +161,8 @@ var ReportScheduleApiAxiosParamCreator = function (configuration) {
161
161
  switch (_a.label) {
162
162
  case 0:
163
163
  // verify required parameter 'code' is not null or undefined
164
- (0, common_1.assertParamExists)('deleteReportSchedule', 'code', code);
165
- localVarPath = "/tenantservice/v1/report-schedules/{code}"
164
+ (0, common_1.assertParamExists)('deleteSsoIdpGroup', 'code', code);
165
+ localVarPath = "/tenantservice/v1/sso-idp-groups/{code}"
166
166
  .replace("{".concat("code", "}"), encodeURIComponent(String(code)));
167
167
  localVarUrlObj = new url_1.URL(localVarPath, common_1.DUMMY_BASE_URL);
168
168
  if (configuration) {
@@ -194,15 +194,14 @@ var ReportScheduleApiAxiosParamCreator = function (configuration) {
194
194
  });
195
195
  },
196
196
  /**
197
- * Retrieves the details of the report-schedule that was previously created. Supply the unique report-schedule code that was returned when you created it and Emil Api will return the corresponding report-schedule information. **Required Permissions** \"reporting.dashboards.view\"
198
- * @summary Retrieve the report-schedule
199
- * @param {string} code Unique identifier for the object.
200
- * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
201
- * @param {string} [expand] Fields to expand response by
197
+ * undefined **Required Permissions** \"tenant-management.settings.view\"
198
+ * @summary Get an IdP group by code
199
+ * @param {string} code IdP group code.
200
+ * @param {string} [authorization] Bearer Token
202
201
  * @param {*} [options] Override http request option.
203
202
  * @throws {RequiredError}
204
203
  */
205
- getReportSchedule: function (code, authorization, expand, options) {
204
+ getSsoIdpGroup: function (code, authorization, options) {
206
205
  if (options === void 0) { options = {}; }
207
206
  return __awaiter(_this, void 0, void 0, function () {
208
207
  var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
@@ -210,8 +209,8 @@ var ReportScheduleApiAxiosParamCreator = function (configuration) {
210
209
  switch (_a.label) {
211
210
  case 0:
212
211
  // verify required parameter 'code' is not null or undefined
213
- (0, common_1.assertParamExists)('getReportSchedule', 'code', code);
214
- localVarPath = "/tenantservice/v1/report-schedules/{code}"
212
+ (0, common_1.assertParamExists)('getSsoIdpGroup', 'code', code);
213
+ localVarPath = "/tenantservice/v1/sso-idp-groups/{code}"
215
214
  .replace("{".concat("code", "}"), encodeURIComponent(String(code)));
216
215
  localVarUrlObj = new url_1.URL(localVarPath, common_1.DUMMY_BASE_URL);
217
216
  if (configuration) {
@@ -228,9 +227,6 @@ var ReportScheduleApiAxiosParamCreator = function (configuration) {
228
227
  // authentication bearer required
229
228
  // http bearer authentication required
230
229
  _a.sent();
231
- if (expand !== undefined) {
232
- localVarQueryParameter['expand'] = expand;
233
- }
234
230
  if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
235
231
  localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
236
232
  }
@@ -246,27 +242,27 @@ var ReportScheduleApiAxiosParamCreator = function (configuration) {
246
242
  });
247
243
  },
248
244
  /**
249
- * Returns a list of report-schedules you have previously created. The report-schedules are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation. **Required Permissions** \"reporting.dashboards.view\"
250
- * @summary List report-schedules
251
- * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
252
- * @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
253
- * @param {string} [pageToken] A cursor for use in pagination. pageToken is an ID that defines your place in the list. For instance, if you make a list request and receive 100 objects and pageToken=1, your subsequent call can include pageToken=2 in order to fetch the next page of the list.
254
- * @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
255
- * @param {string} [search] To search the list by any field, pass search=xxx to fetch the result.
256
- * @param {string} [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.
245
+ * The `name` field is deprecated in favor of `externalId`. **Required Permissions** \"tenant-management.settings.view\"
246
+ * @summary List registered IdP groups
247
+ * @param {string} [authorization] Bearer Token
248
+ * @param {number} [pageSize] Number of items per page.
249
+ * @param {string} [pageToken] Opaque token for the next page (returned in a previous response).
250
+ * @param {string} [filter] Filter IdP groups by one or more fields. Allowed: id, code, externalId, isActive, userGroup.code, createdAt, updatedAt.
251
+ * @param {string} [search] Free-text search over searchable columns.
252
+ * @param {string} [order] Sort the response. Allowed columns: id, code, externalId, isActive, createdAt, updatedAt.
257
253
  * @param {string} [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.
258
254
  * @param {string} [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.
259
255
  * @param {*} [options] Override http request option.
260
256
  * @throws {RequiredError}
261
257
  */
262
- listReportSchedules: function (authorization, pageSize, pageToken, filter, search, order, expand, filters, options) {
258
+ listSsoIdpGroups: function (authorization, pageSize, pageToken, filter, search, order, expand, filters, options) {
263
259
  if (options === void 0) { options = {}; }
264
260
  return __awaiter(_this, void 0, void 0, function () {
265
261
  var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
266
262
  return __generator(this, function (_a) {
267
263
  switch (_a.label) {
268
264
  case 0:
269
- localVarPath = "/tenantservice/v1/report-schedules";
265
+ localVarPath = "/tenantservice/v1/sso-idp-groups";
270
266
  localVarUrlObj = new url_1.URL(localVarPath, common_1.DUMMY_BASE_URL);
271
267
  if (configuration) {
272
268
  baseOptions = configuration.baseOptions;
@@ -318,15 +314,15 @@ var ReportScheduleApiAxiosParamCreator = function (configuration) {
318
314
  });
319
315
  },
320
316
  /**
321
- * Updates the specified report-schedule by setting the values of the parameters passed. Any parameters not provided will be left unchanged. **Required Permissions** \"reporting.dashboards.view\"
322
- * @summary Update the report-schedule
323
- * @param {string} code
324
- * @param {UpdateReportScheduleRequestDto} updateReportScheduleRequestDto
325
- * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
317
+ * externalId is immutable. eisUserGroupCodes is set-replace when present. **Required Permissions** \"tenant-management.settings.update\"
318
+ * @summary Update the EIS mappings of an IdP group
319
+ * @param {string} code IdP group code.
320
+ * @param {UpdateSsoIdpGroupBodyDto} updateSsoIdpGroupBodyDto
321
+ * @param {string} [authorization] Bearer Token
326
322
  * @param {*} [options] Override http request option.
327
323
  * @throws {RequiredError}
328
324
  */
329
- updateReportSchedule: function (code, updateReportScheduleRequestDto, authorization, options) {
325
+ updateSsoIdpGroup: function (code, updateSsoIdpGroupBodyDto, authorization, options) {
330
326
  if (options === void 0) { options = {}; }
331
327
  return __awaiter(_this, void 0, void 0, function () {
332
328
  var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
@@ -334,10 +330,10 @@ var ReportScheduleApiAxiosParamCreator = function (configuration) {
334
330
  switch (_a.label) {
335
331
  case 0:
336
332
  // verify required parameter 'code' is not null or undefined
337
- (0, common_1.assertParamExists)('updateReportSchedule', 'code', code);
338
- // verify required parameter 'updateReportScheduleRequestDto' is not null or undefined
339
- (0, common_1.assertParamExists)('updateReportSchedule', 'updateReportScheduleRequestDto', updateReportScheduleRequestDto);
340
- localVarPath = "/tenantservice/v1/report-schedules/{code}"
333
+ (0, common_1.assertParamExists)('updateSsoIdpGroup', 'code', code);
334
+ // verify required parameter 'updateSsoIdpGroupBodyDto' is not null or undefined
335
+ (0, common_1.assertParamExists)('updateSsoIdpGroup', 'updateSsoIdpGroupBodyDto', updateSsoIdpGroupBodyDto);
336
+ localVarPath = "/tenantservice/v1/sso-idp-groups/{code}"
341
337
  .replace("{".concat("code", "}"), encodeURIComponent(String(code)));
342
338
  localVarUrlObj = new url_1.URL(localVarPath, common_1.DUMMY_BASE_URL);
343
339
  if (configuration) {
@@ -361,7 +357,60 @@ var ReportScheduleApiAxiosParamCreator = function (configuration) {
361
357
  (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
362
358
  headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
363
359
  localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
364
- localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(updateReportScheduleRequestDto, localVarRequestOptions, configuration);
360
+ localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(updateSsoIdpGroupBodyDto, localVarRequestOptions, configuration);
361
+ return [2 /*return*/, {
362
+ url: (0, common_1.toPathString)(localVarUrlObj),
363
+ options: localVarRequestOptions,
364
+ }];
365
+ }
366
+ });
367
+ });
368
+ },
369
+ /**
370
+ * Switches whether the IdP group participates in login-time access resolution. Status is shared across every mapping edge for that group. **Required Permissions** \"tenant-management.settings.update\"
371
+ * @summary Activate or deactivate an IdP group
372
+ * @param {string} code IdP group code.
373
+ * @param {UpdateSsoIdpGroupStatusBodyDto} updateSsoIdpGroupStatusBodyDto
374
+ * @param {string} [authorization] Bearer Token
375
+ * @param {*} [options] Override http request option.
376
+ * @throws {RequiredError}
377
+ */
378
+ updateSsoIdpGroupStatus: function (code, updateSsoIdpGroupStatusBodyDto, authorization, options) {
379
+ if (options === void 0) { options = {}; }
380
+ return __awaiter(_this, void 0, void 0, function () {
381
+ var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
382
+ return __generator(this, function (_a) {
383
+ switch (_a.label) {
384
+ case 0:
385
+ // verify required parameter 'code' is not null or undefined
386
+ (0, common_1.assertParamExists)('updateSsoIdpGroupStatus', 'code', code);
387
+ // verify required parameter 'updateSsoIdpGroupStatusBodyDto' is not null or undefined
388
+ (0, common_1.assertParamExists)('updateSsoIdpGroupStatus', 'updateSsoIdpGroupStatusBodyDto', updateSsoIdpGroupStatusBodyDto);
389
+ localVarPath = "/tenantservice/v1/sso-idp-groups/{code}"
390
+ .replace("{".concat("code", "}"), encodeURIComponent(String(code)));
391
+ localVarUrlObj = new url_1.URL(localVarPath, common_1.DUMMY_BASE_URL);
392
+ if (configuration) {
393
+ baseOptions = configuration.baseOptions;
394
+ baseAccessToken = configuration.accessToken;
395
+ }
396
+ localVarRequestOptions = __assign(__assign({ method: 'PATCH' }, baseOptions), options);
397
+ localVarHeaderParameter = {};
398
+ localVarQueryParameter = {};
399
+ // authentication bearer required
400
+ // http bearer authentication required
401
+ return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)];
402
+ case 1:
403
+ // authentication bearer required
404
+ // http bearer authentication required
405
+ _a.sent();
406
+ if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
407
+ localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
408
+ }
409
+ localVarHeaderParameter['Content-Type'] = 'application/json';
410
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
411
+ headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
412
+ localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
413
+ localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(updateSsoIdpGroupStatusBodyDto, localVarRequestOptions, configuration);
365
414
  return [2 /*return*/, {
366
415
  url: (0, common_1.toPathString)(localVarUrlObj),
367
416
  options: localVarRequestOptions,
@@ -372,28 +421,28 @@ var ReportScheduleApiAxiosParamCreator = function (configuration) {
372
421
  },
373
422
  };
374
423
  };
375
- exports.ReportScheduleApiAxiosParamCreator = ReportScheduleApiAxiosParamCreator;
424
+ exports.SSOIdPGroupsApiAxiosParamCreator = SSOIdPGroupsApiAxiosParamCreator;
376
425
  /**
377
- * ReportScheduleApi - functional programming interface
426
+ * SSOIdPGroupsApi - functional programming interface
378
427
  * @export
379
428
  */
380
- var ReportScheduleApiFp = function (configuration) {
381
- var localVarAxiosParamCreator = (0, exports.ReportScheduleApiAxiosParamCreator)(configuration);
429
+ var SSOIdPGroupsApiFp = function (configuration) {
430
+ var localVarAxiosParamCreator = (0, exports.SSOIdPGroupsApiAxiosParamCreator)(configuration);
382
431
  return {
383
432
  /**
384
- * Creates a scheduled report configuration for the tenant **Required Permissions** \"reporting.dashboards.view\"
385
- * @summary Create the report-schedule
386
- * @param {CreateReportScheduleRequestDto} createReportScheduleRequestDto
387
- * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
433
+ * Creates an inactive IdP group with at least one EIS user-group mapping. externalId is any text and is immutable after create. **Required Permissions** \"tenant-management.settings.create\"
434
+ * @summary Register an IdP group and its EIS mappings
435
+ * @param {CreateSsoIdpGroupRequestDto} createSsoIdpGroupRequestDto
436
+ * @param {string} [authorization] Bearer Token
388
437
  * @param {*} [options] Override http request option.
389
438
  * @throws {RequiredError}
390
439
  */
391
- createReportSchedule: function (createReportScheduleRequestDto, authorization, options) {
440
+ createSsoIdpGroup: function (createSsoIdpGroupRequestDto, authorization, options) {
392
441
  return __awaiter(this, void 0, void 0, function () {
393
442
  var localVarAxiosArgs;
394
443
  return __generator(this, function (_a) {
395
444
  switch (_a.label) {
396
- case 0: return [4 /*yield*/, localVarAxiosParamCreator.createReportSchedule(createReportScheduleRequestDto, authorization, options)];
445
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.createSsoIdpGroup(createSsoIdpGroupRequestDto, authorization, options)];
397
446
  case 1:
398
447
  localVarAxiosArgs = _a.sent();
399
448
  return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
@@ -402,19 +451,19 @@ var ReportScheduleApiFp = function (configuration) {
402
451
  });
403
452
  },
404
453
  /**
405
- * Permanently deletes the report-schedule. Supply the unique code that was returned when you created the report-schedule and this will delete it. **Required Permissions** \"reporting.dashboards.view\"
406
- * @summary Delete the report-schedule
407
- * @param {string} code Unique identifier for the object.
408
- * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
454
+ * undefined **Required Permissions** \"tenant-management.settings.delete\"
455
+ * @summary Delete an IdP group and all of its mappings
456
+ * @param {string} code IdP group code.
457
+ * @param {string} [authorization] Bearer Token
409
458
  * @param {*} [options] Override http request option.
410
459
  * @throws {RequiredError}
411
460
  */
412
- deleteReportSchedule: function (code, authorization, options) {
461
+ deleteSsoIdpGroup: function (code, authorization, options) {
413
462
  return __awaiter(this, void 0, void 0, function () {
414
463
  var localVarAxiosArgs;
415
464
  return __generator(this, function (_a) {
416
465
  switch (_a.label) {
417
- case 0: return [4 /*yield*/, localVarAxiosParamCreator.deleteReportSchedule(code, authorization, options)];
466
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.deleteSsoIdpGroup(code, authorization, options)];
418
467
  case 1:
419
468
  localVarAxiosArgs = _a.sent();
420
469
  return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
@@ -423,20 +472,19 @@ var ReportScheduleApiFp = function (configuration) {
423
472
  });
424
473
  },
425
474
  /**
426
- * Retrieves the details of the report-schedule that was previously created. Supply the unique report-schedule code that was returned when you created it and Emil Api will return the corresponding report-schedule information. **Required Permissions** \"reporting.dashboards.view\"
427
- * @summary Retrieve the report-schedule
428
- * @param {string} code Unique identifier for the object.
429
- * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
430
- * @param {string} [expand] Fields to expand response by
475
+ * undefined **Required Permissions** \"tenant-management.settings.view\"
476
+ * @summary Get an IdP group by code
477
+ * @param {string} code IdP group code.
478
+ * @param {string} [authorization] Bearer Token
431
479
  * @param {*} [options] Override http request option.
432
480
  * @throws {RequiredError}
433
481
  */
434
- getReportSchedule: function (code, authorization, expand, options) {
482
+ getSsoIdpGroup: function (code, authorization, options) {
435
483
  return __awaiter(this, void 0, void 0, function () {
436
484
  var localVarAxiosArgs;
437
485
  return __generator(this, function (_a) {
438
486
  switch (_a.label) {
439
- case 0: return [4 /*yield*/, localVarAxiosParamCreator.getReportSchedule(code, authorization, expand, options)];
487
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.getSsoIdpGroup(code, authorization, options)];
440
488
  case 1:
441
489
  localVarAxiosArgs = _a.sent();
442
490
  return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
@@ -445,25 +493,25 @@ var ReportScheduleApiFp = function (configuration) {
445
493
  });
446
494
  },
447
495
  /**
448
- * Returns a list of report-schedules you have previously created. The report-schedules are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation. **Required Permissions** \"reporting.dashboards.view\"
449
- * @summary List report-schedules
450
- * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
451
- * @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
452
- * @param {string} [pageToken] A cursor for use in pagination. pageToken is an ID that defines your place in the list. For instance, if you make a list request and receive 100 objects and pageToken=1, your subsequent call can include pageToken=2 in order to fetch the next page of the list.
453
- * @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
454
- * @param {string} [search] To search the list by any field, pass search=xxx to fetch the result.
455
- * @param {string} [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.
496
+ * The `name` field is deprecated in favor of `externalId`. **Required Permissions** \"tenant-management.settings.view\"
497
+ * @summary List registered IdP groups
498
+ * @param {string} [authorization] Bearer Token
499
+ * @param {number} [pageSize] Number of items per page.
500
+ * @param {string} [pageToken] Opaque token for the next page (returned in a previous response).
501
+ * @param {string} [filter] Filter IdP groups by one or more fields. Allowed: id, code, externalId, isActive, userGroup.code, createdAt, updatedAt.
502
+ * @param {string} [search] Free-text search over searchable columns.
503
+ * @param {string} [order] Sort the response. Allowed columns: id, code, externalId, isActive, createdAt, updatedAt.
456
504
  * @param {string} [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.
457
505
  * @param {string} [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.
458
506
  * @param {*} [options] Override http request option.
459
507
  * @throws {RequiredError}
460
508
  */
461
- listReportSchedules: function (authorization, pageSize, pageToken, filter, search, order, expand, filters, options) {
509
+ listSsoIdpGroups: function (authorization, pageSize, pageToken, filter, search, order, expand, filters, options) {
462
510
  return __awaiter(this, void 0, void 0, function () {
463
511
  var localVarAxiosArgs;
464
512
  return __generator(this, function (_a) {
465
513
  switch (_a.label) {
466
- case 0: return [4 /*yield*/, localVarAxiosParamCreator.listReportSchedules(authorization, pageSize, pageToken, filter, search, order, expand, filters, options)];
514
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.listSsoIdpGroups(authorization, pageSize, pageToken, filter, search, order, expand, filters, options)];
467
515
  case 1:
468
516
  localVarAxiosArgs = _a.sent();
469
517
  return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
@@ -472,20 +520,42 @@ var ReportScheduleApiFp = function (configuration) {
472
520
  });
473
521
  },
474
522
  /**
475
- * Updates the specified report-schedule by setting the values of the parameters passed. Any parameters not provided will be left unchanged. **Required Permissions** \"reporting.dashboards.view\"
476
- * @summary Update the report-schedule
477
- * @param {string} code
478
- * @param {UpdateReportScheduleRequestDto} updateReportScheduleRequestDto
479
- * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
523
+ * externalId is immutable. eisUserGroupCodes is set-replace when present. **Required Permissions** \"tenant-management.settings.update\"
524
+ * @summary Update the EIS mappings of an IdP group
525
+ * @param {string} code IdP group code.
526
+ * @param {UpdateSsoIdpGroupBodyDto} updateSsoIdpGroupBodyDto
527
+ * @param {string} [authorization] Bearer Token
480
528
  * @param {*} [options] Override http request option.
481
529
  * @throws {RequiredError}
482
530
  */
483
- updateReportSchedule: function (code, updateReportScheduleRequestDto, authorization, options) {
531
+ updateSsoIdpGroup: function (code, updateSsoIdpGroupBodyDto, authorization, options) {
484
532
  return __awaiter(this, void 0, void 0, function () {
485
533
  var localVarAxiosArgs;
486
534
  return __generator(this, function (_a) {
487
535
  switch (_a.label) {
488
- case 0: return [4 /*yield*/, localVarAxiosParamCreator.updateReportSchedule(code, updateReportScheduleRequestDto, authorization, options)];
536
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.updateSsoIdpGroup(code, updateSsoIdpGroupBodyDto, authorization, options)];
537
+ case 1:
538
+ localVarAxiosArgs = _a.sent();
539
+ return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
540
+ }
541
+ });
542
+ });
543
+ },
544
+ /**
545
+ * Switches whether the IdP group participates in login-time access resolution. Status is shared across every mapping edge for that group. **Required Permissions** \"tenant-management.settings.update\"
546
+ * @summary Activate or deactivate an IdP group
547
+ * @param {string} code IdP group code.
548
+ * @param {UpdateSsoIdpGroupStatusBodyDto} updateSsoIdpGroupStatusBodyDto
549
+ * @param {string} [authorization] Bearer Token
550
+ * @param {*} [options] Override http request option.
551
+ * @throws {RequiredError}
552
+ */
553
+ updateSsoIdpGroupStatus: function (code, updateSsoIdpGroupStatusBodyDto, authorization, options) {
554
+ return __awaiter(this, void 0, void 0, function () {
555
+ var localVarAxiosArgs;
556
+ return __generator(this, function (_a) {
557
+ switch (_a.label) {
558
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.updateSsoIdpGroupStatus(code, updateSsoIdpGroupStatusBodyDto, authorization, options)];
489
559
  case 1:
490
560
  localVarAxiosArgs = _a.sent();
491
561
  return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
@@ -495,152 +565,175 @@ var ReportScheduleApiFp = function (configuration) {
495
565
  },
496
566
  };
497
567
  };
498
- exports.ReportScheduleApiFp = ReportScheduleApiFp;
568
+ exports.SSOIdPGroupsApiFp = SSOIdPGroupsApiFp;
499
569
  /**
500
- * ReportScheduleApi - factory interface
570
+ * SSOIdPGroupsApi - factory interface
501
571
  * @export
502
572
  */
503
- var ReportScheduleApiFactory = function (configuration, basePath, axios) {
504
- var localVarFp = (0, exports.ReportScheduleApiFp)(configuration);
573
+ var SSOIdPGroupsApiFactory = function (configuration, basePath, axios) {
574
+ var localVarFp = (0, exports.SSOIdPGroupsApiFp)(configuration);
505
575
  return {
506
576
  /**
507
- * Creates a scheduled report configuration for the tenant **Required Permissions** \"reporting.dashboards.view\"
508
- * @summary Create the report-schedule
509
- * @param {CreateReportScheduleRequestDto} createReportScheduleRequestDto
510
- * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
577
+ * Creates an inactive IdP group with at least one EIS user-group mapping. externalId is any text and is immutable after create. **Required Permissions** \"tenant-management.settings.create\"
578
+ * @summary Register an IdP group and its EIS mappings
579
+ * @param {CreateSsoIdpGroupRequestDto} createSsoIdpGroupRequestDto
580
+ * @param {string} [authorization] Bearer Token
511
581
  * @param {*} [options] Override http request option.
512
582
  * @throws {RequiredError}
513
583
  */
514
- createReportSchedule: function (createReportScheduleRequestDto, authorization, options) {
515
- return localVarFp.createReportSchedule(createReportScheduleRequestDto, authorization, options).then(function (request) { return request(axios, basePath); });
584
+ createSsoIdpGroup: function (createSsoIdpGroupRequestDto, authorization, options) {
585
+ return localVarFp.createSsoIdpGroup(createSsoIdpGroupRequestDto, authorization, options).then(function (request) { return request(axios, basePath); });
516
586
  },
517
587
  /**
518
- * Permanently deletes the report-schedule. Supply the unique code that was returned when you created the report-schedule and this will delete it. **Required Permissions** \"reporting.dashboards.view\"
519
- * @summary Delete the report-schedule
520
- * @param {string} code Unique identifier for the object.
521
- * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
588
+ * undefined **Required Permissions** \"tenant-management.settings.delete\"
589
+ * @summary Delete an IdP group and all of its mappings
590
+ * @param {string} code IdP group code.
591
+ * @param {string} [authorization] Bearer Token
522
592
  * @param {*} [options] Override http request option.
523
593
  * @throws {RequiredError}
524
594
  */
525
- deleteReportSchedule: function (code, authorization, options) {
526
- return localVarFp.deleteReportSchedule(code, authorization, options).then(function (request) { return request(axios, basePath); });
595
+ deleteSsoIdpGroup: function (code, authorization, options) {
596
+ return localVarFp.deleteSsoIdpGroup(code, authorization, options).then(function (request) { return request(axios, basePath); });
527
597
  },
528
598
  /**
529
- * Retrieves the details of the report-schedule that was previously created. Supply the unique report-schedule code that was returned when you created it and Emil Api will return the corresponding report-schedule information. **Required Permissions** \"reporting.dashboards.view\"
530
- * @summary Retrieve the report-schedule
531
- * @param {string} code Unique identifier for the object.
532
- * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
533
- * @param {string} [expand] Fields to expand response by
599
+ * undefined **Required Permissions** \"tenant-management.settings.view\"
600
+ * @summary Get an IdP group by code
601
+ * @param {string} code IdP group code.
602
+ * @param {string} [authorization] Bearer Token
534
603
  * @param {*} [options] Override http request option.
535
604
  * @throws {RequiredError}
536
605
  */
537
- getReportSchedule: function (code, authorization, expand, options) {
538
- return localVarFp.getReportSchedule(code, authorization, expand, options).then(function (request) { return request(axios, basePath); });
606
+ getSsoIdpGroup: function (code, authorization, options) {
607
+ return localVarFp.getSsoIdpGroup(code, authorization, options).then(function (request) { return request(axios, basePath); });
539
608
  },
540
609
  /**
541
- * Returns a list of report-schedules you have previously created. The report-schedules are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation. **Required Permissions** \"reporting.dashboards.view\"
542
- * @summary List report-schedules
543
- * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
544
- * @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
545
- * @param {string} [pageToken] A cursor for use in pagination. pageToken is an ID that defines your place in the list. For instance, if you make a list request and receive 100 objects and pageToken=1, your subsequent call can include pageToken=2 in order to fetch the next page of the list.
546
- * @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
547
- * @param {string} [search] To search the list by any field, pass search=xxx to fetch the result.
548
- * @param {string} [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.
610
+ * The `name` field is deprecated in favor of `externalId`. **Required Permissions** \"tenant-management.settings.view\"
611
+ * @summary List registered IdP groups
612
+ * @param {string} [authorization] Bearer Token
613
+ * @param {number} [pageSize] Number of items per page.
614
+ * @param {string} [pageToken] Opaque token for the next page (returned in a previous response).
615
+ * @param {string} [filter] Filter IdP groups by one or more fields. Allowed: id, code, externalId, isActive, userGroup.code, createdAt, updatedAt.
616
+ * @param {string} [search] Free-text search over searchable columns.
617
+ * @param {string} [order] Sort the response. Allowed columns: id, code, externalId, isActive, createdAt, updatedAt.
549
618
  * @param {string} [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.
550
619
  * @param {string} [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.
551
620
  * @param {*} [options] Override http request option.
552
621
  * @throws {RequiredError}
553
622
  */
554
- listReportSchedules: function (authorization, pageSize, pageToken, filter, search, order, expand, filters, options) {
555
- return localVarFp.listReportSchedules(authorization, pageSize, pageToken, filter, search, order, expand, filters, options).then(function (request) { return request(axios, basePath); });
623
+ listSsoIdpGroups: function (authorization, pageSize, pageToken, filter, search, order, expand, filters, options) {
624
+ return localVarFp.listSsoIdpGroups(authorization, pageSize, pageToken, filter, search, order, expand, filters, options).then(function (request) { return request(axios, basePath); });
556
625
  },
557
626
  /**
558
- * Updates the specified report-schedule by setting the values of the parameters passed. Any parameters not provided will be left unchanged. **Required Permissions** \"reporting.dashboards.view\"
559
- * @summary Update the report-schedule
560
- * @param {string} code
561
- * @param {UpdateReportScheduleRequestDto} updateReportScheduleRequestDto
562
- * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
627
+ * externalId is immutable. eisUserGroupCodes is set-replace when present. **Required Permissions** \"tenant-management.settings.update\"
628
+ * @summary Update the EIS mappings of an IdP group
629
+ * @param {string} code IdP group code.
630
+ * @param {UpdateSsoIdpGroupBodyDto} updateSsoIdpGroupBodyDto
631
+ * @param {string} [authorization] Bearer Token
563
632
  * @param {*} [options] Override http request option.
564
633
  * @throws {RequiredError}
565
634
  */
566
- updateReportSchedule: function (code, updateReportScheduleRequestDto, authorization, options) {
567
- return localVarFp.updateReportSchedule(code, updateReportScheduleRequestDto, authorization, options).then(function (request) { return request(axios, basePath); });
635
+ updateSsoIdpGroup: function (code, updateSsoIdpGroupBodyDto, authorization, options) {
636
+ return localVarFp.updateSsoIdpGroup(code, updateSsoIdpGroupBodyDto, authorization, options).then(function (request) { return request(axios, basePath); });
637
+ },
638
+ /**
639
+ * Switches whether the IdP group participates in login-time access resolution. Status is shared across every mapping edge for that group. **Required Permissions** \"tenant-management.settings.update\"
640
+ * @summary Activate or deactivate an IdP group
641
+ * @param {string} code IdP group code.
642
+ * @param {UpdateSsoIdpGroupStatusBodyDto} updateSsoIdpGroupStatusBodyDto
643
+ * @param {string} [authorization] Bearer Token
644
+ * @param {*} [options] Override http request option.
645
+ * @throws {RequiredError}
646
+ */
647
+ updateSsoIdpGroupStatus: function (code, updateSsoIdpGroupStatusBodyDto, authorization, options) {
648
+ return localVarFp.updateSsoIdpGroupStatus(code, updateSsoIdpGroupStatusBodyDto, authorization, options).then(function (request) { return request(axios, basePath); });
568
649
  },
569
650
  };
570
651
  };
571
- exports.ReportScheduleApiFactory = ReportScheduleApiFactory;
652
+ exports.SSOIdPGroupsApiFactory = SSOIdPGroupsApiFactory;
572
653
  /**
573
- * ReportScheduleApi - object-oriented interface
654
+ * SSOIdPGroupsApi - object-oriented interface
574
655
  * @export
575
- * @class ReportScheduleApi
656
+ * @class SSOIdPGroupsApi
576
657
  * @extends {BaseAPI}
577
658
  */
578
- var ReportScheduleApi = /** @class */ (function (_super) {
579
- __extends(ReportScheduleApi, _super);
580
- function ReportScheduleApi() {
659
+ var SSOIdPGroupsApi = /** @class */ (function (_super) {
660
+ __extends(SSOIdPGroupsApi, _super);
661
+ function SSOIdPGroupsApi() {
581
662
  return _super !== null && _super.apply(this, arguments) || this;
582
663
  }
583
664
  /**
584
- * Creates a scheduled report configuration for the tenant **Required Permissions** \"reporting.dashboards.view\"
585
- * @summary Create the report-schedule
586
- * @param {ReportScheduleApiCreateReportScheduleRequest} requestParameters Request parameters.
665
+ * Creates an inactive IdP group with at least one EIS user-group mapping. externalId is any text and is immutable after create. **Required Permissions** \"tenant-management.settings.create\"
666
+ * @summary Register an IdP group and its EIS mappings
667
+ * @param {SSOIdPGroupsApiCreateSsoIdpGroupRequest} requestParameters Request parameters.
587
668
  * @param {*} [options] Override http request option.
588
669
  * @throws {RequiredError}
589
- * @memberof ReportScheduleApi
670
+ * @memberof SSOIdPGroupsApi
590
671
  */
591
- ReportScheduleApi.prototype.createReportSchedule = function (requestParameters, options) {
672
+ SSOIdPGroupsApi.prototype.createSsoIdpGroup = function (requestParameters, options) {
592
673
  var _this = this;
593
- return (0, exports.ReportScheduleApiFp)(this.configuration).createReportSchedule(requestParameters.createReportScheduleRequestDto, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
674
+ return (0, exports.SSOIdPGroupsApiFp)(this.configuration).createSsoIdpGroup(requestParameters.createSsoIdpGroupRequestDto, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
594
675
  };
595
676
  /**
596
- * Permanently deletes the report-schedule. Supply the unique code that was returned when you created the report-schedule and this will delete it. **Required Permissions** \"reporting.dashboards.view\"
597
- * @summary Delete the report-schedule
598
- * @param {ReportScheduleApiDeleteReportScheduleRequest} requestParameters Request parameters.
677
+ * undefined **Required Permissions** \"tenant-management.settings.delete\"
678
+ * @summary Delete an IdP group and all of its mappings
679
+ * @param {SSOIdPGroupsApiDeleteSsoIdpGroupRequest} requestParameters Request parameters.
599
680
  * @param {*} [options] Override http request option.
600
681
  * @throws {RequiredError}
601
- * @memberof ReportScheduleApi
682
+ * @memberof SSOIdPGroupsApi
602
683
  */
603
- ReportScheduleApi.prototype.deleteReportSchedule = function (requestParameters, options) {
684
+ SSOIdPGroupsApi.prototype.deleteSsoIdpGroup = function (requestParameters, options) {
604
685
  var _this = this;
605
- return (0, exports.ReportScheduleApiFp)(this.configuration).deleteReportSchedule(requestParameters.code, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
686
+ return (0, exports.SSOIdPGroupsApiFp)(this.configuration).deleteSsoIdpGroup(requestParameters.code, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
606
687
  };
607
688
  /**
608
- * Retrieves the details of the report-schedule that was previously created. Supply the unique report-schedule code that was returned when you created it and Emil Api will return the corresponding report-schedule information. **Required Permissions** \"reporting.dashboards.view\"
609
- * @summary Retrieve the report-schedule
610
- * @param {ReportScheduleApiGetReportScheduleRequest} requestParameters Request parameters.
689
+ * undefined **Required Permissions** \"tenant-management.settings.view\"
690
+ * @summary Get an IdP group by code
691
+ * @param {SSOIdPGroupsApiGetSsoIdpGroupRequest} requestParameters Request parameters.
611
692
  * @param {*} [options] Override http request option.
612
693
  * @throws {RequiredError}
613
- * @memberof ReportScheduleApi
694
+ * @memberof SSOIdPGroupsApi
614
695
  */
615
- ReportScheduleApi.prototype.getReportSchedule = function (requestParameters, options) {
696
+ SSOIdPGroupsApi.prototype.getSsoIdpGroup = function (requestParameters, options) {
616
697
  var _this = this;
617
- return (0, exports.ReportScheduleApiFp)(this.configuration).getReportSchedule(requestParameters.code, requestParameters.authorization, requestParameters.expand, options).then(function (request) { return request(_this.axios, _this.basePath); });
698
+ return (0, exports.SSOIdPGroupsApiFp)(this.configuration).getSsoIdpGroup(requestParameters.code, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
618
699
  };
619
700
  /**
620
- * Returns a list of report-schedules you have previously created. The report-schedules are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation. **Required Permissions** \"reporting.dashboards.view\"
621
- * @summary List report-schedules
622
- * @param {ReportScheduleApiListReportSchedulesRequest} requestParameters Request parameters.
701
+ * The `name` field is deprecated in favor of `externalId`. **Required Permissions** \"tenant-management.settings.view\"
702
+ * @summary List registered IdP groups
703
+ * @param {SSOIdPGroupsApiListSsoIdpGroupsRequest} requestParameters Request parameters.
623
704
  * @param {*} [options] Override http request option.
624
705
  * @throws {RequiredError}
625
- * @memberof ReportScheduleApi
706
+ * @memberof SSOIdPGroupsApi
626
707
  */
627
- ReportScheduleApi.prototype.listReportSchedules = function (requestParameters, options) {
708
+ SSOIdPGroupsApi.prototype.listSsoIdpGroups = function (requestParameters, options) {
628
709
  var _this = this;
629
710
  if (requestParameters === void 0) { requestParameters = {}; }
630
- return (0, exports.ReportScheduleApiFp)(this.configuration).listReportSchedules(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); });
711
+ return (0, exports.SSOIdPGroupsApiFp)(this.configuration).listSsoIdpGroups(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); });
712
+ };
713
+ /**
714
+ * externalId is immutable. eisUserGroupCodes is set-replace when present. **Required Permissions** \"tenant-management.settings.update\"
715
+ * @summary Update the EIS mappings of an IdP group
716
+ * @param {SSOIdPGroupsApiUpdateSsoIdpGroupRequest} requestParameters Request parameters.
717
+ * @param {*} [options] Override http request option.
718
+ * @throws {RequiredError}
719
+ * @memberof SSOIdPGroupsApi
720
+ */
721
+ SSOIdPGroupsApi.prototype.updateSsoIdpGroup = function (requestParameters, options) {
722
+ var _this = this;
723
+ return (0, exports.SSOIdPGroupsApiFp)(this.configuration).updateSsoIdpGroup(requestParameters.code, requestParameters.updateSsoIdpGroupBodyDto, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
631
724
  };
632
725
  /**
633
- * Updates the specified report-schedule by setting the values of the parameters passed. Any parameters not provided will be left unchanged. **Required Permissions** \"reporting.dashboards.view\"
634
- * @summary Update the report-schedule
635
- * @param {ReportScheduleApiUpdateReportScheduleRequest} requestParameters Request parameters.
726
+ * Switches whether the IdP group participates in login-time access resolution. Status is shared across every mapping edge for that group. **Required Permissions** \"tenant-management.settings.update\"
727
+ * @summary Activate or deactivate an IdP group
728
+ * @param {SSOIdPGroupsApiUpdateSsoIdpGroupStatusRequest} requestParameters Request parameters.
636
729
  * @param {*} [options] Override http request option.
637
730
  * @throws {RequiredError}
638
- * @memberof ReportScheduleApi
731
+ * @memberof SSOIdPGroupsApi
639
732
  */
640
- ReportScheduleApi.prototype.updateReportSchedule = function (requestParameters, options) {
733
+ SSOIdPGroupsApi.prototype.updateSsoIdpGroupStatus = function (requestParameters, options) {
641
734
  var _this = this;
642
- return (0, exports.ReportScheduleApiFp)(this.configuration).updateReportSchedule(requestParameters.code, requestParameters.updateReportScheduleRequestDto, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
735
+ return (0, exports.SSOIdPGroupsApiFp)(this.configuration).updateSsoIdpGroupStatus(requestParameters.code, requestParameters.updateSsoIdpGroupStatusBodyDto, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
643
736
  };
644
- return ReportScheduleApi;
737
+ return SSOIdPGroupsApi;
645
738
  }(base_1.BaseAPI));
646
- exports.ReportScheduleApi = ReportScheduleApi;
739
+ exports.SSOIdPGroupsApi = SSOIdPGroupsApi;