@rasadov/lumoar-sdk 1.0.12 → 1.0.14
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 +0 -2
- package/api.ts +4 -52
- package/dist/api.d.ts +4 -42
- package/dist/api.js +0 -18
- package/docs/SchedulerRequest.md +4 -10
- package/package.json +1 -1
package/.openapi-generator/FILES
CHANGED
|
@@ -27,7 +27,6 @@ docs/CreateTaskSchema.md
|
|
|
27
27
|
docs/CustomerDoesNotExist.md
|
|
28
28
|
docs/CustomerPortalSession.md
|
|
29
29
|
docs/DeleteTaskSchema.md
|
|
30
|
-
docs/DeliveryMethod.md
|
|
31
30
|
docs/Details.md
|
|
32
31
|
docs/EvidenceApi.md
|
|
33
32
|
docs/EvidenceBase.md
|
|
@@ -53,7 +52,6 @@ docs/PolicyCreate.md
|
|
|
53
52
|
docs/PolicyRead.md
|
|
54
53
|
docs/PolicyUpdate.md
|
|
55
54
|
docs/RegisterSchema.md
|
|
56
|
-
docs/ReminderFrequency.md
|
|
57
55
|
docs/RemoveFromCompany.md
|
|
58
56
|
docs/ReportBase.md
|
|
59
57
|
docs/ReportGenerate.md
|
package/api.ts
CHANGED
|
@@ -864,19 +864,6 @@ export interface DeleteTaskSchema {
|
|
|
864
864
|
*/
|
|
865
865
|
'id': string;
|
|
866
866
|
}
|
|
867
|
-
/**
|
|
868
|
-
*
|
|
869
|
-
* @export
|
|
870
|
-
* @enum {string}
|
|
871
|
-
*/
|
|
872
|
-
|
|
873
|
-
export const DeliveryMethod = {
|
|
874
|
-
Email: 'email'
|
|
875
|
-
} as const;
|
|
876
|
-
|
|
877
|
-
export type DeliveryMethod = typeof DeliveryMethod[keyof typeof DeliveryMethod];
|
|
878
|
-
|
|
879
|
-
|
|
880
867
|
/**
|
|
881
868
|
*
|
|
882
869
|
* @export
|
|
@@ -1463,21 +1450,6 @@ export interface RegisterSchema {
|
|
|
1463
1450
|
*/
|
|
1464
1451
|
'password_repeat': string;
|
|
1465
1452
|
}
|
|
1466
|
-
/**
|
|
1467
|
-
*
|
|
1468
|
-
* @export
|
|
1469
|
-
* @enum {string}
|
|
1470
|
-
*/
|
|
1471
|
-
|
|
1472
|
-
export const ReminderFrequency = {
|
|
1473
|
-
Daily: 'daily',
|
|
1474
|
-
Weekly: 'weekly',
|
|
1475
|
-
Custom: 'custom'
|
|
1476
|
-
} as const;
|
|
1477
|
-
|
|
1478
|
-
export type ReminderFrequency = typeof ReminderFrequency[keyof typeof ReminderFrequency];
|
|
1479
|
-
|
|
1480
|
-
|
|
1481
1453
|
/**
|
|
1482
1454
|
*
|
|
1483
1455
|
* @export
|
|
@@ -1609,18 +1581,6 @@ export interface SchedulerRequest {
|
|
|
1609
1581
|
* @memberof SchedulerRequest
|
|
1610
1582
|
*/
|
|
1611
1583
|
'company_id': string;
|
|
1612
|
-
/**
|
|
1613
|
-
*
|
|
1614
|
-
* @type {Array<string>}
|
|
1615
|
-
* @memberof SchedulerRequest
|
|
1616
|
-
*/
|
|
1617
|
-
'control_ids': Array<string>;
|
|
1618
|
-
/**
|
|
1619
|
-
*
|
|
1620
|
-
* @type {Array<string>}
|
|
1621
|
-
* @memberof SchedulerRequest
|
|
1622
|
-
*/
|
|
1623
|
-
'user_ids': Array<string>;
|
|
1624
1584
|
/**
|
|
1625
1585
|
*
|
|
1626
1586
|
* @type {number}
|
|
@@ -1629,25 +1589,17 @@ export interface SchedulerRequest {
|
|
|
1629
1589
|
'expected_finish_days': number;
|
|
1630
1590
|
/**
|
|
1631
1591
|
*
|
|
1632
|
-
* @type {
|
|
1633
|
-
* @memberof SchedulerRequest
|
|
1634
|
-
*/
|
|
1635
|
-
'frequency'?: ReminderFrequency;
|
|
1636
|
-
/**
|
|
1637
|
-
*
|
|
1638
|
-
* @type {DeliveryMethod}
|
|
1592
|
+
* @type {Array<PermissionType>}
|
|
1639
1593
|
* @memberof SchedulerRequest
|
|
1640
1594
|
*/
|
|
1641
|
-
'
|
|
1595
|
+
'user_roles_to_assign'?: Array<PermissionType>;
|
|
1642
1596
|
/**
|
|
1643
1597
|
*
|
|
1644
|
-
* @type {
|
|
1598
|
+
* @type {Array<string>}
|
|
1645
1599
|
* @memberof SchedulerRequest
|
|
1646
1600
|
*/
|
|
1647
|
-
'
|
|
1601
|
+
'user_ids_to_assign'?: Array<string>;
|
|
1648
1602
|
}
|
|
1649
|
-
|
|
1650
|
-
|
|
1651
1603
|
/**
|
|
1652
1604
|
*
|
|
1653
1605
|
* @export
|
package/dist/api.d.ts
CHANGED
|
@@ -838,15 +838,6 @@ export interface DeleteTaskSchema {
|
|
|
838
838
|
*/
|
|
839
839
|
'id': string;
|
|
840
840
|
}
|
|
841
|
-
/**
|
|
842
|
-
*
|
|
843
|
-
* @export
|
|
844
|
-
* @enum {string}
|
|
845
|
-
*/
|
|
846
|
-
export declare const DeliveryMethod: {
|
|
847
|
-
readonly Email: "email";
|
|
848
|
-
};
|
|
849
|
-
export type DeliveryMethod = typeof DeliveryMethod[keyof typeof DeliveryMethod];
|
|
850
841
|
/**
|
|
851
842
|
*
|
|
852
843
|
* @export
|
|
@@ -1431,17 +1422,6 @@ export interface RegisterSchema {
|
|
|
1431
1422
|
*/
|
|
1432
1423
|
'password_repeat': string;
|
|
1433
1424
|
}
|
|
1434
|
-
/**
|
|
1435
|
-
*
|
|
1436
|
-
* @export
|
|
1437
|
-
* @enum {string}
|
|
1438
|
-
*/
|
|
1439
|
-
export declare const ReminderFrequency: {
|
|
1440
|
-
readonly Daily: "daily";
|
|
1441
|
-
readonly Weekly: "weekly";
|
|
1442
|
-
readonly Custom: "custom";
|
|
1443
|
-
};
|
|
1444
|
-
export type ReminderFrequency = typeof ReminderFrequency[keyof typeof ReminderFrequency];
|
|
1445
1425
|
/**
|
|
1446
1426
|
*
|
|
1447
1427
|
* @export
|
|
@@ -1573,18 +1553,6 @@ export interface SchedulerRequest {
|
|
|
1573
1553
|
* @memberof SchedulerRequest
|
|
1574
1554
|
*/
|
|
1575
1555
|
'company_id': string;
|
|
1576
|
-
/**
|
|
1577
|
-
*
|
|
1578
|
-
* @type {Array<string>}
|
|
1579
|
-
* @memberof SchedulerRequest
|
|
1580
|
-
*/
|
|
1581
|
-
'control_ids': Array<string>;
|
|
1582
|
-
/**
|
|
1583
|
-
*
|
|
1584
|
-
* @type {Array<string>}
|
|
1585
|
-
* @memberof SchedulerRequest
|
|
1586
|
-
*/
|
|
1587
|
-
'user_ids': Array<string>;
|
|
1588
1556
|
/**
|
|
1589
1557
|
*
|
|
1590
1558
|
* @type {number}
|
|
@@ -1593,22 +1561,16 @@ export interface SchedulerRequest {
|
|
|
1593
1561
|
'expected_finish_days': number;
|
|
1594
1562
|
/**
|
|
1595
1563
|
*
|
|
1596
|
-
* @type {
|
|
1564
|
+
* @type {Array<PermissionType>}
|
|
1597
1565
|
* @memberof SchedulerRequest
|
|
1598
1566
|
*/
|
|
1599
|
-
'
|
|
1567
|
+
'user_roles_to_assign'?: Array<PermissionType>;
|
|
1600
1568
|
/**
|
|
1601
1569
|
*
|
|
1602
|
-
* @type {
|
|
1603
|
-
* @memberof SchedulerRequest
|
|
1604
|
-
*/
|
|
1605
|
-
'delivery_method'?: DeliveryMethod;
|
|
1606
|
-
/**
|
|
1607
|
-
*
|
|
1608
|
-
* @type {number}
|
|
1570
|
+
* @type {Array<string>}
|
|
1609
1571
|
* @memberof SchedulerRequest
|
|
1610
1572
|
*/
|
|
1611
|
-
'
|
|
1573
|
+
'user_ids_to_assign'?: Array<string>;
|
|
1612
1574
|
}
|
|
1613
1575
|
/**
|
|
1614
1576
|
*
|
package/dist/api.js
CHANGED
|
@@ -72,14 +72,6 @@ export const ControlStatus = {
|
|
|
72
72
|
Skipped: 'skipped',
|
|
73
73
|
PendingReview: 'pending_review'
|
|
74
74
|
};
|
|
75
|
-
/**
|
|
76
|
-
*
|
|
77
|
-
* @export
|
|
78
|
-
* @enum {string}
|
|
79
|
-
*/
|
|
80
|
-
export const DeliveryMethod = {
|
|
81
|
-
Email: 'email'
|
|
82
|
-
};
|
|
83
75
|
/**
|
|
84
76
|
*
|
|
85
77
|
* @export
|
|
@@ -91,16 +83,6 @@ export const PermissionType = {
|
|
|
91
83
|
Member: 'member',
|
|
92
84
|
Auditor: 'auditor'
|
|
93
85
|
};
|
|
94
|
-
/**
|
|
95
|
-
*
|
|
96
|
-
* @export
|
|
97
|
-
* @enum {string}
|
|
98
|
-
*/
|
|
99
|
-
export const ReminderFrequency = {
|
|
100
|
-
Daily: 'daily',
|
|
101
|
-
Weekly: 'weekly',
|
|
102
|
-
Custom: 'custom'
|
|
103
|
-
};
|
|
104
86
|
/**
|
|
105
87
|
* AuditLogsApi - axios parameter creator
|
|
106
88
|
* @export
|
package/docs/SchedulerRequest.md
CHANGED
|
@@ -6,12 +6,9 @@
|
|
|
6
6
|
Name | Type | Description | Notes
|
|
7
7
|
------------ | ------------- | ------------- | -------------
|
|
8
8
|
**company_id** | **string** | | [default to undefined]
|
|
9
|
-
**control_ids** | **Array<string>** | | [default to undefined]
|
|
10
|
-
**user_ids** | **Array<string>** | | [default to undefined]
|
|
11
9
|
**expected_finish_days** | **number** | | [default to undefined]
|
|
12
|
-
**
|
|
13
|
-
**
|
|
14
|
-
**reminder_offset_days** | **number** | | [optional] [default to 1]
|
|
10
|
+
**user_roles_to_assign** | [**Array<PermissionType>**](PermissionType.md) | | [optional] [default to undefined]
|
|
11
|
+
**user_ids_to_assign** | **Array<string>** | | [optional] [default to undefined]
|
|
15
12
|
|
|
16
13
|
## Example
|
|
17
14
|
|
|
@@ -20,12 +17,9 @@ import { SchedulerRequest } from './api';
|
|
|
20
17
|
|
|
21
18
|
const instance: SchedulerRequest = {
|
|
22
19
|
company_id,
|
|
23
|
-
control_ids,
|
|
24
|
-
user_ids,
|
|
25
20
|
expected_finish_days,
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
reminder_offset_days,
|
|
21
|
+
user_roles_to_assign,
|
|
22
|
+
user_ids_to_assign,
|
|
29
23
|
};
|
|
30
24
|
```
|
|
31
25
|
|