@seekora-ai/admin-api 1.0.94 → 1.0.96
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 +8 -4
- package/api.ts +507 -59
- package/dist/api.d.ts +333 -56
- package/dist/api.js +336 -28
- package/dist/esm/api.d.ts +333 -56
- package/dist/esm/api.js +334 -26
- package/package.json +1 -1
- package/seekora-ai-admin-api-1.0.96.tgz +0 -0
- package/seekora-ai-admin-api-1.0.94.tgz +0 -0
package/api.ts
CHANGED
|
@@ -10440,6 +10440,12 @@ export interface DataTypesCreditChart {
|
|
|
10440
10440
|
* @memberof DataTypesCreditChart
|
|
10441
10441
|
*/
|
|
10442
10442
|
'metric'?: string;
|
|
10443
|
+
/**
|
|
10444
|
+
*
|
|
10445
|
+
* @type {DataTypesPaginationMetadata}
|
|
10446
|
+
* @memberof DataTypesCreditChart
|
|
10447
|
+
*/
|
|
10448
|
+
'pagination'?: DataTypesPaginationMetadata;
|
|
10443
10449
|
/**
|
|
10444
10450
|
*
|
|
10445
10451
|
* @type {string}
|
|
@@ -10452,6 +10458,12 @@ export interface DataTypesCreditChart {
|
|
|
10452
10458
|
* @memberof DataTypesCreditChart
|
|
10453
10459
|
*/
|
|
10454
10460
|
'total_credits'?: number;
|
|
10461
|
+
/**
|
|
10462
|
+
*
|
|
10463
|
+
* @type {number}
|
|
10464
|
+
* @memberof DataTypesCreditChart
|
|
10465
|
+
*/
|
|
10466
|
+
'total_points'?: number;
|
|
10455
10467
|
}
|
|
10456
10468
|
/**
|
|
10457
10469
|
*
|
|
@@ -10577,10 +10589,16 @@ export interface DataTypesCreditConsumptionResult {
|
|
|
10577
10589
|
export interface DataTypesCreditConsumptionSummary {
|
|
10578
10590
|
/**
|
|
10579
10591
|
*
|
|
10580
|
-
* @type {
|
|
10592
|
+
* @type {DataTypesPaginationMetadata}
|
|
10581
10593
|
* @memberof DataTypesCreditConsumptionSummary
|
|
10582
10594
|
*/
|
|
10583
|
-
'
|
|
10595
|
+
'consumption_pagination'?: DataTypesPaginationMetadata;
|
|
10596
|
+
/**
|
|
10597
|
+
*
|
|
10598
|
+
* @type {DataTypesPaginationMetadata}
|
|
10599
|
+
* @memberof DataTypesCreditConsumptionSummary
|
|
10600
|
+
*/
|
|
10601
|
+
'endpoint_pagination'?: DataTypesPaginationMetadata;
|
|
10584
10602
|
/**
|
|
10585
10603
|
*
|
|
10586
10604
|
* @type {number}
|
|
@@ -10593,18 +10611,36 @@ export interface DataTypesCreditConsumptionSummary {
|
|
|
10593
10611
|
* @memberof DataTypesCreditConsumptionSummary
|
|
10594
10612
|
*/
|
|
10595
10613
|
'search_requests'?: number;
|
|
10614
|
+
/**
|
|
10615
|
+
* Renamed from daily_consumption
|
|
10616
|
+
* @type {Array<DataTypesTimeSeriesConsumption>}
|
|
10617
|
+
* @memberof DataTypesCreditConsumptionSummary
|
|
10618
|
+
*/
|
|
10619
|
+
'time_series_consumption'?: Array<DataTypesTimeSeriesConsumption>;
|
|
10596
10620
|
/**
|
|
10597
10621
|
*
|
|
10598
10622
|
* @type {Array<DataTypesEndpointUsage>}
|
|
10599
10623
|
* @memberof DataTypesCreditConsumptionSummary
|
|
10600
10624
|
*/
|
|
10601
10625
|
'top_endpoints'?: Array<DataTypesEndpointUsage>;
|
|
10626
|
+
/**
|
|
10627
|
+
*
|
|
10628
|
+
* @type {number}
|
|
10629
|
+
* @memberof DataTypesCreditConsumptionSummary
|
|
10630
|
+
*/
|
|
10631
|
+
'total_buckets'?: number;
|
|
10602
10632
|
/**
|
|
10603
10633
|
*
|
|
10604
10634
|
* @type {number}
|
|
10605
10635
|
* @memberof DataTypesCreditConsumptionSummary
|
|
10606
10636
|
*/
|
|
10607
10637
|
'total_credits_consumed'?: number;
|
|
10638
|
+
/**
|
|
10639
|
+
*
|
|
10640
|
+
* @type {number}
|
|
10641
|
+
* @memberof DataTypesCreditConsumptionSummary
|
|
10642
|
+
*/
|
|
10643
|
+
'total_endpoints'?: number;
|
|
10608
10644
|
}
|
|
10609
10645
|
/**
|
|
10610
10646
|
*
|
|
@@ -11064,37 +11100,6 @@ export interface DataTypesCustomerInfoDto {
|
|
|
11064
11100
|
*/
|
|
11065
11101
|
'phone'?: string;
|
|
11066
11102
|
}
|
|
11067
|
-
/**
|
|
11068
|
-
*
|
|
11069
|
-
* @export
|
|
11070
|
-
* @interface DataTypesDailyConsumption
|
|
11071
|
-
*/
|
|
11072
|
-
export interface DataTypesDailyConsumption {
|
|
11073
|
-
/**
|
|
11074
|
-
*
|
|
11075
|
-
* @type {number}
|
|
11076
|
-
* @memberof DataTypesDailyConsumption
|
|
11077
|
-
*/
|
|
11078
|
-
'credits_used'?: number;
|
|
11079
|
-
/**
|
|
11080
|
-
*
|
|
11081
|
-
* @type {string}
|
|
11082
|
-
* @memberof DataTypesDailyConsumption
|
|
11083
|
-
*/
|
|
11084
|
-
'date'?: string;
|
|
11085
|
-
/**
|
|
11086
|
-
*
|
|
11087
|
-
* @type {number}
|
|
11088
|
-
* @memberof DataTypesDailyConsumption
|
|
11089
|
-
*/
|
|
11090
|
-
'record_count'?: number;
|
|
11091
|
-
/**
|
|
11092
|
-
*
|
|
11093
|
-
* @type {number}
|
|
11094
|
-
* @memberof DataTypesDailyConsumption
|
|
11095
|
-
*/
|
|
11096
|
-
'search_count'?: number;
|
|
11097
|
-
}
|
|
11098
11103
|
/**
|
|
11099
11104
|
*
|
|
11100
11105
|
* @export
|
|
@@ -14136,6 +14141,12 @@ export interface DataTypesLoginRequest {
|
|
|
14136
14141
|
* @memberof DataTypesLoginRequest
|
|
14137
14142
|
*/
|
|
14138
14143
|
'token'?: string;
|
|
14144
|
+
/**
|
|
14145
|
+
* e.g., \"google\" for Google login
|
|
14146
|
+
* @type {string}
|
|
14147
|
+
* @memberof DataTypesLoginRequest
|
|
14148
|
+
*/
|
|
14149
|
+
'type'?: string;
|
|
14139
14150
|
/**
|
|
14140
14151
|
*
|
|
14141
14152
|
* @type {string}
|
|
@@ -15664,6 +15675,43 @@ export interface DataTypesPaginationInfo {
|
|
|
15664
15675
|
*/
|
|
15665
15676
|
'total_pages'?: number;
|
|
15666
15677
|
}
|
|
15678
|
+
/**
|
|
15679
|
+
*
|
|
15680
|
+
* @export
|
|
15681
|
+
* @interface DataTypesPaginationMetadata
|
|
15682
|
+
*/
|
|
15683
|
+
export interface DataTypesPaginationMetadata {
|
|
15684
|
+
/**
|
|
15685
|
+
* Whether there are more pages
|
|
15686
|
+
* @type {boolean}
|
|
15687
|
+
* @memberof DataTypesPaginationMetadata
|
|
15688
|
+
*/
|
|
15689
|
+
'has_more'?: boolean;
|
|
15690
|
+
/**
|
|
15691
|
+
* Current page number (1-based)
|
|
15692
|
+
* @type {number}
|
|
15693
|
+
* @memberof DataTypesPaginationMetadata
|
|
15694
|
+
*/
|
|
15695
|
+
'page'?: number;
|
|
15696
|
+
/**
|
|
15697
|
+
* Items per page
|
|
15698
|
+
* @type {number}
|
|
15699
|
+
* @memberof DataTypesPaginationMetadata
|
|
15700
|
+
*/
|
|
15701
|
+
'page_size'?: number;
|
|
15702
|
+
/**
|
|
15703
|
+
* Total number of items
|
|
15704
|
+
* @type {number}
|
|
15705
|
+
* @memberof DataTypesPaginationMetadata
|
|
15706
|
+
*/
|
|
15707
|
+
'total_items'?: number;
|
|
15708
|
+
/**
|
|
15709
|
+
* Total number of pages
|
|
15710
|
+
* @type {number}
|
|
15711
|
+
* @memberof DataTypesPaginationMetadata
|
|
15712
|
+
*/
|
|
15713
|
+
'total_pages'?: number;
|
|
15714
|
+
}
|
|
15667
15715
|
/**
|
|
15668
15716
|
*
|
|
15669
15717
|
* @export
|
|
@@ -16027,7 +16075,13 @@ export interface DataTypesPeriodInfo {
|
|
|
16027
16075
|
*/
|
|
16028
16076
|
'end_date'?: string;
|
|
16029
16077
|
/**
|
|
16030
|
-
* \"
|
|
16078
|
+
* \"minute\", \"hour\", \"day\", \"week\", \"month\"
|
|
16079
|
+
* @type {string}
|
|
16080
|
+
* @memberof DataTypesPeriodInfo
|
|
16081
|
+
*/
|
|
16082
|
+
'granularity'?: string;
|
|
16083
|
+
/**
|
|
16084
|
+
* \"October 2025\"
|
|
16031
16085
|
* @type {string}
|
|
16032
16086
|
* @memberof DataTypesPeriodInfo
|
|
16033
16087
|
*/
|
|
@@ -19425,6 +19479,12 @@ export interface DataTypesSynonymEntry {
|
|
|
19425
19479
|
* @interface DataTypesTableCell
|
|
19426
19480
|
*/
|
|
19427
19481
|
export interface DataTypesTableCell {
|
|
19482
|
+
/**
|
|
19483
|
+
* Optional: raw datetime for headers with dates
|
|
19484
|
+
* @type {string}
|
|
19485
|
+
* @memberof DataTypesTableCell
|
|
19486
|
+
*/
|
|
19487
|
+
'date'?: string;
|
|
19428
19488
|
/**
|
|
19429
19489
|
* \"header\", \"data\", \"total\"
|
|
19430
19490
|
* @type {string}
|
|
@@ -19608,6 +19668,37 @@ export interface DataTypesTaskRun {
|
|
|
19608
19668
|
*/
|
|
19609
19669
|
'task_run_id'?: number;
|
|
19610
19670
|
}
|
|
19671
|
+
/**
|
|
19672
|
+
*
|
|
19673
|
+
* @export
|
|
19674
|
+
* @interface DataTypesTimeSeriesConsumption
|
|
19675
|
+
*/
|
|
19676
|
+
export interface DataTypesTimeSeriesConsumption {
|
|
19677
|
+
/**
|
|
19678
|
+
*
|
|
19679
|
+
* @type {number}
|
|
19680
|
+
* @memberof DataTypesTimeSeriesConsumption
|
|
19681
|
+
*/
|
|
19682
|
+
'credits_used'?: number;
|
|
19683
|
+
/**
|
|
19684
|
+
*
|
|
19685
|
+
* @type {string}
|
|
19686
|
+
* @memberof DataTypesTimeSeriesConsumption
|
|
19687
|
+
*/
|
|
19688
|
+
'date'?: string;
|
|
19689
|
+
/**
|
|
19690
|
+
*
|
|
19691
|
+
* @type {number}
|
|
19692
|
+
* @memberof DataTypesTimeSeriesConsumption
|
|
19693
|
+
*/
|
|
19694
|
+
'record_count'?: number;
|
|
19695
|
+
/**
|
|
19696
|
+
*
|
|
19697
|
+
* @type {number}
|
|
19698
|
+
* @memberof DataTypesTimeSeriesConsumption
|
|
19699
|
+
*/
|
|
19700
|
+
'search_count'?: number;
|
|
19701
|
+
}
|
|
19611
19702
|
/**
|
|
19612
19703
|
*
|
|
19613
19704
|
* @export
|
|
@@ -20133,6 +20224,12 @@ export interface DataTypesUploadsourceDataResponse {
|
|
|
20133
20224
|
* @interface DataTypesUsageBreakdown
|
|
20134
20225
|
*/
|
|
20135
20226
|
export interface DataTypesUsageBreakdown {
|
|
20227
|
+
/**
|
|
20228
|
+
*
|
|
20229
|
+
* @type {string}
|
|
20230
|
+
* @memberof DataTypesUsageBreakdown
|
|
20231
|
+
*/
|
|
20232
|
+
'granularity'?: string;
|
|
20136
20233
|
/**
|
|
20137
20234
|
*
|
|
20138
20235
|
* @type {Array<DataTypesMetricData>}
|
|
@@ -20151,6 +20248,12 @@ export interface DataTypesUsageBreakdown {
|
|
|
20151
20248
|
* @memberof DataTypesUsageBreakdown
|
|
20152
20249
|
*/
|
|
20153
20250
|
'table_data'?: Array<Array<DataTypesTableCell>>;
|
|
20251
|
+
/**
|
|
20252
|
+
*
|
|
20253
|
+
* @type {number}
|
|
20254
|
+
* @memberof DataTypesUsageBreakdown
|
|
20255
|
+
*/
|
|
20256
|
+
'total_buckets'?: number;
|
|
20154
20257
|
}
|
|
20155
20258
|
/**
|
|
20156
20259
|
*
|
|
@@ -20165,13 +20268,13 @@ export interface DataTypesUsageDetailsResponse {
|
|
|
20165
20268
|
*/
|
|
20166
20269
|
'breakdown'?: DataTypesUsageBreakdown;
|
|
20167
20270
|
/**
|
|
20168
|
-
* Credit consumption charts
|
|
20271
|
+
* Credit consumption charts with pagination
|
|
20169
20272
|
* @type {Array<DataTypesCreditChart>}
|
|
20170
20273
|
* @memberof DataTypesUsageDetailsResponse
|
|
20171
20274
|
*/
|
|
20172
20275
|
'credit_charts'?: Array<DataTypesCreditChart>;
|
|
20173
20276
|
/**
|
|
20174
|
-
* Credit consumption summary
|
|
20277
|
+
* Credit consumption summary with pagination
|
|
20175
20278
|
* @type {DataTypesCreditConsumptionSummary}
|
|
20176
20279
|
* @memberof DataTypesUsageDetailsResponse
|
|
20177
20280
|
*/
|
|
@@ -20256,6 +20359,12 @@ export interface DataTypesUser {
|
|
|
20256
20359
|
* @memberof DataTypesUser
|
|
20257
20360
|
*/
|
|
20258
20361
|
'isTwoFactor'?: boolean;
|
|
20362
|
+
/**
|
|
20363
|
+
*
|
|
20364
|
+
* @type {boolean}
|
|
20365
|
+
* @memberof DataTypesUser
|
|
20366
|
+
*/
|
|
20367
|
+
'isVerified'?: boolean;
|
|
20259
20368
|
/**
|
|
20260
20369
|
*
|
|
20261
20370
|
* @type {string}
|
|
@@ -20346,6 +20455,12 @@ export interface DataTypesUser {
|
|
|
20346
20455
|
* @memberof DataTypesUser
|
|
20347
20456
|
*/
|
|
20348
20457
|
'roleId': number;
|
|
20458
|
+
/**
|
|
20459
|
+
*
|
|
20460
|
+
* @type {string}
|
|
20461
|
+
* @memberof DataTypesUser
|
|
20462
|
+
*/
|
|
20463
|
+
'sso_config'?: string;
|
|
20349
20464
|
/**
|
|
20350
20465
|
*
|
|
20351
20466
|
* @type {string}
|
|
@@ -29890,14 +30005,22 @@ export const BillingDashboardApiAxiosParamCreator = function (configuration?: Co
|
|
|
29890
30005
|
};
|
|
29891
30006
|
},
|
|
29892
30007
|
/**
|
|
29893
|
-
* Returns detailed usage information with charts and breakdown
|
|
29894
|
-
* @summary Get usage details
|
|
29895
|
-
* @param {string} [
|
|
29896
|
-
* @param {string} [
|
|
30008
|
+
* Returns detailed usage information with charts and breakdown, supports time granularity and pagination
|
|
30009
|
+
* @summary Get usage details with granularity and pagination
|
|
30010
|
+
* @param {string} [xstoreid] Filter by specific store ID
|
|
30011
|
+
* @param {string} [startDate] Start date (YYYY-MM-DD or RFC3339 format)
|
|
30012
|
+
* @param {string} [endDate] End date (YYYY-MM-DD or RFC3339 format)
|
|
30013
|
+
* @param {AdminBillingUsageDetailsGetGranularityEnum} [granularity] Time granularity
|
|
30014
|
+
* @param {number} [chartPage] Chart data page number (1-based)
|
|
30015
|
+
* @param {number} [chartPageSize] Chart data items per page
|
|
30016
|
+
* @param {number} [endpointPage] Endpoints page number (1-based)
|
|
30017
|
+
* @param {number} [endpointPageSize] Endpoints items per page
|
|
30018
|
+
* @param {number} [consumptionPage] Consumption page number (1-based)
|
|
30019
|
+
* @param {number} [consumptionPageSize] Consumption items per page
|
|
29897
30020
|
* @param {*} [options] Override http request option.
|
|
29898
30021
|
* @throws {RequiredError}
|
|
29899
30022
|
*/
|
|
29900
|
-
adminBillingUsageDetailsGet: async (startDate?: string, endDate?: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
30023
|
+
adminBillingUsageDetailsGet: async (xstoreid?: string, startDate?: string, endDate?: string, granularity?: AdminBillingUsageDetailsGetGranularityEnum, chartPage?: number, chartPageSize?: number, endpointPage?: number, endpointPageSize?: number, consumptionPage?: number, consumptionPageSize?: number, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
29901
30024
|
const localVarPath = `/admin/billing/usage-details`;
|
|
29902
30025
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
29903
30026
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -29913,6 +30036,10 @@ export const BillingDashboardApiAxiosParamCreator = function (configuration?: Co
|
|
|
29913
30036
|
// authentication BearerAuth required
|
|
29914
30037
|
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
|
|
29915
30038
|
|
|
30039
|
+
if (xstoreid !== undefined) {
|
|
30040
|
+
localVarQueryParameter['xstoreid'] = xstoreid;
|
|
30041
|
+
}
|
|
30042
|
+
|
|
29916
30043
|
if (startDate !== undefined) {
|
|
29917
30044
|
localVarQueryParameter['start_date'] = startDate;
|
|
29918
30045
|
}
|
|
@@ -29921,6 +30048,34 @@ export const BillingDashboardApiAxiosParamCreator = function (configuration?: Co
|
|
|
29921
30048
|
localVarQueryParameter['end_date'] = endDate;
|
|
29922
30049
|
}
|
|
29923
30050
|
|
|
30051
|
+
if (granularity !== undefined) {
|
|
30052
|
+
localVarQueryParameter['granularity'] = granularity;
|
|
30053
|
+
}
|
|
30054
|
+
|
|
30055
|
+
if (chartPage !== undefined) {
|
|
30056
|
+
localVarQueryParameter['chart_page'] = chartPage;
|
|
30057
|
+
}
|
|
30058
|
+
|
|
30059
|
+
if (chartPageSize !== undefined) {
|
|
30060
|
+
localVarQueryParameter['chart_page_size'] = chartPageSize;
|
|
30061
|
+
}
|
|
30062
|
+
|
|
30063
|
+
if (endpointPage !== undefined) {
|
|
30064
|
+
localVarQueryParameter['endpoint_page'] = endpointPage;
|
|
30065
|
+
}
|
|
30066
|
+
|
|
30067
|
+
if (endpointPageSize !== undefined) {
|
|
30068
|
+
localVarQueryParameter['endpoint_page_size'] = endpointPageSize;
|
|
30069
|
+
}
|
|
30070
|
+
|
|
30071
|
+
if (consumptionPage !== undefined) {
|
|
30072
|
+
localVarQueryParameter['consumption_page'] = consumptionPage;
|
|
30073
|
+
}
|
|
30074
|
+
|
|
30075
|
+
if (consumptionPageSize !== undefined) {
|
|
30076
|
+
localVarQueryParameter['consumption_page_size'] = consumptionPageSize;
|
|
30077
|
+
}
|
|
30078
|
+
|
|
29924
30079
|
|
|
29925
30080
|
|
|
29926
30081
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
@@ -30250,15 +30405,23 @@ export const BillingDashboardApiFp = function(configuration?: Configuration) {
|
|
|
30250
30405
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
30251
30406
|
},
|
|
30252
30407
|
/**
|
|
30253
|
-
* Returns detailed usage information with charts and breakdown
|
|
30254
|
-
* @summary Get usage details
|
|
30255
|
-
* @param {string} [
|
|
30256
|
-
* @param {string} [
|
|
30408
|
+
* Returns detailed usage information with charts and breakdown, supports time granularity and pagination
|
|
30409
|
+
* @summary Get usage details with granularity and pagination
|
|
30410
|
+
* @param {string} [xstoreid] Filter by specific store ID
|
|
30411
|
+
* @param {string} [startDate] Start date (YYYY-MM-DD or RFC3339 format)
|
|
30412
|
+
* @param {string} [endDate] End date (YYYY-MM-DD or RFC3339 format)
|
|
30413
|
+
* @param {AdminBillingUsageDetailsGetGranularityEnum} [granularity] Time granularity
|
|
30414
|
+
* @param {number} [chartPage] Chart data page number (1-based)
|
|
30415
|
+
* @param {number} [chartPageSize] Chart data items per page
|
|
30416
|
+
* @param {number} [endpointPage] Endpoints page number (1-based)
|
|
30417
|
+
* @param {number} [endpointPageSize] Endpoints items per page
|
|
30418
|
+
* @param {number} [consumptionPage] Consumption page number (1-based)
|
|
30419
|
+
* @param {number} [consumptionPageSize] Consumption items per page
|
|
30257
30420
|
* @param {*} [options] Override http request option.
|
|
30258
30421
|
* @throws {RequiredError}
|
|
30259
30422
|
*/
|
|
30260
|
-
async adminBillingUsageDetailsGet(startDate?: string, endDate?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DataTypesGenericResponseDataTypesUsageDetailsResponse>> {
|
|
30261
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.adminBillingUsageDetailsGet(startDate, endDate, options);
|
|
30423
|
+
async adminBillingUsageDetailsGet(xstoreid?: string, startDate?: string, endDate?: string, granularity?: AdminBillingUsageDetailsGetGranularityEnum, chartPage?: number, chartPageSize?: number, endpointPage?: number, endpointPageSize?: number, consumptionPage?: number, consumptionPageSize?: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DataTypesGenericResponseDataTypesUsageDetailsResponse>> {
|
|
30424
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.adminBillingUsageDetailsGet(xstoreid, startDate, endDate, granularity, chartPage, chartPageSize, endpointPage, endpointPageSize, consumptionPage, consumptionPageSize, options);
|
|
30262
30425
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
30263
30426
|
const localVarOperationServerBasePath = operationServerMap['BillingDashboardApi.adminBillingUsageDetailsGet']?.[localVarOperationServerIndex]?.url;
|
|
30264
30427
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
@@ -30518,15 +30681,23 @@ export const BillingDashboardApiFactory = function (configuration?: Configuratio
|
|
|
30518
30681
|
return localVarFp.adminBillingSavedCardsGet(options).then((request) => request(axios, basePath));
|
|
30519
30682
|
},
|
|
30520
30683
|
/**
|
|
30521
|
-
* Returns detailed usage information with charts and breakdown
|
|
30522
|
-
* @summary Get usage details
|
|
30523
|
-
* @param {string} [
|
|
30524
|
-
* @param {string} [
|
|
30684
|
+
* Returns detailed usage information with charts and breakdown, supports time granularity and pagination
|
|
30685
|
+
* @summary Get usage details with granularity and pagination
|
|
30686
|
+
* @param {string} [xstoreid] Filter by specific store ID
|
|
30687
|
+
* @param {string} [startDate] Start date (YYYY-MM-DD or RFC3339 format)
|
|
30688
|
+
* @param {string} [endDate] End date (YYYY-MM-DD or RFC3339 format)
|
|
30689
|
+
* @param {AdminBillingUsageDetailsGetGranularityEnum} [granularity] Time granularity
|
|
30690
|
+
* @param {number} [chartPage] Chart data page number (1-based)
|
|
30691
|
+
* @param {number} [chartPageSize] Chart data items per page
|
|
30692
|
+
* @param {number} [endpointPage] Endpoints page number (1-based)
|
|
30693
|
+
* @param {number} [endpointPageSize] Endpoints items per page
|
|
30694
|
+
* @param {number} [consumptionPage] Consumption page number (1-based)
|
|
30695
|
+
* @param {number} [consumptionPageSize] Consumption items per page
|
|
30525
30696
|
* @param {*} [options] Override http request option.
|
|
30526
30697
|
* @throws {RequiredError}
|
|
30527
30698
|
*/
|
|
30528
|
-
adminBillingUsageDetailsGet(startDate?: string, endDate?: string, options?: RawAxiosRequestConfig): AxiosPromise<DataTypesGenericResponseDataTypesUsageDetailsResponse> {
|
|
30529
|
-
return localVarFp.adminBillingUsageDetailsGet(startDate, endDate, options).then((request) => request(axios, basePath));
|
|
30699
|
+
adminBillingUsageDetailsGet(xstoreid?: string, startDate?: string, endDate?: string, granularity?: AdminBillingUsageDetailsGetGranularityEnum, chartPage?: number, chartPageSize?: number, endpointPage?: number, endpointPageSize?: number, consumptionPage?: number, consumptionPageSize?: number, options?: RawAxiosRequestConfig): AxiosPromise<DataTypesGenericResponseDataTypesUsageDetailsResponse> {
|
|
30700
|
+
return localVarFp.adminBillingUsageDetailsGet(xstoreid, startDate, endDate, granularity, chartPage, chartPageSize, endpointPage, endpointPageSize, consumptionPage, consumptionPageSize, options).then((request) => request(axios, basePath));
|
|
30530
30701
|
},
|
|
30531
30702
|
};
|
|
30532
30703
|
};
|
|
@@ -30825,19 +30996,38 @@ export class BillingDashboardApi extends BaseAPI {
|
|
|
30825
30996
|
}
|
|
30826
30997
|
|
|
30827
30998
|
/**
|
|
30828
|
-
* Returns detailed usage information with charts and breakdown
|
|
30829
|
-
* @summary Get usage details
|
|
30830
|
-
* @param {string} [
|
|
30831
|
-
* @param {string} [
|
|
30999
|
+
* Returns detailed usage information with charts and breakdown, supports time granularity and pagination
|
|
31000
|
+
* @summary Get usage details with granularity and pagination
|
|
31001
|
+
* @param {string} [xstoreid] Filter by specific store ID
|
|
31002
|
+
* @param {string} [startDate] Start date (YYYY-MM-DD or RFC3339 format)
|
|
31003
|
+
* @param {string} [endDate] End date (YYYY-MM-DD or RFC3339 format)
|
|
31004
|
+
* @param {AdminBillingUsageDetailsGetGranularityEnum} [granularity] Time granularity
|
|
31005
|
+
* @param {number} [chartPage] Chart data page number (1-based)
|
|
31006
|
+
* @param {number} [chartPageSize] Chart data items per page
|
|
31007
|
+
* @param {number} [endpointPage] Endpoints page number (1-based)
|
|
31008
|
+
* @param {number} [endpointPageSize] Endpoints items per page
|
|
31009
|
+
* @param {number} [consumptionPage] Consumption page number (1-based)
|
|
31010
|
+
* @param {number} [consumptionPageSize] Consumption items per page
|
|
30832
31011
|
* @param {*} [options] Override http request option.
|
|
30833
31012
|
* @throws {RequiredError}
|
|
30834
31013
|
* @memberof BillingDashboardApi
|
|
30835
31014
|
*/
|
|
30836
|
-
public adminBillingUsageDetailsGet(startDate?: string, endDate?: string, options?: RawAxiosRequestConfig) {
|
|
30837
|
-
return BillingDashboardApiFp(this.configuration).adminBillingUsageDetailsGet(startDate, endDate, options).then((request) => request(this.axios, this.basePath));
|
|
31015
|
+
public adminBillingUsageDetailsGet(xstoreid?: string, startDate?: string, endDate?: string, granularity?: AdminBillingUsageDetailsGetGranularityEnum, chartPage?: number, chartPageSize?: number, endpointPage?: number, endpointPageSize?: number, consumptionPage?: number, consumptionPageSize?: number, options?: RawAxiosRequestConfig) {
|
|
31016
|
+
return BillingDashboardApiFp(this.configuration).adminBillingUsageDetailsGet(xstoreid, startDate, endDate, granularity, chartPage, chartPageSize, endpointPage, endpointPageSize, consumptionPage, consumptionPageSize, options).then((request) => request(this.axios, this.basePath));
|
|
30838
31017
|
}
|
|
30839
31018
|
}
|
|
30840
31019
|
|
|
31020
|
+
/**
|
|
31021
|
+
* @export
|
|
31022
|
+
*/
|
|
31023
|
+
export const AdminBillingUsageDetailsGetGranularityEnum = {
|
|
31024
|
+
Minute: 'minute',
|
|
31025
|
+
Hour: 'hour',
|
|
31026
|
+
Day: 'day',
|
|
31027
|
+
Week: 'week',
|
|
31028
|
+
Month: 'month'
|
|
31029
|
+
} as const;
|
|
31030
|
+
export type AdminBillingUsageDetailsGetGranularityEnum = typeof AdminBillingUsageDetailsGetGranularityEnum[keyof typeof AdminBillingUsageDetailsGetGranularityEnum];
|
|
30841
31031
|
|
|
30842
31032
|
|
|
30843
31033
|
/**
|
|
@@ -50243,6 +50433,144 @@ export const StoresApiAxiosParamCreator = function (configuration?: Configuratio
|
|
|
50243
50433
|
options: localVarRequestOptions,
|
|
50244
50434
|
};
|
|
50245
50435
|
},
|
|
50436
|
+
/**
|
|
50437
|
+
* Get schema options for a specific store by xStoreID
|
|
50438
|
+
* @summary Get store schema options
|
|
50439
|
+
* @param {string} xStoreID X-Store ID
|
|
50440
|
+
* @param {*} [options] Override http request option.
|
|
50441
|
+
* @throws {RequiredError}
|
|
50442
|
+
*/
|
|
50443
|
+
adminStoresXStoreIDSchemaOptionsGet: async (xStoreID: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
50444
|
+
// verify required parameter 'xStoreID' is not null or undefined
|
|
50445
|
+
assertParamExists('adminStoresXStoreIDSchemaOptionsGet', 'xStoreID', xStoreID)
|
|
50446
|
+
const localVarPath = `/admin/stores/{xStoreID}/schema-options`
|
|
50447
|
+
.replace(`{${"xStoreID"}}`, encodeURIComponent(String(xStoreID)));
|
|
50448
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
50449
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
50450
|
+
let baseOptions;
|
|
50451
|
+
if (configuration) {
|
|
50452
|
+
baseOptions = configuration.baseOptions;
|
|
50453
|
+
}
|
|
50454
|
+
|
|
50455
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
50456
|
+
const localVarHeaderParameter = {} as any;
|
|
50457
|
+
const localVarQueryParameter = {} as any;
|
|
50458
|
+
|
|
50459
|
+
// authentication BearerAuth required
|
|
50460
|
+
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
|
|
50461
|
+
|
|
50462
|
+
|
|
50463
|
+
|
|
50464
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
50465
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
50466
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
50467
|
+
|
|
50468
|
+
return {
|
|
50469
|
+
url: toPathString(localVarUrlObj),
|
|
50470
|
+
options: localVarRequestOptions,
|
|
50471
|
+
};
|
|
50472
|
+
},
|
|
50473
|
+
/**
|
|
50474
|
+
* Perform search on a specific store by xStoreID
|
|
50475
|
+
* @summary Get store search results
|
|
50476
|
+
* @param {string} xStoreID X-Store ID
|
|
50477
|
+
* @param {string} query Search query
|
|
50478
|
+
* @param {number} [page] Page number
|
|
50479
|
+
* @param {number} [pageSize] Page size
|
|
50480
|
+
* @param {*} [options] Override http request option.
|
|
50481
|
+
* @throws {RequiredError}
|
|
50482
|
+
*/
|
|
50483
|
+
adminStoresXStoreIDSearchGet: async (xStoreID: string, query: string, page?: number, pageSize?: number, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
50484
|
+
// verify required parameter 'xStoreID' is not null or undefined
|
|
50485
|
+
assertParamExists('adminStoresXStoreIDSearchGet', 'xStoreID', xStoreID)
|
|
50486
|
+
// verify required parameter 'query' is not null or undefined
|
|
50487
|
+
assertParamExists('adminStoresXStoreIDSearchGet', 'query', query)
|
|
50488
|
+
const localVarPath = `/admin/stores/{xStoreID}/search`
|
|
50489
|
+
.replace(`{${"xStoreID"}}`, encodeURIComponent(String(xStoreID)));
|
|
50490
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
50491
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
50492
|
+
let baseOptions;
|
|
50493
|
+
if (configuration) {
|
|
50494
|
+
baseOptions = configuration.baseOptions;
|
|
50495
|
+
}
|
|
50496
|
+
|
|
50497
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
50498
|
+
const localVarHeaderParameter = {} as any;
|
|
50499
|
+
const localVarQueryParameter = {} as any;
|
|
50500
|
+
|
|
50501
|
+
// authentication BearerAuth required
|
|
50502
|
+
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
|
|
50503
|
+
|
|
50504
|
+
if (query !== undefined) {
|
|
50505
|
+
localVarQueryParameter['query'] = query;
|
|
50506
|
+
}
|
|
50507
|
+
|
|
50508
|
+
if (page !== undefined) {
|
|
50509
|
+
localVarQueryParameter['page'] = page;
|
|
50510
|
+
}
|
|
50511
|
+
|
|
50512
|
+
if (pageSize !== undefined) {
|
|
50513
|
+
localVarQueryParameter['pageSize'] = pageSize;
|
|
50514
|
+
}
|
|
50515
|
+
|
|
50516
|
+
|
|
50517
|
+
|
|
50518
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
50519
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
50520
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
50521
|
+
|
|
50522
|
+
return {
|
|
50523
|
+
url: toPathString(localVarUrlObj),
|
|
50524
|
+
options: localVarRequestOptions,
|
|
50525
|
+
};
|
|
50526
|
+
},
|
|
50527
|
+
/**
|
|
50528
|
+
* Update store configuration for specific steps (displayAttributes, searchableAttributes, relevancyOrder)
|
|
50529
|
+
* @summary Update store step configuration
|
|
50530
|
+
* @param {string} xStoreID X-Store ID
|
|
50531
|
+
* @param {string} step Step name (displayAttributes, searchableAttributes, relevancyOrder)
|
|
50532
|
+
* @param {object} body Configuration data
|
|
50533
|
+
* @param {*} [options] Override http request option.
|
|
50534
|
+
* @throws {RequiredError}
|
|
50535
|
+
*/
|
|
50536
|
+
adminStoresXStoreIDStepStepPut: async (xStoreID: string, step: string, body: object, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
50537
|
+
// verify required parameter 'xStoreID' is not null or undefined
|
|
50538
|
+
assertParamExists('adminStoresXStoreIDStepStepPut', 'xStoreID', xStoreID)
|
|
50539
|
+
// verify required parameter 'step' is not null or undefined
|
|
50540
|
+
assertParamExists('adminStoresXStoreIDStepStepPut', 'step', step)
|
|
50541
|
+
// verify required parameter 'body' is not null or undefined
|
|
50542
|
+
assertParamExists('adminStoresXStoreIDStepStepPut', 'body', body)
|
|
50543
|
+
const localVarPath = `/admin/stores/{xStoreID}/step/{step}`
|
|
50544
|
+
.replace(`{${"xStoreID"}}`, encodeURIComponent(String(xStoreID)))
|
|
50545
|
+
.replace(`{${"step"}}`, encodeURIComponent(String(step)));
|
|
50546
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
50547
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
50548
|
+
let baseOptions;
|
|
50549
|
+
if (configuration) {
|
|
50550
|
+
baseOptions = configuration.baseOptions;
|
|
50551
|
+
}
|
|
50552
|
+
|
|
50553
|
+
const localVarRequestOptions = { method: 'PUT', ...baseOptions, ...options};
|
|
50554
|
+
const localVarHeaderParameter = {} as any;
|
|
50555
|
+
const localVarQueryParameter = {} as any;
|
|
50556
|
+
|
|
50557
|
+
// authentication BearerAuth required
|
|
50558
|
+
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
|
|
50559
|
+
|
|
50560
|
+
|
|
50561
|
+
|
|
50562
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
50563
|
+
|
|
50564
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
50565
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
50566
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
50567
|
+
localVarRequestOptions.data = serializeDataIfNeeded(body, localVarRequestOptions, configuration)
|
|
50568
|
+
|
|
50569
|
+
return {
|
|
50570
|
+
url: toPathString(localVarUrlObj),
|
|
50571
|
+
options: localVarRequestOptions,
|
|
50572
|
+
};
|
|
50573
|
+
},
|
|
50246
50574
|
/**
|
|
50247
50575
|
* Generates and assigns a new X-Store Secret for an existing store, keeping the same X-Store ID.
|
|
50248
50576
|
* @summary Regenerate X-Store Secret
|
|
@@ -50422,6 +50750,50 @@ export const StoresApiFp = function(configuration?: Configuration) {
|
|
|
50422
50750
|
const localVarOperationServerBasePath = operationServerMap['StoresApi.adminStoresXStoreIDDefaultsGet']?.[localVarOperationServerIndex]?.url;
|
|
50423
50751
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
50424
50752
|
},
|
|
50753
|
+
/**
|
|
50754
|
+
* Get schema options for a specific store by xStoreID
|
|
50755
|
+
* @summary Get store schema options
|
|
50756
|
+
* @param {string} xStoreID X-Store ID
|
|
50757
|
+
* @param {*} [options] Override http request option.
|
|
50758
|
+
* @throws {RequiredError}
|
|
50759
|
+
*/
|
|
50760
|
+
async adminStoresXStoreIDSchemaOptionsGet(xStoreID: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DataTypesSchemaOptionsResponseWrapper>> {
|
|
50761
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.adminStoresXStoreIDSchemaOptionsGet(xStoreID, options);
|
|
50762
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
50763
|
+
const localVarOperationServerBasePath = operationServerMap['StoresApi.adminStoresXStoreIDSchemaOptionsGet']?.[localVarOperationServerIndex]?.url;
|
|
50764
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
50765
|
+
},
|
|
50766
|
+
/**
|
|
50767
|
+
* Perform search on a specific store by xStoreID
|
|
50768
|
+
* @summary Get store search results
|
|
50769
|
+
* @param {string} xStoreID X-Store ID
|
|
50770
|
+
* @param {string} query Search query
|
|
50771
|
+
* @param {number} [page] Page number
|
|
50772
|
+
* @param {number} [pageSize] Page size
|
|
50773
|
+
* @param {*} [options] Override http request option.
|
|
50774
|
+
* @throws {RequiredError}
|
|
50775
|
+
*/
|
|
50776
|
+
async adminStoresXStoreIDSearchGet(xStoreID: string, query: string, page?: number, pageSize?: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DataTypesOnboardingTestSearchResponseWrapper>> {
|
|
50777
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.adminStoresXStoreIDSearchGet(xStoreID, query, page, pageSize, options);
|
|
50778
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
50779
|
+
const localVarOperationServerBasePath = operationServerMap['StoresApi.adminStoresXStoreIDSearchGet']?.[localVarOperationServerIndex]?.url;
|
|
50780
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
50781
|
+
},
|
|
50782
|
+
/**
|
|
50783
|
+
* Update store configuration for specific steps (displayAttributes, searchableAttributes, relevancyOrder)
|
|
50784
|
+
* @summary Update store step configuration
|
|
50785
|
+
* @param {string} xStoreID X-Store ID
|
|
50786
|
+
* @param {string} step Step name (displayAttributes, searchableAttributes, relevancyOrder)
|
|
50787
|
+
* @param {object} body Configuration data
|
|
50788
|
+
* @param {*} [options] Override http request option.
|
|
50789
|
+
* @throws {RequiredError}
|
|
50790
|
+
*/
|
|
50791
|
+
async adminStoresXStoreIDStepStepPut(xStoreID: string, step: string, body: object, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DataTypesResponse>> {
|
|
50792
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.adminStoresXStoreIDStepStepPut(xStoreID, step, body, options);
|
|
50793
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
50794
|
+
const localVarOperationServerBasePath = operationServerMap['StoresApi.adminStoresXStoreIDStepStepPut']?.[localVarOperationServerIndex]?.url;
|
|
50795
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
50796
|
+
},
|
|
50425
50797
|
/**
|
|
50426
50798
|
* Generates and assigns a new X-Store Secret for an existing store, keeping the same X-Store ID.
|
|
50427
50799
|
* @summary Regenerate X-Store Secret
|
|
@@ -50547,6 +50919,41 @@ export const StoresApiFactory = function (configuration?: Configuration, basePat
|
|
|
50547
50919
|
adminStoresXStoreIDDefaultsGet(xStoreID: string, options?: RawAxiosRequestConfig): AxiosPromise<DataTypesSchemaBasedDefaultsResponseWrapper> {
|
|
50548
50920
|
return localVarFp.adminStoresXStoreIDDefaultsGet(xStoreID, options).then((request) => request(axios, basePath));
|
|
50549
50921
|
},
|
|
50922
|
+
/**
|
|
50923
|
+
* Get schema options for a specific store by xStoreID
|
|
50924
|
+
* @summary Get store schema options
|
|
50925
|
+
* @param {string} xStoreID X-Store ID
|
|
50926
|
+
* @param {*} [options] Override http request option.
|
|
50927
|
+
* @throws {RequiredError}
|
|
50928
|
+
*/
|
|
50929
|
+
adminStoresXStoreIDSchemaOptionsGet(xStoreID: string, options?: RawAxiosRequestConfig): AxiosPromise<DataTypesSchemaOptionsResponseWrapper> {
|
|
50930
|
+
return localVarFp.adminStoresXStoreIDSchemaOptionsGet(xStoreID, options).then((request) => request(axios, basePath));
|
|
50931
|
+
},
|
|
50932
|
+
/**
|
|
50933
|
+
* Perform search on a specific store by xStoreID
|
|
50934
|
+
* @summary Get store search results
|
|
50935
|
+
* @param {string} xStoreID X-Store ID
|
|
50936
|
+
* @param {string} query Search query
|
|
50937
|
+
* @param {number} [page] Page number
|
|
50938
|
+
* @param {number} [pageSize] Page size
|
|
50939
|
+
* @param {*} [options] Override http request option.
|
|
50940
|
+
* @throws {RequiredError}
|
|
50941
|
+
*/
|
|
50942
|
+
adminStoresXStoreIDSearchGet(xStoreID: string, query: string, page?: number, pageSize?: number, options?: RawAxiosRequestConfig): AxiosPromise<DataTypesOnboardingTestSearchResponseWrapper> {
|
|
50943
|
+
return localVarFp.adminStoresXStoreIDSearchGet(xStoreID, query, page, pageSize, options).then((request) => request(axios, basePath));
|
|
50944
|
+
},
|
|
50945
|
+
/**
|
|
50946
|
+
* Update store configuration for specific steps (displayAttributes, searchableAttributes, relevancyOrder)
|
|
50947
|
+
* @summary Update store step configuration
|
|
50948
|
+
* @param {string} xStoreID X-Store ID
|
|
50949
|
+
* @param {string} step Step name (displayAttributes, searchableAttributes, relevancyOrder)
|
|
50950
|
+
* @param {object} body Configuration data
|
|
50951
|
+
* @param {*} [options] Override http request option.
|
|
50952
|
+
* @throws {RequiredError}
|
|
50953
|
+
*/
|
|
50954
|
+
adminStoresXStoreIDStepStepPut(xStoreID: string, step: string, body: object, options?: RawAxiosRequestConfig): AxiosPromise<DataTypesResponse> {
|
|
50955
|
+
return localVarFp.adminStoresXStoreIDStepStepPut(xStoreID, step, body, options).then((request) => request(axios, basePath));
|
|
50956
|
+
},
|
|
50550
50957
|
/**
|
|
50551
50958
|
* Generates and assigns a new X-Store Secret for an existing store, keeping the same X-Store ID.
|
|
50552
50959
|
* @summary Regenerate X-Store Secret
|
|
@@ -50689,6 +51096,47 @@ export class StoresApi extends BaseAPI {
|
|
|
50689
51096
|
return StoresApiFp(this.configuration).adminStoresXStoreIDDefaultsGet(xStoreID, options).then((request) => request(this.axios, this.basePath));
|
|
50690
51097
|
}
|
|
50691
51098
|
|
|
51099
|
+
/**
|
|
51100
|
+
* Get schema options for a specific store by xStoreID
|
|
51101
|
+
* @summary Get store schema options
|
|
51102
|
+
* @param {string} xStoreID X-Store ID
|
|
51103
|
+
* @param {*} [options] Override http request option.
|
|
51104
|
+
* @throws {RequiredError}
|
|
51105
|
+
* @memberof StoresApi
|
|
51106
|
+
*/
|
|
51107
|
+
public adminStoresXStoreIDSchemaOptionsGet(xStoreID: string, options?: RawAxiosRequestConfig) {
|
|
51108
|
+
return StoresApiFp(this.configuration).adminStoresXStoreIDSchemaOptionsGet(xStoreID, options).then((request) => request(this.axios, this.basePath));
|
|
51109
|
+
}
|
|
51110
|
+
|
|
51111
|
+
/**
|
|
51112
|
+
* Perform search on a specific store by xStoreID
|
|
51113
|
+
* @summary Get store search results
|
|
51114
|
+
* @param {string} xStoreID X-Store ID
|
|
51115
|
+
* @param {string} query Search query
|
|
51116
|
+
* @param {number} [page] Page number
|
|
51117
|
+
* @param {number} [pageSize] Page size
|
|
51118
|
+
* @param {*} [options] Override http request option.
|
|
51119
|
+
* @throws {RequiredError}
|
|
51120
|
+
* @memberof StoresApi
|
|
51121
|
+
*/
|
|
51122
|
+
public adminStoresXStoreIDSearchGet(xStoreID: string, query: string, page?: number, pageSize?: number, options?: RawAxiosRequestConfig) {
|
|
51123
|
+
return StoresApiFp(this.configuration).adminStoresXStoreIDSearchGet(xStoreID, query, page, pageSize, options).then((request) => request(this.axios, this.basePath));
|
|
51124
|
+
}
|
|
51125
|
+
|
|
51126
|
+
/**
|
|
51127
|
+
* Update store configuration for specific steps (displayAttributes, searchableAttributes, relevancyOrder)
|
|
51128
|
+
* @summary Update store step configuration
|
|
51129
|
+
* @param {string} xStoreID X-Store ID
|
|
51130
|
+
* @param {string} step Step name (displayAttributes, searchableAttributes, relevancyOrder)
|
|
51131
|
+
* @param {object} body Configuration data
|
|
51132
|
+
* @param {*} [options] Override http request option.
|
|
51133
|
+
* @throws {RequiredError}
|
|
51134
|
+
* @memberof StoresApi
|
|
51135
|
+
*/
|
|
51136
|
+
public adminStoresXStoreIDStepStepPut(xStoreID: string, step: string, body: object, options?: RawAxiosRequestConfig) {
|
|
51137
|
+
return StoresApiFp(this.configuration).adminStoresXStoreIDStepStepPut(xStoreID, step, body, options).then((request) => request(this.axios, this.basePath));
|
|
51138
|
+
}
|
|
51139
|
+
|
|
50692
51140
|
/**
|
|
50693
51141
|
* Generates and assigns a new X-Store Secret for an existing store, keeping the same X-Store ID.
|
|
50694
51142
|
* @summary Regenerate X-Store Secret
|