@surfiran/public-api-client 0.11.0 → 0.11.2
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/dist/types.d.ts +16 -29
- package/package.json +1 -1
package/dist/types.d.ts
CHANGED
|
@@ -92,43 +92,30 @@ 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` (
|
|
96
|
-
* `20260804_tour_packages_travel_format.sql`,
|
|
97
|
-
*
|
|
98
|
-
* published, never a guessed default. Optional so a response
|
|
99
|
-
* before this field existed still typechecks. "Tailor-Made" is not
|
|
100
|
-
* here — it has no fixed tour to attach to; it is the `/inquire`
|
|
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
|
/**
|
|
104
105
|
* True when staff have flagged this tour as a "Signature Trip" from
|
|
105
|
-
* `tour_packages.is_signature`
|
|
106
|
-
* `20260820_tour_packages_is_signature.sql`,
|
|
107
|
-
*
|
|
108
|
-
*
|
|
109
|
-
*
|
|
110
|
-
* still
|
|
106
|
+
* `tour_packages.is_signature`
|
|
107
|
+
* (`20260820_tour_packages_is_signature.sql`, applied in production on
|
|
108
|
+
* 2026-08-23 and in use). Independent of the homepage's positional
|
|
109
|
+
* "Signature Iran Tours" grid, which does not read this column. Optional so
|
|
110
|
+
* a response projected before this field existed still typechecks, and so an
|
|
111
|
+
* environment predating the migration still answers; 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`),
|