@seekora-ai/admin-api 1.1.5 → 1.1.7

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
@@ -22,12 +22,12 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
22
22
  });
23
23
  };
24
24
  Object.defineProperty(exports, "__esModule", { value: true });
25
- 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.RefundRefundPreviewRequestDtoRefundTypeEnum = exports.DataTypesUpdateWordStatusRequestWordTypeEnum = exports.DataTypesUpdatePluralDeclensionRequestTypeEnum = exports.DataTypesRefundCalculationRequestDtoRefundTypeEnum = exports.DataTypesRefundApprovalDtoActionEnum = exports.DataTypesProcessRefundRequestDtoRefundTypeEnum = exports.DataTypesCreateTaskRequestTypeEnum = exports.DataTypesCreateTaskRequestIndexingStrategyEnum = exports.DataTypesCreateTaskRequestFrequencyEnum = exports.DataTypesCreateRefundRequestDtoRefundTypeEnum = exports.DataTypesCreatePluralDeclensionRequestTypeEnum = exports.DataTypesCreatePaymentOrderRequestPaymentTypeEnum = exports.DataTypesCreateCustomWordListRequestTypeEnum = exports.DataTypesBillingAlertRequestAlertTypeEnum = exports.AnalyticsRuleType = exports.AnalyticsQuerySuggestionStatus = exports.AnalyticsQuerySuggestionSource = exports.AnalyticsBulkOperation = exports.AnalyticsBannedMatchType = void 0;
26
- exports.CommonApiAxiosParamCreator = exports.AdminBillingUsageDetailsGetGranularityEnum = 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.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 = void 0;
27
- 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 = exports.FeatureLimitsAdminApiFp = exports.FeatureLimitsAdminApiAxiosParamCreator = exports.FeatureLimitsApi = exports.FeatureLimitsApiFactory = exports.FeatureLimitsApiFp = exports.FeatureLimitsApiAxiosParamCreator = exports.DocumentsApi = exports.DocumentsApiFactory = exports.DocumentsApiFp = exports.DocumentsApiAxiosParamCreator = 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.CommonApi = exports.CommonApiFactory = exports.CommonApiFp = void 0;
28
- 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.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 = void 0;
29
- exports.TaxManagementApiFp = exports.TaxManagementApiAxiosParamCreator = 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.StoreCreationApi = exports.StoreCreationApiFactory = exports.StoreCreationApiFp = exports.StoreCreationApiAxiosParamCreator = exports.StopwordsApi = exports.StopwordsApiFactory = exports.StopwordsApiFp = exports.StopwordsApiAxiosParamCreator = exports.SearchApi = exports.SearchApiFactory = exports.SearchApiFp = exports.SearchApiAxiosParamCreator = 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 = void 0;
30
- exports.UserApi = exports.UserApiFactory = exports.UserApiFp = exports.UserApiAxiosParamCreator = exports.TaxManagementApi = exports.TaxManagementApiFactory = void 0;
25
+ 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.RefundRefundPreviewRequestDtoRefundTypeEnum = exports.DataTypesUpdateWordStatusRequestWordTypeEnum = exports.DataTypesUpdatePluralDeclensionRequestTypeEnum = exports.DataTypesRefundCalculationRequestDtoRefundTypeEnum = exports.DataTypesRefundApprovalDtoActionEnum = exports.DataTypesProcessRefundRequestDtoRefundTypeEnum = exports.DataTypesCreateTaskRequestTypeEnum = exports.DataTypesCreateTaskRequestIndexingStrategyEnum = exports.DataTypesCreateTaskRequestFrequencyEnum = exports.DataTypesCreateRefundRequestDtoRefundTypeEnum = exports.DataTypesCreatePluralDeclensionRequestTypeEnum = exports.DataTypesCreatePaymentOrderRequestPaymentTypeEnum = exports.DataTypesCreateCustomWordListRequestTypeEnum = exports.DataTypesBillingAlertRequestThresholdUnitEnum = exports.DataTypesBillingAlertRequestAlertTypeEnum = exports.AnalyticsRuleType = exports.AnalyticsQuerySuggestionStatus = exports.AnalyticsQuerySuggestionSource = exports.AnalyticsBulkOperation = exports.AnalyticsBannedMatchType = void 0;
26
+ exports.AdminBillingUsageDetailsGetGranularityEnum = 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.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 = void 0;
27
+ 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 = exports.FeatureLimitsAdminApiFp = exports.FeatureLimitsAdminApiAxiosParamCreator = exports.FeatureLimitsApi = exports.FeatureLimitsApiFactory = exports.FeatureLimitsApiFp = exports.FeatureLimitsApiAxiosParamCreator = exports.DocumentsApi = exports.DocumentsApiFactory = exports.DocumentsApiFp = exports.DocumentsApiAxiosParamCreator = 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 = void 0;
28
+ 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.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 = void 0;
29
+ 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.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 = void 0;
30
+ exports.UserApi = exports.UserApiFactory = exports.UserApiFp = exports.UserApiAxiosParamCreator = exports.TaxManagementApi = exports.TaxManagementApiFactory = exports.TaxManagementApiFp = exports.TaxManagementApiAxiosParamCreator = exports.SubscriptionsApi = exports.SubscriptionsApiFactory = exports.SubscriptionsApiFp = void 0;
31
31
  const axios_1 = require("axios");
32
32
  // Some imports not used depending on template conditions
33
33
  // @ts-ignore
@@ -92,6 +92,11 @@ exports.DataTypesBillingAlertRequestAlertTypeEnum = {
92
92
  ExpiringCredits: 'expiring_credits',
93
93
  DaysRemaining: 'days_remaining'
94
94
  };
95
+ exports.DataTypesBillingAlertRequestThresholdUnitEnum = {
96
+ Credits: 'credits',
97
+ Days: 'days',
98
+ Percentage: 'percentage'
99
+ };
95
100
  exports.DataTypesCreateCustomWordListRequestTypeEnum = {
96
101
  Stopwords: 'stopwords',
97
102
  Synonyms: 'synonyms'
@@ -7003,6 +7008,42 @@ const AuthApiAxiosParamCreator = function (configuration) {
7003
7008
  options: localVarRequestOptions,
7004
7009
  };
7005
7010
  }),
7011
+ /**
7012
+ * Allows the authenticated user to link or unlink a social login provider (Google, GitHub, etc.)
7013
+ * @summary Link or Unlink an SSO provider
7014
+ * @param {string} authorization Bearer <access_token>
7015
+ * @param {DataTypesLoginRequest} dataTypesLoginRequest SSO link/unlink request payload
7016
+ * @param {*} [options] Override http request option.
7017
+ * @throws {RequiredError}
7018
+ */
7019
+ authUpdateSsoPost: (authorization_1, dataTypesLoginRequest_1, ...args_1) => __awaiter(this, [authorization_1, dataTypesLoginRequest_1, ...args_1], void 0, function* (authorization, dataTypesLoginRequest, options = {}) {
7020
+ // verify required parameter 'authorization' is not null or undefined
7021
+ (0, common_1.assertParamExists)('authUpdateSsoPost', 'authorization', authorization);
7022
+ // verify required parameter 'dataTypesLoginRequest' is not null or undefined
7023
+ (0, common_1.assertParamExists)('authUpdateSsoPost', 'dataTypesLoginRequest', dataTypesLoginRequest);
7024
+ const localVarPath = `/Auth/update-sso`;
7025
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
7026
+ const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
7027
+ let baseOptions;
7028
+ if (configuration) {
7029
+ baseOptions = configuration.baseOptions;
7030
+ }
7031
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
7032
+ const localVarHeaderParameter = {};
7033
+ const localVarQueryParameter = {};
7034
+ localVarHeaderParameter['Content-Type'] = 'application/json';
7035
+ if (authorization != null) {
7036
+ localVarHeaderParameter['Authorization'] = String(authorization);
7037
+ }
7038
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
7039
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
7040
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
7041
+ localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(dataTypesLoginRequest, localVarRequestOptions, configuration);
7042
+ return {
7043
+ url: (0, common_1.toPathString)(localVarUrlObj),
7044
+ options: localVarRequestOptions,
7045
+ };
7046
+ }),
7006
7047
  };
7007
7048
  };
7008
7049
  exports.AuthApiAxiosParamCreator = AuthApiAxiosParamCreator;
@@ -7059,6 +7100,23 @@ const AuthApiFp = function (configuration) {
7059
7100
  return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
7060
7101
  });
7061
7102
  },
7103
+ /**
7104
+ * Allows the authenticated user to link or unlink a social login provider (Google, GitHub, etc.)
7105
+ * @summary Link or Unlink an SSO provider
7106
+ * @param {string} authorization Bearer <access_token>
7107
+ * @param {DataTypesLoginRequest} dataTypesLoginRequest SSO link/unlink request payload
7108
+ * @param {*} [options] Override http request option.
7109
+ * @throws {RequiredError}
7110
+ */
7111
+ authUpdateSsoPost(authorization, dataTypesLoginRequest, options) {
7112
+ return __awaiter(this, void 0, void 0, function* () {
7113
+ var _a, _b, _c;
7114
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.authUpdateSsoPost(authorization, dataTypesLoginRequest, options);
7115
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
7116
+ const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['AuthApi.authUpdateSsoPost']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
7117
+ return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
7118
+ });
7119
+ },
7062
7120
  };
7063
7121
  };
7064
7122
  exports.AuthApiFp = AuthApiFp;
@@ -7097,6 +7155,17 @@ const AuthApiFactory = function (configuration, basePath, axios) {
7097
7155
  authSessionGet(options) {
7098
7156
  return localVarFp.authSessionGet(options).then((request) => request(axios, basePath));
7099
7157
  },
7158
+ /**
7159
+ * Allows the authenticated user to link or unlink a social login provider (Google, GitHub, etc.)
7160
+ * @summary Link or Unlink an SSO provider
7161
+ * @param {string} authorization Bearer <access_token>
7162
+ * @param {DataTypesLoginRequest} dataTypesLoginRequest SSO link/unlink request payload
7163
+ * @param {*} [options] Override http request option.
7164
+ * @throws {RequiredError}
7165
+ */
7166
+ authUpdateSsoPost(authorization, dataTypesLoginRequest, options) {
7167
+ return localVarFp.authUpdateSsoPost(authorization, dataTypesLoginRequest, options).then((request) => request(axios, basePath));
7168
+ },
7100
7169
  };
7101
7170
  };
7102
7171
  exports.AuthApiFactory = AuthApiFactory;
@@ -7138,6 +7207,18 @@ class AuthApi extends base_1.BaseAPI {
7138
7207
  authSessionGet(options) {
7139
7208
  return (0, exports.AuthApiFp)(this.configuration).authSessionGet(options).then((request) => request(this.axios, this.basePath));
7140
7209
  }
7210
+ /**
7211
+ * Allows the authenticated user to link or unlink a social login provider (Google, GitHub, etc.)
7212
+ * @summary Link or Unlink an SSO provider
7213
+ * @param {string} authorization Bearer <access_token>
7214
+ * @param {DataTypesLoginRequest} dataTypesLoginRequest SSO link/unlink request payload
7215
+ * @param {*} [options] Override http request option.
7216
+ * @throws {RequiredError}
7217
+ * @memberof AuthApi
7218
+ */
7219
+ authUpdateSsoPost(authorization, dataTypesLoginRequest, options) {
7220
+ return (0, exports.AuthApiFp)(this.configuration).authUpdateSsoPost(authorization, dataTypesLoginRequest, options).then((request) => request(this.axios, this.basePath));
7221
+ }
7141
7222
  }
7142
7223
  exports.AuthApi = AuthApi;
7143
7224
  /**
@@ -8255,6 +8336,161 @@ const BillingDashboardApiAxiosParamCreator = function (configuration) {
8255
8336
  options: localVarRequestOptions,
8256
8337
  };
8257
8338
  }),
8339
+ /**
8340
+ * Generates receipts for all completed payments without receipts in the organization
8341
+ * @summary Auto-generate receipts for organization
8342
+ * @param {*} [options] Override http request option.
8343
+ * @throws {RequiredError}
8344
+ */
8345
+ adminBillingReceiptsAutoGeneratePost: (...args_1) => __awaiter(this, [...args_1], void 0, function* (options = {}) {
8346
+ const localVarPath = `/admin/billing/receipts/auto-generate`;
8347
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
8348
+ const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
8349
+ let baseOptions;
8350
+ if (configuration) {
8351
+ baseOptions = configuration.baseOptions;
8352
+ }
8353
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
8354
+ const localVarHeaderParameter = {};
8355
+ const localVarQueryParameter = {};
8356
+ // authentication BearerAuth required
8357
+ yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Authorization", configuration);
8358
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
8359
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
8360
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
8361
+ return {
8362
+ url: (0, common_1.toPathString)(localVarUrlObj),
8363
+ options: localVarRequestOptions,
8364
+ };
8365
+ }),
8366
+ /**
8367
+ * Generates a receipt for a completed payment
8368
+ * @summary Generate receipt from payment
8369
+ * @param {number} paymentId Payment ID
8370
+ * @param {*} [options] Override http request option.
8371
+ * @throws {RequiredError}
8372
+ */
8373
+ adminBillingReceiptsGeneratePaymentIdPost: (paymentId_1, ...args_1) => __awaiter(this, [paymentId_1, ...args_1], void 0, function* (paymentId, options = {}) {
8374
+ // verify required parameter 'paymentId' is not null or undefined
8375
+ (0, common_1.assertParamExists)('adminBillingReceiptsGeneratePaymentIdPost', 'paymentId', paymentId);
8376
+ const localVarPath = `/admin/billing/receipts/generate/{paymentId}`
8377
+ .replace(`{${"paymentId"}}`, encodeURIComponent(String(paymentId)));
8378
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
8379
+ const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
8380
+ let baseOptions;
8381
+ if (configuration) {
8382
+ baseOptions = configuration.baseOptions;
8383
+ }
8384
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
8385
+ const localVarHeaderParameter = {};
8386
+ const localVarQueryParameter = {};
8387
+ // authentication BearerAuth required
8388
+ yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Authorization", configuration);
8389
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
8390
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
8391
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
8392
+ return {
8393
+ url: (0, common_1.toPathString)(localVarUrlObj),
8394
+ options: localVarRequestOptions,
8395
+ };
8396
+ }),
8397
+ /**
8398
+ * Retrieves a paginated list of receipts for the organization
8399
+ * @summary List receipts
8400
+ * @param {number} [page] Page number (default: 1)
8401
+ * @param {number} [pageSize] Page size (default: 20, max: 100)
8402
+ * @param {*} [options] Override http request option.
8403
+ * @throws {RequiredError}
8404
+ */
8405
+ adminBillingReceiptsGet: (page_1, pageSize_1, ...args_1) => __awaiter(this, [page_1, pageSize_1, ...args_1], void 0, function* (page, pageSize, options = {}) {
8406
+ const localVarPath = `/admin/billing/receipts`;
8407
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
8408
+ const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
8409
+ let baseOptions;
8410
+ if (configuration) {
8411
+ baseOptions = configuration.baseOptions;
8412
+ }
8413
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
8414
+ const localVarHeaderParameter = {};
8415
+ const localVarQueryParameter = {};
8416
+ // authentication BearerAuth required
8417
+ yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Authorization", configuration);
8418
+ if (page !== undefined) {
8419
+ localVarQueryParameter['page'] = page;
8420
+ }
8421
+ if (pageSize !== undefined) {
8422
+ localVarQueryParameter['page_size'] = pageSize;
8423
+ }
8424
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
8425
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
8426
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
8427
+ return {
8428
+ url: (0, common_1.toPathString)(localVarUrlObj),
8429
+ options: localVarRequestOptions,
8430
+ };
8431
+ }),
8432
+ /**
8433
+ * Returns a receipt as a base64-encoded PDF blob for frontend download. PDFs are cached in S3 for performance.
8434
+ * @summary Download receipt PDF
8435
+ * @param {number} id Receipt ID
8436
+ * @param {*} [options] Override http request option.
8437
+ * @throws {RequiredError}
8438
+ */
8439
+ adminBillingReceiptsIdDownloadGet: (id_1, ...args_1) => __awaiter(this, [id_1, ...args_1], void 0, function* (id, options = {}) {
8440
+ // verify required parameter 'id' is not null or undefined
8441
+ (0, common_1.assertParamExists)('adminBillingReceiptsIdDownloadGet', 'id', id);
8442
+ const localVarPath = `/admin/billing/receipts/{id}/download`
8443
+ .replace(`{${"id"}}`, encodeURIComponent(String(id)));
8444
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
8445
+ const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
8446
+ let baseOptions;
8447
+ if (configuration) {
8448
+ baseOptions = configuration.baseOptions;
8449
+ }
8450
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
8451
+ const localVarHeaderParameter = {};
8452
+ const localVarQueryParameter = {};
8453
+ // authentication BearerAuth required
8454
+ yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Authorization", configuration);
8455
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
8456
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
8457
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
8458
+ return {
8459
+ url: (0, common_1.toPathString)(localVarUrlObj),
8460
+ options: localVarRequestOptions,
8461
+ };
8462
+ }),
8463
+ /**
8464
+ * Retrieves a single receipt by its ID
8465
+ * @summary Get receipt by ID
8466
+ * @param {number} id Receipt ID
8467
+ * @param {*} [options] Override http request option.
8468
+ * @throws {RequiredError}
8469
+ */
8470
+ adminBillingReceiptsIdGet: (id_1, ...args_1) => __awaiter(this, [id_1, ...args_1], void 0, function* (id, options = {}) {
8471
+ // verify required parameter 'id' is not null or undefined
8472
+ (0, common_1.assertParamExists)('adminBillingReceiptsIdGet', 'id', id);
8473
+ const localVarPath = `/admin/billing/receipts/{id}`
8474
+ .replace(`{${"id"}}`, encodeURIComponent(String(id)));
8475
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
8476
+ const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
8477
+ let baseOptions;
8478
+ if (configuration) {
8479
+ baseOptions = configuration.baseOptions;
8480
+ }
8481
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
8482
+ const localVarHeaderParameter = {};
8483
+ const localVarQueryParameter = {};
8484
+ // authentication BearerAuth required
8485
+ yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Authorization", configuration);
8486
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
8487
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
8488
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
8489
+ return {
8490
+ url: (0, common_1.toPathString)(localVarUrlObj),
8491
+ options: localVarRequestOptions,
8492
+ };
8493
+ }),
8258
8494
  /**
8259
8495
  * Returns saved payment cards from Razorpay for the organization
8260
8496
  * @summary Get saved payment cards
@@ -8798,6 +9034,86 @@ const BillingDashboardApiFp = function (configuration) {
8798
9034
  return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
8799
9035
  });
8800
9036
  },
9037
+ /**
9038
+ * Generates receipts for all completed payments without receipts in the organization
9039
+ * @summary Auto-generate receipts for organization
9040
+ * @param {*} [options] Override http request option.
9041
+ * @throws {RequiredError}
9042
+ */
9043
+ adminBillingReceiptsAutoGeneratePost(options) {
9044
+ return __awaiter(this, void 0, void 0, function* () {
9045
+ var _a, _b, _c;
9046
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.adminBillingReceiptsAutoGeneratePost(options);
9047
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
9048
+ const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['BillingDashboardApi.adminBillingReceiptsAutoGeneratePost']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
9049
+ return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
9050
+ });
9051
+ },
9052
+ /**
9053
+ * Generates a receipt for a completed payment
9054
+ * @summary Generate receipt from payment
9055
+ * @param {number} paymentId Payment ID
9056
+ * @param {*} [options] Override http request option.
9057
+ * @throws {RequiredError}
9058
+ */
9059
+ adminBillingReceiptsGeneratePaymentIdPost(paymentId, options) {
9060
+ return __awaiter(this, void 0, void 0, function* () {
9061
+ var _a, _b, _c;
9062
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.adminBillingReceiptsGeneratePaymentIdPost(paymentId, options);
9063
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
9064
+ const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['BillingDashboardApi.adminBillingReceiptsGeneratePaymentIdPost']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
9065
+ return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
9066
+ });
9067
+ },
9068
+ /**
9069
+ * Retrieves a paginated list of receipts for the organization
9070
+ * @summary List receipts
9071
+ * @param {number} [page] Page number (default: 1)
9072
+ * @param {number} [pageSize] Page size (default: 20, max: 100)
9073
+ * @param {*} [options] Override http request option.
9074
+ * @throws {RequiredError}
9075
+ */
9076
+ adminBillingReceiptsGet(page, pageSize, options) {
9077
+ return __awaiter(this, void 0, void 0, function* () {
9078
+ var _a, _b, _c;
9079
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.adminBillingReceiptsGet(page, pageSize, options);
9080
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
9081
+ const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['BillingDashboardApi.adminBillingReceiptsGet']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
9082
+ return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
9083
+ });
9084
+ },
9085
+ /**
9086
+ * Returns a receipt as a base64-encoded PDF blob for frontend download. PDFs are cached in S3 for performance.
9087
+ * @summary Download receipt PDF
9088
+ * @param {number} id Receipt ID
9089
+ * @param {*} [options] Override http request option.
9090
+ * @throws {RequiredError}
9091
+ */
9092
+ adminBillingReceiptsIdDownloadGet(id, options) {
9093
+ return __awaiter(this, void 0, void 0, function* () {
9094
+ var _a, _b, _c;
9095
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.adminBillingReceiptsIdDownloadGet(id, options);
9096
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
9097
+ const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['BillingDashboardApi.adminBillingReceiptsIdDownloadGet']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
9098
+ return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
9099
+ });
9100
+ },
9101
+ /**
9102
+ * Retrieves a single receipt by its ID
9103
+ * @summary Get receipt by ID
9104
+ * @param {number} id Receipt ID
9105
+ * @param {*} [options] Override http request option.
9106
+ * @throws {RequiredError}
9107
+ */
9108
+ adminBillingReceiptsIdGet(id, options) {
9109
+ return __awaiter(this, void 0, void 0, function* () {
9110
+ var _a, _b, _c;
9111
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.adminBillingReceiptsIdGet(id, options);
9112
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
9113
+ const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['BillingDashboardApi.adminBillingReceiptsIdGet']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
9114
+ return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
9115
+ });
9116
+ },
8801
9117
  /**
8802
9118
  * Returns saved payment cards from Razorpay for the organization
8803
9119
  * @summary Get saved payment cards
@@ -9137,6 +9453,56 @@ const BillingDashboardApiFactory = function (configuration, basePath, axios) {
9137
9453
  adminBillingPaymentTransactionsGet(orgId, startDate, endDate, limit, offset, options) {
9138
9454
  return localVarFp.adminBillingPaymentTransactionsGet(orgId, startDate, endDate, limit, offset, options).then((request) => request(axios, basePath));
9139
9455
  },
9456
+ /**
9457
+ * Generates receipts for all completed payments without receipts in the organization
9458
+ * @summary Auto-generate receipts for organization
9459
+ * @param {*} [options] Override http request option.
9460
+ * @throws {RequiredError}
9461
+ */
9462
+ adminBillingReceiptsAutoGeneratePost(options) {
9463
+ return localVarFp.adminBillingReceiptsAutoGeneratePost(options).then((request) => request(axios, basePath));
9464
+ },
9465
+ /**
9466
+ * Generates a receipt for a completed payment
9467
+ * @summary Generate receipt from payment
9468
+ * @param {number} paymentId Payment ID
9469
+ * @param {*} [options] Override http request option.
9470
+ * @throws {RequiredError}
9471
+ */
9472
+ adminBillingReceiptsGeneratePaymentIdPost(paymentId, options) {
9473
+ return localVarFp.adminBillingReceiptsGeneratePaymentIdPost(paymentId, options).then((request) => request(axios, basePath));
9474
+ },
9475
+ /**
9476
+ * Retrieves a paginated list of receipts for the organization
9477
+ * @summary List receipts
9478
+ * @param {number} [page] Page number (default: 1)
9479
+ * @param {number} [pageSize] Page size (default: 20, max: 100)
9480
+ * @param {*} [options] Override http request option.
9481
+ * @throws {RequiredError}
9482
+ */
9483
+ adminBillingReceiptsGet(page, pageSize, options) {
9484
+ return localVarFp.adminBillingReceiptsGet(page, pageSize, options).then((request) => request(axios, basePath));
9485
+ },
9486
+ /**
9487
+ * Returns a receipt as a base64-encoded PDF blob for frontend download. PDFs are cached in S3 for performance.
9488
+ * @summary Download receipt PDF
9489
+ * @param {number} id Receipt ID
9490
+ * @param {*} [options] Override http request option.
9491
+ * @throws {RequiredError}
9492
+ */
9493
+ adminBillingReceiptsIdDownloadGet(id, options) {
9494
+ return localVarFp.adminBillingReceiptsIdDownloadGet(id, options).then((request) => request(axios, basePath));
9495
+ },
9496
+ /**
9497
+ * Retrieves a single receipt by its ID
9498
+ * @summary Get receipt by ID
9499
+ * @param {number} id Receipt ID
9500
+ * @param {*} [options] Override http request option.
9501
+ * @throws {RequiredError}
9502
+ */
9503
+ adminBillingReceiptsIdGet(id, options) {
9504
+ return localVarFp.adminBillingReceiptsIdGet(id, options).then((request) => request(axios, basePath));
9505
+ },
9140
9506
  /**
9141
9507
  * Returns saved payment cards from Razorpay for the organization
9142
9508
  * @summary Get saved payment cards
@@ -9489,6 +9855,61 @@ class BillingDashboardApi extends base_1.BaseAPI {
9489
9855
  adminBillingPaymentTransactionsGet(orgId, startDate, endDate, limit, offset, options) {
9490
9856
  return (0, exports.BillingDashboardApiFp)(this.configuration).adminBillingPaymentTransactionsGet(orgId, startDate, endDate, limit, offset, options).then((request) => request(this.axios, this.basePath));
9491
9857
  }
9858
+ /**
9859
+ * Generates receipts for all completed payments without receipts in the organization
9860
+ * @summary Auto-generate receipts for organization
9861
+ * @param {*} [options] Override http request option.
9862
+ * @throws {RequiredError}
9863
+ * @memberof BillingDashboardApi
9864
+ */
9865
+ adminBillingReceiptsAutoGeneratePost(options) {
9866
+ return (0, exports.BillingDashboardApiFp)(this.configuration).adminBillingReceiptsAutoGeneratePost(options).then((request) => request(this.axios, this.basePath));
9867
+ }
9868
+ /**
9869
+ * Generates a receipt for a completed payment
9870
+ * @summary Generate receipt from payment
9871
+ * @param {number} paymentId Payment ID
9872
+ * @param {*} [options] Override http request option.
9873
+ * @throws {RequiredError}
9874
+ * @memberof BillingDashboardApi
9875
+ */
9876
+ adminBillingReceiptsGeneratePaymentIdPost(paymentId, options) {
9877
+ return (0, exports.BillingDashboardApiFp)(this.configuration).adminBillingReceiptsGeneratePaymentIdPost(paymentId, options).then((request) => request(this.axios, this.basePath));
9878
+ }
9879
+ /**
9880
+ * Retrieves a paginated list of receipts for the organization
9881
+ * @summary List receipts
9882
+ * @param {number} [page] Page number (default: 1)
9883
+ * @param {number} [pageSize] Page size (default: 20, max: 100)
9884
+ * @param {*} [options] Override http request option.
9885
+ * @throws {RequiredError}
9886
+ * @memberof BillingDashboardApi
9887
+ */
9888
+ adminBillingReceiptsGet(page, pageSize, options) {
9889
+ return (0, exports.BillingDashboardApiFp)(this.configuration).adminBillingReceiptsGet(page, pageSize, options).then((request) => request(this.axios, this.basePath));
9890
+ }
9891
+ /**
9892
+ * Returns a receipt as a base64-encoded PDF blob for frontend download. PDFs are cached in S3 for performance.
9893
+ * @summary Download receipt PDF
9894
+ * @param {number} id Receipt ID
9895
+ * @param {*} [options] Override http request option.
9896
+ * @throws {RequiredError}
9897
+ * @memberof BillingDashboardApi
9898
+ */
9899
+ adminBillingReceiptsIdDownloadGet(id, options) {
9900
+ return (0, exports.BillingDashboardApiFp)(this.configuration).adminBillingReceiptsIdDownloadGet(id, options).then((request) => request(this.axios, this.basePath));
9901
+ }
9902
+ /**
9903
+ * Retrieves a single receipt by its ID
9904
+ * @summary Get receipt by ID
9905
+ * @param {number} id Receipt ID
9906
+ * @param {*} [options] Override http request option.
9907
+ * @throws {RequiredError}
9908
+ * @memberof BillingDashboardApi
9909
+ */
9910
+ adminBillingReceiptsIdGet(id, options) {
9911
+ return (0, exports.BillingDashboardApiFp)(this.configuration).adminBillingReceiptsIdGet(id, options).then((request) => request(this.axios, this.basePath));
9912
+ }
9492
9913
  /**
9493
9914
  * Returns saved payment cards from Razorpay for the organization
9494
9915
  * @summary Get saved payment cards
@@ -9628,6 +10049,174 @@ class CommonApi extends base_1.BaseAPI {
9628
10049
  }
9629
10050
  }
9630
10051
  exports.CommonApi = CommonApi;
10052
+ /**
10053
+ * CompanyConfigApi - axios parameter creator
10054
+ * @export
10055
+ */
10056
+ const CompanyConfigApiAxiosParamCreator = function (configuration) {
10057
+ return {
10058
+ /**
10059
+ * Retrieves company information used on invoices and receipts
10060
+ * @summary Get company configuration
10061
+ * @param {*} [options] Override http request option.
10062
+ * @throws {RequiredError}
10063
+ */
10064
+ adminV1ConfigCompanyGet: (...args_1) => __awaiter(this, [...args_1], void 0, function* (options = {}) {
10065
+ const localVarPath = `/admin/v1/config/company`;
10066
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
10067
+ const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
10068
+ let baseOptions;
10069
+ if (configuration) {
10070
+ baseOptions = configuration.baseOptions;
10071
+ }
10072
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
10073
+ const localVarHeaderParameter = {};
10074
+ const localVarQueryParameter = {};
10075
+ // authentication BearerAuth required
10076
+ yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Authorization", configuration);
10077
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
10078
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
10079
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
10080
+ return {
10081
+ url: (0, common_1.toPathString)(localVarUrlObj),
10082
+ options: localVarRequestOptions,
10083
+ };
10084
+ }),
10085
+ /**
10086
+ * Updates company information used on invoices and receipts
10087
+ * @summary Update company configuration
10088
+ * @param {DataTypesCompanyConfigRequest} dataTypesCompanyConfigRequest Company config
10089
+ * @param {*} [options] Override http request option.
10090
+ * @throws {RequiredError}
10091
+ */
10092
+ adminV1ConfigCompanyPut: (dataTypesCompanyConfigRequest_1, ...args_1) => __awaiter(this, [dataTypesCompanyConfigRequest_1, ...args_1], void 0, function* (dataTypesCompanyConfigRequest, options = {}) {
10093
+ // verify required parameter 'dataTypesCompanyConfigRequest' is not null or undefined
10094
+ (0, common_1.assertParamExists)('adminV1ConfigCompanyPut', 'dataTypesCompanyConfigRequest', dataTypesCompanyConfigRequest);
10095
+ const localVarPath = `/admin/v1/config/company`;
10096
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
10097
+ const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
10098
+ let baseOptions;
10099
+ if (configuration) {
10100
+ baseOptions = configuration.baseOptions;
10101
+ }
10102
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'PUT' }, baseOptions), options);
10103
+ const localVarHeaderParameter = {};
10104
+ const localVarQueryParameter = {};
10105
+ // authentication BearerAuth required
10106
+ yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Authorization", configuration);
10107
+ localVarHeaderParameter['Content-Type'] = 'application/json';
10108
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
10109
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
10110
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
10111
+ localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(dataTypesCompanyConfigRequest, localVarRequestOptions, configuration);
10112
+ return {
10113
+ url: (0, common_1.toPathString)(localVarUrlObj),
10114
+ options: localVarRequestOptions,
10115
+ };
10116
+ }),
10117
+ };
10118
+ };
10119
+ exports.CompanyConfigApiAxiosParamCreator = CompanyConfigApiAxiosParamCreator;
10120
+ /**
10121
+ * CompanyConfigApi - functional programming interface
10122
+ * @export
10123
+ */
10124
+ const CompanyConfigApiFp = function (configuration) {
10125
+ const localVarAxiosParamCreator = (0, exports.CompanyConfigApiAxiosParamCreator)(configuration);
10126
+ return {
10127
+ /**
10128
+ * Retrieves company information used on invoices and receipts
10129
+ * @summary Get company configuration
10130
+ * @param {*} [options] Override http request option.
10131
+ * @throws {RequiredError}
10132
+ */
10133
+ adminV1ConfigCompanyGet(options) {
10134
+ return __awaiter(this, void 0, void 0, function* () {
10135
+ var _a, _b, _c;
10136
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.adminV1ConfigCompanyGet(options);
10137
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
10138
+ const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['CompanyConfigApi.adminV1ConfigCompanyGet']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
10139
+ return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
10140
+ });
10141
+ },
10142
+ /**
10143
+ * Updates company information used on invoices and receipts
10144
+ * @summary Update company configuration
10145
+ * @param {DataTypesCompanyConfigRequest} dataTypesCompanyConfigRequest Company config
10146
+ * @param {*} [options] Override http request option.
10147
+ * @throws {RequiredError}
10148
+ */
10149
+ adminV1ConfigCompanyPut(dataTypesCompanyConfigRequest, options) {
10150
+ return __awaiter(this, void 0, void 0, function* () {
10151
+ var _a, _b, _c;
10152
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.adminV1ConfigCompanyPut(dataTypesCompanyConfigRequest, options);
10153
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
10154
+ const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['CompanyConfigApi.adminV1ConfigCompanyPut']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
10155
+ return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
10156
+ });
10157
+ },
10158
+ };
10159
+ };
10160
+ exports.CompanyConfigApiFp = CompanyConfigApiFp;
10161
+ /**
10162
+ * CompanyConfigApi - factory interface
10163
+ * @export
10164
+ */
10165
+ const CompanyConfigApiFactory = function (configuration, basePath, axios) {
10166
+ const localVarFp = (0, exports.CompanyConfigApiFp)(configuration);
10167
+ return {
10168
+ /**
10169
+ * Retrieves company information used on invoices and receipts
10170
+ * @summary Get company configuration
10171
+ * @param {*} [options] Override http request option.
10172
+ * @throws {RequiredError}
10173
+ */
10174
+ adminV1ConfigCompanyGet(options) {
10175
+ return localVarFp.adminV1ConfigCompanyGet(options).then((request) => request(axios, basePath));
10176
+ },
10177
+ /**
10178
+ * Updates company information used on invoices and receipts
10179
+ * @summary Update company configuration
10180
+ * @param {DataTypesCompanyConfigRequest} dataTypesCompanyConfigRequest Company config
10181
+ * @param {*} [options] Override http request option.
10182
+ * @throws {RequiredError}
10183
+ */
10184
+ adminV1ConfigCompanyPut(dataTypesCompanyConfigRequest, options) {
10185
+ return localVarFp.adminV1ConfigCompanyPut(dataTypesCompanyConfigRequest, options).then((request) => request(axios, basePath));
10186
+ },
10187
+ };
10188
+ };
10189
+ exports.CompanyConfigApiFactory = CompanyConfigApiFactory;
10190
+ /**
10191
+ * CompanyConfigApi - object-oriented interface
10192
+ * @export
10193
+ * @class CompanyConfigApi
10194
+ * @extends {BaseAPI}
10195
+ */
10196
+ class CompanyConfigApi extends base_1.BaseAPI {
10197
+ /**
10198
+ * Retrieves company information used on invoices and receipts
10199
+ * @summary Get company configuration
10200
+ * @param {*} [options] Override http request option.
10201
+ * @throws {RequiredError}
10202
+ * @memberof CompanyConfigApi
10203
+ */
10204
+ adminV1ConfigCompanyGet(options) {
10205
+ return (0, exports.CompanyConfigApiFp)(this.configuration).adminV1ConfigCompanyGet(options).then((request) => request(this.axios, this.basePath));
10206
+ }
10207
+ /**
10208
+ * Updates company information used on invoices and receipts
10209
+ * @summary Update company configuration
10210
+ * @param {DataTypesCompanyConfigRequest} dataTypesCompanyConfigRequest Company config
10211
+ * @param {*} [options] Override http request option.
10212
+ * @throws {RequiredError}
10213
+ * @memberof CompanyConfigApi
10214
+ */
10215
+ adminV1ConfigCompanyPut(dataTypesCompanyConfigRequest, options) {
10216
+ return (0, exports.CompanyConfigApiFp)(this.configuration).adminV1ConfigCompanyPut(dataTypesCompanyConfigRequest, options).then((request) => request(this.axios, this.basePath));
10217
+ }
10218
+ }
10219
+ exports.CompanyConfigApi = CompanyConfigApi;
9631
10220
  /**
9632
10221
  * ConnectorsApi - axios parameter creator
9633
10222
  * @export
@@ -17905,10 +18494,22 @@ const PaymentGatewayApiAxiosParamCreator = function (configuration) {
17905
18494
  * @summary List orders (paginated)
17906
18495
  * @param {number} [page] Page number (default 1)
17907
18496
  * @param {number} [pageSize] Page size (default 20, max 100)
17908
- * @param {*} [options] Override http request option.
17909
- * @throws {RequiredError}
17910
- */
17911
- adminPaymentGatewayOrdersGet: (page_1, pageSize_1, ...args_1) => __awaiter(this, [page_1, pageSize_1, ...args_1], void 0, function* (page, pageSize, options = {}) {
18497
+ * @param {string} [search] Search by order ID, gateway references, amount, or customer details
18498
+ * @param {string} [statuses] Comma-separated statuses to include
18499
+ * @param {string} [paymentTypes] Comma-separated payment types to include
18500
+ * @param {string} [gateways] Comma-separated gateways to include
18501
+ * @param {string} [currencies] Comma-separated currencies to include
18502
+ * @param {string} [createdFrom] Created_at filter (RFC3339 or YYYY-MM-DD)
18503
+ * @param {string} [createdTo] Created_at upper bound (inclusive, RFC3339 or YYYY-MM-DD)
18504
+ * @param {number} [amountMin] Minimum order amount
18505
+ * @param {number} [amountMax] Maximum order amount
18506
+ * @param {string} [sort] Multi-field sort (e.g. created_at:desc,amount:asc or -created_at,+amount)
18507
+ * @param {string} [sortBy] Legacy single-field sort
18508
+ * @param {string} [sortOrder] Sort direction for sort_by (asc or desc)
18509
+ * @param {*} [options] Override http request option.
18510
+ * @throws {RequiredError}
18511
+ */
18512
+ adminPaymentGatewayOrdersGet: (page_1, pageSize_1, search_1, statuses_1, paymentTypes_1, gateways_1, currencies_1, createdFrom_1, createdTo_1, amountMin_1, amountMax_1, sort_1, sortBy_1, sortOrder_1, ...args_1) => __awaiter(this, [page_1, pageSize_1, search_1, statuses_1, paymentTypes_1, gateways_1, currencies_1, createdFrom_1, createdTo_1, amountMin_1, amountMax_1, sort_1, sortBy_1, sortOrder_1, ...args_1], void 0, function* (page, pageSize, search, statuses, paymentTypes, gateways, currencies, createdFrom, createdTo, amountMin, amountMax, sort, sortBy, sortOrder, options = {}) {
17912
18513
  const localVarPath = `/admin/payment-gateway/orders`;
17913
18514
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
17914
18515
  const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
@@ -17927,6 +18528,42 @@ const PaymentGatewayApiAxiosParamCreator = function (configuration) {
17927
18528
  if (pageSize !== undefined) {
17928
18529
  localVarQueryParameter['page_size'] = pageSize;
17929
18530
  }
18531
+ if (search !== undefined) {
18532
+ localVarQueryParameter['search'] = search;
18533
+ }
18534
+ if (statuses !== undefined) {
18535
+ localVarQueryParameter['statuses'] = statuses;
18536
+ }
18537
+ if (paymentTypes !== undefined) {
18538
+ localVarQueryParameter['payment_types'] = paymentTypes;
18539
+ }
18540
+ if (gateways !== undefined) {
18541
+ localVarQueryParameter['gateways'] = gateways;
18542
+ }
18543
+ if (currencies !== undefined) {
18544
+ localVarQueryParameter['currencies'] = currencies;
18545
+ }
18546
+ if (createdFrom !== undefined) {
18547
+ localVarQueryParameter['created_from'] = createdFrom;
18548
+ }
18549
+ if (createdTo !== undefined) {
18550
+ localVarQueryParameter['created_to'] = createdTo;
18551
+ }
18552
+ if (amountMin !== undefined) {
18553
+ localVarQueryParameter['amount_min'] = amountMin;
18554
+ }
18555
+ if (amountMax !== undefined) {
18556
+ localVarQueryParameter['amount_max'] = amountMax;
18557
+ }
18558
+ if (sort !== undefined) {
18559
+ localVarQueryParameter['sort'] = sort;
18560
+ }
18561
+ if (sortBy !== undefined) {
18562
+ localVarQueryParameter['sort_by'] = sortBy;
18563
+ }
18564
+ if (sortOrder !== undefined) {
18565
+ localVarQueryParameter['sort_order'] = sortOrder;
18566
+ }
17930
18567
  (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
17931
18568
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
17932
18569
  localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
@@ -18272,13 +18909,25 @@ const PaymentGatewayApiFp = function (configuration) {
18272
18909
  * @summary List orders (paginated)
18273
18910
  * @param {number} [page] Page number (default 1)
18274
18911
  * @param {number} [pageSize] Page size (default 20, max 100)
18912
+ * @param {string} [search] Search by order ID, gateway references, amount, or customer details
18913
+ * @param {string} [statuses] Comma-separated statuses to include
18914
+ * @param {string} [paymentTypes] Comma-separated payment types to include
18915
+ * @param {string} [gateways] Comma-separated gateways to include
18916
+ * @param {string} [currencies] Comma-separated currencies to include
18917
+ * @param {string} [createdFrom] Created_at filter (RFC3339 or YYYY-MM-DD)
18918
+ * @param {string} [createdTo] Created_at upper bound (inclusive, RFC3339 or YYYY-MM-DD)
18919
+ * @param {number} [amountMin] Minimum order amount
18920
+ * @param {number} [amountMax] Maximum order amount
18921
+ * @param {string} [sort] Multi-field sort (e.g. created_at:desc,amount:asc or -created_at,+amount)
18922
+ * @param {string} [sortBy] Legacy single-field sort
18923
+ * @param {string} [sortOrder] Sort direction for sort_by (asc or desc)
18275
18924
  * @param {*} [options] Override http request option.
18276
18925
  * @throws {RequiredError}
18277
18926
  */
18278
- adminPaymentGatewayOrdersGet(page, pageSize, options) {
18927
+ adminPaymentGatewayOrdersGet(page, pageSize, search, statuses, paymentTypes, gateways, currencies, createdFrom, createdTo, amountMin, amountMax, sort, sortBy, sortOrder, options) {
18279
18928
  return __awaiter(this, void 0, void 0, function* () {
18280
18929
  var _a, _b, _c;
18281
- const localVarAxiosArgs = yield localVarAxiosParamCreator.adminPaymentGatewayOrdersGet(page, pageSize, options);
18930
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.adminPaymentGatewayOrdersGet(page, pageSize, search, statuses, paymentTypes, gateways, currencies, createdFrom, createdTo, amountMin, amountMax, sort, sortBy, sortOrder, options);
18282
18931
  const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
18283
18932
  const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['PaymentGatewayApi.adminPaymentGatewayOrdersGet']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
18284
18933
  return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
@@ -18471,11 +19120,23 @@ const PaymentGatewayApiFactory = function (configuration, basePath, axios) {
18471
19120
  * @summary List orders (paginated)
18472
19121
  * @param {number} [page] Page number (default 1)
18473
19122
  * @param {number} [pageSize] Page size (default 20, max 100)
19123
+ * @param {string} [search] Search by order ID, gateway references, amount, or customer details
19124
+ * @param {string} [statuses] Comma-separated statuses to include
19125
+ * @param {string} [paymentTypes] Comma-separated payment types to include
19126
+ * @param {string} [gateways] Comma-separated gateways to include
19127
+ * @param {string} [currencies] Comma-separated currencies to include
19128
+ * @param {string} [createdFrom] Created_at filter (RFC3339 or YYYY-MM-DD)
19129
+ * @param {string} [createdTo] Created_at upper bound (inclusive, RFC3339 or YYYY-MM-DD)
19130
+ * @param {number} [amountMin] Minimum order amount
19131
+ * @param {number} [amountMax] Maximum order amount
19132
+ * @param {string} [sort] Multi-field sort (e.g. created_at:desc,amount:asc or -created_at,+amount)
19133
+ * @param {string} [sortBy] Legacy single-field sort
19134
+ * @param {string} [sortOrder] Sort direction for sort_by (asc or desc)
18474
19135
  * @param {*} [options] Override http request option.
18475
19136
  * @throws {RequiredError}
18476
19137
  */
18477
- adminPaymentGatewayOrdersGet(page, pageSize, options) {
18478
- return localVarFp.adminPaymentGatewayOrdersGet(page, pageSize, options).then((request) => request(axios, basePath));
19138
+ adminPaymentGatewayOrdersGet(page, pageSize, search, statuses, paymentTypes, gateways, currencies, createdFrom, createdTo, amountMin, amountMax, sort, sortBy, sortOrder, options) {
19139
+ return localVarFp.adminPaymentGatewayOrdersGet(page, pageSize, search, statuses, paymentTypes, gateways, currencies, createdFrom, createdTo, amountMin, amountMax, sort, sortBy, sortOrder, options).then((request) => request(axios, basePath));
18479
19140
  },
18480
19141
  /**
18481
19142
  * Returns order details, list of payment transactions for that order, and the latest invoice if available. Does not expose raw gateway secrets.
@@ -18613,12 +19274,24 @@ class PaymentGatewayApi extends base_1.BaseAPI {
18613
19274
  * @summary List orders (paginated)
18614
19275
  * @param {number} [page] Page number (default 1)
18615
19276
  * @param {number} [pageSize] Page size (default 20, max 100)
19277
+ * @param {string} [search] Search by order ID, gateway references, amount, or customer details
19278
+ * @param {string} [statuses] Comma-separated statuses to include
19279
+ * @param {string} [paymentTypes] Comma-separated payment types to include
19280
+ * @param {string} [gateways] Comma-separated gateways to include
19281
+ * @param {string} [currencies] Comma-separated currencies to include
19282
+ * @param {string} [createdFrom] Created_at filter (RFC3339 or YYYY-MM-DD)
19283
+ * @param {string} [createdTo] Created_at upper bound (inclusive, RFC3339 or YYYY-MM-DD)
19284
+ * @param {number} [amountMin] Minimum order amount
19285
+ * @param {number} [amountMax] Maximum order amount
19286
+ * @param {string} [sort] Multi-field sort (e.g. created_at:desc,amount:asc or -created_at,+amount)
19287
+ * @param {string} [sortBy] Legacy single-field sort
19288
+ * @param {string} [sortOrder] Sort direction for sort_by (asc or desc)
18616
19289
  * @param {*} [options] Override http request option.
18617
19290
  * @throws {RequiredError}
18618
19291
  * @memberof PaymentGatewayApi
18619
19292
  */
18620
- adminPaymentGatewayOrdersGet(page, pageSize, options) {
18621
- return (0, exports.PaymentGatewayApiFp)(this.configuration).adminPaymentGatewayOrdersGet(page, pageSize, options).then((request) => request(this.axios, this.basePath));
19293
+ adminPaymentGatewayOrdersGet(page, pageSize, search, statuses, paymentTypes, gateways, currencies, createdFrom, createdTo, amountMin, amountMax, sort, sortBy, sortOrder, options) {
19294
+ return (0, exports.PaymentGatewayApiFp)(this.configuration).adminPaymentGatewayOrdersGet(page, pageSize, search, statuses, paymentTypes, gateways, currencies, createdFrom, createdTo, amountMin, amountMax, sort, sortBy, sortOrder, options).then((request) => request(this.axios, this.basePath));
18622
19295
  }
18623
19296
  /**
18624
19297
  * Returns order details, list of payment transactions for that order, and the latest invoice if available. Does not expose raw gateway secrets.