@searchspring/snapi-oas 0.1.32 → 0.1.33

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.32
1
+ # Snap API OpenAPI Specification v0.1.33
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.32",
3
+ "version": "0.1.33",
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.32",
9
+ "version" : "0.1.33",
10
10
  "x-logo" : {
11
11
  "url" : "./images/searchspring_logo.svg",
12
12
  "altText" : "Searchspring Snap"
@@ -3379,6 +3379,22 @@
3379
3379
  "title" : "Result Core Field Mappings",
3380
3380
  "type" : "object"
3381
3381
  },
3382
+ "SearchResponseModelResultBadges" : {
3383
+ "description" : "List of matching badges for the result",
3384
+ "items" : {
3385
+ "properties" : {
3386
+ "tag" : {
3387
+ "type" : "string"
3388
+ },
3389
+ "value" : {
3390
+ "type" : "string"
3391
+ }
3392
+ },
3393
+ "type" : "object"
3394
+ },
3395
+ "title" : "Result Badges Array",
3396
+ "type" : "array"
3397
+ },
3382
3398
  "SearchResponseModelResultAttributes" : {
3383
3399
  "additionalProperties" : true,
3384
3400
  "description" : "Additional fields for results - these are site specific fields which can have various value types",
@@ -3465,6 +3481,9 @@
3465
3481
  },
3466
3482
  "pagination" : {
3467
3483
  "$ref" : "#/components/schemas/MetaResponseModel_pagination"
3484
+ },
3485
+ "badges" : {
3486
+ "$ref" : "#/components/schemas/MetaResponseModel_badges"
3468
3487
  }
3469
3488
  },
3470
3489
  "type" : "object"
@@ -3573,6 +3592,42 @@
3573
3592
  "$ref" : "#/components/schemas/MetaResponseModelFacetHierarchy_allOf"
3574
3593
  } ]
3575
3594
  },
3595
+ "MetaResponseModelBadgeLocation" : {
3596
+ "properties" : {
3597
+ "name" : {
3598
+ "type" : "string"
3599
+ },
3600
+ "label" : {
3601
+ "type" : "string"
3602
+ },
3603
+ "description" : {
3604
+ "type" : "string"
3605
+ }
3606
+ },
3607
+ "type" : "object"
3608
+ },
3609
+ "MetaResponseModelBadgeTag" : {
3610
+ "properties" : {
3611
+ "location" : {
3612
+ "type" : "string"
3613
+ },
3614
+ "component" : {
3615
+ "type" : "string"
3616
+ },
3617
+ "priority" : {
3618
+ "type" : "number"
3619
+ },
3620
+ "enabled" : {
3621
+ "type" : "boolean"
3622
+ },
3623
+ "parameters" : {
3624
+ "additionalProperties" : true,
3625
+ "description" : "Additional badge parameters - these are template specific fields which can have various value types",
3626
+ "type" : "object"
3627
+ }
3628
+ },
3629
+ "type" : "object"
3630
+ },
3576
3631
  "Meta_Request_Model" : {
3577
3632
  "properties" : {
3578
3633
  "siteId" : {
@@ -3669,6 +3724,7 @@
3669
3724
  "SearchRequestModel_search_query" : {
3670
3725
  "properties" : {
3671
3726
  "string" : {
3727
+ "description" : "Query value will search the index for terms that match the query. Will support up to 256 characters.",
3672
3728
  "type" : "string"
3673
3729
  },
3674
3730
  "spellCorrection" : {
@@ -3884,6 +3940,9 @@
3884
3940
  "properties" : {
3885
3941
  "core" : {
3886
3942
  "$ref" : "#/components/schemas/SearchResponseModelResultCoreMappings"
3943
+ },
3944
+ "badges" : {
3945
+ "$ref" : "#/components/schemas/SearchResponseModelResultBadges"
3887
3946
  }
3888
3947
  },
3889
3948
  "type" : "object"
@@ -4053,6 +4112,51 @@
4053
4112
  },
4054
4113
  "type" : "object"
4055
4114
  },
4115
+ "MetaResponseModel_badges_locations_overlay" : {
4116
+ "properties" : {
4117
+ "left" : {
4118
+ "items" : {
4119
+ "$ref" : "#/components/schemas/MetaResponseModelBadgeLocation"
4120
+ },
4121
+ "type" : "array"
4122
+ },
4123
+ "right" : {
4124
+ "items" : {
4125
+ "$ref" : "#/components/schemas/MetaResponseModelBadgeLocation"
4126
+ },
4127
+ "type" : "array"
4128
+ }
4129
+ },
4130
+ "type" : "object"
4131
+ },
4132
+ "MetaResponseModel_badges_locations" : {
4133
+ "properties" : {
4134
+ "overlay" : {
4135
+ "$ref" : "#/components/schemas/MetaResponseModel_badges_locations_overlay"
4136
+ },
4137
+ "callouts" : {
4138
+ "items" : {
4139
+ "$ref" : "#/components/schemas/MetaResponseModelBadgeLocation"
4140
+ },
4141
+ "type" : "array"
4142
+ }
4143
+ },
4144
+ "type" : "object"
4145
+ },
4146
+ "MetaResponseModel_badges" : {
4147
+ "properties" : {
4148
+ "locations" : {
4149
+ "$ref" : "#/components/schemas/MetaResponseModel_badges_locations"
4150
+ },
4151
+ "tags" : {
4152
+ "additionalProperties" : {
4153
+ "$ref" : "#/components/schemas/MetaResponseModelBadgeTag"
4154
+ },
4155
+ "type" : "object"
4156
+ }
4157
+ },
4158
+ "type" : "object"
4159
+ },
4056
4160
  "MetaResponseModelFacetSlider_allOf" : {
4057
4161
  "properties" : {
4058
4162
  "formatSeparator" : {
@@ -4,7 +4,7 @@ info:
4
4
  name: Searchspring
5
5
  description: Searchspring Snap Search API
6
6
  title: snAPI
7
- version: 0.1.32
7
+ version: 0.1.33
8
8
  x-logo:
9
9
  url: ./images/searchspring_logo.svg
10
10
  altText: Searchspring Snap
@@ -2863,6 +2863,9 @@ components:
2863
2863
  type: value
2864
2864
  results:
2865
2865
  - mappings:
2866
+ badges:
2867
+ - '{}'
2868
+ - '{}'
2866
2869
  core:
2867
2870
  addToCartUrl: addToCartUrl
2868
2871
  rating: 7.061401241503109
@@ -2888,6 +2891,9 @@ components:
2888
2891
  key: '{}'
2889
2892
  id: id
2890
2893
  - mappings:
2894
+ badges:
2895
+ - '{}'
2896
+ - '{}'
2891
2897
  core:
2892
2898
  addToCartUrl: addToCartUrl
2893
2899
  rating: 7.061401241503109
@@ -3010,6 +3016,9 @@ components:
3010
3016
  SearchResponseModelResult:
3011
3017
  example:
3012
3018
  mappings:
3019
+ badges:
3020
+ - '{}'
3021
+ - '{}'
3013
3022
  core:
3014
3023
  addToCartUrl: addToCartUrl
3015
3024
  rating: 7.061401241503109
@@ -3117,6 +3126,17 @@ components:
3117
3126
  type: number
3118
3127
  title: Result Core Field Mappings
3119
3128
  type: object
3129
+ SearchResponseModelResultBadges:
3130
+ description: List of matching badges for the result
3131
+ items:
3132
+ properties:
3133
+ tag:
3134
+ type: string
3135
+ value:
3136
+ type: string
3137
+ type: object
3138
+ title: Result Badges Array
3139
+ type: array
3120
3140
  SearchResponseModelResultAttributes:
3121
3141
  additionalProperties: true
3122
3142
  description: Additional fields for results - these are site specific fields
@@ -3203,6 +3223,38 @@ components:
3203
3223
  type: object
3204
3224
  MetaResponseModel:
3205
3225
  example:
3226
+ badges:
3227
+ locations:
3228
+ callouts:
3229
+ - name: name
3230
+ description: description
3231
+ label: label
3232
+ - name: name
3233
+ description: description
3234
+ label: label
3235
+ overlay:
3236
+ left:
3237
+ - name: name
3238
+ description: description
3239
+ label: label
3240
+ - name: name
3241
+ description: description
3242
+ label: label
3243
+ right:
3244
+ - name: name
3245
+ description: description
3246
+ label: label
3247
+ - name: name
3248
+ description: description
3249
+ label: label
3250
+ tags:
3251
+ key:
3252
+ component: component
3253
+ location: location
3254
+ priority: 6.027456183070403
3255
+ parameters:
3256
+ key: '{}'
3257
+ enabled: true
3206
3258
  pagination:
3207
3259
  defaultPageSize: 0.8008281904610115
3208
3260
  sortOptions:
@@ -3228,6 +3280,8 @@ components:
3228
3280
  type: object
3229
3281
  pagination:
3230
3282
  $ref: '#/components/schemas/MetaResponseModel_pagination'
3283
+ badges:
3284
+ $ref: '#/components/schemas/MetaResponseModel_badges'
3231
3285
  type: object
3232
3286
  MetaResponseModelSortOption:
3233
3287
  example:
@@ -3308,6 +3362,42 @@ components:
3308
3362
  - $ref: '#/components/schemas/MetaResponseModelFacetDefaults'
3309
3363
  - $ref: '#/components/schemas/MetaResponseModelFacetValue'
3310
3364
  - $ref: '#/components/schemas/MetaResponseModelFacetHierarchy_allOf'
3365
+ MetaResponseModelBadgeLocation:
3366
+ example:
3367
+ name: name
3368
+ description: description
3369
+ label: label
3370
+ properties:
3371
+ name:
3372
+ type: string
3373
+ label:
3374
+ type: string
3375
+ description:
3376
+ type: string
3377
+ type: object
3378
+ MetaResponseModelBadgeTag:
3379
+ example:
3380
+ component: component
3381
+ location: location
3382
+ priority: 6.027456183070403
3383
+ parameters:
3384
+ key: '{}'
3385
+ enabled: true
3386
+ properties:
3387
+ location:
3388
+ type: string
3389
+ component:
3390
+ type: string
3391
+ priority:
3392
+ type: number
3393
+ enabled:
3394
+ type: boolean
3395
+ parameters:
3396
+ additionalProperties: true
3397
+ description: Additional badge parameters - these are template specific fields
3398
+ which can have various value types
3399
+ type: object
3400
+ type: object
3311
3401
  Meta_Request_Model:
3312
3402
  properties:
3313
3403
  siteId:
@@ -3382,6 +3472,8 @@ components:
3382
3472
  spellCorrection: true
3383
3473
  properties:
3384
3474
  string:
3475
+ description: Query value will search the index for terms that match the
3476
+ query. Will support up to 256 characters.
3385
3477
  type: string
3386
3478
  spellCorrection:
3387
3479
  type: boolean
@@ -3586,6 +3678,9 @@ components:
3586
3678
  type: object
3587
3679
  SearchResponseModelResult_mappings:
3588
3680
  example:
3681
+ badges:
3682
+ - '{}'
3683
+ - '{}'
3589
3684
  core:
3590
3685
  addToCartUrl: addToCartUrl
3591
3686
  rating: 7.061401241503109
@@ -3605,6 +3700,17 @@ components:
3605
3700
  properties:
3606
3701
  core:
3607
3702
  $ref: '#/components/schemas/SearchResponseModelResultCoreMappings'
3703
+ badges:
3704
+ description: List of matching badges for the result
3705
+ items:
3706
+ properties:
3707
+ tag:
3708
+ type: string
3709
+ value:
3710
+ type: string
3711
+ type: object
3712
+ title: Result Badges Array
3713
+ type: array
3608
3714
  type: object
3609
3715
  SearchResponseModelResult_children:
3610
3716
  example:
@@ -3757,6 +3863,105 @@ components:
3757
3863
  defaultPageSize:
3758
3864
  type: number
3759
3865
  type: object
3866
+ MetaResponseModel_badges_locations_overlay:
3867
+ example:
3868
+ left:
3869
+ - name: name
3870
+ description: description
3871
+ label: label
3872
+ - name: name
3873
+ description: description
3874
+ label: label
3875
+ right:
3876
+ - name: name
3877
+ description: description
3878
+ label: label
3879
+ - name: name
3880
+ description: description
3881
+ label: label
3882
+ properties:
3883
+ left:
3884
+ items:
3885
+ $ref: '#/components/schemas/MetaResponseModelBadgeLocation'
3886
+ type: array
3887
+ right:
3888
+ items:
3889
+ $ref: '#/components/schemas/MetaResponseModelBadgeLocation'
3890
+ type: array
3891
+ type: object
3892
+ MetaResponseModel_badges_locations:
3893
+ example:
3894
+ callouts:
3895
+ - name: name
3896
+ description: description
3897
+ label: label
3898
+ - name: name
3899
+ description: description
3900
+ label: label
3901
+ overlay:
3902
+ left:
3903
+ - name: name
3904
+ description: description
3905
+ label: label
3906
+ - name: name
3907
+ description: description
3908
+ label: label
3909
+ right:
3910
+ - name: name
3911
+ description: description
3912
+ label: label
3913
+ - name: name
3914
+ description: description
3915
+ label: label
3916
+ properties:
3917
+ overlay:
3918
+ $ref: '#/components/schemas/MetaResponseModel_badges_locations_overlay'
3919
+ callouts:
3920
+ items:
3921
+ $ref: '#/components/schemas/MetaResponseModelBadgeLocation'
3922
+ type: array
3923
+ type: object
3924
+ MetaResponseModel_badges:
3925
+ example:
3926
+ locations:
3927
+ callouts:
3928
+ - name: name
3929
+ description: description
3930
+ label: label
3931
+ - name: name
3932
+ description: description
3933
+ label: label
3934
+ overlay:
3935
+ left:
3936
+ - name: name
3937
+ description: description
3938
+ label: label
3939
+ - name: name
3940
+ description: description
3941
+ label: label
3942
+ right:
3943
+ - name: name
3944
+ description: description
3945
+ label: label
3946
+ - name: name
3947
+ description: description
3948
+ label: label
3949
+ tags:
3950
+ key:
3951
+ component: component
3952
+ location: location
3953
+ priority: 6.027456183070403
3954
+ parameters:
3955
+ key: '{}'
3956
+ enabled: true
3957
+ properties:
3958
+ locations:
3959
+ $ref: '#/components/schemas/MetaResponseModel_badges_locations'
3960
+ tags:
3961
+ additionalProperties:
3962
+ $ref: '#/components/schemas/MetaResponseModelBadgeTag'
3963
+ type: object
3964
+ type: object
3760
3965
  MetaResponseModelFacetSlider_allOf:
3761
3966
  properties:
3762
3967
  formatSeparator: