@peektravel/app-utilities 0.9.3 → 0.9.5

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/llms.txt CHANGED
@@ -137,9 +137,9 @@ final authority and may still reject the request.
137
137
  `searchByTimeslot(id, opts?)`, `getGuests(id)`,
138
138
  `getMetaData(id)` → `MetaData[]` (booking custom-field responses, `[]` when not
139
139
  found; each `MetaData` carries a typed `value: MetaDataValue | null` discriminated
140
- union — every variant also has a display-safe `displayValue` string (the
141
- `html` variant's is HTML-escaped); returns only fields whose slug starts with
142
- `integrator:<integrator>:`,
140
+ union plus a display-safe `displayValue` string on the `MetaData` itself (the
141
+ `html` value's is HTML-escaped); returns only fields whose slug starts with
142
+ `integrators:<integrator>:`,
143
143
  that prefix stripped). The `integrator` arg on the accessor scopes
144
144
  `getMetaData` — **do not set it** unless Peek engineering created a custom
145
145
  integrator id for this integration.
@@ -166,6 +166,12 @@ final authority and may still reject the request.
166
166
  `getAllReviewSummaries()` → `ProductReviewSummary[]` (one per activity:
167
167
  `avgRating` — decimal, `null` when no ratings — plus `countTotal` and per-star
168
168
  `countOneStar`…`countFiveStar`). No PII; unaffected by `fullCustomerAccess`.
169
+ - `getCustomQuestionService()` — `getAll()` returns every custom question defined
170
+ on the account (across all activities) as the same `CustomQuestion[]` shape as
171
+ `getProductService().getCustomQuestions(productId)`. The account-wide catalog
172
+ carries no per-activity config, so `order` is `0` and `isRequired` is `false` on
173
+ every entry. Question definitions, not answers — no PII; unaffected by
174
+ `fullCustomerAccess`.
169
175
 
170
176
  ## Sibling accessors (CNG, ACME — REST, not GraphQL)
171
177
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@peektravel/app-utilities",
3
- "version": "0.9.3",
3
+ "version": "0.9.5",
4
4
  "description": "GraphQL JS mapping utilities extracted from the Peek Pro Autopilot connector.",
5
5
  "license": "MIT",
6
6
  "repository": {