@sayren/store-sdk 0.60.2 → 0.62.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.d.mts CHANGED
@@ -216,11 +216,11 @@ export declare const writeDryRunResultSchema: z$1.ZodObject<{
216
216
  }, z$1.core.$strip>;
217
217
  export type WriteDryRunResult = z$1.infer<typeof writeDryRunResultSchema>;
218
218
  export declare const approvalStatusSchema: z$1.ZodEnum<{
219
- UNKNOWN: "UNKNOWN";
220
219
  PENDING: "PENDING";
221
220
  FAILED: "FAILED";
222
221
  SUCCEEDED: "SUCCEEDED";
223
222
  EXECUTING: "EXECUTING";
223
+ UNKNOWN: "UNKNOWN";
224
224
  REJECTED: "REJECTED";
225
225
  EXPIRED: "EXPIRED";
226
226
  }>;
@@ -228,11 +228,11 @@ export type ApprovalStatus = z$1.infer<typeof approvalStatusSchema>;
228
228
  export declare const approvalRequestSchema: z$1.ZodObject<{
229
229
  approvalId: z$1.ZodString;
230
230
  status: z$1.ZodEnum<{
231
- UNKNOWN: "UNKNOWN";
232
231
  PENDING: "PENDING";
233
232
  FAILED: "FAILED";
234
233
  SUCCEEDED: "SUCCEEDED";
235
234
  EXECUTING: "EXECUTING";
235
+ UNKNOWN: "UNKNOWN";
236
236
  REJECTED: "REJECTED";
237
237
  EXPIRED: "EXPIRED";
238
238
  }>;
@@ -292,11 +292,11 @@ export declare const approvalRequestSchema: z$1.ZodObject<{
292
292
  export type ApprovalRequest = z$1.infer<typeof approvalRequestSchema>;
293
293
  export declare const approvalListQuerySchema: z$1.ZodObject<{
294
294
  status: z$1.ZodOptional<z$1.ZodPipe<z$1.ZodPipe<z$1.ZodUnion<readonly [z$1.ZodString, z$1.ZodArray<z$1.ZodString>]>, z$1.ZodTransform<string[], string | string[]>>, z$1.ZodArray<z$1.ZodEnum<{
295
- UNKNOWN: "UNKNOWN";
296
295
  PENDING: "PENDING";
297
296
  FAILED: "FAILED";
298
297
  SUCCEEDED: "SUCCEEDED";
299
298
  EXECUTING: "EXECUTING";
299
+ UNKNOWN: "UNKNOWN";
300
300
  REJECTED: "REJECTED";
301
301
  EXPIRED: "EXPIRED";
302
302
  }>>>>;
@@ -311,11 +311,11 @@ export declare const approvalPageSchema: z$1.ZodObject<{
311
311
  items: z$1.ZodArray<z$1.ZodObject<{
312
312
  approvalId: z$1.ZodString;
313
313
  status: z$1.ZodEnum<{
314
- UNKNOWN: "UNKNOWN";
315
314
  PENDING: "PENDING";
316
315
  FAILED: "FAILED";
317
316
  SUCCEEDED: "SUCCEEDED";
318
317
  EXECUTING: "EXECUTING";
318
+ UNKNOWN: "UNKNOWN";
319
319
  REJECTED: "REJECTED";
320
320
  EXPIRED: "EXPIRED";
321
321
  }>;
@@ -2326,11 +2326,11 @@ export declare const analyticsTotalsSchema: z$1.ZodObject<{
2326
2326
  export type AnalyticsTotals = z$1.infer<typeof analyticsTotalsSchema>;
2327
2327
  export declare const analyticsFunnelStepSchema: z$1.ZodObject<{
2328
2328
  step: z$1.ZodEnum<{
2329
+ PURCHASE: "PURCHASE";
2329
2330
  SESSION: "SESSION";
2330
2331
  PRODUCT_VIEW: "PRODUCT_VIEW";
2331
2332
  ADD_TO_CART: "ADD_TO_CART";
2332
2333
  BEGIN_CHECKOUT: "BEGIN_CHECKOUT";
2333
- PURCHASE: "PURCHASE";
2334
2334
  }>;
2335
2335
  sessions: z$1.ZodNumber;
2336
2336
  rateFromPrevious: z$1.ZodNullable<z$1.ZodNumber>;
@@ -2355,11 +2355,11 @@ export declare const analyticsOverviewSchema: z$1.ZodObject<{
2355
2355
  }, z$1.core.$strip>;
2356
2356
  funnel: z$1.ZodArray<z$1.ZodObject<{
2357
2357
  step: z$1.ZodEnum<{
2358
+ PURCHASE: "PURCHASE";
2358
2359
  SESSION: "SESSION";
2359
2360
  PRODUCT_VIEW: "PRODUCT_VIEW";
2360
2361
  ADD_TO_CART: "ADD_TO_CART";
2361
2362
  BEGIN_CHECKOUT: "BEGIN_CHECKOUT";
2362
- PURCHASE: "PURCHASE";
2363
2363
  }>;
2364
2364
  sessions: z$1.ZodNumber;
2365
2365
  rateFromPrevious: z$1.ZodNullable<z$1.ZodNumber>;
@@ -2464,20 +2464,20 @@ export declare const analyticsProductsSchema: z$1.ZodObject<{
2464
2464
  }, z$1.core.$strip>;
2465
2465
  export type AnalyticsProducts = z$1.infer<typeof analyticsProductsSchema>;
2466
2466
  export declare const analyticsChannelSchema: z$1.ZodEnum<{
2467
+ PAID: "PAID";
2467
2468
  DIRECT: "DIRECT";
2469
+ CAMPAIGN: "CAMPAIGN";
2470
+ UNKNOWN: "UNKNOWN";
2468
2471
  ORGANIC_SEARCH: "ORGANIC_SEARCH";
2469
2472
  SOCIAL: "SOCIAL";
2470
- PAID: "PAID";
2471
2473
  EMAIL: "EMAIL";
2472
- CAMPAIGN: "CAMPAIGN";
2473
2474
  REFERRAL: "REFERRAL";
2474
- UNKNOWN: "UNKNOWN";
2475
2475
  }>;
2476
2476
  export type AnalyticsChannel = z$1.infer<typeof analyticsChannelSchema>;
2477
2477
  export declare const analyticsSourceGroupBySchema: z$1.ZodEnum<{
2478
- CAMPAIGN: "CAMPAIGN";
2479
2478
  CHANNEL: "CHANNEL";
2480
2479
  SOURCE: "SOURCE";
2480
+ CAMPAIGN: "CAMPAIGN";
2481
2481
  DEVICE: "DEVICE";
2482
2482
  }>;
2483
2483
  export type AnalyticsSourceGroupBy = z$1.infer<typeof analyticsSourceGroupBySchema>;
@@ -2489,23 +2489,23 @@ export declare const analyticsSourcesQuerySchema: z$1.ZodObject<{
2489
2489
  false: "false";
2490
2490
  }>>;
2491
2491
  groupBy: z$1.ZodOptional<z$1.ZodEnum<{
2492
- CAMPAIGN: "CAMPAIGN";
2493
2492
  CHANNEL: "CHANNEL";
2494
2493
  SOURCE: "SOURCE";
2494
+ CAMPAIGN: "CAMPAIGN";
2495
2495
  DEVICE: "DEVICE";
2496
2496
  }>>;
2497
2497
  }, z$1.core.$strip>;
2498
2498
  export type AnalyticsSourcesParams = z$1.infer<typeof analyticsSourcesQuerySchema>;
2499
2499
  export declare const analyticsSourceRowSchema: z$1.ZodObject<{
2500
2500
  channel: z$1.ZodNullable<z$1.ZodEnum<{
2501
+ PAID: "PAID";
2501
2502
  DIRECT: "DIRECT";
2503
+ CAMPAIGN: "CAMPAIGN";
2504
+ UNKNOWN: "UNKNOWN";
2502
2505
  ORGANIC_SEARCH: "ORGANIC_SEARCH";
2503
2506
  SOCIAL: "SOCIAL";
2504
- PAID: "PAID";
2505
2507
  EMAIL: "EMAIL";
2506
- CAMPAIGN: "CAMPAIGN";
2507
2508
  REFERRAL: "REFERRAL";
2508
- UNKNOWN: "UNKNOWN";
2509
2509
  }>>;
2510
2510
  source: z$1.ZodNullable<z$1.ZodString>;
2511
2511
  medium: z$1.ZodNullable<z$1.ZodString>;
@@ -2527,21 +2527,21 @@ export declare const analyticsSourceRowSchema: z$1.ZodObject<{
2527
2527
  export type AnalyticsSourceRow = z$1.infer<typeof analyticsSourceRowSchema>;
2528
2528
  export declare const analyticsSourcesSchema: z$1.ZodObject<{
2529
2529
  groupBy: z$1.ZodEnum<{
2530
- CAMPAIGN: "CAMPAIGN";
2531
2530
  CHANNEL: "CHANNEL";
2532
2531
  SOURCE: "SOURCE";
2532
+ CAMPAIGN: "CAMPAIGN";
2533
2533
  DEVICE: "DEVICE";
2534
2534
  }>;
2535
2535
  rows: z$1.ZodArray<z$1.ZodObject<{
2536
2536
  channel: z$1.ZodNullable<z$1.ZodEnum<{
2537
+ PAID: "PAID";
2537
2538
  DIRECT: "DIRECT";
2539
+ CAMPAIGN: "CAMPAIGN";
2540
+ UNKNOWN: "UNKNOWN";
2538
2541
  ORGANIC_SEARCH: "ORGANIC_SEARCH";
2539
2542
  SOCIAL: "SOCIAL";
2540
- PAID: "PAID";
2541
2543
  EMAIL: "EMAIL";
2542
- CAMPAIGN: "CAMPAIGN";
2543
2544
  REFERRAL: "REFERRAL";
2544
- UNKNOWN: "UNKNOWN";
2545
2545
  }>>;
2546
2546
  source: z$1.ZodNullable<z$1.ZodString>;
2547
2547
  medium: z$1.ZodNullable<z$1.ZodString>;
@@ -2690,12 +2690,12 @@ export declare const analyticsSearchSchema: z$1.ZodObject<{
2690
2690
  }, z$1.core.$strip>;
2691
2691
  export type AnalyticsSearch = z$1.infer<typeof analyticsSearchSchema>;
2692
2692
  export declare const analyticsCheckoutOutcomeSchema: z$1.ZodEnum<{
2693
+ OTHER: "OTHER";
2693
2694
  COMPLETED: "COMPLETED";
2694
2695
  NOT_OPENED: "NOT_OPENED";
2695
2696
  USER_CANCELED: "USER_CANCELED";
2696
2697
  DECLINED: "DECLINED";
2697
2698
  PREPARE_FAILURE: "PREPARE_FAILURE";
2698
- OTHER: "OTHER";
2699
2699
  IN_PROGRESS: "IN_PROGRESS";
2700
2700
  }>;
2701
2701
  export type AnalyticsCheckoutOutcome = z$1.infer<typeof analyticsCheckoutOutcomeSchema>;
@@ -2703,12 +2703,12 @@ export declare const analyticsCheckoutSchema: z$1.ZodObject<{
2703
2703
  sessions: z$1.ZodNumber;
2704
2704
  outcomes: z$1.ZodArray<z$1.ZodObject<{
2705
2705
  outcome: z$1.ZodEnum<{
2706
+ OTHER: "OTHER";
2706
2707
  COMPLETED: "COMPLETED";
2707
2708
  NOT_OPENED: "NOT_OPENED";
2708
2709
  USER_CANCELED: "USER_CANCELED";
2709
2710
  DECLINED: "DECLINED";
2710
2711
  PREPARE_FAILURE: "PREPARE_FAILURE";
2711
- OTHER: "OTHER";
2712
2712
  IN_PROGRESS: "IN_PROGRESS";
2713
2713
  }>;
2714
2714
  sessions: z$1.ZodNumber;
@@ -2901,8 +2901,8 @@ export declare function fulfillmentRuleOf(type: string | null | undefined): Fulf
2901
2901
  */
2902
2902
  export declare const FULFILLMENT_METHODS: readonly ["CARRIER", "DIRECT", "PICKUP", "PROVIDED"];
2903
2903
  export declare const fulfillmentMethodSchema: z$1.ZodEnum<{
2904
- DIRECT: "DIRECT";
2905
2904
  CARRIER: "CARRIER";
2905
+ DIRECT: "DIRECT";
2906
2906
  PICKUP: "PICKUP";
2907
2907
  PROVIDED: "PROVIDED";
2908
2908
  }>;
@@ -2946,8 +2946,8 @@ export declare function requiresCollection(type: string | null | undefined): boo
2946
2946
  export declare const NO_SHIPPING_BUNDLE_KEY = "none";
2947
2947
  /** 배송비 유형 — 무료·유료·조건부 무료 */
2948
2948
  export declare const deliveryTypeSchema: z$1.ZodEnum<{
2949
- PAID: "PAID";
2950
2949
  FREE: "FREE";
2950
+ PAID: "PAID";
2951
2951
  CONDITIONAL_FREE: "CONDITIONAL_FREE";
2952
2952
  }>;
2953
2953
  export type DeliveryType = z$1.infer<typeof deliveryTypeSchema>;
@@ -2958,8 +2958,8 @@ export declare const productFulfillmentCreateSchema: z$1.ZodDiscriminatedUnion<[
2958
2958
  type: z$1.ZodLiteral<"SHIPPING">;
2959
2959
  shipping: z$1.ZodOptional<z$1.ZodObject<{
2960
2960
  deliveryType: z$1.ZodDefault<z$1.ZodEnum<{
2961
- PAID: "PAID";
2962
2961
  FREE: "FREE";
2962
+ PAID: "PAID";
2963
2963
  CONDITIONAL_FREE: "CONDITIONAL_FREE";
2964
2964
  }>>;
2965
2965
  deliveryFee: z$1.ZodOptional<z$1.ZodNumber>;
@@ -2990,16 +2990,16 @@ export declare const productFulfillmentCreateSchema: z$1.ZodDiscriminatedUnion<[
2990
2990
  }, z$1.core.$strict>>>;
2991
2991
  }, z$1.core.$strict>>;
2992
2992
  methods: z$1.ZodOptional<z$1.ZodArray<z$1.ZodEnum<{
2993
- DIRECT: "DIRECT";
2994
2993
  CARRIER: "CARRIER";
2994
+ DIRECT: "DIRECT";
2995
2995
  PICKUP: "PICKUP";
2996
2996
  PROVIDED: "PROVIDED";
2997
2997
  }>>>;
2998
2998
  }, z$1.core.$strict>, z$1.ZodObject<{
2999
2999
  type: z$1.ZodLiteral<"MANUAL">;
3000
3000
  methods: z$1.ZodOptional<z$1.ZodArray<z$1.ZodEnum<{
3001
- DIRECT: "DIRECT";
3002
3001
  CARRIER: "CARRIER";
3002
+ DIRECT: "DIRECT";
3003
3003
  PICKUP: "PICKUP";
3004
3004
  PROVIDED: "PROVIDED";
3005
3005
  }>>>;
@@ -3015,8 +3015,8 @@ export declare const productFulfillmentUpdateSchema: z$1.ZodDiscriminatedUnion<[
3015
3015
  type: z$1.ZodLiteral<"SHIPPING">;
3016
3016
  shipping: z$1.ZodObject<{
3017
3017
  deliveryType: z$1.ZodEnum<{
3018
- PAID: "PAID";
3019
3018
  FREE: "FREE";
3019
+ PAID: "PAID";
3020
3020
  CONDITIONAL_FREE: "CONDITIONAL_FREE";
3021
3021
  }>;
3022
3022
  deliveryFee: z$1.ZodNumber;
@@ -3047,16 +3047,16 @@ export declare const productFulfillmentUpdateSchema: z$1.ZodDiscriminatedUnion<[
3047
3047
  }, z$1.core.$strict>>>;
3048
3048
  }, z$1.core.$strict>;
3049
3049
  methods: z$1.ZodOptional<z$1.ZodArray<z$1.ZodEnum<{
3050
- DIRECT: "DIRECT";
3051
3050
  CARRIER: "CARRIER";
3051
+ DIRECT: "DIRECT";
3052
3052
  PICKUP: "PICKUP";
3053
3053
  PROVIDED: "PROVIDED";
3054
3054
  }>>>;
3055
3055
  }, z$1.core.$strict>, z$1.ZodObject<{
3056
3056
  type: z$1.ZodLiteral<"MANUAL">;
3057
3057
  methods: z$1.ZodOptional<z$1.ZodArray<z$1.ZodEnum<{
3058
- DIRECT: "DIRECT";
3059
3058
  CARRIER: "CARRIER";
3059
+ DIRECT: "DIRECT";
3060
3060
  PICKUP: "PICKUP";
3061
3061
  PROVIDED: "PROVIDED";
3062
3062
  }>>>;
@@ -3070,8 +3070,8 @@ export declare const productFulfillmentSchema: z$1.ZodDiscriminatedUnion<[z$1.Zo
3070
3070
  type: z$1.ZodLiteral<"SHIPPING">;
3071
3071
  shipping: z$1.ZodObject<{
3072
3072
  deliveryType: z$1.ZodEnum<{
3073
- PAID: "PAID";
3074
3073
  FREE: "FREE";
3074
+ PAID: "PAID";
3075
3075
  CONDITIONAL_FREE: "CONDITIONAL_FREE";
3076
3076
  }>;
3077
3077
  deliveryFee: z$1.ZodNumber;
@@ -3116,8 +3116,8 @@ export declare const productFulfillmentResponseSchema: z$1.ZodUnion<readonly [z$
3116
3116
  type: z$1.ZodLiteral<"SHIPPING">;
3117
3117
  shipping: z$1.ZodObject<{
3118
3118
  deliveryType: z$1.ZodEnum<{
3119
- PAID: "PAID";
3120
3119
  FREE: "FREE";
3120
+ PAID: "PAID";
3121
3121
  CONDITIONAL_FREE: "CONDITIONAL_FREE";
3122
3122
  }>;
3123
3123
  deliveryFee: z$1.ZodNumber;
@@ -3410,8 +3410,8 @@ export declare const claimWebhookEventDataSchema: z$1.ZodObject<{
3410
3410
  CANCEL: "CANCEL";
3411
3411
  }>;
3412
3412
  status: z$1.ZodEnum<{
3413
- COMPLETED: "COMPLETED";
3414
3413
  REJECTED: "REJECTED";
3414
+ COMPLETED: "COMPLETED";
3415
3415
  REQUESTED: "REQUESTED";
3416
3416
  HELD: "HELD";
3417
3417
  COLLECTING: "COLLECTING";
@@ -3667,8 +3667,8 @@ export declare const claimWebhookEventSchema: z$1.ZodObject<{
3667
3667
  CANCEL: "CANCEL";
3668
3668
  }>;
3669
3669
  status: z$1.ZodEnum<{
3670
- COMPLETED: "COMPLETED";
3671
3670
  REJECTED: "REJECTED";
3671
+ COMPLETED: "COMPLETED";
3672
3672
  REQUESTED: "REQUESTED";
3673
3673
  HELD: "HELD";
3674
3674
  COLLECTING: "COLLECTING";
@@ -4067,8 +4067,8 @@ export declare const webhookEventSchema: z$1.ZodDiscriminatedUnion<[z$1.ZodObjec
4067
4067
  CANCEL: "CANCEL";
4068
4068
  }>;
4069
4069
  status: z$1.ZodEnum<{
4070
- COMPLETED: "COMPLETED";
4071
4070
  REJECTED: "REJECTED";
4071
+ COMPLETED: "COMPLETED";
4072
4072
  REQUESTED: "REQUESTED";
4073
4073
  HELD: "HELD";
4074
4074
  COLLECTING: "COLLECTING";
@@ -5889,8 +5889,8 @@ export declare const createSellerCheckoutRequestSchema: z$1.ZodObject<{
5889
5889
  }, z$1.core.$strip>>;
5890
5890
  expiresAt: z$1.ZodISODateTime;
5891
5891
  fulfillmentMethod: z$1.ZodOptional<z$1.ZodEnum<{
5892
- DIRECT: "DIRECT";
5893
5892
  CARRIER: "CARRIER";
5893
+ DIRECT: "DIRECT";
5894
5894
  PICKUP: "PICKUP";
5895
5895
  PROVIDED: "PROVIDED";
5896
5896
  }>>;
@@ -6013,8 +6013,8 @@ export declare const createOrderRequestSchema: z$1.ZodObject<{
6013
6013
  }, z$1.core.$strip>>;
6014
6014
  expiresAt: z$1.ZodISODateTime;
6015
6015
  fulfillmentMethod: z$1.ZodOptional<z$1.ZodEnum<{
6016
- DIRECT: "DIRECT";
6017
6016
  CARRIER: "CARRIER";
6017
+ DIRECT: "DIRECT";
6018
6018
  PICKUP: "PICKUP";
6019
6019
  PROVIDED: "PROVIDED";
6020
6020
  }>>;
@@ -6136,8 +6136,8 @@ export declare const claimTypeSchema: z$1.ZodEnum<{
6136
6136
  }>;
6137
6137
  export type ClaimType = z$1.infer<typeof claimTypeSchema>;
6138
6138
  export declare const claimStatusSchema: z$1.ZodEnum<{
6139
- COMPLETED: "COMPLETED";
6140
6139
  REJECTED: "REJECTED";
6140
+ COMPLETED: "COMPLETED";
6141
6141
  REQUESTED: "REQUESTED";
6142
6142
  HELD: "HELD";
6143
6143
  COLLECTING: "COLLECTING";
@@ -6181,8 +6181,8 @@ export declare const claimSchema: z$1.ZodObject<{
6181
6181
  CANCEL: "CANCEL";
6182
6182
  }>;
6183
6183
  status: z$1.ZodEnum<{
6184
- COMPLETED: "COMPLETED";
6185
6184
  REJECTED: "REJECTED";
6185
+ COMPLETED: "COMPLETED";
6186
6186
  REQUESTED: "REQUESTED";
6187
6187
  HELD: "HELD";
6188
6188
  COLLECTING: "COLLECTING";
@@ -6271,8 +6271,8 @@ export declare const claimDetailSchema: z$1.ZodObject<{
6271
6271
  CANCEL: "CANCEL";
6272
6272
  }>;
6273
6273
  status: z$1.ZodEnum<{
6274
- COMPLETED: "COMPLETED";
6275
6274
  REJECTED: "REJECTED";
6275
+ COMPLETED: "COMPLETED";
6276
6276
  REQUESTED: "REQUESTED";
6277
6277
  HELD: "HELD";
6278
6278
  COLLECTING: "COLLECTING";
@@ -6329,8 +6329,8 @@ export declare const claimDetailSchema: z$1.ZodObject<{
6329
6329
  }, z$1.core.$strip>>;
6330
6330
  histories: z$1.ZodOptional<z$1.ZodArray<z$1.ZodObject<{
6331
6331
  status: z$1.ZodEnum<{
6332
- COMPLETED: "COMPLETED";
6333
6332
  REJECTED: "REJECTED";
6333
+ COMPLETED: "COMPLETED";
6334
6334
  REQUESTED: "REQUESTED";
6335
6335
  HELD: "HELD";
6336
6336
  COLLECTING: "COLLECTING";
@@ -6982,8 +6982,8 @@ export declare const flowStateSchema: z$1.ZodObject<{
6982
6982
  PURCHASE_DECIDED: "PURCHASE_DECIDED";
6983
6983
  }>>;
6984
6984
  claimStatus: z$1.ZodOptional<z$1.ZodEnum<{
6985
- COMPLETED: "COMPLETED";
6986
6985
  REJECTED: "REJECTED";
6986
+ COMPLETED: "COMPLETED";
6987
6987
  REQUESTED: "REQUESTED";
6988
6988
  HELD: "HELD";
6989
6989
  COLLECTING: "COLLECTING";
@@ -7031,8 +7031,8 @@ export declare const orderItemFlowSchema: z$1.ZodObject<{
7031
7031
  PURCHASE_DECIDED: "PURCHASE_DECIDED";
7032
7032
  }>>;
7033
7033
  claimStatus: z$1.ZodOptional<z$1.ZodEnum<{
7034
- COMPLETED: "COMPLETED";
7035
7034
  REJECTED: "REJECTED";
7035
+ COMPLETED: "COMPLETED";
7036
7036
  REQUESTED: "REQUESTED";
7037
7037
  HELD: "HELD";
7038
7038
  COLLECTING: "COLLECTING";
@@ -7131,8 +7131,8 @@ export declare const orderItemFlowSchema: z$1.ZodObject<{
7131
7131
  PURCHASE_DECIDED: "PURCHASE_DECIDED";
7132
7132
  }>>;
7133
7133
  claimStatus: z$1.ZodOptional<z$1.ZodEnum<{
7134
- COMPLETED: "COMPLETED";
7135
7134
  REJECTED: "REJECTED";
7135
+ COMPLETED: "COMPLETED";
7136
7136
  REQUESTED: "REQUESTED";
7137
7137
  HELD: "HELD";
7138
7138
  COLLECTING: "COLLECTING";
@@ -7224,8 +7224,8 @@ export declare const flowActionResultSchema: z$1.ZodObject<{
7224
7224
  PURCHASE_DECIDED: "PURCHASE_DECIDED";
7225
7225
  }>>;
7226
7226
  claimStatus: z$1.ZodOptional<z$1.ZodEnum<{
7227
- COMPLETED: "COMPLETED";
7228
7227
  REJECTED: "REJECTED";
7228
+ COMPLETED: "COMPLETED";
7229
7229
  REQUESTED: "REQUESTED";
7230
7230
  HELD: "HELD";
7231
7231
  COLLECTING: "COLLECTING";
@@ -7537,8 +7537,8 @@ export declare const flowDraftOperationSchema: z$1.ZodDiscriminatedUnion<[z$1.Zo
7537
7537
  PAUSE: "PAUSE";
7538
7538
  }>>;
7539
7539
  fulfillmentMethods: z$1.ZodOptional<z$1.ZodArray<z$1.ZodEnum<{
7540
- DIRECT: "DIRECT";
7541
7540
  CARRIER: "CARRIER";
7541
+ DIRECT: "DIRECT";
7542
7542
  PICKUP: "PICKUP";
7543
7543
  PROVIDED: "PROVIDED";
7544
7544
  }>>>;
@@ -7599,8 +7599,8 @@ export declare const applyFlowOperationsRequestSchema: z$1.ZodObject<{
7599
7599
  PAUSE: "PAUSE";
7600
7600
  }>>;
7601
7601
  fulfillmentMethods: z$1.ZodOptional<z$1.ZodArray<z$1.ZodEnum<{
7602
- DIRECT: "DIRECT";
7603
7602
  CARRIER: "CARRIER";
7603
+ DIRECT: "DIRECT";
7604
7604
  PICKUP: "PICKUP";
7605
7605
  PROVIDED: "PROVIDED";
7606
7606
  }>>>;
@@ -7679,8 +7679,8 @@ export declare const orderFlowActionResultSchema: z$1.ZodObject<{
7679
7679
  results: z$1.ZodArray<z$1.ZodObject<{
7680
7680
  orderItemId: z$1.ZodString;
7681
7681
  status: z$1.ZodEnum<{
7682
- COMPLETED: "COMPLETED";
7683
7682
  FAILED: "FAILED";
7683
+ COMPLETED: "COMPLETED";
7684
7684
  SKIPPED: "SKIPPED";
7685
7685
  }>;
7686
7686
  reason: z$1.ZodOptional<z$1.ZodString>;
@@ -9286,10 +9286,10 @@ export type CustomerOrder = z$1.infer<typeof customerOrderSchema>;
9286
9286
  /** `POST /v1/customers/{id}/withdraw` 본문 */
9287
9287
  export declare const withdrawCustomerRequestSchema: z$1.ZodObject<{
9288
9288
  reason: z$1.ZodEnum<{
9289
- OTHER: "OTHER";
9290
9289
  BUYER_REQUEST: "BUYER_REQUEST";
9291
9290
  DORMANT: "DORMANT";
9292
9291
  ABUSE: "ABUSE";
9292
+ OTHER: "OTHER";
9293
9293
  }>;
9294
9294
  memo: z$1.ZodOptional<z$1.ZodString>;
9295
9295
  }, z$1.core.$strip>;
@@ -13186,11 +13186,11 @@ export type PointEntry = z$1.infer<typeof pointEntrySchema>;
13186
13186
  export declare const pointLotSchema: z$1.ZodObject<{
13187
13187
  lotId: z$1.ZodString;
13188
13188
  source: z$1.ZodUnion<readonly [z$1.ZodEnum<{
13189
- PURCHASE: "PURCHASE";
13190
13189
  OPENING: "OPENING";
13191
13190
  ADJUST: "ADJUST";
13192
13191
  REFUND_RESTORE: "REFUND_RESTORE";
13193
13192
  REVIEW: "REVIEW";
13193
+ PURCHASE: "PURCHASE";
13194
13194
  COUPON: "COUPON";
13195
13195
  }>, z$1.ZodString]>;
13196
13196
  amount: z$1.ZodNumber;
@@ -13206,11 +13206,11 @@ export declare const customerPointsSchema: z$1.ZodObject<{
13206
13206
  lots: z$1.ZodArray<z$1.ZodObject<{
13207
13207
  lotId: z$1.ZodString;
13208
13208
  source: z$1.ZodUnion<readonly [z$1.ZodEnum<{
13209
- PURCHASE: "PURCHASE";
13210
13209
  OPENING: "OPENING";
13211
13210
  ADJUST: "ADJUST";
13212
13211
  REFUND_RESTORE: "REFUND_RESTORE";
13213
13212
  REVIEW: "REVIEW";
13213
+ PURCHASE: "PURCHASE";
13214
13214
  COUPON: "COUPON";
13215
13215
  }>, z$1.ZodString]>;
13216
13216
  amount: z$1.ZodNumber;
@@ -13575,7 +13575,6 @@ export declare const discountSchema: z$1.ZodObject<{
13575
13575
  export type Discount = z$1.infer<typeof discountSchema>;
13576
13576
  export declare const productSchema: z$1.ZodObject<{
13577
13577
  name: z$1.ZodString;
13578
- productId: z$1.ZodString;
13579
13578
  status: z$1.ZodEnum<{
13580
13579
  SALE: "SALE";
13581
13580
  SUSPENDED: "SUSPENDED";
@@ -13585,6 +13584,7 @@ export declare const productSchema: z$1.ZodObject<{
13585
13584
  salePrice: z$1.ZodNumber;
13586
13585
  stockQuantity: z$1.ZodNumber;
13587
13586
  categoryId: z$1.ZodNullable<z$1.ZodString>;
13587
+ productId: z$1.ZodString;
13588
13588
  productNo: z$1.ZodDefault<z$1.ZodOptional<z$1.ZodNullable<z$1.ZodNumber>>>;
13589
13589
  discountedPrice: z$1.ZodNullable<z$1.ZodNumber>;
13590
13590
  thumbnailUrl: z$1.ZodOptional<z$1.ZodURL>;
@@ -13675,8 +13675,8 @@ export declare const productSchema: z$1.ZodObject<{
13675
13675
  type: z$1.ZodLiteral<"SHIPPING">;
13676
13676
  shipping: z$1.ZodObject<{
13677
13677
  deliveryType: z$1.ZodEnum<{
13678
- PAID: "PAID";
13679
13678
  FREE: "FREE";
13679
+ PAID: "PAID";
13680
13680
  CONDITIONAL_FREE: "CONDITIONAL_FREE";
13681
13681
  }>;
13682
13682
  deliveryFee: z$1.ZodNumber;
@@ -14034,8 +14034,8 @@ export declare const productCreateRequestSchema: z$1.ZodObject<{
14034
14034
  type: z$1.ZodLiteral<"SHIPPING">;
14035
14035
  shipping: z$1.ZodOptional<z$1.ZodObject<{
14036
14036
  deliveryType: z$1.ZodDefault<z$1.ZodEnum<{
14037
- PAID: "PAID";
14038
14037
  FREE: "FREE";
14038
+ PAID: "PAID";
14039
14039
  CONDITIONAL_FREE: "CONDITIONAL_FREE";
14040
14040
  }>>;
14041
14041
  deliveryFee: z$1.ZodOptional<z$1.ZodNumber>;
@@ -14066,16 +14066,16 @@ export declare const productCreateRequestSchema: z$1.ZodObject<{
14066
14066
  }, z$1.core.$strict>>>;
14067
14067
  }, z$1.core.$strict>>;
14068
14068
  methods: z$1.ZodOptional<z$1.ZodArray<z$1.ZodEnum<{
14069
- DIRECT: "DIRECT";
14070
14069
  CARRIER: "CARRIER";
14070
+ DIRECT: "DIRECT";
14071
14071
  PICKUP: "PICKUP";
14072
14072
  PROVIDED: "PROVIDED";
14073
14073
  }>>>;
14074
14074
  }, z$1.core.$strict>, z$1.ZodObject<{
14075
14075
  type: z$1.ZodLiteral<"MANUAL">;
14076
14076
  methods: z$1.ZodOptional<z$1.ZodArray<z$1.ZodEnum<{
14077
- DIRECT: "DIRECT";
14078
14077
  CARRIER: "CARRIER";
14078
+ DIRECT: "DIRECT";
14079
14079
  PICKUP: "PICKUP";
14080
14080
  PROVIDED: "PROVIDED";
14081
14081
  }>>>;
@@ -14278,8 +14278,8 @@ export declare const productReplaceRequestSchema: z$1.ZodObject<{
14278
14278
  type: z$1.ZodLiteral<"SHIPPING">;
14279
14279
  shipping: z$1.ZodObject<{
14280
14280
  deliveryType: z$1.ZodEnum<{
14281
- PAID: "PAID";
14282
14281
  FREE: "FREE";
14282
+ PAID: "PAID";
14283
14283
  CONDITIONAL_FREE: "CONDITIONAL_FREE";
14284
14284
  }>;
14285
14285
  deliveryFee: z$1.ZodNumber;
@@ -14310,16 +14310,16 @@ export declare const productReplaceRequestSchema: z$1.ZodObject<{
14310
14310
  }, z$1.core.$strict>>>;
14311
14311
  }, z$1.core.$strict>;
14312
14312
  methods: z$1.ZodOptional<z$1.ZodArray<z$1.ZodEnum<{
14313
- DIRECT: "DIRECT";
14314
14313
  CARRIER: "CARRIER";
14314
+ DIRECT: "DIRECT";
14315
14315
  PICKUP: "PICKUP";
14316
14316
  PROVIDED: "PROVIDED";
14317
14317
  }>>>;
14318
14318
  }, z$1.core.$strict>, z$1.ZodObject<{
14319
14319
  type: z$1.ZodLiteral<"MANUAL">;
14320
14320
  methods: z$1.ZodOptional<z$1.ZodArray<z$1.ZodEnum<{
14321
- DIRECT: "DIRECT";
14322
14321
  CARRIER: "CARRIER";
14322
+ DIRECT: "DIRECT";
14323
14323
  PICKUP: "PICKUP";
14324
14324
  PROVIDED: "PROVIDED";
14325
14325
  }>>>;
@@ -14531,8 +14531,8 @@ export declare const productPatchRequestSchema: z$1.ZodObject<{
14531
14531
  type: z$1.ZodLiteral<"SHIPPING">;
14532
14532
  shipping: z$1.ZodObject<{
14533
14533
  deliveryType: z$1.ZodEnum<{
14534
- PAID: "PAID";
14535
14534
  FREE: "FREE";
14535
+ PAID: "PAID";
14536
14536
  CONDITIONAL_FREE: "CONDITIONAL_FREE";
14537
14537
  }>;
14538
14538
  deliveryFee: z$1.ZodNumber;
@@ -14563,16 +14563,16 @@ export declare const productPatchRequestSchema: z$1.ZodObject<{
14563
14563
  }, z$1.core.$strict>>>;
14564
14564
  }, z$1.core.$strict>;
14565
14565
  methods: z$1.ZodOptional<z$1.ZodArray<z$1.ZodEnum<{
14566
- DIRECT: "DIRECT";
14567
14566
  CARRIER: "CARRIER";
14567
+ DIRECT: "DIRECT";
14568
14568
  PICKUP: "PICKUP";
14569
14569
  PROVIDED: "PROVIDED";
14570
14570
  }>>>;
14571
14571
  }, z$1.core.$strict>, z$1.ZodObject<{
14572
14572
  type: z$1.ZodLiteral<"MANUAL">;
14573
14573
  methods: z$1.ZodOptional<z$1.ZodArray<z$1.ZodEnum<{
14574
- DIRECT: "DIRECT";
14575
14574
  CARRIER: "CARRIER";
14575
+ DIRECT: "DIRECT";
14576
14576
  PICKUP: "PICKUP";
14577
14577
  PROVIDED: "PROVIDED";
14578
14578
  }>>>;
@@ -14707,8 +14707,8 @@ export declare const productImportItemSchema: z.ZodDiscriminatedUnion<[z.ZodObje
14707
14707
  type: z.ZodLiteral<"SHIPPING">;
14708
14708
  shipping: z.ZodOptional<z.ZodObject<{
14709
14709
  deliveryType: z.ZodDefault<z.ZodEnum<{
14710
- PAID: "PAID";
14711
14710
  FREE: "FREE";
14711
+ PAID: "PAID";
14712
14712
  CONDITIONAL_FREE: "CONDITIONAL_FREE";
14713
14713
  }>>;
14714
14714
  deliveryFee: z.ZodOptional<z.ZodNumber>;
@@ -14739,16 +14739,16 @@ export declare const productImportItemSchema: z.ZodDiscriminatedUnion<[z.ZodObje
14739
14739
  }, z.core.$strict>>>;
14740
14740
  }, z.core.$strict>>;
14741
14741
  methods: z.ZodOptional<z.ZodArray<z.ZodEnum<{
14742
- DIRECT: "DIRECT";
14743
14742
  CARRIER: "CARRIER";
14743
+ DIRECT: "DIRECT";
14744
14744
  PICKUP: "PICKUP";
14745
14745
  PROVIDED: "PROVIDED";
14746
14746
  }>>>;
14747
14747
  }, z.core.$strict>, z.ZodObject<{
14748
14748
  type: z.ZodLiteral<"MANUAL">;
14749
14749
  methods: z.ZodOptional<z.ZodArray<z.ZodEnum<{
14750
- DIRECT: "DIRECT";
14751
14750
  CARRIER: "CARRIER";
14751
+ DIRECT: "DIRECT";
14752
14752
  PICKUP: "PICKUP";
14753
14753
  PROVIDED: "PROVIDED";
14754
14754
  }>>>;
@@ -14959,8 +14959,8 @@ export declare const productImportItemSchema: z.ZodDiscriminatedUnion<[z.ZodObje
14959
14959
  type: z.ZodLiteral<"SHIPPING">;
14960
14960
  shipping: z.ZodObject<{
14961
14961
  deliveryType: z.ZodEnum<{
14962
- PAID: "PAID";
14963
14962
  FREE: "FREE";
14963
+ PAID: "PAID";
14964
14964
  CONDITIONAL_FREE: "CONDITIONAL_FREE";
14965
14965
  }>;
14966
14966
  deliveryFee: z.ZodNumber;
@@ -14991,16 +14991,16 @@ export declare const productImportItemSchema: z.ZodDiscriminatedUnion<[z.ZodObje
14991
14991
  }, z.core.$strict>>>;
14992
14992
  }, z.core.$strict>;
14993
14993
  methods: z.ZodOptional<z.ZodArray<z.ZodEnum<{
14994
- DIRECT: "DIRECT";
14995
14994
  CARRIER: "CARRIER";
14995
+ DIRECT: "DIRECT";
14996
14996
  PICKUP: "PICKUP";
14997
14997
  PROVIDED: "PROVIDED";
14998
14998
  }>>>;
14999
14999
  }, z.core.$strict>, z.ZodObject<{
15000
15000
  type: z.ZodLiteral<"MANUAL">;
15001
15001
  methods: z.ZodOptional<z.ZodArray<z.ZodEnum<{
15002
- DIRECT: "DIRECT";
15003
15002
  CARRIER: "CARRIER";
15003
+ DIRECT: "DIRECT";
15004
15004
  PICKUP: "PICKUP";
15005
15005
  PROVIDED: "PROVIDED";
15006
15006
  }>>>;
@@ -15214,8 +15214,8 @@ export declare const productImportItemsRequestSchema: z.ZodObject<{
15214
15214
  type: z.ZodLiteral<"SHIPPING">;
15215
15215
  shipping: z.ZodOptional<z.ZodObject<{
15216
15216
  deliveryType: z.ZodDefault<z.ZodEnum<{
15217
- PAID: "PAID";
15218
15217
  FREE: "FREE";
15218
+ PAID: "PAID";
15219
15219
  CONDITIONAL_FREE: "CONDITIONAL_FREE";
15220
15220
  }>>;
15221
15221
  deliveryFee: z.ZodOptional<z.ZodNumber>;
@@ -15246,16 +15246,16 @@ export declare const productImportItemsRequestSchema: z.ZodObject<{
15246
15246
  }, z.core.$strict>>>;
15247
15247
  }, z.core.$strict>>;
15248
15248
  methods: z.ZodOptional<z.ZodArray<z.ZodEnum<{
15249
- DIRECT: "DIRECT";
15250
15249
  CARRIER: "CARRIER";
15250
+ DIRECT: "DIRECT";
15251
15251
  PICKUP: "PICKUP";
15252
15252
  PROVIDED: "PROVIDED";
15253
15253
  }>>>;
15254
15254
  }, z.core.$strict>, z.ZodObject<{
15255
15255
  type: z.ZodLiteral<"MANUAL">;
15256
15256
  methods: z.ZodOptional<z.ZodArray<z.ZodEnum<{
15257
- DIRECT: "DIRECT";
15258
15257
  CARRIER: "CARRIER";
15258
+ DIRECT: "DIRECT";
15259
15259
  PICKUP: "PICKUP";
15260
15260
  PROVIDED: "PROVIDED";
15261
15261
  }>>>;
@@ -15466,8 +15466,8 @@ export declare const productImportItemsRequestSchema: z.ZodObject<{
15466
15466
  type: z.ZodLiteral<"SHIPPING">;
15467
15467
  shipping: z.ZodObject<{
15468
15468
  deliveryType: z.ZodEnum<{
15469
- PAID: "PAID";
15470
15469
  FREE: "FREE";
15470
+ PAID: "PAID";
15471
15471
  CONDITIONAL_FREE: "CONDITIONAL_FREE";
15472
15472
  }>;
15473
15473
  deliveryFee: z.ZodNumber;
@@ -15498,16 +15498,16 @@ export declare const productImportItemsRequestSchema: z.ZodObject<{
15498
15498
  }, z.core.$strict>>>;
15499
15499
  }, z.core.$strict>;
15500
15500
  methods: z.ZodOptional<z.ZodArray<z.ZodEnum<{
15501
- DIRECT: "DIRECT";
15502
15501
  CARRIER: "CARRIER";
15502
+ DIRECT: "DIRECT";
15503
15503
  PICKUP: "PICKUP";
15504
15504
  PROVIDED: "PROVIDED";
15505
15505
  }>>>;
15506
15506
  }, z.core.$strict>, z.ZodObject<{
15507
15507
  type: z.ZodLiteral<"MANUAL">;
15508
15508
  methods: z.ZodOptional<z.ZodArray<z.ZodEnum<{
15509
- DIRECT: "DIRECT";
15510
15509
  CARRIER: "CARRIER";
15510
+ DIRECT: "DIRECT";
15511
15511
  PICKUP: "PICKUP";
15512
15512
  PROVIDED: "PROVIDED";
15513
15513
  }>>>;
@@ -16798,9 +16798,8 @@ export type SellerAddressRequest = z$1.infer<typeof sellerAddressRequestSchema>;
16798
16798
  * - 409 `SOURCE_CHANGED` — 작업 트리가 내려받은 뒤(`expectedBaseRef`) 바뀌었고 같은 파일을 서로 다르게 고쳤다(상점 플랫폼·AI 편집). 겹치지 않으면 서버가
16799
16799
  * 3-way 병합한다(응답 `merged`). `error.details.currentRef`·`conflicts`(충돌 파일)
16800
16800
  * - 409 `EDIT_SESSION_OPEN` — 편집 환경이 열려 있다. `endEditSession: true`로 끄고 진행할 수 있다
16801
- * - 409 `SOURCE_BLOBS_MISSING` — 올리지 않은 파일 내용이 있다(`error.details.hashes`). `POST source/blobs`로 올리고 다시 한다
16801
+ * - 409 `SOURCE_BLOBS_MISSING` — 올리지 않은 파일 내용이 있다(`error.details.hashes`). 묶음으로 올리고(`POST source/uploads`·`source/pack`) `pack`을 실어 다시 한다
16802
16802
  * - 409 `DEPENDENCY_REJECTED` — 쓸 수 없는 npm 의존성이다(`error.details.rejected: [{ name, version, reason, detail }]`)
16803
- * - 413 `SOURCE_TOO_MANY_NEW_FILES` — 묶음 없이(`pack` 생략) 새 내용이 800개를 넘는다(`error.details.max`). 묶음으로 올린다
16804
16803
  * - 400 `DEPENDENCY_FILES_MISMATCH` — `packageJson`·`lockfile` 내용이 목록의 해시와 다르거나 빠졌다
16805
16804
  * - 400 `INVALID_SOURCE_REF` · `BLOB_HASH_MISMATCH` · `INVALID_FILE_PATH`(`.env*`·작업 트리 밖 경로)
16806
16805
  * - 404 `STOREFRONT_SOURCE_NOT_FOUND` — 그 스냅샷이 없다
@@ -16944,6 +16943,7 @@ export declare const storefrontSiteSnapshotSchema: z$1.ZodObject<{
16944
16943
  export type StorefrontSiteSnapshot = z$1.infer<typeof storefrontSiteSnapshotSchema>;
16945
16944
  export declare const storefrontSiteSchema: z$1.ZodObject<{
16946
16945
  siteId: z$1.ZodString;
16946
+ autoPublish: z$1.ZodOptional<z$1.ZodNullable<z$1.ZodBoolean>>;
16947
16947
  deployWithoutApproval: z$1.ZodOptional<z$1.ZodBoolean>;
16948
16948
  slug: z$1.ZodString;
16949
16949
  hostname: z$1.ZodString;
@@ -17029,6 +17029,7 @@ export declare const storefrontHostingSchema: z$1.ZodObject<{
17029
17029
  editingEnabled: z$1.ZodBoolean;
17030
17030
  site: z$1.ZodNullable<z$1.ZodObject<{
17031
17031
  siteId: z$1.ZodString;
17032
+ autoPublish: z$1.ZodOptional<z$1.ZodNullable<z$1.ZodBoolean>>;
17032
17033
  deployWithoutApproval: z$1.ZodOptional<z$1.ZodBoolean>;
17033
17034
  slug: z$1.ZodString;
17034
17035
  hostname: z$1.ZodString;
@@ -17153,9 +17154,9 @@ export type StorefrontDeploymentLog = z$1.infer<typeof storefrontDeploymentLogSc
17153
17154
  export declare const storefrontDeploymentSchema: z$1.ZodObject<{
17154
17155
  siteId: z$1.ZodString;
17155
17156
  status: z$1.ZodEnum<{
17156
- IN_PROGRESS: "IN_PROGRESS";
17157
17157
  FAILED: "FAILED";
17158
17158
  SUCCEEDED: "SUCCEEDED";
17159
+ IN_PROGRESS: "IN_PROGRESS";
17159
17160
  }>;
17160
17161
  url: z$1.ZodString;
17161
17162
  startedAt: z$1.ZodString;
@@ -17708,8 +17709,8 @@ export declare const runStorefrontCheckRequestSchema: z$1.ZodObject<{
17708
17709
  }, z$1.core.$strip>;
17709
17710
  export type RunStorefrontCheckRequest = z$1.infer<typeof runStorefrontCheckRequestSchema>;
17710
17711
  export declare const storefrontCheckStatusSchema: z$1.ZodEnum<{
17711
- UNKNOWN: "UNKNOWN";
17712
17712
  FAILED: "FAILED";
17713
+ UNKNOWN: "UNKNOWN";
17713
17714
  QUEUED: "QUEUED";
17714
17715
  RUNNING: "RUNNING";
17715
17716
  PASSED: "PASSED";
@@ -17722,8 +17723,8 @@ export declare const storefrontCheckSchema: z$1.ZodObject<{
17722
17723
  checkId: z$1.ZodString;
17723
17724
  check: z$1.ZodString;
17724
17725
  status: z$1.ZodEnum<{
17725
- UNKNOWN: "UNKNOWN";
17726
17726
  FAILED: "FAILED";
17727
+ UNKNOWN: "UNKNOWN";
17727
17728
  QUEUED: "QUEUED";
17728
17729
  RUNNING: "RUNNING";
17729
17730
  PASSED: "PASSED";
@@ -18109,8 +18110,6 @@ export declare const createStorefrontEditPreviewLinkRequestSchema: z$1.ZodObject
18109
18110
  export type CreateStorefrontEditPreviewLinkRequest = z$1.infer<typeof createStorefrontEditPreviewLinkRequestSchema>;
18110
18111
  /** 압축 파일 조각 하나의 최대 크기(바이트) */
18111
18112
  export declare const STOREFRONT_SOURCE_PART_BYTES: number;
18112
- /** 내용 올리기 한 번의 최대 파일 수 */
18113
- export declare const STOREFRONT_SOURCE_BLOB_BATCH_MAX = 200;
18114
18113
  /** 작업 트리 파일 수 상한 */
18115
18114
  export declare const STOREFRONT_WORKSPACE_MAX_FILES = 2000;
18116
18115
  /** 작업 트리 스냅샷 키 — `sources/{siteId}/{sha256}.tgz` */
@@ -18149,32 +18148,29 @@ export declare const storefrontSourceArchivePartSchema: z$1.ZodObject<{
18149
18148
  content: z$1.ZodString;
18150
18149
  }, z$1.core.$strip>;
18151
18150
  export type StorefrontSourceArchivePart = z$1.infer<typeof storefrontSourceArchivePartSchema>;
18152
- /** `POST /v1/storefront/site/source/blobs` — 파일 내용 올리기(해시 키, 다시 올려도 안전하다). 작업 트리는 바뀌지 않는다 */
18153
- export declare const uploadStorefrontSourceBlobsRequestSchema: z$1.ZodObject<{
18154
- blobs: z$1.ZodArray<z$1.ZodObject<{
18155
- hash: z$1.ZodString;
18156
- content: z$1.ZodString;
18157
- }, z$1.core.$strip>>;
18151
+ /**
18152
+ * `POST /v1/storefront/site/source/pack` — 묶음(tar.gz, 항목 이름 = 내용 sha256)을 api를 거쳐 올린다. 저장소 직접 올리기(`POST source/uploads`)를
18153
+ * 쓸 수 없는 환경(503 `SOURCE_UPLOAD_UNAVAILABLE`)에서만 쓴다. 다시 올려도 안전하다. 작업 트리는 바뀌지 않는다
18154
+ */
18155
+ export declare const uploadStorefrontSourcePackRequestSchema: z$1.ZodObject<{
18156
+ hash: z$1.ZodString;
18157
+ content: z$1.ZodString;
18158
18158
  }, z$1.core.$strip>;
18159
- export type UploadStorefrontSourceBlobsRequest = z$1.infer<typeof uploadStorefrontSourceBlobsRequestSchema>;
18160
- export declare const storefrontSourceBlobsResultSchema: z$1.ZodObject<{
18161
- stored: z$1.ZodNumber;
18162
- existing: z$1.ZodNumber;
18159
+ export type UploadStorefrontSourcePackRequest = z$1.infer<typeof uploadStorefrontSourcePackRequestSchema>;
18160
+ export declare const storefrontSourcePackSchema: z$1.ZodObject<{
18161
+ hash: z$1.ZodString;
18162
+ size: z$1.ZodNumber;
18163
18163
  }, z$1.core.$strip>;
18164
- export type StorefrontSourceBlobsResult = z$1.infer<typeof storefrontSourceBlobsResultSchema>;
18164
+ export type StorefrontSourcePack = z$1.infer<typeof storefrontSourcePackSchema>;
18165
18165
  /**
18166
- * `POST /v1/storefront/site/source/uploads` — 파일 내용을 저장소에 직접 올릴 서명 주소(#181). 내용은 api를 거치지 않는다.
18167
- * 주소마다 `PUT`으로 그 해시의 바이트를 보내고 응답의 `headers`를 그대로 싣는다(저장소가 크기·해시를 검증한다).
18166
+ * `POST /v1/storefront/site/source/uploads` — 묶음을 저장소에 직접 올릴 서명 주소(#181·#351). 내용은 api를 거치지 않는다.
18167
+ * 주소로 `PUT`해 묶음 바이트를 보내고 응답의 `headers`를 그대로 싣는다(저장소가 크기·해시를 검증한다).
18168
18168
  */
18169
18169
  export declare const createStorefrontSourceUploadsRequestSchema: z$1.ZodObject<{
18170
- blobs: z$1.ZodOptional<z$1.ZodArray<z$1.ZodObject<{
18170
+ pack: z$1.ZodObject<{
18171
18171
  hash: z$1.ZodString;
18172
18172
  size: z$1.ZodNumber;
18173
- }, z$1.core.$strip>>>;
18174
- pack: z$1.ZodOptional<z$1.ZodObject<{
18175
- hash: z$1.ZodString;
18176
- size: z$1.ZodNumber;
18177
- }, z$1.core.$strip>>;
18173
+ }, z$1.core.$strip>;
18178
18174
  }, z$1.core.$strip>;
18179
18175
  export type CreateStorefrontSourceUploadsRequest = z$1.infer<typeof createStorefrontSourceUploadsRequestSchema>;
18180
18176
  export declare const storefrontSourceUploadsSchema: z$1.ZodObject<{
@@ -18282,6 +18278,16 @@ export declare const connectStorefrontGitRequestSchema: z$1.ZodObject<{
18282
18278
  rootDirectory: z$1.ZodOptional<z$1.ZodString>;
18283
18279
  }, z$1.core.$strip>;
18284
18280
  export type ConnectStorefrontGitRequest = z$1.infer<typeof connectStorefrontGitRequestSchema>;
18281
+ /** `PUT /v1/storefront/site/auto-publish` — 배포 뒤 바로 게시(#356). null이면 `sayren.json` `deploy.production`을 따른다 */
18282
+ export declare const setStorefrontAutoPublishRequestSchema: z$1.ZodObject<{
18283
+ autoPublish: z$1.ZodNullable<z$1.ZodBoolean>;
18284
+ }, z$1.core.$strip>;
18285
+ export type SetStorefrontAutoPublishRequest = z$1.infer<typeof setStorefrontAutoPublishRequestSchema>;
18286
+ /**
18287
+ * 배포(CLI `sayren deploy`·Git 운영 브랜치 push)가 만든 버전을 바로 게시하는가(#356) — 사이트 설정(`autoPublish`)이 있으면 그것,
18288
+ * 없으면 소스의 `sayren.json` `deploy.production`, 그것도 없으면 저장만. CLI `--production`은 이 판정과 무관하게 게시한다
18289
+ */
18290
+ export declare function resolveStorefrontDeployProduction(siteSetting: boolean | null | undefined, projectSetting: boolean | null | undefined): boolean;
18285
18291
  /** `PUT /v1/storefront/site/deploy-approval` — 승인 없이 배포(#138) */
18286
18292
  export declare const setStorefrontDeployApprovalRequestSchema: z$1.ZodObject<{
18287
18293
  deployWithoutApproval: z$1.ZodBoolean;
@@ -18588,11 +18594,11 @@ export declare function createStoreClient(options: StoreClientOptions): {
18588
18594
  }>;
18589
18595
  get: (productId: string) => Promise<{
18590
18596
  name: string;
18591
- productId: string;
18592
18597
  status: "SALE" | "SUSPENDED" | "OUT_OF_STOCK" | "CLOSED";
18593
18598
  salePrice: number;
18594
18599
  stockQuantity: number;
18595
18600
  categoryId: string | null;
18601
+ productId: string;
18596
18602
  productNo: number | null;
18597
18603
  discountedPrice: number | null;
18598
18604
  hasOptions: boolean;
@@ -18661,7 +18667,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
18661
18667
  fulfillment: UnknownFulfillment | {
18662
18668
  type: "SHIPPING";
18663
18669
  shipping: {
18664
- deliveryType: "PAID" | "FREE" | "CONDITIONAL_FREE";
18670
+ deliveryType: "FREE" | "PAID" | "CONDITIONAL_FREE";
18665
18671
  deliveryFee: number;
18666
18672
  conditionalFreeAmount: number | null;
18667
18673
  shippingAddressId: string | null;
@@ -18737,11 +18743,11 @@ export declare function createStoreClient(options: StoreClientOptions): {
18737
18743
  }>;
18738
18744
  create: (body: ProductCreateRequestInput, idempotencyKey?: string) => Promise<{
18739
18745
  name: string;
18740
- productId: string;
18741
18746
  status: "SALE" | "SUSPENDED" | "OUT_OF_STOCK" | "CLOSED";
18742
18747
  salePrice: number;
18743
18748
  stockQuantity: number;
18744
18749
  categoryId: string | null;
18750
+ productId: string;
18745
18751
  productNo: number | null;
18746
18752
  discountedPrice: number | null;
18747
18753
  hasOptions: boolean;
@@ -18810,7 +18816,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
18810
18816
  fulfillment: UnknownFulfillment | {
18811
18817
  type: "SHIPPING";
18812
18818
  shipping: {
18813
- deliveryType: "PAID" | "FREE" | "CONDITIONAL_FREE";
18819
+ deliveryType: "FREE" | "PAID" | "CONDITIONAL_FREE";
18814
18820
  deliveryFee: number;
18815
18821
  conditionalFreeAmount: number | null;
18816
18822
  shippingAddressId: string | null;
@@ -18886,11 +18892,11 @@ export declare function createStoreClient(options: StoreClientOptions): {
18886
18892
  }>;
18887
18893
  update: (productId: string, body: ProductReplaceRequestInput) => Promise<{
18888
18894
  name: string;
18889
- productId: string;
18890
18895
  status: "SALE" | "SUSPENDED" | "OUT_OF_STOCK" | "CLOSED";
18891
18896
  salePrice: number;
18892
18897
  stockQuantity: number;
18893
18898
  categoryId: string | null;
18899
+ productId: string;
18894
18900
  productNo: number | null;
18895
18901
  discountedPrice: number | null;
18896
18902
  hasOptions: boolean;
@@ -18959,7 +18965,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
18959
18965
  fulfillment: UnknownFulfillment | {
18960
18966
  type: "SHIPPING";
18961
18967
  shipping: {
18962
- deliveryType: "PAID" | "FREE" | "CONDITIONAL_FREE";
18968
+ deliveryType: "FREE" | "PAID" | "CONDITIONAL_FREE";
18963
18969
  deliveryFee: number;
18964
18970
  conditionalFreeAmount: number | null;
18965
18971
  shippingAddressId: string | null;
@@ -19217,11 +19223,11 @@ export declare function createStoreClient(options: StoreClientOptions): {
19217
19223
  /** 상품 상세 묶음 조회(id·상품번호 합 100개) — 상점 플랫폼 전용. 이 상점에 없는 값은 빠진다 */
19218
19224
  lookup: (body: ProductLookupRequest) => Promise<{
19219
19225
  name: string;
19220
- productId: string;
19221
19226
  status: "SALE" | "SUSPENDED" | "OUT_OF_STOCK" | "CLOSED";
19222
19227
  salePrice: number;
19223
19228
  stockQuantity: number;
19224
19229
  categoryId: string | null;
19230
+ productId: string;
19225
19231
  productNo: number | null;
19226
19232
  discountedPrice: number | null;
19227
19233
  hasOptions: boolean;
@@ -19290,7 +19296,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
19290
19296
  fulfillment: UnknownFulfillment | {
19291
19297
  type: "SHIPPING";
19292
19298
  shipping: {
19293
- deliveryType: "PAID" | "FREE" | "CONDITIONAL_FREE";
19299
+ deliveryType: "FREE" | "PAID" | "CONDITIONAL_FREE";
19294
19300
  deliveryFee: number;
19295
19301
  conditionalFreeAmount: number | null;
19296
19302
  shippingAddressId: string | null;
@@ -20642,7 +20648,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
20642
20648
  key: string;
20643
20649
  results: {
20644
20650
  orderItemId: string;
20645
- status: "COMPLETED" | "FAILED" | "SKIPPED";
20651
+ status: "FAILED" | "COMPLETED" | "SKIPPED";
20646
20652
  reason?: string | undefined;
20647
20653
  message?: string | undefined;
20648
20654
  }[];
@@ -21157,7 +21163,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
21157
21163
  enteredAt: string;
21158
21164
  fields: Record<string, string | number | boolean | string[] | null>;
21159
21165
  coreStatus?: "PAID" | "CANCELED" | "PAYMENT_WAITING" | "CONFIRMED" | "DISPATCHED" | "DELIVERING" | "DELIVERED" | "PURCHASE_DECIDED" | undefined;
21160
- claimStatus?: "COMPLETED" | "REJECTED" | "REQUESTED" | "HELD" | "COLLECTING" | "COLLECTED" | "REDELIVERING" | "APPROVED" | "WITHDRAWN" | undefined;
21166
+ claimStatus?: "REJECTED" | "COMPLETED" | "REQUESTED" | "HELD" | "COLLECTING" | "COLLECTED" | "REDELIVERING" | "APPROVED" | "WITHDRAWN" | undefined;
21161
21167
  message?: string | undefined;
21162
21168
  deadlineAt?: string | undefined;
21163
21169
  attachments?: string[] | undefined;
@@ -21222,7 +21228,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
21222
21228
  enteredAt: string;
21223
21229
  fields: Record<string, string | number | boolean | string[] | null>;
21224
21230
  coreStatus?: "PAID" | "CANCELED" | "PAYMENT_WAITING" | "CONFIRMED" | "DISPATCHED" | "DELIVERING" | "DELIVERED" | "PURCHASE_DECIDED" | undefined;
21225
- claimStatus?: "COMPLETED" | "REJECTED" | "REQUESTED" | "HELD" | "COLLECTING" | "COLLECTED" | "REDELIVERING" | "APPROVED" | "WITHDRAWN" | undefined;
21231
+ claimStatus?: "REJECTED" | "COMPLETED" | "REQUESTED" | "HELD" | "COLLECTING" | "COLLECTED" | "REDELIVERING" | "APPROVED" | "WITHDRAWN" | undefined;
21226
21232
  message?: string | undefined;
21227
21233
  deadlineAt?: string | undefined;
21228
21234
  attachments?: string[] | undefined;
@@ -21252,7 +21258,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
21252
21258
  enteredAt: string;
21253
21259
  fields: Record<string, string | number | boolean | string[] | null>;
21254
21260
  coreStatus?: "PAID" | "CANCELED" | "PAYMENT_WAITING" | "CONFIRMED" | "DISPATCHED" | "DELIVERING" | "DELIVERED" | "PURCHASE_DECIDED" | undefined;
21255
- claimStatus?: "COMPLETED" | "REJECTED" | "REQUESTED" | "HELD" | "COLLECTING" | "COLLECTED" | "REDELIVERING" | "APPROVED" | "WITHDRAWN" | undefined;
21261
+ claimStatus?: "REJECTED" | "COMPLETED" | "REQUESTED" | "HELD" | "COLLECTING" | "COLLECTED" | "REDELIVERING" | "APPROVED" | "WITHDRAWN" | undefined;
21256
21262
  message?: string | undefined;
21257
21263
  deadlineAt?: string | undefined;
21258
21264
  attachments?: string[] | undefined;
@@ -21315,7 +21321,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
21315
21321
  enteredAt: string;
21316
21322
  fields: Record<string, string | number | boolean | string[] | null>;
21317
21323
  coreStatus?: "PAID" | "CANCELED" | "PAYMENT_WAITING" | "CONFIRMED" | "DISPATCHED" | "DELIVERING" | "DELIVERED" | "PURCHASE_DECIDED" | undefined;
21318
- claimStatus?: "COMPLETED" | "REJECTED" | "REQUESTED" | "HELD" | "COLLECTING" | "COLLECTED" | "REDELIVERING" | "APPROVED" | "WITHDRAWN" | undefined;
21324
+ claimStatus?: "REJECTED" | "COMPLETED" | "REQUESTED" | "HELD" | "COLLECTING" | "COLLECTED" | "REDELIVERING" | "APPROVED" | "WITHDRAWN" | undefined;
21319
21325
  message?: string | undefined;
21320
21326
  deadlineAt?: string | undefined;
21321
21327
  attachments?: string[] | undefined;
@@ -21377,7 +21383,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
21377
21383
  enteredAt: string;
21378
21384
  fields: Record<string, string | number | boolean | string[] | null>;
21379
21385
  coreStatus?: "PAID" | "CANCELED" | "PAYMENT_WAITING" | "CONFIRMED" | "DISPATCHED" | "DELIVERING" | "DELIVERED" | "PURCHASE_DECIDED" | undefined;
21380
- claimStatus?: "COMPLETED" | "REJECTED" | "REQUESTED" | "HELD" | "COLLECTING" | "COLLECTED" | "REDELIVERING" | "APPROVED" | "WITHDRAWN" | undefined;
21386
+ claimStatus?: "REJECTED" | "COMPLETED" | "REQUESTED" | "HELD" | "COLLECTING" | "COLLECTED" | "REDELIVERING" | "APPROVED" | "WITHDRAWN" | undefined;
21381
21387
  message?: string | undefined;
21382
21388
  deadlineAt?: string | undefined;
21383
21389
  attachments?: string[] | undefined;
@@ -22011,7 +22017,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
22011
22017
  claimId: string;
22012
22018
  claimNo: string | null;
22013
22019
  type: "RETURN" | "EXCHANGE" | "CANCEL";
22014
- status: "COMPLETED" | "REJECTED" | "REQUESTED" | "HELD" | "COLLECTING" | "COLLECTED" | "REDELIVERING" | "APPROVED" | "WITHDRAWN";
22020
+ status: "REJECTED" | "COMPLETED" | "REQUESTED" | "HELD" | "COLLECTING" | "COLLECTED" | "REDELIVERING" | "APPROVED" | "WITHDRAWN";
22015
22021
  orderId: string;
22016
22022
  orderItemId: string;
22017
22023
  productName: string;
@@ -22051,7 +22057,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
22051
22057
  claimId: string;
22052
22058
  claimNo: string | null;
22053
22059
  type: "RETURN" | "EXCHANGE" | "CANCEL";
22054
- status: "COMPLETED" | "REJECTED" | "REQUESTED" | "HELD" | "COLLECTING" | "COLLECTED" | "REDELIVERING" | "APPROVED" | "WITHDRAWN";
22060
+ status: "REJECTED" | "COMPLETED" | "REQUESTED" | "HELD" | "COLLECTING" | "COLLECTED" | "REDELIVERING" | "APPROVED" | "WITHDRAWN";
22055
22061
  orderId: string;
22056
22062
  orderItemId: string;
22057
22063
  productName: string;
@@ -22086,7 +22092,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
22086
22092
  address2: string | null;
22087
22093
  } | null;
22088
22094
  histories?: {
22089
- status: "COMPLETED" | "REJECTED" | "REQUESTED" | "HELD" | "COLLECTING" | "COLLECTED" | "REDELIVERING" | "APPROVED" | "WITHDRAWN";
22095
+ status: "REJECTED" | "COMPLETED" | "REQUESTED" | "HELD" | "COLLECTING" | "COLLECTED" | "REDELIVERING" | "APPROVED" | "WITHDRAWN";
22090
22096
  actor: "SELLER" | "BUYER" | "SYSTEM";
22091
22097
  occurredAt: string;
22092
22098
  }[] | undefined;
@@ -22129,7 +22135,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
22129
22135
  claimId: string;
22130
22136
  claimNo: string | null;
22131
22137
  type: "RETURN" | "EXCHANGE" | "CANCEL";
22132
- status: "COMPLETED" | "REJECTED" | "REQUESTED" | "HELD" | "COLLECTING" | "COLLECTED" | "REDELIVERING" | "APPROVED" | "WITHDRAWN";
22138
+ status: "REJECTED" | "COMPLETED" | "REQUESTED" | "HELD" | "COLLECTING" | "COLLECTED" | "REDELIVERING" | "APPROVED" | "WITHDRAWN";
22133
22139
  orderId: string;
22134
22140
  orderItemId: string;
22135
22141
  productName: string;
@@ -23679,7 +23685,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
23679
23685
  conversionRate: number | null;
23680
23686
  };
23681
23687
  funnel: {
23682
- step: "SESSION" | "PRODUCT_VIEW" | "ADD_TO_CART" | "BEGIN_CHECKOUT" | "PURCHASE";
23688
+ step: "PURCHASE" | "SESSION" | "PRODUCT_VIEW" | "ADD_TO_CART" | "BEGIN_CHECKOUT";
23683
23689
  sessions: number;
23684
23690
  rateFromPrevious: number | null;
23685
23691
  }[];
@@ -23738,9 +23744,9 @@ export declare function createStoreClient(options: StoreClientOptions): {
23738
23744
  }>;
23739
23745
  /** `GET /v1/analytics/sources` — 채널·소스·캠페인·기기별 세션과 구매 */
23740
23746
  sources: (params: AnalyticsSourcesParams) => Promise<{
23741
- groupBy: "CAMPAIGN" | "CHANNEL" | "SOURCE" | "DEVICE";
23747
+ groupBy: "CHANNEL" | "SOURCE" | "CAMPAIGN" | "DEVICE";
23742
23748
  rows: {
23743
- channel: "DIRECT" | "ORGANIC_SEARCH" | "SOCIAL" | "PAID" | "EMAIL" | "CAMPAIGN" | "REFERRAL" | "UNKNOWN" | null;
23749
+ channel: "PAID" | "DIRECT" | "CAMPAIGN" | "UNKNOWN" | "ORGANIC_SEARCH" | "SOCIAL" | "EMAIL" | "REFERRAL" | null;
23744
23750
  source: string | null;
23745
23751
  medium: string | null;
23746
23752
  campaign: string | null;
@@ -23845,7 +23851,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
23845
23851
  checkout: (params: AnalyticsRangeParams) => Promise<{
23846
23852
  sessions: number;
23847
23853
  outcomes: {
23848
- outcome: "COMPLETED" | "NOT_OPENED" | "USER_CANCELED" | "DECLINED" | "PREPARE_FAILURE" | "OTHER" | "IN_PROGRESS";
23854
+ outcome: "OTHER" | "COMPLETED" | "NOT_OPENED" | "USER_CANCELED" | "DECLINED" | "PREPARE_FAILURE" | "IN_PROGRESS";
23849
23855
  sessions: number;
23850
23856
  }[];
23851
23857
  from: string;
@@ -26383,7 +26389,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
26383
26389
  list: (params?: ApprovalListOptions) => Promise<{
26384
26390
  items: {
26385
26391
  approvalId: string;
26386
- status: "UNKNOWN" | "PENDING" | "FAILED" | "SUCCEEDED" | "EXECUTING" | "REJECTED" | "EXPIRED";
26392
+ status: "PENDING" | "FAILED" | "SUCCEEDED" | "EXECUTING" | "UNKNOWN" | "REJECTED" | "EXPIRED";
26387
26393
  operationId: string;
26388
26394
  method: string;
26389
26395
  path: string;
@@ -26435,7 +26441,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
26435
26441
  }>;
26436
26442
  get: (approvalId: string) => Promise<{
26437
26443
  approvalId: string;
26438
- status: "UNKNOWN" | "PENDING" | "FAILED" | "SUCCEEDED" | "EXECUTING" | "REJECTED" | "EXPIRED";
26444
+ status: "PENDING" | "FAILED" | "SUCCEEDED" | "EXECUTING" | "UNKNOWN" | "REJECTED" | "EXPIRED";
26439
26445
  operationId: string;
26440
26446
  method: string;
26441
26447
  path: string;
@@ -26489,7 +26495,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
26489
26495
  */
26490
26496
  approve: (approvalId: string, body?: ApprovalDecisionRequest) => Promise<{
26491
26497
  approvalId: string;
26492
- status: "UNKNOWN" | "PENDING" | "FAILED" | "SUCCEEDED" | "EXECUTING" | "REJECTED" | "EXPIRED";
26498
+ status: "PENDING" | "FAILED" | "SUCCEEDED" | "EXECUTING" | "UNKNOWN" | "REJECTED" | "EXPIRED";
26493
26499
  operationId: string;
26494
26500
  method: string;
26495
26501
  path: string;
@@ -26539,7 +26545,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
26539
26545
  }>;
26540
26546
  reject: (approvalId: string, body?: ApprovalDecisionRequest) => Promise<{
26541
26547
  approvalId: string;
26542
- status: "UNKNOWN" | "PENDING" | "FAILED" | "SUCCEEDED" | "EXECUTING" | "REJECTED" | "EXPIRED";
26548
+ status: "PENDING" | "FAILED" | "SUCCEEDED" | "EXECUTING" | "UNKNOWN" | "REJECTED" | "EXPIRED";
26543
26549
  operationId: string;
26544
26550
  method: string;
26545
26551
  path: string;
@@ -27228,6 +27234,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
27228
27234
  slugChangesRemaining: number;
27229
27235
  createdAt: string;
27230
27236
  updatedAt: string;
27237
+ autoPublish?: boolean | null | undefined;
27231
27238
  deployWithoutApproval?: boolean | undefined;
27232
27239
  suspension?: {
27233
27240
  reason: string | null;
@@ -27294,6 +27301,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
27294
27301
  slugChangesRemaining: number;
27295
27302
  createdAt: string;
27296
27303
  updatedAt: string;
27304
+ autoPublish?: boolean | null | undefined;
27297
27305
  deployWithoutApproval?: boolean | undefined;
27298
27306
  suspension?: {
27299
27307
  reason: string | null;
@@ -27308,7 +27316,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
27308
27316
  /** `GET /v1/storefront/site/deployment` — 배포 진행(단계·기록). 만든 뒤 반영이 끝날 때까지 폴링한다 */
27309
27317
  getDeployment: () => Promise<{
27310
27318
  siteId: string;
27311
- status: "IN_PROGRESS" | "FAILED" | "SUCCEEDED";
27319
+ status: "FAILED" | "SUCCEEDED" | "IN_PROGRESS";
27312
27320
  url: string;
27313
27321
  startedAt: string;
27314
27322
  finishedAt: string | null;
@@ -27330,7 +27338,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
27330
27338
  /** `POST /v1/storefront/site/deployment/retry` (202) — 밀린 반영을 곧바로 다시 시도한다. 이미 반영됐으면 그대로다 */
27331
27339
  retryDeployment: () => Promise<{
27332
27340
  siteId: string;
27333
- status: "IN_PROGRESS" | "FAILED" | "SUCCEEDED";
27341
+ status: "FAILED" | "SUCCEEDED" | "IN_PROGRESS";
27334
27342
  url: string;
27335
27343
  startedAt: string;
27336
27344
  finishedAt: string | null;
@@ -27414,6 +27422,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
27414
27422
  slugChangesRemaining: number;
27415
27423
  createdAt: string;
27416
27424
  updatedAt: string;
27425
+ autoPublish?: boolean | null | undefined;
27417
27426
  deployWithoutApproval?: boolean | undefined;
27418
27427
  suspension?: {
27419
27428
  reason: string | null;
@@ -27470,6 +27479,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
27470
27479
  slugChangesRemaining: number;
27471
27480
  createdAt: string;
27472
27481
  updatedAt: string;
27482
+ autoPublish?: boolean | null | undefined;
27473
27483
  deployWithoutApproval?: boolean | undefined;
27474
27484
  suspension?: {
27475
27485
  reason: string | null;
@@ -27526,6 +27536,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
27526
27536
  slugChangesRemaining: number;
27527
27537
  createdAt: string;
27528
27538
  updatedAt: string;
27539
+ autoPublish?: boolean | null | undefined;
27529
27540
  deployWithoutApproval?: boolean | undefined;
27530
27541
  suspension?: {
27531
27542
  reason: string | null;
@@ -27582,6 +27593,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
27582
27593
  slugChangesRemaining: number;
27583
27594
  createdAt: string;
27584
27595
  updatedAt: string;
27596
+ autoPublish?: boolean | null | undefined;
27585
27597
  deployWithoutApproval?: boolean | undefined;
27586
27598
  suspension?: {
27587
27599
  reason: string | null;
@@ -27803,6 +27815,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
27803
27815
  slugChangesRemaining: number;
27804
27816
  createdAt: string;
27805
27817
  updatedAt: string;
27818
+ autoPublish?: boolean | null | undefined;
27806
27819
  deployWithoutApproval?: boolean | undefined;
27807
27820
  suspension?: {
27808
27821
  reason: string | null;
@@ -27978,7 +27991,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
27978
27991
  runCheck: (body: RunStorefrontCheckRequest) => Promise<{
27979
27992
  checkId: string;
27980
27993
  check: string;
27981
- status: "UNKNOWN" | "FAILED" | "QUEUED" | "RUNNING" | "PASSED" | "TIMED_OUT";
27994
+ status: "FAILED" | "UNKNOWN" | "QUEUED" | "RUNNING" | "PASSED" | "TIMED_OUT";
27982
27995
  exitCode: number | null;
27983
27996
  durationMs: number | null;
27984
27997
  outputTail: string | null;
@@ -27992,7 +28005,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
27992
28005
  getCheck: (checkId: string) => Promise<{
27993
28006
  checkId: string;
27994
28007
  check: string;
27995
- status: "UNKNOWN" | "FAILED" | "QUEUED" | "RUNNING" | "PASSED" | "TIMED_OUT";
28008
+ status: "FAILED" | "UNKNOWN" | "QUEUED" | "RUNNING" | "PASSED" | "TIMED_OUT";
27996
28009
  exitCode: number | null;
27997
28010
  durationMs: number | null;
27998
28011
  outputTail: string | null;
@@ -28326,14 +28339,17 @@ export declare function createStoreClient(options: StoreClientOptions): {
28326
28339
  totalBytes: number;
28327
28340
  content: string;
28328
28341
  }>;
28329
- /** `POST /v1/storefront/site/source/blobs` — 파일 내용 올리기(해시 키). 작업 트리는 바뀌지 않는다 */
28330
- uploadSourceBlobs: (body: UploadStorefrontSourceBlobsRequest) => Promise<{
28331
- stored: number;
28332
- existing: number;
28342
+ /**
28343
+ * `POST /v1/storefront/site/source/pack` — 묶음을 api를 거쳐 올린다. `createSourceUploads`가 503 `SOURCE_UPLOAD_UNAVAILABLE`일 때만 쓴다.
28344
+ * 작업 트리는 바뀌지 않는다
28345
+ */
28346
+ uploadSourcePack: (body: UploadStorefrontSourcePackRequest) => Promise<{
28347
+ hash: string;
28348
+ size: number;
28333
28349
  }>;
28334
28350
  /**
28335
- * `POST /v1/storefront/site/source/uploads` — 파일 내용을 저장소에 직접 올릴 서명 PUT 주소(#181). 503 `SOURCE_UPLOAD_UNAVAILABLE`이면
28336
- * `uploadSourceBlobs`로 올린다
28351
+ * `POST /v1/storefront/site/source/uploads` — 묶음을 저장소에 직접 올릴 서명 PUT 주소(#181·#351). 503 `SOURCE_UPLOAD_UNAVAILABLE`이면
28352
+ * `uploadSourcePack`으로 올린다
28337
28353
  */
28338
28354
  createSourceUploads: (body: CreateStorefrontSourceUploadsRequest) => Promise<{
28339
28355
  uploads: {
@@ -28370,6 +28386,63 @@ export declare function createStoreClient(options: StoreClientOptions): {
28370
28386
  merged?: boolean | undefined;
28371
28387
  uploadedRef?: string | undefined;
28372
28388
  }>;
28389
+ /** `PUT /v1/storefront/site/auto-publish` — 배포 뒤 바로 게시(상점 플랫폼 OWNER·ADMIN 전용, #356) */
28390
+ setAutoPublish: (body: SetStorefrontAutoPublishRequest) => Promise<{
28391
+ siteId: string;
28392
+ slug: string;
28393
+ hostname: string;
28394
+ url: string;
28395
+ domains: {
28396
+ hostname: string;
28397
+ kind: "PLATFORM" | "CUSTOM";
28398
+ status: "ACTIVE" | "HELD";
28399
+ isPrimary: boolean;
28400
+ holdUntil: string | null;
28401
+ }[];
28402
+ status: "SUSPENDED" | "CLOSED" | "ACTIVE";
28403
+ visibility: "COMING_SOON" | "PUBLIC";
28404
+ publishedVersion: {
28405
+ versionId: string;
28406
+ number: number;
28407
+ status: "FAILED" | "BUILDING" | "READY";
28408
+ published: boolean;
28409
+ publishedAt: string | null;
28410
+ message: string | null;
28411
+ source: "TEMPLATE" | "EDIT";
28412
+ buildId: string | null;
28413
+ createdByType: string;
28414
+ createdAt: string;
28415
+ createdVia?: string | null | undefined;
28416
+ gitRef?: string | null | undefined;
28417
+ commitSha?: string | null | undefined;
28418
+ excludedPaths?: string[] | null | undefined;
28419
+ mainChanged?: boolean | undefined;
28420
+ buildCanceled?: boolean | undefined;
28421
+ previewable?: boolean | undefined;
28422
+ } | null;
28423
+ provisioning: {
28424
+ status: "PENDING" | "FAILED" | "SYNCED";
28425
+ lastErrorCode: string | null;
28426
+ syncedAt: string | null;
28427
+ };
28428
+ editPreview: {
28429
+ hostname: string | null;
28430
+ };
28431
+ slugChangesRemaining: number;
28432
+ createdAt: string;
28433
+ updatedAt: string;
28434
+ autoPublish?: boolean | null | undefined;
28435
+ deployWithoutApproval?: boolean | undefined;
28436
+ suspension?: {
28437
+ reason: string | null;
28438
+ suspendedAt: string | null;
28439
+ } | null | undefined;
28440
+ snapshot?: {
28441
+ url: string;
28442
+ versionId: string | null;
28443
+ capturedAt: string | null;
28444
+ } | null | undefined;
28445
+ }>;
28373
28446
  /** `PUT /v1/storefront/site/deploy-approval` — 승인 없이 배포(상점 플랫폼 OWNER·ADMIN 전용) */
28374
28447
  setDeployApproval: (body: SetStorefrontDeployApprovalRequest) => Promise<{
28375
28448
  siteId: string;
@@ -28415,6 +28488,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
28415
28488
  slugChangesRemaining: number;
28416
28489
  createdAt: string;
28417
28490
  updatedAt: string;
28491
+ autoPublish?: boolean | null | undefined;
28418
28492
  deployWithoutApproval?: boolean | undefined;
28419
28493
  suspension?: {
28420
28494
  reason: string | null;