@rasadov/lumoar-sdk 1.1.10 → 1.2.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.
@@ -12,6 +12,7 @@ docs/AuthApi.md
12
12
  docs/AuthenticationSuccess.md
13
13
  docs/CheckoutSessionResponse.md
14
14
  docs/CompanyApi.md
15
+ docs/CompanyComplianceInDB.md
15
16
  docs/CompanyCreate.md
16
17
  docs/CompanyInDBBase.md
17
18
  docs/CompanyUpdate.md
package/api.ts CHANGED
@@ -159,174 +159,165 @@ export interface CheckoutSessionResponse {
159
159
  /**
160
160
  *
161
161
  * @export
162
- * @interface CompanyCreate
162
+ * @interface CompanyComplianceInDB
163
163
  */
164
- export interface CompanyCreate {
164
+ export interface CompanyComplianceInDB {
165
165
  /**
166
166
  *
167
- * @type {string}
168
- * @memberof CompanyCreate
167
+ * @type {ComplianceGoal}
168
+ * @memberof CompanyComplianceInDB
169
169
  */
170
- 'name': string;
170
+ 'framework': ComplianceGoal;
171
171
  /**
172
172
  *
173
173
  * @type {string}
174
- * @memberof CompanyCreate
174
+ * @memberof CompanyComplianceInDB
175
175
  */
176
- 'industry': string;
176
+ 'target_audit_date'?: string | null;
177
177
  /**
178
178
  *
179
179
  * @type {number}
180
- * @memberof CompanyCreate
181
- */
182
- 'employee_count': number;
183
- /**
184
- *
185
- * @type {string}
186
- * @memberof CompanyCreate
180
+ * @memberof CompanyComplianceInDB
187
181
  */
188
- 'domain': string;
182
+ 'total_controls'?: number;
189
183
  /**
190
184
  *
191
- * @type {{ [key: string]: any; }}
192
- * @memberof CompanyCreate
185
+ * @type {number}
186
+ * @memberof CompanyComplianceInDB
193
187
  */
194
- 'tools_used'?: { [key: string]: any; } | null;
188
+ 'completed_controls'?: number;
195
189
  /**
196
190
  *
197
- * @type {string}
198
- * @memberof CompanyCreate
191
+ * @type {number}
192
+ * @memberof CompanyComplianceInDB
199
193
  */
200
- 'plan'?: string | null;
194
+ 'in_progress_controls'?: number;
201
195
  /**
202
196
  *
203
- * @type {string}
204
- * @memberof CompanyCreate
197
+ * @type {number}
198
+ * @memberof CompanyComplianceInDB
205
199
  */
206
- 'status'?: string | null;
200
+ 'not_started_controls'?: number;
207
201
  /**
208
202
  *
209
- * @type {ComplianceGoal}
210
- * @memberof CompanyCreate
203
+ * @type {number}
204
+ * @memberof CompanyComplianceInDB
211
205
  */
212
- 'compliance_goal'?: ComplianceGoal | null;
206
+ 'failed_controls'?: number;
213
207
  /**
214
208
  *
215
209
  * @type {number}
216
- * @memberof CompanyCreate
210
+ * @memberof CompanyComplianceInDB
217
211
  */
218
- 'readiness_score'?: number | null;
212
+ 'skipped_controls'?: number;
219
213
  /**
220
214
  *
221
- * @type {string}
222
- * @memberof CompanyCreate
215
+ * @type {number}
216
+ * @memberof CompanyComplianceInDB
223
217
  */
224
- 'audit_due_date'?: string | null;
218
+ 'pending_review_controls'?: number;
225
219
  /**
226
220
  *
227
- * @type {boolean}
228
- * @memberof CompanyCreate
221
+ * @type {number}
222
+ * @memberof CompanyComplianceInDB
229
223
  */
230
- 'is_audit_mode'?: boolean;
224
+ 'id': number;
231
225
  /**
232
226
  *
233
227
  * @type {string}
234
- * @memberof CompanyCreate
228
+ * @memberof CompanyComplianceInDB
235
229
  */
236
- 'timezone'?: string;
230
+ 'company_id': string;
237
231
  /**
238
232
  *
239
233
  * @type {string}
240
- * @memberof CompanyCreate
234
+ * @memberof CompanyComplianceInDB
241
235
  */
242
- 'logo_url'?: string | null;
236
+ 'updated_at': string;
243
237
  }
244
238
 
245
239
 
246
240
  /**
247
241
  *
248
242
  * @export
249
- * @interface CompanyInDBBase
243
+ * @interface CompanyCreate
250
244
  */
251
- export interface CompanyInDBBase {
245
+ export interface CompanyCreate {
252
246
  /**
253
247
  *
254
248
  * @type {string}
255
- * @memberof CompanyInDBBase
249
+ * @memberof CompanyCreate
256
250
  */
257
251
  'name': string;
258
252
  /**
259
253
  *
260
254
  * @type {string}
261
- * @memberof CompanyInDBBase
255
+ * @memberof CompanyCreate
262
256
  */
263
257
  'industry': string;
264
258
  /**
265
259
  *
266
260
  * @type {number}
267
- * @memberof CompanyInDBBase
261
+ * @memberof CompanyCreate
268
262
  */
269
263
  'employee_count': number;
270
264
  /**
271
265
  *
272
266
  * @type {string}
273
- * @memberof CompanyInDBBase
267
+ * @memberof CompanyCreate
274
268
  */
275
269
  'domain': string;
276
- /**
277
- *
278
- * @type {{ [key: string]: any; }}
279
- * @memberof CompanyInDBBase
280
- */
281
- 'tools_used'?: { [key: string]: any; } | null;
282
- /**
283
- *
284
- * @type {string}
285
- * @memberof CompanyInDBBase
286
- */
287
- 'plan'?: string | null;
288
270
  /**
289
271
  *
290
272
  * @type {string}
291
- * @memberof CompanyInDBBase
273
+ * @memberof CompanyCreate
292
274
  */
293
275
  'status'?: string | null;
294
276
  /**
295
277
  *
296
278
  * @type {ComplianceGoal}
297
- * @memberof CompanyInDBBase
279
+ * @memberof CompanyCreate
298
280
  */
299
- 'compliance_goal'?: ComplianceGoal | null;
281
+ 'compliance_goal'?: ComplianceGoal;
282
+ }
283
+
284
+
285
+ /**
286
+ *
287
+ * @export
288
+ * @interface CompanyInDBBase
289
+ */
290
+ export interface CompanyInDBBase {
300
291
  /**
301
292
  *
302
- * @type {number}
293
+ * @type {string}
303
294
  * @memberof CompanyInDBBase
304
295
  */
305
- 'readiness_score'?: number | null;
296
+ 'name': string;
306
297
  /**
307
298
  *
308
299
  * @type {string}
309
300
  * @memberof CompanyInDBBase
310
301
  */
311
- 'audit_due_date'?: string | null;
302
+ 'industry': string;
312
303
  /**
313
304
  *
314
- * @type {boolean}
305
+ * @type {number}
315
306
  * @memberof CompanyInDBBase
316
307
  */
317
- 'is_audit_mode'?: boolean;
308
+ 'employee_count': number;
318
309
  /**
319
310
  *
320
311
  * @type {string}
321
312
  * @memberof CompanyInDBBase
322
313
  */
323
- 'timezone'?: string;
314
+ 'domain': string;
324
315
  /**
325
316
  *
326
317
  * @type {string}
327
318
  * @memberof CompanyInDBBase
328
319
  */
329
- 'logo_url'?: string | null;
320
+ 'status'?: string | null;
330
321
  /**
331
322
  *
332
323
  * @type {string}
@@ -339,9 +330,13 @@ export interface CompanyInDBBase {
339
330
  * @memberof CompanyInDBBase
340
331
  */
341
332
  'updated_at': string;
333
+ /**
334
+ *
335
+ * @type {CompanyComplianceInDB}
336
+ * @memberof CompanyInDBBase
337
+ */
338
+ 'compliance'?: CompanyComplianceInDB | null;
342
339
  }
343
-
344
-
345
340
  /**
346
341
  *
347
342
  * @export
@@ -378,51 +373,7 @@ export interface CompanyUpdate {
378
373
  * @memberof CompanyUpdate
379
374
  */
380
375
  'domain'?: string | null;
381
- /**
382
- *
383
- * @type {{ [key: string]: any; }}
384
- * @memberof CompanyUpdate
385
- */
386
- 'tools_used'?: { [key: string]: any; } | null;
387
- /**
388
- *
389
- * @type {ComplianceGoal}
390
- * @memberof CompanyUpdate
391
- */
392
- 'compliance_goal'?: ComplianceGoal | null;
393
- /**
394
- *
395
- * @type {number}
396
- * @memberof CompanyUpdate
397
- */
398
- 'readiness_score'?: number | null;
399
- /**
400
- *
401
- * @type {string}
402
- * @memberof CompanyUpdate
403
- */
404
- 'audit_due_date'?: string | null;
405
- /**
406
- *
407
- * @type {boolean}
408
- * @memberof CompanyUpdate
409
- */
410
- 'is_audit_mode'?: boolean | null;
411
- /**
412
- *
413
- * @type {string}
414
- * @memberof CompanyUpdate
415
- */
416
- 'timezone'?: string | null;
417
- /**
418
- *
419
- * @type {string}
420
- * @memberof CompanyUpdate
421
- */
422
- 'logo_url'?: string | null;
423
376
  }
424
-
425
-
426
377
  /**
427
378
  *
428
379
  * @export
@@ -453,72 +404,30 @@ export interface CompanyWithControls {
453
404
  * @memberof CompanyWithControls
454
405
  */
455
406
  'domain': string;
456
- /**
457
- *
458
- * @type {{ [key: string]: any; }}
459
- * @memberof CompanyWithControls
460
- */
461
- 'tools_used'?: { [key: string]: any; } | null;
462
- /**
463
- *
464
- * @type {string}
465
- * @memberof CompanyWithControls
466
- */
467
- 'plan'?: string | null;
468
407
  /**
469
408
  *
470
409
  * @type {string}
471
410
  * @memberof CompanyWithControls
472
411
  */
473
412
  'status'?: string | null;
474
- /**
475
- *
476
- * @type {ComplianceGoal}
477
- * @memberof CompanyWithControls
478
- */
479
- 'compliance_goal'?: ComplianceGoal | null;
480
- /**
481
- *
482
- * @type {number}
483
- * @memberof CompanyWithControls
484
- */
485
- 'readiness_score'?: number | null;
486
413
  /**
487
414
  *
488
415
  * @type {string}
489
416
  * @memberof CompanyWithControls
490
417
  */
491
- 'audit_due_date'?: string | null;
492
- /**
493
- *
494
- * @type {boolean}
495
- * @memberof CompanyWithControls
496
- */
497
- 'is_audit_mode'?: boolean;
498
- /**
499
- *
500
- * @type {string}
501
- * @memberof CompanyWithControls
502
- */
503
- 'timezone'?: string;
504
- /**
505
- *
506
- * @type {string}
507
- * @memberof CompanyWithControls
508
- */
509
- 'logo_url'?: string | null;
418
+ 'id': string;
510
419
  /**
511
420
  *
512
421
  * @type {string}
513
422
  * @memberof CompanyWithControls
514
423
  */
515
- 'id': string;
424
+ 'updated_at': string;
516
425
  /**
517
426
  *
518
- * @type {string}
427
+ * @type {CompanyComplianceInDB}
519
428
  * @memberof CompanyWithControls
520
429
  */
521
- 'updated_at': string;
430
+ 'compliance'?: CompanyComplianceInDB | null;
522
431
  /**
523
432
  *
524
433
  * @type {Array<ControlWithEvidences>}
@@ -526,8 +435,6 @@ export interface CompanyWithControls {
526
435
  */
527
436
  'controls': Array<ControlWithEvidences>;
528
437
  }
529
-
530
-
531
438
  /**
532
439
  *
533
440
  * @export
@@ -558,72 +465,30 @@ export interface CompanyWithRoles {
558
465
  * @memberof CompanyWithRoles
559
466
  */
560
467
  'domain': string;
561
- /**
562
- *
563
- * @type {{ [key: string]: any; }}
564
- * @memberof CompanyWithRoles
565
- */
566
- 'tools_used'?: { [key: string]: any; } | null;
567
- /**
568
- *
569
- * @type {string}
570
- * @memberof CompanyWithRoles
571
- */
572
- 'plan'?: string | null;
573
468
  /**
574
469
  *
575
470
  * @type {string}
576
471
  * @memberof CompanyWithRoles
577
472
  */
578
473
  'status'?: string | null;
579
- /**
580
- *
581
- * @type {ComplianceGoal}
582
- * @memberof CompanyWithRoles
583
- */
584
- 'compliance_goal'?: ComplianceGoal | null;
585
- /**
586
- *
587
- * @type {number}
588
- * @memberof CompanyWithRoles
589
- */
590
- 'readiness_score'?: number | null;
591
- /**
592
- *
593
- * @type {string}
594
- * @memberof CompanyWithRoles
595
- */
596
- 'audit_due_date'?: string | null;
597
- /**
598
- *
599
- * @type {boolean}
600
- * @memberof CompanyWithRoles
601
- */
602
- 'is_audit_mode'?: boolean;
603
474
  /**
604
475
  *
605
476
  * @type {string}
606
477
  * @memberof CompanyWithRoles
607
478
  */
608
- 'timezone'?: string;
479
+ 'id': string;
609
480
  /**
610
481
  *
611
482
  * @type {string}
612
483
  * @memberof CompanyWithRoles
613
484
  */
614
- 'logo_url'?: string | null;
485
+ 'updated_at': string;
615
486
  /**
616
487
  *
617
- * @type {string}
488
+ * @type {CompanyComplianceInDB}
618
489
  * @memberof CompanyWithRoles
619
490
  */
620
- 'id': string;
621
- /**
622
- *
623
- * @type {string}
624
- * @memberof CompanyWithRoles
625
- */
626
- 'updated_at': string;
491
+ 'compliance'?: CompanyComplianceInDB | null;
627
492
  /**
628
493
  *
629
494
  * @type {Array<RolesWithUser>}
@@ -631,8 +496,6 @@ export interface CompanyWithRoles {
631
496
  */
632
497
  'permissions': Array<RolesWithUser>;
633
498
  }
634
-
635
-
636
499
  /**
637
500
  *
638
501
  * @export
@@ -2004,6 +1867,12 @@ export interface TaskRead {
2004
1867
  * @memberof TaskRead
2005
1868
  */
2006
1869
  'status': TaskStatus;
1870
+ /**
1871
+ *
1872
+ * @type {string}
1873
+ * @memberof TaskRead
1874
+ */
1875
+ 'control_id': string | null;
2007
1876
  }
2008
1877
 
2009
1878
 
@@ -2085,6 +1954,12 @@ export interface TaskWithUser {
2085
1954
  * @memberof TaskWithUser
2086
1955
  */
2087
1956
  'status': TaskStatus;
1957
+ /**
1958
+ *
1959
+ * @type {string}
1960
+ * @memberof TaskWithUser
1961
+ */
1962
+ 'control_id': string | null;
2088
1963
  /**
2089
1964
  *
2090
1965
  * @type {UserWithId}
package/dist/api.d.ts CHANGED
@@ -142,176 +142,161 @@ 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
- /**
268
- *
269
- * @type {string}
270
- * @memberof CompanyInDBBase
271
- */
272
- 'plan'?: string | null;
273
251
  /**
274
252
  *
275
253
  * @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
260
+ * @memberof CompanyCreate
283
261
  */
284
- 'compliance_goal'?: ComplianceGoal | null;
262
+ 'compliance_goal'?: ComplianceGoal;
263
+ }
264
+ /**
265
+ *
266
+ * @export
267
+ * @interface CompanyInDBBase
268
+ */
269
+ export interface CompanyInDBBase {
285
270
  /**
286
271
  *
287
- * @type {number}
272
+ * @type {string}
288
273
  * @memberof CompanyInDBBase
289
274
  */
290
- 'readiness_score'?: number | null;
275
+ 'name': string;
291
276
  /**
292
277
  *
293
278
  * @type {string}
294
279
  * @memberof CompanyInDBBase
295
280
  */
296
- 'audit_due_date'?: string | null;
281
+ 'industry': string;
297
282
  /**
298
283
  *
299
- * @type {boolean}
284
+ * @type {number}
300
285
  * @memberof CompanyInDBBase
301
286
  */
302
- 'is_audit_mode'?: boolean;
287
+ 'employee_count': number;
303
288
  /**
304
289
  *
305
290
  * @type {string}
306
291
  * @memberof CompanyInDBBase
307
292
  */
308
- 'timezone'?: string;
293
+ 'domain': string;
309
294
  /**
310
295
  *
311
296
  * @type {string}
312
297
  * @memberof CompanyInDBBase
313
298
  */
314
- 'logo_url'?: string | null;
299
+ 'status'?: string | null;
315
300
  /**
316
301
  *
317
302
  * @type {string}
@@ -324,6 +309,12 @@ export interface CompanyInDBBase {
324
309
  * @memberof CompanyInDBBase
325
310
  */
326
311
  'updated_at': string;
312
+ /**
313
+ *
314
+ * @type {CompanyComplianceInDB}
315
+ * @memberof CompanyInDBBase
316
+ */
317
+ 'compliance'?: CompanyComplianceInDB | null;
327
318
  }
328
319
  /**
329
320
  *
@@ -361,50 +352,6 @@ export interface CompanyUpdate {
361
352
  * @memberof CompanyUpdate
362
353
  */
363
354
  '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
355
  }
409
356
  /**
410
357
  *
@@ -436,74 +383,30 @@ export interface CompanyWithControls {
436
383
  * @memberof CompanyWithControls
437
384
  */
438
385
  '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
386
  /**
454
387
  *
455
388
  * @type {string}
456
389
  * @memberof CompanyWithControls
457
390
  */
458
391
  '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
392
  /**
472
393
  *
473
394
  * @type {string}
474
395
  * @memberof CompanyWithControls
475
396
  */
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;
397
+ 'id': string;
495
398
  /**
496
399
  *
497
400
  * @type {string}
498
401
  * @memberof CompanyWithControls
499
402
  */
500
- 'id': string;
403
+ 'updated_at': string;
501
404
  /**
502
405
  *
503
- * @type {string}
406
+ * @type {CompanyComplianceInDB}
504
407
  * @memberof CompanyWithControls
505
408
  */
506
- 'updated_at': string;
409
+ 'compliance'?: CompanyComplianceInDB | null;
507
410
  /**
508
411
  *
509
412
  * @type {Array<ControlWithEvidences>}
@@ -541,74 +444,30 @@ export interface CompanyWithRoles {
541
444
  * @memberof CompanyWithRoles
542
445
  */
543
446
  '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
447
  /**
559
448
  *
560
449
  * @type {string}
561
450
  * @memberof CompanyWithRoles
562
451
  */
563
452
  '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
453
  /**
589
454
  *
590
455
  * @type {string}
591
456
  * @memberof CompanyWithRoles
592
457
  */
593
- 'timezone'?: string;
594
- /**
595
- *
596
- * @type {string}
597
- * @memberof CompanyWithRoles
598
- */
599
- 'logo_url'?: string | null;
458
+ 'id': string;
600
459
  /**
601
460
  *
602
461
  * @type {string}
603
462
  * @memberof CompanyWithRoles
604
463
  */
605
- 'id': string;
464
+ 'updated_at': string;
606
465
  /**
607
466
  *
608
- * @type {string}
467
+ * @type {CompanyComplianceInDB}
609
468
  * @memberof CompanyWithRoles
610
469
  */
611
- 'updated_at': string;
470
+ 'compliance'?: CompanyComplianceInDB | null;
612
471
  /**
613
472
  *
614
473
  * @type {Array<RolesWithUser>}
@@ -1968,6 +1827,12 @@ export interface TaskRead {
1968
1827
  * @memberof TaskRead
1969
1828
  */
1970
1829
  'status': TaskStatus;
1830
+ /**
1831
+ *
1832
+ * @type {string}
1833
+ * @memberof TaskRead
1834
+ */
1835
+ 'control_id': string | null;
1971
1836
  }
1972
1837
  /**
1973
1838
  *
@@ -2043,6 +1908,12 @@ export interface TaskWithUser {
2043
1908
  * @memberof TaskWithUser
2044
1909
  */
2045
1910
  'status': TaskStatus;
1911
+ /**
1912
+ *
1913
+ * @type {string}
1914
+ * @memberof TaskWithUser
1915
+ */
1916
+ 'control_id': string | null;
2046
1917
  /**
2047
1918
  *
2048
1919
  * @type {UserWithId}
@@ -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)
@@ -9,15 +9,8 @@ Name | Type | Description | Notes
9
9
  **industry** | **string** | | [default to undefined]
10
10
  **employee_count** | **number** | | [default to undefined]
11
11
  **domain** | **string** | | [default to undefined]
12
- **tools_used** | **{ [key: string]: any; }** | | [optional] [default to undefined]
13
- **plan** | **string** | | [optional] [default to undefined]
14
12
  **status** | **string** | | [optional] [default to undefined]
15
13
  **compliance_goal** | [**ComplianceGoal**](ComplianceGoal.md) | | [optional] [default to undefined]
16
- **readiness_score** | **number** | | [optional] [default to undefined]
17
- **audit_due_date** | **string** | | [optional] [default to undefined]
18
- **is_audit_mode** | **boolean** | | [optional] [default to false]
19
- **timezone** | **string** | | [optional] [default to 'UTC']
20
- **logo_url** | **string** | | [optional] [default to undefined]
21
14
 
22
15
  ## Example
23
16
 
@@ -29,15 +22,8 @@ const instance: CompanyCreate = {
29
22
  industry,
30
23
  employee_count,
31
24
  domain,
32
- tools_used,
33
- plan,
34
25
  status,
35
26
  compliance_goal,
36
- readiness_score,
37
- audit_due_date,
38
- is_audit_mode,
39
- timezone,
40
- logo_url,
41
27
  };
42
28
  ```
43
29
 
@@ -9,17 +9,10 @@ Name | Type | Description | Notes
9
9
  **industry** | **string** | | [default to undefined]
10
10
  **employee_count** | **number** | | [default to undefined]
11
11
  **domain** | **string** | | [default to undefined]
12
- **tools_used** | **{ [key: string]: any; }** | | [optional] [default to undefined]
13
- **plan** | **string** | | [optional] [default to undefined]
14
12
  **status** | **string** | | [optional] [default to undefined]
15
- **compliance_goal** | [**ComplianceGoal**](ComplianceGoal.md) | | [optional] [default to undefined]
16
- **readiness_score** | **number** | | [optional] [default to undefined]
17
- **audit_due_date** | **string** | | [optional] [default to undefined]
18
- **is_audit_mode** | **boolean** | | [optional] [default to false]
19
- **timezone** | **string** | | [optional] [default to 'UTC']
20
- **logo_url** | **string** | | [optional] [default to undefined]
21
13
  **id** | **string** | | [default to undefined]
22
14
  **updated_at** | **string** | | [default to undefined]
15
+ **compliance** | [**CompanyComplianceInDB**](CompanyComplianceInDB.md) | | [optional] [default to undefined]
23
16
 
24
17
  ## Example
25
18
 
@@ -31,17 +24,10 @@ const instance: CompanyInDBBase = {
31
24
  industry,
32
25
  employee_count,
33
26
  domain,
34
- tools_used,
35
- plan,
36
27
  status,
37
- compliance_goal,
38
- readiness_score,
39
- audit_due_date,
40
- is_audit_mode,
41
- timezone,
42
- logo_url,
43
28
  id,
44
29
  updated_at,
30
+ compliance,
45
31
  };
46
32
  ```
47
33
 
@@ -10,13 +10,6 @@ Name | Type | Description | Notes
10
10
  **industry** | **string** | | [optional] [default to undefined]
11
11
  **employee_count** | **number** | | [optional] [default to undefined]
12
12
  **domain** | **string** | | [optional] [default to undefined]
13
- **tools_used** | **{ [key: string]: any; }** | | [optional] [default to undefined]
14
- **compliance_goal** | [**ComplianceGoal**](ComplianceGoal.md) | | [optional] [default to undefined]
15
- **readiness_score** | **number** | | [optional] [default to undefined]
16
- **audit_due_date** | **string** | | [optional] [default to undefined]
17
- **is_audit_mode** | **boolean** | | [optional] [default to undefined]
18
- **timezone** | **string** | | [optional] [default to undefined]
19
- **logo_url** | **string** | | [optional] [default to undefined]
20
13
 
21
14
  ## Example
22
15
 
@@ -29,13 +22,6 @@ const instance: CompanyUpdate = {
29
22
  industry,
30
23
  employee_count,
31
24
  domain,
32
- tools_used,
33
- compliance_goal,
34
- readiness_score,
35
- audit_due_date,
36
- is_audit_mode,
37
- timezone,
38
- logo_url,
39
25
  };
40
26
  ```
41
27
 
@@ -9,17 +9,10 @@ Name | Type | Description | Notes
9
9
  **industry** | **string** | | [default to undefined]
10
10
  **employee_count** | **number** | | [default to undefined]
11
11
  **domain** | **string** | | [default to undefined]
12
- **tools_used** | **{ [key: string]: any; }** | | [optional] [default to undefined]
13
- **plan** | **string** | | [optional] [default to undefined]
14
12
  **status** | **string** | | [optional] [default to undefined]
15
- **compliance_goal** | [**ComplianceGoal**](ComplianceGoal.md) | | [optional] [default to undefined]
16
- **readiness_score** | **number** | | [optional] [default to undefined]
17
- **audit_due_date** | **string** | | [optional] [default to undefined]
18
- **is_audit_mode** | **boolean** | | [optional] [default to false]
19
- **timezone** | **string** | | [optional] [default to 'UTC']
20
- **logo_url** | **string** | | [optional] [default to undefined]
21
13
  **id** | **string** | | [default to undefined]
22
14
  **updated_at** | **string** | | [default to undefined]
15
+ **compliance** | [**CompanyComplianceInDB**](CompanyComplianceInDB.md) | | [optional] [default to undefined]
23
16
  **controls** | [**Array&lt;ControlWithEvidences&gt;**](ControlWithEvidences.md) | | [default to undefined]
24
17
 
25
18
  ## Example
@@ -32,17 +25,10 @@ const instance: CompanyWithControls = {
32
25
  industry,
33
26
  employee_count,
34
27
  domain,
35
- tools_used,
36
- plan,
37
28
  status,
38
- compliance_goal,
39
- readiness_score,
40
- audit_due_date,
41
- is_audit_mode,
42
- timezone,
43
- logo_url,
44
29
  id,
45
30
  updated_at,
31
+ compliance,
46
32
  controls,
47
33
  };
48
34
  ```
@@ -9,17 +9,10 @@ Name | Type | Description | Notes
9
9
  **industry** | **string** | | [default to undefined]
10
10
  **employee_count** | **number** | | [default to undefined]
11
11
  **domain** | **string** | | [default to undefined]
12
- **tools_used** | **{ [key: string]: any; }** | | [optional] [default to undefined]
13
- **plan** | **string** | | [optional] [default to undefined]
14
12
  **status** | **string** | | [optional] [default to undefined]
15
- **compliance_goal** | [**ComplianceGoal**](ComplianceGoal.md) | | [optional] [default to undefined]
16
- **readiness_score** | **number** | | [optional] [default to undefined]
17
- **audit_due_date** | **string** | | [optional] [default to undefined]
18
- **is_audit_mode** | **boolean** | | [optional] [default to false]
19
- **timezone** | **string** | | [optional] [default to 'UTC']
20
- **logo_url** | **string** | | [optional] [default to undefined]
21
13
  **id** | **string** | | [default to undefined]
22
14
  **updated_at** | **string** | | [default to undefined]
15
+ **compliance** | [**CompanyComplianceInDB**](CompanyComplianceInDB.md) | | [optional] [default to undefined]
23
16
  **permissions** | [**Array&lt;RolesWithUser&gt;**](RolesWithUser.md) | | [default to undefined]
24
17
 
25
18
  ## Example
@@ -32,17 +25,10 @@ const instance: CompanyWithRoles = {
32
25
  industry,
33
26
  employee_count,
34
27
  domain,
35
- tools_used,
36
- plan,
37
28
  status,
38
- compliance_goal,
39
- readiness_score,
40
- audit_due_date,
41
- is_audit_mode,
42
- timezone,
43
- logo_url,
44
29
  id,
45
30
  updated_at,
31
+ compliance,
46
32
  permissions,
47
33
  };
48
34
  ```
@@ -0,0 +1,32 @@
1
+ # SrcDomainsOrganizationSchemasCompanyCompanyInDBBase
2
+
3
+
4
+ ## Properties
5
+
6
+ Name | Type | Description | Notes
7
+ ------------ | ------------- | ------------- | -------------
8
+ **name** | **string** | | [default to undefined]
9
+ **industry** | **string** | | [default to undefined]
10
+ **employee_count** | **number** | | [default to undefined]
11
+ **domain** | **string** | | [default to undefined]
12
+ **status** | **string** | | [optional] [default to undefined]
13
+ **id** | **string** | | [default to undefined]
14
+ **updated_at** | **string** | | [default to undefined]
15
+
16
+ ## Example
17
+
18
+ ```typescript
19
+ import { SrcDomainsOrganizationSchemasCompanyCompanyInDBBase } from './api';
20
+
21
+ const instance: SrcDomainsOrganizationSchemasCompanyCompanyInDBBase = {
22
+ name,
23
+ industry,
24
+ employee_count,
25
+ domain,
26
+ status,
27
+ id,
28
+ updated_at,
29
+ };
30
+ ```
31
+
32
+ [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
@@ -0,0 +1,34 @@
1
+ # SrcSharedSchemasCompanyCompanyInDBBase
2
+
3
+
4
+ ## Properties
5
+
6
+ Name | Type | Description | Notes
7
+ ------------ | ------------- | ------------- | -------------
8
+ **name** | **string** | | [default to undefined]
9
+ **industry** | **string** | | [default to undefined]
10
+ **employee_count** | **number** | | [default to undefined]
11
+ **domain** | **string** | | [default to undefined]
12
+ **status** | **string** | | [optional] [default to undefined]
13
+ **id** | **string** | | [default to undefined]
14
+ **updated_at** | **string** | | [default to undefined]
15
+ **compliance** | [**CompanyComplianceInDB**](CompanyComplianceInDB.md) | | [optional] [default to undefined]
16
+
17
+ ## Example
18
+
19
+ ```typescript
20
+ import { SrcSharedSchemasCompanyCompanyInDBBase } from './api';
21
+
22
+ const instance: SrcSharedSchemasCompanyCompanyInDBBase = {
23
+ name,
24
+ industry,
25
+ employee_count,
26
+ domain,
27
+ status,
28
+ id,
29
+ updated_at,
30
+ compliance,
31
+ };
32
+ ```
33
+
34
+ [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
package/docs/TaskRead.md CHANGED
@@ -14,6 +14,7 @@ Name | Type | Description | Notes
14
14
  **updated_at** | **string** | | [default to undefined]
15
15
  **priority** | [**TaskPriority**](TaskPriority.md) | | [default to undefined]
16
16
  **status** | [**TaskStatus**](TaskStatus.md) | | [default to undefined]
17
+ **control_id** | **string** | | [default to undefined]
17
18
 
18
19
  ## Example
19
20
 
@@ -30,6 +31,7 @@ const instance: TaskRead = {
30
31
  updated_at,
31
32
  priority,
32
33
  status,
34
+ control_id,
33
35
  };
34
36
  ```
35
37
 
@@ -14,6 +14,7 @@ Name | Type | Description | Notes
14
14
  **updated_at** | **string** | | [default to undefined]
15
15
  **priority** | [**TaskPriority**](TaskPriority.md) | | [default to undefined]
16
16
  **status** | [**TaskStatus**](TaskStatus.md) | | [default to undefined]
17
+ **control_id** | **string** | | [default to undefined]
17
18
  **assigned_to** | [**UserWithId**](UserWithId.md) | | [default to undefined]
18
19
 
19
20
  ## Example
@@ -31,6 +32,7 @@ const instance: TaskWithUser = {
31
32
  updated_at,
32
33
  priority,
33
34
  status,
35
+ control_id,
34
36
  assigned_to,
35
37
  };
36
38
  ```
package/package.json CHANGED
@@ -4,7 +4,7 @@
4
4
  "openapi-generator-cli": "^1.0.0"
5
5
  },
6
6
  "name": "@rasadov/lumoar-sdk",
7
- "version": "1.1.10",
7
+ "version": "1.2.1",
8
8
  "description": "Lumoar API SDK",
9
9
  "main": "dist/index.js",
10
10
  "directories": {