@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/.openapi-generator/FILES +7 -2
- package/api.ts +523 -295
- package/dist/api.d.ts +422 -279
- package/dist/api.js +156 -0
- 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/ControlWithData.md +28 -0
- package/docs/ControlWithRelationships.md +1 -1
- package/docs/CustomerDBBase.md +22 -0
- package/docs/EvidenceApi.md +58 -0
- package/docs/EvidenceWithControl.md +42 -0
- package/docs/PaginationResponseCompanyInDBBase.md +1 -1
- package/docs/PaymentsApi.md +2 -2
- package/docs/ResponseGetSubscriptionV1PaymentsSubscriptionGet.md +30 -0
- package/docs/SrcDomainsOrganizationSchemasCompanyCompanyInDBBase.md +32 -0
- package/docs/SrcSharedSchemasCompanyCompanyInDBBase.md +34 -0
- package/docs/SubscriptionResponse.md +1 -1
- package/docs/TaskRead.md +2 -0
- package/docs/TaskWithUser.md +2 -0
- package/docs/TasksApi.md +58 -0
- package/docs/UserPermissionsWithCompany.md +1 -1
- package/package.json +1 -1
package/api.ts
CHANGED
|
@@ -159,186 +159,126 @@ export interface CheckoutSessionResponse {
|
|
|
159
159
|
/**
|
|
160
160
|
*
|
|
161
161
|
* @export
|
|
162
|
-
* @interface
|
|
162
|
+
* @interface CompanyComplianceInDB
|
|
163
163
|
*/
|
|
164
|
-
export interface
|
|
164
|
+
export interface CompanyComplianceInDB {
|
|
165
165
|
/**
|
|
166
166
|
*
|
|
167
|
-
* @type {
|
|
168
|
-
* @memberof
|
|
167
|
+
* @type {ComplianceGoal}
|
|
168
|
+
* @memberof CompanyComplianceInDB
|
|
169
169
|
*/
|
|
170
|
-
'
|
|
170
|
+
'framework': ComplianceGoal;
|
|
171
171
|
/**
|
|
172
172
|
*
|
|
173
173
|
* @type {string}
|
|
174
|
-
* @memberof
|
|
174
|
+
* @memberof CompanyComplianceInDB
|
|
175
175
|
*/
|
|
176
|
-
'
|
|
176
|
+
'target_audit_date'?: string | null;
|
|
177
177
|
/**
|
|
178
178
|
*
|
|
179
179
|
* @type {number}
|
|
180
|
-
* @memberof
|
|
181
|
-
*/
|
|
182
|
-
'employee_count': number;
|
|
183
|
-
/**
|
|
184
|
-
*
|
|
185
|
-
* @type {string}
|
|
186
|
-
* @memberof CompanyCreate
|
|
180
|
+
* @memberof CompanyComplianceInDB
|
|
187
181
|
*/
|
|
188
|
-
'
|
|
182
|
+
'total_controls'?: number;
|
|
189
183
|
/**
|
|
190
184
|
*
|
|
191
|
-
* @type {
|
|
192
|
-
* @memberof
|
|
185
|
+
* @type {number}
|
|
186
|
+
* @memberof CompanyComplianceInDB
|
|
193
187
|
*/
|
|
194
|
-
'
|
|
188
|
+
'completed_controls'?: number;
|
|
195
189
|
/**
|
|
196
190
|
*
|
|
197
|
-
* @type {
|
|
198
|
-
* @memberof
|
|
191
|
+
* @type {number}
|
|
192
|
+
* @memberof CompanyComplianceInDB
|
|
199
193
|
*/
|
|
200
|
-
'
|
|
194
|
+
'in_progress_controls'?: number;
|
|
201
195
|
/**
|
|
202
196
|
*
|
|
203
|
-
* @type {
|
|
204
|
-
* @memberof
|
|
197
|
+
* @type {number}
|
|
198
|
+
* @memberof CompanyComplianceInDB
|
|
205
199
|
*/
|
|
206
|
-
'
|
|
200
|
+
'not_started_controls'?: number;
|
|
207
201
|
/**
|
|
208
202
|
*
|
|
209
|
-
* @type {
|
|
210
|
-
* @memberof
|
|
203
|
+
* @type {number}
|
|
204
|
+
* @memberof CompanyComplianceInDB
|
|
211
205
|
*/
|
|
212
|
-
'
|
|
206
|
+
'failed_controls'?: number;
|
|
213
207
|
/**
|
|
214
208
|
*
|
|
215
209
|
* @type {number}
|
|
216
|
-
* @memberof
|
|
210
|
+
* @memberof CompanyComplianceInDB
|
|
217
211
|
*/
|
|
218
|
-
'
|
|
212
|
+
'skipped_controls'?: number;
|
|
219
213
|
/**
|
|
220
214
|
*
|
|
221
|
-
* @type {
|
|
222
|
-
* @memberof
|
|
215
|
+
* @type {number}
|
|
216
|
+
* @memberof CompanyComplianceInDB
|
|
223
217
|
*/
|
|
224
|
-
'
|
|
218
|
+
'pending_review_controls'?: number;
|
|
225
219
|
/**
|
|
226
220
|
*
|
|
227
|
-
* @type {
|
|
228
|
-
* @memberof
|
|
221
|
+
* @type {number}
|
|
222
|
+
* @memberof CompanyComplianceInDB
|
|
229
223
|
*/
|
|
230
|
-
'
|
|
224
|
+
'id': number;
|
|
231
225
|
/**
|
|
232
226
|
*
|
|
233
227
|
* @type {string}
|
|
234
|
-
* @memberof
|
|
228
|
+
* @memberof CompanyComplianceInDB
|
|
235
229
|
*/
|
|
236
|
-
'
|
|
230
|
+
'company_id': string;
|
|
237
231
|
/**
|
|
238
232
|
*
|
|
239
233
|
* @type {string}
|
|
240
|
-
* @memberof
|
|
234
|
+
* @memberof CompanyComplianceInDB
|
|
241
235
|
*/
|
|
242
|
-
'
|
|
236
|
+
'updated_at': string;
|
|
243
237
|
}
|
|
244
238
|
|
|
245
239
|
|
|
246
240
|
/**
|
|
247
241
|
*
|
|
248
242
|
* @export
|
|
249
|
-
* @interface
|
|
243
|
+
* @interface CompanyCreate
|
|
250
244
|
*/
|
|
251
|
-
export interface
|
|
245
|
+
export interface CompanyCreate {
|
|
252
246
|
/**
|
|
253
247
|
*
|
|
254
248
|
* @type {string}
|
|
255
|
-
* @memberof
|
|
249
|
+
* @memberof CompanyCreate
|
|
256
250
|
*/
|
|
257
251
|
'name': string;
|
|
258
252
|
/**
|
|
259
253
|
*
|
|
260
254
|
* @type {string}
|
|
261
|
-
* @memberof
|
|
255
|
+
* @memberof CompanyCreate
|
|
262
256
|
*/
|
|
263
257
|
'industry': string;
|
|
264
258
|
/**
|
|
265
259
|
*
|
|
266
260
|
* @type {number}
|
|
267
|
-
* @memberof
|
|
261
|
+
* @memberof CompanyCreate
|
|
268
262
|
*/
|
|
269
263
|
'employee_count': number;
|
|
270
264
|
/**
|
|
271
265
|
*
|
|
272
266
|
* @type {string}
|
|
273
|
-
* @memberof
|
|
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
270
|
/**
|
|
283
271
|
*
|
|
284
272
|
* @type {string}
|
|
285
|
-
* @memberof
|
|
286
|
-
*/
|
|
287
|
-
'plan'?: string | null;
|
|
288
|
-
/**
|
|
289
|
-
*
|
|
290
|
-
* @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
|
|
298
|
-
*/
|
|
299
|
-
'compliance_goal'?: ComplianceGoal | null;
|
|
300
|
-
/**
|
|
301
|
-
*
|
|
302
|
-
* @type {number}
|
|
303
|
-
* @memberof CompanyInDBBase
|
|
304
|
-
*/
|
|
305
|
-
'readiness_score'?: number | null;
|
|
306
|
-
/**
|
|
307
|
-
*
|
|
308
|
-
* @type {string}
|
|
309
|
-
* @memberof CompanyInDBBase
|
|
310
|
-
*/
|
|
311
|
-
'audit_due_date'?: string | null;
|
|
312
|
-
/**
|
|
313
|
-
*
|
|
314
|
-
* @type {boolean}
|
|
315
|
-
* @memberof CompanyInDBBase
|
|
316
|
-
*/
|
|
317
|
-
'is_audit_mode'?: boolean;
|
|
318
|
-
/**
|
|
319
|
-
*
|
|
320
|
-
* @type {string}
|
|
321
|
-
* @memberof CompanyInDBBase
|
|
322
|
-
*/
|
|
323
|
-
'timezone'?: string;
|
|
324
|
-
/**
|
|
325
|
-
*
|
|
326
|
-
* @type {string}
|
|
327
|
-
* @memberof CompanyInDBBase
|
|
328
|
-
*/
|
|
329
|
-
'logo_url'?: string | null;
|
|
330
|
-
/**
|
|
331
|
-
*
|
|
332
|
-
* @type {string}
|
|
333
|
-
* @memberof CompanyInDBBase
|
|
334
|
-
*/
|
|
335
|
-
'id': string;
|
|
336
|
-
/**
|
|
337
|
-
*
|
|
338
|
-
* @type {string}
|
|
339
|
-
* @memberof CompanyInDBBase
|
|
279
|
+
* @memberof CompanyCreate
|
|
340
280
|
*/
|
|
341
|
-
'
|
|
281
|
+
'compliance_goal'?: ComplianceGoal;
|
|
342
282
|
}
|
|
343
283
|
|
|
344
284
|
|
|
@@ -378,51 +318,7 @@ export interface CompanyUpdate {
|
|
|
378
318
|
* @memberof CompanyUpdate
|
|
379
319
|
*/
|
|
380
320
|
'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
321
|
}
|
|
424
|
-
|
|
425
|
-
|
|
426
322
|
/**
|
|
427
323
|
*
|
|
428
324
|
* @export
|
|
@@ -453,60 +349,12 @@ export interface CompanyWithControls {
|
|
|
453
349
|
* @memberof CompanyWithControls
|
|
454
350
|
*/
|
|
455
351
|
'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
352
|
/**
|
|
469
353
|
*
|
|
470
354
|
* @type {string}
|
|
471
355
|
* @memberof CompanyWithControls
|
|
472
356
|
*/
|
|
473
357
|
'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
|
-
/**
|
|
487
|
-
*
|
|
488
|
-
* @type {string}
|
|
489
|
-
* @memberof CompanyWithControls
|
|
490
|
-
*/
|
|
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;
|
|
510
358
|
/**
|
|
511
359
|
*
|
|
512
360
|
* @type {string}
|
|
@@ -526,8 +374,6 @@ export interface CompanyWithControls {
|
|
|
526
374
|
*/
|
|
527
375
|
'controls': Array<ControlWithEvidences>;
|
|
528
376
|
}
|
|
529
|
-
|
|
530
|
-
|
|
531
377
|
/**
|
|
532
378
|
*
|
|
533
379
|
* @export
|
|
@@ -558,60 +404,12 @@ export interface CompanyWithRoles {
|
|
|
558
404
|
* @memberof CompanyWithRoles
|
|
559
405
|
*/
|
|
560
406
|
'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
407
|
/**
|
|
574
408
|
*
|
|
575
409
|
* @type {string}
|
|
576
410
|
* @memberof CompanyWithRoles
|
|
577
411
|
*/
|
|
578
412
|
'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
|
-
/**
|
|
604
|
-
*
|
|
605
|
-
* @type {string}
|
|
606
|
-
* @memberof CompanyWithRoles
|
|
607
|
-
*/
|
|
608
|
-
'timezone'?: string;
|
|
609
|
-
/**
|
|
610
|
-
*
|
|
611
|
-
* @type {string}
|
|
612
|
-
* @memberof CompanyWithRoles
|
|
613
|
-
*/
|
|
614
|
-
'logo_url'?: string | null;
|
|
615
413
|
/**
|
|
616
414
|
*
|
|
617
415
|
* @type {string}
|
|
@@ -631,8 +429,6 @@ export interface CompanyWithRoles {
|
|
|
631
429
|
*/
|
|
632
430
|
'permissions': Array<RolesWithUser>;
|
|
633
431
|
}
|
|
634
|
-
|
|
635
|
-
|
|
636
432
|
/**
|
|
637
433
|
*
|
|
638
434
|
* @export
|
|
@@ -695,6 +491,43 @@ export const ControlStatus = {
|
|
|
695
491
|
export type ControlStatus = typeof ControlStatus[keyof typeof ControlStatus];
|
|
696
492
|
|
|
697
493
|
|
|
494
|
+
/**
|
|
495
|
+
*
|
|
496
|
+
* @export
|
|
497
|
+
* @interface ControlWithData
|
|
498
|
+
*/
|
|
499
|
+
export interface ControlWithData {
|
|
500
|
+
/**
|
|
501
|
+
*
|
|
502
|
+
* @type {string}
|
|
503
|
+
* @memberof ControlWithData
|
|
504
|
+
*/
|
|
505
|
+
'id': string;
|
|
506
|
+
/**
|
|
507
|
+
*
|
|
508
|
+
* @type {string}
|
|
509
|
+
* @memberof ControlWithData
|
|
510
|
+
*/
|
|
511
|
+
'status'?: string | null;
|
|
512
|
+
/**
|
|
513
|
+
*
|
|
514
|
+
* @type {string}
|
|
515
|
+
* @memberof ControlWithData
|
|
516
|
+
*/
|
|
517
|
+
'note'?: string | null;
|
|
518
|
+
/**
|
|
519
|
+
*
|
|
520
|
+
* @type {string}
|
|
521
|
+
* @memberof ControlWithData
|
|
522
|
+
*/
|
|
523
|
+
'updated_at'?: string | null;
|
|
524
|
+
/**
|
|
525
|
+
*
|
|
526
|
+
* @type {FrameworkControlsBase}
|
|
527
|
+
* @memberof ControlWithData
|
|
528
|
+
*/
|
|
529
|
+
'data': FrameworkControlsBase;
|
|
530
|
+
}
|
|
698
531
|
/**
|
|
699
532
|
*
|
|
700
533
|
* @export
|
|
@@ -776,10 +609,10 @@ export interface ControlWithRelationships {
|
|
|
776
609
|
'data': FrameworkControlsBase;
|
|
777
610
|
/**
|
|
778
611
|
*
|
|
779
|
-
* @type {
|
|
612
|
+
* @type {SrcSharedSchemasCompanyCompanyInDBBase}
|
|
780
613
|
* @memberof ControlWithRelationships
|
|
781
614
|
*/
|
|
782
|
-
'company':
|
|
615
|
+
'company': SrcSharedSchemasCompanyCompanyInDBBase;
|
|
783
616
|
/**
|
|
784
617
|
*
|
|
785
618
|
* @type {Array<EvidenceBase>}
|
|
@@ -827,27 +660,21 @@ export interface CreateTaskSchema {
|
|
|
827
660
|
/**
|
|
828
661
|
*
|
|
829
662
|
* @export
|
|
830
|
-
* @interface
|
|
663
|
+
* @interface CustomerDBBase
|
|
831
664
|
*/
|
|
832
|
-
export interface
|
|
665
|
+
export interface CustomerDBBase {
|
|
833
666
|
/**
|
|
834
667
|
*
|
|
835
668
|
* @type {string}
|
|
836
|
-
* @memberof
|
|
669
|
+
* @memberof CustomerDBBase
|
|
837
670
|
*/
|
|
838
|
-
'
|
|
671
|
+
'billing_name': string;
|
|
839
672
|
/**
|
|
840
673
|
*
|
|
841
674
|
* @type {string}
|
|
842
|
-
* @memberof
|
|
675
|
+
* @memberof CustomerDBBase
|
|
843
676
|
*/
|
|
844
|
-
'
|
|
845
|
-
/**
|
|
846
|
-
*
|
|
847
|
-
* @type {string}
|
|
848
|
-
* @memberof Customer
|
|
849
|
-
*/
|
|
850
|
-
'email': string;
|
|
677
|
+
'billing_email': string;
|
|
851
678
|
}
|
|
852
679
|
/**
|
|
853
680
|
*
|
|
@@ -1050,6 +877,85 @@ export interface EvidenceTextSchema {
|
|
|
1050
877
|
*/
|
|
1051
878
|
'content': string;
|
|
1052
879
|
}
|
|
880
|
+
/**
|
|
881
|
+
*
|
|
882
|
+
* @export
|
|
883
|
+
* @interface EvidenceWithControl
|
|
884
|
+
*/
|
|
885
|
+
export interface EvidenceWithControl {
|
|
886
|
+
/**
|
|
887
|
+
*
|
|
888
|
+
* @type {string}
|
|
889
|
+
* @memberof EvidenceWithControl
|
|
890
|
+
*/
|
|
891
|
+
'id': string;
|
|
892
|
+
/**
|
|
893
|
+
*
|
|
894
|
+
* @type {string}
|
|
895
|
+
* @memberof EvidenceWithControl
|
|
896
|
+
*/
|
|
897
|
+
'control_id': string;
|
|
898
|
+
/**
|
|
899
|
+
*
|
|
900
|
+
* @type {string}
|
|
901
|
+
* @memberof EvidenceWithControl
|
|
902
|
+
*/
|
|
903
|
+
'expires_at'?: string | null;
|
|
904
|
+
/**
|
|
905
|
+
*
|
|
906
|
+
* @type {string}
|
|
907
|
+
* @memberof EvidenceWithControl
|
|
908
|
+
*/
|
|
909
|
+
'status': string;
|
|
910
|
+
/**
|
|
911
|
+
*
|
|
912
|
+
* @type {number}
|
|
913
|
+
* @memberof EvidenceWithControl
|
|
914
|
+
*/
|
|
915
|
+
'version': number;
|
|
916
|
+
/**
|
|
917
|
+
*
|
|
918
|
+
* @type {string}
|
|
919
|
+
* @memberof EvidenceWithControl
|
|
920
|
+
*/
|
|
921
|
+
'evidence_type': string;
|
|
922
|
+
/**
|
|
923
|
+
*
|
|
924
|
+
* @type {EvidenceTextSchema}
|
|
925
|
+
* @memberof EvidenceWithControl
|
|
926
|
+
*/
|
|
927
|
+
'text'?: EvidenceTextSchema | null;
|
|
928
|
+
/**
|
|
929
|
+
*
|
|
930
|
+
* @type {Array<EvidenceFileSchema>}
|
|
931
|
+
* @memberof EvidenceWithControl
|
|
932
|
+
*/
|
|
933
|
+
'files'?: Array<EvidenceFileSchema> | null;
|
|
934
|
+
/**
|
|
935
|
+
*
|
|
936
|
+
* @type {Array<string>}
|
|
937
|
+
* @memberof EvidenceWithControl
|
|
938
|
+
*/
|
|
939
|
+
'tags'?: Array<string> | null;
|
|
940
|
+
/**
|
|
941
|
+
*
|
|
942
|
+
* @type {UserBase}
|
|
943
|
+
* @memberof EvidenceWithControl
|
|
944
|
+
*/
|
|
945
|
+
'uploaded_by'?: UserBase | null;
|
|
946
|
+
/**
|
|
947
|
+
*
|
|
948
|
+
* @type {string}
|
|
949
|
+
* @memberof EvidenceWithControl
|
|
950
|
+
*/
|
|
951
|
+
'submitted_at'?: string | null;
|
|
952
|
+
/**
|
|
953
|
+
*
|
|
954
|
+
* @type {ControlWithData}
|
|
955
|
+
* @memberof EvidenceWithControl
|
|
956
|
+
*/
|
|
957
|
+
'control': ControlWithData;
|
|
958
|
+
}
|
|
1053
959
|
/**
|
|
1054
960
|
*
|
|
1055
961
|
* @export
|
|
@@ -1258,10 +1164,10 @@ export interface PaginationResponseAuditLogSchema {
|
|
|
1258
1164
|
export interface PaginationResponseCompanyInDBBase {
|
|
1259
1165
|
/**
|
|
1260
1166
|
*
|
|
1261
|
-
* @type {Array<
|
|
1167
|
+
* @type {Array<SrcDomainsOrganizationSchemasCompanyCompanyInDBBase>}
|
|
1262
1168
|
* @memberof PaginationResponseCompanyInDBBase
|
|
1263
1169
|
*/
|
|
1264
|
-
'items': Array<
|
|
1170
|
+
'items': Array<SrcDomainsOrganizationSchemasCompanyCompanyInDBBase>;
|
|
1265
1171
|
/**
|
|
1266
1172
|
*
|
|
1267
1173
|
* @type {number}
|
|
@@ -1637,54 +1543,97 @@ export interface ResendOTPSchema {
|
|
|
1637
1543
|
'turnstile_token': string;
|
|
1638
1544
|
}
|
|
1639
1545
|
/**
|
|
1640
|
-
* Schema for password reset
|
|
1546
|
+
* Schema for password reset
|
|
1547
|
+
* @export
|
|
1548
|
+
* @interface ResetPasswordSchema
|
|
1549
|
+
*/
|
|
1550
|
+
export interface ResetPasswordSchema {
|
|
1551
|
+
/**
|
|
1552
|
+
*
|
|
1553
|
+
* @type {string}
|
|
1554
|
+
* @memberof ResetPasswordSchema
|
|
1555
|
+
*/
|
|
1556
|
+
'email': string;
|
|
1557
|
+
/**
|
|
1558
|
+
*
|
|
1559
|
+
* @type {string}
|
|
1560
|
+
* @memberof ResetPasswordSchema
|
|
1561
|
+
*/
|
|
1562
|
+
'otp_code': string;
|
|
1563
|
+
/**
|
|
1564
|
+
*
|
|
1565
|
+
* @type {string}
|
|
1566
|
+
* @memberof ResetPasswordSchema
|
|
1567
|
+
*/
|
|
1568
|
+
'new_password': string;
|
|
1569
|
+
/**
|
|
1570
|
+
*
|
|
1571
|
+
* @type {string}
|
|
1572
|
+
* @memberof ResetPasswordSchema
|
|
1573
|
+
*/
|
|
1574
|
+
'turnstile_token': string;
|
|
1575
|
+
}
|
|
1576
|
+
/**
|
|
1577
|
+
*
|
|
1578
|
+
* @export
|
|
1579
|
+
* @interface ResponseGetCustomerManagementSessionV1PaymentsCustomerManagementGet
|
|
1580
|
+
*/
|
|
1581
|
+
export interface ResponseGetCustomerManagementSessionV1PaymentsCustomerManagementGet {
|
|
1582
|
+
/**
|
|
1583
|
+
*
|
|
1584
|
+
* @type {string}
|
|
1585
|
+
* @memberof ResponseGetCustomerManagementSessionV1PaymentsCustomerManagementGet
|
|
1586
|
+
*/
|
|
1587
|
+
'link': string;
|
|
1588
|
+
/**
|
|
1589
|
+
*
|
|
1590
|
+
* @type {string}
|
|
1591
|
+
* @memberof ResponseGetCustomerManagementSessionV1PaymentsCustomerManagementGet
|
|
1592
|
+
*/
|
|
1593
|
+
'message'?: string;
|
|
1594
|
+
}
|
|
1595
|
+
/**
|
|
1596
|
+
*
|
|
1641
1597
|
* @export
|
|
1642
|
-
* @interface
|
|
1598
|
+
* @interface ResponseGetSubscriptionV1PaymentsSubscriptionGet
|
|
1643
1599
|
*/
|
|
1644
|
-
export interface
|
|
1600
|
+
export interface ResponseGetSubscriptionV1PaymentsSubscriptionGet {
|
|
1645
1601
|
/**
|
|
1646
1602
|
*
|
|
1647
1603
|
* @type {string}
|
|
1648
|
-
* @memberof
|
|
1604
|
+
* @memberof ResponseGetSubscriptionV1PaymentsSubscriptionGet
|
|
1649
1605
|
*/
|
|
1650
|
-
'
|
|
1606
|
+
'subscription_id': string;
|
|
1651
1607
|
/**
|
|
1652
1608
|
*
|
|
1653
1609
|
* @type {string}
|
|
1654
|
-
* @memberof
|
|
1610
|
+
* @memberof ResponseGetSubscriptionV1PaymentsSubscriptionGet
|
|
1655
1611
|
*/
|
|
1656
|
-
'
|
|
1612
|
+
'status': string;
|
|
1657
1613
|
/**
|
|
1658
1614
|
*
|
|
1659
1615
|
* @type {string}
|
|
1660
|
-
* @memberof
|
|
1616
|
+
* @memberof ResponseGetSubscriptionV1PaymentsSubscriptionGet
|
|
1661
1617
|
*/
|
|
1662
|
-
'
|
|
1618
|
+
'product_id': string;
|
|
1663
1619
|
/**
|
|
1664
1620
|
*
|
|
1665
|
-
* @type {
|
|
1666
|
-
* @memberof
|
|
1621
|
+
* @type {CustomerDBBase}
|
|
1622
|
+
* @memberof ResponseGetSubscriptionV1PaymentsSubscriptionGet
|
|
1667
1623
|
*/
|
|
1668
|
-
'
|
|
1669
|
-
}
|
|
1670
|
-
/**
|
|
1671
|
-
*
|
|
1672
|
-
* @export
|
|
1673
|
-
* @interface ResponseGetCustomerManagementSessionV1PaymentsCustomerManagementGet
|
|
1674
|
-
*/
|
|
1675
|
-
export interface ResponseGetCustomerManagementSessionV1PaymentsCustomerManagementGet {
|
|
1624
|
+
'customer': CustomerDBBase;
|
|
1676
1625
|
/**
|
|
1677
1626
|
*
|
|
1678
1627
|
* @type {string}
|
|
1679
|
-
* @memberof
|
|
1628
|
+
* @memberof ResponseGetSubscriptionV1PaymentsSubscriptionGet
|
|
1680
1629
|
*/
|
|
1681
|
-
'
|
|
1630
|
+
'subscribed_till': string;
|
|
1682
1631
|
/**
|
|
1683
1632
|
*
|
|
1684
1633
|
* @type {string}
|
|
1685
|
-
* @memberof
|
|
1634
|
+
* @memberof ResponseGetSubscriptionV1PaymentsSubscriptionGet
|
|
1686
1635
|
*/
|
|
1687
|
-
'
|
|
1636
|
+
'details': string;
|
|
1688
1637
|
}
|
|
1689
1638
|
/**
|
|
1690
1639
|
*
|
|
@@ -1736,6 +1685,110 @@ export interface SchedulerRequest {
|
|
|
1736
1685
|
*/
|
|
1737
1686
|
'user_ids_to_assign'?: Array<string>;
|
|
1738
1687
|
}
|
|
1688
|
+
/**
|
|
1689
|
+
*
|
|
1690
|
+
* @export
|
|
1691
|
+
* @interface SrcDomainsOrganizationSchemasCompanyCompanyInDBBase
|
|
1692
|
+
*/
|
|
1693
|
+
export interface SrcDomainsOrganizationSchemasCompanyCompanyInDBBase {
|
|
1694
|
+
/**
|
|
1695
|
+
*
|
|
1696
|
+
* @type {string}
|
|
1697
|
+
* @memberof SrcDomainsOrganizationSchemasCompanyCompanyInDBBase
|
|
1698
|
+
*/
|
|
1699
|
+
'name': string;
|
|
1700
|
+
/**
|
|
1701
|
+
*
|
|
1702
|
+
* @type {string}
|
|
1703
|
+
* @memberof SrcDomainsOrganizationSchemasCompanyCompanyInDBBase
|
|
1704
|
+
*/
|
|
1705
|
+
'industry': string;
|
|
1706
|
+
/**
|
|
1707
|
+
*
|
|
1708
|
+
* @type {number}
|
|
1709
|
+
* @memberof SrcDomainsOrganizationSchemasCompanyCompanyInDBBase
|
|
1710
|
+
*/
|
|
1711
|
+
'employee_count': number;
|
|
1712
|
+
/**
|
|
1713
|
+
*
|
|
1714
|
+
* @type {string}
|
|
1715
|
+
* @memberof SrcDomainsOrganizationSchemasCompanyCompanyInDBBase
|
|
1716
|
+
*/
|
|
1717
|
+
'domain': string;
|
|
1718
|
+
/**
|
|
1719
|
+
*
|
|
1720
|
+
* @type {string}
|
|
1721
|
+
* @memberof SrcDomainsOrganizationSchemasCompanyCompanyInDBBase
|
|
1722
|
+
*/
|
|
1723
|
+
'status'?: string | null;
|
|
1724
|
+
/**
|
|
1725
|
+
*
|
|
1726
|
+
* @type {string}
|
|
1727
|
+
* @memberof SrcDomainsOrganizationSchemasCompanyCompanyInDBBase
|
|
1728
|
+
*/
|
|
1729
|
+
'id': string;
|
|
1730
|
+
/**
|
|
1731
|
+
*
|
|
1732
|
+
* @type {string}
|
|
1733
|
+
* @memberof SrcDomainsOrganizationSchemasCompanyCompanyInDBBase
|
|
1734
|
+
*/
|
|
1735
|
+
'updated_at': string;
|
|
1736
|
+
}
|
|
1737
|
+
/**
|
|
1738
|
+
*
|
|
1739
|
+
* @export
|
|
1740
|
+
* @interface SrcSharedSchemasCompanyCompanyInDBBase
|
|
1741
|
+
*/
|
|
1742
|
+
export interface SrcSharedSchemasCompanyCompanyInDBBase {
|
|
1743
|
+
/**
|
|
1744
|
+
*
|
|
1745
|
+
* @type {string}
|
|
1746
|
+
* @memberof SrcSharedSchemasCompanyCompanyInDBBase
|
|
1747
|
+
*/
|
|
1748
|
+
'name': string;
|
|
1749
|
+
/**
|
|
1750
|
+
*
|
|
1751
|
+
* @type {string}
|
|
1752
|
+
* @memberof SrcSharedSchemasCompanyCompanyInDBBase
|
|
1753
|
+
*/
|
|
1754
|
+
'industry': string;
|
|
1755
|
+
/**
|
|
1756
|
+
*
|
|
1757
|
+
* @type {number}
|
|
1758
|
+
* @memberof SrcSharedSchemasCompanyCompanyInDBBase
|
|
1759
|
+
*/
|
|
1760
|
+
'employee_count': number;
|
|
1761
|
+
/**
|
|
1762
|
+
*
|
|
1763
|
+
* @type {string}
|
|
1764
|
+
* @memberof SrcSharedSchemasCompanyCompanyInDBBase
|
|
1765
|
+
*/
|
|
1766
|
+
'domain': string;
|
|
1767
|
+
/**
|
|
1768
|
+
*
|
|
1769
|
+
* @type {string}
|
|
1770
|
+
* @memberof SrcSharedSchemasCompanyCompanyInDBBase
|
|
1771
|
+
*/
|
|
1772
|
+
'status'?: string | null;
|
|
1773
|
+
/**
|
|
1774
|
+
*
|
|
1775
|
+
* @type {string}
|
|
1776
|
+
* @memberof SrcSharedSchemasCompanyCompanyInDBBase
|
|
1777
|
+
*/
|
|
1778
|
+
'id': string;
|
|
1779
|
+
/**
|
|
1780
|
+
*
|
|
1781
|
+
* @type {string}
|
|
1782
|
+
* @memberof SrcSharedSchemasCompanyCompanyInDBBase
|
|
1783
|
+
*/
|
|
1784
|
+
'updated_at': string;
|
|
1785
|
+
/**
|
|
1786
|
+
*
|
|
1787
|
+
* @type {CompanyComplianceInDB}
|
|
1788
|
+
* @memberof SrcSharedSchemasCompanyCompanyInDBBase
|
|
1789
|
+
*/
|
|
1790
|
+
'compliance'?: CompanyComplianceInDB | null;
|
|
1791
|
+
}
|
|
1739
1792
|
/**
|
|
1740
1793
|
*
|
|
1741
1794
|
* @export
|
|
@@ -1762,10 +1815,10 @@ export interface SubscriptionResponse {
|
|
|
1762
1815
|
'product_id': string;
|
|
1763
1816
|
/**
|
|
1764
1817
|
*
|
|
1765
|
-
* @type {
|
|
1818
|
+
* @type {CustomerDBBase}
|
|
1766
1819
|
* @memberof SubscriptionResponse
|
|
1767
1820
|
*/
|
|
1768
|
-
'customer':
|
|
1821
|
+
'customer': CustomerDBBase;
|
|
1769
1822
|
/**
|
|
1770
1823
|
*
|
|
1771
1824
|
* @type {string}
|
|
@@ -1851,6 +1904,12 @@ export interface TaskRead {
|
|
|
1851
1904
|
* @memberof TaskRead
|
|
1852
1905
|
*/
|
|
1853
1906
|
'status': TaskStatus;
|
|
1907
|
+
/**
|
|
1908
|
+
*
|
|
1909
|
+
* @type {string}
|
|
1910
|
+
* @memberof TaskRead
|
|
1911
|
+
*/
|
|
1912
|
+
'control_id': string | null;
|
|
1854
1913
|
}
|
|
1855
1914
|
|
|
1856
1915
|
|
|
@@ -1932,6 +1991,12 @@ export interface TaskWithUser {
|
|
|
1932
1991
|
* @memberof TaskWithUser
|
|
1933
1992
|
*/
|
|
1934
1993
|
'status': TaskStatus;
|
|
1994
|
+
/**
|
|
1995
|
+
*
|
|
1996
|
+
* @type {string}
|
|
1997
|
+
* @memberof TaskWithUser
|
|
1998
|
+
*/
|
|
1999
|
+
'control_id': string | null;
|
|
1935
2000
|
/**
|
|
1936
2001
|
*
|
|
1937
2002
|
* @type {UserWithId}
|
|
@@ -2127,10 +2192,10 @@ export interface UserPermissionsWithCompany {
|
|
|
2127
2192
|
'role': string | null;
|
|
2128
2193
|
/**
|
|
2129
2194
|
*
|
|
2130
|
-
* @type {
|
|
2195
|
+
* @type {SrcSharedSchemasCompanyCompanyInDBBase}
|
|
2131
2196
|
* @memberof UserPermissionsWithCompany
|
|
2132
2197
|
*/
|
|
2133
|
-
'company':
|
|
2198
|
+
'company': SrcSharedSchemasCompanyCompanyInDBBase | null;
|
|
2134
2199
|
}
|
|
2135
2200
|
/**
|
|
2136
2201
|
*
|
|
@@ -3489,7 +3554,7 @@ export const CompanyApiFp = function(configuration?: Configuration) {
|
|
|
3489
3554
|
* @param {*} [options] Override http request option.
|
|
3490
3555
|
* @throws {RequiredError}
|
|
3491
3556
|
*/
|
|
3492
|
-
async createCompanyV1CompanyCreatePost(companyCreate: CompanyCreate, authorization?: string, sessionId?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<
|
|
3557
|
+
async createCompanyV1CompanyCreatePost(companyCreate: CompanyCreate, authorization?: string, sessionId?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<SrcDomainsOrganizationSchemasCompanyCompanyInDBBase>> {
|
|
3493
3558
|
const localVarAxiosArgs = await localVarAxiosParamCreator.createCompanyV1CompanyCreatePost(companyCreate, authorization, sessionId, options);
|
|
3494
3559
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
3495
3560
|
const localVarOperationServerBasePath = operationServerMap['CompanyApi.createCompanyV1CompanyCreatePost']?.[localVarOperationServerIndex]?.url;
|
|
@@ -3550,7 +3615,7 @@ export const CompanyApiFp = function(configuration?: Configuration) {
|
|
|
3550
3615
|
* @param {*} [options] Override http request option.
|
|
3551
3616
|
* @throws {RequiredError}
|
|
3552
3617
|
*/
|
|
3553
|
-
async updateCompanyV1CompanyUpdatePatch(companyUpdate: CompanyUpdate, authorization?: string, sessionId?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<
|
|
3618
|
+
async updateCompanyV1CompanyUpdatePatch(companyUpdate: CompanyUpdate, authorization?: string, sessionId?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<SrcDomainsOrganizationSchemasCompanyCompanyInDBBase>> {
|
|
3554
3619
|
const localVarAxiosArgs = await localVarAxiosParamCreator.updateCompanyV1CompanyUpdatePatch(companyUpdate, authorization, sessionId, options);
|
|
3555
3620
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
3556
3621
|
const localVarOperationServerBasePath = operationServerMap['CompanyApi.updateCompanyV1CompanyUpdatePatch']?.[localVarOperationServerIndex]?.url;
|
|
@@ -3575,7 +3640,7 @@ export const CompanyApiFactory = function (configuration?: Configuration, basePa
|
|
|
3575
3640
|
* @param {*} [options] Override http request option.
|
|
3576
3641
|
* @throws {RequiredError}
|
|
3577
3642
|
*/
|
|
3578
|
-
createCompanyV1CompanyCreatePost(companyCreate: CompanyCreate, authorization?: string, sessionId?: string, options?: RawAxiosRequestConfig): AxiosPromise<
|
|
3643
|
+
createCompanyV1CompanyCreatePost(companyCreate: CompanyCreate, authorization?: string, sessionId?: string, options?: RawAxiosRequestConfig): AxiosPromise<SrcDomainsOrganizationSchemasCompanyCompanyInDBBase> {
|
|
3579
3644
|
return localVarFp.createCompanyV1CompanyCreatePost(companyCreate, authorization, sessionId, options).then((request) => request(axios, basePath));
|
|
3580
3645
|
},
|
|
3581
3646
|
/**
|
|
@@ -3624,7 +3689,7 @@ export const CompanyApiFactory = function (configuration?: Configuration, basePa
|
|
|
3624
3689
|
* @param {*} [options] Override http request option.
|
|
3625
3690
|
* @throws {RequiredError}
|
|
3626
3691
|
*/
|
|
3627
|
-
updateCompanyV1CompanyUpdatePatch(companyUpdate: CompanyUpdate, authorization?: string, sessionId?: string, options?: RawAxiosRequestConfig): AxiosPromise<
|
|
3692
|
+
updateCompanyV1CompanyUpdatePatch(companyUpdate: CompanyUpdate, authorization?: string, sessionId?: string, options?: RawAxiosRequestConfig): AxiosPromise<SrcDomainsOrganizationSchemasCompanyCompanyInDBBase> {
|
|
3628
3693
|
return localVarFp.updateCompanyV1CompanyUpdatePatch(companyUpdate, authorization, sessionId, options).then((request) => request(axios, basePath));
|
|
3629
3694
|
},
|
|
3630
3695
|
};
|
|
@@ -3987,6 +4052,48 @@ export const EvidenceApiAxiosParamCreator = function (configuration?: Configurat
|
|
|
3987
4052
|
|
|
3988
4053
|
|
|
3989
4054
|
|
|
4055
|
+
if (authorization != null) {
|
|
4056
|
+
localVarHeaderParameter['Authorization'] = String(authorization);
|
|
4057
|
+
}
|
|
4058
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
4059
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
4060
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
4061
|
+
|
|
4062
|
+
return {
|
|
4063
|
+
url: toPathString(localVarUrlObj),
|
|
4064
|
+
options: localVarRequestOptions,
|
|
4065
|
+
};
|
|
4066
|
+
},
|
|
4067
|
+
/**
|
|
4068
|
+
*
|
|
4069
|
+
* @summary Get Evidence
|
|
4070
|
+
* @param {string} evidenceId
|
|
4071
|
+
* @param {string} [authorization]
|
|
4072
|
+
* @param {string} [sessionId]
|
|
4073
|
+
* @param {*} [options] Override http request option.
|
|
4074
|
+
* @throws {RequiredError}
|
|
4075
|
+
*/
|
|
4076
|
+
getEvidenceV1EvidenceGetGet: async (evidenceId: string, authorization?: string, sessionId?: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
4077
|
+
// verify required parameter 'evidenceId' is not null or undefined
|
|
4078
|
+
assertParamExists('getEvidenceV1EvidenceGetGet', 'evidenceId', evidenceId)
|
|
4079
|
+
const localVarPath = `/v1/evidence/get`;
|
|
4080
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
4081
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
4082
|
+
let baseOptions;
|
|
4083
|
+
if (configuration) {
|
|
4084
|
+
baseOptions = configuration.baseOptions;
|
|
4085
|
+
}
|
|
4086
|
+
|
|
4087
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
4088
|
+
const localVarHeaderParameter = {} as any;
|
|
4089
|
+
const localVarQueryParameter = {} as any;
|
|
4090
|
+
|
|
4091
|
+
if (evidenceId !== undefined) {
|
|
4092
|
+
localVarQueryParameter['evidence_id'] = evidenceId;
|
|
4093
|
+
}
|
|
4094
|
+
|
|
4095
|
+
|
|
4096
|
+
|
|
3990
4097
|
if (authorization != null) {
|
|
3991
4098
|
localVarHeaderParameter['Authorization'] = String(authorization);
|
|
3992
4099
|
}
|
|
@@ -4200,6 +4307,21 @@ export const EvidenceApiFp = function(configuration?: Configuration) {
|
|
|
4200
4307
|
const localVarOperationServerBasePath = operationServerMap['EvidenceApi.getEvidenceFilesV1EvidenceFileEvidenceFileIdGet']?.[localVarOperationServerIndex]?.url;
|
|
4201
4308
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
4202
4309
|
},
|
|
4310
|
+
/**
|
|
4311
|
+
*
|
|
4312
|
+
* @summary Get Evidence
|
|
4313
|
+
* @param {string} evidenceId
|
|
4314
|
+
* @param {string} [authorization]
|
|
4315
|
+
* @param {string} [sessionId]
|
|
4316
|
+
* @param {*} [options] Override http request option.
|
|
4317
|
+
* @throws {RequiredError}
|
|
4318
|
+
*/
|
|
4319
|
+
async getEvidenceV1EvidenceGetGet(evidenceId: string, authorization?: string, sessionId?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<EvidenceWithControl>> {
|
|
4320
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getEvidenceV1EvidenceGetGet(evidenceId, authorization, sessionId, options);
|
|
4321
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
4322
|
+
const localVarOperationServerBasePath = operationServerMap['EvidenceApi.getEvidenceV1EvidenceGetGet']?.[localVarOperationServerIndex]?.url;
|
|
4323
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
4324
|
+
},
|
|
4203
4325
|
/**
|
|
4204
4326
|
*
|
|
4205
4327
|
* @summary List Company Evidence
|
|
@@ -4283,6 +4405,18 @@ export const EvidenceApiFactory = function (configuration?: Configuration, baseP
|
|
|
4283
4405
|
getEvidenceFilesV1EvidenceFileEvidenceFileIdGet(evidenceFileId: number, authorization?: string, sessionId?: string, options?: RawAxiosRequestConfig): AxiosPromise<FileDownload> {
|
|
4284
4406
|
return localVarFp.getEvidenceFilesV1EvidenceFileEvidenceFileIdGet(evidenceFileId, authorization, sessionId, options).then((request) => request(axios, basePath));
|
|
4285
4407
|
},
|
|
4408
|
+
/**
|
|
4409
|
+
*
|
|
4410
|
+
* @summary Get Evidence
|
|
4411
|
+
* @param {string} evidenceId
|
|
4412
|
+
* @param {string} [authorization]
|
|
4413
|
+
* @param {string} [sessionId]
|
|
4414
|
+
* @param {*} [options] Override http request option.
|
|
4415
|
+
* @throws {RequiredError}
|
|
4416
|
+
*/
|
|
4417
|
+
getEvidenceV1EvidenceGetGet(evidenceId: string, authorization?: string, sessionId?: string, options?: RawAxiosRequestConfig): AxiosPromise<EvidenceWithControl> {
|
|
4418
|
+
return localVarFp.getEvidenceV1EvidenceGetGet(evidenceId, authorization, sessionId, options).then((request) => request(axios, basePath));
|
|
4419
|
+
},
|
|
4286
4420
|
/**
|
|
4287
4421
|
*
|
|
4288
4422
|
* @summary List Company Evidence
|
|
@@ -4361,6 +4495,20 @@ export class EvidenceApi extends BaseAPI {
|
|
|
4361
4495
|
return EvidenceApiFp(this.configuration).getEvidenceFilesV1EvidenceFileEvidenceFileIdGet(evidenceFileId, authorization, sessionId, options).then((request) => request(this.axios, this.basePath));
|
|
4362
4496
|
}
|
|
4363
4497
|
|
|
4498
|
+
/**
|
|
4499
|
+
*
|
|
4500
|
+
* @summary Get Evidence
|
|
4501
|
+
* @param {string} evidenceId
|
|
4502
|
+
* @param {string} [authorization]
|
|
4503
|
+
* @param {string} [sessionId]
|
|
4504
|
+
* @param {*} [options] Override http request option.
|
|
4505
|
+
* @throws {RequiredError}
|
|
4506
|
+
* @memberof EvidenceApi
|
|
4507
|
+
*/
|
|
4508
|
+
public getEvidenceV1EvidenceGetGet(evidenceId: string, authorization?: string, sessionId?: string, options?: RawAxiosRequestConfig) {
|
|
4509
|
+
return EvidenceApiFp(this.configuration).getEvidenceV1EvidenceGetGet(evidenceId, authorization, sessionId, options).then((request) => request(this.axios, this.basePath));
|
|
4510
|
+
}
|
|
4511
|
+
|
|
4364
4512
|
/**
|
|
4365
4513
|
*
|
|
4366
4514
|
* @summary List Company Evidence
|
|
@@ -4970,7 +5118,7 @@ export const PaymentsApiFp = function(configuration?: Configuration) {
|
|
|
4970
5118
|
* @param {*} [options] Override http request option.
|
|
4971
5119
|
* @throws {RequiredError}
|
|
4972
5120
|
*/
|
|
4973
|
-
async getSubscriptionV1PaymentsSubscriptionGet(companyId: string, authorization?: string, sessionId?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<
|
|
5121
|
+
async getSubscriptionV1PaymentsSubscriptionGet(companyId: string, authorization?: string, sessionId?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ResponseGetSubscriptionV1PaymentsSubscriptionGet>> {
|
|
4974
5122
|
const localVarAxiosArgs = await localVarAxiosParamCreator.getSubscriptionV1PaymentsSubscriptionGet(companyId, authorization, sessionId, options);
|
|
4975
5123
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
4976
5124
|
const localVarOperationServerBasePath = operationServerMap['PaymentsApi.getSubscriptionV1PaymentsSubscriptionGet']?.[localVarOperationServerIndex]?.url;
|
|
@@ -5031,7 +5179,7 @@ export const PaymentsApiFactory = function (configuration?: Configuration, baseP
|
|
|
5031
5179
|
* @param {*} [options] Override http request option.
|
|
5032
5180
|
* @throws {RequiredError}
|
|
5033
5181
|
*/
|
|
5034
|
-
getSubscriptionV1PaymentsSubscriptionGet(companyId: string, authorization?: string, sessionId?: string, options?: RawAxiosRequestConfig): AxiosPromise<
|
|
5182
|
+
getSubscriptionV1PaymentsSubscriptionGet(companyId: string, authorization?: string, sessionId?: string, options?: RawAxiosRequestConfig): AxiosPromise<ResponseGetSubscriptionV1PaymentsSubscriptionGet> {
|
|
5035
5183
|
return localVarFp.getSubscriptionV1PaymentsSubscriptionGet(companyId, authorization, sessionId, options).then((request) => request(axios, basePath));
|
|
5036
5184
|
},
|
|
5037
5185
|
/**
|
|
@@ -6419,6 +6567,45 @@ export const TasksApiAxiosParamCreator = function (configuration?: Configuration
|
|
|
6419
6567
|
options: localVarRequestOptions,
|
|
6420
6568
|
};
|
|
6421
6569
|
},
|
|
6570
|
+
/**
|
|
6571
|
+
*
|
|
6572
|
+
* @summary Get Task
|
|
6573
|
+
* @param {string} taskId
|
|
6574
|
+
* @param {string} [authorization]
|
|
6575
|
+
* @param {string} [sessionId]
|
|
6576
|
+
* @param {*} [options] Override http request option.
|
|
6577
|
+
* @throws {RequiredError}
|
|
6578
|
+
*/
|
|
6579
|
+
getTaskV1TasksGetTaskIdGet: async (taskId: string, authorization?: string, sessionId?: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
6580
|
+
// verify required parameter 'taskId' is not null or undefined
|
|
6581
|
+
assertParamExists('getTaskV1TasksGetTaskIdGet', 'taskId', taskId)
|
|
6582
|
+
const localVarPath = `/v1/tasks/get/{task_id}`
|
|
6583
|
+
.replace(`{${"task_id"}}`, encodeURIComponent(String(taskId)));
|
|
6584
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
6585
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
6586
|
+
let baseOptions;
|
|
6587
|
+
if (configuration) {
|
|
6588
|
+
baseOptions = configuration.baseOptions;
|
|
6589
|
+
}
|
|
6590
|
+
|
|
6591
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
6592
|
+
const localVarHeaderParameter = {} as any;
|
|
6593
|
+
const localVarQueryParameter = {} as any;
|
|
6594
|
+
|
|
6595
|
+
|
|
6596
|
+
|
|
6597
|
+
if (authorization != null) {
|
|
6598
|
+
localVarHeaderParameter['Authorization'] = String(authorization);
|
|
6599
|
+
}
|
|
6600
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
6601
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
6602
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
6603
|
+
|
|
6604
|
+
return {
|
|
6605
|
+
url: toPathString(localVarUrlObj),
|
|
6606
|
+
options: localVarRequestOptions,
|
|
6607
|
+
};
|
|
6608
|
+
},
|
|
6422
6609
|
/**
|
|
6423
6610
|
*
|
|
6424
6611
|
* @summary List Tasks For Company
|
|
@@ -6754,6 +6941,21 @@ export const TasksApiFp = function(configuration?: Configuration) {
|
|
|
6754
6941
|
const localVarOperationServerBasePath = operationServerMap['TasksApi.deleteTaskV1TasksDelete']?.[localVarOperationServerIndex]?.url;
|
|
6755
6942
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
6756
6943
|
},
|
|
6944
|
+
/**
|
|
6945
|
+
*
|
|
6946
|
+
* @summary Get Task
|
|
6947
|
+
* @param {string} taskId
|
|
6948
|
+
* @param {string} [authorization]
|
|
6949
|
+
* @param {string} [sessionId]
|
|
6950
|
+
* @param {*} [options] Override http request option.
|
|
6951
|
+
* @throws {RequiredError}
|
|
6952
|
+
*/
|
|
6953
|
+
async getTaskV1TasksGetTaskIdGet(taskId: string, authorization?: string, sessionId?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<TaskWithUser>> {
|
|
6954
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getTaskV1TasksGetTaskIdGet(taskId, authorization, sessionId, options);
|
|
6955
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
6956
|
+
const localVarOperationServerBasePath = operationServerMap['TasksApi.getTaskV1TasksGetTaskIdGet']?.[localVarOperationServerIndex]?.url;
|
|
6957
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
6958
|
+
},
|
|
6757
6959
|
/**
|
|
6758
6960
|
*
|
|
6759
6961
|
* @summary List Tasks For Company
|
|
@@ -6879,6 +7081,18 @@ export const TasksApiFactory = function (configuration?: Configuration, basePath
|
|
|
6879
7081
|
deleteTaskV1TasksDelete(deleteTaskSchema: DeleteTaskSchema, authorization?: string, sessionId?: string, options?: RawAxiosRequestConfig): AxiosPromise<Details> {
|
|
6880
7082
|
return localVarFp.deleteTaskV1TasksDelete(deleteTaskSchema, authorization, sessionId, options).then((request) => request(axios, basePath));
|
|
6881
7083
|
},
|
|
7084
|
+
/**
|
|
7085
|
+
*
|
|
7086
|
+
* @summary Get Task
|
|
7087
|
+
* @param {string} taskId
|
|
7088
|
+
* @param {string} [authorization]
|
|
7089
|
+
* @param {string} [sessionId]
|
|
7090
|
+
* @param {*} [options] Override http request option.
|
|
7091
|
+
* @throws {RequiredError}
|
|
7092
|
+
*/
|
|
7093
|
+
getTaskV1TasksGetTaskIdGet(taskId: string, authorization?: string, sessionId?: string, options?: RawAxiosRequestConfig): AxiosPromise<TaskWithUser> {
|
|
7094
|
+
return localVarFp.getTaskV1TasksGetTaskIdGet(taskId, authorization, sessionId, options).then((request) => request(axios, basePath));
|
|
7095
|
+
},
|
|
6882
7096
|
/**
|
|
6883
7097
|
*
|
|
6884
7098
|
* @summary List Tasks For Company
|
|
@@ -6993,6 +7207,20 @@ export class TasksApi extends BaseAPI {
|
|
|
6993
7207
|
return TasksApiFp(this.configuration).deleteTaskV1TasksDelete(deleteTaskSchema, authorization, sessionId, options).then((request) => request(this.axios, this.basePath));
|
|
6994
7208
|
}
|
|
6995
7209
|
|
|
7210
|
+
/**
|
|
7211
|
+
*
|
|
7212
|
+
* @summary Get Task
|
|
7213
|
+
* @param {string} taskId
|
|
7214
|
+
* @param {string} [authorization]
|
|
7215
|
+
* @param {string} [sessionId]
|
|
7216
|
+
* @param {*} [options] Override http request option.
|
|
7217
|
+
* @throws {RequiredError}
|
|
7218
|
+
* @memberof TasksApi
|
|
7219
|
+
*/
|
|
7220
|
+
public getTaskV1TasksGetTaskIdGet(taskId: string, authorization?: string, sessionId?: string, options?: RawAxiosRequestConfig) {
|
|
7221
|
+
return TasksApiFp(this.configuration).getTaskV1TasksGetTaskIdGet(taskId, authorization, sessionId, options).then((request) => request(this.axios, this.basePath));
|
|
7222
|
+
}
|
|
7223
|
+
|
|
6996
7224
|
/**
|
|
6997
7225
|
*
|
|
6998
7226
|
* @summary List Tasks For Company
|