@searchspring/snapi-oas 0.1.37 → 0.1.39

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.37
1
+ # Snap API OpenAPI Specification v0.1.39
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.37",
3
+ "version": "0.1.39",
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.37",
9
+ "version" : "0.1.39",
10
10
  "x-logo" : {
11
11
  "url" : "./images/searchspring_logo.svg",
12
12
  "altText" : "Searchspring Snap"
@@ -3448,6 +3448,12 @@
3448
3448
  },
3449
3449
  "type" : "array"
3450
3450
  },
3451
+ "experiments" : {
3452
+ "items" : {
3453
+ "$ref" : "#/components/schemas/SearchResponseModelMerchandising_experiments"
3454
+ },
3455
+ "type" : "array"
3456
+ },
3451
3457
  "personalized" : {
3452
3458
  "type" : "boolean"
3453
3459
  },
@@ -3892,7 +3898,7 @@
3892
3898
  },
3893
3899
  "matchType" : {
3894
3900
  "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.",
3895
- "enum" : [ "expanded" ],
3901
+ "enum" : [ "expanded", "primary" ],
3896
3902
  "type" : "string"
3897
3903
  }
3898
3904
  },
@@ -4042,6 +4048,20 @@
4042
4048
  },
4043
4049
  "type" : "object"
4044
4050
  },
4051
+ "SearchResponseModelMerchandising_experiments" : {
4052
+ "properties" : {
4053
+ "campaignId" : {
4054
+ "type" : "string"
4055
+ },
4056
+ "experimentId" : {
4057
+ "type" : "string"
4058
+ },
4059
+ "variationId" : {
4060
+ "type" : "string"
4061
+ }
4062
+ },
4063
+ "type" : "object"
4064
+ },
4045
4065
  "SearchResponseModelMerchandising_content_config_position" : {
4046
4066
  "properties" : {
4047
4067
  "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.37
7
+ version: 0.1.39
8
8
  x-logo:
9
9
  url: ./images/searchspring_logo.svg
10
10
  altText: Searchspring Snap
@@ -2931,6 +2931,13 @@ components:
2931
2931
  - id: id
2932
2932
  title: title
2933
2933
  type: type
2934
+ experiments:
2935
+ - variationId: variationId
2936
+ campaignId: campaignId
2937
+ experimentId: experimentId
2938
+ - variationId: variationId
2939
+ campaignId: campaignId
2940
+ experimentId: experimentId
2934
2941
  personalized: true
2935
2942
  content:
2936
2943
  inline:
@@ -3187,6 +3194,13 @@ components:
3187
3194
  - id: id
3188
3195
  title: title
3189
3196
  type: type
3197
+ experiments:
3198
+ - variationId: variationId
3199
+ campaignId: campaignId
3200
+ experimentId: experimentId
3201
+ - variationId: variationId
3202
+ campaignId: campaignId
3203
+ experimentId: experimentId
3190
3204
  personalized: true
3191
3205
  content:
3192
3206
  inline:
@@ -3217,6 +3231,10 @@ components:
3217
3231
  items:
3218
3232
  $ref: '#/components/schemas/SearchResponseModelMerchandising_campaigns'
3219
3233
  type: array
3234
+ experiments:
3235
+ items:
3236
+ $ref: '#/components/schemas/SearchResponseModelMerchandising_experiments'
3237
+ type: array
3220
3238
  personalized:
3221
3239
  type: boolean
3222
3240
  content:
@@ -3645,6 +3663,7 @@ components:
3645
3663
  after finding zero results for the initial strict search.
3646
3664
  enum:
3647
3665
  - expanded
3666
+ - primary
3648
3667
  type: string
3649
3668
  type: object
3650
3669
  SearchResponseModel_pagination:
@@ -3782,6 +3801,19 @@ components:
3782
3801
  type:
3783
3802
  type: string
3784
3803
  type: object
3804
+ SearchResponseModelMerchandising_experiments:
3805
+ example:
3806
+ variationId: variationId
3807
+ campaignId: campaignId
3808
+ experimentId: experimentId
3809
+ properties:
3810
+ campaignId:
3811
+ type: string
3812
+ experimentId:
3813
+ type: string
3814
+ variationId:
3815
+ type: string
3816
+ type: object
3785
3817
  SearchResponseModelMerchandising_content_config_position:
3786
3818
  example:
3787
3819
  index: 3.616076749251911