@seekora-ai/admin-api 1.1.70 → 1.1.72
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 +10 -2
- package/api.ts +645 -25
- package/dist/api.d.ts +505 -22
- package/dist/api.js +265 -15
- package/dist/esm/api.d.ts +505 -22
- package/dist/esm/api.js +257 -7
- package/package.json +1 -1
- package/seekora-ai-admin-api-1.1.72.tgz +0 -0
- package/seekora-ai-admin-api-1.1.70.tgz +0 -0
package/dist/api.js
CHANGED
|
@@ -22,20 +22,24 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
|
|
|
22
22
|
});
|
|
23
23
|
};
|
|
24
24
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
25
|
-
exports.
|
|
26
|
-
exports.
|
|
27
|
-
exports.
|
|
28
|
-
exports.
|
|
29
|
-
exports.
|
|
30
|
-
exports.
|
|
31
|
-
exports.
|
|
32
|
-
exports.UserApi = exports.UserApiFactory = exports.UserApiFp = exports.UserApiAxiosParamCreator = exports.TeamApi = exports.TeamApiFactory = exports.TeamApiFp = exports.TeamApiAxiosParamCreator = exports.TaxManagementApi = exports.TaxManagementApiFactory = exports.TaxManagementApiFp = exports.TaxManagementApiAxiosParamCreator = exports.SubscriptionsApi = exports.SubscriptionsApiFactory = exports.SubscriptionsApiFp = exports.SubscriptionsApiAxiosParamCreator = exports.SubscriptionPaymentsApi = exports.SubscriptionPaymentsApiFactory = exports.SubscriptionPaymentsApiFp = exports.SubscriptionPaymentsApiAxiosParamCreator = exports.StoresApi = exports.StoresApiFactory = exports.StoresApiFp = exports.StoresApiAxiosParamCreator = exports.StoreDocumentsApi = exports.StoreDocumentsApiFactory = exports.StoreDocumentsApiFp = exports.StoreDocumentsApiAxiosParamCreator = exports.StoreCreationApi = exports.StoreCreationApiFactory = void 0;
|
|
25
|
+
exports.AdminAnalyticsApi = exports.AdminAnalyticsApiFactory = exports.AdminAnalyticsApiFp = exports.AdminAnalyticsApiAxiosParamCreator = exports.AnalyticsActivityLogsGetActionEnum = exports.ActivityLogsApi = exports.ActivityLogsApiFactory = exports.ActivityLogsApiFp = exports.ActivityLogsApiAxiosParamCreator = exports.AccountSettingsApi = exports.AccountSettingsApiFactory = exports.AccountSettingsApiFp = exports.AccountSettingsApiAxiosParamCreator = exports.APICallsApi = exports.APICallsApiFactory = exports.APICallsApiFp = exports.APICallsApiAxiosParamCreator = exports.RefundRefundPreviewRequestDtoRefundTypeEnum = exports.QuerySuggestionsServiceRuleType = exports.QuerySuggestionsServiceQuerySuggestionStatus = exports.QuerySuggestionsServiceQuerySuggestionSource = exports.QuerySuggestionsServiceBulkOperation = exports.QuerySuggestionsServiceBannedMatchType = exports.MenuRoutesAddMenuRequestModuleTypeEnum = exports.MenuRoutesAddMenuRequestMenuLocationEnum = exports.MenuRoutesAddMenuRequestMenuLevelEnum = exports.DataTypesUpdateWordStatusRequestWordTypeEnum = exports.DataTypesUpdateStoreAccessRequestAccessLevelEnum = exports.DataTypesUpdatePluralDeclensionRequestTypeEnum = exports.DataTypesUpdateMemberRoleRequestMemberRoleEnum = exports.DataTypesStoreLevelMenuRightAccessLevelEnum = exports.DataTypesStoreAccessRequestAccessLevelEnum = exports.DataTypesRefundCalculationRequestDtoRefundTypeEnum = exports.DataTypesRefundApprovalDtoActionEnum = exports.DataTypesProcessRefundRequestDtoRefundTypeEnum = exports.DataTypesNotificationType = exports.DataTypesNotificationStatus = exports.DataTypesNotificationPriority = exports.DataTypesNotificationChannel = exports.DataTypesGrantStoreAccessRequestAccessLevelEnum = exports.DataTypesCreateTaskRequestTypeEnum = exports.DataTypesCreateTaskRequestIndexingStrategyEnum = exports.DataTypesCreateTaskRequestFrequencyEnum = exports.DataTypesCreateRefundRequestDtoRefundTypeEnum = exports.DataTypesCreatePluralDeclensionRequestTypeEnum = exports.DataTypesCreatePaymentOrderRequestPaymentTypeEnum = exports.DataTypesCreateCustomWordListRequestTypeEnum = exports.DataTypesBillingAlertRequestThresholdUnitEnum = exports.DataTypesBillingAlertRequestAlertTypeEnum = exports.DataTypesAcceptInvitationWithOAuthRequestTypeEnum = void 0;
|
|
26
|
+
exports.AdminAnalyticsStoreXStoreIDResultsGetTagsMatchModeEnum = exports.AdminAnalyticsStoreXStoreIDQueriesQueryInsightsGetCompareTagsMatchModeEnum = exports.AdminAnalyticsStoreXStoreIDQueriesQueryInsightsGetTagsMatchModeEnum = exports.AdminAnalyticsStoreXStoreIDQueriesNoResultsGetSortOrderEnum = exports.AdminAnalyticsStoreXStoreIDQueriesNoResultsGetSortByEnum = exports.AdminAnalyticsStoreXStoreIDQueriesNoResultsGetCompareTagsMatchModeEnum = exports.AdminAnalyticsStoreXStoreIDQueriesNoResultsGetTagsMatchModeEnum = exports.AdminAnalyticsStoreXStoreIDQueriesNoClicksGetSortOrderEnum = exports.AdminAnalyticsStoreXStoreIDQueriesNoClicksGetSortByEnum = exports.AdminAnalyticsStoreXStoreIDQueriesNoClicksGetCompareTagsMatchModeEnum = exports.AdminAnalyticsStoreXStoreIDQueriesNoClicksGetTagsMatchModeEnum = exports.AdminAnalyticsStoreXStoreIDQueriesGetSortOrderEnum = exports.AdminAnalyticsStoreXStoreIDQueriesGetSortByEnum = exports.AdminAnalyticsStoreXStoreIDQueriesGetCompareTagsMatchModeEnum = exports.AdminAnalyticsStoreXStoreIDQueriesGetTagsMatchModeEnum = exports.AdminAnalyticsStoreXStoreIDQueriesGetGranularityEnum = exports.AdminAnalyticsStoreXStoreIDKpiGetCompareTagsMatchModeEnum = exports.AdminAnalyticsStoreXStoreIDKpiGetTagsMatchModeEnum = exports.AdminAnalyticsStoreXStoreIDKpiGetGranularityEnum = exports.AdminAnalyticsStoreXStoreIDGeoInsightsGetCompareTagsMatchModeEnum = exports.AdminAnalyticsStoreXStoreIDGeoInsightsGetTagsMatchModeEnum = exports.AdminAnalyticsStoreXStoreIDGeoGetSortOrderEnum = exports.AdminAnalyticsStoreXStoreIDGeoGetSortByEnum = exports.AdminAnalyticsStoreXStoreIDGeoGetCompareTagsMatchModeEnum = exports.AdminAnalyticsStoreXStoreIDGeoGetTagsMatchModeEnum = exports.AdminAnalyticsStoreXStoreIDGeoGetGranularityEnum = exports.AdminAnalyticsStoreXStoreIDFiltersTrendsGetSortOrderEnum = exports.AdminAnalyticsStoreXStoreIDFiltersTrendsGetSortByEnum = exports.AdminAnalyticsStoreXStoreIDFiltersTrendsGetGranularityEnum = exports.AdminAnalyticsStoreXStoreIDFiltersGetSortOrderEnum = exports.AdminAnalyticsStoreXStoreIDFiltersGetSortByEnum = exports.AdminAnalyticsStoreXStoreIDFiltersGetGranularityEnum = exports.AdminAnalyticsStoreXStoreIDFiltersEffectivenessGetSortOrderEnum = exports.AdminAnalyticsStoreXStoreIDFiltersEffectivenessGetSortByEnum = exports.AdminAnalyticsStoreXStoreIDFiltersCombinationsGetSortOrderEnum = exports.AdminAnalyticsStoreXStoreIDFiltersCombinationsGetSortByEnum = exports.AdminAnalyticsOrgKpiGetTagsMatchModeEnum = exports.AdminAnalyticsOrgKpiGetGranularityEnum = exports.AnalyticsApi = exports.AnalyticsApiFactory = exports.AnalyticsApiFp = exports.AnalyticsApiAxiosParamCreator = exports.AdminNotificationsApi = exports.AdminNotificationsApiFactory = exports.AdminNotificationsApiFp = exports.AdminNotificationsApiAxiosParamCreator = exports.AdminNotificationTemplatesApi = exports.AdminNotificationTemplatesApiFactory = exports.AdminNotificationTemplatesApiFp = exports.AdminNotificationTemplatesApiAxiosParamCreator = void 0;
|
|
27
|
+
exports.BillingDashboardGraphsApiAxiosParamCreator = exports.AdminBillingUsageDetailsGetGranularityEnum = exports.AdminBillingPaymentTransactionsGetSortOrderEnum = exports.AdminBillingPaymentTransactionsGetSortByEnum = exports.AdminBillingOrdersGetSortOrderEnum = exports.AdminBillingOrdersGetSortByEnum = exports.AdminBillingInvoicesGetSortOrderEnum = exports.AdminBillingInvoicesGetSortByEnum = exports.AdminBillingCreditTransactionsGetSortOrderEnum = exports.AdminBillingCreditTransactionsGetSortByEnum = exports.AdminBillingCreditPurchasesGetSortOrderEnum = exports.AdminBillingCreditPurchasesGetSortByEnum = exports.AdminBillingCreditLedgerGetSortOrderEnum = exports.AdminBillingCreditLedgerGetSortByEnum = exports.BillingDashboardApi = exports.BillingDashboardApiFactory = exports.BillingDashboardApiFp = exports.BillingDashboardApiAxiosParamCreator = exports.AutomatedRefundManagementApi = exports.AutomatedRefundManagementApiFactory = exports.AutomatedRefundManagementApiFp = exports.AutomatedRefundManagementApiAxiosParamCreator = exports.AuthApi = exports.AuthApiFactory = exports.AuthApiFp = exports.AuthApiAxiosParamCreator = exports.ArticlesApi = exports.ArticlesApiFactory = exports.ArticlesApiFp = exports.ArticlesApiAxiosParamCreator = exports.AnalyticsRulesApi = exports.AnalyticsRulesApiFactory = exports.AnalyticsRulesApiFp = exports.AnalyticsRulesApiAxiosParamCreator = exports.AnalyticsEventsApi = exports.AnalyticsEventsApiFactory = exports.AnalyticsEventsApiFp = exports.AnalyticsEventsApiAxiosParamCreator = exports.AdminAnalyticsStoreXStoreIDTagsSummaryGetSortOrderEnum = exports.AdminAnalyticsStoreXStoreIDTagsSummaryGetSortByEnum = exports.AdminAnalyticsStoreXStoreIDTagsGetSortOrderEnum = exports.AdminAnalyticsStoreXStoreIDTagsGetSortByEnum = exports.AdminAnalyticsStoreXStoreIDSuggestionsQueryInsightsGetTagsMatchModeEnum = exports.AdminAnalyticsStoreXStoreIDSuggestionsQueryInsightsGetGranularityEnum = exports.AdminAnalyticsStoreXStoreIDSuggestionsQueriesGetSortOrderEnum = exports.AdminAnalyticsStoreXStoreIDSuggestionsQueriesGetSortByEnum = exports.AdminAnalyticsStoreXStoreIDSuggestionsQueriesGetTagsMatchModeEnum = exports.AdminAnalyticsStoreXStoreIDResultsGetSortOrderEnum = exports.AdminAnalyticsStoreXStoreIDResultsGetSortByEnum = exports.AdminAnalyticsStoreXStoreIDResultsGetCompareTagsMatchModeEnum = void 0;
|
|
28
|
+
exports.FeatureLimitsAdminApiFp = exports.FeatureLimitsAdminApiAxiosParamCreator = exports.FeatureLimitsApi = exports.FeatureLimitsApiFactory = exports.FeatureLimitsApiFp = exports.FeatureLimitsApiAxiosParamCreator = exports.ExternalAPINotificationsApi = exports.ExternalAPINotificationsApiFactory = exports.ExternalAPINotificationsApiFp = exports.ExternalAPINotificationsApiAxiosParamCreator = exports.DocumentsApi = exports.DocumentsApiFactory = exports.DocumentsApiFp = exports.DocumentsApiAxiosParamCreator = exports.DocumentationApi = exports.DocumentationApiFactory = exports.DocumentationApiFp = exports.DocumentationApiAxiosParamCreator = exports.DefaultMenuManagementApi = exports.DefaultMenuManagementApiFactory = exports.DefaultMenuManagementApiFp = exports.DefaultMenuManagementApiAxiosParamCreator = exports.CustomStopwordsApi = exports.CustomStopwordsApiFactory = exports.CustomStopwordsApiFp = exports.CustomStopwordsApiAxiosParamCreator = exports.CreditsTransactionsGetTypeEnum = exports.CreditsApi = exports.CreditsApiFactory = exports.CreditsApiFp = exports.CreditsApiAxiosParamCreator = exports.ConnectorsApi = exports.ConnectorsApiFactory = exports.ConnectorsApiFp = exports.ConnectorsApiAxiosParamCreator = exports.CompanyConfigApi = exports.CompanyConfigApiFactory = exports.CompanyConfigApiFp = exports.CompanyConfigApiAxiosParamCreator = exports.CommonApi = exports.CommonApiFactory = exports.CommonApiFp = exports.CommonApiAxiosParamCreator = exports.AdminBillingGraphsUsageBreakdownGetGranularityEnum = exports.AdminBillingGraphsTimeseriesConsumptionGetGranularityEnum = exports.AdminBillingGraphsSearchRequestsGetGranularityEnum = exports.AdminBillingGraphsCreditsConsumedGetGranularityEnum = exports.BillingDashboardGraphsApi = exports.BillingDashboardGraphsApiFactory = exports.BillingDashboardGraphsApiFp = void 0;
|
|
29
|
+
exports.MongoDbApi = exports.MongoDbApiFactory = exports.MongoDbApiFp = exports.MongoDbApiAxiosParamCreator = exports.ModulesApi = exports.ModulesApiFactory = exports.ModulesApiFp = exports.ModulesApiAxiosParamCreator = exports.MenusApi = exports.MenusApiFactory = exports.MenusApiFp = exports.MenusApiAxiosParamCreator = exports.MenuRouteMetricsAdminApi = exports.MenuRouteMetricsAdminApiFactory = exports.MenuRouteMetricsAdminApiFp = exports.MenuRouteMetricsAdminApiAxiosParamCreator = exports.MenuRouteMetricGetFormnameEnum = exports.MenuRouteMetricGetRouteEnum = exports.MenuRouteMetricsApi = exports.MenuRouteMetricsApiFactory = exports.MenuRouteMetricsApiFp = exports.MenuRouteMetricsApiAxiosParamCreator = exports.MenuManagementApi = exports.MenuManagementApiFactory = exports.MenuManagementApiFp = exports.MenuManagementApiAxiosParamCreator = exports.LimitsApi = exports.LimitsApiFactory = exports.LimitsApiFp = exports.LimitsApiAxiosParamCreator = exports.AdminAnalyticsStoreXStoreIDQueriesItemPerformanceGetSortOrderEnum = exports.AdminAnalyticsStoreXStoreIDQueriesItemPerformanceGetSortByEnum = exports.AdminAnalyticsStoreXStoreIDItemsTrendsGetSortOrderEnum = exports.AdminAnalyticsStoreXStoreIDItemsTrendsGetSortByEnum = exports.AdminAnalyticsStoreXStoreIDItemsTrendsGetGranularityEnum = exports.AdminAnalyticsStoreXStoreIDItemsPerformanceGetSortOrderEnum = exports.AdminAnalyticsStoreXStoreIDItemsPerformanceGetSortByEnum = exports.AdminAnalyticsStoreXStoreIDItemsItemIdInsightsGetGroupByEnum = exports.AdminAnalyticsStoreXStoreIDItemsItemIdInsightsGetCompareTagsMatchModeEnum = exports.AdminAnalyticsStoreXStoreIDItemsItemIdInsightsGetTagsMatchModeEnum = exports.AdminAnalyticsStoreXStoreIDItemsGetSortOrderEnum = exports.AdminAnalyticsStoreXStoreIDItemsGetSortByEnum = exports.AdminAnalyticsStoreXStoreIDItemsDiscoveryGetSortOrderEnum = exports.AdminAnalyticsStoreXStoreIDItemsDiscoveryGetSortByEnum = exports.ItemAnalyticsApi = exports.ItemAnalyticsApiFactory = exports.ItemAnalyticsApiFp = exports.ItemAnalyticsApiAxiosParamCreator = exports.FeatureLimitsAdminApi = exports.FeatureLimitsAdminApiFactory = void 0;
|
|
30
|
+
exports.V1SuggestionsQueriesGetTagsMatchModeEnum = exports.QuerySuggestionsApi = exports.QuerySuggestionsApiFactory = exports.QuerySuggestionsApiFp = exports.QuerySuggestionsApiAxiosParamCreator = exports.PluralsDeclensionsApi = exports.PluralsDeclensionsApiFactory = exports.PluralsDeclensionsApiFp = exports.PluralsDeclensionsApiAxiosParamCreator = exports.PlansApi = exports.PlansApiFactory = exports.PlansApiFp = exports.PlansApiAxiosParamCreator = exports.PaymentsApi = exports.PaymentsApiFactory = exports.PaymentsApiFp = exports.PaymentsApiAxiosParamCreator = exports.PaymentGatewayApi = exports.PaymentGatewayApiFactory = exports.PaymentGatewayApiFp = exports.PaymentGatewayApiAxiosParamCreator = exports.ParentMenusApi = exports.ParentMenusApiFactory = exports.ParentMenusApiFp = exports.ParentMenusApiAxiosParamCreator = exports.OrganizationsApi = exports.OrganizationsApiFactory = exports.OrganizationsApiFp = exports.OrganizationsApiAxiosParamCreator = exports.OnboardingApi = exports.OnboardingApiFactory = exports.OnboardingApiFp = exports.OnboardingApiAxiosParamCreator = exports.V1NotificationsGetSortOrderEnum = exports.V1NotificationsGetSortByEnum = exports.V1NotificationsGetPriorityEnum = exports.V1NotificationsGetIsReadEnum = exports.V1NotificationsGetTypeEnum = exports.NotificationsApi = exports.NotificationsApiFactory = exports.NotificationsApiFp = exports.NotificationsApiAxiosParamCreator = exports.NotificationPreferencesApi = exports.NotificationPreferencesApiFactory = exports.NotificationPreferencesApiFp = exports.NotificationPreferencesApiAxiosParamCreator = exports.NewsLettersApi = exports.NewsLettersApiFactory = exports.NewsLettersApiFp = exports.NewsLettersApiAxiosParamCreator = void 0;
|
|
31
|
+
exports.StoreCreationApiAxiosParamCreator = exports.StopwordsApi = exports.StopwordsApiFactory = exports.StopwordsApiFp = exports.StopwordsApiAxiosParamCreator = exports.SearchApi = exports.SearchApiFactory = exports.SearchApiFp = exports.SearchApiAxiosParamCreator = exports.SDKStoreInfoApi = exports.SDKStoreInfoApiFactory = exports.SDKStoreInfoApiFp = exports.SDKStoreInfoApiAxiosParamCreator = exports.SDKStoreCreationApi = exports.SDKStoreCreationApiFactory = exports.SDKStoreCreationApiFp = exports.SDKStoreCreationApiAxiosParamCreator = exports.SDKStoreConfigApi = exports.SDKStoreConfigApiFactory = exports.SDKStoreConfigApiFp = exports.SDKStoreConfigApiAxiosParamCreator = exports.SDKQuerySuggestionsConfigApi = exports.SDKQuerySuggestionsConfigApiFactory = exports.SDKQuerySuggestionsConfigApiFp = exports.SDKQuerySuggestionsConfigApiAxiosParamCreator = exports.RolesApi = exports.RolesApiFactory = exports.RolesApiFp = exports.RolesApiAxiosParamCreator = exports.RoleRightsApi = exports.RoleRightsApiFactory = exports.RoleRightsApiFp = exports.RoleRightsApiAxiosParamCreator = exports.RequestsApi = exports.RequestsApiFactory = exports.RequestsApiFp = exports.RequestsApiAxiosParamCreator = exports.RegisterApi = exports.RegisterApiFactory = exports.RegisterApiFp = exports.RegisterApiAxiosParamCreator = exports.RefundManagementApi = exports.RefundManagementApiFactory = exports.RefundManagementApiFp = exports.RefundManagementApiAxiosParamCreator = exports.QuerySuggestionsManagementApi = exports.QuerySuggestionsManagementApiFactory = exports.QuerySuggestionsManagementApiFp = exports.QuerySuggestionsManagementApiAxiosParamCreator = exports.V1SuggestionsQueriesGetTimeRangeEnum = void 0;
|
|
32
|
+
exports.UserApi = exports.UserApiFactory = exports.UserApiFp = exports.UserApiAxiosParamCreator = exports.TeamApi = exports.TeamApiFactory = exports.TeamApiFp = exports.TeamApiAxiosParamCreator = exports.TaxManagementApi = exports.TaxManagementApiFactory = exports.TaxManagementApiFp = exports.TaxManagementApiAxiosParamCreator = exports.SubscriptionsApi = exports.SubscriptionsApiFactory = exports.SubscriptionsApiFp = exports.SubscriptionsApiAxiosParamCreator = exports.SubscriptionPaymentsApi = exports.SubscriptionPaymentsApiFactory = exports.SubscriptionPaymentsApiFp = exports.SubscriptionPaymentsApiAxiosParamCreator = exports.StoresApi = exports.StoresApiFactory = exports.StoresApiFp = exports.StoresApiAxiosParamCreator = exports.StoreDocumentsApi = exports.StoreDocumentsApiFactory = exports.StoreDocumentsApiFp = exports.StoreDocumentsApiAxiosParamCreator = exports.StoreCreationApi = exports.StoreCreationApiFactory = exports.StoreCreationApiFp = void 0;
|
|
33
33
|
const axios_1 = require("axios");
|
|
34
34
|
// Some imports not used depending on template conditions
|
|
35
35
|
// @ts-ignore
|
|
36
36
|
const common_1 = require("./common");
|
|
37
37
|
// @ts-ignore
|
|
38
38
|
const base_1 = require("./base");
|
|
39
|
+
exports.DataTypesAcceptInvitationWithOAuthRequestTypeEnum = {
|
|
40
|
+
Google: 'google',
|
|
41
|
+
Github: 'github'
|
|
42
|
+
};
|
|
39
43
|
exports.DataTypesBillingAlertRequestAlertTypeEnum = {
|
|
40
44
|
LowBalance: 'low_balance',
|
|
41
45
|
ExpiringCredits: 'expiring_credits',
|
|
@@ -11365,6 +11369,33 @@ const BillingDashboardApiAxiosParamCreator = function (configuration) {
|
|
|
11365
11369
|
options: localVarRequestOptions,
|
|
11366
11370
|
};
|
|
11367
11371
|
}),
|
|
11372
|
+
/**
|
|
11373
|
+
* Retrieves a list of all historically cancelled subscriptions for the organization with cancellation details, refund info, and credits removed
|
|
11374
|
+
* @summary Get cancelled subscriptions history
|
|
11375
|
+
* @param {*} [options] Override http request option.
|
|
11376
|
+
* @throws {RequiredError}
|
|
11377
|
+
*/
|
|
11378
|
+
apiAdminBillingCancelledSubscriptionsGet: (...args_1) => __awaiter(this, [...args_1], void 0, function* (options = {}) {
|
|
11379
|
+
const localVarPath = `/api/admin/billing/cancelled-subscriptions`;
|
|
11380
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
11381
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
11382
|
+
let baseOptions;
|
|
11383
|
+
if (configuration) {
|
|
11384
|
+
baseOptions = configuration.baseOptions;
|
|
11385
|
+
}
|
|
11386
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
11387
|
+
const localVarHeaderParameter = {};
|
|
11388
|
+
const localVarQueryParameter = {};
|
|
11389
|
+
// authentication BearerAuth required
|
|
11390
|
+
yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Authorization", configuration);
|
|
11391
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
11392
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
11393
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
11394
|
+
return {
|
|
11395
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
11396
|
+
options: localVarRequestOptions,
|
|
11397
|
+
};
|
|
11398
|
+
}),
|
|
11368
11399
|
};
|
|
11369
11400
|
};
|
|
11370
11401
|
exports.BillingDashboardApiAxiosParamCreator = BillingDashboardApiAxiosParamCreator;
|
|
@@ -11980,6 +12011,21 @@ const BillingDashboardApiFp = function (configuration) {
|
|
|
11980
12011
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
11981
12012
|
});
|
|
11982
12013
|
},
|
|
12014
|
+
/**
|
|
12015
|
+
* Retrieves a list of all historically cancelled subscriptions for the organization with cancellation details, refund info, and credits removed
|
|
12016
|
+
* @summary Get cancelled subscriptions history
|
|
12017
|
+
* @param {*} [options] Override http request option.
|
|
12018
|
+
* @throws {RequiredError}
|
|
12019
|
+
*/
|
|
12020
|
+
apiAdminBillingCancelledSubscriptionsGet(options) {
|
|
12021
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
12022
|
+
var _a, _b, _c;
|
|
12023
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.apiAdminBillingCancelledSubscriptionsGet(options);
|
|
12024
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
12025
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['BillingDashboardApi.apiAdminBillingCancelledSubscriptionsGet']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
12026
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
12027
|
+
});
|
|
12028
|
+
},
|
|
11983
12029
|
};
|
|
11984
12030
|
};
|
|
11985
12031
|
exports.BillingDashboardApiFp = BillingDashboardApiFp;
|
|
@@ -12397,6 +12443,15 @@ const BillingDashboardApiFactory = function (configuration, basePath, axios) {
|
|
|
12397
12443
|
adminBillingUsageDetailsGet(xstoreid, startDate, endDate, granularity, chartPage, chartPageSize, endpointPage, endpointPageSize, consumptionPage, consumptionPageSize, options) {
|
|
12398
12444
|
return localVarFp.adminBillingUsageDetailsGet(xstoreid, startDate, endDate, granularity, chartPage, chartPageSize, endpointPage, endpointPageSize, consumptionPage, consumptionPageSize, options).then((request) => request(axios, basePath));
|
|
12399
12445
|
},
|
|
12446
|
+
/**
|
|
12447
|
+
* Retrieves a list of all historically cancelled subscriptions for the organization with cancellation details, refund info, and credits removed
|
|
12448
|
+
* @summary Get cancelled subscriptions history
|
|
12449
|
+
* @param {*} [options] Override http request option.
|
|
12450
|
+
* @throws {RequiredError}
|
|
12451
|
+
*/
|
|
12452
|
+
apiAdminBillingCancelledSubscriptionsGet(options) {
|
|
12453
|
+
return localVarFp.apiAdminBillingCancelledSubscriptionsGet(options).then((request) => request(axios, basePath));
|
|
12454
|
+
},
|
|
12400
12455
|
};
|
|
12401
12456
|
};
|
|
12402
12457
|
exports.BillingDashboardApiFactory = BillingDashboardApiFactory;
|
|
@@ -12847,6 +12902,16 @@ class BillingDashboardApi extends base_1.BaseAPI {
|
|
|
12847
12902
|
adminBillingUsageDetailsGet(xstoreid, startDate, endDate, granularity, chartPage, chartPageSize, endpointPage, endpointPageSize, consumptionPage, consumptionPageSize, options) {
|
|
12848
12903
|
return (0, exports.BillingDashboardApiFp)(this.configuration).adminBillingUsageDetailsGet(xstoreid, startDate, endDate, granularity, chartPage, chartPageSize, endpointPage, endpointPageSize, consumptionPage, consumptionPageSize, options).then((request) => request(this.axios, this.basePath));
|
|
12849
12904
|
}
|
|
12905
|
+
/**
|
|
12906
|
+
* Retrieves a list of all historically cancelled subscriptions for the organization with cancellation details, refund info, and credits removed
|
|
12907
|
+
* @summary Get cancelled subscriptions history
|
|
12908
|
+
* @param {*} [options] Override http request option.
|
|
12909
|
+
* @throws {RequiredError}
|
|
12910
|
+
* @memberof BillingDashboardApi
|
|
12911
|
+
*/
|
|
12912
|
+
apiAdminBillingCancelledSubscriptionsGet(options) {
|
|
12913
|
+
return (0, exports.BillingDashboardApiFp)(this.configuration).apiAdminBillingCancelledSubscriptionsGet(options).then((request) => request(this.axios, this.basePath));
|
|
12914
|
+
}
|
|
12850
12915
|
}
|
|
12851
12916
|
exports.BillingDashboardApi = BillingDashboardApi;
|
|
12852
12917
|
/**
|
|
@@ -22255,10 +22320,11 @@ const NotificationsApiAxiosParamCreator = function (configuration) {
|
|
|
22255
22320
|
* @param {V1NotificationsGetPriorityEnum} [priority] Filter by priority
|
|
22256
22321
|
* @param {V1NotificationsGetSortByEnum} [sortBy] Sort field
|
|
22257
22322
|
* @param {V1NotificationsGetSortOrderEnum} [sortOrder] Sort order (case-insensitive)
|
|
22323
|
+
* @param {string} [since] ISO8601 timestamp - return only notifications created strictly after this time (excludes notifications with this exact timestamp)
|
|
22258
22324
|
* @param {*} [options] Override http request option.
|
|
22259
22325
|
* @throws {RequiredError}
|
|
22260
22326
|
*/
|
|
22261
|
-
v1NotificationsGet: (page_1, pageSize_1, limit_1, offset_1, search_1, type_1, isRead_1, priority_1, sortBy_1, sortOrder_1, ...args_1) => __awaiter(this, [page_1, pageSize_1, limit_1, offset_1, search_1, type_1, isRead_1, priority_1, sortBy_1, sortOrder_1, ...args_1], void 0, function* (page, pageSize, limit, offset, search, type, isRead, priority, sortBy, sortOrder, options = {}) {
|
|
22327
|
+
v1NotificationsGet: (page_1, pageSize_1, limit_1, offset_1, search_1, type_1, isRead_1, priority_1, sortBy_1, sortOrder_1, since_1, ...args_1) => __awaiter(this, [page_1, pageSize_1, limit_1, offset_1, search_1, type_1, isRead_1, priority_1, sortBy_1, sortOrder_1, since_1, ...args_1], void 0, function* (page, pageSize, limit, offset, search, type, isRead, priority, sortBy, sortOrder, since, options = {}) {
|
|
22262
22328
|
const localVarPath = `/v1/notifications`;
|
|
22263
22329
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
22264
22330
|
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
@@ -22301,6 +22367,9 @@ const NotificationsApiAxiosParamCreator = function (configuration) {
|
|
|
22301
22367
|
if (sortOrder !== undefined) {
|
|
22302
22368
|
localVarQueryParameter['sort_order'] = sortOrder;
|
|
22303
22369
|
}
|
|
22370
|
+
if (since !== undefined) {
|
|
22371
|
+
localVarQueryParameter['since'] = since;
|
|
22372
|
+
}
|
|
22304
22373
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
22305
22374
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
22306
22375
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
@@ -22530,13 +22599,14 @@ const NotificationsApiFp = function (configuration) {
|
|
|
22530
22599
|
* @param {V1NotificationsGetPriorityEnum} [priority] Filter by priority
|
|
22531
22600
|
* @param {V1NotificationsGetSortByEnum} [sortBy] Sort field
|
|
22532
22601
|
* @param {V1NotificationsGetSortOrderEnum} [sortOrder] Sort order (case-insensitive)
|
|
22602
|
+
* @param {string} [since] ISO8601 timestamp - return only notifications created strictly after this time (excludes notifications with this exact timestamp)
|
|
22533
22603
|
* @param {*} [options] Override http request option.
|
|
22534
22604
|
* @throws {RequiredError}
|
|
22535
22605
|
*/
|
|
22536
|
-
v1NotificationsGet(page, pageSize, limit, offset, search, type, isRead, priority, sortBy, sortOrder, options) {
|
|
22606
|
+
v1NotificationsGet(page, pageSize, limit, offset, search, type, isRead, priority, sortBy, sortOrder, since, options) {
|
|
22537
22607
|
return __awaiter(this, void 0, void 0, function* () {
|
|
22538
22608
|
var _a, _b, _c;
|
|
22539
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.v1NotificationsGet(page, pageSize, limit, offset, search, type, isRead, priority, sortBy, sortOrder, options);
|
|
22609
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.v1NotificationsGet(page, pageSize, limit, offset, search, type, isRead, priority, sortBy, sortOrder, since, options);
|
|
22540
22610
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
22541
22611
|
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['NotificationsApi.v1NotificationsGet']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
22542
22612
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
@@ -22670,11 +22740,12 @@ const NotificationsApiFactory = function (configuration, basePath, axios) {
|
|
|
22670
22740
|
* @param {V1NotificationsGetPriorityEnum} [priority] Filter by priority
|
|
22671
22741
|
* @param {V1NotificationsGetSortByEnum} [sortBy] Sort field
|
|
22672
22742
|
* @param {V1NotificationsGetSortOrderEnum} [sortOrder] Sort order (case-insensitive)
|
|
22743
|
+
* @param {string} [since] ISO8601 timestamp - return only notifications created strictly after this time (excludes notifications with this exact timestamp)
|
|
22673
22744
|
* @param {*} [options] Override http request option.
|
|
22674
22745
|
* @throws {RequiredError}
|
|
22675
22746
|
*/
|
|
22676
|
-
v1NotificationsGet(page, pageSize, limit, offset, search, type, isRead, priority, sortBy, sortOrder, options) {
|
|
22677
|
-
return localVarFp.v1NotificationsGet(page, pageSize, limit, offset, search, type, isRead, priority, sortBy, sortOrder, options).then((request) => request(axios, basePath));
|
|
22747
|
+
v1NotificationsGet(page, pageSize, limit, offset, search, type, isRead, priority, sortBy, sortOrder, since, options) {
|
|
22748
|
+
return localVarFp.v1NotificationsGet(page, pageSize, limit, offset, search, type, isRead, priority, sortBy, sortOrder, since, options).then((request) => request(axios, basePath));
|
|
22678
22749
|
},
|
|
22679
22750
|
/**
|
|
22680
22751
|
* Generates a fresh presigned URL for notification attachments (invoice or receipt). This is useful when the original presigned URL has expired.
|
|
@@ -22769,12 +22840,13 @@ class NotificationsApi extends base_1.BaseAPI {
|
|
|
22769
22840
|
* @param {V1NotificationsGetPriorityEnum} [priority] Filter by priority
|
|
22770
22841
|
* @param {V1NotificationsGetSortByEnum} [sortBy] Sort field
|
|
22771
22842
|
* @param {V1NotificationsGetSortOrderEnum} [sortOrder] Sort order (case-insensitive)
|
|
22843
|
+
* @param {string} [since] ISO8601 timestamp - return only notifications created strictly after this time (excludes notifications with this exact timestamp)
|
|
22772
22844
|
* @param {*} [options] Override http request option.
|
|
22773
22845
|
* @throws {RequiredError}
|
|
22774
22846
|
* @memberof NotificationsApi
|
|
22775
22847
|
*/
|
|
22776
|
-
v1NotificationsGet(page, pageSize, limit, offset, search, type, isRead, priority, sortBy, sortOrder, options) {
|
|
22777
|
-
return (0, exports.NotificationsApiFp)(this.configuration).v1NotificationsGet(page, pageSize, limit, offset, search, type, isRead, priority, sortBy, sortOrder, options).then((request) => request(this.axios, this.basePath));
|
|
22848
|
+
v1NotificationsGet(page, pageSize, limit, offset, search, type, isRead, priority, sortBy, sortOrder, since, options) {
|
|
22849
|
+
return (0, exports.NotificationsApiFp)(this.configuration).v1NotificationsGet(page, pageSize, limit, offset, search, type, isRead, priority, sortBy, sortOrder, since, options).then((request) => request(this.axios, this.basePath));
|
|
22778
22850
|
}
|
|
22779
22851
|
/**
|
|
22780
22852
|
* Generates a fresh presigned URL for notification attachments (invoice or receipt). This is useful when the original presigned URL has expired.
|
|
@@ -27472,6 +27544,58 @@ const QuerySuggestionsApiAxiosParamCreator = function (configuration) {
|
|
|
27472
27544
|
options: localVarRequestOptions,
|
|
27473
27545
|
};
|
|
27474
27546
|
}),
|
|
27547
|
+
/**
|
|
27548
|
+
* Same as GET: retrieve query suggestions with optional body (query, hitsPerPage, analytics_tags, filtered_tabs, etc.). Use POST when sending filtered_tabs or larger payloads. Supports personalization via x-user-id, x-anon-id, x-session-id headers.
|
|
27549
|
+
* @summary Post Query Suggestions
|
|
27550
|
+
* @param {string} xStoreid Store ID
|
|
27551
|
+
* @param {string} xStoresecret Store Secret
|
|
27552
|
+
* @param {string} [xUserId] User ID for personalization (logged-in user)
|
|
27553
|
+
* @param {string} [xAnonId] Anonymous ID for personalization (cookie/device ID)
|
|
27554
|
+
* @param {string} [xSessionId] Session ID for personalization
|
|
27555
|
+
* @param {QuerySuggestionsServiceQuerySuggestionsRequest} [querySuggestionsServiceQuerySuggestionsRequest] Query suggestions request (query, hitsPerPage, page, analytics_tags, include_categories, include_facets, filtered_tabs, etc.)
|
|
27556
|
+
* @param {*} [options] Override http request option.
|
|
27557
|
+
* @throws {RequiredError}
|
|
27558
|
+
*/
|
|
27559
|
+
v1SuggestionsQueriesPost: (xStoreid_1, xStoresecret_1, xUserId_1, xAnonId_1, xSessionId_1, querySuggestionsServiceQuerySuggestionsRequest_1, ...args_1) => __awaiter(this, [xStoreid_1, xStoresecret_1, xUserId_1, xAnonId_1, xSessionId_1, querySuggestionsServiceQuerySuggestionsRequest_1, ...args_1], void 0, function* (xStoreid, xStoresecret, xUserId, xAnonId, xSessionId, querySuggestionsServiceQuerySuggestionsRequest, options = {}) {
|
|
27560
|
+
// verify required parameter 'xStoreid' is not null or undefined
|
|
27561
|
+
(0, common_1.assertParamExists)('v1SuggestionsQueriesPost', 'xStoreid', xStoreid);
|
|
27562
|
+
// verify required parameter 'xStoresecret' is not null or undefined
|
|
27563
|
+
(0, common_1.assertParamExists)('v1SuggestionsQueriesPost', 'xStoresecret', xStoresecret);
|
|
27564
|
+
const localVarPath = `/v1/suggestions/queries`;
|
|
27565
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
27566
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
27567
|
+
let baseOptions;
|
|
27568
|
+
if (configuration) {
|
|
27569
|
+
baseOptions = configuration.baseOptions;
|
|
27570
|
+
}
|
|
27571
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
|
|
27572
|
+
const localVarHeaderParameter = {};
|
|
27573
|
+
const localVarQueryParameter = {};
|
|
27574
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
27575
|
+
if (xStoreid != null) {
|
|
27576
|
+
localVarHeaderParameter['x-storeid'] = String(xStoreid);
|
|
27577
|
+
}
|
|
27578
|
+
if (xStoresecret != null) {
|
|
27579
|
+
localVarHeaderParameter['x-storesecret'] = String(xStoresecret);
|
|
27580
|
+
}
|
|
27581
|
+
if (xUserId != null) {
|
|
27582
|
+
localVarHeaderParameter['x-user-id'] = String(xUserId);
|
|
27583
|
+
}
|
|
27584
|
+
if (xAnonId != null) {
|
|
27585
|
+
localVarHeaderParameter['x-anon-id'] = String(xAnonId);
|
|
27586
|
+
}
|
|
27587
|
+
if (xSessionId != null) {
|
|
27588
|
+
localVarHeaderParameter['x-session-id'] = String(xSessionId);
|
|
27589
|
+
}
|
|
27590
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
27591
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
27592
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
27593
|
+
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(querySuggestionsServiceQuerySuggestionsRequest, localVarRequestOptions, configuration);
|
|
27594
|
+
return {
|
|
27595
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
27596
|
+
options: localVarRequestOptions,
|
|
27597
|
+
};
|
|
27598
|
+
}),
|
|
27475
27599
|
};
|
|
27476
27600
|
};
|
|
27477
27601
|
exports.QuerySuggestionsApiAxiosParamCreator = QuerySuggestionsApiAxiosParamCreator;
|
|
@@ -27531,6 +27655,27 @@ const QuerySuggestionsApiFp = function (configuration) {
|
|
|
27531
27655
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
27532
27656
|
});
|
|
27533
27657
|
},
|
|
27658
|
+
/**
|
|
27659
|
+
* Same as GET: retrieve query suggestions with optional body (query, hitsPerPage, analytics_tags, filtered_tabs, etc.). Use POST when sending filtered_tabs or larger payloads. Supports personalization via x-user-id, x-anon-id, x-session-id headers.
|
|
27660
|
+
* @summary Post Query Suggestions
|
|
27661
|
+
* @param {string} xStoreid Store ID
|
|
27662
|
+
* @param {string} xStoresecret Store Secret
|
|
27663
|
+
* @param {string} [xUserId] User ID for personalization (logged-in user)
|
|
27664
|
+
* @param {string} [xAnonId] Anonymous ID for personalization (cookie/device ID)
|
|
27665
|
+
* @param {string} [xSessionId] Session ID for personalization
|
|
27666
|
+
* @param {QuerySuggestionsServiceQuerySuggestionsRequest} [querySuggestionsServiceQuerySuggestionsRequest] Query suggestions request (query, hitsPerPage, page, analytics_tags, include_categories, include_facets, filtered_tabs, etc.)
|
|
27667
|
+
* @param {*} [options] Override http request option.
|
|
27668
|
+
* @throws {RequiredError}
|
|
27669
|
+
*/
|
|
27670
|
+
v1SuggestionsQueriesPost(xStoreid, xStoresecret, xUserId, xAnonId, xSessionId, querySuggestionsServiceQuerySuggestionsRequest, options) {
|
|
27671
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
27672
|
+
var _a, _b, _c;
|
|
27673
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.v1SuggestionsQueriesPost(xStoreid, xStoresecret, xUserId, xAnonId, xSessionId, querySuggestionsServiceQuerySuggestionsRequest, options);
|
|
27674
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
27675
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['QuerySuggestionsApi.v1SuggestionsQueriesPost']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
27676
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
27677
|
+
});
|
|
27678
|
+
},
|
|
27534
27679
|
};
|
|
27535
27680
|
};
|
|
27536
27681
|
exports.QuerySuggestionsApiFp = QuerySuggestionsApiFp;
|
|
@@ -27578,6 +27723,21 @@ const QuerySuggestionsApiFactory = function (configuration, basePath, axios) {
|
|
|
27578
27723
|
v1SuggestionsQueriesGet(xStoreid, xStoresecret, xUserId, xAnonId, xSessionId, query, hitsPerPage, page, analyticsTags, tagsMatchMode, includeCategories, includeFacets, maxCategories, maxFacets, minPopularity, timeRange, disableTypoTolerance, options) {
|
|
27579
27724
|
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));
|
|
27580
27725
|
},
|
|
27726
|
+
/**
|
|
27727
|
+
* Same as GET: retrieve query suggestions with optional body (query, hitsPerPage, analytics_tags, filtered_tabs, etc.). Use POST when sending filtered_tabs or larger payloads. Supports personalization via x-user-id, x-anon-id, x-session-id headers.
|
|
27728
|
+
* @summary Post Query Suggestions
|
|
27729
|
+
* @param {string} xStoreid Store ID
|
|
27730
|
+
* @param {string} xStoresecret Store Secret
|
|
27731
|
+
* @param {string} [xUserId] User ID for personalization (logged-in user)
|
|
27732
|
+
* @param {string} [xAnonId] Anonymous ID for personalization (cookie/device ID)
|
|
27733
|
+
* @param {string} [xSessionId] Session ID for personalization
|
|
27734
|
+
* @param {QuerySuggestionsServiceQuerySuggestionsRequest} [querySuggestionsServiceQuerySuggestionsRequest] Query suggestions request (query, hitsPerPage, page, analytics_tags, include_categories, include_facets, filtered_tabs, etc.)
|
|
27735
|
+
* @param {*} [options] Override http request option.
|
|
27736
|
+
* @throws {RequiredError}
|
|
27737
|
+
*/
|
|
27738
|
+
v1SuggestionsQueriesPost(xStoreid, xStoresecret, xUserId, xAnonId, xSessionId, querySuggestionsServiceQuerySuggestionsRequest, options) {
|
|
27739
|
+
return localVarFp.v1SuggestionsQueriesPost(xStoreid, xStoresecret, xUserId, xAnonId, xSessionId, querySuggestionsServiceQuerySuggestionsRequest, options).then((request) => request(axios, basePath));
|
|
27740
|
+
},
|
|
27581
27741
|
};
|
|
27582
27742
|
};
|
|
27583
27743
|
exports.QuerySuggestionsApiFactory = QuerySuggestionsApiFactory;
|
|
@@ -27627,6 +27787,22 @@ class QuerySuggestionsApi extends base_1.BaseAPI {
|
|
|
27627
27787
|
v1SuggestionsQueriesGet(xStoreid, xStoresecret, xUserId, xAnonId, xSessionId, query, hitsPerPage, page, analyticsTags, tagsMatchMode, includeCategories, includeFacets, maxCategories, maxFacets, minPopularity, timeRange, disableTypoTolerance, options) {
|
|
27628
27788
|
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));
|
|
27629
27789
|
}
|
|
27790
|
+
/**
|
|
27791
|
+
* Same as GET: retrieve query suggestions with optional body (query, hitsPerPage, analytics_tags, filtered_tabs, etc.). Use POST when sending filtered_tabs or larger payloads. Supports personalization via x-user-id, x-anon-id, x-session-id headers.
|
|
27792
|
+
* @summary Post Query Suggestions
|
|
27793
|
+
* @param {string} xStoreid Store ID
|
|
27794
|
+
* @param {string} xStoresecret Store Secret
|
|
27795
|
+
* @param {string} [xUserId] User ID for personalization (logged-in user)
|
|
27796
|
+
* @param {string} [xAnonId] Anonymous ID for personalization (cookie/device ID)
|
|
27797
|
+
* @param {string} [xSessionId] Session ID for personalization
|
|
27798
|
+
* @param {QuerySuggestionsServiceQuerySuggestionsRequest} [querySuggestionsServiceQuerySuggestionsRequest] Query suggestions request (query, hitsPerPage, page, analytics_tags, include_categories, include_facets, filtered_tabs, etc.)
|
|
27799
|
+
* @param {*} [options] Override http request option.
|
|
27800
|
+
* @throws {RequiredError}
|
|
27801
|
+
* @memberof QuerySuggestionsApi
|
|
27802
|
+
*/
|
|
27803
|
+
v1SuggestionsQueriesPost(xStoreid, xStoresecret, xUserId, xAnonId, xSessionId, querySuggestionsServiceQuerySuggestionsRequest, options) {
|
|
27804
|
+
return (0, exports.QuerySuggestionsApiFp)(this.configuration).v1SuggestionsQueriesPost(xStoreid, xStoresecret, xUserId, xAnonId, xSessionId, querySuggestionsServiceQuerySuggestionsRequest, options).then((request) => request(this.axios, this.basePath));
|
|
27805
|
+
}
|
|
27630
27806
|
}
|
|
27631
27807
|
exports.QuerySuggestionsApi = QuerySuggestionsApi;
|
|
27632
27808
|
/**
|
|
@@ -38967,6 +39143,40 @@ const TeamApiAxiosParamCreator = function (configuration) {
|
|
|
38967
39143
|
options: localVarRequestOptions,
|
|
38968
39144
|
};
|
|
38969
39145
|
}),
|
|
39146
|
+
/**
|
|
39147
|
+
* Accepts a team invitation using OAuth (Google/GitHub), creates user account if needed, links OAuth, and returns session token
|
|
39148
|
+
* @summary Accept invitation with OAuth (onboarding)
|
|
39149
|
+
* @param {string} token Invitation Token
|
|
39150
|
+
* @param {DataTypesAcceptInvitationWithOAuthRequest} dataTypesAcceptInvitationWithOAuthRequest OAuth details
|
|
39151
|
+
* @param {*} [options] Override http request option.
|
|
39152
|
+
* @throws {RequiredError}
|
|
39153
|
+
*/
|
|
39154
|
+
v1InvitationsTokenAcceptWithOauthPost: (token_1, dataTypesAcceptInvitationWithOAuthRequest_1, ...args_1) => __awaiter(this, [token_1, dataTypesAcceptInvitationWithOAuthRequest_1, ...args_1], void 0, function* (token, dataTypesAcceptInvitationWithOAuthRequest, options = {}) {
|
|
39155
|
+
// verify required parameter 'token' is not null or undefined
|
|
39156
|
+
(0, common_1.assertParamExists)('v1InvitationsTokenAcceptWithOauthPost', 'token', token);
|
|
39157
|
+
// verify required parameter 'dataTypesAcceptInvitationWithOAuthRequest' is not null or undefined
|
|
39158
|
+
(0, common_1.assertParamExists)('v1InvitationsTokenAcceptWithOauthPost', 'dataTypesAcceptInvitationWithOAuthRequest', dataTypesAcceptInvitationWithOAuthRequest);
|
|
39159
|
+
const localVarPath = `/v1/invitations/{token}/accept-with-oauth`
|
|
39160
|
+
.replace(`{${"token"}}`, encodeURIComponent(String(token)));
|
|
39161
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
39162
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
39163
|
+
let baseOptions;
|
|
39164
|
+
if (configuration) {
|
|
39165
|
+
baseOptions = configuration.baseOptions;
|
|
39166
|
+
}
|
|
39167
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
|
|
39168
|
+
const localVarHeaderParameter = {};
|
|
39169
|
+
const localVarQueryParameter = {};
|
|
39170
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
39171
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
39172
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
39173
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
39174
|
+
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(dataTypesAcceptInvitationWithOAuthRequest, localVarRequestOptions, configuration);
|
|
39175
|
+
return {
|
|
39176
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
39177
|
+
options: localVarRequestOptions,
|
|
39178
|
+
};
|
|
39179
|
+
}),
|
|
38970
39180
|
/**
|
|
38971
39181
|
* Accepts a team invitation, creates user account if needed, sets password, and returns session token
|
|
38972
39182
|
* @summary Accept invitation and set password (onboarding)
|
|
@@ -39493,6 +39703,23 @@ const TeamApiFp = function (configuration) {
|
|
|
39493
39703
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
39494
39704
|
});
|
|
39495
39705
|
},
|
|
39706
|
+
/**
|
|
39707
|
+
* Accepts a team invitation using OAuth (Google/GitHub), creates user account if needed, links OAuth, and returns session token
|
|
39708
|
+
* @summary Accept invitation with OAuth (onboarding)
|
|
39709
|
+
* @param {string} token Invitation Token
|
|
39710
|
+
* @param {DataTypesAcceptInvitationWithOAuthRequest} dataTypesAcceptInvitationWithOAuthRequest OAuth details
|
|
39711
|
+
* @param {*} [options] Override http request option.
|
|
39712
|
+
* @throws {RequiredError}
|
|
39713
|
+
*/
|
|
39714
|
+
v1InvitationsTokenAcceptWithOauthPost(token, dataTypesAcceptInvitationWithOAuthRequest, options) {
|
|
39715
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
39716
|
+
var _a, _b, _c;
|
|
39717
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.v1InvitationsTokenAcceptWithOauthPost(token, dataTypesAcceptInvitationWithOAuthRequest, options);
|
|
39718
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
39719
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['TeamApi.v1InvitationsTokenAcceptWithOauthPost']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
39720
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
39721
|
+
});
|
|
39722
|
+
},
|
|
39496
39723
|
/**
|
|
39497
39724
|
* Accepts a team invitation, creates user account if needed, sets password, and returns session token
|
|
39498
39725
|
* @summary Accept invitation and set password (onboarding)
|
|
@@ -39777,6 +40004,17 @@ const TeamApiFactory = function (configuration, basePath, axios) {
|
|
|
39777
40004
|
v1InvitationsTokenAcceptPost(token, options) {
|
|
39778
40005
|
return localVarFp.v1InvitationsTokenAcceptPost(token, options).then((request) => request(axios, basePath));
|
|
39779
40006
|
},
|
|
40007
|
+
/**
|
|
40008
|
+
* Accepts a team invitation using OAuth (Google/GitHub), creates user account if needed, links OAuth, and returns session token
|
|
40009
|
+
* @summary Accept invitation with OAuth (onboarding)
|
|
40010
|
+
* @param {string} token Invitation Token
|
|
40011
|
+
* @param {DataTypesAcceptInvitationWithOAuthRequest} dataTypesAcceptInvitationWithOAuthRequest OAuth details
|
|
40012
|
+
* @param {*} [options] Override http request option.
|
|
40013
|
+
* @throws {RequiredError}
|
|
40014
|
+
*/
|
|
40015
|
+
v1InvitationsTokenAcceptWithOauthPost(token, dataTypesAcceptInvitationWithOAuthRequest, options) {
|
|
40016
|
+
return localVarFp.v1InvitationsTokenAcceptWithOauthPost(token, dataTypesAcceptInvitationWithOAuthRequest, options).then((request) => request(axios, basePath));
|
|
40017
|
+
},
|
|
39780
40018
|
/**
|
|
39781
40019
|
* Accepts a team invitation, creates user account if needed, sets password, and returns session token
|
|
39782
40020
|
* @summary Accept invitation and set password (onboarding)
|
|
@@ -39989,6 +40227,18 @@ class TeamApi extends base_1.BaseAPI {
|
|
|
39989
40227
|
v1InvitationsTokenAcceptPost(token, options) {
|
|
39990
40228
|
return (0, exports.TeamApiFp)(this.configuration).v1InvitationsTokenAcceptPost(token, options).then((request) => request(this.axios, this.basePath));
|
|
39991
40229
|
}
|
|
40230
|
+
/**
|
|
40231
|
+
* Accepts a team invitation using OAuth (Google/GitHub), creates user account if needed, links OAuth, and returns session token
|
|
40232
|
+
* @summary Accept invitation with OAuth (onboarding)
|
|
40233
|
+
* @param {string} token Invitation Token
|
|
40234
|
+
* @param {DataTypesAcceptInvitationWithOAuthRequest} dataTypesAcceptInvitationWithOAuthRequest OAuth details
|
|
40235
|
+
* @param {*} [options] Override http request option.
|
|
40236
|
+
* @throws {RequiredError}
|
|
40237
|
+
* @memberof TeamApi
|
|
40238
|
+
*/
|
|
40239
|
+
v1InvitationsTokenAcceptWithOauthPost(token, dataTypesAcceptInvitationWithOAuthRequest, options) {
|
|
40240
|
+
return (0, exports.TeamApiFp)(this.configuration).v1InvitationsTokenAcceptWithOauthPost(token, dataTypesAcceptInvitationWithOAuthRequest, options).then((request) => request(this.axios, this.basePath));
|
|
40241
|
+
}
|
|
39992
40242
|
/**
|
|
39993
40243
|
* Accepts a team invitation, creates user account if needed, sets password, and returns session token
|
|
39994
40244
|
* @summary Accept invitation and set password (onboarding)
|