@rasadov/lumoar-sdk 1.0.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (73) hide show
  1. package/.openapi-generator/FILES +60 -0
  2. package/.openapi-generator/VERSION +1 -0
  3. package/.openapi-generator-ignore +23 -0
  4. package/api.ts +5133 -0
  5. package/base.ts +86 -0
  6. package/common.ts +150 -0
  7. package/configuration.ts +228 -0
  8. package/dist/api.d.ts +3329 -0
  9. package/dist/api.js +3498 -0
  10. package/dist/base.d.ts +66 -0
  11. package/dist/base.js +60 -0
  12. package/dist/common.d.ts +65 -0
  13. package/dist/common.js +149 -0
  14. package/dist/configuration.d.ts +125 -0
  15. package/dist/configuration.js +124 -0
  16. package/dist/index.d.ts +13 -0
  17. package/dist/index.js +15 -0
  18. package/docs/AuthApi.md +560 -0
  19. package/docs/AuthenticationSuccess.md +25 -0
  20. package/docs/CheckoutSessionResponse.md +22 -0
  21. package/docs/CompanyApi.md +363 -0
  22. package/docs/CompanyCreate.md +44 -0
  23. package/docs/CompanyInDBBase.md +48 -0
  24. package/docs/CompanyUpdate.md +42 -0
  25. package/docs/CompanyWithControls.md +50 -0
  26. package/docs/CompanyWithRoles.md +50 -0
  27. package/docs/ComplianceGoal.md +8 -0
  28. package/docs/ControlStatus.md +18 -0
  29. package/docs/ControlWithEvidences.md +30 -0
  30. package/docs/ControlWithRelationships.md +32 -0
  31. package/docs/ControlsApi.md +124 -0
  32. package/docs/CustomerDoesNotExist.md +20 -0
  33. package/docs/CustomerPortalSession.md +20 -0
  34. package/docs/DefaultApi.md +183 -0
  35. package/docs/Details.md +20 -0
  36. package/docs/EvidenceApi.md +309 -0
  37. package/docs/EvidenceBase.md +40 -0
  38. package/docs/EvidenceFileSchema.md +32 -0
  39. package/docs/EvidenceTextSchema.md +24 -0
  40. package/docs/FileDownload.md +26 -0
  41. package/docs/FrameworkControlsBase.md +26 -0
  42. package/docs/GetControl.md +22 -0
  43. package/docs/HTTPValidationError.md +20 -0
  44. package/docs/InviteToCompany.md +24 -0
  45. package/docs/LoginSchema.md +25 -0
  46. package/docs/PaymentsApi.md +164 -0
  47. package/docs/PermissionType.md +14 -0
  48. package/docs/PoliciesApi.md +302 -0
  49. package/docs/PolicyCreate.md +26 -0
  50. package/docs/PolicyRead.md +32 -0
  51. package/docs/PolicyUpdate.md +24 -0
  52. package/docs/RegisterSchema.md +31 -0
  53. package/docs/RemoveFromCompany.md +22 -0
  54. package/docs/ResponseGetCheckoutSessionPaymentsCheckoutGet.md +24 -0
  55. package/docs/ResponseGetCustomerManagementSessionPaymentsCustomerManagementGet.md +22 -0
  56. package/docs/RolesApi.md +127 -0
  57. package/docs/RolesWithUser.md +22 -0
  58. package/docs/UpdateControlSchema.md +24 -0
  59. package/docs/UpdatePassword.md +22 -0
  60. package/docs/UserApi.md +280 -0
  61. package/docs/UserBase.md +24 -0
  62. package/docs/UserInDBBase.md +30 -0
  63. package/docs/UserPermissionsWithCompany.md +22 -0
  64. package/docs/UserRole.md +20 -0
  65. package/docs/UserUpdate.md +24 -0
  66. package/docs/UserWithRelations.md +28 -0
  67. package/docs/ValidationError.md +24 -0
  68. package/docs/ValidationErrorLocInner.md +18 -0
  69. package/git_push.sh +57 -0
  70. package/index.ts +18 -0
  71. package/openapitools.json +7 -0
  72. package/package.json +33 -0
  73. package/tsconfig.json +14 -0
package/dist/api.d.ts ADDED
@@ -0,0 +1,3329 @@
1
+ /**
2
+ * Lumoar API
3
+ * Compliance as a service
4
+ *
5
+ * The version of the OpenAPI document: 0.1.0
6
+ *
7
+ *
8
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
+ * https://openapi-generator.tech
10
+ * Do not edit the class manually.
11
+ */
12
+ import type { Configuration } from './configuration';
13
+ import type { AxiosPromise, AxiosInstance, RawAxiosRequestConfig } from 'axios';
14
+ import type { RequestArgs } from './base';
15
+ import { BaseAPI } from './base';
16
+ /**
17
+ * Authentication success response schema. Attributes: - access_token: str - token_type: str - user_id: str - role: str
18
+ * @export
19
+ * @interface AuthenticationSuccess
20
+ */
21
+ export interface AuthenticationSuccess {
22
+ /**
23
+ *
24
+ * @type {{ [key: string]: string; }}
25
+ * @memberof AuthenticationSuccess
26
+ */
27
+ 'detail': {
28
+ [key: string]: string;
29
+ };
30
+ /**
31
+ *
32
+ * @type {string}
33
+ * @memberof AuthenticationSuccess
34
+ */
35
+ 'access_token': string;
36
+ /**
37
+ *
38
+ * @type {UserInDBBase}
39
+ * @memberof AuthenticationSuccess
40
+ */
41
+ 'user'?: UserInDBBase;
42
+ }
43
+ /**
44
+ *
45
+ * @export
46
+ * @interface CheckoutSessionResponse
47
+ */
48
+ export interface CheckoutSessionResponse {
49
+ [key: string]: any;
50
+ /**
51
+ *
52
+ * @type {string}
53
+ * @memberof CheckoutSessionResponse
54
+ */
55
+ 'checkout_url': string;
56
+ /**
57
+ *
58
+ * @type {string}
59
+ * @memberof CheckoutSessionResponse
60
+ */
61
+ 'session_id': string;
62
+ }
63
+ /**
64
+ *
65
+ * @export
66
+ * @interface CompanyCreate
67
+ */
68
+ export interface CompanyCreate {
69
+ /**
70
+ *
71
+ * @type {string}
72
+ * @memberof CompanyCreate
73
+ */
74
+ 'name': string;
75
+ /**
76
+ *
77
+ * @type {string}
78
+ * @memberof CompanyCreate
79
+ */
80
+ 'industry': string;
81
+ /**
82
+ *
83
+ * @type {number}
84
+ * @memberof CompanyCreate
85
+ */
86
+ 'employee_count': number;
87
+ /**
88
+ *
89
+ * @type {string}
90
+ * @memberof CompanyCreate
91
+ */
92
+ 'domain': string;
93
+ /**
94
+ *
95
+ * @type {{ [key: string]: any; }}
96
+ * @memberof CompanyCreate
97
+ */
98
+ 'tools_used'?: {
99
+ [key: string]: any;
100
+ } | null;
101
+ /**
102
+ *
103
+ * @type {string}
104
+ * @memberof CompanyCreate
105
+ */
106
+ 'plan'?: string | null;
107
+ /**
108
+ *
109
+ * @type {string}
110
+ * @memberof CompanyCreate
111
+ */
112
+ 'status'?: string | null;
113
+ /**
114
+ *
115
+ * @type {ComplianceGoal}
116
+ * @memberof CompanyCreate
117
+ */
118
+ 'compliance_goal'?: ComplianceGoal | null;
119
+ /**
120
+ *
121
+ * @type {number}
122
+ * @memberof CompanyCreate
123
+ */
124
+ 'readiness_score'?: number | null;
125
+ /**
126
+ *
127
+ * @type {string}
128
+ * @memberof CompanyCreate
129
+ */
130
+ 'audit_due_date'?: string | null;
131
+ /**
132
+ *
133
+ * @type {boolean}
134
+ * @memberof CompanyCreate
135
+ */
136
+ 'is_audit_mode'?: boolean;
137
+ /**
138
+ *
139
+ * @type {string}
140
+ * @memberof CompanyCreate
141
+ */
142
+ 'timezone'?: string;
143
+ /**
144
+ *
145
+ * @type {string}
146
+ * @memberof CompanyCreate
147
+ */
148
+ 'logo_url'?: string | null;
149
+ }
150
+ /**
151
+ *
152
+ * @export
153
+ * @interface CompanyInDBBase
154
+ */
155
+ export interface CompanyInDBBase {
156
+ /**
157
+ *
158
+ * @type {string}
159
+ * @memberof CompanyInDBBase
160
+ */
161
+ 'name': string;
162
+ /**
163
+ *
164
+ * @type {string}
165
+ * @memberof CompanyInDBBase
166
+ */
167
+ 'industry': string;
168
+ /**
169
+ *
170
+ * @type {number}
171
+ * @memberof CompanyInDBBase
172
+ */
173
+ 'employee_count': number;
174
+ /**
175
+ *
176
+ * @type {string}
177
+ * @memberof CompanyInDBBase
178
+ */
179
+ 'domain': string;
180
+ /**
181
+ *
182
+ * @type {{ [key: string]: any; }}
183
+ * @memberof CompanyInDBBase
184
+ */
185
+ 'tools_used'?: {
186
+ [key: string]: any;
187
+ } | null;
188
+ /**
189
+ *
190
+ * @type {string}
191
+ * @memberof CompanyInDBBase
192
+ */
193
+ 'plan'?: string | null;
194
+ /**
195
+ *
196
+ * @type {string}
197
+ * @memberof CompanyInDBBase
198
+ */
199
+ 'status'?: string | null;
200
+ /**
201
+ *
202
+ * @type {ComplianceGoal}
203
+ * @memberof CompanyInDBBase
204
+ */
205
+ 'compliance_goal'?: ComplianceGoal | null;
206
+ /**
207
+ *
208
+ * @type {number}
209
+ * @memberof CompanyInDBBase
210
+ */
211
+ 'readiness_score'?: number | null;
212
+ /**
213
+ *
214
+ * @type {string}
215
+ * @memberof CompanyInDBBase
216
+ */
217
+ 'audit_due_date'?: string | null;
218
+ /**
219
+ *
220
+ * @type {boolean}
221
+ * @memberof CompanyInDBBase
222
+ */
223
+ 'is_audit_mode'?: boolean;
224
+ /**
225
+ *
226
+ * @type {string}
227
+ * @memberof CompanyInDBBase
228
+ */
229
+ 'timezone'?: string;
230
+ /**
231
+ *
232
+ * @type {string}
233
+ * @memberof CompanyInDBBase
234
+ */
235
+ 'logo_url'?: string | null;
236
+ /**
237
+ *
238
+ * @type {string}
239
+ * @memberof CompanyInDBBase
240
+ */
241
+ 'id': string;
242
+ /**
243
+ *
244
+ * @type {string}
245
+ * @memberof CompanyInDBBase
246
+ */
247
+ 'updated_at': string;
248
+ }
249
+ /**
250
+ *
251
+ * @export
252
+ * @interface CompanyUpdate
253
+ */
254
+ export interface CompanyUpdate {
255
+ /**
256
+ *
257
+ * @type {string}
258
+ * @memberof CompanyUpdate
259
+ */
260
+ 'id': string;
261
+ /**
262
+ *
263
+ * @type {string}
264
+ * @memberof CompanyUpdate
265
+ */
266
+ 'name'?: string | null;
267
+ /**
268
+ *
269
+ * @type {string}
270
+ * @memberof CompanyUpdate
271
+ */
272
+ 'industry'?: string | null;
273
+ /**
274
+ *
275
+ * @type {number}
276
+ * @memberof CompanyUpdate
277
+ */
278
+ 'employee_count'?: number | null;
279
+ /**
280
+ *
281
+ * @type {string}
282
+ * @memberof CompanyUpdate
283
+ */
284
+ 'domain'?: string | null;
285
+ /**
286
+ *
287
+ * @type {{ [key: string]: any; }}
288
+ * @memberof CompanyUpdate
289
+ */
290
+ 'tools_used'?: {
291
+ [key: string]: any;
292
+ } | null;
293
+ /**
294
+ *
295
+ * @type {ComplianceGoal}
296
+ * @memberof CompanyUpdate
297
+ */
298
+ 'compliance_goal'?: ComplianceGoal | null;
299
+ /**
300
+ *
301
+ * @type {number}
302
+ * @memberof CompanyUpdate
303
+ */
304
+ 'readiness_score'?: number | null;
305
+ /**
306
+ *
307
+ * @type {string}
308
+ * @memberof CompanyUpdate
309
+ */
310
+ 'audit_due_date'?: string | null;
311
+ /**
312
+ *
313
+ * @type {boolean}
314
+ * @memberof CompanyUpdate
315
+ */
316
+ 'is_audit_mode'?: boolean | null;
317
+ /**
318
+ *
319
+ * @type {string}
320
+ * @memberof CompanyUpdate
321
+ */
322
+ 'timezone'?: string | null;
323
+ /**
324
+ *
325
+ * @type {string}
326
+ * @memberof CompanyUpdate
327
+ */
328
+ 'logo_url'?: string | null;
329
+ }
330
+ /**
331
+ *
332
+ * @export
333
+ * @interface CompanyWithControls
334
+ */
335
+ export interface CompanyWithControls {
336
+ /**
337
+ *
338
+ * @type {string}
339
+ * @memberof CompanyWithControls
340
+ */
341
+ 'name': string;
342
+ /**
343
+ *
344
+ * @type {string}
345
+ * @memberof CompanyWithControls
346
+ */
347
+ 'industry': string;
348
+ /**
349
+ *
350
+ * @type {number}
351
+ * @memberof CompanyWithControls
352
+ */
353
+ 'employee_count': number;
354
+ /**
355
+ *
356
+ * @type {string}
357
+ * @memberof CompanyWithControls
358
+ */
359
+ 'domain': string;
360
+ /**
361
+ *
362
+ * @type {{ [key: string]: any; }}
363
+ * @memberof CompanyWithControls
364
+ */
365
+ 'tools_used'?: {
366
+ [key: string]: any;
367
+ } | null;
368
+ /**
369
+ *
370
+ * @type {string}
371
+ * @memberof CompanyWithControls
372
+ */
373
+ 'plan'?: string | null;
374
+ /**
375
+ *
376
+ * @type {string}
377
+ * @memberof CompanyWithControls
378
+ */
379
+ 'status'?: string | null;
380
+ /**
381
+ *
382
+ * @type {ComplianceGoal}
383
+ * @memberof CompanyWithControls
384
+ */
385
+ 'compliance_goal'?: ComplianceGoal | null;
386
+ /**
387
+ *
388
+ * @type {number}
389
+ * @memberof CompanyWithControls
390
+ */
391
+ 'readiness_score'?: number | null;
392
+ /**
393
+ *
394
+ * @type {string}
395
+ * @memberof CompanyWithControls
396
+ */
397
+ 'audit_due_date'?: string | null;
398
+ /**
399
+ *
400
+ * @type {boolean}
401
+ * @memberof CompanyWithControls
402
+ */
403
+ 'is_audit_mode'?: boolean;
404
+ /**
405
+ *
406
+ * @type {string}
407
+ * @memberof CompanyWithControls
408
+ */
409
+ 'timezone'?: string;
410
+ /**
411
+ *
412
+ * @type {string}
413
+ * @memberof CompanyWithControls
414
+ */
415
+ 'logo_url'?: string | null;
416
+ /**
417
+ *
418
+ * @type {string}
419
+ * @memberof CompanyWithControls
420
+ */
421
+ 'id': string;
422
+ /**
423
+ *
424
+ * @type {string}
425
+ * @memberof CompanyWithControls
426
+ */
427
+ 'updated_at': string;
428
+ /**
429
+ *
430
+ * @type {Array<ControlWithEvidences>}
431
+ * @memberof CompanyWithControls
432
+ */
433
+ 'controls': Array<ControlWithEvidences>;
434
+ }
435
+ /**
436
+ *
437
+ * @export
438
+ * @interface CompanyWithRoles
439
+ */
440
+ export interface CompanyWithRoles {
441
+ /**
442
+ *
443
+ * @type {string}
444
+ * @memberof CompanyWithRoles
445
+ */
446
+ 'name': string;
447
+ /**
448
+ *
449
+ * @type {string}
450
+ * @memberof CompanyWithRoles
451
+ */
452
+ 'industry': string;
453
+ /**
454
+ *
455
+ * @type {number}
456
+ * @memberof CompanyWithRoles
457
+ */
458
+ 'employee_count': number;
459
+ /**
460
+ *
461
+ * @type {string}
462
+ * @memberof CompanyWithRoles
463
+ */
464
+ 'domain': string;
465
+ /**
466
+ *
467
+ * @type {{ [key: string]: any; }}
468
+ * @memberof CompanyWithRoles
469
+ */
470
+ 'tools_used'?: {
471
+ [key: string]: any;
472
+ } | null;
473
+ /**
474
+ *
475
+ * @type {string}
476
+ * @memberof CompanyWithRoles
477
+ */
478
+ 'plan'?: string | null;
479
+ /**
480
+ *
481
+ * @type {string}
482
+ * @memberof CompanyWithRoles
483
+ */
484
+ 'status'?: string | null;
485
+ /**
486
+ *
487
+ * @type {ComplianceGoal}
488
+ * @memberof CompanyWithRoles
489
+ */
490
+ 'compliance_goal'?: ComplianceGoal | null;
491
+ /**
492
+ *
493
+ * @type {number}
494
+ * @memberof CompanyWithRoles
495
+ */
496
+ 'readiness_score'?: number | null;
497
+ /**
498
+ *
499
+ * @type {string}
500
+ * @memberof CompanyWithRoles
501
+ */
502
+ 'audit_due_date'?: string | null;
503
+ /**
504
+ *
505
+ * @type {boolean}
506
+ * @memberof CompanyWithRoles
507
+ */
508
+ 'is_audit_mode'?: boolean;
509
+ /**
510
+ *
511
+ * @type {string}
512
+ * @memberof CompanyWithRoles
513
+ */
514
+ 'timezone'?: string;
515
+ /**
516
+ *
517
+ * @type {string}
518
+ * @memberof CompanyWithRoles
519
+ */
520
+ 'logo_url'?: string | null;
521
+ /**
522
+ *
523
+ * @type {string}
524
+ * @memberof CompanyWithRoles
525
+ */
526
+ 'id': string;
527
+ /**
528
+ *
529
+ * @type {string}
530
+ * @memberof CompanyWithRoles
531
+ */
532
+ 'updated_at': string;
533
+ /**
534
+ *
535
+ * @type {Array<RolesWithUser>}
536
+ * @memberof CompanyWithRoles
537
+ */
538
+ 'permissions': Array<RolesWithUser>;
539
+ }
540
+ /**
541
+ *
542
+ * @export
543
+ * @enum {string}
544
+ */
545
+ export declare const ComplianceGoal: {
546
+ readonly Soc2: "SOC2";
547
+ };
548
+ export type ComplianceGoal = typeof ComplianceGoal[keyof typeof ComplianceGoal];
549
+ /**
550
+ *
551
+ * @export
552
+ * @enum {string}
553
+ */
554
+ export declare const ControlStatus: {
555
+ readonly NotStarted: "not_started";
556
+ readonly InProgress: "in_progress";
557
+ readonly Completed: "completed";
558
+ readonly Failed: "failed";
559
+ readonly Skipped: "skipped";
560
+ readonly PendingReview: "pending_review";
561
+ };
562
+ export type ControlStatus = typeof ControlStatus[keyof typeof ControlStatus];
563
+ /**
564
+ *
565
+ * @export
566
+ * @interface ControlWithEvidences
567
+ */
568
+ export interface ControlWithEvidences {
569
+ /**
570
+ *
571
+ * @type {string}
572
+ * @memberof ControlWithEvidences
573
+ */
574
+ 'id': string;
575
+ /**
576
+ *
577
+ * @type {FrameworkControlsBase}
578
+ * @memberof ControlWithEvidences
579
+ */
580
+ 'framework_control': FrameworkControlsBase;
581
+ /**
582
+ *
583
+ * @type {string}
584
+ * @memberof ControlWithEvidences
585
+ */
586
+ 'status'?: string | null;
587
+ /**
588
+ *
589
+ * @type {string}
590
+ * @memberof ControlWithEvidences
591
+ */
592
+ 'note'?: string | null;
593
+ /**
594
+ *
595
+ * @type {string}
596
+ * @memberof ControlWithEvidences
597
+ */
598
+ 'updated_at'?: string | null;
599
+ /**
600
+ *
601
+ * @type {Array<EvidenceBase>}
602
+ * @memberof ControlWithEvidences
603
+ */
604
+ 'evidences'?: Array<EvidenceBase>;
605
+ }
606
+ /**
607
+ *
608
+ * @export
609
+ * @interface ControlWithRelationships
610
+ */
611
+ export interface ControlWithRelationships {
612
+ /**
613
+ *
614
+ * @type {string}
615
+ * @memberof ControlWithRelationships
616
+ */
617
+ 'id': string;
618
+ /**
619
+ *
620
+ * @type {FrameworkControlsBase}
621
+ * @memberof ControlWithRelationships
622
+ */
623
+ 'framework_control': FrameworkControlsBase;
624
+ /**
625
+ *
626
+ * @type {string}
627
+ * @memberof ControlWithRelationships
628
+ */
629
+ 'status'?: string | null;
630
+ /**
631
+ *
632
+ * @type {string}
633
+ * @memberof ControlWithRelationships
634
+ */
635
+ 'note'?: string | null;
636
+ /**
637
+ *
638
+ * @type {string}
639
+ * @memberof ControlWithRelationships
640
+ */
641
+ 'updated_at'?: string | null;
642
+ /**
643
+ *
644
+ * @type {CompanyInDBBase}
645
+ * @memberof ControlWithRelationships
646
+ */
647
+ 'company': CompanyInDBBase;
648
+ /**
649
+ *
650
+ * @type {Array<EvidenceBase>}
651
+ * @memberof ControlWithRelationships
652
+ */
653
+ 'evidences'?: Array<EvidenceBase>;
654
+ }
655
+ /**
656
+ *
657
+ * @export
658
+ * @interface CustomerDoesNotExist
659
+ */
660
+ export interface CustomerDoesNotExist {
661
+ /**
662
+ *
663
+ * @type {string}
664
+ * @memberof CustomerDoesNotExist
665
+ */
666
+ 'message'?: string;
667
+ }
668
+ /**
669
+ *
670
+ * @export
671
+ * @interface CustomerPortalSession
672
+ */
673
+ export interface CustomerPortalSession {
674
+ [key: string]: any;
675
+ /**
676
+ *
677
+ * @type {string}
678
+ * @memberof CustomerPortalSession
679
+ */
680
+ 'link': string;
681
+ }
682
+ /**
683
+ *
684
+ * @export
685
+ * @interface Details
686
+ */
687
+ export interface Details {
688
+ /**
689
+ *
690
+ * @type {string}
691
+ * @memberof Details
692
+ */
693
+ 'details': string;
694
+ }
695
+ /**
696
+ *
697
+ * @export
698
+ * @interface EvidenceBase
699
+ */
700
+ export interface EvidenceBase {
701
+ /**
702
+ *
703
+ * @type {string}
704
+ * @memberof EvidenceBase
705
+ */
706
+ 'id': string;
707
+ /**
708
+ *
709
+ * @type {string}
710
+ * @memberof EvidenceBase
711
+ */
712
+ 'control_id': string;
713
+ /**
714
+ *
715
+ * @type {string}
716
+ * @memberof EvidenceBase
717
+ */
718
+ 'expires_at'?: string | null;
719
+ /**
720
+ *
721
+ * @type {string}
722
+ * @memberof EvidenceBase
723
+ */
724
+ 'status': string;
725
+ /**
726
+ *
727
+ * @type {number}
728
+ * @memberof EvidenceBase
729
+ */
730
+ 'version': number;
731
+ /**
732
+ *
733
+ * @type {string}
734
+ * @memberof EvidenceBase
735
+ */
736
+ 'type': string;
737
+ /**
738
+ *
739
+ * @type {EvidenceTextSchema}
740
+ * @memberof EvidenceBase
741
+ */
742
+ 'text'?: EvidenceTextSchema | null;
743
+ /**
744
+ *
745
+ * @type {Array<EvidenceFileSchema>}
746
+ * @memberof EvidenceBase
747
+ */
748
+ 'files'?: Array<EvidenceFileSchema> | null;
749
+ /**
750
+ *
751
+ * @type {Array<string>}
752
+ * @memberof EvidenceBase
753
+ */
754
+ 'tags'?: Array<string> | null;
755
+ /**
756
+ *
757
+ * @type {UserBase}
758
+ * @memberof EvidenceBase
759
+ */
760
+ 'uploaded_by'?: UserBase | null;
761
+ /**
762
+ *
763
+ * @type {string}
764
+ * @memberof EvidenceBase
765
+ */
766
+ 'submitted_at'?: string | null;
767
+ }
768
+ /**
769
+ *
770
+ * @export
771
+ * @interface EvidenceFileSchema
772
+ */
773
+ export interface EvidenceFileSchema {
774
+ /**
775
+ *
776
+ * @type {number}
777
+ * @memberof EvidenceFileSchema
778
+ */
779
+ 'id': number;
780
+ /**
781
+ *
782
+ * @type {string}
783
+ * @memberof EvidenceFileSchema
784
+ */
785
+ 'evidence_id': string;
786
+ /**
787
+ *
788
+ * @type {string}
789
+ * @memberof EvidenceFileSchema
790
+ */
791
+ 'filename': string;
792
+ /**
793
+ *
794
+ * @type {string}
795
+ * @memberof EvidenceFileSchema
796
+ */
797
+ 'storage_key': string;
798
+ /**
799
+ *
800
+ * @type {string}
801
+ * @memberof EvidenceFileSchema
802
+ */
803
+ 'checksum': string;
804
+ /**
805
+ *
806
+ * @type {number}
807
+ * @memberof EvidenceFileSchema
808
+ */
809
+ 'file_size': number;
810
+ /**
811
+ *
812
+ * @type {string}
813
+ * @memberof EvidenceFileSchema
814
+ */
815
+ 'file_type': string;
816
+ }
817
+ /**
818
+ *
819
+ * @export
820
+ * @interface EvidenceTextSchema
821
+ */
822
+ export interface EvidenceTextSchema {
823
+ /**
824
+ *
825
+ * @type {number}
826
+ * @memberof EvidenceTextSchema
827
+ */
828
+ 'id': number;
829
+ /**
830
+ *
831
+ * @type {string}
832
+ * @memberof EvidenceTextSchema
833
+ */
834
+ 'evidence_id': string;
835
+ /**
836
+ *
837
+ * @type {string}
838
+ * @memberof EvidenceTextSchema
839
+ */
840
+ 'content': string;
841
+ }
842
+ /**
843
+ *
844
+ * @export
845
+ * @interface FileDownload
846
+ */
847
+ export interface FileDownload {
848
+ /**
849
+ *
850
+ * @type {string}
851
+ * @memberof FileDownload
852
+ */
853
+ 'url': string;
854
+ /**
855
+ *
856
+ * @type {string}
857
+ * @memberof FileDownload
858
+ */
859
+ 'filename'?: string | null;
860
+ /**
861
+ *
862
+ * @type {number}
863
+ * @memberof FileDownload
864
+ */
865
+ 'file_size'?: number | null;
866
+ /**
867
+ *
868
+ * @type {string}
869
+ * @memberof FileDownload
870
+ */
871
+ 'file_type'?: string | null;
872
+ }
873
+ /**
874
+ *
875
+ * @export
876
+ * @interface FrameworkControlsBase
877
+ */
878
+ export interface FrameworkControlsBase {
879
+ /**
880
+ *
881
+ * @type {string}
882
+ * @memberof FrameworkControlsBase
883
+ */
884
+ 'name': string;
885
+ /**
886
+ *
887
+ * @type {string}
888
+ * @memberof FrameworkControlsBase
889
+ */
890
+ 'category': string;
891
+ /**
892
+ *
893
+ * @type {string}
894
+ * @memberof FrameworkControlsBase
895
+ */
896
+ 'description': string;
897
+ /**
898
+ *
899
+ * @type {string}
900
+ * @memberof FrameworkControlsBase
901
+ */
902
+ 'control_key': string;
903
+ }
904
+ /**
905
+ *
906
+ * @export
907
+ * @interface GetControl
908
+ */
909
+ export interface GetControl {
910
+ /**
911
+ *
912
+ * @type {ControlWithRelationships}
913
+ * @memberof GetControl
914
+ */
915
+ 'control': ControlWithRelationships;
916
+ /**
917
+ *
918
+ * @type {UserRole}
919
+ * @memberof GetControl
920
+ */
921
+ 'role': UserRole;
922
+ }
923
+ /**
924
+ *
925
+ * @export
926
+ * @interface HTTPValidationError
927
+ */
928
+ export interface HTTPValidationError {
929
+ /**
930
+ *
931
+ * @type {Array<ValidationError>}
932
+ * @memberof HTTPValidationError
933
+ */
934
+ 'detail'?: Array<ValidationError>;
935
+ }
936
+ /**
937
+ *
938
+ * @export
939
+ * @interface InviteToCompany
940
+ */
941
+ export interface InviteToCompany {
942
+ /**
943
+ *
944
+ * @type {string}
945
+ * @memberof InviteToCompany
946
+ */
947
+ 'user_email': string;
948
+ /**
949
+ *
950
+ * @type {string}
951
+ * @memberof InviteToCompany
952
+ */
953
+ 'company_id': string;
954
+ /**
955
+ *
956
+ * @type {PermissionType}
957
+ * @memberof InviteToCompany
958
+ */
959
+ 'role': PermissionType;
960
+ }
961
+ /**
962
+ * Login schema for user authentication. Attributes: - email: EmailStr - password: SecretStr - turnstile_token: str
963
+ * @export
964
+ * @interface LoginSchema
965
+ */
966
+ export interface LoginSchema {
967
+ /**
968
+ *
969
+ * @type {string}
970
+ * @memberof LoginSchema
971
+ */
972
+ 'email': string;
973
+ /**
974
+ *
975
+ * @type {string}
976
+ * @memberof LoginSchema
977
+ */
978
+ 'password': string;
979
+ /**
980
+ *
981
+ * @type {string}
982
+ * @memberof LoginSchema
983
+ */
984
+ 'turnstile_token': string;
985
+ }
986
+ /**
987
+ *
988
+ * @export
989
+ * @enum {string}
990
+ */
991
+ export declare const PermissionType: {
992
+ readonly Owner: "owner";
993
+ readonly Admin: "admin";
994
+ readonly Member: "member";
995
+ readonly Auditor: "auditor";
996
+ };
997
+ export type PermissionType = typeof PermissionType[keyof typeof PermissionType];
998
+ /**
999
+ *
1000
+ * @export
1001
+ * @interface PolicyCreate
1002
+ */
1003
+ export interface PolicyCreate {
1004
+ /**
1005
+ * Name of the policy
1006
+ * @type {string}
1007
+ * @memberof PolicyCreate
1008
+ */
1009
+ 'name': string;
1010
+ /**
1011
+ * Type of policy (e.g., \'security\', \'privacy\')
1012
+ * @type {string}
1013
+ * @memberof PolicyCreate
1014
+ */
1015
+ 'type': string;
1016
+ /**
1017
+ * Policy content as a JSON object
1018
+ * @type {{ [key: string]: any; }}
1019
+ * @memberof PolicyCreate
1020
+ */
1021
+ 'content': {
1022
+ [key: string]: any;
1023
+ };
1024
+ /**
1025
+ * UUID of the company this policy belongs to
1026
+ * @type {string}
1027
+ * @memberof PolicyCreate
1028
+ */
1029
+ 'company_id': string;
1030
+ }
1031
+ /**
1032
+ *
1033
+ * @export
1034
+ * @interface PolicyRead
1035
+ */
1036
+ export interface PolicyRead {
1037
+ /**
1038
+ * Unique identifier for the policy
1039
+ * @type {string}
1040
+ * @memberof PolicyRead
1041
+ */
1042
+ 'id': string;
1043
+ /**
1044
+ * Name of the policy
1045
+ * @type {string}
1046
+ * @memberof PolicyRead
1047
+ */
1048
+ 'name': string;
1049
+ /**
1050
+ * Type of policy
1051
+ * @type {string}
1052
+ * @memberof PolicyRead
1053
+ */
1054
+ 'type': string;
1055
+ /**
1056
+ * Policy content
1057
+ * @type {{ [key: string]: any; }}
1058
+ * @memberof PolicyRead
1059
+ */
1060
+ 'content': {
1061
+ [key: string]: any;
1062
+ };
1063
+ /**
1064
+ * UUID of the associated company
1065
+ * @type {string}
1066
+ * @memberof PolicyRead
1067
+ */
1068
+ 'company_id': string;
1069
+ /**
1070
+ * UUID of the user who created the policy
1071
+ * @type {string}
1072
+ * @memberof PolicyRead
1073
+ */
1074
+ 'created_by': string;
1075
+ /**
1076
+ * Timestamp when the policy was created
1077
+ * @type {string}
1078
+ * @memberof PolicyRead
1079
+ */
1080
+ 'created_at': string;
1081
+ }
1082
+ /**
1083
+ *
1084
+ * @export
1085
+ * @interface PolicyUpdate
1086
+ */
1087
+ export interface PolicyUpdate {
1088
+ /**
1089
+ *
1090
+ * @type {string}
1091
+ * @memberof PolicyUpdate
1092
+ */
1093
+ 'name'?: string | null;
1094
+ /**
1095
+ *
1096
+ * @type {string}
1097
+ * @memberof PolicyUpdate
1098
+ */
1099
+ 'type'?: string | null;
1100
+ /**
1101
+ *
1102
+ * @type {{ [key: string]: any; }}
1103
+ * @memberof PolicyUpdate
1104
+ */
1105
+ 'content'?: {
1106
+ [key: string]: any;
1107
+ } | null;
1108
+ }
1109
+ /**
1110
+ * Register schema for user registration. Attributes: - email: EmailStr - password: SecretStr - password_repeat: SecretStr - name: str | None - phone: str | None - turnstile_token: str
1111
+ * @export
1112
+ * @interface RegisterSchema
1113
+ */
1114
+ export interface RegisterSchema {
1115
+ /**
1116
+ *
1117
+ * @type {string}
1118
+ * @memberof RegisterSchema
1119
+ */
1120
+ 'email': string;
1121
+ /**
1122
+ *
1123
+ * @type {string}
1124
+ * @memberof RegisterSchema
1125
+ */
1126
+ 'password': string;
1127
+ /**
1128
+ *
1129
+ * @type {string}
1130
+ * @memberof RegisterSchema
1131
+ */
1132
+ 'turnstile_token': string;
1133
+ /**
1134
+ *
1135
+ * @type {string}
1136
+ * @memberof RegisterSchema
1137
+ */
1138
+ 'name'?: string | null;
1139
+ /**
1140
+ *
1141
+ * @type {string}
1142
+ * @memberof RegisterSchema
1143
+ */
1144
+ 'phone'?: string | null;
1145
+ /**
1146
+ *
1147
+ * @type {string}
1148
+ * @memberof RegisterSchema
1149
+ */
1150
+ 'password_repeat': string;
1151
+ }
1152
+ /**
1153
+ *
1154
+ * @export
1155
+ * @interface RemoveFromCompany
1156
+ */
1157
+ export interface RemoveFromCompany {
1158
+ /**
1159
+ *
1160
+ * @type {string}
1161
+ * @memberof RemoveFromCompany
1162
+ */
1163
+ 'user_email': string;
1164
+ /**
1165
+ *
1166
+ * @type {string}
1167
+ * @memberof RemoveFromCompany
1168
+ */
1169
+ 'company_id': string;
1170
+ }
1171
+ /**
1172
+ *
1173
+ * @export
1174
+ * @interface ResponseGetCheckoutSessionPaymentsCheckoutGet
1175
+ */
1176
+ export interface ResponseGetCheckoutSessionPaymentsCheckoutGet {
1177
+ /**
1178
+ *
1179
+ * @type {string}
1180
+ * @memberof ResponseGetCheckoutSessionPaymentsCheckoutGet
1181
+ */
1182
+ 'checkout_url': string;
1183
+ /**
1184
+ *
1185
+ * @type {string}
1186
+ * @memberof ResponseGetCheckoutSessionPaymentsCheckoutGet
1187
+ */
1188
+ 'session_id': string;
1189
+ /**
1190
+ *
1191
+ * @type {string}
1192
+ * @memberof ResponseGetCheckoutSessionPaymentsCheckoutGet
1193
+ */
1194
+ 'message'?: string;
1195
+ }
1196
+ /**
1197
+ *
1198
+ * @export
1199
+ * @interface ResponseGetCustomerManagementSessionPaymentsCustomerManagementGet
1200
+ */
1201
+ export interface ResponseGetCustomerManagementSessionPaymentsCustomerManagementGet {
1202
+ /**
1203
+ *
1204
+ * @type {string}
1205
+ * @memberof ResponseGetCustomerManagementSessionPaymentsCustomerManagementGet
1206
+ */
1207
+ 'link': string;
1208
+ /**
1209
+ *
1210
+ * @type {string}
1211
+ * @memberof ResponseGetCustomerManagementSessionPaymentsCustomerManagementGet
1212
+ */
1213
+ 'message'?: string;
1214
+ }
1215
+ /**
1216
+ *
1217
+ * @export
1218
+ * @interface RolesWithUser
1219
+ */
1220
+ export interface RolesWithUser {
1221
+ /**
1222
+ *
1223
+ * @type {string}
1224
+ * @memberof RolesWithUser
1225
+ */
1226
+ 'role': string;
1227
+ /**
1228
+ *
1229
+ * @type {UserBase}
1230
+ * @memberof RolesWithUser
1231
+ */
1232
+ 'user': UserBase;
1233
+ }
1234
+ /**
1235
+ *
1236
+ * @export
1237
+ * @interface UpdateControlSchema
1238
+ */
1239
+ export interface UpdateControlSchema {
1240
+ /**
1241
+ *
1242
+ * @type {string}
1243
+ * @memberof UpdateControlSchema
1244
+ */
1245
+ 'id': string;
1246
+ /**
1247
+ *
1248
+ * @type {ControlStatus}
1249
+ * @memberof UpdateControlSchema
1250
+ */
1251
+ 'status'?: ControlStatus | null;
1252
+ /**
1253
+ *
1254
+ * @type {string}
1255
+ * @memberof UpdateControlSchema
1256
+ */
1257
+ 'note'?: string | null;
1258
+ }
1259
+ /**
1260
+ *
1261
+ * @export
1262
+ * @interface UpdatePassword
1263
+ */
1264
+ export interface UpdatePassword {
1265
+ /**
1266
+ *
1267
+ * @type {string}
1268
+ * @memberof UpdatePassword
1269
+ */
1270
+ 'old_password': string;
1271
+ /**
1272
+ *
1273
+ * @type {string}
1274
+ * @memberof UpdatePassword
1275
+ */
1276
+ 'new_password': string;
1277
+ }
1278
+ /**
1279
+ *
1280
+ * @export
1281
+ * @interface UserBase
1282
+ */
1283
+ export interface UserBase {
1284
+ /**
1285
+ *
1286
+ * @type {string}
1287
+ * @memberof UserBase
1288
+ */
1289
+ 'name': string;
1290
+ /**
1291
+ *
1292
+ * @type {string}
1293
+ * @memberof UserBase
1294
+ */
1295
+ 'email'?: string;
1296
+ /**
1297
+ *
1298
+ * @type {string}
1299
+ * @memberof UserBase
1300
+ */
1301
+ 'phone'?: string | null;
1302
+ }
1303
+ /**
1304
+ *
1305
+ * @export
1306
+ * @interface UserInDBBase
1307
+ */
1308
+ export interface UserInDBBase {
1309
+ /**
1310
+ *
1311
+ * @type {string}
1312
+ * @memberof UserInDBBase
1313
+ */
1314
+ 'name': string;
1315
+ /**
1316
+ *
1317
+ * @type {string}
1318
+ * @memberof UserInDBBase
1319
+ */
1320
+ 'email': string;
1321
+ /**
1322
+ *
1323
+ * @type {string}
1324
+ * @memberof UserInDBBase
1325
+ */
1326
+ 'phone'?: string | null;
1327
+ /**
1328
+ *
1329
+ * @type {string}
1330
+ * @memberof UserInDBBase
1331
+ */
1332
+ 'role'?: string;
1333
+ /**
1334
+ *
1335
+ * @type {string}
1336
+ * @memberof UserInDBBase
1337
+ */
1338
+ 'id': string;
1339
+ /**
1340
+ *
1341
+ * @type {string}
1342
+ * @memberof UserInDBBase
1343
+ */
1344
+ 'created_at': string;
1345
+ }
1346
+ /**
1347
+ *
1348
+ * @export
1349
+ * @interface UserPermissionsWithCompany
1350
+ */
1351
+ export interface UserPermissionsWithCompany {
1352
+ /**
1353
+ *
1354
+ * @type {string}
1355
+ * @memberof UserPermissionsWithCompany
1356
+ */
1357
+ 'role': string | null;
1358
+ /**
1359
+ *
1360
+ * @type {CompanyInDBBase}
1361
+ * @memberof UserPermissionsWithCompany
1362
+ */
1363
+ 'company': CompanyInDBBase | null;
1364
+ }
1365
+ /**
1366
+ *
1367
+ * @export
1368
+ * @interface UserRole
1369
+ */
1370
+ export interface UserRole {
1371
+ /**
1372
+ *
1373
+ * @type {string}
1374
+ * @memberof UserRole
1375
+ */
1376
+ 'role': string;
1377
+ }
1378
+ /**
1379
+ *
1380
+ * @export
1381
+ * @interface UserUpdate
1382
+ */
1383
+ export interface UserUpdate {
1384
+ /**
1385
+ *
1386
+ * @type {string}
1387
+ * @memberof UserUpdate
1388
+ */
1389
+ 'name'?: string | null;
1390
+ /**
1391
+ *
1392
+ * @type {string}
1393
+ * @memberof UserUpdate
1394
+ */
1395
+ 'email'?: string | null;
1396
+ /**
1397
+ *
1398
+ * @type {string}
1399
+ * @memberof UserUpdate
1400
+ */
1401
+ 'phone'?: string | null;
1402
+ }
1403
+ /**
1404
+ *
1405
+ * @export
1406
+ * @interface UserWithRelations
1407
+ */
1408
+ export interface UserWithRelations {
1409
+ /**
1410
+ *
1411
+ * @type {string}
1412
+ * @memberof UserWithRelations
1413
+ */
1414
+ 'name': string;
1415
+ /**
1416
+ *
1417
+ * @type {string}
1418
+ * @memberof UserWithRelations
1419
+ */
1420
+ 'email': string;
1421
+ /**
1422
+ *
1423
+ * @type {string}
1424
+ * @memberof UserWithRelations
1425
+ */
1426
+ 'phone'?: string | null;
1427
+ /**
1428
+ *
1429
+ * @type {string}
1430
+ * @memberof UserWithRelations
1431
+ */
1432
+ 'role'?: string;
1433
+ /**
1434
+ *
1435
+ * @type {Array<UserPermissionsWithCompany>}
1436
+ * @memberof UserWithRelations
1437
+ */
1438
+ 'company_permissions': Array<UserPermissionsWithCompany> | null;
1439
+ }
1440
+ /**
1441
+ *
1442
+ * @export
1443
+ * @interface ValidationError
1444
+ */
1445
+ export interface ValidationError {
1446
+ /**
1447
+ *
1448
+ * @type {Array<ValidationErrorLocInner>}
1449
+ * @memberof ValidationError
1450
+ */
1451
+ 'loc': Array<ValidationErrorLocInner>;
1452
+ /**
1453
+ *
1454
+ * @type {string}
1455
+ * @memberof ValidationError
1456
+ */
1457
+ 'msg': string;
1458
+ /**
1459
+ *
1460
+ * @type {string}
1461
+ * @memberof ValidationError
1462
+ */
1463
+ 'type': string;
1464
+ }
1465
+ /**
1466
+ *
1467
+ * @export
1468
+ * @interface ValidationErrorLocInner
1469
+ */
1470
+ export interface ValidationErrorLocInner {
1471
+ }
1472
+ /**
1473
+ * AuthApi - axios parameter creator
1474
+ * @export
1475
+ */
1476
+ export declare const AuthApiAxiosParamCreator: (configuration?: Configuration) => {
1477
+ /**
1478
+ * Delete user session
1479
+ * @summary Delete Session
1480
+ * @param {string | null} [sessionIdToDelete]
1481
+ * @param {string | null} [sessionId]
1482
+ * @param {*} [options] Override http request option.
1483
+ * @throws {RequiredError}
1484
+ */
1485
+ deleteSessionV1AuthSessionDelete: (sessionIdToDelete?: string | null, sessionId?: string | null, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
1486
+ /**
1487
+ * Delete user sessions
1488
+ * @summary Delete Sessions
1489
+ * @param {string | null} [sessionId]
1490
+ * @param {*} [options] Override http request option.
1491
+ * @throws {RequiredError}
1492
+ */
1493
+ deleteSessionsV1AuthSessionsDelete: (sessionId?: string | null, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
1494
+ /**
1495
+ * Get user sessions
1496
+ * @summary Get Sessions
1497
+ * @param {string | null} [sessionId]
1498
+ * @param {*} [options] Override http request option.
1499
+ * @throws {RequiredError}
1500
+ */
1501
+ getSessionsV1AuthSessionsGet: (sessionId?: string | null, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
1502
+ /**
1503
+ * Handles the callback from GitHub OAuth.
1504
+ * @summary Github Callback
1505
+ * @param {string} code
1506
+ * @param {string | null} [userAgent]
1507
+ * @param {string | null} [cFConnectingIP]
1508
+ * @param {string | null} [cFIPCountry]
1509
+ * @param {*} [options] Override http request option.
1510
+ * @throws {RequiredError}
1511
+ */
1512
+ githubCallbackV1AuthGithubCallbackPost: (code: string, userAgent?: string | null, cFConnectingIP?: string | null, cFIPCountry?: string | null, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
1513
+ /**
1514
+ * Redirects to GitHub\'s OAuth consent screen.
1515
+ * @summary Github Login
1516
+ * @param {*} [options] Override http request option.
1517
+ * @throws {RequiredError}
1518
+ */
1519
+ githubLoginV1AuthGithubLoginGet: (options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
1520
+ /**
1521
+ * Handles the callback from Google OAuth.
1522
+ * @summary Google Callback
1523
+ * @param {string} code
1524
+ * @param {string | null} [userAgent]
1525
+ * @param {string | null} [cFConnectingIP]
1526
+ * @param {string | null} [cFIPCountry]
1527
+ * @param {*} [options] Override http request option.
1528
+ * @throws {RequiredError}
1529
+ */
1530
+ googleCallbackV1AuthGoogleCallbackPost: (code: string, userAgent?: string | null, cFConnectingIP?: string | null, cFIPCountry?: string | null, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
1531
+ /**
1532
+ * Redirects to Google\'s OAuth consent screen.
1533
+ * @summary Google Login
1534
+ * @param {*} [options] Override http request option.
1535
+ * @throws {RequiredError}
1536
+ */
1537
+ googleLoginV1AuthGoogleLoginGet: (options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
1538
+ /**
1539
+ *
1540
+ * @summary Login
1541
+ * @param {LoginSchema} loginSchema
1542
+ * @param {string | null} [userAgent]
1543
+ * @param {string | null} [cFConnectingIP]
1544
+ * @param {string | null} [cFIPCountry]
1545
+ * @param {*} [options] Override http request option.
1546
+ * @throws {RequiredError}
1547
+ */
1548
+ loginV1AuthLoginPost: (loginSchema: LoginSchema, userAgent?: string | null, cFConnectingIP?: string | null, cFIPCountry?: string | null, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
1549
+ /**
1550
+ * Logout user
1551
+ * @summary Logout
1552
+ * @param {string | null} [sessionId]
1553
+ * @param {*} [options] Override http request option.
1554
+ * @throws {RequiredError}
1555
+ */
1556
+ logoutV1AuthLogoutPost: (sessionId?: string | null, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
1557
+ /**
1558
+ *
1559
+ * @summary Register
1560
+ * @param {RegisterSchema} registerSchema
1561
+ * @param {string | null} [userAgent]
1562
+ * @param {string | null} [cFConnectingIP]
1563
+ * @param {string | null} [cFIPCountry]
1564
+ * @param {*} [options] Override http request option.
1565
+ * @throws {RequiredError}
1566
+ */
1567
+ registerV1AuthRegisterPost: (registerSchema: RegisterSchema, userAgent?: string | null, cFConnectingIP?: string | null, cFIPCountry?: string | null, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
1568
+ };
1569
+ /**
1570
+ * AuthApi - functional programming interface
1571
+ * @export
1572
+ */
1573
+ export declare const AuthApiFp: (configuration?: Configuration) => {
1574
+ /**
1575
+ * Delete user session
1576
+ * @summary Delete Session
1577
+ * @param {string | null} [sessionIdToDelete]
1578
+ * @param {string | null} [sessionId]
1579
+ * @param {*} [options] Override http request option.
1580
+ * @throws {RequiredError}
1581
+ */
1582
+ deleteSessionV1AuthSessionDelete(sessionIdToDelete?: string | null, sessionId?: string | null, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Details>>;
1583
+ /**
1584
+ * Delete user sessions
1585
+ * @summary Delete Sessions
1586
+ * @param {string | null} [sessionId]
1587
+ * @param {*} [options] Override http request option.
1588
+ * @throws {RequiredError}
1589
+ */
1590
+ deleteSessionsV1AuthSessionsDelete(sessionId?: string | null, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Details>>;
1591
+ /**
1592
+ * Get user sessions
1593
+ * @summary Get Sessions
1594
+ * @param {string | null} [sessionId]
1595
+ * @param {*} [options] Override http request option.
1596
+ * @throws {RequiredError}
1597
+ */
1598
+ getSessionsV1AuthSessionsGet(sessionId?: string | null, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<{
1599
+ [key: string]: string | null;
1600
+ }>>>;
1601
+ /**
1602
+ * Handles the callback from GitHub OAuth.
1603
+ * @summary Github Callback
1604
+ * @param {string} code
1605
+ * @param {string | null} [userAgent]
1606
+ * @param {string | null} [cFConnectingIP]
1607
+ * @param {string | null} [cFIPCountry]
1608
+ * @param {*} [options] Override http request option.
1609
+ * @throws {RequiredError}
1610
+ */
1611
+ githubCallbackV1AuthGithubCallbackPost(code: string, userAgent?: string | null, cFConnectingIP?: string | null, cFIPCountry?: string | null, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<any>>;
1612
+ /**
1613
+ * Redirects to GitHub\'s OAuth consent screen.
1614
+ * @summary Github Login
1615
+ * @param {*} [options] Override http request option.
1616
+ * @throws {RequiredError}
1617
+ */
1618
+ githubLoginV1AuthGithubLoginGet(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<any>>;
1619
+ /**
1620
+ * Handles the callback from Google OAuth.
1621
+ * @summary Google Callback
1622
+ * @param {string} code
1623
+ * @param {string | null} [userAgent]
1624
+ * @param {string | null} [cFConnectingIP]
1625
+ * @param {string | null} [cFIPCountry]
1626
+ * @param {*} [options] Override http request option.
1627
+ * @throws {RequiredError}
1628
+ */
1629
+ googleCallbackV1AuthGoogleCallbackPost(code: string, userAgent?: string | null, cFConnectingIP?: string | null, cFIPCountry?: string | null, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<any>>;
1630
+ /**
1631
+ * Redirects to Google\'s OAuth consent screen.
1632
+ * @summary Google Login
1633
+ * @param {*} [options] Override http request option.
1634
+ * @throws {RequiredError}
1635
+ */
1636
+ googleLoginV1AuthGoogleLoginGet(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<any>>;
1637
+ /**
1638
+ *
1639
+ * @summary Login
1640
+ * @param {LoginSchema} loginSchema
1641
+ * @param {string | null} [userAgent]
1642
+ * @param {string | null} [cFConnectingIP]
1643
+ * @param {string | null} [cFIPCountry]
1644
+ * @param {*} [options] Override http request option.
1645
+ * @throws {RequiredError}
1646
+ */
1647
+ loginV1AuthLoginPost(loginSchema: LoginSchema, userAgent?: string | null, cFConnectingIP?: string | null, cFIPCountry?: string | null, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AuthenticationSuccess>>;
1648
+ /**
1649
+ * Logout user
1650
+ * @summary Logout
1651
+ * @param {string | null} [sessionId]
1652
+ * @param {*} [options] Override http request option.
1653
+ * @throws {RequiredError}
1654
+ */
1655
+ logoutV1AuthLogoutPost(sessionId?: string | null, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Details>>;
1656
+ /**
1657
+ *
1658
+ * @summary Register
1659
+ * @param {RegisterSchema} registerSchema
1660
+ * @param {string | null} [userAgent]
1661
+ * @param {string | null} [cFConnectingIP]
1662
+ * @param {string | null} [cFIPCountry]
1663
+ * @param {*} [options] Override http request option.
1664
+ * @throws {RequiredError}
1665
+ */
1666
+ registerV1AuthRegisterPost(registerSchema: RegisterSchema, userAgent?: string | null, cFConnectingIP?: string | null, cFIPCountry?: string | null, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AuthenticationSuccess>>;
1667
+ };
1668
+ /**
1669
+ * AuthApi - factory interface
1670
+ * @export
1671
+ */
1672
+ export declare const AuthApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
1673
+ /**
1674
+ * Delete user session
1675
+ * @summary Delete Session
1676
+ * @param {string | null} [sessionIdToDelete]
1677
+ * @param {string | null} [sessionId]
1678
+ * @param {*} [options] Override http request option.
1679
+ * @throws {RequiredError}
1680
+ */
1681
+ deleteSessionV1AuthSessionDelete(sessionIdToDelete?: string | null, sessionId?: string | null, options?: RawAxiosRequestConfig): AxiosPromise<Details>;
1682
+ /**
1683
+ * Delete user sessions
1684
+ * @summary Delete Sessions
1685
+ * @param {string | null} [sessionId]
1686
+ * @param {*} [options] Override http request option.
1687
+ * @throws {RequiredError}
1688
+ */
1689
+ deleteSessionsV1AuthSessionsDelete(sessionId?: string | null, options?: RawAxiosRequestConfig): AxiosPromise<Details>;
1690
+ /**
1691
+ * Get user sessions
1692
+ * @summary Get Sessions
1693
+ * @param {string | null} [sessionId]
1694
+ * @param {*} [options] Override http request option.
1695
+ * @throws {RequiredError}
1696
+ */
1697
+ getSessionsV1AuthSessionsGet(sessionId?: string | null, options?: RawAxiosRequestConfig): AxiosPromise<Array<{
1698
+ [key: string]: string | null;
1699
+ }>>;
1700
+ /**
1701
+ * Handles the callback from GitHub OAuth.
1702
+ * @summary Github Callback
1703
+ * @param {string} code
1704
+ * @param {string | null} [userAgent]
1705
+ * @param {string | null} [cFConnectingIP]
1706
+ * @param {string | null} [cFIPCountry]
1707
+ * @param {*} [options] Override http request option.
1708
+ * @throws {RequiredError}
1709
+ */
1710
+ githubCallbackV1AuthGithubCallbackPost(code: string, userAgent?: string | null, cFConnectingIP?: string | null, cFIPCountry?: string | null, options?: RawAxiosRequestConfig): AxiosPromise<any>;
1711
+ /**
1712
+ * Redirects to GitHub\'s OAuth consent screen.
1713
+ * @summary Github Login
1714
+ * @param {*} [options] Override http request option.
1715
+ * @throws {RequiredError}
1716
+ */
1717
+ githubLoginV1AuthGithubLoginGet(options?: RawAxiosRequestConfig): AxiosPromise<any>;
1718
+ /**
1719
+ * Handles the callback from Google OAuth.
1720
+ * @summary Google Callback
1721
+ * @param {string} code
1722
+ * @param {string | null} [userAgent]
1723
+ * @param {string | null} [cFConnectingIP]
1724
+ * @param {string | null} [cFIPCountry]
1725
+ * @param {*} [options] Override http request option.
1726
+ * @throws {RequiredError}
1727
+ */
1728
+ googleCallbackV1AuthGoogleCallbackPost(code: string, userAgent?: string | null, cFConnectingIP?: string | null, cFIPCountry?: string | null, options?: RawAxiosRequestConfig): AxiosPromise<any>;
1729
+ /**
1730
+ * Redirects to Google\'s OAuth consent screen.
1731
+ * @summary Google Login
1732
+ * @param {*} [options] Override http request option.
1733
+ * @throws {RequiredError}
1734
+ */
1735
+ googleLoginV1AuthGoogleLoginGet(options?: RawAxiosRequestConfig): AxiosPromise<any>;
1736
+ /**
1737
+ *
1738
+ * @summary Login
1739
+ * @param {LoginSchema} loginSchema
1740
+ * @param {string | null} [userAgent]
1741
+ * @param {string | null} [cFConnectingIP]
1742
+ * @param {string | null} [cFIPCountry]
1743
+ * @param {*} [options] Override http request option.
1744
+ * @throws {RequiredError}
1745
+ */
1746
+ loginV1AuthLoginPost(loginSchema: LoginSchema, userAgent?: string | null, cFConnectingIP?: string | null, cFIPCountry?: string | null, options?: RawAxiosRequestConfig): AxiosPromise<AuthenticationSuccess>;
1747
+ /**
1748
+ * Logout user
1749
+ * @summary Logout
1750
+ * @param {string | null} [sessionId]
1751
+ * @param {*} [options] Override http request option.
1752
+ * @throws {RequiredError}
1753
+ */
1754
+ logoutV1AuthLogoutPost(sessionId?: string | null, options?: RawAxiosRequestConfig): AxiosPromise<Details>;
1755
+ /**
1756
+ *
1757
+ * @summary Register
1758
+ * @param {RegisterSchema} registerSchema
1759
+ * @param {string | null} [userAgent]
1760
+ * @param {string | null} [cFConnectingIP]
1761
+ * @param {string | null} [cFIPCountry]
1762
+ * @param {*} [options] Override http request option.
1763
+ * @throws {RequiredError}
1764
+ */
1765
+ registerV1AuthRegisterPost(registerSchema: RegisterSchema, userAgent?: string | null, cFConnectingIP?: string | null, cFIPCountry?: string | null, options?: RawAxiosRequestConfig): AxiosPromise<AuthenticationSuccess>;
1766
+ };
1767
+ /**
1768
+ * AuthApi - object-oriented interface
1769
+ * @export
1770
+ * @class AuthApi
1771
+ * @extends {BaseAPI}
1772
+ */
1773
+ export declare class AuthApi extends BaseAPI {
1774
+ /**
1775
+ * Delete user session
1776
+ * @summary Delete Session
1777
+ * @param {string | null} [sessionIdToDelete]
1778
+ * @param {string | null} [sessionId]
1779
+ * @param {*} [options] Override http request option.
1780
+ * @throws {RequiredError}
1781
+ * @memberof AuthApi
1782
+ */
1783
+ deleteSessionV1AuthSessionDelete(sessionIdToDelete?: string | null, sessionId?: string | null, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<Details, any, {}>>;
1784
+ /**
1785
+ * Delete user sessions
1786
+ * @summary Delete Sessions
1787
+ * @param {string | null} [sessionId]
1788
+ * @param {*} [options] Override http request option.
1789
+ * @throws {RequiredError}
1790
+ * @memberof AuthApi
1791
+ */
1792
+ deleteSessionsV1AuthSessionsDelete(sessionId?: string | null, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<Details, any, {}>>;
1793
+ /**
1794
+ * Get user sessions
1795
+ * @summary Get Sessions
1796
+ * @param {string | null} [sessionId]
1797
+ * @param {*} [options] Override http request option.
1798
+ * @throws {RequiredError}
1799
+ * @memberof AuthApi
1800
+ */
1801
+ getSessionsV1AuthSessionsGet(sessionId?: string | null, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<{
1802
+ [key: string]: string | null;
1803
+ }[], any, {}>>;
1804
+ /**
1805
+ * Handles the callback from GitHub OAuth.
1806
+ * @summary Github Callback
1807
+ * @param {string} code
1808
+ * @param {string | null} [userAgent]
1809
+ * @param {string | null} [cFConnectingIP]
1810
+ * @param {string | null} [cFIPCountry]
1811
+ * @param {*} [options] Override http request option.
1812
+ * @throws {RequiredError}
1813
+ * @memberof AuthApi
1814
+ */
1815
+ githubCallbackV1AuthGithubCallbackPost(code: string, userAgent?: string | null, cFConnectingIP?: string | null, cFIPCountry?: string | null, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<any, any, {}>>;
1816
+ /**
1817
+ * Redirects to GitHub\'s OAuth consent screen.
1818
+ * @summary Github Login
1819
+ * @param {*} [options] Override http request option.
1820
+ * @throws {RequiredError}
1821
+ * @memberof AuthApi
1822
+ */
1823
+ githubLoginV1AuthGithubLoginGet(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<any, any, {}>>;
1824
+ /**
1825
+ * Handles the callback from Google OAuth.
1826
+ * @summary Google Callback
1827
+ * @param {string} code
1828
+ * @param {string | null} [userAgent]
1829
+ * @param {string | null} [cFConnectingIP]
1830
+ * @param {string | null} [cFIPCountry]
1831
+ * @param {*} [options] Override http request option.
1832
+ * @throws {RequiredError}
1833
+ * @memberof AuthApi
1834
+ */
1835
+ googleCallbackV1AuthGoogleCallbackPost(code: string, userAgent?: string | null, cFConnectingIP?: string | null, cFIPCountry?: string | null, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<any, any, {}>>;
1836
+ /**
1837
+ * Redirects to Google\'s OAuth consent screen.
1838
+ * @summary Google Login
1839
+ * @param {*} [options] Override http request option.
1840
+ * @throws {RequiredError}
1841
+ * @memberof AuthApi
1842
+ */
1843
+ googleLoginV1AuthGoogleLoginGet(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<any, any, {}>>;
1844
+ /**
1845
+ *
1846
+ * @summary Login
1847
+ * @param {LoginSchema} loginSchema
1848
+ * @param {string | null} [userAgent]
1849
+ * @param {string | null} [cFConnectingIP]
1850
+ * @param {string | null} [cFIPCountry]
1851
+ * @param {*} [options] Override http request option.
1852
+ * @throws {RequiredError}
1853
+ * @memberof AuthApi
1854
+ */
1855
+ loginV1AuthLoginPost(loginSchema: LoginSchema, userAgent?: string | null, cFConnectingIP?: string | null, cFIPCountry?: string | null, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<AuthenticationSuccess, any, {}>>;
1856
+ /**
1857
+ * Logout user
1858
+ * @summary Logout
1859
+ * @param {string | null} [sessionId]
1860
+ * @param {*} [options] Override http request option.
1861
+ * @throws {RequiredError}
1862
+ * @memberof AuthApi
1863
+ */
1864
+ logoutV1AuthLogoutPost(sessionId?: string | null, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<Details, any, {}>>;
1865
+ /**
1866
+ *
1867
+ * @summary Register
1868
+ * @param {RegisterSchema} registerSchema
1869
+ * @param {string | null} [userAgent]
1870
+ * @param {string | null} [cFConnectingIP]
1871
+ * @param {string | null} [cFIPCountry]
1872
+ * @param {*} [options] Override http request option.
1873
+ * @throws {RequiredError}
1874
+ * @memberof AuthApi
1875
+ */
1876
+ registerV1AuthRegisterPost(registerSchema: RegisterSchema, userAgent?: string | null, cFConnectingIP?: string | null, cFIPCountry?: string | null, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<AuthenticationSuccess, any, {}>>;
1877
+ }
1878
+ /**
1879
+ * CompanyApi - axios parameter creator
1880
+ * @export
1881
+ */
1882
+ export declare const CompanyApiAxiosParamCreator: (configuration?: Configuration) => {
1883
+ /**
1884
+ *
1885
+ * @summary Create Company
1886
+ * @param {CompanyCreate} companyCreate
1887
+ * @param {string} [authorization]
1888
+ * @param {string} [sessionId]
1889
+ * @param {*} [options] Override http request option.
1890
+ * @throws {RequiredError}
1891
+ */
1892
+ createCompanyV1CompanyCreatePost: (companyCreate: CompanyCreate, authorization?: string, sessionId?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
1893
+ /**
1894
+ *
1895
+ * @summary Get Companies
1896
+ * @param {number} [page]
1897
+ * @param {number} [limit]
1898
+ * @param {string} [authorization]
1899
+ * @param {string} [sessionId]
1900
+ * @param {*} [options] Override http request option.
1901
+ * @throws {RequiredError}
1902
+ */
1903
+ getCompaniesV1CompanyListGet: (page?: number, limit?: number, authorization?: string, sessionId?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
1904
+ /**
1905
+ *
1906
+ * @summary Get Company
1907
+ * @param {string} companyId
1908
+ * @param {string} [authorization]
1909
+ * @param {string} [sessionId]
1910
+ * @param {*} [options] Override http request option.
1911
+ * @throws {RequiredError}
1912
+ */
1913
+ getCompanyV1CompanyGetCompanyIdGet: (companyId: string, authorization?: string, sessionId?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
1914
+ /**
1915
+ *
1916
+ * @summary Get Controls
1917
+ * @param {string} companyId
1918
+ * @param {string} [authorization]
1919
+ * @param {string} [sessionId]
1920
+ * @param {*} [options] Override http request option.
1921
+ * @throws {RequiredError}
1922
+ */
1923
+ getControlsV1CompanyControlsCompanyIdGet: (companyId: string, authorization?: string, sessionId?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
1924
+ /**
1925
+ *
1926
+ * @summary Get Policies
1927
+ * @param {number} [page]
1928
+ * @param {number} [limit]
1929
+ * @param {string} [authorization]
1930
+ * @param {string} [sessionId]
1931
+ * @param {*} [options] Override http request option.
1932
+ * @throws {RequiredError}
1933
+ */
1934
+ getPoliciesV1CompanyPoliciesGet: (page?: number, limit?: number, authorization?: string, sessionId?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
1935
+ /**
1936
+ *
1937
+ * @summary Update Company
1938
+ * @param {CompanyUpdate} companyUpdate
1939
+ * @param {string} [authorization]
1940
+ * @param {string} [sessionId]
1941
+ * @param {*} [options] Override http request option.
1942
+ * @throws {RequiredError}
1943
+ */
1944
+ updateCompanyV1CompanyUpdatePatch: (companyUpdate: CompanyUpdate, authorization?: string, sessionId?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
1945
+ };
1946
+ /**
1947
+ * CompanyApi - functional programming interface
1948
+ * @export
1949
+ */
1950
+ export declare const CompanyApiFp: (configuration?: Configuration) => {
1951
+ /**
1952
+ *
1953
+ * @summary Create Company
1954
+ * @param {CompanyCreate} companyCreate
1955
+ * @param {string} [authorization]
1956
+ * @param {string} [sessionId]
1957
+ * @param {*} [options] Override http request option.
1958
+ * @throws {RequiredError}
1959
+ */
1960
+ createCompanyV1CompanyCreatePost(companyCreate: CompanyCreate, authorization?: string, sessionId?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CompanyInDBBase>>;
1961
+ /**
1962
+ *
1963
+ * @summary Get Companies
1964
+ * @param {number} [page]
1965
+ * @param {number} [limit]
1966
+ * @param {string} [authorization]
1967
+ * @param {string} [sessionId]
1968
+ * @param {*} [options] Override http request option.
1969
+ * @throws {RequiredError}
1970
+ */
1971
+ getCompaniesV1CompanyListGet(page?: number, limit?: number, authorization?: string, sessionId?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<CompanyInDBBase>>>;
1972
+ /**
1973
+ *
1974
+ * @summary Get Company
1975
+ * @param {string} companyId
1976
+ * @param {string} [authorization]
1977
+ * @param {string} [sessionId]
1978
+ * @param {*} [options] Override http request option.
1979
+ * @throws {RequiredError}
1980
+ */
1981
+ getCompanyV1CompanyGetCompanyIdGet(companyId: string, authorization?: string, sessionId?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CompanyWithRoles>>;
1982
+ /**
1983
+ *
1984
+ * @summary Get Controls
1985
+ * @param {string} companyId
1986
+ * @param {string} [authorization]
1987
+ * @param {string} [sessionId]
1988
+ * @param {*} [options] Override http request option.
1989
+ * @throws {RequiredError}
1990
+ */
1991
+ getControlsV1CompanyControlsCompanyIdGet(companyId: string, authorization?: string, sessionId?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CompanyWithControls>>;
1992
+ /**
1993
+ *
1994
+ * @summary Get Policies
1995
+ * @param {number} [page]
1996
+ * @param {number} [limit]
1997
+ * @param {string} [authorization]
1998
+ * @param {string} [sessionId]
1999
+ * @param {*} [options] Override http request option.
2000
+ * @throws {RequiredError}
2001
+ */
2002
+ getPoliciesV1CompanyPoliciesGet(page?: number, limit?: number, authorization?: string, sessionId?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<PolicyRead>>>;
2003
+ /**
2004
+ *
2005
+ * @summary Update Company
2006
+ * @param {CompanyUpdate} companyUpdate
2007
+ * @param {string} [authorization]
2008
+ * @param {string} [sessionId]
2009
+ * @param {*} [options] Override http request option.
2010
+ * @throws {RequiredError}
2011
+ */
2012
+ updateCompanyV1CompanyUpdatePatch(companyUpdate: CompanyUpdate, authorization?: string, sessionId?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CompanyInDBBase>>;
2013
+ };
2014
+ /**
2015
+ * CompanyApi - factory interface
2016
+ * @export
2017
+ */
2018
+ export declare const CompanyApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
2019
+ /**
2020
+ *
2021
+ * @summary Create Company
2022
+ * @param {CompanyCreate} companyCreate
2023
+ * @param {string} [authorization]
2024
+ * @param {string} [sessionId]
2025
+ * @param {*} [options] Override http request option.
2026
+ * @throws {RequiredError}
2027
+ */
2028
+ createCompanyV1CompanyCreatePost(companyCreate: CompanyCreate, authorization?: string, sessionId?: string, options?: RawAxiosRequestConfig): AxiosPromise<CompanyInDBBase>;
2029
+ /**
2030
+ *
2031
+ * @summary Get Companies
2032
+ * @param {number} [page]
2033
+ * @param {number} [limit]
2034
+ * @param {string} [authorization]
2035
+ * @param {string} [sessionId]
2036
+ * @param {*} [options] Override http request option.
2037
+ * @throws {RequiredError}
2038
+ */
2039
+ getCompaniesV1CompanyListGet(page?: number, limit?: number, authorization?: string, sessionId?: string, options?: RawAxiosRequestConfig): AxiosPromise<Array<CompanyInDBBase>>;
2040
+ /**
2041
+ *
2042
+ * @summary Get Company
2043
+ * @param {string} companyId
2044
+ * @param {string} [authorization]
2045
+ * @param {string} [sessionId]
2046
+ * @param {*} [options] Override http request option.
2047
+ * @throws {RequiredError}
2048
+ */
2049
+ getCompanyV1CompanyGetCompanyIdGet(companyId: string, authorization?: string, sessionId?: string, options?: RawAxiosRequestConfig): AxiosPromise<CompanyWithRoles>;
2050
+ /**
2051
+ *
2052
+ * @summary Get Controls
2053
+ * @param {string} companyId
2054
+ * @param {string} [authorization]
2055
+ * @param {string} [sessionId]
2056
+ * @param {*} [options] Override http request option.
2057
+ * @throws {RequiredError}
2058
+ */
2059
+ getControlsV1CompanyControlsCompanyIdGet(companyId: string, authorization?: string, sessionId?: string, options?: RawAxiosRequestConfig): AxiosPromise<CompanyWithControls>;
2060
+ /**
2061
+ *
2062
+ * @summary Get Policies
2063
+ * @param {number} [page]
2064
+ * @param {number} [limit]
2065
+ * @param {string} [authorization]
2066
+ * @param {string} [sessionId]
2067
+ * @param {*} [options] Override http request option.
2068
+ * @throws {RequiredError}
2069
+ */
2070
+ getPoliciesV1CompanyPoliciesGet(page?: number, limit?: number, authorization?: string, sessionId?: string, options?: RawAxiosRequestConfig): AxiosPromise<Array<PolicyRead>>;
2071
+ /**
2072
+ *
2073
+ * @summary Update Company
2074
+ * @param {CompanyUpdate} companyUpdate
2075
+ * @param {string} [authorization]
2076
+ * @param {string} [sessionId]
2077
+ * @param {*} [options] Override http request option.
2078
+ * @throws {RequiredError}
2079
+ */
2080
+ updateCompanyV1CompanyUpdatePatch(companyUpdate: CompanyUpdate, authorization?: string, sessionId?: string, options?: RawAxiosRequestConfig): AxiosPromise<CompanyInDBBase>;
2081
+ };
2082
+ /**
2083
+ * CompanyApi - object-oriented interface
2084
+ * @export
2085
+ * @class CompanyApi
2086
+ * @extends {BaseAPI}
2087
+ */
2088
+ export declare class CompanyApi extends BaseAPI {
2089
+ /**
2090
+ *
2091
+ * @summary Create Company
2092
+ * @param {CompanyCreate} companyCreate
2093
+ * @param {string} [authorization]
2094
+ * @param {string} [sessionId]
2095
+ * @param {*} [options] Override http request option.
2096
+ * @throws {RequiredError}
2097
+ * @memberof CompanyApi
2098
+ */
2099
+ createCompanyV1CompanyCreatePost(companyCreate: CompanyCreate, authorization?: string, sessionId?: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<CompanyInDBBase, any, {}>>;
2100
+ /**
2101
+ *
2102
+ * @summary Get Companies
2103
+ * @param {number} [page]
2104
+ * @param {number} [limit]
2105
+ * @param {string} [authorization]
2106
+ * @param {string} [sessionId]
2107
+ * @param {*} [options] Override http request option.
2108
+ * @throws {RequiredError}
2109
+ * @memberof CompanyApi
2110
+ */
2111
+ getCompaniesV1CompanyListGet(page?: number, limit?: number, authorization?: string, sessionId?: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<CompanyInDBBase[], any, {}>>;
2112
+ /**
2113
+ *
2114
+ * @summary Get Company
2115
+ * @param {string} companyId
2116
+ * @param {string} [authorization]
2117
+ * @param {string} [sessionId]
2118
+ * @param {*} [options] Override http request option.
2119
+ * @throws {RequiredError}
2120
+ * @memberof CompanyApi
2121
+ */
2122
+ getCompanyV1CompanyGetCompanyIdGet(companyId: string, authorization?: string, sessionId?: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<CompanyWithRoles, any, {}>>;
2123
+ /**
2124
+ *
2125
+ * @summary Get Controls
2126
+ * @param {string} companyId
2127
+ * @param {string} [authorization]
2128
+ * @param {string} [sessionId]
2129
+ * @param {*} [options] Override http request option.
2130
+ * @throws {RequiredError}
2131
+ * @memberof CompanyApi
2132
+ */
2133
+ getControlsV1CompanyControlsCompanyIdGet(companyId: string, authorization?: string, sessionId?: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<CompanyWithControls, any, {}>>;
2134
+ /**
2135
+ *
2136
+ * @summary Get Policies
2137
+ * @param {number} [page]
2138
+ * @param {number} [limit]
2139
+ * @param {string} [authorization]
2140
+ * @param {string} [sessionId]
2141
+ * @param {*} [options] Override http request option.
2142
+ * @throws {RequiredError}
2143
+ * @memberof CompanyApi
2144
+ */
2145
+ getPoliciesV1CompanyPoliciesGet(page?: number, limit?: number, authorization?: string, sessionId?: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<PolicyRead[], any, {}>>;
2146
+ /**
2147
+ *
2148
+ * @summary Update Company
2149
+ * @param {CompanyUpdate} companyUpdate
2150
+ * @param {string} [authorization]
2151
+ * @param {string} [sessionId]
2152
+ * @param {*} [options] Override http request option.
2153
+ * @throws {RequiredError}
2154
+ * @memberof CompanyApi
2155
+ */
2156
+ updateCompanyV1CompanyUpdatePatch(companyUpdate: CompanyUpdate, authorization?: string, sessionId?: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<CompanyInDBBase, any, {}>>;
2157
+ }
2158
+ /**
2159
+ * ControlsApi - axios parameter creator
2160
+ * @export
2161
+ */
2162
+ export declare const ControlsApiAxiosParamCreator: (configuration?: Configuration) => {
2163
+ /**
2164
+ *
2165
+ * @summary Get Control
2166
+ * @param {string} controlId
2167
+ * @param {string} [authorization]
2168
+ * @param {string} [sessionId]
2169
+ * @param {*} [options] Override http request option.
2170
+ * @throws {RequiredError}
2171
+ */
2172
+ getControlV1ControlsControlIdGet: (controlId: string, authorization?: string, sessionId?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
2173
+ /**
2174
+ *
2175
+ * @summary Update Control
2176
+ * @param {UpdateControlSchema} updateControlSchema
2177
+ * @param {string} [authorization]
2178
+ * @param {string} [sessionId]
2179
+ * @param {*} [options] Override http request option.
2180
+ * @throws {RequiredError}
2181
+ */
2182
+ updateControlV1ControlsUpdatePatch: (updateControlSchema: UpdateControlSchema, authorization?: string, sessionId?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
2183
+ };
2184
+ /**
2185
+ * ControlsApi - functional programming interface
2186
+ * @export
2187
+ */
2188
+ export declare const ControlsApiFp: (configuration?: Configuration) => {
2189
+ /**
2190
+ *
2191
+ * @summary Get Control
2192
+ * @param {string} controlId
2193
+ * @param {string} [authorization]
2194
+ * @param {string} [sessionId]
2195
+ * @param {*} [options] Override http request option.
2196
+ * @throws {RequiredError}
2197
+ */
2198
+ getControlV1ControlsControlIdGet(controlId: string, authorization?: string, sessionId?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetControl>>;
2199
+ /**
2200
+ *
2201
+ * @summary Update Control
2202
+ * @param {UpdateControlSchema} updateControlSchema
2203
+ * @param {string} [authorization]
2204
+ * @param {string} [sessionId]
2205
+ * @param {*} [options] Override http request option.
2206
+ * @throws {RequiredError}
2207
+ */
2208
+ updateControlV1ControlsUpdatePatch(updateControlSchema: UpdateControlSchema, authorization?: string, sessionId?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetControl>>;
2209
+ };
2210
+ /**
2211
+ * ControlsApi - factory interface
2212
+ * @export
2213
+ */
2214
+ export declare const ControlsApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
2215
+ /**
2216
+ *
2217
+ * @summary Get Control
2218
+ * @param {string} controlId
2219
+ * @param {string} [authorization]
2220
+ * @param {string} [sessionId]
2221
+ * @param {*} [options] Override http request option.
2222
+ * @throws {RequiredError}
2223
+ */
2224
+ getControlV1ControlsControlIdGet(controlId: string, authorization?: string, sessionId?: string, options?: RawAxiosRequestConfig): AxiosPromise<GetControl>;
2225
+ /**
2226
+ *
2227
+ * @summary Update Control
2228
+ * @param {UpdateControlSchema} updateControlSchema
2229
+ * @param {string} [authorization]
2230
+ * @param {string} [sessionId]
2231
+ * @param {*} [options] Override http request option.
2232
+ * @throws {RequiredError}
2233
+ */
2234
+ updateControlV1ControlsUpdatePatch(updateControlSchema: UpdateControlSchema, authorization?: string, sessionId?: string, options?: RawAxiosRequestConfig): AxiosPromise<GetControl>;
2235
+ };
2236
+ /**
2237
+ * ControlsApi - object-oriented interface
2238
+ * @export
2239
+ * @class ControlsApi
2240
+ * @extends {BaseAPI}
2241
+ */
2242
+ export declare class ControlsApi extends BaseAPI {
2243
+ /**
2244
+ *
2245
+ * @summary Get Control
2246
+ * @param {string} controlId
2247
+ * @param {string} [authorization]
2248
+ * @param {string} [sessionId]
2249
+ * @param {*} [options] Override http request option.
2250
+ * @throws {RequiredError}
2251
+ * @memberof ControlsApi
2252
+ */
2253
+ getControlV1ControlsControlIdGet(controlId: string, authorization?: string, sessionId?: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<GetControl, any, {}>>;
2254
+ /**
2255
+ *
2256
+ * @summary Update Control
2257
+ * @param {UpdateControlSchema} updateControlSchema
2258
+ * @param {string} [authorization]
2259
+ * @param {string} [sessionId]
2260
+ * @param {*} [options] Override http request option.
2261
+ * @throws {RequiredError}
2262
+ * @memberof ControlsApi
2263
+ */
2264
+ updateControlV1ControlsUpdatePatch(updateControlSchema: UpdateControlSchema, authorization?: string, sessionId?: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<GetControl, any, {}>>;
2265
+ }
2266
+ /**
2267
+ * DefaultApi - axios parameter creator
2268
+ * @export
2269
+ */
2270
+ export declare const DefaultApiAxiosParamCreator: (configuration?: Configuration) => {
2271
+ /**
2272
+ *
2273
+ * @summary Get Db Health
2274
+ * @param {*} [options] Override http request option.
2275
+ * @throws {RequiredError}
2276
+ */
2277
+ getDbHealthHealthDbGet: (options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
2278
+ /**
2279
+ *
2280
+ * @summary Get Health
2281
+ * @param {*} [options] Override http request option.
2282
+ * @throws {RequiredError}
2283
+ */
2284
+ getHealthHealthGet: (options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
2285
+ /**
2286
+ *
2287
+ * @summary Get Listmonk Health
2288
+ * @param {*} [options] Override http request option.
2289
+ * @throws {RequiredError}
2290
+ */
2291
+ getListmonkHealthHealthListmonkGet: (options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
2292
+ /**
2293
+ *
2294
+ * @summary Get Redis Health
2295
+ * @param {*} [options] Override http request option.
2296
+ * @throws {RequiredError}
2297
+ */
2298
+ getRedisHealthHealthRedisGet: (options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
2299
+ };
2300
+ /**
2301
+ * DefaultApi - functional programming interface
2302
+ * @export
2303
+ */
2304
+ export declare const DefaultApiFp: (configuration?: Configuration) => {
2305
+ /**
2306
+ *
2307
+ * @summary Get Db Health
2308
+ * @param {*} [options] Override http request option.
2309
+ * @throws {RequiredError}
2310
+ */
2311
+ getDbHealthHealthDbGet(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<any>>;
2312
+ /**
2313
+ *
2314
+ * @summary Get Health
2315
+ * @param {*} [options] Override http request option.
2316
+ * @throws {RequiredError}
2317
+ */
2318
+ getHealthHealthGet(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<any>>;
2319
+ /**
2320
+ *
2321
+ * @summary Get Listmonk Health
2322
+ * @param {*} [options] Override http request option.
2323
+ * @throws {RequiredError}
2324
+ */
2325
+ getListmonkHealthHealthListmonkGet(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<any>>;
2326
+ /**
2327
+ *
2328
+ * @summary Get Redis Health
2329
+ * @param {*} [options] Override http request option.
2330
+ * @throws {RequiredError}
2331
+ */
2332
+ getRedisHealthHealthRedisGet(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<any>>;
2333
+ };
2334
+ /**
2335
+ * DefaultApi - factory interface
2336
+ * @export
2337
+ */
2338
+ export declare const DefaultApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
2339
+ /**
2340
+ *
2341
+ * @summary Get Db Health
2342
+ * @param {*} [options] Override http request option.
2343
+ * @throws {RequiredError}
2344
+ */
2345
+ getDbHealthHealthDbGet(options?: RawAxiosRequestConfig): AxiosPromise<any>;
2346
+ /**
2347
+ *
2348
+ * @summary Get Health
2349
+ * @param {*} [options] Override http request option.
2350
+ * @throws {RequiredError}
2351
+ */
2352
+ getHealthHealthGet(options?: RawAxiosRequestConfig): AxiosPromise<any>;
2353
+ /**
2354
+ *
2355
+ * @summary Get Listmonk Health
2356
+ * @param {*} [options] Override http request option.
2357
+ * @throws {RequiredError}
2358
+ */
2359
+ getListmonkHealthHealthListmonkGet(options?: RawAxiosRequestConfig): AxiosPromise<any>;
2360
+ /**
2361
+ *
2362
+ * @summary Get Redis Health
2363
+ * @param {*} [options] Override http request option.
2364
+ * @throws {RequiredError}
2365
+ */
2366
+ getRedisHealthHealthRedisGet(options?: RawAxiosRequestConfig): AxiosPromise<any>;
2367
+ };
2368
+ /**
2369
+ * DefaultApi - object-oriented interface
2370
+ * @export
2371
+ * @class DefaultApi
2372
+ * @extends {BaseAPI}
2373
+ */
2374
+ export declare class DefaultApi extends BaseAPI {
2375
+ /**
2376
+ *
2377
+ * @summary Get Db Health
2378
+ * @param {*} [options] Override http request option.
2379
+ * @throws {RequiredError}
2380
+ * @memberof DefaultApi
2381
+ */
2382
+ getDbHealthHealthDbGet(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<any, any, {}>>;
2383
+ /**
2384
+ *
2385
+ * @summary Get Health
2386
+ * @param {*} [options] Override http request option.
2387
+ * @throws {RequiredError}
2388
+ * @memberof DefaultApi
2389
+ */
2390
+ getHealthHealthGet(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<any, any, {}>>;
2391
+ /**
2392
+ *
2393
+ * @summary Get Listmonk Health
2394
+ * @param {*} [options] Override http request option.
2395
+ * @throws {RequiredError}
2396
+ * @memberof DefaultApi
2397
+ */
2398
+ getListmonkHealthHealthListmonkGet(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<any, any, {}>>;
2399
+ /**
2400
+ *
2401
+ * @summary Get Redis Health
2402
+ * @param {*} [options] Override http request option.
2403
+ * @throws {RequiredError}
2404
+ * @memberof DefaultApi
2405
+ */
2406
+ getRedisHealthHealthRedisGet(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<any, any, {}>>;
2407
+ }
2408
+ /**
2409
+ * EvidenceApi - axios parameter creator
2410
+ * @export
2411
+ */
2412
+ export declare const EvidenceApiAxiosParamCreator: (configuration?: Configuration) => {
2413
+ /**
2414
+ *
2415
+ * @summary Delete Evidence
2416
+ * @param {string} evidenceId
2417
+ * @param {string} [authorization]
2418
+ * @param {string} [sessionId]
2419
+ * @param {*} [options] Override http request option.
2420
+ * @throws {RequiredError}
2421
+ */
2422
+ deleteEvidenceV1EvidenceDeleteDelete: (evidenceId: string, authorization?: string, sessionId?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
2423
+ /**
2424
+ *
2425
+ * @summary Get Evidence Files
2426
+ * @param {string} evidenceId
2427
+ * @param {string} [authorization]
2428
+ * @param {string} [sessionId]
2429
+ * @param {*} [options] Override http request option.
2430
+ * @throws {RequiredError}
2431
+ */
2432
+ getEvidenceFilesV1EvidenceFileEvidenceIdGet: (evidenceId: string, authorization?: string, sessionId?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
2433
+ /**
2434
+ *
2435
+ * @summary List Company Evidence
2436
+ * @param {string} companyId
2437
+ * @param {string} [authorization]
2438
+ * @param {string} [sessionId]
2439
+ * @param {*} [options] Override http request option.
2440
+ * @throws {RequiredError}
2441
+ */
2442
+ listCompanyEvidenceV1EvidenceCompanyCompanyIdGet: (companyId: string, authorization?: string, sessionId?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
2443
+ /**
2444
+ *
2445
+ * @summary Update Evidence
2446
+ * @param {string} evidenceId
2447
+ * @param {string} text
2448
+ * @param {string} [authorization]
2449
+ * @param {string} [sessionId]
2450
+ * @param {*} [options] Override http request option.
2451
+ * @throws {RequiredError}
2452
+ */
2453
+ updateEvidenceV1EvidenceUpdatePut: (evidenceId: string, text: string, authorization?: string, sessionId?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
2454
+ /**
2455
+ *
2456
+ * @summary Upload Evidence
2457
+ * @param {string} companyId
2458
+ * @param {string} controlId
2459
+ * @param {File | null} file
2460
+ * @param {string | null} text
2461
+ * @param {string} [authorization]
2462
+ * @param {string} [sessionId]
2463
+ * @param {*} [options] Override http request option.
2464
+ * @throws {RequiredError}
2465
+ */
2466
+ uploadEvidenceV1EvidenceUploadPost: (companyId: string, controlId: string, file: File | null, text: string | null, authorization?: string, sessionId?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
2467
+ };
2468
+ /**
2469
+ * EvidenceApi - functional programming interface
2470
+ * @export
2471
+ */
2472
+ export declare const EvidenceApiFp: (configuration?: Configuration) => {
2473
+ /**
2474
+ *
2475
+ * @summary Delete Evidence
2476
+ * @param {string} evidenceId
2477
+ * @param {string} [authorization]
2478
+ * @param {string} [sessionId]
2479
+ * @param {*} [options] Override http request option.
2480
+ * @throws {RequiredError}
2481
+ */
2482
+ deleteEvidenceV1EvidenceDeleteDelete(evidenceId: string, authorization?: string, sessionId?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
2483
+ /**
2484
+ *
2485
+ * @summary Get Evidence Files
2486
+ * @param {string} evidenceId
2487
+ * @param {string} [authorization]
2488
+ * @param {string} [sessionId]
2489
+ * @param {*} [options] Override http request option.
2490
+ * @throws {RequiredError}
2491
+ */
2492
+ getEvidenceFilesV1EvidenceFileEvidenceIdGet(evidenceId: string, authorization?: string, sessionId?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<FileDownload>>>;
2493
+ /**
2494
+ *
2495
+ * @summary List Company Evidence
2496
+ * @param {string} companyId
2497
+ * @param {string} [authorization]
2498
+ * @param {string} [sessionId]
2499
+ * @param {*} [options] Override http request option.
2500
+ * @throws {RequiredError}
2501
+ */
2502
+ listCompanyEvidenceV1EvidenceCompanyCompanyIdGet(companyId: string, authorization?: string, sessionId?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<EvidenceBase>>>;
2503
+ /**
2504
+ *
2505
+ * @summary Update Evidence
2506
+ * @param {string} evidenceId
2507
+ * @param {string} text
2508
+ * @param {string} [authorization]
2509
+ * @param {string} [sessionId]
2510
+ * @param {*} [options] Override http request option.
2511
+ * @throws {RequiredError}
2512
+ */
2513
+ updateEvidenceV1EvidenceUpdatePut(evidenceId: string, text: string, authorization?: string, sessionId?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<EvidenceBase>>;
2514
+ /**
2515
+ *
2516
+ * @summary Upload Evidence
2517
+ * @param {string} companyId
2518
+ * @param {string} controlId
2519
+ * @param {File | null} file
2520
+ * @param {string | null} text
2521
+ * @param {string} [authorization]
2522
+ * @param {string} [sessionId]
2523
+ * @param {*} [options] Override http request option.
2524
+ * @throws {RequiredError}
2525
+ */
2526
+ uploadEvidenceV1EvidenceUploadPost(companyId: string, controlId: string, file: File | null, text: string | null, authorization?: string, sessionId?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<EvidenceBase>>;
2527
+ };
2528
+ /**
2529
+ * EvidenceApi - factory interface
2530
+ * @export
2531
+ */
2532
+ export declare const EvidenceApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
2533
+ /**
2534
+ *
2535
+ * @summary Delete Evidence
2536
+ * @param {string} evidenceId
2537
+ * @param {string} [authorization]
2538
+ * @param {string} [sessionId]
2539
+ * @param {*} [options] Override http request option.
2540
+ * @throws {RequiredError}
2541
+ */
2542
+ deleteEvidenceV1EvidenceDeleteDelete(evidenceId: string, authorization?: string, sessionId?: string, options?: RawAxiosRequestConfig): AxiosPromise<void>;
2543
+ /**
2544
+ *
2545
+ * @summary Get Evidence Files
2546
+ * @param {string} evidenceId
2547
+ * @param {string} [authorization]
2548
+ * @param {string} [sessionId]
2549
+ * @param {*} [options] Override http request option.
2550
+ * @throws {RequiredError}
2551
+ */
2552
+ getEvidenceFilesV1EvidenceFileEvidenceIdGet(evidenceId: string, authorization?: string, sessionId?: string, options?: RawAxiosRequestConfig): AxiosPromise<Array<FileDownload>>;
2553
+ /**
2554
+ *
2555
+ * @summary List Company Evidence
2556
+ * @param {string} companyId
2557
+ * @param {string} [authorization]
2558
+ * @param {string} [sessionId]
2559
+ * @param {*} [options] Override http request option.
2560
+ * @throws {RequiredError}
2561
+ */
2562
+ listCompanyEvidenceV1EvidenceCompanyCompanyIdGet(companyId: string, authorization?: string, sessionId?: string, options?: RawAxiosRequestConfig): AxiosPromise<Array<EvidenceBase>>;
2563
+ /**
2564
+ *
2565
+ * @summary Update Evidence
2566
+ * @param {string} evidenceId
2567
+ * @param {string} text
2568
+ * @param {string} [authorization]
2569
+ * @param {string} [sessionId]
2570
+ * @param {*} [options] Override http request option.
2571
+ * @throws {RequiredError}
2572
+ */
2573
+ updateEvidenceV1EvidenceUpdatePut(evidenceId: string, text: string, authorization?: string, sessionId?: string, options?: RawAxiosRequestConfig): AxiosPromise<EvidenceBase>;
2574
+ /**
2575
+ *
2576
+ * @summary Upload Evidence
2577
+ * @param {string} companyId
2578
+ * @param {string} controlId
2579
+ * @param {File | null} file
2580
+ * @param {string | null} text
2581
+ * @param {string} [authorization]
2582
+ * @param {string} [sessionId]
2583
+ * @param {*} [options] Override http request option.
2584
+ * @throws {RequiredError}
2585
+ */
2586
+ uploadEvidenceV1EvidenceUploadPost(companyId: string, controlId: string, file: File | null, text: string | null, authorization?: string, sessionId?: string, options?: RawAxiosRequestConfig): AxiosPromise<EvidenceBase>;
2587
+ };
2588
+ /**
2589
+ * EvidenceApi - object-oriented interface
2590
+ * @export
2591
+ * @class EvidenceApi
2592
+ * @extends {BaseAPI}
2593
+ */
2594
+ export declare class EvidenceApi extends BaseAPI {
2595
+ /**
2596
+ *
2597
+ * @summary Delete Evidence
2598
+ * @param {string} evidenceId
2599
+ * @param {string} [authorization]
2600
+ * @param {string} [sessionId]
2601
+ * @param {*} [options] Override http request option.
2602
+ * @throws {RequiredError}
2603
+ * @memberof EvidenceApi
2604
+ */
2605
+ deleteEvidenceV1EvidenceDeleteDelete(evidenceId: string, authorization?: string, sessionId?: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}>>;
2606
+ /**
2607
+ *
2608
+ * @summary Get Evidence Files
2609
+ * @param {string} evidenceId
2610
+ * @param {string} [authorization]
2611
+ * @param {string} [sessionId]
2612
+ * @param {*} [options] Override http request option.
2613
+ * @throws {RequiredError}
2614
+ * @memberof EvidenceApi
2615
+ */
2616
+ getEvidenceFilesV1EvidenceFileEvidenceIdGet(evidenceId: string, authorization?: string, sessionId?: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<FileDownload[], any, {}>>;
2617
+ /**
2618
+ *
2619
+ * @summary List Company Evidence
2620
+ * @param {string} companyId
2621
+ * @param {string} [authorization]
2622
+ * @param {string} [sessionId]
2623
+ * @param {*} [options] Override http request option.
2624
+ * @throws {RequiredError}
2625
+ * @memberof EvidenceApi
2626
+ */
2627
+ listCompanyEvidenceV1EvidenceCompanyCompanyIdGet(companyId: string, authorization?: string, sessionId?: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<EvidenceBase[], any, {}>>;
2628
+ /**
2629
+ *
2630
+ * @summary Update Evidence
2631
+ * @param {string} evidenceId
2632
+ * @param {string} text
2633
+ * @param {string} [authorization]
2634
+ * @param {string} [sessionId]
2635
+ * @param {*} [options] Override http request option.
2636
+ * @throws {RequiredError}
2637
+ * @memberof EvidenceApi
2638
+ */
2639
+ updateEvidenceV1EvidenceUpdatePut(evidenceId: string, text: string, authorization?: string, sessionId?: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<EvidenceBase, any, {}>>;
2640
+ /**
2641
+ *
2642
+ * @summary Upload Evidence
2643
+ * @param {string} companyId
2644
+ * @param {string} controlId
2645
+ * @param {File | null} file
2646
+ * @param {string | null} text
2647
+ * @param {string} [authorization]
2648
+ * @param {string} [sessionId]
2649
+ * @param {*} [options] Override http request option.
2650
+ * @throws {RequiredError}
2651
+ * @memberof EvidenceApi
2652
+ */
2653
+ uploadEvidenceV1EvidenceUploadPost(companyId: string, controlId: string, file: File | null, text: string | null, authorization?: string, sessionId?: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<EvidenceBase, any, {}>>;
2654
+ }
2655
+ /**
2656
+ * PaymentsApi - axios parameter creator
2657
+ * @export
2658
+ */
2659
+ export declare const PaymentsApiAxiosParamCreator: (configuration?: Configuration) => {
2660
+ /**
2661
+ *
2662
+ * @summary Get Checkout Session
2663
+ * @param {string} userId
2664
+ * @param {string} companyId
2665
+ * @param {string} productId
2666
+ * @param {*} [options] Override http request option.
2667
+ * @throws {RequiredError}
2668
+ */
2669
+ getCheckoutSessionPaymentsCheckoutGet: (userId: string, companyId: string, productId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
2670
+ /**
2671
+ *
2672
+ * @summary Get Customer Management Session
2673
+ * @param {string} [authorization]
2674
+ * @param {string} [sessionId]
2675
+ * @param {*} [options] Override http request option.
2676
+ * @throws {RequiredError}
2677
+ */
2678
+ getCustomerManagementSessionPaymentsCustomerManagementGet: (authorization?: string, sessionId?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
2679
+ /**
2680
+ *
2681
+ * @summary Webhook
2682
+ * @param {*} [options] Override http request option.
2683
+ * @throws {RequiredError}
2684
+ */
2685
+ webhookPaymentsWebhookPost: (options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
2686
+ };
2687
+ /**
2688
+ * PaymentsApi - functional programming interface
2689
+ * @export
2690
+ */
2691
+ export declare const PaymentsApiFp: (configuration?: Configuration) => {
2692
+ /**
2693
+ *
2694
+ * @summary Get Checkout Session
2695
+ * @param {string} userId
2696
+ * @param {string} companyId
2697
+ * @param {string} productId
2698
+ * @param {*} [options] Override http request option.
2699
+ * @throws {RequiredError}
2700
+ */
2701
+ getCheckoutSessionPaymentsCheckoutGet(userId: string, companyId: string, productId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ResponseGetCheckoutSessionPaymentsCheckoutGet>>;
2702
+ /**
2703
+ *
2704
+ * @summary Get Customer Management Session
2705
+ * @param {string} [authorization]
2706
+ * @param {string} [sessionId]
2707
+ * @param {*} [options] Override http request option.
2708
+ * @throws {RequiredError}
2709
+ */
2710
+ getCustomerManagementSessionPaymentsCustomerManagementGet(authorization?: string, sessionId?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ResponseGetCustomerManagementSessionPaymentsCustomerManagementGet>>;
2711
+ /**
2712
+ *
2713
+ * @summary Webhook
2714
+ * @param {*} [options] Override http request option.
2715
+ * @throws {RequiredError}
2716
+ */
2717
+ webhookPaymentsWebhookPost(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<any>>;
2718
+ };
2719
+ /**
2720
+ * PaymentsApi - factory interface
2721
+ * @export
2722
+ */
2723
+ export declare const PaymentsApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
2724
+ /**
2725
+ *
2726
+ * @summary Get Checkout Session
2727
+ * @param {string} userId
2728
+ * @param {string} companyId
2729
+ * @param {string} productId
2730
+ * @param {*} [options] Override http request option.
2731
+ * @throws {RequiredError}
2732
+ */
2733
+ getCheckoutSessionPaymentsCheckoutGet(userId: string, companyId: string, productId: string, options?: RawAxiosRequestConfig): AxiosPromise<ResponseGetCheckoutSessionPaymentsCheckoutGet>;
2734
+ /**
2735
+ *
2736
+ * @summary Get Customer Management Session
2737
+ * @param {string} [authorization]
2738
+ * @param {string} [sessionId]
2739
+ * @param {*} [options] Override http request option.
2740
+ * @throws {RequiredError}
2741
+ */
2742
+ getCustomerManagementSessionPaymentsCustomerManagementGet(authorization?: string, sessionId?: string, options?: RawAxiosRequestConfig): AxiosPromise<ResponseGetCustomerManagementSessionPaymentsCustomerManagementGet>;
2743
+ /**
2744
+ *
2745
+ * @summary Webhook
2746
+ * @param {*} [options] Override http request option.
2747
+ * @throws {RequiredError}
2748
+ */
2749
+ webhookPaymentsWebhookPost(options?: RawAxiosRequestConfig): AxiosPromise<any>;
2750
+ };
2751
+ /**
2752
+ * PaymentsApi - object-oriented interface
2753
+ * @export
2754
+ * @class PaymentsApi
2755
+ * @extends {BaseAPI}
2756
+ */
2757
+ export declare class PaymentsApi extends BaseAPI {
2758
+ /**
2759
+ *
2760
+ * @summary Get Checkout Session
2761
+ * @param {string} userId
2762
+ * @param {string} companyId
2763
+ * @param {string} productId
2764
+ * @param {*} [options] Override http request option.
2765
+ * @throws {RequiredError}
2766
+ * @memberof PaymentsApi
2767
+ */
2768
+ getCheckoutSessionPaymentsCheckoutGet(userId: string, companyId: string, productId: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ResponseGetCheckoutSessionPaymentsCheckoutGet, any, {}>>;
2769
+ /**
2770
+ *
2771
+ * @summary Get Customer Management Session
2772
+ * @param {string} [authorization]
2773
+ * @param {string} [sessionId]
2774
+ * @param {*} [options] Override http request option.
2775
+ * @throws {RequiredError}
2776
+ * @memberof PaymentsApi
2777
+ */
2778
+ getCustomerManagementSessionPaymentsCustomerManagementGet(authorization?: string, sessionId?: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ResponseGetCustomerManagementSessionPaymentsCustomerManagementGet, any, {}>>;
2779
+ /**
2780
+ *
2781
+ * @summary Webhook
2782
+ * @param {*} [options] Override http request option.
2783
+ * @throws {RequiredError}
2784
+ * @memberof PaymentsApi
2785
+ */
2786
+ webhookPaymentsWebhookPost(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<any, any, {}>>;
2787
+ }
2788
+ /**
2789
+ * PoliciesApi - axios parameter creator
2790
+ * @export
2791
+ */
2792
+ export declare const PoliciesApiAxiosParamCreator: (configuration?: Configuration) => {
2793
+ /**
2794
+ *
2795
+ * @summary Create Policy
2796
+ * @param {PolicyCreate} policyCreate
2797
+ * @param {string} [authorization]
2798
+ * @param {string} [sessionId]
2799
+ * @param {*} [options] Override http request option.
2800
+ * @throws {RequiredError}
2801
+ */
2802
+ createPolicyV1PoliciesCreatePost: (policyCreate: PolicyCreate, authorization?: string, sessionId?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
2803
+ /**
2804
+ *
2805
+ * @summary Delete Policy
2806
+ * @param {string} policyId
2807
+ * @param {string} [authorization]
2808
+ * @param {string} [sessionId]
2809
+ * @param {*} [options] Override http request option.
2810
+ * @throws {RequiredError}
2811
+ */
2812
+ deletePolicyV1PoliciesPolicyIdDelete: (policyId: string, authorization?: string, sessionId?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
2813
+ /**
2814
+ *
2815
+ * @summary Get Company Policies
2816
+ * @param {string} companyId
2817
+ * @param {number} [skip] Number of records to skip for pagination
2818
+ * @param {number} [limit] Maximum number of records to return
2819
+ * @param {string} [authorization]
2820
+ * @param {string} [sessionId]
2821
+ * @param {*} [options] Override http request option.
2822
+ * @throws {RequiredError}
2823
+ */
2824
+ getCompanyPoliciesV1PoliciesCompanyCompanyIdGet: (companyId: string, skip?: number, limit?: number, authorization?: string, sessionId?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
2825
+ /**
2826
+ *
2827
+ * @summary Get Policy
2828
+ * @param {string} policyId
2829
+ * @param {*} [options] Override http request option.
2830
+ * @throws {RequiredError}
2831
+ */
2832
+ getPolicyV1PoliciesPolicyIdGet: (policyId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
2833
+ /**
2834
+ *
2835
+ * @summary Update Policy
2836
+ * @param {string} policyId
2837
+ * @param {PolicyUpdate} policyUpdate
2838
+ * @param {string} [authorization]
2839
+ * @param {string} [sessionId]
2840
+ * @param {*} [options] Override http request option.
2841
+ * @throws {RequiredError}
2842
+ */
2843
+ updatePolicyV1PoliciesPolicyIdPut: (policyId: string, policyUpdate: PolicyUpdate, authorization?: string, sessionId?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
2844
+ };
2845
+ /**
2846
+ * PoliciesApi - functional programming interface
2847
+ * @export
2848
+ */
2849
+ export declare const PoliciesApiFp: (configuration?: Configuration) => {
2850
+ /**
2851
+ *
2852
+ * @summary Create Policy
2853
+ * @param {PolicyCreate} policyCreate
2854
+ * @param {string} [authorization]
2855
+ * @param {string} [sessionId]
2856
+ * @param {*} [options] Override http request option.
2857
+ * @throws {RequiredError}
2858
+ */
2859
+ createPolicyV1PoliciesCreatePost(policyCreate: PolicyCreate, authorization?: string, sessionId?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PolicyRead>>;
2860
+ /**
2861
+ *
2862
+ * @summary Delete Policy
2863
+ * @param {string} policyId
2864
+ * @param {string} [authorization]
2865
+ * @param {string} [sessionId]
2866
+ * @param {*} [options] Override http request option.
2867
+ * @throws {RequiredError}
2868
+ */
2869
+ deletePolicyV1PoliciesPolicyIdDelete(policyId: string, authorization?: string, sessionId?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
2870
+ /**
2871
+ *
2872
+ * @summary Get Company Policies
2873
+ * @param {string} companyId
2874
+ * @param {number} [skip] Number of records to skip for pagination
2875
+ * @param {number} [limit] Maximum number of records to return
2876
+ * @param {string} [authorization]
2877
+ * @param {string} [sessionId]
2878
+ * @param {*} [options] Override http request option.
2879
+ * @throws {RequiredError}
2880
+ */
2881
+ getCompanyPoliciesV1PoliciesCompanyCompanyIdGet(companyId: string, skip?: number, limit?: number, authorization?: string, sessionId?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<PolicyRead>>>;
2882
+ /**
2883
+ *
2884
+ * @summary Get Policy
2885
+ * @param {string} policyId
2886
+ * @param {*} [options] Override http request option.
2887
+ * @throws {RequiredError}
2888
+ */
2889
+ getPolicyV1PoliciesPolicyIdGet(policyId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PolicyRead>>;
2890
+ /**
2891
+ *
2892
+ * @summary Update Policy
2893
+ * @param {string} policyId
2894
+ * @param {PolicyUpdate} policyUpdate
2895
+ * @param {string} [authorization]
2896
+ * @param {string} [sessionId]
2897
+ * @param {*} [options] Override http request option.
2898
+ * @throws {RequiredError}
2899
+ */
2900
+ updatePolicyV1PoliciesPolicyIdPut(policyId: string, policyUpdate: PolicyUpdate, authorization?: string, sessionId?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PolicyRead>>;
2901
+ };
2902
+ /**
2903
+ * PoliciesApi - factory interface
2904
+ * @export
2905
+ */
2906
+ export declare const PoliciesApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
2907
+ /**
2908
+ *
2909
+ * @summary Create Policy
2910
+ * @param {PolicyCreate} policyCreate
2911
+ * @param {string} [authorization]
2912
+ * @param {string} [sessionId]
2913
+ * @param {*} [options] Override http request option.
2914
+ * @throws {RequiredError}
2915
+ */
2916
+ createPolicyV1PoliciesCreatePost(policyCreate: PolicyCreate, authorization?: string, sessionId?: string, options?: RawAxiosRequestConfig): AxiosPromise<PolicyRead>;
2917
+ /**
2918
+ *
2919
+ * @summary Delete Policy
2920
+ * @param {string} policyId
2921
+ * @param {string} [authorization]
2922
+ * @param {string} [sessionId]
2923
+ * @param {*} [options] Override http request option.
2924
+ * @throws {RequiredError}
2925
+ */
2926
+ deletePolicyV1PoliciesPolicyIdDelete(policyId: string, authorization?: string, sessionId?: string, options?: RawAxiosRequestConfig): AxiosPromise<void>;
2927
+ /**
2928
+ *
2929
+ * @summary Get Company Policies
2930
+ * @param {string} companyId
2931
+ * @param {number} [skip] Number of records to skip for pagination
2932
+ * @param {number} [limit] Maximum number of records to return
2933
+ * @param {string} [authorization]
2934
+ * @param {string} [sessionId]
2935
+ * @param {*} [options] Override http request option.
2936
+ * @throws {RequiredError}
2937
+ */
2938
+ getCompanyPoliciesV1PoliciesCompanyCompanyIdGet(companyId: string, skip?: number, limit?: number, authorization?: string, sessionId?: string, options?: RawAxiosRequestConfig): AxiosPromise<Array<PolicyRead>>;
2939
+ /**
2940
+ *
2941
+ * @summary Get Policy
2942
+ * @param {string} policyId
2943
+ * @param {*} [options] Override http request option.
2944
+ * @throws {RequiredError}
2945
+ */
2946
+ getPolicyV1PoliciesPolicyIdGet(policyId: string, options?: RawAxiosRequestConfig): AxiosPromise<PolicyRead>;
2947
+ /**
2948
+ *
2949
+ * @summary Update Policy
2950
+ * @param {string} policyId
2951
+ * @param {PolicyUpdate} policyUpdate
2952
+ * @param {string} [authorization]
2953
+ * @param {string} [sessionId]
2954
+ * @param {*} [options] Override http request option.
2955
+ * @throws {RequiredError}
2956
+ */
2957
+ updatePolicyV1PoliciesPolicyIdPut(policyId: string, policyUpdate: PolicyUpdate, authorization?: string, sessionId?: string, options?: RawAxiosRequestConfig): AxiosPromise<PolicyRead>;
2958
+ };
2959
+ /**
2960
+ * PoliciesApi - object-oriented interface
2961
+ * @export
2962
+ * @class PoliciesApi
2963
+ * @extends {BaseAPI}
2964
+ */
2965
+ export declare class PoliciesApi extends BaseAPI {
2966
+ /**
2967
+ *
2968
+ * @summary Create Policy
2969
+ * @param {PolicyCreate} policyCreate
2970
+ * @param {string} [authorization]
2971
+ * @param {string} [sessionId]
2972
+ * @param {*} [options] Override http request option.
2973
+ * @throws {RequiredError}
2974
+ * @memberof PoliciesApi
2975
+ */
2976
+ createPolicyV1PoliciesCreatePost(policyCreate: PolicyCreate, authorization?: string, sessionId?: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<PolicyRead, any, {}>>;
2977
+ /**
2978
+ *
2979
+ * @summary Delete Policy
2980
+ * @param {string} policyId
2981
+ * @param {string} [authorization]
2982
+ * @param {string} [sessionId]
2983
+ * @param {*} [options] Override http request option.
2984
+ * @throws {RequiredError}
2985
+ * @memberof PoliciesApi
2986
+ */
2987
+ deletePolicyV1PoliciesPolicyIdDelete(policyId: string, authorization?: string, sessionId?: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}>>;
2988
+ /**
2989
+ *
2990
+ * @summary Get Company Policies
2991
+ * @param {string} companyId
2992
+ * @param {number} [skip] Number of records to skip for pagination
2993
+ * @param {number} [limit] Maximum number of records to return
2994
+ * @param {string} [authorization]
2995
+ * @param {string} [sessionId]
2996
+ * @param {*} [options] Override http request option.
2997
+ * @throws {RequiredError}
2998
+ * @memberof PoliciesApi
2999
+ */
3000
+ getCompanyPoliciesV1PoliciesCompanyCompanyIdGet(companyId: string, skip?: number, limit?: number, authorization?: string, sessionId?: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<PolicyRead[], any, {}>>;
3001
+ /**
3002
+ *
3003
+ * @summary Get Policy
3004
+ * @param {string} policyId
3005
+ * @param {*} [options] Override http request option.
3006
+ * @throws {RequiredError}
3007
+ * @memberof PoliciesApi
3008
+ */
3009
+ getPolicyV1PoliciesPolicyIdGet(policyId: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<PolicyRead, any, {}>>;
3010
+ /**
3011
+ *
3012
+ * @summary Update Policy
3013
+ * @param {string} policyId
3014
+ * @param {PolicyUpdate} policyUpdate
3015
+ * @param {string} [authorization]
3016
+ * @param {string} [sessionId]
3017
+ * @param {*} [options] Override http request option.
3018
+ * @throws {RequiredError}
3019
+ * @memberof PoliciesApi
3020
+ */
3021
+ updatePolicyV1PoliciesPolicyIdPut(policyId: string, policyUpdate: PolicyUpdate, authorization?: string, sessionId?: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<PolicyRead, any, {}>>;
3022
+ }
3023
+ /**
3024
+ * RolesApi - axios parameter creator
3025
+ * @export
3026
+ */
3027
+ export declare const RolesApiAxiosParamCreator: (configuration?: Configuration) => {
3028
+ /**
3029
+ * Add people to company
3030
+ * @summary Invite
3031
+ * @param {InviteToCompany} inviteToCompany
3032
+ * @param {string} [authorization]
3033
+ * @param {string} [sessionId]
3034
+ * @param {*} [options] Override http request option.
3035
+ * @throws {RequiredError}
3036
+ */
3037
+ inviteV1RolesInvitesPost: (inviteToCompany: InviteToCompany, authorization?: string, sessionId?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
3038
+ /**
3039
+ * Remove people from company
3040
+ * @summary Remove People
3041
+ * @param {RemoveFromCompany} removeFromCompany
3042
+ * @param {string} [authorization]
3043
+ * @param {string} [sessionId]
3044
+ * @param {*} [options] Override http request option.
3045
+ * @throws {RequiredError}
3046
+ */
3047
+ removePeopleV1RolesInvitesDelete: (removeFromCompany: RemoveFromCompany, authorization?: string, sessionId?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
3048
+ };
3049
+ /**
3050
+ * RolesApi - functional programming interface
3051
+ * @export
3052
+ */
3053
+ export declare const RolesApiFp: (configuration?: Configuration) => {
3054
+ /**
3055
+ * Add people to company
3056
+ * @summary Invite
3057
+ * @param {InviteToCompany} inviteToCompany
3058
+ * @param {string} [authorization]
3059
+ * @param {string} [sessionId]
3060
+ * @param {*} [options] Override http request option.
3061
+ * @throws {RequiredError}
3062
+ */
3063
+ inviteV1RolesInvitesPost(inviteToCompany: InviteToCompany, authorization?: string, sessionId?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Details>>;
3064
+ /**
3065
+ * Remove people from company
3066
+ * @summary Remove People
3067
+ * @param {RemoveFromCompany} removeFromCompany
3068
+ * @param {string} [authorization]
3069
+ * @param {string} [sessionId]
3070
+ * @param {*} [options] Override http request option.
3071
+ * @throws {RequiredError}
3072
+ */
3073
+ removePeopleV1RolesInvitesDelete(removeFromCompany: RemoveFromCompany, authorization?: string, sessionId?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Details>>;
3074
+ };
3075
+ /**
3076
+ * RolesApi - factory interface
3077
+ * @export
3078
+ */
3079
+ export declare const RolesApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
3080
+ /**
3081
+ * Add people to company
3082
+ * @summary Invite
3083
+ * @param {InviteToCompany} inviteToCompany
3084
+ * @param {string} [authorization]
3085
+ * @param {string} [sessionId]
3086
+ * @param {*} [options] Override http request option.
3087
+ * @throws {RequiredError}
3088
+ */
3089
+ inviteV1RolesInvitesPost(inviteToCompany: InviteToCompany, authorization?: string, sessionId?: string, options?: RawAxiosRequestConfig): AxiosPromise<Details>;
3090
+ /**
3091
+ * Remove people from company
3092
+ * @summary Remove People
3093
+ * @param {RemoveFromCompany} removeFromCompany
3094
+ * @param {string} [authorization]
3095
+ * @param {string} [sessionId]
3096
+ * @param {*} [options] Override http request option.
3097
+ * @throws {RequiredError}
3098
+ */
3099
+ removePeopleV1RolesInvitesDelete(removeFromCompany: RemoveFromCompany, authorization?: string, sessionId?: string, options?: RawAxiosRequestConfig): AxiosPromise<Details>;
3100
+ };
3101
+ /**
3102
+ * RolesApi - object-oriented interface
3103
+ * @export
3104
+ * @class RolesApi
3105
+ * @extends {BaseAPI}
3106
+ */
3107
+ export declare class RolesApi extends BaseAPI {
3108
+ /**
3109
+ * Add people to company
3110
+ * @summary Invite
3111
+ * @param {InviteToCompany} inviteToCompany
3112
+ * @param {string} [authorization]
3113
+ * @param {string} [sessionId]
3114
+ * @param {*} [options] Override http request option.
3115
+ * @throws {RequiredError}
3116
+ * @memberof RolesApi
3117
+ */
3118
+ inviteV1RolesInvitesPost(inviteToCompany: InviteToCompany, authorization?: string, sessionId?: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<Details, any, {}>>;
3119
+ /**
3120
+ * Remove people from company
3121
+ * @summary Remove People
3122
+ * @param {RemoveFromCompany} removeFromCompany
3123
+ * @param {string} [authorization]
3124
+ * @param {string} [sessionId]
3125
+ * @param {*} [options] Override http request option.
3126
+ * @throws {RequiredError}
3127
+ * @memberof RolesApi
3128
+ */
3129
+ removePeopleV1RolesInvitesDelete(removeFromCompany: RemoveFromCompany, authorization?: string, sessionId?: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<Details, any, {}>>;
3130
+ }
3131
+ /**
3132
+ * UserApi - axios parameter creator
3133
+ * @export
3134
+ */
3135
+ export declare const UserApiAxiosParamCreator: (configuration?: Configuration) => {
3136
+ /**
3137
+ * Change user password
3138
+ * @summary Change Password
3139
+ * @param {UpdatePassword} updatePassword
3140
+ * @param {string | null} [sessionId]
3141
+ * @param {*} [options] Override http request option.
3142
+ * @throws {RequiredError}
3143
+ */
3144
+ changePasswordV1UserPasswordChangePatch: (updatePassword: UpdatePassword, sessionId?: string | null, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
3145
+ /**
3146
+ * Delete user
3147
+ * @summary Delete User
3148
+ * @param {string | null} [sessionId]
3149
+ * @param {*} [options] Override http request option.
3150
+ * @throws {RequiredError}
3151
+ */
3152
+ deleteUserV1UserDeleteDelete: (sessionId?: string | null, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
3153
+ /**
3154
+ * Get current user with relations
3155
+ * @summary Get User Dash
3156
+ * @param {string | null} [sessionId]
3157
+ * @param {*} [options] Override http request option.
3158
+ * @throws {RequiredError}
3159
+ */
3160
+ getUserDashV1UserMeDashGet: (sessionId?: string | null, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
3161
+ /**
3162
+ * Get current user
3163
+ * @summary Get User
3164
+ * @param {string | null} [sessionId]
3165
+ * @param {*} [options] Override http request option.
3166
+ * @throws {RequiredError}
3167
+ */
3168
+ getUserV1UserMeGet: (sessionId?: string | null, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
3169
+ /**
3170
+ * Update user
3171
+ * @summary Update User
3172
+ * @param {UserUpdate} userUpdate
3173
+ * @param {string | null} [sessionId]
3174
+ * @param {*} [options] Override http request option.
3175
+ * @throws {RequiredError}
3176
+ */
3177
+ updateUserV1UserUpdatePatch: (userUpdate: UserUpdate, sessionId?: string | null, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
3178
+ };
3179
+ /**
3180
+ * UserApi - functional programming interface
3181
+ * @export
3182
+ */
3183
+ export declare const UserApiFp: (configuration?: Configuration) => {
3184
+ /**
3185
+ * Change user password
3186
+ * @summary Change Password
3187
+ * @param {UpdatePassword} updatePassword
3188
+ * @param {string | null} [sessionId]
3189
+ * @param {*} [options] Override http request option.
3190
+ * @throws {RequiredError}
3191
+ */
3192
+ changePasswordV1UserPasswordChangePatch(updatePassword: UpdatePassword, sessionId?: string | null, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Details>>;
3193
+ /**
3194
+ * Delete user
3195
+ * @summary Delete User
3196
+ * @param {string | null} [sessionId]
3197
+ * @param {*} [options] Override http request option.
3198
+ * @throws {RequiredError}
3199
+ */
3200
+ deleteUserV1UserDeleteDelete(sessionId?: string | null, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Details>>;
3201
+ /**
3202
+ * Get current user with relations
3203
+ * @summary Get User Dash
3204
+ * @param {string | null} [sessionId]
3205
+ * @param {*} [options] Override http request option.
3206
+ * @throws {RequiredError}
3207
+ */
3208
+ getUserDashV1UserMeDashGet(sessionId?: string | null, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<UserWithRelations>>;
3209
+ /**
3210
+ * Get current user
3211
+ * @summary Get User
3212
+ * @param {string | null} [sessionId]
3213
+ * @param {*} [options] Override http request option.
3214
+ * @throws {RequiredError}
3215
+ */
3216
+ getUserV1UserMeGet(sessionId?: string | null, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<UserInDBBase>>;
3217
+ /**
3218
+ * Update user
3219
+ * @summary Update User
3220
+ * @param {UserUpdate} userUpdate
3221
+ * @param {string | null} [sessionId]
3222
+ * @param {*} [options] Override http request option.
3223
+ * @throws {RequiredError}
3224
+ */
3225
+ updateUserV1UserUpdatePatch(userUpdate: UserUpdate, sessionId?: string | null, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Details>>;
3226
+ };
3227
+ /**
3228
+ * UserApi - factory interface
3229
+ * @export
3230
+ */
3231
+ export declare const UserApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
3232
+ /**
3233
+ * Change user password
3234
+ * @summary Change Password
3235
+ * @param {UpdatePassword} updatePassword
3236
+ * @param {string | null} [sessionId]
3237
+ * @param {*} [options] Override http request option.
3238
+ * @throws {RequiredError}
3239
+ */
3240
+ changePasswordV1UserPasswordChangePatch(updatePassword: UpdatePassword, sessionId?: string | null, options?: RawAxiosRequestConfig): AxiosPromise<Details>;
3241
+ /**
3242
+ * Delete user
3243
+ * @summary Delete User
3244
+ * @param {string | null} [sessionId]
3245
+ * @param {*} [options] Override http request option.
3246
+ * @throws {RequiredError}
3247
+ */
3248
+ deleteUserV1UserDeleteDelete(sessionId?: string | null, options?: RawAxiosRequestConfig): AxiosPromise<Details>;
3249
+ /**
3250
+ * Get current user with relations
3251
+ * @summary Get User Dash
3252
+ * @param {string | null} [sessionId]
3253
+ * @param {*} [options] Override http request option.
3254
+ * @throws {RequiredError}
3255
+ */
3256
+ getUserDashV1UserMeDashGet(sessionId?: string | null, options?: RawAxiosRequestConfig): AxiosPromise<UserWithRelations>;
3257
+ /**
3258
+ * Get current user
3259
+ * @summary Get User
3260
+ * @param {string | null} [sessionId]
3261
+ * @param {*} [options] Override http request option.
3262
+ * @throws {RequiredError}
3263
+ */
3264
+ getUserV1UserMeGet(sessionId?: string | null, options?: RawAxiosRequestConfig): AxiosPromise<UserInDBBase>;
3265
+ /**
3266
+ * Update user
3267
+ * @summary Update User
3268
+ * @param {UserUpdate} userUpdate
3269
+ * @param {string | null} [sessionId]
3270
+ * @param {*} [options] Override http request option.
3271
+ * @throws {RequiredError}
3272
+ */
3273
+ updateUserV1UserUpdatePatch(userUpdate: UserUpdate, sessionId?: string | null, options?: RawAxiosRequestConfig): AxiosPromise<Details>;
3274
+ };
3275
+ /**
3276
+ * UserApi - object-oriented interface
3277
+ * @export
3278
+ * @class UserApi
3279
+ * @extends {BaseAPI}
3280
+ */
3281
+ export declare class UserApi extends BaseAPI {
3282
+ /**
3283
+ * Change user password
3284
+ * @summary Change Password
3285
+ * @param {UpdatePassword} updatePassword
3286
+ * @param {string | null} [sessionId]
3287
+ * @param {*} [options] Override http request option.
3288
+ * @throws {RequiredError}
3289
+ * @memberof UserApi
3290
+ */
3291
+ changePasswordV1UserPasswordChangePatch(updatePassword: UpdatePassword, sessionId?: string | null, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<Details, any, {}>>;
3292
+ /**
3293
+ * Delete user
3294
+ * @summary Delete User
3295
+ * @param {string | null} [sessionId]
3296
+ * @param {*} [options] Override http request option.
3297
+ * @throws {RequiredError}
3298
+ * @memberof UserApi
3299
+ */
3300
+ deleteUserV1UserDeleteDelete(sessionId?: string | null, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<Details, any, {}>>;
3301
+ /**
3302
+ * Get current user with relations
3303
+ * @summary Get User Dash
3304
+ * @param {string | null} [sessionId]
3305
+ * @param {*} [options] Override http request option.
3306
+ * @throws {RequiredError}
3307
+ * @memberof UserApi
3308
+ */
3309
+ getUserDashV1UserMeDashGet(sessionId?: string | null, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<UserWithRelations, any, {}>>;
3310
+ /**
3311
+ * Get current user
3312
+ * @summary Get User
3313
+ * @param {string | null} [sessionId]
3314
+ * @param {*} [options] Override http request option.
3315
+ * @throws {RequiredError}
3316
+ * @memberof UserApi
3317
+ */
3318
+ getUserV1UserMeGet(sessionId?: string | null, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<UserInDBBase, any, {}>>;
3319
+ /**
3320
+ * Update user
3321
+ * @summary Update User
3322
+ * @param {UserUpdate} userUpdate
3323
+ * @param {string | null} [sessionId]
3324
+ * @param {*} [options] Override http request option.
3325
+ * @throws {RequiredError}
3326
+ * @memberof UserApi
3327
+ */
3328
+ updateUserV1UserUpdatePatch(userUpdate: UserUpdate, sessionId?: string | null, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<Details, any, {}>>;
3329
+ }