@sayren/store-sdk 0.28.2 → 0.28.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.d.mts +307 -265
- package/dist/index.mjs +17 -2
- package/package.json +1 -1
- package/src/schemas/payment.ts +35 -0
package/dist/index.d.mts
CHANGED
|
@@ -33,8 +33,8 @@ export declare const auditLogSourceSchema: z.ZodEnum<{
|
|
|
33
33
|
}>;
|
|
34
34
|
export type AuditLogSource = z.infer<typeof auditLogSourceSchema>;
|
|
35
35
|
export declare const auditLogOutcomeSchema: z.ZodEnum<{
|
|
36
|
-
SUCCEEDED: "SUCCEEDED";
|
|
37
36
|
FAILED: "FAILED";
|
|
37
|
+
SUCCEEDED: "SUCCEEDED";
|
|
38
38
|
PENDING_APPROVAL: "PENDING_APPROVAL";
|
|
39
39
|
DENIED: "DENIED";
|
|
40
40
|
DRY_RUN: "DRY_RUN";
|
|
@@ -69,8 +69,8 @@ export declare const auditLogSchema: z.ZodObject<{
|
|
|
69
69
|
path: z.ZodNullable<z.ZodString>;
|
|
70
70
|
statusCode: z.ZodNullable<z.ZodNumber>;
|
|
71
71
|
outcome: z.ZodNullable<z.ZodEnum<{
|
|
72
|
-
SUCCEEDED: "SUCCEEDED";
|
|
73
72
|
FAILED: "FAILED";
|
|
73
|
+
SUCCEEDED: "SUCCEEDED";
|
|
74
74
|
PENDING_APPROVAL: "PENDING_APPROVAL";
|
|
75
75
|
DENIED: "DENIED";
|
|
76
76
|
DRY_RUN: "DRY_RUN";
|
|
@@ -102,8 +102,8 @@ export declare const auditLogListQuerySchema: z.ZodObject<{
|
|
|
102
102
|
DOMAIN: "DOMAIN";
|
|
103
103
|
}>>;
|
|
104
104
|
outcome: z.ZodOptional<z.ZodEnum<{
|
|
105
|
-
SUCCEEDED: "SUCCEEDED";
|
|
106
105
|
FAILED: "FAILED";
|
|
106
|
+
SUCCEEDED: "SUCCEEDED";
|
|
107
107
|
PENDING_APPROVAL: "PENDING_APPROVAL";
|
|
108
108
|
DENIED: "DENIED";
|
|
109
109
|
DRY_RUN: "DRY_RUN";
|
|
@@ -149,8 +149,8 @@ export declare const auditLogPageSchema: z.ZodObject<{
|
|
|
149
149
|
path: z.ZodNullable<z.ZodString>;
|
|
150
150
|
statusCode: z.ZodNullable<z.ZodNumber>;
|
|
151
151
|
outcome: z.ZodNullable<z.ZodEnum<{
|
|
152
|
-
SUCCEEDED: "SUCCEEDED";
|
|
153
152
|
FAILED: "FAILED";
|
|
153
|
+
SUCCEEDED: "SUCCEEDED";
|
|
154
154
|
PENDING_APPROVAL: "PENDING_APPROVAL";
|
|
155
155
|
DENIED: "DENIED";
|
|
156
156
|
DRY_RUN: "DRY_RUN";
|
|
@@ -166,8 +166,8 @@ export declare const auditLogPageSchema: z.ZodObject<{
|
|
|
166
166
|
export type AuditLogPage = z.infer<typeof auditLogPageSchema>;
|
|
167
167
|
export declare const agentPolicyDecisionSchema: z.ZodEnum<{
|
|
168
168
|
DENIED: "DENIED";
|
|
169
|
-
ALLOW: "ALLOW";
|
|
170
169
|
APPROVAL_REQUIRED: "APPROVAL_REQUIRED";
|
|
170
|
+
ALLOW: "ALLOW";
|
|
171
171
|
}>;
|
|
172
172
|
export type AgentPolicyDecision = z.infer<typeof agentPolicyDecisionSchema>;
|
|
173
173
|
export declare const writePreviewSchema: z.ZodObject<{
|
|
@@ -191,8 +191,8 @@ export declare const writeDryRunResultSchema: z.ZodObject<{
|
|
|
191
191
|
dryRun: z.ZodLiteral<true>;
|
|
192
192
|
decision: z.ZodEnum<{
|
|
193
193
|
DENIED: "DENIED";
|
|
194
|
-
ALLOW: "ALLOW";
|
|
195
194
|
APPROVAL_REQUIRED: "APPROVAL_REQUIRED";
|
|
195
|
+
ALLOW: "ALLOW";
|
|
196
196
|
}>;
|
|
197
197
|
reason: z.ZodNullable<z.ZodString>;
|
|
198
198
|
preview: z.ZodObject<{
|
|
@@ -213,11 +213,11 @@ export declare const writeDryRunResultSchema: z.ZodObject<{
|
|
|
213
213
|
}, z.core.$strip>;
|
|
214
214
|
export type WriteDryRunResult = z.infer<typeof writeDryRunResultSchema>;
|
|
215
215
|
export declare const approvalStatusSchema: z.ZodEnum<{
|
|
216
|
-
|
|
217
|
-
FAILED: "FAILED";
|
|
216
|
+
UNKNOWN: "UNKNOWN";
|
|
218
217
|
PENDING: "PENDING";
|
|
218
|
+
FAILED: "FAILED";
|
|
219
|
+
SUCCEEDED: "SUCCEEDED";
|
|
219
220
|
EXECUTING: "EXECUTING";
|
|
220
|
-
UNKNOWN: "UNKNOWN";
|
|
221
221
|
REJECTED: "REJECTED";
|
|
222
222
|
EXPIRED: "EXPIRED";
|
|
223
223
|
}>;
|
|
@@ -225,11 +225,11 @@ export type ApprovalStatus = z.infer<typeof approvalStatusSchema>;
|
|
|
225
225
|
export declare const approvalRequestSchema: z.ZodObject<{
|
|
226
226
|
approvalId: z.ZodString;
|
|
227
227
|
status: z.ZodEnum<{
|
|
228
|
-
|
|
229
|
-
FAILED: "FAILED";
|
|
228
|
+
UNKNOWN: "UNKNOWN";
|
|
230
229
|
PENDING: "PENDING";
|
|
230
|
+
FAILED: "FAILED";
|
|
231
|
+
SUCCEEDED: "SUCCEEDED";
|
|
231
232
|
EXECUTING: "EXECUTING";
|
|
232
|
-
UNKNOWN: "UNKNOWN";
|
|
233
233
|
REJECTED: "REJECTED";
|
|
234
234
|
EXPIRED: "EXPIRED";
|
|
235
235
|
}>;
|
|
@@ -287,11 +287,11 @@ export declare const approvalRequestSchema: z.ZodObject<{
|
|
|
287
287
|
export type ApprovalRequest = z.infer<typeof approvalRequestSchema>;
|
|
288
288
|
export declare const approvalListQuerySchema: z.ZodObject<{
|
|
289
289
|
status: z.ZodOptional<z.ZodPipe<z.ZodPipe<z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]>, z.ZodTransform<string[], string | string[]>>, z.ZodArray<z.ZodEnum<{
|
|
290
|
-
|
|
291
|
-
FAILED: "FAILED";
|
|
290
|
+
UNKNOWN: "UNKNOWN";
|
|
292
291
|
PENDING: "PENDING";
|
|
292
|
+
FAILED: "FAILED";
|
|
293
|
+
SUCCEEDED: "SUCCEEDED";
|
|
293
294
|
EXECUTING: "EXECUTING";
|
|
294
|
-
UNKNOWN: "UNKNOWN";
|
|
295
295
|
REJECTED: "REJECTED";
|
|
296
296
|
EXPIRED: "EXPIRED";
|
|
297
297
|
}>>>>;
|
|
@@ -306,11 +306,11 @@ export declare const approvalPageSchema: z.ZodObject<{
|
|
|
306
306
|
items: z.ZodArray<z.ZodObject<{
|
|
307
307
|
approvalId: z.ZodString;
|
|
308
308
|
status: z.ZodEnum<{
|
|
309
|
-
|
|
310
|
-
FAILED: "FAILED";
|
|
309
|
+
UNKNOWN: "UNKNOWN";
|
|
311
310
|
PENDING: "PENDING";
|
|
311
|
+
FAILED: "FAILED";
|
|
312
|
+
SUCCEEDED: "SUCCEEDED";
|
|
312
313
|
EXECUTING: "EXECUTING";
|
|
313
|
-
UNKNOWN: "UNKNOWN";
|
|
314
314
|
REJECTED: "REJECTED";
|
|
315
315
|
EXPIRED: "EXPIRED";
|
|
316
316
|
}>;
|
|
@@ -581,20 +581,20 @@ export declare const analyticsProductsSchema: z.ZodObject<{
|
|
|
581
581
|
}, z.core.$strip>;
|
|
582
582
|
export type AnalyticsProducts = z.infer<typeof analyticsProductsSchema>;
|
|
583
583
|
export declare const analyticsChannelSchema: z.ZodEnum<{
|
|
584
|
-
PAID: "PAID";
|
|
585
|
-
UNKNOWN: "UNKNOWN";
|
|
586
584
|
DIRECT: "DIRECT";
|
|
587
|
-
CAMPAIGN: "CAMPAIGN";
|
|
588
585
|
ORGANIC_SEARCH: "ORGANIC_SEARCH";
|
|
589
586
|
SOCIAL: "SOCIAL";
|
|
587
|
+
PAID: "PAID";
|
|
590
588
|
EMAIL: "EMAIL";
|
|
589
|
+
CAMPAIGN: "CAMPAIGN";
|
|
591
590
|
REFERRAL: "REFERRAL";
|
|
591
|
+
UNKNOWN: "UNKNOWN";
|
|
592
592
|
}>;
|
|
593
593
|
export type AnalyticsChannel = z.infer<typeof analyticsChannelSchema>;
|
|
594
594
|
export declare const analyticsSourceGroupBySchema: z.ZodEnum<{
|
|
595
|
+
CAMPAIGN: "CAMPAIGN";
|
|
595
596
|
CHANNEL: "CHANNEL";
|
|
596
597
|
SOURCE: "SOURCE";
|
|
597
|
-
CAMPAIGN: "CAMPAIGN";
|
|
598
598
|
DEVICE: "DEVICE";
|
|
599
599
|
}>;
|
|
600
600
|
export type AnalyticsSourceGroupBy = z.infer<typeof analyticsSourceGroupBySchema>;
|
|
@@ -606,23 +606,23 @@ export declare const analyticsSourcesQuerySchema: z.ZodObject<{
|
|
|
606
606
|
false: "false";
|
|
607
607
|
}>>;
|
|
608
608
|
groupBy: z.ZodOptional<z.ZodEnum<{
|
|
609
|
+
CAMPAIGN: "CAMPAIGN";
|
|
609
610
|
CHANNEL: "CHANNEL";
|
|
610
611
|
SOURCE: "SOURCE";
|
|
611
|
-
CAMPAIGN: "CAMPAIGN";
|
|
612
612
|
DEVICE: "DEVICE";
|
|
613
613
|
}>>;
|
|
614
614
|
}, z.core.$strip>;
|
|
615
615
|
export type AnalyticsSourcesParams = z.infer<typeof analyticsSourcesQuerySchema>;
|
|
616
616
|
export declare const analyticsSourceRowSchema: z.ZodObject<{
|
|
617
617
|
channel: z.ZodNullable<z.ZodEnum<{
|
|
618
|
-
PAID: "PAID";
|
|
619
|
-
UNKNOWN: "UNKNOWN";
|
|
620
618
|
DIRECT: "DIRECT";
|
|
621
|
-
CAMPAIGN: "CAMPAIGN";
|
|
622
619
|
ORGANIC_SEARCH: "ORGANIC_SEARCH";
|
|
623
620
|
SOCIAL: "SOCIAL";
|
|
621
|
+
PAID: "PAID";
|
|
624
622
|
EMAIL: "EMAIL";
|
|
623
|
+
CAMPAIGN: "CAMPAIGN";
|
|
625
624
|
REFERRAL: "REFERRAL";
|
|
625
|
+
UNKNOWN: "UNKNOWN";
|
|
626
626
|
}>>;
|
|
627
627
|
source: z.ZodNullable<z.ZodString>;
|
|
628
628
|
medium: z.ZodNullable<z.ZodString>;
|
|
@@ -644,21 +644,21 @@ export declare const analyticsSourceRowSchema: z.ZodObject<{
|
|
|
644
644
|
export type AnalyticsSourceRow = z.infer<typeof analyticsSourceRowSchema>;
|
|
645
645
|
export declare const analyticsSourcesSchema: z.ZodObject<{
|
|
646
646
|
groupBy: z.ZodEnum<{
|
|
647
|
+
CAMPAIGN: "CAMPAIGN";
|
|
647
648
|
CHANNEL: "CHANNEL";
|
|
648
649
|
SOURCE: "SOURCE";
|
|
649
|
-
CAMPAIGN: "CAMPAIGN";
|
|
650
650
|
DEVICE: "DEVICE";
|
|
651
651
|
}>;
|
|
652
652
|
rows: z.ZodArray<z.ZodObject<{
|
|
653
653
|
channel: z.ZodNullable<z.ZodEnum<{
|
|
654
|
-
PAID: "PAID";
|
|
655
|
-
UNKNOWN: "UNKNOWN";
|
|
656
654
|
DIRECT: "DIRECT";
|
|
657
|
-
CAMPAIGN: "CAMPAIGN";
|
|
658
655
|
ORGANIC_SEARCH: "ORGANIC_SEARCH";
|
|
659
656
|
SOCIAL: "SOCIAL";
|
|
657
|
+
PAID: "PAID";
|
|
660
658
|
EMAIL: "EMAIL";
|
|
659
|
+
CAMPAIGN: "CAMPAIGN";
|
|
661
660
|
REFERRAL: "REFERRAL";
|
|
661
|
+
UNKNOWN: "UNKNOWN";
|
|
662
662
|
}>>;
|
|
663
663
|
source: z.ZodNullable<z.ZodString>;
|
|
664
664
|
medium: z.ZodNullable<z.ZodString>;
|
|
@@ -807,12 +807,12 @@ export declare const analyticsSearchSchema: z.ZodObject<{
|
|
|
807
807
|
}, z.core.$strip>;
|
|
808
808
|
export type AnalyticsSearch = z.infer<typeof analyticsSearchSchema>;
|
|
809
809
|
export declare const analyticsCheckoutOutcomeSchema: z.ZodEnum<{
|
|
810
|
-
OTHER: "OTHER";
|
|
811
810
|
COMPLETED: "COMPLETED";
|
|
812
811
|
NOT_OPENED: "NOT_OPENED";
|
|
813
812
|
USER_CANCELED: "USER_CANCELED";
|
|
814
813
|
DECLINED: "DECLINED";
|
|
815
814
|
PREPARE_FAILURE: "PREPARE_FAILURE";
|
|
815
|
+
OTHER: "OTHER";
|
|
816
816
|
IN_PROGRESS: "IN_PROGRESS";
|
|
817
817
|
}>;
|
|
818
818
|
export type AnalyticsCheckoutOutcome = z.infer<typeof analyticsCheckoutOutcomeSchema>;
|
|
@@ -820,12 +820,12 @@ export declare const analyticsCheckoutSchema: z.ZodObject<{
|
|
|
820
820
|
sessions: z.ZodNumber;
|
|
821
821
|
outcomes: z.ZodArray<z.ZodObject<{
|
|
822
822
|
outcome: z.ZodEnum<{
|
|
823
|
-
OTHER: "OTHER";
|
|
824
823
|
COMPLETED: "COMPLETED";
|
|
825
824
|
NOT_OPENED: "NOT_OPENED";
|
|
826
825
|
USER_CANCELED: "USER_CANCELED";
|
|
827
826
|
DECLINED: "DECLINED";
|
|
828
827
|
PREPARE_FAILURE: "PREPARE_FAILURE";
|
|
828
|
+
OTHER: "OTHER";
|
|
829
829
|
IN_PROGRESS: "IN_PROGRESS";
|
|
830
830
|
}>;
|
|
831
831
|
sessions: z.ZodNumber;
|
|
@@ -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
|
-
PAYMENT_WAITING: "PAYMENT_WAITING";
|
|
1236
1235
|
PAID: "PAID";
|
|
1236
|
+
CANCELED: "CANCELED";
|
|
1237
|
+
PAYMENT_WAITING: "PAYMENT_WAITING";
|
|
1237
1238
|
CONFIRMED: "CONFIRMED";
|
|
1238
1239
|
DISPATCHED: "DISPATCHED";
|
|
1239
1240
|
DELIVERING: "DELIVERING";
|
|
1240
1241
|
DELIVERED: "DELIVERED";
|
|
1241
1242
|
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,7 +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
|
-
|
|
1267
|
+
COMPLETED: "COMPLETED";
|
|
1268
1268
|
REJECTED: "REJECTED";
|
|
1269
1269
|
REQUESTED: "REQUESTED";
|
|
1270
1270
|
HELD: "HELD";
|
|
@@ -1272,7 +1272,7 @@ export declare const claimStatusSchema: z.ZodEnum<{
|
|
|
1272
1272
|
COLLECTED: "COLLECTED";
|
|
1273
1273
|
REDELIVERING: "REDELIVERING";
|
|
1274
1274
|
APPROVED: "APPROVED";
|
|
1275
|
-
|
|
1275
|
+
WITHDRAWN: "WITHDRAWN";
|
|
1276
1276
|
}>;
|
|
1277
1277
|
export type ClaimStatus = z.infer<typeof claimStatusSchema>;
|
|
1278
1278
|
export declare const claimReasonSchema: z.ZodEnum<{
|
|
@@ -1308,7 +1308,7 @@ export declare const claimSchema: z.ZodObject<{
|
|
|
1308
1308
|
CANCEL: "CANCEL";
|
|
1309
1309
|
}>;
|
|
1310
1310
|
status: z.ZodEnum<{
|
|
1311
|
-
|
|
1311
|
+
COMPLETED: "COMPLETED";
|
|
1312
1312
|
REJECTED: "REJECTED";
|
|
1313
1313
|
REQUESTED: "REQUESTED";
|
|
1314
1314
|
HELD: "HELD";
|
|
@@ -1316,7 +1316,7 @@ export declare const claimSchema: z.ZodObject<{
|
|
|
1316
1316
|
COLLECTED: "COLLECTED";
|
|
1317
1317
|
REDELIVERING: "REDELIVERING";
|
|
1318
1318
|
APPROVED: "APPROVED";
|
|
1319
|
-
|
|
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
|
-
SELLER: "SELLER";
|
|
1336
1335
|
BUYER: "BUYER";
|
|
1336
|
+
SELLER: "SELLER";
|
|
1337
1337
|
}>;
|
|
1338
1338
|
claimDeliveryFee: z.ZodNumber;
|
|
1339
1339
|
expectedRefundAmount: z.ZodNullable<z.ZodNumber>;
|
|
@@ -1396,7 +1396,7 @@ export declare const claimDetailSchema: z.ZodObject<{
|
|
|
1396
1396
|
CANCEL: "CANCEL";
|
|
1397
1397
|
}>;
|
|
1398
1398
|
status: z.ZodEnum<{
|
|
1399
|
-
|
|
1399
|
+
COMPLETED: "COMPLETED";
|
|
1400
1400
|
REJECTED: "REJECTED";
|
|
1401
1401
|
REQUESTED: "REQUESTED";
|
|
1402
1402
|
HELD: "HELD";
|
|
@@ -1404,7 +1404,7 @@ export declare const claimDetailSchema: z.ZodObject<{
|
|
|
1404
1404
|
COLLECTED: "COLLECTED";
|
|
1405
1405
|
REDELIVERING: "REDELIVERING";
|
|
1406
1406
|
APPROVED: "APPROVED";
|
|
1407
|
-
|
|
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
|
-
SELLER: "SELLER";
|
|
1424
1423
|
BUYER: "BUYER";
|
|
1424
|
+
SELLER: "SELLER";
|
|
1425
1425
|
}>;
|
|
1426
1426
|
claimDeliveryFee: z.ZodNumber;
|
|
1427
1427
|
expectedRefundAmount: z.ZodNullable<z.ZodNumber>;
|
|
@@ -1453,7 +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
|
-
|
|
1456
|
+
COMPLETED: "COMPLETED";
|
|
1457
1457
|
REJECTED: "REJECTED";
|
|
1458
1458
|
REQUESTED: "REQUESTED";
|
|
1459
1459
|
HELD: "HELD";
|
|
@@ -1461,12 +1461,12 @@ export declare const claimDetailSchema: z.ZodObject<{
|
|
|
1461
1461
|
COLLECTED: "COLLECTED";
|
|
1462
1462
|
REDELIVERING: "REDELIVERING";
|
|
1463
1463
|
APPROVED: "APPROVED";
|
|
1464
|
-
|
|
1464
|
+
WITHDRAWN: "WITHDRAWN";
|
|
1465
1465
|
}>;
|
|
1466
1466
|
actor: z.ZodEnum<{
|
|
1467
|
-
SELLER: "SELLER";
|
|
1468
1467
|
SYSTEM: "SYSTEM";
|
|
1469
1468
|
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
|
-
AGREED: "AGREED";
|
|
1874
1873
|
WITHDRAWN: "WITHDRAWN";
|
|
1874
|
+
AGREED: "AGREED";
|
|
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";
|
|
1883
1884
|
SIGNUP: "SIGNUP";
|
|
1884
1885
|
SOCIAL_SIGNUP: "SOCIAL_SIGNUP";
|
|
1885
1886
|
DELEGATED: "DELEGATED";
|
|
1886
1887
|
RECONSENT: "RECONSENT";
|
|
1887
1888
|
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
|
-
AGREED: "AGREED";
|
|
1903
1902
|
WITHDRAWN: "WITHDRAWN";
|
|
1903
|
+
AGREED: "AGREED";
|
|
1904
1904
|
}>;
|
|
1905
1905
|
source: z.ZodEnum<{
|
|
1906
|
+
SELLER: "SELLER";
|
|
1906
1907
|
SIGNUP: "SIGNUP";
|
|
1907
1908
|
SOCIAL_SIGNUP: "SOCIAL_SIGNUP";
|
|
1908
1909
|
DELEGATED: "DELEGATED";
|
|
1909
1910
|
RECONSENT: "RECONSENT";
|
|
1910
1911
|
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";
|
|
1996
1995
|
kakao: "kakao";
|
|
1997
1996
|
naver: "naver";
|
|
1998
1997
|
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
|
-
PAYMENT_WAITING: "PAYMENT_WAITING";
|
|
2077
2076
|
PAID: "PAID";
|
|
2077
|
+
CANCELED: "CANCELED";
|
|
2078
|
+
PAYMENT_WAITING: "PAYMENT_WAITING";
|
|
2078
2079
|
CONFIRMED: "CONFIRMED";
|
|
2079
2080
|
DISPATCHED: "DISPATCHED";
|
|
2080
2081
|
DELIVERING: "DELIVERING";
|
|
2081
2082
|
DELIVERED: "DELIVERED";
|
|
2082
2083
|
PURCHASE_DECIDED: "PURCHASE_DECIDED";
|
|
2083
|
-
CANCELED: "CANCELED";
|
|
2084
2084
|
}>;
|
|
2085
2085
|
claimStatus: z.ZodNullable<z.ZodEnum<{
|
|
2086
2086
|
CANCEL_REQUESTED: "CANCEL_REQUESTED";
|
|
@@ -2093,10 +2093,10 @@ export type CustomerOrder = z.infer<typeof customerOrderSchema>;
|
|
|
2093
2093
|
/** `POST /v1/customers/{id}/withdraw` 본문 */
|
|
2094
2094
|
export declare const withdrawCustomerRequestSchema: z.ZodObject<{
|
|
2095
2095
|
reason: z.ZodEnum<{
|
|
2096
|
+
OTHER: "OTHER";
|
|
2096
2097
|
BUYER_REQUEST: "BUYER_REQUEST";
|
|
2097
2098
|
DORMANT: "DORMANT";
|
|
2098
2099
|
ABUSE: "ABUSE";
|
|
2099
|
-
OTHER: "OTHER";
|
|
2100
2100
|
}>;
|
|
2101
2101
|
memo: z.ZodOptional<z.ZodString>;
|
|
2102
2102
|
}, z.core.$strip>;
|
|
@@ -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
|
-
ACTIVE: "ACTIVE";
|
|
2387
2386
|
SUSPENDED: "SUSPENDED";
|
|
2387
|
+
ACTIVE: "ACTIVE";
|
|
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
|
-
ACTIVE: "ACTIVE";
|
|
2412
2411
|
SUSPENDED: "SUSPENDED";
|
|
2412
|
+
ACTIVE: "ACTIVE";
|
|
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
|
-
ACTIVE: "ACTIVE";
|
|
2442
2441
|
SUSPENDED: "SUSPENDED";
|
|
2442
|
+
ACTIVE: "ACTIVE";
|
|
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";
|
|
2458
2457
|
PENDING: "PENDING";
|
|
2459
2458
|
PENDING_RETRY: "PENDING_RETRY";
|
|
2460
2459
|
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";
|
|
2523
2522
|
PENDING: "PENDING";
|
|
2524
2523
|
PENDING_RETRY: "PENDING_RETRY";
|
|
2525
2524
|
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";
|
|
2576
2575
|
PENDING: "PENDING";
|
|
2577
2576
|
PENDING_RETRY: "PENDING_RETRY";
|
|
2578
2577
|
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";
|
|
2614
2613
|
PENDING: "PENDING";
|
|
2615
2614
|
PENDING_RETRY: "PENDING_RETRY";
|
|
2616
2615
|
SUCCESS: "SUCCESS";
|
|
2616
|
+
FAILED: "FAILED";
|
|
2617
2617
|
}>>;
|
|
2618
2618
|
eventType: z.ZodOptional<z.ZodEnum<{
|
|
2619
2619
|
"ORDER.PAID": "ORDER.PAID";
|
|
@@ -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
|
-
PAYMENT_WAITING: "PAYMENT_WAITING";
|
|
2984
2983
|
PAID: "PAID";
|
|
2984
|
+
CANCELED: "CANCELED";
|
|
2985
|
+
PAYMENT_WAITING: "PAYMENT_WAITING";
|
|
2985
2986
|
CONFIRMED: "CONFIRMED";
|
|
2986
2987
|
DISPATCHED: "DISPATCHED";
|
|
2987
2988
|
DELIVERING: "DELIVERING";
|
|
2988
2989
|
DELIVERED: "DELIVERED";
|
|
2989
2990
|
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
|
-
PAYMENT_WAITING: "PAYMENT_WAITING";
|
|
3019
3018
|
PAID: "PAID";
|
|
3019
|
+
CANCELED: "CANCELED";
|
|
3020
|
+
PAYMENT_WAITING: "PAYMENT_WAITING";
|
|
3020
3021
|
CONFIRMED: "CONFIRMED";
|
|
3021
3022
|
DISPATCHED: "DISPATCHED";
|
|
3022
3023
|
DELIVERING: "DELIVERING";
|
|
3023
3024
|
DELIVERED: "DELIVERED";
|
|
3024
3025
|
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
|
-
PAYMENT_WAITING: "PAYMENT_WAITING";
|
|
3178
3177
|
PAID: "PAID";
|
|
3178
|
+
CANCELED: "CANCELED";
|
|
3179
|
+
PAYMENT_WAITING: "PAYMENT_WAITING";
|
|
3179
3180
|
CONFIRMED: "CONFIRMED";
|
|
3180
3181
|
DISPATCHED: "DISPATCHED";
|
|
3181
3182
|
DELIVERING: "DELIVERING";
|
|
3182
3183
|
DELIVERED: "DELIVERED";
|
|
3183
3184
|
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
|
-
PAYMENT_WAITING: "PAYMENT_WAITING";
|
|
3270
3269
|
PAID: "PAID";
|
|
3270
|
+
CANCELED: "CANCELED";
|
|
3271
|
+
PAYMENT_WAITING: "PAYMENT_WAITING";
|
|
3271
3272
|
CONFIRMED: "CONFIRMED";
|
|
3272
3273
|
DISPATCHED: "DISPATCHED";
|
|
3273
3274
|
DELIVERING: "DELIVERING";
|
|
3274
3275
|
DELIVERED: "DELIVERED";
|
|
3275
3276
|
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
|
-
PAYMENT_WAITING: "PAYMENT_WAITING";
|
|
3294
3293
|
PAID: "PAID";
|
|
3294
|
+
CANCELED: "CANCELED";
|
|
3295
|
+
PAYMENT_WAITING: "PAYMENT_WAITING";
|
|
3295
3296
|
CONFIRMED: "CONFIRMED";
|
|
3296
3297
|
DISPATCHED: "DISPATCHED";
|
|
3297
3298
|
DELIVERING: "DELIVERING";
|
|
3298
3299
|
DELIVERED: "DELIVERED";
|
|
3299
3300
|
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
|
-
PAYMENT_WAITING: "PAYMENT_WAITING";
|
|
3385
3384
|
PAID: "PAID";
|
|
3385
|
+
CANCELED: "CANCELED";
|
|
3386
|
+
PAYMENT_WAITING: "PAYMENT_WAITING";
|
|
3386
3387
|
CONFIRMED: "CONFIRMED";
|
|
3387
3388
|
DISPATCHED: "DISPATCHED";
|
|
3388
3389
|
DELIVERING: "DELIVERING";
|
|
3389
3390
|
DELIVERED: "DELIVERED";
|
|
3390
3391
|
PURCHASE_DECIDED: "PURCHASE_DECIDED";
|
|
3391
|
-
CANCELED: "CANCELED";
|
|
3392
3392
|
}>>;
|
|
3393
3393
|
keyword: z.ZodOptional<z.ZodString>;
|
|
3394
3394
|
fulfillmentType: z.ZodOptional<z.ZodString>;
|
|
@@ -3441,16 +3441,16 @@ export interface OrderItemListParams extends PageParams {
|
|
|
3441
3441
|
testPayment?: "true" | "false";
|
|
3442
3442
|
}
|
|
3443
3443
|
export declare const deliveryMethodSchema: z.ZodEnum<{
|
|
3444
|
-
COURIER: "COURIER";
|
|
3445
3444
|
DIRECT: "DIRECT";
|
|
3445
|
+
COURIER: "COURIER";
|
|
3446
3446
|
QUICK: "QUICK";
|
|
3447
3447
|
NOTHING: "NOTHING";
|
|
3448
3448
|
}>;
|
|
3449
3449
|
export type DeliveryMethod = z.infer<typeof deliveryMethodSchema>;
|
|
3450
3450
|
export declare const dispatchRequestSchema: z.ZodObject<{
|
|
3451
3451
|
deliveryMethod: z.ZodEnum<{
|
|
3452
|
-
COURIER: "COURIER";
|
|
3453
3452
|
DIRECT: "DIRECT";
|
|
3453
|
+
COURIER: "COURIER";
|
|
3454
3454
|
QUICK: "QUICK";
|
|
3455
3455
|
NOTHING: "NOTHING";
|
|
3456
3456
|
}>;
|
|
@@ -3462,8 +3462,8 @@ export type DispatchRequest = z.infer<typeof dispatchRequestSchema>;
|
|
|
3462
3462
|
export declare const deliveryInfoSchema: z.ZodObject<{
|
|
3463
3463
|
orderItemId: z.ZodString;
|
|
3464
3464
|
deliveryMethod: z.ZodEnum<{
|
|
3465
|
-
COURIER: "COURIER";
|
|
3466
3465
|
DIRECT: "DIRECT";
|
|
3466
|
+
COURIER: "COURIER";
|
|
3467
3467
|
QUICK: "QUICK";
|
|
3468
3468
|
NOTHING: "NOTHING";
|
|
3469
3469
|
}>;
|
|
@@ -3489,8 +3489,8 @@ export declare const trackingStageResponseSchema: z.ZodString;
|
|
|
3489
3489
|
export declare const deliveryStatusSchema: z.ZodObject<{
|
|
3490
3490
|
orderItemId: z.ZodString;
|
|
3491
3491
|
deliveryMethod: z.ZodEnum<{
|
|
3492
|
-
COURIER: "COURIER";
|
|
3493
3492
|
DIRECT: "DIRECT";
|
|
3493
|
+
COURIER: "COURIER";
|
|
3494
3494
|
QUICK: "QUICK";
|
|
3495
3495
|
NOTHING: "NOTHING";
|
|
3496
3496
|
}>;
|
|
@@ -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
|
-
FAILED: "FAILED";
|
|
3654
3653
|
SUCCESS: "SUCCESS";
|
|
3654
|
+
FAILED: "FAILED";
|
|
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
|
-
FAILED: "FAILED";
|
|
3804
3803
|
SUCCESS: "SUCCESS";
|
|
3804
|
+
FAILED: "FAILED";
|
|
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
|
-
FAILED: "FAILED";
|
|
3906
3905
|
SUCCESS: "SUCCESS";
|
|
3906
|
+
FAILED: "FAILED";
|
|
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
|
-
FAILED: "FAILED";
|
|
3943
3942
|
SUCCESS: "SUCCESS";
|
|
3943
|
+
FAILED: "FAILED";
|
|
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
|
-
FAILED: "FAILED";
|
|
3979
3978
|
SUCCESS: "SUCCESS";
|
|
3979
|
+
FAILED: "FAILED";
|
|
3980
3980
|
}>;
|
|
3981
3981
|
message: z.ZodNullable<z.ZodString>;
|
|
3982
3982
|
checkedAt: z.ZodString;
|
|
@@ -4013,6 +4013,21 @@ export type PaymentProvider = z.infer<typeof paymentProviderSchema>;
|
|
|
4013
4013
|
*/
|
|
4014
4014
|
export declare const PAYMENT_ROUTING_EXCLUSION_CODES: readonly ["NOT_CONNECTED", "DISABLED", "CREDENTIAL_MISSING", "SANDBOX_IN_LIVE_STORE", "PLATFORM_BLOCKED", "MODE_MISMATCH"];
|
|
4015
4015
|
export type KnownPaymentRoutingExclusion = (typeof PAYMENT_ROUTING_EXCLUSION_CODES)[number];
|
|
4016
|
+
/**
|
|
4017
|
+
* 결제수단 반복 실패 경고(#86 후속) — 같은 PG·결제수단(·간편결제사)이 가맹점 설정 문제(구매자가 고칠 수 없는 실패, 예: KG이니시스
|
|
4018
|
+
* `V105 [NO MPI SET] 전용화면 미설정`)로 기간 안에 여러 번 실패했다. 구매자에게는 「이 결제수단은 지금 사용할 수 없습니다」가 보이고,
|
|
4019
|
+
* PG 관리자에서 그 결제수단의 전용 화면·채널을 설정해야 다시 쓸 수 있다
|
|
4020
|
+
*/
|
|
4021
|
+
export declare const paymentFailureWarningSchema: z.ZodObject<{
|
|
4022
|
+
provider: z.ZodString;
|
|
4023
|
+
method: z.ZodString;
|
|
4024
|
+
easyPayProvider: z.ZodNullable<z.ZodString>;
|
|
4025
|
+
code: z.ZodNullable<z.ZodString>;
|
|
4026
|
+
count: z.ZodNumber;
|
|
4027
|
+
lastAt: z.ZodString;
|
|
4028
|
+
message: z.ZodNullable<z.ZodString>;
|
|
4029
|
+
}, z.core.$strip>;
|
|
4030
|
+
export type PaymentFailureWarning = z.infer<typeof paymentFailureWarningSchema>;
|
|
4016
4031
|
export declare const paymentSettingsSchema: z.ZodObject<{
|
|
4017
4032
|
checkoutOrigins: z.ZodArray<z.ZodString>;
|
|
4018
4033
|
providers: z.ZodArray<z.ZodObject<{
|
|
@@ -4051,8 +4066,8 @@ export declare const paymentSettingsSchema: z.ZodObject<{
|
|
|
4051
4066
|
}, z.core.$strip>>;
|
|
4052
4067
|
lastVerification: z.ZodNullable<z.ZodObject<{
|
|
4053
4068
|
result: z.ZodEnum<{
|
|
4054
|
-
FAILED: "FAILED";
|
|
4055
4069
|
SUCCESS: "SUCCESS";
|
|
4070
|
+
FAILED: "FAILED";
|
|
4056
4071
|
}>;
|
|
4057
4072
|
message: z.ZodNullable<z.ZodString>;
|
|
4058
4073
|
checkedAt: z.ZodString;
|
|
@@ -4088,8 +4103,8 @@ export declare const paymentSettingsSchema: z.ZodObject<{
|
|
|
4088
4103
|
}, z.core.$strip>>;
|
|
4089
4104
|
lastVerification: z.ZodNullable<z.ZodObject<{
|
|
4090
4105
|
result: z.ZodEnum<{
|
|
4091
|
-
FAILED: "FAILED";
|
|
4092
4106
|
SUCCESS: "SUCCESS";
|
|
4107
|
+
FAILED: "FAILED";
|
|
4093
4108
|
}>;
|
|
4094
4109
|
message: z.ZodNullable<z.ZodString>;
|
|
4095
4110
|
checkedAt: z.ZodString;
|
|
@@ -4124,8 +4139,8 @@ export declare const paymentSettingsSchema: z.ZodObject<{
|
|
|
4124
4139
|
}, z.core.$strip>>;
|
|
4125
4140
|
lastVerification: z.ZodNullable<z.ZodObject<{
|
|
4126
4141
|
result: z.ZodEnum<{
|
|
4127
|
-
FAILED: "FAILED";
|
|
4128
4142
|
SUCCESS: "SUCCESS";
|
|
4143
|
+
FAILED: "FAILED";
|
|
4129
4144
|
}>;
|
|
4130
4145
|
message: z.ZodNullable<z.ZodString>;
|
|
4131
4146
|
checkedAt: z.ZodString;
|
|
@@ -4160,6 +4175,15 @@ export declare const paymentSettingsSchema: z.ZodObject<{
|
|
|
4160
4175
|
LIVE: "LIVE";
|
|
4161
4176
|
}>>>>;
|
|
4162
4177
|
candidates: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodString>>>;
|
|
4178
|
+
warnings: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
4179
|
+
provider: z.ZodString;
|
|
4180
|
+
method: z.ZodString;
|
|
4181
|
+
easyPayProvider: z.ZodNullable<z.ZodString>;
|
|
4182
|
+
code: z.ZodNullable<z.ZodString>;
|
|
4183
|
+
count: z.ZodNumber;
|
|
4184
|
+
lastAt: z.ZodString;
|
|
4185
|
+
message: z.ZodNullable<z.ZodString>;
|
|
4186
|
+
}, z.core.$strip>>>>;
|
|
4163
4187
|
}, z.core.$strip>;
|
|
4164
4188
|
export type PaymentSettings = z.infer<typeof paymentSettingsSchema>;
|
|
4165
4189
|
export declare const paymentProviderVerificationSchema: z.ZodObject<{
|
|
@@ -4172,8 +4196,8 @@ export declare const paymentProviderVerificationSchema: z.ZodObject<{
|
|
|
4172
4196
|
LIVE: "LIVE";
|
|
4173
4197
|
}>;
|
|
4174
4198
|
result: z.ZodEnum<{
|
|
4175
|
-
FAILED: "FAILED";
|
|
4176
4199
|
SUCCESS: "SUCCESS";
|
|
4200
|
+
FAILED: "FAILED";
|
|
4177
4201
|
}>;
|
|
4178
4202
|
message: z.ZodNullable<z.ZodString>;
|
|
4179
4203
|
checkedAt: z.ZodString;
|
|
@@ -4303,8 +4327,8 @@ export type SalesReport = z.infer<typeof salesReportSchema>;
|
|
|
4303
4327
|
* - `FAILED`: 승인되지 않고 끝났다(거절·준비 장애·구매자 취소·만료)
|
|
4304
4328
|
*/
|
|
4305
4329
|
export declare const paymentRecordStatusSchema: z.ZodEnum<{
|
|
4306
|
-
FAILED: "FAILED";
|
|
4307
4330
|
PENDING: "PENDING";
|
|
4331
|
+
FAILED: "FAILED";
|
|
4308
4332
|
APPROVED: "APPROVED";
|
|
4309
4333
|
PARTIALLY_REFUNDED: "PARTIALLY_REFUNDED";
|
|
4310
4334
|
REFUNDED: "REFUNDED";
|
|
@@ -4351,8 +4375,8 @@ export declare const paymentRecordSchema: z.ZodObject<{
|
|
|
4351
4375
|
orderName: z.ZodString;
|
|
4352
4376
|
customerName: z.ZodString;
|
|
4353
4377
|
status: z.ZodEnum<{
|
|
4354
|
-
FAILED: "FAILED";
|
|
4355
4378
|
PENDING: "PENDING";
|
|
4379
|
+
FAILED: "FAILED";
|
|
4356
4380
|
APPROVED: "APPROVED";
|
|
4357
4381
|
PARTIALLY_REFUNDED: "PARTIALLY_REFUNDED";
|
|
4358
4382
|
REFUNDED: "REFUNDED";
|
|
@@ -4397,8 +4421,8 @@ export declare const paymentRecordPageSchema: z.ZodObject<{
|
|
|
4397
4421
|
orderName: z.ZodString;
|
|
4398
4422
|
customerName: z.ZodString;
|
|
4399
4423
|
status: z.ZodEnum<{
|
|
4400
|
-
FAILED: "FAILED";
|
|
4401
4424
|
PENDING: "PENDING";
|
|
4425
|
+
FAILED: "FAILED";
|
|
4402
4426
|
APPROVED: "APPROVED";
|
|
4403
4427
|
PARTIALLY_REFUNDED: "PARTIALLY_REFUNDED";
|
|
4404
4428
|
REFUNDED: "REFUNDED";
|
|
@@ -4486,8 +4510,8 @@ export declare const paymentRecordDetailSchema: z.ZodObject<{
|
|
|
4486
4510
|
orderName: z.ZodString;
|
|
4487
4511
|
customerName: z.ZodString;
|
|
4488
4512
|
status: z.ZodEnum<{
|
|
4489
|
-
FAILED: "FAILED";
|
|
4490
4513
|
PENDING: "PENDING";
|
|
4514
|
+
FAILED: "FAILED";
|
|
4491
4515
|
APPROVED: "APPROVED";
|
|
4492
4516
|
PARTIALLY_REFUNDED: "PARTIALLY_REFUNDED";
|
|
4493
4517
|
REFUNDED: "REFUNDED";
|
|
@@ -4614,20 +4638,20 @@ export interface PaymentListParams extends PageParams {
|
|
|
4614
4638
|
//#endregion
|
|
4615
4639
|
//#region src/schemas/product.d.ts
|
|
4616
4640
|
export declare const productStatusSchema: z.ZodEnum<{
|
|
4617
|
-
SUSPENDED: "SUSPENDED";
|
|
4618
|
-
CLOSED: "CLOSED";
|
|
4619
4641
|
SALE: "SALE";
|
|
4642
|
+
SUSPENDED: "SUSPENDED";
|
|
4620
4643
|
OUT_OF_STOCK: "OUT_OF_STOCK";
|
|
4644
|
+
CLOSED: "CLOSED";
|
|
4621
4645
|
}>;
|
|
4622
4646
|
export type ProductStatus = z.infer<typeof productStatusSchema>;
|
|
4623
4647
|
export declare const productSummarySchema: z.ZodObject<{
|
|
4624
4648
|
productId: z.ZodString;
|
|
4625
4649
|
name: z.ZodString;
|
|
4626
4650
|
status: z.ZodEnum<{
|
|
4627
|
-
SUSPENDED: "SUSPENDED";
|
|
4628
|
-
CLOSED: "CLOSED";
|
|
4629
4651
|
SALE: "SALE";
|
|
4652
|
+
SUSPENDED: "SUSPENDED";
|
|
4630
4653
|
OUT_OF_STOCK: "OUT_OF_STOCK";
|
|
4654
|
+
CLOSED: "CLOSED";
|
|
4631
4655
|
}>;
|
|
4632
4656
|
salePrice: z.ZodNumber;
|
|
4633
4657
|
discountedPrice: z.ZodNullable<z.ZodNumber>;
|
|
@@ -4811,10 +4835,10 @@ export declare const productSchema: z.ZodObject<{
|
|
|
4811
4835
|
productId: z.ZodString;
|
|
4812
4836
|
name: z.ZodString;
|
|
4813
4837
|
status: z.ZodEnum<{
|
|
4814
|
-
SUSPENDED: "SUSPENDED";
|
|
4815
|
-
CLOSED: "CLOSED";
|
|
4816
4838
|
SALE: "SALE";
|
|
4839
|
+
SUSPENDED: "SUSPENDED";
|
|
4817
4840
|
OUT_OF_STOCK: "OUT_OF_STOCK";
|
|
4841
|
+
CLOSED: "CLOSED";
|
|
4818
4842
|
}>;
|
|
4819
4843
|
salePrice: z.ZodNumber;
|
|
4820
4844
|
discountedPrice: z.ZodNullable<z.ZodNumber>;
|
|
@@ -5279,10 +5303,10 @@ export declare const productPatchRequestSchema: z.ZodObject<{
|
|
|
5279
5303
|
name: z.ZodOptional<z.ZodString>;
|
|
5280
5304
|
salePrice: z.ZodOptional<z.ZodNumber>;
|
|
5281
5305
|
status: z.ZodOptional<z.ZodEnum<{
|
|
5282
|
-
SUSPENDED: "SUSPENDED";
|
|
5283
|
-
CLOSED: "CLOSED";
|
|
5284
5306
|
SALE: "SALE";
|
|
5307
|
+
SUSPENDED: "SUSPENDED";
|
|
5285
5308
|
OUT_OF_STOCK: "OUT_OF_STOCK";
|
|
5309
|
+
CLOSED: "CLOSED";
|
|
5286
5310
|
}>>;
|
|
5287
5311
|
images: z.ZodOptional<z.ZodArray<z.ZodURL>>;
|
|
5288
5312
|
fulfillment: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
@@ -5330,10 +5354,10 @@ export declare const productListQuerySchema: z.ZodObject<{
|
|
|
5330
5354
|
page: z.ZodOptional<z.ZodString>;
|
|
5331
5355
|
size: z.ZodOptional<z.ZodString>;
|
|
5332
5356
|
status: z.ZodOptional<z.ZodEnum<{
|
|
5333
|
-
SUSPENDED: "SUSPENDED";
|
|
5334
|
-
CLOSED: "CLOSED";
|
|
5335
5357
|
SALE: "SALE";
|
|
5358
|
+
SUSPENDED: "SUSPENDED";
|
|
5336
5359
|
OUT_OF_STOCK: "OUT_OF_STOCK";
|
|
5360
|
+
CLOSED: "CLOSED";
|
|
5337
5361
|
}>>;
|
|
5338
5362
|
categoryId: z.ZodOptional<z.ZodString>;
|
|
5339
5363
|
keyword: z.ZodOptional<z.ZodString>;
|
|
@@ -5710,9 +5734,9 @@ export declare const storeSchema: z.ZodObject<{
|
|
|
5710
5734
|
storeCode: z.ZodString;
|
|
5711
5735
|
storefrontUrl: z.ZodURL;
|
|
5712
5736
|
status: z.ZodEnum<{
|
|
5713
|
-
ACTIVE: "ACTIVE";
|
|
5714
5737
|
SUSPENDED: "SUSPENDED";
|
|
5715
5738
|
CLOSED: "CLOSED";
|
|
5739
|
+
ACTIVE: "ACTIVE";
|
|
5716
5740
|
}>;
|
|
5717
5741
|
logoUrl: z.ZodNullable<z.ZodURL>;
|
|
5718
5742
|
businessNumber: z.ZodNullable<z.ZodString>;
|
|
@@ -5724,9 +5748,9 @@ export declare const storeMemberSchema: z.ZodObject<{
|
|
|
5724
5748
|
name: z.ZodString;
|
|
5725
5749
|
email: z.ZodEmail;
|
|
5726
5750
|
role: z.ZodEnum<{
|
|
5727
|
-
OWNER: "OWNER";
|
|
5728
5751
|
ADMIN: "ADMIN";
|
|
5729
5752
|
STAFF: "STAFF";
|
|
5753
|
+
OWNER: "OWNER";
|
|
5730
5754
|
}>;
|
|
5731
5755
|
joinedAt: z.ZodString;
|
|
5732
5756
|
lastActiveAt: z.ZodNullable<z.ZodString>;
|
|
@@ -5751,10 +5775,10 @@ export declare const invitationSchema: z.ZodObject<{
|
|
|
5751
5775
|
STAFF: "STAFF";
|
|
5752
5776
|
}>;
|
|
5753
5777
|
status: z.ZodEnum<{
|
|
5754
|
-
CANCELED: "CANCELED";
|
|
5755
5778
|
PENDING: "PENDING";
|
|
5756
5779
|
EXPIRED: "EXPIRED";
|
|
5757
5780
|
ACCEPTED: "ACCEPTED";
|
|
5781
|
+
CANCELED: "CANCELED";
|
|
5758
5782
|
}>;
|
|
5759
5783
|
invitedBy: z.ZodString;
|
|
5760
5784
|
expiresAt: z.ZodString;
|
|
@@ -5791,10 +5815,10 @@ export type UpdateMemberRoleRequest = z.infer<typeof updateMemberRoleRequestSche
|
|
|
5791
5815
|
/** `GET /v1/store/invitations` 쿼리 — OpenAPI 문서용 형태 */
|
|
5792
5816
|
export declare const invitationListQuerySchema: z.ZodObject<{
|
|
5793
5817
|
status: z.ZodOptional<z.ZodEnum<{
|
|
5794
|
-
CANCELED: "CANCELED";
|
|
5795
5818
|
PENDING: "PENDING";
|
|
5796
5819
|
EXPIRED: "EXPIRED";
|
|
5797
5820
|
ACCEPTED: "ACCEPTED";
|
|
5821
|
+
CANCELED: "CANCELED";
|
|
5798
5822
|
}>>;
|
|
5799
5823
|
}, z.core.$strip>;
|
|
5800
5824
|
/** `PATCH /v1/store/members/{userId}` 응답 — 바뀐 역할 */
|
|
@@ -5990,9 +6014,9 @@ export declare const storefrontVersionSchema: z.ZodObject<{
|
|
|
5990
6014
|
}, z.core.$strip>;
|
|
5991
6015
|
export type StorefrontVersion = z.infer<typeof storefrontVersionSchema>;
|
|
5992
6016
|
export declare const storefrontSiteStatusSchema: z.ZodEnum<{
|
|
5993
|
-
ACTIVE: "ACTIVE";
|
|
5994
6017
|
SUSPENDED: "SUSPENDED";
|
|
5995
6018
|
CLOSED: "CLOSED";
|
|
6019
|
+
ACTIVE: "ACTIVE";
|
|
5996
6020
|
}>;
|
|
5997
6021
|
export type StorefrontSiteStatus = z.infer<typeof storefrontSiteStatusSchema>;
|
|
5998
6022
|
export declare const storefrontVisibilitySchema: z.ZodEnum<{
|
|
@@ -6024,8 +6048,8 @@ export type StorefrontDomain = z.infer<typeof storefrontDomainSchema>;
|
|
|
6024
6048
|
*/
|
|
6025
6049
|
export declare const storefrontProvisioningSchema: z.ZodObject<{
|
|
6026
6050
|
status: z.ZodEnum<{
|
|
6027
|
-
FAILED: "FAILED";
|
|
6028
6051
|
PENDING: "PENDING";
|
|
6052
|
+
FAILED: "FAILED";
|
|
6029
6053
|
SYNCED: "SYNCED";
|
|
6030
6054
|
}>;
|
|
6031
6055
|
lastErrorCode: z.ZodNullable<z.ZodString>;
|
|
@@ -6073,9 +6097,9 @@ export declare const storefrontSiteSchema: z.ZodObject<{
|
|
|
6073
6097
|
MANAGED: "MANAGED";
|
|
6074
6098
|
}>;
|
|
6075
6099
|
status: z.ZodEnum<{
|
|
6076
|
-
ACTIVE: "ACTIVE";
|
|
6077
6100
|
SUSPENDED: "SUSPENDED";
|
|
6078
6101
|
CLOSED: "CLOSED";
|
|
6102
|
+
ACTIVE: "ACTIVE";
|
|
6079
6103
|
}>;
|
|
6080
6104
|
visibility: z.ZodEnum<{
|
|
6081
6105
|
COMING_SOON: "COMING_SOON";
|
|
@@ -6105,8 +6129,8 @@ export declare const storefrontSiteSchema: z.ZodObject<{
|
|
|
6105
6129
|
}, z.core.$strip>>;
|
|
6106
6130
|
provisioning: z.ZodObject<{
|
|
6107
6131
|
status: z.ZodEnum<{
|
|
6108
|
-
FAILED: "FAILED";
|
|
6109
6132
|
PENDING: "PENDING";
|
|
6133
|
+
FAILED: "FAILED";
|
|
6110
6134
|
SYNCED: "SYNCED";
|
|
6111
6135
|
}>;
|
|
6112
6136
|
lastErrorCode: z.ZodNullable<z.ZodString>;
|
|
@@ -6153,9 +6177,9 @@ export declare const storefrontHostingSchema: z.ZodObject<{
|
|
|
6153
6177
|
MANAGED: "MANAGED";
|
|
6154
6178
|
}>;
|
|
6155
6179
|
status: z.ZodEnum<{
|
|
6156
|
-
ACTIVE: "ACTIVE";
|
|
6157
6180
|
SUSPENDED: "SUSPENDED";
|
|
6158
6181
|
CLOSED: "CLOSED";
|
|
6182
|
+
ACTIVE: "ACTIVE";
|
|
6159
6183
|
}>;
|
|
6160
6184
|
visibility: z.ZodEnum<{
|
|
6161
6185
|
COMING_SOON: "COMING_SOON";
|
|
@@ -6185,8 +6209,8 @@ export declare const storefrontHostingSchema: z.ZodObject<{
|
|
|
6185
6209
|
}, z.core.$strip>>;
|
|
6186
6210
|
provisioning: z.ZodObject<{
|
|
6187
6211
|
status: z.ZodEnum<{
|
|
6188
|
-
FAILED: "FAILED";
|
|
6189
6212
|
PENDING: "PENDING";
|
|
6213
|
+
FAILED: "FAILED";
|
|
6190
6214
|
SYNCED: "SYNCED";
|
|
6191
6215
|
}>;
|
|
6192
6216
|
lastErrorCode: z.ZodNullable<z.ZodString>;
|
|
@@ -6228,8 +6252,8 @@ export declare const storefrontDeploymentStepSchema: z.ZodObject<{
|
|
|
6228
6252
|
PUBLISH: "PUBLISH";
|
|
6229
6253
|
}>;
|
|
6230
6254
|
status: z.ZodEnum<{
|
|
6231
|
-
FAILED: "FAILED";
|
|
6232
6255
|
PENDING: "PENDING";
|
|
6256
|
+
FAILED: "FAILED";
|
|
6233
6257
|
RUNNING: "RUNNING";
|
|
6234
6258
|
DONE: "DONE";
|
|
6235
6259
|
}>;
|
|
@@ -6250,9 +6274,9 @@ export type StorefrontDeploymentLog = z.infer<typeof storefrontDeploymentLogSche
|
|
|
6250
6274
|
export declare const storefrontDeploymentSchema: z.ZodObject<{
|
|
6251
6275
|
siteId: z.ZodString;
|
|
6252
6276
|
status: z.ZodEnum<{
|
|
6253
|
-
SUCCEEDED: "SUCCEEDED";
|
|
6254
|
-
FAILED: "FAILED";
|
|
6255
6277
|
IN_PROGRESS: "IN_PROGRESS";
|
|
6278
|
+
FAILED: "FAILED";
|
|
6279
|
+
SUCCEEDED: "SUCCEEDED";
|
|
6256
6280
|
}>;
|
|
6257
6281
|
url: z.ZodString;
|
|
6258
6282
|
startedAt: z.ZodString;
|
|
@@ -6264,8 +6288,8 @@ export declare const storefrontDeploymentSchema: z.ZodObject<{
|
|
|
6264
6288
|
PUBLISH: "PUBLISH";
|
|
6265
6289
|
}>;
|
|
6266
6290
|
status: z.ZodEnum<{
|
|
6267
|
-
FAILED: "FAILED";
|
|
6268
6291
|
PENDING: "PENDING";
|
|
6292
|
+
FAILED: "FAILED";
|
|
6269
6293
|
RUNNING: "RUNNING";
|
|
6270
6294
|
DONE: "DONE";
|
|
6271
6295
|
}>;
|
|
@@ -6385,8 +6409,8 @@ export declare function storefrontCustomHostnameProblem(hostname: string, hostin
|
|
|
6385
6409
|
/** 소유 확인 TXT 레코드의 전체 이름 */
|
|
6386
6410
|
export declare function storefrontDomainTxtNameOf(hostname: string): string;
|
|
6387
6411
|
export declare const storefrontCustomDomainStatusSchema: z.ZodEnum<{
|
|
6388
|
-
FAILED: "FAILED";
|
|
6389
6412
|
ACTIVE: "ACTIVE";
|
|
6413
|
+
FAILED: "FAILED";
|
|
6390
6414
|
PENDING_DNS: "PENDING_DNS";
|
|
6391
6415
|
PENDING_VALIDATION: "PENDING_VALIDATION";
|
|
6392
6416
|
}>;
|
|
@@ -6412,8 +6436,8 @@ export declare const storefrontSiteDomainSchema: z.ZodObject<{
|
|
|
6412
6436
|
CUSTOM: "CUSTOM";
|
|
6413
6437
|
}>;
|
|
6414
6438
|
status: z.ZodEnum<{
|
|
6415
|
-
FAILED: "FAILED";
|
|
6416
6439
|
ACTIVE: "ACTIVE";
|
|
6440
|
+
FAILED: "FAILED";
|
|
6417
6441
|
PENDING_DNS: "PENDING_DNS";
|
|
6418
6442
|
PENDING_VALIDATION: "PENDING_VALIDATION";
|
|
6419
6443
|
}>;
|
|
@@ -6431,9 +6455,9 @@ export declare const storefrontSiteDomainSchema: z.ZodObject<{
|
|
|
6431
6455
|
}>;
|
|
6432
6456
|
}, z.core.$strip>>;
|
|
6433
6457
|
certificateStatus: z.ZodNullable<z.ZodEnum<{
|
|
6434
|
-
FAILED: "FAILED";
|
|
6435
|
-
PENDING: "PENDING";
|
|
6436
6458
|
ACTIVE: "ACTIVE";
|
|
6459
|
+
PENDING: "PENDING";
|
|
6460
|
+
FAILED: "FAILED";
|
|
6437
6461
|
}>>;
|
|
6438
6462
|
failureCode: z.ZodNullable<z.ZodString>;
|
|
6439
6463
|
verifiedAt: z.ZodNullable<z.ZodString>;
|
|
@@ -6455,8 +6479,8 @@ export declare const storefrontSiteDomainsSchema: z.ZodObject<{
|
|
|
6455
6479
|
CUSTOM: "CUSTOM";
|
|
6456
6480
|
}>;
|
|
6457
6481
|
status: z.ZodEnum<{
|
|
6458
|
-
FAILED: "FAILED";
|
|
6459
6482
|
ACTIVE: "ACTIVE";
|
|
6483
|
+
FAILED: "FAILED";
|
|
6460
6484
|
PENDING_DNS: "PENDING_DNS";
|
|
6461
6485
|
PENDING_VALIDATION: "PENDING_VALIDATION";
|
|
6462
6486
|
}>;
|
|
@@ -6474,9 +6498,9 @@ export declare const storefrontSiteDomainsSchema: z.ZodObject<{
|
|
|
6474
6498
|
}>;
|
|
6475
6499
|
}, z.core.$strip>>;
|
|
6476
6500
|
certificateStatus: z.ZodNullable<z.ZodEnum<{
|
|
6477
|
-
FAILED: "FAILED";
|
|
6478
|
-
PENDING: "PENDING";
|
|
6479
6501
|
ACTIVE: "ACTIVE";
|
|
6502
|
+
PENDING: "PENDING";
|
|
6503
|
+
FAILED: "FAILED";
|
|
6480
6504
|
}>>;
|
|
6481
6505
|
failureCode: z.ZodNullable<z.ZodString>;
|
|
6482
6506
|
verifiedAt: z.ZodNullable<z.ZodString>;
|
|
@@ -6710,8 +6734,8 @@ export declare const runStorefrontCheckRequestSchema: z.ZodObject<{
|
|
|
6710
6734
|
}, z.core.$strip>;
|
|
6711
6735
|
export type RunStorefrontCheckRequest = z.infer<typeof runStorefrontCheckRequestSchema>;
|
|
6712
6736
|
export declare const storefrontCheckStatusSchema: z.ZodEnum<{
|
|
6713
|
-
FAILED: "FAILED";
|
|
6714
6737
|
UNKNOWN: "UNKNOWN";
|
|
6738
|
+
FAILED: "FAILED";
|
|
6715
6739
|
RUNNING: "RUNNING";
|
|
6716
6740
|
QUEUED: "QUEUED";
|
|
6717
6741
|
PASSED: "PASSED";
|
|
@@ -6724,8 +6748,8 @@ export declare const storefrontCheckSchema: z.ZodObject<{
|
|
|
6724
6748
|
checkId: z.ZodString;
|
|
6725
6749
|
check: z.ZodString;
|
|
6726
6750
|
status: z.ZodEnum<{
|
|
6727
|
-
FAILED: "FAILED";
|
|
6728
6751
|
UNKNOWN: "UNKNOWN";
|
|
6752
|
+
FAILED: "FAILED";
|
|
6729
6753
|
RUNNING: "RUNNING";
|
|
6730
6754
|
QUEUED: "QUEUED";
|
|
6731
6755
|
PASSED: "PASSED";
|
|
@@ -6809,8 +6833,8 @@ export declare const storefrontVerifyReportSchema: z.ZodObject<{
|
|
|
6809
6833
|
}, z.core.$strip>;
|
|
6810
6834
|
export type StorefrontVerifyReport = z.infer<typeof storefrontVerifyReportSchema>;
|
|
6811
6835
|
export declare const storefrontBuildStatusSchema: z.ZodEnum<{
|
|
6812
|
-
SUCCEEDED: "SUCCEEDED";
|
|
6813
6836
|
FAILED: "FAILED";
|
|
6837
|
+
SUCCEEDED: "SUCCEEDED";
|
|
6814
6838
|
RUNNING: "RUNNING";
|
|
6815
6839
|
QUEUED: "QUEUED";
|
|
6816
6840
|
TIMED_OUT: "TIMED_OUT";
|
|
@@ -6877,8 +6901,8 @@ export declare const storefrontBuildSchema: z.ZodObject<{
|
|
|
6877
6901
|
versionId: z.ZodString;
|
|
6878
6902
|
versionNumber: z.ZodNumber;
|
|
6879
6903
|
status: z.ZodEnum<{
|
|
6880
|
-
SUCCEEDED: "SUCCEEDED";
|
|
6881
6904
|
FAILED: "FAILED";
|
|
6905
|
+
SUCCEEDED: "SUCCEEDED";
|
|
6882
6906
|
RUNNING: "RUNNING";
|
|
6883
6907
|
QUEUED: "QUEUED";
|
|
6884
6908
|
TIMED_OUT: "TIMED_OUT";
|
|
@@ -7006,8 +7030,8 @@ export declare const storefrontVersionCreatedSchema: z.ZodObject<{
|
|
|
7006
7030
|
versionId: z.ZodString;
|
|
7007
7031
|
versionNumber: z.ZodNumber;
|
|
7008
7032
|
status: z.ZodEnum<{
|
|
7009
|
-
SUCCEEDED: "SUCCEEDED";
|
|
7010
7033
|
FAILED: "FAILED";
|
|
7034
|
+
SUCCEEDED: "SUCCEEDED";
|
|
7011
7035
|
RUNNING: "RUNNING";
|
|
7012
7036
|
QUEUED: "QUEUED";
|
|
7013
7037
|
TIMED_OUT: "TIMED_OUT";
|
|
@@ -7259,9 +7283,9 @@ export type UploadTicket = z.infer<typeof uploadTicketSchema>;
|
|
|
7259
7283
|
//#endregion
|
|
7260
7284
|
//#region src/schemas/auth.d.ts
|
|
7261
7285
|
export declare const storeRoleSchema: z.ZodEnum<{
|
|
7262
|
-
OWNER: "OWNER";
|
|
7263
7286
|
ADMIN: "ADMIN";
|
|
7264
7287
|
STAFF: "STAFF";
|
|
7288
|
+
OWNER: "OWNER";
|
|
7265
7289
|
}>;
|
|
7266
7290
|
export type StoreRole = z.infer<typeof storeRoleSchema>;
|
|
7267
7291
|
export declare const myStoreSchema: z.ZodObject<{
|
|
@@ -7269,14 +7293,14 @@ export declare const myStoreSchema: z.ZodObject<{
|
|
|
7269
7293
|
storeName: z.ZodString;
|
|
7270
7294
|
storeCode: z.ZodString;
|
|
7271
7295
|
role: z.ZodEnum<{
|
|
7272
|
-
OWNER: "OWNER";
|
|
7273
7296
|
ADMIN: "ADMIN";
|
|
7274
7297
|
STAFF: "STAFF";
|
|
7298
|
+
OWNER: "OWNER";
|
|
7275
7299
|
}>;
|
|
7276
7300
|
status: z.ZodEnum<{
|
|
7277
|
-
ACTIVE: "ACTIVE";
|
|
7278
7301
|
SUSPENDED: "SUSPENDED";
|
|
7279
7302
|
CLOSED: "CLOSED";
|
|
7303
|
+
ACTIVE: "ACTIVE";
|
|
7280
7304
|
}>;
|
|
7281
7305
|
}, z.core.$strip>;
|
|
7282
7306
|
export type MyStore = z.infer<typeof myStoreSchema>;
|
|
@@ -7431,8 +7455,8 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
7431
7455
|
storeId: string;
|
|
7432
7456
|
storeName: string;
|
|
7433
7457
|
storeCode: string;
|
|
7434
|
-
role: "
|
|
7435
|
-
status: "
|
|
7458
|
+
role: "ADMIN" | "STAFF" | "OWNER";
|
|
7459
|
+
status: "SUSPENDED" | "CLOSED" | "ACTIVE";
|
|
7436
7460
|
}[]>;
|
|
7437
7461
|
me: () => Promise<{
|
|
7438
7462
|
userId: string;
|
|
@@ -7471,7 +7495,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
7471
7495
|
contents: {
|
|
7472
7496
|
productId: string;
|
|
7473
7497
|
name: string;
|
|
7474
|
-
status: "
|
|
7498
|
+
status: "SALE" | "SUSPENDED" | "OUT_OF_STOCK" | "CLOSED";
|
|
7475
7499
|
salePrice: number;
|
|
7476
7500
|
discountedPrice: number | null;
|
|
7477
7501
|
stockQuantity: number;
|
|
@@ -7488,7 +7512,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
7488
7512
|
get: (productId: string) => Promise<{
|
|
7489
7513
|
productId: string;
|
|
7490
7514
|
name: string;
|
|
7491
|
-
status: "
|
|
7515
|
+
status: "SALE" | "SUSPENDED" | "OUT_OF_STOCK" | "CLOSED";
|
|
7492
7516
|
salePrice: number;
|
|
7493
7517
|
discountedPrice: number | null;
|
|
7494
7518
|
stockQuantity: number;
|
|
@@ -7585,7 +7609,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
7585
7609
|
create: (body: ProductCreateRequestInput, idempotencyKey?: string) => Promise<{
|
|
7586
7610
|
productId: string;
|
|
7587
7611
|
name: string;
|
|
7588
|
-
status: "
|
|
7612
|
+
status: "SALE" | "SUSPENDED" | "OUT_OF_STOCK" | "CLOSED";
|
|
7589
7613
|
salePrice: number;
|
|
7590
7614
|
discountedPrice: number | null;
|
|
7591
7615
|
stockQuantity: number;
|
|
@@ -7682,7 +7706,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
7682
7706
|
update: (productId: string, body: ProductReplaceRequestInput) => Promise<{
|
|
7683
7707
|
productId: string;
|
|
7684
7708
|
name: string;
|
|
7685
|
-
status: "
|
|
7709
|
+
status: "SALE" | "SUSPENDED" | "OUT_OF_STOCK" | "CLOSED";
|
|
7686
7710
|
salePrice: number;
|
|
7687
7711
|
discountedPrice: number | null;
|
|
7688
7712
|
stockQuantity: number;
|
|
@@ -8216,7 +8240,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
8216
8240
|
ordererName: string;
|
|
8217
8241
|
itemCount: number;
|
|
8218
8242
|
totalAmount: number;
|
|
8219
|
-
representativeStatus: "
|
|
8243
|
+
representativeStatus: "PAID" | "CANCELED" | "PAYMENT_WAITING" | "CONFIRMED" | "DISPATCHED" | "DELIVERING" | "DELIVERED" | "PURCHASE_DECIDED";
|
|
8220
8244
|
orderedAt: string;
|
|
8221
8245
|
testPayment: boolean;
|
|
8222
8246
|
}[];
|
|
@@ -8281,7 +8305,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
8281
8305
|
items: {
|
|
8282
8306
|
orderItemId: string;
|
|
8283
8307
|
orderId: string;
|
|
8284
|
-
status: "
|
|
8308
|
+
status: "PAID" | "CANCELED" | "PAYMENT_WAITING" | "CONFIRMED" | "DISPATCHED" | "DELIVERING" | "DELIVERED" | "PURCHASE_DECIDED";
|
|
8285
8309
|
claimStatus: "CANCEL_REQUESTED" | "RETURN_REQUESTED" | "EXCHANGE_REQUESTED" | null;
|
|
8286
8310
|
productId: string;
|
|
8287
8311
|
productName: string;
|
|
@@ -8366,7 +8390,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
8366
8390
|
contents: {
|
|
8367
8391
|
orderItemId: string;
|
|
8368
8392
|
orderId: string;
|
|
8369
|
-
status: "
|
|
8393
|
+
status: "PAID" | "CANCELED" | "PAYMENT_WAITING" | "CONFIRMED" | "DISPATCHED" | "DELIVERING" | "DELIVERED" | "PURCHASE_DECIDED";
|
|
8370
8394
|
claimStatus: "CANCEL_REQUESTED" | "RETURN_REQUESTED" | "EXCHANGE_REQUESTED" | null;
|
|
8371
8395
|
productId: string;
|
|
8372
8396
|
productName: string;
|
|
@@ -8450,7 +8474,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
8450
8474
|
}>;
|
|
8451
8475
|
dispatch: (orderItemId: string, body: DispatchRequest, idempotencyKey?: string) => Promise<{
|
|
8452
8476
|
orderItemId: string;
|
|
8453
|
-
deliveryMethod: "
|
|
8477
|
+
deliveryMethod: "DIRECT" | "COURIER" | "QUICK" | "NOTHING";
|
|
8454
8478
|
carrierCode: string | null;
|
|
8455
8479
|
carrierName: string | null;
|
|
8456
8480
|
trackingNumber: string | null;
|
|
@@ -8479,7 +8503,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
8479
8503
|
markDelivered: (orderItemId: string, idempotencyKey?: string) => Promise<{
|
|
8480
8504
|
orderItemId: string;
|
|
8481
8505
|
orderId: string;
|
|
8482
|
-
status: "
|
|
8506
|
+
status: "PAID" | "CANCELED" | "PAYMENT_WAITING" | "CONFIRMED" | "DISPATCHED" | "DELIVERING" | "DELIVERED" | "PURCHASE_DECIDED";
|
|
8483
8507
|
claimStatus: "CANCEL_REQUESTED" | "RETURN_REQUESTED" | "EXCHANGE_REQUESTED" | null;
|
|
8484
8508
|
productId: string;
|
|
8485
8509
|
productName: string;
|
|
@@ -8547,7 +8571,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
8547
8571
|
fulfill: (orderItemId: string, body?: FulfillRequest, idempotencyKey?: string) => Promise<{
|
|
8548
8572
|
orderItemId: string;
|
|
8549
8573
|
orderId: string;
|
|
8550
|
-
status: "
|
|
8574
|
+
status: "PAID" | "CANCELED" | "PAYMENT_WAITING" | "CONFIRMED" | "DISPATCHED" | "DELIVERING" | "DELIVERED" | "PURCHASE_DECIDED";
|
|
8551
8575
|
claimStatus: "CANCEL_REQUESTED" | "RETURN_REQUESTED" | "EXCHANGE_REQUESTED" | null;
|
|
8552
8576
|
productId: string;
|
|
8553
8577
|
productName: string;
|
|
@@ -8610,7 +8634,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
8610
8634
|
}>;
|
|
8611
8635
|
getDelivery: (orderItemId: string) => Promise<{
|
|
8612
8636
|
orderItemId: string;
|
|
8613
|
-
deliveryMethod: "
|
|
8637
|
+
deliveryMethod: "DIRECT" | "COURIER" | "QUICK" | "NOTHING";
|
|
8614
8638
|
carrierCode: string | null;
|
|
8615
8639
|
carrierName: string | null;
|
|
8616
8640
|
trackingNumber: string | null;
|
|
@@ -8648,14 +8672,14 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
8648
8672
|
contents: {
|
|
8649
8673
|
claimId: string;
|
|
8650
8674
|
type: "RETURN" | "EXCHANGE" | "CANCEL";
|
|
8651
|
-
status: "
|
|
8675
|
+
status: "COMPLETED" | "REJECTED" | "REQUESTED" | "HELD" | "COLLECTING" | "COLLECTED" | "REDELIVERING" | "APPROVED" | "WITHDRAWN";
|
|
8652
8676
|
orderId: string;
|
|
8653
8677
|
orderItemId: string;
|
|
8654
8678
|
productName: string;
|
|
8655
8679
|
quantity: number;
|
|
8656
8680
|
reason: "CHANGE_OF_MIND" | "WRONG_ORDER" | "DEFECTIVE" | "WRONG_DELIVERY" | "DIFFERENT_FROM_PAGE" | "DELAY";
|
|
8657
8681
|
reasonDetail: string | null;
|
|
8658
|
-
responsibility: "
|
|
8682
|
+
responsibility: "BUYER" | "SELLER";
|
|
8659
8683
|
claimDeliveryFee: number;
|
|
8660
8684
|
expectedRefundAmount: number | null;
|
|
8661
8685
|
expectedDeliveryFeeRefundAmount: number | null;
|
|
@@ -8686,14 +8710,14 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
8686
8710
|
get: (claimId: string) => Promise<{
|
|
8687
8711
|
claimId: string;
|
|
8688
8712
|
type: "RETURN" | "EXCHANGE" | "CANCEL";
|
|
8689
|
-
status: "
|
|
8713
|
+
status: "COMPLETED" | "REJECTED" | "REQUESTED" | "HELD" | "COLLECTING" | "COLLECTED" | "REDELIVERING" | "APPROVED" | "WITHDRAWN";
|
|
8690
8714
|
orderId: string;
|
|
8691
8715
|
orderItemId: string;
|
|
8692
8716
|
productName: string;
|
|
8693
8717
|
quantity: number;
|
|
8694
8718
|
reason: "CHANGE_OF_MIND" | "WRONG_ORDER" | "DEFECTIVE" | "WRONG_DELIVERY" | "DIFFERENT_FROM_PAGE" | "DELAY";
|
|
8695
8719
|
reasonDetail: string | null;
|
|
8696
|
-
responsibility: "
|
|
8720
|
+
responsibility: "BUYER" | "SELLER";
|
|
8697
8721
|
claimDeliveryFee: number;
|
|
8698
8722
|
expectedRefundAmount: number | null;
|
|
8699
8723
|
expectedDeliveryFeeRefundAmount: number | null;
|
|
@@ -8720,8 +8744,8 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
8720
8744
|
address2: string | null;
|
|
8721
8745
|
} | null;
|
|
8722
8746
|
histories?: {
|
|
8723
|
-
status: "
|
|
8724
|
-
actor: "
|
|
8747
|
+
status: "COMPLETED" | "REJECTED" | "REQUESTED" | "HELD" | "COLLECTING" | "COLLECTED" | "REDELIVERING" | "APPROVED" | "WITHDRAWN";
|
|
8748
|
+
actor: "SYSTEM" | "BUYER" | "SELLER";
|
|
8725
8749
|
occurredAt: string;
|
|
8726
8750
|
}[] | undefined;
|
|
8727
8751
|
}>;
|
|
@@ -8752,14 +8776,14 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
8752
8776
|
completeExchange: (claimId: string) => Promise<{
|
|
8753
8777
|
claimId: string;
|
|
8754
8778
|
type: "RETURN" | "EXCHANGE" | "CANCEL";
|
|
8755
|
-
status: "
|
|
8779
|
+
status: "COMPLETED" | "REJECTED" | "REQUESTED" | "HELD" | "COLLECTING" | "COLLECTED" | "REDELIVERING" | "APPROVED" | "WITHDRAWN";
|
|
8756
8780
|
orderId: string;
|
|
8757
8781
|
orderItemId: string;
|
|
8758
8782
|
productName: string;
|
|
8759
8783
|
quantity: number;
|
|
8760
8784
|
reason: "CHANGE_OF_MIND" | "WRONG_ORDER" | "DEFECTIVE" | "WRONG_DELIVERY" | "DIFFERENT_FROM_PAGE" | "DELAY";
|
|
8761
8785
|
reasonDetail: string | null;
|
|
8762
|
-
responsibility: "
|
|
8786
|
+
responsibility: "BUYER" | "SELLER";
|
|
8763
8787
|
claimDeliveryFee: number;
|
|
8764
8788
|
expectedRefundAmount: number | null;
|
|
8765
8789
|
expectedDeliveryFeeRefundAmount: number | null;
|
|
@@ -8961,7 +8985,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
8961
8985
|
point: number;
|
|
8962
8986
|
marketingAgreed: boolean;
|
|
8963
8987
|
loginMethods: {
|
|
8964
|
-
method: "
|
|
8988
|
+
method: "kakao" | "naver" | "google" | "password";
|
|
8965
8989
|
linkedAt: string;
|
|
8966
8990
|
}[];
|
|
8967
8991
|
consents: {
|
|
@@ -9028,7 +9052,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
9028
9052
|
productName: string;
|
|
9029
9053
|
optionName: string | null;
|
|
9030
9054
|
quantity: number;
|
|
9031
|
-
status: "
|
|
9055
|
+
status: "PAID" | "CANCELED" | "PAYMENT_WAITING" | "CONFIRMED" | "DISPATCHED" | "DELIVERING" | "DELIVERED" | "PURCHASE_DECIDED";
|
|
9032
9056
|
claimStatus: "CANCEL_REQUESTED" | "RETURN_REQUESTED" | "EXCHANGE_REQUESTED" | null;
|
|
9033
9057
|
}[];
|
|
9034
9058
|
}[];
|
|
@@ -9046,8 +9070,8 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
9046
9070
|
kind: "TERMS" | "PRIVACY" | "MARKETING";
|
|
9047
9071
|
version: string | null;
|
|
9048
9072
|
documentUrl: string | null;
|
|
9049
|
-
action: "
|
|
9050
|
-
source: "SIGNUP" | "SOCIAL_SIGNUP" | "DELEGATED" | "RECONSENT" | "MEMBER_UPDATE"
|
|
9073
|
+
action: "WITHDRAWN" | "AGREED";
|
|
9074
|
+
source: "SELLER" | "SIGNUP" | "SOCIAL_SIGNUP" | "DELEGATED" | "RECONSENT" | "MEMBER_UPDATE";
|
|
9051
9075
|
occurredAt: string;
|
|
9052
9076
|
}[];
|
|
9053
9077
|
}>;
|
|
@@ -9653,9 +9677,9 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
9653
9677
|
}>;
|
|
9654
9678
|
/** `GET /v1/analytics/sources` — 채널·소스·캠페인·기기별 세션과 구매 */
|
|
9655
9679
|
sources: (params: AnalyticsSourcesParams) => Promise<{
|
|
9656
|
-
groupBy: "
|
|
9680
|
+
groupBy: "CAMPAIGN" | "CHANNEL" | "SOURCE" | "DEVICE";
|
|
9657
9681
|
rows: {
|
|
9658
|
-
channel: "
|
|
9682
|
+
channel: "DIRECT" | "ORGANIC_SEARCH" | "SOCIAL" | "PAID" | "EMAIL" | "CAMPAIGN" | "REFERRAL" | "UNKNOWN" | null;
|
|
9659
9683
|
source: string | null;
|
|
9660
9684
|
medium: string | null;
|
|
9661
9685
|
campaign: string | null;
|
|
@@ -9760,7 +9784,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
9760
9784
|
checkout: (params: AnalyticsRangeParams) => Promise<{
|
|
9761
9785
|
sessions: number;
|
|
9762
9786
|
outcomes: {
|
|
9763
|
-
outcome: "
|
|
9787
|
+
outcome: "COMPLETED" | "NOT_OPENED" | "USER_CANCELED" | "DECLINED" | "PREPARE_FAILURE" | "OTHER" | "IN_PROGRESS";
|
|
9764
9788
|
sessions: number;
|
|
9765
9789
|
}[];
|
|
9766
9790
|
from: string;
|
|
@@ -9790,7 +9814,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
9790
9814
|
orderId: string | null;
|
|
9791
9815
|
orderName: string;
|
|
9792
9816
|
customerName: string;
|
|
9793
|
-
status: "
|
|
9817
|
+
status: "PENDING" | "FAILED" | "APPROVED" | "PARTIALLY_REFUNDED" | "REFUNDED";
|
|
9794
9818
|
amount: number;
|
|
9795
9819
|
refundedAmount: number;
|
|
9796
9820
|
provider: "tosspayments" | "portone" | null;
|
|
@@ -9814,7 +9838,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
9814
9838
|
orderId: string | null;
|
|
9815
9839
|
orderName: string;
|
|
9816
9840
|
customerName: string;
|
|
9817
|
-
status: "
|
|
9841
|
+
status: "PENDING" | "FAILED" | "APPROVED" | "PARTIALLY_REFUNDED" | "REFUNDED";
|
|
9818
9842
|
amount: number;
|
|
9819
9843
|
refundedAmount: number;
|
|
9820
9844
|
provider: "tosspayments" | "portone" | null;
|
|
@@ -9913,7 +9937,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
9913
9937
|
masked: string | null;
|
|
9914
9938
|
}[];
|
|
9915
9939
|
lastVerification: {
|
|
9916
|
-
result: "
|
|
9940
|
+
result: "SUCCESS" | "FAILED";
|
|
9917
9941
|
message: string | null;
|
|
9918
9942
|
checkedAt: string;
|
|
9919
9943
|
} | null;
|
|
@@ -9938,7 +9962,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
9938
9962
|
masked: string | null;
|
|
9939
9963
|
}[];
|
|
9940
9964
|
lastVerification: {
|
|
9941
|
-
result: "
|
|
9965
|
+
result: "SUCCESS" | "FAILED";
|
|
9942
9966
|
message: string | null;
|
|
9943
9967
|
checkedAt: string;
|
|
9944
9968
|
} | null;
|
|
@@ -9962,7 +9986,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
9962
9986
|
masked: string | null;
|
|
9963
9987
|
}[];
|
|
9964
9988
|
lastVerification: {
|
|
9965
|
-
result: "
|
|
9989
|
+
result: "SUCCESS" | "FAILED";
|
|
9966
9990
|
message: string | null;
|
|
9967
9991
|
checkedAt: string;
|
|
9968
9992
|
} | null;
|
|
@@ -9984,6 +10008,15 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
9984
10008
|
}[];
|
|
9985
10009
|
environment: "TEST" | "LIVE" | null;
|
|
9986
10010
|
candidates: string[];
|
|
10011
|
+
warnings: {
|
|
10012
|
+
provider: string;
|
|
10013
|
+
method: string;
|
|
10014
|
+
easyPayProvider: string | null;
|
|
10015
|
+
code: string | null;
|
|
10016
|
+
count: number;
|
|
10017
|
+
lastAt: string;
|
|
10018
|
+
message: string | null;
|
|
10019
|
+
}[];
|
|
9987
10020
|
}>;
|
|
9988
10021
|
/**
|
|
9989
10022
|
* `PUT /v1/store/payment-settings` — `priority`에는 연결된 PG를 개수와 무관하게 모두 한 번씩 나열한다
|
|
@@ -10014,7 +10047,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
10014
10047
|
masked: string | null;
|
|
10015
10048
|
}[];
|
|
10016
10049
|
lastVerification: {
|
|
10017
|
-
result: "
|
|
10050
|
+
result: "SUCCESS" | "FAILED";
|
|
10018
10051
|
message: string | null;
|
|
10019
10052
|
checkedAt: string;
|
|
10020
10053
|
} | null;
|
|
@@ -10039,7 +10072,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
10039
10072
|
masked: string | null;
|
|
10040
10073
|
}[];
|
|
10041
10074
|
lastVerification: {
|
|
10042
|
-
result: "
|
|
10075
|
+
result: "SUCCESS" | "FAILED";
|
|
10043
10076
|
message: string | null;
|
|
10044
10077
|
checkedAt: string;
|
|
10045
10078
|
} | null;
|
|
@@ -10063,7 +10096,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
10063
10096
|
masked: string | null;
|
|
10064
10097
|
}[];
|
|
10065
10098
|
lastVerification: {
|
|
10066
|
-
result: "
|
|
10099
|
+
result: "SUCCESS" | "FAILED";
|
|
10067
10100
|
message: string | null;
|
|
10068
10101
|
checkedAt: string;
|
|
10069
10102
|
} | null;
|
|
@@ -10085,6 +10118,15 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
10085
10118
|
}[];
|
|
10086
10119
|
environment: "TEST" | "LIVE" | null;
|
|
10087
10120
|
candidates: string[];
|
|
10121
|
+
warnings: {
|
|
10122
|
+
provider: string;
|
|
10123
|
+
method: string;
|
|
10124
|
+
easyPayProvider: string | null;
|
|
10125
|
+
code: string | null;
|
|
10126
|
+
count: number;
|
|
10127
|
+
lastAt: string;
|
|
10128
|
+
message: string | null;
|
|
10129
|
+
}[];
|
|
10088
10130
|
}>;
|
|
10089
10131
|
/**
|
|
10090
10132
|
* `PUT /v1/store/payment-providers/tosspayments` — 자격 증명 세트 저장. `environment`는 **저장할 세트**(`TEST`·`LIVE`)이고
|
|
@@ -10120,7 +10162,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
10120
10162
|
masked: string | null;
|
|
10121
10163
|
}[];
|
|
10122
10164
|
lastVerification: {
|
|
10123
|
-
result: "
|
|
10165
|
+
result: "SUCCESS" | "FAILED";
|
|
10124
10166
|
message: string | null;
|
|
10125
10167
|
checkedAt: string;
|
|
10126
10168
|
} | null;
|
|
@@ -10145,7 +10187,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
10145
10187
|
masked: string | null;
|
|
10146
10188
|
}[];
|
|
10147
10189
|
lastVerification: {
|
|
10148
|
-
result: "
|
|
10190
|
+
result: "SUCCESS" | "FAILED";
|
|
10149
10191
|
message: string | null;
|
|
10150
10192
|
checkedAt: string;
|
|
10151
10193
|
} | null;
|
|
@@ -10169,7 +10211,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
10169
10211
|
masked: string | null;
|
|
10170
10212
|
}[];
|
|
10171
10213
|
lastVerification: {
|
|
10172
|
-
result: "
|
|
10214
|
+
result: "SUCCESS" | "FAILED";
|
|
10173
10215
|
message: string | null;
|
|
10174
10216
|
checkedAt: string;
|
|
10175
10217
|
} | null;
|
|
@@ -10216,7 +10258,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
10216
10258
|
masked: string | null;
|
|
10217
10259
|
}[];
|
|
10218
10260
|
lastVerification: {
|
|
10219
|
-
result: "
|
|
10261
|
+
result: "SUCCESS" | "FAILED";
|
|
10220
10262
|
message: string | null;
|
|
10221
10263
|
checkedAt: string;
|
|
10222
10264
|
} | null;
|
|
@@ -10241,7 +10283,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
10241
10283
|
masked: string | null;
|
|
10242
10284
|
}[];
|
|
10243
10285
|
lastVerification: {
|
|
10244
|
-
result: "
|
|
10286
|
+
result: "SUCCESS" | "FAILED";
|
|
10245
10287
|
message: string | null;
|
|
10246
10288
|
checkedAt: string;
|
|
10247
10289
|
} | null;
|
|
@@ -10265,7 +10307,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
10265
10307
|
masked: string | null;
|
|
10266
10308
|
}[];
|
|
10267
10309
|
lastVerification: {
|
|
10268
|
-
result: "
|
|
10310
|
+
result: "SUCCESS" | "FAILED";
|
|
10269
10311
|
message: string | null;
|
|
10270
10312
|
checkedAt: string;
|
|
10271
10313
|
} | null;
|
|
@@ -10322,7 +10364,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
10322
10364
|
masked: string | null;
|
|
10323
10365
|
}[];
|
|
10324
10366
|
lastVerification: {
|
|
10325
|
-
result: "
|
|
10367
|
+
result: "SUCCESS" | "FAILED";
|
|
10326
10368
|
message: string | null;
|
|
10327
10369
|
checkedAt: string;
|
|
10328
10370
|
} | null;
|
|
@@ -10347,7 +10389,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
10347
10389
|
masked: string | null;
|
|
10348
10390
|
}[];
|
|
10349
10391
|
lastVerification: {
|
|
10350
|
-
result: "
|
|
10392
|
+
result: "SUCCESS" | "FAILED";
|
|
10351
10393
|
message: string | null;
|
|
10352
10394
|
checkedAt: string;
|
|
10353
10395
|
} | null;
|
|
@@ -10371,7 +10413,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
10371
10413
|
masked: string | null;
|
|
10372
10414
|
}[];
|
|
10373
10415
|
lastVerification: {
|
|
10374
|
-
result: "
|
|
10416
|
+
result: "SUCCESS" | "FAILED";
|
|
10375
10417
|
message: string | null;
|
|
10376
10418
|
checkedAt: string;
|
|
10377
10419
|
} | null;
|
|
@@ -10418,7 +10460,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
10418
10460
|
masked: string | null;
|
|
10419
10461
|
}[];
|
|
10420
10462
|
lastVerification: {
|
|
10421
|
-
result: "
|
|
10463
|
+
result: "SUCCESS" | "FAILED";
|
|
10422
10464
|
message: string | null;
|
|
10423
10465
|
checkedAt: string;
|
|
10424
10466
|
} | null;
|
|
@@ -10443,7 +10485,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
10443
10485
|
masked: string | null;
|
|
10444
10486
|
}[];
|
|
10445
10487
|
lastVerification: {
|
|
10446
|
-
result: "
|
|
10488
|
+
result: "SUCCESS" | "FAILED";
|
|
10447
10489
|
message: string | null;
|
|
10448
10490
|
checkedAt: string;
|
|
10449
10491
|
} | null;
|
|
@@ -10467,7 +10509,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
10467
10509
|
masked: string | null;
|
|
10468
10510
|
}[];
|
|
10469
10511
|
lastVerification: {
|
|
10470
|
-
result: "
|
|
10512
|
+
result: "SUCCESS" | "FAILED";
|
|
10471
10513
|
message: string | null;
|
|
10472
10514
|
checkedAt: string;
|
|
10473
10515
|
} | null;
|
|
@@ -10523,7 +10565,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
10523
10565
|
masked: string | null;
|
|
10524
10566
|
}[];
|
|
10525
10567
|
lastVerification: {
|
|
10526
|
-
result: "
|
|
10568
|
+
result: "SUCCESS" | "FAILED";
|
|
10527
10569
|
message: string | null;
|
|
10528
10570
|
checkedAt: string;
|
|
10529
10571
|
} | null;
|
|
@@ -10548,7 +10590,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
10548
10590
|
masked: string | null;
|
|
10549
10591
|
}[];
|
|
10550
10592
|
lastVerification: {
|
|
10551
|
-
result: "
|
|
10593
|
+
result: "SUCCESS" | "FAILED";
|
|
10552
10594
|
message: string | null;
|
|
10553
10595
|
checkedAt: string;
|
|
10554
10596
|
} | null;
|
|
@@ -10572,7 +10614,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
10572
10614
|
masked: string | null;
|
|
10573
10615
|
}[];
|
|
10574
10616
|
lastVerification: {
|
|
10575
|
-
result: "
|
|
10617
|
+
result: "SUCCESS" | "FAILED";
|
|
10576
10618
|
message: string | null;
|
|
10577
10619
|
checkedAt: string;
|
|
10578
10620
|
} | null;
|
|
@@ -10600,7 +10642,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
10600
10642
|
verify: (provider: PgProvider, body?: VerifyPaymentProviderRequest) => Promise<{
|
|
10601
10643
|
provider: "tosspayments" | "portone";
|
|
10602
10644
|
environment: "TEST" | "LIVE";
|
|
10603
|
-
result: "
|
|
10645
|
+
result: "SUCCESS" | "FAILED";
|
|
10604
10646
|
message: string | null;
|
|
10605
10647
|
checkedAt: string;
|
|
10606
10648
|
}>;
|
|
@@ -10610,7 +10652,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
10610
10652
|
webhookId: string;
|
|
10611
10653
|
url: string;
|
|
10612
10654
|
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")[];
|
|
10613
|
-
status: "
|
|
10655
|
+
status: "SUSPENDED" | "ACTIVE";
|
|
10614
10656
|
secretPrefix: string;
|
|
10615
10657
|
suspendedAt: string | null;
|
|
10616
10658
|
createdAt: string;
|
|
@@ -10620,7 +10662,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
10620
10662
|
webhookId: string;
|
|
10621
10663
|
url: string;
|
|
10622
10664
|
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")[];
|
|
10623
|
-
status: "
|
|
10665
|
+
status: "SUSPENDED" | "ACTIVE";
|
|
10624
10666
|
secretPrefix: string;
|
|
10625
10667
|
suspendedAt: string | null;
|
|
10626
10668
|
createdAt: string;
|
|
@@ -10630,7 +10672,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
10630
10672
|
webhookId: string;
|
|
10631
10673
|
url: string;
|
|
10632
10674
|
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")[];
|
|
10633
|
-
status: "
|
|
10675
|
+
status: "SUSPENDED" | "ACTIVE";
|
|
10634
10676
|
secretPrefix: string;
|
|
10635
10677
|
suspendedAt: string | null;
|
|
10636
10678
|
createdAt: string;
|
|
@@ -10640,7 +10682,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
10640
10682
|
webhookId: string;
|
|
10641
10683
|
url: string;
|
|
10642
10684
|
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")[];
|
|
10643
|
-
status: "
|
|
10685
|
+
status: "SUSPENDED" | "ACTIVE";
|
|
10644
10686
|
secretPrefix: string;
|
|
10645
10687
|
suspendedAt: string | null;
|
|
10646
10688
|
createdAt: string;
|
|
@@ -10655,7 +10697,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
10655
10697
|
webhookId: string;
|
|
10656
10698
|
url: string;
|
|
10657
10699
|
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")[];
|
|
10658
|
-
status: "
|
|
10700
|
+
status: "SUSPENDED" | "ACTIVE";
|
|
10659
10701
|
secretPrefix: string;
|
|
10660
10702
|
suspendedAt: string | null;
|
|
10661
10703
|
createdAt: string;
|
|
@@ -10666,7 +10708,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
10666
10708
|
eventId: string;
|
|
10667
10709
|
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";
|
|
10668
10710
|
url: string;
|
|
10669
|
-
status: "
|
|
10711
|
+
status: "PENDING" | "PENDING_RETRY" | "SUCCESS" | "FAILED";
|
|
10670
10712
|
responseStatusCode: number | null;
|
|
10671
10713
|
responseTimeMs: number | null;
|
|
10672
10714
|
responseBodyExcerpt: string | null;
|
|
@@ -10693,7 +10735,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
10693
10735
|
eventId: string;
|
|
10694
10736
|
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";
|
|
10695
10737
|
url: string;
|
|
10696
|
-
status: "
|
|
10738
|
+
status: "PENDING" | "PENDING_RETRY" | "SUCCESS" | "FAILED";
|
|
10697
10739
|
responseStatusCode: number | null;
|
|
10698
10740
|
responseTimeMs: number | null;
|
|
10699
10741
|
responseBodyExcerpt: string | null;
|
|
@@ -10728,7 +10770,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
10728
10770
|
eventId: string;
|
|
10729
10771
|
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";
|
|
10730
10772
|
url: string;
|
|
10731
|
-
status: "
|
|
10773
|
+
status: "PENDING" | "PENDING_RETRY" | "SUCCESS" | "FAILED";
|
|
10732
10774
|
responseStatusCode: number | null;
|
|
10733
10775
|
responseTimeMs: number | null;
|
|
10734
10776
|
responseBodyExcerpt: string | null;
|
|
@@ -10824,7 +10866,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
10824
10866
|
method: string | null;
|
|
10825
10867
|
path: string | null;
|
|
10826
10868
|
statusCode: number | null;
|
|
10827
|
-
outcome: "
|
|
10869
|
+
outcome: "FAILED" | "SUCCEEDED" | "PENDING_APPROVAL" | "DENIED" | "DRY_RUN" | null;
|
|
10828
10870
|
errorCode: string | null;
|
|
10829
10871
|
traceId: string | null;
|
|
10830
10872
|
idempotencyKey: string | null;
|
|
@@ -10842,7 +10884,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
10842
10884
|
list: (params?: ApprovalListOptions) => Promise<{
|
|
10843
10885
|
items: {
|
|
10844
10886
|
approvalId: string;
|
|
10845
|
-
status: "
|
|
10887
|
+
status: "UNKNOWN" | "PENDING" | "FAILED" | "SUCCEEDED" | "EXECUTING" | "REJECTED" | "EXPIRED";
|
|
10846
10888
|
operationId: string;
|
|
10847
10889
|
method: string;
|
|
10848
10890
|
path: string;
|
|
@@ -10892,7 +10934,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
10892
10934
|
}>;
|
|
10893
10935
|
get: (approvalId: string) => Promise<{
|
|
10894
10936
|
approvalId: string;
|
|
10895
|
-
status: "
|
|
10937
|
+
status: "UNKNOWN" | "PENDING" | "FAILED" | "SUCCEEDED" | "EXECUTING" | "REJECTED" | "EXPIRED";
|
|
10896
10938
|
operationId: string;
|
|
10897
10939
|
method: string;
|
|
10898
10940
|
path: string;
|
|
@@ -10944,7 +10986,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
10944
10986
|
*/
|
|
10945
10987
|
approve: (approvalId: string, body?: ApprovalDecisionRequest) => Promise<{
|
|
10946
10988
|
approvalId: string;
|
|
10947
|
-
status: "
|
|
10989
|
+
status: "UNKNOWN" | "PENDING" | "FAILED" | "SUCCEEDED" | "EXECUTING" | "REJECTED" | "EXPIRED";
|
|
10948
10990
|
operationId: string;
|
|
10949
10991
|
method: string;
|
|
10950
10992
|
path: string;
|
|
@@ -10992,7 +11034,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
10992
11034
|
}>;
|
|
10993
11035
|
reject: (approvalId: string, body?: ApprovalDecisionRequest) => Promise<{
|
|
10994
11036
|
approvalId: string;
|
|
10995
|
-
status: "
|
|
11037
|
+
status: "UNKNOWN" | "PENDING" | "FAILED" | "SUCCEEDED" | "EXECUTING" | "REJECTED" | "EXPIRED";
|
|
10996
11038
|
operationId: string;
|
|
10997
11039
|
method: string;
|
|
10998
11040
|
path: string;
|
|
@@ -11142,7 +11184,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
11142
11184
|
}[];
|
|
11143
11185
|
templateId: string;
|
|
11144
11186
|
sourceMode: "CUSTOM" | "MANAGED";
|
|
11145
|
-
status: "
|
|
11187
|
+
status: "SUSPENDED" | "CLOSED" | "ACTIVE";
|
|
11146
11188
|
visibility: "COMING_SOON" | "PUBLIC";
|
|
11147
11189
|
publishedVersion: {
|
|
11148
11190
|
versionId: string;
|
|
@@ -11160,7 +11202,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
11160
11202
|
createdVia?: string | null | undefined;
|
|
11161
11203
|
} | null;
|
|
11162
11204
|
provisioning: {
|
|
11163
|
-
status: "
|
|
11205
|
+
status: "PENDING" | "FAILED" | "SYNCED";
|
|
11164
11206
|
lastErrorCode: string | null;
|
|
11165
11207
|
syncedAt: string | null;
|
|
11166
11208
|
};
|
|
@@ -11200,7 +11242,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
11200
11242
|
}[];
|
|
11201
11243
|
templateId: string;
|
|
11202
11244
|
sourceMode: "CUSTOM" | "MANAGED";
|
|
11203
|
-
status: "
|
|
11245
|
+
status: "SUSPENDED" | "CLOSED" | "ACTIVE";
|
|
11204
11246
|
visibility: "COMING_SOON" | "PUBLIC";
|
|
11205
11247
|
publishedVersion: {
|
|
11206
11248
|
versionId: string;
|
|
@@ -11218,7 +11260,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
11218
11260
|
createdVia?: string | null | undefined;
|
|
11219
11261
|
} | null;
|
|
11220
11262
|
provisioning: {
|
|
11221
|
-
status: "
|
|
11263
|
+
status: "PENDING" | "FAILED" | "SYNCED";
|
|
11222
11264
|
lastErrorCode: string | null;
|
|
11223
11265
|
syncedAt: string | null;
|
|
11224
11266
|
};
|
|
@@ -11236,13 +11278,13 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
11236
11278
|
/** `GET /v1/storefront/site/deployment` — 배포 진행(단계·기록). 만든 뒤 반영이 끝날 때까지 폴링한다 */
|
|
11237
11279
|
getDeployment: () => Promise<{
|
|
11238
11280
|
siteId: string;
|
|
11239
|
-
status: "
|
|
11281
|
+
status: "IN_PROGRESS" | "FAILED" | "SUCCEEDED";
|
|
11240
11282
|
url: string;
|
|
11241
11283
|
startedAt: string;
|
|
11242
11284
|
finishedAt: string | null;
|
|
11243
11285
|
steps: {
|
|
11244
11286
|
key: "SITE" | "UPLOAD" | "PUBLISH";
|
|
11245
|
-
status: "
|
|
11287
|
+
status: "PENDING" | "FAILED" | "RUNNING" | "DONE";
|
|
11246
11288
|
finishedAt: string | null;
|
|
11247
11289
|
}[];
|
|
11248
11290
|
log: {
|
|
@@ -11258,13 +11300,13 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
11258
11300
|
/** `POST /v1/storefront/site/deployment/retry` (202) — 밀린 반영을 곧바로 다시 시도한다. 이미 반영됐으면 그대로다 */
|
|
11259
11301
|
retryDeployment: () => Promise<{
|
|
11260
11302
|
siteId: string;
|
|
11261
|
-
status: "
|
|
11303
|
+
status: "IN_PROGRESS" | "FAILED" | "SUCCEEDED";
|
|
11262
11304
|
url: string;
|
|
11263
11305
|
startedAt: string;
|
|
11264
11306
|
finishedAt: string | null;
|
|
11265
11307
|
steps: {
|
|
11266
11308
|
key: "SITE" | "UPLOAD" | "PUBLISH";
|
|
11267
|
-
status: "
|
|
11309
|
+
status: "PENDING" | "FAILED" | "RUNNING" | "DONE";
|
|
11268
11310
|
finishedAt: string | null;
|
|
11269
11311
|
}[];
|
|
11270
11312
|
log: {
|
|
@@ -11296,7 +11338,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
11296
11338
|
}[];
|
|
11297
11339
|
templateId: string;
|
|
11298
11340
|
sourceMode: "CUSTOM" | "MANAGED";
|
|
11299
|
-
status: "
|
|
11341
|
+
status: "SUSPENDED" | "CLOSED" | "ACTIVE";
|
|
11300
11342
|
visibility: "COMING_SOON" | "PUBLIC";
|
|
11301
11343
|
publishedVersion: {
|
|
11302
11344
|
versionId: string;
|
|
@@ -11314,7 +11356,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
11314
11356
|
createdVia?: string | null | undefined;
|
|
11315
11357
|
} | null;
|
|
11316
11358
|
provisioning: {
|
|
11317
|
-
status: "
|
|
11359
|
+
status: "PENDING" | "FAILED" | "SYNCED";
|
|
11318
11360
|
lastErrorCode: string | null;
|
|
11319
11361
|
syncedAt: string | null;
|
|
11320
11362
|
};
|
|
@@ -11360,7 +11402,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
11360
11402
|
}[];
|
|
11361
11403
|
templateId: string;
|
|
11362
11404
|
sourceMode: "CUSTOM" | "MANAGED";
|
|
11363
|
-
status: "
|
|
11405
|
+
status: "SUSPENDED" | "CLOSED" | "ACTIVE";
|
|
11364
11406
|
visibility: "COMING_SOON" | "PUBLIC";
|
|
11365
11407
|
publishedVersion: {
|
|
11366
11408
|
versionId: string;
|
|
@@ -11378,7 +11420,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
11378
11420
|
createdVia?: string | null | undefined;
|
|
11379
11421
|
} | null;
|
|
11380
11422
|
provisioning: {
|
|
11381
|
-
status: "
|
|
11423
|
+
status: "PENDING" | "FAILED" | "SYNCED";
|
|
11382
11424
|
lastErrorCode: string | null;
|
|
11383
11425
|
syncedAt: string | null;
|
|
11384
11426
|
};
|
|
@@ -11408,7 +11450,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
11408
11450
|
}[];
|
|
11409
11451
|
templateId: string;
|
|
11410
11452
|
sourceMode: "CUSTOM" | "MANAGED";
|
|
11411
|
-
status: "
|
|
11453
|
+
status: "SUSPENDED" | "CLOSED" | "ACTIVE";
|
|
11412
11454
|
visibility: "COMING_SOON" | "PUBLIC";
|
|
11413
11455
|
publishedVersion: {
|
|
11414
11456
|
versionId: string;
|
|
@@ -11426,7 +11468,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
11426
11468
|
createdVia?: string | null | undefined;
|
|
11427
11469
|
} | null;
|
|
11428
11470
|
provisioning: {
|
|
11429
|
-
status: "
|
|
11471
|
+
status: "PENDING" | "FAILED" | "SYNCED";
|
|
11430
11472
|
lastErrorCode: string | null;
|
|
11431
11473
|
syncedAt: string | null;
|
|
11432
11474
|
};
|
|
@@ -11456,7 +11498,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
11456
11498
|
}[];
|
|
11457
11499
|
templateId: string;
|
|
11458
11500
|
sourceMode: "CUSTOM" | "MANAGED";
|
|
11459
|
-
status: "
|
|
11501
|
+
status: "SUSPENDED" | "CLOSED" | "ACTIVE";
|
|
11460
11502
|
visibility: "COMING_SOON" | "PUBLIC";
|
|
11461
11503
|
publishedVersion: {
|
|
11462
11504
|
versionId: string;
|
|
@@ -11474,7 +11516,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
11474
11516
|
createdVia?: string | null | undefined;
|
|
11475
11517
|
} | null;
|
|
11476
11518
|
provisioning: {
|
|
11477
|
-
status: "
|
|
11519
|
+
status: "PENDING" | "FAILED" | "SYNCED";
|
|
11478
11520
|
lastErrorCode: string | null;
|
|
11479
11521
|
syncedAt: string | null;
|
|
11480
11522
|
};
|
|
@@ -11504,7 +11546,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
11504
11546
|
}[];
|
|
11505
11547
|
templateId: string;
|
|
11506
11548
|
sourceMode: "CUSTOM" | "MANAGED";
|
|
11507
|
-
status: "
|
|
11549
|
+
status: "SUSPENDED" | "CLOSED" | "ACTIVE";
|
|
11508
11550
|
visibility: "COMING_SOON" | "PUBLIC";
|
|
11509
11551
|
publishedVersion: {
|
|
11510
11552
|
versionId: string;
|
|
@@ -11522,7 +11564,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
11522
11564
|
createdVia?: string | null | undefined;
|
|
11523
11565
|
} | null;
|
|
11524
11566
|
provisioning: {
|
|
11525
|
-
status: "
|
|
11567
|
+
status: "PENDING" | "FAILED" | "SYNCED";
|
|
11526
11568
|
lastErrorCode: string | null;
|
|
11527
11569
|
syncedAt: string | null;
|
|
11528
11570
|
};
|
|
@@ -11554,7 +11596,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
11554
11596
|
domainId: string;
|
|
11555
11597
|
hostname: string;
|
|
11556
11598
|
kind: "PLATFORM" | "CUSTOM";
|
|
11557
|
-
status: "
|
|
11599
|
+
status: "ACTIVE" | "FAILED" | "PENDING_DNS" | "PENDING_VALIDATION";
|
|
11558
11600
|
isPrimary: boolean;
|
|
11559
11601
|
dnsRecords: {
|
|
11560
11602
|
type: "CNAME" | "TXT";
|
|
@@ -11562,7 +11604,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
11562
11604
|
value: string;
|
|
11563
11605
|
purpose: "ROUTING" | "OWNERSHIP";
|
|
11564
11606
|
}[];
|
|
11565
|
-
certificateStatus: "
|
|
11607
|
+
certificateStatus: "ACTIVE" | "PENDING" | "FAILED" | null;
|
|
11566
11608
|
failureCode: string | null;
|
|
11567
11609
|
verifiedAt: string | null;
|
|
11568
11610
|
activatedAt: string | null;
|
|
@@ -11578,7 +11620,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
11578
11620
|
domainId: string;
|
|
11579
11621
|
hostname: string;
|
|
11580
11622
|
kind: "PLATFORM" | "CUSTOM";
|
|
11581
|
-
status: "
|
|
11623
|
+
status: "ACTIVE" | "FAILED" | "PENDING_DNS" | "PENDING_VALIDATION";
|
|
11582
11624
|
isPrimary: boolean;
|
|
11583
11625
|
dnsRecords: {
|
|
11584
11626
|
type: "CNAME" | "TXT";
|
|
@@ -11586,7 +11628,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
11586
11628
|
value: string;
|
|
11587
11629
|
purpose: "ROUTING" | "OWNERSHIP";
|
|
11588
11630
|
}[];
|
|
11589
|
-
certificateStatus: "
|
|
11631
|
+
certificateStatus: "ACTIVE" | "PENDING" | "FAILED" | null;
|
|
11590
11632
|
failureCode: string | null;
|
|
11591
11633
|
verifiedAt: string | null;
|
|
11592
11634
|
activatedAt: string | null;
|
|
@@ -11598,7 +11640,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
11598
11640
|
domainId: string;
|
|
11599
11641
|
hostname: string;
|
|
11600
11642
|
kind: "PLATFORM" | "CUSTOM";
|
|
11601
|
-
status: "
|
|
11643
|
+
status: "ACTIVE" | "FAILED" | "PENDING_DNS" | "PENDING_VALIDATION";
|
|
11602
11644
|
isPrimary: boolean;
|
|
11603
11645
|
dnsRecords: {
|
|
11604
11646
|
type: "CNAME" | "TXT";
|
|
@@ -11606,7 +11648,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
11606
11648
|
value: string;
|
|
11607
11649
|
purpose: "ROUTING" | "OWNERSHIP";
|
|
11608
11650
|
}[];
|
|
11609
|
-
certificateStatus: "
|
|
11651
|
+
certificateStatus: "ACTIVE" | "PENDING" | "FAILED" | null;
|
|
11610
11652
|
failureCode: string | null;
|
|
11611
11653
|
verifiedAt: string | null;
|
|
11612
11654
|
activatedAt: string | null;
|
|
@@ -11622,7 +11664,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
11622
11664
|
domainId: string;
|
|
11623
11665
|
hostname: string;
|
|
11624
11666
|
kind: "PLATFORM" | "CUSTOM";
|
|
11625
|
-
status: "
|
|
11667
|
+
status: "ACTIVE" | "FAILED" | "PENDING_DNS" | "PENDING_VALIDATION";
|
|
11626
11668
|
isPrimary: boolean;
|
|
11627
11669
|
dnsRecords: {
|
|
11628
11670
|
type: "CNAME" | "TXT";
|
|
@@ -11630,7 +11672,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
11630
11672
|
value: string;
|
|
11631
11673
|
purpose: "ROUTING" | "OWNERSHIP";
|
|
11632
11674
|
}[];
|
|
11633
|
-
certificateStatus: "
|
|
11675
|
+
certificateStatus: "ACTIVE" | "PENDING" | "FAILED" | null;
|
|
11634
11676
|
failureCode: string | null;
|
|
11635
11677
|
verifiedAt: string | null;
|
|
11636
11678
|
activatedAt: string | null;
|
|
@@ -11655,7 +11697,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
11655
11697
|
}[];
|
|
11656
11698
|
templateId: string;
|
|
11657
11699
|
sourceMode: "CUSTOM" | "MANAGED";
|
|
11658
|
-
status: "
|
|
11700
|
+
status: "SUSPENDED" | "CLOSED" | "ACTIVE";
|
|
11659
11701
|
visibility: "COMING_SOON" | "PUBLIC";
|
|
11660
11702
|
publishedVersion: {
|
|
11661
11703
|
versionId: string;
|
|
@@ -11673,7 +11715,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
11673
11715
|
createdVia?: string | null | undefined;
|
|
11674
11716
|
} | null;
|
|
11675
11717
|
provisioning: {
|
|
11676
|
-
status: "
|
|
11718
|
+
status: "PENDING" | "FAILED" | "SYNCED";
|
|
11677
11719
|
lastErrorCode: string | null;
|
|
11678
11720
|
syncedAt: string | null;
|
|
11679
11721
|
};
|
|
@@ -11833,7 +11875,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
11833
11875
|
runCheck: (body: RunStorefrontCheckRequest) => Promise<{
|
|
11834
11876
|
checkId: string;
|
|
11835
11877
|
check: string;
|
|
11836
|
-
status: "
|
|
11878
|
+
status: "UNKNOWN" | "FAILED" | "RUNNING" | "QUEUED" | "PASSED" | "TIMED_OUT";
|
|
11837
11879
|
exitCode: number | null;
|
|
11838
11880
|
durationMs: number | null;
|
|
11839
11881
|
outputTail: string | null;
|
|
@@ -11847,7 +11889,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
11847
11889
|
getCheck: (checkId: string) => Promise<{
|
|
11848
11890
|
checkId: string;
|
|
11849
11891
|
check: string;
|
|
11850
|
-
status: "
|
|
11892
|
+
status: "UNKNOWN" | "FAILED" | "RUNNING" | "QUEUED" | "PASSED" | "TIMED_OUT";
|
|
11851
11893
|
exitCode: number | null;
|
|
11852
11894
|
durationMs: number | null;
|
|
11853
11895
|
outputTail: string | null;
|
|
@@ -11914,7 +11956,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
11914
11956
|
buildId: string;
|
|
11915
11957
|
versionId: string;
|
|
11916
11958
|
versionNumber: number;
|
|
11917
|
-
status: "
|
|
11959
|
+
status: "FAILED" | "SUCCEEDED" | "RUNNING" | "QUEUED" | "TIMED_OUT";
|
|
11918
11960
|
failureStage: string | null;
|
|
11919
11961
|
errorCode: string | null;
|
|
11920
11962
|
logTail: string | null;
|
|
@@ -11995,7 +12037,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
11995
12037
|
buildId: string;
|
|
11996
12038
|
versionId: string;
|
|
11997
12039
|
versionNumber: number;
|
|
11998
|
-
status: "
|
|
12040
|
+
status: "FAILED" | "SUCCEEDED" | "RUNNING" | "QUEUED" | "TIMED_OUT";
|
|
11999
12041
|
failureStage: string | null;
|
|
12000
12042
|
errorCode: string | null;
|
|
12001
12043
|
logTail: string | null;
|
|
@@ -12073,7 +12115,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
12073
12115
|
buildId: string;
|
|
12074
12116
|
versionId: string;
|
|
12075
12117
|
versionNumber: number;
|
|
12076
|
-
status: "
|
|
12118
|
+
status: "FAILED" | "SUCCEEDED" | "RUNNING" | "QUEUED" | "TIMED_OUT";
|
|
12077
12119
|
failureStage: string | null;
|
|
12078
12120
|
errorCode: string | null;
|
|
12079
12121
|
logTail: string | null;
|
|
@@ -12218,7 +12260,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
12218
12260
|
code: string;
|
|
12219
12261
|
name: string;
|
|
12220
12262
|
};
|
|
12221
|
-
status: "
|
|
12263
|
+
status: "ACTIVE" | "CANCELED" | "PAST_DUE" | "INCOMPLETE";
|
|
12222
12264
|
interval: "MONTH" | null;
|
|
12223
12265
|
cancelAtPeriodEnd: boolean;
|
|
12224
12266
|
period: {
|
|
@@ -12358,7 +12400,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
12358
12400
|
name: string;
|
|
12359
12401
|
storeCode: string;
|
|
12360
12402
|
storefrontUrl: string;
|
|
12361
|
-
status: "
|
|
12403
|
+
status: "SUSPENDED" | "CLOSED" | "ACTIVE";
|
|
12362
12404
|
logoUrl: string | null;
|
|
12363
12405
|
businessNumber: string | null;
|
|
12364
12406
|
customerCenterPhone: string | null;
|
|
@@ -12406,7 +12448,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
12406
12448
|
name: string;
|
|
12407
12449
|
storeCode: string;
|
|
12408
12450
|
storefrontUrl: string;
|
|
12409
|
-
status: "
|
|
12451
|
+
status: "SUSPENDED" | "CLOSED" | "ACTIVE";
|
|
12410
12452
|
logoUrl: string | null;
|
|
12411
12453
|
businessNumber: string | null;
|
|
12412
12454
|
customerCenterPhone: string | null;
|
|
@@ -12415,7 +12457,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
12415
12457
|
userId: string;
|
|
12416
12458
|
name: string;
|
|
12417
12459
|
email: string;
|
|
12418
|
-
role: "
|
|
12460
|
+
role: "ADMIN" | "STAFF" | "OWNER";
|
|
12419
12461
|
joinedAt: string;
|
|
12420
12462
|
lastActiveAt: string | null;
|
|
12421
12463
|
}[]>;
|
|
@@ -12432,7 +12474,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
12432
12474
|
invitationId: string;
|
|
12433
12475
|
email: string;
|
|
12434
12476
|
role: "ADMIN" | "STAFF";
|
|
12435
|
-
status: "
|
|
12477
|
+
status: "PENDING" | "EXPIRED" | "ACCEPTED" | "CANCELED";
|
|
12436
12478
|
invitedBy: string;
|
|
12437
12479
|
expiresAt: string;
|
|
12438
12480
|
createdAt: string;
|
|
@@ -12450,7 +12492,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
12450
12492
|
invitationId: string;
|
|
12451
12493
|
email: string;
|
|
12452
12494
|
role: "ADMIN" | "STAFF";
|
|
12453
|
-
status: "
|
|
12495
|
+
status: "PENDING" | "EXPIRED" | "ACCEPTED" | "CANCELED";
|
|
12454
12496
|
invitedBy: string;
|
|
12455
12497
|
expiresAt: string;
|
|
12456
12498
|
createdAt: string;
|
|
@@ -12465,7 +12507,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
12465
12507
|
invitationId: string;
|
|
12466
12508
|
email: string;
|
|
12467
12509
|
role: "ADMIN" | "STAFF";
|
|
12468
|
-
status: "
|
|
12510
|
+
status: "PENDING" | "EXPIRED" | "ACCEPTED" | "CANCELED";
|
|
12469
12511
|
invitedBy: string;
|
|
12470
12512
|
expiresAt: string;
|
|
12471
12513
|
createdAt: string;
|
|
@@ -13262,8 +13304,8 @@ export declare const responsePlanCodeSchema: z.ZodUnion<readonly [z.ZodEnum<{
|
|
|
13262
13304
|
}>, z.ZodString]>;
|
|
13263
13305
|
export type ResponsePlanCode = PlanCode | (string & {});
|
|
13264
13306
|
export declare const subscriptionStatusSchema: z.ZodEnum<{
|
|
13265
|
-
CANCELED: "CANCELED";
|
|
13266
13307
|
ACTIVE: "ACTIVE";
|
|
13308
|
+
CANCELED: "CANCELED";
|
|
13267
13309
|
PAST_DUE: "PAST_DUE";
|
|
13268
13310
|
INCOMPLETE: "INCOMPLETE";
|
|
13269
13311
|
}>;
|
|
@@ -13313,8 +13355,8 @@ export declare const storeSubscriptionSchema: z.ZodObject<{
|
|
|
13313
13355
|
name: z.ZodString;
|
|
13314
13356
|
}, z.core.$strip>;
|
|
13315
13357
|
status: z.ZodEnum<{
|
|
13316
|
-
CANCELED: "CANCELED";
|
|
13317
13358
|
ACTIVE: "ACTIVE";
|
|
13359
|
+
CANCELED: "CANCELED";
|
|
13318
13360
|
PAST_DUE: "PAST_DUE";
|
|
13319
13361
|
INCOMPLETE: "INCOMPLETE";
|
|
13320
13362
|
}>;
|
|
@@ -13591,14 +13633,14 @@ export type McpToolEvent = z.infer<typeof mcpToolEventSchema>;
|
|
|
13591
13633
|
export declare const orderWebhookEventDataSchema: z.ZodObject<{
|
|
13592
13634
|
orderId: z.ZodString;
|
|
13593
13635
|
status: z.ZodEnum<{
|
|
13594
|
-
PAYMENT_WAITING: "PAYMENT_WAITING";
|
|
13595
13636
|
PAID: "PAID";
|
|
13637
|
+
CANCELED: "CANCELED";
|
|
13638
|
+
PAYMENT_WAITING: "PAYMENT_WAITING";
|
|
13596
13639
|
CONFIRMED: "CONFIRMED";
|
|
13597
13640
|
DISPATCHED: "DISPATCHED";
|
|
13598
13641
|
DELIVERING: "DELIVERING";
|
|
13599
13642
|
DELIVERED: "DELIVERED";
|
|
13600
13643
|
PURCHASE_DECIDED: "PURCHASE_DECIDED";
|
|
13601
|
-
CANCELED: "CANCELED";
|
|
13602
13644
|
}>;
|
|
13603
13645
|
testPayment: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
13604
13646
|
couponDiscountAmount: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
|
|
@@ -13640,14 +13682,14 @@ export declare const orderFulfilledWebhookEventDataSchema: z.ZodObject<{
|
|
|
13640
13682
|
orderId: z.ZodString;
|
|
13641
13683
|
orderItemId: z.ZodString;
|
|
13642
13684
|
status: z.ZodEnum<{
|
|
13643
|
-
PAYMENT_WAITING: "PAYMENT_WAITING";
|
|
13644
13685
|
PAID: "PAID";
|
|
13686
|
+
CANCELED: "CANCELED";
|
|
13687
|
+
PAYMENT_WAITING: "PAYMENT_WAITING";
|
|
13645
13688
|
CONFIRMED: "CONFIRMED";
|
|
13646
13689
|
DISPATCHED: "DISPATCHED";
|
|
13647
13690
|
DELIVERING: "DELIVERING";
|
|
13648
13691
|
DELIVERED: "DELIVERED";
|
|
13649
13692
|
PURCHASE_DECIDED: "PURCHASE_DECIDED";
|
|
13650
|
-
CANCELED: "CANCELED";
|
|
13651
13693
|
}>;
|
|
13652
13694
|
fulfillmentSnapshot: z.ZodUnion<readonly [z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
13653
13695
|
type: z.ZodLiteral<"SHIPPING">;
|
|
@@ -13679,24 +13721,24 @@ export declare const orderCanceledWebhookEventDataSchema: z.ZodObject<{
|
|
|
13679
13721
|
orderId: z.ZodString;
|
|
13680
13722
|
orderItemId: z.ZodString;
|
|
13681
13723
|
status: z.ZodEnum<{
|
|
13682
|
-
PAYMENT_WAITING: "PAYMENT_WAITING";
|
|
13683
13724
|
PAID: "PAID";
|
|
13725
|
+
CANCELED: "CANCELED";
|
|
13726
|
+
PAYMENT_WAITING: "PAYMENT_WAITING";
|
|
13684
13727
|
CONFIRMED: "CONFIRMED";
|
|
13685
13728
|
DISPATCHED: "DISPATCHED";
|
|
13686
13729
|
DELIVERING: "DELIVERING";
|
|
13687
13730
|
DELIVERED: "DELIVERED";
|
|
13688
13731
|
PURCHASE_DECIDED: "PURCHASE_DECIDED";
|
|
13689
|
-
CANCELED: "CANCELED";
|
|
13690
13732
|
}>;
|
|
13691
13733
|
itemStatus: z.ZodEnum<{
|
|
13692
|
-
PAYMENT_WAITING: "PAYMENT_WAITING";
|
|
13693
13734
|
PAID: "PAID";
|
|
13735
|
+
CANCELED: "CANCELED";
|
|
13736
|
+
PAYMENT_WAITING: "PAYMENT_WAITING";
|
|
13694
13737
|
CONFIRMED: "CONFIRMED";
|
|
13695
13738
|
DISPATCHED: "DISPATCHED";
|
|
13696
13739
|
DELIVERING: "DELIVERING";
|
|
13697
13740
|
DELIVERED: "DELIVERED";
|
|
13698
13741
|
PURCHASE_DECIDED: "PURCHASE_DECIDED";
|
|
13699
|
-
CANCELED: "CANCELED";
|
|
13700
13742
|
}>;
|
|
13701
13743
|
reason: z.ZodString;
|
|
13702
13744
|
quantity: z.ZodNumber;
|
|
@@ -13719,7 +13761,7 @@ export declare const claimWebhookEventDataSchema: z.ZodObject<{
|
|
|
13719
13761
|
CANCEL: "CANCEL";
|
|
13720
13762
|
}>;
|
|
13721
13763
|
status: z.ZodEnum<{
|
|
13722
|
-
|
|
13764
|
+
COMPLETED: "COMPLETED";
|
|
13723
13765
|
REJECTED: "REJECTED";
|
|
13724
13766
|
REQUESTED: "REQUESTED";
|
|
13725
13767
|
HELD: "HELD";
|
|
@@ -13727,7 +13769,7 @@ export declare const claimWebhookEventDataSchema: z.ZodObject<{
|
|
|
13727
13769
|
COLLECTED: "COLLECTED";
|
|
13728
13770
|
REDELIVERING: "REDELIVERING";
|
|
13729
13771
|
APPROVED: "APPROVED";
|
|
13730
|
-
|
|
13772
|
+
WITHDRAWN: "WITHDRAWN";
|
|
13731
13773
|
}>;
|
|
13732
13774
|
quantity: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
|
|
13733
13775
|
refundAmount: z.ZodDefault<z.ZodOptional<z.ZodNullable<z.ZodNumber>>>;
|
|
@@ -13767,14 +13809,14 @@ export declare const orderWebhookEventSchema: z.ZodObject<{
|
|
|
13767
13809
|
data: z.ZodObject<{
|
|
13768
13810
|
orderId: z.ZodString;
|
|
13769
13811
|
status: z.ZodEnum<{
|
|
13770
|
-
PAYMENT_WAITING: "PAYMENT_WAITING";
|
|
13771
13812
|
PAID: "PAID";
|
|
13813
|
+
CANCELED: "CANCELED";
|
|
13814
|
+
PAYMENT_WAITING: "PAYMENT_WAITING";
|
|
13772
13815
|
CONFIRMED: "CONFIRMED";
|
|
13773
13816
|
DISPATCHED: "DISPATCHED";
|
|
13774
13817
|
DELIVERING: "DELIVERING";
|
|
13775
13818
|
DELIVERED: "DELIVERED";
|
|
13776
13819
|
PURCHASE_DECIDED: "PURCHASE_DECIDED";
|
|
13777
|
-
CANCELED: "CANCELED";
|
|
13778
13820
|
}>;
|
|
13779
13821
|
testPayment: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
13780
13822
|
couponDiscountAmount: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
|
|
@@ -13818,14 +13860,14 @@ export declare const orderFulfilledWebhookEventSchema: z.ZodObject<{
|
|
|
13818
13860
|
orderId: z.ZodString;
|
|
13819
13861
|
orderItemId: z.ZodString;
|
|
13820
13862
|
status: z.ZodEnum<{
|
|
13821
|
-
PAYMENT_WAITING: "PAYMENT_WAITING";
|
|
13822
13863
|
PAID: "PAID";
|
|
13864
|
+
CANCELED: "CANCELED";
|
|
13865
|
+
PAYMENT_WAITING: "PAYMENT_WAITING";
|
|
13823
13866
|
CONFIRMED: "CONFIRMED";
|
|
13824
13867
|
DISPATCHED: "DISPATCHED";
|
|
13825
13868
|
DELIVERING: "DELIVERING";
|
|
13826
13869
|
DELIVERED: "DELIVERED";
|
|
13827
13870
|
PURCHASE_DECIDED: "PURCHASE_DECIDED";
|
|
13828
|
-
CANCELED: "CANCELED";
|
|
13829
13871
|
}>;
|
|
13830
13872
|
fulfillmentSnapshot: z.ZodUnion<readonly [z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
13831
13873
|
type: z.ZodLiteral<"SHIPPING">;
|
|
@@ -13858,24 +13900,24 @@ export declare const orderCanceledWebhookEventSchema: z.ZodObject<{
|
|
|
13858
13900
|
orderId: z.ZodString;
|
|
13859
13901
|
orderItemId: z.ZodString;
|
|
13860
13902
|
status: z.ZodEnum<{
|
|
13861
|
-
PAYMENT_WAITING: "PAYMENT_WAITING";
|
|
13862
13903
|
PAID: "PAID";
|
|
13904
|
+
CANCELED: "CANCELED";
|
|
13905
|
+
PAYMENT_WAITING: "PAYMENT_WAITING";
|
|
13863
13906
|
CONFIRMED: "CONFIRMED";
|
|
13864
13907
|
DISPATCHED: "DISPATCHED";
|
|
13865
13908
|
DELIVERING: "DELIVERING";
|
|
13866
13909
|
DELIVERED: "DELIVERED";
|
|
13867
13910
|
PURCHASE_DECIDED: "PURCHASE_DECIDED";
|
|
13868
|
-
CANCELED: "CANCELED";
|
|
13869
13911
|
}>;
|
|
13870
13912
|
itemStatus: z.ZodEnum<{
|
|
13871
|
-
PAYMENT_WAITING: "PAYMENT_WAITING";
|
|
13872
13913
|
PAID: "PAID";
|
|
13914
|
+
CANCELED: "CANCELED";
|
|
13915
|
+
PAYMENT_WAITING: "PAYMENT_WAITING";
|
|
13873
13916
|
CONFIRMED: "CONFIRMED";
|
|
13874
13917
|
DISPATCHED: "DISPATCHED";
|
|
13875
13918
|
DELIVERING: "DELIVERING";
|
|
13876
13919
|
DELIVERED: "DELIVERED";
|
|
13877
13920
|
PURCHASE_DECIDED: "PURCHASE_DECIDED";
|
|
13878
|
-
CANCELED: "CANCELED";
|
|
13879
13921
|
}>;
|
|
13880
13922
|
reason: z.ZodString;
|
|
13881
13923
|
quantity: z.ZodNumber;
|
|
@@ -13909,7 +13951,7 @@ export declare const claimWebhookEventSchema: z.ZodObject<{
|
|
|
13909
13951
|
CANCEL: "CANCEL";
|
|
13910
13952
|
}>;
|
|
13911
13953
|
status: z.ZodEnum<{
|
|
13912
|
-
|
|
13954
|
+
COMPLETED: "COMPLETED";
|
|
13913
13955
|
REJECTED: "REJECTED";
|
|
13914
13956
|
REQUESTED: "REQUESTED";
|
|
13915
13957
|
HELD: "HELD";
|
|
@@ -13917,7 +13959,7 @@ export declare const claimWebhookEventSchema: z.ZodObject<{
|
|
|
13917
13959
|
COLLECTED: "COLLECTED";
|
|
13918
13960
|
REDELIVERING: "REDELIVERING";
|
|
13919
13961
|
APPROVED: "APPROVED";
|
|
13920
|
-
|
|
13962
|
+
WITHDRAWN: "WITHDRAWN";
|
|
13921
13963
|
}>;
|
|
13922
13964
|
quantity: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
|
|
13923
13965
|
refundAmount: z.ZodDefault<z.ZodOptional<z.ZodNullable<z.ZodNumber>>>;
|
|
@@ -13980,14 +14022,14 @@ export declare const webhookEventSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
13980
14022
|
data: z.ZodObject<{
|
|
13981
14023
|
orderId: z.ZodString;
|
|
13982
14024
|
status: z.ZodEnum<{
|
|
13983
|
-
PAYMENT_WAITING: "PAYMENT_WAITING";
|
|
13984
14025
|
PAID: "PAID";
|
|
14026
|
+
CANCELED: "CANCELED";
|
|
14027
|
+
PAYMENT_WAITING: "PAYMENT_WAITING";
|
|
13985
14028
|
CONFIRMED: "CONFIRMED";
|
|
13986
14029
|
DISPATCHED: "DISPATCHED";
|
|
13987
14030
|
DELIVERING: "DELIVERING";
|
|
13988
14031
|
DELIVERED: "DELIVERED";
|
|
13989
14032
|
PURCHASE_DECIDED: "PURCHASE_DECIDED";
|
|
13990
|
-
CANCELED: "CANCELED";
|
|
13991
14033
|
}>;
|
|
13992
14034
|
testPayment: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
13993
14035
|
couponDiscountAmount: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
|
|
@@ -14030,14 +14072,14 @@ export declare const webhookEventSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
14030
14072
|
orderId: z.ZodString;
|
|
14031
14073
|
orderItemId: z.ZodString;
|
|
14032
14074
|
status: z.ZodEnum<{
|
|
14033
|
-
PAYMENT_WAITING: "PAYMENT_WAITING";
|
|
14034
14075
|
PAID: "PAID";
|
|
14076
|
+
CANCELED: "CANCELED";
|
|
14077
|
+
PAYMENT_WAITING: "PAYMENT_WAITING";
|
|
14035
14078
|
CONFIRMED: "CONFIRMED";
|
|
14036
14079
|
DISPATCHED: "DISPATCHED";
|
|
14037
14080
|
DELIVERING: "DELIVERING";
|
|
14038
14081
|
DELIVERED: "DELIVERED";
|
|
14039
14082
|
PURCHASE_DECIDED: "PURCHASE_DECIDED";
|
|
14040
|
-
CANCELED: "CANCELED";
|
|
14041
14083
|
}>;
|
|
14042
14084
|
fulfillmentSnapshot: z.ZodUnion<readonly [z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
14043
14085
|
type: z.ZodLiteral<"SHIPPING">;
|
|
@@ -14069,24 +14111,24 @@ export declare const webhookEventSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
14069
14111
|
orderId: z.ZodString;
|
|
14070
14112
|
orderItemId: z.ZodString;
|
|
14071
14113
|
status: z.ZodEnum<{
|
|
14072
|
-
PAYMENT_WAITING: "PAYMENT_WAITING";
|
|
14073
14114
|
PAID: "PAID";
|
|
14115
|
+
CANCELED: "CANCELED";
|
|
14116
|
+
PAYMENT_WAITING: "PAYMENT_WAITING";
|
|
14074
14117
|
CONFIRMED: "CONFIRMED";
|
|
14075
14118
|
DISPATCHED: "DISPATCHED";
|
|
14076
14119
|
DELIVERING: "DELIVERING";
|
|
14077
14120
|
DELIVERED: "DELIVERED";
|
|
14078
14121
|
PURCHASE_DECIDED: "PURCHASE_DECIDED";
|
|
14079
|
-
CANCELED: "CANCELED";
|
|
14080
14122
|
}>;
|
|
14081
14123
|
itemStatus: z.ZodEnum<{
|
|
14082
|
-
PAYMENT_WAITING: "PAYMENT_WAITING";
|
|
14083
14124
|
PAID: "PAID";
|
|
14125
|
+
CANCELED: "CANCELED";
|
|
14126
|
+
PAYMENT_WAITING: "PAYMENT_WAITING";
|
|
14084
14127
|
CONFIRMED: "CONFIRMED";
|
|
14085
14128
|
DISPATCHED: "DISPATCHED";
|
|
14086
14129
|
DELIVERING: "DELIVERING";
|
|
14087
14130
|
DELIVERED: "DELIVERED";
|
|
14088
14131
|
PURCHASE_DECIDED: "PURCHASE_DECIDED";
|
|
14089
|
-
CANCELED: "CANCELED";
|
|
14090
14132
|
}>;
|
|
14091
14133
|
reason: z.ZodString;
|
|
14092
14134
|
quantity: z.ZodNumber;
|
|
@@ -14119,7 +14161,7 @@ export declare const webhookEventSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
14119
14161
|
CANCEL: "CANCEL";
|
|
14120
14162
|
}>;
|
|
14121
14163
|
status: z.ZodEnum<{
|
|
14122
|
-
|
|
14164
|
+
COMPLETED: "COMPLETED";
|
|
14123
14165
|
REJECTED: "REJECTED";
|
|
14124
14166
|
REQUESTED: "REQUESTED";
|
|
14125
14167
|
HELD: "HELD";
|
|
@@ -14127,7 +14169,7 @@ export declare const webhookEventSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
14127
14169
|
COLLECTED: "COLLECTED";
|
|
14128
14170
|
REDELIVERING: "REDELIVERING";
|
|
14129
14171
|
APPROVED: "APPROVED";
|
|
14130
|
-
|
|
14172
|
+
WITHDRAWN: "WITHDRAWN";
|
|
14131
14173
|
}>;
|
|
14132
14174
|
quantity: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
|
|
14133
14175
|
refundAmount: z.ZodDefault<z.ZodOptional<z.ZodNullable<z.ZodNumber>>>;
|