@seekora-ai/admin-api 1.0.93 → 1.0.95
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 +495 -59
- package/dist/api.d.ts +321 -56
- package/dist/api.js +336 -28
- package/dist/esm/api.d.ts +321 -56
- package/dist/esm/api.js +334 -26
- package/package.json +1 -1
- package/seekora-ai-admin-api-1.0.95.tgz +0 -0
- package/seekora-ai-admin-api-1.0.93.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}
|
|
10593
|
+
* @memberof DataTypesCreditConsumptionSummary
|
|
10594
|
+
*/
|
|
10595
|
+
'consumption_pagination'?: DataTypesPaginationMetadata;
|
|
10596
|
+
/**
|
|
10597
|
+
*
|
|
10598
|
+
* @type {DataTypesPaginationMetadata}
|
|
10581
10599
|
* @memberof DataTypesCreditConsumptionSummary
|
|
10582
10600
|
*/
|
|
10583
|
-
'
|
|
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
|
|
@@ -14130,6 +14135,12 @@ export interface DataTypesLoginRequest {
|
|
|
14130
14135
|
* @memberof DataTypesLoginRequest
|
|
14131
14136
|
*/
|
|
14132
14137
|
'password': string;
|
|
14138
|
+
/**
|
|
14139
|
+
*
|
|
14140
|
+
* @type {string}
|
|
14141
|
+
* @memberof DataTypesLoginRequest
|
|
14142
|
+
*/
|
|
14143
|
+
'token'?: string;
|
|
14133
14144
|
/**
|
|
14134
14145
|
*
|
|
14135
14146
|
* @type {string}
|
|
@@ -15658,6 +15669,43 @@ export interface DataTypesPaginationInfo {
|
|
|
15658
15669
|
*/
|
|
15659
15670
|
'total_pages'?: number;
|
|
15660
15671
|
}
|
|
15672
|
+
/**
|
|
15673
|
+
*
|
|
15674
|
+
* @export
|
|
15675
|
+
* @interface DataTypesPaginationMetadata
|
|
15676
|
+
*/
|
|
15677
|
+
export interface DataTypesPaginationMetadata {
|
|
15678
|
+
/**
|
|
15679
|
+
* Whether there are more pages
|
|
15680
|
+
* @type {boolean}
|
|
15681
|
+
* @memberof DataTypesPaginationMetadata
|
|
15682
|
+
*/
|
|
15683
|
+
'has_more'?: boolean;
|
|
15684
|
+
/**
|
|
15685
|
+
* Current page number (1-based)
|
|
15686
|
+
* @type {number}
|
|
15687
|
+
* @memberof DataTypesPaginationMetadata
|
|
15688
|
+
*/
|
|
15689
|
+
'page'?: number;
|
|
15690
|
+
/**
|
|
15691
|
+
* Items per page
|
|
15692
|
+
* @type {number}
|
|
15693
|
+
* @memberof DataTypesPaginationMetadata
|
|
15694
|
+
*/
|
|
15695
|
+
'page_size'?: number;
|
|
15696
|
+
/**
|
|
15697
|
+
* Total number of items
|
|
15698
|
+
* @type {number}
|
|
15699
|
+
* @memberof DataTypesPaginationMetadata
|
|
15700
|
+
*/
|
|
15701
|
+
'total_items'?: number;
|
|
15702
|
+
/**
|
|
15703
|
+
* Total number of pages
|
|
15704
|
+
* @type {number}
|
|
15705
|
+
* @memberof DataTypesPaginationMetadata
|
|
15706
|
+
*/
|
|
15707
|
+
'total_pages'?: number;
|
|
15708
|
+
}
|
|
15661
15709
|
/**
|
|
15662
15710
|
*
|
|
15663
15711
|
* @export
|
|
@@ -16021,7 +16069,13 @@ export interface DataTypesPeriodInfo {
|
|
|
16021
16069
|
*/
|
|
16022
16070
|
'end_date'?: string;
|
|
16023
16071
|
/**
|
|
16024
|
-
* \"
|
|
16072
|
+
* \"minute\", \"hour\", \"day\", \"week\", \"month\"
|
|
16073
|
+
* @type {string}
|
|
16074
|
+
* @memberof DataTypesPeriodInfo
|
|
16075
|
+
*/
|
|
16076
|
+
'granularity'?: string;
|
|
16077
|
+
/**
|
|
16078
|
+
* \"October 2025\"
|
|
16025
16079
|
* @type {string}
|
|
16026
16080
|
* @memberof DataTypesPeriodInfo
|
|
16027
16081
|
*/
|
|
@@ -19419,6 +19473,12 @@ export interface DataTypesSynonymEntry {
|
|
|
19419
19473
|
* @interface DataTypesTableCell
|
|
19420
19474
|
*/
|
|
19421
19475
|
export interface DataTypesTableCell {
|
|
19476
|
+
/**
|
|
19477
|
+
* Optional: raw datetime for headers with dates
|
|
19478
|
+
* @type {string}
|
|
19479
|
+
* @memberof DataTypesTableCell
|
|
19480
|
+
*/
|
|
19481
|
+
'date'?: string;
|
|
19422
19482
|
/**
|
|
19423
19483
|
* \"header\", \"data\", \"total\"
|
|
19424
19484
|
* @type {string}
|
|
@@ -19602,6 +19662,37 @@ export interface DataTypesTaskRun {
|
|
|
19602
19662
|
*/
|
|
19603
19663
|
'task_run_id'?: number;
|
|
19604
19664
|
}
|
|
19665
|
+
/**
|
|
19666
|
+
*
|
|
19667
|
+
* @export
|
|
19668
|
+
* @interface DataTypesTimeSeriesConsumption
|
|
19669
|
+
*/
|
|
19670
|
+
export interface DataTypesTimeSeriesConsumption {
|
|
19671
|
+
/**
|
|
19672
|
+
*
|
|
19673
|
+
* @type {number}
|
|
19674
|
+
* @memberof DataTypesTimeSeriesConsumption
|
|
19675
|
+
*/
|
|
19676
|
+
'credits_used'?: number;
|
|
19677
|
+
/**
|
|
19678
|
+
*
|
|
19679
|
+
* @type {string}
|
|
19680
|
+
* @memberof DataTypesTimeSeriesConsumption
|
|
19681
|
+
*/
|
|
19682
|
+
'date'?: string;
|
|
19683
|
+
/**
|
|
19684
|
+
*
|
|
19685
|
+
* @type {number}
|
|
19686
|
+
* @memberof DataTypesTimeSeriesConsumption
|
|
19687
|
+
*/
|
|
19688
|
+
'record_count'?: number;
|
|
19689
|
+
/**
|
|
19690
|
+
*
|
|
19691
|
+
* @type {number}
|
|
19692
|
+
* @memberof DataTypesTimeSeriesConsumption
|
|
19693
|
+
*/
|
|
19694
|
+
'search_count'?: number;
|
|
19695
|
+
}
|
|
19605
19696
|
/**
|
|
19606
19697
|
*
|
|
19607
19698
|
* @export
|
|
@@ -20127,6 +20218,12 @@ export interface DataTypesUploadsourceDataResponse {
|
|
|
20127
20218
|
* @interface DataTypesUsageBreakdown
|
|
20128
20219
|
*/
|
|
20129
20220
|
export interface DataTypesUsageBreakdown {
|
|
20221
|
+
/**
|
|
20222
|
+
*
|
|
20223
|
+
* @type {string}
|
|
20224
|
+
* @memberof DataTypesUsageBreakdown
|
|
20225
|
+
*/
|
|
20226
|
+
'granularity'?: string;
|
|
20130
20227
|
/**
|
|
20131
20228
|
*
|
|
20132
20229
|
* @type {Array<DataTypesMetricData>}
|
|
@@ -20145,6 +20242,12 @@ export interface DataTypesUsageBreakdown {
|
|
|
20145
20242
|
* @memberof DataTypesUsageBreakdown
|
|
20146
20243
|
*/
|
|
20147
20244
|
'table_data'?: Array<Array<DataTypesTableCell>>;
|
|
20245
|
+
/**
|
|
20246
|
+
*
|
|
20247
|
+
* @type {number}
|
|
20248
|
+
* @memberof DataTypesUsageBreakdown
|
|
20249
|
+
*/
|
|
20250
|
+
'total_buckets'?: number;
|
|
20148
20251
|
}
|
|
20149
20252
|
/**
|
|
20150
20253
|
*
|
|
@@ -20159,13 +20262,13 @@ export interface DataTypesUsageDetailsResponse {
|
|
|
20159
20262
|
*/
|
|
20160
20263
|
'breakdown'?: DataTypesUsageBreakdown;
|
|
20161
20264
|
/**
|
|
20162
|
-
* Credit consumption charts
|
|
20265
|
+
* Credit consumption charts with pagination
|
|
20163
20266
|
* @type {Array<DataTypesCreditChart>}
|
|
20164
20267
|
* @memberof DataTypesUsageDetailsResponse
|
|
20165
20268
|
*/
|
|
20166
20269
|
'credit_charts'?: Array<DataTypesCreditChart>;
|
|
20167
20270
|
/**
|
|
20168
|
-
* Credit consumption summary
|
|
20271
|
+
* Credit consumption summary with pagination
|
|
20169
20272
|
* @type {DataTypesCreditConsumptionSummary}
|
|
20170
20273
|
* @memberof DataTypesUsageDetailsResponse
|
|
20171
20274
|
*/
|
|
@@ -29884,14 +29987,22 @@ export const BillingDashboardApiAxiosParamCreator = function (configuration?: Co
|
|
|
29884
29987
|
};
|
|
29885
29988
|
},
|
|
29886
29989
|
/**
|
|
29887
|
-
* Returns detailed usage information with charts and breakdown
|
|
29888
|
-
* @summary Get usage details
|
|
29889
|
-
* @param {string} [
|
|
29890
|
-
* @param {string} [
|
|
29990
|
+
* Returns detailed usage information with charts and breakdown, supports time granularity and pagination
|
|
29991
|
+
* @summary Get usage details with granularity and pagination
|
|
29992
|
+
* @param {string} [xstoreid] Filter by specific store ID
|
|
29993
|
+
* @param {string} [startDate] Start date (YYYY-MM-DD or RFC3339 format)
|
|
29994
|
+
* @param {string} [endDate] End date (YYYY-MM-DD or RFC3339 format)
|
|
29995
|
+
* @param {AdminBillingUsageDetailsGetGranularityEnum} [granularity] Time granularity
|
|
29996
|
+
* @param {number} [chartPage] Chart data page number (1-based)
|
|
29997
|
+
* @param {number} [chartPageSize] Chart data items per page
|
|
29998
|
+
* @param {number} [endpointPage] Endpoints page number (1-based)
|
|
29999
|
+
* @param {number} [endpointPageSize] Endpoints items per page
|
|
30000
|
+
* @param {number} [consumptionPage] Consumption page number (1-based)
|
|
30001
|
+
* @param {number} [consumptionPageSize] Consumption items per page
|
|
29891
30002
|
* @param {*} [options] Override http request option.
|
|
29892
30003
|
* @throws {RequiredError}
|
|
29893
30004
|
*/
|
|
29894
|
-
adminBillingUsageDetailsGet: async (startDate?: string, endDate?: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
30005
|
+
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> => {
|
|
29895
30006
|
const localVarPath = `/admin/billing/usage-details`;
|
|
29896
30007
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
29897
30008
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -29907,6 +30018,10 @@ export const BillingDashboardApiAxiosParamCreator = function (configuration?: Co
|
|
|
29907
30018
|
// authentication BearerAuth required
|
|
29908
30019
|
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
|
|
29909
30020
|
|
|
30021
|
+
if (xstoreid !== undefined) {
|
|
30022
|
+
localVarQueryParameter['xstoreid'] = xstoreid;
|
|
30023
|
+
}
|
|
30024
|
+
|
|
29910
30025
|
if (startDate !== undefined) {
|
|
29911
30026
|
localVarQueryParameter['start_date'] = startDate;
|
|
29912
30027
|
}
|
|
@@ -29915,6 +30030,34 @@ export const BillingDashboardApiAxiosParamCreator = function (configuration?: Co
|
|
|
29915
30030
|
localVarQueryParameter['end_date'] = endDate;
|
|
29916
30031
|
}
|
|
29917
30032
|
|
|
30033
|
+
if (granularity !== undefined) {
|
|
30034
|
+
localVarQueryParameter['granularity'] = granularity;
|
|
30035
|
+
}
|
|
30036
|
+
|
|
30037
|
+
if (chartPage !== undefined) {
|
|
30038
|
+
localVarQueryParameter['chart_page'] = chartPage;
|
|
30039
|
+
}
|
|
30040
|
+
|
|
30041
|
+
if (chartPageSize !== undefined) {
|
|
30042
|
+
localVarQueryParameter['chart_page_size'] = chartPageSize;
|
|
30043
|
+
}
|
|
30044
|
+
|
|
30045
|
+
if (endpointPage !== undefined) {
|
|
30046
|
+
localVarQueryParameter['endpoint_page'] = endpointPage;
|
|
30047
|
+
}
|
|
30048
|
+
|
|
30049
|
+
if (endpointPageSize !== undefined) {
|
|
30050
|
+
localVarQueryParameter['endpoint_page_size'] = endpointPageSize;
|
|
30051
|
+
}
|
|
30052
|
+
|
|
30053
|
+
if (consumptionPage !== undefined) {
|
|
30054
|
+
localVarQueryParameter['consumption_page'] = consumptionPage;
|
|
30055
|
+
}
|
|
30056
|
+
|
|
30057
|
+
if (consumptionPageSize !== undefined) {
|
|
30058
|
+
localVarQueryParameter['consumption_page_size'] = consumptionPageSize;
|
|
30059
|
+
}
|
|
30060
|
+
|
|
29918
30061
|
|
|
29919
30062
|
|
|
29920
30063
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
@@ -30244,15 +30387,23 @@ export const BillingDashboardApiFp = function(configuration?: Configuration) {
|
|
|
30244
30387
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
30245
30388
|
},
|
|
30246
30389
|
/**
|
|
30247
|
-
* Returns detailed usage information with charts and breakdown
|
|
30248
|
-
* @summary Get usage details
|
|
30249
|
-
* @param {string} [
|
|
30250
|
-
* @param {string} [
|
|
30390
|
+
* Returns detailed usage information with charts and breakdown, supports time granularity and pagination
|
|
30391
|
+
* @summary Get usage details with granularity and pagination
|
|
30392
|
+
* @param {string} [xstoreid] Filter by specific store ID
|
|
30393
|
+
* @param {string} [startDate] Start date (YYYY-MM-DD or RFC3339 format)
|
|
30394
|
+
* @param {string} [endDate] End date (YYYY-MM-DD or RFC3339 format)
|
|
30395
|
+
* @param {AdminBillingUsageDetailsGetGranularityEnum} [granularity] Time granularity
|
|
30396
|
+
* @param {number} [chartPage] Chart data page number (1-based)
|
|
30397
|
+
* @param {number} [chartPageSize] Chart data items per page
|
|
30398
|
+
* @param {number} [endpointPage] Endpoints page number (1-based)
|
|
30399
|
+
* @param {number} [endpointPageSize] Endpoints items per page
|
|
30400
|
+
* @param {number} [consumptionPage] Consumption page number (1-based)
|
|
30401
|
+
* @param {number} [consumptionPageSize] Consumption items per page
|
|
30251
30402
|
* @param {*} [options] Override http request option.
|
|
30252
30403
|
* @throws {RequiredError}
|
|
30253
30404
|
*/
|
|
30254
|
-
async adminBillingUsageDetailsGet(startDate?: string, endDate?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DataTypesGenericResponseDataTypesUsageDetailsResponse>> {
|
|
30255
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.adminBillingUsageDetailsGet(startDate, endDate, options);
|
|
30405
|
+
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>> {
|
|
30406
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.adminBillingUsageDetailsGet(xstoreid, startDate, endDate, granularity, chartPage, chartPageSize, endpointPage, endpointPageSize, consumptionPage, consumptionPageSize, options);
|
|
30256
30407
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
30257
30408
|
const localVarOperationServerBasePath = operationServerMap['BillingDashboardApi.adminBillingUsageDetailsGet']?.[localVarOperationServerIndex]?.url;
|
|
30258
30409
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
@@ -30512,15 +30663,23 @@ export const BillingDashboardApiFactory = function (configuration?: Configuratio
|
|
|
30512
30663
|
return localVarFp.adminBillingSavedCardsGet(options).then((request) => request(axios, basePath));
|
|
30513
30664
|
},
|
|
30514
30665
|
/**
|
|
30515
|
-
* Returns detailed usage information with charts and breakdown
|
|
30516
|
-
* @summary Get usage details
|
|
30517
|
-
* @param {string} [
|
|
30518
|
-
* @param {string} [
|
|
30666
|
+
* Returns detailed usage information with charts and breakdown, supports time granularity and pagination
|
|
30667
|
+
* @summary Get usage details with granularity and pagination
|
|
30668
|
+
* @param {string} [xstoreid] Filter by specific store ID
|
|
30669
|
+
* @param {string} [startDate] Start date (YYYY-MM-DD or RFC3339 format)
|
|
30670
|
+
* @param {string} [endDate] End date (YYYY-MM-DD or RFC3339 format)
|
|
30671
|
+
* @param {AdminBillingUsageDetailsGetGranularityEnum} [granularity] Time granularity
|
|
30672
|
+
* @param {number} [chartPage] Chart data page number (1-based)
|
|
30673
|
+
* @param {number} [chartPageSize] Chart data items per page
|
|
30674
|
+
* @param {number} [endpointPage] Endpoints page number (1-based)
|
|
30675
|
+
* @param {number} [endpointPageSize] Endpoints items per page
|
|
30676
|
+
* @param {number} [consumptionPage] Consumption page number (1-based)
|
|
30677
|
+
* @param {number} [consumptionPageSize] Consumption items per page
|
|
30519
30678
|
* @param {*} [options] Override http request option.
|
|
30520
30679
|
* @throws {RequiredError}
|
|
30521
30680
|
*/
|
|
30522
|
-
adminBillingUsageDetailsGet(startDate?: string, endDate?: string, options?: RawAxiosRequestConfig): AxiosPromise<DataTypesGenericResponseDataTypesUsageDetailsResponse> {
|
|
30523
|
-
return localVarFp.adminBillingUsageDetailsGet(startDate, endDate, options).then((request) => request(axios, basePath));
|
|
30681
|
+
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> {
|
|
30682
|
+
return localVarFp.adminBillingUsageDetailsGet(xstoreid, startDate, endDate, granularity, chartPage, chartPageSize, endpointPage, endpointPageSize, consumptionPage, consumptionPageSize, options).then((request) => request(axios, basePath));
|
|
30524
30683
|
},
|
|
30525
30684
|
};
|
|
30526
30685
|
};
|
|
@@ -30819,19 +30978,38 @@ export class BillingDashboardApi extends BaseAPI {
|
|
|
30819
30978
|
}
|
|
30820
30979
|
|
|
30821
30980
|
/**
|
|
30822
|
-
* Returns detailed usage information with charts and breakdown
|
|
30823
|
-
* @summary Get usage details
|
|
30824
|
-
* @param {string} [
|
|
30825
|
-
* @param {string} [
|
|
30981
|
+
* Returns detailed usage information with charts and breakdown, supports time granularity and pagination
|
|
30982
|
+
* @summary Get usage details with granularity and pagination
|
|
30983
|
+
* @param {string} [xstoreid] Filter by specific store ID
|
|
30984
|
+
* @param {string} [startDate] Start date (YYYY-MM-DD or RFC3339 format)
|
|
30985
|
+
* @param {string} [endDate] End date (YYYY-MM-DD or RFC3339 format)
|
|
30986
|
+
* @param {AdminBillingUsageDetailsGetGranularityEnum} [granularity] Time granularity
|
|
30987
|
+
* @param {number} [chartPage] Chart data page number (1-based)
|
|
30988
|
+
* @param {number} [chartPageSize] Chart data items per page
|
|
30989
|
+
* @param {number} [endpointPage] Endpoints page number (1-based)
|
|
30990
|
+
* @param {number} [endpointPageSize] Endpoints items per page
|
|
30991
|
+
* @param {number} [consumptionPage] Consumption page number (1-based)
|
|
30992
|
+
* @param {number} [consumptionPageSize] Consumption items per page
|
|
30826
30993
|
* @param {*} [options] Override http request option.
|
|
30827
30994
|
* @throws {RequiredError}
|
|
30828
30995
|
* @memberof BillingDashboardApi
|
|
30829
30996
|
*/
|
|
30830
|
-
public adminBillingUsageDetailsGet(startDate?: string, endDate?: string, options?: RawAxiosRequestConfig) {
|
|
30831
|
-
return BillingDashboardApiFp(this.configuration).adminBillingUsageDetailsGet(startDate, endDate, options).then((request) => request(this.axios, this.basePath));
|
|
30997
|
+
public adminBillingUsageDetailsGet(xstoreid?: string, startDate?: string, endDate?: string, granularity?: AdminBillingUsageDetailsGetGranularityEnum, chartPage?: number, chartPageSize?: number, endpointPage?: number, endpointPageSize?: number, consumptionPage?: number, consumptionPageSize?: number, options?: RawAxiosRequestConfig) {
|
|
30998
|
+
return BillingDashboardApiFp(this.configuration).adminBillingUsageDetailsGet(xstoreid, startDate, endDate, granularity, chartPage, chartPageSize, endpointPage, endpointPageSize, consumptionPage, consumptionPageSize, options).then((request) => request(this.axios, this.basePath));
|
|
30832
30999
|
}
|
|
30833
31000
|
}
|
|
30834
31001
|
|
|
31002
|
+
/**
|
|
31003
|
+
* @export
|
|
31004
|
+
*/
|
|
31005
|
+
export const AdminBillingUsageDetailsGetGranularityEnum = {
|
|
31006
|
+
Minute: 'minute',
|
|
31007
|
+
Hour: 'hour',
|
|
31008
|
+
Day: 'day',
|
|
31009
|
+
Week: 'week',
|
|
31010
|
+
Month: 'month'
|
|
31011
|
+
} as const;
|
|
31012
|
+
export type AdminBillingUsageDetailsGetGranularityEnum = typeof AdminBillingUsageDetailsGetGranularityEnum[keyof typeof AdminBillingUsageDetailsGetGranularityEnum];
|
|
30835
31013
|
|
|
30836
31014
|
|
|
30837
31015
|
/**
|
|
@@ -50237,6 +50415,144 @@ export const StoresApiAxiosParamCreator = function (configuration?: Configuratio
|
|
|
50237
50415
|
options: localVarRequestOptions,
|
|
50238
50416
|
};
|
|
50239
50417
|
},
|
|
50418
|
+
/**
|
|
50419
|
+
* Get schema options for a specific store by xStoreID
|
|
50420
|
+
* @summary Get store schema options
|
|
50421
|
+
* @param {string} xStoreID X-Store ID
|
|
50422
|
+
* @param {*} [options] Override http request option.
|
|
50423
|
+
* @throws {RequiredError}
|
|
50424
|
+
*/
|
|
50425
|
+
adminStoresXStoreIDSchemaOptionsGet: async (xStoreID: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
50426
|
+
// verify required parameter 'xStoreID' is not null or undefined
|
|
50427
|
+
assertParamExists('adminStoresXStoreIDSchemaOptionsGet', 'xStoreID', xStoreID)
|
|
50428
|
+
const localVarPath = `/admin/stores/{xStoreID}/schema-options`
|
|
50429
|
+
.replace(`{${"xStoreID"}}`, encodeURIComponent(String(xStoreID)));
|
|
50430
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
50431
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
50432
|
+
let baseOptions;
|
|
50433
|
+
if (configuration) {
|
|
50434
|
+
baseOptions = configuration.baseOptions;
|
|
50435
|
+
}
|
|
50436
|
+
|
|
50437
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
50438
|
+
const localVarHeaderParameter = {} as any;
|
|
50439
|
+
const localVarQueryParameter = {} as any;
|
|
50440
|
+
|
|
50441
|
+
// authentication BearerAuth required
|
|
50442
|
+
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
|
|
50443
|
+
|
|
50444
|
+
|
|
50445
|
+
|
|
50446
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
50447
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
50448
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
50449
|
+
|
|
50450
|
+
return {
|
|
50451
|
+
url: toPathString(localVarUrlObj),
|
|
50452
|
+
options: localVarRequestOptions,
|
|
50453
|
+
};
|
|
50454
|
+
},
|
|
50455
|
+
/**
|
|
50456
|
+
* Perform search on a specific store by xStoreID
|
|
50457
|
+
* @summary Get store search results
|
|
50458
|
+
* @param {string} xStoreID X-Store ID
|
|
50459
|
+
* @param {string} query Search query
|
|
50460
|
+
* @param {number} [page] Page number
|
|
50461
|
+
* @param {number} [pageSize] Page size
|
|
50462
|
+
* @param {*} [options] Override http request option.
|
|
50463
|
+
* @throws {RequiredError}
|
|
50464
|
+
*/
|
|
50465
|
+
adminStoresXStoreIDSearchGet: async (xStoreID: string, query: string, page?: number, pageSize?: number, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
50466
|
+
// verify required parameter 'xStoreID' is not null or undefined
|
|
50467
|
+
assertParamExists('adminStoresXStoreIDSearchGet', 'xStoreID', xStoreID)
|
|
50468
|
+
// verify required parameter 'query' is not null or undefined
|
|
50469
|
+
assertParamExists('adminStoresXStoreIDSearchGet', 'query', query)
|
|
50470
|
+
const localVarPath = `/admin/stores/{xStoreID}/search`
|
|
50471
|
+
.replace(`{${"xStoreID"}}`, encodeURIComponent(String(xStoreID)));
|
|
50472
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
50473
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
50474
|
+
let baseOptions;
|
|
50475
|
+
if (configuration) {
|
|
50476
|
+
baseOptions = configuration.baseOptions;
|
|
50477
|
+
}
|
|
50478
|
+
|
|
50479
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
50480
|
+
const localVarHeaderParameter = {} as any;
|
|
50481
|
+
const localVarQueryParameter = {} as any;
|
|
50482
|
+
|
|
50483
|
+
// authentication BearerAuth required
|
|
50484
|
+
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
|
|
50485
|
+
|
|
50486
|
+
if (query !== undefined) {
|
|
50487
|
+
localVarQueryParameter['query'] = query;
|
|
50488
|
+
}
|
|
50489
|
+
|
|
50490
|
+
if (page !== undefined) {
|
|
50491
|
+
localVarQueryParameter['page'] = page;
|
|
50492
|
+
}
|
|
50493
|
+
|
|
50494
|
+
if (pageSize !== undefined) {
|
|
50495
|
+
localVarQueryParameter['pageSize'] = pageSize;
|
|
50496
|
+
}
|
|
50497
|
+
|
|
50498
|
+
|
|
50499
|
+
|
|
50500
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
50501
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
50502
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
50503
|
+
|
|
50504
|
+
return {
|
|
50505
|
+
url: toPathString(localVarUrlObj),
|
|
50506
|
+
options: localVarRequestOptions,
|
|
50507
|
+
};
|
|
50508
|
+
},
|
|
50509
|
+
/**
|
|
50510
|
+
* Update store configuration for specific steps (displayAttributes, searchableAttributes, relevancyOrder)
|
|
50511
|
+
* @summary Update store step configuration
|
|
50512
|
+
* @param {string} xStoreID X-Store ID
|
|
50513
|
+
* @param {string} step Step name (displayAttributes, searchableAttributes, relevancyOrder)
|
|
50514
|
+
* @param {object} body Configuration data
|
|
50515
|
+
* @param {*} [options] Override http request option.
|
|
50516
|
+
* @throws {RequiredError}
|
|
50517
|
+
*/
|
|
50518
|
+
adminStoresXStoreIDStepStepPut: async (xStoreID: string, step: string, body: object, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
50519
|
+
// verify required parameter 'xStoreID' is not null or undefined
|
|
50520
|
+
assertParamExists('adminStoresXStoreIDStepStepPut', 'xStoreID', xStoreID)
|
|
50521
|
+
// verify required parameter 'step' is not null or undefined
|
|
50522
|
+
assertParamExists('adminStoresXStoreIDStepStepPut', 'step', step)
|
|
50523
|
+
// verify required parameter 'body' is not null or undefined
|
|
50524
|
+
assertParamExists('adminStoresXStoreIDStepStepPut', 'body', body)
|
|
50525
|
+
const localVarPath = `/admin/stores/{xStoreID}/step/{step}`
|
|
50526
|
+
.replace(`{${"xStoreID"}}`, encodeURIComponent(String(xStoreID)))
|
|
50527
|
+
.replace(`{${"step"}}`, encodeURIComponent(String(step)));
|
|
50528
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
50529
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
50530
|
+
let baseOptions;
|
|
50531
|
+
if (configuration) {
|
|
50532
|
+
baseOptions = configuration.baseOptions;
|
|
50533
|
+
}
|
|
50534
|
+
|
|
50535
|
+
const localVarRequestOptions = { method: 'PUT', ...baseOptions, ...options};
|
|
50536
|
+
const localVarHeaderParameter = {} as any;
|
|
50537
|
+
const localVarQueryParameter = {} as any;
|
|
50538
|
+
|
|
50539
|
+
// authentication BearerAuth required
|
|
50540
|
+
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
|
|
50541
|
+
|
|
50542
|
+
|
|
50543
|
+
|
|
50544
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
50545
|
+
|
|
50546
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
50547
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
50548
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
50549
|
+
localVarRequestOptions.data = serializeDataIfNeeded(body, localVarRequestOptions, configuration)
|
|
50550
|
+
|
|
50551
|
+
return {
|
|
50552
|
+
url: toPathString(localVarUrlObj),
|
|
50553
|
+
options: localVarRequestOptions,
|
|
50554
|
+
};
|
|
50555
|
+
},
|
|
50240
50556
|
/**
|
|
50241
50557
|
* Generates and assigns a new X-Store Secret for an existing store, keeping the same X-Store ID.
|
|
50242
50558
|
* @summary Regenerate X-Store Secret
|
|
@@ -50416,6 +50732,50 @@ export const StoresApiFp = function(configuration?: Configuration) {
|
|
|
50416
50732
|
const localVarOperationServerBasePath = operationServerMap['StoresApi.adminStoresXStoreIDDefaultsGet']?.[localVarOperationServerIndex]?.url;
|
|
50417
50733
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
50418
50734
|
},
|
|
50735
|
+
/**
|
|
50736
|
+
* Get schema options for a specific store by xStoreID
|
|
50737
|
+
* @summary Get store schema options
|
|
50738
|
+
* @param {string} xStoreID X-Store ID
|
|
50739
|
+
* @param {*} [options] Override http request option.
|
|
50740
|
+
* @throws {RequiredError}
|
|
50741
|
+
*/
|
|
50742
|
+
async adminStoresXStoreIDSchemaOptionsGet(xStoreID: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DataTypesSchemaOptionsResponseWrapper>> {
|
|
50743
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.adminStoresXStoreIDSchemaOptionsGet(xStoreID, options);
|
|
50744
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
50745
|
+
const localVarOperationServerBasePath = operationServerMap['StoresApi.adminStoresXStoreIDSchemaOptionsGet']?.[localVarOperationServerIndex]?.url;
|
|
50746
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
50747
|
+
},
|
|
50748
|
+
/**
|
|
50749
|
+
* Perform search on a specific store by xStoreID
|
|
50750
|
+
* @summary Get store search results
|
|
50751
|
+
* @param {string} xStoreID X-Store ID
|
|
50752
|
+
* @param {string} query Search query
|
|
50753
|
+
* @param {number} [page] Page number
|
|
50754
|
+
* @param {number} [pageSize] Page size
|
|
50755
|
+
* @param {*} [options] Override http request option.
|
|
50756
|
+
* @throws {RequiredError}
|
|
50757
|
+
*/
|
|
50758
|
+
async adminStoresXStoreIDSearchGet(xStoreID: string, query: string, page?: number, pageSize?: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DataTypesOnboardingTestSearchResponseWrapper>> {
|
|
50759
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.adminStoresXStoreIDSearchGet(xStoreID, query, page, pageSize, options);
|
|
50760
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
50761
|
+
const localVarOperationServerBasePath = operationServerMap['StoresApi.adminStoresXStoreIDSearchGet']?.[localVarOperationServerIndex]?.url;
|
|
50762
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
50763
|
+
},
|
|
50764
|
+
/**
|
|
50765
|
+
* Update store configuration for specific steps (displayAttributes, searchableAttributes, relevancyOrder)
|
|
50766
|
+
* @summary Update store step configuration
|
|
50767
|
+
* @param {string} xStoreID X-Store ID
|
|
50768
|
+
* @param {string} step Step name (displayAttributes, searchableAttributes, relevancyOrder)
|
|
50769
|
+
* @param {object} body Configuration data
|
|
50770
|
+
* @param {*} [options] Override http request option.
|
|
50771
|
+
* @throws {RequiredError}
|
|
50772
|
+
*/
|
|
50773
|
+
async adminStoresXStoreIDStepStepPut(xStoreID: string, step: string, body: object, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DataTypesResponse>> {
|
|
50774
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.adminStoresXStoreIDStepStepPut(xStoreID, step, body, options);
|
|
50775
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
50776
|
+
const localVarOperationServerBasePath = operationServerMap['StoresApi.adminStoresXStoreIDStepStepPut']?.[localVarOperationServerIndex]?.url;
|
|
50777
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
50778
|
+
},
|
|
50419
50779
|
/**
|
|
50420
50780
|
* Generates and assigns a new X-Store Secret for an existing store, keeping the same X-Store ID.
|
|
50421
50781
|
* @summary Regenerate X-Store Secret
|
|
@@ -50541,6 +50901,41 @@ export const StoresApiFactory = function (configuration?: Configuration, basePat
|
|
|
50541
50901
|
adminStoresXStoreIDDefaultsGet(xStoreID: string, options?: RawAxiosRequestConfig): AxiosPromise<DataTypesSchemaBasedDefaultsResponseWrapper> {
|
|
50542
50902
|
return localVarFp.adminStoresXStoreIDDefaultsGet(xStoreID, options).then((request) => request(axios, basePath));
|
|
50543
50903
|
},
|
|
50904
|
+
/**
|
|
50905
|
+
* Get schema options for a specific store by xStoreID
|
|
50906
|
+
* @summary Get store schema options
|
|
50907
|
+
* @param {string} xStoreID X-Store ID
|
|
50908
|
+
* @param {*} [options] Override http request option.
|
|
50909
|
+
* @throws {RequiredError}
|
|
50910
|
+
*/
|
|
50911
|
+
adminStoresXStoreIDSchemaOptionsGet(xStoreID: string, options?: RawAxiosRequestConfig): AxiosPromise<DataTypesSchemaOptionsResponseWrapper> {
|
|
50912
|
+
return localVarFp.adminStoresXStoreIDSchemaOptionsGet(xStoreID, options).then((request) => request(axios, basePath));
|
|
50913
|
+
},
|
|
50914
|
+
/**
|
|
50915
|
+
* Perform search on a specific store by xStoreID
|
|
50916
|
+
* @summary Get store search results
|
|
50917
|
+
* @param {string} xStoreID X-Store ID
|
|
50918
|
+
* @param {string} query Search query
|
|
50919
|
+
* @param {number} [page] Page number
|
|
50920
|
+
* @param {number} [pageSize] Page size
|
|
50921
|
+
* @param {*} [options] Override http request option.
|
|
50922
|
+
* @throws {RequiredError}
|
|
50923
|
+
*/
|
|
50924
|
+
adminStoresXStoreIDSearchGet(xStoreID: string, query: string, page?: number, pageSize?: number, options?: RawAxiosRequestConfig): AxiosPromise<DataTypesOnboardingTestSearchResponseWrapper> {
|
|
50925
|
+
return localVarFp.adminStoresXStoreIDSearchGet(xStoreID, query, page, pageSize, options).then((request) => request(axios, basePath));
|
|
50926
|
+
},
|
|
50927
|
+
/**
|
|
50928
|
+
* Update store configuration for specific steps (displayAttributes, searchableAttributes, relevancyOrder)
|
|
50929
|
+
* @summary Update store step configuration
|
|
50930
|
+
* @param {string} xStoreID X-Store ID
|
|
50931
|
+
* @param {string} step Step name (displayAttributes, searchableAttributes, relevancyOrder)
|
|
50932
|
+
* @param {object} body Configuration data
|
|
50933
|
+
* @param {*} [options] Override http request option.
|
|
50934
|
+
* @throws {RequiredError}
|
|
50935
|
+
*/
|
|
50936
|
+
adminStoresXStoreIDStepStepPut(xStoreID: string, step: string, body: object, options?: RawAxiosRequestConfig): AxiosPromise<DataTypesResponse> {
|
|
50937
|
+
return localVarFp.adminStoresXStoreIDStepStepPut(xStoreID, step, body, options).then((request) => request(axios, basePath));
|
|
50938
|
+
},
|
|
50544
50939
|
/**
|
|
50545
50940
|
* Generates and assigns a new X-Store Secret for an existing store, keeping the same X-Store ID.
|
|
50546
50941
|
* @summary Regenerate X-Store Secret
|
|
@@ -50683,6 +51078,47 @@ export class StoresApi extends BaseAPI {
|
|
|
50683
51078
|
return StoresApiFp(this.configuration).adminStoresXStoreIDDefaultsGet(xStoreID, options).then((request) => request(this.axios, this.basePath));
|
|
50684
51079
|
}
|
|
50685
51080
|
|
|
51081
|
+
/**
|
|
51082
|
+
* Get schema options for a specific store by xStoreID
|
|
51083
|
+
* @summary Get store schema options
|
|
51084
|
+
* @param {string} xStoreID X-Store ID
|
|
51085
|
+
* @param {*} [options] Override http request option.
|
|
51086
|
+
* @throws {RequiredError}
|
|
51087
|
+
* @memberof StoresApi
|
|
51088
|
+
*/
|
|
51089
|
+
public adminStoresXStoreIDSchemaOptionsGet(xStoreID: string, options?: RawAxiosRequestConfig) {
|
|
51090
|
+
return StoresApiFp(this.configuration).adminStoresXStoreIDSchemaOptionsGet(xStoreID, options).then((request) => request(this.axios, this.basePath));
|
|
51091
|
+
}
|
|
51092
|
+
|
|
51093
|
+
/**
|
|
51094
|
+
* Perform search on a specific store by xStoreID
|
|
51095
|
+
* @summary Get store search results
|
|
51096
|
+
* @param {string} xStoreID X-Store ID
|
|
51097
|
+
* @param {string} query Search query
|
|
51098
|
+
* @param {number} [page] Page number
|
|
51099
|
+
* @param {number} [pageSize] Page size
|
|
51100
|
+
* @param {*} [options] Override http request option.
|
|
51101
|
+
* @throws {RequiredError}
|
|
51102
|
+
* @memberof StoresApi
|
|
51103
|
+
*/
|
|
51104
|
+
public adminStoresXStoreIDSearchGet(xStoreID: string, query: string, page?: number, pageSize?: number, options?: RawAxiosRequestConfig) {
|
|
51105
|
+
return StoresApiFp(this.configuration).adminStoresXStoreIDSearchGet(xStoreID, query, page, pageSize, options).then((request) => request(this.axios, this.basePath));
|
|
51106
|
+
}
|
|
51107
|
+
|
|
51108
|
+
/**
|
|
51109
|
+
* Update store configuration for specific steps (displayAttributes, searchableAttributes, relevancyOrder)
|
|
51110
|
+
* @summary Update store step configuration
|
|
51111
|
+
* @param {string} xStoreID X-Store ID
|
|
51112
|
+
* @param {string} step Step name (displayAttributes, searchableAttributes, relevancyOrder)
|
|
51113
|
+
* @param {object} body Configuration data
|
|
51114
|
+
* @param {*} [options] Override http request option.
|
|
51115
|
+
* @throws {RequiredError}
|
|
51116
|
+
* @memberof StoresApi
|
|
51117
|
+
*/
|
|
51118
|
+
public adminStoresXStoreIDStepStepPut(xStoreID: string, step: string, body: object, options?: RawAxiosRequestConfig) {
|
|
51119
|
+
return StoresApiFp(this.configuration).adminStoresXStoreIDStepStepPut(xStoreID, step, body, options).then((request) => request(this.axios, this.basePath));
|
|
51120
|
+
}
|
|
51121
|
+
|
|
50686
51122
|
/**
|
|
50687
51123
|
* Generates and assigns a new X-Store Secret for an existing store, keeping the same X-Store ID.
|
|
50688
51124
|
* @summary Regenerate X-Store Secret
|