@c1m-public/channel-client 0.36.0 → 0.38.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/README.md +32 -0
- package/dist/{chunk-EBITC4YV.js → chunk-GPSFEKWL.js} +1 -1
- package/dist/{chunk-6UWL4X4P.js → chunk-LFHMWK6A.js} +46 -0
- package/dist/{chunk-HS72FUTN.js → chunk-VARU5HM6.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 +43 -4
- package/dist/index.js +1 -1
- package/dist/next.d.ts +26 -2
- package/dist/next.js +2 -2
- package/dist/site.d.ts +1 -1
- package/dist/{types-A7bs15BP.d.ts → types-CPdlxf5p.d.ts} +347 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -158,6 +158,38 @@ The package must only be imported from server modules. Never expose the token in
|
|
|
158
158
|
asset requests. The `/next` entry point enforces Next's `server-only` boundary;
|
|
159
159
|
other runtimes must enforce their own server-module boundary.
|
|
160
160
|
|
|
161
|
+
### Bookings
|
|
162
|
+
|
|
163
|
+
Public paid booking: list services, show open times and a price, hold a slot,
|
|
164
|
+
then send the visitor to Stripe Checkout. Server-side only, like the rest of
|
|
165
|
+
the client; pass the verified visitor with `withVisitor` so intake limits see
|
|
166
|
+
the real caller.
|
|
167
|
+
|
|
168
|
+
```ts
|
|
169
|
+
const bookings = channel.withVisitor(visitor).bookings;
|
|
170
|
+
|
|
171
|
+
const { items: services } = await bookings.services.list();
|
|
172
|
+
const { availability } = await bookings.availability(services[0].id, {
|
|
173
|
+
from: "2026-11-02T00:00:00Z",
|
|
174
|
+
to: "2026-11-09T00:00:00Z",
|
|
175
|
+
});
|
|
176
|
+
const quote = await bookings.quote(services[0].id, { startsAt: availability.slots![0].starts_at });
|
|
177
|
+
|
|
178
|
+
// Server action: the idempotency key is required (one per submitted form),
|
|
179
|
+
// so a retried POST never holds the slot twice. Pass the hidden honeypot
|
|
180
|
+
// field through untouched as `_gotcha`.
|
|
181
|
+
const { hold } = await bookings.holds.create(
|
|
182
|
+
{ service_id: services[0].id, starts_at: slot.starts_at, customer: { name, email }, accept_terms: true, _gotcha: honeypot },
|
|
183
|
+
{ idempotencyKey: formAttemptId },
|
|
184
|
+
);
|
|
185
|
+
redirect(hold.checkout_url!);
|
|
186
|
+
|
|
187
|
+
// Return page (the hold token comes back in your own return URL): poll until
|
|
188
|
+
// the hold leaves "held", and call holds.checkout(token) to resume payment
|
|
189
|
+
// if the visitor abandoned Checkout before the hold expired.
|
|
190
|
+
const { hold: current } = await bookings.holds.get(token);
|
|
191
|
+
```
|
|
192
|
+
|
|
161
193
|
## Behavior
|
|
162
194
|
|
|
163
195
|
- The core retries transient reads once (`retry.attempts`, default 1) on
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { isChannelAPIError, createChannelClient } from './chunk-
|
|
1
|
+
import { isChannelAPIError, createChannelClient } from './chunk-LFHMWK6A.js';
|
|
2
2
|
import { parseChannelWebhookEvent, isChannelWebhookVerificationError, isChannelWebhookEventType, ChannelConfigurationError } from './chunk-XPO7C3DW.js';
|
|
3
3
|
import 'server-only';
|
|
4
4
|
|
|
@@ -261,6 +261,11 @@ function createChannelClient(options) {
|
|
|
261
261
|
function mutationHeaders(mutation) {
|
|
262
262
|
return mutation?.idempotencyKey ? { "Idempotency-Key": mutation.idempotencyKey } : void 0;
|
|
263
263
|
}
|
|
264
|
+
function requiredIdempotencyHeaders(mutation) {
|
|
265
|
+
const key = mutation?.idempotencyKey?.trim();
|
|
266
|
+
if (!key) throw new ChannelConfigurationError("idempotencyKey is required");
|
|
267
|
+
return { "Idempotency-Key": key };
|
|
268
|
+
}
|
|
264
269
|
return {
|
|
265
270
|
/**
|
|
266
271
|
* Verify the channel token and see what it points at.
|
|
@@ -366,6 +371,17 @@ function createChannelClient(options) {
|
|
|
366
371
|
get: (slug) => request("channel.catalog.products.get", `/products/${encodePath(slug)}`),
|
|
367
372
|
media: (slug) => request("channel.catalog.products.media", `/products/${encodePath(slug)}/media`)
|
|
368
373
|
},
|
|
374
|
+
artwork: {
|
|
375
|
+
list: (orderId, cartToken) => request("channel.commerce.artwork.list", appendQuery(`/orders/${encodePath(orderId)}/artwork`, { cart_token: required(cartToken, "cartToken") })),
|
|
376
|
+
download: (orderId, itemId, slotKey, assetId, cartToken) => request("channel.commerce.artwork.download", appendQuery(`/orders/${encodePath(orderId)}/artwork/${encodePath(itemId)}/${encodePath(slotKey)}/files/${encodePath(assetId)}`, { cart_token: required(cartToken, "cartToken") })),
|
|
377
|
+
beginUpload: (orderId, itemId, slotKey, input) => request("channel.commerce.artwork.uploads.begin", `/orders/${encodePath(orderId)}/artwork/${encodePath(itemId)}/${encodePath(slotKey)}/uploads`, { method: "POST", body: JSON.stringify(input) }),
|
|
378
|
+
completeUpload: (orderId, itemId, slotKey, uploadId, input) => request("channel.commerce.artwork.uploads.complete", `/orders/${encodePath(orderId)}/artwork/${encodePath(itemId)}/${encodePath(slotKey)}/uploads/${encodePath(uploadId)}/complete`, { method: "POST", body: JSON.stringify(input) }),
|
|
379
|
+
decide: (orderId, itemId, slotKey, input) => request("channel.commerce.artwork.decide", `/orders/${encodePath(orderId)}/artwork/${encodePath(itemId)}/${encodePath(slotKey)}/decision`, { method: "POST", body: JSON.stringify(input) })
|
|
380
|
+
},
|
|
381
|
+
configurations: {
|
|
382
|
+
get: (productId) => request("channel.catalog.products.configuration.get", `/products/${encodePath(productId)}/configuration`),
|
|
383
|
+
quote: (productId, input) => request("channel.catalog.products.configuration.quote", `/products/${encodePath(productId)}/configuration/quote`, { method: "POST", body: JSON.stringify(input) })
|
|
384
|
+
},
|
|
369
385
|
categories: {
|
|
370
386
|
list: (params = {}) => request("channel.catalog.categories.list", appendQuery("/categories", params)),
|
|
371
387
|
products: (slug) => request("channel.catalog.categories.products", `/categories/by-slug/${encodePath(slug)}/products`)
|
|
@@ -484,6 +500,36 @@ function createChannelClient(options) {
|
|
|
484
500
|
)
|
|
485
501
|
}
|
|
486
502
|
},
|
|
503
|
+
// Public paid booking. Create a hold, send the visitor to its checkout_url,
|
|
504
|
+
// then poll holds.get on the return page until the hold is confirmed.
|
|
505
|
+
bookings: {
|
|
506
|
+
services: {
|
|
507
|
+
list: () => request("channel.book.services.list", "/book/services"),
|
|
508
|
+
get: (serviceId) => request("channel.book.services.get", `/book/services/${encodePath(serviceId)}`)
|
|
509
|
+
},
|
|
510
|
+
availability: (serviceId, params = {}) => request(
|
|
511
|
+
"channel.book.availability.get",
|
|
512
|
+
appendQuery(`/book/services/${encodePath(serviceId)}/availability`, params)
|
|
513
|
+
),
|
|
514
|
+
quote: (serviceId, params) => request(
|
|
515
|
+
"channel.book.quote.get",
|
|
516
|
+
appendQuery(`/book/services/${encodePath(serviceId)}/quote`, { starts_at: params.startsAt, ends_at: params.endsAt })
|
|
517
|
+
),
|
|
518
|
+
holds: {
|
|
519
|
+
// The key is required: a retried create must not hold the slot twice.
|
|
520
|
+
create: (input, mutation) => request("channel.book.holds.create", "/book/holds", {
|
|
521
|
+
method: "POST",
|
|
522
|
+
headers: requiredIdempotencyHeaders(mutation),
|
|
523
|
+
body: JSON.stringify(input)
|
|
524
|
+
}),
|
|
525
|
+
// Resume payment for a hold whose checkout_url was lost or has lapsed.
|
|
526
|
+
checkout: (token2, mutation) => request("channel.book.holds.checkout", `/book/holds/${encodePath(token2)}/checkout`, {
|
|
527
|
+
method: "POST",
|
|
528
|
+
headers: mutationHeaders(mutation)
|
|
529
|
+
}),
|
|
530
|
+
get: (token2) => request("channel.book.holds.get", `/book/holds/${encodePath(token2)}`)
|
|
531
|
+
}
|
|
532
|
+
},
|
|
487
533
|
paymentLinks: {
|
|
488
534
|
get: (linkId) => request(
|
|
489
535
|
"channel.payment_links.get",
|
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-GPSFEKWL.js';
|
|
2
|
+
import { narrow } from './chunk-VARU5HM6.js';
|
|
3
|
+
import './chunk-LFHMWK6A.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-VARU5HM6.js';
|
|
2
|
+
import './chunk-LFHMWK6A.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 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, y as DashMovingQuoteInput, z as DashMovingQuoteReceipt, B as DashMovingAddressList, E as DashMovingAddress, F as DashMovingDistance, S as SiteDocument, G as PublicWorkspaceInit, H as LightInitResponse, I as PublicPageSummary, J as PublicPage, K as Product, M as ProductAsset, N as
|
|
2
|
-
export {
|
|
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, y as DashMovingQuoteInput, z as DashMovingQuoteReceipt, B as DashMovingAddressList, E as DashMovingAddress, F as DashMovingDistance, S as SiteDocument, G as PublicWorkspaceInit, H as LightInitResponse, I as PublicPageSummary, J as PublicPage, K as Product, M as ProductAsset, N as SlotsResponse, Q as DownloadResponse, aV as BeginUploadInput, U as UploadTicket, aW as CompleteUploadInput, R as ArtworkMutationReceipt, aX as DecisionInput, T as PublicConfiguration, V as PublicConfigurationQuoteInput, X as PublicConfigurationQuote, Y as CatalogCategory, Z as CatalogProductsResponse, _ as CatalogCollection, $ as CatalogBrand, a0 as CartLookupResponse, A as AddCartItemInput, C as CartResponse, a1 as UpdateCartItemInput, a2 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, a3 as Review, a4 as ReviewSummaryResponse, a5 as PublicSubmitReviewInput, a6 as ThemeResponse, a7 as MenuResponse, a8 as BlogPost, a9 as BlogPostResponse, aa as GivingEntry, ab as StartGivingInput, ac as StartGivingResponse, ad as SubscriptionPlanListResponse, ae as SubscriptionPlanResponse, af as BookingService, ag as BookingServiceResponse, ah as BookingAvailabilityParams, ai as BookingAvailabilityResponse, aj as BookingQuoteParams, ak as BookingQuoteResponse, al as CreateBookingHoldInput, am as BookingHoldResponse, an as PublicPaymentLinkResponse, ao as PaymentLinkCheckoutInput, ap as PaymentLinkCheckoutResponse, aq as PaymentLinkRedemptionStatusResponse, ar as PrintSettingsResponse, as as PrintOptionsSelection, at as PrintQuoteResponse, au as PrintIntakeInput, av as PrintJob, aw as DiningMenu, ax as CustomerSignupResponse, ay as SendCodeResponse, az as CustomerSession, aA as CustomerResponse, aB as CustomerAuthSession, aC as CustomerSecurityActivityPage, O as Order, aD as OrderSummary, aE as SavedAddress, aF as SavedAddressResponse, aG as SavedAddressInput, aH as SavedAddressUpdateInput, aI as SavedPaymentMethod, aJ as PaymentMethodSetupInput, aK as PaymentMethodSetupResult, aL as PaymentMethodConfirmInput, aM as PaymentMethodMutationResponse, aN as StartSubscriptionInput, aO as SubscriptionAgreementResponse, aP as SubscriptionListResponse, aQ as SubscriptionSourceResponse, aR as SubscriptionInvoiceListResponse, aS as SubscriptionInvoiceResponse, aT as GivingIntentListResponse, aU as LeadResponse, aY as Slot } from './types-CPdlxf5p.js';
|
|
2
|
+
export { aZ as BookingAvailability, a_ as BookingCancellationPolicy, a$ as BookingCustomerInput, b0 as BookingFreeSpan, b1 as BookingHold, b2 as BookingIntakeQuestion, b3 as BookingPriceQuote, b4 as BookingServicePricing, b5 as BookingTimeRange, b6 as CatalogProduct, b7 as CheckoutAddress, b8 as CheckoutStatus, b9 as ConfigDocument, ba as ConfigQuote, bb as ConfigSelectionRequest, bc as Customer, bd as CustomerSecurityActivity, be as DashBrandingInfo, bf as DashDirectoryProfile, bg as DashLeadPortalMatch, bh as DashLeadPortalMovingSummary, bi as DashLeadPortalRequest, bj as DashLeadPortalRequestStatus, bk as DashLocaleInfo, bl as DashPlan, bm as DashPlanPricing, bn as DashPlanRegion, bo as DashPublicPage, bp as DashPublicProfileInfo, bq as DashTenantInfo, br as DiningAvailability, bs as DiningAvailabilityRule, bt as DiningComboChoice, bu as DiningComboGroup, bv as DiningItemSize, bw as DiningMenuItem, bx as DiningModifier, by as DiningModifierGroup, bz as DiningOffer, bA as DiningOfferBadge, bB as GivingIntent, bC as Menu, bD as MenuItem, bE as OrderItem, bF as PaymentLinkRedemptionStatus, bG as PaymentMethodOption, bH as PaymentReadiness, bI as PrintBranding, bJ as PrintIntakeLimits, bK as PrintJobFile, bL as PrintPaperSize, bM as PrintPerPagePricing, bN as PrintPriceBreakdown, bO as PrintPriceLine, bP as PrintPricing, bQ as PrintPricingOption, bR as ProductLineConfiguration, bS as PublicGate, bT as PublicPaymentLink, bU as PublicSiteSignals, bV as ShippingMethodOption, bW as SiteGatedDocument, bX as SiteRef, bY as SiteResolvedDocument, bZ as SiteSubject, b_ as SubscriptionAgreement, b$ as SubscriptionInvoice, c0 as SubscriptionPlanOffer, c1 as SubscriptionSourceDisplay, c2 as WaitlistAttribution, c3 as WorkspaceInfo } from './types-CPdlxf5p.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
|
/**
|
|
@@ -15,6 +15,17 @@ declare class ChannelConfigurationError extends Error {
|
|
|
15
15
|
/** Works across duplicate package instances and transformed test bundles. */
|
|
16
16
|
declare function isChannelConfigurationError(error: unknown): error is ChannelConfigurationError;
|
|
17
17
|
|
|
18
|
+
type ArtworkSlotsResponse = SlotsResponse;
|
|
19
|
+
type ArtworkSlot = Slot;
|
|
20
|
+
type ArtworkUploadTicket = UploadTicket;
|
|
21
|
+
type ArtworkUploadInput = BeginUploadInput & {
|
|
22
|
+
cart_token: string;
|
|
23
|
+
};
|
|
24
|
+
type ArtworkCompleteInput = CompleteUploadInput & {
|
|
25
|
+
cart_token: string;
|
|
26
|
+
};
|
|
27
|
+
type ArtworkProofDecision = DecisionInput;
|
|
28
|
+
|
|
18
29
|
declare const DEFAULT_CHANNEL_API_URL = "https://api.saasdash.app";
|
|
19
30
|
interface ChannelRetryPolicy {
|
|
20
31
|
/** Additional attempts after the first (default 1). */
|
|
@@ -58,7 +69,7 @@ interface ChannelVisitor {
|
|
|
58
69
|
userAgent?: string;
|
|
59
70
|
}
|
|
60
71
|
type ChannelRequestOutcome = "success" | "api_error" | "network_error" | "timeout" | "invalid_response" | "cancelled";
|
|
61
|
-
type ChannelOperation = "channel.ping" | "channel.geo.detect" | "channel.site.resolve" | "channel.init.get" | "channel.init.light" | "channel.pages.list" | "channel.pages.get" | "channel.catalog.products.list" | "channel.catalog.products.get" | "channel.catalog.products.media" | "channel.reviews.list" | "channel.reviews.summary" | "channel.reviews.submit" | "channel.theme.get" | "channel.menus.get" | "channel.blog.get" | "channel.blog.list" | "channel.payments.availability" | "channel.giving.entries.list" | "channel.giving.entries.get" | "channel.giving.start" | "channel.subscriptions.plans.list" | "channel.subscriptions.plans.get" | "channel.subscriptions.start" | "channel.payment_links.get" | "channel.payment_links.checkout" | "channel.payment_links.redemptions.get" | "channel.print.settings" | "channel.print.quote" | "channel.print.intake" | "channel.menu.boards.menu" | "channel.auth.check" | "channel.auth.signup" | "channel.auth.send_code" | "channel.auth.verify_code" | "channel.auth.refresh" | "channel.auth.me" | "channel.auth.me.update" | "channel.auth.logout" | "channel.auth.sessions.list" | "channel.auth.sessions.revoke" | "channel.auth.sessions.revoke_others" | "channel.auth.sessions.revoke_all" | "channel.auth.security_activity.list" | "channel.account.addresses.list" | "channel.account.addresses.create" | "channel.account.addresses.get" | "channel.account.addresses.update" | "channel.account.addresses.delete" | "channel.account.addresses.set_default" | "channel.account.giving.list" | "channel.account.orders.list" | "channel.account.orders.summary" | "channel.account.orders.get" | "channel.account.payment_methods.list" | "channel.account.payment_methods.setup" | "channel.account.payment_methods.confirm" | "channel.account.payment_methods.default" | "channel.account.payment_methods.delete" | "channel.account.subscriptions.list" | "channel.account.subscriptions.get" | "channel.account.subscriptions.source" | "channel.account.subscriptions.cancel" | "channel.account.subscriptions.pause" | "channel.account.subscriptions.resume" | "channel.account.subscriptions.invoices.list" | "channel.account.subscriptions.invoices.get" | "channel.account.subscriptions.invoices.pay_now" | "channel.catalog.brands.list" | "channel.catalog.categories.list" | "channel.catalog.categories.products" | "channel.catalog.collections.list" | "channel.catalog.collections.products" | "channel.catalog.collections.get" | "channel.cart.get" | "channel.cart.items.add" | "channel.cart.items.update" | "channel.cart.items.remove" | "channel.cart.clear" | "channel.cart.merge" | "channel.checkout.options" | "channel.checkout.status" | "channel.checkout.customer.set" | "channel.checkout.addresses.set" | "channel.checkout.fulfillment.set" | "channel.checkout.pay" | "channel.checkout.cancel" | "channel.dash.profile" | "channel.dash.init" | "channel.dash.waitlist.status" | "channel.dash.waitlist.form" | "channel.dash.waitlist.submit" | "channel.dash.plans" | "channel.dash.directory.regions" | "channel.dash.directory.browse" | "channel.dash.directory.get" | "channel.dash.leads.capture" | "channel.dash.lead_portal.my_quotes" | "channel.dash.lead_portal.request_link" | "channel.dash.quote_requests.moving.capture" | "channel.dash.addresses.lookup" | "channel.dash.addresses.resolve" | "channel.dash.addresses.distance" | "channel.leads.capture";
|
|
72
|
+
type ChannelOperation = "channel.commerce.artwork.list" | "channel.commerce.artwork.download" | "channel.commerce.artwork.decide" | "channel.commerce.artwork.uploads.begin" | "channel.commerce.artwork.uploads.complete" | "channel.ping" | "channel.geo.detect" | "channel.site.resolve" | "channel.init.get" | "channel.init.light" | "channel.pages.list" | "channel.pages.get" | "channel.catalog.products.list" | "channel.catalog.products.get" | "channel.catalog.products.media" | "channel.catalog.products.configuration.get" | "channel.catalog.products.configuration.quote" | "channel.reviews.list" | "channel.reviews.summary" | "channel.reviews.submit" | "channel.theme.get" | "channel.menus.get" | "channel.blog.get" | "channel.blog.list" | "channel.payments.availability" | "channel.giving.entries.list" | "channel.giving.entries.get" | "channel.giving.start" | "channel.subscriptions.plans.list" | "channel.subscriptions.plans.get" | "channel.subscriptions.start" | "channel.book.services.list" | "channel.book.services.get" | "channel.book.availability.get" | "channel.book.quote.get" | "channel.book.holds.create" | "channel.book.holds.checkout" | "channel.book.holds.get" | "channel.payment_links.get" | "channel.payment_links.checkout" | "channel.payment_links.redemptions.get" | "channel.print.settings" | "channel.print.quote" | "channel.print.intake" | "channel.menu.boards.menu" | "channel.auth.check" | "channel.auth.signup" | "channel.auth.send_code" | "channel.auth.verify_code" | "channel.auth.refresh" | "channel.auth.me" | "channel.auth.me.update" | "channel.auth.logout" | "channel.auth.sessions.list" | "channel.auth.sessions.revoke" | "channel.auth.sessions.revoke_others" | "channel.auth.sessions.revoke_all" | "channel.auth.security_activity.list" | "channel.account.addresses.list" | "channel.account.addresses.create" | "channel.account.addresses.get" | "channel.account.addresses.update" | "channel.account.addresses.delete" | "channel.account.addresses.set_default" | "channel.account.giving.list" | "channel.account.orders.list" | "channel.account.orders.summary" | "channel.account.orders.get" | "channel.account.payment_methods.list" | "channel.account.payment_methods.setup" | "channel.account.payment_methods.confirm" | "channel.account.payment_methods.default" | "channel.account.payment_methods.delete" | "channel.account.subscriptions.list" | "channel.account.subscriptions.get" | "channel.account.subscriptions.source" | "channel.account.subscriptions.cancel" | "channel.account.subscriptions.pause" | "channel.account.subscriptions.resume" | "channel.account.subscriptions.invoices.list" | "channel.account.subscriptions.invoices.get" | "channel.account.subscriptions.invoices.pay_now" | "channel.catalog.brands.list" | "channel.catalog.categories.list" | "channel.catalog.categories.products" | "channel.catalog.collections.list" | "channel.catalog.collections.products" | "channel.catalog.collections.get" | "channel.cart.get" | "channel.cart.items.add" | "channel.cart.items.update" | "channel.cart.items.remove" | "channel.cart.clear" | "channel.cart.merge" | "channel.checkout.options" | "channel.checkout.status" | "channel.checkout.customer.set" | "channel.checkout.addresses.set" | "channel.checkout.fulfillment.set" | "channel.checkout.pay" | "channel.checkout.cancel" | "channel.dash.profile" | "channel.dash.init" | "channel.dash.waitlist.status" | "channel.dash.waitlist.form" | "channel.dash.waitlist.submit" | "channel.dash.plans" | "channel.dash.directory.regions" | "channel.dash.directory.browse" | "channel.dash.directory.get" | "channel.dash.leads.capture" | "channel.dash.lead_portal.my_quotes" | "channel.dash.lead_portal.request_link" | "channel.dash.quote_requests.moving.capture" | "channel.dash.addresses.lookup" | "channel.dash.addresses.resolve" | "channel.dash.addresses.distance" | "channel.leads.capture";
|
|
62
73
|
interface ChannelRequestObservation {
|
|
63
74
|
operation: ChannelOperation;
|
|
64
75
|
method: string;
|
|
@@ -102,6 +113,10 @@ interface DashDirectoryListParams extends ChannelListParams {
|
|
|
102
113
|
interface ChannelMutationOptions {
|
|
103
114
|
idempotencyKey?: string;
|
|
104
115
|
}
|
|
116
|
+
/** A mutation whose idempotency key is mandatory. */
|
|
117
|
+
interface RequiredIdempotency {
|
|
118
|
+
idempotencyKey: string;
|
|
119
|
+
}
|
|
105
120
|
interface ChannelCheckoutStatusParams {
|
|
106
121
|
cartToken?: string;
|
|
107
122
|
checkoutSessionId?: string;
|
|
@@ -205,6 +220,17 @@ declare function createChannelClient(options: CreateChannelClientOptions): {
|
|
|
205
220
|
}>;
|
|
206
221
|
readonly media: (slug: string) => Promise<ListResponse<ProductAsset>>;
|
|
207
222
|
};
|
|
223
|
+
readonly artwork: {
|
|
224
|
+
readonly list: (orderId: string, cartToken: string) => Promise<SlotsResponse>;
|
|
225
|
+
readonly download: (orderId: string, itemId: string, slotKey: string, assetId: string, cartToken: string) => Promise<DownloadResponse>;
|
|
226
|
+
readonly beginUpload: (orderId: string, itemId: string, slotKey: string, input: ArtworkUploadInput) => Promise<UploadTicket>;
|
|
227
|
+
readonly completeUpload: (orderId: string, itemId: string, slotKey: string, uploadId: string, input: ArtworkCompleteInput) => Promise<ArtworkMutationReceipt>;
|
|
228
|
+
readonly decide: (orderId: string, itemId: string, slotKey: string, input: ArtworkProofDecision) => Promise<ArtworkMutationReceipt>;
|
|
229
|
+
};
|
|
230
|
+
readonly configurations: {
|
|
231
|
+
readonly get: (productId: string) => Promise<PublicConfiguration>;
|
|
232
|
+
readonly quote: (productId: string, input: PublicConfigurationQuoteInput) => Promise<PublicConfigurationQuote>;
|
|
233
|
+
};
|
|
208
234
|
readonly categories: {
|
|
209
235
|
readonly list: (params?: ChannelListParams) => Promise<ListResponse<CatalogCategory>>;
|
|
210
236
|
readonly products: (slug: string) => Promise<CatalogProductsResponse>;
|
|
@@ -270,6 +296,19 @@ declare function createChannelClient(options: CreateChannelClientOptions): {
|
|
|
270
296
|
readonly get: (planId: string) => Promise<SubscriptionPlanResponse>;
|
|
271
297
|
};
|
|
272
298
|
};
|
|
299
|
+
readonly bookings: {
|
|
300
|
+
readonly services: {
|
|
301
|
+
readonly list: () => Promise<ListResponse<BookingService>>;
|
|
302
|
+
readonly get: (serviceId: string) => Promise<BookingServiceResponse>;
|
|
303
|
+
};
|
|
304
|
+
readonly availability: (serviceId: string, params?: BookingAvailabilityParams) => Promise<BookingAvailabilityResponse>;
|
|
305
|
+
readonly quote: (serviceId: string, params: BookingQuoteParams) => Promise<BookingQuoteResponse>;
|
|
306
|
+
readonly holds: {
|
|
307
|
+
readonly create: (input: CreateBookingHoldInput, mutation: RequiredIdempotency) => Promise<BookingHoldResponse>;
|
|
308
|
+
readonly checkout: (token: string, mutation?: ChannelMutationOptions) => Promise<BookingHoldResponse>;
|
|
309
|
+
readonly get: (token: string) => Promise<BookingHoldResponse>;
|
|
310
|
+
};
|
|
311
|
+
};
|
|
273
312
|
readonly paymentLinks: {
|
|
274
313
|
readonly get: (linkId: string) => Promise<PublicPaymentLinkResponse>;
|
|
275
314
|
readonly checkout: (linkId: string, input: PaymentLinkCheckoutInput, mutation?: ChannelMutationOptions) => Promise<PaymentLinkCheckoutResponse>;
|
|
@@ -393,4 +432,4 @@ declare function createChannelClient(options: CreateChannelClientOptions): {
|
|
|
393
432
|
};
|
|
394
433
|
};
|
|
395
434
|
|
|
396
|
-
export { AddCartItemInput, BlogPost, BlogPostResponse, CartLookupResponse, 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, DashMovingAddress, DashMovingAddressList, DashMovingDistance, DashMovingQuoteInput, DashMovingQuoteReceipt, 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 };
|
|
435
|
+
export { AddCartItemInput, type ArtworkCompleteInput, ArtworkMutationReceipt, type ArtworkProofDecision, type ArtworkSlot, type ArtworkSlotsResponse, type ArtworkUploadInput, type ArtworkUploadTicket, BlogPost, BlogPostResponse, BookingAvailabilityParams, BookingAvailabilityResponse, BookingHoldResponse, BookingQuoteParams, BookingQuoteResponse, BookingService, BookingServiceResponse, CartLookupResponse, 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, CreateBookingHoldInput, type CreateChannelClientOptions, CustomerAuthSession, CustomerResponse, CustomerSecurityActivityPage, CustomerSession, CustomerSignupResponse, DEFAULT_CHANNEL_API_URL, DashDirectoryEntry, type DashDirectoryListParams, DashDirectoryProfileResponse, DashDirectoryRegion, DashInitResponse, DashLead, DashLeadPortalRequestLinkInput, DashLeadPortalRequestLinkResponse, DashLeadPortalView, DashMovingAddress, DashMovingAddressList, DashMovingDistance, DashMovingQuoteInput, DashMovingQuoteReceipt, DashPlansResponse, DashProfileResponse, DiningMenu, DownloadResponse, GivingEntry, GivingIntentListResponse, LeadResponse, LightInitResponse, ListResponse, MenuResponse, MergeCartInput, Order, OrderSummary, PaymentCollectionAvailability, PaymentLinkCheckoutInput, PaymentLinkCheckoutResponse, PaymentLinkRedemptionStatusResponse, PaymentMethodConfirmInput, PaymentMethodMutationResponse, PaymentMethodSetupInput, PaymentMethodSetupResult, PrintIntakeInput, PrintJob, PrintOptionsSelection, PrintQuoteResponse, PrintSettingsResponse, Product, ProductAsset, PublicConfiguration, PublicConfigurationQuote, PublicConfigurationQuoteInput, PublicPage, PublicPageSummary, PublicPaymentLinkResponse, PublicSubmitReviewInput, PublicWorkspaceInit, type RequiredIdempotency, Review, ReviewSummaryResponse, SavedAddress, SavedAddressInput, SavedAddressResponse, SavedAddressUpdateInput, SavedPaymentMethod, SendCodeResponse, SiteDocument, SlotsResponse, StartGivingInput, StartGivingResponse, StartSubscriptionInput, SubscriptionAgreementResponse, SubscriptionInvoiceListResponse, SubscriptionInvoiceResponse, SubscriptionListResponse, SubscriptionPlanListResponse, SubscriptionPlanResponse, SubscriptionSourceResponse, ThemeResponse, UpdateCartItemInput, UploadTicket, WaitlistAcknowledgement, WaitlistFormSettings, WaitlistGateStatus, WaitlistSubmission, WaitlistUnsubscription, WaitlistVerification, createChannelClient, isChannelAPIError, isChannelConfigurationError };
|
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-LFHMWK6A.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
|
-
import { createChannelClient, ChannelCheckoutStatusParams, ChannelMutationOptions, CreateChannelClientOptions, ChannelVisitor, DashDirectoryListParams, ChannelLeadInput, ChannelSiteResolveParams, ChannelListParams, ChannelProductListParams, ChannelSubscriptionListParams, ChannelSubscriptionCancelParams, ChannelInvoiceListParams } 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 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, y as DashMovingQuoteInput, z as DashMovingQuoteReceipt, B as DashMovingAddressList, E as DashMovingAddress, F as DashMovingDistance, S as SiteDocument, G as PublicWorkspaceInit, H as LightInitResponse, I as PublicPageSummary, J as PublicPage, K as Product, M as ProductAsset, N as
|
|
1
|
+
import { createChannelClient, ChannelCheckoutStatusParams, ChannelMutationOptions, CreateChannelClientOptions, ChannelVisitor, DashDirectoryListParams, ChannelLeadInput, ChannelSiteResolveParams, ChannelListParams, ChannelProductListParams, ArtworkUploadInput, ArtworkCompleteInput, ArtworkProofDecision, RequiredIdempotency, ChannelSubscriptionListParams, ChannelSubscriptionCancelParams, ChannelInvoiceListParams } 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 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, y as DashMovingQuoteInput, z as DashMovingQuoteReceipt, B as DashMovingAddressList, E as DashMovingAddress, F as DashMovingDistance, S as SiteDocument, G as PublicWorkspaceInit, H as LightInitResponse, I as PublicPageSummary, J as PublicPage, K as Product, M as ProductAsset, N as SlotsResponse, Q as DownloadResponse, U as UploadTicket, R as ArtworkMutationReceipt, T as PublicConfiguration, V as PublicConfigurationQuoteInput, X as PublicConfigurationQuote, Y as CatalogCategory, Z as CatalogProductsResponse, _ as CatalogCollection, $ as CatalogBrand, a0 as CartLookupResponse, a1 as UpdateCartItemInput, a2 as MergeCartInput, a3 as Review, a4 as ReviewSummaryResponse, a5 as PublicSubmitReviewInput, a6 as ThemeResponse, a7 as MenuResponse, a8 as BlogPost, a9 as BlogPostResponse, aa as GivingEntry, ab as StartGivingInput, ac as StartGivingResponse, ad as SubscriptionPlanListResponse, ae as SubscriptionPlanResponse, af as BookingService, ag as BookingServiceResponse, ah as BookingAvailabilityParams, ai as BookingAvailabilityResponse, aj as BookingQuoteParams, ak as BookingQuoteResponse, al as CreateBookingHoldInput, am as BookingHoldResponse, an as PublicPaymentLinkResponse, ao as PaymentLinkCheckoutInput, ap as PaymentLinkCheckoutResponse, aq as PaymentLinkRedemptionStatusResponse, ar as PrintSettingsResponse, as as PrintOptionsSelection, at as PrintQuoteResponse, au as PrintIntakeInput, av as PrintJob, aw as DiningMenu, ax as CustomerSignupResponse, ay as SendCodeResponse, az as CustomerSession, aA as CustomerResponse, aB as CustomerAuthSession, aC as CustomerSecurityActivityPage, aD as OrderSummary, aE as SavedAddress, aF as SavedAddressResponse, aG as SavedAddressInput, aH as SavedAddressUpdateInput, aI as SavedPaymentMethod, aJ as PaymentMethodSetupInput, aK as PaymentMethodSetupResult, aL as PaymentMethodConfirmInput, aM as PaymentMethodMutationResponse, aN as StartSubscriptionInput, aO as SubscriptionAgreementResponse, aP as SubscriptionListResponse, aQ as SubscriptionSourceResponse, aR as SubscriptionInvoiceListResponse, aS as SubscriptionInvoiceResponse, aT as GivingIntentListResponse, aU as LeadResponse } from './types-CPdlxf5p.js';
|
|
3
3
|
import { ChannelWebhookEventDataMap, ChannelWebhookEvent } from './webhooks.js';
|
|
4
4
|
|
|
5
5
|
/**
|
|
@@ -347,6 +347,17 @@ declare function createNextChannelClient(options: CreateNextChannelClientOptions
|
|
|
347
347
|
}>;
|
|
348
348
|
readonly media: (slug: string) => Promise<ListResponse<ProductAsset>>;
|
|
349
349
|
};
|
|
350
|
+
readonly artwork: {
|
|
351
|
+
readonly list: (orderId: string, cartToken: string) => Promise<SlotsResponse>;
|
|
352
|
+
readonly download: (orderId: string, itemId: string, slotKey: string, assetId: string, cartToken: string) => Promise<DownloadResponse>;
|
|
353
|
+
readonly beginUpload: (orderId: string, itemId: string, slotKey: string, input: ArtworkUploadInput) => Promise<UploadTicket>;
|
|
354
|
+
readonly completeUpload: (orderId: string, itemId: string, slotKey: string, uploadId: string, input: ArtworkCompleteInput) => Promise<ArtworkMutationReceipt>;
|
|
355
|
+
readonly decide: (orderId: string, itemId: string, slotKey: string, input: ArtworkProofDecision) => Promise<ArtworkMutationReceipt>;
|
|
356
|
+
};
|
|
357
|
+
readonly configurations: {
|
|
358
|
+
readonly get: (productId: string) => Promise<PublicConfiguration>;
|
|
359
|
+
readonly quote: (productId: string, input: PublicConfigurationQuoteInput) => Promise<PublicConfigurationQuote>;
|
|
360
|
+
};
|
|
350
361
|
readonly categories: {
|
|
351
362
|
readonly list: (params?: ChannelListParams) => Promise<ListResponse<CatalogCategory>>;
|
|
352
363
|
readonly products: (slug: string) => Promise<CatalogProductsResponse>;
|
|
@@ -412,6 +423,19 @@ declare function createNextChannelClient(options: CreateNextChannelClientOptions
|
|
|
412
423
|
readonly get: (planId: string) => Promise<SubscriptionPlanResponse>;
|
|
413
424
|
};
|
|
414
425
|
};
|
|
426
|
+
readonly bookings: {
|
|
427
|
+
readonly services: {
|
|
428
|
+
readonly list: () => Promise<ListResponse<BookingService>>;
|
|
429
|
+
readonly get: (serviceId: string) => Promise<BookingServiceResponse>;
|
|
430
|
+
};
|
|
431
|
+
readonly availability: (serviceId: string, params?: BookingAvailabilityParams) => Promise<BookingAvailabilityResponse>;
|
|
432
|
+
readonly quote: (serviceId: string, params: BookingQuoteParams) => Promise<BookingQuoteResponse>;
|
|
433
|
+
readonly holds: {
|
|
434
|
+
readonly create: (input: CreateBookingHoldInput, mutation: RequiredIdempotency) => Promise<BookingHoldResponse>;
|
|
435
|
+
readonly checkout: (token: string, mutation?: ChannelMutationOptions) => Promise<BookingHoldResponse>;
|
|
436
|
+
readonly get: (token: string) => Promise<BookingHoldResponse>;
|
|
437
|
+
};
|
|
438
|
+
};
|
|
415
439
|
readonly paymentLinks: {
|
|
416
440
|
readonly get: (linkId: string) => Promise<PublicPaymentLinkResponse>;
|
|
417
441
|
readonly checkout: (linkId: string, input: PaymentLinkCheckoutInput, mutation?: ChannelMutationOptions) => Promise<PaymentLinkCheckoutResponse>;
|
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-GPSFEKWL.js';
|
|
2
|
+
import './chunk-LFHMWK6A.js';
|
|
3
3
|
import './chunk-XPO7C3DW.js';
|
package/dist/site.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { bX as SiteRef, bS as PublicGate, bU as PublicSiteSignals } from './types-CPdlxf5p.js';
|
|
2
2
|
|
|
3
3
|
/**
|
|
4
4
|
* Site signals: what a public site serves, decided from the `signals` block
|
|
@@ -1,3 +1,219 @@
|
|
|
1
|
+
interface ArtworkMutationReceipt {
|
|
2
|
+
proof_revision: number;
|
|
3
|
+
state: string;
|
|
4
|
+
version: number;
|
|
5
|
+
}
|
|
6
|
+
interface ArtworkRecord {
|
|
7
|
+
frozen: boolean;
|
|
8
|
+
proof?: File;
|
|
9
|
+
proof_revision: number;
|
|
10
|
+
slot_key: string;
|
|
11
|
+
source: File;
|
|
12
|
+
state: string;
|
|
13
|
+
updated_at: string;
|
|
14
|
+
version: number;
|
|
15
|
+
}
|
|
16
|
+
interface ArtworkSlot {
|
|
17
|
+
bleed_mm?: number;
|
|
18
|
+
formats: string[];
|
|
19
|
+
key: string;
|
|
20
|
+
label: string;
|
|
21
|
+
max_mb: number;
|
|
22
|
+
min_dpi?: number;
|
|
23
|
+
proof_required?: boolean;
|
|
24
|
+
required?: boolean;
|
|
25
|
+
safe_mm?: number;
|
|
26
|
+
trim_h_mm?: number;
|
|
27
|
+
trim_w_mm?: number;
|
|
28
|
+
}
|
|
29
|
+
interface BeginUploadInput {
|
|
30
|
+
cart_token?: string;
|
|
31
|
+
file_name: string;
|
|
32
|
+
size_bytes: number;
|
|
33
|
+
version?: number;
|
|
34
|
+
}
|
|
35
|
+
interface Choice {
|
|
36
|
+
default?: boolean;
|
|
37
|
+
description?: string;
|
|
38
|
+
key: string;
|
|
39
|
+
label: string;
|
|
40
|
+
price?: PriceChange;
|
|
41
|
+
}
|
|
42
|
+
interface ChoiceGroup {
|
|
43
|
+
choices: Choice[];
|
|
44
|
+
key: string;
|
|
45
|
+
kind: string;
|
|
46
|
+
label: string;
|
|
47
|
+
max_picks?: number;
|
|
48
|
+
min_picks?: number;
|
|
49
|
+
required?: boolean;
|
|
50
|
+
}
|
|
51
|
+
interface ChoiceRule {
|
|
52
|
+
allowed: string[];
|
|
53
|
+
in: string[];
|
|
54
|
+
message?: string;
|
|
55
|
+
then: string;
|
|
56
|
+
when: string;
|
|
57
|
+
}
|
|
58
|
+
interface CompleteUploadInput {
|
|
59
|
+
cart_token?: string;
|
|
60
|
+
}
|
|
61
|
+
interface ConfigDocument {
|
|
62
|
+
base_price?: number;
|
|
63
|
+
groups: ChoiceGroup[];
|
|
64
|
+
inputs?: CustomerInputs;
|
|
65
|
+
minimum_total?: number;
|
|
66
|
+
notes?: string;
|
|
67
|
+
quantity?: QuantityPricing;
|
|
68
|
+
rules?: ChoiceRule[];
|
|
69
|
+
setup_fee?: number;
|
|
70
|
+
version: number;
|
|
71
|
+
}
|
|
72
|
+
interface ConfigQuote {
|
|
73
|
+
doc_hash: string;
|
|
74
|
+
lead_days: number;
|
|
75
|
+
lines: QuoteLine[];
|
|
76
|
+
selection: ConfigSelection;
|
|
77
|
+
subtotal: number;
|
|
78
|
+
total: number;
|
|
79
|
+
units: number;
|
|
80
|
+
warnings?: string[];
|
|
81
|
+
}
|
|
82
|
+
interface ConfigSelection {
|
|
83
|
+
choices?: Record<string, string[]>;
|
|
84
|
+
dimensions?: CustomSize;
|
|
85
|
+
quantity?: number;
|
|
86
|
+
text?: Record<string, string>;
|
|
87
|
+
turnaround?: string;
|
|
88
|
+
}
|
|
89
|
+
interface ConfigSelectionRequest {
|
|
90
|
+
choices?: Record<string, string[]>;
|
|
91
|
+
dimensions?: CustomSizeRequest;
|
|
92
|
+
quantity?: number;
|
|
93
|
+
text?: Record<string, string>;
|
|
94
|
+
turnaround?: string;
|
|
95
|
+
}
|
|
96
|
+
interface CustomSize {
|
|
97
|
+
height_mm: number;
|
|
98
|
+
width_mm: number;
|
|
99
|
+
}
|
|
100
|
+
interface CustomSizeRequest {
|
|
101
|
+
height_mm?: number;
|
|
102
|
+
width_mm?: number;
|
|
103
|
+
}
|
|
104
|
+
interface CustomerInputs {
|
|
105
|
+
artwork?: ArtworkSlot[];
|
|
106
|
+
dimensions?: DimensionPricing;
|
|
107
|
+
text?: TextInput[];
|
|
108
|
+
turnaround?: TurnaroundOption[];
|
|
109
|
+
}
|
|
110
|
+
interface DecisionInput {
|
|
111
|
+
approve?: boolean;
|
|
112
|
+
cart_token: string;
|
|
113
|
+
version: number;
|
|
114
|
+
}
|
|
115
|
+
interface DimensionPricing {
|
|
116
|
+
label?: string;
|
|
117
|
+
max_height_mm: number;
|
|
118
|
+
max_width_mm: number;
|
|
119
|
+
min_billable_area_mm2?: number;
|
|
120
|
+
min_height_mm: number;
|
|
121
|
+
min_width_mm: number;
|
|
122
|
+
rate_per_m2: number;
|
|
123
|
+
}
|
|
124
|
+
interface DownloadResponse {
|
|
125
|
+
expires_in: number;
|
|
126
|
+
url: string;
|
|
127
|
+
}
|
|
128
|
+
interface File {
|
|
129
|
+
asset_id: string;
|
|
130
|
+
mime_type: string;
|
|
131
|
+
name: string;
|
|
132
|
+
sha256: string;
|
|
133
|
+
size_bytes: number;
|
|
134
|
+
}
|
|
135
|
+
interface LineConfig {
|
|
136
|
+
hash: string;
|
|
137
|
+
lead_days?: number;
|
|
138
|
+
revision_id: string;
|
|
139
|
+
selection?: unknown;
|
|
140
|
+
snapshot?: unknown;
|
|
141
|
+
}
|
|
142
|
+
interface PriceBreak {
|
|
143
|
+
cells?: Record<string, number>;
|
|
144
|
+
min_quantity: number;
|
|
145
|
+
price?: number;
|
|
146
|
+
}
|
|
147
|
+
interface PriceChange {
|
|
148
|
+
amount: number;
|
|
149
|
+
kind: string;
|
|
150
|
+
pack_size?: number;
|
|
151
|
+
}
|
|
152
|
+
interface PublicConfiguration {
|
|
153
|
+
currency: string;
|
|
154
|
+
doc: ConfigDocument;
|
|
155
|
+
product_id: string;
|
|
156
|
+
revision: number;
|
|
157
|
+
revision_id: string;
|
|
158
|
+
}
|
|
159
|
+
interface PublicConfigurationQuote {
|
|
160
|
+
currency: string;
|
|
161
|
+
quote: ConfigQuote;
|
|
162
|
+
revision_id: string;
|
|
163
|
+
}
|
|
164
|
+
interface PublicConfigurationQuoteInput {
|
|
165
|
+
revision_id?: string;
|
|
166
|
+
selection?: ConfigSelectionRequest;
|
|
167
|
+
}
|
|
168
|
+
interface QuantityPricing {
|
|
169
|
+
axes?: string[];
|
|
170
|
+
breaks?: PriceBreak[];
|
|
171
|
+
max?: number;
|
|
172
|
+
min?: number;
|
|
173
|
+
mode: string;
|
|
174
|
+
presets?: number[];
|
|
175
|
+
price_mode?: string;
|
|
176
|
+
step?: number;
|
|
177
|
+
unit_label?: string;
|
|
178
|
+
}
|
|
179
|
+
interface QuoteLine {
|
|
180
|
+
amount: number;
|
|
181
|
+
key?: string;
|
|
182
|
+
kind: string;
|
|
183
|
+
label: string;
|
|
184
|
+
}
|
|
185
|
+
interface Slot {
|
|
186
|
+
line_number: number;
|
|
187
|
+
order_item_id: string;
|
|
188
|
+
quantity: number;
|
|
189
|
+
record?: ArtworkRecord;
|
|
190
|
+
spec: ArtworkSlot;
|
|
191
|
+
summary?: string;
|
|
192
|
+
title: string;
|
|
193
|
+
version: number;
|
|
194
|
+
}
|
|
195
|
+
interface SlotsResponse {
|
|
196
|
+
items: Slot[];
|
|
197
|
+
}
|
|
198
|
+
interface TextInput {
|
|
199
|
+
key: string;
|
|
200
|
+
label: string;
|
|
201
|
+
max_length: number;
|
|
202
|
+
required?: boolean;
|
|
203
|
+
}
|
|
204
|
+
interface TurnaroundOption {
|
|
205
|
+
default?: boolean;
|
|
206
|
+
key: string;
|
|
207
|
+
label: string;
|
|
208
|
+
lead_days: number;
|
|
209
|
+
surcharge?: PriceChange;
|
|
210
|
+
}
|
|
211
|
+
interface UploadTicket {
|
|
212
|
+
expires_at: string;
|
|
213
|
+
upload_id: string;
|
|
214
|
+
upload_url: string;
|
|
215
|
+
}
|
|
216
|
+
|
|
1
217
|
interface ListResponse<T> {
|
|
2
218
|
items: T[];
|
|
3
219
|
next_cursor?: string;
|
|
@@ -430,6 +646,7 @@ interface PublicPage extends PublicPageSummary {
|
|
|
430
646
|
default_shell_template_id?: string;
|
|
431
647
|
}
|
|
432
648
|
interface Product {
|
|
649
|
+
kind?: string;
|
|
433
650
|
id: string;
|
|
434
651
|
workspace_id: string;
|
|
435
652
|
title: string;
|
|
@@ -515,6 +732,7 @@ interface CatalogBrand {
|
|
|
515
732
|
updated_at: string;
|
|
516
733
|
}
|
|
517
734
|
interface CatalogProduct {
|
|
735
|
+
kind?: string;
|
|
518
736
|
id: string;
|
|
519
737
|
slug: string;
|
|
520
738
|
title: string;
|
|
@@ -1259,6 +1477,9 @@ interface Order {
|
|
|
1259
1477
|
[key: string]: unknown;
|
|
1260
1478
|
}
|
|
1261
1479
|
interface OrderItem {
|
|
1480
|
+
sku?: string;
|
|
1481
|
+
summary?: string;
|
|
1482
|
+
configuration?: LineConfig;
|
|
1262
1483
|
id: string;
|
|
1263
1484
|
order_id: string;
|
|
1264
1485
|
product_id?: string;
|
|
@@ -1281,16 +1502,22 @@ interface CartResponse {
|
|
|
1281
1502
|
interface CartLookupResponse {
|
|
1282
1503
|
order?: Order | null;
|
|
1283
1504
|
}
|
|
1505
|
+
interface ProductLineConfiguration {
|
|
1506
|
+
revision_id?: string;
|
|
1507
|
+
selection: ConfigSelectionRequest;
|
|
1508
|
+
}
|
|
1284
1509
|
interface AddCartItemInput {
|
|
1285
1510
|
cart_token?: string;
|
|
1286
1511
|
currency?: string;
|
|
1287
1512
|
product_id: string;
|
|
1288
1513
|
variant_id?: string;
|
|
1289
1514
|
quantity: number;
|
|
1515
|
+
configuration?: ProductLineConfiguration;
|
|
1290
1516
|
}
|
|
1291
1517
|
interface UpdateCartItemInput {
|
|
1292
1518
|
cart_token: string;
|
|
1293
1519
|
quantity: number;
|
|
1520
|
+
configuration?: ProductLineConfiguration;
|
|
1294
1521
|
}
|
|
1295
1522
|
interface MergeCartInput {
|
|
1296
1523
|
source_cart_token: string;
|
|
@@ -1419,5 +1646,124 @@ interface SubscriptionPlanResponse {
|
|
|
1419
1646
|
interface StartSubscriptionInput {
|
|
1420
1647
|
plan_id: string;
|
|
1421
1648
|
}
|
|
1649
|
+
interface BookingIntakeQuestion {
|
|
1650
|
+
id: string;
|
|
1651
|
+
label: string;
|
|
1652
|
+
kind: string;
|
|
1653
|
+
options?: string[];
|
|
1654
|
+
required?: boolean;
|
|
1655
|
+
}
|
|
1656
|
+
interface BookingServicePricing {
|
|
1657
|
+
mode: string;
|
|
1658
|
+
price_cents: number;
|
|
1659
|
+
payment_policy: string;
|
|
1660
|
+
allow_pay_in_full?: boolean;
|
|
1661
|
+
currency?: string;
|
|
1662
|
+
deposit_kind?: string;
|
|
1663
|
+
deposit_value?: number;
|
|
1664
|
+
}
|
|
1665
|
+
interface BookingCancellationPolicy {
|
|
1666
|
+
late_fee_kind?: string;
|
|
1667
|
+
late_fee_value?: number;
|
|
1668
|
+
refund_before_hours?: number;
|
|
1669
|
+
}
|
|
1670
|
+
interface BookingService {
|
|
1671
|
+
id: string;
|
|
1672
|
+
name: string;
|
|
1673
|
+
confirmation: string;
|
|
1674
|
+
length_mode: string;
|
|
1675
|
+
duration_minutes: number;
|
|
1676
|
+
pricing: BookingServicePricing;
|
|
1677
|
+
intake_questions: BookingIntakeQuestion[];
|
|
1678
|
+
cancellation: BookingCancellationPolicy;
|
|
1679
|
+
roles: string[];
|
|
1680
|
+
description?: string;
|
|
1681
|
+
max_minutes?: number;
|
|
1682
|
+
min_minutes?: number;
|
|
1683
|
+
policy_text?: string;
|
|
1684
|
+
}
|
|
1685
|
+
interface BookingServiceResponse {
|
|
1686
|
+
service: BookingService;
|
|
1687
|
+
}
|
|
1688
|
+
interface BookingTimeRange {
|
|
1689
|
+
starts_at: string;
|
|
1690
|
+
ends_at: string;
|
|
1691
|
+
}
|
|
1692
|
+
interface BookingFreeSpan extends BookingTimeRange {
|
|
1693
|
+
open: BookingTimeRange[];
|
|
1694
|
+
}
|
|
1695
|
+
interface BookingAvailability {
|
|
1696
|
+
service_id: string;
|
|
1697
|
+
length_mode: string;
|
|
1698
|
+
timezone: string;
|
|
1699
|
+
earliest_start: string;
|
|
1700
|
+
latest_start: string;
|
|
1701
|
+
max_minutes?: number;
|
|
1702
|
+
more?: boolean;
|
|
1703
|
+
slots?: BookingTimeRange[];
|
|
1704
|
+
spans?: BookingFreeSpan[];
|
|
1705
|
+
}
|
|
1706
|
+
interface BookingAvailabilityResponse {
|
|
1707
|
+
availability: BookingAvailability;
|
|
1708
|
+
}
|
|
1709
|
+
interface BookingPriceQuote {
|
|
1710
|
+
mode: string;
|
|
1711
|
+
units: number;
|
|
1712
|
+
unit_price_cents: number;
|
|
1713
|
+
total_cents: number;
|
|
1714
|
+
currency: string;
|
|
1715
|
+
payment_policy: string;
|
|
1716
|
+
allow_pay_in_full?: boolean;
|
|
1717
|
+
deposit_cents?: number;
|
|
1718
|
+
}
|
|
1719
|
+
interface BookingQuoteResponse {
|
|
1720
|
+
due_now_cents: number;
|
|
1721
|
+
due_in_full_cents: number;
|
|
1722
|
+
pay_in_full_offered: boolean;
|
|
1723
|
+
price?: BookingPriceQuote;
|
|
1724
|
+
}
|
|
1725
|
+
interface BookingHold {
|
|
1726
|
+
hold_token: string;
|
|
1727
|
+
status: string;
|
|
1728
|
+
service_name: string;
|
|
1729
|
+
starts_at: string;
|
|
1730
|
+
ends_at: string;
|
|
1731
|
+
/** Stripe Checkout URL; redirect the visitor here. Absent once the hold is no longer payable. */
|
|
1732
|
+
checkout_url?: string;
|
|
1733
|
+
hold_expires_at?: string;
|
|
1734
|
+
}
|
|
1735
|
+
interface BookingHoldResponse {
|
|
1736
|
+
hold: BookingHold;
|
|
1737
|
+
}
|
|
1738
|
+
interface BookingCustomerInput {
|
|
1739
|
+
name?: string;
|
|
1740
|
+
email?: string;
|
|
1741
|
+
phone?: string;
|
|
1742
|
+
}
|
|
1743
|
+
interface CreateBookingHoldInput {
|
|
1744
|
+
service_id: string;
|
|
1745
|
+
/** RFC 3339. */
|
|
1746
|
+
starts_at: string;
|
|
1747
|
+
/** RFC 3339; flexible-length services only. */
|
|
1748
|
+
ends_at?: string;
|
|
1749
|
+
customer?: BookingCustomerInput;
|
|
1750
|
+
intake_answers?: Record<string, string>;
|
|
1751
|
+
accept_terms?: boolean;
|
|
1752
|
+
pay_option?: string;
|
|
1753
|
+
/** Honeypot: pass through the hidden form field's value untouched; a filled value marks a bot. */
|
|
1754
|
+
_gotcha?: string;
|
|
1755
|
+
}
|
|
1756
|
+
interface BookingAvailabilityParams {
|
|
1757
|
+
/** RFC 3339. */
|
|
1758
|
+
from?: string;
|
|
1759
|
+
/** RFC 3339. */
|
|
1760
|
+
to?: string;
|
|
1761
|
+
}
|
|
1762
|
+
interface BookingQuoteParams {
|
|
1763
|
+
/** RFC 3339. */
|
|
1764
|
+
startsAt: string;
|
|
1765
|
+
/** RFC 3339; omit for a fixed-length service. */
|
|
1766
|
+
endsAt?: string;
|
|
1767
|
+
}
|
|
1422
1768
|
|
|
1423
|
-
export type {
|
|
1769
|
+
export type { CatalogBrand as $, AddCartItemInput as A, DashMovingAddressList as B, CartResponse as C, DashProfileResponse as D, DashMovingAddress as E, DashMovingDistance as F, PublicWorkspaceInit as G, LightInitResponse as H, PublicPageSummary as I, PublicPage as J, Product as K, ListResponse as L, ProductAsset as M, SlotsResponse as N, Order as O, PaymentCollectionAvailability as P, DownloadResponse as Q, ArtworkMutationReceipt as R, SiteDocument as S, PublicConfiguration as T, UploadTicket as U, PublicConfigurationQuoteInput as V, WaitlistVerification as W, PublicConfigurationQuote as X, CatalogCategory as Y, CatalogProductsResponse as Z, CatalogCollection as _, CheckoutOptions as a, BookingCustomerInput as a$, CartLookupResponse as a0, UpdateCartItemInput as a1, MergeCartInput as a2, Review as a3, ReviewSummaryResponse as a4, PublicSubmitReviewInput as a5, ThemeResponse as a6, MenuResponse as a7, BlogPost as a8, BlogPostResponse as a9, CustomerResponse as aA, CustomerAuthSession as aB, CustomerSecurityActivityPage as aC, OrderSummary as aD, SavedAddress as aE, SavedAddressResponse as aF, SavedAddressInput as aG, SavedAddressUpdateInput as aH, SavedPaymentMethod as aI, PaymentMethodSetupInput as aJ, PaymentMethodSetupResult as aK, PaymentMethodConfirmInput as aL, PaymentMethodMutationResponse as aM, StartSubscriptionInput as aN, SubscriptionAgreementResponse as aO, SubscriptionListResponse as aP, SubscriptionSourceResponse as aQ, SubscriptionInvoiceListResponse as aR, SubscriptionInvoiceResponse as aS, GivingIntentListResponse as aT, LeadResponse as aU, BeginUploadInput as aV, CompleteUploadInput as aW, DecisionInput as aX, Slot as aY, BookingAvailability as aZ, BookingCancellationPolicy as a_, GivingEntry as aa, StartGivingInput as ab, StartGivingResponse as ac, SubscriptionPlanListResponse as ad, SubscriptionPlanResponse as ae, BookingService as af, BookingServiceResponse as ag, BookingAvailabilityParams as ah, BookingAvailabilityResponse as ai, BookingQuoteParams as aj, BookingQuoteResponse as ak, CreateBookingHoldInput as al, BookingHoldResponse as am, PublicPaymentLinkResponse as an, PaymentLinkCheckoutInput as ao, PaymentLinkCheckoutResponse as ap, PaymentLinkRedemptionStatusResponse as aq, PrintSettingsResponse as ar, PrintOptionsSelection as as, PrintQuoteResponse as at, PrintIntakeInput as au, PrintJob as av, DiningMenu as aw, CustomerSignupResponse as ax, SendCodeResponse as ay, CustomerSession as az, CheckoutStatusResponse as b, SubscriptionInvoice as b$, BookingFreeSpan as b0, BookingHold as b1, BookingIntakeQuestion as b2, BookingPriceQuote as b3, BookingServicePricing as b4, BookingTimeRange as b5, CatalogProduct as b6, CheckoutAddress as b7, CheckoutStatus as b8, ConfigDocument as b9, DiningOfferBadge as bA, GivingIntent as bB, Menu as bC, MenuItem as bD, OrderItem as bE, PaymentLinkRedemptionStatus as bF, PaymentMethodOption as bG, PaymentReadiness as bH, PrintBranding as bI, PrintIntakeLimits as bJ, PrintJobFile as bK, PrintPaperSize as bL, PrintPerPagePricing as bM, PrintPriceBreakdown as bN, PrintPriceLine as bO, PrintPricing as bP, PrintPricingOption as bQ, ProductLineConfiguration as bR, PublicGate as bS, PublicPaymentLink as bT, PublicSiteSignals as bU, ShippingMethodOption as bV, SiteGatedDocument as bW, SiteRef as bX, SiteResolvedDocument as bY, SiteSubject as bZ, SubscriptionAgreement as b_, ConfigQuote as ba, ConfigSelectionRequest as bb, Customer as bc, CustomerSecurityActivity as bd, DashBrandingInfo as be, DashDirectoryProfile as bf, DashLeadPortalMatch as bg, DashLeadPortalMovingSummary as bh, DashLeadPortalRequest as bi, DashLeadPortalRequestStatus as bj, DashLocaleInfo as bk, DashPlan as bl, DashPlanPricing as bm, DashPlanRegion as bn, DashPublicPage as bo, DashPublicProfileInfo as bp, DashTenantInfo as bq, DiningAvailability as br, DiningAvailabilityRule as bs, DiningComboChoice as bt, DiningComboGroup as bu, DiningItemSize as bv, DiningMenuItem as bw, DiningModifier as bx, DiningModifierGroup as by, DiningOffer as bz, CheckoutCustomerInput as c, SubscriptionPlanOffer as c0, SubscriptionSourceDisplay as c1, WaitlistAttribution as c2, WorkspaceInfo as c3, CheckoutAddressesInput as d, CheckoutFulfillmentInput as e, CheckoutPayInput as f, CheckoutPayResponse as g, CheckoutCancelInput as h, ChannelPing as i, ChannelGeo as j, WaitlistUnsubscription as k, DashInitResponse as l, WaitlistGateStatus as m, WaitlistFormSettings as n, WaitlistSubmission as o, WaitlistAcknowledgement as p, DashPlansResponse as q, DashDirectoryRegion as r, DashDirectoryEntry as s, DashDirectoryProfileResponse as t, DashLead as u, DashLeadPortalRequestLinkInput as v, DashLeadPortalRequestLinkResponse as w, DashLeadPortalView as x, DashMovingQuoteInput as y, DashMovingQuoteReceipt as z };
|