@rasadov/lumoar-sdk 1.0.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 +60 -0
- package/.openapi-generator/VERSION +1 -0
- package/.openapi-generator-ignore +23 -0
- package/api.ts +5133 -0
- package/base.ts +86 -0
- package/common.ts +150 -0
- package/configuration.ts +228 -0
- package/dist/api.d.ts +3329 -0
- package/dist/api.js +3498 -0
- package/dist/base.d.ts +66 -0
- package/dist/base.js +60 -0
- package/dist/common.d.ts +65 -0
- package/dist/common.js +149 -0
- package/dist/configuration.d.ts +125 -0
- package/dist/configuration.js +124 -0
- package/dist/index.d.ts +13 -0
- package/dist/index.js +15 -0
- package/docs/AuthApi.md +560 -0
- package/docs/AuthenticationSuccess.md +25 -0
- package/docs/CheckoutSessionResponse.md +22 -0
- package/docs/CompanyApi.md +363 -0
- package/docs/CompanyCreate.md +44 -0
- package/docs/CompanyInDBBase.md +48 -0
- package/docs/CompanyUpdate.md +42 -0
- package/docs/CompanyWithControls.md +50 -0
- package/docs/CompanyWithRoles.md +50 -0
- package/docs/ComplianceGoal.md +8 -0
- package/docs/ControlStatus.md +18 -0
- package/docs/ControlWithEvidences.md +30 -0
- package/docs/ControlWithRelationships.md +32 -0
- package/docs/ControlsApi.md +124 -0
- package/docs/CustomerDoesNotExist.md +20 -0
- package/docs/CustomerPortalSession.md +20 -0
- package/docs/DefaultApi.md +183 -0
- package/docs/Details.md +20 -0
- package/docs/EvidenceApi.md +309 -0
- package/docs/EvidenceBase.md +40 -0
- package/docs/EvidenceFileSchema.md +32 -0
- package/docs/EvidenceTextSchema.md +24 -0
- package/docs/FileDownload.md +26 -0
- package/docs/FrameworkControlsBase.md +26 -0
- package/docs/GetControl.md +22 -0
- package/docs/HTTPValidationError.md +20 -0
- package/docs/InviteToCompany.md +24 -0
- package/docs/LoginSchema.md +25 -0
- package/docs/PaymentsApi.md +164 -0
- package/docs/PermissionType.md +14 -0
- package/docs/PoliciesApi.md +302 -0
- package/docs/PolicyCreate.md +26 -0
- package/docs/PolicyRead.md +32 -0
- package/docs/PolicyUpdate.md +24 -0
- package/docs/RegisterSchema.md +31 -0
- package/docs/RemoveFromCompany.md +22 -0
- package/docs/ResponseGetCheckoutSessionPaymentsCheckoutGet.md +24 -0
- package/docs/ResponseGetCustomerManagementSessionPaymentsCustomerManagementGet.md +22 -0
- package/docs/RolesApi.md +127 -0
- package/docs/RolesWithUser.md +22 -0
- package/docs/UpdateControlSchema.md +24 -0
- package/docs/UpdatePassword.md +22 -0
- package/docs/UserApi.md +280 -0
- package/docs/UserBase.md +24 -0
- package/docs/UserInDBBase.md +30 -0
- package/docs/UserPermissionsWithCompany.md +22 -0
- package/docs/UserRole.md +20 -0
- package/docs/UserUpdate.md +24 -0
- package/docs/UserWithRelations.md +28 -0
- package/docs/ValidationError.md +24 -0
- package/docs/ValidationErrorLocInner.md +18 -0
- package/git_push.sh +57 -0
- package/index.ts +18 -0
- package/openapitools.json +7 -0
- package/package.json +33 -0
- package/tsconfig.json +14 -0
|
@@ -0,0 +1,363 @@
|
|
|
1
|
+
# CompanyApi
|
|
2
|
+
|
|
3
|
+
All URIs are relative to *http://localhost*
|
|
4
|
+
|
|
5
|
+
|Method | HTTP request | Description|
|
|
6
|
+
|------------- | ------------- | -------------|
|
|
7
|
+
|[**createCompanyV1CompanyCreatePost**](#createcompanyv1companycreatepost) | **POST** /v1/company/create | Create Company|
|
|
8
|
+
|[**getCompaniesV1CompanyListGet**](#getcompaniesv1companylistget) | **GET** /v1/company/list | Get Companies|
|
|
9
|
+
|[**getCompanyV1CompanyGetCompanyIdGet**](#getcompanyv1companygetcompanyidget) | **GET** /v1/company/get/{company_id} | Get Company|
|
|
10
|
+
|[**getControlsV1CompanyControlsCompanyIdGet**](#getcontrolsv1companycontrolscompanyidget) | **GET** /v1/company/controls/{company_id} | Get Controls|
|
|
11
|
+
|[**getPoliciesV1CompanyPoliciesGet**](#getpoliciesv1companypoliciesget) | **GET** /v1/company/policies | Get Policies|
|
|
12
|
+
|[**updateCompanyV1CompanyUpdatePatch**](#updatecompanyv1companyupdatepatch) | **PATCH** /v1/company/update | Update Company|
|
|
13
|
+
|
|
14
|
+
# **createCompanyV1CompanyCreatePost**
|
|
15
|
+
> CompanyInDBBase createCompanyV1CompanyCreatePost(companyCreate)
|
|
16
|
+
|
|
17
|
+
|
|
18
|
+
### Example
|
|
19
|
+
|
|
20
|
+
```typescript
|
|
21
|
+
import {
|
|
22
|
+
CompanyApi,
|
|
23
|
+
Configuration,
|
|
24
|
+
CompanyCreate
|
|
25
|
+
} from './api';
|
|
26
|
+
|
|
27
|
+
const configuration = new Configuration();
|
|
28
|
+
const apiInstance = new CompanyApi(configuration);
|
|
29
|
+
|
|
30
|
+
let companyCreate: CompanyCreate; //
|
|
31
|
+
let authorization: string; // (optional) (default to undefined)
|
|
32
|
+
let sessionId: string; // (optional) (default to undefined)
|
|
33
|
+
|
|
34
|
+
const { status, data } = await apiInstance.createCompanyV1CompanyCreatePost(
|
|
35
|
+
companyCreate,
|
|
36
|
+
authorization,
|
|
37
|
+
sessionId
|
|
38
|
+
);
|
|
39
|
+
```
|
|
40
|
+
|
|
41
|
+
### Parameters
|
|
42
|
+
|
|
43
|
+
|Name | Type | Description | Notes|
|
|
44
|
+
|------------- | ------------- | ------------- | -------------|
|
|
45
|
+
| **companyCreate** | **CompanyCreate**| | |
|
|
46
|
+
| **authorization** | [**string**] | | (optional) defaults to undefined|
|
|
47
|
+
| **sessionId** | [**string**] | | (optional) defaults to undefined|
|
|
48
|
+
|
|
49
|
+
|
|
50
|
+
### Return type
|
|
51
|
+
|
|
52
|
+
**CompanyInDBBase**
|
|
53
|
+
|
|
54
|
+
### Authorization
|
|
55
|
+
|
|
56
|
+
No authorization required
|
|
57
|
+
|
|
58
|
+
### HTTP request headers
|
|
59
|
+
|
|
60
|
+
- **Content-Type**: application/json
|
|
61
|
+
- **Accept**: application/json
|
|
62
|
+
|
|
63
|
+
|
|
64
|
+
### HTTP response details
|
|
65
|
+
| Status code | Description | Response headers |
|
|
66
|
+
|-------------|-------------|------------------|
|
|
67
|
+
|**200** | Successful Response | - |
|
|
68
|
+
|**422** | Validation Error | - |
|
|
69
|
+
|
|
70
|
+
[[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)
|
|
71
|
+
|
|
72
|
+
# **getCompaniesV1CompanyListGet**
|
|
73
|
+
> Array<CompanyInDBBase> getCompaniesV1CompanyListGet()
|
|
74
|
+
|
|
75
|
+
|
|
76
|
+
### Example
|
|
77
|
+
|
|
78
|
+
```typescript
|
|
79
|
+
import {
|
|
80
|
+
CompanyApi,
|
|
81
|
+
Configuration
|
|
82
|
+
} from './api';
|
|
83
|
+
|
|
84
|
+
const configuration = new Configuration();
|
|
85
|
+
const apiInstance = new CompanyApi(configuration);
|
|
86
|
+
|
|
87
|
+
let page: number; // (optional) (default to 1)
|
|
88
|
+
let limit: number; // (optional) (default to 10)
|
|
89
|
+
let authorization: string; // (optional) (default to undefined)
|
|
90
|
+
let sessionId: string; // (optional) (default to undefined)
|
|
91
|
+
|
|
92
|
+
const { status, data } = await apiInstance.getCompaniesV1CompanyListGet(
|
|
93
|
+
page,
|
|
94
|
+
limit,
|
|
95
|
+
authorization,
|
|
96
|
+
sessionId
|
|
97
|
+
);
|
|
98
|
+
```
|
|
99
|
+
|
|
100
|
+
### Parameters
|
|
101
|
+
|
|
102
|
+
|Name | Type | Description | Notes|
|
|
103
|
+
|------------- | ------------- | ------------- | -------------|
|
|
104
|
+
| **page** | [**number**] | | (optional) defaults to 1|
|
|
105
|
+
| **limit** | [**number**] | | (optional) defaults to 10|
|
|
106
|
+
| **authorization** | [**string**] | | (optional) defaults to undefined|
|
|
107
|
+
| **sessionId** | [**string**] | | (optional) defaults to undefined|
|
|
108
|
+
|
|
109
|
+
|
|
110
|
+
### Return type
|
|
111
|
+
|
|
112
|
+
**Array<CompanyInDBBase>**
|
|
113
|
+
|
|
114
|
+
### Authorization
|
|
115
|
+
|
|
116
|
+
No authorization required
|
|
117
|
+
|
|
118
|
+
### HTTP request headers
|
|
119
|
+
|
|
120
|
+
- **Content-Type**: Not defined
|
|
121
|
+
- **Accept**: application/json
|
|
122
|
+
|
|
123
|
+
|
|
124
|
+
### HTTP response details
|
|
125
|
+
| Status code | Description | Response headers |
|
|
126
|
+
|-------------|-------------|------------------|
|
|
127
|
+
|**200** | Successful Response | - |
|
|
128
|
+
|**422** | Validation Error | - |
|
|
129
|
+
|
|
130
|
+
[[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)
|
|
131
|
+
|
|
132
|
+
# **getCompanyV1CompanyGetCompanyIdGet**
|
|
133
|
+
> CompanyWithRoles getCompanyV1CompanyGetCompanyIdGet()
|
|
134
|
+
|
|
135
|
+
|
|
136
|
+
### Example
|
|
137
|
+
|
|
138
|
+
```typescript
|
|
139
|
+
import {
|
|
140
|
+
CompanyApi,
|
|
141
|
+
Configuration
|
|
142
|
+
} from './api';
|
|
143
|
+
|
|
144
|
+
const configuration = new Configuration();
|
|
145
|
+
const apiInstance = new CompanyApi(configuration);
|
|
146
|
+
|
|
147
|
+
let companyId: string; // (default to undefined)
|
|
148
|
+
let authorization: string; // (optional) (default to undefined)
|
|
149
|
+
let sessionId: string; // (optional) (default to undefined)
|
|
150
|
+
|
|
151
|
+
const { status, data } = await apiInstance.getCompanyV1CompanyGetCompanyIdGet(
|
|
152
|
+
companyId,
|
|
153
|
+
authorization,
|
|
154
|
+
sessionId
|
|
155
|
+
);
|
|
156
|
+
```
|
|
157
|
+
|
|
158
|
+
### Parameters
|
|
159
|
+
|
|
160
|
+
|Name | Type | Description | Notes|
|
|
161
|
+
|------------- | ------------- | ------------- | -------------|
|
|
162
|
+
| **companyId** | [**string**] | | defaults to undefined|
|
|
163
|
+
| **authorization** | [**string**] | | (optional) defaults to undefined|
|
|
164
|
+
| **sessionId** | [**string**] | | (optional) defaults to undefined|
|
|
165
|
+
|
|
166
|
+
|
|
167
|
+
### Return type
|
|
168
|
+
|
|
169
|
+
**CompanyWithRoles**
|
|
170
|
+
|
|
171
|
+
### Authorization
|
|
172
|
+
|
|
173
|
+
No authorization required
|
|
174
|
+
|
|
175
|
+
### HTTP request headers
|
|
176
|
+
|
|
177
|
+
- **Content-Type**: Not defined
|
|
178
|
+
- **Accept**: application/json
|
|
179
|
+
|
|
180
|
+
|
|
181
|
+
### HTTP response details
|
|
182
|
+
| Status code | Description | Response headers |
|
|
183
|
+
|-------------|-------------|------------------|
|
|
184
|
+
|**200** | Successful Response | - |
|
|
185
|
+
|**422** | Validation Error | - |
|
|
186
|
+
|
|
187
|
+
[[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)
|
|
188
|
+
|
|
189
|
+
# **getControlsV1CompanyControlsCompanyIdGet**
|
|
190
|
+
> CompanyWithControls getControlsV1CompanyControlsCompanyIdGet()
|
|
191
|
+
|
|
192
|
+
|
|
193
|
+
### Example
|
|
194
|
+
|
|
195
|
+
```typescript
|
|
196
|
+
import {
|
|
197
|
+
CompanyApi,
|
|
198
|
+
Configuration
|
|
199
|
+
} from './api';
|
|
200
|
+
|
|
201
|
+
const configuration = new Configuration();
|
|
202
|
+
const apiInstance = new CompanyApi(configuration);
|
|
203
|
+
|
|
204
|
+
let companyId: string; // (default to undefined)
|
|
205
|
+
let authorization: string; // (optional) (default to undefined)
|
|
206
|
+
let sessionId: string; // (optional) (default to undefined)
|
|
207
|
+
|
|
208
|
+
const { status, data } = await apiInstance.getControlsV1CompanyControlsCompanyIdGet(
|
|
209
|
+
companyId,
|
|
210
|
+
authorization,
|
|
211
|
+
sessionId
|
|
212
|
+
);
|
|
213
|
+
```
|
|
214
|
+
|
|
215
|
+
### Parameters
|
|
216
|
+
|
|
217
|
+
|Name | Type | Description | Notes|
|
|
218
|
+
|------------- | ------------- | ------------- | -------------|
|
|
219
|
+
| **companyId** | [**string**] | | defaults to undefined|
|
|
220
|
+
| **authorization** | [**string**] | | (optional) defaults to undefined|
|
|
221
|
+
| **sessionId** | [**string**] | | (optional) defaults to undefined|
|
|
222
|
+
|
|
223
|
+
|
|
224
|
+
### Return type
|
|
225
|
+
|
|
226
|
+
**CompanyWithControls**
|
|
227
|
+
|
|
228
|
+
### Authorization
|
|
229
|
+
|
|
230
|
+
No authorization required
|
|
231
|
+
|
|
232
|
+
### HTTP request headers
|
|
233
|
+
|
|
234
|
+
- **Content-Type**: Not defined
|
|
235
|
+
- **Accept**: application/json
|
|
236
|
+
|
|
237
|
+
|
|
238
|
+
### HTTP response details
|
|
239
|
+
| Status code | Description | Response headers |
|
|
240
|
+
|-------------|-------------|------------------|
|
|
241
|
+
|**200** | Successful Response | - |
|
|
242
|
+
|**422** | Validation Error | - |
|
|
243
|
+
|
|
244
|
+
[[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)
|
|
245
|
+
|
|
246
|
+
# **getPoliciesV1CompanyPoliciesGet**
|
|
247
|
+
> Array<PolicyRead> getPoliciesV1CompanyPoliciesGet()
|
|
248
|
+
|
|
249
|
+
|
|
250
|
+
### Example
|
|
251
|
+
|
|
252
|
+
```typescript
|
|
253
|
+
import {
|
|
254
|
+
CompanyApi,
|
|
255
|
+
Configuration
|
|
256
|
+
} from './api';
|
|
257
|
+
|
|
258
|
+
const configuration = new Configuration();
|
|
259
|
+
const apiInstance = new CompanyApi(configuration);
|
|
260
|
+
|
|
261
|
+
let page: number; // (optional) (default to 1)
|
|
262
|
+
let limit: number; // (optional) (default to 10)
|
|
263
|
+
let authorization: string; // (optional) (default to undefined)
|
|
264
|
+
let sessionId: string; // (optional) (default to undefined)
|
|
265
|
+
|
|
266
|
+
const { status, data } = await apiInstance.getPoliciesV1CompanyPoliciesGet(
|
|
267
|
+
page,
|
|
268
|
+
limit,
|
|
269
|
+
authorization,
|
|
270
|
+
sessionId
|
|
271
|
+
);
|
|
272
|
+
```
|
|
273
|
+
|
|
274
|
+
### Parameters
|
|
275
|
+
|
|
276
|
+
|Name | Type | Description | Notes|
|
|
277
|
+
|------------- | ------------- | ------------- | -------------|
|
|
278
|
+
| **page** | [**number**] | | (optional) defaults to 1|
|
|
279
|
+
| **limit** | [**number**] | | (optional) defaults to 10|
|
|
280
|
+
| **authorization** | [**string**] | | (optional) defaults to undefined|
|
|
281
|
+
| **sessionId** | [**string**] | | (optional) defaults to undefined|
|
|
282
|
+
|
|
283
|
+
|
|
284
|
+
### Return type
|
|
285
|
+
|
|
286
|
+
**Array<PolicyRead>**
|
|
287
|
+
|
|
288
|
+
### Authorization
|
|
289
|
+
|
|
290
|
+
No authorization required
|
|
291
|
+
|
|
292
|
+
### HTTP request headers
|
|
293
|
+
|
|
294
|
+
- **Content-Type**: Not defined
|
|
295
|
+
- **Accept**: application/json
|
|
296
|
+
|
|
297
|
+
|
|
298
|
+
### HTTP response details
|
|
299
|
+
| Status code | Description | Response headers |
|
|
300
|
+
|-------------|-------------|------------------|
|
|
301
|
+
|**200** | Successful Response | - |
|
|
302
|
+
|**422** | Validation Error | - |
|
|
303
|
+
|
|
304
|
+
[[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)
|
|
305
|
+
|
|
306
|
+
# **updateCompanyV1CompanyUpdatePatch**
|
|
307
|
+
> CompanyInDBBase updateCompanyV1CompanyUpdatePatch(companyUpdate)
|
|
308
|
+
|
|
309
|
+
|
|
310
|
+
### Example
|
|
311
|
+
|
|
312
|
+
```typescript
|
|
313
|
+
import {
|
|
314
|
+
CompanyApi,
|
|
315
|
+
Configuration,
|
|
316
|
+
CompanyUpdate
|
|
317
|
+
} from './api';
|
|
318
|
+
|
|
319
|
+
const configuration = new Configuration();
|
|
320
|
+
const apiInstance = new CompanyApi(configuration);
|
|
321
|
+
|
|
322
|
+
let companyUpdate: CompanyUpdate; //
|
|
323
|
+
let authorization: string; // (optional) (default to undefined)
|
|
324
|
+
let sessionId: string; // (optional) (default to undefined)
|
|
325
|
+
|
|
326
|
+
const { status, data } = await apiInstance.updateCompanyV1CompanyUpdatePatch(
|
|
327
|
+
companyUpdate,
|
|
328
|
+
authorization,
|
|
329
|
+
sessionId
|
|
330
|
+
);
|
|
331
|
+
```
|
|
332
|
+
|
|
333
|
+
### Parameters
|
|
334
|
+
|
|
335
|
+
|Name | Type | Description | Notes|
|
|
336
|
+
|------------- | ------------- | ------------- | -------------|
|
|
337
|
+
| **companyUpdate** | **CompanyUpdate**| | |
|
|
338
|
+
| **authorization** | [**string**] | | (optional) defaults to undefined|
|
|
339
|
+
| **sessionId** | [**string**] | | (optional) defaults to undefined|
|
|
340
|
+
|
|
341
|
+
|
|
342
|
+
### Return type
|
|
343
|
+
|
|
344
|
+
**CompanyInDBBase**
|
|
345
|
+
|
|
346
|
+
### Authorization
|
|
347
|
+
|
|
348
|
+
No authorization required
|
|
349
|
+
|
|
350
|
+
### HTTP request headers
|
|
351
|
+
|
|
352
|
+
- **Content-Type**: application/json
|
|
353
|
+
- **Accept**: application/json
|
|
354
|
+
|
|
355
|
+
|
|
356
|
+
### HTTP response details
|
|
357
|
+
| Status code | Description | Response headers |
|
|
358
|
+
|-------------|-------------|------------------|
|
|
359
|
+
|**200** | Successful Response | - |
|
|
360
|
+
|**422** | Validation Error | - |
|
|
361
|
+
|
|
362
|
+
[[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)
|
|
363
|
+
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
# CompanyCreate
|
|
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
|
+
**tools_used** | **{ [key: string]: any; }** | | [optional] [default to undefined]
|
|
13
|
+
**plan** | **string** | | [optional] [default to undefined]
|
|
14
|
+
**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
|
+
|
|
22
|
+
## Example
|
|
23
|
+
|
|
24
|
+
```typescript
|
|
25
|
+
import { CompanyCreate } from './api';
|
|
26
|
+
|
|
27
|
+
const instance: CompanyCreate = {
|
|
28
|
+
name,
|
|
29
|
+
industry,
|
|
30
|
+
employee_count,
|
|
31
|
+
domain,
|
|
32
|
+
tools_used,
|
|
33
|
+
plan,
|
|
34
|
+
status,
|
|
35
|
+
compliance_goal,
|
|
36
|
+
readiness_score,
|
|
37
|
+
audit_due_date,
|
|
38
|
+
is_audit_mode,
|
|
39
|
+
timezone,
|
|
40
|
+
logo_url,
|
|
41
|
+
};
|
|
42
|
+
```
|
|
43
|
+
|
|
44
|
+
[[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,48 @@
|
|
|
1
|
+
# CompanyInDBBase
|
|
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
|
+
**tools_used** | **{ [key: string]: any; }** | | [optional] [default to undefined]
|
|
13
|
+
**plan** | **string** | | [optional] [default to undefined]
|
|
14
|
+
**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
|
+
**id** | **string** | | [default to undefined]
|
|
22
|
+
**updated_at** | **string** | | [default to undefined]
|
|
23
|
+
|
|
24
|
+
## Example
|
|
25
|
+
|
|
26
|
+
```typescript
|
|
27
|
+
import { CompanyInDBBase } from './api';
|
|
28
|
+
|
|
29
|
+
const instance: CompanyInDBBase = {
|
|
30
|
+
name,
|
|
31
|
+
industry,
|
|
32
|
+
employee_count,
|
|
33
|
+
domain,
|
|
34
|
+
tools_used,
|
|
35
|
+
plan,
|
|
36
|
+
status,
|
|
37
|
+
compliance_goal,
|
|
38
|
+
readiness_score,
|
|
39
|
+
audit_due_date,
|
|
40
|
+
is_audit_mode,
|
|
41
|
+
timezone,
|
|
42
|
+
logo_url,
|
|
43
|
+
id,
|
|
44
|
+
updated_at,
|
|
45
|
+
};
|
|
46
|
+
```
|
|
47
|
+
|
|
48
|
+
[[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,42 @@
|
|
|
1
|
+
# CompanyUpdate
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
## Properties
|
|
5
|
+
|
|
6
|
+
Name | Type | Description | Notes
|
|
7
|
+
------------ | ------------- | ------------- | -------------
|
|
8
|
+
**id** | **string** | | [default to undefined]
|
|
9
|
+
**name** | **string** | | [optional] [default to undefined]
|
|
10
|
+
**industry** | **string** | | [optional] [default to undefined]
|
|
11
|
+
**employee_count** | **number** | | [optional] [default to undefined]
|
|
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
|
+
|
|
21
|
+
## Example
|
|
22
|
+
|
|
23
|
+
```typescript
|
|
24
|
+
import { CompanyUpdate } from './api';
|
|
25
|
+
|
|
26
|
+
const instance: CompanyUpdate = {
|
|
27
|
+
id,
|
|
28
|
+
name,
|
|
29
|
+
industry,
|
|
30
|
+
employee_count,
|
|
31
|
+
domain,
|
|
32
|
+
tools_used,
|
|
33
|
+
compliance_goal,
|
|
34
|
+
readiness_score,
|
|
35
|
+
audit_due_date,
|
|
36
|
+
is_audit_mode,
|
|
37
|
+
timezone,
|
|
38
|
+
logo_url,
|
|
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)
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
# CompanyWithControls
|
|
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
|
+
**tools_used** | **{ [key: string]: any; }** | | [optional] [default to undefined]
|
|
13
|
+
**plan** | **string** | | [optional] [default to undefined]
|
|
14
|
+
**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
|
+
**id** | **string** | | [default to undefined]
|
|
22
|
+
**updated_at** | **string** | | [default to undefined]
|
|
23
|
+
**controls** | [**Array<ControlWithEvidences>**](ControlWithEvidences.md) | | [default to undefined]
|
|
24
|
+
|
|
25
|
+
## Example
|
|
26
|
+
|
|
27
|
+
```typescript
|
|
28
|
+
import { CompanyWithControls } from './api';
|
|
29
|
+
|
|
30
|
+
const instance: CompanyWithControls = {
|
|
31
|
+
name,
|
|
32
|
+
industry,
|
|
33
|
+
employee_count,
|
|
34
|
+
domain,
|
|
35
|
+
tools_used,
|
|
36
|
+
plan,
|
|
37
|
+
status,
|
|
38
|
+
compliance_goal,
|
|
39
|
+
readiness_score,
|
|
40
|
+
audit_due_date,
|
|
41
|
+
is_audit_mode,
|
|
42
|
+
timezone,
|
|
43
|
+
logo_url,
|
|
44
|
+
id,
|
|
45
|
+
updated_at,
|
|
46
|
+
controls,
|
|
47
|
+
};
|
|
48
|
+
```
|
|
49
|
+
|
|
50
|
+
[[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,50 @@
|
|
|
1
|
+
# CompanyWithRoles
|
|
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
|
+
**tools_used** | **{ [key: string]: any; }** | | [optional] [default to undefined]
|
|
13
|
+
**plan** | **string** | | [optional] [default to undefined]
|
|
14
|
+
**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
|
+
**id** | **string** | | [default to undefined]
|
|
22
|
+
**updated_at** | **string** | | [default to undefined]
|
|
23
|
+
**permissions** | [**Array<RolesWithUser>**](RolesWithUser.md) | | [default to undefined]
|
|
24
|
+
|
|
25
|
+
## Example
|
|
26
|
+
|
|
27
|
+
```typescript
|
|
28
|
+
import { CompanyWithRoles } from './api';
|
|
29
|
+
|
|
30
|
+
const instance: CompanyWithRoles = {
|
|
31
|
+
name,
|
|
32
|
+
industry,
|
|
33
|
+
employee_count,
|
|
34
|
+
domain,
|
|
35
|
+
tools_used,
|
|
36
|
+
plan,
|
|
37
|
+
status,
|
|
38
|
+
compliance_goal,
|
|
39
|
+
readiness_score,
|
|
40
|
+
audit_due_date,
|
|
41
|
+
is_audit_mode,
|
|
42
|
+
timezone,
|
|
43
|
+
logo_url,
|
|
44
|
+
id,
|
|
45
|
+
updated_at,
|
|
46
|
+
permissions,
|
|
47
|
+
};
|
|
48
|
+
```
|
|
49
|
+
|
|
50
|
+
[[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,18 @@
|
|
|
1
|
+
# ControlStatus
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
## Enum
|
|
5
|
+
|
|
6
|
+
* `NotStarted` (value: `'not_started'`)
|
|
7
|
+
|
|
8
|
+
* `InProgress` (value: `'in_progress'`)
|
|
9
|
+
|
|
10
|
+
* `Completed` (value: `'completed'`)
|
|
11
|
+
|
|
12
|
+
* `Failed` (value: `'failed'`)
|
|
13
|
+
|
|
14
|
+
* `Skipped` (value: `'skipped'`)
|
|
15
|
+
|
|
16
|
+
* `PendingReview` (value: `'pending_review'`)
|
|
17
|
+
|
|
18
|
+
[[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,30 @@
|
|
|
1
|
+
# ControlWithEvidences
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
## Properties
|
|
5
|
+
|
|
6
|
+
Name | Type | Description | Notes
|
|
7
|
+
------------ | ------------- | ------------- | -------------
|
|
8
|
+
**id** | **string** | | [default to undefined]
|
|
9
|
+
**framework_control** | [**FrameworkControlsBase**](FrameworkControlsBase.md) | | [default to undefined]
|
|
10
|
+
**status** | **string** | | [optional] [default to undefined]
|
|
11
|
+
**note** | **string** | | [optional] [default to undefined]
|
|
12
|
+
**updated_at** | **string** | | [optional] [default to undefined]
|
|
13
|
+
**evidences** | [**Array<EvidenceBase>**](EvidenceBase.md) | | [optional] [default to undefined]
|
|
14
|
+
|
|
15
|
+
## Example
|
|
16
|
+
|
|
17
|
+
```typescript
|
|
18
|
+
import { ControlWithEvidences } from './api';
|
|
19
|
+
|
|
20
|
+
const instance: ControlWithEvidences = {
|
|
21
|
+
id,
|
|
22
|
+
framework_control,
|
|
23
|
+
status,
|
|
24
|
+
note,
|
|
25
|
+
updated_at,
|
|
26
|
+
evidences,
|
|
27
|
+
};
|
|
28
|
+
```
|
|
29
|
+
|
|
30
|
+
[[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,32 @@
|
|
|
1
|
+
# ControlWithRelationships
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
## Properties
|
|
5
|
+
|
|
6
|
+
Name | Type | Description | Notes
|
|
7
|
+
------------ | ------------- | ------------- | -------------
|
|
8
|
+
**id** | **string** | | [default to undefined]
|
|
9
|
+
**framework_control** | [**FrameworkControlsBase**](FrameworkControlsBase.md) | | [default to undefined]
|
|
10
|
+
**status** | **string** | | [optional] [default to undefined]
|
|
11
|
+
**note** | **string** | | [optional] [default to undefined]
|
|
12
|
+
**updated_at** | **string** | | [optional] [default to undefined]
|
|
13
|
+
**company** | [**CompanyInDBBase**](CompanyInDBBase.md) | | [default to undefined]
|
|
14
|
+
**evidences** | [**Array<EvidenceBase>**](EvidenceBase.md) | | [optional] [default to undefined]
|
|
15
|
+
|
|
16
|
+
## Example
|
|
17
|
+
|
|
18
|
+
```typescript
|
|
19
|
+
import { ControlWithRelationships } from './api';
|
|
20
|
+
|
|
21
|
+
const instance: ControlWithRelationships = {
|
|
22
|
+
id,
|
|
23
|
+
framework_control,
|
|
24
|
+
status,
|
|
25
|
+
note,
|
|
26
|
+
updated_at,
|
|
27
|
+
company,
|
|
28
|
+
evidences,
|
|
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)
|