@seekora-ai/admin-api 1.1.12 → 1.1.14
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +29 -46
- package/api.ts +8705 -9630
- package/dist/api.d.ts +1026 -1926
- package/dist/api.js +953 -988
- package/dist/esm/api.d.ts +1026 -1926
- package/dist/esm/api.js +943 -982
- package/package.json +1 -1
- package/seekora-ai-admin-api-1.1.14.tgz +0 -0
- package/seekora-ai-admin-api-1.1.12.tgz +0 -0
package/dist/api.js
CHANGED
|
@@ -22,12 +22,12 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
|
|
|
22
22
|
});
|
|
23
23
|
};
|
|
24
24
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
25
|
-
exports.
|
|
26
|
-
exports.
|
|
27
|
-
exports.
|
|
28
|
-
exports.
|
|
29
|
-
exports.
|
|
30
|
-
exports.UserApi = exports.UserApiFactory = exports.UserApiFp = exports.UserApiAxiosParamCreator = exports.TaxManagementApi = exports.TaxManagementApiFactory = exports.TaxManagementApiFp = exports.TaxManagementApiAxiosParamCreator = exports.SubscriptionsApi = exports.SubscriptionsApiFactory = exports.SubscriptionsApiFp = exports.SubscriptionsApiAxiosParamCreator = exports.StoresApi = exports.StoresApiFactory = exports.StoresApiFp = exports.StoresApiAxiosParamCreator = exports.StoreDocumentsApi = exports.StoreDocumentsApiFactory = exports.StoreDocumentsApiFp = exports.StoreDocumentsApiAxiosParamCreator = exports.StoreCreationApi = exports.StoreCreationApiFactory = exports.StoreCreationApiFp = void 0;
|
|
25
|
+
exports.AdminAnalyticsStoreXStoreIDGeoGetCompareTagsMatchModeEnum = exports.AdminAnalyticsStoreXStoreIDGeoGetTagsMatchModeEnum = exports.AdminAnalyticsStoreXStoreIDGeoGetGranularityEnum = exports.AdminAnalyticsStoreXStoreIDFiltersTrendsGetSortOrderEnum = exports.AdminAnalyticsStoreXStoreIDFiltersTrendsGetSortByEnum = exports.AdminAnalyticsStoreXStoreIDFiltersTrendsGetGranularityEnum = exports.AdminAnalyticsStoreXStoreIDFiltersGetSortOrderEnum = exports.AdminAnalyticsStoreXStoreIDFiltersGetSortByEnum = exports.AdminAnalyticsStoreXStoreIDFiltersGetGranularityEnum = exports.AdminAnalyticsStoreXStoreIDFiltersEffectivenessGetSortOrderEnum = exports.AdminAnalyticsStoreXStoreIDFiltersEffectivenessGetSortByEnum = exports.AdminAnalyticsStoreXStoreIDFiltersCombinationsGetSortOrderEnum = exports.AdminAnalyticsStoreXStoreIDFiltersCombinationsGetSortByEnum = exports.AnalyticsApi = exports.AnalyticsApiFactory = exports.AnalyticsApiFp = exports.AnalyticsApiAxiosParamCreator = exports.AccountSettingsApi = exports.AccountSettingsApiFactory = exports.AccountSettingsApiFp = exports.AccountSettingsApiAxiosParamCreator = exports.APICallsApi = exports.APICallsApiFactory = exports.APICallsApiFp = exports.APICallsApiAxiosParamCreator = exports.RefundRefundPreviewRequestDtoRefundTypeEnum = exports.DataTypesUpdateWordStatusRequestWordTypeEnum = exports.DataTypesUpdateStoreAccessRequestAccessLevelEnum = exports.DataTypesUpdatePluralDeclensionRequestTypeEnum = exports.DataTypesUpdateMemberRoleRequestMemberRoleEnum = exports.DataTypesStoreAccessRequestAccessLevelEnum = exports.DataTypesRefundCalculationRequestDtoRefundTypeEnum = exports.DataTypesRefundApprovalDtoActionEnum = exports.DataTypesProcessRefundRequestDtoRefundTypeEnum = exports.DataTypesInviteMemberRequestMemberRoleEnum = exports.DataTypesGrantStoreAccessRequestAccessLevelEnum = exports.DataTypesCreateTaskRequestTypeEnum = exports.DataTypesCreateTaskRequestIndexingStrategyEnum = exports.DataTypesCreateTaskRequestFrequencyEnum = exports.DataTypesCreateRefundRequestDtoRefundTypeEnum = exports.DataTypesCreatePluralDeclensionRequestTypeEnum = exports.DataTypesCreatePaymentOrderRequestPaymentTypeEnum = exports.DataTypesCreateCustomWordListRequestTypeEnum = exports.DataTypesBillingAlertRequestThresholdUnitEnum = exports.DataTypesBillingAlertRequestAlertTypeEnum = exports.AnalyticsRuleType = exports.AnalyticsQuerySuggestionStatus = exports.AnalyticsQuerySuggestionSource = exports.AnalyticsBulkOperation = exports.AnalyticsBannedMatchType = void 0;
|
|
26
|
+
exports.BillingDashboardApiFp = exports.BillingDashboardApiAxiosParamCreator = exports.AutomatedRefundManagementApi = exports.AutomatedRefundManagementApiFactory = exports.AutomatedRefundManagementApiFp = exports.AutomatedRefundManagementApiAxiosParamCreator = exports.AuthApi = exports.AuthApiFactory = exports.AuthApiFp = exports.AuthApiAxiosParamCreator = exports.ArticlesApi = exports.ArticlesApiFactory = exports.ArticlesApiFp = exports.ArticlesApiAxiosParamCreator = exports.AnalyticsRulesApi = exports.AnalyticsRulesApiFactory = exports.AnalyticsRulesApiFp = exports.AnalyticsRulesApiAxiosParamCreator = exports.AnalyticsEventsApi = exports.AnalyticsEventsApiFactory = exports.AnalyticsEventsApiFp = exports.AnalyticsEventsApiAxiosParamCreator = exports.AdminAnalyticsStoreXStoreIDTagsSummaryGetSortOrderEnum = exports.AdminAnalyticsStoreXStoreIDTagsSummaryGetSortByEnum = exports.AdminAnalyticsStoreXStoreIDTagsGetSortOrderEnum = exports.AdminAnalyticsStoreXStoreIDTagsGetSortByEnum = exports.AdminAnalyticsStoreXStoreIDResultsGetSortOrderEnum = exports.AdminAnalyticsStoreXStoreIDResultsGetSortByEnum = exports.AdminAnalyticsStoreXStoreIDResultsGetCompareTagsMatchModeEnum = exports.AdminAnalyticsStoreXStoreIDResultsGetTagsMatchModeEnum = exports.AdminAnalyticsStoreXStoreIDQueriesNoResultsGetSortOrderEnum = exports.AdminAnalyticsStoreXStoreIDQueriesNoResultsGetSortByEnum = exports.AdminAnalyticsStoreXStoreIDQueriesNoResultsGetCompareTagsMatchModeEnum = exports.AdminAnalyticsStoreXStoreIDQueriesNoResultsGetTagsMatchModeEnum = exports.AdminAnalyticsStoreXStoreIDQueriesNoClicksGetSortOrderEnum = exports.AdminAnalyticsStoreXStoreIDQueriesNoClicksGetSortByEnum = exports.AdminAnalyticsStoreXStoreIDQueriesNoClicksGetCompareTagsMatchModeEnum = exports.AdminAnalyticsStoreXStoreIDQueriesNoClicksGetTagsMatchModeEnum = exports.AdminAnalyticsStoreXStoreIDQueriesGetSortOrderEnum = exports.AdminAnalyticsStoreXStoreIDQueriesGetSortByEnum = exports.AdminAnalyticsStoreXStoreIDQueriesGetCompareTagsMatchModeEnum = exports.AdminAnalyticsStoreXStoreIDQueriesGetTagsMatchModeEnum = exports.AdminAnalyticsStoreXStoreIDQueriesGetGranularityEnum = exports.AdminAnalyticsStoreXStoreIDKpiGetCompareTagsMatchModeEnum = exports.AdminAnalyticsStoreXStoreIDKpiGetTagsMatchModeEnum = exports.AdminAnalyticsStoreXStoreIDKpiGetGranularityEnum = exports.AdminAnalyticsStoreXStoreIDGeoInsightsGetCompareTagsMatchModeEnum = exports.AdminAnalyticsStoreXStoreIDGeoInsightsGetTagsMatchModeEnum = exports.AdminAnalyticsStoreXStoreIDGeoGetSortOrderEnum = exports.AdminAnalyticsStoreXStoreIDGeoGetSortByEnum = void 0;
|
|
27
|
+
exports.ItemAnalyticsApiFp = exports.ItemAnalyticsApiAxiosParamCreator = exports.FeatureLimitsAdminApi = exports.FeatureLimitsAdminApiFactory = exports.FeatureLimitsAdminApiFp = exports.FeatureLimitsAdminApiAxiosParamCreator = exports.FeatureLimitsApi = exports.FeatureLimitsApiFactory = exports.FeatureLimitsApiFp = exports.FeatureLimitsApiAxiosParamCreator = exports.DocumentsApi = exports.DocumentsApiFactory = exports.DocumentsApiFp = exports.DocumentsApiAxiosParamCreator = exports.CustomStopwordsApi = exports.CustomStopwordsApiFactory = exports.CustomStopwordsApiFp = exports.CustomStopwordsApiAxiosParamCreator = exports.CreditsTransactionsGetTypeEnum = exports.CreditsApi = exports.CreditsApiFactory = exports.CreditsApiFp = exports.CreditsApiAxiosParamCreator = exports.ConnectorsApi = exports.ConnectorsApiFactory = exports.ConnectorsApiFp = exports.ConnectorsApiAxiosParamCreator = exports.CompanyConfigApi = exports.CompanyConfigApiFactory = exports.CompanyConfigApiFp = exports.CompanyConfigApiAxiosParamCreator = exports.CommonApi = exports.CommonApiFactory = exports.CommonApiFp = exports.CommonApiAxiosParamCreator = exports.AdminBillingUsageDetailsGetGranularityEnum = exports.AdminBillingPaymentTransactionsGetSortOrderEnum = exports.AdminBillingPaymentTransactionsGetSortByEnum = exports.AdminBillingOrdersGetSortOrderEnum = exports.AdminBillingOrdersGetSortByEnum = exports.AdminBillingInvoicesGetSortOrderEnum = exports.AdminBillingInvoicesGetSortByEnum = exports.AdminBillingCreditTransactionsGetSortOrderEnum = exports.AdminBillingCreditTransactionsGetSortByEnum = exports.AdminBillingCreditPurchasesGetSortOrderEnum = exports.AdminBillingCreditPurchasesGetSortByEnum = exports.AdminBillingCreditLedgerGetSortOrderEnum = exports.AdminBillingCreditLedgerGetSortByEnum = exports.BillingDashboardApi = exports.BillingDashboardApiFactory = void 0;
|
|
28
|
+
exports.PaymentGatewayApiFp = exports.PaymentGatewayApiAxiosParamCreator = exports.ParentMenusApi = exports.ParentMenusApiFactory = exports.ParentMenusApiFp = exports.ParentMenusApiAxiosParamCreator = exports.OrganizationsApi = exports.OrganizationsApiFactory = exports.OrganizationsApiFp = exports.OrganizationsApiAxiosParamCreator = exports.OnboardingApi = exports.OnboardingApiFactory = exports.OnboardingApiFp = exports.OnboardingApiAxiosParamCreator = exports.NewsLettersApi = exports.NewsLettersApiFactory = exports.NewsLettersApiFp = exports.NewsLettersApiAxiosParamCreator = exports.MongoDbApi = exports.MongoDbApiFactory = exports.MongoDbApiFp = exports.MongoDbApiAxiosParamCreator = exports.ModulesApi = exports.ModulesApiFactory = exports.ModulesApiFp = exports.ModulesApiAxiosParamCreator = exports.MenusApi = exports.MenusApiFactory = exports.MenusApiFp = exports.MenusApiAxiosParamCreator = exports.LimitsApi = exports.LimitsApiFactory = exports.LimitsApiFp = exports.LimitsApiAxiosParamCreator = exports.AdminAnalyticsStoreXStoreIDQueriesItemPerformanceGetSortOrderEnum = exports.AdminAnalyticsStoreXStoreIDQueriesItemPerformanceGetSortByEnum = exports.AdminAnalyticsStoreXStoreIDItemsTrendsGetSortOrderEnum = exports.AdminAnalyticsStoreXStoreIDItemsTrendsGetSortByEnum = exports.AdminAnalyticsStoreXStoreIDItemsTrendsGetGranularityEnum = exports.AdminAnalyticsStoreXStoreIDItemsPerformanceGetSortOrderEnum = exports.AdminAnalyticsStoreXStoreIDItemsPerformanceGetSortByEnum = exports.AdminAnalyticsStoreXStoreIDItemsItemIdInsightsGetGroupByEnum = exports.AdminAnalyticsStoreXStoreIDItemsItemIdInsightsGetCompareTagsMatchModeEnum = exports.AdminAnalyticsStoreXStoreIDItemsItemIdInsightsGetTagsMatchModeEnum = exports.AdminAnalyticsStoreXStoreIDItemsGetSortOrderEnum = exports.AdminAnalyticsStoreXStoreIDItemsGetSortByEnum = exports.AdminAnalyticsStoreXStoreIDItemsDiscoveryGetSortOrderEnum = exports.AdminAnalyticsStoreXStoreIDItemsDiscoveryGetSortByEnum = exports.ItemAnalyticsApi = exports.ItemAnalyticsApiFactory = void 0;
|
|
29
|
+
exports.StopwordsApiFp = exports.StopwordsApiAxiosParamCreator = exports.SearchApi = exports.SearchApiFactory = exports.SearchApiFp = exports.SearchApiAxiosParamCreator = exports.RolesApi = exports.RolesApiFactory = exports.RolesApiFp = exports.RolesApiAxiosParamCreator = exports.RoleRightsApi = exports.RoleRightsApiFactory = exports.RoleRightsApiFp = exports.RoleRightsApiAxiosParamCreator = exports.RequestsApi = exports.RequestsApiFactory = exports.RequestsApiFp = exports.RequestsApiAxiosParamCreator = exports.RegisterApi = exports.RegisterApiFactory = exports.RegisterApiFp = exports.RegisterApiAxiosParamCreator = exports.RefundManagementApi = exports.RefundManagementApiFactory = exports.RefundManagementApiFp = exports.RefundManagementApiAxiosParamCreator = exports.QuerySuggestionsManagementApi = exports.QuerySuggestionsManagementApiFactory = exports.QuerySuggestionsManagementApiFp = exports.QuerySuggestionsManagementApiAxiosParamCreator = exports.V1SuggestionsQueriesGetTimeRangeEnum = exports.V1SuggestionsQueriesGetTagsMatchModeEnum = exports.QuerySuggestionsApi = exports.QuerySuggestionsApiFactory = exports.QuerySuggestionsApiFp = exports.QuerySuggestionsApiAxiosParamCreator = exports.PluralsDeclensionsApi = exports.PluralsDeclensionsApiFactory = exports.PluralsDeclensionsApiFp = exports.PluralsDeclensionsApiAxiosParamCreator = exports.PlansApi = exports.PlansApiFactory = exports.PlansApiFp = exports.PlansApiAxiosParamCreator = exports.PaymentsApi = exports.PaymentsApiFactory = exports.PaymentsApiFp = exports.PaymentsApiAxiosParamCreator = exports.PaymentGatewayApi = exports.PaymentGatewayApiFactory = void 0;
|
|
30
|
+
exports.UserApi = exports.UserApiFactory = exports.UserApiFp = exports.UserApiAxiosParamCreator = exports.TeamApi = exports.TeamApiFactory = exports.TeamApiFp = exports.TeamApiAxiosParamCreator = exports.TaxManagementApi = exports.TaxManagementApiFactory = exports.TaxManagementApiFp = exports.TaxManagementApiAxiosParamCreator = exports.SubscriptionsApi = exports.SubscriptionsApiFactory = exports.SubscriptionsApiFp = exports.SubscriptionsApiAxiosParamCreator = exports.StoresApi = exports.StoresApiFactory = exports.StoresApiFp = exports.StoresApiAxiosParamCreator = exports.StoreDocumentsApi = exports.StoreDocumentsApiFactory = exports.StoreDocumentsApiFp = exports.StoreDocumentsApiAxiosParamCreator = exports.StoreCreationApi = exports.StoreCreationApiFactory = exports.StoreCreationApiFp = exports.StoreCreationApiAxiosParamCreator = exports.StopwordsApi = exports.StopwordsApiFactory = void 0;
|
|
31
31
|
const axios_1 = require("axios");
|
|
32
32
|
// Some imports not used depending on template conditions
|
|
33
33
|
// @ts-ignore
|
|
@@ -133,6 +133,15 @@ exports.DataTypesCreateTaskRequestTypeEnum = {
|
|
|
133
133
|
Manual: 'manual',
|
|
134
134
|
PluginConnector: 'plugin_connector'
|
|
135
135
|
};
|
|
136
|
+
exports.DataTypesGrantStoreAccessRequestAccessLevelEnum = {
|
|
137
|
+
Read: 'read',
|
|
138
|
+
Write: 'write',
|
|
139
|
+
Admin: 'admin'
|
|
140
|
+
};
|
|
141
|
+
exports.DataTypesInviteMemberRequestMemberRoleEnum = {
|
|
142
|
+
Admin: 'admin',
|
|
143
|
+
Member: 'member'
|
|
144
|
+
};
|
|
136
145
|
exports.DataTypesProcessRefundRequestDtoRefundTypeEnum = {
|
|
137
146
|
Full: 'full',
|
|
138
147
|
Partial: 'partial',
|
|
@@ -147,10 +156,25 @@ exports.DataTypesRefundCalculationRequestDtoRefundTypeEnum = {
|
|
|
147
156
|
Partial: 'partial',
|
|
148
157
|
RemainingCredits: 'remaining_credits'
|
|
149
158
|
};
|
|
159
|
+
exports.DataTypesStoreAccessRequestAccessLevelEnum = {
|
|
160
|
+
Read: 'read',
|
|
161
|
+
Write: 'write',
|
|
162
|
+
Admin: 'admin'
|
|
163
|
+
};
|
|
164
|
+
exports.DataTypesUpdateMemberRoleRequestMemberRoleEnum = {
|
|
165
|
+
Owner: 'owner',
|
|
166
|
+
Admin: 'admin',
|
|
167
|
+
Member: 'member'
|
|
168
|
+
};
|
|
150
169
|
exports.DataTypesUpdatePluralDeclensionRequestTypeEnum = {
|
|
151
170
|
Custom: 'custom',
|
|
152
171
|
Default: 'default'
|
|
153
172
|
};
|
|
173
|
+
exports.DataTypesUpdateStoreAccessRequestAccessLevelEnum = {
|
|
174
|
+
Read: 'read',
|
|
175
|
+
Write: 'write',
|
|
176
|
+
Admin: 'admin'
|
|
177
|
+
};
|
|
154
178
|
exports.DataTypesUpdateWordStatusRequestWordTypeEnum = {
|
|
155
179
|
Default: 'default',
|
|
156
180
|
StoreLanguage: 'store_language',
|
|
@@ -2300,145 +2324,6 @@ const AnalyticsApiAxiosParamCreator = function (configuration) {
|
|
|
2300
2324
|
options: localVarRequestOptions,
|
|
2301
2325
|
};
|
|
2302
2326
|
}),
|
|
2303
|
-
/**
|
|
2304
|
-
* Retrieve comprehensive analytics for a specific search query including all core metrics (Searches, Results Shown, Clicks, CTR, Avg Result Rank, Avg Click Rank, Conversions, CVR, Conversion Rate per Search, No-Result Rate, No-Click Rate, Revenue), popular results, filters, click position histogram, geo analytics, and performance metrics with deep comparison mode support and independent pagination for popular results and filters
|
|
2305
|
-
* @summary Get Query Insights
|
|
2306
|
-
* @param {string} xStoreID Store ID
|
|
2307
|
-
* @param {string} query Search query to analyze
|
|
2308
|
-
* @param {string} [startTime] Start time in RFC3339 format
|
|
2309
|
-
* @param {string} [endTime] End time in RFC3339 format
|
|
2310
|
-
* @param {string} [analyticsTags] Comma-separated analytics tags to filter (e.g., \'campaign:summer,source:email\')
|
|
2311
|
-
* @param {AdminAnalyticsStoreXStoreIDQueriesQueryInsightsGetTagsMatchModeEnum} [tagsMatchMode] How to match multiple analytics tags
|
|
2312
|
-
* @param {string} [tagsExclude] Comma-separated analytics tags to exclude
|
|
2313
|
-
* @param {string} [tagKeyFilter] Filter by tag key pattern (matches tags starting with key:)
|
|
2314
|
-
* @param {string} [tagValueFilter] Filter by tag value pattern (matches tags ending with :value)
|
|
2315
|
-
* @param {string} [search] Search term to filter popular results, filters, and geo analytics (case-insensitive partial match)
|
|
2316
|
-
* @param {boolean} [compareMode] Enable comparison mode to compare with another time period/tag set
|
|
2317
|
-
* @param {string} [compareStartTime] Comparison period start time in RFC3339 format
|
|
2318
|
-
* @param {string} [compareEndTime] Comparison period end time in RFC3339 format
|
|
2319
|
-
* @param {string} [compareAnalyticsTags] Comma-separated analytics tags for comparison period
|
|
2320
|
-
* @param {AdminAnalyticsStoreXStoreIDQueriesQueryInsightsGetCompareTagsMatchModeEnum} [compareTagsMatchMode] How to match comparison analytics tags
|
|
2321
|
-
* @param {string} [compareTagsExclude] Comma-separated analytics tags to exclude in comparison
|
|
2322
|
-
* @param {string} [compareTagKeyFilter] Tag key filter for comparison period
|
|
2323
|
-
* @param {string} [compareTagValueFilter] Tag value filter for comparison period
|
|
2324
|
-
* @param {number} [resultsPage] Page number for popular results pagination
|
|
2325
|
-
* @param {number} [resultsPageSize] Number of results per page for popular results
|
|
2326
|
-
* @param {string} [resultsSearch] Search term to filter popular results (case-insensitive partial match on item IDs)
|
|
2327
|
-
* @param {number} [filtersPage] Page number for popular filters pagination
|
|
2328
|
-
* @param {number} [filtersPageSize] Number of filters per page
|
|
2329
|
-
* @param {string} [filtersSearch] Search term to filter popular filters (case-insensitive partial match on filter keys/values)
|
|
2330
|
-
* @param {number} [geoPage] Page number for geo analytics pagination
|
|
2331
|
-
* @param {number} [geoPageSize] Number of geo locations per page
|
|
2332
|
-
* @param {string} [geoSearch] Search term to filter geo analytics (case-insensitive partial match on country/region/city)
|
|
2333
|
-
* @param {boolean} [includeWidget] Whether to include widget display fields for popular results
|
|
2334
|
-
* @param {*} [options] Override http request option.
|
|
2335
|
-
* @throws {RequiredError}
|
|
2336
|
-
*/
|
|
2337
|
-
adminAnalyticsStoreXStoreIDQueriesQueryInsightsGet: (xStoreID_1, query_1, startTime_1, endTime_1, analyticsTags_1, tagsMatchMode_1, tagsExclude_1, tagKeyFilter_1, tagValueFilter_1, search_1, compareMode_1, compareStartTime_1, compareEndTime_1, compareAnalyticsTags_1, compareTagsMatchMode_1, compareTagsExclude_1, compareTagKeyFilter_1, compareTagValueFilter_1, resultsPage_1, resultsPageSize_1, resultsSearch_1, filtersPage_1, filtersPageSize_1, filtersSearch_1, geoPage_1, geoPageSize_1, geoSearch_1, includeWidget_1, ...args_1) => __awaiter(this, [xStoreID_1, query_1, startTime_1, endTime_1, analyticsTags_1, tagsMatchMode_1, tagsExclude_1, tagKeyFilter_1, tagValueFilter_1, search_1, compareMode_1, compareStartTime_1, compareEndTime_1, compareAnalyticsTags_1, compareTagsMatchMode_1, compareTagsExclude_1, compareTagKeyFilter_1, compareTagValueFilter_1, resultsPage_1, resultsPageSize_1, resultsSearch_1, filtersPage_1, filtersPageSize_1, filtersSearch_1, geoPage_1, geoPageSize_1, geoSearch_1, includeWidget_1, ...args_1], void 0, function* (xStoreID, query, startTime, endTime, analyticsTags, tagsMatchMode, tagsExclude, tagKeyFilter, tagValueFilter, search, compareMode, compareStartTime, compareEndTime, compareAnalyticsTags, compareTagsMatchMode, compareTagsExclude, compareTagKeyFilter, compareTagValueFilter, resultsPage, resultsPageSize, resultsSearch, filtersPage, filtersPageSize, filtersSearch, geoPage, geoPageSize, geoSearch, includeWidget, options = {}) {
|
|
2338
|
-
// verify required parameter 'xStoreID' is not null or undefined
|
|
2339
|
-
(0, common_1.assertParamExists)('adminAnalyticsStoreXStoreIDQueriesQueryInsightsGet', 'xStoreID', xStoreID);
|
|
2340
|
-
// verify required parameter 'query' is not null or undefined
|
|
2341
|
-
(0, common_1.assertParamExists)('adminAnalyticsStoreXStoreIDQueriesQueryInsightsGet', 'query', query);
|
|
2342
|
-
const localVarPath = `/admin/analytics/store/{xStoreID}/queries/{query}/insights`
|
|
2343
|
-
.replace(`{${"xStoreID"}}`, encodeURIComponent(String(xStoreID)))
|
|
2344
|
-
.replace(`{${"query"}}`, encodeURIComponent(String(query)));
|
|
2345
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
2346
|
-
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
2347
|
-
let baseOptions;
|
|
2348
|
-
if (configuration) {
|
|
2349
|
-
baseOptions = configuration.baseOptions;
|
|
2350
|
-
}
|
|
2351
|
-
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
2352
|
-
const localVarHeaderParameter = {};
|
|
2353
|
-
const localVarQueryParameter = {};
|
|
2354
|
-
// authentication BearerAuth required
|
|
2355
|
-
yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Authorization", configuration);
|
|
2356
|
-
if (startTime !== undefined) {
|
|
2357
|
-
localVarQueryParameter['start_time'] = startTime;
|
|
2358
|
-
}
|
|
2359
|
-
if (endTime !== undefined) {
|
|
2360
|
-
localVarQueryParameter['end_time'] = endTime;
|
|
2361
|
-
}
|
|
2362
|
-
if (analyticsTags !== undefined) {
|
|
2363
|
-
localVarQueryParameter['analytics_tags'] = analyticsTags;
|
|
2364
|
-
}
|
|
2365
|
-
if (tagsMatchMode !== undefined) {
|
|
2366
|
-
localVarQueryParameter['tags_match_mode'] = tagsMatchMode;
|
|
2367
|
-
}
|
|
2368
|
-
if (tagsExclude !== undefined) {
|
|
2369
|
-
localVarQueryParameter['tags_exclude'] = tagsExclude;
|
|
2370
|
-
}
|
|
2371
|
-
if (tagKeyFilter !== undefined) {
|
|
2372
|
-
localVarQueryParameter['tag_key_filter'] = tagKeyFilter;
|
|
2373
|
-
}
|
|
2374
|
-
if (tagValueFilter !== undefined) {
|
|
2375
|
-
localVarQueryParameter['tag_value_filter'] = tagValueFilter;
|
|
2376
|
-
}
|
|
2377
|
-
if (search !== undefined) {
|
|
2378
|
-
localVarQueryParameter['search'] = search;
|
|
2379
|
-
}
|
|
2380
|
-
if (compareMode !== undefined) {
|
|
2381
|
-
localVarQueryParameter['compare_mode'] = compareMode;
|
|
2382
|
-
}
|
|
2383
|
-
if (compareStartTime !== undefined) {
|
|
2384
|
-
localVarQueryParameter['compare_start_time'] = compareStartTime;
|
|
2385
|
-
}
|
|
2386
|
-
if (compareEndTime !== undefined) {
|
|
2387
|
-
localVarQueryParameter['compare_end_time'] = compareEndTime;
|
|
2388
|
-
}
|
|
2389
|
-
if (compareAnalyticsTags !== undefined) {
|
|
2390
|
-
localVarQueryParameter['compare_analytics_tags'] = compareAnalyticsTags;
|
|
2391
|
-
}
|
|
2392
|
-
if (compareTagsMatchMode !== undefined) {
|
|
2393
|
-
localVarQueryParameter['compare_tags_match_mode'] = compareTagsMatchMode;
|
|
2394
|
-
}
|
|
2395
|
-
if (compareTagsExclude !== undefined) {
|
|
2396
|
-
localVarQueryParameter['compare_tags_exclude'] = compareTagsExclude;
|
|
2397
|
-
}
|
|
2398
|
-
if (compareTagKeyFilter !== undefined) {
|
|
2399
|
-
localVarQueryParameter['compare_tag_key_filter'] = compareTagKeyFilter;
|
|
2400
|
-
}
|
|
2401
|
-
if (compareTagValueFilter !== undefined) {
|
|
2402
|
-
localVarQueryParameter['compare_tag_value_filter'] = compareTagValueFilter;
|
|
2403
|
-
}
|
|
2404
|
-
if (resultsPage !== undefined) {
|
|
2405
|
-
localVarQueryParameter['results_page'] = resultsPage;
|
|
2406
|
-
}
|
|
2407
|
-
if (resultsPageSize !== undefined) {
|
|
2408
|
-
localVarQueryParameter['results_page_size'] = resultsPageSize;
|
|
2409
|
-
}
|
|
2410
|
-
if (resultsSearch !== undefined) {
|
|
2411
|
-
localVarQueryParameter['results_search'] = resultsSearch;
|
|
2412
|
-
}
|
|
2413
|
-
if (filtersPage !== undefined) {
|
|
2414
|
-
localVarQueryParameter['filters_page'] = filtersPage;
|
|
2415
|
-
}
|
|
2416
|
-
if (filtersPageSize !== undefined) {
|
|
2417
|
-
localVarQueryParameter['filters_page_size'] = filtersPageSize;
|
|
2418
|
-
}
|
|
2419
|
-
if (filtersSearch !== undefined) {
|
|
2420
|
-
localVarQueryParameter['filters_search'] = filtersSearch;
|
|
2421
|
-
}
|
|
2422
|
-
if (geoPage !== undefined) {
|
|
2423
|
-
localVarQueryParameter['geo_page'] = geoPage;
|
|
2424
|
-
}
|
|
2425
|
-
if (geoPageSize !== undefined) {
|
|
2426
|
-
localVarQueryParameter['geo_page_size'] = geoPageSize;
|
|
2427
|
-
}
|
|
2428
|
-
if (geoSearch !== undefined) {
|
|
2429
|
-
localVarQueryParameter['geo_search'] = geoSearch;
|
|
2430
|
-
}
|
|
2431
|
-
if (includeWidget !== undefined) {
|
|
2432
|
-
localVarQueryParameter['include_widget'] = includeWidget;
|
|
2433
|
-
}
|
|
2434
|
-
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
2435
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
2436
|
-
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
2437
|
-
return {
|
|
2438
|
-
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
2439
|
-
options: localVarRequestOptions,
|
|
2440
|
-
};
|
|
2441
|
-
}),
|
|
2442
2327
|
/**
|
|
2443
2328
|
* Retrieve analytics for top performing search results with optional enrichment. By default returns widget display fields for UI presentation. Use include_documents=true for full document data (heavier response). Supports lightweight widget-only mode for dashboards with analytics tags filtering and comparison mode support.
|
|
2444
2329
|
* @summary Get Top Results Analytics
|
|
@@ -3251,49 +3136,6 @@ const AnalyticsApiFp = function (configuration) {
|
|
|
3251
3136
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
3252
3137
|
});
|
|
3253
3138
|
},
|
|
3254
|
-
/**
|
|
3255
|
-
* Retrieve comprehensive analytics for a specific search query including all core metrics (Searches, Results Shown, Clicks, CTR, Avg Result Rank, Avg Click Rank, Conversions, CVR, Conversion Rate per Search, No-Result Rate, No-Click Rate, Revenue), popular results, filters, click position histogram, geo analytics, and performance metrics with deep comparison mode support and independent pagination for popular results and filters
|
|
3256
|
-
* @summary Get Query Insights
|
|
3257
|
-
* @param {string} xStoreID Store ID
|
|
3258
|
-
* @param {string} query Search query to analyze
|
|
3259
|
-
* @param {string} [startTime] Start time in RFC3339 format
|
|
3260
|
-
* @param {string} [endTime] End time in RFC3339 format
|
|
3261
|
-
* @param {string} [analyticsTags] Comma-separated analytics tags to filter (e.g., \'campaign:summer,source:email\')
|
|
3262
|
-
* @param {AdminAnalyticsStoreXStoreIDQueriesQueryInsightsGetTagsMatchModeEnum} [tagsMatchMode] How to match multiple analytics tags
|
|
3263
|
-
* @param {string} [tagsExclude] Comma-separated analytics tags to exclude
|
|
3264
|
-
* @param {string} [tagKeyFilter] Filter by tag key pattern (matches tags starting with key:)
|
|
3265
|
-
* @param {string} [tagValueFilter] Filter by tag value pattern (matches tags ending with :value)
|
|
3266
|
-
* @param {string} [search] Search term to filter popular results, filters, and geo analytics (case-insensitive partial match)
|
|
3267
|
-
* @param {boolean} [compareMode] Enable comparison mode to compare with another time period/tag set
|
|
3268
|
-
* @param {string} [compareStartTime] Comparison period start time in RFC3339 format
|
|
3269
|
-
* @param {string} [compareEndTime] Comparison period end time in RFC3339 format
|
|
3270
|
-
* @param {string} [compareAnalyticsTags] Comma-separated analytics tags for comparison period
|
|
3271
|
-
* @param {AdminAnalyticsStoreXStoreIDQueriesQueryInsightsGetCompareTagsMatchModeEnum} [compareTagsMatchMode] How to match comparison analytics tags
|
|
3272
|
-
* @param {string} [compareTagsExclude] Comma-separated analytics tags to exclude in comparison
|
|
3273
|
-
* @param {string} [compareTagKeyFilter] Tag key filter for comparison period
|
|
3274
|
-
* @param {string} [compareTagValueFilter] Tag value filter for comparison period
|
|
3275
|
-
* @param {number} [resultsPage] Page number for popular results pagination
|
|
3276
|
-
* @param {number} [resultsPageSize] Number of results per page for popular results
|
|
3277
|
-
* @param {string} [resultsSearch] Search term to filter popular results (case-insensitive partial match on item IDs)
|
|
3278
|
-
* @param {number} [filtersPage] Page number for popular filters pagination
|
|
3279
|
-
* @param {number} [filtersPageSize] Number of filters per page
|
|
3280
|
-
* @param {string} [filtersSearch] Search term to filter popular filters (case-insensitive partial match on filter keys/values)
|
|
3281
|
-
* @param {number} [geoPage] Page number for geo analytics pagination
|
|
3282
|
-
* @param {number} [geoPageSize] Number of geo locations per page
|
|
3283
|
-
* @param {string} [geoSearch] Search term to filter geo analytics (case-insensitive partial match on country/region/city)
|
|
3284
|
-
* @param {boolean} [includeWidget] Whether to include widget display fields for popular results
|
|
3285
|
-
* @param {*} [options] Override http request option.
|
|
3286
|
-
* @throws {RequiredError}
|
|
3287
|
-
*/
|
|
3288
|
-
adminAnalyticsStoreXStoreIDQueriesQueryInsightsGet(xStoreID, query, startTime, endTime, analyticsTags, tagsMatchMode, tagsExclude, tagKeyFilter, tagValueFilter, search, compareMode, compareStartTime, compareEndTime, compareAnalyticsTags, compareTagsMatchMode, compareTagsExclude, compareTagKeyFilter, compareTagValueFilter, resultsPage, resultsPageSize, resultsSearch, filtersPage, filtersPageSize, filtersSearch, geoPage, geoPageSize, geoSearch, includeWidget, options) {
|
|
3289
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
3290
|
-
var _a, _b, _c;
|
|
3291
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.adminAnalyticsStoreXStoreIDQueriesQueryInsightsGet(xStoreID, query, startTime, endTime, analyticsTags, tagsMatchMode, tagsExclude, tagKeyFilter, tagValueFilter, search, compareMode, compareStartTime, compareEndTime, compareAnalyticsTags, compareTagsMatchMode, compareTagsExclude, compareTagKeyFilter, compareTagValueFilter, resultsPage, resultsPageSize, resultsSearch, filtersPage, filtersPageSize, filtersSearch, geoPage, geoPageSize, geoSearch, includeWidget, options);
|
|
3292
|
-
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
3293
|
-
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['AnalyticsApi.adminAnalyticsStoreXStoreIDQueriesQueryInsightsGet']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
3294
|
-
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
3295
|
-
});
|
|
3296
|
-
},
|
|
3297
3139
|
/**
|
|
3298
3140
|
* Retrieve analytics for top performing search results with optional enrichment. By default returns widget display fields for UI presentation. Use include_documents=true for full document data (heavier response). Supports lightweight widget-only mode for dashboards with analytics tags filtering and comparison mode support.
|
|
3299
3141
|
* @summary Get Top Results Analytics
|
|
@@ -3771,43 +3613,6 @@ const AnalyticsApiFactory = function (configuration, basePath, axios) {
|
|
|
3771
3613
|
adminAnalyticsStoreXStoreIDQueriesNoResultsGet(xStoreID, startTime, endTime, search, analyticsTags, tagsMatchMode, tagsExclude, tagKeyFilter, tagValueFilter, compareMode, compareStartTime, compareEndTime, compareAnalyticsTags, compareTagsMatchMode, compareTagsExclude, compareTagKeyFilter, compareTagValueFilter, limit, offset, page, pageSize, sortBy, sortOrder, sort, options) {
|
|
3772
3614
|
return localVarFp.adminAnalyticsStoreXStoreIDQueriesNoResultsGet(xStoreID, startTime, endTime, search, analyticsTags, tagsMatchMode, tagsExclude, tagKeyFilter, tagValueFilter, compareMode, compareStartTime, compareEndTime, compareAnalyticsTags, compareTagsMatchMode, compareTagsExclude, compareTagKeyFilter, compareTagValueFilter, limit, offset, page, pageSize, sortBy, sortOrder, sort, options).then((request) => request(axios, basePath));
|
|
3773
3615
|
},
|
|
3774
|
-
/**
|
|
3775
|
-
* Retrieve comprehensive analytics for a specific search query including all core metrics (Searches, Results Shown, Clicks, CTR, Avg Result Rank, Avg Click Rank, Conversions, CVR, Conversion Rate per Search, No-Result Rate, No-Click Rate, Revenue), popular results, filters, click position histogram, geo analytics, and performance metrics with deep comparison mode support and independent pagination for popular results and filters
|
|
3776
|
-
* @summary Get Query Insights
|
|
3777
|
-
* @param {string} xStoreID Store ID
|
|
3778
|
-
* @param {string} query Search query to analyze
|
|
3779
|
-
* @param {string} [startTime] Start time in RFC3339 format
|
|
3780
|
-
* @param {string} [endTime] End time in RFC3339 format
|
|
3781
|
-
* @param {string} [analyticsTags] Comma-separated analytics tags to filter (e.g., \'campaign:summer,source:email\')
|
|
3782
|
-
* @param {AdminAnalyticsStoreXStoreIDQueriesQueryInsightsGetTagsMatchModeEnum} [tagsMatchMode] How to match multiple analytics tags
|
|
3783
|
-
* @param {string} [tagsExclude] Comma-separated analytics tags to exclude
|
|
3784
|
-
* @param {string} [tagKeyFilter] Filter by tag key pattern (matches tags starting with key:)
|
|
3785
|
-
* @param {string} [tagValueFilter] Filter by tag value pattern (matches tags ending with :value)
|
|
3786
|
-
* @param {string} [search] Search term to filter popular results, filters, and geo analytics (case-insensitive partial match)
|
|
3787
|
-
* @param {boolean} [compareMode] Enable comparison mode to compare with another time period/tag set
|
|
3788
|
-
* @param {string} [compareStartTime] Comparison period start time in RFC3339 format
|
|
3789
|
-
* @param {string} [compareEndTime] Comparison period end time in RFC3339 format
|
|
3790
|
-
* @param {string} [compareAnalyticsTags] Comma-separated analytics tags for comparison period
|
|
3791
|
-
* @param {AdminAnalyticsStoreXStoreIDQueriesQueryInsightsGetCompareTagsMatchModeEnum} [compareTagsMatchMode] How to match comparison analytics tags
|
|
3792
|
-
* @param {string} [compareTagsExclude] Comma-separated analytics tags to exclude in comparison
|
|
3793
|
-
* @param {string} [compareTagKeyFilter] Tag key filter for comparison period
|
|
3794
|
-
* @param {string} [compareTagValueFilter] Tag value filter for comparison period
|
|
3795
|
-
* @param {number} [resultsPage] Page number for popular results pagination
|
|
3796
|
-
* @param {number} [resultsPageSize] Number of results per page for popular results
|
|
3797
|
-
* @param {string} [resultsSearch] Search term to filter popular results (case-insensitive partial match on item IDs)
|
|
3798
|
-
* @param {number} [filtersPage] Page number for popular filters pagination
|
|
3799
|
-
* @param {number} [filtersPageSize] Number of filters per page
|
|
3800
|
-
* @param {string} [filtersSearch] Search term to filter popular filters (case-insensitive partial match on filter keys/values)
|
|
3801
|
-
* @param {number} [geoPage] Page number for geo analytics pagination
|
|
3802
|
-
* @param {number} [geoPageSize] Number of geo locations per page
|
|
3803
|
-
* @param {string} [geoSearch] Search term to filter geo analytics (case-insensitive partial match on country/region/city)
|
|
3804
|
-
* @param {boolean} [includeWidget] Whether to include widget display fields for popular results
|
|
3805
|
-
* @param {*} [options] Override http request option.
|
|
3806
|
-
* @throws {RequiredError}
|
|
3807
|
-
*/
|
|
3808
|
-
adminAnalyticsStoreXStoreIDQueriesQueryInsightsGet(xStoreID, query, startTime, endTime, analyticsTags, tagsMatchMode, tagsExclude, tagKeyFilter, tagValueFilter, search, compareMode, compareStartTime, compareEndTime, compareAnalyticsTags, compareTagsMatchMode, compareTagsExclude, compareTagKeyFilter, compareTagValueFilter, resultsPage, resultsPageSize, resultsSearch, filtersPage, filtersPageSize, filtersSearch, geoPage, geoPageSize, geoSearch, includeWidget, options) {
|
|
3809
|
-
return localVarFp.adminAnalyticsStoreXStoreIDQueriesQueryInsightsGet(xStoreID, query, startTime, endTime, analyticsTags, tagsMatchMode, tagsExclude, tagKeyFilter, tagValueFilter, search, compareMode, compareStartTime, compareEndTime, compareAnalyticsTags, compareTagsMatchMode, compareTagsExclude, compareTagKeyFilter, compareTagValueFilter, resultsPage, resultsPageSize, resultsSearch, filtersPage, filtersPageSize, filtersSearch, geoPage, geoPageSize, geoSearch, includeWidget, options).then((request) => request(axios, basePath));
|
|
3810
|
-
},
|
|
3811
3616
|
/**
|
|
3812
3617
|
* Retrieve analytics for top performing search results with optional enrichment. By default returns widget display fields for UI presentation. Use include_documents=true for full document data (heavier response). Supports lightweight widget-only mode for dashboards with analytics tags filtering and comparison mode support.
|
|
3813
3618
|
* @summary Get Top Results Analytics
|
|
@@ -4269,44 +4074,6 @@ class AnalyticsApi extends base_1.BaseAPI {
|
|
|
4269
4074
|
adminAnalyticsStoreXStoreIDQueriesNoResultsGet(xStoreID, startTime, endTime, search, analyticsTags, tagsMatchMode, tagsExclude, tagKeyFilter, tagValueFilter, compareMode, compareStartTime, compareEndTime, compareAnalyticsTags, compareTagsMatchMode, compareTagsExclude, compareTagKeyFilter, compareTagValueFilter, limit, offset, page, pageSize, sortBy, sortOrder, sort, options) {
|
|
4270
4075
|
return (0, exports.AnalyticsApiFp)(this.configuration).adminAnalyticsStoreXStoreIDQueriesNoResultsGet(xStoreID, startTime, endTime, search, analyticsTags, tagsMatchMode, tagsExclude, tagKeyFilter, tagValueFilter, compareMode, compareStartTime, compareEndTime, compareAnalyticsTags, compareTagsMatchMode, compareTagsExclude, compareTagKeyFilter, compareTagValueFilter, limit, offset, page, pageSize, sortBy, sortOrder, sort, options).then((request) => request(this.axios, this.basePath));
|
|
4271
4076
|
}
|
|
4272
|
-
/**
|
|
4273
|
-
* Retrieve comprehensive analytics for a specific search query including all core metrics (Searches, Results Shown, Clicks, CTR, Avg Result Rank, Avg Click Rank, Conversions, CVR, Conversion Rate per Search, No-Result Rate, No-Click Rate, Revenue), popular results, filters, click position histogram, geo analytics, and performance metrics with deep comparison mode support and independent pagination for popular results and filters
|
|
4274
|
-
* @summary Get Query Insights
|
|
4275
|
-
* @param {string} xStoreID Store ID
|
|
4276
|
-
* @param {string} query Search query to analyze
|
|
4277
|
-
* @param {string} [startTime] Start time in RFC3339 format
|
|
4278
|
-
* @param {string} [endTime] End time in RFC3339 format
|
|
4279
|
-
* @param {string} [analyticsTags] Comma-separated analytics tags to filter (e.g., \'campaign:summer,source:email\')
|
|
4280
|
-
* @param {AdminAnalyticsStoreXStoreIDQueriesQueryInsightsGetTagsMatchModeEnum} [tagsMatchMode] How to match multiple analytics tags
|
|
4281
|
-
* @param {string} [tagsExclude] Comma-separated analytics tags to exclude
|
|
4282
|
-
* @param {string} [tagKeyFilter] Filter by tag key pattern (matches tags starting with key:)
|
|
4283
|
-
* @param {string} [tagValueFilter] Filter by tag value pattern (matches tags ending with :value)
|
|
4284
|
-
* @param {string} [search] Search term to filter popular results, filters, and geo analytics (case-insensitive partial match)
|
|
4285
|
-
* @param {boolean} [compareMode] Enable comparison mode to compare with another time period/tag set
|
|
4286
|
-
* @param {string} [compareStartTime] Comparison period start time in RFC3339 format
|
|
4287
|
-
* @param {string} [compareEndTime] Comparison period end time in RFC3339 format
|
|
4288
|
-
* @param {string} [compareAnalyticsTags] Comma-separated analytics tags for comparison period
|
|
4289
|
-
* @param {AdminAnalyticsStoreXStoreIDQueriesQueryInsightsGetCompareTagsMatchModeEnum} [compareTagsMatchMode] How to match comparison analytics tags
|
|
4290
|
-
* @param {string} [compareTagsExclude] Comma-separated analytics tags to exclude in comparison
|
|
4291
|
-
* @param {string} [compareTagKeyFilter] Tag key filter for comparison period
|
|
4292
|
-
* @param {string} [compareTagValueFilter] Tag value filter for comparison period
|
|
4293
|
-
* @param {number} [resultsPage] Page number for popular results pagination
|
|
4294
|
-
* @param {number} [resultsPageSize] Number of results per page for popular results
|
|
4295
|
-
* @param {string} [resultsSearch] Search term to filter popular results (case-insensitive partial match on item IDs)
|
|
4296
|
-
* @param {number} [filtersPage] Page number for popular filters pagination
|
|
4297
|
-
* @param {number} [filtersPageSize] Number of filters per page
|
|
4298
|
-
* @param {string} [filtersSearch] Search term to filter popular filters (case-insensitive partial match on filter keys/values)
|
|
4299
|
-
* @param {number} [geoPage] Page number for geo analytics pagination
|
|
4300
|
-
* @param {number} [geoPageSize] Number of geo locations per page
|
|
4301
|
-
* @param {string} [geoSearch] Search term to filter geo analytics (case-insensitive partial match on country/region/city)
|
|
4302
|
-
* @param {boolean} [includeWidget] Whether to include widget display fields for popular results
|
|
4303
|
-
* @param {*} [options] Override http request option.
|
|
4304
|
-
* @throws {RequiredError}
|
|
4305
|
-
* @memberof AnalyticsApi
|
|
4306
|
-
*/
|
|
4307
|
-
adminAnalyticsStoreXStoreIDQueriesQueryInsightsGet(xStoreID, query, startTime, endTime, analyticsTags, tagsMatchMode, tagsExclude, tagKeyFilter, tagValueFilter, search, compareMode, compareStartTime, compareEndTime, compareAnalyticsTags, compareTagsMatchMode, compareTagsExclude, compareTagKeyFilter, compareTagValueFilter, resultsPage, resultsPageSize, resultsSearch, filtersPage, filtersPageSize, filtersSearch, geoPage, geoPageSize, geoSearch, includeWidget, options) {
|
|
4308
|
-
return (0, exports.AnalyticsApiFp)(this.configuration).adminAnalyticsStoreXStoreIDQueriesQueryInsightsGet(xStoreID, query, startTime, endTime, analyticsTags, tagsMatchMode, tagsExclude, tagKeyFilter, tagValueFilter, search, compareMode, compareStartTime, compareEndTime, compareAnalyticsTags, compareTagsMatchMode, compareTagsExclude, compareTagKeyFilter, compareTagValueFilter, resultsPage, resultsPageSize, resultsSearch, filtersPage, filtersPageSize, filtersSearch, geoPage, geoPageSize, geoSearch, includeWidget, options).then((request) => request(this.axios, this.basePath));
|
|
4309
|
-
}
|
|
4310
4077
|
/**
|
|
4311
4078
|
* Retrieve analytics for top performing search results with optional enrichment. By default returns widget display fields for UI presentation. Use include_documents=true for full document data (heavier response). Supports lightweight widget-only mode for dashboards with analytics tags filtering and comparison mode support.
|
|
4312
4079
|
* @summary Get Top Results Analytics
|
|
@@ -4696,20 +4463,6 @@ exports.AdminAnalyticsStoreXStoreIDQueriesNoResultsGetSortOrderEnum = {
|
|
|
4696
4463
|
Asc: 'asc',
|
|
4697
4464
|
Desc: 'desc'
|
|
4698
4465
|
};
|
|
4699
|
-
/**
|
|
4700
|
-
* @export
|
|
4701
|
-
*/
|
|
4702
|
-
exports.AdminAnalyticsStoreXStoreIDQueriesQueryInsightsGetTagsMatchModeEnum = {
|
|
4703
|
-
Any: 'any',
|
|
4704
|
-
All: 'all'
|
|
4705
|
-
};
|
|
4706
|
-
/**
|
|
4707
|
-
* @export
|
|
4708
|
-
*/
|
|
4709
|
-
exports.AdminAnalyticsStoreXStoreIDQueriesQueryInsightsGetCompareTagsMatchModeEnum = {
|
|
4710
|
-
Any: 'any',
|
|
4711
|
-
All: 'all'
|
|
4712
|
-
};
|
|
4713
4466
|
/**
|
|
4714
4467
|
* @export
|
|
4715
4468
|
*/
|
|
@@ -14719,33 +14472,6 @@ const LimitsApiAxiosParamCreator = function (configuration) {
|
|
|
14719
14472
|
options: localVarRequestOptions,
|
|
14720
14473
|
};
|
|
14721
14474
|
}),
|
|
14722
|
-
/**
|
|
14723
|
-
* Fetches list of all limits
|
|
14724
|
-
* @summary Fetches list of all limits
|
|
14725
|
-
* @param {*} [options] Override http request option.
|
|
14726
|
-
* @throws {RequiredError}
|
|
14727
|
-
*/
|
|
14728
|
-
miscLimitsGet: (...args_1) => __awaiter(this, [...args_1], void 0, function* (options = {}) {
|
|
14729
|
-
const localVarPath = `/misc/limits`;
|
|
14730
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
14731
|
-
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
14732
|
-
let baseOptions;
|
|
14733
|
-
if (configuration) {
|
|
14734
|
-
baseOptions = configuration.baseOptions;
|
|
14735
|
-
}
|
|
14736
|
-
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
14737
|
-
const localVarHeaderParameter = {};
|
|
14738
|
-
const localVarQueryParameter = {};
|
|
14739
|
-
// authentication BearerAuth required
|
|
14740
|
-
yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Authorization", configuration);
|
|
14741
|
-
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
14742
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
14743
|
-
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
14744
|
-
return {
|
|
14745
|
-
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
14746
|
-
options: localVarRequestOptions,
|
|
14747
|
-
};
|
|
14748
|
-
}),
|
|
14749
14475
|
/**
|
|
14750
14476
|
* Fetches limit by id
|
|
14751
14477
|
* @summary Fetches limit by id
|
|
@@ -14872,21 +14598,6 @@ const LimitsApiFp = function (configuration) {
|
|
|
14872
14598
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
14873
14599
|
});
|
|
14874
14600
|
},
|
|
14875
|
-
/**
|
|
14876
|
-
* Fetches list of all limits
|
|
14877
|
-
* @summary Fetches list of all limits
|
|
14878
|
-
* @param {*} [options] Override http request option.
|
|
14879
|
-
* @throws {RequiredError}
|
|
14880
|
-
*/
|
|
14881
|
-
miscLimitsGet(options) {
|
|
14882
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
14883
|
-
var _a, _b, _c;
|
|
14884
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.miscLimitsGet(options);
|
|
14885
|
-
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
14886
|
-
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['LimitsApi.miscLimitsGet']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
14887
|
-
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
14888
|
-
});
|
|
14889
|
-
},
|
|
14890
14601
|
/**
|
|
14891
14602
|
* Fetches limit by id
|
|
14892
14603
|
* @summary Fetches limit by id
|
|
@@ -14957,15 +14668,6 @@ const LimitsApiFactory = function (configuration, basePath, axios) {
|
|
|
14957
14668
|
miscLimitsChangeStatusLimitIDIsActivePut(limitID, isActive, options) {
|
|
14958
14669
|
return localVarFp.miscLimitsChangeStatusLimitIDIsActivePut(limitID, isActive, options).then((request) => request(axios, basePath));
|
|
14959
14670
|
},
|
|
14960
|
-
/**
|
|
14961
|
-
* Fetches list of all limits
|
|
14962
|
-
* @summary Fetches list of all limits
|
|
14963
|
-
* @param {*} [options] Override http request option.
|
|
14964
|
-
* @throws {RequiredError}
|
|
14965
|
-
*/
|
|
14966
|
-
miscLimitsGet(options) {
|
|
14967
|
-
return localVarFp.miscLimitsGet(options).then((request) => request(axios, basePath));
|
|
14968
|
-
},
|
|
14969
14671
|
/**
|
|
14970
14672
|
* Fetches limit by id
|
|
14971
14673
|
* @summary Fetches limit by id
|
|
@@ -15019,16 +14721,6 @@ class LimitsApi extends base_1.BaseAPI {
|
|
|
15019
14721
|
miscLimitsChangeStatusLimitIDIsActivePut(limitID, isActive, options) {
|
|
15020
14722
|
return (0, exports.LimitsApiFp)(this.configuration).miscLimitsChangeStatusLimitIDIsActivePut(limitID, isActive, options).then((request) => request(this.axios, this.basePath));
|
|
15021
14723
|
}
|
|
15022
|
-
/**
|
|
15023
|
-
* Fetches list of all limits
|
|
15024
|
-
* @summary Fetches list of all limits
|
|
15025
|
-
* @param {*} [options] Override http request option.
|
|
15026
|
-
* @throws {RequiredError}
|
|
15027
|
-
* @memberof LimitsApi
|
|
15028
|
-
*/
|
|
15029
|
-
miscLimitsGet(options) {
|
|
15030
|
-
return (0, exports.LimitsApiFp)(this.configuration).miscLimitsGet(options).then((request) => request(this.axios, this.basePath));
|
|
15031
|
-
}
|
|
15032
14724
|
/**
|
|
15033
14725
|
* Fetches limit by id
|
|
15034
14726
|
* @summary Fetches limit by id
|
|
@@ -15072,36 +14764,9 @@ exports.LimitsApi = LimitsApi;
|
|
|
15072
14764
|
const MenusApiAxiosParamCreator = function (configuration) {
|
|
15073
14765
|
return {
|
|
15074
14766
|
/**
|
|
15075
|
-
*
|
|
15076
|
-
* @summary
|
|
15077
|
-
* @param {
|
|
15078
|
-
* @throws {RequiredError}
|
|
15079
|
-
*/
|
|
15080
|
-
miscMenusGet: (...args_1) => __awaiter(this, [...args_1], void 0, function* (options = {}) {
|
|
15081
|
-
const localVarPath = `/misc/menus`;
|
|
15082
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
15083
|
-
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
15084
|
-
let baseOptions;
|
|
15085
|
-
if (configuration) {
|
|
15086
|
-
baseOptions = configuration.baseOptions;
|
|
15087
|
-
}
|
|
15088
|
-
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
15089
|
-
const localVarHeaderParameter = {};
|
|
15090
|
-
const localVarQueryParameter = {};
|
|
15091
|
-
// authentication BearerAuth required
|
|
15092
|
-
yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Authorization", configuration);
|
|
15093
|
-
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
15094
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
15095
|
-
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
15096
|
-
return {
|
|
15097
|
-
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
15098
|
-
options: localVarRequestOptions,
|
|
15099
|
-
};
|
|
15100
|
-
}),
|
|
15101
|
-
/**
|
|
15102
|
-
* Deletes a menu from the system by ID.
|
|
15103
|
-
* @summary Delete a menu
|
|
15104
|
-
* @param {number} id Menu ID
|
|
14767
|
+
* Deletes a menu from the system by ID.
|
|
14768
|
+
* @summary Delete a menu
|
|
14769
|
+
* @param {number} id Menu ID
|
|
15105
14770
|
* @param {*} [options] Override http request option.
|
|
15106
14771
|
* @throws {RequiredError}
|
|
15107
14772
|
*/
|
|
@@ -15549,21 +15214,6 @@ exports.MenusApiAxiosParamCreator = MenusApiAxiosParamCreator;
|
|
|
15549
15214
|
const MenusApiFp = function (configuration) {
|
|
15550
15215
|
const localVarAxiosParamCreator = (0, exports.MenusApiAxiosParamCreator)(configuration);
|
|
15551
15216
|
return {
|
|
15552
|
-
/**
|
|
15553
|
-
* Fetches list of all menus
|
|
15554
|
-
* @summary Fetches list of all menus
|
|
15555
|
-
* @param {*} [options] Override http request option.
|
|
15556
|
-
* @throws {RequiredError}
|
|
15557
|
-
*/
|
|
15558
|
-
miscMenusGet(options) {
|
|
15559
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
15560
|
-
var _a, _b, _c;
|
|
15561
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.miscMenusGet(options);
|
|
15562
|
-
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
15563
|
-
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['MenusApi.miscMenusGet']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
15564
|
-
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
15565
|
-
});
|
|
15566
|
-
},
|
|
15567
15217
|
/**
|
|
15568
15218
|
* Deletes a menu from the system by ID.
|
|
15569
15219
|
* @summary Delete a menu
|
|
@@ -15790,15 +15440,6 @@ exports.MenusApiFp = MenusApiFp;
|
|
|
15790
15440
|
const MenusApiFactory = function (configuration, basePath, axios) {
|
|
15791
15441
|
const localVarFp = (0, exports.MenusApiFp)(configuration);
|
|
15792
15442
|
return {
|
|
15793
|
-
/**
|
|
15794
|
-
* Fetches list of all menus
|
|
15795
|
-
* @summary Fetches list of all menus
|
|
15796
|
-
* @param {*} [options] Override http request option.
|
|
15797
|
-
* @throws {RequiredError}
|
|
15798
|
-
*/
|
|
15799
|
-
miscMenusGet(options) {
|
|
15800
|
-
return localVarFp.miscMenusGet(options).then((request) => request(axios, basePath));
|
|
15801
|
-
},
|
|
15802
15443
|
/**
|
|
15803
15444
|
* Deletes a menu from the system by ID.
|
|
15804
15445
|
* @summary Delete a menu
|
|
@@ -15947,16 +15588,6 @@ exports.MenusApiFactory = MenusApiFactory;
|
|
|
15947
15588
|
* @extends {BaseAPI}
|
|
15948
15589
|
*/
|
|
15949
15590
|
class MenusApi extends base_1.BaseAPI {
|
|
15950
|
-
/**
|
|
15951
|
-
* Fetches list of all menus
|
|
15952
|
-
* @summary Fetches list of all menus
|
|
15953
|
-
* @param {*} [options] Override http request option.
|
|
15954
|
-
* @throws {RequiredError}
|
|
15955
|
-
* @memberof MenusApi
|
|
15956
|
-
*/
|
|
15957
|
-
miscMenusGet(options) {
|
|
15958
|
-
return (0, exports.MenusApiFp)(this.configuration).miscMenusGet(options).then((request) => request(this.axios, this.basePath));
|
|
15959
|
-
}
|
|
15960
15591
|
/**
|
|
15961
15592
|
* Deletes a menu from the system by ID.
|
|
15962
15593
|
* @summary Delete a menu
|
|
@@ -16937,33 +16568,6 @@ exports.MongoDbApi = MongoDbApi;
|
|
|
16937
16568
|
*/
|
|
16938
16569
|
const NewsLettersApiAxiosParamCreator = function (configuration) {
|
|
16939
16570
|
return {
|
|
16940
|
-
/**
|
|
16941
|
-
* Fetches list of all NewsLetterSubscription
|
|
16942
|
-
* @summary Fetches list of all NewsLetterSubscription
|
|
16943
|
-
* @param {*} [options] Override http request option.
|
|
16944
|
-
* @throws {RequiredError}
|
|
16945
|
-
*/
|
|
16946
|
-
miscNewsLettersGet: (...args_1) => __awaiter(this, [...args_1], void 0, function* (options = {}) {
|
|
16947
|
-
const localVarPath = `/misc/NewsLetters`;
|
|
16948
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
16949
|
-
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
16950
|
-
let baseOptions;
|
|
16951
|
-
if (configuration) {
|
|
16952
|
-
baseOptions = configuration.baseOptions;
|
|
16953
|
-
}
|
|
16954
|
-
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
16955
|
-
const localVarHeaderParameter = {};
|
|
16956
|
-
const localVarQueryParameter = {};
|
|
16957
|
-
// authentication BearerAuth required
|
|
16958
|
-
yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Authorization", configuration);
|
|
16959
|
-
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
16960
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
16961
|
-
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
16962
|
-
return {
|
|
16963
|
-
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
16964
|
-
options: localVarRequestOptions,
|
|
16965
|
-
};
|
|
16966
|
-
}),
|
|
16967
16571
|
/**
|
|
16968
16572
|
* Fetches NewsLetterSubscription by id
|
|
16969
16573
|
* @summary Fetches NewsLetterSubscription by id
|
|
@@ -17108,21 +16712,6 @@ exports.NewsLettersApiAxiosParamCreator = NewsLettersApiAxiosParamCreator;
|
|
|
17108
16712
|
const NewsLettersApiFp = function (configuration) {
|
|
17109
16713
|
const localVarAxiosParamCreator = (0, exports.NewsLettersApiAxiosParamCreator)(configuration);
|
|
17110
16714
|
return {
|
|
17111
|
-
/**
|
|
17112
|
-
* Fetches list of all NewsLetterSubscription
|
|
17113
|
-
* @summary Fetches list of all NewsLetterSubscription
|
|
17114
|
-
* @param {*} [options] Override http request option.
|
|
17115
|
-
* @throws {RequiredError}
|
|
17116
|
-
*/
|
|
17117
|
-
miscNewsLettersGet(options) {
|
|
17118
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
17119
|
-
var _a, _b, _c;
|
|
17120
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.miscNewsLettersGet(options);
|
|
17121
|
-
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
17122
|
-
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['NewsLettersApi.miscNewsLettersGet']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
17123
|
-
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
17124
|
-
});
|
|
17125
|
-
},
|
|
17126
16715
|
/**
|
|
17127
16716
|
* Fetches NewsLetterSubscription by id
|
|
17128
16717
|
* @summary Fetches NewsLetterSubscription by id
|
|
@@ -17199,15 +16788,6 @@ exports.NewsLettersApiFp = NewsLettersApiFp;
|
|
|
17199
16788
|
const NewsLettersApiFactory = function (configuration, basePath, axios) {
|
|
17200
16789
|
const localVarFp = (0, exports.NewsLettersApiFp)(configuration);
|
|
17201
16790
|
return {
|
|
17202
|
-
/**
|
|
17203
|
-
* Fetches list of all NewsLetterSubscription
|
|
17204
|
-
* @summary Fetches list of all NewsLetterSubscription
|
|
17205
|
-
* @param {*} [options] Override http request option.
|
|
17206
|
-
* @throws {RequiredError}
|
|
17207
|
-
*/
|
|
17208
|
-
miscNewsLettersGet(options) {
|
|
17209
|
-
return localVarFp.miscNewsLettersGet(options).then((request) => request(axios, basePath));
|
|
17210
|
-
},
|
|
17211
16791
|
/**
|
|
17212
16792
|
* Fetches NewsLetterSubscription by id
|
|
17213
16793
|
* @summary Fetches NewsLetterSubscription by id
|
|
@@ -17260,16 +16840,6 @@ exports.NewsLettersApiFactory = NewsLettersApiFactory;
|
|
|
17260
16840
|
* @extends {BaseAPI}
|
|
17261
16841
|
*/
|
|
17262
16842
|
class NewsLettersApi extends base_1.BaseAPI {
|
|
17263
|
-
/**
|
|
17264
|
-
* Fetches list of all NewsLetterSubscription
|
|
17265
|
-
* @summary Fetches list of all NewsLetterSubscription
|
|
17266
|
-
* @param {*} [options] Override http request option.
|
|
17267
|
-
* @throws {RequiredError}
|
|
17268
|
-
* @memberof NewsLettersApi
|
|
17269
|
-
*/
|
|
17270
|
-
miscNewsLettersGet(options) {
|
|
17271
|
-
return (0, exports.NewsLettersApiFp)(this.configuration).miscNewsLettersGet(options).then((request) => request(this.axios, this.basePath));
|
|
17272
|
-
}
|
|
17273
16843
|
/**
|
|
17274
16844
|
* Fetches NewsLetterSubscription by id
|
|
17275
16845
|
* @summary Fetches NewsLetterSubscription by id
|
|
@@ -17959,33 +17529,6 @@ exports.OnboardingApi = OnboardingApi;
|
|
|
17959
17529
|
*/
|
|
17960
17530
|
const OrganizationsApiAxiosParamCreator = function (configuration) {
|
|
17961
17531
|
return {
|
|
17962
|
-
/**
|
|
17963
|
-
* Fetches list of all Organizations
|
|
17964
|
-
* @summary Fetches list of all Organizations
|
|
17965
|
-
* @param {*} [options] Override http request option.
|
|
17966
|
-
* @throws {RequiredError}
|
|
17967
|
-
*/
|
|
17968
|
-
adminOrganizationsGet: (...args_1) => __awaiter(this, [...args_1], void 0, function* (options = {}) {
|
|
17969
|
-
const localVarPath = `/admin/Organizations`;
|
|
17970
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
17971
|
-
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
17972
|
-
let baseOptions;
|
|
17973
|
-
if (configuration) {
|
|
17974
|
-
baseOptions = configuration.baseOptions;
|
|
17975
|
-
}
|
|
17976
|
-
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
17977
|
-
const localVarHeaderParameter = {};
|
|
17978
|
-
const localVarQueryParameter = {};
|
|
17979
|
-
// authentication BearerAuth required
|
|
17980
|
-
yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Authorization", configuration);
|
|
17981
|
-
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
17982
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
17983
|
-
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
17984
|
-
return {
|
|
17985
|
-
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
17986
|
-
options: localVarRequestOptions,
|
|
17987
|
-
};
|
|
17988
|
-
}),
|
|
17989
17532
|
/**
|
|
17990
17533
|
* Updates Orgnization information by ID.
|
|
17991
17534
|
* @summary Update an existing Orgnization
|
|
@@ -18130,21 +17673,6 @@ exports.OrganizationsApiAxiosParamCreator = OrganizationsApiAxiosParamCreator;
|
|
|
18130
17673
|
const OrganizationsApiFp = function (configuration) {
|
|
18131
17674
|
const localVarAxiosParamCreator = (0, exports.OrganizationsApiAxiosParamCreator)(configuration);
|
|
18132
17675
|
return {
|
|
18133
|
-
/**
|
|
18134
|
-
* Fetches list of all Organizations
|
|
18135
|
-
* @summary Fetches list of all Organizations
|
|
18136
|
-
* @param {*} [options] Override http request option.
|
|
18137
|
-
* @throws {RequiredError}
|
|
18138
|
-
*/
|
|
18139
|
-
adminOrganizationsGet(options) {
|
|
18140
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
18141
|
-
var _a, _b, _c;
|
|
18142
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.adminOrganizationsGet(options);
|
|
18143
|
-
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
18144
|
-
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['OrganizationsApi.adminOrganizationsGet']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
18145
|
-
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
18146
|
-
});
|
|
18147
|
-
},
|
|
18148
17676
|
/**
|
|
18149
17677
|
* Updates Orgnization information by ID.
|
|
18150
17678
|
* @summary Update an existing Orgnization
|
|
@@ -18221,15 +17749,6 @@ exports.OrganizationsApiFp = OrganizationsApiFp;
|
|
|
18221
17749
|
const OrganizationsApiFactory = function (configuration, basePath, axios) {
|
|
18222
17750
|
const localVarFp = (0, exports.OrganizationsApiFp)(configuration);
|
|
18223
17751
|
return {
|
|
18224
|
-
/**
|
|
18225
|
-
* Fetches list of all Organizations
|
|
18226
|
-
* @summary Fetches list of all Organizations
|
|
18227
|
-
* @param {*} [options] Override http request option.
|
|
18228
|
-
* @throws {RequiredError}
|
|
18229
|
-
*/
|
|
18230
|
-
adminOrganizationsGet(options) {
|
|
18231
|
-
return localVarFp.adminOrganizationsGet(options).then((request) => request(axios, basePath));
|
|
18232
|
-
},
|
|
18233
17752
|
/**
|
|
18234
17753
|
* Updates Orgnization information by ID.
|
|
18235
17754
|
* @summary Update an existing Orgnization
|
|
@@ -18282,16 +17801,6 @@ exports.OrganizationsApiFactory = OrganizationsApiFactory;
|
|
|
18282
17801
|
* @extends {BaseAPI}
|
|
18283
17802
|
*/
|
|
18284
17803
|
class OrganizationsApi extends base_1.BaseAPI {
|
|
18285
|
-
/**
|
|
18286
|
-
* Fetches list of all Organizations
|
|
18287
|
-
* @summary Fetches list of all Organizations
|
|
18288
|
-
* @param {*} [options] Override http request option.
|
|
18289
|
-
* @throws {RequiredError}
|
|
18290
|
-
* @memberof OrganizationsApi
|
|
18291
|
-
*/
|
|
18292
|
-
adminOrganizationsGet(options) {
|
|
18293
|
-
return (0, exports.OrganizationsApiFp)(this.configuration).adminOrganizationsGet(options).then((request) => request(this.axios, this.basePath));
|
|
18294
|
-
}
|
|
18295
17804
|
/**
|
|
18296
17805
|
* Updates Orgnization information by ID.
|
|
18297
17806
|
* @summary Update an existing Orgnization
|
|
@@ -19721,33 +19230,6 @@ exports.PaymentGatewayApi = PaymentGatewayApi;
|
|
|
19721
19230
|
*/
|
|
19722
19231
|
const PaymentsApiAxiosParamCreator = function (configuration) {
|
|
19723
19232
|
return {
|
|
19724
|
-
/**
|
|
19725
|
-
* Fetches list of all payments
|
|
19726
|
-
* @summary Fetches list of all payments
|
|
19727
|
-
* @param {*} [options] Override http request option.
|
|
19728
|
-
* @throws {RequiredError}
|
|
19729
|
-
*/
|
|
19730
|
-
adminPaymentsGet: (...args_1) => __awaiter(this, [...args_1], void 0, function* (options = {}) {
|
|
19731
|
-
const localVarPath = `/admin/payments/`;
|
|
19732
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
19733
|
-
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
19734
|
-
let baseOptions;
|
|
19735
|
-
if (configuration) {
|
|
19736
|
-
baseOptions = configuration.baseOptions;
|
|
19737
|
-
}
|
|
19738
|
-
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
19739
|
-
const localVarHeaderParameter = {};
|
|
19740
|
-
const localVarQueryParameter = {};
|
|
19741
|
-
// authentication BearerAuth required
|
|
19742
|
-
yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Authorization", configuration);
|
|
19743
|
-
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
19744
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
19745
|
-
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
19746
|
-
return {
|
|
19747
|
-
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
19748
|
-
options: localVarRequestOptions,
|
|
19749
|
-
};
|
|
19750
|
-
}),
|
|
19751
19233
|
/**
|
|
19752
19234
|
* Deletes a payment from the system by ID.
|
|
19753
19235
|
* @summary Delete a payment
|
|
@@ -19888,21 +19370,6 @@ exports.PaymentsApiAxiosParamCreator = PaymentsApiAxiosParamCreator;
|
|
|
19888
19370
|
const PaymentsApiFp = function (configuration) {
|
|
19889
19371
|
const localVarAxiosParamCreator = (0, exports.PaymentsApiAxiosParamCreator)(configuration);
|
|
19890
19372
|
return {
|
|
19891
|
-
/**
|
|
19892
|
-
* Fetches list of all payments
|
|
19893
|
-
* @summary Fetches list of all payments
|
|
19894
|
-
* @param {*} [options] Override http request option.
|
|
19895
|
-
* @throws {RequiredError}
|
|
19896
|
-
*/
|
|
19897
|
-
adminPaymentsGet(options) {
|
|
19898
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
19899
|
-
var _a, _b, _c;
|
|
19900
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.adminPaymentsGet(options);
|
|
19901
|
-
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
19902
|
-
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['PaymentsApi.adminPaymentsGet']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
19903
|
-
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
19904
|
-
});
|
|
19905
|
-
},
|
|
19906
19373
|
/**
|
|
19907
19374
|
* Deletes a payment from the system by ID.
|
|
19908
19375
|
* @summary Delete a payment
|
|
@@ -19978,15 +19445,6 @@ exports.PaymentsApiFp = PaymentsApiFp;
|
|
|
19978
19445
|
const PaymentsApiFactory = function (configuration, basePath, axios) {
|
|
19979
19446
|
const localVarFp = (0, exports.PaymentsApiFp)(configuration);
|
|
19980
19447
|
return {
|
|
19981
|
-
/**
|
|
19982
|
-
* Fetches list of all payments
|
|
19983
|
-
* @summary Fetches list of all payments
|
|
19984
|
-
* @param {*} [options] Override http request option.
|
|
19985
|
-
* @throws {RequiredError}
|
|
19986
|
-
*/
|
|
19987
|
-
adminPaymentsGet(options) {
|
|
19988
|
-
return localVarFp.adminPaymentsGet(options).then((request) => request(axios, basePath));
|
|
19989
|
-
},
|
|
19990
19448
|
/**
|
|
19991
19449
|
* Deletes a payment from the system by ID.
|
|
19992
19450
|
* @summary Delete a payment
|
|
@@ -20038,16 +19496,6 @@ exports.PaymentsApiFactory = PaymentsApiFactory;
|
|
|
20038
19496
|
* @extends {BaseAPI}
|
|
20039
19497
|
*/
|
|
20040
19498
|
class PaymentsApi extends base_1.BaseAPI {
|
|
20041
|
-
/**
|
|
20042
|
-
* Fetches list of all payments
|
|
20043
|
-
* @summary Fetches list of all payments
|
|
20044
|
-
* @param {*} [options] Override http request option.
|
|
20045
|
-
* @throws {RequiredError}
|
|
20046
|
-
* @memberof PaymentsApi
|
|
20047
|
-
*/
|
|
20048
|
-
adminPaymentsGet(options) {
|
|
20049
|
-
return (0, exports.PaymentsApiFp)(this.configuration).adminPaymentsGet(options).then((request) => request(this.axios, this.basePath));
|
|
20050
|
-
}
|
|
20051
19499
|
/**
|
|
20052
19500
|
* Deletes a payment from the system by ID.
|
|
20053
19501
|
* @summary Delete a payment
|
|
@@ -20101,33 +19549,6 @@ exports.PaymentsApi = PaymentsApi;
|
|
|
20101
19549
|
*/
|
|
20102
19550
|
const PlansApiAxiosParamCreator = function (configuration) {
|
|
20103
19551
|
return {
|
|
20104
|
-
/**
|
|
20105
|
-
* Fetches list of all Plans
|
|
20106
|
-
* @summary Fetches list of all Plans
|
|
20107
|
-
* @param {*} [options] Override http request option.
|
|
20108
|
-
* @throws {RequiredError}
|
|
20109
|
-
*/
|
|
20110
|
-
miscPlansGet: (...args_1) => __awaiter(this, [...args_1], void 0, function* (options = {}) {
|
|
20111
|
-
const localVarPath = `/misc/Plans`;
|
|
20112
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
20113
|
-
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
20114
|
-
let baseOptions;
|
|
20115
|
-
if (configuration) {
|
|
20116
|
-
baseOptions = configuration.baseOptions;
|
|
20117
|
-
}
|
|
20118
|
-
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
20119
|
-
const localVarHeaderParameter = {};
|
|
20120
|
-
const localVarQueryParameter = {};
|
|
20121
|
-
// authentication BearerAuth required
|
|
20122
|
-
yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Authorization", configuration);
|
|
20123
|
-
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
20124
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
20125
|
-
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
20126
|
-
return {
|
|
20127
|
-
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
20128
|
-
options: localVarRequestOptions,
|
|
20129
|
-
};
|
|
20130
|
-
}),
|
|
20131
19552
|
/**
|
|
20132
19553
|
* Fetches plan by id
|
|
20133
19554
|
* @summary Fetches plan by id
|
|
@@ -20272,21 +19693,6 @@ exports.PlansApiAxiosParamCreator = PlansApiAxiosParamCreator;
|
|
|
20272
19693
|
const PlansApiFp = function (configuration) {
|
|
20273
19694
|
const localVarAxiosParamCreator = (0, exports.PlansApiAxiosParamCreator)(configuration);
|
|
20274
19695
|
return {
|
|
20275
|
-
/**
|
|
20276
|
-
* Fetches list of all Plans
|
|
20277
|
-
* @summary Fetches list of all Plans
|
|
20278
|
-
* @param {*} [options] Override http request option.
|
|
20279
|
-
* @throws {RequiredError}
|
|
20280
|
-
*/
|
|
20281
|
-
miscPlansGet(options) {
|
|
20282
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
20283
|
-
var _a, _b, _c;
|
|
20284
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.miscPlansGet(options);
|
|
20285
|
-
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
20286
|
-
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['PlansApi.miscPlansGet']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
20287
|
-
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
20288
|
-
});
|
|
20289
|
-
},
|
|
20290
19696
|
/**
|
|
20291
19697
|
* Fetches plan by id
|
|
20292
19698
|
* @summary Fetches plan by id
|
|
@@ -20363,15 +19769,6 @@ exports.PlansApiFp = PlansApiFp;
|
|
|
20363
19769
|
const PlansApiFactory = function (configuration, basePath, axios) {
|
|
20364
19770
|
const localVarFp = (0, exports.PlansApiFp)(configuration);
|
|
20365
19771
|
return {
|
|
20366
|
-
/**
|
|
20367
|
-
* Fetches list of all Plans
|
|
20368
|
-
* @summary Fetches list of all Plans
|
|
20369
|
-
* @param {*} [options] Override http request option.
|
|
20370
|
-
* @throws {RequiredError}
|
|
20371
|
-
*/
|
|
20372
|
-
miscPlansGet(options) {
|
|
20373
|
-
return localVarFp.miscPlansGet(options).then((request) => request(axios, basePath));
|
|
20374
|
-
},
|
|
20375
19772
|
/**
|
|
20376
19773
|
* Fetches plan by id
|
|
20377
19774
|
* @summary Fetches plan by id
|
|
@@ -20424,16 +19821,6 @@ exports.PlansApiFactory = PlansApiFactory;
|
|
|
20424
19821
|
* @extends {BaseAPI}
|
|
20425
19822
|
*/
|
|
20426
19823
|
class PlansApi extends base_1.BaseAPI {
|
|
20427
|
-
/**
|
|
20428
|
-
* Fetches list of all Plans
|
|
20429
|
-
* @summary Fetches list of all Plans
|
|
20430
|
-
* @param {*} [options] Override http request option.
|
|
20431
|
-
* @throws {RequiredError}
|
|
20432
|
-
* @memberof PlansApi
|
|
20433
|
-
*/
|
|
20434
|
-
miscPlansGet(options) {
|
|
20435
|
-
return (0, exports.PlansApiFp)(this.configuration).miscPlansGet(options).then((request) => request(this.axios, this.basePath));
|
|
20436
|
-
}
|
|
20437
19824
|
/**
|
|
20438
19825
|
* Fetches plan by id
|
|
20439
19826
|
* @summary Fetches plan by id
|
|
@@ -25035,33 +24422,6 @@ exports.RegisterApi = RegisterApi;
|
|
|
25035
24422
|
*/
|
|
25036
24423
|
const RequestsApiAxiosParamCreator = function (configuration) {
|
|
25037
24424
|
return {
|
|
25038
|
-
/**
|
|
25039
|
-
* Fetches list of all ServiceRequest
|
|
25040
|
-
* @summary Fetches list of all ServiceRequest
|
|
25041
|
-
* @param {*} [options] Override http request option.
|
|
25042
|
-
* @throws {RequiredError}
|
|
25043
|
-
*/
|
|
25044
|
-
miscRequestsGet: (...args_1) => __awaiter(this, [...args_1], void 0, function* (options = {}) {
|
|
25045
|
-
const localVarPath = `/misc/Requests`;
|
|
25046
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
25047
|
-
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
25048
|
-
let baseOptions;
|
|
25049
|
-
if (configuration) {
|
|
25050
|
-
baseOptions = configuration.baseOptions;
|
|
25051
|
-
}
|
|
25052
|
-
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
25053
|
-
const localVarHeaderParameter = {};
|
|
25054
|
-
const localVarQueryParameter = {};
|
|
25055
|
-
// authentication BearerAuth required
|
|
25056
|
-
yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Authorization", configuration);
|
|
25057
|
-
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
25058
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
25059
|
-
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
25060
|
-
return {
|
|
25061
|
-
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
25062
|
-
options: localVarRequestOptions,
|
|
25063
|
-
};
|
|
25064
|
-
}),
|
|
25065
24425
|
/**
|
|
25066
24426
|
* Updates ServiceRequest information by ID.
|
|
25067
24427
|
* @summary Deletes an existing ServiceRequest
|
|
@@ -25238,33 +24598,18 @@ const RequestsApiFp = function (configuration) {
|
|
|
25238
24598
|
const localVarAxiosParamCreator = (0, exports.RequestsApiAxiosParamCreator)(configuration);
|
|
25239
24599
|
return {
|
|
25240
24600
|
/**
|
|
25241
|
-
*
|
|
25242
|
-
* @summary
|
|
24601
|
+
* Updates ServiceRequest information by ID.
|
|
24602
|
+
* @summary Deletes an existing ServiceRequest
|
|
24603
|
+
* @param {number} id Requests ID
|
|
25243
24604
|
* @param {*} [options] Override http request option.
|
|
25244
24605
|
* @throws {RequiredError}
|
|
25245
24606
|
*/
|
|
25246
|
-
|
|
24607
|
+
miscRequestsIdDelete(id, options) {
|
|
25247
24608
|
return __awaiter(this, void 0, void 0, function* () {
|
|
25248
24609
|
var _a, _b, _c;
|
|
25249
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.
|
|
24610
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.miscRequestsIdDelete(id, options);
|
|
25250
24611
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
25251
|
-
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['RequestsApi.
|
|
25252
|
-
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
25253
|
-
});
|
|
25254
|
-
},
|
|
25255
|
-
/**
|
|
25256
|
-
* Updates ServiceRequest information by ID.
|
|
25257
|
-
* @summary Deletes an existing ServiceRequest
|
|
25258
|
-
* @param {number} id Requests ID
|
|
25259
|
-
* @param {*} [options] Override http request option.
|
|
25260
|
-
* @throws {RequiredError}
|
|
25261
|
-
*/
|
|
25262
|
-
miscRequestsIdDelete(id, options) {
|
|
25263
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
25264
|
-
var _a, _b, _c;
|
|
25265
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.miscRequestsIdDelete(id, options);
|
|
25266
|
-
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
25267
|
-
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['RequestsApi.miscRequestsIdDelete']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
24612
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['RequestsApi.miscRequestsIdDelete']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
25268
24613
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
25269
24614
|
});
|
|
25270
24615
|
},
|
|
@@ -25344,15 +24689,6 @@ exports.RequestsApiFp = RequestsApiFp;
|
|
|
25344
24689
|
const RequestsApiFactory = function (configuration, basePath, axios) {
|
|
25345
24690
|
const localVarFp = (0, exports.RequestsApiFp)(configuration);
|
|
25346
24691
|
return {
|
|
25347
|
-
/**
|
|
25348
|
-
* Fetches list of all ServiceRequest
|
|
25349
|
-
* @summary Fetches list of all ServiceRequest
|
|
25350
|
-
* @param {*} [options] Override http request option.
|
|
25351
|
-
* @throws {RequiredError}
|
|
25352
|
-
*/
|
|
25353
|
-
miscRequestsGet(options) {
|
|
25354
|
-
return localVarFp.miscRequestsGet(options).then((request) => request(axios, basePath));
|
|
25355
|
-
},
|
|
25356
24692
|
/**
|
|
25357
24693
|
* Updates ServiceRequest information by ID.
|
|
25358
24694
|
* @summary Deletes an existing ServiceRequest
|
|
@@ -25415,16 +24751,6 @@ exports.RequestsApiFactory = RequestsApiFactory;
|
|
|
25415
24751
|
* @extends {BaseAPI}
|
|
25416
24752
|
*/
|
|
25417
24753
|
class RequestsApi extends base_1.BaseAPI {
|
|
25418
|
-
/**
|
|
25419
|
-
* Fetches list of all ServiceRequest
|
|
25420
|
-
* @summary Fetches list of all ServiceRequest
|
|
25421
|
-
* @param {*} [options] Override http request option.
|
|
25422
|
-
* @throws {RequiredError}
|
|
25423
|
-
* @memberof RequestsApi
|
|
25424
|
-
*/
|
|
25425
|
-
miscRequestsGet(options) {
|
|
25426
|
-
return (0, exports.RequestsApiFp)(this.configuration).miscRequestsGet(options).then((request) => request(this.axios, this.basePath));
|
|
25427
|
-
}
|
|
25428
24754
|
/**
|
|
25429
24755
|
* Updates ServiceRequest information by ID.
|
|
25430
24756
|
* @summary Deletes an existing ServiceRequest
|
|
@@ -25522,33 +24848,6 @@ const RoleRightsApiAxiosParamCreator = function (configuration) {
|
|
|
25522
24848
|
options: localVarRequestOptions,
|
|
25523
24849
|
};
|
|
25524
24850
|
}),
|
|
25525
|
-
/**
|
|
25526
|
-
* Fetches list of all roleright
|
|
25527
|
-
* @summary Fetches list of all roleright
|
|
25528
|
-
* @param {*} [options] Override http request option.
|
|
25529
|
-
* @throws {RequiredError}
|
|
25530
|
-
*/
|
|
25531
|
-
adminRolerightsGet: (...args_1) => __awaiter(this, [...args_1], void 0, function* (options = {}) {
|
|
25532
|
-
const localVarPath = `/admin/rolerights`;
|
|
25533
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
25534
|
-
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
25535
|
-
let baseOptions;
|
|
25536
|
-
if (configuration) {
|
|
25537
|
-
baseOptions = configuration.baseOptions;
|
|
25538
|
-
}
|
|
25539
|
-
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
25540
|
-
const localVarHeaderParameter = {};
|
|
25541
|
-
const localVarQueryParameter = {};
|
|
25542
|
-
// authentication BearerAuth required
|
|
25543
|
-
yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Authorization", configuration);
|
|
25544
|
-
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
25545
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
25546
|
-
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
25547
|
-
return {
|
|
25548
|
-
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
25549
|
-
options: localVarRequestOptions,
|
|
25550
|
-
};
|
|
25551
|
-
}),
|
|
25552
24851
|
/**
|
|
25553
24852
|
* Fetches roleright by role id
|
|
25554
24853
|
* @summary Fetches roleright by role id
|
|
@@ -25767,21 +25066,6 @@ const RoleRightsApiFp = function (configuration) {
|
|
|
25767
25066
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
25768
25067
|
});
|
|
25769
25068
|
},
|
|
25770
|
-
/**
|
|
25771
|
-
* Fetches list of all roleright
|
|
25772
|
-
* @summary Fetches list of all roleright
|
|
25773
|
-
* @param {*} [options] Override http request option.
|
|
25774
|
-
* @throws {RequiredError}
|
|
25775
|
-
*/
|
|
25776
|
-
adminRolerightsGet(options) {
|
|
25777
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
25778
|
-
var _a, _b, _c;
|
|
25779
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.adminRolerightsGet(options);
|
|
25780
|
-
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
25781
|
-
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['RoleRightsApi.adminRolerightsGet']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
25782
|
-
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
25783
|
-
});
|
|
25784
|
-
},
|
|
25785
25069
|
/**
|
|
25786
25070
|
* Fetches roleright by role id
|
|
25787
25071
|
* @summary Fetches roleright by role id
|
|
@@ -25899,15 +25183,6 @@ const RoleRightsApiFactory = function (configuration, basePath, axios) {
|
|
|
25899
25183
|
adminRolerightsBulkPost(dataTypesRoleRightRequestDto, options) {
|
|
25900
25184
|
return localVarFp.adminRolerightsBulkPost(dataTypesRoleRightRequestDto, options).then((request) => request(axios, basePath));
|
|
25901
25185
|
},
|
|
25902
|
-
/**
|
|
25903
|
-
* Fetches list of all roleright
|
|
25904
|
-
* @summary Fetches list of all roleright
|
|
25905
|
-
* @param {*} [options] Override http request option.
|
|
25906
|
-
* @throws {RequiredError}
|
|
25907
|
-
*/
|
|
25908
|
-
adminRolerightsGet(options) {
|
|
25909
|
-
return localVarFp.adminRolerightsGet(options).then((request) => request(axios, basePath));
|
|
25910
|
-
},
|
|
25911
25186
|
/**
|
|
25912
25187
|
* Fetches roleright by role id
|
|
25913
25188
|
* @summary Fetches roleright by role id
|
|
@@ -25990,16 +25265,6 @@ class RoleRightsApi extends base_1.BaseAPI {
|
|
|
25990
25265
|
adminRolerightsBulkPost(dataTypesRoleRightRequestDto, options) {
|
|
25991
25266
|
return (0, exports.RoleRightsApiFp)(this.configuration).adminRolerightsBulkPost(dataTypesRoleRightRequestDto, options).then((request) => request(this.axios, this.basePath));
|
|
25992
25267
|
}
|
|
25993
|
-
/**
|
|
25994
|
-
* Fetches list of all roleright
|
|
25995
|
-
* @summary Fetches list of all roleright
|
|
25996
|
-
* @param {*} [options] Override http request option.
|
|
25997
|
-
* @throws {RequiredError}
|
|
25998
|
-
* @memberof RoleRightsApi
|
|
25999
|
-
*/
|
|
26000
|
-
adminRolerightsGet(options) {
|
|
26001
|
-
return (0, exports.RoleRightsApiFp)(this.configuration).adminRolerightsGet(options).then((request) => request(this.axios, this.basePath));
|
|
26002
|
-
}
|
|
26003
25268
|
/**
|
|
26004
25269
|
* Fetches roleright by role id
|
|
26005
25270
|
* @summary Fetches roleright by role id
|
|
@@ -26142,37 +25407,6 @@ const RolesApiAxiosParamCreator = function (configuration) {
|
|
|
26142
25407
|
options: localVarRequestOptions,
|
|
26143
25408
|
};
|
|
26144
25409
|
}),
|
|
26145
|
-
/**
|
|
26146
|
-
* Fetches list of all roles
|
|
26147
|
-
* @summary Fetches list of all roles
|
|
26148
|
-
* @param {number} orgId Org ID
|
|
26149
|
-
* @param {*} [options] Override http request option.
|
|
26150
|
-
* @throws {RequiredError}
|
|
26151
|
-
*/
|
|
26152
|
-
adminRolesOrgIdGet: (orgId_1, ...args_1) => __awaiter(this, [orgId_1, ...args_1], void 0, function* (orgId, options = {}) {
|
|
26153
|
-
// verify required parameter 'orgId' is not null or undefined
|
|
26154
|
-
(0, common_1.assertParamExists)('adminRolesOrgIdGet', 'orgId', orgId);
|
|
26155
|
-
const localVarPath = `/admin/roles/{OrgId}`
|
|
26156
|
-
.replace(`{${"OrgId"}}`, encodeURIComponent(String(orgId)));
|
|
26157
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
26158
|
-
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
26159
|
-
let baseOptions;
|
|
26160
|
-
if (configuration) {
|
|
26161
|
-
baseOptions = configuration.baseOptions;
|
|
26162
|
-
}
|
|
26163
|
-
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
26164
|
-
const localVarHeaderParameter = {};
|
|
26165
|
-
const localVarQueryParameter = {};
|
|
26166
|
-
// authentication BearerAuth required
|
|
26167
|
-
yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Authorization", configuration);
|
|
26168
|
-
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
26169
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
26170
|
-
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
26171
|
-
return {
|
|
26172
|
-
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
26173
|
-
options: localVarRequestOptions,
|
|
26174
|
-
};
|
|
26175
|
-
}),
|
|
26176
25410
|
/**
|
|
26177
25411
|
* Fetches role by id
|
|
26178
25412
|
* @summary Fetches role by id
|
|
@@ -26283,22 +25517,6 @@ const RolesApiFp = function (configuration) {
|
|
|
26283
25517
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
26284
25518
|
});
|
|
26285
25519
|
},
|
|
26286
|
-
/**
|
|
26287
|
-
* Fetches list of all roles
|
|
26288
|
-
* @summary Fetches list of all roles
|
|
26289
|
-
* @param {number} orgId Org ID
|
|
26290
|
-
* @param {*} [options] Override http request option.
|
|
26291
|
-
* @throws {RequiredError}
|
|
26292
|
-
*/
|
|
26293
|
-
adminRolesOrgIdGet(orgId, options) {
|
|
26294
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
26295
|
-
var _a, _b, _c;
|
|
26296
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.adminRolesOrgIdGet(orgId, options);
|
|
26297
|
-
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
26298
|
-
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['RolesApi.adminRolesOrgIdGet']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
26299
|
-
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
26300
|
-
});
|
|
26301
|
-
},
|
|
26302
25520
|
/**
|
|
26303
25521
|
* Fetches role by id
|
|
26304
25522
|
* @summary Fetches role by id
|
|
@@ -26363,16 +25581,6 @@ const RolesApiFactory = function (configuration, basePath, axios) {
|
|
|
26363
25581
|
adminRolesIdPut(id, dataTypesCreateRoleRequestDto, options) {
|
|
26364
25582
|
return localVarFp.adminRolesIdPut(id, dataTypesCreateRoleRequestDto, options).then((request) => request(axios, basePath));
|
|
26365
25583
|
},
|
|
26366
|
-
/**
|
|
26367
|
-
* Fetches list of all roles
|
|
26368
|
-
* @summary Fetches list of all roles
|
|
26369
|
-
* @param {number} orgId Org ID
|
|
26370
|
-
* @param {*} [options] Override http request option.
|
|
26371
|
-
* @throws {RequiredError}
|
|
26372
|
-
*/
|
|
26373
|
-
adminRolesOrgIdGet(orgId, options) {
|
|
26374
|
-
return localVarFp.adminRolesOrgIdGet(orgId, options).then((request) => request(axios, basePath));
|
|
26375
|
-
},
|
|
26376
25584
|
/**
|
|
26377
25585
|
* Fetches role by id
|
|
26378
25586
|
* @summary Fetches role by id
|
|
@@ -26427,17 +25635,6 @@ class RolesApi extends base_1.BaseAPI {
|
|
|
26427
25635
|
adminRolesIdPut(id, dataTypesCreateRoleRequestDto, options) {
|
|
26428
25636
|
return (0, exports.RolesApiFp)(this.configuration).adminRolesIdPut(id, dataTypesCreateRoleRequestDto, options).then((request) => request(this.axios, this.basePath));
|
|
26429
25637
|
}
|
|
26430
|
-
/**
|
|
26431
|
-
* Fetches list of all roles
|
|
26432
|
-
* @summary Fetches list of all roles
|
|
26433
|
-
* @param {number} orgId Org ID
|
|
26434
|
-
* @param {*} [options] Override http request option.
|
|
26435
|
-
* @throws {RequiredError}
|
|
26436
|
-
* @memberof RolesApi
|
|
26437
|
-
*/
|
|
26438
|
-
adminRolesOrgIdGet(orgId, options) {
|
|
26439
|
-
return (0, exports.RolesApiFp)(this.configuration).adminRolesOrgIdGet(orgId, options).then((request) => request(this.axios, this.basePath));
|
|
26440
|
-
}
|
|
26441
25638
|
/**
|
|
26442
25639
|
* Fetches role by id
|
|
26443
25640
|
* @summary Fetches role by id
|
|
@@ -26664,48 +25861,6 @@ const SearchApiAxiosParamCreator = function (configuration) {
|
|
|
26664
25861
|
options: localVarRequestOptions,
|
|
26665
25862
|
};
|
|
26666
25863
|
}),
|
|
26667
|
-
/**
|
|
26668
|
-
* Search documents using store credentials with optional autocomplete suggestions and configurable stopwords/synonyms
|
|
26669
|
-
* @summary Public Search API
|
|
26670
|
-
* @param {string} xStoreid Store ID
|
|
26671
|
-
* @param {string} xStoresecret Store Secret
|
|
26672
|
-
* @param {DataTypesPublicSearchRequest} dataTypesPublicSearchRequest Search request with optional stopword_sets and synonym_sets for granular control
|
|
26673
|
-
* @param {*} [options] Override http request option.
|
|
26674
|
-
* @throws {RequiredError}
|
|
26675
|
-
*/
|
|
26676
|
-
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 = {}) {
|
|
26677
|
-
// verify required parameter 'xStoreid' is not null or undefined
|
|
26678
|
-
(0, common_1.assertParamExists)('v1SearchPost', 'xStoreid', xStoreid);
|
|
26679
|
-
// verify required parameter 'xStoresecret' is not null or undefined
|
|
26680
|
-
(0, common_1.assertParamExists)('v1SearchPost', 'xStoresecret', xStoresecret);
|
|
26681
|
-
// verify required parameter 'dataTypesPublicSearchRequest' is not null or undefined
|
|
26682
|
-
(0, common_1.assertParamExists)('v1SearchPost', 'dataTypesPublicSearchRequest', dataTypesPublicSearchRequest);
|
|
26683
|
-
const localVarPath = `/v1/search`;
|
|
26684
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
26685
|
-
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
26686
|
-
let baseOptions;
|
|
26687
|
-
if (configuration) {
|
|
26688
|
-
baseOptions = configuration.baseOptions;
|
|
26689
|
-
}
|
|
26690
|
-
const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
|
|
26691
|
-
const localVarHeaderParameter = {};
|
|
26692
|
-
const localVarQueryParameter = {};
|
|
26693
|
-
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
26694
|
-
if (xStoreid != null) {
|
|
26695
|
-
localVarHeaderParameter['x-storeid'] = String(xStoreid);
|
|
26696
|
-
}
|
|
26697
|
-
if (xStoresecret != null) {
|
|
26698
|
-
localVarHeaderParameter['x-storesecret'] = String(xStoresecret);
|
|
26699
|
-
}
|
|
26700
|
-
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
26701
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
26702
|
-
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
26703
|
-
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(dataTypesPublicSearchRequest, localVarRequestOptions, configuration);
|
|
26704
|
-
return {
|
|
26705
|
-
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
26706
|
-
options: localVarRequestOptions,
|
|
26707
|
-
};
|
|
26708
|
-
}),
|
|
26709
25864
|
};
|
|
26710
25865
|
};
|
|
26711
25866
|
exports.SearchApiAxiosParamCreator = SearchApiAxiosParamCreator;
|
|
@@ -26816,24 +25971,6 @@ const SearchApiFp = function (configuration) {
|
|
|
26816
25971
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
26817
25972
|
});
|
|
26818
25973
|
},
|
|
26819
|
-
/**
|
|
26820
|
-
* Search documents using store credentials with optional autocomplete suggestions and configurable stopwords/synonyms
|
|
26821
|
-
* @summary Public Search API
|
|
26822
|
-
* @param {string} xStoreid Store ID
|
|
26823
|
-
* @param {string} xStoresecret Store Secret
|
|
26824
|
-
* @param {DataTypesPublicSearchRequest} dataTypesPublicSearchRequest Search request with optional stopword_sets and synonym_sets for granular control
|
|
26825
|
-
* @param {*} [options] Override http request option.
|
|
26826
|
-
* @throws {RequiredError}
|
|
26827
|
-
*/
|
|
26828
|
-
v1SearchPost(xStoreid, xStoresecret, dataTypesPublicSearchRequest, options) {
|
|
26829
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
26830
|
-
var _a, _b, _c;
|
|
26831
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.v1SearchPost(xStoreid, xStoresecret, dataTypesPublicSearchRequest, options);
|
|
26832
|
-
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
26833
|
-
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['SearchApi.v1SearchPost']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
26834
|
-
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
26835
|
-
});
|
|
26836
|
-
},
|
|
26837
25974
|
};
|
|
26838
25975
|
};
|
|
26839
25976
|
exports.SearchApiFp = SearchApiFp;
|
|
@@ -26908,18 +26045,6 @@ const SearchApiFactory = function (configuration, basePath, axios) {
|
|
|
26908
26045
|
v1IndexIndexnameDefaultsGet(indexname, options) {
|
|
26909
26046
|
return localVarFp.v1IndexIndexnameDefaultsGet(indexname, options).then((request) => request(axios, basePath));
|
|
26910
26047
|
},
|
|
26911
|
-
/**
|
|
26912
|
-
* Search documents using store credentials with optional autocomplete suggestions and configurable stopwords/synonyms
|
|
26913
|
-
* @summary Public Search API
|
|
26914
|
-
* @param {string} xStoreid Store ID
|
|
26915
|
-
* @param {string} xStoresecret Store Secret
|
|
26916
|
-
* @param {DataTypesPublicSearchRequest} dataTypesPublicSearchRequest Search request with optional stopword_sets and synonym_sets for granular control
|
|
26917
|
-
* @param {*} [options] Override http request option.
|
|
26918
|
-
* @throws {RequiredError}
|
|
26919
|
-
*/
|
|
26920
|
-
v1SearchPost(xStoreid, xStoresecret, dataTypesPublicSearchRequest, options) {
|
|
26921
|
-
return localVarFp.v1SearchPost(xStoreid, xStoresecret, dataTypesPublicSearchRequest, options).then((request) => request(axios, basePath));
|
|
26922
|
-
},
|
|
26923
26048
|
};
|
|
26924
26049
|
};
|
|
26925
26050
|
exports.SearchApiFactory = SearchApiFactory;
|
|
@@ -27000,19 +26125,6 @@ class SearchApi extends base_1.BaseAPI {
|
|
|
27000
26125
|
v1IndexIndexnameDefaultsGet(indexname, options) {
|
|
27001
26126
|
return (0, exports.SearchApiFp)(this.configuration).v1IndexIndexnameDefaultsGet(indexname, options).then((request) => request(this.axios, this.basePath));
|
|
27002
26127
|
}
|
|
27003
|
-
/**
|
|
27004
|
-
* Search documents using store credentials with optional autocomplete suggestions and configurable stopwords/synonyms
|
|
27005
|
-
* @summary Public Search API
|
|
27006
|
-
* @param {string} xStoreid Store ID
|
|
27007
|
-
* @param {string} xStoresecret Store Secret
|
|
27008
|
-
* @param {DataTypesPublicSearchRequest} dataTypesPublicSearchRequest Search request with optional stopword_sets and synonym_sets for granular control
|
|
27009
|
-
* @param {*} [options] Override http request option.
|
|
27010
|
-
* @throws {RequiredError}
|
|
27011
|
-
* @memberof SearchApi
|
|
27012
|
-
*/
|
|
27013
|
-
v1SearchPost(xStoreid, xStoresecret, dataTypesPublicSearchRequest, options) {
|
|
27014
|
-
return (0, exports.SearchApiFp)(this.configuration).v1SearchPost(xStoreid, xStoresecret, dataTypesPublicSearchRequest, options).then((request) => request(this.axios, this.basePath));
|
|
27015
|
-
}
|
|
27016
26128
|
}
|
|
27017
26129
|
exports.SearchApi = SearchApi;
|
|
27018
26130
|
/**
|
|
@@ -30238,33 +29350,6 @@ const SubscriptionsApiAxiosParamCreator = function (configuration) {
|
|
|
30238
29350
|
options: localVarRequestOptions,
|
|
30239
29351
|
};
|
|
30240
29352
|
}),
|
|
30241
|
-
/**
|
|
30242
|
-
* Fetches list of all Subscription
|
|
30243
|
-
* @summary Fetches list of all Subscription
|
|
30244
|
-
* @param {*} [options] Override http request option.
|
|
30245
|
-
* @throws {RequiredError}
|
|
30246
|
-
*/
|
|
30247
|
-
miscSubscriptionsGet: (...args_1) => __awaiter(this, [...args_1], void 0, function* (options = {}) {
|
|
30248
|
-
const localVarPath = `/misc/subscriptions`;
|
|
30249
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
30250
|
-
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
30251
|
-
let baseOptions;
|
|
30252
|
-
if (configuration) {
|
|
30253
|
-
baseOptions = configuration.baseOptions;
|
|
30254
|
-
}
|
|
30255
|
-
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
30256
|
-
const localVarHeaderParameter = {};
|
|
30257
|
-
const localVarQueryParameter = {};
|
|
30258
|
-
// authentication BearerAuth required
|
|
30259
|
-
yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Authorization", configuration);
|
|
30260
|
-
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
30261
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
30262
|
-
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
30263
|
-
return {
|
|
30264
|
-
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
30265
|
-
options: localVarRequestOptions,
|
|
30266
|
-
};
|
|
30267
|
-
}),
|
|
30268
29353
|
/**
|
|
30269
29354
|
* Adds a new Subscription to the system
|
|
30270
29355
|
* @summary Creates a new Subscription
|
|
@@ -30404,21 +29489,6 @@ const SubscriptionsApiFp = function (configuration) {
|
|
|
30404
29489
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
30405
29490
|
});
|
|
30406
29491
|
},
|
|
30407
|
-
/**
|
|
30408
|
-
* Fetches list of all Subscription
|
|
30409
|
-
* @summary Fetches list of all Subscription
|
|
30410
|
-
* @param {*} [options] Override http request option.
|
|
30411
|
-
* @throws {RequiredError}
|
|
30412
|
-
*/
|
|
30413
|
-
miscSubscriptionsGet(options) {
|
|
30414
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
30415
|
-
var _a, _b, _c;
|
|
30416
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.miscSubscriptionsGet(options);
|
|
30417
|
-
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
30418
|
-
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['SubscriptionsApi.miscSubscriptionsGet']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
30419
|
-
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
30420
|
-
});
|
|
30421
|
-
},
|
|
30422
29492
|
/**
|
|
30423
29493
|
* Adds a new Subscription to the system
|
|
30424
29494
|
* @summary Creates a new Subscription
|
|
@@ -30503,15 +29573,6 @@ const SubscriptionsApiFactory = function (configuration, basePath, axios) {
|
|
|
30503
29573
|
adminSubscriptionsUpdatestatusSubscriptionIDStatusPut(subscriptionID, status, options) {
|
|
30504
29574
|
return localVarFp.adminSubscriptionsUpdatestatusSubscriptionIDStatusPut(subscriptionID, status, options).then((request) => request(axios, basePath));
|
|
30505
29575
|
},
|
|
30506
|
-
/**
|
|
30507
|
-
* Fetches list of all Subscription
|
|
30508
|
-
* @summary Fetches list of all Subscription
|
|
30509
|
-
* @param {*} [options] Override http request option.
|
|
30510
|
-
* @throws {RequiredError}
|
|
30511
|
-
*/
|
|
30512
|
-
miscSubscriptionsGet(options) {
|
|
30513
|
-
return localVarFp.miscSubscriptionsGet(options).then((request) => request(axios, basePath));
|
|
30514
|
-
},
|
|
30515
29576
|
/**
|
|
30516
29577
|
* Adds a new Subscription to the system
|
|
30517
29578
|
* @summary Creates a new Subscription
|
|
@@ -30588,16 +29649,6 @@ class SubscriptionsApi extends base_1.BaseAPI {
|
|
|
30588
29649
|
adminSubscriptionsUpdatestatusSubscriptionIDStatusPut(subscriptionID, status, options) {
|
|
30589
29650
|
return (0, exports.SubscriptionsApiFp)(this.configuration).adminSubscriptionsUpdatestatusSubscriptionIDStatusPut(subscriptionID, status, options).then((request) => request(this.axios, this.basePath));
|
|
30590
29651
|
}
|
|
30591
|
-
/**
|
|
30592
|
-
* Fetches list of all Subscription
|
|
30593
|
-
* @summary Fetches list of all Subscription
|
|
30594
|
-
* @param {*} [options] Override http request option.
|
|
30595
|
-
* @throws {RequiredError}
|
|
30596
|
-
* @memberof SubscriptionsApi
|
|
30597
|
-
*/
|
|
30598
|
-
miscSubscriptionsGet(options) {
|
|
30599
|
-
return (0, exports.SubscriptionsApiFp)(this.configuration).miscSubscriptionsGet(options).then((request) => request(this.axios, this.basePath));
|
|
30600
|
-
}
|
|
30601
29652
|
/**
|
|
30602
29653
|
* Adds a new Subscription to the system
|
|
30603
29654
|
* @summary Creates a new Subscription
|
|
@@ -30928,6 +29979,920 @@ class TaxManagementApi extends base_1.BaseAPI {
|
|
|
30928
29979
|
}
|
|
30929
29980
|
}
|
|
30930
29981
|
exports.TaxManagementApi = TaxManagementApi;
|
|
29982
|
+
/**
|
|
29983
|
+
* TeamApi - axios parameter creator
|
|
29984
|
+
* @export
|
|
29985
|
+
*/
|
|
29986
|
+
const TeamApiAxiosParamCreator = function (configuration) {
|
|
29987
|
+
return {
|
|
29988
|
+
/**
|
|
29989
|
+
* Cancels a pending invitation
|
|
29990
|
+
* @summary Cancel invitation
|
|
29991
|
+
* @param {number} invitationId Invitation ID
|
|
29992
|
+
* @param {*} [options] Override http request option.
|
|
29993
|
+
* @throws {RequiredError}
|
|
29994
|
+
*/
|
|
29995
|
+
apiV1InvitationsInvitationIdDelete: (invitationId_1, ...args_1) => __awaiter(this, [invitationId_1, ...args_1], void 0, function* (invitationId, options = {}) {
|
|
29996
|
+
// verify required parameter 'invitationId' is not null or undefined
|
|
29997
|
+
(0, common_1.assertParamExists)('apiV1InvitationsInvitationIdDelete', 'invitationId', invitationId);
|
|
29998
|
+
const localVarPath = `/api/v1/invitations/{invitationId}`
|
|
29999
|
+
.replace(`{${"invitationId"}}`, encodeURIComponent(String(invitationId)));
|
|
30000
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
30001
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
30002
|
+
let baseOptions;
|
|
30003
|
+
if (configuration) {
|
|
30004
|
+
baseOptions = configuration.baseOptions;
|
|
30005
|
+
}
|
|
30006
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'DELETE' }, baseOptions), options);
|
|
30007
|
+
const localVarHeaderParameter = {};
|
|
30008
|
+
const localVarQueryParameter = {};
|
|
30009
|
+
// authentication BearerAuth required
|
|
30010
|
+
yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Authorization", configuration);
|
|
30011
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
30012
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
30013
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
30014
|
+
return {
|
|
30015
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
30016
|
+
options: localVarRequestOptions,
|
|
30017
|
+
};
|
|
30018
|
+
}),
|
|
30019
|
+
/**
|
|
30020
|
+
* Accepts a team invitation using token
|
|
30021
|
+
* @summary Accept invitation
|
|
30022
|
+
* @param {string} token Invitation Token
|
|
30023
|
+
* @param {*} [options] Override http request option.
|
|
30024
|
+
* @throws {RequiredError}
|
|
30025
|
+
*/
|
|
30026
|
+
apiV1InvitationsTokenAcceptPost: (token_1, ...args_1) => __awaiter(this, [token_1, ...args_1], void 0, function* (token, options = {}) {
|
|
30027
|
+
// verify required parameter 'token' is not null or undefined
|
|
30028
|
+
(0, common_1.assertParamExists)('apiV1InvitationsTokenAcceptPost', 'token', token);
|
|
30029
|
+
const localVarPath = `/api/v1/invitations/{token}/accept`
|
|
30030
|
+
.replace(`{${"token"}}`, encodeURIComponent(String(token)));
|
|
30031
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
30032
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
30033
|
+
let baseOptions;
|
|
30034
|
+
if (configuration) {
|
|
30035
|
+
baseOptions = configuration.baseOptions;
|
|
30036
|
+
}
|
|
30037
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
|
|
30038
|
+
const localVarHeaderParameter = {};
|
|
30039
|
+
const localVarQueryParameter = {};
|
|
30040
|
+
// authentication BearerAuth required
|
|
30041
|
+
yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Authorization", configuration);
|
|
30042
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
30043
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
30044
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
30045
|
+
return {
|
|
30046
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
30047
|
+
options: localVarRequestOptions,
|
|
30048
|
+
};
|
|
30049
|
+
}),
|
|
30050
|
+
/**
|
|
30051
|
+
* Retrieves all pending invitations for an organization
|
|
30052
|
+
* @summary Get pending invitations
|
|
30053
|
+
* @param {number} orgId Organization ID
|
|
30054
|
+
* @param {*} [options] Override http request option.
|
|
30055
|
+
* @throws {RequiredError}
|
|
30056
|
+
*/
|
|
30057
|
+
apiV1OrganizationsOrgIdInvitationsGet: (orgId_1, ...args_1) => __awaiter(this, [orgId_1, ...args_1], void 0, function* (orgId, options = {}) {
|
|
30058
|
+
// verify required parameter 'orgId' is not null or undefined
|
|
30059
|
+
(0, common_1.assertParamExists)('apiV1OrganizationsOrgIdInvitationsGet', 'orgId', orgId);
|
|
30060
|
+
const localVarPath = `/api/v1/organizations/{orgId}/invitations`
|
|
30061
|
+
.replace(`{${"orgId"}}`, encodeURIComponent(String(orgId)));
|
|
30062
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
30063
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
30064
|
+
let baseOptions;
|
|
30065
|
+
if (configuration) {
|
|
30066
|
+
baseOptions = configuration.baseOptions;
|
|
30067
|
+
}
|
|
30068
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
30069
|
+
const localVarHeaderParameter = {};
|
|
30070
|
+
const localVarQueryParameter = {};
|
|
30071
|
+
// authentication BearerAuth required
|
|
30072
|
+
yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Authorization", configuration);
|
|
30073
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
30074
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
30075
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
30076
|
+
return {
|
|
30077
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
30078
|
+
options: localVarRequestOptions,
|
|
30079
|
+
};
|
|
30080
|
+
}),
|
|
30081
|
+
/**
|
|
30082
|
+
* Retrieves all members of an organization with their details
|
|
30083
|
+
* @summary Get all members of an organization
|
|
30084
|
+
* @param {number} orgId Organization ID
|
|
30085
|
+
* @param {*} [options] Override http request option.
|
|
30086
|
+
* @throws {RequiredError}
|
|
30087
|
+
*/
|
|
30088
|
+
apiV1OrganizationsOrgIdMembersGet: (orgId_1, ...args_1) => __awaiter(this, [orgId_1, ...args_1], void 0, function* (orgId, options = {}) {
|
|
30089
|
+
// verify required parameter 'orgId' is not null or undefined
|
|
30090
|
+
(0, common_1.assertParamExists)('apiV1OrganizationsOrgIdMembersGet', 'orgId', orgId);
|
|
30091
|
+
const localVarPath = `/api/v1/organizations/{orgId}/members`
|
|
30092
|
+
.replace(`{${"orgId"}}`, encodeURIComponent(String(orgId)));
|
|
30093
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
30094
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
30095
|
+
let baseOptions;
|
|
30096
|
+
if (configuration) {
|
|
30097
|
+
baseOptions = configuration.baseOptions;
|
|
30098
|
+
}
|
|
30099
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
30100
|
+
const localVarHeaderParameter = {};
|
|
30101
|
+
const localVarQueryParameter = {};
|
|
30102
|
+
// authentication BearerAuth required
|
|
30103
|
+
yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Authorization", configuration);
|
|
30104
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
30105
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
30106
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
30107
|
+
return {
|
|
30108
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
30109
|
+
options: localVarRequestOptions,
|
|
30110
|
+
};
|
|
30111
|
+
}),
|
|
30112
|
+
/**
|
|
30113
|
+
* Sends an invitation to a user to join the organization
|
|
30114
|
+
* @summary Invite a member to join organization
|
|
30115
|
+
* @param {number} orgId Organization ID
|
|
30116
|
+
* @param {DataTypesInviteMemberRequest} dataTypesInviteMemberRequest Invitation details
|
|
30117
|
+
* @param {*} [options] Override http request option.
|
|
30118
|
+
* @throws {RequiredError}
|
|
30119
|
+
*/
|
|
30120
|
+
apiV1OrganizationsOrgIdMembersInvitePost: (orgId_1, dataTypesInviteMemberRequest_1, ...args_1) => __awaiter(this, [orgId_1, dataTypesInviteMemberRequest_1, ...args_1], void 0, function* (orgId, dataTypesInviteMemberRequest, options = {}) {
|
|
30121
|
+
// verify required parameter 'orgId' is not null or undefined
|
|
30122
|
+
(0, common_1.assertParamExists)('apiV1OrganizationsOrgIdMembersInvitePost', 'orgId', orgId);
|
|
30123
|
+
// verify required parameter 'dataTypesInviteMemberRequest' is not null or undefined
|
|
30124
|
+
(0, common_1.assertParamExists)('apiV1OrganizationsOrgIdMembersInvitePost', 'dataTypesInviteMemberRequest', dataTypesInviteMemberRequest);
|
|
30125
|
+
const localVarPath = `/api/v1/organizations/{orgId}/members/invite`
|
|
30126
|
+
.replace(`{${"orgId"}}`, encodeURIComponent(String(orgId)));
|
|
30127
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
30128
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
30129
|
+
let baseOptions;
|
|
30130
|
+
if (configuration) {
|
|
30131
|
+
baseOptions = configuration.baseOptions;
|
|
30132
|
+
}
|
|
30133
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
|
|
30134
|
+
const localVarHeaderParameter = {};
|
|
30135
|
+
const localVarQueryParameter = {};
|
|
30136
|
+
// authentication BearerAuth required
|
|
30137
|
+
yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Authorization", configuration);
|
|
30138
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
30139
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
30140
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
30141
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
30142
|
+
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(dataTypesInviteMemberRequest, localVarRequestOptions, configuration);
|
|
30143
|
+
return {
|
|
30144
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
30145
|
+
options: localVarRequestOptions,
|
|
30146
|
+
};
|
|
30147
|
+
}),
|
|
30148
|
+
/**
|
|
30149
|
+
* Removes a member from the organization
|
|
30150
|
+
* @summary Remove member from organization
|
|
30151
|
+
* @param {number} orgId Organization ID
|
|
30152
|
+
* @param {number} memberId Member ID
|
|
30153
|
+
* @param {*} [options] Override http request option.
|
|
30154
|
+
* @throws {RequiredError}
|
|
30155
|
+
*/
|
|
30156
|
+
apiV1OrganizationsOrgIdMembersMemberIdDelete: (orgId_1, memberId_1, ...args_1) => __awaiter(this, [orgId_1, memberId_1, ...args_1], void 0, function* (orgId, memberId, options = {}) {
|
|
30157
|
+
// verify required parameter 'orgId' is not null or undefined
|
|
30158
|
+
(0, common_1.assertParamExists)('apiV1OrganizationsOrgIdMembersMemberIdDelete', 'orgId', orgId);
|
|
30159
|
+
// verify required parameter 'memberId' is not null or undefined
|
|
30160
|
+
(0, common_1.assertParamExists)('apiV1OrganizationsOrgIdMembersMemberIdDelete', 'memberId', memberId);
|
|
30161
|
+
const localVarPath = `/api/v1/organizations/{orgId}/members/{memberId}`
|
|
30162
|
+
.replace(`{${"orgId"}}`, encodeURIComponent(String(orgId)))
|
|
30163
|
+
.replace(`{${"memberId"}}`, encodeURIComponent(String(memberId)));
|
|
30164
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
30165
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
30166
|
+
let baseOptions;
|
|
30167
|
+
if (configuration) {
|
|
30168
|
+
baseOptions = configuration.baseOptions;
|
|
30169
|
+
}
|
|
30170
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'DELETE' }, baseOptions), options);
|
|
30171
|
+
const localVarHeaderParameter = {};
|
|
30172
|
+
const localVarQueryParameter = {};
|
|
30173
|
+
// authentication BearerAuth required
|
|
30174
|
+
yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Authorization", configuration);
|
|
30175
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
30176
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
30177
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
30178
|
+
return {
|
|
30179
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
30180
|
+
options: localVarRequestOptions,
|
|
30181
|
+
};
|
|
30182
|
+
}),
|
|
30183
|
+
/**
|
|
30184
|
+
* Updates the role of a member in the organization
|
|
30185
|
+
* @summary Update member role
|
|
30186
|
+
* @param {number} orgId Organization ID
|
|
30187
|
+
* @param {number} memberId Member ID
|
|
30188
|
+
* @param {DataTypesUpdateMemberRoleRequest} dataTypesUpdateMemberRoleRequest New role
|
|
30189
|
+
* @param {*} [options] Override http request option.
|
|
30190
|
+
* @throws {RequiredError}
|
|
30191
|
+
*/
|
|
30192
|
+
apiV1OrganizationsOrgIdMembersMemberIdRolePut: (orgId_1, memberId_1, dataTypesUpdateMemberRoleRequest_1, ...args_1) => __awaiter(this, [orgId_1, memberId_1, dataTypesUpdateMemberRoleRequest_1, ...args_1], void 0, function* (orgId, memberId, dataTypesUpdateMemberRoleRequest, options = {}) {
|
|
30193
|
+
// verify required parameter 'orgId' is not null or undefined
|
|
30194
|
+
(0, common_1.assertParamExists)('apiV1OrganizationsOrgIdMembersMemberIdRolePut', 'orgId', orgId);
|
|
30195
|
+
// verify required parameter 'memberId' is not null or undefined
|
|
30196
|
+
(0, common_1.assertParamExists)('apiV1OrganizationsOrgIdMembersMemberIdRolePut', 'memberId', memberId);
|
|
30197
|
+
// verify required parameter 'dataTypesUpdateMemberRoleRequest' is not null or undefined
|
|
30198
|
+
(0, common_1.assertParamExists)('apiV1OrganizationsOrgIdMembersMemberIdRolePut', 'dataTypesUpdateMemberRoleRequest', dataTypesUpdateMemberRoleRequest);
|
|
30199
|
+
const localVarPath = `/api/v1/organizations/{orgId}/members/{memberId}/role`
|
|
30200
|
+
.replace(`{${"orgId"}}`, encodeURIComponent(String(orgId)))
|
|
30201
|
+
.replace(`{${"memberId"}}`, encodeURIComponent(String(memberId)));
|
|
30202
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
30203
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
30204
|
+
let baseOptions;
|
|
30205
|
+
if (configuration) {
|
|
30206
|
+
baseOptions = configuration.baseOptions;
|
|
30207
|
+
}
|
|
30208
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'PUT' }, baseOptions), options);
|
|
30209
|
+
const localVarHeaderParameter = {};
|
|
30210
|
+
const localVarQueryParameter = {};
|
|
30211
|
+
// authentication BearerAuth required
|
|
30212
|
+
yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Authorization", configuration);
|
|
30213
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
30214
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
30215
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
30216
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
30217
|
+
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(dataTypesUpdateMemberRoleRequest, localVarRequestOptions, configuration);
|
|
30218
|
+
return {
|
|
30219
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
30220
|
+
options: localVarRequestOptions,
|
|
30221
|
+
};
|
|
30222
|
+
}),
|
|
30223
|
+
/**
|
|
30224
|
+
* Retrieves all users with access to a store
|
|
30225
|
+
* @summary Get store access list
|
|
30226
|
+
* @param {number} storeId Store ID
|
|
30227
|
+
* @param {*} [options] Override http request option.
|
|
30228
|
+
* @throws {RequiredError}
|
|
30229
|
+
*/
|
|
30230
|
+
apiV1StoresStoreIdAccessGet: (storeId_1, ...args_1) => __awaiter(this, [storeId_1, ...args_1], void 0, function* (storeId, options = {}) {
|
|
30231
|
+
// verify required parameter 'storeId' is not null or undefined
|
|
30232
|
+
(0, common_1.assertParamExists)('apiV1StoresStoreIdAccessGet', 'storeId', storeId);
|
|
30233
|
+
const localVarPath = `/api/v1/stores/{storeId}/access`
|
|
30234
|
+
.replace(`{${"storeId"}}`, encodeURIComponent(String(storeId)));
|
|
30235
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
30236
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
30237
|
+
let baseOptions;
|
|
30238
|
+
if (configuration) {
|
|
30239
|
+
baseOptions = configuration.baseOptions;
|
|
30240
|
+
}
|
|
30241
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
30242
|
+
const localVarHeaderParameter = {};
|
|
30243
|
+
const localVarQueryParameter = {};
|
|
30244
|
+
// authentication BearerAuth required
|
|
30245
|
+
yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Authorization", configuration);
|
|
30246
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
30247
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
30248
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
30249
|
+
return {
|
|
30250
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
30251
|
+
options: localVarRequestOptions,
|
|
30252
|
+
};
|
|
30253
|
+
}),
|
|
30254
|
+
/**
|
|
30255
|
+
* Grants a user access to a store
|
|
30256
|
+
* @summary Grant store access
|
|
30257
|
+
* @param {number} storeId Store ID
|
|
30258
|
+
* @param {DataTypesGrantStoreAccessRequest} dataTypesGrantStoreAccessRequest Access details
|
|
30259
|
+
* @param {*} [options] Override http request option.
|
|
30260
|
+
* @throws {RequiredError}
|
|
30261
|
+
*/
|
|
30262
|
+
apiV1StoresStoreIdAccessPost: (storeId_1, dataTypesGrantStoreAccessRequest_1, ...args_1) => __awaiter(this, [storeId_1, dataTypesGrantStoreAccessRequest_1, ...args_1], void 0, function* (storeId, dataTypesGrantStoreAccessRequest, options = {}) {
|
|
30263
|
+
// verify required parameter 'storeId' is not null or undefined
|
|
30264
|
+
(0, common_1.assertParamExists)('apiV1StoresStoreIdAccessPost', 'storeId', storeId);
|
|
30265
|
+
// verify required parameter 'dataTypesGrantStoreAccessRequest' is not null or undefined
|
|
30266
|
+
(0, common_1.assertParamExists)('apiV1StoresStoreIdAccessPost', 'dataTypesGrantStoreAccessRequest', dataTypesGrantStoreAccessRequest);
|
|
30267
|
+
const localVarPath = `/api/v1/stores/{storeId}/access`
|
|
30268
|
+
.replace(`{${"storeId"}}`, encodeURIComponent(String(storeId)));
|
|
30269
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
30270
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
30271
|
+
let baseOptions;
|
|
30272
|
+
if (configuration) {
|
|
30273
|
+
baseOptions = configuration.baseOptions;
|
|
30274
|
+
}
|
|
30275
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
|
|
30276
|
+
const localVarHeaderParameter = {};
|
|
30277
|
+
const localVarQueryParameter = {};
|
|
30278
|
+
// authentication BearerAuth required
|
|
30279
|
+
yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Authorization", configuration);
|
|
30280
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
30281
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
30282
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
30283
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
30284
|
+
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(dataTypesGrantStoreAccessRequest, localVarRequestOptions, configuration);
|
|
30285
|
+
return {
|
|
30286
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
30287
|
+
options: localVarRequestOptions,
|
|
30288
|
+
};
|
|
30289
|
+
}),
|
|
30290
|
+
/**
|
|
30291
|
+
* Revokes a user\'s access to a store
|
|
30292
|
+
* @summary Revoke store access
|
|
30293
|
+
* @param {number} storeId Store ID
|
|
30294
|
+
* @param {number} userId User ID
|
|
30295
|
+
* @param {*} [options] Override http request option.
|
|
30296
|
+
* @throws {RequiredError}
|
|
30297
|
+
*/
|
|
30298
|
+
apiV1StoresStoreIdAccessUserIdDelete: (storeId_1, userId_1, ...args_1) => __awaiter(this, [storeId_1, userId_1, ...args_1], void 0, function* (storeId, userId, options = {}) {
|
|
30299
|
+
// verify required parameter 'storeId' is not null or undefined
|
|
30300
|
+
(0, common_1.assertParamExists)('apiV1StoresStoreIdAccessUserIdDelete', 'storeId', storeId);
|
|
30301
|
+
// verify required parameter 'userId' is not null or undefined
|
|
30302
|
+
(0, common_1.assertParamExists)('apiV1StoresStoreIdAccessUserIdDelete', 'userId', userId);
|
|
30303
|
+
const localVarPath = `/api/v1/stores/{storeId}/access/{userId}`
|
|
30304
|
+
.replace(`{${"storeId"}}`, encodeURIComponent(String(storeId)))
|
|
30305
|
+
.replace(`{${"userId"}}`, encodeURIComponent(String(userId)));
|
|
30306
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
30307
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
30308
|
+
let baseOptions;
|
|
30309
|
+
if (configuration) {
|
|
30310
|
+
baseOptions = configuration.baseOptions;
|
|
30311
|
+
}
|
|
30312
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'DELETE' }, baseOptions), options);
|
|
30313
|
+
const localVarHeaderParameter = {};
|
|
30314
|
+
const localVarQueryParameter = {};
|
|
30315
|
+
// authentication BearerAuth required
|
|
30316
|
+
yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Authorization", configuration);
|
|
30317
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
30318
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
30319
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
30320
|
+
return {
|
|
30321
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
30322
|
+
options: localVarRequestOptions,
|
|
30323
|
+
};
|
|
30324
|
+
}),
|
|
30325
|
+
/**
|
|
30326
|
+
* Updates a user\'s access level to a store
|
|
30327
|
+
* @summary Update store access level
|
|
30328
|
+
* @param {number} storeId Store ID
|
|
30329
|
+
* @param {number} userId User ID
|
|
30330
|
+
* @param {DataTypesUpdateStoreAccessRequest} dataTypesUpdateStoreAccessRequest New access level
|
|
30331
|
+
* @param {*} [options] Override http request option.
|
|
30332
|
+
* @throws {RequiredError}
|
|
30333
|
+
*/
|
|
30334
|
+
apiV1StoresStoreIdAccessUserIdPut: (storeId_1, userId_1, dataTypesUpdateStoreAccessRequest_1, ...args_1) => __awaiter(this, [storeId_1, userId_1, dataTypesUpdateStoreAccessRequest_1, ...args_1], void 0, function* (storeId, userId, dataTypesUpdateStoreAccessRequest, options = {}) {
|
|
30335
|
+
// verify required parameter 'storeId' is not null or undefined
|
|
30336
|
+
(0, common_1.assertParamExists)('apiV1StoresStoreIdAccessUserIdPut', 'storeId', storeId);
|
|
30337
|
+
// verify required parameter 'userId' is not null or undefined
|
|
30338
|
+
(0, common_1.assertParamExists)('apiV1StoresStoreIdAccessUserIdPut', 'userId', userId);
|
|
30339
|
+
// verify required parameter 'dataTypesUpdateStoreAccessRequest' is not null or undefined
|
|
30340
|
+
(0, common_1.assertParamExists)('apiV1StoresStoreIdAccessUserIdPut', 'dataTypesUpdateStoreAccessRequest', dataTypesUpdateStoreAccessRequest);
|
|
30341
|
+
const localVarPath = `/api/v1/stores/{storeId}/access/{userId}`
|
|
30342
|
+
.replace(`{${"storeId"}}`, encodeURIComponent(String(storeId)))
|
|
30343
|
+
.replace(`{${"userId"}}`, encodeURIComponent(String(userId)));
|
|
30344
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
30345
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
30346
|
+
let baseOptions;
|
|
30347
|
+
if (configuration) {
|
|
30348
|
+
baseOptions = configuration.baseOptions;
|
|
30349
|
+
}
|
|
30350
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'PUT' }, baseOptions), options);
|
|
30351
|
+
const localVarHeaderParameter = {};
|
|
30352
|
+
const localVarQueryParameter = {};
|
|
30353
|
+
// authentication BearerAuth required
|
|
30354
|
+
yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Authorization", configuration);
|
|
30355
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
30356
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
30357
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
30358
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
30359
|
+
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(dataTypesUpdateStoreAccessRequest, localVarRequestOptions, configuration);
|
|
30360
|
+
return {
|
|
30361
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
30362
|
+
options: localVarRequestOptions,
|
|
30363
|
+
};
|
|
30364
|
+
}),
|
|
30365
|
+
/**
|
|
30366
|
+
* Retrieves all stores accessible to a user
|
|
30367
|
+
* @summary Get user\'s accessible stores
|
|
30368
|
+
* @param {number} userId User ID
|
|
30369
|
+
* @param {*} [options] Override http request option.
|
|
30370
|
+
* @throws {RequiredError}
|
|
30371
|
+
*/
|
|
30372
|
+
apiV1UsersUserIdStoresGet: (userId_1, ...args_1) => __awaiter(this, [userId_1, ...args_1], void 0, function* (userId, options = {}) {
|
|
30373
|
+
// verify required parameter 'userId' is not null or undefined
|
|
30374
|
+
(0, common_1.assertParamExists)('apiV1UsersUserIdStoresGet', 'userId', userId);
|
|
30375
|
+
const localVarPath = `/api/v1/users/{userId}/stores`
|
|
30376
|
+
.replace(`{${"userId"}}`, encodeURIComponent(String(userId)));
|
|
30377
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
30378
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
30379
|
+
let baseOptions;
|
|
30380
|
+
if (configuration) {
|
|
30381
|
+
baseOptions = configuration.baseOptions;
|
|
30382
|
+
}
|
|
30383
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
30384
|
+
const localVarHeaderParameter = {};
|
|
30385
|
+
const localVarQueryParameter = {};
|
|
30386
|
+
// authentication BearerAuth required
|
|
30387
|
+
yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Authorization", configuration);
|
|
30388
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
30389
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
30390
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
30391
|
+
return {
|
|
30392
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
30393
|
+
options: localVarRequestOptions,
|
|
30394
|
+
};
|
|
30395
|
+
}),
|
|
30396
|
+
};
|
|
30397
|
+
};
|
|
30398
|
+
exports.TeamApiAxiosParamCreator = TeamApiAxiosParamCreator;
|
|
30399
|
+
/**
|
|
30400
|
+
* TeamApi - functional programming interface
|
|
30401
|
+
* @export
|
|
30402
|
+
*/
|
|
30403
|
+
const TeamApiFp = function (configuration) {
|
|
30404
|
+
const localVarAxiosParamCreator = (0, exports.TeamApiAxiosParamCreator)(configuration);
|
|
30405
|
+
return {
|
|
30406
|
+
/**
|
|
30407
|
+
* Cancels a pending invitation
|
|
30408
|
+
* @summary Cancel invitation
|
|
30409
|
+
* @param {number} invitationId Invitation ID
|
|
30410
|
+
* @param {*} [options] Override http request option.
|
|
30411
|
+
* @throws {RequiredError}
|
|
30412
|
+
*/
|
|
30413
|
+
apiV1InvitationsInvitationIdDelete(invitationId, options) {
|
|
30414
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
30415
|
+
var _a, _b, _c;
|
|
30416
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.apiV1InvitationsInvitationIdDelete(invitationId, options);
|
|
30417
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
30418
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['TeamApi.apiV1InvitationsInvitationIdDelete']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
30419
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
30420
|
+
});
|
|
30421
|
+
},
|
|
30422
|
+
/**
|
|
30423
|
+
* Accepts a team invitation using token
|
|
30424
|
+
* @summary Accept invitation
|
|
30425
|
+
* @param {string} token Invitation Token
|
|
30426
|
+
* @param {*} [options] Override http request option.
|
|
30427
|
+
* @throws {RequiredError}
|
|
30428
|
+
*/
|
|
30429
|
+
apiV1InvitationsTokenAcceptPost(token, options) {
|
|
30430
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
30431
|
+
var _a, _b, _c;
|
|
30432
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.apiV1InvitationsTokenAcceptPost(token, options);
|
|
30433
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
30434
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['TeamApi.apiV1InvitationsTokenAcceptPost']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
30435
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
30436
|
+
});
|
|
30437
|
+
},
|
|
30438
|
+
/**
|
|
30439
|
+
* Retrieves all pending invitations for an organization
|
|
30440
|
+
* @summary Get pending invitations
|
|
30441
|
+
* @param {number} orgId Organization ID
|
|
30442
|
+
* @param {*} [options] Override http request option.
|
|
30443
|
+
* @throws {RequiredError}
|
|
30444
|
+
*/
|
|
30445
|
+
apiV1OrganizationsOrgIdInvitationsGet(orgId, options) {
|
|
30446
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
30447
|
+
var _a, _b, _c;
|
|
30448
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.apiV1OrganizationsOrgIdInvitationsGet(orgId, options);
|
|
30449
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
30450
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['TeamApi.apiV1OrganizationsOrgIdInvitationsGet']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
30451
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
30452
|
+
});
|
|
30453
|
+
},
|
|
30454
|
+
/**
|
|
30455
|
+
* Retrieves all members of an organization with their details
|
|
30456
|
+
* @summary Get all members of an organization
|
|
30457
|
+
* @param {number} orgId Organization ID
|
|
30458
|
+
* @param {*} [options] Override http request option.
|
|
30459
|
+
* @throws {RequiredError}
|
|
30460
|
+
*/
|
|
30461
|
+
apiV1OrganizationsOrgIdMembersGet(orgId, options) {
|
|
30462
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
30463
|
+
var _a, _b, _c;
|
|
30464
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.apiV1OrganizationsOrgIdMembersGet(orgId, options);
|
|
30465
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
30466
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['TeamApi.apiV1OrganizationsOrgIdMembersGet']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
30467
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
30468
|
+
});
|
|
30469
|
+
},
|
|
30470
|
+
/**
|
|
30471
|
+
* Sends an invitation to a user to join the organization
|
|
30472
|
+
* @summary Invite a member to join organization
|
|
30473
|
+
* @param {number} orgId Organization ID
|
|
30474
|
+
* @param {DataTypesInviteMemberRequest} dataTypesInviteMemberRequest Invitation details
|
|
30475
|
+
* @param {*} [options] Override http request option.
|
|
30476
|
+
* @throws {RequiredError}
|
|
30477
|
+
*/
|
|
30478
|
+
apiV1OrganizationsOrgIdMembersInvitePost(orgId, dataTypesInviteMemberRequest, options) {
|
|
30479
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
30480
|
+
var _a, _b, _c;
|
|
30481
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.apiV1OrganizationsOrgIdMembersInvitePost(orgId, dataTypesInviteMemberRequest, options);
|
|
30482
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
30483
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['TeamApi.apiV1OrganizationsOrgIdMembersInvitePost']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
30484
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
30485
|
+
});
|
|
30486
|
+
},
|
|
30487
|
+
/**
|
|
30488
|
+
* Removes a member from the organization
|
|
30489
|
+
* @summary Remove member from organization
|
|
30490
|
+
* @param {number} orgId Organization ID
|
|
30491
|
+
* @param {number} memberId Member ID
|
|
30492
|
+
* @param {*} [options] Override http request option.
|
|
30493
|
+
* @throws {RequiredError}
|
|
30494
|
+
*/
|
|
30495
|
+
apiV1OrganizationsOrgIdMembersMemberIdDelete(orgId, memberId, options) {
|
|
30496
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
30497
|
+
var _a, _b, _c;
|
|
30498
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.apiV1OrganizationsOrgIdMembersMemberIdDelete(orgId, memberId, options);
|
|
30499
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
30500
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['TeamApi.apiV1OrganizationsOrgIdMembersMemberIdDelete']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
30501
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
30502
|
+
});
|
|
30503
|
+
},
|
|
30504
|
+
/**
|
|
30505
|
+
* Updates the role of a member in the organization
|
|
30506
|
+
* @summary Update member role
|
|
30507
|
+
* @param {number} orgId Organization ID
|
|
30508
|
+
* @param {number} memberId Member ID
|
|
30509
|
+
* @param {DataTypesUpdateMemberRoleRequest} dataTypesUpdateMemberRoleRequest New role
|
|
30510
|
+
* @param {*} [options] Override http request option.
|
|
30511
|
+
* @throws {RequiredError}
|
|
30512
|
+
*/
|
|
30513
|
+
apiV1OrganizationsOrgIdMembersMemberIdRolePut(orgId, memberId, dataTypesUpdateMemberRoleRequest, options) {
|
|
30514
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
30515
|
+
var _a, _b, _c;
|
|
30516
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.apiV1OrganizationsOrgIdMembersMemberIdRolePut(orgId, memberId, dataTypesUpdateMemberRoleRequest, options);
|
|
30517
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
30518
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['TeamApi.apiV1OrganizationsOrgIdMembersMemberIdRolePut']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
30519
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
30520
|
+
});
|
|
30521
|
+
},
|
|
30522
|
+
/**
|
|
30523
|
+
* Retrieves all users with access to a store
|
|
30524
|
+
* @summary Get store access list
|
|
30525
|
+
* @param {number} storeId Store ID
|
|
30526
|
+
* @param {*} [options] Override http request option.
|
|
30527
|
+
* @throws {RequiredError}
|
|
30528
|
+
*/
|
|
30529
|
+
apiV1StoresStoreIdAccessGet(storeId, options) {
|
|
30530
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
30531
|
+
var _a, _b, _c;
|
|
30532
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.apiV1StoresStoreIdAccessGet(storeId, options);
|
|
30533
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
30534
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['TeamApi.apiV1StoresStoreIdAccessGet']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
30535
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
30536
|
+
});
|
|
30537
|
+
},
|
|
30538
|
+
/**
|
|
30539
|
+
* Grants a user access to a store
|
|
30540
|
+
* @summary Grant store access
|
|
30541
|
+
* @param {number} storeId Store ID
|
|
30542
|
+
* @param {DataTypesGrantStoreAccessRequest} dataTypesGrantStoreAccessRequest Access details
|
|
30543
|
+
* @param {*} [options] Override http request option.
|
|
30544
|
+
* @throws {RequiredError}
|
|
30545
|
+
*/
|
|
30546
|
+
apiV1StoresStoreIdAccessPost(storeId, dataTypesGrantStoreAccessRequest, options) {
|
|
30547
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
30548
|
+
var _a, _b, _c;
|
|
30549
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.apiV1StoresStoreIdAccessPost(storeId, dataTypesGrantStoreAccessRequest, options);
|
|
30550
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
30551
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['TeamApi.apiV1StoresStoreIdAccessPost']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
30552
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
30553
|
+
});
|
|
30554
|
+
},
|
|
30555
|
+
/**
|
|
30556
|
+
* Revokes a user\'s access to a store
|
|
30557
|
+
* @summary Revoke store access
|
|
30558
|
+
* @param {number} storeId Store ID
|
|
30559
|
+
* @param {number} userId User ID
|
|
30560
|
+
* @param {*} [options] Override http request option.
|
|
30561
|
+
* @throws {RequiredError}
|
|
30562
|
+
*/
|
|
30563
|
+
apiV1StoresStoreIdAccessUserIdDelete(storeId, userId, options) {
|
|
30564
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
30565
|
+
var _a, _b, _c;
|
|
30566
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.apiV1StoresStoreIdAccessUserIdDelete(storeId, userId, options);
|
|
30567
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
30568
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['TeamApi.apiV1StoresStoreIdAccessUserIdDelete']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
30569
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
30570
|
+
});
|
|
30571
|
+
},
|
|
30572
|
+
/**
|
|
30573
|
+
* Updates a user\'s access level to a store
|
|
30574
|
+
* @summary Update store access level
|
|
30575
|
+
* @param {number} storeId Store ID
|
|
30576
|
+
* @param {number} userId User ID
|
|
30577
|
+
* @param {DataTypesUpdateStoreAccessRequest} dataTypesUpdateStoreAccessRequest New access level
|
|
30578
|
+
* @param {*} [options] Override http request option.
|
|
30579
|
+
* @throws {RequiredError}
|
|
30580
|
+
*/
|
|
30581
|
+
apiV1StoresStoreIdAccessUserIdPut(storeId, userId, dataTypesUpdateStoreAccessRequest, options) {
|
|
30582
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
30583
|
+
var _a, _b, _c;
|
|
30584
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.apiV1StoresStoreIdAccessUserIdPut(storeId, userId, dataTypesUpdateStoreAccessRequest, options);
|
|
30585
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
30586
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['TeamApi.apiV1StoresStoreIdAccessUserIdPut']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
30587
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
30588
|
+
});
|
|
30589
|
+
},
|
|
30590
|
+
/**
|
|
30591
|
+
* Retrieves all stores accessible to a user
|
|
30592
|
+
* @summary Get user\'s accessible stores
|
|
30593
|
+
* @param {number} userId User ID
|
|
30594
|
+
* @param {*} [options] Override http request option.
|
|
30595
|
+
* @throws {RequiredError}
|
|
30596
|
+
*/
|
|
30597
|
+
apiV1UsersUserIdStoresGet(userId, options) {
|
|
30598
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
30599
|
+
var _a, _b, _c;
|
|
30600
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.apiV1UsersUserIdStoresGet(userId, options);
|
|
30601
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
30602
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['TeamApi.apiV1UsersUserIdStoresGet']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
30603
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
30604
|
+
});
|
|
30605
|
+
},
|
|
30606
|
+
};
|
|
30607
|
+
};
|
|
30608
|
+
exports.TeamApiFp = TeamApiFp;
|
|
30609
|
+
/**
|
|
30610
|
+
* TeamApi - factory interface
|
|
30611
|
+
* @export
|
|
30612
|
+
*/
|
|
30613
|
+
const TeamApiFactory = function (configuration, basePath, axios) {
|
|
30614
|
+
const localVarFp = (0, exports.TeamApiFp)(configuration);
|
|
30615
|
+
return {
|
|
30616
|
+
/**
|
|
30617
|
+
* Cancels a pending invitation
|
|
30618
|
+
* @summary Cancel invitation
|
|
30619
|
+
* @param {number} invitationId Invitation ID
|
|
30620
|
+
* @param {*} [options] Override http request option.
|
|
30621
|
+
* @throws {RequiredError}
|
|
30622
|
+
*/
|
|
30623
|
+
apiV1InvitationsInvitationIdDelete(invitationId, options) {
|
|
30624
|
+
return localVarFp.apiV1InvitationsInvitationIdDelete(invitationId, options).then((request) => request(axios, basePath));
|
|
30625
|
+
},
|
|
30626
|
+
/**
|
|
30627
|
+
* Accepts a team invitation using token
|
|
30628
|
+
* @summary Accept invitation
|
|
30629
|
+
* @param {string} token Invitation Token
|
|
30630
|
+
* @param {*} [options] Override http request option.
|
|
30631
|
+
* @throws {RequiredError}
|
|
30632
|
+
*/
|
|
30633
|
+
apiV1InvitationsTokenAcceptPost(token, options) {
|
|
30634
|
+
return localVarFp.apiV1InvitationsTokenAcceptPost(token, options).then((request) => request(axios, basePath));
|
|
30635
|
+
},
|
|
30636
|
+
/**
|
|
30637
|
+
* Retrieves all pending invitations for an organization
|
|
30638
|
+
* @summary Get pending invitations
|
|
30639
|
+
* @param {number} orgId Organization ID
|
|
30640
|
+
* @param {*} [options] Override http request option.
|
|
30641
|
+
* @throws {RequiredError}
|
|
30642
|
+
*/
|
|
30643
|
+
apiV1OrganizationsOrgIdInvitationsGet(orgId, options) {
|
|
30644
|
+
return localVarFp.apiV1OrganizationsOrgIdInvitationsGet(orgId, options).then((request) => request(axios, basePath));
|
|
30645
|
+
},
|
|
30646
|
+
/**
|
|
30647
|
+
* Retrieves all members of an organization with their details
|
|
30648
|
+
* @summary Get all members of an organization
|
|
30649
|
+
* @param {number} orgId Organization ID
|
|
30650
|
+
* @param {*} [options] Override http request option.
|
|
30651
|
+
* @throws {RequiredError}
|
|
30652
|
+
*/
|
|
30653
|
+
apiV1OrganizationsOrgIdMembersGet(orgId, options) {
|
|
30654
|
+
return localVarFp.apiV1OrganizationsOrgIdMembersGet(orgId, options).then((request) => request(axios, basePath));
|
|
30655
|
+
},
|
|
30656
|
+
/**
|
|
30657
|
+
* Sends an invitation to a user to join the organization
|
|
30658
|
+
* @summary Invite a member to join organization
|
|
30659
|
+
* @param {number} orgId Organization ID
|
|
30660
|
+
* @param {DataTypesInviteMemberRequest} dataTypesInviteMemberRequest Invitation details
|
|
30661
|
+
* @param {*} [options] Override http request option.
|
|
30662
|
+
* @throws {RequiredError}
|
|
30663
|
+
*/
|
|
30664
|
+
apiV1OrganizationsOrgIdMembersInvitePost(orgId, dataTypesInviteMemberRequest, options) {
|
|
30665
|
+
return localVarFp.apiV1OrganizationsOrgIdMembersInvitePost(orgId, dataTypesInviteMemberRequest, options).then((request) => request(axios, basePath));
|
|
30666
|
+
},
|
|
30667
|
+
/**
|
|
30668
|
+
* Removes a member from the organization
|
|
30669
|
+
* @summary Remove member from organization
|
|
30670
|
+
* @param {number} orgId Organization ID
|
|
30671
|
+
* @param {number} memberId Member ID
|
|
30672
|
+
* @param {*} [options] Override http request option.
|
|
30673
|
+
* @throws {RequiredError}
|
|
30674
|
+
*/
|
|
30675
|
+
apiV1OrganizationsOrgIdMembersMemberIdDelete(orgId, memberId, options) {
|
|
30676
|
+
return localVarFp.apiV1OrganizationsOrgIdMembersMemberIdDelete(orgId, memberId, options).then((request) => request(axios, basePath));
|
|
30677
|
+
},
|
|
30678
|
+
/**
|
|
30679
|
+
* Updates the role of a member in the organization
|
|
30680
|
+
* @summary Update member role
|
|
30681
|
+
* @param {number} orgId Organization ID
|
|
30682
|
+
* @param {number} memberId Member ID
|
|
30683
|
+
* @param {DataTypesUpdateMemberRoleRequest} dataTypesUpdateMemberRoleRequest New role
|
|
30684
|
+
* @param {*} [options] Override http request option.
|
|
30685
|
+
* @throws {RequiredError}
|
|
30686
|
+
*/
|
|
30687
|
+
apiV1OrganizationsOrgIdMembersMemberIdRolePut(orgId, memberId, dataTypesUpdateMemberRoleRequest, options) {
|
|
30688
|
+
return localVarFp.apiV1OrganizationsOrgIdMembersMemberIdRolePut(orgId, memberId, dataTypesUpdateMemberRoleRequest, options).then((request) => request(axios, basePath));
|
|
30689
|
+
},
|
|
30690
|
+
/**
|
|
30691
|
+
* Retrieves all users with access to a store
|
|
30692
|
+
* @summary Get store access list
|
|
30693
|
+
* @param {number} storeId Store ID
|
|
30694
|
+
* @param {*} [options] Override http request option.
|
|
30695
|
+
* @throws {RequiredError}
|
|
30696
|
+
*/
|
|
30697
|
+
apiV1StoresStoreIdAccessGet(storeId, options) {
|
|
30698
|
+
return localVarFp.apiV1StoresStoreIdAccessGet(storeId, options).then((request) => request(axios, basePath));
|
|
30699
|
+
},
|
|
30700
|
+
/**
|
|
30701
|
+
* Grants a user access to a store
|
|
30702
|
+
* @summary Grant store access
|
|
30703
|
+
* @param {number} storeId Store ID
|
|
30704
|
+
* @param {DataTypesGrantStoreAccessRequest} dataTypesGrantStoreAccessRequest Access details
|
|
30705
|
+
* @param {*} [options] Override http request option.
|
|
30706
|
+
* @throws {RequiredError}
|
|
30707
|
+
*/
|
|
30708
|
+
apiV1StoresStoreIdAccessPost(storeId, dataTypesGrantStoreAccessRequest, options) {
|
|
30709
|
+
return localVarFp.apiV1StoresStoreIdAccessPost(storeId, dataTypesGrantStoreAccessRequest, options).then((request) => request(axios, basePath));
|
|
30710
|
+
},
|
|
30711
|
+
/**
|
|
30712
|
+
* Revokes a user\'s access to a store
|
|
30713
|
+
* @summary Revoke store access
|
|
30714
|
+
* @param {number} storeId Store ID
|
|
30715
|
+
* @param {number} userId User ID
|
|
30716
|
+
* @param {*} [options] Override http request option.
|
|
30717
|
+
* @throws {RequiredError}
|
|
30718
|
+
*/
|
|
30719
|
+
apiV1StoresStoreIdAccessUserIdDelete(storeId, userId, options) {
|
|
30720
|
+
return localVarFp.apiV1StoresStoreIdAccessUserIdDelete(storeId, userId, options).then((request) => request(axios, basePath));
|
|
30721
|
+
},
|
|
30722
|
+
/**
|
|
30723
|
+
* Updates a user\'s access level to a store
|
|
30724
|
+
* @summary Update store access level
|
|
30725
|
+
* @param {number} storeId Store ID
|
|
30726
|
+
* @param {number} userId User ID
|
|
30727
|
+
* @param {DataTypesUpdateStoreAccessRequest} dataTypesUpdateStoreAccessRequest New access level
|
|
30728
|
+
* @param {*} [options] Override http request option.
|
|
30729
|
+
* @throws {RequiredError}
|
|
30730
|
+
*/
|
|
30731
|
+
apiV1StoresStoreIdAccessUserIdPut(storeId, userId, dataTypesUpdateStoreAccessRequest, options) {
|
|
30732
|
+
return localVarFp.apiV1StoresStoreIdAccessUserIdPut(storeId, userId, dataTypesUpdateStoreAccessRequest, options).then((request) => request(axios, basePath));
|
|
30733
|
+
},
|
|
30734
|
+
/**
|
|
30735
|
+
* Retrieves all stores accessible to a user
|
|
30736
|
+
* @summary Get user\'s accessible stores
|
|
30737
|
+
* @param {number} userId User ID
|
|
30738
|
+
* @param {*} [options] Override http request option.
|
|
30739
|
+
* @throws {RequiredError}
|
|
30740
|
+
*/
|
|
30741
|
+
apiV1UsersUserIdStoresGet(userId, options) {
|
|
30742
|
+
return localVarFp.apiV1UsersUserIdStoresGet(userId, options).then((request) => request(axios, basePath));
|
|
30743
|
+
},
|
|
30744
|
+
};
|
|
30745
|
+
};
|
|
30746
|
+
exports.TeamApiFactory = TeamApiFactory;
|
|
30747
|
+
/**
|
|
30748
|
+
* TeamApi - object-oriented interface
|
|
30749
|
+
* @export
|
|
30750
|
+
* @class TeamApi
|
|
30751
|
+
* @extends {BaseAPI}
|
|
30752
|
+
*/
|
|
30753
|
+
class TeamApi extends base_1.BaseAPI {
|
|
30754
|
+
/**
|
|
30755
|
+
* Cancels a pending invitation
|
|
30756
|
+
* @summary Cancel invitation
|
|
30757
|
+
* @param {number} invitationId Invitation ID
|
|
30758
|
+
* @param {*} [options] Override http request option.
|
|
30759
|
+
* @throws {RequiredError}
|
|
30760
|
+
* @memberof TeamApi
|
|
30761
|
+
*/
|
|
30762
|
+
apiV1InvitationsInvitationIdDelete(invitationId, options) {
|
|
30763
|
+
return (0, exports.TeamApiFp)(this.configuration).apiV1InvitationsInvitationIdDelete(invitationId, options).then((request) => request(this.axios, this.basePath));
|
|
30764
|
+
}
|
|
30765
|
+
/**
|
|
30766
|
+
* Accepts a team invitation using token
|
|
30767
|
+
* @summary Accept invitation
|
|
30768
|
+
* @param {string} token Invitation Token
|
|
30769
|
+
* @param {*} [options] Override http request option.
|
|
30770
|
+
* @throws {RequiredError}
|
|
30771
|
+
* @memberof TeamApi
|
|
30772
|
+
*/
|
|
30773
|
+
apiV1InvitationsTokenAcceptPost(token, options) {
|
|
30774
|
+
return (0, exports.TeamApiFp)(this.configuration).apiV1InvitationsTokenAcceptPost(token, options).then((request) => request(this.axios, this.basePath));
|
|
30775
|
+
}
|
|
30776
|
+
/**
|
|
30777
|
+
* Retrieves all pending invitations for an organization
|
|
30778
|
+
* @summary Get pending invitations
|
|
30779
|
+
* @param {number} orgId Organization ID
|
|
30780
|
+
* @param {*} [options] Override http request option.
|
|
30781
|
+
* @throws {RequiredError}
|
|
30782
|
+
* @memberof TeamApi
|
|
30783
|
+
*/
|
|
30784
|
+
apiV1OrganizationsOrgIdInvitationsGet(orgId, options) {
|
|
30785
|
+
return (0, exports.TeamApiFp)(this.configuration).apiV1OrganizationsOrgIdInvitationsGet(orgId, options).then((request) => request(this.axios, this.basePath));
|
|
30786
|
+
}
|
|
30787
|
+
/**
|
|
30788
|
+
* Retrieves all members of an organization with their details
|
|
30789
|
+
* @summary Get all members of an organization
|
|
30790
|
+
* @param {number} orgId Organization ID
|
|
30791
|
+
* @param {*} [options] Override http request option.
|
|
30792
|
+
* @throws {RequiredError}
|
|
30793
|
+
* @memberof TeamApi
|
|
30794
|
+
*/
|
|
30795
|
+
apiV1OrganizationsOrgIdMembersGet(orgId, options) {
|
|
30796
|
+
return (0, exports.TeamApiFp)(this.configuration).apiV1OrganizationsOrgIdMembersGet(orgId, options).then((request) => request(this.axios, this.basePath));
|
|
30797
|
+
}
|
|
30798
|
+
/**
|
|
30799
|
+
* Sends an invitation to a user to join the organization
|
|
30800
|
+
* @summary Invite a member to join organization
|
|
30801
|
+
* @param {number} orgId Organization ID
|
|
30802
|
+
* @param {DataTypesInviteMemberRequest} dataTypesInviteMemberRequest Invitation details
|
|
30803
|
+
* @param {*} [options] Override http request option.
|
|
30804
|
+
* @throws {RequiredError}
|
|
30805
|
+
* @memberof TeamApi
|
|
30806
|
+
*/
|
|
30807
|
+
apiV1OrganizationsOrgIdMembersInvitePost(orgId, dataTypesInviteMemberRequest, options) {
|
|
30808
|
+
return (0, exports.TeamApiFp)(this.configuration).apiV1OrganizationsOrgIdMembersInvitePost(orgId, dataTypesInviteMemberRequest, options).then((request) => request(this.axios, this.basePath));
|
|
30809
|
+
}
|
|
30810
|
+
/**
|
|
30811
|
+
* Removes a member from the organization
|
|
30812
|
+
* @summary Remove member from organization
|
|
30813
|
+
* @param {number} orgId Organization ID
|
|
30814
|
+
* @param {number} memberId Member ID
|
|
30815
|
+
* @param {*} [options] Override http request option.
|
|
30816
|
+
* @throws {RequiredError}
|
|
30817
|
+
* @memberof TeamApi
|
|
30818
|
+
*/
|
|
30819
|
+
apiV1OrganizationsOrgIdMembersMemberIdDelete(orgId, memberId, options) {
|
|
30820
|
+
return (0, exports.TeamApiFp)(this.configuration).apiV1OrganizationsOrgIdMembersMemberIdDelete(orgId, memberId, options).then((request) => request(this.axios, this.basePath));
|
|
30821
|
+
}
|
|
30822
|
+
/**
|
|
30823
|
+
* Updates the role of a member in the organization
|
|
30824
|
+
* @summary Update member role
|
|
30825
|
+
* @param {number} orgId Organization ID
|
|
30826
|
+
* @param {number} memberId Member ID
|
|
30827
|
+
* @param {DataTypesUpdateMemberRoleRequest} dataTypesUpdateMemberRoleRequest New role
|
|
30828
|
+
* @param {*} [options] Override http request option.
|
|
30829
|
+
* @throws {RequiredError}
|
|
30830
|
+
* @memberof TeamApi
|
|
30831
|
+
*/
|
|
30832
|
+
apiV1OrganizationsOrgIdMembersMemberIdRolePut(orgId, memberId, dataTypesUpdateMemberRoleRequest, options) {
|
|
30833
|
+
return (0, exports.TeamApiFp)(this.configuration).apiV1OrganizationsOrgIdMembersMemberIdRolePut(orgId, memberId, dataTypesUpdateMemberRoleRequest, options).then((request) => request(this.axios, this.basePath));
|
|
30834
|
+
}
|
|
30835
|
+
/**
|
|
30836
|
+
* Retrieves all users with access to a store
|
|
30837
|
+
* @summary Get store access list
|
|
30838
|
+
* @param {number} storeId Store ID
|
|
30839
|
+
* @param {*} [options] Override http request option.
|
|
30840
|
+
* @throws {RequiredError}
|
|
30841
|
+
* @memberof TeamApi
|
|
30842
|
+
*/
|
|
30843
|
+
apiV1StoresStoreIdAccessGet(storeId, options) {
|
|
30844
|
+
return (0, exports.TeamApiFp)(this.configuration).apiV1StoresStoreIdAccessGet(storeId, options).then((request) => request(this.axios, this.basePath));
|
|
30845
|
+
}
|
|
30846
|
+
/**
|
|
30847
|
+
* Grants a user access to a store
|
|
30848
|
+
* @summary Grant store access
|
|
30849
|
+
* @param {number} storeId Store ID
|
|
30850
|
+
* @param {DataTypesGrantStoreAccessRequest} dataTypesGrantStoreAccessRequest Access details
|
|
30851
|
+
* @param {*} [options] Override http request option.
|
|
30852
|
+
* @throws {RequiredError}
|
|
30853
|
+
* @memberof TeamApi
|
|
30854
|
+
*/
|
|
30855
|
+
apiV1StoresStoreIdAccessPost(storeId, dataTypesGrantStoreAccessRequest, options) {
|
|
30856
|
+
return (0, exports.TeamApiFp)(this.configuration).apiV1StoresStoreIdAccessPost(storeId, dataTypesGrantStoreAccessRequest, options).then((request) => request(this.axios, this.basePath));
|
|
30857
|
+
}
|
|
30858
|
+
/**
|
|
30859
|
+
* Revokes a user\'s access to a store
|
|
30860
|
+
* @summary Revoke store access
|
|
30861
|
+
* @param {number} storeId Store ID
|
|
30862
|
+
* @param {number} userId User ID
|
|
30863
|
+
* @param {*} [options] Override http request option.
|
|
30864
|
+
* @throws {RequiredError}
|
|
30865
|
+
* @memberof TeamApi
|
|
30866
|
+
*/
|
|
30867
|
+
apiV1StoresStoreIdAccessUserIdDelete(storeId, userId, options) {
|
|
30868
|
+
return (0, exports.TeamApiFp)(this.configuration).apiV1StoresStoreIdAccessUserIdDelete(storeId, userId, options).then((request) => request(this.axios, this.basePath));
|
|
30869
|
+
}
|
|
30870
|
+
/**
|
|
30871
|
+
* Updates a user\'s access level to a store
|
|
30872
|
+
* @summary Update store access level
|
|
30873
|
+
* @param {number} storeId Store ID
|
|
30874
|
+
* @param {number} userId User ID
|
|
30875
|
+
* @param {DataTypesUpdateStoreAccessRequest} dataTypesUpdateStoreAccessRequest New access level
|
|
30876
|
+
* @param {*} [options] Override http request option.
|
|
30877
|
+
* @throws {RequiredError}
|
|
30878
|
+
* @memberof TeamApi
|
|
30879
|
+
*/
|
|
30880
|
+
apiV1StoresStoreIdAccessUserIdPut(storeId, userId, dataTypesUpdateStoreAccessRequest, options) {
|
|
30881
|
+
return (0, exports.TeamApiFp)(this.configuration).apiV1StoresStoreIdAccessUserIdPut(storeId, userId, dataTypesUpdateStoreAccessRequest, options).then((request) => request(this.axios, this.basePath));
|
|
30882
|
+
}
|
|
30883
|
+
/**
|
|
30884
|
+
* Retrieves all stores accessible to a user
|
|
30885
|
+
* @summary Get user\'s accessible stores
|
|
30886
|
+
* @param {number} userId User ID
|
|
30887
|
+
* @param {*} [options] Override http request option.
|
|
30888
|
+
* @throws {RequiredError}
|
|
30889
|
+
* @memberof TeamApi
|
|
30890
|
+
*/
|
|
30891
|
+
apiV1UsersUserIdStoresGet(userId, options) {
|
|
30892
|
+
return (0, exports.TeamApiFp)(this.configuration).apiV1UsersUserIdStoresGet(userId, options).then((request) => request(this.axios, this.basePath));
|
|
30893
|
+
}
|
|
30894
|
+
}
|
|
30895
|
+
exports.TeamApi = TeamApi;
|
|
30931
30896
|
/**
|
|
30932
30897
|
* UserApi - axios parameter creator
|
|
30933
30898
|
* @export
|