@sayren/storefront-sdk 0.20.9 → 0.20.11
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/auth/index.mjs +1 -1
- package/dist/{client-vjq513VD.mjs → client-TokSE7D9.mjs} +69 -6
- package/dist/{index-BLjQQj49.d.mts → index-ilVVBQUs.d.mts} +705 -128
- package/dist/index.d.mts +2 -2
- package/dist/index.mjs +2 -2
- package/dist/payments/index.d.mts +1 -1
- package/package.json +1 -1
- package/src/client.ts +13 -0
- package/src/schemas/commerce-flow.ts +92 -2
- package/src/schemas/order.ts +6 -1
|
@@ -1822,6 +1822,123 @@ declare const wishlistAddResultSchema: z.ZodObject<{
|
|
|
1822
1822
|
}, z.core.$strip>;
|
|
1823
1823
|
type WishlistAddResult = z.infer<typeof wishlistAddResultSchema>;
|
|
1824
1824
|
//#endregion
|
|
1825
|
+
//#region src/schemas/product-options.d.ts
|
|
1826
|
+
/**
|
|
1827
|
+
* 추가 선택·직접 입력 (이슈 #59) — 상품 상세의 옵션 표시, 장바구니 담기·바로 구매 요청, 줄 스냅샷의 공통 모양.
|
|
1828
|
+
*
|
|
1829
|
+
* 추가 선택은 재고가 없는 옵션이다. 구매자가 조합(옵션이 없으면 상품)을 고른 뒤 옵션명마다 값 하나를 더 고르고, 값의 추가금이
|
|
1830
|
+
* 단가에 더해진다. 직접 입력은 구매자가 글자를 적는 항목(각인 문구 등)이다. 추가 선택 값이나 직접 입력값이 다르면 장바구니에서 다른 줄이다.
|
|
1831
|
+
*/
|
|
1832
|
+
declare const addonGroupViewSchema: z.ZodObject<{
|
|
1833
|
+
groupId: z.ZodString;
|
|
1834
|
+
name: z.ZodString;
|
|
1835
|
+
required: z.ZodBoolean;
|
|
1836
|
+
values: z.ZodArray<z.ZodObject<{
|
|
1837
|
+
valueId: z.ZodString;
|
|
1838
|
+
name: z.ZodString;
|
|
1839
|
+
additionalPrice: z.ZodNumber;
|
|
1840
|
+
}, z.core.$strip>>;
|
|
1841
|
+
}, z.core.$strip>;
|
|
1842
|
+
type AddonGroupView = z.infer<typeof addonGroupViewSchema>;
|
|
1843
|
+
declare const customInputViewSchema: z.ZodObject<{
|
|
1844
|
+
inputId: z.ZodString;
|
|
1845
|
+
label: z.ZodString;
|
|
1846
|
+
placeholder: z.ZodNullable<z.ZodString>;
|
|
1847
|
+
maxLength: z.ZodNumber;
|
|
1848
|
+
required: z.ZodBoolean;
|
|
1849
|
+
key: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1850
|
+
type: z.ZodOptional<z.ZodString>;
|
|
1851
|
+
options: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
|
|
1852
|
+
}, z.core.$strip>;
|
|
1853
|
+
type CustomInputView = z.infer<typeof customInputViewSchema>;
|
|
1854
|
+
/**
|
|
1855
|
+
* 직접 입력값을 타입대로 검사하고 저장할 모양으로 바꾼다(정규화 뒤 값). 서버 판정(400 `CUSTOM_INPUT_INVALID`)과 스토어프론트
|
|
1856
|
+
* 입력 검사가 이 함수 하나를 쓴다. 모르는 타입은 `text`로 본다. 맞지 않으면 null
|
|
1857
|
+
*/
|
|
1858
|
+
declare function parseCustomInputValue(type: string | null | undefined, options: readonly string[] | null | undefined, raw: string): string | null;
|
|
1859
|
+
/**
|
|
1860
|
+
* 직접 입력값 정규화 — NFC로 모으고, 제어 문자(C0·C1·줄바꿈·줄·문단 구분자)는 공백으로, 제로폭·양방향 제어 문자는 지운 뒤
|
|
1861
|
+
* 앞뒤 공백을 지운다. 서버가 저장하는 값이 이것이다. 빈 문자열이면 입력하지 않은 것으로 본다.
|
|
1862
|
+
* (양방향 제어 문자를 두면 셀러 주문 화면의 각인 문구가 뒤집혀 보이게 할 수 있다.)
|
|
1863
|
+
*/
|
|
1864
|
+
declare function normalizeCustomInputValue(value: string): string;
|
|
1865
|
+
/**
|
|
1866
|
+
* 직접 입력값의 글자 수 — 정규화한 값의 **코드 포인트 수**다(이모지 하나가 1자). 서버의 최대 글자 수 판정(`CUSTOM_INPUT_TOO_LONG`)과
|
|
1867
|
+
* 스토어프론트·상점 플랫폼의 글자 수 표시가 이 함수 하나를 쓴다. `String.length`(UTF-16)로 세면 이모지가 2자로 세어 판정이 갈린다.
|
|
1868
|
+
*/
|
|
1869
|
+
declare function customInputLength(value: string): number;
|
|
1870
|
+
/** 담기·바로 구매 요청의 직접 입력값 한 칸. 앞뒤 공백을 지우고, 빈 값은 입력하지 않은 것으로 본다 */
|
|
1871
|
+
declare const customInputEntrySchema: z.ZodObject<{
|
|
1872
|
+
inputId: z.ZodString;
|
|
1873
|
+
value: z.ZodString;
|
|
1874
|
+
}, z.core.$strip>;
|
|
1875
|
+
type CustomInputEntry = z.infer<typeof customInputEntrySchema>;
|
|
1876
|
+
/** 고른 추가 선택 한 칸 — 옵션명(`groupId`)과 그 옵션명의 값(`valueId`) */
|
|
1877
|
+
declare const addonSelectionSchema: z.ZodObject<{
|
|
1878
|
+
groupId: z.ZodString;
|
|
1879
|
+
valueId: z.ZodString;
|
|
1880
|
+
}, z.core.$strip>;
|
|
1881
|
+
type AddonSelection = z.infer<typeof addonSelectionSchema>;
|
|
1882
|
+
/** 요청의 추가 선택·직접 입력 필드 — 담기·장바구니 수정·바로 구매가 같은 이름을 쓴다 */
|
|
1883
|
+
declare const lineSelectionRequestShape: {
|
|
1884
|
+
addons: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1885
|
+
groupId: z.ZodString;
|
|
1886
|
+
valueId: z.ZodString;
|
|
1887
|
+
}, z.core.$strip>>>;
|
|
1888
|
+
customInputs: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1889
|
+
inputId: z.ZodString;
|
|
1890
|
+
value: z.ZodString;
|
|
1891
|
+
}, z.core.$strip>>>;
|
|
1892
|
+
stay: z.ZodOptional<z.ZodObject<{
|
|
1893
|
+
checkIn: z.ZodString;
|
|
1894
|
+
checkOut: z.ZodString;
|
|
1895
|
+
}, z.core.$strip>>;
|
|
1896
|
+
};
|
|
1897
|
+
/** 줄의 옵션 선택 스냅샷 한 칸 — 조합 옵션은 옵션명마다 한 칸이고 추가금이 0이다(조합 추가금은 단가에 들어 있다) */
|
|
1898
|
+
declare const optionSelectionViewSchema: z.ZodObject<{
|
|
1899
|
+
kind: z.ZodString;
|
|
1900
|
+
groupName: z.ZodString;
|
|
1901
|
+
valueName: z.ZodString;
|
|
1902
|
+
additionalPrice: z.ZodNumber;
|
|
1903
|
+
}, z.core.$strip>;
|
|
1904
|
+
type OptionSelectionView = z.infer<typeof optionSelectionViewSchema>;
|
|
1905
|
+
declare const customInputValueViewSchema: z.ZodObject<{
|
|
1906
|
+
label: z.ZodString;
|
|
1907
|
+
value: z.ZodString;
|
|
1908
|
+
key: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1909
|
+
type: z.ZodOptional<z.ZodString>;
|
|
1910
|
+
}, z.core.$strip>;
|
|
1911
|
+
type CustomInputValueView = z.infer<typeof customInputValueViewSchema>;
|
|
1912
|
+
/** 응답 줄의 표시 필드 — 장바구니·주문서·주문상품이 같은 이름을 쓴다 */
|
|
1913
|
+
declare const lineSelectionResponseShape: {
|
|
1914
|
+
optionSelections: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1915
|
+
kind: z.ZodString;
|
|
1916
|
+
groupName: z.ZodString;
|
|
1917
|
+
valueName: z.ZodString;
|
|
1918
|
+
additionalPrice: z.ZodNumber;
|
|
1919
|
+
}, z.core.$strip>>>>;
|
|
1920
|
+
customInputs: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1921
|
+
label: z.ZodString;
|
|
1922
|
+
value: z.ZodString;
|
|
1923
|
+
key: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1924
|
+
type: z.ZodOptional<z.ZodString>;
|
|
1925
|
+
}, z.core.$strip>>>>;
|
|
1926
|
+
stay: z.ZodOptional<z.ZodObject<{
|
|
1927
|
+
checkIn: z.ZodString;
|
|
1928
|
+
checkOut: z.ZodString;
|
|
1929
|
+
nights: z.ZodArray<z.ZodObject<{
|
|
1930
|
+
date: z.ZodString;
|
|
1931
|
+
price: z.ZodNumber;
|
|
1932
|
+
}, z.core.$strip>>;
|
|
1933
|
+
}, z.core.$strip>>;
|
|
1934
|
+
};
|
|
1935
|
+
/** 주문 입력 이미지 업로드 자리 요청(#115 E4) — 파일명은 확장자만 쓰인다 */
|
|
1936
|
+
declare const orderInputUploadRequestSchema: z.ZodObject<{
|
|
1937
|
+
filename: z.ZodString;
|
|
1938
|
+
size: z.ZodOptional<z.ZodNumber>;
|
|
1939
|
+
}, z.core.$strip>;
|
|
1940
|
+
type OrderInputUploadRequest = z.infer<typeof orderInputUploadRequestSchema>;
|
|
1941
|
+
//#endregion
|
|
1825
1942
|
//#region src/schemas/review.d.ts
|
|
1826
1943
|
declare const publicReviewSchema: z.ZodObject<{
|
|
1827
1944
|
reviewId: z.ZodString;
|
|
@@ -2613,6 +2730,15 @@ declare function createStorefrontClient(options: StorefrontClientOptions): {
|
|
|
2613
2730
|
};
|
|
2614
2731
|
}>;
|
|
2615
2732
|
removeItem: (cartItemId: string) => Promise<void>;
|
|
2733
|
+
/**
|
|
2734
|
+
* 직접 입력 이미지(`type: "image"`) 업로드 자리 — 응답 `uploadUrl`에 파일을 PUT한 뒤 `url`을 담기·바로 구매의
|
|
2735
|
+
* `customInputs` 값에 넣는다(여러 장이면 줄바꿈으로 잇는다). 비회원도 부를 수 있다.
|
|
2736
|
+
* 형식·크기가 맞지 않으면 400 `UNSUPPORTED_FILE_TYPE`·413 `FILE_TOO_LARGE`, 연타하면 429 `TOO_MANY_REQUESTS`다
|
|
2737
|
+
*/
|
|
2738
|
+
createInputImageUpload: (body: OrderInputUploadRequest) => Promise<{
|
|
2739
|
+
url: string;
|
|
2740
|
+
uploadUrl: string;
|
|
2741
|
+
}>;
|
|
2616
2742
|
};
|
|
2617
2743
|
checkout: {
|
|
2618
2744
|
create: (body: CreateCheckoutRequest) => Promise<{
|
|
@@ -3006,6 +3132,16 @@ declare function createStorefrontClient(options: StorefrontClientOptions): {
|
|
|
3006
3132
|
message?: string | undefined;
|
|
3007
3133
|
deadlineAt?: string | undefined;
|
|
3008
3134
|
attachments?: string[] | undefined;
|
|
3135
|
+
earlierAttachments?: string[] | undefined;
|
|
3136
|
+
inputs?: {
|
|
3137
|
+
by: string;
|
|
3138
|
+
values: {
|
|
3139
|
+
key: string;
|
|
3140
|
+
label: string;
|
|
3141
|
+
type: string;
|
|
3142
|
+
value: string | number | boolean | string[];
|
|
3143
|
+
}[];
|
|
3144
|
+
} | undefined;
|
|
3009
3145
|
progress?: boolean | undefined;
|
|
3010
3146
|
} | undefined;
|
|
3011
3147
|
actions?: {
|
|
@@ -3024,9 +3160,17 @@ declare function createStorefrontClient(options: StorefrontClientOptions): {
|
|
|
3024
3160
|
type: string;
|
|
3025
3161
|
required: boolean;
|
|
3026
3162
|
label: string;
|
|
3163
|
+
placeholder?: string | undefined;
|
|
3027
3164
|
maxLength?: number | undefined;
|
|
3028
3165
|
maxFiles?: number | undefined;
|
|
3029
|
-
options?: (string | number
|
|
3166
|
+
options?: (string | number | {
|
|
3167
|
+
value: string;
|
|
3168
|
+
label: string;
|
|
3169
|
+
})[] | undefined;
|
|
3170
|
+
when?: {
|
|
3171
|
+
key: string;
|
|
3172
|
+
in: string[];
|
|
3173
|
+
} | undefined;
|
|
3030
3174
|
}[] | undefined;
|
|
3031
3175
|
partialQuantity?: boolean | "UNIT" | undefined;
|
|
3032
3176
|
}[] | undefined;
|
|
@@ -3039,8 +3183,73 @@ declare function createStorefrontClient(options: StorefrontClientOptions): {
|
|
|
3039
3183
|
message?: string | undefined;
|
|
3040
3184
|
deadlineAt?: string | undefined;
|
|
3041
3185
|
attachments?: string[] | undefined;
|
|
3186
|
+
earlierAttachments?: string[] | undefined;
|
|
3187
|
+
inputs?: {
|
|
3188
|
+
by: string;
|
|
3189
|
+
values: {
|
|
3190
|
+
key: string;
|
|
3191
|
+
label: string;
|
|
3192
|
+
type: string;
|
|
3193
|
+
value: string | number | boolean | string[];
|
|
3194
|
+
}[];
|
|
3195
|
+
} | undefined;
|
|
3042
3196
|
progress?: boolean | undefined;
|
|
3043
3197
|
}[] | undefined;
|
|
3198
|
+
step?: {
|
|
3199
|
+
type: string;
|
|
3200
|
+
label: string;
|
|
3201
|
+
actions: {
|
|
3202
|
+
key: string;
|
|
3203
|
+
label: string;
|
|
3204
|
+
mode: "INSTANT" | "REQUEST" | "VIEW";
|
|
3205
|
+
enabled: boolean;
|
|
3206
|
+
disabled?: {
|
|
3207
|
+
reason: string;
|
|
3208
|
+
message?: string | undefined;
|
|
3209
|
+
} | undefined;
|
|
3210
|
+
availableUntil?: string | undefined;
|
|
3211
|
+
subflow?: string | undefined;
|
|
3212
|
+
input?: {
|
|
3213
|
+
key: string;
|
|
3214
|
+
type: string;
|
|
3215
|
+
required: boolean;
|
|
3216
|
+
label: string;
|
|
3217
|
+
placeholder?: string | undefined;
|
|
3218
|
+
maxLength?: number | undefined;
|
|
3219
|
+
maxFiles?: number | undefined;
|
|
3220
|
+
options?: (string | number | {
|
|
3221
|
+
value: string;
|
|
3222
|
+
label: string;
|
|
3223
|
+
})[] | undefined;
|
|
3224
|
+
when?: {
|
|
3225
|
+
key: string;
|
|
3226
|
+
in: string[];
|
|
3227
|
+
} | undefined;
|
|
3228
|
+
}[] | undefined;
|
|
3229
|
+
partialQuantity?: boolean | "UNIT" | undefined;
|
|
3230
|
+
}[];
|
|
3231
|
+
message?: string | undefined;
|
|
3232
|
+
deadlineAt?: string | undefined;
|
|
3233
|
+
attachments?: string[] | undefined;
|
|
3234
|
+
earlierAttachments?: string[] | undefined;
|
|
3235
|
+
inputs?: {
|
|
3236
|
+
by: string;
|
|
3237
|
+
values: {
|
|
3238
|
+
key: string;
|
|
3239
|
+
label: string;
|
|
3240
|
+
type: string;
|
|
3241
|
+
value: string | number | boolean | string[];
|
|
3242
|
+
}[];
|
|
3243
|
+
} | undefined;
|
|
3244
|
+
data?: {
|
|
3245
|
+
delivery?: {
|
|
3246
|
+
carrierName: string | null;
|
|
3247
|
+
trackingNumber: string | null;
|
|
3248
|
+
trackingUrl: string | null;
|
|
3249
|
+
dispatchedAt: string;
|
|
3250
|
+
} | undefined;
|
|
3251
|
+
} | undefined;
|
|
3252
|
+
} | undefined;
|
|
3044
3253
|
stay?: {
|
|
3045
3254
|
checkIn: string;
|
|
3046
3255
|
checkOut: string;
|
|
@@ -3150,6 +3359,16 @@ declare function createStorefrontClient(options: StorefrontClientOptions): {
|
|
|
3150
3359
|
message?: string | undefined;
|
|
3151
3360
|
deadlineAt?: string | undefined;
|
|
3152
3361
|
attachments?: string[] | undefined;
|
|
3362
|
+
earlierAttachments?: string[] | undefined;
|
|
3363
|
+
inputs?: {
|
|
3364
|
+
by: string;
|
|
3365
|
+
values: {
|
|
3366
|
+
key: string;
|
|
3367
|
+
label: string;
|
|
3368
|
+
type: string;
|
|
3369
|
+
value: string | number | boolean | string[];
|
|
3370
|
+
}[];
|
|
3371
|
+
} | undefined;
|
|
3153
3372
|
progress?: boolean | undefined;
|
|
3154
3373
|
} | undefined;
|
|
3155
3374
|
actions?: {
|
|
@@ -3168,9 +3387,17 @@ declare function createStorefrontClient(options: StorefrontClientOptions): {
|
|
|
3168
3387
|
type: string;
|
|
3169
3388
|
required: boolean;
|
|
3170
3389
|
label: string;
|
|
3390
|
+
placeholder?: string | undefined;
|
|
3171
3391
|
maxLength?: number | undefined;
|
|
3172
3392
|
maxFiles?: number | undefined;
|
|
3173
|
-
options?: (string | number
|
|
3393
|
+
options?: (string | number | {
|
|
3394
|
+
value: string;
|
|
3395
|
+
label: string;
|
|
3396
|
+
})[] | undefined;
|
|
3397
|
+
when?: {
|
|
3398
|
+
key: string;
|
|
3399
|
+
in: string[];
|
|
3400
|
+
} | undefined;
|
|
3174
3401
|
}[] | undefined;
|
|
3175
3402
|
partialQuantity?: boolean | "UNIT" | undefined;
|
|
3176
3403
|
}[] | undefined;
|
|
@@ -3183,8 +3410,73 @@ declare function createStorefrontClient(options: StorefrontClientOptions): {
|
|
|
3183
3410
|
message?: string | undefined;
|
|
3184
3411
|
deadlineAt?: string | undefined;
|
|
3185
3412
|
attachments?: string[] | undefined;
|
|
3413
|
+
earlierAttachments?: string[] | undefined;
|
|
3414
|
+
inputs?: {
|
|
3415
|
+
by: string;
|
|
3416
|
+
values: {
|
|
3417
|
+
key: string;
|
|
3418
|
+
label: string;
|
|
3419
|
+
type: string;
|
|
3420
|
+
value: string | number | boolean | string[];
|
|
3421
|
+
}[];
|
|
3422
|
+
} | undefined;
|
|
3186
3423
|
progress?: boolean | undefined;
|
|
3187
3424
|
}[] | undefined;
|
|
3425
|
+
step?: {
|
|
3426
|
+
type: string;
|
|
3427
|
+
label: string;
|
|
3428
|
+
actions: {
|
|
3429
|
+
key: string;
|
|
3430
|
+
label: string;
|
|
3431
|
+
mode: "INSTANT" | "REQUEST" | "VIEW";
|
|
3432
|
+
enabled: boolean;
|
|
3433
|
+
disabled?: {
|
|
3434
|
+
reason: string;
|
|
3435
|
+
message?: string | undefined;
|
|
3436
|
+
} | undefined;
|
|
3437
|
+
availableUntil?: string | undefined;
|
|
3438
|
+
subflow?: string | undefined;
|
|
3439
|
+
input?: {
|
|
3440
|
+
key: string;
|
|
3441
|
+
type: string;
|
|
3442
|
+
required: boolean;
|
|
3443
|
+
label: string;
|
|
3444
|
+
placeholder?: string | undefined;
|
|
3445
|
+
maxLength?: number | undefined;
|
|
3446
|
+
maxFiles?: number | undefined;
|
|
3447
|
+
options?: (string | number | {
|
|
3448
|
+
value: string;
|
|
3449
|
+
label: string;
|
|
3450
|
+
})[] | undefined;
|
|
3451
|
+
when?: {
|
|
3452
|
+
key: string;
|
|
3453
|
+
in: string[];
|
|
3454
|
+
} | undefined;
|
|
3455
|
+
}[] | undefined;
|
|
3456
|
+
partialQuantity?: boolean | "UNIT" | undefined;
|
|
3457
|
+
}[];
|
|
3458
|
+
message?: string | undefined;
|
|
3459
|
+
deadlineAt?: string | undefined;
|
|
3460
|
+
attachments?: string[] | undefined;
|
|
3461
|
+
earlierAttachments?: string[] | undefined;
|
|
3462
|
+
inputs?: {
|
|
3463
|
+
by: string;
|
|
3464
|
+
values: {
|
|
3465
|
+
key: string;
|
|
3466
|
+
label: string;
|
|
3467
|
+
type: string;
|
|
3468
|
+
value: string | number | boolean | string[];
|
|
3469
|
+
}[];
|
|
3470
|
+
} | undefined;
|
|
3471
|
+
data?: {
|
|
3472
|
+
delivery?: {
|
|
3473
|
+
carrierName: string | null;
|
|
3474
|
+
trackingNumber: string | null;
|
|
3475
|
+
trackingUrl: string | null;
|
|
3476
|
+
dispatchedAt: string;
|
|
3477
|
+
} | undefined;
|
|
3478
|
+
} | undefined;
|
|
3479
|
+
} | undefined;
|
|
3188
3480
|
stay?: {
|
|
3189
3481
|
checkIn: string;
|
|
3190
3482
|
checkOut: string;
|
|
@@ -3305,6 +3597,16 @@ declare function createStorefrontClient(options: StorefrontClientOptions): {
|
|
|
3305
3597
|
message?: string | undefined;
|
|
3306
3598
|
deadlineAt?: string | undefined;
|
|
3307
3599
|
attachments?: string[] | undefined;
|
|
3600
|
+
earlierAttachments?: string[] | undefined;
|
|
3601
|
+
inputs?: {
|
|
3602
|
+
by: string;
|
|
3603
|
+
values: {
|
|
3604
|
+
key: string;
|
|
3605
|
+
label: string;
|
|
3606
|
+
type: string;
|
|
3607
|
+
value: string | number | boolean | string[];
|
|
3608
|
+
}[];
|
|
3609
|
+
} | undefined;
|
|
3308
3610
|
progress?: boolean | undefined;
|
|
3309
3611
|
} | undefined;
|
|
3310
3612
|
actions?: {
|
|
@@ -3323,9 +3625,17 @@ declare function createStorefrontClient(options: StorefrontClientOptions): {
|
|
|
3323
3625
|
type: string;
|
|
3324
3626
|
required: boolean;
|
|
3325
3627
|
label: string;
|
|
3628
|
+
placeholder?: string | undefined;
|
|
3326
3629
|
maxLength?: number | undefined;
|
|
3327
3630
|
maxFiles?: number | undefined;
|
|
3328
|
-
options?: (string | number
|
|
3631
|
+
options?: (string | number | {
|
|
3632
|
+
value: string;
|
|
3633
|
+
label: string;
|
|
3634
|
+
})[] | undefined;
|
|
3635
|
+
when?: {
|
|
3636
|
+
key: string;
|
|
3637
|
+
in: string[];
|
|
3638
|
+
} | undefined;
|
|
3329
3639
|
}[] | undefined;
|
|
3330
3640
|
partialQuantity?: boolean | "UNIT" | undefined;
|
|
3331
3641
|
}[] | undefined;
|
|
@@ -3338,8 +3648,73 @@ declare function createStorefrontClient(options: StorefrontClientOptions): {
|
|
|
3338
3648
|
message?: string | undefined;
|
|
3339
3649
|
deadlineAt?: string | undefined;
|
|
3340
3650
|
attachments?: string[] | undefined;
|
|
3651
|
+
earlierAttachments?: string[] | undefined;
|
|
3652
|
+
inputs?: {
|
|
3653
|
+
by: string;
|
|
3654
|
+
values: {
|
|
3655
|
+
key: string;
|
|
3656
|
+
label: string;
|
|
3657
|
+
type: string;
|
|
3658
|
+
value: string | number | boolean | string[];
|
|
3659
|
+
}[];
|
|
3660
|
+
} | undefined;
|
|
3341
3661
|
progress?: boolean | undefined;
|
|
3342
3662
|
}[] | undefined;
|
|
3663
|
+
step?: {
|
|
3664
|
+
type: string;
|
|
3665
|
+
label: string;
|
|
3666
|
+
actions: {
|
|
3667
|
+
key: string;
|
|
3668
|
+
label: string;
|
|
3669
|
+
mode: "INSTANT" | "REQUEST" | "VIEW";
|
|
3670
|
+
enabled: boolean;
|
|
3671
|
+
disabled?: {
|
|
3672
|
+
reason: string;
|
|
3673
|
+
message?: string | undefined;
|
|
3674
|
+
} | undefined;
|
|
3675
|
+
availableUntil?: string | undefined;
|
|
3676
|
+
subflow?: string | undefined;
|
|
3677
|
+
input?: {
|
|
3678
|
+
key: string;
|
|
3679
|
+
type: string;
|
|
3680
|
+
required: boolean;
|
|
3681
|
+
label: string;
|
|
3682
|
+
placeholder?: string | undefined;
|
|
3683
|
+
maxLength?: number | undefined;
|
|
3684
|
+
maxFiles?: number | undefined;
|
|
3685
|
+
options?: (string | number | {
|
|
3686
|
+
value: string;
|
|
3687
|
+
label: string;
|
|
3688
|
+
})[] | undefined;
|
|
3689
|
+
when?: {
|
|
3690
|
+
key: string;
|
|
3691
|
+
in: string[];
|
|
3692
|
+
} | undefined;
|
|
3693
|
+
}[] | undefined;
|
|
3694
|
+
partialQuantity?: boolean | "UNIT" | undefined;
|
|
3695
|
+
}[];
|
|
3696
|
+
message?: string | undefined;
|
|
3697
|
+
deadlineAt?: string | undefined;
|
|
3698
|
+
attachments?: string[] | undefined;
|
|
3699
|
+
earlierAttachments?: string[] | undefined;
|
|
3700
|
+
inputs?: {
|
|
3701
|
+
by: string;
|
|
3702
|
+
values: {
|
|
3703
|
+
key: string;
|
|
3704
|
+
label: string;
|
|
3705
|
+
type: string;
|
|
3706
|
+
value: string | number | boolean | string[];
|
|
3707
|
+
}[];
|
|
3708
|
+
} | undefined;
|
|
3709
|
+
data?: {
|
|
3710
|
+
delivery?: {
|
|
3711
|
+
carrierName: string | null;
|
|
3712
|
+
trackingNumber: string | null;
|
|
3713
|
+
trackingUrl: string | null;
|
|
3714
|
+
dispatchedAt: string;
|
|
3715
|
+
} | undefined;
|
|
3716
|
+
} | undefined;
|
|
3717
|
+
} | undefined;
|
|
3343
3718
|
stay?: {
|
|
3344
3719
|
checkIn: string;
|
|
3345
3720
|
checkOut: string;
|
|
@@ -3408,6 +3783,16 @@ declare function createStorefrontClient(options: StorefrontClientOptions): {
|
|
|
3408
3783
|
message?: string | undefined;
|
|
3409
3784
|
deadlineAt?: string | undefined;
|
|
3410
3785
|
attachments?: string[] | undefined;
|
|
3786
|
+
earlierAttachments?: string[] | undefined;
|
|
3787
|
+
inputs?: {
|
|
3788
|
+
by: string;
|
|
3789
|
+
values: {
|
|
3790
|
+
key: string;
|
|
3791
|
+
label: string;
|
|
3792
|
+
type: string;
|
|
3793
|
+
value: string | number | boolean | string[];
|
|
3794
|
+
}[];
|
|
3795
|
+
} | undefined;
|
|
3411
3796
|
progress?: boolean | undefined;
|
|
3412
3797
|
};
|
|
3413
3798
|
actions: {
|
|
@@ -3426,9 +3811,17 @@ declare function createStorefrontClient(options: StorefrontClientOptions): {
|
|
|
3426
3811
|
type: string;
|
|
3427
3812
|
required: boolean;
|
|
3428
3813
|
label: string;
|
|
3814
|
+
placeholder?: string | undefined;
|
|
3429
3815
|
maxLength?: number | undefined;
|
|
3430
3816
|
maxFiles?: number | undefined;
|
|
3431
|
-
options?: (string | number
|
|
3817
|
+
options?: (string | number | {
|
|
3818
|
+
value: string;
|
|
3819
|
+
label: string;
|
|
3820
|
+
})[] | undefined;
|
|
3821
|
+
when?: {
|
|
3822
|
+
key: string;
|
|
3823
|
+
in: string[];
|
|
3824
|
+
} | undefined;
|
|
3432
3825
|
}[] | undefined;
|
|
3433
3826
|
partialQuantity?: boolean | "UNIT" | undefined;
|
|
3434
3827
|
}[];
|
|
@@ -3454,6 +3847,16 @@ declare function createStorefrontClient(options: StorefrontClientOptions): {
|
|
|
3454
3847
|
message?: string | undefined;
|
|
3455
3848
|
deadlineAt?: string | undefined;
|
|
3456
3849
|
attachments?: string[] | undefined;
|
|
3850
|
+
earlierAttachments?: string[] | undefined;
|
|
3851
|
+
inputs?: {
|
|
3852
|
+
by: string;
|
|
3853
|
+
values: {
|
|
3854
|
+
key: string;
|
|
3855
|
+
label: string;
|
|
3856
|
+
type: string;
|
|
3857
|
+
value: string | number | boolean | string[];
|
|
3858
|
+
}[];
|
|
3859
|
+
} | undefined;
|
|
3457
3860
|
progress?: boolean | undefined;
|
|
3458
3861
|
};
|
|
3459
3862
|
actions: {
|
|
@@ -3472,9 +3875,17 @@ declare function createStorefrontClient(options: StorefrontClientOptions): {
|
|
|
3472
3875
|
type: string;
|
|
3473
3876
|
required: boolean;
|
|
3474
3877
|
label: string;
|
|
3878
|
+
placeholder?: string | undefined;
|
|
3475
3879
|
maxLength?: number | undefined;
|
|
3476
3880
|
maxFiles?: number | undefined;
|
|
3477
|
-
options?: (string | number
|
|
3881
|
+
options?: (string | number | {
|
|
3882
|
+
value: string;
|
|
3883
|
+
label: string;
|
|
3884
|
+
})[] | undefined;
|
|
3885
|
+
when?: {
|
|
3886
|
+
key: string;
|
|
3887
|
+
in: string[];
|
|
3888
|
+
} | undefined;
|
|
3478
3889
|
}[] | undefined;
|
|
3479
3890
|
partialQuantity?: boolean | "UNIT" | undefined;
|
|
3480
3891
|
}[];
|
|
@@ -3999,9 +4410,17 @@ declare const flowInputFieldSchema: z.ZodObject<{
|
|
|
3999
4410
|
type: z.ZodString;
|
|
4000
4411
|
required: z.ZodBoolean;
|
|
4001
4412
|
label: z.ZodString;
|
|
4413
|
+
placeholder: z.ZodOptional<z.ZodString>;
|
|
4002
4414
|
maxLength: z.ZodOptional<z.ZodNumber>;
|
|
4003
4415
|
maxFiles: z.ZodOptional<z.ZodNumber>;
|
|
4004
|
-
options: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodNumber
|
|
4416
|
+
options: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodObject<{
|
|
4417
|
+
value: z.ZodString;
|
|
4418
|
+
label: z.ZodString;
|
|
4419
|
+
}, z.core.$strip>]>>>;
|
|
4420
|
+
when: z.ZodOptional<z.ZodObject<{
|
|
4421
|
+
key: z.ZodString;
|
|
4422
|
+
in: z.ZodArray<z.ZodString>;
|
|
4423
|
+
}, z.core.$strip>>;
|
|
4005
4424
|
}, z.core.$strip>;
|
|
4006
4425
|
type FlowInputField = z.infer<typeof flowInputFieldSchema>;
|
|
4007
4426
|
declare const flowActionSchema: z.ZodObject<{
|
|
@@ -4024,9 +4443,17 @@ declare const flowActionSchema: z.ZodObject<{
|
|
|
4024
4443
|
type: z.ZodString;
|
|
4025
4444
|
required: z.ZodBoolean;
|
|
4026
4445
|
label: z.ZodString;
|
|
4446
|
+
placeholder: z.ZodOptional<z.ZodString>;
|
|
4027
4447
|
maxLength: z.ZodOptional<z.ZodNumber>;
|
|
4028
4448
|
maxFiles: z.ZodOptional<z.ZodNumber>;
|
|
4029
|
-
options: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodNumber
|
|
4449
|
+
options: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodObject<{
|
|
4450
|
+
value: z.ZodString;
|
|
4451
|
+
label: z.ZodString;
|
|
4452
|
+
}, z.core.$strip>]>>>;
|
|
4453
|
+
when: z.ZodOptional<z.ZodObject<{
|
|
4454
|
+
key: z.ZodString;
|
|
4455
|
+
in: z.ZodArray<z.ZodString>;
|
|
4456
|
+
}, z.core.$strip>>;
|
|
4030
4457
|
}, z.core.$strip>>>;
|
|
4031
4458
|
partialQuantity: z.ZodOptional<z.ZodUnion<readonly [z.ZodBoolean, z.ZodLiteral<"UNIT">]>>;
|
|
4032
4459
|
}, z.core.$strip>;
|
|
@@ -4051,10 +4478,85 @@ declare const flowStateSchema: z.ZodObject<{
|
|
|
4051
4478
|
enteredAt: z.ZodString;
|
|
4052
4479
|
deadlineAt: z.ZodOptional<z.ZodString>;
|
|
4053
4480
|
attachments: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
4481
|
+
earlierAttachments: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
4482
|
+
inputs: z.ZodOptional<z.ZodObject<{
|
|
4483
|
+
by: z.ZodString;
|
|
4484
|
+
values: z.ZodArray<z.ZodObject<{
|
|
4485
|
+
key: z.ZodString;
|
|
4486
|
+
label: z.ZodString;
|
|
4487
|
+
type: z.ZodString;
|
|
4488
|
+
value: z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodArray<z.ZodString>]>;
|
|
4489
|
+
}, z.core.$strip>>;
|
|
4490
|
+
}, z.core.$strip>>;
|
|
4054
4491
|
progress: z.ZodOptional<z.ZodBoolean>;
|
|
4055
4492
|
fields: z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull, z.ZodArray<z.ZodString>]>>;
|
|
4056
4493
|
}, z.core.$strip>;
|
|
4057
4494
|
type FlowState = z.infer<typeof flowStateSchema>;
|
|
4495
|
+
/**
|
|
4496
|
+
* 주문상품의 지금 단계(#115) — 구매자 화면이 흐름 구조를 몰라도 그릴 수 있게 서버가 정리한 값이다. `type`으로 화면 모양을 고르고,
|
|
4497
|
+
* `actions`(입력 칸 포함)로 버튼·폼을 그린다. 판정은 서버다.
|
|
4498
|
+
*/
|
|
4499
|
+
declare const ORDER_STEP_TYPES: readonly ["BUYER_ACTION", "SELLER_PROCESSING", "IN_DELIVERY", "DELIVERED", "COMPLETED", "CANCELED", "CLAIM_IN_PROGRESS"];
|
|
4500
|
+
declare const orderStepSchema: z.ZodObject<{
|
|
4501
|
+
type: z.ZodString;
|
|
4502
|
+
label: z.ZodString;
|
|
4503
|
+
message: z.ZodOptional<z.ZodString>;
|
|
4504
|
+
deadlineAt: z.ZodOptional<z.ZodString>;
|
|
4505
|
+
attachments: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
4506
|
+
earlierAttachments: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
4507
|
+
inputs: z.ZodOptional<z.ZodObject<{
|
|
4508
|
+
by: z.ZodString;
|
|
4509
|
+
values: z.ZodArray<z.ZodObject<{
|
|
4510
|
+
key: z.ZodString;
|
|
4511
|
+
label: z.ZodString;
|
|
4512
|
+
type: z.ZodString;
|
|
4513
|
+
value: z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodArray<z.ZodString>]>;
|
|
4514
|
+
}, z.core.$strip>>;
|
|
4515
|
+
}, z.core.$strip>>;
|
|
4516
|
+
actions: z.ZodArray<z.ZodObject<{
|
|
4517
|
+
key: z.ZodString;
|
|
4518
|
+
label: z.ZodString;
|
|
4519
|
+
mode: z.ZodEnum<{
|
|
4520
|
+
INSTANT: "INSTANT";
|
|
4521
|
+
REQUEST: "REQUEST";
|
|
4522
|
+
VIEW: "VIEW";
|
|
4523
|
+
}>;
|
|
4524
|
+
enabled: z.ZodBoolean;
|
|
4525
|
+
disabled: z.ZodOptional<z.ZodObject<{
|
|
4526
|
+
reason: z.ZodString;
|
|
4527
|
+
message: z.ZodOptional<z.ZodString>;
|
|
4528
|
+
}, z.core.$strip>>;
|
|
4529
|
+
availableUntil: z.ZodOptional<z.ZodString>;
|
|
4530
|
+
subflow: z.ZodOptional<z.ZodString>;
|
|
4531
|
+
input: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
4532
|
+
key: z.ZodString;
|
|
4533
|
+
type: z.ZodString;
|
|
4534
|
+
required: z.ZodBoolean;
|
|
4535
|
+
label: z.ZodString;
|
|
4536
|
+
placeholder: z.ZodOptional<z.ZodString>;
|
|
4537
|
+
maxLength: z.ZodOptional<z.ZodNumber>;
|
|
4538
|
+
maxFiles: z.ZodOptional<z.ZodNumber>;
|
|
4539
|
+
options: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodObject<{
|
|
4540
|
+
value: z.ZodString;
|
|
4541
|
+
label: z.ZodString;
|
|
4542
|
+
}, z.core.$strip>]>>>;
|
|
4543
|
+
when: z.ZodOptional<z.ZodObject<{
|
|
4544
|
+
key: z.ZodString;
|
|
4545
|
+
in: z.ZodArray<z.ZodString>;
|
|
4546
|
+
}, z.core.$strip>>;
|
|
4547
|
+
}, z.core.$strip>>>;
|
|
4548
|
+
partialQuantity: z.ZodOptional<z.ZodUnion<readonly [z.ZodBoolean, z.ZodLiteral<"UNIT">]>>;
|
|
4549
|
+
}, z.core.$strip>>;
|
|
4550
|
+
data: z.ZodOptional<z.ZodObject<{
|
|
4551
|
+
delivery: z.ZodOptional<z.ZodObject<{
|
|
4552
|
+
carrierName: z.ZodNullable<z.ZodString>;
|
|
4553
|
+
trackingNumber: z.ZodNullable<z.ZodString>;
|
|
4554
|
+
trackingUrl: z.ZodNullable<z.ZodString>;
|
|
4555
|
+
dispatchedAt: z.ZodString;
|
|
4556
|
+
}, z.core.$strip>>;
|
|
4557
|
+
}, z.core.$strip>>;
|
|
4558
|
+
}, z.core.$strip>;
|
|
4559
|
+
type OrderStep = z.infer<typeof orderStepSchema>;
|
|
4058
4560
|
declare const flowActionRequestSchema: z.ZodObject<{
|
|
4059
4561
|
input: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
4060
4562
|
}, z.core.$strip>;
|
|
@@ -4085,6 +4587,16 @@ declare const flowActionResultSchema: z.ZodObject<{
|
|
|
4085
4587
|
enteredAt: z.ZodString;
|
|
4086
4588
|
deadlineAt: z.ZodOptional<z.ZodString>;
|
|
4087
4589
|
attachments: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
4590
|
+
earlierAttachments: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
4591
|
+
inputs: z.ZodOptional<z.ZodObject<{
|
|
4592
|
+
by: z.ZodString;
|
|
4593
|
+
values: z.ZodArray<z.ZodObject<{
|
|
4594
|
+
key: z.ZodString;
|
|
4595
|
+
label: z.ZodString;
|
|
4596
|
+
type: z.ZodString;
|
|
4597
|
+
value: z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodArray<z.ZodString>]>;
|
|
4598
|
+
}, z.core.$strip>>;
|
|
4599
|
+
}, z.core.$strip>>;
|
|
4088
4600
|
progress: z.ZodOptional<z.ZodBoolean>;
|
|
4089
4601
|
fields: z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull, z.ZodArray<z.ZodString>]>>;
|
|
4090
4602
|
}, z.core.$strip>;
|
|
@@ -4108,9 +4620,17 @@ declare const flowActionResultSchema: z.ZodObject<{
|
|
|
4108
4620
|
type: z.ZodString;
|
|
4109
4621
|
required: z.ZodBoolean;
|
|
4110
4622
|
label: z.ZodString;
|
|
4623
|
+
placeholder: z.ZodOptional<z.ZodString>;
|
|
4111
4624
|
maxLength: z.ZodOptional<z.ZodNumber>;
|
|
4112
4625
|
maxFiles: z.ZodOptional<z.ZodNumber>;
|
|
4113
|
-
options: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodNumber
|
|
4626
|
+
options: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodObject<{
|
|
4627
|
+
value: z.ZodString;
|
|
4628
|
+
label: z.ZodString;
|
|
4629
|
+
}, z.core.$strip>]>>>;
|
|
4630
|
+
when: z.ZodOptional<z.ZodObject<{
|
|
4631
|
+
key: z.ZodString;
|
|
4632
|
+
in: z.ZodArray<z.ZodString>;
|
|
4633
|
+
}, z.core.$strip>>;
|
|
4114
4634
|
}, z.core.$strip>>>;
|
|
4115
4635
|
partialQuantity: z.ZodOptional<z.ZodUnion<readonly [z.ZodBoolean, z.ZodLiteral<"UNIT">]>>;
|
|
4116
4636
|
}, z.core.$strip>>;
|
|
@@ -4230,6 +4750,16 @@ declare const myOrderItemSchema: z.ZodObject<{
|
|
|
4230
4750
|
enteredAt: z.ZodString;
|
|
4231
4751
|
deadlineAt: z.ZodOptional<z.ZodString>;
|
|
4232
4752
|
attachments: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
4753
|
+
earlierAttachments: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
4754
|
+
inputs: z.ZodOptional<z.ZodObject<{
|
|
4755
|
+
by: z.ZodString;
|
|
4756
|
+
values: z.ZodArray<z.ZodObject<{
|
|
4757
|
+
key: z.ZodString;
|
|
4758
|
+
label: z.ZodString;
|
|
4759
|
+
type: z.ZodString;
|
|
4760
|
+
value: z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodArray<z.ZodString>]>;
|
|
4761
|
+
}, z.core.$strip>>;
|
|
4762
|
+
}, z.core.$strip>>;
|
|
4233
4763
|
progress: z.ZodOptional<z.ZodBoolean>;
|
|
4234
4764
|
fields: z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull, z.ZodArray<z.ZodString>]>>;
|
|
4235
4765
|
}, z.core.$strip>>;
|
|
@@ -4253,9 +4783,17 @@ declare const myOrderItemSchema: z.ZodObject<{
|
|
|
4253
4783
|
type: z.ZodString;
|
|
4254
4784
|
required: z.ZodBoolean;
|
|
4255
4785
|
label: z.ZodString;
|
|
4786
|
+
placeholder: z.ZodOptional<z.ZodString>;
|
|
4256
4787
|
maxLength: z.ZodOptional<z.ZodNumber>;
|
|
4257
4788
|
maxFiles: z.ZodOptional<z.ZodNumber>;
|
|
4258
|
-
options: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodNumber
|
|
4789
|
+
options: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodObject<{
|
|
4790
|
+
value: z.ZodString;
|
|
4791
|
+
label: z.ZodString;
|
|
4792
|
+
}, z.core.$strip>]>>>;
|
|
4793
|
+
when: z.ZodOptional<z.ZodObject<{
|
|
4794
|
+
key: z.ZodString;
|
|
4795
|
+
in: z.ZodArray<z.ZodString>;
|
|
4796
|
+
}, z.core.$strip>>;
|
|
4259
4797
|
}, z.core.$strip>>>;
|
|
4260
4798
|
partialQuantity: z.ZodOptional<z.ZodUnion<readonly [z.ZodBoolean, z.ZodLiteral<"UNIT">]>>;
|
|
4261
4799
|
}, z.core.$strip>>>;
|
|
@@ -4276,9 +4814,78 @@ declare const myOrderItemSchema: z.ZodObject<{
|
|
|
4276
4814
|
enteredAt: z.ZodString;
|
|
4277
4815
|
deadlineAt: z.ZodOptional<z.ZodString>;
|
|
4278
4816
|
attachments: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
4817
|
+
earlierAttachments: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
4818
|
+
inputs: z.ZodOptional<z.ZodObject<{
|
|
4819
|
+
by: z.ZodString;
|
|
4820
|
+
values: z.ZodArray<z.ZodObject<{
|
|
4821
|
+
key: z.ZodString;
|
|
4822
|
+
label: z.ZodString;
|
|
4823
|
+
type: z.ZodString;
|
|
4824
|
+
value: z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodArray<z.ZodString>]>;
|
|
4825
|
+
}, z.core.$strip>>;
|
|
4826
|
+
}, z.core.$strip>>;
|
|
4279
4827
|
progress: z.ZodOptional<z.ZodBoolean>;
|
|
4280
4828
|
fields: z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull, z.ZodArray<z.ZodString>]>>;
|
|
4281
4829
|
}, z.core.$strip>>>;
|
|
4830
|
+
step: z.ZodOptional<z.ZodObject<{
|
|
4831
|
+
type: z.ZodString;
|
|
4832
|
+
label: z.ZodString;
|
|
4833
|
+
message: z.ZodOptional<z.ZodString>;
|
|
4834
|
+
deadlineAt: z.ZodOptional<z.ZodString>;
|
|
4835
|
+
attachments: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
4836
|
+
earlierAttachments: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
4837
|
+
inputs: z.ZodOptional<z.ZodObject<{
|
|
4838
|
+
by: z.ZodString;
|
|
4839
|
+
values: z.ZodArray<z.ZodObject<{
|
|
4840
|
+
key: z.ZodString;
|
|
4841
|
+
label: z.ZodString;
|
|
4842
|
+
type: z.ZodString;
|
|
4843
|
+
value: z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodArray<z.ZodString>]>;
|
|
4844
|
+
}, z.core.$strip>>;
|
|
4845
|
+
}, z.core.$strip>>;
|
|
4846
|
+
actions: z.ZodArray<z.ZodObject<{
|
|
4847
|
+
key: z.ZodString;
|
|
4848
|
+
label: z.ZodString;
|
|
4849
|
+
mode: z.ZodEnum<{
|
|
4850
|
+
INSTANT: "INSTANT";
|
|
4851
|
+
REQUEST: "REQUEST";
|
|
4852
|
+
VIEW: "VIEW";
|
|
4853
|
+
}>;
|
|
4854
|
+
enabled: z.ZodBoolean;
|
|
4855
|
+
disabled: z.ZodOptional<z.ZodObject<{
|
|
4856
|
+
reason: z.ZodString;
|
|
4857
|
+
message: z.ZodOptional<z.ZodString>;
|
|
4858
|
+
}, z.core.$strip>>;
|
|
4859
|
+
availableUntil: z.ZodOptional<z.ZodString>;
|
|
4860
|
+
subflow: z.ZodOptional<z.ZodString>;
|
|
4861
|
+
input: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
4862
|
+
key: z.ZodString;
|
|
4863
|
+
type: z.ZodString;
|
|
4864
|
+
required: z.ZodBoolean;
|
|
4865
|
+
label: z.ZodString;
|
|
4866
|
+
placeholder: z.ZodOptional<z.ZodString>;
|
|
4867
|
+
maxLength: z.ZodOptional<z.ZodNumber>;
|
|
4868
|
+
maxFiles: z.ZodOptional<z.ZodNumber>;
|
|
4869
|
+
options: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodObject<{
|
|
4870
|
+
value: z.ZodString;
|
|
4871
|
+
label: z.ZodString;
|
|
4872
|
+
}, z.core.$strip>]>>>;
|
|
4873
|
+
when: z.ZodOptional<z.ZodObject<{
|
|
4874
|
+
key: z.ZodString;
|
|
4875
|
+
in: z.ZodArray<z.ZodString>;
|
|
4876
|
+
}, z.core.$strip>>;
|
|
4877
|
+
}, z.core.$strip>>>;
|
|
4878
|
+
partialQuantity: z.ZodOptional<z.ZodUnion<readonly [z.ZodBoolean, z.ZodLiteral<"UNIT">]>>;
|
|
4879
|
+
}, z.core.$strip>>;
|
|
4880
|
+
data: z.ZodOptional<z.ZodObject<{
|
|
4881
|
+
delivery: z.ZodOptional<z.ZodObject<{
|
|
4882
|
+
carrierName: z.ZodNullable<z.ZodString>;
|
|
4883
|
+
trackingNumber: z.ZodNullable<z.ZodString>;
|
|
4884
|
+
trackingUrl: z.ZodNullable<z.ZodString>;
|
|
4885
|
+
dispatchedAt: z.ZodString;
|
|
4886
|
+
}, z.core.$strip>>;
|
|
4887
|
+
}, z.core.$strip>>;
|
|
4888
|
+
}, z.core.$strip>>;
|
|
4282
4889
|
optionSelections: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
4283
4890
|
kind: z.ZodString;
|
|
4284
4891
|
groupName: z.ZodString;
|
|
@@ -4407,6 +5014,16 @@ declare const myOrderSchema: z.ZodObject<{
|
|
|
4407
5014
|
enteredAt: z.ZodString;
|
|
4408
5015
|
deadlineAt: z.ZodOptional<z.ZodString>;
|
|
4409
5016
|
attachments: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
5017
|
+
earlierAttachments: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
5018
|
+
inputs: z.ZodOptional<z.ZodObject<{
|
|
5019
|
+
by: z.ZodString;
|
|
5020
|
+
values: z.ZodArray<z.ZodObject<{
|
|
5021
|
+
key: z.ZodString;
|
|
5022
|
+
label: z.ZodString;
|
|
5023
|
+
type: z.ZodString;
|
|
5024
|
+
value: z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodArray<z.ZodString>]>;
|
|
5025
|
+
}, z.core.$strip>>;
|
|
5026
|
+
}, z.core.$strip>>;
|
|
4410
5027
|
progress: z.ZodOptional<z.ZodBoolean>;
|
|
4411
5028
|
fields: z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull, z.ZodArray<z.ZodString>]>>;
|
|
4412
5029
|
}, z.core.$strip>>;
|
|
@@ -4430,9 +5047,17 @@ declare const myOrderSchema: z.ZodObject<{
|
|
|
4430
5047
|
type: z.ZodString;
|
|
4431
5048
|
required: z.ZodBoolean;
|
|
4432
5049
|
label: z.ZodString;
|
|
5050
|
+
placeholder: z.ZodOptional<z.ZodString>;
|
|
4433
5051
|
maxLength: z.ZodOptional<z.ZodNumber>;
|
|
4434
5052
|
maxFiles: z.ZodOptional<z.ZodNumber>;
|
|
4435
|
-
options: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodNumber
|
|
5053
|
+
options: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodObject<{
|
|
5054
|
+
value: z.ZodString;
|
|
5055
|
+
label: z.ZodString;
|
|
5056
|
+
}, z.core.$strip>]>>>;
|
|
5057
|
+
when: z.ZodOptional<z.ZodObject<{
|
|
5058
|
+
key: z.ZodString;
|
|
5059
|
+
in: z.ZodArray<z.ZodString>;
|
|
5060
|
+
}, z.core.$strip>>;
|
|
4436
5061
|
}, z.core.$strip>>>;
|
|
4437
5062
|
partialQuantity: z.ZodOptional<z.ZodUnion<readonly [z.ZodBoolean, z.ZodLiteral<"UNIT">]>>;
|
|
4438
5063
|
}, z.core.$strip>>>;
|
|
@@ -4453,9 +5078,78 @@ declare const myOrderSchema: z.ZodObject<{
|
|
|
4453
5078
|
enteredAt: z.ZodString;
|
|
4454
5079
|
deadlineAt: z.ZodOptional<z.ZodString>;
|
|
4455
5080
|
attachments: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
5081
|
+
earlierAttachments: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
5082
|
+
inputs: z.ZodOptional<z.ZodObject<{
|
|
5083
|
+
by: z.ZodString;
|
|
5084
|
+
values: z.ZodArray<z.ZodObject<{
|
|
5085
|
+
key: z.ZodString;
|
|
5086
|
+
label: z.ZodString;
|
|
5087
|
+
type: z.ZodString;
|
|
5088
|
+
value: z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodArray<z.ZodString>]>;
|
|
5089
|
+
}, z.core.$strip>>;
|
|
5090
|
+
}, z.core.$strip>>;
|
|
4456
5091
|
progress: z.ZodOptional<z.ZodBoolean>;
|
|
4457
5092
|
fields: z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull, z.ZodArray<z.ZodString>]>>;
|
|
4458
5093
|
}, z.core.$strip>>>;
|
|
5094
|
+
step: z.ZodOptional<z.ZodObject<{
|
|
5095
|
+
type: z.ZodString;
|
|
5096
|
+
label: z.ZodString;
|
|
5097
|
+
message: z.ZodOptional<z.ZodString>;
|
|
5098
|
+
deadlineAt: z.ZodOptional<z.ZodString>;
|
|
5099
|
+
attachments: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
5100
|
+
earlierAttachments: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
5101
|
+
inputs: z.ZodOptional<z.ZodObject<{
|
|
5102
|
+
by: z.ZodString;
|
|
5103
|
+
values: z.ZodArray<z.ZodObject<{
|
|
5104
|
+
key: z.ZodString;
|
|
5105
|
+
label: z.ZodString;
|
|
5106
|
+
type: z.ZodString;
|
|
5107
|
+
value: z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodArray<z.ZodString>]>;
|
|
5108
|
+
}, z.core.$strip>>;
|
|
5109
|
+
}, z.core.$strip>>;
|
|
5110
|
+
actions: z.ZodArray<z.ZodObject<{
|
|
5111
|
+
key: z.ZodString;
|
|
5112
|
+
label: z.ZodString;
|
|
5113
|
+
mode: z.ZodEnum<{
|
|
5114
|
+
INSTANT: "INSTANT";
|
|
5115
|
+
REQUEST: "REQUEST";
|
|
5116
|
+
VIEW: "VIEW";
|
|
5117
|
+
}>;
|
|
5118
|
+
enabled: z.ZodBoolean;
|
|
5119
|
+
disabled: z.ZodOptional<z.ZodObject<{
|
|
5120
|
+
reason: z.ZodString;
|
|
5121
|
+
message: z.ZodOptional<z.ZodString>;
|
|
5122
|
+
}, z.core.$strip>>;
|
|
5123
|
+
availableUntil: z.ZodOptional<z.ZodString>;
|
|
5124
|
+
subflow: z.ZodOptional<z.ZodString>;
|
|
5125
|
+
input: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
5126
|
+
key: z.ZodString;
|
|
5127
|
+
type: z.ZodString;
|
|
5128
|
+
required: z.ZodBoolean;
|
|
5129
|
+
label: z.ZodString;
|
|
5130
|
+
placeholder: z.ZodOptional<z.ZodString>;
|
|
5131
|
+
maxLength: z.ZodOptional<z.ZodNumber>;
|
|
5132
|
+
maxFiles: z.ZodOptional<z.ZodNumber>;
|
|
5133
|
+
options: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodObject<{
|
|
5134
|
+
value: z.ZodString;
|
|
5135
|
+
label: z.ZodString;
|
|
5136
|
+
}, z.core.$strip>]>>>;
|
|
5137
|
+
when: z.ZodOptional<z.ZodObject<{
|
|
5138
|
+
key: z.ZodString;
|
|
5139
|
+
in: z.ZodArray<z.ZodString>;
|
|
5140
|
+
}, z.core.$strip>>;
|
|
5141
|
+
}, z.core.$strip>>>;
|
|
5142
|
+
partialQuantity: z.ZodOptional<z.ZodUnion<readonly [z.ZodBoolean, z.ZodLiteral<"UNIT">]>>;
|
|
5143
|
+
}, z.core.$strip>>;
|
|
5144
|
+
data: z.ZodOptional<z.ZodObject<{
|
|
5145
|
+
delivery: z.ZodOptional<z.ZodObject<{
|
|
5146
|
+
carrierName: z.ZodNullable<z.ZodString>;
|
|
5147
|
+
trackingNumber: z.ZodNullable<z.ZodString>;
|
|
5148
|
+
trackingUrl: z.ZodNullable<z.ZodString>;
|
|
5149
|
+
dispatchedAt: z.ZodString;
|
|
5150
|
+
}, z.core.$strip>>;
|
|
5151
|
+
}, z.core.$strip>>;
|
|
5152
|
+
}, z.core.$strip>>;
|
|
4459
5153
|
optionSelections: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
4460
5154
|
kind: z.ZodString;
|
|
4461
5155
|
groupName: z.ZodString;
|
|
@@ -4602,123 +5296,6 @@ declare const memberPointEntryPageSchema: z.ZodObject<{
|
|
|
4602
5296
|
}, z.core.$strip>>;
|
|
4603
5297
|
}, z.core.$strip>;
|
|
4604
5298
|
//#endregion
|
|
4605
|
-
//#region src/schemas/product-options.d.ts
|
|
4606
|
-
/**
|
|
4607
|
-
* 추가 선택·직접 입력 (이슈 #59) — 상품 상세의 옵션 표시, 장바구니 담기·바로 구매 요청, 줄 스냅샷의 공통 모양.
|
|
4608
|
-
*
|
|
4609
|
-
* 추가 선택은 재고가 없는 옵션이다. 구매자가 조합(옵션이 없으면 상품)을 고른 뒤 옵션명마다 값 하나를 더 고르고, 값의 추가금이
|
|
4610
|
-
* 단가에 더해진다. 직접 입력은 구매자가 글자를 적는 항목(각인 문구 등)이다. 추가 선택 값이나 직접 입력값이 다르면 장바구니에서 다른 줄이다.
|
|
4611
|
-
*/
|
|
4612
|
-
declare const addonGroupViewSchema: z.ZodObject<{
|
|
4613
|
-
groupId: z.ZodString;
|
|
4614
|
-
name: z.ZodString;
|
|
4615
|
-
required: z.ZodBoolean;
|
|
4616
|
-
values: z.ZodArray<z.ZodObject<{
|
|
4617
|
-
valueId: z.ZodString;
|
|
4618
|
-
name: z.ZodString;
|
|
4619
|
-
additionalPrice: z.ZodNumber;
|
|
4620
|
-
}, z.core.$strip>>;
|
|
4621
|
-
}, z.core.$strip>;
|
|
4622
|
-
type AddonGroupView = z.infer<typeof addonGroupViewSchema>;
|
|
4623
|
-
declare const customInputViewSchema: z.ZodObject<{
|
|
4624
|
-
inputId: z.ZodString;
|
|
4625
|
-
label: z.ZodString;
|
|
4626
|
-
placeholder: z.ZodNullable<z.ZodString>;
|
|
4627
|
-
maxLength: z.ZodNumber;
|
|
4628
|
-
required: z.ZodBoolean;
|
|
4629
|
-
key: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
4630
|
-
type: z.ZodOptional<z.ZodString>;
|
|
4631
|
-
options: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
|
|
4632
|
-
}, z.core.$strip>;
|
|
4633
|
-
type CustomInputView = z.infer<typeof customInputViewSchema>;
|
|
4634
|
-
/**
|
|
4635
|
-
* 직접 입력값을 타입대로 검사하고 저장할 모양으로 바꾼다(정규화 뒤 값). 서버 판정(400 `CUSTOM_INPUT_INVALID`)과 스토어프론트
|
|
4636
|
-
* 입력 검사가 이 함수 하나를 쓴다. 모르는 타입은 `text`로 본다. 맞지 않으면 null
|
|
4637
|
-
*/
|
|
4638
|
-
declare function parseCustomInputValue(type: string | null | undefined, options: readonly string[] | null | undefined, raw: string): string | null;
|
|
4639
|
-
/**
|
|
4640
|
-
* 직접 입력값 정규화 — NFC로 모으고, 제어 문자(C0·C1·줄바꿈·줄·문단 구분자)는 공백으로, 제로폭·양방향 제어 문자는 지운 뒤
|
|
4641
|
-
* 앞뒤 공백을 지운다. 서버가 저장하는 값이 이것이다. 빈 문자열이면 입력하지 않은 것으로 본다.
|
|
4642
|
-
* (양방향 제어 문자를 두면 셀러 주문 화면의 각인 문구가 뒤집혀 보이게 할 수 있다.)
|
|
4643
|
-
*/
|
|
4644
|
-
declare function normalizeCustomInputValue(value: string): string;
|
|
4645
|
-
/**
|
|
4646
|
-
* 직접 입력값의 글자 수 — 정규화한 값의 **코드 포인트 수**다(이모지 하나가 1자). 서버의 최대 글자 수 판정(`CUSTOM_INPUT_TOO_LONG`)과
|
|
4647
|
-
* 스토어프론트·상점 플랫폼의 글자 수 표시가 이 함수 하나를 쓴다. `String.length`(UTF-16)로 세면 이모지가 2자로 세어 판정이 갈린다.
|
|
4648
|
-
*/
|
|
4649
|
-
declare function customInputLength(value: string): number;
|
|
4650
|
-
/** 담기·바로 구매 요청의 직접 입력값 한 칸. 앞뒤 공백을 지우고, 빈 값은 입력하지 않은 것으로 본다 */
|
|
4651
|
-
declare const customInputEntrySchema: z.ZodObject<{
|
|
4652
|
-
inputId: z.ZodString;
|
|
4653
|
-
value: z.ZodString;
|
|
4654
|
-
}, z.core.$strip>;
|
|
4655
|
-
type CustomInputEntry = z.infer<typeof customInputEntrySchema>;
|
|
4656
|
-
/** 고른 추가 선택 한 칸 — 옵션명(`groupId`)과 그 옵션명의 값(`valueId`) */
|
|
4657
|
-
declare const addonSelectionSchema: z.ZodObject<{
|
|
4658
|
-
groupId: z.ZodString;
|
|
4659
|
-
valueId: z.ZodString;
|
|
4660
|
-
}, z.core.$strip>;
|
|
4661
|
-
type AddonSelection = z.infer<typeof addonSelectionSchema>;
|
|
4662
|
-
/** 요청의 추가 선택·직접 입력 필드 — 담기·장바구니 수정·바로 구매가 같은 이름을 쓴다 */
|
|
4663
|
-
declare const lineSelectionRequestShape: {
|
|
4664
|
-
addons: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
4665
|
-
groupId: z.ZodString;
|
|
4666
|
-
valueId: z.ZodString;
|
|
4667
|
-
}, z.core.$strip>>>;
|
|
4668
|
-
customInputs: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
4669
|
-
inputId: z.ZodString;
|
|
4670
|
-
value: z.ZodString;
|
|
4671
|
-
}, z.core.$strip>>>;
|
|
4672
|
-
stay: z.ZodOptional<z.ZodObject<{
|
|
4673
|
-
checkIn: z.ZodString;
|
|
4674
|
-
checkOut: z.ZodString;
|
|
4675
|
-
}, z.core.$strip>>;
|
|
4676
|
-
};
|
|
4677
|
-
/** 줄의 옵션 선택 스냅샷 한 칸 — 조합 옵션은 옵션명마다 한 칸이고 추가금이 0이다(조합 추가금은 단가에 들어 있다) */
|
|
4678
|
-
declare const optionSelectionViewSchema: z.ZodObject<{
|
|
4679
|
-
kind: z.ZodString;
|
|
4680
|
-
groupName: z.ZodString;
|
|
4681
|
-
valueName: z.ZodString;
|
|
4682
|
-
additionalPrice: z.ZodNumber;
|
|
4683
|
-
}, z.core.$strip>;
|
|
4684
|
-
type OptionSelectionView = z.infer<typeof optionSelectionViewSchema>;
|
|
4685
|
-
declare const customInputValueViewSchema: z.ZodObject<{
|
|
4686
|
-
label: z.ZodString;
|
|
4687
|
-
value: z.ZodString;
|
|
4688
|
-
key: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
4689
|
-
type: z.ZodOptional<z.ZodString>;
|
|
4690
|
-
}, z.core.$strip>;
|
|
4691
|
-
type CustomInputValueView = z.infer<typeof customInputValueViewSchema>;
|
|
4692
|
-
/** 응답 줄의 표시 필드 — 장바구니·주문서·주문상품이 같은 이름을 쓴다 */
|
|
4693
|
-
declare const lineSelectionResponseShape: {
|
|
4694
|
-
optionSelections: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
4695
|
-
kind: z.ZodString;
|
|
4696
|
-
groupName: z.ZodString;
|
|
4697
|
-
valueName: z.ZodString;
|
|
4698
|
-
additionalPrice: z.ZodNumber;
|
|
4699
|
-
}, z.core.$strip>>>>;
|
|
4700
|
-
customInputs: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
4701
|
-
label: z.ZodString;
|
|
4702
|
-
value: z.ZodString;
|
|
4703
|
-
key: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
4704
|
-
type: z.ZodOptional<z.ZodString>;
|
|
4705
|
-
}, z.core.$strip>>>>;
|
|
4706
|
-
stay: z.ZodOptional<z.ZodObject<{
|
|
4707
|
-
checkIn: z.ZodString;
|
|
4708
|
-
checkOut: z.ZodString;
|
|
4709
|
-
nights: z.ZodArray<z.ZodObject<{
|
|
4710
|
-
date: z.ZodString;
|
|
4711
|
-
price: z.ZodNumber;
|
|
4712
|
-
}, z.core.$strip>>;
|
|
4713
|
-
}, z.core.$strip>>;
|
|
4714
|
-
};
|
|
4715
|
-
/** 주문 입력 이미지 업로드 자리 요청(#115 E4) — 파일명은 확장자만 쓰인다 */
|
|
4716
|
-
declare const orderInputUploadRequestSchema: z.ZodObject<{
|
|
4717
|
-
filename: z.ZodString;
|
|
4718
|
-
size: z.ZodOptional<z.ZodNumber>;
|
|
4719
|
-
}, z.core.$strip>;
|
|
4720
|
-
type OrderInputUploadRequest = z.infer<typeof orderInputUploadRequestSchema>;
|
|
4721
|
-
//#endregion
|
|
4722
5299
|
//#region src/schemas/stay.d.ts
|
|
4723
5300
|
/**
|
|
4724
5301
|
* 숙박 기간·날짜별 달력(이슈 #118) — 날짜별 재고 상품(상품 상세 `inventoryMode: "DATED"`)은 담기·바로 구매에 기간을 함께 보내고,
|
|
@@ -4783,4 +5360,4 @@ declare const storefrontStoreSchema: z.ZodObject<{
|
|
|
4783
5360
|
}, z.core.$strip>;
|
|
4784
5361
|
type StorefrontStore = z.infer<typeof storefrontStoreSchema>;
|
|
4785
5362
|
//#endregion
|
|
4786
|
-
export {
|
|
5363
|
+
export { ANALYTICS_VISITOR_HEADER as $, storefrontCollectionSchema as $i, storefrontCouponListQuerySchema as $n, RetryPaymentRequest as $r, customInputEntrySchema as $t, FlowAction as A, CategoryNode as Ai, createCustomerInquiryRequestSchema as An, CashReceiptType as Ar, WritableReview as At, flowActionRequestSchema as B, StorefrontCollection as Bi, MyCoupon as Bn, KnownPaymentStatus as Br, updateReviewRequestSchema as Bt, myOrderSchema as C, addCartItemRequestSchema as Ca, pgProviderSchema as Ci, createInquiryRequestSchema as Cn, createClaimRequestSchema as Cr, PublicReview as Ct, commerceNumberField as D, analyticsIdsFromCookie as Da, retryPaymentRequestSchema as Di, CreateCustomerInquiryRequest as Dn, CASH_RECEIPT_METHODS as Dr, UpdateReviewRequest as Dt, trackingStageResponseSchema as E, updateCartItemRequestSchema as Ea, responsePaymentMethodSchema as Ei, publicInquirySchema as En, AvailablePaymentOption as Er, ReviewSummary as Et, FlowState as F, ProductDetail as Fi, CheckoutPricingRequest as Fn, DeliveryQuoteResult as Fr, productReviewSortSchema as Ft, flowStateSchema as G, collectionProductSortSchema as Gi, checkoutPricingSchema as Gn, PaymentMessage as Gr, AddonSelection as Gt, flowActionSchema as H, categoryNodeSchema as Hi, StorefrontCouponListParams as Hn, PAYMENT_START_STATUS_VALUES as Hr, uploadTicketSchema as Ht, GuestFlowActionRequest as I, ProductFacets as Ii, CouponApplication as In, EasyPayProvider as Ir, publicReviewSchema as It, orderStepSchema as J, productFacetsSchema as Ji, couponBenefitViewSchema as Jn, PaymentStart as Jr, CustomInputView as Jt, guestFlowActionRequestSchema as K, productCardSchema as Ki, couponApplicationListSchema as Kn, PaymentMethod as Kr, CustomInputEntry as Kt, ORDER_STEP_TYPES as L, ProductPage as Li, CouponResult as Ln, GuestInfo as Lr, reviewImageUploadRequestSchema as Lt, FlowActionResult as M, CollectionProductParams as Mi, customerInquirySchema as Mn, CheckoutSession as Mr, createReviewResultSchema as Mt, FlowFieldValue as N, CollectionProductSortParam as Ni, ApplicableCoupon as Nn, CreateCheckoutRequest as Nr, myReviewSchema as Nt, formatOrderNo as O, shippingAddressInputSchema as Oi, CustomerInquiry as On, CashReceiptIdentityType as Or, UpdateReviewResult as Ot, FlowInputField as P, ProductCard as Pi, CheckoutPricing as Pn, DeliveryQuoteRequest as Pr, productReviewQuerySchema as Pt, ANALYTICS_VISITOR_COOKIE as Q, storefrontCollectionListQuerySchema as Qi, pricingAmountsSchema as Qn, ResponsePaymentMethod as Qr, addonSelectionSchema as Qt, OrderFlowActionResult as R, ProductSearchParams as Ri, MAX_COUPONS_PER_CHECKOUT as Rn, KnownPaymentResult as Rr, reviewPageSchema as Rt, myOrderItemSchema as S, UpdateCartItemRequest as Sa, paymentStatusSchema as Si, PublicInquiry as Sn, claimTypeSchema as Sr, ProductReviewSort as St, purchaseDecisionResultSchema as T, cartSchema as Ta, residentNumberLike as Ti, productInquiryCategorySchema as Tn, myClaimSchema as Tr, ReviewPage as Tt, flowFieldValueSchema as U, collectionProductPageSchema as Ui, applicableCouponSchema as Un, PAYMENT_STATUS_VALUES as Ur, writableReviewSchema as Ut, flowActionResultSchema as V, StorefrontCollectionDetail as Vi, StorefrontCoupon as Vn, PAYMENT_RESULT_VALUES as Vr, updateReviewResultSchema as Vt, flowInputFieldSchema as W, collectionProductQuerySchema as Wi, checkoutPricingRequestSchema as Wn, PaymentFailureCategory as Wr, AddonGroupView as Wt, ANALYTICS_SESSION_COOKIE as X, productSortSchema as Xi, myCouponListQuerySchema as Xn, PgProvider as Xr, OrderInputUploadRequest as Xt, ANALYTICS_MAX_BATCH_BYTES as Y, productPageSchema as Yi, couponResultSchema as Yn, PaymentStatus as Yr, OptionSelectionView as Yt, ANALYTICS_SESSION_HEADER as Z, storefrontCollectionDetailSchema as Zi, myCouponSchema as Zn, RemoteArea as Zr, addonGroupViewSchema as Zt, MyOrder as _, productCardFulfillmentSchema as _a, paymentMethodSchema as _i, updateProfileRequestSchema as _n, CreateClaimRequest as _r, createStorefrontSession as _t, StayView as a, orderItemStatusSchema as aa, cashReceiptRequestSchema as ai, normalizeCustomInputValue as an, ConsentState as ar, analyticsBatchSchema as at, PurchaseDecisionResult as b, Cart as ba, paymentOptionSchema as bi, CreateInquiryResult as bn, claimReasonSchema as br, MyReview as bt, stayViewSchema as c, LineFulfillment as ca, checkoutSessionSchema as ci, parseCustomInputValue as cn, consentActionSchema as cr, analyticsIdSchema as ct, StorefrontPointPolicy as d, ProductCardFulfillment as da, deliveryQuoteSchema as di, MemberAddressRequest as dn, consentStateSchema as dr, StorefrontClientOptions as dt, ClaimStatus as ea, ShippingAddressInput as ei, customInputLength as en, storefrontCouponSchema as er, AnalyticsBatch as et, memberPointEntryPageSchema as f, ProductFulfillmentView as fa, easyPayProviderResponseSchema as fi, UpdateProfileRequest as fn, consentUpdateRequestSchema as fr, createStorefrontClient as ft, DeliveryTracking as g, pickupLocationViewSchema as ga, paymentMessageSchema as gi, memberSchema as gn, ClaimType as gr, StorefrontSessionOptions as gt, storefrontPointPolicySchema as h, myOrderItemFulfillmentSnapshotSchema as ha, paymentFailureCategorySchema as hi, memberAddressSchema as hn, ClaimReturnAddress as hr, StorefrontSession as ht, StayRequest as i, claimStatusSchema as ia, cashReceiptIdentityTypeOf as ii, lineSelectionResponseShape as in, ConsentSource as ir, AnalyticsServerEventName as it, FlowActionRequest as j, CollectionProductPage as ji, customerInquiryCategorySchema as jn, CheckoutDelivery as jr, createReviewRequestSchema as jt, parseOrderNo as k, startPaymentRequestSchema as ki, CustomerInquiryCategory as kn, CashReceiptRequest as kr, UploadTicket as kt, MemberPointEntry as l, MyOrderItemFulfillmentSnapshot as la, createCheckoutRequestSchema as li, Member as ln, consentKindSchema as lr, analyticsServerEventNameSchema as lt, memberPointsSchema as m, lineFulfillmentSchema as ma, guestInfoSchema as mi, memberAddressRequestSchema as mn, ClaimReason as mr, SessionStorage as mt, storefrontStoreSchema as n, PageInfo as na, availablePaymentOptionSchema as ni, customInputViewSchema as nn, ConsentAction as nr, AnalyticsClientEventName as nt, calendarDayViewSchema as o, pageInfoSchema as oa, cashReceiptTypeSchema as oi, optionSelectionViewSchema as on, ConsentUpdateRequest as or, analyticsClientEventNameSchema as ot, memberPointEntrySchema as p, UnknownFulfillmentView as pa, easyPayProviderSchema as pi, WishlistAddResult as pn, memberConsentsSchema as pr, STOREFRONT_SESSION_KEYS as pt, orderFlowActionResultSchema as q, productDetailSchema as qi, couponApplicationSchema as qn, PaymentOption as qr, CustomInputValueView as qt, CalendarDayView as r, PageParams as ra, cashReceiptAvailable as ri, lineSelectionRequestShape as rn, ConsentKind as rr, AnalyticsEventName as rt, stayRequestSchema as s, pageSchema as sa, checkoutDeliverySchema as si, orderInputUploadRequestSchema as sn, MemberConsents as sr, analyticsClientEventSchema as st, StorefrontStore as t, OrderItemStatus as ta, StartPaymentRequest as ti, customInputValueViewSchema as tn, storefrontCouponTargetSchema as tr, AnalyticsClientEvent as tt, MemberPoints as u, PickupLocationView as ua, deliveryQuoteRequestSchema as ui, MemberAddress as un, consentSourceSchema as ur, StorefrontClient as ut, MyOrderItem as v, productFulfillmentViewSchema as va, paymentOptionKey as vi, wishlistAddResultSchema as vn, CreateClaimResult as vr, CreateReviewRequest as vt, orderShippingAddressSchema as w, cartItemSchema as wa, remoteAreaSchema as wi, createInquiryResultSchema as wn, createClaimResultSchema as wr, ReviewImageUploadRequest as wt, deliveryTrackingSchema as x, CartItem as xa, paymentStartSchema as xi, ProductInquiryCategory as xn, claimReturnAddressSchema as xr, ProductReviewParams as xt, OrderShippingAddress as y, AddCartItemRequest as ya, paymentOptionListSchema as yi, CreateInquiryRequest as yn, MyClaim as yr, CreateReviewResult as yt, OrderStep as z, ProductSort as zi, MIN_PAYMENT_AMOUNT as zn, KnownPaymentStartStatus as zr, reviewSummarySchema as zt };
|