@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
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
# SrcDomainsOrganizationSchemasCompanyCompanyInDBBase
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
## Properties
|
|
5
|
+
|
|
6
|
+
Name | Type | Description | Notes
|
|
7
|
+
------------ | ------------- | ------------- | -------------
|
|
8
|
+
**name** | **string** | | [default to undefined]
|
|
9
|
+
**industry** | **string** | | [default to undefined]
|
|
10
|
+
**employee_count** | **number** | | [default to undefined]
|
|
11
|
+
**domain** | **string** | | [default to undefined]
|
|
12
|
+
**status** | **string** | | [optional] [default to undefined]
|
|
13
|
+
**id** | **string** | | [default to undefined]
|
|
14
|
+
**updated_at** | **string** | | [default to undefined]
|
|
15
|
+
|
|
16
|
+
## Example
|
|
17
|
+
|
|
18
|
+
```typescript
|
|
19
|
+
import { SrcDomainsOrganizationSchemasCompanyCompanyInDBBase } from './api';
|
|
20
|
+
|
|
21
|
+
const instance: SrcDomainsOrganizationSchemasCompanyCompanyInDBBase = {
|
|
22
|
+
name,
|
|
23
|
+
industry,
|
|
24
|
+
employee_count,
|
|
25
|
+
domain,
|
|
26
|
+
status,
|
|
27
|
+
id,
|
|
28
|
+
updated_at,
|
|
29
|
+
};
|
|
30
|
+
```
|
|
31
|
+
|
|
32
|
+
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
# SrcSharedSchemasCompanyCompanyInDBBase
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
## Properties
|
|
5
|
+
|
|
6
|
+
Name | Type | Description | Notes
|
|
7
|
+
------------ | ------------- | ------------- | -------------
|
|
8
|
+
**name** | **string** | | [default to undefined]
|
|
9
|
+
**industry** | **string** | | [default to undefined]
|
|
10
|
+
**employee_count** | **number** | | [default to undefined]
|
|
11
|
+
**domain** | **string** | | [default to undefined]
|
|
12
|
+
**status** | **string** | | [optional] [default to undefined]
|
|
13
|
+
**id** | **string** | | [default to undefined]
|
|
14
|
+
**updated_at** | **string** | | [default to undefined]
|
|
15
|
+
**compliance** | [**CompanyComplianceInDB**](CompanyComplianceInDB.md) | | [optional] [default to undefined]
|
|
16
|
+
|
|
17
|
+
## Example
|
|
18
|
+
|
|
19
|
+
```typescript
|
|
20
|
+
import { SrcSharedSchemasCompanyCompanyInDBBase } from './api';
|
|
21
|
+
|
|
22
|
+
const instance: SrcSharedSchemasCompanyCompanyInDBBase = {
|
|
23
|
+
name,
|
|
24
|
+
industry,
|
|
25
|
+
employee_count,
|
|
26
|
+
domain,
|
|
27
|
+
status,
|
|
28
|
+
id,
|
|
29
|
+
updated_at,
|
|
30
|
+
compliance,
|
|
31
|
+
};
|
|
32
|
+
```
|
|
33
|
+
|
|
34
|
+
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
|
|
@@ -8,7 +8,7 @@ Name | Type | Description | Notes
|
|
|
8
8
|
**subscription_id** | **string** | | [default to undefined]
|
|
9
9
|
**status** | **string** | | [default to undefined]
|
|
10
10
|
**product_id** | **string** | | [default to undefined]
|
|
11
|
-
**customer** | [**
|
|
11
|
+
**customer** | [**CustomerDBBase**](CustomerDBBase.md) | | [default to undefined]
|
|
12
12
|
**subscribed_till** | **string** | | [default to undefined]
|
|
13
13
|
|
|
14
14
|
## Example
|
package/docs/TaskRead.md
CHANGED
|
@@ -14,6 +14,7 @@ Name | Type | Description | Notes
|
|
|
14
14
|
**updated_at** | **string** | | [default to undefined]
|
|
15
15
|
**priority** | [**TaskPriority**](TaskPriority.md) | | [default to undefined]
|
|
16
16
|
**status** | [**TaskStatus**](TaskStatus.md) | | [default to undefined]
|
|
17
|
+
**control_id** | **string** | | [default to undefined]
|
|
17
18
|
|
|
18
19
|
## Example
|
|
19
20
|
|
|
@@ -30,6 +31,7 @@ const instance: TaskRead = {
|
|
|
30
31
|
updated_at,
|
|
31
32
|
priority,
|
|
32
33
|
status,
|
|
34
|
+
control_id,
|
|
33
35
|
};
|
|
34
36
|
```
|
|
35
37
|
|
package/docs/TaskWithUser.md
CHANGED
|
@@ -14,6 +14,7 @@ Name | Type | Description | Notes
|
|
|
14
14
|
**updated_at** | **string** | | [default to undefined]
|
|
15
15
|
**priority** | [**TaskPriority**](TaskPriority.md) | | [default to undefined]
|
|
16
16
|
**status** | [**TaskStatus**](TaskStatus.md) | | [default to undefined]
|
|
17
|
+
**control_id** | **string** | | [default to undefined]
|
|
17
18
|
**assigned_to** | [**UserWithId**](UserWithId.md) | | [default to undefined]
|
|
18
19
|
|
|
19
20
|
## Example
|
|
@@ -31,6 +32,7 @@ const instance: TaskWithUser = {
|
|
|
31
32
|
updated_at,
|
|
32
33
|
priority,
|
|
33
34
|
status,
|
|
35
|
+
control_id,
|
|
34
36
|
assigned_to,
|
|
35
37
|
};
|
|
36
38
|
```
|
package/docs/TasksApi.md
CHANGED
|
@@ -6,6 +6,7 @@ All URIs are relative to *http://localhost*
|
|
|
6
6
|
|------------- | ------------- | -------------|
|
|
7
7
|
|[**createTaskV1TasksPost**](#createtaskv1taskspost) | **POST** /v1/tasks/ | Create Task|
|
|
8
8
|
|[**deleteTaskV1TasksDelete**](#deletetaskv1tasksdelete) | **DELETE** /v1/tasks/ | Delete Task|
|
|
9
|
+
|[**getTaskV1TasksGetTaskIdGet**](#gettaskv1tasksgettaskidget) | **GET** /v1/tasks/get/{task_id} | Get Task|
|
|
9
10
|
|[**listTasksForCompanyV1TasksCompanyGet**](#listtasksforcompanyv1taskscompanyget) | **GET** /v1/tasks/company | List Tasks For Company|
|
|
10
11
|
|[**listTasksForUserV1TasksUserGet**](#listtasksforuserv1tasksuserget) | **GET** /v1/tasks/user | List Tasks For User|
|
|
11
12
|
|[**requestTaskSchedulingV1TasksSchedulePost**](#requesttaskschedulingv1tasksschedulepost) | **POST** /v1/tasks/schedule | Request Task Scheduling|
|
|
@@ -120,6 +121,63 @@ No authorization required
|
|
|
120
121
|
- **Accept**: application/json
|
|
121
122
|
|
|
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
|
+
# **getTaskV1TasksGetTaskIdGet**
|
|
133
|
+
> TaskWithUser getTaskV1TasksGetTaskIdGet()
|
|
134
|
+
|
|
135
|
+
|
|
136
|
+
### Example
|
|
137
|
+
|
|
138
|
+
```typescript
|
|
139
|
+
import {
|
|
140
|
+
TasksApi,
|
|
141
|
+
Configuration
|
|
142
|
+
} from './api';
|
|
143
|
+
|
|
144
|
+
const configuration = new Configuration();
|
|
145
|
+
const apiInstance = new TasksApi(configuration);
|
|
146
|
+
|
|
147
|
+
let taskId: 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.getTaskV1TasksGetTaskIdGet(
|
|
152
|
+
taskId,
|
|
153
|
+
authorization,
|
|
154
|
+
sessionId
|
|
155
|
+
);
|
|
156
|
+
```
|
|
157
|
+
|
|
158
|
+
### Parameters
|
|
159
|
+
|
|
160
|
+
|Name | Type | Description | Notes|
|
|
161
|
+
|------------- | ------------- | ------------- | -------------|
|
|
162
|
+
| **taskId** | [**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
|
+
**TaskWithUser**
|
|
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
|
+
|
|
123
181
|
### HTTP response details
|
|
124
182
|
| Status code | Description | Response headers |
|
|
125
183
|
|-------------|-------------|------------------|
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
Name | Type | Description | Notes
|
|
7
7
|
------------ | ------------- | ------------- | -------------
|
|
8
8
|
**role** | **string** | | [default to undefined]
|
|
9
|
-
**company** | [**
|
|
9
|
+
**company** | [**SrcSharedSchemasCompanyCompanyInDBBase**](SrcSharedSchemasCompanyCompanyInDBBase.md) | | [default to undefined]
|
|
10
10
|
|
|
11
11
|
## Example
|
|
12
12
|
|