@spree/docs 0.1.185 → 0.1.186

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.
@@ -1033,7 +1033,7 @@ paths:
1033
1033
  in: query
1034
1034
  required: false
1035
1035
  description: Comma-separated associations to expand (variants, media, categories,
1036
- option_types, seller)
1036
+ option_types, seller, seller.policies)
1037
1037
  schema:
1038
1038
  type: string
1039
1039
  - name: fields
@@ -1194,8 +1194,9 @@ paths:
1194
1194
  in: query
1195
1195
  required: false
1196
1196
  description: Comma-separated associations to expand (variants, media, categories,
1197
- option_types, prior_price, seller). On a marketplace, `seller` embeds the
1198
- seller public profile; `seller_id` is present without it.
1197
+ option_types, prior_price, seller, seller.policies). On a marketplace, `seller`
1198
+ embeds the seller public profile and `seller.policies` adds their published
1199
+ legal documents; `seller_id` is present without either.
1199
1200
  schema:
1200
1201
  type: string
1201
1202
  - name: fields
@@ -9764,31 +9765,37 @@ paths:
9764
9765
  slug: privacy-policy
9765
9766
  body: ''
9766
9767
  body_html: ''
9768
+ updated_at: '2026-01-15T12:00:00.000Z'
9767
9769
  - id: pol_OIJLhNcSbf
9768
9770
  name: Privacy Policy
9769
9771
  slug: privacy-policy-f4e5666d-52c2-4d89-aec5-cc55d69c7174
9770
9772
  body: We respect your privacy.
9771
9773
  body_html: We respect your privacy.
9774
+ updated_at: '2026-01-15T12:00:00.000Z'
9772
9775
  - id: pol_uw2YK1rnl0
9773
9776
  name: Return Policy
9774
9777
  slug: return-policy
9775
9778
  body: You can return items within 30 days.
9776
9779
  body_html: You can return items within 30 days.
9780
+ updated_at: '2026-01-15T12:00:00.000Z'
9777
9781
  - id: pol_EfhxLZ9ck8
9778
9782
  name: Returns Policy
9779
9783
  slug: returns-policy
9780
9784
  body: ''
9781
9785
  body_html: ''
9786
+ updated_at: '2026-01-15T12:00:00.000Z'
9782
9787
  - id: pol_VqXmZF31wY
9783
9788
  name: Shipping Policy
9784
9789
  slug: shipping-policy
9785
9790
  body: ''
9786
9791
  body_html: ''
9792
+ updated_at: '2026-01-15T12:00:00.000Z'
9787
9793
  - id: pol_UkLWZg9DAJ
9788
9794
  name: Terms of Service
9789
9795
  slug: terms-of-service
9790
9796
  body: ''
9791
9797
  body_html: ''
9798
+ updated_at: '2026-01-15T12:00:00.000Z'
9792
9799
  meta:
9793
9800
  page: 1
9794
9801
  limit: 25
@@ -9868,6 +9875,7 @@ paths:
9868
9875
  slug: return-policy
9869
9876
  body: You can return items within 30 days.
9870
9877
  body_html: You can return items within 30 days.
9878
+ updated_at: '2026-01-15T12:00:00.000Z'
9871
9879
  schema:
9872
9880
  "$ref": "#/components/schemas/Policy"
9873
9881
  '404':
@@ -10992,6 +11000,13 @@ paths:
10992
11000
  description: Filter by name
10993
11001
  schema:
10994
11002
  type: string
11003
+ - name: expand
11004
+ in: query
11005
+ required: false
11006
+ description: Comma-separated associations to expand (`policies`). A seller's
11007
+ policies are their own published legal documents.
11008
+ schema:
11009
+ type: string
10995
11010
  - name: fields
10996
11011
  in: query
10997
11012
  required: false
@@ -11066,6 +11081,13 @@ paths:
11066
11081
  description: Seller slug (e.g., sparks-audio) or prefixed ID (e.g., sel_abc123)
11067
11082
  schema:
11068
11083
  type: string
11084
+ - name: expand
11085
+ in: query
11086
+ required: false
11087
+ description: Comma-separated associations to expand (`policies`). A seller's
11088
+ policies are their own published legal documents.
11089
+ schema:
11090
+ type: string
11069
11091
  - name: fields
11070
11092
  in: query
11071
11093
  required: false
@@ -13680,12 +13702,15 @@ components:
13680
13702
  body_html:
13681
13703
  type: string
13682
13704
  nullable: true
13705
+ updated_at:
13706
+ type: string
13683
13707
  required:
13684
13708
  - id
13685
13709
  - name
13686
13710
  - slug
13687
13711
  - body
13688
13712
  - body_html
13713
+ - updated_at
13689
13714
  x-typelizer: true
13690
13715
  PriceHistory:
13691
13716
  type: object
@@ -14257,6 +14282,10 @@ components:
14257
14282
  cover_photo_url:
14258
14283
  type: string
14259
14284
  nullable: true
14285
+ policies:
14286
+ type: array
14287
+ items:
14288
+ "$ref": "#/components/schemas/Policy"
14260
14289
  required:
14261
14290
  - id
14262
14291
  - name
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@spree/docs",
3
- "version": "0.1.185",
3
+ "version": "0.1.186",
4
4
  "description": "Spree Commerce developer documentation for AI agents and local reference",
5
5
  "type": "module",
6
6
  "license": "CC-BY-4.0",