@seekora-ai/admin-api 1.1.50 → 1.1.52
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 +524 -185
- package/dist/api.d.ts +351 -180
- package/dist/api.js +347 -42
- package/dist/esm/api.d.ts +351 -180
- package/dist/esm/api.js +347 -42
- package/package.json +1 -1
- package/seekora-ai-admin-api-1.1.52.tgz +0 -0
- package/seekora-ai-admin-api-1.1.50.tgz +0 -0
package/dist/esm/api.js
CHANGED
|
@@ -9035,6 +9035,33 @@ export class AutomatedRefundManagementApi extends BaseAPI {
|
|
|
9035
9035
|
*/
|
|
9036
9036
|
export const BillingDashboardApiAxiosParamCreator = function (configuration) {
|
|
9037
9037
|
return {
|
|
9038
|
+
/**
|
|
9039
|
+
* Returns the current active plan details including subscription_id required for cancellation
|
|
9040
|
+
* @summary Get current active plan details
|
|
9041
|
+
* @param {*} [options] Override http request option.
|
|
9042
|
+
* @throws {RequiredError}
|
|
9043
|
+
*/
|
|
9044
|
+
adminBillingActivePlanGet: (...args_1) => __awaiter(this, [...args_1], void 0, function* (options = {}) {
|
|
9045
|
+
const localVarPath = `/admin/billing/active-plan`;
|
|
9046
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
9047
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
9048
|
+
let baseOptions;
|
|
9049
|
+
if (configuration) {
|
|
9050
|
+
baseOptions = configuration.baseOptions;
|
|
9051
|
+
}
|
|
9052
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
9053
|
+
const localVarHeaderParameter = {};
|
|
9054
|
+
const localVarQueryParameter = {};
|
|
9055
|
+
// authentication BearerAuth required
|
|
9056
|
+
yield setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
|
|
9057
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
9058
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
9059
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
9060
|
+
return {
|
|
9061
|
+
url: toPathString(localVarUrlObj),
|
|
9062
|
+
options: localVarRequestOptions,
|
|
9063
|
+
};
|
|
9064
|
+
}),
|
|
9038
9065
|
/**
|
|
9039
9066
|
* 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.
|
|
9040
9067
|
* @summary Get billing alerts
|
|
@@ -10350,6 +10377,21 @@ export const BillingDashboardApiAxiosParamCreator = function (configuration) {
|
|
|
10350
10377
|
export const BillingDashboardApiFp = function (configuration) {
|
|
10351
10378
|
const localVarAxiosParamCreator = BillingDashboardApiAxiosParamCreator(configuration);
|
|
10352
10379
|
return {
|
|
10380
|
+
/**
|
|
10381
|
+
* Returns the current active plan details including subscription_id required for cancellation
|
|
10382
|
+
* @summary Get current active plan details
|
|
10383
|
+
* @param {*} [options] Override http request option.
|
|
10384
|
+
* @throws {RequiredError}
|
|
10385
|
+
*/
|
|
10386
|
+
adminBillingActivePlanGet(options) {
|
|
10387
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
10388
|
+
var _a, _b, _c;
|
|
10389
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.adminBillingActivePlanGet(options);
|
|
10390
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
10391
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['BillingDashboardApi.adminBillingActivePlanGet']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
10392
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
10393
|
+
});
|
|
10394
|
+
},
|
|
10353
10395
|
/**
|
|
10354
10396
|
* 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.
|
|
10355
10397
|
* @summary Get billing alerts
|
|
@@ -10949,6 +10991,15 @@ export const BillingDashboardApiFp = function (configuration) {
|
|
|
10949
10991
|
export const BillingDashboardApiFactory = function (configuration, basePath, axios) {
|
|
10950
10992
|
const localVarFp = BillingDashboardApiFp(configuration);
|
|
10951
10993
|
return {
|
|
10994
|
+
/**
|
|
10995
|
+
* Returns the current active plan details including subscription_id required for cancellation
|
|
10996
|
+
* @summary Get current active plan details
|
|
10997
|
+
* @param {*} [options] Override http request option.
|
|
10998
|
+
* @throws {RequiredError}
|
|
10999
|
+
*/
|
|
11000
|
+
adminBillingActivePlanGet(options) {
|
|
11001
|
+
return localVarFp.adminBillingActivePlanGet(options).then((request) => request(axios, basePath));
|
|
11002
|
+
},
|
|
10952
11003
|
/**
|
|
10953
11004
|
* 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.
|
|
10954
11005
|
* @summary Get billing alerts
|
|
@@ -11356,6 +11407,16 @@ export const BillingDashboardApiFactory = function (configuration, basePath, axi
|
|
|
11356
11407
|
* @extends {BaseAPI}
|
|
11357
11408
|
*/
|
|
11358
11409
|
export class BillingDashboardApi extends BaseAPI {
|
|
11410
|
+
/**
|
|
11411
|
+
* Returns the current active plan details including subscription_id required for cancellation
|
|
11412
|
+
* @summary Get current active plan details
|
|
11413
|
+
* @param {*} [options] Override http request option.
|
|
11414
|
+
* @throws {RequiredError}
|
|
11415
|
+
* @memberof BillingDashboardApi
|
|
11416
|
+
*/
|
|
11417
|
+
adminBillingActivePlanGet(options) {
|
|
11418
|
+
return BillingDashboardApiFp(this.configuration).adminBillingActivePlanGet(options).then((request) => request(this.axios, this.basePath));
|
|
11419
|
+
}
|
|
11359
11420
|
/**
|
|
11360
11421
|
* 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.
|
|
11361
11422
|
* @summary Get billing alerts
|
|
@@ -20544,6 +20605,37 @@ export class NotificationPreferencesApi extends BaseAPI {
|
|
|
20544
20605
|
*/
|
|
20545
20606
|
export const NotificationsApiAxiosParamCreator = function (configuration) {
|
|
20546
20607
|
return {
|
|
20608
|
+
/**
|
|
20609
|
+
* Republishes an existing notification to RabbitMQ queue for processing
|
|
20610
|
+
* @summary Republish notification to RabbitMQ
|
|
20611
|
+
* @param {number} id Notification ID
|
|
20612
|
+
* @param {*} [options] Override http request option.
|
|
20613
|
+
* @throws {RequiredError}
|
|
20614
|
+
*/
|
|
20615
|
+
v1AdminNotificationsIdRepublishPost: (id_1, ...args_1) => __awaiter(this, [id_1, ...args_1], void 0, function* (id, options = {}) {
|
|
20616
|
+
// verify required parameter 'id' is not null or undefined
|
|
20617
|
+
assertParamExists('v1AdminNotificationsIdRepublishPost', 'id', id);
|
|
20618
|
+
const localVarPath = `/v1/admin/notifications/{id}/republish`
|
|
20619
|
+
.replace(`{${"id"}}`, encodeURIComponent(String(id)));
|
|
20620
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
20621
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
20622
|
+
let baseOptions;
|
|
20623
|
+
if (configuration) {
|
|
20624
|
+
baseOptions = configuration.baseOptions;
|
|
20625
|
+
}
|
|
20626
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
|
|
20627
|
+
const localVarHeaderParameter = {};
|
|
20628
|
+
const localVarQueryParameter = {};
|
|
20629
|
+
// authentication BearerAuth required
|
|
20630
|
+
yield setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
|
|
20631
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
20632
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
20633
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
20634
|
+
return {
|
|
20635
|
+
url: toPathString(localVarUrlObj),
|
|
20636
|
+
options: localVarRequestOptions,
|
|
20637
|
+
};
|
|
20638
|
+
}),
|
|
20547
20639
|
/**
|
|
20548
20640
|
* Retrieves paginated notifications for the authenticated user with optional filters, search, and sorting. Supports both page/page_size and limit/offset pagination.
|
|
20549
20641
|
* @summary Get user notifications
|
|
@@ -20767,6 +20859,22 @@ export const NotificationsApiAxiosParamCreator = function (configuration) {
|
|
|
20767
20859
|
export const NotificationsApiFp = function (configuration) {
|
|
20768
20860
|
const localVarAxiosParamCreator = NotificationsApiAxiosParamCreator(configuration);
|
|
20769
20861
|
return {
|
|
20862
|
+
/**
|
|
20863
|
+
* Republishes an existing notification to RabbitMQ queue for processing
|
|
20864
|
+
* @summary Republish notification to RabbitMQ
|
|
20865
|
+
* @param {number} id Notification ID
|
|
20866
|
+
* @param {*} [options] Override http request option.
|
|
20867
|
+
* @throws {RequiredError}
|
|
20868
|
+
*/
|
|
20869
|
+
v1AdminNotificationsIdRepublishPost(id, options) {
|
|
20870
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
20871
|
+
var _a, _b, _c;
|
|
20872
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.v1AdminNotificationsIdRepublishPost(id, options);
|
|
20873
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
20874
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['NotificationsApi.v1AdminNotificationsIdRepublishPost']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
20875
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
20876
|
+
});
|
|
20877
|
+
},
|
|
20770
20878
|
/**
|
|
20771
20879
|
* Retrieves paginated notifications for the authenticated user with optional filters, search, and sorting. Supports both page/page_size and limit/offset pagination.
|
|
20772
20880
|
* @summary Get user notifications
|
|
@@ -20879,6 +20987,16 @@ export const NotificationsApiFp = function (configuration) {
|
|
|
20879
20987
|
export const NotificationsApiFactory = function (configuration, basePath, axios) {
|
|
20880
20988
|
const localVarFp = NotificationsApiFp(configuration);
|
|
20881
20989
|
return {
|
|
20990
|
+
/**
|
|
20991
|
+
* Republishes an existing notification to RabbitMQ queue for processing
|
|
20992
|
+
* @summary Republish notification to RabbitMQ
|
|
20993
|
+
* @param {number} id Notification ID
|
|
20994
|
+
* @param {*} [options] Override http request option.
|
|
20995
|
+
* @throws {RequiredError}
|
|
20996
|
+
*/
|
|
20997
|
+
v1AdminNotificationsIdRepublishPost(id, options) {
|
|
20998
|
+
return localVarFp.v1AdminNotificationsIdRepublishPost(id, options).then((request) => request(axios, basePath));
|
|
20999
|
+
},
|
|
20882
21000
|
/**
|
|
20883
21001
|
* Retrieves paginated notifications for the authenticated user with optional filters, search, and sorting. Supports both page/page_size and limit/offset pagination.
|
|
20884
21002
|
* @summary Get user notifications
|
|
@@ -20955,6 +21073,17 @@ export const NotificationsApiFactory = function (configuration, basePath, axios)
|
|
|
20955
21073
|
* @extends {BaseAPI}
|
|
20956
21074
|
*/
|
|
20957
21075
|
export class NotificationsApi extends BaseAPI {
|
|
21076
|
+
/**
|
|
21077
|
+
* Republishes an existing notification to RabbitMQ queue for processing
|
|
21078
|
+
* @summary Republish notification to RabbitMQ
|
|
21079
|
+
* @param {number} id Notification ID
|
|
21080
|
+
* @param {*} [options] Override http request option.
|
|
21081
|
+
* @throws {RequiredError}
|
|
21082
|
+
* @memberof NotificationsApi
|
|
21083
|
+
*/
|
|
21084
|
+
v1AdminNotificationsIdRepublishPost(id, options) {
|
|
21085
|
+
return NotificationsApiFp(this.configuration).v1AdminNotificationsIdRepublishPost(id, options).then((request) => request(this.axios, this.basePath));
|
|
21086
|
+
}
|
|
20958
21087
|
/**
|
|
20959
21088
|
* Retrieves paginated notifications for the authenticated user with optional filters, search, and sorting. Supports both page/page_size and limit/offset pagination.
|
|
20960
21089
|
* @summary Get user notifications
|
|
@@ -25249,10 +25378,13 @@ export const QuerySuggestionsApiAxiosParamCreator = function (configuration) {
|
|
|
25249
25378
|
};
|
|
25250
25379
|
}),
|
|
25251
25380
|
/**
|
|
25252
|
-
* 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.
|
|
25381
|
+
* 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.
|
|
25253
25382
|
* @summary Get Query Suggestions
|
|
25254
25383
|
* @param {string} xStoreid Store ID
|
|
25255
25384
|
* @param {string} xStoresecret Store Secret
|
|
25385
|
+
* @param {string} [xUserId] User ID for personalization (logged-in user)
|
|
25386
|
+
* @param {string} [xAnonId] Anonymous ID for personalization (cookie/device ID)
|
|
25387
|
+
* @param {string} [xSessionId] Session ID for personalization
|
|
25256
25388
|
* @param {string} [query] Partial query to get suggestions for
|
|
25257
25389
|
* @param {number} [hitsPerPage] Number of suggestions to return
|
|
25258
25390
|
* @param {number} [page] Page number for pagination
|
|
@@ -25268,7 +25400,7 @@ export const QuerySuggestionsApiAxiosParamCreator = function (configuration) {
|
|
|
25268
25400
|
* @param {*} [options] Override http request option.
|
|
25269
25401
|
* @throws {RequiredError}
|
|
25270
25402
|
*/
|
|
25271
|
-
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 = {}) {
|
|
25403
|
+
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 = {}) {
|
|
25272
25404
|
// verify required parameter 'xStoreid' is not null or undefined
|
|
25273
25405
|
assertParamExists('v1SuggestionsQueriesGet', 'xStoreid', xStoreid);
|
|
25274
25406
|
// verify required parameter 'xStoresecret' is not null or undefined
|
|
@@ -25325,6 +25457,15 @@ export const QuerySuggestionsApiAxiosParamCreator = function (configuration) {
|
|
|
25325
25457
|
if (xStoresecret != null) {
|
|
25326
25458
|
localVarHeaderParameter['x-storesecret'] = String(xStoresecret);
|
|
25327
25459
|
}
|
|
25460
|
+
if (xUserId != null) {
|
|
25461
|
+
localVarHeaderParameter['x-user-id'] = String(xUserId);
|
|
25462
|
+
}
|
|
25463
|
+
if (xAnonId != null) {
|
|
25464
|
+
localVarHeaderParameter['x-anon-id'] = String(xAnonId);
|
|
25465
|
+
}
|
|
25466
|
+
if (xSessionId != null) {
|
|
25467
|
+
localVarHeaderParameter['x-session-id'] = String(xSessionId);
|
|
25468
|
+
}
|
|
25328
25469
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
25329
25470
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
25330
25471
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
@@ -25360,10 +25501,13 @@ export const QuerySuggestionsApiFp = function (configuration) {
|
|
|
25360
25501
|
});
|
|
25361
25502
|
},
|
|
25362
25503
|
/**
|
|
25363
|
-
* 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.
|
|
25504
|
+
* 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.
|
|
25364
25505
|
* @summary Get Query Suggestions
|
|
25365
25506
|
* @param {string} xStoreid Store ID
|
|
25366
25507
|
* @param {string} xStoresecret Store Secret
|
|
25508
|
+
* @param {string} [xUserId] User ID for personalization (logged-in user)
|
|
25509
|
+
* @param {string} [xAnonId] Anonymous ID for personalization (cookie/device ID)
|
|
25510
|
+
* @param {string} [xSessionId] Session ID for personalization
|
|
25367
25511
|
* @param {string} [query] Partial query to get suggestions for
|
|
25368
25512
|
* @param {number} [hitsPerPage] Number of suggestions to return
|
|
25369
25513
|
* @param {number} [page] Page number for pagination
|
|
@@ -25379,10 +25523,10 @@ export const QuerySuggestionsApiFp = function (configuration) {
|
|
|
25379
25523
|
* @param {*} [options] Override http request option.
|
|
25380
25524
|
* @throws {RequiredError}
|
|
25381
25525
|
*/
|
|
25382
|
-
v1SuggestionsQueriesGet(xStoreid, xStoresecret, query, hitsPerPage, page, analyticsTags, tagsMatchMode, includeCategories, includeFacets, maxCategories, maxFacets, minPopularity, timeRange, disableTypoTolerance, options) {
|
|
25526
|
+
v1SuggestionsQueriesGet(xStoreid, xStoresecret, xUserId, xAnonId, xSessionId, query, hitsPerPage, page, analyticsTags, tagsMatchMode, includeCategories, includeFacets, maxCategories, maxFacets, minPopularity, timeRange, disableTypoTolerance, options) {
|
|
25383
25527
|
return __awaiter(this, void 0, void 0, function* () {
|
|
25384
25528
|
var _a, _b, _c;
|
|
25385
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.v1SuggestionsQueriesGet(xStoreid, xStoresecret, query, hitsPerPage, page, analyticsTags, tagsMatchMode, includeCategories, includeFacets, maxCategories, maxFacets, minPopularity, timeRange, disableTypoTolerance, options);
|
|
25529
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.v1SuggestionsQueriesGet(xStoreid, xStoresecret, xUserId, xAnonId, xSessionId, query, hitsPerPage, page, analyticsTags, tagsMatchMode, includeCategories, includeFacets, maxCategories, maxFacets, minPopularity, timeRange, disableTypoTolerance, options);
|
|
25386
25530
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
25387
25531
|
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['QuerySuggestionsApi.v1SuggestionsQueriesGet']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
25388
25532
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
@@ -25409,10 +25553,13 @@ export const QuerySuggestionsApiFactory = function (configuration, basePath, axi
|
|
|
25409
25553
|
return localVarFp.v1SuggestionsConfigGet(xStoreid, xStoresecret, options).then((request) => request(axios, basePath));
|
|
25410
25554
|
},
|
|
25411
25555
|
/**
|
|
25412
|
-
* 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.
|
|
25556
|
+
* 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.
|
|
25413
25557
|
* @summary Get Query Suggestions
|
|
25414
25558
|
* @param {string} xStoreid Store ID
|
|
25415
25559
|
* @param {string} xStoresecret Store Secret
|
|
25560
|
+
* @param {string} [xUserId] User ID for personalization (logged-in user)
|
|
25561
|
+
* @param {string} [xAnonId] Anonymous ID for personalization (cookie/device ID)
|
|
25562
|
+
* @param {string} [xSessionId] Session ID for personalization
|
|
25416
25563
|
* @param {string} [query] Partial query to get suggestions for
|
|
25417
25564
|
* @param {number} [hitsPerPage] Number of suggestions to return
|
|
25418
25565
|
* @param {number} [page] Page number for pagination
|
|
@@ -25428,8 +25575,8 @@ export const QuerySuggestionsApiFactory = function (configuration, basePath, axi
|
|
|
25428
25575
|
* @param {*} [options] Override http request option.
|
|
25429
25576
|
* @throws {RequiredError}
|
|
25430
25577
|
*/
|
|
25431
|
-
v1SuggestionsQueriesGet(xStoreid, xStoresecret, query, hitsPerPage, page, analyticsTags, tagsMatchMode, includeCategories, includeFacets, maxCategories, maxFacets, minPopularity, timeRange, disableTypoTolerance, options) {
|
|
25432
|
-
return localVarFp.v1SuggestionsQueriesGet(xStoreid, xStoresecret, query, hitsPerPage, page, analyticsTags, tagsMatchMode, includeCategories, includeFacets, maxCategories, maxFacets, minPopularity, timeRange, disableTypoTolerance, options).then((request) => request(axios, basePath));
|
|
25578
|
+
v1SuggestionsQueriesGet(xStoreid, xStoresecret, xUserId, xAnonId, xSessionId, query, hitsPerPage, page, analyticsTags, tagsMatchMode, includeCategories, includeFacets, maxCategories, maxFacets, minPopularity, timeRange, disableTypoTolerance, options) {
|
|
25579
|
+
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));
|
|
25433
25580
|
},
|
|
25434
25581
|
};
|
|
25435
25582
|
};
|
|
@@ -25453,10 +25600,13 @@ export class QuerySuggestionsApi extends BaseAPI {
|
|
|
25453
25600
|
return QuerySuggestionsApiFp(this.configuration).v1SuggestionsConfigGet(xStoreid, xStoresecret, options).then((request) => request(this.axios, this.basePath));
|
|
25454
25601
|
}
|
|
25455
25602
|
/**
|
|
25456
|
-
* 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.
|
|
25603
|
+
* 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.
|
|
25457
25604
|
* @summary Get Query Suggestions
|
|
25458
25605
|
* @param {string} xStoreid Store ID
|
|
25459
25606
|
* @param {string} xStoresecret Store Secret
|
|
25607
|
+
* @param {string} [xUserId] User ID for personalization (logged-in user)
|
|
25608
|
+
* @param {string} [xAnonId] Anonymous ID for personalization (cookie/device ID)
|
|
25609
|
+
* @param {string} [xSessionId] Session ID for personalization
|
|
25460
25610
|
* @param {string} [query] Partial query to get suggestions for
|
|
25461
25611
|
* @param {number} [hitsPerPage] Number of suggestions to return
|
|
25462
25612
|
* @param {number} [page] Page number for pagination
|
|
@@ -25473,8 +25623,8 @@ export class QuerySuggestionsApi extends BaseAPI {
|
|
|
25473
25623
|
* @throws {RequiredError}
|
|
25474
25624
|
* @memberof QuerySuggestionsApi
|
|
25475
25625
|
*/
|
|
25476
|
-
v1SuggestionsQueriesGet(xStoreid, xStoresecret, query, hitsPerPage, page, analyticsTags, tagsMatchMode, includeCategories, includeFacets, maxCategories, maxFacets, minPopularity, timeRange, disableTypoTolerance, options) {
|
|
25477
|
-
return 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));
|
|
25626
|
+
v1SuggestionsQueriesGet(xStoreid, xStoresecret, xUserId, xAnonId, xSessionId, query, hitsPerPage, page, analyticsTags, tagsMatchMode, includeCategories, includeFacets, maxCategories, maxFacets, minPopularity, timeRange, disableTypoTolerance, options) {
|
|
25627
|
+
return 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));
|
|
25478
25628
|
}
|
|
25479
25629
|
}
|
|
25480
25630
|
/**
|
|
@@ -31163,15 +31313,18 @@ export const SearchApiAxiosParamCreator = function (configuration) {
|
|
|
31163
31313
|
};
|
|
31164
31314
|
}),
|
|
31165
31315
|
/**
|
|
31166
|
-
* Search documents using store credentials with optional autocomplete suggestions and configurable stopwords/synonyms
|
|
31316
|
+
* 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.
|
|
31167
31317
|
* @summary Public Search API
|
|
31168
31318
|
* @param {string} xStoreid Store ID
|
|
31169
31319
|
* @param {string} xStoresecret Store Secret
|
|
31170
31320
|
* @param {DataTypesPublicSearchRequest} dataTypesPublicSearchRequest Search request with optional stopword_sets and synonym_sets for granular control
|
|
31321
|
+
* @param {string} [xUserId] User ID for personalization (logged-in user)
|
|
31322
|
+
* @param {string} [xAnonId] Anonymous ID for personalization (cookie/device ID)
|
|
31323
|
+
* @param {string} [xSessionId] Session ID for personalization
|
|
31171
31324
|
* @param {*} [options] Override http request option.
|
|
31172
31325
|
* @throws {RequiredError}
|
|
31173
31326
|
*/
|
|
31174
|
-
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 = {}) {
|
|
31327
|
+
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 = {}) {
|
|
31175
31328
|
// verify required parameter 'xStoreid' is not null or undefined
|
|
31176
31329
|
assertParamExists('v1SearchPost', 'xStoreid', xStoreid);
|
|
31177
31330
|
// verify required parameter 'xStoresecret' is not null or undefined
|
|
@@ -31195,6 +31348,15 @@ export const SearchApiAxiosParamCreator = function (configuration) {
|
|
|
31195
31348
|
if (xStoresecret != null) {
|
|
31196
31349
|
localVarHeaderParameter['x-storesecret'] = String(xStoresecret);
|
|
31197
31350
|
}
|
|
31351
|
+
if (xUserId != null) {
|
|
31352
|
+
localVarHeaderParameter['x-user-id'] = String(xUserId);
|
|
31353
|
+
}
|
|
31354
|
+
if (xAnonId != null) {
|
|
31355
|
+
localVarHeaderParameter['x-anon-id'] = String(xAnonId);
|
|
31356
|
+
}
|
|
31357
|
+
if (xSessionId != null) {
|
|
31358
|
+
localVarHeaderParameter['x-session-id'] = String(xSessionId);
|
|
31359
|
+
}
|
|
31198
31360
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
31199
31361
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
31200
31362
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
@@ -31314,18 +31476,21 @@ export const SearchApiFp = function (configuration) {
|
|
|
31314
31476
|
});
|
|
31315
31477
|
},
|
|
31316
31478
|
/**
|
|
31317
|
-
* Search documents using store credentials with optional autocomplete suggestions and configurable stopwords/synonyms
|
|
31479
|
+
* 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.
|
|
31318
31480
|
* @summary Public Search API
|
|
31319
31481
|
* @param {string} xStoreid Store ID
|
|
31320
31482
|
* @param {string} xStoresecret Store Secret
|
|
31321
31483
|
* @param {DataTypesPublicSearchRequest} dataTypesPublicSearchRequest Search request with optional stopword_sets and synonym_sets for granular control
|
|
31484
|
+
* @param {string} [xUserId] User ID for personalization (logged-in user)
|
|
31485
|
+
* @param {string} [xAnonId] Anonymous ID for personalization (cookie/device ID)
|
|
31486
|
+
* @param {string} [xSessionId] Session ID for personalization
|
|
31322
31487
|
* @param {*} [options] Override http request option.
|
|
31323
31488
|
* @throws {RequiredError}
|
|
31324
31489
|
*/
|
|
31325
|
-
v1SearchPost(xStoreid, xStoresecret, dataTypesPublicSearchRequest, options) {
|
|
31490
|
+
v1SearchPost(xStoreid, xStoresecret, dataTypesPublicSearchRequest, xUserId, xAnonId, xSessionId, options) {
|
|
31326
31491
|
return __awaiter(this, void 0, void 0, function* () {
|
|
31327
31492
|
var _a, _b, _c;
|
|
31328
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.v1SearchPost(xStoreid, xStoresecret, dataTypesPublicSearchRequest, options);
|
|
31493
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.v1SearchPost(xStoreid, xStoresecret, dataTypesPublicSearchRequest, xUserId, xAnonId, xSessionId, options);
|
|
31329
31494
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
31330
31495
|
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['SearchApi.v1SearchPost']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
31331
31496
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
@@ -31405,16 +31570,19 @@ export const SearchApiFactory = function (configuration, basePath, axios) {
|
|
|
31405
31570
|
return localVarFp.v1IndexIndexnameDefaultsGet(indexname, options).then((request) => request(axios, basePath));
|
|
31406
31571
|
},
|
|
31407
31572
|
/**
|
|
31408
|
-
* Search documents using store credentials with optional autocomplete suggestions and configurable stopwords/synonyms
|
|
31573
|
+
* 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.
|
|
31409
31574
|
* @summary Public Search API
|
|
31410
31575
|
* @param {string} xStoreid Store ID
|
|
31411
31576
|
* @param {string} xStoresecret Store Secret
|
|
31412
31577
|
* @param {DataTypesPublicSearchRequest} dataTypesPublicSearchRequest Search request with optional stopword_sets and synonym_sets for granular control
|
|
31578
|
+
* @param {string} [xUserId] User ID for personalization (logged-in user)
|
|
31579
|
+
* @param {string} [xAnonId] Anonymous ID for personalization (cookie/device ID)
|
|
31580
|
+
* @param {string} [xSessionId] Session ID for personalization
|
|
31413
31581
|
* @param {*} [options] Override http request option.
|
|
31414
31582
|
* @throws {RequiredError}
|
|
31415
31583
|
*/
|
|
31416
|
-
v1SearchPost(xStoreid, xStoresecret, dataTypesPublicSearchRequest, options) {
|
|
31417
|
-
return localVarFp.v1SearchPost(xStoreid, xStoresecret, dataTypesPublicSearchRequest, options).then((request) => request(axios, basePath));
|
|
31584
|
+
v1SearchPost(xStoreid, xStoresecret, dataTypesPublicSearchRequest, xUserId, xAnonId, xSessionId, options) {
|
|
31585
|
+
return localVarFp.v1SearchPost(xStoreid, xStoresecret, dataTypesPublicSearchRequest, xUserId, xAnonId, xSessionId, options).then((request) => request(axios, basePath));
|
|
31418
31586
|
},
|
|
31419
31587
|
};
|
|
31420
31588
|
};
|
|
@@ -31496,17 +31664,20 @@ export class SearchApi extends BaseAPI {
|
|
|
31496
31664
|
return SearchApiFp(this.configuration).v1IndexIndexnameDefaultsGet(indexname, options).then((request) => request(this.axios, this.basePath));
|
|
31497
31665
|
}
|
|
31498
31666
|
/**
|
|
31499
|
-
* Search documents using store credentials with optional autocomplete suggestions and configurable stopwords/synonyms
|
|
31667
|
+
* 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.
|
|
31500
31668
|
* @summary Public Search API
|
|
31501
31669
|
* @param {string} xStoreid Store ID
|
|
31502
31670
|
* @param {string} xStoresecret Store Secret
|
|
31503
31671
|
* @param {DataTypesPublicSearchRequest} dataTypesPublicSearchRequest Search request with optional stopword_sets and synonym_sets for granular control
|
|
31672
|
+
* @param {string} [xUserId] User ID for personalization (logged-in user)
|
|
31673
|
+
* @param {string} [xAnonId] Anonymous ID for personalization (cookie/device ID)
|
|
31674
|
+
* @param {string} [xSessionId] Session ID for personalization
|
|
31504
31675
|
* @param {*} [options] Override http request option.
|
|
31505
31676
|
* @throws {RequiredError}
|
|
31506
31677
|
* @memberof SearchApi
|
|
31507
31678
|
*/
|
|
31508
|
-
v1SearchPost(xStoreid, xStoresecret, dataTypesPublicSearchRequest, options) {
|
|
31509
|
-
return SearchApiFp(this.configuration).v1SearchPost(xStoreid, xStoresecret, dataTypesPublicSearchRequest, options).then((request) => request(this.axios, this.basePath));
|
|
31679
|
+
v1SearchPost(xStoreid, xStoresecret, dataTypesPublicSearchRequest, xUserId, xAnonId, xSessionId, options) {
|
|
31680
|
+
return SearchApiFp(this.configuration).v1SearchPost(xStoreid, xStoresecret, dataTypesPublicSearchRequest, xUserId, xAnonId, xSessionId, options).then((request) => request(this.axios, this.basePath));
|
|
31510
31681
|
}
|
|
31511
31682
|
}
|
|
31512
31683
|
/**
|
|
@@ -34582,9 +34753,9 @@ export class StoresApi extends BaseAPI {
|
|
|
34582
34753
|
export const SubscriptionsApiAxiosParamCreator = function (configuration) {
|
|
34583
34754
|
return {
|
|
34584
34755
|
/**
|
|
34585
|
-
* Shows detailed preview of subscription cancellation including credit calculation, billing period info, and potential refund
|
|
34756
|
+
* Shows detailed preview of subscription cancellation including credit calculation, billing period info, and potential refund. Org ID is automatically extracted from JWT session.
|
|
34586
34757
|
* @summary Preview subscription cancellation details
|
|
34587
|
-
* @param {SubscriptionRouteCancelPreviewRequest} subscriptionRouteCancelPreviewRequest Cancellation preview request
|
|
34758
|
+
* @param {SubscriptionRouteCancelPreviewRequest} subscriptionRouteCancelPreviewRequest Cancellation preview request (org_id is extracted from session)
|
|
34588
34759
|
* @param {*} [options] Override http request option.
|
|
34589
34760
|
* @throws {RequiredError}
|
|
34590
34761
|
*/
|
|
@@ -34614,9 +34785,9 @@ export const SubscriptionsApiAxiosParamCreator = function (configuration) {
|
|
|
34614
34785
|
};
|
|
34615
34786
|
}),
|
|
34616
34787
|
/**
|
|
34617
|
-
* Cancels the subscription, removes unused credits, and processes refund if applicable
|
|
34788
|
+
* Cancels the subscription, removes unused credits, and processes refund if applicable. Org ID is automatically extracted from JWT session.
|
|
34618
34789
|
* @summary Process subscription cancellation
|
|
34619
|
-
* @param {SubscriptionRouteCancelProcessRequest} subscriptionRouteCancelProcessRequest Cancellation process request
|
|
34790
|
+
* @param {SubscriptionRouteCancelProcessRequest} subscriptionRouteCancelProcessRequest Cancellation process request (org_id is extracted from session)
|
|
34620
34791
|
* @param {*} [options] Override http request option.
|
|
34621
34792
|
* @throws {RequiredError}
|
|
34622
34793
|
*/
|
|
@@ -34816,9 +34987,9 @@ export const SubscriptionsApiFp = function (configuration) {
|
|
|
34816
34987
|
const localVarAxiosParamCreator = SubscriptionsApiAxiosParamCreator(configuration);
|
|
34817
34988
|
return {
|
|
34818
34989
|
/**
|
|
34819
|
-
* Shows detailed preview of subscription cancellation including credit calculation, billing period info, and potential refund
|
|
34990
|
+
* Shows detailed preview of subscription cancellation including credit calculation, billing period info, and potential refund. Org ID is automatically extracted from JWT session.
|
|
34820
34991
|
* @summary Preview subscription cancellation details
|
|
34821
|
-
* @param {SubscriptionRouteCancelPreviewRequest} subscriptionRouteCancelPreviewRequest Cancellation preview request
|
|
34992
|
+
* @param {SubscriptionRouteCancelPreviewRequest} subscriptionRouteCancelPreviewRequest Cancellation preview request (org_id is extracted from session)
|
|
34822
34993
|
* @param {*} [options] Override http request option.
|
|
34823
34994
|
* @throws {RequiredError}
|
|
34824
34995
|
*/
|
|
@@ -34832,9 +35003,9 @@ export const SubscriptionsApiFp = function (configuration) {
|
|
|
34832
35003
|
});
|
|
34833
35004
|
},
|
|
34834
35005
|
/**
|
|
34835
|
-
* Cancels the subscription, removes unused credits, and processes refund if applicable
|
|
35006
|
+
* Cancels the subscription, removes unused credits, and processes refund if applicable. Org ID is automatically extracted from JWT session.
|
|
34836
35007
|
* @summary Process subscription cancellation
|
|
34837
|
-
* @param {SubscriptionRouteCancelProcessRequest} subscriptionRouteCancelProcessRequest Cancellation process request
|
|
35008
|
+
* @param {SubscriptionRouteCancelProcessRequest} subscriptionRouteCancelProcessRequest Cancellation process request (org_id is extracted from session)
|
|
34838
35009
|
* @param {*} [options] Override http request option.
|
|
34839
35010
|
* @throws {RequiredError}
|
|
34840
35011
|
*/
|
|
@@ -34938,9 +35109,9 @@ export const SubscriptionsApiFactory = function (configuration, basePath, axios)
|
|
|
34938
35109
|
const localVarFp = SubscriptionsApiFp(configuration);
|
|
34939
35110
|
return {
|
|
34940
35111
|
/**
|
|
34941
|
-
* Shows detailed preview of subscription cancellation including credit calculation, billing period info, and potential refund
|
|
35112
|
+
* Shows detailed preview of subscription cancellation including credit calculation, billing period info, and potential refund. Org ID is automatically extracted from JWT session.
|
|
34942
35113
|
* @summary Preview subscription cancellation details
|
|
34943
|
-
* @param {SubscriptionRouteCancelPreviewRequest} subscriptionRouteCancelPreviewRequest Cancellation preview request
|
|
35114
|
+
* @param {SubscriptionRouteCancelPreviewRequest} subscriptionRouteCancelPreviewRequest Cancellation preview request (org_id is extracted from session)
|
|
34944
35115
|
* @param {*} [options] Override http request option.
|
|
34945
35116
|
* @throws {RequiredError}
|
|
34946
35117
|
*/
|
|
@@ -34948,9 +35119,9 @@ export const SubscriptionsApiFactory = function (configuration, basePath, axios)
|
|
|
34948
35119
|
return localVarFp.adminSubscriptionsCancelPreviewPost(subscriptionRouteCancelPreviewRequest, options).then((request) => request(axios, basePath));
|
|
34949
35120
|
},
|
|
34950
35121
|
/**
|
|
34951
|
-
* Cancels the subscription, removes unused credits, and processes refund if applicable
|
|
35122
|
+
* Cancels the subscription, removes unused credits, and processes refund if applicable. Org ID is automatically extracted from JWT session.
|
|
34952
35123
|
* @summary Process subscription cancellation
|
|
34953
|
-
* @param {SubscriptionRouteCancelProcessRequest} subscriptionRouteCancelProcessRequest Cancellation process request
|
|
35124
|
+
* @param {SubscriptionRouteCancelProcessRequest} subscriptionRouteCancelProcessRequest Cancellation process request (org_id is extracted from session)
|
|
34954
35125
|
* @param {*} [options] Override http request option.
|
|
34955
35126
|
* @throws {RequiredError}
|
|
34956
35127
|
*/
|
|
@@ -35018,9 +35189,9 @@ export const SubscriptionsApiFactory = function (configuration, basePath, axios)
|
|
|
35018
35189
|
*/
|
|
35019
35190
|
export class SubscriptionsApi extends BaseAPI {
|
|
35020
35191
|
/**
|
|
35021
|
-
* Shows detailed preview of subscription cancellation including credit calculation, billing period info, and potential refund
|
|
35192
|
+
* Shows detailed preview of subscription cancellation including credit calculation, billing period info, and potential refund. Org ID is automatically extracted from JWT session.
|
|
35022
35193
|
* @summary Preview subscription cancellation details
|
|
35023
|
-
* @param {SubscriptionRouteCancelPreviewRequest} subscriptionRouteCancelPreviewRequest Cancellation preview request
|
|
35194
|
+
* @param {SubscriptionRouteCancelPreviewRequest} subscriptionRouteCancelPreviewRequest Cancellation preview request (org_id is extracted from session)
|
|
35024
35195
|
* @param {*} [options] Override http request option.
|
|
35025
35196
|
* @throws {RequiredError}
|
|
35026
35197
|
* @memberof SubscriptionsApi
|
|
@@ -35029,9 +35200,9 @@ export class SubscriptionsApi extends BaseAPI {
|
|
|
35029
35200
|
return SubscriptionsApiFp(this.configuration).adminSubscriptionsCancelPreviewPost(subscriptionRouteCancelPreviewRequest, options).then((request) => request(this.axios, this.basePath));
|
|
35030
35201
|
}
|
|
35031
35202
|
/**
|
|
35032
|
-
* Cancels the subscription, removes unused credits, and processes refund if applicable
|
|
35203
|
+
* Cancels the subscription, removes unused credits, and processes refund if applicable. Org ID is automatically extracted from JWT session.
|
|
35033
35204
|
* @summary Process subscription cancellation
|
|
35034
|
-
* @param {SubscriptionRouteCancelProcessRequest} subscriptionRouteCancelProcessRequest Cancellation process request
|
|
35205
|
+
* @param {SubscriptionRouteCancelProcessRequest} subscriptionRouteCancelProcessRequest Cancellation process request (org_id is extracted from session)
|
|
35035
35206
|
* @param {*} [options] Override http request option.
|
|
35036
35207
|
* @throws {RequiredError}
|
|
35037
35208
|
* @memberof SubscriptionsApi
|
|
@@ -35538,6 +35709,37 @@ export const TeamApiAxiosParamCreator = function (configuration) {
|
|
|
35538
35709
|
options: localVarRequestOptions,
|
|
35539
35710
|
};
|
|
35540
35711
|
}),
|
|
35712
|
+
/**
|
|
35713
|
+
* Resends the invitation email for an existing pending invitation
|
|
35714
|
+
* @summary Resend invitation email
|
|
35715
|
+
* @param {number} invitationId Invitation ID
|
|
35716
|
+
* @param {*} [options] Override http request option.
|
|
35717
|
+
* @throws {RequiredError}
|
|
35718
|
+
*/
|
|
35719
|
+
v1InvitationsInvitationIdResendPost: (invitationId_1, ...args_1) => __awaiter(this, [invitationId_1, ...args_1], void 0, function* (invitationId, options = {}) {
|
|
35720
|
+
// verify required parameter 'invitationId' is not null or undefined
|
|
35721
|
+
assertParamExists('v1InvitationsInvitationIdResendPost', 'invitationId', invitationId);
|
|
35722
|
+
const localVarPath = `/v1/invitations/{invitationId}/resend`
|
|
35723
|
+
.replace(`{${"invitationId"}}`, encodeURIComponent(String(invitationId)));
|
|
35724
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
35725
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
35726
|
+
let baseOptions;
|
|
35727
|
+
if (configuration) {
|
|
35728
|
+
baseOptions = configuration.baseOptions;
|
|
35729
|
+
}
|
|
35730
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
|
|
35731
|
+
const localVarHeaderParameter = {};
|
|
35732
|
+
const localVarQueryParameter = {};
|
|
35733
|
+
// authentication BearerAuth required
|
|
35734
|
+
yield setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
|
|
35735
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
35736
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
35737
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
35738
|
+
return {
|
|
35739
|
+
url: toPathString(localVarUrlObj),
|
|
35740
|
+
options: localVarRequestOptions,
|
|
35741
|
+
};
|
|
35742
|
+
}),
|
|
35541
35743
|
/**
|
|
35542
35744
|
* Accepts a team invitation using token
|
|
35543
35745
|
* @summary Accept invitation
|
|
@@ -35632,6 +35834,35 @@ export const TeamApiAxiosParamCreator = function (configuration) {
|
|
|
35632
35834
|
options: localVarRequestOptions,
|
|
35633
35835
|
};
|
|
35634
35836
|
}),
|
|
35837
|
+
/**
|
|
35838
|
+
* Resends the invitation email using the invitation token. This is a public endpoint that doesn\'t require authentication - the token itself serves as authentication.
|
|
35839
|
+
* @summary Resend invitation email by token (public)
|
|
35840
|
+
* @param {string} token Invitation Token
|
|
35841
|
+
* @param {*} [options] Override http request option.
|
|
35842
|
+
* @throws {RequiredError}
|
|
35843
|
+
*/
|
|
35844
|
+
v1InvitationsTokenResendPost: (token_1, ...args_1) => __awaiter(this, [token_1, ...args_1], void 0, function* (token, options = {}) {
|
|
35845
|
+
// verify required parameter 'token' is not null or undefined
|
|
35846
|
+
assertParamExists('v1InvitationsTokenResendPost', 'token', token);
|
|
35847
|
+
const localVarPath = `/v1/invitations/{token}/resend`
|
|
35848
|
+
.replace(`{${"token"}}`, encodeURIComponent(String(token)));
|
|
35849
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
35850
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
35851
|
+
let baseOptions;
|
|
35852
|
+
if (configuration) {
|
|
35853
|
+
baseOptions = configuration.baseOptions;
|
|
35854
|
+
}
|
|
35855
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
|
|
35856
|
+
const localVarHeaderParameter = {};
|
|
35857
|
+
const localVarQueryParameter = {};
|
|
35858
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
35859
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
35860
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
35861
|
+
return {
|
|
35862
|
+
url: toPathString(localVarUrlObj),
|
|
35863
|
+
options: localVarRequestOptions,
|
|
35864
|
+
};
|
|
35865
|
+
}),
|
|
35635
35866
|
/**
|
|
35636
35867
|
* Retrieves all users with access to a store
|
|
35637
35868
|
* @summary Get store access list
|
|
@@ -36033,6 +36264,22 @@ export const TeamApiFp = function (configuration) {
|
|
|
36033
36264
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
36034
36265
|
});
|
|
36035
36266
|
},
|
|
36267
|
+
/**
|
|
36268
|
+
* Resends the invitation email for an existing pending invitation
|
|
36269
|
+
* @summary Resend invitation email
|
|
36270
|
+
* @param {number} invitationId Invitation ID
|
|
36271
|
+
* @param {*} [options] Override http request option.
|
|
36272
|
+
* @throws {RequiredError}
|
|
36273
|
+
*/
|
|
36274
|
+
v1InvitationsInvitationIdResendPost(invitationId, options) {
|
|
36275
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
36276
|
+
var _a, _b, _c;
|
|
36277
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.v1InvitationsInvitationIdResendPost(invitationId, options);
|
|
36278
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
36279
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['TeamApi.v1InvitationsInvitationIdResendPost']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
36280
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
36281
|
+
});
|
|
36282
|
+
},
|
|
36036
36283
|
/**
|
|
36037
36284
|
* Accepts a team invitation using token
|
|
36038
36285
|
* @summary Accept invitation
|
|
@@ -36082,6 +36329,22 @@ export const TeamApiFp = function (configuration) {
|
|
|
36082
36329
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
36083
36330
|
});
|
|
36084
36331
|
},
|
|
36332
|
+
/**
|
|
36333
|
+
* Resends the invitation email using the invitation token. This is a public endpoint that doesn\'t require authentication - the token itself serves as authentication.
|
|
36334
|
+
* @summary Resend invitation email by token (public)
|
|
36335
|
+
* @param {string} token Invitation Token
|
|
36336
|
+
* @param {*} [options] Override http request option.
|
|
36337
|
+
* @throws {RequiredError}
|
|
36338
|
+
*/
|
|
36339
|
+
v1InvitationsTokenResendPost(token, options) {
|
|
36340
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
36341
|
+
var _a, _b, _c;
|
|
36342
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.v1InvitationsTokenResendPost(token, options);
|
|
36343
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
36344
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['TeamApi.v1InvitationsTokenResendPost']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
36345
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
36346
|
+
});
|
|
36347
|
+
},
|
|
36085
36348
|
/**
|
|
36086
36349
|
* Retrieves all users with access to a store
|
|
36087
36350
|
* @summary Get store access list
|
|
@@ -36296,6 +36559,16 @@ export const TeamApiFactory = function (configuration, basePath, axios) {
|
|
|
36296
36559
|
v1InvitationsInvitationIdPermissionsRolePut(invitationId, dataTypesUpdateInvitationRolePermissionsRequest, options) {
|
|
36297
36560
|
return localVarFp.v1InvitationsInvitationIdPermissionsRolePut(invitationId, dataTypesUpdateInvitationRolePermissionsRequest, options).then((request) => request(axios, basePath));
|
|
36298
36561
|
},
|
|
36562
|
+
/**
|
|
36563
|
+
* Resends the invitation email for an existing pending invitation
|
|
36564
|
+
* @summary Resend invitation email
|
|
36565
|
+
* @param {number} invitationId Invitation ID
|
|
36566
|
+
* @param {*} [options] Override http request option.
|
|
36567
|
+
* @throws {RequiredError}
|
|
36568
|
+
*/
|
|
36569
|
+
v1InvitationsInvitationIdResendPost(invitationId, options) {
|
|
36570
|
+
return localVarFp.v1InvitationsInvitationIdResendPost(invitationId, options).then((request) => request(axios, basePath));
|
|
36571
|
+
},
|
|
36299
36572
|
/**
|
|
36300
36573
|
* Accepts a team invitation using token
|
|
36301
36574
|
* @summary Accept invitation
|
|
@@ -36327,6 +36600,16 @@ export const TeamApiFactory = function (configuration, basePath, axios) {
|
|
|
36327
36600
|
v1InvitationsTokenGet(token, options) {
|
|
36328
36601
|
return localVarFp.v1InvitationsTokenGet(token, options).then((request) => request(axios, basePath));
|
|
36329
36602
|
},
|
|
36603
|
+
/**
|
|
36604
|
+
* Resends the invitation email using the invitation token. This is a public endpoint that doesn\'t require authentication - the token itself serves as authentication.
|
|
36605
|
+
* @summary Resend invitation email by token (public)
|
|
36606
|
+
* @param {string} token Invitation Token
|
|
36607
|
+
* @param {*} [options] Override http request option.
|
|
36608
|
+
* @throws {RequiredError}
|
|
36609
|
+
*/
|
|
36610
|
+
v1InvitationsTokenResendPost(token, options) {
|
|
36611
|
+
return localVarFp.v1InvitationsTokenResendPost(token, options).then((request) => request(axios, basePath));
|
|
36612
|
+
},
|
|
36330
36613
|
/**
|
|
36331
36614
|
* Retrieves all users with access to a store
|
|
36332
36615
|
* @summary Get store access list
|
|
@@ -36485,6 +36768,17 @@ export class TeamApi extends BaseAPI {
|
|
|
36485
36768
|
v1InvitationsInvitationIdPermissionsRolePut(invitationId, dataTypesUpdateInvitationRolePermissionsRequest, options) {
|
|
36486
36769
|
return TeamApiFp(this.configuration).v1InvitationsInvitationIdPermissionsRolePut(invitationId, dataTypesUpdateInvitationRolePermissionsRequest, options).then((request) => request(this.axios, this.basePath));
|
|
36487
36770
|
}
|
|
36771
|
+
/**
|
|
36772
|
+
* Resends the invitation email for an existing pending invitation
|
|
36773
|
+
* @summary Resend invitation email
|
|
36774
|
+
* @param {number} invitationId Invitation ID
|
|
36775
|
+
* @param {*} [options] Override http request option.
|
|
36776
|
+
* @throws {RequiredError}
|
|
36777
|
+
* @memberof TeamApi
|
|
36778
|
+
*/
|
|
36779
|
+
v1InvitationsInvitationIdResendPost(invitationId, options) {
|
|
36780
|
+
return TeamApiFp(this.configuration).v1InvitationsInvitationIdResendPost(invitationId, options).then((request) => request(this.axios, this.basePath));
|
|
36781
|
+
}
|
|
36488
36782
|
/**
|
|
36489
36783
|
* Accepts a team invitation using token
|
|
36490
36784
|
* @summary Accept invitation
|
|
@@ -36519,6 +36813,17 @@ export class TeamApi extends BaseAPI {
|
|
|
36519
36813
|
v1InvitationsTokenGet(token, options) {
|
|
36520
36814
|
return TeamApiFp(this.configuration).v1InvitationsTokenGet(token, options).then((request) => request(this.axios, this.basePath));
|
|
36521
36815
|
}
|
|
36816
|
+
/**
|
|
36817
|
+
* Resends the invitation email using the invitation token. This is a public endpoint that doesn\'t require authentication - the token itself serves as authentication.
|
|
36818
|
+
* @summary Resend invitation email by token (public)
|
|
36819
|
+
* @param {string} token Invitation Token
|
|
36820
|
+
* @param {*} [options] Override http request option.
|
|
36821
|
+
* @throws {RequiredError}
|
|
36822
|
+
* @memberof TeamApi
|
|
36823
|
+
*/
|
|
36824
|
+
v1InvitationsTokenResendPost(token, options) {
|
|
36825
|
+
return TeamApiFp(this.configuration).v1InvitationsTokenResendPost(token, options).then((request) => request(this.axios, this.basePath));
|
|
36826
|
+
}
|
|
36522
36827
|
/**
|
|
36523
36828
|
* Retrieves all users with access to a store
|
|
36524
36829
|
* @summary Get store access list
|
|
@@ -36863,7 +37168,7 @@ export const UserApiAxiosParamCreator = function (configuration) {
|
|
|
36863
37168
|
};
|
|
36864
37169
|
}),
|
|
36865
37170
|
/**
|
|
36866
|
-
* Retrieves user\'s permission configuration (route-level and store-level)
|
|
37171
|
+
* Retrieves user\'s permission configuration in the same format as role permissions API (route-level and store-level with grouped structures)
|
|
36867
37172
|
* @summary Get user\'s custom permissions
|
|
36868
37173
|
* @param {number} userId User ID
|
|
36869
37174
|
* @param {*} [options] Override http request option.
|
|
@@ -37155,7 +37460,7 @@ export const UserApiFp = function (configuration) {
|
|
|
37155
37460
|
});
|
|
37156
37461
|
},
|
|
37157
37462
|
/**
|
|
37158
|
-
* Retrieves user\'s permission configuration (route-level and store-level)
|
|
37463
|
+
* Retrieves user\'s permission configuration in the same format as role permissions API (route-level and store-level with grouped structures)
|
|
37159
37464
|
* @summary Get user\'s custom permissions
|
|
37160
37465
|
* @param {number} userId User ID
|
|
37161
37466
|
* @param {*} [options] Override http request option.
|
|
@@ -37318,7 +37623,7 @@ export const UserApiFactory = function (configuration, basePath, axios) {
|
|
|
37318
37623
|
return localVarFp.adminUsersResetpasswordIdPut(id, options).then((request) => request(axios, basePath));
|
|
37319
37624
|
},
|
|
37320
37625
|
/**
|
|
37321
|
-
* Retrieves user\'s permission configuration (route-level and store-level)
|
|
37626
|
+
* Retrieves user\'s permission configuration in the same format as role permissions API (route-level and store-level with grouped structures)
|
|
37322
37627
|
* @summary Get user\'s custom permissions
|
|
37323
37628
|
* @param {number} userId User ID
|
|
37324
37629
|
* @param {*} [options] Override http request option.
|
|
@@ -37458,7 +37763,7 @@ export class UserApi extends BaseAPI {
|
|
|
37458
37763
|
return UserApiFp(this.configuration).adminUsersResetpasswordIdPut(id, options).then((request) => request(this.axios, this.basePath));
|
|
37459
37764
|
}
|
|
37460
37765
|
/**
|
|
37461
|
-
* Retrieves user\'s permission configuration (route-level and store-level)
|
|
37766
|
+
* Retrieves user\'s permission configuration in the same format as role permissions API (route-level and store-level with grouped structures)
|
|
37462
37767
|
* @summary Get user\'s custom permissions
|
|
37463
37768
|
* @param {number} userId User ID
|
|
37464
37769
|
* @param {*} [options] Override http request option.
|