@c1m-public/channel-client 4.3.0 → 5.0.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/{chunk-S23YLIEB.js → chunk-654FCSVE.js} +1 -1
- package/dist/{chunk-UZHGL5GF.js → chunk-7D26WVWG.js} +1 -1
- package/dist/{chunk-DGYVCI3A.js → chunk-K4WHHUTW.js} +1 -1
- package/dist/dash-next.d.ts +1 -1
- package/dist/dash-next.js +3 -3
- package/dist/dash.d.ts +1 -1
- package/dist/dash.js +2 -2
- package/dist/index.d.ts +2 -2
- package/dist/index.js +1 -1
- package/dist/next.d.ts +1 -1
- package/dist/next.js +2 -2
- package/dist/site.d.ts +1 -1
- package/dist/{types-CVLv9LwV.d.ts → types-Ch86mCHw.d.ts} +21 -3
- package/package.json +1 -1
|
@@ -696,7 +696,7 @@ function buildChannelClient(options, viewer) {
|
|
|
696
696
|
body: JSON.stringify(input)
|
|
697
697
|
}, customerSession),
|
|
698
698
|
update: (addressId, input, mutation) => request("channel.account.addresses.update", `/account/addresses/${encodePath(addressId)}`, {
|
|
699
|
-
method: "
|
|
699
|
+
method: "PATCH",
|
|
700
700
|
headers: mutationHeaders(mutation),
|
|
701
701
|
body: JSON.stringify(input)
|
|
702
702
|
}, customerSession),
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { isChannelAPIError, createChannelClient } from './chunk-
|
|
1
|
+
import { isChannelAPIError, createChannelClient } from './chunk-654FCSVE.js';
|
|
2
2
|
import { parseChannelWebhookEvent, isChannelWebhookVerificationError, isChannelWebhookEventType, ChannelConfigurationError } from './chunk-XPO7C3DW.js';
|
|
3
3
|
import 'server-only';
|
|
4
4
|
|
package/dist/dash-next.d.ts
CHANGED
package/dist/dash-next.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { createNextChannelClient } from './chunk-
|
|
2
|
-
import { narrow } from './chunk-
|
|
3
|
-
import './chunk-
|
|
1
|
+
import { createNextChannelClient } from './chunk-7D26WVWG.js';
|
|
2
|
+
import { narrow } from './chunk-K4WHHUTW.js';
|
|
3
|
+
import './chunk-654FCSVE.js';
|
|
4
4
|
import './chunk-XPO7C3DW.js';
|
|
5
5
|
import 'server-only';
|
|
6
6
|
|
package/dist/dash.d.ts
CHANGED
package/dist/dash.js
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export { createDashChannelClient, narrow as narrowToDash } from './chunk-
|
|
2
|
-
import './chunk-
|
|
1
|
+
export { createDashChannelClient, narrow as narrowToDash } from './chunk-K4WHHUTW.js';
|
|
2
|
+
import './chunk-654FCSVE.js';
|
|
3
3
|
import './chunk-XPO7C3DW.js';
|
package/dist/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { i as ChannelPing, j as ChannelGeo, P as PaymentCollectionAvailability, W as WaitlistGateStatus, k as WaitlistFormSettings, l as WaitlistSubmission, m as WaitlistAcknowledgement, n as WaitlistVerification, o as WaitlistUnsubscription, F as FileRequestView, p as FileRequestUploadInput, q as FileRequestUploadTicket, r as FileRequestCompleteInput, s as FileRequestReceivedFile, t as FileRequestClosed, u as ChannelReceiptResponse, D as DashProfileResponse, v as DashInitResponse, w as DashPlansResponse, L as ListResponse, x as DashDirectoryRegion, y as DashDirectoryEntry, z as DashDirectoryProfileResponse, B as DashLead, E as DashLeadPortalRequestLinkInput, G as DashLeadPortalRequestLinkResponse, H as DashLeadPortalView, I as DashMovingQuoteInput, J as DashMovingQuoteReceipt, K as DashMovingAddressList, M as DashMovingAddress, N as DashMovingDistance, S as SiteAccess, Q as SiteDocument, R as PublicWorkspaceInit, T as LightInitResponse, U as PublicPageSummary, V as PublicPage, X as Product, Y as ProductAsset, Z as SlotsResponse, _ as DownloadResponse, a$ as BeginUploadInput, b0 as CompleteUploadInput, $ as ArtworkMutationReceipt, b1 as DecisionInput, a0 as PublicConfiguration, a1 as PublicConfigurationQuoteInput, a2 as PublicConfigurationQuote, a3 as CatalogCategory, a4 as CatalogProductsResponse, a5 as CatalogCollection, a6 as CatalogBrand, a7 as CartLookupResponse, A as AddCartItemInput, C as CartResponse, a8 as UpdateCartItemInput, a9 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, aa as Review, ab as ReviewSummaryResponse, ac as PublicSubmitReviewInput, ad as ThemeResponse, ae as MenuResponse, af as BlogPost, ag as BlogPostResponse, ah as GivingEntry, ai as StartGivingInput, aj as StartGivingResponse, ak as SubscriptionPlanListResponse, al as SubscriptionPlanResponse, am as BookingService, an as BookingServiceResponse, ao as BookingAvailabilityParams, ap as BookingAvailabilityResponse, aq as BookingQuoteParams, ar as BookingQuoteResponse, as as CreateBookingHoldInput, at as BookingHoldResponse, au as PublicPaymentLinkResponse, av as PaymentLinkCheckoutInput, aw as PaymentLinkCheckoutResponse, ax as PaymentLinkRedemptionStatusResponse, ay as PrintSettingsResponse, az as PrintOptionsSelection, aA as PrintQuoteResponse, aB as PrintIntakeInput, aC as PrintJob, aD as DiningMenu, aE as CustomerSignupResponse, aF as SendCodeResponse, aG as CustomerSession, aH as CustomerResponse, aI as CustomerAuthSession, aJ as CustomerSecurityActivityPage, O as Order, aK as OrderSummary, aL as SavedAddress, aM as SavedAddressResponse, aN as SavedAddressInput, aO as SavedAddressUpdateInput, aP as AccountBillingPortalInput, aQ as AccountBillingPortalResponse, aR as StartSubscriptionInput, aS as SubscriptionCheckoutResponse, aT as SubscriptionListResponse, aU as SubscriptionAgreementResponse, aV as SubscriptionSourceResponse, aW as SubscriptionPaymentRecoveryResponse, aX as AccountBooking, aY as AccountPayment, aZ as GivingIntentListResponse, a_ as LeadResponse, b2 as Slot } from './types-
|
|
2
|
-
export { b3 as BookingAvailability, b4 as BookingCancellationPolicy, b5 as BookingCustomerInput, b6 as BookingFreeSpan, b7 as BookingHold, b8 as BookingIntakeQuestion, b9 as BookingPriceQuote, ba as BookingServicePricing, bb as BookingTimeRange, bc as CatalogProduct, bd as ChannelReceipt, be as ChannelReceiptLine, bf as ChannelReceiptRecurring, bg as CheckoutAddress, bh as CheckoutStatus, bi as ConfigDocument, bj as ConfigQuote, bk as ConfigSelectionRequest, bl as Customer, bm as CustomerSecurityActivity, bn as DashBrandingInfo, bo as DashDirectoryGalleryItem, bp as
|
|
1
|
+
import { i as ChannelPing, j as ChannelGeo, P as PaymentCollectionAvailability, W as WaitlistGateStatus, k as WaitlistFormSettings, l as WaitlistSubmission, m as WaitlistAcknowledgement, n as WaitlistVerification, o as WaitlistUnsubscription, F as FileRequestView, p as FileRequestUploadInput, q as FileRequestUploadTicket, r as FileRequestCompleteInput, s as FileRequestReceivedFile, t as FileRequestClosed, u as ChannelReceiptResponse, D as DashProfileResponse, v as DashInitResponse, w as DashPlansResponse, L as ListResponse, x as DashDirectoryRegion, y as DashDirectoryEntry, z as DashDirectoryProfileResponse, B as DashLead, E as DashLeadPortalRequestLinkInput, G as DashLeadPortalRequestLinkResponse, H as DashLeadPortalView, I as DashMovingQuoteInput, J as DashMovingQuoteReceipt, K as DashMovingAddressList, M as DashMovingAddress, N as DashMovingDistance, S as SiteAccess, Q as SiteDocument, R as PublicWorkspaceInit, T as LightInitResponse, U as PublicPageSummary, V as PublicPage, X as Product, Y as ProductAsset, Z as SlotsResponse, _ as DownloadResponse, a$ as BeginUploadInput, b0 as CompleteUploadInput, $ as ArtworkMutationReceipt, b1 as DecisionInput, a0 as PublicConfiguration, a1 as PublicConfigurationQuoteInput, a2 as PublicConfigurationQuote, a3 as CatalogCategory, a4 as CatalogProductsResponse, a5 as CatalogCollection, a6 as CatalogBrand, a7 as CartLookupResponse, A as AddCartItemInput, C as CartResponse, a8 as UpdateCartItemInput, a9 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, aa as Review, ab as ReviewSummaryResponse, ac as PublicSubmitReviewInput, ad as ThemeResponse, ae as MenuResponse, af as BlogPost, ag as BlogPostResponse, ah as GivingEntry, ai as StartGivingInput, aj as StartGivingResponse, ak as SubscriptionPlanListResponse, al as SubscriptionPlanResponse, am as BookingService, an as BookingServiceResponse, ao as BookingAvailabilityParams, ap as BookingAvailabilityResponse, aq as BookingQuoteParams, ar as BookingQuoteResponse, as as CreateBookingHoldInput, at as BookingHoldResponse, au as PublicPaymentLinkResponse, av as PaymentLinkCheckoutInput, aw as PaymentLinkCheckoutResponse, ax as PaymentLinkRedemptionStatusResponse, ay as PrintSettingsResponse, az as PrintOptionsSelection, aA as PrintQuoteResponse, aB as PrintIntakeInput, aC as PrintJob, aD as DiningMenu, aE as CustomerSignupResponse, aF as SendCodeResponse, aG as CustomerSession, aH as CustomerResponse, aI as CustomerAuthSession, aJ as CustomerSecurityActivityPage, O as Order, aK as OrderSummary, aL as SavedAddress, aM as SavedAddressResponse, aN as SavedAddressInput, aO as SavedAddressUpdateInput, aP as AccountBillingPortalInput, aQ as AccountBillingPortalResponse, aR as StartSubscriptionInput, aS as SubscriptionCheckoutResponse, aT as SubscriptionListResponse, aU as SubscriptionAgreementResponse, aV as SubscriptionSourceResponse, aW as SubscriptionPaymentRecoveryResponse, aX as AccountBooking, aY as AccountPayment, aZ as GivingIntentListResponse, a_ as LeadResponse, b2 as Slot } from './types-Ch86mCHw.js';
|
|
2
|
+
export { b3 as BookingAvailability, b4 as BookingCancellationPolicy, b5 as BookingCustomerInput, b6 as BookingFreeSpan, b7 as BookingHold, b8 as BookingIntakeQuestion, b9 as BookingPriceQuote, ba as BookingServicePricing, bb as BookingTimeRange, bc as CatalogProduct, bd as ChannelReceipt, be as ChannelReceiptLine, bf as ChannelReceiptRecurring, bg as CheckoutAddress, bh as CheckoutStatus, bi as ConfigDocument, bj as ConfigQuote, bk as ConfigSelectionRequest, bl as Customer, bm as CustomerSecurityActivity, bn as DashBrandingInfo, bo as DashDirectoryGalleryItem, bp as DashDirectoryLocation, bq as DashDirectoryProfile, br as DashLeadPortalMatch, bs as DashLeadPortalMovingSummary, bt as DashLeadPortalRequest, bu as DashLeadPortalRequestStatus, bv as DashLocaleInfo, bw as DashPlan, bx as DashPlanLimitValue, by as DashPlanPricing, bz as DashPublicPage, bA as DashPublicProfileInfo, bB as DashTenantInfo, bC as DiningAvailability, bD as DiningAvailabilityRule, bE as DiningComboChoice, bF as DiningComboGroup, bG as DiningItemSize, bH as DiningMenuItem, bI as DiningModifier, bJ as DiningModifierGroup, bK as DiningOffer, bL as DiningOfferBadge, bM as DirectoryVerificationStatus, bN as FileRequestTokenInput, bO as GivingIntent, bP as Menu, bQ as MenuItem, bR as OrderItem, bS as PaymentLinkRedemptionStatus, bT as PaymentMethodOption, bU as PaymentReadiness, bV as PrintBranding, bW as PrintIntakeLimits, bX as PrintJobFile, bY as PrintPaperSize, bZ as PrintPerPagePricing, b_ as PrintPriceBreakdown, b$ as PrintPriceLine, c0 as PrintPricing, c1 as PrintPricingOption, c2 as ProductLineConfiguration, c3 as PublicGate, c4 as PublicPaymentLink, c5 as PublicSiteSignals, c6 as ShippingMethodOption, c7 as SiteGatedDocument, c8 as SiteRef, c9 as SiteResolvedDocument, ca as SiteSubject, cb as SubscriptionAgreement, cc as SubscriptionPlanOffer, cd as SubscriptionSourceDisplay, ce as WaitlistAttribution, cf as WorkspaceInfo } from './types-Ch86mCHw.js';
|
|
3
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';
|
|
4
4
|
|
|
5
5
|
/**
|
package/dist/index.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export { ChannelAPIError, DEFAULT_CHANNEL_API_URL, createChannelClient, isChannelAPIError } from './chunk-
|
|
1
|
+
export { ChannelAPIError, DEFAULT_CHANNEL_API_URL, createChannelClient, isChannelAPIError } from './chunk-654FCSVE.js';
|
|
2
2
|
export { CHANNEL_WEBHOOK_EVENT_ID_HEADER, CHANNEL_WEBHOOK_EVENT_TYPES, CHANNEL_WEBHOOK_SIGNATURE_HEADER, CHANNEL_WEBHOOK_TIMESTAMP_HEADER, ChannelConfigurationError, ChannelWebhookVerificationError, DEFAULT_TOLERANCE_SECONDS, isChannelConfigurationError, isChannelWebhookEventType, isChannelWebhookVerificationError, isKnownChannelWebhookEvent, parseChannelWebhookEvent, verifyChannelWebhookSignature } from './chunk-XPO7C3DW.js';
|
package/dist/next.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { createChannelClient, ChannelCheckoutStatusParams, ChannelMutationOptions, CreateChannelClientOptions, ChannelVisitor, DashDirectoryListParams, ChannelLeadInput, ChannelSiteResolveParams, ChannelListParams, ChannelProductListParams, ArtworkUploadInput, UploadTicket, ArtworkCompleteInput, ArtworkProofDecision, RequiredIdempotency, ChannelSubscriptionListParams, ChannelAccountBookingListParams } from './index.js';
|
|
2
|
-
import { O as Order, A as AddCartItemInput, C as CartResponse, a as CheckoutOptions, b as CheckoutStatusResponse, c as CheckoutCustomerInput, d as CheckoutAddressesInput, e as CheckoutFulfillmentInput, f as CheckoutPayInput, g as CheckoutPayResponse, h as CheckoutCancelInput, i as ChannelPing, j as ChannelGeo, P as PaymentCollectionAvailability, W as WaitlistGateStatus, k as WaitlistFormSettings, l as WaitlistSubmission, m as WaitlistAcknowledgement, n as WaitlistVerification, o as WaitlistUnsubscription, F as FileRequestView, p as FileRequestUploadInput, q as FileRequestUploadTicket, r as FileRequestCompleteInput, s as FileRequestReceivedFile, t as FileRequestClosed, u as ChannelReceiptResponse, D as DashProfileResponse, v as DashInitResponse, w as DashPlansResponse, L as ListResponse, x as DashDirectoryRegion, y as DashDirectoryEntry, z as DashDirectoryProfileResponse, B as DashLead, E as DashLeadPortalRequestLinkInput, G as DashLeadPortalRequestLinkResponse, H as DashLeadPortalView, I as DashMovingQuoteInput, J as DashMovingQuoteReceipt, K as DashMovingAddressList, M as DashMovingAddress, N as DashMovingDistance, S as SiteAccess, Q as SiteDocument, R as PublicWorkspaceInit, T as LightInitResponse, U as PublicPageSummary, V as PublicPage, X as Product, Y as ProductAsset, Z as SlotsResponse, _ as DownloadResponse, $ as ArtworkMutationReceipt, a0 as PublicConfiguration, a1 as PublicConfigurationQuoteInput, a2 as PublicConfigurationQuote, a3 as CatalogCategory, a4 as CatalogProductsResponse, a5 as CatalogCollection, a6 as CatalogBrand, a7 as CartLookupResponse, a8 as UpdateCartItemInput, a9 as MergeCartInput, aa as Review, ab as ReviewSummaryResponse, ac as PublicSubmitReviewInput, ad as ThemeResponse, ae as MenuResponse, af as BlogPost, ag as BlogPostResponse, ah as GivingEntry, ai as StartGivingInput, aj as StartGivingResponse, ak as SubscriptionPlanListResponse, al as SubscriptionPlanResponse, am as BookingService, an as BookingServiceResponse, ao as BookingAvailabilityParams, ap as BookingAvailabilityResponse, aq as BookingQuoteParams, ar as BookingQuoteResponse, as as CreateBookingHoldInput, at as BookingHoldResponse, au as PublicPaymentLinkResponse, av as PaymentLinkCheckoutInput, aw as PaymentLinkCheckoutResponse, ax as PaymentLinkRedemptionStatusResponse, ay as PrintSettingsResponse, az as PrintOptionsSelection, aA as PrintQuoteResponse, aB as PrintIntakeInput, aC as PrintJob, aD as DiningMenu, aE as CustomerSignupResponse, aF as SendCodeResponse, aG as CustomerSession, aH as CustomerResponse, aI as CustomerAuthSession, aJ as CustomerSecurityActivityPage, aK as OrderSummary, aL as SavedAddress, aM as SavedAddressResponse, aN as SavedAddressInput, aO as SavedAddressUpdateInput, aP as AccountBillingPortalInput, aQ as AccountBillingPortalResponse, aR as StartSubscriptionInput, aS as SubscriptionCheckoutResponse, aT as SubscriptionListResponse, aU as SubscriptionAgreementResponse, aV as SubscriptionSourceResponse, aW as SubscriptionPaymentRecoveryResponse, aX as AccountBooking, aY as AccountPayment, aZ as GivingIntentListResponse, a_ as LeadResponse } from './types-
|
|
2
|
+
import { O as Order, A as AddCartItemInput, C as CartResponse, a as CheckoutOptions, b as CheckoutStatusResponse, c as CheckoutCustomerInput, d as CheckoutAddressesInput, e as CheckoutFulfillmentInput, f as CheckoutPayInput, g as CheckoutPayResponse, h as CheckoutCancelInput, i as ChannelPing, j as ChannelGeo, P as PaymentCollectionAvailability, W as WaitlistGateStatus, k as WaitlistFormSettings, l as WaitlistSubmission, m as WaitlistAcknowledgement, n as WaitlistVerification, o as WaitlistUnsubscription, F as FileRequestView, p as FileRequestUploadInput, q as FileRequestUploadTicket, r as FileRequestCompleteInput, s as FileRequestReceivedFile, t as FileRequestClosed, u as ChannelReceiptResponse, D as DashProfileResponse, v as DashInitResponse, w as DashPlansResponse, L as ListResponse, x as DashDirectoryRegion, y as DashDirectoryEntry, z as DashDirectoryProfileResponse, B as DashLead, E as DashLeadPortalRequestLinkInput, G as DashLeadPortalRequestLinkResponse, H as DashLeadPortalView, I as DashMovingQuoteInput, J as DashMovingQuoteReceipt, K as DashMovingAddressList, M as DashMovingAddress, N as DashMovingDistance, S as SiteAccess, Q as SiteDocument, R as PublicWorkspaceInit, T as LightInitResponse, U as PublicPageSummary, V as PublicPage, X as Product, Y as ProductAsset, Z as SlotsResponse, _ as DownloadResponse, $ as ArtworkMutationReceipt, a0 as PublicConfiguration, a1 as PublicConfigurationQuoteInput, a2 as PublicConfigurationQuote, a3 as CatalogCategory, a4 as CatalogProductsResponse, a5 as CatalogCollection, a6 as CatalogBrand, a7 as CartLookupResponse, a8 as UpdateCartItemInput, a9 as MergeCartInput, aa as Review, ab as ReviewSummaryResponse, ac as PublicSubmitReviewInput, ad as ThemeResponse, ae as MenuResponse, af as BlogPost, ag as BlogPostResponse, ah as GivingEntry, ai as StartGivingInput, aj as StartGivingResponse, ak as SubscriptionPlanListResponse, al as SubscriptionPlanResponse, am as BookingService, an as BookingServiceResponse, ao as BookingAvailabilityParams, ap as BookingAvailabilityResponse, aq as BookingQuoteParams, ar as BookingQuoteResponse, as as CreateBookingHoldInput, at as BookingHoldResponse, au as PublicPaymentLinkResponse, av as PaymentLinkCheckoutInput, aw as PaymentLinkCheckoutResponse, ax as PaymentLinkRedemptionStatusResponse, ay as PrintSettingsResponse, az as PrintOptionsSelection, aA as PrintQuoteResponse, aB as PrintIntakeInput, aC as PrintJob, aD as DiningMenu, aE as CustomerSignupResponse, aF as SendCodeResponse, aG as CustomerSession, aH as CustomerResponse, aI as CustomerAuthSession, aJ as CustomerSecurityActivityPage, aK as OrderSummary, aL as SavedAddress, aM as SavedAddressResponse, aN as SavedAddressInput, aO as SavedAddressUpdateInput, aP as AccountBillingPortalInput, aQ as AccountBillingPortalResponse, aR as StartSubscriptionInput, aS as SubscriptionCheckoutResponse, aT as SubscriptionListResponse, aU as SubscriptionAgreementResponse, aV as SubscriptionSourceResponse, aW as SubscriptionPaymentRecoveryResponse, aX as AccountBooking, aY as AccountPayment, aZ as GivingIntentListResponse, a_ as LeadResponse } from './types-Ch86mCHw.js';
|
|
3
3
|
import { ChannelWebhookEventDataMap, ChannelWebhookEvent } from './webhooks.js';
|
|
4
4
|
|
|
5
5
|
/**
|
package/dist/next.js
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export { CHANNEL_CATALOG_CACHE_TAG, CHANNEL_SITE_CACHE_TAG, cartCookie, createCart, createChannelWebhookRoute, createCustomerSession, createNextChannelClient, defaultChannelCacheTags, safePublishedPath, sessionCookie } from './chunk-
|
|
2
|
-
import './chunk-
|
|
1
|
+
export { CHANNEL_CATALOG_CACHE_TAG, CHANNEL_SITE_CACHE_TAG, cartCookie, createCart, createChannelWebhookRoute, createCustomerSession, createNextChannelClient, defaultChannelCacheTags, safePublishedPath, sessionCookie } from './chunk-7D26WVWG.js';
|
|
2
|
+
import './chunk-654FCSVE.js';
|
|
3
3
|
import './chunk-XPO7C3DW.js';
|
package/dist/site.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { c8 as SiteRef, c3 as PublicGate, c5 as PublicSiteSignals } from './types-Ch86mCHw.js';
|
|
2
2
|
|
|
3
3
|
/**
|
|
4
4
|
* Site signals: what a public site serves, decided from the `signals` block
|
|
@@ -488,8 +488,12 @@ interface DashDirectoryRegion {
|
|
|
488
488
|
sort_order: number;
|
|
489
489
|
count: number;
|
|
490
490
|
}
|
|
491
|
+
type DirectoryVerificationStatus = "not_applicable" | "not_verified" | "verified";
|
|
491
492
|
interface DashDirectoryEntry {
|
|
492
|
-
workspace_id
|
|
493
|
+
workspace_id?: string;
|
|
494
|
+
listing_id?: string;
|
|
495
|
+
unclaimed?: boolean;
|
|
496
|
+
website_url?: string;
|
|
493
497
|
slug: string;
|
|
494
498
|
name: string;
|
|
495
499
|
tagline?: string;
|
|
@@ -500,13 +504,24 @@ interface DashDirectoryEntry {
|
|
|
500
504
|
primary_color?: string;
|
|
501
505
|
review_count: number;
|
|
502
506
|
average_rating: number;
|
|
507
|
+
verification_status?: DirectoryVerificationStatus;
|
|
503
508
|
verified: boolean;
|
|
504
509
|
service_tags?: unknown;
|
|
505
510
|
major_region_code?: string;
|
|
506
511
|
major_region_label?: string;
|
|
507
512
|
upcoming_events?: unknown[];
|
|
508
513
|
}
|
|
514
|
+
interface DashDirectoryLocation {
|
|
515
|
+
visibility?: string;
|
|
516
|
+
address_line1?: string;
|
|
517
|
+
address_line2?: string;
|
|
518
|
+
city?: string;
|
|
519
|
+
state_region?: string;
|
|
520
|
+
postal_code?: string;
|
|
521
|
+
country_code?: string;
|
|
522
|
+
}
|
|
509
523
|
interface DashDirectoryProfile extends DashDirectoryEntry {
|
|
524
|
+
location?: DashDirectoryLocation;
|
|
510
525
|
display_name?: string;
|
|
511
526
|
description?: string;
|
|
512
527
|
logo_light_url?: string;
|
|
@@ -948,6 +963,7 @@ interface GivingIntentListResponse {
|
|
|
948
963
|
}
|
|
949
964
|
interface SavedAddress {
|
|
950
965
|
id: string;
|
|
966
|
+
version: number;
|
|
951
967
|
label: string;
|
|
952
968
|
name: string;
|
|
953
969
|
phone: string;
|
|
@@ -973,7 +989,9 @@ interface SavedAddressInput {
|
|
|
973
989
|
postal_code?: string;
|
|
974
990
|
is_default?: boolean;
|
|
975
991
|
}
|
|
976
|
-
type SavedAddressUpdateInput = SavedAddressInput
|
|
992
|
+
type SavedAddressUpdateInput = Partial<Omit<SavedAddressInput, "is_default">> & {
|
|
993
|
+
expected_version: number;
|
|
994
|
+
};
|
|
977
995
|
interface SavedAddressResponse {
|
|
978
996
|
address: SavedAddress;
|
|
979
997
|
}
|
|
@@ -1804,4 +1822,4 @@ interface AccountPayment {
|
|
|
1804
1822
|
reference: string;
|
|
1805
1823
|
}
|
|
1806
1824
|
|
|
1807
|
-
export type { ArtworkMutationReceipt as $, AddCartItemInput as A, DashLead as B, CartResponse as C, DashProfileResponse as D, DashLeadPortalRequestLinkInput as E, FileRequestView as F, DashLeadPortalRequestLinkResponse as G, DashLeadPortalView as H, DashMovingQuoteInput as I, DashMovingQuoteReceipt as J, DashMovingAddressList as K, ListResponse as L, DashMovingAddress as M, DashMovingDistance as N, Order as O, PaymentCollectionAvailability as P, SiteDocument as Q, PublicWorkspaceInit as R, SiteAccess as S, LightInitResponse as T, PublicPageSummary as U, PublicPage as V, WaitlistGateStatus as W, Product as X, ProductAsset as Y, SlotsResponse as Z, DownloadResponse as _, CheckoutOptions as a, BeginUploadInput as a$, PublicConfiguration as a0, PublicConfigurationQuoteInput as a1, PublicConfigurationQuote as a2, CatalogCategory as a3, CatalogProductsResponse as a4, CatalogCollection as a5, CatalogBrand as a6, CartLookupResponse as a7, UpdateCartItemInput as a8, MergeCartInput as a9, PrintQuoteResponse as aA, PrintIntakeInput as aB, PrintJob as aC, DiningMenu as aD, CustomerSignupResponse as aE, SendCodeResponse as aF, CustomerSession as aG, CustomerResponse as aH, CustomerAuthSession as aI, CustomerSecurityActivityPage as aJ, OrderSummary as aK, SavedAddress as aL, SavedAddressResponse as aM, SavedAddressInput as aN, SavedAddressUpdateInput as aO, AccountBillingPortalInput as aP, AccountBillingPortalResponse as aQ, StartSubscriptionInput as aR, SubscriptionCheckoutResponse as aS, SubscriptionListResponse as aT, SubscriptionAgreementResponse as aU, SubscriptionSourceResponse as aV, SubscriptionPaymentRecoveryResponse as aW, AccountBooking as aX, AccountPayment as aY, GivingIntentListResponse as aZ, LeadResponse as a_, Review as aa, ReviewSummaryResponse as ab, PublicSubmitReviewInput as ac, ThemeResponse as ad, MenuResponse as ae, BlogPost as af, BlogPostResponse as ag, GivingEntry as ah, StartGivingInput as ai, StartGivingResponse as aj, SubscriptionPlanListResponse as ak, SubscriptionPlanResponse as al, BookingService as am, BookingServiceResponse as an, BookingAvailabilityParams as ao, BookingAvailabilityResponse as ap, BookingQuoteParams as aq, BookingQuoteResponse as ar, CreateBookingHoldInput as as, BookingHoldResponse as at, PublicPaymentLinkResponse as au, PaymentLinkCheckoutInput as av, PaymentLinkCheckoutResponse as aw, PaymentLinkRedemptionStatusResponse as ax, PrintSettingsResponse as ay, PrintOptionsSelection as az, CheckoutStatusResponse as b,
|
|
1825
|
+
export type { ArtworkMutationReceipt as $, AddCartItemInput as A, DashLead as B, CartResponse as C, DashProfileResponse as D, DashLeadPortalRequestLinkInput as E, FileRequestView as F, DashLeadPortalRequestLinkResponse as G, DashLeadPortalView as H, DashMovingQuoteInput as I, DashMovingQuoteReceipt as J, DashMovingAddressList as K, ListResponse as L, DashMovingAddress as M, DashMovingDistance as N, Order as O, PaymentCollectionAvailability as P, SiteDocument as Q, PublicWorkspaceInit as R, SiteAccess as S, LightInitResponse as T, PublicPageSummary as U, PublicPage as V, WaitlistGateStatus as W, Product as X, ProductAsset as Y, SlotsResponse as Z, DownloadResponse as _, CheckoutOptions as a, BeginUploadInput as a$, PublicConfiguration as a0, PublicConfigurationQuoteInput as a1, PublicConfigurationQuote as a2, CatalogCategory as a3, CatalogProductsResponse as a4, CatalogCollection as a5, CatalogBrand as a6, CartLookupResponse as a7, UpdateCartItemInput as a8, MergeCartInput as a9, PrintQuoteResponse as aA, PrintIntakeInput as aB, PrintJob as aC, DiningMenu as aD, CustomerSignupResponse as aE, SendCodeResponse as aF, CustomerSession as aG, CustomerResponse as aH, CustomerAuthSession as aI, CustomerSecurityActivityPage as aJ, OrderSummary as aK, SavedAddress as aL, SavedAddressResponse as aM, SavedAddressInput as aN, SavedAddressUpdateInput as aO, AccountBillingPortalInput as aP, AccountBillingPortalResponse as aQ, StartSubscriptionInput as aR, SubscriptionCheckoutResponse as aS, SubscriptionListResponse as aT, SubscriptionAgreementResponse as aU, SubscriptionSourceResponse as aV, SubscriptionPaymentRecoveryResponse as aW, AccountBooking as aX, AccountPayment as aY, GivingIntentListResponse as aZ, LeadResponse as a_, Review as aa, ReviewSummaryResponse as ab, PublicSubmitReviewInput as ac, ThemeResponse as ad, MenuResponse as ae, BlogPost as af, BlogPostResponse as ag, GivingEntry as ah, StartGivingInput as ai, StartGivingResponse as aj, SubscriptionPlanListResponse as ak, SubscriptionPlanResponse as al, BookingService as am, BookingServiceResponse as an, BookingAvailabilityParams as ao, BookingAvailabilityResponse as ap, BookingQuoteParams as aq, BookingQuoteResponse as ar, CreateBookingHoldInput as as, BookingHoldResponse as at, PublicPaymentLinkResponse as au, PaymentLinkCheckoutInput as av, PaymentLinkCheckoutResponse as aw, PaymentLinkRedemptionStatusResponse as ax, PrintSettingsResponse as ay, PrintOptionsSelection as az, CheckoutStatusResponse as b, PrintPriceLine as b$, CompleteUploadInput as b0, DecisionInput as b1, Slot as b2, BookingAvailability as b3, BookingCancellationPolicy as b4, BookingCustomerInput as b5, BookingFreeSpan as b6, BookingHold as b7, BookingIntakeQuestion as b8, BookingPriceQuote as b9, DashPublicProfileInfo as bA, DashTenantInfo as bB, DiningAvailability as bC, DiningAvailabilityRule as bD, DiningComboChoice as bE, DiningComboGroup as bF, DiningItemSize as bG, DiningMenuItem as bH, DiningModifier as bI, DiningModifierGroup as bJ, DiningOffer as bK, DiningOfferBadge as bL, DirectoryVerificationStatus as bM, FileRequestTokenInput as bN, GivingIntent as bO, Menu as bP, MenuItem as bQ, OrderItem as bR, PaymentLinkRedemptionStatus as bS, PaymentMethodOption as bT, PaymentReadiness as bU, PrintBranding as bV, PrintIntakeLimits as bW, PrintJobFile as bX, PrintPaperSize as bY, PrintPerPagePricing as bZ, PrintPriceBreakdown as b_, BookingServicePricing as ba, BookingTimeRange as bb, CatalogProduct as bc, ChannelReceipt as bd, ChannelReceiptLine as be, ChannelReceiptRecurring as bf, CheckoutAddress as bg, CheckoutStatus as bh, ConfigDocument as bi, ConfigQuote as bj, ConfigSelectionRequest as bk, Customer as bl, CustomerSecurityActivity as bm, DashBrandingInfo as bn, DashDirectoryGalleryItem as bo, DashDirectoryLocation as bp, DashDirectoryProfile as bq, DashLeadPortalMatch as br, DashLeadPortalMovingSummary as bs, DashLeadPortalRequest as bt, DashLeadPortalRequestStatus as bu, DashLocaleInfo as bv, DashPlan as bw, DashPlanLimitValue as bx, DashPlanPricing as by, DashPublicPage as bz, CheckoutCustomerInput as c, PrintPricing as c0, PrintPricingOption as c1, ProductLineConfiguration as c2, PublicGate as c3, PublicPaymentLink as c4, PublicSiteSignals as c5, ShippingMethodOption as c6, SiteGatedDocument as c7, SiteRef as c8, SiteResolvedDocument as c9, SiteSubject as ca, SubscriptionAgreement as cb, SubscriptionPlanOffer as cc, SubscriptionSourceDisplay as cd, WaitlistAttribution as ce, WorkspaceInfo as cf, CheckoutAddressesInput as d, CheckoutFulfillmentInput as e, CheckoutPayInput as f, CheckoutPayResponse as g, CheckoutCancelInput as h, ChannelPing as i, ChannelGeo as j, WaitlistFormSettings as k, WaitlistSubmission as l, WaitlistAcknowledgement as m, WaitlistVerification as n, WaitlistUnsubscription as o, FileRequestUploadInput as p, FileRequestUploadTicket as q, FileRequestCompleteInput as r, FileRequestReceivedFile as s, FileRequestClosed as t, ChannelReceiptResponse as u, DashInitResponse as v, DashPlansResponse as w, DashDirectoryRegion as x, DashDirectoryEntry as y, DashDirectoryProfileResponse as z };
|