@seekora-ai/admin-api 1.1.11 → 1.1.13

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.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;
25
+ 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.DataTypesUpdateStoreAccessRequestAccessLevelEnum = exports.DataTypesUpdatePluralDeclensionRequestTypeEnum = exports.DataTypesUpdateMemberRoleRequestMemberRoleEnum = exports.DataTypesStoreAccessRequestAccessLevelEnum = exports.DataTypesRefundCalculationRequestDtoRefundTypeEnum = exports.DataTypesRefundApprovalDtoActionEnum = exports.DataTypesProcessRefundRequestDtoRefundTypeEnum = exports.DataTypesInviteMemberRequestMemberRoleEnum = exports.DataTypesGrantStoreAccessRequestAccessLevelEnum = 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.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.AdminAnalyticsStoreXStoreIDQueriesNoResultsGetSortOrderEnum = exports.AdminAnalyticsStoreXStoreIDQueriesNoResultsGetSortByEnum = exports.AdminAnalyticsStoreXStoreIDQueriesNoResultsGetCompareTagsMatchModeEnum = exports.AdminAnalyticsStoreXStoreIDQueriesNoResultsGetTagsMatchModeEnum = exports.AdminAnalyticsStoreXStoreIDQueriesNoClicksGetSortOrderEnum = exports.AdminAnalyticsStoreXStoreIDQueriesNoClicksGetSortByEnum = exports.AdminAnalyticsStoreXStoreIDQueriesNoClicksGetCompareTagsMatchModeEnum = exports.AdminAnalyticsStoreXStoreIDQueriesNoClicksGetTagsMatchModeEnum = exports.AdminAnalyticsStoreXStoreIDQueriesGetSortOrderEnum = exports.AdminAnalyticsStoreXStoreIDQueriesGetSortByEnum = exports.AdminAnalyticsStoreXStoreIDQueriesGetCompareTagsMatchModeEnum = exports.AdminAnalyticsStoreXStoreIDQueriesGetTagsMatchModeEnum = exports.AdminAnalyticsStoreXStoreIDQueriesGetGranularityEnum = exports.AdminAnalyticsStoreXStoreIDKpiGetCompareTagsMatchModeEnum = exports.AdminAnalyticsStoreXStoreIDKpiGetTagsMatchModeEnum = exports.AdminAnalyticsStoreXStoreIDKpiGetGranularityEnum = exports.AdminAnalyticsStoreXStoreIDGeoInsightsGetCompareTagsMatchModeEnum = exports.AdminAnalyticsStoreXStoreIDGeoInsightsGetTagsMatchModeEnum = exports.AdminAnalyticsStoreXStoreIDGeoGetSortOrderEnum = exports.AdminAnalyticsStoreXStoreIDGeoGetSortByEnum = void 0;
27
+ 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 = exports.AdminBillingUsageDetailsGetGranularityEnum = exports.AdminBillingPaymentTransactionsGetSortOrderEnum = exports.AdminBillingPaymentTransactionsGetSortByEnum = exports.AdminBillingOrdersGetSortOrderEnum = exports.AdminBillingOrdersGetSortByEnum = exports.AdminBillingInvoicesGetSortOrderEnum = exports.AdminBillingInvoicesGetSortByEnum = exports.AdminBillingCreditTransactionsGetSortOrderEnum = exports.AdminBillingCreditTransactionsGetSortByEnum = exports.AdminBillingCreditPurchasesGetSortOrderEnum = exports.AdminBillingCreditPurchasesGetSortByEnum = exports.AdminBillingCreditLedgerGetSortOrderEnum = exports.AdminBillingCreditLedgerGetSortByEnum = exports.BillingDashboardApi = exports.BillingDashboardApiFactory = void 0;
28
+ 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 = 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 = void 0;
29
+ 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 = 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 = void 0;
30
+ exports.UserApi = exports.UserApiFactory = exports.UserApiFp = exports.UserApiAxiosParamCreator = exports.TeamApi = exports.TeamApiFactory = exports.TeamApiFp = exports.TeamApiAxiosParamCreator = exports.TaxManagementApi = exports.TaxManagementApiFactory = exports.TaxManagementApiFp = exports.TaxManagementApiAxiosParamCreator = exports.SubscriptionsApi = exports.SubscriptionsApiFactory = exports.SubscriptionsApiFp = exports.SubscriptionsApiAxiosParamCreator = exports.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 = void 0;
31
31
  const axios_1 = require("axios");
32
32
  // Some imports not used depending on template conditions
33
33
  // @ts-ignore
@@ -133,6 +133,15 @@ exports.DataTypesCreateTaskRequestTypeEnum = {
133
133
  Manual: 'manual',
134
134
  PluginConnector: 'plugin_connector'
135
135
  };
136
+ exports.DataTypesGrantStoreAccessRequestAccessLevelEnum = {
137
+ Read: 'read',
138
+ Write: 'write',
139
+ Admin: 'admin'
140
+ };
141
+ exports.DataTypesInviteMemberRequestMemberRoleEnum = {
142
+ Admin: 'admin',
143
+ Member: 'member'
144
+ };
136
145
  exports.DataTypesProcessRefundRequestDtoRefundTypeEnum = {
137
146
  Full: 'full',
138
147
  Partial: 'partial',
@@ -147,10 +156,25 @@ exports.DataTypesRefundCalculationRequestDtoRefundTypeEnum = {
147
156
  Partial: 'partial',
148
157
  RemainingCredits: 'remaining_credits'
149
158
  };
159
+ exports.DataTypesStoreAccessRequestAccessLevelEnum = {
160
+ Read: 'read',
161
+ Write: 'write',
162
+ Admin: 'admin'
163
+ };
164
+ exports.DataTypesUpdateMemberRoleRequestMemberRoleEnum = {
165
+ Owner: 'owner',
166
+ Admin: 'admin',
167
+ Member: 'member'
168
+ };
150
169
  exports.DataTypesUpdatePluralDeclensionRequestTypeEnum = {
151
170
  Custom: 'custom',
152
171
  Default: 'default'
153
172
  };
173
+ exports.DataTypesUpdateStoreAccessRequestAccessLevelEnum = {
174
+ Read: 'read',
175
+ Write: 'write',
176
+ Admin: 'admin'
177
+ };
154
178
  exports.DataTypesUpdateWordStatusRequestWordTypeEnum = {
155
179
  Default: 'default',
156
180
  StoreLanguage: 'store_language',
@@ -2300,145 +2324,6 @@ const AnalyticsApiAxiosParamCreator = function (configuration) {
2300
2324
  options: localVarRequestOptions,
2301
2325
  };
2302
2326
  }),
2303
- /**
2304
- * Retrieve comprehensive analytics for a specific search query including all core metrics (Searches, Results Shown, Clicks, CTR, Avg Result Rank, Avg Click Rank, Conversions, CVR, Conversion Rate per Search, No-Result Rate, No-Click Rate, Revenue), popular results, filters, click position histogram, geo analytics, and performance metrics with deep comparison mode support and independent pagination for popular results and filters
2305
- * @summary Get Query Insights
2306
- * @param {string} xStoreID Store ID
2307
- * @param {string} query Search query to analyze
2308
- * @param {string} [startTime] Start time in RFC3339 format
2309
- * @param {string} [endTime] End time in RFC3339 format
2310
- * @param {string} [analyticsTags] Comma-separated analytics tags to filter (e.g., \'campaign:summer,source:email\')
2311
- * @param {AdminAnalyticsStoreXStoreIDQueriesQueryInsightsGetTagsMatchModeEnum} [tagsMatchMode] How to match multiple analytics tags
2312
- * @param {string} [tagsExclude] Comma-separated analytics tags to exclude
2313
- * @param {string} [tagKeyFilter] Filter by tag key pattern (matches tags starting with key:)
2314
- * @param {string} [tagValueFilter] Filter by tag value pattern (matches tags ending with :value)
2315
- * @param {string} [search] Search term to filter popular results, filters, and geo analytics (case-insensitive partial match)
2316
- * @param {boolean} [compareMode] Enable comparison mode to compare with another time period/tag set
2317
- * @param {string} [compareStartTime] Comparison period start time in RFC3339 format
2318
- * @param {string} [compareEndTime] Comparison period end time in RFC3339 format
2319
- * @param {string} [compareAnalyticsTags] Comma-separated analytics tags for comparison period
2320
- * @param {AdminAnalyticsStoreXStoreIDQueriesQueryInsightsGetCompareTagsMatchModeEnum} [compareTagsMatchMode] How to match comparison analytics tags
2321
- * @param {string} [compareTagsExclude] Comma-separated analytics tags to exclude in comparison
2322
- * @param {string} [compareTagKeyFilter] Tag key filter for comparison period
2323
- * @param {string} [compareTagValueFilter] Tag value filter for comparison period
2324
- * @param {number} [resultsPage] Page number for popular results pagination
2325
- * @param {number} [resultsPageSize] Number of results per page for popular results
2326
- * @param {string} [resultsSearch] Search term to filter popular results (case-insensitive partial match on item IDs)
2327
- * @param {number} [filtersPage] Page number for popular filters pagination
2328
- * @param {number} [filtersPageSize] Number of filters per page
2329
- * @param {string} [filtersSearch] Search term to filter popular filters (case-insensitive partial match on filter keys/values)
2330
- * @param {number} [geoPage] Page number for geo analytics pagination
2331
- * @param {number} [geoPageSize] Number of geo locations per page
2332
- * @param {string} [geoSearch] Search term to filter geo analytics (case-insensitive partial match on country/region/city)
2333
- * @param {boolean} [includeWidget] Whether to include widget display fields for popular results
2334
- * @param {*} [options] Override http request option.
2335
- * @throws {RequiredError}
2336
- */
2337
- adminAnalyticsStoreXStoreIDQueriesQueryInsightsGet: (xStoreID_1, query_1, startTime_1, endTime_1, analyticsTags_1, tagsMatchMode_1, tagsExclude_1, tagKeyFilter_1, tagValueFilter_1, search_1, compareMode_1, compareStartTime_1, compareEndTime_1, compareAnalyticsTags_1, compareTagsMatchMode_1, compareTagsExclude_1, compareTagKeyFilter_1, compareTagValueFilter_1, resultsPage_1, resultsPageSize_1, resultsSearch_1, filtersPage_1, filtersPageSize_1, filtersSearch_1, geoPage_1, geoPageSize_1, geoSearch_1, includeWidget_1, ...args_1) => __awaiter(this, [xStoreID_1, query_1, startTime_1, endTime_1, analyticsTags_1, tagsMatchMode_1, tagsExclude_1, tagKeyFilter_1, tagValueFilter_1, search_1, compareMode_1, compareStartTime_1, compareEndTime_1, compareAnalyticsTags_1, compareTagsMatchMode_1, compareTagsExclude_1, compareTagKeyFilter_1, compareTagValueFilter_1, resultsPage_1, resultsPageSize_1, resultsSearch_1, filtersPage_1, filtersPageSize_1, filtersSearch_1, geoPage_1, geoPageSize_1, geoSearch_1, includeWidget_1, ...args_1], void 0, function* (xStoreID, query, startTime, endTime, analyticsTags, tagsMatchMode, tagsExclude, tagKeyFilter, tagValueFilter, search, compareMode, compareStartTime, compareEndTime, compareAnalyticsTags, compareTagsMatchMode, compareTagsExclude, compareTagKeyFilter, compareTagValueFilter, resultsPage, resultsPageSize, resultsSearch, filtersPage, filtersPageSize, filtersSearch, geoPage, geoPageSize, geoSearch, includeWidget, options = {}) {
2338
- // verify required parameter 'xStoreID' is not null or undefined
2339
- (0, common_1.assertParamExists)('adminAnalyticsStoreXStoreIDQueriesQueryInsightsGet', 'xStoreID', xStoreID);
2340
- // verify required parameter 'query' is not null or undefined
2341
- (0, common_1.assertParamExists)('adminAnalyticsStoreXStoreIDQueriesQueryInsightsGet', 'query', query);
2342
- const localVarPath = `/admin/analytics/store/{xStoreID}/queries/{query}/insights`
2343
- .replace(`{${"xStoreID"}}`, encodeURIComponent(String(xStoreID)))
2344
- .replace(`{${"query"}}`, encodeURIComponent(String(query)));
2345
- // use dummy base URL string because the URL constructor only accepts absolute URLs.
2346
- const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
2347
- let baseOptions;
2348
- if (configuration) {
2349
- baseOptions = configuration.baseOptions;
2350
- }
2351
- const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
2352
- const localVarHeaderParameter = {};
2353
- const localVarQueryParameter = {};
2354
- // authentication BearerAuth required
2355
- yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Authorization", configuration);
2356
- if (startTime !== undefined) {
2357
- localVarQueryParameter['start_time'] = startTime;
2358
- }
2359
- if (endTime !== undefined) {
2360
- localVarQueryParameter['end_time'] = endTime;
2361
- }
2362
- if (analyticsTags !== undefined) {
2363
- localVarQueryParameter['analytics_tags'] = analyticsTags;
2364
- }
2365
- if (tagsMatchMode !== undefined) {
2366
- localVarQueryParameter['tags_match_mode'] = tagsMatchMode;
2367
- }
2368
- if (tagsExclude !== undefined) {
2369
- localVarQueryParameter['tags_exclude'] = tagsExclude;
2370
- }
2371
- if (tagKeyFilter !== undefined) {
2372
- localVarQueryParameter['tag_key_filter'] = tagKeyFilter;
2373
- }
2374
- if (tagValueFilter !== undefined) {
2375
- localVarQueryParameter['tag_value_filter'] = tagValueFilter;
2376
- }
2377
- if (search !== undefined) {
2378
- localVarQueryParameter['search'] = search;
2379
- }
2380
- if (compareMode !== undefined) {
2381
- localVarQueryParameter['compare_mode'] = compareMode;
2382
- }
2383
- if (compareStartTime !== undefined) {
2384
- localVarQueryParameter['compare_start_time'] = compareStartTime;
2385
- }
2386
- if (compareEndTime !== undefined) {
2387
- localVarQueryParameter['compare_end_time'] = compareEndTime;
2388
- }
2389
- if (compareAnalyticsTags !== undefined) {
2390
- localVarQueryParameter['compare_analytics_tags'] = compareAnalyticsTags;
2391
- }
2392
- if (compareTagsMatchMode !== undefined) {
2393
- localVarQueryParameter['compare_tags_match_mode'] = compareTagsMatchMode;
2394
- }
2395
- if (compareTagsExclude !== undefined) {
2396
- localVarQueryParameter['compare_tags_exclude'] = compareTagsExclude;
2397
- }
2398
- if (compareTagKeyFilter !== undefined) {
2399
- localVarQueryParameter['compare_tag_key_filter'] = compareTagKeyFilter;
2400
- }
2401
- if (compareTagValueFilter !== undefined) {
2402
- localVarQueryParameter['compare_tag_value_filter'] = compareTagValueFilter;
2403
- }
2404
- if (resultsPage !== undefined) {
2405
- localVarQueryParameter['results_page'] = resultsPage;
2406
- }
2407
- if (resultsPageSize !== undefined) {
2408
- localVarQueryParameter['results_page_size'] = resultsPageSize;
2409
- }
2410
- if (resultsSearch !== undefined) {
2411
- localVarQueryParameter['results_search'] = resultsSearch;
2412
- }
2413
- if (filtersPage !== undefined) {
2414
- localVarQueryParameter['filters_page'] = filtersPage;
2415
- }
2416
- if (filtersPageSize !== undefined) {
2417
- localVarQueryParameter['filters_page_size'] = filtersPageSize;
2418
- }
2419
- if (filtersSearch !== undefined) {
2420
- localVarQueryParameter['filters_search'] = filtersSearch;
2421
- }
2422
- if (geoPage !== undefined) {
2423
- localVarQueryParameter['geo_page'] = geoPage;
2424
- }
2425
- if (geoPageSize !== undefined) {
2426
- localVarQueryParameter['geo_page_size'] = geoPageSize;
2427
- }
2428
- if (geoSearch !== undefined) {
2429
- localVarQueryParameter['geo_search'] = geoSearch;
2430
- }
2431
- if (includeWidget !== undefined) {
2432
- localVarQueryParameter['include_widget'] = includeWidget;
2433
- }
2434
- (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
2435
- let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
2436
- localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
2437
- return {
2438
- url: (0, common_1.toPathString)(localVarUrlObj),
2439
- options: localVarRequestOptions,
2440
- };
2441
- }),
2442
2327
  /**
2443
2328
  * Retrieve analytics for top performing search results with optional enrichment. By default returns widget display fields for UI presentation. Use include_documents=true for full document data (heavier response). Supports lightweight widget-only mode for dashboards with analytics tags filtering and comparison mode support.
2444
2329
  * @summary Get Top Results Analytics
@@ -3251,49 +3136,6 @@ const AnalyticsApiFp = function (configuration) {
3251
3136
  return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
3252
3137
  });
3253
3138
  },
3254
- /**
3255
- * Retrieve comprehensive analytics for a specific search query including all core metrics (Searches, Results Shown, Clicks, CTR, Avg Result Rank, Avg Click Rank, Conversions, CVR, Conversion Rate per Search, No-Result Rate, No-Click Rate, Revenue), popular results, filters, click position histogram, geo analytics, and performance metrics with deep comparison mode support and independent pagination for popular results and filters
3256
- * @summary Get Query Insights
3257
- * @param {string} xStoreID Store ID
3258
- * @param {string} query Search query to analyze
3259
- * @param {string} [startTime] Start time in RFC3339 format
3260
- * @param {string} [endTime] End time in RFC3339 format
3261
- * @param {string} [analyticsTags] Comma-separated analytics tags to filter (e.g., \'campaign:summer,source:email\')
3262
- * @param {AdminAnalyticsStoreXStoreIDQueriesQueryInsightsGetTagsMatchModeEnum} [tagsMatchMode] How to match multiple analytics tags
3263
- * @param {string} [tagsExclude] Comma-separated analytics tags to exclude
3264
- * @param {string} [tagKeyFilter] Filter by tag key pattern (matches tags starting with key:)
3265
- * @param {string} [tagValueFilter] Filter by tag value pattern (matches tags ending with :value)
3266
- * @param {string} [search] Search term to filter popular results, filters, and geo analytics (case-insensitive partial match)
3267
- * @param {boolean} [compareMode] Enable comparison mode to compare with another time period/tag set
3268
- * @param {string} [compareStartTime] Comparison period start time in RFC3339 format
3269
- * @param {string} [compareEndTime] Comparison period end time in RFC3339 format
3270
- * @param {string} [compareAnalyticsTags] Comma-separated analytics tags for comparison period
3271
- * @param {AdminAnalyticsStoreXStoreIDQueriesQueryInsightsGetCompareTagsMatchModeEnum} [compareTagsMatchMode] How to match comparison analytics tags
3272
- * @param {string} [compareTagsExclude] Comma-separated analytics tags to exclude in comparison
3273
- * @param {string} [compareTagKeyFilter] Tag key filter for comparison period
3274
- * @param {string} [compareTagValueFilter] Tag value filter for comparison period
3275
- * @param {number} [resultsPage] Page number for popular results pagination
3276
- * @param {number} [resultsPageSize] Number of results per page for popular results
3277
- * @param {string} [resultsSearch] Search term to filter popular results (case-insensitive partial match on item IDs)
3278
- * @param {number} [filtersPage] Page number for popular filters pagination
3279
- * @param {number} [filtersPageSize] Number of filters per page
3280
- * @param {string} [filtersSearch] Search term to filter popular filters (case-insensitive partial match on filter keys/values)
3281
- * @param {number} [geoPage] Page number for geo analytics pagination
3282
- * @param {number} [geoPageSize] Number of geo locations per page
3283
- * @param {string} [geoSearch] Search term to filter geo analytics (case-insensitive partial match on country/region/city)
3284
- * @param {boolean} [includeWidget] Whether to include widget display fields for popular results
3285
- * @param {*} [options] Override http request option.
3286
- * @throws {RequiredError}
3287
- */
3288
- adminAnalyticsStoreXStoreIDQueriesQueryInsightsGet(xStoreID, query, startTime, endTime, analyticsTags, tagsMatchMode, tagsExclude, tagKeyFilter, tagValueFilter, search, compareMode, compareStartTime, compareEndTime, compareAnalyticsTags, compareTagsMatchMode, compareTagsExclude, compareTagKeyFilter, compareTagValueFilter, resultsPage, resultsPageSize, resultsSearch, filtersPage, filtersPageSize, filtersSearch, geoPage, geoPageSize, geoSearch, includeWidget, options) {
3289
- return __awaiter(this, void 0, void 0, function* () {
3290
- var _a, _b, _c;
3291
- const localVarAxiosArgs = yield localVarAxiosParamCreator.adminAnalyticsStoreXStoreIDQueriesQueryInsightsGet(xStoreID, query, startTime, endTime, analyticsTags, tagsMatchMode, tagsExclude, tagKeyFilter, tagValueFilter, search, compareMode, compareStartTime, compareEndTime, compareAnalyticsTags, compareTagsMatchMode, compareTagsExclude, compareTagKeyFilter, compareTagValueFilter, resultsPage, resultsPageSize, resultsSearch, filtersPage, filtersPageSize, filtersSearch, geoPage, geoPageSize, geoSearch, includeWidget, options);
3292
- const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
3293
- const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['AnalyticsApi.adminAnalyticsStoreXStoreIDQueriesQueryInsightsGet']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
3294
- return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
3295
- });
3296
- },
3297
3139
  /**
3298
3140
  * Retrieve analytics for top performing search results with optional enrichment. By default returns widget display fields for UI presentation. Use include_documents=true for full document data (heavier response). Supports lightweight widget-only mode for dashboards with analytics tags filtering and comparison mode support.
3299
3141
  * @summary Get Top Results Analytics
@@ -3771,43 +3613,6 @@ const AnalyticsApiFactory = function (configuration, basePath, axios) {
3771
3613
  adminAnalyticsStoreXStoreIDQueriesNoResultsGet(xStoreID, startTime, endTime, search, analyticsTags, tagsMatchMode, tagsExclude, tagKeyFilter, tagValueFilter, compareMode, compareStartTime, compareEndTime, compareAnalyticsTags, compareTagsMatchMode, compareTagsExclude, compareTagKeyFilter, compareTagValueFilter, limit, offset, page, pageSize, sortBy, sortOrder, sort, options) {
3772
3614
  return localVarFp.adminAnalyticsStoreXStoreIDQueriesNoResultsGet(xStoreID, startTime, endTime, search, analyticsTags, tagsMatchMode, tagsExclude, tagKeyFilter, tagValueFilter, compareMode, compareStartTime, compareEndTime, compareAnalyticsTags, compareTagsMatchMode, compareTagsExclude, compareTagKeyFilter, compareTagValueFilter, limit, offset, page, pageSize, sortBy, sortOrder, sort, options).then((request) => request(axios, basePath));
3773
3615
  },
3774
- /**
3775
- * Retrieve comprehensive analytics for a specific search query including all core metrics (Searches, Results Shown, Clicks, CTR, Avg Result Rank, Avg Click Rank, Conversions, CVR, Conversion Rate per Search, No-Result Rate, No-Click Rate, Revenue), popular results, filters, click position histogram, geo analytics, and performance metrics with deep comparison mode support and independent pagination for popular results and filters
3776
- * @summary Get Query Insights
3777
- * @param {string} xStoreID Store ID
3778
- * @param {string} query Search query to analyze
3779
- * @param {string} [startTime] Start time in RFC3339 format
3780
- * @param {string} [endTime] End time in RFC3339 format
3781
- * @param {string} [analyticsTags] Comma-separated analytics tags to filter (e.g., \'campaign:summer,source:email\')
3782
- * @param {AdminAnalyticsStoreXStoreIDQueriesQueryInsightsGetTagsMatchModeEnum} [tagsMatchMode] How to match multiple analytics tags
3783
- * @param {string} [tagsExclude] Comma-separated analytics tags to exclude
3784
- * @param {string} [tagKeyFilter] Filter by tag key pattern (matches tags starting with key:)
3785
- * @param {string} [tagValueFilter] Filter by tag value pattern (matches tags ending with :value)
3786
- * @param {string} [search] Search term to filter popular results, filters, and geo analytics (case-insensitive partial match)
3787
- * @param {boolean} [compareMode] Enable comparison mode to compare with another time period/tag set
3788
- * @param {string} [compareStartTime] Comparison period start time in RFC3339 format
3789
- * @param {string} [compareEndTime] Comparison period end time in RFC3339 format
3790
- * @param {string} [compareAnalyticsTags] Comma-separated analytics tags for comparison period
3791
- * @param {AdminAnalyticsStoreXStoreIDQueriesQueryInsightsGetCompareTagsMatchModeEnum} [compareTagsMatchMode] How to match comparison analytics tags
3792
- * @param {string} [compareTagsExclude] Comma-separated analytics tags to exclude in comparison
3793
- * @param {string} [compareTagKeyFilter] Tag key filter for comparison period
3794
- * @param {string} [compareTagValueFilter] Tag value filter for comparison period
3795
- * @param {number} [resultsPage] Page number for popular results pagination
3796
- * @param {number} [resultsPageSize] Number of results per page for popular results
3797
- * @param {string} [resultsSearch] Search term to filter popular results (case-insensitive partial match on item IDs)
3798
- * @param {number} [filtersPage] Page number for popular filters pagination
3799
- * @param {number} [filtersPageSize] Number of filters per page
3800
- * @param {string} [filtersSearch] Search term to filter popular filters (case-insensitive partial match on filter keys/values)
3801
- * @param {number} [geoPage] Page number for geo analytics pagination
3802
- * @param {number} [geoPageSize] Number of geo locations per page
3803
- * @param {string} [geoSearch] Search term to filter geo analytics (case-insensitive partial match on country/region/city)
3804
- * @param {boolean} [includeWidget] Whether to include widget display fields for popular results
3805
- * @param {*} [options] Override http request option.
3806
- * @throws {RequiredError}
3807
- */
3808
- adminAnalyticsStoreXStoreIDQueriesQueryInsightsGet(xStoreID, query, startTime, endTime, analyticsTags, tagsMatchMode, tagsExclude, tagKeyFilter, tagValueFilter, search, compareMode, compareStartTime, compareEndTime, compareAnalyticsTags, compareTagsMatchMode, compareTagsExclude, compareTagKeyFilter, compareTagValueFilter, resultsPage, resultsPageSize, resultsSearch, filtersPage, filtersPageSize, filtersSearch, geoPage, geoPageSize, geoSearch, includeWidget, options) {
3809
- return localVarFp.adminAnalyticsStoreXStoreIDQueriesQueryInsightsGet(xStoreID, query, startTime, endTime, analyticsTags, tagsMatchMode, tagsExclude, tagKeyFilter, tagValueFilter, search, compareMode, compareStartTime, compareEndTime, compareAnalyticsTags, compareTagsMatchMode, compareTagsExclude, compareTagKeyFilter, compareTagValueFilter, resultsPage, resultsPageSize, resultsSearch, filtersPage, filtersPageSize, filtersSearch, geoPage, geoPageSize, geoSearch, includeWidget, options).then((request) => request(axios, basePath));
3810
- },
3811
3616
  /**
3812
3617
  * Retrieve analytics for top performing search results with optional enrichment. By default returns widget display fields for UI presentation. Use include_documents=true for full document data (heavier response). Supports lightweight widget-only mode for dashboards with analytics tags filtering and comparison mode support.
3813
3618
  * @summary Get Top Results Analytics
@@ -4269,44 +4074,6 @@ class AnalyticsApi extends base_1.BaseAPI {
4269
4074
  adminAnalyticsStoreXStoreIDQueriesNoResultsGet(xStoreID, startTime, endTime, search, analyticsTags, tagsMatchMode, tagsExclude, tagKeyFilter, tagValueFilter, compareMode, compareStartTime, compareEndTime, compareAnalyticsTags, compareTagsMatchMode, compareTagsExclude, compareTagKeyFilter, compareTagValueFilter, limit, offset, page, pageSize, sortBy, sortOrder, sort, options) {
4270
4075
  return (0, exports.AnalyticsApiFp)(this.configuration).adminAnalyticsStoreXStoreIDQueriesNoResultsGet(xStoreID, startTime, endTime, search, analyticsTags, tagsMatchMode, tagsExclude, tagKeyFilter, tagValueFilter, compareMode, compareStartTime, compareEndTime, compareAnalyticsTags, compareTagsMatchMode, compareTagsExclude, compareTagKeyFilter, compareTagValueFilter, limit, offset, page, pageSize, sortBy, sortOrder, sort, options).then((request) => request(this.axios, this.basePath));
4271
4076
  }
4272
- /**
4273
- * Retrieve comprehensive analytics for a specific search query including all core metrics (Searches, Results Shown, Clicks, CTR, Avg Result Rank, Avg Click Rank, Conversions, CVR, Conversion Rate per Search, No-Result Rate, No-Click Rate, Revenue), popular results, filters, click position histogram, geo analytics, and performance metrics with deep comparison mode support and independent pagination for popular results and filters
4274
- * @summary Get Query Insights
4275
- * @param {string} xStoreID Store ID
4276
- * @param {string} query Search query to analyze
4277
- * @param {string} [startTime] Start time in RFC3339 format
4278
- * @param {string} [endTime] End time in RFC3339 format
4279
- * @param {string} [analyticsTags] Comma-separated analytics tags to filter (e.g., \'campaign:summer,source:email\')
4280
- * @param {AdminAnalyticsStoreXStoreIDQueriesQueryInsightsGetTagsMatchModeEnum} [tagsMatchMode] How to match multiple analytics tags
4281
- * @param {string} [tagsExclude] Comma-separated analytics tags to exclude
4282
- * @param {string} [tagKeyFilter] Filter by tag key pattern (matches tags starting with key:)
4283
- * @param {string} [tagValueFilter] Filter by tag value pattern (matches tags ending with :value)
4284
- * @param {string} [search] Search term to filter popular results, filters, and geo analytics (case-insensitive partial match)
4285
- * @param {boolean} [compareMode] Enable comparison mode to compare with another time period/tag set
4286
- * @param {string} [compareStartTime] Comparison period start time in RFC3339 format
4287
- * @param {string} [compareEndTime] Comparison period end time in RFC3339 format
4288
- * @param {string} [compareAnalyticsTags] Comma-separated analytics tags for comparison period
4289
- * @param {AdminAnalyticsStoreXStoreIDQueriesQueryInsightsGetCompareTagsMatchModeEnum} [compareTagsMatchMode] How to match comparison analytics tags
4290
- * @param {string} [compareTagsExclude] Comma-separated analytics tags to exclude in comparison
4291
- * @param {string} [compareTagKeyFilter] Tag key filter for comparison period
4292
- * @param {string} [compareTagValueFilter] Tag value filter for comparison period
4293
- * @param {number} [resultsPage] Page number for popular results pagination
4294
- * @param {number} [resultsPageSize] Number of results per page for popular results
4295
- * @param {string} [resultsSearch] Search term to filter popular results (case-insensitive partial match on item IDs)
4296
- * @param {number} [filtersPage] Page number for popular filters pagination
4297
- * @param {number} [filtersPageSize] Number of filters per page
4298
- * @param {string} [filtersSearch] Search term to filter popular filters (case-insensitive partial match on filter keys/values)
4299
- * @param {number} [geoPage] Page number for geo analytics pagination
4300
- * @param {number} [geoPageSize] Number of geo locations per page
4301
- * @param {string} [geoSearch] Search term to filter geo analytics (case-insensitive partial match on country/region/city)
4302
- * @param {boolean} [includeWidget] Whether to include widget display fields for popular results
4303
- * @param {*} [options] Override http request option.
4304
- * @throws {RequiredError}
4305
- * @memberof AnalyticsApi
4306
- */
4307
- adminAnalyticsStoreXStoreIDQueriesQueryInsightsGet(xStoreID, query, startTime, endTime, analyticsTags, tagsMatchMode, tagsExclude, tagKeyFilter, tagValueFilter, search, compareMode, compareStartTime, compareEndTime, compareAnalyticsTags, compareTagsMatchMode, compareTagsExclude, compareTagKeyFilter, compareTagValueFilter, resultsPage, resultsPageSize, resultsSearch, filtersPage, filtersPageSize, filtersSearch, geoPage, geoPageSize, geoSearch, includeWidget, options) {
4308
- return (0, exports.AnalyticsApiFp)(this.configuration).adminAnalyticsStoreXStoreIDQueriesQueryInsightsGet(xStoreID, query, startTime, endTime, analyticsTags, tagsMatchMode, tagsExclude, tagKeyFilter, tagValueFilter, search, compareMode, compareStartTime, compareEndTime, compareAnalyticsTags, compareTagsMatchMode, compareTagsExclude, compareTagKeyFilter, compareTagValueFilter, resultsPage, resultsPageSize, resultsSearch, filtersPage, filtersPageSize, filtersSearch, geoPage, geoPageSize, geoSearch, includeWidget, options).then((request) => request(this.axios, this.basePath));
4309
- }
4310
4077
  /**
4311
4078
  * Retrieve analytics for top performing search results with optional enrichment. By default returns widget display fields for UI presentation. Use include_documents=true for full document data (heavier response). Supports lightweight widget-only mode for dashboards with analytics tags filtering and comparison mode support.
4312
4079
  * @summary Get Top Results Analytics
@@ -4696,20 +4463,6 @@ exports.AdminAnalyticsStoreXStoreIDQueriesNoResultsGetSortOrderEnum = {
4696
4463
  Asc: 'asc',
4697
4464
  Desc: 'desc'
4698
4465
  };
4699
- /**
4700
- * @export
4701
- */
4702
- exports.AdminAnalyticsStoreXStoreIDQueriesQueryInsightsGetTagsMatchModeEnum = {
4703
- Any: 'any',
4704
- All: 'all'
4705
- };
4706
- /**
4707
- * @export
4708
- */
4709
- exports.AdminAnalyticsStoreXStoreIDQueriesQueryInsightsGetCompareTagsMatchModeEnum = {
4710
- Any: 'any',
4711
- All: 'all'
4712
- };
4713
4466
  /**
4714
4467
  * @export
4715
4468
  */
@@ -7637,8 +7390,8 @@ const BillingDashboardApiAxiosParamCreator = function (configuration) {
7637
7390
  * @param {number} [pageSize] Page size (default: 50, max: 100)
7638
7391
  * @param {number} [limit] Alternative: Number of results per page (default: 50, max: 100)
7639
7392
  * @param {number} [offset] Alternative: Number of results to skip (default: 0)
7640
- * @param {string} [sortBy] Field to sort by (id, credits, transaction_date, transaction_type) (default: transaction_date)
7641
- * @param {string} [sortOrder] Sort order (ASC, DESC) (default: DESC)
7393
+ * @param {AdminBillingCreditLedgerGetSortByEnum} [sortBy] Field to sort by
7394
+ * @param {AdminBillingCreditLedgerGetSortOrderEnum} [sortOrder] Sort direction
7642
7395
  * @param {*} [options] Override http request option.
7643
7396
  * @throws {RequiredError}
7644
7397
  */
@@ -7700,8 +7453,8 @@ const BillingDashboardApiAxiosParamCreator = function (configuration) {
7700
7453
  * @param {number} [pageSize] Page size (default: 50, max: 100)
7701
7454
  * @param {number} [limit] Alternative: Number of results per page (default: 50, max: 100)
7702
7455
  * @param {number} [offset] Alternative: Number of results to skip (default: 0)
7703
- * @param {string} [sortBy] Field to sort by (id, amount, created_at, credits_purchased) (default: created_at)
7704
- * @param {string} [sortOrder] Sort order (ASC, DESC) (default: DESC)
7456
+ * @param {AdminBillingCreditPurchasesGetSortByEnum} [sortBy] Field to sort by
7457
+ * @param {AdminBillingCreditPurchasesGetSortOrderEnum} [sortOrder] Sort direction
7705
7458
  * @param {*} [options] Override http request option.
7706
7459
  * @throws {RequiredError}
7707
7460
  */
@@ -7763,8 +7516,8 @@ const BillingDashboardApiAxiosParamCreator = function (configuration) {
7763
7516
  * @param {number} [pageSize] Page size (default: 50, max: 100)
7764
7517
  * @param {number} [limit] Alternative: Number of results per page (default: 50, max: 100)
7765
7518
  * @param {number} [offset] Alternative: Number of results to skip (default: 0)
7766
- * @param {string} [sortBy] Field to sort by (id, credits_used, transaction_date, transaction_type) (default: transaction_date)
7767
- * @param {string} [sortOrder] Sort order (ASC, DESC) (default: DESC)
7519
+ * @param {AdminBillingCreditTransactionsGetSortByEnum} [sortBy] Field to sort by
7520
+ * @param {AdminBillingCreditTransactionsGetSortOrderEnum} [sortOrder] Sort direction
7768
7521
  * @param {*} [options] Override http request option.
7769
7522
  * @throws {RequiredError}
7770
7523
  */
@@ -7916,8 +7669,8 @@ const BillingDashboardApiAxiosParamCreator = function (configuration) {
7916
7669
  * @param {number} [page] Page number (default: 1)
7917
7670
  * @param {number} [pageSize] Number of results per page (default: 20, max: 100) - alternative to limit
7918
7671
  * @param {number} [limit] Number of results per page (default: 20, max: 100) - alternative to page_size
7919
- * @param {string} [sortBy] Field to sort by (id, amount, created_at, due_date, status) (default: created_at)
7920
- * @param {string} [sortOrder] Sort order (ASC, DESC) (default: DESC)
7672
+ * @param {AdminBillingInvoicesGetSortByEnum} [sortBy] Field to sort by
7673
+ * @param {AdminBillingInvoicesGetSortOrderEnum} [sortOrder] Sort direction
7921
7674
  * @param {*} [options] Override http request option.
7922
7675
  * @throws {RequiredError}
7923
7676
  */
@@ -8144,8 +7897,8 @@ const BillingDashboardApiAxiosParamCreator = function (configuration) {
8144
7897
  * @param {number} [page] Page number (default: 1)
8145
7898
  * @param {number} [pageSize] Page size (default: 50, max: 100)
8146
7899
  * @param {number} [limit] Alternative: Number of results per page (default: 50, max: 100)
8147
- * @param {string} [sortBy] Field to sort by (id, amount, created_at, updated_at, status) (default: created_at)
8148
- * @param {string} [sortOrder] Sort order (ASC, DESC) (default: DESC)
7900
+ * @param {AdminBillingOrdersGetSortByEnum} [sortBy] Field to sort by
7901
+ * @param {AdminBillingOrdersGetSortOrderEnum} [sortOrder] Sort direction
8149
7902
  * @param {string} [search] Search in order ID, gateway order ID, gateway payment ID
8150
7903
  * @param {string} [status] Filter by order status (created, paid, failed, refunded)
8151
7904
  * @param {string} [gateway] Filter by payment gateway (razorpay, stripe, etc.)
@@ -8391,8 +8144,8 @@ const BillingDashboardApiAxiosParamCreator = function (configuration) {
8391
8144
  * @param {number} [pageSize] Page size (default: 50, max: 100)
8392
8145
  * @param {number} [limit] Alternative: Number of results per page (default: 50, max: 100)
8393
8146
  * @param {number} [offset] Alternative: Number of results to skip (default: 0)
8394
- * @param {string} [sortBy] Field to sort by (payment_id, amount, payment_date, created_at, payment_status, gateway, refund_amount) (default: payment_date)
8395
- * @param {string} [sortOrder] Sort order (ASC, DESC) (default: DESC)
8147
+ * @param {AdminBillingPaymentTransactionsGetSortByEnum} [sortBy] Field to sort by
8148
+ * @param {AdminBillingPaymentTransactionsGetSortOrderEnum} [sortOrder] Sort direction
8396
8149
  * @param {*} [options] Override http request option.
8397
8150
  * @throws {RequiredError}
8398
8151
  */
@@ -8826,8 +8579,8 @@ const BillingDashboardApiFp = function (configuration) {
8826
8579
  * @param {number} [pageSize] Page size (default: 50, max: 100)
8827
8580
  * @param {number} [limit] Alternative: Number of results per page (default: 50, max: 100)
8828
8581
  * @param {number} [offset] Alternative: Number of results to skip (default: 0)
8829
- * @param {string} [sortBy] Field to sort by (id, credits, transaction_date, transaction_type) (default: transaction_date)
8830
- * @param {string} [sortOrder] Sort order (ASC, DESC) (default: DESC)
8582
+ * @param {AdminBillingCreditLedgerGetSortByEnum} [sortBy] Field to sort by
8583
+ * @param {AdminBillingCreditLedgerGetSortOrderEnum} [sortOrder] Sort direction
8831
8584
  * @param {*} [options] Override http request option.
8832
8585
  * @throws {RequiredError}
8833
8586
  */
@@ -8850,8 +8603,8 @@ const BillingDashboardApiFp = function (configuration) {
8850
8603
  * @param {number} [pageSize] Page size (default: 50, max: 100)
8851
8604
  * @param {number} [limit] Alternative: Number of results per page (default: 50, max: 100)
8852
8605
  * @param {number} [offset] Alternative: Number of results to skip (default: 0)
8853
- * @param {string} [sortBy] Field to sort by (id, amount, created_at, credits_purchased) (default: created_at)
8854
- * @param {string} [sortOrder] Sort order (ASC, DESC) (default: DESC)
8606
+ * @param {AdminBillingCreditPurchasesGetSortByEnum} [sortBy] Field to sort by
8607
+ * @param {AdminBillingCreditPurchasesGetSortOrderEnum} [sortOrder] Sort direction
8855
8608
  * @param {*} [options] Override http request option.
8856
8609
  * @throws {RequiredError}
8857
8610
  */
@@ -8874,8 +8627,8 @@ const BillingDashboardApiFp = function (configuration) {
8874
8627
  * @param {number} [pageSize] Page size (default: 50, max: 100)
8875
8628
  * @param {number} [limit] Alternative: Number of results per page (default: 50, max: 100)
8876
8629
  * @param {number} [offset] Alternative: Number of results to skip (default: 0)
8877
- * @param {string} [sortBy] Field to sort by (id, credits_used, transaction_date, transaction_type) (default: transaction_date)
8878
- * @param {string} [sortOrder] Sort order (ASC, DESC) (default: DESC)
8630
+ * @param {AdminBillingCreditTransactionsGetSortByEnum} [sortBy] Field to sort by
8631
+ * @param {AdminBillingCreditTransactionsGetSortOrderEnum} [sortOrder] Sort direction
8879
8632
  * @param {*} [options] Override http request option.
8880
8633
  * @throws {RequiredError}
8881
8634
  */
@@ -8946,8 +8699,8 @@ const BillingDashboardApiFp = function (configuration) {
8946
8699
  * @param {number} [page] Page number (default: 1)
8947
8700
  * @param {number} [pageSize] Number of results per page (default: 20, max: 100) - alternative to limit
8948
8701
  * @param {number} [limit] Number of results per page (default: 20, max: 100) - alternative to page_size
8949
- * @param {string} [sortBy] Field to sort by (id, amount, created_at, due_date, status) (default: created_at)
8950
- * @param {string} [sortOrder] Sort order (ASC, DESC) (default: DESC)
8702
+ * @param {AdminBillingInvoicesGetSortByEnum} [sortBy] Field to sort by
8703
+ * @param {AdminBillingInvoicesGetSortOrderEnum} [sortOrder] Sort direction
8951
8704
  * @param {*} [options] Override http request option.
8952
8705
  * @throws {RequiredError}
8953
8706
  */
@@ -9051,8 +8804,8 @@ const BillingDashboardApiFp = function (configuration) {
9051
8804
  * @param {number} [page] Page number (default: 1)
9052
8805
  * @param {number} [pageSize] Page size (default: 50, max: 100)
9053
8806
  * @param {number} [limit] Alternative: Number of results per page (default: 50, max: 100)
9054
- * @param {string} [sortBy] Field to sort by (id, amount, created_at, updated_at, status) (default: created_at)
9055
- * @param {string} [sortOrder] Sort order (ASC, DESC) (default: DESC)
8807
+ * @param {AdminBillingOrdersGetSortByEnum} [sortBy] Field to sort by
8808
+ * @param {AdminBillingOrdersGetSortOrderEnum} [sortOrder] Sort direction
9056
8809
  * @param {string} [search] Search in order ID, gateway order ID, gateway payment ID
9057
8810
  * @param {string} [status] Filter by order status (created, paid, failed, refunded)
9058
8811
  * @param {string} [gateway] Filter by payment gateway (razorpay, stripe, etc.)
@@ -9163,8 +8916,8 @@ const BillingDashboardApiFp = function (configuration) {
9163
8916
  * @param {number} [pageSize] Page size (default: 50, max: 100)
9164
8917
  * @param {number} [limit] Alternative: Number of results per page (default: 50, max: 100)
9165
8918
  * @param {number} [offset] Alternative: Number of results to skip (default: 0)
9166
- * @param {string} [sortBy] Field to sort by (payment_id, amount, payment_date, created_at, payment_status, gateway, refund_amount) (default: payment_date)
9167
- * @param {string} [sortOrder] Sort order (ASC, DESC) (default: DESC)
8919
+ * @param {AdminBillingPaymentTransactionsGetSortByEnum} [sortBy] Field to sort by
8920
+ * @param {AdminBillingPaymentTransactionsGetSortOrderEnum} [sortOrder] Sort direction
9168
8921
  * @param {*} [options] Override http request option.
9169
8922
  * @throws {RequiredError}
9170
8923
  */
@@ -9388,8 +9141,8 @@ const BillingDashboardApiFactory = function (configuration, basePath, axios) {
9388
9141
  * @param {number} [pageSize] Page size (default: 50, max: 100)
9389
9142
  * @param {number} [limit] Alternative: Number of results per page (default: 50, max: 100)
9390
9143
  * @param {number} [offset] Alternative: Number of results to skip (default: 0)
9391
- * @param {string} [sortBy] Field to sort by (id, credits, transaction_date, transaction_type) (default: transaction_date)
9392
- * @param {string} [sortOrder] Sort order (ASC, DESC) (default: DESC)
9144
+ * @param {AdminBillingCreditLedgerGetSortByEnum} [sortBy] Field to sort by
9145
+ * @param {AdminBillingCreditLedgerGetSortOrderEnum} [sortOrder] Sort direction
9393
9146
  * @param {*} [options] Override http request option.
9394
9147
  * @throws {RequiredError}
9395
9148
  */
@@ -9406,8 +9159,8 @@ const BillingDashboardApiFactory = function (configuration, basePath, axios) {
9406
9159
  * @param {number} [pageSize] Page size (default: 50, max: 100)
9407
9160
  * @param {number} [limit] Alternative: Number of results per page (default: 50, max: 100)
9408
9161
  * @param {number} [offset] Alternative: Number of results to skip (default: 0)
9409
- * @param {string} [sortBy] Field to sort by (id, amount, created_at, credits_purchased) (default: created_at)
9410
- * @param {string} [sortOrder] Sort order (ASC, DESC) (default: DESC)
9162
+ * @param {AdminBillingCreditPurchasesGetSortByEnum} [sortBy] Field to sort by
9163
+ * @param {AdminBillingCreditPurchasesGetSortOrderEnum} [sortOrder] Sort direction
9411
9164
  * @param {*} [options] Override http request option.
9412
9165
  * @throws {RequiredError}
9413
9166
  */
@@ -9424,8 +9177,8 @@ const BillingDashboardApiFactory = function (configuration, basePath, axios) {
9424
9177
  * @param {number} [pageSize] Page size (default: 50, max: 100)
9425
9178
  * @param {number} [limit] Alternative: Number of results per page (default: 50, max: 100)
9426
9179
  * @param {number} [offset] Alternative: Number of results to skip (default: 0)
9427
- * @param {string} [sortBy] Field to sort by (id, credits_used, transaction_date, transaction_type) (default: transaction_date)
9428
- * @param {string} [sortOrder] Sort order (ASC, DESC) (default: DESC)
9180
+ * @param {AdminBillingCreditTransactionsGetSortByEnum} [sortBy] Field to sort by
9181
+ * @param {AdminBillingCreditTransactionsGetSortOrderEnum} [sortOrder] Sort direction
9429
9182
  * @param {*} [options] Override http request option.
9430
9183
  * @throws {RequiredError}
9431
9184
  */
@@ -9472,8 +9225,8 @@ const BillingDashboardApiFactory = function (configuration, basePath, axios) {
9472
9225
  * @param {number} [page] Page number (default: 1)
9473
9226
  * @param {number} [pageSize] Number of results per page (default: 20, max: 100) - alternative to limit
9474
9227
  * @param {number} [limit] Number of results per page (default: 20, max: 100) - alternative to page_size
9475
- * @param {string} [sortBy] Field to sort by (id, amount, created_at, due_date, status) (default: created_at)
9476
- * @param {string} [sortOrder] Sort order (ASC, DESC) (default: DESC)
9228
+ * @param {AdminBillingInvoicesGetSortByEnum} [sortBy] Field to sort by
9229
+ * @param {AdminBillingInvoicesGetSortOrderEnum} [sortOrder] Sort direction
9477
9230
  * @param {*} [options] Override http request option.
9478
9231
  * @throws {RequiredError}
9479
9232
  */
@@ -9541,8 +9294,8 @@ const BillingDashboardApiFactory = function (configuration, basePath, axios) {
9541
9294
  * @param {number} [page] Page number (default: 1)
9542
9295
  * @param {number} [pageSize] Page size (default: 50, max: 100)
9543
9296
  * @param {number} [limit] Alternative: Number of results per page (default: 50, max: 100)
9544
- * @param {string} [sortBy] Field to sort by (id, amount, created_at, updated_at, status) (default: created_at)
9545
- * @param {string} [sortOrder] Sort order (ASC, DESC) (default: DESC)
9297
+ * @param {AdminBillingOrdersGetSortByEnum} [sortBy] Field to sort by
9298
+ * @param {AdminBillingOrdersGetSortOrderEnum} [sortOrder] Sort direction
9546
9299
  * @param {string} [search] Search in order ID, gateway order ID, gateway payment ID
9547
9300
  * @param {string} [status] Filter by order status (created, paid, failed, refunded)
9548
9301
  * @param {string} [gateway] Filter by payment gateway (razorpay, stripe, etc.)
@@ -9617,8 +9370,8 @@ const BillingDashboardApiFactory = function (configuration, basePath, axios) {
9617
9370
  * @param {number} [pageSize] Page size (default: 50, max: 100)
9618
9371
  * @param {number} [limit] Alternative: Number of results per page (default: 50, max: 100)
9619
9372
  * @param {number} [offset] Alternative: Number of results to skip (default: 0)
9620
- * @param {string} [sortBy] Field to sort by (payment_id, amount, payment_date, created_at, payment_status, gateway, refund_amount) (default: payment_date)
9621
- * @param {string} [sortOrder] Sort order (ASC, DESC) (default: DESC)
9373
+ * @param {AdminBillingPaymentTransactionsGetSortByEnum} [sortBy] Field to sort by
9374
+ * @param {AdminBillingPaymentTransactionsGetSortOrderEnum} [sortOrder] Sort direction
9622
9375
  * @param {*} [options] Override http request option.
9623
9376
  * @throws {RequiredError}
9624
9377
  */
@@ -9800,8 +9553,8 @@ class BillingDashboardApi extends base_1.BaseAPI {
9800
9553
  * @param {number} [pageSize] Page size (default: 50, max: 100)
9801
9554
  * @param {number} [limit] Alternative: Number of results per page (default: 50, max: 100)
9802
9555
  * @param {number} [offset] Alternative: Number of results to skip (default: 0)
9803
- * @param {string} [sortBy] Field to sort by (id, credits, transaction_date, transaction_type) (default: transaction_date)
9804
- * @param {string} [sortOrder] Sort order (ASC, DESC) (default: DESC)
9556
+ * @param {AdminBillingCreditLedgerGetSortByEnum} [sortBy] Field to sort by
9557
+ * @param {AdminBillingCreditLedgerGetSortOrderEnum} [sortOrder] Sort direction
9805
9558
  * @param {*} [options] Override http request option.
9806
9559
  * @throws {RequiredError}
9807
9560
  * @memberof BillingDashboardApi
@@ -9819,8 +9572,8 @@ class BillingDashboardApi extends base_1.BaseAPI {
9819
9572
  * @param {number} [pageSize] Page size (default: 50, max: 100)
9820
9573
  * @param {number} [limit] Alternative: Number of results per page (default: 50, max: 100)
9821
9574
  * @param {number} [offset] Alternative: Number of results to skip (default: 0)
9822
- * @param {string} [sortBy] Field to sort by (id, amount, created_at, credits_purchased) (default: created_at)
9823
- * @param {string} [sortOrder] Sort order (ASC, DESC) (default: DESC)
9575
+ * @param {AdminBillingCreditPurchasesGetSortByEnum} [sortBy] Field to sort by
9576
+ * @param {AdminBillingCreditPurchasesGetSortOrderEnum} [sortOrder] Sort direction
9824
9577
  * @param {*} [options] Override http request option.
9825
9578
  * @throws {RequiredError}
9826
9579
  * @memberof BillingDashboardApi
@@ -9838,8 +9591,8 @@ class BillingDashboardApi extends base_1.BaseAPI {
9838
9591
  * @param {number} [pageSize] Page size (default: 50, max: 100)
9839
9592
  * @param {number} [limit] Alternative: Number of results per page (default: 50, max: 100)
9840
9593
  * @param {number} [offset] Alternative: Number of results to skip (default: 0)
9841
- * @param {string} [sortBy] Field to sort by (id, credits_used, transaction_date, transaction_type) (default: transaction_date)
9842
- * @param {string} [sortOrder] Sort order (ASC, DESC) (default: DESC)
9594
+ * @param {AdminBillingCreditTransactionsGetSortByEnum} [sortBy] Field to sort by
9595
+ * @param {AdminBillingCreditTransactionsGetSortOrderEnum} [sortOrder] Sort direction
9843
9596
  * @param {*} [options] Override http request option.
9844
9597
  * @throws {RequiredError}
9845
9598
  * @memberof BillingDashboardApi
@@ -9890,8 +9643,8 @@ class BillingDashboardApi extends base_1.BaseAPI {
9890
9643
  * @param {number} [page] Page number (default: 1)
9891
9644
  * @param {number} [pageSize] Number of results per page (default: 20, max: 100) - alternative to limit
9892
9645
  * @param {number} [limit] Number of results per page (default: 20, max: 100) - alternative to page_size
9893
- * @param {string} [sortBy] Field to sort by (id, amount, created_at, due_date, status) (default: created_at)
9894
- * @param {string} [sortOrder] Sort order (ASC, DESC) (default: DESC)
9646
+ * @param {AdminBillingInvoicesGetSortByEnum} [sortBy] Field to sort by
9647
+ * @param {AdminBillingInvoicesGetSortOrderEnum} [sortOrder] Sort direction
9895
9648
  * @param {*} [options] Override http request option.
9896
9649
  * @throws {RequiredError}
9897
9650
  * @memberof BillingDashboardApi
@@ -9965,8 +9718,8 @@ class BillingDashboardApi extends base_1.BaseAPI {
9965
9718
  * @param {number} [page] Page number (default: 1)
9966
9719
  * @param {number} [pageSize] Page size (default: 50, max: 100)
9967
9720
  * @param {number} [limit] Alternative: Number of results per page (default: 50, max: 100)
9968
- * @param {string} [sortBy] Field to sort by (id, amount, created_at, updated_at, status) (default: created_at)
9969
- * @param {string} [sortOrder] Sort order (ASC, DESC) (default: DESC)
9721
+ * @param {AdminBillingOrdersGetSortByEnum} [sortBy] Field to sort by
9722
+ * @param {AdminBillingOrdersGetSortOrderEnum} [sortOrder] Sort direction
9970
9723
  * @param {string} [search] Search in order ID, gateway order ID, gateway payment ID
9971
9724
  * @param {string} [status] Filter by order status (created, paid, failed, refunded)
9972
9725
  * @param {string} [gateway] Filter by payment gateway (razorpay, stripe, etc.)
@@ -10047,8 +9800,8 @@ class BillingDashboardApi extends base_1.BaseAPI {
10047
9800
  * @param {number} [pageSize] Page size (default: 50, max: 100)
10048
9801
  * @param {number} [limit] Alternative: Number of results per page (default: 50, max: 100)
10049
9802
  * @param {number} [offset] Alternative: Number of results to skip (default: 0)
10050
- * @param {string} [sortBy] Field to sort by (payment_id, amount, payment_date, created_at, payment_status, gateway, refund_amount) (default: payment_date)
10051
- * @param {string} [sortOrder] Sort order (ASC, DESC) (default: DESC)
9803
+ * @param {AdminBillingPaymentTransactionsGetSortByEnum} [sortBy] Field to sort by
9804
+ * @param {AdminBillingPaymentTransactionsGetSortOrderEnum} [sortOrder] Sort direction
10052
9805
  * @param {*} [options] Override http request option.
10053
9806
  * @throws {RequiredError}
10054
9807
  * @memberof BillingDashboardApi
@@ -10148,34 +9901,152 @@ exports.BillingDashboardApi = BillingDashboardApi;
10148
9901
  /**
10149
9902
  * @export
10150
9903
  */
10151
- exports.AdminBillingUsageDetailsGetGranularityEnum = {
10152
- Minute: 'minute',
10153
- Hour: 'hour',
10154
- Day: 'day',
10155
- Week: 'week',
10156
- Month: 'month'
9904
+ exports.AdminBillingCreditLedgerGetSortByEnum = {
9905
+ Id: 'id',
9906
+ Credits: 'credits',
9907
+ TransactionDate: 'transaction_date',
9908
+ TransactionType: 'transaction_type'
10157
9909
  };
10158
9910
  /**
10159
- * CommonApi - axios parameter creator
10160
9911
  * @export
10161
9912
  */
10162
- const CommonApiAxiosParamCreator = function (configuration) {
10163
- return {
10164
- /**
10165
- * Retrieve list of supported languages for query suggestions with language codes, names, and locales
10166
- * @summary Get Supported Languages
10167
- * @param {*} [options] Override http request option.
10168
- * @throws {RequiredError}
10169
- */
10170
- v1CommonLanguagesGet: (...args_1) => __awaiter(this, [...args_1], void 0, function* (options = {}) {
10171
- const localVarPath = `/v1/common/languages`;
10172
- // use dummy base URL string because the URL constructor only accepts absolute URLs.
10173
- const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
10174
- let baseOptions;
10175
- if (configuration) {
10176
- baseOptions = configuration.baseOptions;
10177
- }
10178
- const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
9913
+ exports.AdminBillingCreditLedgerGetSortOrderEnum = {
9914
+ Asc: 'asc',
9915
+ Desc: 'desc',
9916
+ Asc2: 'ASC',
9917
+ Desc2: 'DESC'
9918
+ };
9919
+ /**
9920
+ * @export
9921
+ */
9922
+ exports.AdminBillingCreditPurchasesGetSortByEnum = {
9923
+ Id: 'id',
9924
+ Amount: 'amount',
9925
+ CreatedAt: 'created_at',
9926
+ CreditsPurchased: 'credits_purchased'
9927
+ };
9928
+ /**
9929
+ * @export
9930
+ */
9931
+ exports.AdminBillingCreditPurchasesGetSortOrderEnum = {
9932
+ Asc: 'asc',
9933
+ Desc: 'desc',
9934
+ Asc2: 'ASC',
9935
+ Desc2: 'DESC'
9936
+ };
9937
+ /**
9938
+ * @export
9939
+ */
9940
+ exports.AdminBillingCreditTransactionsGetSortByEnum = {
9941
+ Id: 'id',
9942
+ CreditsUsed: 'credits_used',
9943
+ TransactionDate: 'transaction_date',
9944
+ TransactionType: 'transaction_type'
9945
+ };
9946
+ /**
9947
+ * @export
9948
+ */
9949
+ exports.AdminBillingCreditTransactionsGetSortOrderEnum = {
9950
+ Asc: 'asc',
9951
+ Desc: 'desc',
9952
+ Asc2: 'ASC',
9953
+ Desc2: 'DESC'
9954
+ };
9955
+ /**
9956
+ * @export
9957
+ */
9958
+ exports.AdminBillingInvoicesGetSortByEnum = {
9959
+ Id: 'id',
9960
+ InvoiceId: 'invoice_id',
9961
+ InvoiceNumber: 'invoice_number',
9962
+ Amount: 'amount',
9963
+ TotalAmount: 'total_amount',
9964
+ CreatedAt: 'created_at',
9965
+ IssueDate: 'issue_date',
9966
+ DueDate: 'due_date',
9967
+ PaidDate: 'paid_date',
9968
+ Status: 'status'
9969
+ };
9970
+ /**
9971
+ * @export
9972
+ */
9973
+ exports.AdminBillingInvoicesGetSortOrderEnum = {
9974
+ Asc: 'asc',
9975
+ Desc: 'desc',
9976
+ Asc2: 'ASC',
9977
+ Desc2: 'DESC'
9978
+ };
9979
+ /**
9980
+ * @export
9981
+ */
9982
+ exports.AdminBillingOrdersGetSortByEnum = {
9983
+ Id: 'id',
9984
+ Amount: 'amount',
9985
+ CreatedAt: 'created_at',
9986
+ UpdatedAt: 'updated_at',
9987
+ Status: 'status'
9988
+ };
9989
+ /**
9990
+ * @export
9991
+ */
9992
+ exports.AdminBillingOrdersGetSortOrderEnum = {
9993
+ Asc: 'asc',
9994
+ Desc: 'desc',
9995
+ Asc2: 'ASC',
9996
+ Desc2: 'DESC'
9997
+ };
9998
+ /**
9999
+ * @export
10000
+ */
10001
+ exports.AdminBillingPaymentTransactionsGetSortByEnum = {
10002
+ PaymentId: 'payment_id',
10003
+ Amount: 'amount',
10004
+ PaymentDate: 'payment_date',
10005
+ CreatedAt: 'created_at',
10006
+ PaymentStatus: 'payment_status',
10007
+ Gateway: 'gateway',
10008
+ RefundAmount: 'refund_amount'
10009
+ };
10010
+ /**
10011
+ * @export
10012
+ */
10013
+ exports.AdminBillingPaymentTransactionsGetSortOrderEnum = {
10014
+ Asc: 'asc',
10015
+ Desc: 'desc',
10016
+ Asc2: 'ASC',
10017
+ Desc2: 'DESC'
10018
+ };
10019
+ /**
10020
+ * @export
10021
+ */
10022
+ exports.AdminBillingUsageDetailsGetGranularityEnum = {
10023
+ Minute: 'minute',
10024
+ Hour: 'hour',
10025
+ Day: 'day',
10026
+ Week: 'week',
10027
+ Month: 'month'
10028
+ };
10029
+ /**
10030
+ * CommonApi - axios parameter creator
10031
+ * @export
10032
+ */
10033
+ const CommonApiAxiosParamCreator = function (configuration) {
10034
+ return {
10035
+ /**
10036
+ * Retrieve list of supported languages for query suggestions with language codes, names, and locales
10037
+ * @summary Get Supported Languages
10038
+ * @param {*} [options] Override http request option.
10039
+ * @throws {RequiredError}
10040
+ */
10041
+ v1CommonLanguagesGet: (...args_1) => __awaiter(this, [...args_1], void 0, function* (options = {}) {
10042
+ const localVarPath = `/v1/common/languages`;
10043
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
10044
+ const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
10045
+ let baseOptions;
10046
+ if (configuration) {
10047
+ baseOptions = configuration.baseOptions;
10048
+ }
10049
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
10179
10050
  const localVarHeaderParameter = {};
10180
10051
  const localVarQueryParameter = {};
10181
10052
  (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
@@ -14601,33 +14472,6 @@ const LimitsApiAxiosParamCreator = function (configuration) {
14601
14472
  options: localVarRequestOptions,
14602
14473
  };
14603
14474
  }),
14604
- /**
14605
- * Fetches list of all limits
14606
- * @summary Fetches list of all limits
14607
- * @param {*} [options] Override http request option.
14608
- * @throws {RequiredError}
14609
- */
14610
- miscLimitsGet: (...args_1) => __awaiter(this, [...args_1], void 0, function* (options = {}) {
14611
- const localVarPath = `/misc/limits`;
14612
- // use dummy base URL string because the URL constructor only accepts absolute URLs.
14613
- const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
14614
- let baseOptions;
14615
- if (configuration) {
14616
- baseOptions = configuration.baseOptions;
14617
- }
14618
- const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
14619
- const localVarHeaderParameter = {};
14620
- const localVarQueryParameter = {};
14621
- // authentication BearerAuth required
14622
- yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Authorization", configuration);
14623
- (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
14624
- let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
14625
- localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
14626
- return {
14627
- url: (0, common_1.toPathString)(localVarUrlObj),
14628
- options: localVarRequestOptions,
14629
- };
14630
- }),
14631
14475
  /**
14632
14476
  * Fetches limit by id
14633
14477
  * @summary Fetches limit by id
@@ -14754,21 +14598,6 @@ const LimitsApiFp = function (configuration) {
14754
14598
  return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
14755
14599
  });
14756
14600
  },
14757
- /**
14758
- * Fetches list of all limits
14759
- * @summary Fetches list of all limits
14760
- * @param {*} [options] Override http request option.
14761
- * @throws {RequiredError}
14762
- */
14763
- miscLimitsGet(options) {
14764
- return __awaiter(this, void 0, void 0, function* () {
14765
- var _a, _b, _c;
14766
- const localVarAxiosArgs = yield localVarAxiosParamCreator.miscLimitsGet(options);
14767
- const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
14768
- const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['LimitsApi.miscLimitsGet']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
14769
- return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
14770
- });
14771
- },
14772
14601
  /**
14773
14602
  * Fetches limit by id
14774
14603
  * @summary Fetches limit by id
@@ -14839,15 +14668,6 @@ const LimitsApiFactory = function (configuration, basePath, axios) {
14839
14668
  miscLimitsChangeStatusLimitIDIsActivePut(limitID, isActive, options) {
14840
14669
  return localVarFp.miscLimitsChangeStatusLimitIDIsActivePut(limitID, isActive, options).then((request) => request(axios, basePath));
14841
14670
  },
14842
- /**
14843
- * Fetches list of all limits
14844
- * @summary Fetches list of all limits
14845
- * @param {*} [options] Override http request option.
14846
- * @throws {RequiredError}
14847
- */
14848
- miscLimitsGet(options) {
14849
- return localVarFp.miscLimitsGet(options).then((request) => request(axios, basePath));
14850
- },
14851
14671
  /**
14852
14672
  * Fetches limit by id
14853
14673
  * @summary Fetches limit by id
@@ -14901,16 +14721,6 @@ class LimitsApi extends base_1.BaseAPI {
14901
14721
  miscLimitsChangeStatusLimitIDIsActivePut(limitID, isActive, options) {
14902
14722
  return (0, exports.LimitsApiFp)(this.configuration).miscLimitsChangeStatusLimitIDIsActivePut(limitID, isActive, options).then((request) => request(this.axios, this.basePath));
14903
14723
  }
14904
- /**
14905
- * Fetches list of all limits
14906
- * @summary Fetches list of all limits
14907
- * @param {*} [options] Override http request option.
14908
- * @throws {RequiredError}
14909
- * @memberof LimitsApi
14910
- */
14911
- miscLimitsGet(options) {
14912
- return (0, exports.LimitsApiFp)(this.configuration).miscLimitsGet(options).then((request) => request(this.axios, this.basePath));
14913
- }
14914
14724
  /**
14915
14725
  * Fetches limit by id
14916
14726
  * @summary Fetches limit by id
@@ -14953,33 +14763,6 @@ exports.LimitsApi = LimitsApi;
14953
14763
  */
14954
14764
  const MenusApiAxiosParamCreator = function (configuration) {
14955
14765
  return {
14956
- /**
14957
- * Fetches list of all menus
14958
- * @summary Fetches list of all menus
14959
- * @param {*} [options] Override http request option.
14960
- * @throws {RequiredError}
14961
- */
14962
- miscMenusGet: (...args_1) => __awaiter(this, [...args_1], void 0, function* (options = {}) {
14963
- const localVarPath = `/misc/menus`;
14964
- // use dummy base URL string because the URL constructor only accepts absolute URLs.
14965
- const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
14966
- let baseOptions;
14967
- if (configuration) {
14968
- baseOptions = configuration.baseOptions;
14969
- }
14970
- const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
14971
- const localVarHeaderParameter = {};
14972
- const localVarQueryParameter = {};
14973
- // authentication BearerAuth required
14974
- yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Authorization", configuration);
14975
- (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
14976
- let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
14977
- localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
14978
- return {
14979
- url: (0, common_1.toPathString)(localVarUrlObj),
14980
- options: localVarRequestOptions,
14981
- };
14982
- }),
14983
14766
  /**
14984
14767
  * Deletes a menu from the system by ID.
14985
14768
  * @summary Delete a menu
@@ -15431,21 +15214,6 @@ exports.MenusApiAxiosParamCreator = MenusApiAxiosParamCreator;
15431
15214
  const MenusApiFp = function (configuration) {
15432
15215
  const localVarAxiosParamCreator = (0, exports.MenusApiAxiosParamCreator)(configuration);
15433
15216
  return {
15434
- /**
15435
- * Fetches list of all menus
15436
- * @summary Fetches list of all menus
15437
- * @param {*} [options] Override http request option.
15438
- * @throws {RequiredError}
15439
- */
15440
- miscMenusGet(options) {
15441
- return __awaiter(this, void 0, void 0, function* () {
15442
- var _a, _b, _c;
15443
- const localVarAxiosArgs = yield localVarAxiosParamCreator.miscMenusGet(options);
15444
- const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
15445
- const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['MenusApi.miscMenusGet']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
15446
- return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
15447
- });
15448
- },
15449
15217
  /**
15450
15218
  * Deletes a menu from the system by ID.
15451
15219
  * @summary Delete a menu
@@ -15672,15 +15440,6 @@ exports.MenusApiFp = MenusApiFp;
15672
15440
  const MenusApiFactory = function (configuration, basePath, axios) {
15673
15441
  const localVarFp = (0, exports.MenusApiFp)(configuration);
15674
15442
  return {
15675
- /**
15676
- * Fetches list of all menus
15677
- * @summary Fetches list of all menus
15678
- * @param {*} [options] Override http request option.
15679
- * @throws {RequiredError}
15680
- */
15681
- miscMenusGet(options) {
15682
- return localVarFp.miscMenusGet(options).then((request) => request(axios, basePath));
15683
- },
15684
15443
  /**
15685
15444
  * Deletes a menu from the system by ID.
15686
15445
  * @summary Delete a menu
@@ -15829,16 +15588,6 @@ exports.MenusApiFactory = MenusApiFactory;
15829
15588
  * @extends {BaseAPI}
15830
15589
  */
15831
15590
  class MenusApi extends base_1.BaseAPI {
15832
- /**
15833
- * Fetches list of all menus
15834
- * @summary Fetches list of all menus
15835
- * @param {*} [options] Override http request option.
15836
- * @throws {RequiredError}
15837
- * @memberof MenusApi
15838
- */
15839
- miscMenusGet(options) {
15840
- return (0, exports.MenusApiFp)(this.configuration).miscMenusGet(options).then((request) => request(this.axios, this.basePath));
15841
- }
15842
15591
  /**
15843
15592
  * Deletes a menu from the system by ID.
15844
15593
  * @summary Delete a menu
@@ -16819,33 +16568,6 @@ exports.MongoDbApi = MongoDbApi;
16819
16568
  */
16820
16569
  const NewsLettersApiAxiosParamCreator = function (configuration) {
16821
16570
  return {
16822
- /**
16823
- * Fetches list of all NewsLetterSubscription
16824
- * @summary Fetches list of all NewsLetterSubscription
16825
- * @param {*} [options] Override http request option.
16826
- * @throws {RequiredError}
16827
- */
16828
- miscNewsLettersGet: (...args_1) => __awaiter(this, [...args_1], void 0, function* (options = {}) {
16829
- const localVarPath = `/misc/NewsLetters`;
16830
- // use dummy base URL string because the URL constructor only accepts absolute URLs.
16831
- const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
16832
- let baseOptions;
16833
- if (configuration) {
16834
- baseOptions = configuration.baseOptions;
16835
- }
16836
- const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
16837
- const localVarHeaderParameter = {};
16838
- const localVarQueryParameter = {};
16839
- // authentication BearerAuth required
16840
- yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Authorization", configuration);
16841
- (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
16842
- let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
16843
- localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
16844
- return {
16845
- url: (0, common_1.toPathString)(localVarUrlObj),
16846
- options: localVarRequestOptions,
16847
- };
16848
- }),
16849
16571
  /**
16850
16572
  * Fetches NewsLetterSubscription by id
16851
16573
  * @summary Fetches NewsLetterSubscription by id
@@ -16990,21 +16712,6 @@ exports.NewsLettersApiAxiosParamCreator = NewsLettersApiAxiosParamCreator;
16990
16712
  const NewsLettersApiFp = function (configuration) {
16991
16713
  const localVarAxiosParamCreator = (0, exports.NewsLettersApiAxiosParamCreator)(configuration);
16992
16714
  return {
16993
- /**
16994
- * Fetches list of all NewsLetterSubscription
16995
- * @summary Fetches list of all NewsLetterSubscription
16996
- * @param {*} [options] Override http request option.
16997
- * @throws {RequiredError}
16998
- */
16999
- miscNewsLettersGet(options) {
17000
- return __awaiter(this, void 0, void 0, function* () {
17001
- var _a, _b, _c;
17002
- const localVarAxiosArgs = yield localVarAxiosParamCreator.miscNewsLettersGet(options);
17003
- const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
17004
- const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['NewsLettersApi.miscNewsLettersGet']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
17005
- return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
17006
- });
17007
- },
17008
16715
  /**
17009
16716
  * Fetches NewsLetterSubscription by id
17010
16717
  * @summary Fetches NewsLetterSubscription by id
@@ -17081,15 +16788,6 @@ exports.NewsLettersApiFp = NewsLettersApiFp;
17081
16788
  const NewsLettersApiFactory = function (configuration, basePath, axios) {
17082
16789
  const localVarFp = (0, exports.NewsLettersApiFp)(configuration);
17083
16790
  return {
17084
- /**
17085
- * Fetches list of all NewsLetterSubscription
17086
- * @summary Fetches list of all NewsLetterSubscription
17087
- * @param {*} [options] Override http request option.
17088
- * @throws {RequiredError}
17089
- */
17090
- miscNewsLettersGet(options) {
17091
- return localVarFp.miscNewsLettersGet(options).then((request) => request(axios, basePath));
17092
- },
17093
16791
  /**
17094
16792
  * Fetches NewsLetterSubscription by id
17095
16793
  * @summary Fetches NewsLetterSubscription by id
@@ -17142,16 +16840,6 @@ exports.NewsLettersApiFactory = NewsLettersApiFactory;
17142
16840
  * @extends {BaseAPI}
17143
16841
  */
17144
16842
  class NewsLettersApi extends base_1.BaseAPI {
17145
- /**
17146
- * Fetches list of all NewsLetterSubscription
17147
- * @summary Fetches list of all NewsLetterSubscription
17148
- * @param {*} [options] Override http request option.
17149
- * @throws {RequiredError}
17150
- * @memberof NewsLettersApi
17151
- */
17152
- miscNewsLettersGet(options) {
17153
- return (0, exports.NewsLettersApiFp)(this.configuration).miscNewsLettersGet(options).then((request) => request(this.axios, this.basePath));
17154
- }
17155
16843
  /**
17156
16844
  * Fetches NewsLetterSubscription by id
17157
16845
  * @summary Fetches NewsLetterSubscription by id
@@ -17841,33 +17529,6 @@ exports.OnboardingApi = OnboardingApi;
17841
17529
  */
17842
17530
  const OrganizationsApiAxiosParamCreator = function (configuration) {
17843
17531
  return {
17844
- /**
17845
- * Fetches list of all Organizations
17846
- * @summary Fetches list of all Organizations
17847
- * @param {*} [options] Override http request option.
17848
- * @throws {RequiredError}
17849
- */
17850
- adminOrganizationsGet: (...args_1) => __awaiter(this, [...args_1], void 0, function* (options = {}) {
17851
- const localVarPath = `/admin/Organizations`;
17852
- // use dummy base URL string because the URL constructor only accepts absolute URLs.
17853
- const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
17854
- let baseOptions;
17855
- if (configuration) {
17856
- baseOptions = configuration.baseOptions;
17857
- }
17858
- const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
17859
- const localVarHeaderParameter = {};
17860
- const localVarQueryParameter = {};
17861
- // authentication BearerAuth required
17862
- yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Authorization", configuration);
17863
- (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
17864
- let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
17865
- localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
17866
- return {
17867
- url: (0, common_1.toPathString)(localVarUrlObj),
17868
- options: localVarRequestOptions,
17869
- };
17870
- }),
17871
17532
  /**
17872
17533
  * Updates Orgnization information by ID.
17873
17534
  * @summary Update an existing Orgnization
@@ -18012,21 +17673,6 @@ exports.OrganizationsApiAxiosParamCreator = OrganizationsApiAxiosParamCreator;
18012
17673
  const OrganizationsApiFp = function (configuration) {
18013
17674
  const localVarAxiosParamCreator = (0, exports.OrganizationsApiAxiosParamCreator)(configuration);
18014
17675
  return {
18015
- /**
18016
- * Fetches list of all Organizations
18017
- * @summary Fetches list of all Organizations
18018
- * @param {*} [options] Override http request option.
18019
- * @throws {RequiredError}
18020
- */
18021
- adminOrganizationsGet(options) {
18022
- return __awaiter(this, void 0, void 0, function* () {
18023
- var _a, _b, _c;
18024
- const localVarAxiosArgs = yield localVarAxiosParamCreator.adminOrganizationsGet(options);
18025
- const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
18026
- const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['OrganizationsApi.adminOrganizationsGet']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
18027
- return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
18028
- });
18029
- },
18030
17676
  /**
18031
17677
  * Updates Orgnization information by ID.
18032
17678
  * @summary Update an existing Orgnization
@@ -18103,15 +17749,6 @@ exports.OrganizationsApiFp = OrganizationsApiFp;
18103
17749
  const OrganizationsApiFactory = function (configuration, basePath, axios) {
18104
17750
  const localVarFp = (0, exports.OrganizationsApiFp)(configuration);
18105
17751
  return {
18106
- /**
18107
- * Fetches list of all Organizations
18108
- * @summary Fetches list of all Organizations
18109
- * @param {*} [options] Override http request option.
18110
- * @throws {RequiredError}
18111
- */
18112
- adminOrganizationsGet(options) {
18113
- return localVarFp.adminOrganizationsGet(options).then((request) => request(axios, basePath));
18114
- },
18115
17752
  /**
18116
17753
  * Updates Orgnization information by ID.
18117
17754
  * @summary Update an existing Orgnization
@@ -18165,20 +17802,10 @@ exports.OrganizationsApiFactory = OrganizationsApiFactory;
18165
17802
  */
18166
17803
  class OrganizationsApi extends base_1.BaseAPI {
18167
17804
  /**
18168
- * Fetches list of all Organizations
18169
- * @summary Fetches list of all Organizations
18170
- * @param {*} [options] Override http request option.
18171
- * @throws {RequiredError}
18172
- * @memberof OrganizationsApi
18173
- */
18174
- adminOrganizationsGet(options) {
18175
- return (0, exports.OrganizationsApiFp)(this.configuration).adminOrganizationsGet(options).then((request) => request(this.axios, this.basePath));
18176
- }
18177
- /**
18178
- * Updates Orgnization information by ID.
18179
- * @summary Update an existing Orgnization
18180
- * @param {number} id Org Id
18181
- * @param {DataTypesCreateOrganizationRequest} dataTypesCreateOrganizationRequest Organization data to update
17805
+ * Updates Orgnization information by ID.
17806
+ * @summary Update an existing Orgnization
17807
+ * @param {number} id Org Id
17808
+ * @param {DataTypesCreateOrganizationRequest} dataTypesCreateOrganizationRequest Organization data to update
18182
17809
  * @param {*} [options] Override http request option.
18183
17810
  * @throws {RequiredError}
18184
17811
  * @memberof OrganizationsApi
@@ -19603,33 +19230,6 @@ exports.PaymentGatewayApi = PaymentGatewayApi;
19603
19230
  */
19604
19231
  const PaymentsApiAxiosParamCreator = function (configuration) {
19605
19232
  return {
19606
- /**
19607
- * Fetches list of all payments
19608
- * @summary Fetches list of all payments
19609
- * @param {*} [options] Override http request option.
19610
- * @throws {RequiredError}
19611
- */
19612
- adminPaymentsGet: (...args_1) => __awaiter(this, [...args_1], void 0, function* (options = {}) {
19613
- const localVarPath = `/admin/payments/`;
19614
- // use dummy base URL string because the URL constructor only accepts absolute URLs.
19615
- const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
19616
- let baseOptions;
19617
- if (configuration) {
19618
- baseOptions = configuration.baseOptions;
19619
- }
19620
- const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
19621
- const localVarHeaderParameter = {};
19622
- const localVarQueryParameter = {};
19623
- // authentication BearerAuth required
19624
- yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Authorization", configuration);
19625
- (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
19626
- let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
19627
- localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
19628
- return {
19629
- url: (0, common_1.toPathString)(localVarUrlObj),
19630
- options: localVarRequestOptions,
19631
- };
19632
- }),
19633
19233
  /**
19634
19234
  * Deletes a payment from the system by ID.
19635
19235
  * @summary Delete a payment
@@ -19770,21 +19370,6 @@ exports.PaymentsApiAxiosParamCreator = PaymentsApiAxiosParamCreator;
19770
19370
  const PaymentsApiFp = function (configuration) {
19771
19371
  const localVarAxiosParamCreator = (0, exports.PaymentsApiAxiosParamCreator)(configuration);
19772
19372
  return {
19773
- /**
19774
- * Fetches list of all payments
19775
- * @summary Fetches list of all payments
19776
- * @param {*} [options] Override http request option.
19777
- * @throws {RequiredError}
19778
- */
19779
- adminPaymentsGet(options) {
19780
- return __awaiter(this, void 0, void 0, function* () {
19781
- var _a, _b, _c;
19782
- const localVarAxiosArgs = yield localVarAxiosParamCreator.adminPaymentsGet(options);
19783
- const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
19784
- const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['PaymentsApi.adminPaymentsGet']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
19785
- return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
19786
- });
19787
- },
19788
19373
  /**
19789
19374
  * Deletes a payment from the system by ID.
19790
19375
  * @summary Delete a payment
@@ -19860,15 +19445,6 @@ exports.PaymentsApiFp = PaymentsApiFp;
19860
19445
  const PaymentsApiFactory = function (configuration, basePath, axios) {
19861
19446
  const localVarFp = (0, exports.PaymentsApiFp)(configuration);
19862
19447
  return {
19863
- /**
19864
- * Fetches list of all payments
19865
- * @summary Fetches list of all payments
19866
- * @param {*} [options] Override http request option.
19867
- * @throws {RequiredError}
19868
- */
19869
- adminPaymentsGet(options) {
19870
- return localVarFp.adminPaymentsGet(options).then((request) => request(axios, basePath));
19871
- },
19872
19448
  /**
19873
19449
  * Deletes a payment from the system by ID.
19874
19450
  * @summary Delete a payment
@@ -19920,16 +19496,6 @@ exports.PaymentsApiFactory = PaymentsApiFactory;
19920
19496
  * @extends {BaseAPI}
19921
19497
  */
19922
19498
  class PaymentsApi extends base_1.BaseAPI {
19923
- /**
19924
- * Fetches list of all payments
19925
- * @summary Fetches list of all payments
19926
- * @param {*} [options] Override http request option.
19927
- * @throws {RequiredError}
19928
- * @memberof PaymentsApi
19929
- */
19930
- adminPaymentsGet(options) {
19931
- return (0, exports.PaymentsApiFp)(this.configuration).adminPaymentsGet(options).then((request) => request(this.axios, this.basePath));
19932
- }
19933
19499
  /**
19934
19500
  * Deletes a payment from the system by ID.
19935
19501
  * @summary Delete a payment
@@ -19983,33 +19549,6 @@ exports.PaymentsApi = PaymentsApi;
19983
19549
  */
19984
19550
  const PlansApiAxiosParamCreator = function (configuration) {
19985
19551
  return {
19986
- /**
19987
- * Fetches list of all Plans
19988
- * @summary Fetches list of all Plans
19989
- * @param {*} [options] Override http request option.
19990
- * @throws {RequiredError}
19991
- */
19992
- miscPlansGet: (...args_1) => __awaiter(this, [...args_1], void 0, function* (options = {}) {
19993
- const localVarPath = `/misc/Plans`;
19994
- // use dummy base URL string because the URL constructor only accepts absolute URLs.
19995
- const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
19996
- let baseOptions;
19997
- if (configuration) {
19998
- baseOptions = configuration.baseOptions;
19999
- }
20000
- const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
20001
- const localVarHeaderParameter = {};
20002
- const localVarQueryParameter = {};
20003
- // authentication BearerAuth required
20004
- yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Authorization", configuration);
20005
- (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
20006
- let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
20007
- localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
20008
- return {
20009
- url: (0, common_1.toPathString)(localVarUrlObj),
20010
- options: localVarRequestOptions,
20011
- };
20012
- }),
20013
19552
  /**
20014
19553
  * Fetches plan by id
20015
19554
  * @summary Fetches plan by id
@@ -20154,21 +19693,6 @@ exports.PlansApiAxiosParamCreator = PlansApiAxiosParamCreator;
20154
19693
  const PlansApiFp = function (configuration) {
20155
19694
  const localVarAxiosParamCreator = (0, exports.PlansApiAxiosParamCreator)(configuration);
20156
19695
  return {
20157
- /**
20158
- * Fetches list of all Plans
20159
- * @summary Fetches list of all Plans
20160
- * @param {*} [options] Override http request option.
20161
- * @throws {RequiredError}
20162
- */
20163
- miscPlansGet(options) {
20164
- return __awaiter(this, void 0, void 0, function* () {
20165
- var _a, _b, _c;
20166
- const localVarAxiosArgs = yield localVarAxiosParamCreator.miscPlansGet(options);
20167
- const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
20168
- const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['PlansApi.miscPlansGet']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
20169
- return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
20170
- });
20171
- },
20172
19696
  /**
20173
19697
  * Fetches plan by id
20174
19698
  * @summary Fetches plan by id
@@ -20245,15 +19769,6 @@ exports.PlansApiFp = PlansApiFp;
20245
19769
  const PlansApiFactory = function (configuration, basePath, axios) {
20246
19770
  const localVarFp = (0, exports.PlansApiFp)(configuration);
20247
19771
  return {
20248
- /**
20249
- * Fetches list of all Plans
20250
- * @summary Fetches list of all Plans
20251
- * @param {*} [options] Override http request option.
20252
- * @throws {RequiredError}
20253
- */
20254
- miscPlansGet(options) {
20255
- return localVarFp.miscPlansGet(options).then((request) => request(axios, basePath));
20256
- },
20257
19772
  /**
20258
19773
  * Fetches plan by id
20259
19774
  * @summary Fetches plan by id
@@ -20306,16 +19821,6 @@ exports.PlansApiFactory = PlansApiFactory;
20306
19821
  * @extends {BaseAPI}
20307
19822
  */
20308
19823
  class PlansApi extends base_1.BaseAPI {
20309
- /**
20310
- * Fetches list of all Plans
20311
- * @summary Fetches list of all Plans
20312
- * @param {*} [options] Override http request option.
20313
- * @throws {RequiredError}
20314
- * @memberof PlansApi
20315
- */
20316
- miscPlansGet(options) {
20317
- return (0, exports.PlansApiFp)(this.configuration).miscPlansGet(options).then((request) => request(this.axios, this.basePath));
20318
- }
20319
19824
  /**
20320
19825
  * Fetches plan by id
20321
19826
  * @summary Fetches plan by id
@@ -24917,33 +24422,6 @@ exports.RegisterApi = RegisterApi;
24917
24422
  */
24918
24423
  const RequestsApiAxiosParamCreator = function (configuration) {
24919
24424
  return {
24920
- /**
24921
- * Fetches list of all ServiceRequest
24922
- * @summary Fetches list of all ServiceRequest
24923
- * @param {*} [options] Override http request option.
24924
- * @throws {RequiredError}
24925
- */
24926
- miscRequestsGet: (...args_1) => __awaiter(this, [...args_1], void 0, function* (options = {}) {
24927
- const localVarPath = `/misc/Requests`;
24928
- // use dummy base URL string because the URL constructor only accepts absolute URLs.
24929
- const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
24930
- let baseOptions;
24931
- if (configuration) {
24932
- baseOptions = configuration.baseOptions;
24933
- }
24934
- const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
24935
- const localVarHeaderParameter = {};
24936
- const localVarQueryParameter = {};
24937
- // authentication BearerAuth required
24938
- yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Authorization", configuration);
24939
- (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
24940
- let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
24941
- localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
24942
- return {
24943
- url: (0, common_1.toPathString)(localVarUrlObj),
24944
- options: localVarRequestOptions,
24945
- };
24946
- }),
24947
24425
  /**
24948
24426
  * Updates ServiceRequest information by ID.
24949
24427
  * @summary Deletes an existing ServiceRequest
@@ -25119,21 +24597,6 @@ exports.RequestsApiAxiosParamCreator = RequestsApiAxiosParamCreator;
25119
24597
  const RequestsApiFp = function (configuration) {
25120
24598
  const localVarAxiosParamCreator = (0, exports.RequestsApiAxiosParamCreator)(configuration);
25121
24599
  return {
25122
- /**
25123
- * Fetches list of all ServiceRequest
25124
- * @summary Fetches list of all ServiceRequest
25125
- * @param {*} [options] Override http request option.
25126
- * @throws {RequiredError}
25127
- */
25128
- miscRequestsGet(options) {
25129
- return __awaiter(this, void 0, void 0, function* () {
25130
- var _a, _b, _c;
25131
- const localVarAxiosArgs = yield localVarAxiosParamCreator.miscRequestsGet(options);
25132
- const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
25133
- const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['RequestsApi.miscRequestsGet']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
25134
- return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
25135
- });
25136
- },
25137
24600
  /**
25138
24601
  * Updates ServiceRequest information by ID.
25139
24602
  * @summary Deletes an existing ServiceRequest
@@ -25226,15 +24689,6 @@ exports.RequestsApiFp = RequestsApiFp;
25226
24689
  const RequestsApiFactory = function (configuration, basePath, axios) {
25227
24690
  const localVarFp = (0, exports.RequestsApiFp)(configuration);
25228
24691
  return {
25229
- /**
25230
- * Fetches list of all ServiceRequest
25231
- * @summary Fetches list of all ServiceRequest
25232
- * @param {*} [options] Override http request option.
25233
- * @throws {RequiredError}
25234
- */
25235
- miscRequestsGet(options) {
25236
- return localVarFp.miscRequestsGet(options).then((request) => request(axios, basePath));
25237
- },
25238
24692
  /**
25239
24693
  * Updates ServiceRequest information by ID.
25240
24694
  * @summary Deletes an existing ServiceRequest
@@ -25297,16 +24751,6 @@ exports.RequestsApiFactory = RequestsApiFactory;
25297
24751
  * @extends {BaseAPI}
25298
24752
  */
25299
24753
  class RequestsApi extends base_1.BaseAPI {
25300
- /**
25301
- * Fetches list of all ServiceRequest
25302
- * @summary Fetches list of all ServiceRequest
25303
- * @param {*} [options] Override http request option.
25304
- * @throws {RequiredError}
25305
- * @memberof RequestsApi
25306
- */
25307
- miscRequestsGet(options) {
25308
- return (0, exports.RequestsApiFp)(this.configuration).miscRequestsGet(options).then((request) => request(this.axios, this.basePath));
25309
- }
25310
24754
  /**
25311
24755
  * Updates ServiceRequest information by ID.
25312
24756
  * @summary Deletes an existing ServiceRequest
@@ -25404,33 +24848,6 @@ const RoleRightsApiAxiosParamCreator = function (configuration) {
25404
24848
  options: localVarRequestOptions,
25405
24849
  };
25406
24850
  }),
25407
- /**
25408
- * Fetches list of all roleright
25409
- * @summary Fetches list of all roleright
25410
- * @param {*} [options] Override http request option.
25411
- * @throws {RequiredError}
25412
- */
25413
- adminRolerightsGet: (...args_1) => __awaiter(this, [...args_1], void 0, function* (options = {}) {
25414
- const localVarPath = `/admin/rolerights`;
25415
- // use dummy base URL string because the URL constructor only accepts absolute URLs.
25416
- const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
25417
- let baseOptions;
25418
- if (configuration) {
25419
- baseOptions = configuration.baseOptions;
25420
- }
25421
- const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
25422
- const localVarHeaderParameter = {};
25423
- const localVarQueryParameter = {};
25424
- // authentication BearerAuth required
25425
- yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Authorization", configuration);
25426
- (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
25427
- let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
25428
- localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
25429
- return {
25430
- url: (0, common_1.toPathString)(localVarUrlObj),
25431
- options: localVarRequestOptions,
25432
- };
25433
- }),
25434
24851
  /**
25435
24852
  * Fetches roleright by role id
25436
24853
  * @summary Fetches roleright by role id
@@ -25649,21 +25066,6 @@ const RoleRightsApiFp = function (configuration) {
25649
25066
  return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
25650
25067
  });
25651
25068
  },
25652
- /**
25653
- * Fetches list of all roleright
25654
- * @summary Fetches list of all roleright
25655
- * @param {*} [options] Override http request option.
25656
- * @throws {RequiredError}
25657
- */
25658
- adminRolerightsGet(options) {
25659
- return __awaiter(this, void 0, void 0, function* () {
25660
- var _a, _b, _c;
25661
- const localVarAxiosArgs = yield localVarAxiosParamCreator.adminRolerightsGet(options);
25662
- const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
25663
- const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['RoleRightsApi.adminRolerightsGet']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
25664
- return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
25665
- });
25666
- },
25667
25069
  /**
25668
25070
  * Fetches roleright by role id
25669
25071
  * @summary Fetches roleright by role id
@@ -25781,15 +25183,6 @@ const RoleRightsApiFactory = function (configuration, basePath, axios) {
25781
25183
  adminRolerightsBulkPost(dataTypesRoleRightRequestDto, options) {
25782
25184
  return localVarFp.adminRolerightsBulkPost(dataTypesRoleRightRequestDto, options).then((request) => request(axios, basePath));
25783
25185
  },
25784
- /**
25785
- * Fetches list of all roleright
25786
- * @summary Fetches list of all roleright
25787
- * @param {*} [options] Override http request option.
25788
- * @throws {RequiredError}
25789
- */
25790
- adminRolerightsGet(options) {
25791
- return localVarFp.adminRolerightsGet(options).then((request) => request(axios, basePath));
25792
- },
25793
25186
  /**
25794
25187
  * Fetches roleright by role id
25795
25188
  * @summary Fetches roleright by role id
@@ -25872,16 +25265,6 @@ class RoleRightsApi extends base_1.BaseAPI {
25872
25265
  adminRolerightsBulkPost(dataTypesRoleRightRequestDto, options) {
25873
25266
  return (0, exports.RoleRightsApiFp)(this.configuration).adminRolerightsBulkPost(dataTypesRoleRightRequestDto, options).then((request) => request(this.axios, this.basePath));
25874
25267
  }
25875
- /**
25876
- * Fetches list of all roleright
25877
- * @summary Fetches list of all roleright
25878
- * @param {*} [options] Override http request option.
25879
- * @throws {RequiredError}
25880
- * @memberof RoleRightsApi
25881
- */
25882
- adminRolerightsGet(options) {
25883
- return (0, exports.RoleRightsApiFp)(this.configuration).adminRolerightsGet(options).then((request) => request(this.axios, this.basePath));
25884
- }
25885
25268
  /**
25886
25269
  * Fetches roleright by role id
25887
25270
  * @summary Fetches roleright by role id
@@ -26024,37 +25407,6 @@ const RolesApiAxiosParamCreator = function (configuration) {
26024
25407
  options: localVarRequestOptions,
26025
25408
  };
26026
25409
  }),
26027
- /**
26028
- * Fetches list of all roles
26029
- * @summary Fetches list of all roles
26030
- * @param {number} orgId Org ID
26031
- * @param {*} [options] Override http request option.
26032
- * @throws {RequiredError}
26033
- */
26034
- adminRolesOrgIdGet: (orgId_1, ...args_1) => __awaiter(this, [orgId_1, ...args_1], void 0, function* (orgId, options = {}) {
26035
- // verify required parameter 'orgId' is not null or undefined
26036
- (0, common_1.assertParamExists)('adminRolesOrgIdGet', 'orgId', orgId);
26037
- const localVarPath = `/admin/roles/{OrgId}`
26038
- .replace(`{${"OrgId"}}`, encodeURIComponent(String(orgId)));
26039
- // use dummy base URL string because the URL constructor only accepts absolute URLs.
26040
- const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
26041
- let baseOptions;
26042
- if (configuration) {
26043
- baseOptions = configuration.baseOptions;
26044
- }
26045
- const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
26046
- const localVarHeaderParameter = {};
26047
- const localVarQueryParameter = {};
26048
- // authentication BearerAuth required
26049
- yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Authorization", configuration);
26050
- (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
26051
- let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
26052
- localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
26053
- return {
26054
- url: (0, common_1.toPathString)(localVarUrlObj),
26055
- options: localVarRequestOptions,
26056
- };
26057
- }),
26058
25410
  /**
26059
25411
  * Fetches role by id
26060
25412
  * @summary Fetches role by id
@@ -26165,22 +25517,6 @@ const RolesApiFp = function (configuration) {
26165
25517
  return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
26166
25518
  });
26167
25519
  },
26168
- /**
26169
- * Fetches list of all roles
26170
- * @summary Fetches list of all roles
26171
- * @param {number} orgId Org ID
26172
- * @param {*} [options] Override http request option.
26173
- * @throws {RequiredError}
26174
- */
26175
- adminRolesOrgIdGet(orgId, options) {
26176
- return __awaiter(this, void 0, void 0, function* () {
26177
- var _a, _b, _c;
26178
- const localVarAxiosArgs = yield localVarAxiosParamCreator.adminRolesOrgIdGet(orgId, options);
26179
- const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
26180
- const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['RolesApi.adminRolesOrgIdGet']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
26181
- return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
26182
- });
26183
- },
26184
25520
  /**
26185
25521
  * Fetches role by id
26186
25522
  * @summary Fetches role by id
@@ -26245,16 +25581,6 @@ const RolesApiFactory = function (configuration, basePath, axios) {
26245
25581
  adminRolesIdPut(id, dataTypesCreateRoleRequestDto, options) {
26246
25582
  return localVarFp.adminRolesIdPut(id, dataTypesCreateRoleRequestDto, options).then((request) => request(axios, basePath));
26247
25583
  },
26248
- /**
26249
- * Fetches list of all roles
26250
- * @summary Fetches list of all roles
26251
- * @param {number} orgId Org ID
26252
- * @param {*} [options] Override http request option.
26253
- * @throws {RequiredError}
26254
- */
26255
- adminRolesOrgIdGet(orgId, options) {
26256
- return localVarFp.adminRolesOrgIdGet(orgId, options).then((request) => request(axios, basePath));
26257
- },
26258
25584
  /**
26259
25585
  * Fetches role by id
26260
25586
  * @summary Fetches role by id
@@ -26309,17 +25635,6 @@ class RolesApi extends base_1.BaseAPI {
26309
25635
  adminRolesIdPut(id, dataTypesCreateRoleRequestDto, options) {
26310
25636
  return (0, exports.RolesApiFp)(this.configuration).adminRolesIdPut(id, dataTypesCreateRoleRequestDto, options).then((request) => request(this.axios, this.basePath));
26311
25637
  }
26312
- /**
26313
- * Fetches list of all roles
26314
- * @summary Fetches list of all roles
26315
- * @param {number} orgId Org ID
26316
- * @param {*} [options] Override http request option.
26317
- * @throws {RequiredError}
26318
- * @memberof RolesApi
26319
- */
26320
- adminRolesOrgIdGet(orgId, options) {
26321
- return (0, exports.RolesApiFp)(this.configuration).adminRolesOrgIdGet(orgId, options).then((request) => request(this.axios, this.basePath));
26322
- }
26323
25638
  /**
26324
25639
  * Fetches role by id
26325
25640
  * @summary Fetches role by id
@@ -26546,63 +25861,21 @@ const SearchApiAxiosParamCreator = function (configuration) {
26546
25861
  options: localVarRequestOptions,
26547
25862
  };
26548
25863
  }),
25864
+ };
25865
+ };
25866
+ exports.SearchApiAxiosParamCreator = SearchApiAxiosParamCreator;
25867
+ /**
25868
+ * SearchApi - functional programming interface
25869
+ * @export
25870
+ */
25871
+ const SearchApiFp = function (configuration) {
25872
+ const localVarAxiosParamCreator = (0, exports.SearchApiAxiosParamCreator)(configuration);
25873
+ return {
26549
25874
  /**
26550
- * Search documents using store credentials with optional autocomplete suggestions and configurable stopwords/synonyms
26551
- * @summary Public Search API
26552
- * @param {string} xStoreid Store ID
26553
- * @param {string} xStoresecret Store Secret
26554
- * @param {DataTypesPublicSearchRequest} dataTypesPublicSearchRequest Search request with optional stopword_sets and synonym_sets for granular control
26555
- * @param {*} [options] Override http request option.
26556
- * @throws {RequiredError}
26557
- */
26558
- v1SearchPost: (xStoreid_1, xStoresecret_1, dataTypesPublicSearchRequest_1, ...args_1) => __awaiter(this, [xStoreid_1, xStoresecret_1, dataTypesPublicSearchRequest_1, ...args_1], void 0, function* (xStoreid, xStoresecret, dataTypesPublicSearchRequest, options = {}) {
26559
- // verify required parameter 'xStoreid' is not null or undefined
26560
- (0, common_1.assertParamExists)('v1SearchPost', 'xStoreid', xStoreid);
26561
- // verify required parameter 'xStoresecret' is not null or undefined
26562
- (0, common_1.assertParamExists)('v1SearchPost', 'xStoresecret', xStoresecret);
26563
- // verify required parameter 'dataTypesPublicSearchRequest' is not null or undefined
26564
- (0, common_1.assertParamExists)('v1SearchPost', 'dataTypesPublicSearchRequest', dataTypesPublicSearchRequest);
26565
- const localVarPath = `/v1/search`;
26566
- // use dummy base URL string because the URL constructor only accepts absolute URLs.
26567
- const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
26568
- let baseOptions;
26569
- if (configuration) {
26570
- baseOptions = configuration.baseOptions;
26571
- }
26572
- const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
26573
- const localVarHeaderParameter = {};
26574
- const localVarQueryParameter = {};
26575
- localVarHeaderParameter['Content-Type'] = 'application/json';
26576
- if (xStoreid != null) {
26577
- localVarHeaderParameter['x-storeid'] = String(xStoreid);
26578
- }
26579
- if (xStoresecret != null) {
26580
- localVarHeaderParameter['x-storesecret'] = String(xStoresecret);
26581
- }
26582
- (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
26583
- let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
26584
- localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
26585
- localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(dataTypesPublicSearchRequest, localVarRequestOptions, configuration);
26586
- return {
26587
- url: (0, common_1.toPathString)(localVarUrlObj),
26588
- options: localVarRequestOptions,
26589
- };
26590
- }),
26591
- };
26592
- };
26593
- exports.SearchApiAxiosParamCreator = SearchApiAxiosParamCreator;
26594
- /**
26595
- * SearchApi - functional programming interface
26596
- * @export
26597
- */
26598
- const SearchApiFp = function (configuration) {
26599
- const localVarAxiosParamCreator = (0, exports.SearchApiAxiosParamCreator)(configuration);
26600
- return {
26601
- /**
26602
- * Search documents with combined widget and document data, autocomplete suggestions, and configurable stopwords/synonyms
26603
- * @summary Admin Search API
26604
- * @param {string} xStoreID X-Store ID
26605
- * @param {DataTypesAdminSearchRequest} dataTypesAdminSearchRequest Admin search request with optional stopword_sets and synonym_sets for granular control
25875
+ * Search documents with combined widget and document data, autocomplete suggestions, and configurable stopwords/synonyms
25876
+ * @summary Admin Search API
25877
+ * @param {string} xStoreID X-Store ID
25878
+ * @param {DataTypesAdminSearchRequest} dataTypesAdminSearchRequest Admin search request with optional stopword_sets and synonym_sets for granular control
26606
25879
  * @param {*} [options] Override http request option.
26607
25880
  * @throws {RequiredError}
26608
25881
  */
@@ -26698,24 +25971,6 @@ const SearchApiFp = function (configuration) {
26698
25971
  return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
26699
25972
  });
26700
25973
  },
26701
- /**
26702
- * Search documents using store credentials with optional autocomplete suggestions and configurable stopwords/synonyms
26703
- * @summary Public Search API
26704
- * @param {string} xStoreid Store ID
26705
- * @param {string} xStoresecret Store Secret
26706
- * @param {DataTypesPublicSearchRequest} dataTypesPublicSearchRequest Search request with optional stopword_sets and synonym_sets for granular control
26707
- * @param {*} [options] Override http request option.
26708
- * @throws {RequiredError}
26709
- */
26710
- v1SearchPost(xStoreid, xStoresecret, dataTypesPublicSearchRequest, options) {
26711
- return __awaiter(this, void 0, void 0, function* () {
26712
- var _a, _b, _c;
26713
- const localVarAxiosArgs = yield localVarAxiosParamCreator.v1SearchPost(xStoreid, xStoresecret, dataTypesPublicSearchRequest, options);
26714
- const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
26715
- const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['SearchApi.v1SearchPost']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
26716
- return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
26717
- });
26718
- },
26719
25974
  };
26720
25975
  };
26721
25976
  exports.SearchApiFp = SearchApiFp;
@@ -26790,18 +26045,6 @@ const SearchApiFactory = function (configuration, basePath, axios) {
26790
26045
  v1IndexIndexnameDefaultsGet(indexname, options) {
26791
26046
  return localVarFp.v1IndexIndexnameDefaultsGet(indexname, options).then((request) => request(axios, basePath));
26792
26047
  },
26793
- /**
26794
- * Search documents using store credentials with optional autocomplete suggestions and configurable stopwords/synonyms
26795
- * @summary Public Search API
26796
- * @param {string} xStoreid Store ID
26797
- * @param {string} xStoresecret Store Secret
26798
- * @param {DataTypesPublicSearchRequest} dataTypesPublicSearchRequest Search request with optional stopword_sets and synonym_sets for granular control
26799
- * @param {*} [options] Override http request option.
26800
- * @throws {RequiredError}
26801
- */
26802
- v1SearchPost(xStoreid, xStoresecret, dataTypesPublicSearchRequest, options) {
26803
- return localVarFp.v1SearchPost(xStoreid, xStoresecret, dataTypesPublicSearchRequest, options).then((request) => request(axios, basePath));
26804
- },
26805
26048
  };
26806
26049
  };
26807
26050
  exports.SearchApiFactory = SearchApiFactory;
@@ -26882,19 +26125,6 @@ class SearchApi extends base_1.BaseAPI {
26882
26125
  v1IndexIndexnameDefaultsGet(indexname, options) {
26883
26126
  return (0, exports.SearchApiFp)(this.configuration).v1IndexIndexnameDefaultsGet(indexname, options).then((request) => request(this.axios, this.basePath));
26884
26127
  }
26885
- /**
26886
- * Search documents using store credentials with optional autocomplete suggestions and configurable stopwords/synonyms
26887
- * @summary Public Search API
26888
- * @param {string} xStoreid Store ID
26889
- * @param {string} xStoresecret Store Secret
26890
- * @param {DataTypesPublicSearchRequest} dataTypesPublicSearchRequest Search request with optional stopword_sets and synonym_sets for granular control
26891
- * @param {*} [options] Override http request option.
26892
- * @throws {RequiredError}
26893
- * @memberof SearchApi
26894
- */
26895
- v1SearchPost(xStoreid, xStoresecret, dataTypesPublicSearchRequest, options) {
26896
- return (0, exports.SearchApiFp)(this.configuration).v1SearchPost(xStoreid, xStoresecret, dataTypesPublicSearchRequest, options).then((request) => request(this.axios, this.basePath));
26897
- }
26898
26128
  }
26899
26129
  exports.SearchApi = SearchApi;
26900
26130
  /**
@@ -30120,33 +29350,6 @@ const SubscriptionsApiAxiosParamCreator = function (configuration) {
30120
29350
  options: localVarRequestOptions,
30121
29351
  };
30122
29352
  }),
30123
- /**
30124
- * Fetches list of all Subscription
30125
- * @summary Fetches list of all Subscription
30126
- * @param {*} [options] Override http request option.
30127
- * @throws {RequiredError}
30128
- */
30129
- miscSubscriptionsGet: (...args_1) => __awaiter(this, [...args_1], void 0, function* (options = {}) {
30130
- const localVarPath = `/misc/subscriptions`;
30131
- // use dummy base URL string because the URL constructor only accepts absolute URLs.
30132
- const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
30133
- let baseOptions;
30134
- if (configuration) {
30135
- baseOptions = configuration.baseOptions;
30136
- }
30137
- const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
30138
- const localVarHeaderParameter = {};
30139
- const localVarQueryParameter = {};
30140
- // authentication BearerAuth required
30141
- yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Authorization", configuration);
30142
- (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
30143
- let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
30144
- localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
30145
- return {
30146
- url: (0, common_1.toPathString)(localVarUrlObj),
30147
- options: localVarRequestOptions,
30148
- };
30149
- }),
30150
29353
  /**
30151
29354
  * Adds a new Subscription to the system
30152
29355
  * @summary Creates a new Subscription
@@ -30286,21 +29489,6 @@ const SubscriptionsApiFp = function (configuration) {
30286
29489
  return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
30287
29490
  });
30288
29491
  },
30289
- /**
30290
- * Fetches list of all Subscription
30291
- * @summary Fetches list of all Subscription
30292
- * @param {*} [options] Override http request option.
30293
- * @throws {RequiredError}
30294
- */
30295
- miscSubscriptionsGet(options) {
30296
- return __awaiter(this, void 0, void 0, function* () {
30297
- var _a, _b, _c;
30298
- const localVarAxiosArgs = yield localVarAxiosParamCreator.miscSubscriptionsGet(options);
30299
- const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
30300
- const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['SubscriptionsApi.miscSubscriptionsGet']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
30301
- return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
30302
- });
30303
- },
30304
29492
  /**
30305
29493
  * Adds a new Subscription to the system
30306
29494
  * @summary Creates a new Subscription
@@ -30385,15 +29573,6 @@ const SubscriptionsApiFactory = function (configuration, basePath, axios) {
30385
29573
  adminSubscriptionsUpdatestatusSubscriptionIDStatusPut(subscriptionID, status, options) {
30386
29574
  return localVarFp.adminSubscriptionsUpdatestatusSubscriptionIDStatusPut(subscriptionID, status, options).then((request) => request(axios, basePath));
30387
29575
  },
30388
- /**
30389
- * Fetches list of all Subscription
30390
- * @summary Fetches list of all Subscription
30391
- * @param {*} [options] Override http request option.
30392
- * @throws {RequiredError}
30393
- */
30394
- miscSubscriptionsGet(options) {
30395
- return localVarFp.miscSubscriptionsGet(options).then((request) => request(axios, basePath));
30396
- },
30397
29576
  /**
30398
29577
  * Adds a new Subscription to the system
30399
29578
  * @summary Creates a new Subscription
@@ -30470,16 +29649,6 @@ class SubscriptionsApi extends base_1.BaseAPI {
30470
29649
  adminSubscriptionsUpdatestatusSubscriptionIDStatusPut(subscriptionID, status, options) {
30471
29650
  return (0, exports.SubscriptionsApiFp)(this.configuration).adminSubscriptionsUpdatestatusSubscriptionIDStatusPut(subscriptionID, status, options).then((request) => request(this.axios, this.basePath));
30472
29651
  }
30473
- /**
30474
- * Fetches list of all Subscription
30475
- * @summary Fetches list of all Subscription
30476
- * @param {*} [options] Override http request option.
30477
- * @throws {RequiredError}
30478
- * @memberof SubscriptionsApi
30479
- */
30480
- miscSubscriptionsGet(options) {
30481
- return (0, exports.SubscriptionsApiFp)(this.configuration).miscSubscriptionsGet(options).then((request) => request(this.axios, this.basePath));
30482
- }
30483
29652
  /**
30484
29653
  * Adds a new Subscription to the system
30485
29654
  * @summary Creates a new Subscription
@@ -30810,6 +29979,920 @@ class TaxManagementApi extends base_1.BaseAPI {
30810
29979
  }
30811
29980
  }
30812
29981
  exports.TaxManagementApi = TaxManagementApi;
29982
+ /**
29983
+ * TeamApi - axios parameter creator
29984
+ * @export
29985
+ */
29986
+ const TeamApiAxiosParamCreator = function (configuration) {
29987
+ return {
29988
+ /**
29989
+ * Cancels a pending invitation
29990
+ * @summary Cancel invitation
29991
+ * @param {number} invitationId Invitation ID
29992
+ * @param {*} [options] Override http request option.
29993
+ * @throws {RequiredError}
29994
+ */
29995
+ apiV1InvitationsInvitationIdDelete: (invitationId_1, ...args_1) => __awaiter(this, [invitationId_1, ...args_1], void 0, function* (invitationId, options = {}) {
29996
+ // verify required parameter 'invitationId' is not null or undefined
29997
+ (0, common_1.assertParamExists)('apiV1InvitationsInvitationIdDelete', 'invitationId', invitationId);
29998
+ const localVarPath = `/api/v1/invitations/{invitationId}`
29999
+ .replace(`{${"invitationId"}}`, encodeURIComponent(String(invitationId)));
30000
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
30001
+ const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
30002
+ let baseOptions;
30003
+ if (configuration) {
30004
+ baseOptions = configuration.baseOptions;
30005
+ }
30006
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'DELETE' }, baseOptions), options);
30007
+ const localVarHeaderParameter = {};
30008
+ const localVarQueryParameter = {};
30009
+ // authentication BearerAuth required
30010
+ yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Authorization", configuration);
30011
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
30012
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
30013
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
30014
+ return {
30015
+ url: (0, common_1.toPathString)(localVarUrlObj),
30016
+ options: localVarRequestOptions,
30017
+ };
30018
+ }),
30019
+ /**
30020
+ * Accepts a team invitation using token
30021
+ * @summary Accept invitation
30022
+ * @param {string} token Invitation Token
30023
+ * @param {*} [options] Override http request option.
30024
+ * @throws {RequiredError}
30025
+ */
30026
+ apiV1InvitationsTokenAcceptPost: (token_1, ...args_1) => __awaiter(this, [token_1, ...args_1], void 0, function* (token, options = {}) {
30027
+ // verify required parameter 'token' is not null or undefined
30028
+ (0, common_1.assertParamExists)('apiV1InvitationsTokenAcceptPost', 'token', token);
30029
+ const localVarPath = `/api/v1/invitations/{token}/accept`
30030
+ .replace(`{${"token"}}`, encodeURIComponent(String(token)));
30031
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
30032
+ const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
30033
+ let baseOptions;
30034
+ if (configuration) {
30035
+ baseOptions = configuration.baseOptions;
30036
+ }
30037
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
30038
+ const localVarHeaderParameter = {};
30039
+ const localVarQueryParameter = {};
30040
+ // authentication BearerAuth required
30041
+ yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Authorization", configuration);
30042
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
30043
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
30044
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
30045
+ return {
30046
+ url: (0, common_1.toPathString)(localVarUrlObj),
30047
+ options: localVarRequestOptions,
30048
+ };
30049
+ }),
30050
+ /**
30051
+ * Retrieves all pending invitations for an organization
30052
+ * @summary Get pending invitations
30053
+ * @param {number} orgId Organization ID
30054
+ * @param {*} [options] Override http request option.
30055
+ * @throws {RequiredError}
30056
+ */
30057
+ apiV1OrganizationsOrgIdInvitationsGet: (orgId_1, ...args_1) => __awaiter(this, [orgId_1, ...args_1], void 0, function* (orgId, options = {}) {
30058
+ // verify required parameter 'orgId' is not null or undefined
30059
+ (0, common_1.assertParamExists)('apiV1OrganizationsOrgIdInvitationsGet', 'orgId', orgId);
30060
+ const localVarPath = `/api/v1/organizations/{orgId}/invitations`
30061
+ .replace(`{${"orgId"}}`, encodeURIComponent(String(orgId)));
30062
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
30063
+ const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
30064
+ let baseOptions;
30065
+ if (configuration) {
30066
+ baseOptions = configuration.baseOptions;
30067
+ }
30068
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
30069
+ const localVarHeaderParameter = {};
30070
+ const localVarQueryParameter = {};
30071
+ // authentication BearerAuth required
30072
+ yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Authorization", configuration);
30073
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
30074
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
30075
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
30076
+ return {
30077
+ url: (0, common_1.toPathString)(localVarUrlObj),
30078
+ options: localVarRequestOptions,
30079
+ };
30080
+ }),
30081
+ /**
30082
+ * Retrieves all members of an organization with their details
30083
+ * @summary Get all members of an organization
30084
+ * @param {number} orgId Organization ID
30085
+ * @param {*} [options] Override http request option.
30086
+ * @throws {RequiredError}
30087
+ */
30088
+ apiV1OrganizationsOrgIdMembersGet: (orgId_1, ...args_1) => __awaiter(this, [orgId_1, ...args_1], void 0, function* (orgId, options = {}) {
30089
+ // verify required parameter 'orgId' is not null or undefined
30090
+ (0, common_1.assertParamExists)('apiV1OrganizationsOrgIdMembersGet', 'orgId', orgId);
30091
+ const localVarPath = `/api/v1/organizations/{orgId}/members`
30092
+ .replace(`{${"orgId"}}`, encodeURIComponent(String(orgId)));
30093
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
30094
+ const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
30095
+ let baseOptions;
30096
+ if (configuration) {
30097
+ baseOptions = configuration.baseOptions;
30098
+ }
30099
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
30100
+ const localVarHeaderParameter = {};
30101
+ const localVarQueryParameter = {};
30102
+ // authentication BearerAuth required
30103
+ yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Authorization", configuration);
30104
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
30105
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
30106
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
30107
+ return {
30108
+ url: (0, common_1.toPathString)(localVarUrlObj),
30109
+ options: localVarRequestOptions,
30110
+ };
30111
+ }),
30112
+ /**
30113
+ * Sends an invitation to a user to join the organization
30114
+ * @summary Invite a member to join organization
30115
+ * @param {number} orgId Organization ID
30116
+ * @param {DataTypesInviteMemberRequest} dataTypesInviteMemberRequest Invitation details
30117
+ * @param {*} [options] Override http request option.
30118
+ * @throws {RequiredError}
30119
+ */
30120
+ apiV1OrganizationsOrgIdMembersInvitePost: (orgId_1, dataTypesInviteMemberRequest_1, ...args_1) => __awaiter(this, [orgId_1, dataTypesInviteMemberRequest_1, ...args_1], void 0, function* (orgId, dataTypesInviteMemberRequest, options = {}) {
30121
+ // verify required parameter 'orgId' is not null or undefined
30122
+ (0, common_1.assertParamExists)('apiV1OrganizationsOrgIdMembersInvitePost', 'orgId', orgId);
30123
+ // verify required parameter 'dataTypesInviteMemberRequest' is not null or undefined
30124
+ (0, common_1.assertParamExists)('apiV1OrganizationsOrgIdMembersInvitePost', 'dataTypesInviteMemberRequest', dataTypesInviteMemberRequest);
30125
+ const localVarPath = `/api/v1/organizations/{orgId}/members/invite`
30126
+ .replace(`{${"orgId"}}`, encodeURIComponent(String(orgId)));
30127
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
30128
+ const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
30129
+ let baseOptions;
30130
+ if (configuration) {
30131
+ baseOptions = configuration.baseOptions;
30132
+ }
30133
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
30134
+ const localVarHeaderParameter = {};
30135
+ const localVarQueryParameter = {};
30136
+ // authentication BearerAuth required
30137
+ yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Authorization", configuration);
30138
+ localVarHeaderParameter['Content-Type'] = 'application/json';
30139
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
30140
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
30141
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
30142
+ localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(dataTypesInviteMemberRequest, localVarRequestOptions, configuration);
30143
+ return {
30144
+ url: (0, common_1.toPathString)(localVarUrlObj),
30145
+ options: localVarRequestOptions,
30146
+ };
30147
+ }),
30148
+ /**
30149
+ * Removes a member from the organization
30150
+ * @summary Remove member from organization
30151
+ * @param {number} orgId Organization ID
30152
+ * @param {number} memberId Member ID
30153
+ * @param {*} [options] Override http request option.
30154
+ * @throws {RequiredError}
30155
+ */
30156
+ apiV1OrganizationsOrgIdMembersMemberIdDelete: (orgId_1, memberId_1, ...args_1) => __awaiter(this, [orgId_1, memberId_1, ...args_1], void 0, function* (orgId, memberId, options = {}) {
30157
+ // verify required parameter 'orgId' is not null or undefined
30158
+ (0, common_1.assertParamExists)('apiV1OrganizationsOrgIdMembersMemberIdDelete', 'orgId', orgId);
30159
+ // verify required parameter 'memberId' is not null or undefined
30160
+ (0, common_1.assertParamExists)('apiV1OrganizationsOrgIdMembersMemberIdDelete', 'memberId', memberId);
30161
+ const localVarPath = `/api/v1/organizations/{orgId}/members/{memberId}`
30162
+ .replace(`{${"orgId"}}`, encodeURIComponent(String(orgId)))
30163
+ .replace(`{${"memberId"}}`, encodeURIComponent(String(memberId)));
30164
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
30165
+ const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
30166
+ let baseOptions;
30167
+ if (configuration) {
30168
+ baseOptions = configuration.baseOptions;
30169
+ }
30170
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'DELETE' }, baseOptions), options);
30171
+ const localVarHeaderParameter = {};
30172
+ const localVarQueryParameter = {};
30173
+ // authentication BearerAuth required
30174
+ yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Authorization", configuration);
30175
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
30176
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
30177
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
30178
+ return {
30179
+ url: (0, common_1.toPathString)(localVarUrlObj),
30180
+ options: localVarRequestOptions,
30181
+ };
30182
+ }),
30183
+ /**
30184
+ * Updates the role of a member in the organization
30185
+ * @summary Update member role
30186
+ * @param {number} orgId Organization ID
30187
+ * @param {number} memberId Member ID
30188
+ * @param {DataTypesUpdateMemberRoleRequest} dataTypesUpdateMemberRoleRequest New role
30189
+ * @param {*} [options] Override http request option.
30190
+ * @throws {RequiredError}
30191
+ */
30192
+ apiV1OrganizationsOrgIdMembersMemberIdRolePut: (orgId_1, memberId_1, dataTypesUpdateMemberRoleRequest_1, ...args_1) => __awaiter(this, [orgId_1, memberId_1, dataTypesUpdateMemberRoleRequest_1, ...args_1], void 0, function* (orgId, memberId, dataTypesUpdateMemberRoleRequest, options = {}) {
30193
+ // verify required parameter 'orgId' is not null or undefined
30194
+ (0, common_1.assertParamExists)('apiV1OrganizationsOrgIdMembersMemberIdRolePut', 'orgId', orgId);
30195
+ // verify required parameter 'memberId' is not null or undefined
30196
+ (0, common_1.assertParamExists)('apiV1OrganizationsOrgIdMembersMemberIdRolePut', 'memberId', memberId);
30197
+ // verify required parameter 'dataTypesUpdateMemberRoleRequest' is not null or undefined
30198
+ (0, common_1.assertParamExists)('apiV1OrganizationsOrgIdMembersMemberIdRolePut', 'dataTypesUpdateMemberRoleRequest', dataTypesUpdateMemberRoleRequest);
30199
+ const localVarPath = `/api/v1/organizations/{orgId}/members/{memberId}/role`
30200
+ .replace(`{${"orgId"}}`, encodeURIComponent(String(orgId)))
30201
+ .replace(`{${"memberId"}}`, encodeURIComponent(String(memberId)));
30202
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
30203
+ const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
30204
+ let baseOptions;
30205
+ if (configuration) {
30206
+ baseOptions = configuration.baseOptions;
30207
+ }
30208
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'PUT' }, baseOptions), options);
30209
+ const localVarHeaderParameter = {};
30210
+ const localVarQueryParameter = {};
30211
+ // authentication BearerAuth required
30212
+ yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Authorization", configuration);
30213
+ localVarHeaderParameter['Content-Type'] = 'application/json';
30214
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
30215
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
30216
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
30217
+ localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(dataTypesUpdateMemberRoleRequest, localVarRequestOptions, configuration);
30218
+ return {
30219
+ url: (0, common_1.toPathString)(localVarUrlObj),
30220
+ options: localVarRequestOptions,
30221
+ };
30222
+ }),
30223
+ /**
30224
+ * Retrieves all users with access to a store
30225
+ * @summary Get store access list
30226
+ * @param {number} storeId Store ID
30227
+ * @param {*} [options] Override http request option.
30228
+ * @throws {RequiredError}
30229
+ */
30230
+ apiV1StoresStoreIdAccessGet: (storeId_1, ...args_1) => __awaiter(this, [storeId_1, ...args_1], void 0, function* (storeId, options = {}) {
30231
+ // verify required parameter 'storeId' is not null or undefined
30232
+ (0, common_1.assertParamExists)('apiV1StoresStoreIdAccessGet', 'storeId', storeId);
30233
+ const localVarPath = `/api/v1/stores/{storeId}/access`
30234
+ .replace(`{${"storeId"}}`, encodeURIComponent(String(storeId)));
30235
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
30236
+ const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
30237
+ let baseOptions;
30238
+ if (configuration) {
30239
+ baseOptions = configuration.baseOptions;
30240
+ }
30241
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
30242
+ const localVarHeaderParameter = {};
30243
+ const localVarQueryParameter = {};
30244
+ // authentication BearerAuth required
30245
+ yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Authorization", configuration);
30246
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
30247
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
30248
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
30249
+ return {
30250
+ url: (0, common_1.toPathString)(localVarUrlObj),
30251
+ options: localVarRequestOptions,
30252
+ };
30253
+ }),
30254
+ /**
30255
+ * Grants a user access to a store
30256
+ * @summary Grant store access
30257
+ * @param {number} storeId Store ID
30258
+ * @param {DataTypesGrantStoreAccessRequest} dataTypesGrantStoreAccessRequest Access details
30259
+ * @param {*} [options] Override http request option.
30260
+ * @throws {RequiredError}
30261
+ */
30262
+ apiV1StoresStoreIdAccessPost: (storeId_1, dataTypesGrantStoreAccessRequest_1, ...args_1) => __awaiter(this, [storeId_1, dataTypesGrantStoreAccessRequest_1, ...args_1], void 0, function* (storeId, dataTypesGrantStoreAccessRequest, options = {}) {
30263
+ // verify required parameter 'storeId' is not null or undefined
30264
+ (0, common_1.assertParamExists)('apiV1StoresStoreIdAccessPost', 'storeId', storeId);
30265
+ // verify required parameter 'dataTypesGrantStoreAccessRequest' is not null or undefined
30266
+ (0, common_1.assertParamExists)('apiV1StoresStoreIdAccessPost', 'dataTypesGrantStoreAccessRequest', dataTypesGrantStoreAccessRequest);
30267
+ const localVarPath = `/api/v1/stores/{storeId}/access`
30268
+ .replace(`{${"storeId"}}`, encodeURIComponent(String(storeId)));
30269
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
30270
+ const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
30271
+ let baseOptions;
30272
+ if (configuration) {
30273
+ baseOptions = configuration.baseOptions;
30274
+ }
30275
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
30276
+ const localVarHeaderParameter = {};
30277
+ const localVarQueryParameter = {};
30278
+ // authentication BearerAuth required
30279
+ yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Authorization", configuration);
30280
+ localVarHeaderParameter['Content-Type'] = 'application/json';
30281
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
30282
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
30283
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
30284
+ localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(dataTypesGrantStoreAccessRequest, localVarRequestOptions, configuration);
30285
+ return {
30286
+ url: (0, common_1.toPathString)(localVarUrlObj),
30287
+ options: localVarRequestOptions,
30288
+ };
30289
+ }),
30290
+ /**
30291
+ * Revokes a user\'s access to a store
30292
+ * @summary Revoke store access
30293
+ * @param {number} storeId Store ID
30294
+ * @param {number} userId User ID
30295
+ * @param {*} [options] Override http request option.
30296
+ * @throws {RequiredError}
30297
+ */
30298
+ apiV1StoresStoreIdAccessUserIdDelete: (storeId_1, userId_1, ...args_1) => __awaiter(this, [storeId_1, userId_1, ...args_1], void 0, function* (storeId, userId, options = {}) {
30299
+ // verify required parameter 'storeId' is not null or undefined
30300
+ (0, common_1.assertParamExists)('apiV1StoresStoreIdAccessUserIdDelete', 'storeId', storeId);
30301
+ // verify required parameter 'userId' is not null or undefined
30302
+ (0, common_1.assertParamExists)('apiV1StoresStoreIdAccessUserIdDelete', 'userId', userId);
30303
+ const localVarPath = `/api/v1/stores/{storeId}/access/{userId}`
30304
+ .replace(`{${"storeId"}}`, encodeURIComponent(String(storeId)))
30305
+ .replace(`{${"userId"}}`, encodeURIComponent(String(userId)));
30306
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
30307
+ const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
30308
+ let baseOptions;
30309
+ if (configuration) {
30310
+ baseOptions = configuration.baseOptions;
30311
+ }
30312
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'DELETE' }, baseOptions), options);
30313
+ const localVarHeaderParameter = {};
30314
+ const localVarQueryParameter = {};
30315
+ // authentication BearerAuth required
30316
+ yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Authorization", configuration);
30317
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
30318
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
30319
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
30320
+ return {
30321
+ url: (0, common_1.toPathString)(localVarUrlObj),
30322
+ options: localVarRequestOptions,
30323
+ };
30324
+ }),
30325
+ /**
30326
+ * Updates a user\'s access level to a store
30327
+ * @summary Update store access level
30328
+ * @param {number} storeId Store ID
30329
+ * @param {number} userId User ID
30330
+ * @param {DataTypesUpdateStoreAccessRequest} dataTypesUpdateStoreAccessRequest New access level
30331
+ * @param {*} [options] Override http request option.
30332
+ * @throws {RequiredError}
30333
+ */
30334
+ apiV1StoresStoreIdAccessUserIdPut: (storeId_1, userId_1, dataTypesUpdateStoreAccessRequest_1, ...args_1) => __awaiter(this, [storeId_1, userId_1, dataTypesUpdateStoreAccessRequest_1, ...args_1], void 0, function* (storeId, userId, dataTypesUpdateStoreAccessRequest, options = {}) {
30335
+ // verify required parameter 'storeId' is not null or undefined
30336
+ (0, common_1.assertParamExists)('apiV1StoresStoreIdAccessUserIdPut', 'storeId', storeId);
30337
+ // verify required parameter 'userId' is not null or undefined
30338
+ (0, common_1.assertParamExists)('apiV1StoresStoreIdAccessUserIdPut', 'userId', userId);
30339
+ // verify required parameter 'dataTypesUpdateStoreAccessRequest' is not null or undefined
30340
+ (0, common_1.assertParamExists)('apiV1StoresStoreIdAccessUserIdPut', 'dataTypesUpdateStoreAccessRequest', dataTypesUpdateStoreAccessRequest);
30341
+ const localVarPath = `/api/v1/stores/{storeId}/access/{userId}`
30342
+ .replace(`{${"storeId"}}`, encodeURIComponent(String(storeId)))
30343
+ .replace(`{${"userId"}}`, encodeURIComponent(String(userId)));
30344
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
30345
+ const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
30346
+ let baseOptions;
30347
+ if (configuration) {
30348
+ baseOptions = configuration.baseOptions;
30349
+ }
30350
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'PUT' }, baseOptions), options);
30351
+ const localVarHeaderParameter = {};
30352
+ const localVarQueryParameter = {};
30353
+ // authentication BearerAuth required
30354
+ yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Authorization", configuration);
30355
+ localVarHeaderParameter['Content-Type'] = 'application/json';
30356
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
30357
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
30358
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
30359
+ localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(dataTypesUpdateStoreAccessRequest, localVarRequestOptions, configuration);
30360
+ return {
30361
+ url: (0, common_1.toPathString)(localVarUrlObj),
30362
+ options: localVarRequestOptions,
30363
+ };
30364
+ }),
30365
+ /**
30366
+ * Retrieves all stores accessible to a user
30367
+ * @summary Get user\'s accessible stores
30368
+ * @param {number} userId User ID
30369
+ * @param {*} [options] Override http request option.
30370
+ * @throws {RequiredError}
30371
+ */
30372
+ apiV1UsersUserIdStoresGet: (userId_1, ...args_1) => __awaiter(this, [userId_1, ...args_1], void 0, function* (userId, options = {}) {
30373
+ // verify required parameter 'userId' is not null or undefined
30374
+ (0, common_1.assertParamExists)('apiV1UsersUserIdStoresGet', 'userId', userId);
30375
+ const localVarPath = `/api/v1/users/{userId}/stores`
30376
+ .replace(`{${"userId"}}`, encodeURIComponent(String(userId)));
30377
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
30378
+ const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
30379
+ let baseOptions;
30380
+ if (configuration) {
30381
+ baseOptions = configuration.baseOptions;
30382
+ }
30383
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
30384
+ const localVarHeaderParameter = {};
30385
+ const localVarQueryParameter = {};
30386
+ // authentication BearerAuth required
30387
+ yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Authorization", configuration);
30388
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
30389
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
30390
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
30391
+ return {
30392
+ url: (0, common_1.toPathString)(localVarUrlObj),
30393
+ options: localVarRequestOptions,
30394
+ };
30395
+ }),
30396
+ };
30397
+ };
30398
+ exports.TeamApiAxiosParamCreator = TeamApiAxiosParamCreator;
30399
+ /**
30400
+ * TeamApi - functional programming interface
30401
+ * @export
30402
+ */
30403
+ const TeamApiFp = function (configuration) {
30404
+ const localVarAxiosParamCreator = (0, exports.TeamApiAxiosParamCreator)(configuration);
30405
+ return {
30406
+ /**
30407
+ * Cancels a pending invitation
30408
+ * @summary Cancel invitation
30409
+ * @param {number} invitationId Invitation ID
30410
+ * @param {*} [options] Override http request option.
30411
+ * @throws {RequiredError}
30412
+ */
30413
+ apiV1InvitationsInvitationIdDelete(invitationId, options) {
30414
+ return __awaiter(this, void 0, void 0, function* () {
30415
+ var _a, _b, _c;
30416
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.apiV1InvitationsInvitationIdDelete(invitationId, options);
30417
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
30418
+ const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['TeamApi.apiV1InvitationsInvitationIdDelete']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
30419
+ return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
30420
+ });
30421
+ },
30422
+ /**
30423
+ * Accepts a team invitation using token
30424
+ * @summary Accept invitation
30425
+ * @param {string} token Invitation Token
30426
+ * @param {*} [options] Override http request option.
30427
+ * @throws {RequiredError}
30428
+ */
30429
+ apiV1InvitationsTokenAcceptPost(token, options) {
30430
+ return __awaiter(this, void 0, void 0, function* () {
30431
+ var _a, _b, _c;
30432
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.apiV1InvitationsTokenAcceptPost(token, options);
30433
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
30434
+ const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['TeamApi.apiV1InvitationsTokenAcceptPost']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
30435
+ return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
30436
+ });
30437
+ },
30438
+ /**
30439
+ * Retrieves all pending invitations for an organization
30440
+ * @summary Get pending invitations
30441
+ * @param {number} orgId Organization ID
30442
+ * @param {*} [options] Override http request option.
30443
+ * @throws {RequiredError}
30444
+ */
30445
+ apiV1OrganizationsOrgIdInvitationsGet(orgId, options) {
30446
+ return __awaiter(this, void 0, void 0, function* () {
30447
+ var _a, _b, _c;
30448
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.apiV1OrganizationsOrgIdInvitationsGet(orgId, options);
30449
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
30450
+ const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['TeamApi.apiV1OrganizationsOrgIdInvitationsGet']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
30451
+ return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
30452
+ });
30453
+ },
30454
+ /**
30455
+ * Retrieves all members of an organization with their details
30456
+ * @summary Get all members of an organization
30457
+ * @param {number} orgId Organization ID
30458
+ * @param {*} [options] Override http request option.
30459
+ * @throws {RequiredError}
30460
+ */
30461
+ apiV1OrganizationsOrgIdMembersGet(orgId, options) {
30462
+ return __awaiter(this, void 0, void 0, function* () {
30463
+ var _a, _b, _c;
30464
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.apiV1OrganizationsOrgIdMembersGet(orgId, options);
30465
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
30466
+ const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['TeamApi.apiV1OrganizationsOrgIdMembersGet']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
30467
+ return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
30468
+ });
30469
+ },
30470
+ /**
30471
+ * Sends an invitation to a user to join the organization
30472
+ * @summary Invite a member to join organization
30473
+ * @param {number} orgId Organization ID
30474
+ * @param {DataTypesInviteMemberRequest} dataTypesInviteMemberRequest Invitation details
30475
+ * @param {*} [options] Override http request option.
30476
+ * @throws {RequiredError}
30477
+ */
30478
+ apiV1OrganizationsOrgIdMembersInvitePost(orgId, dataTypesInviteMemberRequest, options) {
30479
+ return __awaiter(this, void 0, void 0, function* () {
30480
+ var _a, _b, _c;
30481
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.apiV1OrganizationsOrgIdMembersInvitePost(orgId, dataTypesInviteMemberRequest, options);
30482
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
30483
+ const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['TeamApi.apiV1OrganizationsOrgIdMembersInvitePost']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
30484
+ return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
30485
+ });
30486
+ },
30487
+ /**
30488
+ * Removes a member from the organization
30489
+ * @summary Remove member from organization
30490
+ * @param {number} orgId Organization ID
30491
+ * @param {number} memberId Member ID
30492
+ * @param {*} [options] Override http request option.
30493
+ * @throws {RequiredError}
30494
+ */
30495
+ apiV1OrganizationsOrgIdMembersMemberIdDelete(orgId, memberId, options) {
30496
+ return __awaiter(this, void 0, void 0, function* () {
30497
+ var _a, _b, _c;
30498
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.apiV1OrganizationsOrgIdMembersMemberIdDelete(orgId, memberId, options);
30499
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
30500
+ const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['TeamApi.apiV1OrganizationsOrgIdMembersMemberIdDelete']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
30501
+ return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
30502
+ });
30503
+ },
30504
+ /**
30505
+ * Updates the role of a member in the organization
30506
+ * @summary Update member role
30507
+ * @param {number} orgId Organization ID
30508
+ * @param {number} memberId Member ID
30509
+ * @param {DataTypesUpdateMemberRoleRequest} dataTypesUpdateMemberRoleRequest New role
30510
+ * @param {*} [options] Override http request option.
30511
+ * @throws {RequiredError}
30512
+ */
30513
+ apiV1OrganizationsOrgIdMembersMemberIdRolePut(orgId, memberId, dataTypesUpdateMemberRoleRequest, options) {
30514
+ return __awaiter(this, void 0, void 0, function* () {
30515
+ var _a, _b, _c;
30516
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.apiV1OrganizationsOrgIdMembersMemberIdRolePut(orgId, memberId, dataTypesUpdateMemberRoleRequest, options);
30517
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
30518
+ const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['TeamApi.apiV1OrganizationsOrgIdMembersMemberIdRolePut']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
30519
+ return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
30520
+ });
30521
+ },
30522
+ /**
30523
+ * Retrieves all users with access to a store
30524
+ * @summary Get store access list
30525
+ * @param {number} storeId Store ID
30526
+ * @param {*} [options] Override http request option.
30527
+ * @throws {RequiredError}
30528
+ */
30529
+ apiV1StoresStoreIdAccessGet(storeId, options) {
30530
+ return __awaiter(this, void 0, void 0, function* () {
30531
+ var _a, _b, _c;
30532
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.apiV1StoresStoreIdAccessGet(storeId, options);
30533
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
30534
+ const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['TeamApi.apiV1StoresStoreIdAccessGet']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
30535
+ return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
30536
+ });
30537
+ },
30538
+ /**
30539
+ * Grants a user access to a store
30540
+ * @summary Grant store access
30541
+ * @param {number} storeId Store ID
30542
+ * @param {DataTypesGrantStoreAccessRequest} dataTypesGrantStoreAccessRequest Access details
30543
+ * @param {*} [options] Override http request option.
30544
+ * @throws {RequiredError}
30545
+ */
30546
+ apiV1StoresStoreIdAccessPost(storeId, dataTypesGrantStoreAccessRequest, options) {
30547
+ return __awaiter(this, void 0, void 0, function* () {
30548
+ var _a, _b, _c;
30549
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.apiV1StoresStoreIdAccessPost(storeId, dataTypesGrantStoreAccessRequest, options);
30550
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
30551
+ const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['TeamApi.apiV1StoresStoreIdAccessPost']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
30552
+ return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
30553
+ });
30554
+ },
30555
+ /**
30556
+ * Revokes a user\'s access to a store
30557
+ * @summary Revoke store access
30558
+ * @param {number} storeId Store ID
30559
+ * @param {number} userId User ID
30560
+ * @param {*} [options] Override http request option.
30561
+ * @throws {RequiredError}
30562
+ */
30563
+ apiV1StoresStoreIdAccessUserIdDelete(storeId, userId, options) {
30564
+ return __awaiter(this, void 0, void 0, function* () {
30565
+ var _a, _b, _c;
30566
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.apiV1StoresStoreIdAccessUserIdDelete(storeId, userId, options);
30567
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
30568
+ const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['TeamApi.apiV1StoresStoreIdAccessUserIdDelete']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
30569
+ return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
30570
+ });
30571
+ },
30572
+ /**
30573
+ * Updates a user\'s access level to a store
30574
+ * @summary Update store access level
30575
+ * @param {number} storeId Store ID
30576
+ * @param {number} userId User ID
30577
+ * @param {DataTypesUpdateStoreAccessRequest} dataTypesUpdateStoreAccessRequest New access level
30578
+ * @param {*} [options] Override http request option.
30579
+ * @throws {RequiredError}
30580
+ */
30581
+ apiV1StoresStoreIdAccessUserIdPut(storeId, userId, dataTypesUpdateStoreAccessRequest, options) {
30582
+ return __awaiter(this, void 0, void 0, function* () {
30583
+ var _a, _b, _c;
30584
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.apiV1StoresStoreIdAccessUserIdPut(storeId, userId, dataTypesUpdateStoreAccessRequest, options);
30585
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
30586
+ const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['TeamApi.apiV1StoresStoreIdAccessUserIdPut']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
30587
+ return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
30588
+ });
30589
+ },
30590
+ /**
30591
+ * Retrieves all stores accessible to a user
30592
+ * @summary Get user\'s accessible stores
30593
+ * @param {number} userId User ID
30594
+ * @param {*} [options] Override http request option.
30595
+ * @throws {RequiredError}
30596
+ */
30597
+ apiV1UsersUserIdStoresGet(userId, options) {
30598
+ return __awaiter(this, void 0, void 0, function* () {
30599
+ var _a, _b, _c;
30600
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.apiV1UsersUserIdStoresGet(userId, options);
30601
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
30602
+ const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['TeamApi.apiV1UsersUserIdStoresGet']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
30603
+ return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
30604
+ });
30605
+ },
30606
+ };
30607
+ };
30608
+ exports.TeamApiFp = TeamApiFp;
30609
+ /**
30610
+ * TeamApi - factory interface
30611
+ * @export
30612
+ */
30613
+ const TeamApiFactory = function (configuration, basePath, axios) {
30614
+ const localVarFp = (0, exports.TeamApiFp)(configuration);
30615
+ return {
30616
+ /**
30617
+ * Cancels a pending invitation
30618
+ * @summary Cancel invitation
30619
+ * @param {number} invitationId Invitation ID
30620
+ * @param {*} [options] Override http request option.
30621
+ * @throws {RequiredError}
30622
+ */
30623
+ apiV1InvitationsInvitationIdDelete(invitationId, options) {
30624
+ return localVarFp.apiV1InvitationsInvitationIdDelete(invitationId, options).then((request) => request(axios, basePath));
30625
+ },
30626
+ /**
30627
+ * Accepts a team invitation using token
30628
+ * @summary Accept invitation
30629
+ * @param {string} token Invitation Token
30630
+ * @param {*} [options] Override http request option.
30631
+ * @throws {RequiredError}
30632
+ */
30633
+ apiV1InvitationsTokenAcceptPost(token, options) {
30634
+ return localVarFp.apiV1InvitationsTokenAcceptPost(token, options).then((request) => request(axios, basePath));
30635
+ },
30636
+ /**
30637
+ * Retrieves all pending invitations for an organization
30638
+ * @summary Get pending invitations
30639
+ * @param {number} orgId Organization ID
30640
+ * @param {*} [options] Override http request option.
30641
+ * @throws {RequiredError}
30642
+ */
30643
+ apiV1OrganizationsOrgIdInvitationsGet(orgId, options) {
30644
+ return localVarFp.apiV1OrganizationsOrgIdInvitationsGet(orgId, options).then((request) => request(axios, basePath));
30645
+ },
30646
+ /**
30647
+ * Retrieves all members of an organization with their details
30648
+ * @summary Get all members of an organization
30649
+ * @param {number} orgId Organization ID
30650
+ * @param {*} [options] Override http request option.
30651
+ * @throws {RequiredError}
30652
+ */
30653
+ apiV1OrganizationsOrgIdMembersGet(orgId, options) {
30654
+ return localVarFp.apiV1OrganizationsOrgIdMembersGet(orgId, options).then((request) => request(axios, basePath));
30655
+ },
30656
+ /**
30657
+ * Sends an invitation to a user to join the organization
30658
+ * @summary Invite a member to join organization
30659
+ * @param {number} orgId Organization ID
30660
+ * @param {DataTypesInviteMemberRequest} dataTypesInviteMemberRequest Invitation details
30661
+ * @param {*} [options] Override http request option.
30662
+ * @throws {RequiredError}
30663
+ */
30664
+ apiV1OrganizationsOrgIdMembersInvitePost(orgId, dataTypesInviteMemberRequest, options) {
30665
+ return localVarFp.apiV1OrganizationsOrgIdMembersInvitePost(orgId, dataTypesInviteMemberRequest, options).then((request) => request(axios, basePath));
30666
+ },
30667
+ /**
30668
+ * Removes a member from the organization
30669
+ * @summary Remove member from organization
30670
+ * @param {number} orgId Organization ID
30671
+ * @param {number} memberId Member ID
30672
+ * @param {*} [options] Override http request option.
30673
+ * @throws {RequiredError}
30674
+ */
30675
+ apiV1OrganizationsOrgIdMembersMemberIdDelete(orgId, memberId, options) {
30676
+ return localVarFp.apiV1OrganizationsOrgIdMembersMemberIdDelete(orgId, memberId, options).then((request) => request(axios, basePath));
30677
+ },
30678
+ /**
30679
+ * Updates the role of a member in the organization
30680
+ * @summary Update member role
30681
+ * @param {number} orgId Organization ID
30682
+ * @param {number} memberId Member ID
30683
+ * @param {DataTypesUpdateMemberRoleRequest} dataTypesUpdateMemberRoleRequest New role
30684
+ * @param {*} [options] Override http request option.
30685
+ * @throws {RequiredError}
30686
+ */
30687
+ apiV1OrganizationsOrgIdMembersMemberIdRolePut(orgId, memberId, dataTypesUpdateMemberRoleRequest, options) {
30688
+ return localVarFp.apiV1OrganizationsOrgIdMembersMemberIdRolePut(orgId, memberId, dataTypesUpdateMemberRoleRequest, options).then((request) => request(axios, basePath));
30689
+ },
30690
+ /**
30691
+ * Retrieves all users with access to a store
30692
+ * @summary Get store access list
30693
+ * @param {number} storeId Store ID
30694
+ * @param {*} [options] Override http request option.
30695
+ * @throws {RequiredError}
30696
+ */
30697
+ apiV1StoresStoreIdAccessGet(storeId, options) {
30698
+ return localVarFp.apiV1StoresStoreIdAccessGet(storeId, options).then((request) => request(axios, basePath));
30699
+ },
30700
+ /**
30701
+ * Grants a user access to a store
30702
+ * @summary Grant store access
30703
+ * @param {number} storeId Store ID
30704
+ * @param {DataTypesGrantStoreAccessRequest} dataTypesGrantStoreAccessRequest Access details
30705
+ * @param {*} [options] Override http request option.
30706
+ * @throws {RequiredError}
30707
+ */
30708
+ apiV1StoresStoreIdAccessPost(storeId, dataTypesGrantStoreAccessRequest, options) {
30709
+ return localVarFp.apiV1StoresStoreIdAccessPost(storeId, dataTypesGrantStoreAccessRequest, options).then((request) => request(axios, basePath));
30710
+ },
30711
+ /**
30712
+ * Revokes a user\'s access to a store
30713
+ * @summary Revoke store access
30714
+ * @param {number} storeId Store ID
30715
+ * @param {number} userId User ID
30716
+ * @param {*} [options] Override http request option.
30717
+ * @throws {RequiredError}
30718
+ */
30719
+ apiV1StoresStoreIdAccessUserIdDelete(storeId, userId, options) {
30720
+ return localVarFp.apiV1StoresStoreIdAccessUserIdDelete(storeId, userId, options).then((request) => request(axios, basePath));
30721
+ },
30722
+ /**
30723
+ * Updates a user\'s access level to a store
30724
+ * @summary Update store access level
30725
+ * @param {number} storeId Store ID
30726
+ * @param {number} userId User ID
30727
+ * @param {DataTypesUpdateStoreAccessRequest} dataTypesUpdateStoreAccessRequest New access level
30728
+ * @param {*} [options] Override http request option.
30729
+ * @throws {RequiredError}
30730
+ */
30731
+ apiV1StoresStoreIdAccessUserIdPut(storeId, userId, dataTypesUpdateStoreAccessRequest, options) {
30732
+ return localVarFp.apiV1StoresStoreIdAccessUserIdPut(storeId, userId, dataTypesUpdateStoreAccessRequest, options).then((request) => request(axios, basePath));
30733
+ },
30734
+ /**
30735
+ * Retrieves all stores accessible to a user
30736
+ * @summary Get user\'s accessible stores
30737
+ * @param {number} userId User ID
30738
+ * @param {*} [options] Override http request option.
30739
+ * @throws {RequiredError}
30740
+ */
30741
+ apiV1UsersUserIdStoresGet(userId, options) {
30742
+ return localVarFp.apiV1UsersUserIdStoresGet(userId, options).then((request) => request(axios, basePath));
30743
+ },
30744
+ };
30745
+ };
30746
+ exports.TeamApiFactory = TeamApiFactory;
30747
+ /**
30748
+ * TeamApi - object-oriented interface
30749
+ * @export
30750
+ * @class TeamApi
30751
+ * @extends {BaseAPI}
30752
+ */
30753
+ class TeamApi extends base_1.BaseAPI {
30754
+ /**
30755
+ * Cancels a pending invitation
30756
+ * @summary Cancel invitation
30757
+ * @param {number} invitationId Invitation ID
30758
+ * @param {*} [options] Override http request option.
30759
+ * @throws {RequiredError}
30760
+ * @memberof TeamApi
30761
+ */
30762
+ apiV1InvitationsInvitationIdDelete(invitationId, options) {
30763
+ return (0, exports.TeamApiFp)(this.configuration).apiV1InvitationsInvitationIdDelete(invitationId, options).then((request) => request(this.axios, this.basePath));
30764
+ }
30765
+ /**
30766
+ * Accepts a team invitation using token
30767
+ * @summary Accept invitation
30768
+ * @param {string} token Invitation Token
30769
+ * @param {*} [options] Override http request option.
30770
+ * @throws {RequiredError}
30771
+ * @memberof TeamApi
30772
+ */
30773
+ apiV1InvitationsTokenAcceptPost(token, options) {
30774
+ return (0, exports.TeamApiFp)(this.configuration).apiV1InvitationsTokenAcceptPost(token, options).then((request) => request(this.axios, this.basePath));
30775
+ }
30776
+ /**
30777
+ * Retrieves all pending invitations for an organization
30778
+ * @summary Get pending invitations
30779
+ * @param {number} orgId Organization ID
30780
+ * @param {*} [options] Override http request option.
30781
+ * @throws {RequiredError}
30782
+ * @memberof TeamApi
30783
+ */
30784
+ apiV1OrganizationsOrgIdInvitationsGet(orgId, options) {
30785
+ return (0, exports.TeamApiFp)(this.configuration).apiV1OrganizationsOrgIdInvitationsGet(orgId, options).then((request) => request(this.axios, this.basePath));
30786
+ }
30787
+ /**
30788
+ * Retrieves all members of an organization with their details
30789
+ * @summary Get all members of an organization
30790
+ * @param {number} orgId Organization ID
30791
+ * @param {*} [options] Override http request option.
30792
+ * @throws {RequiredError}
30793
+ * @memberof TeamApi
30794
+ */
30795
+ apiV1OrganizationsOrgIdMembersGet(orgId, options) {
30796
+ return (0, exports.TeamApiFp)(this.configuration).apiV1OrganizationsOrgIdMembersGet(orgId, options).then((request) => request(this.axios, this.basePath));
30797
+ }
30798
+ /**
30799
+ * Sends an invitation to a user to join the organization
30800
+ * @summary Invite a member to join organization
30801
+ * @param {number} orgId Organization ID
30802
+ * @param {DataTypesInviteMemberRequest} dataTypesInviteMemberRequest Invitation details
30803
+ * @param {*} [options] Override http request option.
30804
+ * @throws {RequiredError}
30805
+ * @memberof TeamApi
30806
+ */
30807
+ apiV1OrganizationsOrgIdMembersInvitePost(orgId, dataTypesInviteMemberRequest, options) {
30808
+ return (0, exports.TeamApiFp)(this.configuration).apiV1OrganizationsOrgIdMembersInvitePost(orgId, dataTypesInviteMemberRequest, options).then((request) => request(this.axios, this.basePath));
30809
+ }
30810
+ /**
30811
+ * Removes a member from the organization
30812
+ * @summary Remove member from organization
30813
+ * @param {number} orgId Organization ID
30814
+ * @param {number} memberId Member ID
30815
+ * @param {*} [options] Override http request option.
30816
+ * @throws {RequiredError}
30817
+ * @memberof TeamApi
30818
+ */
30819
+ apiV1OrganizationsOrgIdMembersMemberIdDelete(orgId, memberId, options) {
30820
+ return (0, exports.TeamApiFp)(this.configuration).apiV1OrganizationsOrgIdMembersMemberIdDelete(orgId, memberId, options).then((request) => request(this.axios, this.basePath));
30821
+ }
30822
+ /**
30823
+ * Updates the role of a member in the organization
30824
+ * @summary Update member role
30825
+ * @param {number} orgId Organization ID
30826
+ * @param {number} memberId Member ID
30827
+ * @param {DataTypesUpdateMemberRoleRequest} dataTypesUpdateMemberRoleRequest New role
30828
+ * @param {*} [options] Override http request option.
30829
+ * @throws {RequiredError}
30830
+ * @memberof TeamApi
30831
+ */
30832
+ apiV1OrganizationsOrgIdMembersMemberIdRolePut(orgId, memberId, dataTypesUpdateMemberRoleRequest, options) {
30833
+ return (0, exports.TeamApiFp)(this.configuration).apiV1OrganizationsOrgIdMembersMemberIdRolePut(orgId, memberId, dataTypesUpdateMemberRoleRequest, options).then((request) => request(this.axios, this.basePath));
30834
+ }
30835
+ /**
30836
+ * Retrieves all users with access to a store
30837
+ * @summary Get store access list
30838
+ * @param {number} storeId Store ID
30839
+ * @param {*} [options] Override http request option.
30840
+ * @throws {RequiredError}
30841
+ * @memberof TeamApi
30842
+ */
30843
+ apiV1StoresStoreIdAccessGet(storeId, options) {
30844
+ return (0, exports.TeamApiFp)(this.configuration).apiV1StoresStoreIdAccessGet(storeId, options).then((request) => request(this.axios, this.basePath));
30845
+ }
30846
+ /**
30847
+ * Grants a user access to a store
30848
+ * @summary Grant store access
30849
+ * @param {number} storeId Store ID
30850
+ * @param {DataTypesGrantStoreAccessRequest} dataTypesGrantStoreAccessRequest Access details
30851
+ * @param {*} [options] Override http request option.
30852
+ * @throws {RequiredError}
30853
+ * @memberof TeamApi
30854
+ */
30855
+ apiV1StoresStoreIdAccessPost(storeId, dataTypesGrantStoreAccessRequest, options) {
30856
+ return (0, exports.TeamApiFp)(this.configuration).apiV1StoresStoreIdAccessPost(storeId, dataTypesGrantStoreAccessRequest, options).then((request) => request(this.axios, this.basePath));
30857
+ }
30858
+ /**
30859
+ * Revokes a user\'s access to a store
30860
+ * @summary Revoke store access
30861
+ * @param {number} storeId Store ID
30862
+ * @param {number} userId User ID
30863
+ * @param {*} [options] Override http request option.
30864
+ * @throws {RequiredError}
30865
+ * @memberof TeamApi
30866
+ */
30867
+ apiV1StoresStoreIdAccessUserIdDelete(storeId, userId, options) {
30868
+ return (0, exports.TeamApiFp)(this.configuration).apiV1StoresStoreIdAccessUserIdDelete(storeId, userId, options).then((request) => request(this.axios, this.basePath));
30869
+ }
30870
+ /**
30871
+ * Updates a user\'s access level to a store
30872
+ * @summary Update store access level
30873
+ * @param {number} storeId Store ID
30874
+ * @param {number} userId User ID
30875
+ * @param {DataTypesUpdateStoreAccessRequest} dataTypesUpdateStoreAccessRequest New access level
30876
+ * @param {*} [options] Override http request option.
30877
+ * @throws {RequiredError}
30878
+ * @memberof TeamApi
30879
+ */
30880
+ apiV1StoresStoreIdAccessUserIdPut(storeId, userId, dataTypesUpdateStoreAccessRequest, options) {
30881
+ return (0, exports.TeamApiFp)(this.configuration).apiV1StoresStoreIdAccessUserIdPut(storeId, userId, dataTypesUpdateStoreAccessRequest, options).then((request) => request(this.axios, this.basePath));
30882
+ }
30883
+ /**
30884
+ * Retrieves all stores accessible to a user
30885
+ * @summary Get user\'s accessible stores
30886
+ * @param {number} userId User ID
30887
+ * @param {*} [options] Override http request option.
30888
+ * @throws {RequiredError}
30889
+ * @memberof TeamApi
30890
+ */
30891
+ apiV1UsersUserIdStoresGet(userId, options) {
30892
+ return (0, exports.TeamApiFp)(this.configuration).apiV1UsersUserIdStoresGet(userId, options).then((request) => request(this.axios, this.basePath));
30893
+ }
30894
+ }
30895
+ exports.TeamApi = TeamApi;
30813
30896
  /**
30814
30897
  * UserApi - axios parameter creator
30815
30898
  * @export