@sayren/store-sdk 0.30.9 → 0.30.10
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 +657 -459
- package/dist/index.mjs +105 -15
- package/package.json +1 -1
- package/src/client.ts +17 -3
- package/src/schemas/app-manifest.ts +78 -1
- package/src/schemas/apps.ts +73 -4
package/dist/index.d.mts
CHANGED
|
@@ -215,24 +215,24 @@ export declare const writeDryRunResultSchema: z.ZodObject<{
|
|
|
215
215
|
}, z.core.$strip>;
|
|
216
216
|
export type WriteDryRunResult = z.infer<typeof writeDryRunResultSchema>;
|
|
217
217
|
export declare const approvalStatusSchema: z.ZodEnum<{
|
|
218
|
-
|
|
218
|
+
PENDING: "PENDING";
|
|
219
219
|
FAILED: "FAILED";
|
|
220
220
|
SUCCEEDED: "SUCCEEDED";
|
|
221
|
-
PENDING: "PENDING";
|
|
222
221
|
EXECUTING: "EXECUTING";
|
|
223
222
|
UNKNOWN: "UNKNOWN";
|
|
223
|
+
REJECTED: "REJECTED";
|
|
224
224
|
EXPIRED: "EXPIRED";
|
|
225
225
|
}>;
|
|
226
226
|
export type ApprovalStatus = z.infer<typeof approvalStatusSchema>;
|
|
227
227
|
export declare const approvalRequestSchema: z.ZodObject<{
|
|
228
228
|
approvalId: z.ZodString;
|
|
229
229
|
status: z.ZodEnum<{
|
|
230
|
-
|
|
230
|
+
PENDING: "PENDING";
|
|
231
231
|
FAILED: "FAILED";
|
|
232
232
|
SUCCEEDED: "SUCCEEDED";
|
|
233
|
-
PENDING: "PENDING";
|
|
234
233
|
EXECUTING: "EXECUTING";
|
|
235
234
|
UNKNOWN: "UNKNOWN";
|
|
235
|
+
REJECTED: "REJECTED";
|
|
236
236
|
EXPIRED: "EXPIRED";
|
|
237
237
|
}>;
|
|
238
238
|
operationId: z.ZodString;
|
|
@@ -291,12 +291,12 @@ export declare const approvalRequestSchema: z.ZodObject<{
|
|
|
291
291
|
export type ApprovalRequest = z.infer<typeof approvalRequestSchema>;
|
|
292
292
|
export declare const approvalListQuerySchema: z.ZodObject<{
|
|
293
293
|
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<{
|
|
294
|
-
|
|
294
|
+
PENDING: "PENDING";
|
|
295
295
|
FAILED: "FAILED";
|
|
296
296
|
SUCCEEDED: "SUCCEEDED";
|
|
297
|
-
PENDING: "PENDING";
|
|
298
297
|
EXECUTING: "EXECUTING";
|
|
299
298
|
UNKNOWN: "UNKNOWN";
|
|
299
|
+
REJECTED: "REJECTED";
|
|
300
300
|
EXPIRED: "EXPIRED";
|
|
301
301
|
}>>>>;
|
|
302
302
|
cursor: z.ZodOptional<z.ZodString>;
|
|
@@ -310,12 +310,12 @@ export declare const approvalPageSchema: z.ZodObject<{
|
|
|
310
310
|
items: z.ZodArray<z.ZodObject<{
|
|
311
311
|
approvalId: z.ZodString;
|
|
312
312
|
status: z.ZodEnum<{
|
|
313
|
-
|
|
313
|
+
PENDING: "PENDING";
|
|
314
314
|
FAILED: "FAILED";
|
|
315
315
|
SUCCEEDED: "SUCCEEDED";
|
|
316
|
-
PENDING: "PENDING";
|
|
317
316
|
EXECUTING: "EXECUTING";
|
|
318
317
|
UNKNOWN: "UNKNOWN";
|
|
318
|
+
REJECTED: "REJECTED";
|
|
319
319
|
EXPIRED: "EXPIRED";
|
|
320
320
|
}>;
|
|
321
321
|
operationId: z.ZodString;
|
|
@@ -588,9 +588,9 @@ export declare const analyticsProductsSchema: z.ZodObject<{
|
|
|
588
588
|
export type AnalyticsProducts = z.infer<typeof analyticsProductsSchema>;
|
|
589
589
|
export declare const analyticsChannelSchema: z.ZodEnum<{
|
|
590
590
|
PAID: "PAID";
|
|
591
|
-
UNKNOWN: "UNKNOWN";
|
|
592
591
|
DIRECT: "DIRECT";
|
|
593
592
|
CAMPAIGN: "CAMPAIGN";
|
|
593
|
+
UNKNOWN: "UNKNOWN";
|
|
594
594
|
ORGANIC_SEARCH: "ORGANIC_SEARCH";
|
|
595
595
|
SOCIAL: "SOCIAL";
|
|
596
596
|
EMAIL: "EMAIL";
|
|
@@ -622,9 +622,9 @@ export type AnalyticsSourcesParams = z.infer<typeof analyticsSourcesQuerySchema>
|
|
|
622
622
|
export declare const analyticsSourceRowSchema: z.ZodObject<{
|
|
623
623
|
channel: z.ZodNullable<z.ZodEnum<{
|
|
624
624
|
PAID: "PAID";
|
|
625
|
-
UNKNOWN: "UNKNOWN";
|
|
626
625
|
DIRECT: "DIRECT";
|
|
627
626
|
CAMPAIGN: "CAMPAIGN";
|
|
627
|
+
UNKNOWN: "UNKNOWN";
|
|
628
628
|
ORGANIC_SEARCH: "ORGANIC_SEARCH";
|
|
629
629
|
SOCIAL: "SOCIAL";
|
|
630
630
|
EMAIL: "EMAIL";
|
|
@@ -658,9 +658,9 @@ export declare const analyticsSourcesSchema: z.ZodObject<{
|
|
|
658
658
|
rows: z.ZodArray<z.ZodObject<{
|
|
659
659
|
channel: z.ZodNullable<z.ZodEnum<{
|
|
660
660
|
PAID: "PAID";
|
|
661
|
-
UNKNOWN: "UNKNOWN";
|
|
662
661
|
DIRECT: "DIRECT";
|
|
663
662
|
CAMPAIGN: "CAMPAIGN";
|
|
663
|
+
UNKNOWN: "UNKNOWN";
|
|
664
664
|
ORGANIC_SEARCH: "ORGANIC_SEARCH";
|
|
665
665
|
SOCIAL: "SOCIAL";
|
|
666
666
|
EMAIL: "EMAIL";
|
|
@@ -813,8 +813,8 @@ export declare const analyticsSearchSchema: z.ZodObject<{
|
|
|
813
813
|
}, z.core.$strip>;
|
|
814
814
|
export type AnalyticsSearch = z.infer<typeof analyticsSearchSchema>;
|
|
815
815
|
export declare const analyticsCheckoutOutcomeSchema: z.ZodEnum<{
|
|
816
|
-
COMPLETED: "COMPLETED";
|
|
817
816
|
OTHER: "OTHER";
|
|
817
|
+
COMPLETED: "COMPLETED";
|
|
818
818
|
NOT_OPENED: "NOT_OPENED";
|
|
819
819
|
USER_CANCELED: "USER_CANCELED";
|
|
820
820
|
DECLINED: "DECLINED";
|
|
@@ -826,8 +826,8 @@ export declare const analyticsCheckoutSchema: z.ZodObject<{
|
|
|
826
826
|
sessions: z.ZodNumber;
|
|
827
827
|
outcomes: z.ZodArray<z.ZodObject<{
|
|
828
828
|
outcome: z.ZodEnum<{
|
|
829
|
-
COMPLETED: "COMPLETED";
|
|
830
829
|
OTHER: "OTHER";
|
|
830
|
+
COMPLETED: "COMPLETED";
|
|
831
831
|
NOT_OPENED: "NOT_OPENED";
|
|
832
832
|
USER_CANCELED: "USER_CANCELED";
|
|
833
833
|
DECLINED: "DECLINED";
|
|
@@ -1069,8 +1069,8 @@ export declare function requiresCollection(type: string | null | undefined): boo
|
|
|
1069
1069
|
export declare const NO_SHIPPING_BUNDLE_KEY = "none";
|
|
1070
1070
|
/** 배송비 유형 — 무료·유료·조건부 무료 */
|
|
1071
1071
|
export declare const deliveryTypeSchema: z.ZodEnum<{
|
|
1072
|
-
PAID: "PAID";
|
|
1073
1072
|
FREE: "FREE";
|
|
1073
|
+
PAID: "PAID";
|
|
1074
1074
|
CONDITIONAL_FREE: "CONDITIONAL_FREE";
|
|
1075
1075
|
}>;
|
|
1076
1076
|
export type DeliveryType = z.infer<typeof deliveryTypeSchema>;
|
|
@@ -1081,8 +1081,8 @@ export declare const productFulfillmentCreateSchema: z.ZodDiscriminatedUnion<[z.
|
|
|
1081
1081
|
type: z.ZodLiteral<"SHIPPING">;
|
|
1082
1082
|
shipping: z.ZodOptional<z.ZodObject<{
|
|
1083
1083
|
deliveryType: z.ZodDefault<z.ZodEnum<{
|
|
1084
|
-
PAID: "PAID";
|
|
1085
1084
|
FREE: "FREE";
|
|
1085
|
+
PAID: "PAID";
|
|
1086
1086
|
CONDITIONAL_FREE: "CONDITIONAL_FREE";
|
|
1087
1087
|
}>>;
|
|
1088
1088
|
deliveryFee: z.ZodOptional<z.ZodNumber>;
|
|
@@ -1116,8 +1116,8 @@ export declare const productFulfillmentUpdateSchema: z.ZodDiscriminatedUnion<[z.
|
|
|
1116
1116
|
type: z.ZodLiteral<"SHIPPING">;
|
|
1117
1117
|
shipping: z.ZodObject<{
|
|
1118
1118
|
deliveryType: z.ZodEnum<{
|
|
1119
|
-
PAID: "PAID";
|
|
1120
1119
|
FREE: "FREE";
|
|
1120
|
+
PAID: "PAID";
|
|
1121
1121
|
CONDITIONAL_FREE: "CONDITIONAL_FREE";
|
|
1122
1122
|
}>;
|
|
1123
1123
|
deliveryFee: z.ZodNumber;
|
|
@@ -1149,8 +1149,8 @@ export declare const productFulfillmentSchema: z.ZodDiscriminatedUnion<[z.ZodObj
|
|
|
1149
1149
|
type: z.ZodLiteral<"SHIPPING">;
|
|
1150
1150
|
shipping: z.ZodObject<{
|
|
1151
1151
|
deliveryType: z.ZodEnum<{
|
|
1152
|
-
PAID: "PAID";
|
|
1153
1152
|
FREE: "FREE";
|
|
1153
|
+
PAID: "PAID";
|
|
1154
1154
|
CONDITIONAL_FREE: "CONDITIONAL_FREE";
|
|
1155
1155
|
}>;
|
|
1156
1156
|
deliveryFee: z.ZodNumber;
|
|
@@ -1190,8 +1190,8 @@ export declare const productFulfillmentResponseSchema: z.ZodUnion<readonly [z.Zo
|
|
|
1190
1190
|
type: z.ZodLiteral<"SHIPPING">;
|
|
1191
1191
|
shipping: z.ZodObject<{
|
|
1192
1192
|
deliveryType: z.ZodEnum<{
|
|
1193
|
-
PAID: "PAID";
|
|
1194
1193
|
FREE: "FREE";
|
|
1194
|
+
PAID: "PAID";
|
|
1195
1195
|
CONDITIONAL_FREE: "CONDITIONAL_FREE";
|
|
1196
1196
|
}>;
|
|
1197
1197
|
deliveryFee: z.ZodNumber;
|
|
@@ -1309,14 +1309,14 @@ export declare const orderWebhookEventDataSchema: z.ZodObject<{
|
|
|
1309
1309
|
orderId: z.ZodString;
|
|
1310
1310
|
orderNo: z.ZodDefault<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
1311
1311
|
status: z.ZodEnum<{
|
|
1312
|
-
PAYMENT_WAITING: "PAYMENT_WAITING";
|
|
1313
1312
|
PAID: "PAID";
|
|
1313
|
+
CANCELED: "CANCELED";
|
|
1314
|
+
PAYMENT_WAITING: "PAYMENT_WAITING";
|
|
1314
1315
|
CONFIRMED: "CONFIRMED";
|
|
1315
1316
|
DISPATCHED: "DISPATCHED";
|
|
1316
1317
|
DELIVERING: "DELIVERING";
|
|
1317
1318
|
DELIVERED: "DELIVERED";
|
|
1318
1319
|
PURCHASE_DECIDED: "PURCHASE_DECIDED";
|
|
1319
|
-
CANCELED: "CANCELED";
|
|
1320
1320
|
}>;
|
|
1321
1321
|
testPayment: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
1322
1322
|
couponDiscountAmount: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
|
|
@@ -1378,14 +1378,14 @@ export declare const orderFulfilledWebhookEventDataSchema: z.ZodObject<{
|
|
|
1378
1378
|
orderNo: z.ZodDefault<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
1379
1379
|
orderItemId: z.ZodString;
|
|
1380
1380
|
status: z.ZodEnum<{
|
|
1381
|
-
PAYMENT_WAITING: "PAYMENT_WAITING";
|
|
1382
1381
|
PAID: "PAID";
|
|
1382
|
+
CANCELED: "CANCELED";
|
|
1383
|
+
PAYMENT_WAITING: "PAYMENT_WAITING";
|
|
1383
1384
|
CONFIRMED: "CONFIRMED";
|
|
1384
1385
|
DISPATCHED: "DISPATCHED";
|
|
1385
1386
|
DELIVERING: "DELIVERING";
|
|
1386
1387
|
DELIVERED: "DELIVERED";
|
|
1387
1388
|
PURCHASE_DECIDED: "PURCHASE_DECIDED";
|
|
1388
|
-
CANCELED: "CANCELED";
|
|
1389
1389
|
}>;
|
|
1390
1390
|
fulfillmentSnapshot: z.ZodUnion<readonly [z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
1391
1391
|
type: z.ZodLiteral<"SHIPPING">;
|
|
@@ -1434,24 +1434,24 @@ export declare const orderCanceledWebhookEventDataSchema: z.ZodObject<{
|
|
|
1434
1434
|
orderNo: z.ZodDefault<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
1435
1435
|
orderItemId: z.ZodString;
|
|
1436
1436
|
status: z.ZodEnum<{
|
|
1437
|
-
PAYMENT_WAITING: "PAYMENT_WAITING";
|
|
1438
1437
|
PAID: "PAID";
|
|
1438
|
+
CANCELED: "CANCELED";
|
|
1439
|
+
PAYMENT_WAITING: "PAYMENT_WAITING";
|
|
1439
1440
|
CONFIRMED: "CONFIRMED";
|
|
1440
1441
|
DISPATCHED: "DISPATCHED";
|
|
1441
1442
|
DELIVERING: "DELIVERING";
|
|
1442
1443
|
DELIVERED: "DELIVERED";
|
|
1443
1444
|
PURCHASE_DECIDED: "PURCHASE_DECIDED";
|
|
1444
|
-
CANCELED: "CANCELED";
|
|
1445
1445
|
}>;
|
|
1446
1446
|
itemStatus: z.ZodEnum<{
|
|
1447
|
-
PAYMENT_WAITING: "PAYMENT_WAITING";
|
|
1448
1447
|
PAID: "PAID";
|
|
1448
|
+
CANCELED: "CANCELED";
|
|
1449
|
+
PAYMENT_WAITING: "PAYMENT_WAITING";
|
|
1449
1450
|
CONFIRMED: "CONFIRMED";
|
|
1450
1451
|
DISPATCHED: "DISPATCHED";
|
|
1451
1452
|
DELIVERING: "DELIVERING";
|
|
1452
1453
|
DELIVERED: "DELIVERED";
|
|
1453
1454
|
PURCHASE_DECIDED: "PURCHASE_DECIDED";
|
|
1454
|
-
CANCELED: "CANCELED";
|
|
1455
1455
|
}>;
|
|
1456
1456
|
reason: z.ZodString;
|
|
1457
1457
|
quantity: z.ZodNumber;
|
|
@@ -1471,19 +1471,19 @@ export declare const claimWebhookEventDataSchema: z.ZodObject<{
|
|
|
1471
1471
|
orderId: z.ZodString;
|
|
1472
1472
|
orderItemId: z.ZodString;
|
|
1473
1473
|
claimType: z.ZodEnum<{
|
|
1474
|
-
CANCEL: "CANCEL";
|
|
1475
1474
|
RETURN: "RETURN";
|
|
1476
1475
|
EXCHANGE: "EXCHANGE";
|
|
1476
|
+
CANCEL: "CANCEL";
|
|
1477
1477
|
}>;
|
|
1478
1478
|
status: z.ZodEnum<{
|
|
1479
|
+
REJECTED: "REJECTED";
|
|
1480
|
+
COMPLETED: "COMPLETED";
|
|
1479
1481
|
REQUESTED: "REQUESTED";
|
|
1480
1482
|
HELD: "HELD";
|
|
1481
1483
|
COLLECTING: "COLLECTING";
|
|
1482
1484
|
COLLECTED: "COLLECTED";
|
|
1483
1485
|
REDELIVERING: "REDELIVERING";
|
|
1484
1486
|
APPROVED: "APPROVED";
|
|
1485
|
-
REJECTED: "REJECTED";
|
|
1486
|
-
COMPLETED: "COMPLETED";
|
|
1487
1487
|
WITHDRAWN: "WITHDRAWN";
|
|
1488
1488
|
}>;
|
|
1489
1489
|
quantity: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
|
|
@@ -1526,14 +1526,14 @@ export declare const orderWebhookEventSchema: z.ZodObject<{
|
|
|
1526
1526
|
orderId: z.ZodString;
|
|
1527
1527
|
orderNo: z.ZodDefault<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
1528
1528
|
status: z.ZodEnum<{
|
|
1529
|
-
PAYMENT_WAITING: "PAYMENT_WAITING";
|
|
1530
1529
|
PAID: "PAID";
|
|
1530
|
+
CANCELED: "CANCELED";
|
|
1531
|
+
PAYMENT_WAITING: "PAYMENT_WAITING";
|
|
1531
1532
|
CONFIRMED: "CONFIRMED";
|
|
1532
1533
|
DISPATCHED: "DISPATCHED";
|
|
1533
1534
|
DELIVERING: "DELIVERING";
|
|
1534
1535
|
DELIVERED: "DELIVERED";
|
|
1535
1536
|
PURCHASE_DECIDED: "PURCHASE_DECIDED";
|
|
1536
|
-
CANCELED: "CANCELED";
|
|
1537
1537
|
}>;
|
|
1538
1538
|
testPayment: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
1539
1539
|
couponDiscountAmount: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
|
|
@@ -1597,14 +1597,14 @@ export declare const orderFulfilledWebhookEventSchema: z.ZodObject<{
|
|
|
1597
1597
|
orderNo: z.ZodDefault<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
1598
1598
|
orderItemId: z.ZodString;
|
|
1599
1599
|
status: z.ZodEnum<{
|
|
1600
|
-
PAYMENT_WAITING: "PAYMENT_WAITING";
|
|
1601
1600
|
PAID: "PAID";
|
|
1601
|
+
CANCELED: "CANCELED";
|
|
1602
|
+
PAYMENT_WAITING: "PAYMENT_WAITING";
|
|
1602
1603
|
CONFIRMED: "CONFIRMED";
|
|
1603
1604
|
DISPATCHED: "DISPATCHED";
|
|
1604
1605
|
DELIVERING: "DELIVERING";
|
|
1605
1606
|
DELIVERED: "DELIVERED";
|
|
1606
1607
|
PURCHASE_DECIDED: "PURCHASE_DECIDED";
|
|
1607
|
-
CANCELED: "CANCELED";
|
|
1608
1608
|
}>;
|
|
1609
1609
|
fulfillmentSnapshot: z.ZodUnion<readonly [z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
1610
1610
|
type: z.ZodLiteral<"SHIPPING">;
|
|
@@ -1654,24 +1654,24 @@ export declare const orderCanceledWebhookEventSchema: z.ZodObject<{
|
|
|
1654
1654
|
orderNo: z.ZodDefault<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
1655
1655
|
orderItemId: z.ZodString;
|
|
1656
1656
|
status: z.ZodEnum<{
|
|
1657
|
-
PAYMENT_WAITING: "PAYMENT_WAITING";
|
|
1658
1657
|
PAID: "PAID";
|
|
1658
|
+
CANCELED: "CANCELED";
|
|
1659
|
+
PAYMENT_WAITING: "PAYMENT_WAITING";
|
|
1659
1660
|
CONFIRMED: "CONFIRMED";
|
|
1660
1661
|
DISPATCHED: "DISPATCHED";
|
|
1661
1662
|
DELIVERING: "DELIVERING";
|
|
1662
1663
|
DELIVERED: "DELIVERED";
|
|
1663
1664
|
PURCHASE_DECIDED: "PURCHASE_DECIDED";
|
|
1664
|
-
CANCELED: "CANCELED";
|
|
1665
1665
|
}>;
|
|
1666
1666
|
itemStatus: z.ZodEnum<{
|
|
1667
|
-
PAYMENT_WAITING: "PAYMENT_WAITING";
|
|
1668
1667
|
PAID: "PAID";
|
|
1668
|
+
CANCELED: "CANCELED";
|
|
1669
|
+
PAYMENT_WAITING: "PAYMENT_WAITING";
|
|
1669
1670
|
CONFIRMED: "CONFIRMED";
|
|
1670
1671
|
DISPATCHED: "DISPATCHED";
|
|
1671
1672
|
DELIVERING: "DELIVERING";
|
|
1672
1673
|
DELIVERED: "DELIVERED";
|
|
1673
1674
|
PURCHASE_DECIDED: "PURCHASE_DECIDED";
|
|
1674
|
-
CANCELED: "CANCELED";
|
|
1675
1675
|
}>;
|
|
1676
1676
|
reason: z.ZodString;
|
|
1677
1677
|
quantity: z.ZodNumber;
|
|
@@ -1702,19 +1702,19 @@ export declare const claimWebhookEventSchema: z.ZodObject<{
|
|
|
1702
1702
|
orderId: z.ZodString;
|
|
1703
1703
|
orderItemId: z.ZodString;
|
|
1704
1704
|
claimType: z.ZodEnum<{
|
|
1705
|
-
CANCEL: "CANCEL";
|
|
1706
1705
|
RETURN: "RETURN";
|
|
1707
1706
|
EXCHANGE: "EXCHANGE";
|
|
1707
|
+
CANCEL: "CANCEL";
|
|
1708
1708
|
}>;
|
|
1709
1709
|
status: z.ZodEnum<{
|
|
1710
|
+
REJECTED: "REJECTED";
|
|
1711
|
+
COMPLETED: "COMPLETED";
|
|
1710
1712
|
REQUESTED: "REQUESTED";
|
|
1711
1713
|
HELD: "HELD";
|
|
1712
1714
|
COLLECTING: "COLLECTING";
|
|
1713
1715
|
COLLECTED: "COLLECTED";
|
|
1714
1716
|
REDELIVERING: "REDELIVERING";
|
|
1715
1717
|
APPROVED: "APPROVED";
|
|
1716
|
-
REJECTED: "REJECTED";
|
|
1717
|
-
COMPLETED: "COMPLETED";
|
|
1718
1718
|
WITHDRAWN: "WITHDRAWN";
|
|
1719
1719
|
}>;
|
|
1720
1720
|
quantity: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
|
|
@@ -1840,14 +1840,14 @@ export declare const webhookEventSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
1840
1840
|
orderId: z.ZodString;
|
|
1841
1841
|
orderNo: z.ZodDefault<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
1842
1842
|
status: z.ZodEnum<{
|
|
1843
|
-
PAYMENT_WAITING: "PAYMENT_WAITING";
|
|
1844
1843
|
PAID: "PAID";
|
|
1844
|
+
CANCELED: "CANCELED";
|
|
1845
|
+
PAYMENT_WAITING: "PAYMENT_WAITING";
|
|
1845
1846
|
CONFIRMED: "CONFIRMED";
|
|
1846
1847
|
DISPATCHED: "DISPATCHED";
|
|
1847
1848
|
DELIVERING: "DELIVERING";
|
|
1848
1849
|
DELIVERED: "DELIVERED";
|
|
1849
1850
|
PURCHASE_DECIDED: "PURCHASE_DECIDED";
|
|
1850
|
-
CANCELED: "CANCELED";
|
|
1851
1851
|
}>;
|
|
1852
1852
|
testPayment: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
1853
1853
|
couponDiscountAmount: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
|
|
@@ -1910,14 +1910,14 @@ export declare const webhookEventSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
1910
1910
|
orderNo: z.ZodDefault<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
1911
1911
|
orderItemId: z.ZodString;
|
|
1912
1912
|
status: z.ZodEnum<{
|
|
1913
|
-
PAYMENT_WAITING: "PAYMENT_WAITING";
|
|
1914
1913
|
PAID: "PAID";
|
|
1914
|
+
CANCELED: "CANCELED";
|
|
1915
|
+
PAYMENT_WAITING: "PAYMENT_WAITING";
|
|
1915
1916
|
CONFIRMED: "CONFIRMED";
|
|
1916
1917
|
DISPATCHED: "DISPATCHED";
|
|
1917
1918
|
DELIVERING: "DELIVERING";
|
|
1918
1919
|
DELIVERED: "DELIVERED";
|
|
1919
1920
|
PURCHASE_DECIDED: "PURCHASE_DECIDED";
|
|
1920
|
-
CANCELED: "CANCELED";
|
|
1921
1921
|
}>;
|
|
1922
1922
|
fulfillmentSnapshot: z.ZodUnion<readonly [z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
1923
1923
|
type: z.ZodLiteral<"SHIPPING">;
|
|
@@ -1966,24 +1966,24 @@ export declare const webhookEventSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
1966
1966
|
orderNo: z.ZodDefault<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
1967
1967
|
orderItemId: z.ZodString;
|
|
1968
1968
|
status: z.ZodEnum<{
|
|
1969
|
-
PAYMENT_WAITING: "PAYMENT_WAITING";
|
|
1970
1969
|
PAID: "PAID";
|
|
1970
|
+
CANCELED: "CANCELED";
|
|
1971
|
+
PAYMENT_WAITING: "PAYMENT_WAITING";
|
|
1971
1972
|
CONFIRMED: "CONFIRMED";
|
|
1972
1973
|
DISPATCHED: "DISPATCHED";
|
|
1973
1974
|
DELIVERING: "DELIVERING";
|
|
1974
1975
|
DELIVERED: "DELIVERED";
|
|
1975
1976
|
PURCHASE_DECIDED: "PURCHASE_DECIDED";
|
|
1976
|
-
CANCELED: "CANCELED";
|
|
1977
1977
|
}>;
|
|
1978
1978
|
itemStatus: z.ZodEnum<{
|
|
1979
|
-
PAYMENT_WAITING: "PAYMENT_WAITING";
|
|
1980
1979
|
PAID: "PAID";
|
|
1980
|
+
CANCELED: "CANCELED";
|
|
1981
|
+
PAYMENT_WAITING: "PAYMENT_WAITING";
|
|
1981
1982
|
CONFIRMED: "CONFIRMED";
|
|
1982
1983
|
DISPATCHED: "DISPATCHED";
|
|
1983
1984
|
DELIVERING: "DELIVERING";
|
|
1984
1985
|
DELIVERED: "DELIVERED";
|
|
1985
1986
|
PURCHASE_DECIDED: "PURCHASE_DECIDED";
|
|
1986
|
-
CANCELED: "CANCELED";
|
|
1987
1987
|
}>;
|
|
1988
1988
|
reason: z.ZodString;
|
|
1989
1989
|
quantity: z.ZodNumber;
|
|
@@ -2013,19 +2013,19 @@ export declare const webhookEventSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
2013
2013
|
orderId: z.ZodString;
|
|
2014
2014
|
orderItemId: z.ZodString;
|
|
2015
2015
|
claimType: z.ZodEnum<{
|
|
2016
|
-
CANCEL: "CANCEL";
|
|
2017
2016
|
RETURN: "RETURN";
|
|
2018
2017
|
EXCHANGE: "EXCHANGE";
|
|
2018
|
+
CANCEL: "CANCEL";
|
|
2019
2019
|
}>;
|
|
2020
2020
|
status: z.ZodEnum<{
|
|
2021
|
+
REJECTED: "REJECTED";
|
|
2022
|
+
COMPLETED: "COMPLETED";
|
|
2021
2023
|
REQUESTED: "REQUESTED";
|
|
2022
2024
|
HELD: "HELD";
|
|
2023
2025
|
COLLECTING: "COLLECTING";
|
|
2024
2026
|
COLLECTED: "COLLECTED";
|
|
2025
2027
|
REDELIVERING: "REDELIVERING";
|
|
2026
2028
|
APPROVED: "APPROVED";
|
|
2027
|
-
REJECTED: "REJECTED";
|
|
2028
|
-
COMPLETED: "COMPLETED";
|
|
2029
2029
|
WITHDRAWN: "WITHDRAWN";
|
|
2030
2030
|
}>;
|
|
2031
2031
|
quantity: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
|
|
@@ -2172,6 +2172,43 @@ export declare const appScopeSchema: z.ZodString;
|
|
|
2172
2172
|
export declare const APP_LIFECYCLE_EVENT_TYPES: readonly ["APP.INSTALLED", "APP.UNINSTALLED", "APP.SETTINGS_UPDATED", "APP.SCOPES_UPDATED", "APP.STORE_REDACT", "APP.CUSTOMER_REDACT"];
|
|
2173
2173
|
export type AppLifecycleEventType = (typeof APP_LIFECYCLE_EVENT_TYPES)[number];
|
|
2174
2174
|
export type AppEventType = WebhookEventType | AppLifecycleEventType;
|
|
2175
|
+
/**
|
|
2176
|
+
* 생명주기 이벤트의 `data`(매뉴얼 「앱 이벤트」 표). api가 보내는 값과 `@sayren/app`의 핸들러 타입이 이 한 곳을 쓴다.
|
|
2177
|
+
* 키를 바꾸면 앱 코드가 깨진다 — 더하기만 한다
|
|
2178
|
+
*/
|
|
2179
|
+
export interface AppLifecycleEventDataMap {
|
|
2180
|
+
"APP.INSTALLED": {
|
|
2181
|
+
installationId: string;
|
|
2182
|
+
storeId: string;
|
|
2183
|
+
versionNumber: number;
|
|
2184
|
+
grantedScopes: string[];
|
|
2185
|
+
};
|
|
2186
|
+
"APP.SETTINGS_UPDATED": {
|
|
2187
|
+
installationId: string;
|
|
2188
|
+
storeId: string;
|
|
2189
|
+
changedKeys: string[];
|
|
2190
|
+
};
|
|
2191
|
+
"APP.SCOPES_UPDATED": {
|
|
2192
|
+
installationId: string;
|
|
2193
|
+
storeId: string;
|
|
2194
|
+
versionNumber: number;
|
|
2195
|
+
grantedScopes: string[];
|
|
2196
|
+
};
|
|
2197
|
+
"APP.UNINSTALLED": {
|
|
2198
|
+
installationId: string;
|
|
2199
|
+
storeId: string;
|
|
2200
|
+
};
|
|
2201
|
+
"APP.STORE_REDACT": {
|
|
2202
|
+
installationId: string;
|
|
2203
|
+
storeId: string;
|
|
2204
|
+
};
|
|
2205
|
+
"APP.CUSTOMER_REDACT": {
|
|
2206
|
+
storeId: string;
|
|
2207
|
+
memberId: string;
|
|
2208
|
+
};
|
|
2209
|
+
}
|
|
2210
|
+
/** 이벤트 타입 하나의 `data` — 웹훅 이벤트는 `WebhookEventOf<T>["data"]`, 생명주기 이벤트는 위 표다 */
|
|
2211
|
+
export type AppEventDataOf<T extends AppEventType> = T extends AppLifecycleEventType ? AppLifecycleEventDataMap[T] : T extends WebhookEventType ? WebhookEventOf<T>["data"] : never;
|
|
2175
2212
|
/**
|
|
2176
2213
|
* 이벤트를 받는 데 필요한 스코프 — 동의 스코프가 이것을 덮지 못하면 분배하지 않고, 매니페스트 `scopes`가 덮지 못하면 빌드가 실패한다.
|
|
2177
2214
|
* 생명주기 이벤트는 스코프가 없다(null). 새 웹훅 이벤트를 더하면 이 표도 더해야 테스트가 통과한다
|
|
@@ -2185,8 +2222,8 @@ export declare const appEventTypeSchema: z.ZodEnum<{
|
|
|
2185
2222
|
"ORDER.DELIVERED": "ORDER.DELIVERED";
|
|
2186
2223
|
"ORDER.PURCHASE_DECIDED": "ORDER.PURCHASE_DECIDED";
|
|
2187
2224
|
"ORDER.ADDRESS_CHANGE_REQUESTED": "ORDER.ADDRESS_CHANGE_REQUESTED";
|
|
2188
|
-
"ORDER.FULFILLED": "ORDER.FULFILLED";
|
|
2189
2225
|
"ORDER.CANCELED": "ORDER.CANCELED";
|
|
2226
|
+
"ORDER.FULFILLED": "ORDER.FULFILLED";
|
|
2190
2227
|
"CLAIM.CANCEL_REQUESTED": "CLAIM.CANCEL_REQUESTED";
|
|
2191
2228
|
"CLAIM.RETURN_REQUESTED": "CLAIM.RETURN_REQUESTED";
|
|
2192
2229
|
"CLAIM.EXCHANGE_REQUESTED": "CLAIM.EXCHANGE_REQUESTED";
|
|
@@ -2235,12 +2272,22 @@ export declare const APP_SECRET_NAME_PATTERN: RegExp;
|
|
|
2235
2272
|
export declare const APP_SECRETS_MAX = 20;
|
|
2236
2273
|
export declare const APP_EVENTS_MAX = 50;
|
|
2237
2274
|
export declare const APP_NETWORK_HOSTS_MAX = 20;
|
|
2275
|
+
/** 앱 목록에 보이는 아이콘·README(#22 앱 목록 시안) — 앱 폴더의 파일을 `sayren app deploy`가 버전과 함께 올린다 */
|
|
2276
|
+
export declare const APP_ICON_MAX_BYTES: number;
|
|
2277
|
+
export declare const APP_ICON_MIN_PX = 512;
|
|
2278
|
+
export declare const APP_README_MAX_BYTES: number;
|
|
2279
|
+
export declare const APP_ICON_CONTENT_TYPES: readonly ["image/png", "image/svg+xml"];
|
|
2280
|
+
export type AppIconContentType = (typeof APP_ICON_CONTENT_TYPES)[number];
|
|
2281
|
+
/** 아이콘 파일 검사 — 문제가 없으면 null. CLI `app verify`·`deploy`와 api 빌드 `VERIFY`가 같은 규칙을 쓴다 */
|
|
2282
|
+
export declare function appIconProblem(bytes: Uint8Array, contentType: AppIconContentType): string | null;
|
|
2238
2283
|
export declare const appManifestSchema: z.ZodObject<{
|
|
2239
2284
|
handle: z.ZodString;
|
|
2240
2285
|
name: z.ZodString;
|
|
2241
2286
|
description: z.ZodOptional<z.ZodString>;
|
|
2242
2287
|
iconUrl: z.ZodOptional<z.ZodURL>;
|
|
2243
2288
|
supportEmail: z.ZodOptional<z.ZodEmail>;
|
|
2289
|
+
icon: z.ZodOptional<z.ZodString>;
|
|
2290
|
+
readme: z.ZodOptional<z.ZodString>;
|
|
2244
2291
|
runtime: z.ZodDefault<z.ZodLiteral<"code">>;
|
|
2245
2292
|
scopes: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
2246
2293
|
network: z.ZodDefault<z.ZodObject<{
|
|
@@ -2253,8 +2300,8 @@ export declare const appManifestSchema: z.ZodObject<{
|
|
|
2253
2300
|
"ORDER.DELIVERED": "ORDER.DELIVERED";
|
|
2254
2301
|
"ORDER.PURCHASE_DECIDED": "ORDER.PURCHASE_DECIDED";
|
|
2255
2302
|
"ORDER.ADDRESS_CHANGE_REQUESTED": "ORDER.ADDRESS_CHANGE_REQUESTED";
|
|
2256
|
-
"ORDER.FULFILLED": "ORDER.FULFILLED";
|
|
2257
2303
|
"ORDER.CANCELED": "ORDER.CANCELED";
|
|
2304
|
+
"ORDER.FULFILLED": "ORDER.FULFILLED";
|
|
2258
2305
|
"CLAIM.CANCEL_REQUESTED": "CLAIM.CANCEL_REQUESTED";
|
|
2259
2306
|
"CLAIM.RETURN_REQUESTED": "CLAIM.RETURN_REQUESTED";
|
|
2260
2307
|
"CLAIM.EXCHANGE_REQUESTED": "CLAIM.EXCHANGE_REQUESTED";
|
|
@@ -2359,14 +2406,14 @@ export declare const appRuntimeSchema: z.ZodEnum<{
|
|
|
2359
2406
|
export type AppRuntime = z.infer<typeof appRuntimeSchema>;
|
|
2360
2407
|
/** 앱 상태 — `SUSPENDED`는 운영자 정지(모든 설치 토큰·실행 거부, 설치 행은 그대로) */
|
|
2361
2408
|
export declare const appStatusSchema: z.ZodEnum<{
|
|
2362
|
-
ACTIVE: "ACTIVE";
|
|
2363
2409
|
SUSPENDED: "SUSPENDED";
|
|
2410
|
+
ACTIVE: "ACTIVE";
|
|
2364
2411
|
DELETED: "DELETED";
|
|
2365
2412
|
}>;
|
|
2366
2413
|
export type AppStatus = z.infer<typeof appStatusSchema>;
|
|
2367
2414
|
export declare const appInstallationStatusSchema: z.ZodEnum<{
|
|
2368
|
-
ACTIVE: "ACTIVE";
|
|
2369
2415
|
SUSPENDED: "SUSPENDED";
|
|
2416
|
+
ACTIVE: "ACTIVE";
|
|
2370
2417
|
UNINSTALLED: "UNINSTALLED";
|
|
2371
2418
|
}>;
|
|
2372
2419
|
export type AppInstallationStatus = z.infer<typeof appInstallationStatusSchema>;
|
|
@@ -2389,8 +2436,8 @@ export declare const appInstallationAppSchema: z.ZodObject<{
|
|
|
2389
2436
|
EXTERNAL: "EXTERNAL";
|
|
2390
2437
|
}>;
|
|
2391
2438
|
status: z.ZodEnum<{
|
|
2392
|
-
ACTIVE: "ACTIVE";
|
|
2393
2439
|
SUSPENDED: "SUSPENDED";
|
|
2440
|
+
ACTIVE: "ACTIVE";
|
|
2394
2441
|
DELETED: "DELETED";
|
|
2395
2442
|
}>;
|
|
2396
2443
|
}, z.core.$strip>;
|
|
@@ -2445,14 +2492,14 @@ export declare const appInstallationSchema: z.ZodObject<{
|
|
|
2445
2492
|
EXTERNAL: "EXTERNAL";
|
|
2446
2493
|
}>;
|
|
2447
2494
|
status: z.ZodEnum<{
|
|
2448
|
-
ACTIVE: "ACTIVE";
|
|
2449
2495
|
SUSPENDED: "SUSPENDED";
|
|
2496
|
+
ACTIVE: "ACTIVE";
|
|
2450
2497
|
DELETED: "DELETED";
|
|
2451
2498
|
}>;
|
|
2452
2499
|
}, z.core.$strip>;
|
|
2453
2500
|
status: z.ZodEnum<{
|
|
2454
|
-
ACTIVE: "ACTIVE";
|
|
2455
2501
|
SUSPENDED: "SUSPENDED";
|
|
2502
|
+
ACTIVE: "ACTIVE";
|
|
2456
2503
|
UNINSTALLED: "UNINSTALLED";
|
|
2457
2504
|
}>;
|
|
2458
2505
|
versionNumber: z.ZodNumber;
|
|
@@ -2466,8 +2513,8 @@ export declare const appInstallationSchema: z.ZodObject<{
|
|
|
2466
2513
|
"ORDER.DELIVERED": "ORDER.DELIVERED";
|
|
2467
2514
|
"ORDER.PURCHASE_DECIDED": "ORDER.PURCHASE_DECIDED";
|
|
2468
2515
|
"ORDER.ADDRESS_CHANGE_REQUESTED": "ORDER.ADDRESS_CHANGE_REQUESTED";
|
|
2469
|
-
"ORDER.FULFILLED": "ORDER.FULFILLED";
|
|
2470
2516
|
"ORDER.CANCELED": "ORDER.CANCELED";
|
|
2517
|
+
"ORDER.FULFILLED": "ORDER.FULFILLED";
|
|
2471
2518
|
"CLAIM.CANCEL_REQUESTED": "CLAIM.CANCEL_REQUESTED";
|
|
2472
2519
|
"CLAIM.RETURN_REQUESTED": "CLAIM.RETURN_REQUESTED";
|
|
2473
2520
|
"CLAIM.EXCHANGE_REQUESTED": "CLAIM.EXCHANGE_REQUESTED";
|
|
@@ -2516,11 +2563,96 @@ export declare const appInstallationSchema: z.ZodObject<{
|
|
|
2516
2563
|
updatedAt: z.ZodString;
|
|
2517
2564
|
}, z.core.$strip>;
|
|
2518
2565
|
export type AppInstallation = z.infer<typeof appInstallationSchema>;
|
|
2519
|
-
/**
|
|
2520
|
-
|
|
2566
|
+
/**
|
|
2567
|
+
* `POST /v1/apps/installations`(상점 플랫폼 전용) — 둘 중 하나다.
|
|
2568
|
+
* - `{ result }`: accounts 설치 동의 결과(1회용 JWT). 개발자 포털 [내 상점에 설치]가 이 길로 온다
|
|
2569
|
+
* - `{ appId, settings }`: 상점 플랫폼 앱 목록 › 설치 화면에서 동의하고 설정까지 채워 바로 설치한다
|
|
2570
|
+
*/
|
|
2571
|
+
export declare const appInstallRequestSchema: z.ZodUnion<readonly [z.ZodObject<{
|
|
2521
2572
|
result: z.ZodString;
|
|
2522
|
-
}, z.core.$strip
|
|
2573
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
2574
|
+
appId: z.ZodString;
|
|
2575
|
+
settings: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull]>>>;
|
|
2576
|
+
}, z.core.$strip>]>;
|
|
2523
2577
|
export type AppInstallRequest = z.infer<typeof appInstallRequestSchema>;
|
|
2578
|
+
/** 앱 목록 정보 — 현재 버전이 올린 아이콘·README(없으면 매니페스트 `iconUrl`) */
|
|
2579
|
+
export declare const appListingSchema: z.ZodObject<{
|
|
2580
|
+
description: z.ZodNullable<z.ZodString>;
|
|
2581
|
+
iconUrl: z.ZodNullable<z.ZodString>;
|
|
2582
|
+
readme: z.ZodNullable<z.ZodString>;
|
|
2583
|
+
}, z.core.$strip>;
|
|
2584
|
+
export type AppListing = z.infer<typeof appListingSchema>;
|
|
2585
|
+
/** `GET /v1/apps/catalog` — 이 상점에 설치할 수 있는 앱(A1: 내가 속한 개발자 조직의 앱) */
|
|
2586
|
+
export declare const storeAppSchema: z.ZodObject<{
|
|
2587
|
+
appId: z.ZodString;
|
|
2588
|
+
handle: z.ZodString;
|
|
2589
|
+
name: z.ZodString;
|
|
2590
|
+
description: z.ZodNullable<z.ZodString>;
|
|
2591
|
+
iconUrl: z.ZodNullable<z.ZodString>;
|
|
2592
|
+
developerName: z.ZodString;
|
|
2593
|
+
versionNumber: z.ZodNumber;
|
|
2594
|
+
installationId: z.ZodNullable<z.ZodString>;
|
|
2595
|
+
}, z.core.$strip>;
|
|
2596
|
+
export type StoreApp = z.infer<typeof storeAppSchema>;
|
|
2597
|
+
/** `GET /v1/apps/catalog/{appId}` — 앱 상세·설치 화면 */
|
|
2598
|
+
export declare const storeAppDetailSchema: z.ZodObject<{
|
|
2599
|
+
appId: z.ZodString;
|
|
2600
|
+
handle: z.ZodString;
|
|
2601
|
+
name: z.ZodString;
|
|
2602
|
+
description: z.ZodNullable<z.ZodString>;
|
|
2603
|
+
iconUrl: z.ZodNullable<z.ZodString>;
|
|
2604
|
+
developerName: z.ZodString;
|
|
2605
|
+
versionNumber: z.ZodNumber;
|
|
2606
|
+
installationId: z.ZodNullable<z.ZodString>;
|
|
2607
|
+
readme: z.ZodNullable<z.ZodString>;
|
|
2608
|
+
supportEmail: z.ZodNullable<z.ZodString>;
|
|
2609
|
+
scopes: z.ZodArray<z.ZodString>;
|
|
2610
|
+
events: z.ZodArray<z.ZodEnum<{
|
|
2611
|
+
"ORDER.PAID": "ORDER.PAID";
|
|
2612
|
+
"ORDER.CONFIRMED": "ORDER.CONFIRMED";
|
|
2613
|
+
"ORDER.DISPATCHED": "ORDER.DISPATCHED";
|
|
2614
|
+
"ORDER.DELIVERED": "ORDER.DELIVERED";
|
|
2615
|
+
"ORDER.PURCHASE_DECIDED": "ORDER.PURCHASE_DECIDED";
|
|
2616
|
+
"ORDER.ADDRESS_CHANGE_REQUESTED": "ORDER.ADDRESS_CHANGE_REQUESTED";
|
|
2617
|
+
"ORDER.CANCELED": "ORDER.CANCELED";
|
|
2618
|
+
"ORDER.FULFILLED": "ORDER.FULFILLED";
|
|
2619
|
+
"CLAIM.CANCEL_REQUESTED": "CLAIM.CANCEL_REQUESTED";
|
|
2620
|
+
"CLAIM.RETURN_REQUESTED": "CLAIM.RETURN_REQUESTED";
|
|
2621
|
+
"CLAIM.EXCHANGE_REQUESTED": "CLAIM.EXCHANGE_REQUESTED";
|
|
2622
|
+
"CLAIM.COMPLETED": "CLAIM.COMPLETED";
|
|
2623
|
+
"INQUIRY.CREATED": "INQUIRY.CREATED";
|
|
2624
|
+
"REVIEW.CREATED": "REVIEW.CREATED";
|
|
2625
|
+
"PRODUCT.OUT_OF_STOCK": "PRODUCT.OUT_OF_STOCK";
|
|
2626
|
+
"ORDER.FLOW_NOTIFICATION": "ORDER.FLOW_NOTIFICATION";
|
|
2627
|
+
"ORDER.FLOW_STATE_CHANGED": "ORDER.FLOW_STATE_CHANGED";
|
|
2628
|
+
"APP.INSTALLED": "APP.INSTALLED";
|
|
2629
|
+
"APP.UNINSTALLED": "APP.UNINSTALLED";
|
|
2630
|
+
"APP.SETTINGS_UPDATED": "APP.SETTINGS_UPDATED";
|
|
2631
|
+
"APP.SCOPES_UPDATED": "APP.SCOPES_UPDATED";
|
|
2632
|
+
"APP.STORE_REDACT": "APP.STORE_REDACT";
|
|
2633
|
+
"APP.CUSTOMER_REDACT": "APP.CUSTOMER_REDACT";
|
|
2634
|
+
}>>;
|
|
2635
|
+
networkHosts: z.ZodArray<z.ZodString>;
|
|
2636
|
+
settings: z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
2637
|
+
type: z.ZodEnum<{
|
|
2638
|
+
string: "string";
|
|
2639
|
+
number: "number";
|
|
2640
|
+
boolean: "boolean";
|
|
2641
|
+
select: "select";
|
|
2642
|
+
}>;
|
|
2643
|
+
label: z.ZodString;
|
|
2644
|
+
description: z.ZodOptional<z.ZodString>;
|
|
2645
|
+
required: z.ZodOptional<z.ZodBoolean>;
|
|
2646
|
+
secret: z.ZodOptional<z.ZodBoolean>;
|
|
2647
|
+
options: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
2648
|
+
value: z.ZodString;
|
|
2649
|
+
label: z.ZodString;
|
|
2650
|
+
}, z.core.$strict>>>;
|
|
2651
|
+
default: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
|
2652
|
+
}, z.core.$strict>>;
|
|
2653
|
+
updatedAt: z.ZodNullable<z.ZodString>;
|
|
2654
|
+
}, z.core.$strip>;
|
|
2655
|
+
export type StoreAppDetail = z.infer<typeof storeAppDetailSchema>;
|
|
2524
2656
|
/** `POST /v1/apps/installations/{id}/session` — 앱 화면 iframe이 쓸 세션 토큰(5분) */
|
|
2525
2657
|
export declare const appSessionSchema: z.ZodObject<{
|
|
2526
2658
|
token: z.ZodString;
|
|
@@ -2550,29 +2682,29 @@ export declare const developerOrgSchema: z.ZodObject<{
|
|
|
2550
2682
|
export type DeveloperOrg = z.infer<typeof developerOrgSchema>;
|
|
2551
2683
|
export declare const appVersionStatusSchema: z.ZodEnum<{
|
|
2552
2684
|
FAILED: "FAILED";
|
|
2685
|
+
REVOKED: "REVOKED";
|
|
2553
2686
|
BUILDING: "BUILDING";
|
|
2554
2687
|
READY: "READY";
|
|
2555
|
-
REVOKED: "REVOKED";
|
|
2556
2688
|
}>;
|
|
2557
2689
|
export type AppVersionStatus = z.infer<typeof appVersionStatusSchema>;
|
|
2558
2690
|
/** 빌드 단계(매뉴얼 「앱 버전과 배포 › 빌드」). 로컬 번들(A1)은 `DEPENDENCIES`·`VERIFY`·`BUNDLE`·`UPLOAD`를 서버가 돈다 */
|
|
2559
2691
|
export declare const appBuildStageSchema: z.ZodEnum<{
|
|
2692
|
+
UPLOAD: "UPLOAD";
|
|
2560
2693
|
DEPENDENCIES: "DEPENDENCIES";
|
|
2561
2694
|
VERIFY: "VERIFY";
|
|
2562
2695
|
INSTALL: "INSTALL";
|
|
2563
2696
|
TYPECHECK: "TYPECHECK";
|
|
2564
2697
|
BUILD: "BUILD";
|
|
2565
2698
|
BUNDLE: "BUNDLE";
|
|
2566
|
-
UPLOAD: "UPLOAD";
|
|
2567
2699
|
}>;
|
|
2568
2700
|
export type AppBuildStage = z.infer<typeof appBuildStageSchema>;
|
|
2569
2701
|
export declare const appBuildSchema: z.ZodObject<{
|
|
2570
2702
|
buildId: z.ZodString;
|
|
2571
2703
|
status: z.ZodEnum<{
|
|
2572
2704
|
FAILED: "FAILED";
|
|
2573
|
-
QUEUED: "QUEUED";
|
|
2574
|
-
RUNNING: "RUNNING";
|
|
2575
2705
|
SUCCEEDED: "SUCCEEDED";
|
|
2706
|
+
RUNNING: "RUNNING";
|
|
2707
|
+
QUEUED: "QUEUED";
|
|
2576
2708
|
TIMED_OUT: "TIMED_OUT";
|
|
2577
2709
|
}>;
|
|
2578
2710
|
stages: z.ZodArray<z.ZodObject<{
|
|
@@ -2596,9 +2728,9 @@ export declare const appVersionSchema: z.ZodObject<{
|
|
|
2596
2728
|
number: z.ZodNumber;
|
|
2597
2729
|
status: z.ZodEnum<{
|
|
2598
2730
|
FAILED: "FAILED";
|
|
2731
|
+
REVOKED: "REVOKED";
|
|
2599
2732
|
BUILDING: "BUILDING";
|
|
2600
2733
|
READY: "READY";
|
|
2601
|
-
REVOKED: "REVOKED";
|
|
2602
2734
|
}>;
|
|
2603
2735
|
current: z.ZodBoolean;
|
|
2604
2736
|
message: z.ZodNullable<z.ZodString>;
|
|
@@ -2614,9 +2746,9 @@ export declare const appVersionSchema: z.ZodObject<{
|
|
|
2614
2746
|
buildId: z.ZodString;
|
|
2615
2747
|
status: z.ZodEnum<{
|
|
2616
2748
|
FAILED: "FAILED";
|
|
2617
|
-
QUEUED: "QUEUED";
|
|
2618
|
-
RUNNING: "RUNNING";
|
|
2619
2749
|
SUCCEEDED: "SUCCEEDED";
|
|
2750
|
+
RUNNING: "RUNNING";
|
|
2751
|
+
QUEUED: "QUEUED";
|
|
2620
2752
|
TIMED_OUT: "TIMED_OUT";
|
|
2621
2753
|
}>;
|
|
2622
2754
|
stages: z.ZodArray<z.ZodObject<{
|
|
@@ -2634,6 +2766,11 @@ export declare const appVersionSchema: z.ZodObject<{
|
|
|
2634
2766
|
createdAt: z.ZodString;
|
|
2635
2767
|
finishedAt: z.ZodNullable<z.ZodString>;
|
|
2636
2768
|
}, z.core.$strip>>;
|
|
2769
|
+
listing: z.ZodDefault<z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
2770
|
+
description: z.ZodNullable<z.ZodString>;
|
|
2771
|
+
iconUrl: z.ZodNullable<z.ZodString>;
|
|
2772
|
+
readme: z.ZodNullable<z.ZodString>;
|
|
2773
|
+
}, z.core.$strip>>>>;
|
|
2637
2774
|
releasedAt: z.ZodNullable<z.ZodString>;
|
|
2638
2775
|
revokedAt: z.ZodNullable<z.ZodString>;
|
|
2639
2776
|
createdAt: z.ZodString;
|
|
@@ -2657,8 +2794,8 @@ export declare const developerAppSchema: z.ZodObject<{
|
|
|
2657
2794
|
EXTERNAL: "EXTERNAL";
|
|
2658
2795
|
}>;
|
|
2659
2796
|
status: z.ZodEnum<{
|
|
2660
|
-
ACTIVE: "ACTIVE";
|
|
2661
2797
|
SUSPENDED: "SUSPENDED";
|
|
2798
|
+
ACTIVE: "ACTIVE";
|
|
2662
2799
|
DELETED: "DELETED";
|
|
2663
2800
|
}>;
|
|
2664
2801
|
suspendedReason: z.ZodNullable<z.ZodString>;
|
|
@@ -2688,6 +2825,16 @@ export declare const appArtifactUploadSchema: z.ZodObject<{
|
|
|
2688
2825
|
content: z.ZodString;
|
|
2689
2826
|
}, z.core.$strip>>>;
|
|
2690
2827
|
message: z.ZodOptional<z.ZodString>;
|
|
2828
|
+
listing: z.ZodDefault<z.ZodObject<{
|
|
2829
|
+
icon: z.ZodDefault<z.ZodNullable<z.ZodObject<{
|
|
2830
|
+
contentType: z.ZodEnum<{
|
|
2831
|
+
"image/png": "image/png";
|
|
2832
|
+
"image/svg+xml": "image/svg+xml";
|
|
2833
|
+
}>;
|
|
2834
|
+
content: z.ZodString;
|
|
2835
|
+
}, z.core.$strip>>>;
|
|
2836
|
+
readme: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
2837
|
+
}, z.core.$strip>>;
|
|
2691
2838
|
}, z.core.$strip>;
|
|
2692
2839
|
export type AppArtifactUpload = z.infer<typeof appArtifactUploadSchema>;
|
|
2693
2840
|
export declare const appReleaseResultSchema: z.ZodObject<{
|
|
@@ -2696,9 +2843,9 @@ export declare const appReleaseResultSchema: z.ZodObject<{
|
|
|
2696
2843
|
number: z.ZodNumber;
|
|
2697
2844
|
status: z.ZodEnum<{
|
|
2698
2845
|
FAILED: "FAILED";
|
|
2846
|
+
REVOKED: "REVOKED";
|
|
2699
2847
|
BUILDING: "BUILDING";
|
|
2700
2848
|
READY: "READY";
|
|
2701
|
-
REVOKED: "REVOKED";
|
|
2702
2849
|
}>;
|
|
2703
2850
|
current: z.ZodBoolean;
|
|
2704
2851
|
message: z.ZodNullable<z.ZodString>;
|
|
@@ -2714,9 +2861,9 @@ export declare const appReleaseResultSchema: z.ZodObject<{
|
|
|
2714
2861
|
buildId: z.ZodString;
|
|
2715
2862
|
status: z.ZodEnum<{
|
|
2716
2863
|
FAILED: "FAILED";
|
|
2717
|
-
QUEUED: "QUEUED";
|
|
2718
|
-
RUNNING: "RUNNING";
|
|
2719
2864
|
SUCCEEDED: "SUCCEEDED";
|
|
2865
|
+
RUNNING: "RUNNING";
|
|
2866
|
+
QUEUED: "QUEUED";
|
|
2720
2867
|
TIMED_OUT: "TIMED_OUT";
|
|
2721
2868
|
}>;
|
|
2722
2869
|
stages: z.ZodArray<z.ZodObject<{
|
|
@@ -2734,6 +2881,11 @@ export declare const appReleaseResultSchema: z.ZodObject<{
|
|
|
2734
2881
|
createdAt: z.ZodString;
|
|
2735
2882
|
finishedAt: z.ZodNullable<z.ZodString>;
|
|
2736
2883
|
}, z.core.$strip>>;
|
|
2884
|
+
listing: z.ZodDefault<z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
2885
|
+
description: z.ZodNullable<z.ZodString>;
|
|
2886
|
+
iconUrl: z.ZodNullable<z.ZodString>;
|
|
2887
|
+
readme: z.ZodNullable<z.ZodString>;
|
|
2888
|
+
}, z.core.$strip>>>>;
|
|
2737
2889
|
releasedAt: z.ZodNullable<z.ZodString>;
|
|
2738
2890
|
revokedAt: z.ZodNullable<z.ZodString>;
|
|
2739
2891
|
createdAt: z.ZodString;
|
|
@@ -2752,9 +2904,9 @@ export declare const devStoreSchema: z.ZodObject<{
|
|
|
2752
2904
|
name: z.ZodString;
|
|
2753
2905
|
storeCode: z.ZodString;
|
|
2754
2906
|
status: z.ZodEnum<{
|
|
2755
|
-
ACTIVE: "ACTIVE";
|
|
2756
2907
|
SUSPENDED: "SUSPENDED";
|
|
2757
2908
|
CLOSED: "CLOSED";
|
|
2909
|
+
ACTIVE: "ACTIVE";
|
|
2758
2910
|
}>;
|
|
2759
2911
|
createdAt: z.ZodString;
|
|
2760
2912
|
}, z.core.$strip>;
|
|
@@ -2765,8 +2917,8 @@ export declare const developerInstallationSchema: z.ZodObject<{
|
|
|
2765
2917
|
storeId: z.ZodString;
|
|
2766
2918
|
storeName: z.ZodString;
|
|
2767
2919
|
status: z.ZodEnum<{
|
|
2768
|
-
ACTIVE: "ACTIVE";
|
|
2769
2920
|
SUSPENDED: "SUSPENDED";
|
|
2921
|
+
ACTIVE: "ACTIVE";
|
|
2770
2922
|
UNINSTALLED: "UNINSTALLED";
|
|
2771
2923
|
}>;
|
|
2772
2924
|
versionNumber: z.ZodNullable<z.ZodNumber>;
|
|
@@ -2797,8 +2949,8 @@ export declare const appInvocationSchema: z.ZodObject<{
|
|
|
2797
2949
|
eventType: z.ZodNullable<z.ZodString>;
|
|
2798
2950
|
outcome: z.ZodEnum<{
|
|
2799
2951
|
REJECTED: "REJECTED";
|
|
2800
|
-
OK: "OK";
|
|
2801
2952
|
ERROR: "ERROR";
|
|
2953
|
+
OK: "OK";
|
|
2802
2954
|
LIMIT_EXCEEDED: "LIMIT_EXCEEDED";
|
|
2803
2955
|
}>;
|
|
2804
2956
|
errorMessage: z.ZodNullable<z.ZodString>;
|
|
@@ -3110,14 +3262,14 @@ export declare const bulkResultSchema: z.ZodObject<{
|
|
|
3110
3262
|
}, z.core.$strip>;
|
|
3111
3263
|
export type BulkResult = z.infer<typeof bulkResultSchema>;
|
|
3112
3264
|
export declare const orderItemStatusSchema: z.ZodEnum<{
|
|
3113
|
-
PAYMENT_WAITING: "PAYMENT_WAITING";
|
|
3114
3265
|
PAID: "PAID";
|
|
3266
|
+
CANCELED: "CANCELED";
|
|
3267
|
+
PAYMENT_WAITING: "PAYMENT_WAITING";
|
|
3115
3268
|
CONFIRMED: "CONFIRMED";
|
|
3116
3269
|
DISPATCHED: "DISPATCHED";
|
|
3117
3270
|
DELIVERING: "DELIVERING";
|
|
3118
3271
|
DELIVERED: "DELIVERED";
|
|
3119
3272
|
PURCHASE_DECIDED: "PURCHASE_DECIDED";
|
|
3120
|
-
CANCELED: "CANCELED";
|
|
3121
3273
|
}>;
|
|
3122
3274
|
export type OrderItemStatus = z.infer<typeof orderItemStatusSchema>;
|
|
3123
3275
|
export declare const changeTypeSchema: z.ZodEnum<{
|
|
@@ -3136,20 +3288,20 @@ export type ChangeType = z.infer<typeof changeTypeSchema>;
|
|
|
3136
3288
|
//#endregion
|
|
3137
3289
|
//#region src/schemas/claim.d.ts
|
|
3138
3290
|
export declare const claimTypeSchema: z.ZodEnum<{
|
|
3139
|
-
CANCEL: "CANCEL";
|
|
3140
3291
|
RETURN: "RETURN";
|
|
3141
3292
|
EXCHANGE: "EXCHANGE";
|
|
3293
|
+
CANCEL: "CANCEL";
|
|
3142
3294
|
}>;
|
|
3143
3295
|
export type ClaimType = z.infer<typeof claimTypeSchema>;
|
|
3144
3296
|
export declare const claimStatusSchema: z.ZodEnum<{
|
|
3297
|
+
REJECTED: "REJECTED";
|
|
3298
|
+
COMPLETED: "COMPLETED";
|
|
3145
3299
|
REQUESTED: "REQUESTED";
|
|
3146
3300
|
HELD: "HELD";
|
|
3147
3301
|
COLLECTING: "COLLECTING";
|
|
3148
3302
|
COLLECTED: "COLLECTED";
|
|
3149
3303
|
REDELIVERING: "REDELIVERING";
|
|
3150
3304
|
APPROVED: "APPROVED";
|
|
3151
|
-
REJECTED: "REJECTED";
|
|
3152
|
-
COMPLETED: "COMPLETED";
|
|
3153
3305
|
WITHDRAWN: "WITHDRAWN";
|
|
3154
3306
|
}>;
|
|
3155
3307
|
export type ClaimStatus = z.infer<typeof claimStatusSchema>;
|
|
@@ -3182,19 +3334,19 @@ export declare const claimSchema: z.ZodObject<{
|
|
|
3182
3334
|
claimId: z.ZodString;
|
|
3183
3335
|
claimNo: z.ZodDefault<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
3184
3336
|
type: z.ZodEnum<{
|
|
3185
|
-
CANCEL: "CANCEL";
|
|
3186
3337
|
RETURN: "RETURN";
|
|
3187
3338
|
EXCHANGE: "EXCHANGE";
|
|
3339
|
+
CANCEL: "CANCEL";
|
|
3188
3340
|
}>;
|
|
3189
3341
|
status: z.ZodEnum<{
|
|
3342
|
+
REJECTED: "REJECTED";
|
|
3343
|
+
COMPLETED: "COMPLETED";
|
|
3190
3344
|
REQUESTED: "REQUESTED";
|
|
3191
3345
|
HELD: "HELD";
|
|
3192
3346
|
COLLECTING: "COLLECTING";
|
|
3193
3347
|
COLLECTED: "COLLECTED";
|
|
3194
3348
|
REDELIVERING: "REDELIVERING";
|
|
3195
3349
|
APPROVED: "APPROVED";
|
|
3196
|
-
REJECTED: "REJECTED";
|
|
3197
|
-
COMPLETED: "COMPLETED";
|
|
3198
3350
|
WITHDRAWN: "WITHDRAWN";
|
|
3199
3351
|
}>;
|
|
3200
3352
|
orderId: z.ZodString;
|
|
@@ -3211,8 +3363,8 @@ export declare const claimSchema: z.ZodObject<{
|
|
|
3211
3363
|
}>;
|
|
3212
3364
|
reasonDetail: z.ZodNullable<z.ZodString>;
|
|
3213
3365
|
responsibility: z.ZodEnum<{
|
|
3214
|
-
SELLER: "SELLER";
|
|
3215
3366
|
BUYER: "BUYER";
|
|
3367
|
+
SELLER: "SELLER";
|
|
3216
3368
|
}>;
|
|
3217
3369
|
claimDeliveryFee: z.ZodNumber;
|
|
3218
3370
|
expectedRefundAmount: z.ZodNullable<z.ZodNumber>;
|
|
@@ -3258,9 +3410,9 @@ export declare const claimListQuerySchema: z.ZodObject<{
|
|
|
3258
3410
|
page: z.ZodOptional<z.ZodString>;
|
|
3259
3411
|
size: z.ZodOptional<z.ZodString>;
|
|
3260
3412
|
type: z.ZodOptional<z.ZodEnum<{
|
|
3261
|
-
CANCEL: "CANCEL";
|
|
3262
3413
|
RETURN: "RETURN";
|
|
3263
3414
|
EXCHANGE: "EXCHANGE";
|
|
3415
|
+
CANCEL: "CANCEL";
|
|
3264
3416
|
}>>;
|
|
3265
3417
|
status: z.ZodOptional<z.ZodString>;
|
|
3266
3418
|
orderItemId: z.ZodOptional<z.ZodString>;
|
|
@@ -3272,19 +3424,19 @@ export declare const claimDetailSchema: z.ZodObject<{
|
|
|
3272
3424
|
claimId: z.ZodString;
|
|
3273
3425
|
claimNo: z.ZodDefault<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
3274
3426
|
type: z.ZodEnum<{
|
|
3275
|
-
CANCEL: "CANCEL";
|
|
3276
3427
|
RETURN: "RETURN";
|
|
3277
3428
|
EXCHANGE: "EXCHANGE";
|
|
3429
|
+
CANCEL: "CANCEL";
|
|
3278
3430
|
}>;
|
|
3279
3431
|
status: z.ZodEnum<{
|
|
3432
|
+
REJECTED: "REJECTED";
|
|
3433
|
+
COMPLETED: "COMPLETED";
|
|
3280
3434
|
REQUESTED: "REQUESTED";
|
|
3281
3435
|
HELD: "HELD";
|
|
3282
3436
|
COLLECTING: "COLLECTING";
|
|
3283
3437
|
COLLECTED: "COLLECTED";
|
|
3284
3438
|
REDELIVERING: "REDELIVERING";
|
|
3285
3439
|
APPROVED: "APPROVED";
|
|
3286
|
-
REJECTED: "REJECTED";
|
|
3287
|
-
COMPLETED: "COMPLETED";
|
|
3288
3440
|
WITHDRAWN: "WITHDRAWN";
|
|
3289
3441
|
}>;
|
|
3290
3442
|
orderId: z.ZodString;
|
|
@@ -3301,8 +3453,8 @@ export declare const claimDetailSchema: z.ZodObject<{
|
|
|
3301
3453
|
}>;
|
|
3302
3454
|
reasonDetail: z.ZodNullable<z.ZodString>;
|
|
3303
3455
|
responsibility: z.ZodEnum<{
|
|
3304
|
-
SELLER: "SELLER";
|
|
3305
3456
|
BUYER: "BUYER";
|
|
3457
|
+
SELLER: "SELLER";
|
|
3306
3458
|
}>;
|
|
3307
3459
|
claimDeliveryFee: z.ZodNumber;
|
|
3308
3460
|
expectedRefundAmount: z.ZodNullable<z.ZodNumber>;
|
|
@@ -3335,20 +3487,20 @@ export declare const claimDetailSchema: z.ZodObject<{
|
|
|
3335
3487
|
}, z.core.$strip>>;
|
|
3336
3488
|
histories: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
3337
3489
|
status: z.ZodEnum<{
|
|
3490
|
+
REJECTED: "REJECTED";
|
|
3491
|
+
COMPLETED: "COMPLETED";
|
|
3338
3492
|
REQUESTED: "REQUESTED";
|
|
3339
3493
|
HELD: "HELD";
|
|
3340
3494
|
COLLECTING: "COLLECTING";
|
|
3341
3495
|
COLLECTED: "COLLECTED";
|
|
3342
3496
|
REDELIVERING: "REDELIVERING";
|
|
3343
3497
|
APPROVED: "APPROVED";
|
|
3344
|
-
REJECTED: "REJECTED";
|
|
3345
|
-
COMPLETED: "COMPLETED";
|
|
3346
3498
|
WITHDRAWN: "WITHDRAWN";
|
|
3347
3499
|
}>;
|
|
3348
3500
|
actor: z.ZodEnum<{
|
|
3349
3501
|
SYSTEM: "SYSTEM";
|
|
3350
|
-
SELLER: "SELLER";
|
|
3351
3502
|
BUYER: "BUYER";
|
|
3503
|
+
SELLER: "SELLER";
|
|
3352
3504
|
}>;
|
|
3353
3505
|
occurredAt: z.ZodString;
|
|
3354
3506
|
}, z.core.$strip>>>;
|
|
@@ -3417,9 +3569,9 @@ export type CollectionType = (typeof COLLECTION_TYPES)[number];
|
|
|
3417
3569
|
export declare const COLLECTION_PRODUCT_SORTS: readonly ["MANUAL", "LATEST", "BEST_SELLING", "PRICE_ASC", "PRICE_DESC", "REVIEW_COUNT", "RATING_DESC", "RECOMMEND"];
|
|
3418
3570
|
export type CollectionProductSort = (typeof COLLECTION_PRODUCT_SORTS)[number];
|
|
3419
3571
|
export declare const collectionProductSortRequestSchema: z.ZodEnum<{
|
|
3420
|
-
MANUAL: "MANUAL";
|
|
3421
3572
|
PRICE_ASC: "PRICE_ASC";
|
|
3422
3573
|
PRICE_DESC: "PRICE_DESC";
|
|
3574
|
+
MANUAL: "MANUAL";
|
|
3423
3575
|
LATEST: "LATEST";
|
|
3424
3576
|
BEST_SELLING: "BEST_SELLING";
|
|
3425
3577
|
REVIEW_COUNT: "REVIEW_COUNT";
|
|
@@ -3654,9 +3806,9 @@ export declare const collectionCreateRequestSchema: z.ZodObject<{
|
|
|
3654
3806
|
description: z.ZodDefault<z.ZodString>;
|
|
3655
3807
|
imageUrl: z.ZodOptional<z.ZodNullable<z.ZodURL>>;
|
|
3656
3808
|
productSort: z.ZodOptional<z.ZodEnum<{
|
|
3657
|
-
MANUAL: "MANUAL";
|
|
3658
3809
|
PRICE_ASC: "PRICE_ASC";
|
|
3659
3810
|
PRICE_DESC: "PRICE_DESC";
|
|
3811
|
+
MANUAL: "MANUAL";
|
|
3660
3812
|
LATEST: "LATEST";
|
|
3661
3813
|
BEST_SELLING: "BEST_SELLING";
|
|
3662
3814
|
REVIEW_COUNT: "REVIEW_COUNT";
|
|
@@ -3702,9 +3854,9 @@ export declare const collectionPatchRequestSchema: z.ZodObject<{
|
|
|
3702
3854
|
description: z.ZodOptional<z.ZodString>;
|
|
3703
3855
|
imageUrl: z.ZodOptional<z.ZodNullable<z.ZodURL>>;
|
|
3704
3856
|
productSort: z.ZodOptional<z.ZodEnum<{
|
|
3705
|
-
MANUAL: "MANUAL";
|
|
3706
3857
|
PRICE_ASC: "PRICE_ASC";
|
|
3707
3858
|
PRICE_DESC: "PRICE_DESC";
|
|
3859
|
+
MANUAL: "MANUAL";
|
|
3708
3860
|
LATEST: "LATEST";
|
|
3709
3861
|
BEST_SELLING: "BEST_SELLING";
|
|
3710
3862
|
REVIEW_COUNT: "REVIEW_COUNT";
|
|
@@ -3859,9 +4011,9 @@ export declare const collectionPreviewRequestSchema: z.ZodObject<{
|
|
|
3859
4011
|
top: z.ZodNumber;
|
|
3860
4012
|
}, z.core.$strip>], "field">>;
|
|
3861
4013
|
productSort: z.ZodOptional<z.ZodEnum<{
|
|
3862
|
-
MANUAL: "MANUAL";
|
|
3863
4014
|
PRICE_ASC: "PRICE_ASC";
|
|
3864
4015
|
PRICE_DESC: "PRICE_DESC";
|
|
4016
|
+
MANUAL: "MANUAL";
|
|
3865
4017
|
LATEST: "LATEST";
|
|
3866
4018
|
BEST_SELLING: "BEST_SELLING";
|
|
3867
4019
|
REVIEW_COUNT: "REVIEW_COUNT";
|
|
@@ -3914,8 +4066,8 @@ export declare const flowActionSchema: z.ZodObject<{
|
|
|
3914
4066
|
key: z.ZodString;
|
|
3915
4067
|
label: z.ZodString;
|
|
3916
4068
|
mode: z.ZodEnum<{
|
|
3917
|
-
INSTANT: "INSTANT";
|
|
3918
4069
|
REQUEST: "REQUEST";
|
|
4070
|
+
INSTANT: "INSTANT";
|
|
3919
4071
|
VIEW: "VIEW";
|
|
3920
4072
|
}>;
|
|
3921
4073
|
enabled: z.ZodBoolean;
|
|
@@ -3956,24 +4108,24 @@ export declare const flowStateSchema: z.ZodObject<{
|
|
|
3956
4108
|
key: z.ZodString;
|
|
3957
4109
|
label: z.ZodString;
|
|
3958
4110
|
coreStatus: z.ZodOptional<z.ZodEnum<{
|
|
3959
|
-
PAYMENT_WAITING: "PAYMENT_WAITING";
|
|
3960
4111
|
PAID: "PAID";
|
|
4112
|
+
CANCELED: "CANCELED";
|
|
4113
|
+
PAYMENT_WAITING: "PAYMENT_WAITING";
|
|
3961
4114
|
CONFIRMED: "CONFIRMED";
|
|
3962
4115
|
DISPATCHED: "DISPATCHED";
|
|
3963
4116
|
DELIVERING: "DELIVERING";
|
|
3964
4117
|
DELIVERED: "DELIVERED";
|
|
3965
4118
|
PURCHASE_DECIDED: "PURCHASE_DECIDED";
|
|
3966
|
-
CANCELED: "CANCELED";
|
|
3967
4119
|
}>>;
|
|
3968
4120
|
claimStatus: z.ZodOptional<z.ZodEnum<{
|
|
4121
|
+
REJECTED: "REJECTED";
|
|
4122
|
+
COMPLETED: "COMPLETED";
|
|
3969
4123
|
REQUESTED: "REQUESTED";
|
|
3970
4124
|
HELD: "HELD";
|
|
3971
4125
|
COLLECTING: "COLLECTING";
|
|
3972
4126
|
COLLECTED: "COLLECTED";
|
|
3973
4127
|
REDELIVERING: "REDELIVERING";
|
|
3974
4128
|
APPROVED: "APPROVED";
|
|
3975
|
-
REJECTED: "REJECTED";
|
|
3976
|
-
COMPLETED: "COMPLETED";
|
|
3977
4129
|
WITHDRAWN: "WITHDRAWN";
|
|
3978
4130
|
}>>;
|
|
3979
4131
|
message: z.ZodOptional<z.ZodString>;
|
|
@@ -4005,24 +4157,24 @@ export declare const orderItemFlowSchema: z.ZodObject<{
|
|
|
4005
4157
|
key: z.ZodString;
|
|
4006
4158
|
label: z.ZodString;
|
|
4007
4159
|
coreStatus: z.ZodOptional<z.ZodEnum<{
|
|
4008
|
-
PAYMENT_WAITING: "PAYMENT_WAITING";
|
|
4009
4160
|
PAID: "PAID";
|
|
4161
|
+
CANCELED: "CANCELED";
|
|
4162
|
+
PAYMENT_WAITING: "PAYMENT_WAITING";
|
|
4010
4163
|
CONFIRMED: "CONFIRMED";
|
|
4011
4164
|
DISPATCHED: "DISPATCHED";
|
|
4012
4165
|
DELIVERING: "DELIVERING";
|
|
4013
4166
|
DELIVERED: "DELIVERED";
|
|
4014
4167
|
PURCHASE_DECIDED: "PURCHASE_DECIDED";
|
|
4015
|
-
CANCELED: "CANCELED";
|
|
4016
4168
|
}>>;
|
|
4017
4169
|
claimStatus: z.ZodOptional<z.ZodEnum<{
|
|
4170
|
+
REJECTED: "REJECTED";
|
|
4171
|
+
COMPLETED: "COMPLETED";
|
|
4018
4172
|
REQUESTED: "REQUESTED";
|
|
4019
4173
|
HELD: "HELD";
|
|
4020
4174
|
COLLECTING: "COLLECTING";
|
|
4021
4175
|
COLLECTED: "COLLECTED";
|
|
4022
4176
|
REDELIVERING: "REDELIVERING";
|
|
4023
4177
|
APPROVED: "APPROVED";
|
|
4024
|
-
REJECTED: "REJECTED";
|
|
4025
|
-
COMPLETED: "COMPLETED";
|
|
4026
4178
|
WITHDRAWN: "WITHDRAWN";
|
|
4027
4179
|
}>>;
|
|
4028
4180
|
message: z.ZodOptional<z.ZodString>;
|
|
@@ -4047,8 +4199,8 @@ export declare const orderItemFlowSchema: z.ZodObject<{
|
|
|
4047
4199
|
key: z.ZodString;
|
|
4048
4200
|
label: z.ZodString;
|
|
4049
4201
|
mode: z.ZodEnum<{
|
|
4050
|
-
INSTANT: "INSTANT";
|
|
4051
4202
|
REQUEST: "REQUEST";
|
|
4203
|
+
INSTANT: "INSTANT";
|
|
4052
4204
|
VIEW: "VIEW";
|
|
4053
4205
|
}>;
|
|
4054
4206
|
enabled: z.ZodBoolean;
|
|
@@ -4091,38 +4243,38 @@ export declare const orderItemFlowSchema: z.ZodObject<{
|
|
|
4091
4243
|
key: z.ZodString;
|
|
4092
4244
|
label: z.ZodString;
|
|
4093
4245
|
coreStatus: z.ZodNullable<z.ZodEnum<{
|
|
4094
|
-
PAYMENT_WAITING: "PAYMENT_WAITING";
|
|
4095
4246
|
PAID: "PAID";
|
|
4247
|
+
CANCELED: "CANCELED";
|
|
4248
|
+
PAYMENT_WAITING: "PAYMENT_WAITING";
|
|
4096
4249
|
CONFIRMED: "CONFIRMED";
|
|
4097
4250
|
DISPATCHED: "DISPATCHED";
|
|
4098
4251
|
DELIVERING: "DELIVERING";
|
|
4099
4252
|
DELIVERED: "DELIVERED";
|
|
4100
4253
|
PURCHASE_DECIDED: "PURCHASE_DECIDED";
|
|
4101
|
-
CANCELED: "CANCELED";
|
|
4102
4254
|
}>>;
|
|
4103
4255
|
}, z.core.$strip>>>;
|
|
4104
4256
|
branches: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
4105
4257
|
key: z.ZodString;
|
|
4106
4258
|
label: z.ZodString;
|
|
4107
4259
|
coreStatus: z.ZodOptional<z.ZodEnum<{
|
|
4108
|
-
PAYMENT_WAITING: "PAYMENT_WAITING";
|
|
4109
4260
|
PAID: "PAID";
|
|
4261
|
+
CANCELED: "CANCELED";
|
|
4262
|
+
PAYMENT_WAITING: "PAYMENT_WAITING";
|
|
4110
4263
|
CONFIRMED: "CONFIRMED";
|
|
4111
4264
|
DISPATCHED: "DISPATCHED";
|
|
4112
4265
|
DELIVERING: "DELIVERING";
|
|
4113
4266
|
DELIVERED: "DELIVERED";
|
|
4114
4267
|
PURCHASE_DECIDED: "PURCHASE_DECIDED";
|
|
4115
|
-
CANCELED: "CANCELED";
|
|
4116
4268
|
}>>;
|
|
4117
4269
|
claimStatus: z.ZodOptional<z.ZodEnum<{
|
|
4270
|
+
REJECTED: "REJECTED";
|
|
4271
|
+
COMPLETED: "COMPLETED";
|
|
4118
4272
|
REQUESTED: "REQUESTED";
|
|
4119
4273
|
HELD: "HELD";
|
|
4120
4274
|
COLLECTING: "COLLECTING";
|
|
4121
4275
|
COLLECTED: "COLLECTED";
|
|
4122
4276
|
REDELIVERING: "REDELIVERING";
|
|
4123
4277
|
APPROVED: "APPROVED";
|
|
4124
|
-
REJECTED: "REJECTED";
|
|
4125
|
-
COMPLETED: "COMPLETED";
|
|
4126
4278
|
WITHDRAWN: "WITHDRAWN";
|
|
4127
4279
|
}>>;
|
|
4128
4280
|
message: z.ZodOptional<z.ZodString>;
|
|
@@ -4197,24 +4349,24 @@ export declare const flowActionResultSchema: z.ZodObject<{
|
|
|
4197
4349
|
key: z.ZodString;
|
|
4198
4350
|
label: z.ZodString;
|
|
4199
4351
|
coreStatus: z.ZodOptional<z.ZodEnum<{
|
|
4200
|
-
PAYMENT_WAITING: "PAYMENT_WAITING";
|
|
4201
4352
|
PAID: "PAID";
|
|
4353
|
+
CANCELED: "CANCELED";
|
|
4354
|
+
PAYMENT_WAITING: "PAYMENT_WAITING";
|
|
4202
4355
|
CONFIRMED: "CONFIRMED";
|
|
4203
4356
|
DISPATCHED: "DISPATCHED";
|
|
4204
4357
|
DELIVERING: "DELIVERING";
|
|
4205
4358
|
DELIVERED: "DELIVERED";
|
|
4206
4359
|
PURCHASE_DECIDED: "PURCHASE_DECIDED";
|
|
4207
|
-
CANCELED: "CANCELED";
|
|
4208
4360
|
}>>;
|
|
4209
4361
|
claimStatus: z.ZodOptional<z.ZodEnum<{
|
|
4362
|
+
REJECTED: "REJECTED";
|
|
4363
|
+
COMPLETED: "COMPLETED";
|
|
4210
4364
|
REQUESTED: "REQUESTED";
|
|
4211
4365
|
HELD: "HELD";
|
|
4212
4366
|
COLLECTING: "COLLECTING";
|
|
4213
4367
|
COLLECTED: "COLLECTED";
|
|
4214
4368
|
REDELIVERING: "REDELIVERING";
|
|
4215
4369
|
APPROVED: "APPROVED";
|
|
4216
|
-
REJECTED: "REJECTED";
|
|
4217
|
-
COMPLETED: "COMPLETED";
|
|
4218
4370
|
WITHDRAWN: "WITHDRAWN";
|
|
4219
4371
|
}>>;
|
|
4220
4372
|
message: z.ZodOptional<z.ZodString>;
|
|
@@ -4239,8 +4391,8 @@ export declare const flowActionResultSchema: z.ZodObject<{
|
|
|
4239
4391
|
key: z.ZodString;
|
|
4240
4392
|
label: z.ZodString;
|
|
4241
4393
|
mode: z.ZodEnum<{
|
|
4242
|
-
INSTANT: "INSTANT";
|
|
4243
4394
|
REQUEST: "REQUEST";
|
|
4395
|
+
INSTANT: "INSTANT";
|
|
4244
4396
|
VIEW: "VIEW";
|
|
4245
4397
|
}>;
|
|
4246
4398
|
enabled: z.ZodBoolean;
|
|
@@ -4331,8 +4483,8 @@ export type CommerceFlowSummary = z.infer<typeof commerceFlowSummarySchema>;
|
|
|
4331
4483
|
export declare const commerceFlowVersionViewSchema: z.ZodObject<{
|
|
4332
4484
|
version: z.ZodNumber;
|
|
4333
4485
|
status: z.ZodEnum<{
|
|
4334
|
-
DRAFT: "DRAFT";
|
|
4335
4486
|
ACTIVE: "ACTIVE";
|
|
4487
|
+
DRAFT: "DRAFT";
|
|
4336
4488
|
LEGACY: "LEGACY";
|
|
4337
4489
|
}>;
|
|
4338
4490
|
revision: z.ZodNumber;
|
|
@@ -4363,8 +4515,8 @@ export declare const commerceFlowSchema: z.ZodObject<{
|
|
|
4363
4515
|
draft: z.ZodNullable<z.ZodObject<{
|
|
4364
4516
|
version: z.ZodNumber;
|
|
4365
4517
|
status: z.ZodEnum<{
|
|
4366
|
-
DRAFT: "DRAFT";
|
|
4367
4518
|
ACTIVE: "ACTIVE";
|
|
4519
|
+
DRAFT: "DRAFT";
|
|
4368
4520
|
LEGACY: "LEGACY";
|
|
4369
4521
|
}>;
|
|
4370
4522
|
revision: z.ZodNumber;
|
|
@@ -4376,8 +4528,8 @@ export declare const commerceFlowSchema: z.ZodObject<{
|
|
|
4376
4528
|
active: z.ZodNullable<z.ZodObject<{
|
|
4377
4529
|
version: z.ZodNumber;
|
|
4378
4530
|
status: z.ZodEnum<{
|
|
4379
|
-
DRAFT: "DRAFT";
|
|
4380
4531
|
ACTIVE: "ACTIVE";
|
|
4532
|
+
DRAFT: "DRAFT";
|
|
4381
4533
|
LEGACY: "LEGACY";
|
|
4382
4534
|
}>;
|
|
4383
4535
|
revision: z.ZodNumber;
|
|
@@ -4389,8 +4541,8 @@ export declare const commerceFlowSchema: z.ZodObject<{
|
|
|
4389
4541
|
versions: z.ZodArray<z.ZodObject<{
|
|
4390
4542
|
version: z.ZodNumber;
|
|
4391
4543
|
status: z.ZodEnum<{
|
|
4392
|
-
DRAFT: "DRAFT";
|
|
4393
4544
|
ACTIVE: "ACTIVE";
|
|
4545
|
+
DRAFT: "DRAFT";
|
|
4394
4546
|
LEGACY: "LEGACY";
|
|
4395
4547
|
}>;
|
|
4396
4548
|
publishedAt: z.ZodNullable<z.ZodString>;
|
|
@@ -4482,9 +4634,9 @@ export declare const orderFlowActionResultSchema: z.ZodObject<{
|
|
|
4482
4634
|
results: z.ZodArray<z.ZodObject<{
|
|
4483
4635
|
orderItemId: z.ZodString;
|
|
4484
4636
|
status: z.ZodEnum<{
|
|
4637
|
+
FAILED: "FAILED";
|
|
4485
4638
|
COMPLETED: "COMPLETED";
|
|
4486
4639
|
SKIPPED: "SKIPPED";
|
|
4487
|
-
FAILED: "FAILED";
|
|
4488
4640
|
}>;
|
|
4489
4641
|
reason: z.ZodOptional<z.ZodString>;
|
|
4490
4642
|
message: z.ZodOptional<z.ZodString>;
|
|
@@ -4609,8 +4761,8 @@ export declare const flowNodeTypesSchema: z.ZodObject<{
|
|
|
4609
4761
|
}>;
|
|
4610
4762
|
label: z.ZodString;
|
|
4611
4763
|
mode: z.ZodEnum<{
|
|
4612
|
-
INSTANT: "INSTANT";
|
|
4613
4764
|
REQUEST: "REQUEST";
|
|
4765
|
+
INSTANT: "INSTANT";
|
|
4614
4766
|
VIEW: "VIEW";
|
|
4615
4767
|
}>;
|
|
4616
4768
|
subflow: z.ZodOptional<z.ZodString>;
|
|
@@ -4670,8 +4822,8 @@ export declare const createCouponRequestSchema: z.ZodObject<{
|
|
|
4670
4822
|
name: z.ZodString;
|
|
4671
4823
|
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
4672
4824
|
kind: z.ZodEnum<{
|
|
4673
|
-
PRODUCT: "PRODUCT";
|
|
4674
4825
|
ORDER: "ORDER";
|
|
4826
|
+
PRODUCT: "PRODUCT";
|
|
4675
4827
|
DELIVERY: "DELIVERY";
|
|
4676
4828
|
}>;
|
|
4677
4829
|
benefit: z.ZodObject<{
|
|
@@ -4753,8 +4905,8 @@ export declare const couponSchema: z.ZodObject<{
|
|
|
4753
4905
|
name: z.ZodString;
|
|
4754
4906
|
description: z.ZodNullable<z.ZodString>;
|
|
4755
4907
|
kind: z.ZodEnum<{
|
|
4756
|
-
PRODUCT: "PRODUCT";
|
|
4757
4908
|
ORDER: "ORDER";
|
|
4909
|
+
PRODUCT: "PRODUCT";
|
|
4758
4910
|
DELIVERY: "DELIVERY";
|
|
4759
4911
|
}>;
|
|
4760
4912
|
benefit: z.ZodObject<{
|
|
@@ -4810,8 +4962,8 @@ export declare const couponListQuerySchema: z.ZodObject<{
|
|
|
4810
4962
|
ENDED: "ENDED";
|
|
4811
4963
|
}>>;
|
|
4812
4964
|
kind: z.ZodOptional<z.ZodEnum<{
|
|
4813
|
-
PRODUCT: "PRODUCT";
|
|
4814
4965
|
ORDER: "ORDER";
|
|
4966
|
+
PRODUCT: "PRODUCT";
|
|
4815
4967
|
DELIVERY: "DELIVERY";
|
|
4816
4968
|
}>>;
|
|
4817
4969
|
issueMethod: z.ZodOptional<z.ZodEnum<{
|
|
@@ -4843,9 +4995,9 @@ export declare const couponIssueListQuerySchema: z.ZodObject<{
|
|
|
4843
4995
|
size: z.ZodOptional<z.ZodString>;
|
|
4844
4996
|
status: z.ZodOptional<z.ZodEnum<{
|
|
4845
4997
|
AVAILABLE: "AVAILABLE";
|
|
4846
|
-
REVOKED: "REVOKED";
|
|
4847
4998
|
RESERVED: "RESERVED";
|
|
4848
4999
|
USED: "USED";
|
|
5000
|
+
REVOKED: "REVOKED";
|
|
4849
5001
|
}>>;
|
|
4850
5002
|
}, z.core.$strip>;
|
|
4851
5003
|
/** `POST /v1/coupons/{couponId}/issues` — 셀러 지급. 한 번에 1,000명까지 */
|
|
@@ -4917,8 +5069,8 @@ export declare const customerCouponSchema: z.ZodObject<{
|
|
|
4917
5069
|
revokedAt: z.ZodNullable<z.ZodString>;
|
|
4918
5070
|
couponName: z.ZodString;
|
|
4919
5071
|
kind: z.ZodEnum<{
|
|
4920
|
-
PRODUCT: "PRODUCT";
|
|
4921
5072
|
ORDER: "ORDER";
|
|
5073
|
+
PRODUCT: "PRODUCT";
|
|
4922
5074
|
DELIVERY: "DELIVERY";
|
|
4923
5075
|
}>;
|
|
4924
5076
|
benefit: z.ZodObject<{
|
|
@@ -5010,11 +5162,11 @@ export type ConsentAction = z.infer<typeof consentActionSchema>;
|
|
|
5010
5162
|
*/
|
|
5011
5163
|
export declare const consentSourceSchema: z.ZodEnum<{
|
|
5012
5164
|
SIGNUP: "SIGNUP";
|
|
5165
|
+
SELLER: "SELLER";
|
|
5013
5166
|
SOCIAL_SIGNUP: "SOCIAL_SIGNUP";
|
|
5014
5167
|
DELEGATED: "DELEGATED";
|
|
5015
5168
|
RECONSENT: "RECONSENT";
|
|
5016
5169
|
MEMBER_UPDATE: "MEMBER_UPDATE";
|
|
5017
|
-
SELLER: "SELLER";
|
|
5018
5170
|
}>;
|
|
5019
5171
|
export type ConsentSource = z.infer<typeof consentSourceSchema>;
|
|
5020
5172
|
/** 동의 이력 한 줄 — 추가만 되고 지워지지 않는다(구매자 탈퇴 시에만 함께 지워진다) */
|
|
@@ -5033,11 +5185,11 @@ export declare const customerConsentSchema: z.ZodObject<{
|
|
|
5033
5185
|
}>;
|
|
5034
5186
|
source: z.ZodEnum<{
|
|
5035
5187
|
SIGNUP: "SIGNUP";
|
|
5188
|
+
SELLER: "SELLER";
|
|
5036
5189
|
SOCIAL_SIGNUP: "SOCIAL_SIGNUP";
|
|
5037
5190
|
DELEGATED: "DELEGATED";
|
|
5038
5191
|
RECONSENT: "RECONSENT";
|
|
5039
5192
|
MEMBER_UPDATE: "MEMBER_UPDATE";
|
|
5040
|
-
SELLER: "SELLER";
|
|
5041
5193
|
}>;
|
|
5042
5194
|
occurredAt: z.ZodString;
|
|
5043
5195
|
}, z.core.$strip>;
|
|
@@ -5121,10 +5273,10 @@ export declare const customerDetailSchema: z.ZodObject<{
|
|
|
5121
5273
|
marketingAgreed: z.ZodBoolean;
|
|
5122
5274
|
loginMethods: z.ZodArray<z.ZodObject<{
|
|
5123
5275
|
method: z.ZodEnum<{
|
|
5124
|
-
password: "password";
|
|
5125
5276
|
kakao: "kakao";
|
|
5126
5277
|
naver: "naver";
|
|
5127
5278
|
google: "google";
|
|
5279
|
+
password: "password";
|
|
5128
5280
|
}>;
|
|
5129
5281
|
linkedAt: z.ZodString;
|
|
5130
5282
|
}, z.core.$strip>>;
|
|
@@ -5202,14 +5354,14 @@ export declare const customerOrderSchema: z.ZodObject<{
|
|
|
5202
5354
|
optionName: z.ZodNullable<z.ZodString>;
|
|
5203
5355
|
quantity: z.ZodNumber;
|
|
5204
5356
|
status: z.ZodEnum<{
|
|
5205
|
-
PAYMENT_WAITING: "PAYMENT_WAITING";
|
|
5206
5357
|
PAID: "PAID";
|
|
5358
|
+
CANCELED: "CANCELED";
|
|
5359
|
+
PAYMENT_WAITING: "PAYMENT_WAITING";
|
|
5207
5360
|
CONFIRMED: "CONFIRMED";
|
|
5208
5361
|
DISPATCHED: "DISPATCHED";
|
|
5209
5362
|
DELIVERING: "DELIVERING";
|
|
5210
5363
|
DELIVERED: "DELIVERED";
|
|
5211
5364
|
PURCHASE_DECIDED: "PURCHASE_DECIDED";
|
|
5212
|
-
CANCELED: "CANCELED";
|
|
5213
5365
|
}>;
|
|
5214
5366
|
claimStatus: z.ZodNullable<z.ZodEnum<{
|
|
5215
5367
|
CANCEL_REQUESTED: "CANCEL_REQUESTED";
|
|
@@ -5320,11 +5472,11 @@ export declare const inquirySchema: z.ZodObject<{
|
|
|
5320
5472
|
productName: z.ZodString;
|
|
5321
5473
|
orderItemId: z.ZodNullable<z.ZodString>;
|
|
5322
5474
|
category: z.ZodEnum<{
|
|
5475
|
+
ETC: "ETC";
|
|
5323
5476
|
PRODUCT: "PRODUCT";
|
|
5477
|
+
DELIVERY: "DELIVERY";
|
|
5324
5478
|
RETURN: "RETURN";
|
|
5325
5479
|
EXCHANGE: "EXCHANGE";
|
|
5326
|
-
DELIVERY: "DELIVERY";
|
|
5327
|
-
ETC: "ETC";
|
|
5328
5480
|
}>;
|
|
5329
5481
|
content: z.ZodString;
|
|
5330
5482
|
secret: z.ZodBoolean;
|
|
@@ -5339,10 +5491,10 @@ export declare const inquirySchema: z.ZodObject<{
|
|
|
5339
5491
|
}, z.core.$strip>;
|
|
5340
5492
|
export type Inquiry = z.infer<typeof inquirySchema>;
|
|
5341
5493
|
export declare const customerInquiryCategorySchema: z.ZodEnum<{
|
|
5494
|
+
ETC: "ETC";
|
|
5495
|
+
DELIVERY: "DELIVERY";
|
|
5342
5496
|
RETURN: "RETURN";
|
|
5343
5497
|
EXCHANGE: "EXCHANGE";
|
|
5344
|
-
DELIVERY: "DELIVERY";
|
|
5345
|
-
ETC: "ETC";
|
|
5346
5498
|
PAYMENT: "PAYMENT";
|
|
5347
5499
|
}>;
|
|
5348
5500
|
export type CustomerInquiryCategory = z.infer<typeof customerInquiryCategorySchema>;
|
|
@@ -5351,10 +5503,10 @@ export declare const sellerCustomerInquirySchema: z.ZodObject<{
|
|
|
5351
5503
|
inquiryId: z.ZodString;
|
|
5352
5504
|
memberMaskedName: z.ZodString;
|
|
5353
5505
|
category: z.ZodEnum<{
|
|
5506
|
+
ETC: "ETC";
|
|
5507
|
+
DELIVERY: "DELIVERY";
|
|
5354
5508
|
RETURN: "RETURN";
|
|
5355
5509
|
EXCHANGE: "EXCHANGE";
|
|
5356
|
-
DELIVERY: "DELIVERY";
|
|
5357
|
-
ETC: "ETC";
|
|
5358
5510
|
PAYMENT: "PAYMENT";
|
|
5359
5511
|
}>;
|
|
5360
5512
|
title: z.ZodString;
|
|
@@ -5389,18 +5541,18 @@ export declare const customerInquiryListQuerySchema: z.ZodObject<{
|
|
|
5389
5541
|
false: "false";
|
|
5390
5542
|
}>>;
|
|
5391
5543
|
category: z.ZodOptional<z.ZodEnum<{
|
|
5544
|
+
ETC: "ETC";
|
|
5545
|
+
DELIVERY: "DELIVERY";
|
|
5392
5546
|
RETURN: "RETURN";
|
|
5393
5547
|
EXCHANGE: "EXCHANGE";
|
|
5394
|
-
DELIVERY: "DELIVERY";
|
|
5395
|
-
ETC: "ETC";
|
|
5396
5548
|
PAYMENT: "PAYMENT";
|
|
5397
5549
|
}>>;
|
|
5398
5550
|
from: z.ZodOptional<z.ZodString>;
|
|
5399
5551
|
}, z.core.$strip>;
|
|
5400
5552
|
export declare const settlementStatusSchema: z.ZodEnum<{
|
|
5401
5553
|
PAID: "PAID";
|
|
5402
|
-
HELD: "HELD";
|
|
5403
5554
|
SCHEDULED: "SCHEDULED";
|
|
5555
|
+
HELD: "HELD";
|
|
5404
5556
|
}>;
|
|
5405
5557
|
export type SettlementStatus = z.infer<typeof settlementStatusSchema>;
|
|
5406
5558
|
export declare const settlementSummarySchema: z.ZodObject<{
|
|
@@ -5409,8 +5561,8 @@ export declare const settlementSummarySchema: z.ZodObject<{
|
|
|
5409
5561
|
payoutDate: z.ZodNullable<z.ZodString>;
|
|
5410
5562
|
status: z.ZodEnum<{
|
|
5411
5563
|
PAID: "PAID";
|
|
5412
|
-
HELD: "HELD";
|
|
5413
5564
|
SCHEDULED: "SCHEDULED";
|
|
5565
|
+
HELD: "HELD";
|
|
5414
5566
|
}>;
|
|
5415
5567
|
totalPaymentAmount: z.ZodNumber;
|
|
5416
5568
|
totalCommission: z.ZodNumber;
|
|
@@ -5444,8 +5596,8 @@ export declare const settlementWithDetailsSchema: z.ZodObject<{
|
|
|
5444
5596
|
payoutDate: z.ZodNullable<z.ZodString>;
|
|
5445
5597
|
status: z.ZodEnum<{
|
|
5446
5598
|
PAID: "PAID";
|
|
5447
|
-
HELD: "HELD";
|
|
5448
5599
|
SCHEDULED: "SCHEDULED";
|
|
5600
|
+
HELD: "HELD";
|
|
5449
5601
|
}>;
|
|
5450
5602
|
totalPaymentAmount: z.ZodNumber;
|
|
5451
5603
|
totalCommission: z.ZodNumber;
|
|
@@ -5479,8 +5631,8 @@ export declare const settlementListQuerySchema: z.ZodObject<{
|
|
|
5479
5631
|
to: z.ZodOptional<z.ZodString>;
|
|
5480
5632
|
status: z.ZodOptional<z.ZodEnum<{
|
|
5481
5633
|
PAID: "PAID";
|
|
5482
|
-
HELD: "HELD";
|
|
5483
5634
|
SCHEDULED: "SCHEDULED";
|
|
5635
|
+
HELD: "HELD";
|
|
5484
5636
|
}>>;
|
|
5485
5637
|
}, z.core.$strip>;
|
|
5486
5638
|
/** `GET /v1/settlements/{settlementId}` 쿼리 — `size`는 돌려줄 상세 내역 건수다(`page`는 무시) */
|
|
@@ -5500,8 +5652,8 @@ export declare const eventTypeSchema: z.ZodEnum<{
|
|
|
5500
5652
|
"ORDER.DELIVERED": "ORDER.DELIVERED";
|
|
5501
5653
|
"ORDER.PURCHASE_DECIDED": "ORDER.PURCHASE_DECIDED";
|
|
5502
5654
|
"ORDER.ADDRESS_CHANGE_REQUESTED": "ORDER.ADDRESS_CHANGE_REQUESTED";
|
|
5503
|
-
"ORDER.FULFILLED": "ORDER.FULFILLED";
|
|
5504
5655
|
"ORDER.CANCELED": "ORDER.CANCELED";
|
|
5656
|
+
"ORDER.FULFILLED": "ORDER.FULFILLED";
|
|
5505
5657
|
"CLAIM.CANCEL_REQUESTED": "CLAIM.CANCEL_REQUESTED";
|
|
5506
5658
|
"CLAIM.RETURN_REQUESTED": "CLAIM.RETURN_REQUESTED";
|
|
5507
5659
|
"CLAIM.EXCHANGE_REQUESTED": "CLAIM.EXCHANGE_REQUESTED";
|
|
@@ -5514,8 +5666,8 @@ export declare const eventTypeSchema: z.ZodEnum<{
|
|
|
5514
5666
|
}>;
|
|
5515
5667
|
export type EventType = z.infer<typeof eventTypeSchema>;
|
|
5516
5668
|
export declare const webhookStatusSchema: z.ZodEnum<{
|
|
5517
|
-
ACTIVE: "ACTIVE";
|
|
5518
5669
|
SUSPENDED: "SUSPENDED";
|
|
5670
|
+
ACTIVE: "ACTIVE";
|
|
5519
5671
|
}>;
|
|
5520
5672
|
export type WebhookStatus = z.infer<typeof webhookStatusSchema>;
|
|
5521
5673
|
export declare const webhookSchema: z.ZodObject<{
|
|
@@ -5528,8 +5680,8 @@ export declare const webhookSchema: z.ZodObject<{
|
|
|
5528
5680
|
"ORDER.DELIVERED": "ORDER.DELIVERED";
|
|
5529
5681
|
"ORDER.PURCHASE_DECIDED": "ORDER.PURCHASE_DECIDED";
|
|
5530
5682
|
"ORDER.ADDRESS_CHANGE_REQUESTED": "ORDER.ADDRESS_CHANGE_REQUESTED";
|
|
5531
|
-
"ORDER.FULFILLED": "ORDER.FULFILLED";
|
|
5532
5683
|
"ORDER.CANCELED": "ORDER.CANCELED";
|
|
5684
|
+
"ORDER.FULFILLED": "ORDER.FULFILLED";
|
|
5533
5685
|
"CLAIM.CANCEL_REQUESTED": "CLAIM.CANCEL_REQUESTED";
|
|
5534
5686
|
"CLAIM.RETURN_REQUESTED": "CLAIM.RETURN_REQUESTED";
|
|
5535
5687
|
"CLAIM.EXCHANGE_REQUESTED": "CLAIM.EXCHANGE_REQUESTED";
|
|
@@ -5541,8 +5693,8 @@ export declare const webhookSchema: z.ZodObject<{
|
|
|
5541
5693
|
"ORDER.FLOW_STATE_CHANGED": "ORDER.FLOW_STATE_CHANGED";
|
|
5542
5694
|
}>>;
|
|
5543
5695
|
status: z.ZodEnum<{
|
|
5544
|
-
ACTIVE: "ACTIVE";
|
|
5545
5696
|
SUSPENDED: "SUSPENDED";
|
|
5697
|
+
ACTIVE: "ACTIVE";
|
|
5546
5698
|
}>;
|
|
5547
5699
|
secretPrefix: z.ZodString;
|
|
5548
5700
|
suspendedAt: z.ZodNullable<z.ZodString>;
|
|
@@ -5560,8 +5712,8 @@ export declare const webhookCreatedSchema: z.ZodObject<{
|
|
|
5560
5712
|
"ORDER.DELIVERED": "ORDER.DELIVERED";
|
|
5561
5713
|
"ORDER.PURCHASE_DECIDED": "ORDER.PURCHASE_DECIDED";
|
|
5562
5714
|
"ORDER.ADDRESS_CHANGE_REQUESTED": "ORDER.ADDRESS_CHANGE_REQUESTED";
|
|
5563
|
-
"ORDER.FULFILLED": "ORDER.FULFILLED";
|
|
5564
5715
|
"ORDER.CANCELED": "ORDER.CANCELED";
|
|
5716
|
+
"ORDER.FULFILLED": "ORDER.FULFILLED";
|
|
5565
5717
|
"CLAIM.CANCEL_REQUESTED": "CLAIM.CANCEL_REQUESTED";
|
|
5566
5718
|
"CLAIM.RETURN_REQUESTED": "CLAIM.RETURN_REQUESTED";
|
|
5567
5719
|
"CLAIM.EXCHANGE_REQUESTED": "CLAIM.EXCHANGE_REQUESTED";
|
|
@@ -5573,8 +5725,8 @@ export declare const webhookCreatedSchema: z.ZodObject<{
|
|
|
5573
5725
|
"ORDER.FLOW_STATE_CHANGED": "ORDER.FLOW_STATE_CHANGED";
|
|
5574
5726
|
}>>;
|
|
5575
5727
|
status: z.ZodEnum<{
|
|
5576
|
-
ACTIVE: "ACTIVE";
|
|
5577
5728
|
SUSPENDED: "SUSPENDED";
|
|
5729
|
+
ACTIVE: "ACTIVE";
|
|
5578
5730
|
}>;
|
|
5579
5731
|
secretPrefix: z.ZodString;
|
|
5580
5732
|
suspendedAt: z.ZodNullable<z.ZodString>;
|
|
@@ -5589,10 +5741,10 @@ export declare const webhookSecretRotatedSchema: z.ZodObject<{
|
|
|
5589
5741
|
}, z.core.$strip>;
|
|
5590
5742
|
export type WebhookSecretRotated = z.infer<typeof webhookSecretRotatedSchema>;
|
|
5591
5743
|
export declare const webhookDeliveryStatusSchema: z.ZodEnum<{
|
|
5592
|
-
FAILED: "FAILED";
|
|
5593
5744
|
PENDING: "PENDING";
|
|
5594
5745
|
PENDING_RETRY: "PENDING_RETRY";
|
|
5595
5746
|
SUCCESS: "SUCCESS";
|
|
5747
|
+
FAILED: "FAILED";
|
|
5596
5748
|
}>;
|
|
5597
5749
|
export type WebhookDeliveryStatus = z.infer<typeof webhookDeliveryStatusSchema>;
|
|
5598
5750
|
export declare const webhookDeliveryErrorCodeSchema: z.ZodEnum<{
|
|
@@ -5648,8 +5800,8 @@ export declare const webhookDeliverySchema: z.ZodObject<{
|
|
|
5648
5800
|
"ORDER.DELIVERED": "ORDER.DELIVERED";
|
|
5649
5801
|
"ORDER.PURCHASE_DECIDED": "ORDER.PURCHASE_DECIDED";
|
|
5650
5802
|
"ORDER.ADDRESS_CHANGE_REQUESTED": "ORDER.ADDRESS_CHANGE_REQUESTED";
|
|
5651
|
-
"ORDER.FULFILLED": "ORDER.FULFILLED";
|
|
5652
5803
|
"ORDER.CANCELED": "ORDER.CANCELED";
|
|
5804
|
+
"ORDER.FULFILLED": "ORDER.FULFILLED";
|
|
5653
5805
|
"CLAIM.CANCEL_REQUESTED": "CLAIM.CANCEL_REQUESTED";
|
|
5654
5806
|
"CLAIM.RETURN_REQUESTED": "CLAIM.RETURN_REQUESTED";
|
|
5655
5807
|
"CLAIM.EXCHANGE_REQUESTED": "CLAIM.EXCHANGE_REQUESTED";
|
|
@@ -5662,10 +5814,10 @@ export declare const webhookDeliverySchema: z.ZodObject<{
|
|
|
5662
5814
|
}>;
|
|
5663
5815
|
url: z.ZodString;
|
|
5664
5816
|
status: z.ZodEnum<{
|
|
5665
|
-
FAILED: "FAILED";
|
|
5666
5817
|
PENDING: "PENDING";
|
|
5667
5818
|
PENDING_RETRY: "PENDING_RETRY";
|
|
5668
5819
|
SUCCESS: "SUCCESS";
|
|
5820
|
+
FAILED: "FAILED";
|
|
5669
5821
|
}>;
|
|
5670
5822
|
responseStatusCode: z.ZodNullable<z.ZodNumber>;
|
|
5671
5823
|
responseTimeMs: z.ZodNullable<z.ZodNumber>;
|
|
@@ -5709,8 +5861,8 @@ export declare const webhookDeliveryDetailSchema: z.ZodObject<{
|
|
|
5709
5861
|
"ORDER.DELIVERED": "ORDER.DELIVERED";
|
|
5710
5862
|
"ORDER.PURCHASE_DECIDED": "ORDER.PURCHASE_DECIDED";
|
|
5711
5863
|
"ORDER.ADDRESS_CHANGE_REQUESTED": "ORDER.ADDRESS_CHANGE_REQUESTED";
|
|
5712
|
-
"ORDER.FULFILLED": "ORDER.FULFILLED";
|
|
5713
5864
|
"ORDER.CANCELED": "ORDER.CANCELED";
|
|
5865
|
+
"ORDER.FULFILLED": "ORDER.FULFILLED";
|
|
5714
5866
|
"CLAIM.CANCEL_REQUESTED": "CLAIM.CANCEL_REQUESTED";
|
|
5715
5867
|
"CLAIM.RETURN_REQUESTED": "CLAIM.RETURN_REQUESTED";
|
|
5716
5868
|
"CLAIM.EXCHANGE_REQUESTED": "CLAIM.EXCHANGE_REQUESTED";
|
|
@@ -5723,10 +5875,10 @@ export declare const webhookDeliveryDetailSchema: z.ZodObject<{
|
|
|
5723
5875
|
}>;
|
|
5724
5876
|
url: z.ZodString;
|
|
5725
5877
|
status: z.ZodEnum<{
|
|
5726
|
-
FAILED: "FAILED";
|
|
5727
5878
|
PENDING: "PENDING";
|
|
5728
5879
|
PENDING_RETRY: "PENDING_RETRY";
|
|
5729
5880
|
SUCCESS: "SUCCESS";
|
|
5881
|
+
FAILED: "FAILED";
|
|
5730
5882
|
}>;
|
|
5731
5883
|
responseStatusCode: z.ZodNullable<z.ZodNumber>;
|
|
5732
5884
|
responseTimeMs: z.ZodNullable<z.ZodNumber>;
|
|
@@ -5767,10 +5919,10 @@ export type WebhookDeliveryDetail = z.infer<typeof webhookDeliveryDetailSchema>;
|
|
|
5767
5919
|
/** 전송 기록 조회 쿼리 — `GET /webhooks/{id}/deliveries` */
|
|
5768
5920
|
export declare const webhookDeliveryListQuerySchema: z.ZodObject<{
|
|
5769
5921
|
status: z.ZodOptional<z.ZodEnum<{
|
|
5770
|
-
FAILED: "FAILED";
|
|
5771
5922
|
PENDING: "PENDING";
|
|
5772
5923
|
PENDING_RETRY: "PENDING_RETRY";
|
|
5773
5924
|
SUCCESS: "SUCCESS";
|
|
5925
|
+
FAILED: "FAILED";
|
|
5774
5926
|
}>>;
|
|
5775
5927
|
eventType: z.ZodOptional<z.ZodEnum<{
|
|
5776
5928
|
"ORDER.PAID": "ORDER.PAID";
|
|
@@ -5779,8 +5931,8 @@ export declare const webhookDeliveryListQuerySchema: z.ZodObject<{
|
|
|
5779
5931
|
"ORDER.DELIVERED": "ORDER.DELIVERED";
|
|
5780
5932
|
"ORDER.PURCHASE_DECIDED": "ORDER.PURCHASE_DECIDED";
|
|
5781
5933
|
"ORDER.ADDRESS_CHANGE_REQUESTED": "ORDER.ADDRESS_CHANGE_REQUESTED";
|
|
5782
|
-
"ORDER.FULFILLED": "ORDER.FULFILLED";
|
|
5783
5934
|
"ORDER.CANCELED": "ORDER.CANCELED";
|
|
5935
|
+
"ORDER.FULFILLED": "ORDER.FULFILLED";
|
|
5784
5936
|
"CLAIM.CANCEL_REQUESTED": "CLAIM.CANCEL_REQUESTED";
|
|
5785
5937
|
"CLAIM.RETURN_REQUESTED": "CLAIM.RETURN_REQUESTED";
|
|
5786
5938
|
"CLAIM.EXCHANGE_REQUESTED": "CLAIM.EXCHANGE_REQUESTED";
|
|
@@ -5808,8 +5960,8 @@ export declare const webhookTestRequestSchema: z.ZodObject<{
|
|
|
5808
5960
|
"ORDER.DELIVERED": "ORDER.DELIVERED";
|
|
5809
5961
|
"ORDER.PURCHASE_DECIDED": "ORDER.PURCHASE_DECIDED";
|
|
5810
5962
|
"ORDER.ADDRESS_CHANGE_REQUESTED": "ORDER.ADDRESS_CHANGE_REQUESTED";
|
|
5811
|
-
"ORDER.FULFILLED": "ORDER.FULFILLED";
|
|
5812
5963
|
"ORDER.CANCELED": "ORDER.CANCELED";
|
|
5964
|
+
"ORDER.FULFILLED": "ORDER.FULFILLED";
|
|
5813
5965
|
"CLAIM.CANCEL_REQUESTED": "CLAIM.CANCEL_REQUESTED";
|
|
5814
5966
|
"CLAIM.RETURN_REQUESTED": "CLAIM.RETURN_REQUESTED";
|
|
5815
5967
|
"CLAIM.EXCHANGE_REQUESTED": "CLAIM.EXCHANGE_REQUESTED";
|
|
@@ -5857,8 +6009,8 @@ export declare const webhookRequestSchema: z.ZodObject<{
|
|
|
5857
6009
|
"ORDER.DELIVERED": "ORDER.DELIVERED";
|
|
5858
6010
|
"ORDER.PURCHASE_DECIDED": "ORDER.PURCHASE_DECIDED";
|
|
5859
6011
|
"ORDER.ADDRESS_CHANGE_REQUESTED": "ORDER.ADDRESS_CHANGE_REQUESTED";
|
|
5860
|
-
"ORDER.FULFILLED": "ORDER.FULFILLED";
|
|
5861
6012
|
"ORDER.CANCELED": "ORDER.CANCELED";
|
|
6013
|
+
"ORDER.FULFILLED": "ORDER.FULFILLED";
|
|
5862
6014
|
"CLAIM.CANCEL_REQUESTED": "CLAIM.CANCEL_REQUESTED";
|
|
5863
6015
|
"CLAIM.RETURN_REQUESTED": "CLAIM.RETURN_REQUESTED";
|
|
5864
6016
|
"CLAIM.EXCHANGE_REQUESTED": "CLAIM.EXCHANGE_REQUESTED";
|
|
@@ -5913,8 +6065,8 @@ export declare const reviewListQuerySchema: z.ZodObject<{
|
|
|
5913
6065
|
rating: z.ZodOptional<z.ZodEnum<{
|
|
5914
6066
|
1: "1";
|
|
5915
6067
|
2: "2";
|
|
5916
|
-
4: "4";
|
|
5917
6068
|
3: "3";
|
|
6069
|
+
4: "4";
|
|
5918
6070
|
5: "5";
|
|
5919
6071
|
}>>;
|
|
5920
6072
|
replied: z.ZodOptional<z.ZodEnum<{
|
|
@@ -5948,24 +6100,24 @@ export declare const orderSummarySchema: z.ZodObject<{
|
|
|
5948
6100
|
itemCount: z.ZodNumber;
|
|
5949
6101
|
totalAmount: z.ZodNumber;
|
|
5950
6102
|
representativeStatus: z.ZodEnum<{
|
|
5951
|
-
PAYMENT_WAITING: "PAYMENT_WAITING";
|
|
5952
6103
|
PAID: "PAID";
|
|
6104
|
+
CANCELED: "CANCELED";
|
|
6105
|
+
PAYMENT_WAITING: "PAYMENT_WAITING";
|
|
5953
6106
|
CONFIRMED: "CONFIRMED";
|
|
5954
6107
|
DISPATCHED: "DISPATCHED";
|
|
5955
6108
|
DELIVERING: "DELIVERING";
|
|
5956
6109
|
DELIVERED: "DELIVERED";
|
|
5957
6110
|
PURCHASE_DECIDED: "PURCHASE_DECIDED";
|
|
5958
|
-
CANCELED: "CANCELED";
|
|
5959
6111
|
}>;
|
|
5960
6112
|
progressStatus: z.ZodOptional<z.ZodEnum<{
|
|
5961
|
-
PAYMENT_WAITING: "PAYMENT_WAITING";
|
|
5962
6113
|
PAID: "PAID";
|
|
6114
|
+
CANCELED: "CANCELED";
|
|
6115
|
+
PAYMENT_WAITING: "PAYMENT_WAITING";
|
|
5963
6116
|
CONFIRMED: "CONFIRMED";
|
|
5964
6117
|
DISPATCHED: "DISPATCHED";
|
|
5965
6118
|
DELIVERING: "DELIVERING";
|
|
5966
6119
|
DELIVERED: "DELIVERED";
|
|
5967
6120
|
PURCHASE_DECIDED: "PURCHASE_DECIDED";
|
|
5968
|
-
CANCELED: "CANCELED";
|
|
5969
6121
|
}>>;
|
|
5970
6122
|
orderedAt: z.ZodString;
|
|
5971
6123
|
testPayment: z.ZodBoolean;
|
|
@@ -5994,14 +6146,14 @@ export declare const orderItemSchema: z.ZodObject<{
|
|
|
5994
6146
|
orderItemNo: z.ZodDefault<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
5995
6147
|
orderId: z.ZodString;
|
|
5996
6148
|
status: z.ZodEnum<{
|
|
5997
|
-
PAYMENT_WAITING: "PAYMENT_WAITING";
|
|
5998
6149
|
PAID: "PAID";
|
|
6150
|
+
CANCELED: "CANCELED";
|
|
6151
|
+
PAYMENT_WAITING: "PAYMENT_WAITING";
|
|
5999
6152
|
CONFIRMED: "CONFIRMED";
|
|
6000
6153
|
DISPATCHED: "DISPATCHED";
|
|
6001
6154
|
DELIVERING: "DELIVERING";
|
|
6002
6155
|
DELIVERED: "DELIVERED";
|
|
6003
6156
|
PURCHASE_DECIDED: "PURCHASE_DECIDED";
|
|
6004
|
-
CANCELED: "CANCELED";
|
|
6005
6157
|
}>;
|
|
6006
6158
|
claimStatus: z.ZodNullable<z.ZodEnum<{
|
|
6007
6159
|
CANCEL_REQUESTED: "CANCEL_REQUESTED";
|
|
@@ -6112,14 +6264,14 @@ export type OrderDiscount = z.infer<typeof orderDiscountSchema>;
|
|
|
6112
6264
|
export declare const orderSchema: z.ZodObject<{
|
|
6113
6265
|
orderId: z.ZodString;
|
|
6114
6266
|
progressStatus: z.ZodOptional<z.ZodEnum<{
|
|
6115
|
-
PAYMENT_WAITING: "PAYMENT_WAITING";
|
|
6116
6267
|
PAID: "PAID";
|
|
6268
|
+
CANCELED: "CANCELED";
|
|
6269
|
+
PAYMENT_WAITING: "PAYMENT_WAITING";
|
|
6117
6270
|
CONFIRMED: "CONFIRMED";
|
|
6118
6271
|
DISPATCHED: "DISPATCHED";
|
|
6119
6272
|
DELIVERING: "DELIVERING";
|
|
6120
6273
|
DELIVERED: "DELIVERED";
|
|
6121
6274
|
PURCHASE_DECIDED: "PURCHASE_DECIDED";
|
|
6122
|
-
CANCELED: "CANCELED";
|
|
6123
6275
|
}>>;
|
|
6124
6276
|
orderNo: z.ZodDefault<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
6125
6277
|
orderedAt: z.ZodString;
|
|
@@ -6193,14 +6345,14 @@ export declare const orderSchema: z.ZodObject<{
|
|
|
6193
6345
|
orderItemNo: z.ZodDefault<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
6194
6346
|
orderId: z.ZodString;
|
|
6195
6347
|
status: z.ZodEnum<{
|
|
6196
|
-
PAYMENT_WAITING: "PAYMENT_WAITING";
|
|
6197
6348
|
PAID: "PAID";
|
|
6349
|
+
CANCELED: "CANCELED";
|
|
6350
|
+
PAYMENT_WAITING: "PAYMENT_WAITING";
|
|
6198
6351
|
CONFIRMED: "CONFIRMED";
|
|
6199
6352
|
DISPATCHED: "DISPATCHED";
|
|
6200
6353
|
DELIVERING: "DELIVERING";
|
|
6201
6354
|
DELIVERED: "DELIVERED";
|
|
6202
6355
|
PURCHASE_DECIDED: "PURCHASE_DECIDED";
|
|
6203
|
-
CANCELED: "CANCELED";
|
|
6204
6356
|
}>;
|
|
6205
6357
|
claimStatus: z.ZodNullable<z.ZodEnum<{
|
|
6206
6358
|
CANCEL_REQUESTED: "CANCEL_REQUESTED";
|
|
@@ -6313,24 +6465,24 @@ export declare const orderSummaryPageSchema: z.ZodObject<{
|
|
|
6313
6465
|
itemCount: z.ZodNumber;
|
|
6314
6466
|
totalAmount: z.ZodNumber;
|
|
6315
6467
|
representativeStatus: z.ZodEnum<{
|
|
6316
|
-
PAYMENT_WAITING: "PAYMENT_WAITING";
|
|
6317
6468
|
PAID: "PAID";
|
|
6469
|
+
CANCELED: "CANCELED";
|
|
6470
|
+
PAYMENT_WAITING: "PAYMENT_WAITING";
|
|
6318
6471
|
CONFIRMED: "CONFIRMED";
|
|
6319
6472
|
DISPATCHED: "DISPATCHED";
|
|
6320
6473
|
DELIVERING: "DELIVERING";
|
|
6321
6474
|
DELIVERED: "DELIVERED";
|
|
6322
6475
|
PURCHASE_DECIDED: "PURCHASE_DECIDED";
|
|
6323
|
-
CANCELED: "CANCELED";
|
|
6324
6476
|
}>;
|
|
6325
6477
|
progressStatus: z.ZodOptional<z.ZodEnum<{
|
|
6326
|
-
PAYMENT_WAITING: "PAYMENT_WAITING";
|
|
6327
6478
|
PAID: "PAID";
|
|
6479
|
+
CANCELED: "CANCELED";
|
|
6480
|
+
PAYMENT_WAITING: "PAYMENT_WAITING";
|
|
6328
6481
|
CONFIRMED: "CONFIRMED";
|
|
6329
6482
|
DISPATCHED: "DISPATCHED";
|
|
6330
6483
|
DELIVERING: "DELIVERING";
|
|
6331
6484
|
DELIVERED: "DELIVERED";
|
|
6332
6485
|
PURCHASE_DECIDED: "PURCHASE_DECIDED";
|
|
6333
|
-
CANCELED: "CANCELED";
|
|
6334
6486
|
}>>;
|
|
6335
6487
|
orderedAt: z.ZodString;
|
|
6336
6488
|
testPayment: z.ZodBoolean;
|
|
@@ -6348,14 +6500,14 @@ export declare const orderItemPageSchema: z.ZodObject<{
|
|
|
6348
6500
|
orderItemNo: z.ZodDefault<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
6349
6501
|
orderId: z.ZodString;
|
|
6350
6502
|
status: z.ZodEnum<{
|
|
6351
|
-
PAYMENT_WAITING: "PAYMENT_WAITING";
|
|
6352
6503
|
PAID: "PAID";
|
|
6504
|
+
CANCELED: "CANCELED";
|
|
6505
|
+
PAYMENT_WAITING: "PAYMENT_WAITING";
|
|
6353
6506
|
CONFIRMED: "CONFIRMED";
|
|
6354
6507
|
DISPATCHED: "DISPATCHED";
|
|
6355
6508
|
DELIVERING: "DELIVERING";
|
|
6356
6509
|
DELIVERED: "DELIVERED";
|
|
6357
6510
|
PURCHASE_DECIDED: "PURCHASE_DECIDED";
|
|
6358
|
-
CANCELED: "CANCELED";
|
|
6359
6511
|
}>;
|
|
6360
6512
|
claimStatus: z.ZodNullable<z.ZodEnum<{
|
|
6361
6513
|
CANCEL_REQUESTED: "CANCEL_REQUESTED";
|
|
@@ -6466,14 +6618,14 @@ export declare const orderListQuerySchema: z.ZodObject<{
|
|
|
6466
6618
|
orderedFrom: z.ZodOptional<z.ZodString>;
|
|
6467
6619
|
orderedTo: z.ZodOptional<z.ZodString>;
|
|
6468
6620
|
status: z.ZodOptional<z.ZodEnum<{
|
|
6469
|
-
PAYMENT_WAITING: "PAYMENT_WAITING";
|
|
6470
6621
|
PAID: "PAID";
|
|
6622
|
+
CANCELED: "CANCELED";
|
|
6623
|
+
PAYMENT_WAITING: "PAYMENT_WAITING";
|
|
6471
6624
|
CONFIRMED: "CONFIRMED";
|
|
6472
6625
|
DISPATCHED: "DISPATCHED";
|
|
6473
6626
|
DELIVERING: "DELIVERING";
|
|
6474
6627
|
DELIVERED: "DELIVERED";
|
|
6475
6628
|
PURCHASE_DECIDED: "PURCHASE_DECIDED";
|
|
6476
|
-
CANCELED: "CANCELED";
|
|
6477
6629
|
}>>;
|
|
6478
6630
|
keyword: z.ZodOptional<z.ZodString>;
|
|
6479
6631
|
orderNo: z.ZodOptional<z.ZodString>;
|
|
@@ -6755,8 +6907,8 @@ export declare const pgEnvironmentSchema: z.ZodEnum<{
|
|
|
6755
6907
|
}>;
|
|
6756
6908
|
export type PgEnvironment = z.infer<typeof pgEnvironmentSchema>;
|
|
6757
6909
|
export declare const pgVerificationResultSchema: z.ZodEnum<{
|
|
6758
|
-
FAILED: "FAILED";
|
|
6759
6910
|
SUCCESS: "SUCCESS";
|
|
6911
|
+
FAILED: "FAILED";
|
|
6760
6912
|
}>;
|
|
6761
6913
|
export type PgVerificationResult = z.infer<typeof pgVerificationResultSchema>;
|
|
6762
6914
|
/**
|
|
@@ -6905,8 +7057,8 @@ export declare const paymentCredentialSetSchema: z.ZodObject<{
|
|
|
6905
7057
|
}, z.core.$strip>>;
|
|
6906
7058
|
lastVerification: z.ZodNullable<z.ZodObject<{
|
|
6907
7059
|
result: z.ZodEnum<{
|
|
6908
|
-
FAILED: "FAILED";
|
|
6909
7060
|
SUCCESS: "SUCCESS";
|
|
7061
|
+
FAILED: "FAILED";
|
|
6910
7062
|
}>;
|
|
6911
7063
|
message: z.ZodNullable<z.ZodString>;
|
|
6912
7064
|
checkedAt: z.ZodString;
|
|
@@ -7015,8 +7167,8 @@ export declare const paymentProviderSchema: z.ZodObject<{
|
|
|
7015
7167
|
}, z.core.$strip>>;
|
|
7016
7168
|
lastVerification: z.ZodNullable<z.ZodObject<{
|
|
7017
7169
|
result: z.ZodEnum<{
|
|
7018
|
-
FAILED: "FAILED";
|
|
7019
7170
|
SUCCESS: "SUCCESS";
|
|
7171
|
+
FAILED: "FAILED";
|
|
7020
7172
|
}>;
|
|
7021
7173
|
message: z.ZodNullable<z.ZodString>;
|
|
7022
7174
|
checkedAt: z.ZodString;
|
|
@@ -7052,8 +7204,8 @@ export declare const paymentProviderSchema: z.ZodObject<{
|
|
|
7052
7204
|
}, z.core.$strip>>;
|
|
7053
7205
|
lastVerification: z.ZodNullable<z.ZodObject<{
|
|
7054
7206
|
result: z.ZodEnum<{
|
|
7055
|
-
FAILED: "FAILED";
|
|
7056
7207
|
SUCCESS: "SUCCESS";
|
|
7208
|
+
FAILED: "FAILED";
|
|
7057
7209
|
}>;
|
|
7058
7210
|
message: z.ZodNullable<z.ZodString>;
|
|
7059
7211
|
checkedAt: z.ZodString;
|
|
@@ -7088,8 +7240,8 @@ export declare const paymentProviderSchema: z.ZodObject<{
|
|
|
7088
7240
|
}, z.core.$strip>>;
|
|
7089
7241
|
lastVerification: z.ZodNullable<z.ZodObject<{
|
|
7090
7242
|
result: z.ZodEnum<{
|
|
7091
|
-
FAILED: "FAILED";
|
|
7092
7243
|
SUCCESS: "SUCCESS";
|
|
7244
|
+
FAILED: "FAILED";
|
|
7093
7245
|
}>;
|
|
7094
7246
|
message: z.ZodNullable<z.ZodString>;
|
|
7095
7247
|
checkedAt: z.ZodString;
|
|
@@ -7181,8 +7333,8 @@ export declare const paymentSettingsSchema: z.ZodObject<{
|
|
|
7181
7333
|
}, z.core.$strip>>;
|
|
7182
7334
|
lastVerification: z.ZodNullable<z.ZodObject<{
|
|
7183
7335
|
result: z.ZodEnum<{
|
|
7184
|
-
FAILED: "FAILED";
|
|
7185
7336
|
SUCCESS: "SUCCESS";
|
|
7337
|
+
FAILED: "FAILED";
|
|
7186
7338
|
}>;
|
|
7187
7339
|
message: z.ZodNullable<z.ZodString>;
|
|
7188
7340
|
checkedAt: z.ZodString;
|
|
@@ -7218,8 +7370,8 @@ export declare const paymentSettingsSchema: z.ZodObject<{
|
|
|
7218
7370
|
}, z.core.$strip>>;
|
|
7219
7371
|
lastVerification: z.ZodNullable<z.ZodObject<{
|
|
7220
7372
|
result: z.ZodEnum<{
|
|
7221
|
-
FAILED: "FAILED";
|
|
7222
7373
|
SUCCESS: "SUCCESS";
|
|
7374
|
+
FAILED: "FAILED";
|
|
7223
7375
|
}>;
|
|
7224
7376
|
message: z.ZodNullable<z.ZodString>;
|
|
7225
7377
|
checkedAt: z.ZodString;
|
|
@@ -7254,8 +7406,8 @@ export declare const paymentSettingsSchema: z.ZodObject<{
|
|
|
7254
7406
|
}, z.core.$strip>>;
|
|
7255
7407
|
lastVerification: z.ZodNullable<z.ZodObject<{
|
|
7256
7408
|
result: z.ZodEnum<{
|
|
7257
|
-
FAILED: "FAILED";
|
|
7258
7409
|
SUCCESS: "SUCCESS";
|
|
7410
|
+
FAILED: "FAILED";
|
|
7259
7411
|
}>;
|
|
7260
7412
|
message: z.ZodNullable<z.ZodString>;
|
|
7261
7413
|
checkedAt: z.ZodString;
|
|
@@ -7313,8 +7465,8 @@ export declare const paymentProviderVerificationSchema: z.ZodObject<{
|
|
|
7313
7465
|
LIVE: "LIVE";
|
|
7314
7466
|
}>;
|
|
7315
7467
|
result: z.ZodEnum<{
|
|
7316
|
-
FAILED: "FAILED";
|
|
7317
7468
|
SUCCESS: "SUCCESS";
|
|
7469
|
+
FAILED: "FAILED";
|
|
7318
7470
|
}>;
|
|
7319
7471
|
message: z.ZodNullable<z.ZodString>;
|
|
7320
7472
|
checkedAt: z.ZodString;
|
|
@@ -7444,9 +7596,9 @@ export type SalesReport = z.infer<typeof salesReportSchema>;
|
|
|
7444
7596
|
* - `FAILED`: 승인되지 않고 끝났다(거절·준비 장애·구매자 취소·만료)
|
|
7445
7597
|
*/
|
|
7446
7598
|
export declare const paymentRecordStatusSchema: z.ZodEnum<{
|
|
7447
|
-
APPROVED: "APPROVED";
|
|
7448
|
-
FAILED: "FAILED";
|
|
7449
7599
|
PENDING: "PENDING";
|
|
7600
|
+
FAILED: "FAILED";
|
|
7601
|
+
APPROVED: "APPROVED";
|
|
7450
7602
|
PARTIALLY_REFUNDED: "PARTIALLY_REFUNDED";
|
|
7451
7603
|
REFUNDED: "REFUNDED";
|
|
7452
7604
|
}>;
|
|
@@ -7492,9 +7644,9 @@ export declare const paymentRecordSchema: z.ZodObject<{
|
|
|
7492
7644
|
orderName: z.ZodString;
|
|
7493
7645
|
customerName: z.ZodString;
|
|
7494
7646
|
status: z.ZodEnum<{
|
|
7495
|
-
APPROVED: "APPROVED";
|
|
7496
|
-
FAILED: "FAILED";
|
|
7497
7647
|
PENDING: "PENDING";
|
|
7648
|
+
FAILED: "FAILED";
|
|
7649
|
+
APPROVED: "APPROVED";
|
|
7498
7650
|
PARTIALLY_REFUNDED: "PARTIALLY_REFUNDED";
|
|
7499
7651
|
REFUNDED: "REFUNDED";
|
|
7500
7652
|
}>;
|
|
@@ -7540,9 +7692,9 @@ export declare const paymentRecordPageSchema: z.ZodObject<{
|
|
|
7540
7692
|
orderName: z.ZodString;
|
|
7541
7693
|
customerName: z.ZodString;
|
|
7542
7694
|
status: z.ZodEnum<{
|
|
7543
|
-
APPROVED: "APPROVED";
|
|
7544
|
-
FAILED: "FAILED";
|
|
7545
7695
|
PENDING: "PENDING";
|
|
7696
|
+
FAILED: "FAILED";
|
|
7697
|
+
APPROVED: "APPROVED";
|
|
7546
7698
|
PARTIALLY_REFUNDED: "PARTIALLY_REFUNDED";
|
|
7547
7699
|
REFUNDED: "REFUNDED";
|
|
7548
7700
|
}>;
|
|
@@ -7633,9 +7785,9 @@ export declare const paymentRecordDetailSchema: z.ZodObject<{
|
|
|
7633
7785
|
orderName: z.ZodString;
|
|
7634
7786
|
customerName: z.ZodString;
|
|
7635
7787
|
status: z.ZodEnum<{
|
|
7636
|
-
APPROVED: "APPROVED";
|
|
7637
|
-
FAILED: "FAILED";
|
|
7638
7788
|
PENDING: "PENDING";
|
|
7789
|
+
FAILED: "FAILED";
|
|
7790
|
+
APPROVED: "APPROVED";
|
|
7639
7791
|
PARTIALLY_REFUNDED: "PARTIALLY_REFUNDED";
|
|
7640
7792
|
REFUNDED: "REFUNDED";
|
|
7641
7793
|
}>;
|
|
@@ -8071,10 +8223,10 @@ export declare function splitRefund(input: {
|
|
|
8071
8223
|
//#endregion
|
|
8072
8224
|
//#region src/schemas/product.d.ts
|
|
8073
8225
|
export declare const productStatusSchema: z.ZodEnum<{
|
|
8074
|
-
SUSPENDED: "SUSPENDED";
|
|
8075
|
-
CLOSED: "CLOSED";
|
|
8076
8226
|
SALE: "SALE";
|
|
8227
|
+
SUSPENDED: "SUSPENDED";
|
|
8077
8228
|
OUT_OF_STOCK: "OUT_OF_STOCK";
|
|
8229
|
+
CLOSED: "CLOSED";
|
|
8078
8230
|
}>;
|
|
8079
8231
|
export type ProductStatus = z.infer<typeof productStatusSchema>;
|
|
8080
8232
|
export declare const productSummarySchema: z.ZodObject<{
|
|
@@ -8082,10 +8234,10 @@ export declare const productSummarySchema: z.ZodObject<{
|
|
|
8082
8234
|
productNo: z.ZodDefault<z.ZodOptional<z.ZodNullable<z.ZodNumber>>>;
|
|
8083
8235
|
name: z.ZodString;
|
|
8084
8236
|
status: z.ZodEnum<{
|
|
8085
|
-
SUSPENDED: "SUSPENDED";
|
|
8086
|
-
CLOSED: "CLOSED";
|
|
8087
8237
|
SALE: "SALE";
|
|
8238
|
+
SUSPENDED: "SUSPENDED";
|
|
8088
8239
|
OUT_OF_STOCK: "OUT_OF_STOCK";
|
|
8240
|
+
CLOSED: "CLOSED";
|
|
8089
8241
|
}>;
|
|
8090
8242
|
salePrice: z.ZodNumber;
|
|
8091
8243
|
discountedPrice: z.ZodNullable<z.ZodNumber>;
|
|
@@ -8249,9 +8401,9 @@ export declare const customInputRequestSchema: z.ZodObject<{
|
|
|
8249
8401
|
type: z.ZodOptional<z.ZodEnum<{
|
|
8250
8402
|
number: "number";
|
|
8251
8403
|
date: "date";
|
|
8252
|
-
datetime: "datetime";
|
|
8253
|
-
select: "select";
|
|
8254
8404
|
text: "text";
|
|
8405
|
+
select: "select";
|
|
8406
|
+
datetime: "datetime";
|
|
8255
8407
|
image: "image";
|
|
8256
8408
|
}>>;
|
|
8257
8409
|
options: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
|
|
@@ -8293,10 +8445,10 @@ export declare const productSchema: z.ZodObject<{
|
|
|
8293
8445
|
productNo: z.ZodDefault<z.ZodOptional<z.ZodNullable<z.ZodNumber>>>;
|
|
8294
8446
|
name: z.ZodString;
|
|
8295
8447
|
status: z.ZodEnum<{
|
|
8296
|
-
SUSPENDED: "SUSPENDED";
|
|
8297
|
-
CLOSED: "CLOSED";
|
|
8298
8448
|
SALE: "SALE";
|
|
8449
|
+
SUSPENDED: "SUSPENDED";
|
|
8299
8450
|
OUT_OF_STOCK: "OUT_OF_STOCK";
|
|
8451
|
+
CLOSED: "CLOSED";
|
|
8300
8452
|
}>;
|
|
8301
8453
|
salePrice: z.ZodNumber;
|
|
8302
8454
|
discountedPrice: z.ZodNullable<z.ZodNumber>;
|
|
@@ -8376,8 +8528,8 @@ export declare const productSchema: z.ZodObject<{
|
|
|
8376
8528
|
type: z.ZodLiteral<"SHIPPING">;
|
|
8377
8529
|
shipping: z.ZodObject<{
|
|
8378
8530
|
deliveryType: z.ZodEnum<{
|
|
8379
|
-
PAID: "PAID";
|
|
8380
8531
|
FREE: "FREE";
|
|
8532
|
+
PAID: "PAID";
|
|
8381
8533
|
CONDITIONAL_FREE: "CONDITIONAL_FREE";
|
|
8382
8534
|
}>;
|
|
8383
8535
|
deliveryFee: z.ZodNumber;
|
|
@@ -8519,9 +8671,9 @@ export declare const optionModelRequestSchema: z.ZodObject<{
|
|
|
8519
8671
|
type: z.ZodOptional<z.ZodEnum<{
|
|
8520
8672
|
number: "number";
|
|
8521
8673
|
date: "date";
|
|
8522
|
-
datetime: "datetime";
|
|
8523
|
-
select: "select";
|
|
8524
8674
|
text: "text";
|
|
8675
|
+
select: "select";
|
|
8676
|
+
datetime: "datetime";
|
|
8525
8677
|
image: "image";
|
|
8526
8678
|
}>>;
|
|
8527
8679
|
options: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
|
|
@@ -8620,8 +8772,8 @@ export declare const productCreateRequestSchema: z.ZodObject<{
|
|
|
8620
8772
|
type: z.ZodLiteral<"SHIPPING">;
|
|
8621
8773
|
shipping: z.ZodOptional<z.ZodObject<{
|
|
8622
8774
|
deliveryType: z.ZodDefault<z.ZodEnum<{
|
|
8623
|
-
PAID: "PAID";
|
|
8624
8775
|
FREE: "FREE";
|
|
8776
|
+
PAID: "PAID";
|
|
8625
8777
|
CONDITIONAL_FREE: "CONDITIONAL_FREE";
|
|
8626
8778
|
}>>;
|
|
8627
8779
|
deliveryFee: z.ZodOptional<z.ZodNumber>;
|
|
@@ -8693,9 +8845,9 @@ export declare const productCreateRequestSchema: z.ZodObject<{
|
|
|
8693
8845
|
type: z.ZodOptional<z.ZodEnum<{
|
|
8694
8846
|
number: "number";
|
|
8695
8847
|
date: "date";
|
|
8696
|
-
datetime: "datetime";
|
|
8697
|
-
select: "select";
|
|
8698
8848
|
text: "text";
|
|
8849
|
+
select: "select";
|
|
8850
|
+
datetime: "datetime";
|
|
8699
8851
|
image: "image";
|
|
8700
8852
|
}>>;
|
|
8701
8853
|
options: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
|
|
@@ -8734,8 +8886,8 @@ export declare const productReplaceRequestSchema: z.ZodObject<{
|
|
|
8734
8886
|
type: z.ZodLiteral<"SHIPPING">;
|
|
8735
8887
|
shipping: z.ZodObject<{
|
|
8736
8888
|
deliveryType: z.ZodEnum<{
|
|
8737
|
-
PAID: "PAID";
|
|
8738
8889
|
FREE: "FREE";
|
|
8890
|
+
PAID: "PAID";
|
|
8739
8891
|
CONDITIONAL_FREE: "CONDITIONAL_FREE";
|
|
8740
8892
|
}>;
|
|
8741
8893
|
deliveryFee: z.ZodNumber;
|
|
@@ -8807,9 +8959,9 @@ export declare const productReplaceRequestSchema: z.ZodObject<{
|
|
|
8807
8959
|
type: z.ZodOptional<z.ZodEnum<{
|
|
8808
8960
|
number: "number";
|
|
8809
8961
|
date: "date";
|
|
8810
|
-
datetime: "datetime";
|
|
8811
|
-
select: "select";
|
|
8812
8962
|
text: "text";
|
|
8963
|
+
select: "select";
|
|
8964
|
+
datetime: "datetime";
|
|
8813
8965
|
image: "image";
|
|
8814
8966
|
}>>;
|
|
8815
8967
|
options: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
|
|
@@ -8846,10 +8998,10 @@ export declare const productPatchRequestSchema: z.ZodObject<{
|
|
|
8846
8998
|
name: z.ZodOptional<z.ZodString>;
|
|
8847
8999
|
salePrice: z.ZodOptional<z.ZodNumber>;
|
|
8848
9000
|
status: z.ZodOptional<z.ZodEnum<{
|
|
8849
|
-
SUSPENDED: "SUSPENDED";
|
|
8850
|
-
CLOSED: "CLOSED";
|
|
8851
9001
|
SALE: "SALE";
|
|
9002
|
+
SUSPENDED: "SUSPENDED";
|
|
8852
9003
|
OUT_OF_STOCK: "OUT_OF_STOCK";
|
|
9004
|
+
CLOSED: "CLOSED";
|
|
8853
9005
|
}>>;
|
|
8854
9006
|
flowId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
8855
9007
|
images: z.ZodOptional<z.ZodArray<z.ZodURL>>;
|
|
@@ -8857,8 +9009,8 @@ export declare const productPatchRequestSchema: z.ZodObject<{
|
|
|
8857
9009
|
type: z.ZodLiteral<"SHIPPING">;
|
|
8858
9010
|
shipping: z.ZodObject<{
|
|
8859
9011
|
deliveryType: z.ZodEnum<{
|
|
8860
|
-
PAID: "PAID";
|
|
8861
9012
|
FREE: "FREE";
|
|
9013
|
+
PAID: "PAID";
|
|
8862
9014
|
CONDITIONAL_FREE: "CONDITIONAL_FREE";
|
|
8863
9015
|
}>;
|
|
8864
9016
|
deliveryFee: z.ZodNumber;
|
|
@@ -8892,11 +9044,11 @@ export declare const productPatchRequestSchema: z.ZodObject<{
|
|
|
8892
9044
|
}, z.core.$strict>;
|
|
8893
9045
|
export type ProductPatchRequest = z.infer<typeof productPatchRequestSchema>;
|
|
8894
9046
|
export declare const productSortSchema: z.ZodEnum<{
|
|
9047
|
+
"updatedAt.desc": "updatedAt.desc";
|
|
8895
9048
|
"createdAt.desc": "createdAt.desc";
|
|
8896
9049
|
"createdAt.asc": "createdAt.asc";
|
|
8897
9050
|
"salePrice.asc": "salePrice.asc";
|
|
8898
9051
|
"salePrice.desc": "salePrice.desc";
|
|
8899
|
-
"updatedAt.desc": "updatedAt.desc";
|
|
8900
9052
|
}>;
|
|
8901
9053
|
export type ProductSort = z.infer<typeof productSortSchema>;
|
|
8902
9054
|
export interface ProductListParams extends PageParams {
|
|
@@ -8913,21 +9065,21 @@ export declare const productListQuerySchema: z.ZodObject<{
|
|
|
8913
9065
|
page: z.ZodOptional<z.ZodString>;
|
|
8914
9066
|
size: z.ZodOptional<z.ZodString>;
|
|
8915
9067
|
status: z.ZodOptional<z.ZodEnum<{
|
|
8916
|
-
SUSPENDED: "SUSPENDED";
|
|
8917
|
-
CLOSED: "CLOSED";
|
|
8918
9068
|
SALE: "SALE";
|
|
9069
|
+
SUSPENDED: "SUSPENDED";
|
|
8919
9070
|
OUT_OF_STOCK: "OUT_OF_STOCK";
|
|
9071
|
+
CLOSED: "CLOSED";
|
|
8920
9072
|
}>>;
|
|
8921
9073
|
categoryId: z.ZodOptional<z.ZodString>;
|
|
8922
9074
|
keyword: z.ZodOptional<z.ZodString>;
|
|
8923
9075
|
sellerCode: z.ZodOptional<z.ZodString>;
|
|
8924
9076
|
productNo: z.ZodOptional<z.ZodString>;
|
|
8925
9077
|
sort: z.ZodOptional<z.ZodEnum<{
|
|
9078
|
+
"updatedAt.desc": "updatedAt.desc";
|
|
8926
9079
|
"createdAt.desc": "createdAt.desc";
|
|
8927
9080
|
"createdAt.asc": "createdAt.asc";
|
|
8928
9081
|
"salePrice.asc": "salePrice.asc";
|
|
8929
9082
|
"salePrice.desc": "salePrice.desc";
|
|
8930
|
-
"updatedAt.desc": "updatedAt.desc";
|
|
8931
9083
|
}>>;
|
|
8932
9084
|
}, z.core.$strip>;
|
|
8933
9085
|
export declare const discountRequestSchema: z.ZodObject<{
|
|
@@ -9040,9 +9192,9 @@ export declare const savedCustomInputRequestSchema: z.ZodObject<{
|
|
|
9040
9192
|
type: z.ZodOptional<z.ZodEnum<{
|
|
9041
9193
|
number: "number";
|
|
9042
9194
|
date: "date";
|
|
9043
|
-
datetime: "datetime";
|
|
9044
|
-
select: "select";
|
|
9045
9195
|
text: "text";
|
|
9196
|
+
select: "select";
|
|
9197
|
+
datetime: "datetime";
|
|
9046
9198
|
image: "image";
|
|
9047
9199
|
}>>;
|
|
9048
9200
|
options: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
|
|
@@ -9080,9 +9232,9 @@ export declare const savedOptionSetRequestSchema: z.ZodObject<{
|
|
|
9080
9232
|
type: z.ZodOptional<z.ZodEnum<{
|
|
9081
9233
|
number: "number";
|
|
9082
9234
|
date: "date";
|
|
9083
|
-
datetime: "datetime";
|
|
9084
|
-
select: "select";
|
|
9085
9235
|
text: "text";
|
|
9236
|
+
select: "select";
|
|
9237
|
+
datetime: "datetime";
|
|
9086
9238
|
image: "image";
|
|
9087
9239
|
}>>;
|
|
9088
9240
|
options: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
|
|
@@ -9386,9 +9538,9 @@ export declare const storeSchema: z.ZodObject<{
|
|
|
9386
9538
|
storeCode: z.ZodString;
|
|
9387
9539
|
storefrontUrl: z.ZodURL;
|
|
9388
9540
|
status: z.ZodEnum<{
|
|
9389
|
-
ACTIVE: "ACTIVE";
|
|
9390
9541
|
SUSPENDED: "SUSPENDED";
|
|
9391
9542
|
CLOSED: "CLOSED";
|
|
9543
|
+
ACTIVE: "ACTIVE";
|
|
9392
9544
|
}>;
|
|
9393
9545
|
logoUrl: z.ZodNullable<z.ZodURL>;
|
|
9394
9546
|
businessNumber: z.ZodNullable<z.ZodString>;
|
|
@@ -9400,9 +9552,9 @@ export declare const storeMemberSchema: z.ZodObject<{
|
|
|
9400
9552
|
name: z.ZodString;
|
|
9401
9553
|
email: z.ZodEmail;
|
|
9402
9554
|
role: z.ZodEnum<{
|
|
9403
|
-
OWNER: "OWNER";
|
|
9404
9555
|
ADMIN: "ADMIN";
|
|
9405
9556
|
STAFF: "STAFF";
|
|
9557
|
+
OWNER: "OWNER";
|
|
9406
9558
|
}>;
|
|
9407
9559
|
joinedAt: z.ZodString;
|
|
9408
9560
|
lastActiveAt: z.ZodNullable<z.ZodString>;
|
|
@@ -9427,10 +9579,10 @@ export declare const invitationSchema: z.ZodObject<{
|
|
|
9427
9579
|
STAFF: "STAFF";
|
|
9428
9580
|
}>;
|
|
9429
9581
|
status: z.ZodEnum<{
|
|
9430
|
-
CANCELED: "CANCELED";
|
|
9431
9582
|
PENDING: "PENDING";
|
|
9432
9583
|
EXPIRED: "EXPIRED";
|
|
9433
9584
|
ACCEPTED: "ACCEPTED";
|
|
9585
|
+
CANCELED: "CANCELED";
|
|
9434
9586
|
}>;
|
|
9435
9587
|
invitedBy: z.ZodString;
|
|
9436
9588
|
expiresAt: z.ZodString;
|
|
@@ -9467,10 +9619,10 @@ export type UpdateMemberRoleRequest = z.infer<typeof updateMemberRoleRequestSche
|
|
|
9467
9619
|
/** `GET /v1/store/invitations` 쿼리 — OpenAPI 문서용 형태 */
|
|
9468
9620
|
export declare const invitationListQuerySchema: z.ZodObject<{
|
|
9469
9621
|
status: z.ZodOptional<z.ZodEnum<{
|
|
9470
|
-
CANCELED: "CANCELED";
|
|
9471
9622
|
PENDING: "PENDING";
|
|
9472
9623
|
EXPIRED: "EXPIRED";
|
|
9473
9624
|
ACCEPTED: "ACCEPTED";
|
|
9625
|
+
CANCELED: "CANCELED";
|
|
9474
9626
|
}>>;
|
|
9475
9627
|
}, z.core.$strip>;
|
|
9476
9628
|
/** `PATCH /v1/store/members/{userId}` 응답 — 바뀐 역할 */
|
|
@@ -9646,8 +9798,8 @@ export declare const storeTemplateSchema: z.ZodObject<{
|
|
|
9646
9798
|
description: z.ZodString;
|
|
9647
9799
|
thumbnailUrl: z.ZodNullable<z.ZodString>;
|
|
9648
9800
|
status: z.ZodEnum<{
|
|
9649
|
-
DRAFT: "DRAFT";
|
|
9650
9801
|
ACTIVE: "ACTIVE";
|
|
9802
|
+
DRAFT: "DRAFT";
|
|
9651
9803
|
RETIRED: "RETIRED";
|
|
9652
9804
|
}>;
|
|
9653
9805
|
version: z.ZodNullable<z.ZodString>;
|
|
@@ -9699,9 +9851,9 @@ export declare const storefrontVersionSchema: z.ZodObject<{
|
|
|
9699
9851
|
}, z.core.$strip>;
|
|
9700
9852
|
export type StorefrontVersion = z.infer<typeof storefrontVersionSchema>;
|
|
9701
9853
|
export declare const storefrontSiteStatusSchema: z.ZodEnum<{
|
|
9702
|
-
ACTIVE: "ACTIVE";
|
|
9703
9854
|
SUSPENDED: "SUSPENDED";
|
|
9704
9855
|
CLOSED: "CLOSED";
|
|
9856
|
+
ACTIVE: "ACTIVE";
|
|
9705
9857
|
}>;
|
|
9706
9858
|
export type StorefrontSiteStatus = z.infer<typeof storefrontSiteStatusSchema>;
|
|
9707
9859
|
export declare const storefrontVisibilitySchema: z.ZodEnum<{
|
|
@@ -9720,8 +9872,8 @@ export declare const storefrontDomainSchema: z.ZodObject<{
|
|
|
9720
9872
|
CUSTOM: "CUSTOM";
|
|
9721
9873
|
}>;
|
|
9722
9874
|
status: z.ZodEnum<{
|
|
9723
|
-
HELD: "HELD";
|
|
9724
9875
|
ACTIVE: "ACTIVE";
|
|
9876
|
+
HELD: "HELD";
|
|
9725
9877
|
}>;
|
|
9726
9878
|
isPrimary: z.ZodBoolean;
|
|
9727
9879
|
holdUntil: z.ZodNullable<z.ZodString>;
|
|
@@ -9733,8 +9885,8 @@ export type StorefrontDomain = z.infer<typeof storefrontDomainSchema>;
|
|
|
9733
9885
|
*/
|
|
9734
9886
|
export declare const storefrontProvisioningSchema: z.ZodObject<{
|
|
9735
9887
|
status: z.ZodEnum<{
|
|
9736
|
-
FAILED: "FAILED";
|
|
9737
9888
|
PENDING: "PENDING";
|
|
9889
|
+
FAILED: "FAILED";
|
|
9738
9890
|
SYNCED: "SYNCED";
|
|
9739
9891
|
}>;
|
|
9740
9892
|
lastErrorCode: z.ZodNullable<z.ZodString>;
|
|
@@ -9777,8 +9929,8 @@ export declare const storefrontSiteSchema: z.ZodObject<{
|
|
|
9777
9929
|
CUSTOM: "CUSTOM";
|
|
9778
9930
|
}>;
|
|
9779
9931
|
status: z.ZodEnum<{
|
|
9780
|
-
HELD: "HELD";
|
|
9781
9932
|
ACTIVE: "ACTIVE";
|
|
9933
|
+
HELD: "HELD";
|
|
9782
9934
|
}>;
|
|
9783
9935
|
isPrimary: z.ZodBoolean;
|
|
9784
9936
|
holdUntil: z.ZodNullable<z.ZodString>;
|
|
@@ -9789,9 +9941,9 @@ export declare const storefrontSiteSchema: z.ZodObject<{
|
|
|
9789
9941
|
MANAGED: "MANAGED";
|
|
9790
9942
|
}>;
|
|
9791
9943
|
status: z.ZodEnum<{
|
|
9792
|
-
ACTIVE: "ACTIVE";
|
|
9793
9944
|
SUSPENDED: "SUSPENDED";
|
|
9794
9945
|
CLOSED: "CLOSED";
|
|
9946
|
+
ACTIVE: "ACTIVE";
|
|
9795
9947
|
}>;
|
|
9796
9948
|
visibility: z.ZodEnum<{
|
|
9797
9949
|
COMING_SOON: "COMING_SOON";
|
|
@@ -9821,8 +9973,8 @@ export declare const storefrontSiteSchema: z.ZodObject<{
|
|
|
9821
9973
|
}, z.core.$strip>>;
|
|
9822
9974
|
provisioning: z.ZodObject<{
|
|
9823
9975
|
status: z.ZodEnum<{
|
|
9824
|
-
FAILED: "FAILED";
|
|
9825
9976
|
PENDING: "PENDING";
|
|
9977
|
+
FAILED: "FAILED";
|
|
9826
9978
|
SYNCED: "SYNCED";
|
|
9827
9979
|
}>;
|
|
9828
9980
|
lastErrorCode: z.ZodNullable<z.ZodString>;
|
|
@@ -9862,8 +10014,8 @@ export declare const storefrontHostingSchema: z.ZodObject<{
|
|
|
9862
10014
|
CUSTOM: "CUSTOM";
|
|
9863
10015
|
}>;
|
|
9864
10016
|
status: z.ZodEnum<{
|
|
9865
|
-
HELD: "HELD";
|
|
9866
10017
|
ACTIVE: "ACTIVE";
|
|
10018
|
+
HELD: "HELD";
|
|
9867
10019
|
}>;
|
|
9868
10020
|
isPrimary: z.ZodBoolean;
|
|
9869
10021
|
holdUntil: z.ZodNullable<z.ZodString>;
|
|
@@ -9874,9 +10026,9 @@ export declare const storefrontHostingSchema: z.ZodObject<{
|
|
|
9874
10026
|
MANAGED: "MANAGED";
|
|
9875
10027
|
}>;
|
|
9876
10028
|
status: z.ZodEnum<{
|
|
9877
|
-
ACTIVE: "ACTIVE";
|
|
9878
10029
|
SUSPENDED: "SUSPENDED";
|
|
9879
10030
|
CLOSED: "CLOSED";
|
|
10031
|
+
ACTIVE: "ACTIVE";
|
|
9880
10032
|
}>;
|
|
9881
10033
|
visibility: z.ZodEnum<{
|
|
9882
10034
|
COMING_SOON: "COMING_SOON";
|
|
@@ -9906,8 +10058,8 @@ export declare const storefrontHostingSchema: z.ZodObject<{
|
|
|
9906
10058
|
}, z.core.$strip>>;
|
|
9907
10059
|
provisioning: z.ZodObject<{
|
|
9908
10060
|
status: z.ZodEnum<{
|
|
9909
|
-
FAILED: "FAILED";
|
|
9910
10061
|
PENDING: "PENDING";
|
|
10062
|
+
FAILED: "FAILED";
|
|
9911
10063
|
SYNCED: "SYNCED";
|
|
9912
10064
|
}>;
|
|
9913
10065
|
lastErrorCode: z.ZodNullable<z.ZodString>;
|
|
@@ -9949,14 +10101,14 @@ export type StorefrontSlugAvailability = z.infer<typeof storefrontSlugAvailabili
|
|
|
9949
10101
|
*/
|
|
9950
10102
|
export declare const storefrontDeploymentStepSchema: z.ZodObject<{
|
|
9951
10103
|
key: z.ZodEnum<{
|
|
9952
|
-
UPLOAD: "UPLOAD";
|
|
9953
10104
|
SITE: "SITE";
|
|
10105
|
+
UPLOAD: "UPLOAD";
|
|
9954
10106
|
PUBLISH: "PUBLISH";
|
|
9955
10107
|
}>;
|
|
9956
10108
|
status: z.ZodEnum<{
|
|
10109
|
+
PENDING: "PENDING";
|
|
9957
10110
|
FAILED: "FAILED";
|
|
9958
10111
|
RUNNING: "RUNNING";
|
|
9959
|
-
PENDING: "PENDING";
|
|
9960
10112
|
DONE: "DONE";
|
|
9961
10113
|
}>;
|
|
9962
10114
|
finishedAt: z.ZodNullable<z.ZodString>;
|
|
@@ -9965,9 +10117,9 @@ export type StorefrontDeploymentStep = z.infer<typeof storefrontDeploymentStepSc
|
|
|
9965
10117
|
export declare const storefrontDeploymentLogSchema: z.ZodObject<{
|
|
9966
10118
|
at: z.ZodNullable<z.ZodString>;
|
|
9967
10119
|
level: z.ZodEnum<{
|
|
9968
|
-
ERROR: "ERROR";
|
|
9969
10120
|
INFO: "INFO";
|
|
9970
10121
|
WARN: "WARN";
|
|
10122
|
+
ERROR: "ERROR";
|
|
9971
10123
|
}>;
|
|
9972
10124
|
code: z.ZodString;
|
|
9973
10125
|
message: z.ZodString;
|
|
@@ -9985,14 +10137,14 @@ export declare const storefrontDeploymentSchema: z.ZodObject<{
|
|
|
9985
10137
|
finishedAt: z.ZodNullable<z.ZodString>;
|
|
9986
10138
|
steps: z.ZodArray<z.ZodObject<{
|
|
9987
10139
|
key: z.ZodEnum<{
|
|
9988
|
-
UPLOAD: "UPLOAD";
|
|
9989
10140
|
SITE: "SITE";
|
|
10141
|
+
UPLOAD: "UPLOAD";
|
|
9990
10142
|
PUBLISH: "PUBLISH";
|
|
9991
10143
|
}>;
|
|
9992
10144
|
status: z.ZodEnum<{
|
|
10145
|
+
PENDING: "PENDING";
|
|
9993
10146
|
FAILED: "FAILED";
|
|
9994
10147
|
RUNNING: "RUNNING";
|
|
9995
|
-
PENDING: "PENDING";
|
|
9996
10148
|
DONE: "DONE";
|
|
9997
10149
|
}>;
|
|
9998
10150
|
finishedAt: z.ZodNullable<z.ZodString>;
|
|
@@ -10000,9 +10152,9 @@ export declare const storefrontDeploymentSchema: z.ZodObject<{
|
|
|
10000
10152
|
log: z.ZodArray<z.ZodObject<{
|
|
10001
10153
|
at: z.ZodNullable<z.ZodString>;
|
|
10002
10154
|
level: z.ZodEnum<{
|
|
10003
|
-
ERROR: "ERROR";
|
|
10004
10155
|
INFO: "INFO";
|
|
10005
10156
|
WARN: "WARN";
|
|
10157
|
+
ERROR: "ERROR";
|
|
10006
10158
|
}>;
|
|
10007
10159
|
code: z.ZodString;
|
|
10008
10160
|
message: z.ZodString;
|
|
@@ -10159,8 +10311,8 @@ export declare const storefrontSiteDomainSchema: z.ZodObject<{
|
|
|
10159
10311
|
}, z.core.$strip>>;
|
|
10160
10312
|
certificateStatus: z.ZodNullable<z.ZodEnum<{
|
|
10161
10313
|
ACTIVE: "ACTIVE";
|
|
10162
|
-
FAILED: "FAILED";
|
|
10163
10314
|
PENDING: "PENDING";
|
|
10315
|
+
FAILED: "FAILED";
|
|
10164
10316
|
}>>;
|
|
10165
10317
|
failureCode: z.ZodNullable<z.ZodString>;
|
|
10166
10318
|
verifiedAt: z.ZodNullable<z.ZodString>;
|
|
@@ -10202,8 +10354,8 @@ export declare const storefrontSiteDomainsSchema: z.ZodObject<{
|
|
|
10202
10354
|
}, z.core.$strip>>;
|
|
10203
10355
|
certificateStatus: z.ZodNullable<z.ZodEnum<{
|
|
10204
10356
|
ACTIVE: "ACTIVE";
|
|
10205
|
-
FAILED: "FAILED";
|
|
10206
10357
|
PENDING: "PENDING";
|
|
10358
|
+
FAILED: "FAILED";
|
|
10207
10359
|
}>>;
|
|
10208
10360
|
failureCode: z.ZodNullable<z.ZodString>;
|
|
10209
10361
|
verifiedAt: z.ZodNullable<z.ZodString>;
|
|
@@ -10438,11 +10590,11 @@ export declare const runStorefrontCheckRequestSchema: z.ZodObject<{
|
|
|
10438
10590
|
export type RunStorefrontCheckRequest = z.infer<typeof runStorefrontCheckRequestSchema>;
|
|
10439
10591
|
export declare const storefrontCheckStatusSchema: z.ZodEnum<{
|
|
10440
10592
|
FAILED: "FAILED";
|
|
10441
|
-
QUEUED: "QUEUED";
|
|
10442
|
-
RUNNING: "RUNNING";
|
|
10443
|
-
TIMED_OUT: "TIMED_OUT";
|
|
10444
10593
|
UNKNOWN: "UNKNOWN";
|
|
10594
|
+
RUNNING: "RUNNING";
|
|
10595
|
+
QUEUED: "QUEUED";
|
|
10445
10596
|
PASSED: "PASSED";
|
|
10597
|
+
TIMED_OUT: "TIMED_OUT";
|
|
10446
10598
|
}>;
|
|
10447
10599
|
export type StorefrontCheckStatus = z.infer<typeof storefrontCheckStatusSchema>;
|
|
10448
10600
|
/** 끝난 검사 상태 */
|
|
@@ -10452,11 +10604,11 @@ export declare const storefrontCheckSchema: z.ZodObject<{
|
|
|
10452
10604
|
check: z.ZodString;
|
|
10453
10605
|
status: z.ZodEnum<{
|
|
10454
10606
|
FAILED: "FAILED";
|
|
10455
|
-
QUEUED: "QUEUED";
|
|
10456
|
-
RUNNING: "RUNNING";
|
|
10457
|
-
TIMED_OUT: "TIMED_OUT";
|
|
10458
10607
|
UNKNOWN: "UNKNOWN";
|
|
10608
|
+
RUNNING: "RUNNING";
|
|
10609
|
+
QUEUED: "QUEUED";
|
|
10459
10610
|
PASSED: "PASSED";
|
|
10611
|
+
TIMED_OUT: "TIMED_OUT";
|
|
10460
10612
|
}>;
|
|
10461
10613
|
exitCode: z.ZodNullable<z.ZodNumber>;
|
|
10462
10614
|
durationMs: z.ZodNullable<z.ZodNumber>;
|
|
@@ -10537,9 +10689,9 @@ export declare const storefrontVerifyReportSchema: z.ZodObject<{
|
|
|
10537
10689
|
export type StorefrontVerifyReport = z.infer<typeof storefrontVerifyReportSchema>;
|
|
10538
10690
|
export declare const storefrontBuildStatusSchema: z.ZodEnum<{
|
|
10539
10691
|
FAILED: "FAILED";
|
|
10540
|
-
QUEUED: "QUEUED";
|
|
10541
|
-
RUNNING: "RUNNING";
|
|
10542
10692
|
SUCCEEDED: "SUCCEEDED";
|
|
10693
|
+
RUNNING: "RUNNING";
|
|
10694
|
+
QUEUED: "QUEUED";
|
|
10543
10695
|
TIMED_OUT: "TIMED_OUT";
|
|
10544
10696
|
}>;
|
|
10545
10697
|
export type StorefrontBuildStatus = z.infer<typeof storefrontBuildStatusSchema>;
|
|
@@ -10605,9 +10757,9 @@ export declare const storefrontBuildSchema: z.ZodObject<{
|
|
|
10605
10757
|
versionNumber: z.ZodNumber;
|
|
10606
10758
|
status: z.ZodEnum<{
|
|
10607
10759
|
FAILED: "FAILED";
|
|
10608
|
-
QUEUED: "QUEUED";
|
|
10609
|
-
RUNNING: "RUNNING";
|
|
10610
10760
|
SUCCEEDED: "SUCCEEDED";
|
|
10761
|
+
RUNNING: "RUNNING";
|
|
10762
|
+
QUEUED: "QUEUED";
|
|
10611
10763
|
TIMED_OUT: "TIMED_OUT";
|
|
10612
10764
|
}>;
|
|
10613
10765
|
failureStage: z.ZodNullable<z.ZodString>;
|
|
@@ -10734,9 +10886,9 @@ export declare const storefrontVersionCreatedSchema: z.ZodObject<{
|
|
|
10734
10886
|
versionNumber: z.ZodNumber;
|
|
10735
10887
|
status: z.ZodEnum<{
|
|
10736
10888
|
FAILED: "FAILED";
|
|
10737
|
-
QUEUED: "QUEUED";
|
|
10738
|
-
RUNNING: "RUNNING";
|
|
10739
10889
|
SUCCEEDED: "SUCCEEDED";
|
|
10890
|
+
RUNNING: "RUNNING";
|
|
10891
|
+
QUEUED: "QUEUED";
|
|
10740
10892
|
TIMED_OUT: "TIMED_OUT";
|
|
10741
10893
|
}>;
|
|
10742
10894
|
failureStage: z.ZodNullable<z.ZodString>;
|
|
@@ -10934,8 +11086,8 @@ export type StorefrontSourceReplaced = z.infer<typeof storefrontSourceReplacedSc
|
|
|
10934
11086
|
* - `flow-attachment`: 주문 흐름 행동의 첨부(시안 등, 이슈 #115). 구매자에게 보이므로 정지 이미지와 PDF만 받는다.
|
|
10935
11087
|
*/
|
|
10936
11088
|
export declare const uploadPurposeSchema: z.ZodEnum<{
|
|
10937
|
-
description: "description";
|
|
10938
11089
|
"product-image": "product-image";
|
|
11090
|
+
description: "description";
|
|
10939
11091
|
"flow-attachment": "flow-attachment";
|
|
10940
11092
|
}>;
|
|
10941
11093
|
export type UploadPurpose = z.infer<typeof uploadPurposeSchema>;
|
|
@@ -10974,8 +11126,8 @@ export declare function uploadRejection(purpose: UploadPurpose, filename: string
|
|
|
10974
11126
|
export declare const uploadRequestSchema: z.ZodObject<{
|
|
10975
11127
|
filename: z.ZodString;
|
|
10976
11128
|
purpose: z.ZodDefault<z.ZodEnum<{
|
|
10977
|
-
description: "description";
|
|
10978
11129
|
"product-image": "product-image";
|
|
11130
|
+
description: "description";
|
|
10979
11131
|
"flow-attachment": "flow-attachment";
|
|
10980
11132
|
}>>;
|
|
10981
11133
|
size: z.ZodOptional<z.ZodNumber>;
|
|
@@ -10989,9 +11141,9 @@ export type UploadTicket = z.infer<typeof uploadTicketSchema>;
|
|
|
10989
11141
|
//#endregion
|
|
10990
11142
|
//#region src/schemas/auth.d.ts
|
|
10991
11143
|
export declare const storeRoleSchema: z.ZodEnum<{
|
|
10992
|
-
OWNER: "OWNER";
|
|
10993
11144
|
ADMIN: "ADMIN";
|
|
10994
11145
|
STAFF: "STAFF";
|
|
11146
|
+
OWNER: "OWNER";
|
|
10995
11147
|
}>;
|
|
10996
11148
|
export type StoreRole = z.infer<typeof storeRoleSchema>;
|
|
10997
11149
|
export declare const myStoreSchema: z.ZodObject<{
|
|
@@ -10999,14 +11151,14 @@ export declare const myStoreSchema: z.ZodObject<{
|
|
|
10999
11151
|
storeName: z.ZodString;
|
|
11000
11152
|
storeCode: z.ZodString;
|
|
11001
11153
|
role: z.ZodEnum<{
|
|
11002
|
-
OWNER: "OWNER";
|
|
11003
11154
|
ADMIN: "ADMIN";
|
|
11004
11155
|
STAFF: "STAFF";
|
|
11156
|
+
OWNER: "OWNER";
|
|
11005
11157
|
}>;
|
|
11006
11158
|
status: z.ZodEnum<{
|
|
11007
|
-
ACTIVE: "ACTIVE";
|
|
11008
11159
|
SUSPENDED: "SUSPENDED";
|
|
11009
11160
|
CLOSED: "CLOSED";
|
|
11161
|
+
ACTIVE: "ACTIVE";
|
|
11010
11162
|
}>;
|
|
11011
11163
|
}, z.core.$strip>;
|
|
11012
11164
|
export type MyStore = z.infer<typeof myStoreSchema>;
|
|
@@ -11161,8 +11313,8 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
11161
11313
|
storeId: string;
|
|
11162
11314
|
storeName: string;
|
|
11163
11315
|
storeCode: string;
|
|
11164
|
-
role: "
|
|
11165
|
-
status: "
|
|
11316
|
+
role: "ADMIN" | "STAFF" | "OWNER";
|
|
11317
|
+
status: "SUSPENDED" | "CLOSED" | "ACTIVE";
|
|
11166
11318
|
}[]>;
|
|
11167
11319
|
me: () => Promise<{
|
|
11168
11320
|
userId: string;
|
|
@@ -11202,7 +11354,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
11202
11354
|
productId: string;
|
|
11203
11355
|
productNo: number | null;
|
|
11204
11356
|
name: string;
|
|
11205
|
-
status: "
|
|
11357
|
+
status: "SALE" | "SUSPENDED" | "OUT_OF_STOCK" | "CLOSED";
|
|
11206
11358
|
salePrice: number;
|
|
11207
11359
|
discountedPrice: number | null;
|
|
11208
11360
|
stockQuantity: number;
|
|
@@ -11220,7 +11372,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
11220
11372
|
productId: string;
|
|
11221
11373
|
productNo: number | null;
|
|
11222
11374
|
name: string;
|
|
11223
|
-
status: "
|
|
11375
|
+
status: "SALE" | "SUSPENDED" | "OUT_OF_STOCK" | "CLOSED";
|
|
11224
11376
|
salePrice: number;
|
|
11225
11377
|
discountedPrice: number | null;
|
|
11226
11378
|
stockQuantity: number;
|
|
@@ -11283,7 +11435,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
11283
11435
|
fulfillment: UnknownFulfillment | {
|
|
11284
11436
|
type: "SHIPPING";
|
|
11285
11437
|
shipping: {
|
|
11286
|
-
deliveryType: "
|
|
11438
|
+
deliveryType: "FREE" | "PAID" | "CONDITIONAL_FREE";
|
|
11287
11439
|
deliveryFee: number;
|
|
11288
11440
|
conditionalFreeAmount: number | null;
|
|
11289
11441
|
shippingAddressId: string | null;
|
|
@@ -11328,7 +11480,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
11328
11480
|
productId: string;
|
|
11329
11481
|
productNo: number | null;
|
|
11330
11482
|
name: string;
|
|
11331
|
-
status: "
|
|
11483
|
+
status: "SALE" | "SUSPENDED" | "OUT_OF_STOCK" | "CLOSED";
|
|
11332
11484
|
salePrice: number;
|
|
11333
11485
|
discountedPrice: number | null;
|
|
11334
11486
|
stockQuantity: number;
|
|
@@ -11391,7 +11543,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
11391
11543
|
fulfillment: UnknownFulfillment | {
|
|
11392
11544
|
type: "SHIPPING";
|
|
11393
11545
|
shipping: {
|
|
11394
|
-
deliveryType: "
|
|
11546
|
+
deliveryType: "FREE" | "PAID" | "CONDITIONAL_FREE";
|
|
11395
11547
|
deliveryFee: number;
|
|
11396
11548
|
conditionalFreeAmount: number | null;
|
|
11397
11549
|
shippingAddressId: string | null;
|
|
@@ -11436,7 +11588,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
11436
11588
|
productId: string;
|
|
11437
11589
|
productNo: number | null;
|
|
11438
11590
|
name: string;
|
|
11439
|
-
status: "
|
|
11591
|
+
status: "SALE" | "SUSPENDED" | "OUT_OF_STOCK" | "CLOSED";
|
|
11440
11592
|
salePrice: number;
|
|
11441
11593
|
discountedPrice: number | null;
|
|
11442
11594
|
stockQuantity: number;
|
|
@@ -11499,7 +11651,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
11499
11651
|
fulfillment: UnknownFulfillment | {
|
|
11500
11652
|
type: "SHIPPING";
|
|
11501
11653
|
shipping: {
|
|
11502
|
-
deliveryType: "
|
|
11654
|
+
deliveryType: "FREE" | "PAID" | "CONDITIONAL_FREE";
|
|
11503
11655
|
deliveryFee: number;
|
|
11504
11656
|
conditionalFreeAmount: number | null;
|
|
11505
11657
|
shippingAddressId: string | null;
|
|
@@ -11881,7 +12033,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
11881
12033
|
value: true;
|
|
11882
12034
|
} | {
|
|
11883
12035
|
field: "bestSelling";
|
|
11884
|
-
days:
|
|
12036
|
+
days: 30 | 7 | 90;
|
|
11885
12037
|
top: number;
|
|
11886
12038
|
} | {
|
|
11887
12039
|
[x: string]: unknown;
|
|
@@ -11931,7 +12083,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
11931
12083
|
value: true;
|
|
11932
12084
|
} | {
|
|
11933
12085
|
field: "bestSelling";
|
|
11934
|
-
days:
|
|
12086
|
+
days: 30 | 7 | 90;
|
|
11935
12087
|
top: number;
|
|
11936
12088
|
} | {
|
|
11937
12089
|
[x: string]: unknown;
|
|
@@ -11974,7 +12126,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
11974
12126
|
value: true;
|
|
11975
12127
|
} | {
|
|
11976
12128
|
field: "bestSelling";
|
|
11977
|
-
days:
|
|
12129
|
+
days: 30 | 7 | 90;
|
|
11978
12130
|
top: number;
|
|
11979
12131
|
} | {
|
|
11980
12132
|
[x: string]: unknown;
|
|
@@ -12016,7 +12168,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
12016
12168
|
value: true;
|
|
12017
12169
|
} | {
|
|
12018
12170
|
field: "bestSelling";
|
|
12019
|
-
days:
|
|
12171
|
+
days: 30 | 7 | 90;
|
|
12020
12172
|
top: number;
|
|
12021
12173
|
} | {
|
|
12022
12174
|
[x: string]: unknown;
|
|
@@ -12079,7 +12231,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
12079
12231
|
value: true;
|
|
12080
12232
|
} | {
|
|
12081
12233
|
field: "bestSelling";
|
|
12082
|
-
days:
|
|
12234
|
+
days: 30 | 7 | 90;
|
|
12083
12235
|
top: number;
|
|
12084
12236
|
} | {
|
|
12085
12237
|
[x: string]: unknown;
|
|
@@ -12122,7 +12274,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
12122
12274
|
value: true;
|
|
12123
12275
|
} | {
|
|
12124
12276
|
field: "bestSelling";
|
|
12125
|
-
days:
|
|
12277
|
+
days: 30 | 7 | 90;
|
|
12126
12278
|
top: number;
|
|
12127
12279
|
} | {
|
|
12128
12280
|
[x: string]: unknown;
|
|
@@ -12333,10 +12485,10 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
12333
12485
|
ordererName: string;
|
|
12334
12486
|
itemCount: number;
|
|
12335
12487
|
totalAmount: number;
|
|
12336
|
-
representativeStatus: "
|
|
12488
|
+
representativeStatus: "PAID" | "CANCELED" | "PAYMENT_WAITING" | "CONFIRMED" | "DISPATCHED" | "DELIVERING" | "DELIVERED" | "PURCHASE_DECIDED";
|
|
12337
12489
|
orderedAt: string;
|
|
12338
12490
|
testPayment: boolean;
|
|
12339
|
-
progressStatus?: "
|
|
12491
|
+
progressStatus?: "PAID" | "CANCELED" | "PAYMENT_WAITING" | "CONFIRMED" | "DISPATCHED" | "DELIVERING" | "DELIVERED" | "PURCHASE_DECIDED" | undefined;
|
|
12340
12492
|
}[];
|
|
12341
12493
|
}>;
|
|
12342
12494
|
get: (orderId: string) => Promise<{
|
|
@@ -12402,7 +12554,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
12402
12554
|
orderItemId: string;
|
|
12403
12555
|
orderItemNo: string | null;
|
|
12404
12556
|
orderId: string;
|
|
12405
|
-
status: "
|
|
12557
|
+
status: "PAID" | "CANCELED" | "PAYMENT_WAITING" | "CONFIRMED" | "DISPATCHED" | "DELIVERING" | "DELIVERED" | "PURCHASE_DECIDED";
|
|
12406
12558
|
claimStatus: "CANCEL_REQUESTED" | "RETURN_REQUESTED" | "EXCHANGE_REQUESTED" | null;
|
|
12407
12559
|
productId: string;
|
|
12408
12560
|
productName: string;
|
|
@@ -12479,7 +12631,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
12479
12631
|
}[];
|
|
12480
12632
|
} | undefined;
|
|
12481
12633
|
}[];
|
|
12482
|
-
progressStatus?: "
|
|
12634
|
+
progressStatus?: "PAID" | "CANCELED" | "PAYMENT_WAITING" | "CONFIRMED" | "DISPATCHED" | "DELIVERING" | "DELIVERED" | "PURCHASE_DECIDED" | undefined;
|
|
12483
12635
|
}>;
|
|
12484
12636
|
/**
|
|
12485
12637
|
* `POST /v1/orders/{orderId}/cash-receipt/reissue` — 실패했거나 재시도 대기 중인 현금영수증을 지금 다시 발급·취소한다.
|
|
@@ -12513,7 +12665,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
12513
12665
|
key: string;
|
|
12514
12666
|
results: {
|
|
12515
12667
|
orderItemId: string;
|
|
12516
|
-
status: "
|
|
12668
|
+
status: "FAILED" | "COMPLETED" | "SKIPPED";
|
|
12517
12669
|
reason?: string | undefined;
|
|
12518
12670
|
message?: string | undefined;
|
|
12519
12671
|
}[];
|
|
@@ -12530,7 +12682,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
12530
12682
|
orderItemId: string;
|
|
12531
12683
|
orderItemNo: string | null;
|
|
12532
12684
|
orderId: string;
|
|
12533
|
-
status: "
|
|
12685
|
+
status: "PAID" | "CANCELED" | "PAYMENT_WAITING" | "CONFIRMED" | "DISPATCHED" | "DELIVERING" | "DELIVERED" | "PURCHASE_DECIDED";
|
|
12534
12686
|
claimStatus: "CANCEL_REQUESTED" | "RETURN_REQUESTED" | "EXCHANGE_REQUESTED" | null;
|
|
12535
12687
|
productId: string;
|
|
12536
12688
|
productName: string;
|
|
@@ -12682,7 +12834,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
12682
12834
|
orderItemId: string;
|
|
12683
12835
|
orderItemNo: string | null;
|
|
12684
12836
|
orderId: string;
|
|
12685
|
-
status: "
|
|
12837
|
+
status: "PAID" | "CANCELED" | "PAYMENT_WAITING" | "CONFIRMED" | "DISPATCHED" | "DELIVERING" | "DELIVERED" | "PURCHASE_DECIDED";
|
|
12686
12838
|
claimStatus: "CANCEL_REQUESTED" | "RETURN_REQUESTED" | "EXCHANGE_REQUESTED" | null;
|
|
12687
12839
|
productId: string;
|
|
12688
12840
|
productName: string;
|
|
@@ -12778,7 +12930,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
12778
12930
|
orderItemId: string;
|
|
12779
12931
|
orderItemNo: string | null;
|
|
12780
12932
|
orderId: string;
|
|
12781
|
-
status: "
|
|
12933
|
+
status: "PAID" | "CANCELED" | "PAYMENT_WAITING" | "CONFIRMED" | "DISPATCHED" | "DELIVERING" | "DELIVERED" | "PURCHASE_DECIDED";
|
|
12782
12934
|
claimStatus: "CANCEL_REQUESTED" | "RETURN_REQUESTED" | "EXCHANGE_REQUESTED" | null;
|
|
12783
12935
|
productId: string;
|
|
12784
12936
|
productName: string;
|
|
@@ -12901,8 +13053,8 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
12901
13053
|
label: string;
|
|
12902
13054
|
enteredAt: string;
|
|
12903
13055
|
fields: Record<string, string | number | boolean | string[] | null>;
|
|
12904
|
-
coreStatus?: "
|
|
12905
|
-
claimStatus?: "
|
|
13056
|
+
coreStatus?: "PAID" | "CANCELED" | "PAYMENT_WAITING" | "CONFIRMED" | "DISPATCHED" | "DELIVERING" | "DELIVERED" | "PURCHASE_DECIDED" | undefined;
|
|
13057
|
+
claimStatus?: "REJECTED" | "COMPLETED" | "REQUESTED" | "HELD" | "COLLECTING" | "COLLECTED" | "REDELIVERING" | "APPROVED" | "WITHDRAWN" | undefined;
|
|
12906
13058
|
message?: string | undefined;
|
|
12907
13059
|
deadlineAt?: string | undefined;
|
|
12908
13060
|
attachments?: string[] | undefined;
|
|
@@ -12922,7 +13074,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
12922
13074
|
actions: {
|
|
12923
13075
|
key: string;
|
|
12924
13076
|
label: string;
|
|
12925
|
-
mode: "
|
|
13077
|
+
mode: "REQUEST" | "INSTANT" | "VIEW";
|
|
12926
13078
|
enabled: boolean;
|
|
12927
13079
|
disabled?: {
|
|
12928
13080
|
reason: string;
|
|
@@ -12959,15 +13111,15 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
12959
13111
|
moveTargets?: {
|
|
12960
13112
|
key: string;
|
|
12961
13113
|
label: string;
|
|
12962
|
-
coreStatus: "
|
|
13114
|
+
coreStatus: "PAID" | "CANCELED" | "PAYMENT_WAITING" | "CONFIRMED" | "DISPATCHED" | "DELIVERING" | "DELIVERED" | "PURCHASE_DECIDED" | null;
|
|
12963
13115
|
}[] | undefined;
|
|
12964
13116
|
branches?: {
|
|
12965
13117
|
key: string;
|
|
12966
13118
|
label: string;
|
|
12967
13119
|
enteredAt: string;
|
|
12968
13120
|
fields: Record<string, string | number | boolean | string[] | null>;
|
|
12969
|
-
coreStatus?: "
|
|
12970
|
-
claimStatus?: "
|
|
13121
|
+
coreStatus?: "PAID" | "CANCELED" | "PAYMENT_WAITING" | "CONFIRMED" | "DISPATCHED" | "DELIVERING" | "DELIVERED" | "PURCHASE_DECIDED" | undefined;
|
|
13122
|
+
claimStatus?: "REJECTED" | "COMPLETED" | "REQUESTED" | "HELD" | "COLLECTING" | "COLLECTED" | "REDELIVERING" | "APPROVED" | "WITHDRAWN" | undefined;
|
|
12971
13123
|
message?: string | undefined;
|
|
12972
13124
|
deadlineAt?: string | undefined;
|
|
12973
13125
|
attachments?: string[] | undefined;
|
|
@@ -12996,8 +13148,8 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
12996
13148
|
label: string;
|
|
12997
13149
|
enteredAt: string;
|
|
12998
13150
|
fields: Record<string, string | number | boolean | string[] | null>;
|
|
12999
|
-
coreStatus?: "
|
|
13000
|
-
claimStatus?: "
|
|
13151
|
+
coreStatus?: "PAID" | "CANCELED" | "PAYMENT_WAITING" | "CONFIRMED" | "DISPATCHED" | "DELIVERING" | "DELIVERED" | "PURCHASE_DECIDED" | undefined;
|
|
13152
|
+
claimStatus?: "REJECTED" | "COMPLETED" | "REQUESTED" | "HELD" | "COLLECTING" | "COLLECTED" | "REDELIVERING" | "APPROVED" | "WITHDRAWN" | undefined;
|
|
13001
13153
|
message?: string | undefined;
|
|
13002
13154
|
deadlineAt?: string | undefined;
|
|
13003
13155
|
attachments?: string[] | undefined;
|
|
@@ -13017,7 +13169,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
13017
13169
|
actions: {
|
|
13018
13170
|
key: string;
|
|
13019
13171
|
label: string;
|
|
13020
|
-
mode: "
|
|
13172
|
+
mode: "REQUEST" | "INSTANT" | "VIEW";
|
|
13021
13173
|
enabled: boolean;
|
|
13022
13174
|
disabled?: {
|
|
13023
13175
|
reason: string;
|
|
@@ -13058,8 +13210,8 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
13058
13210
|
label: string;
|
|
13059
13211
|
enteredAt: string;
|
|
13060
13212
|
fields: Record<string, string | number | boolean | string[] | null>;
|
|
13061
|
-
coreStatus?: "
|
|
13062
|
-
claimStatus?: "
|
|
13213
|
+
coreStatus?: "PAID" | "CANCELED" | "PAYMENT_WAITING" | "CONFIRMED" | "DISPATCHED" | "DELIVERING" | "DELIVERED" | "PURCHASE_DECIDED" | undefined;
|
|
13214
|
+
claimStatus?: "REJECTED" | "COMPLETED" | "REQUESTED" | "HELD" | "COLLECTING" | "COLLECTED" | "REDELIVERING" | "APPROVED" | "WITHDRAWN" | undefined;
|
|
13063
13215
|
message?: string | undefined;
|
|
13064
13216
|
deadlineAt?: string | undefined;
|
|
13065
13217
|
attachments?: string[] | undefined;
|
|
@@ -13079,7 +13231,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
13079
13231
|
actions: {
|
|
13080
13232
|
key: string;
|
|
13081
13233
|
label: string;
|
|
13082
|
-
mode: "
|
|
13234
|
+
mode: "REQUEST" | "INSTANT" | "VIEW";
|
|
13083
13235
|
enabled: boolean;
|
|
13084
13236
|
disabled?: {
|
|
13085
13237
|
reason: string;
|
|
@@ -13120,8 +13272,8 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
13120
13272
|
label: string;
|
|
13121
13273
|
enteredAt: string;
|
|
13122
13274
|
fields: Record<string, string | number | boolean | string[] | null>;
|
|
13123
|
-
coreStatus?: "
|
|
13124
|
-
claimStatus?: "
|
|
13275
|
+
coreStatus?: "PAID" | "CANCELED" | "PAYMENT_WAITING" | "CONFIRMED" | "DISPATCHED" | "DELIVERING" | "DELIVERED" | "PURCHASE_DECIDED" | undefined;
|
|
13276
|
+
claimStatus?: "REJECTED" | "COMPLETED" | "REQUESTED" | "HELD" | "COLLECTING" | "COLLECTED" | "REDELIVERING" | "APPROVED" | "WITHDRAWN" | undefined;
|
|
13125
13277
|
message?: string | undefined;
|
|
13126
13278
|
deadlineAt?: string | undefined;
|
|
13127
13279
|
attachments?: string[] | undefined;
|
|
@@ -13141,7 +13293,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
13141
13293
|
actions: {
|
|
13142
13294
|
key: string;
|
|
13143
13295
|
label: string;
|
|
13144
|
-
mode: "
|
|
13296
|
+
mode: "REQUEST" | "INSTANT" | "VIEW";
|
|
13145
13297
|
enabled: boolean;
|
|
13146
13298
|
disabled?: {
|
|
13147
13299
|
reason: string;
|
|
@@ -13277,7 +13429,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
13277
13429
|
updatedAt: string;
|
|
13278
13430
|
draft: {
|
|
13279
13431
|
version: number;
|
|
13280
|
-
status: "
|
|
13432
|
+
status: "ACTIVE" | "DRAFT" | "LEGACY";
|
|
13281
13433
|
revision: number;
|
|
13282
13434
|
graph: Record<string, unknown>;
|
|
13283
13435
|
definition: Record<string, unknown>;
|
|
@@ -13286,7 +13438,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
13286
13438
|
} | null;
|
|
13287
13439
|
active: {
|
|
13288
13440
|
version: number;
|
|
13289
|
-
status: "
|
|
13441
|
+
status: "ACTIVE" | "DRAFT" | "LEGACY";
|
|
13290
13442
|
revision: number;
|
|
13291
13443
|
graph: Record<string, unknown>;
|
|
13292
13444
|
definition: Record<string, unknown>;
|
|
@@ -13295,7 +13447,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
13295
13447
|
} | null;
|
|
13296
13448
|
versions: {
|
|
13297
13449
|
version: number;
|
|
13298
|
-
status: "
|
|
13450
|
+
status: "ACTIVE" | "DRAFT" | "LEGACY";
|
|
13299
13451
|
publishedAt: string | null;
|
|
13300
13452
|
inProgress?: number | undefined;
|
|
13301
13453
|
}[];
|
|
@@ -13316,7 +13468,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
13316
13468
|
updatedAt: string;
|
|
13317
13469
|
draft: {
|
|
13318
13470
|
version: number;
|
|
13319
|
-
status: "
|
|
13471
|
+
status: "ACTIVE" | "DRAFT" | "LEGACY";
|
|
13320
13472
|
revision: number;
|
|
13321
13473
|
graph: Record<string, unknown>;
|
|
13322
13474
|
definition: Record<string, unknown>;
|
|
@@ -13325,7 +13477,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
13325
13477
|
} | null;
|
|
13326
13478
|
active: {
|
|
13327
13479
|
version: number;
|
|
13328
|
-
status: "
|
|
13480
|
+
status: "ACTIVE" | "DRAFT" | "LEGACY";
|
|
13329
13481
|
revision: number;
|
|
13330
13482
|
graph: Record<string, unknown>;
|
|
13331
13483
|
definition: Record<string, unknown>;
|
|
@@ -13334,7 +13486,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
13334
13486
|
} | null;
|
|
13335
13487
|
versions: {
|
|
13336
13488
|
version: number;
|
|
13337
|
-
status: "
|
|
13489
|
+
status: "ACTIVE" | "DRAFT" | "LEGACY";
|
|
13338
13490
|
publishedAt: string | null;
|
|
13339
13491
|
inProgress?: number | undefined;
|
|
13340
13492
|
}[];
|
|
@@ -13355,7 +13507,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
13355
13507
|
updatedAt: string;
|
|
13356
13508
|
draft: {
|
|
13357
13509
|
version: number;
|
|
13358
|
-
status: "
|
|
13510
|
+
status: "ACTIVE" | "DRAFT" | "LEGACY";
|
|
13359
13511
|
revision: number;
|
|
13360
13512
|
graph: Record<string, unknown>;
|
|
13361
13513
|
definition: Record<string, unknown>;
|
|
@@ -13364,7 +13516,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
13364
13516
|
} | null;
|
|
13365
13517
|
active: {
|
|
13366
13518
|
version: number;
|
|
13367
|
-
status: "
|
|
13519
|
+
status: "ACTIVE" | "DRAFT" | "LEGACY";
|
|
13368
13520
|
revision: number;
|
|
13369
13521
|
graph: Record<string, unknown>;
|
|
13370
13522
|
definition: Record<string, unknown>;
|
|
@@ -13373,7 +13525,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
13373
13525
|
} | null;
|
|
13374
13526
|
versions: {
|
|
13375
13527
|
version: number;
|
|
13376
|
-
status: "
|
|
13528
|
+
status: "ACTIVE" | "DRAFT" | "LEGACY";
|
|
13377
13529
|
publishedAt: string | null;
|
|
13378
13530
|
inProgress?: number | undefined;
|
|
13379
13531
|
}[];
|
|
@@ -13409,7 +13561,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
13409
13561
|
updatedAt: string;
|
|
13410
13562
|
draft: {
|
|
13411
13563
|
version: number;
|
|
13412
|
-
status: "
|
|
13564
|
+
status: "ACTIVE" | "DRAFT" | "LEGACY";
|
|
13413
13565
|
revision: number;
|
|
13414
13566
|
graph: Record<string, unknown>;
|
|
13415
13567
|
definition: Record<string, unknown>;
|
|
@@ -13418,7 +13570,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
13418
13570
|
} | null;
|
|
13419
13571
|
active: {
|
|
13420
13572
|
version: number;
|
|
13421
|
-
status: "
|
|
13573
|
+
status: "ACTIVE" | "DRAFT" | "LEGACY";
|
|
13422
13574
|
revision: number;
|
|
13423
13575
|
graph: Record<string, unknown>;
|
|
13424
13576
|
definition: Record<string, unknown>;
|
|
@@ -13427,7 +13579,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
13427
13579
|
} | null;
|
|
13428
13580
|
versions: {
|
|
13429
13581
|
version: number;
|
|
13430
|
-
status: "
|
|
13582
|
+
status: "ACTIVE" | "DRAFT" | "LEGACY";
|
|
13431
13583
|
publishedAt: string | null;
|
|
13432
13584
|
inProgress?: number | undefined;
|
|
13433
13585
|
}[];
|
|
@@ -13456,7 +13608,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
13456
13608
|
/** `GET /commerce-flows/{id}/versions/{n}` — 게시했던 버전 하나(그래프·정의). 옛 버전 보기용 */
|
|
13457
13609
|
getVersion: (flowId: string, version: number) => Promise<{
|
|
13458
13610
|
version: number;
|
|
13459
|
-
status: "
|
|
13611
|
+
status: "ACTIVE" | "DRAFT" | "LEGACY";
|
|
13460
13612
|
revision: number;
|
|
13461
13613
|
graph: Record<string, unknown>;
|
|
13462
13614
|
definition: Record<string, unknown>;
|
|
@@ -13548,7 +13700,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
13548
13700
|
key: string;
|
|
13549
13701
|
side: "buyer" | "seller";
|
|
13550
13702
|
label: string;
|
|
13551
|
-
mode: "
|
|
13703
|
+
mode: "REQUEST" | "INSTANT" | "VIEW";
|
|
13552
13704
|
window: boolean;
|
|
13553
13705
|
fee: boolean;
|
|
13554
13706
|
listed: boolean;
|
|
@@ -13572,15 +13724,15 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
13572
13724
|
contents: {
|
|
13573
13725
|
claimId: string;
|
|
13574
13726
|
claimNo: string | null;
|
|
13575
|
-
type: "
|
|
13576
|
-
status: "
|
|
13727
|
+
type: "RETURN" | "EXCHANGE" | "CANCEL";
|
|
13728
|
+
status: "REJECTED" | "COMPLETED" | "REQUESTED" | "HELD" | "COLLECTING" | "COLLECTED" | "REDELIVERING" | "APPROVED" | "WITHDRAWN";
|
|
13577
13729
|
orderId: string;
|
|
13578
13730
|
orderItemId: string;
|
|
13579
13731
|
productName: string;
|
|
13580
13732
|
quantity: number;
|
|
13581
13733
|
reason: "CHANGE_OF_MIND" | "WRONG_ORDER" | "DEFECTIVE" | "WRONG_DELIVERY" | "DIFFERENT_FROM_PAGE" | "DELAY";
|
|
13582
13734
|
reasonDetail: string | null;
|
|
13583
|
-
responsibility: "
|
|
13735
|
+
responsibility: "BUYER" | "SELLER";
|
|
13584
13736
|
claimDeliveryFee: number;
|
|
13585
13737
|
expectedRefundAmount: number | null;
|
|
13586
13738
|
expectedDeliveryFeeRefundAmount: number | null;
|
|
@@ -13612,15 +13764,15 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
13612
13764
|
get: (claimId: string) => Promise<{
|
|
13613
13765
|
claimId: string;
|
|
13614
13766
|
claimNo: string | null;
|
|
13615
|
-
type: "
|
|
13616
|
-
status: "
|
|
13767
|
+
type: "RETURN" | "EXCHANGE" | "CANCEL";
|
|
13768
|
+
status: "REJECTED" | "COMPLETED" | "REQUESTED" | "HELD" | "COLLECTING" | "COLLECTED" | "REDELIVERING" | "APPROVED" | "WITHDRAWN";
|
|
13617
13769
|
orderId: string;
|
|
13618
13770
|
orderItemId: string;
|
|
13619
13771
|
productName: string;
|
|
13620
13772
|
quantity: number;
|
|
13621
13773
|
reason: "CHANGE_OF_MIND" | "WRONG_ORDER" | "DEFECTIVE" | "WRONG_DELIVERY" | "DIFFERENT_FROM_PAGE" | "DELAY";
|
|
13622
13774
|
reasonDetail: string | null;
|
|
13623
|
-
responsibility: "
|
|
13775
|
+
responsibility: "BUYER" | "SELLER";
|
|
13624
13776
|
claimDeliveryFee: number;
|
|
13625
13777
|
expectedRefundAmount: number | null;
|
|
13626
13778
|
expectedDeliveryFeeRefundAmount: number | null;
|
|
@@ -13648,8 +13800,8 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
13648
13800
|
address2: string | null;
|
|
13649
13801
|
} | null;
|
|
13650
13802
|
histories?: {
|
|
13651
|
-
status: "
|
|
13652
|
-
actor: "SYSTEM" | "
|
|
13803
|
+
status: "REJECTED" | "COMPLETED" | "REQUESTED" | "HELD" | "COLLECTING" | "COLLECTED" | "REDELIVERING" | "APPROVED" | "WITHDRAWN";
|
|
13804
|
+
actor: "SYSTEM" | "BUYER" | "SELLER";
|
|
13653
13805
|
occurredAt: string;
|
|
13654
13806
|
}[] | undefined;
|
|
13655
13807
|
}>;
|
|
@@ -13685,15 +13837,15 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
13685
13837
|
completeExchange: (claimId: string) => Promise<{
|
|
13686
13838
|
claimId: string;
|
|
13687
13839
|
claimNo: string | null;
|
|
13688
|
-
type: "
|
|
13689
|
-
status: "
|
|
13840
|
+
type: "RETURN" | "EXCHANGE" | "CANCEL";
|
|
13841
|
+
status: "REJECTED" | "COMPLETED" | "REQUESTED" | "HELD" | "COLLECTING" | "COLLECTED" | "REDELIVERING" | "APPROVED" | "WITHDRAWN";
|
|
13690
13842
|
orderId: string;
|
|
13691
13843
|
orderItemId: string;
|
|
13692
13844
|
productName: string;
|
|
13693
13845
|
quantity: number;
|
|
13694
13846
|
reason: "CHANGE_OF_MIND" | "WRONG_ORDER" | "DEFECTIVE" | "WRONG_DELIVERY" | "DIFFERENT_FROM_PAGE" | "DELAY";
|
|
13695
13847
|
reasonDetail: string | null;
|
|
13696
|
-
responsibility: "
|
|
13848
|
+
responsibility: "BUYER" | "SELLER";
|
|
13697
13849
|
claimDeliveryFee: number;
|
|
13698
13850
|
expectedRefundAmount: number | null;
|
|
13699
13851
|
expectedDeliveryFeeRefundAmount: number | null;
|
|
@@ -13737,7 +13889,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
13737
13889
|
productId: string;
|
|
13738
13890
|
productName: string;
|
|
13739
13891
|
orderItemId: string | null;
|
|
13740
|
-
category: "
|
|
13892
|
+
category: "ETC" | "PRODUCT" | "DELIVERY" | "RETURN" | "EXCHANGE";
|
|
13741
13893
|
content: string;
|
|
13742
13894
|
secret: boolean;
|
|
13743
13895
|
writerMaskedName: string;
|
|
@@ -13755,7 +13907,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
13755
13907
|
productId: string;
|
|
13756
13908
|
productName: string;
|
|
13757
13909
|
orderItemId: string | null;
|
|
13758
|
-
category: "
|
|
13910
|
+
category: "ETC" | "PRODUCT" | "DELIVERY" | "RETURN" | "EXCHANGE";
|
|
13759
13911
|
content: string;
|
|
13760
13912
|
secret: boolean;
|
|
13761
13913
|
writerMaskedName: string;
|
|
@@ -13969,7 +14121,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
13969
14121
|
point: number;
|
|
13970
14122
|
marketingAgreed: boolean;
|
|
13971
14123
|
loginMethods: {
|
|
13972
|
-
method: "
|
|
14124
|
+
method: "kakao" | "naver" | "google" | "password";
|
|
13973
14125
|
linkedAt: string;
|
|
13974
14126
|
}[];
|
|
13975
14127
|
consents: {
|
|
@@ -14036,7 +14188,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
14036
14188
|
productName: string;
|
|
14037
14189
|
optionName: string | null;
|
|
14038
14190
|
quantity: number;
|
|
14039
|
-
status: "
|
|
14191
|
+
status: "PAID" | "CANCELED" | "PAYMENT_WAITING" | "CONFIRMED" | "DISPATCHED" | "DELIVERING" | "DELIVERED" | "PURCHASE_DECIDED";
|
|
14040
14192
|
claimStatus: "CANCEL_REQUESTED" | "RETURN_REQUESTED" | "EXCHANGE_REQUESTED" | null;
|
|
14041
14193
|
}[];
|
|
14042
14194
|
}[];
|
|
@@ -14055,7 +14207,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
14055
14207
|
version: string | null;
|
|
14056
14208
|
documentUrl: string | null;
|
|
14057
14209
|
action: "WITHDRAWN" | "AGREED";
|
|
14058
|
-
source: "SIGNUP" | "
|
|
14210
|
+
source: "SIGNUP" | "SELLER" | "SOCIAL_SIGNUP" | "DELEGATED" | "RECONSENT" | "MEMBER_UPDATE";
|
|
14059
14211
|
occurredAt: string;
|
|
14060
14212
|
}[];
|
|
14061
14213
|
}>;
|
|
@@ -14072,7 +14224,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
14072
14224
|
issuedAt: string;
|
|
14073
14225
|
revokedAt: string | null;
|
|
14074
14226
|
couponName: string;
|
|
14075
|
-
kind: "
|
|
14227
|
+
kind: "ORDER" | "PRODUCT" | "DELIVERY";
|
|
14076
14228
|
benefit: {
|
|
14077
14229
|
type: "RATE" | "AMOUNT";
|
|
14078
14230
|
value: number;
|
|
@@ -14093,7 +14245,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
14093
14245
|
couponId: string;
|
|
14094
14246
|
name: string;
|
|
14095
14247
|
description: string | null;
|
|
14096
|
-
kind: "
|
|
14248
|
+
kind: "ORDER" | "PRODUCT" | "DELIVERY";
|
|
14097
14249
|
benefit: {
|
|
14098
14250
|
type: "RATE" | "AMOUNT";
|
|
14099
14251
|
value: number;
|
|
@@ -14134,7 +14286,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
14134
14286
|
couponId: string;
|
|
14135
14287
|
name: string;
|
|
14136
14288
|
description: string | null;
|
|
14137
|
-
kind: "
|
|
14289
|
+
kind: "ORDER" | "PRODUCT" | "DELIVERY";
|
|
14138
14290
|
benefit: {
|
|
14139
14291
|
type: "RATE" | "AMOUNT";
|
|
14140
14292
|
value: number;
|
|
@@ -14174,7 +14326,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
14174
14326
|
couponId: string;
|
|
14175
14327
|
name: string;
|
|
14176
14328
|
description: string | null;
|
|
14177
|
-
kind: "
|
|
14329
|
+
kind: "ORDER" | "PRODUCT" | "DELIVERY";
|
|
14178
14330
|
benefit: {
|
|
14179
14331
|
type: "RATE" | "AMOUNT";
|
|
14180
14332
|
value: number;
|
|
@@ -14214,7 +14366,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
14214
14366
|
couponId: string;
|
|
14215
14367
|
name: string;
|
|
14216
14368
|
description: string | null;
|
|
14217
|
-
kind: "
|
|
14369
|
+
kind: "ORDER" | "PRODUCT" | "DELIVERY";
|
|
14218
14370
|
benefit: {
|
|
14219
14371
|
type: "RATE" | "AMOUNT";
|
|
14220
14372
|
value: number;
|
|
@@ -14254,7 +14406,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
14254
14406
|
couponId: string;
|
|
14255
14407
|
name: string;
|
|
14256
14408
|
description: string | null;
|
|
14257
|
-
kind: "
|
|
14409
|
+
kind: "ORDER" | "PRODUCT" | "DELIVERY";
|
|
14258
14410
|
benefit: {
|
|
14259
14411
|
type: "RATE" | "AMOUNT";
|
|
14260
14412
|
value: number;
|
|
@@ -14294,7 +14446,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
14294
14446
|
couponId: string;
|
|
14295
14447
|
name: string;
|
|
14296
14448
|
description: string | null;
|
|
14297
|
-
kind: "
|
|
14449
|
+
kind: "ORDER" | "PRODUCT" | "DELIVERY";
|
|
14298
14450
|
benefit: {
|
|
14299
14451
|
type: "RATE" | "AMOUNT";
|
|
14300
14452
|
value: number;
|
|
@@ -14334,7 +14486,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
14334
14486
|
couponId: string;
|
|
14335
14487
|
name: string;
|
|
14336
14488
|
description: string | null;
|
|
14337
|
-
kind: "
|
|
14489
|
+
kind: "ORDER" | "PRODUCT" | "DELIVERY";
|
|
14338
14490
|
benefit: {
|
|
14339
14491
|
type: "RATE" | "AMOUNT";
|
|
14340
14492
|
value: number;
|
|
@@ -14464,7 +14616,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
14464
14616
|
contents: {
|
|
14465
14617
|
inquiryId: string;
|
|
14466
14618
|
memberMaskedName: string;
|
|
14467
|
-
category: "
|
|
14619
|
+
category: "ETC" | "DELIVERY" | "RETURN" | "EXCHANGE" | "PAYMENT";
|
|
14468
14620
|
title: string;
|
|
14469
14621
|
content: string;
|
|
14470
14622
|
orderItemId: string | null;
|
|
@@ -14480,7 +14632,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
14480
14632
|
get: (inquiryId: string) => Promise<{
|
|
14481
14633
|
inquiryId: string;
|
|
14482
14634
|
memberMaskedName: string;
|
|
14483
|
-
category: "
|
|
14635
|
+
category: "ETC" | "DELIVERY" | "RETURN" | "EXCHANGE" | "PAYMENT";
|
|
14484
14636
|
title: string;
|
|
14485
14637
|
content: string;
|
|
14486
14638
|
orderItemId: string | null;
|
|
@@ -14510,7 +14662,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
14510
14662
|
settlementId: string;
|
|
14511
14663
|
settlementDate: string;
|
|
14512
14664
|
payoutDate: string | null;
|
|
14513
|
-
status: "PAID" | "
|
|
14665
|
+
status: "PAID" | "SCHEDULED" | "HELD";
|
|
14514
14666
|
totalPaymentAmount: number;
|
|
14515
14667
|
totalCommission: number;
|
|
14516
14668
|
totalDeliveryFee: number;
|
|
@@ -14524,7 +14676,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
14524
14676
|
settlementId: string;
|
|
14525
14677
|
settlementDate: string;
|
|
14526
14678
|
payoutDate: string | null;
|
|
14527
|
-
status: "PAID" | "
|
|
14679
|
+
status: "PAID" | "SCHEDULED" | "HELD";
|
|
14528
14680
|
totalPaymentAmount: number;
|
|
14529
14681
|
totalCommission: number;
|
|
14530
14682
|
totalDeliveryFee: number;
|
|
@@ -14666,7 +14818,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
14666
14818
|
sources: (params: AnalyticsSourcesParams) => Promise<{
|
|
14667
14819
|
groupBy: "CHANNEL" | "SOURCE" | "CAMPAIGN" | "DEVICE";
|
|
14668
14820
|
rows: {
|
|
14669
|
-
channel: "PAID" | "
|
|
14821
|
+
channel: "PAID" | "DIRECT" | "CAMPAIGN" | "UNKNOWN" | "ORGANIC_SEARCH" | "SOCIAL" | "EMAIL" | "REFERRAL" | null;
|
|
14670
14822
|
source: string | null;
|
|
14671
14823
|
medium: string | null;
|
|
14672
14824
|
campaign: string | null;
|
|
@@ -14771,7 +14923,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
14771
14923
|
checkout: (params: AnalyticsRangeParams) => Promise<{
|
|
14772
14924
|
sessions: number;
|
|
14773
14925
|
outcomes: {
|
|
14774
|
-
outcome: "
|
|
14926
|
+
outcome: "OTHER" | "COMPLETED" | "NOT_OPENED" | "USER_CANCELED" | "DECLINED" | "PREPARE_FAILURE" | "IN_PROGRESS";
|
|
14775
14927
|
sessions: number;
|
|
14776
14928
|
}[];
|
|
14777
14929
|
from: string;
|
|
@@ -14801,7 +14953,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
14801
14953
|
orderId: string | null;
|
|
14802
14954
|
orderName: string;
|
|
14803
14955
|
customerName: string;
|
|
14804
|
-
status: "
|
|
14956
|
+
status: "PENDING" | "FAILED" | "APPROVED" | "PARTIALLY_REFUNDED" | "REFUNDED";
|
|
14805
14957
|
amount: number;
|
|
14806
14958
|
refundedAmount: number;
|
|
14807
14959
|
heldRefundAmount: number;
|
|
@@ -14827,7 +14979,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
14827
14979
|
orderId: string | null;
|
|
14828
14980
|
orderName: string;
|
|
14829
14981
|
customerName: string;
|
|
14830
|
-
status: "
|
|
14982
|
+
status: "PENDING" | "FAILED" | "APPROVED" | "PARTIALLY_REFUNDED" | "REFUNDED";
|
|
14831
14983
|
amount: number;
|
|
14832
14984
|
refundedAmount: number;
|
|
14833
14985
|
heldRefundAmount: number;
|
|
@@ -14942,7 +15094,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
14942
15094
|
masked: string | null;
|
|
14943
15095
|
}[];
|
|
14944
15096
|
lastVerification: {
|
|
14945
|
-
result: "
|
|
15097
|
+
result: "SUCCESS" | "FAILED";
|
|
14946
15098
|
message: string | null;
|
|
14947
15099
|
checkedAt: string;
|
|
14948
15100
|
} | null;
|
|
@@ -14967,7 +15119,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
14967
15119
|
masked: string | null;
|
|
14968
15120
|
}[];
|
|
14969
15121
|
lastVerification: {
|
|
14970
|
-
result: "
|
|
15122
|
+
result: "SUCCESS" | "FAILED";
|
|
14971
15123
|
message: string | null;
|
|
14972
15124
|
checkedAt: string;
|
|
14973
15125
|
} | null;
|
|
@@ -14991,7 +15143,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
14991
15143
|
masked: string | null;
|
|
14992
15144
|
}[];
|
|
14993
15145
|
lastVerification: {
|
|
14994
|
-
result: "
|
|
15146
|
+
result: "SUCCESS" | "FAILED";
|
|
14995
15147
|
message: string | null;
|
|
14996
15148
|
checkedAt: string;
|
|
14997
15149
|
} | null;
|
|
@@ -15052,7 +15204,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
15052
15204
|
masked: string | null;
|
|
15053
15205
|
}[];
|
|
15054
15206
|
lastVerification: {
|
|
15055
|
-
result: "
|
|
15207
|
+
result: "SUCCESS" | "FAILED";
|
|
15056
15208
|
message: string | null;
|
|
15057
15209
|
checkedAt: string;
|
|
15058
15210
|
} | null;
|
|
@@ -15077,7 +15229,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
15077
15229
|
masked: string | null;
|
|
15078
15230
|
}[];
|
|
15079
15231
|
lastVerification: {
|
|
15080
|
-
result: "
|
|
15232
|
+
result: "SUCCESS" | "FAILED";
|
|
15081
15233
|
message: string | null;
|
|
15082
15234
|
checkedAt: string;
|
|
15083
15235
|
} | null;
|
|
@@ -15101,7 +15253,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
15101
15253
|
masked: string | null;
|
|
15102
15254
|
}[];
|
|
15103
15255
|
lastVerification: {
|
|
15104
|
-
result: "
|
|
15256
|
+
result: "SUCCESS" | "FAILED";
|
|
15105
15257
|
message: string | null;
|
|
15106
15258
|
checkedAt: string;
|
|
15107
15259
|
} | null;
|
|
@@ -15167,7 +15319,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
15167
15319
|
masked: string | null;
|
|
15168
15320
|
}[];
|
|
15169
15321
|
lastVerification: {
|
|
15170
|
-
result: "
|
|
15322
|
+
result: "SUCCESS" | "FAILED";
|
|
15171
15323
|
message: string | null;
|
|
15172
15324
|
checkedAt: string;
|
|
15173
15325
|
} | null;
|
|
@@ -15192,7 +15344,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
15192
15344
|
masked: string | null;
|
|
15193
15345
|
}[];
|
|
15194
15346
|
lastVerification: {
|
|
15195
|
-
result: "
|
|
15347
|
+
result: "SUCCESS" | "FAILED";
|
|
15196
15348
|
message: string | null;
|
|
15197
15349
|
checkedAt: string;
|
|
15198
15350
|
} | null;
|
|
@@ -15216,7 +15368,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
15216
15368
|
masked: string | null;
|
|
15217
15369
|
}[];
|
|
15218
15370
|
lastVerification: {
|
|
15219
|
-
result: "
|
|
15371
|
+
result: "SUCCESS" | "FAILED";
|
|
15220
15372
|
message: string | null;
|
|
15221
15373
|
checkedAt: string;
|
|
15222
15374
|
} | null;
|
|
@@ -15263,7 +15415,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
15263
15415
|
masked: string | null;
|
|
15264
15416
|
}[];
|
|
15265
15417
|
lastVerification: {
|
|
15266
|
-
result: "
|
|
15418
|
+
result: "SUCCESS" | "FAILED";
|
|
15267
15419
|
message: string | null;
|
|
15268
15420
|
checkedAt: string;
|
|
15269
15421
|
} | null;
|
|
@@ -15288,7 +15440,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
15288
15440
|
masked: string | null;
|
|
15289
15441
|
}[];
|
|
15290
15442
|
lastVerification: {
|
|
15291
|
-
result: "
|
|
15443
|
+
result: "SUCCESS" | "FAILED";
|
|
15292
15444
|
message: string | null;
|
|
15293
15445
|
checkedAt: string;
|
|
15294
15446
|
} | null;
|
|
@@ -15312,7 +15464,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
15312
15464
|
masked: string | null;
|
|
15313
15465
|
}[];
|
|
15314
15466
|
lastVerification: {
|
|
15315
|
-
result: "
|
|
15467
|
+
result: "SUCCESS" | "FAILED";
|
|
15316
15468
|
message: string | null;
|
|
15317
15469
|
checkedAt: string;
|
|
15318
15470
|
} | null;
|
|
@@ -15369,7 +15521,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
15369
15521
|
masked: string | null;
|
|
15370
15522
|
}[];
|
|
15371
15523
|
lastVerification: {
|
|
15372
|
-
result: "
|
|
15524
|
+
result: "SUCCESS" | "FAILED";
|
|
15373
15525
|
message: string | null;
|
|
15374
15526
|
checkedAt: string;
|
|
15375
15527
|
} | null;
|
|
@@ -15394,7 +15546,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
15394
15546
|
masked: string | null;
|
|
15395
15547
|
}[];
|
|
15396
15548
|
lastVerification: {
|
|
15397
|
-
result: "
|
|
15549
|
+
result: "SUCCESS" | "FAILED";
|
|
15398
15550
|
message: string | null;
|
|
15399
15551
|
checkedAt: string;
|
|
15400
15552
|
} | null;
|
|
@@ -15418,7 +15570,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
15418
15570
|
masked: string | null;
|
|
15419
15571
|
}[];
|
|
15420
15572
|
lastVerification: {
|
|
15421
|
-
result: "
|
|
15573
|
+
result: "SUCCESS" | "FAILED";
|
|
15422
15574
|
message: string | null;
|
|
15423
15575
|
checkedAt: string;
|
|
15424
15576
|
} | null;
|
|
@@ -15465,7 +15617,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
15465
15617
|
masked: string | null;
|
|
15466
15618
|
}[];
|
|
15467
15619
|
lastVerification: {
|
|
15468
|
-
result: "
|
|
15620
|
+
result: "SUCCESS" | "FAILED";
|
|
15469
15621
|
message: string | null;
|
|
15470
15622
|
checkedAt: string;
|
|
15471
15623
|
} | null;
|
|
@@ -15490,7 +15642,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
15490
15642
|
masked: string | null;
|
|
15491
15643
|
}[];
|
|
15492
15644
|
lastVerification: {
|
|
15493
|
-
result: "
|
|
15645
|
+
result: "SUCCESS" | "FAILED";
|
|
15494
15646
|
message: string | null;
|
|
15495
15647
|
checkedAt: string;
|
|
15496
15648
|
} | null;
|
|
@@ -15514,7 +15666,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
15514
15666
|
masked: string | null;
|
|
15515
15667
|
}[];
|
|
15516
15668
|
lastVerification: {
|
|
15517
|
-
result: "
|
|
15669
|
+
result: "SUCCESS" | "FAILED";
|
|
15518
15670
|
message: string | null;
|
|
15519
15671
|
checkedAt: string;
|
|
15520
15672
|
} | null;
|
|
@@ -15570,7 +15722,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
15570
15722
|
masked: string | null;
|
|
15571
15723
|
}[];
|
|
15572
15724
|
lastVerification: {
|
|
15573
|
-
result: "
|
|
15725
|
+
result: "SUCCESS" | "FAILED";
|
|
15574
15726
|
message: string | null;
|
|
15575
15727
|
checkedAt: string;
|
|
15576
15728
|
} | null;
|
|
@@ -15595,7 +15747,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
15595
15747
|
masked: string | null;
|
|
15596
15748
|
}[];
|
|
15597
15749
|
lastVerification: {
|
|
15598
|
-
result: "
|
|
15750
|
+
result: "SUCCESS" | "FAILED";
|
|
15599
15751
|
message: string | null;
|
|
15600
15752
|
checkedAt: string;
|
|
15601
15753
|
} | null;
|
|
@@ -15619,7 +15771,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
15619
15771
|
masked: string | null;
|
|
15620
15772
|
}[];
|
|
15621
15773
|
lastVerification: {
|
|
15622
|
-
result: "
|
|
15774
|
+
result: "SUCCESS" | "FAILED";
|
|
15623
15775
|
message: string | null;
|
|
15624
15776
|
checkedAt: string;
|
|
15625
15777
|
} | null;
|
|
@@ -15647,16 +15799,62 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
15647
15799
|
verify: (provider: PgProvider, body?: VerifyPaymentProviderRequest) => Promise<{
|
|
15648
15800
|
provider: "tosspayments" | "portone";
|
|
15649
15801
|
environment: "TEST" | "LIVE";
|
|
15650
|
-
result: "
|
|
15802
|
+
result: "SUCCESS" | "FAILED";
|
|
15651
15803
|
message: string | null;
|
|
15652
15804
|
checkedAt: string;
|
|
15653
15805
|
}>;
|
|
15654
15806
|
};
|
|
15655
15807
|
/** 설치 앱(#22, 매뉴얼 「앱 설치와 관리 › 관리 API」) — 설치·설정·제거·세션은 상점 플랫폼 OWNER·ADMIN만 */
|
|
15656
15808
|
apps: {
|
|
15809
|
+
/** 이 상점에 설치할 수 있는 앱 — 앱 목록·상세(아이콘·README·Scope·Hook·설정 필드) */
|
|
15810
|
+
catalog: {
|
|
15811
|
+
list: () => Promise<{
|
|
15812
|
+
appId: string;
|
|
15813
|
+
handle: string;
|
|
15814
|
+
name: string;
|
|
15815
|
+
description: string | null;
|
|
15816
|
+
iconUrl: string | null;
|
|
15817
|
+
developerName: string;
|
|
15818
|
+
versionNumber: number;
|
|
15819
|
+
installationId: string | null;
|
|
15820
|
+
}[]>;
|
|
15821
|
+
get: (appId: string) => Promise<{
|
|
15822
|
+
appId: string;
|
|
15823
|
+
handle: string;
|
|
15824
|
+
name: string;
|
|
15825
|
+
description: string | null;
|
|
15826
|
+
iconUrl: string | null;
|
|
15827
|
+
developerName: string;
|
|
15828
|
+
versionNumber: number;
|
|
15829
|
+
installationId: string | null;
|
|
15830
|
+
readme: string | null;
|
|
15831
|
+
supportEmail: string | null;
|
|
15832
|
+
scopes: string[];
|
|
15833
|
+
events: ("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" | "ORDER.FLOW_NOTIFICATION" | "ORDER.FLOW_STATE_CHANGED" | "APP.INSTALLED" | "APP.UNINSTALLED" | "APP.SETTINGS_UPDATED" | "APP.SCOPES_UPDATED" | "APP.STORE_REDACT" | "APP.CUSTOMER_REDACT")[];
|
|
15834
|
+
networkHosts: string[];
|
|
15835
|
+
settings: Record<string, {
|
|
15836
|
+
type: "string" | "number" | "boolean" | "select";
|
|
15837
|
+
label: string;
|
|
15838
|
+
description?: string | undefined;
|
|
15839
|
+
required?: boolean | undefined;
|
|
15840
|
+
secret?: boolean | undefined;
|
|
15841
|
+
options?: {
|
|
15842
|
+
value: string;
|
|
15843
|
+
label: string;
|
|
15844
|
+
}[] | undefined;
|
|
15845
|
+
default?: string | number | boolean | undefined;
|
|
15846
|
+
}>;
|
|
15847
|
+
updatedAt: string | null;
|
|
15848
|
+
}>;
|
|
15849
|
+
};
|
|
15657
15850
|
installations: {
|
|
15658
|
-
/**
|
|
15659
|
-
|
|
15851
|
+
/**
|
|
15852
|
+
* 설치 — 문자열이면 accounts 동의 화면의 설치 결과(1회용 JWT), 객체면 상점 플랫폼 설치 화면에서 동의한 앱과 설정이다
|
|
15853
|
+
*/
|
|
15854
|
+
install: (input: string | {
|
|
15855
|
+
appId: string;
|
|
15856
|
+
settings?: AppInstallationSettingsUpdate["values"];
|
|
15857
|
+
}) => Promise<{
|
|
15660
15858
|
installationId: string;
|
|
15661
15859
|
storeId: string;
|
|
15662
15860
|
app: {
|
|
@@ -15669,14 +15867,14 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
15669
15867
|
supportEmail: string | null;
|
|
15670
15868
|
distribution: "PRIVATE_OWN" | "PRIVATE_LINK" | "LISTED";
|
|
15671
15869
|
runtime: "CODE" | "EXTERNAL";
|
|
15672
|
-
status: "
|
|
15870
|
+
status: "SUSPENDED" | "ACTIVE" | "DELETED";
|
|
15673
15871
|
};
|
|
15674
|
-
status: "
|
|
15872
|
+
status: "SUSPENDED" | "ACTIVE" | "UNINSTALLED";
|
|
15675
15873
|
versionNumber: number;
|
|
15676
15874
|
pendingVersionNumber: number | null;
|
|
15677
15875
|
grantedScopes: string[];
|
|
15678
15876
|
grantedNetworkHosts: string[];
|
|
15679
|
-
events: ("ORDER.PAID" | "ORDER.CONFIRMED" | "ORDER.DISPATCHED" | "ORDER.DELIVERED" | "ORDER.PURCHASE_DECIDED" | "ORDER.ADDRESS_CHANGE_REQUESTED" | "ORDER.
|
|
15877
|
+
events: ("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" | "ORDER.FLOW_NOTIFICATION" | "ORDER.FLOW_STATE_CHANGED" | "APP.INSTALLED" | "APP.UNINSTALLED" | "APP.SETTINGS_UPDATED" | "APP.SCOPES_UPDATED" | "APP.STORE_REDACT" | "APP.CUSTOMER_REDACT")[];
|
|
15680
15878
|
adminPage: boolean;
|
|
15681
15879
|
settings: {
|
|
15682
15880
|
fields: Record<string, {
|
|
@@ -15716,14 +15914,14 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
15716
15914
|
supportEmail: string | null;
|
|
15717
15915
|
distribution: "PRIVATE_OWN" | "PRIVATE_LINK" | "LISTED";
|
|
15718
15916
|
runtime: "CODE" | "EXTERNAL";
|
|
15719
|
-
status: "
|
|
15917
|
+
status: "SUSPENDED" | "ACTIVE" | "DELETED";
|
|
15720
15918
|
};
|
|
15721
|
-
status: "
|
|
15919
|
+
status: "SUSPENDED" | "ACTIVE" | "UNINSTALLED";
|
|
15722
15920
|
versionNumber: number;
|
|
15723
15921
|
pendingVersionNumber: number | null;
|
|
15724
15922
|
grantedScopes: string[];
|
|
15725
15923
|
grantedNetworkHosts: string[];
|
|
15726
|
-
events: ("ORDER.PAID" | "ORDER.CONFIRMED" | "ORDER.DISPATCHED" | "ORDER.DELIVERED" | "ORDER.PURCHASE_DECIDED" | "ORDER.ADDRESS_CHANGE_REQUESTED" | "ORDER.
|
|
15924
|
+
events: ("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" | "ORDER.FLOW_NOTIFICATION" | "ORDER.FLOW_STATE_CHANGED" | "APP.INSTALLED" | "APP.UNINSTALLED" | "APP.SETTINGS_UPDATED" | "APP.SCOPES_UPDATED" | "APP.STORE_REDACT" | "APP.CUSTOMER_REDACT")[];
|
|
15727
15925
|
adminPage: boolean;
|
|
15728
15926
|
settings: {
|
|
15729
15927
|
fields: Record<string, {
|
|
@@ -15763,14 +15961,14 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
15763
15961
|
supportEmail: string | null;
|
|
15764
15962
|
distribution: "PRIVATE_OWN" | "PRIVATE_LINK" | "LISTED";
|
|
15765
15963
|
runtime: "CODE" | "EXTERNAL";
|
|
15766
|
-
status: "
|
|
15964
|
+
status: "SUSPENDED" | "ACTIVE" | "DELETED";
|
|
15767
15965
|
};
|
|
15768
|
-
status: "
|
|
15966
|
+
status: "SUSPENDED" | "ACTIVE" | "UNINSTALLED";
|
|
15769
15967
|
versionNumber: number;
|
|
15770
15968
|
pendingVersionNumber: number | null;
|
|
15771
15969
|
grantedScopes: string[];
|
|
15772
15970
|
grantedNetworkHosts: string[];
|
|
15773
|
-
events: ("ORDER.PAID" | "ORDER.CONFIRMED" | "ORDER.DISPATCHED" | "ORDER.DELIVERED" | "ORDER.PURCHASE_DECIDED" | "ORDER.ADDRESS_CHANGE_REQUESTED" | "ORDER.
|
|
15971
|
+
events: ("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" | "ORDER.FLOW_NOTIFICATION" | "ORDER.FLOW_STATE_CHANGED" | "APP.INSTALLED" | "APP.UNINSTALLED" | "APP.SETTINGS_UPDATED" | "APP.SCOPES_UPDATED" | "APP.STORE_REDACT" | "APP.CUSTOMER_REDACT")[];
|
|
15774
15972
|
adminPage: boolean;
|
|
15775
15973
|
settings: {
|
|
15776
15974
|
fields: Record<string, {
|
|
@@ -15811,14 +16009,14 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
15811
16009
|
supportEmail: string | null;
|
|
15812
16010
|
distribution: "PRIVATE_OWN" | "PRIVATE_LINK" | "LISTED";
|
|
15813
16011
|
runtime: "CODE" | "EXTERNAL";
|
|
15814
|
-
status: "
|
|
16012
|
+
status: "SUSPENDED" | "ACTIVE" | "DELETED";
|
|
15815
16013
|
};
|
|
15816
|
-
status: "
|
|
16014
|
+
status: "SUSPENDED" | "ACTIVE" | "UNINSTALLED";
|
|
15817
16015
|
versionNumber: number;
|
|
15818
16016
|
pendingVersionNumber: number | null;
|
|
15819
16017
|
grantedScopes: string[];
|
|
15820
16018
|
grantedNetworkHosts: string[];
|
|
15821
|
-
events: ("ORDER.PAID" | "ORDER.CONFIRMED" | "ORDER.DISPATCHED" | "ORDER.DELIVERED" | "ORDER.PURCHASE_DECIDED" | "ORDER.ADDRESS_CHANGE_REQUESTED" | "ORDER.
|
|
16019
|
+
events: ("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" | "ORDER.FLOW_NOTIFICATION" | "ORDER.FLOW_STATE_CHANGED" | "APP.INSTALLED" | "APP.UNINSTALLED" | "APP.SETTINGS_UPDATED" | "APP.SCOPES_UPDATED" | "APP.STORE_REDACT" | "APP.CUSTOMER_REDACT")[];
|
|
15822
16020
|
adminPage: boolean;
|
|
15823
16021
|
settings: {
|
|
15824
16022
|
fields: Record<string, {
|
|
@@ -15870,8 +16068,8 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
15870
16068
|
list: () => Promise<{
|
|
15871
16069
|
webhookId: string;
|
|
15872
16070
|
url: string;
|
|
15873
|
-
eventTypes: ("ORDER.PAID" | "ORDER.CONFIRMED" | "ORDER.DISPATCHED" | "ORDER.DELIVERED" | "ORDER.PURCHASE_DECIDED" | "ORDER.ADDRESS_CHANGE_REQUESTED" | "ORDER.
|
|
15874
|
-
status: "
|
|
16071
|
+
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" | "ORDER.FLOW_NOTIFICATION" | "ORDER.FLOW_STATE_CHANGED")[];
|
|
16072
|
+
status: "SUSPENDED" | "ACTIVE";
|
|
15875
16073
|
secretPrefix: string;
|
|
15876
16074
|
suspendedAt: string | null;
|
|
15877
16075
|
createdAt: string;
|
|
@@ -15880,8 +16078,8 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
15880
16078
|
create: (body: WebhookRequest) => Promise<{
|
|
15881
16079
|
webhookId: string;
|
|
15882
16080
|
url: string;
|
|
15883
|
-
eventTypes: ("ORDER.PAID" | "ORDER.CONFIRMED" | "ORDER.DISPATCHED" | "ORDER.DELIVERED" | "ORDER.PURCHASE_DECIDED" | "ORDER.ADDRESS_CHANGE_REQUESTED" | "ORDER.
|
|
15884
|
-
status: "
|
|
16081
|
+
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" | "ORDER.FLOW_NOTIFICATION" | "ORDER.FLOW_STATE_CHANGED")[];
|
|
16082
|
+
status: "SUSPENDED" | "ACTIVE";
|
|
15885
16083
|
secretPrefix: string;
|
|
15886
16084
|
suspendedAt: string | null;
|
|
15887
16085
|
createdAt: string;
|
|
@@ -15890,8 +16088,8 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
15890
16088
|
get: (webhookId: string) => Promise<{
|
|
15891
16089
|
webhookId: string;
|
|
15892
16090
|
url: string;
|
|
15893
|
-
eventTypes: ("ORDER.PAID" | "ORDER.CONFIRMED" | "ORDER.DISPATCHED" | "ORDER.DELIVERED" | "ORDER.PURCHASE_DECIDED" | "ORDER.ADDRESS_CHANGE_REQUESTED" | "ORDER.
|
|
15894
|
-
status: "
|
|
16091
|
+
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" | "ORDER.FLOW_NOTIFICATION" | "ORDER.FLOW_STATE_CHANGED")[];
|
|
16092
|
+
status: "SUSPENDED" | "ACTIVE";
|
|
15895
16093
|
secretPrefix: string;
|
|
15896
16094
|
suspendedAt: string | null;
|
|
15897
16095
|
createdAt: string;
|
|
@@ -15900,8 +16098,8 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
15900
16098
|
update: (webhookId: string, body: WebhookRequest) => Promise<{
|
|
15901
16099
|
webhookId: string;
|
|
15902
16100
|
url: string;
|
|
15903
|
-
eventTypes: ("ORDER.PAID" | "ORDER.CONFIRMED" | "ORDER.DISPATCHED" | "ORDER.DELIVERED" | "ORDER.PURCHASE_DECIDED" | "ORDER.ADDRESS_CHANGE_REQUESTED" | "ORDER.
|
|
15904
|
-
status: "
|
|
16101
|
+
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" | "ORDER.FLOW_NOTIFICATION" | "ORDER.FLOW_STATE_CHANGED")[];
|
|
16102
|
+
status: "SUSPENDED" | "ACTIVE";
|
|
15905
16103
|
secretPrefix: string;
|
|
15906
16104
|
suspendedAt: string | null;
|
|
15907
16105
|
createdAt: string;
|
|
@@ -15915,8 +16113,8 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
15915
16113
|
resume: (webhookId: string) => Promise<{
|
|
15916
16114
|
webhookId: string;
|
|
15917
16115
|
url: string;
|
|
15918
|
-
eventTypes: ("ORDER.PAID" | "ORDER.CONFIRMED" | "ORDER.DISPATCHED" | "ORDER.DELIVERED" | "ORDER.PURCHASE_DECIDED" | "ORDER.ADDRESS_CHANGE_REQUESTED" | "ORDER.
|
|
15919
|
-
status: "
|
|
16116
|
+
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" | "ORDER.FLOW_NOTIFICATION" | "ORDER.FLOW_STATE_CHANGED")[];
|
|
16117
|
+
status: "SUSPENDED" | "ACTIVE";
|
|
15920
16118
|
secretPrefix: string;
|
|
15921
16119
|
suspendedAt: string | null;
|
|
15922
16120
|
createdAt: string;
|
|
@@ -15925,9 +16123,9 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
15925
16123
|
listDeliveries: (webhookId: string, params?: WebhookDeliveryListParams) => Promise<{
|
|
15926
16124
|
deliveryId: string;
|
|
15927
16125
|
eventId: string;
|
|
15928
|
-
eventType: "ORDER.PAID" | "ORDER.CONFIRMED" | "ORDER.DISPATCHED" | "ORDER.DELIVERED" | "ORDER.PURCHASE_DECIDED" | "ORDER.ADDRESS_CHANGE_REQUESTED" | "ORDER.
|
|
16126
|
+
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" | "ORDER.FLOW_NOTIFICATION" | "ORDER.FLOW_STATE_CHANGED";
|
|
15929
16127
|
url: string;
|
|
15930
|
-
status: "
|
|
16128
|
+
status: "PENDING" | "PENDING_RETRY" | "SUCCESS" | "FAILED";
|
|
15931
16129
|
responseStatusCode: number | null;
|
|
15932
16130
|
responseTimeMs: number | null;
|
|
15933
16131
|
responseBodyExcerpt: string | null;
|
|
@@ -15952,9 +16150,9 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
15952
16150
|
getDelivery: (webhookId: string, deliveryId: string) => Promise<{
|
|
15953
16151
|
deliveryId: string;
|
|
15954
16152
|
eventId: string;
|
|
15955
|
-
eventType: "ORDER.PAID" | "ORDER.CONFIRMED" | "ORDER.DISPATCHED" | "ORDER.DELIVERED" | "ORDER.PURCHASE_DECIDED" | "ORDER.ADDRESS_CHANGE_REQUESTED" | "ORDER.
|
|
16153
|
+
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" | "ORDER.FLOW_NOTIFICATION" | "ORDER.FLOW_STATE_CHANGED";
|
|
15956
16154
|
url: string;
|
|
15957
|
-
status: "
|
|
16155
|
+
status: "PENDING" | "PENDING_RETRY" | "SUCCESS" | "FAILED";
|
|
15958
16156
|
responseStatusCode: number | null;
|
|
15959
16157
|
responseTimeMs: number | null;
|
|
15960
16158
|
responseBodyExcerpt: string | null;
|
|
@@ -15987,9 +16185,9 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
15987
16185
|
redeliver: (webhookId: string, deliveryId: string) => Promise<{
|
|
15988
16186
|
deliveryId: string;
|
|
15989
16187
|
eventId: string;
|
|
15990
|
-
eventType: "ORDER.PAID" | "ORDER.CONFIRMED" | "ORDER.DISPATCHED" | "ORDER.DELIVERED" | "ORDER.PURCHASE_DECIDED" | "ORDER.ADDRESS_CHANGE_REQUESTED" | "ORDER.
|
|
16188
|
+
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" | "ORDER.FLOW_NOTIFICATION" | "ORDER.FLOW_STATE_CHANGED";
|
|
15991
16189
|
url: string;
|
|
15992
|
-
status: "
|
|
16190
|
+
status: "PENDING" | "PENDING_RETRY" | "SUCCESS" | "FAILED";
|
|
15993
16191
|
responseStatusCode: number | null;
|
|
15994
16192
|
responseTimeMs: number | null;
|
|
15995
16193
|
responseBodyExcerpt: string | null;
|
|
@@ -16103,7 +16301,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
16103
16301
|
list: (params?: ApprovalListOptions) => Promise<{
|
|
16104
16302
|
items: {
|
|
16105
16303
|
approvalId: string;
|
|
16106
|
-
status: "
|
|
16304
|
+
status: "PENDING" | "FAILED" | "SUCCEEDED" | "EXECUTING" | "UNKNOWN" | "REJECTED" | "EXPIRED";
|
|
16107
16305
|
operationId: string;
|
|
16108
16306
|
method: string;
|
|
16109
16307
|
path: string;
|
|
@@ -16155,7 +16353,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
16155
16353
|
}>;
|
|
16156
16354
|
get: (approvalId: string) => Promise<{
|
|
16157
16355
|
approvalId: string;
|
|
16158
|
-
status: "
|
|
16356
|
+
status: "PENDING" | "FAILED" | "SUCCEEDED" | "EXECUTING" | "UNKNOWN" | "REJECTED" | "EXPIRED";
|
|
16159
16357
|
operationId: string;
|
|
16160
16358
|
method: string;
|
|
16161
16359
|
path: string;
|
|
@@ -16209,7 +16407,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
16209
16407
|
*/
|
|
16210
16408
|
approve: (approvalId: string, body?: ApprovalDecisionRequest) => Promise<{
|
|
16211
16409
|
approvalId: string;
|
|
16212
|
-
status: "
|
|
16410
|
+
status: "PENDING" | "FAILED" | "SUCCEEDED" | "EXECUTING" | "UNKNOWN" | "REJECTED" | "EXPIRED";
|
|
16213
16411
|
operationId: string;
|
|
16214
16412
|
method: string;
|
|
16215
16413
|
path: string;
|
|
@@ -16259,7 +16457,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
16259
16457
|
}>;
|
|
16260
16458
|
reject: (approvalId: string, body?: ApprovalDecisionRequest) => Promise<{
|
|
16261
16459
|
approvalId: string;
|
|
16262
|
-
status: "
|
|
16460
|
+
status: "PENDING" | "FAILED" | "SUCCEEDED" | "EXECUTING" | "UNKNOWN" | "REJECTED" | "EXPIRED";
|
|
16263
16461
|
operationId: string;
|
|
16264
16462
|
method: string;
|
|
16265
16463
|
path: string;
|
|
@@ -16433,7 +16631,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
16433
16631
|
name: string;
|
|
16434
16632
|
description: string;
|
|
16435
16633
|
thumbnailUrl: string | null;
|
|
16436
|
-
status: "
|
|
16634
|
+
status: "ACTIVE" | "DRAFT" | "RETIRED";
|
|
16437
16635
|
version: string | null;
|
|
16438
16636
|
}>;
|
|
16439
16637
|
/** `PUT /v1/storefront/template` — 템플릿 이름·소개·썸네일을 바꾼다(템플릿 상점만) */
|
|
@@ -16442,7 +16640,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
16442
16640
|
name: string;
|
|
16443
16641
|
description: string;
|
|
16444
16642
|
thumbnailUrl: string | null;
|
|
16445
|
-
status: "
|
|
16643
|
+
status: "ACTIVE" | "DRAFT" | "RETIRED";
|
|
16446
16644
|
version: string | null;
|
|
16447
16645
|
}>;
|
|
16448
16646
|
/** `GET /v1/storefront/site` — 스위치 상태와 현재 사이트(없으면 `site: null`) */
|
|
@@ -16458,13 +16656,13 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
16458
16656
|
domains: {
|
|
16459
16657
|
hostname: string;
|
|
16460
16658
|
kind: "PLATFORM" | "CUSTOM";
|
|
16461
|
-
status: "
|
|
16659
|
+
status: "ACTIVE" | "HELD";
|
|
16462
16660
|
isPrimary: boolean;
|
|
16463
16661
|
holdUntil: string | null;
|
|
16464
16662
|
}[];
|
|
16465
16663
|
templateId: string;
|
|
16466
16664
|
sourceMode: "CUSTOM" | "MANAGED";
|
|
16467
|
-
status: "
|
|
16665
|
+
status: "SUSPENDED" | "CLOSED" | "ACTIVE";
|
|
16468
16666
|
visibility: "COMING_SOON" | "PUBLIC";
|
|
16469
16667
|
publishedVersion: {
|
|
16470
16668
|
versionId: string;
|
|
@@ -16482,7 +16680,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
16482
16680
|
createdVia?: string | null | undefined;
|
|
16483
16681
|
} | null;
|
|
16484
16682
|
provisioning: {
|
|
16485
|
-
status: "
|
|
16683
|
+
status: "PENDING" | "FAILED" | "SYNCED";
|
|
16486
16684
|
lastErrorCode: string | null;
|
|
16487
16685
|
syncedAt: string | null;
|
|
16488
16686
|
};
|
|
@@ -16521,13 +16719,13 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
16521
16719
|
domains: {
|
|
16522
16720
|
hostname: string;
|
|
16523
16721
|
kind: "PLATFORM" | "CUSTOM";
|
|
16524
|
-
status: "
|
|
16722
|
+
status: "ACTIVE" | "HELD";
|
|
16525
16723
|
isPrimary: boolean;
|
|
16526
16724
|
holdUntil: string | null;
|
|
16527
16725
|
}[];
|
|
16528
16726
|
templateId: string;
|
|
16529
16727
|
sourceMode: "CUSTOM" | "MANAGED";
|
|
16530
|
-
status: "
|
|
16728
|
+
status: "SUSPENDED" | "CLOSED" | "ACTIVE";
|
|
16531
16729
|
visibility: "COMING_SOON" | "PUBLIC";
|
|
16532
16730
|
publishedVersion: {
|
|
16533
16731
|
versionId: string;
|
|
@@ -16545,7 +16743,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
16545
16743
|
createdVia?: string | null | undefined;
|
|
16546
16744
|
} | null;
|
|
16547
16745
|
provisioning: {
|
|
16548
|
-
status: "
|
|
16746
|
+
status: "PENDING" | "FAILED" | "SYNCED";
|
|
16549
16747
|
lastErrorCode: string | null;
|
|
16550
16748
|
syncedAt: string | null;
|
|
16551
16749
|
};
|
|
@@ -16573,13 +16771,13 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
16573
16771
|
startedAt: string;
|
|
16574
16772
|
finishedAt: string | null;
|
|
16575
16773
|
steps: {
|
|
16576
|
-
key: "
|
|
16577
|
-
status: "
|
|
16774
|
+
key: "SITE" | "UPLOAD" | "PUBLISH";
|
|
16775
|
+
status: "PENDING" | "FAILED" | "RUNNING" | "DONE";
|
|
16578
16776
|
finishedAt: string | null;
|
|
16579
16777
|
}[];
|
|
16580
16778
|
log: {
|
|
16581
16779
|
at: string | null;
|
|
16582
|
-
level: "
|
|
16780
|
+
level: "INFO" | "WARN" | "ERROR";
|
|
16583
16781
|
code: string;
|
|
16584
16782
|
message: string;
|
|
16585
16783
|
}[];
|
|
@@ -16595,13 +16793,13 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
16595
16793
|
startedAt: string;
|
|
16596
16794
|
finishedAt: string | null;
|
|
16597
16795
|
steps: {
|
|
16598
|
-
key: "
|
|
16599
|
-
status: "
|
|
16796
|
+
key: "SITE" | "UPLOAD" | "PUBLISH";
|
|
16797
|
+
status: "PENDING" | "FAILED" | "RUNNING" | "DONE";
|
|
16600
16798
|
finishedAt: string | null;
|
|
16601
16799
|
}[];
|
|
16602
16800
|
log: {
|
|
16603
16801
|
at: string | null;
|
|
16604
|
-
level: "
|
|
16802
|
+
level: "INFO" | "WARN" | "ERROR";
|
|
16605
16803
|
code: string;
|
|
16606
16804
|
message: string;
|
|
16607
16805
|
}[];
|
|
@@ -16622,13 +16820,13 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
16622
16820
|
domains: {
|
|
16623
16821
|
hostname: string;
|
|
16624
16822
|
kind: "PLATFORM" | "CUSTOM";
|
|
16625
|
-
status: "
|
|
16823
|
+
status: "ACTIVE" | "HELD";
|
|
16626
16824
|
isPrimary: boolean;
|
|
16627
16825
|
holdUntil: string | null;
|
|
16628
16826
|
}[];
|
|
16629
16827
|
templateId: string;
|
|
16630
16828
|
sourceMode: "CUSTOM" | "MANAGED";
|
|
16631
|
-
status: "
|
|
16829
|
+
status: "SUSPENDED" | "CLOSED" | "ACTIVE";
|
|
16632
16830
|
visibility: "COMING_SOON" | "PUBLIC";
|
|
16633
16831
|
publishedVersion: {
|
|
16634
16832
|
versionId: string;
|
|
@@ -16646,7 +16844,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
16646
16844
|
createdVia?: string | null | undefined;
|
|
16647
16845
|
} | null;
|
|
16648
16846
|
provisioning: {
|
|
16649
|
-
status: "
|
|
16847
|
+
status: "PENDING" | "FAILED" | "SYNCED";
|
|
16650
16848
|
lastErrorCode: string | null;
|
|
16651
16849
|
syncedAt: string | null;
|
|
16652
16850
|
};
|
|
@@ -16691,13 +16889,13 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
16691
16889
|
domains: {
|
|
16692
16890
|
hostname: string;
|
|
16693
16891
|
kind: "PLATFORM" | "CUSTOM";
|
|
16694
|
-
status: "
|
|
16892
|
+
status: "ACTIVE" | "HELD";
|
|
16695
16893
|
isPrimary: boolean;
|
|
16696
16894
|
holdUntil: string | null;
|
|
16697
16895
|
}[];
|
|
16698
16896
|
templateId: string;
|
|
16699
16897
|
sourceMode: "CUSTOM" | "MANAGED";
|
|
16700
|
-
status: "
|
|
16898
|
+
status: "SUSPENDED" | "CLOSED" | "ACTIVE";
|
|
16701
16899
|
visibility: "COMING_SOON" | "PUBLIC";
|
|
16702
16900
|
publishedVersion: {
|
|
16703
16901
|
versionId: string;
|
|
@@ -16715,7 +16913,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
16715
16913
|
createdVia?: string | null | undefined;
|
|
16716
16914
|
} | null;
|
|
16717
16915
|
provisioning: {
|
|
16718
|
-
status: "
|
|
16916
|
+
status: "PENDING" | "FAILED" | "SYNCED";
|
|
16719
16917
|
lastErrorCode: string | null;
|
|
16720
16918
|
syncedAt: string | null;
|
|
16721
16919
|
};
|
|
@@ -16744,13 +16942,13 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
16744
16942
|
domains: {
|
|
16745
16943
|
hostname: string;
|
|
16746
16944
|
kind: "PLATFORM" | "CUSTOM";
|
|
16747
|
-
status: "
|
|
16945
|
+
status: "ACTIVE" | "HELD";
|
|
16748
16946
|
isPrimary: boolean;
|
|
16749
16947
|
holdUntil: string | null;
|
|
16750
16948
|
}[];
|
|
16751
16949
|
templateId: string;
|
|
16752
16950
|
sourceMode: "CUSTOM" | "MANAGED";
|
|
16753
|
-
status: "
|
|
16951
|
+
status: "SUSPENDED" | "CLOSED" | "ACTIVE";
|
|
16754
16952
|
visibility: "COMING_SOON" | "PUBLIC";
|
|
16755
16953
|
publishedVersion: {
|
|
16756
16954
|
versionId: string;
|
|
@@ -16768,7 +16966,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
16768
16966
|
createdVia?: string | null | undefined;
|
|
16769
16967
|
} | null;
|
|
16770
16968
|
provisioning: {
|
|
16771
|
-
status: "
|
|
16969
|
+
status: "PENDING" | "FAILED" | "SYNCED";
|
|
16772
16970
|
lastErrorCode: string | null;
|
|
16773
16971
|
syncedAt: string | null;
|
|
16774
16972
|
};
|
|
@@ -16797,13 +16995,13 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
16797
16995
|
domains: {
|
|
16798
16996
|
hostname: string;
|
|
16799
16997
|
kind: "PLATFORM" | "CUSTOM";
|
|
16800
|
-
status: "
|
|
16998
|
+
status: "ACTIVE" | "HELD";
|
|
16801
16999
|
isPrimary: boolean;
|
|
16802
17000
|
holdUntil: string | null;
|
|
16803
17001
|
}[];
|
|
16804
17002
|
templateId: string;
|
|
16805
17003
|
sourceMode: "CUSTOM" | "MANAGED";
|
|
16806
|
-
status: "
|
|
17004
|
+
status: "SUSPENDED" | "CLOSED" | "ACTIVE";
|
|
16807
17005
|
visibility: "COMING_SOON" | "PUBLIC";
|
|
16808
17006
|
publishedVersion: {
|
|
16809
17007
|
versionId: string;
|
|
@@ -16821,7 +17019,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
16821
17019
|
createdVia?: string | null | undefined;
|
|
16822
17020
|
} | null;
|
|
16823
17021
|
provisioning: {
|
|
16824
|
-
status: "
|
|
17022
|
+
status: "PENDING" | "FAILED" | "SYNCED";
|
|
16825
17023
|
lastErrorCode: string | null;
|
|
16826
17024
|
syncedAt: string | null;
|
|
16827
17025
|
};
|
|
@@ -16850,13 +17048,13 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
16850
17048
|
domains: {
|
|
16851
17049
|
hostname: string;
|
|
16852
17050
|
kind: "PLATFORM" | "CUSTOM";
|
|
16853
|
-
status: "
|
|
17051
|
+
status: "ACTIVE" | "HELD";
|
|
16854
17052
|
isPrimary: boolean;
|
|
16855
17053
|
holdUntil: string | null;
|
|
16856
17054
|
}[];
|
|
16857
17055
|
templateId: string;
|
|
16858
17056
|
sourceMode: "CUSTOM" | "MANAGED";
|
|
16859
|
-
status: "
|
|
17057
|
+
status: "SUSPENDED" | "CLOSED" | "ACTIVE";
|
|
16860
17058
|
visibility: "COMING_SOON" | "PUBLIC";
|
|
16861
17059
|
publishedVersion: {
|
|
16862
17060
|
versionId: string;
|
|
@@ -16874,7 +17072,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
16874
17072
|
createdVia?: string | null | undefined;
|
|
16875
17073
|
} | null;
|
|
16876
17074
|
provisioning: {
|
|
16877
|
-
status: "
|
|
17075
|
+
status: "PENDING" | "FAILED" | "SYNCED";
|
|
16878
17076
|
lastErrorCode: string | null;
|
|
16879
17077
|
syncedAt: string | null;
|
|
16880
17078
|
};
|
|
@@ -16919,7 +17117,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
16919
17117
|
value: string;
|
|
16920
17118
|
purpose: "ROUTING" | "OWNERSHIP";
|
|
16921
17119
|
}[];
|
|
16922
|
-
certificateStatus: "ACTIVE" | "
|
|
17120
|
+
certificateStatus: "ACTIVE" | "PENDING" | "FAILED" | null;
|
|
16923
17121
|
failureCode: string | null;
|
|
16924
17122
|
verifiedAt: string | null;
|
|
16925
17123
|
activatedAt: string | null;
|
|
@@ -16943,7 +17141,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
16943
17141
|
value: string;
|
|
16944
17142
|
purpose: "ROUTING" | "OWNERSHIP";
|
|
16945
17143
|
}[];
|
|
16946
|
-
certificateStatus: "ACTIVE" | "
|
|
17144
|
+
certificateStatus: "ACTIVE" | "PENDING" | "FAILED" | null;
|
|
16947
17145
|
failureCode: string | null;
|
|
16948
17146
|
verifiedAt: string | null;
|
|
16949
17147
|
activatedAt: string | null;
|
|
@@ -16963,7 +17161,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
16963
17161
|
value: string;
|
|
16964
17162
|
purpose: "ROUTING" | "OWNERSHIP";
|
|
16965
17163
|
}[];
|
|
16966
|
-
certificateStatus: "ACTIVE" | "
|
|
17164
|
+
certificateStatus: "ACTIVE" | "PENDING" | "FAILED" | null;
|
|
16967
17165
|
failureCode: string | null;
|
|
16968
17166
|
verifiedAt: string | null;
|
|
16969
17167
|
activatedAt: string | null;
|
|
@@ -16987,7 +17185,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
16987
17185
|
value: string;
|
|
16988
17186
|
purpose: "ROUTING" | "OWNERSHIP";
|
|
16989
17187
|
}[];
|
|
16990
|
-
certificateStatus: "ACTIVE" | "
|
|
17188
|
+
certificateStatus: "ACTIVE" | "PENDING" | "FAILED" | null;
|
|
16991
17189
|
failureCode: string | null;
|
|
16992
17190
|
verifiedAt: string | null;
|
|
16993
17191
|
activatedAt: string | null;
|
|
@@ -17006,13 +17204,13 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
17006
17204
|
domains: {
|
|
17007
17205
|
hostname: string;
|
|
17008
17206
|
kind: "PLATFORM" | "CUSTOM";
|
|
17009
|
-
status: "
|
|
17207
|
+
status: "ACTIVE" | "HELD";
|
|
17010
17208
|
isPrimary: boolean;
|
|
17011
17209
|
holdUntil: string | null;
|
|
17012
17210
|
}[];
|
|
17013
17211
|
templateId: string;
|
|
17014
17212
|
sourceMode: "CUSTOM" | "MANAGED";
|
|
17015
|
-
status: "
|
|
17213
|
+
status: "SUSPENDED" | "CLOSED" | "ACTIVE";
|
|
17016
17214
|
visibility: "COMING_SOON" | "PUBLIC";
|
|
17017
17215
|
publishedVersion: {
|
|
17018
17216
|
versionId: string;
|
|
@@ -17030,7 +17228,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
17030
17228
|
createdVia?: string | null | undefined;
|
|
17031
17229
|
} | null;
|
|
17032
17230
|
provisioning: {
|
|
17033
|
-
status: "
|
|
17231
|
+
status: "PENDING" | "FAILED" | "SYNCED";
|
|
17034
17232
|
lastErrorCode: string | null;
|
|
17035
17233
|
syncedAt: string | null;
|
|
17036
17234
|
};
|
|
@@ -17195,7 +17393,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
17195
17393
|
runCheck: (body: RunStorefrontCheckRequest) => Promise<{
|
|
17196
17394
|
checkId: string;
|
|
17197
17395
|
check: string;
|
|
17198
|
-
status: "FAILED" | "
|
|
17396
|
+
status: "FAILED" | "UNKNOWN" | "RUNNING" | "QUEUED" | "PASSED" | "TIMED_OUT";
|
|
17199
17397
|
exitCode: number | null;
|
|
17200
17398
|
durationMs: number | null;
|
|
17201
17399
|
outputTail: string | null;
|
|
@@ -17209,7 +17407,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
17209
17407
|
getCheck: (checkId: string) => Promise<{
|
|
17210
17408
|
checkId: string;
|
|
17211
17409
|
check: string;
|
|
17212
|
-
status: "FAILED" | "
|
|
17410
|
+
status: "FAILED" | "UNKNOWN" | "RUNNING" | "QUEUED" | "PASSED" | "TIMED_OUT";
|
|
17213
17411
|
exitCode: number | null;
|
|
17214
17412
|
durationMs: number | null;
|
|
17215
17413
|
outputTail: string | null;
|
|
@@ -17276,7 +17474,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
17276
17474
|
buildId: string;
|
|
17277
17475
|
versionId: string;
|
|
17278
17476
|
versionNumber: number;
|
|
17279
|
-
status: "FAILED" | "
|
|
17477
|
+
status: "FAILED" | "SUCCEEDED" | "RUNNING" | "QUEUED" | "TIMED_OUT";
|
|
17280
17478
|
failureStage: string | null;
|
|
17281
17479
|
errorCode: string | null;
|
|
17282
17480
|
logTail: string | null;
|
|
@@ -17357,7 +17555,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
17357
17555
|
buildId: string;
|
|
17358
17556
|
versionId: string;
|
|
17359
17557
|
versionNumber: number;
|
|
17360
|
-
status: "FAILED" | "
|
|
17558
|
+
status: "FAILED" | "SUCCEEDED" | "RUNNING" | "QUEUED" | "TIMED_OUT";
|
|
17361
17559
|
failureStage: string | null;
|
|
17362
17560
|
errorCode: string | null;
|
|
17363
17561
|
logTail: string | null;
|
|
@@ -17435,7 +17633,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
17435
17633
|
buildId: string;
|
|
17436
17634
|
versionId: string;
|
|
17437
17635
|
versionNumber: number;
|
|
17438
|
-
status: "FAILED" | "
|
|
17636
|
+
status: "FAILED" | "SUCCEEDED" | "RUNNING" | "QUEUED" | "TIMED_OUT";
|
|
17439
17637
|
failureStage: string | null;
|
|
17440
17638
|
errorCode: string | null;
|
|
17441
17639
|
logTail: string | null;
|
|
@@ -17580,7 +17778,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
17580
17778
|
code: string;
|
|
17581
17779
|
name: string;
|
|
17582
17780
|
};
|
|
17583
|
-
status: "
|
|
17781
|
+
status: "ACTIVE" | "CANCELED" | "PAST_DUE" | "INCOMPLETE";
|
|
17584
17782
|
interval: "MONTH" | null;
|
|
17585
17783
|
cancelAtPeriodEnd: boolean;
|
|
17586
17784
|
period: {
|
|
@@ -17721,7 +17919,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
17721
17919
|
name: string;
|
|
17722
17920
|
storeCode: string;
|
|
17723
17921
|
storefrontUrl: string;
|
|
17724
|
-
status: "
|
|
17922
|
+
status: "SUSPENDED" | "CLOSED" | "ACTIVE";
|
|
17725
17923
|
logoUrl: string | null;
|
|
17726
17924
|
businessNumber: string | null;
|
|
17727
17925
|
customerCenterPhone: string | null;
|
|
@@ -17770,7 +17968,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
17770
17968
|
name: string;
|
|
17771
17969
|
storeCode: string;
|
|
17772
17970
|
storefrontUrl: string;
|
|
17773
|
-
status: "
|
|
17971
|
+
status: "SUSPENDED" | "CLOSED" | "ACTIVE";
|
|
17774
17972
|
logoUrl: string | null;
|
|
17775
17973
|
businessNumber: string | null;
|
|
17776
17974
|
customerCenterPhone: string | null;
|
|
@@ -17796,7 +17994,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
17796
17994
|
enabled: boolean;
|
|
17797
17995
|
minBalance: number;
|
|
17798
17996
|
minAmount: number;
|
|
17799
|
-
unit: 1 |
|
|
17997
|
+
unit: 1 | 100 | 10;
|
|
17800
17998
|
maxRatioBp: number;
|
|
17801
17999
|
includeDeliveryFee: boolean;
|
|
17802
18000
|
};
|
|
@@ -17824,7 +18022,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
17824
18022
|
enabled: boolean;
|
|
17825
18023
|
minBalance: number;
|
|
17826
18024
|
minAmount: number;
|
|
17827
|
-
unit: 1 |
|
|
18025
|
+
unit: 1 | 100 | 10;
|
|
17828
18026
|
maxRatioBp: number;
|
|
17829
18027
|
includeDeliveryFee: boolean;
|
|
17830
18028
|
};
|
|
@@ -17835,7 +18033,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
17835
18033
|
userId: string;
|
|
17836
18034
|
name: string;
|
|
17837
18035
|
email: string;
|
|
17838
|
-
role: "
|
|
18036
|
+
role: "ADMIN" | "STAFF" | "OWNER";
|
|
17839
18037
|
joinedAt: string;
|
|
17840
18038
|
lastActiveAt: string | null;
|
|
17841
18039
|
}[]>;
|
|
@@ -17852,7 +18050,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
17852
18050
|
invitationId: string;
|
|
17853
18051
|
email: string;
|
|
17854
18052
|
role: "ADMIN" | "STAFF";
|
|
17855
|
-
status: "
|
|
18053
|
+
status: "PENDING" | "EXPIRED" | "ACCEPTED" | "CANCELED";
|
|
17856
18054
|
invitedBy: string;
|
|
17857
18055
|
expiresAt: string;
|
|
17858
18056
|
createdAt: string;
|
|
@@ -17870,7 +18068,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
17870
18068
|
invitationId: string;
|
|
17871
18069
|
email: string;
|
|
17872
18070
|
role: "ADMIN" | "STAFF";
|
|
17873
|
-
status: "
|
|
18071
|
+
status: "PENDING" | "EXPIRED" | "ACCEPTED" | "CANCELED";
|
|
17874
18072
|
invitedBy: string;
|
|
17875
18073
|
expiresAt: string;
|
|
17876
18074
|
createdAt: string;
|
|
@@ -17885,7 +18083,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
17885
18083
|
invitationId: string;
|
|
17886
18084
|
email: string;
|
|
17887
18085
|
role: "ADMIN" | "STAFF";
|
|
17888
|
-
status: "
|
|
18086
|
+
status: "PENDING" | "EXPIRED" | "ACCEPTED" | "CANCELED";
|
|
17889
18087
|
invitedBy: string;
|
|
17890
18088
|
expiresAt: string;
|
|
17891
18089
|
createdAt: string;
|
|
@@ -17995,8 +18193,8 @@ export type CustomerDelegation = z.infer<typeof customerDelegationSchema>;
|
|
|
17995
18193
|
//#region src/schemas/promotion.d.ts
|
|
17996
18194
|
/** 쿠폰 종류 */
|
|
17997
18195
|
export declare const couponKindSchema: z.ZodEnum<{
|
|
17998
|
-
PRODUCT: "PRODUCT";
|
|
17999
18196
|
ORDER: "ORDER";
|
|
18197
|
+
PRODUCT: "PRODUCT";
|
|
18000
18198
|
DELIVERY: "DELIVERY";
|
|
18001
18199
|
}>;
|
|
18002
18200
|
export type CouponKind = z.infer<typeof couponKindSchema>;
|
|
@@ -18039,8 +18237,8 @@ export declare const couponRuleSchema: z.ZodObject<{
|
|
|
18039
18237
|
couponId: z.ZodString;
|
|
18040
18238
|
name: z.ZodString;
|
|
18041
18239
|
kind: z.ZodEnum<{
|
|
18042
|
-
PRODUCT: "PRODUCT";
|
|
18043
18240
|
ORDER: "ORDER";
|
|
18241
|
+
PRODUCT: "PRODUCT";
|
|
18044
18242
|
DELIVERY: "DELIVERY";
|
|
18045
18243
|
}>;
|
|
18046
18244
|
benefit: z.ZodObject<{
|
|
@@ -18494,8 +18692,8 @@ export declare const STORE_SCOPE_RESOURCES: {
|
|
|
18494
18692
|
};
|
|
18495
18693
|
export type StoreScopeResource = keyof typeof STORE_SCOPE_RESOURCES;
|
|
18496
18694
|
export declare const storeScopeResourceSchema: z.ZodEnum<{
|
|
18497
|
-
flow: "flow";
|
|
18498
18695
|
category: "category";
|
|
18696
|
+
flow: "flow";
|
|
18499
18697
|
analytics: "analytics";
|
|
18500
18698
|
product: "product";
|
|
18501
18699
|
order: "order";
|
|
@@ -18973,8 +19171,8 @@ export declare const responsePlanCodeSchema: z.ZodUnion<readonly [z.ZodEnum<{
|
|
|
18973
19171
|
}>, z.ZodString]>;
|
|
18974
19172
|
export type ResponsePlanCode = PlanCode | (string & {});
|
|
18975
19173
|
export declare const subscriptionStatusSchema: z.ZodEnum<{
|
|
18976
|
-
CANCELED: "CANCELED";
|
|
18977
19174
|
ACTIVE: "ACTIVE";
|
|
19175
|
+
CANCELED: "CANCELED";
|
|
18978
19176
|
PAST_DUE: "PAST_DUE";
|
|
18979
19177
|
INCOMPLETE: "INCOMPLETE";
|
|
18980
19178
|
}>;
|
|
@@ -19024,8 +19222,8 @@ export declare const storeSubscriptionSchema: z.ZodObject<{
|
|
|
19024
19222
|
name: z.ZodString;
|
|
19025
19223
|
}, z.core.$strip>;
|
|
19026
19224
|
status: z.ZodEnum<{
|
|
19027
|
-
CANCELED: "CANCELED";
|
|
19028
19225
|
ACTIVE: "ACTIVE";
|
|
19226
|
+
CANCELED: "CANCELED";
|
|
19029
19227
|
PAST_DUE: "PAST_DUE";
|
|
19030
19228
|
INCOMPLETE: "INCOMPLETE";
|
|
19031
19229
|
}>;
|