@searchspring/snapi-oas 0.1.24 → 0.1.27

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.24
1
+ # Snap API OpenAPI Specification v0.1.27
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.24",
3
+ "version": "0.1.27",
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.24",
9
+ "version" : "0.1.27",
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
  }
@@ -3735,6 +3741,9 @@
3735
3741
  },
3736
3742
  "landingPage" : {
3737
3743
  "type" : "string"
3744
+ },
3745
+ "intellisuggest" : {
3746
+ "type" : "boolean"
3738
3747
  }
3739
3748
  },
3740
3749
  "type" : "object"
@@ -3812,6 +3821,11 @@
3812
3821
  "originalQuery" : {
3813
3822
  "description" : "Original query if spell correction occured.",
3814
3823
  "type" : "string"
3824
+ },
3825
+ "matchType" : {
3826
+ "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.",
3827
+ "enum" : [ "expanded" ],
3828
+ "type" : "string"
3815
3829
  }
3816
3830
  },
3817
3831
  "type" : "object"
@@ -3937,6 +3951,20 @@
3937
3951
  },
3938
3952
  "type" : "object"
3939
3953
  },
3954
+ "SearchResponseModelMerchandising_campaigns" : {
3955
+ "properties" : {
3956
+ "id" : {
3957
+ "type" : "string"
3958
+ },
3959
+ "title" : {
3960
+ "type" : "string"
3961
+ },
3962
+ "type" : {
3963
+ "type" : "string"
3964
+ }
3965
+ },
3966
+ "type" : "object"
3967
+ },
3940
3968
  "SearchResponseModelMerchandising_content_config_position" : {
3941
3969
  "properties" : {
3942
3970
  "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.24
7
+ version: 0.1.27
8
8
  x-logo:
9
9
  url: ./images/searchspring_logo.svg
10
10
  altText: Searchspring Snap
@@ -2757,6 +2757,7 @@ components:
2757
2757
  - field: field
2758
2758
  direction: asc
2759
2759
  merchandising:
2760
+ intellisuggest: true
2760
2761
  landingPage: landingPage
2761
2762
  disabled: true
2762
2763
  segments:
@@ -2836,6 +2837,7 @@ components:
2836
2837
  example:
2837
2838
  search:
2838
2839
  didYouMean: didYouMean
2840
+ matchType: expanded
2839
2841
  query: query
2840
2842
  originalQuery: originalQuery
2841
2843
  pagination:
@@ -2909,6 +2911,13 @@ components:
2909
2911
  id: id
2910
2912
  merchandising:
2911
2913
  redirect: redirect
2914
+ campaigns:
2915
+ - id: id
2916
+ title: title
2917
+ type: type
2918
+ - id: id
2919
+ title: title
2920
+ type: type
2912
2921
  content:
2913
2922
  inline:
2914
2923
  - config:
@@ -3146,6 +3155,13 @@ components:
3146
3155
  SearchResponseModelMerchandising:
3147
3156
  example:
3148
3157
  redirect: redirect
3158
+ campaigns:
3159
+ - id: id
3160
+ title: title
3161
+ type: type
3162
+ - id: id
3163
+ title: title
3164
+ type: type
3149
3165
  content:
3150
3166
  inline:
3151
3167
  - config:
@@ -3171,6 +3187,10 @@ components:
3171
3187
  properties:
3172
3188
  redirect:
3173
3189
  type: string
3190
+ campaigns:
3191
+ items:
3192
+ $ref: '#/components/schemas/SearchResponseModelMerchandising_campaigns'
3193
+ type: array
3174
3194
  content:
3175
3195
  $ref: '#/components/schemas/SearchResponseModelMerchandising_content'
3176
3196
  type: object
@@ -3418,6 +3438,7 @@ components:
3418
3438
  type: object
3419
3439
  SearchRequestModel_merchandising:
3420
3440
  example:
3441
+ intellisuggest: true
3421
3442
  landingPage: landingPage
3422
3443
  disabled: true
3423
3444
  segments:
@@ -3432,6 +3453,8 @@ components:
3432
3453
  type: array
3433
3454
  landingPage:
3434
3455
  type: string
3456
+ intellisuggest:
3457
+ type: boolean
3435
3458
  type: object
3436
3459
  SearchRequestModel_tracking:
3437
3460
  example:
@@ -3485,6 +3508,7 @@ components:
3485
3508
  SearchResponseModel_search:
3486
3509
  example:
3487
3510
  didYouMean: didYouMean
3511
+ matchType: expanded
3488
3512
  query: query
3489
3513
  originalQuery: originalQuery
3490
3514
  properties:
@@ -3496,6 +3520,13 @@ components:
3496
3520
  originalQuery:
3497
3521
  description: Original query if spell correction occured.
3498
3522
  type: string
3523
+ matchType:
3524
+ description: Indicates the type of search matching that was required for
3525
+ this search. Will return "expanded" when an Expanded Search is applied
3526
+ after finding zero results for the initial strict search.
3527
+ enum:
3528
+ - expanded
3529
+ type: string
3499
3530
  type: object
3500
3531
  SearchResponseModel_pagination:
3501
3532
  example:
@@ -3610,6 +3641,19 @@ components:
3610
3641
  active:
3611
3642
  $ref: '#/components/schemas/SearchRequestModelFilterRange_allOf_value'
3612
3643
  type: object
3644
+ SearchResponseModelMerchandising_campaigns:
3645
+ example:
3646
+ id: id
3647
+ title: title
3648
+ type: type
3649
+ properties:
3650
+ id:
3651
+ type: string
3652
+ title:
3653
+ type: string
3654
+ type:
3655
+ type: string
3656
+ type: object
3613
3657
  SearchResponseModelMerchandising_content_config_position:
3614
3658
  example:
3615
3659
  index: 2.027123023002322