@seekora-ai/admin-api 1.1.50 → 1.1.51
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 +9 -4
- package/api.ts +508 -157
- package/dist/api.d.ts +335 -152
- package/dist/api.js +331 -26
- package/dist/esm/api.d.ts +335 -152
- package/dist/esm/api.js +331 -26
- package/package.json +1 -1
- package/seekora-ai-admin-api-1.1.51.tgz +0 -0
- package/seekora-ai-admin-api-1.1.50.tgz +0 -0
package/dist/api.js
CHANGED
|
@@ -9093,6 +9093,33 @@ exports.AutomatedRefundManagementApi = AutomatedRefundManagementApi;
|
|
|
9093
9093
|
*/
|
|
9094
9094
|
const BillingDashboardApiAxiosParamCreator = function (configuration) {
|
|
9095
9095
|
return {
|
|
9096
|
+
/**
|
|
9097
|
+
* Returns the current active plan details including subscription_id required for cancellation
|
|
9098
|
+
* @summary Get current active plan details
|
|
9099
|
+
* @param {*} [options] Override http request option.
|
|
9100
|
+
* @throws {RequiredError}
|
|
9101
|
+
*/
|
|
9102
|
+
adminBillingActivePlanGet: (...args_1) => __awaiter(this, [...args_1], void 0, function* (options = {}) {
|
|
9103
|
+
const localVarPath = `/admin/billing/active-plan`;
|
|
9104
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
9105
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
9106
|
+
let baseOptions;
|
|
9107
|
+
if (configuration) {
|
|
9108
|
+
baseOptions = configuration.baseOptions;
|
|
9109
|
+
}
|
|
9110
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
9111
|
+
const localVarHeaderParameter = {};
|
|
9112
|
+
const localVarQueryParameter = {};
|
|
9113
|
+
// authentication BearerAuth required
|
|
9114
|
+
yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Authorization", configuration);
|
|
9115
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
9116
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
9117
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
9118
|
+
return {
|
|
9119
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
9120
|
+
options: localVarRequestOptions,
|
|
9121
|
+
};
|
|
9122
|
+
}),
|
|
9096
9123
|
/**
|
|
9097
9124
|
* Retrieves paginated billing alerts with store filtering and full-text search across: alert ID, alert name, alert type, threshold values, units, org/store name, created by name, emails, and JSON fields.
|
|
9098
9125
|
* @summary Get billing alerts
|
|
@@ -10409,6 +10436,21 @@ exports.BillingDashboardApiAxiosParamCreator = BillingDashboardApiAxiosParamCrea
|
|
|
10409
10436
|
const BillingDashboardApiFp = function (configuration) {
|
|
10410
10437
|
const localVarAxiosParamCreator = (0, exports.BillingDashboardApiAxiosParamCreator)(configuration);
|
|
10411
10438
|
return {
|
|
10439
|
+
/**
|
|
10440
|
+
* Returns the current active plan details including subscription_id required for cancellation
|
|
10441
|
+
* @summary Get current active plan details
|
|
10442
|
+
* @param {*} [options] Override http request option.
|
|
10443
|
+
* @throws {RequiredError}
|
|
10444
|
+
*/
|
|
10445
|
+
adminBillingActivePlanGet(options) {
|
|
10446
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
10447
|
+
var _a, _b, _c;
|
|
10448
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.adminBillingActivePlanGet(options);
|
|
10449
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
10450
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['BillingDashboardApi.adminBillingActivePlanGet']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
10451
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
10452
|
+
});
|
|
10453
|
+
},
|
|
10412
10454
|
/**
|
|
10413
10455
|
* Retrieves paginated billing alerts with store filtering and full-text search across: alert ID, alert name, alert type, threshold values, units, org/store name, created by name, emails, and JSON fields.
|
|
10414
10456
|
* @summary Get billing alerts
|
|
@@ -11009,6 +11051,15 @@ exports.BillingDashboardApiFp = BillingDashboardApiFp;
|
|
|
11009
11051
|
const BillingDashboardApiFactory = function (configuration, basePath, axios) {
|
|
11010
11052
|
const localVarFp = (0, exports.BillingDashboardApiFp)(configuration);
|
|
11011
11053
|
return {
|
|
11054
|
+
/**
|
|
11055
|
+
* Returns the current active plan details including subscription_id required for cancellation
|
|
11056
|
+
* @summary Get current active plan details
|
|
11057
|
+
* @param {*} [options] Override http request option.
|
|
11058
|
+
* @throws {RequiredError}
|
|
11059
|
+
*/
|
|
11060
|
+
adminBillingActivePlanGet(options) {
|
|
11061
|
+
return localVarFp.adminBillingActivePlanGet(options).then((request) => request(axios, basePath));
|
|
11062
|
+
},
|
|
11012
11063
|
/**
|
|
11013
11064
|
* Retrieves paginated billing alerts with store filtering and full-text search across: alert ID, alert name, alert type, threshold values, units, org/store name, created by name, emails, and JSON fields.
|
|
11014
11065
|
* @summary Get billing alerts
|
|
@@ -11417,6 +11468,16 @@ exports.BillingDashboardApiFactory = BillingDashboardApiFactory;
|
|
|
11417
11468
|
* @extends {BaseAPI}
|
|
11418
11469
|
*/
|
|
11419
11470
|
class BillingDashboardApi extends base_1.BaseAPI {
|
|
11471
|
+
/**
|
|
11472
|
+
* Returns the current active plan details including subscription_id required for cancellation
|
|
11473
|
+
* @summary Get current active plan details
|
|
11474
|
+
* @param {*} [options] Override http request option.
|
|
11475
|
+
* @throws {RequiredError}
|
|
11476
|
+
* @memberof BillingDashboardApi
|
|
11477
|
+
*/
|
|
11478
|
+
adminBillingActivePlanGet(options) {
|
|
11479
|
+
return (0, exports.BillingDashboardApiFp)(this.configuration).adminBillingActivePlanGet(options).then((request) => request(this.axios, this.basePath));
|
|
11480
|
+
}
|
|
11420
11481
|
/**
|
|
11421
11482
|
* Retrieves paginated billing alerts with store filtering and full-text search across: alert ID, alert name, alert type, threshold values, units, org/store name, created by name, emails, and JSON fields.
|
|
11422
11483
|
* @summary Get billing alerts
|
|
@@ -20690,6 +20751,37 @@ exports.NotificationPreferencesApi = NotificationPreferencesApi;
|
|
|
20690
20751
|
*/
|
|
20691
20752
|
const NotificationsApiAxiosParamCreator = function (configuration) {
|
|
20692
20753
|
return {
|
|
20754
|
+
/**
|
|
20755
|
+
* Republishes an existing notification to RabbitMQ queue for processing
|
|
20756
|
+
* @summary Republish notification to RabbitMQ
|
|
20757
|
+
* @param {number} id Notification ID
|
|
20758
|
+
* @param {*} [options] Override http request option.
|
|
20759
|
+
* @throws {RequiredError}
|
|
20760
|
+
*/
|
|
20761
|
+
v1AdminNotificationsIdRepublishPost: (id_1, ...args_1) => __awaiter(this, [id_1, ...args_1], void 0, function* (id, options = {}) {
|
|
20762
|
+
// verify required parameter 'id' is not null or undefined
|
|
20763
|
+
(0, common_1.assertParamExists)('v1AdminNotificationsIdRepublishPost', 'id', id);
|
|
20764
|
+
const localVarPath = `/v1/admin/notifications/{id}/republish`
|
|
20765
|
+
.replace(`{${"id"}}`, encodeURIComponent(String(id)));
|
|
20766
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
20767
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
20768
|
+
let baseOptions;
|
|
20769
|
+
if (configuration) {
|
|
20770
|
+
baseOptions = configuration.baseOptions;
|
|
20771
|
+
}
|
|
20772
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
|
|
20773
|
+
const localVarHeaderParameter = {};
|
|
20774
|
+
const localVarQueryParameter = {};
|
|
20775
|
+
// authentication BearerAuth required
|
|
20776
|
+
yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Authorization", configuration);
|
|
20777
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
20778
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
20779
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
20780
|
+
return {
|
|
20781
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
20782
|
+
options: localVarRequestOptions,
|
|
20783
|
+
};
|
|
20784
|
+
}),
|
|
20693
20785
|
/**
|
|
20694
20786
|
* Retrieves paginated notifications for the authenticated user with optional filters, search, and sorting. Supports both page/page_size and limit/offset pagination.
|
|
20695
20787
|
* @summary Get user notifications
|
|
@@ -20914,6 +21006,22 @@ exports.NotificationsApiAxiosParamCreator = NotificationsApiAxiosParamCreator;
|
|
|
20914
21006
|
const NotificationsApiFp = function (configuration) {
|
|
20915
21007
|
const localVarAxiosParamCreator = (0, exports.NotificationsApiAxiosParamCreator)(configuration);
|
|
20916
21008
|
return {
|
|
21009
|
+
/**
|
|
21010
|
+
* Republishes an existing notification to RabbitMQ queue for processing
|
|
21011
|
+
* @summary Republish notification to RabbitMQ
|
|
21012
|
+
* @param {number} id Notification ID
|
|
21013
|
+
* @param {*} [options] Override http request option.
|
|
21014
|
+
* @throws {RequiredError}
|
|
21015
|
+
*/
|
|
21016
|
+
v1AdminNotificationsIdRepublishPost(id, options) {
|
|
21017
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
21018
|
+
var _a, _b, _c;
|
|
21019
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.v1AdminNotificationsIdRepublishPost(id, options);
|
|
21020
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
21021
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['NotificationsApi.v1AdminNotificationsIdRepublishPost']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
21022
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
21023
|
+
});
|
|
21024
|
+
},
|
|
20917
21025
|
/**
|
|
20918
21026
|
* Retrieves paginated notifications for the authenticated user with optional filters, search, and sorting. Supports both page/page_size and limit/offset pagination.
|
|
20919
21027
|
* @summary Get user notifications
|
|
@@ -21027,6 +21135,16 @@ exports.NotificationsApiFp = NotificationsApiFp;
|
|
|
21027
21135
|
const NotificationsApiFactory = function (configuration, basePath, axios) {
|
|
21028
21136
|
const localVarFp = (0, exports.NotificationsApiFp)(configuration);
|
|
21029
21137
|
return {
|
|
21138
|
+
/**
|
|
21139
|
+
* Republishes an existing notification to RabbitMQ queue for processing
|
|
21140
|
+
* @summary Republish notification to RabbitMQ
|
|
21141
|
+
* @param {number} id Notification ID
|
|
21142
|
+
* @param {*} [options] Override http request option.
|
|
21143
|
+
* @throws {RequiredError}
|
|
21144
|
+
*/
|
|
21145
|
+
v1AdminNotificationsIdRepublishPost(id, options) {
|
|
21146
|
+
return localVarFp.v1AdminNotificationsIdRepublishPost(id, options).then((request) => request(axios, basePath));
|
|
21147
|
+
},
|
|
21030
21148
|
/**
|
|
21031
21149
|
* Retrieves paginated notifications for the authenticated user with optional filters, search, and sorting. Supports both page/page_size and limit/offset pagination.
|
|
21032
21150
|
* @summary Get user notifications
|
|
@@ -21104,6 +21222,17 @@ exports.NotificationsApiFactory = NotificationsApiFactory;
|
|
|
21104
21222
|
* @extends {BaseAPI}
|
|
21105
21223
|
*/
|
|
21106
21224
|
class NotificationsApi extends base_1.BaseAPI {
|
|
21225
|
+
/**
|
|
21226
|
+
* Republishes an existing notification to RabbitMQ queue for processing
|
|
21227
|
+
* @summary Republish notification to RabbitMQ
|
|
21228
|
+
* @param {number} id Notification ID
|
|
21229
|
+
* @param {*} [options] Override http request option.
|
|
21230
|
+
* @throws {RequiredError}
|
|
21231
|
+
* @memberof NotificationsApi
|
|
21232
|
+
*/
|
|
21233
|
+
v1AdminNotificationsIdRepublishPost(id, options) {
|
|
21234
|
+
return (0, exports.NotificationsApiFp)(this.configuration).v1AdminNotificationsIdRepublishPost(id, options).then((request) => request(this.axios, this.basePath));
|
|
21235
|
+
}
|
|
21107
21236
|
/**
|
|
21108
21237
|
* Retrieves paginated notifications for the authenticated user with optional filters, search, and sorting. Supports both page/page_size and limit/offset pagination.
|
|
21109
21238
|
* @summary Get user notifications
|
|
@@ -25427,10 +25556,13 @@ const QuerySuggestionsApiAxiosParamCreator = function (configuration) {
|
|
|
25427
25556
|
};
|
|
25428
25557
|
}),
|
|
25429
25558
|
/**
|
|
25430
|
-
* Retrieve query suggestions based on search analytics data with popularity ranking and optional category/facet enrichment. Supports partial query matching, analytics tags filtering, and configurable time ranges.
|
|
25559
|
+
* Retrieve query suggestions based on search analytics data with popularity ranking and optional category/facet enrichment. Supports partial query matching, analytics tags filtering, and configurable time ranges. Supports personalization via x-user-id, x-anon-id, x-session-id headers.
|
|
25431
25560
|
* @summary Get Query Suggestions
|
|
25432
25561
|
* @param {string} xStoreid Store ID
|
|
25433
25562
|
* @param {string} xStoresecret Store Secret
|
|
25563
|
+
* @param {string} [xUserId] User ID for personalization (logged-in user)
|
|
25564
|
+
* @param {string} [xAnonId] Anonymous ID for personalization (cookie/device ID)
|
|
25565
|
+
* @param {string} [xSessionId] Session ID for personalization
|
|
25434
25566
|
* @param {string} [query] Partial query to get suggestions for
|
|
25435
25567
|
* @param {number} [hitsPerPage] Number of suggestions to return
|
|
25436
25568
|
* @param {number} [page] Page number for pagination
|
|
@@ -25446,7 +25578,7 @@ const QuerySuggestionsApiAxiosParamCreator = function (configuration) {
|
|
|
25446
25578
|
* @param {*} [options] Override http request option.
|
|
25447
25579
|
* @throws {RequiredError}
|
|
25448
25580
|
*/
|
|
25449
|
-
v1SuggestionsQueriesGet: (xStoreid_1, xStoresecret_1, query_1, hitsPerPage_1, page_1, analyticsTags_1, tagsMatchMode_1, includeCategories_1, includeFacets_1, maxCategories_1, maxFacets_1, minPopularity_1, timeRange_1, disableTypoTolerance_1, ...args_1) => __awaiter(this, [xStoreid_1, xStoresecret_1, query_1, hitsPerPage_1, page_1, analyticsTags_1, tagsMatchMode_1, includeCategories_1, includeFacets_1, maxCategories_1, maxFacets_1, minPopularity_1, timeRange_1, disableTypoTolerance_1, ...args_1], void 0, function* (xStoreid, xStoresecret, query, hitsPerPage, page, analyticsTags, tagsMatchMode, includeCategories, includeFacets, maxCategories, maxFacets, minPopularity, timeRange, disableTypoTolerance, options = {}) {
|
|
25581
|
+
v1SuggestionsQueriesGet: (xStoreid_1, xStoresecret_1, xUserId_1, xAnonId_1, xSessionId_1, query_1, hitsPerPage_1, page_1, analyticsTags_1, tagsMatchMode_1, includeCategories_1, includeFacets_1, maxCategories_1, maxFacets_1, minPopularity_1, timeRange_1, disableTypoTolerance_1, ...args_1) => __awaiter(this, [xStoreid_1, xStoresecret_1, xUserId_1, xAnonId_1, xSessionId_1, query_1, hitsPerPage_1, page_1, analyticsTags_1, tagsMatchMode_1, includeCategories_1, includeFacets_1, maxCategories_1, maxFacets_1, minPopularity_1, timeRange_1, disableTypoTolerance_1, ...args_1], void 0, function* (xStoreid, xStoresecret, xUserId, xAnonId, xSessionId, query, hitsPerPage, page, analyticsTags, tagsMatchMode, includeCategories, includeFacets, maxCategories, maxFacets, minPopularity, timeRange, disableTypoTolerance, options = {}) {
|
|
25450
25582
|
// verify required parameter 'xStoreid' is not null or undefined
|
|
25451
25583
|
(0, common_1.assertParamExists)('v1SuggestionsQueriesGet', 'xStoreid', xStoreid);
|
|
25452
25584
|
// verify required parameter 'xStoresecret' is not null or undefined
|
|
@@ -25503,6 +25635,15 @@ const QuerySuggestionsApiAxiosParamCreator = function (configuration) {
|
|
|
25503
25635
|
if (xStoresecret != null) {
|
|
25504
25636
|
localVarHeaderParameter['x-storesecret'] = String(xStoresecret);
|
|
25505
25637
|
}
|
|
25638
|
+
if (xUserId != null) {
|
|
25639
|
+
localVarHeaderParameter['x-user-id'] = String(xUserId);
|
|
25640
|
+
}
|
|
25641
|
+
if (xAnonId != null) {
|
|
25642
|
+
localVarHeaderParameter['x-anon-id'] = String(xAnonId);
|
|
25643
|
+
}
|
|
25644
|
+
if (xSessionId != null) {
|
|
25645
|
+
localVarHeaderParameter['x-session-id'] = String(xSessionId);
|
|
25646
|
+
}
|
|
25506
25647
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
25507
25648
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
25508
25649
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
@@ -25539,10 +25680,13 @@ const QuerySuggestionsApiFp = function (configuration) {
|
|
|
25539
25680
|
});
|
|
25540
25681
|
},
|
|
25541
25682
|
/**
|
|
25542
|
-
* Retrieve query suggestions based on search analytics data with popularity ranking and optional category/facet enrichment. Supports partial query matching, analytics tags filtering, and configurable time ranges.
|
|
25683
|
+
* Retrieve query suggestions based on search analytics data with popularity ranking and optional category/facet enrichment. Supports partial query matching, analytics tags filtering, and configurable time ranges. Supports personalization via x-user-id, x-anon-id, x-session-id headers.
|
|
25543
25684
|
* @summary Get Query Suggestions
|
|
25544
25685
|
* @param {string} xStoreid Store ID
|
|
25545
25686
|
* @param {string} xStoresecret Store Secret
|
|
25687
|
+
* @param {string} [xUserId] User ID for personalization (logged-in user)
|
|
25688
|
+
* @param {string} [xAnonId] Anonymous ID for personalization (cookie/device ID)
|
|
25689
|
+
* @param {string} [xSessionId] Session ID for personalization
|
|
25546
25690
|
* @param {string} [query] Partial query to get suggestions for
|
|
25547
25691
|
* @param {number} [hitsPerPage] Number of suggestions to return
|
|
25548
25692
|
* @param {number} [page] Page number for pagination
|
|
@@ -25558,10 +25702,10 @@ const QuerySuggestionsApiFp = function (configuration) {
|
|
|
25558
25702
|
* @param {*} [options] Override http request option.
|
|
25559
25703
|
* @throws {RequiredError}
|
|
25560
25704
|
*/
|
|
25561
|
-
v1SuggestionsQueriesGet(xStoreid, xStoresecret, query, hitsPerPage, page, analyticsTags, tagsMatchMode, includeCategories, includeFacets, maxCategories, maxFacets, minPopularity, timeRange, disableTypoTolerance, options) {
|
|
25705
|
+
v1SuggestionsQueriesGet(xStoreid, xStoresecret, xUserId, xAnonId, xSessionId, query, hitsPerPage, page, analyticsTags, tagsMatchMode, includeCategories, includeFacets, maxCategories, maxFacets, minPopularity, timeRange, disableTypoTolerance, options) {
|
|
25562
25706
|
return __awaiter(this, void 0, void 0, function* () {
|
|
25563
25707
|
var _a, _b, _c;
|
|
25564
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.v1SuggestionsQueriesGet(xStoreid, xStoresecret, query, hitsPerPage, page, analyticsTags, tagsMatchMode, includeCategories, includeFacets, maxCategories, maxFacets, minPopularity, timeRange, disableTypoTolerance, options);
|
|
25708
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.v1SuggestionsQueriesGet(xStoreid, xStoresecret, xUserId, xAnonId, xSessionId, query, hitsPerPage, page, analyticsTags, tagsMatchMode, includeCategories, includeFacets, maxCategories, maxFacets, minPopularity, timeRange, disableTypoTolerance, options);
|
|
25565
25709
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
25566
25710
|
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['QuerySuggestionsApi.v1SuggestionsQueriesGet']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
25567
25711
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
@@ -25589,10 +25733,13 @@ const QuerySuggestionsApiFactory = function (configuration, basePath, axios) {
|
|
|
25589
25733
|
return localVarFp.v1SuggestionsConfigGet(xStoreid, xStoresecret, options).then((request) => request(axios, basePath));
|
|
25590
25734
|
},
|
|
25591
25735
|
/**
|
|
25592
|
-
* Retrieve query suggestions based on search analytics data with popularity ranking and optional category/facet enrichment. Supports partial query matching, analytics tags filtering, and configurable time ranges.
|
|
25736
|
+
* Retrieve query suggestions based on search analytics data with popularity ranking and optional category/facet enrichment. Supports partial query matching, analytics tags filtering, and configurable time ranges. Supports personalization via x-user-id, x-anon-id, x-session-id headers.
|
|
25593
25737
|
* @summary Get Query Suggestions
|
|
25594
25738
|
* @param {string} xStoreid Store ID
|
|
25595
25739
|
* @param {string} xStoresecret Store Secret
|
|
25740
|
+
* @param {string} [xUserId] User ID for personalization (logged-in user)
|
|
25741
|
+
* @param {string} [xAnonId] Anonymous ID for personalization (cookie/device ID)
|
|
25742
|
+
* @param {string} [xSessionId] Session ID for personalization
|
|
25596
25743
|
* @param {string} [query] Partial query to get suggestions for
|
|
25597
25744
|
* @param {number} [hitsPerPage] Number of suggestions to return
|
|
25598
25745
|
* @param {number} [page] Page number for pagination
|
|
@@ -25608,8 +25755,8 @@ const QuerySuggestionsApiFactory = function (configuration, basePath, axios) {
|
|
|
25608
25755
|
* @param {*} [options] Override http request option.
|
|
25609
25756
|
* @throws {RequiredError}
|
|
25610
25757
|
*/
|
|
25611
|
-
v1SuggestionsQueriesGet(xStoreid, xStoresecret, query, hitsPerPage, page, analyticsTags, tagsMatchMode, includeCategories, includeFacets, maxCategories, maxFacets, minPopularity, timeRange, disableTypoTolerance, options) {
|
|
25612
|
-
return localVarFp.v1SuggestionsQueriesGet(xStoreid, xStoresecret, query, hitsPerPage, page, analyticsTags, tagsMatchMode, includeCategories, includeFacets, maxCategories, maxFacets, minPopularity, timeRange, disableTypoTolerance, options).then((request) => request(axios, basePath));
|
|
25758
|
+
v1SuggestionsQueriesGet(xStoreid, xStoresecret, xUserId, xAnonId, xSessionId, query, hitsPerPage, page, analyticsTags, tagsMatchMode, includeCategories, includeFacets, maxCategories, maxFacets, minPopularity, timeRange, disableTypoTolerance, options) {
|
|
25759
|
+
return localVarFp.v1SuggestionsQueriesGet(xStoreid, xStoresecret, xUserId, xAnonId, xSessionId, query, hitsPerPage, page, analyticsTags, tagsMatchMode, includeCategories, includeFacets, maxCategories, maxFacets, minPopularity, timeRange, disableTypoTolerance, options).then((request) => request(axios, basePath));
|
|
25613
25760
|
},
|
|
25614
25761
|
};
|
|
25615
25762
|
};
|
|
@@ -25634,10 +25781,13 @@ class QuerySuggestionsApi extends base_1.BaseAPI {
|
|
|
25634
25781
|
return (0, exports.QuerySuggestionsApiFp)(this.configuration).v1SuggestionsConfigGet(xStoreid, xStoresecret, options).then((request) => request(this.axios, this.basePath));
|
|
25635
25782
|
}
|
|
25636
25783
|
/**
|
|
25637
|
-
* Retrieve query suggestions based on search analytics data with popularity ranking and optional category/facet enrichment. Supports partial query matching, analytics tags filtering, and configurable time ranges.
|
|
25784
|
+
* Retrieve query suggestions based on search analytics data with popularity ranking and optional category/facet enrichment. Supports partial query matching, analytics tags filtering, and configurable time ranges. Supports personalization via x-user-id, x-anon-id, x-session-id headers.
|
|
25638
25785
|
* @summary Get Query Suggestions
|
|
25639
25786
|
* @param {string} xStoreid Store ID
|
|
25640
25787
|
* @param {string} xStoresecret Store Secret
|
|
25788
|
+
* @param {string} [xUserId] User ID for personalization (logged-in user)
|
|
25789
|
+
* @param {string} [xAnonId] Anonymous ID for personalization (cookie/device ID)
|
|
25790
|
+
* @param {string} [xSessionId] Session ID for personalization
|
|
25641
25791
|
* @param {string} [query] Partial query to get suggestions for
|
|
25642
25792
|
* @param {number} [hitsPerPage] Number of suggestions to return
|
|
25643
25793
|
* @param {number} [page] Page number for pagination
|
|
@@ -25654,8 +25804,8 @@ class QuerySuggestionsApi extends base_1.BaseAPI {
|
|
|
25654
25804
|
* @throws {RequiredError}
|
|
25655
25805
|
* @memberof QuerySuggestionsApi
|
|
25656
25806
|
*/
|
|
25657
|
-
v1SuggestionsQueriesGet(xStoreid, xStoresecret, query, hitsPerPage, page, analyticsTags, tagsMatchMode, includeCategories, includeFacets, maxCategories, maxFacets, minPopularity, timeRange, disableTypoTolerance, options) {
|
|
25658
|
-
return (0, exports.QuerySuggestionsApiFp)(this.configuration).v1SuggestionsQueriesGet(xStoreid, xStoresecret, query, hitsPerPage, page, analyticsTags, tagsMatchMode, includeCategories, includeFacets, maxCategories, maxFacets, minPopularity, timeRange, disableTypoTolerance, options).then((request) => request(this.axios, this.basePath));
|
|
25807
|
+
v1SuggestionsQueriesGet(xStoreid, xStoresecret, xUserId, xAnonId, xSessionId, query, hitsPerPage, page, analyticsTags, tagsMatchMode, includeCategories, includeFacets, maxCategories, maxFacets, minPopularity, timeRange, disableTypoTolerance, options) {
|
|
25808
|
+
return (0, exports.QuerySuggestionsApiFp)(this.configuration).v1SuggestionsQueriesGet(xStoreid, xStoresecret, xUserId, xAnonId, xSessionId, query, hitsPerPage, page, analyticsTags, tagsMatchMode, includeCategories, includeFacets, maxCategories, maxFacets, minPopularity, timeRange, disableTypoTolerance, options).then((request) => request(this.axios, this.basePath));
|
|
25659
25809
|
}
|
|
25660
25810
|
}
|
|
25661
25811
|
exports.QuerySuggestionsApi = QuerySuggestionsApi;
|
|
@@ -31381,15 +31531,18 @@ const SearchApiAxiosParamCreator = function (configuration) {
|
|
|
31381
31531
|
};
|
|
31382
31532
|
}),
|
|
31383
31533
|
/**
|
|
31384
|
-
* Search documents using store credentials with optional autocomplete suggestions and configurable stopwords/synonyms
|
|
31534
|
+
* Search documents using store credentials with optional autocomplete suggestions and configurable stopwords/synonyms. Supports personalization via x-user-id, x-anon-id, x-session-id headers.
|
|
31385
31535
|
* @summary Public Search API
|
|
31386
31536
|
* @param {string} xStoreid Store ID
|
|
31387
31537
|
* @param {string} xStoresecret Store Secret
|
|
31388
31538
|
* @param {DataTypesPublicSearchRequest} dataTypesPublicSearchRequest Search request with optional stopword_sets and synonym_sets for granular control
|
|
31539
|
+
* @param {string} [xUserId] User ID for personalization (logged-in user)
|
|
31540
|
+
* @param {string} [xAnonId] Anonymous ID for personalization (cookie/device ID)
|
|
31541
|
+
* @param {string} [xSessionId] Session ID for personalization
|
|
31389
31542
|
* @param {*} [options] Override http request option.
|
|
31390
31543
|
* @throws {RequiredError}
|
|
31391
31544
|
*/
|
|
31392
|
-
v1SearchPost: (xStoreid_1, xStoresecret_1, dataTypesPublicSearchRequest_1, ...args_1) => __awaiter(this, [xStoreid_1, xStoresecret_1, dataTypesPublicSearchRequest_1, ...args_1], void 0, function* (xStoreid, xStoresecret, dataTypesPublicSearchRequest, options = {}) {
|
|
31545
|
+
v1SearchPost: (xStoreid_1, xStoresecret_1, dataTypesPublicSearchRequest_1, xUserId_1, xAnonId_1, xSessionId_1, ...args_1) => __awaiter(this, [xStoreid_1, xStoresecret_1, dataTypesPublicSearchRequest_1, xUserId_1, xAnonId_1, xSessionId_1, ...args_1], void 0, function* (xStoreid, xStoresecret, dataTypesPublicSearchRequest, xUserId, xAnonId, xSessionId, options = {}) {
|
|
31393
31546
|
// verify required parameter 'xStoreid' is not null or undefined
|
|
31394
31547
|
(0, common_1.assertParamExists)('v1SearchPost', 'xStoreid', xStoreid);
|
|
31395
31548
|
// verify required parameter 'xStoresecret' is not null or undefined
|
|
@@ -31413,6 +31566,15 @@ const SearchApiAxiosParamCreator = function (configuration) {
|
|
|
31413
31566
|
if (xStoresecret != null) {
|
|
31414
31567
|
localVarHeaderParameter['x-storesecret'] = String(xStoresecret);
|
|
31415
31568
|
}
|
|
31569
|
+
if (xUserId != null) {
|
|
31570
|
+
localVarHeaderParameter['x-user-id'] = String(xUserId);
|
|
31571
|
+
}
|
|
31572
|
+
if (xAnonId != null) {
|
|
31573
|
+
localVarHeaderParameter['x-anon-id'] = String(xAnonId);
|
|
31574
|
+
}
|
|
31575
|
+
if (xSessionId != null) {
|
|
31576
|
+
localVarHeaderParameter['x-session-id'] = String(xSessionId);
|
|
31577
|
+
}
|
|
31416
31578
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
31417
31579
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
31418
31580
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
@@ -31533,18 +31695,21 @@ const SearchApiFp = function (configuration) {
|
|
|
31533
31695
|
});
|
|
31534
31696
|
},
|
|
31535
31697
|
/**
|
|
31536
|
-
* Search documents using store credentials with optional autocomplete suggestions and configurable stopwords/synonyms
|
|
31698
|
+
* Search documents using store credentials with optional autocomplete suggestions and configurable stopwords/synonyms. Supports personalization via x-user-id, x-anon-id, x-session-id headers.
|
|
31537
31699
|
* @summary Public Search API
|
|
31538
31700
|
* @param {string} xStoreid Store ID
|
|
31539
31701
|
* @param {string} xStoresecret Store Secret
|
|
31540
31702
|
* @param {DataTypesPublicSearchRequest} dataTypesPublicSearchRequest Search request with optional stopword_sets and synonym_sets for granular control
|
|
31703
|
+
* @param {string} [xUserId] User ID for personalization (logged-in user)
|
|
31704
|
+
* @param {string} [xAnonId] Anonymous ID for personalization (cookie/device ID)
|
|
31705
|
+
* @param {string} [xSessionId] Session ID for personalization
|
|
31541
31706
|
* @param {*} [options] Override http request option.
|
|
31542
31707
|
* @throws {RequiredError}
|
|
31543
31708
|
*/
|
|
31544
|
-
v1SearchPost(xStoreid, xStoresecret, dataTypesPublicSearchRequest, options) {
|
|
31709
|
+
v1SearchPost(xStoreid, xStoresecret, dataTypesPublicSearchRequest, xUserId, xAnonId, xSessionId, options) {
|
|
31545
31710
|
return __awaiter(this, void 0, void 0, function* () {
|
|
31546
31711
|
var _a, _b, _c;
|
|
31547
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.v1SearchPost(xStoreid, xStoresecret, dataTypesPublicSearchRequest, options);
|
|
31712
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.v1SearchPost(xStoreid, xStoresecret, dataTypesPublicSearchRequest, xUserId, xAnonId, xSessionId, options);
|
|
31548
31713
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
31549
31714
|
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['SearchApi.v1SearchPost']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
31550
31715
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
@@ -31625,16 +31790,19 @@ const SearchApiFactory = function (configuration, basePath, axios) {
|
|
|
31625
31790
|
return localVarFp.v1IndexIndexnameDefaultsGet(indexname, options).then((request) => request(axios, basePath));
|
|
31626
31791
|
},
|
|
31627
31792
|
/**
|
|
31628
|
-
* Search documents using store credentials with optional autocomplete suggestions and configurable stopwords/synonyms
|
|
31793
|
+
* Search documents using store credentials with optional autocomplete suggestions and configurable stopwords/synonyms. Supports personalization via x-user-id, x-anon-id, x-session-id headers.
|
|
31629
31794
|
* @summary Public Search API
|
|
31630
31795
|
* @param {string} xStoreid Store ID
|
|
31631
31796
|
* @param {string} xStoresecret Store Secret
|
|
31632
31797
|
* @param {DataTypesPublicSearchRequest} dataTypesPublicSearchRequest Search request with optional stopword_sets and synonym_sets for granular control
|
|
31798
|
+
* @param {string} [xUserId] User ID for personalization (logged-in user)
|
|
31799
|
+
* @param {string} [xAnonId] Anonymous ID for personalization (cookie/device ID)
|
|
31800
|
+
* @param {string} [xSessionId] Session ID for personalization
|
|
31633
31801
|
* @param {*} [options] Override http request option.
|
|
31634
31802
|
* @throws {RequiredError}
|
|
31635
31803
|
*/
|
|
31636
|
-
v1SearchPost(xStoreid, xStoresecret, dataTypesPublicSearchRequest, options) {
|
|
31637
|
-
return localVarFp.v1SearchPost(xStoreid, xStoresecret, dataTypesPublicSearchRequest, options).then((request) => request(axios, basePath));
|
|
31804
|
+
v1SearchPost(xStoreid, xStoresecret, dataTypesPublicSearchRequest, xUserId, xAnonId, xSessionId, options) {
|
|
31805
|
+
return localVarFp.v1SearchPost(xStoreid, xStoresecret, dataTypesPublicSearchRequest, xUserId, xAnonId, xSessionId, options).then((request) => request(axios, basePath));
|
|
31638
31806
|
},
|
|
31639
31807
|
};
|
|
31640
31808
|
};
|
|
@@ -31717,17 +31885,20 @@ class SearchApi extends base_1.BaseAPI {
|
|
|
31717
31885
|
return (0, exports.SearchApiFp)(this.configuration).v1IndexIndexnameDefaultsGet(indexname, options).then((request) => request(this.axios, this.basePath));
|
|
31718
31886
|
}
|
|
31719
31887
|
/**
|
|
31720
|
-
* Search documents using store credentials with optional autocomplete suggestions and configurable stopwords/synonyms
|
|
31888
|
+
* Search documents using store credentials with optional autocomplete suggestions and configurable stopwords/synonyms. Supports personalization via x-user-id, x-anon-id, x-session-id headers.
|
|
31721
31889
|
* @summary Public Search API
|
|
31722
31890
|
* @param {string} xStoreid Store ID
|
|
31723
31891
|
* @param {string} xStoresecret Store Secret
|
|
31724
31892
|
* @param {DataTypesPublicSearchRequest} dataTypesPublicSearchRequest Search request with optional stopword_sets and synonym_sets for granular control
|
|
31893
|
+
* @param {string} [xUserId] User ID for personalization (logged-in user)
|
|
31894
|
+
* @param {string} [xAnonId] Anonymous ID for personalization (cookie/device ID)
|
|
31895
|
+
* @param {string} [xSessionId] Session ID for personalization
|
|
31725
31896
|
* @param {*} [options] Override http request option.
|
|
31726
31897
|
* @throws {RequiredError}
|
|
31727
31898
|
* @memberof SearchApi
|
|
31728
31899
|
*/
|
|
31729
|
-
v1SearchPost(xStoreid, xStoresecret, dataTypesPublicSearchRequest, options) {
|
|
31730
|
-
return (0, exports.SearchApiFp)(this.configuration).v1SearchPost(xStoreid, xStoresecret, dataTypesPublicSearchRequest, options).then((request) => request(this.axios, this.basePath));
|
|
31900
|
+
v1SearchPost(xStoreid, xStoresecret, dataTypesPublicSearchRequest, xUserId, xAnonId, xSessionId, options) {
|
|
31901
|
+
return (0, exports.SearchApiFp)(this.configuration).v1SearchPost(xStoreid, xStoresecret, dataTypesPublicSearchRequest, xUserId, xAnonId, xSessionId, options).then((request) => request(this.axios, this.basePath));
|
|
31731
31902
|
}
|
|
31732
31903
|
}
|
|
31733
31904
|
exports.SearchApi = SearchApi;
|
|
@@ -35784,6 +35955,37 @@ const TeamApiAxiosParamCreator = function (configuration) {
|
|
|
35784
35955
|
options: localVarRequestOptions,
|
|
35785
35956
|
};
|
|
35786
35957
|
}),
|
|
35958
|
+
/**
|
|
35959
|
+
* Resends the invitation email for an existing pending invitation
|
|
35960
|
+
* @summary Resend invitation email
|
|
35961
|
+
* @param {number} invitationId Invitation ID
|
|
35962
|
+
* @param {*} [options] Override http request option.
|
|
35963
|
+
* @throws {RequiredError}
|
|
35964
|
+
*/
|
|
35965
|
+
v1InvitationsInvitationIdResendPost: (invitationId_1, ...args_1) => __awaiter(this, [invitationId_1, ...args_1], void 0, function* (invitationId, options = {}) {
|
|
35966
|
+
// verify required parameter 'invitationId' is not null or undefined
|
|
35967
|
+
(0, common_1.assertParamExists)('v1InvitationsInvitationIdResendPost', 'invitationId', invitationId);
|
|
35968
|
+
const localVarPath = `/v1/invitations/{invitationId}/resend`
|
|
35969
|
+
.replace(`{${"invitationId"}}`, encodeURIComponent(String(invitationId)));
|
|
35970
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
35971
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
35972
|
+
let baseOptions;
|
|
35973
|
+
if (configuration) {
|
|
35974
|
+
baseOptions = configuration.baseOptions;
|
|
35975
|
+
}
|
|
35976
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
|
|
35977
|
+
const localVarHeaderParameter = {};
|
|
35978
|
+
const localVarQueryParameter = {};
|
|
35979
|
+
// authentication BearerAuth required
|
|
35980
|
+
yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Authorization", configuration);
|
|
35981
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
35982
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
35983
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
35984
|
+
return {
|
|
35985
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
35986
|
+
options: localVarRequestOptions,
|
|
35987
|
+
};
|
|
35988
|
+
}),
|
|
35787
35989
|
/**
|
|
35788
35990
|
* Accepts a team invitation using token
|
|
35789
35991
|
* @summary Accept invitation
|
|
@@ -35878,6 +36080,35 @@ const TeamApiAxiosParamCreator = function (configuration) {
|
|
|
35878
36080
|
options: localVarRequestOptions,
|
|
35879
36081
|
};
|
|
35880
36082
|
}),
|
|
36083
|
+
/**
|
|
36084
|
+
* Resends the invitation email using the invitation token. This is a public endpoint that doesn\'t require authentication - the token itself serves as authentication.
|
|
36085
|
+
* @summary Resend invitation email by token (public)
|
|
36086
|
+
* @param {string} token Invitation Token
|
|
36087
|
+
* @param {*} [options] Override http request option.
|
|
36088
|
+
* @throws {RequiredError}
|
|
36089
|
+
*/
|
|
36090
|
+
v1InvitationsTokenResendPost: (token_1, ...args_1) => __awaiter(this, [token_1, ...args_1], void 0, function* (token, options = {}) {
|
|
36091
|
+
// verify required parameter 'token' is not null or undefined
|
|
36092
|
+
(0, common_1.assertParamExists)('v1InvitationsTokenResendPost', 'token', token);
|
|
36093
|
+
const localVarPath = `/v1/invitations/{token}/resend`
|
|
36094
|
+
.replace(`{${"token"}}`, encodeURIComponent(String(token)));
|
|
36095
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
36096
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
36097
|
+
let baseOptions;
|
|
36098
|
+
if (configuration) {
|
|
36099
|
+
baseOptions = configuration.baseOptions;
|
|
36100
|
+
}
|
|
36101
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
|
|
36102
|
+
const localVarHeaderParameter = {};
|
|
36103
|
+
const localVarQueryParameter = {};
|
|
36104
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
36105
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
36106
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
36107
|
+
return {
|
|
36108
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
36109
|
+
options: localVarRequestOptions,
|
|
36110
|
+
};
|
|
36111
|
+
}),
|
|
35881
36112
|
/**
|
|
35882
36113
|
* Retrieves all users with access to a store
|
|
35883
36114
|
* @summary Get store access list
|
|
@@ -36280,6 +36511,22 @@ const TeamApiFp = function (configuration) {
|
|
|
36280
36511
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
36281
36512
|
});
|
|
36282
36513
|
},
|
|
36514
|
+
/**
|
|
36515
|
+
* Resends the invitation email for an existing pending invitation
|
|
36516
|
+
* @summary Resend invitation email
|
|
36517
|
+
* @param {number} invitationId Invitation ID
|
|
36518
|
+
* @param {*} [options] Override http request option.
|
|
36519
|
+
* @throws {RequiredError}
|
|
36520
|
+
*/
|
|
36521
|
+
v1InvitationsInvitationIdResendPost(invitationId, options) {
|
|
36522
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
36523
|
+
var _a, _b, _c;
|
|
36524
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.v1InvitationsInvitationIdResendPost(invitationId, options);
|
|
36525
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
36526
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['TeamApi.v1InvitationsInvitationIdResendPost']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
36527
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
36528
|
+
});
|
|
36529
|
+
},
|
|
36283
36530
|
/**
|
|
36284
36531
|
* Accepts a team invitation using token
|
|
36285
36532
|
* @summary Accept invitation
|
|
@@ -36329,6 +36576,22 @@ const TeamApiFp = function (configuration) {
|
|
|
36329
36576
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
36330
36577
|
});
|
|
36331
36578
|
},
|
|
36579
|
+
/**
|
|
36580
|
+
* Resends the invitation email using the invitation token. This is a public endpoint that doesn\'t require authentication - the token itself serves as authentication.
|
|
36581
|
+
* @summary Resend invitation email by token (public)
|
|
36582
|
+
* @param {string} token Invitation Token
|
|
36583
|
+
* @param {*} [options] Override http request option.
|
|
36584
|
+
* @throws {RequiredError}
|
|
36585
|
+
*/
|
|
36586
|
+
v1InvitationsTokenResendPost(token, options) {
|
|
36587
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
36588
|
+
var _a, _b, _c;
|
|
36589
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.v1InvitationsTokenResendPost(token, options);
|
|
36590
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
36591
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['TeamApi.v1InvitationsTokenResendPost']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
36592
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
36593
|
+
});
|
|
36594
|
+
},
|
|
36332
36595
|
/**
|
|
36333
36596
|
* Retrieves all users with access to a store
|
|
36334
36597
|
* @summary Get store access list
|
|
@@ -36544,6 +36807,16 @@ const TeamApiFactory = function (configuration, basePath, axios) {
|
|
|
36544
36807
|
v1InvitationsInvitationIdPermissionsRolePut(invitationId, dataTypesUpdateInvitationRolePermissionsRequest, options) {
|
|
36545
36808
|
return localVarFp.v1InvitationsInvitationIdPermissionsRolePut(invitationId, dataTypesUpdateInvitationRolePermissionsRequest, options).then((request) => request(axios, basePath));
|
|
36546
36809
|
},
|
|
36810
|
+
/**
|
|
36811
|
+
* Resends the invitation email for an existing pending invitation
|
|
36812
|
+
* @summary Resend invitation email
|
|
36813
|
+
* @param {number} invitationId Invitation ID
|
|
36814
|
+
* @param {*} [options] Override http request option.
|
|
36815
|
+
* @throws {RequiredError}
|
|
36816
|
+
*/
|
|
36817
|
+
v1InvitationsInvitationIdResendPost(invitationId, options) {
|
|
36818
|
+
return localVarFp.v1InvitationsInvitationIdResendPost(invitationId, options).then((request) => request(axios, basePath));
|
|
36819
|
+
},
|
|
36547
36820
|
/**
|
|
36548
36821
|
* Accepts a team invitation using token
|
|
36549
36822
|
* @summary Accept invitation
|
|
@@ -36575,6 +36848,16 @@ const TeamApiFactory = function (configuration, basePath, axios) {
|
|
|
36575
36848
|
v1InvitationsTokenGet(token, options) {
|
|
36576
36849
|
return localVarFp.v1InvitationsTokenGet(token, options).then((request) => request(axios, basePath));
|
|
36577
36850
|
},
|
|
36851
|
+
/**
|
|
36852
|
+
* Resends the invitation email using the invitation token. This is a public endpoint that doesn\'t require authentication - the token itself serves as authentication.
|
|
36853
|
+
* @summary Resend invitation email by token (public)
|
|
36854
|
+
* @param {string} token Invitation Token
|
|
36855
|
+
* @param {*} [options] Override http request option.
|
|
36856
|
+
* @throws {RequiredError}
|
|
36857
|
+
*/
|
|
36858
|
+
v1InvitationsTokenResendPost(token, options) {
|
|
36859
|
+
return localVarFp.v1InvitationsTokenResendPost(token, options).then((request) => request(axios, basePath));
|
|
36860
|
+
},
|
|
36578
36861
|
/**
|
|
36579
36862
|
* Retrieves all users with access to a store
|
|
36580
36863
|
* @summary Get store access list
|
|
@@ -36734,6 +37017,17 @@ class TeamApi extends base_1.BaseAPI {
|
|
|
36734
37017
|
v1InvitationsInvitationIdPermissionsRolePut(invitationId, dataTypesUpdateInvitationRolePermissionsRequest, options) {
|
|
36735
37018
|
return (0, exports.TeamApiFp)(this.configuration).v1InvitationsInvitationIdPermissionsRolePut(invitationId, dataTypesUpdateInvitationRolePermissionsRequest, options).then((request) => request(this.axios, this.basePath));
|
|
36736
37019
|
}
|
|
37020
|
+
/**
|
|
37021
|
+
* Resends the invitation email for an existing pending invitation
|
|
37022
|
+
* @summary Resend invitation email
|
|
37023
|
+
* @param {number} invitationId Invitation ID
|
|
37024
|
+
* @param {*} [options] Override http request option.
|
|
37025
|
+
* @throws {RequiredError}
|
|
37026
|
+
* @memberof TeamApi
|
|
37027
|
+
*/
|
|
37028
|
+
v1InvitationsInvitationIdResendPost(invitationId, options) {
|
|
37029
|
+
return (0, exports.TeamApiFp)(this.configuration).v1InvitationsInvitationIdResendPost(invitationId, options).then((request) => request(this.axios, this.basePath));
|
|
37030
|
+
}
|
|
36737
37031
|
/**
|
|
36738
37032
|
* Accepts a team invitation using token
|
|
36739
37033
|
* @summary Accept invitation
|
|
@@ -36768,6 +37062,17 @@ class TeamApi extends base_1.BaseAPI {
|
|
|
36768
37062
|
v1InvitationsTokenGet(token, options) {
|
|
36769
37063
|
return (0, exports.TeamApiFp)(this.configuration).v1InvitationsTokenGet(token, options).then((request) => request(this.axios, this.basePath));
|
|
36770
37064
|
}
|
|
37065
|
+
/**
|
|
37066
|
+
* Resends the invitation email using the invitation token. This is a public endpoint that doesn\'t require authentication - the token itself serves as authentication.
|
|
37067
|
+
* @summary Resend invitation email by token (public)
|
|
37068
|
+
* @param {string} token Invitation Token
|
|
37069
|
+
* @param {*} [options] Override http request option.
|
|
37070
|
+
* @throws {RequiredError}
|
|
37071
|
+
* @memberof TeamApi
|
|
37072
|
+
*/
|
|
37073
|
+
v1InvitationsTokenResendPost(token, options) {
|
|
37074
|
+
return (0, exports.TeamApiFp)(this.configuration).v1InvitationsTokenResendPost(token, options).then((request) => request(this.axios, this.basePath));
|
|
37075
|
+
}
|
|
36771
37076
|
/**
|
|
36772
37077
|
* Retrieves all users with access to a store
|
|
36773
37078
|
* @summary Get store access list
|
|
@@ -37113,7 +37418,7 @@ const UserApiAxiosParamCreator = function (configuration) {
|
|
|
37113
37418
|
};
|
|
37114
37419
|
}),
|
|
37115
37420
|
/**
|
|
37116
|
-
* Retrieves user\'s permission configuration (route-level and store-level)
|
|
37421
|
+
* Retrieves user\'s permission configuration in the same format as role permissions API (route-level and store-level with grouped structures)
|
|
37117
37422
|
* @summary Get user\'s custom permissions
|
|
37118
37423
|
* @param {number} userId User ID
|
|
37119
37424
|
* @param {*} [options] Override http request option.
|
|
@@ -37406,7 +37711,7 @@ const UserApiFp = function (configuration) {
|
|
|
37406
37711
|
});
|
|
37407
37712
|
},
|
|
37408
37713
|
/**
|
|
37409
|
-
* Retrieves user\'s permission configuration (route-level and store-level)
|
|
37714
|
+
* Retrieves user\'s permission configuration in the same format as role permissions API (route-level and store-level with grouped structures)
|
|
37410
37715
|
* @summary Get user\'s custom permissions
|
|
37411
37716
|
* @param {number} userId User ID
|
|
37412
37717
|
* @param {*} [options] Override http request option.
|
|
@@ -37570,7 +37875,7 @@ const UserApiFactory = function (configuration, basePath, axios) {
|
|
|
37570
37875
|
return localVarFp.adminUsersResetpasswordIdPut(id, options).then((request) => request(axios, basePath));
|
|
37571
37876
|
},
|
|
37572
37877
|
/**
|
|
37573
|
-
* Retrieves user\'s permission configuration (route-level and store-level)
|
|
37878
|
+
* Retrieves user\'s permission configuration in the same format as role permissions API (route-level and store-level with grouped structures)
|
|
37574
37879
|
* @summary Get user\'s custom permissions
|
|
37575
37880
|
* @param {number} userId User ID
|
|
37576
37881
|
* @param {*} [options] Override http request option.
|
|
@@ -37711,7 +38016,7 @@ class UserApi extends base_1.BaseAPI {
|
|
|
37711
38016
|
return (0, exports.UserApiFp)(this.configuration).adminUsersResetpasswordIdPut(id, options).then((request) => request(this.axios, this.basePath));
|
|
37712
38017
|
}
|
|
37713
38018
|
/**
|
|
37714
|
-
* Retrieves user\'s permission configuration (route-level and store-level)
|
|
38019
|
+
* Retrieves user\'s permission configuration in the same format as role permissions API (route-level and store-level with grouped structures)
|
|
37715
38020
|
* @summary Get user\'s custom permissions
|
|
37716
38021
|
* @param {number} userId User ID
|
|
37717
38022
|
* @param {*} [options] Override http request option.
|