@rasadov/lumoar-sdk 1.1.8 → 1.1.10

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/api.d.ts CHANGED
@@ -670,6 +670,43 @@ export declare const ControlStatus: {
670
670
  readonly PendingReview: "pending_review";
671
671
  };
672
672
  export type ControlStatus = typeof ControlStatus[keyof typeof ControlStatus];
673
+ /**
674
+ *
675
+ * @export
676
+ * @interface ControlWithData
677
+ */
678
+ export interface ControlWithData {
679
+ /**
680
+ *
681
+ * @type {string}
682
+ * @memberof ControlWithData
683
+ */
684
+ 'id': string;
685
+ /**
686
+ *
687
+ * @type {string}
688
+ * @memberof ControlWithData
689
+ */
690
+ 'status'?: string | null;
691
+ /**
692
+ *
693
+ * @type {string}
694
+ * @memberof ControlWithData
695
+ */
696
+ 'note'?: string | null;
697
+ /**
698
+ *
699
+ * @type {string}
700
+ * @memberof ControlWithData
701
+ */
702
+ 'updated_at'?: string | null;
703
+ /**
704
+ *
705
+ * @type {FrameworkControlsBase}
706
+ * @memberof ControlWithData
707
+ */
708
+ 'data': FrameworkControlsBase;
709
+ }
673
710
  /**
674
711
  *
675
712
  * @export
@@ -799,6 +836,25 @@ export interface CreateTaskSchema {
799
836
  */
800
837
  'assigned_to_id': string;
801
838
  }
839
+ /**
840
+ *
841
+ * @export
842
+ * @interface CustomerDBBase
843
+ */
844
+ export interface CustomerDBBase {
845
+ /**
846
+ *
847
+ * @type {string}
848
+ * @memberof CustomerDBBase
849
+ */
850
+ 'billing_name': string;
851
+ /**
852
+ *
853
+ * @type {string}
854
+ * @memberof CustomerDBBase
855
+ */
856
+ 'billing_email': string;
857
+ }
802
858
  /**
803
859
  *
804
860
  * @export
@@ -999,6 +1055,85 @@ export interface EvidenceTextSchema {
999
1055
  */
1000
1056
  'content': string;
1001
1057
  }
1058
+ /**
1059
+ *
1060
+ * @export
1061
+ * @interface EvidenceWithControl
1062
+ */
1063
+ export interface EvidenceWithControl {
1064
+ /**
1065
+ *
1066
+ * @type {string}
1067
+ * @memberof EvidenceWithControl
1068
+ */
1069
+ 'id': string;
1070
+ /**
1071
+ *
1072
+ * @type {string}
1073
+ * @memberof EvidenceWithControl
1074
+ */
1075
+ 'control_id': string;
1076
+ /**
1077
+ *
1078
+ * @type {string}
1079
+ * @memberof EvidenceWithControl
1080
+ */
1081
+ 'expires_at'?: string | null;
1082
+ /**
1083
+ *
1084
+ * @type {string}
1085
+ * @memberof EvidenceWithControl
1086
+ */
1087
+ 'status': string;
1088
+ /**
1089
+ *
1090
+ * @type {number}
1091
+ * @memberof EvidenceWithControl
1092
+ */
1093
+ 'version': number;
1094
+ /**
1095
+ *
1096
+ * @type {string}
1097
+ * @memberof EvidenceWithControl
1098
+ */
1099
+ 'evidence_type': string;
1100
+ /**
1101
+ *
1102
+ * @type {EvidenceTextSchema}
1103
+ * @memberof EvidenceWithControl
1104
+ */
1105
+ 'text'?: EvidenceTextSchema | null;
1106
+ /**
1107
+ *
1108
+ * @type {Array<EvidenceFileSchema>}
1109
+ * @memberof EvidenceWithControl
1110
+ */
1111
+ 'files'?: Array<EvidenceFileSchema> | null;
1112
+ /**
1113
+ *
1114
+ * @type {Array<string>}
1115
+ * @memberof EvidenceWithControl
1116
+ */
1117
+ 'tags'?: Array<string> | null;
1118
+ /**
1119
+ *
1120
+ * @type {UserBase}
1121
+ * @memberof EvidenceWithControl
1122
+ */
1123
+ 'uploaded_by'?: UserBase | null;
1124
+ /**
1125
+ *
1126
+ * @type {string}
1127
+ * @memberof EvidenceWithControl
1128
+ */
1129
+ 'submitted_at'?: string | null;
1130
+ /**
1131
+ *
1132
+ * @type {ControlWithData}
1133
+ * @memberof EvidenceWithControl
1134
+ */
1135
+ 'control': ControlWithData;
1136
+ }
1002
1137
  /**
1003
1138
  *
1004
1139
  * @export
@@ -1629,6 +1764,49 @@ export interface ResponseGetCustomerManagementSessionV1PaymentsCustomerManagemen
1629
1764
  */
1630
1765
  'message'?: string;
1631
1766
  }
1767
+ /**
1768
+ *
1769
+ * @export
1770
+ * @interface ResponseGetSubscriptionV1PaymentsSubscriptionGet
1771
+ */
1772
+ export interface ResponseGetSubscriptionV1PaymentsSubscriptionGet {
1773
+ /**
1774
+ *
1775
+ * @type {string}
1776
+ * @memberof ResponseGetSubscriptionV1PaymentsSubscriptionGet
1777
+ */
1778
+ 'subscription_id': string;
1779
+ /**
1780
+ *
1781
+ * @type {string}
1782
+ * @memberof ResponseGetSubscriptionV1PaymentsSubscriptionGet
1783
+ */
1784
+ 'status': string;
1785
+ /**
1786
+ *
1787
+ * @type {string}
1788
+ * @memberof ResponseGetSubscriptionV1PaymentsSubscriptionGet
1789
+ */
1790
+ 'product_id': string;
1791
+ /**
1792
+ *
1793
+ * @type {CustomerDBBase}
1794
+ * @memberof ResponseGetSubscriptionV1PaymentsSubscriptionGet
1795
+ */
1796
+ 'customer': CustomerDBBase;
1797
+ /**
1798
+ *
1799
+ * @type {string}
1800
+ * @memberof ResponseGetSubscriptionV1PaymentsSubscriptionGet
1801
+ */
1802
+ 'subscribed_till': string;
1803
+ /**
1804
+ *
1805
+ * @type {string}
1806
+ * @memberof ResponseGetSubscriptionV1PaymentsSubscriptionGet
1807
+ */
1808
+ 'details': string;
1809
+ }
1632
1810
  /**
1633
1811
  *
1634
1812
  * @export
@@ -1679,6 +1857,43 @@ export interface SchedulerRequest {
1679
1857
  */
1680
1858
  'user_ids_to_assign'?: Array<string>;
1681
1859
  }
1860
+ /**
1861
+ *
1862
+ * @export
1863
+ * @interface SubscriptionResponse
1864
+ */
1865
+ export interface SubscriptionResponse {
1866
+ /**
1867
+ *
1868
+ * @type {string}
1869
+ * @memberof SubscriptionResponse
1870
+ */
1871
+ 'subscription_id': string;
1872
+ /**
1873
+ *
1874
+ * @type {string}
1875
+ * @memberof SubscriptionResponse
1876
+ */
1877
+ 'status': string;
1878
+ /**
1879
+ *
1880
+ * @type {string}
1881
+ * @memberof SubscriptionResponse
1882
+ */
1883
+ 'product_id': string;
1884
+ /**
1885
+ *
1886
+ * @type {CustomerDBBase}
1887
+ * @memberof SubscriptionResponse
1888
+ */
1889
+ 'customer': CustomerDBBase;
1890
+ /**
1891
+ *
1892
+ * @type {string}
1893
+ * @memberof SubscriptionResponse
1894
+ */
1895
+ 'subscribed_till': string;
1896
+ }
1682
1897
  /**
1683
1898
  *
1684
1899
  * @export
@@ -3038,6 +3253,16 @@ export declare const EvidenceApiAxiosParamCreator: (configuration?: Configuratio
3038
3253
  * @throws {RequiredError}
3039
3254
  */
3040
3255
  getEvidenceFilesV1EvidenceFileEvidenceFileIdGet: (evidenceFileId: number, authorization?: string, sessionId?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
3256
+ /**
3257
+ *
3258
+ * @summary Get Evidence
3259
+ * @param {string} evidenceId
3260
+ * @param {string} [authorization]
3261
+ * @param {string} [sessionId]
3262
+ * @param {*} [options] Override http request option.
3263
+ * @throws {RequiredError}
3264
+ */
3265
+ getEvidenceV1EvidenceGetGet: (evidenceId: string, authorization?: string, sessionId?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
3041
3266
  /**
3042
3267
  *
3043
3268
  * @summary List Company Evidence
@@ -3098,6 +3323,16 @@ export declare const EvidenceApiFp: (configuration?: Configuration) => {
3098
3323
  * @throws {RequiredError}
3099
3324
  */
3100
3325
  getEvidenceFilesV1EvidenceFileEvidenceFileIdGet(evidenceFileId: number, authorization?: string, sessionId?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<FileDownload>>;
3326
+ /**
3327
+ *
3328
+ * @summary Get Evidence
3329
+ * @param {string} evidenceId
3330
+ * @param {string} [authorization]
3331
+ * @param {string} [sessionId]
3332
+ * @param {*} [options] Override http request option.
3333
+ * @throws {RequiredError}
3334
+ */
3335
+ getEvidenceV1EvidenceGetGet(evidenceId: string, authorization?: string, sessionId?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<EvidenceWithControl>>;
3101
3336
  /**
3102
3337
  *
3103
3338
  * @summary List Company Evidence
@@ -3158,6 +3393,16 @@ export declare const EvidenceApiFactory: (configuration?: Configuration, basePat
3158
3393
  * @throws {RequiredError}
3159
3394
  */
3160
3395
  getEvidenceFilesV1EvidenceFileEvidenceFileIdGet(evidenceFileId: number, authorization?: string, sessionId?: string, options?: RawAxiosRequestConfig): AxiosPromise<FileDownload>;
3396
+ /**
3397
+ *
3398
+ * @summary Get Evidence
3399
+ * @param {string} evidenceId
3400
+ * @param {string} [authorization]
3401
+ * @param {string} [sessionId]
3402
+ * @param {*} [options] Override http request option.
3403
+ * @throws {RequiredError}
3404
+ */
3405
+ getEvidenceV1EvidenceGetGet(evidenceId: string, authorization?: string, sessionId?: string, options?: RawAxiosRequestConfig): AxiosPromise<EvidenceWithControl>;
3161
3406
  /**
3162
3407
  *
3163
3408
  * @summary List Company Evidence
@@ -3222,6 +3467,17 @@ export declare class EvidenceApi extends BaseAPI {
3222
3467
  * @memberof EvidenceApi
3223
3468
  */
3224
3469
  getEvidenceFilesV1EvidenceFileEvidenceFileIdGet(evidenceFileId: number, authorization?: string, sessionId?: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<FileDownload, any, {}>>;
3470
+ /**
3471
+ *
3472
+ * @summary Get Evidence
3473
+ * @param {string} evidenceId
3474
+ * @param {string} [authorization]
3475
+ * @param {string} [sessionId]
3476
+ * @param {*} [options] Override http request option.
3477
+ * @throws {RequiredError}
3478
+ * @memberof EvidenceApi
3479
+ */
3480
+ getEvidenceV1EvidenceGetGet(evidenceId: string, authorization?: string, sessionId?: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<EvidenceWithControl, any, {}>>;
3225
3481
  /**
3226
3482
  *
3227
3483
  * @summary List Company Evidence
@@ -3456,6 +3712,16 @@ export declare const PaymentsApiAxiosParamCreator: (configuration?: Configuratio
3456
3712
  * @throws {RequiredError}
3457
3713
  */
3458
3714
  getCustomerManagementSessionV1PaymentsCustomerManagementGet: (authorization?: string, sessionId?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
3715
+ /**
3716
+ *
3717
+ * @summary Get Subscription
3718
+ * @param {string} companyId
3719
+ * @param {string} [authorization]
3720
+ * @param {string} [sessionId]
3721
+ * @param {*} [options] Override http request option.
3722
+ * @throws {RequiredError}
3723
+ */
3724
+ getSubscriptionV1PaymentsSubscriptionGet: (companyId: string, authorization?: string, sessionId?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
3459
3725
  /**
3460
3726
  *
3461
3727
  * @summary Webhook
@@ -3489,6 +3755,16 @@ export declare const PaymentsApiFp: (configuration?: Configuration) => {
3489
3755
  * @throws {RequiredError}
3490
3756
  */
3491
3757
  getCustomerManagementSessionV1PaymentsCustomerManagementGet(authorization?: string, sessionId?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ResponseGetCustomerManagementSessionV1PaymentsCustomerManagementGet>>;
3758
+ /**
3759
+ *
3760
+ * @summary Get Subscription
3761
+ * @param {string} companyId
3762
+ * @param {string} [authorization]
3763
+ * @param {string} [sessionId]
3764
+ * @param {*} [options] Override http request option.
3765
+ * @throws {RequiredError}
3766
+ */
3767
+ getSubscriptionV1PaymentsSubscriptionGet(companyId: string, authorization?: string, sessionId?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ResponseGetSubscriptionV1PaymentsSubscriptionGet>>;
3492
3768
  /**
3493
3769
  *
3494
3770
  * @summary Webhook
@@ -3522,6 +3798,16 @@ export declare const PaymentsApiFactory: (configuration?: Configuration, basePat
3522
3798
  * @throws {RequiredError}
3523
3799
  */
3524
3800
  getCustomerManagementSessionV1PaymentsCustomerManagementGet(authorization?: string, sessionId?: string, options?: RawAxiosRequestConfig): AxiosPromise<ResponseGetCustomerManagementSessionV1PaymentsCustomerManagementGet>;
3801
+ /**
3802
+ *
3803
+ * @summary Get Subscription
3804
+ * @param {string} companyId
3805
+ * @param {string} [authorization]
3806
+ * @param {string} [sessionId]
3807
+ * @param {*} [options] Override http request option.
3808
+ * @throws {RequiredError}
3809
+ */
3810
+ getSubscriptionV1PaymentsSubscriptionGet(companyId: string, authorization?: string, sessionId?: string, options?: RawAxiosRequestConfig): AxiosPromise<ResponseGetSubscriptionV1PaymentsSubscriptionGet>;
3525
3811
  /**
3526
3812
  *
3527
3813
  * @summary Webhook
@@ -3559,6 +3845,17 @@ export declare class PaymentsApi extends BaseAPI {
3559
3845
  * @memberof PaymentsApi
3560
3846
  */
3561
3847
  getCustomerManagementSessionV1PaymentsCustomerManagementGet(authorization?: string, sessionId?: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ResponseGetCustomerManagementSessionV1PaymentsCustomerManagementGet, any, {}>>;
3848
+ /**
3849
+ *
3850
+ * @summary Get Subscription
3851
+ * @param {string} companyId
3852
+ * @param {string} [authorization]
3853
+ * @param {string} [sessionId]
3854
+ * @param {*} [options] Override http request option.
3855
+ * @throws {RequiredError}
3856
+ * @memberof PaymentsApi
3857
+ */
3858
+ getSubscriptionV1PaymentsSubscriptionGet(companyId: string, authorization?: string, sessionId?: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ResponseGetSubscriptionV1PaymentsSubscriptionGet, any, {}>>;
3562
3859
  /**
3563
3860
  *
3564
3861
  * @summary Webhook
@@ -4236,6 +4533,16 @@ export declare const TasksApiAxiosParamCreator: (configuration?: Configuration)
4236
4533
  * @throws {RequiredError}
4237
4534
  */
4238
4535
  deleteTaskV1TasksDelete: (deleteTaskSchema: DeleteTaskSchema, authorization?: string, sessionId?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
4536
+ /**
4537
+ *
4538
+ * @summary Get Task
4539
+ * @param {string} taskId
4540
+ * @param {string} [authorization]
4541
+ * @param {string} [sessionId]
4542
+ * @param {*} [options] Override http request option.
4543
+ * @throws {RequiredError}
4544
+ */
4545
+ getTaskV1TasksGetTaskIdGet: (taskId: string, authorization?: string, sessionId?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
4239
4546
  /**
4240
4547
  *
4241
4548
  * @summary List Tasks For Company
@@ -4328,6 +4635,16 @@ export declare const TasksApiFp: (configuration?: Configuration) => {
4328
4635
  * @throws {RequiredError}
4329
4636
  */
4330
4637
  deleteTaskV1TasksDelete(deleteTaskSchema: DeleteTaskSchema, authorization?: string, sessionId?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Details>>;
4638
+ /**
4639
+ *
4640
+ * @summary Get Task
4641
+ * @param {string} taskId
4642
+ * @param {string} [authorization]
4643
+ * @param {string} [sessionId]
4644
+ * @param {*} [options] Override http request option.
4645
+ * @throws {RequiredError}
4646
+ */
4647
+ getTaskV1TasksGetTaskIdGet(taskId: string, authorization?: string, sessionId?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<TaskWithUser>>;
4331
4648
  /**
4332
4649
  *
4333
4650
  * @summary List Tasks For Company
@@ -4420,6 +4737,16 @@ export declare const TasksApiFactory: (configuration?: Configuration, basePath?:
4420
4737
  * @throws {RequiredError}
4421
4738
  */
4422
4739
  deleteTaskV1TasksDelete(deleteTaskSchema: DeleteTaskSchema, authorization?: string, sessionId?: string, options?: RawAxiosRequestConfig): AxiosPromise<Details>;
4740
+ /**
4741
+ *
4742
+ * @summary Get Task
4743
+ * @param {string} taskId
4744
+ * @param {string} [authorization]
4745
+ * @param {string} [sessionId]
4746
+ * @param {*} [options] Override http request option.
4747
+ * @throws {RequiredError}
4748
+ */
4749
+ getTaskV1TasksGetTaskIdGet(taskId: string, authorization?: string, sessionId?: string, options?: RawAxiosRequestConfig): AxiosPromise<TaskWithUser>;
4423
4750
  /**
4424
4751
  *
4425
4752
  * @summary List Tasks For Company
@@ -4516,6 +4843,17 @@ export declare class TasksApi extends BaseAPI {
4516
4843
  * @memberof TasksApi
4517
4844
  */
4518
4845
  deleteTaskV1TasksDelete(deleteTaskSchema: DeleteTaskSchema, authorization?: string, sessionId?: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<Details, any, {}>>;
4846
+ /**
4847
+ *
4848
+ * @summary Get Task
4849
+ * @param {string} taskId
4850
+ * @param {string} [authorization]
4851
+ * @param {string} [sessionId]
4852
+ * @param {*} [options] Override http request option.
4853
+ * @throws {RequiredError}
4854
+ * @memberof TasksApi
4855
+ */
4856
+ getTaskV1TasksGetTaskIdGet(taskId: string, authorization?: string, sessionId?: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<TaskWithUser, any, {}>>;
4519
4857
  /**
4520
4858
  *
4521
4859
  * @summary List Tasks For Company