@rasadov/lumoar 2.0.8 → 2.1.2

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 +146 -154
  2. package/dist/api.js +264 -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
@@ -3813,6 +3691,24 @@ export interface SignalResponse {
3813
3691
  * @memberof SignalResponse
3814
3692
  */
3815
3693
  'required_resource_types'?: Array<string>;
3694
+ /**
3695
+ *
3696
+ * @type {string}
3697
+ * @memberof SignalResponse
3698
+ */
3699
+ 'status'?: string | null;
3700
+ /**
3701
+ *
3702
+ * @type {string}
3703
+ * @memberof SignalResponse
3704
+ */
3705
+ 'frequency'?: string | null;
3706
+ /**
3707
+ *
3708
+ * @type {string}
3709
+ * @memberof SignalResponse
3710
+ */
3711
+ 'last_run'?: string | null;
3816
3712
  }
3817
3713
  /**
3818
3714
  * Signal result with all relations
@@ -5266,11 +5162,16 @@ export declare const AuditLogsApiAxiosParamCreator: (configuration?: Configurati
5266
5162
  /**
5267
5163
  *
5268
5164
  * @summary List Audit Logs
5269
- * @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]
5270
5171
  * @param {*} [options] Override http request option.
5271
5172
  * @throws {RequiredError}
5272
5173
  */
5273
- 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>;
5274
5175
  };
5275
5176
  /**
5276
5177
  * AuditLogsApi - functional programming interface
@@ -5280,11 +5181,16 @@ export declare const AuditLogsApiFp: (configuration?: Configuration) => {
5280
5181
  /**
5281
5182
  *
5282
5183
  * @summary List Audit Logs
5283
- * @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]
5284
5190
  * @param {*} [options] Override http request option.
5285
5191
  * @throws {RequiredError}
5286
5192
  */
5287
- 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>>;
5288
5194
  };
5289
5195
  /**
5290
5196
  * AuditLogsApi - factory interface
@@ -5294,11 +5200,16 @@ export declare const AuditLogsApiFactory: (configuration?: Configuration, basePa
5294
5200
  /**
5295
5201
  *
5296
5202
  * @summary List Audit Logs
5297
- * @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]
5298
5209
  * @param {*} [options] Override http request option.
5299
5210
  * @throws {RequiredError}
5300
5211
  */
5301
- 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>;
5302
5213
  };
5303
5214
  /**
5304
5215
  * AuditLogsApi - object-oriented interface
@@ -5310,12 +5221,17 @@ export declare class AuditLogsApi extends BaseAPI {
5310
5221
  /**
5311
5222
  *
5312
5223
  * @summary List Audit Logs
5313
- * @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]
5314
5230
  * @param {*} [options] Override http request option.
5315
5231
  * @throws {RequiredError}
5316
5232
  * @memberof AuditLogsApi
5317
5233
  */
5318
- 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, {}>>;
5319
5235
  }
5320
5236
  /**
5321
5237
  * ControlsApi - axios parameter creator
@@ -5899,11 +5815,12 @@ export declare const ReportsApiAxiosParamCreator: (configuration?: Configuration
5899
5815
  /**
5900
5816
  *
5901
5817
  * @summary List Reports
5902
- * @param {PaginationQuery} paginationQuery
5818
+ * @param {number} page
5819
+ * @param {number} elements
5903
5820
  * @param {*} [options] Override http request option.
5904
5821
  * @throws {RequiredError}
5905
5822
  */
5906
- reportListReports: (paginationQuery: PaginationQuery, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
5823
+ reportListReports: (page: number, elements: number, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
5907
5824
  };
5908
5825
  /**
5909
5826
  * ReportsApi - functional programming interface
@@ -5937,11 +5854,12 @@ export declare const ReportsApiFp: (configuration?: Configuration) => {
5937
5854
  /**
5938
5855
  *
5939
5856
  * @summary List Reports
5940
- * @param {PaginationQuery} paginationQuery
5857
+ * @param {number} page
5858
+ * @param {number} elements
5941
5859
  * @param {*} [options] Override http request option.
5942
5860
  * @throws {RequiredError}
5943
5861
  */
5944
- 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>>;
5945
5863
  };
5946
5864
  /**
5947
5865
  * ReportsApi - factory interface
@@ -5975,11 +5893,12 @@ export declare const ReportsApiFactory: (configuration?: Configuration, basePath
5975
5893
  /**
5976
5894
  *
5977
5895
  * @summary List Reports
5978
- * @param {PaginationQuery} paginationQuery
5896
+ * @param {number} page
5897
+ * @param {number} elements
5979
5898
  * @param {*} [options] Override http request option.
5980
5899
  * @throws {RequiredError}
5981
5900
  */
5982
- reportListReports(paginationQuery: PaginationQuery, options?: RawAxiosRequestConfig): AxiosPromise<PaginationResponseReportBase>;
5901
+ reportListReports(page: number, elements: number, options?: RawAxiosRequestConfig): AxiosPromise<PaginationResponseReportBase>;
5983
5902
  };
5984
5903
  /**
5985
5904
  * ReportsApi - object-oriented interface
@@ -6018,12 +5937,13 @@ export declare class ReportsApi extends BaseAPI {
6018
5937
  /**
6019
5938
  *
6020
5939
  * @summary List Reports
6021
- * @param {PaginationQuery} paginationQuery
5940
+ * @param {number} page
5941
+ * @param {number} elements
6022
5942
  * @param {*} [options] Override http request option.
6023
5943
  * @throws {RequiredError}
6024
5944
  * @memberof ReportsApi
6025
5945
  */
6026
- 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, {}>>;
6027
5947
  }
6028
5948
  /**
6029
5949
  * RisksApi - axios parameter creator
@@ -6388,19 +6308,33 @@ export declare const TasksApiAxiosParamCreator: (configuration?: Configuration)
6388
6308
  /**
6389
6309
  *
6390
6310
  * @summary List Tasks For Company
6391
- * @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]
6392
6319
  * @param {*} [options] Override http request option.
6393
6320
  * @throws {RequiredError}
6394
6321
  */
6395
- 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>;
6396
6323
  /**
6397
6324
  *
6398
6325
  * @summary List Tasks For User
6399
- * @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]
6400
6334
  * @param {*} [options] Override http request option.
6401
6335
  * @throws {RequiredError}
6402
6336
  */
6403
- 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>;
6404
6338
  /**
6405
6339
  *
6406
6340
  * @summary Request Task Scheduling
@@ -6458,19 +6392,33 @@ export declare const TasksApiFp: (configuration?: Configuration) => {
6458
6392
  /**
6459
6393
  *
6460
6394
  * @summary List Tasks For Company
6461
- * @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]
6462
6403
  * @param {*} [options] Override http request option.
6463
6404
  * @throws {RequiredError}
6464
6405
  */
6465
- 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>>;
6466
6407
  /**
6467
6408
  *
6468
6409
  * @summary List Tasks For User
6469
- * @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]
6470
6418
  * @param {*} [options] Override http request option.
6471
6419
  * @throws {RequiredError}
6472
6420
  */
6473
- 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>>;
6474
6422
  /**
6475
6423
  *
6476
6424
  * @summary Request Task Scheduling
@@ -6528,19 +6476,33 @@ export declare const TasksApiFactory: (configuration?: Configuration, basePath?:
6528
6476
  /**
6529
6477
  *
6530
6478
  * @summary List Tasks For Company
6531
- * @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]
6532
6487
  * @param {*} [options] Override http request option.
6533
6488
  * @throws {RequiredError}
6534
6489
  */
6535
- 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>;
6536
6491
  /**
6537
6492
  *
6538
6493
  * @summary List Tasks For User
6539
- * @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]
6540
6502
  * @param {*} [options] Override http request option.
6541
6503
  * @throws {RequiredError}
6542
6504
  */
6543
- 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>;
6544
6506
  /**
6545
6507
  *
6546
6508
  * @summary Request Task Scheduling
@@ -6603,21 +6565,35 @@ export declare class TasksApi extends BaseAPI {
6603
6565
  /**
6604
6566
  *
6605
6567
  * @summary List Tasks For Company
6606
- * @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]
6607
6576
  * @param {*} [options] Override http request option.
6608
6577
  * @throws {RequiredError}
6609
6578
  * @memberof TasksApi
6610
6579
  */
6611
- 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, {}>>;
6612
6581
  /**
6613
6582
  *
6614
6583
  * @summary List Tasks For User
6615
- * @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]
6616
6592
  * @param {*} [options] Override http request option.
6617
6593
  * @throws {RequiredError}
6618
6594
  * @memberof TasksApi
6619
6595
  */
6620
- 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, {}>>;
6621
6597
  /**
6622
6598
  *
6623
6599
  * @summary Request Task Scheduling
@@ -6646,6 +6622,22 @@ export declare class TasksApi extends BaseAPI {
6646
6622
  */
6647
6623
  tasksUpdateTaskStatus(updateTaskStatus: UpdateTaskStatus, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<TaskRead, any, {}>>;
6648
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];
6649
6641
  /**
6650
6642
  * VendorContactsApi - axios parameter creator
6651
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,32 @@ 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);
2902
+ // verify required parameter 'dueDateFrom' is not null or undefined
2903
+ assertParamExists('tasksListTasksForCompany', 'dueDateFrom', dueDateFrom);
2904
+ // verify required parameter 'dueDateTo' is not null or undefined
2905
+ assertParamExists('tasksListTasksForCompany', 'dueDateTo', dueDateTo);
2906
+ // verify required parameter 'priority' is not null or undefined
2907
+ assertParamExists('tasksListTasksForCompany', 'priority', priority);
2908
+ // verify required parameter 'status' is not null or undefined
2909
+ assertParamExists('tasksListTasksForCompany', 'status', status);
2910
+ // verify required parameter 'orderBy' is not null or undefined
2911
+ assertParamExists('tasksListTasksForCompany', 'orderBy', orderBy);
2845
2912
  const localVarPath = `/v1/tasks/company`;
2846
2913
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
2847
2914
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
@@ -2852,11 +2919,37 @@ export const TasksApiAxiosParamCreator = function (configuration) {
2852
2919
  const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
2853
2920
  const localVarHeaderParameter = {};
2854
2921
  const localVarQueryParameter = {};
2855
- localVarHeaderParameter['Content-Type'] = 'application/json';
2922
+ if (page !== undefined) {
2923
+ localVarQueryParameter['page'] = page;
2924
+ }
2925
+ if (elements !== undefined) {
2926
+ localVarQueryParameter['elements'] = elements;
2927
+ }
2928
+ if (dueDateFrom !== undefined) {
2929
+ localVarQueryParameter['due_date_from'] = (dueDateFrom instanceof Date) ?
2930
+ dueDateFrom.toISOString() :
2931
+ dueDateFrom;
2932
+ }
2933
+ if (dueDateTo !== undefined) {
2934
+ localVarQueryParameter['due_date_to'] = (dueDateTo instanceof Date) ?
2935
+ dueDateTo.toISOString() :
2936
+ dueDateTo;
2937
+ }
2938
+ if (priority !== undefined) {
2939
+ localVarQueryParameter['priority'] = priority;
2940
+ }
2941
+ if (status !== undefined) {
2942
+ localVarQueryParameter['status'] = status;
2943
+ }
2944
+ if (orderBy !== undefined) {
2945
+ localVarQueryParameter['order_by'] = orderBy;
2946
+ }
2947
+ if (order !== undefined) {
2948
+ localVarQueryParameter['order'] = order;
2949
+ }
2856
2950
  setSearchParams(localVarUrlObj, localVarQueryParameter);
2857
2951
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
2858
2952
  localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
2859
- localVarRequestOptions.data = serializeDataIfNeeded(listTasksQuery, localVarRequestOptions, configuration);
2860
2953
  return {
2861
2954
  url: toPathString(localVarUrlObj),
2862
2955
  options: localVarRequestOptions,
@@ -2865,13 +2958,32 @@ export const TasksApiAxiosParamCreator = function (configuration) {
2865
2958
  /**
2866
2959
  *
2867
2960
  * @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);
2961
+ * @param {number} page
2962
+ * @param {number} elements
2963
+ * @param {string | null} dueDateFrom
2964
+ * @param {string | null} dueDateTo
2965
+ * @param {TaskPriority | null} priority
2966
+ * @param {TaskStatus | null} status
2967
+ * @param {OrderBy | null} orderBy
2968
+ * @param {TasksListTasksForUserOrderEnum} [order]
2969
+ * @param {*} [options] Override http request option.
2970
+ * @throws {RequiredError}
2971
+ */
2972
+ 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 = {}) {
2973
+ // verify required parameter 'page' is not null or undefined
2974
+ assertParamExists('tasksListTasksForUser', 'page', page);
2975
+ // verify required parameter 'elements' is not null or undefined
2976
+ assertParamExists('tasksListTasksForUser', 'elements', elements);
2977
+ // verify required parameter 'dueDateFrom' is not null or undefined
2978
+ assertParamExists('tasksListTasksForUser', 'dueDateFrom', dueDateFrom);
2979
+ // verify required parameter 'dueDateTo' is not null or undefined
2980
+ assertParamExists('tasksListTasksForUser', 'dueDateTo', dueDateTo);
2981
+ // verify required parameter 'priority' is not null or undefined
2982
+ assertParamExists('tasksListTasksForUser', 'priority', priority);
2983
+ // verify required parameter 'status' is not null or undefined
2984
+ assertParamExists('tasksListTasksForUser', 'status', status);
2985
+ // verify required parameter 'orderBy' is not null or undefined
2986
+ assertParamExists('tasksListTasksForUser', 'orderBy', orderBy);
2875
2987
  const localVarPath = `/v1/tasks/me`;
2876
2988
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
2877
2989
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
@@ -2882,11 +2994,37 @@ export const TasksApiAxiosParamCreator = function (configuration) {
2882
2994
  const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
2883
2995
  const localVarHeaderParameter = {};
2884
2996
  const localVarQueryParameter = {};
2885
- localVarHeaderParameter['Content-Type'] = 'application/json';
2997
+ if (page !== undefined) {
2998
+ localVarQueryParameter['page'] = page;
2999
+ }
3000
+ if (elements !== undefined) {
3001
+ localVarQueryParameter['elements'] = elements;
3002
+ }
3003
+ if (dueDateFrom !== undefined) {
3004
+ localVarQueryParameter['due_date_from'] = (dueDateFrom instanceof Date) ?
3005
+ dueDateFrom.toISOString() :
3006
+ dueDateFrom;
3007
+ }
3008
+ if (dueDateTo !== undefined) {
3009
+ localVarQueryParameter['due_date_to'] = (dueDateTo instanceof Date) ?
3010
+ dueDateTo.toISOString() :
3011
+ dueDateTo;
3012
+ }
3013
+ if (priority !== undefined) {
3014
+ localVarQueryParameter['priority'] = priority;
3015
+ }
3016
+ if (status !== undefined) {
3017
+ localVarQueryParameter['status'] = status;
3018
+ }
3019
+ if (orderBy !== undefined) {
3020
+ localVarQueryParameter['order_by'] = orderBy;
3021
+ }
3022
+ if (order !== undefined) {
3023
+ localVarQueryParameter['order'] = order;
3024
+ }
2886
3025
  setSearchParams(localVarUrlObj, localVarQueryParameter);
2887
3026
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
2888
3027
  localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
2889
- localVarRequestOptions.data = serializeDataIfNeeded(listTasksQuery, localVarRequestOptions, configuration);
2890
3028
  return {
2891
3029
  url: toPathString(localVarUrlObj),
2892
3030
  options: localVarRequestOptions,
@@ -3042,14 +3180,21 @@ export const TasksApiFp = function (configuration) {
3042
3180
  /**
3043
3181
  *
3044
3182
  * @summary List Tasks For Company
3045
- * @param {ListTasksQuery} listTasksQuery
3183
+ * @param {number} page
3184
+ * @param {number} elements
3185
+ * @param {string | null} dueDateFrom
3186
+ * @param {string | null} dueDateTo
3187
+ * @param {TaskPriority | null} priority
3188
+ * @param {TaskStatus | null} status
3189
+ * @param {OrderBy | null} orderBy
3190
+ * @param {TasksListTasksForCompanyOrderEnum} [order]
3046
3191
  * @param {*} [options] Override http request option.
3047
3192
  * @throws {RequiredError}
3048
3193
  */
3049
- tasksListTasksForCompany(listTasksQuery, options) {
3194
+ tasksListTasksForCompany(page, elements, dueDateFrom, dueDateTo, priority, status, orderBy, order, options) {
3050
3195
  return __awaiter(this, void 0, void 0, function* () {
3051
3196
  var _a, _b, _c;
3052
- const localVarAxiosArgs = yield localVarAxiosParamCreator.tasksListTasksForCompany(listTasksQuery, options);
3197
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.tasksListTasksForCompany(page, elements, dueDateFrom, dueDateTo, priority, status, orderBy, order, options);
3053
3198
  const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
3054
3199
  const localVarOperationServerBasePath = (_c = (_b = operationServerMap['TasksApi.tasksListTasksForCompany']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
3055
3200
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
@@ -3058,14 +3203,21 @@ export const TasksApiFp = function (configuration) {
3058
3203
  /**
3059
3204
  *
3060
3205
  * @summary List Tasks For User
3061
- * @param {ListTasksQuery} listTasksQuery
3206
+ * @param {number} page
3207
+ * @param {number} elements
3208
+ * @param {string | null} dueDateFrom
3209
+ * @param {string | null} dueDateTo
3210
+ * @param {TaskPriority | null} priority
3211
+ * @param {TaskStatus | null} status
3212
+ * @param {OrderBy | null} orderBy
3213
+ * @param {TasksListTasksForUserOrderEnum} [order]
3062
3214
  * @param {*} [options] Override http request option.
3063
3215
  * @throws {RequiredError}
3064
3216
  */
3065
- tasksListTasksForUser(listTasksQuery, options) {
3217
+ tasksListTasksForUser(page, elements, dueDateFrom, dueDateTo, priority, status, orderBy, order, options) {
3066
3218
  return __awaiter(this, void 0, void 0, function* () {
3067
3219
  var _a, _b, _c;
3068
- const localVarAxiosArgs = yield localVarAxiosParamCreator.tasksListTasksForUser(listTasksQuery, options);
3220
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.tasksListTasksForUser(page, elements, dueDateFrom, dueDateTo, priority, status, orderBy, order, options);
3069
3221
  const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
3070
3222
  const localVarOperationServerBasePath = (_c = (_b = operationServerMap['TasksApi.tasksListTasksForUser']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
3071
3223
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
@@ -3161,22 +3313,36 @@ export const TasksApiFactory = function (configuration, basePath, axios) {
3161
3313
  /**
3162
3314
  *
3163
3315
  * @summary List Tasks For Company
3164
- * @param {ListTasksQuery} listTasksQuery
3316
+ * @param {number} page
3317
+ * @param {number} elements
3318
+ * @param {string | null} dueDateFrom
3319
+ * @param {string | null} dueDateTo
3320
+ * @param {TaskPriority | null} priority
3321
+ * @param {TaskStatus | null} status
3322
+ * @param {OrderBy | null} orderBy
3323
+ * @param {TasksListTasksForCompanyOrderEnum} [order]
3165
3324
  * @param {*} [options] Override http request option.
3166
3325
  * @throws {RequiredError}
3167
3326
  */
3168
- tasksListTasksForCompany(listTasksQuery, options) {
3169
- return localVarFp.tasksListTasksForCompany(listTasksQuery, options).then((request) => request(axios, basePath));
3327
+ tasksListTasksForCompany(page, elements, dueDateFrom, dueDateTo, priority, status, orderBy, order, options) {
3328
+ return localVarFp.tasksListTasksForCompany(page, elements, dueDateFrom, dueDateTo, priority, status, orderBy, order, options).then((request) => request(axios, basePath));
3170
3329
  },
3171
3330
  /**
3172
3331
  *
3173
3332
  * @summary List Tasks For User
3174
- * @param {ListTasksQuery} listTasksQuery
3333
+ * @param {number} page
3334
+ * @param {number} elements
3335
+ * @param {string | null} dueDateFrom
3336
+ * @param {string | null} dueDateTo
3337
+ * @param {TaskPriority | null} priority
3338
+ * @param {TaskStatus | null} status
3339
+ * @param {OrderBy | null} orderBy
3340
+ * @param {TasksListTasksForUserOrderEnum} [order]
3175
3341
  * @param {*} [options] Override http request option.
3176
3342
  * @throws {RequiredError}
3177
3343
  */
3178
- tasksListTasksForUser(listTasksQuery, options) {
3179
- return localVarFp.tasksListTasksForUser(listTasksQuery, options).then((request) => request(axios, basePath));
3344
+ tasksListTasksForUser(page, elements, dueDateFrom, dueDateTo, priority, status, orderBy, order, options) {
3345
+ return localVarFp.tasksListTasksForUser(page, elements, dueDateFrom, dueDateTo, priority, status, orderBy, order, options).then((request) => request(axios, basePath));
3180
3346
  },
3181
3347
  /**
3182
3348
  *
@@ -3253,24 +3419,38 @@ export class TasksApi extends BaseAPI {
3253
3419
  /**
3254
3420
  *
3255
3421
  * @summary List Tasks For Company
3256
- * @param {ListTasksQuery} listTasksQuery
3422
+ * @param {number} page
3423
+ * @param {number} elements
3424
+ * @param {string | null} dueDateFrom
3425
+ * @param {string | null} dueDateTo
3426
+ * @param {TaskPriority | null} priority
3427
+ * @param {TaskStatus | null} status
3428
+ * @param {OrderBy | null} orderBy
3429
+ * @param {TasksListTasksForCompanyOrderEnum} [order]
3257
3430
  * @param {*} [options] Override http request option.
3258
3431
  * @throws {RequiredError}
3259
3432
  * @memberof TasksApi
3260
3433
  */
3261
- tasksListTasksForCompany(listTasksQuery, options) {
3262
- return TasksApiFp(this.configuration).tasksListTasksForCompany(listTasksQuery, options).then((request) => request(this.axios, this.basePath));
3434
+ tasksListTasksForCompany(page, elements, dueDateFrom, dueDateTo, priority, status, orderBy, order, options) {
3435
+ return TasksApiFp(this.configuration).tasksListTasksForCompany(page, elements, dueDateFrom, dueDateTo, priority, status, orderBy, order, options).then((request) => request(this.axios, this.basePath));
3263
3436
  }
3264
3437
  /**
3265
3438
  *
3266
3439
  * @summary List Tasks For User
3267
- * @param {ListTasksQuery} listTasksQuery
3440
+ * @param {number} page
3441
+ * @param {number} elements
3442
+ * @param {string | null} dueDateFrom
3443
+ * @param {string | null} dueDateTo
3444
+ * @param {TaskPriority | null} priority
3445
+ * @param {TaskStatus | null} status
3446
+ * @param {OrderBy | null} orderBy
3447
+ * @param {TasksListTasksForUserOrderEnum} [order]
3268
3448
  * @param {*} [options] Override http request option.
3269
3449
  * @throws {RequiredError}
3270
3450
  * @memberof TasksApi
3271
3451
  */
3272
- tasksListTasksForUser(listTasksQuery, options) {
3273
- return TasksApiFp(this.configuration).tasksListTasksForUser(listTasksQuery, options).then((request) => request(this.axios, this.basePath));
3452
+ tasksListTasksForUser(page, elements, dueDateFrom, dueDateTo, priority, status, orderBy, order, options) {
3453
+ return TasksApiFp(this.configuration).tasksListTasksForUser(page, elements, dueDateFrom, dueDateTo, priority, status, orderBy, order, options).then((request) => request(this.axios, this.basePath));
3274
3454
  }
3275
3455
  /**
3276
3456
  *
@@ -3306,6 +3486,20 @@ export class TasksApi extends BaseAPI {
3306
3486
  return TasksApiFp(this.configuration).tasksUpdateTaskStatus(updateTaskStatus, options).then((request) => request(this.axios, this.basePath));
3307
3487
  }
3308
3488
  }
3489
+ /**
3490
+ * @export
3491
+ */
3492
+ export const TasksListTasksForCompanyOrderEnum = {
3493
+ Asc: 'asc',
3494
+ Desc: 'desc'
3495
+ };
3496
+ /**
3497
+ * @export
3498
+ */
3499
+ export const TasksListTasksForUserOrderEnum = {
3500
+ Asc: 'asc',
3501
+ Desc: 'desc'
3502
+ };
3309
3503
  /**
3310
3504
  * VendorContactsApi - axios parameter creator
3311
3505
  * @export
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rasadov/lumoar",
3
- "version": "2.0.8",
3
+ "version": "2.1.2",
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",