@cimplify/sdk 0.67.0 → 0.68.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.
Files changed (40) hide show
  1. package/dist/advanced.d.mts +1 -1
  2. package/dist/advanced.d.ts +1 -1
  3. package/dist/advanced.js +20 -20
  4. package/dist/advanced.mjs +1 -1
  5. package/dist/{chunk-SSLFZPAI.js → chunk-5HAUJBOK.js} +35 -35
  6. package/dist/{chunk-JAPCAZN4.mjs → chunk-KNPE4WCQ.mjs} +1 -1
  7. package/dist/{chunk-SH6HJW4A.js → chunk-NGQCWFKF.js} +2 -2
  8. package/dist/{chunk-QQMDEGAK.mjs → chunk-SOV4H6PQ.mjs} +177 -50
  9. package/dist/{chunk-FNK6UZOE.mjs → chunk-TAKORJP4.mjs} +1 -1
  10. package/dist/{chunk-3QSW33RG.js → chunk-WCSAZRNC.js} +179 -49
  11. package/dist/{client-Dd82KQ_G.d.mts → client-CBE7ksYC.d.mts} +1 -1
  12. package/dist/{client-DVFQoDtI.d.ts → client-CfeQRwhl.d.ts} +24 -2
  13. package/dist/{client-CQlEWH5j.d.ts → client-DlXfZy7N.d.ts} +1 -1
  14. package/dist/{client-ByI_3jfL.d.mts → client-Dyo3dvNy.d.mts} +24 -2
  15. package/dist/index.d.mts +2 -2
  16. package/dist/index.d.ts +2 -2
  17. package/dist/index.js +89 -72
  18. package/dist/index.mjs +15 -10
  19. package/dist/react.d.mts +43 -40
  20. package/dist/react.d.ts +43 -40
  21. package/dist/react.js +251 -120
  22. package/dist/react.mjs +237 -106
  23. package/dist/server.d.mts +2 -2
  24. package/dist/server.d.ts +2 -2
  25. package/dist/server.js +7 -7
  26. package/dist/server.mjs +2 -2
  27. package/dist/{sign-in-RFuWZOgF.d.mts → sign-in-DQlIdqsi.d.mts} +8 -0
  28. package/dist/{sign-in-RFuWZOgF.d.ts → sign-in-DQlIdqsi.d.ts} +8 -0
  29. package/dist/styles.css +1 -1
  30. package/dist/testing/suite.d.mts +2 -2
  31. package/dist/testing/suite.d.ts +2 -2
  32. package/dist/testing/suite.js +22 -22
  33. package/dist/testing/suite.mjs +3 -3
  34. package/dist/testing.d.mts +17 -17
  35. package/dist/testing.d.ts +17 -17
  36. package/dist/testing.js +78 -78
  37. package/dist/testing.mjs +4 -4
  38. package/package.json +1 -1
  39. package/registry/index.json +0 -9
  40. package/registry/account.json +0 -15
package/dist/index.js CHANGED
@@ -2,8 +2,8 @@
2
2
 
3
3
  var chunkIQLJJW2H_js = require('./chunk-IQLJJW2H.js');
4
4
  var chunkL5GKVQVJ_js = require('./chunk-L5GKVQVJ.js');
5
- var chunkSSLFZPAI_js = require('./chunk-SSLFZPAI.js');
6
- var chunk3QSW33RG_js = require('./chunk-3QSW33RG.js');
5
+ var chunk5HAUJBOK_js = require('./chunk-5HAUJBOK.js');
6
+ var chunkWCSAZRNC_js = require('./chunk-WCSAZRNC.js');
7
7
  var chunk7Y2O3E4D_js = require('./chunk-7Y2O3E4D.js');
8
8
  var chunkXA3ZNR75_js = require('./chunk-XA3ZNR75.js');
9
9
  require('./chunk-OWW5GUSB.js');
@@ -11,6 +11,11 @@ require('./chunk-OWW5GUSB.js');
11
11
  // src/silent-sign-in.ts
12
12
  var DEFAULT_SCOPE = "openid email phone profile";
13
13
  var DEFAULT_TIMEOUT_MS = 12e3;
14
+ var RESPONSE_TYPE_CODE = "code";
15
+ var RESPONSE_MODE_WEB_MESSAGE = "web_message";
16
+ var PROMPT_NONE = "none";
17
+ var AUTHORIZATION_RESPONSE_MESSAGE_TYPE = "authorization_response";
18
+ var ERROR_LOGIN_REQUIRED = "login_required";
14
19
  async function signInSilent(opts) {
15
20
  const sessionUri = opts.sessionUri ?? "/auth/session";
16
21
  try {
@@ -22,13 +27,13 @@ async function signInSilent(opts) {
22
27
  } catch {
23
28
  }
24
29
  const callbackUri = opts.callbackUri ?? "/auth/callback";
25
- const authorizeEndpoint = opts.authUrl ? `${opts.authUrl.replace(/\/$/, "")}/oauth/authorize` : await chunk3QSW33RG_js.getAuthorizationEndpoint(opts.issuer ?? chunk3QSW33RG_js.DEFAULT_ISSUER);
26
- const pkce = await chunk3QSW33RG_js.generatePkce();
27
- const state = chunk3QSW33RG_js.generateState();
30
+ const authorizeEndpoint = opts.authUrl ? `${opts.authUrl.replace(/\/$/, "")}/oauth/authorize` : await chunkWCSAZRNC_js.getAuthorizationEndpoint(opts.issuer ?? chunkWCSAZRNC_js.DEFAULT_ISSUER);
31
+ const pkce = await chunkWCSAZRNC_js.generatePkce();
32
+ const state = chunkWCSAZRNC_js.generateState();
28
33
  const params = new URLSearchParams({
29
- response_type: "code",
30
- response_mode: "web_message",
31
- prompt: "none",
34
+ response_type: RESPONSE_TYPE_CODE,
35
+ response_mode: RESPONSE_MODE_WEB_MESSAGE,
36
+ prompt: PROMPT_NONE,
32
37
  client_id: opts.clientId,
33
38
  redirect_uri: opts.redirectUri,
34
39
  scope: opts.scope ?? DEFAULT_SCOPE,
@@ -62,14 +67,14 @@ async function signInSilent(opts) {
62
67
  const handler = async (event) => {
63
68
  if (event.origin !== expectedOrigin) return;
64
69
  const data = event.data;
65
- if (!data || typeof data !== "object" || data.type !== "authorization_response") return;
70
+ if (!data || typeof data !== "object" || data.type !== AUTHORIZATION_RESPONSE_MESSAGE_TYPE) return;
66
71
  const response = data.response;
67
- if (response.error === "login_required") {
68
- finish({ ok: false, reason: "login_required" });
72
+ if (response.error === ERROR_LOGIN_REQUIRED) {
73
+ finish({ ok: false, reason: ERROR_LOGIN_REQUIRED });
69
74
  return;
70
75
  }
71
76
  if (response.error || !response.code) {
72
- finish({ ok: false, reason: "login_required" });
77
+ finish({ ok: false, reason: ERROR_LOGIN_REQUIRED });
73
78
  return;
74
79
  }
75
80
  if (response.state !== state) {
@@ -150,243 +155,255 @@ Object.defineProperty(exports, "resolvePhoneCountryCode", {
150
155
  });
151
156
  Object.defineProperty(exports, "ActivityService", {
152
157
  enumerable: true,
153
- get: function () { return chunkSSLFZPAI_js.ActivityService; }
158
+ get: function () { return chunk5HAUJBOK_js.ActivityService; }
154
159
  });
155
160
  Object.defineProperty(exports, "CimplifyClient", {
156
161
  enumerable: true,
157
- get: function () { return chunkSSLFZPAI_js.CimplifyClient; }
162
+ get: function () { return chunk5HAUJBOK_js.CimplifyClient; }
158
163
  });
159
164
  Object.defineProperty(exports, "DeliveryService", {
160
165
  enumerable: true,
161
- get: function () { return chunkSSLFZPAI_js.DeliveryService; }
166
+ get: function () { return chunk5HAUJBOK_js.DeliveryService; }
162
167
  });
163
168
  Object.defineProperty(exports, "PlacesService", {
164
169
  enumerable: true,
165
- get: function () { return chunkSSLFZPAI_js.PlacesService; }
170
+ get: function () { return chunk5HAUJBOK_js.PlacesService; }
166
171
  });
167
172
  Object.defineProperty(exports, "SubscriptionService", {
168
173
  enumerable: true,
169
- get: function () { return chunkSSLFZPAI_js.SubscriptionService; }
174
+ get: function () { return chunk5HAUJBOK_js.SubscriptionService; }
170
175
  });
171
176
  Object.defineProperty(exports, "SupportService", {
172
177
  enumerable: true,
173
- get: function () { return chunkSSLFZPAI_js.SupportService; }
178
+ get: function () { return chunk5HAUJBOK_js.SupportService; }
174
179
  });
175
180
  Object.defineProperty(exports, "UploadService", {
176
181
  enumerable: true,
177
- get: function () { return chunkSSLFZPAI_js.UploadService; }
182
+ get: function () { return chunk5HAUJBOK_js.UploadService; }
178
183
  });
179
184
  Object.defineProperty(exports, "createCimplifyClient", {
180
185
  enumerable: true,
181
- get: function () { return chunkSSLFZPAI_js.createCimplifyClient; }
186
+ get: function () { return chunk5HAUJBOK_js.createCimplifyClient; }
182
187
  });
183
188
  Object.defineProperty(exports, "AUTHORIZATION_TYPE", {
184
189
  enumerable: true,
185
- get: function () { return chunk3QSW33RG_js.AUTHORIZATION_TYPE; }
190
+ get: function () { return chunkWCSAZRNC_js.AUTHORIZATION_TYPE; }
186
191
  });
187
192
  Object.defineProperty(exports, "AUTH_MUTATION", {
188
193
  enumerable: true,
189
- get: function () { return chunk3QSW33RG_js.AUTH_MUTATION; }
194
+ get: function () { return chunkWCSAZRNC_js.AUTH_MUTATION; }
190
195
  });
191
196
  Object.defineProperty(exports, "AuthService", {
192
197
  enumerable: true,
193
- get: function () { return chunk3QSW33RG_js.AuthService; }
198
+ get: function () { return chunkWCSAZRNC_js.AuthService; }
194
199
  });
195
200
  Object.defineProperty(exports, "BusinessService", {
196
201
  enumerable: true,
197
- get: function () { return chunk3QSW33RG_js.BusinessService; }
202
+ get: function () { return chunkWCSAZRNC_js.BusinessService; }
198
203
  });
199
204
  Object.defineProperty(exports, "CHECKOUT_MODE", {
200
205
  enumerable: true,
201
- get: function () { return chunk3QSW33RG_js.CHECKOUT_MODE; }
206
+ get: function () { return chunkWCSAZRNC_js.CHECKOUT_MODE; }
202
207
  });
203
208
  Object.defineProperty(exports, "CHECKOUT_MUTATION", {
204
209
  enumerable: true,
205
- get: function () { return chunk3QSW33RG_js.CHECKOUT_MUTATION; }
210
+ get: function () { return chunkWCSAZRNC_js.CHECKOUT_MUTATION; }
206
211
  });
207
212
  Object.defineProperty(exports, "CHECKOUT_STEP", {
208
213
  enumerable: true,
209
- get: function () { return chunk3QSW33RG_js.CHECKOUT_STEP; }
214
+ get: function () { return chunkWCSAZRNC_js.CHECKOUT_STEP; }
210
215
  });
211
216
  Object.defineProperty(exports, "CONTACT_TYPE", {
212
217
  enumerable: true,
213
- get: function () { return chunk3QSW33RG_js.CONTACT_TYPE; }
218
+ get: function () { return chunkWCSAZRNC_js.CONTACT_TYPE; }
214
219
  });
215
220
  Object.defineProperty(exports, "CartOperations", {
216
221
  enumerable: true,
217
- get: function () { return chunk3QSW33RG_js.CartOperations; }
222
+ get: function () { return chunkWCSAZRNC_js.CartOperations; }
218
223
  });
219
224
  Object.defineProperty(exports, "CatalogueQueries", {
220
225
  enumerable: true,
221
- get: function () { return chunk3QSW33RG_js.CatalogueQueries; }
226
+ get: function () { return chunkWCSAZRNC_js.CatalogueQueries; }
222
227
  });
223
228
  Object.defineProperty(exports, "CheckoutOperations", {
224
229
  enumerable: true,
225
- get: function () { return chunk3QSW33RG_js.CheckoutService; }
230
+ get: function () { return chunkWCSAZRNC_js.CheckoutService; }
226
231
  });
227
232
  Object.defineProperty(exports, "CheckoutService", {
228
233
  enumerable: true,
229
- get: function () { return chunk3QSW33RG_js.CheckoutService; }
234
+ get: function () { return chunkWCSAZRNC_js.CheckoutService; }
230
235
  });
231
236
  Object.defineProperty(exports, "CimplifyElement", {
232
237
  enumerable: true,
233
- get: function () { return chunk3QSW33RG_js.CimplifyElement; }
238
+ get: function () { return chunkWCSAZRNC_js.CimplifyElement; }
234
239
  });
235
240
  Object.defineProperty(exports, "CimplifyElements", {
236
241
  enumerable: true,
237
- get: function () { return chunk3QSW33RG_js.CimplifyElements; }
242
+ get: function () { return chunkWCSAZRNC_js.CimplifyElements; }
238
243
  });
239
244
  Object.defineProperty(exports, "DEFAULT_COUNTRY", {
240
245
  enumerable: true,
241
- get: function () { return chunk3QSW33RG_js.DEFAULT_COUNTRY; }
246
+ get: function () { return chunkWCSAZRNC_js.DEFAULT_COUNTRY; }
242
247
  });
243
248
  Object.defineProperty(exports, "DEFAULT_CURRENCY", {
244
249
  enumerable: true,
245
- get: function () { return chunk3QSW33RG_js.DEFAULT_CURRENCY; }
250
+ get: function () { return chunkWCSAZRNC_js.DEFAULT_CURRENCY; }
246
251
  });
247
252
  Object.defineProperty(exports, "DEVICE_TYPE", {
248
253
  enumerable: true,
249
- get: function () { return chunk3QSW33RG_js.DEVICE_TYPE; }
254
+ get: function () { return chunkWCSAZRNC_js.DEVICE_TYPE; }
255
+ });
256
+ Object.defineProperty(exports, "ELEMENTS_AUTH_CONTACT_TYPES", {
257
+ enumerable: true,
258
+ get: function () { return chunkWCSAZRNC_js.ELEMENTS_AUTH_CONTACT_TYPES; }
259
+ });
260
+ Object.defineProperty(exports, "ELEMENTS_AUTH_MODES", {
261
+ enumerable: true,
262
+ get: function () { return chunkWCSAZRNC_js.ELEMENTS_AUTH_MODES; }
263
+ });
264
+ Object.defineProperty(exports, "ELEMENTS_AUTH_PROMPTS", {
265
+ enumerable: true,
266
+ get: function () { return chunkWCSAZRNC_js.ELEMENTS_AUTH_PROMPTS; }
250
267
  });
251
268
  Object.defineProperty(exports, "ELEMENT_TYPES", {
252
269
  enumerable: true,
253
- get: function () { return chunk3QSW33RG_js.ELEMENT_TYPES; }
270
+ get: function () { return chunkWCSAZRNC_js.ELEMENT_TYPES; }
254
271
  });
255
272
  Object.defineProperty(exports, "EVENT_TYPES", {
256
273
  enumerable: true,
257
- get: function () { return chunk3QSW33RG_js.EVENT_TYPES; }
274
+ get: function () { return chunkWCSAZRNC_js.EVENT_TYPES; }
258
275
  });
259
276
  Object.defineProperty(exports, "FxService", {
260
277
  enumerable: true,
261
- get: function () { return chunk3QSW33RG_js.FxService; }
278
+ get: function () { return chunkWCSAZRNC_js.FxService; }
262
279
  });
263
280
  Object.defineProperty(exports, "InventoryService", {
264
281
  enumerable: true,
265
- get: function () { return chunk3QSW33RG_js.InventoryService; }
282
+ get: function () { return chunkWCSAZRNC_js.InventoryService; }
266
283
  });
267
284
  Object.defineProperty(exports, "LINK_MUTATION", {
268
285
  enumerable: true,
269
- get: function () { return chunk3QSW33RG_js.LINK_MUTATION; }
286
+ get: function () { return chunkWCSAZRNC_js.LINK_MUTATION; }
270
287
  });
271
288
  Object.defineProperty(exports, "LINK_QUERY", {
272
289
  enumerable: true,
273
- get: function () { return chunk3QSW33RG_js.LINK_QUERY; }
290
+ get: function () { return chunkWCSAZRNC_js.LINK_QUERY; }
274
291
  });
275
292
  Object.defineProperty(exports, "LinkService", {
276
293
  enumerable: true,
277
- get: function () { return chunk3QSW33RG_js.LinkService; }
294
+ get: function () { return chunkWCSAZRNC_js.LinkService; }
278
295
  });
279
296
  Object.defineProperty(exports, "LiteService", {
280
297
  enumerable: true,
281
- get: function () { return chunk3QSW33RG_js.LiteService; }
298
+ get: function () { return chunkWCSAZRNC_js.LiteService; }
282
299
  });
283
300
  Object.defineProperty(exports, "MESSAGE_TYPES", {
284
301
  enumerable: true,
285
- get: function () { return chunk3QSW33RG_js.MESSAGE_TYPES; }
302
+ get: function () { return chunkWCSAZRNC_js.MESSAGE_TYPES; }
286
303
  });
287
304
  Object.defineProperty(exports, "MOBILE_MONEY_PROVIDER", {
288
305
  enumerable: true,
289
- get: function () { return chunk3QSW33RG_js.MOBILE_MONEY_PROVIDER; }
306
+ get: function () { return chunkWCSAZRNC_js.MOBILE_MONEY_PROVIDER; }
290
307
  });
291
308
  Object.defineProperty(exports, "ORDER_MUTATION", {
292
309
  enumerable: true,
293
- get: function () { return chunk3QSW33RG_js.ORDER_MUTATION; }
310
+ get: function () { return chunkWCSAZRNC_js.ORDER_MUTATION; }
294
311
  });
295
312
  Object.defineProperty(exports, "ORDER_TYPE", {
296
313
  enumerable: true,
297
- get: function () { return chunk3QSW33RG_js.ORDER_TYPE; }
314
+ get: function () { return chunkWCSAZRNC_js.ORDER_TYPE; }
298
315
  });
299
316
  Object.defineProperty(exports, "OrderQueries", {
300
317
  enumerable: true,
301
- get: function () { return chunk3QSW33RG_js.OrderQueries; }
318
+ get: function () { return chunkWCSAZRNC_js.OrderQueries; }
302
319
  });
303
320
  Object.defineProperty(exports, "PAYMENT_METHOD", {
304
321
  enumerable: true,
305
- get: function () { return chunk3QSW33RG_js.PAYMENT_METHOD; }
322
+ get: function () { return chunkWCSAZRNC_js.PAYMENT_METHOD; }
306
323
  });
307
324
  Object.defineProperty(exports, "PAYMENT_MUTATION", {
308
325
  enumerable: true,
309
- get: function () { return chunk3QSW33RG_js.PAYMENT_MUTATION; }
326
+ get: function () { return chunkWCSAZRNC_js.PAYMENT_MUTATION; }
310
327
  });
311
328
  Object.defineProperty(exports, "PAYMENT_STATE", {
312
329
  enumerable: true,
313
- get: function () { return chunk3QSW33RG_js.PAYMENT_STATE; }
330
+ get: function () { return chunkWCSAZRNC_js.PAYMENT_STATE; }
314
331
  });
315
332
  Object.defineProperty(exports, "PICKUP_TIME_TYPE", {
316
333
  enumerable: true,
317
- get: function () { return chunk3QSW33RG_js.PICKUP_TIME_TYPE; }
334
+ get: function () { return chunkWCSAZRNC_js.PICKUP_TIME_TYPE; }
318
335
  });
319
336
  Object.defineProperty(exports, "SchedulingService", {
320
337
  enumerable: true,
321
- get: function () { return chunk3QSW33RG_js.SchedulingService; }
338
+ get: function () { return chunkWCSAZRNC_js.SchedulingService; }
322
339
  });
323
340
  Object.defineProperty(exports, "combine", {
324
341
  enumerable: true,
325
- get: function () { return chunk3QSW33RG_js.combine; }
342
+ get: function () { return chunkWCSAZRNC_js.combine; }
326
343
  });
327
344
  Object.defineProperty(exports, "combineObject", {
328
345
  enumerable: true,
329
- get: function () { return chunk3QSW33RG_js.combineObject; }
346
+ get: function () { return chunkWCSAZRNC_js.combineObject; }
330
347
  });
331
348
  Object.defineProperty(exports, "createElements", {
332
349
  enumerable: true,
333
- get: function () { return chunk3QSW33RG_js.createElements; }
350
+ get: function () { return chunkWCSAZRNC_js.createElements; }
334
351
  });
335
352
  Object.defineProperty(exports, "err", {
336
353
  enumerable: true,
337
- get: function () { return chunk3QSW33RG_js.err; }
354
+ get: function () { return chunkWCSAZRNC_js.err; }
338
355
  });
339
356
  Object.defineProperty(exports, "flatMap", {
340
357
  enumerable: true,
341
- get: function () { return chunk3QSW33RG_js.flatMap; }
358
+ get: function () { return chunkWCSAZRNC_js.flatMap; }
342
359
  });
343
360
  Object.defineProperty(exports, "fromPromise", {
344
361
  enumerable: true,
345
- get: function () { return chunk3QSW33RG_js.fromPromise; }
362
+ get: function () { return chunkWCSAZRNC_js.fromPromise; }
346
363
  });
347
364
  Object.defineProperty(exports, "generateIdempotencyKey", {
348
365
  enumerable: true,
349
- get: function () { return chunk3QSW33RG_js.generateIdempotencyKey; }
366
+ get: function () { return chunkWCSAZRNC_js.generateIdempotencyKey; }
350
367
  });
351
368
  Object.defineProperty(exports, "getOrElse", {
352
369
  enumerable: true,
353
- get: function () { return chunk3QSW33RG_js.getOrElse; }
370
+ get: function () { return chunkWCSAZRNC_js.getOrElse; }
354
371
  });
355
372
  Object.defineProperty(exports, "isErr", {
356
373
  enumerable: true,
357
- get: function () { return chunk3QSW33RG_js.isErr; }
374
+ get: function () { return chunkWCSAZRNC_js.isErr; }
358
375
  });
359
376
  Object.defineProperty(exports, "isOk", {
360
377
  enumerable: true,
361
- get: function () { return chunk3QSW33RG_js.isOk; }
378
+ get: function () { return chunkWCSAZRNC_js.isOk; }
362
379
  });
363
380
  Object.defineProperty(exports, "mapError", {
364
381
  enumerable: true,
365
- get: function () { return chunk3QSW33RG_js.mapError; }
382
+ get: function () { return chunkWCSAZRNC_js.mapError; }
366
383
  });
367
384
  Object.defineProperty(exports, "mapResult", {
368
385
  enumerable: true,
369
- get: function () { return chunk3QSW33RG_js.mapResult; }
386
+ get: function () { return chunkWCSAZRNC_js.mapResult; }
370
387
  });
371
388
  Object.defineProperty(exports, "ok", {
372
389
  enumerable: true,
373
- get: function () { return chunk3QSW33RG_js.ok; }
390
+ get: function () { return chunkWCSAZRNC_js.ok; }
374
391
  });
375
392
  Object.defineProperty(exports, "startSignIn", {
376
393
  enumerable: true,
377
- get: function () { return chunk3QSW33RG_js.startSignIn; }
394
+ get: function () { return chunkWCSAZRNC_js.startSignIn; }
378
395
  });
379
396
  Object.defineProperty(exports, "toNullable", {
380
397
  enumerable: true,
381
- get: function () { return chunk3QSW33RG_js.toNullable; }
398
+ get: function () { return chunkWCSAZRNC_js.toNullable; }
382
399
  });
383
400
  Object.defineProperty(exports, "tryCatch", {
384
401
  enumerable: true,
385
- get: function () { return chunk3QSW33RG_js.tryCatch; }
402
+ get: function () { return chunkWCSAZRNC_js.tryCatch; }
386
403
  });
387
404
  Object.defineProperty(exports, "unwrap", {
388
405
  enumerable: true,
389
- get: function () { return chunk3QSW33RG_js.unwrap; }
406
+ get: function () { return chunkWCSAZRNC_js.unwrap; }
390
407
  });
391
408
  Object.defineProperty(exports, "CURRENCY_SYMBOLS", {
392
409
  enumerable: true,
package/dist/index.mjs CHANGED
@@ -1,8 +1,8 @@
1
1
  export { CIMPLIFY_CDN_HOSTS, DEFAULT_CDN_BASE_URL, DURATION_UNIT, INPUT_FIELD_TYPE, PRODUCT_TYPE, RENDER_HINT, allGalleryImages, assetUrl, getVariantDisplayName, isCimplifyAsset, resolveGallery } from './chunk-E6T5VJMG.mjs';
2
2
  export { isValidPhoneForContext, normalizePhoneToE164, resolvePhoneCountryCode } from './chunk-YOIVZ6OA.mjs';
3
- export { ActivityService, CimplifyClient, DeliveryService, PlacesService, SubscriptionService, SupportService, UploadService, createCimplifyClient } from './chunk-JAPCAZN4.mjs';
4
- import { getAuthorizationEndpoint, DEFAULT_ISSUER, generatePkce, generateState } from './chunk-QQMDEGAK.mjs';
5
- export { AUTHORIZATION_TYPE, AUTH_MUTATION, AuthService, BusinessService, CHECKOUT_MODE, CHECKOUT_MUTATION, CHECKOUT_STEP, CONTACT_TYPE, CartOperations, CatalogueQueries, CheckoutService as CheckoutOperations, CheckoutService, CimplifyElement, CimplifyElements, DEFAULT_COUNTRY, DEFAULT_CURRENCY, DEVICE_TYPE, ELEMENT_TYPES, EVENT_TYPES, FxService, InventoryService, LINK_MUTATION, LINK_QUERY, LinkService, LiteService, MESSAGE_TYPES, MOBILE_MONEY_PROVIDER, ORDER_MUTATION, ORDER_TYPE, OrderQueries, PAYMENT_METHOD, PAYMENT_MUTATION, PAYMENT_STATE, PICKUP_TIME_TYPE, SchedulingService, combine, combineObject, createElements, err, flatMap, fromPromise, generateIdempotencyKey, getOrElse, isErr, isOk, mapError, mapResult, ok, startSignIn, toNullable, tryCatch, unwrap } from './chunk-QQMDEGAK.mjs';
3
+ export { ActivityService, CimplifyClient, DeliveryService, PlacesService, SubscriptionService, SupportService, UploadService, createCimplifyClient } from './chunk-KNPE4WCQ.mjs';
4
+ import { getAuthorizationEndpoint, DEFAULT_ISSUER, generatePkce, generateState } from './chunk-SOV4H6PQ.mjs';
5
+ export { AUTHORIZATION_TYPE, AUTH_MUTATION, AuthService, BusinessService, CHECKOUT_MODE, CHECKOUT_MUTATION, CHECKOUT_STEP, CONTACT_TYPE, CartOperations, CatalogueQueries, CheckoutService as CheckoutOperations, CheckoutService, CimplifyElement, CimplifyElements, DEFAULT_COUNTRY, DEFAULT_CURRENCY, DEVICE_TYPE, ELEMENTS_AUTH_CONTACT_TYPES, ELEMENTS_AUTH_MODES, ELEMENTS_AUTH_PROMPTS, ELEMENT_TYPES, EVENT_TYPES, FxService, InventoryService, LINK_MUTATION, LINK_QUERY, LinkService, LiteService, MESSAGE_TYPES, MOBILE_MONEY_PROVIDER, ORDER_MUTATION, ORDER_TYPE, OrderQueries, PAYMENT_METHOD, PAYMENT_MUTATION, PAYMENT_STATE, PICKUP_TIME_TYPE, SchedulingService, combine, combineObject, createElements, err, flatMap, fromPromise, generateIdempotencyKey, getOrElse, isErr, isOk, mapError, mapResult, ok, startSignIn, toNullable, tryCatch, unwrap } from './chunk-SOV4H6PQ.mjs';
6
6
  export { CURRENCY_SYMBOLS, MOBILE_MONEY_PROVIDERS, categorizePaymentError, detectMobileMoneyProvider, formatMoney, formatNumberCompact, formatPrice, formatPriceAdjustment, formatPriceCompact, formatPriceRange, formatPriceWithTax, formatProductPrice, getBasePrice, getCurrencySymbol, getDiscountPercentage, getDisplayPrice, getMarkupPercentage, getPriceRange, getProductCurrency, getTaxAmount, getUnitPriceAtQuantity, hasTaxInfo, isOnSale, isPaymentStatusFailure, isPaymentStatusRequiresAction, isPaymentStatusSuccess, isTaxInclusive, normalizePaymentResponse, normalizeStatusResponse, parsePrice } from './chunk-TD3AY34U.mjs';
7
7
  export { CimplifyError, ERROR_HINTS, ErrorCode, IdempotencyMismatchError, ZERO, currencyCode, enrichError, getErrorHint, isCimplifyError, isIdempotencyMismatchError, isQuoteConflictRequiringConsent, isQuoteError, isRetryableError, isSupportedCurrency, money, moneyFromNumber } from './chunk-AMZXALF6.mjs';
8
8
  import './chunk-3G6RQLXK.mjs';
@@ -10,6 +10,11 @@ import './chunk-3G6RQLXK.mjs';
10
10
  // src/silent-sign-in.ts
11
11
  var DEFAULT_SCOPE = "openid email phone profile";
12
12
  var DEFAULT_TIMEOUT_MS = 12e3;
13
+ var RESPONSE_TYPE_CODE = "code";
14
+ var RESPONSE_MODE_WEB_MESSAGE = "web_message";
15
+ var PROMPT_NONE = "none";
16
+ var AUTHORIZATION_RESPONSE_MESSAGE_TYPE = "authorization_response";
17
+ var ERROR_LOGIN_REQUIRED = "login_required";
13
18
  async function signInSilent(opts) {
14
19
  const sessionUri = opts.sessionUri ?? "/auth/session";
15
20
  try {
@@ -25,9 +30,9 @@ async function signInSilent(opts) {
25
30
  const pkce = await generatePkce();
26
31
  const state = generateState();
27
32
  const params = new URLSearchParams({
28
- response_type: "code",
29
- response_mode: "web_message",
30
- prompt: "none",
33
+ response_type: RESPONSE_TYPE_CODE,
34
+ response_mode: RESPONSE_MODE_WEB_MESSAGE,
35
+ prompt: PROMPT_NONE,
31
36
  client_id: opts.clientId,
32
37
  redirect_uri: opts.redirectUri,
33
38
  scope: opts.scope ?? DEFAULT_SCOPE,
@@ -61,14 +66,14 @@ async function signInSilent(opts) {
61
66
  const handler = async (event) => {
62
67
  if (event.origin !== expectedOrigin) return;
63
68
  const data = event.data;
64
- if (!data || typeof data !== "object" || data.type !== "authorization_response") return;
69
+ if (!data || typeof data !== "object" || data.type !== AUTHORIZATION_RESPONSE_MESSAGE_TYPE) return;
65
70
  const response = data.response;
66
- if (response.error === "login_required") {
67
- finish({ ok: false, reason: "login_required" });
71
+ if (response.error === ERROR_LOGIN_REQUIRED) {
72
+ finish({ ok: false, reason: ERROR_LOGIN_REQUIRED });
68
73
  return;
69
74
  }
70
75
  if (response.error || !response.code) {
71
- finish({ ok: false, reason: "login_required" });
76
+ finish({ ok: false, reason: ERROR_LOGIN_REQUIRED });
72
77
  return;
73
78
  }
74
79
  if (response.state !== state) {
package/dist/react.d.mts CHANGED
@@ -1,7 +1,7 @@
1
1
  import React$1, { ReactNode } from 'react';
2
- import { d as AdSlot, c as AdPosition, a as AdContextValue, S as SignInOptions } from './sign-in-RFuWZOgF.mjs';
3
- export { A as AdConfig, g as getVariantDisplayName } from './sign-in-RFuWZOgF.mjs';
4
- import { ac as CimplifyClient, c1 as ProcessCheckoutResult, a9 as CheckoutStatus, aa as CheckoutStatusContext, w as Business, be as Location, ci as ReorderResult, bL as OrderStatus, bu as Order, c3 as QuoteBundleSelectionInput, c4 as QuoteCompositeSelectionInput, bZ as PriceQuote, c7 as QuoteUiMessage, cD as Service, r as AvailableSlot, au as DayAvailability, am as CustomerBooking, L as CancelBookingResult, f as ActivityStateResponse, cM as SessionMessage, c as ActivityRecommendation, aw as DeliveryFeeResponse, aY as FxRateResponse, cV as StorefrontBootstrap, X as ChatWidgetStarter, W as ChatMessage, h as AddressInfo, n as AuthenticatedData, aM as ElementsOptions, bT as PaymentMethodInfo, aK as ElementsCheckoutResult, c0 as ProcessCheckoutOptions, af as CimplifyElements, b5 as LineItem, cP as Staff, cy as Room } from './client-ByI_3jfL.mjs';
2
+ import { d as AdSlot, c as AdPosition, a as AdContextValue, S as SignInOptions } from './sign-in-DQlIdqsi.mjs';
3
+ export { A as AdConfig, g as getVariantDisplayName } from './sign-in-DQlIdqsi.mjs';
4
+ import { ac as CimplifyClient, c7 as ProcessCheckoutResult, a9 as CheckoutStatus, aa as CheckoutStatusContext, w as Business, bk as Location, co as ReorderResult, bR as OrderStatus, bA as Order, c9 as QuoteBundleSelectionInput, ca as QuoteCompositeSelectionInput, c3 as PriceQuote, cd as QuoteUiMessage, cJ as Service, r as AvailableSlot, au as DayAvailability, am as CustomerBooking, L as CancelBookingResult, f as ActivityStateResponse, cS as SessionMessage, c as ActivityRecommendation, aw as DeliveryFeeResponse, b2 as FxRateResponse, c$ as StorefrontBootstrap, X as ChatWidgetStarter, W as ChatMessage, h as AddressInfo, n as AuthenticatedData, aS as ElementsOptions, bZ as PaymentMethodInfo, aQ as ElementsCheckoutResult, c6 as ProcessCheckoutOptions, af as CimplifyElements, bb as LineItem, cV as Staff, cE as Room } from './client-Dyo3dvNy.mjs';
5
5
  import * as react_jsx_runtime from 'react/jsx-runtime';
6
6
  import { ab as CurrencyCode, aX as Product, aO as Pagination, T as CimplifyError, b9 as ProductWithDetails, Q as Category, aM as Money, C as BundleSelectionInput, $ as ComponentSelectionInput, z as BundleSelectionData, a8 as CompositeSelectionData, U as Collection, b4 as ProductTaxonomy, bt as TaxonomyWithChildren, b5 as ProductTimeProfile, ah as Deal, b0 as ProductDealInfo, an as DiscountValidation, E as BundleSummary, a6 as CompositePriceResult, bo as SubscriptionWithDetails, bn as SubscriptionStatus, bk as Subscription, ac as CustomAttributeDefinition, ba as PropertyFacet, a$ as ProductBillingPlan, bL as VariantView, bF as VariantAxisWithValues, f as AddOnWithOptions, w as BundleComponentView, x as BundlePriceType, a4 as CompositeGroupView, aq as DisplayCart, b1 as ProductInputField, bg as SchedulingMode, at as DurationUnit, ad as CustomAttributeValue, b2 as ProductProperty, bc as QuantityPricingTier } from './product-B_kS4Oxa.mjs';
7
7
  import { P as ProductWithPrice } from './price-Cm0tU0V5.mjs';
@@ -83,42 +83,6 @@ interface CimplifyCheckoutProps {
83
83
  }
84
84
  declare function CimplifyCheckout({ client, businessId, cartId, locationId, linkUrl, orderTypes, defaultOrderType, submitLabel, enrollInLink, onComplete, onError, onStatusChange, appearance, className, }: CimplifyCheckoutProps): React$1.ReactElement;
85
85
 
86
- interface CimplifyAccountProps {
87
- /** CimplifyClient instance. Falls back to provider context. */
88
- client?: CimplifyClient;
89
- /** Override the Link base URL. */
90
- linkUrl?: string;
91
- /** Initial section to show: "dashboard" | "orders" | "addresses" | "payment-methods" | "sessions" | "settings". */
92
- section?: string;
93
- /**
94
- * Per-merchant scope for the embedded account widget. When set, the
95
- * widget filters orders/subs/sessions to this business and hides
96
- * cross-merchant surfaces. Defaults to the client's configured
97
- * business ID so storefronts get scoping for free.
98
- */
99
- businessId?: string;
100
- /**
101
- * Display name of the embedding merchant — shown in the widget's
102
- * scoping footer ("Showing your account with Acme Threads only.").
103
- * Optional but recommended for trust signal.
104
- */
105
- merchantName?: string;
106
- /** Appearance variables — passed to Link for theming. */
107
- appearance?: {
108
- theme?: "light" | "dark";
109
- variables?: {
110
- primaryColor?: string;
111
- fontFamily?: string;
112
- borderRadius?: string;
113
- };
114
- };
115
- /** Called when the user logs out from the account portal. */
116
- onLogout?: () => void;
117
- /** Additional CSS class for the container. */
118
- className?: string;
119
- }
120
- declare function CimplifyAccount({ client: clientProp, linkUrl, section, businessId: businessIdProp, merchantName, appearance, onLogout, className, }: CimplifyAccountProps): React$1.ReactElement;
121
-
122
86
  interface NavItem {
123
87
  label: string;
124
88
  href: string;
@@ -592,6 +556,45 @@ interface UseCimplifySessionResult {
592
556
  }
593
557
  declare function useCimplifySession(options?: UseCimplifySessionOptions): UseCimplifySessionResult;
594
558
 
559
+ interface UserButtonLink {
560
+ label: string;
561
+ href: string;
562
+ icon?: React$1.ReactNode;
563
+ external?: boolean;
564
+ }
565
+ interface CimplifyUserButtonProps {
566
+ /** Controlled session. When omitted, the component reads it from `sessionUri`. */
567
+ session?: CimplifyClientSession | null;
568
+ /** Session endpoint for the uncontrolled case. Defaults to `/auth/session`. */
569
+ sessionUri?: string;
570
+ /**
571
+ * Storefront-scoped quick links shown in the menu. These resolve against the
572
+ * merchant's own pages (the business-scoped token already in the page reads
573
+ * the data). Defaults to the native `/account/*` routes.
574
+ */
575
+ links?: UserButtonLink[];
576
+ /**
577
+ * Cross-merchant identity home. Profile, security, passkeys and devices live
578
+ * on the root session at `link.cimplify.io` — never in the merchant frame —
579
+ * so this is always an external link.
580
+ */
581
+ identityUrl?: string;
582
+ /** Sign-out target. A `<form>` POST is used so the BFF can clear cookies. */
583
+ signOutHref?: string;
584
+ onSignOut?: () => void;
585
+ /** Signed-out state delegates to the hosted OAuth flow. */
586
+ clientId?: string;
587
+ redirectUri?: string;
588
+ signInLabel?: string;
589
+ onSignIn?: () => void;
590
+ /** Hide the name beside the avatar (avatar-only trigger). */
591
+ hideName?: boolean;
592
+ /** Menu alignment relative to the trigger. */
593
+ align?: "start" | "end";
594
+ className?: string;
595
+ }
596
+ declare function CimplifyUserButton({ session: controlledSession, sessionUri, links, identityUrl, signOutHref, onSignOut, clientId, redirectUri, signInLabel, onSignIn, hideName, align, className, }: CimplifyUserButtonProps): React$1.ReactElement | null;
597
+
595
598
  interface PriceProps {
596
599
  /** The amount in base (business) currency. */
597
600
  amount: number | string;
@@ -3448,4 +3451,4 @@ interface ChatWidgetProps {
3448
3451
  }
3449
3452
  declare function ChatWidget({ client: clientProp, businessName, greeting, subtitle, starters, placeholder, position, defaultOpen, pollInterval, className, classNames, }: ChatWidgetProps): react_jsx_runtime.JSX.Element;
3450
3453
 
3451
- export { AccommodationCard, AccountContent, type AccountContentProps, AccountDashboardPage, type AccountDashboardPageProps, AccountHero, type AccountHeroProps, AccountIdentityStrip, type AccountIdentityStripProps, AccountNav, type AccountNavProps, AccountOrderDetailPage, type AccountOrderDetailPageProps, AccountOrdersPage, type AccountOrdersPageProps, type AccountPageBaseProps, AccountShell, type AccountShellProps, AccountSidebar, type AccountSidebarProps, AccountSignedOutPrompt, type AccountSignedOutPromptProps, AccountSubscriptionDetailPage, type AccountSubscriptionDetailPageProps, AccountSubscriptionsPage, type AccountSubscriptionsPageProps, Ad, AdPosition, type AdProps, AdProvider, AdSlot, AddOnSelector, type AddOnSelectorClassNames, type AddOnSelectorProps, type AddToCartOptions, AddressElement, AuthElement, AvailabilityBadge, type AvailabilityBadgeClassNames, type AvailabilityBadgeProps, BackLink, type BackLinkProps, BillingPlanSelector, type BillingPlanSelectorClassNames, type BillingPlanSelectorProps, BookingCard, type BookingCardClassNames, type BookingCardProps, BookingList, type BookingListClassNames, type BookingListProps, BookingPage, type BookingPageClassNames, type BookingPageProps, BookingsPage, type BookingsPageClassNames, type BookingsPageProps, BoxIcon24, BundleProductCard, BundleProductLayout, BundleSelector, type BundleSelectorClassNames, type BundleSelectorProps, Button, type ButtonProps, CardImage, type CardLayoutProps, CardShell, CardVariant, type CartAddOnOptionSelection, CartDrawer, type CartDrawerProps, CartDrawerProvider, type CartLayoutProps, CartPage, type CartPageClassNames, type CartPageProps, CartSummary, type CartSummaryClassNames, type CartSummaryProps, CartTemplate, type CartVariantSelection, CatalogueCollectionLayout, type CatalogueLayoutProps, CataloguePage, type CataloguePageClassNames, type CataloguePageProps, CatalogueTemplate, CategoryFilter, type CategoryFilterClassNames, type CategoryFilterProps, CategoryGrid, type CategoryGridClassNames, type CategoryGridProps, ChatWidget, type ChatWidgetClassNames, type ChatWidgetProps, CheckIcon, CheckoutPage, type CheckoutPageClassNames, type CheckoutPageProps, CimplifyAccount, type CimplifyAccountProps, CimplifyCheckout, type CimplifyCheckoutProps, type CimplifyClientContextValue, type CimplifyClientSession, type CimplifyContextValue, CimplifyProvider, type CimplifyProviderProps, CimplifySignInButton, type CimplifySignInButtonProps, type CollectionLayoutProps, CollectionPage, type CollectionPageClassNames, type CollectionPageProps, CollectionTemplate, CompactCartLayout, CompactCatalogueLayout, CompactSearchLayout, CompactServiceCard, CompositeProductCard, CompositeProductLayout, CompositeSelector, type CompositeSelectorClassNames, type CompositeSelectorProps, ContextCard, type ContextCardProps, type ContextRow, ContinuityCard, type ContinuityCardProps, CurrencySelector, type CurrencySelectorClassNames, type CurrencySelectorProps, CustomAttributesTable, CustomerInputFields, type CustomerInputFieldsClassNames, type CustomerInputFieldsProps, DashboardIcon, DashboardIcon20, DatePicker, type DatePickerClassNames, type DatePickerProps, DateSlotPicker, type DateSlotPickerClassNames, type DateSlotPickerProps, DealBanner, type DealBannerClassNames, type DealBannerProps, DealsPage, type DealsPageClassNames, type DealsPageProps, DefaultCartLayout, DefaultCatalogueLayout, DefaultCollectionLayout, DefaultProductLayout, DefaultSearchLayout, DeliveryEstimate, type DeliveryEstimateClassNames, type DeliveryEstimateProps, DeliveryTruckIcon, DigitalProductCard, DigitalProductLayout, DiscountInput, type DiscountInputClassNames, type DiscountInputProps, ElementsProvider, EmptyState, type EmptyStateProps, ErrorState, type ErrorStateProps, FeaturedCollectionLayout, type FilterTabItem, FilterTabs, type FilterTabsProps, FoodProductCard, FoodProductLayout, HappeningCard, type HappeningCardProps, type HappeningPaneData, IdentityIcon, IdentityOfframp, type IdentityOfframpProps, type IdentitySummary, InventoryBadge, ItemsCard, type ItemsCardProps, LeaseServiceCard, LocationPicker, type LocationPickerClassNames, type LocationPickerProps, MediaGallery, type MediaGalleryProps, type MediaItem, MetadataStringList, MobileAccountShell, type MobileAccountShellProps, MobileBackButton, MobileMoreButton, MobileTabBar, type MobileTabBarProps, type NavItem, NextDeliveryCard, type NextDeliveryCardProps, OrderDetailHeader, type OrderDetailHeaderProps, OrderDetailMetaPipe, OrderDetailPage, type OrderDetailPageClassNames, type OrderDetailPageProps, OrderHistory, type OrderHistoryClassNames, OrderHistoryPage, type OrderHistoryPageClassNames, type OrderHistoryPageProps, type OrderHistoryProps, type OrderItemData, OrderList, type OrderListProps, OrderRow, type OrderRowData, type OrderRowProps, type OrderRowStatus, OrderSummary, type OrderSummaryClassNames, type OrderSummaryProps, OrderTimeline, type OrderTimelineProps, OrderTotals, type OrderTotalsProps, OrdersIcon, OrdersIcon20, OvenIcon, PackageIcon, PaymentElement, Price, type PriceProps, PriceRange, type PriceRangeProps, ProductCard, type ProductCardClassNames, type ProductCardProps, ProductCustomizer, type ProductCustomizerClassNames, type ProductCustomizerProps, ProductGrid, type ProductGridClassNames, type ProductGridProps, ProductImageGallery, type ProductImageGalleryProps, type ProductLayoutProps, ProductModel3D, type ProductModel3DProps, ProductPage, type ProductPageClassNames, type ProductPageProps, ProductSheet, type ProductSheetClassNames, type ProductSheetProps, ProductTemplate, PropertiesTable, QuantitySelector, type QuantitySelectorClassNames, type QuantitySelectorProps, QuickAddButton, RecentlyViewed, type RecentlyViewedClassNames, type RecentlyViewedProps, RecommendationCarousel, type RecommendationCarouselClassNames, type RecommendationCarouselProps, RelatedProductsSection, RentalServiceCard, type Resource, ResourcePicker, type ResourcePickerClassNames, type ResourcePickerProps, RetailProductCard, RichText, type RichTextProps, SaleBadge, type SaleBadgeClassNames, type SaleBadgeProps, ScheduleServiceCard, SearchInput, type SearchInputClassNames, type SearchInputProps, type SearchLayoutProps, SearchPage, type SearchPageClassNames, type SearchPageProps, SearchTemplate, Section, SectionMore, type SectionMoreProps, type SectionProps, type ServiceCardLayoutProps, ServiceProductLayout, SessionMessageBanner, type SessionMessageBannerClassNames, type SessionMessageBannerProps, SignOutIcon, Skeleton, type SkeletonProps, SlotPicker, type SlotPickerClassNames, type SlotPickerProps, SoldOutOverlay, StaffPicker, type StaffPickerClassNames, type StaffPickerProps, StandardServiceCard, Status, type StatusProps, StoreNav, type StoreNavClassNames, type StoreNavProps, StoreVideo, type StoreVideoProps, SubscriptionCard, SubscriptionList, type SubscriptionListProps, SubscriptionRow, type SubscriptionRowData, type SubscriptionRowProps, SubscriptionsIcon, SubscriptionsIcon20, TagPills, TimePicker, type TimePickerClassNames, type TimePickerProps, type TimelineStep, Toast, type ToastProps, type TotalsData, TwoColumnGrid, type UseActivityStateOptions, type UseActivityStateResult, type UseAttributeDefinitionsOptions, type UseAttributeDefinitionsResult, type UseAvailableSlotsOptions, type UseAvailableSlotsResult, type UseBillingPlansOptions, type UseBillingPlansResult, type UseBookingsOptions, type UseBookingsResult, type UseBootstrapOptions, type UseBootstrapResult, type UseBundlesOptions, type UseBundlesResult, type UseCartItem, type UseCartOptions, type UseCartResult, type UseCategoriesOptions, type UseCategoriesResult, type UseChatOptions, type UseChatResult, type UseCimplifySessionOptions, type UseCimplifySessionResult, type UseCollectionOptions, type UseCollectionResult, type UseCollectionsOptions, type UseCollectionsResult, type UseDealsOptions, type UseDealsResult, type UseDeliveryFeeOptions, type UseDeliveryFeeResult, type UseFxRateOptions, type UseFxRateResult, type UseLocationsOptions, type UseLocationsResult, type UseOrderOptions, type UseOrderResult, type UseOrdersOptions, type UseOrdersResult, type UseProductAvailabilityOptions, type UseProductAvailabilityResult, type UseProductDealsOptions, type UseProductDealsResult, type UseProductOptions, type UseProductPriceInput, type UseProductPriceResult, type UseProductResult, type UseProductSchedulesOptions, type UseProductSchedulesResult, type UseProductsOnSaleOptions, type UseProductsOnSaleResult, type UseProductsOptions, type UseProductsResult, type UsePropertyFacetsOptions, type UsePropertyFacetsResult, type UseQuoteInput, type UseQuoteOptions, type UseQuoteResult, type UseRecommendationsOptions, type UseRecommendationsResult, type UseSearchOptions, type UseSearchResult, type UseServiceAvailabilityOptions, type UseServiceAvailabilityResult, type UseServicesOptions, type UseServicesResult, type UseTaxonomiesOptions, type UseTaxonomiesResult, type UseTaxonomyOptions, type UseTaxonomyPathOptions, type UseTaxonomyPathResult, type UseTaxonomyResult, type UseValidateDiscountOptions, type UseValidateDiscountResult, type UseVariantSelectorOptions, type UseVariantSelectorResult, VariantSelector, type VariantSelectorClassNames, type VariantSelectorProps, VolumePricing, type VolumePricingClassNames, type VolumePricingProps, WelcomeCard, type WelcomeCardProps, WholesaleProductCard, WholesaleProductLayout, WishlistButton, cn, roomToResource, sanitizeRichTextHtml, stripHtmlToText, useActivityState, useAds, useAttributeDefinitions, useAvailableSlots, useBillingPlans, useBookings, useBootstrap, useBundles, useCart, useCartDrawer, useCategories, useChat, useCheckout, useCimplify, useCimplifyClient, useCimplifySession, useCollection, useCollections, useDeals, useDeliveryFee, useElements, useElementsReady, useFxRate, useLocations, useOptionalCimplify, useOrder, useOrders, useProduct, useProductAvailability, useProductDeals, useProductPrice, useProductSchedules, useProducts, useProductsOnSale, usePropertyFacets, useQuote, useRecommendations, useSearch, useServiceAvailability, useServices, useSubscription, useSubscriptions, useTaxonomies, useTaxonomy, useTaxonomyPath, useValidateDiscount, useVariantSelector };
3454
+ export { AccommodationCard, AccountContent, type AccountContentProps, AccountDashboardPage, type AccountDashboardPageProps, AccountHero, type AccountHeroProps, AccountIdentityStrip, type AccountIdentityStripProps, AccountNav, type AccountNavProps, AccountOrderDetailPage, type AccountOrderDetailPageProps, AccountOrdersPage, type AccountOrdersPageProps, type AccountPageBaseProps, AccountShell, type AccountShellProps, AccountSidebar, type AccountSidebarProps, AccountSignedOutPrompt, type AccountSignedOutPromptProps, AccountSubscriptionDetailPage, type AccountSubscriptionDetailPageProps, AccountSubscriptionsPage, type AccountSubscriptionsPageProps, Ad, AdPosition, type AdProps, AdProvider, AdSlot, AddOnSelector, type AddOnSelectorClassNames, type AddOnSelectorProps, type AddToCartOptions, AddressElement, AuthElement, AvailabilityBadge, type AvailabilityBadgeClassNames, type AvailabilityBadgeProps, BackLink, type BackLinkProps, BillingPlanSelector, type BillingPlanSelectorClassNames, type BillingPlanSelectorProps, BookingCard, type BookingCardClassNames, type BookingCardProps, BookingList, type BookingListClassNames, type BookingListProps, BookingPage, type BookingPageClassNames, type BookingPageProps, BookingsPage, type BookingsPageClassNames, type BookingsPageProps, BoxIcon24, BundleProductCard, BundleProductLayout, BundleSelector, type BundleSelectorClassNames, type BundleSelectorProps, Button, type ButtonProps, CardImage, type CardLayoutProps, CardShell, CardVariant, type CartAddOnOptionSelection, CartDrawer, type CartDrawerProps, CartDrawerProvider, type CartLayoutProps, CartPage, type CartPageClassNames, type CartPageProps, CartSummary, type CartSummaryClassNames, type CartSummaryProps, CartTemplate, type CartVariantSelection, CatalogueCollectionLayout, type CatalogueLayoutProps, CataloguePage, type CataloguePageClassNames, type CataloguePageProps, CatalogueTemplate, CategoryFilter, type CategoryFilterClassNames, type CategoryFilterProps, CategoryGrid, type CategoryGridClassNames, type CategoryGridProps, ChatWidget, type ChatWidgetClassNames, type ChatWidgetProps, CheckIcon, CheckoutPage, type CheckoutPageClassNames, type CheckoutPageProps, CimplifyCheckout, type CimplifyCheckoutProps, type CimplifyClientContextValue, type CimplifyClientSession, type CimplifyContextValue, CimplifyProvider, type CimplifyProviderProps, CimplifySignInButton, type CimplifySignInButtonProps, CimplifyUserButton, type CimplifyUserButtonProps, type CollectionLayoutProps, CollectionPage, type CollectionPageClassNames, type CollectionPageProps, CollectionTemplate, CompactCartLayout, CompactCatalogueLayout, CompactSearchLayout, CompactServiceCard, CompositeProductCard, CompositeProductLayout, CompositeSelector, type CompositeSelectorClassNames, type CompositeSelectorProps, ContextCard, type ContextCardProps, type ContextRow, ContinuityCard, type ContinuityCardProps, CurrencySelector, type CurrencySelectorClassNames, type CurrencySelectorProps, CustomAttributesTable, CustomerInputFields, type CustomerInputFieldsClassNames, type CustomerInputFieldsProps, DashboardIcon, DashboardIcon20, DatePicker, type DatePickerClassNames, type DatePickerProps, DateSlotPicker, type DateSlotPickerClassNames, type DateSlotPickerProps, DealBanner, type DealBannerClassNames, type DealBannerProps, DealsPage, type DealsPageClassNames, type DealsPageProps, DefaultCartLayout, DefaultCatalogueLayout, DefaultCollectionLayout, DefaultProductLayout, DefaultSearchLayout, DeliveryEstimate, type DeliveryEstimateClassNames, type DeliveryEstimateProps, DeliveryTruckIcon, DigitalProductCard, DigitalProductLayout, DiscountInput, type DiscountInputClassNames, type DiscountInputProps, ElementsProvider, EmptyState, type EmptyStateProps, ErrorState, type ErrorStateProps, FeaturedCollectionLayout, type FilterTabItem, FilterTabs, type FilterTabsProps, FoodProductCard, FoodProductLayout, HappeningCard, type HappeningCardProps, type HappeningPaneData, IdentityIcon, IdentityOfframp, type IdentityOfframpProps, type IdentitySummary, InventoryBadge, ItemsCard, type ItemsCardProps, LeaseServiceCard, LocationPicker, type LocationPickerClassNames, type LocationPickerProps, MediaGallery, type MediaGalleryProps, type MediaItem, MetadataStringList, MobileAccountShell, type MobileAccountShellProps, MobileBackButton, MobileMoreButton, MobileTabBar, type MobileTabBarProps, type NavItem, NextDeliveryCard, type NextDeliveryCardProps, OrderDetailHeader, type OrderDetailHeaderProps, OrderDetailMetaPipe, OrderDetailPage, type OrderDetailPageClassNames, type OrderDetailPageProps, OrderHistory, type OrderHistoryClassNames, OrderHistoryPage, type OrderHistoryPageClassNames, type OrderHistoryPageProps, type OrderHistoryProps, type OrderItemData, OrderList, type OrderListProps, OrderRow, type OrderRowData, type OrderRowProps, type OrderRowStatus, OrderSummary, type OrderSummaryClassNames, type OrderSummaryProps, OrderTimeline, type OrderTimelineProps, OrderTotals, type OrderTotalsProps, OrdersIcon, OrdersIcon20, OvenIcon, PackageIcon, PaymentElement, Price, type PriceProps, PriceRange, type PriceRangeProps, ProductCard, type ProductCardClassNames, type ProductCardProps, ProductCustomizer, type ProductCustomizerClassNames, type ProductCustomizerProps, ProductGrid, type ProductGridClassNames, type ProductGridProps, ProductImageGallery, type ProductImageGalleryProps, type ProductLayoutProps, ProductModel3D, type ProductModel3DProps, ProductPage, type ProductPageClassNames, type ProductPageProps, ProductSheet, type ProductSheetClassNames, type ProductSheetProps, ProductTemplate, PropertiesTable, QuantitySelector, type QuantitySelectorClassNames, type QuantitySelectorProps, QuickAddButton, RecentlyViewed, type RecentlyViewedClassNames, type RecentlyViewedProps, RecommendationCarousel, type RecommendationCarouselClassNames, type RecommendationCarouselProps, RelatedProductsSection, RentalServiceCard, type Resource, ResourcePicker, type ResourcePickerClassNames, type ResourcePickerProps, RetailProductCard, RichText, type RichTextProps, SaleBadge, type SaleBadgeClassNames, type SaleBadgeProps, ScheduleServiceCard, SearchInput, type SearchInputClassNames, type SearchInputProps, type SearchLayoutProps, SearchPage, type SearchPageClassNames, type SearchPageProps, SearchTemplate, Section, SectionMore, type SectionMoreProps, type SectionProps, type ServiceCardLayoutProps, ServiceProductLayout, SessionMessageBanner, type SessionMessageBannerClassNames, type SessionMessageBannerProps, SignOutIcon, Skeleton, type SkeletonProps, SlotPicker, type SlotPickerClassNames, type SlotPickerProps, SoldOutOverlay, StaffPicker, type StaffPickerClassNames, type StaffPickerProps, StandardServiceCard, Status, type StatusProps, StoreNav, type StoreNavClassNames, type StoreNavProps, StoreVideo, type StoreVideoProps, SubscriptionCard, SubscriptionList, type SubscriptionListProps, SubscriptionRow, type SubscriptionRowData, type SubscriptionRowProps, SubscriptionsIcon, SubscriptionsIcon20, TagPills, TimePicker, type TimePickerClassNames, type TimePickerProps, type TimelineStep, Toast, type ToastProps, type TotalsData, TwoColumnGrid, type UseActivityStateOptions, type UseActivityStateResult, type UseAttributeDefinitionsOptions, type UseAttributeDefinitionsResult, type UseAvailableSlotsOptions, type UseAvailableSlotsResult, type UseBillingPlansOptions, type UseBillingPlansResult, type UseBookingsOptions, type UseBookingsResult, type UseBootstrapOptions, type UseBootstrapResult, type UseBundlesOptions, type UseBundlesResult, type UseCartItem, type UseCartOptions, type UseCartResult, type UseCategoriesOptions, type UseCategoriesResult, type UseChatOptions, type UseChatResult, type UseCimplifySessionOptions, type UseCimplifySessionResult, type UseCollectionOptions, type UseCollectionResult, type UseCollectionsOptions, type UseCollectionsResult, type UseDealsOptions, type UseDealsResult, type UseDeliveryFeeOptions, type UseDeliveryFeeResult, type UseFxRateOptions, type UseFxRateResult, type UseLocationsOptions, type UseLocationsResult, type UseOrderOptions, type UseOrderResult, type UseOrdersOptions, type UseOrdersResult, type UseProductAvailabilityOptions, type UseProductAvailabilityResult, type UseProductDealsOptions, type UseProductDealsResult, type UseProductOptions, type UseProductPriceInput, type UseProductPriceResult, type UseProductResult, type UseProductSchedulesOptions, type UseProductSchedulesResult, type UseProductsOnSaleOptions, type UseProductsOnSaleResult, type UseProductsOptions, type UseProductsResult, type UsePropertyFacetsOptions, type UsePropertyFacetsResult, type UseQuoteInput, type UseQuoteOptions, type UseQuoteResult, type UseRecommendationsOptions, type UseRecommendationsResult, type UseSearchOptions, type UseSearchResult, type UseServiceAvailabilityOptions, type UseServiceAvailabilityResult, type UseServicesOptions, type UseServicesResult, type UseTaxonomiesOptions, type UseTaxonomiesResult, type UseTaxonomyOptions, type UseTaxonomyPathOptions, type UseTaxonomyPathResult, type UseTaxonomyResult, type UseValidateDiscountOptions, type UseValidateDiscountResult, type UseVariantSelectorOptions, type UseVariantSelectorResult, type UserButtonLink, VariantSelector, type VariantSelectorClassNames, type VariantSelectorProps, VolumePricing, type VolumePricingClassNames, type VolumePricingProps, WelcomeCard, type WelcomeCardProps, WholesaleProductCard, WholesaleProductLayout, WishlistButton, cn, roomToResource, sanitizeRichTextHtml, stripHtmlToText, useActivityState, useAds, useAttributeDefinitions, useAvailableSlots, useBillingPlans, useBookings, useBootstrap, useBundles, useCart, useCartDrawer, useCategories, useChat, useCheckout, useCimplify, useCimplifyClient, useCimplifySession, useCollection, useCollections, useDeals, useDeliveryFee, useElements, useElementsReady, useFxRate, useLocations, useOptionalCimplify, useOrder, useOrders, useProduct, useProductAvailability, useProductDeals, useProductPrice, useProductSchedules, useProducts, useProductsOnSale, usePropertyFacets, useQuote, useRecommendations, useSearch, useServiceAvailability, useServices, useSubscription, useSubscriptions, useTaxonomies, useTaxonomy, useTaxonomyPath, useValidateDiscount, useVariantSelector };