@rasadov/lumoar-sdk 1.1.9 → 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/.openapi-generator/FILES +4 -1
- package/api.ts +332 -16
- package/dist/api.d.ts +252 -17
- package/dist/api.js +156 -0
- package/docs/ControlWithData.md +28 -0
- package/docs/CustomerDBBase.md +22 -0
- package/docs/EvidenceApi.md +58 -0
- package/docs/EvidenceWithControl.md +42 -0
- package/docs/PaymentsApi.md +2 -2
- package/docs/ResponseGetSubscriptionV1PaymentsSubscriptionGet.md +30 -0
- package/docs/SubscriptionResponse.md +1 -1
- package/docs/TasksApi.md +58 -0
- package/package.json +1 -1
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
|
|
@@ -802,27 +839,21 @@ export interface CreateTaskSchema {
|
|
|
802
839
|
/**
|
|
803
840
|
*
|
|
804
841
|
* @export
|
|
805
|
-
* @interface
|
|
842
|
+
* @interface CustomerDBBase
|
|
806
843
|
*/
|
|
807
|
-
export interface
|
|
844
|
+
export interface CustomerDBBase {
|
|
808
845
|
/**
|
|
809
846
|
*
|
|
810
847
|
* @type {string}
|
|
811
|
-
* @memberof
|
|
848
|
+
* @memberof CustomerDBBase
|
|
812
849
|
*/
|
|
813
|
-
'
|
|
850
|
+
'billing_name': string;
|
|
814
851
|
/**
|
|
815
852
|
*
|
|
816
853
|
* @type {string}
|
|
817
|
-
* @memberof
|
|
854
|
+
* @memberof CustomerDBBase
|
|
818
855
|
*/
|
|
819
|
-
'
|
|
820
|
-
/**
|
|
821
|
-
*
|
|
822
|
-
* @type {string}
|
|
823
|
-
* @memberof Customer
|
|
824
|
-
*/
|
|
825
|
-
'email': string;
|
|
856
|
+
'billing_email': string;
|
|
826
857
|
}
|
|
827
858
|
/**
|
|
828
859
|
*
|
|
@@ -1024,6 +1055,85 @@ export interface EvidenceTextSchema {
|
|
|
1024
1055
|
*/
|
|
1025
1056
|
'content': string;
|
|
1026
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
|
+
}
|
|
1027
1137
|
/**
|
|
1028
1138
|
*
|
|
1029
1139
|
* @export
|
|
@@ -1654,6 +1764,49 @@ export interface ResponseGetCustomerManagementSessionV1PaymentsCustomerManagemen
|
|
|
1654
1764
|
*/
|
|
1655
1765
|
'message'?: string;
|
|
1656
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
|
+
}
|
|
1657
1810
|
/**
|
|
1658
1811
|
*
|
|
1659
1812
|
* @export
|
|
@@ -1730,10 +1883,10 @@ export interface SubscriptionResponse {
|
|
|
1730
1883
|
'product_id': string;
|
|
1731
1884
|
/**
|
|
1732
1885
|
*
|
|
1733
|
-
* @type {
|
|
1886
|
+
* @type {CustomerDBBase}
|
|
1734
1887
|
* @memberof SubscriptionResponse
|
|
1735
1888
|
*/
|
|
1736
|
-
'customer':
|
|
1889
|
+
'customer': CustomerDBBase;
|
|
1737
1890
|
/**
|
|
1738
1891
|
*
|
|
1739
1892
|
* @type {string}
|
|
@@ -3100,6 +3253,16 @@ export declare const EvidenceApiAxiosParamCreator: (configuration?: Configuratio
|
|
|
3100
3253
|
* @throws {RequiredError}
|
|
3101
3254
|
*/
|
|
3102
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>;
|
|
3103
3266
|
/**
|
|
3104
3267
|
*
|
|
3105
3268
|
* @summary List Company Evidence
|
|
@@ -3160,6 +3323,16 @@ export declare const EvidenceApiFp: (configuration?: Configuration) => {
|
|
|
3160
3323
|
* @throws {RequiredError}
|
|
3161
3324
|
*/
|
|
3162
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>>;
|
|
3163
3336
|
/**
|
|
3164
3337
|
*
|
|
3165
3338
|
* @summary List Company Evidence
|
|
@@ -3220,6 +3393,16 @@ export declare const EvidenceApiFactory: (configuration?: Configuration, basePat
|
|
|
3220
3393
|
* @throws {RequiredError}
|
|
3221
3394
|
*/
|
|
3222
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>;
|
|
3223
3406
|
/**
|
|
3224
3407
|
*
|
|
3225
3408
|
* @summary List Company Evidence
|
|
@@ -3284,6 +3467,17 @@ export declare class EvidenceApi extends BaseAPI {
|
|
|
3284
3467
|
* @memberof EvidenceApi
|
|
3285
3468
|
*/
|
|
3286
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, {}>>;
|
|
3287
3481
|
/**
|
|
3288
3482
|
*
|
|
3289
3483
|
* @summary List Company Evidence
|
|
@@ -3570,7 +3764,7 @@ export declare const PaymentsApiFp: (configuration?: Configuration) => {
|
|
|
3570
3764
|
* @param {*} [options] Override http request option.
|
|
3571
3765
|
* @throws {RequiredError}
|
|
3572
3766
|
*/
|
|
3573
|
-
getSubscriptionV1PaymentsSubscriptionGet(companyId: string, authorization?: string, sessionId?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<
|
|
3767
|
+
getSubscriptionV1PaymentsSubscriptionGet(companyId: string, authorization?: string, sessionId?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ResponseGetSubscriptionV1PaymentsSubscriptionGet>>;
|
|
3574
3768
|
/**
|
|
3575
3769
|
*
|
|
3576
3770
|
* @summary Webhook
|
|
@@ -3613,7 +3807,7 @@ export declare const PaymentsApiFactory: (configuration?: Configuration, basePat
|
|
|
3613
3807
|
* @param {*} [options] Override http request option.
|
|
3614
3808
|
* @throws {RequiredError}
|
|
3615
3809
|
*/
|
|
3616
|
-
getSubscriptionV1PaymentsSubscriptionGet(companyId: string, authorization?: string, sessionId?: string, options?: RawAxiosRequestConfig): AxiosPromise<
|
|
3810
|
+
getSubscriptionV1PaymentsSubscriptionGet(companyId: string, authorization?: string, sessionId?: string, options?: RawAxiosRequestConfig): AxiosPromise<ResponseGetSubscriptionV1PaymentsSubscriptionGet>;
|
|
3617
3811
|
/**
|
|
3618
3812
|
*
|
|
3619
3813
|
* @summary Webhook
|
|
@@ -3661,7 +3855,7 @@ export declare class PaymentsApi extends BaseAPI {
|
|
|
3661
3855
|
* @throws {RequiredError}
|
|
3662
3856
|
* @memberof PaymentsApi
|
|
3663
3857
|
*/
|
|
3664
|
-
getSubscriptionV1PaymentsSubscriptionGet(companyId: string, authorization?: string, sessionId?: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<
|
|
3858
|
+
getSubscriptionV1PaymentsSubscriptionGet(companyId: string, authorization?: string, sessionId?: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ResponseGetSubscriptionV1PaymentsSubscriptionGet, any, {}>>;
|
|
3665
3859
|
/**
|
|
3666
3860
|
*
|
|
3667
3861
|
* @summary Webhook
|
|
@@ -4339,6 +4533,16 @@ export declare const TasksApiAxiosParamCreator: (configuration?: Configuration)
|
|
|
4339
4533
|
* @throws {RequiredError}
|
|
4340
4534
|
*/
|
|
4341
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>;
|
|
4342
4546
|
/**
|
|
4343
4547
|
*
|
|
4344
4548
|
* @summary List Tasks For Company
|
|
@@ -4431,6 +4635,16 @@ export declare const TasksApiFp: (configuration?: Configuration) => {
|
|
|
4431
4635
|
* @throws {RequiredError}
|
|
4432
4636
|
*/
|
|
4433
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>>;
|
|
4434
4648
|
/**
|
|
4435
4649
|
*
|
|
4436
4650
|
* @summary List Tasks For Company
|
|
@@ -4523,6 +4737,16 @@ export declare const TasksApiFactory: (configuration?: Configuration, basePath?:
|
|
|
4523
4737
|
* @throws {RequiredError}
|
|
4524
4738
|
*/
|
|
4525
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>;
|
|
4526
4750
|
/**
|
|
4527
4751
|
*
|
|
4528
4752
|
* @summary List Tasks For Company
|
|
@@ -4619,6 +4843,17 @@ export declare class TasksApi extends BaseAPI {
|
|
|
4619
4843
|
* @memberof TasksApi
|
|
4620
4844
|
*/
|
|
4621
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, {}>>;
|
|
4622
4857
|
/**
|
|
4623
4858
|
*
|
|
4624
4859
|
* @summary List Tasks For Company
|
package/dist/api.js
CHANGED
|
@@ -1735,6 +1735,42 @@ export const EvidenceApiAxiosParamCreator = function (configuration) {
|
|
|
1735
1735
|
options: localVarRequestOptions,
|
|
1736
1736
|
};
|
|
1737
1737
|
}),
|
|
1738
|
+
/**
|
|
1739
|
+
*
|
|
1740
|
+
* @summary Get Evidence
|
|
1741
|
+
* @param {string} evidenceId
|
|
1742
|
+
* @param {string} [authorization]
|
|
1743
|
+
* @param {string} [sessionId]
|
|
1744
|
+
* @param {*} [options] Override http request option.
|
|
1745
|
+
* @throws {RequiredError}
|
|
1746
|
+
*/
|
|
1747
|
+
getEvidenceV1EvidenceGetGet: (evidenceId_1, authorization_1, sessionId_1, ...args_1) => __awaiter(this, [evidenceId_1, authorization_1, sessionId_1, ...args_1], void 0, function* (evidenceId, authorization, sessionId, options = {}) {
|
|
1748
|
+
// verify required parameter 'evidenceId' is not null or undefined
|
|
1749
|
+
assertParamExists('getEvidenceV1EvidenceGetGet', 'evidenceId', evidenceId);
|
|
1750
|
+
const localVarPath = `/v1/evidence/get`;
|
|
1751
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
1752
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
1753
|
+
let baseOptions;
|
|
1754
|
+
if (configuration) {
|
|
1755
|
+
baseOptions = configuration.baseOptions;
|
|
1756
|
+
}
|
|
1757
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
1758
|
+
const localVarHeaderParameter = {};
|
|
1759
|
+
const localVarQueryParameter = {};
|
|
1760
|
+
if (evidenceId !== undefined) {
|
|
1761
|
+
localVarQueryParameter['evidence_id'] = evidenceId;
|
|
1762
|
+
}
|
|
1763
|
+
if (authorization != null) {
|
|
1764
|
+
localVarHeaderParameter['Authorization'] = String(authorization);
|
|
1765
|
+
}
|
|
1766
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
1767
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1768
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
1769
|
+
return {
|
|
1770
|
+
url: toPathString(localVarUrlObj),
|
|
1771
|
+
options: localVarRequestOptions,
|
|
1772
|
+
};
|
|
1773
|
+
}),
|
|
1738
1774
|
/**
|
|
1739
1775
|
*
|
|
1740
1776
|
* @summary List Company Evidence
|
|
@@ -1918,6 +1954,24 @@ export const EvidenceApiFp = function (configuration) {
|
|
|
1918
1954
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1919
1955
|
});
|
|
1920
1956
|
},
|
|
1957
|
+
/**
|
|
1958
|
+
*
|
|
1959
|
+
* @summary Get Evidence
|
|
1960
|
+
* @param {string} evidenceId
|
|
1961
|
+
* @param {string} [authorization]
|
|
1962
|
+
* @param {string} [sessionId]
|
|
1963
|
+
* @param {*} [options] Override http request option.
|
|
1964
|
+
* @throws {RequiredError}
|
|
1965
|
+
*/
|
|
1966
|
+
getEvidenceV1EvidenceGetGet(evidenceId, authorization, sessionId, options) {
|
|
1967
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
1968
|
+
var _a, _b, _c;
|
|
1969
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.getEvidenceV1EvidenceGetGet(evidenceId, authorization, sessionId, options);
|
|
1970
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
1971
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['EvidenceApi.getEvidenceV1EvidenceGetGet']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
1972
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1973
|
+
});
|
|
1974
|
+
},
|
|
1921
1975
|
/**
|
|
1922
1976
|
*
|
|
1923
1977
|
* @summary List Company Evidence
|
|
@@ -2009,6 +2063,18 @@ export const EvidenceApiFactory = function (configuration, basePath, axios) {
|
|
|
2009
2063
|
getEvidenceFilesV1EvidenceFileEvidenceFileIdGet(evidenceFileId, authorization, sessionId, options) {
|
|
2010
2064
|
return localVarFp.getEvidenceFilesV1EvidenceFileEvidenceFileIdGet(evidenceFileId, authorization, sessionId, options).then((request) => request(axios, basePath));
|
|
2011
2065
|
},
|
|
2066
|
+
/**
|
|
2067
|
+
*
|
|
2068
|
+
* @summary Get Evidence
|
|
2069
|
+
* @param {string} evidenceId
|
|
2070
|
+
* @param {string} [authorization]
|
|
2071
|
+
* @param {string} [sessionId]
|
|
2072
|
+
* @param {*} [options] Override http request option.
|
|
2073
|
+
* @throws {RequiredError}
|
|
2074
|
+
*/
|
|
2075
|
+
getEvidenceV1EvidenceGetGet(evidenceId, authorization, sessionId, options) {
|
|
2076
|
+
return localVarFp.getEvidenceV1EvidenceGetGet(evidenceId, authorization, sessionId, options).then((request) => request(axios, basePath));
|
|
2077
|
+
},
|
|
2012
2078
|
/**
|
|
2013
2079
|
*
|
|
2014
2080
|
* @summary List Company Evidence
|
|
@@ -2084,6 +2150,19 @@ export class EvidenceApi extends BaseAPI {
|
|
|
2084
2150
|
getEvidenceFilesV1EvidenceFileEvidenceFileIdGet(evidenceFileId, authorization, sessionId, options) {
|
|
2085
2151
|
return EvidenceApiFp(this.configuration).getEvidenceFilesV1EvidenceFileEvidenceFileIdGet(evidenceFileId, authorization, sessionId, options).then((request) => request(this.axios, this.basePath));
|
|
2086
2152
|
}
|
|
2153
|
+
/**
|
|
2154
|
+
*
|
|
2155
|
+
* @summary Get Evidence
|
|
2156
|
+
* @param {string} evidenceId
|
|
2157
|
+
* @param {string} [authorization]
|
|
2158
|
+
* @param {string} [sessionId]
|
|
2159
|
+
* @param {*} [options] Override http request option.
|
|
2160
|
+
* @throws {RequiredError}
|
|
2161
|
+
* @memberof EvidenceApi
|
|
2162
|
+
*/
|
|
2163
|
+
getEvidenceV1EvidenceGetGet(evidenceId, authorization, sessionId, options) {
|
|
2164
|
+
return EvidenceApiFp(this.configuration).getEvidenceV1EvidenceGetGet(evidenceId, authorization, sessionId, options).then((request) => request(this.axios, this.basePath));
|
|
2165
|
+
}
|
|
2087
2166
|
/**
|
|
2088
2167
|
*
|
|
2089
2168
|
* @summary List Company Evidence
|
|
@@ -4020,6 +4099,40 @@ export const TasksApiAxiosParamCreator = function (configuration) {
|
|
|
4020
4099
|
options: localVarRequestOptions,
|
|
4021
4100
|
};
|
|
4022
4101
|
}),
|
|
4102
|
+
/**
|
|
4103
|
+
*
|
|
4104
|
+
* @summary Get Task
|
|
4105
|
+
* @param {string} taskId
|
|
4106
|
+
* @param {string} [authorization]
|
|
4107
|
+
* @param {string} [sessionId]
|
|
4108
|
+
* @param {*} [options] Override http request option.
|
|
4109
|
+
* @throws {RequiredError}
|
|
4110
|
+
*/
|
|
4111
|
+
getTaskV1TasksGetTaskIdGet: (taskId_1, authorization_1, sessionId_1, ...args_1) => __awaiter(this, [taskId_1, authorization_1, sessionId_1, ...args_1], void 0, function* (taskId, authorization, sessionId, options = {}) {
|
|
4112
|
+
// verify required parameter 'taskId' is not null or undefined
|
|
4113
|
+
assertParamExists('getTaskV1TasksGetTaskIdGet', 'taskId', taskId);
|
|
4114
|
+
const localVarPath = `/v1/tasks/get/{task_id}`
|
|
4115
|
+
.replace(`{${"task_id"}}`, encodeURIComponent(String(taskId)));
|
|
4116
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
4117
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
4118
|
+
let baseOptions;
|
|
4119
|
+
if (configuration) {
|
|
4120
|
+
baseOptions = configuration.baseOptions;
|
|
4121
|
+
}
|
|
4122
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
4123
|
+
const localVarHeaderParameter = {};
|
|
4124
|
+
const localVarQueryParameter = {};
|
|
4125
|
+
if (authorization != null) {
|
|
4126
|
+
localVarHeaderParameter['Authorization'] = String(authorization);
|
|
4127
|
+
}
|
|
4128
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
4129
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
4130
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
4131
|
+
return {
|
|
4132
|
+
url: toPathString(localVarUrlObj),
|
|
4133
|
+
options: localVarRequestOptions,
|
|
4134
|
+
};
|
|
4135
|
+
}),
|
|
4023
4136
|
/**
|
|
4024
4137
|
*
|
|
4025
4138
|
* @summary List Tasks For Company
|
|
@@ -4314,6 +4427,24 @@ export const TasksApiFp = function (configuration) {
|
|
|
4314
4427
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
4315
4428
|
});
|
|
4316
4429
|
},
|
|
4430
|
+
/**
|
|
4431
|
+
*
|
|
4432
|
+
* @summary Get Task
|
|
4433
|
+
* @param {string} taskId
|
|
4434
|
+
* @param {string} [authorization]
|
|
4435
|
+
* @param {string} [sessionId]
|
|
4436
|
+
* @param {*} [options] Override http request option.
|
|
4437
|
+
* @throws {RequiredError}
|
|
4438
|
+
*/
|
|
4439
|
+
getTaskV1TasksGetTaskIdGet(taskId, authorization, sessionId, options) {
|
|
4440
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
4441
|
+
var _a, _b, _c;
|
|
4442
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.getTaskV1TasksGetTaskIdGet(taskId, authorization, sessionId, options);
|
|
4443
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
4444
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['TasksApi.getTaskV1TasksGetTaskIdGet']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
4445
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
4446
|
+
});
|
|
4447
|
+
},
|
|
4317
4448
|
/**
|
|
4318
4449
|
*
|
|
4319
4450
|
* @summary List Tasks For Company
|
|
@@ -4453,6 +4584,18 @@ export const TasksApiFactory = function (configuration, basePath, axios) {
|
|
|
4453
4584
|
deleteTaskV1TasksDelete(deleteTaskSchema, authorization, sessionId, options) {
|
|
4454
4585
|
return localVarFp.deleteTaskV1TasksDelete(deleteTaskSchema, authorization, sessionId, options).then((request) => request(axios, basePath));
|
|
4455
4586
|
},
|
|
4587
|
+
/**
|
|
4588
|
+
*
|
|
4589
|
+
* @summary Get Task
|
|
4590
|
+
* @param {string} taskId
|
|
4591
|
+
* @param {string} [authorization]
|
|
4592
|
+
* @param {string} [sessionId]
|
|
4593
|
+
* @param {*} [options] Override http request option.
|
|
4594
|
+
* @throws {RequiredError}
|
|
4595
|
+
*/
|
|
4596
|
+
getTaskV1TasksGetTaskIdGet(taskId, authorization, sessionId, options) {
|
|
4597
|
+
return localVarFp.getTaskV1TasksGetTaskIdGet(taskId, authorization, sessionId, options).then((request) => request(axios, basePath));
|
|
4598
|
+
},
|
|
4456
4599
|
/**
|
|
4457
4600
|
*
|
|
4458
4601
|
* @summary List Tasks For Company
|
|
@@ -4564,6 +4707,19 @@ export class TasksApi extends BaseAPI {
|
|
|
4564
4707
|
deleteTaskV1TasksDelete(deleteTaskSchema, authorization, sessionId, options) {
|
|
4565
4708
|
return TasksApiFp(this.configuration).deleteTaskV1TasksDelete(deleteTaskSchema, authorization, sessionId, options).then((request) => request(this.axios, this.basePath));
|
|
4566
4709
|
}
|
|
4710
|
+
/**
|
|
4711
|
+
*
|
|
4712
|
+
* @summary Get Task
|
|
4713
|
+
* @param {string} taskId
|
|
4714
|
+
* @param {string} [authorization]
|
|
4715
|
+
* @param {string} [sessionId]
|
|
4716
|
+
* @param {*} [options] Override http request option.
|
|
4717
|
+
* @throws {RequiredError}
|
|
4718
|
+
* @memberof TasksApi
|
|
4719
|
+
*/
|
|
4720
|
+
getTaskV1TasksGetTaskIdGet(taskId, authorization, sessionId, options) {
|
|
4721
|
+
return TasksApiFp(this.configuration).getTaskV1TasksGetTaskIdGet(taskId, authorization, sessionId, options).then((request) => request(this.axios, this.basePath));
|
|
4722
|
+
}
|
|
4567
4723
|
/**
|
|
4568
4724
|
*
|
|
4569
4725
|
* @summary List Tasks For Company
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
# ControlWithData
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
## Properties
|
|
5
|
+
|
|
6
|
+
Name | Type | Description | Notes
|
|
7
|
+
------------ | ------------- | ------------- | -------------
|
|
8
|
+
**id** | **string** | | [default to undefined]
|
|
9
|
+
**status** | **string** | | [optional] [default to undefined]
|
|
10
|
+
**note** | **string** | | [optional] [default to undefined]
|
|
11
|
+
**updated_at** | **string** | | [optional] [default to undefined]
|
|
12
|
+
**data** | [**FrameworkControlsBase**](FrameworkControlsBase.md) | | [default to undefined]
|
|
13
|
+
|
|
14
|
+
## Example
|
|
15
|
+
|
|
16
|
+
```typescript
|
|
17
|
+
import { ControlWithData } from './api';
|
|
18
|
+
|
|
19
|
+
const instance: ControlWithData = {
|
|
20
|
+
id,
|
|
21
|
+
status,
|
|
22
|
+
note,
|
|
23
|
+
updated_at,
|
|
24
|
+
data,
|
|
25
|
+
};
|
|
26
|
+
```
|
|
27
|
+
|
|
28
|
+
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
# CustomerDBBase
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
## Properties
|
|
5
|
+
|
|
6
|
+
Name | Type | Description | Notes
|
|
7
|
+
------------ | ------------- | ------------- | -------------
|
|
8
|
+
**billing_name** | **string** | | [default to undefined]
|
|
9
|
+
**billing_email** | **string** | | [default to undefined]
|
|
10
|
+
|
|
11
|
+
## Example
|
|
12
|
+
|
|
13
|
+
```typescript
|
|
14
|
+
import { CustomerDBBase } from './api';
|
|
15
|
+
|
|
16
|
+
const instance: CustomerDBBase = {
|
|
17
|
+
billing_name,
|
|
18
|
+
billing_email,
|
|
19
|
+
};
|
|
20
|
+
```
|
|
21
|
+
|
|
22
|
+
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
|