@sayren/store-sdk 0.29.5 → 0.29.7

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
@@ -165,9 +165,9 @@ export declare const auditLogPageSchema: z.ZodObject<{
165
165
  }, z.core.$strip>;
166
166
  export type AuditLogPage = z.infer<typeof auditLogPageSchema>;
167
167
  export declare const agentPolicyDecisionSchema: z.ZodEnum<{
168
- APPROVAL_REQUIRED: "APPROVAL_REQUIRED";
169
168
  DENIED: "DENIED";
170
169
  ALLOW: "ALLOW";
170
+ APPROVAL_REQUIRED: "APPROVAL_REQUIRED";
171
171
  }>;
172
172
  export type AgentPolicyDecision = z.infer<typeof agentPolicyDecisionSchema>;
173
173
  export declare const writePreviewSchema: z.ZodObject<{
@@ -190,9 +190,9 @@ export type WritePreview = z.infer<typeof writePreviewSchema>;
190
190
  export declare const writeDryRunResultSchema: z.ZodObject<{
191
191
  dryRun: z.ZodLiteral<true>;
192
192
  decision: z.ZodEnum<{
193
- APPROVAL_REQUIRED: "APPROVAL_REQUIRED";
194
193
  DENIED: "DENIED";
195
194
  ALLOW: "ALLOW";
195
+ APPROVAL_REQUIRED: "APPROVAL_REQUIRED";
196
196
  }>;
197
197
  reason: z.ZodNullable<z.ZodString>;
198
198
  preview: z.ZodObject<{
@@ -213,11 +213,11 @@ export declare const writeDryRunResultSchema: z.ZodObject<{
213
213
  }, z.core.$strip>;
214
214
  export type WriteDryRunResult = z.infer<typeof writeDryRunResultSchema>;
215
215
  export declare const approvalStatusSchema: z.ZodEnum<{
216
- UNKNOWN: "UNKNOWN";
217
216
  PENDING: "PENDING";
218
217
  FAILED: "FAILED";
219
218
  SUCCEEDED: "SUCCEEDED";
220
219
  EXECUTING: "EXECUTING";
220
+ UNKNOWN: "UNKNOWN";
221
221
  REJECTED: "REJECTED";
222
222
  EXPIRED: "EXPIRED";
223
223
  }>;
@@ -225,11 +225,11 @@ export type ApprovalStatus = z.infer<typeof approvalStatusSchema>;
225
225
  export declare const approvalRequestSchema: z.ZodObject<{
226
226
  approvalId: z.ZodString;
227
227
  status: z.ZodEnum<{
228
- UNKNOWN: "UNKNOWN";
229
228
  PENDING: "PENDING";
230
229
  FAILED: "FAILED";
231
230
  SUCCEEDED: "SUCCEEDED";
232
231
  EXECUTING: "EXECUTING";
232
+ UNKNOWN: "UNKNOWN";
233
233
  REJECTED: "REJECTED";
234
234
  EXPIRED: "EXPIRED";
235
235
  }>;
@@ -287,11 +287,11 @@ export declare const approvalRequestSchema: z.ZodObject<{
287
287
  export type ApprovalRequest = z.infer<typeof approvalRequestSchema>;
288
288
  export declare const approvalListQuerySchema: z.ZodObject<{
289
289
  status: z.ZodOptional<z.ZodPipe<z.ZodPipe<z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]>, z.ZodTransform<string[], string | string[]>>, z.ZodArray<z.ZodEnum<{
290
- UNKNOWN: "UNKNOWN";
291
290
  PENDING: "PENDING";
292
291
  FAILED: "FAILED";
293
292
  SUCCEEDED: "SUCCEEDED";
294
293
  EXECUTING: "EXECUTING";
294
+ UNKNOWN: "UNKNOWN";
295
295
  REJECTED: "REJECTED";
296
296
  EXPIRED: "EXPIRED";
297
297
  }>>>>;
@@ -306,11 +306,11 @@ export declare const approvalPageSchema: z.ZodObject<{
306
306
  items: z.ZodArray<z.ZodObject<{
307
307
  approvalId: z.ZodString;
308
308
  status: z.ZodEnum<{
309
- UNKNOWN: "UNKNOWN";
310
309
  PENDING: "PENDING";
311
310
  FAILED: "FAILED";
312
311
  SUCCEEDED: "SUCCEEDED";
313
312
  EXECUTING: "EXECUTING";
313
+ UNKNOWN: "UNKNOWN";
314
314
  REJECTED: "REJECTED";
315
315
  EXPIRED: "EXPIRED";
316
316
  }>;
@@ -448,11 +448,11 @@ export declare const analyticsTotalsSchema: z.ZodObject<{
448
448
  export type AnalyticsTotals = z.infer<typeof analyticsTotalsSchema>;
449
449
  export declare const analyticsFunnelStepSchema: z.ZodObject<{
450
450
  step: z.ZodEnum<{
451
+ PURCHASE: "PURCHASE";
451
452
  SESSION: "SESSION";
452
453
  PRODUCT_VIEW: "PRODUCT_VIEW";
453
454
  ADD_TO_CART: "ADD_TO_CART";
454
455
  BEGIN_CHECKOUT: "BEGIN_CHECKOUT";
455
- PURCHASE: "PURCHASE";
456
456
  }>;
457
457
  sessions: z.ZodNumber;
458
458
  rateFromPrevious: z.ZodNullable<z.ZodNumber>;
@@ -477,11 +477,11 @@ export declare const analyticsOverviewSchema: z.ZodObject<{
477
477
  }, z.core.$strip>;
478
478
  funnel: z.ZodArray<z.ZodObject<{
479
479
  step: z.ZodEnum<{
480
+ PURCHASE: "PURCHASE";
480
481
  SESSION: "SESSION";
481
482
  PRODUCT_VIEW: "PRODUCT_VIEW";
482
483
  ADD_TO_CART: "ADD_TO_CART";
483
484
  BEGIN_CHECKOUT: "BEGIN_CHECKOUT";
484
- PURCHASE: "PURCHASE";
485
485
  }>;
486
486
  sessions: z.ZodNumber;
487
487
  rateFromPrevious: z.ZodNullable<z.ZodNumber>;
@@ -581,20 +581,20 @@ export declare const analyticsProductsSchema: z.ZodObject<{
581
581
  }, z.core.$strip>;
582
582
  export type AnalyticsProducts = z.infer<typeof analyticsProductsSchema>;
583
583
  export declare const analyticsChannelSchema: z.ZodEnum<{
584
+ PAID: "PAID";
584
585
  DIRECT: "DIRECT";
586
+ CAMPAIGN: "CAMPAIGN";
587
+ UNKNOWN: "UNKNOWN";
585
588
  ORGANIC_SEARCH: "ORGANIC_SEARCH";
586
589
  SOCIAL: "SOCIAL";
587
- PAID: "PAID";
588
590
  EMAIL: "EMAIL";
589
- CAMPAIGN: "CAMPAIGN";
590
591
  REFERRAL: "REFERRAL";
591
- UNKNOWN: "UNKNOWN";
592
592
  }>;
593
593
  export type AnalyticsChannel = z.infer<typeof analyticsChannelSchema>;
594
594
  export declare const analyticsSourceGroupBySchema: z.ZodEnum<{
595
- CAMPAIGN: "CAMPAIGN";
596
595
  CHANNEL: "CHANNEL";
597
596
  SOURCE: "SOURCE";
597
+ CAMPAIGN: "CAMPAIGN";
598
598
  DEVICE: "DEVICE";
599
599
  }>;
600
600
  export type AnalyticsSourceGroupBy = z.infer<typeof analyticsSourceGroupBySchema>;
@@ -606,23 +606,23 @@ export declare const analyticsSourcesQuerySchema: z.ZodObject<{
606
606
  false: "false";
607
607
  }>>;
608
608
  groupBy: z.ZodOptional<z.ZodEnum<{
609
- CAMPAIGN: "CAMPAIGN";
610
609
  CHANNEL: "CHANNEL";
611
610
  SOURCE: "SOURCE";
611
+ CAMPAIGN: "CAMPAIGN";
612
612
  DEVICE: "DEVICE";
613
613
  }>>;
614
614
  }, z.core.$strip>;
615
615
  export type AnalyticsSourcesParams = z.infer<typeof analyticsSourcesQuerySchema>;
616
616
  export declare const analyticsSourceRowSchema: z.ZodObject<{
617
617
  channel: z.ZodNullable<z.ZodEnum<{
618
+ PAID: "PAID";
618
619
  DIRECT: "DIRECT";
620
+ CAMPAIGN: "CAMPAIGN";
621
+ UNKNOWN: "UNKNOWN";
619
622
  ORGANIC_SEARCH: "ORGANIC_SEARCH";
620
623
  SOCIAL: "SOCIAL";
621
- PAID: "PAID";
622
624
  EMAIL: "EMAIL";
623
- CAMPAIGN: "CAMPAIGN";
624
625
  REFERRAL: "REFERRAL";
625
- UNKNOWN: "UNKNOWN";
626
626
  }>>;
627
627
  source: z.ZodNullable<z.ZodString>;
628
628
  medium: z.ZodNullable<z.ZodString>;
@@ -644,21 +644,21 @@ export declare const analyticsSourceRowSchema: z.ZodObject<{
644
644
  export type AnalyticsSourceRow = z.infer<typeof analyticsSourceRowSchema>;
645
645
  export declare const analyticsSourcesSchema: z.ZodObject<{
646
646
  groupBy: z.ZodEnum<{
647
- CAMPAIGN: "CAMPAIGN";
648
647
  CHANNEL: "CHANNEL";
649
648
  SOURCE: "SOURCE";
649
+ CAMPAIGN: "CAMPAIGN";
650
650
  DEVICE: "DEVICE";
651
651
  }>;
652
652
  rows: z.ZodArray<z.ZodObject<{
653
653
  channel: z.ZodNullable<z.ZodEnum<{
654
+ PAID: "PAID";
654
655
  DIRECT: "DIRECT";
656
+ CAMPAIGN: "CAMPAIGN";
657
+ UNKNOWN: "UNKNOWN";
655
658
  ORGANIC_SEARCH: "ORGANIC_SEARCH";
656
659
  SOCIAL: "SOCIAL";
657
- PAID: "PAID";
658
660
  EMAIL: "EMAIL";
659
- CAMPAIGN: "CAMPAIGN";
660
661
  REFERRAL: "REFERRAL";
661
- UNKNOWN: "UNKNOWN";
662
662
  }>>;
663
663
  source: z.ZodNullable<z.ZodString>;
664
664
  medium: z.ZodNullable<z.ZodString>;
@@ -807,12 +807,12 @@ export declare const analyticsSearchSchema: z.ZodObject<{
807
807
  }, z.core.$strip>;
808
808
  export type AnalyticsSearch = z.infer<typeof analyticsSearchSchema>;
809
809
  export declare const analyticsCheckoutOutcomeSchema: z.ZodEnum<{
810
+ OTHER: "OTHER";
810
811
  COMPLETED: "COMPLETED";
811
812
  NOT_OPENED: "NOT_OPENED";
812
813
  USER_CANCELED: "USER_CANCELED";
813
814
  DECLINED: "DECLINED";
814
815
  PREPARE_FAILURE: "PREPARE_FAILURE";
815
- OTHER: "OTHER";
816
816
  IN_PROGRESS: "IN_PROGRESS";
817
817
  }>;
818
818
  export type AnalyticsCheckoutOutcome = z.infer<typeof analyticsCheckoutOutcomeSchema>;
@@ -820,12 +820,12 @@ export declare const analyticsCheckoutSchema: z.ZodObject<{
820
820
  sessions: z.ZodNumber;
821
821
  outcomes: z.ZodArray<z.ZodObject<{
822
822
  outcome: z.ZodEnum<{
823
+ OTHER: "OTHER";
823
824
  COMPLETED: "COMPLETED";
824
825
  NOT_OPENED: "NOT_OPENED";
825
826
  USER_CANCELED: "USER_CANCELED";
826
827
  DECLINED: "DECLINED";
827
828
  PREPARE_FAILURE: "PREPARE_FAILURE";
828
- OTHER: "OTHER";
829
829
  IN_PROGRESS: "IN_PROGRESS";
830
830
  }>;
831
831
  sessions: z.ZodNumber;
@@ -1264,7 +1264,6 @@ export declare const claimTypeSchema: z.ZodEnum<{
1264
1264
  }>;
1265
1265
  export type ClaimType = z.infer<typeof claimTypeSchema>;
1266
1266
  export declare const claimStatusSchema: z.ZodEnum<{
1267
- COMPLETED: "COMPLETED";
1268
1267
  REJECTED: "REJECTED";
1269
1268
  REQUESTED: "REQUESTED";
1270
1269
  HELD: "HELD";
@@ -1272,6 +1271,7 @@ export declare const claimStatusSchema: z.ZodEnum<{
1272
1271
  COLLECTED: "COLLECTED";
1273
1272
  REDELIVERING: "REDELIVERING";
1274
1273
  APPROVED: "APPROVED";
1274
+ COMPLETED: "COMPLETED";
1275
1275
  WITHDRAWN: "WITHDRAWN";
1276
1276
  }>;
1277
1277
  export type ClaimStatus = z.infer<typeof claimStatusSchema>;
@@ -1302,13 +1302,13 @@ export declare const claimReturnAddressSchema: z.ZodObject<{
1302
1302
  export type ClaimReturnAddress = z.infer<typeof claimReturnAddressSchema>;
1303
1303
  export declare const claimSchema: z.ZodObject<{
1304
1304
  claimId: z.ZodString;
1305
+ claimNo: z.ZodDefault<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
1305
1306
  type: z.ZodEnum<{
1306
1307
  RETURN: "RETURN";
1307
1308
  EXCHANGE: "EXCHANGE";
1308
1309
  CANCEL: "CANCEL";
1309
1310
  }>;
1310
1311
  status: z.ZodEnum<{
1311
- COMPLETED: "COMPLETED";
1312
1312
  REJECTED: "REJECTED";
1313
1313
  REQUESTED: "REQUESTED";
1314
1314
  HELD: "HELD";
@@ -1316,6 +1316,7 @@ export declare const claimSchema: z.ZodObject<{
1316
1316
  COLLECTED: "COLLECTED";
1317
1317
  REDELIVERING: "REDELIVERING";
1318
1318
  APPROVED: "APPROVED";
1319
+ COMPLETED: "COMPLETED";
1319
1320
  WITHDRAWN: "WITHDRAWN";
1320
1321
  }>;
1321
1322
  orderId: z.ZodString;
@@ -1391,13 +1392,13 @@ export declare const claimListQuerySchema: z.ZodObject<{
1391
1392
  /** `GET /v1/claims/{claimId}` 응답 — 클레임 + 상태 이력 */
1392
1393
  export declare const claimDetailSchema: z.ZodObject<{
1393
1394
  claimId: z.ZodString;
1395
+ claimNo: z.ZodDefault<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
1394
1396
  type: z.ZodEnum<{
1395
1397
  RETURN: "RETURN";
1396
1398
  EXCHANGE: "EXCHANGE";
1397
1399
  CANCEL: "CANCEL";
1398
1400
  }>;
1399
1401
  status: z.ZodEnum<{
1400
- COMPLETED: "COMPLETED";
1401
1402
  REJECTED: "REJECTED";
1402
1403
  REQUESTED: "REQUESTED";
1403
1404
  HELD: "HELD";
@@ -1405,6 +1406,7 @@ export declare const claimDetailSchema: z.ZodObject<{
1405
1406
  COLLECTED: "COLLECTED";
1406
1407
  REDELIVERING: "REDELIVERING";
1407
1408
  APPROVED: "APPROVED";
1409
+ COMPLETED: "COMPLETED";
1408
1410
  WITHDRAWN: "WITHDRAWN";
1409
1411
  }>;
1410
1412
  orderId: z.ZodString;
@@ -1455,7 +1457,6 @@ export declare const claimDetailSchema: z.ZodObject<{
1455
1457
  }, z.core.$strip>>;
1456
1458
  histories: z.ZodOptional<z.ZodArray<z.ZodObject<{
1457
1459
  status: z.ZodEnum<{
1458
- COMPLETED: "COMPLETED";
1459
1460
  REJECTED: "REJECTED";
1460
1461
  REQUESTED: "REQUESTED";
1461
1462
  HELD: "HELD";
@@ -1463,6 +1464,7 @@ export declare const claimDetailSchema: z.ZodObject<{
1463
1464
  COLLECTED: "COLLECTED";
1464
1465
  REDELIVERING: "REDELIVERING";
1465
1466
  APPROVED: "APPROVED";
1467
+ COMPLETED: "COMPLETED";
1466
1468
  WITHDRAWN: "WITHDRAWN";
1467
1469
  }>;
1468
1470
  actor: z.ZodEnum<{
@@ -2020,10 +2022,15 @@ export declare const couponStatusSchema: z.ZodEnum<{
2020
2022
  ENDED: "ENDED";
2021
2023
  }>;
2022
2024
  export type CouponStatus = z.infer<typeof couponStatusSchema>;
2023
- /** 지금 만들 수 있는 발급 방식 — 다운로드·가입 자동 지급은 뒤 단계다 */
2025
+ /**
2026
+ * 발급 방식 — 코드 입력·셀러 지급·다운로드(구매자가 받기)·회원가입 자동 지급(이슈 #110).
2027
+ * 응답(`couponSchema.issueMethod`)은 값이 늘 수 있어 문자열로 받는다. 이 enum은 요청 검증용이다.
2028
+ */
2024
2029
  export declare const couponIssueMethodSchema: z.ZodEnum<{
2025
2030
  MANUAL: "MANUAL";
2026
2031
  CODE: "CODE";
2032
+ DOWNLOAD: "DOWNLOAD";
2033
+ SIGNUP: "SIGNUP";
2027
2034
  }>;
2028
2035
  export type CouponIssueMethod = z.infer<typeof couponIssueMethodSchema>;
2029
2036
  /** 코드 형식 — 영문·숫자·`-`·`_` 6~30자. 대소문자를 구분하지 않고 서버가 대문자로 저장한다 */
@@ -2076,6 +2083,8 @@ export declare const createCouponRequestSchema: z.ZodObject<{
2076
2083
  issueMethod: z.ZodEnum<{
2077
2084
  MANUAL: "MANUAL";
2078
2085
  CODE: "CODE";
2086
+ DOWNLOAD: "DOWNLOAD";
2087
+ SIGNUP: "SIGNUP";
2079
2088
  }>;
2080
2089
  code: z.ZodOptional<z.ZodString>;
2081
2090
  startsAt: z.ZodOptional<z.ZodNullable<z.ZodISODateTime>>;
@@ -2194,6 +2203,8 @@ export declare const couponListQuerySchema: z.ZodObject<{
2194
2203
  issueMethod: z.ZodOptional<z.ZodEnum<{
2195
2204
  MANUAL: "MANUAL";
2196
2205
  CODE: "CODE";
2206
+ DOWNLOAD: "DOWNLOAD";
2207
+ SIGNUP: "SIGNUP";
2197
2208
  }>>;
2198
2209
  q: z.ZodOptional<z.ZodString>;
2199
2210
  }, z.core.$strip>;
@@ -2204,6 +2215,7 @@ export declare const couponIssueSchema: z.ZodObject<{
2204
2215
  couponId: z.ZodString;
2205
2216
  customerId: z.ZodString;
2206
2217
  customerName: z.ZodNullable<z.ZodString>;
2218
+ source: z.ZodOptional<z.ZodString>;
2207
2219
  status: z.ZodString;
2208
2220
  validFrom: z.ZodString;
2209
2221
  validUntil: z.ZodNullable<z.ZodString>;
@@ -2282,6 +2294,7 @@ export declare const customerCouponSchema: z.ZodObject<{
2282
2294
  couponId: z.ZodString;
2283
2295
  customerId: z.ZodString;
2284
2296
  customerName: z.ZodNullable<z.ZodString>;
2297
+ source: z.ZodOptional<z.ZodString>;
2285
2298
  status: z.ZodString;
2286
2299
  validFrom: z.ZodString;
2287
2300
  validUntil: z.ZodNullable<z.ZodString>;
@@ -2382,8 +2395,8 @@ export type ConsentAction = z.infer<typeof consentActionSchema>;
2382
2395
  * `RECONSENT` 약관 개정 재동의 · `MEMBER_UPDATE` 구매자가 직접 변경 · `SELLER` 셀러가 처리
2383
2396
  */
2384
2397
  export declare const consentSourceSchema: z.ZodEnum<{
2385
- SELLER: "SELLER";
2386
2398
  SIGNUP: "SIGNUP";
2399
+ SELLER: "SELLER";
2387
2400
  SOCIAL_SIGNUP: "SOCIAL_SIGNUP";
2388
2401
  DELEGATED: "DELEGATED";
2389
2402
  RECONSENT: "RECONSENT";
@@ -2405,8 +2418,8 @@ export declare const customerConsentSchema: z.ZodObject<{
2405
2418
  AGREED: "AGREED";
2406
2419
  }>;
2407
2420
  source: z.ZodEnum<{
2408
- SELLER: "SELLER";
2409
2421
  SIGNUP: "SIGNUP";
2422
+ SELLER: "SELLER";
2410
2423
  SOCIAL_SIGNUP: "SOCIAL_SIGNUP";
2411
2424
  DELEGATED: "DELEGATED";
2412
2425
  RECONSENT: "RECONSENT";
@@ -2595,10 +2608,10 @@ export type CustomerOrder = z.infer<typeof customerOrderSchema>;
2595
2608
  /** `POST /v1/customers/{id}/withdraw` 본문 */
2596
2609
  export declare const withdrawCustomerRequestSchema: z.ZodObject<{
2597
2610
  reason: z.ZodEnum<{
2598
- OTHER: "OTHER";
2599
2611
  BUYER_REQUEST: "BUYER_REQUEST";
2600
2612
  DORMANT: "DORMANT";
2601
2613
  ABUSE: "ABUSE";
2614
+ OTHER: "OTHER";
2602
2615
  }>;
2603
2616
  memo: z.ZodOptional<z.ZodString>;
2604
2617
  }, z.core.$strip>;
@@ -3332,8 +3345,8 @@ export declare function requiresCollection(type: string | null | undefined): boo
3332
3345
  export declare const NO_SHIPPING_BUNDLE_KEY = "none";
3333
3346
  /** 배송비 유형 — 무료·유료·조건부 무료 */
3334
3347
  export declare const deliveryTypeSchema: z.ZodEnum<{
3335
- PAID: "PAID";
3336
3348
  FREE: "FREE";
3349
+ PAID: "PAID";
3337
3350
  CONDITIONAL_FREE: "CONDITIONAL_FREE";
3338
3351
  }>;
3339
3352
  export type DeliveryType = z.infer<typeof deliveryTypeSchema>;
@@ -3344,8 +3357,8 @@ export declare const productFulfillmentCreateSchema: z.ZodDiscriminatedUnion<[z.
3344
3357
  type: z.ZodLiteral<"SHIPPING">;
3345
3358
  shipping: z.ZodOptional<z.ZodObject<{
3346
3359
  deliveryType: z.ZodDefault<z.ZodEnum<{
3347
- PAID: "PAID";
3348
3360
  FREE: "FREE";
3361
+ PAID: "PAID";
3349
3362
  CONDITIONAL_FREE: "CONDITIONAL_FREE";
3350
3363
  }>>;
3351
3364
  deliveryFee: z.ZodOptional<z.ZodNumber>;
@@ -3367,8 +3380,8 @@ export declare const productFulfillmentUpdateSchema: z.ZodDiscriminatedUnion<[z.
3367
3380
  type: z.ZodLiteral<"SHIPPING">;
3368
3381
  shipping: z.ZodObject<{
3369
3382
  deliveryType: z.ZodEnum<{
3370
- PAID: "PAID";
3371
3383
  FREE: "FREE";
3384
+ PAID: "PAID";
3372
3385
  CONDITIONAL_FREE: "CONDITIONAL_FREE";
3373
3386
  }>;
3374
3387
  deliveryFee: z.ZodNumber;
@@ -3388,8 +3401,8 @@ export declare const productFulfillmentSchema: z.ZodDiscriminatedUnion<[z.ZodObj
3388
3401
  type: z.ZodLiteral<"SHIPPING">;
3389
3402
  shipping: z.ZodObject<{
3390
3403
  deliveryType: z.ZodEnum<{
3391
- PAID: "PAID";
3392
3404
  FREE: "FREE";
3405
+ PAID: "PAID";
3393
3406
  CONDITIONAL_FREE: "CONDITIONAL_FREE";
3394
3407
  }>;
3395
3408
  deliveryFee: z.ZodNumber;
@@ -3427,8 +3440,8 @@ export declare const productFulfillmentResponseSchema: z.ZodUnion<readonly [z.Zo
3427
3440
  type: z.ZodLiteral<"SHIPPING">;
3428
3441
  shipping: z.ZodObject<{
3429
3442
  deliveryType: z.ZodEnum<{
3430
- PAID: "PAID";
3431
3443
  FREE: "FREE";
3444
+ PAID: "PAID";
3432
3445
  CONDITIONAL_FREE: "CONDITIONAL_FREE";
3433
3446
  }>;
3434
3447
  deliveryFee: z.ZodNumber;
@@ -3478,6 +3491,7 @@ export type OrderItemFulfillmentSnapshotView = z.infer<typeof orderItemFulfillme
3478
3491
  //#region src/schemas/order.d.ts
3479
3492
  export declare const orderSummarySchema: z.ZodObject<{
3480
3493
  orderId: z.ZodString;
3494
+ orderNo: z.ZodDefault<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
3481
3495
  ordererName: z.ZodString;
3482
3496
  itemCount: z.ZodNumber;
3483
3497
  totalAmount: z.ZodNumber;
@@ -3515,6 +3529,7 @@ export declare const orderItemFulfillmentSchema: z.ZodObject<{
3515
3529
  export type OrderItemFulfillment = z.infer<typeof orderItemFulfillmentSchema>;
3516
3530
  export declare const orderItemSchema: z.ZodObject<{
3517
3531
  orderItemId: z.ZodString;
3532
+ orderItemNo: z.ZodDefault<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
3518
3533
  orderId: z.ZodString;
3519
3534
  status: z.ZodEnum<{
3520
3535
  PAID: "PAID";
@@ -3608,6 +3623,7 @@ export declare const orderDiscountSchema: z.ZodObject<{
3608
3623
  export type OrderDiscount = z.infer<typeof orderDiscountSchema>;
3609
3624
  export declare const orderSchema: z.ZodObject<{
3610
3625
  orderId: z.ZodString;
3626
+ orderNo: z.ZodDefault<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
3611
3627
  orderedAt: z.ZodString;
3612
3628
  orderer: z.ZodObject<{
3613
3629
  name: z.ZodString;
@@ -3676,6 +3692,7 @@ export declare const orderSchema: z.ZodObject<{
3676
3692
  testPayment: z.ZodBoolean;
3677
3693
  items: z.ZodArray<z.ZodObject<{
3678
3694
  orderItemId: z.ZodString;
3695
+ orderItemNo: z.ZodDefault<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
3679
3696
  orderId: z.ZodString;
3680
3697
  status: z.ZodEnum<{
3681
3698
  PAID: "PAID";
@@ -3767,6 +3784,7 @@ export declare const orderSummaryPageSchema: z.ZodObject<{
3767
3784
  totalPages: z.ZodNumber;
3768
3785
  contents: z.ZodArray<z.ZodObject<{
3769
3786
  orderId: z.ZodString;
3787
+ orderNo: z.ZodDefault<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
3770
3788
  ordererName: z.ZodString;
3771
3789
  itemCount: z.ZodNumber;
3772
3790
  totalAmount: z.ZodNumber;
@@ -3793,6 +3811,7 @@ export declare const orderItemPageSchema: z.ZodObject<{
3793
3811
  totalPages: z.ZodNumber;
3794
3812
  contents: z.ZodArray<z.ZodObject<{
3795
3813
  orderItemId: z.ZodString;
3814
+ orderItemNo: z.ZodDefault<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
3796
3815
  orderId: z.ZodString;
3797
3816
  status: z.ZodEnum<{
3798
3817
  PAID: "PAID";
@@ -3878,13 +3897,13 @@ export declare const orderItemPageSchema: z.ZodObject<{
3878
3897
  export type OrderItemPage = z.infer<typeof orderItemPageSchema>;
3879
3898
  /**
3880
3899
  * `GET /v1/orders` 쿼리 — OpenAPI 문서용 형태(값은 쿼리 문자열). 검증 규칙은 서버가 적용한다:
3881
- * `orderedFrom` 누락 400 `MISSING_PARAMETER`, 날짜 형식 오류 400 `INVALID_PARAMETER`, 31일 초과 400 `RANGE_TOO_WIDE`,
3900
+ * `orderNo` 없이 `orderedFrom` 누락 400 `MISSING_PARAMETER`, 날짜·`orderNo` 형식 오류 400 `INVALID_PARAMETER`, 31일 초과 400 `RANGE_TOO_WIDE`,
3882
3901
  * `testPayment`가 `true`·`false`가 아니면 400 `INVALID_PARAMETER`
3883
3902
  */
3884
3903
  export declare const orderListQuerySchema: z.ZodObject<{
3885
3904
  size: z.ZodOptional<z.ZodString>;
3886
3905
  page: z.ZodOptional<z.ZodString>;
3887
- orderedFrom: z.ZodString;
3906
+ orderedFrom: z.ZodOptional<z.ZodString>;
3888
3907
  orderedTo: z.ZodOptional<z.ZodString>;
3889
3908
  status: z.ZodOptional<z.ZodEnum<{
3890
3909
  PAID: "PAID";
@@ -3897,6 +3916,7 @@ export declare const orderListQuerySchema: z.ZodObject<{
3897
3916
  PURCHASE_DECIDED: "PURCHASE_DECIDED";
3898
3917
  }>>;
3899
3918
  keyword: z.ZodOptional<z.ZodString>;
3919
+ orderNo: z.ZodOptional<z.ZodString>;
3900
3920
  fulfillmentType: z.ZodOptional<z.ZodString>;
3901
3921
  testPayment: z.ZodOptional<z.ZodEnum<{
3902
3922
  true: "true";
@@ -3930,7 +3950,10 @@ export declare const orderItemListQuerySchema: z.ZodObject<{
3930
3950
  }>>;
3931
3951
  }, z.core.$strip>;
3932
3952
  export interface OrderListParams extends PageParams {
3933
- orderedFrom: string;
3953
+ /** 조회 시작 시각 — `orderNo`가 없으면 필수 */
3954
+ orderedFrom?: string;
3955
+ /** 주문번호 조회(이슈 #107) — 주면 기간 없이 그 주문만 찾는다 */
3956
+ orderNo?: string;
3934
3957
  orderedTo?: string;
3935
3958
  status?: z.infer<typeof orderItemStatusSchema>;
3936
3959
  keyword?: string;
@@ -3947,16 +3970,16 @@ export interface OrderItemListParams extends PageParams {
3947
3970
  testPayment?: "true" | "false";
3948
3971
  }
3949
3972
  export declare const deliveryMethodSchema: z.ZodEnum<{
3950
- DIRECT: "DIRECT";
3951
3973
  COURIER: "COURIER";
3974
+ DIRECT: "DIRECT";
3952
3975
  QUICK: "QUICK";
3953
3976
  NOTHING: "NOTHING";
3954
3977
  }>;
3955
3978
  export type DeliveryMethod = z.infer<typeof deliveryMethodSchema>;
3956
3979
  export declare const dispatchRequestSchema: z.ZodObject<{
3957
3980
  deliveryMethod: z.ZodEnum<{
3958
- DIRECT: "DIRECT";
3959
3981
  COURIER: "COURIER";
3982
+ DIRECT: "DIRECT";
3960
3983
  QUICK: "QUICK";
3961
3984
  NOTHING: "NOTHING";
3962
3985
  }>;
@@ -3968,8 +3991,8 @@ export type DispatchRequest = z.infer<typeof dispatchRequestSchema>;
3968
3991
  export declare const deliveryInfoSchema: z.ZodObject<{
3969
3992
  orderItemId: z.ZodString;
3970
3993
  deliveryMethod: z.ZodEnum<{
3971
- DIRECT: "DIRECT";
3972
3994
  COURIER: "COURIER";
3995
+ DIRECT: "DIRECT";
3973
3996
  QUICK: "QUICK";
3974
3997
  NOTHING: "NOTHING";
3975
3998
  }>;
@@ -3995,8 +4018,8 @@ export declare const trackingStageResponseSchema: z.ZodString;
3995
4018
  export declare const deliveryStatusSchema: z.ZodObject<{
3996
4019
  orderItemId: z.ZodString;
3997
4020
  deliveryMethod: z.ZodEnum<{
3998
- DIRECT: "DIRECT";
3999
4021
  COURIER: "COURIER";
4022
+ DIRECT: "DIRECT";
4000
4023
  QUICK: "QUICK";
4001
4024
  NOTHING: "NOTHING";
4002
4025
  }>;
@@ -4909,6 +4932,7 @@ export declare const paymentRecordSchema: z.ZodObject<{
4909
4932
  testPayment: z.ZodBoolean;
4910
4933
  pgTransactionId: z.ZodNullable<z.ZodString>;
4911
4934
  attemptId: z.ZodNullable<z.ZodString>;
4935
+ pgOrderId: z.ZodDefault<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
4912
4936
  attemptCount: z.ZodNumber;
4913
4937
  failCode: z.ZodNullable<z.ZodString>;
4914
4938
  failMessage: z.ZodNullable<z.ZodString>;
@@ -4955,6 +4979,7 @@ export declare const paymentRecordPageSchema: z.ZodObject<{
4955
4979
  testPayment: z.ZodBoolean;
4956
4980
  pgTransactionId: z.ZodNullable<z.ZodString>;
4957
4981
  attemptId: z.ZodNullable<z.ZodString>;
4982
+ pgOrderId: z.ZodDefault<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
4958
4983
  attemptCount: z.ZodNumber;
4959
4984
  failCode: z.ZodNullable<z.ZodString>;
4960
4985
  failMessage: z.ZodNullable<z.ZodString>;
@@ -4966,6 +4991,7 @@ export declare const paymentRecordPageSchema: z.ZodObject<{
4966
4991
  export type PaymentRecordPage = z.infer<typeof paymentRecordPageSchema>;
4967
4992
  export declare const paymentAttemptRecordSchema: z.ZodObject<{
4968
4993
  attemptId: z.ZodString;
4994
+ pgOrderId: z.ZodDefault<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
4969
4995
  sequence: z.ZodNumber;
4970
4996
  provider: z.ZodEnum<{
4971
4997
  tosspayments: "tosspayments";
@@ -5045,6 +5071,7 @@ export declare const paymentRecordDetailSchema: z.ZodObject<{
5045
5071
  testPayment: z.ZodBoolean;
5046
5072
  pgTransactionId: z.ZodNullable<z.ZodString>;
5047
5073
  attemptId: z.ZodNullable<z.ZodString>;
5074
+ pgOrderId: z.ZodDefault<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
5048
5075
  attemptCount: z.ZodNumber;
5049
5076
  failCode: z.ZodNullable<z.ZodString>;
5050
5077
  failMessage: z.ZodNullable<z.ZodString>;
@@ -5055,6 +5082,7 @@ export declare const paymentRecordDetailSchema: z.ZodObject<{
5055
5082
  merchantId: z.ZodNullable<z.ZodString>;
5056
5083
  attempts: z.ZodArray<z.ZodObject<{
5057
5084
  attemptId: z.ZodString;
5085
+ pgOrderId: z.ZodDefault<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
5058
5086
  sequence: z.ZodNumber;
5059
5087
  provider: z.ZodEnum<{
5060
5088
  tosspayments: "tosspayments";
@@ -5342,11 +5370,11 @@ export type PointEntry = z.infer<typeof pointEntrySchema>;
5342
5370
  export declare const pointLotSchema: z.ZodObject<{
5343
5371
  lotId: z.ZodString;
5344
5372
  source: z.ZodUnion<readonly [z.ZodEnum<{
5345
- PURCHASE: "PURCHASE";
5346
5373
  REFUND_RESTORE: "REFUND_RESTORE";
5347
5374
  ADJUST: "ADJUST";
5348
5375
  OPENING: "OPENING";
5349
5376
  REVIEW: "REVIEW";
5377
+ PURCHASE: "PURCHASE";
5350
5378
  }>, z.ZodString]>;
5351
5379
  amount: z.ZodNumber;
5352
5380
  remaining: z.ZodNumber;
@@ -5361,11 +5389,11 @@ export declare const customerPointsSchema: z.ZodObject<{
5361
5389
  lots: z.ZodArray<z.ZodObject<{
5362
5390
  lotId: z.ZodString;
5363
5391
  source: z.ZodUnion<readonly [z.ZodEnum<{
5364
- PURCHASE: "PURCHASE";
5365
5392
  REFUND_RESTORE: "REFUND_RESTORE";
5366
5393
  ADJUST: "ADJUST";
5367
5394
  OPENING: "OPENING";
5368
5395
  REVIEW: "REVIEW";
5396
+ PURCHASE: "PURCHASE";
5369
5397
  }>, z.ZodString]>;
5370
5398
  amount: z.ZodNumber;
5371
5399
  remaining: z.ZodNumber;
@@ -5458,6 +5486,7 @@ export declare const productStatusSchema: z.ZodEnum<{
5458
5486
  export type ProductStatus = z.infer<typeof productStatusSchema>;
5459
5487
  export declare const productSummarySchema: z.ZodObject<{
5460
5488
  productId: z.ZodString;
5489
+ productNo: z.ZodDefault<z.ZodOptional<z.ZodNullable<z.ZodNumber>>>;
5461
5490
  name: z.ZodString;
5462
5491
  status: z.ZodEnum<{
5463
5492
  SALE: "SALE";
@@ -5503,6 +5532,7 @@ export type OptionGroup = z.infer<typeof optionGroupSchema>;
5503
5532
  */
5504
5533
  export declare const productVariantSchema: z.ZodObject<{
5505
5534
  variantId: z.ZodString;
5535
+ variantNo: z.ZodDefault<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
5506
5536
  valueIds: z.ZodArray<z.ZodString>;
5507
5537
  name: z.ZodString;
5508
5538
  additionalPrice: z.ZodNumber;
@@ -5645,6 +5675,7 @@ export declare const discountSchema: z.ZodObject<{
5645
5675
  export type Discount = z.infer<typeof discountSchema>;
5646
5676
  export declare const productSchema: z.ZodObject<{
5647
5677
  productId: z.ZodString;
5678
+ productNo: z.ZodDefault<z.ZodOptional<z.ZodNullable<z.ZodNumber>>>;
5648
5679
  name: z.ZodString;
5649
5680
  status: z.ZodEnum<{
5650
5681
  SALE: "SALE";
@@ -5681,6 +5712,7 @@ export declare const productSchema: z.ZodObject<{
5681
5712
  }, z.core.$strip>>;
5682
5713
  variants: z.ZodArray<z.ZodObject<{
5683
5714
  variantId: z.ZodString;
5715
+ variantNo: z.ZodDefault<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
5684
5716
  valueIds: z.ZodArray<z.ZodString>;
5685
5717
  name: z.ZodString;
5686
5718
  additionalPrice: z.ZodNumber;
@@ -5725,8 +5757,8 @@ export declare const productSchema: z.ZodObject<{
5725
5757
  type: z.ZodLiteral<"SHIPPING">;
5726
5758
  shipping: z.ZodObject<{
5727
5759
  deliveryType: z.ZodEnum<{
5728
- PAID: "PAID";
5729
5760
  FREE: "FREE";
5761
+ PAID: "PAID";
5730
5762
  CONDITIONAL_FREE: "CONDITIONAL_FREE";
5731
5763
  }>;
5732
5764
  deliveryFee: z.ZodNumber;
@@ -5881,6 +5913,7 @@ export declare const optionModelSchema: z.ZodObject<{
5881
5913
  }, z.core.$strip>>;
5882
5914
  variants: z.ZodArray<z.ZodObject<{
5883
5915
  variantId: z.ZodString;
5916
+ variantNo: z.ZodDefault<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
5884
5917
  valueIds: z.ZodArray<z.ZodString>;
5885
5918
  name: z.ZodString;
5886
5919
  additionalPrice: z.ZodNumber;
@@ -5948,8 +5981,8 @@ export declare const productCreateRequestSchema: z.ZodObject<{
5948
5981
  type: z.ZodLiteral<"SHIPPING">;
5949
5982
  shipping: z.ZodOptional<z.ZodObject<{
5950
5983
  deliveryType: z.ZodDefault<z.ZodEnum<{
5951
- PAID: "PAID";
5952
5984
  FREE: "FREE";
5985
+ PAID: "PAID";
5953
5986
  CONDITIONAL_FREE: "CONDITIONAL_FREE";
5954
5987
  }>>;
5955
5988
  deliveryFee: z.ZodOptional<z.ZodNumber>;
@@ -6034,8 +6067,8 @@ export declare const productReplaceRequestSchema: z.ZodObject<{
6034
6067
  type: z.ZodLiteral<"SHIPPING">;
6035
6068
  shipping: z.ZodObject<{
6036
6069
  deliveryType: z.ZodEnum<{
6037
- PAID: "PAID";
6038
6070
  FREE: "FREE";
6071
+ PAID: "PAID";
6039
6072
  CONDITIONAL_FREE: "CONDITIONAL_FREE";
6040
6073
  }>;
6041
6074
  deliveryFee: z.ZodNumber;
@@ -6128,8 +6161,8 @@ export declare const productPatchRequestSchema: z.ZodObject<{
6128
6161
  type: z.ZodLiteral<"SHIPPING">;
6129
6162
  shipping: z.ZodObject<{
6130
6163
  deliveryType: z.ZodEnum<{
6131
- PAID: "PAID";
6132
6164
  FREE: "FREE";
6165
+ PAID: "PAID";
6133
6166
  CONDITIONAL_FREE: "CONDITIONAL_FREE";
6134
6167
  }>;
6135
6168
  deliveryFee: z.ZodNumber;
@@ -6163,6 +6196,8 @@ export interface ProductListParams extends PageParams {
6163
6196
  categoryId?: string;
6164
6197
  keyword?: string;
6165
6198
  sellerCode?: string;
6199
+ /** 상품번호(이슈 #107, 상점 범위) — 그 상품만 */
6200
+ productNo?: number;
6166
6201
  sort?: ProductSort;
6167
6202
  }
6168
6203
  /** `GET /v1/products` 쿼리 — OpenAPI 문서용 형태(값은 쿼리 문자열) */
@@ -6178,6 +6213,7 @@ export declare const productListQuerySchema: z.ZodObject<{
6178
6213
  categoryId: z.ZodOptional<z.ZodString>;
6179
6214
  keyword: z.ZodOptional<z.ZodString>;
6180
6215
  sellerCode: z.ZodOptional<z.ZodString>;
6216
+ productNo: z.ZodOptional<z.ZodString>;
6181
6217
  sort: z.ZodOptional<z.ZodEnum<{
6182
6218
  "createdAt.desc": "createdAt.desc";
6183
6219
  "createdAt.asc": "createdAt.asc";
@@ -7090,9 +7126,9 @@ export type StorefrontDeploymentLog = z.infer<typeof storefrontDeploymentLogSche
7090
7126
  export declare const storefrontDeploymentSchema: z.ZodObject<{
7091
7127
  siteId: z.ZodString;
7092
7128
  status: z.ZodEnum<{
7093
- IN_PROGRESS: "IN_PROGRESS";
7094
7129
  FAILED: "FAILED";
7095
7130
  SUCCEEDED: "SUCCEEDED";
7131
+ IN_PROGRESS: "IN_PROGRESS";
7096
7132
  }>;
7097
7133
  url: z.ZodString;
7098
7134
  startedAt: z.ZodString;
@@ -7550,8 +7586,8 @@ export declare const runStorefrontCheckRequestSchema: z.ZodObject<{
7550
7586
  }, z.core.$strip>;
7551
7587
  export type RunStorefrontCheckRequest = z.infer<typeof runStorefrontCheckRequestSchema>;
7552
7588
  export declare const storefrontCheckStatusSchema: z.ZodEnum<{
7553
- UNKNOWN: "UNKNOWN";
7554
7589
  FAILED: "FAILED";
7590
+ UNKNOWN: "UNKNOWN";
7555
7591
  RUNNING: "RUNNING";
7556
7592
  QUEUED: "QUEUED";
7557
7593
  PASSED: "PASSED";
@@ -7564,8 +7600,8 @@ export declare const storefrontCheckSchema: z.ZodObject<{
7564
7600
  checkId: z.ZodString;
7565
7601
  check: z.ZodString;
7566
7602
  status: z.ZodEnum<{
7567
- UNKNOWN: "UNKNOWN";
7568
7603
  FAILED: "FAILED";
7604
+ UNKNOWN: "UNKNOWN";
7569
7605
  RUNNING: "RUNNING";
7570
7606
  QUEUED: "QUEUED";
7571
7607
  PASSED: "PASSED";
@@ -8310,6 +8346,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
8310
8346
  totalPages: number;
8311
8347
  contents: {
8312
8348
  productId: string;
8349
+ productNo: number | null;
8313
8350
  name: string;
8314
8351
  status: "SALE" | "SUSPENDED" | "OUT_OF_STOCK" | "CLOSED";
8315
8352
  salePrice: number;
@@ -8327,6 +8364,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
8327
8364
  }>;
8328
8365
  get: (productId: string) => Promise<{
8329
8366
  productId: string;
8367
+ productNo: number | null;
8330
8368
  name: string;
8331
8369
  status: "SALE" | "SUSPENDED" | "OUT_OF_STOCK" | "CLOSED";
8332
8370
  salePrice: number;
@@ -8348,6 +8386,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
8348
8386
  }[];
8349
8387
  variants: {
8350
8388
  variantId: string;
8389
+ variantNo: string | null;
8351
8390
  valueIds: string[];
8352
8391
  name: string;
8353
8392
  additionalPrice: number;
@@ -8386,7 +8425,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
8386
8425
  fulfillment: UnknownFulfillment | {
8387
8426
  type: "SHIPPING";
8388
8427
  shipping: {
8389
- deliveryType: "PAID" | "FREE" | "CONDITIONAL_FREE";
8428
+ deliveryType: "FREE" | "PAID" | "CONDITIONAL_FREE";
8390
8429
  deliveryFee: number;
8391
8430
  conditionalFreeAmount: number | null;
8392
8431
  shippingAddressId: string | null;
@@ -8425,6 +8464,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
8425
8464
  }>;
8426
8465
  create: (body: ProductCreateRequestInput, idempotencyKey?: string) => Promise<{
8427
8466
  productId: string;
8467
+ productNo: number | null;
8428
8468
  name: string;
8429
8469
  status: "SALE" | "SUSPENDED" | "OUT_OF_STOCK" | "CLOSED";
8430
8470
  salePrice: number;
@@ -8446,6 +8486,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
8446
8486
  }[];
8447
8487
  variants: {
8448
8488
  variantId: string;
8489
+ variantNo: string | null;
8449
8490
  valueIds: string[];
8450
8491
  name: string;
8451
8492
  additionalPrice: number;
@@ -8484,7 +8525,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
8484
8525
  fulfillment: UnknownFulfillment | {
8485
8526
  type: "SHIPPING";
8486
8527
  shipping: {
8487
- deliveryType: "PAID" | "FREE" | "CONDITIONAL_FREE";
8528
+ deliveryType: "FREE" | "PAID" | "CONDITIONAL_FREE";
8488
8529
  deliveryFee: number;
8489
8530
  conditionalFreeAmount: number | null;
8490
8531
  shippingAddressId: string | null;
@@ -8523,6 +8564,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
8523
8564
  }>;
8524
8565
  update: (productId: string, body: ProductReplaceRequestInput) => Promise<{
8525
8566
  productId: string;
8567
+ productNo: number | null;
8526
8568
  name: string;
8527
8569
  status: "SALE" | "SUSPENDED" | "OUT_OF_STOCK" | "CLOSED";
8528
8570
  salePrice: number;
@@ -8544,6 +8586,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
8544
8586
  }[];
8545
8587
  variants: {
8546
8588
  variantId: string;
8589
+ variantNo: string | null;
8547
8590
  valueIds: string[];
8548
8591
  name: string;
8549
8592
  additionalPrice: number;
@@ -8582,7 +8625,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
8582
8625
  fulfillment: UnknownFulfillment | {
8583
8626
  type: "SHIPPING";
8584
8627
  shipping: {
8585
- deliveryType: "PAID" | "FREE" | "CONDITIONAL_FREE";
8628
+ deliveryType: "FREE" | "PAID" | "CONDITIONAL_FREE";
8586
8629
  deliveryFee: number;
8587
8630
  conditionalFreeAmount: number | null;
8588
8631
  shippingAddressId: string | null;
@@ -8645,6 +8688,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
8645
8688
  }[];
8646
8689
  variants: {
8647
8690
  variantId: string;
8691
+ variantNo: string | null;
8648
8692
  valueIds: string[];
8649
8693
  name: string;
8650
8694
  additionalPrice: number;
@@ -8698,6 +8742,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
8698
8742
  }[];
8699
8743
  variants: {
8700
8744
  variantId: string;
8745
+ variantNo: string | null;
8701
8746
  valueIds: string[];
8702
8747
  name: string;
8703
8748
  additionalPrice: number;
@@ -8924,7 +8969,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
8924
8969
  value: true;
8925
8970
  } | {
8926
8971
  field: "bestSelling";
8927
- days: 7 | 30 | 90;
8972
+ days: 30 | 7 | 90;
8928
8973
  top: number;
8929
8974
  } | {
8930
8975
  [x: string]: unknown;
@@ -8974,7 +9019,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
8974
9019
  value: true;
8975
9020
  } | {
8976
9021
  field: "bestSelling";
8977
- days: 7 | 30 | 90;
9022
+ days: 30 | 7 | 90;
8978
9023
  top: number;
8979
9024
  } | {
8980
9025
  [x: string]: unknown;
@@ -9017,7 +9062,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
9017
9062
  value: true;
9018
9063
  } | {
9019
9064
  field: "bestSelling";
9020
- days: 7 | 30 | 90;
9065
+ days: 30 | 7 | 90;
9021
9066
  top: number;
9022
9067
  } | {
9023
9068
  [x: string]: unknown;
@@ -9059,7 +9104,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
9059
9104
  value: true;
9060
9105
  } | {
9061
9106
  field: "bestSelling";
9062
- days: 7 | 30 | 90;
9107
+ days: 30 | 7 | 90;
9063
9108
  top: number;
9064
9109
  } | {
9065
9110
  [x: string]: unknown;
@@ -9122,7 +9167,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
9122
9167
  value: true;
9123
9168
  } | {
9124
9169
  field: "bestSelling";
9125
- days: 7 | 30 | 90;
9170
+ days: 30 | 7 | 90;
9126
9171
  top: number;
9127
9172
  } | {
9128
9173
  [x: string]: unknown;
@@ -9165,7 +9210,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
9165
9210
  value: true;
9166
9211
  } | {
9167
9212
  field: "bestSelling";
9168
- days: 7 | 30 | 90;
9213
+ days: 30 | 7 | 90;
9169
9214
  top: number;
9170
9215
  } | {
9171
9216
  [x: string]: unknown;
@@ -9365,6 +9410,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
9365
9410
  totalPages: number;
9366
9411
  contents: {
9367
9412
  orderId: string;
9413
+ orderNo: string | null;
9368
9414
  ordererName: string;
9369
9415
  itemCount: number;
9370
9416
  totalAmount: number;
@@ -9375,6 +9421,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
9375
9421
  }>;
9376
9422
  get: (orderId: string) => Promise<{
9377
9423
  orderId: string;
9424
+ orderNo: string | null;
9378
9425
  orderedAt: string;
9379
9426
  orderer: {
9380
9427
  name: string;
@@ -9433,6 +9480,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
9433
9480
  testPayment: boolean;
9434
9481
  items: {
9435
9482
  orderItemId: string;
9483
+ orderItemNo: string | null;
9436
9484
  orderId: string;
9437
9485
  status: "PAID" | "CANCELED" | "PAYMENT_WAITING" | "CONFIRMED" | "DISPATCHED" | "DELIVERING" | "DELIVERED" | "PURCHASE_DECIDED";
9438
9486
  claimStatus: "CANCEL_REQUESTED" | "RETURN_REQUESTED" | "EXCHANGE_REQUESTED" | null;
@@ -9519,6 +9567,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
9519
9567
  totalPages: number;
9520
9568
  contents: {
9521
9569
  orderItemId: string;
9570
+ orderItemNo: string | null;
9522
9571
  orderId: string;
9523
9572
  status: "PAID" | "CANCELED" | "PAYMENT_WAITING" | "CONFIRMED" | "DISPATCHED" | "DELIVERING" | "DELIVERED" | "PURCHASE_DECIDED";
9524
9573
  claimStatus: "CANCEL_REQUESTED" | "RETURN_REQUESTED" | "EXCHANGE_REQUESTED" | null;
@@ -9606,7 +9655,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
9606
9655
  }>;
9607
9656
  dispatch: (orderItemId: string, body: DispatchRequest, idempotencyKey?: string) => Promise<{
9608
9657
  orderItemId: string;
9609
- deliveryMethod: "DIRECT" | "COURIER" | "QUICK" | "NOTHING";
9658
+ deliveryMethod: "COURIER" | "DIRECT" | "QUICK" | "NOTHING";
9610
9659
  carrierCode: string | null;
9611
9660
  carrierName: string | null;
9612
9661
  trackingNumber: string | null;
@@ -9634,6 +9683,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
9634
9683
  */
9635
9684
  markDelivered: (orderItemId: string, idempotencyKey?: string) => Promise<{
9636
9685
  orderItemId: string;
9686
+ orderItemNo: string | null;
9637
9687
  orderId: string;
9638
9688
  status: "PAID" | "CANCELED" | "PAYMENT_WAITING" | "CONFIRMED" | "DISPATCHED" | "DELIVERING" | "DELIVERED" | "PURCHASE_DECIDED";
9639
9689
  claimStatus: "CANCEL_REQUESTED" | "RETURN_REQUESTED" | "EXCHANGE_REQUESTED" | null;
@@ -9703,6 +9753,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
9703
9753
  */
9704
9754
  fulfill: (orderItemId: string, body?: FulfillRequest, idempotencyKey?: string) => Promise<{
9705
9755
  orderItemId: string;
9756
+ orderItemNo: string | null;
9706
9757
  orderId: string;
9707
9758
  status: "PAID" | "CANCELED" | "PAYMENT_WAITING" | "CONFIRMED" | "DISPATCHED" | "DELIVERING" | "DELIVERED" | "PURCHASE_DECIDED";
9708
9759
  claimStatus: "CANCEL_REQUESTED" | "RETURN_REQUESTED" | "EXCHANGE_REQUESTED" | null;
@@ -9768,7 +9819,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
9768
9819
  }>;
9769
9820
  getDelivery: (orderItemId: string) => Promise<{
9770
9821
  orderItemId: string;
9771
- deliveryMethod: "DIRECT" | "COURIER" | "QUICK" | "NOTHING";
9822
+ deliveryMethod: "COURIER" | "DIRECT" | "QUICK" | "NOTHING";
9772
9823
  carrierCode: string | null;
9773
9824
  carrierName: string | null;
9774
9825
  trackingNumber: string | null;
@@ -9805,8 +9856,9 @@ export declare function createStoreClient(options: StoreClientOptions): {
9805
9856
  totalPages: number;
9806
9857
  contents: {
9807
9858
  claimId: string;
9859
+ claimNo: string | null;
9808
9860
  type: "RETURN" | "EXCHANGE" | "CANCEL";
9809
- status: "COMPLETED" | "REJECTED" | "REQUESTED" | "HELD" | "COLLECTING" | "COLLECTED" | "REDELIVERING" | "APPROVED" | "WITHDRAWN";
9861
+ status: "REJECTED" | "REQUESTED" | "HELD" | "COLLECTING" | "COLLECTED" | "REDELIVERING" | "APPROVED" | "COMPLETED" | "WITHDRAWN";
9810
9862
  orderId: string;
9811
9863
  orderItemId: string;
9812
9864
  productName: string;
@@ -9844,8 +9896,9 @@ export declare function createStoreClient(options: StoreClientOptions): {
9844
9896
  }>;
9845
9897
  get: (claimId: string) => Promise<{
9846
9898
  claimId: string;
9899
+ claimNo: string | null;
9847
9900
  type: "RETURN" | "EXCHANGE" | "CANCEL";
9848
- status: "COMPLETED" | "REJECTED" | "REQUESTED" | "HELD" | "COLLECTING" | "COLLECTED" | "REDELIVERING" | "APPROVED" | "WITHDRAWN";
9901
+ status: "REJECTED" | "REQUESTED" | "HELD" | "COLLECTING" | "COLLECTED" | "REDELIVERING" | "APPROVED" | "COMPLETED" | "WITHDRAWN";
9849
9902
  orderId: string;
9850
9903
  orderItemId: string;
9851
9904
  productName: string;
@@ -9880,7 +9933,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
9880
9933
  address2: string | null;
9881
9934
  } | null;
9882
9935
  histories?: {
9883
- status: "COMPLETED" | "REJECTED" | "REQUESTED" | "HELD" | "COLLECTING" | "COLLECTED" | "REDELIVERING" | "APPROVED" | "WITHDRAWN";
9936
+ status: "REJECTED" | "REQUESTED" | "HELD" | "COLLECTING" | "COLLECTED" | "REDELIVERING" | "APPROVED" | "COMPLETED" | "WITHDRAWN";
9884
9937
  actor: "SYSTEM" | "BUYER" | "SELLER";
9885
9938
  occurredAt: string;
9886
9939
  }[] | undefined;
@@ -9912,8 +9965,9 @@ export declare function createStoreClient(options: StoreClientOptions): {
9912
9965
  /** 교환 완료 — 재배송 중인 교환을 셀러가 명시적으로 끝낸다 */
9913
9966
  completeExchange: (claimId: string) => Promise<{
9914
9967
  claimId: string;
9968
+ claimNo: string | null;
9915
9969
  type: "RETURN" | "EXCHANGE" | "CANCEL";
9916
- status: "COMPLETED" | "REJECTED" | "REQUESTED" | "HELD" | "COLLECTING" | "COLLECTED" | "REDELIVERING" | "APPROVED" | "WITHDRAWN";
9970
+ status: "REJECTED" | "REQUESTED" | "HELD" | "COLLECTING" | "COLLECTED" | "REDELIVERING" | "APPROVED" | "COMPLETED" | "WITHDRAWN";
9917
9971
  orderId: string;
9918
9972
  orderItemId: string;
9919
9973
  productName: string;
@@ -10282,7 +10336,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
10282
10336
  version: string | null;
10283
10337
  documentUrl: string | null;
10284
10338
  action: "WITHDRAWN" | "AGREED";
10285
- source: "SELLER" | "SIGNUP" | "SOCIAL_SIGNUP" | "DELEGATED" | "RECONSENT" | "MEMBER_UPDATE";
10339
+ source: "SIGNUP" | "SELLER" | "SOCIAL_SIGNUP" | "DELEGATED" | "RECONSENT" | "MEMBER_UPDATE";
10286
10340
  occurredAt: string;
10287
10341
  }[];
10288
10342
  }>;
@@ -10305,6 +10359,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
10305
10359
  value: number;
10306
10360
  maxDiscountAmount: number | null;
10307
10361
  };
10362
+ source?: string | undefined;
10308
10363
  }[]>;
10309
10364
  withdraw: (customerId: string, body: WithdrawCustomerRequest) => Promise<void>;
10310
10365
  };
@@ -10626,6 +10681,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
10626
10681
  usedOrderId: string | null;
10627
10682
  issuedAt: string;
10628
10683
  revokedAt: string | null;
10684
+ source?: string | undefined;
10629
10685
  }[];
10630
10686
  }>;
10631
10687
  redemptions: (couponId: string, params?: PageParams & {
@@ -10673,6 +10729,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
10673
10729
  usedOrderId: string | null;
10674
10730
  issuedAt: string;
10675
10731
  revokedAt: string | null;
10732
+ source?: string | undefined;
10676
10733
  }>;
10677
10734
  };
10678
10735
  customerInquiries: {
@@ -10834,7 +10891,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
10834
10891
  conversionRate: number | null;
10835
10892
  };
10836
10893
  funnel: {
10837
- step: "SESSION" | "PRODUCT_VIEW" | "ADD_TO_CART" | "BEGIN_CHECKOUT" | "PURCHASE";
10894
+ step: "PURCHASE" | "SESSION" | "PRODUCT_VIEW" | "ADD_TO_CART" | "BEGIN_CHECKOUT";
10838
10895
  sessions: number;
10839
10896
  rateFromPrevious: number | null;
10840
10897
  }[];
@@ -10888,9 +10945,9 @@ export declare function createStoreClient(options: StoreClientOptions): {
10888
10945
  }>;
10889
10946
  /** `GET /v1/analytics/sources` — 채널·소스·캠페인·기기별 세션과 구매 */
10890
10947
  sources: (params: AnalyticsSourcesParams) => Promise<{
10891
- groupBy: "CAMPAIGN" | "CHANNEL" | "SOURCE" | "DEVICE";
10948
+ groupBy: "CHANNEL" | "SOURCE" | "CAMPAIGN" | "DEVICE";
10892
10949
  rows: {
10893
- channel: "DIRECT" | "ORGANIC_SEARCH" | "SOCIAL" | "PAID" | "EMAIL" | "CAMPAIGN" | "REFERRAL" | "UNKNOWN" | null;
10950
+ channel: "PAID" | "DIRECT" | "CAMPAIGN" | "UNKNOWN" | "ORGANIC_SEARCH" | "SOCIAL" | "EMAIL" | "REFERRAL" | null;
10894
10951
  source: string | null;
10895
10952
  medium: string | null;
10896
10953
  campaign: string | null;
@@ -10995,7 +11052,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
10995
11052
  checkout: (params: AnalyticsRangeParams) => Promise<{
10996
11053
  sessions: number;
10997
11054
  outcomes: {
10998
- outcome: "COMPLETED" | "NOT_OPENED" | "USER_CANCELED" | "DECLINED" | "PREPARE_FAILURE" | "OTHER" | "IN_PROGRESS";
11055
+ outcome: "OTHER" | "COMPLETED" | "NOT_OPENED" | "USER_CANCELED" | "DECLINED" | "PREPARE_FAILURE" | "IN_PROGRESS";
10999
11056
  sessions: number;
11000
11057
  }[];
11001
11058
  from: string;
@@ -11035,6 +11092,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
11035
11092
  testPayment: boolean;
11036
11093
  pgTransactionId: string | null;
11037
11094
  attemptId: string | null;
11095
+ pgOrderId: string | null;
11038
11096
  attemptCount: number;
11039
11097
  failCode: string | null;
11040
11098
  failMessage: string | null;
@@ -11059,6 +11117,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
11059
11117
  testPayment: boolean;
11060
11118
  pgTransactionId: string | null;
11061
11119
  attemptId: string | null;
11120
+ pgOrderId: string | null;
11062
11121
  attemptCount: number;
11063
11122
  failCode: string | null;
11064
11123
  failMessage: string | null;
@@ -11069,6 +11128,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
11069
11128
  merchantId: string | null;
11070
11129
  attempts: {
11071
11130
  attemptId: string;
11131
+ pgOrderId: string | null;
11072
11132
  sequence: number;
11073
11133
  provider: "tosspayments" | "portone";
11074
11134
  status: string;
@@ -12096,7 +12156,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
12096
12156
  list: (params?: ApprovalListOptions) => Promise<{
12097
12157
  items: {
12098
12158
  approvalId: string;
12099
- status: "UNKNOWN" | "PENDING" | "FAILED" | "SUCCEEDED" | "EXECUTING" | "REJECTED" | "EXPIRED";
12159
+ status: "PENDING" | "FAILED" | "SUCCEEDED" | "EXECUTING" | "UNKNOWN" | "REJECTED" | "EXPIRED";
12100
12160
  operationId: string;
12101
12161
  method: string;
12102
12162
  path: string;
@@ -12146,7 +12206,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
12146
12206
  }>;
12147
12207
  get: (approvalId: string) => Promise<{
12148
12208
  approvalId: string;
12149
- status: "UNKNOWN" | "PENDING" | "FAILED" | "SUCCEEDED" | "EXECUTING" | "REJECTED" | "EXPIRED";
12209
+ status: "PENDING" | "FAILED" | "SUCCEEDED" | "EXECUTING" | "UNKNOWN" | "REJECTED" | "EXPIRED";
12150
12210
  operationId: string;
12151
12211
  method: string;
12152
12212
  path: string;
@@ -12198,7 +12258,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
12198
12258
  */
12199
12259
  approve: (approvalId: string, body?: ApprovalDecisionRequest) => Promise<{
12200
12260
  approvalId: string;
12201
- status: "UNKNOWN" | "PENDING" | "FAILED" | "SUCCEEDED" | "EXECUTING" | "REJECTED" | "EXPIRED";
12261
+ status: "PENDING" | "FAILED" | "SUCCEEDED" | "EXECUTING" | "UNKNOWN" | "REJECTED" | "EXPIRED";
12202
12262
  operationId: string;
12203
12263
  method: string;
12204
12264
  path: string;
@@ -12246,7 +12306,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
12246
12306
  }>;
12247
12307
  reject: (approvalId: string, body?: ApprovalDecisionRequest) => Promise<{
12248
12308
  approvalId: string;
12249
- status: "UNKNOWN" | "PENDING" | "FAILED" | "SUCCEEDED" | "EXECUTING" | "REJECTED" | "EXPIRED";
12309
+ status: "PENDING" | "FAILED" | "SUCCEEDED" | "EXECUTING" | "UNKNOWN" | "REJECTED" | "EXPIRED";
12250
12310
  operationId: string;
12251
12311
  method: string;
12252
12312
  path: string;
@@ -12490,7 +12550,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
12490
12550
  /** `GET /v1/storefront/site/deployment` — 배포 진행(단계·기록). 만든 뒤 반영이 끝날 때까지 폴링한다 */
12491
12551
  getDeployment: () => Promise<{
12492
12552
  siteId: string;
12493
- status: "IN_PROGRESS" | "FAILED" | "SUCCEEDED";
12553
+ status: "FAILED" | "SUCCEEDED" | "IN_PROGRESS";
12494
12554
  url: string;
12495
12555
  startedAt: string;
12496
12556
  finishedAt: string | null;
@@ -12512,7 +12572,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
12512
12572
  /** `POST /v1/storefront/site/deployment/retry` (202) — 밀린 반영을 곧바로 다시 시도한다. 이미 반영됐으면 그대로다 */
12513
12573
  retryDeployment: () => Promise<{
12514
12574
  siteId: string;
12515
- status: "IN_PROGRESS" | "FAILED" | "SUCCEEDED";
12575
+ status: "FAILED" | "SUCCEEDED" | "IN_PROGRESS";
12516
12576
  url: string;
12517
12577
  startedAt: string;
12518
12578
  finishedAt: string | null;
@@ -13087,7 +13147,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
13087
13147
  runCheck: (body: RunStorefrontCheckRequest) => Promise<{
13088
13148
  checkId: string;
13089
13149
  check: string;
13090
- status: "UNKNOWN" | "FAILED" | "RUNNING" | "QUEUED" | "PASSED" | "TIMED_OUT";
13150
+ status: "FAILED" | "UNKNOWN" | "RUNNING" | "QUEUED" | "PASSED" | "TIMED_OUT";
13091
13151
  exitCode: number | null;
13092
13152
  durationMs: number | null;
13093
13153
  outputTail: string | null;
@@ -13101,7 +13161,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
13101
13161
  getCheck: (checkId: string) => Promise<{
13102
13162
  checkId: string;
13103
13163
  check: string;
13104
- status: "UNKNOWN" | "FAILED" | "RUNNING" | "QUEUED" | "PASSED" | "TIMED_OUT";
13164
+ status: "FAILED" | "UNKNOWN" | "RUNNING" | "QUEUED" | "PASSED" | "TIMED_OUT";
13105
13165
  exitCode: number | null;
13106
13166
  durationMs: number | null;
13107
13167
  outputTail: string | null;
@@ -13850,6 +13910,22 @@ export declare function refreshUserToken(options: {
13850
13910
  fetch?: typeof globalThis.fetch;
13851
13911
  }): Promise<OAuthTokenResponse>;
13852
13912
  //#endregion
13913
+ //#region src/schemas/commerce-number.d.ts
13914
+ /**
13915
+ * 국내 쇼핑몰 번호 체계(이슈 #107) — 공개 ID(`ord_…` 등)와 따로 싣는 숫자 번호의 표기·필드.
13916
+ * 번호는 서버가 만들고 생성 후 바뀌지 않는다. 새 필드라 옛 서버 응답에는 없다 — 파싱은 null로 채운다.
13917
+ */
13918
+ /**
13919
+ * 번호 표기 — 숫자를 앞에서부터 4자리씩 하이픈으로 나눈다. 주문번호 `26100284731592` → `2610-0284-7315-92`,
13920
+ * 상품주문번호 `2610028473159201` → `2610-0284-7315-9201`. 숫자만으로 된 값이 아니면(클레임번호 `C…`) 그대로, 없으면 빈 문자열이다.
13921
+ * 화면 표기 전용이다 — API에 보낼 때는 원래 값을 쓴다(주문번호 조회는 하이픈도 받는다)
13922
+ */
13923
+ export declare function formatOrderNo(no: string | null | undefined): string;
13924
+ /** 표기 하이픈·공백을 지운 숫자 번호. 숫자가 아닌 글자가 남거나 비면 null */
13925
+ export declare function parseOrderNo(value: string): string | null;
13926
+ /** 응답 번호 필드 — 서버는 항상 싣고, 번호 체계 이전 행(백필 전)·옛 서버 응답은 null이다 */
13927
+ export declare function commerceNumberField(description: string): z.ZodDefault<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
13928
+ //#endregion
13853
13929
  //#region src/schemas/customer-delegation.d.ts
13854
13930
  export declare const customerDelegationRequestSchema: z.ZodObject<{
13855
13931
  uid: z.ZodOptional<z.ZodString>;
@@ -14959,6 +15035,7 @@ export type McpToolEvent = z.infer<typeof mcpToolEventSchema>;
14959
15035
  //#region src/schemas/webhook-event.d.ts
14960
15036
  export declare const orderWebhookEventDataSchema: z.ZodObject<{
14961
15037
  orderId: z.ZodString;
15038
+ orderNo: z.ZodDefault<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
14962
15039
  status: z.ZodEnum<{
14963
15040
  PAID: "PAID";
14964
15041
  CANCELED: "CANCELED";
@@ -15008,6 +15085,7 @@ export type OrderWebhookEventData = z.infer<typeof orderWebhookEventDataSchema>;
15008
15085
  */
15009
15086
  export declare const orderFulfilledWebhookEventDataSchema: z.ZodObject<{
15010
15087
  orderId: z.ZodString;
15088
+ orderNo: z.ZodDefault<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
15011
15089
  orderItemId: z.ZodString;
15012
15090
  status: z.ZodEnum<{
15013
15091
  PAID: "PAID";
@@ -15047,6 +15125,7 @@ export type OrderFulfilledWebhookEventData = z.infer<typeof orderFulfilledWebhoo
15047
15125
  */
15048
15126
  export declare const orderCanceledWebhookEventDataSchema: z.ZodObject<{
15049
15127
  orderId: z.ZodString;
15128
+ orderNo: z.ZodDefault<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
15050
15129
  orderItemId: z.ZodString;
15051
15130
  status: z.ZodEnum<{
15052
15131
  PAID: "PAID";
@@ -15082,6 +15161,7 @@ export declare const orderCanceledWebhookEventDataSchema: z.ZodObject<{
15082
15161
  export type OrderCanceledWebhookEventData = z.infer<typeof orderCanceledWebhookEventDataSchema>;
15083
15162
  export declare const claimWebhookEventDataSchema: z.ZodObject<{
15084
15163
  claimId: z.ZodString;
15164
+ claimNo: z.ZodDefault<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
15085
15165
  orderId: z.ZodString;
15086
15166
  orderItemId: z.ZodString;
15087
15167
  claimType: z.ZodEnum<{
@@ -15090,7 +15170,6 @@ export declare const claimWebhookEventDataSchema: z.ZodObject<{
15090
15170
  CANCEL: "CANCEL";
15091
15171
  }>;
15092
15172
  status: z.ZodEnum<{
15093
- COMPLETED: "COMPLETED";
15094
15173
  REJECTED: "REJECTED";
15095
15174
  REQUESTED: "REQUESTED";
15096
15175
  HELD: "HELD";
@@ -15098,6 +15177,7 @@ export declare const claimWebhookEventDataSchema: z.ZodObject<{
15098
15177
  COLLECTED: "COLLECTED";
15099
15178
  REDELIVERING: "REDELIVERING";
15100
15179
  APPROVED: "APPROVED";
15180
+ COMPLETED: "COMPLETED";
15101
15181
  WITHDRAWN: "WITHDRAWN";
15102
15182
  }>;
15103
15183
  quantity: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
@@ -15138,6 +15218,7 @@ export declare const orderWebhookEventSchema: z.ZodObject<{
15138
15218
  }>;
15139
15219
  data: z.ZodObject<{
15140
15220
  orderId: z.ZodString;
15221
+ orderNo: z.ZodDefault<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
15141
15222
  status: z.ZodEnum<{
15142
15223
  PAID: "PAID";
15143
15224
  CANCELED: "CANCELED";
@@ -15189,6 +15270,7 @@ export declare const orderFulfilledWebhookEventSchema: z.ZodObject<{
15189
15270
  type: z.ZodLiteral<"ORDER.FULFILLED">;
15190
15271
  data: z.ZodObject<{
15191
15272
  orderId: z.ZodString;
15273
+ orderNo: z.ZodDefault<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
15192
15274
  orderItemId: z.ZodString;
15193
15275
  status: z.ZodEnum<{
15194
15276
  PAID: "PAID";
@@ -15229,6 +15311,7 @@ export declare const orderCanceledWebhookEventSchema: z.ZodObject<{
15229
15311
  type: z.ZodLiteral<"ORDER.CANCELED">;
15230
15312
  data: z.ZodObject<{
15231
15313
  orderId: z.ZodString;
15314
+ orderNo: z.ZodDefault<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
15232
15315
  orderItemId: z.ZodString;
15233
15316
  status: z.ZodEnum<{
15234
15317
  PAID: "PAID";
@@ -15275,6 +15358,7 @@ export declare const claimWebhookEventSchema: z.ZodObject<{
15275
15358
  }>;
15276
15359
  data: z.ZodObject<{
15277
15360
  claimId: z.ZodString;
15361
+ claimNo: z.ZodDefault<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
15278
15362
  orderId: z.ZodString;
15279
15363
  orderItemId: z.ZodString;
15280
15364
  claimType: z.ZodEnum<{
@@ -15283,7 +15367,6 @@ export declare const claimWebhookEventSchema: z.ZodObject<{
15283
15367
  CANCEL: "CANCEL";
15284
15368
  }>;
15285
15369
  status: z.ZodEnum<{
15286
- COMPLETED: "COMPLETED";
15287
15370
  REJECTED: "REJECTED";
15288
15371
  REQUESTED: "REQUESTED";
15289
15372
  HELD: "HELD";
@@ -15291,6 +15374,7 @@ export declare const claimWebhookEventSchema: z.ZodObject<{
15291
15374
  COLLECTED: "COLLECTED";
15292
15375
  REDELIVERING: "REDELIVERING";
15293
15376
  APPROVED: "APPROVED";
15377
+ COMPLETED: "COMPLETED";
15294
15378
  WITHDRAWN: "WITHDRAWN";
15295
15379
  }>;
15296
15380
  quantity: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
@@ -15354,6 +15438,7 @@ export declare const webhookEventSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
15354
15438
  }>;
15355
15439
  data: z.ZodObject<{
15356
15440
  orderId: z.ZodString;
15441
+ orderNo: z.ZodDefault<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
15357
15442
  status: z.ZodEnum<{
15358
15443
  PAID: "PAID";
15359
15444
  CANCELED: "CANCELED";
@@ -15404,6 +15489,7 @@ export declare const webhookEventSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
15404
15489
  type: z.ZodLiteral<"ORDER.FULFILLED">;
15405
15490
  data: z.ZodObject<{
15406
15491
  orderId: z.ZodString;
15492
+ orderNo: z.ZodDefault<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
15407
15493
  orderItemId: z.ZodString;
15408
15494
  status: z.ZodEnum<{
15409
15495
  PAID: "PAID";
@@ -15443,6 +15529,7 @@ export declare const webhookEventSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
15443
15529
  type: z.ZodLiteral<"ORDER.CANCELED">;
15444
15530
  data: z.ZodObject<{
15445
15531
  orderId: z.ZodString;
15532
+ orderNo: z.ZodDefault<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
15446
15533
  orderItemId: z.ZodString;
15447
15534
  status: z.ZodEnum<{
15448
15535
  PAID: "PAID";
@@ -15488,6 +15575,7 @@ export declare const webhookEventSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
15488
15575
  }>;
15489
15576
  data: z.ZodObject<{
15490
15577
  claimId: z.ZodString;
15578
+ claimNo: z.ZodDefault<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
15491
15579
  orderId: z.ZodString;
15492
15580
  orderItemId: z.ZodString;
15493
15581
  claimType: z.ZodEnum<{
@@ -15496,7 +15584,6 @@ export declare const webhookEventSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
15496
15584
  CANCEL: "CANCEL";
15497
15585
  }>;
15498
15586
  status: z.ZodEnum<{
15499
- COMPLETED: "COMPLETED";
15500
15587
  REJECTED: "REJECTED";
15501
15588
  REQUESTED: "REQUESTED";
15502
15589
  HELD: "HELD";
@@ -15504,6 +15591,7 @@ export declare const webhookEventSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
15504
15591
  COLLECTED: "COLLECTED";
15505
15592
  REDELIVERING: "REDELIVERING";
15506
15593
  APPROVED: "APPROVED";
15594
+ COMPLETED: "COMPLETED";
15507
15595
  WITHDRAWN: "WITHDRAWN";
15508
15596
  }>;
15509
15597
  quantity: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;