@rasadov/lumoar-sdk 1.1.9 → 1.2.0

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.
package/dist/api.d.ts CHANGED
@@ -142,188 +142,124 @@ export interface CheckoutSessionResponse {
142
142
  /**
143
143
  *
144
144
  * @export
145
- * @interface CompanyCreate
145
+ * @interface CompanyComplianceInDB
146
146
  */
147
- export interface CompanyCreate {
147
+ export interface CompanyComplianceInDB {
148
148
  /**
149
149
  *
150
- * @type {string}
151
- * @memberof CompanyCreate
150
+ * @type {ComplianceGoal}
151
+ * @memberof CompanyComplianceInDB
152
152
  */
153
- 'name': string;
153
+ 'framework': ComplianceGoal;
154
154
  /**
155
155
  *
156
156
  * @type {string}
157
- * @memberof CompanyCreate
157
+ * @memberof CompanyComplianceInDB
158
158
  */
159
- 'industry': string;
159
+ 'target_audit_date'?: string | null;
160
160
  /**
161
161
  *
162
162
  * @type {number}
163
- * @memberof CompanyCreate
164
- */
165
- 'employee_count': number;
166
- /**
167
- *
168
- * @type {string}
169
- * @memberof CompanyCreate
163
+ * @memberof CompanyComplianceInDB
170
164
  */
171
- 'domain': string;
165
+ 'total_controls'?: number;
172
166
  /**
173
167
  *
174
- * @type {{ [key: string]: any; }}
175
- * @memberof CompanyCreate
168
+ * @type {number}
169
+ * @memberof CompanyComplianceInDB
176
170
  */
177
- 'tools_used'?: {
178
- [key: string]: any;
179
- } | null;
171
+ 'completed_controls'?: number;
180
172
  /**
181
173
  *
182
- * @type {string}
183
- * @memberof CompanyCreate
174
+ * @type {number}
175
+ * @memberof CompanyComplianceInDB
184
176
  */
185
- 'plan'?: string | null;
177
+ 'in_progress_controls'?: number;
186
178
  /**
187
179
  *
188
- * @type {string}
189
- * @memberof CompanyCreate
180
+ * @type {number}
181
+ * @memberof CompanyComplianceInDB
190
182
  */
191
- 'status'?: string | null;
183
+ 'not_started_controls'?: number;
192
184
  /**
193
185
  *
194
- * @type {ComplianceGoal}
195
- * @memberof CompanyCreate
186
+ * @type {number}
187
+ * @memberof CompanyComplianceInDB
196
188
  */
197
- 'compliance_goal'?: ComplianceGoal | null;
189
+ 'failed_controls'?: number;
198
190
  /**
199
191
  *
200
192
  * @type {number}
201
- * @memberof CompanyCreate
193
+ * @memberof CompanyComplianceInDB
202
194
  */
203
- 'readiness_score'?: number | null;
195
+ 'skipped_controls'?: number;
204
196
  /**
205
197
  *
206
- * @type {string}
207
- * @memberof CompanyCreate
198
+ * @type {number}
199
+ * @memberof CompanyComplianceInDB
208
200
  */
209
- 'audit_due_date'?: string | null;
201
+ 'pending_review_controls'?: number;
210
202
  /**
211
203
  *
212
- * @type {boolean}
213
- * @memberof CompanyCreate
204
+ * @type {number}
205
+ * @memberof CompanyComplianceInDB
214
206
  */
215
- 'is_audit_mode'?: boolean;
207
+ 'id': number;
216
208
  /**
217
209
  *
218
210
  * @type {string}
219
- * @memberof CompanyCreate
211
+ * @memberof CompanyComplianceInDB
220
212
  */
221
- 'timezone'?: string;
213
+ 'company_id': string;
222
214
  /**
223
215
  *
224
216
  * @type {string}
225
- * @memberof CompanyCreate
217
+ * @memberof CompanyComplianceInDB
226
218
  */
227
- 'logo_url'?: string | null;
219
+ 'updated_at': string;
228
220
  }
229
221
  /**
230
222
  *
231
223
  * @export
232
- * @interface CompanyInDBBase
224
+ * @interface CompanyCreate
233
225
  */
234
- export interface CompanyInDBBase {
226
+ export interface CompanyCreate {
235
227
  /**
236
228
  *
237
229
  * @type {string}
238
- * @memberof CompanyInDBBase
230
+ * @memberof CompanyCreate
239
231
  */
240
232
  'name': string;
241
233
  /**
242
234
  *
243
235
  * @type {string}
244
- * @memberof CompanyInDBBase
236
+ * @memberof CompanyCreate
245
237
  */
246
238
  'industry': string;
247
239
  /**
248
240
  *
249
241
  * @type {number}
250
- * @memberof CompanyInDBBase
242
+ * @memberof CompanyCreate
251
243
  */
252
244
  'employee_count': number;
253
245
  /**
254
246
  *
255
247
  * @type {string}
256
- * @memberof CompanyInDBBase
248
+ * @memberof CompanyCreate
257
249
  */
258
250
  'domain': string;
259
- /**
260
- *
261
- * @type {{ [key: string]: any; }}
262
- * @memberof CompanyInDBBase
263
- */
264
- 'tools_used'?: {
265
- [key: string]: any;
266
- } | null;
267
251
  /**
268
252
  *
269
253
  * @type {string}
270
- * @memberof CompanyInDBBase
271
- */
272
- 'plan'?: string | null;
273
- /**
274
- *
275
- * @type {string}
276
- * @memberof CompanyInDBBase
254
+ * @memberof CompanyCreate
277
255
  */
278
256
  'status'?: string | null;
279
257
  /**
280
258
  *
281
259
  * @type {ComplianceGoal}
282
- * @memberof CompanyInDBBase
283
- */
284
- 'compliance_goal'?: ComplianceGoal | null;
285
- /**
286
- *
287
- * @type {number}
288
- * @memberof CompanyInDBBase
289
- */
290
- 'readiness_score'?: number | null;
291
- /**
292
- *
293
- * @type {string}
294
- * @memberof CompanyInDBBase
295
- */
296
- 'audit_due_date'?: string | null;
297
- /**
298
- *
299
- * @type {boolean}
300
- * @memberof CompanyInDBBase
301
- */
302
- 'is_audit_mode'?: boolean;
303
- /**
304
- *
305
- * @type {string}
306
- * @memberof CompanyInDBBase
307
- */
308
- 'timezone'?: string;
309
- /**
310
- *
311
- * @type {string}
312
- * @memberof CompanyInDBBase
313
- */
314
- 'logo_url'?: string | null;
315
- /**
316
- *
317
- * @type {string}
318
- * @memberof CompanyInDBBase
319
- */
320
- 'id': string;
321
- /**
322
- *
323
- * @type {string}
324
- * @memberof CompanyInDBBase
260
+ * @memberof CompanyCreate
325
261
  */
326
- 'updated_at': string;
262
+ 'compliance_goal'?: ComplianceGoal;
327
263
  }
328
264
  /**
329
265
  *
@@ -361,50 +297,6 @@ export interface CompanyUpdate {
361
297
  * @memberof CompanyUpdate
362
298
  */
363
299
  'domain'?: string | null;
364
- /**
365
- *
366
- * @type {{ [key: string]: any; }}
367
- * @memberof CompanyUpdate
368
- */
369
- 'tools_used'?: {
370
- [key: string]: any;
371
- } | null;
372
- /**
373
- *
374
- * @type {ComplianceGoal}
375
- * @memberof CompanyUpdate
376
- */
377
- 'compliance_goal'?: ComplianceGoal | null;
378
- /**
379
- *
380
- * @type {number}
381
- * @memberof CompanyUpdate
382
- */
383
- 'readiness_score'?: number | null;
384
- /**
385
- *
386
- * @type {string}
387
- * @memberof CompanyUpdate
388
- */
389
- 'audit_due_date'?: string | null;
390
- /**
391
- *
392
- * @type {boolean}
393
- * @memberof CompanyUpdate
394
- */
395
- 'is_audit_mode'?: boolean | null;
396
- /**
397
- *
398
- * @type {string}
399
- * @memberof CompanyUpdate
400
- */
401
- 'timezone'?: string | null;
402
- /**
403
- *
404
- * @type {string}
405
- * @memberof CompanyUpdate
406
- */
407
- 'logo_url'?: string | null;
408
300
  }
409
301
  /**
410
302
  *
@@ -436,62 +328,12 @@ export interface CompanyWithControls {
436
328
  * @memberof CompanyWithControls
437
329
  */
438
330
  'domain': string;
439
- /**
440
- *
441
- * @type {{ [key: string]: any; }}
442
- * @memberof CompanyWithControls
443
- */
444
- 'tools_used'?: {
445
- [key: string]: any;
446
- } | null;
447
- /**
448
- *
449
- * @type {string}
450
- * @memberof CompanyWithControls
451
- */
452
- 'plan'?: string | null;
453
331
  /**
454
332
  *
455
333
  * @type {string}
456
334
  * @memberof CompanyWithControls
457
335
  */
458
336
  'status'?: string | null;
459
- /**
460
- *
461
- * @type {ComplianceGoal}
462
- * @memberof CompanyWithControls
463
- */
464
- 'compliance_goal'?: ComplianceGoal | null;
465
- /**
466
- *
467
- * @type {number}
468
- * @memberof CompanyWithControls
469
- */
470
- 'readiness_score'?: number | null;
471
- /**
472
- *
473
- * @type {string}
474
- * @memberof CompanyWithControls
475
- */
476
- 'audit_due_date'?: string | null;
477
- /**
478
- *
479
- * @type {boolean}
480
- * @memberof CompanyWithControls
481
- */
482
- 'is_audit_mode'?: boolean;
483
- /**
484
- *
485
- * @type {string}
486
- * @memberof CompanyWithControls
487
- */
488
- 'timezone'?: string;
489
- /**
490
- *
491
- * @type {string}
492
- * @memberof CompanyWithControls
493
- */
494
- 'logo_url'?: string | null;
495
337
  /**
496
338
  *
497
339
  * @type {string}
@@ -541,62 +383,12 @@ export interface CompanyWithRoles {
541
383
  * @memberof CompanyWithRoles
542
384
  */
543
385
  'domain': string;
544
- /**
545
- *
546
- * @type {{ [key: string]: any; }}
547
- * @memberof CompanyWithRoles
548
- */
549
- 'tools_used'?: {
550
- [key: string]: any;
551
- } | null;
552
- /**
553
- *
554
- * @type {string}
555
- * @memberof CompanyWithRoles
556
- */
557
- 'plan'?: string | null;
558
386
  /**
559
387
  *
560
388
  * @type {string}
561
389
  * @memberof CompanyWithRoles
562
390
  */
563
391
  'status'?: string | null;
564
- /**
565
- *
566
- * @type {ComplianceGoal}
567
- * @memberof CompanyWithRoles
568
- */
569
- 'compliance_goal'?: ComplianceGoal | null;
570
- /**
571
- *
572
- * @type {number}
573
- * @memberof CompanyWithRoles
574
- */
575
- 'readiness_score'?: number | null;
576
- /**
577
- *
578
- * @type {string}
579
- * @memberof CompanyWithRoles
580
- */
581
- 'audit_due_date'?: string | null;
582
- /**
583
- *
584
- * @type {boolean}
585
- * @memberof CompanyWithRoles
586
- */
587
- 'is_audit_mode'?: boolean;
588
- /**
589
- *
590
- * @type {string}
591
- * @memberof CompanyWithRoles
592
- */
593
- 'timezone'?: string;
594
- /**
595
- *
596
- * @type {string}
597
- * @memberof CompanyWithRoles
598
- */
599
- 'logo_url'?: string | null;
600
392
  /**
601
393
  *
602
394
  * @type {string}
@@ -670,6 +462,43 @@ export declare const ControlStatus: {
670
462
  readonly PendingReview: "pending_review";
671
463
  };
672
464
  export type ControlStatus = typeof ControlStatus[keyof typeof ControlStatus];
465
+ /**
466
+ *
467
+ * @export
468
+ * @interface ControlWithData
469
+ */
470
+ export interface ControlWithData {
471
+ /**
472
+ *
473
+ * @type {string}
474
+ * @memberof ControlWithData
475
+ */
476
+ 'id': string;
477
+ /**
478
+ *
479
+ * @type {string}
480
+ * @memberof ControlWithData
481
+ */
482
+ 'status'?: string | null;
483
+ /**
484
+ *
485
+ * @type {string}
486
+ * @memberof ControlWithData
487
+ */
488
+ 'note'?: string | null;
489
+ /**
490
+ *
491
+ * @type {string}
492
+ * @memberof ControlWithData
493
+ */
494
+ 'updated_at'?: string | null;
495
+ /**
496
+ *
497
+ * @type {FrameworkControlsBase}
498
+ * @memberof ControlWithData
499
+ */
500
+ 'data': FrameworkControlsBase;
501
+ }
673
502
  /**
674
503
  *
675
504
  * @export
@@ -751,10 +580,10 @@ export interface ControlWithRelationships {
751
580
  'data': FrameworkControlsBase;
752
581
  /**
753
582
  *
754
- * @type {CompanyInDBBase}
583
+ * @type {SrcSharedSchemasCompanyCompanyInDBBase}
755
584
  * @memberof ControlWithRelationships
756
585
  */
757
- 'company': CompanyInDBBase;
586
+ 'company': SrcSharedSchemasCompanyCompanyInDBBase;
758
587
  /**
759
588
  *
760
589
  * @type {Array<EvidenceBase>}
@@ -802,27 +631,21 @@ export interface CreateTaskSchema {
802
631
  /**
803
632
  *
804
633
  * @export
805
- * @interface Customer
634
+ * @interface CustomerDBBase
806
635
  */
807
- export interface Customer {
808
- /**
809
- *
810
- * @type {string}
811
- * @memberof Customer
812
- */
813
- 'customer_id': string;
636
+ export interface CustomerDBBase {
814
637
  /**
815
638
  *
816
639
  * @type {string}
817
- * @memberof Customer
640
+ * @memberof CustomerDBBase
818
641
  */
819
- 'name': string;
642
+ 'billing_name': string;
820
643
  /**
821
644
  *
822
645
  * @type {string}
823
- * @memberof Customer
646
+ * @memberof CustomerDBBase
824
647
  */
825
- 'email': string;
648
+ 'billing_email': string;
826
649
  }
827
650
  /**
828
651
  *
@@ -1024,6 +847,85 @@ export interface EvidenceTextSchema {
1024
847
  */
1025
848
  'content': string;
1026
849
  }
850
+ /**
851
+ *
852
+ * @export
853
+ * @interface EvidenceWithControl
854
+ */
855
+ export interface EvidenceWithControl {
856
+ /**
857
+ *
858
+ * @type {string}
859
+ * @memberof EvidenceWithControl
860
+ */
861
+ 'id': string;
862
+ /**
863
+ *
864
+ * @type {string}
865
+ * @memberof EvidenceWithControl
866
+ */
867
+ 'control_id': string;
868
+ /**
869
+ *
870
+ * @type {string}
871
+ * @memberof EvidenceWithControl
872
+ */
873
+ 'expires_at'?: string | null;
874
+ /**
875
+ *
876
+ * @type {string}
877
+ * @memberof EvidenceWithControl
878
+ */
879
+ 'status': string;
880
+ /**
881
+ *
882
+ * @type {number}
883
+ * @memberof EvidenceWithControl
884
+ */
885
+ 'version': number;
886
+ /**
887
+ *
888
+ * @type {string}
889
+ * @memberof EvidenceWithControl
890
+ */
891
+ 'evidence_type': string;
892
+ /**
893
+ *
894
+ * @type {EvidenceTextSchema}
895
+ * @memberof EvidenceWithControl
896
+ */
897
+ 'text'?: EvidenceTextSchema | null;
898
+ /**
899
+ *
900
+ * @type {Array<EvidenceFileSchema>}
901
+ * @memberof EvidenceWithControl
902
+ */
903
+ 'files'?: Array<EvidenceFileSchema> | null;
904
+ /**
905
+ *
906
+ * @type {Array<string>}
907
+ * @memberof EvidenceWithControl
908
+ */
909
+ 'tags'?: Array<string> | null;
910
+ /**
911
+ *
912
+ * @type {UserBase}
913
+ * @memberof EvidenceWithControl
914
+ */
915
+ 'uploaded_by'?: UserBase | null;
916
+ /**
917
+ *
918
+ * @type {string}
919
+ * @memberof EvidenceWithControl
920
+ */
921
+ 'submitted_at'?: string | null;
922
+ /**
923
+ *
924
+ * @type {ControlWithData}
925
+ * @memberof EvidenceWithControl
926
+ */
927
+ 'control': ControlWithData;
928
+ }
1027
929
  /**
1028
930
  *
1029
931
  * @export
@@ -1226,10 +1128,10 @@ export interface PaginationResponseAuditLogSchema {
1226
1128
  export interface PaginationResponseCompanyInDBBase {
1227
1129
  /**
1228
1130
  *
1229
- * @type {Array<CompanyInDBBase>}
1131
+ * @type {Array<SrcDomainsOrganizationSchemasCompanyCompanyInDBBase>}
1230
1132
  * @memberof PaginationResponseCompanyInDBBase
1231
1133
  */
1232
- 'items': Array<CompanyInDBBase>;
1134
+ 'items': Array<SrcDomainsOrganizationSchemasCompanyCompanyInDBBase>;
1233
1135
  /**
1234
1136
  *
1235
1137
  * @type {number}
@@ -1654,6 +1556,49 @@ export interface ResponseGetCustomerManagementSessionV1PaymentsCustomerManagemen
1654
1556
  */
1655
1557
  'message'?: string;
1656
1558
  }
1559
+ /**
1560
+ *
1561
+ * @export
1562
+ * @interface ResponseGetSubscriptionV1PaymentsSubscriptionGet
1563
+ */
1564
+ export interface ResponseGetSubscriptionV1PaymentsSubscriptionGet {
1565
+ /**
1566
+ *
1567
+ * @type {string}
1568
+ * @memberof ResponseGetSubscriptionV1PaymentsSubscriptionGet
1569
+ */
1570
+ 'subscription_id': string;
1571
+ /**
1572
+ *
1573
+ * @type {string}
1574
+ * @memberof ResponseGetSubscriptionV1PaymentsSubscriptionGet
1575
+ */
1576
+ 'status': string;
1577
+ /**
1578
+ *
1579
+ * @type {string}
1580
+ * @memberof ResponseGetSubscriptionV1PaymentsSubscriptionGet
1581
+ */
1582
+ 'product_id': string;
1583
+ /**
1584
+ *
1585
+ * @type {CustomerDBBase}
1586
+ * @memberof ResponseGetSubscriptionV1PaymentsSubscriptionGet
1587
+ */
1588
+ 'customer': CustomerDBBase;
1589
+ /**
1590
+ *
1591
+ * @type {string}
1592
+ * @memberof ResponseGetSubscriptionV1PaymentsSubscriptionGet
1593
+ */
1594
+ 'subscribed_till': string;
1595
+ /**
1596
+ *
1597
+ * @type {string}
1598
+ * @memberof ResponseGetSubscriptionV1PaymentsSubscriptionGet
1599
+ */
1600
+ 'details': string;
1601
+ }
1657
1602
  /**
1658
1603
  *
1659
1604
  * @export
@@ -1704,6 +1649,110 @@ export interface SchedulerRequest {
1704
1649
  */
1705
1650
  'user_ids_to_assign'?: Array<string>;
1706
1651
  }
1652
+ /**
1653
+ *
1654
+ * @export
1655
+ * @interface SrcDomainsOrganizationSchemasCompanyCompanyInDBBase
1656
+ */
1657
+ export interface SrcDomainsOrganizationSchemasCompanyCompanyInDBBase {
1658
+ /**
1659
+ *
1660
+ * @type {string}
1661
+ * @memberof SrcDomainsOrganizationSchemasCompanyCompanyInDBBase
1662
+ */
1663
+ 'name': string;
1664
+ /**
1665
+ *
1666
+ * @type {string}
1667
+ * @memberof SrcDomainsOrganizationSchemasCompanyCompanyInDBBase
1668
+ */
1669
+ 'industry': string;
1670
+ /**
1671
+ *
1672
+ * @type {number}
1673
+ * @memberof SrcDomainsOrganizationSchemasCompanyCompanyInDBBase
1674
+ */
1675
+ 'employee_count': number;
1676
+ /**
1677
+ *
1678
+ * @type {string}
1679
+ * @memberof SrcDomainsOrganizationSchemasCompanyCompanyInDBBase
1680
+ */
1681
+ 'domain': string;
1682
+ /**
1683
+ *
1684
+ * @type {string}
1685
+ * @memberof SrcDomainsOrganizationSchemasCompanyCompanyInDBBase
1686
+ */
1687
+ 'status'?: string | null;
1688
+ /**
1689
+ *
1690
+ * @type {string}
1691
+ * @memberof SrcDomainsOrganizationSchemasCompanyCompanyInDBBase
1692
+ */
1693
+ 'id': string;
1694
+ /**
1695
+ *
1696
+ * @type {string}
1697
+ * @memberof SrcDomainsOrganizationSchemasCompanyCompanyInDBBase
1698
+ */
1699
+ 'updated_at': string;
1700
+ }
1701
+ /**
1702
+ *
1703
+ * @export
1704
+ * @interface SrcSharedSchemasCompanyCompanyInDBBase
1705
+ */
1706
+ export interface SrcSharedSchemasCompanyCompanyInDBBase {
1707
+ /**
1708
+ *
1709
+ * @type {string}
1710
+ * @memberof SrcSharedSchemasCompanyCompanyInDBBase
1711
+ */
1712
+ 'name': string;
1713
+ /**
1714
+ *
1715
+ * @type {string}
1716
+ * @memberof SrcSharedSchemasCompanyCompanyInDBBase
1717
+ */
1718
+ 'industry': string;
1719
+ /**
1720
+ *
1721
+ * @type {number}
1722
+ * @memberof SrcSharedSchemasCompanyCompanyInDBBase
1723
+ */
1724
+ 'employee_count': number;
1725
+ /**
1726
+ *
1727
+ * @type {string}
1728
+ * @memberof SrcSharedSchemasCompanyCompanyInDBBase
1729
+ */
1730
+ 'domain': string;
1731
+ /**
1732
+ *
1733
+ * @type {string}
1734
+ * @memberof SrcSharedSchemasCompanyCompanyInDBBase
1735
+ */
1736
+ 'status'?: string | null;
1737
+ /**
1738
+ *
1739
+ * @type {string}
1740
+ * @memberof SrcSharedSchemasCompanyCompanyInDBBase
1741
+ */
1742
+ 'id': string;
1743
+ /**
1744
+ *
1745
+ * @type {string}
1746
+ * @memberof SrcSharedSchemasCompanyCompanyInDBBase
1747
+ */
1748
+ 'updated_at': string;
1749
+ /**
1750
+ *
1751
+ * @type {CompanyComplianceInDB}
1752
+ * @memberof SrcSharedSchemasCompanyCompanyInDBBase
1753
+ */
1754
+ 'compliance'?: CompanyComplianceInDB | null;
1755
+ }
1707
1756
  /**
1708
1757
  *
1709
1758
  * @export
@@ -1730,10 +1779,10 @@ export interface SubscriptionResponse {
1730
1779
  'product_id': string;
1731
1780
  /**
1732
1781
  *
1733
- * @type {Customer}
1782
+ * @type {CustomerDBBase}
1734
1783
  * @memberof SubscriptionResponse
1735
1784
  */
1736
- 'customer': Customer;
1785
+ 'customer': CustomerDBBase;
1737
1786
  /**
1738
1787
  *
1739
1788
  * @type {string}
@@ -1815,6 +1864,12 @@ export interface TaskRead {
1815
1864
  * @memberof TaskRead
1816
1865
  */
1817
1866
  'status': TaskStatus;
1867
+ /**
1868
+ *
1869
+ * @type {string}
1870
+ * @memberof TaskRead
1871
+ */
1872
+ 'control_id': string | null;
1818
1873
  }
1819
1874
  /**
1820
1875
  *
@@ -1890,6 +1945,12 @@ export interface TaskWithUser {
1890
1945
  * @memberof TaskWithUser
1891
1946
  */
1892
1947
  'status': TaskStatus;
1948
+ /**
1949
+ *
1950
+ * @type {string}
1951
+ * @memberof TaskWithUser
1952
+ */
1953
+ 'control_id': string | null;
1893
1954
  /**
1894
1955
  *
1895
1956
  * @type {UserWithId}
@@ -2079,10 +2140,10 @@ export interface UserPermissionsWithCompany {
2079
2140
  'role': string | null;
2080
2141
  /**
2081
2142
  *
2082
- * @type {CompanyInDBBase}
2143
+ * @type {SrcSharedSchemasCompanyCompanyInDBBase}
2083
2144
  * @memberof UserPermissionsWithCompany
2084
2145
  */
2085
- 'company': CompanyInDBBase | null;
2146
+ 'company': SrcSharedSchemasCompanyCompanyInDBBase | null;
2086
2147
  }
2087
2148
  /**
2088
2149
  *
@@ -2803,7 +2864,7 @@ export declare const CompanyApiFp: (configuration?: Configuration) => {
2803
2864
  * @param {*} [options] Override http request option.
2804
2865
  * @throws {RequiredError}
2805
2866
  */
2806
- createCompanyV1CompanyCreatePost(companyCreate: CompanyCreate, authorization?: string, sessionId?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CompanyInDBBase>>;
2867
+ createCompanyV1CompanyCreatePost(companyCreate: CompanyCreate, authorization?: string, sessionId?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<SrcDomainsOrganizationSchemasCompanyCompanyInDBBase>>;
2807
2868
  /**
2808
2869
  *
2809
2870
  * @summary Get Companies
@@ -2844,7 +2905,7 @@ export declare const CompanyApiFp: (configuration?: Configuration) => {
2844
2905
  * @param {*} [options] Override http request option.
2845
2906
  * @throws {RequiredError}
2846
2907
  */
2847
- updateCompanyV1CompanyUpdatePatch(companyUpdate: CompanyUpdate, authorization?: string, sessionId?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CompanyInDBBase>>;
2908
+ updateCompanyV1CompanyUpdatePatch(companyUpdate: CompanyUpdate, authorization?: string, sessionId?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<SrcDomainsOrganizationSchemasCompanyCompanyInDBBase>>;
2848
2909
  };
2849
2910
  /**
2850
2911
  * CompanyApi - factory interface
@@ -2860,7 +2921,7 @@ export declare const CompanyApiFactory: (configuration?: Configuration, basePath
2860
2921
  * @param {*} [options] Override http request option.
2861
2922
  * @throws {RequiredError}
2862
2923
  */
2863
- createCompanyV1CompanyCreatePost(companyCreate: CompanyCreate, authorization?: string, sessionId?: string, options?: RawAxiosRequestConfig): AxiosPromise<CompanyInDBBase>;
2924
+ createCompanyV1CompanyCreatePost(companyCreate: CompanyCreate, authorization?: string, sessionId?: string, options?: RawAxiosRequestConfig): AxiosPromise<SrcDomainsOrganizationSchemasCompanyCompanyInDBBase>;
2864
2925
  /**
2865
2926
  *
2866
2927
  * @summary Get Companies
@@ -2901,7 +2962,7 @@ export declare const CompanyApiFactory: (configuration?: Configuration, basePath
2901
2962
  * @param {*} [options] Override http request option.
2902
2963
  * @throws {RequiredError}
2903
2964
  */
2904
- updateCompanyV1CompanyUpdatePatch(companyUpdate: CompanyUpdate, authorization?: string, sessionId?: string, options?: RawAxiosRequestConfig): AxiosPromise<CompanyInDBBase>;
2965
+ updateCompanyV1CompanyUpdatePatch(companyUpdate: CompanyUpdate, authorization?: string, sessionId?: string, options?: RawAxiosRequestConfig): AxiosPromise<SrcDomainsOrganizationSchemasCompanyCompanyInDBBase>;
2905
2966
  };
2906
2967
  /**
2907
2968
  * CompanyApi - object-oriented interface
@@ -2920,7 +2981,7 @@ export declare class CompanyApi extends BaseAPI {
2920
2981
  * @throws {RequiredError}
2921
2982
  * @memberof CompanyApi
2922
2983
  */
2923
- createCompanyV1CompanyCreatePost(companyCreate: CompanyCreate, authorization?: string, sessionId?: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<CompanyInDBBase, any, {}>>;
2984
+ createCompanyV1CompanyCreatePost(companyCreate: CompanyCreate, authorization?: string, sessionId?: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<SrcDomainsOrganizationSchemasCompanyCompanyInDBBase, any, {}>>;
2924
2985
  /**
2925
2986
  *
2926
2987
  * @summary Get Companies
@@ -2965,7 +3026,7 @@ export declare class CompanyApi extends BaseAPI {
2965
3026
  * @throws {RequiredError}
2966
3027
  * @memberof CompanyApi
2967
3028
  */
2968
- updateCompanyV1CompanyUpdatePatch(companyUpdate: CompanyUpdate, authorization?: string, sessionId?: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<CompanyInDBBase, any, {}>>;
3029
+ updateCompanyV1CompanyUpdatePatch(companyUpdate: CompanyUpdate, authorization?: string, sessionId?: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<SrcDomainsOrganizationSchemasCompanyCompanyInDBBase, any, {}>>;
2969
3030
  }
2970
3031
  /**
2971
3032
  * ControlsApi - axios parameter creator
@@ -3100,6 +3161,16 @@ export declare const EvidenceApiAxiosParamCreator: (configuration?: Configuratio
3100
3161
  * @throws {RequiredError}
3101
3162
  */
3102
3163
  getEvidenceFilesV1EvidenceFileEvidenceFileIdGet: (evidenceFileId: number, authorization?: string, sessionId?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
3164
+ /**
3165
+ *
3166
+ * @summary Get Evidence
3167
+ * @param {string} evidenceId
3168
+ * @param {string} [authorization]
3169
+ * @param {string} [sessionId]
3170
+ * @param {*} [options] Override http request option.
3171
+ * @throws {RequiredError}
3172
+ */
3173
+ getEvidenceV1EvidenceGetGet: (evidenceId: string, authorization?: string, sessionId?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
3103
3174
  /**
3104
3175
  *
3105
3176
  * @summary List Company Evidence
@@ -3160,6 +3231,16 @@ export declare const EvidenceApiFp: (configuration?: Configuration) => {
3160
3231
  * @throws {RequiredError}
3161
3232
  */
3162
3233
  getEvidenceFilesV1EvidenceFileEvidenceFileIdGet(evidenceFileId: number, authorization?: string, sessionId?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<FileDownload>>;
3234
+ /**
3235
+ *
3236
+ * @summary Get Evidence
3237
+ * @param {string} evidenceId
3238
+ * @param {string} [authorization]
3239
+ * @param {string} [sessionId]
3240
+ * @param {*} [options] Override http request option.
3241
+ * @throws {RequiredError}
3242
+ */
3243
+ getEvidenceV1EvidenceGetGet(evidenceId: string, authorization?: string, sessionId?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<EvidenceWithControl>>;
3163
3244
  /**
3164
3245
  *
3165
3246
  * @summary List Company Evidence
@@ -3220,6 +3301,16 @@ export declare const EvidenceApiFactory: (configuration?: Configuration, basePat
3220
3301
  * @throws {RequiredError}
3221
3302
  */
3222
3303
  getEvidenceFilesV1EvidenceFileEvidenceFileIdGet(evidenceFileId: number, authorization?: string, sessionId?: string, options?: RawAxiosRequestConfig): AxiosPromise<FileDownload>;
3304
+ /**
3305
+ *
3306
+ * @summary Get Evidence
3307
+ * @param {string} evidenceId
3308
+ * @param {string} [authorization]
3309
+ * @param {string} [sessionId]
3310
+ * @param {*} [options] Override http request option.
3311
+ * @throws {RequiredError}
3312
+ */
3313
+ getEvidenceV1EvidenceGetGet(evidenceId: string, authorization?: string, sessionId?: string, options?: RawAxiosRequestConfig): AxiosPromise<EvidenceWithControl>;
3223
3314
  /**
3224
3315
  *
3225
3316
  * @summary List Company Evidence
@@ -3284,6 +3375,17 @@ export declare class EvidenceApi extends BaseAPI {
3284
3375
  * @memberof EvidenceApi
3285
3376
  */
3286
3377
  getEvidenceFilesV1EvidenceFileEvidenceFileIdGet(evidenceFileId: number, authorization?: string, sessionId?: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<FileDownload, any, {}>>;
3378
+ /**
3379
+ *
3380
+ * @summary Get Evidence
3381
+ * @param {string} evidenceId
3382
+ * @param {string} [authorization]
3383
+ * @param {string} [sessionId]
3384
+ * @param {*} [options] Override http request option.
3385
+ * @throws {RequiredError}
3386
+ * @memberof EvidenceApi
3387
+ */
3388
+ getEvidenceV1EvidenceGetGet(evidenceId: string, authorization?: string, sessionId?: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<EvidenceWithControl, any, {}>>;
3287
3389
  /**
3288
3390
  *
3289
3391
  * @summary List Company Evidence
@@ -3570,7 +3672,7 @@ export declare const PaymentsApiFp: (configuration?: Configuration) => {
3570
3672
  * @param {*} [options] Override http request option.
3571
3673
  * @throws {RequiredError}
3572
3674
  */
3573
- getSubscriptionV1PaymentsSubscriptionGet(companyId: string, authorization?: string, sessionId?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<SubscriptionResponse>>;
3675
+ getSubscriptionV1PaymentsSubscriptionGet(companyId: string, authorization?: string, sessionId?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ResponseGetSubscriptionV1PaymentsSubscriptionGet>>;
3574
3676
  /**
3575
3677
  *
3576
3678
  * @summary Webhook
@@ -3613,7 +3715,7 @@ export declare const PaymentsApiFactory: (configuration?: Configuration, basePat
3613
3715
  * @param {*} [options] Override http request option.
3614
3716
  * @throws {RequiredError}
3615
3717
  */
3616
- getSubscriptionV1PaymentsSubscriptionGet(companyId: string, authorization?: string, sessionId?: string, options?: RawAxiosRequestConfig): AxiosPromise<SubscriptionResponse>;
3718
+ getSubscriptionV1PaymentsSubscriptionGet(companyId: string, authorization?: string, sessionId?: string, options?: RawAxiosRequestConfig): AxiosPromise<ResponseGetSubscriptionV1PaymentsSubscriptionGet>;
3617
3719
  /**
3618
3720
  *
3619
3721
  * @summary Webhook
@@ -3661,7 +3763,7 @@ export declare class PaymentsApi extends BaseAPI {
3661
3763
  * @throws {RequiredError}
3662
3764
  * @memberof PaymentsApi
3663
3765
  */
3664
- getSubscriptionV1PaymentsSubscriptionGet(companyId: string, authorization?: string, sessionId?: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<SubscriptionResponse, any, {}>>;
3766
+ getSubscriptionV1PaymentsSubscriptionGet(companyId: string, authorization?: string, sessionId?: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ResponseGetSubscriptionV1PaymentsSubscriptionGet, any, {}>>;
3665
3767
  /**
3666
3768
  *
3667
3769
  * @summary Webhook
@@ -4339,6 +4441,16 @@ export declare const TasksApiAxiosParamCreator: (configuration?: Configuration)
4339
4441
  * @throws {RequiredError}
4340
4442
  */
4341
4443
  deleteTaskV1TasksDelete: (deleteTaskSchema: DeleteTaskSchema, authorization?: string, sessionId?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
4444
+ /**
4445
+ *
4446
+ * @summary Get Task
4447
+ * @param {string} taskId
4448
+ * @param {string} [authorization]
4449
+ * @param {string} [sessionId]
4450
+ * @param {*} [options] Override http request option.
4451
+ * @throws {RequiredError}
4452
+ */
4453
+ getTaskV1TasksGetTaskIdGet: (taskId: string, authorization?: string, sessionId?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
4342
4454
  /**
4343
4455
  *
4344
4456
  * @summary List Tasks For Company
@@ -4431,6 +4543,16 @@ export declare const TasksApiFp: (configuration?: Configuration) => {
4431
4543
  * @throws {RequiredError}
4432
4544
  */
4433
4545
  deleteTaskV1TasksDelete(deleteTaskSchema: DeleteTaskSchema, authorization?: string, sessionId?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Details>>;
4546
+ /**
4547
+ *
4548
+ * @summary Get Task
4549
+ * @param {string} taskId
4550
+ * @param {string} [authorization]
4551
+ * @param {string} [sessionId]
4552
+ * @param {*} [options] Override http request option.
4553
+ * @throws {RequiredError}
4554
+ */
4555
+ getTaskV1TasksGetTaskIdGet(taskId: string, authorization?: string, sessionId?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<TaskWithUser>>;
4434
4556
  /**
4435
4557
  *
4436
4558
  * @summary List Tasks For Company
@@ -4523,6 +4645,16 @@ export declare const TasksApiFactory: (configuration?: Configuration, basePath?:
4523
4645
  * @throws {RequiredError}
4524
4646
  */
4525
4647
  deleteTaskV1TasksDelete(deleteTaskSchema: DeleteTaskSchema, authorization?: string, sessionId?: string, options?: RawAxiosRequestConfig): AxiosPromise<Details>;
4648
+ /**
4649
+ *
4650
+ * @summary Get Task
4651
+ * @param {string} taskId
4652
+ * @param {string} [authorization]
4653
+ * @param {string} [sessionId]
4654
+ * @param {*} [options] Override http request option.
4655
+ * @throws {RequiredError}
4656
+ */
4657
+ getTaskV1TasksGetTaskIdGet(taskId: string, authorization?: string, sessionId?: string, options?: RawAxiosRequestConfig): AxiosPromise<TaskWithUser>;
4526
4658
  /**
4527
4659
  *
4528
4660
  * @summary List Tasks For Company
@@ -4619,6 +4751,17 @@ export declare class TasksApi extends BaseAPI {
4619
4751
  * @memberof TasksApi
4620
4752
  */
4621
4753
  deleteTaskV1TasksDelete(deleteTaskSchema: DeleteTaskSchema, authorization?: string, sessionId?: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<Details, any, {}>>;
4754
+ /**
4755
+ *
4756
+ * @summary Get Task
4757
+ * @param {string} taskId
4758
+ * @param {string} [authorization]
4759
+ * @param {string} [sessionId]
4760
+ * @param {*} [options] Override http request option.
4761
+ * @throws {RequiredError}
4762
+ * @memberof TasksApi
4763
+ */
4764
+ getTaskV1TasksGetTaskIdGet(taskId: string, authorization?: string, sessionId?: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<TaskWithUser, any, {}>>;
4622
4765
  /**
4623
4766
  *
4624
4767
  * @summary List Tasks For Company