@seekora-ai/admin-api 1.0.7 → 1.0.8
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 +16 -3
- package/api.ts +429 -17
- package/dist/api.d.ts +360 -23
- package/dist/api.js +129 -0
- package/dist/esm/api.d.ts +360 -23
- package/dist/esm/api.js +129 -0
- package/package.json +1 -1
- package/seekora-ai-admin-api-1.0.8.tgz +0 -0
- package/seekora-ai-admin-api-1.0.7.tgz +0 -0
package/dist/esm/api.js
CHANGED
|
@@ -4200,6 +4200,37 @@ export const OnboardingApiAxiosParamCreator = function (configuration) {
|
|
|
4200
4200
|
options: localVarRequestOptions,
|
|
4201
4201
|
};
|
|
4202
4202
|
}),
|
|
4203
|
+
/**
|
|
4204
|
+
* Get job status
|
|
4205
|
+
* @summary Get job status
|
|
4206
|
+
* @param {string} jobid Job ID
|
|
4207
|
+
* @param {*} [options] Override http request option.
|
|
4208
|
+
* @throws {RequiredError}
|
|
4209
|
+
*/
|
|
4210
|
+
adminV1UsersOnboardingJobstatusJobidGet: (jobid_1, ...args_1) => __awaiter(this, [jobid_1, ...args_1], void 0, function* (jobid, options = {}) {
|
|
4211
|
+
// verify required parameter 'jobid' is not null or undefined
|
|
4212
|
+
assertParamExists('adminV1UsersOnboardingJobstatusJobidGet', 'jobid', jobid);
|
|
4213
|
+
const localVarPath = `/admin/v1/users/onboarding/jobstatus/{jobid}`
|
|
4214
|
+
.replace(`{${"jobid"}}`, encodeURIComponent(String(jobid)));
|
|
4215
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
4216
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
4217
|
+
let baseOptions;
|
|
4218
|
+
if (configuration) {
|
|
4219
|
+
baseOptions = configuration.baseOptions;
|
|
4220
|
+
}
|
|
4221
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
4222
|
+
const localVarHeaderParameter = {};
|
|
4223
|
+
const localVarQueryParameter = {};
|
|
4224
|
+
// authentication BearerAuth required
|
|
4225
|
+
yield setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
|
|
4226
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
4227
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
4228
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
4229
|
+
return {
|
|
4230
|
+
url: toPathString(localVarUrlObj),
|
|
4231
|
+
options: localVarRequestOptions,
|
|
4232
|
+
};
|
|
4233
|
+
}),
|
|
4203
4234
|
/**
|
|
4204
4235
|
* Updates onboardingstep and merges new data into onboardingdata JSON
|
|
4205
4236
|
* @summary Update user onboarding step
|
|
@@ -4268,6 +4299,33 @@ export const OnboardingApiAxiosParamCreator = function (configuration) {
|
|
|
4268
4299
|
options: localVarRequestOptions,
|
|
4269
4300
|
};
|
|
4270
4301
|
}),
|
|
4302
|
+
/**
|
|
4303
|
+
* Get schema options
|
|
4304
|
+
* @summary Get schema options
|
|
4305
|
+
* @param {*} [options] Override http request option.
|
|
4306
|
+
* @throws {RequiredError}
|
|
4307
|
+
*/
|
|
4308
|
+
adminV1UsersOnboardingSchemaoptionsGet: (...args_1) => __awaiter(this, [...args_1], void 0, function* (options = {}) {
|
|
4309
|
+
const localVarPath = `/admin/v1/users/onboarding/schemaoptions`;
|
|
4310
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
4311
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
4312
|
+
let baseOptions;
|
|
4313
|
+
if (configuration) {
|
|
4314
|
+
baseOptions = configuration.baseOptions;
|
|
4315
|
+
}
|
|
4316
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
4317
|
+
const localVarHeaderParameter = {};
|
|
4318
|
+
const localVarQueryParameter = {};
|
|
4319
|
+
// authentication BearerAuth required
|
|
4320
|
+
yield setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
|
|
4321
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
4322
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
4323
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
4324
|
+
return {
|
|
4325
|
+
url: toPathString(localVarUrlObj),
|
|
4326
|
+
options: localVarRequestOptions,
|
|
4327
|
+
};
|
|
4328
|
+
}),
|
|
4271
4329
|
/**
|
|
4272
4330
|
* Test search endpoint
|
|
4273
4331
|
* @summary Test search
|
|
@@ -4357,6 +4415,22 @@ export const OnboardingApiFp = function (configuration) {
|
|
|
4357
4415
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
4358
4416
|
});
|
|
4359
4417
|
},
|
|
4418
|
+
/**
|
|
4419
|
+
* Get job status
|
|
4420
|
+
* @summary Get job status
|
|
4421
|
+
* @param {string} jobid Job ID
|
|
4422
|
+
* @param {*} [options] Override http request option.
|
|
4423
|
+
* @throws {RequiredError}
|
|
4424
|
+
*/
|
|
4425
|
+
adminV1UsersOnboardingJobstatusJobidGet(jobid, options) {
|
|
4426
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
4427
|
+
var _a, _b, _c;
|
|
4428
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.adminV1UsersOnboardingJobstatusJobidGet(jobid, options);
|
|
4429
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
4430
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['OnboardingApi.adminV1UsersOnboardingJobstatusJobidGet']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
4431
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
4432
|
+
});
|
|
4433
|
+
},
|
|
4360
4434
|
/**
|
|
4361
4435
|
* Updates onboardingstep and merges new data into onboardingdata JSON
|
|
4362
4436
|
* @summary Update user onboarding step
|
|
@@ -4389,6 +4463,21 @@ export const OnboardingApiFp = function (configuration) {
|
|
|
4389
4463
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
4390
4464
|
});
|
|
4391
4465
|
},
|
|
4466
|
+
/**
|
|
4467
|
+
* Get schema options
|
|
4468
|
+
* @summary Get schema options
|
|
4469
|
+
* @param {*} [options] Override http request option.
|
|
4470
|
+
* @throws {RequiredError}
|
|
4471
|
+
*/
|
|
4472
|
+
adminV1UsersOnboardingSchemaoptionsGet(options) {
|
|
4473
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
4474
|
+
var _a, _b, _c;
|
|
4475
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.adminV1UsersOnboardingSchemaoptionsGet(options);
|
|
4476
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
4477
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['OnboardingApi.adminV1UsersOnboardingSchemaoptionsGet']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
4478
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
4479
|
+
});
|
|
4480
|
+
},
|
|
4392
4481
|
/**
|
|
4393
4482
|
* Test search endpoint
|
|
4394
4483
|
* @summary Test search
|
|
@@ -4439,6 +4528,16 @@ export const OnboardingApiFactory = function (configuration, basePath, axios) {
|
|
|
4439
4528
|
adminV1UsersOnboardingGet(options) {
|
|
4440
4529
|
return localVarFp.adminV1UsersOnboardingGet(options).then((request) => request(axios, basePath));
|
|
4441
4530
|
},
|
|
4531
|
+
/**
|
|
4532
|
+
* Get job status
|
|
4533
|
+
* @summary Get job status
|
|
4534
|
+
* @param {string} jobid Job ID
|
|
4535
|
+
* @param {*} [options] Override http request option.
|
|
4536
|
+
* @throws {RequiredError}
|
|
4537
|
+
*/
|
|
4538
|
+
adminV1UsersOnboardingJobstatusJobidGet(jobid, options) {
|
|
4539
|
+
return localVarFp.adminV1UsersOnboardingJobstatusJobidGet(jobid, options).then((request) => request(axios, basePath));
|
|
4540
|
+
},
|
|
4442
4541
|
/**
|
|
4443
4542
|
* Updates onboardingstep and merges new data into onboardingdata JSON
|
|
4444
4543
|
* @summary Update user onboarding step
|
|
@@ -4459,6 +4558,15 @@ export const OnboardingApiFactory = function (configuration, basePath, axios) {
|
|
|
4459
4558
|
adminV1UsersOnboardingSchemaUploadPost(file, options) {
|
|
4460
4559
|
return localVarFp.adminV1UsersOnboardingSchemaUploadPost(file, options).then((request) => request(axios, basePath));
|
|
4461
4560
|
},
|
|
4561
|
+
/**
|
|
4562
|
+
* Get schema options
|
|
4563
|
+
* @summary Get schema options
|
|
4564
|
+
* @param {*} [options] Override http request option.
|
|
4565
|
+
* @throws {RequiredError}
|
|
4566
|
+
*/
|
|
4567
|
+
adminV1UsersOnboardingSchemaoptionsGet(options) {
|
|
4568
|
+
return localVarFp.adminV1UsersOnboardingSchemaoptionsGet(options).then((request) => request(axios, basePath));
|
|
4569
|
+
},
|
|
4462
4570
|
/**
|
|
4463
4571
|
* Test search endpoint
|
|
4464
4572
|
* @summary Test search
|
|
@@ -4498,6 +4606,17 @@ export class OnboardingApi extends BaseAPI {
|
|
|
4498
4606
|
adminV1UsersOnboardingGet(options) {
|
|
4499
4607
|
return OnboardingApiFp(this.configuration).adminV1UsersOnboardingGet(options).then((request) => request(this.axios, this.basePath));
|
|
4500
4608
|
}
|
|
4609
|
+
/**
|
|
4610
|
+
* Get job status
|
|
4611
|
+
* @summary Get job status
|
|
4612
|
+
* @param {string} jobid Job ID
|
|
4613
|
+
* @param {*} [options] Override http request option.
|
|
4614
|
+
* @throws {RequiredError}
|
|
4615
|
+
* @memberof OnboardingApi
|
|
4616
|
+
*/
|
|
4617
|
+
adminV1UsersOnboardingJobstatusJobidGet(jobid, options) {
|
|
4618
|
+
return OnboardingApiFp(this.configuration).adminV1UsersOnboardingJobstatusJobidGet(jobid, options).then((request) => request(this.axios, this.basePath));
|
|
4619
|
+
}
|
|
4501
4620
|
/**
|
|
4502
4621
|
* Updates onboardingstep and merges new data into onboardingdata JSON
|
|
4503
4622
|
* @summary Update user onboarding step
|
|
@@ -4520,6 +4639,16 @@ export class OnboardingApi extends BaseAPI {
|
|
|
4520
4639
|
adminV1UsersOnboardingSchemaUploadPost(file, options) {
|
|
4521
4640
|
return OnboardingApiFp(this.configuration).adminV1UsersOnboardingSchemaUploadPost(file, options).then((request) => request(this.axios, this.basePath));
|
|
4522
4641
|
}
|
|
4642
|
+
/**
|
|
4643
|
+
* Get schema options
|
|
4644
|
+
* @summary Get schema options
|
|
4645
|
+
* @param {*} [options] Override http request option.
|
|
4646
|
+
* @throws {RequiredError}
|
|
4647
|
+
* @memberof OnboardingApi
|
|
4648
|
+
*/
|
|
4649
|
+
adminV1UsersOnboardingSchemaoptionsGet(options) {
|
|
4650
|
+
return OnboardingApiFp(this.configuration).adminV1UsersOnboardingSchemaoptionsGet(options).then((request) => request(this.axios, this.basePath));
|
|
4651
|
+
}
|
|
4523
4652
|
/**
|
|
4524
4653
|
* Test search endpoint
|
|
4525
4654
|
* @summary Test search
|
package/package.json
CHANGED
|
Binary file
|
|
Binary file
|