@searchspring/snapi-oas 0.1.20 → 0.1.22

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.20
1
+ # Snap API OpenAPI Specification v0.1.22
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.20",
3
+ "version": "0.1.22",
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.20",
9
+ "version" : "0.1.22",
10
10
  "x-logo" : {
11
11
  "url" : "./images/searchspring_logo.svg",
12
12
  "altText" : "Searchspring Snap"
@@ -929,7 +929,8 @@
929
929
  "totalResults" : 1305,
930
930
  "page" : 1,
931
931
  "defaultPageSize" : 24,
932
- "pageSize" : 2
932
+ "pageSize" : 2,
933
+ "totalPages" : 653
933
934
  },
934
935
  "results" : [ {
935
936
  "id" : "175130",
@@ -1887,7 +1888,8 @@
1887
1888
  "totalResults" : 758,
1888
1889
  "page" : 1,
1889
1890
  "defaultPageSize" : 24,
1890
- "pageSize" : 2
1891
+ "pageSize" : 2,
1892
+ "totalPages" : 379
1891
1893
  },
1892
1894
  "results" : [ {
1893
1895
  "id" : "134892",
@@ -3168,6 +3170,9 @@
3168
3170
  },
3169
3171
  "tracking" : {
3170
3172
  "$ref" : "#/components/schemas/SearchRequestModel_tracking"
3173
+ },
3174
+ "personalization" : {
3175
+ "$ref" : "#/components/schemas/SearchRequestModel_personalization"
3171
3176
  }
3172
3177
  },
3173
3178
  "title" : "Search Request Data Model",
@@ -3733,10 +3738,33 @@
3733
3738
  },
3734
3739
  "SearchRequestModel_tracking" : {
3735
3740
  "properties" : {
3736
- "loggedInUserId" : {
3741
+ "userId" : {
3742
+ "description" : "shopper identifier",
3737
3743
  "type" : "string"
3738
3744
  },
3739
- "userId" : {
3745
+ "domain" : {
3746
+ "description" : "current website url",
3747
+ "type" : "string"
3748
+ }
3749
+ },
3750
+ "type" : "object"
3751
+ },
3752
+ "SearchRequestModel_personalization" : {
3753
+ "properties" : {
3754
+ "disabled" : {
3755
+ "description" : "ignore personalized boosts",
3756
+ "type" : "boolean"
3757
+ },
3758
+ "cart" : {
3759
+ "description" : "comma-separated list of the products in cart",
3760
+ "type" : "string"
3761
+ },
3762
+ "lastViewed" : {
3763
+ "description" : "comma-separated list of the last viewed products",
3764
+ "type" : "string"
3765
+ },
3766
+ "shopper" : {
3767
+ "description" : "logged in shopper identifier",
3740
3768
  "type" : "string"
3741
3769
  }
3742
3770
  },
@@ -4,7 +4,7 @@ info:
4
4
  name: Searchspring
5
5
  description: Searchspring Snap Search API
6
6
  title: snAPI
7
- version: 0.1.20
7
+ version: 0.1.22
8
8
  x-logo:
9
9
  url: ./images/searchspring_logo.svg
10
10
  altText: Searchspring Snap
@@ -841,6 +841,7 @@ components:
841
841
  page: 1
842
842
  defaultPageSize: 24
843
843
  pageSize: 2
844
+ totalPages: 653
844
845
  results:
845
846
  - id: "175130"
846
847
  mappings:
@@ -1676,6 +1677,7 @@ components:
1676
1677
  page: 1
1677
1678
  defaultPageSize: 24
1678
1679
  pageSize: 2
1680
+ totalPages: 379
1679
1681
  results:
1680
1682
  - id: "134892"
1681
1683
  mappings:
@@ -2726,6 +2728,11 @@ components:
2726
2728
  - $ref: '#/components/schemas/SearchResponseModel'
2727
2729
  SearchRequestModel:
2728
2730
  example:
2731
+ personalization:
2732
+ lastViewed: lastViewed
2733
+ shopper: shopper
2734
+ disabled: true
2735
+ cart: cart
2729
2736
  search:
2730
2737
  query:
2731
2738
  string: string
@@ -2756,7 +2763,7 @@ components:
2756
2763
  - segments
2757
2764
  - segments
2758
2765
  tracking:
2759
- loggedInUserId: loggedInUserId
2766
+ domain: domain
2760
2767
  userId: userId
2761
2768
  facets:
2762
2769
  valueLimit: 5
@@ -2789,6 +2796,8 @@ components:
2789
2796
  $ref: '#/components/schemas/SearchRequestModel_merchandising'
2790
2797
  tracking:
2791
2798
  $ref: '#/components/schemas/SearchRequestModel_tracking'
2799
+ personalization:
2800
+ $ref: '#/components/schemas/SearchRequestModel_personalization'
2792
2801
  title: Search Request Data Model
2793
2802
  type: object
2794
2803
  SearchRequestModelFilter:
@@ -3524,12 +3533,34 @@ components:
3524
3533
  type: object
3525
3534
  SearchRequestModel_tracking:
3526
3535
  example:
3527
- loggedInUserId: loggedInUserId
3536
+ domain: domain
3528
3537
  userId: userId
3529
3538
  properties:
3530
- loggedInUserId:
3531
- type: string
3532
3539
  userId:
3540
+ description: shopper identifier
3541
+ type: string
3542
+ domain:
3543
+ description: current website url
3544
+ type: string
3545
+ type: object
3546
+ SearchRequestModel_personalization:
3547
+ example:
3548
+ lastViewed: lastViewed
3549
+ shopper: shopper
3550
+ disabled: true
3551
+ cart: cart
3552
+ properties:
3553
+ disabled:
3554
+ description: ignore personalized boosts
3555
+ type: boolean
3556
+ cart:
3557
+ description: comma-separated list of the products in cart
3558
+ type: string
3559
+ lastViewed:
3560
+ description: comma-separated list of the last viewed products
3561
+ type: string
3562
+ shopper:
3563
+ description: logged in shopper identifier
3533
3564
  type: string
3534
3565
  type: object
3535
3566
  SearchRequestModelFilterValue_allOf: