@c1m-public/channel-client 0.28.0 → 0.30.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/dist/index.d.ts CHANGED
@@ -1,1336 +1,7 @@
1
+ import { i as ChannelPing, j as ChannelGeo, P as PaymentCollectionAvailability, W as WaitlistVerification, k as WaitlistUnsubscription, D as DashProfileResponse, l as DashInitResponse, m as WaitlistGateStatus, n as WaitlistFormSettings, o as WaitlistSubmission, p as WaitlistAcknowledgement, q as DashPlansResponse, L as ListResponse, r as DashDirectoryRegion, s as DashDirectoryEntry, t as DashDirectoryProfileResponse, u as DashLead, v as DashLeadPortalRequestLinkInput, w as DashLeadPortalRequestLinkResponse, x as DashLeadPortalView, S as SiteDocument, y as PublicWorkspaceInit, z as LightInitResponse, B as PublicPageSummary, E as PublicPage, F as Product, G as ProductAsset, H as CatalogCategory, I as CatalogProductsResponse, J as CatalogCollection, K as CatalogBrand, C as CartResponse, A as AddCartItemInput, U as UpdateCartItemInput, M as MergeCartInput, a as CheckoutOptions, b as CheckoutStatusResponse, c as CheckoutCustomerInput, d as CheckoutAddressesInput, e as CheckoutFulfillmentInput, f as CheckoutPayInput, g as CheckoutPayResponse, h as CheckoutCancelInput, R as Review, N as ReviewSummaryResponse, Q as PublicSubmitReviewInput, T as ThemeResponse, V as MenuResponse, X as BlogPost, Y as BlogPostResponse, Z as GivingEntry, _ as StartGivingInput, $ as StartGivingResponse, a0 as SubscriptionPlanListResponse, a1 as SubscriptionPlanResponse, a2 as PublicPaymentLinkResponse, a3 as PaymentLinkCheckoutInput, a4 as PaymentLinkCheckoutResponse, a5 as PaymentLinkRedemptionStatusResponse, a6 as PrintSettingsResponse, a7 as PrintOptionsSelection, a8 as PrintQuoteResponse, a9 as PrintIntakeInput, aa as PrintJob, ab as DiningMenu, ac as CustomerSignupResponse, ad as SendCodeResponse, ae as CustomerSession, af as CustomerResponse, ag as CustomerAuthSession, ah as CustomerSecurityActivityPage, O as Order, ai as OrderSummary, aj as SavedAddress, ak as SavedAddressResponse, al as SavedAddressInput, am as SavedAddressUpdateInput, an as SavedPaymentMethod, ao as PaymentMethodSetupInput, ap as PaymentMethodSetupResult, aq as PaymentMethodConfirmInput, ar as PaymentMethodMutationResponse, as as StartSubscriptionInput, at as SubscriptionAgreementResponse, au as SubscriptionListResponse, av as SubscriptionSourceResponse, aw as SubscriptionInvoiceListResponse, ax as SubscriptionInvoiceResponse, ay as GivingIntentListResponse, az as LeadResponse } from './types-DPJD4m2o.js';
2
+ export { aA as CatalogProduct, aB as CheckoutAddress, aC as CheckoutStatus, aD as Customer, aE as CustomerSecurityActivity, aF as DashBrandingInfo, aG as DashDirectoryProfile, aH as DashLeadPortalMatch, aI as DashLeadPortalMovingSummary, aJ as DashLeadPortalRequest, aK as DashLeadPortalRequestStatus, aL as DashLocaleInfo, aM as DashPlan, aN as DashPlanPricing, aO as DashPlanRegion, aP as DashPublicPage, aQ as DashPublicProfileInfo, aR as DashTenantInfo, aS as DiningAvailability, aT as DiningAvailabilityRule, aU as DiningComboChoice, aV as DiningComboGroup, aW as DiningItemSize, aX as DiningMenuItem, aY as DiningModifier, aZ as DiningModifierGroup, a_ as DiningOffer, a$ as DiningOfferBadge, b0 as GivingIntent, b1 as Menu, b2 as MenuItem, b3 as OrderItem, b4 as PaymentLinkRedemptionStatus, b5 as PaymentMethodOption, b6 as PaymentReadiness, b7 as PrintBranding, b8 as PrintIntakeLimits, b9 as PrintJobFile, ba as PrintPaperSize, bb as PrintPerPagePricing, bc as PrintPriceBreakdown, bd as PrintPriceLine, be as PrintPricing, bf as PrintPricingOption, bg as PublicGate, bh as PublicPaymentLink, bi as PublicSiteSignals, bj as ShippingMethodOption, bk as SiteGatedDocument, bl as SiteRef, bm as SiteResolvedDocument, bn as SiteSubject, bo as SubscriptionAgreement, bp as SubscriptionInvoice, bq as SubscriptionPlanOffer, br as SubscriptionSourceDisplay, bs as WaitlistAttribution, bt as WorkspaceInfo } from './types-DPJD4m2o.js';
1
3
  export { AnyChannelWebhookEvent, CHANNEL_WEBHOOK_EVENT_ID_HEADER, CHANNEL_WEBHOOK_EVENT_TYPES, CHANNEL_WEBHOOK_SIGNATURE_HEADER, CHANNEL_WEBHOOK_TIMESTAMP_HEADER, ChannelWebhookEvent, ChannelWebhookEventDataMap, ChannelWebhookEventType, ChannelWebhookVerificationCode, ChannelWebhookVerificationError, DEFAULT_TOLERANCE_SECONDS, FulfillmentEventData, LeadCreatedEventData, MenuUpdatedEventData, OrderEventData, PagePublishedEventData, ParseChannelWebhookEventOptions, ParsedChannelWebhookEvent, ProductEventData, ReviewPublishedEventData, ReviewSubmittedEventData, UnknownChannelWebhookEvent, VerifyChannelWebhookSignatureOptions, isChannelWebhookEventType, isChannelWebhookVerificationError, isKnownChannelWebhookEvent, parseChannelWebhookEvent, verifyChannelWebhookSignature } from './webhooks.js';
2
4
 
3
- interface ListResponse<T> {
4
- items: T[];
5
- next_cursor?: string;
6
- has_more?: boolean;
7
- }
8
- interface WorkspaceInfo {
9
- id: string;
10
- name: string;
11
- slug: string;
12
- is_active: boolean;
13
- status?: string;
14
- }
15
- /**
16
- * The server-decided public gate. Absent means visitors see the normal site.
17
- * `page` placement redirects every non-exempt path to `path`; `block` keeps
18
- * the site and lets a page embed the signup form. Never participant data.
19
- */
20
- interface PublicGate {
21
- kind: "waitlist";
22
- placement: "page" | "block";
23
- path: string;
24
- }
25
- interface WaitlistGateStatus {
26
- gate?: PublicGate;
27
- }
28
- interface WaitlistFormSettings {
29
- gate?: PublicGate;
30
- collect_marketing_consent: boolean;
31
- }
32
- /** First-touch context captured by the site; every field is a bounded hint. */
33
- interface WaitlistAttribution {
34
- utm_source?: string;
35
- utm_medium?: string;
36
- utm_campaign?: string;
37
- utm_term?: string;
38
- utm_content?: string;
39
- referrer_host?: string;
40
- landing_path?: string;
41
- country?: string;
42
- locale?: string;
43
- }
44
- interface WaitlistSubmission {
45
- email: string;
46
- name?: string;
47
- source?: "waitlist_page" | "waitlist_block";
48
- marketing_opt_in?: boolean;
49
- attribution?: WaitlistAttribution;
50
- }
51
- interface WaitlistAcknowledgement {
52
- accepted: boolean;
53
- }
54
- interface WaitlistVerification {
55
- verified: boolean;
56
- }
57
- interface WaitlistUnsubscription {
58
- unsubscribed: boolean;
59
- }
60
- interface PublicWorkspaceInit {
61
- workspace: WorkspaceInfo;
62
- branding?: Record<string, unknown>;
63
- preferences?: Record<string, unknown>;
64
- profile?: Record<string, unknown>;
65
- gate?: PublicGate;
66
- features?: Array<{
67
- key: string;
68
- name: string;
69
- is_enabled: boolean;
70
- is_available: boolean;
71
- }>;
72
- modules?: unknown[];
73
- custom?: Record<string, unknown>;
74
- cache_control?: {
75
- etag?: string;
76
- max_age?: number;
77
- };
78
- }
79
- /**
80
- * The public origin of a dash or workspace, resolved server-side once:
81
- * verified hostname (external → the channel bound to it) > active channel
82
- * site_url > hosted managed host. Use it for `metadataBase`, canonical/OG
83
- * URLs, robots and sitemaps instead of a hardcoded base URL.
84
- */
85
- interface SiteRef {
86
- /** Absolute https origin, no trailing slash. */
87
- url: string;
88
- source: "hostname" | "channel" | "hosted";
89
- /** The external channel that renders the site, when one does. */
90
- channel_id?: string;
91
- }
92
- /**
93
- * The headless bootstrap payload — one cached call carries identity,
94
- * branding, features, locale, SEO defaults and the public origin. Navigation
95
- * (`menus.get`) and theme (`theme.get`) stay separate, parallel reads.
96
- */
97
- interface LightInitResponse {
98
- gate?: PublicGate;
99
- workspace_id: string;
100
- workspace_name: string;
101
- workspace_slug?: string;
102
- primary_color: string;
103
- logo_url?: string;
104
- logo_light_url?: string;
105
- logo_dark_url?: string;
106
- logo_square_url?: string;
107
- enabled_features: string[];
108
- settings?: {
109
- currency_code?: string;
110
- locale?: string;
111
- timezone?: string;
112
- };
113
- site?: SiteRef;
114
- seo?: {
115
- title?: string;
116
- description?: string;
117
- };
118
- etag?: string;
119
- }
120
- interface DashTenantInfo {
121
- id: string;
122
- display_name: string;
123
- managed_domain?: string;
124
- status: string;
125
- }
126
- interface DashPublicProfileInfo {
127
- discoverable: boolean;
128
- category?: string;
129
- headline?: string;
130
- short_description?: string;
131
- about?: string;
132
- logo_url?: string;
133
- header_media_url?: string;
134
- pricing_summary?: string;
135
- }
136
- interface DashBrandingInfo {
137
- primary_color?: string;
138
- logo_url?: string;
139
- logo_square_url?: string;
140
- favicon_url?: string;
141
- cover_url?: string;
142
- }
143
- interface DashLocaleInfo {
144
- region?: string;
145
- currency?: string;
146
- locale?: string;
147
- timezone?: string;
148
- }
149
- /**
150
- * The dash bootstrap — one call for a marketing site's shell: identity,
151
- * public profile, branding, locale, SEO defaults and the public origin.
152
- * `dash.profile()` remains for the full profile page (gallery, about template).
153
- */
154
- interface DashInitResponse {
155
- gate?: PublicGate;
156
- tenant: DashTenantInfo;
157
- public_profile: DashPublicProfileInfo;
158
- branding?: DashBrandingInfo;
159
- locale?: DashLocaleInfo;
160
- seo?: {
161
- title?: string;
162
- description?: string;
163
- };
164
- site?: SiteRef;
165
- }
166
- interface DashPublicPage {
167
- profile: DashPublicProfileInfo & {
168
- dash_id: string;
169
- status: string;
170
- display_name?: string;
171
- is_private: boolean;
172
- allow_free_memberships: boolean;
173
- primary_color?: string;
174
- logo_square_url?: string;
175
- favicon_url?: string;
176
- cover_url?: string;
177
- gallery_items?: Array<{
178
- url: string;
179
- kind: string;
180
- alt_text?: string;
181
- caption?: string;
182
- }>;
183
- [key: string]: unknown;
184
- };
185
- owner_name?: string;
186
- user_count: number;
187
- workspace_counts: Record<string, number>;
188
- media: Array<{
189
- kind: string;
190
- url: string;
191
- alt_text?: string;
192
- caption?: string;
193
- }>;
194
- }
195
- interface DashProfileResponse {
196
- page: DashPublicPage;
197
- }
198
- interface DashPlanPricing {
199
- currency: string;
200
- currency_symbol?: string;
201
- monthly_price: number;
202
- yearly_price: number;
203
- }
204
- interface DashPlan {
205
- id: string;
206
- name: string;
207
- description: string;
208
- level: number;
209
- is_public: boolean;
210
- is_free: boolean;
211
- trial_days?: number;
212
- highlights: string[];
213
- limits: Record<string, number>;
214
- pricing: Record<string, DashPlanPricing>;
215
- }
216
- interface DashPlanRegion {
217
- code: string;
218
- name: string;
219
- currency: string;
220
- locale: string;
221
- timezone: string;
222
- market_code?: string;
223
- }
224
- interface DashPlansResponse {
225
- plans: DashPlan[];
226
- regions: DashPlanRegion[];
227
- default_region: string;
228
- }
229
- interface DashDirectoryRegion {
230
- code: string;
231
- label: string;
232
- country_code?: string;
233
- sort_order: number;
234
- count: number;
235
- }
236
- interface DashDirectoryEntry {
237
- workspace_id: string;
238
- slug: string;
239
- name: string;
240
- tagline?: string;
241
- category?: string;
242
- logo_url?: string;
243
- logo_square_url?: string;
244
- primary_color?: string;
245
- review_count: number;
246
- average_rating: number;
247
- verified: boolean;
248
- service_tags: unknown;
249
- major_region_code?: string;
250
- major_region_label?: string;
251
- upcoming_events?: unknown[];
252
- }
253
- interface DashDirectoryProfile extends DashDirectoryEntry {
254
- display_name?: string;
255
- description?: string;
256
- logo_light_url?: string;
257
- logo_dark_url?: string;
258
- verified_at?: string;
259
- created_at: string;
260
- }
261
- interface DashDirectoryProfileResponse {
262
- profile: DashDirectoryProfile;
263
- }
264
- /** A requester's view of their quote requests, unlocked by a signed portal link. */
265
- interface DashLeadPortalView {
266
- email: string;
267
- requests: DashLeadPortalRequest[];
268
- }
269
- type DashLeadPortalRequestStatus = "received" | "matching" | "matched" | "closed";
270
- interface DashLeadPortalRequest {
271
- reference: string;
272
- submittedAt: string;
273
- status: DashLeadPortalRequestStatus;
274
- summary?: DashLeadPortalMovingSummary;
275
- matches: DashLeadPortalMatch[];
276
- }
277
- interface DashLeadPortalMovingSummary {
278
- from?: string;
279
- to?: string;
280
- moveDate?: string;
281
- size?: string;
282
- }
283
- interface DashLeadPortalMatch {
284
- workspaceId: string;
285
- name: string;
286
- category?: string;
287
- logoUrl?: string;
288
- coverageArea?: string;
289
- verified?: boolean;
290
- rating?: number;
291
- reviewCount?: number;
292
- responded?: boolean;
293
- }
294
- interface DashLeadPortalRequestLinkInput {
295
- email: string;
296
- }
297
- /** Deliberately non-enumerating: the same shape whether or not the email exists. */
298
- interface DashLeadPortalRequestLinkResponse {
299
- ok: boolean;
300
- message: string;
301
- }
302
- interface DashLead {
303
- id: string;
304
- owner_scope?: string;
305
- owner_id?: string;
306
- name?: string;
307
- email?: string;
308
- phone?: string;
309
- message?: string;
310
- source: string;
311
- channel_id?: string;
312
- status: string;
313
- meta?: Record<string, unknown>;
314
- created_at: string;
315
- updated_at: string;
316
- }
317
- interface PublicPageSummary {
318
- id: string;
319
- dash_id: string;
320
- workspace_id: string;
321
- source: string;
322
- route_kind: string;
323
- route_pattern: string;
324
- slug: string;
325
- title: string;
326
- status: string;
327
- status_reason: string;
328
- visibility: "hidden" | "visible";
329
- edit_mode: string;
330
- draft_revision: number;
331
- created_at: string;
332
- updated_at: string;
333
- }
334
- interface PublicPage extends PublicPageSummary {
335
- owner_app?: string;
336
- required_apps?: string[];
337
- required_features?: string[];
338
- seo_title?: string;
339
- seo_description?: string;
340
- draft_state?: unknown;
341
- layout_state?: unknown;
342
- published_at?: string;
343
- manifest_key?: string;
344
- manifest_version?: number;
345
- template_key?: string;
346
- theme_id?: string;
347
- default_shell_template_id?: string;
348
- }
349
- interface Product {
350
- id: string;
351
- workspace_id: string;
352
- title: string;
353
- slug: string;
354
- description?: string;
355
- /** The product type, as a summary — the server has never sent a bare string here. */
356
- type?: {
357
- id: string;
358
- name: string;
359
- slug: string;
360
- };
361
- price_cents: number;
362
- currency: string;
363
- inventory_qty: number;
364
- /**
365
- * Stripe product tax code (e.g. `txcd_99999999`). Drives how Stripe Automatic Tax
366
- * categorises the product at checkout — a book, a hot meal and a t-shirt are taxed
367
- * differently in most places. Empty means the merchant's Stripe account default.
368
- */
369
- tax_code?: string;
370
- status: "draft" | "published" | "archived";
371
- primary_image_url?: string;
372
- options?: unknown[];
373
- variants?: unknown[];
374
- categories?: Array<{
375
- id: string;
376
- name: string;
377
- slug: string;
378
- }>;
379
- created_at: string;
380
- updated_at: string;
381
- }
382
- interface ProductAsset {
383
- id: string;
384
- position: number;
385
- is_featured: boolean;
386
- asset: {
387
- id: string;
388
- source: string;
389
- name: string;
390
- alt_text?: string;
391
- size_bytes: number;
392
- mime_type?: string;
393
- url?: string;
394
- created_at: string;
395
- };
396
- created_at: string;
397
- }
398
- interface CatalogCategory {
399
- id: string;
400
- workspace_id: string;
401
- name: string;
402
- slug: string;
403
- description?: string;
404
- is_active: boolean;
405
- sort_order: number;
406
- product_count: number;
407
- metadata: unknown;
408
- created_at: string;
409
- updated_at: string;
410
- }
411
- interface CatalogCollection {
412
- id: string;
413
- workspace_id: string;
414
- title: string;
415
- slug: string;
416
- description?: string;
417
- product_count?: number;
418
- created_at: string;
419
- updated_at: string;
420
- }
421
- interface CatalogBrand {
422
- id: string;
423
- workspace_id: string;
424
- name: string;
425
- slug: string;
426
- description?: string;
427
- website_url?: string;
428
- is_active: boolean;
429
- sort_order: number;
430
- metadata: unknown;
431
- created_at: string;
432
- updated_at: string;
433
- }
434
- interface CatalogProduct {
435
- id: string;
436
- slug: string;
437
- title: string;
438
- price_cents: number;
439
- currency: string;
440
- base_price_cents?: number;
441
- base_currency?: string;
442
- price_source?: string;
443
- fx_rate?: number;
444
- fx_provider?: string;
445
- fx_quoted_at?: string;
446
- primary_image_url?: string;
447
- status: string;
448
- }
449
- interface CatalogProductsResponse {
450
- products: CatalogProduct[];
451
- count: number;
452
- }
453
- interface Review {
454
- id: string;
455
- rating: number;
456
- author_name: string;
457
- author_email: string;
458
- title: string;
459
- body: string;
460
- status: "pending" | "published" | "rejected";
461
- source?: string;
462
- created_at?: string;
463
- [key: string]: unknown;
464
- }
465
- interface PublicSubmitReviewInput {
466
- rating: number;
467
- author_name?: string;
468
- author_email?: string;
469
- title?: string;
470
- body?: string;
471
- source?: string;
472
- }
473
- interface ReviewSummaryResponse {
474
- summary: {
475
- review_count: number;
476
- average_rating: number;
477
- };
478
- }
479
- interface LeadResponse {
480
- id: string;
481
- workspace_id: string;
482
- name: string;
483
- email: string;
484
- phone?: string;
485
- message?: string;
486
- source: string;
487
- status: string;
488
- meta?: Record<string, unknown>;
489
- created_at: string;
490
- updated_at: string;
491
- }
492
- interface SiteSubject {
493
- kind: "workspace";
494
- id: string;
495
- dash_id?: string;
496
- display_name?: string;
497
- }
498
- interface SiteResolvedDocument {
499
- state: "resolved";
500
- subject: SiteSubject;
501
- page: {
502
- id: string;
503
- workspace_id: string;
504
- slug: string;
505
- title: string;
506
- layout_state?: unknown;
507
- draft_state?: unknown;
508
- [key: string]: unknown;
509
- };
510
- surface?: Record<string, unknown>;
511
- route_params?: Record<string, string>;
512
- theme?: Record<string, unknown> | null;
513
- navigation: {
514
- main_menu?: Record<string, unknown> | null;
515
- footer_menu?: Record<string, unknown> | null;
516
- };
517
- init: PublicWorkspaceInit;
518
- seo?: {
519
- title?: string;
520
- description?: string;
521
- };
522
- revisions?: Record<string, string | undefined>;
523
- cache_control?: {
524
- etag?: string;
525
- max_age?: number;
526
- };
527
- }
528
- interface SiteGatedDocument {
529
- state: "gated";
530
- subject: SiteSubject;
531
- gate: {
532
- kind: "password";
533
- };
534
- }
535
- type SiteDocument = SiteResolvedDocument | SiteGatedDocument;
536
- interface MenuItem {
537
- id: string;
538
- parent_id?: string;
539
- title: string;
540
- url: string;
541
- resource_type?: string;
542
- resource_id?: string;
543
- position: number;
544
- target?: Record<string, unknown>;
545
- [key: string]: unknown;
546
- }
547
- interface Menu {
548
- id: string;
549
- workspace_id: string;
550
- handle: string;
551
- title: string;
552
- items?: MenuItem[];
553
- [key: string]: unknown;
554
- }
555
- interface MenuResponse {
556
- menu: Menu;
557
- }
558
- interface BlogPost {
559
- id: string;
560
- workspace_id: string;
561
- slug: string;
562
- title: string;
563
- status: string;
564
- excerpt?: string;
565
- cover_image_url?: string;
566
- content?: unknown;
567
- published_at?: string;
568
- created_at?: string;
569
- updated_at?: string;
570
- [key: string]: unknown;
571
- }
572
- interface BlogPostResponse {
573
- post: BlogPost;
574
- }
575
- interface GivingEntry {
576
- id: string;
577
- workspace_id: string;
578
- slug: string;
579
- title: string;
580
- subtitle?: string;
581
- variant: string;
582
- default_amount_cents: number;
583
- suggested_amounts_cents?: number[];
584
- allow_custom_amount: boolean;
585
- cta_label?: string;
586
- is_active: boolean;
587
- created_at: string;
588
- updated_at: string;
589
- }
590
- interface GivingIntent {
591
- id: string;
592
- workspace_id: string;
593
- status: string;
594
- variant: string;
595
- title: string;
596
- description?: string;
597
- currency: string;
598
- amount_cents: number;
599
- is_recurring: boolean;
600
- is_anonymous: boolean;
601
- display_name?: string;
602
- email?: string;
603
- message?: string;
604
- session_id?: string;
605
- recurring_agreement_id?: string;
606
- source_invoice_id?: string;
607
- created_at: string;
608
- updated_at: string;
609
- refunded_at?: string;
610
- }
611
- interface GivingIntentListResponse {
612
- items: GivingIntent[];
613
- }
614
- interface SavedAddress {
615
- id: string;
616
- label: string;
617
- name: string;
618
- phone: string;
619
- line1: string;
620
- line2: string;
621
- city: string;
622
- region: string;
623
- postal_code: string;
624
- country_code: string;
625
- is_default: boolean;
626
- created_at: string;
627
- updated_at: string;
628
- }
629
- interface SavedAddressInput {
630
- name: string;
631
- line1: string;
632
- city: string;
633
- country_code: string;
634
- label?: string;
635
- phone?: string;
636
- line2?: string;
637
- region?: string;
638
- postal_code?: string;
639
- is_default?: boolean;
640
- }
641
- type SavedAddressUpdateInput = SavedAddressInput;
642
- interface SavedAddressResponse {
643
- address: SavedAddress;
644
- }
645
- interface SavedPaymentMethod {
646
- id: string;
647
- provider: string;
648
- status: string;
649
- is_default: boolean;
650
- display_brand?: string;
651
- display_last4?: string;
652
- exp_month?: number;
653
- exp_year?: number;
654
- created_at: string;
655
- updated_at: string;
656
- }
657
- interface PaymentMethodSetupInput {
658
- provider: string;
659
- consent: boolean;
660
- consent_version: "saved_payment_method_v1";
661
- }
662
- interface PaymentMethodSetupResult {
663
- type: string;
664
- client_secret?: string;
665
- publishable_key?: string;
666
- }
667
- interface PaymentMethodConfirmInput {
668
- provider: string;
669
- setup_intent_id?: string;
670
- payment_method_id?: string;
671
- }
672
- interface PaymentMethodMutationResponse {
673
- success: boolean;
674
- }
675
- interface SubscriptionAgreement {
676
- id: string;
677
- workspace_id: string;
678
- source_kind: string;
679
- source_id: string;
680
- end_user_ref?: string;
681
- status: string;
682
- provider: string;
683
- provider_ref?: string;
684
- provider_customer_ref?: string;
685
- plan_id?: string;
686
- initial_invoice_id?: string;
687
- currency: string;
688
- amount_cents: number;
689
- interval: string;
690
- current_period_start?: string;
691
- current_period_end?: string;
692
- trial_ends_at?: string;
693
- cancel_at_period_end: boolean;
694
- canceled_at?: string;
695
- meta?: Record<string, unknown>;
696
- created_at: string;
697
- updated_at: string;
698
- }
699
- interface SubscriptionAgreementResponse {
700
- agreement: SubscriptionAgreement;
701
- }
702
- interface SubscriptionListResponse {
703
- items: SubscriptionAgreement[];
704
- has_more: boolean;
705
- next_cursor?: string;
706
- }
707
- interface SubscriptionInvoice {
708
- id: string;
709
- workspace_id: string;
710
- agreement_id: string;
711
- source_kind: string;
712
- source_id: string;
713
- invoice_number: string;
714
- status: string;
715
- currency: string;
716
- subtotal_cents: number;
717
- tax_cents: number;
718
- total_cents: number;
719
- paid_cents: number;
720
- period_start?: string;
721
- period_end?: string;
722
- due_at?: string;
723
- paid_at?: string;
724
- payment_id?: string;
725
- attempt_count: number;
726
- failure_code?: string;
727
- failure_message?: string;
728
- meta?: Record<string, unknown>;
729
- created_at: string;
730
- updated_at: string;
731
- }
732
- interface SubscriptionInvoiceResponse {
733
- invoice: SubscriptionInvoice;
734
- }
735
- interface SubscriptionInvoiceListResponse {
736
- items: SubscriptionInvoice[];
737
- has_more: boolean;
738
- next_cursor?: string;
739
- }
740
- interface SubscriptionSourceDisplay {
741
- source_app: string;
742
- source_kind: string;
743
- source_id: string;
744
- app_label: string;
745
- object_label: string;
746
- subtitle?: string;
747
- variant?: string;
748
- admin_href?: string;
749
- customer_href?: string;
750
- status?: string;
751
- }
752
- interface SubscriptionSourceResponse {
753
- source_display: SubscriptionSourceDisplay;
754
- }
755
- interface StartGivingInput {
756
- variant?: string;
757
- title?: string;
758
- description?: string;
759
- amount_cents: number;
760
- currency?: string;
761
- is_recurring?: boolean;
762
- is_anonymous?: boolean;
763
- display_name?: string;
764
- email?: string;
765
- message?: string;
766
- success_url?: string;
767
- cancel_url?: string;
768
- }
769
- interface StartGivingResponse {
770
- giving: GivingIntent;
771
- /** Present for one-time gifts. Recurring gifts start an account agreement. */
772
- session?: {
773
- session_id: string;
774
- url: string;
775
- payment_intent_id?: string;
776
- };
777
- }
778
- /** Public, fail-closed view of the platform payment-collection cutoff. */
779
- interface PaymentCollectionAvailability {
780
- available: boolean;
781
- code?: "payment_collection_disabled" | "payment_collection_unavailable";
782
- message?: string;
783
- }
784
- interface PublicPaymentLink {
785
- id: string;
786
- title: string;
787
- description?: string;
788
- amount_cents: number;
789
- currency: string;
790
- allow_custom_amount: boolean;
791
- minimum_amount_cents?: number;
792
- maximum_amount_cents?: number;
793
- }
794
- interface PublicPaymentLinkResponse {
795
- payment_link: PublicPaymentLink;
796
- }
797
- interface PaymentLinkCheckoutInput {
798
- /** Omit for fixed-price links. Required when a custom-price link has no default. */
799
- amount_cents?: number;
800
- customer_email?: string;
801
- customer_name?: string;
802
- }
803
- type PaymentLinkRedemptionStatus = "pending" | "checkout_ready" | "succeeded" | "failed" | "refunded" | "disputed" | "charged_back";
804
- interface PaymentLinkCheckoutResponse {
805
- redemption_id: string;
806
- status: PaymentLinkRedemptionStatus;
807
- session: {
808
- session_id: string;
809
- url: string;
810
- payment_intent_id?: string;
811
- };
812
- }
813
- interface PaymentLinkRedemptionStatusResponse {
814
- redemption_id: string;
815
- status: PaymentLinkRedemptionStatus;
816
- failure_code?: string;
817
- }
818
- interface PrintPerPagePricing {
819
- bw_cents: number;
820
- colour_cents: number;
821
- }
822
- interface PrintPaperSize {
823
- key: string;
824
- label: string;
825
- surcharge_cents: number;
826
- enabled: boolean;
827
- }
828
- interface PrintPricingOption {
829
- key: string;
830
- label: string;
831
- type: string;
832
- surcharge_cents: number;
833
- }
834
- interface PrintPricing {
835
- base_fee_cents: number;
836
- per_page: PrintPerPagePricing;
837
- paper_sizes: PrintPaperSize[];
838
- options: PrintPricingOption[];
839
- min_total_cents: number;
840
- }
841
- interface PrintBranding {
842
- display_name?: string;
843
- logo_url?: string;
844
- accent?: string;
845
- instructions?: string;
846
- }
847
- interface PrintIntakeLimits {
848
- max_files: number;
849
- max_file_bytes: number;
850
- max_total_bytes: number;
851
- allowed_extensions: string[];
852
- }
853
- interface PrintSettingsResponse {
854
- accepting: boolean;
855
- currency: string;
856
- retention_days: number;
857
- pricing: PrintPricing;
858
- branding: PrintBranding;
859
- intake_limits: PrintIntakeLimits;
860
- }
861
- interface PrintOptionsSelection {
862
- paper_size: string;
863
- colour: boolean;
864
- pages: number;
865
- copies: number;
866
- extras?: Record<string, boolean>;
867
- }
868
- interface PrintPriceLine {
869
- label: string;
870
- amount_cents: number;
871
- }
872
- interface PrintPriceBreakdown {
873
- lines: PrintPriceLine[];
874
- total_cents: number;
875
- currency: string;
876
- }
877
- interface PrintQuoteResponse {
878
- price_cents: number;
879
- currency: string;
880
- breakdown: PrintPriceBreakdown;
881
- }
882
- interface PrintIntakeInput {
883
- name: string;
884
- email?: string;
885
- phone?: string;
886
- notes?: string;
887
- options: PrintOptionsSelection;
888
- files: Array<{
889
- blob: Blob;
890
- filename: string;
891
- }>;
892
- }
893
- interface PrintJobFile {
894
- id: string;
895
- job_id: string;
896
- file_name: string;
897
- mime_type: string;
898
- size_bytes: number;
899
- page_count?: number;
900
- sort_order: number;
901
- created_at: string;
902
- }
903
- interface PrintJob {
904
- id: string;
905
- workspace_id: string;
906
- reference: string;
907
- customer_name: string;
908
- customer_email?: string;
909
- customer_phone?: string;
910
- status: string;
911
- payment_status: string;
912
- payment_method: string;
913
- options: PrintOptionsSelection;
914
- price_cents: number;
915
- currency: string;
916
- price_breakdown: PrintPriceBreakdown;
917
- notes?: string;
918
- file_count?: number;
919
- version: number;
920
- files?: PrintJobFile[];
921
- created_at: string;
922
- updated_at: string;
923
- }
924
- interface DiningAvailabilityRule {
925
- days?: string[];
926
- start?: string;
927
- end?: string;
928
- starts_on?: string;
929
- ends_on?: string;
930
- }
931
- interface DiningAvailability {
932
- timezone?: string;
933
- rules?: DiningAvailabilityRule[];
934
- is_available_now: boolean;
935
- next_change_at?: string;
936
- }
937
- interface DiningItemSize {
938
- id: string;
939
- name: string;
940
- price_cents: number;
941
- is_default: boolean;
942
- sort_order: number;
943
- is_active: boolean;
944
- }
945
- interface DiningModifier {
946
- id: string;
947
- name: string;
948
- description?: string;
949
- price_delta_cents: number;
950
- is_default: boolean;
951
- sort_order: number;
952
- is_active: boolean;
953
- }
954
- interface DiningModifierGroup {
955
- id: string;
956
- name: string;
957
- description?: string;
958
- selection_type: string;
959
- is_required: boolean;
960
- min_selections: number;
961
- max_selections?: number;
962
- sort_order: number;
963
- is_active: boolean;
964
- modifiers: DiningModifier[];
965
- }
966
- interface DiningOfferBadge {
967
- offer_id: string;
968
- label: string;
969
- type: string;
970
- is_featured: boolean;
971
- display_priority: number;
972
- }
973
- interface DiningComboChoice {
974
- id: string;
975
- item: {
976
- id: string;
977
- slug: string;
978
- name: string;
979
- description?: string;
980
- base_price_cents: number;
981
- image_url?: string;
982
- image_alt: string;
983
- badges: string[];
984
- status: string;
985
- dietary_flags: string[];
986
- allergens: string[];
987
- calories?: number;
988
- prep_time_mins?: number;
989
- spice_level?: number;
990
- kitchen_station?: string;
991
- sizes: DiningItemSize[];
992
- modifier_groups: DiningModifierGroup[];
993
- };
994
- label_override?: string;
995
- description_override?: string;
996
- price_delta_cents: number;
997
- is_default: boolean;
998
- sort_order: number;
999
- is_active: boolean;
1000
- is_available: boolean;
1001
- }
1002
- interface DiningComboGroup {
1003
- id: string;
1004
- name: string;
1005
- description?: string;
1006
- min_selections: number;
1007
- max_selections?: number;
1008
- allow_repeats: boolean;
1009
- sort_order: number;
1010
- is_active: boolean;
1011
- choices: DiningComboChoice[];
1012
- }
1013
- interface DiningOffer {
1014
- id: string;
1015
- name: string;
1016
- badge_label?: string;
1017
- type: string;
1018
- code?: string;
1019
- is_featured: boolean;
1020
- display_priority: number;
1021
- image_url?: string;
1022
- availability?: DiningAvailability;
1023
- is_active: boolean;
1024
- }
1025
- interface DiningMenuItem {
1026
- id: string;
1027
- slug: string;
1028
- name: string;
1029
- description?: string;
1030
- item_kind: string;
1031
- price_cents: number;
1032
- price_from_cents: number;
1033
- image_url?: string;
1034
- image_alt: string;
1035
- badges: string[];
1036
- is_featured: boolean;
1037
- is_available: boolean;
1038
- status: string;
1039
- dietary_flags: string[];
1040
- allergens: string[];
1041
- calories?: number;
1042
- prep_time_mins?: number;
1043
- spice_level?: number;
1044
- sizes: DiningItemSize[];
1045
- modifier_groups: DiningModifierGroup[];
1046
- offer_badges: DiningOfferBadge[];
1047
- combo_groups?: DiningComboGroup[];
1048
- }
1049
- interface DiningMenu {
1050
- dash_id: string;
1051
- workspace_id: string;
1052
- board: {
1053
- id: string;
1054
- slug: string;
1055
- name: string;
1056
- description?: string;
1057
- currency: string;
1058
- applicable_order_types: string[];
1059
- availability?: DiningAvailability;
1060
- is_active: boolean;
1061
- };
1062
- sections: Array<{
1063
- id: string;
1064
- name: string;
1065
- description?: string;
1066
- sort_order: number;
1067
- availability?: DiningAvailability;
1068
- is_active: boolean;
1069
- items: DiningMenuItem[];
1070
- }>;
1071
- offers: DiningOffer[];
1072
- generated_at: string;
1073
- }
1074
- /** The published theme, as served to a channel that owns its own routing and
1075
- * therefore never calls `site.resolve` (which otherwise bundles it). */
1076
- interface ThemeResponse {
1077
- theme: Record<string, unknown> | null;
1078
- }
1079
- interface Customer {
1080
- id: string;
1081
- email: string;
1082
- name: string;
1083
- email_verified?: boolean;
1084
- is_active?: boolean;
1085
- [key: string]: unknown;
1086
- }
1087
- /** Returned by verify-code and refresh. `access_token` is the session. */
1088
- interface CustomerSession {
1089
- access_token: string;
1090
- refresh_token: string;
1091
- token_type: string;
1092
- expires_at: string;
1093
- end_user: Customer;
1094
- }
1095
- interface CustomerSignupResponse {
1096
- end_user: Customer;
1097
- created: boolean;
1098
- requires_email_verification: boolean;
1099
- }
1100
- interface SendCodeResponse {
1101
- status: string;
1102
- purpose: string;
1103
- }
1104
- interface CustomerResponse {
1105
- end_user: Customer;
1106
- }
1107
- interface CustomerAuthSession {
1108
- id: string;
1109
- auth_method: string;
1110
- device_type: string;
1111
- browser_name: string;
1112
- os_name: string;
1113
- country_code?: string;
1114
- created_at: string;
1115
- last_seen_at: string;
1116
- expires_at: string;
1117
- revoked_at?: string;
1118
- current: boolean;
1119
- }
1120
- interface CustomerSecurityActivity {
1121
- id: string;
1122
- event_type: string;
1123
- category: string;
1124
- severity: string;
1125
- outcome: string;
1126
- country_code?: string;
1127
- session_id?: string;
1128
- metadata?: Record<string, unknown>;
1129
- occurred_at: string;
1130
- }
1131
- interface CustomerSecurityActivityPage {
1132
- items: CustomerSecurityActivity[];
1133
- next_cursor?: string;
1134
- has_more: boolean;
1135
- }
1136
- interface ChannelGeo {
1137
- country: string;
1138
- countryName: string;
1139
- currency: {
1140
- code: string;
1141
- symbol: string;
1142
- };
1143
- region: {
1144
- code: string;
1145
- name: string;
1146
- currency: string;
1147
- currencySymbol: string;
1148
- locale: string;
1149
- timezone: string;
1150
- };
1151
- ip: string;
1152
- source: string;
1153
- }
1154
- interface Order {
1155
- id: string;
1156
- workspace_id?: string;
1157
- order_number: string;
1158
- cart_token?: string;
1159
- channel_id?: string;
1160
- status: string;
1161
- payment_status: string;
1162
- currency: string;
1163
- source?: string;
1164
- customer_email?: string;
1165
- customer_name?: string;
1166
- subtotal_cents?: number;
1167
- shipping_amount_cents?: number;
1168
- tax_amount_cents?: number;
1169
- total_cents: number;
1170
- items?: OrderItem[];
1171
- version?: number;
1172
- created_at: string;
1173
- updated_at?: string;
1174
- [key: string]: unknown;
1175
- }
1176
- interface OrderItem {
1177
- id: string;
1178
- order_id: string;
1179
- product_id?: string;
1180
- variant_id?: string;
1181
- product_slug?: string;
1182
- variant_title?: string;
1183
- thumbnail_url?: string;
1184
- title: string;
1185
- quantity: number;
1186
- unit_price_cents: number;
1187
- line_total_cents: number;
1188
- /** Stripe product tax code, snapshotted from the product at order time. */
1189
- tax_code?: string;
1190
- [key: string]: unknown;
1191
- }
1192
- interface CartResponse {
1193
- order: Order;
1194
- }
1195
- interface AddCartItemInput {
1196
- cart_token?: string;
1197
- currency?: string;
1198
- product_id: string;
1199
- variant_id?: string;
1200
- quantity: number;
1201
- }
1202
- interface UpdateCartItemInput {
1203
- cart_token: string;
1204
- quantity: number;
1205
- }
1206
- interface MergeCartInput {
1207
- source_cart_token: string;
1208
- target_cart_token: string;
1209
- currency?: string;
1210
- }
1211
- interface CheckoutCustomerInput {
1212
- cart_token: string;
1213
- email: string;
1214
- name: string;
1215
- }
1216
- interface CheckoutAddress {
1217
- name?: string;
1218
- phone?: string;
1219
- line1: string;
1220
- line2?: string;
1221
- city: string;
1222
- region?: string;
1223
- postal_code?: string;
1224
- country_code: string;
1225
- }
1226
- interface CheckoutAddressesInput {
1227
- cart_token: string;
1228
- shipping: CheckoutAddress;
1229
- billing?: CheckoutAddress;
1230
- }
1231
- interface CheckoutFulfillmentInput {
1232
- cart_token: string;
1233
- method: "shipping" | "pickup";
1234
- shipping_method_id?: string;
1235
- }
1236
- interface CheckoutPayInput {
1237
- cart_token: string;
1238
- return_url?: string;
1239
- }
1240
- interface CheckoutCancelInput {
1241
- cart_token: string;
1242
- }
1243
- interface PaymentMethodOption {
1244
- provider: string;
1245
- name: string;
1246
- type: string;
1247
- is_available: boolean;
1248
- [key: string]: unknown;
1249
- }
1250
- interface PaymentReadiness {
1251
- ready: boolean;
1252
- mode: string;
1253
- reasons?: string[];
1254
- providers_available?: string[];
1255
- connect_required?: boolean;
1256
- connect_configured?: boolean;
1257
- }
1258
- interface ShippingMethodOption {
1259
- id: string;
1260
- name?: string;
1261
- code?: string;
1262
- amount_cents?: number;
1263
- [key: string]: unknown;
1264
- }
1265
- interface CheckoutOptions {
1266
- checkout_variant: string;
1267
- order: Order;
1268
- checkout_active?: boolean;
1269
- shipping_methods?: ShippingMethodOption[];
1270
- payment_methods?: PaymentMethodOption[];
1271
- payment_ready?: boolean;
1272
- payment_readiness?: PaymentReadiness;
1273
- [key: string]: unknown;
1274
- }
1275
- type CheckoutStatus = "finalizing" | "completed" | "failed" | "not_found";
1276
- interface CheckoutStatusResponse {
1277
- status: CheckoutStatus;
1278
- order_status?: string;
1279
- payment_status?: string;
1280
- payment_reference?: string;
1281
- updated_at?: string;
1282
- reasons?: string[];
1283
- [key: string]: unknown;
1284
- }
1285
- interface CheckoutPayResponse {
1286
- order: Order;
1287
- session?: Record<string, unknown>;
1288
- checkout_variant?: string;
1289
- payment?: Record<string, unknown>;
1290
- status?: string;
1291
- provider_ref?: string;
1292
- checkout_session_id?: string;
1293
- redirect_url?: string;
1294
- [key: string]: unknown;
1295
- }
1296
- interface OrderSummary {
1297
- base_currency: string;
1298
- total_orders: number;
1299
- [key: string]: unknown;
1300
- }
1301
- /** What the door reports about the token you just used. */
1302
- interface ChannelPing {
1303
- channel_id: string;
1304
- workspace_id: string;
1305
- dash_id: string;
1306
- scope: "workspace" | "dash";
1307
- api_version: string;
1308
- attestation?: string;
1309
- }
1310
- /** A subscription plan a workspace offers. Mirrors Go PlanOffer. */
1311
- interface SubscriptionPlanOffer {
1312
- id: string;
1313
- workspace_id: string;
1314
- title: string;
1315
- description?: string;
1316
- currency: string;
1317
- amount_cents: number;
1318
- interval: string;
1319
- is_active: boolean;
1320
- created_at: string;
1321
- updated_at: string;
1322
- }
1323
- interface SubscriptionPlanListResponse {
1324
- items: SubscriptionPlanOffer[];
1325
- }
1326
- interface SubscriptionPlanResponse {
1327
- plan: SubscriptionPlanOffer;
1328
- }
1329
- /** Customer-controlled subscription acquisition. Price and terms come from the plan. */
1330
- interface StartSubscriptionInput {
1331
- plan_id: string;
1332
- }
1333
-
1334
5
  /**
1335
6
  * ChannelConfigurationError is thrown for a misconfigured client — missing or
1336
7
  * malformed token, invalid retry/timeout/cache options, missing fetch, missing
@@ -1714,4 +385,4 @@ declare function createChannelClient(options: CreateChannelClientOptions): {
1714
385
  };
1715
386
  };
1716
387
 
1717
- export { type AddCartItemInput, type BlogPost, type BlogPostResponse, type CartResponse, type CatalogBrand, type CatalogCategory, type CatalogCollection, type CatalogProduct, type CatalogProductsResponse, ChannelAPIError, type ChannelCheckoutStatusParams, ChannelConfigurationError, type ChannelGeo, type ChannelInvoiceListParams, type ChannelLeadInput, type ChannelListParams, type ChannelMutationOptions, type ChannelOperation, type ChannelPing, type ChannelProductListParams, type ChannelRequestObservation, type ChannelRequestObserver, type ChannelRequestOutcome, type ChannelRetryPolicy, type ChannelSiteResolveParams, type ChannelSubscriptionCancelParams, type ChannelSubscriptionListParams, type ChannelVisitor, type CheckoutAddress, type CheckoutAddressesInput, type CheckoutCancelInput, type CheckoutCustomerInput, type CheckoutFulfillmentInput, type CheckoutOptions, type CheckoutPayInput, type CheckoutPayResponse, type CheckoutStatus, type CheckoutStatusResponse, type CreateChannelClientOptions, type Customer, type CustomerAuthSession, type CustomerResponse, type CustomerSecurityActivity, type CustomerSecurityActivityPage, type CustomerSession, type CustomerSignupResponse, DEFAULT_CHANNEL_API_URL, type DashBrandingInfo, type DashDirectoryEntry, type DashDirectoryListParams, type DashDirectoryProfile, type DashDirectoryProfileResponse, type DashDirectoryRegion, type DashInitResponse, type DashLead, type DashLeadPortalMatch, type DashLeadPortalMovingSummary, type DashLeadPortalRequest, type DashLeadPortalRequestLinkInput, type DashLeadPortalRequestLinkResponse, type DashLeadPortalRequestStatus, type DashLeadPortalView, type DashLocaleInfo, type DashPlan, type DashPlanPricing, type DashPlanRegion, type DashPlansResponse, type DashProfileResponse, type DashPublicPage, type DashPublicProfileInfo, type DashTenantInfo, type DiningAvailability, type DiningAvailabilityRule, type DiningComboChoice, type DiningComboGroup, type DiningItemSize, type DiningMenu, type DiningMenuItem, type DiningModifier, type DiningModifierGroup, type DiningOffer, type DiningOfferBadge, type GivingEntry, type GivingIntent, type GivingIntentListResponse, type LeadResponse, type LightInitResponse, type ListResponse, type Menu, type MenuItem, type MenuResponse, type MergeCartInput, type Order, type OrderItem, type OrderSummary, type PaymentCollectionAvailability, type PaymentLinkCheckoutInput, type PaymentLinkCheckoutResponse, type PaymentLinkRedemptionStatus, type PaymentLinkRedemptionStatusResponse, type PaymentMethodConfirmInput, type PaymentMethodMutationResponse, type PaymentMethodOption, type PaymentMethodSetupInput, type PaymentMethodSetupResult, type PaymentReadiness, type PrintBranding, type PrintIntakeInput, type PrintIntakeLimits, type PrintJob, type PrintJobFile, type PrintOptionsSelection, type PrintPaperSize, type PrintPerPagePricing, type PrintPriceBreakdown, type PrintPriceLine, type PrintPricing, type PrintPricingOption, type PrintQuoteResponse, type PrintSettingsResponse, type Product, type ProductAsset, type PublicGate, type PublicPage, type PublicPageSummary, type PublicPaymentLink, type PublicPaymentLinkResponse, type PublicSubmitReviewInput, type PublicWorkspaceInit, type Review, type ReviewSummaryResponse, type SavedAddress, type SavedAddressInput, type SavedAddressResponse, type SavedAddressUpdateInput, type SavedPaymentMethod, type SendCodeResponse, type ShippingMethodOption, type SiteDocument, type SiteGatedDocument, type SiteRef, type SiteResolvedDocument, type SiteSubject, type StartGivingInput, type StartGivingResponse, type StartSubscriptionInput, type SubscriptionAgreement, type SubscriptionAgreementResponse, type SubscriptionInvoice, type SubscriptionInvoiceListResponse, type SubscriptionInvoiceResponse, type SubscriptionListResponse, type SubscriptionPlanListResponse, type SubscriptionPlanOffer, type SubscriptionPlanResponse, type SubscriptionSourceDisplay, type SubscriptionSourceResponse, type ThemeResponse, type UpdateCartItemInput, type WaitlistAcknowledgement, type WaitlistAttribution, type WaitlistFormSettings, type WaitlistGateStatus, type WaitlistSubmission, type WaitlistUnsubscription, type WaitlistVerification, type WorkspaceInfo, createChannelClient, isChannelAPIError, isChannelConfigurationError };
388
+ export { AddCartItemInput, BlogPost, BlogPostResponse, CartResponse, CatalogBrand, CatalogCategory, CatalogCollection, CatalogProductsResponse, ChannelAPIError, type ChannelCheckoutStatusParams, ChannelConfigurationError, ChannelGeo, type ChannelInvoiceListParams, type ChannelLeadInput, type ChannelListParams, type ChannelMutationOptions, type ChannelOperation, ChannelPing, type ChannelProductListParams, type ChannelRequestObservation, type ChannelRequestObserver, type ChannelRequestOutcome, type ChannelRetryPolicy, type ChannelSiteResolveParams, type ChannelSubscriptionCancelParams, type ChannelSubscriptionListParams, type ChannelVisitor, CheckoutAddressesInput, CheckoutCancelInput, CheckoutCustomerInput, CheckoutFulfillmentInput, CheckoutOptions, CheckoutPayInput, CheckoutPayResponse, CheckoutStatusResponse, type CreateChannelClientOptions, CustomerAuthSession, CustomerResponse, CustomerSecurityActivityPage, CustomerSession, CustomerSignupResponse, DEFAULT_CHANNEL_API_URL, DashDirectoryEntry, type DashDirectoryListParams, DashDirectoryProfileResponse, DashDirectoryRegion, DashInitResponse, DashLead, DashLeadPortalRequestLinkInput, DashLeadPortalRequestLinkResponse, DashLeadPortalView, DashPlansResponse, DashProfileResponse, DiningMenu, GivingEntry, GivingIntentListResponse, LeadResponse, LightInitResponse, ListResponse, MenuResponse, MergeCartInput, Order, OrderSummary, PaymentCollectionAvailability, PaymentLinkCheckoutInput, PaymentLinkCheckoutResponse, PaymentLinkRedemptionStatusResponse, PaymentMethodConfirmInput, PaymentMethodMutationResponse, PaymentMethodSetupInput, PaymentMethodSetupResult, PrintIntakeInput, PrintJob, PrintOptionsSelection, PrintQuoteResponse, PrintSettingsResponse, Product, ProductAsset, PublicPage, PublicPageSummary, PublicPaymentLinkResponse, PublicSubmitReviewInput, PublicWorkspaceInit, Review, ReviewSummaryResponse, SavedAddress, SavedAddressInput, SavedAddressResponse, SavedAddressUpdateInput, SavedPaymentMethod, SendCodeResponse, SiteDocument, StartGivingInput, StartGivingResponse, StartSubscriptionInput, SubscriptionAgreementResponse, SubscriptionInvoiceListResponse, SubscriptionInvoiceResponse, SubscriptionListResponse, SubscriptionPlanListResponse, SubscriptionPlanResponse, SubscriptionSourceResponse, ThemeResponse, UpdateCartItemInput, WaitlistAcknowledgement, WaitlistFormSettings, WaitlistGateStatus, WaitlistSubmission, WaitlistUnsubscription, WaitlistVerification, createChannelClient, isChannelAPIError, isChannelConfigurationError };