sailpoint-api-client 1.3.0 → 1.3.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (90) hide show
  1. package/beta/README.md +2 -2
  2. package/beta/api.ts +4381 -1280
  3. package/beta/base.ts +1 -1
  4. package/beta/common.ts +3 -3
  5. package/beta/package.json +1 -1
  6. package/configuration.ts +12 -32
  7. package/dist/beta/api.d.ts +3253 -1116
  8. package/dist/beta/api.js +3215 -1070
  9. package/dist/beta/api.js.map +1 -1
  10. package/dist/beta/base.js +1 -1
  11. package/dist/beta/base.js.map +1 -1
  12. package/dist/beta/common.js +3 -3
  13. package/dist/beta/common.js.map +1 -1
  14. package/dist/configuration.d.ts +1 -22
  15. package/dist/configuration.js +10 -8
  16. package/dist/configuration.js.map +1 -1
  17. package/dist/index.d.ts +0 -4
  18. package/dist/index.js +3 -9
  19. package/dist/index.js.map +1 -1
  20. package/dist/index.spec.js +0 -35
  21. package/dist/index.spec.js.map +1 -1
  22. package/dist/v3/api.d.ts +5603 -1228
  23. package/dist/v3/api.js +15109 -10777
  24. package/dist/v3/api.js.map +1 -1
  25. package/dist/v3/base.js +1 -1
  26. package/dist/v3/base.js.map +1 -1
  27. package/dist/v3/common.js +3 -3
  28. package/dist/v3/common.js.map +1 -1
  29. package/index.spec.ts +1 -24
  30. package/index.ts +0 -6
  31. package/package.json +1 -1
  32. package/v3/README.md +2 -2
  33. package/v3/api.ts +9193 -2785
  34. package/v3/base.ts +1 -1
  35. package/v3/common.ts +3 -3
  36. package/v3/package.json +1 -1
  37. package/cc/.openapi-generator/FILES +0 -12
  38. package/cc/.openapi-generator/VERSION +0 -1
  39. package/cc/.openapi-generator-ignore +0 -23
  40. package/cc/README.md +0 -45
  41. package/cc/api.ts +0 -3877
  42. package/cc/base.ts +0 -71
  43. package/cc/common.ts +0 -142
  44. package/cc/configuration.ts +0 -101
  45. package/cc/git_push.sh +0 -57
  46. package/cc/index.ts +0 -17
  47. package/cc/package.json +0 -35
  48. package/cc/tsconfig.json +0 -21
  49. package/dist/cc/api.d.ts +0 -2946
  50. package/dist/cc/api.js +0 -2260
  51. package/dist/cc/api.js.map +0 -1
  52. package/dist/cc/base.d.ts +0 -55
  53. package/dist/cc/base.js +0 -86
  54. package/dist/cc/base.js.map +0 -1
  55. package/dist/cc/common.d.ts +0 -65
  56. package/dist/cc/common.js +0 -251
  57. package/dist/cc/common.js.map +0 -1
  58. package/dist/cc/configuration.d.ts +0 -83
  59. package/dist/cc/configuration.js +0 -45
  60. package/dist/cc/configuration.js.map +0 -1
  61. package/dist/cc/index.d.ts +0 -12
  62. package/dist/cc/index.js +0 -31
  63. package/dist/cc/index.js.map +0 -1
  64. package/dist/v2/api.d.ts +0 -1359
  65. package/dist/v2/api.js +0 -1242
  66. package/dist/v2/api.js.map +0 -1
  67. package/dist/v2/base.d.ts +0 -55
  68. package/dist/v2/base.js +0 -86
  69. package/dist/v2/base.js.map +0 -1
  70. package/dist/v2/common.d.ts +0 -65
  71. package/dist/v2/common.js +0 -251
  72. package/dist/v2/common.js.map +0 -1
  73. package/dist/v2/configuration.d.ts +0 -83
  74. package/dist/v2/configuration.js +0 -45
  75. package/dist/v2/configuration.js.map +0 -1
  76. package/dist/v2/index.d.ts +0 -12
  77. package/dist/v2/index.js +0 -31
  78. package/dist/v2/index.js.map +0 -1
  79. package/v2/.openapi-generator/FILES +0 -12
  80. package/v2/.openapi-generator/VERSION +0 -1
  81. package/v2/.openapi-generator-ignore +0 -23
  82. package/v2/README.md +0 -45
  83. package/v2/api.ts +0 -1900
  84. package/v2/base.ts +0 -71
  85. package/v2/common.ts +0 -142
  86. package/v2/configuration.ts +0 -101
  87. package/v2/git_push.sh +0 -57
  88. package/v2/index.ts +0 -17
  89. package/v2/package.json +0 -35
  90. package/v2/tsconfig.json +0 -21
package/cc/api.ts DELETED
@@ -1,3877 +0,0 @@
1
- /* tslint:disable */
2
- /* eslint-disable */
3
- /**
4
- * IdentityNow cc (private) APIs
5
- * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
6
- *
7
- * The version of the OpenAPI document: 1.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 CreateApplicationRequestCC
28
- */
29
- export interface CreateApplicationRequestCC {
30
- /**
31
- *
32
- * @type {string}
33
- * @memberof CreateApplicationRequestCC
34
- */
35
- 'name'?: string;
36
- /**
37
- *
38
- * @type {string}
39
- * @memberof CreateApplicationRequestCC
40
- */
41
- 'description'?: string;
42
- }
43
- /**
44
- *
45
- * @export
46
- * @interface CreateConnectorRequestCC
47
- */
48
- export interface CreateConnectorRequestCC {
49
- /**
50
- *
51
- * @type {string}
52
- * @memberof CreateConnectorRequestCC
53
- */
54
- 'name'?: string;
55
- /**
56
- *
57
- * @type {string}
58
- * @memberof CreateConnectorRequestCC
59
- */
60
- 'description'?: string;
61
- /**
62
- *
63
- * @type {string}
64
- * @memberof CreateConnectorRequestCC
65
- */
66
- 'className'?: string;
67
- /**
68
- *
69
- * @type {boolean}
70
- * @memberof CreateConnectorRequestCC
71
- */
72
- 'directConnect'?: boolean;
73
- /**
74
- *
75
- * @type {string}
76
- * @memberof CreateConnectorRequestCC
77
- */
78
- 'status'?: string;
79
- }
80
- /**
81
- *
82
- * @export
83
- * @interface GetApplication200ResponseCC
84
- */
85
- export interface GetApplication200ResponseCC {
86
- /**
87
- *
88
- * @type {string}
89
- * @memberof GetApplication200ResponseCC
90
- */
91
- 'id'?: string;
92
- /**
93
- *
94
- * @type {string}
95
- * @memberof GetApplication200ResponseCC
96
- */
97
- 'appId'?: string;
98
- /**
99
- *
100
- * @type {string}
101
- * @memberof GetApplication200ResponseCC
102
- */
103
- 'serviceId'?: string;
104
- /**
105
- *
106
- * @type {string}
107
- * @memberof GetApplication200ResponseCC
108
- */
109
- 'serviceAppId'?: string;
110
- /**
111
- *
112
- * @type {string}
113
- * @memberof GetApplication200ResponseCC
114
- */
115
- 'name'?: string;
116
- /**
117
- *
118
- * @type {string}
119
- * @memberof GetApplication200ResponseCC
120
- */
121
- 'description'?: string;
122
- /**
123
- *
124
- * @type {boolean}
125
- * @memberof GetApplication200ResponseCC
126
- */
127
- 'appCenterEnabled'?: boolean;
128
- /**
129
- *
130
- * @type {boolean}
131
- * @memberof GetApplication200ResponseCC
132
- */
133
- 'provisionRequestEnabled'?: boolean;
134
- /**
135
- *
136
- * @type {string}
137
- * @memberof GetApplication200ResponseCC
138
- */
139
- 'controlType'?: string;
140
- /**
141
- *
142
- * @type {boolean}
143
- * @memberof GetApplication200ResponseCC
144
- */
145
- 'mobile'?: boolean;
146
- /**
147
- *
148
- * @type {boolean}
149
- * @memberof GetApplication200ResponseCC
150
- */
151
- 'privateApp'?: boolean;
152
- /**
153
- *
154
- * @type {string}
155
- * @memberof GetApplication200ResponseCC
156
- */
157
- 'scriptName'?: string;
158
- /**
159
- *
160
- * @type {string}
161
- * @memberof GetApplication200ResponseCC
162
- */
163
- 'status'?: string;
164
- /**
165
- *
166
- * @type {string}
167
- * @memberof GetApplication200ResponseCC
168
- */
169
- 'icon'?: string;
170
- /**
171
- *
172
- * @type {ListApplications200ResponseInnerHealthCC}
173
- * @memberof GetApplication200ResponseCC
174
- */
175
- 'health'?: ListApplications200ResponseInnerHealthCC;
176
- /**
177
- *
178
- * @type {boolean}
179
- * @memberof GetApplication200ResponseCC
180
- */
181
- 'enableSso'?: boolean;
182
- /**
183
- *
184
- * @type {string}
185
- * @memberof GetApplication200ResponseCC
186
- */
187
- 'ssoMethod'?: string;
188
- /**
189
- *
190
- * @type {boolean}
191
- * @memberof GetApplication200ResponseCC
192
- */
193
- 'hasLinks'?: boolean;
194
- /**
195
- *
196
- * @type {boolean}
197
- * @memberof GetApplication200ResponseCC
198
- */
199
- 'hasAutomations'?: boolean;
200
- /**
201
- *
202
- * @type {object}
203
- * @memberof GetApplication200ResponseCC
204
- */
205
- 'stepUpAuthData'?: object;
206
- /**
207
- *
208
- * @type {string}
209
- * @memberof GetApplication200ResponseCC
210
- */
211
- 'stepUpAuthType'?: string;
212
- /**
213
- *
214
- * @type {boolean}
215
- * @memberof GetApplication200ResponseCC
216
- */
217
- 'usageAnalytics'?: boolean;
218
- /**
219
- *
220
- * @type {boolean}
221
- * @memberof GetApplication200ResponseCC
222
- */
223
- 'usageCertRequired'?: boolean;
224
- /**
225
- *
226
- * @type {object}
227
- * @memberof GetApplication200ResponseCC
228
- */
229
- 'usageCertText'?: object;
230
- /**
231
- *
232
- * @type {boolean}
233
- * @memberof GetApplication200ResponseCC
234
- */
235
- 'launchpadEnabled'?: boolean;
236
- /**
237
- *
238
- * @type {boolean}
239
- * @memberof GetApplication200ResponseCC
240
- */
241
- 'passwordManaged'?: boolean;
242
- /**
243
- *
244
- * @type {ListApplications200ResponseInnerOwnerCC}
245
- * @memberof GetApplication200ResponseCC
246
- */
247
- 'owner'?: ListApplications200ResponseInnerOwnerCC;
248
- /**
249
- *
250
- * @type {number}
251
- * @memberof GetApplication200ResponseCC
252
- */
253
- 'dateCreated'?: number;
254
- /**
255
- *
256
- * @type {number}
257
- * @memberof GetApplication200ResponseCC
258
- */
259
- 'lastUpdated'?: number;
260
- /**
261
- *
262
- * @type {object}
263
- * @memberof GetApplication200ResponseCC
264
- */
265
- 'defaultAccessProfile'?: object;
266
- /**
267
- *
268
- * @type {string}
269
- * @memberof GetApplication200ResponseCC
270
- */
271
- 'service'?: string;
272
- /**
273
- *
274
- * @type {string}
275
- * @memberof GetApplication200ResponseCC
276
- */
277
- 'selectedSsoMethod'?: string;
278
- /**
279
- *
280
- * @type {number}
281
- * @memberof GetApplication200ResponseCC
282
- */
283
- 'supportedSsoMethods'?: number;
284
- /**
285
- *
286
- * @type {object}
287
- * @memberof GetApplication200ResponseCC
288
- */
289
- 'offNetworkBlockedRoles'?: object;
290
- /**
291
- *
292
- * @type {string}
293
- * @memberof GetApplication200ResponseCC
294
- */
295
- 'supportedOffNetwork'?: string;
296
- /**
297
- *
298
- * @type {number}
299
- * @memberof GetApplication200ResponseCC
300
- */
301
- 'accountServiceId'?: number;
302
- /**
303
- *
304
- * @type {number}
305
- * @memberof GetApplication200ResponseCC
306
- */
307
- 'launcherCount'?: number;
308
- /**
309
- *
310
- * @type {string}
311
- * @memberof GetApplication200ResponseCC
312
- */
313
- 'accountServiceName'?: string;
314
- /**
315
- *
316
- * @type {string}
317
- * @memberof GetApplication200ResponseCC
318
- */
319
- 'accountServiceExternalId'?: string;
320
- /**
321
- *
322
- * @type {boolean}
323
- * @memberof GetApplication200ResponseCC
324
- */
325
- 'accountServiceMatchAllAccounts'?: boolean;
326
- /**
327
- *
328
- * @type {string}
329
- * @memberof GetApplication200ResponseCC
330
- */
331
- 'externalId'?: string;
332
- /**
333
- *
334
- * @type {boolean}
335
- * @memberof GetApplication200ResponseCC
336
- */
337
- 'accountServiceUseForPasswordManagement'?: boolean;
338
- /**
339
- *
340
- * @type {string}
341
- * @memberof GetApplication200ResponseCC
342
- */
343
- 'accountServicePolicyId'?: string;
344
- /**
345
- *
346
- * @type {string}
347
- * @memberof GetApplication200ResponseCC
348
- */
349
- 'accountServicePolicyName'?: string;
350
- /**
351
- *
352
- * @type {boolean}
353
- * @memberof GetApplication200ResponseCC
354
- */
355
- 'requireStrongAuthn'?: boolean;
356
- /**
357
- *
358
- * @type {Array<ListApplications200ResponseInnerAccountServicePoliciesInnerCC>}
359
- * @memberof GetApplication200ResponseCC
360
- */
361
- 'accountServicePolicies'?: Array<ListApplications200ResponseInnerAccountServicePoliciesInnerCC>;
362
- /**
363
- *
364
- * @type {string}
365
- * @memberof GetApplication200ResponseCC
366
- */
367
- 'xsdVersion'?: string;
368
- /**
369
- *
370
- * @type {Array<ListApplications200ResponseInnerAppProfilesInnerCC>}
371
- * @memberof GetApplication200ResponseCC
372
- */
373
- 'appProfiles'?: Array<ListApplications200ResponseInnerAppProfilesInnerCC>;
374
- /**
375
- *
376
- * @type {number}
377
- * @memberof GetApplication200ResponseCC
378
- */
379
- 'passwordServiceId'?: number;
380
- /**
381
- *
382
- * @type {object}
383
- * @memberof GetApplication200ResponseCC
384
- */
385
- 'accessProfileIds'?: object;
386
- }
387
- /**
388
- *
389
- * @export
390
- * @interface GetIdentity200ResponseAuthCC
391
- */
392
- export interface GetIdentity200ResponseAuthCC {
393
- /**
394
- *
395
- * @type {string}
396
- * @memberof GetIdentity200ResponseAuthCC
397
- */
398
- 'service'?: string;
399
- /**
400
- *
401
- * @type {string}
402
- * @memberof GetIdentity200ResponseAuthCC
403
- */
404
- 'encryption'?: string;
405
- }
406
- /**
407
- *
408
- * @export
409
- * @interface GetIdentity200ResponseCC
410
- */
411
- export interface GetIdentity200ResponseCC {
412
- /**
413
- *
414
- * @type {string}
415
- * @memberof GetIdentity200ResponseCC
416
- */
417
- 'id'?: string;
418
- /**
419
- *
420
- * @type {string}
421
- * @memberof GetIdentity200ResponseCC
422
- */
423
- 'alias'?: string;
424
- /**
425
- *
426
- * @type {string}
427
- * @memberof GetIdentity200ResponseCC
428
- */
429
- 'uid'?: string;
430
- /**
431
- *
432
- * @type {string}
433
- * @memberof GetIdentity200ResponseCC
434
- */
435
- 'name'?: string;
436
- /**
437
- *
438
- * @type {string}
439
- * @memberof GetIdentity200ResponseCC
440
- */
441
- 'displayName'?: string;
442
- /**
443
- *
444
- * @type {string}
445
- * @memberof GetIdentity200ResponseCC
446
- */
447
- 'uuid'?: string;
448
- /**
449
- *
450
- * @type {object}
451
- * @memberof GetIdentity200ResponseCC
452
- */
453
- 'encryptionKey'?: object;
454
- /**
455
- *
456
- * @type {object}
457
- * @memberof GetIdentity200ResponseCC
458
- */
459
- 'encryptionCheck'?: object;
460
- /**
461
- *
462
- * @type {string}
463
- * @memberof GetIdentity200ResponseCC
464
- */
465
- 'status'?: string;
466
- /**
467
- *
468
- * @type {boolean}
469
- * @memberof GetIdentity200ResponseCC
470
- */
471
- 'pending'?: boolean;
472
- /**
473
- *
474
- * @type {boolean}
475
- * @memberof GetIdentity200ResponseCC
476
- */
477
- 'passwordResetSinceLastLogin'?: boolean;
478
- /**
479
- *
480
- * @type {object}
481
- * @memberof GetIdentity200ResponseCC
482
- */
483
- 'usageCertAttested'?: object;
484
- /**
485
- *
486
- * @type {object}
487
- * @memberof GetIdentity200ResponseCC
488
- */
489
- 'userFlags'?: object;
490
- /**
491
- *
492
- * @type {boolean}
493
- * @memberof GetIdentity200ResponseCC
494
- */
495
- 'enabled'?: boolean;
496
- /**
497
- *
498
- * @type {string}
499
- * @memberof GetIdentity200ResponseCC
500
- */
501
- 'altAuthVia'?: string;
502
- /**
503
- *
504
- * @type {object}
505
- * @memberof GetIdentity200ResponseCC
506
- */
507
- 'altAuthViaIntegrationData'?: object;
508
- /**
509
- *
510
- * @type {number}
511
- * @memberof GetIdentity200ResponseCC
512
- */
513
- 'kbaAnswers'?: number;
514
- /**
515
- *
516
- * @type {boolean}
517
- * @memberof GetIdentity200ResponseCC
518
- */
519
- 'disablePasswordReset'?: boolean;
520
- /**
521
- *
522
- * @type {object}
523
- * @memberof GetIdentity200ResponseCC
524
- */
525
- 'ptaSourceId'?: object;
526
- /**
527
- *
528
- * @type {boolean}
529
- * @memberof GetIdentity200ResponseCC
530
- */
531
- 'supportsPasswordPush'?: boolean;
532
- /**
533
- *
534
- * @type {object}
535
- * @memberof GetIdentity200ResponseCC
536
- */
537
- 'attributes'?: object;
538
- /**
539
- *
540
- * @type {string}
541
- * @memberof GetIdentity200ResponseCC
542
- */
543
- 'externalId'?: string;
544
- /**
545
- *
546
- * @type {Array<object>}
547
- * @memberof GetIdentity200ResponseCC
548
- */
549
- 'role'?: Array<object>;
550
- /**
551
- *
552
- * @type {object}
553
- * @memberof GetIdentity200ResponseCC
554
- */
555
- 'phone'?: object;
556
- /**
557
- *
558
- * @type {string}
559
- * @memberof GetIdentity200ResponseCC
560
- */
561
- 'email'?: string;
562
- /**
563
- *
564
- * @type {object}
565
- * @memberof GetIdentity200ResponseCC
566
- */
567
- 'personalEmail'?: object;
568
- /**
569
- *
570
- * @type {object}
571
- * @memberof GetIdentity200ResponseCC
572
- */
573
- 'employeeNumber'?: object;
574
- /**
575
- *
576
- * @type {number}
577
- * @memberof GetIdentity200ResponseCC
578
- */
579
- 'riskScore'?: number;
580
- /**
581
- *
582
- * @type {object}
583
- * @memberof GetIdentity200ResponseCC
584
- */
585
- 'featureFlags'?: object;
586
- /**
587
- *
588
- * @type {Array<string>}
589
- * @memberof GetIdentity200ResponseCC
590
- */
591
- 'feature'?: Array<string>;
592
- /**
593
- *
594
- * @type {string}
595
- * @memberof GetIdentity200ResponseCC
596
- */
597
- 'orgEncryptionKey'?: string;
598
- /**
599
- *
600
- * @type {string}
601
- * @memberof GetIdentity200ResponseCC
602
- */
603
- 'orgEncryptionKeyId'?: string;
604
- /**
605
- *
606
- * @type {object}
607
- * @memberof GetIdentity200ResponseCC
608
- */
609
- 'meta'?: object;
610
- /**
611
- *
612
- * @type {GetIdentity200ResponseOrgCC}
613
- * @memberof GetIdentity200ResponseCC
614
- */
615
- 'org'?: GetIdentity200ResponseOrgCC;
616
- /**
617
- *
618
- * @type {boolean}
619
- * @memberof GetIdentity200ResponseCC
620
- */
621
- 'stepUpAuth'?: boolean;
622
- /**
623
- *
624
- * @type {boolean}
625
- * @memberof GetIdentity200ResponseCC
626
- */
627
- 'bxInstallPrompted'?: boolean;
628
- /**
629
- *
630
- * @type {boolean}
631
- * @memberof GetIdentity200ResponseCC
632
- */
633
- 'federatedLogin'?: boolean;
634
- /**
635
- *
636
- * @type {GetIdentity200ResponseAuthCC}
637
- * @memberof GetIdentity200ResponseCC
638
- */
639
- 'auth'?: GetIdentity200ResponseAuthCC;
640
- /**
641
- *
642
- * @type {boolean}
643
- * @memberof GetIdentity200ResponseCC
644
- */
645
- 'onNetwork'?: boolean;
646
- /**
647
- *
648
- * @type {boolean}
649
- * @memberof GetIdentity200ResponseCC
650
- */
651
- 'onTrustedGeo'?: boolean;
652
- /**
653
- *
654
- * @type {string}
655
- * @memberof GetIdentity200ResponseCC
656
- */
657
- 'loginUrl'?: string;
658
- }
659
- /**
660
- *
661
- * @export
662
- * @interface GetIdentity200ResponseOrgCC
663
- */
664
- export interface GetIdentity200ResponseOrgCC {
665
- /**
666
- *
667
- * @type {string}
668
- * @memberof GetIdentity200ResponseOrgCC
669
- */
670
- 'name'?: string;
671
- /**
672
- *
673
- * @type {string}
674
- * @memberof GetIdentity200ResponseOrgCC
675
- */
676
- 'scriptName'?: string;
677
- /**
678
- *
679
- * @type {string}
680
- * @memberof GetIdentity200ResponseOrgCC
681
- */
682
- 'mode'?: string;
683
- /**
684
- *
685
- * @type {number}
686
- * @memberof GetIdentity200ResponseOrgCC
687
- */
688
- 'numQuestions'?: number;
689
- /**
690
- *
691
- * @type {string}
692
- * @memberof GetIdentity200ResponseOrgCC
693
- */
694
- 'status'?: string;
695
- /**
696
- *
697
- * @type {number}
698
- * @memberof GetIdentity200ResponseOrgCC
699
- */
700
- 'maxRegisteredUsers'?: number;
701
- /**
702
- *
703
- * @type {string}
704
- * @memberof GetIdentity200ResponseOrgCC
705
- */
706
- 'pod'?: string;
707
- /**
708
- *
709
- * @type {boolean}
710
- * @memberof GetIdentity200ResponseOrgCC
711
- */
712
- 'pwdResetPersonalPhone'?: boolean;
713
- /**
714
- *
715
- * @type {boolean}
716
- * @memberof GetIdentity200ResponseOrgCC
717
- */
718
- 'pwdResetPersonalEmail'?: boolean;
719
- /**
720
- *
721
- * @type {boolean}
722
- * @memberof GetIdentity200ResponseOrgCC
723
- */
724
- 'pwdResetKba'?: boolean;
725
- /**
726
- *
727
- * @type {boolean}
728
- * @memberof GetIdentity200ResponseOrgCC
729
- */
730
- 'pwdResetEmail'?: boolean;
731
- /**
732
- *
733
- * @type {boolean}
734
- * @memberof GetIdentity200ResponseOrgCC
735
- */
736
- 'pwdResetDuo'?: boolean;
737
- /**
738
- *
739
- * @type {boolean}
740
- * @memberof GetIdentity200ResponseOrgCC
741
- */
742
- 'pwdResetPhoneMask'?: boolean;
743
- /**
744
- *
745
- * @type {object}
746
- * @memberof GetIdentity200ResponseOrgCC
747
- */
748
- 'authErrorText'?: object;
749
- /**
750
- *
751
- * @type {boolean}
752
- * @memberof GetIdentity200ResponseOrgCC
753
- */
754
- 'strongAuthKba'?: boolean;
755
- /**
756
- *
757
- * @type {boolean}
758
- * @memberof GetIdentity200ResponseOrgCC
759
- */
760
- 'strongAuthPersonalPhone'?: boolean;
761
- /**
762
- *
763
- * @type {boolean}
764
- * @memberof GetIdentity200ResponseOrgCC
765
- */
766
- 'strongAuthPersonalEmail'?: boolean;
767
- /**
768
- *
769
- * @type {Array<object>}
770
- * @memberof GetIdentity200ResponseOrgCC
771
- */
772
- 'integrations'?: Array<object>;
773
- /**
774
- *
775
- * @type {string}
776
- * @memberof GetIdentity200ResponseOrgCC
777
- */
778
- 'productName'?: string;
779
- /**
780
- *
781
- * @type {number}
782
- * @memberof GetIdentity200ResponseOrgCC
783
- */
784
- 'kbaReqForAuthn'?: number;
785
- /**
786
- *
787
- * @type {number}
788
- * @memberof GetIdentity200ResponseOrgCC
789
- */
790
- 'kbaReqAnswers'?: number;
791
- /**
792
- *
793
- * @type {number}
794
- * @memberof GetIdentity200ResponseOrgCC
795
- */
796
- 'lockoutAttemptThreshold'?: number;
797
- /**
798
- *
799
- * @type {number}
800
- * @memberof GetIdentity200ResponseOrgCC
801
- */
802
- 'lockoutTimeMinutes'?: number;
803
- /**
804
- *
805
- * @type {boolean}
806
- * @memberof GetIdentity200ResponseOrgCC
807
- */
808
- 'usageCertRequired'?: boolean;
809
- /**
810
- *
811
- * @type {boolean}
812
- * @memberof GetIdentity200ResponseOrgCC
813
- */
814
- 'adminStrongAuthRequired'?: boolean;
815
- /**
816
- *
817
- * @type {boolean}
818
- * @memberof GetIdentity200ResponseOrgCC
819
- */
820
- 'enableExternalPasswordChange'?: boolean;
821
- /**
822
- *
823
- * @type {boolean}
824
- * @memberof GetIdentity200ResponseOrgCC
825
- */
826
- 'enablePasswordReplay'?: boolean;
827
- /**
828
- *
829
- * @type {boolean}
830
- * @memberof GetIdentity200ResponseOrgCC
831
- */
832
- 'enableAutomaticPasswordReplay'?: boolean;
833
- /**
834
- *
835
- * @type {boolean}
836
- * @memberof GetIdentity200ResponseOrgCC
837
- */
838
- 'notifyAuthenticationSettingChange'?: boolean;
839
- /**
840
- *
841
- * @type {object}
842
- * @memberof GetIdentity200ResponseOrgCC
843
- */
844
- 'netmasks'?: object;
845
- /**
846
- *
847
- * @type {object}
848
- * @memberof GetIdentity200ResponseOrgCC
849
- */
850
- 'countryCodes'?: object;
851
- /**
852
- *
853
- * @type {boolean}
854
- * @memberof GetIdentity200ResponseOrgCC
855
- */
856
- 'whiteList'?: boolean;
857
- /**
858
- *
859
- * @type {object}
860
- * @memberof GetIdentity200ResponseOrgCC
861
- */
862
- 'usernameEmptyText'?: object;
863
- /**
864
- *
865
- * @type {object}
866
- * @memberof GetIdentity200ResponseOrgCC
867
- */
868
- 'usernameLabel'?: object;
869
- /**
870
- *
871
- * @type {boolean}
872
- * @memberof GetIdentity200ResponseOrgCC
873
- */
874
- 'enableAutomationGeneration'?: boolean;
875
- /**
876
- *
877
- * @type {boolean}
878
- * @memberof GetIdentity200ResponseOrgCC
879
- */
880
- 'emailTestMode'?: boolean;
881
- /**
882
- *
883
- * @type {string}
884
- * @memberof GetIdentity200ResponseOrgCC
885
- */
886
- 'emailTestAddress'?: string;
887
- /**
888
- *
889
- * @type {string}
890
- * @memberof GetIdentity200ResponseOrgCC
891
- */
892
- 'orgType'?: string;
893
- /**
894
- *
895
- * @type {string}
896
- * @memberof GetIdentity200ResponseOrgCC
897
- */
898
- 'passwordReplayState'?: string;
899
- /**
900
- *
901
- * @type {string}
902
- * @memberof GetIdentity200ResponseOrgCC
903
- */
904
- 'systemNotificationConfig'?: string;
905
- /**
906
- *
907
- * @type {string}
908
- * @memberof GetIdentity200ResponseOrgCC
909
- */
910
- 'redirectPatterns'?: string;
911
- /**
912
- *
913
- * @type {string}
914
- * @memberof GetIdentity200ResponseOrgCC
915
- */
916
- 'maxClusterDebugHours'?: string;
917
- /**
918
- *
919
- * @type {string}
920
- * @memberof GetIdentity200ResponseOrgCC
921
- */
922
- 'brandName'?: string;
923
- /**
924
- *
925
- * @type {object}
926
- * @memberof GetIdentity200ResponseOrgCC
927
- */
928
- 'logo'?: object;
929
- /**
930
- *
931
- * @type {object}
932
- * @memberof GetIdentity200ResponseOrgCC
933
- */
934
- 'emailFromAddress'?: object;
935
- /**
936
- *
937
- * @type {object}
938
- * @memberof GetIdentity200ResponseOrgCC
939
- */
940
- 'standardLogoUrl'?: object;
941
- /**
942
- *
943
- * @type {object}
944
- * @memberof GetIdentity200ResponseOrgCC
945
- */
946
- 'narrowLogoUrl'?: object;
947
- /**
948
- *
949
- * @type {string}
950
- * @memberof GetIdentity200ResponseOrgCC
951
- */
952
- 'actionButtonColor'?: string;
953
- /**
954
- *
955
- * @type {string}
956
- * @memberof GetIdentity200ResponseOrgCC
957
- */
958
- 'activeLinkColor'?: string;
959
- /**
960
- *
961
- * @type {string}
962
- * @memberof GetIdentity200ResponseOrgCC
963
- */
964
- 'navigationColor'?: string;
965
- }
966
- /**
967
- *
968
- * @export
969
- * @interface ImportConnectorConfigRequestCC
970
- */
971
- export interface ImportConnectorConfigRequestCC {
972
- /**
973
- * This is the connector config zip bundle which gets uploaded.
974
- * @type {any}
975
- * @memberof ImportConnectorConfigRequestCC
976
- */
977
- 'file'?: any;
978
- }
979
- /**
980
- *
981
- * @export
982
- * @interface ListAccounts200ResponseInnerCC
983
- */
984
- export interface ListAccounts200ResponseInnerCC {
985
- /**
986
- *
987
- * @type {string}
988
- * @memberof ListAccounts200ResponseInnerCC
989
- */
990
- 'id'?: string;
991
- /**
992
- *
993
- * @type {string}
994
- * @memberof ListAccounts200ResponseInnerCC
995
- */
996
- 'type'?: string;
997
- /**
998
- *
999
- * @type {string}
1000
- * @memberof ListAccounts200ResponseInnerCC
1001
- */
1002
- 'displayName'?: string;
1003
- /**
1004
- *
1005
- * @type {string}
1006
- * @memberof ListAccounts200ResponseInnerCC
1007
- */
1008
- 'username'?: string;
1009
- /**
1010
- *
1011
- * @type {boolean}
1012
- * @memberof ListAccounts200ResponseInnerCC
1013
- */
1014
- 'passwordRequired'?: boolean;
1015
- /**
1016
- *
1017
- * @type {boolean}
1018
- * @memberof ListAccounts200ResponseInnerCC
1019
- */
1020
- 'passwordProvided'?: boolean;
1021
- /**
1022
- *
1023
- * @type {Array<object>}
1024
- * @memberof ListAccounts200ResponseInnerCC
1025
- */
1026
- 'apps'?: Array<object>;
1027
- /**
1028
- *
1029
- * @type {string}
1030
- * @memberof ListAccounts200ResponseInnerCC
1031
- */
1032
- 'ssoMethod'?: string;
1033
- /**
1034
- *
1035
- * @type {string}
1036
- * @memberof ListAccounts200ResponseInnerCC
1037
- */
1038
- 'idEncryption'?: string;
1039
- /**
1040
- *
1041
- * @type {string}
1042
- * @memberof ListAccounts200ResponseInnerCC
1043
- */
1044
- 'passwordEncryption'?: string;
1045
- /**
1046
- *
1047
- * @type {string}
1048
- * @memberof ListAccounts200ResponseInnerCC
1049
- */
1050
- 'lastPasswdChange'?: string | null;
1051
- /**
1052
- *
1053
- * @type {string}
1054
- * @memberof ListAccounts200ResponseInnerCC
1055
- */
1056
- 'serviceName'?: string;
1057
- /**
1058
- *
1059
- * @type {string}
1060
- * @memberof ListAccounts200ResponseInnerCC
1061
- */
1062
- 'dateDisabled'?: string | null;
1063
- /**
1064
- *
1065
- * @type {number}
1066
- * @memberof ListAccounts200ResponseInnerCC
1067
- */
1068
- 'accountServiceId'?: number;
1069
- /**
1070
- *
1071
- * @type {number}
1072
- * @memberof ListAccounts200ResponseInnerCC
1073
- */
1074
- 'serviceId'?: number;
1075
- /**
1076
- *
1077
- * @type {string}
1078
- * @memberof ListAccounts200ResponseInnerCC
1079
- */
1080
- 'pendingPasswordRequestId'?: string | null;
1081
- /**
1082
- *
1083
- * @type {string}
1084
- * @memberof ListAccounts200ResponseInnerCC
1085
- */
1086
- 'passwordChangeStatus'?: string;
1087
- /**
1088
- *
1089
- * @type {ListAccounts200ResponseInnerPasswordChangeResultCC}
1090
- * @memberof ListAccounts200ResponseInnerCC
1091
- */
1092
- 'passwordChangeResult'?: ListAccounts200ResponseInnerPasswordChangeResultCC;
1093
- }
1094
- /**
1095
- *
1096
- * @export
1097
- * @interface ListAccounts200ResponseInnerPasswordChangeResultCC
1098
- */
1099
- export interface ListAccounts200ResponseInnerPasswordChangeResultCC {
1100
- /**
1101
- *
1102
- * @type {string}
1103
- * @memberof ListAccounts200ResponseInnerPasswordChangeResultCC
1104
- */
1105
- 'completionStatus'?: string;
1106
- }
1107
- /**
1108
- *
1109
- * @export
1110
- * @interface ListApplications200ResponseInnerAccountServicePoliciesInnerCC
1111
- */
1112
- export interface ListApplications200ResponseInnerAccountServicePoliciesInnerCC {
1113
- /**
1114
- *
1115
- * @type {string}
1116
- * @memberof ListApplications200ResponseInnerAccountServicePoliciesInnerCC
1117
- */
1118
- 'policyId'?: string;
1119
- /**
1120
- *
1121
- * @type {string}
1122
- * @memberof ListApplications200ResponseInnerAccountServicePoliciesInnerCC
1123
- */
1124
- 'policyName'?: string;
1125
- /**
1126
- *
1127
- * @type {object}
1128
- * @memberof ListApplications200ResponseInnerAccountServicePoliciesInnerCC
1129
- */
1130
- 'selectors'?: object;
1131
- }
1132
- /**
1133
- *
1134
- * @export
1135
- * @interface ListApplications200ResponseInnerAppProfilesInnerCC
1136
- */
1137
- export interface ListApplications200ResponseInnerAppProfilesInnerCC {
1138
- /**
1139
- *
1140
- * @type {number}
1141
- * @memberof ListApplications200ResponseInnerAppProfilesInnerCC
1142
- */
1143
- 'id'?: number;
1144
- /**
1145
- *
1146
- * @type {string}
1147
- * @memberof ListApplications200ResponseInnerAppProfilesInnerCC
1148
- */
1149
- 'filename'?: string;
1150
- /**
1151
- *
1152
- * @type {string}
1153
- * @memberof ListApplications200ResponseInnerAppProfilesInnerCC
1154
- */
1155
- 'createdBy'?: string;
1156
- /**
1157
- *
1158
- * @type {string}
1159
- * @memberof ListApplications200ResponseInnerAppProfilesInnerCC
1160
- */
1161
- 'dateCreated'?: string;
1162
- /**
1163
- *
1164
- * @type {string}
1165
- * @memberof ListApplications200ResponseInnerAppProfilesInnerCC
1166
- */
1167
- 'xsdVersion'?: string;
1168
- }
1169
- /**
1170
- *
1171
- * @export
1172
- * @interface ListApplications200ResponseInnerCC
1173
- */
1174
- export interface ListApplications200ResponseInnerCC {
1175
- /**
1176
- *
1177
- * @type {string}
1178
- * @memberof ListApplications200ResponseInnerCC
1179
- */
1180
- 'id'?: string;
1181
- /**
1182
- *
1183
- * @type {string}
1184
- * @memberof ListApplications200ResponseInnerCC
1185
- */
1186
- 'appId'?: string;
1187
- /**
1188
- *
1189
- * @type {string}
1190
- * @memberof ListApplications200ResponseInnerCC
1191
- */
1192
- 'serviceId'?: string;
1193
- /**
1194
- *
1195
- * @type {string}
1196
- * @memberof ListApplications200ResponseInnerCC
1197
- */
1198
- 'serviceAppId'?: string;
1199
- /**
1200
- *
1201
- * @type {string}
1202
- * @memberof ListApplications200ResponseInnerCC
1203
- */
1204
- 'name'?: string;
1205
- /**
1206
- *
1207
- * @type {string}
1208
- * @memberof ListApplications200ResponseInnerCC
1209
- */
1210
- 'description'?: string;
1211
- /**
1212
- *
1213
- * @type {boolean}
1214
- * @memberof ListApplications200ResponseInnerCC
1215
- */
1216
- 'appCenterEnabled'?: boolean;
1217
- /**
1218
- *
1219
- * @type {boolean}
1220
- * @memberof ListApplications200ResponseInnerCC
1221
- */
1222
- 'provisionRequestEnabled'?: boolean;
1223
- /**
1224
- *
1225
- * @type {string}
1226
- * @memberof ListApplications200ResponseInnerCC
1227
- */
1228
- 'controlType'?: string;
1229
- /**
1230
- *
1231
- * @type {boolean}
1232
- * @memberof ListApplications200ResponseInnerCC
1233
- */
1234
- 'mobile'?: boolean;
1235
- /**
1236
- *
1237
- * @type {boolean}
1238
- * @memberof ListApplications200ResponseInnerCC
1239
- */
1240
- 'privateApp'?: boolean;
1241
- /**
1242
- *
1243
- * @type {string}
1244
- * @memberof ListApplications200ResponseInnerCC
1245
- */
1246
- 'scriptName'?: string;
1247
- /**
1248
- *
1249
- * @type {string}
1250
- * @memberof ListApplications200ResponseInnerCC
1251
- */
1252
- 'status'?: string;
1253
- /**
1254
- *
1255
- * @type {string}
1256
- * @memberof ListApplications200ResponseInnerCC
1257
- */
1258
- 'icon'?: string;
1259
- /**
1260
- *
1261
- * @type {ListApplications200ResponseInnerHealthCC}
1262
- * @memberof ListApplications200ResponseInnerCC
1263
- */
1264
- 'health'?: ListApplications200ResponseInnerHealthCC;
1265
- /**
1266
- *
1267
- * @type {boolean}
1268
- * @memberof ListApplications200ResponseInnerCC
1269
- */
1270
- 'enableSso'?: boolean;
1271
- /**
1272
- *
1273
- * @type {string}
1274
- * @memberof ListApplications200ResponseInnerCC
1275
- */
1276
- 'ssoMethod'?: string;
1277
- /**
1278
- *
1279
- * @type {boolean}
1280
- * @memberof ListApplications200ResponseInnerCC
1281
- */
1282
- 'hasLinks'?: boolean;
1283
- /**
1284
- *
1285
- * @type {boolean}
1286
- * @memberof ListApplications200ResponseInnerCC
1287
- */
1288
- 'hasAutomations'?: boolean;
1289
- /**
1290
- *
1291
- * @type {object}
1292
- * @memberof ListApplications200ResponseInnerCC
1293
- */
1294
- 'stepUpAuthData'?: object;
1295
- /**
1296
- *
1297
- * @type {string}
1298
- * @memberof ListApplications200ResponseInnerCC
1299
- */
1300
- 'stepUpAuthType'?: string;
1301
- /**
1302
- *
1303
- * @type {boolean}
1304
- * @memberof ListApplications200ResponseInnerCC
1305
- */
1306
- 'usageAnalytics'?: boolean;
1307
- /**
1308
- *
1309
- * @type {boolean}
1310
- * @memberof ListApplications200ResponseInnerCC
1311
- */
1312
- 'usageCertRequired'?: boolean;
1313
- /**
1314
- *
1315
- * @type {object}
1316
- * @memberof ListApplications200ResponseInnerCC
1317
- */
1318
- 'usageCertText'?: object;
1319
- /**
1320
- *
1321
- * @type {boolean}
1322
- * @memberof ListApplications200ResponseInnerCC
1323
- */
1324
- 'launchpadEnabled'?: boolean;
1325
- /**
1326
- *
1327
- * @type {boolean}
1328
- * @memberof ListApplications200ResponseInnerCC
1329
- */
1330
- 'passwordManaged'?: boolean;
1331
- /**
1332
- *
1333
- * @type {ListApplications200ResponseInnerOwnerCC}
1334
- * @memberof ListApplications200ResponseInnerCC
1335
- */
1336
- 'owner'?: ListApplications200ResponseInnerOwnerCC;
1337
- /**
1338
- *
1339
- * @type {number}
1340
- * @memberof ListApplications200ResponseInnerCC
1341
- */
1342
- 'dateCreated'?: number;
1343
- /**
1344
- *
1345
- * @type {number}
1346
- * @memberof ListApplications200ResponseInnerCC
1347
- */
1348
- 'lastUpdated'?: number;
1349
- /**
1350
- *
1351
- * @type {object}
1352
- * @memberof ListApplications200ResponseInnerCC
1353
- */
1354
- 'defaultAccessProfile'?: object;
1355
- /**
1356
- *
1357
- * @type {string}
1358
- * @memberof ListApplications200ResponseInnerCC
1359
- */
1360
- 'service'?: string;
1361
- /**
1362
- *
1363
- * @type {string}
1364
- * @memberof ListApplications200ResponseInnerCC
1365
- */
1366
- 'selectedSsoMethod'?: string;
1367
- /**
1368
- *
1369
- * @type {number}
1370
- * @memberof ListApplications200ResponseInnerCC
1371
- */
1372
- 'supportedSsoMethods'?: number;
1373
- /**
1374
- *
1375
- * @type {object}
1376
- * @memberof ListApplications200ResponseInnerCC
1377
- */
1378
- 'offNetworkBlockedRoles'?: object;
1379
- /**
1380
- *
1381
- * @type {string}
1382
- * @memberof ListApplications200ResponseInnerCC
1383
- */
1384
- 'supportedOffNetwork'?: string;
1385
- /**
1386
- *
1387
- * @type {number}
1388
- * @memberof ListApplications200ResponseInnerCC
1389
- */
1390
- 'accountServiceId'?: number;
1391
- /**
1392
- *
1393
- * @type {number}
1394
- * @memberof ListApplications200ResponseInnerCC
1395
- */
1396
- 'launcherCount'?: number;
1397
- /**
1398
- *
1399
- * @type {string}
1400
- * @memberof ListApplications200ResponseInnerCC
1401
- */
1402
- 'accountServiceName'?: string;
1403
- /**
1404
- *
1405
- * @type {string}
1406
- * @memberof ListApplications200ResponseInnerCC
1407
- */
1408
- 'accountServiceExternalId'?: string;
1409
- /**
1410
- *
1411
- * @type {boolean}
1412
- * @memberof ListApplications200ResponseInnerCC
1413
- */
1414
- 'accountServiceMatchAllAccounts'?: boolean;
1415
- /**
1416
- *
1417
- * @type {string}
1418
- * @memberof ListApplications200ResponseInnerCC
1419
- */
1420
- 'externalId'?: string;
1421
- /**
1422
- *
1423
- * @type {boolean}
1424
- * @memberof ListApplications200ResponseInnerCC
1425
- */
1426
- 'accountServiceUseForPasswordManagement'?: boolean;
1427
- /**
1428
- *
1429
- * @type {string}
1430
- * @memberof ListApplications200ResponseInnerCC
1431
- */
1432
- 'accountServicePolicyId'?: string;
1433
- /**
1434
- *
1435
- * @type {string}
1436
- * @memberof ListApplications200ResponseInnerCC
1437
- */
1438
- 'accountServicePolicyName'?: string;
1439
- /**
1440
- *
1441
- * @type {boolean}
1442
- * @memberof ListApplications200ResponseInnerCC
1443
- */
1444
- 'requireStrongAuthn'?: boolean;
1445
- /**
1446
- *
1447
- * @type {Array<ListApplications200ResponseInnerAccountServicePoliciesInnerCC>}
1448
- * @memberof ListApplications200ResponseInnerCC
1449
- */
1450
- 'accountServicePolicies'?: Array<ListApplications200ResponseInnerAccountServicePoliciesInnerCC>;
1451
- /**
1452
- *
1453
- * @type {string}
1454
- * @memberof ListApplications200ResponseInnerCC
1455
- */
1456
- 'xsdVersion'?: string;
1457
- /**
1458
- *
1459
- * @type {Array<ListApplications200ResponseInnerAppProfilesInnerCC>}
1460
- * @memberof ListApplications200ResponseInnerCC
1461
- */
1462
- 'appProfiles'?: Array<ListApplications200ResponseInnerAppProfilesInnerCC>;
1463
- /**
1464
- *
1465
- * @type {number}
1466
- * @memberof ListApplications200ResponseInnerCC
1467
- */
1468
- 'passwordServiceId'?: number;
1469
- /**
1470
- *
1471
- * @type {Array<string>}
1472
- * @memberof ListApplications200ResponseInnerCC
1473
- */
1474
- 'accessProfileIds'?: Array<string>;
1475
- }
1476
- /**
1477
- *
1478
- * @export
1479
- * @interface ListApplications200ResponseInnerHealthCC
1480
- */
1481
- export interface ListApplications200ResponseInnerHealthCC {
1482
- /**
1483
- *
1484
- * @type {string}
1485
- * @memberof ListApplications200ResponseInnerHealthCC
1486
- */
1487
- 'status'?: string;
1488
- /**
1489
- *
1490
- * @type {string}
1491
- * @memberof ListApplications200ResponseInnerHealthCC
1492
- */
1493
- 'lastChanged'?: string;
1494
- /**
1495
- *
1496
- * @type {number}
1497
- * @memberof ListApplications200ResponseInnerHealthCC
1498
- */
1499
- 'since'?: number;
1500
- /**
1501
- *
1502
- * @type {boolean}
1503
- * @memberof ListApplications200ResponseInnerHealthCC
1504
- */
1505
- 'healthy'?: boolean;
1506
- }
1507
- /**
1508
- *
1509
- * @export
1510
- * @interface ListApplications200ResponseInnerOwnerCC
1511
- */
1512
- export interface ListApplications200ResponseInnerOwnerCC {
1513
- /**
1514
- *
1515
- * @type {string}
1516
- * @memberof ListApplications200ResponseInnerOwnerCC
1517
- */
1518
- 'id'?: string;
1519
- /**
1520
- *
1521
- * @type {string}
1522
- * @memberof ListApplications200ResponseInnerOwnerCC
1523
- */
1524
- 'name'?: string;
1525
- }
1526
- /**
1527
- *
1528
- * @export
1529
- * @interface ListConnectors200ResponseCC
1530
- */
1531
- export interface ListConnectors200ResponseCC {
1532
- /**
1533
- *
1534
- * @type {number}
1535
- * @memberof ListConnectors200ResponseCC
1536
- */
1537
- 'total'?: number;
1538
- /**
1539
- *
1540
- * @type {Array<ListConnectors200ResponseItemsInnerCC>}
1541
- * @memberof ListConnectors200ResponseCC
1542
- */
1543
- 'items'?: Array<ListConnectors200ResponseItemsInnerCC>;
1544
- }
1545
- /**
1546
- *
1547
- * @export
1548
- * @interface ListConnectors200ResponseItemsInnerCC
1549
- */
1550
- export interface ListConnectors200ResponseItemsInnerCC {
1551
- /**
1552
- *
1553
- * @type {string}
1554
- * @memberof ListConnectors200ResponseItemsInnerCC
1555
- */
1556
- 'applicationXml'?: string | null;
1557
- /**
1558
- *
1559
- * @type {string}
1560
- * @memberof ListConnectors200ResponseItemsInnerCC
1561
- */
1562
- 'className'?: string | null;
1563
- /**
1564
- *
1565
- * @type {object}
1566
- * @memberof ListConnectors200ResponseItemsInnerCC
1567
- */
1568
- 'connectorMetadata'?: object;
1569
- /**
1570
- *
1571
- * @type {string}
1572
- * @memberof ListConnectors200ResponseItemsInnerCC
1573
- */
1574
- 'correlationConfigXml'?: string | null;
1575
- /**
1576
- *
1577
- * @type {boolean}
1578
- * @memberof ListConnectors200ResponseItemsInnerCC
1579
- */
1580
- 'directConnect'?: boolean;
1581
- /**
1582
- *
1583
- * @type {boolean}
1584
- * @memberof ListConnectors200ResponseItemsInnerCC
1585
- */
1586
- 'fileUpload'?: boolean;
1587
- /**
1588
- *
1589
- * @type {number}
1590
- * @memberof ListConnectors200ResponseItemsInnerCC
1591
- */
1592
- 'id'?: number;
1593
- /**
1594
- *
1595
- * @type {string}
1596
- * @memberof ListConnectors200ResponseItemsInnerCC
1597
- */
1598
- 'name'?: string;
1599
- /**
1600
- *
1601
- * @type {string}
1602
- * @memberof ListConnectors200ResponseItemsInnerCC
1603
- */
1604
- 's3Location'?: string | null;
1605
- /**
1606
- *
1607
- * @type {string}
1608
- * @memberof ListConnectors200ResponseItemsInnerCC
1609
- */
1610
- 'scope'?: string;
1611
- /**
1612
- *
1613
- * @type {string}
1614
- * @memberof ListConnectors200ResponseItemsInnerCC
1615
- */
1616
- 'scriptName'?: string;
1617
- /**
1618
- *
1619
- * @type {string}
1620
- * @memberof ListConnectors200ResponseItemsInnerCC
1621
- */
1622
- 'sourceConfig'?: string | null;
1623
- /**
1624
- *
1625
- * @type {string}
1626
- * @memberof ListConnectors200ResponseItemsInnerCC
1627
- */
1628
- 'sourceConfigFrom'?: string | null;
1629
- /**
1630
- *
1631
- * @type {string}
1632
- * @memberof ListConnectors200ResponseItemsInnerCC
1633
- */
1634
- 'sourceConfigXml'?: string | null;
1635
- /**
1636
- *
1637
- * @type {string}
1638
- * @memberof ListConnectors200ResponseItemsInnerCC
1639
- */
1640
- 'status'?: string;
1641
- /**
1642
- *
1643
- * @type {object}
1644
- * @memberof ListConnectors200ResponseItemsInnerCC
1645
- */
1646
- 'translationProperties'?: object;
1647
- /**
1648
- *
1649
- * @type {string}
1650
- * @memberof ListConnectors200ResponseItemsInnerCC
1651
- */
1652
- 'type'?: string;
1653
- /**
1654
- *
1655
- * @type {Array<object>}
1656
- * @memberof ListConnectors200ResponseItemsInnerCC
1657
- */
1658
- 'uploadedFiles'?: Array<object>;
1659
- }
1660
- /**
1661
- *
1662
- * @export
1663
- * @interface LoadAccountsRequestCC
1664
- */
1665
- export interface LoadAccountsRequestCC {
1666
- /**
1667
- *
1668
- * @type {boolean}
1669
- * @memberof LoadAccountsRequestCC
1670
- */
1671
- 'disableOptimization'?: boolean;
1672
- /**
1673
- *
1674
- * @type {any}
1675
- * @memberof LoadAccountsRequestCC
1676
- */
1677
- 'file'?: any;
1678
- }
1679
- /**
1680
- *
1681
- * @export
1682
- * @interface LoadEntitlementsRequestCC
1683
- */
1684
- export interface LoadEntitlementsRequestCC {
1685
- /**
1686
- *
1687
- * @type {any}
1688
- * @memberof LoadEntitlementsRequestCC
1689
- */
1690
- 'file'?: any;
1691
- }
1692
- /**
1693
- *
1694
- * @export
1695
- * @interface RefreshIdentitiesRequestCC
1696
- */
1697
- export interface RefreshIdentitiesRequestCC {
1698
- /**
1699
- * Defines the identity or identities which this refresh applies to. The filter must use searchable identity attributes. If the filter cannot be understood or parsed, all identities will be refreshed.
1700
- * @type {string}
1701
- * @memberof RefreshIdentitiesRequestCC
1702
- */
1703
- 'filter'?: string;
1704
- /**
1705
- *
1706
- * @type {RefreshIdentitiesRequestRefreshArgsCC}
1707
- * @memberof RefreshIdentitiesRequestCC
1708
- */
1709
- 'refreshArgs'?: RefreshIdentitiesRequestRefreshArgsCC;
1710
- }
1711
- /**
1712
- *
1713
- * @export
1714
- * @interface RefreshIdentitiesRequestRefreshArgsCC
1715
- */
1716
- export interface RefreshIdentitiesRequestRefreshArgsCC {
1717
- /**
1718
- * This will refresh entitlement, role, and access profile calculations.
1719
- * @type {boolean}
1720
- * @memberof RefreshIdentitiesRequestRefreshArgsCC
1721
- */
1722
- 'correlateEntitlements'?: boolean;
1723
- /**
1724
- * This will calculate identity attributes.
1725
- * @type {boolean}
1726
- * @memberof RefreshIdentitiesRequestRefreshArgsCC
1727
- */
1728
- 'promoteAttributes'?: boolean;
1729
- /**
1730
- * This recalculates manager correlation and manager status. Note: This is computationally expensive to run.
1731
- * @type {boolean}
1732
- * @memberof RefreshIdentitiesRequestRefreshArgsCC
1733
- */
1734
- 'refreshManagerStatus'?: boolean;
1735
- /**
1736
- * Enables attribute synchronization.
1737
- * @type {boolean}
1738
- * @memberof RefreshIdentitiesRequestRefreshArgsCC
1739
- */
1740
- 'synchronizeAttributes'?: boolean;
1741
- /**
1742
- * Option that will enable deletion of an identity objects if there are no account objects. Note: This is not typically used in IdentityNow, except by guidance from SailPoint.
1743
- * @type {boolean}
1744
- * @memberof RefreshIdentitiesRequestRefreshArgsCC
1745
- */
1746
- 'pruneIdentities'?: boolean;
1747
- /**
1748
- * Enables provisioning of role assignments with entitlements that are not currently fulfilled.
1749
- * @type {boolean}
1750
- * @memberof RefreshIdentitiesRequestRefreshArgsCC
1751
- */
1752
- 'provision'?: boolean;
1753
- }
1754
- /**
1755
- *
1756
- * @export
1757
- * @interface UpdateUserPermissionsRequestCC
1758
- */
1759
- export interface UpdateUserPermissionsRequestCC {
1760
- /**
1761
- *
1762
- * @type {string}
1763
- * @memberof UpdateUserPermissionsRequestCC
1764
- */
1765
- 'ids'?: string;
1766
- /**
1767
- * Indicates if user should be an IDN Admin. \"0\" for false, \"1\" for true.
1768
- * @type {string}
1769
- * @memberof UpdateUserPermissionsRequestCC
1770
- */
1771
- 'isAdmin'?: string;
1772
- /**
1773
- *
1774
- * @type {string}
1775
- * @memberof UpdateUserPermissionsRequestCC
1776
- */
1777
- 'adminType'?: UpdateUserPermissionsRequestCCAdminTypeEnum;
1778
- }
1779
-
1780
- export const UpdateUserPermissionsRequestCCAdminTypeEnum = {
1781
- Admin: 'ADMIN',
1782
- CertAdmin: 'CERT_ADMIN',
1783
- Helpdesk: 'HELPDESK',
1784
- ReportAdmin: 'REPORT_ADMIN',
1785
- RoleAdmin: 'ROLE_ADMIN',
1786
- RoleSubadmin: 'ROLE_SUBADMIN',
1787
- SourceAdmin: 'SOURCE_ADMIN',
1788
- SourceSubadmin: 'SOURCE_SUBADMIN'
1789
- } as const;
1790
-
1791
- export type UpdateUserPermissionsRequestCCAdminTypeEnum = typeof UpdateUserPermissionsRequestCCAdminTypeEnum[keyof typeof UpdateUserPermissionsRequestCCAdminTypeEnum];
1792
-
1793
-
1794
- /**
1795
- * AccountsCCApi - axios parameter creator
1796
- * @export
1797
- */
1798
- export const AccountsCCApiAxiosParamCreator = function (configuration?: Configuration) {
1799
- return {
1800
- /**
1801
- *
1802
- * @summary List Accounts
1803
- * @param {*} [axiosOptions] Override http request option.
1804
- * @throws {RequiredError}
1805
- */
1806
- listAccounts: async (axiosOptions: AxiosRequestConfig = {}): Promise<RequestArgs> => {
1807
- const localVarPath = `/cc/api/account/list`;
1808
- // use dummy base URL string because the URL constructor only accepts absolute URLs.
1809
- const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
1810
- let baseOptions;
1811
- if (configuration) {
1812
- baseOptions = configuration.baseOptions;
1813
- }
1814
-
1815
- const localVarRequestOptions = { method: 'GET', ...baseOptions, ...axiosOptions};
1816
- const localVarHeaderParameter = {} as any;
1817
- const localVarQueryParameter = {} as any;
1818
-
1819
- // authentication UserContextAuth required
1820
- // oauth required
1821
- await setOAuthToObject(localVarHeaderParameter, "UserContextAuth", [], configuration)
1822
-
1823
- // authentication UserContextAuth required
1824
- // oauth required
1825
- await setOAuthToObject(localVarHeaderParameter, "UserContextAuth", [], configuration)
1826
-
1827
-
1828
-
1829
- setSearchParams(localVarUrlObj, localVarQueryParameter);
1830
- let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
1831
- localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...axiosOptions.headers};
1832
-
1833
- return {
1834
- url: toPathString(localVarUrlObj),
1835
- axiosOptions: localVarRequestOptions,
1836
- };
1837
- },
1838
- /**
1839
- *
1840
- * @summary Remove Account
1841
- * @param {string} id
1842
- * @param {*} [axiosOptions] Override http request option.
1843
- * @throws {RequiredError}
1844
- */
1845
- removeAccount: async (id: string, axiosOptions: AxiosRequestConfig = {}): Promise<RequestArgs> => {
1846
- // verify required parameter 'id' is not null or undefined
1847
- assertParamExists('removeAccount', 'id', id)
1848
- const localVarPath = `/cc/api/account/remove/{id}`
1849
- .replace(`{${"id"}}`, encodeURIComponent(String(id)));
1850
- // use dummy base URL string because the URL constructor only accepts absolute URLs.
1851
- const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
1852
- let baseOptions;
1853
- if (configuration) {
1854
- baseOptions = configuration.baseOptions;
1855
- }
1856
-
1857
- const localVarRequestOptions = { method: 'POST', ...baseOptions, ...axiosOptions};
1858
- const localVarHeaderParameter = {} as any;
1859
- const localVarQueryParameter = {} as any;
1860
-
1861
- // authentication UserContextAuth required
1862
- // oauth required
1863
- await setOAuthToObject(localVarHeaderParameter, "UserContextAuth", [], configuration)
1864
-
1865
- // authentication UserContextAuth required
1866
- // oauth required
1867
- await setOAuthToObject(localVarHeaderParameter, "UserContextAuth", [], configuration)
1868
-
1869
-
1870
-
1871
- setSearchParams(localVarUrlObj, localVarQueryParameter);
1872
- let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
1873
- localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...axiosOptions.headers};
1874
-
1875
- return {
1876
- url: toPathString(localVarUrlObj),
1877
- axiosOptions: localVarRequestOptions,
1878
- };
1879
- },
1880
- }
1881
- };
1882
-
1883
- /**
1884
- * AccountsCCApi - functional programming interface
1885
- * @export
1886
- */
1887
- export const AccountsCCApiFp = function(configuration?: Configuration) {
1888
- const localVarAxiosParamCreator = AccountsCCApiAxiosParamCreator(configuration)
1889
- return {
1890
- /**
1891
- *
1892
- * @summary List Accounts
1893
- * @param {*} [axiosOptions] Override http request option.
1894
- * @throws {RequiredError}
1895
- */
1896
- async listAccounts(axiosOptions?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<ListAccounts200ResponseInnerCC>>> {
1897
- const localVarAxiosArgs = await localVarAxiosParamCreator.listAccounts(axiosOptions);
1898
- return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
1899
- },
1900
- /**
1901
- *
1902
- * @summary Remove Account
1903
- * @param {string} id
1904
- * @param {*} [axiosOptions] Override http request option.
1905
- * @throws {RequiredError}
1906
- */
1907
- async removeAccount(id: string, axiosOptions?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
1908
- const localVarAxiosArgs = await localVarAxiosParamCreator.removeAccount(id, axiosOptions);
1909
- return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
1910
- },
1911
- }
1912
- };
1913
-
1914
- /**
1915
- * AccountsCCApi - factory interface
1916
- * @export
1917
- */
1918
- export const AccountsCCApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
1919
- const localVarFp = AccountsCCApiFp(configuration)
1920
- return {
1921
- /**
1922
- *
1923
- * @summary List Accounts
1924
- * @param {*} [axiosOptions] Override http request option.
1925
- * @throws {RequiredError}
1926
- */
1927
- listAccounts(axiosOptions?: any): AxiosPromise<Array<ListAccounts200ResponseInnerCC>> {
1928
- return localVarFp.listAccounts(axiosOptions).then((request) => request(axios, basePath));
1929
- },
1930
- /**
1931
- *
1932
- * @summary Remove Account
1933
- * @param {string} id
1934
- * @param {*} [axiosOptions] Override http request option.
1935
- * @throws {RequiredError}
1936
- */
1937
- removeAccount(id: string, axiosOptions?: any): AxiosPromise<void> {
1938
- return localVarFp.removeAccount(id, axiosOptions).then((request) => request(axios, basePath));
1939
- },
1940
- };
1941
- };
1942
-
1943
- /**
1944
- * Request parameters for removeAccount operation in AccountsCCApi.
1945
- * @export
1946
- * @interface AccountsCCApiRemoveAccountRequest
1947
- */
1948
- export interface AccountsCCApiRemoveAccountRequest {
1949
- /**
1950
- *
1951
- * @type {string}
1952
- * @memberof AccountsCCApiRemoveAccount
1953
- */
1954
- readonly id: string
1955
- }
1956
-
1957
- /**
1958
- * AccountsCCApi - object-oriented interface
1959
- * @export
1960
- * @class AccountsCCApi
1961
- * @extends {BaseAPI}
1962
- */
1963
- export class AccountsCCApi extends BaseAPI {
1964
- /**
1965
- *
1966
- * @summary List Accounts
1967
- * @param {*} [axiosOptions] Override http request option.
1968
- * @throws {RequiredError}
1969
- * @memberof AccountsCCApi
1970
- */
1971
- public listAccounts(axiosOptions?: AxiosRequestConfig) {
1972
- return AccountsCCApiFp(this.configuration).listAccounts(axiosOptions).then((request) => request(this.axios, this.basePath));
1973
- }
1974
-
1975
- /**
1976
- *
1977
- * @summary Remove Account
1978
- * @param {AccountsCCApiRemoveAccountRequest} requestParameters Request parameters.
1979
- * @param {*} [axiosOptions] Override http request option.
1980
- * @throws {RequiredError}
1981
- * @memberof AccountsCCApi
1982
- */
1983
- public removeAccount(requestParameters: AccountsCCApiRemoveAccountRequest, axiosOptions?: AxiosRequestConfig) {
1984
- return AccountsCCApiFp(this.configuration).removeAccount(requestParameters.id, axiosOptions).then((request) => request(this.axios, this.basePath));
1985
- }
1986
- }
1987
-
1988
-
1989
- /**
1990
- * ApplicationsCCApi - axios parameter creator
1991
- * @export
1992
- */
1993
- export const ApplicationsCCApiAxiosParamCreator = function (configuration?: Configuration) {
1994
- return {
1995
- /**
1996
- *
1997
- * @summary Create Application
1998
- * @param {CreateApplicationRequestCC} [createApplicationRequestCC]
1999
- * @param {*} [axiosOptions] Override http request option.
2000
- * @throws {RequiredError}
2001
- */
2002
- createApplication: async (createApplicationRequestCC?: CreateApplicationRequestCC, axiosOptions: AxiosRequestConfig = {}): Promise<RequestArgs> => {
2003
- const localVarPath = `/cc/api/app/create`;
2004
- // use dummy base URL string because the URL constructor only accepts absolute URLs.
2005
- const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
2006
- let baseOptions;
2007
- if (configuration) {
2008
- baseOptions = configuration.baseOptions;
2009
- }
2010
-
2011
- const localVarRequestOptions = { method: 'POST', ...baseOptions, ...axiosOptions};
2012
- const localVarHeaderParameter = {} as any;
2013
- const localVarQueryParameter = {} as any;
2014
-
2015
- // authentication UserContextAuth required
2016
- // oauth required
2017
- await setOAuthToObject(localVarHeaderParameter, "UserContextAuth", [], configuration)
2018
-
2019
- // authentication UserContextAuth required
2020
- // oauth required
2021
- await setOAuthToObject(localVarHeaderParameter, "UserContextAuth", [], configuration)
2022
-
2023
-
2024
-
2025
- localVarHeaderParameter['Content-Type'] = 'application/json';
2026
-
2027
- setSearchParams(localVarUrlObj, localVarQueryParameter);
2028
- let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
2029
- localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...axiosOptions.headers};
2030
- localVarRequestOptions.data = serializeDataIfNeeded(createApplicationRequestCC, localVarRequestOptions, configuration)
2031
-
2032
- return {
2033
- url: toPathString(localVarUrlObj),
2034
- axiosOptions: localVarRequestOptions,
2035
- };
2036
- },
2037
- /**
2038
- *
2039
- * @summary Delete Application
2040
- * @param {string} id
2041
- * @param {*} [axiosOptions] Override http request option.
2042
- * @throws {RequiredError}
2043
- */
2044
- deleteApplication: async (id: string, axiosOptions: AxiosRequestConfig = {}): Promise<RequestArgs> => {
2045
- // verify required parameter 'id' is not null or undefined
2046
- assertParamExists('deleteApplication', 'id', id)
2047
- const localVarPath = `/cc/api/app/delete/{id}`
2048
- .replace(`{${"id"}}`, encodeURIComponent(String(id)));
2049
- // use dummy base URL string because the URL constructor only accepts absolute URLs.
2050
- const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
2051
- let baseOptions;
2052
- if (configuration) {
2053
- baseOptions = configuration.baseOptions;
2054
- }
2055
-
2056
- const localVarRequestOptions = { method: 'POST', ...baseOptions, ...axiosOptions};
2057
- const localVarHeaderParameter = {} as any;
2058
- const localVarQueryParameter = {} as any;
2059
-
2060
- // authentication UserContextAuth required
2061
- // oauth required
2062
- await setOAuthToObject(localVarHeaderParameter, "UserContextAuth", [], configuration)
2063
-
2064
- // authentication UserContextAuth required
2065
- // oauth required
2066
- await setOAuthToObject(localVarHeaderParameter, "UserContextAuth", [], configuration)
2067
-
2068
-
2069
-
2070
- setSearchParams(localVarUrlObj, localVarQueryParameter);
2071
- let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
2072
- localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...axiosOptions.headers};
2073
-
2074
- return {
2075
- url: toPathString(localVarUrlObj),
2076
- axiosOptions: localVarRequestOptions,
2077
- };
2078
- },
2079
- /**
2080
- *
2081
- * @summary Get Single Application
2082
- * @param {string} id
2083
- * @param {*} [axiosOptions] Override http request option.
2084
- * @throws {RequiredError}
2085
- */
2086
- getApplication: async (id: string, axiosOptions: AxiosRequestConfig = {}): Promise<RequestArgs> => {
2087
- // verify required parameter 'id' is not null or undefined
2088
- assertParamExists('getApplication', 'id', id)
2089
- const localVarPath = `/cc/api/app/get/{id}`
2090
- .replace(`{${"id"}}`, encodeURIComponent(String(id)));
2091
- // use dummy base URL string because the URL constructor only accepts absolute URLs.
2092
- const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
2093
- let baseOptions;
2094
- if (configuration) {
2095
- baseOptions = configuration.baseOptions;
2096
- }
2097
-
2098
- const localVarRequestOptions = { method: 'GET', ...baseOptions, ...axiosOptions};
2099
- const localVarHeaderParameter = {} as any;
2100
- const localVarQueryParameter = {} as any;
2101
-
2102
- // authentication UserContextAuth required
2103
- // oauth required
2104
- await setOAuthToObject(localVarHeaderParameter, "UserContextAuth", [], configuration)
2105
-
2106
- // authentication UserContextAuth required
2107
- // oauth required
2108
- await setOAuthToObject(localVarHeaderParameter, "UserContextAuth", [], configuration)
2109
-
2110
-
2111
-
2112
- setSearchParams(localVarUrlObj, localVarQueryParameter);
2113
- let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
2114
- localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...axiosOptions.headers};
2115
-
2116
- return {
2117
- url: toPathString(localVarUrlObj),
2118
- axiosOptions: localVarRequestOptions,
2119
- };
2120
- },
2121
- /**
2122
- *
2123
- * @summary Get Access Profiles for Application
2124
- * @param {string} id
2125
- * @param {*} [axiosOptions] Override http request option.
2126
- * @throws {RequiredError}
2127
- */
2128
- getApplicationAccessProfiles: async (id: string, axiosOptions: AxiosRequestConfig = {}): Promise<RequestArgs> => {
2129
- // verify required parameter 'id' is not null or undefined
2130
- assertParamExists('getApplicationAccessProfiles', 'id', id)
2131
- const localVarPath = `/cc/api/app/getAccessProfiles/{id}`
2132
- .replace(`{${"id"}}`, encodeURIComponent(String(id)));
2133
- // use dummy base URL string because the URL constructor only accepts absolute URLs.
2134
- const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
2135
- let baseOptions;
2136
- if (configuration) {
2137
- baseOptions = configuration.baseOptions;
2138
- }
2139
-
2140
- const localVarRequestOptions = { method: 'GET', ...baseOptions, ...axiosOptions};
2141
- const localVarHeaderParameter = {} as any;
2142
- const localVarQueryParameter = {} as any;
2143
-
2144
-
2145
-
2146
- setSearchParams(localVarUrlObj, localVarQueryParameter);
2147
- let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
2148
- localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...axiosOptions.headers};
2149
-
2150
- return {
2151
- url: toPathString(localVarUrlObj),
2152
- axiosOptions: localVarRequestOptions,
2153
- };
2154
- },
2155
- /**
2156
- *
2157
- * @summary List Applications
2158
- * @param {*} [axiosOptions] Override http request option.
2159
- * @throws {RequiredError}
2160
- */
2161
- listApplications: async (axiosOptions: AxiosRequestConfig = {}): Promise<RequestArgs> => {
2162
- const localVarPath = `/cc/api/app/list`;
2163
- // use dummy base URL string because the URL constructor only accepts absolute URLs.
2164
- const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
2165
- let baseOptions;
2166
- if (configuration) {
2167
- baseOptions = configuration.baseOptions;
2168
- }
2169
-
2170
- const localVarRequestOptions = { method: 'GET', ...baseOptions, ...axiosOptions};
2171
- const localVarHeaderParameter = {} as any;
2172
- const localVarQueryParameter = {} as any;
2173
-
2174
- // authentication UserContextAuth required
2175
- // oauth required
2176
- await setOAuthToObject(localVarHeaderParameter, "UserContextAuth", [], configuration)
2177
-
2178
- // authentication UserContextAuth required
2179
- // oauth required
2180
- await setOAuthToObject(localVarHeaderParameter, "UserContextAuth", [], configuration)
2181
-
2182
-
2183
-
2184
- setSearchParams(localVarUrlObj, localVarQueryParameter);
2185
- let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
2186
- localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...axiosOptions.headers};
2187
-
2188
- return {
2189
- url: toPathString(localVarUrlObj),
2190
- axiosOptions: localVarRequestOptions,
2191
- };
2192
- },
2193
- /**
2194
- *
2195
- * @summary Update Application
2196
- * @param {string} id
2197
- * @param {{ [key: string]: any; }} [requestBody]
2198
- * @param {*} [axiosOptions] Override http request option.
2199
- * @throws {RequiredError}
2200
- */
2201
- updateApplication: async (id: string, requestBody?: { [key: string]: any; }, axiosOptions: AxiosRequestConfig = {}): Promise<RequestArgs> => {
2202
- // verify required parameter 'id' is not null or undefined
2203
- assertParamExists('updateApplication', 'id', id)
2204
- const localVarPath = `/cc/api/app/update/{id}`
2205
- .replace(`{${"id"}}`, encodeURIComponent(String(id)));
2206
- // use dummy base URL string because the URL constructor only accepts absolute URLs.
2207
- const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
2208
- let baseOptions;
2209
- if (configuration) {
2210
- baseOptions = configuration.baseOptions;
2211
- }
2212
-
2213
- const localVarRequestOptions = { method: 'POST', ...baseOptions, ...axiosOptions};
2214
- const localVarHeaderParameter = {} as any;
2215
- const localVarQueryParameter = {} as any;
2216
-
2217
- // authentication UserContextAuth required
2218
- // oauth required
2219
- await setOAuthToObject(localVarHeaderParameter, "UserContextAuth", [], configuration)
2220
-
2221
- // authentication UserContextAuth required
2222
- // oauth required
2223
- await setOAuthToObject(localVarHeaderParameter, "UserContextAuth", [], configuration)
2224
-
2225
-
2226
-
2227
- localVarHeaderParameter['Content-Type'] = 'application/json';
2228
-
2229
- setSearchParams(localVarUrlObj, localVarQueryParameter);
2230
- let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
2231
- localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...axiosOptions.headers};
2232
- localVarRequestOptions.data = serializeDataIfNeeded(requestBody, localVarRequestOptions, configuration)
2233
-
2234
- return {
2235
- url: toPathString(localVarUrlObj),
2236
- axiosOptions: localVarRequestOptions,
2237
- };
2238
- },
2239
- }
2240
- };
2241
-
2242
- /**
2243
- * ApplicationsCCApi - functional programming interface
2244
- * @export
2245
- */
2246
- export const ApplicationsCCApiFp = function(configuration?: Configuration) {
2247
- const localVarAxiosParamCreator = ApplicationsCCApiAxiosParamCreator(configuration)
2248
- return {
2249
- /**
2250
- *
2251
- * @summary Create Application
2252
- * @param {CreateApplicationRequestCC} [createApplicationRequestCC]
2253
- * @param {*} [axiosOptions] Override http request option.
2254
- * @throws {RequiredError}
2255
- */
2256
- async createApplication(createApplicationRequestCC?: CreateApplicationRequestCC, axiosOptions?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<{ [key: string]: any; }>> {
2257
- const localVarAxiosArgs = await localVarAxiosParamCreator.createApplication(createApplicationRequestCC, axiosOptions);
2258
- return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
2259
- },
2260
- /**
2261
- *
2262
- * @summary Delete Application
2263
- * @param {string} id
2264
- * @param {*} [axiosOptions] Override http request option.
2265
- * @throws {RequiredError}
2266
- */
2267
- async deleteApplication(id: string, axiosOptions?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
2268
- const localVarAxiosArgs = await localVarAxiosParamCreator.deleteApplication(id, axiosOptions);
2269
- return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
2270
- },
2271
- /**
2272
- *
2273
- * @summary Get Single Application
2274
- * @param {string} id
2275
- * @param {*} [axiosOptions] Override http request option.
2276
- * @throws {RequiredError}
2277
- */
2278
- async getApplication(id: string, axiosOptions?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetApplication200ResponseCC>> {
2279
- const localVarAxiosArgs = await localVarAxiosParamCreator.getApplication(id, axiosOptions);
2280
- return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
2281
- },
2282
- /**
2283
- *
2284
- * @summary Get Access Profiles for Application
2285
- * @param {string} id
2286
- * @param {*} [axiosOptions] Override http request option.
2287
- * @throws {RequiredError}
2288
- */
2289
- async getApplicationAccessProfiles(id: string, axiosOptions?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<{ [key: string]: any; }>> {
2290
- const localVarAxiosArgs = await localVarAxiosParamCreator.getApplicationAccessProfiles(id, axiosOptions);
2291
- return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
2292
- },
2293
- /**
2294
- *
2295
- * @summary List Applications
2296
- * @param {*} [axiosOptions] Override http request option.
2297
- * @throws {RequiredError}
2298
- */
2299
- async listApplications(axiosOptions?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<ListApplications200ResponseInnerCC>>> {
2300
- const localVarAxiosArgs = await localVarAxiosParamCreator.listApplications(axiosOptions);
2301
- return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
2302
- },
2303
- /**
2304
- *
2305
- * @summary Update Application
2306
- * @param {string} id
2307
- * @param {{ [key: string]: any; }} [requestBody]
2308
- * @param {*} [axiosOptions] Override http request option.
2309
- * @throws {RequiredError}
2310
- */
2311
- async updateApplication(id: string, requestBody?: { [key: string]: any; }, axiosOptions?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<{ [key: string]: any; }>> {
2312
- const localVarAxiosArgs = await localVarAxiosParamCreator.updateApplication(id, requestBody, axiosOptions);
2313
- return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
2314
- },
2315
- }
2316
- };
2317
-
2318
- /**
2319
- * ApplicationsCCApi - factory interface
2320
- * @export
2321
- */
2322
- export const ApplicationsCCApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
2323
- const localVarFp = ApplicationsCCApiFp(configuration)
2324
- return {
2325
- /**
2326
- *
2327
- * @summary Create Application
2328
- * @param {CreateApplicationRequestCC} [createApplicationRequestCC]
2329
- * @param {*} [axiosOptions] Override http request option.
2330
- * @throws {RequiredError}
2331
- */
2332
- createApplication(createApplicationRequestCC?: CreateApplicationRequestCC, axiosOptions?: any): AxiosPromise<{ [key: string]: any; }> {
2333
- return localVarFp.createApplication(createApplicationRequestCC, axiosOptions).then((request) => request(axios, basePath));
2334
- },
2335
- /**
2336
- *
2337
- * @summary Delete Application
2338
- * @param {string} id
2339
- * @param {*} [axiosOptions] Override http request option.
2340
- * @throws {RequiredError}
2341
- */
2342
- deleteApplication(id: string, axiosOptions?: any): AxiosPromise<void> {
2343
- return localVarFp.deleteApplication(id, axiosOptions).then((request) => request(axios, basePath));
2344
- },
2345
- /**
2346
- *
2347
- * @summary Get Single Application
2348
- * @param {string} id
2349
- * @param {*} [axiosOptions] Override http request option.
2350
- * @throws {RequiredError}
2351
- */
2352
- getApplication(id: string, axiosOptions?: any): AxiosPromise<GetApplication200ResponseCC> {
2353
- return localVarFp.getApplication(id, axiosOptions).then((request) => request(axios, basePath));
2354
- },
2355
- /**
2356
- *
2357
- * @summary Get Access Profiles for Application
2358
- * @param {string} id
2359
- * @param {*} [axiosOptions] Override http request option.
2360
- * @throws {RequiredError}
2361
- */
2362
- getApplicationAccessProfiles(id: string, axiosOptions?: any): AxiosPromise<{ [key: string]: any; }> {
2363
- return localVarFp.getApplicationAccessProfiles(id, axiosOptions).then((request) => request(axios, basePath));
2364
- },
2365
- /**
2366
- *
2367
- * @summary List Applications
2368
- * @param {*} [axiosOptions] Override http request option.
2369
- * @throws {RequiredError}
2370
- */
2371
- listApplications(axiosOptions?: any): AxiosPromise<Array<ListApplications200ResponseInnerCC>> {
2372
- return localVarFp.listApplications(axiosOptions).then((request) => request(axios, basePath));
2373
- },
2374
- /**
2375
- *
2376
- * @summary Update Application
2377
- * @param {string} id
2378
- * @param {{ [key: string]: any; }} [requestBody]
2379
- * @param {*} [axiosOptions] Override http request option.
2380
- * @throws {RequiredError}
2381
- */
2382
- updateApplication(id: string, requestBody?: { [key: string]: any; }, axiosOptions?: any): AxiosPromise<{ [key: string]: any; }> {
2383
- return localVarFp.updateApplication(id, requestBody, axiosOptions).then((request) => request(axios, basePath));
2384
- },
2385
- };
2386
- };
2387
-
2388
- /**
2389
- * Request parameters for createApplication operation in ApplicationsCCApi.
2390
- * @export
2391
- * @interface ApplicationsCCApiCreateApplicationRequest
2392
- */
2393
- export interface ApplicationsCCApiCreateApplicationRequest {
2394
- /**
2395
- *
2396
- * @type {CreateApplicationRequestCC}
2397
- * @memberof ApplicationsCCApiCreateApplication
2398
- */
2399
- readonly createApplicationRequestCC?: CreateApplicationRequestCC
2400
- }
2401
-
2402
- /**
2403
- * Request parameters for deleteApplication operation in ApplicationsCCApi.
2404
- * @export
2405
- * @interface ApplicationsCCApiDeleteApplicationRequest
2406
- */
2407
- export interface ApplicationsCCApiDeleteApplicationRequest {
2408
- /**
2409
- *
2410
- * @type {string}
2411
- * @memberof ApplicationsCCApiDeleteApplication
2412
- */
2413
- readonly id: string
2414
- }
2415
-
2416
- /**
2417
- * Request parameters for getApplication operation in ApplicationsCCApi.
2418
- * @export
2419
- * @interface ApplicationsCCApiGetApplicationRequest
2420
- */
2421
- export interface ApplicationsCCApiGetApplicationRequest {
2422
- /**
2423
- *
2424
- * @type {string}
2425
- * @memberof ApplicationsCCApiGetApplication
2426
- */
2427
- readonly id: string
2428
- }
2429
-
2430
- /**
2431
- * Request parameters for getApplicationAccessProfiles operation in ApplicationsCCApi.
2432
- * @export
2433
- * @interface ApplicationsCCApiGetApplicationAccessProfilesRequest
2434
- */
2435
- export interface ApplicationsCCApiGetApplicationAccessProfilesRequest {
2436
- /**
2437
- *
2438
- * @type {string}
2439
- * @memberof ApplicationsCCApiGetApplicationAccessProfiles
2440
- */
2441
- readonly id: string
2442
- }
2443
-
2444
- /**
2445
- * Request parameters for updateApplication operation in ApplicationsCCApi.
2446
- * @export
2447
- * @interface ApplicationsCCApiUpdateApplicationRequest
2448
- */
2449
- export interface ApplicationsCCApiUpdateApplicationRequest {
2450
- /**
2451
- *
2452
- * @type {string}
2453
- * @memberof ApplicationsCCApiUpdateApplication
2454
- */
2455
- readonly id: string
2456
-
2457
- /**
2458
- *
2459
- * @type {{ [key: string]: any; }}
2460
- * @memberof ApplicationsCCApiUpdateApplication
2461
- */
2462
- readonly requestBody?: { [key: string]: any; }
2463
- }
2464
-
2465
- /**
2466
- * ApplicationsCCApi - object-oriented interface
2467
- * @export
2468
- * @class ApplicationsCCApi
2469
- * @extends {BaseAPI}
2470
- */
2471
- export class ApplicationsCCApi extends BaseAPI {
2472
- /**
2473
- *
2474
- * @summary Create Application
2475
- * @param {ApplicationsCCApiCreateApplicationRequest} requestParameters Request parameters.
2476
- * @param {*} [axiosOptions] Override http request option.
2477
- * @throws {RequiredError}
2478
- * @memberof ApplicationsCCApi
2479
- */
2480
- public createApplication(requestParameters: ApplicationsCCApiCreateApplicationRequest = {}, axiosOptions?: AxiosRequestConfig) {
2481
- return ApplicationsCCApiFp(this.configuration).createApplication(requestParameters.createApplicationRequestCC, axiosOptions).then((request) => request(this.axios, this.basePath));
2482
- }
2483
-
2484
- /**
2485
- *
2486
- * @summary Delete Application
2487
- * @param {ApplicationsCCApiDeleteApplicationRequest} requestParameters Request parameters.
2488
- * @param {*} [axiosOptions] Override http request option.
2489
- * @throws {RequiredError}
2490
- * @memberof ApplicationsCCApi
2491
- */
2492
- public deleteApplication(requestParameters: ApplicationsCCApiDeleteApplicationRequest, axiosOptions?: AxiosRequestConfig) {
2493
- return ApplicationsCCApiFp(this.configuration).deleteApplication(requestParameters.id, axiosOptions).then((request) => request(this.axios, this.basePath));
2494
- }
2495
-
2496
- /**
2497
- *
2498
- * @summary Get Single Application
2499
- * @param {ApplicationsCCApiGetApplicationRequest} requestParameters Request parameters.
2500
- * @param {*} [axiosOptions] Override http request option.
2501
- * @throws {RequiredError}
2502
- * @memberof ApplicationsCCApi
2503
- */
2504
- public getApplication(requestParameters: ApplicationsCCApiGetApplicationRequest, axiosOptions?: AxiosRequestConfig) {
2505
- return ApplicationsCCApiFp(this.configuration).getApplication(requestParameters.id, axiosOptions).then((request) => request(this.axios, this.basePath));
2506
- }
2507
-
2508
- /**
2509
- *
2510
- * @summary Get Access Profiles for Application
2511
- * @param {ApplicationsCCApiGetApplicationAccessProfilesRequest} requestParameters Request parameters.
2512
- * @param {*} [axiosOptions] Override http request option.
2513
- * @throws {RequiredError}
2514
- * @memberof ApplicationsCCApi
2515
- */
2516
- public getApplicationAccessProfiles(requestParameters: ApplicationsCCApiGetApplicationAccessProfilesRequest, axiosOptions?: AxiosRequestConfig) {
2517
- return ApplicationsCCApiFp(this.configuration).getApplicationAccessProfiles(requestParameters.id, axiosOptions).then((request) => request(this.axios, this.basePath));
2518
- }
2519
-
2520
- /**
2521
- *
2522
- * @summary List Applications
2523
- * @param {*} [axiosOptions] Override http request option.
2524
- * @throws {RequiredError}
2525
- * @memberof ApplicationsCCApi
2526
- */
2527
- public listApplications(axiosOptions?: AxiosRequestConfig) {
2528
- return ApplicationsCCApiFp(this.configuration).listApplications(axiosOptions).then((request) => request(this.axios, this.basePath));
2529
- }
2530
-
2531
- /**
2532
- *
2533
- * @summary Update Application
2534
- * @param {ApplicationsCCApiUpdateApplicationRequest} requestParameters Request parameters.
2535
- * @param {*} [axiosOptions] Override http request option.
2536
- * @throws {RequiredError}
2537
- * @memberof ApplicationsCCApi
2538
- */
2539
- public updateApplication(requestParameters: ApplicationsCCApiUpdateApplicationRequest, axiosOptions?: AxiosRequestConfig) {
2540
- return ApplicationsCCApiFp(this.configuration).updateApplication(requestParameters.id, requestParameters.requestBody, axiosOptions).then((request) => request(this.axios, this.basePath));
2541
- }
2542
- }
2543
-
2544
-
2545
- /**
2546
- * ConnectorsCCApi - axios parameter creator
2547
- * @export
2548
- */
2549
- export const ConnectorsCCApiAxiosParamCreator = function (configuration?: Configuration) {
2550
- return {
2551
- /**
2552
- *
2553
- * @summary Create Connector
2554
- * @param {string} [contentType]
2555
- * @param {string} [name]
2556
- * @param {string} [description]
2557
- * @param {string} [className]
2558
- * @param {boolean} [directConnect]
2559
- * @param {string} [status]
2560
- * @param {*} [axiosOptions] Override http request option.
2561
- * @throws {RequiredError}
2562
- */
2563
- createConnector: async (contentType?: string, name?: string, description?: string, className?: string, directConnect?: boolean, status?: string, axiosOptions: AxiosRequestConfig = {}): Promise<RequestArgs> => {
2564
- const localVarPath = `/cc/api/connector/create`;
2565
- // use dummy base URL string because the URL constructor only accepts absolute URLs.
2566
- const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
2567
- let baseOptions;
2568
- if (configuration) {
2569
- baseOptions = configuration.baseOptions;
2570
- }
2571
-
2572
- const localVarRequestOptions = { method: 'POST', ...baseOptions, ...axiosOptions};
2573
- const localVarHeaderParameter = {} as any;
2574
- const localVarQueryParameter = {} as any;
2575
- const localVarFormParams = new URLSearchParams();
2576
-
2577
- // authentication UserContextAuth required
2578
- // oauth required
2579
- await setOAuthToObject(localVarHeaderParameter, "UserContextAuth", [], configuration)
2580
-
2581
- // authentication UserContextAuth required
2582
- // oauth required
2583
- await setOAuthToObject(localVarHeaderParameter, "UserContextAuth", [], configuration)
2584
-
2585
- if (contentType !== undefined && contentType !== null) {
2586
- localVarHeaderParameter['Content-Type'] = String(contentType);
2587
- }
2588
-
2589
-
2590
- if (name !== undefined) {
2591
- localVarFormParams.set('name', name as any);
2592
- }
2593
-
2594
- if (description !== undefined) {
2595
- localVarFormParams.set('description', description as any);
2596
- }
2597
-
2598
- if (className !== undefined) {
2599
- localVarFormParams.set('className', className as any);
2600
- }
2601
-
2602
- if (directConnect !== undefined) {
2603
- localVarFormParams.set('directConnect', directConnect as any);
2604
- }
2605
-
2606
- if (status !== undefined) {
2607
- localVarFormParams.set('status', status as any);
2608
- }
2609
-
2610
-
2611
- localVarHeaderParameter['Content-Type'] = 'application/x-www-form-urlencoded';
2612
-
2613
- setSearchParams(localVarUrlObj, localVarQueryParameter);
2614
- let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
2615
- localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...axiosOptions.headers};
2616
- localVarRequestOptions.data = localVarFormParams.toString();
2617
-
2618
- return {
2619
- url: toPathString(localVarUrlObj),
2620
- axiosOptions: localVarRequestOptions,
2621
- };
2622
- },
2623
- /**
2624
- *
2625
- * @summary Delete Connector
2626
- * @param {string} id
2627
- * @param {*} [axiosOptions] Override http request option.
2628
- * @throws {RequiredError}
2629
- */
2630
- deleteConnector: async (id: string, axiosOptions: AxiosRequestConfig = {}): Promise<RequestArgs> => {
2631
- // verify required parameter 'id' is not null or undefined
2632
- assertParamExists('deleteConnector', 'id', id)
2633
- const localVarPath = `/cc/api/connector/delete/{id}`
2634
- .replace(`{${"id"}}`, encodeURIComponent(String(id)));
2635
- // use dummy base URL string because the URL constructor only accepts absolute URLs.
2636
- const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
2637
- let baseOptions;
2638
- if (configuration) {
2639
- baseOptions = configuration.baseOptions;
2640
- }
2641
-
2642
- const localVarRequestOptions = { method: 'POST', ...baseOptions, ...axiosOptions};
2643
- const localVarHeaderParameter = {} as any;
2644
- const localVarQueryParameter = {} as any;
2645
-
2646
- // authentication UserContextAuth required
2647
- // oauth required
2648
- await setOAuthToObject(localVarHeaderParameter, "UserContextAuth", [], configuration)
2649
-
2650
- // authentication UserContextAuth required
2651
- // oauth required
2652
- await setOAuthToObject(localVarHeaderParameter, "UserContextAuth", [], configuration)
2653
-
2654
-
2655
-
2656
- setSearchParams(localVarUrlObj, localVarQueryParameter);
2657
- let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
2658
- localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...axiosOptions.headers};
2659
-
2660
- return {
2661
- url: toPathString(localVarUrlObj),
2662
- axiosOptions: localVarRequestOptions,
2663
- };
2664
- },
2665
- /**
2666
- *
2667
- * @summary Export Connector Config
2668
- * @param {string} id
2669
- * @param {*} [axiosOptions] Override http request option.
2670
- * @throws {RequiredError}
2671
- */
2672
- exportConnectorConfig: async (id: string, axiosOptions: AxiosRequestConfig = {}): Promise<RequestArgs> => {
2673
- // verify required parameter 'id' is not null or undefined
2674
- assertParamExists('exportConnectorConfig', 'id', id)
2675
- const localVarPath = `/cc/api/connector/export/{id}`
2676
- .replace(`{${"id"}}`, encodeURIComponent(String(id)));
2677
- // use dummy base URL string because the URL constructor only accepts absolute URLs.
2678
- const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
2679
- let baseOptions;
2680
- if (configuration) {
2681
- baseOptions = configuration.baseOptions;
2682
- }
2683
-
2684
- const localVarRequestOptions = { method: 'GET', ...baseOptions, ...axiosOptions};
2685
- const localVarHeaderParameter = {} as any;
2686
- const localVarQueryParameter = {} as any;
2687
-
2688
- // authentication UserContextAuth required
2689
- // oauth required
2690
- await setOAuthToObject(localVarHeaderParameter, "UserContextAuth", [], configuration)
2691
-
2692
- // authentication UserContextAuth required
2693
- // oauth required
2694
- await setOAuthToObject(localVarHeaderParameter, "UserContextAuth", [], configuration)
2695
-
2696
-
2697
-
2698
- setSearchParams(localVarUrlObj, localVarQueryParameter);
2699
- let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
2700
- localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...axiosOptions.headers};
2701
-
2702
- return {
2703
- url: toPathString(localVarUrlObj),
2704
- axiosOptions: localVarRequestOptions,
2705
- };
2706
- },
2707
- /**
2708
- *
2709
- * @summary Import Connector Config
2710
- * @param {string} id
2711
- * @param {any} [file] This is the connector config zip bundle which gets uploaded.
2712
- * @param {*} [axiosOptions] Override http request option.
2713
- * @throws {RequiredError}
2714
- */
2715
- importConnectorConfig: async (id: string, file?: any, axiosOptions: AxiosRequestConfig = {}): Promise<RequestArgs> => {
2716
- // verify required parameter 'id' is not null or undefined
2717
- assertParamExists('importConnectorConfig', 'id', id)
2718
- const localVarPath = `/cc/api/connector/import/{id}`
2719
- .replace(`{${"id"}}`, encodeURIComponent(String(id)));
2720
- // use dummy base URL string because the URL constructor only accepts absolute URLs.
2721
- const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
2722
- let baseOptions;
2723
- if (configuration) {
2724
- baseOptions = configuration.baseOptions;
2725
- }
2726
-
2727
- const localVarRequestOptions = { method: 'POST', ...baseOptions, ...axiosOptions};
2728
- const localVarHeaderParameter = {} as any;
2729
- const localVarQueryParameter = {} as any;
2730
- const localVarFormParams = new ((configuration && configuration.formDataCtor) || FormData)();
2731
-
2732
- // authentication UserContextAuth required
2733
- // oauth required
2734
- await setOAuthToObject(localVarHeaderParameter, "UserContextAuth", [], configuration)
2735
-
2736
- // authentication UserContextAuth required
2737
- // oauth required
2738
- await setOAuthToObject(localVarHeaderParameter, "UserContextAuth", [], configuration)
2739
-
2740
-
2741
- if (file !== undefined) {
2742
- localVarFormParams.append('file', file as any);
2743
- }
2744
-
2745
-
2746
- localVarHeaderParameter['Content-Type'] = 'multipart/form-data';
2747
-
2748
- setSearchParams(localVarUrlObj, localVarQueryParameter);
2749
- let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
2750
- localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...axiosOptions.headers};
2751
- localVarRequestOptions.data = localVarFormParams;
2752
-
2753
- return {
2754
- url: toPathString(localVarUrlObj),
2755
- axiosOptions: localVarRequestOptions,
2756
- };
2757
- },
2758
- /**
2759
- *
2760
- * @summary List Connectors
2761
- * @param {*} [axiosOptions] Override http request option.
2762
- * @throws {RequiredError}
2763
- */
2764
- listConnectors: async (axiosOptions: AxiosRequestConfig = {}): Promise<RequestArgs> => {
2765
- const localVarPath = `/cc/api/connector/list`;
2766
- // use dummy base URL string because the URL constructor only accepts absolute URLs.
2767
- const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
2768
- let baseOptions;
2769
- if (configuration) {
2770
- baseOptions = configuration.baseOptions;
2771
- }
2772
-
2773
- const localVarRequestOptions = { method: 'GET', ...baseOptions, ...axiosOptions};
2774
- const localVarHeaderParameter = {} as any;
2775
- const localVarQueryParameter = {} as any;
2776
-
2777
- // authentication UserContextAuth required
2778
- // oauth required
2779
- await setOAuthToObject(localVarHeaderParameter, "UserContextAuth", [], configuration)
2780
-
2781
- // authentication UserContextAuth required
2782
- // oauth required
2783
- await setOAuthToObject(localVarHeaderParameter, "UserContextAuth", [], configuration)
2784
-
2785
-
2786
-
2787
- setSearchParams(localVarUrlObj, localVarQueryParameter);
2788
- let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
2789
- localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...axiosOptions.headers};
2790
-
2791
- return {
2792
- url: toPathString(localVarUrlObj),
2793
- axiosOptions: localVarRequestOptions,
2794
- };
2795
- },
2796
- }
2797
- };
2798
-
2799
- /**
2800
- * ConnectorsCCApi - functional programming interface
2801
- * @export
2802
- */
2803
- export const ConnectorsCCApiFp = function(configuration?: Configuration) {
2804
- const localVarAxiosParamCreator = ConnectorsCCApiAxiosParamCreator(configuration)
2805
- return {
2806
- /**
2807
- *
2808
- * @summary Create Connector
2809
- * @param {string} [contentType]
2810
- * @param {string} [name]
2811
- * @param {string} [description]
2812
- * @param {string} [className]
2813
- * @param {boolean} [directConnect]
2814
- * @param {string} [status]
2815
- * @param {*} [axiosOptions] Override http request option.
2816
- * @throws {RequiredError}
2817
- */
2818
- async createConnector(contentType?: string, name?: string, description?: string, className?: string, directConnect?: boolean, status?: string, axiosOptions?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
2819
- const localVarAxiosArgs = await localVarAxiosParamCreator.createConnector(contentType, name, description, className, directConnect, status, axiosOptions);
2820
- return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
2821
- },
2822
- /**
2823
- *
2824
- * @summary Delete Connector
2825
- * @param {string} id
2826
- * @param {*} [axiosOptions] Override http request option.
2827
- * @throws {RequiredError}
2828
- */
2829
- async deleteConnector(id: string, axiosOptions?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
2830
- const localVarAxiosArgs = await localVarAxiosParamCreator.deleteConnector(id, axiosOptions);
2831
- return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
2832
- },
2833
- /**
2834
- *
2835
- * @summary Export Connector Config
2836
- * @param {string} id
2837
- * @param {*} [axiosOptions] Override http request option.
2838
- * @throws {RequiredError}
2839
- */
2840
- async exportConnectorConfig(id: string, axiosOptions?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
2841
- const localVarAxiosArgs = await localVarAxiosParamCreator.exportConnectorConfig(id, axiosOptions);
2842
- return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
2843
- },
2844
- /**
2845
- *
2846
- * @summary Import Connector Config
2847
- * @param {string} id
2848
- * @param {any} [file] This is the connector config zip bundle which gets uploaded.
2849
- * @param {*} [axiosOptions] Override http request option.
2850
- * @throws {RequiredError}
2851
- */
2852
- async importConnectorConfig(id: string, file?: any, axiosOptions?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
2853
- const localVarAxiosArgs = await localVarAxiosParamCreator.importConnectorConfig(id, file, axiosOptions);
2854
- return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
2855
- },
2856
- /**
2857
- *
2858
- * @summary List Connectors
2859
- * @param {*} [axiosOptions] Override http request option.
2860
- * @throws {RequiredError}
2861
- */
2862
- async listConnectors(axiosOptions?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListConnectors200ResponseCC>> {
2863
- const localVarAxiosArgs = await localVarAxiosParamCreator.listConnectors(axiosOptions);
2864
- return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
2865
- },
2866
- }
2867
- };
2868
-
2869
- /**
2870
- * ConnectorsCCApi - factory interface
2871
- * @export
2872
- */
2873
- export const ConnectorsCCApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
2874
- const localVarFp = ConnectorsCCApiFp(configuration)
2875
- return {
2876
- /**
2877
- *
2878
- * @summary Create Connector
2879
- * @param {string} [contentType]
2880
- * @param {string} [name]
2881
- * @param {string} [description]
2882
- * @param {string} [className]
2883
- * @param {boolean} [directConnect]
2884
- * @param {string} [status]
2885
- * @param {*} [axiosOptions] Override http request option.
2886
- * @throws {RequiredError}
2887
- */
2888
- createConnector(contentType?: string, name?: string, description?: string, className?: string, directConnect?: boolean, status?: string, axiosOptions?: any): AxiosPromise<void> {
2889
- return localVarFp.createConnector(contentType, name, description, className, directConnect, status, axiosOptions).then((request) => request(axios, basePath));
2890
- },
2891
- /**
2892
- *
2893
- * @summary Delete Connector
2894
- * @param {string} id
2895
- * @param {*} [axiosOptions] Override http request option.
2896
- * @throws {RequiredError}
2897
- */
2898
- deleteConnector(id: string, axiosOptions?: any): AxiosPromise<void> {
2899
- return localVarFp.deleteConnector(id, axiosOptions).then((request) => request(axios, basePath));
2900
- },
2901
- /**
2902
- *
2903
- * @summary Export Connector Config
2904
- * @param {string} id
2905
- * @param {*} [axiosOptions] Override http request option.
2906
- * @throws {RequiredError}
2907
- */
2908
- exportConnectorConfig(id: string, axiosOptions?: any): AxiosPromise<void> {
2909
- return localVarFp.exportConnectorConfig(id, axiosOptions).then((request) => request(axios, basePath));
2910
- },
2911
- /**
2912
- *
2913
- * @summary Import Connector Config
2914
- * @param {string} id
2915
- * @param {any} [file] This is the connector config zip bundle which gets uploaded.
2916
- * @param {*} [axiosOptions] Override http request option.
2917
- * @throws {RequiredError}
2918
- */
2919
- importConnectorConfig(id: string, file?: any, axiosOptions?: any): AxiosPromise<void> {
2920
- return localVarFp.importConnectorConfig(id, file, axiosOptions).then((request) => request(axios, basePath));
2921
- },
2922
- /**
2923
- *
2924
- * @summary List Connectors
2925
- * @param {*} [axiosOptions] Override http request option.
2926
- * @throws {RequiredError}
2927
- */
2928
- listConnectors(axiosOptions?: any): AxiosPromise<ListConnectors200ResponseCC> {
2929
- return localVarFp.listConnectors(axiosOptions).then((request) => request(axios, basePath));
2930
- },
2931
- };
2932
- };
2933
-
2934
- /**
2935
- * Request parameters for createConnector operation in ConnectorsCCApi.
2936
- * @export
2937
- * @interface ConnectorsCCApiCreateConnectorRequest
2938
- */
2939
- export interface ConnectorsCCApiCreateConnectorRequest {
2940
- /**
2941
- *
2942
- * @type {string}
2943
- * @memberof ConnectorsCCApiCreateConnector
2944
- */
2945
- readonly contentType?: string
2946
-
2947
- /**
2948
- *
2949
- * @type {string}
2950
- * @memberof ConnectorsCCApiCreateConnector
2951
- */
2952
- readonly name?: string
2953
-
2954
- /**
2955
- *
2956
- * @type {string}
2957
- * @memberof ConnectorsCCApiCreateConnector
2958
- */
2959
- readonly description?: string
2960
-
2961
- /**
2962
- *
2963
- * @type {string}
2964
- * @memberof ConnectorsCCApiCreateConnector
2965
- */
2966
- readonly className?: string
2967
-
2968
- /**
2969
- *
2970
- * @type {boolean}
2971
- * @memberof ConnectorsCCApiCreateConnector
2972
- */
2973
- readonly directConnect?: boolean
2974
-
2975
- /**
2976
- *
2977
- * @type {string}
2978
- * @memberof ConnectorsCCApiCreateConnector
2979
- */
2980
- readonly status?: string
2981
- }
2982
-
2983
- /**
2984
- * Request parameters for deleteConnector operation in ConnectorsCCApi.
2985
- * @export
2986
- * @interface ConnectorsCCApiDeleteConnectorRequest
2987
- */
2988
- export interface ConnectorsCCApiDeleteConnectorRequest {
2989
- /**
2990
- *
2991
- * @type {string}
2992
- * @memberof ConnectorsCCApiDeleteConnector
2993
- */
2994
- readonly id: string
2995
- }
2996
-
2997
- /**
2998
- * Request parameters for exportConnectorConfig operation in ConnectorsCCApi.
2999
- * @export
3000
- * @interface ConnectorsCCApiExportConnectorConfigRequest
3001
- */
3002
- export interface ConnectorsCCApiExportConnectorConfigRequest {
3003
- /**
3004
- *
3005
- * @type {string}
3006
- * @memberof ConnectorsCCApiExportConnectorConfig
3007
- */
3008
- readonly id: string
3009
- }
3010
-
3011
- /**
3012
- * Request parameters for importConnectorConfig operation in ConnectorsCCApi.
3013
- * @export
3014
- * @interface ConnectorsCCApiImportConnectorConfigRequest
3015
- */
3016
- export interface ConnectorsCCApiImportConnectorConfigRequest {
3017
- /**
3018
- *
3019
- * @type {string}
3020
- * @memberof ConnectorsCCApiImportConnectorConfig
3021
- */
3022
- readonly id: string
3023
-
3024
- /**
3025
- * This is the connector config zip bundle which gets uploaded.
3026
- * @type {any}
3027
- * @memberof ConnectorsCCApiImportConnectorConfig
3028
- */
3029
- readonly file?: any
3030
- }
3031
-
3032
- /**
3033
- * ConnectorsCCApi - object-oriented interface
3034
- * @export
3035
- * @class ConnectorsCCApi
3036
- * @extends {BaseAPI}
3037
- */
3038
- export class ConnectorsCCApi extends BaseAPI {
3039
- /**
3040
- *
3041
- * @summary Create Connector
3042
- * @param {ConnectorsCCApiCreateConnectorRequest} requestParameters Request parameters.
3043
- * @param {*} [axiosOptions] Override http request option.
3044
- * @throws {RequiredError}
3045
- * @memberof ConnectorsCCApi
3046
- */
3047
- public createConnector(requestParameters: ConnectorsCCApiCreateConnectorRequest = {}, axiosOptions?: AxiosRequestConfig) {
3048
- return ConnectorsCCApiFp(this.configuration).createConnector(requestParameters.contentType, requestParameters.name, requestParameters.description, requestParameters.className, requestParameters.directConnect, requestParameters.status, axiosOptions).then((request) => request(this.axios, this.basePath));
3049
- }
3050
-
3051
- /**
3052
- *
3053
- * @summary Delete Connector
3054
- * @param {ConnectorsCCApiDeleteConnectorRequest} requestParameters Request parameters.
3055
- * @param {*} [axiosOptions] Override http request option.
3056
- * @throws {RequiredError}
3057
- * @memberof ConnectorsCCApi
3058
- */
3059
- public deleteConnector(requestParameters: ConnectorsCCApiDeleteConnectorRequest, axiosOptions?: AxiosRequestConfig) {
3060
- return ConnectorsCCApiFp(this.configuration).deleteConnector(requestParameters.id, axiosOptions).then((request) => request(this.axios, this.basePath));
3061
- }
3062
-
3063
- /**
3064
- *
3065
- * @summary Export Connector Config
3066
- * @param {ConnectorsCCApiExportConnectorConfigRequest} requestParameters Request parameters.
3067
- * @param {*} [axiosOptions] Override http request option.
3068
- * @throws {RequiredError}
3069
- * @memberof ConnectorsCCApi
3070
- */
3071
- public exportConnectorConfig(requestParameters: ConnectorsCCApiExportConnectorConfigRequest, axiosOptions?: AxiosRequestConfig) {
3072
- return ConnectorsCCApiFp(this.configuration).exportConnectorConfig(requestParameters.id, axiosOptions).then((request) => request(this.axios, this.basePath));
3073
- }
3074
-
3075
- /**
3076
- *
3077
- * @summary Import Connector Config
3078
- * @param {ConnectorsCCApiImportConnectorConfigRequest} requestParameters Request parameters.
3079
- * @param {*} [axiosOptions] Override http request option.
3080
- * @throws {RequiredError}
3081
- * @memberof ConnectorsCCApi
3082
- */
3083
- public importConnectorConfig(requestParameters: ConnectorsCCApiImportConnectorConfigRequest, axiosOptions?: AxiosRequestConfig) {
3084
- return ConnectorsCCApiFp(this.configuration).importConnectorConfig(requestParameters.id, requestParameters.file, axiosOptions).then((request) => request(this.axios, this.basePath));
3085
- }
3086
-
3087
- /**
3088
- *
3089
- * @summary List Connectors
3090
- * @param {*} [axiosOptions] Override http request option.
3091
- * @throws {RequiredError}
3092
- * @memberof ConnectorsCCApi
3093
- */
3094
- public listConnectors(axiosOptions?: AxiosRequestConfig) {
3095
- return ConnectorsCCApiFp(this.configuration).listConnectors(axiosOptions).then((request) => request(this.axios, this.basePath));
3096
- }
3097
- }
3098
-
3099
-
3100
- /**
3101
- * SourcesAccountsCCApi - axios parameter creator
3102
- * @export
3103
- */
3104
- export const SourcesAccountsCCApiAxiosParamCreator = function (configuration?: Configuration) {
3105
- return {
3106
- /**
3107
- * Exports a CSV of the accounts for a particular source.
3108
- * @summary Export Account Feed
3109
- * @param {string} id
3110
- * @param {*} [axiosOptions] Override http request option.
3111
- * @throws {RequiredError}
3112
- */
3113
- exportAccountFeed: async (id: string, axiosOptions: AxiosRequestConfig = {}): Promise<RequestArgs> => {
3114
- // verify required parameter 'id' is not null or undefined
3115
- assertParamExists('exportAccountFeed', 'id', id)
3116
- const localVarPath = `/cc/api/source/exportAccountFeed/{id}`
3117
- .replace(`{${"id"}}`, encodeURIComponent(String(id)));
3118
- // use dummy base URL string because the URL constructor only accepts absolute URLs.
3119
- const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
3120
- let baseOptions;
3121
- if (configuration) {
3122
- baseOptions = configuration.baseOptions;
3123
- }
3124
-
3125
- const localVarRequestOptions = { method: 'GET', ...baseOptions, ...axiosOptions};
3126
- const localVarHeaderParameter = {} as any;
3127
- const localVarQueryParameter = {} as any;
3128
-
3129
- // authentication UserContextAuth required
3130
- // oauth required
3131
- await setOAuthToObject(localVarHeaderParameter, "UserContextAuth", [], configuration)
3132
-
3133
- // authentication UserContextAuth required
3134
- // oauth required
3135
- await setOAuthToObject(localVarHeaderParameter, "UserContextAuth", [], configuration)
3136
-
3137
-
3138
-
3139
- setSearchParams(localVarUrlObj, localVarQueryParameter);
3140
- let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
3141
- localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...axiosOptions.headers};
3142
-
3143
- return {
3144
- url: toPathString(localVarUrlObj),
3145
- axiosOptions: localVarRequestOptions,
3146
- };
3147
- },
3148
- }
3149
- };
3150
-
3151
- /**
3152
- * SourcesAccountsCCApi - functional programming interface
3153
- * @export
3154
- */
3155
- export const SourcesAccountsCCApiFp = function(configuration?: Configuration) {
3156
- const localVarAxiosParamCreator = SourcesAccountsCCApiAxiosParamCreator(configuration)
3157
- return {
3158
- /**
3159
- * Exports a CSV of the accounts for a particular source.
3160
- * @summary Export Account Feed
3161
- * @param {string} id
3162
- * @param {*} [axiosOptions] Override http request option.
3163
- * @throws {RequiredError}
3164
- */
3165
- async exportAccountFeed(id: string, axiosOptions?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
3166
- const localVarAxiosArgs = await localVarAxiosParamCreator.exportAccountFeed(id, axiosOptions);
3167
- return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
3168
- },
3169
- }
3170
- };
3171
-
3172
- /**
3173
- * SourcesAccountsCCApi - factory interface
3174
- * @export
3175
- */
3176
- export const SourcesAccountsCCApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
3177
- const localVarFp = SourcesAccountsCCApiFp(configuration)
3178
- return {
3179
- /**
3180
- * Exports a CSV of the accounts for a particular source.
3181
- * @summary Export Account Feed
3182
- * @param {string} id
3183
- * @param {*} [axiosOptions] Override http request option.
3184
- * @throws {RequiredError}
3185
- */
3186
- exportAccountFeed(id: string, axiosOptions?: any): AxiosPromise<void> {
3187
- return localVarFp.exportAccountFeed(id, axiosOptions).then((request) => request(axios, basePath));
3188
- },
3189
- };
3190
- };
3191
-
3192
- /**
3193
- * Request parameters for exportAccountFeed operation in SourcesAccountsCCApi.
3194
- * @export
3195
- * @interface SourcesAccountsCCApiExportAccountFeedRequest
3196
- */
3197
- export interface SourcesAccountsCCApiExportAccountFeedRequest {
3198
- /**
3199
- *
3200
- * @type {string}
3201
- * @memberof SourcesAccountsCCApiExportAccountFeed
3202
- */
3203
- readonly id: string
3204
- }
3205
-
3206
- /**
3207
- * SourcesAccountsCCApi - object-oriented interface
3208
- * @export
3209
- * @class SourcesAccountsCCApi
3210
- * @extends {BaseAPI}
3211
- */
3212
- export class SourcesAccountsCCApi extends BaseAPI {
3213
- /**
3214
- * Exports a CSV of the accounts for a particular source.
3215
- * @summary Export Account Feed
3216
- * @param {SourcesAccountsCCApiExportAccountFeedRequest} requestParameters Request parameters.
3217
- * @param {*} [axiosOptions] Override http request option.
3218
- * @throws {RequiredError}
3219
- * @memberof SourcesAccountsCCApi
3220
- */
3221
- public exportAccountFeed(requestParameters: SourcesAccountsCCApiExportAccountFeedRequest, axiosOptions?: AxiosRequestConfig) {
3222
- return SourcesAccountsCCApiFp(this.configuration).exportAccountFeed(requestParameters.id, axiosOptions).then((request) => request(this.axios, this.basePath));
3223
- }
3224
- }
3225
-
3226
-
3227
- /**
3228
- * SourcesAggregationCCApi - axios parameter creator
3229
- * @export
3230
- */
3231
- export const SourcesAggregationCCApiAxiosParamCreator = function (configuration?: Configuration) {
3232
- return {
3233
- /**
3234
- * Aggregates a delimited file for the given source. This only works for file-based sources.
3235
- * @summary Account Aggregation (File)
3236
- * @param {string} id
3237
- * @param {string} [contentType]
3238
- * @param {boolean} [disableOptimization]
3239
- * @param {any} [file]
3240
- * @param {*} [axiosOptions] Override http request option.
3241
- * @throws {RequiredError}
3242
- */
3243
- loadAccounts: async (id: string, contentType?: string, disableOptimization?: boolean, file?: any, axiosOptions: AxiosRequestConfig = {}): Promise<RequestArgs> => {
3244
- // verify required parameter 'id' is not null or undefined
3245
- assertParamExists('loadAccounts', 'id', id)
3246
- const localVarPath = `/cc/api/source/loadAccounts/{id}`
3247
- .replace(`{${"id"}}`, encodeURIComponent(String(id)));
3248
- // use dummy base URL string because the URL constructor only accepts absolute URLs.
3249
- const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
3250
- let baseOptions;
3251
- if (configuration) {
3252
- baseOptions = configuration.baseOptions;
3253
- }
3254
-
3255
- const localVarRequestOptions = { method: 'POST', ...baseOptions, ...axiosOptions};
3256
- const localVarHeaderParameter = {} as any;
3257
- const localVarQueryParameter = {} as any;
3258
- const localVarFormParams = new ((configuration && configuration.formDataCtor) || FormData)();
3259
-
3260
- // authentication UserContextAuth required
3261
- // oauth required
3262
- await setOAuthToObject(localVarHeaderParameter, "UserContextAuth", [], configuration)
3263
-
3264
- // authentication UserContextAuth required
3265
- // oauth required
3266
- await setOAuthToObject(localVarHeaderParameter, "UserContextAuth", [], configuration)
3267
-
3268
- if (contentType !== undefined && contentType !== null) {
3269
- localVarHeaderParameter['Content-Type'] = String(contentType);
3270
- }
3271
-
3272
-
3273
- if (disableOptimization !== undefined) {
3274
- localVarFormParams.append('disableOptimization', disableOptimization as any);
3275
- }
3276
-
3277
- if (file !== undefined) {
3278
- localVarFormParams.append('file', file as any);
3279
- }
3280
-
3281
-
3282
- localVarHeaderParameter['Content-Type'] = 'multipart/form-data';
3283
-
3284
- setSearchParams(localVarUrlObj, localVarQueryParameter);
3285
- let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
3286
- localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...axiosOptions.headers};
3287
- localVarRequestOptions.data = localVarFormParams;
3288
-
3289
- return {
3290
- url: toPathString(localVarUrlObj),
3291
- axiosOptions: localVarRequestOptions,
3292
- };
3293
- },
3294
- /**
3295
- * Aggregates a delimited file for the given source. This only works for file-based sources.
3296
- * @summary Account Aggregation (File)
3297
- * @param {string} id
3298
- * @param {string} [contentType]
3299
- * @param {any} [file]
3300
- * @param {*} [axiosOptions] Override http request option.
3301
- * @throws {RequiredError}
3302
- */
3303
- loadEntitlements: async (id: string, contentType?: string, file?: any, axiosOptions: AxiosRequestConfig = {}): Promise<RequestArgs> => {
3304
- // verify required parameter 'id' is not null or undefined
3305
- assertParamExists('loadEntitlements', 'id', id)
3306
- const localVarPath = `/cc/api/source/loadEntitlements/{id}`
3307
- .replace(`{${"id"}}`, encodeURIComponent(String(id)));
3308
- // use dummy base URL string because the URL constructor only accepts absolute URLs.
3309
- const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
3310
- let baseOptions;
3311
- if (configuration) {
3312
- baseOptions = configuration.baseOptions;
3313
- }
3314
-
3315
- const localVarRequestOptions = { method: 'POST', ...baseOptions, ...axiosOptions};
3316
- const localVarHeaderParameter = {} as any;
3317
- const localVarQueryParameter = {} as any;
3318
- const localVarFormParams = new ((configuration && configuration.formDataCtor) || FormData)();
3319
-
3320
- // authentication UserContextAuth required
3321
- // oauth required
3322
- await setOAuthToObject(localVarHeaderParameter, "UserContextAuth", [], configuration)
3323
-
3324
- // authentication UserContextAuth required
3325
- // oauth required
3326
- await setOAuthToObject(localVarHeaderParameter, "UserContextAuth", [], configuration)
3327
-
3328
- if (contentType !== undefined && contentType !== null) {
3329
- localVarHeaderParameter['Content-Type'] = String(contentType);
3330
- }
3331
-
3332
-
3333
- if (file !== undefined) {
3334
- localVarFormParams.append('file', file as any);
3335
- }
3336
-
3337
-
3338
- localVarHeaderParameter['Content-Type'] = 'multipart/form-data';
3339
-
3340
- setSearchParams(localVarUrlObj, localVarQueryParameter);
3341
- let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
3342
- localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...axiosOptions.headers};
3343
- localVarRequestOptions.data = localVarFormParams;
3344
-
3345
- return {
3346
- url: toPathString(localVarUrlObj),
3347
- axiosOptions: localVarRequestOptions,
3348
- };
3349
- },
3350
- }
3351
- };
3352
-
3353
- /**
3354
- * SourcesAggregationCCApi - functional programming interface
3355
- * @export
3356
- */
3357
- export const SourcesAggregationCCApiFp = function(configuration?: Configuration) {
3358
- const localVarAxiosParamCreator = SourcesAggregationCCApiAxiosParamCreator(configuration)
3359
- return {
3360
- /**
3361
- * Aggregates a delimited file for the given source. This only works for file-based sources.
3362
- * @summary Account Aggregation (File)
3363
- * @param {string} id
3364
- * @param {string} [contentType]
3365
- * @param {boolean} [disableOptimization]
3366
- * @param {any} [file]
3367
- * @param {*} [axiosOptions] Override http request option.
3368
- * @throws {RequiredError}
3369
- */
3370
- async loadAccounts(id: string, contentType?: string, disableOptimization?: boolean, file?: any, axiosOptions?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<{ [key: string]: any; }>> {
3371
- const localVarAxiosArgs = await localVarAxiosParamCreator.loadAccounts(id, contentType, disableOptimization, file, axiosOptions);
3372
- return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
3373
- },
3374
- /**
3375
- * Aggregates a delimited file for the given source. This only works for file-based sources.
3376
- * @summary Account Aggregation (File)
3377
- * @param {string} id
3378
- * @param {string} [contentType]
3379
- * @param {any} [file]
3380
- * @param {*} [axiosOptions] Override http request option.
3381
- * @throws {RequiredError}
3382
- */
3383
- async loadEntitlements(id: string, contentType?: string, file?: any, axiosOptions?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<{ [key: string]: any; }>> {
3384
- const localVarAxiosArgs = await localVarAxiosParamCreator.loadEntitlements(id, contentType, file, axiosOptions);
3385
- return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
3386
- },
3387
- }
3388
- };
3389
-
3390
- /**
3391
- * SourcesAggregationCCApi - factory interface
3392
- * @export
3393
- */
3394
- export const SourcesAggregationCCApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
3395
- const localVarFp = SourcesAggregationCCApiFp(configuration)
3396
- return {
3397
- /**
3398
- * Aggregates a delimited file for the given source. This only works for file-based sources.
3399
- * @summary Account Aggregation (File)
3400
- * @param {string} id
3401
- * @param {string} [contentType]
3402
- * @param {boolean} [disableOptimization]
3403
- * @param {any} [file]
3404
- * @param {*} [axiosOptions] Override http request option.
3405
- * @throws {RequiredError}
3406
- */
3407
- loadAccounts(id: string, contentType?: string, disableOptimization?: boolean, file?: any, axiosOptions?: any): AxiosPromise<{ [key: string]: any; }> {
3408
- return localVarFp.loadAccounts(id, contentType, disableOptimization, file, axiosOptions).then((request) => request(axios, basePath));
3409
- },
3410
- /**
3411
- * Aggregates a delimited file for the given source. This only works for file-based sources.
3412
- * @summary Account Aggregation (File)
3413
- * @param {string} id
3414
- * @param {string} [contentType]
3415
- * @param {any} [file]
3416
- * @param {*} [axiosOptions] Override http request option.
3417
- * @throws {RequiredError}
3418
- */
3419
- loadEntitlements(id: string, contentType?: string, file?: any, axiosOptions?: any): AxiosPromise<{ [key: string]: any; }> {
3420
- return localVarFp.loadEntitlements(id, contentType, file, axiosOptions).then((request) => request(axios, basePath));
3421
- },
3422
- };
3423
- };
3424
-
3425
- /**
3426
- * Request parameters for loadAccounts operation in SourcesAggregationCCApi.
3427
- * @export
3428
- * @interface SourcesAggregationCCApiLoadAccountsRequest
3429
- */
3430
- export interface SourcesAggregationCCApiLoadAccountsRequest {
3431
- /**
3432
- *
3433
- * @type {string}
3434
- * @memberof SourcesAggregationCCApiLoadAccounts
3435
- */
3436
- readonly id: string
3437
-
3438
- /**
3439
- *
3440
- * @type {string}
3441
- * @memberof SourcesAggregationCCApiLoadAccounts
3442
- */
3443
- readonly contentType?: string
3444
-
3445
- /**
3446
- *
3447
- * @type {boolean}
3448
- * @memberof SourcesAggregationCCApiLoadAccounts
3449
- */
3450
- readonly disableOptimization?: boolean
3451
-
3452
- /**
3453
- *
3454
- * @type {any}
3455
- * @memberof SourcesAggregationCCApiLoadAccounts
3456
- */
3457
- readonly file?: any
3458
- }
3459
-
3460
- /**
3461
- * Request parameters for loadEntitlements operation in SourcesAggregationCCApi.
3462
- * @export
3463
- * @interface SourcesAggregationCCApiLoadEntitlementsRequest
3464
- */
3465
- export interface SourcesAggregationCCApiLoadEntitlementsRequest {
3466
- /**
3467
- *
3468
- * @type {string}
3469
- * @memberof SourcesAggregationCCApiLoadEntitlements
3470
- */
3471
- readonly id: string
3472
-
3473
- /**
3474
- *
3475
- * @type {string}
3476
- * @memberof SourcesAggregationCCApiLoadEntitlements
3477
- */
3478
- readonly contentType?: string
3479
-
3480
- /**
3481
- *
3482
- * @type {any}
3483
- * @memberof SourcesAggregationCCApiLoadEntitlements
3484
- */
3485
- readonly file?: any
3486
- }
3487
-
3488
- /**
3489
- * SourcesAggregationCCApi - object-oriented interface
3490
- * @export
3491
- * @class SourcesAggregationCCApi
3492
- * @extends {BaseAPI}
3493
- */
3494
- export class SourcesAggregationCCApi extends BaseAPI {
3495
- /**
3496
- * Aggregates a delimited file for the given source. This only works for file-based sources.
3497
- * @summary Account Aggregation (File)
3498
- * @param {SourcesAggregationCCApiLoadAccountsRequest} requestParameters Request parameters.
3499
- * @param {*} [axiosOptions] Override http request option.
3500
- * @throws {RequiredError}
3501
- * @memberof SourcesAggregationCCApi
3502
- */
3503
- public loadAccounts(requestParameters: SourcesAggregationCCApiLoadAccountsRequest, axiosOptions?: AxiosRequestConfig) {
3504
- return SourcesAggregationCCApiFp(this.configuration).loadAccounts(requestParameters.id, requestParameters.contentType, requestParameters.disableOptimization, requestParameters.file, axiosOptions).then((request) => request(this.axios, this.basePath));
3505
- }
3506
-
3507
- /**
3508
- * Aggregates a delimited file for the given source. This only works for file-based sources.
3509
- * @summary Account Aggregation (File)
3510
- * @param {SourcesAggregationCCApiLoadEntitlementsRequest} requestParameters Request parameters.
3511
- * @param {*} [axiosOptions] Override http request option.
3512
- * @throws {RequiredError}
3513
- * @memberof SourcesAggregationCCApi
3514
- */
3515
- public loadEntitlements(requestParameters: SourcesAggregationCCApiLoadEntitlementsRequest, axiosOptions?: AxiosRequestConfig) {
3516
- return SourcesAggregationCCApiFp(this.configuration).loadEntitlements(requestParameters.id, requestParameters.contentType, requestParameters.file, axiosOptions).then((request) => request(this.axios, this.basePath));
3517
- }
3518
- }
3519
-
3520
-
3521
- /**
3522
- * SystemCCApi - axios parameter creator
3523
- * @export
3524
- */
3525
- export const SystemCCApiAxiosParamCreator = function (configuration?: Configuration) {
3526
- return {
3527
- /**
3528
- * This kicks off an identity refresh for a specified set of identity attributes. This can be a long running process. IdentityNow has pre-scheduled versions of this task at set intervals and events already, so only run this when directed by SailPoint. _Note: If the identities specified by the filter do not exist, a full identity refresh will be run. Use with caution._ Refresh Arguments: | Key | Description | |-----------------------|----------------------------------------------------| | correlateEntitlements | Analyzes entitlements, access profiles, and roles. | | promoteAttributes | Calculates identity attributes. | | refreshManagerStatus | Calculates manager correlation and manager status. | | synchronizeAttributes | Performs attribute sync provisioning. | | pruneIdentities | Removes any identities which don\'t have accounts. | | provision | Provisions any assigned roles or access profiles. |
3529
- * @summary Refresh Identities
3530
- * @param {string} [contentType]
3531
- * @param {RefreshIdentitiesRequestCC} [refreshIdentitiesRequestCC]
3532
- * @param {*} [axiosOptions] Override http request option.
3533
- * @throws {RequiredError}
3534
- */
3535
- refreshIdentities: async (contentType?: string, refreshIdentitiesRequestCC?: RefreshIdentitiesRequestCC, axiosOptions: AxiosRequestConfig = {}): Promise<RequestArgs> => {
3536
- const localVarPath = `/cc/api/system/refreshIdentities`;
3537
- // use dummy base URL string because the URL constructor only accepts absolute URLs.
3538
- const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
3539
- let baseOptions;
3540
- if (configuration) {
3541
- baseOptions = configuration.baseOptions;
3542
- }
3543
-
3544
- const localVarRequestOptions = { method: 'POST', ...baseOptions, ...axiosOptions};
3545
- const localVarHeaderParameter = {} as any;
3546
- const localVarQueryParameter = {} as any;
3547
-
3548
- // authentication UserContextAuth required
3549
- // oauth required
3550
- await setOAuthToObject(localVarHeaderParameter, "UserContextAuth", [], configuration)
3551
-
3552
- // authentication UserContextAuth required
3553
- // oauth required
3554
- await setOAuthToObject(localVarHeaderParameter, "UserContextAuth", [], configuration)
3555
-
3556
- if (contentType !== undefined && contentType !== null) {
3557
- localVarHeaderParameter['Content-Type'] = String(contentType);
3558
- }
3559
-
3560
-
3561
-
3562
- localVarHeaderParameter['Content-Type'] = 'application/json';
3563
-
3564
- setSearchParams(localVarUrlObj, localVarQueryParameter);
3565
- let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
3566
- localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...axiosOptions.headers};
3567
- localVarRequestOptions.data = serializeDataIfNeeded(refreshIdentitiesRequestCC, localVarRequestOptions, configuration)
3568
-
3569
- return {
3570
- url: toPathString(localVarUrlObj),
3571
- axiosOptions: localVarRequestOptions,
3572
- };
3573
- },
3574
- }
3575
- };
3576
-
3577
- /**
3578
- * SystemCCApi - functional programming interface
3579
- * @export
3580
- */
3581
- export const SystemCCApiFp = function(configuration?: Configuration) {
3582
- const localVarAxiosParamCreator = SystemCCApiAxiosParamCreator(configuration)
3583
- return {
3584
- /**
3585
- * This kicks off an identity refresh for a specified set of identity attributes. This can be a long running process. IdentityNow has pre-scheduled versions of this task at set intervals and events already, so only run this when directed by SailPoint. _Note: If the identities specified by the filter do not exist, a full identity refresh will be run. Use with caution._ Refresh Arguments: | Key | Description | |-----------------------|----------------------------------------------------| | correlateEntitlements | Analyzes entitlements, access profiles, and roles. | | promoteAttributes | Calculates identity attributes. | | refreshManagerStatus | Calculates manager correlation and manager status. | | synchronizeAttributes | Performs attribute sync provisioning. | | pruneIdentities | Removes any identities which don\'t have accounts. | | provision | Provisions any assigned roles or access profiles. |
3586
- * @summary Refresh Identities
3587
- * @param {string} [contentType]
3588
- * @param {RefreshIdentitiesRequestCC} [refreshIdentitiesRequestCC]
3589
- * @param {*} [axiosOptions] Override http request option.
3590
- * @throws {RequiredError}
3591
- */
3592
- async refreshIdentities(contentType?: string, refreshIdentitiesRequestCC?: RefreshIdentitiesRequestCC, axiosOptions?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<{ [key: string]: any; }>> {
3593
- const localVarAxiosArgs = await localVarAxiosParamCreator.refreshIdentities(contentType, refreshIdentitiesRequestCC, axiosOptions);
3594
- return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
3595
- },
3596
- }
3597
- };
3598
-
3599
- /**
3600
- * SystemCCApi - factory interface
3601
- * @export
3602
- */
3603
- export const SystemCCApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
3604
- const localVarFp = SystemCCApiFp(configuration)
3605
- return {
3606
- /**
3607
- * This kicks off an identity refresh for a specified set of identity attributes. This can be a long running process. IdentityNow has pre-scheduled versions of this task at set intervals and events already, so only run this when directed by SailPoint. _Note: If the identities specified by the filter do not exist, a full identity refresh will be run. Use with caution._ Refresh Arguments: | Key | Description | |-----------------------|----------------------------------------------------| | correlateEntitlements | Analyzes entitlements, access profiles, and roles. | | promoteAttributes | Calculates identity attributes. | | refreshManagerStatus | Calculates manager correlation and manager status. | | synchronizeAttributes | Performs attribute sync provisioning. | | pruneIdentities | Removes any identities which don\'t have accounts. | | provision | Provisions any assigned roles or access profiles. |
3608
- * @summary Refresh Identities
3609
- * @param {string} [contentType]
3610
- * @param {RefreshIdentitiesRequestCC} [refreshIdentitiesRequestCC]
3611
- * @param {*} [axiosOptions] Override http request option.
3612
- * @throws {RequiredError}
3613
- */
3614
- refreshIdentities(contentType?: string, refreshIdentitiesRequestCC?: RefreshIdentitiesRequestCC, axiosOptions?: any): AxiosPromise<{ [key: string]: any; }> {
3615
- return localVarFp.refreshIdentities(contentType, refreshIdentitiesRequestCC, axiosOptions).then((request) => request(axios, basePath));
3616
- },
3617
- };
3618
- };
3619
-
3620
- /**
3621
- * Request parameters for refreshIdentities operation in SystemCCApi.
3622
- * @export
3623
- * @interface SystemCCApiRefreshIdentitiesRequest
3624
- */
3625
- export interface SystemCCApiRefreshIdentitiesRequest {
3626
- /**
3627
- *
3628
- * @type {string}
3629
- * @memberof SystemCCApiRefreshIdentities
3630
- */
3631
- readonly contentType?: string
3632
-
3633
- /**
3634
- *
3635
- * @type {RefreshIdentitiesRequestCC}
3636
- * @memberof SystemCCApiRefreshIdentities
3637
- */
3638
- readonly refreshIdentitiesRequestCC?: RefreshIdentitiesRequestCC
3639
- }
3640
-
3641
- /**
3642
- * SystemCCApi - object-oriented interface
3643
- * @export
3644
- * @class SystemCCApi
3645
- * @extends {BaseAPI}
3646
- */
3647
- export class SystemCCApi extends BaseAPI {
3648
- /**
3649
- * This kicks off an identity refresh for a specified set of identity attributes. This can be a long running process. IdentityNow has pre-scheduled versions of this task at set intervals and events already, so only run this when directed by SailPoint. _Note: If the identities specified by the filter do not exist, a full identity refresh will be run. Use with caution._ Refresh Arguments: | Key | Description | |-----------------------|----------------------------------------------------| | correlateEntitlements | Analyzes entitlements, access profiles, and roles. | | promoteAttributes | Calculates identity attributes. | | refreshManagerStatus | Calculates manager correlation and manager status. | | synchronizeAttributes | Performs attribute sync provisioning. | | pruneIdentities | Removes any identities which don\'t have accounts. | | provision | Provisions any assigned roles or access profiles. |
3650
- * @summary Refresh Identities
3651
- * @param {SystemCCApiRefreshIdentitiesRequest} requestParameters Request parameters.
3652
- * @param {*} [axiosOptions] Override http request option.
3653
- * @throws {RequiredError}
3654
- * @memberof SystemCCApi
3655
- */
3656
- public refreshIdentities(requestParameters: SystemCCApiRefreshIdentitiesRequest = {}, axiosOptions?: AxiosRequestConfig) {
3657
- return SystemCCApiFp(this.configuration).refreshIdentities(requestParameters.contentType, requestParameters.refreshIdentitiesRequestCC, axiosOptions).then((request) => request(this.axios, this.basePath));
3658
- }
3659
- }
3660
-
3661
-
3662
- /**
3663
- * UserCCApi - axios parameter creator
3664
- * @export
3665
- */
3666
- export const UserCCApiAxiosParamCreator = function (configuration?: Configuration) {
3667
- return {
3668
- /**
3669
- *
3670
- * @summary Get Single Identity
3671
- * @param {string} id
3672
- * @param {*} [axiosOptions] Override http request option.
3673
- * @throws {RequiredError}
3674
- */
3675
- getIdentity: async (id: string, axiosOptions: AxiosRequestConfig = {}): Promise<RequestArgs> => {
3676
- // verify required parameter 'id' is not null or undefined
3677
- assertParamExists('getIdentity', 'id', id)
3678
- const localVarPath = `/cc/api/user/get/{id}`
3679
- .replace(`{${"id"}}`, encodeURIComponent(String(id)));
3680
- // use dummy base URL string because the URL constructor only accepts absolute URLs.
3681
- const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
3682
- let baseOptions;
3683
- if (configuration) {
3684
- baseOptions = configuration.baseOptions;
3685
- }
3686
-
3687
- const localVarRequestOptions = { method: 'GET', ...baseOptions, ...axiosOptions};
3688
- const localVarHeaderParameter = {} as any;
3689
- const localVarQueryParameter = {} as any;
3690
-
3691
- // authentication UserContextAuth required
3692
- // oauth required
3693
- await setOAuthToObject(localVarHeaderParameter, "UserContextAuth", [], configuration)
3694
-
3695
- // authentication UserContextAuth required
3696
- // oauth required
3697
- await setOAuthToObject(localVarHeaderParameter, "UserContextAuth", [], configuration)
3698
-
3699
-
3700
-
3701
- setSearchParams(localVarUrlObj, localVarQueryParameter);
3702
- let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
3703
- localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...axiosOptions.headers};
3704
-
3705
- return {
3706
- url: toPathString(localVarUrlObj),
3707
- axiosOptions: localVarRequestOptions,
3708
- };
3709
- },
3710
- /**
3711
- *
3712
- * @summary Update User Permissions
3713
- * @param {UpdateUserPermissionsRequestCC} [updateUserPermissionsRequestCC]
3714
- * @param {*} [axiosOptions] Override http request option.
3715
- * @throws {RequiredError}
3716
- */
3717
- updateUserPermissions: async (updateUserPermissionsRequestCC?: UpdateUserPermissionsRequestCC, axiosOptions: AxiosRequestConfig = {}): Promise<RequestArgs> => {
3718
- const localVarPath = `/cc/api/user/updatePermissions`;
3719
- // use dummy base URL string because the URL constructor only accepts absolute URLs.
3720
- const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
3721
- let baseOptions;
3722
- if (configuration) {
3723
- baseOptions = configuration.baseOptions;
3724
- }
3725
-
3726
- const localVarRequestOptions = { method: 'POST', ...baseOptions, ...axiosOptions};
3727
- const localVarHeaderParameter = {} as any;
3728
- const localVarQueryParameter = {} as any;
3729
-
3730
- // authentication UserContextAuth required
3731
- // oauth required
3732
- await setOAuthToObject(localVarHeaderParameter, "UserContextAuth", [], configuration)
3733
-
3734
- // authentication UserContextAuth required
3735
- // oauth required
3736
- await setOAuthToObject(localVarHeaderParameter, "UserContextAuth", [], configuration)
3737
-
3738
-
3739
-
3740
- localVarHeaderParameter['Content-Type'] = 'application/json';
3741
-
3742
- setSearchParams(localVarUrlObj, localVarQueryParameter);
3743
- let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
3744
- localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...axiosOptions.headers};
3745
- localVarRequestOptions.data = serializeDataIfNeeded(updateUserPermissionsRequestCC, localVarRequestOptions, configuration)
3746
-
3747
- return {
3748
- url: toPathString(localVarUrlObj),
3749
- axiosOptions: localVarRequestOptions,
3750
- };
3751
- },
3752
- }
3753
- };
3754
-
3755
- /**
3756
- * UserCCApi - functional programming interface
3757
- * @export
3758
- */
3759
- export const UserCCApiFp = function(configuration?: Configuration) {
3760
- const localVarAxiosParamCreator = UserCCApiAxiosParamCreator(configuration)
3761
- return {
3762
- /**
3763
- *
3764
- * @summary Get Single Identity
3765
- * @param {string} id
3766
- * @param {*} [axiosOptions] Override http request option.
3767
- * @throws {RequiredError}
3768
- */
3769
- async getIdentity(id: string, axiosOptions?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetIdentity200ResponseCC>> {
3770
- const localVarAxiosArgs = await localVarAxiosParamCreator.getIdentity(id, axiosOptions);
3771
- return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
3772
- },
3773
- /**
3774
- *
3775
- * @summary Update User Permissions
3776
- * @param {UpdateUserPermissionsRequestCC} [updateUserPermissionsRequestCC]
3777
- * @param {*} [axiosOptions] Override http request option.
3778
- * @throws {RequiredError}
3779
- */
3780
- async updateUserPermissions(updateUserPermissionsRequestCC?: UpdateUserPermissionsRequestCC, axiosOptions?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
3781
- const localVarAxiosArgs = await localVarAxiosParamCreator.updateUserPermissions(updateUserPermissionsRequestCC, axiosOptions);
3782
- return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
3783
- },
3784
- }
3785
- };
3786
-
3787
- /**
3788
- * UserCCApi - factory interface
3789
- * @export
3790
- */
3791
- export const UserCCApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
3792
- const localVarFp = UserCCApiFp(configuration)
3793
- return {
3794
- /**
3795
- *
3796
- * @summary Get Single Identity
3797
- * @param {string} id
3798
- * @param {*} [axiosOptions] Override http request option.
3799
- * @throws {RequiredError}
3800
- */
3801
- getIdentity(id: string, axiosOptions?: any): AxiosPromise<GetIdentity200ResponseCC> {
3802
- return localVarFp.getIdentity(id, axiosOptions).then((request) => request(axios, basePath));
3803
- },
3804
- /**
3805
- *
3806
- * @summary Update User Permissions
3807
- * @param {UpdateUserPermissionsRequestCC} [updateUserPermissionsRequestCC]
3808
- * @param {*} [axiosOptions] Override http request option.
3809
- * @throws {RequiredError}
3810
- */
3811
- updateUserPermissions(updateUserPermissionsRequestCC?: UpdateUserPermissionsRequestCC, axiosOptions?: any): AxiosPromise<void> {
3812
- return localVarFp.updateUserPermissions(updateUserPermissionsRequestCC, axiosOptions).then((request) => request(axios, basePath));
3813
- },
3814
- };
3815
- };
3816
-
3817
- /**
3818
- * Request parameters for getIdentity operation in UserCCApi.
3819
- * @export
3820
- * @interface UserCCApiGetIdentityRequest
3821
- */
3822
- export interface UserCCApiGetIdentityRequest {
3823
- /**
3824
- *
3825
- * @type {string}
3826
- * @memberof UserCCApiGetIdentity
3827
- */
3828
- readonly id: string
3829
- }
3830
-
3831
- /**
3832
- * Request parameters for updateUserPermissions operation in UserCCApi.
3833
- * @export
3834
- * @interface UserCCApiUpdateUserPermissionsRequest
3835
- */
3836
- export interface UserCCApiUpdateUserPermissionsRequest {
3837
- /**
3838
- *
3839
- * @type {UpdateUserPermissionsRequestCC}
3840
- * @memberof UserCCApiUpdateUserPermissions
3841
- */
3842
- readonly updateUserPermissionsRequestCC?: UpdateUserPermissionsRequestCC
3843
- }
3844
-
3845
- /**
3846
- * UserCCApi - object-oriented interface
3847
- * @export
3848
- * @class UserCCApi
3849
- * @extends {BaseAPI}
3850
- */
3851
- export class UserCCApi extends BaseAPI {
3852
- /**
3853
- *
3854
- * @summary Get Single Identity
3855
- * @param {UserCCApiGetIdentityRequest} requestParameters Request parameters.
3856
- * @param {*} [axiosOptions] Override http request option.
3857
- * @throws {RequiredError}
3858
- * @memberof UserCCApi
3859
- */
3860
- public getIdentity(requestParameters: UserCCApiGetIdentityRequest, axiosOptions?: AxiosRequestConfig) {
3861
- return UserCCApiFp(this.configuration).getIdentity(requestParameters.id, axiosOptions).then((request) => request(this.axios, this.basePath));
3862
- }
3863
-
3864
- /**
3865
- *
3866
- * @summary Update User Permissions
3867
- * @param {UserCCApiUpdateUserPermissionsRequest} requestParameters Request parameters.
3868
- * @param {*} [axiosOptions] Override http request option.
3869
- * @throws {RequiredError}
3870
- * @memberof UserCCApi
3871
- */
3872
- public updateUserPermissions(requestParameters: UserCCApiUpdateUserPermissionsRequest = {}, axiosOptions?: AxiosRequestConfig) {
3873
- return UserCCApiFp(this.configuration).updateUserPermissions(requestParameters.updateUserPermissionsRequestCC, axiosOptions).then((request) => request(this.axios, this.basePath));
3874
- }
3875
- }
3876
-
3877
-