@seekora-ai/admin-api 1.1.43 → 1.1.45

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/dist/esm/api.js CHANGED
@@ -1202,7 +1202,7 @@ export class AccountSettingsApi extends BaseAPI {
1202
1202
  export const ActivityLogsApiAxiosParamCreator = function (configuration) {
1203
1203
  return {
1204
1204
  /**
1205
- * Retrieve user activity logs from ClickHouse system_events table with full filtering, search, and pagination.
1205
+ * Retrieve user activity logs from ClickHouse fact_events table with full filtering, search, and pagination.
1206
1206
  * @summary Get Activity Logs
1207
1207
  * @param {string} [startDate] Start date (ISO 8601 format)
1208
1208
  * @param {string} [endDate] End date (ISO 8601 format)
@@ -1266,7 +1266,7 @@ export const ActivityLogsApiFp = function (configuration) {
1266
1266
  const localVarAxiosParamCreator = ActivityLogsApiAxiosParamCreator(configuration);
1267
1267
  return {
1268
1268
  /**
1269
- * Retrieve user activity logs from ClickHouse system_events table with full filtering, search, and pagination.
1269
+ * Retrieve user activity logs from ClickHouse fact_events table with full filtering, search, and pagination.
1270
1270
  * @summary Get Activity Logs
1271
1271
  * @param {string} [startDate] Start date (ISO 8601 format)
1272
1272
  * @param {string} [endDate] End date (ISO 8601 format)
@@ -1297,7 +1297,7 @@ export const ActivityLogsApiFactory = function (configuration, basePath, axios)
1297
1297
  const localVarFp = ActivityLogsApiFp(configuration);
1298
1298
  return {
1299
1299
  /**
1300
- * Retrieve user activity logs from ClickHouse system_events table with full filtering, search, and pagination.
1300
+ * Retrieve user activity logs from ClickHouse fact_events table with full filtering, search, and pagination.
1301
1301
  * @summary Get Activity Logs
1302
1302
  * @param {string} [startDate] Start date (ISO 8601 format)
1303
1303
  * @param {string} [endDate] End date (ISO 8601 format)
@@ -1322,7 +1322,7 @@ export const ActivityLogsApiFactory = function (configuration, basePath, axios)
1322
1322
  */
1323
1323
  export class ActivityLogsApi extends BaseAPI {
1324
1324
  /**
1325
- * Retrieve user activity logs from ClickHouse system_events table with full filtering, search, and pagination.
1325
+ * Retrieve user activity logs from ClickHouse fact_events table with full filtering, search, and pagination.
1326
1326
  * @summary Get Activity Logs
1327
1327
  * @param {string} [startDate] Start date (ISO 8601 format)
1328
1328
  * @param {string} [endDate] End date (ISO 8601 format)
@@ -3916,10 +3916,11 @@ export const AnalyticsApiAxiosParamCreator = function (configuration) {
3916
3916
  * @param {number} [geoPageSize] Number of geo locations per page
3917
3917
  * @param {string} [geoSearch] Search term to filter geo analytics (case-insensitive partial match on country/region/city)
3918
3918
  * @param {boolean} [includeWidget] Whether to include widget display fields for popular results
3919
+ * @param {boolean} [noClicksOnly] Filter to show insights only for searches that had no clicks (useful when clicking on queries from \'searches without clicks\' list)
3919
3920
  * @param {*} [options] Override http request option.
3920
3921
  * @throws {RequiredError}
3921
3922
  */
3922
- adminAnalyticsStoreXStoreIDQueriesQueryInsightsGet: (xStoreID_1, query_1, startTime_1, endTime_1, analyticsTags_1, tagsMatchMode_1, tagsExclude_1, tagKeyFilter_1, tagValueFilter_1, search_1, compareMode_1, compareStartTime_1, compareEndTime_1, compareAnalyticsTags_1, compareTagsMatchMode_1, compareTagsExclude_1, compareTagKeyFilter_1, compareTagValueFilter_1, resultsPage_1, resultsPageSize_1, resultsSearch_1, filtersPage_1, filtersPageSize_1, filtersSearch_1, geoPage_1, geoPageSize_1, geoSearch_1, includeWidget_1, ...args_1) => __awaiter(this, [xStoreID_1, query_1, startTime_1, endTime_1, analyticsTags_1, tagsMatchMode_1, tagsExclude_1, tagKeyFilter_1, tagValueFilter_1, search_1, compareMode_1, compareStartTime_1, compareEndTime_1, compareAnalyticsTags_1, compareTagsMatchMode_1, compareTagsExclude_1, compareTagKeyFilter_1, compareTagValueFilter_1, resultsPage_1, resultsPageSize_1, resultsSearch_1, filtersPage_1, filtersPageSize_1, filtersSearch_1, geoPage_1, geoPageSize_1, geoSearch_1, includeWidget_1, ...args_1], void 0, function* (xStoreID, query, startTime, endTime, analyticsTags, tagsMatchMode, tagsExclude, tagKeyFilter, tagValueFilter, search, compareMode, compareStartTime, compareEndTime, compareAnalyticsTags, compareTagsMatchMode, compareTagsExclude, compareTagKeyFilter, compareTagValueFilter, resultsPage, resultsPageSize, resultsSearch, filtersPage, filtersPageSize, filtersSearch, geoPage, geoPageSize, geoSearch, includeWidget, options = {}) {
3923
+ adminAnalyticsStoreXStoreIDQueriesQueryInsightsGet: (xStoreID_1, query_1, startTime_1, endTime_1, analyticsTags_1, tagsMatchMode_1, tagsExclude_1, tagKeyFilter_1, tagValueFilter_1, search_1, compareMode_1, compareStartTime_1, compareEndTime_1, compareAnalyticsTags_1, compareTagsMatchMode_1, compareTagsExclude_1, compareTagKeyFilter_1, compareTagValueFilter_1, resultsPage_1, resultsPageSize_1, resultsSearch_1, filtersPage_1, filtersPageSize_1, filtersSearch_1, geoPage_1, geoPageSize_1, geoSearch_1, includeWidget_1, noClicksOnly_1, ...args_1) => __awaiter(this, [xStoreID_1, query_1, startTime_1, endTime_1, analyticsTags_1, tagsMatchMode_1, tagsExclude_1, tagKeyFilter_1, tagValueFilter_1, search_1, compareMode_1, compareStartTime_1, compareEndTime_1, compareAnalyticsTags_1, compareTagsMatchMode_1, compareTagsExclude_1, compareTagKeyFilter_1, compareTagValueFilter_1, resultsPage_1, resultsPageSize_1, resultsSearch_1, filtersPage_1, filtersPageSize_1, filtersSearch_1, geoPage_1, geoPageSize_1, geoSearch_1, includeWidget_1, noClicksOnly_1, ...args_1], void 0, function* (xStoreID, query, startTime, endTime, analyticsTags, tagsMatchMode, tagsExclude, tagKeyFilter, tagValueFilter, search, compareMode, compareStartTime, compareEndTime, compareAnalyticsTags, compareTagsMatchMode, compareTagsExclude, compareTagKeyFilter, compareTagValueFilter, resultsPage, resultsPageSize, resultsSearch, filtersPage, filtersPageSize, filtersSearch, geoPage, geoPageSize, geoSearch, includeWidget, noClicksOnly, options = {}) {
3923
3924
  // verify required parameter 'xStoreID' is not null or undefined
3924
3925
  assertParamExists('adminAnalyticsStoreXStoreIDQueriesQueryInsightsGet', 'xStoreID', xStoreID);
3925
3926
  // verify required parameter 'query' is not null or undefined
@@ -4016,6 +4017,9 @@ export const AnalyticsApiAxiosParamCreator = function (configuration) {
4016
4017
  if (includeWidget !== undefined) {
4017
4018
  localVarQueryParameter['include_widget'] = includeWidget;
4018
4019
  }
4020
+ if (noClicksOnly !== undefined) {
4021
+ localVarQueryParameter['no_clicks_only'] = noClicksOnly;
4022
+ }
4019
4023
  setSearchParams(localVarUrlObj, localVarQueryParameter);
4020
4024
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
4021
4025
  localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
@@ -4310,7 +4314,7 @@ export const AnalyticsApiAxiosParamCreator = function (configuration) {
4310
4314
  };
4311
4315
  }),
4312
4316
  /**
4313
- * Retrieve API usage logs from ClickHouse system_events table with filtering and pagination
4317
+ * Retrieve API usage logs from ClickHouse fact_events table with filtering and pagination
4314
4318
  * @summary Get API Usage Logs
4315
4319
  * @param {string} [startDate] Start date (ISO 8601 format)
4316
4320
  * @param {string} [endDate] End date (ISO 8601 format)
@@ -4897,13 +4901,14 @@ export const AnalyticsApiFp = function (configuration) {
4897
4901
  * @param {number} [geoPageSize] Number of geo locations per page
4898
4902
  * @param {string} [geoSearch] Search term to filter geo analytics (case-insensitive partial match on country/region/city)
4899
4903
  * @param {boolean} [includeWidget] Whether to include widget display fields for popular results
4904
+ * @param {boolean} [noClicksOnly] Filter to show insights only for searches that had no clicks (useful when clicking on queries from \'searches without clicks\' list)
4900
4905
  * @param {*} [options] Override http request option.
4901
4906
  * @throws {RequiredError}
4902
4907
  */
4903
- adminAnalyticsStoreXStoreIDQueriesQueryInsightsGet(xStoreID, query, startTime, endTime, analyticsTags, tagsMatchMode, tagsExclude, tagKeyFilter, tagValueFilter, search, compareMode, compareStartTime, compareEndTime, compareAnalyticsTags, compareTagsMatchMode, compareTagsExclude, compareTagKeyFilter, compareTagValueFilter, resultsPage, resultsPageSize, resultsSearch, filtersPage, filtersPageSize, filtersSearch, geoPage, geoPageSize, geoSearch, includeWidget, options) {
4908
+ adminAnalyticsStoreXStoreIDQueriesQueryInsightsGet(xStoreID, query, startTime, endTime, analyticsTags, tagsMatchMode, tagsExclude, tagKeyFilter, tagValueFilter, search, compareMode, compareStartTime, compareEndTime, compareAnalyticsTags, compareTagsMatchMode, compareTagsExclude, compareTagKeyFilter, compareTagValueFilter, resultsPage, resultsPageSize, resultsSearch, filtersPage, filtersPageSize, filtersSearch, geoPage, geoPageSize, geoSearch, includeWidget, noClicksOnly, options) {
4904
4909
  return __awaiter(this, void 0, void 0, function* () {
4905
4910
  var _a, _b, _c;
4906
- const localVarAxiosArgs = yield localVarAxiosParamCreator.adminAnalyticsStoreXStoreIDQueriesQueryInsightsGet(xStoreID, query, startTime, endTime, analyticsTags, tagsMatchMode, tagsExclude, tagKeyFilter, tagValueFilter, search, compareMode, compareStartTime, compareEndTime, compareAnalyticsTags, compareTagsMatchMode, compareTagsExclude, compareTagKeyFilter, compareTagValueFilter, resultsPage, resultsPageSize, resultsSearch, filtersPage, filtersPageSize, filtersSearch, geoPage, geoPageSize, geoSearch, includeWidget, options);
4911
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.adminAnalyticsStoreXStoreIDQueriesQueryInsightsGet(xStoreID, query, startTime, endTime, analyticsTags, tagsMatchMode, tagsExclude, tagKeyFilter, tagValueFilter, search, compareMode, compareStartTime, compareEndTime, compareAnalyticsTags, compareTagsMatchMode, compareTagsExclude, compareTagKeyFilter, compareTagValueFilter, resultsPage, resultsPageSize, resultsSearch, filtersPage, filtersPageSize, filtersSearch, geoPage, geoPageSize, geoSearch, includeWidget, noClicksOnly, options);
4907
4912
  const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
4908
4913
  const localVarOperationServerBasePath = (_c = (_b = operationServerMap['AnalyticsApi.adminAnalyticsStoreXStoreIDQueriesQueryInsightsGet']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
4909
4914
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
@@ -5007,7 +5012,7 @@ export const AnalyticsApiFp = function (configuration) {
5007
5012
  });
5008
5013
  },
5009
5014
  /**
5010
- * Retrieve API usage logs from ClickHouse system_events table with filtering and pagination
5015
+ * Retrieve API usage logs from ClickHouse fact_events table with filtering and pagination
5011
5016
  * @summary Get API Usage Logs
5012
5017
  * @param {string} [startDate] Start date (ISO 8601 format)
5013
5018
  * @param {string} [endDate] End date (ISO 8601 format)
@@ -5432,11 +5437,12 @@ export const AnalyticsApiFactory = function (configuration, basePath, axios) {
5432
5437
  * @param {number} [geoPageSize] Number of geo locations per page
5433
5438
  * @param {string} [geoSearch] Search term to filter geo analytics (case-insensitive partial match on country/region/city)
5434
5439
  * @param {boolean} [includeWidget] Whether to include widget display fields for popular results
5440
+ * @param {boolean} [noClicksOnly] Filter to show insights only for searches that had no clicks (useful when clicking on queries from \'searches without clicks\' list)
5435
5441
  * @param {*} [options] Override http request option.
5436
5442
  * @throws {RequiredError}
5437
5443
  */
5438
- adminAnalyticsStoreXStoreIDQueriesQueryInsightsGet(xStoreID, query, startTime, endTime, analyticsTags, tagsMatchMode, tagsExclude, tagKeyFilter, tagValueFilter, search, compareMode, compareStartTime, compareEndTime, compareAnalyticsTags, compareTagsMatchMode, compareTagsExclude, compareTagKeyFilter, compareTagValueFilter, resultsPage, resultsPageSize, resultsSearch, filtersPage, filtersPageSize, filtersSearch, geoPage, geoPageSize, geoSearch, includeWidget, options) {
5439
- return localVarFp.adminAnalyticsStoreXStoreIDQueriesQueryInsightsGet(xStoreID, query, startTime, endTime, analyticsTags, tagsMatchMode, tagsExclude, tagKeyFilter, tagValueFilter, search, compareMode, compareStartTime, compareEndTime, compareAnalyticsTags, compareTagsMatchMode, compareTagsExclude, compareTagKeyFilter, compareTagValueFilter, resultsPage, resultsPageSize, resultsSearch, filtersPage, filtersPageSize, filtersSearch, geoPage, geoPageSize, geoSearch, includeWidget, options).then((request) => request(axios, basePath));
5444
+ adminAnalyticsStoreXStoreIDQueriesQueryInsightsGet(xStoreID, query, startTime, endTime, analyticsTags, tagsMatchMode, tagsExclude, tagKeyFilter, tagValueFilter, search, compareMode, compareStartTime, compareEndTime, compareAnalyticsTags, compareTagsMatchMode, compareTagsExclude, compareTagKeyFilter, compareTagValueFilter, resultsPage, resultsPageSize, resultsSearch, filtersPage, filtersPageSize, filtersSearch, geoPage, geoPageSize, geoSearch, includeWidget, noClicksOnly, options) {
5445
+ return localVarFp.adminAnalyticsStoreXStoreIDQueriesQueryInsightsGet(xStoreID, query, startTime, endTime, analyticsTags, tagsMatchMode, tagsExclude, tagKeyFilter, tagValueFilter, search, compareMode, compareStartTime, compareEndTime, compareAnalyticsTags, compareTagsMatchMode, compareTagsExclude, compareTagKeyFilter, compareTagValueFilter, resultsPage, resultsPageSize, resultsSearch, filtersPage, filtersPageSize, filtersSearch, geoPage, geoPageSize, geoSearch, includeWidget, noClicksOnly, options).then((request) => request(axios, basePath));
5440
5446
  },
5441
5447
  /**
5442
5448
  * Retrieve analytics for top performing search results with optional enrichment. By default returns widget display fields for UI presentation. Use include_documents=true for full document data (heavier response). Supports lightweight widget-only mode for dashboards with analytics tags filtering and comparison mode support.
@@ -5518,7 +5524,7 @@ export const AnalyticsApiFactory = function (configuration, basePath, axios) {
5518
5524
  return localVarFp.adminAnalyticsStoreXStoreIDTagsSummaryGet(xStoreID, startTime, endTime, limit, offset, page, pageSize, sortBy, sortOrder, sort, options).then((request) => request(axios, basePath));
5519
5525
  },
5520
5526
  /**
5521
- * Retrieve API usage logs from ClickHouse system_events table with filtering and pagination
5527
+ * Retrieve API usage logs from ClickHouse fact_events table with filtering and pagination
5522
5528
  * @summary Get API Usage Logs
5523
5529
  * @param {string} [startDate] Start date (ISO 8601 format)
5524
5530
  * @param {string} [endDate] End date (ISO 8601 format)
@@ -5939,12 +5945,13 @@ export class AnalyticsApi extends BaseAPI {
5939
5945
  * @param {number} [geoPageSize] Number of geo locations per page
5940
5946
  * @param {string} [geoSearch] Search term to filter geo analytics (case-insensitive partial match on country/region/city)
5941
5947
  * @param {boolean} [includeWidget] Whether to include widget display fields for popular results
5948
+ * @param {boolean} [noClicksOnly] Filter to show insights only for searches that had no clicks (useful when clicking on queries from \'searches without clicks\' list)
5942
5949
  * @param {*} [options] Override http request option.
5943
5950
  * @throws {RequiredError}
5944
5951
  * @memberof AnalyticsApi
5945
5952
  */
5946
- adminAnalyticsStoreXStoreIDQueriesQueryInsightsGet(xStoreID, query, startTime, endTime, analyticsTags, tagsMatchMode, tagsExclude, tagKeyFilter, tagValueFilter, search, compareMode, compareStartTime, compareEndTime, compareAnalyticsTags, compareTagsMatchMode, compareTagsExclude, compareTagKeyFilter, compareTagValueFilter, resultsPage, resultsPageSize, resultsSearch, filtersPage, filtersPageSize, filtersSearch, geoPage, geoPageSize, geoSearch, includeWidget, options) {
5947
- return AnalyticsApiFp(this.configuration).adminAnalyticsStoreXStoreIDQueriesQueryInsightsGet(xStoreID, query, startTime, endTime, analyticsTags, tagsMatchMode, tagsExclude, tagKeyFilter, tagValueFilter, search, compareMode, compareStartTime, compareEndTime, compareAnalyticsTags, compareTagsMatchMode, compareTagsExclude, compareTagKeyFilter, compareTagValueFilter, resultsPage, resultsPageSize, resultsSearch, filtersPage, filtersPageSize, filtersSearch, geoPage, geoPageSize, geoSearch, includeWidget, options).then((request) => request(this.axios, this.basePath));
5953
+ adminAnalyticsStoreXStoreIDQueriesQueryInsightsGet(xStoreID, query, startTime, endTime, analyticsTags, tagsMatchMode, tagsExclude, tagKeyFilter, tagValueFilter, search, compareMode, compareStartTime, compareEndTime, compareAnalyticsTags, compareTagsMatchMode, compareTagsExclude, compareTagKeyFilter, compareTagValueFilter, resultsPage, resultsPageSize, resultsSearch, filtersPage, filtersPageSize, filtersSearch, geoPage, geoPageSize, geoSearch, includeWidget, noClicksOnly, options) {
5954
+ return AnalyticsApiFp(this.configuration).adminAnalyticsStoreXStoreIDQueriesQueryInsightsGet(xStoreID, query, startTime, endTime, analyticsTags, tagsMatchMode, tagsExclude, tagKeyFilter, tagValueFilter, search, compareMode, compareStartTime, compareEndTime, compareAnalyticsTags, compareTagsMatchMode, compareTagsExclude, compareTagKeyFilter, compareTagValueFilter, resultsPage, resultsPageSize, resultsSearch, filtersPage, filtersPageSize, filtersSearch, geoPage, geoPageSize, geoSearch, includeWidget, noClicksOnly, options).then((request) => request(this.axios, this.basePath));
5948
5955
  }
5949
5956
  /**
5950
5957
  * Retrieve analytics for top performing search results with optional enrichment. By default returns widget display fields for UI presentation. Use include_documents=true for full document data (heavier response). Supports lightweight widget-only mode for dashboards with analytics tags filtering and comparison mode support.
@@ -6029,7 +6036,7 @@ export class AnalyticsApi extends BaseAPI {
6029
6036
  return AnalyticsApiFp(this.configuration).adminAnalyticsStoreXStoreIDTagsSummaryGet(xStoreID, startTime, endTime, limit, offset, page, pageSize, sortBy, sortOrder, sort, options).then((request) => request(this.axios, this.basePath));
6030
6037
  }
6031
6038
  /**
6032
- * Retrieve API usage logs from ClickHouse system_events table with filtering and pagination
6039
+ * Retrieve API usage logs from ClickHouse fact_events table with filtering and pagination
6033
6040
  * @summary Get API Usage Logs
6034
6041
  * @param {string} [startDate] Start date (ISO 8601 format)
6035
6042
  * @param {string} [endDate] End date (ISO 8601 format)
@@ -35463,6 +35470,69 @@ export const TeamApiAxiosParamCreator = function (configuration) {
35463
35470
  options: localVarRequestOptions,
35464
35471
  };
35465
35472
  }),
35473
+ /**
35474
+ * Accepts a team invitation, creates user account if needed, sets password, and returns session token
35475
+ * @summary Accept invitation and set password (onboarding)
35476
+ * @param {string} token Invitation Token
35477
+ * @param {DataTypesAcceptInvitationWithPasswordRequest} dataTypesAcceptInvitationWithPasswordRequest Password and user details
35478
+ * @param {*} [options] Override http request option.
35479
+ * @throws {RequiredError}
35480
+ */
35481
+ v1InvitationsTokenAcceptWithPasswordPost: (token_1, dataTypesAcceptInvitationWithPasswordRequest_1, ...args_1) => __awaiter(this, [token_1, dataTypesAcceptInvitationWithPasswordRequest_1, ...args_1], void 0, function* (token, dataTypesAcceptInvitationWithPasswordRequest, options = {}) {
35482
+ // verify required parameter 'token' is not null or undefined
35483
+ assertParamExists('v1InvitationsTokenAcceptWithPasswordPost', 'token', token);
35484
+ // verify required parameter 'dataTypesAcceptInvitationWithPasswordRequest' is not null or undefined
35485
+ assertParamExists('v1InvitationsTokenAcceptWithPasswordPost', 'dataTypesAcceptInvitationWithPasswordRequest', dataTypesAcceptInvitationWithPasswordRequest);
35486
+ const localVarPath = `/v1/invitations/{token}/accept-with-password`
35487
+ .replace(`{${"token"}}`, encodeURIComponent(String(token)));
35488
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
35489
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
35490
+ let baseOptions;
35491
+ if (configuration) {
35492
+ baseOptions = configuration.baseOptions;
35493
+ }
35494
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
35495
+ const localVarHeaderParameter = {};
35496
+ const localVarQueryParameter = {};
35497
+ localVarHeaderParameter['Content-Type'] = 'application/json';
35498
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
35499
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
35500
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
35501
+ localVarRequestOptions.data = serializeDataIfNeeded(dataTypesAcceptInvitationWithPasswordRequest, localVarRequestOptions, configuration);
35502
+ return {
35503
+ url: toPathString(localVarUrlObj),
35504
+ options: localVarRequestOptions,
35505
+ };
35506
+ }),
35507
+ /**
35508
+ * Retrieves invitation details by token (public endpoint for onboarding)
35509
+ * @summary Get invitation details by token
35510
+ * @param {string} token Invitation Token
35511
+ * @param {*} [options] Override http request option.
35512
+ * @throws {RequiredError}
35513
+ */
35514
+ v1InvitationsTokenGet: (token_1, ...args_1) => __awaiter(this, [token_1, ...args_1], void 0, function* (token, options = {}) {
35515
+ // verify required parameter 'token' is not null or undefined
35516
+ assertParamExists('v1InvitationsTokenGet', 'token', token);
35517
+ const localVarPath = `/v1/invitations/{token}`
35518
+ .replace(`{${"token"}}`, encodeURIComponent(String(token)));
35519
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
35520
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
35521
+ let baseOptions;
35522
+ if (configuration) {
35523
+ baseOptions = configuration.baseOptions;
35524
+ }
35525
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
35526
+ const localVarHeaderParameter = {};
35527
+ const localVarQueryParameter = {};
35528
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
35529
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
35530
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
35531
+ return {
35532
+ url: toPathString(localVarUrlObj),
35533
+ options: localVarRequestOptions,
35534
+ };
35535
+ }),
35466
35536
  /**
35467
35537
  * Retrieves all users with access to a store
35468
35538
  * @summary Get store access list
@@ -35830,6 +35900,39 @@ export const TeamApiFp = function (configuration) {
35830
35900
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
35831
35901
  });
35832
35902
  },
35903
+ /**
35904
+ * Accepts a team invitation, creates user account if needed, sets password, and returns session token
35905
+ * @summary Accept invitation and set password (onboarding)
35906
+ * @param {string} token Invitation Token
35907
+ * @param {DataTypesAcceptInvitationWithPasswordRequest} dataTypesAcceptInvitationWithPasswordRequest Password and user details
35908
+ * @param {*} [options] Override http request option.
35909
+ * @throws {RequiredError}
35910
+ */
35911
+ v1InvitationsTokenAcceptWithPasswordPost(token, dataTypesAcceptInvitationWithPasswordRequest, options) {
35912
+ return __awaiter(this, void 0, void 0, function* () {
35913
+ var _a, _b, _c;
35914
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.v1InvitationsTokenAcceptWithPasswordPost(token, dataTypesAcceptInvitationWithPasswordRequest, options);
35915
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
35916
+ const localVarOperationServerBasePath = (_c = (_b = operationServerMap['TeamApi.v1InvitationsTokenAcceptWithPasswordPost']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
35917
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
35918
+ });
35919
+ },
35920
+ /**
35921
+ * Retrieves invitation details by token (public endpoint for onboarding)
35922
+ * @summary Get invitation details by token
35923
+ * @param {string} token Invitation Token
35924
+ * @param {*} [options] Override http request option.
35925
+ * @throws {RequiredError}
35926
+ */
35927
+ v1InvitationsTokenGet(token, options) {
35928
+ return __awaiter(this, void 0, void 0, function* () {
35929
+ var _a, _b, _c;
35930
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.v1InvitationsTokenGet(token, options);
35931
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
35932
+ const localVarOperationServerBasePath = (_c = (_b = operationServerMap['TeamApi.v1InvitationsTokenGet']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
35933
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
35934
+ });
35935
+ },
35833
35936
  /**
35834
35937
  * Retrieves all users with access to a store
35835
35938
  * @summary Get store access list
@@ -36022,6 +36125,27 @@ export const TeamApiFactory = function (configuration, basePath, axios) {
36022
36125
  v1InvitationsTokenAcceptPost(token, options) {
36023
36126
  return localVarFp.v1InvitationsTokenAcceptPost(token, options).then((request) => request(axios, basePath));
36024
36127
  },
36128
+ /**
36129
+ * Accepts a team invitation, creates user account if needed, sets password, and returns session token
36130
+ * @summary Accept invitation and set password (onboarding)
36131
+ * @param {string} token Invitation Token
36132
+ * @param {DataTypesAcceptInvitationWithPasswordRequest} dataTypesAcceptInvitationWithPasswordRequest Password and user details
36133
+ * @param {*} [options] Override http request option.
36134
+ * @throws {RequiredError}
36135
+ */
36136
+ v1InvitationsTokenAcceptWithPasswordPost(token, dataTypesAcceptInvitationWithPasswordRequest, options) {
36137
+ return localVarFp.v1InvitationsTokenAcceptWithPasswordPost(token, dataTypesAcceptInvitationWithPasswordRequest, options).then((request) => request(axios, basePath));
36138
+ },
36139
+ /**
36140
+ * Retrieves invitation details by token (public endpoint for onboarding)
36141
+ * @summary Get invitation details by token
36142
+ * @param {string} token Invitation Token
36143
+ * @param {*} [options] Override http request option.
36144
+ * @throws {RequiredError}
36145
+ */
36146
+ v1InvitationsTokenGet(token, options) {
36147
+ return localVarFp.v1InvitationsTokenGet(token, options).then((request) => request(axios, basePath));
36148
+ },
36025
36149
  /**
36026
36150
  * Retrieves all users with access to a store
36027
36151
  * @summary Get store access list
@@ -36156,6 +36280,29 @@ export class TeamApi extends BaseAPI {
36156
36280
  v1InvitationsTokenAcceptPost(token, options) {
36157
36281
  return TeamApiFp(this.configuration).v1InvitationsTokenAcceptPost(token, options).then((request) => request(this.axios, this.basePath));
36158
36282
  }
36283
+ /**
36284
+ * Accepts a team invitation, creates user account if needed, sets password, and returns session token
36285
+ * @summary Accept invitation and set password (onboarding)
36286
+ * @param {string} token Invitation Token
36287
+ * @param {DataTypesAcceptInvitationWithPasswordRequest} dataTypesAcceptInvitationWithPasswordRequest Password and user details
36288
+ * @param {*} [options] Override http request option.
36289
+ * @throws {RequiredError}
36290
+ * @memberof TeamApi
36291
+ */
36292
+ v1InvitationsTokenAcceptWithPasswordPost(token, dataTypesAcceptInvitationWithPasswordRequest, options) {
36293
+ return TeamApiFp(this.configuration).v1InvitationsTokenAcceptWithPasswordPost(token, dataTypesAcceptInvitationWithPasswordRequest, options).then((request) => request(this.axios, this.basePath));
36294
+ }
36295
+ /**
36296
+ * Retrieves invitation details by token (public endpoint for onboarding)
36297
+ * @summary Get invitation details by token
36298
+ * @param {string} token Invitation Token
36299
+ * @param {*} [options] Override http request option.
36300
+ * @throws {RequiredError}
36301
+ * @memberof TeamApi
36302
+ */
36303
+ v1InvitationsTokenGet(token, options) {
36304
+ return TeamApiFp(this.configuration).v1InvitationsTokenGet(token, options).then((request) => request(this.axios, this.basePath));
36305
+ }
36159
36306
  /**
36160
36307
  * Retrieves all users with access to a store
36161
36308
  * @summary Get store access list
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@seekora-ai/admin-api",
3
- "version": "1.1.43",
3
+ "version": "1.1.45",
4
4
  "description": "OpenAPI client for @seekora-ai/admin-api",
5
5
  "author": "OpenAPI-Generator Contributors",
6
6
  "repository": {
Binary file
Binary file