@seekora-ai/admin-api 1.0.67 → 1.0.69

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/api.js CHANGED
@@ -23,10 +23,10 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
23
23
  };
24
24
  Object.defineProperty(exports, "__esModule", { value: true });
25
25
  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.AccountSettingsApi = exports.AccountSettingsApiFactory = exports.AccountSettingsApiFp = exports.AccountSettingsApiAxiosParamCreator = exports.APICallsApi = exports.APICallsApiFactory = exports.APICallsApiFp = exports.APICallsApiAxiosParamCreator = exports.DataTypesUpdateWordStatusRequestWordTypeEnum = exports.DataTypesUpdatePluralDeclensionRequestTypeEnum = exports.DataTypesRefundApprovalDtoActionEnum = exports.DataTypesCreditTransactionTransactionTypeEnum = exports.DataTypesCreateTaskRequestTypeEnum = exports.DataTypesCreateTaskRequestIndexingStrategyEnum = exports.DataTypesCreateTaskRequestFrequencyEnum = exports.DataTypesCreateRefundRequestDtoRefundTypeEnum = exports.DataTypesCreatePluralDeclensionRequestTypeEnum = exports.DataTypesCreatePaymentOrderRequestPaymentTypeEnum = exports.DataTypesCreateCustomWordListRequestTypeEnum = exports.AnalyticsRuleType = exports.AnalyticsQuerySuggestionStatus = exports.AnalyticsQuerySuggestionSource = exports.AnalyticsBulkOperation = exports.AnalyticsBannedMatchType = void 0;
26
- exports.CustomStopwordsApi = exports.CustomStopwordsApiFactory = exports.CustomStopwordsApiFp = exports.CustomStopwordsApiAxiosParamCreator = exports.ApiCreditsTransactionsGetTypeEnum = exports.CreditsApi = exports.CreditsApiFactory = exports.CreditsApiFp = exports.CreditsApiAxiosParamCreator = exports.ConnectorsApi = exports.ConnectorsApiFactory = exports.ConnectorsApiFp = exports.ConnectorsApiAxiosParamCreator = exports.BillingDashboardApi = exports.BillingDashboardApiFactory = exports.BillingDashboardApiFp = exports.BillingDashboardApiAxiosParamCreator = exports.AuthApi = exports.AuthApiFactory = exports.AuthApiFp = exports.AuthApiAxiosParamCreator = exports.ArticlesApi = exports.ArticlesApiFactory = exports.ArticlesApiFp = exports.ArticlesApiAxiosParamCreator = exports.AnalyticsEventsApi = exports.AnalyticsEventsApiFactory = exports.AnalyticsEventsApiFp = exports.AnalyticsEventsApiAxiosParamCreator = exports.AdminAnalyticsStoreXStoreIDTagsSummaryGetSortOrderEnum = exports.AdminAnalyticsStoreXStoreIDTagsSummaryGetSortByEnum = exports.AdminAnalyticsStoreXStoreIDTagsGetSortOrderEnum = exports.AdminAnalyticsStoreXStoreIDTagsGetSortByEnum = 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 = void 0;
27
- exports.OrganizationsApi = exports.OrganizationsApiFactory = exports.OrganizationsApiFp = exports.OrganizationsApiAxiosParamCreator = exports.OnboardingApi = exports.OnboardingApiFactory = exports.OnboardingApiFp = exports.OnboardingApiAxiosParamCreator = 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.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.DocumentsApi = exports.DocumentsApiFactory = exports.DocumentsApiFp = exports.DocumentsApiAxiosParamCreator = void 0;
28
- 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 = 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 = void 0;
29
- exports.UserApi = exports.UserApiFactory = exports.UserApiFp = exports.UserApiAxiosParamCreator = exports.SubscriptionsApi = exports.SubscriptionsApiFactory = exports.SubscriptionsApiFp = exports.SubscriptionsApiAxiosParamCreator = exports.StoresApi = exports.StoresApiFactory = exports.StoresApiFp = exports.StoresApiAxiosParamCreator = exports.StoreDocumentsApi = exports.StoreDocumentsApiFactory = exports.StoreDocumentsApiFp = exports.StoreDocumentsApiAxiosParamCreator = exports.StopwordsApi = exports.StopwordsApiFactory = exports.StopwordsApiFp = exports.StopwordsApiAxiosParamCreator = exports.SearchApi = exports.SearchApiFactory = exports.SearchApiFp = exports.SearchApiAxiosParamCreator = void 0;
26
+ exports.ApiCreditsTransactionsGetTypeEnum = exports.CreditsApi = exports.CreditsApiFactory = exports.CreditsApiFp = exports.CreditsApiAxiosParamCreator = exports.ConnectorsApi = exports.ConnectorsApiFactory = exports.ConnectorsApiFp = exports.ConnectorsApiAxiosParamCreator = exports.CommonApi = exports.CommonApiFactory = exports.CommonApiFp = exports.CommonApiAxiosParamCreator = exports.BillingDashboardApi = exports.BillingDashboardApiFactory = exports.BillingDashboardApiFp = exports.BillingDashboardApiAxiosParamCreator = exports.AuthApi = exports.AuthApiFactory = exports.AuthApiFp = exports.AuthApiAxiosParamCreator = exports.ArticlesApi = exports.ArticlesApiFactory = exports.ArticlesApiFp = exports.ArticlesApiAxiosParamCreator = exports.AnalyticsEventsApi = exports.AnalyticsEventsApiFactory = exports.AnalyticsEventsApiFp = exports.AnalyticsEventsApiAxiosParamCreator = exports.AdminAnalyticsStoreXStoreIDTagsSummaryGetSortOrderEnum = exports.AdminAnalyticsStoreXStoreIDTagsSummaryGetSortByEnum = exports.AdminAnalyticsStoreXStoreIDTagsGetSortOrderEnum = exports.AdminAnalyticsStoreXStoreIDTagsGetSortByEnum = 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 = void 0;
27
+ exports.OnboardingApi = exports.OnboardingApiFactory = exports.OnboardingApiFp = exports.OnboardingApiAxiosParamCreator = 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.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.DocumentsApi = exports.DocumentsApiFactory = exports.DocumentsApiFp = exports.DocumentsApiAxiosParamCreator = exports.CustomStopwordsApi = exports.CustomStopwordsApiFactory = exports.CustomStopwordsApiFp = exports.CustomStopwordsApiAxiosParamCreator = void 0;
28
+ 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 = 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 = void 0;
29
+ exports.UserApi = exports.UserApiFactory = exports.UserApiFp = exports.UserApiAxiosParamCreator = exports.SubscriptionsApi = exports.SubscriptionsApiFactory = exports.SubscriptionsApiFp = exports.SubscriptionsApiAxiosParamCreator = exports.StoresApi = exports.StoresApiFactory = exports.StoresApiFp = exports.StoresApiAxiosParamCreator = exports.StoreDocumentsApi = exports.StoreDocumentsApiFactory = exports.StoreDocumentsApiFp = exports.StoreDocumentsApiAxiosParamCreator = exports.StopwordsApi = exports.StopwordsApiFactory = exports.StopwordsApiFp = exports.StopwordsApiAxiosParamCreator = exports.SearchApi = exports.SearchApiFactory = exports.SearchApiFp = exports.SearchApiAxiosParamCreator = exports.RolesApi = exports.RolesApiFactory = exports.RolesApiFp = exports.RolesApiAxiosParamCreator = void 0;
30
30
  const axios_1 = require("axios");
31
31
  // Some imports not used depending on template conditions
32
32
  // @ts-ignore
@@ -6317,6 +6317,103 @@ class BillingDashboardApi extends base_1.BaseAPI {
6317
6317
  }
6318
6318
  }
6319
6319
  exports.BillingDashboardApi = BillingDashboardApi;
6320
+ /**
6321
+ * CommonApi - axios parameter creator
6322
+ * @export
6323
+ */
6324
+ const CommonApiAxiosParamCreator = function (configuration) {
6325
+ return {
6326
+ /**
6327
+ * Retrieve list of supported languages for query suggestions with language codes, names, and locales
6328
+ * @summary Get Supported Languages
6329
+ * @param {*} [options] Override http request option.
6330
+ * @throws {RequiredError}
6331
+ */
6332
+ commonLanguagesGet: (...args_1) => __awaiter(this, [...args_1], void 0, function* (options = {}) {
6333
+ const localVarPath = `/common/languages`;
6334
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
6335
+ const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
6336
+ let baseOptions;
6337
+ if (configuration) {
6338
+ baseOptions = configuration.baseOptions;
6339
+ }
6340
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
6341
+ const localVarHeaderParameter = {};
6342
+ const localVarQueryParameter = {};
6343
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
6344
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
6345
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
6346
+ return {
6347
+ url: (0, common_1.toPathString)(localVarUrlObj),
6348
+ options: localVarRequestOptions,
6349
+ };
6350
+ }),
6351
+ };
6352
+ };
6353
+ exports.CommonApiAxiosParamCreator = CommonApiAxiosParamCreator;
6354
+ /**
6355
+ * CommonApi - functional programming interface
6356
+ * @export
6357
+ */
6358
+ const CommonApiFp = function (configuration) {
6359
+ const localVarAxiosParamCreator = (0, exports.CommonApiAxiosParamCreator)(configuration);
6360
+ return {
6361
+ /**
6362
+ * Retrieve list of supported languages for query suggestions with language codes, names, and locales
6363
+ * @summary Get Supported Languages
6364
+ * @param {*} [options] Override http request option.
6365
+ * @throws {RequiredError}
6366
+ */
6367
+ commonLanguagesGet(options) {
6368
+ return __awaiter(this, void 0, void 0, function* () {
6369
+ var _a, _b, _c;
6370
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.commonLanguagesGet(options);
6371
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
6372
+ const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['CommonApi.commonLanguagesGet']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
6373
+ return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
6374
+ });
6375
+ },
6376
+ };
6377
+ };
6378
+ exports.CommonApiFp = CommonApiFp;
6379
+ /**
6380
+ * CommonApi - factory interface
6381
+ * @export
6382
+ */
6383
+ const CommonApiFactory = function (configuration, basePath, axios) {
6384
+ const localVarFp = (0, exports.CommonApiFp)(configuration);
6385
+ return {
6386
+ /**
6387
+ * Retrieve list of supported languages for query suggestions with language codes, names, and locales
6388
+ * @summary Get Supported Languages
6389
+ * @param {*} [options] Override http request option.
6390
+ * @throws {RequiredError}
6391
+ */
6392
+ commonLanguagesGet(options) {
6393
+ return localVarFp.commonLanguagesGet(options).then((request) => request(axios, basePath));
6394
+ },
6395
+ };
6396
+ };
6397
+ exports.CommonApiFactory = CommonApiFactory;
6398
+ /**
6399
+ * CommonApi - object-oriented interface
6400
+ * @export
6401
+ * @class CommonApi
6402
+ * @extends {BaseAPI}
6403
+ */
6404
+ class CommonApi extends base_1.BaseAPI {
6405
+ /**
6406
+ * Retrieve list of supported languages for query suggestions with language codes, names, and locales
6407
+ * @summary Get Supported Languages
6408
+ * @param {*} [options] Override http request option.
6409
+ * @throws {RequiredError}
6410
+ * @memberof CommonApi
6411
+ */
6412
+ commonLanguagesGet(options) {
6413
+ return (0, exports.CommonApiFp)(this.configuration).commonLanguagesGet(options).then((request) => request(this.axios, this.basePath));
6414
+ }
6415
+ }
6416
+ exports.CommonApi = CommonApi;
6320
6417
  /**
6321
6418
  * ConnectorsApi - axios parameter creator
6322
6419
  * @export
@@ -13828,59 +13925,57 @@ exports.ParentMenusApi = ParentMenusApi;
13828
13925
  const PaymentGatewayApiAxiosParamCreator = function (configuration) {
13829
13926
  return {
13830
13927
  /**
13831
- * Creates a payment order using specified or default payment gateway
13832
- * @summary Create a new payment order
13833
- * @param {DataTypesCreatePaymentOrderRequest} dataTypesCreatePaymentOrderRequest Payment order details
13928
+ * Returns list of all active credit plans for purchase (available both as public and protected endpoint)
13929
+ * @summary Get available credit plans
13834
13930
  * @param {*} [options] Override http request option.
13835
13931
  * @throws {RequiredError}
13836
13932
  */
13837
- paymentGatewayCreateOrderPost: (dataTypesCreatePaymentOrderRequest_1, ...args_1) => __awaiter(this, [dataTypesCreatePaymentOrderRequest_1, ...args_1], void 0, function* (dataTypesCreatePaymentOrderRequest, options = {}) {
13838
- // verify required parameter 'dataTypesCreatePaymentOrderRequest' is not null or undefined
13839
- (0, common_1.assertParamExists)('paymentGatewayCreateOrderPost', 'dataTypesCreatePaymentOrderRequest', dataTypesCreatePaymentOrderRequest);
13840
- const localVarPath = `/payment-gateway/create-order`;
13933
+ adminPaymentGatewayCreditPlansGet: (...args_1) => __awaiter(this, [...args_1], void 0, function* (options = {}) {
13934
+ const localVarPath = `/admin/payment-gateway/credit-plans`;
13841
13935
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
13842
13936
  const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
13843
13937
  let baseOptions;
13844
13938
  if (configuration) {
13845
13939
  baseOptions = configuration.baseOptions;
13846
13940
  }
13847
- const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
13941
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
13848
13942
  const localVarHeaderParameter = {};
13849
13943
  const localVarQueryParameter = {};
13850
- // authentication BearerAuth required
13851
- yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Authorization", configuration);
13852
- localVarHeaderParameter['Content-Type'] = 'application/json';
13853
13944
  (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
13854
13945
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
13855
13946
  localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
13856
- localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(dataTypesCreatePaymentOrderRequest, localVarRequestOptions, configuration);
13857
13947
  return {
13858
13948
  url: (0, common_1.toPathString)(localVarUrlObj),
13859
13949
  options: localVarRequestOptions,
13860
13950
  };
13861
13951
  }),
13862
13952
  /**
13863
- * Returns list of all active credit plans for purchase
13864
- * @summary Get available credit plans
13953
+ * Creates a payment order using specified or default payment gateway
13954
+ * @summary Create a new payment order
13955
+ * @param {DataTypesCreatePaymentOrderRequest} dataTypesCreatePaymentOrderRequest Payment order details
13865
13956
  * @param {*} [options] Override http request option.
13866
13957
  * @throws {RequiredError}
13867
13958
  */
13868
- paymentGatewayCreditPlansGet: (...args_1) => __awaiter(this, [...args_1], void 0, function* (options = {}) {
13869
- const localVarPath = `/payment-gateway/credit-plans`;
13959
+ paymentGatewayCreateOrderPost: (dataTypesCreatePaymentOrderRequest_1, ...args_1) => __awaiter(this, [dataTypesCreatePaymentOrderRequest_1, ...args_1], void 0, function* (dataTypesCreatePaymentOrderRequest, options = {}) {
13960
+ // verify required parameter 'dataTypesCreatePaymentOrderRequest' is not null or undefined
13961
+ (0, common_1.assertParamExists)('paymentGatewayCreateOrderPost', 'dataTypesCreatePaymentOrderRequest', dataTypesCreatePaymentOrderRequest);
13962
+ const localVarPath = `/payment-gateway/create-order`;
13870
13963
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
13871
13964
  const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
13872
13965
  let baseOptions;
13873
13966
  if (configuration) {
13874
13967
  baseOptions = configuration.baseOptions;
13875
13968
  }
13876
- const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
13969
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
13877
13970
  const localVarHeaderParameter = {};
13878
13971
  const localVarQueryParameter = {};
13879
13972
  // authentication BearerAuth required
13880
13973
  yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Authorization", configuration);
13974
+ localVarHeaderParameter['Content-Type'] = 'application/json';
13881
13975
  (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
13882
13976
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
13883
13977
  localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
13978
+ localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(dataTypesCreatePaymentOrderRequest, localVarRequestOptions, configuration);
13884
13979
  return {
13885
13980
  url: (0, common_1.toPathString)(localVarUrlObj),
13886
13981
  options: localVarRequestOptions,
@@ -13977,6 +14072,31 @@ const PaymentGatewayApiAxiosParamCreator = function (configuration) {
13977
14072
  options: localVarRequestOptions,
13978
14073
  };
13979
14074
  }),
14075
+ /**
14076
+ * Returns list of all active credit plans for purchase (available both as public and protected endpoint)
14077
+ * @summary Get available credit plans
14078
+ * @param {*} [options] Override http request option.
14079
+ * @throws {RequiredError}
14080
+ */
14081
+ v1CreditPlansGet: (...args_1) => __awaiter(this, [...args_1], void 0, function* (options = {}) {
14082
+ const localVarPath = `/v1/credit-plans`;
14083
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
14084
+ const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
14085
+ let baseOptions;
14086
+ if (configuration) {
14087
+ baseOptions = configuration.baseOptions;
14088
+ }
14089
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
14090
+ const localVarHeaderParameter = {};
14091
+ const localVarQueryParameter = {};
14092
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
14093
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
14094
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
14095
+ return {
14096
+ url: (0, common_1.toPathString)(localVarUrlObj),
14097
+ options: localVarRequestOptions,
14098
+ };
14099
+ }),
13980
14100
  };
13981
14101
  };
13982
14102
  exports.PaymentGatewayApiAxiosParamCreator = PaymentGatewayApiAxiosParamCreator;
@@ -13988,33 +14108,33 @@ const PaymentGatewayApiFp = function (configuration) {
13988
14108
  const localVarAxiosParamCreator = (0, exports.PaymentGatewayApiAxiosParamCreator)(configuration);
13989
14109
  return {
13990
14110
  /**
13991
- * Creates a payment order using specified or default payment gateway
13992
- * @summary Create a new payment order
13993
- * @param {DataTypesCreatePaymentOrderRequest} dataTypesCreatePaymentOrderRequest Payment order details
14111
+ * Returns list of all active credit plans for purchase (available both as public and protected endpoint)
14112
+ * @summary Get available credit plans
13994
14113
  * @param {*} [options] Override http request option.
13995
14114
  * @throws {RequiredError}
13996
14115
  */
13997
- paymentGatewayCreateOrderPost(dataTypesCreatePaymentOrderRequest, options) {
14116
+ adminPaymentGatewayCreditPlansGet(options) {
13998
14117
  return __awaiter(this, void 0, void 0, function* () {
13999
14118
  var _a, _b, _c;
14000
- const localVarAxiosArgs = yield localVarAxiosParamCreator.paymentGatewayCreateOrderPost(dataTypesCreatePaymentOrderRequest, options);
14119
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.adminPaymentGatewayCreditPlansGet(options);
14001
14120
  const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
14002
- const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['PaymentGatewayApi.paymentGatewayCreateOrderPost']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
14121
+ const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['PaymentGatewayApi.adminPaymentGatewayCreditPlansGet']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
14003
14122
  return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
14004
14123
  });
14005
14124
  },
14006
14125
  /**
14007
- * Returns list of all active credit plans for purchase
14008
- * @summary Get available credit plans
14126
+ * Creates a payment order using specified or default payment gateway
14127
+ * @summary Create a new payment order
14128
+ * @param {DataTypesCreatePaymentOrderRequest} dataTypesCreatePaymentOrderRequest Payment order details
14009
14129
  * @param {*} [options] Override http request option.
14010
14130
  * @throws {RequiredError}
14011
14131
  */
14012
- paymentGatewayCreditPlansGet(options) {
14132
+ paymentGatewayCreateOrderPost(dataTypesCreatePaymentOrderRequest, options) {
14013
14133
  return __awaiter(this, void 0, void 0, function* () {
14014
14134
  var _a, _b, _c;
14015
- const localVarAxiosArgs = yield localVarAxiosParamCreator.paymentGatewayCreditPlansGet(options);
14135
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.paymentGatewayCreateOrderPost(dataTypesCreatePaymentOrderRequest, options);
14016
14136
  const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
14017
- const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['PaymentGatewayApi.paymentGatewayCreditPlansGet']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
14137
+ const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['PaymentGatewayApi.paymentGatewayCreateOrderPost']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
14018
14138
  return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
14019
14139
  });
14020
14140
  },
@@ -14065,6 +14185,21 @@ const PaymentGatewayApiFp = function (configuration) {
14065
14185
  return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
14066
14186
  });
14067
14187
  },
14188
+ /**
14189
+ * Returns list of all active credit plans for purchase (available both as public and protected endpoint)
14190
+ * @summary Get available credit plans
14191
+ * @param {*} [options] Override http request option.
14192
+ * @throws {RequiredError}
14193
+ */
14194
+ v1CreditPlansGet(options) {
14195
+ return __awaiter(this, void 0, void 0, function* () {
14196
+ var _a, _b, _c;
14197
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.v1CreditPlansGet(options);
14198
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
14199
+ const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['PaymentGatewayApi.v1CreditPlansGet']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
14200
+ return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
14201
+ });
14202
+ },
14068
14203
  };
14069
14204
  };
14070
14205
  exports.PaymentGatewayApiFp = PaymentGatewayApiFp;
@@ -14076,23 +14211,23 @@ const PaymentGatewayApiFactory = function (configuration, basePath, axios) {
14076
14211
  const localVarFp = (0, exports.PaymentGatewayApiFp)(configuration);
14077
14212
  return {
14078
14213
  /**
14079
- * Creates a payment order using specified or default payment gateway
14080
- * @summary Create a new payment order
14081
- * @param {DataTypesCreatePaymentOrderRequest} dataTypesCreatePaymentOrderRequest Payment order details
14214
+ * Returns list of all active credit plans for purchase (available both as public and protected endpoint)
14215
+ * @summary Get available credit plans
14082
14216
  * @param {*} [options] Override http request option.
14083
14217
  * @throws {RequiredError}
14084
14218
  */
14085
- paymentGatewayCreateOrderPost(dataTypesCreatePaymentOrderRequest, options) {
14086
- return localVarFp.paymentGatewayCreateOrderPost(dataTypesCreatePaymentOrderRequest, options).then((request) => request(axios, basePath));
14219
+ adminPaymentGatewayCreditPlansGet(options) {
14220
+ return localVarFp.adminPaymentGatewayCreditPlansGet(options).then((request) => request(axios, basePath));
14087
14221
  },
14088
14222
  /**
14089
- * Returns list of all active credit plans for purchase
14090
- * @summary Get available credit plans
14223
+ * Creates a payment order using specified or default payment gateway
14224
+ * @summary Create a new payment order
14225
+ * @param {DataTypesCreatePaymentOrderRequest} dataTypesCreatePaymentOrderRequest Payment order details
14091
14226
  * @param {*} [options] Override http request option.
14092
14227
  * @throws {RequiredError}
14093
14228
  */
14094
- paymentGatewayCreditPlansGet(options) {
14095
- return localVarFp.paymentGatewayCreditPlansGet(options).then((request) => request(axios, basePath));
14229
+ paymentGatewayCreateOrderPost(dataTypesCreatePaymentOrderRequest, options) {
14230
+ return localVarFp.paymentGatewayCreateOrderPost(dataTypesCreatePaymentOrderRequest, options).then((request) => request(axios, basePath));
14096
14231
  },
14097
14232
  /**
14098
14233
  * Returns list of all available payment gateways
@@ -14123,6 +14258,15 @@ const PaymentGatewayApiFactory = function (configuration, basePath, axios) {
14123
14258
  paymentGatewayVerifyPost(dataTypesVerifyPaymentRequest, options) {
14124
14259
  return localVarFp.paymentGatewayVerifyPost(dataTypesVerifyPaymentRequest, options).then((request) => request(axios, basePath));
14125
14260
  },
14261
+ /**
14262
+ * Returns list of all active credit plans for purchase (available both as public and protected endpoint)
14263
+ * @summary Get available credit plans
14264
+ * @param {*} [options] Override http request option.
14265
+ * @throws {RequiredError}
14266
+ */
14267
+ v1CreditPlansGet(options) {
14268
+ return localVarFp.v1CreditPlansGet(options).then((request) => request(axios, basePath));
14269
+ },
14126
14270
  };
14127
14271
  };
14128
14272
  exports.PaymentGatewayApiFactory = PaymentGatewayApiFactory;
@@ -14134,25 +14278,25 @@ exports.PaymentGatewayApiFactory = PaymentGatewayApiFactory;
14134
14278
  */
14135
14279
  class PaymentGatewayApi extends base_1.BaseAPI {
14136
14280
  /**
14137
- * Creates a payment order using specified or default payment gateway
14138
- * @summary Create a new payment order
14139
- * @param {DataTypesCreatePaymentOrderRequest} dataTypesCreatePaymentOrderRequest Payment order details
14281
+ * Returns list of all active credit plans for purchase (available both as public and protected endpoint)
14282
+ * @summary Get available credit plans
14140
14283
  * @param {*} [options] Override http request option.
14141
14284
  * @throws {RequiredError}
14142
14285
  * @memberof PaymentGatewayApi
14143
14286
  */
14144
- paymentGatewayCreateOrderPost(dataTypesCreatePaymentOrderRequest, options) {
14145
- return (0, exports.PaymentGatewayApiFp)(this.configuration).paymentGatewayCreateOrderPost(dataTypesCreatePaymentOrderRequest, options).then((request) => request(this.axios, this.basePath));
14287
+ adminPaymentGatewayCreditPlansGet(options) {
14288
+ return (0, exports.PaymentGatewayApiFp)(this.configuration).adminPaymentGatewayCreditPlansGet(options).then((request) => request(this.axios, this.basePath));
14146
14289
  }
14147
14290
  /**
14148
- * Returns list of all active credit plans for purchase
14149
- * @summary Get available credit plans
14291
+ * Creates a payment order using specified or default payment gateway
14292
+ * @summary Create a new payment order
14293
+ * @param {DataTypesCreatePaymentOrderRequest} dataTypesCreatePaymentOrderRequest Payment order details
14150
14294
  * @param {*} [options] Override http request option.
14151
14295
  * @throws {RequiredError}
14152
14296
  * @memberof PaymentGatewayApi
14153
14297
  */
14154
- paymentGatewayCreditPlansGet(options) {
14155
- return (0, exports.PaymentGatewayApiFp)(this.configuration).paymentGatewayCreditPlansGet(options).then((request) => request(this.axios, this.basePath));
14298
+ paymentGatewayCreateOrderPost(dataTypesCreatePaymentOrderRequest, options) {
14299
+ return (0, exports.PaymentGatewayApiFp)(this.configuration).paymentGatewayCreateOrderPost(dataTypesCreatePaymentOrderRequest, options).then((request) => request(this.axios, this.basePath));
14156
14300
  }
14157
14301
  /**
14158
14302
  * Returns list of all available payment gateways
@@ -14186,6 +14330,16 @@ class PaymentGatewayApi extends base_1.BaseAPI {
14186
14330
  paymentGatewayVerifyPost(dataTypesVerifyPaymentRequest, options) {
14187
14331
  return (0, exports.PaymentGatewayApiFp)(this.configuration).paymentGatewayVerifyPost(dataTypesVerifyPaymentRequest, options).then((request) => request(this.axios, this.basePath));
14188
14332
  }
14333
+ /**
14334
+ * Returns list of all active credit plans for purchase (available both as public and protected endpoint)
14335
+ * @summary Get available credit plans
14336
+ * @param {*} [options] Override http request option.
14337
+ * @throws {RequiredError}
14338
+ * @memberof PaymentGatewayApi
14339
+ */
14340
+ v1CreditPlansGet(options) {
14341
+ return (0, exports.PaymentGatewayApiFp)(this.configuration).v1CreditPlansGet(options).then((request) => request(this.axios, this.basePath));
14342
+ }
14189
14343
  }
14190
14344
  exports.PaymentGatewayApi = PaymentGatewayApi;
14191
14345
  /**