@emilgroup/tenant-sdk 1.42.1-beta.7 → 1.42.1-beta.71

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 (115) hide show
  1. package/.openapi-generator/FILES +32 -1
  2. package/README.md +2 -2
  3. package/api/ssoconnection-api.ts +789 -0
  4. package/api/ssoid-pgroups-api.ts +799 -0
  5. package/api/user-controller-rest-api.ts +4 -4
  6. package/api/users-api.ts +4 -4
  7. package/api.ts +4 -0
  8. package/dist/api/ssoconnection-api.d.ts +434 -0
  9. package/dist/api/ssoconnection-api.js +780 -0
  10. package/dist/api/ssoid-pgroups-api.d.ts +451 -0
  11. package/dist/api/ssoid-pgroups-api.js +735 -0
  12. package/dist/api/user-controller-rest-api.d.ts +4 -4
  13. package/dist/api/user-controller-rest-api.js +3 -3
  14. package/dist/api/users-api.d.ts +4 -4
  15. package/dist/api/users-api.js +3 -3
  16. package/dist/api.d.ts +2 -0
  17. package/dist/api.js +2 -0
  18. package/dist/models/create-sso-connection-request-dto.d.ts +66 -0
  19. package/dist/models/create-sso-connection-request-dto.js +23 -0
  20. package/dist/models/create-sso-connection-response-class.d.ts +25 -0
  21. package/dist/models/create-sso-idp-group-request-dto.d.ts +37 -0
  22. package/dist/models/create-sso-idp-group-request-dto.js +15 -0
  23. package/dist/models/create-sso-idp-group-response-class.d.ts +25 -0
  24. package/dist/models/create-sso-idp-group-response-class.js +15 -0
  25. package/dist/models/dbconfig-dto.d.ts +0 -6
  26. package/dist/models/delete-by-code-response-class.d.ts +24 -0
  27. package/dist/models/delete-by-code-response-class.js +15 -0
  28. package/dist/models/get-sso-connection-response-class.d.ts +25 -0
  29. package/dist/models/get-sso-connection-response-class.js +15 -0
  30. package/dist/models/get-sso-connection-setup-response-class.d.ts +25 -0
  31. package/dist/models/get-sso-connection-setup-response-class.js +15 -0
  32. package/dist/models/get-sso-idp-group-response-class.d.ts +25 -0
  33. package/dist/models/get-sso-idp-group-response-class.js +15 -0
  34. package/dist/models/index.d.ts +30 -1
  35. package/dist/models/index.js +30 -1
  36. package/dist/models/list-sso-idp-groups-response-class.d.ts +43 -0
  37. package/dist/models/list-sso-idp-groups-response-class.js +15 -0
  38. package/dist/models/oidc-sso-details-input-dto.d.ts +36 -0
  39. package/dist/models/oidc-sso-details-input-dto.js +15 -0
  40. package/dist/models/oidc-sso-details-update-dto.d.ts +36 -0
  41. package/dist/models/oidc-sso-details-update-dto.js +15 -0
  42. package/dist/models/oidc-sso-setup-class.d.ts +31 -0
  43. package/dist/models/oidc-sso-setup-class.js +15 -0
  44. package/dist/models/{delete-tenant-request-dto.d.ts → saml-sso-details-dto.d.ts} +5 -11
  45. package/dist/models/saml-sso-details-dto.js +15 -0
  46. package/dist/models/saml-sso-setup-class.d.ts +37 -0
  47. package/dist/models/saml-sso-setup-class.js +15 -0
  48. package/dist/models/shared-oidc-sso-details-class.d.ts +36 -0
  49. package/dist/models/shared-oidc-sso-details-class.js +15 -0
  50. package/dist/models/shared-saml-sso-details-class.d.ts +24 -0
  51. package/dist/models/shared-saml-sso-details-class.js +15 -0
  52. package/dist/models/shared-sso-attribute-mapping-class.d.ts +30 -0
  53. package/dist/models/shared-sso-attribute-mapping-class.js +15 -0
  54. package/dist/models/sso-attribute-mapping-dto.d.ts +30 -0
  55. package/dist/models/sso-attribute-mapping-dto.js +15 -0
  56. package/dist/models/sso-attribute-mapping-template-class.d.ts +36 -0
  57. package/dist/models/sso-attribute-mapping-template-class.js +15 -0
  58. package/dist/models/sso-connection-class.d.ts +102 -0
  59. package/dist/models/sso-connection-class.js +23 -0
  60. package/dist/models/sso-connection-setup-class.d.ts +32 -0
  61. package/dist/models/sso-connection-setup-class.js +15 -0
  62. package/dist/models/sso-idp-group-class.d.ts +73 -0
  63. package/dist/models/sso-idp-group-class.js +15 -0
  64. package/dist/models/update-sso-connection-body-dto.d.ts +45 -0
  65. package/dist/models/update-sso-connection-body-dto.js +15 -0
  66. package/dist/models/update-sso-connection-response-class.d.ts +25 -0
  67. package/dist/models/update-sso-connection-response-class.js +15 -0
  68. package/dist/models/update-sso-connection-status-body-dto.d.ts +24 -0
  69. package/dist/models/update-sso-connection-status-body-dto.js +15 -0
  70. package/dist/models/update-sso-connection-status-response-class.d.ts +25 -0
  71. package/dist/models/update-sso-connection-status-response-class.js +15 -0
  72. package/dist/models/update-sso-idp-group-body-dto.d.ts +31 -0
  73. package/dist/models/update-sso-idp-group-body-dto.js +15 -0
  74. package/dist/models/update-sso-idp-group-response-class.d.ts +25 -0
  75. package/dist/models/update-sso-idp-group-response-class.js +15 -0
  76. package/dist/models/update-sso-idp-group-status-body-dto.d.ts +24 -0
  77. package/dist/models/update-sso-idp-group-status-body-dto.js +15 -0
  78. package/dist/models/update-sso-idp-group-status-response-class.d.ts +25 -0
  79. package/dist/models/update-sso-idp-group-status-response-class.js +15 -0
  80. package/dist/models/user-class.d.ts +7 -0
  81. package/models/create-sso-connection-request-dto.ts +76 -0
  82. package/models/create-sso-connection-response-class.ts +31 -0
  83. package/models/create-sso-idp-group-request-dto.ts +43 -0
  84. package/models/create-sso-idp-group-response-class.ts +31 -0
  85. package/models/dbconfig-dto.ts +0 -6
  86. package/models/delete-by-code-response-class.ts +30 -0
  87. package/models/get-sso-connection-response-class.ts +31 -0
  88. package/models/get-sso-connection-setup-response-class.ts +31 -0
  89. package/models/get-sso-idp-group-response-class.ts +31 -0
  90. package/models/index.ts +30 -1
  91. package/models/list-sso-idp-groups-response-class.ts +49 -0
  92. package/models/oidc-sso-details-input-dto.ts +42 -0
  93. package/models/oidc-sso-details-update-dto.ts +42 -0
  94. package/models/oidc-sso-setup-class.ts +37 -0
  95. package/models/{delete-tenant-request-dto.ts → saml-sso-details-dto.ts} +5 -11
  96. package/models/saml-sso-setup-class.ts +43 -0
  97. package/models/shared-oidc-sso-details-class.ts +42 -0
  98. package/models/shared-saml-sso-details-class.ts +30 -0
  99. package/models/shared-sso-attribute-mapping-class.ts +36 -0
  100. package/models/sso-attribute-mapping-dto.ts +36 -0
  101. package/models/sso-attribute-mapping-template-class.ts +42 -0
  102. package/models/sso-connection-class.ts +112 -0
  103. package/models/sso-connection-setup-class.ts +38 -0
  104. package/models/sso-idp-group-class.ts +79 -0
  105. package/models/update-sso-connection-body-dto.ts +51 -0
  106. package/models/update-sso-connection-response-class.ts +31 -0
  107. package/models/update-sso-connection-status-body-dto.ts +30 -0
  108. package/models/update-sso-connection-status-response-class.ts +31 -0
  109. package/models/update-sso-idp-group-body-dto.ts +37 -0
  110. package/models/update-sso-idp-group-response-class.ts +31 -0
  111. package/models/update-sso-idp-group-status-body-dto.ts +30 -0
  112. package/models/update-sso-idp-group-status-response-class.ts +31 -0
  113. package/models/user-class.ts +7 -0
  114. package/package.json +1 -1
  115. /package/dist/models/{delete-tenant-request-dto.js → create-sso-connection-response-class.js} +0 -0
@@ -0,0 +1,799 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * EMIL Tenant Service
5
+ * The EMIL TenantService API description
6
+ *
7
+ * The version of the OpenAPI document: 1.0
8
+ * Contact: kontakt@emil.de
9
+ *
10
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
+ * https://openapi-generator.tech
12
+ * Do not edit the class manually.
13
+ */
14
+
15
+
16
+ import globalAxios, { AxiosPromise, AxiosInstance, AxiosRequestConfig } from 'axios';
17
+ import { Configuration } from '../configuration';
18
+ // Some imports not used depending on template conditions
19
+ // @ts-ignore
20
+ import { DUMMY_BASE_URL, assertParamExists, setApiKeyToObject, setBasicAuthToObject, setBearerAuthToObject, setOAuthToObject, setSearchParams, serializeDataIfNeeded, toPathString, createRequestFunction } from '../common';
21
+ // @ts-ignore
22
+ import { BASE_PATH, COLLECTION_FORMATS, RequestArgs, BaseAPI, RequiredError } from '../base';
23
+ // @ts-ignore
24
+ import { CreateSsoIdpGroupRequestDto } from '../models';
25
+ // @ts-ignore
26
+ import { CreateSsoIdpGroupResponseClass } from '../models';
27
+ // @ts-ignore
28
+ import { DeleteByCodeResponseClass } from '../models';
29
+ // @ts-ignore
30
+ import { GetSsoIdpGroupResponseClass } from '../models';
31
+ // @ts-ignore
32
+ import { ListSsoIdpGroupsResponseClass } from '../models';
33
+ // @ts-ignore
34
+ import { UpdateSsoIdpGroupBodyDto } from '../models';
35
+ // @ts-ignore
36
+ import { UpdateSsoIdpGroupResponseClass } from '../models';
37
+ // @ts-ignore
38
+ import { UpdateSsoIdpGroupStatusBodyDto } from '../models';
39
+ // @ts-ignore
40
+ import { UpdateSsoIdpGroupStatusResponseClass } from '../models';
41
+ /**
42
+ * SSOIdPGroupsApi - axios parameter creator
43
+ * @export
44
+ */
45
+ export const SSOIdPGroupsApiAxiosParamCreator = function (configuration?: Configuration) {
46
+ return {
47
+ /**
48
+ * 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\"
49
+ * @summary Register an IdP group and its EIS mappings
50
+ * @param {CreateSsoIdpGroupRequestDto} createSsoIdpGroupRequestDto
51
+ * @param {string} [authorization] Bearer Token
52
+ * @param {*} [options] Override http request option.
53
+ * @throws {RequiredError}
54
+ */
55
+ createSsoIdpGroup: async (createSsoIdpGroupRequestDto: CreateSsoIdpGroupRequestDto, authorization?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
56
+ // verify required parameter 'createSsoIdpGroupRequestDto' is not null or undefined
57
+ assertParamExists('createSsoIdpGroup', 'createSsoIdpGroupRequestDto', createSsoIdpGroupRequestDto)
58
+ const localVarPath = `/tenantservice/v1/sso-idp-groups`;
59
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
60
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
61
+ let baseOptions;
62
+ let baseAccessToken;
63
+ if (configuration) {
64
+ baseOptions = configuration.baseOptions;
65
+ baseAccessToken = configuration.accessToken;
66
+ }
67
+
68
+ const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
69
+ const localVarHeaderParameter = {} as any;
70
+ const localVarQueryParameter = {} as any;
71
+
72
+ // authentication bearer required
73
+ // http bearer authentication required
74
+ await setBearerAuthToObject(localVarHeaderParameter, configuration)
75
+
76
+ if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
77
+ localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
78
+ }
79
+
80
+
81
+
82
+ localVarHeaderParameter['Content-Type'] = 'application/json';
83
+
84
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
85
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
86
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
87
+ localVarRequestOptions.data = serializeDataIfNeeded(createSsoIdpGroupRequestDto, localVarRequestOptions, configuration)
88
+
89
+ return {
90
+ url: toPathString(localVarUrlObj),
91
+ options: localVarRequestOptions,
92
+ };
93
+ },
94
+ /**
95
+ * undefined **Required Permissions** \"tenant-management.settings.delete\"
96
+ * @summary Delete an IdP group and all of its mappings
97
+ * @param {string} code IdP group code.
98
+ * @param {string} [authorization] Bearer Token
99
+ * @param {*} [options] Override http request option.
100
+ * @throws {RequiredError}
101
+ */
102
+ deleteSsoIdpGroup: async (code: string, authorization?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
103
+ // verify required parameter 'code' is not null or undefined
104
+ assertParamExists('deleteSsoIdpGroup', 'code', code)
105
+ const localVarPath = `/tenantservice/v1/sso-idp-groups/{code}`
106
+ .replace(`{${"code"}}`, encodeURIComponent(String(code)));
107
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
108
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
109
+ let baseOptions;
110
+ let baseAccessToken;
111
+ if (configuration) {
112
+ baseOptions = configuration.baseOptions;
113
+ baseAccessToken = configuration.accessToken;
114
+ }
115
+
116
+ const localVarRequestOptions = { method: 'DELETE', ...baseOptions, ...options};
117
+ const localVarHeaderParameter = {} as any;
118
+ const localVarQueryParameter = {} as any;
119
+
120
+ // authentication bearer required
121
+ // http bearer authentication required
122
+ await setBearerAuthToObject(localVarHeaderParameter, configuration)
123
+
124
+ if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
125
+ localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
126
+ }
127
+
128
+
129
+
130
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
131
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
132
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
133
+
134
+ return {
135
+ url: toPathString(localVarUrlObj),
136
+ options: localVarRequestOptions,
137
+ };
138
+ },
139
+ /**
140
+ * undefined **Required Permissions** \"tenant-management.settings.view\"
141
+ * @summary Get an IdP group by code
142
+ * @param {string} code IdP group code.
143
+ * @param {string} [authorization] Bearer Token
144
+ * @param {*} [options] Override http request option.
145
+ * @throws {RequiredError}
146
+ */
147
+ getSsoIdpGroup: async (code: string, authorization?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
148
+ // verify required parameter 'code' is not null or undefined
149
+ assertParamExists('getSsoIdpGroup', 'code', code)
150
+ const localVarPath = `/tenantservice/v1/sso-idp-groups/{code}`
151
+ .replace(`{${"code"}}`, encodeURIComponent(String(code)));
152
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
153
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
154
+ let baseOptions;
155
+ let baseAccessToken;
156
+ if (configuration) {
157
+ baseOptions = configuration.baseOptions;
158
+ baseAccessToken = configuration.accessToken;
159
+ }
160
+
161
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
162
+ const localVarHeaderParameter = {} as any;
163
+ const localVarQueryParameter = {} as any;
164
+
165
+ // authentication bearer required
166
+ // http bearer authentication required
167
+ await setBearerAuthToObject(localVarHeaderParameter, configuration)
168
+
169
+ if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
170
+ localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
171
+ }
172
+
173
+
174
+
175
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
176
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
177
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
178
+
179
+ return {
180
+ url: toPathString(localVarUrlObj),
181
+ options: localVarRequestOptions,
182
+ };
183
+ },
184
+ /**
185
+ * The `name` field is deprecated in favor of `externalId`. **Required Permissions** \"tenant-management.settings.view\"
186
+ * @summary List registered IdP groups
187
+ * @param {string} [authorization] Bearer Token
188
+ * @param {number} [pageSize] Number of items per page.
189
+ * @param {string} [pageToken] Opaque token for the next page (returned in a previous response).
190
+ * @param {string} [filter] Filter IdP groups by one or more fields. Allowed: id, code, externalId, isActive, userGroup.code, createdAt, updatedAt.
191
+ * @param {string} [search] Free-text search over searchable columns.
192
+ * @param {string} [order] Sort the response. Allowed columns: id, code, externalId, isActive, createdAt, updatedAt.
193
+ * @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.
194
+ * @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.
195
+ * @param {*} [options] Override http request option.
196
+ * @throws {RequiredError}
197
+ */
198
+ listSsoIdpGroups: async (authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
199
+ const localVarPath = `/tenantservice/v1/sso-idp-groups`;
200
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
201
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
202
+ let baseOptions;
203
+ let baseAccessToken;
204
+ if (configuration) {
205
+ baseOptions = configuration.baseOptions;
206
+ baseAccessToken = configuration.accessToken;
207
+ }
208
+
209
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
210
+ const localVarHeaderParameter = {} as any;
211
+ const localVarQueryParameter = {} as any;
212
+
213
+ // authentication bearer required
214
+ // http bearer authentication required
215
+ await setBearerAuthToObject(localVarHeaderParameter, configuration)
216
+
217
+ if (pageSize !== undefined) {
218
+ localVarQueryParameter['pageSize'] = pageSize;
219
+ }
220
+
221
+ if (pageToken !== undefined) {
222
+ localVarQueryParameter['pageToken'] = pageToken;
223
+ }
224
+
225
+ if (filter !== undefined) {
226
+ localVarQueryParameter['filter'] = filter;
227
+ }
228
+
229
+ if (search !== undefined) {
230
+ localVarQueryParameter['search'] = search;
231
+ }
232
+
233
+ if (order !== undefined) {
234
+ localVarQueryParameter['order'] = order;
235
+ }
236
+
237
+ if (expand !== undefined) {
238
+ localVarQueryParameter['expand'] = expand;
239
+ }
240
+
241
+ if (filters !== undefined) {
242
+ localVarQueryParameter['filters'] = filters;
243
+ }
244
+
245
+ if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
246
+ localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
247
+ }
248
+
249
+
250
+
251
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
252
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
253
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
254
+
255
+ return {
256
+ url: toPathString(localVarUrlObj),
257
+ options: localVarRequestOptions,
258
+ };
259
+ },
260
+ /**
261
+ * externalId is immutable. eisUserGroupCodes is set-replace when present. **Required Permissions** \"tenant-management.settings.update\"
262
+ * @summary Update the EIS mappings of an IdP group
263
+ * @param {string} code IdP group code.
264
+ * @param {UpdateSsoIdpGroupBodyDto} updateSsoIdpGroupBodyDto
265
+ * @param {string} [authorization] Bearer Token
266
+ * @param {*} [options] Override http request option.
267
+ * @throws {RequiredError}
268
+ */
269
+ updateSsoIdpGroup: async (code: string, updateSsoIdpGroupBodyDto: UpdateSsoIdpGroupBodyDto, authorization?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
270
+ // verify required parameter 'code' is not null or undefined
271
+ assertParamExists('updateSsoIdpGroup', 'code', code)
272
+ // verify required parameter 'updateSsoIdpGroupBodyDto' is not null or undefined
273
+ assertParamExists('updateSsoIdpGroup', 'updateSsoIdpGroupBodyDto', updateSsoIdpGroupBodyDto)
274
+ const localVarPath = `/tenantservice/v1/sso-idp-groups/{code}`
275
+ .replace(`{${"code"}}`, encodeURIComponent(String(code)));
276
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
277
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
278
+ let baseOptions;
279
+ let baseAccessToken;
280
+ if (configuration) {
281
+ baseOptions = configuration.baseOptions;
282
+ baseAccessToken = configuration.accessToken;
283
+ }
284
+
285
+ const localVarRequestOptions = { method: 'PUT', ...baseOptions, ...options};
286
+ const localVarHeaderParameter = {} as any;
287
+ const localVarQueryParameter = {} as any;
288
+
289
+ // authentication bearer required
290
+ // http bearer authentication required
291
+ await setBearerAuthToObject(localVarHeaderParameter, configuration)
292
+
293
+ if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
294
+ localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
295
+ }
296
+
297
+
298
+
299
+ localVarHeaderParameter['Content-Type'] = 'application/json';
300
+
301
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
302
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
303
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
304
+ localVarRequestOptions.data = serializeDataIfNeeded(updateSsoIdpGroupBodyDto, localVarRequestOptions, configuration)
305
+
306
+ return {
307
+ url: toPathString(localVarUrlObj),
308
+ options: localVarRequestOptions,
309
+ };
310
+ },
311
+ /**
312
+ * 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\"
313
+ * @summary Activate or deactivate an IdP group
314
+ * @param {string} code IdP group code.
315
+ * @param {UpdateSsoIdpGroupStatusBodyDto} updateSsoIdpGroupStatusBodyDto
316
+ * @param {string} [authorization] Bearer Token
317
+ * @param {*} [options] Override http request option.
318
+ * @throws {RequiredError}
319
+ */
320
+ updateSsoIdpGroupStatus: async (code: string, updateSsoIdpGroupStatusBodyDto: UpdateSsoIdpGroupStatusBodyDto, authorization?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
321
+ // verify required parameter 'code' is not null or undefined
322
+ assertParamExists('updateSsoIdpGroupStatus', 'code', code)
323
+ // verify required parameter 'updateSsoIdpGroupStatusBodyDto' is not null or undefined
324
+ assertParamExists('updateSsoIdpGroupStatus', 'updateSsoIdpGroupStatusBodyDto', updateSsoIdpGroupStatusBodyDto)
325
+ const localVarPath = `/tenantservice/v1/sso-idp-groups/{code}`
326
+ .replace(`{${"code"}}`, encodeURIComponent(String(code)));
327
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
328
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
329
+ let baseOptions;
330
+ let baseAccessToken;
331
+ if (configuration) {
332
+ baseOptions = configuration.baseOptions;
333
+ baseAccessToken = configuration.accessToken;
334
+ }
335
+
336
+ const localVarRequestOptions = { method: 'PATCH', ...baseOptions, ...options};
337
+ const localVarHeaderParameter = {} as any;
338
+ const localVarQueryParameter = {} as any;
339
+
340
+ // authentication bearer required
341
+ // http bearer authentication required
342
+ await setBearerAuthToObject(localVarHeaderParameter, configuration)
343
+
344
+ if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
345
+ localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
346
+ }
347
+
348
+
349
+
350
+ localVarHeaderParameter['Content-Type'] = 'application/json';
351
+
352
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
353
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
354
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
355
+ localVarRequestOptions.data = serializeDataIfNeeded(updateSsoIdpGroupStatusBodyDto, localVarRequestOptions, configuration)
356
+
357
+ return {
358
+ url: toPathString(localVarUrlObj),
359
+ options: localVarRequestOptions,
360
+ };
361
+ },
362
+ }
363
+ };
364
+
365
+ /**
366
+ * SSOIdPGroupsApi - functional programming interface
367
+ * @export
368
+ */
369
+ export const SSOIdPGroupsApiFp = function(configuration?: Configuration) {
370
+ const localVarAxiosParamCreator = SSOIdPGroupsApiAxiosParamCreator(configuration)
371
+ return {
372
+ /**
373
+ * 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\"
374
+ * @summary Register an IdP group and its EIS mappings
375
+ * @param {CreateSsoIdpGroupRequestDto} createSsoIdpGroupRequestDto
376
+ * @param {string} [authorization] Bearer Token
377
+ * @param {*} [options] Override http request option.
378
+ * @throws {RequiredError}
379
+ */
380
+ async createSsoIdpGroup(createSsoIdpGroupRequestDto: CreateSsoIdpGroupRequestDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CreateSsoIdpGroupResponseClass>> {
381
+ const localVarAxiosArgs = await localVarAxiosParamCreator.createSsoIdpGroup(createSsoIdpGroupRequestDto, authorization, options);
382
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
383
+ },
384
+ /**
385
+ * undefined **Required Permissions** \"tenant-management.settings.delete\"
386
+ * @summary Delete an IdP group and all of its mappings
387
+ * @param {string} code IdP group code.
388
+ * @param {string} [authorization] Bearer Token
389
+ * @param {*} [options] Override http request option.
390
+ * @throws {RequiredError}
391
+ */
392
+ async deleteSsoIdpGroup(code: string, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DeleteByCodeResponseClass>> {
393
+ const localVarAxiosArgs = await localVarAxiosParamCreator.deleteSsoIdpGroup(code, authorization, options);
394
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
395
+ },
396
+ /**
397
+ * undefined **Required Permissions** \"tenant-management.settings.view\"
398
+ * @summary Get an IdP group by code
399
+ * @param {string} code IdP group code.
400
+ * @param {string} [authorization] Bearer Token
401
+ * @param {*} [options] Override http request option.
402
+ * @throws {RequiredError}
403
+ */
404
+ async getSsoIdpGroup(code: string, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetSsoIdpGroupResponseClass>> {
405
+ const localVarAxiosArgs = await localVarAxiosParamCreator.getSsoIdpGroup(code, authorization, options);
406
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
407
+ },
408
+ /**
409
+ * The `name` field is deprecated in favor of `externalId`. **Required Permissions** \"tenant-management.settings.view\"
410
+ * @summary List registered IdP groups
411
+ * @param {string} [authorization] Bearer Token
412
+ * @param {number} [pageSize] Number of items per page.
413
+ * @param {string} [pageToken] Opaque token for the next page (returned in a previous response).
414
+ * @param {string} [filter] Filter IdP groups by one or more fields. Allowed: id, code, externalId, isActive, userGroup.code, createdAt, updatedAt.
415
+ * @param {string} [search] Free-text search over searchable columns.
416
+ * @param {string} [order] Sort the response. Allowed columns: id, code, externalId, isActive, createdAt, updatedAt.
417
+ * @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.
418
+ * @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.
419
+ * @param {*} [options] Override http request option.
420
+ * @throws {RequiredError}
421
+ */
422
+ async listSsoIdpGroups(authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListSsoIdpGroupsResponseClass>> {
423
+ const localVarAxiosArgs = await localVarAxiosParamCreator.listSsoIdpGroups(authorization, pageSize, pageToken, filter, search, order, expand, filters, options);
424
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
425
+ },
426
+ /**
427
+ * externalId is immutable. eisUserGroupCodes is set-replace when present. **Required Permissions** \"tenant-management.settings.update\"
428
+ * @summary Update the EIS mappings of an IdP group
429
+ * @param {string} code IdP group code.
430
+ * @param {UpdateSsoIdpGroupBodyDto} updateSsoIdpGroupBodyDto
431
+ * @param {string} [authorization] Bearer Token
432
+ * @param {*} [options] Override http request option.
433
+ * @throws {RequiredError}
434
+ */
435
+ async updateSsoIdpGroup(code: string, updateSsoIdpGroupBodyDto: UpdateSsoIdpGroupBodyDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<UpdateSsoIdpGroupResponseClass>> {
436
+ const localVarAxiosArgs = await localVarAxiosParamCreator.updateSsoIdpGroup(code, updateSsoIdpGroupBodyDto, authorization, options);
437
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
438
+ },
439
+ /**
440
+ * 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\"
441
+ * @summary Activate or deactivate an IdP group
442
+ * @param {string} code IdP group code.
443
+ * @param {UpdateSsoIdpGroupStatusBodyDto} updateSsoIdpGroupStatusBodyDto
444
+ * @param {string} [authorization] Bearer Token
445
+ * @param {*} [options] Override http request option.
446
+ * @throws {RequiredError}
447
+ */
448
+ async updateSsoIdpGroupStatus(code: string, updateSsoIdpGroupStatusBodyDto: UpdateSsoIdpGroupStatusBodyDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<UpdateSsoIdpGroupStatusResponseClass>> {
449
+ const localVarAxiosArgs = await localVarAxiosParamCreator.updateSsoIdpGroupStatus(code, updateSsoIdpGroupStatusBodyDto, authorization, options);
450
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
451
+ },
452
+ }
453
+ };
454
+
455
+ /**
456
+ * SSOIdPGroupsApi - factory interface
457
+ * @export
458
+ */
459
+ export const SSOIdPGroupsApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
460
+ const localVarFp = SSOIdPGroupsApiFp(configuration)
461
+ return {
462
+ /**
463
+ * 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\"
464
+ * @summary Register an IdP group and its EIS mappings
465
+ * @param {CreateSsoIdpGroupRequestDto} createSsoIdpGroupRequestDto
466
+ * @param {string} [authorization] Bearer Token
467
+ * @param {*} [options] Override http request option.
468
+ * @throws {RequiredError}
469
+ */
470
+ createSsoIdpGroup(createSsoIdpGroupRequestDto: CreateSsoIdpGroupRequestDto, authorization?: string, options?: any): AxiosPromise<CreateSsoIdpGroupResponseClass> {
471
+ return localVarFp.createSsoIdpGroup(createSsoIdpGroupRequestDto, authorization, options).then((request) => request(axios, basePath));
472
+ },
473
+ /**
474
+ * undefined **Required Permissions** \"tenant-management.settings.delete\"
475
+ * @summary Delete an IdP group and all of its mappings
476
+ * @param {string} code IdP group code.
477
+ * @param {string} [authorization] Bearer Token
478
+ * @param {*} [options] Override http request option.
479
+ * @throws {RequiredError}
480
+ */
481
+ deleteSsoIdpGroup(code: string, authorization?: string, options?: any): AxiosPromise<DeleteByCodeResponseClass> {
482
+ return localVarFp.deleteSsoIdpGroup(code, authorization, options).then((request) => request(axios, basePath));
483
+ },
484
+ /**
485
+ * undefined **Required Permissions** \"tenant-management.settings.view\"
486
+ * @summary Get an IdP group by code
487
+ * @param {string} code IdP group code.
488
+ * @param {string} [authorization] Bearer Token
489
+ * @param {*} [options] Override http request option.
490
+ * @throws {RequiredError}
491
+ */
492
+ getSsoIdpGroup(code: string, authorization?: string, options?: any): AxiosPromise<GetSsoIdpGroupResponseClass> {
493
+ return localVarFp.getSsoIdpGroup(code, authorization, options).then((request) => request(axios, basePath));
494
+ },
495
+ /**
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.
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.
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.
506
+ * @param {*} [options] Override http request option.
507
+ * @throws {RequiredError}
508
+ */
509
+ listSsoIdpGroups(authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options?: any): AxiosPromise<ListSsoIdpGroupsResponseClass> {
510
+ return localVarFp.listSsoIdpGroups(authorization, pageSize, pageToken, filter, search, order, expand, filters, options).then((request) => request(axios, basePath));
511
+ },
512
+ /**
513
+ * externalId is immutable. eisUserGroupCodes is set-replace when present. **Required Permissions** \"tenant-management.settings.update\"
514
+ * @summary Update the EIS mappings of an IdP group
515
+ * @param {string} code IdP group code.
516
+ * @param {UpdateSsoIdpGroupBodyDto} updateSsoIdpGroupBodyDto
517
+ * @param {string} [authorization] Bearer Token
518
+ * @param {*} [options] Override http request option.
519
+ * @throws {RequiredError}
520
+ */
521
+ updateSsoIdpGroup(code: string, updateSsoIdpGroupBodyDto: UpdateSsoIdpGroupBodyDto, authorization?: string, options?: any): AxiosPromise<UpdateSsoIdpGroupResponseClass> {
522
+ return localVarFp.updateSsoIdpGroup(code, updateSsoIdpGroupBodyDto, authorization, options).then((request) => request(axios, basePath));
523
+ },
524
+ /**
525
+ * 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\"
526
+ * @summary Activate or deactivate an IdP group
527
+ * @param {string} code IdP group code.
528
+ * @param {UpdateSsoIdpGroupStatusBodyDto} updateSsoIdpGroupStatusBodyDto
529
+ * @param {string} [authorization] Bearer Token
530
+ * @param {*} [options] Override http request option.
531
+ * @throws {RequiredError}
532
+ */
533
+ updateSsoIdpGroupStatus(code: string, updateSsoIdpGroupStatusBodyDto: UpdateSsoIdpGroupStatusBodyDto, authorization?: string, options?: any): AxiosPromise<UpdateSsoIdpGroupStatusResponseClass> {
534
+ return localVarFp.updateSsoIdpGroupStatus(code, updateSsoIdpGroupStatusBodyDto, authorization, options).then((request) => request(axios, basePath));
535
+ },
536
+ };
537
+ };
538
+
539
+ /**
540
+ * Request parameters for createSsoIdpGroup operation in SSOIdPGroupsApi.
541
+ * @export
542
+ * @interface SSOIdPGroupsApiCreateSsoIdpGroupRequest
543
+ */
544
+ export interface SSOIdPGroupsApiCreateSsoIdpGroupRequest {
545
+ /**
546
+ *
547
+ * @type {CreateSsoIdpGroupRequestDto}
548
+ * @memberof SSOIdPGroupsApiCreateSsoIdpGroup
549
+ */
550
+ readonly createSsoIdpGroupRequestDto: CreateSsoIdpGroupRequestDto
551
+
552
+ /**
553
+ * Bearer Token
554
+ * @type {string}
555
+ * @memberof SSOIdPGroupsApiCreateSsoIdpGroup
556
+ */
557
+ readonly authorization?: string
558
+ }
559
+
560
+ /**
561
+ * Request parameters for deleteSsoIdpGroup operation in SSOIdPGroupsApi.
562
+ * @export
563
+ * @interface SSOIdPGroupsApiDeleteSsoIdpGroupRequest
564
+ */
565
+ export interface SSOIdPGroupsApiDeleteSsoIdpGroupRequest {
566
+ /**
567
+ * IdP group code.
568
+ * @type {string}
569
+ * @memberof SSOIdPGroupsApiDeleteSsoIdpGroup
570
+ */
571
+ readonly code: string
572
+
573
+ /**
574
+ * Bearer Token
575
+ * @type {string}
576
+ * @memberof SSOIdPGroupsApiDeleteSsoIdpGroup
577
+ */
578
+ readonly authorization?: string
579
+ }
580
+
581
+ /**
582
+ * Request parameters for getSsoIdpGroup operation in SSOIdPGroupsApi.
583
+ * @export
584
+ * @interface SSOIdPGroupsApiGetSsoIdpGroupRequest
585
+ */
586
+ export interface SSOIdPGroupsApiGetSsoIdpGroupRequest {
587
+ /**
588
+ * IdP group code.
589
+ * @type {string}
590
+ * @memberof SSOIdPGroupsApiGetSsoIdpGroup
591
+ */
592
+ readonly code: string
593
+
594
+ /**
595
+ * Bearer Token
596
+ * @type {string}
597
+ * @memberof SSOIdPGroupsApiGetSsoIdpGroup
598
+ */
599
+ readonly authorization?: string
600
+ }
601
+
602
+ /**
603
+ * Request parameters for listSsoIdpGroups operation in SSOIdPGroupsApi.
604
+ * @export
605
+ * @interface SSOIdPGroupsApiListSsoIdpGroupsRequest
606
+ */
607
+ export interface SSOIdPGroupsApiListSsoIdpGroupsRequest {
608
+ /**
609
+ * Bearer Token
610
+ * @type {string}
611
+ * @memberof SSOIdPGroupsApiListSsoIdpGroups
612
+ */
613
+ readonly authorization?: string
614
+
615
+ /**
616
+ * Number of items per page.
617
+ * @type {number}
618
+ * @memberof SSOIdPGroupsApiListSsoIdpGroups
619
+ */
620
+ readonly pageSize?: number
621
+
622
+ /**
623
+ * Opaque token for the next page (returned in a previous response).
624
+ * @type {string}
625
+ * @memberof SSOIdPGroupsApiListSsoIdpGroups
626
+ */
627
+ readonly pageToken?: string
628
+
629
+ /**
630
+ * Filter IdP groups by one or more fields. Allowed: id, code, externalId, isActive, userGroup.code, createdAt, updatedAt.
631
+ * @type {string}
632
+ * @memberof SSOIdPGroupsApiListSsoIdpGroups
633
+ */
634
+ readonly filter?: string
635
+
636
+ /**
637
+ * Free-text search over searchable columns.
638
+ * @type {string}
639
+ * @memberof SSOIdPGroupsApiListSsoIdpGroups
640
+ */
641
+ readonly search?: string
642
+
643
+ /**
644
+ * Sort the response. Allowed columns: id, code, externalId, isActive, createdAt, updatedAt.
645
+ * @type {string}
646
+ * @memberof SSOIdPGroupsApiListSsoIdpGroups
647
+ */
648
+ readonly order?: string
649
+
650
+ /**
651
+ * 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.
652
+ * @type {string}
653
+ * @memberof SSOIdPGroupsApiListSsoIdpGroups
654
+ */
655
+ readonly expand?: string
656
+
657
+ /**
658
+ * 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.
659
+ * @type {string}
660
+ * @memberof SSOIdPGroupsApiListSsoIdpGroups
661
+ */
662
+ readonly filters?: string
663
+ }
664
+
665
+ /**
666
+ * Request parameters for updateSsoIdpGroup operation in SSOIdPGroupsApi.
667
+ * @export
668
+ * @interface SSOIdPGroupsApiUpdateSsoIdpGroupRequest
669
+ */
670
+ export interface SSOIdPGroupsApiUpdateSsoIdpGroupRequest {
671
+ /**
672
+ * IdP group code.
673
+ * @type {string}
674
+ * @memberof SSOIdPGroupsApiUpdateSsoIdpGroup
675
+ */
676
+ readonly code: string
677
+
678
+ /**
679
+ *
680
+ * @type {UpdateSsoIdpGroupBodyDto}
681
+ * @memberof SSOIdPGroupsApiUpdateSsoIdpGroup
682
+ */
683
+ readonly updateSsoIdpGroupBodyDto: UpdateSsoIdpGroupBodyDto
684
+
685
+ /**
686
+ * Bearer Token
687
+ * @type {string}
688
+ * @memberof SSOIdPGroupsApiUpdateSsoIdpGroup
689
+ */
690
+ readonly authorization?: string
691
+ }
692
+
693
+ /**
694
+ * Request parameters for updateSsoIdpGroupStatus operation in SSOIdPGroupsApi.
695
+ * @export
696
+ * @interface SSOIdPGroupsApiUpdateSsoIdpGroupStatusRequest
697
+ */
698
+ export interface SSOIdPGroupsApiUpdateSsoIdpGroupStatusRequest {
699
+ /**
700
+ * IdP group code.
701
+ * @type {string}
702
+ * @memberof SSOIdPGroupsApiUpdateSsoIdpGroupStatus
703
+ */
704
+ readonly code: string
705
+
706
+ /**
707
+ *
708
+ * @type {UpdateSsoIdpGroupStatusBodyDto}
709
+ * @memberof SSOIdPGroupsApiUpdateSsoIdpGroupStatus
710
+ */
711
+ readonly updateSsoIdpGroupStatusBodyDto: UpdateSsoIdpGroupStatusBodyDto
712
+
713
+ /**
714
+ * Bearer Token
715
+ * @type {string}
716
+ * @memberof SSOIdPGroupsApiUpdateSsoIdpGroupStatus
717
+ */
718
+ readonly authorization?: string
719
+ }
720
+
721
+ /**
722
+ * SSOIdPGroupsApi - object-oriented interface
723
+ * @export
724
+ * @class SSOIdPGroupsApi
725
+ * @extends {BaseAPI}
726
+ */
727
+ export class SSOIdPGroupsApi extends BaseAPI {
728
+ /**
729
+ * 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\"
730
+ * @summary Register an IdP group and its EIS mappings
731
+ * @param {SSOIdPGroupsApiCreateSsoIdpGroupRequest} requestParameters Request parameters.
732
+ * @param {*} [options] Override http request option.
733
+ * @throws {RequiredError}
734
+ * @memberof SSOIdPGroupsApi
735
+ */
736
+ public createSsoIdpGroup(requestParameters: SSOIdPGroupsApiCreateSsoIdpGroupRequest, options?: AxiosRequestConfig) {
737
+ return SSOIdPGroupsApiFp(this.configuration).createSsoIdpGroup(requestParameters.createSsoIdpGroupRequestDto, requestParameters.authorization, options).then((request) => request(this.axios, this.basePath));
738
+ }
739
+
740
+ /**
741
+ * undefined **Required Permissions** \"tenant-management.settings.delete\"
742
+ * @summary Delete an IdP group and all of its mappings
743
+ * @param {SSOIdPGroupsApiDeleteSsoIdpGroupRequest} requestParameters Request parameters.
744
+ * @param {*} [options] Override http request option.
745
+ * @throws {RequiredError}
746
+ * @memberof SSOIdPGroupsApi
747
+ */
748
+ public deleteSsoIdpGroup(requestParameters: SSOIdPGroupsApiDeleteSsoIdpGroupRequest, options?: AxiosRequestConfig) {
749
+ return SSOIdPGroupsApiFp(this.configuration).deleteSsoIdpGroup(requestParameters.code, requestParameters.authorization, options).then((request) => request(this.axios, this.basePath));
750
+ }
751
+
752
+ /**
753
+ * undefined **Required Permissions** \"tenant-management.settings.view\"
754
+ * @summary Get an IdP group by code
755
+ * @param {SSOIdPGroupsApiGetSsoIdpGroupRequest} requestParameters Request parameters.
756
+ * @param {*} [options] Override http request option.
757
+ * @throws {RequiredError}
758
+ * @memberof SSOIdPGroupsApi
759
+ */
760
+ public getSsoIdpGroup(requestParameters: SSOIdPGroupsApiGetSsoIdpGroupRequest, options?: AxiosRequestConfig) {
761
+ return SSOIdPGroupsApiFp(this.configuration).getSsoIdpGroup(requestParameters.code, requestParameters.authorization, options).then((request) => request(this.axios, this.basePath));
762
+ }
763
+
764
+ /**
765
+ * The `name` field is deprecated in favor of `externalId`. **Required Permissions** \"tenant-management.settings.view\"
766
+ * @summary List registered IdP groups
767
+ * @param {SSOIdPGroupsApiListSsoIdpGroupsRequest} requestParameters Request parameters.
768
+ * @param {*} [options] Override http request option.
769
+ * @throws {RequiredError}
770
+ * @memberof SSOIdPGroupsApi
771
+ */
772
+ public listSsoIdpGroups(requestParameters: SSOIdPGroupsApiListSsoIdpGroupsRequest = {}, options?: AxiosRequestConfig) {
773
+ return SSOIdPGroupsApiFp(this.configuration).listSsoIdpGroups(requestParameters.authorization, requestParameters.pageSize, requestParameters.pageToken, requestParameters.filter, requestParameters.search, requestParameters.order, requestParameters.expand, requestParameters.filters, options).then((request) => request(this.axios, this.basePath));
774
+ }
775
+
776
+ /**
777
+ * externalId is immutable. eisUserGroupCodes is set-replace when present. **Required Permissions** \"tenant-management.settings.update\"
778
+ * @summary Update the EIS mappings of an IdP group
779
+ * @param {SSOIdPGroupsApiUpdateSsoIdpGroupRequest} requestParameters Request parameters.
780
+ * @param {*} [options] Override http request option.
781
+ * @throws {RequiredError}
782
+ * @memberof SSOIdPGroupsApi
783
+ */
784
+ public updateSsoIdpGroup(requestParameters: SSOIdPGroupsApiUpdateSsoIdpGroupRequest, options?: AxiosRequestConfig) {
785
+ return SSOIdPGroupsApiFp(this.configuration).updateSsoIdpGroup(requestParameters.code, requestParameters.updateSsoIdpGroupBodyDto, requestParameters.authorization, options).then((request) => request(this.axios, this.basePath));
786
+ }
787
+
788
+ /**
789
+ * 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\"
790
+ * @summary Activate or deactivate an IdP group
791
+ * @param {SSOIdPGroupsApiUpdateSsoIdpGroupStatusRequest} requestParameters Request parameters.
792
+ * @param {*} [options] Override http request option.
793
+ * @throws {RequiredError}
794
+ * @memberof SSOIdPGroupsApi
795
+ */
796
+ public updateSsoIdpGroupStatus(requestParameters: SSOIdPGroupsApiUpdateSsoIdpGroupStatusRequest, options?: AxiosRequestConfig) {
797
+ return SSOIdPGroupsApiFp(this.configuration).updateSsoIdpGroupStatus(requestParameters.code, requestParameters.updateSsoIdpGroupStatusBodyDto, requestParameters.authorization, options).then((request) => request(this.axios, this.basePath));
798
+ }
799
+ }