sailpoint-api-client 1.0.1

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 (123) hide show
  1. package/beta/.openapi-generator/FILES +11 -0
  2. package/beta/.openapi-generator/VERSION +1 -0
  3. package/beta/.openapi-generator-ignore +23 -0
  4. package/beta/README.md +45 -0
  5. package/beta/api.ts +63833 -0
  6. package/beta/base.ts +71 -0
  7. package/beta/common.ts +141 -0
  8. package/beta/configuration.ts +101 -0
  9. package/beta/git_push.sh +57 -0
  10. package/beta/index.ts +17 -0
  11. package/beta/package.json +35 -0
  12. package/beta/tsconfig.json +21 -0
  13. package/cc/.openapi-generator/FILES +11 -0
  14. package/cc/.openapi-generator/VERSION +1 -0
  15. package/cc/.openapi-generator-ignore +23 -0
  16. package/cc/README.md +45 -0
  17. package/cc/api.ts +2028 -0
  18. package/cc/base.ts +71 -0
  19. package/cc/common.ts +141 -0
  20. package/cc/configuration.ts +101 -0
  21. package/cc/git_push.sh +57 -0
  22. package/cc/index.ts +17 -0
  23. package/cc/package.json +35 -0
  24. package/cc/tsconfig.json +21 -0
  25. package/configuration.ts +217 -0
  26. package/dist/beta/api.d.ts +44076 -0
  27. package/dist/beta/api.js +42294 -0
  28. package/dist/beta/api.js.map +1 -0
  29. package/dist/beta/base.d.ts +55 -0
  30. package/dist/beta/base.js +83 -0
  31. package/dist/beta/base.js.map +1 -0
  32. package/dist/beta/common.d.ts +65 -0
  33. package/dist/beta/common.js +247 -0
  34. package/dist/beta/common.js.map +1 -0
  35. package/dist/beta/configuration.d.ts +83 -0
  36. package/dist/beta/configuration.js +45 -0
  37. package/dist/beta/configuration.js.map +1 -0
  38. package/dist/beta/index.d.ts +12 -0
  39. package/dist/beta/index.js +31 -0
  40. package/dist/beta/index.js.map +1 -0
  41. package/dist/cc/api.d.ts +1163 -0
  42. package/dist/cc/api.js +2047 -0
  43. package/dist/cc/api.js.map +1 -0
  44. package/dist/cc/base.d.ts +55 -0
  45. package/dist/cc/base.js +83 -0
  46. package/dist/cc/base.js.map +1 -0
  47. package/dist/cc/common.d.ts +65 -0
  48. package/dist/cc/common.js +247 -0
  49. package/dist/cc/common.js.map +1 -0
  50. package/dist/cc/configuration.d.ts +83 -0
  51. package/dist/cc/configuration.js +45 -0
  52. package/dist/cc/configuration.js.map +1 -0
  53. package/dist/cc/index.d.ts +12 -0
  54. package/dist/cc/index.js +31 -0
  55. package/dist/cc/index.js.map +1 -0
  56. package/dist/configuration.d.ts +147 -0
  57. package/dist/configuration.js +126 -0
  58. package/dist/configuration.js.map +1 -0
  59. package/dist/index.d.ts +22 -0
  60. package/dist/index.js +47 -0
  61. package/dist/index.js.map +1 -0
  62. package/dist/paginator.d.ts +41 -0
  63. package/dist/paginator.js +126 -0
  64. package/dist/paginator.js.map +1 -0
  65. package/dist/v2/api.d.ts +1359 -0
  66. package/dist/v2/api.js +1239 -0
  67. package/dist/v2/api.js.map +1 -0
  68. package/dist/v2/base.d.ts +55 -0
  69. package/dist/v2/base.js +83 -0
  70. package/dist/v2/base.js.map +1 -0
  71. package/dist/v2/common.d.ts +65 -0
  72. package/dist/v2/common.js +247 -0
  73. package/dist/v2/common.js.map +1 -0
  74. package/dist/v2/configuration.d.ts +83 -0
  75. package/dist/v2/configuration.js +45 -0
  76. package/dist/v2/configuration.js.map +1 -0
  77. package/dist/v2/index.d.ts +12 -0
  78. package/dist/v2/index.js +31 -0
  79. package/dist/v2/index.js.map +1 -0
  80. package/dist/v3/api.d.ts +23657 -0
  81. package/dist/v3/api.js +18302 -0
  82. package/dist/v3/api.js.map +1 -0
  83. package/dist/v3/base.d.ts +55 -0
  84. package/dist/v3/base.js +83 -0
  85. package/dist/v3/base.js.map +1 -0
  86. package/dist/v3/common.d.ts +65 -0
  87. package/dist/v3/common.js +247 -0
  88. package/dist/v3/common.js.map +1 -0
  89. package/dist/v3/configuration.d.ts +83 -0
  90. package/dist/v3/configuration.js +45 -0
  91. package/dist/v3/configuration.js.map +1 -0
  92. package/dist/v3/index.d.ts +12 -0
  93. package/dist/v3/index.js +31 -0
  94. package/dist/v3/index.js.map +1 -0
  95. package/index.ts +33 -0
  96. package/package.json +39 -0
  97. package/paginator.ts +99 -0
  98. package/readme.md +53 -0
  99. package/tsconfig.json +22 -0
  100. package/v2/.openapi-generator/FILES +11 -0
  101. package/v2/.openapi-generator/VERSION +1 -0
  102. package/v2/.openapi-generator-ignore +23 -0
  103. package/v2/README.md +45 -0
  104. package/v2/api.ts +1900 -0
  105. package/v2/base.ts +71 -0
  106. package/v2/common.ts +141 -0
  107. package/v2/configuration.ts +101 -0
  108. package/v2/git_push.sh +57 -0
  109. package/v2/index.ts +17 -0
  110. package/v2/package.json +35 -0
  111. package/v2/tsconfig.json +21 -0
  112. package/v3/.openapi-generator/FILES +11 -0
  113. package/v3/.openapi-generator/VERSION +1 -0
  114. package/v3/.openapi-generator-ignore +23 -0
  115. package/v3/README.md +45 -0
  116. package/v3/api.ts +32081 -0
  117. package/v3/base.ts +71 -0
  118. package/v3/common.ts +141 -0
  119. package/v3/configuration.ts +101 -0
  120. package/v3/git_push.sh +57 -0
  121. package/v3/index.ts +17 -0
  122. package/v3/package.json +35 -0
  123. package/v3/tsconfig.json +21 -0
package/v2/api.ts ADDED
@@ -0,0 +1,1900 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * SailPoint SaaS API
5
+ * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
6
+ *
7
+ * The version of the OpenAPI document: 2.0.0
8
+ *
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 { Configuration } from '../configuration';
17
+ import globalAxios, { AxiosPromise, AxiosInstance, AxiosRequestConfig } from 'axios';
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
+
24
+ /**
25
+ *
26
+ * @export
27
+ * @interface BulkDeleteWorkGroups200ResponseV2
28
+ */
29
+ export interface BulkDeleteWorkGroups200ResponseV2 {
30
+ /**
31
+ *
32
+ * @type {Array<string>}
33
+ * @memberof BulkDeleteWorkGroups200ResponseV2
34
+ */
35
+ 'deleted'?: Array<string>;
36
+ /**
37
+ *
38
+ * @type {Array<string>}
39
+ * @memberof BulkDeleteWorkGroups200ResponseV2
40
+ */
41
+ 'inUse'?: Array<string>;
42
+ /**
43
+ *
44
+ * @type {Array<string>}
45
+ * @memberof BulkDeleteWorkGroups200ResponseV2
46
+ */
47
+ 'notFound'?: Array<string>;
48
+ }
49
+ /**
50
+ *
51
+ * @export
52
+ * @interface BulkDeleteWorkGroupsRequestV2
53
+ */
54
+ export interface BulkDeleteWorkGroupsRequestV2 {
55
+ /**
56
+ *
57
+ * @type {Array<string>}
58
+ * @memberof BulkDeleteWorkGroupsRequestV2
59
+ */
60
+ 'ids'?: Array<string>;
61
+ }
62
+ /**
63
+ *
64
+ * @export
65
+ * @interface CreateWorkgroupRequestOwnerV2
66
+ */
67
+ export interface CreateWorkgroupRequestOwnerV2 {
68
+ /**
69
+ *
70
+ * @type {string}
71
+ * @memberof CreateWorkgroupRequestOwnerV2
72
+ */
73
+ 'id'?: string;
74
+ }
75
+ /**
76
+ *
77
+ * @export
78
+ * @interface CreateWorkgroupRequestV2
79
+ */
80
+ export interface CreateWorkgroupRequestV2 {
81
+ /**
82
+ *
83
+ * @type {string}
84
+ * @memberof CreateWorkgroupRequestV2
85
+ */
86
+ 'name'?: string;
87
+ /**
88
+ *
89
+ * @type {string}
90
+ * @memberof CreateWorkgroupRequestV2
91
+ */
92
+ 'description'?: string;
93
+ /**
94
+ *
95
+ * @type {CreateWorkgroupRequestOwnerV2}
96
+ * @memberof CreateWorkgroupRequestV2
97
+ */
98
+ 'owner'?: CreateWorkgroupRequestOwnerV2;
99
+ }
100
+ /**
101
+ *
102
+ * @export
103
+ * @interface GetOrgSettings200ResponseApprovalConfigV2
104
+ */
105
+ export interface GetOrgSettings200ResponseApprovalConfigV2 {
106
+ /**
107
+ *
108
+ * @type {number}
109
+ * @memberof GetOrgSettings200ResponseApprovalConfigV2
110
+ */
111
+ 'daysTillEscalation': number;
112
+ /**
113
+ *
114
+ * @type {number}
115
+ * @memberof GetOrgSettings200ResponseApprovalConfigV2
116
+ */
117
+ 'daysBetweenReminders': number;
118
+ /**
119
+ *
120
+ * @type {number}
121
+ * @memberof GetOrgSettings200ResponseApprovalConfigV2
122
+ */
123
+ 'maxReminders': number;
124
+ /**
125
+ *
126
+ * @type {string}
127
+ * @memberof GetOrgSettings200ResponseApprovalConfigV2
128
+ */
129
+ 'fallbackApprover': string;
130
+ }
131
+ /**
132
+ *
133
+ * @export
134
+ * @interface GetOrgSettings200ResponseSystemNotificationConfigNotificationsInnerThresholdsV2
135
+ */
136
+ export interface GetOrgSettings200ResponseSystemNotificationConfigNotificationsInnerThresholdsV2 {
137
+ /**
138
+ *
139
+ * @type {string}
140
+ * @memberof GetOrgSettings200ResponseSystemNotificationConfigNotificationsInnerThresholdsV2
141
+ */
142
+ 'healthy'?: string;
143
+ /**
144
+ *
145
+ * @type {string}
146
+ * @memberof GetOrgSettings200ResponseSystemNotificationConfigNotificationsInnerThresholdsV2
147
+ */
148
+ 'unhealthy'?: string;
149
+ }
150
+ /**
151
+ *
152
+ * @export
153
+ * @interface GetOrgSettings200ResponseSystemNotificationConfigNotificationsInnerV2
154
+ */
155
+ export interface GetOrgSettings200ResponseSystemNotificationConfigNotificationsInnerV2 {
156
+ /**
157
+ *
158
+ * @type {string}
159
+ * @memberof GetOrgSettings200ResponseSystemNotificationConfigNotificationsInnerV2
160
+ */
161
+ 'type'?: string;
162
+ /**
163
+ *
164
+ * @type {boolean}
165
+ * @memberof GetOrgSettings200ResponseSystemNotificationConfigNotificationsInnerV2
166
+ */
167
+ 'byEmail'?: boolean;
168
+ /**
169
+ *
170
+ * @type {GetOrgSettings200ResponseSystemNotificationConfigNotificationsInnerThresholdsV2}
171
+ * @memberof GetOrgSettings200ResponseSystemNotificationConfigNotificationsInnerV2
172
+ */
173
+ 'thresholds'?: GetOrgSettings200ResponseSystemNotificationConfigNotificationsInnerThresholdsV2;
174
+ }
175
+ /**
176
+ *
177
+ * @export
178
+ * @interface GetOrgSettings200ResponseSystemNotificationConfigV2
179
+ */
180
+ export interface GetOrgSettings200ResponseSystemNotificationConfigV2 {
181
+ /**
182
+ *
183
+ * @type {Array<GetOrgSettings200ResponseSystemNotificationConfigNotificationsInnerV2>}
184
+ * @memberof GetOrgSettings200ResponseSystemNotificationConfigV2
185
+ */
186
+ 'notifications'?: Array<GetOrgSettings200ResponseSystemNotificationConfigNotificationsInnerV2>;
187
+ /**
188
+ *
189
+ * @type {string}
190
+ * @memberof GetOrgSettings200ResponseSystemNotificationConfigV2
191
+ */
192
+ 'recipientType'?: GetOrgSettings200ResponseSystemNotificationConfigV2RecipientTypeEnum;
193
+ }
194
+
195
+ export const GetOrgSettings200ResponseSystemNotificationConfigV2RecipientTypeEnum = {
196
+ AllAdmins: 'allAdmins',
197
+ SpecificIdentities: 'specificIdentities'
198
+ } as const;
199
+
200
+ export type GetOrgSettings200ResponseSystemNotificationConfigV2RecipientTypeEnum = typeof GetOrgSettings200ResponseSystemNotificationConfigV2RecipientTypeEnum[keyof typeof GetOrgSettings200ResponseSystemNotificationConfigV2RecipientTypeEnum];
201
+
202
+ /**
203
+ *
204
+ * @export
205
+ * @interface GetOrgSettings200ResponseV2
206
+ */
207
+ export interface GetOrgSettings200ResponseV2 {
208
+ /**
209
+ *
210
+ * @type {string}
211
+ * @memberof GetOrgSettings200ResponseV2
212
+ */
213
+ 'id'?: string;
214
+ /**
215
+ *
216
+ * @type {string}
217
+ * @memberof GetOrgSettings200ResponseV2
218
+ */
219
+ 'name'?: string;
220
+ /**
221
+ *
222
+ * @type {string}
223
+ * @memberof GetOrgSettings200ResponseV2
224
+ */
225
+ 'description'?: string;
226
+ /**
227
+ *
228
+ * @type {string}
229
+ * @memberof GetOrgSettings200ResponseV2
230
+ */
231
+ 'dateCreated'?: string;
232
+ /**
233
+ *
234
+ * @type {string}
235
+ * @memberof GetOrgSettings200ResponseV2
236
+ */
237
+ 'lastUpdated'?: string;
238
+ /**
239
+ *
240
+ * @type {string}
241
+ * @memberof GetOrgSettings200ResponseV2
242
+ */
243
+ 'scriptName'?: string;
244
+ /**
245
+ *
246
+ * @type {string}
247
+ * @memberof GetOrgSettings200ResponseV2
248
+ */
249
+ 'ssoDomain'?: string;
250
+ /**
251
+ *
252
+ * @type {string}
253
+ * @memberof GetOrgSettings200ResponseV2
254
+ */
255
+ 'status'?: GetOrgSettings200ResponseV2StatusEnum;
256
+ /**
257
+ *
258
+ * @type {number}
259
+ * @memberof GetOrgSettings200ResponseV2
260
+ */
261
+ 'maxRegisteredIdentities'?: number;
262
+ /**
263
+ *
264
+ * @type {number}
265
+ * @memberof GetOrgSettings200ResponseV2
266
+ */
267
+ 'identityCount'?: number;
268
+ /**
269
+ *
270
+ * @type {number}
271
+ * @memberof GetOrgSettings200ResponseV2
272
+ */
273
+ 'kbaReqForAuthn'?: number;
274
+ /**
275
+ *
276
+ * @type {number}
277
+ * @memberof GetOrgSettings200ResponseV2
278
+ */
279
+ 'kbaReqAnswers'?: number;
280
+ /**
281
+ *
282
+ * @type {number}
283
+ * @memberof GetOrgSettings200ResponseV2
284
+ */
285
+ 'lockoutAttemptThreshold'?: number;
286
+ /**
287
+ *
288
+ * @type {number}
289
+ * @memberof GetOrgSettings200ResponseV2
290
+ */
291
+ 'lockoutTimeMinutes'?: number;
292
+ /**
293
+ *
294
+ * @type {boolean}
295
+ * @memberof GetOrgSettings200ResponseV2
296
+ */
297
+ 'usageCertRequired'?: boolean;
298
+ /**
299
+ *
300
+ * @type {boolean}
301
+ * @memberof GetOrgSettings200ResponseV2
302
+ */
303
+ 'adminStrongAuthRequired'?: boolean;
304
+ /**
305
+ *
306
+ * @type {boolean}
307
+ * @memberof GetOrgSettings200ResponseV2
308
+ */
309
+ 'enableExternalPasswordChange'?: boolean;
310
+ /**
311
+ *
312
+ * @type {boolean}
313
+ * @memberof GetOrgSettings200ResponseV2
314
+ */
315
+ 'enablePasswordReplay'?: boolean;
316
+ /**
317
+ *
318
+ * @type {boolean}
319
+ * @memberof GetOrgSettings200ResponseV2
320
+ */
321
+ 'enableAutomaticPasswordReplay'?: boolean;
322
+ /**
323
+ *
324
+ * @type {Array<string>}
325
+ * @memberof GetOrgSettings200ResponseV2
326
+ */
327
+ 'netmasks'?: Array<string>;
328
+ /**
329
+ *
330
+ * @type {Array<string>}
331
+ * @memberof GetOrgSettings200ResponseV2
332
+ */
333
+ 'countryCodes'?: Array<string>;
334
+ /**
335
+ *
336
+ * @type {boolean}
337
+ * @memberof GetOrgSettings200ResponseV2
338
+ */
339
+ 'whiteList'?: boolean;
340
+ /**
341
+ *
342
+ * @type {boolean}
343
+ * @memberof GetOrgSettings200ResponseV2
344
+ */
345
+ 'emailTestMode'?: boolean;
346
+ /**
347
+ *
348
+ * @type {string}
349
+ * @memberof GetOrgSettings200ResponseV2
350
+ */
351
+ 'emailTestAddress'?: string;
352
+ /**
353
+ *
354
+ * @type {string}
355
+ * @memberof GetOrgSettings200ResponseV2
356
+ */
357
+ 'usernameEmptyText'?: string;
358
+ /**
359
+ *
360
+ * @type {string}
361
+ * @memberof GetOrgSettings200ResponseV2
362
+ */
363
+ 'usernameLabel'?: string;
364
+ /**
365
+ *
366
+ * @type {boolean}
367
+ * @memberof GetOrgSettings200ResponseV2
368
+ */
369
+ 'enableAutomationGeneration'?: boolean;
370
+ /**
371
+ *
372
+ * @type {string}
373
+ * @memberof GetOrgSettings200ResponseV2
374
+ */
375
+ 'passwordReplayState'?: GetOrgSettings200ResponseV2PasswordReplayStateEnum;
376
+ /**
377
+ *
378
+ * @type {GetOrgSettings200ResponseSystemNotificationConfigV2}
379
+ * @memberof GetOrgSettings200ResponseV2
380
+ */
381
+ 'systemNotificationConfig'?: GetOrgSettings200ResponseSystemNotificationConfigV2;
382
+ /**
383
+ *
384
+ * @type {Array<string>}
385
+ * @memberof GetOrgSettings200ResponseV2
386
+ */
387
+ 'systemNotificationEmails'?: Array<string>;
388
+ /**
389
+ *
390
+ * @type {string}
391
+ * @memberof GetOrgSettings200ResponseV2
392
+ */
393
+ 'loginUrl'?: string;
394
+ /**
395
+ *
396
+ * @type {Array<string>}
397
+ * @memberof GetOrgSettings200ResponseV2
398
+ */
399
+ 'redirectPatterns'?: Array<string>;
400
+ /**
401
+ *
402
+ * @type {string}
403
+ * @memberof GetOrgSettings200ResponseV2
404
+ */
405
+ 'styleHash'?: string;
406
+ /**
407
+ *
408
+ * @type {GetOrgSettings200ResponseApprovalConfigV2}
409
+ * @memberof GetOrgSettings200ResponseV2
410
+ */
411
+ 'approvalConfig'?: GetOrgSettings200ResponseApprovalConfigV2;
412
+ /**
413
+ *
414
+ * @type {string}
415
+ * @memberof GetOrgSettings200ResponseV2
416
+ */
417
+ 'ssoPartnerSource'?: string;
418
+ }
419
+
420
+ export const GetOrgSettings200ResponseV2StatusEnum = {
421
+ Inactive: 'inactive',
422
+ Active: 'active',
423
+ Demo: 'demo',
424
+ Test: 'test'
425
+ } as const;
426
+
427
+ export type GetOrgSettings200ResponseV2StatusEnum = typeof GetOrgSettings200ResponseV2StatusEnum[keyof typeof GetOrgSettings200ResponseV2StatusEnum];
428
+ export const GetOrgSettings200ResponseV2PasswordReplayStateEnum = {
429
+ Enabled: 'enabled',
430
+ Passive: 'passive',
431
+ Disabled: 'disabled'
432
+ } as const;
433
+
434
+ export type GetOrgSettings200ResponseV2PasswordReplayStateEnum = typeof GetOrgSettings200ResponseV2PasswordReplayStateEnum[keyof typeof GetOrgSettings200ResponseV2PasswordReplayStateEnum];
435
+
436
+ /**
437
+ *
438
+ * @export
439
+ * @interface ListWorkgroupConnections200ResponseInnerV2
440
+ */
441
+ export interface ListWorkgroupConnections200ResponseInnerV2 {
442
+ /**
443
+ *
444
+ * @type {string}
445
+ * @memberof ListWorkgroupConnections200ResponseInnerV2
446
+ */
447
+ 'connectionType'?: string;
448
+ /**
449
+ *
450
+ * @type {string}
451
+ * @memberof ListWorkgroupConnections200ResponseInnerV2
452
+ */
453
+ 'description'?: string;
454
+ /**
455
+ *
456
+ * @type {string}
457
+ * @memberof ListWorkgroupConnections200ResponseInnerV2
458
+ */
459
+ 'name'?: string;
460
+ /**
461
+ *
462
+ * @type {string}
463
+ * @memberof ListWorkgroupConnections200ResponseInnerV2
464
+ */
465
+ 'objectId'?: string;
466
+ /**
467
+ *
468
+ * @type {string}
469
+ * @memberof ListWorkgroupConnections200ResponseInnerV2
470
+ */
471
+ 'objectType'?: string;
472
+ /**
473
+ *
474
+ * @type {string}
475
+ * @memberof ListWorkgroupConnections200ResponseInnerV2
476
+ */
477
+ 'workgroupId'?: string;
478
+ }
479
+ /**
480
+ *
481
+ * @export
482
+ * @interface ListWorkgroupMembers200ResponseInnerV2
483
+ */
484
+ export interface ListWorkgroupMembers200ResponseInnerV2 {
485
+ /**
486
+ *
487
+ * @type {string}
488
+ * @memberof ListWorkgroupMembers200ResponseInnerV2
489
+ */
490
+ 'alias'?: string;
491
+ /**
492
+ *
493
+ * @type {string}
494
+ * @memberof ListWorkgroupMembers200ResponseInnerV2
495
+ */
496
+ 'email'?: string;
497
+ /**
498
+ *
499
+ * @type {string}
500
+ * @memberof ListWorkgroupMembers200ResponseInnerV2
501
+ */
502
+ 'externalId'?: string;
503
+ /**
504
+ *
505
+ * @type {number}
506
+ * @memberof ListWorkgroupMembers200ResponseInnerV2
507
+ */
508
+ 'id'?: number;
509
+ /**
510
+ *
511
+ * @type {string}
512
+ * @memberof ListWorkgroupMembers200ResponseInnerV2
513
+ */
514
+ 'name'?: string;
515
+ }
516
+ /**
517
+ *
518
+ * @export
519
+ * @interface ListWorkgroups200ResponseInnerOwnerV2
520
+ */
521
+ export interface ListWorkgroups200ResponseInnerOwnerV2 {
522
+ /**
523
+ *
524
+ * @type {string}
525
+ * @memberof ListWorkgroups200ResponseInnerOwnerV2
526
+ */
527
+ 'displayName'?: string;
528
+ /**
529
+ *
530
+ * @type {string}
531
+ * @memberof ListWorkgroups200ResponseInnerOwnerV2
532
+ */
533
+ 'emailAddress'?: string;
534
+ /**
535
+ *
536
+ * @type {string}
537
+ * @memberof ListWorkgroups200ResponseInnerOwnerV2
538
+ */
539
+ 'id'?: string;
540
+ /**
541
+ *
542
+ * @type {string}
543
+ * @memberof ListWorkgroups200ResponseInnerOwnerV2
544
+ */
545
+ 'name'?: string;
546
+ }
547
+ /**
548
+ *
549
+ * @export
550
+ * @interface ListWorkgroups200ResponseInnerV2
551
+ */
552
+ export interface ListWorkgroups200ResponseInnerV2 {
553
+ /**
554
+ *
555
+ * @type {number}
556
+ * @memberof ListWorkgroups200ResponseInnerV2
557
+ */
558
+ 'connectionCount'?: number;
559
+ /**
560
+ *
561
+ * @type {number}
562
+ * @memberof ListWorkgroups200ResponseInnerV2
563
+ */
564
+ 'created'?: number;
565
+ /**
566
+ *
567
+ * @type {string}
568
+ * @memberof ListWorkgroups200ResponseInnerV2
569
+ */
570
+ 'description'?: string;
571
+ /**
572
+ *
573
+ * @type {string}
574
+ * @memberof ListWorkgroups200ResponseInnerV2
575
+ */
576
+ 'id'?: string;
577
+ /**
578
+ *
579
+ * @type {number}
580
+ * @memberof ListWorkgroups200ResponseInnerV2
581
+ */
582
+ 'memberCount'?: number;
583
+ /**
584
+ *
585
+ * @type {number}
586
+ * @memberof ListWorkgroups200ResponseInnerV2
587
+ */
588
+ 'modified'?: number;
589
+ /**
590
+ *
591
+ * @type {string}
592
+ * @memberof ListWorkgroups200ResponseInnerV2
593
+ */
594
+ 'name'?: string;
595
+ /**
596
+ *
597
+ * @type {ListWorkgroups200ResponseInnerOwnerV2}
598
+ * @memberof ListWorkgroups200ResponseInnerV2
599
+ */
600
+ 'owner'?: ListWorkgroups200ResponseInnerOwnerV2;
601
+ }
602
+ /**
603
+ *
604
+ * @export
605
+ * @interface ModifyWorkgroupMembersRequestV2
606
+ */
607
+ export interface ModifyWorkgroupMembersRequestV2 {
608
+ /**
609
+ *
610
+ * @type {Array<string>}
611
+ * @memberof ModifyWorkgroupMembersRequestV2
612
+ */
613
+ 'add'?: Array<string>;
614
+ /**
615
+ *
616
+ * @type {Array<string>}
617
+ * @memberof ModifyWorkgroupMembersRequestV2
618
+ */
619
+ 'remove'?: Array<string>;
620
+ }
621
+ /**
622
+ *
623
+ * @export
624
+ * @interface UpdateOrgSettingsRequestV2
625
+ */
626
+ export interface UpdateOrgSettingsRequestV2 {
627
+ /**
628
+ *
629
+ * @type {Array<string>}
630
+ * @memberof UpdateOrgSettingsRequestV2
631
+ */
632
+ 'countryCodes'?: Array<string>;
633
+ /**
634
+ *
635
+ * @type {boolean}
636
+ * @memberof UpdateOrgSettingsRequestV2
637
+ */
638
+ 'enableExternalPasswordChange'?: boolean;
639
+ /**
640
+ *
641
+ * @type {boolean}
642
+ * @memberof UpdateOrgSettingsRequestV2
643
+ */
644
+ 'enableAutomaticPasswordReplay'?: boolean;
645
+ /**
646
+ *
647
+ * @type {boolean}
648
+ * @memberof UpdateOrgSettingsRequestV2
649
+ */
650
+ 'enableAutomationGeneration'?: boolean;
651
+ /**
652
+ *
653
+ * @type {number}
654
+ * @memberof UpdateOrgSettingsRequestV2
655
+ */
656
+ 'kbaReqAnswers'?: number;
657
+ /**
658
+ *
659
+ * @type {number}
660
+ * @memberof UpdateOrgSettingsRequestV2
661
+ */
662
+ 'kbaReqForAuthn'?: number;
663
+ /**
664
+ *
665
+ * @type {number}
666
+ * @memberof UpdateOrgSettingsRequestV2
667
+ */
668
+ 'lockoutAttemptThreshold'?: number;
669
+ /**
670
+ *
671
+ * @type {number}
672
+ * @memberof UpdateOrgSettingsRequestV2
673
+ */
674
+ 'lockoutTimeMinutes'?: number;
675
+ /**
676
+ *
677
+ * @type {string}
678
+ * @memberof UpdateOrgSettingsRequestV2
679
+ */
680
+ 'loginUrl'?: string;
681
+ /**
682
+ *
683
+ * @type {Array<string>}
684
+ * @memberof UpdateOrgSettingsRequestV2
685
+ */
686
+ 'netmasks'?: Array<string>;
687
+ /**
688
+ *
689
+ * @type {boolean}
690
+ * @memberof UpdateOrgSettingsRequestV2
691
+ */
692
+ 'notifyAuthenticationSettingChange'?: boolean;
693
+ /**
694
+ *
695
+ * @type {string}
696
+ * @memberof UpdateOrgSettingsRequestV2
697
+ */
698
+ 'passwordReplayState'?: UpdateOrgSettingsRequestV2PasswordReplayStateEnum;
699
+ /**
700
+ *
701
+ * @type {string}
702
+ * @memberof UpdateOrgSettingsRequestV2
703
+ */
704
+ 'preferredIdentityInviteTemplate'?: string;
705
+ /**
706
+ *
707
+ * @type {Array<string>}
708
+ * @memberof UpdateOrgSettingsRequestV2
709
+ */
710
+ 'redirectPatterns'?: Array<string>;
711
+ /**
712
+ *
713
+ * @type {string}
714
+ * @memberof UpdateOrgSettingsRequestV2
715
+ */
716
+ 'ssoPartnerSource'?: string;
717
+ /**
718
+ *
719
+ * @type {Array<string>}
720
+ * @memberof UpdateOrgSettingsRequestV2
721
+ */
722
+ 'systemNotificationEmails'?: Array<string>;
723
+ /**
724
+ *
725
+ * @type {boolean}
726
+ * @memberof UpdateOrgSettingsRequestV2
727
+ */
728
+ 'trackAnalytics'?: boolean;
729
+ /**
730
+ *
731
+ * @type {boolean}
732
+ * @memberof UpdateOrgSettingsRequestV2
733
+ */
734
+ 'usageCertRequired'?: boolean;
735
+ /**
736
+ *
737
+ * @type {string}
738
+ * @memberof UpdateOrgSettingsRequestV2
739
+ */
740
+ 'usageCertText'?: string;
741
+ /**
742
+ *
743
+ * @type {string}
744
+ * @memberof UpdateOrgSettingsRequestV2
745
+ */
746
+ 'usernameEmptyText'?: string;
747
+ /**
748
+ *
749
+ * @type {string}
750
+ * @memberof UpdateOrgSettingsRequestV2
751
+ */
752
+ 'usernameLabel'?: string;
753
+ /**
754
+ *
755
+ * @type {boolean}
756
+ * @memberof UpdateOrgSettingsRequestV2
757
+ */
758
+ 'whiteList'?: boolean;
759
+ /**
760
+ *
761
+ * @type {GetOrgSettings200ResponseApprovalConfigV2}
762
+ * @memberof UpdateOrgSettingsRequestV2
763
+ */
764
+ 'approvalConfig'?: GetOrgSettings200ResponseApprovalConfigV2;
765
+ }
766
+
767
+ export const UpdateOrgSettingsRequestV2PasswordReplayStateEnum = {
768
+ Enabled: 'enabled',
769
+ Passive: 'passive',
770
+ Disabled: 'disabled'
771
+ } as const;
772
+
773
+ export type UpdateOrgSettingsRequestV2PasswordReplayStateEnum = typeof UpdateOrgSettingsRequestV2PasswordReplayStateEnum[keyof typeof UpdateOrgSettingsRequestV2PasswordReplayStateEnum];
774
+
775
+
776
+ /**
777
+ * GovernanceGroupsV2Api - axios parameter creator
778
+ * @export
779
+ */
780
+ export const GovernanceGroupsV2ApiAxiosParamCreator = function (configuration?: Configuration) {
781
+ return {
782
+ /**
783
+ * This API allows you to bulk-delete work groups
784
+ * @summary Bulk delete work groups
785
+ * @param {BulkDeleteWorkGroupsRequestV2} bulkDeleteWorkGroupsRequestV2 Work group ids to delete
786
+ * @param {*} [axiosOptions] Override http request option.
787
+ * @throws {RequiredError}
788
+ */
789
+ bulkDeleteWorkGroups: async (bulkDeleteWorkGroupsRequestV2: BulkDeleteWorkGroupsRequestV2, axiosOptions: AxiosRequestConfig = {}): Promise<RequestArgs> => {
790
+ // verify required parameter 'bulkDeleteWorkGroupsRequestV2' is not null or undefined
791
+ assertParamExists('bulkDeleteWorkGroups', 'bulkDeleteWorkGroupsRequestV2', bulkDeleteWorkGroupsRequestV2)
792
+ const localVarPath = `/workgroups/bulk-delete`;
793
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
794
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
795
+ let baseOptions;
796
+ if (configuration) {
797
+ baseOptions = configuration.baseOptions;
798
+ }
799
+
800
+ const localVarRequestOptions = { method: 'POST', ...baseOptions, ...axiosOptions};
801
+ const localVarHeaderParameter = {} as any;
802
+ const localVarQueryParameter = {} as any;
803
+
804
+ // authentication oauth2 required
805
+ // oauth required
806
+ await setOAuthToObject(localVarHeaderParameter, "oauth2", [], configuration)
807
+
808
+ // authentication oauth2 required
809
+ // oauth required
810
+ await setOAuthToObject(localVarHeaderParameter, "oauth2", [], configuration)
811
+
812
+
813
+
814
+ localVarHeaderParameter['Content-Type'] = 'application/json';
815
+
816
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
817
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
818
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...axiosOptions.headers};
819
+ localVarRequestOptions.data = serializeDataIfNeeded(bulkDeleteWorkGroupsRequestV2, localVarRequestOptions, configuration)
820
+
821
+ return {
822
+ url: toPathString(localVarUrlObj),
823
+ axiosOptions: localVarRequestOptions,
824
+ };
825
+ },
826
+ /**
827
+ * This API allows you to create a work group
828
+ * @summary Create Work Group
829
+ * @param {CreateWorkgroupRequestV2} createWorkgroupRequestV2 Work group to create.
830
+ * @param {*} [axiosOptions] Override http request option.
831
+ * @throws {RequiredError}
832
+ */
833
+ createWorkgroup: async (createWorkgroupRequestV2: CreateWorkgroupRequestV2, axiosOptions: AxiosRequestConfig = {}): Promise<RequestArgs> => {
834
+ // verify required parameter 'createWorkgroupRequestV2' is not null or undefined
835
+ assertParamExists('createWorkgroup', 'createWorkgroupRequestV2', createWorkgroupRequestV2)
836
+ const localVarPath = `/workgroups`;
837
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
838
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
839
+ let baseOptions;
840
+ if (configuration) {
841
+ baseOptions = configuration.baseOptions;
842
+ }
843
+
844
+ const localVarRequestOptions = { method: 'POST', ...baseOptions, ...axiosOptions};
845
+ const localVarHeaderParameter = {} as any;
846
+ const localVarQueryParameter = {} as any;
847
+
848
+ // authentication oauth2 required
849
+ // oauth required
850
+ await setOAuthToObject(localVarHeaderParameter, "oauth2", [], configuration)
851
+
852
+ // authentication oauth2 required
853
+ // oauth required
854
+ await setOAuthToObject(localVarHeaderParameter, "oauth2", [], configuration)
855
+
856
+
857
+
858
+ localVarHeaderParameter['Content-Type'] = 'application/json';
859
+
860
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
861
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
862
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...axiosOptions.headers};
863
+ localVarRequestOptions.data = serializeDataIfNeeded(createWorkgroupRequestV2, localVarRequestOptions, configuration)
864
+
865
+ return {
866
+ url: toPathString(localVarUrlObj),
867
+ axiosOptions: localVarRequestOptions,
868
+ };
869
+ },
870
+ /**
871
+ * This API deletes a single workgroup based on the ID
872
+ * @summary Delete Work Group By Id
873
+ * @param {string} workgroupId The workgroup ID
874
+ * @param {*} [axiosOptions] Override http request option.
875
+ * @throws {RequiredError}
876
+ */
877
+ deleteWorkgroup: async (workgroupId: string, axiosOptions: AxiosRequestConfig = {}): Promise<RequestArgs> => {
878
+ // verify required parameter 'workgroupId' is not null or undefined
879
+ assertParamExists('deleteWorkgroup', 'workgroupId', workgroupId)
880
+ const localVarPath = `/workgroups/{workgroupId}`
881
+ .replace(`{${"workgroupId"}}`, encodeURIComponent(String(workgroupId)));
882
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
883
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
884
+ let baseOptions;
885
+ if (configuration) {
886
+ baseOptions = configuration.baseOptions;
887
+ }
888
+
889
+ const localVarRequestOptions = { method: 'DELETE', ...baseOptions, ...axiosOptions};
890
+ const localVarHeaderParameter = {} as any;
891
+ const localVarQueryParameter = {} as any;
892
+
893
+ // authentication oauth2 required
894
+ // oauth required
895
+ await setOAuthToObject(localVarHeaderParameter, "oauth2", [], configuration)
896
+
897
+ // authentication oauth2 required
898
+ // oauth required
899
+ await setOAuthToObject(localVarHeaderParameter, "oauth2", [], configuration)
900
+
901
+
902
+
903
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
904
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
905
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...axiosOptions.headers};
906
+
907
+ return {
908
+ url: toPathString(localVarUrlObj),
909
+ axiosOptions: localVarRequestOptions,
910
+ };
911
+ },
912
+ /**
913
+ * This API returns the details for a single workgroup based on the ID
914
+ * @summary Get Work Group By Id
915
+ * @param {string} workgroupId The workgroup ID
916
+ * @param {*} [axiosOptions] Override http request option.
917
+ * @throws {RequiredError}
918
+ */
919
+ getWorkgroup: async (workgroupId: string, axiosOptions: AxiosRequestConfig = {}): Promise<RequestArgs> => {
920
+ // verify required parameter 'workgroupId' is not null or undefined
921
+ assertParamExists('getWorkgroup', 'workgroupId', workgroupId)
922
+ const localVarPath = `/workgroups/{workgroupId}`
923
+ .replace(`{${"workgroupId"}}`, encodeURIComponent(String(workgroupId)));
924
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
925
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
926
+ let baseOptions;
927
+ if (configuration) {
928
+ baseOptions = configuration.baseOptions;
929
+ }
930
+
931
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...axiosOptions};
932
+ const localVarHeaderParameter = {} as any;
933
+ const localVarQueryParameter = {} as any;
934
+
935
+ // authentication oauth2 required
936
+ // oauth required
937
+ await setOAuthToObject(localVarHeaderParameter, "oauth2", [], configuration)
938
+
939
+ // authentication oauth2 required
940
+ // oauth required
941
+ await setOAuthToObject(localVarHeaderParameter, "oauth2", [], configuration)
942
+
943
+
944
+
945
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
946
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
947
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...axiosOptions.headers};
948
+
949
+ return {
950
+ url: toPathString(localVarUrlObj),
951
+ axiosOptions: localVarRequestOptions,
952
+ };
953
+ },
954
+ /**
955
+ * This API returns the connections of a work group
956
+ * @summary List Work Group Connections
957
+ * @param {string} workgroupId The workgroup ID
958
+ * @param {*} [axiosOptions] Override http request option.
959
+ * @throws {RequiredError}
960
+ */
961
+ listWorkgroupConnections: async (workgroupId: string, axiosOptions: AxiosRequestConfig = {}): Promise<RequestArgs> => {
962
+ // verify required parameter 'workgroupId' is not null or undefined
963
+ assertParamExists('listWorkgroupConnections', 'workgroupId', workgroupId)
964
+ const localVarPath = `/workgroups/{workgroupId}/connections`
965
+ .replace(`{${"workgroupId"}}`, encodeURIComponent(String(workgroupId)));
966
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
967
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
968
+ let baseOptions;
969
+ if (configuration) {
970
+ baseOptions = configuration.baseOptions;
971
+ }
972
+
973
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...axiosOptions};
974
+ const localVarHeaderParameter = {} as any;
975
+ const localVarQueryParameter = {} as any;
976
+
977
+ // authentication oauth2 required
978
+ // oauth required
979
+ await setOAuthToObject(localVarHeaderParameter, "oauth2", [], configuration)
980
+
981
+ // authentication oauth2 required
982
+ // oauth required
983
+ await setOAuthToObject(localVarHeaderParameter, "oauth2", [], configuration)
984
+
985
+
986
+
987
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
988
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
989
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...axiosOptions.headers};
990
+
991
+ return {
992
+ url: toPathString(localVarUrlObj),
993
+ axiosOptions: localVarRequestOptions,
994
+ };
995
+ },
996
+ /**
997
+ * This API returns the members of a work group
998
+ * @summary List Work Group Members
999
+ * @param {string} workgroupId The workgroup ID
1000
+ * @param {number} [limit] Max number of results to return
1001
+ * @param {number} [offset] Offset into the full result set. Usually specified with *limit* to paginate through the results.
1002
+ * @param {string} [filters] Filter results using the following syntax. [{property:name, value: \&quot;Tyler\&quot;, operation: EQ}]
1003
+ * @param {*} [axiosOptions] Override http request option.
1004
+ * @throws {RequiredError}
1005
+ */
1006
+ listWorkgroupMembers: async (workgroupId: string, limit?: number, offset?: number, filters?: string, axiosOptions: AxiosRequestConfig = {}): Promise<RequestArgs> => {
1007
+ // verify required parameter 'workgroupId' is not null or undefined
1008
+ assertParamExists('listWorkgroupMembers', 'workgroupId', workgroupId)
1009
+ const localVarPath = `/workgroups/{workgroupId}/members`
1010
+ .replace(`{${"workgroupId"}}`, encodeURIComponent(String(workgroupId)));
1011
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
1012
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
1013
+ let baseOptions;
1014
+ if (configuration) {
1015
+ baseOptions = configuration.baseOptions;
1016
+ }
1017
+
1018
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...axiosOptions};
1019
+ const localVarHeaderParameter = {} as any;
1020
+ const localVarQueryParameter = {} as any;
1021
+
1022
+ // authentication oauth2 required
1023
+ // oauth required
1024
+ await setOAuthToObject(localVarHeaderParameter, "oauth2", [], configuration)
1025
+
1026
+ // authentication oauth2 required
1027
+ // oauth required
1028
+ await setOAuthToObject(localVarHeaderParameter, "oauth2", [], configuration)
1029
+
1030
+ if (limit !== undefined) {
1031
+ localVarQueryParameter['limit'] = limit;
1032
+ }
1033
+
1034
+ if (offset !== undefined) {
1035
+ localVarQueryParameter['offset'] = offset;
1036
+ }
1037
+
1038
+ if (filters !== undefined) {
1039
+ localVarQueryParameter['filters'] = filters;
1040
+ }
1041
+
1042
+
1043
+
1044
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
1045
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
1046
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...axiosOptions.headers};
1047
+
1048
+ return {
1049
+ url: toPathString(localVarUrlObj),
1050
+ axiosOptions: localVarRequestOptions,
1051
+ };
1052
+ },
1053
+ /**
1054
+ * This API returns a list of work groups
1055
+ * @summary List Work Groups
1056
+ * @param {number} [limit] Max number of results to return
1057
+ * @param {number} [offset] Offset into the full result set. Usually specified with *limit* to paginate through the results.
1058
+ * @param {string} [filters] Filter results using the following syntax. [{property:name, value: \&quot;Tyler\&quot;, operation: EQ}]
1059
+ * @param {*} [axiosOptions] Override http request option.
1060
+ * @throws {RequiredError}
1061
+ */
1062
+ listWorkgroups: async (limit?: number, offset?: number, filters?: string, axiosOptions: AxiosRequestConfig = {}): Promise<RequestArgs> => {
1063
+ const localVarPath = `/workgroups`;
1064
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
1065
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
1066
+ let baseOptions;
1067
+ if (configuration) {
1068
+ baseOptions = configuration.baseOptions;
1069
+ }
1070
+
1071
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...axiosOptions};
1072
+ const localVarHeaderParameter = {} as any;
1073
+ const localVarQueryParameter = {} as any;
1074
+
1075
+ // authentication oauth2 required
1076
+ // oauth required
1077
+ await setOAuthToObject(localVarHeaderParameter, "oauth2", [], configuration)
1078
+
1079
+ // authentication oauth2 required
1080
+ // oauth required
1081
+ await setOAuthToObject(localVarHeaderParameter, "oauth2", [], configuration)
1082
+
1083
+ if (limit !== undefined) {
1084
+ localVarQueryParameter['limit'] = limit;
1085
+ }
1086
+
1087
+ if (offset !== undefined) {
1088
+ localVarQueryParameter['offset'] = offset;
1089
+ }
1090
+
1091
+ if (filters !== undefined) {
1092
+ localVarQueryParameter['filters'] = filters;
1093
+ }
1094
+
1095
+
1096
+
1097
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
1098
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
1099
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...axiosOptions.headers};
1100
+
1101
+ return {
1102
+ url: toPathString(localVarUrlObj),
1103
+ axiosOptions: localVarRequestOptions,
1104
+ };
1105
+ },
1106
+ /**
1107
+ * This API allows you to modify the members of a work group
1108
+ * @summary Modify Work Group Members
1109
+ * @param {string} workgroupId The workgroup ID
1110
+ * @param {ModifyWorkgroupMembersRequestV2} modifyWorkgroupMembersRequestV2 Add/Remove workgroup member ids.
1111
+ * @param {*} [axiosOptions] Override http request option.
1112
+ * @throws {RequiredError}
1113
+ */
1114
+ modifyWorkgroupMembers: async (workgroupId: string, modifyWorkgroupMembersRequestV2: ModifyWorkgroupMembersRequestV2, axiosOptions: AxiosRequestConfig = {}): Promise<RequestArgs> => {
1115
+ // verify required parameter 'workgroupId' is not null or undefined
1116
+ assertParamExists('modifyWorkgroupMembers', 'workgroupId', workgroupId)
1117
+ // verify required parameter 'modifyWorkgroupMembersRequestV2' is not null or undefined
1118
+ assertParamExists('modifyWorkgroupMembers', 'modifyWorkgroupMembersRequestV2', modifyWorkgroupMembersRequestV2)
1119
+ const localVarPath = `/workgroups/{workgroupId}/members`
1120
+ .replace(`{${"workgroupId"}}`, encodeURIComponent(String(workgroupId)));
1121
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
1122
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
1123
+ let baseOptions;
1124
+ if (configuration) {
1125
+ baseOptions = configuration.baseOptions;
1126
+ }
1127
+
1128
+ const localVarRequestOptions = { method: 'POST', ...baseOptions, ...axiosOptions};
1129
+ const localVarHeaderParameter = {} as any;
1130
+ const localVarQueryParameter = {} as any;
1131
+
1132
+ // authentication oauth2 required
1133
+ // oauth required
1134
+ await setOAuthToObject(localVarHeaderParameter, "oauth2", [], configuration)
1135
+
1136
+ // authentication oauth2 required
1137
+ // oauth required
1138
+ await setOAuthToObject(localVarHeaderParameter, "oauth2", [], configuration)
1139
+
1140
+
1141
+
1142
+ localVarHeaderParameter['Content-Type'] = 'application/json';
1143
+
1144
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
1145
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
1146
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...axiosOptions.headers};
1147
+ localVarRequestOptions.data = serializeDataIfNeeded(modifyWorkgroupMembersRequestV2, localVarRequestOptions, configuration)
1148
+
1149
+ return {
1150
+ url: toPathString(localVarUrlObj),
1151
+ axiosOptions: localVarRequestOptions,
1152
+ };
1153
+ },
1154
+ /**
1155
+ * This API updates and returns the details for a single workgroup based on the ID
1156
+ * @summary Update Work Group By Id
1157
+ * @param {string} workgroupId The workgroup ID
1158
+ * @param {CreateWorkgroupRequestV2} createWorkgroupRequestV2 Work group to modify.
1159
+ * @param {*} [axiosOptions] Override http request option.
1160
+ * @throws {RequiredError}
1161
+ */
1162
+ updateWorkgroup: async (workgroupId: string, createWorkgroupRequestV2: CreateWorkgroupRequestV2, axiosOptions: AxiosRequestConfig = {}): Promise<RequestArgs> => {
1163
+ // verify required parameter 'workgroupId' is not null or undefined
1164
+ assertParamExists('updateWorkgroup', 'workgroupId', workgroupId)
1165
+ // verify required parameter 'createWorkgroupRequestV2' is not null or undefined
1166
+ assertParamExists('updateWorkgroup', 'createWorkgroupRequestV2', createWorkgroupRequestV2)
1167
+ const localVarPath = `/workgroups/{workgroupId}`
1168
+ .replace(`{${"workgroupId"}}`, encodeURIComponent(String(workgroupId)));
1169
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
1170
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
1171
+ let baseOptions;
1172
+ if (configuration) {
1173
+ baseOptions = configuration.baseOptions;
1174
+ }
1175
+
1176
+ const localVarRequestOptions = { method: 'PATCH', ...baseOptions, ...axiosOptions};
1177
+ const localVarHeaderParameter = {} as any;
1178
+ const localVarQueryParameter = {} as any;
1179
+
1180
+ // authentication oauth2 required
1181
+ // oauth required
1182
+ await setOAuthToObject(localVarHeaderParameter, "oauth2", [], configuration)
1183
+
1184
+ // authentication oauth2 required
1185
+ // oauth required
1186
+ await setOAuthToObject(localVarHeaderParameter, "oauth2", [], configuration)
1187
+
1188
+
1189
+
1190
+ localVarHeaderParameter['Content-Type'] = 'application/json';
1191
+
1192
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
1193
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
1194
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...axiosOptions.headers};
1195
+ localVarRequestOptions.data = serializeDataIfNeeded(createWorkgroupRequestV2, localVarRequestOptions, configuration)
1196
+
1197
+ return {
1198
+ url: toPathString(localVarUrlObj),
1199
+ axiosOptions: localVarRequestOptions,
1200
+ };
1201
+ },
1202
+ }
1203
+ };
1204
+
1205
+ /**
1206
+ * GovernanceGroupsV2Api - functional programming interface
1207
+ * @export
1208
+ */
1209
+ export const GovernanceGroupsV2ApiFp = function(configuration?: Configuration) {
1210
+ const localVarAxiosParamCreator = GovernanceGroupsV2ApiAxiosParamCreator(configuration)
1211
+ return {
1212
+ /**
1213
+ * This API allows you to bulk-delete work groups
1214
+ * @summary Bulk delete work groups
1215
+ * @param {BulkDeleteWorkGroupsRequestV2} bulkDeleteWorkGroupsRequestV2 Work group ids to delete
1216
+ * @param {*} [axiosOptions] Override http request option.
1217
+ * @throws {RequiredError}
1218
+ */
1219
+ async bulkDeleteWorkGroups(bulkDeleteWorkGroupsRequestV2: BulkDeleteWorkGroupsRequestV2, axiosOptions?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<BulkDeleteWorkGroups200ResponseV2>> {
1220
+ const localVarAxiosArgs = await localVarAxiosParamCreator.bulkDeleteWorkGroups(bulkDeleteWorkGroupsRequestV2, axiosOptions);
1221
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
1222
+ },
1223
+ /**
1224
+ * This API allows you to create a work group
1225
+ * @summary Create Work Group
1226
+ * @param {CreateWorkgroupRequestV2} createWorkgroupRequestV2 Work group to create.
1227
+ * @param {*} [axiosOptions] Override http request option.
1228
+ * @throws {RequiredError}
1229
+ */
1230
+ async createWorkgroup(createWorkgroupRequestV2: CreateWorkgroupRequestV2, axiosOptions?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<ListWorkgroups200ResponseInnerV2>>> {
1231
+ const localVarAxiosArgs = await localVarAxiosParamCreator.createWorkgroup(createWorkgroupRequestV2, axiosOptions);
1232
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
1233
+ },
1234
+ /**
1235
+ * This API deletes a single workgroup based on the ID
1236
+ * @summary Delete Work Group By Id
1237
+ * @param {string} workgroupId The workgroup ID
1238
+ * @param {*} [axiosOptions] Override http request option.
1239
+ * @throws {RequiredError}
1240
+ */
1241
+ async deleteWorkgroup(workgroupId: string, axiosOptions?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
1242
+ const localVarAxiosArgs = await localVarAxiosParamCreator.deleteWorkgroup(workgroupId, axiosOptions);
1243
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
1244
+ },
1245
+ /**
1246
+ * This API returns the details for a single workgroup based on the ID
1247
+ * @summary Get Work Group By Id
1248
+ * @param {string} workgroupId The workgroup ID
1249
+ * @param {*} [axiosOptions] Override http request option.
1250
+ * @throws {RequiredError}
1251
+ */
1252
+ async getWorkgroup(workgroupId: string, axiosOptions?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListWorkgroups200ResponseInnerV2>> {
1253
+ const localVarAxiosArgs = await localVarAxiosParamCreator.getWorkgroup(workgroupId, axiosOptions);
1254
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
1255
+ },
1256
+ /**
1257
+ * This API returns the connections of a work group
1258
+ * @summary List Work Group Connections
1259
+ * @param {string} workgroupId The workgroup ID
1260
+ * @param {*} [axiosOptions] Override http request option.
1261
+ * @throws {RequiredError}
1262
+ */
1263
+ async listWorkgroupConnections(workgroupId: string, axiosOptions?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<ListWorkgroupConnections200ResponseInnerV2>>> {
1264
+ const localVarAxiosArgs = await localVarAxiosParamCreator.listWorkgroupConnections(workgroupId, axiosOptions);
1265
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
1266
+ },
1267
+ /**
1268
+ * This API returns the members of a work group
1269
+ * @summary List Work Group Members
1270
+ * @param {string} workgroupId The workgroup ID
1271
+ * @param {number} [limit] Max number of results to return
1272
+ * @param {number} [offset] Offset into the full result set. Usually specified with *limit* to paginate through the results.
1273
+ * @param {string} [filters] Filter results using the following syntax. [{property:name, value: \&quot;Tyler\&quot;, operation: EQ}]
1274
+ * @param {*} [axiosOptions] Override http request option.
1275
+ * @throws {RequiredError}
1276
+ */
1277
+ async listWorkgroupMembers(workgroupId: string, limit?: number, offset?: number, filters?: string, axiosOptions?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<ListWorkgroupMembers200ResponseInnerV2>>> {
1278
+ const localVarAxiosArgs = await localVarAxiosParamCreator.listWorkgroupMembers(workgroupId, limit, offset, filters, axiosOptions);
1279
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
1280
+ },
1281
+ /**
1282
+ * This API returns a list of work groups
1283
+ * @summary List Work Groups
1284
+ * @param {number} [limit] Max number of results to return
1285
+ * @param {number} [offset] Offset into the full result set. Usually specified with *limit* to paginate through the results.
1286
+ * @param {string} [filters] Filter results using the following syntax. [{property:name, value: \&quot;Tyler\&quot;, operation: EQ}]
1287
+ * @param {*} [axiosOptions] Override http request option.
1288
+ * @throws {RequiredError}
1289
+ */
1290
+ async listWorkgroups(limit?: number, offset?: number, filters?: string, axiosOptions?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<ListWorkgroups200ResponseInnerV2>>> {
1291
+ const localVarAxiosArgs = await localVarAxiosParamCreator.listWorkgroups(limit, offset, filters, axiosOptions);
1292
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
1293
+ },
1294
+ /**
1295
+ * This API allows you to modify the members of a work group
1296
+ * @summary Modify Work Group Members
1297
+ * @param {string} workgroupId The workgroup ID
1298
+ * @param {ModifyWorkgroupMembersRequestV2} modifyWorkgroupMembersRequestV2 Add/Remove workgroup member ids.
1299
+ * @param {*} [axiosOptions] Override http request option.
1300
+ * @throws {RequiredError}
1301
+ */
1302
+ async modifyWorkgroupMembers(workgroupId: string, modifyWorkgroupMembersRequestV2: ModifyWorkgroupMembersRequestV2, axiosOptions?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
1303
+ const localVarAxiosArgs = await localVarAxiosParamCreator.modifyWorkgroupMembers(workgroupId, modifyWorkgroupMembersRequestV2, axiosOptions);
1304
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
1305
+ },
1306
+ /**
1307
+ * This API updates and returns the details for a single workgroup based on the ID
1308
+ * @summary Update Work Group By Id
1309
+ * @param {string} workgroupId The workgroup ID
1310
+ * @param {CreateWorkgroupRequestV2} createWorkgroupRequestV2 Work group to modify.
1311
+ * @param {*} [axiosOptions] Override http request option.
1312
+ * @throws {RequiredError}
1313
+ */
1314
+ async updateWorkgroup(workgroupId: string, createWorkgroupRequestV2: CreateWorkgroupRequestV2, axiosOptions?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListWorkgroups200ResponseInnerV2>> {
1315
+ const localVarAxiosArgs = await localVarAxiosParamCreator.updateWorkgroup(workgroupId, createWorkgroupRequestV2, axiosOptions);
1316
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
1317
+ },
1318
+ }
1319
+ };
1320
+
1321
+ /**
1322
+ * GovernanceGroupsV2Api - factory interface
1323
+ * @export
1324
+ */
1325
+ export const GovernanceGroupsV2ApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
1326
+ const localVarFp = GovernanceGroupsV2ApiFp(configuration)
1327
+ return {
1328
+ /**
1329
+ * This API allows you to bulk-delete work groups
1330
+ * @summary Bulk delete work groups
1331
+ * @param {BulkDeleteWorkGroupsRequestV2} bulkDeleteWorkGroupsRequestV2 Work group ids to delete
1332
+ * @param {*} [axiosOptions] Override http request option.
1333
+ * @throws {RequiredError}
1334
+ */
1335
+ bulkDeleteWorkGroups(bulkDeleteWorkGroupsRequestV2: BulkDeleteWorkGroupsRequestV2, axiosOptions?: any): AxiosPromise<BulkDeleteWorkGroups200ResponseV2> {
1336
+ return localVarFp.bulkDeleteWorkGroups(bulkDeleteWorkGroupsRequestV2, axiosOptions).then((request) => request(axios, basePath));
1337
+ },
1338
+ /**
1339
+ * This API allows you to create a work group
1340
+ * @summary Create Work Group
1341
+ * @param {CreateWorkgroupRequestV2} createWorkgroupRequestV2 Work group to create.
1342
+ * @param {*} [axiosOptions] Override http request option.
1343
+ * @throws {RequiredError}
1344
+ */
1345
+ createWorkgroup(createWorkgroupRequestV2: CreateWorkgroupRequestV2, axiosOptions?: any): AxiosPromise<Array<ListWorkgroups200ResponseInnerV2>> {
1346
+ return localVarFp.createWorkgroup(createWorkgroupRequestV2, axiosOptions).then((request) => request(axios, basePath));
1347
+ },
1348
+ /**
1349
+ * This API deletes a single workgroup based on the ID
1350
+ * @summary Delete Work Group By Id
1351
+ * @param {string} workgroupId The workgroup ID
1352
+ * @param {*} [axiosOptions] Override http request option.
1353
+ * @throws {RequiredError}
1354
+ */
1355
+ deleteWorkgroup(workgroupId: string, axiosOptions?: any): AxiosPromise<void> {
1356
+ return localVarFp.deleteWorkgroup(workgroupId, axiosOptions).then((request) => request(axios, basePath));
1357
+ },
1358
+ /**
1359
+ * This API returns the details for a single workgroup based on the ID
1360
+ * @summary Get Work Group By Id
1361
+ * @param {string} workgroupId The workgroup ID
1362
+ * @param {*} [axiosOptions] Override http request option.
1363
+ * @throws {RequiredError}
1364
+ */
1365
+ getWorkgroup(workgroupId: string, axiosOptions?: any): AxiosPromise<ListWorkgroups200ResponseInnerV2> {
1366
+ return localVarFp.getWorkgroup(workgroupId, axiosOptions).then((request) => request(axios, basePath));
1367
+ },
1368
+ /**
1369
+ * This API returns the connections of a work group
1370
+ * @summary List Work Group Connections
1371
+ * @param {string} workgroupId The workgroup ID
1372
+ * @param {*} [axiosOptions] Override http request option.
1373
+ * @throws {RequiredError}
1374
+ */
1375
+ listWorkgroupConnections(workgroupId: string, axiosOptions?: any): AxiosPromise<Array<ListWorkgroupConnections200ResponseInnerV2>> {
1376
+ return localVarFp.listWorkgroupConnections(workgroupId, axiosOptions).then((request) => request(axios, basePath));
1377
+ },
1378
+ /**
1379
+ * This API returns the members of a work group
1380
+ * @summary List Work Group Members
1381
+ * @param {string} workgroupId The workgroup ID
1382
+ * @param {number} [limit] Max number of results to return
1383
+ * @param {number} [offset] Offset into the full result set. Usually specified with *limit* to paginate through the results.
1384
+ * @param {string} [filters] Filter results using the following syntax. [{property:name, value: \&quot;Tyler\&quot;, operation: EQ}]
1385
+ * @param {*} [axiosOptions] Override http request option.
1386
+ * @throws {RequiredError}
1387
+ */
1388
+ listWorkgroupMembers(workgroupId: string, limit?: number, offset?: number, filters?: string, axiosOptions?: any): AxiosPromise<Array<ListWorkgroupMembers200ResponseInnerV2>> {
1389
+ return localVarFp.listWorkgroupMembers(workgroupId, limit, offset, filters, axiosOptions).then((request) => request(axios, basePath));
1390
+ },
1391
+ /**
1392
+ * This API returns a list of work groups
1393
+ * @summary List Work Groups
1394
+ * @param {number} [limit] Max number of results to return
1395
+ * @param {number} [offset] Offset into the full result set. Usually specified with *limit* to paginate through the results.
1396
+ * @param {string} [filters] Filter results using the following syntax. [{property:name, value: \&quot;Tyler\&quot;, operation: EQ}]
1397
+ * @param {*} [axiosOptions] Override http request option.
1398
+ * @throws {RequiredError}
1399
+ */
1400
+ listWorkgroups(limit?: number, offset?: number, filters?: string, axiosOptions?: any): AxiosPromise<Array<ListWorkgroups200ResponseInnerV2>> {
1401
+ return localVarFp.listWorkgroups(limit, offset, filters, axiosOptions).then((request) => request(axios, basePath));
1402
+ },
1403
+ /**
1404
+ * This API allows you to modify the members of a work group
1405
+ * @summary Modify Work Group Members
1406
+ * @param {string} workgroupId The workgroup ID
1407
+ * @param {ModifyWorkgroupMembersRequestV2} modifyWorkgroupMembersRequestV2 Add/Remove workgroup member ids.
1408
+ * @param {*} [axiosOptions] Override http request option.
1409
+ * @throws {RequiredError}
1410
+ */
1411
+ modifyWorkgroupMembers(workgroupId: string, modifyWorkgroupMembersRequestV2: ModifyWorkgroupMembersRequestV2, axiosOptions?: any): AxiosPromise<void> {
1412
+ return localVarFp.modifyWorkgroupMembers(workgroupId, modifyWorkgroupMembersRequestV2, axiosOptions).then((request) => request(axios, basePath));
1413
+ },
1414
+ /**
1415
+ * This API updates and returns the details for a single workgroup based on the ID
1416
+ * @summary Update Work Group By Id
1417
+ * @param {string} workgroupId The workgroup ID
1418
+ * @param {CreateWorkgroupRequestV2} createWorkgroupRequestV2 Work group to modify.
1419
+ * @param {*} [axiosOptions] Override http request option.
1420
+ * @throws {RequiredError}
1421
+ */
1422
+ updateWorkgroup(workgroupId: string, createWorkgroupRequestV2: CreateWorkgroupRequestV2, axiosOptions?: any): AxiosPromise<ListWorkgroups200ResponseInnerV2> {
1423
+ return localVarFp.updateWorkgroup(workgroupId, createWorkgroupRequestV2, axiosOptions).then((request) => request(axios, basePath));
1424
+ },
1425
+ };
1426
+ };
1427
+
1428
+ /**
1429
+ * Request parameters for bulkDeleteWorkGroups operation in GovernanceGroupsV2Api.
1430
+ * @export
1431
+ * @interface GovernanceGroupsV2ApiBulkDeleteWorkGroupsRequest
1432
+ */
1433
+ export interface GovernanceGroupsV2ApiBulkDeleteWorkGroupsRequest {
1434
+ /**
1435
+ * Work group ids to delete
1436
+ * @type {BulkDeleteWorkGroupsRequestV2}
1437
+ * @memberof GovernanceGroupsV2ApiBulkDeleteWorkGroups
1438
+ */
1439
+ readonly bulkDeleteWorkGroupsRequestV2: BulkDeleteWorkGroupsRequestV2
1440
+ }
1441
+
1442
+ /**
1443
+ * Request parameters for createWorkgroup operation in GovernanceGroupsV2Api.
1444
+ * @export
1445
+ * @interface GovernanceGroupsV2ApiCreateWorkgroupRequest
1446
+ */
1447
+ export interface GovernanceGroupsV2ApiCreateWorkgroupRequest {
1448
+ /**
1449
+ * Work group to create.
1450
+ * @type {CreateWorkgroupRequestV2}
1451
+ * @memberof GovernanceGroupsV2ApiCreateWorkgroup
1452
+ */
1453
+ readonly createWorkgroupRequestV2: CreateWorkgroupRequestV2
1454
+ }
1455
+
1456
+ /**
1457
+ * Request parameters for deleteWorkgroup operation in GovernanceGroupsV2Api.
1458
+ * @export
1459
+ * @interface GovernanceGroupsV2ApiDeleteWorkgroupRequest
1460
+ */
1461
+ export interface GovernanceGroupsV2ApiDeleteWorkgroupRequest {
1462
+ /**
1463
+ * The workgroup ID
1464
+ * @type {string}
1465
+ * @memberof GovernanceGroupsV2ApiDeleteWorkgroup
1466
+ */
1467
+ readonly workgroupId: string
1468
+ }
1469
+
1470
+ /**
1471
+ * Request parameters for getWorkgroup operation in GovernanceGroupsV2Api.
1472
+ * @export
1473
+ * @interface GovernanceGroupsV2ApiGetWorkgroupRequest
1474
+ */
1475
+ export interface GovernanceGroupsV2ApiGetWorkgroupRequest {
1476
+ /**
1477
+ * The workgroup ID
1478
+ * @type {string}
1479
+ * @memberof GovernanceGroupsV2ApiGetWorkgroup
1480
+ */
1481
+ readonly workgroupId: string
1482
+ }
1483
+
1484
+ /**
1485
+ * Request parameters for listWorkgroupConnections operation in GovernanceGroupsV2Api.
1486
+ * @export
1487
+ * @interface GovernanceGroupsV2ApiListWorkgroupConnectionsRequest
1488
+ */
1489
+ export interface GovernanceGroupsV2ApiListWorkgroupConnectionsRequest {
1490
+ /**
1491
+ * The workgroup ID
1492
+ * @type {string}
1493
+ * @memberof GovernanceGroupsV2ApiListWorkgroupConnections
1494
+ */
1495
+ readonly workgroupId: string
1496
+ }
1497
+
1498
+ /**
1499
+ * Request parameters for listWorkgroupMembers operation in GovernanceGroupsV2Api.
1500
+ * @export
1501
+ * @interface GovernanceGroupsV2ApiListWorkgroupMembersRequest
1502
+ */
1503
+ export interface GovernanceGroupsV2ApiListWorkgroupMembersRequest {
1504
+ /**
1505
+ * The workgroup ID
1506
+ * @type {string}
1507
+ * @memberof GovernanceGroupsV2ApiListWorkgroupMembers
1508
+ */
1509
+ readonly workgroupId: string
1510
+
1511
+ /**
1512
+ * Max number of results to return
1513
+ * @type {number}
1514
+ * @memberof GovernanceGroupsV2ApiListWorkgroupMembers
1515
+ */
1516
+ readonly limit?: number
1517
+
1518
+ /**
1519
+ * Offset into the full result set. Usually specified with *limit* to paginate through the results.
1520
+ * @type {number}
1521
+ * @memberof GovernanceGroupsV2ApiListWorkgroupMembers
1522
+ */
1523
+ readonly offset?: number
1524
+
1525
+ /**
1526
+ * Filter results using the following syntax. [{property:name, value: \&quot;Tyler\&quot;, operation: EQ}]
1527
+ * @type {string}
1528
+ * @memberof GovernanceGroupsV2ApiListWorkgroupMembers
1529
+ */
1530
+ readonly filters?: string
1531
+ }
1532
+
1533
+ /**
1534
+ * Request parameters for listWorkgroups operation in GovernanceGroupsV2Api.
1535
+ * @export
1536
+ * @interface GovernanceGroupsV2ApiListWorkgroupsRequest
1537
+ */
1538
+ export interface GovernanceGroupsV2ApiListWorkgroupsRequest {
1539
+ /**
1540
+ * Max number of results to return
1541
+ * @type {number}
1542
+ * @memberof GovernanceGroupsV2ApiListWorkgroups
1543
+ */
1544
+ readonly limit?: number
1545
+
1546
+ /**
1547
+ * Offset into the full result set. Usually specified with *limit* to paginate through the results.
1548
+ * @type {number}
1549
+ * @memberof GovernanceGroupsV2ApiListWorkgroups
1550
+ */
1551
+ readonly offset?: number
1552
+
1553
+ /**
1554
+ * Filter results using the following syntax. [{property:name, value: \&quot;Tyler\&quot;, operation: EQ}]
1555
+ * @type {string}
1556
+ * @memberof GovernanceGroupsV2ApiListWorkgroups
1557
+ */
1558
+ readonly filters?: string
1559
+ }
1560
+
1561
+ /**
1562
+ * Request parameters for modifyWorkgroupMembers operation in GovernanceGroupsV2Api.
1563
+ * @export
1564
+ * @interface GovernanceGroupsV2ApiModifyWorkgroupMembersRequest
1565
+ */
1566
+ export interface GovernanceGroupsV2ApiModifyWorkgroupMembersRequest {
1567
+ /**
1568
+ * The workgroup ID
1569
+ * @type {string}
1570
+ * @memberof GovernanceGroupsV2ApiModifyWorkgroupMembers
1571
+ */
1572
+ readonly workgroupId: string
1573
+
1574
+ /**
1575
+ * Add/Remove workgroup member ids.
1576
+ * @type {ModifyWorkgroupMembersRequestV2}
1577
+ * @memberof GovernanceGroupsV2ApiModifyWorkgroupMembers
1578
+ */
1579
+ readonly modifyWorkgroupMembersRequestV2: ModifyWorkgroupMembersRequestV2
1580
+ }
1581
+
1582
+ /**
1583
+ * Request parameters for updateWorkgroup operation in GovernanceGroupsV2Api.
1584
+ * @export
1585
+ * @interface GovernanceGroupsV2ApiUpdateWorkgroupRequest
1586
+ */
1587
+ export interface GovernanceGroupsV2ApiUpdateWorkgroupRequest {
1588
+ /**
1589
+ * The workgroup ID
1590
+ * @type {string}
1591
+ * @memberof GovernanceGroupsV2ApiUpdateWorkgroup
1592
+ */
1593
+ readonly workgroupId: string
1594
+
1595
+ /**
1596
+ * Work group to modify.
1597
+ * @type {CreateWorkgroupRequestV2}
1598
+ * @memberof GovernanceGroupsV2ApiUpdateWorkgroup
1599
+ */
1600
+ readonly createWorkgroupRequestV2: CreateWorkgroupRequestV2
1601
+ }
1602
+
1603
+ /**
1604
+ * GovernanceGroupsV2Api - object-oriented interface
1605
+ * @export
1606
+ * @class GovernanceGroupsV2Api
1607
+ * @extends {BaseAPI}
1608
+ */
1609
+ export class GovernanceGroupsV2Api extends BaseAPI {
1610
+ /**
1611
+ * This API allows you to bulk-delete work groups
1612
+ * @summary Bulk delete work groups
1613
+ * @param {GovernanceGroupsV2ApiBulkDeleteWorkGroupsRequest} requestParameters Request parameters.
1614
+ * @param {*} [axiosOptions] Override http request option.
1615
+ * @throws {RequiredError}
1616
+ * @memberof GovernanceGroupsV2Api
1617
+ */
1618
+ public bulkDeleteWorkGroups(requestParameters: GovernanceGroupsV2ApiBulkDeleteWorkGroupsRequest, axiosOptions?: AxiosRequestConfig) {
1619
+ return GovernanceGroupsV2ApiFp(this.configuration).bulkDeleteWorkGroups(requestParameters.bulkDeleteWorkGroupsRequestV2, axiosOptions).then((request) => request(this.axios, this.basePath));
1620
+ }
1621
+
1622
+ /**
1623
+ * This API allows you to create a work group
1624
+ * @summary Create Work Group
1625
+ * @param {GovernanceGroupsV2ApiCreateWorkgroupRequest} requestParameters Request parameters.
1626
+ * @param {*} [axiosOptions] Override http request option.
1627
+ * @throws {RequiredError}
1628
+ * @memberof GovernanceGroupsV2Api
1629
+ */
1630
+ public createWorkgroup(requestParameters: GovernanceGroupsV2ApiCreateWorkgroupRequest, axiosOptions?: AxiosRequestConfig) {
1631
+ return GovernanceGroupsV2ApiFp(this.configuration).createWorkgroup(requestParameters.createWorkgroupRequestV2, axiosOptions).then((request) => request(this.axios, this.basePath));
1632
+ }
1633
+
1634
+ /**
1635
+ * This API deletes a single workgroup based on the ID
1636
+ * @summary Delete Work Group By Id
1637
+ * @param {GovernanceGroupsV2ApiDeleteWorkgroupRequest} requestParameters Request parameters.
1638
+ * @param {*} [axiosOptions] Override http request option.
1639
+ * @throws {RequiredError}
1640
+ * @memberof GovernanceGroupsV2Api
1641
+ */
1642
+ public deleteWorkgroup(requestParameters: GovernanceGroupsV2ApiDeleteWorkgroupRequest, axiosOptions?: AxiosRequestConfig) {
1643
+ return GovernanceGroupsV2ApiFp(this.configuration).deleteWorkgroup(requestParameters.workgroupId, axiosOptions).then((request) => request(this.axios, this.basePath));
1644
+ }
1645
+
1646
+ /**
1647
+ * This API returns the details for a single workgroup based on the ID
1648
+ * @summary Get Work Group By Id
1649
+ * @param {GovernanceGroupsV2ApiGetWorkgroupRequest} requestParameters Request parameters.
1650
+ * @param {*} [axiosOptions] Override http request option.
1651
+ * @throws {RequiredError}
1652
+ * @memberof GovernanceGroupsV2Api
1653
+ */
1654
+ public getWorkgroup(requestParameters: GovernanceGroupsV2ApiGetWorkgroupRequest, axiosOptions?: AxiosRequestConfig) {
1655
+ return GovernanceGroupsV2ApiFp(this.configuration).getWorkgroup(requestParameters.workgroupId, axiosOptions).then((request) => request(this.axios, this.basePath));
1656
+ }
1657
+
1658
+ /**
1659
+ * This API returns the connections of a work group
1660
+ * @summary List Work Group Connections
1661
+ * @param {GovernanceGroupsV2ApiListWorkgroupConnectionsRequest} requestParameters Request parameters.
1662
+ * @param {*} [axiosOptions] Override http request option.
1663
+ * @throws {RequiredError}
1664
+ * @memberof GovernanceGroupsV2Api
1665
+ */
1666
+ public listWorkgroupConnections(requestParameters: GovernanceGroupsV2ApiListWorkgroupConnectionsRequest, axiosOptions?: AxiosRequestConfig) {
1667
+ return GovernanceGroupsV2ApiFp(this.configuration).listWorkgroupConnections(requestParameters.workgroupId, axiosOptions).then((request) => request(this.axios, this.basePath));
1668
+ }
1669
+
1670
+ /**
1671
+ * This API returns the members of a work group
1672
+ * @summary List Work Group Members
1673
+ * @param {GovernanceGroupsV2ApiListWorkgroupMembersRequest} requestParameters Request parameters.
1674
+ * @param {*} [axiosOptions] Override http request option.
1675
+ * @throws {RequiredError}
1676
+ * @memberof GovernanceGroupsV2Api
1677
+ */
1678
+ public listWorkgroupMembers(requestParameters: GovernanceGroupsV2ApiListWorkgroupMembersRequest, axiosOptions?: AxiosRequestConfig) {
1679
+ return GovernanceGroupsV2ApiFp(this.configuration).listWorkgroupMembers(requestParameters.workgroupId, requestParameters.limit, requestParameters.offset, requestParameters.filters, axiosOptions).then((request) => request(this.axios, this.basePath));
1680
+ }
1681
+
1682
+ /**
1683
+ * This API returns a list of work groups
1684
+ * @summary List Work Groups
1685
+ * @param {GovernanceGroupsV2ApiListWorkgroupsRequest} requestParameters Request parameters.
1686
+ * @param {*} [axiosOptions] Override http request option.
1687
+ * @throws {RequiredError}
1688
+ * @memberof GovernanceGroupsV2Api
1689
+ */
1690
+ public listWorkgroups(requestParameters: GovernanceGroupsV2ApiListWorkgroupsRequest = {}, axiosOptions?: AxiosRequestConfig) {
1691
+ return GovernanceGroupsV2ApiFp(this.configuration).listWorkgroups(requestParameters.limit, requestParameters.offset, requestParameters.filters, axiosOptions).then((request) => request(this.axios, this.basePath));
1692
+ }
1693
+
1694
+ /**
1695
+ * This API allows you to modify the members of a work group
1696
+ * @summary Modify Work Group Members
1697
+ * @param {GovernanceGroupsV2ApiModifyWorkgroupMembersRequest} requestParameters Request parameters.
1698
+ * @param {*} [axiosOptions] Override http request option.
1699
+ * @throws {RequiredError}
1700
+ * @memberof GovernanceGroupsV2Api
1701
+ */
1702
+ public modifyWorkgroupMembers(requestParameters: GovernanceGroupsV2ApiModifyWorkgroupMembersRequest, axiosOptions?: AxiosRequestConfig) {
1703
+ return GovernanceGroupsV2ApiFp(this.configuration).modifyWorkgroupMembers(requestParameters.workgroupId, requestParameters.modifyWorkgroupMembersRequestV2, axiosOptions).then((request) => request(this.axios, this.basePath));
1704
+ }
1705
+
1706
+ /**
1707
+ * This API updates and returns the details for a single workgroup based on the ID
1708
+ * @summary Update Work Group By Id
1709
+ * @param {GovernanceGroupsV2ApiUpdateWorkgroupRequest} requestParameters Request parameters.
1710
+ * @param {*} [axiosOptions] Override http request option.
1711
+ * @throws {RequiredError}
1712
+ * @memberof GovernanceGroupsV2Api
1713
+ */
1714
+ public updateWorkgroup(requestParameters: GovernanceGroupsV2ApiUpdateWorkgroupRequest, axiosOptions?: AxiosRequestConfig) {
1715
+ return GovernanceGroupsV2ApiFp(this.configuration).updateWorkgroup(requestParameters.workgroupId, requestParameters.createWorkgroupRequestV2, axiosOptions).then((request) => request(this.axios, this.basePath));
1716
+ }
1717
+ }
1718
+
1719
+
1720
+ /**
1721
+ * OrgV2Api - axios parameter creator
1722
+ * @export
1723
+ */
1724
+ export const OrgV2ApiAxiosParamCreator = function (configuration?: Configuration) {
1725
+ return {
1726
+ /**
1727
+ * Retrieves information and operational settings for your org (as determined by the URL domain).
1728
+ * @summary Retrieves your org settings.
1729
+ * @param {*} [axiosOptions] Override http request option.
1730
+ * @throws {RequiredError}
1731
+ */
1732
+ getOrgSettings: async (axiosOptions: AxiosRequestConfig = {}): Promise<RequestArgs> => {
1733
+ const localVarPath = `/org`;
1734
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
1735
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
1736
+ let baseOptions;
1737
+ if (configuration) {
1738
+ baseOptions = configuration.baseOptions;
1739
+ }
1740
+
1741
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...axiosOptions};
1742
+ const localVarHeaderParameter = {} as any;
1743
+ const localVarQueryParameter = {} as any;
1744
+
1745
+
1746
+
1747
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
1748
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
1749
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...axiosOptions.headers};
1750
+
1751
+ return {
1752
+ url: toPathString(localVarUrlObj),
1753
+ axiosOptions: localVarRequestOptions,
1754
+ };
1755
+ },
1756
+ /**
1757
+ * Updates one or more attributes for your org.
1758
+ * @summary Updates one or more org attributes.
1759
+ * @param {UpdateOrgSettingsRequestV2} updateOrgSettingsRequestV2 Org settings to update.
1760
+ * @param {*} [axiosOptions] Override http request option.
1761
+ * @throws {RequiredError}
1762
+ */
1763
+ updateOrgSettings: async (updateOrgSettingsRequestV2: UpdateOrgSettingsRequestV2, axiosOptions: AxiosRequestConfig = {}): Promise<RequestArgs> => {
1764
+ // verify required parameter 'updateOrgSettingsRequestV2' is not null or undefined
1765
+ assertParamExists('updateOrgSettings', 'updateOrgSettingsRequestV2', updateOrgSettingsRequestV2)
1766
+ const localVarPath = `/org`;
1767
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
1768
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
1769
+ let baseOptions;
1770
+ if (configuration) {
1771
+ baseOptions = configuration.baseOptions;
1772
+ }
1773
+
1774
+ const localVarRequestOptions = { method: 'PATCH', ...baseOptions, ...axiosOptions};
1775
+ const localVarHeaderParameter = {} as any;
1776
+ const localVarQueryParameter = {} as any;
1777
+
1778
+
1779
+
1780
+ localVarHeaderParameter['Content-Type'] = 'application/json';
1781
+
1782
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
1783
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
1784
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...axiosOptions.headers};
1785
+ localVarRequestOptions.data = serializeDataIfNeeded(updateOrgSettingsRequestV2, localVarRequestOptions, configuration)
1786
+
1787
+ return {
1788
+ url: toPathString(localVarUrlObj),
1789
+ axiosOptions: localVarRequestOptions,
1790
+ };
1791
+ },
1792
+ }
1793
+ };
1794
+
1795
+ /**
1796
+ * OrgV2Api - functional programming interface
1797
+ * @export
1798
+ */
1799
+ export const OrgV2ApiFp = function(configuration?: Configuration) {
1800
+ const localVarAxiosParamCreator = OrgV2ApiAxiosParamCreator(configuration)
1801
+ return {
1802
+ /**
1803
+ * Retrieves information and operational settings for your org (as determined by the URL domain).
1804
+ * @summary Retrieves your org settings.
1805
+ * @param {*} [axiosOptions] Override http request option.
1806
+ * @throws {RequiredError}
1807
+ */
1808
+ async getOrgSettings(axiosOptions?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetOrgSettings200ResponseV2>> {
1809
+ const localVarAxiosArgs = await localVarAxiosParamCreator.getOrgSettings(axiosOptions);
1810
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
1811
+ },
1812
+ /**
1813
+ * Updates one or more attributes for your org.
1814
+ * @summary Updates one or more org attributes.
1815
+ * @param {UpdateOrgSettingsRequestV2} updateOrgSettingsRequestV2 Org settings to update.
1816
+ * @param {*} [axiosOptions] Override http request option.
1817
+ * @throws {RequiredError}
1818
+ */
1819
+ async updateOrgSettings(updateOrgSettingsRequestV2: UpdateOrgSettingsRequestV2, axiosOptions?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetOrgSettings200ResponseV2>> {
1820
+ const localVarAxiosArgs = await localVarAxiosParamCreator.updateOrgSettings(updateOrgSettingsRequestV2, axiosOptions);
1821
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
1822
+ },
1823
+ }
1824
+ };
1825
+
1826
+ /**
1827
+ * OrgV2Api - factory interface
1828
+ * @export
1829
+ */
1830
+ export const OrgV2ApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
1831
+ const localVarFp = OrgV2ApiFp(configuration)
1832
+ return {
1833
+ /**
1834
+ * Retrieves information and operational settings for your org (as determined by the URL domain).
1835
+ * @summary Retrieves your org settings.
1836
+ * @param {*} [axiosOptions] Override http request option.
1837
+ * @throws {RequiredError}
1838
+ */
1839
+ getOrgSettings(axiosOptions?: any): AxiosPromise<GetOrgSettings200ResponseV2> {
1840
+ return localVarFp.getOrgSettings(axiosOptions).then((request) => request(axios, basePath));
1841
+ },
1842
+ /**
1843
+ * Updates one or more attributes for your org.
1844
+ * @summary Updates one or more org attributes.
1845
+ * @param {UpdateOrgSettingsRequestV2} updateOrgSettingsRequestV2 Org settings to update.
1846
+ * @param {*} [axiosOptions] Override http request option.
1847
+ * @throws {RequiredError}
1848
+ */
1849
+ updateOrgSettings(updateOrgSettingsRequestV2: UpdateOrgSettingsRequestV2, axiosOptions?: any): AxiosPromise<GetOrgSettings200ResponseV2> {
1850
+ return localVarFp.updateOrgSettings(updateOrgSettingsRequestV2, axiosOptions).then((request) => request(axios, basePath));
1851
+ },
1852
+ };
1853
+ };
1854
+
1855
+ /**
1856
+ * Request parameters for updateOrgSettings operation in OrgV2Api.
1857
+ * @export
1858
+ * @interface OrgV2ApiUpdateOrgSettingsRequest
1859
+ */
1860
+ export interface OrgV2ApiUpdateOrgSettingsRequest {
1861
+ /**
1862
+ * Org settings to update.
1863
+ * @type {UpdateOrgSettingsRequestV2}
1864
+ * @memberof OrgV2ApiUpdateOrgSettings
1865
+ */
1866
+ readonly updateOrgSettingsRequestV2: UpdateOrgSettingsRequestV2
1867
+ }
1868
+
1869
+ /**
1870
+ * OrgV2Api - object-oriented interface
1871
+ * @export
1872
+ * @class OrgV2Api
1873
+ * @extends {BaseAPI}
1874
+ */
1875
+ export class OrgV2Api extends BaseAPI {
1876
+ /**
1877
+ * Retrieves information and operational settings for your org (as determined by the URL domain).
1878
+ * @summary Retrieves your org settings.
1879
+ * @param {*} [axiosOptions] Override http request option.
1880
+ * @throws {RequiredError}
1881
+ * @memberof OrgV2Api
1882
+ */
1883
+ public getOrgSettings(axiosOptions?: AxiosRequestConfig) {
1884
+ return OrgV2ApiFp(this.configuration).getOrgSettings(axiosOptions).then((request) => request(this.axios, this.basePath));
1885
+ }
1886
+
1887
+ /**
1888
+ * Updates one or more attributes for your org.
1889
+ * @summary Updates one or more org attributes.
1890
+ * @param {OrgV2ApiUpdateOrgSettingsRequest} requestParameters Request parameters.
1891
+ * @param {*} [axiosOptions] Override http request option.
1892
+ * @throws {RequiredError}
1893
+ * @memberof OrgV2Api
1894
+ */
1895
+ public updateOrgSettings(requestParameters: OrgV2ApiUpdateOrgSettingsRequest, axiosOptions?: AxiosRequestConfig) {
1896
+ return OrgV2ApiFp(this.configuration).updateOrgSettings(requestParameters.updateOrgSettingsRequestV2, axiosOptions).then((request) => request(this.axios, this.basePath));
1897
+ }
1898
+ }
1899
+
1900
+