@sayren/store-sdk 0.28.1 → 0.28.3

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,8 +165,8 @@ 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";
169
+ APPROVAL_REQUIRED: "APPROVAL_REQUIRED";
170
170
  ALLOW: "ALLOW";
171
171
  }>;
172
172
  export type AgentPolicyDecision = z.infer<typeof agentPolicyDecisionSchema>;
@@ -190,8 +190,8 @@ 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";
194
+ APPROVAL_REQUIRED: "APPROVAL_REQUIRED";
195
195
  ALLOW: "ALLOW";
196
196
  }>;
197
197
  reason: z.ZodNullable<z.ZodString>;
@@ -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";
216
217
  PENDING: "PENDING";
217
218
  FAILED: "FAILED";
218
219
  SUCCEEDED: "SUCCEEDED";
219
220
  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";
228
229
  PENDING: "PENDING";
229
230
  FAILED: "FAILED";
230
231
  SUCCEEDED: "SUCCEEDED";
231
232
  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";
290
291
  PENDING: "PENDING";
291
292
  FAILED: "FAILED";
292
293
  SUCCEEDED: "SUCCEEDED";
293
294
  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";
309
310
  PENDING: "PENDING";
310
311
  FAILED: "FAILED";
311
312
  SUCCEEDED: "SUCCEEDED";
312
313
  EXECUTING: "EXECUTING";
313
- UNKNOWN: "UNKNOWN";
314
314
  REJECTED: "REJECTED";
315
315
  EXPIRED: "EXPIRED";
316
316
  }>;
@@ -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";
585
584
  DIRECT: "DIRECT";
586
- CAMPAIGN: "CAMPAIGN";
587
- UNKNOWN: "UNKNOWN";
588
585
  ORGANIC_SEARCH: "ORGANIC_SEARCH";
589
586
  SOCIAL: "SOCIAL";
587
+ PAID: "PAID";
590
588
  EMAIL: "EMAIL";
589
+ CAMPAIGN: "CAMPAIGN";
591
590
  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";
595
596
  CHANNEL: "CHANNEL";
596
597
  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";
609
610
  CHANNEL: "CHANNEL";
610
611
  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";
619
618
  DIRECT: "DIRECT";
620
- CAMPAIGN: "CAMPAIGN";
621
- UNKNOWN: "UNKNOWN";
622
619
  ORGANIC_SEARCH: "ORGANIC_SEARCH";
623
620
  SOCIAL: "SOCIAL";
621
+ PAID: "PAID";
624
622
  EMAIL: "EMAIL";
623
+ CAMPAIGN: "CAMPAIGN";
625
624
  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";
647
648
  CHANNEL: "CHANNEL";
648
649
  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";
655
654
  DIRECT: "DIRECT";
656
- CAMPAIGN: "CAMPAIGN";
657
- UNKNOWN: "UNKNOWN";
658
655
  ORGANIC_SEARCH: "ORGANIC_SEARCH";
659
656
  SOCIAL: "SOCIAL";
657
+ PAID: "PAID";
660
658
  EMAIL: "EMAIL";
659
+ CAMPAIGN: "CAMPAIGN";
661
660
  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";
811
810
  COMPLETED: "COMPLETED";
812
811
  NOT_OPENED: "NOT_OPENED";
813
812
  USER_CANCELED: "USER_CANCELED";
814
813
  DECLINED: "DECLINED";
815
814
  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";
824
823
  COMPLETED: "COMPLETED";
825
824
  NOT_OPENED: "NOT_OPENED";
826
825
  USER_CANCELED: "USER_CANCELED";
827
826
  DECLINED: "DECLINED";
828
827
  PREPARE_FAILURE: "PREPARE_FAILURE";
828
+ OTHER: "OTHER";
829
829
  IN_PROGRESS: "IN_PROGRESS";
830
830
  }>;
831
831
  sessions: z.ZodNumber;
@@ -1264,6 +1264,7 @@ 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";
1267
1268
  REJECTED: "REJECTED";
1268
1269
  REQUESTED: "REQUESTED";
1269
1270
  HELD: "HELD";
@@ -1271,7 +1272,6 @@ export declare const claimStatusSchema: z.ZodEnum<{
1271
1272
  COLLECTED: "COLLECTED";
1272
1273
  REDELIVERING: "REDELIVERING";
1273
1274
  APPROVED: "APPROVED";
1274
- COMPLETED: "COMPLETED";
1275
1275
  WITHDRAWN: "WITHDRAWN";
1276
1276
  }>;
1277
1277
  export type ClaimStatus = z.infer<typeof claimStatusSchema>;
@@ -1308,6 +1308,7 @@ export declare const claimSchema: z.ZodObject<{
1308
1308
  CANCEL: "CANCEL";
1309
1309
  }>;
1310
1310
  status: z.ZodEnum<{
1311
+ COMPLETED: "COMPLETED";
1311
1312
  REJECTED: "REJECTED";
1312
1313
  REQUESTED: "REQUESTED";
1313
1314
  HELD: "HELD";
@@ -1315,7 +1316,6 @@ export declare const claimSchema: z.ZodObject<{
1315
1316
  COLLECTED: "COLLECTED";
1316
1317
  REDELIVERING: "REDELIVERING";
1317
1318
  APPROVED: "APPROVED";
1318
- COMPLETED: "COMPLETED";
1319
1319
  WITHDRAWN: "WITHDRAWN";
1320
1320
  }>;
1321
1321
  orderId: z.ZodString;
@@ -1396,6 +1396,7 @@ export declare const claimDetailSchema: z.ZodObject<{
1396
1396
  CANCEL: "CANCEL";
1397
1397
  }>;
1398
1398
  status: z.ZodEnum<{
1399
+ COMPLETED: "COMPLETED";
1399
1400
  REJECTED: "REJECTED";
1400
1401
  REQUESTED: "REQUESTED";
1401
1402
  HELD: "HELD";
@@ -1403,7 +1404,6 @@ export declare const claimDetailSchema: z.ZodObject<{
1403
1404
  COLLECTED: "COLLECTED";
1404
1405
  REDELIVERING: "REDELIVERING";
1405
1406
  APPROVED: "APPROVED";
1406
- COMPLETED: "COMPLETED";
1407
1407
  WITHDRAWN: "WITHDRAWN";
1408
1408
  }>;
1409
1409
  orderId: z.ZodString;
@@ -1453,6 +1453,7 @@ export declare const claimDetailSchema: z.ZodObject<{
1453
1453
  }, z.core.$strip>>;
1454
1454
  histories: z.ZodOptional<z.ZodArray<z.ZodObject<{
1455
1455
  status: z.ZodEnum<{
1456
+ COMPLETED: "COMPLETED";
1456
1457
  REJECTED: "REJECTED";
1457
1458
  REQUESTED: "REQUESTED";
1458
1459
  HELD: "HELD";
@@ -1460,7 +1461,6 @@ export declare const claimDetailSchema: z.ZodObject<{
1460
1461
  COLLECTED: "COLLECTED";
1461
1462
  REDELIVERING: "REDELIVERING";
1462
1463
  APPROVED: "APPROVED";
1463
- COMPLETED: "COMPLETED";
1464
1464
  WITHDRAWN: "WITHDRAWN";
1465
1465
  }>;
1466
1466
  actor: z.ZodEnum<{
@@ -2093,10 +2093,10 @@ export type CustomerOrder = z.infer<typeof customerOrderSchema>;
2093
2093
  /** `POST /v1/customers/{id}/withdraw` 본문 */
2094
2094
  export declare const withdrawCustomerRequestSchema: z.ZodObject<{
2095
2095
  reason: z.ZodEnum<{
2096
+ OTHER: "OTHER";
2096
2097
  BUYER_REQUEST: "BUYER_REQUEST";
2097
2098
  DORMANT: "DORMANT";
2098
2099
  ABUSE: "ABUSE";
2099
- OTHER: "OTHER";
2100
2100
  }>;
2101
2101
  memo: z.ZodOptional<z.ZodString>;
2102
2102
  }, z.core.$strip>;
@@ -2830,8 +2830,8 @@ export declare function requiresCollection(type: string | null | undefined): boo
2830
2830
  export declare const NO_SHIPPING_BUNDLE_KEY = "none";
2831
2831
  /** 배송비 유형 — 무료·유료·조건부 무료 */
2832
2832
  export declare const deliveryTypeSchema: z.ZodEnum<{
2833
- FREE: "FREE";
2834
2833
  PAID: "PAID";
2834
+ FREE: "FREE";
2835
2835
  CONDITIONAL_FREE: "CONDITIONAL_FREE";
2836
2836
  }>;
2837
2837
  export type DeliveryType = z.infer<typeof deliveryTypeSchema>;
@@ -2842,8 +2842,8 @@ export declare const productFulfillmentCreateSchema: z.ZodDiscriminatedUnion<[z.
2842
2842
  type: z.ZodLiteral<"SHIPPING">;
2843
2843
  shipping: z.ZodOptional<z.ZodObject<{
2844
2844
  deliveryType: z.ZodDefault<z.ZodEnum<{
2845
- FREE: "FREE";
2846
2845
  PAID: "PAID";
2846
+ FREE: "FREE";
2847
2847
  CONDITIONAL_FREE: "CONDITIONAL_FREE";
2848
2848
  }>>;
2849
2849
  deliveryFee: z.ZodOptional<z.ZodNumber>;
@@ -2865,8 +2865,8 @@ export declare const productFulfillmentUpdateSchema: z.ZodDiscriminatedUnion<[z.
2865
2865
  type: z.ZodLiteral<"SHIPPING">;
2866
2866
  shipping: z.ZodObject<{
2867
2867
  deliveryType: z.ZodEnum<{
2868
- FREE: "FREE";
2869
2868
  PAID: "PAID";
2869
+ FREE: "FREE";
2870
2870
  CONDITIONAL_FREE: "CONDITIONAL_FREE";
2871
2871
  }>;
2872
2872
  deliveryFee: z.ZodNumber;
@@ -2886,8 +2886,8 @@ export declare const productFulfillmentSchema: z.ZodDiscriminatedUnion<[z.ZodObj
2886
2886
  type: z.ZodLiteral<"SHIPPING">;
2887
2887
  shipping: z.ZodObject<{
2888
2888
  deliveryType: z.ZodEnum<{
2889
- FREE: "FREE";
2890
2889
  PAID: "PAID";
2890
+ FREE: "FREE";
2891
2891
  CONDITIONAL_FREE: "CONDITIONAL_FREE";
2892
2892
  }>;
2893
2893
  deliveryFee: z.ZodNumber;
@@ -2925,8 +2925,8 @@ export declare const productFulfillmentResponseSchema: z.ZodUnion<readonly [z.Zo
2925
2925
  type: z.ZodLiteral<"SHIPPING">;
2926
2926
  shipping: z.ZodObject<{
2927
2927
  deliveryType: z.ZodEnum<{
2928
- FREE: "FREE";
2929
2928
  PAID: "PAID";
2929
+ FREE: "FREE";
2930
2930
  CONDITIONAL_FREE: "CONDITIONAL_FREE";
2931
2931
  }>;
2932
2932
  deliveryFee: z.ZodNumber;
@@ -3441,16 +3441,16 @@ export interface OrderItemListParams extends PageParams {
3441
3441
  testPayment?: "true" | "false";
3442
3442
  }
3443
3443
  export declare const deliveryMethodSchema: z.ZodEnum<{
3444
- COURIER: "COURIER";
3445
3444
  DIRECT: "DIRECT";
3445
+ COURIER: "COURIER";
3446
3446
  QUICK: "QUICK";
3447
3447
  NOTHING: "NOTHING";
3448
3448
  }>;
3449
3449
  export type DeliveryMethod = z.infer<typeof deliveryMethodSchema>;
3450
3450
  export declare const dispatchRequestSchema: z.ZodObject<{
3451
3451
  deliveryMethod: z.ZodEnum<{
3452
- COURIER: "COURIER";
3453
3452
  DIRECT: "DIRECT";
3453
+ COURIER: "COURIER";
3454
3454
  QUICK: "QUICK";
3455
3455
  NOTHING: "NOTHING";
3456
3456
  }>;
@@ -3462,8 +3462,8 @@ export type DispatchRequest = z.infer<typeof dispatchRequestSchema>;
3462
3462
  export declare const deliveryInfoSchema: z.ZodObject<{
3463
3463
  orderItemId: z.ZodString;
3464
3464
  deliveryMethod: z.ZodEnum<{
3465
- COURIER: "COURIER";
3466
3465
  DIRECT: "DIRECT";
3466
+ COURIER: "COURIER";
3467
3467
  QUICK: "QUICK";
3468
3468
  NOTHING: "NOTHING";
3469
3469
  }>;
@@ -3489,8 +3489,8 @@ export declare const trackingStageResponseSchema: z.ZodString;
3489
3489
  export declare const deliveryStatusSchema: z.ZodObject<{
3490
3490
  orderItemId: z.ZodString;
3491
3491
  deliveryMethod: z.ZodEnum<{
3492
- COURIER: "COURIER";
3493
3492
  DIRECT: "DIRECT";
3493
+ COURIER: "COURIER";
3494
3494
  QUICK: "QUICK";
3495
3495
  NOTHING: "NOTHING";
3496
3496
  }>;
@@ -4013,6 +4013,21 @@ export type PaymentProvider = z.infer<typeof paymentProviderSchema>;
4013
4013
  */
4014
4014
  export declare const PAYMENT_ROUTING_EXCLUSION_CODES: readonly ["NOT_CONNECTED", "DISABLED", "CREDENTIAL_MISSING", "SANDBOX_IN_LIVE_STORE", "PLATFORM_BLOCKED", "MODE_MISMATCH"];
4015
4015
  export type KnownPaymentRoutingExclusion = (typeof PAYMENT_ROUTING_EXCLUSION_CODES)[number];
4016
+ /**
4017
+ * 결제수단 반복 실패 경고(#86 후속) — 같은 PG·결제수단(·간편결제사)이 가맹점 설정 문제(구매자가 고칠 수 없는 실패, 예: KG이니시스
4018
+ * `V105 [NO MPI SET] 전용화면 미설정`)로 기간 안에 여러 번 실패했다. 구매자에게는 「이 결제수단은 지금 사용할 수 없습니다」가 보이고,
4019
+ * PG 관리자에서 그 결제수단의 전용 화면·채널을 설정해야 다시 쓸 수 있다
4020
+ */
4021
+ export declare const paymentFailureWarningSchema: z.ZodObject<{
4022
+ provider: z.ZodString;
4023
+ method: z.ZodString;
4024
+ easyPayProvider: z.ZodNullable<z.ZodString>;
4025
+ code: z.ZodNullable<z.ZodString>;
4026
+ count: z.ZodNumber;
4027
+ lastAt: z.ZodString;
4028
+ message: z.ZodNullable<z.ZodString>;
4029
+ }, z.core.$strip>;
4030
+ export type PaymentFailureWarning = z.infer<typeof paymentFailureWarningSchema>;
4016
4031
  export declare const paymentSettingsSchema: z.ZodObject<{
4017
4032
  checkoutOrigins: z.ZodArray<z.ZodString>;
4018
4033
  providers: z.ZodArray<z.ZodObject<{
@@ -4160,6 +4175,15 @@ export declare const paymentSettingsSchema: z.ZodObject<{
4160
4175
  LIVE: "LIVE";
4161
4176
  }>>>>;
4162
4177
  candidates: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodString>>>;
4178
+ warnings: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
4179
+ provider: z.ZodString;
4180
+ method: z.ZodString;
4181
+ easyPayProvider: z.ZodNullable<z.ZodString>;
4182
+ code: z.ZodNullable<z.ZodString>;
4183
+ count: z.ZodNumber;
4184
+ lastAt: z.ZodString;
4185
+ message: z.ZodNullable<z.ZodString>;
4186
+ }, z.core.$strip>>>>;
4163
4187
  }, z.core.$strip>;
4164
4188
  export type PaymentSettings = z.infer<typeof paymentSettingsSchema>;
4165
4189
  export declare const paymentProviderVerificationSchema: z.ZodObject<{
@@ -4888,8 +4912,8 @@ export declare const productSchema: z.ZodObject<{
4888
4912
  type: z.ZodLiteral<"SHIPPING">;
4889
4913
  shipping: z.ZodObject<{
4890
4914
  deliveryType: z.ZodEnum<{
4891
- FREE: "FREE";
4892
4915
  PAID: "PAID";
4916
+ FREE: "FREE";
4893
4917
  CONDITIONAL_FREE: "CONDITIONAL_FREE";
4894
4918
  }>;
4895
4919
  deliveryFee: z.ZodNumber;
@@ -5111,8 +5135,8 @@ export declare const productCreateRequestSchema: z.ZodObject<{
5111
5135
  type: z.ZodLiteral<"SHIPPING">;
5112
5136
  shipping: z.ZodOptional<z.ZodObject<{
5113
5137
  deliveryType: z.ZodDefault<z.ZodEnum<{
5114
- FREE: "FREE";
5115
5138
  PAID: "PAID";
5139
+ FREE: "FREE";
5116
5140
  CONDITIONAL_FREE: "CONDITIONAL_FREE";
5117
5141
  }>>;
5118
5142
  deliveryFee: z.ZodOptional<z.ZodNumber>;
@@ -5196,8 +5220,8 @@ export declare const productReplaceRequestSchema: z.ZodObject<{
5196
5220
  type: z.ZodLiteral<"SHIPPING">;
5197
5221
  shipping: z.ZodObject<{
5198
5222
  deliveryType: z.ZodEnum<{
5199
- FREE: "FREE";
5200
5223
  PAID: "PAID";
5224
+ FREE: "FREE";
5201
5225
  CONDITIONAL_FREE: "CONDITIONAL_FREE";
5202
5226
  }>;
5203
5227
  deliveryFee: z.ZodNumber;
@@ -5284,12 +5308,13 @@ export declare const productPatchRequestSchema: z.ZodObject<{
5284
5308
  OUT_OF_STOCK: "OUT_OF_STOCK";
5285
5309
  CLOSED: "CLOSED";
5286
5310
  }>>;
5311
+ images: z.ZodOptional<z.ZodArray<z.ZodURL>>;
5287
5312
  fulfillment: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
5288
5313
  type: z.ZodLiteral<"SHIPPING">;
5289
5314
  shipping: z.ZodObject<{
5290
5315
  deliveryType: z.ZodEnum<{
5291
- FREE: "FREE";
5292
5316
  PAID: "PAID";
5317
+ FREE: "FREE";
5293
5318
  CONDITIONAL_FREE: "CONDITIONAL_FREE";
5294
5319
  }>;
5295
5320
  deliveryFee: z.ZodNumber;
@@ -5591,12 +5616,47 @@ export declare const policyVersionSchema: z.ZodString;
5591
5616
  * 나중에 주소를 바꿔도 "무엇에 동의했는지"가 남는다. `null`로 지울 수 있다.
5592
5617
  */
5593
5618
  export declare const policyDocumentUrlSchema: z.ZodNullable<z.ZodURL>;
5619
+ /**
5620
+ * 사업자등록번호 — 숫자 10자리. 하이픈(`123-45-67890`)과 공백은 받고 서버가 숫자만 남겨 저장한다.
5621
+ * 국세청 검증번호(체크섬)는 보지 않는다.
5622
+ */
5623
+ export declare const BUSINESS_NUMBER_PATTERN: RegExp;
5624
+ /** 사업자등록번호에서 숫자만 남긴다 — 저장·비교는 이 값으로 한다 */
5625
+ export declare function normalizeBusinessNumber(value: string): string;
5626
+ export declare const businessNumberSchema: z.ZodNullable<z.ZodString>;
5627
+ /** 사업자 정보 필드의 길이 상한 — 상점 플랫폼 입력 칸과 같다 */
5628
+ export declare const BUSINESS_INFO_MAX_LENGTH: {
5629
+ readonly businessName: 100;
5630
+ readonly representativeName: 50;
5631
+ readonly mailOrderSalesNumber: 50;
5632
+ readonly businessAddress: 200;
5633
+ readonly privacyOfficerName: 50;
5634
+ };
5635
+ /**
5636
+ * `PATCH /v1/store`의 사업자 정보 필드(이슈 #81) — 전자상거래법 표기(스토어프론트 푸터)용이다.
5637
+ * 바꿀 필드만 보내고 `null`을 주면 지운다. 스토어프론트 `GET /store`가 같은 값을 싣는다.
5638
+ */
5639
+ export declare const businessInfoPatchShape: {
5640
+ businessName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5641
+ representativeName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5642
+ businessNumber: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5643
+ mailOrderSalesNumber: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5644
+ businessAddress: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5645
+ customerCenterEmail: z.ZodOptional<z.ZodNullable<z.ZodEmail>>;
5646
+ privacyOfficerName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5647
+ privacyOfficerEmail: z.ZodOptional<z.ZodNullable<z.ZodEmail>>;
5648
+ };
5649
+ export declare const businessInfoResponseShape: {
5650
+ businessName: z.ZodDefault<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
5651
+ representativeName: z.ZodDefault<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
5652
+ mailOrderSalesNumber: z.ZodDefault<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
5653
+ businessAddress: z.ZodDefault<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
5654
+ customerCenterEmail: z.ZodDefault<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
5655
+ privacyOfficerName: z.ZodDefault<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
5656
+ privacyOfficerEmail: z.ZodDefault<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
5657
+ };
5594
5658
  /** `PATCH /v1/store` 본문 — 바꿀 필드만 보낸다 */
5595
5659
  export declare const updateStoreRequestSchema: z.ZodObject<{
5596
- name: z.ZodOptional<z.ZodString>;
5597
- logoUrl: z.ZodOptional<z.ZodURL>;
5598
- customerCenterPhone: z.ZodOptional<z.ZodString>;
5599
- businessHours: z.ZodOptional<z.ZodString>;
5600
5660
  analyticsAllowedOrigins: z.ZodOptional<z.ZodArray<z.ZodString>>;
5601
5661
  storefrontOrigins: z.ZodOptional<z.ZodArray<z.ZodString>>;
5602
5662
  guestCheckoutEnabled: z.ZodOptional<z.ZodBoolean>;
@@ -5620,21 +5680,21 @@ export declare const updateStoreRequestSchema: z.ZodObject<{
5620
5680
  privacyVersion: z.ZodOptional<z.ZodString>;
5621
5681
  termsUrl: z.ZodOptional<z.ZodNullable<z.ZodURL>>;
5622
5682
  privacyUrl: z.ZodOptional<z.ZodNullable<z.ZodURL>>;
5683
+ businessName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5684
+ representativeName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5685
+ businessNumber: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5686
+ mailOrderSalesNumber: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5687
+ businessAddress: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5688
+ customerCenterEmail: z.ZodOptional<z.ZodNullable<z.ZodEmail>>;
5689
+ privacyOfficerName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5690
+ privacyOfficerEmail: z.ZodOptional<z.ZodNullable<z.ZodEmail>>;
5691
+ name: z.ZodOptional<z.ZodString>;
5692
+ logoUrl: z.ZodOptional<z.ZodURL>;
5693
+ customerCenterPhone: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5694
+ businessHours: z.ZodOptional<z.ZodString>;
5623
5695
  }, z.core.$strip>;
5624
5696
  export type UpdateStoreRequest = z.infer<typeof updateStoreRequestSchema>;
5625
5697
  export declare const storeSchema: z.ZodObject<{
5626
- storeId: z.ZodString;
5627
- name: z.ZodString;
5628
- storeCode: z.ZodString;
5629
- storefrontUrl: z.ZodURL;
5630
- status: z.ZodEnum<{
5631
- SUSPENDED: "SUSPENDED";
5632
- CLOSED: "CLOSED";
5633
- ACTIVE: "ACTIVE";
5634
- }>;
5635
- logoUrl: z.ZodNullable<z.ZodURL>;
5636
- businessNumber: z.ZodNullable<z.ZodString>;
5637
- customerCenterPhone: z.ZodNullable<z.ZodString>;
5638
5698
  analyticsAllowedOrigins: z.ZodArray<z.ZodString>;
5639
5699
  storefrontOrigins: z.ZodArray<z.ZodString>;
5640
5700
  guestCheckoutEnabled: z.ZodBoolean;
@@ -5662,6 +5722,25 @@ export declare const storeSchema: z.ZodObject<{
5662
5722
  privacyUrl: z.ZodNullable<z.ZodString>;
5663
5723
  memberCount: z.ZodNumber;
5664
5724
  createdAt: z.ZodString;
5725
+ businessName: z.ZodDefault<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
5726
+ representativeName: z.ZodDefault<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
5727
+ mailOrderSalesNumber: z.ZodDefault<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
5728
+ businessAddress: z.ZodDefault<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
5729
+ customerCenterEmail: z.ZodDefault<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
5730
+ privacyOfficerName: z.ZodDefault<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
5731
+ privacyOfficerEmail: z.ZodDefault<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
5732
+ storeId: z.ZodString;
5733
+ name: z.ZodString;
5734
+ storeCode: z.ZodString;
5735
+ storefrontUrl: z.ZodURL;
5736
+ status: z.ZodEnum<{
5737
+ SUSPENDED: "SUSPENDED";
5738
+ CLOSED: "CLOSED";
5739
+ ACTIVE: "ACTIVE";
5740
+ }>;
5741
+ logoUrl: z.ZodNullable<z.ZodURL>;
5742
+ businessNumber: z.ZodNullable<z.ZodString>;
5743
+ customerCenterPhone: z.ZodNullable<z.ZodString>;
5665
5744
  }, z.core.$strip>;
5666
5745
  export type Store = z.infer<typeof storeSchema>;
5667
5746
  export declare const storeMemberSchema: z.ZodObject<{
@@ -6195,9 +6274,9 @@ export type StorefrontDeploymentLog = z.infer<typeof storefrontDeploymentLogSche
6195
6274
  export declare const storefrontDeploymentSchema: z.ZodObject<{
6196
6275
  siteId: z.ZodString;
6197
6276
  status: z.ZodEnum<{
6277
+ IN_PROGRESS: "IN_PROGRESS";
6198
6278
  FAILED: "FAILED";
6199
6279
  SUCCEEDED: "SUCCEEDED";
6200
- IN_PROGRESS: "IN_PROGRESS";
6201
6280
  }>;
6202
6281
  url: z.ZodString;
6203
6282
  startedAt: z.ZodString;
@@ -6655,8 +6734,8 @@ export declare const runStorefrontCheckRequestSchema: z.ZodObject<{
6655
6734
  }, z.core.$strip>;
6656
6735
  export type RunStorefrontCheckRequest = z.infer<typeof runStorefrontCheckRequestSchema>;
6657
6736
  export declare const storefrontCheckStatusSchema: z.ZodEnum<{
6658
- FAILED: "FAILED";
6659
6737
  UNKNOWN: "UNKNOWN";
6738
+ FAILED: "FAILED";
6660
6739
  RUNNING: "RUNNING";
6661
6740
  QUEUED: "QUEUED";
6662
6741
  PASSED: "PASSED";
@@ -6669,8 +6748,8 @@ export declare const storefrontCheckSchema: z.ZodObject<{
6669
6748
  checkId: z.ZodString;
6670
6749
  check: z.ZodString;
6671
6750
  status: z.ZodEnum<{
6672
- FAILED: "FAILED";
6673
6751
  UNKNOWN: "UNKNOWN";
6752
+ FAILED: "FAILED";
6674
6753
  RUNNING: "RUNNING";
6675
6754
  QUEUED: "QUEUED";
6676
6755
  PASSED: "PASSED";
@@ -7491,7 +7570,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
7491
7570
  fulfillment: UnknownFulfillment | {
7492
7571
  type: "SHIPPING";
7493
7572
  shipping: {
7494
- deliveryType: "FREE" | "PAID" | "CONDITIONAL_FREE";
7573
+ deliveryType: "PAID" | "FREE" | "CONDITIONAL_FREE";
7495
7574
  deliveryFee: number;
7496
7575
  conditionalFreeAmount: number | null;
7497
7576
  shippingAddressId: string | null;
@@ -7588,7 +7667,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
7588
7667
  fulfillment: UnknownFulfillment | {
7589
7668
  type: "SHIPPING";
7590
7669
  shipping: {
7591
- deliveryType: "FREE" | "PAID" | "CONDITIONAL_FREE";
7670
+ deliveryType: "PAID" | "FREE" | "CONDITIONAL_FREE";
7592
7671
  deliveryFee: number;
7593
7672
  conditionalFreeAmount: number | null;
7594
7673
  shippingAddressId: string | null;
@@ -7685,7 +7764,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
7685
7764
  fulfillment: UnknownFulfillment | {
7686
7765
  type: "SHIPPING";
7687
7766
  shipping: {
7688
- deliveryType: "FREE" | "PAID" | "CONDITIONAL_FREE";
7767
+ deliveryType: "PAID" | "FREE" | "CONDITIONAL_FREE";
7689
7768
  deliveryFee: number;
7690
7769
  conditionalFreeAmount: number | null;
7691
7770
  shippingAddressId: string | null;
@@ -8395,7 +8474,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
8395
8474
  }>;
8396
8475
  dispatch: (orderItemId: string, body: DispatchRequest, idempotencyKey?: string) => Promise<{
8397
8476
  orderItemId: string;
8398
- deliveryMethod: "COURIER" | "DIRECT" | "QUICK" | "NOTHING";
8477
+ deliveryMethod: "DIRECT" | "COURIER" | "QUICK" | "NOTHING";
8399
8478
  carrierCode: string | null;
8400
8479
  carrierName: string | null;
8401
8480
  trackingNumber: string | null;
@@ -8555,7 +8634,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
8555
8634
  }>;
8556
8635
  getDelivery: (orderItemId: string) => Promise<{
8557
8636
  orderItemId: string;
8558
- deliveryMethod: "COURIER" | "DIRECT" | "QUICK" | "NOTHING";
8637
+ deliveryMethod: "DIRECT" | "COURIER" | "QUICK" | "NOTHING";
8559
8638
  carrierCode: string | null;
8560
8639
  carrierName: string | null;
8561
8640
  trackingNumber: string | null;
@@ -8593,7 +8672,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
8593
8672
  contents: {
8594
8673
  claimId: string;
8595
8674
  type: "RETURN" | "EXCHANGE" | "CANCEL";
8596
- status: "REJECTED" | "REQUESTED" | "HELD" | "COLLECTING" | "COLLECTED" | "REDELIVERING" | "APPROVED" | "COMPLETED" | "WITHDRAWN";
8675
+ status: "COMPLETED" | "REJECTED" | "REQUESTED" | "HELD" | "COLLECTING" | "COLLECTED" | "REDELIVERING" | "APPROVED" | "WITHDRAWN";
8597
8676
  orderId: string;
8598
8677
  orderItemId: string;
8599
8678
  productName: string;
@@ -8631,7 +8710,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
8631
8710
  get: (claimId: string) => Promise<{
8632
8711
  claimId: string;
8633
8712
  type: "RETURN" | "EXCHANGE" | "CANCEL";
8634
- status: "REJECTED" | "REQUESTED" | "HELD" | "COLLECTING" | "COLLECTED" | "REDELIVERING" | "APPROVED" | "COMPLETED" | "WITHDRAWN";
8713
+ status: "COMPLETED" | "REJECTED" | "REQUESTED" | "HELD" | "COLLECTING" | "COLLECTED" | "REDELIVERING" | "APPROVED" | "WITHDRAWN";
8635
8714
  orderId: string;
8636
8715
  orderItemId: string;
8637
8716
  productName: string;
@@ -8665,7 +8744,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
8665
8744
  address2: string | null;
8666
8745
  } | null;
8667
8746
  histories?: {
8668
- status: "REJECTED" | "REQUESTED" | "HELD" | "COLLECTING" | "COLLECTED" | "REDELIVERING" | "APPROVED" | "COMPLETED" | "WITHDRAWN";
8747
+ status: "COMPLETED" | "REJECTED" | "REQUESTED" | "HELD" | "COLLECTING" | "COLLECTED" | "REDELIVERING" | "APPROVED" | "WITHDRAWN";
8669
8748
  actor: "SYSTEM" | "BUYER" | "SELLER";
8670
8749
  occurredAt: string;
8671
8750
  }[] | undefined;
@@ -8697,7 +8776,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
8697
8776
  completeExchange: (claimId: string) => Promise<{
8698
8777
  claimId: string;
8699
8778
  type: "RETURN" | "EXCHANGE" | "CANCEL";
8700
- status: "REJECTED" | "REQUESTED" | "HELD" | "COLLECTING" | "COLLECTED" | "REDELIVERING" | "APPROVED" | "COMPLETED" | "WITHDRAWN";
8779
+ status: "COMPLETED" | "REJECTED" | "REQUESTED" | "HELD" | "COLLECTING" | "COLLECTED" | "REDELIVERING" | "APPROVED" | "WITHDRAWN";
8701
8780
  orderId: string;
8702
8781
  orderItemId: string;
8703
8782
  productName: string;
@@ -9598,9 +9677,9 @@ export declare function createStoreClient(options: StoreClientOptions): {
9598
9677
  }>;
9599
9678
  /** `GET /v1/analytics/sources` — 채널·소스·캠페인·기기별 세션과 구매 */
9600
9679
  sources: (params: AnalyticsSourcesParams) => Promise<{
9601
- groupBy: "CHANNEL" | "SOURCE" | "CAMPAIGN" | "DEVICE";
9680
+ groupBy: "CAMPAIGN" | "CHANNEL" | "SOURCE" | "DEVICE";
9602
9681
  rows: {
9603
- channel: "PAID" | "DIRECT" | "CAMPAIGN" | "UNKNOWN" | "ORGANIC_SEARCH" | "SOCIAL" | "EMAIL" | "REFERRAL" | null;
9682
+ channel: "DIRECT" | "ORGANIC_SEARCH" | "SOCIAL" | "PAID" | "EMAIL" | "CAMPAIGN" | "REFERRAL" | "UNKNOWN" | null;
9604
9683
  source: string | null;
9605
9684
  medium: string | null;
9606
9685
  campaign: string | null;
@@ -9705,7 +9784,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
9705
9784
  checkout: (params: AnalyticsRangeParams) => Promise<{
9706
9785
  sessions: number;
9707
9786
  outcomes: {
9708
- outcome: "OTHER" | "COMPLETED" | "NOT_OPENED" | "USER_CANCELED" | "DECLINED" | "PREPARE_FAILURE" | "IN_PROGRESS";
9787
+ outcome: "COMPLETED" | "NOT_OPENED" | "USER_CANCELED" | "DECLINED" | "PREPARE_FAILURE" | "OTHER" | "IN_PROGRESS";
9709
9788
  sessions: number;
9710
9789
  }[];
9711
9790
  from: string;
@@ -9929,6 +10008,15 @@ export declare function createStoreClient(options: StoreClientOptions): {
9929
10008
  }[];
9930
10009
  environment: "TEST" | "LIVE" | null;
9931
10010
  candidates: string[];
10011
+ warnings: {
10012
+ provider: string;
10013
+ method: string;
10014
+ easyPayProvider: string | null;
10015
+ code: string | null;
10016
+ count: number;
10017
+ lastAt: string;
10018
+ message: string | null;
10019
+ }[];
9932
10020
  }>;
9933
10021
  /**
9934
10022
  * `PUT /v1/store/payment-settings` — `priority`에는 연결된 PG를 개수와 무관하게 모두 한 번씩 나열한다
@@ -10030,6 +10118,15 @@ export declare function createStoreClient(options: StoreClientOptions): {
10030
10118
  }[];
10031
10119
  environment: "TEST" | "LIVE" | null;
10032
10120
  candidates: string[];
10121
+ warnings: {
10122
+ provider: string;
10123
+ method: string;
10124
+ easyPayProvider: string | null;
10125
+ code: string | null;
10126
+ count: number;
10127
+ lastAt: string;
10128
+ message: string | null;
10129
+ }[];
10033
10130
  }>;
10034
10131
  /**
10035
10132
  * `PUT /v1/store/payment-providers/tosspayments` — 자격 증명 세트 저장. `environment`는 **저장할 세트**(`TEST`·`LIVE`)이고
@@ -10787,7 +10884,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
10787
10884
  list: (params?: ApprovalListOptions) => Promise<{
10788
10885
  items: {
10789
10886
  approvalId: string;
10790
- status: "PENDING" | "FAILED" | "SUCCEEDED" | "EXECUTING" | "UNKNOWN" | "REJECTED" | "EXPIRED";
10887
+ status: "UNKNOWN" | "PENDING" | "FAILED" | "SUCCEEDED" | "EXECUTING" | "REJECTED" | "EXPIRED";
10791
10888
  operationId: string;
10792
10889
  method: string;
10793
10890
  path: string;
@@ -10837,7 +10934,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
10837
10934
  }>;
10838
10935
  get: (approvalId: string) => Promise<{
10839
10936
  approvalId: string;
10840
- status: "PENDING" | "FAILED" | "SUCCEEDED" | "EXECUTING" | "UNKNOWN" | "REJECTED" | "EXPIRED";
10937
+ status: "UNKNOWN" | "PENDING" | "FAILED" | "SUCCEEDED" | "EXECUTING" | "REJECTED" | "EXPIRED";
10841
10938
  operationId: string;
10842
10939
  method: string;
10843
10940
  path: string;
@@ -10889,7 +10986,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
10889
10986
  */
10890
10987
  approve: (approvalId: string, body?: ApprovalDecisionRequest) => Promise<{
10891
10988
  approvalId: string;
10892
- status: "PENDING" | "FAILED" | "SUCCEEDED" | "EXECUTING" | "UNKNOWN" | "REJECTED" | "EXPIRED";
10989
+ status: "UNKNOWN" | "PENDING" | "FAILED" | "SUCCEEDED" | "EXECUTING" | "REJECTED" | "EXPIRED";
10893
10990
  operationId: string;
10894
10991
  method: string;
10895
10992
  path: string;
@@ -10937,7 +11034,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
10937
11034
  }>;
10938
11035
  reject: (approvalId: string, body?: ApprovalDecisionRequest) => Promise<{
10939
11036
  approvalId: string;
10940
- status: "PENDING" | "FAILED" | "SUCCEEDED" | "EXECUTING" | "UNKNOWN" | "REJECTED" | "EXPIRED";
11037
+ status: "UNKNOWN" | "PENDING" | "FAILED" | "SUCCEEDED" | "EXECUTING" | "REJECTED" | "EXPIRED";
10941
11038
  operationId: string;
10942
11039
  method: string;
10943
11040
  path: string;
@@ -11181,7 +11278,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
11181
11278
  /** `GET /v1/storefront/site/deployment` — 배포 진행(단계·기록). 만든 뒤 반영이 끝날 때까지 폴링한다 */
11182
11279
  getDeployment: () => Promise<{
11183
11280
  siteId: string;
11184
- status: "FAILED" | "SUCCEEDED" | "IN_PROGRESS";
11281
+ status: "IN_PROGRESS" | "FAILED" | "SUCCEEDED";
11185
11282
  url: string;
11186
11283
  startedAt: string;
11187
11284
  finishedAt: string | null;
@@ -11203,7 +11300,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
11203
11300
  /** `POST /v1/storefront/site/deployment/retry` (202) — 밀린 반영을 곧바로 다시 시도한다. 이미 반영됐으면 그대로다 */
11204
11301
  retryDeployment: () => Promise<{
11205
11302
  siteId: string;
11206
- status: "FAILED" | "SUCCEEDED" | "IN_PROGRESS";
11303
+ status: "IN_PROGRESS" | "FAILED" | "SUCCEEDED";
11207
11304
  url: string;
11208
11305
  startedAt: string;
11209
11306
  finishedAt: string | null;
@@ -11778,7 +11875,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
11778
11875
  runCheck: (body: RunStorefrontCheckRequest) => Promise<{
11779
11876
  checkId: string;
11780
11877
  check: string;
11781
- status: "FAILED" | "UNKNOWN" | "RUNNING" | "QUEUED" | "PASSED" | "TIMED_OUT";
11878
+ status: "UNKNOWN" | "FAILED" | "RUNNING" | "QUEUED" | "PASSED" | "TIMED_OUT";
11782
11879
  exitCode: number | null;
11783
11880
  durationMs: number | null;
11784
11881
  outputTail: string | null;
@@ -11792,7 +11889,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
11792
11889
  getCheck: (checkId: string) => Promise<{
11793
11890
  checkId: string;
11794
11891
  check: string;
11795
- status: "FAILED" | "UNKNOWN" | "RUNNING" | "QUEUED" | "PASSED" | "TIMED_OUT";
11892
+ status: "UNKNOWN" | "FAILED" | "RUNNING" | "QUEUED" | "PASSED" | "TIMED_OUT";
11796
11893
  exitCode: number | null;
11797
11894
  durationMs: number | null;
11798
11895
  outputTail: string | null;
@@ -12265,14 +12362,6 @@ export declare function createStoreClient(options: StoreClientOptions): {
12265
12362
  };
12266
12363
  store: {
12267
12364
  get: () => Promise<{
12268
- storeId: string;
12269
- name: string;
12270
- storeCode: string;
12271
- storefrontUrl: string;
12272
- status: "SUSPENDED" | "CLOSED" | "ACTIVE";
12273
- logoUrl: string | null;
12274
- businessNumber: string | null;
12275
- customerCenterPhone: string | null;
12276
12365
  analyticsAllowedOrigins: string[];
12277
12366
  storefrontOrigins: string[];
12278
12367
  guestCheckoutEnabled: boolean;
@@ -12300,12 +12389,13 @@ export declare function createStoreClient(options: StoreClientOptions): {
12300
12389
  privacyUrl: string | null;
12301
12390
  memberCount: number;
12302
12391
  createdAt: string;
12303
- }>;
12304
- /**
12305
- * `PATCH /v1/store` — 스코프 `store:rw`. 바꿀 필드만 보낸다. `analyticsAllowedOrigins`는 방문 분석 수집을 받을
12306
- * 스토어프론트 오리진 목록이다(빈 배열이면 모든 오리진 허용).
12307
- */
12308
- update: (body: UpdateStoreRequest) => Promise<{
12392
+ businessName: string | null;
12393
+ representativeName: string | null;
12394
+ mailOrderSalesNumber: string | null;
12395
+ businessAddress: string | null;
12396
+ customerCenterEmail: string | null;
12397
+ privacyOfficerName: string | null;
12398
+ privacyOfficerEmail: string | null;
12309
12399
  storeId: string;
12310
12400
  name: string;
12311
12401
  storeCode: string;
@@ -12314,6 +12404,12 @@ export declare function createStoreClient(options: StoreClientOptions): {
12314
12404
  logoUrl: string | null;
12315
12405
  businessNumber: string | null;
12316
12406
  customerCenterPhone: string | null;
12407
+ }>;
12408
+ /**
12409
+ * `PATCH /v1/store` — 스코프 `store:rw`. 바꿀 필드만 보낸다. `analyticsAllowedOrigins`는 방문 분석 수집을 받을
12410
+ * 스토어프론트 오리진 목록이다(빈 배열이면 모든 오리진 허용).
12411
+ */
12412
+ update: (body: UpdateStoreRequest) => Promise<{
12317
12413
  analyticsAllowedOrigins: string[];
12318
12414
  storefrontOrigins: string[];
12319
12415
  guestCheckoutEnabled: boolean;
@@ -12341,6 +12437,21 @@ export declare function createStoreClient(options: StoreClientOptions): {
12341
12437
  privacyUrl: string | null;
12342
12438
  memberCount: number;
12343
12439
  createdAt: string;
12440
+ businessName: string | null;
12441
+ representativeName: string | null;
12442
+ mailOrderSalesNumber: string | null;
12443
+ businessAddress: string | null;
12444
+ customerCenterEmail: string | null;
12445
+ privacyOfficerName: string | null;
12446
+ privacyOfficerEmail: string | null;
12447
+ storeId: string;
12448
+ name: string;
12449
+ storeCode: string;
12450
+ storefrontUrl: string;
12451
+ status: "SUSPENDED" | "CLOSED" | "ACTIVE";
12452
+ logoUrl: string | null;
12453
+ businessNumber: string | null;
12454
+ customerCenterPhone: string | null;
12344
12455
  }>;
12345
12456
  listMembers: () => Promise<{
12346
12457
  userId: string;
@@ -13650,6 +13761,7 @@ export declare const claimWebhookEventDataSchema: z.ZodObject<{
13650
13761
  CANCEL: "CANCEL";
13651
13762
  }>;
13652
13763
  status: z.ZodEnum<{
13764
+ COMPLETED: "COMPLETED";
13653
13765
  REJECTED: "REJECTED";
13654
13766
  REQUESTED: "REQUESTED";
13655
13767
  HELD: "HELD";
@@ -13657,7 +13769,6 @@ export declare const claimWebhookEventDataSchema: z.ZodObject<{
13657
13769
  COLLECTED: "COLLECTED";
13658
13770
  REDELIVERING: "REDELIVERING";
13659
13771
  APPROVED: "APPROVED";
13660
- COMPLETED: "COMPLETED";
13661
13772
  WITHDRAWN: "WITHDRAWN";
13662
13773
  }>;
13663
13774
  quantity: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
@@ -13840,6 +13951,7 @@ export declare const claimWebhookEventSchema: z.ZodObject<{
13840
13951
  CANCEL: "CANCEL";
13841
13952
  }>;
13842
13953
  status: z.ZodEnum<{
13954
+ COMPLETED: "COMPLETED";
13843
13955
  REJECTED: "REJECTED";
13844
13956
  REQUESTED: "REQUESTED";
13845
13957
  HELD: "HELD";
@@ -13847,7 +13959,6 @@ export declare const claimWebhookEventSchema: z.ZodObject<{
13847
13959
  COLLECTED: "COLLECTED";
13848
13960
  REDELIVERING: "REDELIVERING";
13849
13961
  APPROVED: "APPROVED";
13850
- COMPLETED: "COMPLETED";
13851
13962
  WITHDRAWN: "WITHDRAWN";
13852
13963
  }>;
13853
13964
  quantity: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
@@ -14050,6 +14161,7 @@ export declare const webhookEventSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
14050
14161
  CANCEL: "CANCEL";
14051
14162
  }>;
14052
14163
  status: z.ZodEnum<{
14164
+ COMPLETED: "COMPLETED";
14053
14165
  REJECTED: "REJECTED";
14054
14166
  REQUESTED: "REQUESTED";
14055
14167
  HELD: "HELD";
@@ -14057,7 +14169,6 @@ export declare const webhookEventSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
14057
14169
  COLLECTED: "COLLECTED";
14058
14170
  REDELIVERING: "REDELIVERING";
14059
14171
  APPROVED: "APPROVED";
14060
- COMPLETED: "COMPLETED";
14061
14172
  WITHDRAWN: "WITHDRAWN";
14062
14173
  }>;
14063
14174
  quantity: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;