@surfiran/public-api-client 0.11.0 → 0.11.1

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.
Files changed (2) hide show
  1. package/dist/types.d.ts +10 -23
  2. package/package.json +1 -1
package/dist/types.d.ts CHANGED
@@ -92,12 +92,13 @@ export type PublicTourListItem = {
92
92
  beyondIran?: boolean;
93
93
  /**
94
94
  * How this route is run — `"Small Group"` or `"Private"` — from
95
- * `tour_packages.travel_format` (draft migration
96
- * `20260804_tour_packages_travel_format.sql`, not yet executed in
97
- * production, so this is `null` for every tour today). Null means not
98
- * published, never a guessed default. Optional so a response projected
99
- * before this field existed still typechecks. "Tailor-Made" is not a value
100
- * here — it has no fixed tour to attach to; it is the `/inquire` flow.
95
+ * `tour_packages.travel_format` (migration
96
+ * `20260804_tour_packages_travel_format.sql`, applied in production since
97
+ * 2026-08-27, so this carries a real value wherever staff have set one).
98
+ * Null means not published, never a guessed default. Optional so a response
99
+ * projected before this field existed still typechecks. "Tailor-Made" is not
100
+ * a value here — it has no fixed tour to attach to; it is the `/inquire`
101
+ * flow.
101
102
  */
102
103
  travelFormat?: string | null;
103
104
  /**
@@ -110,25 +111,11 @@ export type PublicTourListItem = {
110
111
  * still typechecks; absent means false.
111
112
  */
112
113
  isSignature?: boolean;
113
- /**
114
- * Owner directive 2026-08-07 (full Home design application): staff-authored
115
- * "was" price display for a current deal
116
- * (`tour_packages.previous_price_display`, draft migration
117
- * `20260807_tour_packages_deal_pricing_group_size.sql`), e.g.
118
- * `"From 2220 EUR"`. Null when no deal is published; never computed from
119
- * commercial internals. Optional so a response projected before this field
120
- * existed still typechecks.
121
- */
114
+ /** Reserved for future backend-verified historical price data. Currently always null. */
122
115
  previousPriceDisplay?: string | null;
123
- /**
124
- * Staff-authored deal ribbon label (`tour_packages.deal_label`), e.g.
125
- * `"−15% off"` or `"Sale"`. Null when no deal is published.
126
- */
116
+ /** Reserved for a future backend-verified promotion label. Currently always null. */
127
117
  dealLabel?: string | null;
128
- /**
129
- * Staff-authored savings pill text (`tour_packages.savings_note`), e.g.
130
- * `"Save €330 · booked by 31 Aug"`. Null when no deal is published.
131
- */
118
+ /** Reserved for future backend-verified savings copy. Currently always null. */
132
119
  savingsNote?: string | null;
133
120
  /**
134
121
  * Published tour-level maximum group size (`tour_packages.max_group_size`),
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@surfiran/public-api-client",
3
- "version": "0.11.0",
3
+ "version": "0.11.1",
4
4
  "description": "TypeScript types and client for SURFIRAN CRM Public API V1",
5
5
  "type": "module",
6
6
  "engines": {