@sayren/store-sdk 0.55.1 → 0.56.1
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 +334 -294
- package/dist/index.mjs +34 -15
- package/package.json +1 -1
- package/src/client.ts +14 -5
- package/src/schemas/claim.ts +8 -0
- package/src/schemas/commerce-flow.ts +10 -1
- package/src/schemas/order.ts +98 -3
- package/src/schemas/points.ts +2 -1
- package/src/schemas/webhook-event.ts +10 -2
package/dist/index.d.mts
CHANGED
|
@@ -216,9 +216,9 @@ export declare const writeDryRunResultSchema: z$1.ZodObject<{
|
|
|
216
216
|
}, z$1.core.$strip>;
|
|
217
217
|
export type WriteDryRunResult = z$1.infer<typeof writeDryRunResultSchema>;
|
|
218
218
|
export declare const approvalStatusSchema: z$1.ZodEnum<{
|
|
219
|
-
UNKNOWN: "UNKNOWN";
|
|
220
219
|
FAILED: "FAILED";
|
|
221
220
|
EXPIRED: "EXPIRED";
|
|
221
|
+
UNKNOWN: "UNKNOWN";
|
|
222
222
|
REJECTED: "REJECTED";
|
|
223
223
|
PENDING: "PENDING";
|
|
224
224
|
SUCCEEDED: "SUCCEEDED";
|
|
@@ -228,9 +228,9 @@ export type ApprovalStatus = z$1.infer<typeof approvalStatusSchema>;
|
|
|
228
228
|
export declare const approvalRequestSchema: z$1.ZodObject<{
|
|
229
229
|
approvalId: z$1.ZodString;
|
|
230
230
|
status: z$1.ZodEnum<{
|
|
231
|
-
UNKNOWN: "UNKNOWN";
|
|
232
231
|
FAILED: "FAILED";
|
|
233
232
|
EXPIRED: "EXPIRED";
|
|
233
|
+
UNKNOWN: "UNKNOWN";
|
|
234
234
|
REJECTED: "REJECTED";
|
|
235
235
|
PENDING: "PENDING";
|
|
236
236
|
SUCCEEDED: "SUCCEEDED";
|
|
@@ -292,9 +292,9 @@ export declare const approvalRequestSchema: z$1.ZodObject<{
|
|
|
292
292
|
export type ApprovalRequest = z$1.infer<typeof approvalRequestSchema>;
|
|
293
293
|
export declare const approvalListQuerySchema: z$1.ZodObject<{
|
|
294
294
|
status: z$1.ZodOptional<z$1.ZodPipe<z$1.ZodPipe<z$1.ZodUnion<readonly [z$1.ZodString, z$1.ZodArray<z$1.ZodString>]>, z$1.ZodTransform<string[], string | string[]>>, z$1.ZodArray<z$1.ZodEnum<{
|
|
295
|
-
UNKNOWN: "UNKNOWN";
|
|
296
295
|
FAILED: "FAILED";
|
|
297
296
|
EXPIRED: "EXPIRED";
|
|
297
|
+
UNKNOWN: "UNKNOWN";
|
|
298
298
|
REJECTED: "REJECTED";
|
|
299
299
|
PENDING: "PENDING";
|
|
300
300
|
SUCCEEDED: "SUCCEEDED";
|
|
@@ -311,9 +311,9 @@ export declare const approvalPageSchema: z$1.ZodObject<{
|
|
|
311
311
|
items: z$1.ZodArray<z$1.ZodObject<{
|
|
312
312
|
approvalId: z$1.ZodString;
|
|
313
313
|
status: z$1.ZodEnum<{
|
|
314
|
-
UNKNOWN: "UNKNOWN";
|
|
315
314
|
FAILED: "FAILED";
|
|
316
315
|
EXPIRED: "EXPIRED";
|
|
316
|
+
UNKNOWN: "UNKNOWN";
|
|
317
317
|
REJECTED: "REJECTED";
|
|
318
318
|
PENDING: "PENDING";
|
|
319
319
|
SUCCEEDED: "SUCCEEDED";
|
|
@@ -1499,8 +1499,8 @@ export declare const aiRunRevertConflictDetailsSchema: z$1.ZodObject<{
|
|
|
1499
1499
|
conflicts: z$1.ZodArray<z$1.ZodObject<{
|
|
1500
1500
|
path: z$1.ZodString;
|
|
1501
1501
|
reason: z$1.ZodEnum<{
|
|
1502
|
-
UNKNOWN: "UNKNOWN";
|
|
1503
1502
|
CHANGED: "CHANGED";
|
|
1503
|
+
UNKNOWN: "UNKNOWN";
|
|
1504
1504
|
}>;
|
|
1505
1505
|
}, z$1.core.$strip>>;
|
|
1506
1506
|
}, z$1.core.$strip>;
|
|
@@ -2438,6 +2438,7 @@ export declare const analyticsProductsSchema: z$1.ZodObject<{
|
|
|
2438
2438
|
}, z$1.core.$strip>;
|
|
2439
2439
|
export type AnalyticsProducts = z$1.infer<typeof analyticsProductsSchema>;
|
|
2440
2440
|
export declare const analyticsChannelSchema: z$1.ZodEnum<{
|
|
2441
|
+
UNKNOWN: "UNKNOWN";
|
|
2441
2442
|
DIRECT: "DIRECT";
|
|
2442
2443
|
ORGANIC_SEARCH: "ORGANIC_SEARCH";
|
|
2443
2444
|
SOCIAL: "SOCIAL";
|
|
@@ -2445,7 +2446,6 @@ export declare const analyticsChannelSchema: z$1.ZodEnum<{
|
|
|
2445
2446
|
EMAIL: "EMAIL";
|
|
2446
2447
|
CAMPAIGN: "CAMPAIGN";
|
|
2447
2448
|
REFERRAL: "REFERRAL";
|
|
2448
|
-
UNKNOWN: "UNKNOWN";
|
|
2449
2449
|
}>;
|
|
2450
2450
|
export type AnalyticsChannel = z$1.infer<typeof analyticsChannelSchema>;
|
|
2451
2451
|
export declare const analyticsSourceGroupBySchema: z$1.ZodEnum<{
|
|
@@ -2472,6 +2472,7 @@ export declare const analyticsSourcesQuerySchema: z$1.ZodObject<{
|
|
|
2472
2472
|
export type AnalyticsSourcesParams = z$1.infer<typeof analyticsSourcesQuerySchema>;
|
|
2473
2473
|
export declare const analyticsSourceRowSchema: z$1.ZodObject<{
|
|
2474
2474
|
channel: z$1.ZodNullable<z$1.ZodEnum<{
|
|
2475
|
+
UNKNOWN: "UNKNOWN";
|
|
2475
2476
|
DIRECT: "DIRECT";
|
|
2476
2477
|
ORGANIC_SEARCH: "ORGANIC_SEARCH";
|
|
2477
2478
|
SOCIAL: "SOCIAL";
|
|
@@ -2479,7 +2480,6 @@ export declare const analyticsSourceRowSchema: z$1.ZodObject<{
|
|
|
2479
2480
|
EMAIL: "EMAIL";
|
|
2480
2481
|
CAMPAIGN: "CAMPAIGN";
|
|
2481
2482
|
REFERRAL: "REFERRAL";
|
|
2482
|
-
UNKNOWN: "UNKNOWN";
|
|
2483
2483
|
}>>;
|
|
2484
2484
|
source: z$1.ZodNullable<z$1.ZodString>;
|
|
2485
2485
|
medium: z$1.ZodNullable<z$1.ZodString>;
|
|
@@ -2508,6 +2508,7 @@ export declare const analyticsSourcesSchema: z$1.ZodObject<{
|
|
|
2508
2508
|
}>;
|
|
2509
2509
|
rows: z$1.ZodArray<z$1.ZodObject<{
|
|
2510
2510
|
channel: z$1.ZodNullable<z$1.ZodEnum<{
|
|
2511
|
+
UNKNOWN: "UNKNOWN";
|
|
2511
2512
|
DIRECT: "DIRECT";
|
|
2512
2513
|
ORGANIC_SEARCH: "ORGANIC_SEARCH";
|
|
2513
2514
|
SOCIAL: "SOCIAL";
|
|
@@ -2515,7 +2516,6 @@ export declare const analyticsSourcesSchema: z$1.ZodObject<{
|
|
|
2515
2516
|
EMAIL: "EMAIL";
|
|
2516
2517
|
CAMPAIGN: "CAMPAIGN";
|
|
2517
2518
|
REFERRAL: "REFERRAL";
|
|
2518
|
-
UNKNOWN: "UNKNOWN";
|
|
2519
2519
|
}>>;
|
|
2520
2520
|
source: z$1.ZodNullable<z$1.ZodString>;
|
|
2521
2521
|
medium: z$1.ZodNullable<z$1.ZodString>;
|
|
@@ -3368,6 +3368,7 @@ export declare const orderCanceledWebhookEventDataSchema: z$1.ZodObject<{
|
|
|
3368
3368
|
couponChargeAmount: z$1.ZodDefault<z$1.ZodOptional<z$1.ZodNumber>>;
|
|
3369
3369
|
couponChargeRefundAmount: z$1.ZodDefault<z$1.ZodOptional<z$1.ZodNumber>>;
|
|
3370
3370
|
pointRefundAmount: z$1.ZodDefault<z$1.ZodOptional<z$1.ZodNumber>>;
|
|
3371
|
+
deductAmount: z$1.ZodDefault<z$1.ZodOptional<z$1.ZodNumber>>;
|
|
3371
3372
|
currency: z$1.ZodOptional<z$1.ZodString>;
|
|
3372
3373
|
testPayment: z$1.ZodBoolean;
|
|
3373
3374
|
}, z$1.core.$strip>;
|
|
@@ -3613,6 +3614,7 @@ export declare const orderCanceledWebhookEventSchema: z$1.ZodObject<{
|
|
|
3613
3614
|
couponChargeAmount: z$1.ZodDefault<z$1.ZodOptional<z$1.ZodNumber>>;
|
|
3614
3615
|
couponChargeRefundAmount: z$1.ZodDefault<z$1.ZodOptional<z$1.ZodNumber>>;
|
|
3615
3616
|
pointRefundAmount: z$1.ZodDefault<z$1.ZodOptional<z$1.ZodNumber>>;
|
|
3617
|
+
deductAmount: z$1.ZodDefault<z$1.ZodOptional<z$1.ZodNumber>>;
|
|
3616
3618
|
currency: z$1.ZodOptional<z$1.ZodString>;
|
|
3617
3619
|
testPayment: z$1.ZodBoolean;
|
|
3618
3620
|
}, z$1.core.$strip>;
|
|
@@ -4013,6 +4015,7 @@ export declare const webhookEventSchema: z$1.ZodDiscriminatedUnion<[z$1.ZodObjec
|
|
|
4013
4015
|
couponChargeAmount: z$1.ZodDefault<z$1.ZodOptional<z$1.ZodNumber>>;
|
|
4014
4016
|
couponChargeRefundAmount: z$1.ZodDefault<z$1.ZodOptional<z$1.ZodNumber>>;
|
|
4015
4017
|
pointRefundAmount: z$1.ZodDefault<z$1.ZodOptional<z$1.ZodNumber>>;
|
|
4018
|
+
deductAmount: z$1.ZodDefault<z$1.ZodOptional<z$1.ZodNumber>>;
|
|
4016
4019
|
currency: z$1.ZodOptional<z$1.ZodString>;
|
|
4017
4020
|
testPayment: z$1.ZodBoolean;
|
|
4018
4021
|
}, z$1.core.$strip>;
|
|
@@ -4293,6 +4296,12 @@ export type AppEventDataOf<T extends AppEventType> = T extends AppLifecycleEvent
|
|
|
4293
4296
|
export declare const APP_EVENT_SCOPES: Record<AppEventType, string | null>;
|
|
4294
4297
|
export declare const APP_EVENT_TYPES: readonly AppEventType[];
|
|
4295
4298
|
export declare const appEventTypeSchema: z$1.ZodEnum<{
|
|
4299
|
+
"APP.INSTALLED": "APP.INSTALLED";
|
|
4300
|
+
"APP.UNINSTALLED": "APP.UNINSTALLED";
|
|
4301
|
+
"APP.SETTINGS_UPDATED": "APP.SETTINGS_UPDATED";
|
|
4302
|
+
"APP.SCOPES_UPDATED": "APP.SCOPES_UPDATED";
|
|
4303
|
+
"APP.STORE_REDACT": "APP.STORE_REDACT";
|
|
4304
|
+
"APP.CUSTOMER_REDACT": "APP.CUSTOMER_REDACT";
|
|
4296
4305
|
"ORDER.PAID": "ORDER.PAID";
|
|
4297
4306
|
"ORDER.CONFIRMED": "ORDER.CONFIRMED";
|
|
4298
4307
|
"ORDER.DISPATCHED": "ORDER.DISPATCHED";
|
|
@@ -4313,12 +4322,6 @@ export declare const appEventTypeSchema: z$1.ZodEnum<{
|
|
|
4313
4322
|
"INVENTORY.CHANGED": "INVENTORY.CHANGED";
|
|
4314
4323
|
"ORDER.PAYMENT_ADDED": "ORDER.PAYMENT_ADDED";
|
|
4315
4324
|
"ORDER.PAYMENT_REQUESTED": "ORDER.PAYMENT_REQUESTED";
|
|
4316
|
-
"APP.INSTALLED": "APP.INSTALLED";
|
|
4317
|
-
"APP.UNINSTALLED": "APP.UNINSTALLED";
|
|
4318
|
-
"APP.SETTINGS_UPDATED": "APP.SETTINGS_UPDATED";
|
|
4319
|
-
"APP.SCOPES_UPDATED": "APP.SCOPES_UPDATED";
|
|
4320
|
-
"APP.STORE_REDACT": "APP.STORE_REDACT";
|
|
4321
|
-
"APP.CUSTOMER_REDACT": "APP.CUSTOMER_REDACT";
|
|
4322
4325
|
}>;
|
|
4323
4326
|
/** 동의 스코프가 이벤트를 받을 수 있는가 — `rw`는 `r`을 함의한다 */
|
|
4324
4327
|
export declare function scopesCoverEvent(scopes: readonly string[], event: AppEventType): boolean;
|
|
@@ -4471,6 +4474,12 @@ export declare const appManifestSchema: z$1.ZodObject<{
|
|
|
4471
4474
|
hosts: z$1.ZodArray<z$1.ZodString>;
|
|
4472
4475
|
}, z$1.core.$strict>>;
|
|
4473
4476
|
events: z$1.ZodDefault<z$1.ZodArray<z$1.ZodEnum<{
|
|
4477
|
+
"APP.INSTALLED": "APP.INSTALLED";
|
|
4478
|
+
"APP.UNINSTALLED": "APP.UNINSTALLED";
|
|
4479
|
+
"APP.SETTINGS_UPDATED": "APP.SETTINGS_UPDATED";
|
|
4480
|
+
"APP.SCOPES_UPDATED": "APP.SCOPES_UPDATED";
|
|
4481
|
+
"APP.STORE_REDACT": "APP.STORE_REDACT";
|
|
4482
|
+
"APP.CUSTOMER_REDACT": "APP.CUSTOMER_REDACT";
|
|
4474
4483
|
"ORDER.PAID": "ORDER.PAID";
|
|
4475
4484
|
"ORDER.CONFIRMED": "ORDER.CONFIRMED";
|
|
4476
4485
|
"ORDER.DISPATCHED": "ORDER.DISPATCHED";
|
|
@@ -4491,12 +4500,6 @@ export declare const appManifestSchema: z$1.ZodObject<{
|
|
|
4491
4500
|
"INVENTORY.CHANGED": "INVENTORY.CHANGED";
|
|
4492
4501
|
"ORDER.PAYMENT_ADDED": "ORDER.PAYMENT_ADDED";
|
|
4493
4502
|
"ORDER.PAYMENT_REQUESTED": "ORDER.PAYMENT_REQUESTED";
|
|
4494
|
-
"APP.INSTALLED": "APP.INSTALLED";
|
|
4495
|
-
"APP.UNINSTALLED": "APP.UNINSTALLED";
|
|
4496
|
-
"APP.SETTINGS_UPDATED": "APP.SETTINGS_UPDATED";
|
|
4497
|
-
"APP.SCOPES_UPDATED": "APP.SCOPES_UPDATED";
|
|
4498
|
-
"APP.STORE_REDACT": "APP.STORE_REDACT";
|
|
4499
|
-
"APP.CUSTOMER_REDACT": "APP.CUSTOMER_REDACT";
|
|
4500
4503
|
}>>>;
|
|
4501
4504
|
ui: z$1.ZodOptional<z$1.ZodObject<{
|
|
4502
4505
|
adminPage: z$1.ZodObject<{
|
|
@@ -4661,23 +4664,23 @@ export declare const appRuntimeSchema: z$1.ZodEnum<{
|
|
|
4661
4664
|
export type AppRuntime = z$1.infer<typeof appRuntimeSchema>;
|
|
4662
4665
|
/** 앱 상태 — `SUSPENDED`는 운영자 정지(모든 설치 토큰·실행 거부, 설치 행은 그대로) */
|
|
4663
4666
|
export declare const appStatusSchema: z$1.ZodEnum<{
|
|
4664
|
-
ACTIVE: "ACTIVE";
|
|
4665
4667
|
SUSPENDED: "SUSPENDED";
|
|
4668
|
+
ACTIVE: "ACTIVE";
|
|
4666
4669
|
DELETED: "DELETED";
|
|
4667
4670
|
}>;
|
|
4668
4671
|
export type AppStatus = z$1.infer<typeof appStatusSchema>;
|
|
4669
4672
|
export declare const appInstallationStatusSchema: z$1.ZodEnum<{
|
|
4670
|
-
ACTIVE: "ACTIVE";
|
|
4671
4673
|
SUSPENDED: "SUSPENDED";
|
|
4674
|
+
ACTIVE: "ACTIVE";
|
|
4672
4675
|
UNINSTALLED: "UNINSTALLED";
|
|
4673
4676
|
}>;
|
|
4674
4677
|
export type AppInstallationStatus = z$1.infer<typeof appInstallationStatusSchema>;
|
|
4675
4678
|
/** 설치 앱의 앱 정보 — 상점이 보는 범위만(개발자 비밀 값·소스·빌드는 없다) */
|
|
4676
4679
|
/** 상점이 보는 앱 공개 범위 — 개발 중(개발자 조직) · 이 상점 전용 · 공개 */
|
|
4677
4680
|
export declare const appVisibilitySchema: z$1.ZodEnum<{
|
|
4681
|
+
PUBLIC: "PUBLIC";
|
|
4678
4682
|
DEVELOPMENT: "DEVELOPMENT";
|
|
4679
4683
|
PRIVATE: "PRIVATE";
|
|
4680
|
-
PUBLIC: "PUBLIC";
|
|
4681
4684
|
}>;
|
|
4682
4685
|
export type AppVisibility = z$1.infer<typeof appVisibilitySchema>;
|
|
4683
4686
|
export declare const appInstallationAppSchema: z$1.ZodObject<{
|
|
@@ -4698,8 +4701,8 @@ export declare const appInstallationAppSchema: z$1.ZodObject<{
|
|
|
4698
4701
|
EXTERNAL: "EXTERNAL";
|
|
4699
4702
|
}>;
|
|
4700
4703
|
status: z$1.ZodEnum<{
|
|
4701
|
-
ACTIVE: "ACTIVE";
|
|
4702
4704
|
SUSPENDED: "SUSPENDED";
|
|
4705
|
+
ACTIVE: "ACTIVE";
|
|
4703
4706
|
DELETED: "DELETED";
|
|
4704
4707
|
}>;
|
|
4705
4708
|
}, z$1.core.$strip>;
|
|
@@ -4789,14 +4792,14 @@ export declare const appInstallationSchema: z$1.ZodObject<{
|
|
|
4789
4792
|
EXTERNAL: "EXTERNAL";
|
|
4790
4793
|
}>;
|
|
4791
4794
|
status: z$1.ZodEnum<{
|
|
4792
|
-
ACTIVE: "ACTIVE";
|
|
4793
4795
|
SUSPENDED: "SUSPENDED";
|
|
4796
|
+
ACTIVE: "ACTIVE";
|
|
4794
4797
|
DELETED: "DELETED";
|
|
4795
4798
|
}>;
|
|
4796
4799
|
}, z$1.core.$strip>;
|
|
4797
4800
|
status: z$1.ZodEnum<{
|
|
4798
|
-
ACTIVE: "ACTIVE";
|
|
4799
4801
|
SUSPENDED: "SUSPENDED";
|
|
4802
|
+
ACTIVE: "ACTIVE";
|
|
4800
4803
|
UNINSTALLED: "UNINSTALLED";
|
|
4801
4804
|
}>;
|
|
4802
4805
|
versionNumber: z$1.ZodNumber;
|
|
@@ -4806,6 +4809,12 @@ export declare const appInstallationSchema: z$1.ZodObject<{
|
|
|
4806
4809
|
scopes: z$1.ZodArray<z$1.ZodString>;
|
|
4807
4810
|
networkHosts: z$1.ZodArray<z$1.ZodString>;
|
|
4808
4811
|
events: z$1.ZodArray<z$1.ZodEnum<{
|
|
4812
|
+
"APP.INSTALLED": "APP.INSTALLED";
|
|
4813
|
+
"APP.UNINSTALLED": "APP.UNINSTALLED";
|
|
4814
|
+
"APP.SETTINGS_UPDATED": "APP.SETTINGS_UPDATED";
|
|
4815
|
+
"APP.SCOPES_UPDATED": "APP.SCOPES_UPDATED";
|
|
4816
|
+
"APP.STORE_REDACT": "APP.STORE_REDACT";
|
|
4817
|
+
"APP.CUSTOMER_REDACT": "APP.CUSTOMER_REDACT";
|
|
4809
4818
|
"ORDER.PAID": "ORDER.PAID";
|
|
4810
4819
|
"ORDER.CONFIRMED": "ORDER.CONFIRMED";
|
|
4811
4820
|
"ORDER.DISPATCHED": "ORDER.DISPATCHED";
|
|
@@ -4826,12 +4835,6 @@ export declare const appInstallationSchema: z$1.ZodObject<{
|
|
|
4826
4835
|
"INVENTORY.CHANGED": "INVENTORY.CHANGED";
|
|
4827
4836
|
"ORDER.PAYMENT_ADDED": "ORDER.PAYMENT_ADDED";
|
|
4828
4837
|
"ORDER.PAYMENT_REQUESTED": "ORDER.PAYMENT_REQUESTED";
|
|
4829
|
-
"APP.INSTALLED": "APP.INSTALLED";
|
|
4830
|
-
"APP.UNINSTALLED": "APP.UNINSTALLED";
|
|
4831
|
-
"APP.SETTINGS_UPDATED": "APP.SETTINGS_UPDATED";
|
|
4832
|
-
"APP.SCOPES_UPDATED": "APP.SCOPES_UPDATED";
|
|
4833
|
-
"APP.STORE_REDACT": "APP.STORE_REDACT";
|
|
4834
|
-
"APP.CUSTOMER_REDACT": "APP.CUSTOMER_REDACT";
|
|
4835
4838
|
}>>;
|
|
4836
4839
|
publicHttp: z$1.ZodDefault<z$1.ZodArray<z$1.ZodString>>;
|
|
4837
4840
|
schedules: z$1.ZodDefault<z$1.ZodArray<z$1.ZodObject<{
|
|
@@ -4855,6 +4858,12 @@ export declare const appInstallationSchema: z$1.ZodObject<{
|
|
|
4855
4858
|
grantedScopes: z$1.ZodArray<z$1.ZodString>;
|
|
4856
4859
|
grantedNetworkHosts: z$1.ZodArray<z$1.ZodString>;
|
|
4857
4860
|
events: z$1.ZodArray<z$1.ZodEnum<{
|
|
4861
|
+
"APP.INSTALLED": "APP.INSTALLED";
|
|
4862
|
+
"APP.UNINSTALLED": "APP.UNINSTALLED";
|
|
4863
|
+
"APP.SETTINGS_UPDATED": "APP.SETTINGS_UPDATED";
|
|
4864
|
+
"APP.SCOPES_UPDATED": "APP.SCOPES_UPDATED";
|
|
4865
|
+
"APP.STORE_REDACT": "APP.STORE_REDACT";
|
|
4866
|
+
"APP.CUSTOMER_REDACT": "APP.CUSTOMER_REDACT";
|
|
4858
4867
|
"ORDER.PAID": "ORDER.PAID";
|
|
4859
4868
|
"ORDER.CONFIRMED": "ORDER.CONFIRMED";
|
|
4860
4869
|
"ORDER.DISPATCHED": "ORDER.DISPATCHED";
|
|
@@ -4875,12 +4884,6 @@ export declare const appInstallationSchema: z$1.ZodObject<{
|
|
|
4875
4884
|
"INVENTORY.CHANGED": "INVENTORY.CHANGED";
|
|
4876
4885
|
"ORDER.PAYMENT_ADDED": "ORDER.PAYMENT_ADDED";
|
|
4877
4886
|
"ORDER.PAYMENT_REQUESTED": "ORDER.PAYMENT_REQUESTED";
|
|
4878
|
-
"APP.INSTALLED": "APP.INSTALLED";
|
|
4879
|
-
"APP.UNINSTALLED": "APP.UNINSTALLED";
|
|
4880
|
-
"APP.SETTINGS_UPDATED": "APP.SETTINGS_UPDATED";
|
|
4881
|
-
"APP.SCOPES_UPDATED": "APP.SCOPES_UPDATED";
|
|
4882
|
-
"APP.STORE_REDACT": "APP.STORE_REDACT";
|
|
4883
|
-
"APP.CUSTOMER_REDACT": "APP.CUSTOMER_REDACT";
|
|
4884
4887
|
}>>;
|
|
4885
4888
|
adminPage: z$1.ZodBoolean;
|
|
4886
4889
|
publicHttp: z$1.ZodDefault<z$1.ZodArray<z$1.ZodString>>;
|
|
@@ -5041,9 +5044,9 @@ export declare const storeAppSchema: z$1.ZodObject<{
|
|
|
5041
5044
|
versionNumber: z$1.ZodNumber;
|
|
5042
5045
|
installationId: z$1.ZodNullable<z$1.ZodString>;
|
|
5043
5046
|
visibility: z$1.ZodDefault<z$1.ZodEnum<{
|
|
5047
|
+
PUBLIC: "PUBLIC";
|
|
5044
5048
|
DEVELOPMENT: "DEVELOPMENT";
|
|
5045
5049
|
PRIVATE: "PRIVATE";
|
|
5046
|
-
PUBLIC: "PUBLIC";
|
|
5047
5050
|
}>>;
|
|
5048
5051
|
}, z$1.core.$strip>;
|
|
5049
5052
|
export type StoreApp = z$1.infer<typeof storeAppSchema>;
|
|
@@ -5058,14 +5061,20 @@ export declare const storeAppDetailSchema: z$1.ZodObject<{
|
|
|
5058
5061
|
versionNumber: z$1.ZodNumber;
|
|
5059
5062
|
installationId: z$1.ZodNullable<z$1.ZodString>;
|
|
5060
5063
|
visibility: z$1.ZodDefault<z$1.ZodEnum<{
|
|
5064
|
+
PUBLIC: "PUBLIC";
|
|
5061
5065
|
DEVELOPMENT: "DEVELOPMENT";
|
|
5062
5066
|
PRIVATE: "PRIVATE";
|
|
5063
|
-
PUBLIC: "PUBLIC";
|
|
5064
5067
|
}>>;
|
|
5065
5068
|
readme: z$1.ZodNullable<z$1.ZodString>;
|
|
5066
5069
|
supportEmail: z$1.ZodNullable<z$1.ZodString>;
|
|
5067
5070
|
scopes: z$1.ZodArray<z$1.ZodString>;
|
|
5068
5071
|
events: z$1.ZodArray<z$1.ZodEnum<{
|
|
5072
|
+
"APP.INSTALLED": "APP.INSTALLED";
|
|
5073
|
+
"APP.UNINSTALLED": "APP.UNINSTALLED";
|
|
5074
|
+
"APP.SETTINGS_UPDATED": "APP.SETTINGS_UPDATED";
|
|
5075
|
+
"APP.SCOPES_UPDATED": "APP.SCOPES_UPDATED";
|
|
5076
|
+
"APP.STORE_REDACT": "APP.STORE_REDACT";
|
|
5077
|
+
"APP.CUSTOMER_REDACT": "APP.CUSTOMER_REDACT";
|
|
5069
5078
|
"ORDER.PAID": "ORDER.PAID";
|
|
5070
5079
|
"ORDER.CONFIRMED": "ORDER.CONFIRMED";
|
|
5071
5080
|
"ORDER.DISPATCHED": "ORDER.DISPATCHED";
|
|
@@ -5086,12 +5095,6 @@ export declare const storeAppDetailSchema: z$1.ZodObject<{
|
|
|
5086
5095
|
"INVENTORY.CHANGED": "INVENTORY.CHANGED";
|
|
5087
5096
|
"ORDER.PAYMENT_ADDED": "ORDER.PAYMENT_ADDED";
|
|
5088
5097
|
"ORDER.PAYMENT_REQUESTED": "ORDER.PAYMENT_REQUESTED";
|
|
5089
|
-
"APP.INSTALLED": "APP.INSTALLED";
|
|
5090
|
-
"APP.UNINSTALLED": "APP.UNINSTALLED";
|
|
5091
|
-
"APP.SETTINGS_UPDATED": "APP.SETTINGS_UPDATED";
|
|
5092
|
-
"APP.SCOPES_UPDATED": "APP.SCOPES_UPDATED";
|
|
5093
|
-
"APP.STORE_REDACT": "APP.STORE_REDACT";
|
|
5094
|
-
"APP.CUSTOMER_REDACT": "APP.CUSTOMER_REDACT";
|
|
5095
5098
|
}>>;
|
|
5096
5099
|
networkHosts: z$1.ZodArray<z$1.ZodString>;
|
|
5097
5100
|
publicHttp: z$1.ZodDefault<z$1.ZodArray<z$1.ZodString>>;
|
|
@@ -5213,20 +5216,20 @@ export declare const developerOrgSchema: z$1.ZodObject<{
|
|
|
5213
5216
|
export type DeveloperOrg = z$1.infer<typeof developerOrgSchema>;
|
|
5214
5217
|
export declare const appVersionStatusSchema: z$1.ZodEnum<{
|
|
5215
5218
|
FAILED: "FAILED";
|
|
5219
|
+
REVOKED: "REVOKED";
|
|
5216
5220
|
BUILDING: "BUILDING";
|
|
5217
5221
|
READY: "READY";
|
|
5218
|
-
REVOKED: "REVOKED";
|
|
5219
5222
|
}>;
|
|
5220
5223
|
export type AppVersionStatus = z$1.infer<typeof appVersionStatusSchema>;
|
|
5221
5224
|
/** 빌드 단계(매뉴얼 「앱 버전과 배포 › 빌드」). 로컬 번들(A1)은 `DEPENDENCIES`·`VERIFY`·`BUNDLE`·`UPLOAD`를 서버가 돈다 */
|
|
5222
5225
|
export declare const appBuildStageSchema: z$1.ZodEnum<{
|
|
5223
5226
|
BUILD: "BUILD";
|
|
5227
|
+
UPLOAD: "UPLOAD";
|
|
5224
5228
|
DEPENDENCIES: "DEPENDENCIES";
|
|
5225
5229
|
VERIFY: "VERIFY";
|
|
5226
5230
|
INSTALL: "INSTALL";
|
|
5227
5231
|
TYPECHECK: "TYPECHECK";
|
|
5228
5232
|
BUNDLE: "BUNDLE";
|
|
5229
|
-
UPLOAD: "UPLOAD";
|
|
5230
5233
|
}>;
|
|
5231
5234
|
export type AppBuildStage = z$1.infer<typeof appBuildStageSchema>;
|
|
5232
5235
|
export declare const appBuildSchema: z$1.ZodObject<{
|
|
@@ -5259,9 +5262,9 @@ export declare const appVersionSchema: z$1.ZodObject<{
|
|
|
5259
5262
|
number: z$1.ZodNumber;
|
|
5260
5263
|
status: z$1.ZodEnum<{
|
|
5261
5264
|
FAILED: "FAILED";
|
|
5265
|
+
REVOKED: "REVOKED";
|
|
5262
5266
|
BUILDING: "BUILDING";
|
|
5263
5267
|
READY: "READY";
|
|
5264
|
-
REVOKED: "REVOKED";
|
|
5265
5268
|
}>;
|
|
5266
5269
|
current: z$1.ZodBoolean;
|
|
5267
5270
|
message: z$1.ZodNullable<z$1.ZodString>;
|
|
@@ -5347,8 +5350,8 @@ export declare const developerAppSchema: z$1.ZodObject<{
|
|
|
5347
5350
|
EXTERNAL: "EXTERNAL";
|
|
5348
5351
|
}>;
|
|
5349
5352
|
status: z$1.ZodEnum<{
|
|
5350
|
-
ACTIVE: "ACTIVE";
|
|
5351
5353
|
SUSPENDED: "SUSPENDED";
|
|
5354
|
+
ACTIVE: "ACTIVE";
|
|
5352
5355
|
DELETED: "DELETED";
|
|
5353
5356
|
}>;
|
|
5354
5357
|
suspendedReason: z$1.ZodNullable<z$1.ZodString>;
|
|
@@ -5410,9 +5413,9 @@ export declare const appReleaseResultSchema: z$1.ZodObject<{
|
|
|
5410
5413
|
number: z$1.ZodNumber;
|
|
5411
5414
|
status: z$1.ZodEnum<{
|
|
5412
5415
|
FAILED: "FAILED";
|
|
5416
|
+
REVOKED: "REVOKED";
|
|
5413
5417
|
BUILDING: "BUILDING";
|
|
5414
5418
|
READY: "READY";
|
|
5415
|
-
REVOKED: "REVOKED";
|
|
5416
5419
|
}>;
|
|
5417
5420
|
current: z$1.ZodBoolean;
|
|
5418
5421
|
message: z$1.ZodNullable<z$1.ZodString>;
|
|
@@ -5473,9 +5476,9 @@ export declare const devStoreSchema: z$1.ZodObject<{
|
|
|
5473
5476
|
name: z$1.ZodString;
|
|
5474
5477
|
storeCode: z$1.ZodString;
|
|
5475
5478
|
status: z$1.ZodEnum<{
|
|
5476
|
-
ACTIVE: "ACTIVE";
|
|
5477
5479
|
SUSPENDED: "SUSPENDED";
|
|
5478
5480
|
CLOSED: "CLOSED";
|
|
5481
|
+
ACTIVE: "ACTIVE";
|
|
5479
5482
|
}>;
|
|
5480
5483
|
createdAt: z$1.ZodString;
|
|
5481
5484
|
}, z$1.core.$strip>;
|
|
@@ -5485,8 +5488,8 @@ export declare const developerStoreSchema: z$1.ZodObject<{
|
|
|
5485
5488
|
storeId: z$1.ZodString;
|
|
5486
5489
|
name: z$1.ZodString;
|
|
5487
5490
|
role: z$1.ZodEnum<{
|
|
5488
|
-
OWNER: "OWNER";
|
|
5489
5491
|
ADMIN: "ADMIN";
|
|
5492
|
+
OWNER: "OWNER";
|
|
5490
5493
|
}>;
|
|
5491
5494
|
development: z$1.ZodBoolean;
|
|
5492
5495
|
}, z$1.core.$strip>;
|
|
@@ -5497,8 +5500,8 @@ export declare const developerInstallationSchema: z$1.ZodObject<{
|
|
|
5497
5500
|
storeId: z$1.ZodString;
|
|
5498
5501
|
storeName: z$1.ZodString;
|
|
5499
5502
|
status: z$1.ZodEnum<{
|
|
5500
|
-
ACTIVE: "ACTIVE";
|
|
5501
5503
|
SUSPENDED: "SUSPENDED";
|
|
5504
|
+
ACTIVE: "ACTIVE";
|
|
5502
5505
|
UNINSTALLED: "UNINSTALLED";
|
|
5503
5506
|
}>;
|
|
5504
5507
|
versionNumber: z$1.ZodNullable<z$1.ZodNumber>;
|
|
@@ -5525,14 +5528,14 @@ export declare const appInvocationSchema: z$1.ZodObject<{
|
|
|
5525
5528
|
tool: "tool";
|
|
5526
5529
|
event: "event";
|
|
5527
5530
|
http: "http";
|
|
5528
|
-
schedule: "schedule";
|
|
5529
5531
|
flow: "flow";
|
|
5532
|
+
schedule: "schedule";
|
|
5530
5533
|
}>;
|
|
5531
5534
|
eventType: z$1.ZodNullable<z$1.ZodString>;
|
|
5532
5535
|
outcome: z$1.ZodEnum<{
|
|
5533
5536
|
REJECTED: "REJECTED";
|
|
5534
|
-
OK: "OK";
|
|
5535
5537
|
ERROR: "ERROR";
|
|
5538
|
+
OK: "OK";
|
|
5536
5539
|
LIMIT_EXCEEDED: "LIMIT_EXCEEDED";
|
|
5537
5540
|
}>;
|
|
5538
5541
|
errorMessage: z$1.ZodNullable<z$1.ZodString>;
|
|
@@ -6176,8 +6179,8 @@ export declare const claimSchema: z$1.ZodObject<{
|
|
|
6176
6179
|
}>;
|
|
6177
6180
|
reasonDetail: z$1.ZodNullable<z$1.ZodString>;
|
|
6178
6181
|
responsibility: z$1.ZodEnum<{
|
|
6179
|
-
BUYER: "BUYER";
|
|
6180
6182
|
SELLER: "SELLER";
|
|
6183
|
+
BUYER: "BUYER";
|
|
6181
6184
|
}>;
|
|
6182
6185
|
claimDeliveryFee: z$1.ZodNumber;
|
|
6183
6186
|
expectedRefundAmount: z$1.ZodNullable<z$1.ZodNumber>;
|
|
@@ -6266,8 +6269,8 @@ export declare const claimDetailSchema: z$1.ZodObject<{
|
|
|
6266
6269
|
}>;
|
|
6267
6270
|
reasonDetail: z$1.ZodNullable<z$1.ZodString>;
|
|
6268
6271
|
responsibility: z$1.ZodEnum<{
|
|
6269
|
-
BUYER: "BUYER";
|
|
6270
6272
|
SELLER: "SELLER";
|
|
6273
|
+
BUYER: "BUYER";
|
|
6271
6274
|
}>;
|
|
6272
6275
|
claimDeliveryFee: z$1.ZodNumber;
|
|
6273
6276
|
expectedRefundAmount: z$1.ZodNullable<z$1.ZodNumber>;
|
|
@@ -6311,9 +6314,9 @@ export declare const claimDetailSchema: z$1.ZodObject<{
|
|
|
6311
6314
|
WITHDRAWN: "WITHDRAWN";
|
|
6312
6315
|
}>;
|
|
6313
6316
|
actor: z$1.ZodEnum<{
|
|
6314
|
-
SYSTEM: "SYSTEM";
|
|
6315
|
-
BUYER: "BUYER";
|
|
6316
6317
|
SELLER: "SELLER";
|
|
6318
|
+
BUYER: "BUYER";
|
|
6319
|
+
SYSTEM: "SYSTEM";
|
|
6317
6320
|
}>;
|
|
6318
6321
|
occurredAt: z$1.ZodString;
|
|
6319
6322
|
}, z$1.core.$strip>>>;
|
|
@@ -6327,11 +6330,11 @@ export declare const claimHoldResultSchema: z$1.ZodObject<{
|
|
|
6327
6330
|
export type ClaimHoldResult = z$1.infer<typeof claimHoldResultSchema>;
|
|
6328
6331
|
export declare const rejectClaimRequestSchema: z$1.ZodObject<{
|
|
6329
6332
|
reason: z$1.ZodEnum<{
|
|
6333
|
+
ETC: "ETC";
|
|
6330
6334
|
USED_PRODUCT: "USED_PRODUCT";
|
|
6331
6335
|
MISSING_COMPONENT: "MISSING_COMPONENT";
|
|
6332
6336
|
PERIOD_EXPIRED: "PERIOD_EXPIRED";
|
|
6333
6337
|
BUYER_FAULT_DAMAGE: "BUYER_FAULT_DAMAGE";
|
|
6334
|
-
ETC: "ETC";
|
|
6335
6338
|
}>;
|
|
6336
6339
|
detail: z$1.ZodString;
|
|
6337
6340
|
evidenceImages: z$1.ZodOptional<z$1.ZodArray<z$1.ZodURL>>;
|
|
@@ -6349,6 +6352,7 @@ export declare const approveClaimResultSchema: z$1.ZodObject<{
|
|
|
6349
6352
|
pointRefundAmount: z$1.ZodDefault<z$1.ZodOptional<z$1.ZodNumber>>;
|
|
6350
6353
|
refundedAt: z$1.ZodString;
|
|
6351
6354
|
refundHeld: z$1.ZodDefault<z$1.ZodOptional<z$1.ZodBoolean>>;
|
|
6355
|
+
refundStatus: z$1.ZodDefault<z$1.ZodOptional<z$1.ZodNullable<z$1.ZodString>>>;
|
|
6352
6356
|
}, z$1.core.$strip>;
|
|
6353
6357
|
export type ApproveClaimResult = z$1.infer<typeof approveClaimResultSchema>;
|
|
6354
6358
|
//#endregion
|
|
@@ -6383,10 +6387,10 @@ export declare const COLLECTION_PRODUCT_SORTS: readonly ["MANUAL", "LATEST", "BE
|
|
|
6383
6387
|
export type CollectionProductSort = (typeof COLLECTION_PRODUCT_SORTS)[number];
|
|
6384
6388
|
export declare const collectionProductSortRequestSchema: z$1.ZodEnum<{
|
|
6385
6389
|
MANUAL: "MANUAL";
|
|
6386
|
-
LATEST: "LATEST";
|
|
6387
|
-
BEST_SELLING: "BEST_SELLING";
|
|
6388
6390
|
PRICE_ASC: "PRICE_ASC";
|
|
6389
6391
|
PRICE_DESC: "PRICE_DESC";
|
|
6392
|
+
LATEST: "LATEST";
|
|
6393
|
+
BEST_SELLING: "BEST_SELLING";
|
|
6390
6394
|
REVIEW_COUNT: "REVIEW_COUNT";
|
|
6391
6395
|
RATING_DESC: "RATING_DESC";
|
|
6392
6396
|
RECOMMEND: "RECOMMEND";
|
|
@@ -6394,8 +6398,8 @@ export declare const collectionProductSortRequestSchema: z$1.ZodEnum<{
|
|
|
6394
6398
|
/** 노출 상태 — 노출 여부와 기간에서 나온 값이다. 숨김이 기간보다 앞선다 */
|
|
6395
6399
|
export declare const collectionStateSchema: z$1.ZodEnum<{
|
|
6396
6400
|
ACTIVE: "ACTIVE";
|
|
6397
|
-
SCHEDULED: "SCHEDULED";
|
|
6398
6401
|
ENDED: "ENDED";
|
|
6402
|
+
SCHEDULED: "SCHEDULED";
|
|
6399
6403
|
HIDDEN: "HIDDEN";
|
|
6400
6404
|
}>;
|
|
6401
6405
|
export type CollectionState = z$1.infer<typeof collectionStateSchema>;
|
|
@@ -6575,8 +6579,8 @@ export declare const collectionSchema: z$1.ZodObject<{
|
|
|
6575
6579
|
metaDescription: z$1.ZodNullable<z$1.ZodString>;
|
|
6576
6580
|
state: z$1.ZodEnum<{
|
|
6577
6581
|
ACTIVE: "ACTIVE";
|
|
6578
|
-
SCHEDULED: "SCHEDULED";
|
|
6579
6582
|
ENDED: "ENDED";
|
|
6583
|
+
SCHEDULED: "SCHEDULED";
|
|
6580
6584
|
HIDDEN: "HIDDEN";
|
|
6581
6585
|
}>;
|
|
6582
6586
|
salesComputedAt: z$1.ZodDefault<z$1.ZodNullable<z$1.ZodString>>;
|
|
@@ -6620,10 +6624,10 @@ export declare const collectionCreateRequestSchema: z$1.ZodObject<{
|
|
|
6620
6624
|
imageUrl: z$1.ZodOptional<z$1.ZodNullable<z$1.ZodURL>>;
|
|
6621
6625
|
productSort: z$1.ZodOptional<z$1.ZodEnum<{
|
|
6622
6626
|
MANUAL: "MANUAL";
|
|
6623
|
-
LATEST: "LATEST";
|
|
6624
|
-
BEST_SELLING: "BEST_SELLING";
|
|
6625
6627
|
PRICE_ASC: "PRICE_ASC";
|
|
6626
6628
|
PRICE_DESC: "PRICE_DESC";
|
|
6629
|
+
LATEST: "LATEST";
|
|
6630
|
+
BEST_SELLING: "BEST_SELLING";
|
|
6627
6631
|
REVIEW_COUNT: "REVIEW_COUNT";
|
|
6628
6632
|
RATING_DESC: "RATING_DESC";
|
|
6629
6633
|
RECOMMEND: "RECOMMEND";
|
|
@@ -6668,10 +6672,10 @@ export declare const collectionPatchRequestSchema: z$1.ZodObject<{
|
|
|
6668
6672
|
imageUrl: z$1.ZodOptional<z$1.ZodNullable<z$1.ZodURL>>;
|
|
6669
6673
|
productSort: z$1.ZodOptional<z$1.ZodEnum<{
|
|
6670
6674
|
MANUAL: "MANUAL";
|
|
6671
|
-
LATEST: "LATEST";
|
|
6672
|
-
BEST_SELLING: "BEST_SELLING";
|
|
6673
6675
|
PRICE_ASC: "PRICE_ASC";
|
|
6674
6676
|
PRICE_DESC: "PRICE_DESC";
|
|
6677
|
+
LATEST: "LATEST";
|
|
6678
|
+
BEST_SELLING: "BEST_SELLING";
|
|
6675
6679
|
REVIEW_COUNT: "REVIEW_COUNT";
|
|
6676
6680
|
RATING_DESC: "RATING_DESC";
|
|
6677
6681
|
RECOMMEND: "RECOMMEND";
|
|
@@ -6756,8 +6760,8 @@ export declare const collectionPageSchema: z$1.ZodObject<{
|
|
|
6756
6760
|
metaDescription: z$1.ZodNullable<z$1.ZodString>;
|
|
6757
6761
|
state: z$1.ZodEnum<{
|
|
6758
6762
|
ACTIVE: "ACTIVE";
|
|
6759
|
-
SCHEDULED: "SCHEDULED";
|
|
6760
6763
|
ENDED: "ENDED";
|
|
6764
|
+
SCHEDULED: "SCHEDULED";
|
|
6761
6765
|
HIDDEN: "HIDDEN";
|
|
6762
6766
|
}>;
|
|
6763
6767
|
salesComputedAt: z$1.ZodDefault<z$1.ZodNullable<z$1.ZodString>>;
|
|
@@ -6792,8 +6796,8 @@ export declare const collectionListQuerySchema: z$1.ZodObject<{
|
|
|
6792
6796
|
}>>;
|
|
6793
6797
|
state: z$1.ZodOptional<z$1.ZodEnum<{
|
|
6794
6798
|
ACTIVE: "ACTIVE";
|
|
6795
|
-
SCHEDULED: "SCHEDULED";
|
|
6796
6799
|
ENDED: "ENDED";
|
|
6800
|
+
SCHEDULED: "SCHEDULED";
|
|
6797
6801
|
HIDDEN: "HIDDEN";
|
|
6798
6802
|
}>>;
|
|
6799
6803
|
productId: z$1.ZodOptional<z$1.ZodString>;
|
|
@@ -6825,10 +6829,10 @@ export declare const collectionPreviewRequestSchema: z$1.ZodObject<{
|
|
|
6825
6829
|
}, z$1.core.$strip>], "field">>;
|
|
6826
6830
|
productSort: z$1.ZodOptional<z$1.ZodEnum<{
|
|
6827
6831
|
MANUAL: "MANUAL";
|
|
6828
|
-
LATEST: "LATEST";
|
|
6829
|
-
BEST_SELLING: "BEST_SELLING";
|
|
6830
6832
|
PRICE_ASC: "PRICE_ASC";
|
|
6831
6833
|
PRICE_DESC: "PRICE_DESC";
|
|
6834
|
+
LATEST: "LATEST";
|
|
6835
|
+
BEST_SELLING: "BEST_SELLING";
|
|
6832
6836
|
REVIEW_COUNT: "REVIEW_COUNT";
|
|
6833
6837
|
RATING_DESC: "RATING_DESC";
|
|
6834
6838
|
RECOMMEND: "RECOMMEND";
|
|
@@ -7135,6 +7139,7 @@ export type OrderItemFlow = z$1.infer<typeof orderItemFlowSchema>;
|
|
|
7135
7139
|
export declare const moveFlowStateRequestSchema: z$1.ZodObject<{
|
|
7136
7140
|
to: z$1.ZodString;
|
|
7137
7141
|
reason: z$1.ZodOptional<z$1.ZodString>;
|
|
7142
|
+
restock: z$1.ZodOptional<z$1.ZodBoolean>;
|
|
7138
7143
|
}, z$1.core.$strip>;
|
|
7139
7144
|
export type MoveFlowStateRequest = z$1.infer<typeof moveFlowStateRequestSchema>;
|
|
7140
7145
|
export declare const flowRunStepSchema: z$1.ZodObject<{
|
|
@@ -7514,8 +7519,8 @@ export declare const flowDraftOperationSchema: z$1.ZodDiscriminatedUnion<[z$1.Zo
|
|
|
7514
7519
|
}, z$1.core.$strict>>;
|
|
7515
7520
|
unset: z$1.ZodOptional<z$1.ZodArray<z$1.ZodEnum<{
|
|
7516
7521
|
progression: "progression";
|
|
7517
|
-
fulfillmentMethods: "fulfillmentMethods";
|
|
7518
7522
|
groupClaim: "groupClaim";
|
|
7523
|
+
fulfillmentMethods: "fulfillmentMethods";
|
|
7519
7524
|
}>>>;
|
|
7520
7525
|
}, z$1.core.$strict>], "op">;
|
|
7521
7526
|
export type FlowDraftOperation = z$1.infer<typeof flowDraftOperationSchema>;
|
|
@@ -7576,8 +7581,8 @@ export declare const applyFlowOperationsRequestSchema: z$1.ZodObject<{
|
|
|
7576
7581
|
}, z$1.core.$strict>>;
|
|
7577
7582
|
unset: z$1.ZodOptional<z$1.ZodArray<z$1.ZodEnum<{
|
|
7578
7583
|
progression: "progression";
|
|
7579
|
-
fulfillmentMethods: "fulfillmentMethods";
|
|
7580
7584
|
groupClaim: "groupClaim";
|
|
7585
|
+
fulfillmentMethods: "fulfillmentMethods";
|
|
7581
7586
|
}>>>;
|
|
7582
7587
|
}, z$1.core.$strict>], "op">>;
|
|
7583
7588
|
}, z$1.core.$strip>;
|
|
@@ -7648,8 +7653,8 @@ export declare const orderFlowActionResultSchema: z$1.ZodObject<{
|
|
|
7648
7653
|
results: z$1.ZodArray<z$1.ZodObject<{
|
|
7649
7654
|
orderItemId: z$1.ZodString;
|
|
7650
7655
|
status: z$1.ZodEnum<{
|
|
7651
|
-
COMPLETED: "COMPLETED";
|
|
7652
7656
|
FAILED: "FAILED";
|
|
7657
|
+
COMPLETED: "COMPLETED";
|
|
7653
7658
|
SKIPPED: "SKIPPED";
|
|
7654
7659
|
}>;
|
|
7655
7660
|
reason: z$1.ZodOptional<z$1.ZodString>;
|
|
@@ -8342,8 +8347,8 @@ export declare function couponRequirementsOf(eligibility: ConditionGroup, format
|
|
|
8342
8347
|
/** 쿠폰 상태 — `ACTIVE`(사용 중)·`PAUSED`(중지, 재개 가능)·`ENDED`(종료, 되돌릴 수 없음) */
|
|
8343
8348
|
export declare const couponStatusSchema: z$1.ZodEnum<{
|
|
8344
8349
|
ACTIVE: "ACTIVE";
|
|
8345
|
-
ENDED: "ENDED";
|
|
8346
8350
|
PAUSED: "PAUSED";
|
|
8351
|
+
ENDED: "ENDED";
|
|
8347
8352
|
}>;
|
|
8348
8353
|
export type CouponStatus = z$1.infer<typeof couponStatusSchema>;
|
|
8349
8354
|
/**
|
|
@@ -8351,8 +8356,8 @@ export type CouponStatus = z$1.infer<typeof couponStatusSchema>;
|
|
|
8351
8356
|
* 응답(`couponSchema.issueMethod`)은 값이 늘 수 있어 문자열로 받는다. 이 enum은 요청 검증용이다.
|
|
8352
8357
|
*/
|
|
8353
8358
|
export declare const couponIssueMethodSchema: z$1.ZodEnum<{
|
|
8354
|
-
CODE: "CODE";
|
|
8355
8359
|
MANUAL: "MANUAL";
|
|
8360
|
+
CODE: "CODE";
|
|
8356
8361
|
DOWNLOAD: "DOWNLOAD";
|
|
8357
8362
|
SIGNUP: "SIGNUP";
|
|
8358
8363
|
FLOW: "FLOW";
|
|
@@ -8487,8 +8492,8 @@ export declare const createCouponRequestSchema: z$1.ZodObject<{
|
|
|
8487
8492
|
name: z$1.ZodString;
|
|
8488
8493
|
description: z$1.ZodOptional<z$1.ZodNullable<z$1.ZodString>>;
|
|
8489
8494
|
kind: z$1.ZodEnum<{
|
|
8490
|
-
PRODUCT: "PRODUCT";
|
|
8491
8495
|
ORDER: "ORDER";
|
|
8496
|
+
PRODUCT: "PRODUCT";
|
|
8492
8497
|
DELIVERY: "DELIVERY";
|
|
8493
8498
|
}>;
|
|
8494
8499
|
benefit: z$1.ZodOptional<z$1.ZodObject<{
|
|
@@ -8512,8 +8517,8 @@ export declare const createCouponRequestSchema: z$1.ZodObject<{
|
|
|
8512
8517
|
excludeCategoryIds: z$1.ZodOptional<z$1.ZodArray<z$1.ZodString>>;
|
|
8513
8518
|
}, z$1.core.$strict>>;
|
|
8514
8519
|
issueMethod: z$1.ZodEnum<{
|
|
8515
|
-
CODE: "CODE";
|
|
8516
8520
|
MANUAL: "MANUAL";
|
|
8521
|
+
CODE: "CODE";
|
|
8517
8522
|
DOWNLOAD: "DOWNLOAD";
|
|
8518
8523
|
SIGNUP: "SIGNUP";
|
|
8519
8524
|
FLOW: "FLOW";
|
|
@@ -8657,8 +8662,8 @@ export declare const couponSchema: z$1.ZodObject<{
|
|
|
8657
8662
|
name: z$1.ZodString;
|
|
8658
8663
|
description: z$1.ZodNullable<z$1.ZodString>;
|
|
8659
8664
|
kind: z$1.ZodEnum<{
|
|
8660
|
-
PRODUCT: "PRODUCT";
|
|
8661
8665
|
ORDER: "ORDER";
|
|
8666
|
+
PRODUCT: "PRODUCT";
|
|
8662
8667
|
DELIVERY: "DELIVERY";
|
|
8663
8668
|
}>;
|
|
8664
8669
|
benefit: z$1.ZodObject<{
|
|
@@ -8763,8 +8768,8 @@ export declare const couponSchema: z$1.ZodObject<{
|
|
|
8763
8768
|
visibleFrom: z$1.ZodDefault<z$1.ZodOptional<z$1.ZodNullable<z$1.ZodString>>>;
|
|
8764
8769
|
status: z$1.ZodEnum<{
|
|
8765
8770
|
ACTIVE: "ACTIVE";
|
|
8766
|
-
ENDED: "ENDED";
|
|
8767
8771
|
PAUSED: "PAUSED";
|
|
8772
|
+
ENDED: "ENDED";
|
|
8768
8773
|
}>;
|
|
8769
8774
|
locked: z$1.ZodBoolean;
|
|
8770
8775
|
lockedAt: z$1.ZodNullable<z$1.ZodString>;
|
|
@@ -8778,17 +8783,17 @@ export declare const couponListQuerySchema: z$1.ZodObject<{
|
|
|
8778
8783
|
size: z$1.ZodOptional<z$1.ZodString>;
|
|
8779
8784
|
status: z$1.ZodOptional<z$1.ZodEnum<{
|
|
8780
8785
|
ACTIVE: "ACTIVE";
|
|
8781
|
-
ENDED: "ENDED";
|
|
8782
8786
|
PAUSED: "PAUSED";
|
|
8787
|
+
ENDED: "ENDED";
|
|
8783
8788
|
}>>;
|
|
8784
8789
|
kind: z$1.ZodOptional<z$1.ZodEnum<{
|
|
8785
|
-
PRODUCT: "PRODUCT";
|
|
8786
8790
|
ORDER: "ORDER";
|
|
8791
|
+
PRODUCT: "PRODUCT";
|
|
8787
8792
|
DELIVERY: "DELIVERY";
|
|
8788
8793
|
}>>;
|
|
8789
8794
|
issueMethod: z$1.ZodOptional<z$1.ZodEnum<{
|
|
8790
|
-
CODE: "CODE";
|
|
8791
8795
|
MANUAL: "MANUAL";
|
|
8796
|
+
CODE: "CODE";
|
|
8792
8797
|
DOWNLOAD: "DOWNLOAD";
|
|
8793
8798
|
SIGNUP: "SIGNUP";
|
|
8794
8799
|
FLOW: "FLOW";
|
|
@@ -8816,10 +8821,10 @@ export declare const couponIssueListQuerySchema: z$1.ZodObject<{
|
|
|
8816
8821
|
page: z$1.ZodOptional<z$1.ZodString>;
|
|
8817
8822
|
size: z$1.ZodOptional<z$1.ZodString>;
|
|
8818
8823
|
status: z$1.ZodOptional<z$1.ZodEnum<{
|
|
8819
|
-
REVOKED: "REVOKED";
|
|
8820
8824
|
AVAILABLE: "AVAILABLE";
|
|
8821
8825
|
RESERVED: "RESERVED";
|
|
8822
8826
|
USED: "USED";
|
|
8827
|
+
REVOKED: "REVOKED";
|
|
8823
8828
|
}>>;
|
|
8824
8829
|
}, z$1.core.$strip>;
|
|
8825
8830
|
/** `GET /v1/coupons/{couponId}/voucher-codes` — 쿠폰 번호 전체(순번 순). 상점 플랫폼이 CSV로 내려받는다 */
|
|
@@ -8915,8 +8920,8 @@ export declare const customerCouponSchema: z$1.ZodObject<{
|
|
|
8915
8920
|
revokedAt: z$1.ZodNullable<z$1.ZodString>;
|
|
8916
8921
|
couponName: z$1.ZodString;
|
|
8917
8922
|
kind: z$1.ZodEnum<{
|
|
8918
|
-
PRODUCT: "PRODUCT";
|
|
8919
8923
|
ORDER: "ORDER";
|
|
8924
|
+
PRODUCT: "PRODUCT";
|
|
8920
8925
|
DELIVERY: "DELIVERY";
|
|
8921
8926
|
}>;
|
|
8922
8927
|
benefit: z$1.ZodObject<{
|
|
@@ -9122,10 +9127,10 @@ export declare const customerDetailSchema: z$1.ZodObject<{
|
|
|
9122
9127
|
marketingAgreed: z$1.ZodBoolean;
|
|
9123
9128
|
loginMethods: z$1.ZodArray<z$1.ZodObject<{
|
|
9124
9129
|
method: z$1.ZodEnum<{
|
|
9125
|
-
password: "password";
|
|
9126
9130
|
kakao: "kakao";
|
|
9127
9131
|
naver: "naver";
|
|
9128
9132
|
google: "google";
|
|
9133
|
+
password: "password";
|
|
9129
9134
|
}>;
|
|
9130
9135
|
linkedAt: z$1.ZodString;
|
|
9131
9136
|
}, z$1.core.$strip>>;
|
|
@@ -9844,8 +9849,8 @@ export declare const eventTypeSchema: z$1.ZodEnum<{
|
|
|
9844
9849
|
}>;
|
|
9845
9850
|
export type EventType = z$1.infer<typeof eventTypeSchema>;
|
|
9846
9851
|
export declare const webhookStatusSchema: z$1.ZodEnum<{
|
|
9847
|
-
ACTIVE: "ACTIVE";
|
|
9848
9852
|
SUSPENDED: "SUSPENDED";
|
|
9853
|
+
ACTIVE: "ACTIVE";
|
|
9849
9854
|
}>;
|
|
9850
9855
|
export type WebhookStatus = z$1.infer<typeof webhookStatusSchema>;
|
|
9851
9856
|
export declare const webhookSchema: z$1.ZodObject<{
|
|
@@ -9874,8 +9879,8 @@ export declare const webhookSchema: z$1.ZodObject<{
|
|
|
9874
9879
|
"ORDER.PAYMENT_REQUESTED": "ORDER.PAYMENT_REQUESTED";
|
|
9875
9880
|
}>>;
|
|
9876
9881
|
status: z$1.ZodEnum<{
|
|
9877
|
-
ACTIVE: "ACTIVE";
|
|
9878
9882
|
SUSPENDED: "SUSPENDED";
|
|
9883
|
+
ACTIVE: "ACTIVE";
|
|
9879
9884
|
}>;
|
|
9880
9885
|
secretPrefix: z$1.ZodString;
|
|
9881
9886
|
suspendedAt: z$1.ZodNullable<z$1.ZodString>;
|
|
@@ -9909,8 +9914,8 @@ export declare const webhookCreatedSchema: z$1.ZodObject<{
|
|
|
9909
9914
|
"ORDER.PAYMENT_REQUESTED": "ORDER.PAYMENT_REQUESTED";
|
|
9910
9915
|
}>>;
|
|
9911
9916
|
status: z$1.ZodEnum<{
|
|
9912
|
-
ACTIVE: "ACTIVE";
|
|
9913
9917
|
SUSPENDED: "SUSPENDED";
|
|
9918
|
+
ACTIVE: "ACTIVE";
|
|
9914
9919
|
}>;
|
|
9915
9920
|
secretPrefix: z$1.ZodString;
|
|
9916
9921
|
suspendedAt: z$1.ZodNullable<z$1.ZodString>;
|
|
@@ -11142,6 +11147,8 @@ export declare const shippingOrderItemSchema: z$1.ZodObject<{
|
|
|
11142
11147
|
flowStep: z$1.ZodDefault<z$1.ZodOptional<z$1.ZodNullable<z$1.ZodObject<{
|
|
11143
11148
|
key: z$1.ZodString;
|
|
11144
11149
|
label: z$1.ZodString;
|
|
11150
|
+
acceptsConfirm: z$1.ZodDefault<z$1.ZodOptional<z$1.ZodBoolean>>;
|
|
11151
|
+
acceptsDispatch: z$1.ZodDefault<z$1.ZodOptional<z$1.ZodBoolean>>;
|
|
11145
11152
|
}, z$1.core.$strip>>>>;
|
|
11146
11153
|
}, z$1.core.$strip>;
|
|
11147
11154
|
export type ShippingOrderItem = z$1.infer<typeof shippingOrderItemSchema>;
|
|
@@ -11300,6 +11307,8 @@ export declare const shippingOrderItemPageSchema: z$1.ZodObject<{
|
|
|
11300
11307
|
flowStep: z$1.ZodDefault<z$1.ZodOptional<z$1.ZodNullable<z$1.ZodObject<{
|
|
11301
11308
|
key: z$1.ZodString;
|
|
11302
11309
|
label: z$1.ZodString;
|
|
11310
|
+
acceptsConfirm: z$1.ZodDefault<z$1.ZodOptional<z$1.ZodBoolean>>;
|
|
11311
|
+
acceptsDispatch: z$1.ZodDefault<z$1.ZodOptional<z$1.ZodBoolean>>;
|
|
11303
11312
|
}, z$1.core.$strip>>>>;
|
|
11304
11313
|
}, z$1.core.$strip>>;
|
|
11305
11314
|
}, z$1.core.$strip>;
|
|
@@ -11389,10 +11398,10 @@ export declare const carrierSchema: z$1.ZodObject<{
|
|
|
11389
11398
|
export type Carrier = z$1.infer<typeof carrierSchema>;
|
|
11390
11399
|
export declare const holdOrderItemRequestSchema: z$1.ZodObject<{
|
|
11391
11400
|
reason: z$1.ZodEnum<{
|
|
11392
|
-
ETC: "ETC";
|
|
11393
11401
|
OUT_OF_STOCK: "OUT_OF_STOCK";
|
|
11394
11402
|
CUSTOMER_REQUEST: "CUSTOMER_REQUEST";
|
|
11395
11403
|
CUSTOMS: "CUSTOMS";
|
|
11404
|
+
ETC: "ETC";
|
|
11396
11405
|
}>;
|
|
11397
11406
|
detail: z$1.ZodOptional<z$1.ZodString>;
|
|
11398
11407
|
expectedDispatchDate: z$1.ZodString;
|
|
@@ -11400,14 +11409,21 @@ export declare const holdOrderItemRequestSchema: z$1.ZodObject<{
|
|
|
11400
11409
|
export type HoldOrderItemRequest = z$1.infer<typeof holdOrderItemRequestSchema>;
|
|
11401
11410
|
export declare const cancelBySellerRequestSchema: z$1.ZodObject<{
|
|
11402
11411
|
reason: z$1.ZodEnum<{
|
|
11403
|
-
ETC: "ETC";
|
|
11404
11412
|
OUT_OF_STOCK: "OUT_OF_STOCK";
|
|
11413
|
+
ETC: "ETC";
|
|
11405
11414
|
PRICE_ERROR: "PRICE_ERROR";
|
|
11406
11415
|
DELIVERY_IMPOSSIBLE: "DELIVERY_IMPOSSIBLE";
|
|
11407
11416
|
}>;
|
|
11408
11417
|
detail: z$1.ZodOptional<z$1.ZodString>;
|
|
11409
11418
|
quantity: z$1.ZodOptional<z$1.ZodNumber>;
|
|
11410
11419
|
holdRefund: z$1.ZodOptional<z$1.ZodBoolean>;
|
|
11420
|
+
responsibility: z$1.ZodOptional<z$1.ZodEnum<{
|
|
11421
|
+
SELLER: "SELLER";
|
|
11422
|
+
BUYER: "BUYER";
|
|
11423
|
+
}>>;
|
|
11424
|
+
deductAmount: z$1.ZodOptional<z$1.ZodNumber>;
|
|
11425
|
+
restock: z$1.ZodOptional<z$1.ZodBoolean>;
|
|
11426
|
+
reclaimPurchasePoints: z$1.ZodOptional<z$1.ZodBoolean>;
|
|
11411
11427
|
}, z$1.core.$strip>;
|
|
11412
11428
|
export type CancelBySellerRequest = z$1.infer<typeof cancelBySellerRequestSchema>;
|
|
11413
11429
|
/**
|
|
@@ -11437,8 +11453,17 @@ export declare const cancelBySellerResultSchema: z$1.ZodObject<{
|
|
|
11437
11453
|
pointRefundAmount: z$1.ZodDefault<z$1.ZodOptional<z$1.ZodNumber>>;
|
|
11438
11454
|
refundedAt: z$1.ZodString;
|
|
11439
11455
|
refundHeld: z$1.ZodDefault<z$1.ZodOptional<z$1.ZodBoolean>>;
|
|
11456
|
+
refundStatus: z$1.ZodDefault<z$1.ZodOptional<z$1.ZodNullable<z$1.ZodString>>>;
|
|
11457
|
+
deductAmount: z$1.ZodDefault<z$1.ZodOptional<z$1.ZodNumber>>;
|
|
11458
|
+
purchasePointReclaimedAmount: z$1.ZodDefault<z$1.ZodOptional<z$1.ZodNumber>>;
|
|
11440
11459
|
}, z$1.core.$strip>;
|
|
11441
11460
|
export type CancelBySellerResult = z$1.infer<typeof cancelBySellerResultSchema>;
|
|
11461
|
+
/** `GET /v1/order-items/{orderItemId}/cancel-preview` 쿼리 — 금액에 영향을 주는 취소 입력(#301). 생략하면 취소의 기본값이다 */
|
|
11462
|
+
export interface SellerCancelPreviewQuery {
|
|
11463
|
+
quantity?: number;
|
|
11464
|
+
responsibility?: "SELLER" | "BUYER";
|
|
11465
|
+
deductAmount?: number;
|
|
11466
|
+
}
|
|
11442
11467
|
/**
|
|
11443
11468
|
* `GET /v1/order-items/{orderItemId}/cancel-preview` 응답(#115) — 판매자 취소를 하면 돌려줄 금액. 실제 취소와 같은 계산을
|
|
11444
11469
|
* 쓰기 없이 돌린 결과다. 취소할 수 없는 주문상품은 취소와 같은 409다
|
|
@@ -11450,6 +11475,9 @@ export declare const sellerCancelPreviewSchema: z$1.ZodObject<{
|
|
|
11450
11475
|
pointRefundAmount: z$1.ZodNumber;
|
|
11451
11476
|
deliveryFeeRefundAmount: z$1.ZodNumber;
|
|
11452
11477
|
deliveryFeeChargeAmount: z$1.ZodNumber;
|
|
11478
|
+
deductAmount: z$1.ZodDefault<z$1.ZodOptional<z$1.ZodNumber>>;
|
|
11479
|
+
restockRequired: z$1.ZodDefault<z$1.ZodOptional<z$1.ZodBoolean>>;
|
|
11480
|
+
purchasePointAmount: z$1.ZodDefault<z$1.ZodOptional<z$1.ZodNumber>>;
|
|
11453
11481
|
}, z$1.core.$strip>;
|
|
11454
11482
|
export type SellerCancelPreview = z$1.infer<typeof sellerCancelPreviewSchema>;
|
|
11455
11483
|
/** `PUT /v1/order-items/{orderItemId}/memo` 응답 — 빈 문자열로 저장하면 메모가 지워져 `null`이다 */
|
|
@@ -13033,7 +13061,7 @@ export declare function pointExpiresAtOf(earnedAt: Date, days: number | null): D
|
|
|
13033
13061
|
export declare const POINT_LOT_SOURCES: readonly ["REVIEW", "PURCHASE", "ADJUST", "REFUND_RESTORE", "OPENING", "COUPON"];
|
|
13034
13062
|
export type PointLotSource = (typeof POINT_LOT_SOURCES)[number];
|
|
13035
13063
|
/** 원장 항목 유형 */
|
|
13036
|
-
export declare const POINT_ENTRY_TYPES: readonly ["EARN_REVIEW", "REVOKE_REVIEW", "EARN_PURCHASE", "USE_RESERVE", "USE_RELEASE", "REFUND_RESTORE", "EXPIRE", "ADJUST", "OPENING", "EARN_COUPON"];
|
|
13064
|
+
export declare const POINT_ENTRY_TYPES: readonly ["EARN_REVIEW", "REVOKE_REVIEW", "EARN_PURCHASE", "REVOKE_PURCHASE", "USE_RESERVE", "USE_RELEASE", "REFUND_RESTORE", "EXPIRE", "ADJUST", "OPENING", "EARN_COUPON"];
|
|
13037
13065
|
export type PointEntryType = (typeof POINT_ENTRY_TYPES)[number];
|
|
13038
13066
|
/** 상점 플랫폼 알림 — `REVIEW_REWARD_PAUSED` 리뷰 자동 적립이 멈춤 · `POINTS_AVAILABLE` 적립금 설정을 쓸 수 있음 */
|
|
13039
13067
|
export declare const pointPolicyNoticeSchema: z$1.ZodNullable<z$1.ZodEnum<{
|
|
@@ -13102,6 +13130,7 @@ export declare const responsePointEntryTypeSchema: z$1.ZodUnion<readonly [z$1.Zo
|
|
|
13102
13130
|
EARN_REVIEW: "EARN_REVIEW";
|
|
13103
13131
|
REVOKE_REVIEW: "REVOKE_REVIEW";
|
|
13104
13132
|
EARN_PURCHASE: "EARN_PURCHASE";
|
|
13133
|
+
REVOKE_PURCHASE: "REVOKE_PURCHASE";
|
|
13105
13134
|
USE_RESERVE: "USE_RESERVE";
|
|
13106
13135
|
USE_RELEASE: "USE_RELEASE";
|
|
13107
13136
|
REFUND_RESTORE: "REFUND_RESTORE";
|
|
@@ -13118,6 +13147,7 @@ export declare const pointEntrySchema: z$1.ZodObject<{
|
|
|
13118
13147
|
EARN_REVIEW: "EARN_REVIEW";
|
|
13119
13148
|
REVOKE_REVIEW: "REVOKE_REVIEW";
|
|
13120
13149
|
EARN_PURCHASE: "EARN_PURCHASE";
|
|
13150
|
+
REVOKE_PURCHASE: "REVOKE_PURCHASE";
|
|
13121
13151
|
USE_RESERVE: "USE_RESERVE";
|
|
13122
13152
|
USE_RELEASE: "USE_RELEASE";
|
|
13123
13153
|
REFUND_RESTORE: "REFUND_RESTORE";
|
|
@@ -13204,6 +13234,7 @@ export declare const pointAdjustmentResultSchema: z$1.ZodObject<{
|
|
|
13204
13234
|
EARN_REVIEW: "EARN_REVIEW";
|
|
13205
13235
|
REVOKE_REVIEW: "REVOKE_REVIEW";
|
|
13206
13236
|
EARN_PURCHASE: "EARN_PURCHASE";
|
|
13237
|
+
REVOKE_PURCHASE: "REVOKE_PURCHASE";
|
|
13207
13238
|
USE_RESERVE: "USE_RESERVE";
|
|
13208
13239
|
USE_RELEASE: "USE_RELEASE";
|
|
13209
13240
|
REFUND_RESTORE: "REFUND_RESTORE";
|
|
@@ -13248,10 +13279,10 @@ export declare function splitRefund(input: {
|
|
|
13248
13279
|
//#endregion
|
|
13249
13280
|
//#region src/schemas/product.d.ts
|
|
13250
13281
|
export declare const productStatusSchema: z$1.ZodEnum<{
|
|
13251
|
-
SUSPENDED: "SUSPENDED";
|
|
13252
|
-
CLOSED: "CLOSED";
|
|
13253
13282
|
SALE: "SALE";
|
|
13283
|
+
SUSPENDED: "SUSPENDED";
|
|
13254
13284
|
OUT_OF_STOCK: "OUT_OF_STOCK";
|
|
13285
|
+
CLOSED: "CLOSED";
|
|
13255
13286
|
}>;
|
|
13256
13287
|
export type ProductStatus = z$1.infer<typeof productStatusSchema>;
|
|
13257
13288
|
export declare const productSummarySchema: z$1.ZodObject<{
|
|
@@ -13259,10 +13290,10 @@ export declare const productSummarySchema: z$1.ZodObject<{
|
|
|
13259
13290
|
productNo: z$1.ZodDefault<z$1.ZodOptional<z$1.ZodNullable<z$1.ZodNumber>>>;
|
|
13260
13291
|
name: z$1.ZodString;
|
|
13261
13292
|
status: z$1.ZodEnum<{
|
|
13262
|
-
SUSPENDED: "SUSPENDED";
|
|
13263
|
-
CLOSED: "CLOSED";
|
|
13264
13293
|
SALE: "SALE";
|
|
13294
|
+
SUSPENDED: "SUSPENDED";
|
|
13265
13295
|
OUT_OF_STOCK: "OUT_OF_STOCK";
|
|
13296
|
+
CLOSED: "CLOSED";
|
|
13266
13297
|
}>;
|
|
13267
13298
|
salePrice: z$1.ZodNumber;
|
|
13268
13299
|
discountedPrice: z$1.ZodNullable<z$1.ZodNumber>;
|
|
@@ -13345,9 +13376,9 @@ export declare const VARIANT_COUNT_WARNING = 100;
|
|
|
13345
13376
|
*/
|
|
13346
13377
|
export declare const optionSortSchema: z$1.ZodEnum<{
|
|
13347
13378
|
NAME: "NAME";
|
|
13379
|
+
REGISTERED: "REGISTERED";
|
|
13348
13380
|
PRICE_ASC: "PRICE_ASC";
|
|
13349
13381
|
PRICE_DESC: "PRICE_DESC";
|
|
13350
|
-
REGISTERED: "REGISTERED";
|
|
13351
13382
|
}>;
|
|
13352
13383
|
export type OptionSort = z$1.infer<typeof optionSortSchema>;
|
|
13353
13384
|
/** 추가 선택 값 — 예: 옵션명 "선물 포장"의 값 "포장함"(+2,000원) */
|
|
@@ -13526,17 +13557,17 @@ export type Discount = z$1.infer<typeof discountSchema>;
|
|
|
13526
13557
|
export declare const productSchema: z$1.ZodObject<{
|
|
13527
13558
|
name: z$1.ZodString;
|
|
13528
13559
|
status: z$1.ZodEnum<{
|
|
13529
|
-
SUSPENDED: "SUSPENDED";
|
|
13530
|
-
CLOSED: "CLOSED";
|
|
13531
13560
|
SALE: "SALE";
|
|
13561
|
+
SUSPENDED: "SUSPENDED";
|
|
13532
13562
|
OUT_OF_STOCK: "OUT_OF_STOCK";
|
|
13563
|
+
CLOSED: "CLOSED";
|
|
13533
13564
|
}>;
|
|
13534
|
-
productId: z$1.ZodString;
|
|
13535
|
-
updatedAt: z$1.ZodString;
|
|
13536
13565
|
categoryId: z$1.ZodNullable<z$1.ZodString>;
|
|
13537
|
-
|
|
13566
|
+
updatedAt: z$1.ZodString;
|
|
13567
|
+
productId: z$1.ZodString;
|
|
13538
13568
|
salePrice: z$1.ZodNumber;
|
|
13539
13569
|
stockQuantity: z$1.ZodNumber;
|
|
13570
|
+
thumbnailUrl: z$1.ZodOptional<z$1.ZodURL>;
|
|
13540
13571
|
productNo: z$1.ZodDefault<z$1.ZodOptional<z$1.ZodNullable<z$1.ZodNumber>>>;
|
|
13541
13572
|
discountedPrice: z$1.ZodNullable<z$1.ZodNumber>;
|
|
13542
13573
|
hasOptions: z$1.ZodBoolean;
|
|
@@ -13617,9 +13648,9 @@ export declare const productSchema: z$1.ZodObject<{
|
|
|
13617
13648
|
}, z$1.core.$strip>>>>;
|
|
13618
13649
|
optionSort: z$1.ZodDefault<z$1.ZodOptional<z$1.ZodEnum<{
|
|
13619
13650
|
NAME: "NAME";
|
|
13651
|
+
REGISTERED: "REGISTERED";
|
|
13620
13652
|
PRICE_ASC: "PRICE_ASC";
|
|
13621
13653
|
PRICE_DESC: "PRICE_DESC";
|
|
13622
|
-
REGISTERED: "REGISTERED";
|
|
13623
13654
|
}>>>;
|
|
13624
13655
|
fulfillment: z$1.ZodUnion<readonly [z$1.ZodDiscriminatedUnion<[z$1.ZodObject<{
|
|
13625
13656
|
type: z$1.ZodLiteral<"SHIPPING">;
|
|
@@ -13884,9 +13915,9 @@ export declare const optionModelRequestSchema: z$1.ZodObject<{
|
|
|
13884
13915
|
}, z$1.core.$strict>>>;
|
|
13885
13916
|
optionSort: z$1.ZodOptional<z$1.ZodEnum<{
|
|
13886
13917
|
NAME: "NAME";
|
|
13918
|
+
REGISTERED: "REGISTERED";
|
|
13887
13919
|
PRICE_ASC: "PRICE_ASC";
|
|
13888
13920
|
PRICE_DESC: "PRICE_DESC";
|
|
13889
|
-
REGISTERED: "REGISTERED";
|
|
13890
13921
|
}>>;
|
|
13891
13922
|
}, z$1.core.$strict>;
|
|
13892
13923
|
export type OptionModelRequest = z$1.infer<typeof optionModelRequestSchema>;
|
|
@@ -13953,9 +13984,9 @@ export declare const optionModelSchema: z$1.ZodObject<{
|
|
|
13953
13984
|
}, z$1.core.$strip>>>>;
|
|
13954
13985
|
optionSort: z$1.ZodDefault<z$1.ZodOptional<z$1.ZodEnum<{
|
|
13955
13986
|
NAME: "NAME";
|
|
13987
|
+
REGISTERED: "REGISTERED";
|
|
13956
13988
|
PRICE_ASC: "PRICE_ASC";
|
|
13957
13989
|
PRICE_DESC: "PRICE_DESC";
|
|
13958
|
-
REGISTERED: "REGISTERED";
|
|
13959
13990
|
}>>>;
|
|
13960
13991
|
}, z$1.core.$strip>;
|
|
13961
13992
|
export type OptionModel = z$1.infer<typeof optionModelSchema>;
|
|
@@ -14130,9 +14161,9 @@ export declare const productCreateRequestSchema: z$1.ZodObject<{
|
|
|
14130
14161
|
}, z$1.core.$strict>>>;
|
|
14131
14162
|
optionSort: z$1.ZodOptional<z$1.ZodEnum<{
|
|
14132
14163
|
NAME: "NAME";
|
|
14164
|
+
REGISTERED: "REGISTERED";
|
|
14133
14165
|
PRICE_ASC: "PRICE_ASC";
|
|
14134
14166
|
PRICE_DESC: "PRICE_DESC";
|
|
14135
|
-
REGISTERED: "REGISTERED";
|
|
14136
14167
|
}>>;
|
|
14137
14168
|
name: z$1.ZodString;
|
|
14138
14169
|
categoryId: z$1.ZodString;
|
|
@@ -14374,9 +14405,9 @@ export declare const productReplaceRequestSchema: z$1.ZodObject<{
|
|
|
14374
14405
|
}, z$1.core.$strict>>>;
|
|
14375
14406
|
optionSort: z$1.ZodOptional<z$1.ZodEnum<{
|
|
14376
14407
|
NAME: "NAME";
|
|
14408
|
+
REGISTERED: "REGISTERED";
|
|
14377
14409
|
PRICE_ASC: "PRICE_ASC";
|
|
14378
14410
|
PRICE_DESC: "PRICE_DESC";
|
|
14379
|
-
REGISTERED: "REGISTERED";
|
|
14380
14411
|
}>>;
|
|
14381
14412
|
name: z$1.ZodString;
|
|
14382
14413
|
categoryId: z$1.ZodString;
|
|
@@ -14470,10 +14501,10 @@ export declare const productPatchRequestSchema: z$1.ZodObject<{
|
|
|
14470
14501
|
name: z$1.ZodOptional<z$1.ZodString>;
|
|
14471
14502
|
salePrice: z$1.ZodOptional<z$1.ZodNumber>;
|
|
14472
14503
|
status: z$1.ZodOptional<z$1.ZodEnum<{
|
|
14473
|
-
SUSPENDED: "SUSPENDED";
|
|
14474
|
-
CLOSED: "CLOSED";
|
|
14475
14504
|
SALE: "SALE";
|
|
14505
|
+
SUSPENDED: "SUSPENDED";
|
|
14476
14506
|
OUT_OF_STOCK: "OUT_OF_STOCK";
|
|
14507
|
+
CLOSED: "CLOSED";
|
|
14477
14508
|
}>>;
|
|
14478
14509
|
flowId: z$1.ZodOptional<z$1.ZodNullable<z$1.ZodString>>;
|
|
14479
14510
|
images: z$1.ZodOptional<z$1.ZodArray<z$1.ZodURL>>;
|
|
@@ -14584,9 +14615,9 @@ export type ProductPatchRequest = z$1.infer<typeof productPatchRequestSchema>;
|
|
|
14584
14615
|
export declare const productSortSchema: z$1.ZodEnum<{
|
|
14585
14616
|
"createdAt.desc": "createdAt.desc";
|
|
14586
14617
|
"createdAt.asc": "createdAt.asc";
|
|
14618
|
+
"updatedAt.desc": "updatedAt.desc";
|
|
14587
14619
|
"salePrice.asc": "salePrice.asc";
|
|
14588
14620
|
"salePrice.desc": "salePrice.desc";
|
|
14589
|
-
"updatedAt.desc": "updatedAt.desc";
|
|
14590
14621
|
}>;
|
|
14591
14622
|
export type ProductSort = z$1.infer<typeof productSortSchema>;
|
|
14592
14623
|
export interface ProductListParams extends PageParams {
|
|
@@ -14603,10 +14634,10 @@ export declare const productListQuerySchema: z$1.ZodObject<{
|
|
|
14603
14634
|
page: z$1.ZodOptional<z$1.ZodString>;
|
|
14604
14635
|
size: z$1.ZodOptional<z$1.ZodString>;
|
|
14605
14636
|
status: z$1.ZodOptional<z$1.ZodEnum<{
|
|
14606
|
-
SUSPENDED: "SUSPENDED";
|
|
14607
|
-
CLOSED: "CLOSED";
|
|
14608
14637
|
SALE: "SALE";
|
|
14638
|
+
SUSPENDED: "SUSPENDED";
|
|
14609
14639
|
OUT_OF_STOCK: "OUT_OF_STOCK";
|
|
14640
|
+
CLOSED: "CLOSED";
|
|
14610
14641
|
}>>;
|
|
14611
14642
|
categoryId: z$1.ZodOptional<z$1.ZodString>;
|
|
14612
14643
|
keyword: z$1.ZodOptional<z$1.ZodString>;
|
|
@@ -14615,9 +14646,9 @@ export declare const productListQuerySchema: z$1.ZodObject<{
|
|
|
14615
14646
|
sort: z$1.ZodOptional<z$1.ZodEnum<{
|
|
14616
14647
|
"createdAt.desc": "createdAt.desc";
|
|
14617
14648
|
"createdAt.asc": "createdAt.asc";
|
|
14649
|
+
"updatedAt.desc": "updatedAt.desc";
|
|
14618
14650
|
"salePrice.asc": "salePrice.asc";
|
|
14619
14651
|
"salePrice.desc": "salePrice.desc";
|
|
14620
|
-
"updatedAt.desc": "updatedAt.desc";
|
|
14621
14652
|
}>>;
|
|
14622
14653
|
}, z$1.core.$strip>;
|
|
14623
14654
|
export declare const discountRequestSchema: z$1.ZodObject<{
|
|
@@ -14803,9 +14834,9 @@ export declare const productImportItemSchema: z.ZodDiscriminatedUnion<[z.ZodObje
|
|
|
14803
14834
|
}, z.core.$strict>>>;
|
|
14804
14835
|
optionSort: z.ZodOptional<z.ZodEnum<{
|
|
14805
14836
|
NAME: "NAME";
|
|
14837
|
+
REGISTERED: "REGISTERED";
|
|
14806
14838
|
PRICE_ASC: "PRICE_ASC";
|
|
14807
14839
|
PRICE_DESC: "PRICE_DESC";
|
|
14808
|
-
REGISTERED: "REGISTERED";
|
|
14809
14840
|
}>>;
|
|
14810
14841
|
name: z.ZodString;
|
|
14811
14842
|
categoryId: z.ZodString;
|
|
@@ -14894,10 +14925,10 @@ export declare const productImportItemSchema: z.ZodDiscriminatedUnion<[z.ZodObje
|
|
|
14894
14925
|
infoSectionIds: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
14895
14926
|
}, z.core.$strict>;
|
|
14896
14927
|
status: z.ZodOptional<z.ZodEnum<{
|
|
14897
|
-
SUSPENDED: "SUSPENDED";
|
|
14898
|
-
CLOSED: "CLOSED";
|
|
14899
14928
|
SALE: "SALE";
|
|
14929
|
+
SUSPENDED: "SUSPENDED";
|
|
14900
14930
|
OUT_OF_STOCK: "OUT_OF_STOCK";
|
|
14931
|
+
CLOSED: "CLOSED";
|
|
14901
14932
|
}>>;
|
|
14902
14933
|
}, z.core.$strip>, z.ZodObject<{
|
|
14903
14934
|
key: z.ZodString;
|
|
@@ -15055,9 +15086,9 @@ export declare const productImportItemSchema: z.ZodDiscriminatedUnion<[z.ZodObje
|
|
|
15055
15086
|
}, z.core.$strict>>>;
|
|
15056
15087
|
optionSort: z.ZodOptional<z.ZodEnum<{
|
|
15057
15088
|
NAME: "NAME";
|
|
15089
|
+
REGISTERED: "REGISTERED";
|
|
15058
15090
|
PRICE_ASC: "PRICE_ASC";
|
|
15059
15091
|
PRICE_DESC: "PRICE_DESC";
|
|
15060
|
-
REGISTERED: "REGISTERED";
|
|
15061
15092
|
}>>;
|
|
15062
15093
|
name: z.ZodString;
|
|
15063
15094
|
categoryId: z.ZodString;
|
|
@@ -15146,10 +15177,10 @@ export declare const productImportItemSchema: z.ZodDiscriminatedUnion<[z.ZodObje
|
|
|
15146
15177
|
infoSectionIds: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
15147
15178
|
}, z.core.$strict>;
|
|
15148
15179
|
status: z.ZodOptional<z.ZodEnum<{
|
|
15149
|
-
SUSPENDED: "SUSPENDED";
|
|
15150
|
-
CLOSED: "CLOSED";
|
|
15151
15180
|
SALE: "SALE";
|
|
15181
|
+
SUSPENDED: "SUSPENDED";
|
|
15152
15182
|
OUT_OF_STOCK: "OUT_OF_STOCK";
|
|
15183
|
+
CLOSED: "CLOSED";
|
|
15153
15184
|
}>>;
|
|
15154
15185
|
expectedStock: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodNumber>>;
|
|
15155
15186
|
}, z.core.$strip>], "action">;
|
|
@@ -15310,9 +15341,9 @@ export declare const productImportItemsRequestSchema: z.ZodObject<{
|
|
|
15310
15341
|
}, z.core.$strict>>>;
|
|
15311
15342
|
optionSort: z.ZodOptional<z.ZodEnum<{
|
|
15312
15343
|
NAME: "NAME";
|
|
15344
|
+
REGISTERED: "REGISTERED";
|
|
15313
15345
|
PRICE_ASC: "PRICE_ASC";
|
|
15314
15346
|
PRICE_DESC: "PRICE_DESC";
|
|
15315
|
-
REGISTERED: "REGISTERED";
|
|
15316
15347
|
}>>;
|
|
15317
15348
|
name: z.ZodString;
|
|
15318
15349
|
categoryId: z.ZodString;
|
|
@@ -15401,10 +15432,10 @@ export declare const productImportItemsRequestSchema: z.ZodObject<{
|
|
|
15401
15432
|
infoSectionIds: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
15402
15433
|
}, z.core.$strict>;
|
|
15403
15434
|
status: z.ZodOptional<z.ZodEnum<{
|
|
15404
|
-
SUSPENDED: "SUSPENDED";
|
|
15405
|
-
CLOSED: "CLOSED";
|
|
15406
15435
|
SALE: "SALE";
|
|
15436
|
+
SUSPENDED: "SUSPENDED";
|
|
15407
15437
|
OUT_OF_STOCK: "OUT_OF_STOCK";
|
|
15438
|
+
CLOSED: "CLOSED";
|
|
15408
15439
|
}>>;
|
|
15409
15440
|
}, z.core.$strip>, z.ZodObject<{
|
|
15410
15441
|
key: z.ZodString;
|
|
@@ -15562,9 +15593,9 @@ export declare const productImportItemsRequestSchema: z.ZodObject<{
|
|
|
15562
15593
|
}, z.core.$strict>>>;
|
|
15563
15594
|
optionSort: z.ZodOptional<z.ZodEnum<{
|
|
15564
15595
|
NAME: "NAME";
|
|
15596
|
+
REGISTERED: "REGISTERED";
|
|
15565
15597
|
PRICE_ASC: "PRICE_ASC";
|
|
15566
15598
|
PRICE_DESC: "PRICE_DESC";
|
|
15567
|
-
REGISTERED: "REGISTERED";
|
|
15568
15599
|
}>>;
|
|
15569
15600
|
name: z.ZodString;
|
|
15570
15601
|
categoryId: z.ZodString;
|
|
@@ -15653,10 +15684,10 @@ export declare const productImportItemsRequestSchema: z.ZodObject<{
|
|
|
15653
15684
|
infoSectionIds: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
15654
15685
|
}, z.core.$strict>;
|
|
15655
15686
|
status: z.ZodOptional<z.ZodEnum<{
|
|
15656
|
-
SUSPENDED: "SUSPENDED";
|
|
15657
|
-
CLOSED: "CLOSED";
|
|
15658
15687
|
SALE: "SALE";
|
|
15688
|
+
SUSPENDED: "SUSPENDED";
|
|
15659
15689
|
OUT_OF_STOCK: "OUT_OF_STOCK";
|
|
15690
|
+
CLOSED: "CLOSED";
|
|
15660
15691
|
}>>;
|
|
15661
15692
|
expectedStock: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodNumber>>;
|
|
15662
15693
|
}, z.core.$strip>], "action">>;
|
|
@@ -16028,9 +16059,9 @@ export declare const savedOptionSetSchema: z$1.ZodObject<{
|
|
|
16028
16059
|
name: z$1.ZodString;
|
|
16029
16060
|
optionSort: z$1.ZodEnum<{
|
|
16030
16061
|
NAME: "NAME";
|
|
16062
|
+
REGISTERED: "REGISTERED";
|
|
16031
16063
|
PRICE_ASC: "PRICE_ASC";
|
|
16032
16064
|
PRICE_DESC: "PRICE_DESC";
|
|
16033
|
-
REGISTERED: "REGISTERED";
|
|
16034
16065
|
}>;
|
|
16035
16066
|
groups: z$1.ZodArray<z$1.ZodObject<{
|
|
16036
16067
|
name: z$1.ZodString;
|
|
@@ -16096,9 +16127,9 @@ export declare const savedOptionSetRequestSchema: z$1.ZodObject<{
|
|
|
16096
16127
|
name: z$1.ZodString;
|
|
16097
16128
|
optionSort: z$1.ZodDefault<z$1.ZodEnum<{
|
|
16098
16129
|
NAME: "NAME";
|
|
16130
|
+
REGISTERED: "REGISTERED";
|
|
16099
16131
|
PRICE_ASC: "PRICE_ASC";
|
|
16100
16132
|
PRICE_DESC: "PRICE_DESC";
|
|
16101
|
-
REGISTERED: "REGISTERED";
|
|
16102
16133
|
}>>;
|
|
16103
16134
|
groups: z$1.ZodDefault<z$1.ZodArray<z$1.ZodObject<{
|
|
16104
16135
|
name: z$1.ZodString;
|
|
@@ -16152,9 +16183,9 @@ export declare const savedOptionSetFromProductResultSchema: z$1.ZodObject<{
|
|
|
16152
16183
|
name: z$1.ZodString;
|
|
16153
16184
|
optionSort: z$1.ZodEnum<{
|
|
16154
16185
|
NAME: "NAME";
|
|
16186
|
+
REGISTERED: "REGISTERED";
|
|
16155
16187
|
PRICE_ASC: "PRICE_ASC";
|
|
16156
16188
|
PRICE_DESC: "PRICE_DESC";
|
|
16157
|
-
REGISTERED: "REGISTERED";
|
|
16158
16189
|
}>;
|
|
16159
16190
|
groups: z$1.ZodArray<z$1.ZodObject<{
|
|
16160
16191
|
name: z$1.ZodString;
|
|
@@ -16556,9 +16587,9 @@ export declare const storeSchema: z$1.ZodObject<{
|
|
|
16556
16587
|
storeCode: z$1.ZodString;
|
|
16557
16588
|
storefrontUrl: z$1.ZodNullable<z$1.ZodURL>;
|
|
16558
16589
|
status: z$1.ZodEnum<{
|
|
16559
|
-
ACTIVE: "ACTIVE";
|
|
16560
16590
|
SUSPENDED: "SUSPENDED";
|
|
16561
16591
|
CLOSED: "CLOSED";
|
|
16592
|
+
ACTIVE: "ACTIVE";
|
|
16562
16593
|
}>;
|
|
16563
16594
|
logoUrl: z$1.ZodNullable<z$1.ZodURL>;
|
|
16564
16595
|
businessNumber: z$1.ZodNullable<z$1.ZodString>;
|
|
@@ -16570,9 +16601,9 @@ export declare const storeMemberSchema: z$1.ZodObject<{
|
|
|
16570
16601
|
name: z$1.ZodString;
|
|
16571
16602
|
email: z$1.ZodEmail;
|
|
16572
16603
|
role: z$1.ZodEnum<{
|
|
16573
|
-
OWNER: "OWNER";
|
|
16574
16604
|
ADMIN: "ADMIN";
|
|
16575
16605
|
STAFF: "STAFF";
|
|
16606
|
+
OWNER: "OWNER";
|
|
16576
16607
|
}>;
|
|
16577
16608
|
joinedAt: z$1.ZodString;
|
|
16578
16609
|
lastActiveAt: z$1.ZodNullable<z$1.ZodString>;
|
|
@@ -16881,14 +16912,14 @@ export declare const storefrontVersionSchema: z$1.ZodObject<{
|
|
|
16881
16912
|
}, z$1.core.$strip>;
|
|
16882
16913
|
export type StorefrontVersion = z$1.infer<typeof storefrontVersionSchema>;
|
|
16883
16914
|
export declare const storefrontSiteStatusSchema: z$1.ZodEnum<{
|
|
16884
|
-
ACTIVE: "ACTIVE";
|
|
16885
16915
|
SUSPENDED: "SUSPENDED";
|
|
16886
16916
|
CLOSED: "CLOSED";
|
|
16917
|
+
ACTIVE: "ACTIVE";
|
|
16887
16918
|
}>;
|
|
16888
16919
|
export type StorefrontSiteStatus = z$1.infer<typeof storefrontSiteStatusSchema>;
|
|
16889
16920
|
export declare const storefrontVisibilitySchema: z$1.ZodEnum<{
|
|
16890
|
-
PUBLIC: "PUBLIC";
|
|
16891
16921
|
COMING_SOON: "COMING_SOON";
|
|
16922
|
+
PUBLIC: "PUBLIC";
|
|
16892
16923
|
}>;
|
|
16893
16924
|
export type StorefrontVisibility = z$1.infer<typeof storefrontVisibilitySchema>;
|
|
16894
16925
|
export declare const storefrontSourceModeSchema: z$1.ZodEnum<{
|
|
@@ -16902,8 +16933,8 @@ export declare const storefrontDomainSchema: z$1.ZodObject<{
|
|
|
16902
16933
|
CUSTOM: "CUSTOM";
|
|
16903
16934
|
}>;
|
|
16904
16935
|
status: z$1.ZodEnum<{
|
|
16905
|
-
ACTIVE: "ACTIVE";
|
|
16906
16936
|
HELD: "HELD";
|
|
16937
|
+
ACTIVE: "ACTIVE";
|
|
16907
16938
|
}>;
|
|
16908
16939
|
isPrimary: z$1.ZodBoolean;
|
|
16909
16940
|
holdUntil: z$1.ZodNullable<z$1.ZodString>;
|
|
@@ -16960,8 +16991,8 @@ export declare const storefrontSiteSchema: z$1.ZodObject<{
|
|
|
16960
16991
|
CUSTOM: "CUSTOM";
|
|
16961
16992
|
}>;
|
|
16962
16993
|
status: z$1.ZodEnum<{
|
|
16963
|
-
ACTIVE: "ACTIVE";
|
|
16964
16994
|
HELD: "HELD";
|
|
16995
|
+
ACTIVE: "ACTIVE";
|
|
16965
16996
|
}>;
|
|
16966
16997
|
isPrimary: z$1.ZodBoolean;
|
|
16967
16998
|
holdUntil: z$1.ZodNullable<z$1.ZodString>;
|
|
@@ -16972,13 +17003,13 @@ export declare const storefrontSiteSchema: z$1.ZodObject<{
|
|
|
16972
17003
|
MANAGED: "MANAGED";
|
|
16973
17004
|
}>;
|
|
16974
17005
|
status: z$1.ZodEnum<{
|
|
16975
|
-
ACTIVE: "ACTIVE";
|
|
16976
17006
|
SUSPENDED: "SUSPENDED";
|
|
16977
17007
|
CLOSED: "CLOSED";
|
|
17008
|
+
ACTIVE: "ACTIVE";
|
|
16978
17009
|
}>;
|
|
16979
17010
|
visibility: z$1.ZodEnum<{
|
|
16980
|
-
PUBLIC: "PUBLIC";
|
|
16981
17011
|
COMING_SOON: "COMING_SOON";
|
|
17012
|
+
PUBLIC: "PUBLIC";
|
|
16982
17013
|
}>;
|
|
16983
17014
|
publishedVersion: z$1.ZodNullable<z$1.ZodObject<{
|
|
16984
17015
|
versionId: z$1.ZodString;
|
|
@@ -17052,8 +17083,8 @@ export declare const storefrontHostingSchema: z$1.ZodObject<{
|
|
|
17052
17083
|
CUSTOM: "CUSTOM";
|
|
17053
17084
|
}>;
|
|
17054
17085
|
status: z$1.ZodEnum<{
|
|
17055
|
-
ACTIVE: "ACTIVE";
|
|
17056
17086
|
HELD: "HELD";
|
|
17087
|
+
ACTIVE: "ACTIVE";
|
|
17057
17088
|
}>;
|
|
17058
17089
|
isPrimary: z$1.ZodBoolean;
|
|
17059
17090
|
holdUntil: z$1.ZodNullable<z$1.ZodString>;
|
|
@@ -17064,13 +17095,13 @@ export declare const storefrontHostingSchema: z$1.ZodObject<{
|
|
|
17064
17095
|
MANAGED: "MANAGED";
|
|
17065
17096
|
}>;
|
|
17066
17097
|
status: z$1.ZodEnum<{
|
|
17067
|
-
ACTIVE: "ACTIVE";
|
|
17068
17098
|
SUSPENDED: "SUSPENDED";
|
|
17069
17099
|
CLOSED: "CLOSED";
|
|
17100
|
+
ACTIVE: "ACTIVE";
|
|
17070
17101
|
}>;
|
|
17071
17102
|
visibility: z$1.ZodEnum<{
|
|
17072
|
-
PUBLIC: "PUBLIC";
|
|
17073
17103
|
COMING_SOON: "COMING_SOON";
|
|
17104
|
+
PUBLIC: "PUBLIC";
|
|
17074
17105
|
}>;
|
|
17075
17106
|
publishedVersion: z$1.ZodNullable<z$1.ZodObject<{
|
|
17076
17107
|
versionId: z$1.ZodString;
|
|
@@ -17145,8 +17176,8 @@ export type StorefrontSlugAvailability = z$1.infer<typeof storefrontSlugAvailabi
|
|
|
17145
17176
|
*/
|
|
17146
17177
|
export declare const storefrontDeploymentStepSchema: z$1.ZodObject<{
|
|
17147
17178
|
key: z$1.ZodEnum<{
|
|
17148
|
-
UPLOAD: "UPLOAD";
|
|
17149
17179
|
SITE: "SITE";
|
|
17180
|
+
UPLOAD: "UPLOAD";
|
|
17150
17181
|
PUBLISH: "PUBLISH";
|
|
17151
17182
|
}>;
|
|
17152
17183
|
status: z$1.ZodEnum<{
|
|
@@ -17161,9 +17192,9 @@ export type StorefrontDeploymentStep = z$1.infer<typeof storefrontDeploymentStep
|
|
|
17161
17192
|
export declare const storefrontDeploymentLogSchema: z$1.ZodObject<{
|
|
17162
17193
|
at: z$1.ZodNullable<z$1.ZodString>;
|
|
17163
17194
|
level: z$1.ZodEnum<{
|
|
17164
|
-
ERROR: "ERROR";
|
|
17165
17195
|
INFO: "INFO";
|
|
17166
17196
|
WARN: "WARN";
|
|
17197
|
+
ERROR: "ERROR";
|
|
17167
17198
|
}>;
|
|
17168
17199
|
code: z$1.ZodString;
|
|
17169
17200
|
message: z$1.ZodString;
|
|
@@ -17172,8 +17203,8 @@ export type StorefrontDeploymentLog = z$1.infer<typeof storefrontDeploymentLogSc
|
|
|
17172
17203
|
export declare const storefrontDeploymentSchema: z$1.ZodObject<{
|
|
17173
17204
|
siteId: z$1.ZodString;
|
|
17174
17205
|
status: z$1.ZodEnum<{
|
|
17175
|
-
IN_PROGRESS: "IN_PROGRESS";
|
|
17176
17206
|
FAILED: "FAILED";
|
|
17207
|
+
IN_PROGRESS: "IN_PROGRESS";
|
|
17177
17208
|
SUCCEEDED: "SUCCEEDED";
|
|
17178
17209
|
}>;
|
|
17179
17210
|
url: z$1.ZodString;
|
|
@@ -17181,8 +17212,8 @@ export declare const storefrontDeploymentSchema: z$1.ZodObject<{
|
|
|
17181
17212
|
finishedAt: z$1.ZodNullable<z$1.ZodString>;
|
|
17182
17213
|
steps: z$1.ZodArray<z$1.ZodObject<{
|
|
17183
17214
|
key: z$1.ZodEnum<{
|
|
17184
|
-
UPLOAD: "UPLOAD";
|
|
17185
17215
|
SITE: "SITE";
|
|
17216
|
+
UPLOAD: "UPLOAD";
|
|
17186
17217
|
PUBLISH: "PUBLISH";
|
|
17187
17218
|
}>;
|
|
17188
17219
|
status: z$1.ZodEnum<{
|
|
@@ -17196,9 +17227,9 @@ export declare const storefrontDeploymentSchema: z$1.ZodObject<{
|
|
|
17196
17227
|
log: z$1.ZodArray<z$1.ZodObject<{
|
|
17197
17228
|
at: z$1.ZodNullable<z$1.ZodString>;
|
|
17198
17229
|
level: z$1.ZodEnum<{
|
|
17199
|
-
ERROR: "ERROR";
|
|
17200
17230
|
INFO: "INFO";
|
|
17201
17231
|
WARN: "WARN";
|
|
17232
|
+
ERROR: "ERROR";
|
|
17202
17233
|
}>;
|
|
17203
17234
|
code: z$1.ZodString;
|
|
17204
17235
|
message: z$1.ZodString;
|
|
@@ -17242,12 +17273,12 @@ export declare const changeStorefrontSlugRequestSchema: z$1.ZodObject<{
|
|
|
17242
17273
|
export type ChangeStorefrontSlugRequest = z$1.infer<typeof changeStorefrontSlugRequestSchema>;
|
|
17243
17274
|
export declare const setStorefrontVisibilityRequestSchema: z$1.ZodObject<{
|
|
17244
17275
|
visibility: z$1.ZodEnum<{
|
|
17245
|
-
PUBLIC: "PUBLIC";
|
|
17246
17276
|
COMING_SOON: "COMING_SOON";
|
|
17277
|
+
PUBLIC: "PUBLIC";
|
|
17247
17278
|
}>;
|
|
17248
17279
|
expectedVisibility: z$1.ZodOptional<z$1.ZodEnum<{
|
|
17249
|
-
PUBLIC: "PUBLIC";
|
|
17250
17280
|
COMING_SOON: "COMING_SOON";
|
|
17281
|
+
PUBLIC: "PUBLIC";
|
|
17251
17282
|
}>>;
|
|
17252
17283
|
}, z$1.core.$strip>;
|
|
17253
17284
|
export type SetStorefrontVisibilityRequest = z$1.infer<typeof setStorefrontVisibilityRequestSchema>;
|
|
@@ -17694,12 +17725,12 @@ export declare const runStorefrontCheckRequestSchema: z$1.ZodObject<{
|
|
|
17694
17725
|
}, z$1.core.$strip>;
|
|
17695
17726
|
export type RunStorefrontCheckRequest = z$1.infer<typeof runStorefrontCheckRequestSchema>;
|
|
17696
17727
|
export declare const storefrontCheckStatusSchema: z$1.ZodEnum<{
|
|
17697
|
-
UNKNOWN: "UNKNOWN";
|
|
17698
17728
|
QUEUED: "QUEUED";
|
|
17699
17729
|
RUNNING: "RUNNING";
|
|
17700
17730
|
FAILED: "FAILED";
|
|
17701
|
-
|
|
17731
|
+
UNKNOWN: "UNKNOWN";
|
|
17702
17732
|
PASSED: "PASSED";
|
|
17733
|
+
TIMED_OUT: "TIMED_OUT";
|
|
17703
17734
|
}>;
|
|
17704
17735
|
export type StorefrontCheckStatus = z$1.infer<typeof storefrontCheckStatusSchema>;
|
|
17705
17736
|
/** 끝난 검사 상태 */
|
|
@@ -17708,12 +17739,12 @@ export declare const storefrontCheckSchema: z$1.ZodObject<{
|
|
|
17708
17739
|
checkId: z$1.ZodString;
|
|
17709
17740
|
check: z$1.ZodString;
|
|
17710
17741
|
status: z$1.ZodEnum<{
|
|
17711
|
-
UNKNOWN: "UNKNOWN";
|
|
17712
17742
|
QUEUED: "QUEUED";
|
|
17713
17743
|
RUNNING: "RUNNING";
|
|
17714
17744
|
FAILED: "FAILED";
|
|
17715
|
-
|
|
17745
|
+
UNKNOWN: "UNKNOWN";
|
|
17716
17746
|
PASSED: "PASSED";
|
|
17747
|
+
TIMED_OUT: "TIMED_OUT";
|
|
17717
17748
|
}>;
|
|
17718
17749
|
exitCode: z$1.ZodNullable<z$1.ZodNumber>;
|
|
17719
17750
|
durationMs: z$1.ZodNullable<z$1.ZodNumber>;
|
|
@@ -18318,9 +18349,9 @@ export type UploadTicket = z$1.infer<typeof uploadTicketSchema>;
|
|
|
18318
18349
|
//#endregion
|
|
18319
18350
|
//#region src/schemas/auth.d.ts
|
|
18320
18351
|
export declare const storeRoleSchema: z$1.ZodEnum<{
|
|
18321
|
-
OWNER: "OWNER";
|
|
18322
18352
|
ADMIN: "ADMIN";
|
|
18323
18353
|
STAFF: "STAFF";
|
|
18354
|
+
OWNER: "OWNER";
|
|
18324
18355
|
}>;
|
|
18325
18356
|
export type StoreRole = z$1.infer<typeof storeRoleSchema>;
|
|
18326
18357
|
export declare const myStoreSchema: z$1.ZodObject<{
|
|
@@ -18328,14 +18359,14 @@ export declare const myStoreSchema: z$1.ZodObject<{
|
|
|
18328
18359
|
storeName: z$1.ZodString;
|
|
18329
18360
|
storeCode: z$1.ZodString;
|
|
18330
18361
|
role: z$1.ZodEnum<{
|
|
18331
|
-
OWNER: "OWNER";
|
|
18332
18362
|
ADMIN: "ADMIN";
|
|
18333
18363
|
STAFF: "STAFF";
|
|
18364
|
+
OWNER: "OWNER";
|
|
18334
18365
|
}>;
|
|
18335
18366
|
status: z$1.ZodEnum<{
|
|
18336
|
-
ACTIVE: "ACTIVE";
|
|
18337
18367
|
SUSPENDED: "SUSPENDED";
|
|
18338
18368
|
CLOSED: "CLOSED";
|
|
18369
|
+
ACTIVE: "ACTIVE";
|
|
18339
18370
|
}>;
|
|
18340
18371
|
}, z$1.core.$strip>;
|
|
18341
18372
|
export type MyStore = z$1.infer<typeof myStoreSchema>;
|
|
@@ -18490,8 +18521,8 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
18490
18521
|
storeId: string;
|
|
18491
18522
|
storeName: string;
|
|
18492
18523
|
storeCode: string;
|
|
18493
|
-
role: "
|
|
18494
|
-
status: "
|
|
18524
|
+
role: "ADMIN" | "STAFF" | "OWNER";
|
|
18525
|
+
status: "SUSPENDED" | "CLOSED" | "ACTIVE";
|
|
18495
18526
|
}[]>;
|
|
18496
18527
|
me: () => Promise<{
|
|
18497
18528
|
userId: string;
|
|
@@ -18531,7 +18562,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
18531
18562
|
productId: string;
|
|
18532
18563
|
productNo: number | null;
|
|
18533
18564
|
name: string;
|
|
18534
|
-
status: "
|
|
18565
|
+
status: "SALE" | "SUSPENDED" | "OUT_OF_STOCK" | "CLOSED";
|
|
18535
18566
|
salePrice: number;
|
|
18536
18567
|
discountedPrice: number | null;
|
|
18537
18568
|
stockQuantity: number;
|
|
@@ -18551,10 +18582,10 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
18551
18582
|
}>;
|
|
18552
18583
|
get: (productId: string) => Promise<{
|
|
18553
18584
|
name: string;
|
|
18554
|
-
status: "
|
|
18555
|
-
productId: string;
|
|
18556
|
-
updatedAt: string;
|
|
18585
|
+
status: "SALE" | "SUSPENDED" | "OUT_OF_STOCK" | "CLOSED";
|
|
18557
18586
|
categoryId: string | null;
|
|
18587
|
+
updatedAt: string;
|
|
18588
|
+
productId: string;
|
|
18558
18589
|
salePrice: number;
|
|
18559
18590
|
stockQuantity: number;
|
|
18560
18591
|
productNo: number | null;
|
|
@@ -18620,7 +18651,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
18620
18651
|
type?: string | undefined;
|
|
18621
18652
|
options?: string[] | null | undefined;
|
|
18622
18653
|
}[];
|
|
18623
|
-
optionSort: "NAME" | "
|
|
18654
|
+
optionSort: "NAME" | "REGISTERED" | "PRICE_ASC" | "PRICE_DESC";
|
|
18624
18655
|
fulfillment: UnknownFulfillment | {
|
|
18625
18656
|
type: "SHIPPING";
|
|
18626
18657
|
shipping: {
|
|
@@ -18700,10 +18731,10 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
18700
18731
|
}>;
|
|
18701
18732
|
create: (body: ProductCreateRequestInput, idempotencyKey?: string) => Promise<{
|
|
18702
18733
|
name: string;
|
|
18703
|
-
status: "
|
|
18704
|
-
productId: string;
|
|
18705
|
-
updatedAt: string;
|
|
18734
|
+
status: "SALE" | "SUSPENDED" | "OUT_OF_STOCK" | "CLOSED";
|
|
18706
18735
|
categoryId: string | null;
|
|
18736
|
+
updatedAt: string;
|
|
18737
|
+
productId: string;
|
|
18707
18738
|
salePrice: number;
|
|
18708
18739
|
stockQuantity: number;
|
|
18709
18740
|
productNo: number | null;
|
|
@@ -18769,7 +18800,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
18769
18800
|
type?: string | undefined;
|
|
18770
18801
|
options?: string[] | null | undefined;
|
|
18771
18802
|
}[];
|
|
18772
|
-
optionSort: "NAME" | "
|
|
18803
|
+
optionSort: "NAME" | "REGISTERED" | "PRICE_ASC" | "PRICE_DESC";
|
|
18773
18804
|
fulfillment: UnknownFulfillment | {
|
|
18774
18805
|
type: "SHIPPING";
|
|
18775
18806
|
shipping: {
|
|
@@ -18849,10 +18880,10 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
18849
18880
|
}>;
|
|
18850
18881
|
update: (productId: string, body: ProductReplaceRequestInput) => Promise<{
|
|
18851
18882
|
name: string;
|
|
18852
|
-
status: "
|
|
18853
|
-
productId: string;
|
|
18854
|
-
updatedAt: string;
|
|
18883
|
+
status: "SALE" | "SUSPENDED" | "OUT_OF_STOCK" | "CLOSED";
|
|
18855
18884
|
categoryId: string | null;
|
|
18885
|
+
updatedAt: string;
|
|
18886
|
+
productId: string;
|
|
18856
18887
|
salePrice: number;
|
|
18857
18888
|
stockQuantity: number;
|
|
18858
18889
|
productNo: number | null;
|
|
@@ -18918,7 +18949,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
18918
18949
|
type?: string | undefined;
|
|
18919
18950
|
options?: string[] | null | undefined;
|
|
18920
18951
|
}[];
|
|
18921
|
-
optionSort: "NAME" | "
|
|
18952
|
+
optionSort: "NAME" | "REGISTERED" | "PRICE_ASC" | "PRICE_DESC";
|
|
18922
18953
|
fulfillment: UnknownFulfillment | {
|
|
18923
18954
|
type: "SHIPPING";
|
|
18924
18955
|
shipping: {
|
|
@@ -19180,10 +19211,10 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
19180
19211
|
/** 상품 상세 묶음 조회(id·상품번호 합 100개) — 상점 플랫폼 전용. 이 상점에 없는 값은 빠진다 */
|
|
19181
19212
|
lookup: (body: ProductLookupRequest) => Promise<{
|
|
19182
19213
|
name: string;
|
|
19183
|
-
status: "
|
|
19184
|
-
productId: string;
|
|
19185
|
-
updatedAt: string;
|
|
19214
|
+
status: "SALE" | "SUSPENDED" | "OUT_OF_STOCK" | "CLOSED";
|
|
19186
19215
|
categoryId: string | null;
|
|
19216
|
+
updatedAt: string;
|
|
19217
|
+
productId: string;
|
|
19187
19218
|
salePrice: number;
|
|
19188
19219
|
stockQuantity: number;
|
|
19189
19220
|
productNo: number | null;
|
|
@@ -19249,7 +19280,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
19249
19280
|
type?: string | undefined;
|
|
19250
19281
|
options?: string[] | null | undefined;
|
|
19251
19282
|
}[];
|
|
19252
|
-
optionSort: "NAME" | "
|
|
19283
|
+
optionSort: "NAME" | "REGISTERED" | "PRICE_ASC" | "PRICE_DESC";
|
|
19253
19284
|
fulfillment: UnknownFulfillment | {
|
|
19254
19285
|
type: "SHIPPING";
|
|
19255
19286
|
shipping: {
|
|
@@ -19389,7 +19420,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
19389
19420
|
type?: string | undefined;
|
|
19390
19421
|
options?: string[] | null | undefined;
|
|
19391
19422
|
}[];
|
|
19392
|
-
optionSort: "NAME" | "
|
|
19423
|
+
optionSort: "NAME" | "REGISTERED" | "PRICE_ASC" | "PRICE_DESC";
|
|
19393
19424
|
}>;
|
|
19394
19425
|
/**
|
|
19395
19426
|
* 옵션 모델 전체 교체 — variants는 valueNames로 축 값을 지목한다.
|
|
@@ -19455,7 +19486,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
19455
19486
|
type?: string | undefined;
|
|
19456
19487
|
options?: string[] | null | undefined;
|
|
19457
19488
|
}[];
|
|
19458
|
-
optionSort: "NAME" | "
|
|
19489
|
+
optionSort: "NAME" | "REGISTERED" | "PRICE_ASC" | "PRICE_DESC";
|
|
19459
19490
|
}>;
|
|
19460
19491
|
/** 재고 변경 — stockQuantity(절대값) 또는 adjustment(증감) 하나만 전달한다 */
|
|
19461
19492
|
updateVariantStock: (productId: string, variantId: string, body: VariantStockRequest) => Promise<{
|
|
@@ -19504,7 +19535,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
19504
19535
|
contents: {
|
|
19505
19536
|
optionSetId: string;
|
|
19506
19537
|
name: string;
|
|
19507
|
-
optionSort: "NAME" | "
|
|
19538
|
+
optionSort: "NAME" | "REGISTERED" | "PRICE_ASC" | "PRICE_DESC";
|
|
19508
19539
|
groups: {
|
|
19509
19540
|
name: string;
|
|
19510
19541
|
kind: string;
|
|
@@ -19531,7 +19562,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
19531
19562
|
get: (optionSetId: string) => Promise<{
|
|
19532
19563
|
optionSetId: string;
|
|
19533
19564
|
name: string;
|
|
19534
|
-
optionSort: "NAME" | "
|
|
19565
|
+
optionSort: "NAME" | "REGISTERED" | "PRICE_ASC" | "PRICE_DESC";
|
|
19535
19566
|
groups: {
|
|
19536
19567
|
name: string;
|
|
19537
19568
|
kind: string;
|
|
@@ -19558,7 +19589,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
19558
19589
|
create: (body: SavedOptionSetRequestInput) => Promise<{
|
|
19559
19590
|
optionSetId: string;
|
|
19560
19591
|
name: string;
|
|
19561
|
-
optionSort: "NAME" | "
|
|
19592
|
+
optionSort: "NAME" | "REGISTERED" | "PRICE_ASC" | "PRICE_DESC";
|
|
19562
19593
|
groups: {
|
|
19563
19594
|
name: string;
|
|
19564
19595
|
kind: string;
|
|
@@ -19585,7 +19616,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
19585
19616
|
update: (optionSetId: string, body: SavedOptionSetRequestInput) => Promise<{
|
|
19586
19617
|
optionSetId: string;
|
|
19587
19618
|
name: string;
|
|
19588
|
-
optionSort: "NAME" | "
|
|
19619
|
+
optionSort: "NAME" | "REGISTERED" | "PRICE_ASC" | "PRICE_DESC";
|
|
19589
19620
|
groups: {
|
|
19590
19621
|
name: string;
|
|
19591
19622
|
kind: string;
|
|
@@ -19614,7 +19645,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
19614
19645
|
optionSet: {
|
|
19615
19646
|
optionSetId: string;
|
|
19616
19647
|
name: string;
|
|
19617
|
-
optionSort: "NAME" | "
|
|
19648
|
+
optionSort: "NAME" | "REGISTERED" | "PRICE_ASC" | "PRICE_DESC";
|
|
19618
19649
|
groups: {
|
|
19619
19650
|
name: string;
|
|
19620
19651
|
kind: string;
|
|
@@ -19862,7 +19893,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
19862
19893
|
sortOrder: number;
|
|
19863
19894
|
metaTitle: string | null;
|
|
19864
19895
|
metaDescription: string | null;
|
|
19865
|
-
state: "ACTIVE" | "
|
|
19896
|
+
state: "ACTIVE" | "ENDED" | "SCHEDULED" | "HIDDEN";
|
|
19866
19897
|
salesComputedAt: string | null;
|
|
19867
19898
|
productCount: number;
|
|
19868
19899
|
revision: number;
|
|
@@ -19912,7 +19943,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
19912
19943
|
sortOrder: number;
|
|
19913
19944
|
metaTitle: string | null;
|
|
19914
19945
|
metaDescription: string | null;
|
|
19915
|
-
state: "ACTIVE" | "
|
|
19946
|
+
state: "ACTIVE" | "ENDED" | "SCHEDULED" | "HIDDEN";
|
|
19916
19947
|
salesComputedAt: string | null;
|
|
19917
19948
|
productCount: number;
|
|
19918
19949
|
revision: number;
|
|
@@ -19955,7 +19986,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
19955
19986
|
sortOrder: number;
|
|
19956
19987
|
metaTitle: string | null;
|
|
19957
19988
|
metaDescription: string | null;
|
|
19958
|
-
state: "ACTIVE" | "
|
|
19989
|
+
state: "ACTIVE" | "ENDED" | "SCHEDULED" | "HIDDEN";
|
|
19959
19990
|
salesComputedAt: string | null;
|
|
19960
19991
|
productCount: number;
|
|
19961
19992
|
revision: number;
|
|
@@ -19997,7 +20028,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
19997
20028
|
sortOrder: number;
|
|
19998
20029
|
metaTitle: string | null;
|
|
19999
20030
|
metaDescription: string | null;
|
|
20000
|
-
state: "ACTIVE" | "
|
|
20031
|
+
state: "ACTIVE" | "ENDED" | "SCHEDULED" | "HIDDEN";
|
|
20001
20032
|
salesComputedAt: string | null;
|
|
20002
20033
|
productCount: number;
|
|
20003
20034
|
revision: number;
|
|
@@ -20060,7 +20091,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
20060
20091
|
sortOrder: number;
|
|
20061
20092
|
metaTitle: string | null;
|
|
20062
20093
|
metaDescription: string | null;
|
|
20063
|
-
state: "ACTIVE" | "
|
|
20094
|
+
state: "ACTIVE" | "ENDED" | "SCHEDULED" | "HIDDEN";
|
|
20064
20095
|
salesComputedAt: string | null;
|
|
20065
20096
|
productCount: number;
|
|
20066
20097
|
revision: number;
|
|
@@ -20103,7 +20134,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
20103
20134
|
sortOrder: number;
|
|
20104
20135
|
metaTitle: string | null;
|
|
20105
20136
|
metaDescription: string | null;
|
|
20106
|
-
state: "ACTIVE" | "
|
|
20137
|
+
state: "ACTIVE" | "ENDED" | "SCHEDULED" | "HIDDEN";
|
|
20107
20138
|
salesComputedAt: string | null;
|
|
20108
20139
|
productCount: number;
|
|
20109
20140
|
revision: number;
|
|
@@ -20605,7 +20636,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
20605
20636
|
key: string;
|
|
20606
20637
|
results: {
|
|
20607
20638
|
orderItemId: string;
|
|
20608
|
-
status: "
|
|
20639
|
+
status: "FAILED" | "COMPLETED" | "SKIPPED";
|
|
20609
20640
|
reason?: string | undefined;
|
|
20610
20641
|
message?: string | undefined;
|
|
20611
20642
|
}[];
|
|
@@ -20807,6 +20838,8 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
20807
20838
|
flowStep: {
|
|
20808
20839
|
key: string;
|
|
20809
20840
|
label: string;
|
|
20841
|
+
acceptsConfirm: boolean;
|
|
20842
|
+
acceptsDispatch: boolean;
|
|
20810
20843
|
} | null;
|
|
20811
20844
|
stay?: {
|
|
20812
20845
|
checkIn: string;
|
|
@@ -20832,13 +20865,16 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
20832
20865
|
hold: (orderItemId: string, body: HoldOrderItemRequest) => Promise<void>;
|
|
20833
20866
|
releaseHold: (orderItemId: string) => Promise<void>;
|
|
20834
20867
|
/** 판매자 취소 미리보기(#115) — 취소하면 돌려줄 현금·적립금. 생략한 수량은 남은 수량 전체다 */
|
|
20835
|
-
cancelPreview: (orderItemId: string,
|
|
20868
|
+
cancelPreview: (orderItemId: string, query?: number | SellerCancelPreviewQuery) => Promise<{
|
|
20836
20869
|
orderItemId: string;
|
|
20837
20870
|
quantity: number;
|
|
20838
20871
|
refundAmount: number;
|
|
20839
20872
|
pointRefundAmount: number;
|
|
20840
20873
|
deliveryFeeRefundAmount: number;
|
|
20841
20874
|
deliveryFeeChargeAmount: number;
|
|
20875
|
+
deductAmount: number;
|
|
20876
|
+
restockRequired: boolean;
|
|
20877
|
+
purchasePointAmount: number;
|
|
20842
20878
|
}>;
|
|
20843
20879
|
cancelBySeller: (orderItemId: string, body: CancelBySellerRequest, idempotencyKey?: string) => Promise<{
|
|
20844
20880
|
orderItemId: string;
|
|
@@ -20852,6 +20888,9 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
20852
20888
|
pointRefundAmount: number;
|
|
20853
20889
|
refundedAt: string;
|
|
20854
20890
|
refundHeld: boolean;
|
|
20891
|
+
refundStatus: string | null;
|
|
20892
|
+
deductAmount: number;
|
|
20893
|
+
purchasePointReclaimedAmount: number;
|
|
20855
20894
|
}>;
|
|
20856
20895
|
updateMemo: (orderItemId: string, memo: string) => Promise<void>;
|
|
20857
20896
|
requestPurchaseDecision: (orderItemId: string) => Promise<void>;
|
|
@@ -21973,7 +22012,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
21973
22012
|
quantity: number;
|
|
21974
22013
|
reason: "CHANGE_OF_MIND" | "WRONG_ORDER" | "DEFECTIVE" | "WRONG_DELIVERY" | "DIFFERENT_FROM_PAGE" | "DELAY";
|
|
21975
22014
|
reasonDetail: string | null;
|
|
21976
|
-
responsibility: "
|
|
22015
|
+
responsibility: "SELLER" | "BUYER";
|
|
21977
22016
|
claimDeliveryFee: number;
|
|
21978
22017
|
expectedRefundAmount: number | null;
|
|
21979
22018
|
expectedDeliveryFeeRefundAmount: number | null;
|
|
@@ -22013,7 +22052,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
22013
22052
|
quantity: number;
|
|
22014
22053
|
reason: "CHANGE_OF_MIND" | "WRONG_ORDER" | "DEFECTIVE" | "WRONG_DELIVERY" | "DIFFERENT_FROM_PAGE" | "DELAY";
|
|
22015
22054
|
reasonDetail: string | null;
|
|
22016
|
-
responsibility: "
|
|
22055
|
+
responsibility: "SELLER" | "BUYER";
|
|
22017
22056
|
claimDeliveryFee: number;
|
|
22018
22057
|
expectedRefundAmount: number | null;
|
|
22019
22058
|
expectedDeliveryFeeRefundAmount: number | null;
|
|
@@ -22042,7 +22081,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
22042
22081
|
} | null;
|
|
22043
22082
|
histories?: {
|
|
22044
22083
|
status: "COMPLETED" | "REQUESTED" | "HELD" | "COLLECTING" | "COLLECTED" | "REDELIVERING" | "APPROVED" | "REJECTED" | "WITHDRAWN";
|
|
22045
|
-
actor: "
|
|
22084
|
+
actor: "SELLER" | "BUYER" | "SYSTEM";
|
|
22046
22085
|
occurredAt: string;
|
|
22047
22086
|
}[] | undefined;
|
|
22048
22087
|
}>;
|
|
@@ -22061,6 +22100,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
22061
22100
|
pointRefundAmount: number;
|
|
22062
22101
|
refundedAt: string;
|
|
22063
22102
|
refundHeld: boolean;
|
|
22103
|
+
refundStatus: string | null;
|
|
22064
22104
|
}>;
|
|
22065
22105
|
reject: (claimId: string, body: RejectClaimRequest) => Promise<void>;
|
|
22066
22106
|
registerCollect: (claimId: string, body: {
|
|
@@ -22090,7 +22130,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
22090
22130
|
quantity: number;
|
|
22091
22131
|
reason: "CHANGE_OF_MIND" | "WRONG_ORDER" | "DEFECTIVE" | "WRONG_DELIVERY" | "DIFFERENT_FROM_PAGE" | "DELAY";
|
|
22092
22132
|
reasonDetail: string | null;
|
|
22093
|
-
responsibility: "
|
|
22133
|
+
responsibility: "SELLER" | "BUYER";
|
|
22094
22134
|
claimDeliveryFee: number;
|
|
22095
22135
|
expectedRefundAmount: number | null;
|
|
22096
22136
|
expectedDeliveryFeeRefundAmount: number | null;
|
|
@@ -22366,7 +22406,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
22366
22406
|
point: number;
|
|
22367
22407
|
marketingAgreed: boolean;
|
|
22368
22408
|
loginMethods: {
|
|
22369
|
-
method: "
|
|
22409
|
+
method: "kakao" | "naver" | "google" | "password";
|
|
22370
22410
|
linkedAt: string;
|
|
22371
22411
|
}[];
|
|
22372
22412
|
consents: {
|
|
@@ -22460,7 +22500,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
22460
22500
|
point: number;
|
|
22461
22501
|
marketingAgreed: boolean;
|
|
22462
22502
|
loginMethods: {
|
|
22463
|
-
method: "
|
|
22503
|
+
method: "kakao" | "naver" | "google" | "password";
|
|
22464
22504
|
linkedAt: string;
|
|
22465
22505
|
}[];
|
|
22466
22506
|
consents: {
|
|
@@ -22595,7 +22635,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
22595
22635
|
issuedAt: string;
|
|
22596
22636
|
revokedAt: string | null;
|
|
22597
22637
|
couponName: string;
|
|
22598
|
-
kind: "
|
|
22638
|
+
kind: "ORDER" | "PRODUCT" | "DELIVERY";
|
|
22599
22639
|
benefit: {
|
|
22600
22640
|
type: "RATE" | "AMOUNT";
|
|
22601
22641
|
value: number;
|
|
@@ -22616,7 +22656,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
22616
22656
|
couponId: string;
|
|
22617
22657
|
name: string;
|
|
22618
22658
|
description: string | null;
|
|
22619
|
-
kind: "
|
|
22659
|
+
kind: "ORDER" | "PRODUCT" | "DELIVERY";
|
|
22620
22660
|
benefit: {
|
|
22621
22661
|
type: "RATE" | "AMOUNT";
|
|
22622
22662
|
value: number;
|
|
@@ -22690,7 +22730,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
22690
22730
|
issueStartsAt: string | null;
|
|
22691
22731
|
issueEndsAt: string | null;
|
|
22692
22732
|
visibleFrom: string | null;
|
|
22693
|
-
status: "ACTIVE" | "
|
|
22733
|
+
status: "ACTIVE" | "PAUSED" | "ENDED";
|
|
22694
22734
|
locked: boolean;
|
|
22695
22735
|
lockedAt: string | null;
|
|
22696
22736
|
createdAt: string;
|
|
@@ -22719,7 +22759,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
22719
22759
|
couponId: string;
|
|
22720
22760
|
name: string;
|
|
22721
22761
|
description: string | null;
|
|
22722
|
-
kind: "
|
|
22762
|
+
kind: "ORDER" | "PRODUCT" | "DELIVERY";
|
|
22723
22763
|
benefit: {
|
|
22724
22764
|
type: "RATE" | "AMOUNT";
|
|
22725
22765
|
value: number;
|
|
@@ -22793,7 +22833,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
22793
22833
|
issueStartsAt: string | null;
|
|
22794
22834
|
issueEndsAt: string | null;
|
|
22795
22835
|
visibleFrom: string | null;
|
|
22796
|
-
status: "ACTIVE" | "
|
|
22836
|
+
status: "ACTIVE" | "PAUSED" | "ENDED";
|
|
22797
22837
|
locked: boolean;
|
|
22798
22838
|
lockedAt: string | null;
|
|
22799
22839
|
createdAt: string;
|
|
@@ -22821,7 +22861,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
22821
22861
|
couponId: string;
|
|
22822
22862
|
name: string;
|
|
22823
22863
|
description: string | null;
|
|
22824
|
-
kind: "
|
|
22864
|
+
kind: "ORDER" | "PRODUCT" | "DELIVERY";
|
|
22825
22865
|
benefit: {
|
|
22826
22866
|
type: "RATE" | "AMOUNT";
|
|
22827
22867
|
value: number;
|
|
@@ -22895,7 +22935,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
22895
22935
|
issueStartsAt: string | null;
|
|
22896
22936
|
issueEndsAt: string | null;
|
|
22897
22937
|
visibleFrom: string | null;
|
|
22898
|
-
status: "ACTIVE" | "
|
|
22938
|
+
status: "ACTIVE" | "PAUSED" | "ENDED";
|
|
22899
22939
|
locked: boolean;
|
|
22900
22940
|
lockedAt: string | null;
|
|
22901
22941
|
createdAt: string;
|
|
@@ -22923,7 +22963,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
22923
22963
|
couponId: string;
|
|
22924
22964
|
name: string;
|
|
22925
22965
|
description: string | null;
|
|
22926
|
-
kind: "
|
|
22966
|
+
kind: "ORDER" | "PRODUCT" | "DELIVERY";
|
|
22927
22967
|
benefit: {
|
|
22928
22968
|
type: "RATE" | "AMOUNT";
|
|
22929
22969
|
value: number;
|
|
@@ -22997,7 +23037,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
22997
23037
|
issueStartsAt: string | null;
|
|
22998
23038
|
issueEndsAt: string | null;
|
|
22999
23039
|
visibleFrom: string | null;
|
|
23000
|
-
status: "ACTIVE" | "
|
|
23040
|
+
status: "ACTIVE" | "PAUSED" | "ENDED";
|
|
23001
23041
|
locked: boolean;
|
|
23002
23042
|
lockedAt: string | null;
|
|
23003
23043
|
createdAt: string;
|
|
@@ -23025,7 +23065,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
23025
23065
|
couponId: string;
|
|
23026
23066
|
name: string;
|
|
23027
23067
|
description: string | null;
|
|
23028
|
-
kind: "
|
|
23068
|
+
kind: "ORDER" | "PRODUCT" | "DELIVERY";
|
|
23029
23069
|
benefit: {
|
|
23030
23070
|
type: "RATE" | "AMOUNT";
|
|
23031
23071
|
value: number;
|
|
@@ -23099,7 +23139,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
23099
23139
|
issueStartsAt: string | null;
|
|
23100
23140
|
issueEndsAt: string | null;
|
|
23101
23141
|
visibleFrom: string | null;
|
|
23102
|
-
status: "ACTIVE" | "
|
|
23142
|
+
status: "ACTIVE" | "PAUSED" | "ENDED";
|
|
23103
23143
|
locked: boolean;
|
|
23104
23144
|
lockedAt: string | null;
|
|
23105
23145
|
createdAt: string;
|
|
@@ -23127,7 +23167,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
23127
23167
|
couponId: string;
|
|
23128
23168
|
name: string;
|
|
23129
23169
|
description: string | null;
|
|
23130
|
-
kind: "
|
|
23170
|
+
kind: "ORDER" | "PRODUCT" | "DELIVERY";
|
|
23131
23171
|
benefit: {
|
|
23132
23172
|
type: "RATE" | "AMOUNT";
|
|
23133
23173
|
value: number;
|
|
@@ -23201,7 +23241,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
23201
23241
|
issueStartsAt: string | null;
|
|
23202
23242
|
issueEndsAt: string | null;
|
|
23203
23243
|
visibleFrom: string | null;
|
|
23204
|
-
status: "ACTIVE" | "
|
|
23244
|
+
status: "ACTIVE" | "PAUSED" | "ENDED";
|
|
23205
23245
|
locked: boolean;
|
|
23206
23246
|
lockedAt: string | null;
|
|
23207
23247
|
createdAt: string;
|
|
@@ -23229,7 +23269,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
23229
23269
|
couponId: string;
|
|
23230
23270
|
name: string;
|
|
23231
23271
|
description: string | null;
|
|
23232
|
-
kind: "
|
|
23272
|
+
kind: "ORDER" | "PRODUCT" | "DELIVERY";
|
|
23233
23273
|
benefit: {
|
|
23234
23274
|
type: "RATE" | "AMOUNT";
|
|
23235
23275
|
value: number;
|
|
@@ -23303,7 +23343,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
23303
23343
|
issueStartsAt: string | null;
|
|
23304
23344
|
issueEndsAt: string | null;
|
|
23305
23345
|
visibleFrom: string | null;
|
|
23306
|
-
status: "ACTIVE" | "
|
|
23346
|
+
status: "ACTIVE" | "PAUSED" | "ENDED";
|
|
23307
23347
|
locked: boolean;
|
|
23308
23348
|
lockedAt: string | null;
|
|
23309
23349
|
createdAt: string;
|
|
@@ -23694,7 +23734,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
23694
23734
|
sources: (params: AnalyticsSourcesParams) => Promise<{
|
|
23695
23735
|
groupBy: "CAMPAIGN" | "CHANNEL" | "SOURCE" | "DEVICE";
|
|
23696
23736
|
rows: {
|
|
23697
|
-
channel: "DIRECT" | "ORGANIC_SEARCH" | "SOCIAL" | "PAID" | "EMAIL" | "CAMPAIGN" | "REFERRAL" |
|
|
23737
|
+
channel: "UNKNOWN" | "DIRECT" | "ORGANIC_SEARCH" | "SOCIAL" | "PAID" | "EMAIL" | "CAMPAIGN" | "REFERRAL" | null;
|
|
23698
23738
|
source: string | null;
|
|
23699
23739
|
medium: string | null;
|
|
23700
23740
|
campaign: string | null;
|
|
@@ -23924,7 +23964,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
23924
23964
|
updatedAt: string;
|
|
23925
23965
|
} | null;
|
|
23926
23966
|
}>;
|
|
23927
|
-
/** `POST /v1/payments/refunds/{refundId}/process` — 대기
|
|
23967
|
+
/** `POST /v1/payments/refunds/{refundId}/process` — 대기(`HELD`)·실패(`FAILED`) 환불을 PG로 환불한다(#115, #301). 409 `REFUND_NOT_HELD` */
|
|
23928
23968
|
processRefund: (refundId: string) => Promise<{
|
|
23929
23969
|
refundId: string;
|
|
23930
23970
|
amount: number;
|
|
@@ -25560,7 +25600,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
25560
25600
|
developerName: string;
|
|
25561
25601
|
versionNumber: number;
|
|
25562
25602
|
installationId: string | null;
|
|
25563
|
-
visibility: "
|
|
25603
|
+
visibility: "PUBLIC" | "DEVELOPMENT" | "PRIVATE";
|
|
25564
25604
|
}[]>;
|
|
25565
25605
|
get: (appId: string) => Promise<{
|
|
25566
25606
|
appId: string;
|
|
@@ -25571,11 +25611,11 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
25571
25611
|
developerName: string;
|
|
25572
25612
|
versionNumber: number;
|
|
25573
25613
|
installationId: string | null;
|
|
25574
|
-
visibility: "
|
|
25614
|
+
visibility: "PUBLIC" | "DEVELOPMENT" | "PRIVATE";
|
|
25575
25615
|
readme: string | null;
|
|
25576
25616
|
supportEmail: string | null;
|
|
25577
25617
|
scopes: string[];
|
|
25578
|
-
events: ("ORDER.PAID" | "ORDER.CONFIRMED" | "ORDER.DISPATCHED" | "ORDER.DELIVERED" | "ORDER.PURCHASE_DECIDED" | "ORDER.ADDRESS_CHANGE_REQUESTED" | "ORDER.FULFILLED" | "ORDER.CANCELED" | "CLAIM.CANCEL_REQUESTED" | "CLAIM.RETURN_REQUESTED" | "CLAIM.EXCHANGE_REQUESTED" | "CLAIM.COMPLETED" | "INQUIRY.CREATED" | "REVIEW.CREATED" | "PRODUCT.OUT_OF_STOCK" | "ORDER.FLOW_NOTIFICATION" | "ORDER.FLOW_STATE_CHANGED" | "INVENTORY.CHANGED" | "ORDER.PAYMENT_ADDED" | "ORDER.PAYMENT_REQUESTED"
|
|
25618
|
+
events: ("APP.INSTALLED" | "APP.UNINSTALLED" | "APP.SETTINGS_UPDATED" | "APP.SCOPES_UPDATED" | "APP.STORE_REDACT" | "APP.CUSTOMER_REDACT" | "ORDER.PAID" | "ORDER.CONFIRMED" | "ORDER.DISPATCHED" | "ORDER.DELIVERED" | "ORDER.PURCHASE_DECIDED" | "ORDER.ADDRESS_CHANGE_REQUESTED" | "ORDER.FULFILLED" | "ORDER.CANCELED" | "CLAIM.CANCEL_REQUESTED" | "CLAIM.RETURN_REQUESTED" | "CLAIM.EXCHANGE_REQUESTED" | "CLAIM.COMPLETED" | "INQUIRY.CREATED" | "REVIEW.CREATED" | "PRODUCT.OUT_OF_STOCK" | "ORDER.FLOW_NOTIFICATION" | "ORDER.FLOW_STATE_CHANGED" | "INVENTORY.CHANGED" | "ORDER.PAYMENT_ADDED" | "ORDER.PAYMENT_REQUESTED")[];
|
|
25579
25619
|
networkHosts: string[];
|
|
25580
25620
|
publicHttp: string[];
|
|
25581
25621
|
schedules: {
|
|
@@ -25622,14 +25662,14 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
25622
25662
|
supportEmail: string | null;
|
|
25623
25663
|
distribution: "PRIVATE_OWN" | "PRIVATE_LINK" | "LISTED";
|
|
25624
25664
|
runtime: "CODE" | "EXTERNAL";
|
|
25625
|
-
status: "
|
|
25665
|
+
status: "SUSPENDED" | "ACTIVE" | "DELETED";
|
|
25626
25666
|
};
|
|
25627
|
-
status: "
|
|
25667
|
+
status: "SUSPENDED" | "ACTIVE" | "UNINSTALLED";
|
|
25628
25668
|
versionNumber: number;
|
|
25629
25669
|
pendingVersionNumber: number | null;
|
|
25630
25670
|
grantedScopes: string[];
|
|
25631
25671
|
grantedNetworkHosts: string[];
|
|
25632
|
-
events: ("ORDER.PAID" | "ORDER.CONFIRMED" | "ORDER.DISPATCHED" | "ORDER.DELIVERED" | "ORDER.PURCHASE_DECIDED" | "ORDER.ADDRESS_CHANGE_REQUESTED" | "ORDER.FULFILLED" | "ORDER.CANCELED" | "CLAIM.CANCEL_REQUESTED" | "CLAIM.RETURN_REQUESTED" | "CLAIM.EXCHANGE_REQUESTED" | "CLAIM.COMPLETED" | "INQUIRY.CREATED" | "REVIEW.CREATED" | "PRODUCT.OUT_OF_STOCK" | "ORDER.FLOW_NOTIFICATION" | "ORDER.FLOW_STATE_CHANGED" | "INVENTORY.CHANGED" | "ORDER.PAYMENT_ADDED" | "ORDER.PAYMENT_REQUESTED"
|
|
25672
|
+
events: ("APP.INSTALLED" | "APP.UNINSTALLED" | "APP.SETTINGS_UPDATED" | "APP.SCOPES_UPDATED" | "APP.STORE_REDACT" | "APP.CUSTOMER_REDACT" | "ORDER.PAID" | "ORDER.CONFIRMED" | "ORDER.DISPATCHED" | "ORDER.DELIVERED" | "ORDER.PURCHASE_DECIDED" | "ORDER.ADDRESS_CHANGE_REQUESTED" | "ORDER.FULFILLED" | "ORDER.CANCELED" | "CLAIM.CANCEL_REQUESTED" | "CLAIM.RETURN_REQUESTED" | "CLAIM.EXCHANGE_REQUESTED" | "CLAIM.COMPLETED" | "INQUIRY.CREATED" | "REVIEW.CREATED" | "PRODUCT.OUT_OF_STOCK" | "ORDER.FLOW_NOTIFICATION" | "ORDER.FLOW_STATE_CHANGED" | "INVENTORY.CHANGED" | "ORDER.PAYMENT_ADDED" | "ORDER.PAYMENT_REQUESTED")[];
|
|
25633
25673
|
adminPage: boolean;
|
|
25634
25674
|
publicHttp: string[];
|
|
25635
25675
|
schedules: {
|
|
@@ -25683,7 +25723,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
25683
25723
|
number: number;
|
|
25684
25724
|
scopes: string[];
|
|
25685
25725
|
networkHosts: string[];
|
|
25686
|
-
events: ("ORDER.PAID" | "ORDER.CONFIRMED" | "ORDER.DISPATCHED" | "ORDER.DELIVERED" | "ORDER.PURCHASE_DECIDED" | "ORDER.ADDRESS_CHANGE_REQUESTED" | "ORDER.FULFILLED" | "ORDER.CANCELED" | "CLAIM.CANCEL_REQUESTED" | "CLAIM.RETURN_REQUESTED" | "CLAIM.EXCHANGE_REQUESTED" | "CLAIM.COMPLETED" | "INQUIRY.CREATED" | "REVIEW.CREATED" | "PRODUCT.OUT_OF_STOCK" | "ORDER.FLOW_NOTIFICATION" | "ORDER.FLOW_STATE_CHANGED" | "INVENTORY.CHANGED" | "ORDER.PAYMENT_ADDED" | "ORDER.PAYMENT_REQUESTED"
|
|
25726
|
+
events: ("APP.INSTALLED" | "APP.UNINSTALLED" | "APP.SETTINGS_UPDATED" | "APP.SCOPES_UPDATED" | "APP.STORE_REDACT" | "APP.CUSTOMER_REDACT" | "ORDER.PAID" | "ORDER.CONFIRMED" | "ORDER.DISPATCHED" | "ORDER.DELIVERED" | "ORDER.PURCHASE_DECIDED" | "ORDER.ADDRESS_CHANGE_REQUESTED" | "ORDER.FULFILLED" | "ORDER.CANCELED" | "CLAIM.CANCEL_REQUESTED" | "CLAIM.RETURN_REQUESTED" | "CLAIM.EXCHANGE_REQUESTED" | "CLAIM.COMPLETED" | "INQUIRY.CREATED" | "REVIEW.CREATED" | "PRODUCT.OUT_OF_STOCK" | "ORDER.FLOW_NOTIFICATION" | "ORDER.FLOW_STATE_CHANGED" | "INVENTORY.CHANGED" | "ORDER.PAYMENT_ADDED" | "ORDER.PAYMENT_REQUESTED")[];
|
|
25687
25727
|
publicHttp: string[];
|
|
25688
25728
|
schedules: {
|
|
25689
25729
|
name: string;
|
|
@@ -25709,14 +25749,14 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
25709
25749
|
supportEmail: string | null;
|
|
25710
25750
|
distribution: "PRIVATE_OWN" | "PRIVATE_LINK" | "LISTED";
|
|
25711
25751
|
runtime: "CODE" | "EXTERNAL";
|
|
25712
|
-
status: "
|
|
25752
|
+
status: "SUSPENDED" | "ACTIVE" | "DELETED";
|
|
25713
25753
|
};
|
|
25714
|
-
status: "
|
|
25754
|
+
status: "SUSPENDED" | "ACTIVE" | "UNINSTALLED";
|
|
25715
25755
|
versionNumber: number;
|
|
25716
25756
|
pendingVersionNumber: number | null;
|
|
25717
25757
|
grantedScopes: string[];
|
|
25718
25758
|
grantedNetworkHosts: string[];
|
|
25719
|
-
events: ("ORDER.PAID" | "ORDER.CONFIRMED" | "ORDER.DISPATCHED" | "ORDER.DELIVERED" | "ORDER.PURCHASE_DECIDED" | "ORDER.ADDRESS_CHANGE_REQUESTED" | "ORDER.FULFILLED" | "ORDER.CANCELED" | "CLAIM.CANCEL_REQUESTED" | "CLAIM.RETURN_REQUESTED" | "CLAIM.EXCHANGE_REQUESTED" | "CLAIM.COMPLETED" | "INQUIRY.CREATED" | "REVIEW.CREATED" | "PRODUCT.OUT_OF_STOCK" | "ORDER.FLOW_NOTIFICATION" | "ORDER.FLOW_STATE_CHANGED" | "INVENTORY.CHANGED" | "ORDER.PAYMENT_ADDED" | "ORDER.PAYMENT_REQUESTED"
|
|
25759
|
+
events: ("APP.INSTALLED" | "APP.UNINSTALLED" | "APP.SETTINGS_UPDATED" | "APP.SCOPES_UPDATED" | "APP.STORE_REDACT" | "APP.CUSTOMER_REDACT" | "ORDER.PAID" | "ORDER.CONFIRMED" | "ORDER.DISPATCHED" | "ORDER.DELIVERED" | "ORDER.PURCHASE_DECIDED" | "ORDER.ADDRESS_CHANGE_REQUESTED" | "ORDER.FULFILLED" | "ORDER.CANCELED" | "CLAIM.CANCEL_REQUESTED" | "CLAIM.RETURN_REQUESTED" | "CLAIM.EXCHANGE_REQUESTED" | "CLAIM.COMPLETED" | "INQUIRY.CREATED" | "REVIEW.CREATED" | "PRODUCT.OUT_OF_STOCK" | "ORDER.FLOW_NOTIFICATION" | "ORDER.FLOW_STATE_CHANGED" | "INVENTORY.CHANGED" | "ORDER.PAYMENT_ADDED" | "ORDER.PAYMENT_REQUESTED")[];
|
|
25720
25760
|
adminPage: boolean;
|
|
25721
25761
|
publicHttp: string[];
|
|
25722
25762
|
schedules: {
|
|
@@ -25770,7 +25810,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
25770
25810
|
number: number;
|
|
25771
25811
|
scopes: string[];
|
|
25772
25812
|
networkHosts: string[];
|
|
25773
|
-
events: ("ORDER.PAID" | "ORDER.CONFIRMED" | "ORDER.DISPATCHED" | "ORDER.DELIVERED" | "ORDER.PURCHASE_DECIDED" | "ORDER.ADDRESS_CHANGE_REQUESTED" | "ORDER.FULFILLED" | "ORDER.CANCELED" | "CLAIM.CANCEL_REQUESTED" | "CLAIM.RETURN_REQUESTED" | "CLAIM.EXCHANGE_REQUESTED" | "CLAIM.COMPLETED" | "INQUIRY.CREATED" | "REVIEW.CREATED" | "PRODUCT.OUT_OF_STOCK" | "ORDER.FLOW_NOTIFICATION" | "ORDER.FLOW_STATE_CHANGED" | "INVENTORY.CHANGED" | "ORDER.PAYMENT_ADDED" | "ORDER.PAYMENT_REQUESTED"
|
|
25813
|
+
events: ("APP.INSTALLED" | "APP.UNINSTALLED" | "APP.SETTINGS_UPDATED" | "APP.SCOPES_UPDATED" | "APP.STORE_REDACT" | "APP.CUSTOMER_REDACT" | "ORDER.PAID" | "ORDER.CONFIRMED" | "ORDER.DISPATCHED" | "ORDER.DELIVERED" | "ORDER.PURCHASE_DECIDED" | "ORDER.ADDRESS_CHANGE_REQUESTED" | "ORDER.FULFILLED" | "ORDER.CANCELED" | "CLAIM.CANCEL_REQUESTED" | "CLAIM.RETURN_REQUESTED" | "CLAIM.EXCHANGE_REQUESTED" | "CLAIM.COMPLETED" | "INQUIRY.CREATED" | "REVIEW.CREATED" | "PRODUCT.OUT_OF_STOCK" | "ORDER.FLOW_NOTIFICATION" | "ORDER.FLOW_STATE_CHANGED" | "INVENTORY.CHANGED" | "ORDER.PAYMENT_ADDED" | "ORDER.PAYMENT_REQUESTED")[];
|
|
25774
25814
|
publicHttp: string[];
|
|
25775
25815
|
schedules: {
|
|
25776
25816
|
name: string;
|
|
@@ -25796,14 +25836,14 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
25796
25836
|
supportEmail: string | null;
|
|
25797
25837
|
distribution: "PRIVATE_OWN" | "PRIVATE_LINK" | "LISTED";
|
|
25798
25838
|
runtime: "CODE" | "EXTERNAL";
|
|
25799
|
-
status: "
|
|
25839
|
+
status: "SUSPENDED" | "ACTIVE" | "DELETED";
|
|
25800
25840
|
};
|
|
25801
|
-
status: "
|
|
25841
|
+
status: "SUSPENDED" | "ACTIVE" | "UNINSTALLED";
|
|
25802
25842
|
versionNumber: number;
|
|
25803
25843
|
pendingVersionNumber: number | null;
|
|
25804
25844
|
grantedScopes: string[];
|
|
25805
25845
|
grantedNetworkHosts: string[];
|
|
25806
|
-
events: ("ORDER.PAID" | "ORDER.CONFIRMED" | "ORDER.DISPATCHED" | "ORDER.DELIVERED" | "ORDER.PURCHASE_DECIDED" | "ORDER.ADDRESS_CHANGE_REQUESTED" | "ORDER.FULFILLED" | "ORDER.CANCELED" | "CLAIM.CANCEL_REQUESTED" | "CLAIM.RETURN_REQUESTED" | "CLAIM.EXCHANGE_REQUESTED" | "CLAIM.COMPLETED" | "INQUIRY.CREATED" | "REVIEW.CREATED" | "PRODUCT.OUT_OF_STOCK" | "ORDER.FLOW_NOTIFICATION" | "ORDER.FLOW_STATE_CHANGED" | "INVENTORY.CHANGED" | "ORDER.PAYMENT_ADDED" | "ORDER.PAYMENT_REQUESTED"
|
|
25846
|
+
events: ("APP.INSTALLED" | "APP.UNINSTALLED" | "APP.SETTINGS_UPDATED" | "APP.SCOPES_UPDATED" | "APP.STORE_REDACT" | "APP.CUSTOMER_REDACT" | "ORDER.PAID" | "ORDER.CONFIRMED" | "ORDER.DISPATCHED" | "ORDER.DELIVERED" | "ORDER.PURCHASE_DECIDED" | "ORDER.ADDRESS_CHANGE_REQUESTED" | "ORDER.FULFILLED" | "ORDER.CANCELED" | "CLAIM.CANCEL_REQUESTED" | "CLAIM.RETURN_REQUESTED" | "CLAIM.EXCHANGE_REQUESTED" | "CLAIM.COMPLETED" | "INQUIRY.CREATED" | "REVIEW.CREATED" | "PRODUCT.OUT_OF_STOCK" | "ORDER.FLOW_NOTIFICATION" | "ORDER.FLOW_STATE_CHANGED" | "INVENTORY.CHANGED" | "ORDER.PAYMENT_ADDED" | "ORDER.PAYMENT_REQUESTED")[];
|
|
25807
25847
|
adminPage: boolean;
|
|
25808
25848
|
publicHttp: string[];
|
|
25809
25849
|
schedules: {
|
|
@@ -25857,7 +25897,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
25857
25897
|
number: number;
|
|
25858
25898
|
scopes: string[];
|
|
25859
25899
|
networkHosts: string[];
|
|
25860
|
-
events: ("ORDER.PAID" | "ORDER.CONFIRMED" | "ORDER.DISPATCHED" | "ORDER.DELIVERED" | "ORDER.PURCHASE_DECIDED" | "ORDER.ADDRESS_CHANGE_REQUESTED" | "ORDER.FULFILLED" | "ORDER.CANCELED" | "CLAIM.CANCEL_REQUESTED" | "CLAIM.RETURN_REQUESTED" | "CLAIM.EXCHANGE_REQUESTED" | "CLAIM.COMPLETED" | "INQUIRY.CREATED" | "REVIEW.CREATED" | "PRODUCT.OUT_OF_STOCK" | "ORDER.FLOW_NOTIFICATION" | "ORDER.FLOW_STATE_CHANGED" | "INVENTORY.CHANGED" | "ORDER.PAYMENT_ADDED" | "ORDER.PAYMENT_REQUESTED"
|
|
25900
|
+
events: ("APP.INSTALLED" | "APP.UNINSTALLED" | "APP.SETTINGS_UPDATED" | "APP.SCOPES_UPDATED" | "APP.STORE_REDACT" | "APP.CUSTOMER_REDACT" | "ORDER.PAID" | "ORDER.CONFIRMED" | "ORDER.DISPATCHED" | "ORDER.DELIVERED" | "ORDER.PURCHASE_DECIDED" | "ORDER.ADDRESS_CHANGE_REQUESTED" | "ORDER.FULFILLED" | "ORDER.CANCELED" | "CLAIM.CANCEL_REQUESTED" | "CLAIM.RETURN_REQUESTED" | "CLAIM.EXCHANGE_REQUESTED" | "CLAIM.COMPLETED" | "INQUIRY.CREATED" | "REVIEW.CREATED" | "PRODUCT.OUT_OF_STOCK" | "ORDER.FLOW_NOTIFICATION" | "ORDER.FLOW_STATE_CHANGED" | "INVENTORY.CHANGED" | "ORDER.PAYMENT_ADDED" | "ORDER.PAYMENT_REQUESTED")[];
|
|
25861
25901
|
publicHttp: string[];
|
|
25862
25902
|
schedules: {
|
|
25863
25903
|
name: string;
|
|
@@ -25884,14 +25924,14 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
25884
25924
|
supportEmail: string | null;
|
|
25885
25925
|
distribution: "PRIVATE_OWN" | "PRIVATE_LINK" | "LISTED";
|
|
25886
25926
|
runtime: "CODE" | "EXTERNAL";
|
|
25887
|
-
status: "
|
|
25927
|
+
status: "SUSPENDED" | "ACTIVE" | "DELETED";
|
|
25888
25928
|
};
|
|
25889
|
-
status: "
|
|
25929
|
+
status: "SUSPENDED" | "ACTIVE" | "UNINSTALLED";
|
|
25890
25930
|
versionNumber: number;
|
|
25891
25931
|
pendingVersionNumber: number | null;
|
|
25892
25932
|
grantedScopes: string[];
|
|
25893
25933
|
grantedNetworkHosts: string[];
|
|
25894
|
-
events: ("ORDER.PAID" | "ORDER.CONFIRMED" | "ORDER.DISPATCHED" | "ORDER.DELIVERED" | "ORDER.PURCHASE_DECIDED" | "ORDER.ADDRESS_CHANGE_REQUESTED" | "ORDER.FULFILLED" | "ORDER.CANCELED" | "CLAIM.CANCEL_REQUESTED" | "CLAIM.RETURN_REQUESTED" | "CLAIM.EXCHANGE_REQUESTED" | "CLAIM.COMPLETED" | "INQUIRY.CREATED" | "REVIEW.CREATED" | "PRODUCT.OUT_OF_STOCK" | "ORDER.FLOW_NOTIFICATION" | "ORDER.FLOW_STATE_CHANGED" | "INVENTORY.CHANGED" | "ORDER.PAYMENT_ADDED" | "ORDER.PAYMENT_REQUESTED"
|
|
25934
|
+
events: ("APP.INSTALLED" | "APP.UNINSTALLED" | "APP.SETTINGS_UPDATED" | "APP.SCOPES_UPDATED" | "APP.STORE_REDACT" | "APP.CUSTOMER_REDACT" | "ORDER.PAID" | "ORDER.CONFIRMED" | "ORDER.DISPATCHED" | "ORDER.DELIVERED" | "ORDER.PURCHASE_DECIDED" | "ORDER.ADDRESS_CHANGE_REQUESTED" | "ORDER.FULFILLED" | "ORDER.CANCELED" | "CLAIM.CANCEL_REQUESTED" | "CLAIM.RETURN_REQUESTED" | "CLAIM.EXCHANGE_REQUESTED" | "CLAIM.COMPLETED" | "INQUIRY.CREATED" | "REVIEW.CREATED" | "PRODUCT.OUT_OF_STOCK" | "ORDER.FLOW_NOTIFICATION" | "ORDER.FLOW_STATE_CHANGED" | "INVENTORY.CHANGED" | "ORDER.PAYMENT_ADDED" | "ORDER.PAYMENT_REQUESTED")[];
|
|
25895
25935
|
adminPage: boolean;
|
|
25896
25936
|
publicHttp: string[];
|
|
25897
25937
|
schedules: {
|
|
@@ -25945,7 +25985,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
25945
25985
|
number: number;
|
|
25946
25986
|
scopes: string[];
|
|
25947
25987
|
networkHosts: string[];
|
|
25948
|
-
events: ("ORDER.PAID" | "ORDER.CONFIRMED" | "ORDER.DISPATCHED" | "ORDER.DELIVERED" | "ORDER.PURCHASE_DECIDED" | "ORDER.ADDRESS_CHANGE_REQUESTED" | "ORDER.FULFILLED" | "ORDER.CANCELED" | "CLAIM.CANCEL_REQUESTED" | "CLAIM.RETURN_REQUESTED" | "CLAIM.EXCHANGE_REQUESTED" | "CLAIM.COMPLETED" | "INQUIRY.CREATED" | "REVIEW.CREATED" | "PRODUCT.OUT_OF_STOCK" | "ORDER.FLOW_NOTIFICATION" | "ORDER.FLOW_STATE_CHANGED" | "INVENTORY.CHANGED" | "ORDER.PAYMENT_ADDED" | "ORDER.PAYMENT_REQUESTED"
|
|
25988
|
+
events: ("APP.INSTALLED" | "APP.UNINSTALLED" | "APP.SETTINGS_UPDATED" | "APP.SCOPES_UPDATED" | "APP.STORE_REDACT" | "APP.CUSTOMER_REDACT" | "ORDER.PAID" | "ORDER.CONFIRMED" | "ORDER.DISPATCHED" | "ORDER.DELIVERED" | "ORDER.PURCHASE_DECIDED" | "ORDER.ADDRESS_CHANGE_REQUESTED" | "ORDER.FULFILLED" | "ORDER.CANCELED" | "CLAIM.CANCEL_REQUESTED" | "CLAIM.RETURN_REQUESTED" | "CLAIM.EXCHANGE_REQUESTED" | "CLAIM.COMPLETED" | "INQUIRY.CREATED" | "REVIEW.CREATED" | "PRODUCT.OUT_OF_STOCK" | "ORDER.FLOW_NOTIFICATION" | "ORDER.FLOW_STATE_CHANGED" | "INVENTORY.CHANGED" | "ORDER.PAYMENT_ADDED" | "ORDER.PAYMENT_REQUESTED")[];
|
|
25949
25989
|
publicHttp: string[];
|
|
25950
25990
|
schedules: {
|
|
25951
25991
|
name: string;
|
|
@@ -25987,14 +26027,14 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
25987
26027
|
supportEmail: string | null;
|
|
25988
26028
|
distribution: "PRIVATE_OWN" | "PRIVATE_LINK" | "LISTED";
|
|
25989
26029
|
runtime: "CODE" | "EXTERNAL";
|
|
25990
|
-
status: "
|
|
26030
|
+
status: "SUSPENDED" | "ACTIVE" | "DELETED";
|
|
25991
26031
|
};
|
|
25992
|
-
status: "
|
|
26032
|
+
status: "SUSPENDED" | "ACTIVE" | "UNINSTALLED";
|
|
25993
26033
|
versionNumber: number;
|
|
25994
26034
|
pendingVersionNumber: number | null;
|
|
25995
26035
|
grantedScopes: string[];
|
|
25996
26036
|
grantedNetworkHosts: string[];
|
|
25997
|
-
events: ("ORDER.PAID" | "ORDER.CONFIRMED" | "ORDER.DISPATCHED" | "ORDER.DELIVERED" | "ORDER.PURCHASE_DECIDED" | "ORDER.ADDRESS_CHANGE_REQUESTED" | "ORDER.FULFILLED" | "ORDER.CANCELED" | "CLAIM.CANCEL_REQUESTED" | "CLAIM.RETURN_REQUESTED" | "CLAIM.EXCHANGE_REQUESTED" | "CLAIM.COMPLETED" | "INQUIRY.CREATED" | "REVIEW.CREATED" | "PRODUCT.OUT_OF_STOCK" | "ORDER.FLOW_NOTIFICATION" | "ORDER.FLOW_STATE_CHANGED" | "INVENTORY.CHANGED" | "ORDER.PAYMENT_ADDED" | "ORDER.PAYMENT_REQUESTED"
|
|
26037
|
+
events: ("APP.INSTALLED" | "APP.UNINSTALLED" | "APP.SETTINGS_UPDATED" | "APP.SCOPES_UPDATED" | "APP.STORE_REDACT" | "APP.CUSTOMER_REDACT" | "ORDER.PAID" | "ORDER.CONFIRMED" | "ORDER.DISPATCHED" | "ORDER.DELIVERED" | "ORDER.PURCHASE_DECIDED" | "ORDER.ADDRESS_CHANGE_REQUESTED" | "ORDER.FULFILLED" | "ORDER.CANCELED" | "CLAIM.CANCEL_REQUESTED" | "CLAIM.RETURN_REQUESTED" | "CLAIM.EXCHANGE_REQUESTED" | "CLAIM.COMPLETED" | "INQUIRY.CREATED" | "REVIEW.CREATED" | "PRODUCT.OUT_OF_STOCK" | "ORDER.FLOW_NOTIFICATION" | "ORDER.FLOW_STATE_CHANGED" | "INVENTORY.CHANGED" | "ORDER.PAYMENT_ADDED" | "ORDER.PAYMENT_REQUESTED")[];
|
|
25998
26038
|
adminPage: boolean;
|
|
25999
26039
|
publicHttp: string[];
|
|
26000
26040
|
schedules: {
|
|
@@ -26048,7 +26088,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
26048
26088
|
number: number;
|
|
26049
26089
|
scopes: string[];
|
|
26050
26090
|
networkHosts: string[];
|
|
26051
|
-
events: ("ORDER.PAID" | "ORDER.CONFIRMED" | "ORDER.DISPATCHED" | "ORDER.DELIVERED" | "ORDER.PURCHASE_DECIDED" | "ORDER.ADDRESS_CHANGE_REQUESTED" | "ORDER.FULFILLED" | "ORDER.CANCELED" | "CLAIM.CANCEL_REQUESTED" | "CLAIM.RETURN_REQUESTED" | "CLAIM.EXCHANGE_REQUESTED" | "CLAIM.COMPLETED" | "INQUIRY.CREATED" | "REVIEW.CREATED" | "PRODUCT.OUT_OF_STOCK" | "ORDER.FLOW_NOTIFICATION" | "ORDER.FLOW_STATE_CHANGED" | "INVENTORY.CHANGED" | "ORDER.PAYMENT_ADDED" | "ORDER.PAYMENT_REQUESTED"
|
|
26091
|
+
events: ("APP.INSTALLED" | "APP.UNINSTALLED" | "APP.SETTINGS_UPDATED" | "APP.SCOPES_UPDATED" | "APP.STORE_REDACT" | "APP.CUSTOMER_REDACT" | "ORDER.PAID" | "ORDER.CONFIRMED" | "ORDER.DISPATCHED" | "ORDER.DELIVERED" | "ORDER.PURCHASE_DECIDED" | "ORDER.ADDRESS_CHANGE_REQUESTED" | "ORDER.FULFILLED" | "ORDER.CANCELED" | "CLAIM.CANCEL_REQUESTED" | "CLAIM.RETURN_REQUESTED" | "CLAIM.EXCHANGE_REQUESTED" | "CLAIM.COMPLETED" | "INQUIRY.CREATED" | "REVIEW.CREATED" | "PRODUCT.OUT_OF_STOCK" | "ORDER.FLOW_NOTIFICATION" | "ORDER.FLOW_STATE_CHANGED" | "INVENTORY.CHANGED" | "ORDER.PAYMENT_ADDED" | "ORDER.PAYMENT_REQUESTED")[];
|
|
26052
26092
|
publicHttp: string[];
|
|
26053
26093
|
schedules: {
|
|
26054
26094
|
name: string;
|
|
@@ -26105,7 +26145,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
26105
26145
|
webhookId: string;
|
|
26106
26146
|
url: string;
|
|
26107
26147
|
eventTypes: ("ORDER.PAID" | "ORDER.CONFIRMED" | "ORDER.DISPATCHED" | "ORDER.DELIVERED" | "ORDER.PURCHASE_DECIDED" | "ORDER.ADDRESS_CHANGE_REQUESTED" | "ORDER.FULFILLED" | "ORDER.CANCELED" | "CLAIM.CANCEL_REQUESTED" | "CLAIM.RETURN_REQUESTED" | "CLAIM.EXCHANGE_REQUESTED" | "CLAIM.COMPLETED" | "INQUIRY.CREATED" | "REVIEW.CREATED" | "PRODUCT.OUT_OF_STOCK" | "ORDER.FLOW_NOTIFICATION" | "ORDER.FLOW_STATE_CHANGED" | "INVENTORY.CHANGED" | "ORDER.PAYMENT_ADDED" | "ORDER.PAYMENT_REQUESTED")[];
|
|
26108
|
-
status: "
|
|
26148
|
+
status: "SUSPENDED" | "ACTIVE";
|
|
26109
26149
|
secretPrefix: string;
|
|
26110
26150
|
suspendedAt: string | null;
|
|
26111
26151
|
createdAt: string;
|
|
@@ -26115,7 +26155,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
26115
26155
|
webhookId: string;
|
|
26116
26156
|
url: string;
|
|
26117
26157
|
eventTypes: ("ORDER.PAID" | "ORDER.CONFIRMED" | "ORDER.DISPATCHED" | "ORDER.DELIVERED" | "ORDER.PURCHASE_DECIDED" | "ORDER.ADDRESS_CHANGE_REQUESTED" | "ORDER.FULFILLED" | "ORDER.CANCELED" | "CLAIM.CANCEL_REQUESTED" | "CLAIM.RETURN_REQUESTED" | "CLAIM.EXCHANGE_REQUESTED" | "CLAIM.COMPLETED" | "INQUIRY.CREATED" | "REVIEW.CREATED" | "PRODUCT.OUT_OF_STOCK" | "ORDER.FLOW_NOTIFICATION" | "ORDER.FLOW_STATE_CHANGED" | "INVENTORY.CHANGED" | "ORDER.PAYMENT_ADDED" | "ORDER.PAYMENT_REQUESTED")[];
|
|
26118
|
-
status: "
|
|
26158
|
+
status: "SUSPENDED" | "ACTIVE";
|
|
26119
26159
|
secretPrefix: string;
|
|
26120
26160
|
suspendedAt: string | null;
|
|
26121
26161
|
createdAt: string;
|
|
@@ -26125,7 +26165,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
26125
26165
|
webhookId: string;
|
|
26126
26166
|
url: string;
|
|
26127
26167
|
eventTypes: ("ORDER.PAID" | "ORDER.CONFIRMED" | "ORDER.DISPATCHED" | "ORDER.DELIVERED" | "ORDER.PURCHASE_DECIDED" | "ORDER.ADDRESS_CHANGE_REQUESTED" | "ORDER.FULFILLED" | "ORDER.CANCELED" | "CLAIM.CANCEL_REQUESTED" | "CLAIM.RETURN_REQUESTED" | "CLAIM.EXCHANGE_REQUESTED" | "CLAIM.COMPLETED" | "INQUIRY.CREATED" | "REVIEW.CREATED" | "PRODUCT.OUT_OF_STOCK" | "ORDER.FLOW_NOTIFICATION" | "ORDER.FLOW_STATE_CHANGED" | "INVENTORY.CHANGED" | "ORDER.PAYMENT_ADDED" | "ORDER.PAYMENT_REQUESTED")[];
|
|
26128
|
-
status: "
|
|
26168
|
+
status: "SUSPENDED" | "ACTIVE";
|
|
26129
26169
|
secretPrefix: string;
|
|
26130
26170
|
suspendedAt: string | null;
|
|
26131
26171
|
createdAt: string;
|
|
@@ -26135,7 +26175,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
26135
26175
|
webhookId: string;
|
|
26136
26176
|
url: string;
|
|
26137
26177
|
eventTypes: ("ORDER.PAID" | "ORDER.CONFIRMED" | "ORDER.DISPATCHED" | "ORDER.DELIVERED" | "ORDER.PURCHASE_DECIDED" | "ORDER.ADDRESS_CHANGE_REQUESTED" | "ORDER.FULFILLED" | "ORDER.CANCELED" | "CLAIM.CANCEL_REQUESTED" | "CLAIM.RETURN_REQUESTED" | "CLAIM.EXCHANGE_REQUESTED" | "CLAIM.COMPLETED" | "INQUIRY.CREATED" | "REVIEW.CREATED" | "PRODUCT.OUT_OF_STOCK" | "ORDER.FLOW_NOTIFICATION" | "ORDER.FLOW_STATE_CHANGED" | "INVENTORY.CHANGED" | "ORDER.PAYMENT_ADDED" | "ORDER.PAYMENT_REQUESTED")[];
|
|
26138
|
-
status: "
|
|
26178
|
+
status: "SUSPENDED" | "ACTIVE";
|
|
26139
26179
|
secretPrefix: string;
|
|
26140
26180
|
suspendedAt: string | null;
|
|
26141
26181
|
createdAt: string;
|
|
@@ -26150,7 +26190,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
26150
26190
|
webhookId: string;
|
|
26151
26191
|
url: string;
|
|
26152
26192
|
eventTypes: ("ORDER.PAID" | "ORDER.CONFIRMED" | "ORDER.DISPATCHED" | "ORDER.DELIVERED" | "ORDER.PURCHASE_DECIDED" | "ORDER.ADDRESS_CHANGE_REQUESTED" | "ORDER.FULFILLED" | "ORDER.CANCELED" | "CLAIM.CANCEL_REQUESTED" | "CLAIM.RETURN_REQUESTED" | "CLAIM.EXCHANGE_REQUESTED" | "CLAIM.COMPLETED" | "INQUIRY.CREATED" | "REVIEW.CREATED" | "PRODUCT.OUT_OF_STOCK" | "ORDER.FLOW_NOTIFICATION" | "ORDER.FLOW_STATE_CHANGED" | "INVENTORY.CHANGED" | "ORDER.PAYMENT_ADDED" | "ORDER.PAYMENT_REQUESTED")[];
|
|
26153
|
-
status: "
|
|
26193
|
+
status: "SUSPENDED" | "ACTIVE";
|
|
26154
26194
|
secretPrefix: string;
|
|
26155
26195
|
suspendedAt: string | null;
|
|
26156
26196
|
createdAt: string;
|
|
@@ -26337,7 +26377,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
26337
26377
|
list: (params?: ApprovalListOptions) => Promise<{
|
|
26338
26378
|
items: {
|
|
26339
26379
|
approvalId: string;
|
|
26340
|
-
status: "
|
|
26380
|
+
status: "FAILED" | "EXPIRED" | "UNKNOWN" | "REJECTED" | "PENDING" | "SUCCEEDED" | "EXECUTING";
|
|
26341
26381
|
operationId: string;
|
|
26342
26382
|
method: string;
|
|
26343
26383
|
path: string;
|
|
@@ -26389,7 +26429,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
26389
26429
|
}>;
|
|
26390
26430
|
get: (approvalId: string) => Promise<{
|
|
26391
26431
|
approvalId: string;
|
|
26392
|
-
status: "
|
|
26432
|
+
status: "FAILED" | "EXPIRED" | "UNKNOWN" | "REJECTED" | "PENDING" | "SUCCEEDED" | "EXECUTING";
|
|
26393
26433
|
operationId: string;
|
|
26394
26434
|
method: string;
|
|
26395
26435
|
path: string;
|
|
@@ -26443,7 +26483,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
26443
26483
|
*/
|
|
26444
26484
|
approve: (approvalId: string, body?: ApprovalDecisionRequest) => Promise<{
|
|
26445
26485
|
approvalId: string;
|
|
26446
|
-
status: "
|
|
26486
|
+
status: "FAILED" | "EXPIRED" | "UNKNOWN" | "REJECTED" | "PENDING" | "SUCCEEDED" | "EXECUTING";
|
|
26447
26487
|
operationId: string;
|
|
26448
26488
|
method: string;
|
|
26449
26489
|
path: string;
|
|
@@ -26493,7 +26533,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
26493
26533
|
}>;
|
|
26494
26534
|
reject: (approvalId: string, body?: ApprovalDecisionRequest) => Promise<{
|
|
26495
26535
|
approvalId: string;
|
|
26496
|
-
status: "
|
|
26536
|
+
status: "FAILED" | "EXPIRED" | "UNKNOWN" | "REJECTED" | "PENDING" | "SUCCEEDED" | "EXECUTING";
|
|
26497
26537
|
operationId: string;
|
|
26498
26538
|
method: string;
|
|
26499
26539
|
path: string;
|
|
@@ -27175,14 +27215,14 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
27175
27215
|
domains: {
|
|
27176
27216
|
hostname: string;
|
|
27177
27217
|
kind: "PLATFORM" | "CUSTOM";
|
|
27178
|
-
status: "
|
|
27218
|
+
status: "HELD" | "ACTIVE";
|
|
27179
27219
|
isPrimary: boolean;
|
|
27180
27220
|
holdUntil: string | null;
|
|
27181
27221
|
}[];
|
|
27182
27222
|
templateId: string;
|
|
27183
27223
|
sourceMode: "CUSTOM" | "MANAGED";
|
|
27184
|
-
status: "
|
|
27185
|
-
visibility: "
|
|
27224
|
+
status: "SUSPENDED" | "CLOSED" | "ACTIVE";
|
|
27225
|
+
visibility: "COMING_SOON" | "PUBLIC";
|
|
27186
27226
|
publishedVersion: {
|
|
27187
27227
|
versionId: string;
|
|
27188
27228
|
number: number;
|
|
@@ -27245,14 +27285,14 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
27245
27285
|
domains: {
|
|
27246
27286
|
hostname: string;
|
|
27247
27287
|
kind: "PLATFORM" | "CUSTOM";
|
|
27248
|
-
status: "
|
|
27288
|
+
status: "HELD" | "ACTIVE";
|
|
27249
27289
|
isPrimary: boolean;
|
|
27250
27290
|
holdUntil: string | null;
|
|
27251
27291
|
}[];
|
|
27252
27292
|
templateId: string;
|
|
27253
27293
|
sourceMode: "CUSTOM" | "MANAGED";
|
|
27254
|
-
status: "
|
|
27255
|
-
visibility: "
|
|
27294
|
+
status: "SUSPENDED" | "CLOSED" | "ACTIVE";
|
|
27295
|
+
visibility: "COMING_SOON" | "PUBLIC";
|
|
27256
27296
|
publishedVersion: {
|
|
27257
27297
|
versionId: string;
|
|
27258
27298
|
number: number;
|
|
@@ -27299,18 +27339,18 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
27299
27339
|
/** `GET /v1/storefront/site/deployment` — 배포 진행(단계·기록). 만든 뒤 반영이 끝날 때까지 폴링한다 */
|
|
27300
27340
|
getDeployment: () => Promise<{
|
|
27301
27341
|
siteId: string;
|
|
27302
|
-
status: "
|
|
27342
|
+
status: "FAILED" | "IN_PROGRESS" | "SUCCEEDED";
|
|
27303
27343
|
url: string;
|
|
27304
27344
|
startedAt: string;
|
|
27305
27345
|
finishedAt: string | null;
|
|
27306
27346
|
steps: {
|
|
27307
|
-
key: "
|
|
27347
|
+
key: "SITE" | "UPLOAD" | "PUBLISH";
|
|
27308
27348
|
status: "RUNNING" | "DONE" | "FAILED" | "PENDING";
|
|
27309
27349
|
finishedAt: string | null;
|
|
27310
27350
|
}[];
|
|
27311
27351
|
log: {
|
|
27312
27352
|
at: string | null;
|
|
27313
|
-
level: "
|
|
27353
|
+
level: "INFO" | "WARN" | "ERROR";
|
|
27314
27354
|
code: string;
|
|
27315
27355
|
message: string;
|
|
27316
27356
|
}[];
|
|
@@ -27321,18 +27361,18 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
27321
27361
|
/** `POST /v1/storefront/site/deployment/retry` (202) — 밀린 반영을 곧바로 다시 시도한다. 이미 반영됐으면 그대로다 */
|
|
27322
27362
|
retryDeployment: () => Promise<{
|
|
27323
27363
|
siteId: string;
|
|
27324
|
-
status: "
|
|
27364
|
+
status: "FAILED" | "IN_PROGRESS" | "SUCCEEDED";
|
|
27325
27365
|
url: string;
|
|
27326
27366
|
startedAt: string;
|
|
27327
27367
|
finishedAt: string | null;
|
|
27328
27368
|
steps: {
|
|
27329
|
-
key: "
|
|
27369
|
+
key: "SITE" | "UPLOAD" | "PUBLISH";
|
|
27330
27370
|
status: "RUNNING" | "DONE" | "FAILED" | "PENDING";
|
|
27331
27371
|
finishedAt: string | null;
|
|
27332
27372
|
}[];
|
|
27333
27373
|
log: {
|
|
27334
27374
|
at: string | null;
|
|
27335
|
-
level: "
|
|
27375
|
+
level: "INFO" | "WARN" | "ERROR";
|
|
27336
27376
|
code: string;
|
|
27337
27377
|
message: string;
|
|
27338
27378
|
}[];
|
|
@@ -27353,14 +27393,14 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
27353
27393
|
domains: {
|
|
27354
27394
|
hostname: string;
|
|
27355
27395
|
kind: "PLATFORM" | "CUSTOM";
|
|
27356
|
-
status: "
|
|
27396
|
+
status: "HELD" | "ACTIVE";
|
|
27357
27397
|
isPrimary: boolean;
|
|
27358
27398
|
holdUntil: string | null;
|
|
27359
27399
|
}[];
|
|
27360
27400
|
templateId: string;
|
|
27361
27401
|
sourceMode: "CUSTOM" | "MANAGED";
|
|
27362
|
-
status: "
|
|
27363
|
-
visibility: "
|
|
27402
|
+
status: "SUSPENDED" | "CLOSED" | "ACTIVE";
|
|
27403
|
+
visibility: "COMING_SOON" | "PUBLIC";
|
|
27364
27404
|
publishedVersion: {
|
|
27365
27405
|
versionId: string;
|
|
27366
27406
|
number: number;
|
|
@@ -27435,14 +27475,14 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
27435
27475
|
domains: {
|
|
27436
27476
|
hostname: string;
|
|
27437
27477
|
kind: "PLATFORM" | "CUSTOM";
|
|
27438
|
-
status: "
|
|
27478
|
+
status: "HELD" | "ACTIVE";
|
|
27439
27479
|
isPrimary: boolean;
|
|
27440
27480
|
holdUntil: string | null;
|
|
27441
27481
|
}[];
|
|
27442
27482
|
templateId: string;
|
|
27443
27483
|
sourceMode: "CUSTOM" | "MANAGED";
|
|
27444
|
-
status: "
|
|
27445
|
-
visibility: "
|
|
27484
|
+
status: "SUSPENDED" | "CLOSED" | "ACTIVE";
|
|
27485
|
+
visibility: "COMING_SOON" | "PUBLIC";
|
|
27446
27486
|
publishedVersion: {
|
|
27447
27487
|
versionId: string;
|
|
27448
27488
|
number: number;
|
|
@@ -27495,14 +27535,14 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
27495
27535
|
domains: {
|
|
27496
27536
|
hostname: string;
|
|
27497
27537
|
kind: "PLATFORM" | "CUSTOM";
|
|
27498
|
-
status: "
|
|
27538
|
+
status: "HELD" | "ACTIVE";
|
|
27499
27539
|
isPrimary: boolean;
|
|
27500
27540
|
holdUntil: string | null;
|
|
27501
27541
|
}[];
|
|
27502
27542
|
templateId: string;
|
|
27503
27543
|
sourceMode: "CUSTOM" | "MANAGED";
|
|
27504
|
-
status: "
|
|
27505
|
-
visibility: "
|
|
27544
|
+
status: "SUSPENDED" | "CLOSED" | "ACTIVE";
|
|
27545
|
+
visibility: "COMING_SOON" | "PUBLIC";
|
|
27506
27546
|
publishedVersion: {
|
|
27507
27547
|
versionId: string;
|
|
27508
27548
|
number: number;
|
|
@@ -27555,14 +27595,14 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
27555
27595
|
domains: {
|
|
27556
27596
|
hostname: string;
|
|
27557
27597
|
kind: "PLATFORM" | "CUSTOM";
|
|
27558
|
-
status: "
|
|
27598
|
+
status: "HELD" | "ACTIVE";
|
|
27559
27599
|
isPrimary: boolean;
|
|
27560
27600
|
holdUntil: string | null;
|
|
27561
27601
|
}[];
|
|
27562
27602
|
templateId: string;
|
|
27563
27603
|
sourceMode: "CUSTOM" | "MANAGED";
|
|
27564
|
-
status: "
|
|
27565
|
-
visibility: "
|
|
27604
|
+
status: "SUSPENDED" | "CLOSED" | "ACTIVE";
|
|
27605
|
+
visibility: "COMING_SOON" | "PUBLIC";
|
|
27566
27606
|
publishedVersion: {
|
|
27567
27607
|
versionId: string;
|
|
27568
27608
|
number: number;
|
|
@@ -27615,14 +27655,14 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
27615
27655
|
domains: {
|
|
27616
27656
|
hostname: string;
|
|
27617
27657
|
kind: "PLATFORM" | "CUSTOM";
|
|
27618
|
-
status: "
|
|
27658
|
+
status: "HELD" | "ACTIVE";
|
|
27619
27659
|
isPrimary: boolean;
|
|
27620
27660
|
holdUntil: string | null;
|
|
27621
27661
|
}[];
|
|
27622
27662
|
templateId: string;
|
|
27623
27663
|
sourceMode: "CUSTOM" | "MANAGED";
|
|
27624
|
-
status: "
|
|
27625
|
-
visibility: "
|
|
27664
|
+
status: "SUSPENDED" | "CLOSED" | "ACTIVE";
|
|
27665
|
+
visibility: "COMING_SOON" | "PUBLIC";
|
|
27626
27666
|
publishedVersion: {
|
|
27627
27667
|
versionId: string;
|
|
27628
27668
|
number: number;
|
|
@@ -27688,7 +27728,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
27688
27728
|
siteId: string;
|
|
27689
27729
|
url: string;
|
|
27690
27730
|
templateId: string;
|
|
27691
|
-
visibility: "
|
|
27731
|
+
visibility: "COMING_SOON" | "PUBLIC";
|
|
27692
27732
|
status: string;
|
|
27693
27733
|
synced: boolean;
|
|
27694
27734
|
publishedVersion: {
|
|
@@ -27823,14 +27863,14 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
27823
27863
|
domains: {
|
|
27824
27864
|
hostname: string;
|
|
27825
27865
|
kind: "PLATFORM" | "CUSTOM";
|
|
27826
|
-
status: "
|
|
27866
|
+
status: "HELD" | "ACTIVE";
|
|
27827
27867
|
isPrimary: boolean;
|
|
27828
27868
|
holdUntil: string | null;
|
|
27829
27869
|
}[];
|
|
27830
27870
|
templateId: string;
|
|
27831
27871
|
sourceMode: "CUSTOM" | "MANAGED";
|
|
27832
|
-
status: "
|
|
27833
|
-
visibility: "
|
|
27872
|
+
status: "SUSPENDED" | "CLOSED" | "ACTIVE";
|
|
27873
|
+
visibility: "COMING_SOON" | "PUBLIC";
|
|
27834
27874
|
publishedVersion: {
|
|
27835
27875
|
versionId: string;
|
|
27836
27876
|
number: number;
|
|
@@ -28038,7 +28078,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
28038
28078
|
runCheck: (body: RunStorefrontCheckRequest) => Promise<{
|
|
28039
28079
|
checkId: string;
|
|
28040
28080
|
check: string;
|
|
28041
|
-
status: "
|
|
28081
|
+
status: "QUEUED" | "RUNNING" | "FAILED" | "UNKNOWN" | "PASSED" | "TIMED_OUT";
|
|
28042
28082
|
exitCode: number | null;
|
|
28043
28083
|
durationMs: number | null;
|
|
28044
28084
|
outputTail: string | null;
|
|
@@ -28052,7 +28092,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
28052
28092
|
getCheck: (checkId: string) => Promise<{
|
|
28053
28093
|
checkId: string;
|
|
28054
28094
|
check: string;
|
|
28055
|
-
status: "
|
|
28095
|
+
status: "QUEUED" | "RUNNING" | "FAILED" | "UNKNOWN" | "PASSED" | "TIMED_OUT";
|
|
28056
28096
|
exitCode: number | null;
|
|
28057
28097
|
durationMs: number | null;
|
|
28058
28098
|
outputTail: string | null;
|
|
@@ -28429,14 +28469,14 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
28429
28469
|
domains: {
|
|
28430
28470
|
hostname: string;
|
|
28431
28471
|
kind: "PLATFORM" | "CUSTOM";
|
|
28432
|
-
status: "
|
|
28472
|
+
status: "HELD" | "ACTIVE";
|
|
28433
28473
|
isPrimary: boolean;
|
|
28434
28474
|
holdUntil: string | null;
|
|
28435
28475
|
}[];
|
|
28436
28476
|
templateId: string;
|
|
28437
28477
|
sourceMode: "CUSTOM" | "MANAGED";
|
|
28438
|
-
status: "
|
|
28439
|
-
visibility: "
|
|
28478
|
+
status: "SUSPENDED" | "CLOSED" | "ACTIVE";
|
|
28479
|
+
visibility: "COMING_SOON" | "PUBLIC";
|
|
28440
28480
|
publishedVersion: {
|
|
28441
28481
|
versionId: string;
|
|
28442
28482
|
number: number;
|
|
@@ -28568,7 +28608,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
28568
28608
|
code: string;
|
|
28569
28609
|
name: string;
|
|
28570
28610
|
};
|
|
28571
|
-
status: "INCOMPLETE" | "
|
|
28611
|
+
status: "INCOMPLETE" | "CANCELED" | "ACTIVE" | "PAST_DUE";
|
|
28572
28612
|
interval: "MONTH" | null;
|
|
28573
28613
|
cancelAtPeriodEnd: boolean;
|
|
28574
28614
|
period: {
|
|
@@ -28728,7 +28768,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
28728
28768
|
name: string;
|
|
28729
28769
|
storeCode: string;
|
|
28730
28770
|
storefrontUrl: string | null;
|
|
28731
|
-
status: "
|
|
28771
|
+
status: "SUSPENDED" | "CLOSED" | "ACTIVE";
|
|
28732
28772
|
logoUrl: string | null;
|
|
28733
28773
|
businessNumber: string | null;
|
|
28734
28774
|
customerCenterPhone: string | null;
|
|
@@ -28786,7 +28826,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
28786
28826
|
name: string;
|
|
28787
28827
|
storeCode: string;
|
|
28788
28828
|
storefrontUrl: string | null;
|
|
28789
|
-
status: "
|
|
28829
|
+
status: "SUSPENDED" | "CLOSED" | "ACTIVE";
|
|
28790
28830
|
logoUrl: string | null;
|
|
28791
28831
|
businessNumber: string | null;
|
|
28792
28832
|
customerCenterPhone: string | null;
|
|
@@ -28851,7 +28891,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
28851
28891
|
userId: string;
|
|
28852
28892
|
name: string;
|
|
28853
28893
|
email: string;
|
|
28854
|
-
role: "
|
|
28894
|
+
role: "ADMIN" | "STAFF" | "OWNER";
|
|
28855
28895
|
joinedAt: string;
|
|
28856
28896
|
lastActiveAt: string | null;
|
|
28857
28897
|
}[]>;
|
|
@@ -29203,8 +29243,8 @@ export declare const KRW_MONEY_RULES: MoneyRules;
|
|
|
29203
29243
|
//#region src/schemas/promotion.d.ts
|
|
29204
29244
|
/** 쿠폰 종류 */
|
|
29205
29245
|
export declare const couponKindSchema: z$1.ZodEnum<{
|
|
29206
|
-
PRODUCT: "PRODUCT";
|
|
29207
29246
|
ORDER: "ORDER";
|
|
29247
|
+
PRODUCT: "PRODUCT";
|
|
29208
29248
|
DELIVERY: "DELIVERY";
|
|
29209
29249
|
}>;
|
|
29210
29250
|
export type CouponKind = z$1.infer<typeof couponKindSchema>;
|
|
@@ -29315,8 +29355,8 @@ export declare const couponRuleSchema: z$1.ZodObject<{
|
|
|
29315
29355
|
couponId: z$1.ZodString;
|
|
29316
29356
|
name: z$1.ZodString;
|
|
29317
29357
|
kind: z$1.ZodEnum<{
|
|
29318
|
-
PRODUCT: "PRODUCT";
|
|
29319
29358
|
ORDER: "ORDER";
|
|
29359
|
+
PRODUCT: "PRODUCT";
|
|
29320
29360
|
DELIVERY: "DELIVERY";
|
|
29321
29361
|
}>;
|
|
29322
29362
|
benefit: z$1.ZodObject<{
|
|
@@ -30365,8 +30405,8 @@ export declare const storeScopeResourceSchema: z$1.ZodEnum<{
|
|
|
30365
30405
|
storefront: "storefront";
|
|
30366
30406
|
flow: "flow";
|
|
30367
30407
|
order: "order";
|
|
30368
|
-
customer: "customer";
|
|
30369
30408
|
analytics: "analytics";
|
|
30409
|
+
customer: "customer";
|
|
30370
30410
|
claim: "claim";
|
|
30371
30411
|
inquiry: "inquiry";
|
|
30372
30412
|
review: "review";
|
|
@@ -30679,10 +30719,10 @@ export declare const storeIndustrySchema: z$1.ZodEnum<{
|
|
|
30679
30719
|
export type StoreIndustry = z$1.infer<typeof storeIndustrySchema>;
|
|
30680
30720
|
/** 상품 자료 — 인터뷰의 「상품 자료」 답. 상품 등록 단계의 방법을 고른다 */
|
|
30681
30721
|
export declare const brandBriefProductSourceSchema: z$1.ZodEnum<{
|
|
30682
|
-
NONE: "NONE";
|
|
30683
30722
|
SPREADSHEET: "SPREADSHEET";
|
|
30684
30723
|
EXISTING_STORE: "EXISTING_STORE";
|
|
30685
30724
|
PHOTOS: "PHOTOS";
|
|
30725
|
+
NONE: "NONE";
|
|
30686
30726
|
}>;
|
|
30687
30727
|
export type BrandBriefProductSource = z$1.infer<typeof brandBriefProductSourceSchema>;
|
|
30688
30728
|
export declare const BRAND_BRIEF_MAX_REFERENCES = 5;
|
|
@@ -30707,10 +30747,10 @@ export declare const brandBriefSchema: z$1.ZodObject<{
|
|
|
30707
30747
|
summary: z$1.ZodString;
|
|
30708
30748
|
}, z$1.core.$strip>>;
|
|
30709
30749
|
productSource: z$1.ZodNullable<z$1.ZodEnum<{
|
|
30710
|
-
NONE: "NONE";
|
|
30711
30750
|
SPREADSHEET: "SPREADSHEET";
|
|
30712
30751
|
EXISTING_STORE: "EXISTING_STORE";
|
|
30713
30752
|
PHOTOS: "PHOTOS";
|
|
30753
|
+
NONE: "NONE";
|
|
30714
30754
|
}>>;
|
|
30715
30755
|
notes: z$1.ZodNullable<z$1.ZodString>;
|
|
30716
30756
|
}, z$1.core.$strip>;
|
|
@@ -30730,10 +30770,10 @@ export declare const putBrandBriefRequestSchema: z$1.ZodObject<{
|
|
|
30730
30770
|
summary: z$1.ZodString;
|
|
30731
30771
|
}, z$1.core.$strip>>>;
|
|
30732
30772
|
productSource: z$1.ZodDefault<z$1.ZodNullable<z$1.ZodEnum<{
|
|
30733
|
-
NONE: "NONE";
|
|
30734
30773
|
SPREADSHEET: "SPREADSHEET";
|
|
30735
30774
|
EXISTING_STORE: "EXISTING_STORE";
|
|
30736
30775
|
PHOTOS: "PHOTOS";
|
|
30776
|
+
NONE: "NONE";
|
|
30737
30777
|
}>>>;
|
|
30738
30778
|
notes: z$1.ZodDefault<z$1.ZodNullable<z$1.ZodString>>;
|
|
30739
30779
|
}, z$1.core.$strip>;
|
|
@@ -30754,10 +30794,10 @@ export declare const brandBriefViewSchema: z$1.ZodObject<{
|
|
|
30754
30794
|
summary: z$1.ZodString;
|
|
30755
30795
|
}, z$1.core.$strip>>;
|
|
30756
30796
|
productSource: z$1.ZodNullable<z$1.ZodEnum<{
|
|
30757
|
-
NONE: "NONE";
|
|
30758
30797
|
SPREADSHEET: "SPREADSHEET";
|
|
30759
30798
|
EXISTING_STORE: "EXISTING_STORE";
|
|
30760
30799
|
PHOTOS: "PHOTOS";
|
|
30800
|
+
NONE: "NONE";
|
|
30761
30801
|
}>>;
|
|
30762
30802
|
notes: z$1.ZodNullable<z$1.ZodString>;
|
|
30763
30803
|
}, z$1.core.$strip>>;
|
|
@@ -30812,8 +30852,8 @@ export declare const starterStatusSchema: z$1.ZodObject<{
|
|
|
30812
30852
|
url: z$1.ZodString;
|
|
30813
30853
|
templateId: z$1.ZodString;
|
|
30814
30854
|
visibility: z$1.ZodEnum<{
|
|
30815
|
-
PUBLIC: "PUBLIC";
|
|
30816
30855
|
COMING_SOON: "COMING_SOON";
|
|
30856
|
+
PUBLIC: "PUBLIC";
|
|
30817
30857
|
}>;
|
|
30818
30858
|
status: z$1.ZodString;
|
|
30819
30859
|
synced: z$1.ZodBoolean;
|
|
@@ -30895,8 +30935,8 @@ export declare const responsePlanCodeSchema: z$1.ZodUnion<readonly [z$1.ZodEnum<
|
|
|
30895
30935
|
export type ResponsePlanCode = PlanCode | (string & {});
|
|
30896
30936
|
export declare const subscriptionStatusSchema: z$1.ZodEnum<{
|
|
30897
30937
|
INCOMPLETE: "INCOMPLETE";
|
|
30898
|
-
ACTIVE: "ACTIVE";
|
|
30899
30938
|
CANCELED: "CANCELED";
|
|
30939
|
+
ACTIVE: "ACTIVE";
|
|
30900
30940
|
PAST_DUE: "PAST_DUE";
|
|
30901
30941
|
}>;
|
|
30902
30942
|
export type SubscriptionStatus = z$1.infer<typeof subscriptionStatusSchema>;
|
|
@@ -30950,8 +30990,8 @@ export declare const storeSubscriptionSchema: z$1.ZodObject<{
|
|
|
30950
30990
|
}, z$1.core.$strip>;
|
|
30951
30991
|
status: z$1.ZodEnum<{
|
|
30952
30992
|
INCOMPLETE: "INCOMPLETE";
|
|
30953
|
-
ACTIVE: "ACTIVE";
|
|
30954
30993
|
CANCELED: "CANCELED";
|
|
30994
|
+
ACTIVE: "ACTIVE";
|
|
30955
30995
|
PAST_DUE: "PAST_DUE";
|
|
30956
30996
|
}>;
|
|
30957
30997
|
interval: z$1.ZodNullable<z$1.ZodEnum<{
|