@rasadov/lumoar-sdk 1.2.0 → 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.
- package/.openapi-generator/FILES +1 -2
- package/api.ts +77 -114
- package/dist/api.d.ts +79 -116
- package/docs/CompanyApi.md +4 -4
- package/docs/CompanyInDBBase.md +2 -16
- package/docs/CompanyWithControls.md +2 -0
- package/docs/CompanyWithRoles.md +2 -0
- package/docs/ControlWithRelationships.md +1 -1
- package/docs/PaginationResponseCompanyInDBBase.md +1 -1
- package/docs/UserPermissionsWithCompany.md +1 -1
- package/package.json +1 -1
package/.openapi-generator/FILES
CHANGED
|
@@ -14,6 +14,7 @@ docs/CheckoutSessionResponse.md
|
|
|
14
14
|
docs/CompanyApi.md
|
|
15
15
|
docs/CompanyComplianceInDB.md
|
|
16
16
|
docs/CompanyCreate.md
|
|
17
|
+
docs/CompanyInDBBase.md
|
|
17
18
|
docs/CompanyUpdate.md
|
|
18
19
|
docs/CompanyWithControls.md
|
|
19
20
|
docs/CompanyWithRoles.md
|
|
@@ -69,8 +70,6 @@ docs/ResponseGetSubscriptionV1PaymentsSubscriptionGet.md
|
|
|
69
70
|
docs/RolesApi.md
|
|
70
71
|
docs/RolesWithUser.md
|
|
71
72
|
docs/SchedulerRequest.md
|
|
72
|
-
docs/SrcDomainsOrganizationSchemasCompanyCompanyInDBBase.md
|
|
73
|
-
docs/SrcSharedSchemasCompanyCompanyInDBBase.md
|
|
74
73
|
docs/SubscriptionResponse.md
|
|
75
74
|
docs/TaskPriority.md
|
|
76
75
|
docs/TaskRead.md
|
package/api.ts
CHANGED
|
@@ -282,6 +282,61 @@ export interface CompanyCreate {
|
|
|
282
282
|
}
|
|
283
283
|
|
|
284
284
|
|
|
285
|
+
/**
|
|
286
|
+
*
|
|
287
|
+
* @export
|
|
288
|
+
* @interface CompanyInDBBase
|
|
289
|
+
*/
|
|
290
|
+
export interface CompanyInDBBase {
|
|
291
|
+
/**
|
|
292
|
+
*
|
|
293
|
+
* @type {string}
|
|
294
|
+
* @memberof CompanyInDBBase
|
|
295
|
+
*/
|
|
296
|
+
'name': string;
|
|
297
|
+
/**
|
|
298
|
+
*
|
|
299
|
+
* @type {string}
|
|
300
|
+
* @memberof CompanyInDBBase
|
|
301
|
+
*/
|
|
302
|
+
'industry': string;
|
|
303
|
+
/**
|
|
304
|
+
*
|
|
305
|
+
* @type {number}
|
|
306
|
+
* @memberof CompanyInDBBase
|
|
307
|
+
*/
|
|
308
|
+
'employee_count': number;
|
|
309
|
+
/**
|
|
310
|
+
*
|
|
311
|
+
* @type {string}
|
|
312
|
+
* @memberof CompanyInDBBase
|
|
313
|
+
*/
|
|
314
|
+
'domain': string;
|
|
315
|
+
/**
|
|
316
|
+
*
|
|
317
|
+
* @type {string}
|
|
318
|
+
* @memberof CompanyInDBBase
|
|
319
|
+
*/
|
|
320
|
+
'status'?: string | null;
|
|
321
|
+
/**
|
|
322
|
+
*
|
|
323
|
+
* @type {string}
|
|
324
|
+
* @memberof CompanyInDBBase
|
|
325
|
+
*/
|
|
326
|
+
'id': string;
|
|
327
|
+
/**
|
|
328
|
+
*
|
|
329
|
+
* @type {string}
|
|
330
|
+
* @memberof CompanyInDBBase
|
|
331
|
+
*/
|
|
332
|
+
'updated_at': string;
|
|
333
|
+
/**
|
|
334
|
+
*
|
|
335
|
+
* @type {CompanyComplianceInDB}
|
|
336
|
+
* @memberof CompanyInDBBase
|
|
337
|
+
*/
|
|
338
|
+
'compliance'?: CompanyComplianceInDB | null;
|
|
339
|
+
}
|
|
285
340
|
/**
|
|
286
341
|
*
|
|
287
342
|
* @export
|
|
@@ -367,6 +422,12 @@ export interface CompanyWithControls {
|
|
|
367
422
|
* @memberof CompanyWithControls
|
|
368
423
|
*/
|
|
369
424
|
'updated_at': string;
|
|
425
|
+
/**
|
|
426
|
+
*
|
|
427
|
+
* @type {CompanyComplianceInDB}
|
|
428
|
+
* @memberof CompanyWithControls
|
|
429
|
+
*/
|
|
430
|
+
'compliance'?: CompanyComplianceInDB | null;
|
|
370
431
|
/**
|
|
371
432
|
*
|
|
372
433
|
* @type {Array<ControlWithEvidences>}
|
|
@@ -422,6 +483,12 @@ export interface CompanyWithRoles {
|
|
|
422
483
|
* @memberof CompanyWithRoles
|
|
423
484
|
*/
|
|
424
485
|
'updated_at': string;
|
|
486
|
+
/**
|
|
487
|
+
*
|
|
488
|
+
* @type {CompanyComplianceInDB}
|
|
489
|
+
* @memberof CompanyWithRoles
|
|
490
|
+
*/
|
|
491
|
+
'compliance'?: CompanyComplianceInDB | null;
|
|
425
492
|
/**
|
|
426
493
|
*
|
|
427
494
|
* @type {Array<RolesWithUser>}
|
|
@@ -609,10 +676,10 @@ export interface ControlWithRelationships {
|
|
|
609
676
|
'data': FrameworkControlsBase;
|
|
610
677
|
/**
|
|
611
678
|
*
|
|
612
|
-
* @type {
|
|
679
|
+
* @type {CompanyInDBBase}
|
|
613
680
|
* @memberof ControlWithRelationships
|
|
614
681
|
*/
|
|
615
|
-
'company':
|
|
682
|
+
'company': CompanyInDBBase;
|
|
616
683
|
/**
|
|
617
684
|
*
|
|
618
685
|
* @type {Array<EvidenceBase>}
|
|
@@ -1164,10 +1231,10 @@ export interface PaginationResponseAuditLogSchema {
|
|
|
1164
1231
|
export interface PaginationResponseCompanyInDBBase {
|
|
1165
1232
|
/**
|
|
1166
1233
|
*
|
|
1167
|
-
* @type {Array<
|
|
1234
|
+
* @type {Array<CompanyInDBBase>}
|
|
1168
1235
|
* @memberof PaginationResponseCompanyInDBBase
|
|
1169
1236
|
*/
|
|
1170
|
-
'items': Array<
|
|
1237
|
+
'items': Array<CompanyInDBBase>;
|
|
1171
1238
|
/**
|
|
1172
1239
|
*
|
|
1173
1240
|
* @type {number}
|
|
@@ -1685,110 +1752,6 @@ export interface SchedulerRequest {
|
|
|
1685
1752
|
*/
|
|
1686
1753
|
'user_ids_to_assign'?: Array<string>;
|
|
1687
1754
|
}
|
|
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
|
-
}
|
|
1792
1755
|
/**
|
|
1793
1756
|
*
|
|
1794
1757
|
* @export
|
|
@@ -2192,10 +2155,10 @@ export interface UserPermissionsWithCompany {
|
|
|
2192
2155
|
'role': string | null;
|
|
2193
2156
|
/**
|
|
2194
2157
|
*
|
|
2195
|
-
* @type {
|
|
2158
|
+
* @type {CompanyInDBBase}
|
|
2196
2159
|
* @memberof UserPermissionsWithCompany
|
|
2197
2160
|
*/
|
|
2198
|
-
'company':
|
|
2161
|
+
'company': CompanyInDBBase | null;
|
|
2199
2162
|
}
|
|
2200
2163
|
/**
|
|
2201
2164
|
*
|
|
@@ -3554,7 +3517,7 @@ export const CompanyApiFp = function(configuration?: Configuration) {
|
|
|
3554
3517
|
* @param {*} [options] Override http request option.
|
|
3555
3518
|
* @throws {RequiredError}
|
|
3556
3519
|
*/
|
|
3557
|
-
async createCompanyV1CompanyCreatePost(companyCreate: CompanyCreate, authorization?: string, sessionId?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<
|
|
3520
|
+
async createCompanyV1CompanyCreatePost(companyCreate: CompanyCreate, authorization?: string, sessionId?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CompanyInDBBase>> {
|
|
3558
3521
|
const localVarAxiosArgs = await localVarAxiosParamCreator.createCompanyV1CompanyCreatePost(companyCreate, authorization, sessionId, options);
|
|
3559
3522
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
3560
3523
|
const localVarOperationServerBasePath = operationServerMap['CompanyApi.createCompanyV1CompanyCreatePost']?.[localVarOperationServerIndex]?.url;
|
|
@@ -3615,7 +3578,7 @@ export const CompanyApiFp = function(configuration?: Configuration) {
|
|
|
3615
3578
|
* @param {*} [options] Override http request option.
|
|
3616
3579
|
* @throws {RequiredError}
|
|
3617
3580
|
*/
|
|
3618
|
-
async updateCompanyV1CompanyUpdatePatch(companyUpdate: CompanyUpdate, authorization?: string, sessionId?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<
|
|
3581
|
+
async updateCompanyV1CompanyUpdatePatch(companyUpdate: CompanyUpdate, authorization?: string, sessionId?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CompanyInDBBase>> {
|
|
3619
3582
|
const localVarAxiosArgs = await localVarAxiosParamCreator.updateCompanyV1CompanyUpdatePatch(companyUpdate, authorization, sessionId, options);
|
|
3620
3583
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
3621
3584
|
const localVarOperationServerBasePath = operationServerMap['CompanyApi.updateCompanyV1CompanyUpdatePatch']?.[localVarOperationServerIndex]?.url;
|
|
@@ -3640,7 +3603,7 @@ export const CompanyApiFactory = function (configuration?: Configuration, basePa
|
|
|
3640
3603
|
* @param {*} [options] Override http request option.
|
|
3641
3604
|
* @throws {RequiredError}
|
|
3642
3605
|
*/
|
|
3643
|
-
createCompanyV1CompanyCreatePost(companyCreate: CompanyCreate, authorization?: string, sessionId?: string, options?: RawAxiosRequestConfig): AxiosPromise<
|
|
3606
|
+
createCompanyV1CompanyCreatePost(companyCreate: CompanyCreate, authorization?: string, sessionId?: string, options?: RawAxiosRequestConfig): AxiosPromise<CompanyInDBBase> {
|
|
3644
3607
|
return localVarFp.createCompanyV1CompanyCreatePost(companyCreate, authorization, sessionId, options).then((request) => request(axios, basePath));
|
|
3645
3608
|
},
|
|
3646
3609
|
/**
|
|
@@ -3689,7 +3652,7 @@ export const CompanyApiFactory = function (configuration?: Configuration, basePa
|
|
|
3689
3652
|
* @param {*} [options] Override http request option.
|
|
3690
3653
|
* @throws {RequiredError}
|
|
3691
3654
|
*/
|
|
3692
|
-
updateCompanyV1CompanyUpdatePatch(companyUpdate: CompanyUpdate, authorization?: string, sessionId?: string, options?: RawAxiosRequestConfig): AxiosPromise<
|
|
3655
|
+
updateCompanyV1CompanyUpdatePatch(companyUpdate: CompanyUpdate, authorization?: string, sessionId?: string, options?: RawAxiosRequestConfig): AxiosPromise<CompanyInDBBase> {
|
|
3693
3656
|
return localVarFp.updateCompanyV1CompanyUpdatePatch(companyUpdate, authorization, sessionId, options).then((request) => request(axios, basePath));
|
|
3694
3657
|
},
|
|
3695
3658
|
};
|
package/dist/api.d.ts
CHANGED
|
@@ -261,6 +261,61 @@ export interface CompanyCreate {
|
|
|
261
261
|
*/
|
|
262
262
|
'compliance_goal'?: ComplianceGoal;
|
|
263
263
|
}
|
|
264
|
+
/**
|
|
265
|
+
*
|
|
266
|
+
* @export
|
|
267
|
+
* @interface CompanyInDBBase
|
|
268
|
+
*/
|
|
269
|
+
export interface CompanyInDBBase {
|
|
270
|
+
/**
|
|
271
|
+
*
|
|
272
|
+
* @type {string}
|
|
273
|
+
* @memberof CompanyInDBBase
|
|
274
|
+
*/
|
|
275
|
+
'name': string;
|
|
276
|
+
/**
|
|
277
|
+
*
|
|
278
|
+
* @type {string}
|
|
279
|
+
* @memberof CompanyInDBBase
|
|
280
|
+
*/
|
|
281
|
+
'industry': string;
|
|
282
|
+
/**
|
|
283
|
+
*
|
|
284
|
+
* @type {number}
|
|
285
|
+
* @memberof CompanyInDBBase
|
|
286
|
+
*/
|
|
287
|
+
'employee_count': number;
|
|
288
|
+
/**
|
|
289
|
+
*
|
|
290
|
+
* @type {string}
|
|
291
|
+
* @memberof CompanyInDBBase
|
|
292
|
+
*/
|
|
293
|
+
'domain': string;
|
|
294
|
+
/**
|
|
295
|
+
*
|
|
296
|
+
* @type {string}
|
|
297
|
+
* @memberof CompanyInDBBase
|
|
298
|
+
*/
|
|
299
|
+
'status'?: string | null;
|
|
300
|
+
/**
|
|
301
|
+
*
|
|
302
|
+
* @type {string}
|
|
303
|
+
* @memberof CompanyInDBBase
|
|
304
|
+
*/
|
|
305
|
+
'id': string;
|
|
306
|
+
/**
|
|
307
|
+
*
|
|
308
|
+
* @type {string}
|
|
309
|
+
* @memberof CompanyInDBBase
|
|
310
|
+
*/
|
|
311
|
+
'updated_at': string;
|
|
312
|
+
/**
|
|
313
|
+
*
|
|
314
|
+
* @type {CompanyComplianceInDB}
|
|
315
|
+
* @memberof CompanyInDBBase
|
|
316
|
+
*/
|
|
317
|
+
'compliance'?: CompanyComplianceInDB | null;
|
|
318
|
+
}
|
|
264
319
|
/**
|
|
265
320
|
*
|
|
266
321
|
* @export
|
|
@@ -346,6 +401,12 @@ export interface CompanyWithControls {
|
|
|
346
401
|
* @memberof CompanyWithControls
|
|
347
402
|
*/
|
|
348
403
|
'updated_at': string;
|
|
404
|
+
/**
|
|
405
|
+
*
|
|
406
|
+
* @type {CompanyComplianceInDB}
|
|
407
|
+
* @memberof CompanyWithControls
|
|
408
|
+
*/
|
|
409
|
+
'compliance'?: CompanyComplianceInDB | null;
|
|
349
410
|
/**
|
|
350
411
|
*
|
|
351
412
|
* @type {Array<ControlWithEvidences>}
|
|
@@ -401,6 +462,12 @@ export interface CompanyWithRoles {
|
|
|
401
462
|
* @memberof CompanyWithRoles
|
|
402
463
|
*/
|
|
403
464
|
'updated_at': string;
|
|
465
|
+
/**
|
|
466
|
+
*
|
|
467
|
+
* @type {CompanyComplianceInDB}
|
|
468
|
+
* @memberof CompanyWithRoles
|
|
469
|
+
*/
|
|
470
|
+
'compliance'?: CompanyComplianceInDB | null;
|
|
404
471
|
/**
|
|
405
472
|
*
|
|
406
473
|
* @type {Array<RolesWithUser>}
|
|
@@ -580,10 +647,10 @@ export interface ControlWithRelationships {
|
|
|
580
647
|
'data': FrameworkControlsBase;
|
|
581
648
|
/**
|
|
582
649
|
*
|
|
583
|
-
* @type {
|
|
650
|
+
* @type {CompanyInDBBase}
|
|
584
651
|
* @memberof ControlWithRelationships
|
|
585
652
|
*/
|
|
586
|
-
'company':
|
|
653
|
+
'company': CompanyInDBBase;
|
|
587
654
|
/**
|
|
588
655
|
*
|
|
589
656
|
* @type {Array<EvidenceBase>}
|
|
@@ -1128,10 +1195,10 @@ export interface PaginationResponseAuditLogSchema {
|
|
|
1128
1195
|
export interface PaginationResponseCompanyInDBBase {
|
|
1129
1196
|
/**
|
|
1130
1197
|
*
|
|
1131
|
-
* @type {Array<
|
|
1198
|
+
* @type {Array<CompanyInDBBase>}
|
|
1132
1199
|
* @memberof PaginationResponseCompanyInDBBase
|
|
1133
1200
|
*/
|
|
1134
|
-
'items': Array<
|
|
1201
|
+
'items': Array<CompanyInDBBase>;
|
|
1135
1202
|
/**
|
|
1136
1203
|
*
|
|
1137
1204
|
* @type {number}
|
|
@@ -1649,110 +1716,6 @@ export interface SchedulerRequest {
|
|
|
1649
1716
|
*/
|
|
1650
1717
|
'user_ids_to_assign'?: Array<string>;
|
|
1651
1718
|
}
|
|
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
|
-
}
|
|
1756
1719
|
/**
|
|
1757
1720
|
*
|
|
1758
1721
|
* @export
|
|
@@ -2140,10 +2103,10 @@ export interface UserPermissionsWithCompany {
|
|
|
2140
2103
|
'role': string | null;
|
|
2141
2104
|
/**
|
|
2142
2105
|
*
|
|
2143
|
-
* @type {
|
|
2106
|
+
* @type {CompanyInDBBase}
|
|
2144
2107
|
* @memberof UserPermissionsWithCompany
|
|
2145
2108
|
*/
|
|
2146
|
-
'company':
|
|
2109
|
+
'company': CompanyInDBBase | null;
|
|
2147
2110
|
}
|
|
2148
2111
|
/**
|
|
2149
2112
|
*
|
|
@@ -2864,7 +2827,7 @@ export declare const CompanyApiFp: (configuration?: Configuration) => {
|
|
|
2864
2827
|
* @param {*} [options] Override http request option.
|
|
2865
2828
|
* @throws {RequiredError}
|
|
2866
2829
|
*/
|
|
2867
|
-
createCompanyV1CompanyCreatePost(companyCreate: CompanyCreate, authorization?: string, sessionId?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<
|
|
2830
|
+
createCompanyV1CompanyCreatePost(companyCreate: CompanyCreate, authorization?: string, sessionId?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CompanyInDBBase>>;
|
|
2868
2831
|
/**
|
|
2869
2832
|
*
|
|
2870
2833
|
* @summary Get Companies
|
|
@@ -2905,7 +2868,7 @@ export declare const CompanyApiFp: (configuration?: Configuration) => {
|
|
|
2905
2868
|
* @param {*} [options] Override http request option.
|
|
2906
2869
|
* @throws {RequiredError}
|
|
2907
2870
|
*/
|
|
2908
|
-
updateCompanyV1CompanyUpdatePatch(companyUpdate: CompanyUpdate, authorization?: string, sessionId?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<
|
|
2871
|
+
updateCompanyV1CompanyUpdatePatch(companyUpdate: CompanyUpdate, authorization?: string, sessionId?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CompanyInDBBase>>;
|
|
2909
2872
|
};
|
|
2910
2873
|
/**
|
|
2911
2874
|
* CompanyApi - factory interface
|
|
@@ -2921,7 +2884,7 @@ export declare const CompanyApiFactory: (configuration?: Configuration, basePath
|
|
|
2921
2884
|
* @param {*} [options] Override http request option.
|
|
2922
2885
|
* @throws {RequiredError}
|
|
2923
2886
|
*/
|
|
2924
|
-
createCompanyV1CompanyCreatePost(companyCreate: CompanyCreate, authorization?: string, sessionId?: string, options?: RawAxiosRequestConfig): AxiosPromise<
|
|
2887
|
+
createCompanyV1CompanyCreatePost(companyCreate: CompanyCreate, authorization?: string, sessionId?: string, options?: RawAxiosRequestConfig): AxiosPromise<CompanyInDBBase>;
|
|
2925
2888
|
/**
|
|
2926
2889
|
*
|
|
2927
2890
|
* @summary Get Companies
|
|
@@ -2962,7 +2925,7 @@ export declare const CompanyApiFactory: (configuration?: Configuration, basePath
|
|
|
2962
2925
|
* @param {*} [options] Override http request option.
|
|
2963
2926
|
* @throws {RequiredError}
|
|
2964
2927
|
*/
|
|
2965
|
-
updateCompanyV1CompanyUpdatePatch(companyUpdate: CompanyUpdate, authorization?: string, sessionId?: string, options?: RawAxiosRequestConfig): AxiosPromise<
|
|
2928
|
+
updateCompanyV1CompanyUpdatePatch(companyUpdate: CompanyUpdate, authorization?: string, sessionId?: string, options?: RawAxiosRequestConfig): AxiosPromise<CompanyInDBBase>;
|
|
2966
2929
|
};
|
|
2967
2930
|
/**
|
|
2968
2931
|
* CompanyApi - object-oriented interface
|
|
@@ -2981,7 +2944,7 @@ export declare class CompanyApi extends BaseAPI {
|
|
|
2981
2944
|
* @throws {RequiredError}
|
|
2982
2945
|
* @memberof CompanyApi
|
|
2983
2946
|
*/
|
|
2984
|
-
createCompanyV1CompanyCreatePost(companyCreate: CompanyCreate, authorization?: string, sessionId?: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<
|
|
2947
|
+
createCompanyV1CompanyCreatePost(companyCreate: CompanyCreate, authorization?: string, sessionId?: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<CompanyInDBBase, any, {}>>;
|
|
2985
2948
|
/**
|
|
2986
2949
|
*
|
|
2987
2950
|
* @summary Get Companies
|
|
@@ -3026,7 +2989,7 @@ export declare class CompanyApi extends BaseAPI {
|
|
|
3026
2989
|
* @throws {RequiredError}
|
|
3027
2990
|
* @memberof CompanyApi
|
|
3028
2991
|
*/
|
|
3029
|
-
updateCompanyV1CompanyUpdatePatch(companyUpdate: CompanyUpdate, authorization?: string, sessionId?: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<
|
|
2992
|
+
updateCompanyV1CompanyUpdatePatch(companyUpdate: CompanyUpdate, authorization?: string, sessionId?: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<CompanyInDBBase, any, {}>>;
|
|
3030
2993
|
}
|
|
3031
2994
|
/**
|
|
3032
2995
|
* 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
|
+
> CompanyInDBBase 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
|
+
**CompanyInDBBase**
|
|
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
|
+
> CompanyInDBBase 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
|
+
**CompanyInDBBase**
|
|
284
284
|
|
|
285
285
|
### Authorization
|
|
286
286
|
|
package/docs/CompanyInDBBase.md
CHANGED
|
@@ -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
|
|
|
@@ -12,6 +12,7 @@ Name | Type | Description | Notes
|
|
|
12
12
|
**status** | **string** | | [optional] [default to undefined]
|
|
13
13
|
**id** | **string** | | [default to undefined]
|
|
14
14
|
**updated_at** | **string** | | [default to undefined]
|
|
15
|
+
**compliance** | [**CompanyComplianceInDB**](CompanyComplianceInDB.md) | | [optional] [default to undefined]
|
|
15
16
|
**controls** | [**Array<ControlWithEvidences>**](ControlWithEvidences.md) | | [default to undefined]
|
|
16
17
|
|
|
17
18
|
## Example
|
|
@@ -27,6 +28,7 @@ const instance: CompanyWithControls = {
|
|
|
27
28
|
status,
|
|
28
29
|
id,
|
|
29
30
|
updated_at,
|
|
31
|
+
compliance,
|
|
30
32
|
controls,
|
|
31
33
|
};
|
|
32
34
|
```
|
package/docs/CompanyWithRoles.md
CHANGED
|
@@ -12,6 +12,7 @@ Name | Type | Description | Notes
|
|
|
12
12
|
**status** | **string** | | [optional] [default to undefined]
|
|
13
13
|
**id** | **string** | | [default to undefined]
|
|
14
14
|
**updated_at** | **string** | | [default to undefined]
|
|
15
|
+
**compliance** | [**CompanyComplianceInDB**](CompanyComplianceInDB.md) | | [optional] [default to undefined]
|
|
15
16
|
**permissions** | [**Array<RolesWithUser>**](RolesWithUser.md) | | [default to undefined]
|
|
16
17
|
|
|
17
18
|
## Example
|
|
@@ -27,6 +28,7 @@ const instance: CompanyWithRoles = {
|
|
|
27
28
|
status,
|
|
28
29
|
id,
|
|
29
30
|
updated_at,
|
|
31
|
+
compliance,
|
|
30
32
|
permissions,
|
|
31
33
|
};
|
|
32
34
|
```
|
|
@@ -10,7 +10,7 @@ Name | Type | Description | Notes
|
|
|
10
10
|
**note** | **string** | | [optional] [default to undefined]
|
|
11
11
|
**updated_at** | **string** | | [optional] [default to undefined]
|
|
12
12
|
**data** | [**FrameworkControlsBase**](FrameworkControlsBase.md) | | [default to undefined]
|
|
13
|
-
**company** | [**
|
|
13
|
+
**company** | [**CompanyInDBBase**](CompanyInDBBase.md) | | [default to undefined]
|
|
14
14
|
**evidences** | [**Array<EvidenceBase>**](EvidenceBase.md) | | [optional] [default to undefined]
|
|
15
15
|
|
|
16
16
|
## Example
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
|
|
6
6
|
Name | Type | Description | Notes
|
|
7
7
|
------------ | ------------- | ------------- | -------------
|
|
8
|
-
**items** | [**Array<
|
|
8
|
+
**items** | [**Array<CompanyInDBBase>**](CompanyInDBBase.md) | | [default to undefined]
|
|
9
9
|
**total** | **number** | | [default to undefined]
|
|
10
10
|
|
|
11
11
|
## Example
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
Name | Type | Description | Notes
|
|
7
7
|
------------ | ------------- | ------------- | -------------
|
|
8
8
|
**role** | **string** | | [default to undefined]
|
|
9
|
-
**company** | [**
|
|
9
|
+
**company** | [**CompanyInDBBase**](CompanyInDBBase.md) | | [default to undefined]
|
|
10
10
|
|
|
11
11
|
## Example
|
|
12
12
|
|