@emilgroup/tenant-sdk-node 1.39.1-beta.4 → 1.39.1-beta.41

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