@rasadov/lumoar-sdk 1.0.7 → 1.0.9
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 +13 -0
- package/api.ts +1366 -64
- package/dist/api.d.ts +849 -20
- package/dist/api.js +995 -63
- package/dist/index.d.ts +0 -1
- package/dist/index.js +0 -1
- package/dist/sdk.d.ts +5 -1
- package/dist/sdk.js +5 -1
- package/docs/CreateTaskSchema.md +28 -0
- package/docs/DeleteTaskSchema.md +20 -0
- package/docs/DeliveryMethod.md +8 -0
- package/docs/PaginationResponseReportBase.md +22 -0
- package/docs/PaginationResponseTaskRead.md +22 -0
- package/docs/ReminderFrequency.md +12 -0
- package/docs/ReportBase.md +32 -0
- package/docs/ReportGenerate.md +20 -0
- package/docs/ReportsApi.md +254 -0
- package/docs/SchedulerRequest.md +32 -0
- package/docs/TaskRead.md +38 -0
- package/docs/TasksApi.md +371 -0
- package/docs/UpdateTaskSchema.md +28 -0
- package/index.ts +1 -1
- package/package.json +1 -1
- package/sdk.ts +8 -0
package/api.ts
CHANGED
|
@@ -786,6 +786,43 @@ export interface ControlWithRelationships {
|
|
|
786
786
|
*/
|
|
787
787
|
'evidences'?: Array<EvidenceBase>;
|
|
788
788
|
}
|
|
789
|
+
/**
|
|
790
|
+
*
|
|
791
|
+
* @export
|
|
792
|
+
* @interface CreateTaskSchema
|
|
793
|
+
*/
|
|
794
|
+
export interface CreateTaskSchema {
|
|
795
|
+
/**
|
|
796
|
+
*
|
|
797
|
+
* @type {string}
|
|
798
|
+
* @memberof CreateTaskSchema
|
|
799
|
+
*/
|
|
800
|
+
'company_id': string;
|
|
801
|
+
/**
|
|
802
|
+
*
|
|
803
|
+
* @type {string}
|
|
804
|
+
* @memberof CreateTaskSchema
|
|
805
|
+
*/
|
|
806
|
+
'title': string;
|
|
807
|
+
/**
|
|
808
|
+
*
|
|
809
|
+
* @type {string}
|
|
810
|
+
* @memberof CreateTaskSchema
|
|
811
|
+
*/
|
|
812
|
+
'description': string;
|
|
813
|
+
/**
|
|
814
|
+
*
|
|
815
|
+
* @type {string}
|
|
816
|
+
* @memberof CreateTaskSchema
|
|
817
|
+
*/
|
|
818
|
+
'due_date': string;
|
|
819
|
+
/**
|
|
820
|
+
*
|
|
821
|
+
* @type {string}
|
|
822
|
+
* @memberof CreateTaskSchema
|
|
823
|
+
*/
|
|
824
|
+
'assigned_to_id': string;
|
|
825
|
+
}
|
|
789
826
|
/**
|
|
790
827
|
*
|
|
791
828
|
* @export
|
|
@@ -814,6 +851,32 @@ export interface CustomerPortalSession {
|
|
|
814
851
|
*/
|
|
815
852
|
'link': string;
|
|
816
853
|
}
|
|
854
|
+
/**
|
|
855
|
+
*
|
|
856
|
+
* @export
|
|
857
|
+
* @interface DeleteTaskSchema
|
|
858
|
+
*/
|
|
859
|
+
export interface DeleteTaskSchema {
|
|
860
|
+
/**
|
|
861
|
+
*
|
|
862
|
+
* @type {string}
|
|
863
|
+
* @memberof DeleteTaskSchema
|
|
864
|
+
*/
|
|
865
|
+
'id': string;
|
|
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
|
+
|
|
817
880
|
/**
|
|
818
881
|
*
|
|
819
882
|
* @export
|
|
@@ -1177,6 +1240,44 @@ export interface PaginationResponsePolicyRead {
|
|
|
1177
1240
|
*/
|
|
1178
1241
|
'total': number;
|
|
1179
1242
|
}
|
|
1243
|
+
/**
|
|
1244
|
+
*
|
|
1245
|
+
* @export
|
|
1246
|
+
* @interface PaginationResponseReportBase
|
|
1247
|
+
*/
|
|
1248
|
+
export interface PaginationResponseReportBase {
|
|
1249
|
+
/**
|
|
1250
|
+
*
|
|
1251
|
+
* @type {Array<ReportBase>}
|
|
1252
|
+
* @memberof PaginationResponseReportBase
|
|
1253
|
+
*/
|
|
1254
|
+
'items': Array<ReportBase>;
|
|
1255
|
+
/**
|
|
1256
|
+
*
|
|
1257
|
+
* @type {number}
|
|
1258
|
+
* @memberof PaginationResponseReportBase
|
|
1259
|
+
*/
|
|
1260
|
+
'total': number;
|
|
1261
|
+
}
|
|
1262
|
+
/**
|
|
1263
|
+
*
|
|
1264
|
+
* @export
|
|
1265
|
+
* @interface PaginationResponseTaskRead
|
|
1266
|
+
*/
|
|
1267
|
+
export interface PaginationResponseTaskRead {
|
|
1268
|
+
/**
|
|
1269
|
+
*
|
|
1270
|
+
* @type {Array<TaskRead>}
|
|
1271
|
+
* @memberof PaginationResponseTaskRead
|
|
1272
|
+
*/
|
|
1273
|
+
'items': Array<TaskRead>;
|
|
1274
|
+
/**
|
|
1275
|
+
*
|
|
1276
|
+
* @type {number}
|
|
1277
|
+
* @memberof PaginationResponseTaskRead
|
|
1278
|
+
*/
|
|
1279
|
+
'total': number;
|
|
1280
|
+
}
|
|
1180
1281
|
/**
|
|
1181
1282
|
*
|
|
1182
1283
|
* @export
|
|
@@ -1341,6 +1442,21 @@ export interface RegisterSchema {
|
|
|
1341
1442
|
*/
|
|
1342
1443
|
'password_repeat': string;
|
|
1343
1444
|
}
|
|
1445
|
+
/**
|
|
1446
|
+
*
|
|
1447
|
+
* @export
|
|
1448
|
+
* @enum {string}
|
|
1449
|
+
*/
|
|
1450
|
+
|
|
1451
|
+
export const ReminderFrequency = {
|
|
1452
|
+
Daily: 'daily',
|
|
1453
|
+
Weekly: 'weekly',
|
|
1454
|
+
Custom: 'custom'
|
|
1455
|
+
} as const;
|
|
1456
|
+
|
|
1457
|
+
export type ReminderFrequency = typeof ReminderFrequency[keyof typeof ReminderFrequency];
|
|
1458
|
+
|
|
1459
|
+
|
|
1344
1460
|
/**
|
|
1345
1461
|
*
|
|
1346
1462
|
* @export
|
|
@@ -1360,6 +1476,68 @@ export interface RemoveFromCompany {
|
|
|
1360
1476
|
*/
|
|
1361
1477
|
'company_id': string;
|
|
1362
1478
|
}
|
|
1479
|
+
/**
|
|
1480
|
+
*
|
|
1481
|
+
* @export
|
|
1482
|
+
* @interface ReportBase
|
|
1483
|
+
*/
|
|
1484
|
+
export interface ReportBase {
|
|
1485
|
+
/**
|
|
1486
|
+
*
|
|
1487
|
+
* @type {string}
|
|
1488
|
+
* @memberof ReportBase
|
|
1489
|
+
*/
|
|
1490
|
+
'id': string;
|
|
1491
|
+
/**
|
|
1492
|
+
*
|
|
1493
|
+
* @type {string}
|
|
1494
|
+
* @memberof ReportBase
|
|
1495
|
+
*/
|
|
1496
|
+
'company_id': string;
|
|
1497
|
+
/**
|
|
1498
|
+
*
|
|
1499
|
+
* @type {string}
|
|
1500
|
+
* @memberof ReportBase
|
|
1501
|
+
*/
|
|
1502
|
+
'title': string;
|
|
1503
|
+
/**
|
|
1504
|
+
*
|
|
1505
|
+
* @type {string}
|
|
1506
|
+
* @memberof ReportBase
|
|
1507
|
+
*/
|
|
1508
|
+
'share_expiration'?: string | null;
|
|
1509
|
+
/**
|
|
1510
|
+
*
|
|
1511
|
+
* @type {string}
|
|
1512
|
+
* @memberof ReportBase
|
|
1513
|
+
*/
|
|
1514
|
+
'status': string;
|
|
1515
|
+
/**
|
|
1516
|
+
*
|
|
1517
|
+
* @type {string}
|
|
1518
|
+
* @memberof ReportBase
|
|
1519
|
+
*/
|
|
1520
|
+
'created_at': string;
|
|
1521
|
+
/**
|
|
1522
|
+
*
|
|
1523
|
+
* @type {string}
|
|
1524
|
+
* @memberof ReportBase
|
|
1525
|
+
*/
|
|
1526
|
+
'updated_at': string;
|
|
1527
|
+
}
|
|
1528
|
+
/**
|
|
1529
|
+
*
|
|
1530
|
+
* @export
|
|
1531
|
+
* @interface ReportGenerate
|
|
1532
|
+
*/
|
|
1533
|
+
export interface ReportGenerate {
|
|
1534
|
+
/**
|
|
1535
|
+
*
|
|
1536
|
+
* @type {string}
|
|
1537
|
+
* @memberof ReportGenerate
|
|
1538
|
+
*/
|
|
1539
|
+
'report_id': string;
|
|
1540
|
+
}
|
|
1363
1541
|
/**
|
|
1364
1542
|
*
|
|
1365
1543
|
* @export
|
|
@@ -1398,6 +1576,124 @@ export interface RolesWithUser {
|
|
|
1398
1576
|
*/
|
|
1399
1577
|
'user': UserBase;
|
|
1400
1578
|
}
|
|
1579
|
+
/**
|
|
1580
|
+
*
|
|
1581
|
+
* @export
|
|
1582
|
+
* @interface SchedulerRequest
|
|
1583
|
+
*/
|
|
1584
|
+
export interface SchedulerRequest {
|
|
1585
|
+
/**
|
|
1586
|
+
*
|
|
1587
|
+
* @type {string}
|
|
1588
|
+
* @memberof SchedulerRequest
|
|
1589
|
+
*/
|
|
1590
|
+
'company_id': string;
|
|
1591
|
+
/**
|
|
1592
|
+
*
|
|
1593
|
+
* @type {Array<string>}
|
|
1594
|
+
* @memberof SchedulerRequest
|
|
1595
|
+
*/
|
|
1596
|
+
'control_ids': Array<string>;
|
|
1597
|
+
/**
|
|
1598
|
+
*
|
|
1599
|
+
* @type {Array<string>}
|
|
1600
|
+
* @memberof SchedulerRequest
|
|
1601
|
+
*/
|
|
1602
|
+
'user_ids': Array<string>;
|
|
1603
|
+
/**
|
|
1604
|
+
*
|
|
1605
|
+
* @type {number}
|
|
1606
|
+
* @memberof SchedulerRequest
|
|
1607
|
+
*/
|
|
1608
|
+
'expected_finish_days': number;
|
|
1609
|
+
/**
|
|
1610
|
+
*
|
|
1611
|
+
* @type {ReminderFrequency}
|
|
1612
|
+
* @memberof SchedulerRequest
|
|
1613
|
+
*/
|
|
1614
|
+
'frequency'?: ReminderFrequency;
|
|
1615
|
+
/**
|
|
1616
|
+
*
|
|
1617
|
+
* @type {DeliveryMethod}
|
|
1618
|
+
* @memberof SchedulerRequest
|
|
1619
|
+
*/
|
|
1620
|
+
'delivery_method'?: DeliveryMethod;
|
|
1621
|
+
/**
|
|
1622
|
+
*
|
|
1623
|
+
* @type {number}
|
|
1624
|
+
* @memberof SchedulerRequest
|
|
1625
|
+
*/
|
|
1626
|
+
'reminder_offset_days'?: number;
|
|
1627
|
+
}
|
|
1628
|
+
|
|
1629
|
+
|
|
1630
|
+
/**
|
|
1631
|
+
*
|
|
1632
|
+
* @export
|
|
1633
|
+
* @interface TaskRead
|
|
1634
|
+
*/
|
|
1635
|
+
export interface TaskRead {
|
|
1636
|
+
/**
|
|
1637
|
+
*
|
|
1638
|
+
* @type {string}
|
|
1639
|
+
* @memberof TaskRead
|
|
1640
|
+
*/
|
|
1641
|
+
'id': string;
|
|
1642
|
+
/**
|
|
1643
|
+
*
|
|
1644
|
+
* @type {string}
|
|
1645
|
+
* @memberof TaskRead
|
|
1646
|
+
*/
|
|
1647
|
+
'company_id': string;
|
|
1648
|
+
/**
|
|
1649
|
+
*
|
|
1650
|
+
* @type {string}
|
|
1651
|
+
* @memberof TaskRead
|
|
1652
|
+
*/
|
|
1653
|
+
'title': string;
|
|
1654
|
+
/**
|
|
1655
|
+
*
|
|
1656
|
+
* @type {string}
|
|
1657
|
+
* @memberof TaskRead
|
|
1658
|
+
*/
|
|
1659
|
+
'description': string;
|
|
1660
|
+
/**
|
|
1661
|
+
*
|
|
1662
|
+
* @type {string}
|
|
1663
|
+
* @memberof TaskRead
|
|
1664
|
+
*/
|
|
1665
|
+
'due_date': string;
|
|
1666
|
+
/**
|
|
1667
|
+
*
|
|
1668
|
+
* @type {string}
|
|
1669
|
+
* @memberof TaskRead
|
|
1670
|
+
*/
|
|
1671
|
+
'assigned_to_id': string;
|
|
1672
|
+
/**
|
|
1673
|
+
*
|
|
1674
|
+
* @type {string}
|
|
1675
|
+
* @memberof TaskRead
|
|
1676
|
+
*/
|
|
1677
|
+
'created_at': string;
|
|
1678
|
+
/**
|
|
1679
|
+
*
|
|
1680
|
+
* @type {string}
|
|
1681
|
+
* @memberof TaskRead
|
|
1682
|
+
*/
|
|
1683
|
+
'updated_at': string;
|
|
1684
|
+
/**
|
|
1685
|
+
*
|
|
1686
|
+
* @type {number}
|
|
1687
|
+
* @memberof TaskRead
|
|
1688
|
+
*/
|
|
1689
|
+
'priority': number;
|
|
1690
|
+
/**
|
|
1691
|
+
*
|
|
1692
|
+
* @type {string}
|
|
1693
|
+
* @memberof TaskRead
|
|
1694
|
+
*/
|
|
1695
|
+
'status': string;
|
|
1696
|
+
}
|
|
1401
1697
|
/**
|
|
1402
1698
|
*
|
|
1403
1699
|
* @export
|
|
@@ -1444,6 +1740,43 @@ export interface UpdatePassword {
|
|
|
1444
1740
|
*/
|
|
1445
1741
|
'new_password': string;
|
|
1446
1742
|
}
|
|
1743
|
+
/**
|
|
1744
|
+
*
|
|
1745
|
+
* @export
|
|
1746
|
+
* @interface UpdateTaskSchema
|
|
1747
|
+
*/
|
|
1748
|
+
export interface UpdateTaskSchema {
|
|
1749
|
+
/**
|
|
1750
|
+
*
|
|
1751
|
+
* @type {string}
|
|
1752
|
+
* @memberof UpdateTaskSchema
|
|
1753
|
+
*/
|
|
1754
|
+
'id': string;
|
|
1755
|
+
/**
|
|
1756
|
+
*
|
|
1757
|
+
* @type {string}
|
|
1758
|
+
* @memberof UpdateTaskSchema
|
|
1759
|
+
*/
|
|
1760
|
+
'title': string;
|
|
1761
|
+
/**
|
|
1762
|
+
*
|
|
1763
|
+
* @type {string}
|
|
1764
|
+
* @memberof UpdateTaskSchema
|
|
1765
|
+
*/
|
|
1766
|
+
'description': string;
|
|
1767
|
+
/**
|
|
1768
|
+
*
|
|
1769
|
+
* @type {string}
|
|
1770
|
+
* @memberof UpdateTaskSchema
|
|
1771
|
+
*/
|
|
1772
|
+
'due_date': string;
|
|
1773
|
+
/**
|
|
1774
|
+
*
|
|
1775
|
+
* @type {string}
|
|
1776
|
+
* @memberof UpdateTaskSchema
|
|
1777
|
+
*/
|
|
1778
|
+
'assigned_to_id': string;
|
|
1779
|
+
}
|
|
1447
1780
|
/**
|
|
1448
1781
|
*
|
|
1449
1782
|
* @export
|
|
@@ -4839,24 +5172,25 @@ export class PoliciesApi extends BaseAPI {
|
|
|
4839
5172
|
|
|
4840
5173
|
|
|
4841
5174
|
/**
|
|
4842
|
-
*
|
|
5175
|
+
* ReportsApi - axios parameter creator
|
|
4843
5176
|
* @export
|
|
4844
5177
|
*/
|
|
4845
|
-
export const
|
|
5178
|
+
export const ReportsApiAxiosParamCreator = function (configuration?: Configuration) {
|
|
4846
5179
|
return {
|
|
4847
5180
|
/**
|
|
4848
|
-
*
|
|
4849
|
-
* @summary
|
|
4850
|
-
* @param {
|
|
5181
|
+
*
|
|
5182
|
+
* @summary Export Report
|
|
5183
|
+
* @param {string} reportId
|
|
4851
5184
|
* @param {string} [authorization]
|
|
4852
5185
|
* @param {string} [sessionId]
|
|
4853
5186
|
* @param {*} [options] Override http request option.
|
|
4854
5187
|
* @throws {RequiredError}
|
|
4855
5188
|
*/
|
|
4856
|
-
|
|
4857
|
-
// verify required parameter '
|
|
4858
|
-
assertParamExists('
|
|
4859
|
-
const localVarPath = `/v1/
|
|
5189
|
+
exportReportV1ReportsExportReportIdGet: async (reportId: string, authorization?: string, sessionId?: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
5190
|
+
// verify required parameter 'reportId' is not null or undefined
|
|
5191
|
+
assertParamExists('exportReportV1ReportsExportReportIdGet', 'reportId', reportId)
|
|
5192
|
+
const localVarPath = `/v1/reports/export/{report_id}`
|
|
5193
|
+
.replace(`{${"report_id"}}`, encodeURIComponent(String(reportId)));
|
|
4860
5194
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
4861
5195
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
4862
5196
|
let baseOptions;
|
|
@@ -4864,14 +5198,417 @@ export const RolesApiAxiosParamCreator = function (configuration?: Configuration
|
|
|
4864
5198
|
baseOptions = configuration.baseOptions;
|
|
4865
5199
|
}
|
|
4866
5200
|
|
|
4867
|
-
const localVarRequestOptions = { method: '
|
|
5201
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
4868
5202
|
const localVarHeaderParameter = {} as any;
|
|
4869
5203
|
const localVarQueryParameter = {} as any;
|
|
4870
5204
|
|
|
4871
5205
|
|
|
4872
5206
|
|
|
4873
|
-
|
|
4874
|
-
|
|
5207
|
+
if (authorization != null) {
|
|
5208
|
+
localVarHeaderParameter['Authorization'] = String(authorization);
|
|
5209
|
+
}
|
|
5210
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
5211
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
5212
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
5213
|
+
|
|
5214
|
+
return {
|
|
5215
|
+
url: toPathString(localVarUrlObj),
|
|
5216
|
+
options: localVarRequestOptions,
|
|
5217
|
+
};
|
|
5218
|
+
},
|
|
5219
|
+
/**
|
|
5220
|
+
*
|
|
5221
|
+
* @summary Generate Report
|
|
5222
|
+
* @param {string} companyId
|
|
5223
|
+
* @param {string} reportType
|
|
5224
|
+
* @param {{ [key: string]: any; }} requestBody
|
|
5225
|
+
* @param {string} [authorization]
|
|
5226
|
+
* @param {string} [sessionId]
|
|
5227
|
+
* @param {*} [options] Override http request option.
|
|
5228
|
+
* @throws {RequiredError}
|
|
5229
|
+
*/
|
|
5230
|
+
generateReportV1ReportsGeneratePost: async (companyId: string, reportType: string, requestBody: { [key: string]: any; }, authorization?: string, sessionId?: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
5231
|
+
// verify required parameter 'companyId' is not null or undefined
|
|
5232
|
+
assertParamExists('generateReportV1ReportsGeneratePost', 'companyId', companyId)
|
|
5233
|
+
// verify required parameter 'reportType' is not null or undefined
|
|
5234
|
+
assertParamExists('generateReportV1ReportsGeneratePost', 'reportType', reportType)
|
|
5235
|
+
// verify required parameter 'requestBody' is not null or undefined
|
|
5236
|
+
assertParamExists('generateReportV1ReportsGeneratePost', 'requestBody', requestBody)
|
|
5237
|
+
const localVarPath = `/v1/reports/generate`;
|
|
5238
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
5239
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
5240
|
+
let baseOptions;
|
|
5241
|
+
if (configuration) {
|
|
5242
|
+
baseOptions = configuration.baseOptions;
|
|
5243
|
+
}
|
|
5244
|
+
|
|
5245
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
5246
|
+
const localVarHeaderParameter = {} as any;
|
|
5247
|
+
const localVarQueryParameter = {} as any;
|
|
5248
|
+
|
|
5249
|
+
if (companyId !== undefined) {
|
|
5250
|
+
localVarQueryParameter['company_id'] = companyId;
|
|
5251
|
+
}
|
|
5252
|
+
|
|
5253
|
+
if (reportType !== undefined) {
|
|
5254
|
+
localVarQueryParameter['report_type'] = reportType;
|
|
5255
|
+
}
|
|
5256
|
+
|
|
5257
|
+
|
|
5258
|
+
|
|
5259
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
5260
|
+
|
|
5261
|
+
if (authorization != null) {
|
|
5262
|
+
localVarHeaderParameter['Authorization'] = String(authorization);
|
|
5263
|
+
}
|
|
5264
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
5265
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
5266
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
5267
|
+
localVarRequestOptions.data = serializeDataIfNeeded(requestBody, localVarRequestOptions, configuration)
|
|
5268
|
+
|
|
5269
|
+
return {
|
|
5270
|
+
url: toPathString(localVarUrlObj),
|
|
5271
|
+
options: localVarRequestOptions,
|
|
5272
|
+
};
|
|
5273
|
+
},
|
|
5274
|
+
/**
|
|
5275
|
+
*
|
|
5276
|
+
* @summary Get Evidence
|
|
5277
|
+
* @param {string} reportId
|
|
5278
|
+
* @param {string} evidenceId
|
|
5279
|
+
* @param {string} [authorization]
|
|
5280
|
+
* @param {string} [sessionId]
|
|
5281
|
+
* @param {*} [options] Override http request option.
|
|
5282
|
+
* @throws {RequiredError}
|
|
5283
|
+
*/
|
|
5284
|
+
getEvidenceV1ReportsEvidenceReportIdEvidenceIdGet: async (reportId: string, evidenceId: string, authorization?: string, sessionId?: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
5285
|
+
// verify required parameter 'reportId' is not null or undefined
|
|
5286
|
+
assertParamExists('getEvidenceV1ReportsEvidenceReportIdEvidenceIdGet', 'reportId', reportId)
|
|
5287
|
+
// verify required parameter 'evidenceId' is not null or undefined
|
|
5288
|
+
assertParamExists('getEvidenceV1ReportsEvidenceReportIdEvidenceIdGet', 'evidenceId', evidenceId)
|
|
5289
|
+
const localVarPath = `/v1/reports/evidence/{report_id}/{evidence_id}`
|
|
5290
|
+
.replace(`{${"report_id"}}`, encodeURIComponent(String(reportId)))
|
|
5291
|
+
.replace(`{${"evidence_id"}}`, encodeURIComponent(String(evidenceId)));
|
|
5292
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
5293
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
5294
|
+
let baseOptions;
|
|
5295
|
+
if (configuration) {
|
|
5296
|
+
baseOptions = configuration.baseOptions;
|
|
5297
|
+
}
|
|
5298
|
+
|
|
5299
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
5300
|
+
const localVarHeaderParameter = {} as any;
|
|
5301
|
+
const localVarQueryParameter = {} as any;
|
|
5302
|
+
|
|
5303
|
+
|
|
5304
|
+
|
|
5305
|
+
if (authorization != null) {
|
|
5306
|
+
localVarHeaderParameter['Authorization'] = String(authorization);
|
|
5307
|
+
}
|
|
5308
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
5309
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
5310
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
5311
|
+
|
|
5312
|
+
return {
|
|
5313
|
+
url: toPathString(localVarUrlObj),
|
|
5314
|
+
options: localVarRequestOptions,
|
|
5315
|
+
};
|
|
5316
|
+
},
|
|
5317
|
+
/**
|
|
5318
|
+
*
|
|
5319
|
+
* @summary List Reports
|
|
5320
|
+
* @param {string} companyId
|
|
5321
|
+
* @param {number} [page]
|
|
5322
|
+
* @param {number} [elements]
|
|
5323
|
+
* @param {string} [authorization]
|
|
5324
|
+
* @param {string} [sessionId]
|
|
5325
|
+
* @param {*} [options] Override http request option.
|
|
5326
|
+
* @throws {RequiredError}
|
|
5327
|
+
*/
|
|
5328
|
+
listReportsV1ReportsListCompanyIdGet: async (companyId: string, page?: number, elements?: number, authorization?: string, sessionId?: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
5329
|
+
// verify required parameter 'companyId' is not null or undefined
|
|
5330
|
+
assertParamExists('listReportsV1ReportsListCompanyIdGet', 'companyId', companyId)
|
|
5331
|
+
const localVarPath = `/v1/reports/list/{company_id}`
|
|
5332
|
+
.replace(`{${"company_id"}}`, encodeURIComponent(String(companyId)));
|
|
5333
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
5334
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
5335
|
+
let baseOptions;
|
|
5336
|
+
if (configuration) {
|
|
5337
|
+
baseOptions = configuration.baseOptions;
|
|
5338
|
+
}
|
|
5339
|
+
|
|
5340
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
5341
|
+
const localVarHeaderParameter = {} as any;
|
|
5342
|
+
const localVarQueryParameter = {} as any;
|
|
5343
|
+
|
|
5344
|
+
if (page !== undefined) {
|
|
5345
|
+
localVarQueryParameter['page'] = page;
|
|
5346
|
+
}
|
|
5347
|
+
|
|
5348
|
+
if (elements !== undefined) {
|
|
5349
|
+
localVarQueryParameter['elements'] = elements;
|
|
5350
|
+
}
|
|
5351
|
+
|
|
5352
|
+
|
|
5353
|
+
|
|
5354
|
+
if (authorization != null) {
|
|
5355
|
+
localVarHeaderParameter['Authorization'] = String(authorization);
|
|
5356
|
+
}
|
|
5357
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
5358
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
5359
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
5360
|
+
|
|
5361
|
+
return {
|
|
5362
|
+
url: toPathString(localVarUrlObj),
|
|
5363
|
+
options: localVarRequestOptions,
|
|
5364
|
+
};
|
|
5365
|
+
},
|
|
5366
|
+
}
|
|
5367
|
+
};
|
|
5368
|
+
|
|
5369
|
+
/**
|
|
5370
|
+
* ReportsApi - functional programming interface
|
|
5371
|
+
* @export
|
|
5372
|
+
*/
|
|
5373
|
+
export const ReportsApiFp = function(configuration?: Configuration) {
|
|
5374
|
+
const localVarAxiosParamCreator = ReportsApiAxiosParamCreator(configuration)
|
|
5375
|
+
return {
|
|
5376
|
+
/**
|
|
5377
|
+
*
|
|
5378
|
+
* @summary Export Report
|
|
5379
|
+
* @param {string} reportId
|
|
5380
|
+
* @param {string} [authorization]
|
|
5381
|
+
* @param {string} [sessionId]
|
|
5382
|
+
* @param {*} [options] Override http request option.
|
|
5383
|
+
* @throws {RequiredError}
|
|
5384
|
+
*/
|
|
5385
|
+
async exportReportV1ReportsExportReportIdGet(reportId: string, authorization?: string, sessionId?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<FileDownload>> {
|
|
5386
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.exportReportV1ReportsExportReportIdGet(reportId, authorization, sessionId, options);
|
|
5387
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
5388
|
+
const localVarOperationServerBasePath = operationServerMap['ReportsApi.exportReportV1ReportsExportReportIdGet']?.[localVarOperationServerIndex]?.url;
|
|
5389
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
5390
|
+
},
|
|
5391
|
+
/**
|
|
5392
|
+
*
|
|
5393
|
+
* @summary Generate Report
|
|
5394
|
+
* @param {string} companyId
|
|
5395
|
+
* @param {string} reportType
|
|
5396
|
+
* @param {{ [key: string]: any; }} requestBody
|
|
5397
|
+
* @param {string} [authorization]
|
|
5398
|
+
* @param {string} [sessionId]
|
|
5399
|
+
* @param {*} [options] Override http request option.
|
|
5400
|
+
* @throws {RequiredError}
|
|
5401
|
+
*/
|
|
5402
|
+
async generateReportV1ReportsGeneratePost(companyId: string, reportType: string, requestBody: { [key: string]: any; }, authorization?: string, sessionId?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ReportGenerate>> {
|
|
5403
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.generateReportV1ReportsGeneratePost(companyId, reportType, requestBody, authorization, sessionId, options);
|
|
5404
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
5405
|
+
const localVarOperationServerBasePath = operationServerMap['ReportsApi.generateReportV1ReportsGeneratePost']?.[localVarOperationServerIndex]?.url;
|
|
5406
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
5407
|
+
},
|
|
5408
|
+
/**
|
|
5409
|
+
*
|
|
5410
|
+
* @summary Get Evidence
|
|
5411
|
+
* @param {string} reportId
|
|
5412
|
+
* @param {string} evidenceId
|
|
5413
|
+
* @param {string} [authorization]
|
|
5414
|
+
* @param {string} [sessionId]
|
|
5415
|
+
* @param {*} [options] Override http request option.
|
|
5416
|
+
* @throws {RequiredError}
|
|
5417
|
+
*/
|
|
5418
|
+
async getEvidenceV1ReportsEvidenceReportIdEvidenceIdGet(reportId: string, evidenceId: string, authorization?: string, sessionId?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<FileDownload>>> {
|
|
5419
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getEvidenceV1ReportsEvidenceReportIdEvidenceIdGet(reportId, evidenceId, authorization, sessionId, options);
|
|
5420
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
5421
|
+
const localVarOperationServerBasePath = operationServerMap['ReportsApi.getEvidenceV1ReportsEvidenceReportIdEvidenceIdGet']?.[localVarOperationServerIndex]?.url;
|
|
5422
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
5423
|
+
},
|
|
5424
|
+
/**
|
|
5425
|
+
*
|
|
5426
|
+
* @summary List Reports
|
|
5427
|
+
* @param {string} companyId
|
|
5428
|
+
* @param {number} [page]
|
|
5429
|
+
* @param {number} [elements]
|
|
5430
|
+
* @param {string} [authorization]
|
|
5431
|
+
* @param {string} [sessionId]
|
|
5432
|
+
* @param {*} [options] Override http request option.
|
|
5433
|
+
* @throws {RequiredError}
|
|
5434
|
+
*/
|
|
5435
|
+
async listReportsV1ReportsListCompanyIdGet(companyId: string, page?: number, elements?: number, authorization?: string, sessionId?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PaginationResponseReportBase>> {
|
|
5436
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.listReportsV1ReportsListCompanyIdGet(companyId, page, elements, authorization, sessionId, options);
|
|
5437
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
5438
|
+
const localVarOperationServerBasePath = operationServerMap['ReportsApi.listReportsV1ReportsListCompanyIdGet']?.[localVarOperationServerIndex]?.url;
|
|
5439
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
5440
|
+
},
|
|
5441
|
+
}
|
|
5442
|
+
};
|
|
5443
|
+
|
|
5444
|
+
/**
|
|
5445
|
+
* ReportsApi - factory interface
|
|
5446
|
+
* @export
|
|
5447
|
+
*/
|
|
5448
|
+
export const ReportsApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
|
|
5449
|
+
const localVarFp = ReportsApiFp(configuration)
|
|
5450
|
+
return {
|
|
5451
|
+
/**
|
|
5452
|
+
*
|
|
5453
|
+
* @summary Export Report
|
|
5454
|
+
* @param {string} reportId
|
|
5455
|
+
* @param {string} [authorization]
|
|
5456
|
+
* @param {string} [sessionId]
|
|
5457
|
+
* @param {*} [options] Override http request option.
|
|
5458
|
+
* @throws {RequiredError}
|
|
5459
|
+
*/
|
|
5460
|
+
exportReportV1ReportsExportReportIdGet(reportId: string, authorization?: string, sessionId?: string, options?: RawAxiosRequestConfig): AxiosPromise<FileDownload> {
|
|
5461
|
+
return localVarFp.exportReportV1ReportsExportReportIdGet(reportId, authorization, sessionId, options).then((request) => request(axios, basePath));
|
|
5462
|
+
},
|
|
5463
|
+
/**
|
|
5464
|
+
*
|
|
5465
|
+
* @summary Generate Report
|
|
5466
|
+
* @param {string} companyId
|
|
5467
|
+
* @param {string} reportType
|
|
5468
|
+
* @param {{ [key: string]: any; }} requestBody
|
|
5469
|
+
* @param {string} [authorization]
|
|
5470
|
+
* @param {string} [sessionId]
|
|
5471
|
+
* @param {*} [options] Override http request option.
|
|
5472
|
+
* @throws {RequiredError}
|
|
5473
|
+
*/
|
|
5474
|
+
generateReportV1ReportsGeneratePost(companyId: string, reportType: string, requestBody: { [key: string]: any; }, authorization?: string, sessionId?: string, options?: RawAxiosRequestConfig): AxiosPromise<ReportGenerate> {
|
|
5475
|
+
return localVarFp.generateReportV1ReportsGeneratePost(companyId, reportType, requestBody, authorization, sessionId, options).then((request) => request(axios, basePath));
|
|
5476
|
+
},
|
|
5477
|
+
/**
|
|
5478
|
+
*
|
|
5479
|
+
* @summary Get Evidence
|
|
5480
|
+
* @param {string} reportId
|
|
5481
|
+
* @param {string} evidenceId
|
|
5482
|
+
* @param {string} [authorization]
|
|
5483
|
+
* @param {string} [sessionId]
|
|
5484
|
+
* @param {*} [options] Override http request option.
|
|
5485
|
+
* @throws {RequiredError}
|
|
5486
|
+
*/
|
|
5487
|
+
getEvidenceV1ReportsEvidenceReportIdEvidenceIdGet(reportId: string, evidenceId: string, authorization?: string, sessionId?: string, options?: RawAxiosRequestConfig): AxiosPromise<Array<FileDownload>> {
|
|
5488
|
+
return localVarFp.getEvidenceV1ReportsEvidenceReportIdEvidenceIdGet(reportId, evidenceId, authorization, sessionId, options).then((request) => request(axios, basePath));
|
|
5489
|
+
},
|
|
5490
|
+
/**
|
|
5491
|
+
*
|
|
5492
|
+
* @summary List Reports
|
|
5493
|
+
* @param {string} companyId
|
|
5494
|
+
* @param {number} [page]
|
|
5495
|
+
* @param {number} [elements]
|
|
5496
|
+
* @param {string} [authorization]
|
|
5497
|
+
* @param {string} [sessionId]
|
|
5498
|
+
* @param {*} [options] Override http request option.
|
|
5499
|
+
* @throws {RequiredError}
|
|
5500
|
+
*/
|
|
5501
|
+
listReportsV1ReportsListCompanyIdGet(companyId: string, page?: number, elements?: number, authorization?: string, sessionId?: string, options?: RawAxiosRequestConfig): AxiosPromise<PaginationResponseReportBase> {
|
|
5502
|
+
return localVarFp.listReportsV1ReportsListCompanyIdGet(companyId, page, elements, authorization, sessionId, options).then((request) => request(axios, basePath));
|
|
5503
|
+
},
|
|
5504
|
+
};
|
|
5505
|
+
};
|
|
5506
|
+
|
|
5507
|
+
/**
|
|
5508
|
+
* ReportsApi - object-oriented interface
|
|
5509
|
+
* @export
|
|
5510
|
+
* @class ReportsApi
|
|
5511
|
+
* @extends {BaseAPI}
|
|
5512
|
+
*/
|
|
5513
|
+
export class ReportsApi extends BaseAPI {
|
|
5514
|
+
/**
|
|
5515
|
+
*
|
|
5516
|
+
* @summary Export Report
|
|
5517
|
+
* @param {string} reportId
|
|
5518
|
+
* @param {string} [authorization]
|
|
5519
|
+
* @param {string} [sessionId]
|
|
5520
|
+
* @param {*} [options] Override http request option.
|
|
5521
|
+
* @throws {RequiredError}
|
|
5522
|
+
* @memberof ReportsApi
|
|
5523
|
+
*/
|
|
5524
|
+
public exportReportV1ReportsExportReportIdGet(reportId: string, authorization?: string, sessionId?: string, options?: RawAxiosRequestConfig) {
|
|
5525
|
+
return ReportsApiFp(this.configuration).exportReportV1ReportsExportReportIdGet(reportId, authorization, sessionId, options).then((request) => request(this.axios, this.basePath));
|
|
5526
|
+
}
|
|
5527
|
+
|
|
5528
|
+
/**
|
|
5529
|
+
*
|
|
5530
|
+
* @summary Generate Report
|
|
5531
|
+
* @param {string} companyId
|
|
5532
|
+
* @param {string} reportType
|
|
5533
|
+
* @param {{ [key: string]: any; }} requestBody
|
|
5534
|
+
* @param {string} [authorization]
|
|
5535
|
+
* @param {string} [sessionId]
|
|
5536
|
+
* @param {*} [options] Override http request option.
|
|
5537
|
+
* @throws {RequiredError}
|
|
5538
|
+
* @memberof ReportsApi
|
|
5539
|
+
*/
|
|
5540
|
+
public generateReportV1ReportsGeneratePost(companyId: string, reportType: string, requestBody: { [key: string]: any; }, authorization?: string, sessionId?: string, options?: RawAxiosRequestConfig) {
|
|
5541
|
+
return ReportsApiFp(this.configuration).generateReportV1ReportsGeneratePost(companyId, reportType, requestBody, authorization, sessionId, options).then((request) => request(this.axios, this.basePath));
|
|
5542
|
+
}
|
|
5543
|
+
|
|
5544
|
+
/**
|
|
5545
|
+
*
|
|
5546
|
+
* @summary Get Evidence
|
|
5547
|
+
* @param {string} reportId
|
|
5548
|
+
* @param {string} evidenceId
|
|
5549
|
+
* @param {string} [authorization]
|
|
5550
|
+
* @param {string} [sessionId]
|
|
5551
|
+
* @param {*} [options] Override http request option.
|
|
5552
|
+
* @throws {RequiredError}
|
|
5553
|
+
* @memberof ReportsApi
|
|
5554
|
+
*/
|
|
5555
|
+
public getEvidenceV1ReportsEvidenceReportIdEvidenceIdGet(reportId: string, evidenceId: string, authorization?: string, sessionId?: string, options?: RawAxiosRequestConfig) {
|
|
5556
|
+
return ReportsApiFp(this.configuration).getEvidenceV1ReportsEvidenceReportIdEvidenceIdGet(reportId, evidenceId, authorization, sessionId, options).then((request) => request(this.axios, this.basePath));
|
|
5557
|
+
}
|
|
5558
|
+
|
|
5559
|
+
/**
|
|
5560
|
+
*
|
|
5561
|
+
* @summary List Reports
|
|
5562
|
+
* @param {string} companyId
|
|
5563
|
+
* @param {number} [page]
|
|
5564
|
+
* @param {number} [elements]
|
|
5565
|
+
* @param {string} [authorization]
|
|
5566
|
+
* @param {string} [sessionId]
|
|
5567
|
+
* @param {*} [options] Override http request option.
|
|
5568
|
+
* @throws {RequiredError}
|
|
5569
|
+
* @memberof ReportsApi
|
|
5570
|
+
*/
|
|
5571
|
+
public listReportsV1ReportsListCompanyIdGet(companyId: string, page?: number, elements?: number, authorization?: string, sessionId?: string, options?: RawAxiosRequestConfig) {
|
|
5572
|
+
return ReportsApiFp(this.configuration).listReportsV1ReportsListCompanyIdGet(companyId, page, elements, authorization, sessionId, options).then((request) => request(this.axios, this.basePath));
|
|
5573
|
+
}
|
|
5574
|
+
}
|
|
5575
|
+
|
|
5576
|
+
|
|
5577
|
+
|
|
5578
|
+
/**
|
|
5579
|
+
* RolesApi - axios parameter creator
|
|
5580
|
+
* @export
|
|
5581
|
+
*/
|
|
5582
|
+
export const RolesApiAxiosParamCreator = function (configuration?: Configuration) {
|
|
5583
|
+
return {
|
|
5584
|
+
/**
|
|
5585
|
+
* Add people to company
|
|
5586
|
+
* @summary Invite
|
|
5587
|
+
* @param {InviteToCompany} inviteToCompany
|
|
5588
|
+
* @param {string} [authorization]
|
|
5589
|
+
* @param {string} [sessionId]
|
|
5590
|
+
* @param {*} [options] Override http request option.
|
|
5591
|
+
* @throws {RequiredError}
|
|
5592
|
+
*/
|
|
5593
|
+
inviteV1RolesInvitesPost: async (inviteToCompany: InviteToCompany, authorization?: string, sessionId?: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
5594
|
+
// verify required parameter 'inviteToCompany' is not null or undefined
|
|
5595
|
+
assertParamExists('inviteV1RolesInvitesPost', 'inviteToCompany', inviteToCompany)
|
|
5596
|
+
const localVarPath = `/v1/roles/invites`;
|
|
5597
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
5598
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
5599
|
+
let baseOptions;
|
|
5600
|
+
if (configuration) {
|
|
5601
|
+
baseOptions = configuration.baseOptions;
|
|
5602
|
+
}
|
|
5603
|
+
|
|
5604
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
5605
|
+
const localVarHeaderParameter = {} as any;
|
|
5606
|
+
const localVarQueryParameter = {} as any;
|
|
5607
|
+
|
|
5608
|
+
|
|
5609
|
+
|
|
5610
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
5611
|
+
|
|
4875
5612
|
if (authorization != null) {
|
|
4876
5613
|
localVarHeaderParameter['Authorization'] = String(authorization);
|
|
4877
5614
|
}
|
|
@@ -4886,18 +5623,366 @@ export const RolesApiAxiosParamCreator = function (configuration?: Configuration
|
|
|
4886
5623
|
};
|
|
4887
5624
|
},
|
|
4888
5625
|
/**
|
|
4889
|
-
* Remove people from company
|
|
4890
|
-
* @summary Remove People
|
|
4891
|
-
* @param {RemoveFromCompany} removeFromCompany
|
|
5626
|
+
* Remove people from company
|
|
5627
|
+
* @summary Remove People
|
|
5628
|
+
* @param {RemoveFromCompany} removeFromCompany
|
|
5629
|
+
* @param {string} [authorization]
|
|
5630
|
+
* @param {string} [sessionId]
|
|
5631
|
+
* @param {*} [options] Override http request option.
|
|
5632
|
+
* @throws {RequiredError}
|
|
5633
|
+
*/
|
|
5634
|
+
removePeopleV1RolesInvitesDelete: async (removeFromCompany: RemoveFromCompany, authorization?: string, sessionId?: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
5635
|
+
// verify required parameter 'removeFromCompany' is not null or undefined
|
|
5636
|
+
assertParamExists('removePeopleV1RolesInvitesDelete', 'removeFromCompany', removeFromCompany)
|
|
5637
|
+
const localVarPath = `/v1/roles/invites`;
|
|
5638
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
5639
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
5640
|
+
let baseOptions;
|
|
5641
|
+
if (configuration) {
|
|
5642
|
+
baseOptions = configuration.baseOptions;
|
|
5643
|
+
}
|
|
5644
|
+
|
|
5645
|
+
const localVarRequestOptions = { method: 'DELETE', ...baseOptions, ...options};
|
|
5646
|
+
const localVarHeaderParameter = {} as any;
|
|
5647
|
+
const localVarQueryParameter = {} as any;
|
|
5648
|
+
|
|
5649
|
+
|
|
5650
|
+
|
|
5651
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
5652
|
+
|
|
5653
|
+
if (authorization != null) {
|
|
5654
|
+
localVarHeaderParameter['Authorization'] = String(authorization);
|
|
5655
|
+
}
|
|
5656
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
5657
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
5658
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
5659
|
+
localVarRequestOptions.data = serializeDataIfNeeded(removeFromCompany, localVarRequestOptions, configuration)
|
|
5660
|
+
|
|
5661
|
+
return {
|
|
5662
|
+
url: toPathString(localVarUrlObj),
|
|
5663
|
+
options: localVarRequestOptions,
|
|
5664
|
+
};
|
|
5665
|
+
},
|
|
5666
|
+
}
|
|
5667
|
+
};
|
|
5668
|
+
|
|
5669
|
+
/**
|
|
5670
|
+
* RolesApi - functional programming interface
|
|
5671
|
+
* @export
|
|
5672
|
+
*/
|
|
5673
|
+
export const RolesApiFp = function(configuration?: Configuration) {
|
|
5674
|
+
const localVarAxiosParamCreator = RolesApiAxiosParamCreator(configuration)
|
|
5675
|
+
return {
|
|
5676
|
+
/**
|
|
5677
|
+
* Add people to company
|
|
5678
|
+
* @summary Invite
|
|
5679
|
+
* @param {InviteToCompany} inviteToCompany
|
|
5680
|
+
* @param {string} [authorization]
|
|
5681
|
+
* @param {string} [sessionId]
|
|
5682
|
+
* @param {*} [options] Override http request option.
|
|
5683
|
+
* @throws {RequiredError}
|
|
5684
|
+
*/
|
|
5685
|
+
async inviteV1RolesInvitesPost(inviteToCompany: InviteToCompany, authorization?: string, sessionId?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Details>> {
|
|
5686
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.inviteV1RolesInvitesPost(inviteToCompany, authorization, sessionId, options);
|
|
5687
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
5688
|
+
const localVarOperationServerBasePath = operationServerMap['RolesApi.inviteV1RolesInvitesPost']?.[localVarOperationServerIndex]?.url;
|
|
5689
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
5690
|
+
},
|
|
5691
|
+
/**
|
|
5692
|
+
* Remove people from company
|
|
5693
|
+
* @summary Remove People
|
|
5694
|
+
* @param {RemoveFromCompany} removeFromCompany
|
|
5695
|
+
* @param {string} [authorization]
|
|
5696
|
+
* @param {string} [sessionId]
|
|
5697
|
+
* @param {*} [options] Override http request option.
|
|
5698
|
+
* @throws {RequiredError}
|
|
5699
|
+
*/
|
|
5700
|
+
async removePeopleV1RolesInvitesDelete(removeFromCompany: RemoveFromCompany, authorization?: string, sessionId?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Details>> {
|
|
5701
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.removePeopleV1RolesInvitesDelete(removeFromCompany, authorization, sessionId, options);
|
|
5702
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
5703
|
+
const localVarOperationServerBasePath = operationServerMap['RolesApi.removePeopleV1RolesInvitesDelete']?.[localVarOperationServerIndex]?.url;
|
|
5704
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
5705
|
+
},
|
|
5706
|
+
}
|
|
5707
|
+
};
|
|
5708
|
+
|
|
5709
|
+
/**
|
|
5710
|
+
* RolesApi - factory interface
|
|
5711
|
+
* @export
|
|
5712
|
+
*/
|
|
5713
|
+
export const RolesApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
|
|
5714
|
+
const localVarFp = RolesApiFp(configuration)
|
|
5715
|
+
return {
|
|
5716
|
+
/**
|
|
5717
|
+
* Add people to company
|
|
5718
|
+
* @summary Invite
|
|
5719
|
+
* @param {InviteToCompany} inviteToCompany
|
|
5720
|
+
* @param {string} [authorization]
|
|
5721
|
+
* @param {string} [sessionId]
|
|
5722
|
+
* @param {*} [options] Override http request option.
|
|
5723
|
+
* @throws {RequiredError}
|
|
5724
|
+
*/
|
|
5725
|
+
inviteV1RolesInvitesPost(inviteToCompany: InviteToCompany, authorization?: string, sessionId?: string, options?: RawAxiosRequestConfig): AxiosPromise<Details> {
|
|
5726
|
+
return localVarFp.inviteV1RolesInvitesPost(inviteToCompany, authorization, sessionId, options).then((request) => request(axios, basePath));
|
|
5727
|
+
},
|
|
5728
|
+
/**
|
|
5729
|
+
* Remove people from company
|
|
5730
|
+
* @summary Remove People
|
|
5731
|
+
* @param {RemoveFromCompany} removeFromCompany
|
|
5732
|
+
* @param {string} [authorization]
|
|
5733
|
+
* @param {string} [sessionId]
|
|
5734
|
+
* @param {*} [options] Override http request option.
|
|
5735
|
+
* @throws {RequiredError}
|
|
5736
|
+
*/
|
|
5737
|
+
removePeopleV1RolesInvitesDelete(removeFromCompany: RemoveFromCompany, authorization?: string, sessionId?: string, options?: RawAxiosRequestConfig): AxiosPromise<Details> {
|
|
5738
|
+
return localVarFp.removePeopleV1RolesInvitesDelete(removeFromCompany, authorization, sessionId, options).then((request) => request(axios, basePath));
|
|
5739
|
+
},
|
|
5740
|
+
};
|
|
5741
|
+
};
|
|
5742
|
+
|
|
5743
|
+
/**
|
|
5744
|
+
* RolesApi - object-oriented interface
|
|
5745
|
+
* @export
|
|
5746
|
+
* @class RolesApi
|
|
5747
|
+
* @extends {BaseAPI}
|
|
5748
|
+
*/
|
|
5749
|
+
export class RolesApi extends BaseAPI {
|
|
5750
|
+
/**
|
|
5751
|
+
* Add people to company
|
|
5752
|
+
* @summary Invite
|
|
5753
|
+
* @param {InviteToCompany} inviteToCompany
|
|
5754
|
+
* @param {string} [authorization]
|
|
5755
|
+
* @param {string} [sessionId]
|
|
5756
|
+
* @param {*} [options] Override http request option.
|
|
5757
|
+
* @throws {RequiredError}
|
|
5758
|
+
* @memberof RolesApi
|
|
5759
|
+
*/
|
|
5760
|
+
public inviteV1RolesInvitesPost(inviteToCompany: InviteToCompany, authorization?: string, sessionId?: string, options?: RawAxiosRequestConfig) {
|
|
5761
|
+
return RolesApiFp(this.configuration).inviteV1RolesInvitesPost(inviteToCompany, authorization, sessionId, options).then((request) => request(this.axios, this.basePath));
|
|
5762
|
+
}
|
|
5763
|
+
|
|
5764
|
+
/**
|
|
5765
|
+
* Remove people from company
|
|
5766
|
+
* @summary Remove People
|
|
5767
|
+
* @param {RemoveFromCompany} removeFromCompany
|
|
5768
|
+
* @param {string} [authorization]
|
|
5769
|
+
* @param {string} [sessionId]
|
|
5770
|
+
* @param {*} [options] Override http request option.
|
|
5771
|
+
* @throws {RequiredError}
|
|
5772
|
+
* @memberof RolesApi
|
|
5773
|
+
*/
|
|
5774
|
+
public removePeopleV1RolesInvitesDelete(removeFromCompany: RemoveFromCompany, authorization?: string, sessionId?: string, options?: RawAxiosRequestConfig) {
|
|
5775
|
+
return RolesApiFp(this.configuration).removePeopleV1RolesInvitesDelete(removeFromCompany, authorization, sessionId, options).then((request) => request(this.axios, this.basePath));
|
|
5776
|
+
}
|
|
5777
|
+
}
|
|
5778
|
+
|
|
5779
|
+
|
|
5780
|
+
|
|
5781
|
+
/**
|
|
5782
|
+
* TasksApi - axios parameter creator
|
|
5783
|
+
* @export
|
|
5784
|
+
*/
|
|
5785
|
+
export const TasksApiAxiosParamCreator = function (configuration?: Configuration) {
|
|
5786
|
+
return {
|
|
5787
|
+
/**
|
|
5788
|
+
*
|
|
5789
|
+
* @summary Create Task
|
|
5790
|
+
* @param {CreateTaskSchema} createTaskSchema
|
|
5791
|
+
* @param {string} [authorization]
|
|
5792
|
+
* @param {string} [sessionId]
|
|
5793
|
+
* @param {*} [options] Override http request option.
|
|
5794
|
+
* @throws {RequiredError}
|
|
5795
|
+
*/
|
|
5796
|
+
createTaskV1TasksPost: async (createTaskSchema: CreateTaskSchema, authorization?: string, sessionId?: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
5797
|
+
// verify required parameter 'createTaskSchema' is not null or undefined
|
|
5798
|
+
assertParamExists('createTaskV1TasksPost', 'createTaskSchema', createTaskSchema)
|
|
5799
|
+
const localVarPath = `/v1/tasks/`;
|
|
5800
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
5801
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
5802
|
+
let baseOptions;
|
|
5803
|
+
if (configuration) {
|
|
5804
|
+
baseOptions = configuration.baseOptions;
|
|
5805
|
+
}
|
|
5806
|
+
|
|
5807
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
5808
|
+
const localVarHeaderParameter = {} as any;
|
|
5809
|
+
const localVarQueryParameter = {} as any;
|
|
5810
|
+
|
|
5811
|
+
|
|
5812
|
+
|
|
5813
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
5814
|
+
|
|
5815
|
+
if (authorization != null) {
|
|
5816
|
+
localVarHeaderParameter['Authorization'] = String(authorization);
|
|
5817
|
+
}
|
|
5818
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
5819
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
5820
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
5821
|
+
localVarRequestOptions.data = serializeDataIfNeeded(createTaskSchema, localVarRequestOptions, configuration)
|
|
5822
|
+
|
|
5823
|
+
return {
|
|
5824
|
+
url: toPathString(localVarUrlObj),
|
|
5825
|
+
options: localVarRequestOptions,
|
|
5826
|
+
};
|
|
5827
|
+
},
|
|
5828
|
+
/**
|
|
5829
|
+
*
|
|
5830
|
+
* @summary Delete Task
|
|
5831
|
+
* @param {DeleteTaskSchema} deleteTaskSchema
|
|
5832
|
+
* @param {string} [authorization]
|
|
5833
|
+
* @param {string} [sessionId]
|
|
5834
|
+
* @param {*} [options] Override http request option.
|
|
5835
|
+
* @throws {RequiredError}
|
|
5836
|
+
*/
|
|
5837
|
+
deleteTaskV1TasksDelete: async (deleteTaskSchema: DeleteTaskSchema, authorization?: string, sessionId?: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
5838
|
+
// verify required parameter 'deleteTaskSchema' is not null or undefined
|
|
5839
|
+
assertParamExists('deleteTaskV1TasksDelete', 'deleteTaskSchema', deleteTaskSchema)
|
|
5840
|
+
const localVarPath = `/v1/tasks/`;
|
|
5841
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
5842
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
5843
|
+
let baseOptions;
|
|
5844
|
+
if (configuration) {
|
|
5845
|
+
baseOptions = configuration.baseOptions;
|
|
5846
|
+
}
|
|
5847
|
+
|
|
5848
|
+
const localVarRequestOptions = { method: 'DELETE', ...baseOptions, ...options};
|
|
5849
|
+
const localVarHeaderParameter = {} as any;
|
|
5850
|
+
const localVarQueryParameter = {} as any;
|
|
5851
|
+
|
|
5852
|
+
|
|
5853
|
+
|
|
5854
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
5855
|
+
|
|
5856
|
+
if (authorization != null) {
|
|
5857
|
+
localVarHeaderParameter['Authorization'] = String(authorization);
|
|
5858
|
+
}
|
|
5859
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
5860
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
5861
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
5862
|
+
localVarRequestOptions.data = serializeDataIfNeeded(deleteTaskSchema, localVarRequestOptions, configuration)
|
|
5863
|
+
|
|
5864
|
+
return {
|
|
5865
|
+
url: toPathString(localVarUrlObj),
|
|
5866
|
+
options: localVarRequestOptions,
|
|
5867
|
+
};
|
|
5868
|
+
},
|
|
5869
|
+
/**
|
|
5870
|
+
*
|
|
5871
|
+
* @summary List Tasks For Company
|
|
5872
|
+
* @param {string} companyId
|
|
5873
|
+
* @param {number} [page]
|
|
5874
|
+
* @param {number} [elements]
|
|
5875
|
+
* @param {string} [authorization]
|
|
5876
|
+
* @param {string} [sessionId]
|
|
5877
|
+
* @param {*} [options] Override http request option.
|
|
5878
|
+
* @throws {RequiredError}
|
|
5879
|
+
*/
|
|
5880
|
+
listTasksForCompanyV1TasksCompanyGet: async (companyId: string, page?: number, elements?: number, authorization?: string, sessionId?: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
5881
|
+
// verify required parameter 'companyId' is not null or undefined
|
|
5882
|
+
assertParamExists('listTasksForCompanyV1TasksCompanyGet', 'companyId', companyId)
|
|
5883
|
+
const localVarPath = `/v1/tasks/company`;
|
|
5884
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
5885
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
5886
|
+
let baseOptions;
|
|
5887
|
+
if (configuration) {
|
|
5888
|
+
baseOptions = configuration.baseOptions;
|
|
5889
|
+
}
|
|
5890
|
+
|
|
5891
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
5892
|
+
const localVarHeaderParameter = {} as any;
|
|
5893
|
+
const localVarQueryParameter = {} as any;
|
|
5894
|
+
|
|
5895
|
+
if (companyId !== undefined) {
|
|
5896
|
+
localVarQueryParameter['company_id'] = companyId;
|
|
5897
|
+
}
|
|
5898
|
+
|
|
5899
|
+
if (page !== undefined) {
|
|
5900
|
+
localVarQueryParameter['page'] = page;
|
|
5901
|
+
}
|
|
5902
|
+
|
|
5903
|
+
if (elements !== undefined) {
|
|
5904
|
+
localVarQueryParameter['elements'] = elements;
|
|
5905
|
+
}
|
|
5906
|
+
|
|
5907
|
+
|
|
5908
|
+
|
|
5909
|
+
if (authorization != null) {
|
|
5910
|
+
localVarHeaderParameter['Authorization'] = String(authorization);
|
|
5911
|
+
}
|
|
5912
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
5913
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
5914
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
5915
|
+
|
|
5916
|
+
return {
|
|
5917
|
+
url: toPathString(localVarUrlObj),
|
|
5918
|
+
options: localVarRequestOptions,
|
|
5919
|
+
};
|
|
5920
|
+
},
|
|
5921
|
+
/**
|
|
5922
|
+
*
|
|
5923
|
+
* @summary List Tasks For User
|
|
5924
|
+
* @param {string} companyId
|
|
5925
|
+
* @param {number} [page]
|
|
5926
|
+
* @param {number} [elements]
|
|
5927
|
+
* @param {string} [authorization]
|
|
5928
|
+
* @param {string} [sessionId]
|
|
5929
|
+
* @param {*} [options] Override http request option.
|
|
5930
|
+
* @throws {RequiredError}
|
|
5931
|
+
*/
|
|
5932
|
+
listTasksForUserV1TasksUserGet: async (companyId: string, page?: number, elements?: number, authorization?: string, sessionId?: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
5933
|
+
// verify required parameter 'companyId' is not null or undefined
|
|
5934
|
+
assertParamExists('listTasksForUserV1TasksUserGet', 'companyId', companyId)
|
|
5935
|
+
const localVarPath = `/v1/tasks/user`;
|
|
5936
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
5937
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
5938
|
+
let baseOptions;
|
|
5939
|
+
if (configuration) {
|
|
5940
|
+
baseOptions = configuration.baseOptions;
|
|
5941
|
+
}
|
|
5942
|
+
|
|
5943
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
5944
|
+
const localVarHeaderParameter = {} as any;
|
|
5945
|
+
const localVarQueryParameter = {} as any;
|
|
5946
|
+
|
|
5947
|
+
if (companyId !== undefined) {
|
|
5948
|
+
localVarQueryParameter['company_id'] = companyId;
|
|
5949
|
+
}
|
|
5950
|
+
|
|
5951
|
+
if (page !== undefined) {
|
|
5952
|
+
localVarQueryParameter['page'] = page;
|
|
5953
|
+
}
|
|
5954
|
+
|
|
5955
|
+
if (elements !== undefined) {
|
|
5956
|
+
localVarQueryParameter['elements'] = elements;
|
|
5957
|
+
}
|
|
5958
|
+
|
|
5959
|
+
|
|
5960
|
+
|
|
5961
|
+
if (authorization != null) {
|
|
5962
|
+
localVarHeaderParameter['Authorization'] = String(authorization);
|
|
5963
|
+
}
|
|
5964
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
5965
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
5966
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
5967
|
+
|
|
5968
|
+
return {
|
|
5969
|
+
url: toPathString(localVarUrlObj),
|
|
5970
|
+
options: localVarRequestOptions,
|
|
5971
|
+
};
|
|
5972
|
+
},
|
|
5973
|
+
/**
|
|
5974
|
+
*
|
|
5975
|
+
* @summary Request Task Scheduling
|
|
5976
|
+
* @param {SchedulerRequest} schedulerRequest
|
|
4892
5977
|
* @param {string} [authorization]
|
|
4893
5978
|
* @param {string} [sessionId]
|
|
4894
5979
|
* @param {*} [options] Override http request option.
|
|
4895
5980
|
* @throws {RequiredError}
|
|
4896
5981
|
*/
|
|
4897
|
-
|
|
4898
|
-
// verify required parameter '
|
|
4899
|
-
assertParamExists('
|
|
4900
|
-
const localVarPath = `/v1/
|
|
5982
|
+
requestTaskSchedulingV1TasksSchedulePost: async (schedulerRequest: SchedulerRequest, authorization?: string, sessionId?: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
5983
|
+
// verify required parameter 'schedulerRequest' is not null or undefined
|
|
5984
|
+
assertParamExists('requestTaskSchedulingV1TasksSchedulePost', 'schedulerRequest', schedulerRequest)
|
|
5985
|
+
const localVarPath = `/v1/tasks/schedule`;
|
|
4901
5986
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
4902
5987
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
4903
5988
|
let baseOptions;
|
|
@@ -4905,7 +5990,7 @@ export const RolesApiAxiosParamCreator = function (configuration?: Configuration
|
|
|
4905
5990
|
baseOptions = configuration.baseOptions;
|
|
4906
5991
|
}
|
|
4907
5992
|
|
|
4908
|
-
const localVarRequestOptions = { method: '
|
|
5993
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
4909
5994
|
const localVarHeaderParameter = {} as any;
|
|
4910
5995
|
const localVarQueryParameter = {} as any;
|
|
4911
5996
|
|
|
@@ -4919,7 +6004,48 @@ export const RolesApiAxiosParamCreator = function (configuration?: Configuration
|
|
|
4919
6004
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
4920
6005
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
4921
6006
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
4922
|
-
localVarRequestOptions.data = serializeDataIfNeeded(
|
|
6007
|
+
localVarRequestOptions.data = serializeDataIfNeeded(schedulerRequest, localVarRequestOptions, configuration)
|
|
6008
|
+
|
|
6009
|
+
return {
|
|
6010
|
+
url: toPathString(localVarUrlObj),
|
|
6011
|
+
options: localVarRequestOptions,
|
|
6012
|
+
};
|
|
6013
|
+
},
|
|
6014
|
+
/**
|
|
6015
|
+
*
|
|
6016
|
+
* @summary Update Task
|
|
6017
|
+
* @param {UpdateTaskSchema} updateTaskSchema
|
|
6018
|
+
* @param {string} [authorization]
|
|
6019
|
+
* @param {string} [sessionId]
|
|
6020
|
+
* @param {*} [options] Override http request option.
|
|
6021
|
+
* @throws {RequiredError}
|
|
6022
|
+
*/
|
|
6023
|
+
updateTaskV1TasksPut: async (updateTaskSchema: UpdateTaskSchema, authorization?: string, sessionId?: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
6024
|
+
// verify required parameter 'updateTaskSchema' is not null or undefined
|
|
6025
|
+
assertParamExists('updateTaskV1TasksPut', 'updateTaskSchema', updateTaskSchema)
|
|
6026
|
+
const localVarPath = `/v1/tasks/`;
|
|
6027
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
6028
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
6029
|
+
let baseOptions;
|
|
6030
|
+
if (configuration) {
|
|
6031
|
+
baseOptions = configuration.baseOptions;
|
|
6032
|
+
}
|
|
6033
|
+
|
|
6034
|
+
const localVarRequestOptions = { method: 'PUT', ...baseOptions, ...options};
|
|
6035
|
+
const localVarHeaderParameter = {} as any;
|
|
6036
|
+
const localVarQueryParameter = {} as any;
|
|
6037
|
+
|
|
6038
|
+
|
|
6039
|
+
|
|
6040
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
6041
|
+
|
|
6042
|
+
if (authorization != null) {
|
|
6043
|
+
localVarHeaderParameter['Authorization'] = String(authorization);
|
|
6044
|
+
}
|
|
6045
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
6046
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
6047
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
6048
|
+
localVarRequestOptions.data = serializeDataIfNeeded(updateTaskSchema, localVarRequestOptions, configuration)
|
|
4923
6049
|
|
|
4924
6050
|
return {
|
|
4925
6051
|
url: toPathString(localVarUrlObj),
|
|
@@ -4930,112 +6056,288 @@ export const RolesApiAxiosParamCreator = function (configuration?: Configuration
|
|
|
4930
6056
|
};
|
|
4931
6057
|
|
|
4932
6058
|
/**
|
|
4933
|
-
*
|
|
6059
|
+
* TasksApi - functional programming interface
|
|
4934
6060
|
* @export
|
|
4935
6061
|
*/
|
|
4936
|
-
export const
|
|
4937
|
-
const localVarAxiosParamCreator =
|
|
6062
|
+
export const TasksApiFp = function(configuration?: Configuration) {
|
|
6063
|
+
const localVarAxiosParamCreator = TasksApiAxiosParamCreator(configuration)
|
|
4938
6064
|
return {
|
|
4939
6065
|
/**
|
|
4940
|
-
*
|
|
4941
|
-
* @summary
|
|
4942
|
-
* @param {
|
|
6066
|
+
*
|
|
6067
|
+
* @summary Create Task
|
|
6068
|
+
* @param {CreateTaskSchema} createTaskSchema
|
|
4943
6069
|
* @param {string} [authorization]
|
|
4944
6070
|
* @param {string} [sessionId]
|
|
4945
6071
|
* @param {*} [options] Override http request option.
|
|
4946
6072
|
* @throws {RequiredError}
|
|
4947
6073
|
*/
|
|
4948
|
-
async
|
|
4949
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.
|
|
6074
|
+
async createTaskV1TasksPost(createTaskSchema: CreateTaskSchema, authorization?: string, sessionId?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<TaskRead>> {
|
|
6075
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.createTaskV1TasksPost(createTaskSchema, authorization, sessionId, options);
|
|
4950
6076
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
4951
|
-
const localVarOperationServerBasePath = operationServerMap['
|
|
6077
|
+
const localVarOperationServerBasePath = operationServerMap['TasksApi.createTaskV1TasksPost']?.[localVarOperationServerIndex]?.url;
|
|
4952
6078
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
4953
6079
|
},
|
|
4954
6080
|
/**
|
|
4955
|
-
*
|
|
4956
|
-
* @summary
|
|
4957
|
-
* @param {
|
|
6081
|
+
*
|
|
6082
|
+
* @summary Delete Task
|
|
6083
|
+
* @param {DeleteTaskSchema} deleteTaskSchema
|
|
4958
6084
|
* @param {string} [authorization]
|
|
4959
6085
|
* @param {string} [sessionId]
|
|
4960
6086
|
* @param {*} [options] Override http request option.
|
|
4961
6087
|
* @throws {RequiredError}
|
|
4962
6088
|
*/
|
|
4963
|
-
async
|
|
4964
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.
|
|
6089
|
+
async deleteTaskV1TasksDelete(deleteTaskSchema: DeleteTaskSchema, authorization?: string, sessionId?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Details>> {
|
|
6090
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.deleteTaskV1TasksDelete(deleteTaskSchema, authorization, sessionId, options);
|
|
4965
6091
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
4966
|
-
const localVarOperationServerBasePath = operationServerMap['
|
|
6092
|
+
const localVarOperationServerBasePath = operationServerMap['TasksApi.deleteTaskV1TasksDelete']?.[localVarOperationServerIndex]?.url;
|
|
6093
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
6094
|
+
},
|
|
6095
|
+
/**
|
|
6096
|
+
*
|
|
6097
|
+
* @summary List Tasks For Company
|
|
6098
|
+
* @param {string} companyId
|
|
6099
|
+
* @param {number} [page]
|
|
6100
|
+
* @param {number} [elements]
|
|
6101
|
+
* @param {string} [authorization]
|
|
6102
|
+
* @param {string} [sessionId]
|
|
6103
|
+
* @param {*} [options] Override http request option.
|
|
6104
|
+
* @throws {RequiredError}
|
|
6105
|
+
*/
|
|
6106
|
+
async listTasksForCompanyV1TasksCompanyGet(companyId: string, page?: number, elements?: number, authorization?: string, sessionId?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PaginationResponseTaskRead>> {
|
|
6107
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.listTasksForCompanyV1TasksCompanyGet(companyId, page, elements, authorization, sessionId, options);
|
|
6108
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
6109
|
+
const localVarOperationServerBasePath = operationServerMap['TasksApi.listTasksForCompanyV1TasksCompanyGet']?.[localVarOperationServerIndex]?.url;
|
|
6110
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
6111
|
+
},
|
|
6112
|
+
/**
|
|
6113
|
+
*
|
|
6114
|
+
* @summary List Tasks For User
|
|
6115
|
+
* @param {string} companyId
|
|
6116
|
+
* @param {number} [page]
|
|
6117
|
+
* @param {number} [elements]
|
|
6118
|
+
* @param {string} [authorization]
|
|
6119
|
+
* @param {string} [sessionId]
|
|
6120
|
+
* @param {*} [options] Override http request option.
|
|
6121
|
+
* @throws {RequiredError}
|
|
6122
|
+
*/
|
|
6123
|
+
async listTasksForUserV1TasksUserGet(companyId: string, page?: number, elements?: number, authorization?: string, sessionId?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PaginationResponseTaskRead>> {
|
|
6124
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.listTasksForUserV1TasksUserGet(companyId, page, elements, authorization, sessionId, options);
|
|
6125
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
6126
|
+
const localVarOperationServerBasePath = operationServerMap['TasksApi.listTasksForUserV1TasksUserGet']?.[localVarOperationServerIndex]?.url;
|
|
6127
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
6128
|
+
},
|
|
6129
|
+
/**
|
|
6130
|
+
*
|
|
6131
|
+
* @summary Request Task Scheduling
|
|
6132
|
+
* @param {SchedulerRequest} schedulerRequest
|
|
6133
|
+
* @param {string} [authorization]
|
|
6134
|
+
* @param {string} [sessionId]
|
|
6135
|
+
* @param {*} [options] Override http request option.
|
|
6136
|
+
* @throws {RequiredError}
|
|
6137
|
+
*/
|
|
6138
|
+
async requestTaskSchedulingV1TasksSchedulePost(schedulerRequest: SchedulerRequest, authorization?: string, sessionId?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Details>> {
|
|
6139
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.requestTaskSchedulingV1TasksSchedulePost(schedulerRequest, authorization, sessionId, options);
|
|
6140
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
6141
|
+
const localVarOperationServerBasePath = operationServerMap['TasksApi.requestTaskSchedulingV1TasksSchedulePost']?.[localVarOperationServerIndex]?.url;
|
|
6142
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
6143
|
+
},
|
|
6144
|
+
/**
|
|
6145
|
+
*
|
|
6146
|
+
* @summary Update Task
|
|
6147
|
+
* @param {UpdateTaskSchema} updateTaskSchema
|
|
6148
|
+
* @param {string} [authorization]
|
|
6149
|
+
* @param {string} [sessionId]
|
|
6150
|
+
* @param {*} [options] Override http request option.
|
|
6151
|
+
* @throws {RequiredError}
|
|
6152
|
+
*/
|
|
6153
|
+
async updateTaskV1TasksPut(updateTaskSchema: UpdateTaskSchema, authorization?: string, sessionId?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<TaskRead>> {
|
|
6154
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.updateTaskV1TasksPut(updateTaskSchema, authorization, sessionId, options);
|
|
6155
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
6156
|
+
const localVarOperationServerBasePath = operationServerMap['TasksApi.updateTaskV1TasksPut']?.[localVarOperationServerIndex]?.url;
|
|
4967
6157
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
4968
6158
|
},
|
|
4969
6159
|
}
|
|
4970
6160
|
};
|
|
4971
6161
|
|
|
4972
6162
|
/**
|
|
4973
|
-
*
|
|
6163
|
+
* TasksApi - factory interface
|
|
4974
6164
|
* @export
|
|
4975
6165
|
*/
|
|
4976
|
-
export const
|
|
4977
|
-
const localVarFp =
|
|
6166
|
+
export const TasksApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
|
|
6167
|
+
const localVarFp = TasksApiFp(configuration)
|
|
4978
6168
|
return {
|
|
4979
6169
|
/**
|
|
4980
|
-
*
|
|
4981
|
-
* @summary
|
|
4982
|
-
* @param {
|
|
6170
|
+
*
|
|
6171
|
+
* @summary Create Task
|
|
6172
|
+
* @param {CreateTaskSchema} createTaskSchema
|
|
4983
6173
|
* @param {string} [authorization]
|
|
4984
6174
|
* @param {string} [sessionId]
|
|
4985
6175
|
* @param {*} [options] Override http request option.
|
|
4986
6176
|
* @throws {RequiredError}
|
|
4987
6177
|
*/
|
|
4988
|
-
|
|
4989
|
-
return localVarFp.
|
|
6178
|
+
createTaskV1TasksPost(createTaskSchema: CreateTaskSchema, authorization?: string, sessionId?: string, options?: RawAxiosRequestConfig): AxiosPromise<TaskRead> {
|
|
6179
|
+
return localVarFp.createTaskV1TasksPost(createTaskSchema, authorization, sessionId, options).then((request) => request(axios, basePath));
|
|
4990
6180
|
},
|
|
4991
6181
|
/**
|
|
4992
|
-
*
|
|
4993
|
-
* @summary
|
|
4994
|
-
* @param {
|
|
6182
|
+
*
|
|
6183
|
+
* @summary Delete Task
|
|
6184
|
+
* @param {DeleteTaskSchema} deleteTaskSchema
|
|
4995
6185
|
* @param {string} [authorization]
|
|
4996
6186
|
* @param {string} [sessionId]
|
|
4997
6187
|
* @param {*} [options] Override http request option.
|
|
4998
6188
|
* @throws {RequiredError}
|
|
4999
6189
|
*/
|
|
5000
|
-
|
|
5001
|
-
return localVarFp.
|
|
6190
|
+
deleteTaskV1TasksDelete(deleteTaskSchema: DeleteTaskSchema, authorization?: string, sessionId?: string, options?: RawAxiosRequestConfig): AxiosPromise<Details> {
|
|
6191
|
+
return localVarFp.deleteTaskV1TasksDelete(deleteTaskSchema, authorization, sessionId, options).then((request) => request(axios, basePath));
|
|
6192
|
+
},
|
|
6193
|
+
/**
|
|
6194
|
+
*
|
|
6195
|
+
* @summary List Tasks For Company
|
|
6196
|
+
* @param {string} companyId
|
|
6197
|
+
* @param {number} [page]
|
|
6198
|
+
* @param {number} [elements]
|
|
6199
|
+
* @param {string} [authorization]
|
|
6200
|
+
* @param {string} [sessionId]
|
|
6201
|
+
* @param {*} [options] Override http request option.
|
|
6202
|
+
* @throws {RequiredError}
|
|
6203
|
+
*/
|
|
6204
|
+
listTasksForCompanyV1TasksCompanyGet(companyId: string, page?: number, elements?: number, authorization?: string, sessionId?: string, options?: RawAxiosRequestConfig): AxiosPromise<PaginationResponseTaskRead> {
|
|
6205
|
+
return localVarFp.listTasksForCompanyV1TasksCompanyGet(companyId, page, elements, authorization, sessionId, options).then((request) => request(axios, basePath));
|
|
6206
|
+
},
|
|
6207
|
+
/**
|
|
6208
|
+
*
|
|
6209
|
+
* @summary List Tasks For User
|
|
6210
|
+
* @param {string} companyId
|
|
6211
|
+
* @param {number} [page]
|
|
6212
|
+
* @param {number} [elements]
|
|
6213
|
+
* @param {string} [authorization]
|
|
6214
|
+
* @param {string} [sessionId]
|
|
6215
|
+
* @param {*} [options] Override http request option.
|
|
6216
|
+
* @throws {RequiredError}
|
|
6217
|
+
*/
|
|
6218
|
+
listTasksForUserV1TasksUserGet(companyId: string, page?: number, elements?: number, authorization?: string, sessionId?: string, options?: RawAxiosRequestConfig): AxiosPromise<PaginationResponseTaskRead> {
|
|
6219
|
+
return localVarFp.listTasksForUserV1TasksUserGet(companyId, page, elements, authorization, sessionId, options).then((request) => request(axios, basePath));
|
|
6220
|
+
},
|
|
6221
|
+
/**
|
|
6222
|
+
*
|
|
6223
|
+
* @summary Request Task Scheduling
|
|
6224
|
+
* @param {SchedulerRequest} schedulerRequest
|
|
6225
|
+
* @param {string} [authorization]
|
|
6226
|
+
* @param {string} [sessionId]
|
|
6227
|
+
* @param {*} [options] Override http request option.
|
|
6228
|
+
* @throws {RequiredError}
|
|
6229
|
+
*/
|
|
6230
|
+
requestTaskSchedulingV1TasksSchedulePost(schedulerRequest: SchedulerRequest, authorization?: string, sessionId?: string, options?: RawAxiosRequestConfig): AxiosPromise<Details> {
|
|
6231
|
+
return localVarFp.requestTaskSchedulingV1TasksSchedulePost(schedulerRequest, authorization, sessionId, options).then((request) => request(axios, basePath));
|
|
6232
|
+
},
|
|
6233
|
+
/**
|
|
6234
|
+
*
|
|
6235
|
+
* @summary Update Task
|
|
6236
|
+
* @param {UpdateTaskSchema} updateTaskSchema
|
|
6237
|
+
* @param {string} [authorization]
|
|
6238
|
+
* @param {string} [sessionId]
|
|
6239
|
+
* @param {*} [options] Override http request option.
|
|
6240
|
+
* @throws {RequiredError}
|
|
6241
|
+
*/
|
|
6242
|
+
updateTaskV1TasksPut(updateTaskSchema: UpdateTaskSchema, authorization?: string, sessionId?: string, options?: RawAxiosRequestConfig): AxiosPromise<TaskRead> {
|
|
6243
|
+
return localVarFp.updateTaskV1TasksPut(updateTaskSchema, authorization, sessionId, options).then((request) => request(axios, basePath));
|
|
5002
6244
|
},
|
|
5003
6245
|
};
|
|
5004
6246
|
};
|
|
5005
6247
|
|
|
5006
6248
|
/**
|
|
5007
|
-
*
|
|
6249
|
+
* TasksApi - object-oriented interface
|
|
5008
6250
|
* @export
|
|
5009
|
-
* @class
|
|
6251
|
+
* @class TasksApi
|
|
5010
6252
|
* @extends {BaseAPI}
|
|
5011
6253
|
*/
|
|
5012
|
-
export class
|
|
6254
|
+
export class TasksApi extends BaseAPI {
|
|
5013
6255
|
/**
|
|
5014
|
-
*
|
|
5015
|
-
* @summary
|
|
5016
|
-
* @param {
|
|
6256
|
+
*
|
|
6257
|
+
* @summary Create Task
|
|
6258
|
+
* @param {CreateTaskSchema} createTaskSchema
|
|
5017
6259
|
* @param {string} [authorization]
|
|
5018
6260
|
* @param {string} [sessionId]
|
|
5019
6261
|
* @param {*} [options] Override http request option.
|
|
5020
6262
|
* @throws {RequiredError}
|
|
5021
|
-
* @memberof
|
|
6263
|
+
* @memberof TasksApi
|
|
5022
6264
|
*/
|
|
5023
|
-
public
|
|
5024
|
-
return
|
|
6265
|
+
public createTaskV1TasksPost(createTaskSchema: CreateTaskSchema, authorization?: string, sessionId?: string, options?: RawAxiosRequestConfig) {
|
|
6266
|
+
return TasksApiFp(this.configuration).createTaskV1TasksPost(createTaskSchema, authorization, sessionId, options).then((request) => request(this.axios, this.basePath));
|
|
5025
6267
|
}
|
|
5026
6268
|
|
|
5027
6269
|
/**
|
|
5028
|
-
*
|
|
5029
|
-
* @summary
|
|
5030
|
-
* @param {
|
|
6270
|
+
*
|
|
6271
|
+
* @summary Delete Task
|
|
6272
|
+
* @param {DeleteTaskSchema} deleteTaskSchema
|
|
5031
6273
|
* @param {string} [authorization]
|
|
5032
6274
|
* @param {string} [sessionId]
|
|
5033
6275
|
* @param {*} [options] Override http request option.
|
|
5034
6276
|
* @throws {RequiredError}
|
|
5035
|
-
* @memberof
|
|
6277
|
+
* @memberof TasksApi
|
|
5036
6278
|
*/
|
|
5037
|
-
public
|
|
5038
|
-
return
|
|
6279
|
+
public deleteTaskV1TasksDelete(deleteTaskSchema: DeleteTaskSchema, authorization?: string, sessionId?: string, options?: RawAxiosRequestConfig) {
|
|
6280
|
+
return TasksApiFp(this.configuration).deleteTaskV1TasksDelete(deleteTaskSchema, authorization, sessionId, options).then((request) => request(this.axios, this.basePath));
|
|
6281
|
+
}
|
|
6282
|
+
|
|
6283
|
+
/**
|
|
6284
|
+
*
|
|
6285
|
+
* @summary List Tasks For Company
|
|
6286
|
+
* @param {string} companyId
|
|
6287
|
+
* @param {number} [page]
|
|
6288
|
+
* @param {number} [elements]
|
|
6289
|
+
* @param {string} [authorization]
|
|
6290
|
+
* @param {string} [sessionId]
|
|
6291
|
+
* @param {*} [options] Override http request option.
|
|
6292
|
+
* @throws {RequiredError}
|
|
6293
|
+
* @memberof TasksApi
|
|
6294
|
+
*/
|
|
6295
|
+
public listTasksForCompanyV1TasksCompanyGet(companyId: string, page?: number, elements?: number, authorization?: string, sessionId?: string, options?: RawAxiosRequestConfig) {
|
|
6296
|
+
return TasksApiFp(this.configuration).listTasksForCompanyV1TasksCompanyGet(companyId, page, elements, authorization, sessionId, options).then((request) => request(this.axios, this.basePath));
|
|
6297
|
+
}
|
|
6298
|
+
|
|
6299
|
+
/**
|
|
6300
|
+
*
|
|
6301
|
+
* @summary List Tasks For User
|
|
6302
|
+
* @param {string} companyId
|
|
6303
|
+
* @param {number} [page]
|
|
6304
|
+
* @param {number} [elements]
|
|
6305
|
+
* @param {string} [authorization]
|
|
6306
|
+
* @param {string} [sessionId]
|
|
6307
|
+
* @param {*} [options] Override http request option.
|
|
6308
|
+
* @throws {RequiredError}
|
|
6309
|
+
* @memberof TasksApi
|
|
6310
|
+
*/
|
|
6311
|
+
public listTasksForUserV1TasksUserGet(companyId: string, page?: number, elements?: number, authorization?: string, sessionId?: string, options?: RawAxiosRequestConfig) {
|
|
6312
|
+
return TasksApiFp(this.configuration).listTasksForUserV1TasksUserGet(companyId, page, elements, authorization, sessionId, options).then((request) => request(this.axios, this.basePath));
|
|
6313
|
+
}
|
|
6314
|
+
|
|
6315
|
+
/**
|
|
6316
|
+
*
|
|
6317
|
+
* @summary Request Task Scheduling
|
|
6318
|
+
* @param {SchedulerRequest} schedulerRequest
|
|
6319
|
+
* @param {string} [authorization]
|
|
6320
|
+
* @param {string} [sessionId]
|
|
6321
|
+
* @param {*} [options] Override http request option.
|
|
6322
|
+
* @throws {RequiredError}
|
|
6323
|
+
* @memberof TasksApi
|
|
6324
|
+
*/
|
|
6325
|
+
public requestTaskSchedulingV1TasksSchedulePost(schedulerRequest: SchedulerRequest, authorization?: string, sessionId?: string, options?: RawAxiosRequestConfig) {
|
|
6326
|
+
return TasksApiFp(this.configuration).requestTaskSchedulingV1TasksSchedulePost(schedulerRequest, authorization, sessionId, options).then((request) => request(this.axios, this.basePath));
|
|
6327
|
+
}
|
|
6328
|
+
|
|
6329
|
+
/**
|
|
6330
|
+
*
|
|
6331
|
+
* @summary Update Task
|
|
6332
|
+
* @param {UpdateTaskSchema} updateTaskSchema
|
|
6333
|
+
* @param {string} [authorization]
|
|
6334
|
+
* @param {string} [sessionId]
|
|
6335
|
+
* @param {*} [options] Override http request option.
|
|
6336
|
+
* @throws {RequiredError}
|
|
6337
|
+
* @memberof TasksApi
|
|
6338
|
+
*/
|
|
6339
|
+
public updateTaskV1TasksPut(updateTaskSchema: UpdateTaskSchema, authorization?: string, sessionId?: string, options?: RawAxiosRequestConfig) {
|
|
6340
|
+
return TasksApiFp(this.configuration).updateTaskV1TasksPut(updateTaskSchema, authorization, sessionId, options).then((request) => request(this.axios, this.basePath));
|
|
5039
6341
|
}
|
|
5040
6342
|
}
|
|
5041
6343
|
|