@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/api.js
CHANGED
|
@@ -4240,6 +4240,37 @@ const OnboardingApiAxiosParamCreator = function (configuration) {
|
|
|
4240
4240
|
options: localVarRequestOptions,
|
|
4241
4241
|
};
|
|
4242
4242
|
}),
|
|
4243
|
+
/**
|
|
4244
|
+
* Get job status
|
|
4245
|
+
* @summary Get job status
|
|
4246
|
+
* @param {string} jobid Job ID
|
|
4247
|
+
* @param {*} [options] Override http request option.
|
|
4248
|
+
* @throws {RequiredError}
|
|
4249
|
+
*/
|
|
4250
|
+
adminV1UsersOnboardingJobstatusJobidGet: (jobid_1, ...args_1) => __awaiter(this, [jobid_1, ...args_1], void 0, function* (jobid, options = {}) {
|
|
4251
|
+
// verify required parameter 'jobid' is not null or undefined
|
|
4252
|
+
(0, common_1.assertParamExists)('adminV1UsersOnboardingJobstatusJobidGet', 'jobid', jobid);
|
|
4253
|
+
const localVarPath = `/admin/v1/users/onboarding/jobstatus/{jobid}`
|
|
4254
|
+
.replace(`{${"jobid"}}`, encodeURIComponent(String(jobid)));
|
|
4255
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
4256
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
4257
|
+
let baseOptions;
|
|
4258
|
+
if (configuration) {
|
|
4259
|
+
baseOptions = configuration.baseOptions;
|
|
4260
|
+
}
|
|
4261
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
4262
|
+
const localVarHeaderParameter = {};
|
|
4263
|
+
const localVarQueryParameter = {};
|
|
4264
|
+
// authentication BearerAuth required
|
|
4265
|
+
yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Authorization", configuration);
|
|
4266
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
4267
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
4268
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
4269
|
+
return {
|
|
4270
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
4271
|
+
options: localVarRequestOptions,
|
|
4272
|
+
};
|
|
4273
|
+
}),
|
|
4243
4274
|
/**
|
|
4244
4275
|
* Updates onboardingstep and merges new data into onboardingdata JSON
|
|
4245
4276
|
* @summary Update user onboarding step
|
|
@@ -4308,6 +4339,33 @@ const OnboardingApiAxiosParamCreator = function (configuration) {
|
|
|
4308
4339
|
options: localVarRequestOptions,
|
|
4309
4340
|
};
|
|
4310
4341
|
}),
|
|
4342
|
+
/**
|
|
4343
|
+
* Get schema options
|
|
4344
|
+
* @summary Get schema options
|
|
4345
|
+
* @param {*} [options] Override http request option.
|
|
4346
|
+
* @throws {RequiredError}
|
|
4347
|
+
*/
|
|
4348
|
+
adminV1UsersOnboardingSchemaoptionsGet: (...args_1) => __awaiter(this, [...args_1], void 0, function* (options = {}) {
|
|
4349
|
+
const localVarPath = `/admin/v1/users/onboarding/schemaoptions`;
|
|
4350
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
4351
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
4352
|
+
let baseOptions;
|
|
4353
|
+
if (configuration) {
|
|
4354
|
+
baseOptions = configuration.baseOptions;
|
|
4355
|
+
}
|
|
4356
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
4357
|
+
const localVarHeaderParameter = {};
|
|
4358
|
+
const localVarQueryParameter = {};
|
|
4359
|
+
// authentication BearerAuth required
|
|
4360
|
+
yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Authorization", configuration);
|
|
4361
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
4362
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
4363
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
4364
|
+
return {
|
|
4365
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
4366
|
+
options: localVarRequestOptions,
|
|
4367
|
+
};
|
|
4368
|
+
}),
|
|
4311
4369
|
/**
|
|
4312
4370
|
* Test search endpoint
|
|
4313
4371
|
* @summary Test search
|
|
@@ -4398,6 +4456,22 @@ const OnboardingApiFp = function (configuration) {
|
|
|
4398
4456
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
4399
4457
|
});
|
|
4400
4458
|
},
|
|
4459
|
+
/**
|
|
4460
|
+
* Get job status
|
|
4461
|
+
* @summary Get job status
|
|
4462
|
+
* @param {string} jobid Job ID
|
|
4463
|
+
* @param {*} [options] Override http request option.
|
|
4464
|
+
* @throws {RequiredError}
|
|
4465
|
+
*/
|
|
4466
|
+
adminV1UsersOnboardingJobstatusJobidGet(jobid, options) {
|
|
4467
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
4468
|
+
var _a, _b, _c;
|
|
4469
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.adminV1UsersOnboardingJobstatusJobidGet(jobid, options);
|
|
4470
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
4471
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['OnboardingApi.adminV1UsersOnboardingJobstatusJobidGet']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
4472
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
4473
|
+
});
|
|
4474
|
+
},
|
|
4401
4475
|
/**
|
|
4402
4476
|
* Updates onboardingstep and merges new data into onboardingdata JSON
|
|
4403
4477
|
* @summary Update user onboarding step
|
|
@@ -4430,6 +4504,21 @@ const OnboardingApiFp = function (configuration) {
|
|
|
4430
4504
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
4431
4505
|
});
|
|
4432
4506
|
},
|
|
4507
|
+
/**
|
|
4508
|
+
* Get schema options
|
|
4509
|
+
* @summary Get schema options
|
|
4510
|
+
* @param {*} [options] Override http request option.
|
|
4511
|
+
* @throws {RequiredError}
|
|
4512
|
+
*/
|
|
4513
|
+
adminV1UsersOnboardingSchemaoptionsGet(options) {
|
|
4514
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
4515
|
+
var _a, _b, _c;
|
|
4516
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.adminV1UsersOnboardingSchemaoptionsGet(options);
|
|
4517
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
4518
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['OnboardingApi.adminV1UsersOnboardingSchemaoptionsGet']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
4519
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
4520
|
+
});
|
|
4521
|
+
},
|
|
4433
4522
|
/**
|
|
4434
4523
|
* Test search endpoint
|
|
4435
4524
|
* @summary Test search
|
|
@@ -4481,6 +4570,16 @@ const OnboardingApiFactory = function (configuration, basePath, axios) {
|
|
|
4481
4570
|
adminV1UsersOnboardingGet(options) {
|
|
4482
4571
|
return localVarFp.adminV1UsersOnboardingGet(options).then((request) => request(axios, basePath));
|
|
4483
4572
|
},
|
|
4573
|
+
/**
|
|
4574
|
+
* Get job status
|
|
4575
|
+
* @summary Get job status
|
|
4576
|
+
* @param {string} jobid Job ID
|
|
4577
|
+
* @param {*} [options] Override http request option.
|
|
4578
|
+
* @throws {RequiredError}
|
|
4579
|
+
*/
|
|
4580
|
+
adminV1UsersOnboardingJobstatusJobidGet(jobid, options) {
|
|
4581
|
+
return localVarFp.adminV1UsersOnboardingJobstatusJobidGet(jobid, options).then((request) => request(axios, basePath));
|
|
4582
|
+
},
|
|
4484
4583
|
/**
|
|
4485
4584
|
* Updates onboardingstep and merges new data into onboardingdata JSON
|
|
4486
4585
|
* @summary Update user onboarding step
|
|
@@ -4501,6 +4600,15 @@ const OnboardingApiFactory = function (configuration, basePath, axios) {
|
|
|
4501
4600
|
adminV1UsersOnboardingSchemaUploadPost(file, options) {
|
|
4502
4601
|
return localVarFp.adminV1UsersOnboardingSchemaUploadPost(file, options).then((request) => request(axios, basePath));
|
|
4503
4602
|
},
|
|
4603
|
+
/**
|
|
4604
|
+
* Get schema options
|
|
4605
|
+
* @summary Get schema options
|
|
4606
|
+
* @param {*} [options] Override http request option.
|
|
4607
|
+
* @throws {RequiredError}
|
|
4608
|
+
*/
|
|
4609
|
+
adminV1UsersOnboardingSchemaoptionsGet(options) {
|
|
4610
|
+
return localVarFp.adminV1UsersOnboardingSchemaoptionsGet(options).then((request) => request(axios, basePath));
|
|
4611
|
+
},
|
|
4504
4612
|
/**
|
|
4505
4613
|
* Test search endpoint
|
|
4506
4614
|
* @summary Test search
|
|
@@ -4541,6 +4649,17 @@ class OnboardingApi extends base_1.BaseAPI {
|
|
|
4541
4649
|
adminV1UsersOnboardingGet(options) {
|
|
4542
4650
|
return (0, exports.OnboardingApiFp)(this.configuration).adminV1UsersOnboardingGet(options).then((request) => request(this.axios, this.basePath));
|
|
4543
4651
|
}
|
|
4652
|
+
/**
|
|
4653
|
+
* Get job status
|
|
4654
|
+
* @summary Get job status
|
|
4655
|
+
* @param {string} jobid Job ID
|
|
4656
|
+
* @param {*} [options] Override http request option.
|
|
4657
|
+
* @throws {RequiredError}
|
|
4658
|
+
* @memberof OnboardingApi
|
|
4659
|
+
*/
|
|
4660
|
+
adminV1UsersOnboardingJobstatusJobidGet(jobid, options) {
|
|
4661
|
+
return (0, exports.OnboardingApiFp)(this.configuration).adminV1UsersOnboardingJobstatusJobidGet(jobid, options).then((request) => request(this.axios, this.basePath));
|
|
4662
|
+
}
|
|
4544
4663
|
/**
|
|
4545
4664
|
* Updates onboardingstep and merges new data into onboardingdata JSON
|
|
4546
4665
|
* @summary Update user onboarding step
|
|
@@ -4563,6 +4682,16 @@ class OnboardingApi extends base_1.BaseAPI {
|
|
|
4563
4682
|
adminV1UsersOnboardingSchemaUploadPost(file, options) {
|
|
4564
4683
|
return (0, exports.OnboardingApiFp)(this.configuration).adminV1UsersOnboardingSchemaUploadPost(file, options).then((request) => request(this.axios, this.basePath));
|
|
4565
4684
|
}
|
|
4685
|
+
/**
|
|
4686
|
+
* Get schema options
|
|
4687
|
+
* @summary Get schema options
|
|
4688
|
+
* @param {*} [options] Override http request option.
|
|
4689
|
+
* @throws {RequiredError}
|
|
4690
|
+
* @memberof OnboardingApi
|
|
4691
|
+
*/
|
|
4692
|
+
adminV1UsersOnboardingSchemaoptionsGet(options) {
|
|
4693
|
+
return (0, exports.OnboardingApiFp)(this.configuration).adminV1UsersOnboardingSchemaoptionsGet(options).then((request) => request(this.axios, this.basePath));
|
|
4694
|
+
}
|
|
4566
4695
|
/**
|
|
4567
4696
|
* Test search endpoint
|
|
4568
4697
|
* @summary Test search
|