@sayren/store-sdk 0.28.1 → 0.28.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.d.mts +338 -269
- package/dist/index.mjs +56 -6
- package/package.json +1 -1
- package/src/schemas/product.ts +26 -6
- package/src/schemas/store.ts +97 -2
package/dist/index.d.mts
CHANGED
|
@@ -33,8 +33,8 @@ export declare const auditLogSourceSchema: z.ZodEnum<{
|
|
|
33
33
|
}>;
|
|
34
34
|
export type AuditLogSource = z.infer<typeof auditLogSourceSchema>;
|
|
35
35
|
export declare const auditLogOutcomeSchema: z.ZodEnum<{
|
|
36
|
-
FAILED: "FAILED";
|
|
37
36
|
SUCCEEDED: "SUCCEEDED";
|
|
37
|
+
FAILED: "FAILED";
|
|
38
38
|
PENDING_APPROVAL: "PENDING_APPROVAL";
|
|
39
39
|
DENIED: "DENIED";
|
|
40
40
|
DRY_RUN: "DRY_RUN";
|
|
@@ -69,8 +69,8 @@ export declare const auditLogSchema: z.ZodObject<{
|
|
|
69
69
|
path: z.ZodNullable<z.ZodString>;
|
|
70
70
|
statusCode: z.ZodNullable<z.ZodNumber>;
|
|
71
71
|
outcome: z.ZodNullable<z.ZodEnum<{
|
|
72
|
-
FAILED: "FAILED";
|
|
73
72
|
SUCCEEDED: "SUCCEEDED";
|
|
73
|
+
FAILED: "FAILED";
|
|
74
74
|
PENDING_APPROVAL: "PENDING_APPROVAL";
|
|
75
75
|
DENIED: "DENIED";
|
|
76
76
|
DRY_RUN: "DRY_RUN";
|
|
@@ -102,8 +102,8 @@ export declare const auditLogListQuerySchema: z.ZodObject<{
|
|
|
102
102
|
DOMAIN: "DOMAIN";
|
|
103
103
|
}>>;
|
|
104
104
|
outcome: z.ZodOptional<z.ZodEnum<{
|
|
105
|
-
FAILED: "FAILED";
|
|
106
105
|
SUCCEEDED: "SUCCEEDED";
|
|
106
|
+
FAILED: "FAILED";
|
|
107
107
|
PENDING_APPROVAL: "PENDING_APPROVAL";
|
|
108
108
|
DENIED: "DENIED";
|
|
109
109
|
DRY_RUN: "DRY_RUN";
|
|
@@ -149,8 +149,8 @@ export declare const auditLogPageSchema: z.ZodObject<{
|
|
|
149
149
|
path: z.ZodNullable<z.ZodString>;
|
|
150
150
|
statusCode: z.ZodNullable<z.ZodNumber>;
|
|
151
151
|
outcome: z.ZodNullable<z.ZodEnum<{
|
|
152
|
-
FAILED: "FAILED";
|
|
153
152
|
SUCCEEDED: "SUCCEEDED";
|
|
153
|
+
FAILED: "FAILED";
|
|
154
154
|
PENDING_APPROVAL: "PENDING_APPROVAL";
|
|
155
155
|
DENIED: "DENIED";
|
|
156
156
|
DRY_RUN: "DRY_RUN";
|
|
@@ -165,9 +165,9 @@ export declare const auditLogPageSchema: z.ZodObject<{
|
|
|
165
165
|
}, z.core.$strip>;
|
|
166
166
|
export type AuditLogPage = z.infer<typeof auditLogPageSchema>;
|
|
167
167
|
export declare const agentPolicyDecisionSchema: z.ZodEnum<{
|
|
168
|
-
APPROVAL_REQUIRED: "APPROVAL_REQUIRED";
|
|
169
168
|
DENIED: "DENIED";
|
|
170
169
|
ALLOW: "ALLOW";
|
|
170
|
+
APPROVAL_REQUIRED: "APPROVAL_REQUIRED";
|
|
171
171
|
}>;
|
|
172
172
|
export type AgentPolicyDecision = z.infer<typeof agentPolicyDecisionSchema>;
|
|
173
173
|
export declare const writePreviewSchema: z.ZodObject<{
|
|
@@ -190,9 +190,9 @@ export type WritePreview = z.infer<typeof writePreviewSchema>;
|
|
|
190
190
|
export declare const writeDryRunResultSchema: z.ZodObject<{
|
|
191
191
|
dryRun: z.ZodLiteral<true>;
|
|
192
192
|
decision: z.ZodEnum<{
|
|
193
|
-
APPROVAL_REQUIRED: "APPROVAL_REQUIRED";
|
|
194
193
|
DENIED: "DENIED";
|
|
195
194
|
ALLOW: "ALLOW";
|
|
195
|
+
APPROVAL_REQUIRED: "APPROVAL_REQUIRED";
|
|
196
196
|
}>;
|
|
197
197
|
reason: z.ZodNullable<z.ZodString>;
|
|
198
198
|
preview: z.ZodObject<{
|
|
@@ -213,9 +213,9 @@ export declare const writeDryRunResultSchema: z.ZodObject<{
|
|
|
213
213
|
}, z.core.$strip>;
|
|
214
214
|
export type WriteDryRunResult = z.infer<typeof writeDryRunResultSchema>;
|
|
215
215
|
export declare const approvalStatusSchema: z.ZodEnum<{
|
|
216
|
-
PENDING: "PENDING";
|
|
217
|
-
FAILED: "FAILED";
|
|
218
216
|
SUCCEEDED: "SUCCEEDED";
|
|
217
|
+
FAILED: "FAILED";
|
|
218
|
+
PENDING: "PENDING";
|
|
219
219
|
EXECUTING: "EXECUTING";
|
|
220
220
|
UNKNOWN: "UNKNOWN";
|
|
221
221
|
REJECTED: "REJECTED";
|
|
@@ -225,9 +225,9 @@ export type ApprovalStatus = z.infer<typeof approvalStatusSchema>;
|
|
|
225
225
|
export declare const approvalRequestSchema: z.ZodObject<{
|
|
226
226
|
approvalId: z.ZodString;
|
|
227
227
|
status: z.ZodEnum<{
|
|
228
|
-
PENDING: "PENDING";
|
|
229
|
-
FAILED: "FAILED";
|
|
230
228
|
SUCCEEDED: "SUCCEEDED";
|
|
229
|
+
FAILED: "FAILED";
|
|
230
|
+
PENDING: "PENDING";
|
|
231
231
|
EXECUTING: "EXECUTING";
|
|
232
232
|
UNKNOWN: "UNKNOWN";
|
|
233
233
|
REJECTED: "REJECTED";
|
|
@@ -287,9 +287,9 @@ export declare const approvalRequestSchema: z.ZodObject<{
|
|
|
287
287
|
export type ApprovalRequest = z.infer<typeof approvalRequestSchema>;
|
|
288
288
|
export declare const approvalListQuerySchema: z.ZodObject<{
|
|
289
289
|
status: z.ZodOptional<z.ZodPipe<z.ZodPipe<z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]>, z.ZodTransform<string[], string | string[]>>, z.ZodArray<z.ZodEnum<{
|
|
290
|
-
PENDING: "PENDING";
|
|
291
|
-
FAILED: "FAILED";
|
|
292
290
|
SUCCEEDED: "SUCCEEDED";
|
|
291
|
+
FAILED: "FAILED";
|
|
292
|
+
PENDING: "PENDING";
|
|
293
293
|
EXECUTING: "EXECUTING";
|
|
294
294
|
UNKNOWN: "UNKNOWN";
|
|
295
295
|
REJECTED: "REJECTED";
|
|
@@ -306,9 +306,9 @@ export declare const approvalPageSchema: z.ZodObject<{
|
|
|
306
306
|
items: z.ZodArray<z.ZodObject<{
|
|
307
307
|
approvalId: z.ZodString;
|
|
308
308
|
status: z.ZodEnum<{
|
|
309
|
-
PENDING: "PENDING";
|
|
310
|
-
FAILED: "FAILED";
|
|
311
309
|
SUCCEEDED: "SUCCEEDED";
|
|
310
|
+
FAILED: "FAILED";
|
|
311
|
+
PENDING: "PENDING";
|
|
312
312
|
EXECUTING: "EXECUTING";
|
|
313
313
|
UNKNOWN: "UNKNOWN";
|
|
314
314
|
REJECTED: "REJECTED";
|
|
@@ -582,9 +582,9 @@ export declare const analyticsProductsSchema: z.ZodObject<{
|
|
|
582
582
|
export type AnalyticsProducts = z.infer<typeof analyticsProductsSchema>;
|
|
583
583
|
export declare const analyticsChannelSchema: z.ZodEnum<{
|
|
584
584
|
PAID: "PAID";
|
|
585
|
+
UNKNOWN: "UNKNOWN";
|
|
585
586
|
DIRECT: "DIRECT";
|
|
586
587
|
CAMPAIGN: "CAMPAIGN";
|
|
587
|
-
UNKNOWN: "UNKNOWN";
|
|
588
588
|
ORGANIC_SEARCH: "ORGANIC_SEARCH";
|
|
589
589
|
SOCIAL: "SOCIAL";
|
|
590
590
|
EMAIL: "EMAIL";
|
|
@@ -616,9 +616,9 @@ export type AnalyticsSourcesParams = z.infer<typeof analyticsSourcesQuerySchema>
|
|
|
616
616
|
export declare const analyticsSourceRowSchema: z.ZodObject<{
|
|
617
617
|
channel: z.ZodNullable<z.ZodEnum<{
|
|
618
618
|
PAID: "PAID";
|
|
619
|
+
UNKNOWN: "UNKNOWN";
|
|
619
620
|
DIRECT: "DIRECT";
|
|
620
621
|
CAMPAIGN: "CAMPAIGN";
|
|
621
|
-
UNKNOWN: "UNKNOWN";
|
|
622
622
|
ORGANIC_SEARCH: "ORGANIC_SEARCH";
|
|
623
623
|
SOCIAL: "SOCIAL";
|
|
624
624
|
EMAIL: "EMAIL";
|
|
@@ -652,9 +652,9 @@ export declare const analyticsSourcesSchema: z.ZodObject<{
|
|
|
652
652
|
rows: z.ZodArray<z.ZodObject<{
|
|
653
653
|
channel: z.ZodNullable<z.ZodEnum<{
|
|
654
654
|
PAID: "PAID";
|
|
655
|
+
UNKNOWN: "UNKNOWN";
|
|
655
656
|
DIRECT: "DIRECT";
|
|
656
657
|
CAMPAIGN: "CAMPAIGN";
|
|
657
|
-
UNKNOWN: "UNKNOWN";
|
|
658
658
|
ORGANIC_SEARCH: "ORGANIC_SEARCH";
|
|
659
659
|
SOCIAL: "SOCIAL";
|
|
660
660
|
EMAIL: "EMAIL";
|
|
@@ -1232,14 +1232,14 @@ export declare const bulkResultSchema: z.ZodObject<{
|
|
|
1232
1232
|
}, z.core.$strip>;
|
|
1233
1233
|
export type BulkResult = z.infer<typeof bulkResultSchema>;
|
|
1234
1234
|
export declare const orderItemStatusSchema: z.ZodEnum<{
|
|
1235
|
-
PAID: "PAID";
|
|
1236
|
-
CANCELED: "CANCELED";
|
|
1237
1235
|
PAYMENT_WAITING: "PAYMENT_WAITING";
|
|
1236
|
+
PAID: "PAID";
|
|
1238
1237
|
CONFIRMED: "CONFIRMED";
|
|
1239
1238
|
DISPATCHED: "DISPATCHED";
|
|
1240
1239
|
DELIVERING: "DELIVERING";
|
|
1241
1240
|
DELIVERED: "DELIVERED";
|
|
1242
1241
|
PURCHASE_DECIDED: "PURCHASE_DECIDED";
|
|
1242
|
+
CANCELED: "CANCELED";
|
|
1243
1243
|
}>;
|
|
1244
1244
|
export type OrderItemStatus = z.infer<typeof orderItemStatusSchema>;
|
|
1245
1245
|
export declare const changeTypeSchema: z.ZodEnum<{
|
|
@@ -1264,6 +1264,7 @@ export declare const claimTypeSchema: z.ZodEnum<{
|
|
|
1264
1264
|
}>;
|
|
1265
1265
|
export type ClaimType = z.infer<typeof claimTypeSchema>;
|
|
1266
1266
|
export declare const claimStatusSchema: z.ZodEnum<{
|
|
1267
|
+
WITHDRAWN: "WITHDRAWN";
|
|
1267
1268
|
REJECTED: "REJECTED";
|
|
1268
1269
|
REQUESTED: "REQUESTED";
|
|
1269
1270
|
HELD: "HELD";
|
|
@@ -1272,7 +1273,6 @@ export declare const claimStatusSchema: z.ZodEnum<{
|
|
|
1272
1273
|
REDELIVERING: "REDELIVERING";
|
|
1273
1274
|
APPROVED: "APPROVED";
|
|
1274
1275
|
COMPLETED: "COMPLETED";
|
|
1275
|
-
WITHDRAWN: "WITHDRAWN";
|
|
1276
1276
|
}>;
|
|
1277
1277
|
export type ClaimStatus = z.infer<typeof claimStatusSchema>;
|
|
1278
1278
|
export declare const claimReasonSchema: z.ZodEnum<{
|
|
@@ -1308,6 +1308,7 @@ export declare const claimSchema: z.ZodObject<{
|
|
|
1308
1308
|
CANCEL: "CANCEL";
|
|
1309
1309
|
}>;
|
|
1310
1310
|
status: z.ZodEnum<{
|
|
1311
|
+
WITHDRAWN: "WITHDRAWN";
|
|
1311
1312
|
REJECTED: "REJECTED";
|
|
1312
1313
|
REQUESTED: "REQUESTED";
|
|
1313
1314
|
HELD: "HELD";
|
|
@@ -1316,7 +1317,6 @@ export declare const claimSchema: z.ZodObject<{
|
|
|
1316
1317
|
REDELIVERING: "REDELIVERING";
|
|
1317
1318
|
APPROVED: "APPROVED";
|
|
1318
1319
|
COMPLETED: "COMPLETED";
|
|
1319
|
-
WITHDRAWN: "WITHDRAWN";
|
|
1320
1320
|
}>;
|
|
1321
1321
|
orderId: z.ZodString;
|
|
1322
1322
|
orderItemId: z.ZodString;
|
|
@@ -1332,8 +1332,8 @@ export declare const claimSchema: z.ZodObject<{
|
|
|
1332
1332
|
}>;
|
|
1333
1333
|
reasonDetail: z.ZodNullable<z.ZodString>;
|
|
1334
1334
|
responsibility: z.ZodEnum<{
|
|
1335
|
-
BUYER: "BUYER";
|
|
1336
1335
|
SELLER: "SELLER";
|
|
1336
|
+
BUYER: "BUYER";
|
|
1337
1337
|
}>;
|
|
1338
1338
|
claimDeliveryFee: z.ZodNumber;
|
|
1339
1339
|
expectedRefundAmount: z.ZodNullable<z.ZodNumber>;
|
|
@@ -1396,6 +1396,7 @@ export declare const claimDetailSchema: z.ZodObject<{
|
|
|
1396
1396
|
CANCEL: "CANCEL";
|
|
1397
1397
|
}>;
|
|
1398
1398
|
status: z.ZodEnum<{
|
|
1399
|
+
WITHDRAWN: "WITHDRAWN";
|
|
1399
1400
|
REJECTED: "REJECTED";
|
|
1400
1401
|
REQUESTED: "REQUESTED";
|
|
1401
1402
|
HELD: "HELD";
|
|
@@ -1404,7 +1405,6 @@ export declare const claimDetailSchema: z.ZodObject<{
|
|
|
1404
1405
|
REDELIVERING: "REDELIVERING";
|
|
1405
1406
|
APPROVED: "APPROVED";
|
|
1406
1407
|
COMPLETED: "COMPLETED";
|
|
1407
|
-
WITHDRAWN: "WITHDRAWN";
|
|
1408
1408
|
}>;
|
|
1409
1409
|
orderId: z.ZodString;
|
|
1410
1410
|
orderItemId: z.ZodString;
|
|
@@ -1420,8 +1420,8 @@ export declare const claimDetailSchema: z.ZodObject<{
|
|
|
1420
1420
|
}>;
|
|
1421
1421
|
reasonDetail: z.ZodNullable<z.ZodString>;
|
|
1422
1422
|
responsibility: z.ZodEnum<{
|
|
1423
|
-
BUYER: "BUYER";
|
|
1424
1423
|
SELLER: "SELLER";
|
|
1424
|
+
BUYER: "BUYER";
|
|
1425
1425
|
}>;
|
|
1426
1426
|
claimDeliveryFee: z.ZodNumber;
|
|
1427
1427
|
expectedRefundAmount: z.ZodNullable<z.ZodNumber>;
|
|
@@ -1453,6 +1453,7 @@ export declare const claimDetailSchema: z.ZodObject<{
|
|
|
1453
1453
|
}, z.core.$strip>>;
|
|
1454
1454
|
histories: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1455
1455
|
status: z.ZodEnum<{
|
|
1456
|
+
WITHDRAWN: "WITHDRAWN";
|
|
1456
1457
|
REJECTED: "REJECTED";
|
|
1457
1458
|
REQUESTED: "REQUESTED";
|
|
1458
1459
|
HELD: "HELD";
|
|
@@ -1461,12 +1462,11 @@ export declare const claimDetailSchema: z.ZodObject<{
|
|
|
1461
1462
|
REDELIVERING: "REDELIVERING";
|
|
1462
1463
|
APPROVED: "APPROVED";
|
|
1463
1464
|
COMPLETED: "COMPLETED";
|
|
1464
|
-
WITHDRAWN: "WITHDRAWN";
|
|
1465
1465
|
}>;
|
|
1466
1466
|
actor: z.ZodEnum<{
|
|
1467
|
+
SELLER: "SELLER";
|
|
1467
1468
|
SYSTEM: "SYSTEM";
|
|
1468
1469
|
BUYER: "BUYER";
|
|
1469
|
-
SELLER: "SELLER";
|
|
1470
1470
|
}>;
|
|
1471
1471
|
occurredAt: z.ZodString;
|
|
1472
1472
|
}, z.core.$strip>>>;
|
|
@@ -1870,8 +1870,8 @@ export declare const consentKindSchema: z.ZodEnum<{
|
|
|
1870
1870
|
}>;
|
|
1871
1871
|
export type ConsentKind = z.infer<typeof consentKindSchema>;
|
|
1872
1872
|
export declare const consentActionSchema: z.ZodEnum<{
|
|
1873
|
-
WITHDRAWN: "WITHDRAWN";
|
|
1874
1873
|
AGREED: "AGREED";
|
|
1874
|
+
WITHDRAWN: "WITHDRAWN";
|
|
1875
1875
|
}>;
|
|
1876
1876
|
export type ConsentAction = z.infer<typeof consentActionSchema>;
|
|
1877
1877
|
/**
|
|
@@ -1880,12 +1880,12 @@ export type ConsentAction = z.infer<typeof consentActionSchema>;
|
|
|
1880
1880
|
* `RECONSENT` 약관 개정 재동의 · `MEMBER_UPDATE` 구매자가 직접 변경 · `SELLER` 셀러가 처리
|
|
1881
1881
|
*/
|
|
1882
1882
|
export declare const consentSourceSchema: z.ZodEnum<{
|
|
1883
|
-
SELLER: "SELLER";
|
|
1884
1883
|
SIGNUP: "SIGNUP";
|
|
1885
1884
|
SOCIAL_SIGNUP: "SOCIAL_SIGNUP";
|
|
1886
1885
|
DELEGATED: "DELEGATED";
|
|
1887
1886
|
RECONSENT: "RECONSENT";
|
|
1888
1887
|
MEMBER_UPDATE: "MEMBER_UPDATE";
|
|
1888
|
+
SELLER: "SELLER";
|
|
1889
1889
|
}>;
|
|
1890
1890
|
export type ConsentSource = z.infer<typeof consentSourceSchema>;
|
|
1891
1891
|
/** 동의 이력 한 줄 — 추가만 되고 지워지지 않는다(구매자 탈퇴 시에만 함께 지워진다) */
|
|
@@ -1899,16 +1899,16 @@ export declare const customerConsentSchema: z.ZodObject<{
|
|
|
1899
1899
|
version: z.ZodNullable<z.ZodString>;
|
|
1900
1900
|
documentUrl: z.ZodNullable<z.ZodString>;
|
|
1901
1901
|
action: z.ZodEnum<{
|
|
1902
|
-
WITHDRAWN: "WITHDRAWN";
|
|
1903
1902
|
AGREED: "AGREED";
|
|
1903
|
+
WITHDRAWN: "WITHDRAWN";
|
|
1904
1904
|
}>;
|
|
1905
1905
|
source: z.ZodEnum<{
|
|
1906
|
-
SELLER: "SELLER";
|
|
1907
1906
|
SIGNUP: "SIGNUP";
|
|
1908
1907
|
SOCIAL_SIGNUP: "SOCIAL_SIGNUP";
|
|
1909
1908
|
DELEGATED: "DELEGATED";
|
|
1910
1909
|
RECONSENT: "RECONSENT";
|
|
1911
1910
|
MEMBER_UPDATE: "MEMBER_UPDATE";
|
|
1911
|
+
SELLER: "SELLER";
|
|
1912
1912
|
}>;
|
|
1913
1913
|
occurredAt: z.ZodString;
|
|
1914
1914
|
}, z.core.$strip>;
|
|
@@ -1992,10 +1992,10 @@ export declare const customerDetailSchema: z.ZodObject<{
|
|
|
1992
1992
|
marketingAgreed: z.ZodBoolean;
|
|
1993
1993
|
loginMethods: z.ZodArray<z.ZodObject<{
|
|
1994
1994
|
method: z.ZodEnum<{
|
|
1995
|
+
password: "password";
|
|
1995
1996
|
kakao: "kakao";
|
|
1996
1997
|
naver: "naver";
|
|
1997
1998
|
google: "google";
|
|
1998
|
-
password: "password";
|
|
1999
1999
|
}>;
|
|
2000
2000
|
linkedAt: z.ZodString;
|
|
2001
2001
|
}, z.core.$strip>>;
|
|
@@ -2073,14 +2073,14 @@ export declare const customerOrderSchema: z.ZodObject<{
|
|
|
2073
2073
|
optionName: z.ZodNullable<z.ZodString>;
|
|
2074
2074
|
quantity: z.ZodNumber;
|
|
2075
2075
|
status: z.ZodEnum<{
|
|
2076
|
-
PAID: "PAID";
|
|
2077
|
-
CANCELED: "CANCELED";
|
|
2078
2076
|
PAYMENT_WAITING: "PAYMENT_WAITING";
|
|
2077
|
+
PAID: "PAID";
|
|
2079
2078
|
CONFIRMED: "CONFIRMED";
|
|
2080
2079
|
DISPATCHED: "DISPATCHED";
|
|
2081
2080
|
DELIVERING: "DELIVERING";
|
|
2082
2081
|
DELIVERED: "DELIVERED";
|
|
2083
2082
|
PURCHASE_DECIDED: "PURCHASE_DECIDED";
|
|
2083
|
+
CANCELED: "CANCELED";
|
|
2084
2084
|
}>;
|
|
2085
2085
|
claimStatus: z.ZodNullable<z.ZodEnum<{
|
|
2086
2086
|
CANCEL_REQUESTED: "CANCEL_REQUESTED";
|
|
@@ -2383,8 +2383,8 @@ export declare const eventTypeSchema: z.ZodEnum<{
|
|
|
2383
2383
|
}>;
|
|
2384
2384
|
export type EventType = z.infer<typeof eventTypeSchema>;
|
|
2385
2385
|
export declare const webhookStatusSchema: z.ZodEnum<{
|
|
2386
|
-
SUSPENDED: "SUSPENDED";
|
|
2387
2386
|
ACTIVE: "ACTIVE";
|
|
2387
|
+
SUSPENDED: "SUSPENDED";
|
|
2388
2388
|
}>;
|
|
2389
2389
|
export type WebhookStatus = z.infer<typeof webhookStatusSchema>;
|
|
2390
2390
|
export declare const webhookSchema: z.ZodObject<{
|
|
@@ -2408,8 +2408,8 @@ export declare const webhookSchema: z.ZodObject<{
|
|
|
2408
2408
|
"PRODUCT.OUT_OF_STOCK": "PRODUCT.OUT_OF_STOCK";
|
|
2409
2409
|
}>>;
|
|
2410
2410
|
status: z.ZodEnum<{
|
|
2411
|
-
SUSPENDED: "SUSPENDED";
|
|
2412
2411
|
ACTIVE: "ACTIVE";
|
|
2412
|
+
SUSPENDED: "SUSPENDED";
|
|
2413
2413
|
}>;
|
|
2414
2414
|
secretPrefix: z.ZodString;
|
|
2415
2415
|
suspendedAt: z.ZodNullable<z.ZodString>;
|
|
@@ -2438,8 +2438,8 @@ export declare const webhookCreatedSchema: z.ZodObject<{
|
|
|
2438
2438
|
"PRODUCT.OUT_OF_STOCK": "PRODUCT.OUT_OF_STOCK";
|
|
2439
2439
|
}>>;
|
|
2440
2440
|
status: z.ZodEnum<{
|
|
2441
|
-
SUSPENDED: "SUSPENDED";
|
|
2442
2441
|
ACTIVE: "ACTIVE";
|
|
2442
|
+
SUSPENDED: "SUSPENDED";
|
|
2443
2443
|
}>;
|
|
2444
2444
|
secretPrefix: z.ZodString;
|
|
2445
2445
|
suspendedAt: z.ZodNullable<z.ZodString>;
|
|
@@ -2454,10 +2454,10 @@ export declare const webhookSecretRotatedSchema: z.ZodObject<{
|
|
|
2454
2454
|
}, z.core.$strip>;
|
|
2455
2455
|
export type WebhookSecretRotated = z.infer<typeof webhookSecretRotatedSchema>;
|
|
2456
2456
|
export declare const webhookDeliveryStatusSchema: z.ZodEnum<{
|
|
2457
|
+
FAILED: "FAILED";
|
|
2457
2458
|
PENDING: "PENDING";
|
|
2458
2459
|
PENDING_RETRY: "PENDING_RETRY";
|
|
2459
2460
|
SUCCESS: "SUCCESS";
|
|
2460
|
-
FAILED: "FAILED";
|
|
2461
2461
|
}>;
|
|
2462
2462
|
export type WebhookDeliveryStatus = z.infer<typeof webhookDeliveryStatusSchema>;
|
|
2463
2463
|
export declare const webhookDeliveryErrorCodeSchema: z.ZodEnum<{
|
|
@@ -2519,10 +2519,10 @@ export declare const webhookDeliverySchema: z.ZodObject<{
|
|
|
2519
2519
|
}>;
|
|
2520
2520
|
url: z.ZodString;
|
|
2521
2521
|
status: z.ZodEnum<{
|
|
2522
|
+
FAILED: "FAILED";
|
|
2522
2523
|
PENDING: "PENDING";
|
|
2523
2524
|
PENDING_RETRY: "PENDING_RETRY";
|
|
2524
2525
|
SUCCESS: "SUCCESS";
|
|
2525
|
-
FAILED: "FAILED";
|
|
2526
2526
|
}>;
|
|
2527
2527
|
responseStatusCode: z.ZodNullable<z.ZodNumber>;
|
|
2528
2528
|
responseTimeMs: z.ZodNullable<z.ZodNumber>;
|
|
@@ -2572,10 +2572,10 @@ export declare const webhookDeliveryDetailSchema: z.ZodObject<{
|
|
|
2572
2572
|
}>;
|
|
2573
2573
|
url: z.ZodString;
|
|
2574
2574
|
status: z.ZodEnum<{
|
|
2575
|
+
FAILED: "FAILED";
|
|
2575
2576
|
PENDING: "PENDING";
|
|
2576
2577
|
PENDING_RETRY: "PENDING_RETRY";
|
|
2577
2578
|
SUCCESS: "SUCCESS";
|
|
2578
|
-
FAILED: "FAILED";
|
|
2579
2579
|
}>;
|
|
2580
2580
|
responseStatusCode: z.ZodNullable<z.ZodNumber>;
|
|
2581
2581
|
responseTimeMs: z.ZodNullable<z.ZodNumber>;
|
|
@@ -2610,10 +2610,10 @@ export type WebhookDeliveryDetail = z.infer<typeof webhookDeliveryDetailSchema>;
|
|
|
2610
2610
|
/** 전송 기록 조회 쿼리 — `GET /webhooks/{id}/deliveries` */
|
|
2611
2611
|
export declare const webhookDeliveryListQuerySchema: z.ZodObject<{
|
|
2612
2612
|
status: z.ZodOptional<z.ZodEnum<{
|
|
2613
|
+
FAILED: "FAILED";
|
|
2613
2614
|
PENDING: "PENDING";
|
|
2614
2615
|
PENDING_RETRY: "PENDING_RETRY";
|
|
2615
2616
|
SUCCESS: "SUCCESS";
|
|
2616
|
-
FAILED: "FAILED";
|
|
2617
2617
|
}>>;
|
|
2618
2618
|
eventType: z.ZodOptional<z.ZodEnum<{
|
|
2619
2619
|
"ORDER.PAID": "ORDER.PAID";
|
|
@@ -2830,8 +2830,8 @@ export declare function requiresCollection(type: string | null | undefined): boo
|
|
|
2830
2830
|
export declare const NO_SHIPPING_BUNDLE_KEY = "none";
|
|
2831
2831
|
/** 배송비 유형 — 무료·유료·조건부 무료 */
|
|
2832
2832
|
export declare const deliveryTypeSchema: z.ZodEnum<{
|
|
2833
|
-
FREE: "FREE";
|
|
2834
2833
|
PAID: "PAID";
|
|
2834
|
+
FREE: "FREE";
|
|
2835
2835
|
CONDITIONAL_FREE: "CONDITIONAL_FREE";
|
|
2836
2836
|
}>;
|
|
2837
2837
|
export type DeliveryType = z.infer<typeof deliveryTypeSchema>;
|
|
@@ -2842,8 +2842,8 @@ export declare const productFulfillmentCreateSchema: z.ZodDiscriminatedUnion<[z.
|
|
|
2842
2842
|
type: z.ZodLiteral<"SHIPPING">;
|
|
2843
2843
|
shipping: z.ZodOptional<z.ZodObject<{
|
|
2844
2844
|
deliveryType: z.ZodDefault<z.ZodEnum<{
|
|
2845
|
-
FREE: "FREE";
|
|
2846
2845
|
PAID: "PAID";
|
|
2846
|
+
FREE: "FREE";
|
|
2847
2847
|
CONDITIONAL_FREE: "CONDITIONAL_FREE";
|
|
2848
2848
|
}>>;
|
|
2849
2849
|
deliveryFee: z.ZodOptional<z.ZodNumber>;
|
|
@@ -2865,8 +2865,8 @@ export declare const productFulfillmentUpdateSchema: z.ZodDiscriminatedUnion<[z.
|
|
|
2865
2865
|
type: z.ZodLiteral<"SHIPPING">;
|
|
2866
2866
|
shipping: z.ZodObject<{
|
|
2867
2867
|
deliveryType: z.ZodEnum<{
|
|
2868
|
-
FREE: "FREE";
|
|
2869
2868
|
PAID: "PAID";
|
|
2869
|
+
FREE: "FREE";
|
|
2870
2870
|
CONDITIONAL_FREE: "CONDITIONAL_FREE";
|
|
2871
2871
|
}>;
|
|
2872
2872
|
deliveryFee: z.ZodNumber;
|
|
@@ -2886,8 +2886,8 @@ export declare const productFulfillmentSchema: z.ZodDiscriminatedUnion<[z.ZodObj
|
|
|
2886
2886
|
type: z.ZodLiteral<"SHIPPING">;
|
|
2887
2887
|
shipping: z.ZodObject<{
|
|
2888
2888
|
deliveryType: z.ZodEnum<{
|
|
2889
|
-
FREE: "FREE";
|
|
2890
2889
|
PAID: "PAID";
|
|
2890
|
+
FREE: "FREE";
|
|
2891
2891
|
CONDITIONAL_FREE: "CONDITIONAL_FREE";
|
|
2892
2892
|
}>;
|
|
2893
2893
|
deliveryFee: z.ZodNumber;
|
|
@@ -2925,8 +2925,8 @@ export declare const productFulfillmentResponseSchema: z.ZodUnion<readonly [z.Zo
|
|
|
2925
2925
|
type: z.ZodLiteral<"SHIPPING">;
|
|
2926
2926
|
shipping: z.ZodObject<{
|
|
2927
2927
|
deliveryType: z.ZodEnum<{
|
|
2928
|
-
FREE: "FREE";
|
|
2929
2928
|
PAID: "PAID";
|
|
2929
|
+
FREE: "FREE";
|
|
2930
2930
|
CONDITIONAL_FREE: "CONDITIONAL_FREE";
|
|
2931
2931
|
}>;
|
|
2932
2932
|
deliveryFee: z.ZodNumber;
|
|
@@ -2980,14 +2980,14 @@ export declare const orderSummarySchema: z.ZodObject<{
|
|
|
2980
2980
|
itemCount: z.ZodNumber;
|
|
2981
2981
|
totalAmount: z.ZodNumber;
|
|
2982
2982
|
representativeStatus: z.ZodEnum<{
|
|
2983
|
-
PAID: "PAID";
|
|
2984
|
-
CANCELED: "CANCELED";
|
|
2985
2983
|
PAYMENT_WAITING: "PAYMENT_WAITING";
|
|
2984
|
+
PAID: "PAID";
|
|
2986
2985
|
CONFIRMED: "CONFIRMED";
|
|
2987
2986
|
DISPATCHED: "DISPATCHED";
|
|
2988
2987
|
DELIVERING: "DELIVERING";
|
|
2989
2988
|
DELIVERED: "DELIVERED";
|
|
2990
2989
|
PURCHASE_DECIDED: "PURCHASE_DECIDED";
|
|
2990
|
+
CANCELED: "CANCELED";
|
|
2991
2991
|
}>;
|
|
2992
2992
|
orderedAt: z.ZodString;
|
|
2993
2993
|
testPayment: z.ZodBoolean;
|
|
@@ -3015,14 +3015,14 @@ export declare const orderItemSchema: z.ZodObject<{
|
|
|
3015
3015
|
orderItemId: z.ZodString;
|
|
3016
3016
|
orderId: z.ZodString;
|
|
3017
3017
|
status: z.ZodEnum<{
|
|
3018
|
-
PAID: "PAID";
|
|
3019
|
-
CANCELED: "CANCELED";
|
|
3020
3018
|
PAYMENT_WAITING: "PAYMENT_WAITING";
|
|
3019
|
+
PAID: "PAID";
|
|
3021
3020
|
CONFIRMED: "CONFIRMED";
|
|
3022
3021
|
DISPATCHED: "DISPATCHED";
|
|
3023
3022
|
DELIVERING: "DELIVERING";
|
|
3024
3023
|
DELIVERED: "DELIVERED";
|
|
3025
3024
|
PURCHASE_DECIDED: "PURCHASE_DECIDED";
|
|
3025
|
+
CANCELED: "CANCELED";
|
|
3026
3026
|
}>;
|
|
3027
3027
|
claimStatus: z.ZodNullable<z.ZodEnum<{
|
|
3028
3028
|
CANCEL_REQUESTED: "CANCEL_REQUESTED";
|
|
@@ -3174,14 +3174,14 @@ export declare const orderSchema: z.ZodObject<{
|
|
|
3174
3174
|
orderItemId: z.ZodString;
|
|
3175
3175
|
orderId: z.ZodString;
|
|
3176
3176
|
status: z.ZodEnum<{
|
|
3177
|
-
PAID: "PAID";
|
|
3178
|
-
CANCELED: "CANCELED";
|
|
3179
3177
|
PAYMENT_WAITING: "PAYMENT_WAITING";
|
|
3178
|
+
PAID: "PAID";
|
|
3180
3179
|
CONFIRMED: "CONFIRMED";
|
|
3181
3180
|
DISPATCHED: "DISPATCHED";
|
|
3182
3181
|
DELIVERING: "DELIVERING";
|
|
3183
3182
|
DELIVERED: "DELIVERED";
|
|
3184
3183
|
PURCHASE_DECIDED: "PURCHASE_DECIDED";
|
|
3184
|
+
CANCELED: "CANCELED";
|
|
3185
3185
|
}>;
|
|
3186
3186
|
claimStatus: z.ZodNullable<z.ZodEnum<{
|
|
3187
3187
|
CANCEL_REQUESTED: "CANCEL_REQUESTED";
|
|
@@ -3266,14 +3266,14 @@ export declare const orderSummaryPageSchema: z.ZodObject<{
|
|
|
3266
3266
|
itemCount: z.ZodNumber;
|
|
3267
3267
|
totalAmount: z.ZodNumber;
|
|
3268
3268
|
representativeStatus: z.ZodEnum<{
|
|
3269
|
-
PAID: "PAID";
|
|
3270
|
-
CANCELED: "CANCELED";
|
|
3271
3269
|
PAYMENT_WAITING: "PAYMENT_WAITING";
|
|
3270
|
+
PAID: "PAID";
|
|
3272
3271
|
CONFIRMED: "CONFIRMED";
|
|
3273
3272
|
DISPATCHED: "DISPATCHED";
|
|
3274
3273
|
DELIVERING: "DELIVERING";
|
|
3275
3274
|
DELIVERED: "DELIVERED";
|
|
3276
3275
|
PURCHASE_DECIDED: "PURCHASE_DECIDED";
|
|
3276
|
+
CANCELED: "CANCELED";
|
|
3277
3277
|
}>;
|
|
3278
3278
|
orderedAt: z.ZodString;
|
|
3279
3279
|
testPayment: z.ZodBoolean;
|
|
@@ -3290,14 +3290,14 @@ export declare const orderItemPageSchema: z.ZodObject<{
|
|
|
3290
3290
|
orderItemId: z.ZodString;
|
|
3291
3291
|
orderId: z.ZodString;
|
|
3292
3292
|
status: z.ZodEnum<{
|
|
3293
|
-
PAID: "PAID";
|
|
3294
|
-
CANCELED: "CANCELED";
|
|
3295
3293
|
PAYMENT_WAITING: "PAYMENT_WAITING";
|
|
3294
|
+
PAID: "PAID";
|
|
3296
3295
|
CONFIRMED: "CONFIRMED";
|
|
3297
3296
|
DISPATCHED: "DISPATCHED";
|
|
3298
3297
|
DELIVERING: "DELIVERING";
|
|
3299
3298
|
DELIVERED: "DELIVERED";
|
|
3300
3299
|
PURCHASE_DECIDED: "PURCHASE_DECIDED";
|
|
3300
|
+
CANCELED: "CANCELED";
|
|
3301
3301
|
}>;
|
|
3302
3302
|
claimStatus: z.ZodNullable<z.ZodEnum<{
|
|
3303
3303
|
CANCEL_REQUESTED: "CANCEL_REQUESTED";
|
|
@@ -3381,14 +3381,14 @@ export declare const orderListQuerySchema: z.ZodObject<{
|
|
|
3381
3381
|
orderedFrom: z.ZodString;
|
|
3382
3382
|
orderedTo: z.ZodOptional<z.ZodString>;
|
|
3383
3383
|
status: z.ZodOptional<z.ZodEnum<{
|
|
3384
|
-
PAID: "PAID";
|
|
3385
|
-
CANCELED: "CANCELED";
|
|
3386
3384
|
PAYMENT_WAITING: "PAYMENT_WAITING";
|
|
3385
|
+
PAID: "PAID";
|
|
3387
3386
|
CONFIRMED: "CONFIRMED";
|
|
3388
3387
|
DISPATCHED: "DISPATCHED";
|
|
3389
3388
|
DELIVERING: "DELIVERING";
|
|
3390
3389
|
DELIVERED: "DELIVERED";
|
|
3391
3390
|
PURCHASE_DECIDED: "PURCHASE_DECIDED";
|
|
3391
|
+
CANCELED: "CANCELED";
|
|
3392
3392
|
}>>;
|
|
3393
3393
|
keyword: z.ZodOptional<z.ZodString>;
|
|
3394
3394
|
fulfillmentType: z.ZodOptional<z.ZodString>;
|
|
@@ -3650,8 +3650,8 @@ export declare const pgEnvironmentSchema: z.ZodEnum<{
|
|
|
3650
3650
|
}>;
|
|
3651
3651
|
export type PgEnvironment = z.infer<typeof pgEnvironmentSchema>;
|
|
3652
3652
|
export declare const pgVerificationResultSchema: z.ZodEnum<{
|
|
3653
|
-
SUCCESS: "SUCCESS";
|
|
3654
3653
|
FAILED: "FAILED";
|
|
3654
|
+
SUCCESS: "SUCCESS";
|
|
3655
3655
|
}>;
|
|
3656
3656
|
export type PgVerificationResult = z.infer<typeof pgVerificationResultSchema>;
|
|
3657
3657
|
/**
|
|
@@ -3800,8 +3800,8 @@ export declare const paymentCredentialSetSchema: z.ZodObject<{
|
|
|
3800
3800
|
}, z.core.$strip>>;
|
|
3801
3801
|
lastVerification: z.ZodNullable<z.ZodObject<{
|
|
3802
3802
|
result: z.ZodEnum<{
|
|
3803
|
-
SUCCESS: "SUCCESS";
|
|
3804
3803
|
FAILED: "FAILED";
|
|
3804
|
+
SUCCESS: "SUCCESS";
|
|
3805
3805
|
}>;
|
|
3806
3806
|
message: z.ZodNullable<z.ZodString>;
|
|
3807
3807
|
checkedAt: z.ZodString;
|
|
@@ -3902,8 +3902,8 @@ export declare const paymentProviderSchema: z.ZodObject<{
|
|
|
3902
3902
|
}, z.core.$strip>>;
|
|
3903
3903
|
lastVerification: z.ZodNullable<z.ZodObject<{
|
|
3904
3904
|
result: z.ZodEnum<{
|
|
3905
|
-
SUCCESS: "SUCCESS";
|
|
3906
3905
|
FAILED: "FAILED";
|
|
3906
|
+
SUCCESS: "SUCCESS";
|
|
3907
3907
|
}>;
|
|
3908
3908
|
message: z.ZodNullable<z.ZodString>;
|
|
3909
3909
|
checkedAt: z.ZodString;
|
|
@@ -3939,8 +3939,8 @@ export declare const paymentProviderSchema: z.ZodObject<{
|
|
|
3939
3939
|
}, z.core.$strip>>;
|
|
3940
3940
|
lastVerification: z.ZodNullable<z.ZodObject<{
|
|
3941
3941
|
result: z.ZodEnum<{
|
|
3942
|
-
SUCCESS: "SUCCESS";
|
|
3943
3942
|
FAILED: "FAILED";
|
|
3943
|
+
SUCCESS: "SUCCESS";
|
|
3944
3944
|
}>;
|
|
3945
3945
|
message: z.ZodNullable<z.ZodString>;
|
|
3946
3946
|
checkedAt: z.ZodString;
|
|
@@ -3975,8 +3975,8 @@ export declare const paymentProviderSchema: z.ZodObject<{
|
|
|
3975
3975
|
}, z.core.$strip>>;
|
|
3976
3976
|
lastVerification: z.ZodNullable<z.ZodObject<{
|
|
3977
3977
|
result: z.ZodEnum<{
|
|
3978
|
-
SUCCESS: "SUCCESS";
|
|
3979
3978
|
FAILED: "FAILED";
|
|
3979
|
+
SUCCESS: "SUCCESS";
|
|
3980
3980
|
}>;
|
|
3981
3981
|
message: z.ZodNullable<z.ZodString>;
|
|
3982
3982
|
checkedAt: z.ZodString;
|
|
@@ -4051,8 +4051,8 @@ export declare const paymentSettingsSchema: z.ZodObject<{
|
|
|
4051
4051
|
}, z.core.$strip>>;
|
|
4052
4052
|
lastVerification: z.ZodNullable<z.ZodObject<{
|
|
4053
4053
|
result: z.ZodEnum<{
|
|
4054
|
-
SUCCESS: "SUCCESS";
|
|
4055
4054
|
FAILED: "FAILED";
|
|
4055
|
+
SUCCESS: "SUCCESS";
|
|
4056
4056
|
}>;
|
|
4057
4057
|
message: z.ZodNullable<z.ZodString>;
|
|
4058
4058
|
checkedAt: z.ZodString;
|
|
@@ -4088,8 +4088,8 @@ export declare const paymentSettingsSchema: z.ZodObject<{
|
|
|
4088
4088
|
}, z.core.$strip>>;
|
|
4089
4089
|
lastVerification: z.ZodNullable<z.ZodObject<{
|
|
4090
4090
|
result: z.ZodEnum<{
|
|
4091
|
-
SUCCESS: "SUCCESS";
|
|
4092
4091
|
FAILED: "FAILED";
|
|
4092
|
+
SUCCESS: "SUCCESS";
|
|
4093
4093
|
}>;
|
|
4094
4094
|
message: z.ZodNullable<z.ZodString>;
|
|
4095
4095
|
checkedAt: z.ZodString;
|
|
@@ -4124,8 +4124,8 @@ export declare const paymentSettingsSchema: z.ZodObject<{
|
|
|
4124
4124
|
}, z.core.$strip>>;
|
|
4125
4125
|
lastVerification: z.ZodNullable<z.ZodObject<{
|
|
4126
4126
|
result: z.ZodEnum<{
|
|
4127
|
-
SUCCESS: "SUCCESS";
|
|
4128
4127
|
FAILED: "FAILED";
|
|
4128
|
+
SUCCESS: "SUCCESS";
|
|
4129
4129
|
}>;
|
|
4130
4130
|
message: z.ZodNullable<z.ZodString>;
|
|
4131
4131
|
checkedAt: z.ZodString;
|
|
@@ -4172,8 +4172,8 @@ export declare const paymentProviderVerificationSchema: z.ZodObject<{
|
|
|
4172
4172
|
LIVE: "LIVE";
|
|
4173
4173
|
}>;
|
|
4174
4174
|
result: z.ZodEnum<{
|
|
4175
|
-
SUCCESS: "SUCCESS";
|
|
4176
4175
|
FAILED: "FAILED";
|
|
4176
|
+
SUCCESS: "SUCCESS";
|
|
4177
4177
|
}>;
|
|
4178
4178
|
message: z.ZodNullable<z.ZodString>;
|
|
4179
4179
|
checkedAt: z.ZodString;
|
|
@@ -4303,8 +4303,8 @@ export type SalesReport = z.infer<typeof salesReportSchema>;
|
|
|
4303
4303
|
* - `FAILED`: 승인되지 않고 끝났다(거절·준비 장애·구매자 취소·만료)
|
|
4304
4304
|
*/
|
|
4305
4305
|
export declare const paymentRecordStatusSchema: z.ZodEnum<{
|
|
4306
|
-
PENDING: "PENDING";
|
|
4307
4306
|
FAILED: "FAILED";
|
|
4307
|
+
PENDING: "PENDING";
|
|
4308
4308
|
APPROVED: "APPROVED";
|
|
4309
4309
|
PARTIALLY_REFUNDED: "PARTIALLY_REFUNDED";
|
|
4310
4310
|
REFUNDED: "REFUNDED";
|
|
@@ -4351,8 +4351,8 @@ export declare const paymentRecordSchema: z.ZodObject<{
|
|
|
4351
4351
|
orderName: z.ZodString;
|
|
4352
4352
|
customerName: z.ZodString;
|
|
4353
4353
|
status: z.ZodEnum<{
|
|
4354
|
-
PENDING: "PENDING";
|
|
4355
4354
|
FAILED: "FAILED";
|
|
4355
|
+
PENDING: "PENDING";
|
|
4356
4356
|
APPROVED: "APPROVED";
|
|
4357
4357
|
PARTIALLY_REFUNDED: "PARTIALLY_REFUNDED";
|
|
4358
4358
|
REFUNDED: "REFUNDED";
|
|
@@ -4397,8 +4397,8 @@ export declare const paymentRecordPageSchema: z.ZodObject<{
|
|
|
4397
4397
|
orderName: z.ZodString;
|
|
4398
4398
|
customerName: z.ZodString;
|
|
4399
4399
|
status: z.ZodEnum<{
|
|
4400
|
-
PENDING: "PENDING";
|
|
4401
4400
|
FAILED: "FAILED";
|
|
4401
|
+
PENDING: "PENDING";
|
|
4402
4402
|
APPROVED: "APPROVED";
|
|
4403
4403
|
PARTIALLY_REFUNDED: "PARTIALLY_REFUNDED";
|
|
4404
4404
|
REFUNDED: "REFUNDED";
|
|
@@ -4486,8 +4486,8 @@ export declare const paymentRecordDetailSchema: z.ZodObject<{
|
|
|
4486
4486
|
orderName: z.ZodString;
|
|
4487
4487
|
customerName: z.ZodString;
|
|
4488
4488
|
status: z.ZodEnum<{
|
|
4489
|
-
PENDING: "PENDING";
|
|
4490
4489
|
FAILED: "FAILED";
|
|
4490
|
+
PENDING: "PENDING";
|
|
4491
4491
|
APPROVED: "APPROVED";
|
|
4492
4492
|
PARTIALLY_REFUNDED: "PARTIALLY_REFUNDED";
|
|
4493
4493
|
REFUNDED: "REFUNDED";
|
|
@@ -4614,20 +4614,20 @@ export interface PaymentListParams extends PageParams {
|
|
|
4614
4614
|
//#endregion
|
|
4615
4615
|
//#region src/schemas/product.d.ts
|
|
4616
4616
|
export declare const productStatusSchema: z.ZodEnum<{
|
|
4617
|
-
SALE: "SALE";
|
|
4618
4617
|
SUSPENDED: "SUSPENDED";
|
|
4619
|
-
OUT_OF_STOCK: "OUT_OF_STOCK";
|
|
4620
4618
|
CLOSED: "CLOSED";
|
|
4619
|
+
SALE: "SALE";
|
|
4620
|
+
OUT_OF_STOCK: "OUT_OF_STOCK";
|
|
4621
4621
|
}>;
|
|
4622
4622
|
export type ProductStatus = z.infer<typeof productStatusSchema>;
|
|
4623
4623
|
export declare const productSummarySchema: z.ZodObject<{
|
|
4624
4624
|
productId: z.ZodString;
|
|
4625
4625
|
name: z.ZodString;
|
|
4626
4626
|
status: z.ZodEnum<{
|
|
4627
|
-
SALE: "SALE";
|
|
4628
4627
|
SUSPENDED: "SUSPENDED";
|
|
4629
|
-
OUT_OF_STOCK: "OUT_OF_STOCK";
|
|
4630
4628
|
CLOSED: "CLOSED";
|
|
4629
|
+
SALE: "SALE";
|
|
4630
|
+
OUT_OF_STOCK: "OUT_OF_STOCK";
|
|
4631
4631
|
}>;
|
|
4632
4632
|
salePrice: z.ZodNumber;
|
|
4633
4633
|
discountedPrice: z.ZodNullable<z.ZodNumber>;
|
|
@@ -4811,10 +4811,10 @@ export declare const productSchema: z.ZodObject<{
|
|
|
4811
4811
|
productId: z.ZodString;
|
|
4812
4812
|
name: z.ZodString;
|
|
4813
4813
|
status: z.ZodEnum<{
|
|
4814
|
-
SALE: "SALE";
|
|
4815
4814
|
SUSPENDED: "SUSPENDED";
|
|
4816
|
-
OUT_OF_STOCK: "OUT_OF_STOCK";
|
|
4817
4815
|
CLOSED: "CLOSED";
|
|
4816
|
+
SALE: "SALE";
|
|
4817
|
+
OUT_OF_STOCK: "OUT_OF_STOCK";
|
|
4818
4818
|
}>;
|
|
4819
4819
|
salePrice: z.ZodNumber;
|
|
4820
4820
|
discountedPrice: z.ZodNullable<z.ZodNumber>;
|
|
@@ -4888,8 +4888,8 @@ export declare const productSchema: z.ZodObject<{
|
|
|
4888
4888
|
type: z.ZodLiteral<"SHIPPING">;
|
|
4889
4889
|
shipping: z.ZodObject<{
|
|
4890
4890
|
deliveryType: z.ZodEnum<{
|
|
4891
|
-
FREE: "FREE";
|
|
4892
4891
|
PAID: "PAID";
|
|
4892
|
+
FREE: "FREE";
|
|
4893
4893
|
CONDITIONAL_FREE: "CONDITIONAL_FREE";
|
|
4894
4894
|
}>;
|
|
4895
4895
|
deliveryFee: z.ZodNumber;
|
|
@@ -5111,8 +5111,8 @@ export declare const productCreateRequestSchema: z.ZodObject<{
|
|
|
5111
5111
|
type: z.ZodLiteral<"SHIPPING">;
|
|
5112
5112
|
shipping: z.ZodOptional<z.ZodObject<{
|
|
5113
5113
|
deliveryType: z.ZodDefault<z.ZodEnum<{
|
|
5114
|
-
FREE: "FREE";
|
|
5115
5114
|
PAID: "PAID";
|
|
5115
|
+
FREE: "FREE";
|
|
5116
5116
|
CONDITIONAL_FREE: "CONDITIONAL_FREE";
|
|
5117
5117
|
}>>;
|
|
5118
5118
|
deliveryFee: z.ZodOptional<z.ZodNumber>;
|
|
@@ -5196,8 +5196,8 @@ export declare const productReplaceRequestSchema: z.ZodObject<{
|
|
|
5196
5196
|
type: z.ZodLiteral<"SHIPPING">;
|
|
5197
5197
|
shipping: z.ZodObject<{
|
|
5198
5198
|
deliveryType: z.ZodEnum<{
|
|
5199
|
-
FREE: "FREE";
|
|
5200
5199
|
PAID: "PAID";
|
|
5200
|
+
FREE: "FREE";
|
|
5201
5201
|
CONDITIONAL_FREE: "CONDITIONAL_FREE";
|
|
5202
5202
|
}>;
|
|
5203
5203
|
deliveryFee: z.ZodNumber;
|
|
@@ -5279,17 +5279,18 @@ export declare const productPatchRequestSchema: z.ZodObject<{
|
|
|
5279
5279
|
name: z.ZodOptional<z.ZodString>;
|
|
5280
5280
|
salePrice: z.ZodOptional<z.ZodNumber>;
|
|
5281
5281
|
status: z.ZodOptional<z.ZodEnum<{
|
|
5282
|
-
SALE: "SALE";
|
|
5283
5282
|
SUSPENDED: "SUSPENDED";
|
|
5284
|
-
OUT_OF_STOCK: "OUT_OF_STOCK";
|
|
5285
5283
|
CLOSED: "CLOSED";
|
|
5284
|
+
SALE: "SALE";
|
|
5285
|
+
OUT_OF_STOCK: "OUT_OF_STOCK";
|
|
5286
5286
|
}>>;
|
|
5287
|
+
images: z.ZodOptional<z.ZodArray<z.ZodURL>>;
|
|
5287
5288
|
fulfillment: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
5288
5289
|
type: z.ZodLiteral<"SHIPPING">;
|
|
5289
5290
|
shipping: z.ZodObject<{
|
|
5290
5291
|
deliveryType: z.ZodEnum<{
|
|
5291
|
-
FREE: "FREE";
|
|
5292
5292
|
PAID: "PAID";
|
|
5293
|
+
FREE: "FREE";
|
|
5293
5294
|
CONDITIONAL_FREE: "CONDITIONAL_FREE";
|
|
5294
5295
|
}>;
|
|
5295
5296
|
deliveryFee: z.ZodNumber;
|
|
@@ -5329,10 +5330,10 @@ export declare const productListQuerySchema: z.ZodObject<{
|
|
|
5329
5330
|
page: z.ZodOptional<z.ZodString>;
|
|
5330
5331
|
size: z.ZodOptional<z.ZodString>;
|
|
5331
5332
|
status: z.ZodOptional<z.ZodEnum<{
|
|
5332
|
-
SALE: "SALE";
|
|
5333
5333
|
SUSPENDED: "SUSPENDED";
|
|
5334
|
-
OUT_OF_STOCK: "OUT_OF_STOCK";
|
|
5335
5334
|
CLOSED: "CLOSED";
|
|
5335
|
+
SALE: "SALE";
|
|
5336
|
+
OUT_OF_STOCK: "OUT_OF_STOCK";
|
|
5336
5337
|
}>>;
|
|
5337
5338
|
categoryId: z.ZodOptional<z.ZodString>;
|
|
5338
5339
|
keyword: z.ZodOptional<z.ZodString>;
|
|
@@ -5591,12 +5592,47 @@ export declare const policyVersionSchema: z.ZodString;
|
|
|
5591
5592
|
* 나중에 주소를 바꿔도 "무엇에 동의했는지"가 남는다. `null`로 지울 수 있다.
|
|
5592
5593
|
*/
|
|
5593
5594
|
export declare const policyDocumentUrlSchema: z.ZodNullable<z.ZodURL>;
|
|
5595
|
+
/**
|
|
5596
|
+
* 사업자등록번호 — 숫자 10자리. 하이픈(`123-45-67890`)과 공백은 받고 서버가 숫자만 남겨 저장한다.
|
|
5597
|
+
* 국세청 검증번호(체크섬)는 보지 않는다.
|
|
5598
|
+
*/
|
|
5599
|
+
export declare const BUSINESS_NUMBER_PATTERN: RegExp;
|
|
5600
|
+
/** 사업자등록번호에서 숫자만 남긴다 — 저장·비교는 이 값으로 한다 */
|
|
5601
|
+
export declare function normalizeBusinessNumber(value: string): string;
|
|
5602
|
+
export declare const businessNumberSchema: z.ZodNullable<z.ZodString>;
|
|
5603
|
+
/** 사업자 정보 필드의 길이 상한 — 상점 플랫폼 입력 칸과 같다 */
|
|
5604
|
+
export declare const BUSINESS_INFO_MAX_LENGTH: {
|
|
5605
|
+
readonly businessName: 100;
|
|
5606
|
+
readonly representativeName: 50;
|
|
5607
|
+
readonly mailOrderSalesNumber: 50;
|
|
5608
|
+
readonly businessAddress: 200;
|
|
5609
|
+
readonly privacyOfficerName: 50;
|
|
5610
|
+
};
|
|
5611
|
+
/**
|
|
5612
|
+
* `PATCH /v1/store`의 사업자 정보 필드(이슈 #81) — 전자상거래법 표기(스토어프론트 푸터)용이다.
|
|
5613
|
+
* 바꿀 필드만 보내고 `null`을 주면 지운다. 스토어프론트 `GET /store`가 같은 값을 싣는다.
|
|
5614
|
+
*/
|
|
5615
|
+
export declare const businessInfoPatchShape: {
|
|
5616
|
+
businessName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
5617
|
+
representativeName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
5618
|
+
businessNumber: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
5619
|
+
mailOrderSalesNumber: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
5620
|
+
businessAddress: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
5621
|
+
customerCenterEmail: z.ZodOptional<z.ZodNullable<z.ZodEmail>>;
|
|
5622
|
+
privacyOfficerName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
5623
|
+
privacyOfficerEmail: z.ZodOptional<z.ZodNullable<z.ZodEmail>>;
|
|
5624
|
+
};
|
|
5625
|
+
export declare const businessInfoResponseShape: {
|
|
5626
|
+
businessName: z.ZodDefault<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
5627
|
+
representativeName: z.ZodDefault<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
5628
|
+
mailOrderSalesNumber: z.ZodDefault<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
5629
|
+
businessAddress: z.ZodDefault<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
5630
|
+
customerCenterEmail: z.ZodDefault<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
5631
|
+
privacyOfficerName: z.ZodDefault<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
5632
|
+
privacyOfficerEmail: z.ZodDefault<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
5633
|
+
};
|
|
5594
5634
|
/** `PATCH /v1/store` 본문 — 바꿀 필드만 보낸다 */
|
|
5595
5635
|
export declare const updateStoreRequestSchema: z.ZodObject<{
|
|
5596
|
-
name: z.ZodOptional<z.ZodString>;
|
|
5597
|
-
logoUrl: z.ZodOptional<z.ZodURL>;
|
|
5598
|
-
customerCenterPhone: z.ZodOptional<z.ZodString>;
|
|
5599
|
-
businessHours: z.ZodOptional<z.ZodString>;
|
|
5600
5636
|
analyticsAllowedOrigins: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
5601
5637
|
storefrontOrigins: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
5602
5638
|
guestCheckoutEnabled: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -5620,21 +5656,21 @@ export declare const updateStoreRequestSchema: z.ZodObject<{
|
|
|
5620
5656
|
privacyVersion: z.ZodOptional<z.ZodString>;
|
|
5621
5657
|
termsUrl: z.ZodOptional<z.ZodNullable<z.ZodURL>>;
|
|
5622
5658
|
privacyUrl: z.ZodOptional<z.ZodNullable<z.ZodURL>>;
|
|
5659
|
+
businessName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
5660
|
+
representativeName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
5661
|
+
businessNumber: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
5662
|
+
mailOrderSalesNumber: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
5663
|
+
businessAddress: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
5664
|
+
customerCenterEmail: z.ZodOptional<z.ZodNullable<z.ZodEmail>>;
|
|
5665
|
+
privacyOfficerName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
5666
|
+
privacyOfficerEmail: z.ZodOptional<z.ZodNullable<z.ZodEmail>>;
|
|
5667
|
+
name: z.ZodOptional<z.ZodString>;
|
|
5668
|
+
logoUrl: z.ZodOptional<z.ZodURL>;
|
|
5669
|
+
customerCenterPhone: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
5670
|
+
businessHours: z.ZodOptional<z.ZodString>;
|
|
5623
5671
|
}, z.core.$strip>;
|
|
5624
5672
|
export type UpdateStoreRequest = z.infer<typeof updateStoreRequestSchema>;
|
|
5625
5673
|
export declare const storeSchema: z.ZodObject<{
|
|
5626
|
-
storeId: z.ZodString;
|
|
5627
|
-
name: z.ZodString;
|
|
5628
|
-
storeCode: z.ZodString;
|
|
5629
|
-
storefrontUrl: z.ZodURL;
|
|
5630
|
-
status: z.ZodEnum<{
|
|
5631
|
-
SUSPENDED: "SUSPENDED";
|
|
5632
|
-
CLOSED: "CLOSED";
|
|
5633
|
-
ACTIVE: "ACTIVE";
|
|
5634
|
-
}>;
|
|
5635
|
-
logoUrl: z.ZodNullable<z.ZodURL>;
|
|
5636
|
-
businessNumber: z.ZodNullable<z.ZodString>;
|
|
5637
|
-
customerCenterPhone: z.ZodNullable<z.ZodString>;
|
|
5638
5674
|
analyticsAllowedOrigins: z.ZodArray<z.ZodString>;
|
|
5639
5675
|
storefrontOrigins: z.ZodArray<z.ZodString>;
|
|
5640
5676
|
guestCheckoutEnabled: z.ZodBoolean;
|
|
@@ -5662,6 +5698,25 @@ export declare const storeSchema: z.ZodObject<{
|
|
|
5662
5698
|
privacyUrl: z.ZodNullable<z.ZodString>;
|
|
5663
5699
|
memberCount: z.ZodNumber;
|
|
5664
5700
|
createdAt: z.ZodString;
|
|
5701
|
+
businessName: z.ZodDefault<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
5702
|
+
representativeName: z.ZodDefault<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
5703
|
+
mailOrderSalesNumber: z.ZodDefault<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
5704
|
+
businessAddress: z.ZodDefault<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
5705
|
+
customerCenterEmail: z.ZodDefault<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
5706
|
+
privacyOfficerName: z.ZodDefault<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
5707
|
+
privacyOfficerEmail: z.ZodDefault<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
5708
|
+
storeId: z.ZodString;
|
|
5709
|
+
name: z.ZodString;
|
|
5710
|
+
storeCode: z.ZodString;
|
|
5711
|
+
storefrontUrl: z.ZodURL;
|
|
5712
|
+
status: z.ZodEnum<{
|
|
5713
|
+
ACTIVE: "ACTIVE";
|
|
5714
|
+
SUSPENDED: "SUSPENDED";
|
|
5715
|
+
CLOSED: "CLOSED";
|
|
5716
|
+
}>;
|
|
5717
|
+
logoUrl: z.ZodNullable<z.ZodURL>;
|
|
5718
|
+
businessNumber: z.ZodNullable<z.ZodString>;
|
|
5719
|
+
customerCenterPhone: z.ZodNullable<z.ZodString>;
|
|
5665
5720
|
}, z.core.$strip>;
|
|
5666
5721
|
export type Store = z.infer<typeof storeSchema>;
|
|
5667
5722
|
export declare const storeMemberSchema: z.ZodObject<{
|
|
@@ -5669,9 +5724,9 @@ export declare const storeMemberSchema: z.ZodObject<{
|
|
|
5669
5724
|
name: z.ZodString;
|
|
5670
5725
|
email: z.ZodEmail;
|
|
5671
5726
|
role: z.ZodEnum<{
|
|
5727
|
+
OWNER: "OWNER";
|
|
5672
5728
|
ADMIN: "ADMIN";
|
|
5673
5729
|
STAFF: "STAFF";
|
|
5674
|
-
OWNER: "OWNER";
|
|
5675
5730
|
}>;
|
|
5676
5731
|
joinedAt: z.ZodString;
|
|
5677
5732
|
lastActiveAt: z.ZodNullable<z.ZodString>;
|
|
@@ -5696,10 +5751,10 @@ export declare const invitationSchema: z.ZodObject<{
|
|
|
5696
5751
|
STAFF: "STAFF";
|
|
5697
5752
|
}>;
|
|
5698
5753
|
status: z.ZodEnum<{
|
|
5754
|
+
CANCELED: "CANCELED";
|
|
5699
5755
|
PENDING: "PENDING";
|
|
5700
5756
|
EXPIRED: "EXPIRED";
|
|
5701
5757
|
ACCEPTED: "ACCEPTED";
|
|
5702
|
-
CANCELED: "CANCELED";
|
|
5703
5758
|
}>;
|
|
5704
5759
|
invitedBy: z.ZodString;
|
|
5705
5760
|
expiresAt: z.ZodString;
|
|
@@ -5736,10 +5791,10 @@ export type UpdateMemberRoleRequest = z.infer<typeof updateMemberRoleRequestSche
|
|
|
5736
5791
|
/** `GET /v1/store/invitations` 쿼리 — OpenAPI 문서용 형태 */
|
|
5737
5792
|
export declare const invitationListQuerySchema: z.ZodObject<{
|
|
5738
5793
|
status: z.ZodOptional<z.ZodEnum<{
|
|
5794
|
+
CANCELED: "CANCELED";
|
|
5739
5795
|
PENDING: "PENDING";
|
|
5740
5796
|
EXPIRED: "EXPIRED";
|
|
5741
5797
|
ACCEPTED: "ACCEPTED";
|
|
5742
|
-
CANCELED: "CANCELED";
|
|
5743
5798
|
}>>;
|
|
5744
5799
|
}, z.core.$strip>;
|
|
5745
5800
|
/** `PATCH /v1/store/members/{userId}` 응답 — 바뀐 역할 */
|
|
@@ -5935,9 +5990,9 @@ export declare const storefrontVersionSchema: z.ZodObject<{
|
|
|
5935
5990
|
}, z.core.$strip>;
|
|
5936
5991
|
export type StorefrontVersion = z.infer<typeof storefrontVersionSchema>;
|
|
5937
5992
|
export declare const storefrontSiteStatusSchema: z.ZodEnum<{
|
|
5993
|
+
ACTIVE: "ACTIVE";
|
|
5938
5994
|
SUSPENDED: "SUSPENDED";
|
|
5939
5995
|
CLOSED: "CLOSED";
|
|
5940
|
-
ACTIVE: "ACTIVE";
|
|
5941
5996
|
}>;
|
|
5942
5997
|
export type StorefrontSiteStatus = z.infer<typeof storefrontSiteStatusSchema>;
|
|
5943
5998
|
export declare const storefrontVisibilitySchema: z.ZodEnum<{
|
|
@@ -5969,8 +6024,8 @@ export type StorefrontDomain = z.infer<typeof storefrontDomainSchema>;
|
|
|
5969
6024
|
*/
|
|
5970
6025
|
export declare const storefrontProvisioningSchema: z.ZodObject<{
|
|
5971
6026
|
status: z.ZodEnum<{
|
|
5972
|
-
PENDING: "PENDING";
|
|
5973
6027
|
FAILED: "FAILED";
|
|
6028
|
+
PENDING: "PENDING";
|
|
5974
6029
|
SYNCED: "SYNCED";
|
|
5975
6030
|
}>;
|
|
5976
6031
|
lastErrorCode: z.ZodNullable<z.ZodString>;
|
|
@@ -6018,9 +6073,9 @@ export declare const storefrontSiteSchema: z.ZodObject<{
|
|
|
6018
6073
|
MANAGED: "MANAGED";
|
|
6019
6074
|
}>;
|
|
6020
6075
|
status: z.ZodEnum<{
|
|
6076
|
+
ACTIVE: "ACTIVE";
|
|
6021
6077
|
SUSPENDED: "SUSPENDED";
|
|
6022
6078
|
CLOSED: "CLOSED";
|
|
6023
|
-
ACTIVE: "ACTIVE";
|
|
6024
6079
|
}>;
|
|
6025
6080
|
visibility: z.ZodEnum<{
|
|
6026
6081
|
COMING_SOON: "COMING_SOON";
|
|
@@ -6050,8 +6105,8 @@ export declare const storefrontSiteSchema: z.ZodObject<{
|
|
|
6050
6105
|
}, z.core.$strip>>;
|
|
6051
6106
|
provisioning: z.ZodObject<{
|
|
6052
6107
|
status: z.ZodEnum<{
|
|
6053
|
-
PENDING: "PENDING";
|
|
6054
6108
|
FAILED: "FAILED";
|
|
6109
|
+
PENDING: "PENDING";
|
|
6055
6110
|
SYNCED: "SYNCED";
|
|
6056
6111
|
}>;
|
|
6057
6112
|
lastErrorCode: z.ZodNullable<z.ZodString>;
|
|
@@ -6098,9 +6153,9 @@ export declare const storefrontHostingSchema: z.ZodObject<{
|
|
|
6098
6153
|
MANAGED: "MANAGED";
|
|
6099
6154
|
}>;
|
|
6100
6155
|
status: z.ZodEnum<{
|
|
6156
|
+
ACTIVE: "ACTIVE";
|
|
6101
6157
|
SUSPENDED: "SUSPENDED";
|
|
6102
6158
|
CLOSED: "CLOSED";
|
|
6103
|
-
ACTIVE: "ACTIVE";
|
|
6104
6159
|
}>;
|
|
6105
6160
|
visibility: z.ZodEnum<{
|
|
6106
6161
|
COMING_SOON: "COMING_SOON";
|
|
@@ -6130,8 +6185,8 @@ export declare const storefrontHostingSchema: z.ZodObject<{
|
|
|
6130
6185
|
}, z.core.$strip>>;
|
|
6131
6186
|
provisioning: z.ZodObject<{
|
|
6132
6187
|
status: z.ZodEnum<{
|
|
6133
|
-
PENDING: "PENDING";
|
|
6134
6188
|
FAILED: "FAILED";
|
|
6189
|
+
PENDING: "PENDING";
|
|
6135
6190
|
SYNCED: "SYNCED";
|
|
6136
6191
|
}>;
|
|
6137
6192
|
lastErrorCode: z.ZodNullable<z.ZodString>;
|
|
@@ -6173,8 +6228,8 @@ export declare const storefrontDeploymentStepSchema: z.ZodObject<{
|
|
|
6173
6228
|
PUBLISH: "PUBLISH";
|
|
6174
6229
|
}>;
|
|
6175
6230
|
status: z.ZodEnum<{
|
|
6176
|
-
PENDING: "PENDING";
|
|
6177
6231
|
FAILED: "FAILED";
|
|
6232
|
+
PENDING: "PENDING";
|
|
6178
6233
|
RUNNING: "RUNNING";
|
|
6179
6234
|
DONE: "DONE";
|
|
6180
6235
|
}>;
|
|
@@ -6195,8 +6250,8 @@ export type StorefrontDeploymentLog = z.infer<typeof storefrontDeploymentLogSche
|
|
|
6195
6250
|
export declare const storefrontDeploymentSchema: z.ZodObject<{
|
|
6196
6251
|
siteId: z.ZodString;
|
|
6197
6252
|
status: z.ZodEnum<{
|
|
6198
|
-
FAILED: "FAILED";
|
|
6199
6253
|
SUCCEEDED: "SUCCEEDED";
|
|
6254
|
+
FAILED: "FAILED";
|
|
6200
6255
|
IN_PROGRESS: "IN_PROGRESS";
|
|
6201
6256
|
}>;
|
|
6202
6257
|
url: z.ZodString;
|
|
@@ -6209,8 +6264,8 @@ export declare const storefrontDeploymentSchema: z.ZodObject<{
|
|
|
6209
6264
|
PUBLISH: "PUBLISH";
|
|
6210
6265
|
}>;
|
|
6211
6266
|
status: z.ZodEnum<{
|
|
6212
|
-
PENDING: "PENDING";
|
|
6213
6267
|
FAILED: "FAILED";
|
|
6268
|
+
PENDING: "PENDING";
|
|
6214
6269
|
RUNNING: "RUNNING";
|
|
6215
6270
|
DONE: "DONE";
|
|
6216
6271
|
}>;
|
|
@@ -6330,8 +6385,8 @@ export declare function storefrontCustomHostnameProblem(hostname: string, hostin
|
|
|
6330
6385
|
/** 소유 확인 TXT 레코드의 전체 이름 */
|
|
6331
6386
|
export declare function storefrontDomainTxtNameOf(hostname: string): string;
|
|
6332
6387
|
export declare const storefrontCustomDomainStatusSchema: z.ZodEnum<{
|
|
6333
|
-
ACTIVE: "ACTIVE";
|
|
6334
6388
|
FAILED: "FAILED";
|
|
6389
|
+
ACTIVE: "ACTIVE";
|
|
6335
6390
|
PENDING_DNS: "PENDING_DNS";
|
|
6336
6391
|
PENDING_VALIDATION: "PENDING_VALIDATION";
|
|
6337
6392
|
}>;
|
|
@@ -6357,8 +6412,8 @@ export declare const storefrontSiteDomainSchema: z.ZodObject<{
|
|
|
6357
6412
|
CUSTOM: "CUSTOM";
|
|
6358
6413
|
}>;
|
|
6359
6414
|
status: z.ZodEnum<{
|
|
6360
|
-
ACTIVE: "ACTIVE";
|
|
6361
6415
|
FAILED: "FAILED";
|
|
6416
|
+
ACTIVE: "ACTIVE";
|
|
6362
6417
|
PENDING_DNS: "PENDING_DNS";
|
|
6363
6418
|
PENDING_VALIDATION: "PENDING_VALIDATION";
|
|
6364
6419
|
}>;
|
|
@@ -6376,9 +6431,9 @@ export declare const storefrontSiteDomainSchema: z.ZodObject<{
|
|
|
6376
6431
|
}>;
|
|
6377
6432
|
}, z.core.$strip>>;
|
|
6378
6433
|
certificateStatus: z.ZodNullable<z.ZodEnum<{
|
|
6379
|
-
ACTIVE: "ACTIVE";
|
|
6380
|
-
PENDING: "PENDING";
|
|
6381
6434
|
FAILED: "FAILED";
|
|
6435
|
+
PENDING: "PENDING";
|
|
6436
|
+
ACTIVE: "ACTIVE";
|
|
6382
6437
|
}>>;
|
|
6383
6438
|
failureCode: z.ZodNullable<z.ZodString>;
|
|
6384
6439
|
verifiedAt: z.ZodNullable<z.ZodString>;
|
|
@@ -6400,8 +6455,8 @@ export declare const storefrontSiteDomainsSchema: z.ZodObject<{
|
|
|
6400
6455
|
CUSTOM: "CUSTOM";
|
|
6401
6456
|
}>;
|
|
6402
6457
|
status: z.ZodEnum<{
|
|
6403
|
-
ACTIVE: "ACTIVE";
|
|
6404
6458
|
FAILED: "FAILED";
|
|
6459
|
+
ACTIVE: "ACTIVE";
|
|
6405
6460
|
PENDING_DNS: "PENDING_DNS";
|
|
6406
6461
|
PENDING_VALIDATION: "PENDING_VALIDATION";
|
|
6407
6462
|
}>;
|
|
@@ -6419,9 +6474,9 @@ export declare const storefrontSiteDomainsSchema: z.ZodObject<{
|
|
|
6419
6474
|
}>;
|
|
6420
6475
|
}, z.core.$strip>>;
|
|
6421
6476
|
certificateStatus: z.ZodNullable<z.ZodEnum<{
|
|
6422
|
-
ACTIVE: "ACTIVE";
|
|
6423
|
-
PENDING: "PENDING";
|
|
6424
6477
|
FAILED: "FAILED";
|
|
6478
|
+
PENDING: "PENDING";
|
|
6479
|
+
ACTIVE: "ACTIVE";
|
|
6425
6480
|
}>>;
|
|
6426
6481
|
failureCode: z.ZodNullable<z.ZodString>;
|
|
6427
6482
|
verifiedAt: z.ZodNullable<z.ZodString>;
|
|
@@ -6754,8 +6809,8 @@ export declare const storefrontVerifyReportSchema: z.ZodObject<{
|
|
|
6754
6809
|
}, z.core.$strip>;
|
|
6755
6810
|
export type StorefrontVerifyReport = z.infer<typeof storefrontVerifyReportSchema>;
|
|
6756
6811
|
export declare const storefrontBuildStatusSchema: z.ZodEnum<{
|
|
6757
|
-
FAILED: "FAILED";
|
|
6758
6812
|
SUCCEEDED: "SUCCEEDED";
|
|
6813
|
+
FAILED: "FAILED";
|
|
6759
6814
|
RUNNING: "RUNNING";
|
|
6760
6815
|
QUEUED: "QUEUED";
|
|
6761
6816
|
TIMED_OUT: "TIMED_OUT";
|
|
@@ -6822,8 +6877,8 @@ export declare const storefrontBuildSchema: z.ZodObject<{
|
|
|
6822
6877
|
versionId: z.ZodString;
|
|
6823
6878
|
versionNumber: z.ZodNumber;
|
|
6824
6879
|
status: z.ZodEnum<{
|
|
6825
|
-
FAILED: "FAILED";
|
|
6826
6880
|
SUCCEEDED: "SUCCEEDED";
|
|
6881
|
+
FAILED: "FAILED";
|
|
6827
6882
|
RUNNING: "RUNNING";
|
|
6828
6883
|
QUEUED: "QUEUED";
|
|
6829
6884
|
TIMED_OUT: "TIMED_OUT";
|
|
@@ -6951,8 +7006,8 @@ export declare const storefrontVersionCreatedSchema: z.ZodObject<{
|
|
|
6951
7006
|
versionId: z.ZodString;
|
|
6952
7007
|
versionNumber: z.ZodNumber;
|
|
6953
7008
|
status: z.ZodEnum<{
|
|
6954
|
-
FAILED: "FAILED";
|
|
6955
7009
|
SUCCEEDED: "SUCCEEDED";
|
|
7010
|
+
FAILED: "FAILED";
|
|
6956
7011
|
RUNNING: "RUNNING";
|
|
6957
7012
|
QUEUED: "QUEUED";
|
|
6958
7013
|
TIMED_OUT: "TIMED_OUT";
|
|
@@ -7204,9 +7259,9 @@ export type UploadTicket = z.infer<typeof uploadTicketSchema>;
|
|
|
7204
7259
|
//#endregion
|
|
7205
7260
|
//#region src/schemas/auth.d.ts
|
|
7206
7261
|
export declare const storeRoleSchema: z.ZodEnum<{
|
|
7262
|
+
OWNER: "OWNER";
|
|
7207
7263
|
ADMIN: "ADMIN";
|
|
7208
7264
|
STAFF: "STAFF";
|
|
7209
|
-
OWNER: "OWNER";
|
|
7210
7265
|
}>;
|
|
7211
7266
|
export type StoreRole = z.infer<typeof storeRoleSchema>;
|
|
7212
7267
|
export declare const myStoreSchema: z.ZodObject<{
|
|
@@ -7214,14 +7269,14 @@ export declare const myStoreSchema: z.ZodObject<{
|
|
|
7214
7269
|
storeName: z.ZodString;
|
|
7215
7270
|
storeCode: z.ZodString;
|
|
7216
7271
|
role: z.ZodEnum<{
|
|
7272
|
+
OWNER: "OWNER";
|
|
7217
7273
|
ADMIN: "ADMIN";
|
|
7218
7274
|
STAFF: "STAFF";
|
|
7219
|
-
OWNER: "OWNER";
|
|
7220
7275
|
}>;
|
|
7221
7276
|
status: z.ZodEnum<{
|
|
7277
|
+
ACTIVE: "ACTIVE";
|
|
7222
7278
|
SUSPENDED: "SUSPENDED";
|
|
7223
7279
|
CLOSED: "CLOSED";
|
|
7224
|
-
ACTIVE: "ACTIVE";
|
|
7225
7280
|
}>;
|
|
7226
7281
|
}, z.core.$strip>;
|
|
7227
7282
|
export type MyStore = z.infer<typeof myStoreSchema>;
|
|
@@ -7376,8 +7431,8 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
7376
7431
|
storeId: string;
|
|
7377
7432
|
storeName: string;
|
|
7378
7433
|
storeCode: string;
|
|
7379
|
-
role: "
|
|
7380
|
-
status: "
|
|
7434
|
+
role: "OWNER" | "ADMIN" | "STAFF";
|
|
7435
|
+
status: "ACTIVE" | "SUSPENDED" | "CLOSED";
|
|
7381
7436
|
}[]>;
|
|
7382
7437
|
me: () => Promise<{
|
|
7383
7438
|
userId: string;
|
|
@@ -7416,7 +7471,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
7416
7471
|
contents: {
|
|
7417
7472
|
productId: string;
|
|
7418
7473
|
name: string;
|
|
7419
|
-
status: "
|
|
7474
|
+
status: "SUSPENDED" | "CLOSED" | "SALE" | "OUT_OF_STOCK";
|
|
7420
7475
|
salePrice: number;
|
|
7421
7476
|
discountedPrice: number | null;
|
|
7422
7477
|
stockQuantity: number;
|
|
@@ -7433,7 +7488,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
7433
7488
|
get: (productId: string) => Promise<{
|
|
7434
7489
|
productId: string;
|
|
7435
7490
|
name: string;
|
|
7436
|
-
status: "
|
|
7491
|
+
status: "SUSPENDED" | "CLOSED" | "SALE" | "OUT_OF_STOCK";
|
|
7437
7492
|
salePrice: number;
|
|
7438
7493
|
discountedPrice: number | null;
|
|
7439
7494
|
stockQuantity: number;
|
|
@@ -7491,7 +7546,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
7491
7546
|
fulfillment: UnknownFulfillment | {
|
|
7492
7547
|
type: "SHIPPING";
|
|
7493
7548
|
shipping: {
|
|
7494
|
-
deliveryType: "
|
|
7549
|
+
deliveryType: "PAID" | "FREE" | "CONDITIONAL_FREE";
|
|
7495
7550
|
deliveryFee: number;
|
|
7496
7551
|
conditionalFreeAmount: number | null;
|
|
7497
7552
|
shippingAddressId: string | null;
|
|
@@ -7530,7 +7585,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
7530
7585
|
create: (body: ProductCreateRequestInput, idempotencyKey?: string) => Promise<{
|
|
7531
7586
|
productId: string;
|
|
7532
7587
|
name: string;
|
|
7533
|
-
status: "
|
|
7588
|
+
status: "SUSPENDED" | "CLOSED" | "SALE" | "OUT_OF_STOCK";
|
|
7534
7589
|
salePrice: number;
|
|
7535
7590
|
discountedPrice: number | null;
|
|
7536
7591
|
stockQuantity: number;
|
|
@@ -7588,7 +7643,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
7588
7643
|
fulfillment: UnknownFulfillment | {
|
|
7589
7644
|
type: "SHIPPING";
|
|
7590
7645
|
shipping: {
|
|
7591
|
-
deliveryType: "
|
|
7646
|
+
deliveryType: "PAID" | "FREE" | "CONDITIONAL_FREE";
|
|
7592
7647
|
deliveryFee: number;
|
|
7593
7648
|
conditionalFreeAmount: number | null;
|
|
7594
7649
|
shippingAddressId: string | null;
|
|
@@ -7627,7 +7682,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
7627
7682
|
update: (productId: string, body: ProductReplaceRequestInput) => Promise<{
|
|
7628
7683
|
productId: string;
|
|
7629
7684
|
name: string;
|
|
7630
|
-
status: "
|
|
7685
|
+
status: "SUSPENDED" | "CLOSED" | "SALE" | "OUT_OF_STOCK";
|
|
7631
7686
|
salePrice: number;
|
|
7632
7687
|
discountedPrice: number | null;
|
|
7633
7688
|
stockQuantity: number;
|
|
@@ -7685,7 +7740,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
7685
7740
|
fulfillment: UnknownFulfillment | {
|
|
7686
7741
|
type: "SHIPPING";
|
|
7687
7742
|
shipping: {
|
|
7688
|
-
deliveryType: "
|
|
7743
|
+
deliveryType: "PAID" | "FREE" | "CONDITIONAL_FREE";
|
|
7689
7744
|
deliveryFee: number;
|
|
7690
7745
|
conditionalFreeAmount: number | null;
|
|
7691
7746
|
shippingAddressId: string | null;
|
|
@@ -8161,7 +8216,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
8161
8216
|
ordererName: string;
|
|
8162
8217
|
itemCount: number;
|
|
8163
8218
|
totalAmount: number;
|
|
8164
|
-
representativeStatus: "
|
|
8219
|
+
representativeStatus: "PAYMENT_WAITING" | "PAID" | "CONFIRMED" | "DISPATCHED" | "DELIVERING" | "DELIVERED" | "PURCHASE_DECIDED" | "CANCELED";
|
|
8165
8220
|
orderedAt: string;
|
|
8166
8221
|
testPayment: boolean;
|
|
8167
8222
|
}[];
|
|
@@ -8226,7 +8281,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
8226
8281
|
items: {
|
|
8227
8282
|
orderItemId: string;
|
|
8228
8283
|
orderId: string;
|
|
8229
|
-
status: "
|
|
8284
|
+
status: "PAYMENT_WAITING" | "PAID" | "CONFIRMED" | "DISPATCHED" | "DELIVERING" | "DELIVERED" | "PURCHASE_DECIDED" | "CANCELED";
|
|
8230
8285
|
claimStatus: "CANCEL_REQUESTED" | "RETURN_REQUESTED" | "EXCHANGE_REQUESTED" | null;
|
|
8231
8286
|
productId: string;
|
|
8232
8287
|
productName: string;
|
|
@@ -8311,7 +8366,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
8311
8366
|
contents: {
|
|
8312
8367
|
orderItemId: string;
|
|
8313
8368
|
orderId: string;
|
|
8314
|
-
status: "
|
|
8369
|
+
status: "PAYMENT_WAITING" | "PAID" | "CONFIRMED" | "DISPATCHED" | "DELIVERING" | "DELIVERED" | "PURCHASE_DECIDED" | "CANCELED";
|
|
8315
8370
|
claimStatus: "CANCEL_REQUESTED" | "RETURN_REQUESTED" | "EXCHANGE_REQUESTED" | null;
|
|
8316
8371
|
productId: string;
|
|
8317
8372
|
productName: string;
|
|
@@ -8424,7 +8479,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
8424
8479
|
markDelivered: (orderItemId: string, idempotencyKey?: string) => Promise<{
|
|
8425
8480
|
orderItemId: string;
|
|
8426
8481
|
orderId: string;
|
|
8427
|
-
status: "
|
|
8482
|
+
status: "PAYMENT_WAITING" | "PAID" | "CONFIRMED" | "DISPATCHED" | "DELIVERING" | "DELIVERED" | "PURCHASE_DECIDED" | "CANCELED";
|
|
8428
8483
|
claimStatus: "CANCEL_REQUESTED" | "RETURN_REQUESTED" | "EXCHANGE_REQUESTED" | null;
|
|
8429
8484
|
productId: string;
|
|
8430
8485
|
productName: string;
|
|
@@ -8492,7 +8547,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
8492
8547
|
fulfill: (orderItemId: string, body?: FulfillRequest, idempotencyKey?: string) => Promise<{
|
|
8493
8548
|
orderItemId: string;
|
|
8494
8549
|
orderId: string;
|
|
8495
|
-
status: "
|
|
8550
|
+
status: "PAYMENT_WAITING" | "PAID" | "CONFIRMED" | "DISPATCHED" | "DELIVERING" | "DELIVERED" | "PURCHASE_DECIDED" | "CANCELED";
|
|
8496
8551
|
claimStatus: "CANCEL_REQUESTED" | "RETURN_REQUESTED" | "EXCHANGE_REQUESTED" | null;
|
|
8497
8552
|
productId: string;
|
|
8498
8553
|
productName: string;
|
|
@@ -8593,14 +8648,14 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
8593
8648
|
contents: {
|
|
8594
8649
|
claimId: string;
|
|
8595
8650
|
type: "RETURN" | "EXCHANGE" | "CANCEL";
|
|
8596
|
-
status: "REJECTED" | "REQUESTED" | "HELD" | "COLLECTING" | "COLLECTED" | "REDELIVERING" | "APPROVED" | "COMPLETED"
|
|
8651
|
+
status: "WITHDRAWN" | "REJECTED" | "REQUESTED" | "HELD" | "COLLECTING" | "COLLECTED" | "REDELIVERING" | "APPROVED" | "COMPLETED";
|
|
8597
8652
|
orderId: string;
|
|
8598
8653
|
orderItemId: string;
|
|
8599
8654
|
productName: string;
|
|
8600
8655
|
quantity: number;
|
|
8601
8656
|
reason: "CHANGE_OF_MIND" | "WRONG_ORDER" | "DEFECTIVE" | "WRONG_DELIVERY" | "DIFFERENT_FROM_PAGE" | "DELAY";
|
|
8602
8657
|
reasonDetail: string | null;
|
|
8603
|
-
responsibility: "
|
|
8658
|
+
responsibility: "SELLER" | "BUYER";
|
|
8604
8659
|
claimDeliveryFee: number;
|
|
8605
8660
|
expectedRefundAmount: number | null;
|
|
8606
8661
|
expectedDeliveryFeeRefundAmount: number | null;
|
|
@@ -8631,14 +8686,14 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
8631
8686
|
get: (claimId: string) => Promise<{
|
|
8632
8687
|
claimId: string;
|
|
8633
8688
|
type: "RETURN" | "EXCHANGE" | "CANCEL";
|
|
8634
|
-
status: "REJECTED" | "REQUESTED" | "HELD" | "COLLECTING" | "COLLECTED" | "REDELIVERING" | "APPROVED" | "COMPLETED"
|
|
8689
|
+
status: "WITHDRAWN" | "REJECTED" | "REQUESTED" | "HELD" | "COLLECTING" | "COLLECTED" | "REDELIVERING" | "APPROVED" | "COMPLETED";
|
|
8635
8690
|
orderId: string;
|
|
8636
8691
|
orderItemId: string;
|
|
8637
8692
|
productName: string;
|
|
8638
8693
|
quantity: number;
|
|
8639
8694
|
reason: "CHANGE_OF_MIND" | "WRONG_ORDER" | "DEFECTIVE" | "WRONG_DELIVERY" | "DIFFERENT_FROM_PAGE" | "DELAY";
|
|
8640
8695
|
reasonDetail: string | null;
|
|
8641
|
-
responsibility: "
|
|
8696
|
+
responsibility: "SELLER" | "BUYER";
|
|
8642
8697
|
claimDeliveryFee: number;
|
|
8643
8698
|
expectedRefundAmount: number | null;
|
|
8644
8699
|
expectedDeliveryFeeRefundAmount: number | null;
|
|
@@ -8665,8 +8720,8 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
8665
8720
|
address2: string | null;
|
|
8666
8721
|
} | null;
|
|
8667
8722
|
histories?: {
|
|
8668
|
-
status: "REJECTED" | "REQUESTED" | "HELD" | "COLLECTING" | "COLLECTED" | "REDELIVERING" | "APPROVED" | "COMPLETED"
|
|
8669
|
-
actor: "
|
|
8723
|
+
status: "WITHDRAWN" | "REJECTED" | "REQUESTED" | "HELD" | "COLLECTING" | "COLLECTED" | "REDELIVERING" | "APPROVED" | "COMPLETED";
|
|
8724
|
+
actor: "SELLER" | "SYSTEM" | "BUYER";
|
|
8670
8725
|
occurredAt: string;
|
|
8671
8726
|
}[] | undefined;
|
|
8672
8727
|
}>;
|
|
@@ -8697,14 +8752,14 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
8697
8752
|
completeExchange: (claimId: string) => Promise<{
|
|
8698
8753
|
claimId: string;
|
|
8699
8754
|
type: "RETURN" | "EXCHANGE" | "CANCEL";
|
|
8700
|
-
status: "REJECTED" | "REQUESTED" | "HELD" | "COLLECTING" | "COLLECTED" | "REDELIVERING" | "APPROVED" | "COMPLETED"
|
|
8755
|
+
status: "WITHDRAWN" | "REJECTED" | "REQUESTED" | "HELD" | "COLLECTING" | "COLLECTED" | "REDELIVERING" | "APPROVED" | "COMPLETED";
|
|
8701
8756
|
orderId: string;
|
|
8702
8757
|
orderItemId: string;
|
|
8703
8758
|
productName: string;
|
|
8704
8759
|
quantity: number;
|
|
8705
8760
|
reason: "CHANGE_OF_MIND" | "WRONG_ORDER" | "DEFECTIVE" | "WRONG_DELIVERY" | "DIFFERENT_FROM_PAGE" | "DELAY";
|
|
8706
8761
|
reasonDetail: string | null;
|
|
8707
|
-
responsibility: "
|
|
8762
|
+
responsibility: "SELLER" | "BUYER";
|
|
8708
8763
|
claimDeliveryFee: number;
|
|
8709
8764
|
expectedRefundAmount: number | null;
|
|
8710
8765
|
expectedDeliveryFeeRefundAmount: number | null;
|
|
@@ -8906,7 +8961,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
8906
8961
|
point: number;
|
|
8907
8962
|
marketingAgreed: boolean;
|
|
8908
8963
|
loginMethods: {
|
|
8909
|
-
method: "
|
|
8964
|
+
method: "password" | "kakao" | "naver" | "google";
|
|
8910
8965
|
linkedAt: string;
|
|
8911
8966
|
}[];
|
|
8912
8967
|
consents: {
|
|
@@ -8973,7 +9028,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
8973
9028
|
productName: string;
|
|
8974
9029
|
optionName: string | null;
|
|
8975
9030
|
quantity: number;
|
|
8976
|
-
status: "
|
|
9031
|
+
status: "PAYMENT_WAITING" | "PAID" | "CONFIRMED" | "DISPATCHED" | "DELIVERING" | "DELIVERED" | "PURCHASE_DECIDED" | "CANCELED";
|
|
8977
9032
|
claimStatus: "CANCEL_REQUESTED" | "RETURN_REQUESTED" | "EXCHANGE_REQUESTED" | null;
|
|
8978
9033
|
}[];
|
|
8979
9034
|
}[];
|
|
@@ -8991,8 +9046,8 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
8991
9046
|
kind: "TERMS" | "PRIVACY" | "MARKETING";
|
|
8992
9047
|
version: string | null;
|
|
8993
9048
|
documentUrl: string | null;
|
|
8994
|
-
action: "
|
|
8995
|
-
source: "
|
|
9049
|
+
action: "AGREED" | "WITHDRAWN";
|
|
9050
|
+
source: "SIGNUP" | "SOCIAL_SIGNUP" | "DELEGATED" | "RECONSENT" | "MEMBER_UPDATE" | "SELLER";
|
|
8996
9051
|
occurredAt: string;
|
|
8997
9052
|
}[];
|
|
8998
9053
|
}>;
|
|
@@ -9600,7 +9655,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
9600
9655
|
sources: (params: AnalyticsSourcesParams) => Promise<{
|
|
9601
9656
|
groupBy: "CHANNEL" | "SOURCE" | "CAMPAIGN" | "DEVICE";
|
|
9602
9657
|
rows: {
|
|
9603
|
-
channel: "PAID" | "
|
|
9658
|
+
channel: "PAID" | "UNKNOWN" | "DIRECT" | "CAMPAIGN" | "ORGANIC_SEARCH" | "SOCIAL" | "EMAIL" | "REFERRAL" | null;
|
|
9604
9659
|
source: string | null;
|
|
9605
9660
|
medium: string | null;
|
|
9606
9661
|
campaign: string | null;
|
|
@@ -9735,7 +9790,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
9735
9790
|
orderId: string | null;
|
|
9736
9791
|
orderName: string;
|
|
9737
9792
|
customerName: string;
|
|
9738
|
-
status: "
|
|
9793
|
+
status: "FAILED" | "PENDING" | "APPROVED" | "PARTIALLY_REFUNDED" | "REFUNDED";
|
|
9739
9794
|
amount: number;
|
|
9740
9795
|
refundedAmount: number;
|
|
9741
9796
|
provider: "tosspayments" | "portone" | null;
|
|
@@ -9759,7 +9814,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
9759
9814
|
orderId: string | null;
|
|
9760
9815
|
orderName: string;
|
|
9761
9816
|
customerName: string;
|
|
9762
|
-
status: "
|
|
9817
|
+
status: "FAILED" | "PENDING" | "APPROVED" | "PARTIALLY_REFUNDED" | "REFUNDED";
|
|
9763
9818
|
amount: number;
|
|
9764
9819
|
refundedAmount: number;
|
|
9765
9820
|
provider: "tosspayments" | "portone" | null;
|
|
@@ -9858,7 +9913,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
9858
9913
|
masked: string | null;
|
|
9859
9914
|
}[];
|
|
9860
9915
|
lastVerification: {
|
|
9861
|
-
result: "
|
|
9916
|
+
result: "FAILED" | "SUCCESS";
|
|
9862
9917
|
message: string | null;
|
|
9863
9918
|
checkedAt: string;
|
|
9864
9919
|
} | null;
|
|
@@ -9883,7 +9938,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
9883
9938
|
masked: string | null;
|
|
9884
9939
|
}[];
|
|
9885
9940
|
lastVerification: {
|
|
9886
|
-
result: "
|
|
9941
|
+
result: "FAILED" | "SUCCESS";
|
|
9887
9942
|
message: string | null;
|
|
9888
9943
|
checkedAt: string;
|
|
9889
9944
|
} | null;
|
|
@@ -9907,7 +9962,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
9907
9962
|
masked: string | null;
|
|
9908
9963
|
}[];
|
|
9909
9964
|
lastVerification: {
|
|
9910
|
-
result: "
|
|
9965
|
+
result: "FAILED" | "SUCCESS";
|
|
9911
9966
|
message: string | null;
|
|
9912
9967
|
checkedAt: string;
|
|
9913
9968
|
} | null;
|
|
@@ -9959,7 +10014,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
9959
10014
|
masked: string | null;
|
|
9960
10015
|
}[];
|
|
9961
10016
|
lastVerification: {
|
|
9962
|
-
result: "
|
|
10017
|
+
result: "FAILED" | "SUCCESS";
|
|
9963
10018
|
message: string | null;
|
|
9964
10019
|
checkedAt: string;
|
|
9965
10020
|
} | null;
|
|
@@ -9984,7 +10039,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
9984
10039
|
masked: string | null;
|
|
9985
10040
|
}[];
|
|
9986
10041
|
lastVerification: {
|
|
9987
|
-
result: "
|
|
10042
|
+
result: "FAILED" | "SUCCESS";
|
|
9988
10043
|
message: string | null;
|
|
9989
10044
|
checkedAt: string;
|
|
9990
10045
|
} | null;
|
|
@@ -10008,7 +10063,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
10008
10063
|
masked: string | null;
|
|
10009
10064
|
}[];
|
|
10010
10065
|
lastVerification: {
|
|
10011
|
-
result: "
|
|
10066
|
+
result: "FAILED" | "SUCCESS";
|
|
10012
10067
|
message: string | null;
|
|
10013
10068
|
checkedAt: string;
|
|
10014
10069
|
} | null;
|
|
@@ -10065,7 +10120,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
10065
10120
|
masked: string | null;
|
|
10066
10121
|
}[];
|
|
10067
10122
|
lastVerification: {
|
|
10068
|
-
result: "
|
|
10123
|
+
result: "FAILED" | "SUCCESS";
|
|
10069
10124
|
message: string | null;
|
|
10070
10125
|
checkedAt: string;
|
|
10071
10126
|
} | null;
|
|
@@ -10090,7 +10145,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
10090
10145
|
masked: string | null;
|
|
10091
10146
|
}[];
|
|
10092
10147
|
lastVerification: {
|
|
10093
|
-
result: "
|
|
10148
|
+
result: "FAILED" | "SUCCESS";
|
|
10094
10149
|
message: string | null;
|
|
10095
10150
|
checkedAt: string;
|
|
10096
10151
|
} | null;
|
|
@@ -10114,7 +10169,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
10114
10169
|
masked: string | null;
|
|
10115
10170
|
}[];
|
|
10116
10171
|
lastVerification: {
|
|
10117
|
-
result: "
|
|
10172
|
+
result: "FAILED" | "SUCCESS";
|
|
10118
10173
|
message: string | null;
|
|
10119
10174
|
checkedAt: string;
|
|
10120
10175
|
} | null;
|
|
@@ -10161,7 +10216,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
10161
10216
|
masked: string | null;
|
|
10162
10217
|
}[];
|
|
10163
10218
|
lastVerification: {
|
|
10164
|
-
result: "
|
|
10219
|
+
result: "FAILED" | "SUCCESS";
|
|
10165
10220
|
message: string | null;
|
|
10166
10221
|
checkedAt: string;
|
|
10167
10222
|
} | null;
|
|
@@ -10186,7 +10241,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
10186
10241
|
masked: string | null;
|
|
10187
10242
|
}[];
|
|
10188
10243
|
lastVerification: {
|
|
10189
|
-
result: "
|
|
10244
|
+
result: "FAILED" | "SUCCESS";
|
|
10190
10245
|
message: string | null;
|
|
10191
10246
|
checkedAt: string;
|
|
10192
10247
|
} | null;
|
|
@@ -10210,7 +10265,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
10210
10265
|
masked: string | null;
|
|
10211
10266
|
}[];
|
|
10212
10267
|
lastVerification: {
|
|
10213
|
-
result: "
|
|
10268
|
+
result: "FAILED" | "SUCCESS";
|
|
10214
10269
|
message: string | null;
|
|
10215
10270
|
checkedAt: string;
|
|
10216
10271
|
} | null;
|
|
@@ -10267,7 +10322,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
10267
10322
|
masked: string | null;
|
|
10268
10323
|
}[];
|
|
10269
10324
|
lastVerification: {
|
|
10270
|
-
result: "
|
|
10325
|
+
result: "FAILED" | "SUCCESS";
|
|
10271
10326
|
message: string | null;
|
|
10272
10327
|
checkedAt: string;
|
|
10273
10328
|
} | null;
|
|
@@ -10292,7 +10347,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
10292
10347
|
masked: string | null;
|
|
10293
10348
|
}[];
|
|
10294
10349
|
lastVerification: {
|
|
10295
|
-
result: "
|
|
10350
|
+
result: "FAILED" | "SUCCESS";
|
|
10296
10351
|
message: string | null;
|
|
10297
10352
|
checkedAt: string;
|
|
10298
10353
|
} | null;
|
|
@@ -10316,7 +10371,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
10316
10371
|
masked: string | null;
|
|
10317
10372
|
}[];
|
|
10318
10373
|
lastVerification: {
|
|
10319
|
-
result: "
|
|
10374
|
+
result: "FAILED" | "SUCCESS";
|
|
10320
10375
|
message: string | null;
|
|
10321
10376
|
checkedAt: string;
|
|
10322
10377
|
} | null;
|
|
@@ -10363,7 +10418,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
10363
10418
|
masked: string | null;
|
|
10364
10419
|
}[];
|
|
10365
10420
|
lastVerification: {
|
|
10366
|
-
result: "
|
|
10421
|
+
result: "FAILED" | "SUCCESS";
|
|
10367
10422
|
message: string | null;
|
|
10368
10423
|
checkedAt: string;
|
|
10369
10424
|
} | null;
|
|
@@ -10388,7 +10443,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
10388
10443
|
masked: string | null;
|
|
10389
10444
|
}[];
|
|
10390
10445
|
lastVerification: {
|
|
10391
|
-
result: "
|
|
10446
|
+
result: "FAILED" | "SUCCESS";
|
|
10392
10447
|
message: string | null;
|
|
10393
10448
|
checkedAt: string;
|
|
10394
10449
|
} | null;
|
|
@@ -10412,7 +10467,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
10412
10467
|
masked: string | null;
|
|
10413
10468
|
}[];
|
|
10414
10469
|
lastVerification: {
|
|
10415
|
-
result: "
|
|
10470
|
+
result: "FAILED" | "SUCCESS";
|
|
10416
10471
|
message: string | null;
|
|
10417
10472
|
checkedAt: string;
|
|
10418
10473
|
} | null;
|
|
@@ -10468,7 +10523,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
10468
10523
|
masked: string | null;
|
|
10469
10524
|
}[];
|
|
10470
10525
|
lastVerification: {
|
|
10471
|
-
result: "
|
|
10526
|
+
result: "FAILED" | "SUCCESS";
|
|
10472
10527
|
message: string | null;
|
|
10473
10528
|
checkedAt: string;
|
|
10474
10529
|
} | null;
|
|
@@ -10493,7 +10548,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
10493
10548
|
masked: string | null;
|
|
10494
10549
|
}[];
|
|
10495
10550
|
lastVerification: {
|
|
10496
|
-
result: "
|
|
10551
|
+
result: "FAILED" | "SUCCESS";
|
|
10497
10552
|
message: string | null;
|
|
10498
10553
|
checkedAt: string;
|
|
10499
10554
|
} | null;
|
|
@@ -10517,7 +10572,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
10517
10572
|
masked: string | null;
|
|
10518
10573
|
}[];
|
|
10519
10574
|
lastVerification: {
|
|
10520
|
-
result: "
|
|
10575
|
+
result: "FAILED" | "SUCCESS";
|
|
10521
10576
|
message: string | null;
|
|
10522
10577
|
checkedAt: string;
|
|
10523
10578
|
} | null;
|
|
@@ -10545,7 +10600,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
10545
10600
|
verify: (provider: PgProvider, body?: VerifyPaymentProviderRequest) => Promise<{
|
|
10546
10601
|
provider: "tosspayments" | "portone";
|
|
10547
10602
|
environment: "TEST" | "LIVE";
|
|
10548
|
-
result: "
|
|
10603
|
+
result: "FAILED" | "SUCCESS";
|
|
10549
10604
|
message: string | null;
|
|
10550
10605
|
checkedAt: string;
|
|
10551
10606
|
}>;
|
|
@@ -10555,7 +10610,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
10555
10610
|
webhookId: string;
|
|
10556
10611
|
url: string;
|
|
10557
10612
|
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")[];
|
|
10558
|
-
status: "
|
|
10613
|
+
status: "ACTIVE" | "SUSPENDED";
|
|
10559
10614
|
secretPrefix: string;
|
|
10560
10615
|
suspendedAt: string | null;
|
|
10561
10616
|
createdAt: string;
|
|
@@ -10565,7 +10620,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
10565
10620
|
webhookId: string;
|
|
10566
10621
|
url: string;
|
|
10567
10622
|
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")[];
|
|
10568
|
-
status: "
|
|
10623
|
+
status: "ACTIVE" | "SUSPENDED";
|
|
10569
10624
|
secretPrefix: string;
|
|
10570
10625
|
suspendedAt: string | null;
|
|
10571
10626
|
createdAt: string;
|
|
@@ -10575,7 +10630,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
10575
10630
|
webhookId: string;
|
|
10576
10631
|
url: string;
|
|
10577
10632
|
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")[];
|
|
10578
|
-
status: "
|
|
10633
|
+
status: "ACTIVE" | "SUSPENDED";
|
|
10579
10634
|
secretPrefix: string;
|
|
10580
10635
|
suspendedAt: string | null;
|
|
10581
10636
|
createdAt: string;
|
|
@@ -10585,7 +10640,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
10585
10640
|
webhookId: string;
|
|
10586
10641
|
url: string;
|
|
10587
10642
|
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")[];
|
|
10588
|
-
status: "
|
|
10643
|
+
status: "ACTIVE" | "SUSPENDED";
|
|
10589
10644
|
secretPrefix: string;
|
|
10590
10645
|
suspendedAt: string | null;
|
|
10591
10646
|
createdAt: string;
|
|
@@ -10600,7 +10655,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
10600
10655
|
webhookId: string;
|
|
10601
10656
|
url: string;
|
|
10602
10657
|
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")[];
|
|
10603
|
-
status: "
|
|
10658
|
+
status: "ACTIVE" | "SUSPENDED";
|
|
10604
10659
|
secretPrefix: string;
|
|
10605
10660
|
suspendedAt: string | null;
|
|
10606
10661
|
createdAt: string;
|
|
@@ -10611,7 +10666,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
10611
10666
|
eventId: string;
|
|
10612
10667
|
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";
|
|
10613
10668
|
url: string;
|
|
10614
|
-
status: "
|
|
10669
|
+
status: "FAILED" | "PENDING" | "PENDING_RETRY" | "SUCCESS";
|
|
10615
10670
|
responseStatusCode: number | null;
|
|
10616
10671
|
responseTimeMs: number | null;
|
|
10617
10672
|
responseBodyExcerpt: string | null;
|
|
@@ -10638,7 +10693,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
10638
10693
|
eventId: string;
|
|
10639
10694
|
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";
|
|
10640
10695
|
url: string;
|
|
10641
|
-
status: "
|
|
10696
|
+
status: "FAILED" | "PENDING" | "PENDING_RETRY" | "SUCCESS";
|
|
10642
10697
|
responseStatusCode: number | null;
|
|
10643
10698
|
responseTimeMs: number | null;
|
|
10644
10699
|
responseBodyExcerpt: string | null;
|
|
@@ -10673,7 +10728,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
10673
10728
|
eventId: string;
|
|
10674
10729
|
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";
|
|
10675
10730
|
url: string;
|
|
10676
|
-
status: "
|
|
10731
|
+
status: "FAILED" | "PENDING" | "PENDING_RETRY" | "SUCCESS";
|
|
10677
10732
|
responseStatusCode: number | null;
|
|
10678
10733
|
responseTimeMs: number | null;
|
|
10679
10734
|
responseBodyExcerpt: string | null;
|
|
@@ -10769,7 +10824,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
10769
10824
|
method: string | null;
|
|
10770
10825
|
path: string | null;
|
|
10771
10826
|
statusCode: number | null;
|
|
10772
|
-
outcome: "
|
|
10827
|
+
outcome: "SUCCEEDED" | "FAILED" | "PENDING_APPROVAL" | "DENIED" | "DRY_RUN" | null;
|
|
10773
10828
|
errorCode: string | null;
|
|
10774
10829
|
traceId: string | null;
|
|
10775
10830
|
idempotencyKey: string | null;
|
|
@@ -10787,7 +10842,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
10787
10842
|
list: (params?: ApprovalListOptions) => Promise<{
|
|
10788
10843
|
items: {
|
|
10789
10844
|
approvalId: string;
|
|
10790
|
-
status: "
|
|
10845
|
+
status: "SUCCEEDED" | "FAILED" | "PENDING" | "EXECUTING" | "UNKNOWN" | "REJECTED" | "EXPIRED";
|
|
10791
10846
|
operationId: string;
|
|
10792
10847
|
method: string;
|
|
10793
10848
|
path: string;
|
|
@@ -10837,7 +10892,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
10837
10892
|
}>;
|
|
10838
10893
|
get: (approvalId: string) => Promise<{
|
|
10839
10894
|
approvalId: string;
|
|
10840
|
-
status: "
|
|
10895
|
+
status: "SUCCEEDED" | "FAILED" | "PENDING" | "EXECUTING" | "UNKNOWN" | "REJECTED" | "EXPIRED";
|
|
10841
10896
|
operationId: string;
|
|
10842
10897
|
method: string;
|
|
10843
10898
|
path: string;
|
|
@@ -10889,7 +10944,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
10889
10944
|
*/
|
|
10890
10945
|
approve: (approvalId: string, body?: ApprovalDecisionRequest) => Promise<{
|
|
10891
10946
|
approvalId: string;
|
|
10892
|
-
status: "
|
|
10947
|
+
status: "SUCCEEDED" | "FAILED" | "PENDING" | "EXECUTING" | "UNKNOWN" | "REJECTED" | "EXPIRED";
|
|
10893
10948
|
operationId: string;
|
|
10894
10949
|
method: string;
|
|
10895
10950
|
path: string;
|
|
@@ -10937,7 +10992,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
10937
10992
|
}>;
|
|
10938
10993
|
reject: (approvalId: string, body?: ApprovalDecisionRequest) => Promise<{
|
|
10939
10994
|
approvalId: string;
|
|
10940
|
-
status: "
|
|
10995
|
+
status: "SUCCEEDED" | "FAILED" | "PENDING" | "EXECUTING" | "UNKNOWN" | "REJECTED" | "EXPIRED";
|
|
10941
10996
|
operationId: string;
|
|
10942
10997
|
method: string;
|
|
10943
10998
|
path: string;
|
|
@@ -11087,7 +11142,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
11087
11142
|
}[];
|
|
11088
11143
|
templateId: string;
|
|
11089
11144
|
sourceMode: "CUSTOM" | "MANAGED";
|
|
11090
|
-
status: "
|
|
11145
|
+
status: "ACTIVE" | "SUSPENDED" | "CLOSED";
|
|
11091
11146
|
visibility: "COMING_SOON" | "PUBLIC";
|
|
11092
11147
|
publishedVersion: {
|
|
11093
11148
|
versionId: string;
|
|
@@ -11105,7 +11160,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
11105
11160
|
createdVia?: string | null | undefined;
|
|
11106
11161
|
} | null;
|
|
11107
11162
|
provisioning: {
|
|
11108
|
-
status: "
|
|
11163
|
+
status: "FAILED" | "PENDING" | "SYNCED";
|
|
11109
11164
|
lastErrorCode: string | null;
|
|
11110
11165
|
syncedAt: string | null;
|
|
11111
11166
|
};
|
|
@@ -11145,7 +11200,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
11145
11200
|
}[];
|
|
11146
11201
|
templateId: string;
|
|
11147
11202
|
sourceMode: "CUSTOM" | "MANAGED";
|
|
11148
|
-
status: "
|
|
11203
|
+
status: "ACTIVE" | "SUSPENDED" | "CLOSED";
|
|
11149
11204
|
visibility: "COMING_SOON" | "PUBLIC";
|
|
11150
11205
|
publishedVersion: {
|
|
11151
11206
|
versionId: string;
|
|
@@ -11163,7 +11218,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
11163
11218
|
createdVia?: string | null | undefined;
|
|
11164
11219
|
} | null;
|
|
11165
11220
|
provisioning: {
|
|
11166
|
-
status: "
|
|
11221
|
+
status: "FAILED" | "PENDING" | "SYNCED";
|
|
11167
11222
|
lastErrorCode: string | null;
|
|
11168
11223
|
syncedAt: string | null;
|
|
11169
11224
|
};
|
|
@@ -11181,13 +11236,13 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
11181
11236
|
/** `GET /v1/storefront/site/deployment` — 배포 진행(단계·기록). 만든 뒤 반영이 끝날 때까지 폴링한다 */
|
|
11182
11237
|
getDeployment: () => Promise<{
|
|
11183
11238
|
siteId: string;
|
|
11184
|
-
status: "
|
|
11239
|
+
status: "SUCCEEDED" | "FAILED" | "IN_PROGRESS";
|
|
11185
11240
|
url: string;
|
|
11186
11241
|
startedAt: string;
|
|
11187
11242
|
finishedAt: string | null;
|
|
11188
11243
|
steps: {
|
|
11189
11244
|
key: "SITE" | "UPLOAD" | "PUBLISH";
|
|
11190
|
-
status: "
|
|
11245
|
+
status: "FAILED" | "PENDING" | "RUNNING" | "DONE";
|
|
11191
11246
|
finishedAt: string | null;
|
|
11192
11247
|
}[];
|
|
11193
11248
|
log: {
|
|
@@ -11203,13 +11258,13 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
11203
11258
|
/** `POST /v1/storefront/site/deployment/retry` (202) — 밀린 반영을 곧바로 다시 시도한다. 이미 반영됐으면 그대로다 */
|
|
11204
11259
|
retryDeployment: () => Promise<{
|
|
11205
11260
|
siteId: string;
|
|
11206
|
-
status: "
|
|
11261
|
+
status: "SUCCEEDED" | "FAILED" | "IN_PROGRESS";
|
|
11207
11262
|
url: string;
|
|
11208
11263
|
startedAt: string;
|
|
11209
11264
|
finishedAt: string | null;
|
|
11210
11265
|
steps: {
|
|
11211
11266
|
key: "SITE" | "UPLOAD" | "PUBLISH";
|
|
11212
|
-
status: "
|
|
11267
|
+
status: "FAILED" | "PENDING" | "RUNNING" | "DONE";
|
|
11213
11268
|
finishedAt: string | null;
|
|
11214
11269
|
}[];
|
|
11215
11270
|
log: {
|
|
@@ -11241,7 +11296,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
11241
11296
|
}[];
|
|
11242
11297
|
templateId: string;
|
|
11243
11298
|
sourceMode: "CUSTOM" | "MANAGED";
|
|
11244
|
-
status: "
|
|
11299
|
+
status: "ACTIVE" | "SUSPENDED" | "CLOSED";
|
|
11245
11300
|
visibility: "COMING_SOON" | "PUBLIC";
|
|
11246
11301
|
publishedVersion: {
|
|
11247
11302
|
versionId: string;
|
|
@@ -11259,7 +11314,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
11259
11314
|
createdVia?: string | null | undefined;
|
|
11260
11315
|
} | null;
|
|
11261
11316
|
provisioning: {
|
|
11262
|
-
status: "
|
|
11317
|
+
status: "FAILED" | "PENDING" | "SYNCED";
|
|
11263
11318
|
lastErrorCode: string | null;
|
|
11264
11319
|
syncedAt: string | null;
|
|
11265
11320
|
};
|
|
@@ -11305,7 +11360,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
11305
11360
|
}[];
|
|
11306
11361
|
templateId: string;
|
|
11307
11362
|
sourceMode: "CUSTOM" | "MANAGED";
|
|
11308
|
-
status: "
|
|
11363
|
+
status: "ACTIVE" | "SUSPENDED" | "CLOSED";
|
|
11309
11364
|
visibility: "COMING_SOON" | "PUBLIC";
|
|
11310
11365
|
publishedVersion: {
|
|
11311
11366
|
versionId: string;
|
|
@@ -11323,7 +11378,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
11323
11378
|
createdVia?: string | null | undefined;
|
|
11324
11379
|
} | null;
|
|
11325
11380
|
provisioning: {
|
|
11326
|
-
status: "
|
|
11381
|
+
status: "FAILED" | "PENDING" | "SYNCED";
|
|
11327
11382
|
lastErrorCode: string | null;
|
|
11328
11383
|
syncedAt: string | null;
|
|
11329
11384
|
};
|
|
@@ -11353,7 +11408,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
11353
11408
|
}[];
|
|
11354
11409
|
templateId: string;
|
|
11355
11410
|
sourceMode: "CUSTOM" | "MANAGED";
|
|
11356
|
-
status: "
|
|
11411
|
+
status: "ACTIVE" | "SUSPENDED" | "CLOSED";
|
|
11357
11412
|
visibility: "COMING_SOON" | "PUBLIC";
|
|
11358
11413
|
publishedVersion: {
|
|
11359
11414
|
versionId: string;
|
|
@@ -11371,7 +11426,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
11371
11426
|
createdVia?: string | null | undefined;
|
|
11372
11427
|
} | null;
|
|
11373
11428
|
provisioning: {
|
|
11374
|
-
status: "
|
|
11429
|
+
status: "FAILED" | "PENDING" | "SYNCED";
|
|
11375
11430
|
lastErrorCode: string | null;
|
|
11376
11431
|
syncedAt: string | null;
|
|
11377
11432
|
};
|
|
@@ -11401,7 +11456,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
11401
11456
|
}[];
|
|
11402
11457
|
templateId: string;
|
|
11403
11458
|
sourceMode: "CUSTOM" | "MANAGED";
|
|
11404
|
-
status: "
|
|
11459
|
+
status: "ACTIVE" | "SUSPENDED" | "CLOSED";
|
|
11405
11460
|
visibility: "COMING_SOON" | "PUBLIC";
|
|
11406
11461
|
publishedVersion: {
|
|
11407
11462
|
versionId: string;
|
|
@@ -11419,7 +11474,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
11419
11474
|
createdVia?: string | null | undefined;
|
|
11420
11475
|
} | null;
|
|
11421
11476
|
provisioning: {
|
|
11422
|
-
status: "
|
|
11477
|
+
status: "FAILED" | "PENDING" | "SYNCED";
|
|
11423
11478
|
lastErrorCode: string | null;
|
|
11424
11479
|
syncedAt: string | null;
|
|
11425
11480
|
};
|
|
@@ -11449,7 +11504,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
11449
11504
|
}[];
|
|
11450
11505
|
templateId: string;
|
|
11451
11506
|
sourceMode: "CUSTOM" | "MANAGED";
|
|
11452
|
-
status: "
|
|
11507
|
+
status: "ACTIVE" | "SUSPENDED" | "CLOSED";
|
|
11453
11508
|
visibility: "COMING_SOON" | "PUBLIC";
|
|
11454
11509
|
publishedVersion: {
|
|
11455
11510
|
versionId: string;
|
|
@@ -11467,7 +11522,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
11467
11522
|
createdVia?: string | null | undefined;
|
|
11468
11523
|
} | null;
|
|
11469
11524
|
provisioning: {
|
|
11470
|
-
status: "
|
|
11525
|
+
status: "FAILED" | "PENDING" | "SYNCED";
|
|
11471
11526
|
lastErrorCode: string | null;
|
|
11472
11527
|
syncedAt: string | null;
|
|
11473
11528
|
};
|
|
@@ -11499,7 +11554,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
11499
11554
|
domainId: string;
|
|
11500
11555
|
hostname: string;
|
|
11501
11556
|
kind: "PLATFORM" | "CUSTOM";
|
|
11502
|
-
status: "
|
|
11557
|
+
status: "FAILED" | "ACTIVE" | "PENDING_DNS" | "PENDING_VALIDATION";
|
|
11503
11558
|
isPrimary: boolean;
|
|
11504
11559
|
dnsRecords: {
|
|
11505
11560
|
type: "CNAME" | "TXT";
|
|
@@ -11507,7 +11562,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
11507
11562
|
value: string;
|
|
11508
11563
|
purpose: "ROUTING" | "OWNERSHIP";
|
|
11509
11564
|
}[];
|
|
11510
|
-
certificateStatus: "
|
|
11565
|
+
certificateStatus: "FAILED" | "PENDING" | "ACTIVE" | null;
|
|
11511
11566
|
failureCode: string | null;
|
|
11512
11567
|
verifiedAt: string | null;
|
|
11513
11568
|
activatedAt: string | null;
|
|
@@ -11523,7 +11578,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
11523
11578
|
domainId: string;
|
|
11524
11579
|
hostname: string;
|
|
11525
11580
|
kind: "PLATFORM" | "CUSTOM";
|
|
11526
|
-
status: "
|
|
11581
|
+
status: "FAILED" | "ACTIVE" | "PENDING_DNS" | "PENDING_VALIDATION";
|
|
11527
11582
|
isPrimary: boolean;
|
|
11528
11583
|
dnsRecords: {
|
|
11529
11584
|
type: "CNAME" | "TXT";
|
|
@@ -11531,7 +11586,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
11531
11586
|
value: string;
|
|
11532
11587
|
purpose: "ROUTING" | "OWNERSHIP";
|
|
11533
11588
|
}[];
|
|
11534
|
-
certificateStatus: "
|
|
11589
|
+
certificateStatus: "FAILED" | "PENDING" | "ACTIVE" | null;
|
|
11535
11590
|
failureCode: string | null;
|
|
11536
11591
|
verifiedAt: string | null;
|
|
11537
11592
|
activatedAt: string | null;
|
|
@@ -11543,7 +11598,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
11543
11598
|
domainId: string;
|
|
11544
11599
|
hostname: string;
|
|
11545
11600
|
kind: "PLATFORM" | "CUSTOM";
|
|
11546
|
-
status: "
|
|
11601
|
+
status: "FAILED" | "ACTIVE" | "PENDING_DNS" | "PENDING_VALIDATION";
|
|
11547
11602
|
isPrimary: boolean;
|
|
11548
11603
|
dnsRecords: {
|
|
11549
11604
|
type: "CNAME" | "TXT";
|
|
@@ -11551,7 +11606,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
11551
11606
|
value: string;
|
|
11552
11607
|
purpose: "ROUTING" | "OWNERSHIP";
|
|
11553
11608
|
}[];
|
|
11554
|
-
certificateStatus: "
|
|
11609
|
+
certificateStatus: "FAILED" | "PENDING" | "ACTIVE" | null;
|
|
11555
11610
|
failureCode: string | null;
|
|
11556
11611
|
verifiedAt: string | null;
|
|
11557
11612
|
activatedAt: string | null;
|
|
@@ -11567,7 +11622,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
11567
11622
|
domainId: string;
|
|
11568
11623
|
hostname: string;
|
|
11569
11624
|
kind: "PLATFORM" | "CUSTOM";
|
|
11570
|
-
status: "
|
|
11625
|
+
status: "FAILED" | "ACTIVE" | "PENDING_DNS" | "PENDING_VALIDATION";
|
|
11571
11626
|
isPrimary: boolean;
|
|
11572
11627
|
dnsRecords: {
|
|
11573
11628
|
type: "CNAME" | "TXT";
|
|
@@ -11575,7 +11630,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
11575
11630
|
value: string;
|
|
11576
11631
|
purpose: "ROUTING" | "OWNERSHIP";
|
|
11577
11632
|
}[];
|
|
11578
|
-
certificateStatus: "
|
|
11633
|
+
certificateStatus: "FAILED" | "PENDING" | "ACTIVE" | null;
|
|
11579
11634
|
failureCode: string | null;
|
|
11580
11635
|
verifiedAt: string | null;
|
|
11581
11636
|
activatedAt: string | null;
|
|
@@ -11600,7 +11655,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
11600
11655
|
}[];
|
|
11601
11656
|
templateId: string;
|
|
11602
11657
|
sourceMode: "CUSTOM" | "MANAGED";
|
|
11603
|
-
status: "
|
|
11658
|
+
status: "ACTIVE" | "SUSPENDED" | "CLOSED";
|
|
11604
11659
|
visibility: "COMING_SOON" | "PUBLIC";
|
|
11605
11660
|
publishedVersion: {
|
|
11606
11661
|
versionId: string;
|
|
@@ -11618,7 +11673,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
11618
11673
|
createdVia?: string | null | undefined;
|
|
11619
11674
|
} | null;
|
|
11620
11675
|
provisioning: {
|
|
11621
|
-
status: "
|
|
11676
|
+
status: "FAILED" | "PENDING" | "SYNCED";
|
|
11622
11677
|
lastErrorCode: string | null;
|
|
11623
11678
|
syncedAt: string | null;
|
|
11624
11679
|
};
|
|
@@ -11859,7 +11914,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
11859
11914
|
buildId: string;
|
|
11860
11915
|
versionId: string;
|
|
11861
11916
|
versionNumber: number;
|
|
11862
|
-
status: "
|
|
11917
|
+
status: "SUCCEEDED" | "FAILED" | "RUNNING" | "QUEUED" | "TIMED_OUT";
|
|
11863
11918
|
failureStage: string | null;
|
|
11864
11919
|
errorCode: string | null;
|
|
11865
11920
|
logTail: string | null;
|
|
@@ -11940,7 +11995,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
11940
11995
|
buildId: string;
|
|
11941
11996
|
versionId: string;
|
|
11942
11997
|
versionNumber: number;
|
|
11943
|
-
status: "
|
|
11998
|
+
status: "SUCCEEDED" | "FAILED" | "RUNNING" | "QUEUED" | "TIMED_OUT";
|
|
11944
11999
|
failureStage: string | null;
|
|
11945
12000
|
errorCode: string | null;
|
|
11946
12001
|
logTail: string | null;
|
|
@@ -12018,7 +12073,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
12018
12073
|
buildId: string;
|
|
12019
12074
|
versionId: string;
|
|
12020
12075
|
versionNumber: number;
|
|
12021
|
-
status: "
|
|
12076
|
+
status: "SUCCEEDED" | "FAILED" | "RUNNING" | "QUEUED" | "TIMED_OUT";
|
|
12022
12077
|
failureStage: string | null;
|
|
12023
12078
|
errorCode: string | null;
|
|
12024
12079
|
logTail: string | null;
|
|
@@ -12163,7 +12218,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
12163
12218
|
code: string;
|
|
12164
12219
|
name: string;
|
|
12165
12220
|
};
|
|
12166
|
-
status: "
|
|
12221
|
+
status: "CANCELED" | "ACTIVE" | "PAST_DUE" | "INCOMPLETE";
|
|
12167
12222
|
interval: "MONTH" | null;
|
|
12168
12223
|
cancelAtPeriodEnd: boolean;
|
|
12169
12224
|
period: {
|
|
@@ -12265,14 +12320,6 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
12265
12320
|
};
|
|
12266
12321
|
store: {
|
|
12267
12322
|
get: () => Promise<{
|
|
12268
|
-
storeId: string;
|
|
12269
|
-
name: string;
|
|
12270
|
-
storeCode: string;
|
|
12271
|
-
storefrontUrl: string;
|
|
12272
|
-
status: "SUSPENDED" | "CLOSED" | "ACTIVE";
|
|
12273
|
-
logoUrl: string | null;
|
|
12274
|
-
businessNumber: string | null;
|
|
12275
|
-
customerCenterPhone: string | null;
|
|
12276
12323
|
analyticsAllowedOrigins: string[];
|
|
12277
12324
|
storefrontOrigins: string[];
|
|
12278
12325
|
guestCheckoutEnabled: boolean;
|
|
@@ -12300,20 +12347,27 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
12300
12347
|
privacyUrl: string | null;
|
|
12301
12348
|
memberCount: number;
|
|
12302
12349
|
createdAt: string;
|
|
12303
|
-
|
|
12304
|
-
|
|
12305
|
-
|
|
12306
|
-
|
|
12307
|
-
|
|
12308
|
-
|
|
12350
|
+
businessName: string | null;
|
|
12351
|
+
representativeName: string | null;
|
|
12352
|
+
mailOrderSalesNumber: string | null;
|
|
12353
|
+
businessAddress: string | null;
|
|
12354
|
+
customerCenterEmail: string | null;
|
|
12355
|
+
privacyOfficerName: string | null;
|
|
12356
|
+
privacyOfficerEmail: string | null;
|
|
12309
12357
|
storeId: string;
|
|
12310
12358
|
name: string;
|
|
12311
12359
|
storeCode: string;
|
|
12312
12360
|
storefrontUrl: string;
|
|
12313
|
-
status: "
|
|
12361
|
+
status: "ACTIVE" | "SUSPENDED" | "CLOSED";
|
|
12314
12362
|
logoUrl: string | null;
|
|
12315
12363
|
businessNumber: string | null;
|
|
12316
12364
|
customerCenterPhone: string | null;
|
|
12365
|
+
}>;
|
|
12366
|
+
/**
|
|
12367
|
+
* `PATCH /v1/store` — 스코프 `store:rw`. 바꿀 필드만 보낸다. `analyticsAllowedOrigins`는 방문 분석 수집을 받을
|
|
12368
|
+
* 스토어프론트 오리진 목록이다(빈 배열이면 모든 오리진 허용).
|
|
12369
|
+
*/
|
|
12370
|
+
update: (body: UpdateStoreRequest) => Promise<{
|
|
12317
12371
|
analyticsAllowedOrigins: string[];
|
|
12318
12372
|
storefrontOrigins: string[];
|
|
12319
12373
|
guestCheckoutEnabled: boolean;
|
|
@@ -12341,12 +12395,27 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
12341
12395
|
privacyUrl: string | null;
|
|
12342
12396
|
memberCount: number;
|
|
12343
12397
|
createdAt: string;
|
|
12398
|
+
businessName: string | null;
|
|
12399
|
+
representativeName: string | null;
|
|
12400
|
+
mailOrderSalesNumber: string | null;
|
|
12401
|
+
businessAddress: string | null;
|
|
12402
|
+
customerCenterEmail: string | null;
|
|
12403
|
+
privacyOfficerName: string | null;
|
|
12404
|
+
privacyOfficerEmail: string | null;
|
|
12405
|
+
storeId: string;
|
|
12406
|
+
name: string;
|
|
12407
|
+
storeCode: string;
|
|
12408
|
+
storefrontUrl: string;
|
|
12409
|
+
status: "ACTIVE" | "SUSPENDED" | "CLOSED";
|
|
12410
|
+
logoUrl: string | null;
|
|
12411
|
+
businessNumber: string | null;
|
|
12412
|
+
customerCenterPhone: string | null;
|
|
12344
12413
|
}>;
|
|
12345
12414
|
listMembers: () => Promise<{
|
|
12346
12415
|
userId: string;
|
|
12347
12416
|
name: string;
|
|
12348
12417
|
email: string;
|
|
12349
|
-
role: "
|
|
12418
|
+
role: "OWNER" | "ADMIN" | "STAFF";
|
|
12350
12419
|
joinedAt: string;
|
|
12351
12420
|
lastActiveAt: string | null;
|
|
12352
12421
|
}[]>;
|
|
@@ -12363,7 +12432,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
12363
12432
|
invitationId: string;
|
|
12364
12433
|
email: string;
|
|
12365
12434
|
role: "ADMIN" | "STAFF";
|
|
12366
|
-
status: "
|
|
12435
|
+
status: "CANCELED" | "PENDING" | "EXPIRED" | "ACCEPTED";
|
|
12367
12436
|
invitedBy: string;
|
|
12368
12437
|
expiresAt: string;
|
|
12369
12438
|
createdAt: string;
|
|
@@ -12381,7 +12450,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
12381
12450
|
invitationId: string;
|
|
12382
12451
|
email: string;
|
|
12383
12452
|
role: "ADMIN" | "STAFF";
|
|
12384
|
-
status: "
|
|
12453
|
+
status: "CANCELED" | "PENDING" | "EXPIRED" | "ACCEPTED";
|
|
12385
12454
|
invitedBy: string;
|
|
12386
12455
|
expiresAt: string;
|
|
12387
12456
|
createdAt: string;
|
|
@@ -12396,7 +12465,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
12396
12465
|
invitationId: string;
|
|
12397
12466
|
email: string;
|
|
12398
12467
|
role: "ADMIN" | "STAFF";
|
|
12399
|
-
status: "
|
|
12468
|
+
status: "CANCELED" | "PENDING" | "EXPIRED" | "ACCEPTED";
|
|
12400
12469
|
invitedBy: string;
|
|
12401
12470
|
expiresAt: string;
|
|
12402
12471
|
createdAt: string;
|
|
@@ -13193,8 +13262,8 @@ export declare const responsePlanCodeSchema: z.ZodUnion<readonly [z.ZodEnum<{
|
|
|
13193
13262
|
}>, z.ZodString]>;
|
|
13194
13263
|
export type ResponsePlanCode = PlanCode | (string & {});
|
|
13195
13264
|
export declare const subscriptionStatusSchema: z.ZodEnum<{
|
|
13196
|
-
ACTIVE: "ACTIVE";
|
|
13197
13265
|
CANCELED: "CANCELED";
|
|
13266
|
+
ACTIVE: "ACTIVE";
|
|
13198
13267
|
PAST_DUE: "PAST_DUE";
|
|
13199
13268
|
INCOMPLETE: "INCOMPLETE";
|
|
13200
13269
|
}>;
|
|
@@ -13244,8 +13313,8 @@ export declare const storeSubscriptionSchema: z.ZodObject<{
|
|
|
13244
13313
|
name: z.ZodString;
|
|
13245
13314
|
}, z.core.$strip>;
|
|
13246
13315
|
status: z.ZodEnum<{
|
|
13247
|
-
ACTIVE: "ACTIVE";
|
|
13248
13316
|
CANCELED: "CANCELED";
|
|
13317
|
+
ACTIVE: "ACTIVE";
|
|
13249
13318
|
PAST_DUE: "PAST_DUE";
|
|
13250
13319
|
INCOMPLETE: "INCOMPLETE";
|
|
13251
13320
|
}>;
|
|
@@ -13522,14 +13591,14 @@ export type McpToolEvent = z.infer<typeof mcpToolEventSchema>;
|
|
|
13522
13591
|
export declare const orderWebhookEventDataSchema: z.ZodObject<{
|
|
13523
13592
|
orderId: z.ZodString;
|
|
13524
13593
|
status: z.ZodEnum<{
|
|
13525
|
-
PAID: "PAID";
|
|
13526
|
-
CANCELED: "CANCELED";
|
|
13527
13594
|
PAYMENT_WAITING: "PAYMENT_WAITING";
|
|
13595
|
+
PAID: "PAID";
|
|
13528
13596
|
CONFIRMED: "CONFIRMED";
|
|
13529
13597
|
DISPATCHED: "DISPATCHED";
|
|
13530
13598
|
DELIVERING: "DELIVERING";
|
|
13531
13599
|
DELIVERED: "DELIVERED";
|
|
13532
13600
|
PURCHASE_DECIDED: "PURCHASE_DECIDED";
|
|
13601
|
+
CANCELED: "CANCELED";
|
|
13533
13602
|
}>;
|
|
13534
13603
|
testPayment: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
13535
13604
|
couponDiscountAmount: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
|
|
@@ -13571,14 +13640,14 @@ export declare const orderFulfilledWebhookEventDataSchema: z.ZodObject<{
|
|
|
13571
13640
|
orderId: z.ZodString;
|
|
13572
13641
|
orderItemId: z.ZodString;
|
|
13573
13642
|
status: z.ZodEnum<{
|
|
13574
|
-
PAID: "PAID";
|
|
13575
|
-
CANCELED: "CANCELED";
|
|
13576
13643
|
PAYMENT_WAITING: "PAYMENT_WAITING";
|
|
13644
|
+
PAID: "PAID";
|
|
13577
13645
|
CONFIRMED: "CONFIRMED";
|
|
13578
13646
|
DISPATCHED: "DISPATCHED";
|
|
13579
13647
|
DELIVERING: "DELIVERING";
|
|
13580
13648
|
DELIVERED: "DELIVERED";
|
|
13581
13649
|
PURCHASE_DECIDED: "PURCHASE_DECIDED";
|
|
13650
|
+
CANCELED: "CANCELED";
|
|
13582
13651
|
}>;
|
|
13583
13652
|
fulfillmentSnapshot: z.ZodUnion<readonly [z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
13584
13653
|
type: z.ZodLiteral<"SHIPPING">;
|
|
@@ -13610,24 +13679,24 @@ export declare const orderCanceledWebhookEventDataSchema: z.ZodObject<{
|
|
|
13610
13679
|
orderId: z.ZodString;
|
|
13611
13680
|
orderItemId: z.ZodString;
|
|
13612
13681
|
status: z.ZodEnum<{
|
|
13613
|
-
PAID: "PAID";
|
|
13614
|
-
CANCELED: "CANCELED";
|
|
13615
13682
|
PAYMENT_WAITING: "PAYMENT_WAITING";
|
|
13683
|
+
PAID: "PAID";
|
|
13616
13684
|
CONFIRMED: "CONFIRMED";
|
|
13617
13685
|
DISPATCHED: "DISPATCHED";
|
|
13618
13686
|
DELIVERING: "DELIVERING";
|
|
13619
13687
|
DELIVERED: "DELIVERED";
|
|
13620
13688
|
PURCHASE_DECIDED: "PURCHASE_DECIDED";
|
|
13689
|
+
CANCELED: "CANCELED";
|
|
13621
13690
|
}>;
|
|
13622
13691
|
itemStatus: z.ZodEnum<{
|
|
13623
|
-
PAID: "PAID";
|
|
13624
|
-
CANCELED: "CANCELED";
|
|
13625
13692
|
PAYMENT_WAITING: "PAYMENT_WAITING";
|
|
13693
|
+
PAID: "PAID";
|
|
13626
13694
|
CONFIRMED: "CONFIRMED";
|
|
13627
13695
|
DISPATCHED: "DISPATCHED";
|
|
13628
13696
|
DELIVERING: "DELIVERING";
|
|
13629
13697
|
DELIVERED: "DELIVERED";
|
|
13630
13698
|
PURCHASE_DECIDED: "PURCHASE_DECIDED";
|
|
13699
|
+
CANCELED: "CANCELED";
|
|
13631
13700
|
}>;
|
|
13632
13701
|
reason: z.ZodString;
|
|
13633
13702
|
quantity: z.ZodNumber;
|
|
@@ -13650,6 +13719,7 @@ export declare const claimWebhookEventDataSchema: z.ZodObject<{
|
|
|
13650
13719
|
CANCEL: "CANCEL";
|
|
13651
13720
|
}>;
|
|
13652
13721
|
status: z.ZodEnum<{
|
|
13722
|
+
WITHDRAWN: "WITHDRAWN";
|
|
13653
13723
|
REJECTED: "REJECTED";
|
|
13654
13724
|
REQUESTED: "REQUESTED";
|
|
13655
13725
|
HELD: "HELD";
|
|
@@ -13658,7 +13728,6 @@ export declare const claimWebhookEventDataSchema: z.ZodObject<{
|
|
|
13658
13728
|
REDELIVERING: "REDELIVERING";
|
|
13659
13729
|
APPROVED: "APPROVED";
|
|
13660
13730
|
COMPLETED: "COMPLETED";
|
|
13661
|
-
WITHDRAWN: "WITHDRAWN";
|
|
13662
13731
|
}>;
|
|
13663
13732
|
quantity: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
|
|
13664
13733
|
refundAmount: z.ZodDefault<z.ZodOptional<z.ZodNullable<z.ZodNumber>>>;
|
|
@@ -13698,14 +13767,14 @@ export declare const orderWebhookEventSchema: z.ZodObject<{
|
|
|
13698
13767
|
data: z.ZodObject<{
|
|
13699
13768
|
orderId: z.ZodString;
|
|
13700
13769
|
status: z.ZodEnum<{
|
|
13701
|
-
PAID: "PAID";
|
|
13702
|
-
CANCELED: "CANCELED";
|
|
13703
13770
|
PAYMENT_WAITING: "PAYMENT_WAITING";
|
|
13771
|
+
PAID: "PAID";
|
|
13704
13772
|
CONFIRMED: "CONFIRMED";
|
|
13705
13773
|
DISPATCHED: "DISPATCHED";
|
|
13706
13774
|
DELIVERING: "DELIVERING";
|
|
13707
13775
|
DELIVERED: "DELIVERED";
|
|
13708
13776
|
PURCHASE_DECIDED: "PURCHASE_DECIDED";
|
|
13777
|
+
CANCELED: "CANCELED";
|
|
13709
13778
|
}>;
|
|
13710
13779
|
testPayment: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
13711
13780
|
couponDiscountAmount: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
|
|
@@ -13749,14 +13818,14 @@ export declare const orderFulfilledWebhookEventSchema: z.ZodObject<{
|
|
|
13749
13818
|
orderId: z.ZodString;
|
|
13750
13819
|
orderItemId: z.ZodString;
|
|
13751
13820
|
status: z.ZodEnum<{
|
|
13752
|
-
PAID: "PAID";
|
|
13753
|
-
CANCELED: "CANCELED";
|
|
13754
13821
|
PAYMENT_WAITING: "PAYMENT_WAITING";
|
|
13822
|
+
PAID: "PAID";
|
|
13755
13823
|
CONFIRMED: "CONFIRMED";
|
|
13756
13824
|
DISPATCHED: "DISPATCHED";
|
|
13757
13825
|
DELIVERING: "DELIVERING";
|
|
13758
13826
|
DELIVERED: "DELIVERED";
|
|
13759
13827
|
PURCHASE_DECIDED: "PURCHASE_DECIDED";
|
|
13828
|
+
CANCELED: "CANCELED";
|
|
13760
13829
|
}>;
|
|
13761
13830
|
fulfillmentSnapshot: z.ZodUnion<readonly [z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
13762
13831
|
type: z.ZodLiteral<"SHIPPING">;
|
|
@@ -13789,24 +13858,24 @@ export declare const orderCanceledWebhookEventSchema: z.ZodObject<{
|
|
|
13789
13858
|
orderId: z.ZodString;
|
|
13790
13859
|
orderItemId: z.ZodString;
|
|
13791
13860
|
status: z.ZodEnum<{
|
|
13792
|
-
PAID: "PAID";
|
|
13793
|
-
CANCELED: "CANCELED";
|
|
13794
13861
|
PAYMENT_WAITING: "PAYMENT_WAITING";
|
|
13862
|
+
PAID: "PAID";
|
|
13795
13863
|
CONFIRMED: "CONFIRMED";
|
|
13796
13864
|
DISPATCHED: "DISPATCHED";
|
|
13797
13865
|
DELIVERING: "DELIVERING";
|
|
13798
13866
|
DELIVERED: "DELIVERED";
|
|
13799
13867
|
PURCHASE_DECIDED: "PURCHASE_DECIDED";
|
|
13868
|
+
CANCELED: "CANCELED";
|
|
13800
13869
|
}>;
|
|
13801
13870
|
itemStatus: z.ZodEnum<{
|
|
13802
|
-
PAID: "PAID";
|
|
13803
|
-
CANCELED: "CANCELED";
|
|
13804
13871
|
PAYMENT_WAITING: "PAYMENT_WAITING";
|
|
13872
|
+
PAID: "PAID";
|
|
13805
13873
|
CONFIRMED: "CONFIRMED";
|
|
13806
13874
|
DISPATCHED: "DISPATCHED";
|
|
13807
13875
|
DELIVERING: "DELIVERING";
|
|
13808
13876
|
DELIVERED: "DELIVERED";
|
|
13809
13877
|
PURCHASE_DECIDED: "PURCHASE_DECIDED";
|
|
13878
|
+
CANCELED: "CANCELED";
|
|
13810
13879
|
}>;
|
|
13811
13880
|
reason: z.ZodString;
|
|
13812
13881
|
quantity: z.ZodNumber;
|
|
@@ -13840,6 +13909,7 @@ export declare const claimWebhookEventSchema: z.ZodObject<{
|
|
|
13840
13909
|
CANCEL: "CANCEL";
|
|
13841
13910
|
}>;
|
|
13842
13911
|
status: z.ZodEnum<{
|
|
13912
|
+
WITHDRAWN: "WITHDRAWN";
|
|
13843
13913
|
REJECTED: "REJECTED";
|
|
13844
13914
|
REQUESTED: "REQUESTED";
|
|
13845
13915
|
HELD: "HELD";
|
|
@@ -13848,7 +13918,6 @@ export declare const claimWebhookEventSchema: z.ZodObject<{
|
|
|
13848
13918
|
REDELIVERING: "REDELIVERING";
|
|
13849
13919
|
APPROVED: "APPROVED";
|
|
13850
13920
|
COMPLETED: "COMPLETED";
|
|
13851
|
-
WITHDRAWN: "WITHDRAWN";
|
|
13852
13921
|
}>;
|
|
13853
13922
|
quantity: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
|
|
13854
13923
|
refundAmount: z.ZodDefault<z.ZodOptional<z.ZodNullable<z.ZodNumber>>>;
|
|
@@ -13911,14 +13980,14 @@ export declare const webhookEventSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
13911
13980
|
data: z.ZodObject<{
|
|
13912
13981
|
orderId: z.ZodString;
|
|
13913
13982
|
status: z.ZodEnum<{
|
|
13914
|
-
PAID: "PAID";
|
|
13915
|
-
CANCELED: "CANCELED";
|
|
13916
13983
|
PAYMENT_WAITING: "PAYMENT_WAITING";
|
|
13984
|
+
PAID: "PAID";
|
|
13917
13985
|
CONFIRMED: "CONFIRMED";
|
|
13918
13986
|
DISPATCHED: "DISPATCHED";
|
|
13919
13987
|
DELIVERING: "DELIVERING";
|
|
13920
13988
|
DELIVERED: "DELIVERED";
|
|
13921
13989
|
PURCHASE_DECIDED: "PURCHASE_DECIDED";
|
|
13990
|
+
CANCELED: "CANCELED";
|
|
13922
13991
|
}>;
|
|
13923
13992
|
testPayment: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
13924
13993
|
couponDiscountAmount: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
|
|
@@ -13961,14 +14030,14 @@ export declare const webhookEventSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
13961
14030
|
orderId: z.ZodString;
|
|
13962
14031
|
orderItemId: z.ZodString;
|
|
13963
14032
|
status: z.ZodEnum<{
|
|
13964
|
-
PAID: "PAID";
|
|
13965
|
-
CANCELED: "CANCELED";
|
|
13966
14033
|
PAYMENT_WAITING: "PAYMENT_WAITING";
|
|
14034
|
+
PAID: "PAID";
|
|
13967
14035
|
CONFIRMED: "CONFIRMED";
|
|
13968
14036
|
DISPATCHED: "DISPATCHED";
|
|
13969
14037
|
DELIVERING: "DELIVERING";
|
|
13970
14038
|
DELIVERED: "DELIVERED";
|
|
13971
14039
|
PURCHASE_DECIDED: "PURCHASE_DECIDED";
|
|
14040
|
+
CANCELED: "CANCELED";
|
|
13972
14041
|
}>;
|
|
13973
14042
|
fulfillmentSnapshot: z.ZodUnion<readonly [z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
13974
14043
|
type: z.ZodLiteral<"SHIPPING">;
|
|
@@ -14000,24 +14069,24 @@ export declare const webhookEventSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
14000
14069
|
orderId: z.ZodString;
|
|
14001
14070
|
orderItemId: z.ZodString;
|
|
14002
14071
|
status: z.ZodEnum<{
|
|
14003
|
-
PAID: "PAID";
|
|
14004
|
-
CANCELED: "CANCELED";
|
|
14005
14072
|
PAYMENT_WAITING: "PAYMENT_WAITING";
|
|
14073
|
+
PAID: "PAID";
|
|
14006
14074
|
CONFIRMED: "CONFIRMED";
|
|
14007
14075
|
DISPATCHED: "DISPATCHED";
|
|
14008
14076
|
DELIVERING: "DELIVERING";
|
|
14009
14077
|
DELIVERED: "DELIVERED";
|
|
14010
14078
|
PURCHASE_DECIDED: "PURCHASE_DECIDED";
|
|
14079
|
+
CANCELED: "CANCELED";
|
|
14011
14080
|
}>;
|
|
14012
14081
|
itemStatus: z.ZodEnum<{
|
|
14013
|
-
PAID: "PAID";
|
|
14014
|
-
CANCELED: "CANCELED";
|
|
14015
14082
|
PAYMENT_WAITING: "PAYMENT_WAITING";
|
|
14083
|
+
PAID: "PAID";
|
|
14016
14084
|
CONFIRMED: "CONFIRMED";
|
|
14017
14085
|
DISPATCHED: "DISPATCHED";
|
|
14018
14086
|
DELIVERING: "DELIVERING";
|
|
14019
14087
|
DELIVERED: "DELIVERED";
|
|
14020
14088
|
PURCHASE_DECIDED: "PURCHASE_DECIDED";
|
|
14089
|
+
CANCELED: "CANCELED";
|
|
14021
14090
|
}>;
|
|
14022
14091
|
reason: z.ZodString;
|
|
14023
14092
|
quantity: z.ZodNumber;
|
|
@@ -14050,6 +14119,7 @@ export declare const webhookEventSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
14050
14119
|
CANCEL: "CANCEL";
|
|
14051
14120
|
}>;
|
|
14052
14121
|
status: z.ZodEnum<{
|
|
14122
|
+
WITHDRAWN: "WITHDRAWN";
|
|
14053
14123
|
REJECTED: "REJECTED";
|
|
14054
14124
|
REQUESTED: "REQUESTED";
|
|
14055
14125
|
HELD: "HELD";
|
|
@@ -14058,7 +14128,6 @@ export declare const webhookEventSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
14058
14128
|
REDELIVERING: "REDELIVERING";
|
|
14059
14129
|
APPROVED: "APPROVED";
|
|
14060
14130
|
COMPLETED: "COMPLETED";
|
|
14061
|
-
WITHDRAWN: "WITHDRAWN";
|
|
14062
14131
|
}>;
|
|
14063
14132
|
quantity: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
|
|
14064
14133
|
refundAmount: z.ZodDefault<z.ZodOptional<z.ZodNullable<z.ZodNumber>>>;
|