@seekora-ai/admin-api 1.1.20 → 1.1.22
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 +20 -2
- package/api.ts +1054 -63
- package/dist/api.d.ts +760 -6
- package/dist/api.js +471 -9
- package/dist/esm/api.d.ts +760 -6
- package/dist/esm/api.js +462 -4
- package/package.json +1 -1
- package/seekora-ai-admin-api-1.1.22.tgz +0 -0
- package/seekora-ai-admin-api-1.1.20.tgz +0 -0
package/dist/api.js
CHANGED
|
@@ -24,11 +24,11 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
|
|
|
24
24
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
25
25
|
exports.AdminAnalyticsStoreXStoreIDFiltersCombinationsGetSortByEnum = exports.AnalyticsApi = exports.AnalyticsApiFactory = exports.AnalyticsApiFp = exports.AnalyticsApiAxiosParamCreator = exports.AdminNotificationsApi = exports.AdminNotificationsApiFactory = exports.AdminNotificationsApiFp = exports.AdminNotificationsApiAxiosParamCreator = exports.AdminNotificationTemplatesApi = exports.AdminNotificationTemplatesApiFactory = exports.AdminNotificationTemplatesApiFp = exports.AdminNotificationTemplatesApiAxiosParamCreator = 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.DataTypesNotificationType = exports.DataTypesNotificationStatus = exports.DataTypesNotificationPriority = exports.DataTypesNotificationChannel = 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
26
|
exports.AnalyticsRulesApi = exports.AnalyticsRulesApiFactory = exports.AnalyticsRulesApiFp = exports.AnalyticsRulesApiAxiosParamCreator = exports.AnalyticsEventsApi = exports.AnalyticsEventsApiFactory = exports.AnalyticsEventsApiFp = exports.AnalyticsEventsApiAxiosParamCreator = exports.AdminAnalyticsStoreXStoreIDTagsSummaryGetSortOrderEnum = exports.AdminAnalyticsStoreXStoreIDTagsSummaryGetSortByEnum = exports.AdminAnalyticsStoreXStoreIDTagsGetSortOrderEnum = exports.AdminAnalyticsStoreXStoreIDTagsGetSortByEnum = exports.AdminAnalyticsStoreXStoreIDResultsGetSortOrderEnum = exports.AdminAnalyticsStoreXStoreIDResultsGetSortByEnum = exports.AdminAnalyticsStoreXStoreIDResultsGetCompareTagsMatchModeEnum = exports.AdminAnalyticsStoreXStoreIDResultsGetTagsMatchModeEnum = exports.AdminAnalyticsStoreXStoreIDQueriesQueryInsightsGetCompareTagsMatchModeEnum = exports.AdminAnalyticsStoreXStoreIDQueriesQueryInsightsGetTagsMatchModeEnum = exports.AdminAnalyticsStoreXStoreIDQueriesNoResultsGetSortOrderEnum = exports.AdminAnalyticsStoreXStoreIDQueriesNoResultsGetSortByEnum = exports.AdminAnalyticsStoreXStoreIDQueriesNoResultsGetCompareTagsMatchModeEnum = exports.AdminAnalyticsStoreXStoreIDQueriesNoResultsGetTagsMatchModeEnum = exports.AdminAnalyticsStoreXStoreIDQueriesNoClicksGetSortOrderEnum = exports.AdminAnalyticsStoreXStoreIDQueriesNoClicksGetSortByEnum = exports.AdminAnalyticsStoreXStoreIDQueriesNoClicksGetCompareTagsMatchModeEnum = exports.AdminAnalyticsStoreXStoreIDQueriesNoClicksGetTagsMatchModeEnum = exports.AdminAnalyticsStoreXStoreIDQueriesGetSortOrderEnum = exports.AdminAnalyticsStoreXStoreIDQueriesGetSortByEnum = exports.AdminAnalyticsStoreXStoreIDQueriesGetCompareTagsMatchModeEnum = exports.AdminAnalyticsStoreXStoreIDQueriesGetTagsMatchModeEnum = exports.AdminAnalyticsStoreXStoreIDQueriesGetGranularityEnum = exports.AdminAnalyticsStoreXStoreIDKpiGetCompareTagsMatchModeEnum = exports.AdminAnalyticsStoreXStoreIDKpiGetTagsMatchModeEnum = exports.AdminAnalyticsStoreXStoreIDKpiGetGranularityEnum = exports.AdminAnalyticsStoreXStoreIDGeoInsightsGetCompareTagsMatchModeEnum = exports.AdminAnalyticsStoreXStoreIDGeoInsightsGetTagsMatchModeEnum = exports.AdminAnalyticsStoreXStoreIDGeoGetSortOrderEnum = exports.AdminAnalyticsStoreXStoreIDGeoGetSortByEnum = exports.AdminAnalyticsStoreXStoreIDGeoGetCompareTagsMatchModeEnum = exports.AdminAnalyticsStoreXStoreIDGeoGetTagsMatchModeEnum = exports.AdminAnalyticsStoreXStoreIDGeoGetGranularityEnum = exports.AdminAnalyticsStoreXStoreIDFiltersTrendsGetSortOrderEnum = exports.AdminAnalyticsStoreXStoreIDFiltersTrendsGetSortByEnum = exports.AdminAnalyticsStoreXStoreIDFiltersTrendsGetGranularityEnum = exports.AdminAnalyticsStoreXStoreIDFiltersGetSortOrderEnum = exports.AdminAnalyticsStoreXStoreIDFiltersGetSortByEnum = exports.AdminAnalyticsStoreXStoreIDFiltersGetGranularityEnum = exports.AdminAnalyticsStoreXStoreIDFiltersEffectivenessGetSortOrderEnum = exports.AdminAnalyticsStoreXStoreIDFiltersEffectivenessGetSortByEnum = exports.AdminAnalyticsStoreXStoreIDFiltersCombinationsGetSortOrderEnum = void 0;
|
|
27
|
-
exports.
|
|
28
|
-
exports.
|
|
29
|
-
exports.
|
|
30
|
-
exports.
|
|
31
|
-
exports.UserApi = exports.UserApiFactory = exports.UserApiFp = exports.UserApiAxiosParamCreator = exports.TeamApi = exports.TeamApiFactory = exports.TeamApiFp = exports.TeamApiAxiosParamCreator = exports.TaxManagementApi = exports.TaxManagementApiFactory = exports.TaxManagementApiFp = void 0;
|
|
27
|
+
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.AdminBillingGraphsUsageBreakdownGetGranularityEnum = exports.AdminBillingGraphsTimeseriesConsumptionGetGranularityEnum = exports.AdminBillingGraphsSearchRequestsGetGranularityEnum = exports.AdminBillingGraphsCreditsConsumedGetGranularityEnum = exports.BillingDashboardGraphsApi = exports.BillingDashboardGraphsApiFactory = exports.BillingDashboardGraphsApiFp = exports.BillingDashboardGraphsApiAxiosParamCreator = 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 = 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 = void 0;
|
|
28
|
+
exports.MenusApi = exports.MenusApiFactory = exports.MenusApiFp = exports.MenusApiAxiosParamCreator = exports.LimitsApi = exports.LimitsApiFactory = exports.LimitsApiFp = exports.LimitsApiAxiosParamCreator = exports.AdminAnalyticsStoreXStoreIDQueriesItemPerformanceGetSortOrderEnum = exports.AdminAnalyticsStoreXStoreIDQueriesItemPerformanceGetSortByEnum = exports.AdminAnalyticsStoreXStoreIDItemsTrendsGetSortOrderEnum = exports.AdminAnalyticsStoreXStoreIDItemsTrendsGetSortByEnum = exports.AdminAnalyticsStoreXStoreIDItemsTrendsGetGranularityEnum = exports.AdminAnalyticsStoreXStoreIDItemsPerformanceGetSortOrderEnum = exports.AdminAnalyticsStoreXStoreIDItemsPerformanceGetSortByEnum = exports.AdminAnalyticsStoreXStoreIDItemsItemIdInsightsGetGroupByEnum = exports.AdminAnalyticsStoreXStoreIDItemsItemIdInsightsGetCompareTagsMatchModeEnum = exports.AdminAnalyticsStoreXStoreIDItemsItemIdInsightsGetTagsMatchModeEnum = exports.AdminAnalyticsStoreXStoreIDItemsGetSortOrderEnum = exports.AdminAnalyticsStoreXStoreIDItemsGetSortByEnum = exports.AdminAnalyticsStoreXStoreIDItemsDiscoveryGetSortOrderEnum = exports.AdminAnalyticsStoreXStoreIDItemsDiscoveryGetSortByEnum = exports.ItemAnalyticsApi = exports.ItemAnalyticsApiFactory = exports.ItemAnalyticsApiFp = exports.ItemAnalyticsApiAxiosParamCreator = exports.FeatureLimitsAdminApi = exports.FeatureLimitsAdminApiFactory = exports.FeatureLimitsAdminApiFp = exports.FeatureLimitsAdminApiAxiosParamCreator = exports.FeatureLimitsApi = exports.FeatureLimitsApiFactory = exports.FeatureLimitsApiFp = exports.FeatureLimitsApiAxiosParamCreator = exports.ExternalAPINotificationsApi = exports.ExternalAPINotificationsApiFactory = exports.ExternalAPINotificationsApiFp = exports.ExternalAPINotificationsApiAxiosParamCreator = exports.DocumentsApi = exports.DocumentsApiFactory = exports.DocumentsApiFp = exports.DocumentsApiAxiosParamCreator = exports.CustomStopwordsApi = exports.CustomStopwordsApiFactory = exports.CustomStopwordsApiFp = exports.CustomStopwordsApiAxiosParamCreator = exports.CreditsTransactionsGetTypeEnum = exports.CreditsApi = exports.CreditsApiFactory = exports.CreditsApiFp = void 0;
|
|
29
|
+
exports.PluralsDeclensionsApiAxiosParamCreator = exports.PlansApi = exports.PlansApiFactory = exports.PlansApiFp = exports.PlansApiAxiosParamCreator = exports.PaymentsApi = exports.PaymentsApiFactory = exports.PaymentsApiFp = exports.PaymentsApiAxiosParamCreator = exports.PaymentGatewayApi = exports.PaymentGatewayApiFactory = exports.PaymentGatewayApiFp = exports.PaymentGatewayApiAxiosParamCreator = exports.ParentMenusApi = exports.ParentMenusApiFactory = exports.ParentMenusApiFp = exports.ParentMenusApiAxiosParamCreator = exports.OrganizationsApi = exports.OrganizationsApiFactory = exports.OrganizationsApiFp = exports.OrganizationsApiAxiosParamCreator = exports.OnboardingApi = exports.OnboardingApiFactory = exports.OnboardingApiFp = exports.OnboardingApiAxiosParamCreator = exports.V1NotificationsGetSortOrderEnum = exports.V1NotificationsGetSortByEnum = exports.V1NotificationsGetPriorityEnum = exports.V1NotificationsGetIsReadEnum = exports.V1NotificationsGetTypeEnum = exports.NotificationsApi = exports.NotificationsApiFactory = exports.NotificationsApiFp = exports.NotificationsApiAxiosParamCreator = exports.NotificationPreferencesApi = exports.NotificationPreferencesApiFactory = exports.NotificationPreferencesApiFp = exports.NotificationPreferencesApiAxiosParamCreator = exports.NewsLettersApi = exports.NewsLettersApiFactory = exports.NewsLettersApiFp = exports.NewsLettersApiAxiosParamCreator = exports.MongoDbApi = exports.MongoDbApiFactory = exports.MongoDbApiFp = exports.MongoDbApiAxiosParamCreator = exports.ModulesApi = exports.ModulesApiFactory = exports.ModulesApiFp = exports.ModulesApiAxiosParamCreator = void 0;
|
|
30
|
+
exports.StoresApiAxiosParamCreator = exports.StoreDocumentsApi = exports.StoreDocumentsApiFactory = exports.StoreDocumentsApiFp = exports.StoreDocumentsApiAxiosParamCreator = exports.StoreCreationApi = exports.StoreCreationApiFactory = exports.StoreCreationApiFp = exports.StoreCreationApiAxiosParamCreator = exports.StopwordsApi = exports.StopwordsApiFactory = exports.StopwordsApiFp = exports.StopwordsApiAxiosParamCreator = exports.SearchApi = exports.SearchApiFactory = exports.SearchApiFp = exports.SearchApiAxiosParamCreator = exports.RolesApi = exports.RolesApiFactory = exports.RolesApiFp = exports.RolesApiAxiosParamCreator = exports.RoleRightsApi = exports.RoleRightsApiFactory = exports.RoleRightsApiFp = exports.RoleRightsApiAxiosParamCreator = exports.RequestsApi = exports.RequestsApiFactory = exports.RequestsApiFp = exports.RequestsApiAxiosParamCreator = exports.RegisterApi = exports.RegisterApiFactory = exports.RegisterApiFp = exports.RegisterApiAxiosParamCreator = exports.RefundManagementApi = exports.RefundManagementApiFactory = exports.RefundManagementApiFp = exports.RefundManagementApiAxiosParamCreator = exports.QuerySuggestionsManagementApi = exports.QuerySuggestionsManagementApiFactory = exports.QuerySuggestionsManagementApiFp = exports.QuerySuggestionsManagementApiAxiosParamCreator = exports.V1SuggestionsQueriesGetTimeRangeEnum = exports.V1SuggestionsQueriesGetTagsMatchModeEnum = exports.QuerySuggestionsApi = exports.QuerySuggestionsApiFactory = exports.QuerySuggestionsApiFp = exports.QuerySuggestionsApiAxiosParamCreator = exports.PluralsDeclensionsApi = exports.PluralsDeclensionsApiFactory = exports.PluralsDeclensionsApiFp = void 0;
|
|
31
|
+
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 = void 0;
|
|
32
32
|
const axios_1 = require("axios");
|
|
33
33
|
// Some imports not used depending on template conditions
|
|
34
34
|
// @ts-ignore
|
|
@@ -9608,7 +9608,7 @@ const BillingDashboardApiAxiosParamCreator = function (configuration) {
|
|
|
9608
9608
|
};
|
|
9609
9609
|
}),
|
|
9610
9610
|
/**
|
|
9611
|
-
* Returns comprehensive billing overview with credit balance, plan info, and usage
|
|
9611
|
+
* Returns comprehensive billing overview with credit balance, plan info, and all usage metrics
|
|
9612
9612
|
* @summary Get billing overview (new)
|
|
9613
9613
|
* @param {*} [options] Override http request option.
|
|
9614
9614
|
* @throws {RequiredError}
|
|
@@ -10392,7 +10392,7 @@ const BillingDashboardApiFp = function (configuration) {
|
|
|
10392
10392
|
});
|
|
10393
10393
|
},
|
|
10394
10394
|
/**
|
|
10395
|
-
* Returns comprehensive billing overview with credit balance, plan info, and usage
|
|
10395
|
+
* Returns comprehensive billing overview with credit balance, plan info, and all usage metrics
|
|
10396
10396
|
* @summary Get billing overview (new)
|
|
10397
10397
|
* @param {*} [options] Override http request option.
|
|
10398
10398
|
* @throws {RequiredError}
|
|
@@ -10852,7 +10852,7 @@ const BillingDashboardApiFactory = function (configuration, basePath, axios) {
|
|
|
10852
10852
|
return localVarFp.adminBillingOverviewGet(orgId, startDate, endDate, options).then((request) => request(axios, basePath));
|
|
10853
10853
|
},
|
|
10854
10854
|
/**
|
|
10855
|
-
* Returns comprehensive billing overview with credit balance, plan info, and usage
|
|
10855
|
+
* Returns comprehensive billing overview with credit balance, plan info, and all usage metrics
|
|
10856
10856
|
* @summary Get billing overview (new)
|
|
10857
10857
|
* @param {*} [options] Override http request option.
|
|
10858
10858
|
* @throws {RequiredError}
|
|
@@ -11281,7 +11281,7 @@ class BillingDashboardApi extends base_1.BaseAPI {
|
|
|
11281
11281
|
return (0, exports.BillingDashboardApiFp)(this.configuration).adminBillingOverviewGet(orgId, startDate, endDate, options).then((request) => request(this.axios, this.basePath));
|
|
11282
11282
|
}
|
|
11283
11283
|
/**
|
|
11284
|
-
* Returns comprehensive billing overview with credit balance, plan info, and usage
|
|
11284
|
+
* Returns comprehensive billing overview with credit balance, plan info, and all usage metrics
|
|
11285
11285
|
* @summary Get billing overview (new)
|
|
11286
11286
|
* @param {*} [options] Override http request option.
|
|
11287
11287
|
* @throws {RequiredError}
|
|
@@ -11526,6 +11526,468 @@ exports.AdminBillingUsageDetailsGetGranularityEnum = {
|
|
|
11526
11526
|
Week: 'week',
|
|
11527
11527
|
Month: 'month'
|
|
11528
11528
|
};
|
|
11529
|
+
/**
|
|
11530
|
+
* BillingDashboardGraphsApi - axios parameter creator
|
|
11531
|
+
* @export
|
|
11532
|
+
*/
|
|
11533
|
+
const BillingDashboardGraphsApiAxiosParamCreator = function (configuration) {
|
|
11534
|
+
return {
|
|
11535
|
+
/**
|
|
11536
|
+
* Returns credits consumed over time with store-level filtering and zero-filling
|
|
11537
|
+
* @summary Get credits consumed graph
|
|
11538
|
+
* @param {string} [xstoreid] Filter by specific store ID
|
|
11539
|
+
* @param {string} [startDate] Start date (YYYY-MM-DD or RFC3339)
|
|
11540
|
+
* @param {string} [endDate] End date (YYYY-MM-DD or RFC3339)
|
|
11541
|
+
* @param {AdminBillingGraphsCreditsConsumedGetGranularityEnum} [granularity] Time granularity
|
|
11542
|
+
* @param {boolean} [fillZeros] Fill empty buckets with zeros
|
|
11543
|
+
* @param {*} [options] Override http request option.
|
|
11544
|
+
* @throws {RequiredError}
|
|
11545
|
+
*/
|
|
11546
|
+
adminBillingGraphsCreditsConsumedGet: (xstoreid_1, startDate_1, endDate_1, granularity_1, fillZeros_1, ...args_1) => __awaiter(this, [xstoreid_1, startDate_1, endDate_1, granularity_1, fillZeros_1, ...args_1], void 0, function* (xstoreid, startDate, endDate, granularity, fillZeros, options = {}) {
|
|
11547
|
+
const localVarPath = `/admin/billing/graphs/credits-consumed`;
|
|
11548
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
11549
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
11550
|
+
let baseOptions;
|
|
11551
|
+
if (configuration) {
|
|
11552
|
+
baseOptions = configuration.baseOptions;
|
|
11553
|
+
}
|
|
11554
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
11555
|
+
const localVarHeaderParameter = {};
|
|
11556
|
+
const localVarQueryParameter = {};
|
|
11557
|
+
// authentication BearerAuth required
|
|
11558
|
+
yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Authorization", configuration);
|
|
11559
|
+
if (xstoreid !== undefined) {
|
|
11560
|
+
localVarQueryParameter['xstoreid'] = xstoreid;
|
|
11561
|
+
}
|
|
11562
|
+
if (startDate !== undefined) {
|
|
11563
|
+
localVarQueryParameter['start_date'] = startDate;
|
|
11564
|
+
}
|
|
11565
|
+
if (endDate !== undefined) {
|
|
11566
|
+
localVarQueryParameter['end_date'] = endDate;
|
|
11567
|
+
}
|
|
11568
|
+
if (granularity !== undefined) {
|
|
11569
|
+
localVarQueryParameter['granularity'] = granularity;
|
|
11570
|
+
}
|
|
11571
|
+
if (fillZeros !== undefined) {
|
|
11572
|
+
localVarQueryParameter['fill_zeros'] = fillZeros;
|
|
11573
|
+
}
|
|
11574
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
11575
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
11576
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
11577
|
+
return {
|
|
11578
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
11579
|
+
options: localVarRequestOptions,
|
|
11580
|
+
};
|
|
11581
|
+
}),
|
|
11582
|
+
/**
|
|
11583
|
+
* Returns search requests over time with store-level filtering and zero-filling
|
|
11584
|
+
* @summary Get search requests graph
|
|
11585
|
+
* @param {string} [xstoreid] Filter by specific store ID
|
|
11586
|
+
* @param {string} [startDate] Start date (YYYY-MM-DD or RFC3339)
|
|
11587
|
+
* @param {string} [endDate] End date (YYYY-MM-DD or RFC3339)
|
|
11588
|
+
* @param {AdminBillingGraphsSearchRequestsGetGranularityEnum} [granularity] Time granularity
|
|
11589
|
+
* @param {boolean} [fillZeros] Fill empty buckets with zeros
|
|
11590
|
+
* @param {*} [options] Override http request option.
|
|
11591
|
+
* @throws {RequiredError}
|
|
11592
|
+
*/
|
|
11593
|
+
adminBillingGraphsSearchRequestsGet: (xstoreid_1, startDate_1, endDate_1, granularity_1, fillZeros_1, ...args_1) => __awaiter(this, [xstoreid_1, startDate_1, endDate_1, granularity_1, fillZeros_1, ...args_1], void 0, function* (xstoreid, startDate, endDate, granularity, fillZeros, options = {}) {
|
|
11594
|
+
const localVarPath = `/admin/billing/graphs/search-requests`;
|
|
11595
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
11596
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
11597
|
+
let baseOptions;
|
|
11598
|
+
if (configuration) {
|
|
11599
|
+
baseOptions = configuration.baseOptions;
|
|
11600
|
+
}
|
|
11601
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
11602
|
+
const localVarHeaderParameter = {};
|
|
11603
|
+
const localVarQueryParameter = {};
|
|
11604
|
+
// authentication BearerAuth required
|
|
11605
|
+
yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Authorization", configuration);
|
|
11606
|
+
if (xstoreid !== undefined) {
|
|
11607
|
+
localVarQueryParameter['xstoreid'] = xstoreid;
|
|
11608
|
+
}
|
|
11609
|
+
if (startDate !== undefined) {
|
|
11610
|
+
localVarQueryParameter['start_date'] = startDate;
|
|
11611
|
+
}
|
|
11612
|
+
if (endDate !== undefined) {
|
|
11613
|
+
localVarQueryParameter['end_date'] = endDate;
|
|
11614
|
+
}
|
|
11615
|
+
if (granularity !== undefined) {
|
|
11616
|
+
localVarQueryParameter['granularity'] = granularity;
|
|
11617
|
+
}
|
|
11618
|
+
if (fillZeros !== undefined) {
|
|
11619
|
+
localVarQueryParameter['fill_zeros'] = fillZeros;
|
|
11620
|
+
}
|
|
11621
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
11622
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
11623
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
11624
|
+
return {
|
|
11625
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
11626
|
+
options: localVarRequestOptions,
|
|
11627
|
+
};
|
|
11628
|
+
}),
|
|
11629
|
+
/**
|
|
11630
|
+
* Returns detailed timeseries consumption with summary statistics
|
|
11631
|
+
* @summary Get timeseries consumption graph
|
|
11632
|
+
* @param {string} [xstoreid] Filter by specific store ID
|
|
11633
|
+
* @param {string} [startDate] Start date (YYYY-MM-DD or RFC3339)
|
|
11634
|
+
* @param {string} [endDate] End date (YYYY-MM-DD or RFC3339)
|
|
11635
|
+
* @param {AdminBillingGraphsTimeseriesConsumptionGetGranularityEnum} [granularity] Time granularity
|
|
11636
|
+
* @param {boolean} [fillZeros] Fill empty buckets with zeros
|
|
11637
|
+
* @param {*} [options] Override http request option.
|
|
11638
|
+
* @throws {RequiredError}
|
|
11639
|
+
*/
|
|
11640
|
+
adminBillingGraphsTimeseriesConsumptionGet: (xstoreid_1, startDate_1, endDate_1, granularity_1, fillZeros_1, ...args_1) => __awaiter(this, [xstoreid_1, startDate_1, endDate_1, granularity_1, fillZeros_1, ...args_1], void 0, function* (xstoreid, startDate, endDate, granularity, fillZeros, options = {}) {
|
|
11641
|
+
const localVarPath = `/admin/billing/graphs/timeseries-consumption`;
|
|
11642
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
11643
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
11644
|
+
let baseOptions;
|
|
11645
|
+
if (configuration) {
|
|
11646
|
+
baseOptions = configuration.baseOptions;
|
|
11647
|
+
}
|
|
11648
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
11649
|
+
const localVarHeaderParameter = {};
|
|
11650
|
+
const localVarQueryParameter = {};
|
|
11651
|
+
// authentication BearerAuth required
|
|
11652
|
+
yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Authorization", configuration);
|
|
11653
|
+
if (xstoreid !== undefined) {
|
|
11654
|
+
localVarQueryParameter['xstoreid'] = xstoreid;
|
|
11655
|
+
}
|
|
11656
|
+
if (startDate !== undefined) {
|
|
11657
|
+
localVarQueryParameter['start_date'] = startDate;
|
|
11658
|
+
}
|
|
11659
|
+
if (endDate !== undefined) {
|
|
11660
|
+
localVarQueryParameter['end_date'] = endDate;
|
|
11661
|
+
}
|
|
11662
|
+
if (granularity !== undefined) {
|
|
11663
|
+
localVarQueryParameter['granularity'] = granularity;
|
|
11664
|
+
}
|
|
11665
|
+
if (fillZeros !== undefined) {
|
|
11666
|
+
localVarQueryParameter['fill_zeros'] = fillZeros;
|
|
11667
|
+
}
|
|
11668
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
11669
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
11670
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
11671
|
+
return {
|
|
11672
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
11673
|
+
options: localVarRequestOptions,
|
|
11674
|
+
};
|
|
11675
|
+
}),
|
|
11676
|
+
/**
|
|
11677
|
+
* Returns usage breakdown table with credits, requests, and record operations
|
|
11678
|
+
* @summary Get usage breakdown graph
|
|
11679
|
+
* @param {string} [xstoreid] Filter by specific store ID
|
|
11680
|
+
* @param {string} [startDate] Start date (YYYY-MM-DD or RFC3339)
|
|
11681
|
+
* @param {string} [endDate] End date (YYYY-MM-DD or RFC3339)
|
|
11682
|
+
* @param {AdminBillingGraphsUsageBreakdownGetGranularityEnum} [granularity] Time granularity
|
|
11683
|
+
* @param {boolean} [fillZeros] Fill empty buckets with zeros
|
|
11684
|
+
* @param {*} [options] Override http request option.
|
|
11685
|
+
* @throws {RequiredError}
|
|
11686
|
+
*/
|
|
11687
|
+
adminBillingGraphsUsageBreakdownGet: (xstoreid_1, startDate_1, endDate_1, granularity_1, fillZeros_1, ...args_1) => __awaiter(this, [xstoreid_1, startDate_1, endDate_1, granularity_1, fillZeros_1, ...args_1], void 0, function* (xstoreid, startDate, endDate, granularity, fillZeros, options = {}) {
|
|
11688
|
+
const localVarPath = `/admin/billing/graphs/usage-breakdown`;
|
|
11689
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
11690
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
11691
|
+
let baseOptions;
|
|
11692
|
+
if (configuration) {
|
|
11693
|
+
baseOptions = configuration.baseOptions;
|
|
11694
|
+
}
|
|
11695
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
11696
|
+
const localVarHeaderParameter = {};
|
|
11697
|
+
const localVarQueryParameter = {};
|
|
11698
|
+
// authentication BearerAuth required
|
|
11699
|
+
yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Authorization", configuration);
|
|
11700
|
+
if (xstoreid !== undefined) {
|
|
11701
|
+
localVarQueryParameter['xstoreid'] = xstoreid;
|
|
11702
|
+
}
|
|
11703
|
+
if (startDate !== undefined) {
|
|
11704
|
+
localVarQueryParameter['start_date'] = startDate;
|
|
11705
|
+
}
|
|
11706
|
+
if (endDate !== undefined) {
|
|
11707
|
+
localVarQueryParameter['end_date'] = endDate;
|
|
11708
|
+
}
|
|
11709
|
+
if (granularity !== undefined) {
|
|
11710
|
+
localVarQueryParameter['granularity'] = granularity;
|
|
11711
|
+
}
|
|
11712
|
+
if (fillZeros !== undefined) {
|
|
11713
|
+
localVarQueryParameter['fill_zeros'] = fillZeros;
|
|
11714
|
+
}
|
|
11715
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
11716
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
11717
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
11718
|
+
return {
|
|
11719
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
11720
|
+
options: localVarRequestOptions,
|
|
11721
|
+
};
|
|
11722
|
+
}),
|
|
11723
|
+
};
|
|
11724
|
+
};
|
|
11725
|
+
exports.BillingDashboardGraphsApiAxiosParamCreator = BillingDashboardGraphsApiAxiosParamCreator;
|
|
11726
|
+
/**
|
|
11727
|
+
* BillingDashboardGraphsApi - functional programming interface
|
|
11728
|
+
* @export
|
|
11729
|
+
*/
|
|
11730
|
+
const BillingDashboardGraphsApiFp = function (configuration) {
|
|
11731
|
+
const localVarAxiosParamCreator = (0, exports.BillingDashboardGraphsApiAxiosParamCreator)(configuration);
|
|
11732
|
+
return {
|
|
11733
|
+
/**
|
|
11734
|
+
* Returns credits consumed over time with store-level filtering and zero-filling
|
|
11735
|
+
* @summary Get credits consumed graph
|
|
11736
|
+
* @param {string} [xstoreid] Filter by specific store ID
|
|
11737
|
+
* @param {string} [startDate] Start date (YYYY-MM-DD or RFC3339)
|
|
11738
|
+
* @param {string} [endDate] End date (YYYY-MM-DD or RFC3339)
|
|
11739
|
+
* @param {AdminBillingGraphsCreditsConsumedGetGranularityEnum} [granularity] Time granularity
|
|
11740
|
+
* @param {boolean} [fillZeros] Fill empty buckets with zeros
|
|
11741
|
+
* @param {*} [options] Override http request option.
|
|
11742
|
+
* @throws {RequiredError}
|
|
11743
|
+
*/
|
|
11744
|
+
adminBillingGraphsCreditsConsumedGet(xstoreid, startDate, endDate, granularity, fillZeros, options) {
|
|
11745
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
11746
|
+
var _a, _b, _c;
|
|
11747
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.adminBillingGraphsCreditsConsumedGet(xstoreid, startDate, endDate, granularity, fillZeros, options);
|
|
11748
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
11749
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['BillingDashboardGraphsApi.adminBillingGraphsCreditsConsumedGet']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
11750
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
11751
|
+
});
|
|
11752
|
+
},
|
|
11753
|
+
/**
|
|
11754
|
+
* Returns search requests over time with store-level filtering and zero-filling
|
|
11755
|
+
* @summary Get search requests graph
|
|
11756
|
+
* @param {string} [xstoreid] Filter by specific store ID
|
|
11757
|
+
* @param {string} [startDate] Start date (YYYY-MM-DD or RFC3339)
|
|
11758
|
+
* @param {string} [endDate] End date (YYYY-MM-DD or RFC3339)
|
|
11759
|
+
* @param {AdminBillingGraphsSearchRequestsGetGranularityEnum} [granularity] Time granularity
|
|
11760
|
+
* @param {boolean} [fillZeros] Fill empty buckets with zeros
|
|
11761
|
+
* @param {*} [options] Override http request option.
|
|
11762
|
+
* @throws {RequiredError}
|
|
11763
|
+
*/
|
|
11764
|
+
adminBillingGraphsSearchRequestsGet(xstoreid, startDate, endDate, granularity, fillZeros, options) {
|
|
11765
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
11766
|
+
var _a, _b, _c;
|
|
11767
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.adminBillingGraphsSearchRequestsGet(xstoreid, startDate, endDate, granularity, fillZeros, options);
|
|
11768
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
11769
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['BillingDashboardGraphsApi.adminBillingGraphsSearchRequestsGet']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
11770
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
11771
|
+
});
|
|
11772
|
+
},
|
|
11773
|
+
/**
|
|
11774
|
+
* Returns detailed timeseries consumption with summary statistics
|
|
11775
|
+
* @summary Get timeseries consumption graph
|
|
11776
|
+
* @param {string} [xstoreid] Filter by specific store ID
|
|
11777
|
+
* @param {string} [startDate] Start date (YYYY-MM-DD or RFC3339)
|
|
11778
|
+
* @param {string} [endDate] End date (YYYY-MM-DD or RFC3339)
|
|
11779
|
+
* @param {AdminBillingGraphsTimeseriesConsumptionGetGranularityEnum} [granularity] Time granularity
|
|
11780
|
+
* @param {boolean} [fillZeros] Fill empty buckets with zeros
|
|
11781
|
+
* @param {*} [options] Override http request option.
|
|
11782
|
+
* @throws {RequiredError}
|
|
11783
|
+
*/
|
|
11784
|
+
adminBillingGraphsTimeseriesConsumptionGet(xstoreid, startDate, endDate, granularity, fillZeros, options) {
|
|
11785
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
11786
|
+
var _a, _b, _c;
|
|
11787
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.adminBillingGraphsTimeseriesConsumptionGet(xstoreid, startDate, endDate, granularity, fillZeros, options);
|
|
11788
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
11789
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['BillingDashboardGraphsApi.adminBillingGraphsTimeseriesConsumptionGet']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
11790
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
11791
|
+
});
|
|
11792
|
+
},
|
|
11793
|
+
/**
|
|
11794
|
+
* Returns usage breakdown table with credits, requests, and record operations
|
|
11795
|
+
* @summary Get usage breakdown graph
|
|
11796
|
+
* @param {string} [xstoreid] Filter by specific store ID
|
|
11797
|
+
* @param {string} [startDate] Start date (YYYY-MM-DD or RFC3339)
|
|
11798
|
+
* @param {string} [endDate] End date (YYYY-MM-DD or RFC3339)
|
|
11799
|
+
* @param {AdminBillingGraphsUsageBreakdownGetGranularityEnum} [granularity] Time granularity
|
|
11800
|
+
* @param {boolean} [fillZeros] Fill empty buckets with zeros
|
|
11801
|
+
* @param {*} [options] Override http request option.
|
|
11802
|
+
* @throws {RequiredError}
|
|
11803
|
+
*/
|
|
11804
|
+
adminBillingGraphsUsageBreakdownGet(xstoreid, startDate, endDate, granularity, fillZeros, options) {
|
|
11805
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
11806
|
+
var _a, _b, _c;
|
|
11807
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.adminBillingGraphsUsageBreakdownGet(xstoreid, startDate, endDate, granularity, fillZeros, options);
|
|
11808
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
11809
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['BillingDashboardGraphsApi.adminBillingGraphsUsageBreakdownGet']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
11810
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
11811
|
+
});
|
|
11812
|
+
},
|
|
11813
|
+
};
|
|
11814
|
+
};
|
|
11815
|
+
exports.BillingDashboardGraphsApiFp = BillingDashboardGraphsApiFp;
|
|
11816
|
+
/**
|
|
11817
|
+
* BillingDashboardGraphsApi - factory interface
|
|
11818
|
+
* @export
|
|
11819
|
+
*/
|
|
11820
|
+
const BillingDashboardGraphsApiFactory = function (configuration, basePath, axios) {
|
|
11821
|
+
const localVarFp = (0, exports.BillingDashboardGraphsApiFp)(configuration);
|
|
11822
|
+
return {
|
|
11823
|
+
/**
|
|
11824
|
+
* Returns credits consumed over time with store-level filtering and zero-filling
|
|
11825
|
+
* @summary Get credits consumed graph
|
|
11826
|
+
* @param {string} [xstoreid] Filter by specific store ID
|
|
11827
|
+
* @param {string} [startDate] Start date (YYYY-MM-DD or RFC3339)
|
|
11828
|
+
* @param {string} [endDate] End date (YYYY-MM-DD or RFC3339)
|
|
11829
|
+
* @param {AdminBillingGraphsCreditsConsumedGetGranularityEnum} [granularity] Time granularity
|
|
11830
|
+
* @param {boolean} [fillZeros] Fill empty buckets with zeros
|
|
11831
|
+
* @param {*} [options] Override http request option.
|
|
11832
|
+
* @throws {RequiredError}
|
|
11833
|
+
*/
|
|
11834
|
+
adminBillingGraphsCreditsConsumedGet(xstoreid, startDate, endDate, granularity, fillZeros, options) {
|
|
11835
|
+
return localVarFp.adminBillingGraphsCreditsConsumedGet(xstoreid, startDate, endDate, granularity, fillZeros, options).then((request) => request(axios, basePath));
|
|
11836
|
+
},
|
|
11837
|
+
/**
|
|
11838
|
+
* Returns search requests over time with store-level filtering and zero-filling
|
|
11839
|
+
* @summary Get search requests graph
|
|
11840
|
+
* @param {string} [xstoreid] Filter by specific store ID
|
|
11841
|
+
* @param {string} [startDate] Start date (YYYY-MM-DD or RFC3339)
|
|
11842
|
+
* @param {string} [endDate] End date (YYYY-MM-DD or RFC3339)
|
|
11843
|
+
* @param {AdminBillingGraphsSearchRequestsGetGranularityEnum} [granularity] Time granularity
|
|
11844
|
+
* @param {boolean} [fillZeros] Fill empty buckets with zeros
|
|
11845
|
+
* @param {*} [options] Override http request option.
|
|
11846
|
+
* @throws {RequiredError}
|
|
11847
|
+
*/
|
|
11848
|
+
adminBillingGraphsSearchRequestsGet(xstoreid, startDate, endDate, granularity, fillZeros, options) {
|
|
11849
|
+
return localVarFp.adminBillingGraphsSearchRequestsGet(xstoreid, startDate, endDate, granularity, fillZeros, options).then((request) => request(axios, basePath));
|
|
11850
|
+
},
|
|
11851
|
+
/**
|
|
11852
|
+
* Returns detailed timeseries consumption with summary statistics
|
|
11853
|
+
* @summary Get timeseries consumption graph
|
|
11854
|
+
* @param {string} [xstoreid] Filter by specific store ID
|
|
11855
|
+
* @param {string} [startDate] Start date (YYYY-MM-DD or RFC3339)
|
|
11856
|
+
* @param {string} [endDate] End date (YYYY-MM-DD or RFC3339)
|
|
11857
|
+
* @param {AdminBillingGraphsTimeseriesConsumptionGetGranularityEnum} [granularity] Time granularity
|
|
11858
|
+
* @param {boolean} [fillZeros] Fill empty buckets with zeros
|
|
11859
|
+
* @param {*} [options] Override http request option.
|
|
11860
|
+
* @throws {RequiredError}
|
|
11861
|
+
*/
|
|
11862
|
+
adminBillingGraphsTimeseriesConsumptionGet(xstoreid, startDate, endDate, granularity, fillZeros, options) {
|
|
11863
|
+
return localVarFp.adminBillingGraphsTimeseriesConsumptionGet(xstoreid, startDate, endDate, granularity, fillZeros, options).then((request) => request(axios, basePath));
|
|
11864
|
+
},
|
|
11865
|
+
/**
|
|
11866
|
+
* Returns usage breakdown table with credits, requests, and record operations
|
|
11867
|
+
* @summary Get usage breakdown graph
|
|
11868
|
+
* @param {string} [xstoreid] Filter by specific store ID
|
|
11869
|
+
* @param {string} [startDate] Start date (YYYY-MM-DD or RFC3339)
|
|
11870
|
+
* @param {string} [endDate] End date (YYYY-MM-DD or RFC3339)
|
|
11871
|
+
* @param {AdminBillingGraphsUsageBreakdownGetGranularityEnum} [granularity] Time granularity
|
|
11872
|
+
* @param {boolean} [fillZeros] Fill empty buckets with zeros
|
|
11873
|
+
* @param {*} [options] Override http request option.
|
|
11874
|
+
* @throws {RequiredError}
|
|
11875
|
+
*/
|
|
11876
|
+
adminBillingGraphsUsageBreakdownGet(xstoreid, startDate, endDate, granularity, fillZeros, options) {
|
|
11877
|
+
return localVarFp.adminBillingGraphsUsageBreakdownGet(xstoreid, startDate, endDate, granularity, fillZeros, options).then((request) => request(axios, basePath));
|
|
11878
|
+
},
|
|
11879
|
+
};
|
|
11880
|
+
};
|
|
11881
|
+
exports.BillingDashboardGraphsApiFactory = BillingDashboardGraphsApiFactory;
|
|
11882
|
+
/**
|
|
11883
|
+
* BillingDashboardGraphsApi - object-oriented interface
|
|
11884
|
+
* @export
|
|
11885
|
+
* @class BillingDashboardGraphsApi
|
|
11886
|
+
* @extends {BaseAPI}
|
|
11887
|
+
*/
|
|
11888
|
+
class BillingDashboardGraphsApi extends base_1.BaseAPI {
|
|
11889
|
+
/**
|
|
11890
|
+
* Returns credits consumed over time with store-level filtering and zero-filling
|
|
11891
|
+
* @summary Get credits consumed graph
|
|
11892
|
+
* @param {string} [xstoreid] Filter by specific store ID
|
|
11893
|
+
* @param {string} [startDate] Start date (YYYY-MM-DD or RFC3339)
|
|
11894
|
+
* @param {string} [endDate] End date (YYYY-MM-DD or RFC3339)
|
|
11895
|
+
* @param {AdminBillingGraphsCreditsConsumedGetGranularityEnum} [granularity] Time granularity
|
|
11896
|
+
* @param {boolean} [fillZeros] Fill empty buckets with zeros
|
|
11897
|
+
* @param {*} [options] Override http request option.
|
|
11898
|
+
* @throws {RequiredError}
|
|
11899
|
+
* @memberof BillingDashboardGraphsApi
|
|
11900
|
+
*/
|
|
11901
|
+
adminBillingGraphsCreditsConsumedGet(xstoreid, startDate, endDate, granularity, fillZeros, options) {
|
|
11902
|
+
return (0, exports.BillingDashboardGraphsApiFp)(this.configuration).adminBillingGraphsCreditsConsumedGet(xstoreid, startDate, endDate, granularity, fillZeros, options).then((request) => request(this.axios, this.basePath));
|
|
11903
|
+
}
|
|
11904
|
+
/**
|
|
11905
|
+
* Returns search requests over time with store-level filtering and zero-filling
|
|
11906
|
+
* @summary Get search requests graph
|
|
11907
|
+
* @param {string} [xstoreid] Filter by specific store ID
|
|
11908
|
+
* @param {string} [startDate] Start date (YYYY-MM-DD or RFC3339)
|
|
11909
|
+
* @param {string} [endDate] End date (YYYY-MM-DD or RFC3339)
|
|
11910
|
+
* @param {AdminBillingGraphsSearchRequestsGetGranularityEnum} [granularity] Time granularity
|
|
11911
|
+
* @param {boolean} [fillZeros] Fill empty buckets with zeros
|
|
11912
|
+
* @param {*} [options] Override http request option.
|
|
11913
|
+
* @throws {RequiredError}
|
|
11914
|
+
* @memberof BillingDashboardGraphsApi
|
|
11915
|
+
*/
|
|
11916
|
+
adminBillingGraphsSearchRequestsGet(xstoreid, startDate, endDate, granularity, fillZeros, options) {
|
|
11917
|
+
return (0, exports.BillingDashboardGraphsApiFp)(this.configuration).adminBillingGraphsSearchRequestsGet(xstoreid, startDate, endDate, granularity, fillZeros, options).then((request) => request(this.axios, this.basePath));
|
|
11918
|
+
}
|
|
11919
|
+
/**
|
|
11920
|
+
* Returns detailed timeseries consumption with summary statistics
|
|
11921
|
+
* @summary Get timeseries consumption graph
|
|
11922
|
+
* @param {string} [xstoreid] Filter by specific store ID
|
|
11923
|
+
* @param {string} [startDate] Start date (YYYY-MM-DD or RFC3339)
|
|
11924
|
+
* @param {string} [endDate] End date (YYYY-MM-DD or RFC3339)
|
|
11925
|
+
* @param {AdminBillingGraphsTimeseriesConsumptionGetGranularityEnum} [granularity] Time granularity
|
|
11926
|
+
* @param {boolean} [fillZeros] Fill empty buckets with zeros
|
|
11927
|
+
* @param {*} [options] Override http request option.
|
|
11928
|
+
* @throws {RequiredError}
|
|
11929
|
+
* @memberof BillingDashboardGraphsApi
|
|
11930
|
+
*/
|
|
11931
|
+
adminBillingGraphsTimeseriesConsumptionGet(xstoreid, startDate, endDate, granularity, fillZeros, options) {
|
|
11932
|
+
return (0, exports.BillingDashboardGraphsApiFp)(this.configuration).adminBillingGraphsTimeseriesConsumptionGet(xstoreid, startDate, endDate, granularity, fillZeros, options).then((request) => request(this.axios, this.basePath));
|
|
11933
|
+
}
|
|
11934
|
+
/**
|
|
11935
|
+
* Returns usage breakdown table with credits, requests, and record operations
|
|
11936
|
+
* @summary Get usage breakdown graph
|
|
11937
|
+
* @param {string} [xstoreid] Filter by specific store ID
|
|
11938
|
+
* @param {string} [startDate] Start date (YYYY-MM-DD or RFC3339)
|
|
11939
|
+
* @param {string} [endDate] End date (YYYY-MM-DD or RFC3339)
|
|
11940
|
+
* @param {AdminBillingGraphsUsageBreakdownGetGranularityEnum} [granularity] Time granularity
|
|
11941
|
+
* @param {boolean} [fillZeros] Fill empty buckets with zeros
|
|
11942
|
+
* @param {*} [options] Override http request option.
|
|
11943
|
+
* @throws {RequiredError}
|
|
11944
|
+
* @memberof BillingDashboardGraphsApi
|
|
11945
|
+
*/
|
|
11946
|
+
adminBillingGraphsUsageBreakdownGet(xstoreid, startDate, endDate, granularity, fillZeros, options) {
|
|
11947
|
+
return (0, exports.BillingDashboardGraphsApiFp)(this.configuration).adminBillingGraphsUsageBreakdownGet(xstoreid, startDate, endDate, granularity, fillZeros, options).then((request) => request(this.axios, this.basePath));
|
|
11948
|
+
}
|
|
11949
|
+
}
|
|
11950
|
+
exports.BillingDashboardGraphsApi = BillingDashboardGraphsApi;
|
|
11951
|
+
/**
|
|
11952
|
+
* @export
|
|
11953
|
+
*/
|
|
11954
|
+
exports.AdminBillingGraphsCreditsConsumedGetGranularityEnum = {
|
|
11955
|
+
Minute: 'minute',
|
|
11956
|
+
Hour: 'hour',
|
|
11957
|
+
Day: 'day',
|
|
11958
|
+
Week: 'week',
|
|
11959
|
+
Month: 'month'
|
|
11960
|
+
};
|
|
11961
|
+
/**
|
|
11962
|
+
* @export
|
|
11963
|
+
*/
|
|
11964
|
+
exports.AdminBillingGraphsSearchRequestsGetGranularityEnum = {
|
|
11965
|
+
Minute: 'minute',
|
|
11966
|
+
Hour: 'hour',
|
|
11967
|
+
Day: 'day',
|
|
11968
|
+
Week: 'week',
|
|
11969
|
+
Month: 'month'
|
|
11970
|
+
};
|
|
11971
|
+
/**
|
|
11972
|
+
* @export
|
|
11973
|
+
*/
|
|
11974
|
+
exports.AdminBillingGraphsTimeseriesConsumptionGetGranularityEnum = {
|
|
11975
|
+
Minute: 'minute',
|
|
11976
|
+
Hour: 'hour',
|
|
11977
|
+
Day: 'day',
|
|
11978
|
+
Week: 'week',
|
|
11979
|
+
Month: 'month'
|
|
11980
|
+
};
|
|
11981
|
+
/**
|
|
11982
|
+
* @export
|
|
11983
|
+
*/
|
|
11984
|
+
exports.AdminBillingGraphsUsageBreakdownGetGranularityEnum = {
|
|
11985
|
+
Minute: 'minute',
|
|
11986
|
+
Hour: 'hour',
|
|
11987
|
+
Day: 'day',
|
|
11988
|
+
Week: 'week',
|
|
11989
|
+
Month: 'month'
|
|
11990
|
+
};
|
|
11529
11991
|
/**
|
|
11530
11992
|
* CommonApi - axios parameter creator
|
|
11531
11993
|
* @export
|