@reblu/site-contracts 1.27.0 → 1.28.0

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/CHANGELOG.md CHANGED
@@ -1,5 +1,11 @@
1
1
  # @reblu/site-contracts
2
2
 
3
+ ## 1.28.0
4
+
5
+ ### Minor Changes
6
+
7
+ - 275adaf: REB-1201: `TrustBadgeType` gains `'CONSUMER_ARBITRATION'` (adhesion to the consumer arbitration system) and `TrustBadge` gains an optional `adhesionNumber: string | null` — the official adhesion number of that badge, `null` for every other type. `client.trustBadges.list({ type: 'CONSUMER_ARBITRATION' })` fetches only it. A SITE with an exhaustive `Record<TrustBadgeType, …>` adds the new key.
8
+
3
9
  ## 1.27.0
4
10
 
5
11
  ### Minor Changes
package/dist/index.d.cts CHANGED
@@ -276,9 +276,9 @@ export type SiteManifestSurfaceValue = true | { path?: string | undefined;}
276
276
 
277
277
  export type TaxType = "IVA" | "IGIC" | "RETENTION" | "OTHER"
278
278
 
279
- export type TrustBadge = { id: string; name: string; logoUrl: string | null; url: string | null; type: "PARTNER" | "INSURANCE" | "SUBVENTION" | "CERTIFICATION" | "AWARD"; sortOrder: number;}
279
+ export type TrustBadge = { id: string; name: string; logoUrl: string | null; url: string | null; type: "PARTNER" | "INSURANCE" | "SUBVENTION" | "CERTIFICATION" | "AWARD" | "CONSUMER_ARBITRATION"; sortOrder: number; adhesionNumber?: string | null | undefined;}
280
280
 
281
- export type TrustBadgeType = "PARTNER" | "INSURANCE" | "SUBVENTION" | "CERTIFICATION" | "AWARD"
281
+ export type TrustBadgeType = "PARTNER" | "INSURANCE" | "SUBVENTION" | "CERTIFICATION" | "AWARD" | "CONSUMER_ARBITRATION"
282
282
 
283
283
  export type WithdrawalRequestInput = { orderReference: string; email: string; items: string; captcha: string; name?: string | undefined; reason?: string | undefined;}
284
284
 
package/dist/index.d.ts CHANGED
@@ -276,9 +276,9 @@ export type SiteManifestSurfaceValue = true | { path?: string | undefined;}
276
276
 
277
277
  export type TaxType = "IVA" | "IGIC" | "RETENTION" | "OTHER"
278
278
 
279
- export type TrustBadge = { id: string; name: string; logoUrl: string | null; url: string | null; type: "PARTNER" | "INSURANCE" | "SUBVENTION" | "CERTIFICATION" | "AWARD"; sortOrder: number;}
279
+ export type TrustBadge = { id: string; name: string; logoUrl: string | null; url: string | null; type: "PARTNER" | "INSURANCE" | "SUBVENTION" | "CERTIFICATION" | "AWARD" | "CONSUMER_ARBITRATION"; sortOrder: number; adhesionNumber?: string | null | undefined;}
280
280
 
281
- export type TrustBadgeType = "PARTNER" | "INSURANCE" | "SUBVENTION" | "CERTIFICATION" | "AWARD"
281
+ export type TrustBadgeType = "PARTNER" | "INSURANCE" | "SUBVENTION" | "CERTIFICATION" | "AWARD" | "CONSUMER_ARBITRATION"
282
282
 
283
283
  export type WithdrawalRequestInput = { orderReference: string; email: string; items: string; captcha: string; name?: string | undefined; reason?: string | undefined;}
284
284
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@reblu/site-contracts",
3
- "version": "1.27.0",
3
+ "version": "1.28.0",
4
4
  "private": false,
5
5
  "description": "Public, dependency-free TypeScript types for the Reblu SITE API (no Zod, no Prisma at runtime; one runtime value: DATA_REQUEST_TYPES).",
6
6
  "license": "Apache-2.0",