@searchspring/snapi-oas 0.1.23 → 0.1.26

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 CHANGED
@@ -1,4 +1,4 @@
1
- # Snap API OpenAPI Specification v0.1.23
1
+ # Snap API OpenAPI Specification v0.1.26
2
2
 
3
3
  https://searchspring.github.io/snapi-oas/
4
4
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@searchspring/snapi-oas",
3
- "version": "0.1.23",
3
+ "version": "0.1.26",
4
4
  "description": "Snap OpenAPI Specification",
5
5
  "author": "Searchspring",
6
6
  "license": "MIT",
@@ -6,7 +6,7 @@
6
6
  },
7
7
  "description" : "Searchspring Snap Search API",
8
8
  "title" : "snAPI",
9
- "version" : "0.1.23",
9
+ "version" : "0.1.26",
10
10
  "x-logo" : {
11
11
  "url" : "./images/searchspring_logo.svg",
12
12
  "altText" : "Searchspring Snap"
@@ -3434,6 +3434,12 @@
3434
3434
  "redirect" : {
3435
3435
  "type" : "string"
3436
3436
  },
3437
+ "campaigns" : {
3438
+ "items" : {
3439
+ "$ref" : "#/components/schemas/SearchResponseModelMerchandising_campaigns"
3440
+ },
3441
+ "type" : "array"
3442
+ },
3437
3443
  "content" : {
3438
3444
  "$ref" : "#/components/schemas/SearchResponseModelMerchandising_content"
3439
3445
  }
@@ -3698,6 +3704,9 @@
3698
3704
  },
3699
3705
  "SearchRequestModel_facets" : {
3700
3706
  "properties" : {
3707
+ "autoDrillDown" : {
3708
+ "type" : "boolean"
3709
+ },
3701
3710
  "limit" : {
3702
3711
  "type" : "integer"
3703
3712
  },
@@ -3809,6 +3818,11 @@
3809
3818
  "originalQuery" : {
3810
3819
  "description" : "Original query if spell correction occured.",
3811
3820
  "type" : "string"
3821
+ },
3822
+ "matchType" : {
3823
+ "description" : "Indicates the type of search matching that was required for this search. Will return \"expanded\" when an Expanded Search is applied after finding zero results for the initial strict search.",
3824
+ "enum" : [ "expanded" ],
3825
+ "type" : "string"
3812
3826
  }
3813
3827
  },
3814
3828
  "type" : "object"
@@ -3934,6 +3948,20 @@
3934
3948
  },
3935
3949
  "type" : "object"
3936
3950
  },
3951
+ "SearchResponseModelMerchandising_campaigns" : {
3952
+ "properties" : {
3953
+ "id" : {
3954
+ "type" : "string"
3955
+ },
3956
+ "title" : {
3957
+ "type" : "string"
3958
+ },
3959
+ "type" : {
3960
+ "type" : "string"
3961
+ }
3962
+ },
3963
+ "type" : "object"
3964
+ },
3937
3965
  "SearchResponseModelMerchandising_content_config_position" : {
3938
3966
  "properties" : {
3939
3967
  "index" : {
@@ -4,7 +4,7 @@ info:
4
4
  name: Searchspring
5
5
  description: Searchspring Snap Search API
6
6
  title: snAPI
7
- version: 0.1.23
7
+ version: 0.1.26
8
8
  x-logo:
9
9
  url: ./images/searchspring_logo.svg
10
10
  altText: Searchspring Snap
@@ -2766,6 +2766,7 @@ components:
2766
2766
  domain: domain
2767
2767
  userId: userId
2768
2768
  facets:
2769
+ autoDrillDown: true
2769
2770
  valueLimit: 5
2770
2771
  include:
2771
2772
  - include
@@ -2835,6 +2836,7 @@ components:
2835
2836
  example:
2836
2837
  search:
2837
2838
  didYouMean: didYouMean
2839
+ matchType: expanded
2838
2840
  query: query
2839
2841
  originalQuery: originalQuery
2840
2842
  pagination:
@@ -2908,6 +2910,13 @@ components:
2908
2910
  id: id
2909
2911
  merchandising:
2910
2912
  redirect: redirect
2913
+ campaigns:
2914
+ - id: id
2915
+ title: title
2916
+ type: type
2917
+ - id: id
2918
+ title: title
2919
+ type: type
2911
2920
  content:
2912
2921
  inline:
2913
2922
  - config:
@@ -3145,6 +3154,13 @@ components:
3145
3154
  SearchResponseModelMerchandising:
3146
3155
  example:
3147
3156
  redirect: redirect
3157
+ campaigns:
3158
+ - id: id
3159
+ title: title
3160
+ type: type
3161
+ - id: id
3162
+ title: title
3163
+ type: type
3148
3164
  content:
3149
3165
  inline:
3150
3166
  - config:
@@ -3170,6 +3186,10 @@ components:
3170
3186
  properties:
3171
3187
  redirect:
3172
3188
  type: string
3189
+ campaigns:
3190
+ items:
3191
+ $ref: '#/components/schemas/SearchResponseModelMerchandising_campaigns'
3192
+ type: array
3173
3193
  content:
3174
3194
  $ref: '#/components/schemas/SearchResponseModelMerchandising_content'
3175
3195
  type: object
@@ -3390,6 +3410,7 @@ components:
3390
3410
  type: object
3391
3411
  SearchRequestModel_facets:
3392
3412
  example:
3413
+ autoDrillDown: true
3393
3414
  valueLimit: 5
3394
3415
  include:
3395
3416
  - include
@@ -3399,6 +3420,8 @@ components:
3399
3420
  - exclude
3400
3421
  - exclude
3401
3422
  properties:
3423
+ autoDrillDown:
3424
+ type: boolean
3402
3425
  limit:
3403
3426
  type: integer
3404
3427
  valueLimit:
@@ -3481,6 +3504,7 @@ components:
3481
3504
  SearchResponseModel_search:
3482
3505
  example:
3483
3506
  didYouMean: didYouMean
3507
+ matchType: expanded
3484
3508
  query: query
3485
3509
  originalQuery: originalQuery
3486
3510
  properties:
@@ -3492,6 +3516,13 @@ components:
3492
3516
  originalQuery:
3493
3517
  description: Original query if spell correction occured.
3494
3518
  type: string
3519
+ matchType:
3520
+ description: Indicates the type of search matching that was required for
3521
+ this search. Will return "expanded" when an Expanded Search is applied
3522
+ after finding zero results for the initial strict search.
3523
+ enum:
3524
+ - expanded
3525
+ type: string
3495
3526
  type: object
3496
3527
  SearchResponseModel_pagination:
3497
3528
  example:
@@ -3606,6 +3637,19 @@ components:
3606
3637
  active:
3607
3638
  $ref: '#/components/schemas/SearchRequestModelFilterRange_allOf_value'
3608
3639
  type: object
3640
+ SearchResponseModelMerchandising_campaigns:
3641
+ example:
3642
+ id: id
3643
+ title: title
3644
+ type: type
3645
+ properties:
3646
+ id:
3647
+ type: string
3648
+ title:
3649
+ type: string
3650
+ type:
3651
+ type: string
3652
+ type: object
3609
3653
  SearchResponseModelMerchandising_content_config_position:
3610
3654
  example:
3611
3655
  index: 2.027123023002322