@rasadov/lumoar-sdk 2.1.0 → 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 +128 -154
  2. package/dist/api.js +266 -72
  3. package/package.json +2 -2
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
@@ -5540,12 +5418,17 @@ export declare const AuditLogsApiAxiosParamCreator: (configuration?: Configurati
5540
5418
  /**
5541
5419
  *
5542
5420
  * @summary List Audit Logs
5543
- * @param {ListAuditLog} listAuditLog
5421
+ * @param {number} page
5422
+ * @param {number} elements
5423
+ * @param {AuditLogEntity | null} [entityType]
5424
+ * @param {AuditLogAction | null} [action]
5425
+ * @param {string | null} [startDate]
5426
+ * @param {string | null} [endDate]
5544
5427
  * @param {string | null} [xCompanyId]
5545
5428
  * @param {*} [options] Override http request option.
5546
5429
  * @throws {RequiredError}
5547
5430
  */
5548
- auditLogListAuditLogs: (listAuditLog: ListAuditLog, xCompanyId?: string | null, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
5431
+ auditLogListAuditLogs: (page: number, elements: number, entityType?: AuditLogEntity | null, action?: AuditLogAction | null, startDate?: string | null, endDate?: string | null, xCompanyId?: string | null, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
5549
5432
  };
5550
5433
  /**
5551
5434
  * AuditLogsApi - functional programming interface
@@ -5555,12 +5438,17 @@ export declare const AuditLogsApiFp: (configuration?: Configuration) => {
5555
5438
  /**
5556
5439
  *
5557
5440
  * @summary List Audit Logs
5558
- * @param {ListAuditLog} listAuditLog
5441
+ * @param {number} page
5442
+ * @param {number} elements
5443
+ * @param {AuditLogEntity | null} [entityType]
5444
+ * @param {AuditLogAction | null} [action]
5445
+ * @param {string | null} [startDate]
5446
+ * @param {string | null} [endDate]
5559
5447
  * @param {string | null} [xCompanyId]
5560
5448
  * @param {*} [options] Override http request option.
5561
5449
  * @throws {RequiredError}
5562
5450
  */
5563
- auditLogListAuditLogs(listAuditLog: ListAuditLog, xCompanyId?: string | null, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PaginationResponseAuditLogSchema>>;
5451
+ auditLogListAuditLogs(page: number, elements: number, entityType?: AuditLogEntity | null, action?: AuditLogAction | null, startDate?: string | null, endDate?: string | null, xCompanyId?: string | null, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PaginationResponseAuditLogSchema>>;
5564
5452
  };
5565
5453
  /**
5566
5454
  * AuditLogsApi - factory interface
@@ -5570,12 +5458,17 @@ export declare const AuditLogsApiFactory: (configuration?: Configuration, basePa
5570
5458
  /**
5571
5459
  *
5572
5460
  * @summary List Audit Logs
5573
- * @param {ListAuditLog} listAuditLog
5461
+ * @param {number} page
5462
+ * @param {number} elements
5463
+ * @param {AuditLogEntity | null} [entityType]
5464
+ * @param {AuditLogAction | null} [action]
5465
+ * @param {string | null} [startDate]
5466
+ * @param {string | null} [endDate]
5574
5467
  * @param {string | null} [xCompanyId]
5575
5468
  * @param {*} [options] Override http request option.
5576
5469
  * @throws {RequiredError}
5577
5470
  */
5578
- auditLogListAuditLogs(listAuditLog: ListAuditLog, xCompanyId?: string | null, options?: RawAxiosRequestConfig): AxiosPromise<PaginationResponseAuditLogSchema>;
5471
+ auditLogListAuditLogs(page: number, elements: number, entityType?: AuditLogEntity | null, action?: AuditLogAction | null, startDate?: string | null, endDate?: string | null, xCompanyId?: string | null, options?: RawAxiosRequestConfig): AxiosPromise<PaginationResponseAuditLogSchema>;
5579
5472
  };
5580
5473
  /**
5581
5474
  * AuditLogsApi - object-oriented interface
@@ -5587,13 +5480,18 @@ export declare class AuditLogsApi extends BaseAPI {
5587
5480
  /**
5588
5481
  *
5589
5482
  * @summary List Audit Logs
5590
- * @param {ListAuditLog} listAuditLog
5483
+ * @param {number} page
5484
+ * @param {number} elements
5485
+ * @param {AuditLogEntity | null} [entityType]
5486
+ * @param {AuditLogAction | null} [action]
5487
+ * @param {string | null} [startDate]
5488
+ * @param {string | null} [endDate]
5591
5489
  * @param {string | null} [xCompanyId]
5592
5490
  * @param {*} [options] Override http request option.
5593
5491
  * @throws {RequiredError}
5594
5492
  * @memberof AuditLogsApi
5595
5493
  */
5596
- auditLogListAuditLogs(listAuditLog: ListAuditLog, xCompanyId?: string | null, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<PaginationResponseAuditLogSchema, any, {}>>;
5494
+ auditLogListAuditLogs(page: number, elements: number, entityType?: AuditLogEntity | null, action?: AuditLogAction | null, startDate?: string | null, endDate?: string | null, xCompanyId?: string | null, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<PaginationResponseAuditLogSchema, any, {}>>;
5597
5495
  }
5598
5496
  /**
5599
5497
  * AuthApi - axios parameter creator
@@ -7720,12 +7618,13 @@ export declare const ReportsApiAxiosParamCreator: (configuration?: Configuration
7720
7618
  /**
7721
7619
  *
7722
7620
  * @summary List Reports
7723
- * @param {PaginationQuery} paginationQuery
7621
+ * @param {number} page
7622
+ * @param {number} elements
7724
7623
  * @param {string | null} [xCompanyId]
7725
7624
  * @param {*} [options] Override http request option.
7726
7625
  * @throws {RequiredError}
7727
7626
  */
7728
- reportListReports: (paginationQuery: PaginationQuery, xCompanyId?: string | null, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
7627
+ reportListReports: (page: number, elements: number, xCompanyId?: string | null, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
7729
7628
  };
7730
7629
  /**
7731
7630
  * ReportsApi - functional programming interface
@@ -7772,12 +7671,13 @@ export declare const ReportsApiFp: (configuration?: Configuration) => {
7772
7671
  /**
7773
7672
  *
7774
7673
  * @summary List Reports
7775
- * @param {PaginationQuery} paginationQuery
7674
+ * @param {number} page
7675
+ * @param {number} elements
7776
7676
  * @param {string | null} [xCompanyId]
7777
7677
  * @param {*} [options] Override http request option.
7778
7678
  * @throws {RequiredError}
7779
7679
  */
7780
- reportListReports(paginationQuery: PaginationQuery, xCompanyId?: string | null, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PaginationResponseReportBase>>;
7680
+ reportListReports(page: number, elements: number, xCompanyId?: string | null, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PaginationResponseReportBase>>;
7781
7681
  };
7782
7682
  /**
7783
7683
  * ReportsApi - factory interface
@@ -7824,12 +7724,13 @@ export declare const ReportsApiFactory: (configuration?: Configuration, basePath
7824
7724
  /**
7825
7725
  *
7826
7726
  * @summary List Reports
7827
- * @param {PaginationQuery} paginationQuery
7727
+ * @param {number} page
7728
+ * @param {number} elements
7828
7729
  * @param {string | null} [xCompanyId]
7829
7730
  * @param {*} [options] Override http request option.
7830
7731
  * @throws {RequiredError}
7831
7732
  */
7832
- reportListReports(paginationQuery: PaginationQuery, xCompanyId?: string | null, options?: RawAxiosRequestConfig): AxiosPromise<PaginationResponseReportBase>;
7733
+ reportListReports(page: number, elements: number, xCompanyId?: string | null, options?: RawAxiosRequestConfig): AxiosPromise<PaginationResponseReportBase>;
7833
7734
  };
7834
7735
  /**
7835
7736
  * ReportsApi - object-oriented interface
@@ -7882,13 +7783,14 @@ export declare class ReportsApi extends BaseAPI {
7882
7783
  /**
7883
7784
  *
7884
7785
  * @summary List Reports
7885
- * @param {PaginationQuery} paginationQuery
7786
+ * @param {number} page
7787
+ * @param {number} elements
7886
7788
  * @param {string | null} [xCompanyId]
7887
7789
  * @param {*} [options] Override http request option.
7888
7790
  * @throws {RequiredError}
7889
7791
  * @memberof ReportsApi
7890
7792
  */
7891
- reportListReports(paginationQuery: PaginationQuery, xCompanyId?: string | null, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<PaginationResponseReportBase, any, {}>>;
7793
+ reportListReports(page: number, elements: number, xCompanyId?: string | null, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<PaginationResponseReportBase, any, {}>>;
7892
7794
  }
7893
7795
  /**
7894
7796
  * RisksApi - axios parameter creator
@@ -8466,21 +8368,35 @@ export declare const TasksApiAxiosParamCreator: (configuration?: Configuration)
8466
8368
  /**
8467
8369
  *
8468
8370
  * @summary List Tasks For Company
8469
- * @param {ListTasksQuery} listTasksQuery
8371
+ * @param {number} page
8372
+ * @param {number} elements
8373
+ * @param {string | null} dueDateFrom
8374
+ * @param {string | null} dueDateTo
8375
+ * @param {TaskPriority | null} priority
8376
+ * @param {TaskStatus | null} status
8377
+ * @param {OrderBy | null} orderBy
8378
+ * @param {TasksListTasksForCompanyOrderEnum} [order]
8470
8379
  * @param {string | null} [xCompanyId]
8471
8380
  * @param {*} [options] Override http request option.
8472
8381
  * @throws {RequiredError}
8473
8382
  */
8474
- tasksListTasksForCompany: (listTasksQuery: ListTasksQuery, xCompanyId?: string | null, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
8383
+ tasksListTasksForCompany: (page: number, elements: number, dueDateFrom: string | null, dueDateTo: string | null, priority: TaskPriority | null, status: TaskStatus | null, orderBy: OrderBy | null, order?: TasksListTasksForCompanyOrderEnum, xCompanyId?: string | null, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
8475
8384
  /**
8476
8385
  *
8477
8386
  * @summary List Tasks For User
8478
- * @param {ListTasksQuery} listTasksQuery
8387
+ * @param {number} page
8388
+ * @param {number} elements
8389
+ * @param {string | null} dueDateFrom
8390
+ * @param {string | null} dueDateTo
8391
+ * @param {TaskPriority | null} priority
8392
+ * @param {TaskStatus | null} status
8393
+ * @param {OrderBy | null} orderBy
8394
+ * @param {TasksListTasksForUserOrderEnum} [order]
8479
8395
  * @param {string | null} [xCompanyId]
8480
8396
  * @param {*} [options] Override http request option.
8481
8397
  * @throws {RequiredError}
8482
8398
  */
8483
- tasksListTasksForUser: (listTasksQuery: ListTasksQuery, xCompanyId?: string | null, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
8399
+ tasksListTasksForUser: (page: number, elements: number, dueDateFrom: string | null, dueDateTo: string | null, priority: TaskPriority | null, status: TaskStatus | null, orderBy: OrderBy | null, order?: TasksListTasksForUserOrderEnum, xCompanyId?: string | null, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
8484
8400
  /**
8485
8401
  *
8486
8402
  * @summary Request Task Scheduling
@@ -8552,21 +8468,35 @@ export declare const TasksApiFp: (configuration?: Configuration) => {
8552
8468
  /**
8553
8469
  *
8554
8470
  * @summary List Tasks For Company
8555
- * @param {ListTasksQuery} listTasksQuery
8471
+ * @param {number} page
8472
+ * @param {number} elements
8473
+ * @param {string | null} dueDateFrom
8474
+ * @param {string | null} dueDateTo
8475
+ * @param {TaskPriority | null} priority
8476
+ * @param {TaskStatus | null} status
8477
+ * @param {OrderBy | null} orderBy
8478
+ * @param {TasksListTasksForCompanyOrderEnum} [order]
8556
8479
  * @param {string | null} [xCompanyId]
8557
8480
  * @param {*} [options] Override http request option.
8558
8481
  * @throws {RequiredError}
8559
8482
  */
8560
- tasksListTasksForCompany(listTasksQuery: ListTasksQuery, xCompanyId?: string | null, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PaginationResponseTaskWithUser>>;
8483
+ tasksListTasksForCompany(page: number, elements: number, dueDateFrom: string | null, dueDateTo: string | null, priority: TaskPriority | null, status: TaskStatus | null, orderBy: OrderBy | null, order?: TasksListTasksForCompanyOrderEnum, xCompanyId?: string | null, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PaginationResponseTaskWithUser>>;
8561
8484
  /**
8562
8485
  *
8563
8486
  * @summary List Tasks For User
8564
- * @param {ListTasksQuery} listTasksQuery
8487
+ * @param {number} page
8488
+ * @param {number} elements
8489
+ * @param {string | null} dueDateFrom
8490
+ * @param {string | null} dueDateTo
8491
+ * @param {TaskPriority | null} priority
8492
+ * @param {TaskStatus | null} status
8493
+ * @param {OrderBy | null} orderBy
8494
+ * @param {TasksListTasksForUserOrderEnum} [order]
8565
8495
  * @param {string | null} [xCompanyId]
8566
8496
  * @param {*} [options] Override http request option.
8567
8497
  * @throws {RequiredError}
8568
8498
  */
8569
- tasksListTasksForUser(listTasksQuery: ListTasksQuery, xCompanyId?: string | null, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PaginationResponseTaskRead>>;
8499
+ tasksListTasksForUser(page: number, elements: number, dueDateFrom: string | null, dueDateTo: string | null, priority: TaskPriority | null, status: TaskStatus | null, orderBy: OrderBy | null, order?: TasksListTasksForUserOrderEnum, xCompanyId?: string | null, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PaginationResponseTaskRead>>;
8570
8500
  /**
8571
8501
  *
8572
8502
  * @summary Request Task Scheduling
@@ -8638,21 +8568,35 @@ export declare const TasksApiFactory: (configuration?: Configuration, basePath?:
8638
8568
  /**
8639
8569
  *
8640
8570
  * @summary List Tasks For Company
8641
- * @param {ListTasksQuery} listTasksQuery
8571
+ * @param {number} page
8572
+ * @param {number} elements
8573
+ * @param {string | null} dueDateFrom
8574
+ * @param {string | null} dueDateTo
8575
+ * @param {TaskPriority | null} priority
8576
+ * @param {TaskStatus | null} status
8577
+ * @param {OrderBy | null} orderBy
8578
+ * @param {TasksListTasksForCompanyOrderEnum} [order]
8642
8579
  * @param {string | null} [xCompanyId]
8643
8580
  * @param {*} [options] Override http request option.
8644
8581
  * @throws {RequiredError}
8645
8582
  */
8646
- tasksListTasksForCompany(listTasksQuery: ListTasksQuery, xCompanyId?: string | null, options?: RawAxiosRequestConfig): AxiosPromise<PaginationResponseTaskWithUser>;
8583
+ tasksListTasksForCompany(page: number, elements: number, dueDateFrom: string | null, dueDateTo: string | null, priority: TaskPriority | null, status: TaskStatus | null, orderBy: OrderBy | null, order?: TasksListTasksForCompanyOrderEnum, xCompanyId?: string | null, options?: RawAxiosRequestConfig): AxiosPromise<PaginationResponseTaskWithUser>;
8647
8584
  /**
8648
8585
  *
8649
8586
  * @summary List Tasks For User
8650
- * @param {ListTasksQuery} listTasksQuery
8587
+ * @param {number} page
8588
+ * @param {number} elements
8589
+ * @param {string | null} dueDateFrom
8590
+ * @param {string | null} dueDateTo
8591
+ * @param {TaskPriority | null} priority
8592
+ * @param {TaskStatus | null} status
8593
+ * @param {OrderBy | null} orderBy
8594
+ * @param {TasksListTasksForUserOrderEnum} [order]
8651
8595
  * @param {string | null} [xCompanyId]
8652
8596
  * @param {*} [options] Override http request option.
8653
8597
  * @throws {RequiredError}
8654
8598
  */
8655
- tasksListTasksForUser(listTasksQuery: ListTasksQuery, xCompanyId?: string | null, options?: RawAxiosRequestConfig): AxiosPromise<PaginationResponseTaskRead>;
8599
+ tasksListTasksForUser(page: number, elements: number, dueDateFrom: string | null, dueDateTo: string | null, priority: TaskPriority | null, status: TaskStatus | null, orderBy: OrderBy | null, order?: TasksListTasksForUserOrderEnum, xCompanyId?: string | null, options?: RawAxiosRequestConfig): AxiosPromise<PaginationResponseTaskRead>;
8656
8600
  /**
8657
8601
  *
8658
8602
  * @summary Request Task Scheduling
@@ -8730,23 +8674,37 @@ export declare class TasksApi extends BaseAPI {
8730
8674
  /**
8731
8675
  *
8732
8676
  * @summary List Tasks For Company
8733
- * @param {ListTasksQuery} listTasksQuery
8677
+ * @param {number} page
8678
+ * @param {number} elements
8679
+ * @param {string | null} dueDateFrom
8680
+ * @param {string | null} dueDateTo
8681
+ * @param {TaskPriority | null} priority
8682
+ * @param {TaskStatus | null} status
8683
+ * @param {OrderBy | null} orderBy
8684
+ * @param {TasksListTasksForCompanyOrderEnum} [order]
8734
8685
  * @param {string | null} [xCompanyId]
8735
8686
  * @param {*} [options] Override http request option.
8736
8687
  * @throws {RequiredError}
8737
8688
  * @memberof TasksApi
8738
8689
  */
8739
- tasksListTasksForCompany(listTasksQuery: ListTasksQuery, xCompanyId?: string | null, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<PaginationResponseTaskWithUser, any, {}>>;
8690
+ tasksListTasksForCompany(page: number, elements: number, dueDateFrom: string | null, dueDateTo: string | null, priority: TaskPriority | null, status: TaskStatus | null, orderBy: OrderBy | null, order?: TasksListTasksForCompanyOrderEnum, xCompanyId?: string | null, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<PaginationResponseTaskWithUser, any, {}>>;
8740
8691
  /**
8741
8692
  *
8742
8693
  * @summary List Tasks For User
8743
- * @param {ListTasksQuery} listTasksQuery
8694
+ * @param {number} page
8695
+ * @param {number} elements
8696
+ * @param {string | null} dueDateFrom
8697
+ * @param {string | null} dueDateTo
8698
+ * @param {TaskPriority | null} priority
8699
+ * @param {TaskStatus | null} status
8700
+ * @param {OrderBy | null} orderBy
8701
+ * @param {TasksListTasksForUserOrderEnum} [order]
8744
8702
  * @param {string | null} [xCompanyId]
8745
8703
  * @param {*} [options] Override http request option.
8746
8704
  * @throws {RequiredError}
8747
8705
  * @memberof TasksApi
8748
8706
  */
8749
- tasksListTasksForUser(listTasksQuery: ListTasksQuery, xCompanyId?: string | null, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<PaginationResponseTaskRead, any, {}>>;
8707
+ tasksListTasksForUser(page: number, elements: number, dueDateFrom: string | null, dueDateTo: string | null, priority: TaskPriority | null, status: TaskStatus | null, orderBy: OrderBy | null, order?: TasksListTasksForUserOrderEnum, xCompanyId?: string | null, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<PaginationResponseTaskRead, any, {}>>;
8750
8708
  /**
8751
8709
  *
8752
8710
  * @summary Request Task Scheduling
@@ -8778,6 +8736,22 @@ export declare class TasksApi extends BaseAPI {
8778
8736
  */
8779
8737
  tasksUpdateTaskStatus(updateTaskStatus: UpdateTaskStatus, xCompanyId?: string | null, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<TaskRead, any, {}>>;
8780
8738
  }
8739
+ /**
8740
+ * @export
8741
+ */
8742
+ export declare const TasksListTasksForCompanyOrderEnum: {
8743
+ readonly Asc: "asc";
8744
+ readonly Desc: "desc";
8745
+ };
8746
+ export type TasksListTasksForCompanyOrderEnum = typeof TasksListTasksForCompanyOrderEnum[keyof typeof TasksListTasksForCompanyOrderEnum];
8747
+ /**
8748
+ * @export
8749
+ */
8750
+ export declare const TasksListTasksForUserOrderEnum: {
8751
+ readonly Asc: "asc";
8752
+ readonly Desc: "desc";
8753
+ };
8754
+ export type TasksListTasksForUserOrderEnum = typeof TasksListTasksForUserOrderEnum[keyof typeof TasksListTasksForUserOrderEnum];
8781
8755
  /**
8782
8756
  * UserApi - axios parameter creator
8783
8757
  * @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
@@ -1023,14 +1019,21 @@ export const AuditLogsApiAxiosParamCreator = function (configuration) {
1023
1019
  /**
1024
1020
  *
1025
1021
  * @summary List Audit Logs
1026
- * @param {ListAuditLog} listAuditLog
1022
+ * @param {number} page
1023
+ * @param {number} elements
1024
+ * @param {AuditLogEntity | null} [entityType]
1025
+ * @param {AuditLogAction | null} [action]
1026
+ * @param {string | null} [startDate]
1027
+ * @param {string | null} [endDate]
1027
1028
  * @param {string | null} [xCompanyId]
1028
1029
  * @param {*} [options] Override http request option.
1029
1030
  * @throws {RequiredError}
1030
1031
  */
1031
- auditLogListAuditLogs: (listAuditLog_1, xCompanyId_1, ...args_1) => __awaiter(this, [listAuditLog_1, xCompanyId_1, ...args_1], void 0, function* (listAuditLog, xCompanyId, options = {}) {
1032
- // verify required parameter 'listAuditLog' is not null or undefined
1033
- assertParamExists('auditLogListAuditLogs', 'listAuditLog', listAuditLog);
1032
+ auditLogListAuditLogs: (page_1, elements_1, entityType_1, action_1, startDate_1, endDate_1, xCompanyId_1, ...args_1) => __awaiter(this, [page_1, elements_1, entityType_1, action_1, startDate_1, endDate_1, xCompanyId_1, ...args_1], void 0, function* (page, elements, entityType, action, startDate, endDate, xCompanyId, options = {}) {
1033
+ // verify required parameter 'page' is not null or undefined
1034
+ assertParamExists('auditLogListAuditLogs', 'page', page);
1035
+ // verify required parameter 'elements' is not null or undefined
1036
+ assertParamExists('auditLogListAuditLogs', 'elements', elements);
1034
1037
  const localVarPath = `/v1/audit-logs/list`;
1035
1038
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
1036
1039
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
@@ -1041,14 +1044,34 @@ export const AuditLogsApiAxiosParamCreator = function (configuration) {
1041
1044
  const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
1042
1045
  const localVarHeaderParameter = {};
1043
1046
  const localVarQueryParameter = {};
1044
- localVarHeaderParameter['Content-Type'] = 'application/json';
1047
+ if (page !== undefined) {
1048
+ localVarQueryParameter['page'] = page;
1049
+ }
1050
+ if (elements !== undefined) {
1051
+ localVarQueryParameter['elements'] = elements;
1052
+ }
1053
+ if (entityType !== undefined) {
1054
+ localVarQueryParameter['entity_type'] = entityType;
1055
+ }
1056
+ if (action !== undefined) {
1057
+ localVarQueryParameter['action'] = action;
1058
+ }
1059
+ if (startDate !== undefined) {
1060
+ localVarQueryParameter['start_date'] = (startDate instanceof Date) ?
1061
+ startDate.toISOString() :
1062
+ startDate;
1063
+ }
1064
+ if (endDate !== undefined) {
1065
+ localVarQueryParameter['end_date'] = (endDate instanceof Date) ?
1066
+ endDate.toISOString() :
1067
+ endDate;
1068
+ }
1045
1069
  if (xCompanyId != null) {
1046
1070
  localVarHeaderParameter['X-Company-Id'] = String(xCompanyId);
1047
1071
  }
1048
1072
  setSearchParams(localVarUrlObj, localVarQueryParameter);
1049
1073
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
1050
1074
  localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
1051
- localVarRequestOptions.data = serializeDataIfNeeded(listAuditLog, localVarRequestOptions, configuration);
1052
1075
  return {
1053
1076
  url: toPathString(localVarUrlObj),
1054
1077
  options: localVarRequestOptions,
@@ -1066,15 +1089,20 @@ export const AuditLogsApiFp = function (configuration) {
1066
1089
  /**
1067
1090
  *
1068
1091
  * @summary List Audit Logs
1069
- * @param {ListAuditLog} listAuditLog
1092
+ * @param {number} page
1093
+ * @param {number} elements
1094
+ * @param {AuditLogEntity | null} [entityType]
1095
+ * @param {AuditLogAction | null} [action]
1096
+ * @param {string | null} [startDate]
1097
+ * @param {string | null} [endDate]
1070
1098
  * @param {string | null} [xCompanyId]
1071
1099
  * @param {*} [options] Override http request option.
1072
1100
  * @throws {RequiredError}
1073
1101
  */
1074
- auditLogListAuditLogs(listAuditLog, xCompanyId, options) {
1102
+ auditLogListAuditLogs(page, elements, entityType, action, startDate, endDate, xCompanyId, options) {
1075
1103
  return __awaiter(this, void 0, void 0, function* () {
1076
1104
  var _a, _b, _c;
1077
- const localVarAxiosArgs = yield localVarAxiosParamCreator.auditLogListAuditLogs(listAuditLog, xCompanyId, options);
1105
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.auditLogListAuditLogs(page, elements, entityType, action, startDate, endDate, xCompanyId, options);
1078
1106
  const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
1079
1107
  const localVarOperationServerBasePath = (_c = (_b = operationServerMap['AuditLogsApi.auditLogListAuditLogs']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
1080
1108
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
@@ -1092,13 +1120,18 @@ export const AuditLogsApiFactory = function (configuration, basePath, axios) {
1092
1120
  /**
1093
1121
  *
1094
1122
  * @summary List Audit Logs
1095
- * @param {ListAuditLog} listAuditLog
1123
+ * @param {number} page
1124
+ * @param {number} elements
1125
+ * @param {AuditLogEntity | null} [entityType]
1126
+ * @param {AuditLogAction | null} [action]
1127
+ * @param {string | null} [startDate]
1128
+ * @param {string | null} [endDate]
1096
1129
  * @param {string | null} [xCompanyId]
1097
1130
  * @param {*} [options] Override http request option.
1098
1131
  * @throws {RequiredError}
1099
1132
  */
1100
- auditLogListAuditLogs(listAuditLog, xCompanyId, options) {
1101
- return localVarFp.auditLogListAuditLogs(listAuditLog, xCompanyId, options).then((request) => request(axios, basePath));
1133
+ auditLogListAuditLogs(page, elements, entityType, action, startDate, endDate, xCompanyId, options) {
1134
+ return localVarFp.auditLogListAuditLogs(page, elements, entityType, action, startDate, endDate, xCompanyId, options).then((request) => request(axios, basePath));
1102
1135
  },
1103
1136
  };
1104
1137
  };
@@ -1112,14 +1145,19 @@ export class AuditLogsApi extends BaseAPI {
1112
1145
  /**
1113
1146
  *
1114
1147
  * @summary List Audit Logs
1115
- * @param {ListAuditLog} listAuditLog
1148
+ * @param {number} page
1149
+ * @param {number} elements
1150
+ * @param {AuditLogEntity | null} [entityType]
1151
+ * @param {AuditLogAction | null} [action]
1152
+ * @param {string | null} [startDate]
1153
+ * @param {string | null} [endDate]
1116
1154
  * @param {string | null} [xCompanyId]
1117
1155
  * @param {*} [options] Override http request option.
1118
1156
  * @throws {RequiredError}
1119
1157
  * @memberof AuditLogsApi
1120
1158
  */
1121
- auditLogListAuditLogs(listAuditLog, xCompanyId, options) {
1122
- return AuditLogsApiFp(this.configuration).auditLogListAuditLogs(listAuditLog, xCompanyId, options).then((request) => request(this.axios, this.basePath));
1159
+ auditLogListAuditLogs(page, elements, entityType, action, startDate, endDate, xCompanyId, options) {
1160
+ return AuditLogsApiFp(this.configuration).auditLogListAuditLogs(page, elements, entityType, action, startDate, endDate, xCompanyId, options).then((request) => request(this.axios, this.basePath));
1123
1161
  }
1124
1162
  }
1125
1163
  /**
@@ -5305,14 +5343,17 @@ export const ReportsApiAxiosParamCreator = function (configuration) {
5305
5343
  /**
5306
5344
  *
5307
5345
  * @summary List Reports
5308
- * @param {PaginationQuery} paginationQuery
5346
+ * @param {number} page
5347
+ * @param {number} elements
5309
5348
  * @param {string | null} [xCompanyId]
5310
5349
  * @param {*} [options] Override http request option.
5311
5350
  * @throws {RequiredError}
5312
5351
  */
5313
- reportListReports: (paginationQuery_1, xCompanyId_1, ...args_1) => __awaiter(this, [paginationQuery_1, xCompanyId_1, ...args_1], void 0, function* (paginationQuery, xCompanyId, options = {}) {
5314
- // verify required parameter 'paginationQuery' is not null or undefined
5315
- assertParamExists('reportListReports', 'paginationQuery', paginationQuery);
5352
+ reportListReports: (page_1, elements_1, xCompanyId_1, ...args_1) => __awaiter(this, [page_1, elements_1, xCompanyId_1, ...args_1], void 0, function* (page, elements, xCompanyId, options = {}) {
5353
+ // verify required parameter 'page' is not null or undefined
5354
+ assertParamExists('reportListReports', 'page', page);
5355
+ // verify required parameter 'elements' is not null or undefined
5356
+ assertParamExists('reportListReports', 'elements', elements);
5316
5357
  const localVarPath = `/v1/reports/list`;
5317
5358
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
5318
5359
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
@@ -5323,14 +5364,18 @@ export const ReportsApiAxiosParamCreator = function (configuration) {
5323
5364
  const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
5324
5365
  const localVarHeaderParameter = {};
5325
5366
  const localVarQueryParameter = {};
5326
- localVarHeaderParameter['Content-Type'] = 'application/json';
5367
+ if (page !== undefined) {
5368
+ localVarQueryParameter['page'] = page;
5369
+ }
5370
+ if (elements !== undefined) {
5371
+ localVarQueryParameter['elements'] = elements;
5372
+ }
5327
5373
  if (xCompanyId != null) {
5328
5374
  localVarHeaderParameter['X-Company-Id'] = String(xCompanyId);
5329
5375
  }
5330
5376
  setSearchParams(localVarUrlObj, localVarQueryParameter);
5331
5377
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
5332
5378
  localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
5333
- localVarRequestOptions.data = serializeDataIfNeeded(paginationQuery, localVarRequestOptions, configuration);
5334
5379
  return {
5335
5380
  url: toPathString(localVarUrlObj),
5336
5381
  options: localVarRequestOptions,
@@ -5417,15 +5462,16 @@ export const ReportsApiFp = function (configuration) {
5417
5462
  /**
5418
5463
  *
5419
5464
  * @summary List Reports
5420
- * @param {PaginationQuery} paginationQuery
5465
+ * @param {number} page
5466
+ * @param {number} elements
5421
5467
  * @param {string | null} [xCompanyId]
5422
5468
  * @param {*} [options] Override http request option.
5423
5469
  * @throws {RequiredError}
5424
5470
  */
5425
- reportListReports(paginationQuery, xCompanyId, options) {
5471
+ reportListReports(page, elements, xCompanyId, options) {
5426
5472
  return __awaiter(this, void 0, void 0, function* () {
5427
5473
  var _a, _b, _c;
5428
- const localVarAxiosArgs = yield localVarAxiosParamCreator.reportListReports(paginationQuery, xCompanyId, options);
5474
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.reportListReports(page, elements, xCompanyId, options);
5429
5475
  const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
5430
5476
  const localVarOperationServerBasePath = (_c = (_b = operationServerMap['ReportsApi.reportListReports']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
5431
5477
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
@@ -5488,13 +5534,14 @@ export const ReportsApiFactory = function (configuration, basePath, axios) {
5488
5534
  /**
5489
5535
  *
5490
5536
  * @summary List Reports
5491
- * @param {PaginationQuery} paginationQuery
5537
+ * @param {number} page
5538
+ * @param {number} elements
5492
5539
  * @param {string | null} [xCompanyId]
5493
5540
  * @param {*} [options] Override http request option.
5494
5541
  * @throws {RequiredError}
5495
5542
  */
5496
- reportListReports(paginationQuery, xCompanyId, options) {
5497
- return localVarFp.reportListReports(paginationQuery, xCompanyId, options).then((request) => request(axios, basePath));
5543
+ reportListReports(page, elements, xCompanyId, options) {
5544
+ return localVarFp.reportListReports(page, elements, xCompanyId, options).then((request) => request(axios, basePath));
5498
5545
  },
5499
5546
  };
5500
5547
  };
@@ -5557,14 +5604,15 @@ export class ReportsApi extends BaseAPI {
5557
5604
  /**
5558
5605
  *
5559
5606
  * @summary List Reports
5560
- * @param {PaginationQuery} paginationQuery
5607
+ * @param {number} page
5608
+ * @param {number} elements
5561
5609
  * @param {string | null} [xCompanyId]
5562
5610
  * @param {*} [options] Override http request option.
5563
5611
  * @throws {RequiredError}
5564
5612
  * @memberof ReportsApi
5565
5613
  */
5566
- reportListReports(paginationQuery, xCompanyId, options) {
5567
- return ReportsApiFp(this.configuration).reportListReports(paginationQuery, xCompanyId, options).then((request) => request(this.axios, this.basePath));
5614
+ reportListReports(page, elements, xCompanyId, options) {
5615
+ return ReportsApiFp(this.configuration).reportListReports(page, elements, xCompanyId, options).then((request) => request(this.axios, this.basePath));
5568
5616
  }
5569
5617
  }
5570
5618
  /**
@@ -6736,14 +6784,33 @@ export const TasksApiAxiosParamCreator = function (configuration) {
6736
6784
  /**
6737
6785
  *
6738
6786
  * @summary List Tasks For Company
6739
- * @param {ListTasksQuery} listTasksQuery
6740
- * @param {string | null} [xCompanyId]
6741
- * @param {*} [options] Override http request option.
6742
- * @throws {RequiredError}
6743
- */
6744
- tasksListTasksForCompany: (listTasksQuery_1, xCompanyId_1, ...args_1) => __awaiter(this, [listTasksQuery_1, xCompanyId_1, ...args_1], void 0, function* (listTasksQuery, xCompanyId, options = {}) {
6745
- // verify required parameter 'listTasksQuery' is not null or undefined
6746
- assertParamExists('tasksListTasksForCompany', 'listTasksQuery', listTasksQuery);
6787
+ * @param {number} page
6788
+ * @param {number} elements
6789
+ * @param {string | null} dueDateFrom
6790
+ * @param {string | null} dueDateTo
6791
+ * @param {TaskPriority | null} priority
6792
+ * @param {TaskStatus | null} status
6793
+ * @param {OrderBy | null} orderBy
6794
+ * @param {TasksListTasksForCompanyOrderEnum} [order]
6795
+ * @param {string | null} [xCompanyId]
6796
+ * @param {*} [options] Override http request option.
6797
+ * @throws {RequiredError}
6798
+ */
6799
+ tasksListTasksForCompany: (page_1, elements_1, dueDateFrom_1, dueDateTo_1, priority_1, status_1, orderBy_1, order_1, xCompanyId_1, ...args_1) => __awaiter(this, [page_1, elements_1, dueDateFrom_1, dueDateTo_1, priority_1, status_1, orderBy_1, order_1, xCompanyId_1, ...args_1], void 0, function* (page, elements, dueDateFrom, dueDateTo, priority, status, orderBy, order, xCompanyId, options = {}) {
6800
+ // verify required parameter 'page' is not null or undefined
6801
+ assertParamExists('tasksListTasksForCompany', 'page', page);
6802
+ // verify required parameter 'elements' is not null or undefined
6803
+ assertParamExists('tasksListTasksForCompany', 'elements', elements);
6804
+ // verify required parameter 'dueDateFrom' is not null or undefined
6805
+ assertParamExists('tasksListTasksForCompany', 'dueDateFrom', dueDateFrom);
6806
+ // verify required parameter 'dueDateTo' is not null or undefined
6807
+ assertParamExists('tasksListTasksForCompany', 'dueDateTo', dueDateTo);
6808
+ // verify required parameter 'priority' is not null or undefined
6809
+ assertParamExists('tasksListTasksForCompany', 'priority', priority);
6810
+ // verify required parameter 'status' is not null or undefined
6811
+ assertParamExists('tasksListTasksForCompany', 'status', status);
6812
+ // verify required parameter 'orderBy' is not null or undefined
6813
+ assertParamExists('tasksListTasksForCompany', 'orderBy', orderBy);
6747
6814
  const localVarPath = `/v1/tasks/company`;
6748
6815
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
6749
6816
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
@@ -6754,14 +6821,40 @@ export const TasksApiAxiosParamCreator = function (configuration) {
6754
6821
  const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
6755
6822
  const localVarHeaderParameter = {};
6756
6823
  const localVarQueryParameter = {};
6757
- localVarHeaderParameter['Content-Type'] = 'application/json';
6824
+ if (page !== undefined) {
6825
+ localVarQueryParameter['page'] = page;
6826
+ }
6827
+ if (elements !== undefined) {
6828
+ localVarQueryParameter['elements'] = elements;
6829
+ }
6830
+ if (dueDateFrom !== undefined) {
6831
+ localVarQueryParameter['due_date_from'] = (dueDateFrom instanceof Date) ?
6832
+ dueDateFrom.toISOString() :
6833
+ dueDateFrom;
6834
+ }
6835
+ if (dueDateTo !== undefined) {
6836
+ localVarQueryParameter['due_date_to'] = (dueDateTo instanceof Date) ?
6837
+ dueDateTo.toISOString() :
6838
+ dueDateTo;
6839
+ }
6840
+ if (priority !== undefined) {
6841
+ localVarQueryParameter['priority'] = priority;
6842
+ }
6843
+ if (status !== undefined) {
6844
+ localVarQueryParameter['status'] = status;
6845
+ }
6846
+ if (orderBy !== undefined) {
6847
+ localVarQueryParameter['order_by'] = orderBy;
6848
+ }
6849
+ if (order !== undefined) {
6850
+ localVarQueryParameter['order'] = order;
6851
+ }
6758
6852
  if (xCompanyId != null) {
6759
6853
  localVarHeaderParameter['X-Company-Id'] = String(xCompanyId);
6760
6854
  }
6761
6855
  setSearchParams(localVarUrlObj, localVarQueryParameter);
6762
6856
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
6763
6857
  localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
6764
- localVarRequestOptions.data = serializeDataIfNeeded(listTasksQuery, localVarRequestOptions, configuration);
6765
6858
  return {
6766
6859
  url: toPathString(localVarUrlObj),
6767
6860
  options: localVarRequestOptions,
@@ -6770,14 +6863,33 @@ export const TasksApiAxiosParamCreator = function (configuration) {
6770
6863
  /**
6771
6864
  *
6772
6865
  * @summary List Tasks For User
6773
- * @param {ListTasksQuery} listTasksQuery
6774
- * @param {string | null} [xCompanyId]
6775
- * @param {*} [options] Override http request option.
6776
- * @throws {RequiredError}
6777
- */
6778
- tasksListTasksForUser: (listTasksQuery_1, xCompanyId_1, ...args_1) => __awaiter(this, [listTasksQuery_1, xCompanyId_1, ...args_1], void 0, function* (listTasksQuery, xCompanyId, options = {}) {
6779
- // verify required parameter 'listTasksQuery' is not null or undefined
6780
- assertParamExists('tasksListTasksForUser', 'listTasksQuery', listTasksQuery);
6866
+ * @param {number} page
6867
+ * @param {number} elements
6868
+ * @param {string | null} dueDateFrom
6869
+ * @param {string | null} dueDateTo
6870
+ * @param {TaskPriority | null} priority
6871
+ * @param {TaskStatus | null} status
6872
+ * @param {OrderBy | null} orderBy
6873
+ * @param {TasksListTasksForUserOrderEnum} [order]
6874
+ * @param {string | null} [xCompanyId]
6875
+ * @param {*} [options] Override http request option.
6876
+ * @throws {RequiredError}
6877
+ */
6878
+ tasksListTasksForUser: (page_1, elements_1, dueDateFrom_1, dueDateTo_1, priority_1, status_1, orderBy_1, order_1, xCompanyId_1, ...args_1) => __awaiter(this, [page_1, elements_1, dueDateFrom_1, dueDateTo_1, priority_1, status_1, orderBy_1, order_1, xCompanyId_1, ...args_1], void 0, function* (page, elements, dueDateFrom, dueDateTo, priority, status, orderBy, order, xCompanyId, options = {}) {
6879
+ // verify required parameter 'page' is not null or undefined
6880
+ assertParamExists('tasksListTasksForUser', 'page', page);
6881
+ // verify required parameter 'elements' is not null or undefined
6882
+ assertParamExists('tasksListTasksForUser', 'elements', elements);
6883
+ // verify required parameter 'dueDateFrom' is not null or undefined
6884
+ assertParamExists('tasksListTasksForUser', 'dueDateFrom', dueDateFrom);
6885
+ // verify required parameter 'dueDateTo' is not null or undefined
6886
+ assertParamExists('tasksListTasksForUser', 'dueDateTo', dueDateTo);
6887
+ // verify required parameter 'priority' is not null or undefined
6888
+ assertParamExists('tasksListTasksForUser', 'priority', priority);
6889
+ // verify required parameter 'status' is not null or undefined
6890
+ assertParamExists('tasksListTasksForUser', 'status', status);
6891
+ // verify required parameter 'orderBy' is not null or undefined
6892
+ assertParamExists('tasksListTasksForUser', 'orderBy', orderBy);
6781
6893
  const localVarPath = `/v1/tasks/me`;
6782
6894
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
6783
6895
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
@@ -6788,14 +6900,40 @@ export const TasksApiAxiosParamCreator = function (configuration) {
6788
6900
  const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
6789
6901
  const localVarHeaderParameter = {};
6790
6902
  const localVarQueryParameter = {};
6791
- localVarHeaderParameter['Content-Type'] = 'application/json';
6903
+ if (page !== undefined) {
6904
+ localVarQueryParameter['page'] = page;
6905
+ }
6906
+ if (elements !== undefined) {
6907
+ localVarQueryParameter['elements'] = elements;
6908
+ }
6909
+ if (dueDateFrom !== undefined) {
6910
+ localVarQueryParameter['due_date_from'] = (dueDateFrom instanceof Date) ?
6911
+ dueDateFrom.toISOString() :
6912
+ dueDateFrom;
6913
+ }
6914
+ if (dueDateTo !== undefined) {
6915
+ localVarQueryParameter['due_date_to'] = (dueDateTo instanceof Date) ?
6916
+ dueDateTo.toISOString() :
6917
+ dueDateTo;
6918
+ }
6919
+ if (priority !== undefined) {
6920
+ localVarQueryParameter['priority'] = priority;
6921
+ }
6922
+ if (status !== undefined) {
6923
+ localVarQueryParameter['status'] = status;
6924
+ }
6925
+ if (orderBy !== undefined) {
6926
+ localVarQueryParameter['order_by'] = orderBy;
6927
+ }
6928
+ if (order !== undefined) {
6929
+ localVarQueryParameter['order'] = order;
6930
+ }
6792
6931
  if (xCompanyId != null) {
6793
6932
  localVarHeaderParameter['X-Company-Id'] = String(xCompanyId);
6794
6933
  }
6795
6934
  setSearchParams(localVarUrlObj, localVarQueryParameter);
6796
6935
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
6797
6936
  localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
6798
- localVarRequestOptions.data = serializeDataIfNeeded(listTasksQuery, localVarRequestOptions, configuration);
6799
6937
  return {
6800
6938
  url: toPathString(localVarUrlObj),
6801
6939
  options: localVarRequestOptions,
@@ -6982,15 +7120,22 @@ export const TasksApiFp = function (configuration) {
6982
7120
  /**
6983
7121
  *
6984
7122
  * @summary List Tasks For Company
6985
- * @param {ListTasksQuery} listTasksQuery
7123
+ * @param {number} page
7124
+ * @param {number} elements
7125
+ * @param {string | null} dueDateFrom
7126
+ * @param {string | null} dueDateTo
7127
+ * @param {TaskPriority | null} priority
7128
+ * @param {TaskStatus | null} status
7129
+ * @param {OrderBy | null} orderBy
7130
+ * @param {TasksListTasksForCompanyOrderEnum} [order]
6986
7131
  * @param {string | null} [xCompanyId]
6987
7132
  * @param {*} [options] Override http request option.
6988
7133
  * @throws {RequiredError}
6989
7134
  */
6990
- tasksListTasksForCompany(listTasksQuery, xCompanyId, options) {
7135
+ tasksListTasksForCompany(page, elements, dueDateFrom, dueDateTo, priority, status, orderBy, order, xCompanyId, options) {
6991
7136
  return __awaiter(this, void 0, void 0, function* () {
6992
7137
  var _a, _b, _c;
6993
- const localVarAxiosArgs = yield localVarAxiosParamCreator.tasksListTasksForCompany(listTasksQuery, xCompanyId, options);
7138
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.tasksListTasksForCompany(page, elements, dueDateFrom, dueDateTo, priority, status, orderBy, order, xCompanyId, options);
6994
7139
  const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
6995
7140
  const localVarOperationServerBasePath = (_c = (_b = operationServerMap['TasksApi.tasksListTasksForCompany']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
6996
7141
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
@@ -6999,15 +7144,22 @@ export const TasksApiFp = function (configuration) {
6999
7144
  /**
7000
7145
  *
7001
7146
  * @summary List Tasks For User
7002
- * @param {ListTasksQuery} listTasksQuery
7147
+ * @param {number} page
7148
+ * @param {number} elements
7149
+ * @param {string | null} dueDateFrom
7150
+ * @param {string | null} dueDateTo
7151
+ * @param {TaskPriority | null} priority
7152
+ * @param {TaskStatus | null} status
7153
+ * @param {OrderBy | null} orderBy
7154
+ * @param {TasksListTasksForUserOrderEnum} [order]
7003
7155
  * @param {string | null} [xCompanyId]
7004
7156
  * @param {*} [options] Override http request option.
7005
7157
  * @throws {RequiredError}
7006
7158
  */
7007
- tasksListTasksForUser(listTasksQuery, xCompanyId, options) {
7159
+ tasksListTasksForUser(page, elements, dueDateFrom, dueDateTo, priority, status, orderBy, order, xCompanyId, options) {
7008
7160
  return __awaiter(this, void 0, void 0, function* () {
7009
7161
  var _a, _b, _c;
7010
- const localVarAxiosArgs = yield localVarAxiosParamCreator.tasksListTasksForUser(listTasksQuery, xCompanyId, options);
7162
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.tasksListTasksForUser(page, elements, dueDateFrom, dueDateTo, priority, status, orderBy, order, xCompanyId, options);
7011
7163
  const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
7012
7164
  const localVarOperationServerBasePath = (_c = (_b = operationServerMap['TasksApi.tasksListTasksForUser']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
7013
7165
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
@@ -7119,24 +7271,38 @@ export const TasksApiFactory = function (configuration, basePath, axios) {
7119
7271
  /**
7120
7272
  *
7121
7273
  * @summary List Tasks For Company
7122
- * @param {ListTasksQuery} listTasksQuery
7274
+ * @param {number} page
7275
+ * @param {number} elements
7276
+ * @param {string | null} dueDateFrom
7277
+ * @param {string | null} dueDateTo
7278
+ * @param {TaskPriority | null} priority
7279
+ * @param {TaskStatus | null} status
7280
+ * @param {OrderBy | null} orderBy
7281
+ * @param {TasksListTasksForCompanyOrderEnum} [order]
7123
7282
  * @param {string | null} [xCompanyId]
7124
7283
  * @param {*} [options] Override http request option.
7125
7284
  * @throws {RequiredError}
7126
7285
  */
7127
- tasksListTasksForCompany(listTasksQuery, xCompanyId, options) {
7128
- return localVarFp.tasksListTasksForCompany(listTasksQuery, xCompanyId, options).then((request) => request(axios, basePath));
7286
+ tasksListTasksForCompany(page, elements, dueDateFrom, dueDateTo, priority, status, orderBy, order, xCompanyId, options) {
7287
+ return localVarFp.tasksListTasksForCompany(page, elements, dueDateFrom, dueDateTo, priority, status, orderBy, order, xCompanyId, options).then((request) => request(axios, basePath));
7129
7288
  },
7130
7289
  /**
7131
7290
  *
7132
7291
  * @summary List Tasks For User
7133
- * @param {ListTasksQuery} listTasksQuery
7292
+ * @param {number} page
7293
+ * @param {number} elements
7294
+ * @param {string | null} dueDateFrom
7295
+ * @param {string | null} dueDateTo
7296
+ * @param {TaskPriority | null} priority
7297
+ * @param {TaskStatus | null} status
7298
+ * @param {OrderBy | null} orderBy
7299
+ * @param {TasksListTasksForUserOrderEnum} [order]
7134
7300
  * @param {string | null} [xCompanyId]
7135
7301
  * @param {*} [options] Override http request option.
7136
7302
  * @throws {RequiredError}
7137
7303
  */
7138
- tasksListTasksForUser(listTasksQuery, xCompanyId, options) {
7139
- return localVarFp.tasksListTasksForUser(listTasksQuery, xCompanyId, options).then((request) => request(axios, basePath));
7304
+ tasksListTasksForUser(page, elements, dueDateFrom, dueDateTo, priority, status, orderBy, order, xCompanyId, options) {
7305
+ return localVarFp.tasksListTasksForUser(page, elements, dueDateFrom, dueDateTo, priority, status, orderBy, order, xCompanyId, options).then((request) => request(axios, basePath));
7140
7306
  },
7141
7307
  /**
7142
7308
  *
@@ -7230,26 +7396,40 @@ export class TasksApi extends BaseAPI {
7230
7396
  /**
7231
7397
  *
7232
7398
  * @summary List Tasks For Company
7233
- * @param {ListTasksQuery} listTasksQuery
7399
+ * @param {number} page
7400
+ * @param {number} elements
7401
+ * @param {string | null} dueDateFrom
7402
+ * @param {string | null} dueDateTo
7403
+ * @param {TaskPriority | null} priority
7404
+ * @param {TaskStatus | null} status
7405
+ * @param {OrderBy | null} orderBy
7406
+ * @param {TasksListTasksForCompanyOrderEnum} [order]
7234
7407
  * @param {string | null} [xCompanyId]
7235
7408
  * @param {*} [options] Override http request option.
7236
7409
  * @throws {RequiredError}
7237
7410
  * @memberof TasksApi
7238
7411
  */
7239
- tasksListTasksForCompany(listTasksQuery, xCompanyId, options) {
7240
- return TasksApiFp(this.configuration).tasksListTasksForCompany(listTasksQuery, xCompanyId, options).then((request) => request(this.axios, this.basePath));
7412
+ tasksListTasksForCompany(page, elements, dueDateFrom, dueDateTo, priority, status, orderBy, order, xCompanyId, options) {
7413
+ return TasksApiFp(this.configuration).tasksListTasksForCompany(page, elements, dueDateFrom, dueDateTo, priority, status, orderBy, order, xCompanyId, options).then((request) => request(this.axios, this.basePath));
7241
7414
  }
7242
7415
  /**
7243
7416
  *
7244
7417
  * @summary List Tasks For User
7245
- * @param {ListTasksQuery} listTasksQuery
7418
+ * @param {number} page
7419
+ * @param {number} elements
7420
+ * @param {string | null} dueDateFrom
7421
+ * @param {string | null} dueDateTo
7422
+ * @param {TaskPriority | null} priority
7423
+ * @param {TaskStatus | null} status
7424
+ * @param {OrderBy | null} orderBy
7425
+ * @param {TasksListTasksForUserOrderEnum} [order]
7246
7426
  * @param {string | null} [xCompanyId]
7247
7427
  * @param {*} [options] Override http request option.
7248
7428
  * @throws {RequiredError}
7249
7429
  * @memberof TasksApi
7250
7430
  */
7251
- tasksListTasksForUser(listTasksQuery, xCompanyId, options) {
7252
- return TasksApiFp(this.configuration).tasksListTasksForUser(listTasksQuery, xCompanyId, options).then((request) => request(this.axios, this.basePath));
7431
+ tasksListTasksForUser(page, elements, dueDateFrom, dueDateTo, priority, status, orderBy, order, xCompanyId, options) {
7432
+ return TasksApiFp(this.configuration).tasksListTasksForUser(page, elements, dueDateFrom, dueDateTo, priority, status, orderBy, order, xCompanyId, options).then((request) => request(this.axios, this.basePath));
7253
7433
  }
7254
7434
  /**
7255
7435
  *
@@ -7288,6 +7468,20 @@ export class TasksApi extends BaseAPI {
7288
7468
  return TasksApiFp(this.configuration).tasksUpdateTaskStatus(updateTaskStatus, xCompanyId, options).then((request) => request(this.axios, this.basePath));
7289
7469
  }
7290
7470
  }
7471
+ /**
7472
+ * @export
7473
+ */
7474
+ export const TasksListTasksForCompanyOrderEnum = {
7475
+ Asc: 'asc',
7476
+ Desc: 'desc'
7477
+ };
7478
+ /**
7479
+ * @export
7480
+ */
7481
+ export const TasksListTasksForUserOrderEnum = {
7482
+ Asc: 'asc',
7483
+ Desc: 'desc'
7484
+ };
7291
7485
  /**
7292
7486
  * UserApi - axios parameter creator
7293
7487
  * @export
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rasadov/lumoar-sdk",
3
- "version": "2.1.0",
3
+ "version": "2.1.2",
4
4
  "description": "Lumoar API SDK for dashboard use (session-based authentication)",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
@@ -37,4 +37,4 @@
37
37
  "@types/node": "^24.5.2",
38
38
  "typescript": "^5.9.2"
39
39
  }
40
- }
40
+ }