@seekora-ai/admin-api 1.1.51 → 1.1.53
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 +14 -2
- package/api.ts +985 -32
- package/dist/api.d.ts +850 -32
- package/dist/api.js +312 -21
- package/dist/esm/api.d.ts +850 -32
- package/dist/esm/api.js +303 -16
- package/package.json +1 -1
- package/seekora-ai-admin-api-1.1.53.tgz +0 -0
- package/seekora-ai-admin-api-1.1.51.tgz +0 -0
package/dist/api.js
CHANGED
|
@@ -25,11 +25,11 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
25
25
|
exports.AdminNotificationTemplatesApiAxiosParamCreator = 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 = void 0;
|
|
26
26
|
exports.AdminAnalyticsStoreXStoreIDResultsGetSortOrderEnum = exports.AdminAnalyticsStoreXStoreIDResultsGetSortByEnum = exports.AdminAnalyticsStoreXStoreIDResultsGetCompareTagsMatchModeEnum = 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.AnalyticsApi = exports.AnalyticsApiFactory = exports.AnalyticsApiFp = exports.AnalyticsApiAxiosParamCreator = exports.AdminNotificationsApi = exports.AdminNotificationsApiFactory = exports.AdminNotificationsApiFp = exports.AdminNotificationsApiAxiosParamCreator = exports.AdminNotificationTemplatesApi = exports.AdminNotificationTemplatesApiFactory = exports.AdminNotificationTemplatesApiFp = void 0;
|
|
27
27
|
exports.CommonApiAxiosParamCreator = exports.AdminBillingGraphsUsageBreakdownGetGranularityEnum = exports.AdminBillingGraphsTimeseriesConsumptionGetGranularityEnum = exports.AdminBillingGraphsSearchRequestsGetGranularityEnum = exports.AdminBillingGraphsCreditsConsumedGetGranularityEnum = exports.BillingDashboardGraphsApi = exports.BillingDashboardGraphsApiFactory = exports.BillingDashboardGraphsApiFp = 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 = void 0;
|
|
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 = void 0;
|
|
28
|
+
exports.AdminAnalyticsStoreXStoreIDItemsDiscoveryGetSortOrderEnum = exports.AdminAnalyticsStoreXStoreIDItemsDiscoveryGetSortByEnum = exports.ItemAnalyticsApi = exports.ItemAnalyticsApiFactory = exports.ItemAnalyticsApiFp = exports.ItemAnalyticsApiAxiosParamCreator = exports.FeatureLimitsAdminApi = exports.FeatureLimitsAdminApiFactory = exports.FeatureLimitsAdminApiFp = exports.FeatureLimitsAdminApiAxiosParamCreator = exports.FeatureLimitsApi = exports.FeatureLimitsApiFactory = exports.FeatureLimitsApiFp = exports.FeatureLimitsApiAxiosParamCreator = exports.ExternalAPINotificationsApi = exports.ExternalAPINotificationsApiFactory = exports.ExternalAPINotificationsApiFp = exports.ExternalAPINotificationsApiAxiosParamCreator = exports.DropdownRecommendationsApi = exports.DropdownRecommendationsApiFactory = exports.DropdownRecommendationsApiFp = exports.DropdownRecommendationsApiAxiosParamCreator = exports.DocumentsApi = exports.DocumentsApiFactory = exports.DocumentsApiFp = exports.DocumentsApiAxiosParamCreator = 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 = void 0;
|
|
29
|
+
exports.NotificationPreferencesApi = exports.NotificationPreferencesApiFactory = exports.NotificationPreferencesApiFp = exports.NotificationPreferencesApiAxiosParamCreator = exports.NewsLettersApi = exports.NewsLettersApiFactory = exports.NewsLettersApiFp = exports.NewsLettersApiAxiosParamCreator = 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 = void 0;
|
|
30
|
+
exports.RefundManagementApiFactory = exports.RefundManagementApiFp = exports.RefundManagementApiAxiosParamCreator = exports.QuerySuggestionsManagementApi = exports.QuerySuggestionsManagementApiFactory = exports.QuerySuggestionsManagementApiFp = exports.QuerySuggestionsManagementApiAxiosParamCreator = exports.V1SuggestionsQueriesGetTimeRangeEnum = 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 = void 0;
|
|
31
|
+
exports.SubscriptionsApiAxiosParamCreator = exports.StoresApi = exports.StoresApiFactory = exports.StoresApiFp = exports.StoresApiAxiosParamCreator = exports.StoreDocumentsApi = exports.StoreDocumentsApiFactory = exports.StoreDocumentsApiFp = exports.StoreDocumentsApiAxiosParamCreator = exports.StoreCreationApi = exports.StoreCreationApiFactory = exports.StoreCreationApiFp = 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.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 = 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 = void 0;
|
|
33
33
|
const axios_1 = require("axios");
|
|
34
34
|
// Some imports not used depending on template conditions
|
|
35
35
|
// @ts-ignore
|
|
@@ -15032,6 +15032,297 @@ class DocumentsApi extends base_1.BaseAPI {
|
|
|
15032
15032
|
}
|
|
15033
15033
|
}
|
|
15034
15034
|
exports.DocumentsApi = DocumentsApi;
|
|
15035
|
+
/**
|
|
15036
|
+
* DropdownRecommendationsApi - axios parameter creator
|
|
15037
|
+
* @export
|
|
15038
|
+
*/
|
|
15039
|
+
const DropdownRecommendationsApiAxiosParamCreator = function (configuration) {
|
|
15040
|
+
return {
|
|
15041
|
+
/**
|
|
15042
|
+
* Retrieve configuration settings for dropdown recommendations
|
|
15043
|
+
* @summary Get Dropdown Recommendations Configuration
|
|
15044
|
+
* @param {string} xStoreid Store ID
|
|
15045
|
+
* @param {string} xStoresecret Store Secret
|
|
15046
|
+
* @param {*} [options] Override http request option.
|
|
15047
|
+
* @throws {RequiredError}
|
|
15048
|
+
*/
|
|
15049
|
+
v1DropdownRecommendationsConfigGet: (xStoreid_1, xStoresecret_1, ...args_1) => __awaiter(this, [xStoreid_1, xStoresecret_1, ...args_1], void 0, function* (xStoreid, xStoresecret, options = {}) {
|
|
15050
|
+
// verify required parameter 'xStoreid' is not null or undefined
|
|
15051
|
+
(0, common_1.assertParamExists)('v1DropdownRecommendationsConfigGet', 'xStoreid', xStoreid);
|
|
15052
|
+
// verify required parameter 'xStoresecret' is not null or undefined
|
|
15053
|
+
(0, common_1.assertParamExists)('v1DropdownRecommendationsConfigGet', 'xStoresecret', xStoresecret);
|
|
15054
|
+
const localVarPath = `/v1/dropdown-recommendations/config`;
|
|
15055
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
15056
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
15057
|
+
let baseOptions;
|
|
15058
|
+
if (configuration) {
|
|
15059
|
+
baseOptions = configuration.baseOptions;
|
|
15060
|
+
}
|
|
15061
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
15062
|
+
const localVarHeaderParameter = {};
|
|
15063
|
+
const localVarQueryParameter = {};
|
|
15064
|
+
if (xStoreid != null) {
|
|
15065
|
+
localVarHeaderParameter['x-storeid'] = String(xStoreid);
|
|
15066
|
+
}
|
|
15067
|
+
if (xStoresecret != null) {
|
|
15068
|
+
localVarHeaderParameter['x-storesecret'] = String(xStoresecret);
|
|
15069
|
+
}
|
|
15070
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
15071
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
15072
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
15073
|
+
return {
|
|
15074
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
15075
|
+
options: localVarRequestOptions,
|
|
15076
|
+
};
|
|
15077
|
+
}),
|
|
15078
|
+
/**
|
|
15079
|
+
* Update configuration settings for dropdown recommendations
|
|
15080
|
+
* @summary Update Dropdown Recommendations Configuration
|
|
15081
|
+
* @param {string} xStoreid Store ID
|
|
15082
|
+
* @param {string} xStoresecret Store Secret
|
|
15083
|
+
* @param {DropdownRecommendationsServiceUpdateDropdownConfigRequest} dropdownRecommendationsServiceUpdateDropdownConfigRequest Configuration to update
|
|
15084
|
+
* @param {*} [options] Override http request option.
|
|
15085
|
+
* @throws {RequiredError}
|
|
15086
|
+
*/
|
|
15087
|
+
v1DropdownRecommendationsConfigPut: (xStoreid_1, xStoresecret_1, dropdownRecommendationsServiceUpdateDropdownConfigRequest_1, ...args_1) => __awaiter(this, [xStoreid_1, xStoresecret_1, dropdownRecommendationsServiceUpdateDropdownConfigRequest_1, ...args_1], void 0, function* (xStoreid, xStoresecret, dropdownRecommendationsServiceUpdateDropdownConfigRequest, options = {}) {
|
|
15088
|
+
// verify required parameter 'xStoreid' is not null or undefined
|
|
15089
|
+
(0, common_1.assertParamExists)('v1DropdownRecommendationsConfigPut', 'xStoreid', xStoreid);
|
|
15090
|
+
// verify required parameter 'xStoresecret' is not null or undefined
|
|
15091
|
+
(0, common_1.assertParamExists)('v1DropdownRecommendationsConfigPut', 'xStoresecret', xStoresecret);
|
|
15092
|
+
// verify required parameter 'dropdownRecommendationsServiceUpdateDropdownConfigRequest' is not null or undefined
|
|
15093
|
+
(0, common_1.assertParamExists)('v1DropdownRecommendationsConfigPut', 'dropdownRecommendationsServiceUpdateDropdownConfigRequest', dropdownRecommendationsServiceUpdateDropdownConfigRequest);
|
|
15094
|
+
const localVarPath = `/v1/dropdown-recommendations/config`;
|
|
15095
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
15096
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
15097
|
+
let baseOptions;
|
|
15098
|
+
if (configuration) {
|
|
15099
|
+
baseOptions = configuration.baseOptions;
|
|
15100
|
+
}
|
|
15101
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'PUT' }, baseOptions), options);
|
|
15102
|
+
const localVarHeaderParameter = {};
|
|
15103
|
+
const localVarQueryParameter = {};
|
|
15104
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
15105
|
+
if (xStoreid != null) {
|
|
15106
|
+
localVarHeaderParameter['x-storeid'] = String(xStoreid);
|
|
15107
|
+
}
|
|
15108
|
+
if (xStoresecret != null) {
|
|
15109
|
+
localVarHeaderParameter['x-storesecret'] = String(xStoresecret);
|
|
15110
|
+
}
|
|
15111
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
15112
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
15113
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
15114
|
+
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(dropdownRecommendationsServiceUpdateDropdownConfigRequest, localVarRequestOptions, configuration);
|
|
15115
|
+
return {
|
|
15116
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
15117
|
+
options: localVarRequestOptions,
|
|
15118
|
+
};
|
|
15119
|
+
}),
|
|
15120
|
+
/**
|
|
15121
|
+
* Retrieve trending search categories, trending products, and popular brands for the dropdown
|
|
15122
|
+
* @summary Get Dropdown Recommendations
|
|
15123
|
+
* @param {string} xStoreid Store ID
|
|
15124
|
+
* @param {string} xStoresecret Store Secret
|
|
15125
|
+
* @param {string} [xUserId] User ID for personalization
|
|
15126
|
+
* @param {string} [xAnonId] Anonymous ID for personalization
|
|
15127
|
+
* @param {*} [options] Override http request option.
|
|
15128
|
+
* @throws {RequiredError}
|
|
15129
|
+
*/
|
|
15130
|
+
v1DropdownRecommendationsGet: (xStoreid_1, xStoresecret_1, xUserId_1, xAnonId_1, ...args_1) => __awaiter(this, [xStoreid_1, xStoresecret_1, xUserId_1, xAnonId_1, ...args_1], void 0, function* (xStoreid, xStoresecret, xUserId, xAnonId, options = {}) {
|
|
15131
|
+
// verify required parameter 'xStoreid' is not null or undefined
|
|
15132
|
+
(0, common_1.assertParamExists)('v1DropdownRecommendationsGet', 'xStoreid', xStoreid);
|
|
15133
|
+
// verify required parameter 'xStoresecret' is not null or undefined
|
|
15134
|
+
(0, common_1.assertParamExists)('v1DropdownRecommendationsGet', 'xStoresecret', xStoresecret);
|
|
15135
|
+
const localVarPath = `/v1/dropdown-recommendations`;
|
|
15136
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
15137
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
15138
|
+
let baseOptions;
|
|
15139
|
+
if (configuration) {
|
|
15140
|
+
baseOptions = configuration.baseOptions;
|
|
15141
|
+
}
|
|
15142
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
15143
|
+
const localVarHeaderParameter = {};
|
|
15144
|
+
const localVarQueryParameter = {};
|
|
15145
|
+
if (xStoreid != null) {
|
|
15146
|
+
localVarHeaderParameter['x-storeid'] = String(xStoreid);
|
|
15147
|
+
}
|
|
15148
|
+
if (xStoresecret != null) {
|
|
15149
|
+
localVarHeaderParameter['x-storesecret'] = String(xStoresecret);
|
|
15150
|
+
}
|
|
15151
|
+
if (xUserId != null) {
|
|
15152
|
+
localVarHeaderParameter['x-user-id'] = String(xUserId);
|
|
15153
|
+
}
|
|
15154
|
+
if (xAnonId != null) {
|
|
15155
|
+
localVarHeaderParameter['x-anon-id'] = String(xAnonId);
|
|
15156
|
+
}
|
|
15157
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
15158
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
15159
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
15160
|
+
return {
|
|
15161
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
15162
|
+
options: localVarRequestOptions,
|
|
15163
|
+
};
|
|
15164
|
+
}),
|
|
15165
|
+
};
|
|
15166
|
+
};
|
|
15167
|
+
exports.DropdownRecommendationsApiAxiosParamCreator = DropdownRecommendationsApiAxiosParamCreator;
|
|
15168
|
+
/**
|
|
15169
|
+
* DropdownRecommendationsApi - functional programming interface
|
|
15170
|
+
* @export
|
|
15171
|
+
*/
|
|
15172
|
+
const DropdownRecommendationsApiFp = function (configuration) {
|
|
15173
|
+
const localVarAxiosParamCreator = (0, exports.DropdownRecommendationsApiAxiosParamCreator)(configuration);
|
|
15174
|
+
return {
|
|
15175
|
+
/**
|
|
15176
|
+
* Retrieve configuration settings for dropdown recommendations
|
|
15177
|
+
* @summary Get Dropdown Recommendations Configuration
|
|
15178
|
+
* @param {string} xStoreid Store ID
|
|
15179
|
+
* @param {string} xStoresecret Store Secret
|
|
15180
|
+
* @param {*} [options] Override http request option.
|
|
15181
|
+
* @throws {RequiredError}
|
|
15182
|
+
*/
|
|
15183
|
+
v1DropdownRecommendationsConfigGet(xStoreid, xStoresecret, options) {
|
|
15184
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
15185
|
+
var _a, _b, _c;
|
|
15186
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.v1DropdownRecommendationsConfigGet(xStoreid, xStoresecret, options);
|
|
15187
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
15188
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['DropdownRecommendationsApi.v1DropdownRecommendationsConfigGet']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
15189
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
15190
|
+
});
|
|
15191
|
+
},
|
|
15192
|
+
/**
|
|
15193
|
+
* Update configuration settings for dropdown recommendations
|
|
15194
|
+
* @summary Update Dropdown Recommendations Configuration
|
|
15195
|
+
* @param {string} xStoreid Store ID
|
|
15196
|
+
* @param {string} xStoresecret Store Secret
|
|
15197
|
+
* @param {DropdownRecommendationsServiceUpdateDropdownConfigRequest} dropdownRecommendationsServiceUpdateDropdownConfigRequest Configuration to update
|
|
15198
|
+
* @param {*} [options] Override http request option.
|
|
15199
|
+
* @throws {RequiredError}
|
|
15200
|
+
*/
|
|
15201
|
+
v1DropdownRecommendationsConfigPut(xStoreid, xStoresecret, dropdownRecommendationsServiceUpdateDropdownConfigRequest, options) {
|
|
15202
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
15203
|
+
var _a, _b, _c;
|
|
15204
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.v1DropdownRecommendationsConfigPut(xStoreid, xStoresecret, dropdownRecommendationsServiceUpdateDropdownConfigRequest, options);
|
|
15205
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
15206
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['DropdownRecommendationsApi.v1DropdownRecommendationsConfigPut']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
15207
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
15208
|
+
});
|
|
15209
|
+
},
|
|
15210
|
+
/**
|
|
15211
|
+
* Retrieve trending search categories, trending products, and popular brands for the dropdown
|
|
15212
|
+
* @summary Get Dropdown Recommendations
|
|
15213
|
+
* @param {string} xStoreid Store ID
|
|
15214
|
+
* @param {string} xStoresecret Store Secret
|
|
15215
|
+
* @param {string} [xUserId] User ID for personalization
|
|
15216
|
+
* @param {string} [xAnonId] Anonymous ID for personalization
|
|
15217
|
+
* @param {*} [options] Override http request option.
|
|
15218
|
+
* @throws {RequiredError}
|
|
15219
|
+
*/
|
|
15220
|
+
v1DropdownRecommendationsGet(xStoreid, xStoresecret, xUserId, xAnonId, options) {
|
|
15221
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
15222
|
+
var _a, _b, _c;
|
|
15223
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.v1DropdownRecommendationsGet(xStoreid, xStoresecret, xUserId, xAnonId, options);
|
|
15224
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
15225
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['DropdownRecommendationsApi.v1DropdownRecommendationsGet']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
15226
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
15227
|
+
});
|
|
15228
|
+
},
|
|
15229
|
+
};
|
|
15230
|
+
};
|
|
15231
|
+
exports.DropdownRecommendationsApiFp = DropdownRecommendationsApiFp;
|
|
15232
|
+
/**
|
|
15233
|
+
* DropdownRecommendationsApi - factory interface
|
|
15234
|
+
* @export
|
|
15235
|
+
*/
|
|
15236
|
+
const DropdownRecommendationsApiFactory = function (configuration, basePath, axios) {
|
|
15237
|
+
const localVarFp = (0, exports.DropdownRecommendationsApiFp)(configuration);
|
|
15238
|
+
return {
|
|
15239
|
+
/**
|
|
15240
|
+
* Retrieve configuration settings for dropdown recommendations
|
|
15241
|
+
* @summary Get Dropdown Recommendations Configuration
|
|
15242
|
+
* @param {string} xStoreid Store ID
|
|
15243
|
+
* @param {string} xStoresecret Store Secret
|
|
15244
|
+
* @param {*} [options] Override http request option.
|
|
15245
|
+
* @throws {RequiredError}
|
|
15246
|
+
*/
|
|
15247
|
+
v1DropdownRecommendationsConfigGet(xStoreid, xStoresecret, options) {
|
|
15248
|
+
return localVarFp.v1DropdownRecommendationsConfigGet(xStoreid, xStoresecret, options).then((request) => request(axios, basePath));
|
|
15249
|
+
},
|
|
15250
|
+
/**
|
|
15251
|
+
* Update configuration settings for dropdown recommendations
|
|
15252
|
+
* @summary Update Dropdown Recommendations Configuration
|
|
15253
|
+
* @param {string} xStoreid Store ID
|
|
15254
|
+
* @param {string} xStoresecret Store Secret
|
|
15255
|
+
* @param {DropdownRecommendationsServiceUpdateDropdownConfigRequest} dropdownRecommendationsServiceUpdateDropdownConfigRequest Configuration to update
|
|
15256
|
+
* @param {*} [options] Override http request option.
|
|
15257
|
+
* @throws {RequiredError}
|
|
15258
|
+
*/
|
|
15259
|
+
v1DropdownRecommendationsConfigPut(xStoreid, xStoresecret, dropdownRecommendationsServiceUpdateDropdownConfigRequest, options) {
|
|
15260
|
+
return localVarFp.v1DropdownRecommendationsConfigPut(xStoreid, xStoresecret, dropdownRecommendationsServiceUpdateDropdownConfigRequest, options).then((request) => request(axios, basePath));
|
|
15261
|
+
},
|
|
15262
|
+
/**
|
|
15263
|
+
* Retrieve trending search categories, trending products, and popular brands for the dropdown
|
|
15264
|
+
* @summary Get Dropdown Recommendations
|
|
15265
|
+
* @param {string} xStoreid Store ID
|
|
15266
|
+
* @param {string} xStoresecret Store Secret
|
|
15267
|
+
* @param {string} [xUserId] User ID for personalization
|
|
15268
|
+
* @param {string} [xAnonId] Anonymous ID for personalization
|
|
15269
|
+
* @param {*} [options] Override http request option.
|
|
15270
|
+
* @throws {RequiredError}
|
|
15271
|
+
*/
|
|
15272
|
+
v1DropdownRecommendationsGet(xStoreid, xStoresecret, xUserId, xAnonId, options) {
|
|
15273
|
+
return localVarFp.v1DropdownRecommendationsGet(xStoreid, xStoresecret, xUserId, xAnonId, options).then((request) => request(axios, basePath));
|
|
15274
|
+
},
|
|
15275
|
+
};
|
|
15276
|
+
};
|
|
15277
|
+
exports.DropdownRecommendationsApiFactory = DropdownRecommendationsApiFactory;
|
|
15278
|
+
/**
|
|
15279
|
+
* DropdownRecommendationsApi - object-oriented interface
|
|
15280
|
+
* @export
|
|
15281
|
+
* @class DropdownRecommendationsApi
|
|
15282
|
+
* @extends {BaseAPI}
|
|
15283
|
+
*/
|
|
15284
|
+
class DropdownRecommendationsApi extends base_1.BaseAPI {
|
|
15285
|
+
/**
|
|
15286
|
+
* Retrieve configuration settings for dropdown recommendations
|
|
15287
|
+
* @summary Get Dropdown Recommendations Configuration
|
|
15288
|
+
* @param {string} xStoreid Store ID
|
|
15289
|
+
* @param {string} xStoresecret Store Secret
|
|
15290
|
+
* @param {*} [options] Override http request option.
|
|
15291
|
+
* @throws {RequiredError}
|
|
15292
|
+
* @memberof DropdownRecommendationsApi
|
|
15293
|
+
*/
|
|
15294
|
+
v1DropdownRecommendationsConfigGet(xStoreid, xStoresecret, options) {
|
|
15295
|
+
return (0, exports.DropdownRecommendationsApiFp)(this.configuration).v1DropdownRecommendationsConfigGet(xStoreid, xStoresecret, options).then((request) => request(this.axios, this.basePath));
|
|
15296
|
+
}
|
|
15297
|
+
/**
|
|
15298
|
+
* Update configuration settings for dropdown recommendations
|
|
15299
|
+
* @summary Update Dropdown Recommendations Configuration
|
|
15300
|
+
* @param {string} xStoreid Store ID
|
|
15301
|
+
* @param {string} xStoresecret Store Secret
|
|
15302
|
+
* @param {DropdownRecommendationsServiceUpdateDropdownConfigRequest} dropdownRecommendationsServiceUpdateDropdownConfigRequest Configuration to update
|
|
15303
|
+
* @param {*} [options] Override http request option.
|
|
15304
|
+
* @throws {RequiredError}
|
|
15305
|
+
* @memberof DropdownRecommendationsApi
|
|
15306
|
+
*/
|
|
15307
|
+
v1DropdownRecommendationsConfigPut(xStoreid, xStoresecret, dropdownRecommendationsServiceUpdateDropdownConfigRequest, options) {
|
|
15308
|
+
return (0, exports.DropdownRecommendationsApiFp)(this.configuration).v1DropdownRecommendationsConfigPut(xStoreid, xStoresecret, dropdownRecommendationsServiceUpdateDropdownConfigRequest, options).then((request) => request(this.axios, this.basePath));
|
|
15309
|
+
}
|
|
15310
|
+
/**
|
|
15311
|
+
* Retrieve trending search categories, trending products, and popular brands for the dropdown
|
|
15312
|
+
* @summary Get Dropdown Recommendations
|
|
15313
|
+
* @param {string} xStoreid Store ID
|
|
15314
|
+
* @param {string} xStoresecret Store Secret
|
|
15315
|
+
* @param {string} [xUserId] User ID for personalization
|
|
15316
|
+
* @param {string} [xAnonId] Anonymous ID for personalization
|
|
15317
|
+
* @param {*} [options] Override http request option.
|
|
15318
|
+
* @throws {RequiredError}
|
|
15319
|
+
* @memberof DropdownRecommendationsApi
|
|
15320
|
+
*/
|
|
15321
|
+
v1DropdownRecommendationsGet(xStoreid, xStoresecret, xUserId, xAnonId, options) {
|
|
15322
|
+
return (0, exports.DropdownRecommendationsApiFp)(this.configuration).v1DropdownRecommendationsGet(xStoreid, xStoresecret, xUserId, xAnonId, options).then((request) => request(this.axios, this.basePath));
|
|
15323
|
+
}
|
|
15324
|
+
}
|
|
15325
|
+
exports.DropdownRecommendationsApi = DropdownRecommendationsApi;
|
|
15035
15326
|
/**
|
|
15036
15327
|
* ExternalAPINotificationsApi - axios parameter creator
|
|
15037
15328
|
* @export
|
|
@@ -34991,9 +35282,9 @@ exports.StoresApi = StoresApi;
|
|
|
34991
35282
|
const SubscriptionsApiAxiosParamCreator = function (configuration) {
|
|
34992
35283
|
return {
|
|
34993
35284
|
/**
|
|
34994
|
-
* Shows detailed preview of subscription cancellation including credit calculation, billing period info, and potential refund
|
|
35285
|
+
* Shows detailed preview of subscription cancellation including credit calculation, billing period info, and potential refund. Org ID is automatically extracted from JWT session.
|
|
34995
35286
|
* @summary Preview subscription cancellation details
|
|
34996
|
-
* @param {SubscriptionRouteCancelPreviewRequest} subscriptionRouteCancelPreviewRequest Cancellation preview request
|
|
35287
|
+
* @param {SubscriptionRouteCancelPreviewRequest} subscriptionRouteCancelPreviewRequest Cancellation preview request (org_id is extracted from session)
|
|
34997
35288
|
* @param {*} [options] Override http request option.
|
|
34998
35289
|
* @throws {RequiredError}
|
|
34999
35290
|
*/
|
|
@@ -35023,9 +35314,9 @@ const SubscriptionsApiAxiosParamCreator = function (configuration) {
|
|
|
35023
35314
|
};
|
|
35024
35315
|
}),
|
|
35025
35316
|
/**
|
|
35026
|
-
* Cancels the subscription, removes unused credits, and processes refund if applicable
|
|
35317
|
+
* Cancels the subscription, removes unused credits, and processes refund if applicable. Org ID is automatically extracted from JWT session.
|
|
35027
35318
|
* @summary Process subscription cancellation
|
|
35028
|
-
* @param {SubscriptionRouteCancelProcessRequest} subscriptionRouteCancelProcessRequest Cancellation process request
|
|
35319
|
+
* @param {SubscriptionRouteCancelProcessRequest} subscriptionRouteCancelProcessRequest Cancellation process request (org_id is extracted from session)
|
|
35029
35320
|
* @param {*} [options] Override http request option.
|
|
35030
35321
|
* @throws {RequiredError}
|
|
35031
35322
|
*/
|
|
@@ -35226,9 +35517,9 @@ const SubscriptionsApiFp = function (configuration) {
|
|
|
35226
35517
|
const localVarAxiosParamCreator = (0, exports.SubscriptionsApiAxiosParamCreator)(configuration);
|
|
35227
35518
|
return {
|
|
35228
35519
|
/**
|
|
35229
|
-
* Shows detailed preview of subscription cancellation including credit calculation, billing period info, and potential refund
|
|
35520
|
+
* Shows detailed preview of subscription cancellation including credit calculation, billing period info, and potential refund. Org ID is automatically extracted from JWT session.
|
|
35230
35521
|
* @summary Preview subscription cancellation details
|
|
35231
|
-
* @param {SubscriptionRouteCancelPreviewRequest} subscriptionRouteCancelPreviewRequest Cancellation preview request
|
|
35522
|
+
* @param {SubscriptionRouteCancelPreviewRequest} subscriptionRouteCancelPreviewRequest Cancellation preview request (org_id is extracted from session)
|
|
35232
35523
|
* @param {*} [options] Override http request option.
|
|
35233
35524
|
* @throws {RequiredError}
|
|
35234
35525
|
*/
|
|
@@ -35242,9 +35533,9 @@ const SubscriptionsApiFp = function (configuration) {
|
|
|
35242
35533
|
});
|
|
35243
35534
|
},
|
|
35244
35535
|
/**
|
|
35245
|
-
* Cancels the subscription, removes unused credits, and processes refund if applicable
|
|
35536
|
+
* Cancels the subscription, removes unused credits, and processes refund if applicable. Org ID is automatically extracted from JWT session.
|
|
35246
35537
|
* @summary Process subscription cancellation
|
|
35247
|
-
* @param {SubscriptionRouteCancelProcessRequest} subscriptionRouteCancelProcessRequest Cancellation process request
|
|
35538
|
+
* @param {SubscriptionRouteCancelProcessRequest} subscriptionRouteCancelProcessRequest Cancellation process request (org_id is extracted from session)
|
|
35248
35539
|
* @param {*} [options] Override http request option.
|
|
35249
35540
|
* @throws {RequiredError}
|
|
35250
35541
|
*/
|
|
@@ -35349,9 +35640,9 @@ const SubscriptionsApiFactory = function (configuration, basePath, axios) {
|
|
|
35349
35640
|
const localVarFp = (0, exports.SubscriptionsApiFp)(configuration);
|
|
35350
35641
|
return {
|
|
35351
35642
|
/**
|
|
35352
|
-
* Shows detailed preview of subscription cancellation including credit calculation, billing period info, and potential refund
|
|
35643
|
+
* Shows detailed preview of subscription cancellation including credit calculation, billing period info, and potential refund. Org ID is automatically extracted from JWT session.
|
|
35353
35644
|
* @summary Preview subscription cancellation details
|
|
35354
|
-
* @param {SubscriptionRouteCancelPreviewRequest} subscriptionRouteCancelPreviewRequest Cancellation preview request
|
|
35645
|
+
* @param {SubscriptionRouteCancelPreviewRequest} subscriptionRouteCancelPreviewRequest Cancellation preview request (org_id is extracted from session)
|
|
35355
35646
|
* @param {*} [options] Override http request option.
|
|
35356
35647
|
* @throws {RequiredError}
|
|
35357
35648
|
*/
|
|
@@ -35359,9 +35650,9 @@ const SubscriptionsApiFactory = function (configuration, basePath, axios) {
|
|
|
35359
35650
|
return localVarFp.adminSubscriptionsCancelPreviewPost(subscriptionRouteCancelPreviewRequest, options).then((request) => request(axios, basePath));
|
|
35360
35651
|
},
|
|
35361
35652
|
/**
|
|
35362
|
-
* Cancels the subscription, removes unused credits, and processes refund if applicable
|
|
35653
|
+
* Cancels the subscription, removes unused credits, and processes refund if applicable. Org ID is automatically extracted from JWT session.
|
|
35363
35654
|
* @summary Process subscription cancellation
|
|
35364
|
-
* @param {SubscriptionRouteCancelProcessRequest} subscriptionRouteCancelProcessRequest Cancellation process request
|
|
35655
|
+
* @param {SubscriptionRouteCancelProcessRequest} subscriptionRouteCancelProcessRequest Cancellation process request (org_id is extracted from session)
|
|
35365
35656
|
* @param {*} [options] Override http request option.
|
|
35366
35657
|
* @throws {RequiredError}
|
|
35367
35658
|
*/
|
|
@@ -35430,9 +35721,9 @@ exports.SubscriptionsApiFactory = SubscriptionsApiFactory;
|
|
|
35430
35721
|
*/
|
|
35431
35722
|
class SubscriptionsApi extends base_1.BaseAPI {
|
|
35432
35723
|
/**
|
|
35433
|
-
* Shows detailed preview of subscription cancellation including credit calculation, billing period info, and potential refund
|
|
35724
|
+
* Shows detailed preview of subscription cancellation including credit calculation, billing period info, and potential refund. Org ID is automatically extracted from JWT session.
|
|
35434
35725
|
* @summary Preview subscription cancellation details
|
|
35435
|
-
* @param {SubscriptionRouteCancelPreviewRequest} subscriptionRouteCancelPreviewRequest Cancellation preview request
|
|
35726
|
+
* @param {SubscriptionRouteCancelPreviewRequest} subscriptionRouteCancelPreviewRequest Cancellation preview request (org_id is extracted from session)
|
|
35436
35727
|
* @param {*} [options] Override http request option.
|
|
35437
35728
|
* @throws {RequiredError}
|
|
35438
35729
|
* @memberof SubscriptionsApi
|
|
@@ -35441,9 +35732,9 @@ class SubscriptionsApi extends base_1.BaseAPI {
|
|
|
35441
35732
|
return (0, exports.SubscriptionsApiFp)(this.configuration).adminSubscriptionsCancelPreviewPost(subscriptionRouteCancelPreviewRequest, options).then((request) => request(this.axios, this.basePath));
|
|
35442
35733
|
}
|
|
35443
35734
|
/**
|
|
35444
|
-
* Cancels the subscription, removes unused credits, and processes refund if applicable
|
|
35735
|
+
* Cancels the subscription, removes unused credits, and processes refund if applicable. Org ID is automatically extracted from JWT session.
|
|
35445
35736
|
* @summary Process subscription cancellation
|
|
35446
|
-
* @param {SubscriptionRouteCancelProcessRequest} subscriptionRouteCancelProcessRequest Cancellation process request
|
|
35737
|
+
* @param {SubscriptionRouteCancelProcessRequest} subscriptionRouteCancelProcessRequest Cancellation process request (org_id is extracted from session)
|
|
35447
35738
|
* @param {*} [options] Override http request option.
|
|
35448
35739
|
* @throws {RequiredError}
|
|
35449
35740
|
* @memberof SubscriptionsApi
|