@seekora-ai/admin-api 1.1.60 → 1.1.61
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 +12 -2
- package/api.ts +590 -0
- package/dist/api.d.ts +330 -0
- package/dist/api.js +441 -0
- package/dist/esm/api.d.ts +330 -0
- package/dist/esm/api.js +441 -0
- package/package.json +1 -1
- package/seekora-ai-admin-api-1.1.61.tgz +0 -0
- package/seekora-ai-admin-api-1.1.60.tgz +0 -0
package/dist/esm/api.js
CHANGED
|
@@ -22792,6 +22792,38 @@ export const OnboardingApiAxiosParamCreator = function (configuration) {
|
|
|
22792
22792
|
options: localVarRequestOptions,
|
|
22793
22793
|
};
|
|
22794
22794
|
}),
|
|
22795
|
+
/**
|
|
22796
|
+
* Proceeds with importing data after validation. Can import only valid records if proceedWithPartial is true.
|
|
22797
|
+
* @summary Proceed with import after validation
|
|
22798
|
+
* @param {DataTypesProceedWithImportRequest} dataTypesProceedWithImportRequest Proceed import request
|
|
22799
|
+
* @param {*} [options] Override http request option.
|
|
22800
|
+
* @throws {RequiredError}
|
|
22801
|
+
*/
|
|
22802
|
+
adminV1UsersOnboardingProceedImportPost: (dataTypesProceedWithImportRequest_1, ...args_1) => __awaiter(this, [dataTypesProceedWithImportRequest_1, ...args_1], void 0, function* (dataTypesProceedWithImportRequest, options = {}) {
|
|
22803
|
+
// verify required parameter 'dataTypesProceedWithImportRequest' is not null or undefined
|
|
22804
|
+
assertParamExists('adminV1UsersOnboardingProceedImportPost', 'dataTypesProceedWithImportRequest', dataTypesProceedWithImportRequest);
|
|
22805
|
+
const localVarPath = `/admin/v1/users/onboarding/proceed-import`;
|
|
22806
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
22807
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
22808
|
+
let baseOptions;
|
|
22809
|
+
if (configuration) {
|
|
22810
|
+
baseOptions = configuration.baseOptions;
|
|
22811
|
+
}
|
|
22812
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
|
|
22813
|
+
const localVarHeaderParameter = {};
|
|
22814
|
+
const localVarQueryParameter = {};
|
|
22815
|
+
// authentication BearerAuth required
|
|
22816
|
+
yield setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
|
|
22817
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
22818
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
22819
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
22820
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
22821
|
+
localVarRequestOptions.data = serializeDataIfNeeded(dataTypesProceedWithImportRequest, localVarRequestOptions, configuration);
|
|
22822
|
+
return {
|
|
22823
|
+
url: toPathString(localVarUrlObj),
|
|
22824
|
+
options: localVarRequestOptions,
|
|
22825
|
+
};
|
|
22826
|
+
}),
|
|
22795
22827
|
/**
|
|
22796
22828
|
* Uploads a custom schema JSON file for onboarding and stores it into onboardingdata.customSchema
|
|
22797
22829
|
* @summary Upload custom schema JSON
|
|
@@ -22951,6 +22983,77 @@ export const OnboardingApiAxiosParamCreator = function (configuration) {
|
|
|
22951
22983
|
options: localVarRequestOptions,
|
|
22952
22984
|
};
|
|
22953
22985
|
}),
|
|
22986
|
+
/**
|
|
22987
|
+
* Validates uploaded data file and returns validation results without importing. Use this to check for errors before proceeding with import.
|
|
22988
|
+
* @summary Validate uploaded data without importing
|
|
22989
|
+
* @param {File} file Data file (JSON or CSV)
|
|
22990
|
+
* @param {string} [type] Source type (csv_upload, json_upload). If not provided, will be inferred from file extension
|
|
22991
|
+
* @param {*} [options] Override http request option.
|
|
22992
|
+
* @throws {RequiredError}
|
|
22993
|
+
*/
|
|
22994
|
+
adminV1UsersOnboardingValidateDataPost: (file_1, type_1, ...args_1) => __awaiter(this, [file_1, type_1, ...args_1], void 0, function* (file, type, options = {}) {
|
|
22995
|
+
// verify required parameter 'file' is not null or undefined
|
|
22996
|
+
assertParamExists('adminV1UsersOnboardingValidateDataPost', 'file', file);
|
|
22997
|
+
const localVarPath = `/admin/v1/users/onboarding/validate-data`;
|
|
22998
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
22999
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
23000
|
+
let baseOptions;
|
|
23001
|
+
if (configuration) {
|
|
23002
|
+
baseOptions = configuration.baseOptions;
|
|
23003
|
+
}
|
|
23004
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
|
|
23005
|
+
const localVarHeaderParameter = {};
|
|
23006
|
+
const localVarQueryParameter = {};
|
|
23007
|
+
const localVarFormParams = new ((configuration && configuration.formDataCtor) || FormData)();
|
|
23008
|
+
// authentication BearerAuth required
|
|
23009
|
+
yield setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
|
|
23010
|
+
if (file !== undefined) {
|
|
23011
|
+
localVarFormParams.append('File', file);
|
|
23012
|
+
}
|
|
23013
|
+
if (type !== undefined) {
|
|
23014
|
+
localVarFormParams.append('Type', type);
|
|
23015
|
+
}
|
|
23016
|
+
localVarHeaderParameter['Content-Type'] = 'multipart/form-data';
|
|
23017
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
23018
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
23019
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
23020
|
+
localVarRequestOptions.data = localVarFormParams;
|
|
23021
|
+
return {
|
|
23022
|
+
url: toPathString(localVarUrlObj),
|
|
23023
|
+
options: localVarRequestOptions,
|
|
23024
|
+
};
|
|
23025
|
+
}),
|
|
23026
|
+
/**
|
|
23027
|
+
* Retrieves validation status and results for a validation job. Poll this endpoint to check if validation is complete.
|
|
23028
|
+
* @summary Get validation status and results
|
|
23029
|
+
* @param {string} validationJobId Validation Job ID
|
|
23030
|
+
* @param {*} [options] Override http request option.
|
|
23031
|
+
* @throws {RequiredError}
|
|
23032
|
+
*/
|
|
23033
|
+
adminV1UsersOnboardingValidationStatusValidationJobIdGet: (validationJobId_1, ...args_1) => __awaiter(this, [validationJobId_1, ...args_1], void 0, function* (validationJobId, options = {}) {
|
|
23034
|
+
// verify required parameter 'validationJobId' is not null or undefined
|
|
23035
|
+
assertParamExists('adminV1UsersOnboardingValidationStatusValidationJobIdGet', 'validationJobId', validationJobId);
|
|
23036
|
+
const localVarPath = `/admin/v1/users/onboarding/validation-status/{validationJobId}`
|
|
23037
|
+
.replace(`{${"validationJobId"}}`, encodeURIComponent(String(validationJobId)));
|
|
23038
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
23039
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
23040
|
+
let baseOptions;
|
|
23041
|
+
if (configuration) {
|
|
23042
|
+
baseOptions = configuration.baseOptions;
|
|
23043
|
+
}
|
|
23044
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
23045
|
+
const localVarHeaderParameter = {};
|
|
23046
|
+
const localVarQueryParameter = {};
|
|
23047
|
+
// authentication BearerAuth required
|
|
23048
|
+
yield setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
|
|
23049
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
23050
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
23051
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
23052
|
+
return {
|
|
23053
|
+
url: toPathString(localVarUrlObj),
|
|
23054
|
+
options: localVarRequestOptions,
|
|
23055
|
+
};
|
|
23056
|
+
}),
|
|
22954
23057
|
/**
|
|
22955
23058
|
* Get sample datasets
|
|
22956
23059
|
* @summary Get sample datasets
|
|
@@ -23050,6 +23153,22 @@ export const OnboardingApiFp = function (configuration) {
|
|
|
23050
23153
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
23051
23154
|
});
|
|
23052
23155
|
},
|
|
23156
|
+
/**
|
|
23157
|
+
* Proceeds with importing data after validation. Can import only valid records if proceedWithPartial is true.
|
|
23158
|
+
* @summary Proceed with import after validation
|
|
23159
|
+
* @param {DataTypesProceedWithImportRequest} dataTypesProceedWithImportRequest Proceed import request
|
|
23160
|
+
* @param {*} [options] Override http request option.
|
|
23161
|
+
* @throws {RequiredError}
|
|
23162
|
+
*/
|
|
23163
|
+
adminV1UsersOnboardingProceedImportPost(dataTypesProceedWithImportRequest, options) {
|
|
23164
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
23165
|
+
var _a, _b, _c;
|
|
23166
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.adminV1UsersOnboardingProceedImportPost(dataTypesProceedWithImportRequest, options);
|
|
23167
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
23168
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['OnboardingApi.adminV1UsersOnboardingProceedImportPost']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
23169
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
23170
|
+
});
|
|
23171
|
+
},
|
|
23053
23172
|
/**
|
|
23054
23173
|
* Uploads a custom schema JSON file for onboarding and stores it into onboardingdata.customSchema
|
|
23055
23174
|
* @summary Upload custom schema JSON
|
|
@@ -23128,6 +23247,39 @@ export const OnboardingApiFp = function (configuration) {
|
|
|
23128
23247
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
23129
23248
|
});
|
|
23130
23249
|
},
|
|
23250
|
+
/**
|
|
23251
|
+
* Validates uploaded data file and returns validation results without importing. Use this to check for errors before proceeding with import.
|
|
23252
|
+
* @summary Validate uploaded data without importing
|
|
23253
|
+
* @param {File} file Data file (JSON or CSV)
|
|
23254
|
+
* @param {string} [type] Source type (csv_upload, json_upload). If not provided, will be inferred from file extension
|
|
23255
|
+
* @param {*} [options] Override http request option.
|
|
23256
|
+
* @throws {RequiredError}
|
|
23257
|
+
*/
|
|
23258
|
+
adminV1UsersOnboardingValidateDataPost(file, type, options) {
|
|
23259
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
23260
|
+
var _a, _b, _c;
|
|
23261
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.adminV1UsersOnboardingValidateDataPost(file, type, options);
|
|
23262
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
23263
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['OnboardingApi.adminV1UsersOnboardingValidateDataPost']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
23264
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
23265
|
+
});
|
|
23266
|
+
},
|
|
23267
|
+
/**
|
|
23268
|
+
* Retrieves validation status and results for a validation job. Poll this endpoint to check if validation is complete.
|
|
23269
|
+
* @summary Get validation status and results
|
|
23270
|
+
* @param {string} validationJobId Validation Job ID
|
|
23271
|
+
* @param {*} [options] Override http request option.
|
|
23272
|
+
* @throws {RequiredError}
|
|
23273
|
+
*/
|
|
23274
|
+
adminV1UsersOnboardingValidationStatusValidationJobIdGet(validationJobId, options) {
|
|
23275
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
23276
|
+
var _a, _b, _c;
|
|
23277
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.adminV1UsersOnboardingValidationStatusValidationJobIdGet(validationJobId, options);
|
|
23278
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
23279
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['OnboardingApi.adminV1UsersOnboardingValidationStatusValidationJobIdGet']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
23280
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
23281
|
+
});
|
|
23282
|
+
},
|
|
23131
23283
|
/**
|
|
23132
23284
|
* Get sample datasets
|
|
23133
23285
|
* @summary Get sample datasets
|
|
@@ -23191,6 +23343,16 @@ export const OnboardingApiFactory = function (configuration, basePath, axios) {
|
|
|
23191
23343
|
adminV1UsersOnboardingPost(dataTypesOnboardingRequest, options) {
|
|
23192
23344
|
return localVarFp.adminV1UsersOnboardingPost(dataTypesOnboardingRequest, options).then((request) => request(axios, basePath));
|
|
23193
23345
|
},
|
|
23346
|
+
/**
|
|
23347
|
+
* Proceeds with importing data after validation. Can import only valid records if proceedWithPartial is true.
|
|
23348
|
+
* @summary Proceed with import after validation
|
|
23349
|
+
* @param {DataTypesProceedWithImportRequest} dataTypesProceedWithImportRequest Proceed import request
|
|
23350
|
+
* @param {*} [options] Override http request option.
|
|
23351
|
+
* @throws {RequiredError}
|
|
23352
|
+
*/
|
|
23353
|
+
adminV1UsersOnboardingProceedImportPost(dataTypesProceedWithImportRequest, options) {
|
|
23354
|
+
return localVarFp.adminV1UsersOnboardingProceedImportPost(dataTypesProceedWithImportRequest, options).then((request) => request(axios, basePath));
|
|
23355
|
+
},
|
|
23194
23356
|
/**
|
|
23195
23357
|
* Uploads a custom schema JSON file for onboarding and stores it into onboardingdata.customSchema
|
|
23196
23358
|
* @summary Upload custom schema JSON
|
|
@@ -23239,6 +23401,27 @@ export const OnboardingApiFactory = function (configuration, basePath, axios) {
|
|
|
23239
23401
|
adminV1UsersOnboardingUploaddataPost(file, options) {
|
|
23240
23402
|
return localVarFp.adminV1UsersOnboardingUploaddataPost(file, options).then((request) => request(axios, basePath));
|
|
23241
23403
|
},
|
|
23404
|
+
/**
|
|
23405
|
+
* Validates uploaded data file and returns validation results without importing. Use this to check for errors before proceeding with import.
|
|
23406
|
+
* @summary Validate uploaded data without importing
|
|
23407
|
+
* @param {File} file Data file (JSON or CSV)
|
|
23408
|
+
* @param {string} [type] Source type (csv_upload, json_upload). If not provided, will be inferred from file extension
|
|
23409
|
+
* @param {*} [options] Override http request option.
|
|
23410
|
+
* @throws {RequiredError}
|
|
23411
|
+
*/
|
|
23412
|
+
adminV1UsersOnboardingValidateDataPost(file, type, options) {
|
|
23413
|
+
return localVarFp.adminV1UsersOnboardingValidateDataPost(file, type, options).then((request) => request(axios, basePath));
|
|
23414
|
+
},
|
|
23415
|
+
/**
|
|
23416
|
+
* Retrieves validation status and results for a validation job. Poll this endpoint to check if validation is complete.
|
|
23417
|
+
* @summary Get validation status and results
|
|
23418
|
+
* @param {string} validationJobId Validation Job ID
|
|
23419
|
+
* @param {*} [options] Override http request option.
|
|
23420
|
+
* @throws {RequiredError}
|
|
23421
|
+
*/
|
|
23422
|
+
adminV1UsersOnboardingValidationStatusValidationJobIdGet(validationJobId, options) {
|
|
23423
|
+
return localVarFp.adminV1UsersOnboardingValidationStatusValidationJobIdGet(validationJobId, options).then((request) => request(axios, basePath));
|
|
23424
|
+
},
|
|
23242
23425
|
/**
|
|
23243
23426
|
* Get sample datasets
|
|
23244
23427
|
* @summary Get sample datasets
|
|
@@ -23300,6 +23483,17 @@ export class OnboardingApi extends BaseAPI {
|
|
|
23300
23483
|
adminV1UsersOnboardingPost(dataTypesOnboardingRequest, options) {
|
|
23301
23484
|
return OnboardingApiFp(this.configuration).adminV1UsersOnboardingPost(dataTypesOnboardingRequest, options).then((request) => request(this.axios, this.basePath));
|
|
23302
23485
|
}
|
|
23486
|
+
/**
|
|
23487
|
+
* Proceeds with importing data after validation. Can import only valid records if proceedWithPartial is true.
|
|
23488
|
+
* @summary Proceed with import after validation
|
|
23489
|
+
* @param {DataTypesProceedWithImportRequest} dataTypesProceedWithImportRequest Proceed import request
|
|
23490
|
+
* @param {*} [options] Override http request option.
|
|
23491
|
+
* @throws {RequiredError}
|
|
23492
|
+
* @memberof OnboardingApi
|
|
23493
|
+
*/
|
|
23494
|
+
adminV1UsersOnboardingProceedImportPost(dataTypesProceedWithImportRequest, options) {
|
|
23495
|
+
return OnboardingApiFp(this.configuration).adminV1UsersOnboardingProceedImportPost(dataTypesProceedWithImportRequest, options).then((request) => request(this.axios, this.basePath));
|
|
23496
|
+
}
|
|
23303
23497
|
/**
|
|
23304
23498
|
* Uploads a custom schema JSON file for onboarding and stores it into onboardingdata.customSchema
|
|
23305
23499
|
* @summary Upload custom schema JSON
|
|
@@ -23353,6 +23547,29 @@ export class OnboardingApi extends BaseAPI {
|
|
|
23353
23547
|
adminV1UsersOnboardingUploaddataPost(file, options) {
|
|
23354
23548
|
return OnboardingApiFp(this.configuration).adminV1UsersOnboardingUploaddataPost(file, options).then((request) => request(this.axios, this.basePath));
|
|
23355
23549
|
}
|
|
23550
|
+
/**
|
|
23551
|
+
* Validates uploaded data file and returns validation results without importing. Use this to check for errors before proceeding with import.
|
|
23552
|
+
* @summary Validate uploaded data without importing
|
|
23553
|
+
* @param {File} file Data file (JSON or CSV)
|
|
23554
|
+
* @param {string} [type] Source type (csv_upload, json_upload). If not provided, will be inferred from file extension
|
|
23555
|
+
* @param {*} [options] Override http request option.
|
|
23556
|
+
* @throws {RequiredError}
|
|
23557
|
+
* @memberof OnboardingApi
|
|
23558
|
+
*/
|
|
23559
|
+
adminV1UsersOnboardingValidateDataPost(file, type, options) {
|
|
23560
|
+
return OnboardingApiFp(this.configuration).adminV1UsersOnboardingValidateDataPost(file, type, options).then((request) => request(this.axios, this.basePath));
|
|
23561
|
+
}
|
|
23562
|
+
/**
|
|
23563
|
+
* Retrieves validation status and results for a validation job. Poll this endpoint to check if validation is complete.
|
|
23564
|
+
* @summary Get validation status and results
|
|
23565
|
+
* @param {string} validationJobId Validation Job ID
|
|
23566
|
+
* @param {*} [options] Override http request option.
|
|
23567
|
+
* @throws {RequiredError}
|
|
23568
|
+
* @memberof OnboardingApi
|
|
23569
|
+
*/
|
|
23570
|
+
adminV1UsersOnboardingValidationStatusValidationJobIdGet(validationJobId, options) {
|
|
23571
|
+
return OnboardingApiFp(this.configuration).adminV1UsersOnboardingValidationStatusValidationJobIdGet(validationJobId, options).then((request) => request(this.axios, this.basePath));
|
|
23572
|
+
}
|
|
23356
23573
|
/**
|
|
23357
23574
|
* Get sample datasets
|
|
23358
23575
|
* @summary Get sample datasets
|
|
@@ -33918,6 +34135,73 @@ export const StoreCreationApiAxiosParamCreator = function (configuration) {
|
|
|
33918
34135
|
options: localVarRequestOptions,
|
|
33919
34136
|
};
|
|
33920
34137
|
}),
|
|
34138
|
+
/**
|
|
34139
|
+
* Retrieves validation status and results for a validation job. Poll this endpoint to check if validation is complete.
|
|
34140
|
+
* @summary Get validation status and results
|
|
34141
|
+
* @param {string} validationJobId Validation Job ID
|
|
34142
|
+
* @param {*} [options] Override http request option.
|
|
34143
|
+
* @throws {RequiredError}
|
|
34144
|
+
*/
|
|
34145
|
+
adminV1StoreCreationValidationStatusValidationJobIdGet: (validationJobId_1, ...args_1) => __awaiter(this, [validationJobId_1, ...args_1], void 0, function* (validationJobId, options = {}) {
|
|
34146
|
+
// verify required parameter 'validationJobId' is not null or undefined
|
|
34147
|
+
assertParamExists('adminV1StoreCreationValidationStatusValidationJobIdGet', 'validationJobId', validationJobId);
|
|
34148
|
+
const localVarPath = `/admin/v1/store-creation/validation-status/{validationJobId}`
|
|
34149
|
+
.replace(`{${"validationJobId"}}`, encodeURIComponent(String(validationJobId)));
|
|
34150
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
34151
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
34152
|
+
let baseOptions;
|
|
34153
|
+
if (configuration) {
|
|
34154
|
+
baseOptions = configuration.baseOptions;
|
|
34155
|
+
}
|
|
34156
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
34157
|
+
const localVarHeaderParameter = {};
|
|
34158
|
+
const localVarQueryParameter = {};
|
|
34159
|
+
// authentication BearerAuth required
|
|
34160
|
+
yield setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
|
|
34161
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
34162
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
34163
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
34164
|
+
return {
|
|
34165
|
+
url: toPathString(localVarUrlObj),
|
|
34166
|
+
options: localVarRequestOptions,
|
|
34167
|
+
};
|
|
34168
|
+
}),
|
|
34169
|
+
/**
|
|
34170
|
+
* Proceeds with importing data after validation. Can import only valid records if proceedWithPartial is true.
|
|
34171
|
+
* @summary Proceed with import after validation
|
|
34172
|
+
* @param {string} xstoreid Store XStoreID
|
|
34173
|
+
* @param {DataTypesProceedWithImportRequest} dataTypesProceedWithImportRequest Proceed import request
|
|
34174
|
+
* @param {*} [options] Override http request option.
|
|
34175
|
+
* @throws {RequiredError}
|
|
34176
|
+
*/
|
|
34177
|
+
adminV1StoreCreationXstoreidProceedImportPost: (xstoreid_1, dataTypesProceedWithImportRequest_1, ...args_1) => __awaiter(this, [xstoreid_1, dataTypesProceedWithImportRequest_1, ...args_1], void 0, function* (xstoreid, dataTypesProceedWithImportRequest, options = {}) {
|
|
34178
|
+
// verify required parameter 'xstoreid' is not null or undefined
|
|
34179
|
+
assertParamExists('adminV1StoreCreationXstoreidProceedImportPost', 'xstoreid', xstoreid);
|
|
34180
|
+
// verify required parameter 'dataTypesProceedWithImportRequest' is not null or undefined
|
|
34181
|
+
assertParamExists('adminV1StoreCreationXstoreidProceedImportPost', 'dataTypesProceedWithImportRequest', dataTypesProceedWithImportRequest);
|
|
34182
|
+
const localVarPath = `/admin/v1/store-creation/{xstoreid}/proceed-import`
|
|
34183
|
+
.replace(`{${"xstoreid"}}`, encodeURIComponent(String(xstoreid)));
|
|
34184
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
34185
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
34186
|
+
let baseOptions;
|
|
34187
|
+
if (configuration) {
|
|
34188
|
+
baseOptions = configuration.baseOptions;
|
|
34189
|
+
}
|
|
34190
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
|
|
34191
|
+
const localVarHeaderParameter = {};
|
|
34192
|
+
const localVarQueryParameter = {};
|
|
34193
|
+
// authentication BearerAuth required
|
|
34194
|
+
yield setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
|
|
34195
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
34196
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
34197
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
34198
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
34199
|
+
localVarRequestOptions.data = serializeDataIfNeeded(dataTypesProceedWithImportRequest, localVarRequestOptions, configuration);
|
|
34200
|
+
return {
|
|
34201
|
+
url: toPathString(localVarUrlObj),
|
|
34202
|
+
options: localVarRequestOptions,
|
|
34203
|
+
};
|
|
34204
|
+
}),
|
|
33921
34205
|
/**
|
|
33922
34206
|
* Deletes (soft delete) the store creation progress for a specific store using XStoreID from path parameter
|
|
33923
34207
|
* @summary Delete store creation progress by XStoreID
|
|
@@ -34056,6 +34340,46 @@ export const StoreCreationApiAxiosParamCreator = function (configuration) {
|
|
|
34056
34340
|
options: localVarRequestOptions,
|
|
34057
34341
|
};
|
|
34058
34342
|
}),
|
|
34343
|
+
/**
|
|
34344
|
+
* Validates uploaded data file and returns validation results without importing. Use this to check for errors before proceeding with import.
|
|
34345
|
+
* @summary Validate uploaded data without importing
|
|
34346
|
+
* @param {string} xstoreid Store XStoreID
|
|
34347
|
+
* @param {File} file Data file (JSON or CSV)
|
|
34348
|
+
* @param {*} [options] Override http request option.
|
|
34349
|
+
* @throws {RequiredError}
|
|
34350
|
+
*/
|
|
34351
|
+
adminV1StoreCreationXstoreidValidateDataPost: (xstoreid_1, file_1, ...args_1) => __awaiter(this, [xstoreid_1, file_1, ...args_1], void 0, function* (xstoreid, file, options = {}) {
|
|
34352
|
+
// verify required parameter 'xstoreid' is not null or undefined
|
|
34353
|
+
assertParamExists('adminV1StoreCreationXstoreidValidateDataPost', 'xstoreid', xstoreid);
|
|
34354
|
+
// verify required parameter 'file' is not null or undefined
|
|
34355
|
+
assertParamExists('adminV1StoreCreationXstoreidValidateDataPost', 'file', file);
|
|
34356
|
+
const localVarPath = `/admin/v1/store-creation/{xstoreid}/validate-data`
|
|
34357
|
+
.replace(`{${"xstoreid"}}`, encodeURIComponent(String(xstoreid)));
|
|
34358
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
34359
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
34360
|
+
let baseOptions;
|
|
34361
|
+
if (configuration) {
|
|
34362
|
+
baseOptions = configuration.baseOptions;
|
|
34363
|
+
}
|
|
34364
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
|
|
34365
|
+
const localVarHeaderParameter = {};
|
|
34366
|
+
const localVarQueryParameter = {};
|
|
34367
|
+
const localVarFormParams = new ((configuration && configuration.formDataCtor) || FormData)();
|
|
34368
|
+
// authentication BearerAuth required
|
|
34369
|
+
yield setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
|
|
34370
|
+
if (file !== undefined) {
|
|
34371
|
+
localVarFormParams.append('file', file);
|
|
34372
|
+
}
|
|
34373
|
+
localVarHeaderParameter['Content-Type'] = 'multipart/form-data';
|
|
34374
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
34375
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
34376
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
34377
|
+
localVarRequestOptions.data = localVarFormParams;
|
|
34378
|
+
return {
|
|
34379
|
+
url: toPathString(localVarUrlObj),
|
|
34380
|
+
options: localVarRequestOptions,
|
|
34381
|
+
};
|
|
34382
|
+
}),
|
|
34059
34383
|
};
|
|
34060
34384
|
};
|
|
34061
34385
|
/**
|
|
@@ -34143,6 +34467,39 @@ export const StoreCreationApiFp = function (configuration) {
|
|
|
34143
34467
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
34144
34468
|
});
|
|
34145
34469
|
},
|
|
34470
|
+
/**
|
|
34471
|
+
* Retrieves validation status and results for a validation job. Poll this endpoint to check if validation is complete.
|
|
34472
|
+
* @summary Get validation status and results
|
|
34473
|
+
* @param {string} validationJobId Validation Job ID
|
|
34474
|
+
* @param {*} [options] Override http request option.
|
|
34475
|
+
* @throws {RequiredError}
|
|
34476
|
+
*/
|
|
34477
|
+
adminV1StoreCreationValidationStatusValidationJobIdGet(validationJobId, options) {
|
|
34478
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
34479
|
+
var _a, _b, _c;
|
|
34480
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.adminV1StoreCreationValidationStatusValidationJobIdGet(validationJobId, options);
|
|
34481
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
34482
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['StoreCreationApi.adminV1StoreCreationValidationStatusValidationJobIdGet']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
34483
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
34484
|
+
});
|
|
34485
|
+
},
|
|
34486
|
+
/**
|
|
34487
|
+
* Proceeds with importing data after validation. Can import only valid records if proceedWithPartial is true.
|
|
34488
|
+
* @summary Proceed with import after validation
|
|
34489
|
+
* @param {string} xstoreid Store XStoreID
|
|
34490
|
+
* @param {DataTypesProceedWithImportRequest} dataTypesProceedWithImportRequest Proceed import request
|
|
34491
|
+
* @param {*} [options] Override http request option.
|
|
34492
|
+
* @throws {RequiredError}
|
|
34493
|
+
*/
|
|
34494
|
+
adminV1StoreCreationXstoreidProceedImportPost(xstoreid, dataTypesProceedWithImportRequest, options) {
|
|
34495
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
34496
|
+
var _a, _b, _c;
|
|
34497
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.adminV1StoreCreationXstoreidProceedImportPost(xstoreid, dataTypesProceedWithImportRequest, options);
|
|
34498
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
34499
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['StoreCreationApi.adminV1StoreCreationXstoreidProceedImportPost']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
34500
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
34501
|
+
});
|
|
34502
|
+
},
|
|
34146
34503
|
/**
|
|
34147
34504
|
* Deletes (soft delete) the store creation progress for a specific store using XStoreID from path parameter
|
|
34148
34505
|
* @summary Delete store creation progress by XStoreID
|
|
@@ -34209,6 +34566,23 @@ export const StoreCreationApiFp = function (configuration) {
|
|
|
34209
34566
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
34210
34567
|
});
|
|
34211
34568
|
},
|
|
34569
|
+
/**
|
|
34570
|
+
* Validates uploaded data file and returns validation results without importing. Use this to check for errors before proceeding with import.
|
|
34571
|
+
* @summary Validate uploaded data without importing
|
|
34572
|
+
* @param {string} xstoreid Store XStoreID
|
|
34573
|
+
* @param {File} file Data file (JSON or CSV)
|
|
34574
|
+
* @param {*} [options] Override http request option.
|
|
34575
|
+
* @throws {RequiredError}
|
|
34576
|
+
*/
|
|
34577
|
+
adminV1StoreCreationXstoreidValidateDataPost(xstoreid, file, options) {
|
|
34578
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
34579
|
+
var _a, _b, _c;
|
|
34580
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.adminV1StoreCreationXstoreidValidateDataPost(xstoreid, file, options);
|
|
34581
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
34582
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['StoreCreationApi.adminV1StoreCreationXstoreidValidateDataPost']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
34583
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
34584
|
+
});
|
|
34585
|
+
},
|
|
34212
34586
|
};
|
|
34213
34587
|
};
|
|
34214
34588
|
/**
|
|
@@ -34266,6 +34640,27 @@ export const StoreCreationApiFactory = function (configuration, basePath, axios)
|
|
|
34266
34640
|
adminV1StoreCreationStepPost(dataTypesStoreCreationRequest, options) {
|
|
34267
34641
|
return localVarFp.adminV1StoreCreationStepPost(dataTypesStoreCreationRequest, options).then((request) => request(axios, basePath));
|
|
34268
34642
|
},
|
|
34643
|
+
/**
|
|
34644
|
+
* Retrieves validation status and results for a validation job. Poll this endpoint to check if validation is complete.
|
|
34645
|
+
* @summary Get validation status and results
|
|
34646
|
+
* @param {string} validationJobId Validation Job ID
|
|
34647
|
+
* @param {*} [options] Override http request option.
|
|
34648
|
+
* @throws {RequiredError}
|
|
34649
|
+
*/
|
|
34650
|
+
adminV1StoreCreationValidationStatusValidationJobIdGet(validationJobId, options) {
|
|
34651
|
+
return localVarFp.adminV1StoreCreationValidationStatusValidationJobIdGet(validationJobId, options).then((request) => request(axios, basePath));
|
|
34652
|
+
},
|
|
34653
|
+
/**
|
|
34654
|
+
* Proceeds with importing data after validation. Can import only valid records if proceedWithPartial is true.
|
|
34655
|
+
* @summary Proceed with import after validation
|
|
34656
|
+
* @param {string} xstoreid Store XStoreID
|
|
34657
|
+
* @param {DataTypesProceedWithImportRequest} dataTypesProceedWithImportRequest Proceed import request
|
|
34658
|
+
* @param {*} [options] Override http request option.
|
|
34659
|
+
* @throws {RequiredError}
|
|
34660
|
+
*/
|
|
34661
|
+
adminV1StoreCreationXstoreidProceedImportPost(xstoreid, dataTypesProceedWithImportRequest, options) {
|
|
34662
|
+
return localVarFp.adminV1StoreCreationXstoreidProceedImportPost(xstoreid, dataTypesProceedWithImportRequest, options).then((request) => request(axios, basePath));
|
|
34663
|
+
},
|
|
34269
34664
|
/**
|
|
34270
34665
|
* Deletes (soft delete) the store creation progress for a specific store using XStoreID from path parameter
|
|
34271
34666
|
* @summary Delete store creation progress by XStoreID
|
|
@@ -34308,6 +34703,17 @@ export const StoreCreationApiFactory = function (configuration, basePath, axios)
|
|
|
34308
34703
|
adminV1StoreCreationXstoreidUploadDataPost(xstoreid, file, options) {
|
|
34309
34704
|
return localVarFp.adminV1StoreCreationXstoreidUploadDataPost(xstoreid, file, options).then((request) => request(axios, basePath));
|
|
34310
34705
|
},
|
|
34706
|
+
/**
|
|
34707
|
+
* Validates uploaded data file and returns validation results without importing. Use this to check for errors before proceeding with import.
|
|
34708
|
+
* @summary Validate uploaded data without importing
|
|
34709
|
+
* @param {string} xstoreid Store XStoreID
|
|
34710
|
+
* @param {File} file Data file (JSON or CSV)
|
|
34711
|
+
* @param {*} [options] Override http request option.
|
|
34712
|
+
* @throws {RequiredError}
|
|
34713
|
+
*/
|
|
34714
|
+
adminV1StoreCreationXstoreidValidateDataPost(xstoreid, file, options) {
|
|
34715
|
+
return localVarFp.adminV1StoreCreationXstoreidValidateDataPost(xstoreid, file, options).then((request) => request(axios, basePath));
|
|
34716
|
+
},
|
|
34311
34717
|
};
|
|
34312
34718
|
};
|
|
34313
34719
|
/**
|
|
@@ -34370,6 +34776,29 @@ export class StoreCreationApi extends BaseAPI {
|
|
|
34370
34776
|
adminV1StoreCreationStepPost(dataTypesStoreCreationRequest, options) {
|
|
34371
34777
|
return StoreCreationApiFp(this.configuration).adminV1StoreCreationStepPost(dataTypesStoreCreationRequest, options).then((request) => request(this.axios, this.basePath));
|
|
34372
34778
|
}
|
|
34779
|
+
/**
|
|
34780
|
+
* Retrieves validation status and results for a validation job. Poll this endpoint to check if validation is complete.
|
|
34781
|
+
* @summary Get validation status and results
|
|
34782
|
+
* @param {string} validationJobId Validation Job ID
|
|
34783
|
+
* @param {*} [options] Override http request option.
|
|
34784
|
+
* @throws {RequiredError}
|
|
34785
|
+
* @memberof StoreCreationApi
|
|
34786
|
+
*/
|
|
34787
|
+
adminV1StoreCreationValidationStatusValidationJobIdGet(validationJobId, options) {
|
|
34788
|
+
return StoreCreationApiFp(this.configuration).adminV1StoreCreationValidationStatusValidationJobIdGet(validationJobId, options).then((request) => request(this.axios, this.basePath));
|
|
34789
|
+
}
|
|
34790
|
+
/**
|
|
34791
|
+
* Proceeds with importing data after validation. Can import only valid records if proceedWithPartial is true.
|
|
34792
|
+
* @summary Proceed with import after validation
|
|
34793
|
+
* @param {string} xstoreid Store XStoreID
|
|
34794
|
+
* @param {DataTypesProceedWithImportRequest} dataTypesProceedWithImportRequest Proceed import request
|
|
34795
|
+
* @param {*} [options] Override http request option.
|
|
34796
|
+
* @throws {RequiredError}
|
|
34797
|
+
* @memberof StoreCreationApi
|
|
34798
|
+
*/
|
|
34799
|
+
adminV1StoreCreationXstoreidProceedImportPost(xstoreid, dataTypesProceedWithImportRequest, options) {
|
|
34800
|
+
return StoreCreationApiFp(this.configuration).adminV1StoreCreationXstoreidProceedImportPost(xstoreid, dataTypesProceedWithImportRequest, options).then((request) => request(this.axios, this.basePath));
|
|
34801
|
+
}
|
|
34373
34802
|
/**
|
|
34374
34803
|
* Deletes (soft delete) the store creation progress for a specific store using XStoreID from path parameter
|
|
34375
34804
|
* @summary Delete store creation progress by XStoreID
|
|
@@ -34416,6 +34845,18 @@ export class StoreCreationApi extends BaseAPI {
|
|
|
34416
34845
|
adminV1StoreCreationXstoreidUploadDataPost(xstoreid, file, options) {
|
|
34417
34846
|
return StoreCreationApiFp(this.configuration).adminV1StoreCreationXstoreidUploadDataPost(xstoreid, file, options).then((request) => request(this.axios, this.basePath));
|
|
34418
34847
|
}
|
|
34848
|
+
/**
|
|
34849
|
+
* Validates uploaded data file and returns validation results without importing. Use this to check for errors before proceeding with import.
|
|
34850
|
+
* @summary Validate uploaded data without importing
|
|
34851
|
+
* @param {string} xstoreid Store XStoreID
|
|
34852
|
+
* @param {File} file Data file (JSON or CSV)
|
|
34853
|
+
* @param {*} [options] Override http request option.
|
|
34854
|
+
* @throws {RequiredError}
|
|
34855
|
+
* @memberof StoreCreationApi
|
|
34856
|
+
*/
|
|
34857
|
+
adminV1StoreCreationXstoreidValidateDataPost(xstoreid, file, options) {
|
|
34858
|
+
return StoreCreationApiFp(this.configuration).adminV1StoreCreationXstoreidValidateDataPost(xstoreid, file, options).then((request) => request(this.axios, this.basePath));
|
|
34859
|
+
}
|
|
34419
34860
|
}
|
|
34420
34861
|
/**
|
|
34421
34862
|
* StoreDocumentsApi - axios parameter creator
|
package/package.json
CHANGED
|
Binary file
|
|
Binary file
|