@rasadov/lumoar-sdk 1.1.4 → 1.1.5
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/api.ts +23 -19
- package/dist/api.d.ts +12 -12
- package/dist/api.js +22 -18
- package/docs/EvidenceApi.md +7 -7
- package/package.json +1 -1
package/api.ts
CHANGED
|
@@ -3946,18 +3946,22 @@ export const EvidenceApiAxiosParamCreator = function (configuration?: Configurat
|
|
|
3946
3946
|
* @summary Upload Evidence
|
|
3947
3947
|
* @param {string} companyId
|
|
3948
3948
|
* @param {string} controlId
|
|
3949
|
+
* @param {string} text
|
|
3950
|
+
* @param {Array<File>} files
|
|
3949
3951
|
* @param {string} [authorization]
|
|
3950
3952
|
* @param {string} [sessionId]
|
|
3951
|
-
* @param {Array<File>} [files]
|
|
3952
|
-
* @param {string | null} [text]
|
|
3953
3953
|
* @param {*} [options] Override http request option.
|
|
3954
3954
|
* @throws {RequiredError}
|
|
3955
3955
|
*/
|
|
3956
|
-
uploadEvidenceV1EvidenceUploadCompanyIdControlIdPost: async (companyId: string, controlId: string,
|
|
3956
|
+
uploadEvidenceV1EvidenceUploadCompanyIdControlIdPost: async (companyId: string, controlId: string, text: string, files: Array<File>, authorization?: string, sessionId?: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
3957
3957
|
// verify required parameter 'companyId' is not null or undefined
|
|
3958
3958
|
assertParamExists('uploadEvidenceV1EvidenceUploadCompanyIdControlIdPost', 'companyId', companyId)
|
|
3959
3959
|
// verify required parameter 'controlId' is not null or undefined
|
|
3960
3960
|
assertParamExists('uploadEvidenceV1EvidenceUploadCompanyIdControlIdPost', 'controlId', controlId)
|
|
3961
|
+
// verify required parameter 'text' is not null or undefined
|
|
3962
|
+
assertParamExists('uploadEvidenceV1EvidenceUploadCompanyIdControlIdPost', 'text', text)
|
|
3963
|
+
// verify required parameter 'files' is not null or undefined
|
|
3964
|
+
assertParamExists('uploadEvidenceV1EvidenceUploadCompanyIdControlIdPost', 'files', files)
|
|
3961
3965
|
const localVarPath = `/v1/evidence/upload/{company_id}/{control_id}`
|
|
3962
3966
|
.replace(`{${"company_id"}}`, encodeURIComponent(String(companyId)))
|
|
3963
3967
|
.replace(`{${"control_id"}}`, encodeURIComponent(String(controlId)));
|
|
@@ -3973,6 +3977,10 @@ export const EvidenceApiAxiosParamCreator = function (configuration?: Configurat
|
|
|
3973
3977
|
const localVarQueryParameter = {} as any;
|
|
3974
3978
|
const localVarFormParams = new ((configuration && configuration.formDataCtor) || FormData)();
|
|
3975
3979
|
|
|
3980
|
+
if (text !== undefined) {
|
|
3981
|
+
localVarQueryParameter['text'] = text;
|
|
3982
|
+
}
|
|
3983
|
+
|
|
3976
3984
|
if (files) {
|
|
3977
3985
|
files.forEach((element) => {
|
|
3978
3986
|
localVarFormParams.append('files', element as any);
|
|
@@ -3980,10 +3988,6 @@ export const EvidenceApiAxiosParamCreator = function (configuration?: Configurat
|
|
|
3980
3988
|
}
|
|
3981
3989
|
|
|
3982
3990
|
|
|
3983
|
-
if (text !== undefined) {
|
|
3984
|
-
localVarFormParams.append('text', text as any);
|
|
3985
|
-
}
|
|
3986
|
-
|
|
3987
3991
|
|
|
3988
3992
|
localVarHeaderParameter['Content-Type'] = 'multipart/form-data';
|
|
3989
3993
|
|
|
@@ -4076,15 +4080,15 @@ export const EvidenceApiFp = function(configuration?: Configuration) {
|
|
|
4076
4080
|
* @summary Upload Evidence
|
|
4077
4081
|
* @param {string} companyId
|
|
4078
4082
|
* @param {string} controlId
|
|
4083
|
+
* @param {string} text
|
|
4084
|
+
* @param {Array<File>} files
|
|
4079
4085
|
* @param {string} [authorization]
|
|
4080
4086
|
* @param {string} [sessionId]
|
|
4081
|
-
* @param {Array<File>} [files]
|
|
4082
|
-
* @param {string | null} [text]
|
|
4083
4087
|
* @param {*} [options] Override http request option.
|
|
4084
4088
|
* @throws {RequiredError}
|
|
4085
4089
|
*/
|
|
4086
|
-
async uploadEvidenceV1EvidenceUploadCompanyIdControlIdPost(companyId: string, controlId: string,
|
|
4087
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.uploadEvidenceV1EvidenceUploadCompanyIdControlIdPost(companyId, controlId,
|
|
4090
|
+
async uploadEvidenceV1EvidenceUploadCompanyIdControlIdPost(companyId: string, controlId: string, text: string, files: Array<File>, authorization?: string, sessionId?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<EvidenceBase>> {
|
|
4091
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.uploadEvidenceV1EvidenceUploadCompanyIdControlIdPost(companyId, controlId, text, files, authorization, sessionId, options);
|
|
4088
4092
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
4089
4093
|
const localVarOperationServerBasePath = operationServerMap['EvidenceApi.uploadEvidenceV1EvidenceUploadCompanyIdControlIdPost']?.[localVarOperationServerIndex]?.url;
|
|
4090
4094
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
@@ -4153,15 +4157,15 @@ export const EvidenceApiFactory = function (configuration?: Configuration, baseP
|
|
|
4153
4157
|
* @summary Upload Evidence
|
|
4154
4158
|
* @param {string} companyId
|
|
4155
4159
|
* @param {string} controlId
|
|
4160
|
+
* @param {string} text
|
|
4161
|
+
* @param {Array<File>} files
|
|
4156
4162
|
* @param {string} [authorization]
|
|
4157
4163
|
* @param {string} [sessionId]
|
|
4158
|
-
* @param {Array<File>} [files]
|
|
4159
|
-
* @param {string | null} [text]
|
|
4160
4164
|
* @param {*} [options] Override http request option.
|
|
4161
4165
|
* @throws {RequiredError}
|
|
4162
4166
|
*/
|
|
4163
|
-
uploadEvidenceV1EvidenceUploadCompanyIdControlIdPost(companyId: string, controlId: string,
|
|
4164
|
-
return localVarFp.uploadEvidenceV1EvidenceUploadCompanyIdControlIdPost(companyId, controlId,
|
|
4167
|
+
uploadEvidenceV1EvidenceUploadCompanyIdControlIdPost(companyId: string, controlId: string, text: string, files: Array<File>, authorization?: string, sessionId?: string, options?: RawAxiosRequestConfig): AxiosPromise<EvidenceBase> {
|
|
4168
|
+
return localVarFp.uploadEvidenceV1EvidenceUploadCompanyIdControlIdPost(companyId, controlId, text, files, authorization, sessionId, options).then((request) => request(axios, basePath));
|
|
4165
4169
|
},
|
|
4166
4170
|
};
|
|
4167
4171
|
};
|
|
@@ -4235,16 +4239,16 @@ export class EvidenceApi extends BaseAPI {
|
|
|
4235
4239
|
* @summary Upload Evidence
|
|
4236
4240
|
* @param {string} companyId
|
|
4237
4241
|
* @param {string} controlId
|
|
4242
|
+
* @param {string} text
|
|
4243
|
+
* @param {Array<File>} files
|
|
4238
4244
|
* @param {string} [authorization]
|
|
4239
4245
|
* @param {string} [sessionId]
|
|
4240
|
-
* @param {Array<File>} [files]
|
|
4241
|
-
* @param {string | null} [text]
|
|
4242
4246
|
* @param {*} [options] Override http request option.
|
|
4243
4247
|
* @throws {RequiredError}
|
|
4244
4248
|
* @memberof EvidenceApi
|
|
4245
4249
|
*/
|
|
4246
|
-
public uploadEvidenceV1EvidenceUploadCompanyIdControlIdPost(companyId: string, controlId: string,
|
|
4247
|
-
return EvidenceApiFp(this.configuration).uploadEvidenceV1EvidenceUploadCompanyIdControlIdPost(companyId, controlId,
|
|
4250
|
+
public uploadEvidenceV1EvidenceUploadCompanyIdControlIdPost(companyId: string, controlId: string, text: string, files: Array<File>, authorization?: string, sessionId?: string, options?: RawAxiosRequestConfig) {
|
|
4251
|
+
return EvidenceApiFp(this.configuration).uploadEvidenceV1EvidenceUploadCompanyIdControlIdPost(companyId, controlId, text, files, authorization, sessionId, options).then((request) => request(this.axios, this.basePath));
|
|
4248
4252
|
}
|
|
4249
4253
|
}
|
|
4250
4254
|
|
package/dist/api.d.ts
CHANGED
|
@@ -2976,14 +2976,14 @@ export declare const EvidenceApiAxiosParamCreator: (configuration?: Configuratio
|
|
|
2976
2976
|
* @summary Upload Evidence
|
|
2977
2977
|
* @param {string} companyId
|
|
2978
2978
|
* @param {string} controlId
|
|
2979
|
+
* @param {string} text
|
|
2980
|
+
* @param {Array<File>} files
|
|
2979
2981
|
* @param {string} [authorization]
|
|
2980
2982
|
* @param {string} [sessionId]
|
|
2981
|
-
* @param {Array<File>} [files]
|
|
2982
|
-
* @param {string | null} [text]
|
|
2983
2983
|
* @param {*} [options] Override http request option.
|
|
2984
2984
|
* @throws {RequiredError}
|
|
2985
2985
|
*/
|
|
2986
|
-
uploadEvidenceV1EvidenceUploadCompanyIdControlIdPost: (companyId: string, controlId: string,
|
|
2986
|
+
uploadEvidenceV1EvidenceUploadCompanyIdControlIdPost: (companyId: string, controlId: string, text: string, files: Array<File>, authorization?: string, sessionId?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
2987
2987
|
};
|
|
2988
2988
|
/**
|
|
2989
2989
|
* EvidenceApi - functional programming interface
|
|
@@ -3036,14 +3036,14 @@ export declare const EvidenceApiFp: (configuration?: Configuration) => {
|
|
|
3036
3036
|
* @summary Upload Evidence
|
|
3037
3037
|
* @param {string} companyId
|
|
3038
3038
|
* @param {string} controlId
|
|
3039
|
+
* @param {string} text
|
|
3040
|
+
* @param {Array<File>} files
|
|
3039
3041
|
* @param {string} [authorization]
|
|
3040
3042
|
* @param {string} [sessionId]
|
|
3041
|
-
* @param {Array<File>} [files]
|
|
3042
|
-
* @param {string | null} [text]
|
|
3043
3043
|
* @param {*} [options] Override http request option.
|
|
3044
3044
|
* @throws {RequiredError}
|
|
3045
3045
|
*/
|
|
3046
|
-
uploadEvidenceV1EvidenceUploadCompanyIdControlIdPost(companyId: string, controlId: string,
|
|
3046
|
+
uploadEvidenceV1EvidenceUploadCompanyIdControlIdPost(companyId: string, controlId: string, text: string, files: Array<File>, authorization?: string, sessionId?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<EvidenceBase>>;
|
|
3047
3047
|
};
|
|
3048
3048
|
/**
|
|
3049
3049
|
* EvidenceApi - factory interface
|
|
@@ -3096,14 +3096,14 @@ export declare const EvidenceApiFactory: (configuration?: Configuration, basePat
|
|
|
3096
3096
|
* @summary Upload Evidence
|
|
3097
3097
|
* @param {string} companyId
|
|
3098
3098
|
* @param {string} controlId
|
|
3099
|
+
* @param {string} text
|
|
3100
|
+
* @param {Array<File>} files
|
|
3099
3101
|
* @param {string} [authorization]
|
|
3100
3102
|
* @param {string} [sessionId]
|
|
3101
|
-
* @param {Array<File>} [files]
|
|
3102
|
-
* @param {string | null} [text]
|
|
3103
3103
|
* @param {*} [options] Override http request option.
|
|
3104
3104
|
* @throws {RequiredError}
|
|
3105
3105
|
*/
|
|
3106
|
-
uploadEvidenceV1EvidenceUploadCompanyIdControlIdPost(companyId: string, controlId: string,
|
|
3106
|
+
uploadEvidenceV1EvidenceUploadCompanyIdControlIdPost(companyId: string, controlId: string, text: string, files: Array<File>, authorization?: string, sessionId?: string, options?: RawAxiosRequestConfig): AxiosPromise<EvidenceBase>;
|
|
3107
3107
|
};
|
|
3108
3108
|
/**
|
|
3109
3109
|
* EvidenceApi - object-oriented interface
|
|
@@ -3162,15 +3162,15 @@ export declare class EvidenceApi extends BaseAPI {
|
|
|
3162
3162
|
* @summary Upload Evidence
|
|
3163
3163
|
* @param {string} companyId
|
|
3164
3164
|
* @param {string} controlId
|
|
3165
|
+
* @param {string} text
|
|
3166
|
+
* @param {Array<File>} files
|
|
3165
3167
|
* @param {string} [authorization]
|
|
3166
3168
|
* @param {string} [sessionId]
|
|
3167
|
-
* @param {Array<File>} [files]
|
|
3168
|
-
* @param {string | null} [text]
|
|
3169
3169
|
* @param {*} [options] Override http request option.
|
|
3170
3170
|
* @throws {RequiredError}
|
|
3171
3171
|
* @memberof EvidenceApi
|
|
3172
3172
|
*/
|
|
3173
|
-
uploadEvidenceV1EvidenceUploadCompanyIdControlIdPost(companyId: string, controlId: string,
|
|
3173
|
+
uploadEvidenceV1EvidenceUploadCompanyIdControlIdPost(companyId: string, controlId: string, text: string, files: Array<File>, authorization?: string, sessionId?: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<EvidenceBase, any, {}>>;
|
|
3174
3174
|
}
|
|
3175
3175
|
/**
|
|
3176
3176
|
* HealthApi - axios parameter creator
|
package/dist/api.js
CHANGED
|
@@ -1819,18 +1819,22 @@ export const EvidenceApiAxiosParamCreator = function (configuration) {
|
|
|
1819
1819
|
* @summary Upload Evidence
|
|
1820
1820
|
* @param {string} companyId
|
|
1821
1821
|
* @param {string} controlId
|
|
1822
|
+
* @param {string} text
|
|
1823
|
+
* @param {Array<File>} files
|
|
1822
1824
|
* @param {string} [authorization]
|
|
1823
1825
|
* @param {string} [sessionId]
|
|
1824
|
-
* @param {Array<File>} [files]
|
|
1825
|
-
* @param {string | null} [text]
|
|
1826
1826
|
* @param {*} [options] Override http request option.
|
|
1827
1827
|
* @throws {RequiredError}
|
|
1828
1828
|
*/
|
|
1829
|
-
uploadEvidenceV1EvidenceUploadCompanyIdControlIdPost: (companyId_1, controlId_1,
|
|
1829
|
+
uploadEvidenceV1EvidenceUploadCompanyIdControlIdPost: (companyId_1, controlId_1, text_1, files_1, authorization_1, sessionId_1, ...args_1) => __awaiter(this, [companyId_1, controlId_1, text_1, files_1, authorization_1, sessionId_1, ...args_1], void 0, function* (companyId, controlId, text, files, authorization, sessionId, options = {}) {
|
|
1830
1830
|
// verify required parameter 'companyId' is not null or undefined
|
|
1831
1831
|
assertParamExists('uploadEvidenceV1EvidenceUploadCompanyIdControlIdPost', 'companyId', companyId);
|
|
1832
1832
|
// verify required parameter 'controlId' is not null or undefined
|
|
1833
1833
|
assertParamExists('uploadEvidenceV1EvidenceUploadCompanyIdControlIdPost', 'controlId', controlId);
|
|
1834
|
+
// verify required parameter 'text' is not null or undefined
|
|
1835
|
+
assertParamExists('uploadEvidenceV1EvidenceUploadCompanyIdControlIdPost', 'text', text);
|
|
1836
|
+
// verify required parameter 'files' is not null or undefined
|
|
1837
|
+
assertParamExists('uploadEvidenceV1EvidenceUploadCompanyIdControlIdPost', 'files', files);
|
|
1834
1838
|
const localVarPath = `/v1/evidence/upload/{company_id}/{control_id}`
|
|
1835
1839
|
.replace(`{${"company_id"}}`, encodeURIComponent(String(companyId)))
|
|
1836
1840
|
.replace(`{${"control_id"}}`, encodeURIComponent(String(controlId)));
|
|
@@ -1844,14 +1848,14 @@ export const EvidenceApiAxiosParamCreator = function (configuration) {
|
|
|
1844
1848
|
const localVarHeaderParameter = {};
|
|
1845
1849
|
const localVarQueryParameter = {};
|
|
1846
1850
|
const localVarFormParams = new ((configuration && configuration.formDataCtor) || FormData)();
|
|
1851
|
+
if (text !== undefined) {
|
|
1852
|
+
localVarQueryParameter['text'] = text;
|
|
1853
|
+
}
|
|
1847
1854
|
if (files) {
|
|
1848
1855
|
files.forEach((element) => {
|
|
1849
1856
|
localVarFormParams.append('files', element);
|
|
1850
1857
|
});
|
|
1851
1858
|
}
|
|
1852
|
-
if (text !== undefined) {
|
|
1853
|
-
localVarFormParams.append('text', text);
|
|
1854
|
-
}
|
|
1855
1859
|
localVarHeaderParameter['Content-Type'] = 'multipart/form-data';
|
|
1856
1860
|
if (authorization != null) {
|
|
1857
1861
|
localVarHeaderParameter['Authorization'] = String(authorization);
|
|
@@ -1952,17 +1956,17 @@ export const EvidenceApiFp = function (configuration) {
|
|
|
1952
1956
|
* @summary Upload Evidence
|
|
1953
1957
|
* @param {string} companyId
|
|
1954
1958
|
* @param {string} controlId
|
|
1959
|
+
* @param {string} text
|
|
1960
|
+
* @param {Array<File>} files
|
|
1955
1961
|
* @param {string} [authorization]
|
|
1956
1962
|
* @param {string} [sessionId]
|
|
1957
|
-
* @param {Array<File>} [files]
|
|
1958
|
-
* @param {string | null} [text]
|
|
1959
1963
|
* @param {*} [options] Override http request option.
|
|
1960
1964
|
* @throws {RequiredError}
|
|
1961
1965
|
*/
|
|
1962
|
-
uploadEvidenceV1EvidenceUploadCompanyIdControlIdPost(companyId, controlId,
|
|
1966
|
+
uploadEvidenceV1EvidenceUploadCompanyIdControlIdPost(companyId, controlId, text, files, authorization, sessionId, options) {
|
|
1963
1967
|
return __awaiter(this, void 0, void 0, function* () {
|
|
1964
1968
|
var _a, _b, _c;
|
|
1965
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.uploadEvidenceV1EvidenceUploadCompanyIdControlIdPost(companyId, controlId,
|
|
1969
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.uploadEvidenceV1EvidenceUploadCompanyIdControlIdPost(companyId, controlId, text, files, authorization, sessionId, options);
|
|
1966
1970
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
1967
1971
|
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['EvidenceApi.uploadEvidenceV1EvidenceUploadCompanyIdControlIdPost']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
1968
1972
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
@@ -2031,15 +2035,15 @@ export const EvidenceApiFactory = function (configuration, basePath, axios) {
|
|
|
2031
2035
|
* @summary Upload Evidence
|
|
2032
2036
|
* @param {string} companyId
|
|
2033
2037
|
* @param {string} controlId
|
|
2038
|
+
* @param {string} text
|
|
2039
|
+
* @param {Array<File>} files
|
|
2034
2040
|
* @param {string} [authorization]
|
|
2035
2041
|
* @param {string} [sessionId]
|
|
2036
|
-
* @param {Array<File>} [files]
|
|
2037
|
-
* @param {string | null} [text]
|
|
2038
2042
|
* @param {*} [options] Override http request option.
|
|
2039
2043
|
* @throws {RequiredError}
|
|
2040
2044
|
*/
|
|
2041
|
-
uploadEvidenceV1EvidenceUploadCompanyIdControlIdPost(companyId, controlId,
|
|
2042
|
-
return localVarFp.uploadEvidenceV1EvidenceUploadCompanyIdControlIdPost(companyId, controlId,
|
|
2045
|
+
uploadEvidenceV1EvidenceUploadCompanyIdControlIdPost(companyId, controlId, text, files, authorization, sessionId, options) {
|
|
2046
|
+
return localVarFp.uploadEvidenceV1EvidenceUploadCompanyIdControlIdPost(companyId, controlId, text, files, authorization, sessionId, options).then((request) => request(axios, basePath));
|
|
2043
2047
|
},
|
|
2044
2048
|
};
|
|
2045
2049
|
};
|
|
@@ -2108,16 +2112,16 @@ export class EvidenceApi extends BaseAPI {
|
|
|
2108
2112
|
* @summary Upload Evidence
|
|
2109
2113
|
* @param {string} companyId
|
|
2110
2114
|
* @param {string} controlId
|
|
2115
|
+
* @param {string} text
|
|
2116
|
+
* @param {Array<File>} files
|
|
2111
2117
|
* @param {string} [authorization]
|
|
2112
2118
|
* @param {string} [sessionId]
|
|
2113
|
-
* @param {Array<File>} [files]
|
|
2114
|
-
* @param {string | null} [text]
|
|
2115
2119
|
* @param {*} [options] Override http request option.
|
|
2116
2120
|
* @throws {RequiredError}
|
|
2117
2121
|
* @memberof EvidenceApi
|
|
2118
2122
|
*/
|
|
2119
|
-
uploadEvidenceV1EvidenceUploadCompanyIdControlIdPost(companyId, controlId,
|
|
2120
|
-
return EvidenceApiFp(this.configuration).uploadEvidenceV1EvidenceUploadCompanyIdControlIdPost(companyId, controlId,
|
|
2123
|
+
uploadEvidenceV1EvidenceUploadCompanyIdControlIdPost(companyId, controlId, text, files, authorization, sessionId, options) {
|
|
2124
|
+
return EvidenceApiFp(this.configuration).uploadEvidenceV1EvidenceUploadCompanyIdControlIdPost(companyId, controlId, text, files, authorization, sessionId, options).then((request) => request(this.axios, this.basePath));
|
|
2121
2125
|
}
|
|
2122
2126
|
}
|
|
2123
2127
|
/**
|
package/docs/EvidenceApi.md
CHANGED
|
@@ -258,18 +258,18 @@ const apiInstance = new EvidenceApi(configuration);
|
|
|
258
258
|
|
|
259
259
|
let companyId: string; // (default to undefined)
|
|
260
260
|
let controlId: string; // (default to undefined)
|
|
261
|
+
let text: string; // (default to undefined)
|
|
262
|
+
let files: Array<File>; // (default to undefined)
|
|
261
263
|
let authorization: string; // (optional) (default to undefined)
|
|
262
264
|
let sessionId: string; // (optional) (default to undefined)
|
|
263
|
-
let files: Array<File>; // (optional) (default to undefined)
|
|
264
|
-
let text: string; // (optional) (default to undefined)
|
|
265
265
|
|
|
266
266
|
const { status, data } = await apiInstance.uploadEvidenceV1EvidenceUploadCompanyIdControlIdPost(
|
|
267
267
|
companyId,
|
|
268
268
|
controlId,
|
|
269
|
-
|
|
270
|
-
sessionId,
|
|
269
|
+
text,
|
|
271
270
|
files,
|
|
272
|
-
|
|
271
|
+
authorization,
|
|
272
|
+
sessionId
|
|
273
273
|
);
|
|
274
274
|
```
|
|
275
275
|
|
|
@@ -279,10 +279,10 @@ const { status, data } = await apiInstance.uploadEvidenceV1EvidenceUploadCompany
|
|
|
279
279
|
|------------- | ------------- | ------------- | -------------|
|
|
280
280
|
| **companyId** | [**string**] | | defaults to undefined|
|
|
281
281
|
| **controlId** | [**string**] | | defaults to undefined|
|
|
282
|
+
| **text** | [**string**] | | defaults to undefined|
|
|
283
|
+
| **files** | **Array<File>** | | defaults to undefined|
|
|
282
284
|
| **authorization** | [**string**] | | (optional) defaults to undefined|
|
|
283
285
|
| **sessionId** | [**string**] | | (optional) defaults to undefined|
|
|
284
|
-
| **files** | **Array<File>** | | (optional) defaults to undefined|
|
|
285
|
-
| **text** | [**string**] | | (optional) defaults to undefined|
|
|
286
286
|
|
|
287
287
|
|
|
288
288
|
### Return type
|