@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/api.js CHANGED
@@ -1220,7 +1220,7 @@ exports.AccountSettingsApi = AccountSettingsApi;
1220
1220
  const ActivityLogsApiAxiosParamCreator = function (configuration) {
1221
1221
  return {
1222
1222
  /**
1223
- * Retrieve user activity logs from ClickHouse system_events table with full filtering, search, and pagination.
1223
+ * Retrieve user activity logs from ClickHouse fact_events table with full filtering, search, and pagination.
1224
1224
  * @summary Get Activity Logs
1225
1225
  * @param {string} [startDate] Start date (ISO 8601 format)
1226
1226
  * @param {string} [endDate] End date (ISO 8601 format)
@@ -1285,7 +1285,7 @@ const ActivityLogsApiFp = function (configuration) {
1285
1285
  const localVarAxiosParamCreator = (0, exports.ActivityLogsApiAxiosParamCreator)(configuration);
1286
1286
  return {
1287
1287
  /**
1288
- * Retrieve user activity logs from ClickHouse system_events table with full filtering, search, and pagination.
1288
+ * Retrieve user activity logs from ClickHouse fact_events table with full filtering, search, and pagination.
1289
1289
  * @summary Get Activity Logs
1290
1290
  * @param {string} [startDate] Start date (ISO 8601 format)
1291
1291
  * @param {string} [endDate] End date (ISO 8601 format)
@@ -1317,7 +1317,7 @@ const ActivityLogsApiFactory = function (configuration, basePath, axios) {
1317
1317
  const localVarFp = (0, exports.ActivityLogsApiFp)(configuration);
1318
1318
  return {
1319
1319
  /**
1320
- * Retrieve user activity logs from ClickHouse system_events table with full filtering, search, and pagination.
1320
+ * Retrieve user activity logs from ClickHouse fact_events table with full filtering, search, and pagination.
1321
1321
  * @summary Get Activity Logs
1322
1322
  * @param {string} [startDate] Start date (ISO 8601 format)
1323
1323
  * @param {string} [endDate] End date (ISO 8601 format)
@@ -1343,7 +1343,7 @@ exports.ActivityLogsApiFactory = ActivityLogsApiFactory;
1343
1343
  */
1344
1344
  class ActivityLogsApi extends base_1.BaseAPI {
1345
1345
  /**
1346
- * Retrieve user activity logs from ClickHouse system_events table with full filtering, search, and pagination.
1346
+ * Retrieve user activity logs from ClickHouse fact_events table with full filtering, search, and pagination.
1347
1347
  * @summary Get Activity Logs
1348
1348
  * @param {string} [startDate] Start date (ISO 8601 format)
1349
1349
  * @param {string} [endDate] End date (ISO 8601 format)
@@ -3950,10 +3950,11 @@ const AnalyticsApiAxiosParamCreator = function (configuration) {
3950
3950
  * @param {number} [geoPageSize] Number of geo locations per page
3951
3951
  * @param {string} [geoSearch] Search term to filter geo analytics (case-insensitive partial match on country/region/city)
3952
3952
  * @param {boolean} [includeWidget] Whether to include widget display fields for popular results
3953
+ * @param {boolean} [noClicksOnly] Filter to show insights only for searches that had no clicks (useful when clicking on queries from \'searches without clicks\' list)
3953
3954
  * @param {*} [options] Override http request option.
3954
3955
  * @throws {RequiredError}
3955
3956
  */
3956
- 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 = {}) {
3957
+ 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 = {}) {
3957
3958
  // verify required parameter 'xStoreID' is not null or undefined
3958
3959
  (0, common_1.assertParamExists)('adminAnalyticsStoreXStoreIDQueriesQueryInsightsGet', 'xStoreID', xStoreID);
3959
3960
  // verify required parameter 'query' is not null or undefined
@@ -4050,6 +4051,9 @@ const AnalyticsApiAxiosParamCreator = function (configuration) {
4050
4051
  if (includeWidget !== undefined) {
4051
4052
  localVarQueryParameter['include_widget'] = includeWidget;
4052
4053
  }
4054
+ if (noClicksOnly !== undefined) {
4055
+ localVarQueryParameter['no_clicks_only'] = noClicksOnly;
4056
+ }
4053
4057
  (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
4054
4058
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
4055
4059
  localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
@@ -4344,7 +4348,7 @@ const AnalyticsApiAxiosParamCreator = function (configuration) {
4344
4348
  };
4345
4349
  }),
4346
4350
  /**
4347
- * Retrieve API usage logs from ClickHouse system_events table with filtering and pagination
4351
+ * Retrieve API usage logs from ClickHouse fact_events table with filtering and pagination
4348
4352
  * @summary Get API Usage Logs
4349
4353
  * @param {string} [startDate] Start date (ISO 8601 format)
4350
4354
  * @param {string} [endDate] End date (ISO 8601 format)
@@ -4932,13 +4936,14 @@ const AnalyticsApiFp = function (configuration) {
4932
4936
  * @param {number} [geoPageSize] Number of geo locations per page
4933
4937
  * @param {string} [geoSearch] Search term to filter geo analytics (case-insensitive partial match on country/region/city)
4934
4938
  * @param {boolean} [includeWidget] Whether to include widget display fields for popular results
4939
+ * @param {boolean} [noClicksOnly] Filter to show insights only for searches that had no clicks (useful when clicking on queries from \'searches without clicks\' list)
4935
4940
  * @param {*} [options] Override http request option.
4936
4941
  * @throws {RequiredError}
4937
4942
  */
4938
- 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) {
4943
+ 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) {
4939
4944
  return __awaiter(this, void 0, void 0, function* () {
4940
4945
  var _a, _b, _c;
4941
- 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);
4946
+ 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);
4942
4947
  const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
4943
4948
  const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['AnalyticsApi.adminAnalyticsStoreXStoreIDQueriesQueryInsightsGet']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
4944
4949
  return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
@@ -5042,7 +5047,7 @@ const AnalyticsApiFp = function (configuration) {
5042
5047
  });
5043
5048
  },
5044
5049
  /**
5045
- * Retrieve API usage logs from ClickHouse system_events table with filtering and pagination
5050
+ * Retrieve API usage logs from ClickHouse fact_events table with filtering and pagination
5046
5051
  * @summary Get API Usage Logs
5047
5052
  * @param {string} [startDate] Start date (ISO 8601 format)
5048
5053
  * @param {string} [endDate] End date (ISO 8601 format)
@@ -5468,11 +5473,12 @@ const AnalyticsApiFactory = function (configuration, basePath, axios) {
5468
5473
  * @param {number} [geoPageSize] Number of geo locations per page
5469
5474
  * @param {string} [geoSearch] Search term to filter geo analytics (case-insensitive partial match on country/region/city)
5470
5475
  * @param {boolean} [includeWidget] Whether to include widget display fields for popular results
5476
+ * @param {boolean} [noClicksOnly] Filter to show insights only for searches that had no clicks (useful when clicking on queries from \'searches without clicks\' list)
5471
5477
  * @param {*} [options] Override http request option.
5472
5478
  * @throws {RequiredError}
5473
5479
  */
5474
- 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) {
5475
- 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));
5480
+ 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) {
5481
+ 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));
5476
5482
  },
5477
5483
  /**
5478
5484
  * 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.
@@ -5554,7 +5560,7 @@ const AnalyticsApiFactory = function (configuration, basePath, axios) {
5554
5560
  return localVarFp.adminAnalyticsStoreXStoreIDTagsSummaryGet(xStoreID, startTime, endTime, limit, offset, page, pageSize, sortBy, sortOrder, sort, options).then((request) => request(axios, basePath));
5555
5561
  },
5556
5562
  /**
5557
- * Retrieve API usage logs from ClickHouse system_events table with filtering and pagination
5563
+ * Retrieve API usage logs from ClickHouse fact_events table with filtering and pagination
5558
5564
  * @summary Get API Usage Logs
5559
5565
  * @param {string} [startDate] Start date (ISO 8601 format)
5560
5566
  * @param {string} [endDate] End date (ISO 8601 format)
@@ -5976,12 +5982,13 @@ class AnalyticsApi extends base_1.BaseAPI {
5976
5982
  * @param {number} [geoPageSize] Number of geo locations per page
5977
5983
  * @param {string} [geoSearch] Search term to filter geo analytics (case-insensitive partial match on country/region/city)
5978
5984
  * @param {boolean} [includeWidget] Whether to include widget display fields for popular results
5985
+ * @param {boolean} [noClicksOnly] Filter to show insights only for searches that had no clicks (useful when clicking on queries from \'searches without clicks\' list)
5979
5986
  * @param {*} [options] Override http request option.
5980
5987
  * @throws {RequiredError}
5981
5988
  * @memberof AnalyticsApi
5982
5989
  */
5983
- 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) {
5984
- return (0, exports.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));
5990
+ 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) {
5991
+ return (0, exports.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));
5985
5992
  }
5986
5993
  /**
5987
5994
  * 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.
@@ -6066,7 +6073,7 @@ class AnalyticsApi extends base_1.BaseAPI {
6066
6073
  return (0, exports.AnalyticsApiFp)(this.configuration).adminAnalyticsStoreXStoreIDTagsSummaryGet(xStoreID, startTime, endTime, limit, offset, page, pageSize, sortBy, sortOrder, sort, options).then((request) => request(this.axios, this.basePath));
6067
6074
  }
6068
6075
  /**
6069
- * Retrieve API usage logs from ClickHouse system_events table with filtering and pagination
6076
+ * Retrieve API usage logs from ClickHouse fact_events table with filtering and pagination
6070
6077
  * @summary Get API Usage Logs
6071
6078
  * @param {string} [startDate] Start date (ISO 8601 format)
6072
6079
  * @param {string} [endDate] End date (ISO 8601 format)
@@ -35709,6 +35716,69 @@ const TeamApiAxiosParamCreator = function (configuration) {
35709
35716
  options: localVarRequestOptions,
35710
35717
  };
35711
35718
  }),
35719
+ /**
35720
+ * Accepts a team invitation, creates user account if needed, sets password, and returns session token
35721
+ * @summary Accept invitation and set password (onboarding)
35722
+ * @param {string} token Invitation Token
35723
+ * @param {DataTypesAcceptInvitationWithPasswordRequest} dataTypesAcceptInvitationWithPasswordRequest Password and user details
35724
+ * @param {*} [options] Override http request option.
35725
+ * @throws {RequiredError}
35726
+ */
35727
+ v1InvitationsTokenAcceptWithPasswordPost: (token_1, dataTypesAcceptInvitationWithPasswordRequest_1, ...args_1) => __awaiter(this, [token_1, dataTypesAcceptInvitationWithPasswordRequest_1, ...args_1], void 0, function* (token, dataTypesAcceptInvitationWithPasswordRequest, options = {}) {
35728
+ // verify required parameter 'token' is not null or undefined
35729
+ (0, common_1.assertParamExists)('v1InvitationsTokenAcceptWithPasswordPost', 'token', token);
35730
+ // verify required parameter 'dataTypesAcceptInvitationWithPasswordRequest' is not null or undefined
35731
+ (0, common_1.assertParamExists)('v1InvitationsTokenAcceptWithPasswordPost', 'dataTypesAcceptInvitationWithPasswordRequest', dataTypesAcceptInvitationWithPasswordRequest);
35732
+ const localVarPath = `/v1/invitations/{token}/accept-with-password`
35733
+ .replace(`{${"token"}}`, encodeURIComponent(String(token)));
35734
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
35735
+ const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
35736
+ let baseOptions;
35737
+ if (configuration) {
35738
+ baseOptions = configuration.baseOptions;
35739
+ }
35740
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
35741
+ const localVarHeaderParameter = {};
35742
+ const localVarQueryParameter = {};
35743
+ localVarHeaderParameter['Content-Type'] = 'application/json';
35744
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
35745
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
35746
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
35747
+ localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(dataTypesAcceptInvitationWithPasswordRequest, localVarRequestOptions, configuration);
35748
+ return {
35749
+ url: (0, common_1.toPathString)(localVarUrlObj),
35750
+ options: localVarRequestOptions,
35751
+ };
35752
+ }),
35753
+ /**
35754
+ * Retrieves invitation details by token (public endpoint for onboarding)
35755
+ * @summary Get invitation details by token
35756
+ * @param {string} token Invitation Token
35757
+ * @param {*} [options] Override http request option.
35758
+ * @throws {RequiredError}
35759
+ */
35760
+ v1InvitationsTokenGet: (token_1, ...args_1) => __awaiter(this, [token_1, ...args_1], void 0, function* (token, options = {}) {
35761
+ // verify required parameter 'token' is not null or undefined
35762
+ (0, common_1.assertParamExists)('v1InvitationsTokenGet', 'token', token);
35763
+ const localVarPath = `/v1/invitations/{token}`
35764
+ .replace(`{${"token"}}`, encodeURIComponent(String(token)));
35765
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
35766
+ const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
35767
+ let baseOptions;
35768
+ if (configuration) {
35769
+ baseOptions = configuration.baseOptions;
35770
+ }
35771
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
35772
+ const localVarHeaderParameter = {};
35773
+ const localVarQueryParameter = {};
35774
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
35775
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
35776
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
35777
+ return {
35778
+ url: (0, common_1.toPathString)(localVarUrlObj),
35779
+ options: localVarRequestOptions,
35780
+ };
35781
+ }),
35712
35782
  /**
35713
35783
  * Retrieves all users with access to a store
35714
35784
  * @summary Get store access list
@@ -36077,6 +36147,39 @@ const TeamApiFp = function (configuration) {
36077
36147
  return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
36078
36148
  });
36079
36149
  },
36150
+ /**
36151
+ * Accepts a team invitation, creates user account if needed, sets password, and returns session token
36152
+ * @summary Accept invitation and set password (onboarding)
36153
+ * @param {string} token Invitation Token
36154
+ * @param {DataTypesAcceptInvitationWithPasswordRequest} dataTypesAcceptInvitationWithPasswordRequest Password and user details
36155
+ * @param {*} [options] Override http request option.
36156
+ * @throws {RequiredError}
36157
+ */
36158
+ v1InvitationsTokenAcceptWithPasswordPost(token, dataTypesAcceptInvitationWithPasswordRequest, options) {
36159
+ return __awaiter(this, void 0, void 0, function* () {
36160
+ var _a, _b, _c;
36161
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.v1InvitationsTokenAcceptWithPasswordPost(token, dataTypesAcceptInvitationWithPasswordRequest, options);
36162
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
36163
+ const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['TeamApi.v1InvitationsTokenAcceptWithPasswordPost']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
36164
+ return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
36165
+ });
36166
+ },
36167
+ /**
36168
+ * Retrieves invitation details by token (public endpoint for onboarding)
36169
+ * @summary Get invitation details by token
36170
+ * @param {string} token Invitation Token
36171
+ * @param {*} [options] Override http request option.
36172
+ * @throws {RequiredError}
36173
+ */
36174
+ v1InvitationsTokenGet(token, options) {
36175
+ return __awaiter(this, void 0, void 0, function* () {
36176
+ var _a, _b, _c;
36177
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.v1InvitationsTokenGet(token, options);
36178
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
36179
+ const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['TeamApi.v1InvitationsTokenGet']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
36180
+ return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
36181
+ });
36182
+ },
36080
36183
  /**
36081
36184
  * Retrieves all users with access to a store
36082
36185
  * @summary Get store access list
@@ -36270,6 +36373,27 @@ const TeamApiFactory = function (configuration, basePath, axios) {
36270
36373
  v1InvitationsTokenAcceptPost(token, options) {
36271
36374
  return localVarFp.v1InvitationsTokenAcceptPost(token, options).then((request) => request(axios, basePath));
36272
36375
  },
36376
+ /**
36377
+ * Accepts a team invitation, creates user account if needed, sets password, and returns session token
36378
+ * @summary Accept invitation and set password (onboarding)
36379
+ * @param {string} token Invitation Token
36380
+ * @param {DataTypesAcceptInvitationWithPasswordRequest} dataTypesAcceptInvitationWithPasswordRequest Password and user details
36381
+ * @param {*} [options] Override http request option.
36382
+ * @throws {RequiredError}
36383
+ */
36384
+ v1InvitationsTokenAcceptWithPasswordPost(token, dataTypesAcceptInvitationWithPasswordRequest, options) {
36385
+ return localVarFp.v1InvitationsTokenAcceptWithPasswordPost(token, dataTypesAcceptInvitationWithPasswordRequest, options).then((request) => request(axios, basePath));
36386
+ },
36387
+ /**
36388
+ * Retrieves invitation details by token (public endpoint for onboarding)
36389
+ * @summary Get invitation details by token
36390
+ * @param {string} token Invitation Token
36391
+ * @param {*} [options] Override http request option.
36392
+ * @throws {RequiredError}
36393
+ */
36394
+ v1InvitationsTokenGet(token, options) {
36395
+ return localVarFp.v1InvitationsTokenGet(token, options).then((request) => request(axios, basePath));
36396
+ },
36273
36397
  /**
36274
36398
  * Retrieves all users with access to a store
36275
36399
  * @summary Get store access list
@@ -36405,6 +36529,29 @@ class TeamApi extends base_1.BaseAPI {
36405
36529
  v1InvitationsTokenAcceptPost(token, options) {
36406
36530
  return (0, exports.TeamApiFp)(this.configuration).v1InvitationsTokenAcceptPost(token, options).then((request) => request(this.axios, this.basePath));
36407
36531
  }
36532
+ /**
36533
+ * Accepts a team invitation, creates user account if needed, sets password, and returns session token
36534
+ * @summary Accept invitation and set password (onboarding)
36535
+ * @param {string} token Invitation Token
36536
+ * @param {DataTypesAcceptInvitationWithPasswordRequest} dataTypesAcceptInvitationWithPasswordRequest Password and user details
36537
+ * @param {*} [options] Override http request option.
36538
+ * @throws {RequiredError}
36539
+ * @memberof TeamApi
36540
+ */
36541
+ v1InvitationsTokenAcceptWithPasswordPost(token, dataTypesAcceptInvitationWithPasswordRequest, options) {
36542
+ return (0, exports.TeamApiFp)(this.configuration).v1InvitationsTokenAcceptWithPasswordPost(token, dataTypesAcceptInvitationWithPasswordRequest, options).then((request) => request(this.axios, this.basePath));
36543
+ }
36544
+ /**
36545
+ * Retrieves invitation details by token (public endpoint for onboarding)
36546
+ * @summary Get invitation details by token
36547
+ * @param {string} token Invitation Token
36548
+ * @param {*} [options] Override http request option.
36549
+ * @throws {RequiredError}
36550
+ * @memberof TeamApi
36551
+ */
36552
+ v1InvitationsTokenGet(token, options) {
36553
+ return (0, exports.TeamApiFp)(this.configuration).v1InvitationsTokenGet(token, options).then((request) => request(this.axios, this.basePath));
36554
+ }
36408
36555
  /**
36409
36556
  * Retrieves all users with access to a store
36410
36557
  * @summary Get store access list