@sayren/store-sdk 0.29.1 → 0.29.2

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
@@ -33,8 +33,8 @@ export declare const auditLogSourceSchema: z.ZodEnum<{
33
33
  }>;
34
34
  export type AuditLogSource = z.infer<typeof auditLogSourceSchema>;
35
35
  export declare const auditLogOutcomeSchema: z.ZodEnum<{
36
- SUCCEEDED: "SUCCEEDED";
37
36
  FAILED: "FAILED";
37
+ SUCCEEDED: "SUCCEEDED";
38
38
  PENDING_APPROVAL: "PENDING_APPROVAL";
39
39
  DENIED: "DENIED";
40
40
  DRY_RUN: "DRY_RUN";
@@ -69,8 +69,8 @@ export declare const auditLogSchema: z.ZodObject<{
69
69
  path: z.ZodNullable<z.ZodString>;
70
70
  statusCode: z.ZodNullable<z.ZodNumber>;
71
71
  outcome: z.ZodNullable<z.ZodEnum<{
72
- SUCCEEDED: "SUCCEEDED";
73
72
  FAILED: "FAILED";
73
+ SUCCEEDED: "SUCCEEDED";
74
74
  PENDING_APPROVAL: "PENDING_APPROVAL";
75
75
  DENIED: "DENIED";
76
76
  DRY_RUN: "DRY_RUN";
@@ -102,8 +102,8 @@ export declare const auditLogListQuerySchema: z.ZodObject<{
102
102
  DOMAIN: "DOMAIN";
103
103
  }>>;
104
104
  outcome: z.ZodOptional<z.ZodEnum<{
105
- SUCCEEDED: "SUCCEEDED";
106
105
  FAILED: "FAILED";
106
+ SUCCEEDED: "SUCCEEDED";
107
107
  PENDING_APPROVAL: "PENDING_APPROVAL";
108
108
  DENIED: "DENIED";
109
109
  DRY_RUN: "DRY_RUN";
@@ -149,8 +149,8 @@ export declare const auditLogPageSchema: z.ZodObject<{
149
149
  path: z.ZodNullable<z.ZodString>;
150
150
  statusCode: z.ZodNullable<z.ZodNumber>;
151
151
  outcome: z.ZodNullable<z.ZodEnum<{
152
- SUCCEEDED: "SUCCEEDED";
153
152
  FAILED: "FAILED";
153
+ SUCCEEDED: "SUCCEEDED";
154
154
  PENDING_APPROVAL: "PENDING_APPROVAL";
155
155
  DENIED: "DENIED";
156
156
  DRY_RUN: "DRY_RUN";
@@ -166,8 +166,8 @@ export declare const auditLogPageSchema: z.ZodObject<{
166
166
  export type AuditLogPage = z.infer<typeof auditLogPageSchema>;
167
167
  export declare const agentPolicyDecisionSchema: z.ZodEnum<{
168
168
  DENIED: "DENIED";
169
- ALLOW: "ALLOW";
170
169
  APPROVAL_REQUIRED: "APPROVAL_REQUIRED";
170
+ ALLOW: "ALLOW";
171
171
  }>;
172
172
  export type AgentPolicyDecision = z.infer<typeof agentPolicyDecisionSchema>;
173
173
  export declare const writePreviewSchema: z.ZodObject<{
@@ -191,8 +191,8 @@ export declare const writeDryRunResultSchema: z.ZodObject<{
191
191
  dryRun: z.ZodLiteral<true>;
192
192
  decision: z.ZodEnum<{
193
193
  DENIED: "DENIED";
194
- ALLOW: "ALLOW";
195
194
  APPROVAL_REQUIRED: "APPROVAL_REQUIRED";
195
+ ALLOW: "ALLOW";
196
196
  }>;
197
197
  reason: z.ZodNullable<z.ZodString>;
198
198
  preview: z.ZodObject<{
@@ -214,9 +214,9 @@ export declare const writeDryRunResultSchema: z.ZodObject<{
214
214
  export type WriteDryRunResult = z.infer<typeof writeDryRunResultSchema>;
215
215
  export declare const approvalStatusSchema: z.ZodEnum<{
216
216
  UNKNOWN: "UNKNOWN";
217
- SUCCEEDED: "SUCCEEDED";
218
- FAILED: "FAILED";
219
217
  PENDING: "PENDING";
218
+ FAILED: "FAILED";
219
+ SUCCEEDED: "SUCCEEDED";
220
220
  EXECUTING: "EXECUTING";
221
221
  REJECTED: "REJECTED";
222
222
  EXPIRED: "EXPIRED";
@@ -226,9 +226,9 @@ export declare const approvalRequestSchema: z.ZodObject<{
226
226
  approvalId: z.ZodString;
227
227
  status: z.ZodEnum<{
228
228
  UNKNOWN: "UNKNOWN";
229
- SUCCEEDED: "SUCCEEDED";
230
- FAILED: "FAILED";
231
229
  PENDING: "PENDING";
230
+ FAILED: "FAILED";
231
+ SUCCEEDED: "SUCCEEDED";
232
232
  EXECUTING: "EXECUTING";
233
233
  REJECTED: "REJECTED";
234
234
  EXPIRED: "EXPIRED";
@@ -288,9 +288,9 @@ 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
290
  UNKNOWN: "UNKNOWN";
291
- SUCCEEDED: "SUCCEEDED";
292
- FAILED: "FAILED";
293
291
  PENDING: "PENDING";
292
+ FAILED: "FAILED";
293
+ SUCCEEDED: "SUCCEEDED";
294
294
  EXECUTING: "EXECUTING";
295
295
  REJECTED: "REJECTED";
296
296
  EXPIRED: "EXPIRED";
@@ -307,9 +307,9 @@ export declare const approvalPageSchema: z.ZodObject<{
307
307
  approvalId: z.ZodString;
308
308
  status: z.ZodEnum<{
309
309
  UNKNOWN: "UNKNOWN";
310
- SUCCEEDED: "SUCCEEDED";
311
- FAILED: "FAILED";
312
310
  PENDING: "PENDING";
311
+ FAILED: "FAILED";
312
+ SUCCEEDED: "SUCCEEDED";
313
313
  EXECUTING: "EXECUTING";
314
314
  REJECTED: "REJECTED";
315
315
  EXPIRED: "EXPIRED";
@@ -1508,8 +1508,8 @@ export type ApproveClaimResult = z.infer<typeof approveClaimResultSchema>;
1508
1508
  * 컬렉션 (이슈 #83) — 상품을 어디에 보여 줄지 정하는 묶음이다. 카테고리는 상품이 무엇인지를 정하고 상품당 하나지만, 컬렉션은
1509
1509
  * 다대다다. 이벤트·기획전은 기간이 있는 직접 선택 컬렉션이다. 권한은 카테고리와 같다(`category:r`·`category:rw`).
1510
1510
  *
1511
- * 유형은 만들 때 정하고 바꿀 수 없다. 지금은 직접 선택(`MANUAL`)만 만들 수 있다. 조건 자동(`AUTOMATIC`)은 다음 단계에서 열리고,
1512
- * 응답의 `type`은 값이 늘 수 있어 문자열이다.
1511
+ * 유형은 만들 때 정하고 바꿀 수 없다. 직접 선택(`MANUAL`)은 셀러가 상품을 담고 순서를 정하고, 조건 자동(`AUTOMATIC`)은 조건(`rules`)을
1512
+ * 모두 만족하는 판매 중 상품을 조회할 때마다 계산한다(결과를 저장하지 않는다). 응답의 `type`은 값이 늘 수 있어 문자열이다.
1513
1513
  */
1514
1514
  /** 상점당 컬렉션 최대 개수 — 넘으면 409 `COLLECTION_LIMIT_EXCEEDED` */
1515
1515
  export declare const MAX_COLLECTIONS = 200;
@@ -1523,7 +1523,7 @@ export declare const MAX_COLLECTION_TITLE = 60;
1523
1523
  export declare const MAX_COLLECTION_DESCRIPTION = 500;
1524
1524
  /** 주소(slug) 형식 — 영문 소문자·숫자·하이픈, 첫 글자는 영문 소문자나 숫자, 64자까지 */
1525
1525
  export declare const COLLECTION_SLUG_PATTERN: RegExp;
1526
- /** 유형 — `MANUAL`(직접 선택)·`AUTOMATIC`(조건 자동, 아직 만들 수 없다) */
1526
+ /** 유형 — `MANUAL`(직접 선택)·`AUTOMATIC`(조건 자동) */
1527
1527
  export declare const COLLECTION_TYPES: readonly ["MANUAL", "AUTOMATIC"];
1528
1528
  export type CollectionType = (typeof COLLECTION_TYPES)[number];
1529
1529
  /**
@@ -1555,6 +1555,98 @@ export declare function collectionStateOf(collection: {
1555
1555
  startsAt: string | null;
1556
1556
  endsAt: string | null;
1557
1557
  }, now: Date): CollectionState;
1558
+ /** 조건 자동 컬렉션의 조건 최대 개수 */
1559
+ export declare const MAX_COLLECTION_RULES = 10;
1560
+ /** 카테고리 조건 하나에 넣는 카테고리 최대 개수 */
1561
+ export declare const MAX_COLLECTION_RULE_CATEGORIES = 20;
1562
+ /** 등록일 조건의 최대 일수 */
1563
+ export declare const MAX_COLLECTION_CREATED_WITHIN_DAYS = 365;
1564
+ /** 미리보기(`POST /v1/collections/preview`)가 싣는 상품 최대 개수 */
1565
+ export declare const COLLECTION_PREVIEW_SIZE = 20;
1566
+ /**
1567
+ * 조건 하나 — `field`로 가른다. 가격은 즉시할인을 반영한 판매가(`discountedPrice ?? salePrice`)다.
1568
+ * 판매량 상위(`bestSelling`)는 판매량 집계가 열릴 때 더한다.
1569
+ */
1570
+ export declare const collectionRuleSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
1571
+ field: z.ZodLiteral<"createdWithinDays">;
1572
+ value: z.ZodNumber;
1573
+ }, z.core.$strip>, z.ZodObject<{
1574
+ field: z.ZodLiteral<"category">;
1575
+ categoryIds: z.ZodArray<z.ZodString>;
1576
+ }, z.core.$strip>, z.ZodObject<{
1577
+ field: z.ZodLiteral<"price">;
1578
+ min: z.ZodOptional<z.ZodNumber>;
1579
+ max: z.ZodOptional<z.ZodNumber>;
1580
+ }, z.core.$strip>, z.ZodObject<{
1581
+ field: z.ZodLiteral<"discounted">;
1582
+ value: z.ZodLiteral<true>;
1583
+ }, z.core.$strip>], "field">;
1584
+ export type CollectionRule = z.infer<typeof collectionRuleSchema>;
1585
+ export type CollectionRuleField = CollectionRule["field"];
1586
+ /** 조건 목록 — 모두 만족해야 한다(AND). 같은 `field`는 한 번만 쓴다 */
1587
+ export declare const collectionRulesSchema: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
1588
+ field: z.ZodLiteral<"createdWithinDays">;
1589
+ value: z.ZodNumber;
1590
+ }, z.core.$strip>, z.ZodObject<{
1591
+ field: z.ZodLiteral<"category">;
1592
+ categoryIds: z.ZodArray<z.ZodString>;
1593
+ }, z.core.$strip>, z.ZodObject<{
1594
+ field: z.ZodLiteral<"price">;
1595
+ min: z.ZodOptional<z.ZodNumber>;
1596
+ max: z.ZodOptional<z.ZodNumber>;
1597
+ }, z.core.$strip>, z.ZodObject<{
1598
+ field: z.ZodLiteral<"discounted">;
1599
+ value: z.ZodLiteral<true>;
1600
+ }, z.core.$strip>], "field">>;
1601
+ /**
1602
+ * 응답의 조건 — 이 SDK가 아는 조건이거나 뒤에 더해질 조건(`field`만 확인한다)이다. 새 조건이 생겨도 옛 SDK의 응답 검증이 깨지지 않는다.
1603
+ */
1604
+ export declare const collectionRuleViewSchema: z.ZodUnion<readonly [z.ZodObject<{
1605
+ field: z.ZodLiteral<"createdWithinDays">;
1606
+ value: z.ZodNumber;
1607
+ }, z.core.$strip>, z.ZodObject<{
1608
+ field: z.ZodLiteral<"category">;
1609
+ categoryIds: z.ZodArray<z.ZodString>;
1610
+ }, z.core.$strip>, z.ZodObject<{
1611
+ field: z.ZodLiteral<"price">;
1612
+ min: z.ZodOptional<z.ZodNumber>;
1613
+ max: z.ZodOptional<z.ZodNumber>;
1614
+ }, z.core.$strip>, z.ZodObject<{
1615
+ field: z.ZodLiteral<"discounted">;
1616
+ value: z.ZodLiteral<true>;
1617
+ }, z.core.$strip>, z.ZodObject<{
1618
+ field: z.ZodString;
1619
+ }, z.core.$loose>]>;
1620
+ export type CollectionRuleView = z.infer<typeof collectionRuleViewSchema>;
1621
+ /** 조건 판정에 쓰는 상품 값 — 즉시할인가는 호출부가 계산해 넘긴다 */
1622
+ export interface CollectionRuleProduct {
1623
+ createdAt: string;
1624
+ categoryId: string | null;
1625
+ salePrice: number;
1626
+ /** 지금 적용되는 즉시할인가. 할인이 없으면 null */
1627
+ discountedPrice: number | null;
1628
+ }
1629
+ export interface CollectionRuleContext {
1630
+ /** 판정 시각 — 등록일 조건의 기준이다 */
1631
+ now: Date;
1632
+ /** 상점 카테고리(부모 관계) — 카테고리 조건의 하위 포함 판정에 쓴다 */
1633
+ categories: ReadonlyArray<{
1634
+ categoryId: string;
1635
+ parentId: string | null;
1636
+ }>;
1637
+ }
1638
+ /** 카테고리 자신 + 모든 하위 카테고리 id */
1639
+ export declare function descendantCategoryIdsOf(roots: readonly string[], categories: CollectionRuleContext["categories"]): Set<string>;
1640
+ /**
1641
+ * 조건 판정 함수를 만든다 — 모든 조건을 만족해야 true다(AND). 카테고리 트리는 여기서 한 번만 푼다.
1642
+ * 알 수 없는 조건(`field`)은 만족하지 않는 것으로 본다. 모르는 조건을 건너뛰면 상품이 예고 없이 늘어난다.
1643
+ * 판매 상태는 보지 않는다. 판매 중만 거르는 것은 호출부다.
1644
+ */
1645
+ export declare function collectionRulesPredicate(rules: readonly CollectionRuleView[], context: CollectionRuleContext): (product: CollectionRuleProduct) => boolean;
1646
+ /** 상품 하나가 조건을 모두 만족하는가 — 여러 상품을 판정할 때는 `collectionRulesPredicate`를 한 번 만들어 쓴다 */
1647
+ export declare function matchesCollectionRules(product: CollectionRuleProduct, rules: readonly CollectionRuleView[], context: CollectionRuleContext): boolean;
1648
+ /** 조건이 참조하는 카테고리 id — 카테고리 삭제의 참조 검사에 쓴다 */
1649
+ export declare function collectionRuleCategoryIds(rules: readonly CollectionRuleView[]): string[];
1558
1650
  export declare const collectionSchema: z.ZodObject<{
1559
1651
  collectionId: z.ZodString;
1560
1652
  type: z.ZodString;
@@ -1563,6 +1655,22 @@ export declare const collectionSchema: z.ZodObject<{
1563
1655
  description: z.ZodString;
1564
1656
  imageUrl: z.ZodNullable<z.ZodString>;
1565
1657
  productSort: z.ZodString;
1658
+ rules: z.ZodNullable<z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
1659
+ field: z.ZodLiteral<"createdWithinDays">;
1660
+ value: z.ZodNumber;
1661
+ }, z.core.$strip>, z.ZodObject<{
1662
+ field: z.ZodLiteral<"category">;
1663
+ categoryIds: z.ZodArray<z.ZodString>;
1664
+ }, z.core.$strip>, z.ZodObject<{
1665
+ field: z.ZodLiteral<"price">;
1666
+ min: z.ZodOptional<z.ZodNumber>;
1667
+ max: z.ZodOptional<z.ZodNumber>;
1668
+ }, z.core.$strip>, z.ZodObject<{
1669
+ field: z.ZodLiteral<"discounted">;
1670
+ value: z.ZodLiteral<true>;
1671
+ }, z.core.$strip>, z.ZodObject<{
1672
+ field: z.ZodString;
1673
+ }, z.core.$loose>]>>>;
1566
1674
  visible: z.ZodBoolean;
1567
1675
  startsAt: z.ZodNullable<z.ZodString>;
1568
1676
  endsAt: z.ZodNullable<z.ZodString>;
@@ -1582,18 +1690,34 @@ export declare const collectionSchema: z.ZodObject<{
1582
1690
  }, z.core.$strip>;
1583
1691
  export type Collection = z.infer<typeof collectionSchema>;
1584
1692
  /**
1585
- * `POST /v1/collections` — 직접 선택 컬렉션을 만든다. `slug`를 생략하면 `c-{id 뒤 8자}`로 만든다.
1586
- * `productIds`는 처음 담을 상품과 순서다.
1693
+ * `POST /v1/collections` — 컬렉션을 만든다. `slug`를 생략하면 `c-{id 뒤 8자}`로 만든다.
1694
+ * 직접 선택(`MANUAL`)은 `productIds`가 처음 담을 상품과 순서다. 조건 자동(`AUTOMATIC`)은 `rules`가 있어야 하고 `productIds`를 받지 않는다.
1695
+ * `productSort`를 생략하면 직접 선택은 `MANUAL`, 조건 자동은 `LATEST`다. 조건 자동은 `MANUAL`을 쓸 수 없다.
1587
1696
  */
1588
1697
  export declare const collectionCreateRequestSchema: z.ZodObject<{
1589
1698
  title: z.ZodString;
1590
1699
  slug: z.ZodOptional<z.ZodString>;
1591
1700
  type: z.ZodDefault<z.ZodEnum<{
1592
1701
  MANUAL: "MANUAL";
1702
+ AUTOMATIC: "AUTOMATIC";
1593
1703
  }>>;
1704
+ rules: z.ZodOptional<z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
1705
+ field: z.ZodLiteral<"createdWithinDays">;
1706
+ value: z.ZodNumber;
1707
+ }, z.core.$strip>, z.ZodObject<{
1708
+ field: z.ZodLiteral<"category">;
1709
+ categoryIds: z.ZodArray<z.ZodString>;
1710
+ }, z.core.$strip>, z.ZodObject<{
1711
+ field: z.ZodLiteral<"price">;
1712
+ min: z.ZodOptional<z.ZodNumber>;
1713
+ max: z.ZodOptional<z.ZodNumber>;
1714
+ }, z.core.$strip>, z.ZodObject<{
1715
+ field: z.ZodLiteral<"discounted">;
1716
+ value: z.ZodLiteral<true>;
1717
+ }, z.core.$strip>], "field">>>;
1594
1718
  description: z.ZodDefault<z.ZodString>;
1595
1719
  imageUrl: z.ZodOptional<z.ZodNullable<z.ZodURL>>;
1596
- productSort: z.ZodDefault<z.ZodEnum<{
1720
+ productSort: z.ZodOptional<z.ZodEnum<{
1597
1721
  PRICE_ASC: "PRICE_ASC";
1598
1722
  PRICE_DESC: "PRICE_DESC";
1599
1723
  MANUAL: "MANUAL";
@@ -1620,6 +1744,20 @@ export declare const collectionPatchRequestSchema: z.ZodObject<{
1620
1744
  title: z.ZodOptional<z.ZodString>;
1621
1745
  slug: z.ZodOptional<z.ZodString>;
1622
1746
  type: z.ZodOptional<z.ZodString>;
1747
+ rules: z.ZodOptional<z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
1748
+ field: z.ZodLiteral<"createdWithinDays">;
1749
+ value: z.ZodNumber;
1750
+ }, z.core.$strip>, z.ZodObject<{
1751
+ field: z.ZodLiteral<"category">;
1752
+ categoryIds: z.ZodArray<z.ZodString>;
1753
+ }, z.core.$strip>, z.ZodObject<{
1754
+ field: z.ZodLiteral<"price">;
1755
+ min: z.ZodOptional<z.ZodNumber>;
1756
+ max: z.ZodOptional<z.ZodNumber>;
1757
+ }, z.core.$strip>, z.ZodObject<{
1758
+ field: z.ZodLiteral<"discounted">;
1759
+ value: z.ZodLiteral<true>;
1760
+ }, z.core.$strip>], "field">>>;
1623
1761
  description: z.ZodOptional<z.ZodString>;
1624
1762
  imageUrl: z.ZodOptional<z.ZodNullable<z.ZodURL>>;
1625
1763
  productSort: z.ZodOptional<z.ZodEnum<{
@@ -1683,6 +1821,22 @@ export declare const collectionPageSchema: z.ZodObject<{
1683
1821
  description: z.ZodString;
1684
1822
  imageUrl: z.ZodNullable<z.ZodString>;
1685
1823
  productSort: z.ZodString;
1824
+ rules: z.ZodNullable<z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
1825
+ field: z.ZodLiteral<"createdWithinDays">;
1826
+ value: z.ZodNumber;
1827
+ }, z.core.$strip>, z.ZodObject<{
1828
+ field: z.ZodLiteral<"category">;
1829
+ categoryIds: z.ZodArray<z.ZodString>;
1830
+ }, z.core.$strip>, z.ZodObject<{
1831
+ field: z.ZodLiteral<"price">;
1832
+ min: z.ZodOptional<z.ZodNumber>;
1833
+ max: z.ZodOptional<z.ZodNumber>;
1834
+ }, z.core.$strip>, z.ZodObject<{
1835
+ field: z.ZodLiteral<"discounted">;
1836
+ value: z.ZodLiteral<true>;
1837
+ }, z.core.$strip>, z.ZodObject<{
1838
+ field: z.ZodString;
1839
+ }, z.core.$loose>]>>>;
1686
1840
  visible: z.ZodBoolean;
1687
1841
  startsAt: z.ZodNullable<z.ZodString>;
1688
1842
  endsAt: z.ZodNullable<z.ZodString>;
@@ -1737,6 +1891,47 @@ export declare const collectionProductListQuerySchema: z.ZodObject<{
1737
1891
  page: z.ZodOptional<z.ZodString>;
1738
1892
  size: z.ZodOptional<z.ZodString>;
1739
1893
  }, z.core.$strip>;
1894
+ /** `POST /v1/collections/preview` — 저장하지 않고 조건으로 나오는 상품을 본다 */
1895
+ export declare const collectionPreviewRequestSchema: z.ZodObject<{
1896
+ rules: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
1897
+ field: z.ZodLiteral<"createdWithinDays">;
1898
+ value: z.ZodNumber;
1899
+ }, z.core.$strip>, z.ZodObject<{
1900
+ field: z.ZodLiteral<"category">;
1901
+ categoryIds: z.ZodArray<z.ZodString>;
1902
+ }, z.core.$strip>, z.ZodObject<{
1903
+ field: z.ZodLiteral<"price">;
1904
+ min: z.ZodOptional<z.ZodNumber>;
1905
+ max: z.ZodOptional<z.ZodNumber>;
1906
+ }, z.core.$strip>, z.ZodObject<{
1907
+ field: z.ZodLiteral<"discounted">;
1908
+ value: z.ZodLiteral<true>;
1909
+ }, z.core.$strip>], "field">>;
1910
+ productSort: z.ZodOptional<z.ZodEnum<{
1911
+ PRICE_ASC: "PRICE_ASC";
1912
+ PRICE_DESC: "PRICE_DESC";
1913
+ MANUAL: "MANUAL";
1914
+ LATEST: "LATEST";
1915
+ REVIEW_COUNT: "REVIEW_COUNT";
1916
+ RATING_DESC: "RATING_DESC";
1917
+ RECOMMEND: "RECOMMEND";
1918
+ }>>;
1919
+ }, z.core.$strip>;
1920
+ export type CollectionPreviewRequest = z.infer<typeof collectionPreviewRequestSchema>;
1921
+ /** 미리보기 응답 — 조건을 만족하는 판매 중 상품 수와 앞 20개 */
1922
+ export declare const collectionPreviewSchema: z.ZodObject<{
1923
+ count: z.ZodNumber;
1924
+ products: z.ZodArray<z.ZodObject<{
1925
+ productId: z.ZodString;
1926
+ name: z.ZodString;
1927
+ thumbnailUrl: z.ZodNullable<z.ZodString>;
1928
+ status: z.ZodString;
1929
+ salePrice: z.ZodNumber;
1930
+ position: z.ZodNumber;
1931
+ addedAt: z.ZodString;
1932
+ }, z.core.$strip>>;
1933
+ }, z.core.$strip>;
1934
+ export type CollectionPreview = z.infer<typeof collectionPreviewSchema>;
1740
1935
  //#endregion
1741
1936
  //#region src/schemas/coupon.d.ts
1742
1937
  /**
@@ -2618,8 +2813,8 @@ export declare const eventTypeSchema: z.ZodEnum<{
2618
2813
  }>;
2619
2814
  export type EventType = z.infer<typeof eventTypeSchema>;
2620
2815
  export declare const webhookStatusSchema: z.ZodEnum<{
2621
- ACTIVE: "ACTIVE";
2622
2816
  SUSPENDED: "SUSPENDED";
2817
+ ACTIVE: "ACTIVE";
2623
2818
  }>;
2624
2819
  export type WebhookStatus = z.infer<typeof webhookStatusSchema>;
2625
2820
  export declare const webhookSchema: z.ZodObject<{
@@ -2643,8 +2838,8 @@ export declare const webhookSchema: z.ZodObject<{
2643
2838
  "PRODUCT.OUT_OF_STOCK": "PRODUCT.OUT_OF_STOCK";
2644
2839
  }>>;
2645
2840
  status: z.ZodEnum<{
2646
- ACTIVE: "ACTIVE";
2647
2841
  SUSPENDED: "SUSPENDED";
2842
+ ACTIVE: "ACTIVE";
2648
2843
  }>;
2649
2844
  secretPrefix: z.ZodString;
2650
2845
  suspendedAt: z.ZodNullable<z.ZodString>;
@@ -2673,8 +2868,8 @@ export declare const webhookCreatedSchema: z.ZodObject<{
2673
2868
  "PRODUCT.OUT_OF_STOCK": "PRODUCT.OUT_OF_STOCK";
2674
2869
  }>>;
2675
2870
  status: z.ZodEnum<{
2676
- ACTIVE: "ACTIVE";
2677
2871
  SUSPENDED: "SUSPENDED";
2872
+ ACTIVE: "ACTIVE";
2678
2873
  }>;
2679
2874
  secretPrefix: z.ZodString;
2680
2875
  suspendedAt: z.ZodNullable<z.ZodString>;
@@ -2689,10 +2884,10 @@ export declare const webhookSecretRotatedSchema: z.ZodObject<{
2689
2884
  }, z.core.$strip>;
2690
2885
  export type WebhookSecretRotated = z.infer<typeof webhookSecretRotatedSchema>;
2691
2886
  export declare const webhookDeliveryStatusSchema: z.ZodEnum<{
2692
- FAILED: "FAILED";
2693
2887
  PENDING: "PENDING";
2694
2888
  PENDING_RETRY: "PENDING_RETRY";
2695
2889
  SUCCESS: "SUCCESS";
2890
+ FAILED: "FAILED";
2696
2891
  }>;
2697
2892
  export type WebhookDeliveryStatus = z.infer<typeof webhookDeliveryStatusSchema>;
2698
2893
  export declare const webhookDeliveryErrorCodeSchema: z.ZodEnum<{
@@ -2754,10 +2949,10 @@ export declare const webhookDeliverySchema: z.ZodObject<{
2754
2949
  }>;
2755
2950
  url: z.ZodString;
2756
2951
  status: z.ZodEnum<{
2757
- FAILED: "FAILED";
2758
2952
  PENDING: "PENDING";
2759
2953
  PENDING_RETRY: "PENDING_RETRY";
2760
2954
  SUCCESS: "SUCCESS";
2955
+ FAILED: "FAILED";
2761
2956
  }>;
2762
2957
  responseStatusCode: z.ZodNullable<z.ZodNumber>;
2763
2958
  responseTimeMs: z.ZodNullable<z.ZodNumber>;
@@ -2807,10 +3002,10 @@ export declare const webhookDeliveryDetailSchema: z.ZodObject<{
2807
3002
  }>;
2808
3003
  url: z.ZodString;
2809
3004
  status: z.ZodEnum<{
2810
- FAILED: "FAILED";
2811
3005
  PENDING: "PENDING";
2812
3006
  PENDING_RETRY: "PENDING_RETRY";
2813
3007
  SUCCESS: "SUCCESS";
3008
+ FAILED: "FAILED";
2814
3009
  }>;
2815
3010
  responseStatusCode: z.ZodNullable<z.ZodNumber>;
2816
3011
  responseTimeMs: z.ZodNullable<z.ZodNumber>;
@@ -2845,10 +3040,10 @@ export type WebhookDeliveryDetail = z.infer<typeof webhookDeliveryDetailSchema>;
2845
3040
  /** 전송 기록 조회 쿼리 — `GET /webhooks/{id}/deliveries` */
2846
3041
  export declare const webhookDeliveryListQuerySchema: z.ZodObject<{
2847
3042
  status: z.ZodOptional<z.ZodEnum<{
2848
- FAILED: "FAILED";
2849
3043
  PENDING: "PENDING";
2850
3044
  PENDING_RETRY: "PENDING_RETRY";
2851
3045
  SUCCESS: "SUCCESS";
3046
+ FAILED: "FAILED";
2852
3047
  }>>;
2853
3048
  eventType: z.ZodOptional<z.ZodEnum<{
2854
3049
  "ORDER.PAID": "ORDER.PAID";
@@ -3885,8 +4080,8 @@ export declare const pgEnvironmentSchema: z.ZodEnum<{
3885
4080
  }>;
3886
4081
  export type PgEnvironment = z.infer<typeof pgEnvironmentSchema>;
3887
4082
  export declare const pgVerificationResultSchema: z.ZodEnum<{
3888
- FAILED: "FAILED";
3889
4083
  SUCCESS: "SUCCESS";
4084
+ FAILED: "FAILED";
3890
4085
  }>;
3891
4086
  export type PgVerificationResult = z.infer<typeof pgVerificationResultSchema>;
3892
4087
  /**
@@ -4035,8 +4230,8 @@ export declare const paymentCredentialSetSchema: z.ZodObject<{
4035
4230
  }, z.core.$strip>>;
4036
4231
  lastVerification: z.ZodNullable<z.ZodObject<{
4037
4232
  result: z.ZodEnum<{
4038
- FAILED: "FAILED";
4039
4233
  SUCCESS: "SUCCESS";
4234
+ FAILED: "FAILED";
4040
4235
  }>;
4041
4236
  message: z.ZodNullable<z.ZodString>;
4042
4237
  checkedAt: z.ZodString;
@@ -4137,8 +4332,8 @@ export declare const paymentProviderSchema: z.ZodObject<{
4137
4332
  }, z.core.$strip>>;
4138
4333
  lastVerification: z.ZodNullable<z.ZodObject<{
4139
4334
  result: z.ZodEnum<{
4140
- FAILED: "FAILED";
4141
4335
  SUCCESS: "SUCCESS";
4336
+ FAILED: "FAILED";
4142
4337
  }>;
4143
4338
  message: z.ZodNullable<z.ZodString>;
4144
4339
  checkedAt: z.ZodString;
@@ -4174,8 +4369,8 @@ export declare const paymentProviderSchema: z.ZodObject<{
4174
4369
  }, z.core.$strip>>;
4175
4370
  lastVerification: z.ZodNullable<z.ZodObject<{
4176
4371
  result: z.ZodEnum<{
4177
- FAILED: "FAILED";
4178
4372
  SUCCESS: "SUCCESS";
4373
+ FAILED: "FAILED";
4179
4374
  }>;
4180
4375
  message: z.ZodNullable<z.ZodString>;
4181
4376
  checkedAt: z.ZodString;
@@ -4210,8 +4405,8 @@ export declare const paymentProviderSchema: z.ZodObject<{
4210
4405
  }, z.core.$strip>>;
4211
4406
  lastVerification: z.ZodNullable<z.ZodObject<{
4212
4407
  result: z.ZodEnum<{
4213
- FAILED: "FAILED";
4214
4408
  SUCCESS: "SUCCESS";
4409
+ FAILED: "FAILED";
4215
4410
  }>;
4216
4411
  message: z.ZodNullable<z.ZodString>;
4217
4412
  checkedAt: z.ZodString;
@@ -4301,8 +4496,8 @@ export declare const paymentSettingsSchema: z.ZodObject<{
4301
4496
  }, z.core.$strip>>;
4302
4497
  lastVerification: z.ZodNullable<z.ZodObject<{
4303
4498
  result: z.ZodEnum<{
4304
- FAILED: "FAILED";
4305
4499
  SUCCESS: "SUCCESS";
4500
+ FAILED: "FAILED";
4306
4501
  }>;
4307
4502
  message: z.ZodNullable<z.ZodString>;
4308
4503
  checkedAt: z.ZodString;
@@ -4338,8 +4533,8 @@ export declare const paymentSettingsSchema: z.ZodObject<{
4338
4533
  }, z.core.$strip>>;
4339
4534
  lastVerification: z.ZodNullable<z.ZodObject<{
4340
4535
  result: z.ZodEnum<{
4341
- FAILED: "FAILED";
4342
4536
  SUCCESS: "SUCCESS";
4537
+ FAILED: "FAILED";
4343
4538
  }>;
4344
4539
  message: z.ZodNullable<z.ZodString>;
4345
4540
  checkedAt: z.ZodString;
@@ -4374,8 +4569,8 @@ export declare const paymentSettingsSchema: z.ZodObject<{
4374
4569
  }, z.core.$strip>>;
4375
4570
  lastVerification: z.ZodNullable<z.ZodObject<{
4376
4571
  result: z.ZodEnum<{
4377
- FAILED: "FAILED";
4378
4572
  SUCCESS: "SUCCESS";
4573
+ FAILED: "FAILED";
4379
4574
  }>;
4380
4575
  message: z.ZodNullable<z.ZodString>;
4381
4576
  checkedAt: z.ZodString;
@@ -4431,8 +4626,8 @@ export declare const paymentProviderVerificationSchema: z.ZodObject<{
4431
4626
  LIVE: "LIVE";
4432
4627
  }>;
4433
4628
  result: z.ZodEnum<{
4434
- FAILED: "FAILED";
4435
4629
  SUCCESS: "SUCCESS";
4630
+ FAILED: "FAILED";
4436
4631
  }>;
4437
4632
  message: z.ZodNullable<z.ZodString>;
4438
4633
  checkedAt: z.ZodString;
@@ -4562,8 +4757,8 @@ export type SalesReport = z.infer<typeof salesReportSchema>;
4562
4757
  * - `FAILED`: 승인되지 않고 끝났다(거절·준비 장애·구매자 취소·만료)
4563
4758
  */
4564
4759
  export declare const paymentRecordStatusSchema: z.ZodEnum<{
4565
- FAILED: "FAILED";
4566
4760
  PENDING: "PENDING";
4761
+ FAILED: "FAILED";
4567
4762
  APPROVED: "APPROVED";
4568
4763
  PARTIALLY_REFUNDED: "PARTIALLY_REFUNDED";
4569
4764
  REFUNDED: "REFUNDED";
@@ -4610,8 +4805,8 @@ export declare const paymentRecordSchema: z.ZodObject<{
4610
4805
  orderName: z.ZodString;
4611
4806
  customerName: z.ZodString;
4612
4807
  status: z.ZodEnum<{
4613
- FAILED: "FAILED";
4614
4808
  PENDING: "PENDING";
4809
+ FAILED: "FAILED";
4615
4810
  APPROVED: "APPROVED";
4616
4811
  PARTIALLY_REFUNDED: "PARTIALLY_REFUNDED";
4617
4812
  REFUNDED: "REFUNDED";
@@ -4656,8 +4851,8 @@ export declare const paymentRecordPageSchema: z.ZodObject<{
4656
4851
  orderName: z.ZodString;
4657
4852
  customerName: z.ZodString;
4658
4853
  status: z.ZodEnum<{
4659
- FAILED: "FAILED";
4660
4854
  PENDING: "PENDING";
4855
+ FAILED: "FAILED";
4661
4856
  APPROVED: "APPROVED";
4662
4857
  PARTIALLY_REFUNDED: "PARTIALLY_REFUNDED";
4663
4858
  REFUNDED: "REFUNDED";
@@ -4745,8 +4940,8 @@ export declare const paymentRecordDetailSchema: z.ZodObject<{
4745
4940
  orderName: z.ZodString;
4746
4941
  customerName: z.ZodString;
4747
4942
  status: z.ZodEnum<{
4748
- FAILED: "FAILED";
4749
4943
  PENDING: "PENDING";
4944
+ FAILED: "FAILED";
4750
4945
  APPROVED: "APPROVED";
4751
4946
  PARTIALLY_REFUNDED: "PARTIALLY_REFUNDED";
4752
4947
  REFUNDED: "REFUNDED";
@@ -5112,20 +5307,20 @@ export type PointAdjustmentResult = z.infer<typeof pointAdjustmentResultSchema>;
5112
5307
  //#endregion
5113
5308
  //#region src/schemas/product.d.ts
5114
5309
  export declare const productStatusSchema: z.ZodEnum<{
5115
- SUSPENDED: "SUSPENDED";
5116
- CLOSED: "CLOSED";
5117
5310
  SALE: "SALE";
5311
+ SUSPENDED: "SUSPENDED";
5118
5312
  OUT_OF_STOCK: "OUT_OF_STOCK";
5313
+ CLOSED: "CLOSED";
5119
5314
  }>;
5120
5315
  export type ProductStatus = z.infer<typeof productStatusSchema>;
5121
5316
  export declare const productSummarySchema: z.ZodObject<{
5122
5317
  productId: z.ZodString;
5123
5318
  name: z.ZodString;
5124
5319
  status: z.ZodEnum<{
5125
- SUSPENDED: "SUSPENDED";
5126
- CLOSED: "CLOSED";
5127
5320
  SALE: "SALE";
5321
+ SUSPENDED: "SUSPENDED";
5128
5322
  OUT_OF_STOCK: "OUT_OF_STOCK";
5323
+ CLOSED: "CLOSED";
5129
5324
  }>;
5130
5325
  salePrice: z.ZodNumber;
5131
5326
  discountedPrice: z.ZodNullable<z.ZodNumber>;
@@ -5309,10 +5504,10 @@ export declare const productSchema: z.ZodObject<{
5309
5504
  productId: z.ZodString;
5310
5505
  name: z.ZodString;
5311
5506
  status: z.ZodEnum<{
5312
- SUSPENDED: "SUSPENDED";
5313
- CLOSED: "CLOSED";
5314
5507
  SALE: "SALE";
5508
+ SUSPENDED: "SUSPENDED";
5315
5509
  OUT_OF_STOCK: "OUT_OF_STOCK";
5510
+ CLOSED: "CLOSED";
5316
5511
  }>;
5317
5512
  salePrice: z.ZodNumber;
5318
5513
  discountedPrice: z.ZodNullable<z.ZodNumber>;
@@ -5780,10 +5975,10 @@ export declare const productPatchRequestSchema: z.ZodObject<{
5780
5975
  name: z.ZodOptional<z.ZodString>;
5781
5976
  salePrice: z.ZodOptional<z.ZodNumber>;
5782
5977
  status: z.ZodOptional<z.ZodEnum<{
5783
- SUSPENDED: "SUSPENDED";
5784
- CLOSED: "CLOSED";
5785
5978
  SALE: "SALE";
5979
+ SUSPENDED: "SUSPENDED";
5786
5980
  OUT_OF_STOCK: "OUT_OF_STOCK";
5981
+ CLOSED: "CLOSED";
5787
5982
  }>>;
5788
5983
  images: z.ZodOptional<z.ZodArray<z.ZodURL>>;
5789
5984
  fulfillment: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
@@ -5832,10 +6027,10 @@ export declare const productListQuerySchema: z.ZodObject<{
5832
6027
  page: z.ZodOptional<z.ZodString>;
5833
6028
  size: z.ZodOptional<z.ZodString>;
5834
6029
  status: z.ZodOptional<z.ZodEnum<{
5835
- SUSPENDED: "SUSPENDED";
5836
- CLOSED: "CLOSED";
5837
6030
  SALE: "SALE";
6031
+ SUSPENDED: "SUSPENDED";
5838
6032
  OUT_OF_STOCK: "OUT_OF_STOCK";
6033
+ CLOSED: "CLOSED";
5839
6034
  }>>;
5840
6035
  categoryId: z.ZodOptional<z.ZodString>;
5841
6036
  keyword: z.ZodOptional<z.ZodString>;
@@ -6212,9 +6407,9 @@ export declare const storeSchema: z.ZodObject<{
6212
6407
  storeCode: z.ZodString;
6213
6408
  storefrontUrl: z.ZodURL;
6214
6409
  status: z.ZodEnum<{
6215
- ACTIVE: "ACTIVE";
6216
6410
  SUSPENDED: "SUSPENDED";
6217
6411
  CLOSED: "CLOSED";
6412
+ ACTIVE: "ACTIVE";
6218
6413
  }>;
6219
6414
  logoUrl: z.ZodNullable<z.ZodURL>;
6220
6415
  businessNumber: z.ZodNullable<z.ZodString>;
@@ -6226,9 +6421,9 @@ export declare const storeMemberSchema: z.ZodObject<{
6226
6421
  name: z.ZodString;
6227
6422
  email: z.ZodEmail;
6228
6423
  role: z.ZodEnum<{
6229
- OWNER: "OWNER";
6230
6424
  ADMIN: "ADMIN";
6231
6425
  STAFF: "STAFF";
6426
+ OWNER: "OWNER";
6232
6427
  }>;
6233
6428
  joinedAt: z.ZodString;
6234
6429
  lastActiveAt: z.ZodNullable<z.ZodString>;
@@ -6492,9 +6687,9 @@ export declare const storefrontVersionSchema: z.ZodObject<{
6492
6687
  }, z.core.$strip>;
6493
6688
  export type StorefrontVersion = z.infer<typeof storefrontVersionSchema>;
6494
6689
  export declare const storefrontSiteStatusSchema: z.ZodEnum<{
6495
- ACTIVE: "ACTIVE";
6496
6690
  SUSPENDED: "SUSPENDED";
6497
6691
  CLOSED: "CLOSED";
6692
+ ACTIVE: "ACTIVE";
6498
6693
  }>;
6499
6694
  export type StorefrontSiteStatus = z.infer<typeof storefrontSiteStatusSchema>;
6500
6695
  export declare const storefrontVisibilitySchema: z.ZodEnum<{
@@ -6526,8 +6721,8 @@ export type StorefrontDomain = z.infer<typeof storefrontDomainSchema>;
6526
6721
  */
6527
6722
  export declare const storefrontProvisioningSchema: z.ZodObject<{
6528
6723
  status: z.ZodEnum<{
6529
- FAILED: "FAILED";
6530
6724
  PENDING: "PENDING";
6725
+ FAILED: "FAILED";
6531
6726
  SYNCED: "SYNCED";
6532
6727
  }>;
6533
6728
  lastErrorCode: z.ZodNullable<z.ZodString>;
@@ -6575,9 +6770,9 @@ export declare const storefrontSiteSchema: z.ZodObject<{
6575
6770
  MANAGED: "MANAGED";
6576
6771
  }>;
6577
6772
  status: z.ZodEnum<{
6578
- ACTIVE: "ACTIVE";
6579
6773
  SUSPENDED: "SUSPENDED";
6580
6774
  CLOSED: "CLOSED";
6775
+ ACTIVE: "ACTIVE";
6581
6776
  }>;
6582
6777
  visibility: z.ZodEnum<{
6583
6778
  COMING_SOON: "COMING_SOON";
@@ -6607,8 +6802,8 @@ export declare const storefrontSiteSchema: z.ZodObject<{
6607
6802
  }, z.core.$strip>>;
6608
6803
  provisioning: z.ZodObject<{
6609
6804
  status: z.ZodEnum<{
6610
- FAILED: "FAILED";
6611
6805
  PENDING: "PENDING";
6806
+ FAILED: "FAILED";
6612
6807
  SYNCED: "SYNCED";
6613
6808
  }>;
6614
6809
  lastErrorCode: z.ZodNullable<z.ZodString>;
@@ -6655,9 +6850,9 @@ export declare const storefrontHostingSchema: z.ZodObject<{
6655
6850
  MANAGED: "MANAGED";
6656
6851
  }>;
6657
6852
  status: z.ZodEnum<{
6658
- ACTIVE: "ACTIVE";
6659
6853
  SUSPENDED: "SUSPENDED";
6660
6854
  CLOSED: "CLOSED";
6855
+ ACTIVE: "ACTIVE";
6661
6856
  }>;
6662
6857
  visibility: z.ZodEnum<{
6663
6858
  COMING_SOON: "COMING_SOON";
@@ -6687,8 +6882,8 @@ export declare const storefrontHostingSchema: z.ZodObject<{
6687
6882
  }, z.core.$strip>>;
6688
6883
  provisioning: z.ZodObject<{
6689
6884
  status: z.ZodEnum<{
6690
- FAILED: "FAILED";
6691
6885
  PENDING: "PENDING";
6886
+ FAILED: "FAILED";
6692
6887
  SYNCED: "SYNCED";
6693
6888
  }>;
6694
6889
  lastErrorCode: z.ZodNullable<z.ZodString>;
@@ -6730,8 +6925,8 @@ export declare const storefrontDeploymentStepSchema: z.ZodObject<{
6730
6925
  PUBLISH: "PUBLISH";
6731
6926
  }>;
6732
6927
  status: z.ZodEnum<{
6733
- FAILED: "FAILED";
6734
6928
  PENDING: "PENDING";
6929
+ FAILED: "FAILED";
6735
6930
  RUNNING: "RUNNING";
6736
6931
  DONE: "DONE";
6737
6932
  }>;
@@ -6753,8 +6948,8 @@ export declare const storefrontDeploymentSchema: z.ZodObject<{
6753
6948
  siteId: z.ZodString;
6754
6949
  status: z.ZodEnum<{
6755
6950
  IN_PROGRESS: "IN_PROGRESS";
6756
- SUCCEEDED: "SUCCEEDED";
6757
6951
  FAILED: "FAILED";
6952
+ SUCCEEDED: "SUCCEEDED";
6758
6953
  }>;
6759
6954
  url: z.ZodString;
6760
6955
  startedAt: z.ZodString;
@@ -6766,8 +6961,8 @@ export declare const storefrontDeploymentSchema: z.ZodObject<{
6766
6961
  PUBLISH: "PUBLISH";
6767
6962
  }>;
6768
6963
  status: z.ZodEnum<{
6769
- FAILED: "FAILED";
6770
6964
  PENDING: "PENDING";
6965
+ FAILED: "FAILED";
6771
6966
  RUNNING: "RUNNING";
6772
6967
  DONE: "DONE";
6773
6968
  }>;
@@ -6934,8 +7129,8 @@ export declare const storefrontSiteDomainSchema: z.ZodObject<{
6934
7129
  }, z.core.$strip>>;
6935
7130
  certificateStatus: z.ZodNullable<z.ZodEnum<{
6936
7131
  ACTIVE: "ACTIVE";
6937
- FAILED: "FAILED";
6938
7132
  PENDING: "PENDING";
7133
+ FAILED: "FAILED";
6939
7134
  }>>;
6940
7135
  failureCode: z.ZodNullable<z.ZodString>;
6941
7136
  verifiedAt: z.ZodNullable<z.ZodString>;
@@ -6977,8 +7172,8 @@ export declare const storefrontSiteDomainsSchema: z.ZodObject<{
6977
7172
  }, z.core.$strip>>;
6978
7173
  certificateStatus: z.ZodNullable<z.ZodEnum<{
6979
7174
  ACTIVE: "ACTIVE";
6980
- FAILED: "FAILED";
6981
7175
  PENDING: "PENDING";
7176
+ FAILED: "FAILED";
6982
7177
  }>>;
6983
7178
  failureCode: z.ZodNullable<z.ZodString>;
6984
7179
  verifiedAt: z.ZodNullable<z.ZodString>;
@@ -7311,8 +7506,8 @@ export declare const storefrontVerifyReportSchema: z.ZodObject<{
7311
7506
  }, z.core.$strip>;
7312
7507
  export type StorefrontVerifyReport = z.infer<typeof storefrontVerifyReportSchema>;
7313
7508
  export declare const storefrontBuildStatusSchema: z.ZodEnum<{
7314
- SUCCEEDED: "SUCCEEDED";
7315
7509
  FAILED: "FAILED";
7510
+ SUCCEEDED: "SUCCEEDED";
7316
7511
  RUNNING: "RUNNING";
7317
7512
  QUEUED: "QUEUED";
7318
7513
  TIMED_OUT: "TIMED_OUT";
@@ -7379,8 +7574,8 @@ export declare const storefrontBuildSchema: z.ZodObject<{
7379
7574
  versionId: z.ZodString;
7380
7575
  versionNumber: z.ZodNumber;
7381
7576
  status: z.ZodEnum<{
7382
- SUCCEEDED: "SUCCEEDED";
7383
7577
  FAILED: "FAILED";
7578
+ SUCCEEDED: "SUCCEEDED";
7384
7579
  RUNNING: "RUNNING";
7385
7580
  QUEUED: "QUEUED";
7386
7581
  TIMED_OUT: "TIMED_OUT";
@@ -7508,8 +7703,8 @@ export declare const storefrontVersionCreatedSchema: z.ZodObject<{
7508
7703
  versionId: z.ZodString;
7509
7704
  versionNumber: z.ZodNumber;
7510
7705
  status: z.ZodEnum<{
7511
- SUCCEEDED: "SUCCEEDED";
7512
7706
  FAILED: "FAILED";
7707
+ SUCCEEDED: "SUCCEEDED";
7513
7708
  RUNNING: "RUNNING";
7514
7709
  QUEUED: "QUEUED";
7515
7710
  TIMED_OUT: "TIMED_OUT";
@@ -7761,9 +7956,9 @@ export type UploadTicket = z.infer<typeof uploadTicketSchema>;
7761
7956
  //#endregion
7762
7957
  //#region src/schemas/auth.d.ts
7763
7958
  export declare const storeRoleSchema: z.ZodEnum<{
7764
- OWNER: "OWNER";
7765
7959
  ADMIN: "ADMIN";
7766
7960
  STAFF: "STAFF";
7961
+ OWNER: "OWNER";
7767
7962
  }>;
7768
7963
  export type StoreRole = z.infer<typeof storeRoleSchema>;
7769
7964
  export declare const myStoreSchema: z.ZodObject<{
@@ -7771,14 +7966,14 @@ export declare const myStoreSchema: z.ZodObject<{
7771
7966
  storeName: z.ZodString;
7772
7967
  storeCode: z.ZodString;
7773
7968
  role: z.ZodEnum<{
7774
- OWNER: "OWNER";
7775
7969
  ADMIN: "ADMIN";
7776
7970
  STAFF: "STAFF";
7971
+ OWNER: "OWNER";
7777
7972
  }>;
7778
7973
  status: z.ZodEnum<{
7779
- ACTIVE: "ACTIVE";
7780
7974
  SUSPENDED: "SUSPENDED";
7781
7975
  CLOSED: "CLOSED";
7976
+ ACTIVE: "ACTIVE";
7782
7977
  }>;
7783
7978
  }, z.core.$strip>;
7784
7979
  export type MyStore = z.infer<typeof myStoreSchema>;
@@ -7933,8 +8128,8 @@ export declare function createStoreClient(options: StoreClientOptions): {
7933
8128
  storeId: string;
7934
8129
  storeName: string;
7935
8130
  storeCode: string;
7936
- role: "OWNER" | "ADMIN" | "STAFF";
7937
- status: "ACTIVE" | "SUSPENDED" | "CLOSED";
8131
+ role: "ADMIN" | "STAFF" | "OWNER";
8132
+ status: "SUSPENDED" | "CLOSED" | "ACTIVE";
7938
8133
  }[]>;
7939
8134
  me: () => Promise<{
7940
8135
  userId: string;
@@ -7973,7 +8168,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
7973
8168
  contents: {
7974
8169
  productId: string;
7975
8170
  name: string;
7976
- status: "SUSPENDED" | "CLOSED" | "SALE" | "OUT_OF_STOCK";
8171
+ status: "SALE" | "SUSPENDED" | "OUT_OF_STOCK" | "CLOSED";
7977
8172
  salePrice: number;
7978
8173
  discountedPrice: number | null;
7979
8174
  stockQuantity: number;
@@ -7990,7 +8185,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
7990
8185
  get: (productId: string) => Promise<{
7991
8186
  productId: string;
7992
8187
  name: string;
7993
- status: "SUSPENDED" | "CLOSED" | "SALE" | "OUT_OF_STOCK";
8188
+ status: "SALE" | "SUSPENDED" | "OUT_OF_STOCK" | "CLOSED";
7994
8189
  salePrice: number;
7995
8190
  discountedPrice: number | null;
7996
8191
  stockQuantity: number;
@@ -8088,7 +8283,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
8088
8283
  create: (body: ProductCreateRequestInput, idempotencyKey?: string) => Promise<{
8089
8284
  productId: string;
8090
8285
  name: string;
8091
- status: "SUSPENDED" | "CLOSED" | "SALE" | "OUT_OF_STOCK";
8286
+ status: "SALE" | "SUSPENDED" | "OUT_OF_STOCK" | "CLOSED";
8092
8287
  salePrice: number;
8093
8288
  discountedPrice: number | null;
8094
8289
  stockQuantity: number;
@@ -8186,7 +8381,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
8186
8381
  update: (productId: string, body: ProductReplaceRequestInput) => Promise<{
8187
8382
  productId: string;
8188
8383
  name: string;
8189
- status: "SUSPENDED" | "CLOSED" | "SALE" | "OUT_OF_STOCK";
8384
+ status: "SALE" | "SUSPENDED" | "OUT_OF_STOCK" | "CLOSED";
8190
8385
  salePrice: number;
8191
8386
  discountedPrice: number | null;
8192
8387
  stockQuantity: number;
@@ -8571,6 +8766,23 @@ export declare function createStoreClient(options: StoreClientOptions): {
8571
8766
  description: string;
8572
8767
  imageUrl: string | null;
8573
8768
  productSort: string;
8769
+ rules: ({
8770
+ field: "createdWithinDays";
8771
+ value: number;
8772
+ } | {
8773
+ field: "category";
8774
+ categoryIds: string[];
8775
+ } | {
8776
+ field: "price";
8777
+ min?: number | undefined;
8778
+ max?: number | undefined;
8779
+ } | {
8780
+ field: "discounted";
8781
+ value: true;
8782
+ } | {
8783
+ [x: string]: unknown;
8784
+ field: string;
8785
+ })[] | null;
8574
8786
  visible: boolean;
8575
8787
  startsAt: string | null;
8576
8788
  endsAt: string | null;
@@ -8599,6 +8811,23 @@ export declare function createStoreClient(options: StoreClientOptions): {
8599
8811
  description: string;
8600
8812
  imageUrl: string | null;
8601
8813
  productSort: string;
8814
+ rules: ({
8815
+ field: "createdWithinDays";
8816
+ value: number;
8817
+ } | {
8818
+ field: "category";
8819
+ categoryIds: string[];
8820
+ } | {
8821
+ field: "price";
8822
+ min?: number | undefined;
8823
+ max?: number | undefined;
8824
+ } | {
8825
+ field: "discounted";
8826
+ value: true;
8827
+ } | {
8828
+ [x: string]: unknown;
8829
+ field: string;
8830
+ })[] | null;
8602
8831
  visible: boolean;
8603
8832
  startsAt: string | null;
8604
8833
  endsAt: string | null;
@@ -8620,6 +8849,23 @@ export declare function createStoreClient(options: StoreClientOptions): {
8620
8849
  description: string;
8621
8850
  imageUrl: string | null;
8622
8851
  productSort: string;
8852
+ rules: ({
8853
+ field: "createdWithinDays";
8854
+ value: number;
8855
+ } | {
8856
+ field: "category";
8857
+ categoryIds: string[];
8858
+ } | {
8859
+ field: "price";
8860
+ min?: number | undefined;
8861
+ max?: number | undefined;
8862
+ } | {
8863
+ field: "discounted";
8864
+ value: true;
8865
+ } | {
8866
+ [x: string]: unknown;
8867
+ field: string;
8868
+ })[] | null;
8623
8869
  visible: boolean;
8624
8870
  startsAt: string | null;
8625
8871
  endsAt: string | null;
@@ -8640,6 +8886,23 @@ export declare function createStoreClient(options: StoreClientOptions): {
8640
8886
  description: string;
8641
8887
  imageUrl: string | null;
8642
8888
  productSort: string;
8889
+ rules: ({
8890
+ field: "createdWithinDays";
8891
+ value: number;
8892
+ } | {
8893
+ field: "category";
8894
+ categoryIds: string[];
8895
+ } | {
8896
+ field: "price";
8897
+ min?: number | undefined;
8898
+ max?: number | undefined;
8899
+ } | {
8900
+ field: "discounted";
8901
+ value: true;
8902
+ } | {
8903
+ [x: string]: unknown;
8904
+ field: string;
8905
+ })[] | null;
8643
8906
  visible: boolean;
8644
8907
  startsAt: string | null;
8645
8908
  endsAt: string | null;
@@ -8653,7 +8916,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
8653
8916
  updatedAt: string;
8654
8917
  }>;
8655
8918
  remove: (collectionId: string) => Promise<void>;
8656
- /** 담긴 상품 — 직접 정한 순서 */
8919
+ /** 담긴 상품 — 직접 선택은 정한 순서, 조건 자동은 지금 조건을 만족하는 판매 중 상품(기본 정렬 순) */
8657
8920
  listProducts: (collectionId: string, params?: {
8658
8921
  page?: number;
8659
8922
  size?: number;
@@ -8681,6 +8944,23 @@ export declare function createStoreClient(options: StoreClientOptions): {
8681
8944
  description: string;
8682
8945
  imageUrl: string | null;
8683
8946
  productSort: string;
8947
+ rules: ({
8948
+ field: "createdWithinDays";
8949
+ value: number;
8950
+ } | {
8951
+ field: "category";
8952
+ categoryIds: string[];
8953
+ } | {
8954
+ field: "price";
8955
+ min?: number | undefined;
8956
+ max?: number | undefined;
8957
+ } | {
8958
+ field: "discounted";
8959
+ value: true;
8960
+ } | {
8961
+ [x: string]: unknown;
8962
+ field: string;
8963
+ })[] | null;
8684
8964
  visible: boolean;
8685
8965
  startsAt: string | null;
8686
8966
  endsAt: string | null;
@@ -8702,6 +8982,23 @@ export declare function createStoreClient(options: StoreClientOptions): {
8702
8982
  description: string;
8703
8983
  imageUrl: string | null;
8704
8984
  productSort: string;
8985
+ rules: ({
8986
+ field: "createdWithinDays";
8987
+ value: number;
8988
+ } | {
8989
+ field: "category";
8990
+ categoryIds: string[];
8991
+ } | {
8992
+ field: "price";
8993
+ min?: number | undefined;
8994
+ max?: number | undefined;
8995
+ } | {
8996
+ field: "discounted";
8997
+ value: true;
8998
+ } | {
8999
+ [x: string]: unknown;
9000
+ field: string;
9001
+ })[] | null;
8705
9002
  visible: boolean;
8706
9003
  startsAt: string | null;
8707
9004
  endsAt: string | null;
@@ -8715,6 +9012,19 @@ export declare function createStoreClient(options: StoreClientOptions): {
8715
9012
  updatedAt: string;
8716
9013
  }>;
8717
9014
  removeProduct: (collectionId: string, productId: string) => Promise<void>;
9015
+ /** 조건 자동 미리보기 — 저장하지 않고 조건을 만족하는 판매 중 상품 수와 앞 20개를 본다 */
9016
+ preview: (body: CollectionPreviewRequest) => Promise<{
9017
+ count: number;
9018
+ products: {
9019
+ productId: string;
9020
+ name: string;
9021
+ thumbnailUrl: string | null;
9022
+ status: string;
9023
+ salePrice: number;
9024
+ position: number;
9025
+ addedAt: string;
9026
+ }[];
9027
+ }>;
8718
9028
  };
8719
9029
  categories: {
8720
9030
  list: (params?: {
@@ -10531,7 +10841,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
10531
10841
  orderId: string | null;
10532
10842
  orderName: string;
10533
10843
  customerName: string;
10534
- status: "FAILED" | "PENDING" | "APPROVED" | "PARTIALLY_REFUNDED" | "REFUNDED";
10844
+ status: "PENDING" | "FAILED" | "APPROVED" | "PARTIALLY_REFUNDED" | "REFUNDED";
10535
10845
  amount: number;
10536
10846
  refundedAmount: number;
10537
10847
  provider: "tosspayments" | "portone" | null;
@@ -10555,7 +10865,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
10555
10865
  orderId: string | null;
10556
10866
  orderName: string;
10557
10867
  customerName: string;
10558
- status: "FAILED" | "PENDING" | "APPROVED" | "PARTIALLY_REFUNDED" | "REFUNDED";
10868
+ status: "PENDING" | "FAILED" | "APPROVED" | "PARTIALLY_REFUNDED" | "REFUNDED";
10559
10869
  amount: number;
10560
10870
  refundedAmount: number;
10561
10871
  provider: "tosspayments" | "portone" | null;
@@ -10654,7 +10964,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
10654
10964
  masked: string | null;
10655
10965
  }[];
10656
10966
  lastVerification: {
10657
- result: "FAILED" | "SUCCESS";
10967
+ result: "SUCCESS" | "FAILED";
10658
10968
  message: string | null;
10659
10969
  checkedAt: string;
10660
10970
  } | null;
@@ -10679,7 +10989,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
10679
10989
  masked: string | null;
10680
10990
  }[];
10681
10991
  lastVerification: {
10682
- result: "FAILED" | "SUCCESS";
10992
+ result: "SUCCESS" | "FAILED";
10683
10993
  message: string | null;
10684
10994
  checkedAt: string;
10685
10995
  } | null;
@@ -10703,7 +11013,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
10703
11013
  masked: string | null;
10704
11014
  }[];
10705
11015
  lastVerification: {
10706
- result: "FAILED" | "SUCCESS";
11016
+ result: "SUCCESS" | "FAILED";
10707
11017
  message: string | null;
10708
11018
  checkedAt: string;
10709
11019
  } | null;
@@ -10764,7 +11074,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
10764
11074
  masked: string | null;
10765
11075
  }[];
10766
11076
  lastVerification: {
10767
- result: "FAILED" | "SUCCESS";
11077
+ result: "SUCCESS" | "FAILED";
10768
11078
  message: string | null;
10769
11079
  checkedAt: string;
10770
11080
  } | null;
@@ -10789,7 +11099,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
10789
11099
  masked: string | null;
10790
11100
  }[];
10791
11101
  lastVerification: {
10792
- result: "FAILED" | "SUCCESS";
11102
+ result: "SUCCESS" | "FAILED";
10793
11103
  message: string | null;
10794
11104
  checkedAt: string;
10795
11105
  } | null;
@@ -10813,7 +11123,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
10813
11123
  masked: string | null;
10814
11124
  }[];
10815
11125
  lastVerification: {
10816
- result: "FAILED" | "SUCCESS";
11126
+ result: "SUCCESS" | "FAILED";
10817
11127
  message: string | null;
10818
11128
  checkedAt: string;
10819
11129
  } | null;
@@ -10879,7 +11189,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
10879
11189
  masked: string | null;
10880
11190
  }[];
10881
11191
  lastVerification: {
10882
- result: "FAILED" | "SUCCESS";
11192
+ result: "SUCCESS" | "FAILED";
10883
11193
  message: string | null;
10884
11194
  checkedAt: string;
10885
11195
  } | null;
@@ -10904,7 +11214,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
10904
11214
  masked: string | null;
10905
11215
  }[];
10906
11216
  lastVerification: {
10907
- result: "FAILED" | "SUCCESS";
11217
+ result: "SUCCESS" | "FAILED";
10908
11218
  message: string | null;
10909
11219
  checkedAt: string;
10910
11220
  } | null;
@@ -10928,7 +11238,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
10928
11238
  masked: string | null;
10929
11239
  }[];
10930
11240
  lastVerification: {
10931
- result: "FAILED" | "SUCCESS";
11241
+ result: "SUCCESS" | "FAILED";
10932
11242
  message: string | null;
10933
11243
  checkedAt: string;
10934
11244
  } | null;
@@ -10975,7 +11285,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
10975
11285
  masked: string | null;
10976
11286
  }[];
10977
11287
  lastVerification: {
10978
- result: "FAILED" | "SUCCESS";
11288
+ result: "SUCCESS" | "FAILED";
10979
11289
  message: string | null;
10980
11290
  checkedAt: string;
10981
11291
  } | null;
@@ -11000,7 +11310,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
11000
11310
  masked: string | null;
11001
11311
  }[];
11002
11312
  lastVerification: {
11003
- result: "FAILED" | "SUCCESS";
11313
+ result: "SUCCESS" | "FAILED";
11004
11314
  message: string | null;
11005
11315
  checkedAt: string;
11006
11316
  } | null;
@@ -11024,7 +11334,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
11024
11334
  masked: string | null;
11025
11335
  }[];
11026
11336
  lastVerification: {
11027
- result: "FAILED" | "SUCCESS";
11337
+ result: "SUCCESS" | "FAILED";
11028
11338
  message: string | null;
11029
11339
  checkedAt: string;
11030
11340
  } | null;
@@ -11081,7 +11391,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
11081
11391
  masked: string | null;
11082
11392
  }[];
11083
11393
  lastVerification: {
11084
- result: "FAILED" | "SUCCESS";
11394
+ result: "SUCCESS" | "FAILED";
11085
11395
  message: string | null;
11086
11396
  checkedAt: string;
11087
11397
  } | null;
@@ -11106,7 +11416,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
11106
11416
  masked: string | null;
11107
11417
  }[];
11108
11418
  lastVerification: {
11109
- result: "FAILED" | "SUCCESS";
11419
+ result: "SUCCESS" | "FAILED";
11110
11420
  message: string | null;
11111
11421
  checkedAt: string;
11112
11422
  } | null;
@@ -11130,7 +11440,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
11130
11440
  masked: string | null;
11131
11441
  }[];
11132
11442
  lastVerification: {
11133
- result: "FAILED" | "SUCCESS";
11443
+ result: "SUCCESS" | "FAILED";
11134
11444
  message: string | null;
11135
11445
  checkedAt: string;
11136
11446
  } | null;
@@ -11177,7 +11487,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
11177
11487
  masked: string | null;
11178
11488
  }[];
11179
11489
  lastVerification: {
11180
- result: "FAILED" | "SUCCESS";
11490
+ result: "SUCCESS" | "FAILED";
11181
11491
  message: string | null;
11182
11492
  checkedAt: string;
11183
11493
  } | null;
@@ -11202,7 +11512,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
11202
11512
  masked: string | null;
11203
11513
  }[];
11204
11514
  lastVerification: {
11205
- result: "FAILED" | "SUCCESS";
11515
+ result: "SUCCESS" | "FAILED";
11206
11516
  message: string | null;
11207
11517
  checkedAt: string;
11208
11518
  } | null;
@@ -11226,7 +11536,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
11226
11536
  masked: string | null;
11227
11537
  }[];
11228
11538
  lastVerification: {
11229
- result: "FAILED" | "SUCCESS";
11539
+ result: "SUCCESS" | "FAILED";
11230
11540
  message: string | null;
11231
11541
  checkedAt: string;
11232
11542
  } | null;
@@ -11282,7 +11592,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
11282
11592
  masked: string | null;
11283
11593
  }[];
11284
11594
  lastVerification: {
11285
- result: "FAILED" | "SUCCESS";
11595
+ result: "SUCCESS" | "FAILED";
11286
11596
  message: string | null;
11287
11597
  checkedAt: string;
11288
11598
  } | null;
@@ -11307,7 +11617,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
11307
11617
  masked: string | null;
11308
11618
  }[];
11309
11619
  lastVerification: {
11310
- result: "FAILED" | "SUCCESS";
11620
+ result: "SUCCESS" | "FAILED";
11311
11621
  message: string | null;
11312
11622
  checkedAt: string;
11313
11623
  } | null;
@@ -11331,7 +11641,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
11331
11641
  masked: string | null;
11332
11642
  }[];
11333
11643
  lastVerification: {
11334
- result: "FAILED" | "SUCCESS";
11644
+ result: "SUCCESS" | "FAILED";
11335
11645
  message: string | null;
11336
11646
  checkedAt: string;
11337
11647
  } | null;
@@ -11359,7 +11669,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
11359
11669
  verify: (provider: PgProvider, body?: VerifyPaymentProviderRequest) => Promise<{
11360
11670
  provider: "tosspayments" | "portone";
11361
11671
  environment: "TEST" | "LIVE";
11362
- result: "FAILED" | "SUCCESS";
11672
+ result: "SUCCESS" | "FAILED";
11363
11673
  message: string | null;
11364
11674
  checkedAt: string;
11365
11675
  }>;
@@ -11369,7 +11679,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
11369
11679
  webhookId: string;
11370
11680
  url: string;
11371
11681
  eventTypes: ("ORDER.PAID" | "ORDER.CONFIRMED" | "ORDER.DISPATCHED" | "ORDER.DELIVERED" | "ORDER.PURCHASE_DECIDED" | "ORDER.ADDRESS_CHANGE_REQUESTED" | "ORDER.CANCELED" | "ORDER.FULFILLED" | "CLAIM.CANCEL_REQUESTED" | "CLAIM.RETURN_REQUESTED" | "CLAIM.EXCHANGE_REQUESTED" | "CLAIM.COMPLETED" | "INQUIRY.CREATED" | "REVIEW.CREATED" | "PRODUCT.OUT_OF_STOCK")[];
11372
- status: "ACTIVE" | "SUSPENDED";
11682
+ status: "SUSPENDED" | "ACTIVE";
11373
11683
  secretPrefix: string;
11374
11684
  suspendedAt: string | null;
11375
11685
  createdAt: string;
@@ -11379,7 +11689,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
11379
11689
  webhookId: string;
11380
11690
  url: string;
11381
11691
  eventTypes: ("ORDER.PAID" | "ORDER.CONFIRMED" | "ORDER.DISPATCHED" | "ORDER.DELIVERED" | "ORDER.PURCHASE_DECIDED" | "ORDER.ADDRESS_CHANGE_REQUESTED" | "ORDER.CANCELED" | "ORDER.FULFILLED" | "CLAIM.CANCEL_REQUESTED" | "CLAIM.RETURN_REQUESTED" | "CLAIM.EXCHANGE_REQUESTED" | "CLAIM.COMPLETED" | "INQUIRY.CREATED" | "REVIEW.CREATED" | "PRODUCT.OUT_OF_STOCK")[];
11382
- status: "ACTIVE" | "SUSPENDED";
11692
+ status: "SUSPENDED" | "ACTIVE";
11383
11693
  secretPrefix: string;
11384
11694
  suspendedAt: string | null;
11385
11695
  createdAt: string;
@@ -11389,7 +11699,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
11389
11699
  webhookId: string;
11390
11700
  url: string;
11391
11701
  eventTypes: ("ORDER.PAID" | "ORDER.CONFIRMED" | "ORDER.DISPATCHED" | "ORDER.DELIVERED" | "ORDER.PURCHASE_DECIDED" | "ORDER.ADDRESS_CHANGE_REQUESTED" | "ORDER.CANCELED" | "ORDER.FULFILLED" | "CLAIM.CANCEL_REQUESTED" | "CLAIM.RETURN_REQUESTED" | "CLAIM.EXCHANGE_REQUESTED" | "CLAIM.COMPLETED" | "INQUIRY.CREATED" | "REVIEW.CREATED" | "PRODUCT.OUT_OF_STOCK")[];
11392
- status: "ACTIVE" | "SUSPENDED";
11702
+ status: "SUSPENDED" | "ACTIVE";
11393
11703
  secretPrefix: string;
11394
11704
  suspendedAt: string | null;
11395
11705
  createdAt: string;
@@ -11399,7 +11709,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
11399
11709
  webhookId: string;
11400
11710
  url: string;
11401
11711
  eventTypes: ("ORDER.PAID" | "ORDER.CONFIRMED" | "ORDER.DISPATCHED" | "ORDER.DELIVERED" | "ORDER.PURCHASE_DECIDED" | "ORDER.ADDRESS_CHANGE_REQUESTED" | "ORDER.CANCELED" | "ORDER.FULFILLED" | "CLAIM.CANCEL_REQUESTED" | "CLAIM.RETURN_REQUESTED" | "CLAIM.EXCHANGE_REQUESTED" | "CLAIM.COMPLETED" | "INQUIRY.CREATED" | "REVIEW.CREATED" | "PRODUCT.OUT_OF_STOCK")[];
11402
- status: "ACTIVE" | "SUSPENDED";
11712
+ status: "SUSPENDED" | "ACTIVE";
11403
11713
  secretPrefix: string;
11404
11714
  suspendedAt: string | null;
11405
11715
  createdAt: string;
@@ -11414,7 +11724,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
11414
11724
  webhookId: string;
11415
11725
  url: string;
11416
11726
  eventTypes: ("ORDER.PAID" | "ORDER.CONFIRMED" | "ORDER.DISPATCHED" | "ORDER.DELIVERED" | "ORDER.PURCHASE_DECIDED" | "ORDER.ADDRESS_CHANGE_REQUESTED" | "ORDER.CANCELED" | "ORDER.FULFILLED" | "CLAIM.CANCEL_REQUESTED" | "CLAIM.RETURN_REQUESTED" | "CLAIM.EXCHANGE_REQUESTED" | "CLAIM.COMPLETED" | "INQUIRY.CREATED" | "REVIEW.CREATED" | "PRODUCT.OUT_OF_STOCK")[];
11417
- status: "ACTIVE" | "SUSPENDED";
11727
+ status: "SUSPENDED" | "ACTIVE";
11418
11728
  secretPrefix: string;
11419
11729
  suspendedAt: string | null;
11420
11730
  createdAt: string;
@@ -11425,7 +11735,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
11425
11735
  eventId: string;
11426
11736
  eventType: "ORDER.PAID" | "ORDER.CONFIRMED" | "ORDER.DISPATCHED" | "ORDER.DELIVERED" | "ORDER.PURCHASE_DECIDED" | "ORDER.ADDRESS_CHANGE_REQUESTED" | "ORDER.CANCELED" | "ORDER.FULFILLED" | "CLAIM.CANCEL_REQUESTED" | "CLAIM.RETURN_REQUESTED" | "CLAIM.EXCHANGE_REQUESTED" | "CLAIM.COMPLETED" | "INQUIRY.CREATED" | "REVIEW.CREATED" | "PRODUCT.OUT_OF_STOCK";
11427
11737
  url: string;
11428
- status: "FAILED" | "PENDING" | "PENDING_RETRY" | "SUCCESS";
11738
+ status: "PENDING" | "PENDING_RETRY" | "SUCCESS" | "FAILED";
11429
11739
  responseStatusCode: number | null;
11430
11740
  responseTimeMs: number | null;
11431
11741
  responseBodyExcerpt: string | null;
@@ -11452,7 +11762,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
11452
11762
  eventId: string;
11453
11763
  eventType: "ORDER.PAID" | "ORDER.CONFIRMED" | "ORDER.DISPATCHED" | "ORDER.DELIVERED" | "ORDER.PURCHASE_DECIDED" | "ORDER.ADDRESS_CHANGE_REQUESTED" | "ORDER.CANCELED" | "ORDER.FULFILLED" | "CLAIM.CANCEL_REQUESTED" | "CLAIM.RETURN_REQUESTED" | "CLAIM.EXCHANGE_REQUESTED" | "CLAIM.COMPLETED" | "INQUIRY.CREATED" | "REVIEW.CREATED" | "PRODUCT.OUT_OF_STOCK";
11454
11764
  url: string;
11455
- status: "FAILED" | "PENDING" | "PENDING_RETRY" | "SUCCESS";
11765
+ status: "PENDING" | "PENDING_RETRY" | "SUCCESS" | "FAILED";
11456
11766
  responseStatusCode: number | null;
11457
11767
  responseTimeMs: number | null;
11458
11768
  responseBodyExcerpt: string | null;
@@ -11487,7 +11797,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
11487
11797
  eventId: string;
11488
11798
  eventType: "ORDER.PAID" | "ORDER.CONFIRMED" | "ORDER.DISPATCHED" | "ORDER.DELIVERED" | "ORDER.PURCHASE_DECIDED" | "ORDER.ADDRESS_CHANGE_REQUESTED" | "ORDER.CANCELED" | "ORDER.FULFILLED" | "CLAIM.CANCEL_REQUESTED" | "CLAIM.RETURN_REQUESTED" | "CLAIM.EXCHANGE_REQUESTED" | "CLAIM.COMPLETED" | "INQUIRY.CREATED" | "REVIEW.CREATED" | "PRODUCT.OUT_OF_STOCK";
11489
11799
  url: string;
11490
- status: "FAILED" | "PENDING" | "PENDING_RETRY" | "SUCCESS";
11800
+ status: "PENDING" | "PENDING_RETRY" | "SUCCESS" | "FAILED";
11491
11801
  responseStatusCode: number | null;
11492
11802
  responseTimeMs: number | null;
11493
11803
  responseBodyExcerpt: string | null;
@@ -11583,7 +11893,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
11583
11893
  method: string | null;
11584
11894
  path: string | null;
11585
11895
  statusCode: number | null;
11586
- outcome: "SUCCEEDED" | "FAILED" | "PENDING_APPROVAL" | "DENIED" | "DRY_RUN" | null;
11896
+ outcome: "FAILED" | "SUCCEEDED" | "PENDING_APPROVAL" | "DENIED" | "DRY_RUN" | null;
11587
11897
  errorCode: string | null;
11588
11898
  traceId: string | null;
11589
11899
  idempotencyKey: string | null;
@@ -11601,7 +11911,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
11601
11911
  list: (params?: ApprovalListOptions) => Promise<{
11602
11912
  items: {
11603
11913
  approvalId: string;
11604
- status: "UNKNOWN" | "SUCCEEDED" | "FAILED" | "PENDING" | "EXECUTING" | "REJECTED" | "EXPIRED";
11914
+ status: "UNKNOWN" | "PENDING" | "FAILED" | "SUCCEEDED" | "EXECUTING" | "REJECTED" | "EXPIRED";
11605
11915
  operationId: string;
11606
11916
  method: string;
11607
11917
  path: string;
@@ -11651,7 +11961,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
11651
11961
  }>;
11652
11962
  get: (approvalId: string) => Promise<{
11653
11963
  approvalId: string;
11654
- status: "UNKNOWN" | "SUCCEEDED" | "FAILED" | "PENDING" | "EXECUTING" | "REJECTED" | "EXPIRED";
11964
+ status: "UNKNOWN" | "PENDING" | "FAILED" | "SUCCEEDED" | "EXECUTING" | "REJECTED" | "EXPIRED";
11655
11965
  operationId: string;
11656
11966
  method: string;
11657
11967
  path: string;
@@ -11703,7 +12013,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
11703
12013
  */
11704
12014
  approve: (approvalId: string, body?: ApprovalDecisionRequest) => Promise<{
11705
12015
  approvalId: string;
11706
- status: "UNKNOWN" | "SUCCEEDED" | "FAILED" | "PENDING" | "EXECUTING" | "REJECTED" | "EXPIRED";
12016
+ status: "UNKNOWN" | "PENDING" | "FAILED" | "SUCCEEDED" | "EXECUTING" | "REJECTED" | "EXPIRED";
11707
12017
  operationId: string;
11708
12018
  method: string;
11709
12019
  path: string;
@@ -11751,7 +12061,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
11751
12061
  }>;
11752
12062
  reject: (approvalId: string, body?: ApprovalDecisionRequest) => Promise<{
11753
12063
  approvalId: string;
11754
- status: "UNKNOWN" | "SUCCEEDED" | "FAILED" | "PENDING" | "EXECUTING" | "REJECTED" | "EXPIRED";
12064
+ status: "UNKNOWN" | "PENDING" | "FAILED" | "SUCCEEDED" | "EXECUTING" | "REJECTED" | "EXPIRED";
11755
12065
  operationId: string;
11756
12066
  method: string;
11757
12067
  path: string;
@@ -11901,7 +12211,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
11901
12211
  }[];
11902
12212
  templateId: string;
11903
12213
  sourceMode: "CUSTOM" | "MANAGED";
11904
- status: "ACTIVE" | "SUSPENDED" | "CLOSED";
12214
+ status: "SUSPENDED" | "CLOSED" | "ACTIVE";
11905
12215
  visibility: "COMING_SOON" | "PUBLIC";
11906
12216
  publishedVersion: {
11907
12217
  versionId: string;
@@ -11919,7 +12229,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
11919
12229
  createdVia?: string | null | undefined;
11920
12230
  } | null;
11921
12231
  provisioning: {
11922
- status: "FAILED" | "PENDING" | "SYNCED";
12232
+ status: "PENDING" | "FAILED" | "SYNCED";
11923
12233
  lastErrorCode: string | null;
11924
12234
  syncedAt: string | null;
11925
12235
  };
@@ -11959,7 +12269,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
11959
12269
  }[];
11960
12270
  templateId: string;
11961
12271
  sourceMode: "CUSTOM" | "MANAGED";
11962
- status: "ACTIVE" | "SUSPENDED" | "CLOSED";
12272
+ status: "SUSPENDED" | "CLOSED" | "ACTIVE";
11963
12273
  visibility: "COMING_SOON" | "PUBLIC";
11964
12274
  publishedVersion: {
11965
12275
  versionId: string;
@@ -11977,7 +12287,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
11977
12287
  createdVia?: string | null | undefined;
11978
12288
  } | null;
11979
12289
  provisioning: {
11980
- status: "FAILED" | "PENDING" | "SYNCED";
12290
+ status: "PENDING" | "FAILED" | "SYNCED";
11981
12291
  lastErrorCode: string | null;
11982
12292
  syncedAt: string | null;
11983
12293
  };
@@ -11995,13 +12305,13 @@ export declare function createStoreClient(options: StoreClientOptions): {
11995
12305
  /** `GET /v1/storefront/site/deployment` — 배포 진행(단계·기록). 만든 뒤 반영이 끝날 때까지 폴링한다 */
11996
12306
  getDeployment: () => Promise<{
11997
12307
  siteId: string;
11998
- status: "IN_PROGRESS" | "SUCCEEDED" | "FAILED";
12308
+ status: "IN_PROGRESS" | "FAILED" | "SUCCEEDED";
11999
12309
  url: string;
12000
12310
  startedAt: string;
12001
12311
  finishedAt: string | null;
12002
12312
  steps: {
12003
12313
  key: "SITE" | "UPLOAD" | "PUBLISH";
12004
- status: "FAILED" | "PENDING" | "RUNNING" | "DONE";
12314
+ status: "PENDING" | "FAILED" | "RUNNING" | "DONE";
12005
12315
  finishedAt: string | null;
12006
12316
  }[];
12007
12317
  log: {
@@ -12017,13 +12327,13 @@ export declare function createStoreClient(options: StoreClientOptions): {
12017
12327
  /** `POST /v1/storefront/site/deployment/retry` (202) — 밀린 반영을 곧바로 다시 시도한다. 이미 반영됐으면 그대로다 */
12018
12328
  retryDeployment: () => Promise<{
12019
12329
  siteId: string;
12020
- status: "IN_PROGRESS" | "SUCCEEDED" | "FAILED";
12330
+ status: "IN_PROGRESS" | "FAILED" | "SUCCEEDED";
12021
12331
  url: string;
12022
12332
  startedAt: string;
12023
12333
  finishedAt: string | null;
12024
12334
  steps: {
12025
12335
  key: "SITE" | "UPLOAD" | "PUBLISH";
12026
- status: "FAILED" | "PENDING" | "RUNNING" | "DONE";
12336
+ status: "PENDING" | "FAILED" | "RUNNING" | "DONE";
12027
12337
  finishedAt: string | null;
12028
12338
  }[];
12029
12339
  log: {
@@ -12055,7 +12365,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
12055
12365
  }[];
12056
12366
  templateId: string;
12057
12367
  sourceMode: "CUSTOM" | "MANAGED";
12058
- status: "ACTIVE" | "SUSPENDED" | "CLOSED";
12368
+ status: "SUSPENDED" | "CLOSED" | "ACTIVE";
12059
12369
  visibility: "COMING_SOON" | "PUBLIC";
12060
12370
  publishedVersion: {
12061
12371
  versionId: string;
@@ -12073,7 +12383,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
12073
12383
  createdVia?: string | null | undefined;
12074
12384
  } | null;
12075
12385
  provisioning: {
12076
- status: "FAILED" | "PENDING" | "SYNCED";
12386
+ status: "PENDING" | "FAILED" | "SYNCED";
12077
12387
  lastErrorCode: string | null;
12078
12388
  syncedAt: string | null;
12079
12389
  };
@@ -12119,7 +12429,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
12119
12429
  }[];
12120
12430
  templateId: string;
12121
12431
  sourceMode: "CUSTOM" | "MANAGED";
12122
- status: "ACTIVE" | "SUSPENDED" | "CLOSED";
12432
+ status: "SUSPENDED" | "CLOSED" | "ACTIVE";
12123
12433
  visibility: "COMING_SOON" | "PUBLIC";
12124
12434
  publishedVersion: {
12125
12435
  versionId: string;
@@ -12137,7 +12447,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
12137
12447
  createdVia?: string | null | undefined;
12138
12448
  } | null;
12139
12449
  provisioning: {
12140
- status: "FAILED" | "PENDING" | "SYNCED";
12450
+ status: "PENDING" | "FAILED" | "SYNCED";
12141
12451
  lastErrorCode: string | null;
12142
12452
  syncedAt: string | null;
12143
12453
  };
@@ -12167,7 +12477,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
12167
12477
  }[];
12168
12478
  templateId: string;
12169
12479
  sourceMode: "CUSTOM" | "MANAGED";
12170
- status: "ACTIVE" | "SUSPENDED" | "CLOSED";
12480
+ status: "SUSPENDED" | "CLOSED" | "ACTIVE";
12171
12481
  visibility: "COMING_SOON" | "PUBLIC";
12172
12482
  publishedVersion: {
12173
12483
  versionId: string;
@@ -12185,7 +12495,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
12185
12495
  createdVia?: string | null | undefined;
12186
12496
  } | null;
12187
12497
  provisioning: {
12188
- status: "FAILED" | "PENDING" | "SYNCED";
12498
+ status: "PENDING" | "FAILED" | "SYNCED";
12189
12499
  lastErrorCode: string | null;
12190
12500
  syncedAt: string | null;
12191
12501
  };
@@ -12215,7 +12525,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
12215
12525
  }[];
12216
12526
  templateId: string;
12217
12527
  sourceMode: "CUSTOM" | "MANAGED";
12218
- status: "ACTIVE" | "SUSPENDED" | "CLOSED";
12528
+ status: "SUSPENDED" | "CLOSED" | "ACTIVE";
12219
12529
  visibility: "COMING_SOON" | "PUBLIC";
12220
12530
  publishedVersion: {
12221
12531
  versionId: string;
@@ -12233,7 +12543,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
12233
12543
  createdVia?: string | null | undefined;
12234
12544
  } | null;
12235
12545
  provisioning: {
12236
- status: "FAILED" | "PENDING" | "SYNCED";
12546
+ status: "PENDING" | "FAILED" | "SYNCED";
12237
12547
  lastErrorCode: string | null;
12238
12548
  syncedAt: string | null;
12239
12549
  };
@@ -12263,7 +12573,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
12263
12573
  }[];
12264
12574
  templateId: string;
12265
12575
  sourceMode: "CUSTOM" | "MANAGED";
12266
- status: "ACTIVE" | "SUSPENDED" | "CLOSED";
12576
+ status: "SUSPENDED" | "CLOSED" | "ACTIVE";
12267
12577
  visibility: "COMING_SOON" | "PUBLIC";
12268
12578
  publishedVersion: {
12269
12579
  versionId: string;
@@ -12281,7 +12591,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
12281
12591
  createdVia?: string | null | undefined;
12282
12592
  } | null;
12283
12593
  provisioning: {
12284
- status: "FAILED" | "PENDING" | "SYNCED";
12594
+ status: "PENDING" | "FAILED" | "SYNCED";
12285
12595
  lastErrorCode: string | null;
12286
12596
  syncedAt: string | null;
12287
12597
  };
@@ -12321,7 +12631,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
12321
12631
  value: string;
12322
12632
  purpose: "ROUTING" | "OWNERSHIP";
12323
12633
  }[];
12324
- certificateStatus: "ACTIVE" | "FAILED" | "PENDING" | null;
12634
+ certificateStatus: "ACTIVE" | "PENDING" | "FAILED" | null;
12325
12635
  failureCode: string | null;
12326
12636
  verifiedAt: string | null;
12327
12637
  activatedAt: string | null;
@@ -12345,7 +12655,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
12345
12655
  value: string;
12346
12656
  purpose: "ROUTING" | "OWNERSHIP";
12347
12657
  }[];
12348
- certificateStatus: "ACTIVE" | "FAILED" | "PENDING" | null;
12658
+ certificateStatus: "ACTIVE" | "PENDING" | "FAILED" | null;
12349
12659
  failureCode: string | null;
12350
12660
  verifiedAt: string | null;
12351
12661
  activatedAt: string | null;
@@ -12365,7 +12675,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
12365
12675
  value: string;
12366
12676
  purpose: "ROUTING" | "OWNERSHIP";
12367
12677
  }[];
12368
- certificateStatus: "ACTIVE" | "FAILED" | "PENDING" | null;
12678
+ certificateStatus: "ACTIVE" | "PENDING" | "FAILED" | null;
12369
12679
  failureCode: string | null;
12370
12680
  verifiedAt: string | null;
12371
12681
  activatedAt: string | null;
@@ -12389,7 +12699,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
12389
12699
  value: string;
12390
12700
  purpose: "ROUTING" | "OWNERSHIP";
12391
12701
  }[];
12392
- certificateStatus: "ACTIVE" | "FAILED" | "PENDING" | null;
12702
+ certificateStatus: "ACTIVE" | "PENDING" | "FAILED" | null;
12393
12703
  failureCode: string | null;
12394
12704
  verifiedAt: string | null;
12395
12705
  activatedAt: string | null;
@@ -12414,7 +12724,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
12414
12724
  }[];
12415
12725
  templateId: string;
12416
12726
  sourceMode: "CUSTOM" | "MANAGED";
12417
- status: "ACTIVE" | "SUSPENDED" | "CLOSED";
12727
+ status: "SUSPENDED" | "CLOSED" | "ACTIVE";
12418
12728
  visibility: "COMING_SOON" | "PUBLIC";
12419
12729
  publishedVersion: {
12420
12730
  versionId: string;
@@ -12432,7 +12742,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
12432
12742
  createdVia?: string | null | undefined;
12433
12743
  } | null;
12434
12744
  provisioning: {
12435
- status: "FAILED" | "PENDING" | "SYNCED";
12745
+ status: "PENDING" | "FAILED" | "SYNCED";
12436
12746
  lastErrorCode: string | null;
12437
12747
  syncedAt: string | null;
12438
12748
  };
@@ -12673,7 +12983,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
12673
12983
  buildId: string;
12674
12984
  versionId: string;
12675
12985
  versionNumber: number;
12676
- status: "SUCCEEDED" | "FAILED" | "RUNNING" | "QUEUED" | "TIMED_OUT";
12986
+ status: "FAILED" | "SUCCEEDED" | "RUNNING" | "QUEUED" | "TIMED_OUT";
12677
12987
  failureStage: string | null;
12678
12988
  errorCode: string | null;
12679
12989
  logTail: string | null;
@@ -12754,7 +13064,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
12754
13064
  buildId: string;
12755
13065
  versionId: string;
12756
13066
  versionNumber: number;
12757
- status: "SUCCEEDED" | "FAILED" | "RUNNING" | "QUEUED" | "TIMED_OUT";
13067
+ status: "FAILED" | "SUCCEEDED" | "RUNNING" | "QUEUED" | "TIMED_OUT";
12758
13068
  failureStage: string | null;
12759
13069
  errorCode: string | null;
12760
13070
  logTail: string | null;
@@ -12832,7 +13142,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
12832
13142
  buildId: string;
12833
13143
  versionId: string;
12834
13144
  versionNumber: number;
12835
- status: "SUCCEEDED" | "FAILED" | "RUNNING" | "QUEUED" | "TIMED_OUT";
13145
+ status: "FAILED" | "SUCCEEDED" | "RUNNING" | "QUEUED" | "TIMED_OUT";
12836
13146
  failureStage: string | null;
12837
13147
  errorCode: string | null;
12838
13148
  logTail: string | null;
@@ -13117,7 +13427,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
13117
13427
  name: string;
13118
13428
  storeCode: string;
13119
13429
  storefrontUrl: string;
13120
- status: "ACTIVE" | "SUSPENDED" | "CLOSED";
13430
+ status: "SUSPENDED" | "CLOSED" | "ACTIVE";
13121
13431
  logoUrl: string | null;
13122
13432
  businessNumber: string | null;
13123
13433
  customerCenterPhone: string | null;
@@ -13165,7 +13475,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
13165
13475
  name: string;
13166
13476
  storeCode: string;
13167
13477
  storefrontUrl: string;
13168
- status: "ACTIVE" | "SUSPENDED" | "CLOSED";
13478
+ status: "SUSPENDED" | "CLOSED" | "ACTIVE";
13169
13479
  logoUrl: string | null;
13170
13480
  businessNumber: string | null;
13171
13481
  customerCenterPhone: string | null;
@@ -13212,7 +13522,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
13212
13522
  userId: string;
13213
13523
  name: string;
13214
13524
  email: string;
13215
- role: "OWNER" | "ADMIN" | "STAFF";
13525
+ role: "ADMIN" | "STAFF" | "OWNER";
13216
13526
  joinedAt: string;
13217
13527
  lastActiveAt: string | null;
13218
13528
  }[]>;