@seekora-ai/admin-api 1.1.12 → 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/esm/api.js CHANGED
@@ -125,6 +125,15 @@ export const DataTypesCreateTaskRequestTypeEnum = {
125
125
  Manual: 'manual',
126
126
  PluginConnector: 'plugin_connector'
127
127
  };
128
+ export const DataTypesGrantStoreAccessRequestAccessLevelEnum = {
129
+ Read: 'read',
130
+ Write: 'write',
131
+ Admin: 'admin'
132
+ };
133
+ export const DataTypesInviteMemberRequestMemberRoleEnum = {
134
+ Admin: 'admin',
135
+ Member: 'member'
136
+ };
128
137
  export const DataTypesProcessRefundRequestDtoRefundTypeEnum = {
129
138
  Full: 'full',
130
139
  Partial: 'partial',
@@ -139,10 +148,25 @@ export const DataTypesRefundCalculationRequestDtoRefundTypeEnum = {
139
148
  Partial: 'partial',
140
149
  RemainingCredits: 'remaining_credits'
141
150
  };
151
+ export const DataTypesStoreAccessRequestAccessLevelEnum = {
152
+ Read: 'read',
153
+ Write: 'write',
154
+ Admin: 'admin'
155
+ };
156
+ export const DataTypesUpdateMemberRoleRequestMemberRoleEnum = {
157
+ Owner: 'owner',
158
+ Admin: 'admin',
159
+ Member: 'member'
160
+ };
142
161
  export const DataTypesUpdatePluralDeclensionRequestTypeEnum = {
143
162
  Custom: 'custom',
144
163
  Default: 'default'
145
164
  };
165
+ export const DataTypesUpdateStoreAccessRequestAccessLevelEnum = {
166
+ Read: 'read',
167
+ Write: 'write',
168
+ Admin: 'admin'
169
+ };
146
170
  export const DataTypesUpdateWordStatusRequestWordTypeEnum = {
147
171
  Default: 'default',
148
172
  StoreLanguage: 'store_language',
@@ -2284,145 +2308,6 @@ export const AnalyticsApiAxiosParamCreator = function (configuration) {
2284
2308
  options: localVarRequestOptions,
2285
2309
  };
2286
2310
  }),
2287
- /**
2288
- * 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
2289
- * @summary Get Query Insights
2290
- * @param {string} xStoreID Store ID
2291
- * @param {string} query Search query to analyze
2292
- * @param {string} [startTime] Start time in RFC3339 format
2293
- * @param {string} [endTime] End time in RFC3339 format
2294
- * @param {string} [analyticsTags] Comma-separated analytics tags to filter (e.g., \'campaign:summer,source:email\')
2295
- * @param {AdminAnalyticsStoreXStoreIDQueriesQueryInsightsGetTagsMatchModeEnum} [tagsMatchMode] How to match multiple analytics tags
2296
- * @param {string} [tagsExclude] Comma-separated analytics tags to exclude
2297
- * @param {string} [tagKeyFilter] Filter by tag key pattern (matches tags starting with key:)
2298
- * @param {string} [tagValueFilter] Filter by tag value pattern (matches tags ending with :value)
2299
- * @param {string} [search] Search term to filter popular results, filters, and geo analytics (case-insensitive partial match)
2300
- * @param {boolean} [compareMode] Enable comparison mode to compare with another time period/tag set
2301
- * @param {string} [compareStartTime] Comparison period start time in RFC3339 format
2302
- * @param {string} [compareEndTime] Comparison period end time in RFC3339 format
2303
- * @param {string} [compareAnalyticsTags] Comma-separated analytics tags for comparison period
2304
- * @param {AdminAnalyticsStoreXStoreIDQueriesQueryInsightsGetCompareTagsMatchModeEnum} [compareTagsMatchMode] How to match comparison analytics tags
2305
- * @param {string} [compareTagsExclude] Comma-separated analytics tags to exclude in comparison
2306
- * @param {string} [compareTagKeyFilter] Tag key filter for comparison period
2307
- * @param {string} [compareTagValueFilter] Tag value filter for comparison period
2308
- * @param {number} [resultsPage] Page number for popular results pagination
2309
- * @param {number} [resultsPageSize] Number of results per page for popular results
2310
- * @param {string} [resultsSearch] Search term to filter popular results (case-insensitive partial match on item IDs)
2311
- * @param {number} [filtersPage] Page number for popular filters pagination
2312
- * @param {number} [filtersPageSize] Number of filters per page
2313
- * @param {string} [filtersSearch] Search term to filter popular filters (case-insensitive partial match on filter keys/values)
2314
- * @param {number} [geoPage] Page number for geo analytics pagination
2315
- * @param {number} [geoPageSize] Number of geo locations per page
2316
- * @param {string} [geoSearch] Search term to filter geo analytics (case-insensitive partial match on country/region/city)
2317
- * @param {boolean} [includeWidget] Whether to include widget display fields for popular results
2318
- * @param {*} [options] Override http request option.
2319
- * @throws {RequiredError}
2320
- */
2321
- 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 = {}) {
2322
- // verify required parameter 'xStoreID' is not null or undefined
2323
- assertParamExists('adminAnalyticsStoreXStoreIDQueriesQueryInsightsGet', 'xStoreID', xStoreID);
2324
- // verify required parameter 'query' is not null or undefined
2325
- assertParamExists('adminAnalyticsStoreXStoreIDQueriesQueryInsightsGet', 'query', query);
2326
- const localVarPath = `/admin/analytics/store/{xStoreID}/queries/{query}/insights`
2327
- .replace(`{${"xStoreID"}}`, encodeURIComponent(String(xStoreID)))
2328
- .replace(`{${"query"}}`, encodeURIComponent(String(query)));
2329
- // use dummy base URL string because the URL constructor only accepts absolute URLs.
2330
- const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
2331
- let baseOptions;
2332
- if (configuration) {
2333
- baseOptions = configuration.baseOptions;
2334
- }
2335
- const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
2336
- const localVarHeaderParameter = {};
2337
- const localVarQueryParameter = {};
2338
- // authentication BearerAuth required
2339
- yield setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
2340
- if (startTime !== undefined) {
2341
- localVarQueryParameter['start_time'] = startTime;
2342
- }
2343
- if (endTime !== undefined) {
2344
- localVarQueryParameter['end_time'] = endTime;
2345
- }
2346
- if (analyticsTags !== undefined) {
2347
- localVarQueryParameter['analytics_tags'] = analyticsTags;
2348
- }
2349
- if (tagsMatchMode !== undefined) {
2350
- localVarQueryParameter['tags_match_mode'] = tagsMatchMode;
2351
- }
2352
- if (tagsExclude !== undefined) {
2353
- localVarQueryParameter['tags_exclude'] = tagsExclude;
2354
- }
2355
- if (tagKeyFilter !== undefined) {
2356
- localVarQueryParameter['tag_key_filter'] = tagKeyFilter;
2357
- }
2358
- if (tagValueFilter !== undefined) {
2359
- localVarQueryParameter['tag_value_filter'] = tagValueFilter;
2360
- }
2361
- if (search !== undefined) {
2362
- localVarQueryParameter['search'] = search;
2363
- }
2364
- if (compareMode !== undefined) {
2365
- localVarQueryParameter['compare_mode'] = compareMode;
2366
- }
2367
- if (compareStartTime !== undefined) {
2368
- localVarQueryParameter['compare_start_time'] = compareStartTime;
2369
- }
2370
- if (compareEndTime !== undefined) {
2371
- localVarQueryParameter['compare_end_time'] = compareEndTime;
2372
- }
2373
- if (compareAnalyticsTags !== undefined) {
2374
- localVarQueryParameter['compare_analytics_tags'] = compareAnalyticsTags;
2375
- }
2376
- if (compareTagsMatchMode !== undefined) {
2377
- localVarQueryParameter['compare_tags_match_mode'] = compareTagsMatchMode;
2378
- }
2379
- if (compareTagsExclude !== undefined) {
2380
- localVarQueryParameter['compare_tags_exclude'] = compareTagsExclude;
2381
- }
2382
- if (compareTagKeyFilter !== undefined) {
2383
- localVarQueryParameter['compare_tag_key_filter'] = compareTagKeyFilter;
2384
- }
2385
- if (compareTagValueFilter !== undefined) {
2386
- localVarQueryParameter['compare_tag_value_filter'] = compareTagValueFilter;
2387
- }
2388
- if (resultsPage !== undefined) {
2389
- localVarQueryParameter['results_page'] = resultsPage;
2390
- }
2391
- if (resultsPageSize !== undefined) {
2392
- localVarQueryParameter['results_page_size'] = resultsPageSize;
2393
- }
2394
- if (resultsSearch !== undefined) {
2395
- localVarQueryParameter['results_search'] = resultsSearch;
2396
- }
2397
- if (filtersPage !== undefined) {
2398
- localVarQueryParameter['filters_page'] = filtersPage;
2399
- }
2400
- if (filtersPageSize !== undefined) {
2401
- localVarQueryParameter['filters_page_size'] = filtersPageSize;
2402
- }
2403
- if (filtersSearch !== undefined) {
2404
- localVarQueryParameter['filters_search'] = filtersSearch;
2405
- }
2406
- if (geoPage !== undefined) {
2407
- localVarQueryParameter['geo_page'] = geoPage;
2408
- }
2409
- if (geoPageSize !== undefined) {
2410
- localVarQueryParameter['geo_page_size'] = geoPageSize;
2411
- }
2412
- if (geoSearch !== undefined) {
2413
- localVarQueryParameter['geo_search'] = geoSearch;
2414
- }
2415
- if (includeWidget !== undefined) {
2416
- localVarQueryParameter['include_widget'] = includeWidget;
2417
- }
2418
- setSearchParams(localVarUrlObj, localVarQueryParameter);
2419
- let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
2420
- localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
2421
- return {
2422
- url: toPathString(localVarUrlObj),
2423
- options: localVarRequestOptions,
2424
- };
2425
- }),
2426
2311
  /**
2427
2312
  * 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.
2428
2313
  * @summary Get Top Results Analytics
@@ -3234,49 +3119,6 @@ export const AnalyticsApiFp = function (configuration) {
3234
3119
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
3235
3120
  });
3236
3121
  },
3237
- /**
3238
- * 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
3239
- * @summary Get Query Insights
3240
- * @param {string} xStoreID Store ID
3241
- * @param {string} query Search query to analyze
3242
- * @param {string} [startTime] Start time in RFC3339 format
3243
- * @param {string} [endTime] End time in RFC3339 format
3244
- * @param {string} [analyticsTags] Comma-separated analytics tags to filter (e.g., \'campaign:summer,source:email\')
3245
- * @param {AdminAnalyticsStoreXStoreIDQueriesQueryInsightsGetTagsMatchModeEnum} [tagsMatchMode] How to match multiple analytics tags
3246
- * @param {string} [tagsExclude] Comma-separated analytics tags to exclude
3247
- * @param {string} [tagKeyFilter] Filter by tag key pattern (matches tags starting with key:)
3248
- * @param {string} [tagValueFilter] Filter by tag value pattern (matches tags ending with :value)
3249
- * @param {string} [search] Search term to filter popular results, filters, and geo analytics (case-insensitive partial match)
3250
- * @param {boolean} [compareMode] Enable comparison mode to compare with another time period/tag set
3251
- * @param {string} [compareStartTime] Comparison period start time in RFC3339 format
3252
- * @param {string} [compareEndTime] Comparison period end time in RFC3339 format
3253
- * @param {string} [compareAnalyticsTags] Comma-separated analytics tags for comparison period
3254
- * @param {AdminAnalyticsStoreXStoreIDQueriesQueryInsightsGetCompareTagsMatchModeEnum} [compareTagsMatchMode] How to match comparison analytics tags
3255
- * @param {string} [compareTagsExclude] Comma-separated analytics tags to exclude in comparison
3256
- * @param {string} [compareTagKeyFilter] Tag key filter for comparison period
3257
- * @param {string} [compareTagValueFilter] Tag value filter for comparison period
3258
- * @param {number} [resultsPage] Page number for popular results pagination
3259
- * @param {number} [resultsPageSize] Number of results per page for popular results
3260
- * @param {string} [resultsSearch] Search term to filter popular results (case-insensitive partial match on item IDs)
3261
- * @param {number} [filtersPage] Page number for popular filters pagination
3262
- * @param {number} [filtersPageSize] Number of filters per page
3263
- * @param {string} [filtersSearch] Search term to filter popular filters (case-insensitive partial match on filter keys/values)
3264
- * @param {number} [geoPage] Page number for geo analytics pagination
3265
- * @param {number} [geoPageSize] Number of geo locations per page
3266
- * @param {string} [geoSearch] Search term to filter geo analytics (case-insensitive partial match on country/region/city)
3267
- * @param {boolean} [includeWidget] Whether to include widget display fields for popular results
3268
- * @param {*} [options] Override http request option.
3269
- * @throws {RequiredError}
3270
- */
3271
- 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) {
3272
- return __awaiter(this, void 0, void 0, function* () {
3273
- var _a, _b, _c;
3274
- 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);
3275
- const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
3276
- const localVarOperationServerBasePath = (_c = (_b = operationServerMap['AnalyticsApi.adminAnalyticsStoreXStoreIDQueriesQueryInsightsGet']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
3277
- return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
3278
- });
3279
- },
3280
3122
  /**
3281
3123
  * 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.
3282
3124
  * @summary Get Top Results Analytics
@@ -3753,43 +3595,6 @@ export const AnalyticsApiFactory = function (configuration, basePath, axios) {
3753
3595
  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) {
3754
3596
  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));
3755
3597
  },
3756
- /**
3757
- * 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
3758
- * @summary Get Query Insights
3759
- * @param {string} xStoreID Store ID
3760
- * @param {string} query Search query to analyze
3761
- * @param {string} [startTime] Start time in RFC3339 format
3762
- * @param {string} [endTime] End time in RFC3339 format
3763
- * @param {string} [analyticsTags] Comma-separated analytics tags to filter (e.g., \'campaign:summer,source:email\')
3764
- * @param {AdminAnalyticsStoreXStoreIDQueriesQueryInsightsGetTagsMatchModeEnum} [tagsMatchMode] How to match multiple analytics tags
3765
- * @param {string} [tagsExclude] Comma-separated analytics tags to exclude
3766
- * @param {string} [tagKeyFilter] Filter by tag key pattern (matches tags starting with key:)
3767
- * @param {string} [tagValueFilter] Filter by tag value pattern (matches tags ending with :value)
3768
- * @param {string} [search] Search term to filter popular results, filters, and geo analytics (case-insensitive partial match)
3769
- * @param {boolean} [compareMode] Enable comparison mode to compare with another time period/tag set
3770
- * @param {string} [compareStartTime] Comparison period start time in RFC3339 format
3771
- * @param {string} [compareEndTime] Comparison period end time in RFC3339 format
3772
- * @param {string} [compareAnalyticsTags] Comma-separated analytics tags for comparison period
3773
- * @param {AdminAnalyticsStoreXStoreIDQueriesQueryInsightsGetCompareTagsMatchModeEnum} [compareTagsMatchMode] How to match comparison analytics tags
3774
- * @param {string} [compareTagsExclude] Comma-separated analytics tags to exclude in comparison
3775
- * @param {string} [compareTagKeyFilter] Tag key filter for comparison period
3776
- * @param {string} [compareTagValueFilter] Tag value filter for comparison period
3777
- * @param {number} [resultsPage] Page number for popular results pagination
3778
- * @param {number} [resultsPageSize] Number of results per page for popular results
3779
- * @param {string} [resultsSearch] Search term to filter popular results (case-insensitive partial match on item IDs)
3780
- * @param {number} [filtersPage] Page number for popular filters pagination
3781
- * @param {number} [filtersPageSize] Number of filters per page
3782
- * @param {string} [filtersSearch] Search term to filter popular filters (case-insensitive partial match on filter keys/values)
3783
- * @param {number} [geoPage] Page number for geo analytics pagination
3784
- * @param {number} [geoPageSize] Number of geo locations per page
3785
- * @param {string} [geoSearch] Search term to filter geo analytics (case-insensitive partial match on country/region/city)
3786
- * @param {boolean} [includeWidget] Whether to include widget display fields for popular results
3787
- * @param {*} [options] Override http request option.
3788
- * @throws {RequiredError}
3789
- */
3790
- 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) {
3791
- 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));
3792
- },
3793
3598
  /**
3794
3599
  * 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.
3795
3600
  * @summary Get Top Results Analytics
@@ -4250,44 +4055,6 @@ export class AnalyticsApi extends BaseAPI {
4250
4055
  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) {
4251
4056
  return 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));
4252
4057
  }
4253
- /**
4254
- * 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
4255
- * @summary Get Query Insights
4256
- * @param {string} xStoreID Store ID
4257
- * @param {string} query Search query to analyze
4258
- * @param {string} [startTime] Start time in RFC3339 format
4259
- * @param {string} [endTime] End time in RFC3339 format
4260
- * @param {string} [analyticsTags] Comma-separated analytics tags to filter (e.g., \'campaign:summer,source:email\')
4261
- * @param {AdminAnalyticsStoreXStoreIDQueriesQueryInsightsGetTagsMatchModeEnum} [tagsMatchMode] How to match multiple analytics tags
4262
- * @param {string} [tagsExclude] Comma-separated analytics tags to exclude
4263
- * @param {string} [tagKeyFilter] Filter by tag key pattern (matches tags starting with key:)
4264
- * @param {string} [tagValueFilter] Filter by tag value pattern (matches tags ending with :value)
4265
- * @param {string} [search] Search term to filter popular results, filters, and geo analytics (case-insensitive partial match)
4266
- * @param {boolean} [compareMode] Enable comparison mode to compare with another time period/tag set
4267
- * @param {string} [compareStartTime] Comparison period start time in RFC3339 format
4268
- * @param {string} [compareEndTime] Comparison period end time in RFC3339 format
4269
- * @param {string} [compareAnalyticsTags] Comma-separated analytics tags for comparison period
4270
- * @param {AdminAnalyticsStoreXStoreIDQueriesQueryInsightsGetCompareTagsMatchModeEnum} [compareTagsMatchMode] How to match comparison analytics tags
4271
- * @param {string} [compareTagsExclude] Comma-separated analytics tags to exclude in comparison
4272
- * @param {string} [compareTagKeyFilter] Tag key filter for comparison period
4273
- * @param {string} [compareTagValueFilter] Tag value filter for comparison period
4274
- * @param {number} [resultsPage] Page number for popular results pagination
4275
- * @param {number} [resultsPageSize] Number of results per page for popular results
4276
- * @param {string} [resultsSearch] Search term to filter popular results (case-insensitive partial match on item IDs)
4277
- * @param {number} [filtersPage] Page number for popular filters pagination
4278
- * @param {number} [filtersPageSize] Number of filters per page
4279
- * @param {string} [filtersSearch] Search term to filter popular filters (case-insensitive partial match on filter keys/values)
4280
- * @param {number} [geoPage] Page number for geo analytics pagination
4281
- * @param {number} [geoPageSize] Number of geo locations per page
4282
- * @param {string} [geoSearch] Search term to filter geo analytics (case-insensitive partial match on country/region/city)
4283
- * @param {boolean} [includeWidget] Whether to include widget display fields for popular results
4284
- * @param {*} [options] Override http request option.
4285
- * @throws {RequiredError}
4286
- * @memberof AnalyticsApi
4287
- */
4288
- 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) {
4289
- return 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));
4290
- }
4291
4058
  /**
4292
4059
  * 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.
4293
4060
  * @summary Get Top Results Analytics
@@ -4676,20 +4443,6 @@ export const AdminAnalyticsStoreXStoreIDQueriesNoResultsGetSortOrderEnum = {
4676
4443
  Asc: 'asc',
4677
4444
  Desc: 'desc'
4678
4445
  };
4679
- /**
4680
- * @export
4681
- */
4682
- export const AdminAnalyticsStoreXStoreIDQueriesQueryInsightsGetTagsMatchModeEnum = {
4683
- Any: 'any',
4684
- All: 'all'
4685
- };
4686
- /**
4687
- * @export
4688
- */
4689
- export const AdminAnalyticsStoreXStoreIDQueriesQueryInsightsGetCompareTagsMatchModeEnum = {
4690
- Any: 'any',
4691
- All: 'all'
4692
- };
4693
4446
  /**
4694
4447
  * @export
4695
4448
  */
@@ -14639,33 +14392,6 @@ export const LimitsApiAxiosParamCreator = function (configuration) {
14639
14392
  options: localVarRequestOptions,
14640
14393
  };
14641
14394
  }),
14642
- /**
14643
- * Fetches list of all limits
14644
- * @summary Fetches list of all limits
14645
- * @param {*} [options] Override http request option.
14646
- * @throws {RequiredError}
14647
- */
14648
- miscLimitsGet: (...args_1) => __awaiter(this, [...args_1], void 0, function* (options = {}) {
14649
- const localVarPath = `/misc/limits`;
14650
- // use dummy base URL string because the URL constructor only accepts absolute URLs.
14651
- const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
14652
- let baseOptions;
14653
- if (configuration) {
14654
- baseOptions = configuration.baseOptions;
14655
- }
14656
- const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
14657
- const localVarHeaderParameter = {};
14658
- const localVarQueryParameter = {};
14659
- // authentication BearerAuth required
14660
- yield setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
14661
- setSearchParams(localVarUrlObj, localVarQueryParameter);
14662
- let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
14663
- localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
14664
- return {
14665
- url: toPathString(localVarUrlObj),
14666
- options: localVarRequestOptions,
14667
- };
14668
- }),
14669
14395
  /**
14670
14396
  * Fetches limit by id
14671
14397
  * @summary Fetches limit by id
@@ -14791,21 +14517,6 @@ export const LimitsApiFp = function (configuration) {
14791
14517
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
14792
14518
  });
14793
14519
  },
14794
- /**
14795
- * Fetches list of all limits
14796
- * @summary Fetches list of all limits
14797
- * @param {*} [options] Override http request option.
14798
- * @throws {RequiredError}
14799
- */
14800
- miscLimitsGet(options) {
14801
- return __awaiter(this, void 0, void 0, function* () {
14802
- var _a, _b, _c;
14803
- const localVarAxiosArgs = yield localVarAxiosParamCreator.miscLimitsGet(options);
14804
- const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
14805
- const localVarOperationServerBasePath = (_c = (_b = operationServerMap['LimitsApi.miscLimitsGet']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
14806
- return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
14807
- });
14808
- },
14809
14520
  /**
14810
14521
  * Fetches limit by id
14811
14522
  * @summary Fetches limit by id
@@ -14875,15 +14586,6 @@ export const LimitsApiFactory = function (configuration, basePath, axios) {
14875
14586
  miscLimitsChangeStatusLimitIDIsActivePut(limitID, isActive, options) {
14876
14587
  return localVarFp.miscLimitsChangeStatusLimitIDIsActivePut(limitID, isActive, options).then((request) => request(axios, basePath));
14877
14588
  },
14878
- /**
14879
- * Fetches list of all limits
14880
- * @summary Fetches list of all limits
14881
- * @param {*} [options] Override http request option.
14882
- * @throws {RequiredError}
14883
- */
14884
- miscLimitsGet(options) {
14885
- return localVarFp.miscLimitsGet(options).then((request) => request(axios, basePath));
14886
- },
14887
14589
  /**
14888
14590
  * Fetches limit by id
14889
14591
  * @summary Fetches limit by id
@@ -14936,16 +14638,6 @@ export class LimitsApi extends BaseAPI {
14936
14638
  miscLimitsChangeStatusLimitIDIsActivePut(limitID, isActive, options) {
14937
14639
  return LimitsApiFp(this.configuration).miscLimitsChangeStatusLimitIDIsActivePut(limitID, isActive, options).then((request) => request(this.axios, this.basePath));
14938
14640
  }
14939
- /**
14940
- * Fetches list of all limits
14941
- * @summary Fetches list of all limits
14942
- * @param {*} [options] Override http request option.
14943
- * @throws {RequiredError}
14944
- * @memberof LimitsApi
14945
- */
14946
- miscLimitsGet(options) {
14947
- return LimitsApiFp(this.configuration).miscLimitsGet(options).then((request) => request(this.axios, this.basePath));
14948
- }
14949
14641
  /**
14950
14642
  * Fetches limit by id
14951
14643
  * @summary Fetches limit by id
@@ -14988,36 +14680,9 @@ export class LimitsApi extends BaseAPI {
14988
14680
  export const MenusApiAxiosParamCreator = function (configuration) {
14989
14681
  return {
14990
14682
  /**
14991
- * Fetches list of all menus
14992
- * @summary Fetches list of all menus
14993
- * @param {*} [options] Override http request option.
14994
- * @throws {RequiredError}
14995
- */
14996
- miscMenusGet: (...args_1) => __awaiter(this, [...args_1], void 0, function* (options = {}) {
14997
- const localVarPath = `/misc/menus`;
14998
- // use dummy base URL string because the URL constructor only accepts absolute URLs.
14999
- const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
15000
- let baseOptions;
15001
- if (configuration) {
15002
- baseOptions = configuration.baseOptions;
15003
- }
15004
- const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
15005
- const localVarHeaderParameter = {};
15006
- const localVarQueryParameter = {};
15007
- // authentication BearerAuth required
15008
- yield setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
15009
- setSearchParams(localVarUrlObj, localVarQueryParameter);
15010
- let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
15011
- localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
15012
- return {
15013
- url: toPathString(localVarUrlObj),
15014
- options: localVarRequestOptions,
15015
- };
15016
- }),
15017
- /**
15018
- * Deletes a menu from the system by ID.
15019
- * @summary Delete a menu
15020
- * @param {number} id Menu ID
14683
+ * Deletes a menu from the system by ID.
14684
+ * @summary Delete a menu
14685
+ * @param {number} id Menu ID
15021
14686
  * @param {*} [options] Override http request option.
15022
14687
  * @throws {RequiredError}
15023
14688
  */
@@ -15464,21 +15129,6 @@ export const MenusApiAxiosParamCreator = function (configuration) {
15464
15129
  export const MenusApiFp = function (configuration) {
15465
15130
  const localVarAxiosParamCreator = MenusApiAxiosParamCreator(configuration);
15466
15131
  return {
15467
- /**
15468
- * Fetches list of all menus
15469
- * @summary Fetches list of all menus
15470
- * @param {*} [options] Override http request option.
15471
- * @throws {RequiredError}
15472
- */
15473
- miscMenusGet(options) {
15474
- return __awaiter(this, void 0, void 0, function* () {
15475
- var _a, _b, _c;
15476
- const localVarAxiosArgs = yield localVarAxiosParamCreator.miscMenusGet(options);
15477
- const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
15478
- const localVarOperationServerBasePath = (_c = (_b = operationServerMap['MenusApi.miscMenusGet']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
15479
- return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
15480
- });
15481
- },
15482
15132
  /**
15483
15133
  * Deletes a menu from the system by ID.
15484
15134
  * @summary Delete a menu
@@ -15704,15 +15354,6 @@ export const MenusApiFp = function (configuration) {
15704
15354
  export const MenusApiFactory = function (configuration, basePath, axios) {
15705
15355
  const localVarFp = MenusApiFp(configuration);
15706
15356
  return {
15707
- /**
15708
- * Fetches list of all menus
15709
- * @summary Fetches list of all menus
15710
- * @param {*} [options] Override http request option.
15711
- * @throws {RequiredError}
15712
- */
15713
- miscMenusGet(options) {
15714
- return localVarFp.miscMenusGet(options).then((request) => request(axios, basePath));
15715
- },
15716
15357
  /**
15717
15358
  * Deletes a menu from the system by ID.
15718
15359
  * @summary Delete a menu
@@ -15860,16 +15501,6 @@ export const MenusApiFactory = function (configuration, basePath, axios) {
15860
15501
  * @extends {BaseAPI}
15861
15502
  */
15862
15503
  export class MenusApi extends BaseAPI {
15863
- /**
15864
- * Fetches list of all menus
15865
- * @summary Fetches list of all menus
15866
- * @param {*} [options] Override http request option.
15867
- * @throws {RequiredError}
15868
- * @memberof MenusApi
15869
- */
15870
- miscMenusGet(options) {
15871
- return MenusApiFp(this.configuration).miscMenusGet(options).then((request) => request(this.axios, this.basePath));
15872
- }
15873
15504
  /**
15874
15505
  * Deletes a menu from the system by ID.
15875
15506
  * @summary Delete a menu
@@ -16841,33 +16472,6 @@ export class MongoDbApi extends BaseAPI {
16841
16472
  */
16842
16473
  export const NewsLettersApiAxiosParamCreator = function (configuration) {
16843
16474
  return {
16844
- /**
16845
- * Fetches list of all NewsLetterSubscription
16846
- * @summary Fetches list of all NewsLetterSubscription
16847
- * @param {*} [options] Override http request option.
16848
- * @throws {RequiredError}
16849
- */
16850
- miscNewsLettersGet: (...args_1) => __awaiter(this, [...args_1], void 0, function* (options = {}) {
16851
- const localVarPath = `/misc/NewsLetters`;
16852
- // use dummy base URL string because the URL constructor only accepts absolute URLs.
16853
- const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
16854
- let baseOptions;
16855
- if (configuration) {
16856
- baseOptions = configuration.baseOptions;
16857
- }
16858
- const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
16859
- const localVarHeaderParameter = {};
16860
- const localVarQueryParameter = {};
16861
- // authentication BearerAuth required
16862
- yield setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
16863
- setSearchParams(localVarUrlObj, localVarQueryParameter);
16864
- let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
16865
- localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
16866
- return {
16867
- url: toPathString(localVarUrlObj),
16868
- options: localVarRequestOptions,
16869
- };
16870
- }),
16871
16475
  /**
16872
16476
  * Fetches NewsLetterSubscription by id
16873
16477
  * @summary Fetches NewsLetterSubscription by id
@@ -17011,21 +16615,6 @@ export const NewsLettersApiAxiosParamCreator = function (configuration) {
17011
16615
  export const NewsLettersApiFp = function (configuration) {
17012
16616
  const localVarAxiosParamCreator = NewsLettersApiAxiosParamCreator(configuration);
17013
16617
  return {
17014
- /**
17015
- * Fetches list of all NewsLetterSubscription
17016
- * @summary Fetches list of all NewsLetterSubscription
17017
- * @param {*} [options] Override http request option.
17018
- * @throws {RequiredError}
17019
- */
17020
- miscNewsLettersGet(options) {
17021
- return __awaiter(this, void 0, void 0, function* () {
17022
- var _a, _b, _c;
17023
- const localVarAxiosArgs = yield localVarAxiosParamCreator.miscNewsLettersGet(options);
17024
- const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
17025
- const localVarOperationServerBasePath = (_c = (_b = operationServerMap['NewsLettersApi.miscNewsLettersGet']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
17026
- return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
17027
- });
17028
- },
17029
16618
  /**
17030
16619
  * Fetches NewsLetterSubscription by id
17031
16620
  * @summary Fetches NewsLetterSubscription by id
@@ -17101,15 +16690,6 @@ export const NewsLettersApiFp = function (configuration) {
17101
16690
  export const NewsLettersApiFactory = function (configuration, basePath, axios) {
17102
16691
  const localVarFp = NewsLettersApiFp(configuration);
17103
16692
  return {
17104
- /**
17105
- * Fetches list of all NewsLetterSubscription
17106
- * @summary Fetches list of all NewsLetterSubscription
17107
- * @param {*} [options] Override http request option.
17108
- * @throws {RequiredError}
17109
- */
17110
- miscNewsLettersGet(options) {
17111
- return localVarFp.miscNewsLettersGet(options).then((request) => request(axios, basePath));
17112
- },
17113
16693
  /**
17114
16694
  * Fetches NewsLetterSubscription by id
17115
16695
  * @summary Fetches NewsLetterSubscription by id
@@ -17161,16 +16741,6 @@ export const NewsLettersApiFactory = function (configuration, basePath, axios) {
17161
16741
  * @extends {BaseAPI}
17162
16742
  */
17163
16743
  export class NewsLettersApi extends BaseAPI {
17164
- /**
17165
- * Fetches list of all NewsLetterSubscription
17166
- * @summary Fetches list of all NewsLetterSubscription
17167
- * @param {*} [options] Override http request option.
17168
- * @throws {RequiredError}
17169
- * @memberof NewsLettersApi
17170
- */
17171
- miscNewsLettersGet(options) {
17172
- return NewsLettersApiFp(this.configuration).miscNewsLettersGet(options).then((request) => request(this.axios, this.basePath));
17173
- }
17174
16744
  /**
17175
16745
  * Fetches NewsLetterSubscription by id
17176
16746
  * @summary Fetches NewsLetterSubscription by id
@@ -17855,33 +17425,6 @@ export class OnboardingApi extends BaseAPI {
17855
17425
  */
17856
17426
  export const OrganizationsApiAxiosParamCreator = function (configuration) {
17857
17427
  return {
17858
- /**
17859
- * Fetches list of all Organizations
17860
- * @summary Fetches list of all Organizations
17861
- * @param {*} [options] Override http request option.
17862
- * @throws {RequiredError}
17863
- */
17864
- adminOrganizationsGet: (...args_1) => __awaiter(this, [...args_1], void 0, function* (options = {}) {
17865
- const localVarPath = `/admin/Organizations`;
17866
- // use dummy base URL string because the URL constructor only accepts absolute URLs.
17867
- const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
17868
- let baseOptions;
17869
- if (configuration) {
17870
- baseOptions = configuration.baseOptions;
17871
- }
17872
- const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
17873
- const localVarHeaderParameter = {};
17874
- const localVarQueryParameter = {};
17875
- // authentication BearerAuth required
17876
- yield setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
17877
- setSearchParams(localVarUrlObj, localVarQueryParameter);
17878
- let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
17879
- localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
17880
- return {
17881
- url: toPathString(localVarUrlObj),
17882
- options: localVarRequestOptions,
17883
- };
17884
- }),
17885
17428
  /**
17886
17429
  * Updates Orgnization information by ID.
17887
17430
  * @summary Update an existing Orgnization
@@ -18025,21 +17568,6 @@ export const OrganizationsApiAxiosParamCreator = function (configuration) {
18025
17568
  export const OrganizationsApiFp = function (configuration) {
18026
17569
  const localVarAxiosParamCreator = OrganizationsApiAxiosParamCreator(configuration);
18027
17570
  return {
18028
- /**
18029
- * Fetches list of all Organizations
18030
- * @summary Fetches list of all Organizations
18031
- * @param {*} [options] Override http request option.
18032
- * @throws {RequiredError}
18033
- */
18034
- adminOrganizationsGet(options) {
18035
- return __awaiter(this, void 0, void 0, function* () {
18036
- var _a, _b, _c;
18037
- const localVarAxiosArgs = yield localVarAxiosParamCreator.adminOrganizationsGet(options);
18038
- const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
18039
- const localVarOperationServerBasePath = (_c = (_b = operationServerMap['OrganizationsApi.adminOrganizationsGet']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
18040
- return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
18041
- });
18042
- },
18043
17571
  /**
18044
17572
  * Updates Orgnization information by ID.
18045
17573
  * @summary Update an existing Orgnization
@@ -18115,15 +17643,6 @@ export const OrganizationsApiFp = function (configuration) {
18115
17643
  export const OrganizationsApiFactory = function (configuration, basePath, axios) {
18116
17644
  const localVarFp = OrganizationsApiFp(configuration);
18117
17645
  return {
18118
- /**
18119
- * Fetches list of all Organizations
18120
- * @summary Fetches list of all Organizations
18121
- * @param {*} [options] Override http request option.
18122
- * @throws {RequiredError}
18123
- */
18124
- adminOrganizationsGet(options) {
18125
- return localVarFp.adminOrganizationsGet(options).then((request) => request(axios, basePath));
18126
- },
18127
17646
  /**
18128
17647
  * Updates Orgnization information by ID.
18129
17648
  * @summary Update an existing Orgnization
@@ -18175,16 +17694,6 @@ export const OrganizationsApiFactory = function (configuration, basePath, axios)
18175
17694
  * @extends {BaseAPI}
18176
17695
  */
18177
17696
  export class OrganizationsApi extends BaseAPI {
18178
- /**
18179
- * Fetches list of all Organizations
18180
- * @summary Fetches list of all Organizations
18181
- * @param {*} [options] Override http request option.
18182
- * @throws {RequiredError}
18183
- * @memberof OrganizationsApi
18184
- */
18185
- adminOrganizationsGet(options) {
18186
- return OrganizationsApiFp(this.configuration).adminOrganizationsGet(options).then((request) => request(this.axios, this.basePath));
18187
- }
18188
17697
  /**
18189
17698
  * Updates Orgnization information by ID.
18190
17699
  * @summary Update an existing Orgnization
@@ -19605,33 +19114,6 @@ export class PaymentGatewayApi extends BaseAPI {
19605
19114
  */
19606
19115
  export const PaymentsApiAxiosParamCreator = function (configuration) {
19607
19116
  return {
19608
- /**
19609
- * Fetches list of all payments
19610
- * @summary Fetches list of all payments
19611
- * @param {*} [options] Override http request option.
19612
- * @throws {RequiredError}
19613
- */
19614
- adminPaymentsGet: (...args_1) => __awaiter(this, [...args_1], void 0, function* (options = {}) {
19615
- const localVarPath = `/admin/payments/`;
19616
- // use dummy base URL string because the URL constructor only accepts absolute URLs.
19617
- const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
19618
- let baseOptions;
19619
- if (configuration) {
19620
- baseOptions = configuration.baseOptions;
19621
- }
19622
- const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
19623
- const localVarHeaderParameter = {};
19624
- const localVarQueryParameter = {};
19625
- // authentication BearerAuth required
19626
- yield setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
19627
- setSearchParams(localVarUrlObj, localVarQueryParameter);
19628
- let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
19629
- localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
19630
- return {
19631
- url: toPathString(localVarUrlObj),
19632
- options: localVarRequestOptions,
19633
- };
19634
- }),
19635
19117
  /**
19636
19118
  * Deletes a payment from the system by ID.
19637
19119
  * @summary Delete a payment
@@ -19771,21 +19253,6 @@ export const PaymentsApiAxiosParamCreator = function (configuration) {
19771
19253
  export const PaymentsApiFp = function (configuration) {
19772
19254
  const localVarAxiosParamCreator = PaymentsApiAxiosParamCreator(configuration);
19773
19255
  return {
19774
- /**
19775
- * Fetches list of all payments
19776
- * @summary Fetches list of all payments
19777
- * @param {*} [options] Override http request option.
19778
- * @throws {RequiredError}
19779
- */
19780
- adminPaymentsGet(options) {
19781
- return __awaiter(this, void 0, void 0, function* () {
19782
- var _a, _b, _c;
19783
- const localVarAxiosArgs = yield localVarAxiosParamCreator.adminPaymentsGet(options);
19784
- const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
19785
- const localVarOperationServerBasePath = (_c = (_b = operationServerMap['PaymentsApi.adminPaymentsGet']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
19786
- return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
19787
- });
19788
- },
19789
19256
  /**
19790
19257
  * Deletes a payment from the system by ID.
19791
19258
  * @summary Delete a payment
@@ -19860,15 +19327,6 @@ export const PaymentsApiFp = function (configuration) {
19860
19327
  export const PaymentsApiFactory = function (configuration, basePath, axios) {
19861
19328
  const localVarFp = PaymentsApiFp(configuration);
19862
19329
  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
19330
  /**
19873
19331
  * Deletes a payment from the system by ID.
19874
19332
  * @summary Delete a payment
@@ -19919,16 +19377,6 @@ export const PaymentsApiFactory = function (configuration, basePath, axios) {
19919
19377
  * @extends {BaseAPI}
19920
19378
  */
19921
19379
  export class PaymentsApi extends BaseAPI {
19922
- /**
19923
- * Fetches list of all payments
19924
- * @summary Fetches list of all payments
19925
- * @param {*} [options] Override http request option.
19926
- * @throws {RequiredError}
19927
- * @memberof PaymentsApi
19928
- */
19929
- adminPaymentsGet(options) {
19930
- return PaymentsApiFp(this.configuration).adminPaymentsGet(options).then((request) => request(this.axios, this.basePath));
19931
- }
19932
19380
  /**
19933
19381
  * Deletes a payment from the system by ID.
19934
19382
  * @summary Delete a payment
@@ -19981,33 +19429,6 @@ export class PaymentsApi extends BaseAPI {
19981
19429
  */
19982
19430
  export const PlansApiAxiosParamCreator = function (configuration) {
19983
19431
  return {
19984
- /**
19985
- * Fetches list of all Plans
19986
- * @summary Fetches list of all Plans
19987
- * @param {*} [options] Override http request option.
19988
- * @throws {RequiredError}
19989
- */
19990
- miscPlansGet: (...args_1) => __awaiter(this, [...args_1], void 0, function* (options = {}) {
19991
- const localVarPath = `/misc/Plans`;
19992
- // use dummy base URL string because the URL constructor only accepts absolute URLs.
19993
- const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
19994
- let baseOptions;
19995
- if (configuration) {
19996
- baseOptions = configuration.baseOptions;
19997
- }
19998
- const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
19999
- const localVarHeaderParameter = {};
20000
- const localVarQueryParameter = {};
20001
- // authentication BearerAuth required
20002
- yield setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
20003
- setSearchParams(localVarUrlObj, localVarQueryParameter);
20004
- let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
20005
- localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
20006
- return {
20007
- url: toPathString(localVarUrlObj),
20008
- options: localVarRequestOptions,
20009
- };
20010
- }),
20011
19432
  /**
20012
19433
  * Fetches plan by id
20013
19434
  * @summary Fetches plan by id
@@ -20151,21 +19572,6 @@ export const PlansApiAxiosParamCreator = function (configuration) {
20151
19572
  export const PlansApiFp = function (configuration) {
20152
19573
  const localVarAxiosParamCreator = PlansApiAxiosParamCreator(configuration);
20153
19574
  return {
20154
- /**
20155
- * Fetches list of all Plans
20156
- * @summary Fetches list of all Plans
20157
- * @param {*} [options] Override http request option.
20158
- * @throws {RequiredError}
20159
- */
20160
- miscPlansGet(options) {
20161
- return __awaiter(this, void 0, void 0, function* () {
20162
- var _a, _b, _c;
20163
- const localVarAxiosArgs = yield localVarAxiosParamCreator.miscPlansGet(options);
20164
- const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
20165
- const localVarOperationServerBasePath = (_c = (_b = operationServerMap['PlansApi.miscPlansGet']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
20166
- return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
20167
- });
20168
- },
20169
19575
  /**
20170
19576
  * Fetches plan by id
20171
19577
  * @summary Fetches plan by id
@@ -20241,15 +19647,6 @@ export const PlansApiFp = function (configuration) {
20241
19647
  export const PlansApiFactory = function (configuration, basePath, axios) {
20242
19648
  const localVarFp = PlansApiFp(configuration);
20243
19649
  return {
20244
- /**
20245
- * Fetches list of all Plans
20246
- * @summary Fetches list of all Plans
20247
- * @param {*} [options] Override http request option.
20248
- * @throws {RequiredError}
20249
- */
20250
- miscPlansGet(options) {
20251
- return localVarFp.miscPlansGet(options).then((request) => request(axios, basePath));
20252
- },
20253
19650
  /**
20254
19651
  * Fetches plan by id
20255
19652
  * @summary Fetches plan by id
@@ -20301,16 +19698,6 @@ export const PlansApiFactory = function (configuration, basePath, axios) {
20301
19698
  * @extends {BaseAPI}
20302
19699
  */
20303
19700
  export class PlansApi extends BaseAPI {
20304
- /**
20305
- * Fetches list of all Plans
20306
- * @summary Fetches list of all Plans
20307
- * @param {*} [options] Override http request option.
20308
- * @throws {RequiredError}
20309
- * @memberof PlansApi
20310
- */
20311
- miscPlansGet(options) {
20312
- return PlansApiFp(this.configuration).miscPlansGet(options).then((request) => request(this.axios, this.basePath));
20313
- }
20314
19701
  /**
20315
19702
  * Fetches plan by id
20316
19703
  * @summary Fetches plan by id
@@ -24891,33 +24278,6 @@ export class RegisterApi extends BaseAPI {
24891
24278
  */
24892
24279
  export const RequestsApiAxiosParamCreator = function (configuration) {
24893
24280
  return {
24894
- /**
24895
- * Fetches list of all ServiceRequest
24896
- * @summary Fetches list of all ServiceRequest
24897
- * @param {*} [options] Override http request option.
24898
- * @throws {RequiredError}
24899
- */
24900
- miscRequestsGet: (...args_1) => __awaiter(this, [...args_1], void 0, function* (options = {}) {
24901
- const localVarPath = `/misc/Requests`;
24902
- // use dummy base URL string because the URL constructor only accepts absolute URLs.
24903
- const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
24904
- let baseOptions;
24905
- if (configuration) {
24906
- baseOptions = configuration.baseOptions;
24907
- }
24908
- const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
24909
- const localVarHeaderParameter = {};
24910
- const localVarQueryParameter = {};
24911
- // authentication BearerAuth required
24912
- yield setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
24913
- setSearchParams(localVarUrlObj, localVarQueryParameter);
24914
- let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
24915
- localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
24916
- return {
24917
- url: toPathString(localVarUrlObj),
24918
- options: localVarRequestOptions,
24919
- };
24920
- }),
24921
24281
  /**
24922
24282
  * Updates ServiceRequest information by ID.
24923
24283
  * @summary Deletes an existing ServiceRequest
@@ -25093,33 +24453,18 @@ export const RequestsApiFp = function (configuration) {
25093
24453
  const localVarAxiosParamCreator = RequestsApiAxiosParamCreator(configuration);
25094
24454
  return {
25095
24455
  /**
25096
- * Fetches list of all ServiceRequest
25097
- * @summary Fetches list of all ServiceRequest
24456
+ * Updates ServiceRequest information by ID.
24457
+ * @summary Deletes an existing ServiceRequest
24458
+ * @param {number} id Requests ID
25098
24459
  * @param {*} [options] Override http request option.
25099
24460
  * @throws {RequiredError}
25100
24461
  */
25101
- miscRequestsGet(options) {
24462
+ miscRequestsIdDelete(id, options) {
25102
24463
  return __awaiter(this, void 0, void 0, function* () {
25103
24464
  var _a, _b, _c;
25104
- const localVarAxiosArgs = yield localVarAxiosParamCreator.miscRequestsGet(options);
24465
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.miscRequestsIdDelete(id, options);
25105
24466
  const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
25106
- const localVarOperationServerBasePath = (_c = (_b = operationServerMap['RequestsApi.miscRequestsGet']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
25107
- return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
25108
- });
25109
- },
25110
- /**
25111
- * Updates ServiceRequest information by ID.
25112
- * @summary Deletes an existing ServiceRequest
25113
- * @param {number} id Requests ID
25114
- * @param {*} [options] Override http request option.
25115
- * @throws {RequiredError}
25116
- */
25117
- miscRequestsIdDelete(id, options) {
25118
- return __awaiter(this, void 0, void 0, function* () {
25119
- var _a, _b, _c;
25120
- const localVarAxiosArgs = yield localVarAxiosParamCreator.miscRequestsIdDelete(id, options);
25121
- const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
25122
- const localVarOperationServerBasePath = (_c = (_b = operationServerMap['RequestsApi.miscRequestsIdDelete']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
24467
+ const localVarOperationServerBasePath = (_c = (_b = operationServerMap['RequestsApi.miscRequestsIdDelete']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
25123
24468
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
25124
24469
  });
25125
24470
  },
@@ -25198,15 +24543,6 @@ export const RequestsApiFp = function (configuration) {
25198
24543
  export const RequestsApiFactory = function (configuration, basePath, axios) {
25199
24544
  const localVarFp = RequestsApiFp(configuration);
25200
24545
  return {
25201
- /**
25202
- * Fetches list of all ServiceRequest
25203
- * @summary Fetches list of all ServiceRequest
25204
- * @param {*} [options] Override http request option.
25205
- * @throws {RequiredError}
25206
- */
25207
- miscRequestsGet(options) {
25208
- return localVarFp.miscRequestsGet(options).then((request) => request(axios, basePath));
25209
- },
25210
24546
  /**
25211
24547
  * Updates ServiceRequest information by ID.
25212
24548
  * @summary Deletes an existing ServiceRequest
@@ -25268,16 +24604,6 @@ export const RequestsApiFactory = function (configuration, basePath, axios) {
25268
24604
  * @extends {BaseAPI}
25269
24605
  */
25270
24606
  export class RequestsApi extends BaseAPI {
25271
- /**
25272
- * Fetches list of all ServiceRequest
25273
- * @summary Fetches list of all ServiceRequest
25274
- * @param {*} [options] Override http request option.
25275
- * @throws {RequiredError}
25276
- * @memberof RequestsApi
25277
- */
25278
- miscRequestsGet(options) {
25279
- return RequestsApiFp(this.configuration).miscRequestsGet(options).then((request) => request(this.axios, this.basePath));
25280
- }
25281
24607
  /**
25282
24608
  * Updates ServiceRequest information by ID.
25283
24609
  * @summary Deletes an existing ServiceRequest
@@ -25374,33 +24700,6 @@ export const RoleRightsApiAxiosParamCreator = function (configuration) {
25374
24700
  options: localVarRequestOptions,
25375
24701
  };
25376
24702
  }),
25377
- /**
25378
- * Fetches list of all roleright
25379
- * @summary Fetches list of all roleright
25380
- * @param {*} [options] Override http request option.
25381
- * @throws {RequiredError}
25382
- */
25383
- adminRolerightsGet: (...args_1) => __awaiter(this, [...args_1], void 0, function* (options = {}) {
25384
- const localVarPath = `/admin/rolerights`;
25385
- // use dummy base URL string because the URL constructor only accepts absolute URLs.
25386
- const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
25387
- let baseOptions;
25388
- if (configuration) {
25389
- baseOptions = configuration.baseOptions;
25390
- }
25391
- const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
25392
- const localVarHeaderParameter = {};
25393
- const localVarQueryParameter = {};
25394
- // authentication BearerAuth required
25395
- yield setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
25396
- setSearchParams(localVarUrlObj, localVarQueryParameter);
25397
- let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
25398
- localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
25399
- return {
25400
- url: toPathString(localVarUrlObj),
25401
- options: localVarRequestOptions,
25402
- };
25403
- }),
25404
24703
  /**
25405
24704
  * Fetches roleright by role id
25406
24705
  * @summary Fetches roleright by role id
@@ -25618,21 +24917,6 @@ export const RoleRightsApiFp = function (configuration) {
25618
24917
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
25619
24918
  });
25620
24919
  },
25621
- /**
25622
- * Fetches list of all roleright
25623
- * @summary Fetches list of all roleright
25624
- * @param {*} [options] Override http request option.
25625
- * @throws {RequiredError}
25626
- */
25627
- adminRolerightsGet(options) {
25628
- return __awaiter(this, void 0, void 0, function* () {
25629
- var _a, _b, _c;
25630
- const localVarAxiosArgs = yield localVarAxiosParamCreator.adminRolerightsGet(options);
25631
- const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
25632
- const localVarOperationServerBasePath = (_c = (_b = operationServerMap['RoleRightsApi.adminRolerightsGet']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
25633
- return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
25634
- });
25635
- },
25636
24920
  /**
25637
24921
  * Fetches roleright by role id
25638
24922
  * @summary Fetches roleright by role id
@@ -25749,15 +25033,6 @@ export const RoleRightsApiFactory = function (configuration, basePath, axios) {
25749
25033
  adminRolerightsBulkPost(dataTypesRoleRightRequestDto, options) {
25750
25034
  return localVarFp.adminRolerightsBulkPost(dataTypesRoleRightRequestDto, options).then((request) => request(axios, basePath));
25751
25035
  },
25752
- /**
25753
- * Fetches list of all roleright
25754
- * @summary Fetches list of all roleright
25755
- * @param {*} [options] Override http request option.
25756
- * @throws {RequiredError}
25757
- */
25758
- adminRolerightsGet(options) {
25759
- return localVarFp.adminRolerightsGet(options).then((request) => request(axios, basePath));
25760
- },
25761
25036
  /**
25762
25037
  * Fetches roleright by role id
25763
25038
  * @summary Fetches roleright by role id
@@ -25839,16 +25114,6 @@ export class RoleRightsApi extends BaseAPI {
25839
25114
  adminRolerightsBulkPost(dataTypesRoleRightRequestDto, options) {
25840
25115
  return RoleRightsApiFp(this.configuration).adminRolerightsBulkPost(dataTypesRoleRightRequestDto, options).then((request) => request(this.axios, this.basePath));
25841
25116
  }
25842
- /**
25843
- * Fetches list of all roleright
25844
- * @summary Fetches list of all roleright
25845
- * @param {*} [options] Override http request option.
25846
- * @throws {RequiredError}
25847
- * @memberof RoleRightsApi
25848
- */
25849
- adminRolerightsGet(options) {
25850
- return RoleRightsApiFp(this.configuration).adminRolerightsGet(options).then((request) => request(this.axios, this.basePath));
25851
- }
25852
25117
  /**
25853
25118
  * Fetches roleright by role id
25854
25119
  * @summary Fetches roleright by role id
@@ -25990,37 +25255,6 @@ export const RolesApiAxiosParamCreator = function (configuration) {
25990
25255
  options: localVarRequestOptions,
25991
25256
  };
25992
25257
  }),
25993
- /**
25994
- * Fetches list of all roles
25995
- * @summary Fetches list of all roles
25996
- * @param {number} orgId Org ID
25997
- * @param {*} [options] Override http request option.
25998
- * @throws {RequiredError}
25999
- */
26000
- adminRolesOrgIdGet: (orgId_1, ...args_1) => __awaiter(this, [orgId_1, ...args_1], void 0, function* (orgId, options = {}) {
26001
- // verify required parameter 'orgId' is not null or undefined
26002
- assertParamExists('adminRolesOrgIdGet', 'orgId', orgId);
26003
- const localVarPath = `/admin/roles/{OrgId}`
26004
- .replace(`{${"OrgId"}}`, encodeURIComponent(String(orgId)));
26005
- // use dummy base URL string because the URL constructor only accepts absolute URLs.
26006
- const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
26007
- let baseOptions;
26008
- if (configuration) {
26009
- baseOptions = configuration.baseOptions;
26010
- }
26011
- const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
26012
- const localVarHeaderParameter = {};
26013
- const localVarQueryParameter = {};
26014
- // authentication BearerAuth required
26015
- yield setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
26016
- setSearchParams(localVarUrlObj, localVarQueryParameter);
26017
- let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
26018
- localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
26019
- return {
26020
- url: toPathString(localVarUrlObj),
26021
- options: localVarRequestOptions,
26022
- };
26023
- }),
26024
25258
  /**
26025
25259
  * Fetches role by id
26026
25260
  * @summary Fetches role by id
@@ -26130,22 +25364,6 @@ export const RolesApiFp = function (configuration) {
26130
25364
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
26131
25365
  });
26132
25366
  },
26133
- /**
26134
- * Fetches list of all roles
26135
- * @summary Fetches list of all roles
26136
- * @param {number} orgId Org ID
26137
- * @param {*} [options] Override http request option.
26138
- * @throws {RequiredError}
26139
- */
26140
- adminRolesOrgIdGet(orgId, options) {
26141
- return __awaiter(this, void 0, void 0, function* () {
26142
- var _a, _b, _c;
26143
- const localVarAxiosArgs = yield localVarAxiosParamCreator.adminRolesOrgIdGet(orgId, options);
26144
- const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
26145
- const localVarOperationServerBasePath = (_c = (_b = operationServerMap['RolesApi.adminRolesOrgIdGet']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
26146
- return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
26147
- });
26148
- },
26149
25367
  /**
26150
25368
  * Fetches role by id
26151
25369
  * @summary Fetches role by id
@@ -26209,16 +25427,6 @@ export const RolesApiFactory = function (configuration, basePath, axios) {
26209
25427
  adminRolesIdPut(id, dataTypesCreateRoleRequestDto, options) {
26210
25428
  return localVarFp.adminRolesIdPut(id, dataTypesCreateRoleRequestDto, options).then((request) => request(axios, basePath));
26211
25429
  },
26212
- /**
26213
- * Fetches list of all roles
26214
- * @summary Fetches list of all roles
26215
- * @param {number} orgId Org ID
26216
- * @param {*} [options] Override http request option.
26217
- * @throws {RequiredError}
26218
- */
26219
- adminRolesOrgIdGet(orgId, options) {
26220
- return localVarFp.adminRolesOrgIdGet(orgId, options).then((request) => request(axios, basePath));
26221
- },
26222
25430
  /**
26223
25431
  * Fetches role by id
26224
25432
  * @summary Fetches role by id
@@ -26272,17 +25480,6 @@ export class RolesApi extends BaseAPI {
26272
25480
  adminRolesIdPut(id, dataTypesCreateRoleRequestDto, options) {
26273
25481
  return RolesApiFp(this.configuration).adminRolesIdPut(id, dataTypesCreateRoleRequestDto, options).then((request) => request(this.axios, this.basePath));
26274
25482
  }
26275
- /**
26276
- * Fetches list of all roles
26277
- * @summary Fetches list of all roles
26278
- * @param {number} orgId Org ID
26279
- * @param {*} [options] Override http request option.
26280
- * @throws {RequiredError}
26281
- * @memberof RolesApi
26282
- */
26283
- adminRolesOrgIdGet(orgId, options) {
26284
- return RolesApiFp(this.configuration).adminRolesOrgIdGet(orgId, options).then((request) => request(this.axios, this.basePath));
26285
- }
26286
25483
  /**
26287
25484
  * Fetches role by id
26288
25485
  * @summary Fetches role by id
@@ -26508,48 +25705,6 @@ export const SearchApiAxiosParamCreator = function (configuration) {
26508
25705
  options: localVarRequestOptions,
26509
25706
  };
26510
25707
  }),
26511
- /**
26512
- * Search documents using store credentials with optional autocomplete suggestions and configurable stopwords/synonyms
26513
- * @summary Public Search API
26514
- * @param {string} xStoreid Store ID
26515
- * @param {string} xStoresecret Store Secret
26516
- * @param {DataTypesPublicSearchRequest} dataTypesPublicSearchRequest Search request with optional stopword_sets and synonym_sets for granular control
26517
- * @param {*} [options] Override http request option.
26518
- * @throws {RequiredError}
26519
- */
26520
- 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 = {}) {
26521
- // verify required parameter 'xStoreid' is not null or undefined
26522
- assertParamExists('v1SearchPost', 'xStoreid', xStoreid);
26523
- // verify required parameter 'xStoresecret' is not null or undefined
26524
- assertParamExists('v1SearchPost', 'xStoresecret', xStoresecret);
26525
- // verify required parameter 'dataTypesPublicSearchRequest' is not null or undefined
26526
- assertParamExists('v1SearchPost', 'dataTypesPublicSearchRequest', dataTypesPublicSearchRequest);
26527
- const localVarPath = `/v1/search`;
26528
- // use dummy base URL string because the URL constructor only accepts absolute URLs.
26529
- const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
26530
- let baseOptions;
26531
- if (configuration) {
26532
- baseOptions = configuration.baseOptions;
26533
- }
26534
- const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
26535
- const localVarHeaderParameter = {};
26536
- const localVarQueryParameter = {};
26537
- localVarHeaderParameter['Content-Type'] = 'application/json';
26538
- if (xStoreid != null) {
26539
- localVarHeaderParameter['x-storeid'] = String(xStoreid);
26540
- }
26541
- if (xStoresecret != null) {
26542
- localVarHeaderParameter['x-storesecret'] = String(xStoresecret);
26543
- }
26544
- setSearchParams(localVarUrlObj, localVarQueryParameter);
26545
- let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
26546
- localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
26547
- localVarRequestOptions.data = serializeDataIfNeeded(dataTypesPublicSearchRequest, localVarRequestOptions, configuration);
26548
- return {
26549
- url: toPathString(localVarUrlObj),
26550
- options: localVarRequestOptions,
26551
- };
26552
- }),
26553
25708
  };
26554
25709
  };
26555
25710
  /**
@@ -26659,24 +25814,6 @@ export const SearchApiFp = function (configuration) {
26659
25814
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
26660
25815
  });
26661
25816
  },
26662
- /**
26663
- * Search documents using store credentials with optional autocomplete suggestions and configurable stopwords/synonyms
26664
- * @summary Public Search API
26665
- * @param {string} xStoreid Store ID
26666
- * @param {string} xStoresecret Store Secret
26667
- * @param {DataTypesPublicSearchRequest} dataTypesPublicSearchRequest Search request with optional stopword_sets and synonym_sets for granular control
26668
- * @param {*} [options] Override http request option.
26669
- * @throws {RequiredError}
26670
- */
26671
- v1SearchPost(xStoreid, xStoresecret, dataTypesPublicSearchRequest, options) {
26672
- return __awaiter(this, void 0, void 0, function* () {
26673
- var _a, _b, _c;
26674
- const localVarAxiosArgs = yield localVarAxiosParamCreator.v1SearchPost(xStoreid, xStoresecret, dataTypesPublicSearchRequest, options);
26675
- const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
26676
- const localVarOperationServerBasePath = (_c = (_b = operationServerMap['SearchApi.v1SearchPost']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
26677
- return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
26678
- });
26679
- },
26680
25817
  };
26681
25818
  };
26682
25819
  /**
@@ -26750,18 +25887,6 @@ export const SearchApiFactory = function (configuration, basePath, axios) {
26750
25887
  v1IndexIndexnameDefaultsGet(indexname, options) {
26751
25888
  return localVarFp.v1IndexIndexnameDefaultsGet(indexname, options).then((request) => request(axios, basePath));
26752
25889
  },
26753
- /**
26754
- * Search documents using store credentials with optional autocomplete suggestions and configurable stopwords/synonyms
26755
- * @summary Public Search API
26756
- * @param {string} xStoreid Store ID
26757
- * @param {string} xStoresecret Store Secret
26758
- * @param {DataTypesPublicSearchRequest} dataTypesPublicSearchRequest Search request with optional stopword_sets and synonym_sets for granular control
26759
- * @param {*} [options] Override http request option.
26760
- * @throws {RequiredError}
26761
- */
26762
- v1SearchPost(xStoreid, xStoresecret, dataTypesPublicSearchRequest, options) {
26763
- return localVarFp.v1SearchPost(xStoreid, xStoresecret, dataTypesPublicSearchRequest, options).then((request) => request(axios, basePath));
26764
- },
26765
25890
  };
26766
25891
  };
26767
25892
  /**
@@ -26841,19 +25966,6 @@ export class SearchApi extends BaseAPI {
26841
25966
  v1IndexIndexnameDefaultsGet(indexname, options) {
26842
25967
  return SearchApiFp(this.configuration).v1IndexIndexnameDefaultsGet(indexname, options).then((request) => request(this.axios, this.basePath));
26843
25968
  }
26844
- /**
26845
- * Search documents using store credentials with optional autocomplete suggestions and configurable stopwords/synonyms
26846
- * @summary Public Search API
26847
- * @param {string} xStoreid Store ID
26848
- * @param {string} xStoresecret Store Secret
26849
- * @param {DataTypesPublicSearchRequest} dataTypesPublicSearchRequest Search request with optional stopword_sets and synonym_sets for granular control
26850
- * @param {*} [options] Override http request option.
26851
- * @throws {RequiredError}
26852
- * @memberof SearchApi
26853
- */
26854
- v1SearchPost(xStoreid, xStoresecret, dataTypesPublicSearchRequest, options) {
26855
- return SearchApiFp(this.configuration).v1SearchPost(xStoreid, xStoresecret, dataTypesPublicSearchRequest, options).then((request) => request(this.axios, this.basePath));
26856
- }
26857
25969
  }
26858
25970
  /**
26859
25971
  * StopwordsApi - axios parameter creator
@@ -30062,33 +29174,6 @@ export const SubscriptionsApiAxiosParamCreator = function (configuration) {
30062
29174
  options: localVarRequestOptions,
30063
29175
  };
30064
29176
  }),
30065
- /**
30066
- * Fetches list of all Subscription
30067
- * @summary Fetches list of all Subscription
30068
- * @param {*} [options] Override http request option.
30069
- * @throws {RequiredError}
30070
- */
30071
- miscSubscriptionsGet: (...args_1) => __awaiter(this, [...args_1], void 0, function* (options = {}) {
30072
- const localVarPath = `/misc/subscriptions`;
30073
- // use dummy base URL string because the URL constructor only accepts absolute URLs.
30074
- const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
30075
- let baseOptions;
30076
- if (configuration) {
30077
- baseOptions = configuration.baseOptions;
30078
- }
30079
- const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
30080
- const localVarHeaderParameter = {};
30081
- const localVarQueryParameter = {};
30082
- // authentication BearerAuth required
30083
- yield setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
30084
- setSearchParams(localVarUrlObj, localVarQueryParameter);
30085
- let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
30086
- localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
30087
- return {
30088
- url: toPathString(localVarUrlObj),
30089
- options: localVarRequestOptions,
30090
- };
30091
- }),
30092
29177
  /**
30093
29178
  * Adds a new Subscription to the system
30094
29179
  * @summary Creates a new Subscription
@@ -30227,21 +29312,6 @@ export const SubscriptionsApiFp = function (configuration) {
30227
29312
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
30228
29313
  });
30229
29314
  },
30230
- /**
30231
- * Fetches list of all Subscription
30232
- * @summary Fetches list of all Subscription
30233
- * @param {*} [options] Override http request option.
30234
- * @throws {RequiredError}
30235
- */
30236
- miscSubscriptionsGet(options) {
30237
- return __awaiter(this, void 0, void 0, function* () {
30238
- var _a, _b, _c;
30239
- const localVarAxiosArgs = yield localVarAxiosParamCreator.miscSubscriptionsGet(options);
30240
- const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
30241
- const localVarOperationServerBasePath = (_c = (_b = operationServerMap['SubscriptionsApi.miscSubscriptionsGet']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
30242
- return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
30243
- });
30244
- },
30245
29315
  /**
30246
29316
  * Adds a new Subscription to the system
30247
29317
  * @summary Creates a new Subscription
@@ -30325,15 +29395,6 @@ export const SubscriptionsApiFactory = function (configuration, basePath, axios)
30325
29395
  adminSubscriptionsUpdatestatusSubscriptionIDStatusPut(subscriptionID, status, options) {
30326
29396
  return localVarFp.adminSubscriptionsUpdatestatusSubscriptionIDStatusPut(subscriptionID, status, options).then((request) => request(axios, basePath));
30327
29397
  },
30328
- /**
30329
- * Fetches list of all Subscription
30330
- * @summary Fetches list of all Subscription
30331
- * @param {*} [options] Override http request option.
30332
- * @throws {RequiredError}
30333
- */
30334
- miscSubscriptionsGet(options) {
30335
- return localVarFp.miscSubscriptionsGet(options).then((request) => request(axios, basePath));
30336
- },
30337
29398
  /**
30338
29399
  * Adds a new Subscription to the system
30339
29400
  * @summary Creates a new Subscription
@@ -30409,16 +29470,6 @@ export class SubscriptionsApi extends BaseAPI {
30409
29470
  adminSubscriptionsUpdatestatusSubscriptionIDStatusPut(subscriptionID, status, options) {
30410
29471
  return SubscriptionsApiFp(this.configuration).adminSubscriptionsUpdatestatusSubscriptionIDStatusPut(subscriptionID, status, options).then((request) => request(this.axios, this.basePath));
30411
29472
  }
30412
- /**
30413
- * Fetches list of all Subscription
30414
- * @summary Fetches list of all Subscription
30415
- * @param {*} [options] Override http request option.
30416
- * @throws {RequiredError}
30417
- * @memberof SubscriptionsApi
30418
- */
30419
- miscSubscriptionsGet(options) {
30420
- return SubscriptionsApiFp(this.configuration).miscSubscriptionsGet(options).then((request) => request(this.axios, this.basePath));
30421
- }
30422
29473
  /**
30423
29474
  * Adds a new Subscription to the system
30424
29475
  * @summary Creates a new Subscription
@@ -30744,6 +29795,916 @@ export class TaxManagementApi extends BaseAPI {
30744
29795
  return TaxManagementApiFp(this.configuration).adminTaxValidateGstinPost(dataTypesGSTVerificationRequest, options).then((request) => request(this.axios, this.basePath));
30745
29796
  }
30746
29797
  }
29798
+ /**
29799
+ * TeamApi - axios parameter creator
29800
+ * @export
29801
+ */
29802
+ export const TeamApiAxiosParamCreator = function (configuration) {
29803
+ return {
29804
+ /**
29805
+ * Cancels a pending invitation
29806
+ * @summary Cancel invitation
29807
+ * @param {number} invitationId Invitation ID
29808
+ * @param {*} [options] Override http request option.
29809
+ * @throws {RequiredError}
29810
+ */
29811
+ apiV1InvitationsInvitationIdDelete: (invitationId_1, ...args_1) => __awaiter(this, [invitationId_1, ...args_1], void 0, function* (invitationId, options = {}) {
29812
+ // verify required parameter 'invitationId' is not null or undefined
29813
+ assertParamExists('apiV1InvitationsInvitationIdDelete', 'invitationId', invitationId);
29814
+ const localVarPath = `/api/v1/invitations/{invitationId}`
29815
+ .replace(`{${"invitationId"}}`, encodeURIComponent(String(invitationId)));
29816
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
29817
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
29818
+ let baseOptions;
29819
+ if (configuration) {
29820
+ baseOptions = configuration.baseOptions;
29821
+ }
29822
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'DELETE' }, baseOptions), options);
29823
+ const localVarHeaderParameter = {};
29824
+ const localVarQueryParameter = {};
29825
+ // authentication BearerAuth required
29826
+ yield setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
29827
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
29828
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
29829
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
29830
+ return {
29831
+ url: toPathString(localVarUrlObj),
29832
+ options: localVarRequestOptions,
29833
+ };
29834
+ }),
29835
+ /**
29836
+ * Accepts a team invitation using token
29837
+ * @summary Accept invitation
29838
+ * @param {string} token Invitation Token
29839
+ * @param {*} [options] Override http request option.
29840
+ * @throws {RequiredError}
29841
+ */
29842
+ apiV1InvitationsTokenAcceptPost: (token_1, ...args_1) => __awaiter(this, [token_1, ...args_1], void 0, function* (token, options = {}) {
29843
+ // verify required parameter 'token' is not null or undefined
29844
+ assertParamExists('apiV1InvitationsTokenAcceptPost', 'token', token);
29845
+ const localVarPath = `/api/v1/invitations/{token}/accept`
29846
+ .replace(`{${"token"}}`, encodeURIComponent(String(token)));
29847
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
29848
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
29849
+ let baseOptions;
29850
+ if (configuration) {
29851
+ baseOptions = configuration.baseOptions;
29852
+ }
29853
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
29854
+ const localVarHeaderParameter = {};
29855
+ const localVarQueryParameter = {};
29856
+ // authentication BearerAuth required
29857
+ yield setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
29858
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
29859
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
29860
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
29861
+ return {
29862
+ url: toPathString(localVarUrlObj),
29863
+ options: localVarRequestOptions,
29864
+ };
29865
+ }),
29866
+ /**
29867
+ * Retrieves all pending invitations for an organization
29868
+ * @summary Get pending invitations
29869
+ * @param {number} orgId Organization ID
29870
+ * @param {*} [options] Override http request option.
29871
+ * @throws {RequiredError}
29872
+ */
29873
+ apiV1OrganizationsOrgIdInvitationsGet: (orgId_1, ...args_1) => __awaiter(this, [orgId_1, ...args_1], void 0, function* (orgId, options = {}) {
29874
+ // verify required parameter 'orgId' is not null or undefined
29875
+ assertParamExists('apiV1OrganizationsOrgIdInvitationsGet', 'orgId', orgId);
29876
+ const localVarPath = `/api/v1/organizations/{orgId}/invitations`
29877
+ .replace(`{${"orgId"}}`, encodeURIComponent(String(orgId)));
29878
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
29879
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
29880
+ let baseOptions;
29881
+ if (configuration) {
29882
+ baseOptions = configuration.baseOptions;
29883
+ }
29884
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
29885
+ const localVarHeaderParameter = {};
29886
+ const localVarQueryParameter = {};
29887
+ // authentication BearerAuth required
29888
+ yield setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
29889
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
29890
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
29891
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
29892
+ return {
29893
+ url: toPathString(localVarUrlObj),
29894
+ options: localVarRequestOptions,
29895
+ };
29896
+ }),
29897
+ /**
29898
+ * Retrieves all members of an organization with their details
29899
+ * @summary Get all members of an organization
29900
+ * @param {number} orgId Organization ID
29901
+ * @param {*} [options] Override http request option.
29902
+ * @throws {RequiredError}
29903
+ */
29904
+ apiV1OrganizationsOrgIdMembersGet: (orgId_1, ...args_1) => __awaiter(this, [orgId_1, ...args_1], void 0, function* (orgId, options = {}) {
29905
+ // verify required parameter 'orgId' is not null or undefined
29906
+ assertParamExists('apiV1OrganizationsOrgIdMembersGet', 'orgId', orgId);
29907
+ const localVarPath = `/api/v1/organizations/{orgId}/members`
29908
+ .replace(`{${"orgId"}}`, encodeURIComponent(String(orgId)));
29909
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
29910
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
29911
+ let baseOptions;
29912
+ if (configuration) {
29913
+ baseOptions = configuration.baseOptions;
29914
+ }
29915
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
29916
+ const localVarHeaderParameter = {};
29917
+ const localVarQueryParameter = {};
29918
+ // authentication BearerAuth required
29919
+ yield setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
29920
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
29921
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
29922
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
29923
+ return {
29924
+ url: toPathString(localVarUrlObj),
29925
+ options: localVarRequestOptions,
29926
+ };
29927
+ }),
29928
+ /**
29929
+ * Sends an invitation to a user to join the organization
29930
+ * @summary Invite a member to join organization
29931
+ * @param {number} orgId Organization ID
29932
+ * @param {DataTypesInviteMemberRequest} dataTypesInviteMemberRequest Invitation details
29933
+ * @param {*} [options] Override http request option.
29934
+ * @throws {RequiredError}
29935
+ */
29936
+ apiV1OrganizationsOrgIdMembersInvitePost: (orgId_1, dataTypesInviteMemberRequest_1, ...args_1) => __awaiter(this, [orgId_1, dataTypesInviteMemberRequest_1, ...args_1], void 0, function* (orgId, dataTypesInviteMemberRequest, options = {}) {
29937
+ // verify required parameter 'orgId' is not null or undefined
29938
+ assertParamExists('apiV1OrganizationsOrgIdMembersInvitePost', 'orgId', orgId);
29939
+ // verify required parameter 'dataTypesInviteMemberRequest' is not null or undefined
29940
+ assertParamExists('apiV1OrganizationsOrgIdMembersInvitePost', 'dataTypesInviteMemberRequest', dataTypesInviteMemberRequest);
29941
+ const localVarPath = `/api/v1/organizations/{orgId}/members/invite`
29942
+ .replace(`{${"orgId"}}`, encodeURIComponent(String(orgId)));
29943
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
29944
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
29945
+ let baseOptions;
29946
+ if (configuration) {
29947
+ baseOptions = configuration.baseOptions;
29948
+ }
29949
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
29950
+ const localVarHeaderParameter = {};
29951
+ const localVarQueryParameter = {};
29952
+ // authentication BearerAuth required
29953
+ yield setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
29954
+ localVarHeaderParameter['Content-Type'] = 'application/json';
29955
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
29956
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
29957
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
29958
+ localVarRequestOptions.data = serializeDataIfNeeded(dataTypesInviteMemberRequest, localVarRequestOptions, configuration);
29959
+ return {
29960
+ url: toPathString(localVarUrlObj),
29961
+ options: localVarRequestOptions,
29962
+ };
29963
+ }),
29964
+ /**
29965
+ * Removes a member from the organization
29966
+ * @summary Remove member from organization
29967
+ * @param {number} orgId Organization ID
29968
+ * @param {number} memberId Member ID
29969
+ * @param {*} [options] Override http request option.
29970
+ * @throws {RequiredError}
29971
+ */
29972
+ apiV1OrganizationsOrgIdMembersMemberIdDelete: (orgId_1, memberId_1, ...args_1) => __awaiter(this, [orgId_1, memberId_1, ...args_1], void 0, function* (orgId, memberId, options = {}) {
29973
+ // verify required parameter 'orgId' is not null or undefined
29974
+ assertParamExists('apiV1OrganizationsOrgIdMembersMemberIdDelete', 'orgId', orgId);
29975
+ // verify required parameter 'memberId' is not null or undefined
29976
+ assertParamExists('apiV1OrganizationsOrgIdMembersMemberIdDelete', 'memberId', memberId);
29977
+ const localVarPath = `/api/v1/organizations/{orgId}/members/{memberId}`
29978
+ .replace(`{${"orgId"}}`, encodeURIComponent(String(orgId)))
29979
+ .replace(`{${"memberId"}}`, encodeURIComponent(String(memberId)));
29980
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
29981
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
29982
+ let baseOptions;
29983
+ if (configuration) {
29984
+ baseOptions = configuration.baseOptions;
29985
+ }
29986
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'DELETE' }, baseOptions), options);
29987
+ const localVarHeaderParameter = {};
29988
+ const localVarQueryParameter = {};
29989
+ // authentication BearerAuth required
29990
+ yield setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
29991
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
29992
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
29993
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
29994
+ return {
29995
+ url: toPathString(localVarUrlObj),
29996
+ options: localVarRequestOptions,
29997
+ };
29998
+ }),
29999
+ /**
30000
+ * Updates the role of a member in the organization
30001
+ * @summary Update member role
30002
+ * @param {number} orgId Organization ID
30003
+ * @param {number} memberId Member ID
30004
+ * @param {DataTypesUpdateMemberRoleRequest} dataTypesUpdateMemberRoleRequest New role
30005
+ * @param {*} [options] Override http request option.
30006
+ * @throws {RequiredError}
30007
+ */
30008
+ 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 = {}) {
30009
+ // verify required parameter 'orgId' is not null or undefined
30010
+ assertParamExists('apiV1OrganizationsOrgIdMembersMemberIdRolePut', 'orgId', orgId);
30011
+ // verify required parameter 'memberId' is not null or undefined
30012
+ assertParamExists('apiV1OrganizationsOrgIdMembersMemberIdRolePut', 'memberId', memberId);
30013
+ // verify required parameter 'dataTypesUpdateMemberRoleRequest' is not null or undefined
30014
+ assertParamExists('apiV1OrganizationsOrgIdMembersMemberIdRolePut', 'dataTypesUpdateMemberRoleRequest', dataTypesUpdateMemberRoleRequest);
30015
+ const localVarPath = `/api/v1/organizations/{orgId}/members/{memberId}/role`
30016
+ .replace(`{${"orgId"}}`, encodeURIComponent(String(orgId)))
30017
+ .replace(`{${"memberId"}}`, encodeURIComponent(String(memberId)));
30018
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
30019
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
30020
+ let baseOptions;
30021
+ if (configuration) {
30022
+ baseOptions = configuration.baseOptions;
30023
+ }
30024
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'PUT' }, baseOptions), options);
30025
+ const localVarHeaderParameter = {};
30026
+ const localVarQueryParameter = {};
30027
+ // authentication BearerAuth required
30028
+ yield setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
30029
+ localVarHeaderParameter['Content-Type'] = 'application/json';
30030
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
30031
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
30032
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
30033
+ localVarRequestOptions.data = serializeDataIfNeeded(dataTypesUpdateMemberRoleRequest, localVarRequestOptions, configuration);
30034
+ return {
30035
+ url: toPathString(localVarUrlObj),
30036
+ options: localVarRequestOptions,
30037
+ };
30038
+ }),
30039
+ /**
30040
+ * Retrieves all users with access to a store
30041
+ * @summary Get store access list
30042
+ * @param {number} storeId Store ID
30043
+ * @param {*} [options] Override http request option.
30044
+ * @throws {RequiredError}
30045
+ */
30046
+ apiV1StoresStoreIdAccessGet: (storeId_1, ...args_1) => __awaiter(this, [storeId_1, ...args_1], void 0, function* (storeId, options = {}) {
30047
+ // verify required parameter 'storeId' is not null or undefined
30048
+ assertParamExists('apiV1StoresStoreIdAccessGet', 'storeId', storeId);
30049
+ const localVarPath = `/api/v1/stores/{storeId}/access`
30050
+ .replace(`{${"storeId"}}`, encodeURIComponent(String(storeId)));
30051
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
30052
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
30053
+ let baseOptions;
30054
+ if (configuration) {
30055
+ baseOptions = configuration.baseOptions;
30056
+ }
30057
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
30058
+ const localVarHeaderParameter = {};
30059
+ const localVarQueryParameter = {};
30060
+ // authentication BearerAuth required
30061
+ yield setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
30062
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
30063
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
30064
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
30065
+ return {
30066
+ url: toPathString(localVarUrlObj),
30067
+ options: localVarRequestOptions,
30068
+ };
30069
+ }),
30070
+ /**
30071
+ * Grants a user access to a store
30072
+ * @summary Grant store access
30073
+ * @param {number} storeId Store ID
30074
+ * @param {DataTypesGrantStoreAccessRequest} dataTypesGrantStoreAccessRequest Access details
30075
+ * @param {*} [options] Override http request option.
30076
+ * @throws {RequiredError}
30077
+ */
30078
+ apiV1StoresStoreIdAccessPost: (storeId_1, dataTypesGrantStoreAccessRequest_1, ...args_1) => __awaiter(this, [storeId_1, dataTypesGrantStoreAccessRequest_1, ...args_1], void 0, function* (storeId, dataTypesGrantStoreAccessRequest, options = {}) {
30079
+ // verify required parameter 'storeId' is not null or undefined
30080
+ assertParamExists('apiV1StoresStoreIdAccessPost', 'storeId', storeId);
30081
+ // verify required parameter 'dataTypesGrantStoreAccessRequest' is not null or undefined
30082
+ assertParamExists('apiV1StoresStoreIdAccessPost', 'dataTypesGrantStoreAccessRequest', dataTypesGrantStoreAccessRequest);
30083
+ const localVarPath = `/api/v1/stores/{storeId}/access`
30084
+ .replace(`{${"storeId"}}`, encodeURIComponent(String(storeId)));
30085
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
30086
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
30087
+ let baseOptions;
30088
+ if (configuration) {
30089
+ baseOptions = configuration.baseOptions;
30090
+ }
30091
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
30092
+ const localVarHeaderParameter = {};
30093
+ const localVarQueryParameter = {};
30094
+ // authentication BearerAuth required
30095
+ yield setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
30096
+ localVarHeaderParameter['Content-Type'] = 'application/json';
30097
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
30098
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
30099
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
30100
+ localVarRequestOptions.data = serializeDataIfNeeded(dataTypesGrantStoreAccessRequest, localVarRequestOptions, configuration);
30101
+ return {
30102
+ url: toPathString(localVarUrlObj),
30103
+ options: localVarRequestOptions,
30104
+ };
30105
+ }),
30106
+ /**
30107
+ * Revokes a user\'s access to a store
30108
+ * @summary Revoke store access
30109
+ * @param {number} storeId Store ID
30110
+ * @param {number} userId User ID
30111
+ * @param {*} [options] Override http request option.
30112
+ * @throws {RequiredError}
30113
+ */
30114
+ apiV1StoresStoreIdAccessUserIdDelete: (storeId_1, userId_1, ...args_1) => __awaiter(this, [storeId_1, userId_1, ...args_1], void 0, function* (storeId, userId, options = {}) {
30115
+ // verify required parameter 'storeId' is not null or undefined
30116
+ assertParamExists('apiV1StoresStoreIdAccessUserIdDelete', 'storeId', storeId);
30117
+ // verify required parameter 'userId' is not null or undefined
30118
+ assertParamExists('apiV1StoresStoreIdAccessUserIdDelete', 'userId', userId);
30119
+ const localVarPath = `/api/v1/stores/{storeId}/access/{userId}`
30120
+ .replace(`{${"storeId"}}`, encodeURIComponent(String(storeId)))
30121
+ .replace(`{${"userId"}}`, encodeURIComponent(String(userId)));
30122
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
30123
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
30124
+ let baseOptions;
30125
+ if (configuration) {
30126
+ baseOptions = configuration.baseOptions;
30127
+ }
30128
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'DELETE' }, baseOptions), options);
30129
+ const localVarHeaderParameter = {};
30130
+ const localVarQueryParameter = {};
30131
+ // authentication BearerAuth required
30132
+ yield setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
30133
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
30134
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
30135
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
30136
+ return {
30137
+ url: toPathString(localVarUrlObj),
30138
+ options: localVarRequestOptions,
30139
+ };
30140
+ }),
30141
+ /**
30142
+ * Updates a user\'s access level to a store
30143
+ * @summary Update store access level
30144
+ * @param {number} storeId Store ID
30145
+ * @param {number} userId User ID
30146
+ * @param {DataTypesUpdateStoreAccessRequest} dataTypesUpdateStoreAccessRequest New access level
30147
+ * @param {*} [options] Override http request option.
30148
+ * @throws {RequiredError}
30149
+ */
30150
+ 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 = {}) {
30151
+ // verify required parameter 'storeId' is not null or undefined
30152
+ assertParamExists('apiV1StoresStoreIdAccessUserIdPut', 'storeId', storeId);
30153
+ // verify required parameter 'userId' is not null or undefined
30154
+ assertParamExists('apiV1StoresStoreIdAccessUserIdPut', 'userId', userId);
30155
+ // verify required parameter 'dataTypesUpdateStoreAccessRequest' is not null or undefined
30156
+ assertParamExists('apiV1StoresStoreIdAccessUserIdPut', 'dataTypesUpdateStoreAccessRequest', dataTypesUpdateStoreAccessRequest);
30157
+ const localVarPath = `/api/v1/stores/{storeId}/access/{userId}`
30158
+ .replace(`{${"storeId"}}`, encodeURIComponent(String(storeId)))
30159
+ .replace(`{${"userId"}}`, encodeURIComponent(String(userId)));
30160
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
30161
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
30162
+ let baseOptions;
30163
+ if (configuration) {
30164
+ baseOptions = configuration.baseOptions;
30165
+ }
30166
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'PUT' }, baseOptions), options);
30167
+ const localVarHeaderParameter = {};
30168
+ const localVarQueryParameter = {};
30169
+ // authentication BearerAuth required
30170
+ yield setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
30171
+ localVarHeaderParameter['Content-Type'] = 'application/json';
30172
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
30173
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
30174
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
30175
+ localVarRequestOptions.data = serializeDataIfNeeded(dataTypesUpdateStoreAccessRequest, localVarRequestOptions, configuration);
30176
+ return {
30177
+ url: toPathString(localVarUrlObj),
30178
+ options: localVarRequestOptions,
30179
+ };
30180
+ }),
30181
+ /**
30182
+ * Retrieves all stores accessible to a user
30183
+ * @summary Get user\'s accessible stores
30184
+ * @param {number} userId User ID
30185
+ * @param {*} [options] Override http request option.
30186
+ * @throws {RequiredError}
30187
+ */
30188
+ apiV1UsersUserIdStoresGet: (userId_1, ...args_1) => __awaiter(this, [userId_1, ...args_1], void 0, function* (userId, options = {}) {
30189
+ // verify required parameter 'userId' is not null or undefined
30190
+ assertParamExists('apiV1UsersUserIdStoresGet', 'userId', userId);
30191
+ const localVarPath = `/api/v1/users/{userId}/stores`
30192
+ .replace(`{${"userId"}}`, encodeURIComponent(String(userId)));
30193
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
30194
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
30195
+ let baseOptions;
30196
+ if (configuration) {
30197
+ baseOptions = configuration.baseOptions;
30198
+ }
30199
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
30200
+ const localVarHeaderParameter = {};
30201
+ const localVarQueryParameter = {};
30202
+ // authentication BearerAuth required
30203
+ yield setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
30204
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
30205
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
30206
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
30207
+ return {
30208
+ url: toPathString(localVarUrlObj),
30209
+ options: localVarRequestOptions,
30210
+ };
30211
+ }),
30212
+ };
30213
+ };
30214
+ /**
30215
+ * TeamApi - functional programming interface
30216
+ * @export
30217
+ */
30218
+ export const TeamApiFp = function (configuration) {
30219
+ const localVarAxiosParamCreator = TeamApiAxiosParamCreator(configuration);
30220
+ return {
30221
+ /**
30222
+ * Cancels a pending invitation
30223
+ * @summary Cancel invitation
30224
+ * @param {number} invitationId Invitation ID
30225
+ * @param {*} [options] Override http request option.
30226
+ * @throws {RequiredError}
30227
+ */
30228
+ apiV1InvitationsInvitationIdDelete(invitationId, options) {
30229
+ return __awaiter(this, void 0, void 0, function* () {
30230
+ var _a, _b, _c;
30231
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.apiV1InvitationsInvitationIdDelete(invitationId, options);
30232
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
30233
+ const localVarOperationServerBasePath = (_c = (_b = operationServerMap['TeamApi.apiV1InvitationsInvitationIdDelete']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
30234
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
30235
+ });
30236
+ },
30237
+ /**
30238
+ * Accepts a team invitation using token
30239
+ * @summary Accept invitation
30240
+ * @param {string} token Invitation Token
30241
+ * @param {*} [options] Override http request option.
30242
+ * @throws {RequiredError}
30243
+ */
30244
+ apiV1InvitationsTokenAcceptPost(token, options) {
30245
+ return __awaiter(this, void 0, void 0, function* () {
30246
+ var _a, _b, _c;
30247
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.apiV1InvitationsTokenAcceptPost(token, options);
30248
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
30249
+ const localVarOperationServerBasePath = (_c = (_b = operationServerMap['TeamApi.apiV1InvitationsTokenAcceptPost']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
30250
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
30251
+ });
30252
+ },
30253
+ /**
30254
+ * Retrieves all pending invitations for an organization
30255
+ * @summary Get pending invitations
30256
+ * @param {number} orgId Organization ID
30257
+ * @param {*} [options] Override http request option.
30258
+ * @throws {RequiredError}
30259
+ */
30260
+ apiV1OrganizationsOrgIdInvitationsGet(orgId, options) {
30261
+ return __awaiter(this, void 0, void 0, function* () {
30262
+ var _a, _b, _c;
30263
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.apiV1OrganizationsOrgIdInvitationsGet(orgId, options);
30264
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
30265
+ const localVarOperationServerBasePath = (_c = (_b = operationServerMap['TeamApi.apiV1OrganizationsOrgIdInvitationsGet']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
30266
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
30267
+ });
30268
+ },
30269
+ /**
30270
+ * Retrieves all members of an organization with their details
30271
+ * @summary Get all members of an organization
30272
+ * @param {number} orgId Organization ID
30273
+ * @param {*} [options] Override http request option.
30274
+ * @throws {RequiredError}
30275
+ */
30276
+ apiV1OrganizationsOrgIdMembersGet(orgId, options) {
30277
+ return __awaiter(this, void 0, void 0, function* () {
30278
+ var _a, _b, _c;
30279
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.apiV1OrganizationsOrgIdMembersGet(orgId, options);
30280
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
30281
+ const localVarOperationServerBasePath = (_c = (_b = operationServerMap['TeamApi.apiV1OrganizationsOrgIdMembersGet']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
30282
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
30283
+ });
30284
+ },
30285
+ /**
30286
+ * Sends an invitation to a user to join the organization
30287
+ * @summary Invite a member to join organization
30288
+ * @param {number} orgId Organization ID
30289
+ * @param {DataTypesInviteMemberRequest} dataTypesInviteMemberRequest Invitation details
30290
+ * @param {*} [options] Override http request option.
30291
+ * @throws {RequiredError}
30292
+ */
30293
+ apiV1OrganizationsOrgIdMembersInvitePost(orgId, dataTypesInviteMemberRequest, options) {
30294
+ return __awaiter(this, void 0, void 0, function* () {
30295
+ var _a, _b, _c;
30296
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.apiV1OrganizationsOrgIdMembersInvitePost(orgId, dataTypesInviteMemberRequest, options);
30297
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
30298
+ const localVarOperationServerBasePath = (_c = (_b = operationServerMap['TeamApi.apiV1OrganizationsOrgIdMembersInvitePost']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
30299
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
30300
+ });
30301
+ },
30302
+ /**
30303
+ * Removes a member from the organization
30304
+ * @summary Remove member from organization
30305
+ * @param {number} orgId Organization ID
30306
+ * @param {number} memberId Member ID
30307
+ * @param {*} [options] Override http request option.
30308
+ * @throws {RequiredError}
30309
+ */
30310
+ apiV1OrganizationsOrgIdMembersMemberIdDelete(orgId, memberId, options) {
30311
+ return __awaiter(this, void 0, void 0, function* () {
30312
+ var _a, _b, _c;
30313
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.apiV1OrganizationsOrgIdMembersMemberIdDelete(orgId, memberId, options);
30314
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
30315
+ const localVarOperationServerBasePath = (_c = (_b = operationServerMap['TeamApi.apiV1OrganizationsOrgIdMembersMemberIdDelete']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
30316
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
30317
+ });
30318
+ },
30319
+ /**
30320
+ * Updates the role of a member in the organization
30321
+ * @summary Update member role
30322
+ * @param {number} orgId Organization ID
30323
+ * @param {number} memberId Member ID
30324
+ * @param {DataTypesUpdateMemberRoleRequest} dataTypesUpdateMemberRoleRequest New role
30325
+ * @param {*} [options] Override http request option.
30326
+ * @throws {RequiredError}
30327
+ */
30328
+ apiV1OrganizationsOrgIdMembersMemberIdRolePut(orgId, memberId, dataTypesUpdateMemberRoleRequest, options) {
30329
+ return __awaiter(this, void 0, void 0, function* () {
30330
+ var _a, _b, _c;
30331
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.apiV1OrganizationsOrgIdMembersMemberIdRolePut(orgId, memberId, dataTypesUpdateMemberRoleRequest, options);
30332
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
30333
+ const localVarOperationServerBasePath = (_c = (_b = operationServerMap['TeamApi.apiV1OrganizationsOrgIdMembersMemberIdRolePut']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
30334
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
30335
+ });
30336
+ },
30337
+ /**
30338
+ * Retrieves all users with access to a store
30339
+ * @summary Get store access list
30340
+ * @param {number} storeId Store ID
30341
+ * @param {*} [options] Override http request option.
30342
+ * @throws {RequiredError}
30343
+ */
30344
+ apiV1StoresStoreIdAccessGet(storeId, options) {
30345
+ return __awaiter(this, void 0, void 0, function* () {
30346
+ var _a, _b, _c;
30347
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.apiV1StoresStoreIdAccessGet(storeId, options);
30348
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
30349
+ const localVarOperationServerBasePath = (_c = (_b = operationServerMap['TeamApi.apiV1StoresStoreIdAccessGet']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
30350
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
30351
+ });
30352
+ },
30353
+ /**
30354
+ * Grants a user access to a store
30355
+ * @summary Grant store access
30356
+ * @param {number} storeId Store ID
30357
+ * @param {DataTypesGrantStoreAccessRequest} dataTypesGrantStoreAccessRequest Access details
30358
+ * @param {*} [options] Override http request option.
30359
+ * @throws {RequiredError}
30360
+ */
30361
+ apiV1StoresStoreIdAccessPost(storeId, dataTypesGrantStoreAccessRequest, options) {
30362
+ return __awaiter(this, void 0, void 0, function* () {
30363
+ var _a, _b, _c;
30364
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.apiV1StoresStoreIdAccessPost(storeId, dataTypesGrantStoreAccessRequest, options);
30365
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
30366
+ const localVarOperationServerBasePath = (_c = (_b = operationServerMap['TeamApi.apiV1StoresStoreIdAccessPost']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
30367
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
30368
+ });
30369
+ },
30370
+ /**
30371
+ * Revokes a user\'s access to a store
30372
+ * @summary Revoke store access
30373
+ * @param {number} storeId Store ID
30374
+ * @param {number} userId User ID
30375
+ * @param {*} [options] Override http request option.
30376
+ * @throws {RequiredError}
30377
+ */
30378
+ apiV1StoresStoreIdAccessUserIdDelete(storeId, userId, options) {
30379
+ return __awaiter(this, void 0, void 0, function* () {
30380
+ var _a, _b, _c;
30381
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.apiV1StoresStoreIdAccessUserIdDelete(storeId, userId, options);
30382
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
30383
+ const localVarOperationServerBasePath = (_c = (_b = operationServerMap['TeamApi.apiV1StoresStoreIdAccessUserIdDelete']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
30384
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
30385
+ });
30386
+ },
30387
+ /**
30388
+ * Updates a user\'s access level to a store
30389
+ * @summary Update store access level
30390
+ * @param {number} storeId Store ID
30391
+ * @param {number} userId User ID
30392
+ * @param {DataTypesUpdateStoreAccessRequest} dataTypesUpdateStoreAccessRequest New access level
30393
+ * @param {*} [options] Override http request option.
30394
+ * @throws {RequiredError}
30395
+ */
30396
+ apiV1StoresStoreIdAccessUserIdPut(storeId, userId, dataTypesUpdateStoreAccessRequest, options) {
30397
+ return __awaiter(this, void 0, void 0, function* () {
30398
+ var _a, _b, _c;
30399
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.apiV1StoresStoreIdAccessUserIdPut(storeId, userId, dataTypesUpdateStoreAccessRequest, options);
30400
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
30401
+ const localVarOperationServerBasePath = (_c = (_b = operationServerMap['TeamApi.apiV1StoresStoreIdAccessUserIdPut']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
30402
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
30403
+ });
30404
+ },
30405
+ /**
30406
+ * Retrieves all stores accessible to a user
30407
+ * @summary Get user\'s accessible stores
30408
+ * @param {number} userId User ID
30409
+ * @param {*} [options] Override http request option.
30410
+ * @throws {RequiredError}
30411
+ */
30412
+ apiV1UsersUserIdStoresGet(userId, options) {
30413
+ return __awaiter(this, void 0, void 0, function* () {
30414
+ var _a, _b, _c;
30415
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.apiV1UsersUserIdStoresGet(userId, options);
30416
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
30417
+ const localVarOperationServerBasePath = (_c = (_b = operationServerMap['TeamApi.apiV1UsersUserIdStoresGet']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
30418
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
30419
+ });
30420
+ },
30421
+ };
30422
+ };
30423
+ /**
30424
+ * TeamApi - factory interface
30425
+ * @export
30426
+ */
30427
+ export const TeamApiFactory = function (configuration, basePath, axios) {
30428
+ const localVarFp = TeamApiFp(configuration);
30429
+ return {
30430
+ /**
30431
+ * Cancels a pending invitation
30432
+ * @summary Cancel invitation
30433
+ * @param {number} invitationId Invitation ID
30434
+ * @param {*} [options] Override http request option.
30435
+ * @throws {RequiredError}
30436
+ */
30437
+ apiV1InvitationsInvitationIdDelete(invitationId, options) {
30438
+ return localVarFp.apiV1InvitationsInvitationIdDelete(invitationId, options).then((request) => request(axios, basePath));
30439
+ },
30440
+ /**
30441
+ * Accepts a team invitation using token
30442
+ * @summary Accept invitation
30443
+ * @param {string} token Invitation Token
30444
+ * @param {*} [options] Override http request option.
30445
+ * @throws {RequiredError}
30446
+ */
30447
+ apiV1InvitationsTokenAcceptPost(token, options) {
30448
+ return localVarFp.apiV1InvitationsTokenAcceptPost(token, options).then((request) => request(axios, basePath));
30449
+ },
30450
+ /**
30451
+ * Retrieves all pending invitations for an organization
30452
+ * @summary Get pending invitations
30453
+ * @param {number} orgId Organization ID
30454
+ * @param {*} [options] Override http request option.
30455
+ * @throws {RequiredError}
30456
+ */
30457
+ apiV1OrganizationsOrgIdInvitationsGet(orgId, options) {
30458
+ return localVarFp.apiV1OrganizationsOrgIdInvitationsGet(orgId, options).then((request) => request(axios, basePath));
30459
+ },
30460
+ /**
30461
+ * Retrieves all members of an organization with their details
30462
+ * @summary Get all members of an organization
30463
+ * @param {number} orgId Organization ID
30464
+ * @param {*} [options] Override http request option.
30465
+ * @throws {RequiredError}
30466
+ */
30467
+ apiV1OrganizationsOrgIdMembersGet(orgId, options) {
30468
+ return localVarFp.apiV1OrganizationsOrgIdMembersGet(orgId, options).then((request) => request(axios, basePath));
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 localVarFp.apiV1OrganizationsOrgIdMembersInvitePost(orgId, dataTypesInviteMemberRequest, options).then((request) => request(axios, basePath));
30480
+ },
30481
+ /**
30482
+ * Removes a member from the organization
30483
+ * @summary Remove member from organization
30484
+ * @param {number} orgId Organization ID
30485
+ * @param {number} memberId Member ID
30486
+ * @param {*} [options] Override http request option.
30487
+ * @throws {RequiredError}
30488
+ */
30489
+ apiV1OrganizationsOrgIdMembersMemberIdDelete(orgId, memberId, options) {
30490
+ return localVarFp.apiV1OrganizationsOrgIdMembersMemberIdDelete(orgId, memberId, options).then((request) => request(axios, basePath));
30491
+ },
30492
+ /**
30493
+ * Updates the role of a member in the organization
30494
+ * @summary Update member role
30495
+ * @param {number} orgId Organization ID
30496
+ * @param {number} memberId Member ID
30497
+ * @param {DataTypesUpdateMemberRoleRequest} dataTypesUpdateMemberRoleRequest New role
30498
+ * @param {*} [options] Override http request option.
30499
+ * @throws {RequiredError}
30500
+ */
30501
+ apiV1OrganizationsOrgIdMembersMemberIdRolePut(orgId, memberId, dataTypesUpdateMemberRoleRequest, options) {
30502
+ return localVarFp.apiV1OrganizationsOrgIdMembersMemberIdRolePut(orgId, memberId, dataTypesUpdateMemberRoleRequest, options).then((request) => request(axios, basePath));
30503
+ },
30504
+ /**
30505
+ * Retrieves all users with access to a store
30506
+ * @summary Get store access list
30507
+ * @param {number} storeId Store ID
30508
+ * @param {*} [options] Override http request option.
30509
+ * @throws {RequiredError}
30510
+ */
30511
+ apiV1StoresStoreIdAccessGet(storeId, options) {
30512
+ return localVarFp.apiV1StoresStoreIdAccessGet(storeId, options).then((request) => request(axios, basePath));
30513
+ },
30514
+ /**
30515
+ * Grants a user access to a store
30516
+ * @summary Grant store access
30517
+ * @param {number} storeId Store ID
30518
+ * @param {DataTypesGrantStoreAccessRequest} dataTypesGrantStoreAccessRequest Access details
30519
+ * @param {*} [options] Override http request option.
30520
+ * @throws {RequiredError}
30521
+ */
30522
+ apiV1StoresStoreIdAccessPost(storeId, dataTypesGrantStoreAccessRequest, options) {
30523
+ return localVarFp.apiV1StoresStoreIdAccessPost(storeId, dataTypesGrantStoreAccessRequest, options).then((request) => request(axios, basePath));
30524
+ },
30525
+ /**
30526
+ * Revokes a user\'s access to a store
30527
+ * @summary Revoke store access
30528
+ * @param {number} storeId Store ID
30529
+ * @param {number} userId User ID
30530
+ * @param {*} [options] Override http request option.
30531
+ * @throws {RequiredError}
30532
+ */
30533
+ apiV1StoresStoreIdAccessUserIdDelete(storeId, userId, options) {
30534
+ return localVarFp.apiV1StoresStoreIdAccessUserIdDelete(storeId, userId, options).then((request) => request(axios, basePath));
30535
+ },
30536
+ /**
30537
+ * Updates a user\'s access level to a store
30538
+ * @summary Update store access level
30539
+ * @param {number} storeId Store ID
30540
+ * @param {number} userId User ID
30541
+ * @param {DataTypesUpdateStoreAccessRequest} dataTypesUpdateStoreAccessRequest New access level
30542
+ * @param {*} [options] Override http request option.
30543
+ * @throws {RequiredError}
30544
+ */
30545
+ apiV1StoresStoreIdAccessUserIdPut(storeId, userId, dataTypesUpdateStoreAccessRequest, options) {
30546
+ return localVarFp.apiV1StoresStoreIdAccessUserIdPut(storeId, userId, dataTypesUpdateStoreAccessRequest, options).then((request) => request(axios, basePath));
30547
+ },
30548
+ /**
30549
+ * Retrieves all stores accessible to a user
30550
+ * @summary Get user\'s accessible stores
30551
+ * @param {number} userId User ID
30552
+ * @param {*} [options] Override http request option.
30553
+ * @throws {RequiredError}
30554
+ */
30555
+ apiV1UsersUserIdStoresGet(userId, options) {
30556
+ return localVarFp.apiV1UsersUserIdStoresGet(userId, options).then((request) => request(axios, basePath));
30557
+ },
30558
+ };
30559
+ };
30560
+ /**
30561
+ * TeamApi - object-oriented interface
30562
+ * @export
30563
+ * @class TeamApi
30564
+ * @extends {BaseAPI}
30565
+ */
30566
+ export class TeamApi extends BaseAPI {
30567
+ /**
30568
+ * Cancels a pending invitation
30569
+ * @summary Cancel invitation
30570
+ * @param {number} invitationId Invitation ID
30571
+ * @param {*} [options] Override http request option.
30572
+ * @throws {RequiredError}
30573
+ * @memberof TeamApi
30574
+ */
30575
+ apiV1InvitationsInvitationIdDelete(invitationId, options) {
30576
+ return TeamApiFp(this.configuration).apiV1InvitationsInvitationIdDelete(invitationId, options).then((request) => request(this.axios, this.basePath));
30577
+ }
30578
+ /**
30579
+ * Accepts a team invitation using token
30580
+ * @summary Accept invitation
30581
+ * @param {string} token Invitation Token
30582
+ * @param {*} [options] Override http request option.
30583
+ * @throws {RequiredError}
30584
+ * @memberof TeamApi
30585
+ */
30586
+ apiV1InvitationsTokenAcceptPost(token, options) {
30587
+ return TeamApiFp(this.configuration).apiV1InvitationsTokenAcceptPost(token, options).then((request) => request(this.axios, this.basePath));
30588
+ }
30589
+ /**
30590
+ * Retrieves all pending invitations for an organization
30591
+ * @summary Get pending invitations
30592
+ * @param {number} orgId Organization ID
30593
+ * @param {*} [options] Override http request option.
30594
+ * @throws {RequiredError}
30595
+ * @memberof TeamApi
30596
+ */
30597
+ apiV1OrganizationsOrgIdInvitationsGet(orgId, options) {
30598
+ return TeamApiFp(this.configuration).apiV1OrganizationsOrgIdInvitationsGet(orgId, options).then((request) => request(this.axios, this.basePath));
30599
+ }
30600
+ /**
30601
+ * Retrieves all members of an organization with their details
30602
+ * @summary Get all members of an organization
30603
+ * @param {number} orgId Organization ID
30604
+ * @param {*} [options] Override http request option.
30605
+ * @throws {RequiredError}
30606
+ * @memberof TeamApi
30607
+ */
30608
+ apiV1OrganizationsOrgIdMembersGet(orgId, options) {
30609
+ return TeamApiFp(this.configuration).apiV1OrganizationsOrgIdMembersGet(orgId, options).then((request) => request(this.axios, this.basePath));
30610
+ }
30611
+ /**
30612
+ * Sends an invitation to a user to join the organization
30613
+ * @summary Invite a member to join organization
30614
+ * @param {number} orgId Organization ID
30615
+ * @param {DataTypesInviteMemberRequest} dataTypesInviteMemberRequest Invitation details
30616
+ * @param {*} [options] Override http request option.
30617
+ * @throws {RequiredError}
30618
+ * @memberof TeamApi
30619
+ */
30620
+ apiV1OrganizationsOrgIdMembersInvitePost(orgId, dataTypesInviteMemberRequest, options) {
30621
+ return TeamApiFp(this.configuration).apiV1OrganizationsOrgIdMembersInvitePost(orgId, dataTypesInviteMemberRequest, options).then((request) => request(this.axios, this.basePath));
30622
+ }
30623
+ /**
30624
+ * Removes a member from the organization
30625
+ * @summary Remove member from organization
30626
+ * @param {number} orgId Organization ID
30627
+ * @param {number} memberId Member ID
30628
+ * @param {*} [options] Override http request option.
30629
+ * @throws {RequiredError}
30630
+ * @memberof TeamApi
30631
+ */
30632
+ apiV1OrganizationsOrgIdMembersMemberIdDelete(orgId, memberId, options) {
30633
+ return TeamApiFp(this.configuration).apiV1OrganizationsOrgIdMembersMemberIdDelete(orgId, memberId, options).then((request) => request(this.axios, this.basePath));
30634
+ }
30635
+ /**
30636
+ * Updates the role of a member in the organization
30637
+ * @summary Update member role
30638
+ * @param {number} orgId Organization ID
30639
+ * @param {number} memberId Member ID
30640
+ * @param {DataTypesUpdateMemberRoleRequest} dataTypesUpdateMemberRoleRequest New role
30641
+ * @param {*} [options] Override http request option.
30642
+ * @throws {RequiredError}
30643
+ * @memberof TeamApi
30644
+ */
30645
+ apiV1OrganizationsOrgIdMembersMemberIdRolePut(orgId, memberId, dataTypesUpdateMemberRoleRequest, options) {
30646
+ return TeamApiFp(this.configuration).apiV1OrganizationsOrgIdMembersMemberIdRolePut(orgId, memberId, dataTypesUpdateMemberRoleRequest, options).then((request) => request(this.axios, this.basePath));
30647
+ }
30648
+ /**
30649
+ * Retrieves all users with access to a store
30650
+ * @summary Get store access list
30651
+ * @param {number} storeId Store ID
30652
+ * @param {*} [options] Override http request option.
30653
+ * @throws {RequiredError}
30654
+ * @memberof TeamApi
30655
+ */
30656
+ apiV1StoresStoreIdAccessGet(storeId, options) {
30657
+ return TeamApiFp(this.configuration).apiV1StoresStoreIdAccessGet(storeId, options).then((request) => request(this.axios, this.basePath));
30658
+ }
30659
+ /**
30660
+ * Grants a user access to a store
30661
+ * @summary Grant store access
30662
+ * @param {number} storeId Store ID
30663
+ * @param {DataTypesGrantStoreAccessRequest} dataTypesGrantStoreAccessRequest Access details
30664
+ * @param {*} [options] Override http request option.
30665
+ * @throws {RequiredError}
30666
+ * @memberof TeamApi
30667
+ */
30668
+ apiV1StoresStoreIdAccessPost(storeId, dataTypesGrantStoreAccessRequest, options) {
30669
+ return TeamApiFp(this.configuration).apiV1StoresStoreIdAccessPost(storeId, dataTypesGrantStoreAccessRequest, options).then((request) => request(this.axios, this.basePath));
30670
+ }
30671
+ /**
30672
+ * Revokes a user\'s access to a store
30673
+ * @summary Revoke store access
30674
+ * @param {number} storeId Store ID
30675
+ * @param {number} userId User ID
30676
+ * @param {*} [options] Override http request option.
30677
+ * @throws {RequiredError}
30678
+ * @memberof TeamApi
30679
+ */
30680
+ apiV1StoresStoreIdAccessUserIdDelete(storeId, userId, options) {
30681
+ return TeamApiFp(this.configuration).apiV1StoresStoreIdAccessUserIdDelete(storeId, userId, options).then((request) => request(this.axios, this.basePath));
30682
+ }
30683
+ /**
30684
+ * Updates a user\'s access level to a store
30685
+ * @summary Update store access level
30686
+ * @param {number} storeId Store ID
30687
+ * @param {number} userId User ID
30688
+ * @param {DataTypesUpdateStoreAccessRequest} dataTypesUpdateStoreAccessRequest New access level
30689
+ * @param {*} [options] Override http request option.
30690
+ * @throws {RequiredError}
30691
+ * @memberof TeamApi
30692
+ */
30693
+ apiV1StoresStoreIdAccessUserIdPut(storeId, userId, dataTypesUpdateStoreAccessRequest, options) {
30694
+ return TeamApiFp(this.configuration).apiV1StoresStoreIdAccessUserIdPut(storeId, userId, dataTypesUpdateStoreAccessRequest, options).then((request) => request(this.axios, this.basePath));
30695
+ }
30696
+ /**
30697
+ * Retrieves all stores accessible to a user
30698
+ * @summary Get user\'s accessible stores
30699
+ * @param {number} userId User ID
30700
+ * @param {*} [options] Override http request option.
30701
+ * @throws {RequiredError}
30702
+ * @memberof TeamApi
30703
+ */
30704
+ apiV1UsersUserIdStoresGet(userId, options) {
30705
+ return TeamApiFp(this.configuration).apiV1UsersUserIdStoresGet(userId, options).then((request) => request(this.axios, this.basePath));
30706
+ }
30707
+ }
30747
30708
  /**
30748
30709
  * UserApi - axios parameter creator
30749
30710
  * @export