@seekora-ai/admin-api 1.0.2 → 1.0.4
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/README.md +14 -14
- package/api.ts +191 -155
- package/dist/api.d.ts +121 -85
- package/dist/api.js +118 -118
- package/dist/esm/api.d.ts +121 -85
- package/dist/esm/api.js +118 -118
- package/package.json +1 -1
- package/seekora-ai-admin-api-1.0.4.tgz +0 -0
- package/seekora-ai-admin-api-1.0.2.tgz +0 -0
package/api.ts
CHANGED
|
@@ -115,43 +115,6 @@ export interface ApiSearchResultHit {
|
|
|
115
115
|
*/
|
|
116
116
|
'vector_distance'?: number;
|
|
117
117
|
}
|
|
118
|
-
/**
|
|
119
|
-
*
|
|
120
|
-
* @export
|
|
121
|
-
* @interface ApiV1ConnectorsSourcesSourceidUploaddataPostRequest
|
|
122
|
-
*/
|
|
123
|
-
export interface ApiV1ConnectorsSourcesSourceidUploaddataPostRequest {
|
|
124
|
-
/**
|
|
125
|
-
* Name
|
|
126
|
-
* @type {string}
|
|
127
|
-
* @memberof ApiV1ConnectorsSourcesSourceidUploaddataPostRequest
|
|
128
|
-
*/
|
|
129
|
-
'Name': string;
|
|
130
|
-
/**
|
|
131
|
-
* Type
|
|
132
|
-
* @type {string}
|
|
133
|
-
* @memberof ApiV1ConnectorsSourcesSourceidUploaddataPostRequest
|
|
134
|
-
*/
|
|
135
|
-
'Type': string;
|
|
136
|
-
/**
|
|
137
|
-
* Config [json_upload, csv_upload]
|
|
138
|
-
* @type {string}
|
|
139
|
-
* @memberof ApiV1ConnectorsSourcesSourceidUploaddataPostRequest
|
|
140
|
-
*/
|
|
141
|
-
'Config': string;
|
|
142
|
-
/**
|
|
143
|
-
* File
|
|
144
|
-
* @type {File}
|
|
145
|
-
* @memberof ApiV1ConnectorsSourcesSourceidUploaddataPostRequest
|
|
146
|
-
*/
|
|
147
|
-
'File': File;
|
|
148
|
-
/**
|
|
149
|
-
* SourceTemplateId
|
|
150
|
-
* @type {string}
|
|
151
|
-
* @memberof ApiV1ConnectorsSourcesSourceidUploaddataPostRequest
|
|
152
|
-
*/
|
|
153
|
-
'SourceTemplateId'?: string;
|
|
154
|
-
}
|
|
155
118
|
/**
|
|
156
119
|
*
|
|
157
120
|
* @export
|
|
@@ -1138,6 +1101,12 @@ export interface DataTypesLoginResponse {
|
|
|
1138
1101
|
* @memberof DataTypesLoginResponse
|
|
1139
1102
|
*/
|
|
1140
1103
|
'message'?: string;
|
|
1104
|
+
/**
|
|
1105
|
+
*
|
|
1106
|
+
* @type {string}
|
|
1107
|
+
* @memberof DataTypesLoginResponse
|
|
1108
|
+
*/
|
|
1109
|
+
'onboardingStep'?: string;
|
|
1141
1110
|
/**
|
|
1142
1111
|
*
|
|
1143
1112
|
* @type {number}
|
|
@@ -3719,6 +3688,12 @@ export interface DataTypesUser {
|
|
|
3719
3688
|
* @memberof DataTypesUser
|
|
3720
3689
|
*/
|
|
3721
3690
|
'modifiedUserId'?: number;
|
|
3691
|
+
/**
|
|
3692
|
+
*
|
|
3693
|
+
* @type {string}
|
|
3694
|
+
* @memberof DataTypesUser
|
|
3695
|
+
*/
|
|
3696
|
+
'onboardingstep'?: string;
|
|
3722
3697
|
/**
|
|
3723
3698
|
*
|
|
3724
3699
|
* @type {number}
|
|
@@ -3892,6 +3867,12 @@ export interface DataTypesValidationErrorResult {
|
|
|
3892
3867
|
* @interface DataTypesVerifyOTPResponse
|
|
3893
3868
|
*/
|
|
3894
3869
|
export interface DataTypesVerifyOTPResponse {
|
|
3870
|
+
/**
|
|
3871
|
+
*
|
|
3872
|
+
* @type {string}
|
|
3873
|
+
* @memberof DataTypesVerifyOTPResponse
|
|
3874
|
+
*/
|
|
3875
|
+
'email'?: string;
|
|
3895
3876
|
/**
|
|
3896
3877
|
*
|
|
3897
3878
|
* @type {string}
|
|
@@ -3904,12 +3885,30 @@ export interface DataTypesVerifyOTPResponse {
|
|
|
3904
3885
|
* @memberof DataTypesVerifyOTPResponse
|
|
3905
3886
|
*/
|
|
3906
3887
|
'nextStepUrl'?: string;
|
|
3888
|
+
/**
|
|
3889
|
+
*
|
|
3890
|
+
* @type {number}
|
|
3891
|
+
* @memberof DataTypesVerifyOTPResponse
|
|
3892
|
+
*/
|
|
3893
|
+
'roleId'?: number;
|
|
3907
3894
|
/**
|
|
3908
3895
|
*
|
|
3909
3896
|
* @type {string}
|
|
3910
3897
|
* @memberof DataTypesVerifyOTPResponse
|
|
3911
3898
|
*/
|
|
3912
3899
|
'token'?: string;
|
|
3900
|
+
/**
|
|
3901
|
+
*
|
|
3902
|
+
* @type {string}
|
|
3903
|
+
* @memberof DataTypesVerifyOTPResponse
|
|
3904
|
+
*/
|
|
3905
|
+
'userCode'?: string;
|
|
3906
|
+
/**
|
|
3907
|
+
*
|
|
3908
|
+
* @type {number}
|
|
3909
|
+
* @memberof DataTypesVerifyOTPResponse
|
|
3910
|
+
*/
|
|
3911
|
+
'userId'?: number;
|
|
3913
3912
|
/**
|
|
3914
3913
|
*
|
|
3915
3914
|
* @type {boolean}
|
|
@@ -4059,6 +4058,43 @@ export interface MultipartFileHeader {
|
|
|
4059
4058
|
*/
|
|
4060
4059
|
'size'?: number;
|
|
4061
4060
|
}
|
|
4061
|
+
/**
|
|
4062
|
+
*
|
|
4063
|
+
* @export
|
|
4064
|
+
* @interface V1ConnectorsSourcesSourceidUploaddataPostRequest
|
|
4065
|
+
*/
|
|
4066
|
+
export interface V1ConnectorsSourcesSourceidUploaddataPostRequest {
|
|
4067
|
+
/**
|
|
4068
|
+
* Name
|
|
4069
|
+
* @type {string}
|
|
4070
|
+
* @memberof V1ConnectorsSourcesSourceidUploaddataPostRequest
|
|
4071
|
+
*/
|
|
4072
|
+
'Name': string;
|
|
4073
|
+
/**
|
|
4074
|
+
* Type
|
|
4075
|
+
* @type {string}
|
|
4076
|
+
* @memberof V1ConnectorsSourcesSourceidUploaddataPostRequest
|
|
4077
|
+
*/
|
|
4078
|
+
'Type': string;
|
|
4079
|
+
/**
|
|
4080
|
+
* Config [json_upload, csv_upload]
|
|
4081
|
+
* @type {string}
|
|
4082
|
+
* @memberof V1ConnectorsSourcesSourceidUploaddataPostRequest
|
|
4083
|
+
*/
|
|
4084
|
+
'Config': string;
|
|
4085
|
+
/**
|
|
4086
|
+
* File
|
|
4087
|
+
* @type {File}
|
|
4088
|
+
* @memberof V1ConnectorsSourcesSourceidUploaddataPostRequest
|
|
4089
|
+
*/
|
|
4090
|
+
'File': File;
|
|
4091
|
+
/**
|
|
4092
|
+
* SourceTemplateId
|
|
4093
|
+
* @type {string}
|
|
4094
|
+
* @memberof V1ConnectorsSourcesSourceidUploaddataPostRequest
|
|
4095
|
+
*/
|
|
4096
|
+
'SourceTemplateId'?: string;
|
|
4097
|
+
}
|
|
4062
4098
|
|
|
4063
4099
|
/**
|
|
4064
4100
|
* APICallsApi - axios parameter creator
|
|
@@ -5052,12 +5088,12 @@ export const ConnectorsApiAxiosParamCreator = function (configuration?: Configur
|
|
|
5052
5088
|
* @param {*} [options] Override http request option.
|
|
5053
5089
|
* @throws {RequiredError}
|
|
5054
5090
|
*/
|
|
5055
|
-
|
|
5091
|
+
v1ConnectorsSearchIndexGet: async (index: string, q: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
5056
5092
|
// verify required parameter 'index' is not null or undefined
|
|
5057
|
-
assertParamExists('
|
|
5093
|
+
assertParamExists('v1ConnectorsSearchIndexGet', 'index', index)
|
|
5058
5094
|
// verify required parameter 'q' is not null or undefined
|
|
5059
|
-
assertParamExists('
|
|
5060
|
-
const localVarPath = `/
|
|
5095
|
+
assertParamExists('v1ConnectorsSearchIndexGet', 'q', q)
|
|
5096
|
+
const localVarPath = `/v1/connectors/search/{index}`
|
|
5061
5097
|
.replace(`{${"index"}}`, encodeURIComponent(String(index)));
|
|
5062
5098
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
5063
5099
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -5091,8 +5127,8 @@ export const ConnectorsApiAxiosParamCreator = function (configuration?: Configur
|
|
|
5091
5127
|
* @param {*} [options] Override http request option.
|
|
5092
5128
|
* @throws {RequiredError}
|
|
5093
5129
|
*/
|
|
5094
|
-
|
|
5095
|
-
const localVarPath = `/
|
|
5130
|
+
v1ConnectorsSourcesGet: async (options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
5131
|
+
const localVarPath = `/v1/connectors/sources`;
|
|
5096
5132
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
5097
5133
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
5098
5134
|
let baseOptions;
|
|
@@ -5122,10 +5158,10 @@ export const ConnectorsApiAxiosParamCreator = function (configuration?: Configur
|
|
|
5122
5158
|
* @param {*} [options] Override http request option.
|
|
5123
5159
|
* @throws {RequiredError}
|
|
5124
5160
|
*/
|
|
5125
|
-
|
|
5161
|
+
v1ConnectorsSourcesPost: async (source: DataTypesCreateSourceRequest, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
5126
5162
|
// verify required parameter 'source' is not null or undefined
|
|
5127
|
-
assertParamExists('
|
|
5128
|
-
const localVarPath = `/
|
|
5163
|
+
assertParamExists('v1ConnectorsSourcesPost', 'source', source)
|
|
5164
|
+
const localVarPath = `/v1/connectors/sources`;
|
|
5129
5165
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
5130
5166
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
5131
5167
|
let baseOptions;
|
|
@@ -5159,12 +5195,12 @@ export const ConnectorsApiAxiosParamCreator = function (configuration?: Configur
|
|
|
5159
5195
|
* @param {*} [options] Override http request option.
|
|
5160
5196
|
* @throws {RequiredError}
|
|
5161
5197
|
*/
|
|
5162
|
-
|
|
5198
|
+
v1ConnectorsSourcesSourceIdConfigPut: async (sourceId: string, config: { [key: string]: any; }, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
5163
5199
|
// verify required parameter 'sourceId' is not null or undefined
|
|
5164
|
-
assertParamExists('
|
|
5200
|
+
assertParamExists('v1ConnectorsSourcesSourceIdConfigPut', 'sourceId', sourceId)
|
|
5165
5201
|
// verify required parameter 'config' is not null or undefined
|
|
5166
|
-
assertParamExists('
|
|
5167
|
-
const localVarPath = `/
|
|
5202
|
+
assertParamExists('v1ConnectorsSourcesSourceIdConfigPut', 'config', config)
|
|
5203
|
+
const localVarPath = `/v1/connectors/sources/:source_id/config`
|
|
5168
5204
|
.replace(`{${"source_id"}}`, encodeURIComponent(String(sourceId)));
|
|
5169
5205
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
5170
5206
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -5200,8 +5236,8 @@ export const ConnectorsApiAxiosParamCreator = function (configuration?: Configur
|
|
|
5200
5236
|
* @param {*} [options] Override http request option.
|
|
5201
5237
|
* @throws {RequiredError}
|
|
5202
5238
|
*/
|
|
5203
|
-
|
|
5204
|
-
const localVarPath = `/
|
|
5239
|
+
v1ConnectorsSourcesSourceIdGet: async (options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
5240
|
+
const localVarPath = `/v1/connectors/sources/:source_id`;
|
|
5205
5241
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
5206
5242
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
5207
5243
|
let baseOptions;
|
|
@@ -5232,12 +5268,12 @@ export const ConnectorsApiAxiosParamCreator = function (configuration?: Configur
|
|
|
5232
5268
|
* @param {*} [options] Override http request option.
|
|
5233
5269
|
* @throws {RequiredError}
|
|
5234
5270
|
*/
|
|
5235
|
-
|
|
5271
|
+
v1ConnectorsSourcesSourceidUpdateschemaPatch: async (sourceid: string, schema: DataTypesUpdateIndexSchemaRequest, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
5236
5272
|
// verify required parameter 'sourceid' is not null or undefined
|
|
5237
|
-
assertParamExists('
|
|
5273
|
+
assertParamExists('v1ConnectorsSourcesSourceidUpdateschemaPatch', 'sourceid', sourceid)
|
|
5238
5274
|
// verify required parameter 'schema' is not null or undefined
|
|
5239
|
-
assertParamExists('
|
|
5240
|
-
const localVarPath = `/
|
|
5275
|
+
assertParamExists('v1ConnectorsSourcesSourceidUpdateschemaPatch', 'schema', schema)
|
|
5276
|
+
const localVarPath = `/v1/connectors/sources/:sourceid/updateschema`
|
|
5241
5277
|
.replace(`{${"sourceid"}}`, encodeURIComponent(String(sourceid)));
|
|
5242
5278
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
5243
5279
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -5267,14 +5303,14 @@ export const ConnectorsApiAxiosParamCreator = function (configuration?: Configur
|
|
|
5267
5303
|
/**
|
|
5268
5304
|
* Upload source data
|
|
5269
5305
|
* @summary Upload source data
|
|
5270
|
-
* @param {
|
|
5306
|
+
* @param {V1ConnectorsSourcesSourceidUploaddataPostRequest} v1ConnectorsSourcesSourceidUploaddataPostRequest
|
|
5271
5307
|
* @param {*} [options] Override http request option.
|
|
5272
5308
|
* @throws {RequiredError}
|
|
5273
5309
|
*/
|
|
5274
|
-
|
|
5275
|
-
// verify required parameter '
|
|
5276
|
-
assertParamExists('
|
|
5277
|
-
const localVarPath = `/
|
|
5310
|
+
v1ConnectorsSourcesSourceidUploaddataPost: async (v1ConnectorsSourcesSourceidUploaddataPostRequest: V1ConnectorsSourcesSourceidUploaddataPostRequest, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
5311
|
+
// verify required parameter 'v1ConnectorsSourcesSourceidUploaddataPostRequest' is not null or undefined
|
|
5312
|
+
assertParamExists('v1ConnectorsSourcesSourceidUploaddataPost', 'v1ConnectorsSourcesSourceidUploaddataPostRequest', v1ConnectorsSourcesSourceidUploaddataPostRequest)
|
|
5313
|
+
const localVarPath = `/v1/connectors/sources/:sourceid/uploaddata`;
|
|
5278
5314
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
5279
5315
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
5280
5316
|
let baseOptions;
|
|
@@ -5293,7 +5329,7 @@ export const ConnectorsApiAxiosParamCreator = function (configuration?: Configur
|
|
|
5293
5329
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
5294
5330
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
5295
5331
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
5296
|
-
localVarRequestOptions.data = serializeDataIfNeeded(
|
|
5332
|
+
localVarRequestOptions.data = serializeDataIfNeeded(v1ConnectorsSourcesSourceidUploaddataPostRequest, localVarRequestOptions, configuration)
|
|
5297
5333
|
|
|
5298
5334
|
return {
|
|
5299
5335
|
url: toPathString(localVarUrlObj),
|
|
@@ -5307,10 +5343,10 @@ export const ConnectorsApiAxiosParamCreator = function (configuration?: Configur
|
|
|
5307
5343
|
* @param {*} [options] Override http request option.
|
|
5308
5344
|
* @throws {RequiredError}
|
|
5309
5345
|
*/
|
|
5310
|
-
|
|
5346
|
+
v1ConnectorsTasksPost: async (task: DataTypesCreateTaskRequest, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
5311
5347
|
// verify required parameter 'task' is not null or undefined
|
|
5312
|
-
assertParamExists('
|
|
5313
|
-
const localVarPath = `/
|
|
5348
|
+
assertParamExists('v1ConnectorsTasksPost', 'task', task)
|
|
5349
|
+
const localVarPath = `/v1/connectors/tasks`;
|
|
5314
5350
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
5315
5351
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
5316
5352
|
let baseOptions;
|
|
@@ -5344,12 +5380,12 @@ export const ConnectorsApiAxiosParamCreator = function (configuration?: Configur
|
|
|
5344
5380
|
* @param {*} [options] Override http request option.
|
|
5345
5381
|
* @throws {RequiredError}
|
|
5346
5382
|
*/
|
|
5347
|
-
|
|
5383
|
+
v1ConnectorsTasksTaskIdRunPost: async (taskId: string, initiatedBy: number, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
5348
5384
|
// verify required parameter 'taskId' is not null or undefined
|
|
5349
|
-
assertParamExists('
|
|
5385
|
+
assertParamExists('v1ConnectorsTasksTaskIdRunPost', 'taskId', taskId)
|
|
5350
5386
|
// verify required parameter 'initiatedBy' is not null or undefined
|
|
5351
|
-
assertParamExists('
|
|
5352
|
-
const localVarPath = `/
|
|
5387
|
+
assertParamExists('v1ConnectorsTasksTaskIdRunPost', 'initiatedBy', initiatedBy)
|
|
5388
|
+
const localVarPath = `/v1/connectors/tasks/{task_id}/run`
|
|
5353
5389
|
.replace(`{${"task_id"}}`, encodeURIComponent(String(taskId)));
|
|
5354
5390
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
5355
5391
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -5394,10 +5430,10 @@ export const ConnectorsApiFp = function(configuration?: Configuration) {
|
|
|
5394
5430
|
* @param {*} [options] Override http request option.
|
|
5395
5431
|
* @throws {RequiredError}
|
|
5396
5432
|
*/
|
|
5397
|
-
async
|
|
5398
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.
|
|
5433
|
+
async v1ConnectorsSearchIndexGet(index: string, q: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DataTypesSearchResultResponse>> {
|
|
5434
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.v1ConnectorsSearchIndexGet(index, q, options);
|
|
5399
5435
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
5400
|
-
const localVarOperationServerBasePath = operationServerMap['ConnectorsApi.
|
|
5436
|
+
const localVarOperationServerBasePath = operationServerMap['ConnectorsApi.v1ConnectorsSearchIndexGet']?.[localVarOperationServerIndex]?.url;
|
|
5401
5437
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
5402
5438
|
},
|
|
5403
5439
|
/**
|
|
@@ -5406,10 +5442,10 @@ export const ConnectorsApiFp = function(configuration?: Configuration) {
|
|
|
5406
5442
|
* @param {*} [options] Override http request option.
|
|
5407
5443
|
* @throws {RequiredError}
|
|
5408
5444
|
*/
|
|
5409
|
-
async
|
|
5410
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.
|
|
5445
|
+
async v1ConnectorsSourcesGet(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DataTypesSourcesListResponse>> {
|
|
5446
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.v1ConnectorsSourcesGet(options);
|
|
5411
5447
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
5412
|
-
const localVarOperationServerBasePath = operationServerMap['ConnectorsApi.
|
|
5448
|
+
const localVarOperationServerBasePath = operationServerMap['ConnectorsApi.v1ConnectorsSourcesGet']?.[localVarOperationServerIndex]?.url;
|
|
5413
5449
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
5414
5450
|
},
|
|
5415
5451
|
/**
|
|
@@ -5419,10 +5455,10 @@ export const ConnectorsApiFp = function(configuration?: Configuration) {
|
|
|
5419
5455
|
* @param {*} [options] Override http request option.
|
|
5420
5456
|
* @throws {RequiredError}
|
|
5421
5457
|
*/
|
|
5422
|
-
async
|
|
5423
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.
|
|
5458
|
+
async v1ConnectorsSourcesPost(source: DataTypesCreateSourceRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DataTypesCreateSourceResponse>> {
|
|
5459
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.v1ConnectorsSourcesPost(source, options);
|
|
5424
5460
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
5425
|
-
const localVarOperationServerBasePath = operationServerMap['ConnectorsApi.
|
|
5461
|
+
const localVarOperationServerBasePath = operationServerMap['ConnectorsApi.v1ConnectorsSourcesPost']?.[localVarOperationServerIndex]?.url;
|
|
5426
5462
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
5427
5463
|
},
|
|
5428
5464
|
/**
|
|
@@ -5433,10 +5469,10 @@ export const ConnectorsApiFp = function(configuration?: Configuration) {
|
|
|
5433
5469
|
* @param {*} [options] Override http request option.
|
|
5434
5470
|
* @throws {RequiredError}
|
|
5435
5471
|
*/
|
|
5436
|
-
async
|
|
5437
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.
|
|
5472
|
+
async v1ConnectorsSourcesSourceIdConfigPut(sourceId: string, config: { [key: string]: any; }, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DataTypesResponse>> {
|
|
5473
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.v1ConnectorsSourcesSourceIdConfigPut(sourceId, config, options);
|
|
5438
5474
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
5439
|
-
const localVarOperationServerBasePath = operationServerMap['ConnectorsApi.
|
|
5475
|
+
const localVarOperationServerBasePath = operationServerMap['ConnectorsApi.v1ConnectorsSourcesSourceIdConfigPut']?.[localVarOperationServerIndex]?.url;
|
|
5440
5476
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
5441
5477
|
},
|
|
5442
5478
|
/**
|
|
@@ -5445,10 +5481,10 @@ export const ConnectorsApiFp = function(configuration?: Configuration) {
|
|
|
5445
5481
|
* @param {*} [options] Override http request option.
|
|
5446
5482
|
* @throws {RequiredError}
|
|
5447
5483
|
*/
|
|
5448
|
-
async
|
|
5449
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.
|
|
5484
|
+
async v1ConnectorsSourcesSourceIdGet(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DataTypesUploadSourceDataResponse>> {
|
|
5485
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.v1ConnectorsSourcesSourceIdGet(options);
|
|
5450
5486
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
5451
|
-
const localVarOperationServerBasePath = operationServerMap['ConnectorsApi.
|
|
5487
|
+
const localVarOperationServerBasePath = operationServerMap['ConnectorsApi.v1ConnectorsSourcesSourceIdGet']?.[localVarOperationServerIndex]?.url;
|
|
5452
5488
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
5453
5489
|
},
|
|
5454
5490
|
/**
|
|
@@ -5459,23 +5495,23 @@ export const ConnectorsApiFp = function(configuration?: Configuration) {
|
|
|
5459
5495
|
* @param {*} [options] Override http request option.
|
|
5460
5496
|
* @throws {RequiredError}
|
|
5461
5497
|
*/
|
|
5462
|
-
async
|
|
5463
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.
|
|
5498
|
+
async v1ConnectorsSourcesSourceidUpdateschemaPatch(sourceid: string, schema: DataTypesUpdateIndexSchemaRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DataTypesUpdateSchemaResponse>> {
|
|
5499
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.v1ConnectorsSourcesSourceidUpdateschemaPatch(sourceid, schema, options);
|
|
5464
5500
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
5465
|
-
const localVarOperationServerBasePath = operationServerMap['ConnectorsApi.
|
|
5501
|
+
const localVarOperationServerBasePath = operationServerMap['ConnectorsApi.v1ConnectorsSourcesSourceidUpdateschemaPatch']?.[localVarOperationServerIndex]?.url;
|
|
5466
5502
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
5467
5503
|
},
|
|
5468
5504
|
/**
|
|
5469
5505
|
* Upload source data
|
|
5470
5506
|
* @summary Upload source data
|
|
5471
|
-
* @param {
|
|
5507
|
+
* @param {V1ConnectorsSourcesSourceidUploaddataPostRequest} v1ConnectorsSourcesSourceidUploaddataPostRequest
|
|
5472
5508
|
* @param {*} [options] Override http request option.
|
|
5473
5509
|
* @throws {RequiredError}
|
|
5474
5510
|
*/
|
|
5475
|
-
async
|
|
5476
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.
|
|
5511
|
+
async v1ConnectorsSourcesSourceidUploaddataPost(v1ConnectorsSourcesSourceidUploaddataPostRequest: V1ConnectorsSourcesSourceidUploaddataPostRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DataTypesUploadSourceDataResponse>> {
|
|
5512
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.v1ConnectorsSourcesSourceidUploaddataPost(v1ConnectorsSourcesSourceidUploaddataPostRequest, options);
|
|
5477
5513
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
5478
|
-
const localVarOperationServerBasePath = operationServerMap['ConnectorsApi.
|
|
5514
|
+
const localVarOperationServerBasePath = operationServerMap['ConnectorsApi.v1ConnectorsSourcesSourceidUploaddataPost']?.[localVarOperationServerIndex]?.url;
|
|
5479
5515
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
5480
5516
|
},
|
|
5481
5517
|
/**
|
|
@@ -5485,10 +5521,10 @@ export const ConnectorsApiFp = function(configuration?: Configuration) {
|
|
|
5485
5521
|
* @param {*} [options] Override http request option.
|
|
5486
5522
|
* @throws {RequiredError}
|
|
5487
5523
|
*/
|
|
5488
|
-
async
|
|
5489
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.
|
|
5524
|
+
async v1ConnectorsTasksPost(task: DataTypesCreateTaskRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DataTypesCreateTaskResponse>> {
|
|
5525
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.v1ConnectorsTasksPost(task, options);
|
|
5490
5526
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
5491
|
-
const localVarOperationServerBasePath = operationServerMap['ConnectorsApi.
|
|
5527
|
+
const localVarOperationServerBasePath = operationServerMap['ConnectorsApi.v1ConnectorsTasksPost']?.[localVarOperationServerIndex]?.url;
|
|
5492
5528
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
5493
5529
|
},
|
|
5494
5530
|
/**
|
|
@@ -5499,10 +5535,10 @@ export const ConnectorsApiFp = function(configuration?: Configuration) {
|
|
|
5499
5535
|
* @param {*} [options] Override http request option.
|
|
5500
5536
|
* @throws {RequiredError}
|
|
5501
5537
|
*/
|
|
5502
|
-
async
|
|
5503
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.
|
|
5538
|
+
async v1ConnectorsTasksTaskIdRunPost(taskId: string, initiatedBy: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DataTypesTriggerTaskRunResponse>> {
|
|
5539
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.v1ConnectorsTasksTaskIdRunPost(taskId, initiatedBy, options);
|
|
5504
5540
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
5505
|
-
const localVarOperationServerBasePath = operationServerMap['ConnectorsApi.
|
|
5541
|
+
const localVarOperationServerBasePath = operationServerMap['ConnectorsApi.v1ConnectorsTasksTaskIdRunPost']?.[localVarOperationServerIndex]?.url;
|
|
5506
5542
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
5507
5543
|
},
|
|
5508
5544
|
}
|
|
@@ -5523,8 +5559,8 @@ export const ConnectorsApiFactory = function (configuration?: Configuration, bas
|
|
|
5523
5559
|
* @param {*} [options] Override http request option.
|
|
5524
5560
|
* @throws {RequiredError}
|
|
5525
5561
|
*/
|
|
5526
|
-
|
|
5527
|
-
return localVarFp.
|
|
5562
|
+
v1ConnectorsSearchIndexGet(index: string, q: string, options?: RawAxiosRequestConfig): AxiosPromise<DataTypesSearchResultResponse> {
|
|
5563
|
+
return localVarFp.v1ConnectorsSearchIndexGet(index, q, options).then((request) => request(axios, basePath));
|
|
5528
5564
|
},
|
|
5529
5565
|
/**
|
|
5530
5566
|
* Get all sources
|
|
@@ -5532,8 +5568,8 @@ export const ConnectorsApiFactory = function (configuration?: Configuration, bas
|
|
|
5532
5568
|
* @param {*} [options] Override http request option.
|
|
5533
5569
|
* @throws {RequiredError}
|
|
5534
5570
|
*/
|
|
5535
|
-
|
|
5536
|
-
return localVarFp.
|
|
5571
|
+
v1ConnectorsSourcesGet(options?: RawAxiosRequestConfig): AxiosPromise<DataTypesSourcesListResponse> {
|
|
5572
|
+
return localVarFp.v1ConnectorsSourcesGet(options).then((request) => request(axios, basePath));
|
|
5537
5573
|
},
|
|
5538
5574
|
/**
|
|
5539
5575
|
* Create source
|
|
@@ -5542,8 +5578,8 @@ export const ConnectorsApiFactory = function (configuration?: Configuration, bas
|
|
|
5542
5578
|
* @param {*} [options] Override http request option.
|
|
5543
5579
|
* @throws {RequiredError}
|
|
5544
5580
|
*/
|
|
5545
|
-
|
|
5546
|
-
return localVarFp.
|
|
5581
|
+
v1ConnectorsSourcesPost(source: DataTypesCreateSourceRequest, options?: RawAxiosRequestConfig): AxiosPromise<DataTypesCreateSourceResponse> {
|
|
5582
|
+
return localVarFp.v1ConnectorsSourcesPost(source, options).then((request) => request(axios, basePath));
|
|
5547
5583
|
},
|
|
5548
5584
|
/**
|
|
5549
5585
|
* Update source config by id
|
|
@@ -5553,8 +5589,8 @@ export const ConnectorsApiFactory = function (configuration?: Configuration, bas
|
|
|
5553
5589
|
* @param {*} [options] Override http request option.
|
|
5554
5590
|
* @throws {RequiredError}
|
|
5555
5591
|
*/
|
|
5556
|
-
|
|
5557
|
-
return localVarFp.
|
|
5592
|
+
v1ConnectorsSourcesSourceIdConfigPut(sourceId: string, config: { [key: string]: any; }, options?: RawAxiosRequestConfig): AxiosPromise<DataTypesResponse> {
|
|
5593
|
+
return localVarFp.v1ConnectorsSourcesSourceIdConfigPut(sourceId, config, options).then((request) => request(axios, basePath));
|
|
5558
5594
|
},
|
|
5559
5595
|
/**
|
|
5560
5596
|
* Get source by id
|
|
@@ -5562,8 +5598,8 @@ export const ConnectorsApiFactory = function (configuration?: Configuration, bas
|
|
|
5562
5598
|
* @param {*} [options] Override http request option.
|
|
5563
5599
|
* @throws {RequiredError}
|
|
5564
5600
|
*/
|
|
5565
|
-
|
|
5566
|
-
return localVarFp.
|
|
5601
|
+
v1ConnectorsSourcesSourceIdGet(options?: RawAxiosRequestConfig): AxiosPromise<DataTypesUploadSourceDataResponse> {
|
|
5602
|
+
return localVarFp.v1ConnectorsSourcesSourceIdGet(options).then((request) => request(axios, basePath));
|
|
5567
5603
|
},
|
|
5568
5604
|
/**
|
|
5569
5605
|
* Update Index schema
|
|
@@ -5573,18 +5609,18 @@ export const ConnectorsApiFactory = function (configuration?: Configuration, bas
|
|
|
5573
5609
|
* @param {*} [options] Override http request option.
|
|
5574
5610
|
* @throws {RequiredError}
|
|
5575
5611
|
*/
|
|
5576
|
-
|
|
5577
|
-
return localVarFp.
|
|
5612
|
+
v1ConnectorsSourcesSourceidUpdateschemaPatch(sourceid: string, schema: DataTypesUpdateIndexSchemaRequest, options?: RawAxiosRequestConfig): AxiosPromise<DataTypesUpdateSchemaResponse> {
|
|
5613
|
+
return localVarFp.v1ConnectorsSourcesSourceidUpdateschemaPatch(sourceid, schema, options).then((request) => request(axios, basePath));
|
|
5578
5614
|
},
|
|
5579
5615
|
/**
|
|
5580
5616
|
* Upload source data
|
|
5581
5617
|
* @summary Upload source data
|
|
5582
|
-
* @param {
|
|
5618
|
+
* @param {V1ConnectorsSourcesSourceidUploaddataPostRequest} v1ConnectorsSourcesSourceidUploaddataPostRequest
|
|
5583
5619
|
* @param {*} [options] Override http request option.
|
|
5584
5620
|
* @throws {RequiredError}
|
|
5585
5621
|
*/
|
|
5586
|
-
|
|
5587
|
-
return localVarFp.
|
|
5622
|
+
v1ConnectorsSourcesSourceidUploaddataPost(v1ConnectorsSourcesSourceidUploaddataPostRequest: V1ConnectorsSourcesSourceidUploaddataPostRequest, options?: RawAxiosRequestConfig): AxiosPromise<DataTypesUploadSourceDataResponse> {
|
|
5623
|
+
return localVarFp.v1ConnectorsSourcesSourceidUploaddataPost(v1ConnectorsSourcesSourceidUploaddataPostRequest, options).then((request) => request(axios, basePath));
|
|
5588
5624
|
},
|
|
5589
5625
|
/**
|
|
5590
5626
|
* Create task
|
|
@@ -5593,8 +5629,8 @@ export const ConnectorsApiFactory = function (configuration?: Configuration, bas
|
|
|
5593
5629
|
* @param {*} [options] Override http request option.
|
|
5594
5630
|
* @throws {RequiredError}
|
|
5595
5631
|
*/
|
|
5596
|
-
|
|
5597
|
-
return localVarFp.
|
|
5632
|
+
v1ConnectorsTasksPost(task: DataTypesCreateTaskRequest, options?: RawAxiosRequestConfig): AxiosPromise<DataTypesCreateTaskResponse> {
|
|
5633
|
+
return localVarFp.v1ConnectorsTasksPost(task, options).then((request) => request(axios, basePath));
|
|
5598
5634
|
},
|
|
5599
5635
|
/**
|
|
5600
5636
|
* Trigger task run
|
|
@@ -5604,8 +5640,8 @@ export const ConnectorsApiFactory = function (configuration?: Configuration, bas
|
|
|
5604
5640
|
* @param {*} [options] Override http request option.
|
|
5605
5641
|
* @throws {RequiredError}
|
|
5606
5642
|
*/
|
|
5607
|
-
|
|
5608
|
-
return localVarFp.
|
|
5643
|
+
v1ConnectorsTasksTaskIdRunPost(taskId: string, initiatedBy: number, options?: RawAxiosRequestConfig): AxiosPromise<DataTypesTriggerTaskRunResponse> {
|
|
5644
|
+
return localVarFp.v1ConnectorsTasksTaskIdRunPost(taskId, initiatedBy, options).then((request) => request(axios, basePath));
|
|
5609
5645
|
},
|
|
5610
5646
|
};
|
|
5611
5647
|
};
|
|
@@ -5626,8 +5662,8 @@ export class ConnectorsApi extends BaseAPI {
|
|
|
5626
5662
|
* @throws {RequiredError}
|
|
5627
5663
|
* @memberof ConnectorsApi
|
|
5628
5664
|
*/
|
|
5629
|
-
public
|
|
5630
|
-
return ConnectorsApiFp(this.configuration).
|
|
5665
|
+
public v1ConnectorsSearchIndexGet(index: string, q: string, options?: RawAxiosRequestConfig) {
|
|
5666
|
+
return ConnectorsApiFp(this.configuration).v1ConnectorsSearchIndexGet(index, q, options).then((request) => request(this.axios, this.basePath));
|
|
5631
5667
|
}
|
|
5632
5668
|
|
|
5633
5669
|
/**
|
|
@@ -5637,8 +5673,8 @@ export class ConnectorsApi extends BaseAPI {
|
|
|
5637
5673
|
* @throws {RequiredError}
|
|
5638
5674
|
* @memberof ConnectorsApi
|
|
5639
5675
|
*/
|
|
5640
|
-
public
|
|
5641
|
-
return ConnectorsApiFp(this.configuration).
|
|
5676
|
+
public v1ConnectorsSourcesGet(options?: RawAxiosRequestConfig) {
|
|
5677
|
+
return ConnectorsApiFp(this.configuration).v1ConnectorsSourcesGet(options).then((request) => request(this.axios, this.basePath));
|
|
5642
5678
|
}
|
|
5643
5679
|
|
|
5644
5680
|
/**
|
|
@@ -5649,8 +5685,8 @@ export class ConnectorsApi extends BaseAPI {
|
|
|
5649
5685
|
* @throws {RequiredError}
|
|
5650
5686
|
* @memberof ConnectorsApi
|
|
5651
5687
|
*/
|
|
5652
|
-
public
|
|
5653
|
-
return ConnectorsApiFp(this.configuration).
|
|
5688
|
+
public v1ConnectorsSourcesPost(source: DataTypesCreateSourceRequest, options?: RawAxiosRequestConfig) {
|
|
5689
|
+
return ConnectorsApiFp(this.configuration).v1ConnectorsSourcesPost(source, options).then((request) => request(this.axios, this.basePath));
|
|
5654
5690
|
}
|
|
5655
5691
|
|
|
5656
5692
|
/**
|
|
@@ -5662,8 +5698,8 @@ export class ConnectorsApi extends BaseAPI {
|
|
|
5662
5698
|
* @throws {RequiredError}
|
|
5663
5699
|
* @memberof ConnectorsApi
|
|
5664
5700
|
*/
|
|
5665
|
-
public
|
|
5666
|
-
return ConnectorsApiFp(this.configuration).
|
|
5701
|
+
public v1ConnectorsSourcesSourceIdConfigPut(sourceId: string, config: { [key: string]: any; }, options?: RawAxiosRequestConfig) {
|
|
5702
|
+
return ConnectorsApiFp(this.configuration).v1ConnectorsSourcesSourceIdConfigPut(sourceId, config, options).then((request) => request(this.axios, this.basePath));
|
|
5667
5703
|
}
|
|
5668
5704
|
|
|
5669
5705
|
/**
|
|
@@ -5673,8 +5709,8 @@ export class ConnectorsApi extends BaseAPI {
|
|
|
5673
5709
|
* @throws {RequiredError}
|
|
5674
5710
|
* @memberof ConnectorsApi
|
|
5675
5711
|
*/
|
|
5676
|
-
public
|
|
5677
|
-
return ConnectorsApiFp(this.configuration).
|
|
5712
|
+
public v1ConnectorsSourcesSourceIdGet(options?: RawAxiosRequestConfig) {
|
|
5713
|
+
return ConnectorsApiFp(this.configuration).v1ConnectorsSourcesSourceIdGet(options).then((request) => request(this.axios, this.basePath));
|
|
5678
5714
|
}
|
|
5679
5715
|
|
|
5680
5716
|
/**
|
|
@@ -5686,20 +5722,20 @@ export class ConnectorsApi extends BaseAPI {
|
|
|
5686
5722
|
* @throws {RequiredError}
|
|
5687
5723
|
* @memberof ConnectorsApi
|
|
5688
5724
|
*/
|
|
5689
|
-
public
|
|
5690
|
-
return ConnectorsApiFp(this.configuration).
|
|
5725
|
+
public v1ConnectorsSourcesSourceidUpdateschemaPatch(sourceid: string, schema: DataTypesUpdateIndexSchemaRequest, options?: RawAxiosRequestConfig) {
|
|
5726
|
+
return ConnectorsApiFp(this.configuration).v1ConnectorsSourcesSourceidUpdateschemaPatch(sourceid, schema, options).then((request) => request(this.axios, this.basePath));
|
|
5691
5727
|
}
|
|
5692
5728
|
|
|
5693
5729
|
/**
|
|
5694
5730
|
* Upload source data
|
|
5695
5731
|
* @summary Upload source data
|
|
5696
|
-
* @param {
|
|
5732
|
+
* @param {V1ConnectorsSourcesSourceidUploaddataPostRequest} v1ConnectorsSourcesSourceidUploaddataPostRequest
|
|
5697
5733
|
* @param {*} [options] Override http request option.
|
|
5698
5734
|
* @throws {RequiredError}
|
|
5699
5735
|
* @memberof ConnectorsApi
|
|
5700
5736
|
*/
|
|
5701
|
-
public
|
|
5702
|
-
return ConnectorsApiFp(this.configuration).
|
|
5737
|
+
public v1ConnectorsSourcesSourceidUploaddataPost(v1ConnectorsSourcesSourceidUploaddataPostRequest: V1ConnectorsSourcesSourceidUploaddataPostRequest, options?: RawAxiosRequestConfig) {
|
|
5738
|
+
return ConnectorsApiFp(this.configuration).v1ConnectorsSourcesSourceidUploaddataPost(v1ConnectorsSourcesSourceidUploaddataPostRequest, options).then((request) => request(this.axios, this.basePath));
|
|
5703
5739
|
}
|
|
5704
5740
|
|
|
5705
5741
|
/**
|
|
@@ -5710,8 +5746,8 @@ export class ConnectorsApi extends BaseAPI {
|
|
|
5710
5746
|
* @throws {RequiredError}
|
|
5711
5747
|
* @memberof ConnectorsApi
|
|
5712
5748
|
*/
|
|
5713
|
-
public
|
|
5714
|
-
return ConnectorsApiFp(this.configuration).
|
|
5749
|
+
public v1ConnectorsTasksPost(task: DataTypesCreateTaskRequest, options?: RawAxiosRequestConfig) {
|
|
5750
|
+
return ConnectorsApiFp(this.configuration).v1ConnectorsTasksPost(task, options).then((request) => request(this.axios, this.basePath));
|
|
5715
5751
|
}
|
|
5716
5752
|
|
|
5717
5753
|
/**
|
|
@@ -5723,8 +5759,8 @@ export class ConnectorsApi extends BaseAPI {
|
|
|
5723
5759
|
* @throws {RequiredError}
|
|
5724
5760
|
* @memberof ConnectorsApi
|
|
5725
5761
|
*/
|
|
5726
|
-
public
|
|
5727
|
-
return ConnectorsApiFp(this.configuration).
|
|
5762
|
+
public v1ConnectorsTasksTaskIdRunPost(taskId: string, initiatedBy: number, options?: RawAxiosRequestConfig) {
|
|
5763
|
+
return ConnectorsApiFp(this.configuration).v1ConnectorsTasksTaskIdRunPost(taskId, initiatedBy, options).then((request) => request(this.axios, this.basePath));
|
|
5728
5764
|
}
|
|
5729
5765
|
}
|
|
5730
5766
|
|
|
@@ -8469,10 +8505,10 @@ export const OnboardingApiAxiosParamCreator = function (configuration?: Configur
|
|
|
8469
8505
|
* @param {*} [options] Override http request option.
|
|
8470
8506
|
* @throws {RequiredError}
|
|
8471
8507
|
*/
|
|
8472
|
-
|
|
8508
|
+
adminV1UsersOnboardingPatch: async (body: DataTypesOnboardingRequest, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
8473
8509
|
// verify required parameter 'body' is not null or undefined
|
|
8474
|
-
assertParamExists('
|
|
8475
|
-
const localVarPath = `/
|
|
8510
|
+
assertParamExists('adminV1UsersOnboardingPatch', 'body', body)
|
|
8511
|
+
const localVarPath = `/admin/v1/users/onboarding`;
|
|
8476
8512
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
8477
8513
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
8478
8514
|
let baseOptions;
|
|
@@ -8505,10 +8541,10 @@ export const OnboardingApiAxiosParamCreator = function (configuration?: Configur
|
|
|
8505
8541
|
* @param {*} [options] Override http request option.
|
|
8506
8542
|
* @throws {RequiredError}
|
|
8507
8543
|
*/
|
|
8508
|
-
|
|
8544
|
+
adminV1UsersOnboardingSchemaUploadPost: async (file: File, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
8509
8545
|
// verify required parameter 'file' is not null or undefined
|
|
8510
|
-
assertParamExists('
|
|
8511
|
-
const localVarPath = `/
|
|
8546
|
+
assertParamExists('adminV1UsersOnboardingSchemaUploadPost', 'file', file)
|
|
8547
|
+
const localVarPath = `/admin/v1/users/onboarding/schema-upload`;
|
|
8512
8548
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
8513
8549
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
8514
8550
|
let baseOptions;
|
|
@@ -8556,10 +8592,10 @@ export const OnboardingApiFp = function(configuration?: Configuration) {
|
|
|
8556
8592
|
* @param {*} [options] Override http request option.
|
|
8557
8593
|
* @throws {RequiredError}
|
|
8558
8594
|
*/
|
|
8559
|
-
async
|
|
8560
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.
|
|
8595
|
+
async adminV1UsersOnboardingPatch(body: DataTypesOnboardingRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DataTypesResponse>> {
|
|
8596
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.adminV1UsersOnboardingPatch(body, options);
|
|
8561
8597
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
8562
|
-
const localVarOperationServerBasePath = operationServerMap['OnboardingApi.
|
|
8598
|
+
const localVarOperationServerBasePath = operationServerMap['OnboardingApi.adminV1UsersOnboardingPatch']?.[localVarOperationServerIndex]?.url;
|
|
8563
8599
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
8564
8600
|
},
|
|
8565
8601
|
/**
|
|
@@ -8569,10 +8605,10 @@ export const OnboardingApiFp = function(configuration?: Configuration) {
|
|
|
8569
8605
|
* @param {*} [options] Override http request option.
|
|
8570
8606
|
* @throws {RequiredError}
|
|
8571
8607
|
*/
|
|
8572
|
-
async
|
|
8573
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.
|
|
8608
|
+
async adminV1UsersOnboardingSchemaUploadPost(file: File, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DataTypesResponse>> {
|
|
8609
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.adminV1UsersOnboardingSchemaUploadPost(file, options);
|
|
8574
8610
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
8575
|
-
const localVarOperationServerBasePath = operationServerMap['OnboardingApi.
|
|
8611
|
+
const localVarOperationServerBasePath = operationServerMap['OnboardingApi.adminV1UsersOnboardingSchemaUploadPost']?.[localVarOperationServerIndex]?.url;
|
|
8576
8612
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
8577
8613
|
},
|
|
8578
8614
|
}
|
|
@@ -8592,8 +8628,8 @@ export const OnboardingApiFactory = function (configuration?: Configuration, bas
|
|
|
8592
8628
|
* @param {*} [options] Override http request option.
|
|
8593
8629
|
* @throws {RequiredError}
|
|
8594
8630
|
*/
|
|
8595
|
-
|
|
8596
|
-
return localVarFp.
|
|
8631
|
+
adminV1UsersOnboardingPatch(body: DataTypesOnboardingRequest, options?: RawAxiosRequestConfig): AxiosPromise<DataTypesResponse> {
|
|
8632
|
+
return localVarFp.adminV1UsersOnboardingPatch(body, options).then((request) => request(axios, basePath));
|
|
8597
8633
|
},
|
|
8598
8634
|
/**
|
|
8599
8635
|
* Uploads a custom schema JSON file for onboarding and stores it into onboardingdata.customSchema
|
|
@@ -8602,8 +8638,8 @@ export const OnboardingApiFactory = function (configuration?: Configuration, bas
|
|
|
8602
8638
|
* @param {*} [options] Override http request option.
|
|
8603
8639
|
* @throws {RequiredError}
|
|
8604
8640
|
*/
|
|
8605
|
-
|
|
8606
|
-
return localVarFp.
|
|
8641
|
+
adminV1UsersOnboardingSchemaUploadPost(file: File, options?: RawAxiosRequestConfig): AxiosPromise<DataTypesResponse> {
|
|
8642
|
+
return localVarFp.adminV1UsersOnboardingSchemaUploadPost(file, options).then((request) => request(axios, basePath));
|
|
8607
8643
|
},
|
|
8608
8644
|
};
|
|
8609
8645
|
};
|
|
@@ -8623,8 +8659,8 @@ export class OnboardingApi extends BaseAPI {
|
|
|
8623
8659
|
* @throws {RequiredError}
|
|
8624
8660
|
* @memberof OnboardingApi
|
|
8625
8661
|
*/
|
|
8626
|
-
public
|
|
8627
|
-
return OnboardingApiFp(this.configuration).
|
|
8662
|
+
public adminV1UsersOnboardingPatch(body: DataTypesOnboardingRequest, options?: RawAxiosRequestConfig) {
|
|
8663
|
+
return OnboardingApiFp(this.configuration).adminV1UsersOnboardingPatch(body, options).then((request) => request(this.axios, this.basePath));
|
|
8628
8664
|
}
|
|
8629
8665
|
|
|
8630
8666
|
/**
|
|
@@ -8635,8 +8671,8 @@ export class OnboardingApi extends BaseAPI {
|
|
|
8635
8671
|
* @throws {RequiredError}
|
|
8636
8672
|
* @memberof OnboardingApi
|
|
8637
8673
|
*/
|
|
8638
|
-
public
|
|
8639
|
-
return OnboardingApiFp(this.configuration).
|
|
8674
|
+
public adminV1UsersOnboardingSchemaUploadPost(file: File, options?: RawAxiosRequestConfig) {
|
|
8675
|
+
return OnboardingApiFp(this.configuration).adminV1UsersOnboardingSchemaUploadPost(file, options).then((request) => request(this.axios, this.basePath));
|
|
8640
8676
|
}
|
|
8641
8677
|
}
|
|
8642
8678
|
|