@rasadov/lumoar-sdk 1.1.10 → 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/.openapi-generator/FILES +3 -1
- package/api.ts +168 -256
- package/dist/api.d.ts +170 -262
- package/docs/CompanyApi.md +4 -4
- package/docs/CompanyComplianceInDB.md +42 -0
- package/docs/CompanyCreate.md +0 -14
- package/docs/CompanyUpdate.md +0 -14
- package/docs/CompanyWithControls.md +0 -16
- package/docs/CompanyWithRoles.md +0 -16
- package/docs/ControlWithRelationships.md +1 -1
- package/docs/PaginationResponseCompanyInDBBase.md +1 -1
- package/docs/SrcDomainsOrganizationSchemasCompanyCompanyInDBBase.md +32 -0
- package/docs/SrcSharedSchemasCompanyCompanyInDBBase.md +34 -0
- package/docs/TaskRead.md +2 -0
- package/docs/TaskWithUser.md +2 -0
- package/docs/UserPermissionsWithCompany.md +1 -1
- package/package.json +1 -1
package/dist/api.d.ts
CHANGED
|
@@ -142,188 +142,124 @@ export interface CheckoutSessionResponse {
|
|
|
142
142
|
/**
|
|
143
143
|
*
|
|
144
144
|
* @export
|
|
145
|
-
* @interface
|
|
145
|
+
* @interface CompanyComplianceInDB
|
|
146
146
|
*/
|
|
147
|
-
export interface
|
|
147
|
+
export interface CompanyComplianceInDB {
|
|
148
148
|
/**
|
|
149
149
|
*
|
|
150
|
-
* @type {
|
|
151
|
-
* @memberof
|
|
150
|
+
* @type {ComplianceGoal}
|
|
151
|
+
* @memberof CompanyComplianceInDB
|
|
152
152
|
*/
|
|
153
|
-
'
|
|
153
|
+
'framework': ComplianceGoal;
|
|
154
154
|
/**
|
|
155
155
|
*
|
|
156
156
|
* @type {string}
|
|
157
|
-
* @memberof
|
|
157
|
+
* @memberof CompanyComplianceInDB
|
|
158
158
|
*/
|
|
159
|
-
'
|
|
159
|
+
'target_audit_date'?: string | null;
|
|
160
160
|
/**
|
|
161
161
|
*
|
|
162
162
|
* @type {number}
|
|
163
|
-
* @memberof
|
|
163
|
+
* @memberof CompanyComplianceInDB
|
|
164
164
|
*/
|
|
165
|
-
'
|
|
165
|
+
'total_controls'?: number;
|
|
166
166
|
/**
|
|
167
167
|
*
|
|
168
|
-
* @type {
|
|
169
|
-
* @memberof
|
|
170
|
-
*/
|
|
171
|
-
'domain': string;
|
|
172
|
-
/**
|
|
173
|
-
*
|
|
174
|
-
* @type {{ [key: string]: any; }}
|
|
175
|
-
* @memberof CompanyCreate
|
|
168
|
+
* @type {number}
|
|
169
|
+
* @memberof CompanyComplianceInDB
|
|
176
170
|
*/
|
|
177
|
-
'
|
|
178
|
-
[key: string]: any;
|
|
179
|
-
} | null;
|
|
171
|
+
'completed_controls'?: number;
|
|
180
172
|
/**
|
|
181
173
|
*
|
|
182
|
-
* @type {
|
|
183
|
-
* @memberof
|
|
174
|
+
* @type {number}
|
|
175
|
+
* @memberof CompanyComplianceInDB
|
|
184
176
|
*/
|
|
185
|
-
'
|
|
177
|
+
'in_progress_controls'?: number;
|
|
186
178
|
/**
|
|
187
179
|
*
|
|
188
|
-
* @type {
|
|
189
|
-
* @memberof
|
|
180
|
+
* @type {number}
|
|
181
|
+
* @memberof CompanyComplianceInDB
|
|
190
182
|
*/
|
|
191
|
-
'
|
|
183
|
+
'not_started_controls'?: number;
|
|
192
184
|
/**
|
|
193
185
|
*
|
|
194
|
-
* @type {
|
|
195
|
-
* @memberof
|
|
186
|
+
* @type {number}
|
|
187
|
+
* @memberof CompanyComplianceInDB
|
|
196
188
|
*/
|
|
197
|
-
'
|
|
189
|
+
'failed_controls'?: number;
|
|
198
190
|
/**
|
|
199
191
|
*
|
|
200
192
|
* @type {number}
|
|
201
|
-
* @memberof
|
|
193
|
+
* @memberof CompanyComplianceInDB
|
|
202
194
|
*/
|
|
203
|
-
'
|
|
195
|
+
'skipped_controls'?: number;
|
|
204
196
|
/**
|
|
205
197
|
*
|
|
206
|
-
* @type {
|
|
207
|
-
* @memberof
|
|
198
|
+
* @type {number}
|
|
199
|
+
* @memberof CompanyComplianceInDB
|
|
208
200
|
*/
|
|
209
|
-
'
|
|
201
|
+
'pending_review_controls'?: number;
|
|
210
202
|
/**
|
|
211
203
|
*
|
|
212
|
-
* @type {
|
|
213
|
-
* @memberof
|
|
204
|
+
* @type {number}
|
|
205
|
+
* @memberof CompanyComplianceInDB
|
|
214
206
|
*/
|
|
215
|
-
'
|
|
207
|
+
'id': number;
|
|
216
208
|
/**
|
|
217
209
|
*
|
|
218
210
|
* @type {string}
|
|
219
|
-
* @memberof
|
|
211
|
+
* @memberof CompanyComplianceInDB
|
|
220
212
|
*/
|
|
221
|
-
'
|
|
213
|
+
'company_id': string;
|
|
222
214
|
/**
|
|
223
215
|
*
|
|
224
216
|
* @type {string}
|
|
225
|
-
* @memberof
|
|
217
|
+
* @memberof CompanyComplianceInDB
|
|
226
218
|
*/
|
|
227
|
-
'
|
|
219
|
+
'updated_at': string;
|
|
228
220
|
}
|
|
229
221
|
/**
|
|
230
222
|
*
|
|
231
223
|
* @export
|
|
232
|
-
* @interface
|
|
224
|
+
* @interface CompanyCreate
|
|
233
225
|
*/
|
|
234
|
-
export interface
|
|
226
|
+
export interface CompanyCreate {
|
|
235
227
|
/**
|
|
236
228
|
*
|
|
237
229
|
* @type {string}
|
|
238
|
-
* @memberof
|
|
230
|
+
* @memberof CompanyCreate
|
|
239
231
|
*/
|
|
240
232
|
'name': string;
|
|
241
233
|
/**
|
|
242
234
|
*
|
|
243
235
|
* @type {string}
|
|
244
|
-
* @memberof
|
|
236
|
+
* @memberof CompanyCreate
|
|
245
237
|
*/
|
|
246
238
|
'industry': string;
|
|
247
239
|
/**
|
|
248
240
|
*
|
|
249
241
|
* @type {number}
|
|
250
|
-
* @memberof
|
|
242
|
+
* @memberof CompanyCreate
|
|
251
243
|
*/
|
|
252
244
|
'employee_count': number;
|
|
253
245
|
/**
|
|
254
246
|
*
|
|
255
247
|
* @type {string}
|
|
256
|
-
* @memberof
|
|
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
|
|
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
|
|
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
|
-
'
|
|
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}
|
|
@@ -788,10 +580,10 @@ export interface ControlWithRelationships {
|
|
|
788
580
|
'data': FrameworkControlsBase;
|
|
789
581
|
/**
|
|
790
582
|
*
|
|
791
|
-
* @type {
|
|
583
|
+
* @type {SrcSharedSchemasCompanyCompanyInDBBase}
|
|
792
584
|
* @memberof ControlWithRelationships
|
|
793
585
|
*/
|
|
794
|
-
'company':
|
|
586
|
+
'company': SrcSharedSchemasCompanyCompanyInDBBase;
|
|
795
587
|
/**
|
|
796
588
|
*
|
|
797
589
|
* @type {Array<EvidenceBase>}
|
|
@@ -1336,10 +1128,10 @@ export interface PaginationResponseAuditLogSchema {
|
|
|
1336
1128
|
export interface PaginationResponseCompanyInDBBase {
|
|
1337
1129
|
/**
|
|
1338
1130
|
*
|
|
1339
|
-
* @type {Array<
|
|
1131
|
+
* @type {Array<SrcDomainsOrganizationSchemasCompanyCompanyInDBBase>}
|
|
1340
1132
|
* @memberof PaginationResponseCompanyInDBBase
|
|
1341
1133
|
*/
|
|
1342
|
-
'items': Array<
|
|
1134
|
+
'items': Array<SrcDomainsOrganizationSchemasCompanyCompanyInDBBase>;
|
|
1343
1135
|
/**
|
|
1344
1136
|
*
|
|
1345
1137
|
* @type {number}
|
|
@@ -1857,6 +1649,110 @@ export interface SchedulerRequest {
|
|
|
1857
1649
|
*/
|
|
1858
1650
|
'user_ids_to_assign'?: Array<string>;
|
|
1859
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
|
+
}
|
|
1860
1756
|
/**
|
|
1861
1757
|
*
|
|
1862
1758
|
* @export
|
|
@@ -1968,6 +1864,12 @@ export interface TaskRead {
|
|
|
1968
1864
|
* @memberof TaskRead
|
|
1969
1865
|
*/
|
|
1970
1866
|
'status': TaskStatus;
|
|
1867
|
+
/**
|
|
1868
|
+
*
|
|
1869
|
+
* @type {string}
|
|
1870
|
+
* @memberof TaskRead
|
|
1871
|
+
*/
|
|
1872
|
+
'control_id': string | null;
|
|
1971
1873
|
}
|
|
1972
1874
|
/**
|
|
1973
1875
|
*
|
|
@@ -2043,6 +1945,12 @@ export interface TaskWithUser {
|
|
|
2043
1945
|
* @memberof TaskWithUser
|
|
2044
1946
|
*/
|
|
2045
1947
|
'status': TaskStatus;
|
|
1948
|
+
/**
|
|
1949
|
+
*
|
|
1950
|
+
* @type {string}
|
|
1951
|
+
* @memberof TaskWithUser
|
|
1952
|
+
*/
|
|
1953
|
+
'control_id': string | null;
|
|
2046
1954
|
/**
|
|
2047
1955
|
*
|
|
2048
1956
|
* @type {UserWithId}
|
|
@@ -2232,10 +2140,10 @@ export interface UserPermissionsWithCompany {
|
|
|
2232
2140
|
'role': string | null;
|
|
2233
2141
|
/**
|
|
2234
2142
|
*
|
|
2235
|
-
* @type {
|
|
2143
|
+
* @type {SrcSharedSchemasCompanyCompanyInDBBase}
|
|
2236
2144
|
* @memberof UserPermissionsWithCompany
|
|
2237
2145
|
*/
|
|
2238
|
-
'company':
|
|
2146
|
+
'company': SrcSharedSchemasCompanyCompanyInDBBase | null;
|
|
2239
2147
|
}
|
|
2240
2148
|
/**
|
|
2241
2149
|
*
|
|
@@ -2956,7 +2864,7 @@ export declare const CompanyApiFp: (configuration?: Configuration) => {
|
|
|
2956
2864
|
* @param {*} [options] Override http request option.
|
|
2957
2865
|
* @throws {RequiredError}
|
|
2958
2866
|
*/
|
|
2959
|
-
createCompanyV1CompanyCreatePost(companyCreate: CompanyCreate, authorization?: string, sessionId?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<
|
|
2867
|
+
createCompanyV1CompanyCreatePost(companyCreate: CompanyCreate, authorization?: string, sessionId?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<SrcDomainsOrganizationSchemasCompanyCompanyInDBBase>>;
|
|
2960
2868
|
/**
|
|
2961
2869
|
*
|
|
2962
2870
|
* @summary Get Companies
|
|
@@ -2997,7 +2905,7 @@ export declare const CompanyApiFp: (configuration?: Configuration) => {
|
|
|
2997
2905
|
* @param {*} [options] Override http request option.
|
|
2998
2906
|
* @throws {RequiredError}
|
|
2999
2907
|
*/
|
|
3000
|
-
updateCompanyV1CompanyUpdatePatch(companyUpdate: CompanyUpdate, authorization?: string, sessionId?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<
|
|
2908
|
+
updateCompanyV1CompanyUpdatePatch(companyUpdate: CompanyUpdate, authorization?: string, sessionId?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<SrcDomainsOrganizationSchemasCompanyCompanyInDBBase>>;
|
|
3001
2909
|
};
|
|
3002
2910
|
/**
|
|
3003
2911
|
* CompanyApi - factory interface
|
|
@@ -3013,7 +2921,7 @@ export declare const CompanyApiFactory: (configuration?: Configuration, basePath
|
|
|
3013
2921
|
* @param {*} [options] Override http request option.
|
|
3014
2922
|
* @throws {RequiredError}
|
|
3015
2923
|
*/
|
|
3016
|
-
createCompanyV1CompanyCreatePost(companyCreate: CompanyCreate, authorization?: string, sessionId?: string, options?: RawAxiosRequestConfig): AxiosPromise<
|
|
2924
|
+
createCompanyV1CompanyCreatePost(companyCreate: CompanyCreate, authorization?: string, sessionId?: string, options?: RawAxiosRequestConfig): AxiosPromise<SrcDomainsOrganizationSchemasCompanyCompanyInDBBase>;
|
|
3017
2925
|
/**
|
|
3018
2926
|
*
|
|
3019
2927
|
* @summary Get Companies
|
|
@@ -3054,7 +2962,7 @@ export declare const CompanyApiFactory: (configuration?: Configuration, basePath
|
|
|
3054
2962
|
* @param {*} [options] Override http request option.
|
|
3055
2963
|
* @throws {RequiredError}
|
|
3056
2964
|
*/
|
|
3057
|
-
updateCompanyV1CompanyUpdatePatch(companyUpdate: CompanyUpdate, authorization?: string, sessionId?: string, options?: RawAxiosRequestConfig): AxiosPromise<
|
|
2965
|
+
updateCompanyV1CompanyUpdatePatch(companyUpdate: CompanyUpdate, authorization?: string, sessionId?: string, options?: RawAxiosRequestConfig): AxiosPromise<SrcDomainsOrganizationSchemasCompanyCompanyInDBBase>;
|
|
3058
2966
|
};
|
|
3059
2967
|
/**
|
|
3060
2968
|
* CompanyApi - object-oriented interface
|
|
@@ -3073,7 +2981,7 @@ export declare class CompanyApi extends BaseAPI {
|
|
|
3073
2981
|
* @throws {RequiredError}
|
|
3074
2982
|
* @memberof CompanyApi
|
|
3075
2983
|
*/
|
|
3076
|
-
createCompanyV1CompanyCreatePost(companyCreate: CompanyCreate, authorization?: string, sessionId?: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<
|
|
2984
|
+
createCompanyV1CompanyCreatePost(companyCreate: CompanyCreate, authorization?: string, sessionId?: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<SrcDomainsOrganizationSchemasCompanyCompanyInDBBase, any, {}>>;
|
|
3077
2985
|
/**
|
|
3078
2986
|
*
|
|
3079
2987
|
* @summary Get Companies
|
|
@@ -3118,7 +3026,7 @@ export declare class CompanyApi extends BaseAPI {
|
|
|
3118
3026
|
* @throws {RequiredError}
|
|
3119
3027
|
* @memberof CompanyApi
|
|
3120
3028
|
*/
|
|
3121
|
-
updateCompanyV1CompanyUpdatePatch(companyUpdate: CompanyUpdate, authorization?: string, sessionId?: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<
|
|
3029
|
+
updateCompanyV1CompanyUpdatePatch(companyUpdate: CompanyUpdate, authorization?: string, sessionId?: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<SrcDomainsOrganizationSchemasCompanyCompanyInDBBase, any, {}>>;
|
|
3122
3030
|
}
|
|
3123
3031
|
/**
|
|
3124
3032
|
* ControlsApi - axios parameter creator
|
package/docs/CompanyApi.md
CHANGED
|
@@ -11,7 +11,7 @@ All URIs are relative to *http://localhost*
|
|
|
11
11
|
|[**updateCompanyV1CompanyUpdatePatch**](#updatecompanyv1companyupdatepatch) | **PATCH** /v1/company/update | Update Company|
|
|
12
12
|
|
|
13
13
|
# **createCompanyV1CompanyCreatePost**
|
|
14
|
-
>
|
|
14
|
+
> SrcDomainsOrganizationSchemasCompanyCompanyInDBBase createCompanyV1CompanyCreatePost(companyCreate)
|
|
15
15
|
|
|
16
16
|
|
|
17
17
|
### Example
|
|
@@ -48,7 +48,7 @@ const { status, data } = await apiInstance.createCompanyV1CompanyCreatePost(
|
|
|
48
48
|
|
|
49
49
|
### Return type
|
|
50
50
|
|
|
51
|
-
**
|
|
51
|
+
**SrcDomainsOrganizationSchemasCompanyCompanyInDBBase**
|
|
52
52
|
|
|
53
53
|
### Authorization
|
|
54
54
|
|
|
@@ -243,7 +243,7 @@ No authorization required
|
|
|
243
243
|
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
|
|
244
244
|
|
|
245
245
|
# **updateCompanyV1CompanyUpdatePatch**
|
|
246
|
-
>
|
|
246
|
+
> SrcDomainsOrganizationSchemasCompanyCompanyInDBBase updateCompanyV1CompanyUpdatePatch(companyUpdate)
|
|
247
247
|
|
|
248
248
|
|
|
249
249
|
### Example
|
|
@@ -280,7 +280,7 @@ const { status, data } = await apiInstance.updateCompanyV1CompanyUpdatePatch(
|
|
|
280
280
|
|
|
281
281
|
### Return type
|
|
282
282
|
|
|
283
|
-
**
|
|
283
|
+
**SrcDomainsOrganizationSchemasCompanyCompanyInDBBase**
|
|
284
284
|
|
|
285
285
|
### Authorization
|
|
286
286
|
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
# CompanyComplianceInDB
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
## Properties
|
|
5
|
+
|
|
6
|
+
Name | Type | Description | Notes
|
|
7
|
+
------------ | ------------- | ------------- | -------------
|
|
8
|
+
**framework** | [**ComplianceGoal**](ComplianceGoal.md) | | [default to undefined]
|
|
9
|
+
**target_audit_date** | **string** | | [optional] [default to undefined]
|
|
10
|
+
**total_controls** | **number** | | [optional] [default to 0]
|
|
11
|
+
**completed_controls** | **number** | | [optional] [default to 0]
|
|
12
|
+
**in_progress_controls** | **number** | | [optional] [default to 0]
|
|
13
|
+
**not_started_controls** | **number** | | [optional] [default to 0]
|
|
14
|
+
**failed_controls** | **number** | | [optional] [default to 0]
|
|
15
|
+
**skipped_controls** | **number** | | [optional] [default to 0]
|
|
16
|
+
**pending_review_controls** | **number** | | [optional] [default to 0]
|
|
17
|
+
**id** | **number** | | [default to undefined]
|
|
18
|
+
**company_id** | **string** | | [default to undefined]
|
|
19
|
+
**updated_at** | **string** | | [default to undefined]
|
|
20
|
+
|
|
21
|
+
## Example
|
|
22
|
+
|
|
23
|
+
```typescript
|
|
24
|
+
import { CompanyComplianceInDB } from './api';
|
|
25
|
+
|
|
26
|
+
const instance: CompanyComplianceInDB = {
|
|
27
|
+
framework,
|
|
28
|
+
target_audit_date,
|
|
29
|
+
total_controls,
|
|
30
|
+
completed_controls,
|
|
31
|
+
in_progress_controls,
|
|
32
|
+
not_started_controls,
|
|
33
|
+
failed_controls,
|
|
34
|
+
skipped_controls,
|
|
35
|
+
pending_review_controls,
|
|
36
|
+
id,
|
|
37
|
+
company_id,
|
|
38
|
+
updated_at,
|
|
39
|
+
};
|
|
40
|
+
```
|
|
41
|
+
|
|
42
|
+
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
|