@seekora-ai/admin-api 1.1.52 → 1.1.53
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 +14 -2
- package/api.ts +969 -4
- package/dist/api.d.ts +950 -120
- package/dist/api.js +296 -5
- package/dist/esm/api.d.ts +950 -120
- package/dist/esm/api.js +287 -0
- package/package.json +1 -1
- package/seekora-ai-admin-api-1.1.53.tgz +0 -0
- package/seekora-ai-admin-api-1.1.52.tgz +0 -0
package/api.ts
CHANGED
|
@@ -9400,6 +9400,133 @@ export interface DataTypesDocumentResponseWrapper {
|
|
|
9400
9400
|
*/
|
|
9401
9401
|
'status'?: number;
|
|
9402
9402
|
}
|
|
9403
|
+
/**
|
|
9404
|
+
*
|
|
9405
|
+
* @export
|
|
9406
|
+
* @interface DataTypesDropdownRecommendationsConfig
|
|
9407
|
+
*/
|
|
9408
|
+
export interface DataTypesDropdownRecommendationsConfig {
|
|
9409
|
+
/**
|
|
9410
|
+
* Dataset-agnostic field mappings for brands
|
|
9411
|
+
* @type {{ [key: string]: string; }}
|
|
9412
|
+
* @memberof DataTypesDropdownRecommendationsConfig
|
|
9413
|
+
*/
|
|
9414
|
+
'brand_field_mappings'?: { [key: string]: string; };
|
|
9415
|
+
/**
|
|
9416
|
+
* Sort method: searches, clicks, conversions
|
|
9417
|
+
* @type {string}
|
|
9418
|
+
* @memberof DataTypesDropdownRecommendationsConfig
|
|
9419
|
+
*/
|
|
9420
|
+
'brand_sort_by'?: string;
|
|
9421
|
+
/**
|
|
9422
|
+
* Cache TTL in seconds
|
|
9423
|
+
* @type {number}
|
|
9424
|
+
* @memberof DataTypesDropdownRecommendationsConfig
|
|
9425
|
+
*/
|
|
9426
|
+
'cache_ttl_seconds'?: number;
|
|
9427
|
+
/**
|
|
9428
|
+
* Dataset-agnostic field mappings for categories
|
|
9429
|
+
* @type {{ [key: string]: string; }}
|
|
9430
|
+
* @memberof DataTypesDropdownRecommendationsConfig
|
|
9431
|
+
*/
|
|
9432
|
+
'category_field_mappings'?: { [key: string]: string; };
|
|
9433
|
+
/**
|
|
9434
|
+
* Enable popular brands section
|
|
9435
|
+
* @type {boolean}
|
|
9436
|
+
* @memberof DataTypesDropdownRecommendationsConfig
|
|
9437
|
+
*/
|
|
9438
|
+
'enable_popular_brands'?: boolean;
|
|
9439
|
+
/**
|
|
9440
|
+
* Enable trending products section
|
|
9441
|
+
* @type {boolean}
|
|
9442
|
+
* @memberof DataTypesDropdownRecommendationsConfig
|
|
9443
|
+
*/
|
|
9444
|
+
'enable_trending_products'?: boolean;
|
|
9445
|
+
/**
|
|
9446
|
+
* Enable trending search categories section
|
|
9447
|
+
* @type {boolean}
|
|
9448
|
+
* @memberof DataTypesDropdownRecommendationsConfig
|
|
9449
|
+
*/
|
|
9450
|
+
'enable_trending_search'?: boolean;
|
|
9451
|
+
/**
|
|
9452
|
+
* Whether dropdown recommendations are enabled
|
|
9453
|
+
* @type {boolean}
|
|
9454
|
+
* @memberof DataTypesDropdownRecommendationsConfig
|
|
9455
|
+
*/
|
|
9456
|
+
'enabled'?: boolean;
|
|
9457
|
+
/**
|
|
9458
|
+
* Exclude out of stock products
|
|
9459
|
+
* @type {boolean}
|
|
9460
|
+
* @memberof DataTypesDropdownRecommendationsConfig
|
|
9461
|
+
*/
|
|
9462
|
+
'exclude_out_of_stock'?: boolean;
|
|
9463
|
+
/**
|
|
9464
|
+
* Include only in stock products
|
|
9465
|
+
* @type {boolean}
|
|
9466
|
+
* @memberof DataTypesDropdownRecommendationsConfig
|
|
9467
|
+
*/
|
|
9468
|
+
'include_only_in_stock'?: boolean;
|
|
9469
|
+
/**
|
|
9470
|
+
* Minimum searches for popular brands
|
|
9471
|
+
* @type {number}
|
|
9472
|
+
* @memberof DataTypesDropdownRecommendationsConfig
|
|
9473
|
+
*/
|
|
9474
|
+
'min_brand_searches'?: number;
|
|
9475
|
+
/**
|
|
9476
|
+
* Minimum clicks for trending products
|
|
9477
|
+
* @type {number}
|
|
9478
|
+
* @memberof DataTypesDropdownRecommendationsConfig
|
|
9479
|
+
*/
|
|
9480
|
+
'min_product_clicks'?: number;
|
|
9481
|
+
/**
|
|
9482
|
+
* Minimum conversions for trending products
|
|
9483
|
+
* @type {number}
|
|
9484
|
+
* @memberof DataTypesDropdownRecommendationsConfig
|
|
9485
|
+
*/
|
|
9486
|
+
'min_product_conversions'?: number;
|
|
9487
|
+
/**
|
|
9488
|
+
* Max number of popular brands
|
|
9489
|
+
* @type {number}
|
|
9490
|
+
* @memberof DataTypesDropdownRecommendationsConfig
|
|
9491
|
+
*/
|
|
9492
|
+
'popular_brands_limit'?: number;
|
|
9493
|
+
/**
|
|
9494
|
+
* Dataset-agnostic field mappings for products
|
|
9495
|
+
* @type {{ [key: string]: string; }}
|
|
9496
|
+
* @memberof DataTypesDropdownRecommendationsConfig
|
|
9497
|
+
*/
|
|
9498
|
+
'product_field_mappings'?: { [key: string]: string; };
|
|
9499
|
+
/**
|
|
9500
|
+
* Sort method: clicks, conversions, revenue, trend_score
|
|
9501
|
+
* @type {string}
|
|
9502
|
+
* @memberof DataTypesDropdownRecommendationsConfig
|
|
9503
|
+
*/
|
|
9504
|
+
'product_sort_by'?: string;
|
|
9505
|
+
/**
|
|
9506
|
+
* Max number of trending products
|
|
9507
|
+
* @type {number}
|
|
9508
|
+
* @memberof DataTypesDropdownRecommendationsConfig
|
|
9509
|
+
*/
|
|
9510
|
+
'trending_products_limit'?: number;
|
|
9511
|
+
/**
|
|
9512
|
+
* Max number of trending search categories
|
|
9513
|
+
* @type {number}
|
|
9514
|
+
* @memberof DataTypesDropdownRecommendationsConfig
|
|
9515
|
+
*/
|
|
9516
|
+
'trending_search_limit'?: number;
|
|
9517
|
+
/**
|
|
9518
|
+
* Time range in days for trending data
|
|
9519
|
+
* @type {number}
|
|
9520
|
+
* @memberof DataTypesDropdownRecommendationsConfig
|
|
9521
|
+
*/
|
|
9522
|
+
'trending_time_range_days'?: number;
|
|
9523
|
+
/**
|
|
9524
|
+
* Use query suggestions config for trending search
|
|
9525
|
+
* @type {boolean}
|
|
9526
|
+
* @memberof DataTypesDropdownRecommendationsConfig
|
|
9527
|
+
*/
|
|
9528
|
+
'use_query_suggestions_config'?: boolean;
|
|
9529
|
+
}
|
|
9403
9530
|
/**
|
|
9404
9531
|
*
|
|
9405
9532
|
* @export
|
|
@@ -11297,6 +11424,12 @@ export interface DataTypesIndexConfig {
|
|
|
11297
11424
|
* @memberof DataTypesIndexConfig
|
|
11298
11425
|
*/
|
|
11299
11426
|
'drop_tokens_threshold'?: number;
|
|
11427
|
+
/**
|
|
11428
|
+
* Dropdown recommendations configuration
|
|
11429
|
+
* @type {DataTypesDropdownRecommendationsConfig}
|
|
11430
|
+
* @memberof DataTypesIndexConfig
|
|
11431
|
+
*/
|
|
11432
|
+
'dropdown_recommendations_config'?: DataTypesDropdownRecommendationsConfig;
|
|
11300
11433
|
/**
|
|
11301
11434
|
*
|
|
11302
11435
|
* @type {string}
|
|
@@ -23319,6 +23452,536 @@ export interface DefaultMenuRoutesUpdateMenuVisibilityResponse {
|
|
|
23319
23452
|
*/
|
|
23320
23453
|
'menuName'?: string;
|
|
23321
23454
|
}
|
|
23455
|
+
/**
|
|
23456
|
+
*
|
|
23457
|
+
* @export
|
|
23458
|
+
* @interface DropdownRecommendationsServiceDropdownConfigResponse
|
|
23459
|
+
*/
|
|
23460
|
+
export interface DropdownRecommendationsServiceDropdownConfigResponse {
|
|
23461
|
+
/**
|
|
23462
|
+
*
|
|
23463
|
+
* @type {DropdownRecommendationsServiceDropdownRecommendationsConfig}
|
|
23464
|
+
* @memberof DropdownRecommendationsServiceDropdownConfigResponse
|
|
23465
|
+
*/
|
|
23466
|
+
'data'?: DropdownRecommendationsServiceDropdownRecommendationsConfig;
|
|
23467
|
+
/**
|
|
23468
|
+
*
|
|
23469
|
+
* @type {string}
|
|
23470
|
+
* @memberof DropdownRecommendationsServiceDropdownConfigResponse
|
|
23471
|
+
*/
|
|
23472
|
+
'message'?: string;
|
|
23473
|
+
/**
|
|
23474
|
+
*
|
|
23475
|
+
* @type {string}
|
|
23476
|
+
* @memberof DropdownRecommendationsServiceDropdownConfigResponse
|
|
23477
|
+
*/
|
|
23478
|
+
'status'?: string;
|
|
23479
|
+
/**
|
|
23480
|
+
*
|
|
23481
|
+
* @type {string}
|
|
23482
|
+
* @memberof DropdownRecommendationsServiceDropdownConfigResponse
|
|
23483
|
+
*/
|
|
23484
|
+
'timestamp'?: string;
|
|
23485
|
+
/**
|
|
23486
|
+
*
|
|
23487
|
+
* @type {string}
|
|
23488
|
+
* @memberof DropdownRecommendationsServiceDropdownConfigResponse
|
|
23489
|
+
*/
|
|
23490
|
+
'version'?: string;
|
|
23491
|
+
}
|
|
23492
|
+
/**
|
|
23493
|
+
*
|
|
23494
|
+
* @export
|
|
23495
|
+
* @interface DropdownRecommendationsServiceDropdownRecommendationsAPIResponse
|
|
23496
|
+
*/
|
|
23497
|
+
export interface DropdownRecommendationsServiceDropdownRecommendationsAPIResponse {
|
|
23498
|
+
/**
|
|
23499
|
+
*
|
|
23500
|
+
* @type {DropdownRecommendationsServiceDropdownRecommendationsResponse}
|
|
23501
|
+
* @memberof DropdownRecommendationsServiceDropdownRecommendationsAPIResponse
|
|
23502
|
+
*/
|
|
23503
|
+
'data'?: DropdownRecommendationsServiceDropdownRecommendationsResponse;
|
|
23504
|
+
/**
|
|
23505
|
+
*
|
|
23506
|
+
* @type {string}
|
|
23507
|
+
* @memberof DropdownRecommendationsServiceDropdownRecommendationsAPIResponse
|
|
23508
|
+
*/
|
|
23509
|
+
'error'?: string;
|
|
23510
|
+
/**
|
|
23511
|
+
*
|
|
23512
|
+
* @type {string}
|
|
23513
|
+
* @memberof DropdownRecommendationsServiceDropdownRecommendationsAPIResponse
|
|
23514
|
+
*/
|
|
23515
|
+
'status'?: string;
|
|
23516
|
+
/**
|
|
23517
|
+
*
|
|
23518
|
+
* @type {string}
|
|
23519
|
+
* @memberof DropdownRecommendationsServiceDropdownRecommendationsAPIResponse
|
|
23520
|
+
*/
|
|
23521
|
+
'timestamp'?: string;
|
|
23522
|
+
/**
|
|
23523
|
+
*
|
|
23524
|
+
* @type {string}
|
|
23525
|
+
* @memberof DropdownRecommendationsServiceDropdownRecommendationsAPIResponse
|
|
23526
|
+
*/
|
|
23527
|
+
'version'?: string;
|
|
23528
|
+
}
|
|
23529
|
+
/**
|
|
23530
|
+
*
|
|
23531
|
+
* @export
|
|
23532
|
+
* @interface DropdownRecommendationsServiceDropdownRecommendationsConfig
|
|
23533
|
+
*/
|
|
23534
|
+
export interface DropdownRecommendationsServiceDropdownRecommendationsConfig {
|
|
23535
|
+
/**
|
|
23536
|
+
*
|
|
23537
|
+
* @type {{ [key: string]: string; }}
|
|
23538
|
+
* @memberof DropdownRecommendationsServiceDropdownRecommendationsConfig
|
|
23539
|
+
*/
|
|
23540
|
+
'brand_field_mappings'?: { [key: string]: string; };
|
|
23541
|
+
/**
|
|
23542
|
+
* \'searches\', \'clicks\', \'conversions\'
|
|
23543
|
+
* @type {string}
|
|
23544
|
+
* @memberof DropdownRecommendationsServiceDropdownRecommendationsConfig
|
|
23545
|
+
*/
|
|
23546
|
+
'brand_sort_by'?: string;
|
|
23547
|
+
/**
|
|
23548
|
+
* Caching configuration
|
|
23549
|
+
* @type {number}
|
|
23550
|
+
* @memberof DropdownRecommendationsServiceDropdownRecommendationsConfig
|
|
23551
|
+
*/
|
|
23552
|
+
'cache_ttl_seconds'?: number;
|
|
23553
|
+
/**
|
|
23554
|
+
*
|
|
23555
|
+
* @type {{ [key: string]: string; }}
|
|
23556
|
+
* @memberof DropdownRecommendationsServiceDropdownRecommendationsConfig
|
|
23557
|
+
*/
|
|
23558
|
+
'category_field_mappings'?: { [key: string]: string; };
|
|
23559
|
+
/**
|
|
23560
|
+
*
|
|
23561
|
+
* @type {string}
|
|
23562
|
+
* @memberof DropdownRecommendationsServiceDropdownRecommendationsConfig
|
|
23563
|
+
*/
|
|
23564
|
+
'created_at'?: string;
|
|
23565
|
+
/**
|
|
23566
|
+
*
|
|
23567
|
+
* @type {boolean}
|
|
23568
|
+
* @memberof DropdownRecommendationsServiceDropdownRecommendationsConfig
|
|
23569
|
+
*/
|
|
23570
|
+
'enable_popular_brands'?: boolean;
|
|
23571
|
+
/**
|
|
23572
|
+
*
|
|
23573
|
+
* @type {boolean}
|
|
23574
|
+
* @memberof DropdownRecommendationsServiceDropdownRecommendationsConfig
|
|
23575
|
+
*/
|
|
23576
|
+
'enable_trending_products'?: boolean;
|
|
23577
|
+
/**
|
|
23578
|
+
*
|
|
23579
|
+
* @type {boolean}
|
|
23580
|
+
* @memberof DropdownRecommendationsServiceDropdownRecommendationsConfig
|
|
23581
|
+
*/
|
|
23582
|
+
'enable_trending_search'?: boolean;
|
|
23583
|
+
/**
|
|
23584
|
+
* Feature enable/disable flags
|
|
23585
|
+
* @type {boolean}
|
|
23586
|
+
* @memberof DropdownRecommendationsServiceDropdownRecommendationsConfig
|
|
23587
|
+
*/
|
|
23588
|
+
'enabled'?: boolean;
|
|
23589
|
+
/**
|
|
23590
|
+
* Additional filters
|
|
23591
|
+
* @type {boolean}
|
|
23592
|
+
* @memberof DropdownRecommendationsServiceDropdownRecommendationsConfig
|
|
23593
|
+
*/
|
|
23594
|
+
'exclude_out_of_stock'?: boolean;
|
|
23595
|
+
/**
|
|
23596
|
+
*
|
|
23597
|
+
* @type {boolean}
|
|
23598
|
+
* @memberof DropdownRecommendationsServiceDropdownRecommendationsConfig
|
|
23599
|
+
*/
|
|
23600
|
+
'include_only_in_stock'?: boolean;
|
|
23601
|
+
/**
|
|
23602
|
+
* Brand selection criteria
|
|
23603
|
+
* @type {number}
|
|
23604
|
+
* @memberof DropdownRecommendationsServiceDropdownRecommendationsConfig
|
|
23605
|
+
*/
|
|
23606
|
+
'min_brand_searches'?: number;
|
|
23607
|
+
/**
|
|
23608
|
+
* Product selection criteria
|
|
23609
|
+
* @type {number}
|
|
23610
|
+
* @memberof DropdownRecommendationsServiceDropdownRecommendationsConfig
|
|
23611
|
+
*/
|
|
23612
|
+
'min_product_clicks'?: number;
|
|
23613
|
+
/**
|
|
23614
|
+
*
|
|
23615
|
+
* @type {number}
|
|
23616
|
+
* @memberof DropdownRecommendationsServiceDropdownRecommendationsConfig
|
|
23617
|
+
*/
|
|
23618
|
+
'min_product_conversions'?: number;
|
|
23619
|
+
/**
|
|
23620
|
+
*
|
|
23621
|
+
* @type {number}
|
|
23622
|
+
* @memberof DropdownRecommendationsServiceDropdownRecommendationsConfig
|
|
23623
|
+
*/
|
|
23624
|
+
'popular_brands_limit'?: number;
|
|
23625
|
+
/**
|
|
23626
|
+
* Dataset-agnostic field mappings
|
|
23627
|
+
* @type {{ [key: string]: string; }}
|
|
23628
|
+
* @memberof DropdownRecommendationsServiceDropdownRecommendationsConfig
|
|
23629
|
+
*/
|
|
23630
|
+
'product_field_mappings'?: { [key: string]: string; };
|
|
23631
|
+
/**
|
|
23632
|
+
* \'clicks\', \'conversions\', \'revenue\', \'trend_score\'
|
|
23633
|
+
* @type {string}
|
|
23634
|
+
* @memberof DropdownRecommendationsServiceDropdownRecommendationsConfig
|
|
23635
|
+
*/
|
|
23636
|
+
'product_sort_by'?: string;
|
|
23637
|
+
/**
|
|
23638
|
+
*
|
|
23639
|
+
* @type {number}
|
|
23640
|
+
* @memberof DropdownRecommendationsServiceDropdownRecommendationsConfig
|
|
23641
|
+
*/
|
|
23642
|
+
'trending_products_limit'?: number;
|
|
23643
|
+
/**
|
|
23644
|
+
* Limits for each section
|
|
23645
|
+
* @type {number}
|
|
23646
|
+
* @memberof DropdownRecommendationsServiceDropdownRecommendationsConfig
|
|
23647
|
+
*/
|
|
23648
|
+
'trending_search_limit'?: number;
|
|
23649
|
+
/**
|
|
23650
|
+
* Time range configuration
|
|
23651
|
+
* @type {number}
|
|
23652
|
+
* @memberof DropdownRecommendationsServiceDropdownRecommendationsConfig
|
|
23653
|
+
*/
|
|
23654
|
+
'trending_time_range_days'?: number;
|
|
23655
|
+
/**
|
|
23656
|
+
*
|
|
23657
|
+
* @type {string}
|
|
23658
|
+
* @memberof DropdownRecommendationsServiceDropdownRecommendationsConfig
|
|
23659
|
+
*/
|
|
23660
|
+
'updated_at'?: string;
|
|
23661
|
+
/**
|
|
23662
|
+
* Trending search configuration
|
|
23663
|
+
* @type {boolean}
|
|
23664
|
+
* @memberof DropdownRecommendationsServiceDropdownRecommendationsConfig
|
|
23665
|
+
*/
|
|
23666
|
+
'use_query_suggestions_config'?: boolean;
|
|
23667
|
+
}
|
|
23668
|
+
/**
|
|
23669
|
+
*
|
|
23670
|
+
* @export
|
|
23671
|
+
* @interface DropdownRecommendationsServiceDropdownRecommendationsResponse
|
|
23672
|
+
*/
|
|
23673
|
+
export interface DropdownRecommendationsServiceDropdownRecommendationsResponse {
|
|
23674
|
+
/**
|
|
23675
|
+
*
|
|
23676
|
+
* @type {Array<DropdownRecommendationsServicePopularBrand>}
|
|
23677
|
+
* @memberof DropdownRecommendationsServiceDropdownRecommendationsResponse
|
|
23678
|
+
*/
|
|
23679
|
+
'popular_brands'?: Array<DropdownRecommendationsServicePopularBrand>;
|
|
23680
|
+
/**
|
|
23681
|
+
*
|
|
23682
|
+
* @type {number}
|
|
23683
|
+
* @memberof DropdownRecommendationsServiceDropdownRecommendationsResponse
|
|
23684
|
+
*/
|
|
23685
|
+
'processing_time_ms'?: number;
|
|
23686
|
+
/**
|
|
23687
|
+
*
|
|
23688
|
+
* @type {string}
|
|
23689
|
+
* @memberof DropdownRecommendationsServiceDropdownRecommendationsResponse
|
|
23690
|
+
*/
|
|
23691
|
+
'timestamp'?: string;
|
|
23692
|
+
/**
|
|
23693
|
+
*
|
|
23694
|
+
* @type {Array<DropdownRecommendationsServiceTrendingProduct>}
|
|
23695
|
+
* @memberof DropdownRecommendationsServiceDropdownRecommendationsResponse
|
|
23696
|
+
*/
|
|
23697
|
+
'trending_products'?: Array<DropdownRecommendationsServiceTrendingProduct>;
|
|
23698
|
+
/**
|
|
23699
|
+
*
|
|
23700
|
+
* @type {Array<DropdownRecommendationsServiceTrendingSearchItem>}
|
|
23701
|
+
* @memberof DropdownRecommendationsServiceDropdownRecommendationsResponse
|
|
23702
|
+
*/
|
|
23703
|
+
'trending_search'?: Array<DropdownRecommendationsServiceTrendingSearchItem>;
|
|
23704
|
+
}
|
|
23705
|
+
/**
|
|
23706
|
+
*
|
|
23707
|
+
* @export
|
|
23708
|
+
* @interface DropdownRecommendationsServicePopularBrand
|
|
23709
|
+
*/
|
|
23710
|
+
export interface DropdownRecommendationsServicePopularBrand {
|
|
23711
|
+
/**
|
|
23712
|
+
*
|
|
23713
|
+
* @type {number}
|
|
23714
|
+
* @memberof DropdownRecommendationsServicePopularBrand
|
|
23715
|
+
*/
|
|
23716
|
+
'clicks'?: number;
|
|
23717
|
+
/**
|
|
23718
|
+
*
|
|
23719
|
+
* @type {number}
|
|
23720
|
+
* @memberof DropdownRecommendationsServicePopularBrand
|
|
23721
|
+
*/
|
|
23722
|
+
'conversions'?: number;
|
|
23723
|
+
/**
|
|
23724
|
+
*
|
|
23725
|
+
* @type {string}
|
|
23726
|
+
* @memberof DropdownRecommendationsServicePopularBrand
|
|
23727
|
+
*/
|
|
23728
|
+
'name'?: string;
|
|
23729
|
+
/**
|
|
23730
|
+
*
|
|
23731
|
+
* @type {number}
|
|
23732
|
+
* @memberof DropdownRecommendationsServicePopularBrand
|
|
23733
|
+
*/
|
|
23734
|
+
'searches'?: number;
|
|
23735
|
+
}
|
|
23736
|
+
/**
|
|
23737
|
+
*
|
|
23738
|
+
* @export
|
|
23739
|
+
* @interface DropdownRecommendationsServiceTrendingProduct
|
|
23740
|
+
*/
|
|
23741
|
+
export interface DropdownRecommendationsServiceTrendingProduct {
|
|
23742
|
+
/**
|
|
23743
|
+
*
|
|
23744
|
+
* @type {string}
|
|
23745
|
+
* @memberof DropdownRecommendationsServiceTrendingProduct
|
|
23746
|
+
*/
|
|
23747
|
+
'brand'?: string;
|
|
23748
|
+
/**
|
|
23749
|
+
*
|
|
23750
|
+
* @type {string}
|
|
23751
|
+
* @memberof DropdownRecommendationsServiceTrendingProduct
|
|
23752
|
+
*/
|
|
23753
|
+
'category'?: string;
|
|
23754
|
+
/**
|
|
23755
|
+
* Analytics metrics
|
|
23756
|
+
* @type {number}
|
|
23757
|
+
* @memberof DropdownRecommendationsServiceTrendingProduct
|
|
23758
|
+
*/
|
|
23759
|
+
'clicks'?: number;
|
|
23760
|
+
/**
|
|
23761
|
+
*
|
|
23762
|
+
* @type {number}
|
|
23763
|
+
* @memberof DropdownRecommendationsServiceTrendingProduct
|
|
23764
|
+
*/
|
|
23765
|
+
'conversions'?: number;
|
|
23766
|
+
/**
|
|
23767
|
+
*
|
|
23768
|
+
* @type {string}
|
|
23769
|
+
* @memberof DropdownRecommendationsServiceTrendingProduct
|
|
23770
|
+
*/
|
|
23771
|
+
'description'?: string;
|
|
23772
|
+
/**
|
|
23773
|
+
*
|
|
23774
|
+
* @type {number}
|
|
23775
|
+
* @memberof DropdownRecommendationsServiceTrendingProduct
|
|
23776
|
+
*/
|
|
23777
|
+
'discount'?: number;
|
|
23778
|
+
/**
|
|
23779
|
+
*
|
|
23780
|
+
* @type {number}
|
|
23781
|
+
* @memberof DropdownRecommendationsServiceTrendingProduct
|
|
23782
|
+
*/
|
|
23783
|
+
'discount_percentage'?: number;
|
|
23784
|
+
/**
|
|
23785
|
+
*
|
|
23786
|
+
* @type {string}
|
|
23787
|
+
* @memberof DropdownRecommendationsServiceTrendingProduct
|
|
23788
|
+
*/
|
|
23789
|
+
'id'?: string;
|
|
23790
|
+
/**
|
|
23791
|
+
*
|
|
23792
|
+
* @type {string}
|
|
23793
|
+
* @memberof DropdownRecommendationsServiceTrendingProduct
|
|
23794
|
+
*/
|
|
23795
|
+
'image'?: string;
|
|
23796
|
+
/**
|
|
23797
|
+
*
|
|
23798
|
+
* @type {boolean}
|
|
23799
|
+
* @memberof DropdownRecommendationsServiceTrendingProduct
|
|
23800
|
+
*/
|
|
23801
|
+
'in_stock'?: boolean;
|
|
23802
|
+
/**
|
|
23803
|
+
*
|
|
23804
|
+
* @type {string}
|
|
23805
|
+
* @memberof DropdownRecommendationsServiceTrendingProduct
|
|
23806
|
+
*/
|
|
23807
|
+
'name'?: string;
|
|
23808
|
+
/**
|
|
23809
|
+
*
|
|
23810
|
+
* @type {number}
|
|
23811
|
+
* @memberof DropdownRecommendationsServiceTrendingProduct
|
|
23812
|
+
*/
|
|
23813
|
+
'price'?: number;
|
|
23814
|
+
/**
|
|
23815
|
+
*
|
|
23816
|
+
* @type {number}
|
|
23817
|
+
* @memberof DropdownRecommendationsServiceTrendingProduct
|
|
23818
|
+
*/
|
|
23819
|
+
'revenue'?: number;
|
|
23820
|
+
/**
|
|
23821
|
+
*
|
|
23822
|
+
* @type {number}
|
|
23823
|
+
* @memberof DropdownRecommendationsServiceTrendingProduct
|
|
23824
|
+
*/
|
|
23825
|
+
'selling_price'?: number;
|
|
23826
|
+
/**
|
|
23827
|
+
*
|
|
23828
|
+
* @type {string}
|
|
23829
|
+
* @memberof DropdownRecommendationsServiceTrendingProduct
|
|
23830
|
+
*/
|
|
23831
|
+
'url'?: string;
|
|
23832
|
+
}
|
|
23833
|
+
/**
|
|
23834
|
+
*
|
|
23835
|
+
* @export
|
|
23836
|
+
* @interface DropdownRecommendationsServiceTrendingSearchItem
|
|
23837
|
+
*/
|
|
23838
|
+
export interface DropdownRecommendationsServiceTrendingSearchItem {
|
|
23839
|
+
/**
|
|
23840
|
+
*
|
|
23841
|
+
* @type {string}
|
|
23842
|
+
* @memberof DropdownRecommendationsServiceTrendingSearchItem
|
|
23843
|
+
*/
|
|
23844
|
+
'category'?: string;
|
|
23845
|
+
/**
|
|
23846
|
+
*
|
|
23847
|
+
* @type {number}
|
|
23848
|
+
* @memberof DropdownRecommendationsServiceTrendingSearchItem
|
|
23849
|
+
*/
|
|
23850
|
+
'popularity'?: number;
|
|
23851
|
+
/**
|
|
23852
|
+
*
|
|
23853
|
+
* @type {string}
|
|
23854
|
+
* @memberof DropdownRecommendationsServiceTrendingSearchItem
|
|
23855
|
+
*/
|
|
23856
|
+
'query'?: string;
|
|
23857
|
+
}
|
|
23858
|
+
/**
|
|
23859
|
+
*
|
|
23860
|
+
* @export
|
|
23861
|
+
* @interface DropdownRecommendationsServiceUpdateDropdownConfigRequest
|
|
23862
|
+
*/
|
|
23863
|
+
export interface DropdownRecommendationsServiceUpdateDropdownConfigRequest {
|
|
23864
|
+
/**
|
|
23865
|
+
*
|
|
23866
|
+
* @type {{ [key: string]: string; }}
|
|
23867
|
+
* @memberof DropdownRecommendationsServiceUpdateDropdownConfigRequest
|
|
23868
|
+
*/
|
|
23869
|
+
'brand_field_mappings'?: { [key: string]: string; };
|
|
23870
|
+
/**
|
|
23871
|
+
*
|
|
23872
|
+
* @type {string}
|
|
23873
|
+
* @memberof DropdownRecommendationsServiceUpdateDropdownConfigRequest
|
|
23874
|
+
*/
|
|
23875
|
+
'brand_sort_by'?: string;
|
|
23876
|
+
/**
|
|
23877
|
+
*
|
|
23878
|
+
* @type {number}
|
|
23879
|
+
* @memberof DropdownRecommendationsServiceUpdateDropdownConfigRequest
|
|
23880
|
+
*/
|
|
23881
|
+
'cache_ttl_seconds'?: number;
|
|
23882
|
+
/**
|
|
23883
|
+
*
|
|
23884
|
+
* @type {{ [key: string]: string; }}
|
|
23885
|
+
* @memberof DropdownRecommendationsServiceUpdateDropdownConfigRequest
|
|
23886
|
+
*/
|
|
23887
|
+
'category_field_mappings'?: { [key: string]: string; };
|
|
23888
|
+
/**
|
|
23889
|
+
*
|
|
23890
|
+
* @type {boolean}
|
|
23891
|
+
* @memberof DropdownRecommendationsServiceUpdateDropdownConfigRequest
|
|
23892
|
+
*/
|
|
23893
|
+
'enable_popular_brands'?: boolean;
|
|
23894
|
+
/**
|
|
23895
|
+
*
|
|
23896
|
+
* @type {boolean}
|
|
23897
|
+
* @memberof DropdownRecommendationsServiceUpdateDropdownConfigRequest
|
|
23898
|
+
*/
|
|
23899
|
+
'enable_trending_products'?: boolean;
|
|
23900
|
+
/**
|
|
23901
|
+
*
|
|
23902
|
+
* @type {boolean}
|
|
23903
|
+
* @memberof DropdownRecommendationsServiceUpdateDropdownConfigRequest
|
|
23904
|
+
*/
|
|
23905
|
+
'enable_trending_search'?: boolean;
|
|
23906
|
+
/**
|
|
23907
|
+
*
|
|
23908
|
+
* @type {boolean}
|
|
23909
|
+
* @memberof DropdownRecommendationsServiceUpdateDropdownConfigRequest
|
|
23910
|
+
*/
|
|
23911
|
+
'enabled'?: boolean;
|
|
23912
|
+
/**
|
|
23913
|
+
*
|
|
23914
|
+
* @type {boolean}
|
|
23915
|
+
* @memberof DropdownRecommendationsServiceUpdateDropdownConfigRequest
|
|
23916
|
+
*/
|
|
23917
|
+
'exclude_out_of_stock'?: boolean;
|
|
23918
|
+
/**
|
|
23919
|
+
*
|
|
23920
|
+
* @type {boolean}
|
|
23921
|
+
* @memberof DropdownRecommendationsServiceUpdateDropdownConfigRequest
|
|
23922
|
+
*/
|
|
23923
|
+
'include_only_in_stock'?: boolean;
|
|
23924
|
+
/**
|
|
23925
|
+
*
|
|
23926
|
+
* @type {number}
|
|
23927
|
+
* @memberof DropdownRecommendationsServiceUpdateDropdownConfigRequest
|
|
23928
|
+
*/
|
|
23929
|
+
'min_brand_searches'?: number;
|
|
23930
|
+
/**
|
|
23931
|
+
*
|
|
23932
|
+
* @type {number}
|
|
23933
|
+
* @memberof DropdownRecommendationsServiceUpdateDropdownConfigRequest
|
|
23934
|
+
*/
|
|
23935
|
+
'min_product_clicks'?: number;
|
|
23936
|
+
/**
|
|
23937
|
+
*
|
|
23938
|
+
* @type {number}
|
|
23939
|
+
* @memberof DropdownRecommendationsServiceUpdateDropdownConfigRequest
|
|
23940
|
+
*/
|
|
23941
|
+
'min_product_conversions'?: number;
|
|
23942
|
+
/**
|
|
23943
|
+
*
|
|
23944
|
+
* @type {number}
|
|
23945
|
+
* @memberof DropdownRecommendationsServiceUpdateDropdownConfigRequest
|
|
23946
|
+
*/
|
|
23947
|
+
'popular_brands_limit'?: number;
|
|
23948
|
+
/**
|
|
23949
|
+
*
|
|
23950
|
+
* @type {{ [key: string]: string; }}
|
|
23951
|
+
* @memberof DropdownRecommendationsServiceUpdateDropdownConfigRequest
|
|
23952
|
+
*/
|
|
23953
|
+
'product_field_mappings'?: { [key: string]: string; };
|
|
23954
|
+
/**
|
|
23955
|
+
*
|
|
23956
|
+
* @type {string}
|
|
23957
|
+
* @memberof DropdownRecommendationsServiceUpdateDropdownConfigRequest
|
|
23958
|
+
*/
|
|
23959
|
+
'product_sort_by'?: string;
|
|
23960
|
+
/**
|
|
23961
|
+
*
|
|
23962
|
+
* @type {number}
|
|
23963
|
+
* @memberof DropdownRecommendationsServiceUpdateDropdownConfigRequest
|
|
23964
|
+
*/
|
|
23965
|
+
'trending_products_limit'?: number;
|
|
23966
|
+
/**
|
|
23967
|
+
*
|
|
23968
|
+
* @type {number}
|
|
23969
|
+
* @memberof DropdownRecommendationsServiceUpdateDropdownConfigRequest
|
|
23970
|
+
*/
|
|
23971
|
+
'trending_search_limit'?: number;
|
|
23972
|
+
/**
|
|
23973
|
+
*
|
|
23974
|
+
* @type {number}
|
|
23975
|
+
* @memberof DropdownRecommendationsServiceUpdateDropdownConfigRequest
|
|
23976
|
+
*/
|
|
23977
|
+
'trending_time_range_days'?: number;
|
|
23978
|
+
/**
|
|
23979
|
+
*
|
|
23980
|
+
* @type {boolean}
|
|
23981
|
+
* @memberof DropdownRecommendationsServiceUpdateDropdownConfigRequest
|
|
23982
|
+
*/
|
|
23983
|
+
'use_query_suggestions_config'?: boolean;
|
|
23984
|
+
}
|
|
23322
23985
|
/**
|
|
23323
23986
|
*
|
|
23324
23987
|
* @export
|
|
@@ -26012,13 +26675,13 @@ export interface SubscriptionRouteCancelPreviewRequest {
|
|
|
26012
26675
|
* @type {string}
|
|
26013
26676
|
* @memberof SubscriptionRouteCancelPreviewRequest
|
|
26014
26677
|
*/
|
|
26015
|
-
'reason'
|
|
26678
|
+
'reason'?: string;
|
|
26016
26679
|
/**
|
|
26017
26680
|
*
|
|
26018
26681
|
* @type {string}
|
|
26019
26682
|
* @memberof SubscriptionRouteCancelPreviewRequest
|
|
26020
26683
|
*/
|
|
26021
|
-
'subscription_id'
|
|
26684
|
+
'subscription_id'?: string;
|
|
26022
26685
|
}
|
|
26023
26686
|
/**
|
|
26024
26687
|
*
|
|
@@ -26037,13 +26700,13 @@ export interface SubscriptionRouteCancelProcessRequest {
|
|
|
26037
26700
|
* @type {string}
|
|
26038
26701
|
* @memberof SubscriptionRouteCancelProcessRequest
|
|
26039
26702
|
*/
|
|
26040
|
-
'reason'
|
|
26703
|
+
'reason'?: string;
|
|
26041
26704
|
/**
|
|
26042
26705
|
*
|
|
26043
26706
|
* @type {string}
|
|
26044
26707
|
* @memberof SubscriptionRouteCancelProcessRequest
|
|
26045
26708
|
*/
|
|
26046
|
-
'subscription_id'
|
|
26709
|
+
'subscription_id'?: string;
|
|
26047
26710
|
}
|
|
26048
26711
|
/**
|
|
26049
26712
|
*
|
|
@@ -42094,6 +42757,308 @@ export class DocumentsApi extends BaseAPI {
|
|
|
42094
42757
|
|
|
42095
42758
|
|
|
42096
42759
|
|
|
42760
|
+
/**
|
|
42761
|
+
* DropdownRecommendationsApi - axios parameter creator
|
|
42762
|
+
* @export
|
|
42763
|
+
*/
|
|
42764
|
+
export const DropdownRecommendationsApiAxiosParamCreator = function (configuration?: Configuration) {
|
|
42765
|
+
return {
|
|
42766
|
+
/**
|
|
42767
|
+
* Retrieve configuration settings for dropdown recommendations
|
|
42768
|
+
* @summary Get Dropdown Recommendations Configuration
|
|
42769
|
+
* @param {string} xStoreid Store ID
|
|
42770
|
+
* @param {string} xStoresecret Store Secret
|
|
42771
|
+
* @param {*} [options] Override http request option.
|
|
42772
|
+
* @throws {RequiredError}
|
|
42773
|
+
*/
|
|
42774
|
+
v1DropdownRecommendationsConfigGet: async (xStoreid: string, xStoresecret: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
42775
|
+
// verify required parameter 'xStoreid' is not null or undefined
|
|
42776
|
+
assertParamExists('v1DropdownRecommendationsConfigGet', 'xStoreid', xStoreid)
|
|
42777
|
+
// verify required parameter 'xStoresecret' is not null or undefined
|
|
42778
|
+
assertParamExists('v1DropdownRecommendationsConfigGet', 'xStoresecret', xStoresecret)
|
|
42779
|
+
const localVarPath = `/v1/dropdown-recommendations/config`;
|
|
42780
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
42781
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
42782
|
+
let baseOptions;
|
|
42783
|
+
if (configuration) {
|
|
42784
|
+
baseOptions = configuration.baseOptions;
|
|
42785
|
+
}
|
|
42786
|
+
|
|
42787
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
42788
|
+
const localVarHeaderParameter = {} as any;
|
|
42789
|
+
const localVarQueryParameter = {} as any;
|
|
42790
|
+
|
|
42791
|
+
|
|
42792
|
+
|
|
42793
|
+
if (xStoreid != null) {
|
|
42794
|
+
localVarHeaderParameter['x-storeid'] = String(xStoreid);
|
|
42795
|
+
}
|
|
42796
|
+
if (xStoresecret != null) {
|
|
42797
|
+
localVarHeaderParameter['x-storesecret'] = String(xStoresecret);
|
|
42798
|
+
}
|
|
42799
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
42800
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
42801
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
42802
|
+
|
|
42803
|
+
return {
|
|
42804
|
+
url: toPathString(localVarUrlObj),
|
|
42805
|
+
options: localVarRequestOptions,
|
|
42806
|
+
};
|
|
42807
|
+
},
|
|
42808
|
+
/**
|
|
42809
|
+
* Update configuration settings for dropdown recommendations
|
|
42810
|
+
* @summary Update Dropdown Recommendations Configuration
|
|
42811
|
+
* @param {string} xStoreid Store ID
|
|
42812
|
+
* @param {string} xStoresecret Store Secret
|
|
42813
|
+
* @param {DropdownRecommendationsServiceUpdateDropdownConfigRequest} dropdownRecommendationsServiceUpdateDropdownConfigRequest Configuration to update
|
|
42814
|
+
* @param {*} [options] Override http request option.
|
|
42815
|
+
* @throws {RequiredError}
|
|
42816
|
+
*/
|
|
42817
|
+
v1DropdownRecommendationsConfigPut: async (xStoreid: string, xStoresecret: string, dropdownRecommendationsServiceUpdateDropdownConfigRequest: DropdownRecommendationsServiceUpdateDropdownConfigRequest, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
42818
|
+
// verify required parameter 'xStoreid' is not null or undefined
|
|
42819
|
+
assertParamExists('v1DropdownRecommendationsConfigPut', 'xStoreid', xStoreid)
|
|
42820
|
+
// verify required parameter 'xStoresecret' is not null or undefined
|
|
42821
|
+
assertParamExists('v1DropdownRecommendationsConfigPut', 'xStoresecret', xStoresecret)
|
|
42822
|
+
// verify required parameter 'dropdownRecommendationsServiceUpdateDropdownConfigRequest' is not null or undefined
|
|
42823
|
+
assertParamExists('v1DropdownRecommendationsConfigPut', 'dropdownRecommendationsServiceUpdateDropdownConfigRequest', dropdownRecommendationsServiceUpdateDropdownConfigRequest)
|
|
42824
|
+
const localVarPath = `/v1/dropdown-recommendations/config`;
|
|
42825
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
42826
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
42827
|
+
let baseOptions;
|
|
42828
|
+
if (configuration) {
|
|
42829
|
+
baseOptions = configuration.baseOptions;
|
|
42830
|
+
}
|
|
42831
|
+
|
|
42832
|
+
const localVarRequestOptions = { method: 'PUT', ...baseOptions, ...options};
|
|
42833
|
+
const localVarHeaderParameter = {} as any;
|
|
42834
|
+
const localVarQueryParameter = {} as any;
|
|
42835
|
+
|
|
42836
|
+
|
|
42837
|
+
|
|
42838
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
42839
|
+
|
|
42840
|
+
if (xStoreid != null) {
|
|
42841
|
+
localVarHeaderParameter['x-storeid'] = String(xStoreid);
|
|
42842
|
+
}
|
|
42843
|
+
if (xStoresecret != null) {
|
|
42844
|
+
localVarHeaderParameter['x-storesecret'] = String(xStoresecret);
|
|
42845
|
+
}
|
|
42846
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
42847
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
42848
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
42849
|
+
localVarRequestOptions.data = serializeDataIfNeeded(dropdownRecommendationsServiceUpdateDropdownConfigRequest, localVarRequestOptions, configuration)
|
|
42850
|
+
|
|
42851
|
+
return {
|
|
42852
|
+
url: toPathString(localVarUrlObj),
|
|
42853
|
+
options: localVarRequestOptions,
|
|
42854
|
+
};
|
|
42855
|
+
},
|
|
42856
|
+
/**
|
|
42857
|
+
* Retrieve trending search categories, trending products, and popular brands for the dropdown
|
|
42858
|
+
* @summary Get Dropdown Recommendations
|
|
42859
|
+
* @param {string} xStoreid Store ID
|
|
42860
|
+
* @param {string} xStoresecret Store Secret
|
|
42861
|
+
* @param {string} [xUserId] User ID for personalization
|
|
42862
|
+
* @param {string} [xAnonId] Anonymous ID for personalization
|
|
42863
|
+
* @param {*} [options] Override http request option.
|
|
42864
|
+
* @throws {RequiredError}
|
|
42865
|
+
*/
|
|
42866
|
+
v1DropdownRecommendationsGet: async (xStoreid: string, xStoresecret: string, xUserId?: string, xAnonId?: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
42867
|
+
// verify required parameter 'xStoreid' is not null or undefined
|
|
42868
|
+
assertParamExists('v1DropdownRecommendationsGet', 'xStoreid', xStoreid)
|
|
42869
|
+
// verify required parameter 'xStoresecret' is not null or undefined
|
|
42870
|
+
assertParamExists('v1DropdownRecommendationsGet', 'xStoresecret', xStoresecret)
|
|
42871
|
+
const localVarPath = `/v1/dropdown-recommendations`;
|
|
42872
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
42873
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
42874
|
+
let baseOptions;
|
|
42875
|
+
if (configuration) {
|
|
42876
|
+
baseOptions = configuration.baseOptions;
|
|
42877
|
+
}
|
|
42878
|
+
|
|
42879
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
42880
|
+
const localVarHeaderParameter = {} as any;
|
|
42881
|
+
const localVarQueryParameter = {} as any;
|
|
42882
|
+
|
|
42883
|
+
|
|
42884
|
+
|
|
42885
|
+
if (xStoreid != null) {
|
|
42886
|
+
localVarHeaderParameter['x-storeid'] = String(xStoreid);
|
|
42887
|
+
}
|
|
42888
|
+
if (xStoresecret != null) {
|
|
42889
|
+
localVarHeaderParameter['x-storesecret'] = String(xStoresecret);
|
|
42890
|
+
}
|
|
42891
|
+
if (xUserId != null) {
|
|
42892
|
+
localVarHeaderParameter['x-user-id'] = String(xUserId);
|
|
42893
|
+
}
|
|
42894
|
+
if (xAnonId != null) {
|
|
42895
|
+
localVarHeaderParameter['x-anon-id'] = String(xAnonId);
|
|
42896
|
+
}
|
|
42897
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
42898
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
42899
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
42900
|
+
|
|
42901
|
+
return {
|
|
42902
|
+
url: toPathString(localVarUrlObj),
|
|
42903
|
+
options: localVarRequestOptions,
|
|
42904
|
+
};
|
|
42905
|
+
},
|
|
42906
|
+
}
|
|
42907
|
+
};
|
|
42908
|
+
|
|
42909
|
+
/**
|
|
42910
|
+
* DropdownRecommendationsApi - functional programming interface
|
|
42911
|
+
* @export
|
|
42912
|
+
*/
|
|
42913
|
+
export const DropdownRecommendationsApiFp = function(configuration?: Configuration) {
|
|
42914
|
+
const localVarAxiosParamCreator = DropdownRecommendationsApiAxiosParamCreator(configuration)
|
|
42915
|
+
return {
|
|
42916
|
+
/**
|
|
42917
|
+
* Retrieve configuration settings for dropdown recommendations
|
|
42918
|
+
* @summary Get Dropdown Recommendations Configuration
|
|
42919
|
+
* @param {string} xStoreid Store ID
|
|
42920
|
+
* @param {string} xStoresecret Store Secret
|
|
42921
|
+
* @param {*} [options] Override http request option.
|
|
42922
|
+
* @throws {RequiredError}
|
|
42923
|
+
*/
|
|
42924
|
+
async v1DropdownRecommendationsConfigGet(xStoreid: string, xStoresecret: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DropdownRecommendationsServiceDropdownConfigResponse>> {
|
|
42925
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.v1DropdownRecommendationsConfigGet(xStoreid, xStoresecret, options);
|
|
42926
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
42927
|
+
const localVarOperationServerBasePath = operationServerMap['DropdownRecommendationsApi.v1DropdownRecommendationsConfigGet']?.[localVarOperationServerIndex]?.url;
|
|
42928
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
42929
|
+
},
|
|
42930
|
+
/**
|
|
42931
|
+
* Update configuration settings for dropdown recommendations
|
|
42932
|
+
* @summary Update Dropdown Recommendations Configuration
|
|
42933
|
+
* @param {string} xStoreid Store ID
|
|
42934
|
+
* @param {string} xStoresecret Store Secret
|
|
42935
|
+
* @param {DropdownRecommendationsServiceUpdateDropdownConfigRequest} dropdownRecommendationsServiceUpdateDropdownConfigRequest Configuration to update
|
|
42936
|
+
* @param {*} [options] Override http request option.
|
|
42937
|
+
* @throws {RequiredError}
|
|
42938
|
+
*/
|
|
42939
|
+
async v1DropdownRecommendationsConfigPut(xStoreid: string, xStoresecret: string, dropdownRecommendationsServiceUpdateDropdownConfigRequest: DropdownRecommendationsServiceUpdateDropdownConfigRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DropdownRecommendationsServiceDropdownConfigResponse>> {
|
|
42940
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.v1DropdownRecommendationsConfigPut(xStoreid, xStoresecret, dropdownRecommendationsServiceUpdateDropdownConfigRequest, options);
|
|
42941
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
42942
|
+
const localVarOperationServerBasePath = operationServerMap['DropdownRecommendationsApi.v1DropdownRecommendationsConfigPut']?.[localVarOperationServerIndex]?.url;
|
|
42943
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
42944
|
+
},
|
|
42945
|
+
/**
|
|
42946
|
+
* Retrieve trending search categories, trending products, and popular brands for the dropdown
|
|
42947
|
+
* @summary Get Dropdown Recommendations
|
|
42948
|
+
* @param {string} xStoreid Store ID
|
|
42949
|
+
* @param {string} xStoresecret Store Secret
|
|
42950
|
+
* @param {string} [xUserId] User ID for personalization
|
|
42951
|
+
* @param {string} [xAnonId] Anonymous ID for personalization
|
|
42952
|
+
* @param {*} [options] Override http request option.
|
|
42953
|
+
* @throws {RequiredError}
|
|
42954
|
+
*/
|
|
42955
|
+
async v1DropdownRecommendationsGet(xStoreid: string, xStoresecret: string, xUserId?: string, xAnonId?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DropdownRecommendationsServiceDropdownRecommendationsAPIResponse>> {
|
|
42956
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.v1DropdownRecommendationsGet(xStoreid, xStoresecret, xUserId, xAnonId, options);
|
|
42957
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
42958
|
+
const localVarOperationServerBasePath = operationServerMap['DropdownRecommendationsApi.v1DropdownRecommendationsGet']?.[localVarOperationServerIndex]?.url;
|
|
42959
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
42960
|
+
},
|
|
42961
|
+
}
|
|
42962
|
+
};
|
|
42963
|
+
|
|
42964
|
+
/**
|
|
42965
|
+
* DropdownRecommendationsApi - factory interface
|
|
42966
|
+
* @export
|
|
42967
|
+
*/
|
|
42968
|
+
export const DropdownRecommendationsApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
|
|
42969
|
+
const localVarFp = DropdownRecommendationsApiFp(configuration)
|
|
42970
|
+
return {
|
|
42971
|
+
/**
|
|
42972
|
+
* Retrieve configuration settings for dropdown recommendations
|
|
42973
|
+
* @summary Get Dropdown Recommendations Configuration
|
|
42974
|
+
* @param {string} xStoreid Store ID
|
|
42975
|
+
* @param {string} xStoresecret Store Secret
|
|
42976
|
+
* @param {*} [options] Override http request option.
|
|
42977
|
+
* @throws {RequiredError}
|
|
42978
|
+
*/
|
|
42979
|
+
v1DropdownRecommendationsConfigGet(xStoreid: string, xStoresecret: string, options?: RawAxiosRequestConfig): AxiosPromise<DropdownRecommendationsServiceDropdownConfigResponse> {
|
|
42980
|
+
return localVarFp.v1DropdownRecommendationsConfigGet(xStoreid, xStoresecret, options).then((request) => request(axios, basePath));
|
|
42981
|
+
},
|
|
42982
|
+
/**
|
|
42983
|
+
* Update configuration settings for dropdown recommendations
|
|
42984
|
+
* @summary Update Dropdown Recommendations Configuration
|
|
42985
|
+
* @param {string} xStoreid Store ID
|
|
42986
|
+
* @param {string} xStoresecret Store Secret
|
|
42987
|
+
* @param {DropdownRecommendationsServiceUpdateDropdownConfigRequest} dropdownRecommendationsServiceUpdateDropdownConfigRequest Configuration to update
|
|
42988
|
+
* @param {*} [options] Override http request option.
|
|
42989
|
+
* @throws {RequiredError}
|
|
42990
|
+
*/
|
|
42991
|
+
v1DropdownRecommendationsConfigPut(xStoreid: string, xStoresecret: string, dropdownRecommendationsServiceUpdateDropdownConfigRequest: DropdownRecommendationsServiceUpdateDropdownConfigRequest, options?: RawAxiosRequestConfig): AxiosPromise<DropdownRecommendationsServiceDropdownConfigResponse> {
|
|
42992
|
+
return localVarFp.v1DropdownRecommendationsConfigPut(xStoreid, xStoresecret, dropdownRecommendationsServiceUpdateDropdownConfigRequest, options).then((request) => request(axios, basePath));
|
|
42993
|
+
},
|
|
42994
|
+
/**
|
|
42995
|
+
* Retrieve trending search categories, trending products, and popular brands for the dropdown
|
|
42996
|
+
* @summary Get Dropdown Recommendations
|
|
42997
|
+
* @param {string} xStoreid Store ID
|
|
42998
|
+
* @param {string} xStoresecret Store Secret
|
|
42999
|
+
* @param {string} [xUserId] User ID for personalization
|
|
43000
|
+
* @param {string} [xAnonId] Anonymous ID for personalization
|
|
43001
|
+
* @param {*} [options] Override http request option.
|
|
43002
|
+
* @throws {RequiredError}
|
|
43003
|
+
*/
|
|
43004
|
+
v1DropdownRecommendationsGet(xStoreid: string, xStoresecret: string, xUserId?: string, xAnonId?: string, options?: RawAxiosRequestConfig): AxiosPromise<DropdownRecommendationsServiceDropdownRecommendationsAPIResponse> {
|
|
43005
|
+
return localVarFp.v1DropdownRecommendationsGet(xStoreid, xStoresecret, xUserId, xAnonId, options).then((request) => request(axios, basePath));
|
|
43006
|
+
},
|
|
43007
|
+
};
|
|
43008
|
+
};
|
|
43009
|
+
|
|
43010
|
+
/**
|
|
43011
|
+
* DropdownRecommendationsApi - object-oriented interface
|
|
43012
|
+
* @export
|
|
43013
|
+
* @class DropdownRecommendationsApi
|
|
43014
|
+
* @extends {BaseAPI}
|
|
43015
|
+
*/
|
|
43016
|
+
export class DropdownRecommendationsApi extends BaseAPI {
|
|
43017
|
+
/**
|
|
43018
|
+
* Retrieve configuration settings for dropdown recommendations
|
|
43019
|
+
* @summary Get Dropdown Recommendations Configuration
|
|
43020
|
+
* @param {string} xStoreid Store ID
|
|
43021
|
+
* @param {string} xStoresecret Store Secret
|
|
43022
|
+
* @param {*} [options] Override http request option.
|
|
43023
|
+
* @throws {RequiredError}
|
|
43024
|
+
* @memberof DropdownRecommendationsApi
|
|
43025
|
+
*/
|
|
43026
|
+
public v1DropdownRecommendationsConfigGet(xStoreid: string, xStoresecret: string, options?: RawAxiosRequestConfig) {
|
|
43027
|
+
return DropdownRecommendationsApiFp(this.configuration).v1DropdownRecommendationsConfigGet(xStoreid, xStoresecret, options).then((request) => request(this.axios, this.basePath));
|
|
43028
|
+
}
|
|
43029
|
+
|
|
43030
|
+
/**
|
|
43031
|
+
* Update configuration settings for dropdown recommendations
|
|
43032
|
+
* @summary Update Dropdown Recommendations Configuration
|
|
43033
|
+
* @param {string} xStoreid Store ID
|
|
43034
|
+
* @param {string} xStoresecret Store Secret
|
|
43035
|
+
* @param {DropdownRecommendationsServiceUpdateDropdownConfigRequest} dropdownRecommendationsServiceUpdateDropdownConfigRequest Configuration to update
|
|
43036
|
+
* @param {*} [options] Override http request option.
|
|
43037
|
+
* @throws {RequiredError}
|
|
43038
|
+
* @memberof DropdownRecommendationsApi
|
|
43039
|
+
*/
|
|
43040
|
+
public v1DropdownRecommendationsConfigPut(xStoreid: string, xStoresecret: string, dropdownRecommendationsServiceUpdateDropdownConfigRequest: DropdownRecommendationsServiceUpdateDropdownConfigRequest, options?: RawAxiosRequestConfig) {
|
|
43041
|
+
return DropdownRecommendationsApiFp(this.configuration).v1DropdownRecommendationsConfigPut(xStoreid, xStoresecret, dropdownRecommendationsServiceUpdateDropdownConfigRequest, options).then((request) => request(this.axios, this.basePath));
|
|
43042
|
+
}
|
|
43043
|
+
|
|
43044
|
+
/**
|
|
43045
|
+
* Retrieve trending search categories, trending products, and popular brands for the dropdown
|
|
43046
|
+
* @summary Get Dropdown Recommendations
|
|
43047
|
+
* @param {string} xStoreid Store ID
|
|
43048
|
+
* @param {string} xStoresecret Store Secret
|
|
43049
|
+
* @param {string} [xUserId] User ID for personalization
|
|
43050
|
+
* @param {string} [xAnonId] Anonymous ID for personalization
|
|
43051
|
+
* @param {*} [options] Override http request option.
|
|
43052
|
+
* @throws {RequiredError}
|
|
43053
|
+
* @memberof DropdownRecommendationsApi
|
|
43054
|
+
*/
|
|
43055
|
+
public v1DropdownRecommendationsGet(xStoreid: string, xStoresecret: string, xUserId?: string, xAnonId?: string, options?: RawAxiosRequestConfig) {
|
|
43056
|
+
return DropdownRecommendationsApiFp(this.configuration).v1DropdownRecommendationsGet(xStoreid, xStoresecret, xUserId, xAnonId, options).then((request) => request(this.axios, this.basePath));
|
|
43057
|
+
}
|
|
43058
|
+
}
|
|
43059
|
+
|
|
43060
|
+
|
|
43061
|
+
|
|
42097
43062
|
/**
|
|
42098
43063
|
* ExternalAPINotificationsApi - axios parameter creator
|
|
42099
43064
|
* @export
|