@01.software/sdk 0.65.1 → 0.67.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/CHANGELOG.md +68 -0
- package/README.md +79 -2
- package/dist/client.cjs +79 -27
- package/dist/client.cjs.map +1 -1
- package/dist/client.d.cts +6 -6
- package/dist/client.d.ts +6 -6
- package/dist/client.js +79 -27
- package/dist/client.js.map +1 -1
- package/dist/{collection-client-C2sMvfme.d.ts → collection-client-D4HEOoO_.d.ts} +4 -4
- package/dist/{collection-client-B7rsTtVj.d.cts → collection-client-jrNFGbrO.d.cts} +4 -4
- package/dist/{const-CRxPTDGt.d.ts → const-BU79hCFB.d.ts} +2 -2
- package/dist/{const-D6ZRQLxI.d.cts → const-CCQ3MdLE.d.cts} +2 -2
- package/dist/{index-1auUEYrl.d.ts → index-CwKxWHIa.d.ts} +3 -3
- package/dist/{index-Bbpf5t-l.d.cts → index-DiyhsVHd.d.cts} +3 -3
- package/dist/index.cjs +80 -27
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +7 -7
- package/dist/index.d.ts +7 -7
- package/dist/index.js +80 -27
- package/dist/index.js.map +1 -1
- package/dist/{payload-types-BnIET0xU.d.cts → payload-types-jdsUXunB.d.cts} +128 -49
- package/dist/{payload-types-BnIET0xU.d.ts → payload-types-jdsUXunB.d.ts} +128 -49
- package/dist/query.cjs +14 -1
- package/dist/query.cjs.map +1 -1
- package/dist/query.d.cts +5 -5
- package/dist/query.d.ts +5 -5
- package/dist/query.js +14 -1
- package/dist/query.js.map +1 -1
- package/dist/realtime.d.cts +2 -2
- package/dist/realtime.d.ts +2 -2
- package/dist/server.cjs +96 -3
- package/dist/server.cjs.map +1 -1
- package/dist/server.d.cts +9 -9
- package/dist/server.d.ts +9 -9
- package/dist/server.js +96 -3
- package/dist/server.js.map +1 -1
- package/dist/{types-Dp1oYpD3.d.cts → types-BPwXAFZ7.d.cts} +2 -2
- package/dist/{types-D1y4TgQm.d.ts → types-BusejG-v.d.ts} +2 -2
- package/dist/{types-Dzn0LD2N.d.cts → types-CvdBV3ri.d.cts} +71 -6
- package/dist/{types-DnRC3nLG.d.ts → types-I2k6Laad.d.ts} +71 -6
- package/dist/ui/canvas.cjs +5 -1
- package/dist/ui/canvas.cjs.map +1 -1
- package/dist/ui/canvas.js +5 -1
- package/dist/ui/canvas.js.map +1 -1
- package/dist/ui/form.d.cts +1 -1
- package/dist/ui/form.d.ts +1 -1
- package/dist/ui/video.cjs +9 -2
- package/dist/ui/video.cjs.map +1 -1
- package/dist/ui/video.d.cts +1 -1
- package/dist/ui/video.d.ts +1 -1
- package/dist/ui/video.js +9 -2
- package/dist/ui/video.js.map +1 -1
- package/dist/webhook.d.cts +5 -5
- package/dist/webhook.d.ts +5 -5
- package/package.json +3 -3
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { P as Product, a as ProductVariant, M as Market, C as CustomerProfile, b as CustomerProfileStat, c as CustomerProfileList, d as ProductCollection, e as Config } from './payload-types-
|
|
2
|
-
import { C as Collection } from './const-
|
|
1
|
+
import { P as Product, a as ProductVariant, M as Market, C as CustomerProfile, b as CustomerProfileStat, c as CustomerProfileList, d as ProductCollection, e as Config } from './payload-types-jdsUXunB.cjs';
|
|
2
|
+
import { C as Collection } from './const-CCQ3MdLE.cjs';
|
|
3
3
|
|
|
4
4
|
type PublicCustomerProfile = Omit<CustomerProfile, 'tenant' | 'customer' | 'isPublic' | 'anonymizedAt' | 'metadata'>;
|
|
5
5
|
type PublicCustomerProfileListEntry = {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { P as Product, a as ProductVariant, M as Market, C as CustomerProfile, b as CustomerProfileStat, c as CustomerProfileList, d as ProductCollection, e as Config } from './payload-types-
|
|
2
|
-
import { C as Collection } from './const-
|
|
1
|
+
import { P as Product, a as ProductVariant, M as Market, C as CustomerProfile, b as CustomerProfileStat, c as CustomerProfileList, d as ProductCollection, e as Config } from './payload-types-jdsUXunB.js';
|
|
2
|
+
import { C as Collection } from './const-BU79hCFB.js';
|
|
3
3
|
|
|
4
4
|
type PublicCustomerProfile = Omit<CustomerProfile, 'tenant' | 'customer' | 'isPublic' | 'anonymizedAt' | 'metadata'>;
|
|
5
5
|
type PublicCustomerProfileListEntry = {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { P as PublicCollection, C as Collection, S as ServerCollection } from './const-
|
|
2
|
-
import { C as CollectionType, a as PublicProduct, P as PublicMarket } from './types-
|
|
3
|
-
import { O as Order, k as Transaction, l as Fulfillment, R as Return } from './payload-types-
|
|
1
|
+
import { P as PublicCollection, C as Collection, S as ServerCollection } from './const-CCQ3MdLE.cjs';
|
|
2
|
+
import { C as CollectionType, a as PublicProduct, P as PublicMarket } from './types-BPwXAFZ7.cjs';
|
|
3
|
+
import { O as Order, k as Transaction, l as Fulfillment, R as Return } from './payload-types-jdsUXunB.cjs';
|
|
4
4
|
import { SDKError } from './errors.cjs';
|
|
5
5
|
|
|
6
6
|
declare const operationBrand: unique symbol;
|
|
@@ -2206,8 +2206,35 @@ type ProductUpsertResponse = {
|
|
|
2206
2206
|
failedIndex?: number;
|
|
2207
2207
|
message: string;
|
|
2208
2208
|
};
|
|
2209
|
+
type ProductGraphRevisionParams = {
|
|
2210
|
+
productId: string;
|
|
2211
|
+
locale?: 'ko' | 'en';
|
|
2212
|
+
};
|
|
2213
|
+
type ProductGraphRevisionResponse = {
|
|
2214
|
+
productId: string;
|
|
2215
|
+
graphRevision: string;
|
|
2216
|
+
};
|
|
2217
|
+
type VariantPricesUpdateInput = {
|
|
2218
|
+
graphRevision: string;
|
|
2219
|
+
updates: Array<{
|
|
2220
|
+
id: string;
|
|
2221
|
+
price: number;
|
|
2222
|
+
}>;
|
|
2223
|
+
};
|
|
2224
|
+
type VariantPricesUpdateParams = ProductGraphRevisionParams & VariantPricesUpdateInput;
|
|
2225
|
+
type VariantPricesUpdateResponse = {
|
|
2226
|
+
ok: true;
|
|
2227
|
+
productId: string;
|
|
2228
|
+
updated: number;
|
|
2229
|
+
deleted: number;
|
|
2230
|
+
productProjectionStale: boolean;
|
|
2231
|
+
};
|
|
2209
2232
|
declare class ProductApi extends BaseApi {
|
|
2210
2233
|
constructor(options: ProductApiOptions);
|
|
2234
|
+
/** Read a baseline before reviewing values in the same content locale. */
|
|
2235
|
+
graphRevision(params: ProductGraphRevisionParams): Promise<ProductGraphRevisionResponse>;
|
|
2236
|
+
/** Update existing base prices only; conflicts never trigger a rebase or full upsert. */
|
|
2237
|
+
updateVariantPrices(params: VariantPricesUpdateParams): Promise<VariantPricesUpdateResponse>;
|
|
2211
2238
|
/**
|
|
2212
2239
|
* Check point-in-time stock availability for one or more product variants.
|
|
2213
2240
|
* Results reflect available stock at the moment of the call and are not guaranteed
|
|
@@ -3010,6 +3037,8 @@ declare class ServerCommerceClient {
|
|
|
3010
3037
|
detailCatalog: (params: ProductDetailParams) => Promise<ProductDetailCatalogResult>;
|
|
3011
3038
|
previewDetail: (params: ProductDetailPreviewParams, options: ProductDetailPreviewOptions) => Promise<ProductDetail | null>;
|
|
3012
3039
|
upsert: (params: ProductUpsertParams) => Promise<ProductUpsertResponse>;
|
|
3040
|
+
graphRevision: (params: ProductGraphRevisionParams) => Promise<ProductGraphRevisionResponse>;
|
|
3041
|
+
updateVariantPrices: (params: VariantPricesUpdateParams) => Promise<VariantPricesUpdateResponse>;
|
|
3013
3042
|
};
|
|
3014
3043
|
readonly carts: {
|
|
3015
3044
|
create: (params?: CreateCartParams) => Promise<CreateCartResult>;
|
|
@@ -3255,6 +3284,39 @@ interface EventRegistrationRegisterResponse {
|
|
|
3255
3284
|
interface EventGuestRegistrationResponse {
|
|
3256
3285
|
registration: EventGuestRegistration;
|
|
3257
3286
|
}
|
|
3287
|
+
interface EventMyRegistrationsParams {
|
|
3288
|
+
page?: number;
|
|
3289
|
+
limit?: number;
|
|
3290
|
+
}
|
|
3291
|
+
interface EventMyRegistration {
|
|
3292
|
+
id: string;
|
|
3293
|
+
event: {
|
|
3294
|
+
id: string | null;
|
|
3295
|
+
title: string | null;
|
|
3296
|
+
};
|
|
3297
|
+
occurrence: {
|
|
3298
|
+
id: string | null;
|
|
3299
|
+
startsAt: string | null;
|
|
3300
|
+
endsAt: string | null;
|
|
3301
|
+
timezone: string | null;
|
|
3302
|
+
isAllDay: boolean | null;
|
|
3303
|
+
allDayStartDate: string | null;
|
|
3304
|
+
allDayEndDateExclusive: string | null;
|
|
3305
|
+
};
|
|
3306
|
+
registrationStatus: string | null;
|
|
3307
|
+
attendanceStatus: string | null;
|
|
3308
|
+
quantity: number | null;
|
|
3309
|
+
createdAt: string | null;
|
|
3310
|
+
}
|
|
3311
|
+
interface EventMyRegistrationsResponse {
|
|
3312
|
+
docs: EventMyRegistration[];
|
|
3313
|
+
totalDocs: number;
|
|
3314
|
+
limit: number;
|
|
3315
|
+
page: number;
|
|
3316
|
+
totalPages: number;
|
|
3317
|
+
hasNextPage: boolean;
|
|
3318
|
+
hasPrevPage: boolean;
|
|
3319
|
+
}
|
|
3258
3320
|
interface EventGuestCancelParams {
|
|
3259
3321
|
reason?: string;
|
|
3260
3322
|
}
|
|
@@ -3267,6 +3329,7 @@ declare class EventsClient {
|
|
|
3267
3329
|
constructor(options: EventsClientOptions);
|
|
3268
3330
|
getRange(params: EventsRangeParams): Promise<EventsRangeResponse>;
|
|
3269
3331
|
getAdmissionAvailability(params: EventAdmissionAvailabilityParams): Promise<EventAdmissionAvailabilityResponse>;
|
|
3332
|
+
listMyRegistrations(params?: EventMyRegistrationsParams): Promise<EventMyRegistrationsResponse>;
|
|
3270
3333
|
register(params: EventRegistrationRegisterParams): Promise<EventRegistrationRegisterResponse>;
|
|
3271
3334
|
getGuestRegistration(token: string): Promise<EventGuestRegistrationResponse>;
|
|
3272
3335
|
cancelGuestRegistration(token: string, params?: EventGuestCancelParams): Promise<EventGuestRegistrationResponse>;
|
|
@@ -4016,6 +4079,8 @@ interface RootClient {
|
|
|
4016
4079
|
getState(): ClientState;
|
|
4017
4080
|
getConfig(): ClientConfig;
|
|
4018
4081
|
}
|
|
4082
|
+
/** Publishable-key event helpers usable without a customer session. */
|
|
4083
|
+
type ServerEventsClient = Pick<EventsClient, 'getRange' | 'getAdmissionAvailability' | 'register' | 'getGuestRegistration' | 'cancelGuestRegistration'>;
|
|
4019
4084
|
interface RootServerClient {
|
|
4020
4085
|
commerce: ServerCommerceClient;
|
|
4021
4086
|
tenant: TenantIntrospectionClient;
|
|
@@ -4029,7 +4094,7 @@ interface RootServerClient {
|
|
|
4029
4094
|
installationCredentials: InstallationCredentialsApi;
|
|
4030
4095
|
externalCustomerLinks: ExternalCustomerLinksApi;
|
|
4031
4096
|
/** Set on {@link createServerClient} return values; optional for structural mocks. */
|
|
4032
|
-
events?:
|
|
4097
|
+
events?: ServerEventsClient;
|
|
4033
4098
|
/** Quota-aware VOD admission. */
|
|
4034
4099
|
video?: VideoPlaybackClient;
|
|
4035
4100
|
community: CommunityClient & {
|
|
@@ -4051,11 +4116,11 @@ type RootClientWithEvents = RootClient & {
|
|
|
4051
4116
|
events: EventsClient;
|
|
4052
4117
|
};
|
|
4053
4118
|
type RootServerClientWithEvents = RootServerClient & {
|
|
4054
|
-
events:
|
|
4119
|
+
events: ServerEventsClient;
|
|
4055
4120
|
};
|
|
4056
4121
|
type DeepPartial<T> = {
|
|
4057
4122
|
[P in keyof T]?: T[P] extends object ? DeepPartial<T[P]> : T[P];
|
|
4058
4123
|
};
|
|
4059
4124
|
type ExtractArrayType<T> = T extends (infer U)[] ? U : never;
|
|
4060
4125
|
|
|
4061
|
-
export { type PublicAttribute as $, type AddItemParams as A, type CreatePaymentSessionParams as B, CommerceClient as C, type CreatePortOnePaymentSessionParams as D, EventsClient as E, type CustomerSnapshot as F, type DebugConfig as G, type DeepPartial as H, type ExtractArrayType as I, type MembershipStatus as J, type Money as K, type PayloadMutationResponse as L, MarketDiscovery as M, type PaymentFailureReason as N, type OpenCheckoutPaymentState as O, type PayloadFindResponse as P, type PaymentNextAction as Q, type PaymentProviderStatus as R, type PaymentReconciliationReason as S, type PaymentSessionRole as T, type PortOneHostedPaymentMethod as U, type PortOnePaymentNextAction as V, type PortOnePublicPaymentSession as W, type ProductUpsertInput as X, type ProductUpsertParams as Y, type ProductUpsertResponse as Z, type ProductUpsertVariantInput as _, CommunityClient as a, type CheckoutApiOptions as a$, type PublicCaptureEvidence as a0, type PublicCart as a1, type PublicCartItem as a2, type PublicCartItemAdmission as a3, type PublicCartMarket as a4, type PublicCartReference as a5, type PublicCheckout as a6, type PublicCheckoutItem as a7, type PublicMediaAsset as a8, type PublicMediaSize as a9, type UpdateDiscountCodesParams as aA, type UpdateItemParams as aB, type VariantInput as aC, type Where as aD, RawBaseApi as aE, type ServerApiOptions as aF, ServerCommerceClient as aG, type TenantIntrospectionClient as aH, type SubscribeMembershipParams as aI, type SubscribeMembershipResponse as aJ, type BillingCustodyParams as aK, type BillingCustodyResponse as aL, CustomerGroupApi as aM, ExternalEffectClaimsApi as aN, InstallationCredentialsApi as aO, ExternalCustomerLinksApi as aP, VideoPlaybackClient as aQ, type BanCustomerParams as aR, type CommunityBan as aS, type UnbanCustomerParams as aT, type ClientServerConfig as aU, type RootServerClientWithEvents as aV, type CancelServerPaymentSessionParams as aW, type CaptureExternalCustomerPreviousStateParams as aX, CartApi as aY, type CartApiOptions as aZ, CheckoutApi as a_, type PublicOrder as aa, type PublicOrderAmounts as ab, type PublicOrderItem as ac, type PublicOrderReference as ad, type PublicPaymentSession as ae, type ReconciliationRequired as af, type RemoveItemParams as ag, type RetrieveBrowserPaymentSessionParams as ah, type RetrieveCartParams as ai, type RetrieveCheckoutParams as aj, type RetryConfig as ak, type RootClient as al, type RootCollectionClient as am, type RootReadOnlyQueryBuilder as an, type ShippingLine as ao, type Sort as ap, type SpentCheckoutPaymentState as aq, type StorefrontContentListOptions as ar, type StorefrontContentReference as as, type StorefrontGalleryItem as at, type StorefrontGalleryItemsListOptions as au, type StorefrontGalleryItemsSort as av, type StorefrontLink as aw, type StorefrontLinksListOptions as ax, type StorefrontLinksSort as ay, type UpdateCartAttributesParams as az, ContentClient as b, type GetExternalCustomerLinkParams as b$, type CheckoutListItem as b0, type CheckoutQueryParams as b1, type CheckoutQueryResult as b2, type CheckoutStatus as b3, type ClaimExternalEffectParams as b4, type CollectionCustomFieldDefinition as b5, type CollectionCustomFields as b6, type CollectionFieldSchema as b7, type CollectionSchemaResponse as b8, type ConfirmCustomPaymentSessionOptions as b9, type EventGuestRegistrationResponse as bA, type EventRegistrationAnswerInput as bB, type EventRegistrationAttendeeInput as bC, type EventRegistrationPublic as bD, type EventRegistrationRegisterParams as bE, type EventRegistrationRegisterResponse as bF, type EventsCalendarItem as bG, type EventsClientOptions as bH, type EventsDateParam as bI, type EventsExternalSource as bJ, type EventsLocation as bK, type EventsOccurrenceLocation as bL, type EventsRangeEvent as bM, type EventsRangeOccurrence as bN, type EventsRangeParams as bO, type EventsRangeResponse as bP, type EventsTaxonomyItem as bQ, type ExternalCustomerLink as bR, type ExternalCustomerLinkListResponse as bS, type ExternalCustomerPreviousState as bT, type ExternalEffectClaimErrorReason as bU, type ExternalEffectClaimSnapshot as bV, type ExternalEffectClaimState as bW, type ExternalEffectLeaseParams as bX, type ExternalEffectLocator as bY, type FindPortOnePaymentParams as bZ, type FindPortOnePaymentResult as b_, type ConfirmCustomPaymentSessionParams as ba, type ConfirmCustomPaymentSessionResponse as bb, type ConfirmTossPaymentSessionParams as bc, type ConnectExternalCustomerLinkParams as bd, type CreateCustomPaymentSessionParams as be, type CreateInstallationCredentialParams as bf, type CreateServerCheckoutParams as bg, type CreateServerCheckoutResult as bh, type CreateServerPaymentSessionParams as bi, type CreateServerPortOnePaymentSessionParams as bj, type CustomPaymentSession as bk, type CustomPaymentSessionProof as bl, type CustomerGroupApiOptions as bm, type CustomerGroupManualSource as bn, type CustomerGroupMember as bo, type CustomerGroupMemberCommandResponse as bp, type CustomerGroupMemberSource as bq, type CustomerGroupMembershipSource as br, type CustomerGroupMembershipState as bs, type DisposeInstallationCredentialParams as bt, type EventAdmissionAvailabilityParams as bu, type EventAdmissionAvailabilityResponse as bv, type EventAdmissionAvailabilityType as bw, type EventAdmissionPricePresentment as bx, type EventGuestCancelParams as by, type EventGuestRegistration as bz, CustomerNamespace as c, type ProductListingPageResult as c$, type GetExternalEffectClaimParams as c0, type GrantCustomerGroupMemberParams as c1, type InstallationCredentialIdentity as c2, type InstallationCredentialSnapshot as c3, type ListCustomerGroupMembersParams as c4, type ListCustomerGroupMembersResponse as c5, type ListExternalCustomerLinksParams as c6, ModerationApi as c7, type MutateExternalCustomerLinkParams as c8, PaymentSessionApi as c9, type TenantFeatureProgressFeature as cA, type TenantFeatureProgressGroup as cB, type TenantFeatureProgressInput as cC, type TenantFeatureProgressItem as cD, type TenantFeatureProgressItemState as cE, type TenantFeatureProgressResponse as cF, type TenantFeatureProgressSeverity as cG, type TenantFeatureProgressStatus as cH, type TenantFieldConfigState as cI, TenantIntrospectionApi as cJ, type TenantIntrospectionApiOptions as cK, getExternalEffectClaimErrorReason as cL, type ApiDeleteOptions as cM, type PublicReadQueryOptions as cN, CustomerAuth as cO, type CustomerProfile as cP, type CustomerAuthResponse as cQ, type CustomerLoginData as cR, type CustomerRegisterResponse as cS, type CustomerRegisterData as cT, type CustomerRefreshResponse as cU, type UpdateProfileData as cV, type ProductListingPageParams as cW, type ProductListingPageBaseParams as cX, type ProductDetailParams as cY, type ProductDetailCatalogResult as cZ, type ProductListingPageCatalogParams as c_, type PaymentSessionApiOptions as ca, type PortOnePaymentCurrentState as cb, PortOnePaymentReconciliationApi as cc, type PortOnePaymentSelector as cd, type PortOneReconciliationDisposition as ce, type ReconcilePortOnePaymentParams as cf, type ReconcilePortOnePaymentResult as cg, type RecordExternalEffectRecoveryParams as ch, type ReplaceInstallationCredentialParams as ci, type ReportExternalEffectParams as cj, type RetrieveCustomPaymentSessionParams as ck, type RetrieveServerCheckoutParams as cl, type RetrieveServerPaymentSessionParams as cm, type RetrievedCustomPaymentSession as cn, type RevokeCustomerGroupMemberParams as co, type RootServerClient as cp, type ServerAddItemParams as cq, type ServerCartMergeParams as cr, type ServerCartMineParams as cs, type ServerCheckout as ct, type ServerUpdateItemParams as cu, TENANT_CONTEXT_PATH as cv, type TenantContextInput as cw, type TenantContextResponse as cx, type TenantCustomFieldType as cy, type TenantFeatureProgressEvidenceValue as cz, type CustomerMembershipView as d, PRODUCT_UPSERT_UNKNOWN_FIELD_REASON as d$, type ProductListingGroupsCatalogItem as d0, type ProductListingPageFullParams as d1, type ProductListingGroupsItem as d2, BaseApi as d3, type ProductDetail as d4, type ProductDetailCatalog as d5, type StockSnapshotResponse as d6, type RootClientWithEvents as d7, type BillingCustodyWireRequest as d8, type BulkImportFulfillmentsParams as d9, type CustomerAuthorizationUrlInput as dA, type CustomerAuthorizationUrlResult as dB, CustomerOAuth as dC, type CustomerOAuthCallbackResult as dD, type CustomerOAuthConfig as dE, type CustomerOAuthTokenSet as dF, type CustomerOrderListOptions as dG, type CustomerWithdrawalResult as dH, DiscountApi as dI, type DiscountApiOptions as dJ, type DiscountErrorReasonCode as dK, type FeaturedImagePointerInput as dL, type GetOrderByPaymentIdParams as dM, type LegacyProductSelectionParamEvent as dN, type ListingGroupsParams as dO, MAX_CART_LINE_ADMISSIONS as dP, type ManagedPaymentNextAction as dQ, type ManagedPublicPaymentSession as dR, type MarketDTO as dS, type MediaValue as dT, type NormalizedOptionSwatch as dU, type NormalizedProductSelection as dV, OrderApi as dW, type OrderApiOptions as dX, type OrderByPaymentResult as dY, PRODUCT_PLP_FIND_OPTIONS as dZ, PRODUCT_UPSERT_READONLY_FIELD_REASON as d_, type BulkImportFulfillmentsResponse as da, type CalculateShippingParams as db, type CalculateShippingResult as dc, type CancelOrderParams as dd, type CancelOrderResponse as de, type CancelReasonCode as df, type CartDiscountCode as dg, type CartWarning as dh, type CartWarningCode as di, type Comment as dj, type CommerceClientOptions as dk, type CommunityClientOptions as dl, type CommunityComment as dm, type CommunityCommentListSort as dn, type CommunityPost as dp, type CommunityPostCategory as dq, type CommunityPostListSort as dr, type CommunityPostTag as ds, type CommunityPublicAuthorSnapshot as dt, type CommunityPublicMediaAsset as du, type CommunityPublicReference as dv, type CompatibilityProductSelectionParamEvent as dw, type CreateFulfillmentParams as dx, type CreateReturnParams as dy, type CustomerAuthOptions as dz, type CancelMembershipParams as e, type ProductSelectionMediaSource as e$, type PrepareFulfillmentOrderParams as e0, type PrepareFulfillmentOrderResponse as e1, ProductApi as e2, type ProductApiOptions as e3, type ProductDetailBrand as e4, type ProductDetailCatalogVariant as e5, type ProductDetailCategory as e6, type ProductDetailImage as e7, type ProductDetailImageMedia as e8, type ProductDetailMedia as e9, type ProductListingGroupsResponse as eA, type ProductListingPageFilters as eB, type ProductListingPageSort as eC, type ProductListingProductShape as eD, type ProductListingSwatch as eE, type ProductLocaleOption as eF, type ProductLocaleReadParams as eG, type ProductLocalizedText as eH, type ProductLocalizedValue as eI, type ProductMediaResolutionSource as eJ, type ProductMoneyRange as eK, type ProductOptionMatrix as eL, type ProductOptionMatrixOption as eM, type ProductOptionMatrixValue as eN, type ProductOptionMatrixVariant as eO, type ProductOptionShape as eP, type ProductOptionValueShape as eQ, type ProductOptionValueSwatch as eR, type ProductOptionValueSwatchInput as eS, type ProductPriceRange as eT, type ProductSelectionAvailableSwatch as eU, type ProductSelectionAvailableValue as eV, type ProductSelectionByOptionValue as eW, ProductSelectionCodecError as eX, type ProductSelectionCodecOptions as eY, type ProductSelectionInput as eZ, type ProductSelectionMediaPointer as e_, type ProductDetailOption as ea, type ProductDetailOptionValue as eb, type ProductDetailResult as ec, type ProductDetailTag as ed, type ProductDetailUnavailableReason as ee, type ProductDetailVariant as ef, type ProductDetailVariantOptionValue as eg, type ProductDetailVideo as eh, type ProductDisplayMediaSource as ei, type ProductFallbackLocaleOption as ej, type ProductHrefGroup as ek, type ProductHrefOptions as el, type ProductHrefProduct as em, type ProductListingCard as en, type ProductListingCardOptions as eo, type ProductListingCardPriceRange as ep, type ProductListingCardRepresentativeVariant as eq, type ProductListingGroup as er, type ProductListingGroupCatalogSummary as es, type ProductListingGroupCatalogVariant as et, type ProductListingGroupProjection as eu, type ProductListingGroupSummary as ev, type ProductListingGroupVariant as ew, type ProductListingGroupsCatalogProduct as ex, type ProductListingGroupsCatalogResponse as ey, type ProductListingGroupsProduct as ez, type CancelMembershipResponse as f, selectNext as f$, type ProductSelectionOptionValue as f0, type ProductSelectionResolution as f1, type ProductSelectionResolutionContext as f2, type ProductSelectionUrlEmit as f3, type ProductSelectionVariant$1 as f4, type ProductUpsertFieldValidationErrorBody as f5, type ProductUpsertFieldValidationErrorReason as f6, type ProductVariantShape as f7, type PublicCheckoutBase as f8, type RequestOptions as f9, type ValidateDiscountResult as fA, type VideoPlaybackResponse as fB, type WithIdempotencyKey as fC, buildProductHref as fD, buildProductListingCard as fE, buildProductListingGroupProjection as fF, buildProductListingGroupsByOption as fG, buildProductOptionMatrix as fH, buildProductOptionMatrixFromDetail as fI, createProductSelectionCodec as fJ, getAvailableOptionValues as fK, getProductSelectionImages as fL, getSelectedValueByOptionId as fM, getVariantAvailableForSale as fN, getVariantAvailableStock as fO, isProductUpsertFieldValidationErrorBody as fP, normalizeProductSelection as fQ, normalizeProductSelectionFromMatrix as fR, normalizeSelectedValueIds as fS, parseProductSelection as fT, projectProductToListingShape as fU, resolveFeaturedImagePointer as fV, resolveProductDisplayMedia as fW, resolveProductSelection as fX, resolveProductSelectionFromMatrix as fY, resolveProductSelectionMedia as fZ, resolveVariantForSelection as f_, type ResolveCancelRefundFailedResponse as fa, type ResolveCancelRefundOutcome as fb, type ResolveCancelRefundParams as fc, type ResolveCancelRefundResponse as fd, type ResolveCancelRefundSucceededResponse as fe, type ResolveProductDisplayMediaInput as ff, type ResolveProductDisplayMediaResult as fg, type ResolveProductSelectionMediaInput as fh, type ResolveProductSelectionMediaResult as fi, type ResolvedCatalogPrice as fj, type ReturnCancellationReasonCode as fk, type ReturnItem as fl, type ReturnReason as fm, type ReturnWithRefundItem as fn, type ReturnWithRefundParams as fo, ShippingApi as fp, type ShippingApiOptions as fq, type StockCheckParams as fr, type StockCheckResponse as fs, type StockCheckResult as ft, type StockSnapshotItem as fu, type StockSnapshotParams as fv, type UpdateFulfillmentParams as fw, type UpdateOrderParams as fx, type UpdateReturnParams as fy, type ValidateDiscountParams as fz, type ClientState as g, selectedSwatchMediaItemId as g0, stringifyProductSelection as g1, toShopifyPriceRangeV2 as g2, type ClientConfig as h, type ApiQueryOptions as i, type CancelBrowserPaymentSessionParams as j, type CartMergeParams as k, type CartMergeResult as l, type CartMineResult as m, type CartMutationResult as n, type CheckoutAbandonedReason as o, type CheckoutAmounts as p, type CheckoutOrderReference as q, type CheckoutPaymentSessionRef as r, type CheckoutShippingAddress as s, type ClearCartParams as t, type ClientMetadata as u, type ContentClientOptions as v, type CreateCartParams as w, type CreateCartResult as x, type CreateCheckoutParams as y, type CreateCheckoutResult as z };
|
|
4126
|
+
export { type PublicAttribute as $, type AddItemParams as A, type CreatePaymentSessionParams as B, CommerceClient as C, type CreatePortOnePaymentSessionParams as D, EventsClient as E, type CustomerSnapshot as F, type DebugConfig as G, type DeepPartial as H, type ExtractArrayType as I, type MembershipStatus as J, type Money as K, type PayloadMutationResponse as L, MarketDiscovery as M, type PaymentFailureReason as N, type OpenCheckoutPaymentState as O, type PayloadFindResponse as P, type PaymentNextAction as Q, type PaymentProviderStatus as R, type PaymentReconciliationReason as S, type PaymentSessionRole as T, type PortOneHostedPaymentMethod as U, type PortOnePaymentNextAction as V, type PortOnePublicPaymentSession as W, type ProductUpsertInput as X, type ProductUpsertParams as Y, type ProductUpsertResponse as Z, type ProductUpsertVariantInput as _, CommunityClient as a, type CheckoutApiOptions as a$, type PublicCaptureEvidence as a0, type PublicCart as a1, type PublicCartItem as a2, type PublicCartItemAdmission as a3, type PublicCartMarket as a4, type PublicCartReference as a5, type PublicCheckout as a6, type PublicCheckoutItem as a7, type PublicMediaAsset as a8, type PublicMediaSize as a9, type UpdateDiscountCodesParams as aA, type UpdateItemParams as aB, type VariantInput as aC, type Where as aD, RawBaseApi as aE, type ServerApiOptions as aF, ServerCommerceClient as aG, type TenantIntrospectionClient as aH, type SubscribeMembershipParams as aI, type SubscribeMembershipResponse as aJ, type BillingCustodyParams as aK, type BillingCustodyResponse as aL, CustomerGroupApi as aM, ExternalEffectClaimsApi as aN, InstallationCredentialsApi as aO, ExternalCustomerLinksApi as aP, VideoPlaybackClient as aQ, type BanCustomerParams as aR, type CommunityBan as aS, type UnbanCustomerParams as aT, type ClientServerConfig as aU, type RootServerClientWithEvents as aV, type CancelServerPaymentSessionParams as aW, type CaptureExternalCustomerPreviousStateParams as aX, CartApi as aY, type CartApiOptions as aZ, CheckoutApi as a_, type PublicOrder as aa, type PublicOrderAmounts as ab, type PublicOrderItem as ac, type PublicOrderReference as ad, type PublicPaymentSession as ae, type ReconciliationRequired as af, type RemoveItemParams as ag, type RetrieveBrowserPaymentSessionParams as ah, type RetrieveCartParams as ai, type RetrieveCheckoutParams as aj, type RetryConfig as ak, type RootClient as al, type RootCollectionClient as am, type RootReadOnlyQueryBuilder as an, type ShippingLine as ao, type Sort as ap, type SpentCheckoutPaymentState as aq, type StorefrontContentListOptions as ar, type StorefrontContentReference as as, type StorefrontGalleryItem as at, type StorefrontGalleryItemsListOptions as au, type StorefrontGalleryItemsSort as av, type StorefrontLink as aw, type StorefrontLinksListOptions as ax, type StorefrontLinksSort as ay, type UpdateCartAttributesParams as az, ContentClient as b, type ExternalEffectLocator as b$, type CheckoutListItem as b0, type CheckoutQueryParams as b1, type CheckoutQueryResult as b2, type CheckoutStatus as b3, type ClaimExternalEffectParams as b4, type CollectionCustomFieldDefinition as b5, type CollectionCustomFields as b6, type CollectionFieldSchema as b7, type CollectionSchemaResponse as b8, type ConfirmCustomPaymentSessionOptions as b9, type EventGuestRegistrationResponse as bA, type EventMyRegistration as bB, type EventMyRegistrationsParams as bC, type EventMyRegistrationsResponse as bD, type EventRegistrationAnswerInput as bE, type EventRegistrationAttendeeInput as bF, type EventRegistrationPublic as bG, type EventRegistrationRegisterParams as bH, type EventRegistrationRegisterResponse as bI, type EventsCalendarItem as bJ, type EventsClientOptions as bK, type EventsDateParam as bL, type EventsExternalSource as bM, type EventsLocation as bN, type EventsOccurrenceLocation as bO, type EventsRangeEvent as bP, type EventsRangeOccurrence as bQ, type EventsRangeParams as bR, type EventsRangeResponse as bS, type EventsTaxonomyItem as bT, type ExternalCustomerLink as bU, type ExternalCustomerLinkListResponse as bV, type ExternalCustomerPreviousState as bW, type ExternalEffectClaimErrorReason as bX, type ExternalEffectClaimSnapshot as bY, type ExternalEffectClaimState as bZ, type ExternalEffectLeaseParams as b_, type ConfirmCustomPaymentSessionParams as ba, type ConfirmCustomPaymentSessionResponse as bb, type ConfirmTossPaymentSessionParams as bc, type ConnectExternalCustomerLinkParams as bd, type CreateCustomPaymentSessionParams as be, type CreateInstallationCredentialParams as bf, type CreateServerCheckoutParams as bg, type CreateServerCheckoutResult as bh, type CreateServerPaymentSessionParams as bi, type CreateServerPortOnePaymentSessionParams as bj, type CustomPaymentSession as bk, type CustomPaymentSessionProof as bl, type CustomerGroupApiOptions as bm, type CustomerGroupManualSource as bn, type CustomerGroupMember as bo, type CustomerGroupMemberCommandResponse as bp, type CustomerGroupMemberSource as bq, type CustomerGroupMembershipSource as br, type CustomerGroupMembershipState as bs, type DisposeInstallationCredentialParams as bt, type EventAdmissionAvailabilityParams as bu, type EventAdmissionAvailabilityResponse as bv, type EventAdmissionAvailabilityType as bw, type EventAdmissionPricePresentment as bx, type EventGuestCancelParams as by, type EventGuestRegistration as bz, CustomerNamespace as c, type CustomerRegisterData as c$, type FindPortOnePaymentParams as c0, type FindPortOnePaymentResult as c1, type GetExternalCustomerLinkParams as c2, type GetExternalEffectClaimParams as c3, type GrantCustomerGroupMemberParams as c4, type InstallationCredentialIdentity as c5, type InstallationCredentialSnapshot as c6, type ListCustomerGroupMembersParams as c7, type ListCustomerGroupMembersResponse as c8, type ListExternalCustomerLinksParams as c9, TENANT_CONTEXT_PATH as cA, type TenantContextInput as cB, type TenantContextResponse as cC, type TenantCustomFieldType as cD, type TenantFeatureProgressEvidenceValue as cE, type TenantFeatureProgressFeature as cF, type TenantFeatureProgressGroup as cG, type TenantFeatureProgressInput as cH, type TenantFeatureProgressItem as cI, type TenantFeatureProgressItemState as cJ, type TenantFeatureProgressResponse as cK, type TenantFeatureProgressSeverity as cL, type TenantFeatureProgressStatus as cM, type TenantFieldConfigState as cN, TenantIntrospectionApi as cO, type TenantIntrospectionApiOptions as cP, type VariantPricesUpdateInput as cQ, type VariantPricesUpdateParams as cR, type VariantPricesUpdateResponse as cS, getExternalEffectClaimErrorReason as cT, type ApiDeleteOptions as cU, type PublicReadQueryOptions as cV, CustomerAuth as cW, type CustomerProfile as cX, type CustomerAuthResponse as cY, type CustomerLoginData as cZ, type CustomerRegisterResponse as c_, ModerationApi as ca, type MutateExternalCustomerLinkParams as cb, PaymentSessionApi as cc, type PaymentSessionApiOptions as cd, type PortOnePaymentCurrentState as ce, PortOnePaymentReconciliationApi as cf, type PortOnePaymentSelector as cg, type PortOneReconciliationDisposition as ch, type ProductGraphRevisionParams as ci, type ProductGraphRevisionResponse as cj, type ReconcilePortOnePaymentParams as ck, type ReconcilePortOnePaymentResult as cl, type RecordExternalEffectRecoveryParams as cm, type ReplaceInstallationCredentialParams as cn, type ReportExternalEffectParams as co, type RetrieveCustomPaymentSessionParams as cp, type RetrieveServerCheckoutParams as cq, type RetrieveServerPaymentSessionParams as cr, type RetrievedCustomPaymentSession as cs, type RevokeCustomerGroupMemberParams as ct, type RootServerClient as cu, type ServerAddItemParams as cv, type ServerCartMergeParams as cw, type ServerCartMineParams as cx, type ServerCheckout as cy, type ServerUpdateItemParams as cz, type CustomerMembershipView as d, type MediaValue as d$, type CustomerRefreshResponse as d0, type UpdateProfileData as d1, type ProductListingPageParams as d2, type ProductListingPageBaseParams as d3, type ProductDetailParams as d4, type ProductDetailCatalogResult as d5, type ProductListingPageCatalogParams as d6, type ProductListingPageResult as d7, type ProductListingGroupsCatalogItem as d8, type ProductListingPageFullParams as d9, type CommunityPostTag as dA, type CommunityPublicAuthorSnapshot as dB, type CommunityPublicMediaAsset as dC, type CommunityPublicReference as dD, type CompatibilityProductSelectionParamEvent as dE, type CreateFulfillmentParams as dF, type CreateReturnParams as dG, type CustomerAuthOptions as dH, type CustomerAuthorizationUrlInput as dI, type CustomerAuthorizationUrlResult as dJ, CustomerOAuth as dK, type CustomerOAuthCallbackResult as dL, type CustomerOAuthConfig as dM, type CustomerOAuthTokenSet as dN, type CustomerOrderListOptions as dO, type CustomerWithdrawalResult as dP, DiscountApi as dQ, type DiscountApiOptions as dR, type DiscountErrorReasonCode as dS, type FeaturedImagePointerInput as dT, type GetOrderByPaymentIdParams as dU, type LegacyProductSelectionParamEvent as dV, type ListingGroupsParams as dW, MAX_CART_LINE_ADMISSIONS as dX, type ManagedPaymentNextAction as dY, type ManagedPublicPaymentSession as dZ, type MarketDTO as d_, type ProductListingGroupsItem as da, BaseApi as db, type ProductDetail as dc, type ProductDetailCatalog as dd, type StockSnapshotResponse as de, type RootClientWithEvents as df, type BillingCustodyWireRequest as dg, type BulkImportFulfillmentsParams as dh, type BulkImportFulfillmentsResponse as di, type CalculateShippingParams as dj, type CalculateShippingResult as dk, type CancelOrderParams as dl, type CancelOrderResponse as dm, type CancelReasonCode as dn, type CartDiscountCode as dp, type CartWarning as dq, type CartWarningCode as dr, type Comment as ds, type CommerceClientOptions as dt, type CommunityClientOptions as du, type CommunityComment as dv, type CommunityCommentListSort as dw, type CommunityPost as dx, type CommunityPostCategory as dy, type CommunityPostListSort as dz, type CancelMembershipParams as e, type ProductPriceRange as e$, type NormalizedOptionSwatch as e0, type NormalizedProductSelection as e1, OrderApi as e2, type OrderApiOptions as e3, type OrderByPaymentResult as e4, PRODUCT_PLP_FIND_OPTIONS as e5, PRODUCT_UPSERT_READONLY_FIELD_REASON as e6, PRODUCT_UPSERT_UNKNOWN_FIELD_REASON as e7, type PrepareFulfillmentOrderParams as e8, type PrepareFulfillmentOrderResponse as e9, type ProductListingGroupCatalogSummary as eA, type ProductListingGroupCatalogVariant as eB, type ProductListingGroupProjection as eC, type ProductListingGroupSummary as eD, type ProductListingGroupVariant as eE, type ProductListingGroupsCatalogProduct as eF, type ProductListingGroupsCatalogResponse as eG, type ProductListingGroupsProduct as eH, type ProductListingGroupsResponse as eI, type ProductListingPageFilters as eJ, type ProductListingPageSort as eK, type ProductListingProductShape as eL, type ProductListingSwatch as eM, type ProductLocaleOption as eN, type ProductLocaleReadParams as eO, type ProductLocalizedText as eP, type ProductLocalizedValue as eQ, type ProductMediaResolutionSource as eR, type ProductMoneyRange as eS, type ProductOptionMatrix as eT, type ProductOptionMatrixOption as eU, type ProductOptionMatrixValue as eV, type ProductOptionMatrixVariant as eW, type ProductOptionShape as eX, type ProductOptionValueShape as eY, type ProductOptionValueSwatch as eZ, type ProductOptionValueSwatchInput as e_, ProductApi as ea, type ProductApiOptions as eb, type ProductDetailBrand as ec, type ProductDetailCatalogVariant as ed, type ProductDetailCategory as ee, type ProductDetailImage as ef, type ProductDetailImageMedia as eg, type ProductDetailMedia as eh, type ProductDetailOption as ei, type ProductDetailOptionValue as ej, type ProductDetailResult as ek, type ProductDetailTag as el, type ProductDetailUnavailableReason as em, type ProductDetailVariant as en, type ProductDetailVariantOptionValue as eo, type ProductDetailVideo as ep, type ProductDisplayMediaSource as eq, type ProductFallbackLocaleOption as er, type ProductHrefGroup as es, type ProductHrefOptions as et, type ProductHrefProduct as eu, type ProductListingCard as ev, type ProductListingCardOptions as ew, type ProductListingCardPriceRange as ex, type ProductListingCardRepresentativeVariant as ey, type ProductListingGroup as ez, type CancelMembershipResponse as f, parseProductSelection as f$, type ProductSelectionAvailableSwatch as f0, type ProductSelectionAvailableValue as f1, type ProductSelectionByOptionValue as f2, ProductSelectionCodecError as f3, type ProductSelectionCodecOptions as f4, type ProductSelectionInput as f5, type ProductSelectionMediaPointer as f6, type ProductSelectionMediaSource as f7, type ProductSelectionOptionValue as f8, type ProductSelectionResolution as f9, type StockCheckResponse as fA, type StockCheckResult as fB, type StockSnapshotItem as fC, type StockSnapshotParams as fD, type UpdateFulfillmentParams as fE, type UpdateOrderParams as fF, type UpdateReturnParams as fG, type ValidateDiscountParams as fH, type ValidateDiscountResult as fI, type VideoPlaybackResponse as fJ, type WithIdempotencyKey as fK, buildProductHref as fL, buildProductListingCard as fM, buildProductListingGroupProjection as fN, buildProductListingGroupsByOption as fO, buildProductOptionMatrix as fP, buildProductOptionMatrixFromDetail as fQ, createProductSelectionCodec as fR, getAvailableOptionValues as fS, getProductSelectionImages as fT, getSelectedValueByOptionId as fU, getVariantAvailableForSale as fV, getVariantAvailableStock as fW, isProductUpsertFieldValidationErrorBody as fX, normalizeProductSelection as fY, normalizeProductSelectionFromMatrix as fZ, normalizeSelectedValueIds as f_, type ProductSelectionResolutionContext as fa, type ProductSelectionUrlEmit as fb, type ProductSelectionVariant$1 as fc, type ProductUpsertFieldValidationErrorBody as fd, type ProductUpsertFieldValidationErrorReason as fe, type ProductVariantShape as ff, type PublicCheckoutBase as fg, type RequestOptions as fh, type ResolveCancelRefundFailedResponse as fi, type ResolveCancelRefundOutcome as fj, type ResolveCancelRefundParams as fk, type ResolveCancelRefundResponse as fl, type ResolveCancelRefundSucceededResponse as fm, type ResolveProductDisplayMediaInput as fn, type ResolveProductDisplayMediaResult as fo, type ResolveProductSelectionMediaInput as fp, type ResolveProductSelectionMediaResult as fq, type ResolvedCatalogPrice as fr, type ReturnCancellationReasonCode as fs, type ReturnItem as ft, type ReturnReason as fu, type ReturnWithRefundItem as fv, type ReturnWithRefundParams as fw, ShippingApi as fx, type ShippingApiOptions as fy, type StockCheckParams as fz, type ClientState as g, projectProductToListingShape as g0, resolveFeaturedImagePointer as g1, resolveProductDisplayMedia as g2, resolveProductSelection as g3, resolveProductSelectionFromMatrix as g4, resolveProductSelectionMedia as g5, resolveVariantForSelection as g6, selectNext as g7, selectedSwatchMediaItemId as g8, stringifyProductSelection as g9, toShopifyPriceRangeV2 as ga, type ClientConfig as h, type ApiQueryOptions as i, type CancelBrowserPaymentSessionParams as j, type CartMergeParams as k, type CartMergeResult as l, type CartMineResult as m, type CartMutationResult as n, type CheckoutAbandonedReason as o, type CheckoutAmounts as p, type CheckoutOrderReference as q, type CheckoutPaymentSessionRef as r, type CheckoutShippingAddress as s, type ClearCartParams as t, type ClientMetadata as u, type ContentClientOptions as v, type CreateCartParams as w, type CreateCartResult as x, type CreateCheckoutParams as y, type CreateCheckoutResult as z };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { P as PublicCollection, C as Collection, S as ServerCollection } from './const-
|
|
2
|
-
import { C as CollectionType, a as PublicProduct, P as PublicMarket } from './types-
|
|
3
|
-
import { O as Order, k as Transaction, l as Fulfillment, R as Return } from './payload-types-
|
|
1
|
+
import { P as PublicCollection, C as Collection, S as ServerCollection } from './const-BU79hCFB.js';
|
|
2
|
+
import { C as CollectionType, a as PublicProduct, P as PublicMarket } from './types-BusejG-v.js';
|
|
3
|
+
import { O as Order, k as Transaction, l as Fulfillment, R as Return } from './payload-types-jdsUXunB.js';
|
|
4
4
|
import { SDKError } from './errors.js';
|
|
5
5
|
|
|
6
6
|
declare const operationBrand: unique symbol;
|
|
@@ -2206,8 +2206,35 @@ type ProductUpsertResponse = {
|
|
|
2206
2206
|
failedIndex?: number;
|
|
2207
2207
|
message: string;
|
|
2208
2208
|
};
|
|
2209
|
+
type ProductGraphRevisionParams = {
|
|
2210
|
+
productId: string;
|
|
2211
|
+
locale?: 'ko' | 'en';
|
|
2212
|
+
};
|
|
2213
|
+
type ProductGraphRevisionResponse = {
|
|
2214
|
+
productId: string;
|
|
2215
|
+
graphRevision: string;
|
|
2216
|
+
};
|
|
2217
|
+
type VariantPricesUpdateInput = {
|
|
2218
|
+
graphRevision: string;
|
|
2219
|
+
updates: Array<{
|
|
2220
|
+
id: string;
|
|
2221
|
+
price: number;
|
|
2222
|
+
}>;
|
|
2223
|
+
};
|
|
2224
|
+
type VariantPricesUpdateParams = ProductGraphRevisionParams & VariantPricesUpdateInput;
|
|
2225
|
+
type VariantPricesUpdateResponse = {
|
|
2226
|
+
ok: true;
|
|
2227
|
+
productId: string;
|
|
2228
|
+
updated: number;
|
|
2229
|
+
deleted: number;
|
|
2230
|
+
productProjectionStale: boolean;
|
|
2231
|
+
};
|
|
2209
2232
|
declare class ProductApi extends BaseApi {
|
|
2210
2233
|
constructor(options: ProductApiOptions);
|
|
2234
|
+
/** Read a baseline before reviewing values in the same content locale. */
|
|
2235
|
+
graphRevision(params: ProductGraphRevisionParams): Promise<ProductGraphRevisionResponse>;
|
|
2236
|
+
/** Update existing base prices only; conflicts never trigger a rebase or full upsert. */
|
|
2237
|
+
updateVariantPrices(params: VariantPricesUpdateParams): Promise<VariantPricesUpdateResponse>;
|
|
2211
2238
|
/**
|
|
2212
2239
|
* Check point-in-time stock availability for one or more product variants.
|
|
2213
2240
|
* Results reflect available stock at the moment of the call and are not guaranteed
|
|
@@ -3010,6 +3037,8 @@ declare class ServerCommerceClient {
|
|
|
3010
3037
|
detailCatalog: (params: ProductDetailParams) => Promise<ProductDetailCatalogResult>;
|
|
3011
3038
|
previewDetail: (params: ProductDetailPreviewParams, options: ProductDetailPreviewOptions) => Promise<ProductDetail | null>;
|
|
3012
3039
|
upsert: (params: ProductUpsertParams) => Promise<ProductUpsertResponse>;
|
|
3040
|
+
graphRevision: (params: ProductGraphRevisionParams) => Promise<ProductGraphRevisionResponse>;
|
|
3041
|
+
updateVariantPrices: (params: VariantPricesUpdateParams) => Promise<VariantPricesUpdateResponse>;
|
|
3013
3042
|
};
|
|
3014
3043
|
readonly carts: {
|
|
3015
3044
|
create: (params?: CreateCartParams) => Promise<CreateCartResult>;
|
|
@@ -3255,6 +3284,39 @@ interface EventRegistrationRegisterResponse {
|
|
|
3255
3284
|
interface EventGuestRegistrationResponse {
|
|
3256
3285
|
registration: EventGuestRegistration;
|
|
3257
3286
|
}
|
|
3287
|
+
interface EventMyRegistrationsParams {
|
|
3288
|
+
page?: number;
|
|
3289
|
+
limit?: number;
|
|
3290
|
+
}
|
|
3291
|
+
interface EventMyRegistration {
|
|
3292
|
+
id: string;
|
|
3293
|
+
event: {
|
|
3294
|
+
id: string | null;
|
|
3295
|
+
title: string | null;
|
|
3296
|
+
};
|
|
3297
|
+
occurrence: {
|
|
3298
|
+
id: string | null;
|
|
3299
|
+
startsAt: string | null;
|
|
3300
|
+
endsAt: string | null;
|
|
3301
|
+
timezone: string | null;
|
|
3302
|
+
isAllDay: boolean | null;
|
|
3303
|
+
allDayStartDate: string | null;
|
|
3304
|
+
allDayEndDateExclusive: string | null;
|
|
3305
|
+
};
|
|
3306
|
+
registrationStatus: string | null;
|
|
3307
|
+
attendanceStatus: string | null;
|
|
3308
|
+
quantity: number | null;
|
|
3309
|
+
createdAt: string | null;
|
|
3310
|
+
}
|
|
3311
|
+
interface EventMyRegistrationsResponse {
|
|
3312
|
+
docs: EventMyRegistration[];
|
|
3313
|
+
totalDocs: number;
|
|
3314
|
+
limit: number;
|
|
3315
|
+
page: number;
|
|
3316
|
+
totalPages: number;
|
|
3317
|
+
hasNextPage: boolean;
|
|
3318
|
+
hasPrevPage: boolean;
|
|
3319
|
+
}
|
|
3258
3320
|
interface EventGuestCancelParams {
|
|
3259
3321
|
reason?: string;
|
|
3260
3322
|
}
|
|
@@ -3267,6 +3329,7 @@ declare class EventsClient {
|
|
|
3267
3329
|
constructor(options: EventsClientOptions);
|
|
3268
3330
|
getRange(params: EventsRangeParams): Promise<EventsRangeResponse>;
|
|
3269
3331
|
getAdmissionAvailability(params: EventAdmissionAvailabilityParams): Promise<EventAdmissionAvailabilityResponse>;
|
|
3332
|
+
listMyRegistrations(params?: EventMyRegistrationsParams): Promise<EventMyRegistrationsResponse>;
|
|
3270
3333
|
register(params: EventRegistrationRegisterParams): Promise<EventRegistrationRegisterResponse>;
|
|
3271
3334
|
getGuestRegistration(token: string): Promise<EventGuestRegistrationResponse>;
|
|
3272
3335
|
cancelGuestRegistration(token: string, params?: EventGuestCancelParams): Promise<EventGuestRegistrationResponse>;
|
|
@@ -4016,6 +4079,8 @@ interface RootClient {
|
|
|
4016
4079
|
getState(): ClientState;
|
|
4017
4080
|
getConfig(): ClientConfig;
|
|
4018
4081
|
}
|
|
4082
|
+
/** Publishable-key event helpers usable without a customer session. */
|
|
4083
|
+
type ServerEventsClient = Pick<EventsClient, 'getRange' | 'getAdmissionAvailability' | 'register' | 'getGuestRegistration' | 'cancelGuestRegistration'>;
|
|
4019
4084
|
interface RootServerClient {
|
|
4020
4085
|
commerce: ServerCommerceClient;
|
|
4021
4086
|
tenant: TenantIntrospectionClient;
|
|
@@ -4029,7 +4094,7 @@ interface RootServerClient {
|
|
|
4029
4094
|
installationCredentials: InstallationCredentialsApi;
|
|
4030
4095
|
externalCustomerLinks: ExternalCustomerLinksApi;
|
|
4031
4096
|
/** Set on {@link createServerClient} return values; optional for structural mocks. */
|
|
4032
|
-
events?:
|
|
4097
|
+
events?: ServerEventsClient;
|
|
4033
4098
|
/** Quota-aware VOD admission. */
|
|
4034
4099
|
video?: VideoPlaybackClient;
|
|
4035
4100
|
community: CommunityClient & {
|
|
@@ -4051,11 +4116,11 @@ type RootClientWithEvents = RootClient & {
|
|
|
4051
4116
|
events: EventsClient;
|
|
4052
4117
|
};
|
|
4053
4118
|
type RootServerClientWithEvents = RootServerClient & {
|
|
4054
|
-
events:
|
|
4119
|
+
events: ServerEventsClient;
|
|
4055
4120
|
};
|
|
4056
4121
|
type DeepPartial<T> = {
|
|
4057
4122
|
[P in keyof T]?: T[P] extends object ? DeepPartial<T[P]> : T[P];
|
|
4058
4123
|
};
|
|
4059
4124
|
type ExtractArrayType<T> = T extends (infer U)[] ? U : never;
|
|
4060
4125
|
|
|
4061
|
-
export { type PublicAttribute as $, type AddItemParams as A, type CreatePaymentSessionParams as B, CommerceClient as C, type CreatePortOnePaymentSessionParams as D, EventsClient as E, type CustomerSnapshot as F, type DebugConfig as G, type DeepPartial as H, type ExtractArrayType as I, type MembershipStatus as J, type Money as K, type PayloadMutationResponse as L, MarketDiscovery as M, type PaymentFailureReason as N, type OpenCheckoutPaymentState as O, type PayloadFindResponse as P, type PaymentNextAction as Q, type PaymentProviderStatus as R, type PaymentReconciliationReason as S, type PaymentSessionRole as T, type PortOneHostedPaymentMethod as U, type PortOnePaymentNextAction as V, type PortOnePublicPaymentSession as W, type ProductUpsertInput as X, type ProductUpsertParams as Y, type ProductUpsertResponse as Z, type ProductUpsertVariantInput as _, CommunityClient as a, type CheckoutApiOptions as a$, type PublicCaptureEvidence as a0, type PublicCart as a1, type PublicCartItem as a2, type PublicCartItemAdmission as a3, type PublicCartMarket as a4, type PublicCartReference as a5, type PublicCheckout as a6, type PublicCheckoutItem as a7, type PublicMediaAsset as a8, type PublicMediaSize as a9, type UpdateDiscountCodesParams as aA, type UpdateItemParams as aB, type VariantInput as aC, type Where as aD, RawBaseApi as aE, type ServerApiOptions as aF, ServerCommerceClient as aG, type TenantIntrospectionClient as aH, type SubscribeMembershipParams as aI, type SubscribeMembershipResponse as aJ, type BillingCustodyParams as aK, type BillingCustodyResponse as aL, CustomerGroupApi as aM, ExternalEffectClaimsApi as aN, InstallationCredentialsApi as aO, ExternalCustomerLinksApi as aP, VideoPlaybackClient as aQ, type BanCustomerParams as aR, type CommunityBan as aS, type UnbanCustomerParams as aT, type ClientServerConfig as aU, type RootServerClientWithEvents as aV, type CancelServerPaymentSessionParams as aW, type CaptureExternalCustomerPreviousStateParams as aX, CartApi as aY, type CartApiOptions as aZ, CheckoutApi as a_, type PublicOrder as aa, type PublicOrderAmounts as ab, type PublicOrderItem as ac, type PublicOrderReference as ad, type PublicPaymentSession as ae, type ReconciliationRequired as af, type RemoveItemParams as ag, type RetrieveBrowserPaymentSessionParams as ah, type RetrieveCartParams as ai, type RetrieveCheckoutParams as aj, type RetryConfig as ak, type RootClient as al, type RootCollectionClient as am, type RootReadOnlyQueryBuilder as an, type ShippingLine as ao, type Sort as ap, type SpentCheckoutPaymentState as aq, type StorefrontContentListOptions as ar, type StorefrontContentReference as as, type StorefrontGalleryItem as at, type StorefrontGalleryItemsListOptions as au, type StorefrontGalleryItemsSort as av, type StorefrontLink as aw, type StorefrontLinksListOptions as ax, type StorefrontLinksSort as ay, type UpdateCartAttributesParams as az, ContentClient as b, type GetExternalCustomerLinkParams as b$, type CheckoutListItem as b0, type CheckoutQueryParams as b1, type CheckoutQueryResult as b2, type CheckoutStatus as b3, type ClaimExternalEffectParams as b4, type CollectionCustomFieldDefinition as b5, type CollectionCustomFields as b6, type CollectionFieldSchema as b7, type CollectionSchemaResponse as b8, type ConfirmCustomPaymentSessionOptions as b9, type EventGuestRegistrationResponse as bA, type EventRegistrationAnswerInput as bB, type EventRegistrationAttendeeInput as bC, type EventRegistrationPublic as bD, type EventRegistrationRegisterParams as bE, type EventRegistrationRegisterResponse as bF, type EventsCalendarItem as bG, type EventsClientOptions as bH, type EventsDateParam as bI, type EventsExternalSource as bJ, type EventsLocation as bK, type EventsOccurrenceLocation as bL, type EventsRangeEvent as bM, type EventsRangeOccurrence as bN, type EventsRangeParams as bO, type EventsRangeResponse as bP, type EventsTaxonomyItem as bQ, type ExternalCustomerLink as bR, type ExternalCustomerLinkListResponse as bS, type ExternalCustomerPreviousState as bT, type ExternalEffectClaimErrorReason as bU, type ExternalEffectClaimSnapshot as bV, type ExternalEffectClaimState as bW, type ExternalEffectLeaseParams as bX, type ExternalEffectLocator as bY, type FindPortOnePaymentParams as bZ, type FindPortOnePaymentResult as b_, type ConfirmCustomPaymentSessionParams as ba, type ConfirmCustomPaymentSessionResponse as bb, type ConfirmTossPaymentSessionParams as bc, type ConnectExternalCustomerLinkParams as bd, type CreateCustomPaymentSessionParams as be, type CreateInstallationCredentialParams as bf, type CreateServerCheckoutParams as bg, type CreateServerCheckoutResult as bh, type CreateServerPaymentSessionParams as bi, type CreateServerPortOnePaymentSessionParams as bj, type CustomPaymentSession as bk, type CustomPaymentSessionProof as bl, type CustomerGroupApiOptions as bm, type CustomerGroupManualSource as bn, type CustomerGroupMember as bo, type CustomerGroupMemberCommandResponse as bp, type CustomerGroupMemberSource as bq, type CustomerGroupMembershipSource as br, type CustomerGroupMembershipState as bs, type DisposeInstallationCredentialParams as bt, type EventAdmissionAvailabilityParams as bu, type EventAdmissionAvailabilityResponse as bv, type EventAdmissionAvailabilityType as bw, type EventAdmissionPricePresentment as bx, type EventGuestCancelParams as by, type EventGuestRegistration as bz, CustomerNamespace as c, type ProductListingPageResult as c$, type GetExternalEffectClaimParams as c0, type GrantCustomerGroupMemberParams as c1, type InstallationCredentialIdentity as c2, type InstallationCredentialSnapshot as c3, type ListCustomerGroupMembersParams as c4, type ListCustomerGroupMembersResponse as c5, type ListExternalCustomerLinksParams as c6, ModerationApi as c7, type MutateExternalCustomerLinkParams as c8, PaymentSessionApi as c9, type TenantFeatureProgressFeature as cA, type TenantFeatureProgressGroup as cB, type TenantFeatureProgressInput as cC, type TenantFeatureProgressItem as cD, type TenantFeatureProgressItemState as cE, type TenantFeatureProgressResponse as cF, type TenantFeatureProgressSeverity as cG, type TenantFeatureProgressStatus as cH, type TenantFieldConfigState as cI, TenantIntrospectionApi as cJ, type TenantIntrospectionApiOptions as cK, getExternalEffectClaimErrorReason as cL, type ApiDeleteOptions as cM, type PublicReadQueryOptions as cN, CustomerAuth as cO, type CustomerProfile as cP, type CustomerAuthResponse as cQ, type CustomerLoginData as cR, type CustomerRegisterResponse as cS, type CustomerRegisterData as cT, type CustomerRefreshResponse as cU, type UpdateProfileData as cV, type ProductListingPageParams as cW, type ProductListingPageBaseParams as cX, type ProductDetailParams as cY, type ProductDetailCatalogResult as cZ, type ProductListingPageCatalogParams as c_, type PaymentSessionApiOptions as ca, type PortOnePaymentCurrentState as cb, PortOnePaymentReconciliationApi as cc, type PortOnePaymentSelector as cd, type PortOneReconciliationDisposition as ce, type ReconcilePortOnePaymentParams as cf, type ReconcilePortOnePaymentResult as cg, type RecordExternalEffectRecoveryParams as ch, type ReplaceInstallationCredentialParams as ci, type ReportExternalEffectParams as cj, type RetrieveCustomPaymentSessionParams as ck, type RetrieveServerCheckoutParams as cl, type RetrieveServerPaymentSessionParams as cm, type RetrievedCustomPaymentSession as cn, type RevokeCustomerGroupMemberParams as co, type RootServerClient as cp, type ServerAddItemParams as cq, type ServerCartMergeParams as cr, type ServerCartMineParams as cs, type ServerCheckout as ct, type ServerUpdateItemParams as cu, TENANT_CONTEXT_PATH as cv, type TenantContextInput as cw, type TenantContextResponse as cx, type TenantCustomFieldType as cy, type TenantFeatureProgressEvidenceValue as cz, type CustomerMembershipView as d, PRODUCT_UPSERT_UNKNOWN_FIELD_REASON as d$, type ProductListingGroupsCatalogItem as d0, type ProductListingPageFullParams as d1, type ProductListingGroupsItem as d2, BaseApi as d3, type ProductDetail as d4, type ProductDetailCatalog as d5, type StockSnapshotResponse as d6, type RootClientWithEvents as d7, type BillingCustodyWireRequest as d8, type BulkImportFulfillmentsParams as d9, type CustomerAuthorizationUrlInput as dA, type CustomerAuthorizationUrlResult as dB, CustomerOAuth as dC, type CustomerOAuthCallbackResult as dD, type CustomerOAuthConfig as dE, type CustomerOAuthTokenSet as dF, type CustomerOrderListOptions as dG, type CustomerWithdrawalResult as dH, DiscountApi as dI, type DiscountApiOptions as dJ, type DiscountErrorReasonCode as dK, type FeaturedImagePointerInput as dL, type GetOrderByPaymentIdParams as dM, type LegacyProductSelectionParamEvent as dN, type ListingGroupsParams as dO, MAX_CART_LINE_ADMISSIONS as dP, type ManagedPaymentNextAction as dQ, type ManagedPublicPaymentSession as dR, type MarketDTO as dS, type MediaValue as dT, type NormalizedOptionSwatch as dU, type NormalizedProductSelection as dV, OrderApi as dW, type OrderApiOptions as dX, type OrderByPaymentResult as dY, PRODUCT_PLP_FIND_OPTIONS as dZ, PRODUCT_UPSERT_READONLY_FIELD_REASON as d_, type BulkImportFulfillmentsResponse as da, type CalculateShippingParams as db, type CalculateShippingResult as dc, type CancelOrderParams as dd, type CancelOrderResponse as de, type CancelReasonCode as df, type CartDiscountCode as dg, type CartWarning as dh, type CartWarningCode as di, type Comment as dj, type CommerceClientOptions as dk, type CommunityClientOptions as dl, type CommunityComment as dm, type CommunityCommentListSort as dn, type CommunityPost as dp, type CommunityPostCategory as dq, type CommunityPostListSort as dr, type CommunityPostTag as ds, type CommunityPublicAuthorSnapshot as dt, type CommunityPublicMediaAsset as du, type CommunityPublicReference as dv, type CompatibilityProductSelectionParamEvent as dw, type CreateFulfillmentParams as dx, type CreateReturnParams as dy, type CustomerAuthOptions as dz, type CancelMembershipParams as e, type ProductSelectionMediaSource as e$, type PrepareFulfillmentOrderParams as e0, type PrepareFulfillmentOrderResponse as e1, ProductApi as e2, type ProductApiOptions as e3, type ProductDetailBrand as e4, type ProductDetailCatalogVariant as e5, type ProductDetailCategory as e6, type ProductDetailImage as e7, type ProductDetailImageMedia as e8, type ProductDetailMedia as e9, type ProductListingGroupsResponse as eA, type ProductListingPageFilters as eB, type ProductListingPageSort as eC, type ProductListingProductShape as eD, type ProductListingSwatch as eE, type ProductLocaleOption as eF, type ProductLocaleReadParams as eG, type ProductLocalizedText as eH, type ProductLocalizedValue as eI, type ProductMediaResolutionSource as eJ, type ProductMoneyRange as eK, type ProductOptionMatrix as eL, type ProductOptionMatrixOption as eM, type ProductOptionMatrixValue as eN, type ProductOptionMatrixVariant as eO, type ProductOptionShape as eP, type ProductOptionValueShape as eQ, type ProductOptionValueSwatch as eR, type ProductOptionValueSwatchInput as eS, type ProductPriceRange as eT, type ProductSelectionAvailableSwatch as eU, type ProductSelectionAvailableValue as eV, type ProductSelectionByOptionValue as eW, ProductSelectionCodecError as eX, type ProductSelectionCodecOptions as eY, type ProductSelectionInput as eZ, type ProductSelectionMediaPointer as e_, type ProductDetailOption as ea, type ProductDetailOptionValue as eb, type ProductDetailResult as ec, type ProductDetailTag as ed, type ProductDetailUnavailableReason as ee, type ProductDetailVariant as ef, type ProductDetailVariantOptionValue as eg, type ProductDetailVideo as eh, type ProductDisplayMediaSource as ei, type ProductFallbackLocaleOption as ej, type ProductHrefGroup as ek, type ProductHrefOptions as el, type ProductHrefProduct as em, type ProductListingCard as en, type ProductListingCardOptions as eo, type ProductListingCardPriceRange as ep, type ProductListingCardRepresentativeVariant as eq, type ProductListingGroup as er, type ProductListingGroupCatalogSummary as es, type ProductListingGroupCatalogVariant as et, type ProductListingGroupProjection as eu, type ProductListingGroupSummary as ev, type ProductListingGroupVariant as ew, type ProductListingGroupsCatalogProduct as ex, type ProductListingGroupsCatalogResponse as ey, type ProductListingGroupsProduct as ez, type CancelMembershipResponse as f, selectNext as f$, type ProductSelectionOptionValue as f0, type ProductSelectionResolution as f1, type ProductSelectionResolutionContext as f2, type ProductSelectionUrlEmit as f3, type ProductSelectionVariant$1 as f4, type ProductUpsertFieldValidationErrorBody as f5, type ProductUpsertFieldValidationErrorReason as f6, type ProductVariantShape as f7, type PublicCheckoutBase as f8, type RequestOptions as f9, type ValidateDiscountResult as fA, type VideoPlaybackResponse as fB, type WithIdempotencyKey as fC, buildProductHref as fD, buildProductListingCard as fE, buildProductListingGroupProjection as fF, buildProductListingGroupsByOption as fG, buildProductOptionMatrix as fH, buildProductOptionMatrixFromDetail as fI, createProductSelectionCodec as fJ, getAvailableOptionValues as fK, getProductSelectionImages as fL, getSelectedValueByOptionId as fM, getVariantAvailableForSale as fN, getVariantAvailableStock as fO, isProductUpsertFieldValidationErrorBody as fP, normalizeProductSelection as fQ, normalizeProductSelectionFromMatrix as fR, normalizeSelectedValueIds as fS, parseProductSelection as fT, projectProductToListingShape as fU, resolveFeaturedImagePointer as fV, resolveProductDisplayMedia as fW, resolveProductSelection as fX, resolveProductSelectionFromMatrix as fY, resolveProductSelectionMedia as fZ, resolveVariantForSelection as f_, type ResolveCancelRefundFailedResponse as fa, type ResolveCancelRefundOutcome as fb, type ResolveCancelRefundParams as fc, type ResolveCancelRefundResponse as fd, type ResolveCancelRefundSucceededResponse as fe, type ResolveProductDisplayMediaInput as ff, type ResolveProductDisplayMediaResult as fg, type ResolveProductSelectionMediaInput as fh, type ResolveProductSelectionMediaResult as fi, type ResolvedCatalogPrice as fj, type ReturnCancellationReasonCode as fk, type ReturnItem as fl, type ReturnReason as fm, type ReturnWithRefundItem as fn, type ReturnWithRefundParams as fo, ShippingApi as fp, type ShippingApiOptions as fq, type StockCheckParams as fr, type StockCheckResponse as fs, type StockCheckResult as ft, type StockSnapshotItem as fu, type StockSnapshotParams as fv, type UpdateFulfillmentParams as fw, type UpdateOrderParams as fx, type UpdateReturnParams as fy, type ValidateDiscountParams as fz, type ClientState as g, selectedSwatchMediaItemId as g0, stringifyProductSelection as g1, toShopifyPriceRangeV2 as g2, type ClientConfig as h, type ApiQueryOptions as i, type CancelBrowserPaymentSessionParams as j, type CartMergeParams as k, type CartMergeResult as l, type CartMineResult as m, type CartMutationResult as n, type CheckoutAbandonedReason as o, type CheckoutAmounts as p, type CheckoutOrderReference as q, type CheckoutPaymentSessionRef as r, type CheckoutShippingAddress as s, type ClearCartParams as t, type ClientMetadata as u, type ContentClientOptions as v, type CreateCartParams as w, type CreateCartResult as x, type CreateCheckoutParams as y, type CreateCheckoutResult as z };
|
|
4126
|
+
export { type PublicAttribute as $, type AddItemParams as A, type CreatePaymentSessionParams as B, CommerceClient as C, type CreatePortOnePaymentSessionParams as D, EventsClient as E, type CustomerSnapshot as F, type DebugConfig as G, type DeepPartial as H, type ExtractArrayType as I, type MembershipStatus as J, type Money as K, type PayloadMutationResponse as L, MarketDiscovery as M, type PaymentFailureReason as N, type OpenCheckoutPaymentState as O, type PayloadFindResponse as P, type PaymentNextAction as Q, type PaymentProviderStatus as R, type PaymentReconciliationReason as S, type PaymentSessionRole as T, type PortOneHostedPaymentMethod as U, type PortOnePaymentNextAction as V, type PortOnePublicPaymentSession as W, type ProductUpsertInput as X, type ProductUpsertParams as Y, type ProductUpsertResponse as Z, type ProductUpsertVariantInput as _, CommunityClient as a, type CheckoutApiOptions as a$, type PublicCaptureEvidence as a0, type PublicCart as a1, type PublicCartItem as a2, type PublicCartItemAdmission as a3, type PublicCartMarket as a4, type PublicCartReference as a5, type PublicCheckout as a6, type PublicCheckoutItem as a7, type PublicMediaAsset as a8, type PublicMediaSize as a9, type UpdateDiscountCodesParams as aA, type UpdateItemParams as aB, type VariantInput as aC, type Where as aD, RawBaseApi as aE, type ServerApiOptions as aF, ServerCommerceClient as aG, type TenantIntrospectionClient as aH, type SubscribeMembershipParams as aI, type SubscribeMembershipResponse as aJ, type BillingCustodyParams as aK, type BillingCustodyResponse as aL, CustomerGroupApi as aM, ExternalEffectClaimsApi as aN, InstallationCredentialsApi as aO, ExternalCustomerLinksApi as aP, VideoPlaybackClient as aQ, type BanCustomerParams as aR, type CommunityBan as aS, type UnbanCustomerParams as aT, type ClientServerConfig as aU, type RootServerClientWithEvents as aV, type CancelServerPaymentSessionParams as aW, type CaptureExternalCustomerPreviousStateParams as aX, CartApi as aY, type CartApiOptions as aZ, CheckoutApi as a_, type PublicOrder as aa, type PublicOrderAmounts as ab, type PublicOrderItem as ac, type PublicOrderReference as ad, type PublicPaymentSession as ae, type ReconciliationRequired as af, type RemoveItemParams as ag, type RetrieveBrowserPaymentSessionParams as ah, type RetrieveCartParams as ai, type RetrieveCheckoutParams as aj, type RetryConfig as ak, type RootClient as al, type RootCollectionClient as am, type RootReadOnlyQueryBuilder as an, type ShippingLine as ao, type Sort as ap, type SpentCheckoutPaymentState as aq, type StorefrontContentListOptions as ar, type StorefrontContentReference as as, type StorefrontGalleryItem as at, type StorefrontGalleryItemsListOptions as au, type StorefrontGalleryItemsSort as av, type StorefrontLink as aw, type StorefrontLinksListOptions as ax, type StorefrontLinksSort as ay, type UpdateCartAttributesParams as az, ContentClient as b, type ExternalEffectLocator as b$, type CheckoutListItem as b0, type CheckoutQueryParams as b1, type CheckoutQueryResult as b2, type CheckoutStatus as b3, type ClaimExternalEffectParams as b4, type CollectionCustomFieldDefinition as b5, type CollectionCustomFields as b6, type CollectionFieldSchema as b7, type CollectionSchemaResponse as b8, type ConfirmCustomPaymentSessionOptions as b9, type EventGuestRegistrationResponse as bA, type EventMyRegistration as bB, type EventMyRegistrationsParams as bC, type EventMyRegistrationsResponse as bD, type EventRegistrationAnswerInput as bE, type EventRegistrationAttendeeInput as bF, type EventRegistrationPublic as bG, type EventRegistrationRegisterParams as bH, type EventRegistrationRegisterResponse as bI, type EventsCalendarItem as bJ, type EventsClientOptions as bK, type EventsDateParam as bL, type EventsExternalSource as bM, type EventsLocation as bN, type EventsOccurrenceLocation as bO, type EventsRangeEvent as bP, type EventsRangeOccurrence as bQ, type EventsRangeParams as bR, type EventsRangeResponse as bS, type EventsTaxonomyItem as bT, type ExternalCustomerLink as bU, type ExternalCustomerLinkListResponse as bV, type ExternalCustomerPreviousState as bW, type ExternalEffectClaimErrorReason as bX, type ExternalEffectClaimSnapshot as bY, type ExternalEffectClaimState as bZ, type ExternalEffectLeaseParams as b_, type ConfirmCustomPaymentSessionParams as ba, type ConfirmCustomPaymentSessionResponse as bb, type ConfirmTossPaymentSessionParams as bc, type ConnectExternalCustomerLinkParams as bd, type CreateCustomPaymentSessionParams as be, type CreateInstallationCredentialParams as bf, type CreateServerCheckoutParams as bg, type CreateServerCheckoutResult as bh, type CreateServerPaymentSessionParams as bi, type CreateServerPortOnePaymentSessionParams as bj, type CustomPaymentSession as bk, type CustomPaymentSessionProof as bl, type CustomerGroupApiOptions as bm, type CustomerGroupManualSource as bn, type CustomerGroupMember as bo, type CustomerGroupMemberCommandResponse as bp, type CustomerGroupMemberSource as bq, type CustomerGroupMembershipSource as br, type CustomerGroupMembershipState as bs, type DisposeInstallationCredentialParams as bt, type EventAdmissionAvailabilityParams as bu, type EventAdmissionAvailabilityResponse as bv, type EventAdmissionAvailabilityType as bw, type EventAdmissionPricePresentment as bx, type EventGuestCancelParams as by, type EventGuestRegistration as bz, CustomerNamespace as c, type CustomerRegisterData as c$, type FindPortOnePaymentParams as c0, type FindPortOnePaymentResult as c1, type GetExternalCustomerLinkParams as c2, type GetExternalEffectClaimParams as c3, type GrantCustomerGroupMemberParams as c4, type InstallationCredentialIdentity as c5, type InstallationCredentialSnapshot as c6, type ListCustomerGroupMembersParams as c7, type ListCustomerGroupMembersResponse as c8, type ListExternalCustomerLinksParams as c9, TENANT_CONTEXT_PATH as cA, type TenantContextInput as cB, type TenantContextResponse as cC, type TenantCustomFieldType as cD, type TenantFeatureProgressEvidenceValue as cE, type TenantFeatureProgressFeature as cF, type TenantFeatureProgressGroup as cG, type TenantFeatureProgressInput as cH, type TenantFeatureProgressItem as cI, type TenantFeatureProgressItemState as cJ, type TenantFeatureProgressResponse as cK, type TenantFeatureProgressSeverity as cL, type TenantFeatureProgressStatus as cM, type TenantFieldConfigState as cN, TenantIntrospectionApi as cO, type TenantIntrospectionApiOptions as cP, type VariantPricesUpdateInput as cQ, type VariantPricesUpdateParams as cR, type VariantPricesUpdateResponse as cS, getExternalEffectClaimErrorReason as cT, type ApiDeleteOptions as cU, type PublicReadQueryOptions as cV, CustomerAuth as cW, type CustomerProfile as cX, type CustomerAuthResponse as cY, type CustomerLoginData as cZ, type CustomerRegisterResponse as c_, ModerationApi as ca, type MutateExternalCustomerLinkParams as cb, PaymentSessionApi as cc, type PaymentSessionApiOptions as cd, type PortOnePaymentCurrentState as ce, PortOnePaymentReconciliationApi as cf, type PortOnePaymentSelector as cg, type PortOneReconciliationDisposition as ch, type ProductGraphRevisionParams as ci, type ProductGraphRevisionResponse as cj, type ReconcilePortOnePaymentParams as ck, type ReconcilePortOnePaymentResult as cl, type RecordExternalEffectRecoveryParams as cm, type ReplaceInstallationCredentialParams as cn, type ReportExternalEffectParams as co, type RetrieveCustomPaymentSessionParams as cp, type RetrieveServerCheckoutParams as cq, type RetrieveServerPaymentSessionParams as cr, type RetrievedCustomPaymentSession as cs, type RevokeCustomerGroupMemberParams as ct, type RootServerClient as cu, type ServerAddItemParams as cv, type ServerCartMergeParams as cw, type ServerCartMineParams as cx, type ServerCheckout as cy, type ServerUpdateItemParams as cz, type CustomerMembershipView as d, type MediaValue as d$, type CustomerRefreshResponse as d0, type UpdateProfileData as d1, type ProductListingPageParams as d2, type ProductListingPageBaseParams as d3, type ProductDetailParams as d4, type ProductDetailCatalogResult as d5, type ProductListingPageCatalogParams as d6, type ProductListingPageResult as d7, type ProductListingGroupsCatalogItem as d8, type ProductListingPageFullParams as d9, type CommunityPostTag as dA, type CommunityPublicAuthorSnapshot as dB, type CommunityPublicMediaAsset as dC, type CommunityPublicReference as dD, type CompatibilityProductSelectionParamEvent as dE, type CreateFulfillmentParams as dF, type CreateReturnParams as dG, type CustomerAuthOptions as dH, type CustomerAuthorizationUrlInput as dI, type CustomerAuthorizationUrlResult as dJ, CustomerOAuth as dK, type CustomerOAuthCallbackResult as dL, type CustomerOAuthConfig as dM, type CustomerOAuthTokenSet as dN, type CustomerOrderListOptions as dO, type CustomerWithdrawalResult as dP, DiscountApi as dQ, type DiscountApiOptions as dR, type DiscountErrorReasonCode as dS, type FeaturedImagePointerInput as dT, type GetOrderByPaymentIdParams as dU, type LegacyProductSelectionParamEvent as dV, type ListingGroupsParams as dW, MAX_CART_LINE_ADMISSIONS as dX, type ManagedPaymentNextAction as dY, type ManagedPublicPaymentSession as dZ, type MarketDTO as d_, type ProductListingGroupsItem as da, BaseApi as db, type ProductDetail as dc, type ProductDetailCatalog as dd, type StockSnapshotResponse as de, type RootClientWithEvents as df, type BillingCustodyWireRequest as dg, type BulkImportFulfillmentsParams as dh, type BulkImportFulfillmentsResponse as di, type CalculateShippingParams as dj, type CalculateShippingResult as dk, type CancelOrderParams as dl, type CancelOrderResponse as dm, type CancelReasonCode as dn, type CartDiscountCode as dp, type CartWarning as dq, type CartWarningCode as dr, type Comment as ds, type CommerceClientOptions as dt, type CommunityClientOptions as du, type CommunityComment as dv, type CommunityCommentListSort as dw, type CommunityPost as dx, type CommunityPostCategory as dy, type CommunityPostListSort as dz, type CancelMembershipParams as e, type ProductPriceRange as e$, type NormalizedOptionSwatch as e0, type NormalizedProductSelection as e1, OrderApi as e2, type OrderApiOptions as e3, type OrderByPaymentResult as e4, PRODUCT_PLP_FIND_OPTIONS as e5, PRODUCT_UPSERT_READONLY_FIELD_REASON as e6, PRODUCT_UPSERT_UNKNOWN_FIELD_REASON as e7, type PrepareFulfillmentOrderParams as e8, type PrepareFulfillmentOrderResponse as e9, type ProductListingGroupCatalogSummary as eA, type ProductListingGroupCatalogVariant as eB, type ProductListingGroupProjection as eC, type ProductListingGroupSummary as eD, type ProductListingGroupVariant as eE, type ProductListingGroupsCatalogProduct as eF, type ProductListingGroupsCatalogResponse as eG, type ProductListingGroupsProduct as eH, type ProductListingGroupsResponse as eI, type ProductListingPageFilters as eJ, type ProductListingPageSort as eK, type ProductListingProductShape as eL, type ProductListingSwatch as eM, type ProductLocaleOption as eN, type ProductLocaleReadParams as eO, type ProductLocalizedText as eP, type ProductLocalizedValue as eQ, type ProductMediaResolutionSource as eR, type ProductMoneyRange as eS, type ProductOptionMatrix as eT, type ProductOptionMatrixOption as eU, type ProductOptionMatrixValue as eV, type ProductOptionMatrixVariant as eW, type ProductOptionShape as eX, type ProductOptionValueShape as eY, type ProductOptionValueSwatch as eZ, type ProductOptionValueSwatchInput as e_, ProductApi as ea, type ProductApiOptions as eb, type ProductDetailBrand as ec, type ProductDetailCatalogVariant as ed, type ProductDetailCategory as ee, type ProductDetailImage as ef, type ProductDetailImageMedia as eg, type ProductDetailMedia as eh, type ProductDetailOption as ei, type ProductDetailOptionValue as ej, type ProductDetailResult as ek, type ProductDetailTag as el, type ProductDetailUnavailableReason as em, type ProductDetailVariant as en, type ProductDetailVariantOptionValue as eo, type ProductDetailVideo as ep, type ProductDisplayMediaSource as eq, type ProductFallbackLocaleOption as er, type ProductHrefGroup as es, type ProductHrefOptions as et, type ProductHrefProduct as eu, type ProductListingCard as ev, type ProductListingCardOptions as ew, type ProductListingCardPriceRange as ex, type ProductListingCardRepresentativeVariant as ey, type ProductListingGroup as ez, type CancelMembershipResponse as f, parseProductSelection as f$, type ProductSelectionAvailableSwatch as f0, type ProductSelectionAvailableValue as f1, type ProductSelectionByOptionValue as f2, ProductSelectionCodecError as f3, type ProductSelectionCodecOptions as f4, type ProductSelectionInput as f5, type ProductSelectionMediaPointer as f6, type ProductSelectionMediaSource as f7, type ProductSelectionOptionValue as f8, type ProductSelectionResolution as f9, type StockCheckResponse as fA, type StockCheckResult as fB, type StockSnapshotItem as fC, type StockSnapshotParams as fD, type UpdateFulfillmentParams as fE, type UpdateOrderParams as fF, type UpdateReturnParams as fG, type ValidateDiscountParams as fH, type ValidateDiscountResult as fI, type VideoPlaybackResponse as fJ, type WithIdempotencyKey as fK, buildProductHref as fL, buildProductListingCard as fM, buildProductListingGroupProjection as fN, buildProductListingGroupsByOption as fO, buildProductOptionMatrix as fP, buildProductOptionMatrixFromDetail as fQ, createProductSelectionCodec as fR, getAvailableOptionValues as fS, getProductSelectionImages as fT, getSelectedValueByOptionId as fU, getVariantAvailableForSale as fV, getVariantAvailableStock as fW, isProductUpsertFieldValidationErrorBody as fX, normalizeProductSelection as fY, normalizeProductSelectionFromMatrix as fZ, normalizeSelectedValueIds as f_, type ProductSelectionResolutionContext as fa, type ProductSelectionUrlEmit as fb, type ProductSelectionVariant$1 as fc, type ProductUpsertFieldValidationErrorBody as fd, type ProductUpsertFieldValidationErrorReason as fe, type ProductVariantShape as ff, type PublicCheckoutBase as fg, type RequestOptions as fh, type ResolveCancelRefundFailedResponse as fi, type ResolveCancelRefundOutcome as fj, type ResolveCancelRefundParams as fk, type ResolveCancelRefundResponse as fl, type ResolveCancelRefundSucceededResponse as fm, type ResolveProductDisplayMediaInput as fn, type ResolveProductDisplayMediaResult as fo, type ResolveProductSelectionMediaInput as fp, type ResolveProductSelectionMediaResult as fq, type ResolvedCatalogPrice as fr, type ReturnCancellationReasonCode as fs, type ReturnItem as ft, type ReturnReason as fu, type ReturnWithRefundItem as fv, type ReturnWithRefundParams as fw, ShippingApi as fx, type ShippingApiOptions as fy, type StockCheckParams as fz, type ClientState as g, projectProductToListingShape as g0, resolveFeaturedImagePointer as g1, resolveProductDisplayMedia as g2, resolveProductSelection as g3, resolveProductSelectionFromMatrix as g4, resolveProductSelectionMedia as g5, resolveVariantForSelection as g6, selectNext as g7, selectedSwatchMediaItemId as g8, stringifyProductSelection as g9, toShopifyPriceRangeV2 as ga, type ClientConfig as h, type ApiQueryOptions as i, type CancelBrowserPaymentSessionParams as j, type CartMergeParams as k, type CartMergeResult as l, type CartMineResult as m, type CartMutationResult as n, type CheckoutAbandonedReason as o, type CheckoutAmounts as p, type CheckoutOrderReference as q, type CheckoutPaymentSessionRef as r, type CheckoutShippingAddress as s, type ClearCartParams as t, type ClientMetadata as u, type ContentClientOptions as v, type CreateCartParams as w, type CreateCartResult as x, type CreateCheckoutParams as y, type CreateCheckoutResult as z };
|
package/dist/ui/canvas.cjs
CHANGED
|
@@ -1072,7 +1072,11 @@ function EnhancedDynamicNode({
|
|
|
1072
1072
|
return /* @__PURE__ */ import_react6.default.createElement(
|
|
1073
1073
|
"div",
|
|
1074
1074
|
{
|
|
1075
|
-
className:
|
|
1075
|
+
className: [
|
|
1076
|
+
"flow-node",
|
|
1077
|
+
`flow-node--${typeDef.slug}`,
|
|
1078
|
+
...typeDef.transparentBackground ? ["flow-node--transparent-bg"] : []
|
|
1079
|
+
].join(" "),
|
|
1076
1080
|
style: { width: "100%", height: "100%" }
|
|
1077
1081
|
},
|
|
1078
1082
|
/* @__PURE__ */ import_react6.default.createElement(TemplateErrorBoundary, { resetKey: typeDef.template }, /* @__PURE__ */ import_react6.default.createElement(
|