@rasadov/lumoar 2.1.1 → 2.1.3

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.
Files changed (3) hide show
  1. package/dist/api.d.ts +128 -154
  2. package/dist/api.js +244 -70
  3. package/package.json +1 -1
package/dist/api.d.ts CHANGED
@@ -2505,49 +2505,6 @@ export interface LinkProviderResponse {
2505
2505
  */
2506
2506
  'mappings_created': number;
2507
2507
  }
2508
- /**
2509
- *
2510
- * @export
2511
- * @interface ListAuditLog
2512
- */
2513
- export interface ListAuditLog {
2514
- /**
2515
- *
2516
- * @type {number}
2517
- * @memberof ListAuditLog
2518
- */
2519
- 'page': number;
2520
- /**
2521
- *
2522
- * @type {number}
2523
- * @memberof ListAuditLog
2524
- */
2525
- 'elements': number;
2526
- /**
2527
- *
2528
- * @type {AuditLogEntity}
2529
- * @memberof ListAuditLog
2530
- */
2531
- 'entity_type'?: AuditLogEntity | null;
2532
- /**
2533
- *
2534
- * @type {AuditLogAction}
2535
- * @memberof ListAuditLog
2536
- */
2537
- 'action'?: AuditLogAction | null;
2538
- /**
2539
- *
2540
- * @type {string}
2541
- * @memberof ListAuditLog
2542
- */
2543
- 'start_date'?: string | null;
2544
- /**
2545
- *
2546
- * @type {string}
2547
- * @memberof ListAuditLog
2548
- */
2549
- 'end_date'?: string | null;
2550
- }
2551
2508
  /**
2552
2509
  * Response for listing audit logs
2553
2510
  * @export
@@ -2605,66 +2562,6 @@ export interface ListSignalsResponse {
2605
2562
  */
2606
2563
  'total': number;
2607
2564
  }
2608
- /**
2609
- *
2610
- * @export
2611
- * @interface ListTasksQuery
2612
- */
2613
- export interface ListTasksQuery {
2614
- /**
2615
- *
2616
- * @type {number}
2617
- * @memberof ListTasksQuery
2618
- */
2619
- 'page': number;
2620
- /**
2621
- *
2622
- * @type {number}
2623
- * @memberof ListTasksQuery
2624
- */
2625
- 'elements': number;
2626
- /**
2627
- *
2628
- * @type {string}
2629
- * @memberof ListTasksQuery
2630
- */
2631
- 'due_date_from'?: string | null;
2632
- /**
2633
- *
2634
- * @type {string}
2635
- * @memberof ListTasksQuery
2636
- */
2637
- 'due_date_to'?: string | null;
2638
- /**
2639
- *
2640
- * @type {TaskPriority}
2641
- * @memberof ListTasksQuery
2642
- */
2643
- 'priority'?: TaskPriority | null;
2644
- /**
2645
- *
2646
- * @type {TaskStatus}
2647
- * @memberof ListTasksQuery
2648
- */
2649
- 'status'?: TaskStatus | null;
2650
- /**
2651
- *
2652
- * @type {OrderBy}
2653
- * @memberof ListTasksQuery
2654
- */
2655
- 'order_by'?: OrderBy | null;
2656
- /**
2657
- *
2658
- * @type {string}
2659
- * @memberof ListTasksQuery
2660
- */
2661
- 'order'?: ListTasksQueryOrderEnum;
2662
- }
2663
- export declare const ListTasksQueryOrderEnum: {
2664
- readonly Asc: "asc";
2665
- readonly Desc: "desc";
2666
- };
2667
- export type ListTasksQueryOrderEnum = typeof ListTasksQueryOrderEnum[keyof typeof ListTasksQueryOrderEnum];
2668
2565
  /**
2669
2566
  * Login schema for user authentication. Attributes: - email: EmailStr - password: SecretStr - turnstile_token: str
2670
2567
  * @export
@@ -2702,25 +2599,6 @@ export declare const OrderBy: {
2702
2599
  readonly Status: "status";
2703
2600
  };
2704
2601
  export type OrderBy = typeof OrderBy[keyof typeof OrderBy];
2705
- /**
2706
- *
2707
- * @export
2708
- * @interface PaginationQuery
2709
- */
2710
- export interface PaginationQuery {
2711
- /**
2712
- *
2713
- * @type {number}
2714
- * @memberof PaginationQuery
2715
- */
2716
- 'page': number;
2717
- /**
2718
- *
2719
- * @type {number}
2720
- * @memberof PaginationQuery
2721
- */
2722
- 'elements': number;
2723
- }
2724
2602
  /**
2725
2603
  *
2726
2604
  * @export
@@ -5284,11 +5162,16 @@ export declare const AuditLogsApiAxiosParamCreator: (configuration?: Configurati
5284
5162
  /**
5285
5163
  *
5286
5164
  * @summary List Audit Logs
5287
- * @param {ListAuditLog} listAuditLog
5165
+ * @param {number} page
5166
+ * @param {number} elements
5167
+ * @param {AuditLogEntity | null} [entityType]
5168
+ * @param {AuditLogAction | null} [action]
5169
+ * @param {string | null} [startDate]
5170
+ * @param {string | null} [endDate]
5288
5171
  * @param {*} [options] Override http request option.
5289
5172
  * @throws {RequiredError}
5290
5173
  */
5291
- auditLogListAuditLogs: (listAuditLog: ListAuditLog, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
5174
+ auditLogListAuditLogs: (page: number, elements: number, entityType?: AuditLogEntity | null, action?: AuditLogAction | null, startDate?: string | null, endDate?: string | null, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
5292
5175
  };
5293
5176
  /**
5294
5177
  * AuditLogsApi - functional programming interface
@@ -5298,11 +5181,16 @@ export declare const AuditLogsApiFp: (configuration?: Configuration) => {
5298
5181
  /**
5299
5182
  *
5300
5183
  * @summary List Audit Logs
5301
- * @param {ListAuditLog} listAuditLog
5184
+ * @param {number} page
5185
+ * @param {number} elements
5186
+ * @param {AuditLogEntity | null} [entityType]
5187
+ * @param {AuditLogAction | null} [action]
5188
+ * @param {string | null} [startDate]
5189
+ * @param {string | null} [endDate]
5302
5190
  * @param {*} [options] Override http request option.
5303
5191
  * @throws {RequiredError}
5304
5192
  */
5305
- auditLogListAuditLogs(listAuditLog: ListAuditLog, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PaginationResponseAuditLogSchema>>;
5193
+ auditLogListAuditLogs(page: number, elements: number, entityType?: AuditLogEntity | null, action?: AuditLogAction | null, startDate?: string | null, endDate?: string | null, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PaginationResponseAuditLogSchema>>;
5306
5194
  };
5307
5195
  /**
5308
5196
  * AuditLogsApi - factory interface
@@ -5312,11 +5200,16 @@ export declare const AuditLogsApiFactory: (configuration?: Configuration, basePa
5312
5200
  /**
5313
5201
  *
5314
5202
  * @summary List Audit Logs
5315
- * @param {ListAuditLog} listAuditLog
5203
+ * @param {number} page
5204
+ * @param {number} elements
5205
+ * @param {AuditLogEntity | null} [entityType]
5206
+ * @param {AuditLogAction | null} [action]
5207
+ * @param {string | null} [startDate]
5208
+ * @param {string | null} [endDate]
5316
5209
  * @param {*} [options] Override http request option.
5317
5210
  * @throws {RequiredError}
5318
5211
  */
5319
- auditLogListAuditLogs(listAuditLog: ListAuditLog, options?: RawAxiosRequestConfig): AxiosPromise<PaginationResponseAuditLogSchema>;
5212
+ auditLogListAuditLogs(page: number, elements: number, entityType?: AuditLogEntity | null, action?: AuditLogAction | null, startDate?: string | null, endDate?: string | null, options?: RawAxiosRequestConfig): AxiosPromise<PaginationResponseAuditLogSchema>;
5320
5213
  };
5321
5214
  /**
5322
5215
  * AuditLogsApi - object-oriented interface
@@ -5328,12 +5221,17 @@ export declare class AuditLogsApi extends BaseAPI {
5328
5221
  /**
5329
5222
  *
5330
5223
  * @summary List Audit Logs
5331
- * @param {ListAuditLog} listAuditLog
5224
+ * @param {number} page
5225
+ * @param {number} elements
5226
+ * @param {AuditLogEntity | null} [entityType]
5227
+ * @param {AuditLogAction | null} [action]
5228
+ * @param {string | null} [startDate]
5229
+ * @param {string | null} [endDate]
5332
5230
  * @param {*} [options] Override http request option.
5333
5231
  * @throws {RequiredError}
5334
5232
  * @memberof AuditLogsApi
5335
5233
  */
5336
- auditLogListAuditLogs(listAuditLog: ListAuditLog, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<PaginationResponseAuditLogSchema, any, {}>>;
5234
+ auditLogListAuditLogs(page: number, elements: number, entityType?: AuditLogEntity | null, action?: AuditLogAction | null, startDate?: string | null, endDate?: string | null, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<PaginationResponseAuditLogSchema, any, {}>>;
5337
5235
  }
5338
5236
  /**
5339
5237
  * ControlsApi - axios parameter creator
@@ -5917,11 +5815,12 @@ export declare const ReportsApiAxiosParamCreator: (configuration?: Configuration
5917
5815
  /**
5918
5816
  *
5919
5817
  * @summary List Reports
5920
- * @param {PaginationQuery} paginationQuery
5818
+ * @param {number} page
5819
+ * @param {number} elements
5921
5820
  * @param {*} [options] Override http request option.
5922
5821
  * @throws {RequiredError}
5923
5822
  */
5924
- reportListReports: (paginationQuery: PaginationQuery, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
5823
+ reportListReports: (page: number, elements: number, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
5925
5824
  };
5926
5825
  /**
5927
5826
  * ReportsApi - functional programming interface
@@ -5955,11 +5854,12 @@ export declare const ReportsApiFp: (configuration?: Configuration) => {
5955
5854
  /**
5956
5855
  *
5957
5856
  * @summary List Reports
5958
- * @param {PaginationQuery} paginationQuery
5857
+ * @param {number} page
5858
+ * @param {number} elements
5959
5859
  * @param {*} [options] Override http request option.
5960
5860
  * @throws {RequiredError}
5961
5861
  */
5962
- reportListReports(paginationQuery: PaginationQuery, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PaginationResponseReportBase>>;
5862
+ reportListReports(page: number, elements: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PaginationResponseReportBase>>;
5963
5863
  };
5964
5864
  /**
5965
5865
  * ReportsApi - factory interface
@@ -5993,11 +5893,12 @@ export declare const ReportsApiFactory: (configuration?: Configuration, basePath
5993
5893
  /**
5994
5894
  *
5995
5895
  * @summary List Reports
5996
- * @param {PaginationQuery} paginationQuery
5896
+ * @param {number} page
5897
+ * @param {number} elements
5997
5898
  * @param {*} [options] Override http request option.
5998
5899
  * @throws {RequiredError}
5999
5900
  */
6000
- reportListReports(paginationQuery: PaginationQuery, options?: RawAxiosRequestConfig): AxiosPromise<PaginationResponseReportBase>;
5901
+ reportListReports(page: number, elements: number, options?: RawAxiosRequestConfig): AxiosPromise<PaginationResponseReportBase>;
6001
5902
  };
6002
5903
  /**
6003
5904
  * ReportsApi - object-oriented interface
@@ -6036,12 +5937,13 @@ export declare class ReportsApi extends BaseAPI {
6036
5937
  /**
6037
5938
  *
6038
5939
  * @summary List Reports
6039
- * @param {PaginationQuery} paginationQuery
5940
+ * @param {number} page
5941
+ * @param {number} elements
6040
5942
  * @param {*} [options] Override http request option.
6041
5943
  * @throws {RequiredError}
6042
5944
  * @memberof ReportsApi
6043
5945
  */
6044
- reportListReports(paginationQuery: PaginationQuery, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<PaginationResponseReportBase, any, {}>>;
5946
+ reportListReports(page: number, elements: number, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<PaginationResponseReportBase, any, {}>>;
6045
5947
  }
6046
5948
  /**
6047
5949
  * RisksApi - axios parameter creator
@@ -6406,19 +6308,33 @@ export declare const TasksApiAxiosParamCreator: (configuration?: Configuration)
6406
6308
  /**
6407
6309
  *
6408
6310
  * @summary List Tasks For Company
6409
- * @param {ListTasksQuery} listTasksQuery
6311
+ * @param {number} page
6312
+ * @param {number} elements
6313
+ * @param {string | null} [dueDateFrom]
6314
+ * @param {string | null} [dueDateTo]
6315
+ * @param {TaskPriority | null} [priority]
6316
+ * @param {TaskStatus | null} [status]
6317
+ * @param {OrderBy | null} [orderBy]
6318
+ * @param {TasksListTasksForCompanyOrderEnum} [order]
6410
6319
  * @param {*} [options] Override http request option.
6411
6320
  * @throws {RequiredError}
6412
6321
  */
6413
- tasksListTasksForCompany: (listTasksQuery: ListTasksQuery, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
6322
+ tasksListTasksForCompany: (page: number, elements: number, dueDateFrom?: string | null, dueDateTo?: string | null, priority?: TaskPriority | null, status?: TaskStatus | null, orderBy?: OrderBy | null, order?: TasksListTasksForCompanyOrderEnum, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
6414
6323
  /**
6415
6324
  *
6416
6325
  * @summary List Tasks For User
6417
- * @param {ListTasksQuery} listTasksQuery
6326
+ * @param {number} page
6327
+ * @param {number} elements
6328
+ * @param {string | null} [dueDateFrom]
6329
+ * @param {string | null} [dueDateTo]
6330
+ * @param {TaskPriority | null} [priority]
6331
+ * @param {TaskStatus | null} [status]
6332
+ * @param {OrderBy | null} [orderBy]
6333
+ * @param {TasksListTasksForUserOrderEnum} [order]
6418
6334
  * @param {*} [options] Override http request option.
6419
6335
  * @throws {RequiredError}
6420
6336
  */
6421
- tasksListTasksForUser: (listTasksQuery: ListTasksQuery, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
6337
+ tasksListTasksForUser: (page: number, elements: number, dueDateFrom?: string | null, dueDateTo?: string | null, priority?: TaskPriority | null, status?: TaskStatus | null, orderBy?: OrderBy | null, order?: TasksListTasksForUserOrderEnum, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
6422
6338
  /**
6423
6339
  *
6424
6340
  * @summary Request Task Scheduling
@@ -6476,19 +6392,33 @@ export declare const TasksApiFp: (configuration?: Configuration) => {
6476
6392
  /**
6477
6393
  *
6478
6394
  * @summary List Tasks For Company
6479
- * @param {ListTasksQuery} listTasksQuery
6395
+ * @param {number} page
6396
+ * @param {number} elements
6397
+ * @param {string | null} [dueDateFrom]
6398
+ * @param {string | null} [dueDateTo]
6399
+ * @param {TaskPriority | null} [priority]
6400
+ * @param {TaskStatus | null} [status]
6401
+ * @param {OrderBy | null} [orderBy]
6402
+ * @param {TasksListTasksForCompanyOrderEnum} [order]
6480
6403
  * @param {*} [options] Override http request option.
6481
6404
  * @throws {RequiredError}
6482
6405
  */
6483
- tasksListTasksForCompany(listTasksQuery: ListTasksQuery, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PaginationResponseTaskWithUser>>;
6406
+ tasksListTasksForCompany(page: number, elements: number, dueDateFrom?: string | null, dueDateTo?: string | null, priority?: TaskPriority | null, status?: TaskStatus | null, orderBy?: OrderBy | null, order?: TasksListTasksForCompanyOrderEnum, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PaginationResponseTaskWithUser>>;
6484
6407
  /**
6485
6408
  *
6486
6409
  * @summary List Tasks For User
6487
- * @param {ListTasksQuery} listTasksQuery
6410
+ * @param {number} page
6411
+ * @param {number} elements
6412
+ * @param {string | null} [dueDateFrom]
6413
+ * @param {string | null} [dueDateTo]
6414
+ * @param {TaskPriority | null} [priority]
6415
+ * @param {TaskStatus | null} [status]
6416
+ * @param {OrderBy | null} [orderBy]
6417
+ * @param {TasksListTasksForUserOrderEnum} [order]
6488
6418
  * @param {*} [options] Override http request option.
6489
6419
  * @throws {RequiredError}
6490
6420
  */
6491
- tasksListTasksForUser(listTasksQuery: ListTasksQuery, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PaginationResponseTaskRead>>;
6421
+ tasksListTasksForUser(page: number, elements: number, dueDateFrom?: string | null, dueDateTo?: string | null, priority?: TaskPriority | null, status?: TaskStatus | null, orderBy?: OrderBy | null, order?: TasksListTasksForUserOrderEnum, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PaginationResponseTaskRead>>;
6492
6422
  /**
6493
6423
  *
6494
6424
  * @summary Request Task Scheduling
@@ -6546,19 +6476,33 @@ export declare const TasksApiFactory: (configuration?: Configuration, basePath?:
6546
6476
  /**
6547
6477
  *
6548
6478
  * @summary List Tasks For Company
6549
- * @param {ListTasksQuery} listTasksQuery
6479
+ * @param {number} page
6480
+ * @param {number} elements
6481
+ * @param {string | null} [dueDateFrom]
6482
+ * @param {string | null} [dueDateTo]
6483
+ * @param {TaskPriority | null} [priority]
6484
+ * @param {TaskStatus | null} [status]
6485
+ * @param {OrderBy | null} [orderBy]
6486
+ * @param {TasksListTasksForCompanyOrderEnum} [order]
6550
6487
  * @param {*} [options] Override http request option.
6551
6488
  * @throws {RequiredError}
6552
6489
  */
6553
- tasksListTasksForCompany(listTasksQuery: ListTasksQuery, options?: RawAxiosRequestConfig): AxiosPromise<PaginationResponseTaskWithUser>;
6490
+ tasksListTasksForCompany(page: number, elements: number, dueDateFrom?: string | null, dueDateTo?: string | null, priority?: TaskPriority | null, status?: TaskStatus | null, orderBy?: OrderBy | null, order?: TasksListTasksForCompanyOrderEnum, options?: RawAxiosRequestConfig): AxiosPromise<PaginationResponseTaskWithUser>;
6554
6491
  /**
6555
6492
  *
6556
6493
  * @summary List Tasks For User
6557
- * @param {ListTasksQuery} listTasksQuery
6494
+ * @param {number} page
6495
+ * @param {number} elements
6496
+ * @param {string | null} [dueDateFrom]
6497
+ * @param {string | null} [dueDateTo]
6498
+ * @param {TaskPriority | null} [priority]
6499
+ * @param {TaskStatus | null} [status]
6500
+ * @param {OrderBy | null} [orderBy]
6501
+ * @param {TasksListTasksForUserOrderEnum} [order]
6558
6502
  * @param {*} [options] Override http request option.
6559
6503
  * @throws {RequiredError}
6560
6504
  */
6561
- tasksListTasksForUser(listTasksQuery: ListTasksQuery, options?: RawAxiosRequestConfig): AxiosPromise<PaginationResponseTaskRead>;
6505
+ tasksListTasksForUser(page: number, elements: number, dueDateFrom?: string | null, dueDateTo?: string | null, priority?: TaskPriority | null, status?: TaskStatus | null, orderBy?: OrderBy | null, order?: TasksListTasksForUserOrderEnum, options?: RawAxiosRequestConfig): AxiosPromise<PaginationResponseTaskRead>;
6562
6506
  /**
6563
6507
  *
6564
6508
  * @summary Request Task Scheduling
@@ -6621,21 +6565,35 @@ export declare class TasksApi extends BaseAPI {
6621
6565
  /**
6622
6566
  *
6623
6567
  * @summary List Tasks For Company
6624
- * @param {ListTasksQuery} listTasksQuery
6568
+ * @param {number} page
6569
+ * @param {number} elements
6570
+ * @param {string | null} [dueDateFrom]
6571
+ * @param {string | null} [dueDateTo]
6572
+ * @param {TaskPriority | null} [priority]
6573
+ * @param {TaskStatus | null} [status]
6574
+ * @param {OrderBy | null} [orderBy]
6575
+ * @param {TasksListTasksForCompanyOrderEnum} [order]
6625
6576
  * @param {*} [options] Override http request option.
6626
6577
  * @throws {RequiredError}
6627
6578
  * @memberof TasksApi
6628
6579
  */
6629
- tasksListTasksForCompany(listTasksQuery: ListTasksQuery, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<PaginationResponseTaskWithUser, any, {}>>;
6580
+ tasksListTasksForCompany(page: number, elements: number, dueDateFrom?: string | null, dueDateTo?: string | null, priority?: TaskPriority | null, status?: TaskStatus | null, orderBy?: OrderBy | null, order?: TasksListTasksForCompanyOrderEnum, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<PaginationResponseTaskWithUser, any, {}>>;
6630
6581
  /**
6631
6582
  *
6632
6583
  * @summary List Tasks For User
6633
- * @param {ListTasksQuery} listTasksQuery
6584
+ * @param {number} page
6585
+ * @param {number} elements
6586
+ * @param {string | null} [dueDateFrom]
6587
+ * @param {string | null} [dueDateTo]
6588
+ * @param {TaskPriority | null} [priority]
6589
+ * @param {TaskStatus | null} [status]
6590
+ * @param {OrderBy | null} [orderBy]
6591
+ * @param {TasksListTasksForUserOrderEnum} [order]
6634
6592
  * @param {*} [options] Override http request option.
6635
6593
  * @throws {RequiredError}
6636
6594
  * @memberof TasksApi
6637
6595
  */
6638
- tasksListTasksForUser(listTasksQuery: ListTasksQuery, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<PaginationResponseTaskRead, any, {}>>;
6596
+ tasksListTasksForUser(page: number, elements: number, dueDateFrom?: string | null, dueDateTo?: string | null, priority?: TaskPriority | null, status?: TaskStatus | null, orderBy?: OrderBy | null, order?: TasksListTasksForUserOrderEnum, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<PaginationResponseTaskRead, any, {}>>;
6639
6597
  /**
6640
6598
  *
6641
6599
  * @summary Request Task Scheduling
@@ -6664,6 +6622,22 @@ export declare class TasksApi extends BaseAPI {
6664
6622
  */
6665
6623
  tasksUpdateTaskStatus(updateTaskStatus: UpdateTaskStatus, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<TaskRead, any, {}>>;
6666
6624
  }
6625
+ /**
6626
+ * @export
6627
+ */
6628
+ export declare const TasksListTasksForCompanyOrderEnum: {
6629
+ readonly Asc: "asc";
6630
+ readonly Desc: "desc";
6631
+ };
6632
+ export type TasksListTasksForCompanyOrderEnum = typeof TasksListTasksForCompanyOrderEnum[keyof typeof TasksListTasksForCompanyOrderEnum];
6633
+ /**
6634
+ * @export
6635
+ */
6636
+ export declare const TasksListTasksForUserOrderEnum: {
6637
+ readonly Asc: "asc";
6638
+ readonly Desc: "desc";
6639
+ };
6640
+ export type TasksListTasksForUserOrderEnum = typeof TasksListTasksForUserOrderEnum[keyof typeof TasksListTasksForUserOrderEnum];
6667
6641
  /**
6668
6642
  * VendorContactsApi - axios parameter creator
6669
6643
  * @export
package/dist/api.js CHANGED
@@ -86,10 +86,6 @@ export const ControlStatus = {
86
86
  Skipped: 'skipped',
87
87
  PendingReview: 'pending_review'
88
88
  };
89
- export const ListTasksQueryOrderEnum = {
90
- Asc: 'asc',
91
- Desc: 'desc'
92
- };
93
89
  /**
94
90
  *
95
91
  * @export
@@ -653,13 +649,20 @@ export const AuditLogsApiAxiosParamCreator = function (configuration) {
653
649
  /**
654
650
  *
655
651
  * @summary List Audit Logs
656
- * @param {ListAuditLog} listAuditLog
652
+ * @param {number} page
653
+ * @param {number} elements
654
+ * @param {AuditLogEntity | null} [entityType]
655
+ * @param {AuditLogAction | null} [action]
656
+ * @param {string | null} [startDate]
657
+ * @param {string | null} [endDate]
657
658
  * @param {*} [options] Override http request option.
658
659
  * @throws {RequiredError}
659
660
  */
660
- auditLogListAuditLogs: (listAuditLog_1, ...args_1) => __awaiter(this, [listAuditLog_1, ...args_1], void 0, function* (listAuditLog, options = {}) {
661
- // verify required parameter 'listAuditLog' is not null or undefined
662
- assertParamExists('auditLogListAuditLogs', 'listAuditLog', listAuditLog);
661
+ auditLogListAuditLogs: (page_1, elements_1, entityType_1, action_1, startDate_1, endDate_1, ...args_1) => __awaiter(this, [page_1, elements_1, entityType_1, action_1, startDate_1, endDate_1, ...args_1], void 0, function* (page, elements, entityType, action, startDate, endDate, options = {}) {
662
+ // verify required parameter 'page' is not null or undefined
663
+ assertParamExists('auditLogListAuditLogs', 'page', page);
664
+ // verify required parameter 'elements' is not null or undefined
665
+ assertParamExists('auditLogListAuditLogs', 'elements', elements);
663
666
  const localVarPath = `/v1/audit-logs/list`;
664
667
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
665
668
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
@@ -670,11 +673,31 @@ export const AuditLogsApiAxiosParamCreator = function (configuration) {
670
673
  const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
671
674
  const localVarHeaderParameter = {};
672
675
  const localVarQueryParameter = {};
673
- localVarHeaderParameter['Content-Type'] = 'application/json';
676
+ if (page !== undefined) {
677
+ localVarQueryParameter['page'] = page;
678
+ }
679
+ if (elements !== undefined) {
680
+ localVarQueryParameter['elements'] = elements;
681
+ }
682
+ if (entityType !== undefined) {
683
+ localVarQueryParameter['entity_type'] = entityType;
684
+ }
685
+ if (action !== undefined) {
686
+ localVarQueryParameter['action'] = action;
687
+ }
688
+ if (startDate !== undefined) {
689
+ localVarQueryParameter['start_date'] = (startDate instanceof Date) ?
690
+ startDate.toISOString() :
691
+ startDate;
692
+ }
693
+ if (endDate !== undefined) {
694
+ localVarQueryParameter['end_date'] = (endDate instanceof Date) ?
695
+ endDate.toISOString() :
696
+ endDate;
697
+ }
674
698
  setSearchParams(localVarUrlObj, localVarQueryParameter);
675
699
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
676
700
  localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
677
- localVarRequestOptions.data = serializeDataIfNeeded(listAuditLog, localVarRequestOptions, configuration);
678
701
  return {
679
702
  url: toPathString(localVarUrlObj),
680
703
  options: localVarRequestOptions,
@@ -692,14 +715,19 @@ export const AuditLogsApiFp = function (configuration) {
692
715
  /**
693
716
  *
694
717
  * @summary List Audit Logs
695
- * @param {ListAuditLog} listAuditLog
718
+ * @param {number} page
719
+ * @param {number} elements
720
+ * @param {AuditLogEntity | null} [entityType]
721
+ * @param {AuditLogAction | null} [action]
722
+ * @param {string | null} [startDate]
723
+ * @param {string | null} [endDate]
696
724
  * @param {*} [options] Override http request option.
697
725
  * @throws {RequiredError}
698
726
  */
699
- auditLogListAuditLogs(listAuditLog, options) {
727
+ auditLogListAuditLogs(page, elements, entityType, action, startDate, endDate, options) {
700
728
  return __awaiter(this, void 0, void 0, function* () {
701
729
  var _a, _b, _c;
702
- const localVarAxiosArgs = yield localVarAxiosParamCreator.auditLogListAuditLogs(listAuditLog, options);
730
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.auditLogListAuditLogs(page, elements, entityType, action, startDate, endDate, options);
703
731
  const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
704
732
  const localVarOperationServerBasePath = (_c = (_b = operationServerMap['AuditLogsApi.auditLogListAuditLogs']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
705
733
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
@@ -717,12 +745,17 @@ export const AuditLogsApiFactory = function (configuration, basePath, axios) {
717
745
  /**
718
746
  *
719
747
  * @summary List Audit Logs
720
- * @param {ListAuditLog} listAuditLog
748
+ * @param {number} page
749
+ * @param {number} elements
750
+ * @param {AuditLogEntity | null} [entityType]
751
+ * @param {AuditLogAction | null} [action]
752
+ * @param {string | null} [startDate]
753
+ * @param {string | null} [endDate]
721
754
  * @param {*} [options] Override http request option.
722
755
  * @throws {RequiredError}
723
756
  */
724
- auditLogListAuditLogs(listAuditLog, options) {
725
- return localVarFp.auditLogListAuditLogs(listAuditLog, options).then((request) => request(axios, basePath));
757
+ auditLogListAuditLogs(page, elements, entityType, action, startDate, endDate, options) {
758
+ return localVarFp.auditLogListAuditLogs(page, elements, entityType, action, startDate, endDate, options).then((request) => request(axios, basePath));
726
759
  },
727
760
  };
728
761
  };
@@ -736,13 +769,18 @@ export class AuditLogsApi extends BaseAPI {
736
769
  /**
737
770
  *
738
771
  * @summary List Audit Logs
739
- * @param {ListAuditLog} listAuditLog
772
+ * @param {number} page
773
+ * @param {number} elements
774
+ * @param {AuditLogEntity | null} [entityType]
775
+ * @param {AuditLogAction | null} [action]
776
+ * @param {string | null} [startDate]
777
+ * @param {string | null} [endDate]
740
778
  * @param {*} [options] Override http request option.
741
779
  * @throws {RequiredError}
742
780
  * @memberof AuditLogsApi
743
781
  */
744
- auditLogListAuditLogs(listAuditLog, options) {
745
- return AuditLogsApiFp(this.configuration).auditLogListAuditLogs(listAuditLog, options).then((request) => request(this.axios, this.basePath));
782
+ auditLogListAuditLogs(page, elements, entityType, action, startDate, endDate, options) {
783
+ return AuditLogsApiFp(this.configuration).auditLogListAuditLogs(page, elements, entityType, action, startDate, endDate, options).then((request) => request(this.axios, this.basePath));
746
784
  }
747
785
  }
748
786
  /**
@@ -1889,13 +1927,16 @@ export const ReportsApiAxiosParamCreator = function (configuration) {
1889
1927
  /**
1890
1928
  *
1891
1929
  * @summary List Reports
1892
- * @param {PaginationQuery} paginationQuery
1930
+ * @param {number} page
1931
+ * @param {number} elements
1893
1932
  * @param {*} [options] Override http request option.
1894
1933
  * @throws {RequiredError}
1895
1934
  */
1896
- reportListReports: (paginationQuery_1, ...args_1) => __awaiter(this, [paginationQuery_1, ...args_1], void 0, function* (paginationQuery, options = {}) {
1897
- // verify required parameter 'paginationQuery' is not null or undefined
1898
- assertParamExists('reportListReports', 'paginationQuery', paginationQuery);
1935
+ reportListReports: (page_1, elements_1, ...args_1) => __awaiter(this, [page_1, elements_1, ...args_1], void 0, function* (page, elements, options = {}) {
1936
+ // verify required parameter 'page' is not null or undefined
1937
+ assertParamExists('reportListReports', 'page', page);
1938
+ // verify required parameter 'elements' is not null or undefined
1939
+ assertParamExists('reportListReports', 'elements', elements);
1899
1940
  const localVarPath = `/v1/reports/list`;
1900
1941
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
1901
1942
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
@@ -1906,11 +1947,15 @@ export const ReportsApiAxiosParamCreator = function (configuration) {
1906
1947
  const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
1907
1948
  const localVarHeaderParameter = {};
1908
1949
  const localVarQueryParameter = {};
1909
- localVarHeaderParameter['Content-Type'] = 'application/json';
1950
+ if (page !== undefined) {
1951
+ localVarQueryParameter['page'] = page;
1952
+ }
1953
+ if (elements !== undefined) {
1954
+ localVarQueryParameter['elements'] = elements;
1955
+ }
1910
1956
  setSearchParams(localVarUrlObj, localVarQueryParameter);
1911
1957
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
1912
1958
  localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
1913
- localVarRequestOptions.data = serializeDataIfNeeded(paginationQuery, localVarRequestOptions, configuration);
1914
1959
  return {
1915
1960
  url: toPathString(localVarUrlObj),
1916
1961
  options: localVarRequestOptions,
@@ -1976,14 +2021,15 @@ export const ReportsApiFp = function (configuration) {
1976
2021
  /**
1977
2022
  *
1978
2023
  * @summary List Reports
1979
- * @param {PaginationQuery} paginationQuery
2024
+ * @param {number} page
2025
+ * @param {number} elements
1980
2026
  * @param {*} [options] Override http request option.
1981
2027
  * @throws {RequiredError}
1982
2028
  */
1983
- reportListReports(paginationQuery, options) {
2029
+ reportListReports(page, elements, options) {
1984
2030
  return __awaiter(this, void 0, void 0, function* () {
1985
2031
  var _a, _b, _c;
1986
- const localVarAxiosArgs = yield localVarAxiosParamCreator.reportListReports(paginationQuery, options);
2032
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.reportListReports(page, elements, options);
1987
2033
  const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
1988
2034
  const localVarOperationServerBasePath = (_c = (_b = operationServerMap['ReportsApi.reportListReports']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
1989
2035
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
@@ -2031,12 +2077,13 @@ export const ReportsApiFactory = function (configuration, basePath, axios) {
2031
2077
  /**
2032
2078
  *
2033
2079
  * @summary List Reports
2034
- * @param {PaginationQuery} paginationQuery
2080
+ * @param {number} page
2081
+ * @param {number} elements
2035
2082
  * @param {*} [options] Override http request option.
2036
2083
  * @throws {RequiredError}
2037
2084
  */
2038
- reportListReports(paginationQuery, options) {
2039
- return localVarFp.reportListReports(paginationQuery, options).then((request) => request(axios, basePath));
2085
+ reportListReports(page, elements, options) {
2086
+ return localVarFp.reportListReports(page, elements, options).then((request) => request(axios, basePath));
2040
2087
  },
2041
2088
  };
2042
2089
  };
@@ -2083,13 +2130,14 @@ export class ReportsApi extends BaseAPI {
2083
2130
  /**
2084
2131
  *
2085
2132
  * @summary List Reports
2086
- * @param {PaginationQuery} paginationQuery
2133
+ * @param {number} page
2134
+ * @param {number} elements
2087
2135
  * @param {*} [options] Override http request option.
2088
2136
  * @throws {RequiredError}
2089
2137
  * @memberof ReportsApi
2090
2138
  */
2091
- reportListReports(paginationQuery, options) {
2092
- return ReportsApiFp(this.configuration).reportListReports(paginationQuery, options).then((request) => request(this.axios, this.basePath));
2139
+ reportListReports(page, elements, options) {
2140
+ return ReportsApiFp(this.configuration).reportListReports(page, elements, options).then((request) => request(this.axios, this.basePath));
2093
2141
  }
2094
2142
  }
2095
2143
  /**
@@ -2835,13 +2883,22 @@ export const TasksApiAxiosParamCreator = function (configuration) {
2835
2883
  /**
2836
2884
  *
2837
2885
  * @summary List Tasks For Company
2838
- * @param {ListTasksQuery} listTasksQuery
2839
- * @param {*} [options] Override http request option.
2840
- * @throws {RequiredError}
2841
- */
2842
- tasksListTasksForCompany: (listTasksQuery_1, ...args_1) => __awaiter(this, [listTasksQuery_1, ...args_1], void 0, function* (listTasksQuery, options = {}) {
2843
- // verify required parameter 'listTasksQuery' is not null or undefined
2844
- assertParamExists('tasksListTasksForCompany', 'listTasksQuery', listTasksQuery);
2886
+ * @param {number} page
2887
+ * @param {number} elements
2888
+ * @param {string | null} [dueDateFrom]
2889
+ * @param {string | null} [dueDateTo]
2890
+ * @param {TaskPriority | null} [priority]
2891
+ * @param {TaskStatus | null} [status]
2892
+ * @param {OrderBy | null} [orderBy]
2893
+ * @param {TasksListTasksForCompanyOrderEnum} [order]
2894
+ * @param {*} [options] Override http request option.
2895
+ * @throws {RequiredError}
2896
+ */
2897
+ tasksListTasksForCompany: (page_1, elements_1, dueDateFrom_1, dueDateTo_1, priority_1, status_1, orderBy_1, order_1, ...args_1) => __awaiter(this, [page_1, elements_1, dueDateFrom_1, dueDateTo_1, priority_1, status_1, orderBy_1, order_1, ...args_1], void 0, function* (page, elements, dueDateFrom, dueDateTo, priority, status, orderBy, order, options = {}) {
2898
+ // verify required parameter 'page' is not null or undefined
2899
+ assertParamExists('tasksListTasksForCompany', 'page', page);
2900
+ // verify required parameter 'elements' is not null or undefined
2901
+ assertParamExists('tasksListTasksForCompany', 'elements', elements);
2845
2902
  const localVarPath = `/v1/tasks/company`;
2846
2903
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
2847
2904
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
@@ -2852,11 +2909,37 @@ export const TasksApiAxiosParamCreator = function (configuration) {
2852
2909
  const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
2853
2910
  const localVarHeaderParameter = {};
2854
2911
  const localVarQueryParameter = {};
2855
- localVarHeaderParameter['Content-Type'] = 'application/json';
2912
+ if (page !== undefined) {
2913
+ localVarQueryParameter['page'] = page;
2914
+ }
2915
+ if (elements !== undefined) {
2916
+ localVarQueryParameter['elements'] = elements;
2917
+ }
2918
+ if (dueDateFrom !== undefined) {
2919
+ localVarQueryParameter['due_date_from'] = (dueDateFrom instanceof Date) ?
2920
+ dueDateFrom.toISOString() :
2921
+ dueDateFrom;
2922
+ }
2923
+ if (dueDateTo !== undefined) {
2924
+ localVarQueryParameter['due_date_to'] = (dueDateTo instanceof Date) ?
2925
+ dueDateTo.toISOString() :
2926
+ dueDateTo;
2927
+ }
2928
+ if (priority !== undefined) {
2929
+ localVarQueryParameter['priority'] = priority;
2930
+ }
2931
+ if (status !== undefined) {
2932
+ localVarQueryParameter['status'] = status;
2933
+ }
2934
+ if (orderBy !== undefined) {
2935
+ localVarQueryParameter['order_by'] = orderBy;
2936
+ }
2937
+ if (order !== undefined) {
2938
+ localVarQueryParameter['order'] = order;
2939
+ }
2856
2940
  setSearchParams(localVarUrlObj, localVarQueryParameter);
2857
2941
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
2858
2942
  localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
2859
- localVarRequestOptions.data = serializeDataIfNeeded(listTasksQuery, localVarRequestOptions, configuration);
2860
2943
  return {
2861
2944
  url: toPathString(localVarUrlObj),
2862
2945
  options: localVarRequestOptions,
@@ -2865,13 +2948,22 @@ export const TasksApiAxiosParamCreator = function (configuration) {
2865
2948
  /**
2866
2949
  *
2867
2950
  * @summary List Tasks For User
2868
- * @param {ListTasksQuery} listTasksQuery
2869
- * @param {*} [options] Override http request option.
2870
- * @throws {RequiredError}
2871
- */
2872
- tasksListTasksForUser: (listTasksQuery_1, ...args_1) => __awaiter(this, [listTasksQuery_1, ...args_1], void 0, function* (listTasksQuery, options = {}) {
2873
- // verify required parameter 'listTasksQuery' is not null or undefined
2874
- assertParamExists('tasksListTasksForUser', 'listTasksQuery', listTasksQuery);
2951
+ * @param {number} page
2952
+ * @param {number} elements
2953
+ * @param {string | null} [dueDateFrom]
2954
+ * @param {string | null} [dueDateTo]
2955
+ * @param {TaskPriority | null} [priority]
2956
+ * @param {TaskStatus | null} [status]
2957
+ * @param {OrderBy | null} [orderBy]
2958
+ * @param {TasksListTasksForUserOrderEnum} [order]
2959
+ * @param {*} [options] Override http request option.
2960
+ * @throws {RequiredError}
2961
+ */
2962
+ tasksListTasksForUser: (page_1, elements_1, dueDateFrom_1, dueDateTo_1, priority_1, status_1, orderBy_1, order_1, ...args_1) => __awaiter(this, [page_1, elements_1, dueDateFrom_1, dueDateTo_1, priority_1, status_1, orderBy_1, order_1, ...args_1], void 0, function* (page, elements, dueDateFrom, dueDateTo, priority, status, orderBy, order, options = {}) {
2963
+ // verify required parameter 'page' is not null or undefined
2964
+ assertParamExists('tasksListTasksForUser', 'page', page);
2965
+ // verify required parameter 'elements' is not null or undefined
2966
+ assertParamExists('tasksListTasksForUser', 'elements', elements);
2875
2967
  const localVarPath = `/v1/tasks/me`;
2876
2968
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
2877
2969
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
@@ -2882,11 +2974,37 @@ export const TasksApiAxiosParamCreator = function (configuration) {
2882
2974
  const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
2883
2975
  const localVarHeaderParameter = {};
2884
2976
  const localVarQueryParameter = {};
2885
- localVarHeaderParameter['Content-Type'] = 'application/json';
2977
+ if (page !== undefined) {
2978
+ localVarQueryParameter['page'] = page;
2979
+ }
2980
+ if (elements !== undefined) {
2981
+ localVarQueryParameter['elements'] = elements;
2982
+ }
2983
+ if (dueDateFrom !== undefined) {
2984
+ localVarQueryParameter['due_date_from'] = (dueDateFrom instanceof Date) ?
2985
+ dueDateFrom.toISOString() :
2986
+ dueDateFrom;
2987
+ }
2988
+ if (dueDateTo !== undefined) {
2989
+ localVarQueryParameter['due_date_to'] = (dueDateTo instanceof Date) ?
2990
+ dueDateTo.toISOString() :
2991
+ dueDateTo;
2992
+ }
2993
+ if (priority !== undefined) {
2994
+ localVarQueryParameter['priority'] = priority;
2995
+ }
2996
+ if (status !== undefined) {
2997
+ localVarQueryParameter['status'] = status;
2998
+ }
2999
+ if (orderBy !== undefined) {
3000
+ localVarQueryParameter['order_by'] = orderBy;
3001
+ }
3002
+ if (order !== undefined) {
3003
+ localVarQueryParameter['order'] = order;
3004
+ }
2886
3005
  setSearchParams(localVarUrlObj, localVarQueryParameter);
2887
3006
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
2888
3007
  localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
2889
- localVarRequestOptions.data = serializeDataIfNeeded(listTasksQuery, localVarRequestOptions, configuration);
2890
3008
  return {
2891
3009
  url: toPathString(localVarUrlObj),
2892
3010
  options: localVarRequestOptions,
@@ -3042,14 +3160,21 @@ export const TasksApiFp = function (configuration) {
3042
3160
  /**
3043
3161
  *
3044
3162
  * @summary List Tasks For Company
3045
- * @param {ListTasksQuery} listTasksQuery
3163
+ * @param {number} page
3164
+ * @param {number} elements
3165
+ * @param {string | null} [dueDateFrom]
3166
+ * @param {string | null} [dueDateTo]
3167
+ * @param {TaskPriority | null} [priority]
3168
+ * @param {TaskStatus | null} [status]
3169
+ * @param {OrderBy | null} [orderBy]
3170
+ * @param {TasksListTasksForCompanyOrderEnum} [order]
3046
3171
  * @param {*} [options] Override http request option.
3047
3172
  * @throws {RequiredError}
3048
3173
  */
3049
- tasksListTasksForCompany(listTasksQuery, options) {
3174
+ tasksListTasksForCompany(page, elements, dueDateFrom, dueDateTo, priority, status, orderBy, order, options) {
3050
3175
  return __awaiter(this, void 0, void 0, function* () {
3051
3176
  var _a, _b, _c;
3052
- const localVarAxiosArgs = yield localVarAxiosParamCreator.tasksListTasksForCompany(listTasksQuery, options);
3177
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.tasksListTasksForCompany(page, elements, dueDateFrom, dueDateTo, priority, status, orderBy, order, options);
3053
3178
  const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
3054
3179
  const localVarOperationServerBasePath = (_c = (_b = operationServerMap['TasksApi.tasksListTasksForCompany']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
3055
3180
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
@@ -3058,14 +3183,21 @@ export const TasksApiFp = function (configuration) {
3058
3183
  /**
3059
3184
  *
3060
3185
  * @summary List Tasks For User
3061
- * @param {ListTasksQuery} listTasksQuery
3186
+ * @param {number} page
3187
+ * @param {number} elements
3188
+ * @param {string | null} [dueDateFrom]
3189
+ * @param {string | null} [dueDateTo]
3190
+ * @param {TaskPriority | null} [priority]
3191
+ * @param {TaskStatus | null} [status]
3192
+ * @param {OrderBy | null} [orderBy]
3193
+ * @param {TasksListTasksForUserOrderEnum} [order]
3062
3194
  * @param {*} [options] Override http request option.
3063
3195
  * @throws {RequiredError}
3064
3196
  */
3065
- tasksListTasksForUser(listTasksQuery, options) {
3197
+ tasksListTasksForUser(page, elements, dueDateFrom, dueDateTo, priority, status, orderBy, order, options) {
3066
3198
  return __awaiter(this, void 0, void 0, function* () {
3067
3199
  var _a, _b, _c;
3068
- const localVarAxiosArgs = yield localVarAxiosParamCreator.tasksListTasksForUser(listTasksQuery, options);
3200
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.tasksListTasksForUser(page, elements, dueDateFrom, dueDateTo, priority, status, orderBy, order, options);
3069
3201
  const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
3070
3202
  const localVarOperationServerBasePath = (_c = (_b = operationServerMap['TasksApi.tasksListTasksForUser']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
3071
3203
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
@@ -3161,22 +3293,36 @@ export const TasksApiFactory = function (configuration, basePath, axios) {
3161
3293
  /**
3162
3294
  *
3163
3295
  * @summary List Tasks For Company
3164
- * @param {ListTasksQuery} listTasksQuery
3296
+ * @param {number} page
3297
+ * @param {number} elements
3298
+ * @param {string | null} [dueDateFrom]
3299
+ * @param {string | null} [dueDateTo]
3300
+ * @param {TaskPriority | null} [priority]
3301
+ * @param {TaskStatus | null} [status]
3302
+ * @param {OrderBy | null} [orderBy]
3303
+ * @param {TasksListTasksForCompanyOrderEnum} [order]
3165
3304
  * @param {*} [options] Override http request option.
3166
3305
  * @throws {RequiredError}
3167
3306
  */
3168
- tasksListTasksForCompany(listTasksQuery, options) {
3169
- return localVarFp.tasksListTasksForCompany(listTasksQuery, options).then((request) => request(axios, basePath));
3307
+ tasksListTasksForCompany(page, elements, dueDateFrom, dueDateTo, priority, status, orderBy, order, options) {
3308
+ return localVarFp.tasksListTasksForCompany(page, elements, dueDateFrom, dueDateTo, priority, status, orderBy, order, options).then((request) => request(axios, basePath));
3170
3309
  },
3171
3310
  /**
3172
3311
  *
3173
3312
  * @summary List Tasks For User
3174
- * @param {ListTasksQuery} listTasksQuery
3313
+ * @param {number} page
3314
+ * @param {number} elements
3315
+ * @param {string | null} [dueDateFrom]
3316
+ * @param {string | null} [dueDateTo]
3317
+ * @param {TaskPriority | null} [priority]
3318
+ * @param {TaskStatus | null} [status]
3319
+ * @param {OrderBy | null} [orderBy]
3320
+ * @param {TasksListTasksForUserOrderEnum} [order]
3175
3321
  * @param {*} [options] Override http request option.
3176
3322
  * @throws {RequiredError}
3177
3323
  */
3178
- tasksListTasksForUser(listTasksQuery, options) {
3179
- return localVarFp.tasksListTasksForUser(listTasksQuery, options).then((request) => request(axios, basePath));
3324
+ tasksListTasksForUser(page, elements, dueDateFrom, dueDateTo, priority, status, orderBy, order, options) {
3325
+ return localVarFp.tasksListTasksForUser(page, elements, dueDateFrom, dueDateTo, priority, status, orderBy, order, options).then((request) => request(axios, basePath));
3180
3326
  },
3181
3327
  /**
3182
3328
  *
@@ -3253,24 +3399,38 @@ export class TasksApi extends BaseAPI {
3253
3399
  /**
3254
3400
  *
3255
3401
  * @summary List Tasks For Company
3256
- * @param {ListTasksQuery} listTasksQuery
3402
+ * @param {number} page
3403
+ * @param {number} elements
3404
+ * @param {string | null} [dueDateFrom]
3405
+ * @param {string | null} [dueDateTo]
3406
+ * @param {TaskPriority | null} [priority]
3407
+ * @param {TaskStatus | null} [status]
3408
+ * @param {OrderBy | null} [orderBy]
3409
+ * @param {TasksListTasksForCompanyOrderEnum} [order]
3257
3410
  * @param {*} [options] Override http request option.
3258
3411
  * @throws {RequiredError}
3259
3412
  * @memberof TasksApi
3260
3413
  */
3261
- tasksListTasksForCompany(listTasksQuery, options) {
3262
- return TasksApiFp(this.configuration).tasksListTasksForCompany(listTasksQuery, options).then((request) => request(this.axios, this.basePath));
3414
+ tasksListTasksForCompany(page, elements, dueDateFrom, dueDateTo, priority, status, orderBy, order, options) {
3415
+ return TasksApiFp(this.configuration).tasksListTasksForCompany(page, elements, dueDateFrom, dueDateTo, priority, status, orderBy, order, options).then((request) => request(this.axios, this.basePath));
3263
3416
  }
3264
3417
  /**
3265
3418
  *
3266
3419
  * @summary List Tasks For User
3267
- * @param {ListTasksQuery} listTasksQuery
3420
+ * @param {number} page
3421
+ * @param {number} elements
3422
+ * @param {string | null} [dueDateFrom]
3423
+ * @param {string | null} [dueDateTo]
3424
+ * @param {TaskPriority | null} [priority]
3425
+ * @param {TaskStatus | null} [status]
3426
+ * @param {OrderBy | null} [orderBy]
3427
+ * @param {TasksListTasksForUserOrderEnum} [order]
3268
3428
  * @param {*} [options] Override http request option.
3269
3429
  * @throws {RequiredError}
3270
3430
  * @memberof TasksApi
3271
3431
  */
3272
- tasksListTasksForUser(listTasksQuery, options) {
3273
- return TasksApiFp(this.configuration).tasksListTasksForUser(listTasksQuery, options).then((request) => request(this.axios, this.basePath));
3432
+ tasksListTasksForUser(page, elements, dueDateFrom, dueDateTo, priority, status, orderBy, order, options) {
3433
+ return TasksApiFp(this.configuration).tasksListTasksForUser(page, elements, dueDateFrom, dueDateTo, priority, status, orderBy, order, options).then((request) => request(this.axios, this.basePath));
3274
3434
  }
3275
3435
  /**
3276
3436
  *
@@ -3306,6 +3466,20 @@ export class TasksApi extends BaseAPI {
3306
3466
  return TasksApiFp(this.configuration).tasksUpdateTaskStatus(updateTaskStatus, options).then((request) => request(this.axios, this.basePath));
3307
3467
  }
3308
3468
  }
3469
+ /**
3470
+ * @export
3471
+ */
3472
+ export const TasksListTasksForCompanyOrderEnum = {
3473
+ Asc: 'asc',
3474
+ Desc: 'desc'
3475
+ };
3476
+ /**
3477
+ * @export
3478
+ */
3479
+ export const TasksListTasksForUserOrderEnum = {
3480
+ Asc: 'asc',
3481
+ Desc: 'desc'
3482
+ };
3309
3483
  /**
3310
3484
  * VendorContactsApi - axios parameter creator
3311
3485
  * @export
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rasadov/lumoar",
3
- "version": "2.1.1",
3
+ "version": "2.1.3",
4
4
  "description": "Lumoar API SDK for public use (API key authentication)",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",