@channel.io/app-sdk-core 0.34.0 → 0.35.0
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/extensions/commerce.d.ts +38 -38
- package/dist/extensions/function-schemas.d.ts.map +1 -1
- package/dist/extensions/function-schemas.js +6 -1
- package/dist/extensions/function-schemas.js.map +1 -1
- package/dist/extensions/index.d.ts +1 -1
- package/dist/extensions/index.d.ts.map +1 -1
- package/dist/extensions/index.js +1 -1
- package/dist/extensions/index.js.map +1 -1
- package/dist/extensions/proto-contracts.d.ts +6 -1
- package/dist/extensions/proto-contracts.d.ts.map +1 -1
- package/dist/extensions/wms.d.ts +477 -4
- package/dist/extensions/wms.d.ts.map +1 -1
- package/dist/extensions/wms.js +40 -2
- package/dist/extensions/wms.js.map +1 -1
- package/dist/gen/channel/app/sdk/v1/extension.d.ts +39 -1
- package/dist/gen/channel/app/sdk/v1/extension.d.ts.map +1 -1
- package/dist/gen/channel/app/sdk/v1/extension.zod.d.ts +602 -162
- package/dist/gen/channel/app/sdk/v1/extension.zod.d.ts.map +1 -1
- package/dist/gen/channel/app/sdk/v1/extension.zod.js +26 -1
- package/dist/gen/channel/app/sdk/v1/extension.zod.js.map +1 -1
- package/package.json +1 -1
package/dist/extensions/wms.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
|
-
import type { WmsChangeShippingAddressRequest as ProtoChangeWmsShippingAddressInput, WmsDelivery as ProtoWmsDelivery, WmsGetOrderRequest as ProtoGetWmsOrderInput, WmsGetOrderResult as ProtoGetWmsOrderOutput, WmsGetOrdersRequest as ProtoGetWmsOrdersInput, WmsGetOrdersResult as ProtoGetWmsOrdersOutput, WmsGetShopIDRequest as ProtoGetWmsShopIdInput, WmsGetShopIDResult as ProtoGetWmsShopIdOutput, WmsGetSupportedCommercesRequest as ProtoGetWmsSupportedCommercesInput, WmsGetSupportedCommercesResult as ProtoGetWmsSupportedCommercesOutput, WmsOrder as ProtoWmsOrder, WmsOrderItem as ProtoWmsOrderItem, WmsOrderStateRequest as ProtoWmsOrderStateRequest, WmsRestoreOrderRequest as ProtoRestoreWmsOrderInput, WmsShippingInfo as ProtoWmsShippingInfo, WmsSuccessResult as ProtoWmsSuccessOutput, WmsAppCapabilities as ProtoWmsAppCapabilities, WmsDeliveryV2 as ProtoWmsDeliveryV2, WmsGetAppConfigsInput as ProtoWmsGetAppConfigsInput, WmsGetAppConfigsOutput as ProtoWmsGetAppConfigsOutput, WmsIdentifier as ProtoWmsIdentifier, WmsOperationOptions as ProtoWmsOperationOptions, WmsOrderActionRequest as ProtoWmsOrderActionRequest, WmsOrderActionResult as ProtoWmsOrderActionResult, WmsOrderCancelRequest as ProtoWmsOrderCancelRequest, WmsOrderChangeShippingAddressInput as ProtoWmsOrderChangeShippingAddressInput, WmsOrderClaimItem as ProtoWmsOrderClaimItem, WmsOrderExchangeRequest as ProtoWmsOrderExchangeRequest, WmsOrderReturnRequest as ProtoWmsOrderReturnRequest, WmsOrderGetOrdersRequest as ProtoWmsOrderGetOrdersRequest, WmsOrderGetOrdersResult as ProtoWmsOrderGetOrdersResult, WmsOrderItemV2 as ProtoWmsOrderItemV2, WmsOrderV2 as ProtoWmsOrderV2 } from "../gen/channel/app/sdk/v1/extension.js";
|
|
2
|
+
import type { WmsChangeShippingAddressRequest as ProtoChangeWmsShippingAddressInput, WmsDelivery as ProtoWmsDelivery, WmsGetOrderRequest as ProtoGetWmsOrderInput, WmsGetOrderResult as ProtoGetWmsOrderOutput, WmsGetOrdersRequest as ProtoGetWmsOrdersInput, WmsGetOrdersResult as ProtoGetWmsOrdersOutput, WmsGetShopIDRequest as ProtoGetWmsShopIdInput, WmsGetShopIDResult as ProtoGetWmsShopIdOutput, WmsGetSupportedCommercesRequest as ProtoGetWmsSupportedCommercesInput, WmsGetSupportedCommercesResult as ProtoGetWmsSupportedCommercesOutput, WmsOrder as ProtoWmsOrder, WmsOrderItem as ProtoWmsOrderItem, WmsOrderStateRequest as ProtoWmsOrderStateRequest, WmsRestoreOrderRequest as ProtoRestoreWmsOrderInput, WmsShippingInfo as ProtoWmsShippingInfo, WmsSuccessResult as ProtoWmsSuccessOutput, WmsAppCapabilities as ProtoWmsAppCapabilities, WmsDeliveryV2 as ProtoWmsDeliveryV2, WmsGetAppConfigsInput as ProtoWmsGetAppConfigsInput, WmsGetAppConfigsOutput as ProtoWmsGetAppConfigsOutput, WmsIdentifier as ProtoWmsIdentifier, WmsOperationOptions as ProtoWmsOperationOptions, WmsOrderActionRequest as ProtoWmsOrderActionRequest, WmsOrderActionResult as ProtoWmsOrderActionResult, WmsOrderCancelRequest as ProtoWmsOrderCancelRequest, WmsOrderChangeShippingAddressInput as ProtoWmsOrderChangeShippingAddressInput, WmsOrderClaimItem as ProtoWmsOrderClaimItem, WmsOrderExchangeRequest as ProtoWmsOrderExchangeRequest, WmsOrderGetExchangeableItemsRequest as ProtoWmsOrderGetExchangeableItemsRequest, WmsOrderGetExchangeableItemsResult as ProtoWmsOrderGetExchangeableItemsResult, WmsExchangeableItem as ProtoWmsExchangeableItem, WmsExchangeableVariant as ProtoWmsExchangeableVariant, WmsVariantOption as ProtoWmsVariantOption, WmsOrderReturnRequest as ProtoWmsOrderReturnRequest, WmsOrderGetOrdersRequest as ProtoWmsOrderGetOrdersRequest, WmsOrderGetOrdersResult as ProtoWmsOrderGetOrdersResult, WmsOrderItemV2 as ProtoWmsOrderItemV2, WmsOrderV2 as ProtoWmsOrderV2 } from "../gen/channel/app/sdk/v1/extension.js";
|
|
3
3
|
type ProtoBacked<T, Proto> = T & Proto;
|
|
4
4
|
/**
|
|
5
5
|
* WMS shipping information schema
|
|
@@ -1554,7 +1554,7 @@ export declare const WmsOrderExchangeInputSchema: z.ZodObject<{
|
|
|
1554
1554
|
reason: z.ZodOptional<z.ZodString>;
|
|
1555
1555
|
memo: z.ZodOptional<z.ZodString>;
|
|
1556
1556
|
} & {
|
|
1557
|
-
|
|
1557
|
+
beforeExchangeItems: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1558
1558
|
id: z.ZodString;
|
|
1559
1559
|
quantity: z.ZodOptional<z.ZodNumber>;
|
|
1560
1560
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -1564,6 +1564,20 @@ export declare const WmsOrderExchangeInputSchema: z.ZodObject<{
|
|
|
1564
1564
|
id: string;
|
|
1565
1565
|
quantity?: number | undefined;
|
|
1566
1566
|
}>, "many">>;
|
|
1567
|
+
afterExchangeItems: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1568
|
+
productId: z.ZodOptional<z.ZodString>;
|
|
1569
|
+
} & {
|
|
1570
|
+
variantId: z.ZodString;
|
|
1571
|
+
quantity: z.ZodOptional<z.ZodNumber>;
|
|
1572
|
+
}, "strip", z.ZodTypeAny, {
|
|
1573
|
+
variantId: string;
|
|
1574
|
+
quantity?: number | undefined;
|
|
1575
|
+
productId?: string | undefined;
|
|
1576
|
+
}, {
|
|
1577
|
+
variantId: string;
|
|
1578
|
+
quantity?: number | undefined;
|
|
1579
|
+
productId?: string | undefined;
|
|
1580
|
+
}>, "many">>;
|
|
1567
1581
|
}, "strip", z.ZodTypeAny, {
|
|
1568
1582
|
orderIds: string[];
|
|
1569
1583
|
reason?: string | undefined;
|
|
@@ -1572,10 +1586,15 @@ export declare const WmsOrderExchangeInputSchema: z.ZodObject<{
|
|
|
1572
1586
|
type: "email" | "phone" | "membership";
|
|
1573
1587
|
value: string;
|
|
1574
1588
|
} | undefined;
|
|
1575
|
-
|
|
1589
|
+
beforeExchangeItems?: {
|
|
1576
1590
|
id: string;
|
|
1577
1591
|
quantity?: number | undefined;
|
|
1578
1592
|
}[] | undefined;
|
|
1593
|
+
afterExchangeItems?: {
|
|
1594
|
+
variantId: string;
|
|
1595
|
+
quantity?: number | undefined;
|
|
1596
|
+
productId?: string | undefined;
|
|
1597
|
+
}[] | undefined;
|
|
1579
1598
|
}, {
|
|
1580
1599
|
orderIds: string[];
|
|
1581
1600
|
reason?: string | undefined;
|
|
@@ -1584,12 +1603,254 @@ export declare const WmsOrderExchangeInputSchema: z.ZodObject<{
|
|
|
1584
1603
|
type: "email" | "phone" | "membership";
|
|
1585
1604
|
value: string;
|
|
1586
1605
|
} | undefined;
|
|
1587
|
-
|
|
1606
|
+
beforeExchangeItems?: {
|
|
1588
1607
|
id: string;
|
|
1589
1608
|
quantity?: number | undefined;
|
|
1590
1609
|
}[] | undefined;
|
|
1610
|
+
afterExchangeItems?: {
|
|
1611
|
+
variantId: string;
|
|
1612
|
+
quantity?: number | undefined;
|
|
1613
|
+
productId?: string | undefined;
|
|
1614
|
+
}[] | undefined;
|
|
1591
1615
|
}>;
|
|
1592
1616
|
export type WmsOrderExchangeInput = ProtoBacked<z.infer<typeof WmsOrderExchangeInputSchema>, ProtoWmsOrderExchangeRequest>;
|
|
1617
|
+
export declare const WmsOrderGetExchangeableItemsInputSchema: z.ZodObject<{
|
|
1618
|
+
identifier: z.ZodOptional<z.ZodObject<{
|
|
1619
|
+
type: z.ZodEnum<["membership", "phone", "email"]>;
|
|
1620
|
+
value: z.ZodString;
|
|
1621
|
+
}, "strip", z.ZodTypeAny, {
|
|
1622
|
+
type: "email" | "phone" | "membership";
|
|
1623
|
+
value: string;
|
|
1624
|
+
}, {
|
|
1625
|
+
type: "email" | "phone" | "membership";
|
|
1626
|
+
value: string;
|
|
1627
|
+
}>>;
|
|
1628
|
+
orderId: z.ZodString;
|
|
1629
|
+
items: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1630
|
+
id: z.ZodString;
|
|
1631
|
+
quantity: z.ZodOptional<z.ZodNumber>;
|
|
1632
|
+
}, "strip", z.ZodTypeAny, {
|
|
1633
|
+
id: string;
|
|
1634
|
+
quantity?: number | undefined;
|
|
1635
|
+
}, {
|
|
1636
|
+
id: string;
|
|
1637
|
+
quantity?: number | undefined;
|
|
1638
|
+
}>, "many">>;
|
|
1639
|
+
}, "strip", z.ZodTypeAny, {
|
|
1640
|
+
orderId: string;
|
|
1641
|
+
items?: {
|
|
1642
|
+
id: string;
|
|
1643
|
+
quantity?: number | undefined;
|
|
1644
|
+
}[] | undefined;
|
|
1645
|
+
identifier?: {
|
|
1646
|
+
type: "email" | "phone" | "membership";
|
|
1647
|
+
value: string;
|
|
1648
|
+
} | undefined;
|
|
1649
|
+
}, {
|
|
1650
|
+
orderId: string;
|
|
1651
|
+
items?: {
|
|
1652
|
+
id: string;
|
|
1653
|
+
quantity?: number | undefined;
|
|
1654
|
+
}[] | undefined;
|
|
1655
|
+
identifier?: {
|
|
1656
|
+
type: "email" | "phone" | "membership";
|
|
1657
|
+
value: string;
|
|
1658
|
+
} | undefined;
|
|
1659
|
+
}>;
|
|
1660
|
+
export type WmsOrderGetExchangeableItemsInput = ProtoBacked<z.infer<typeof WmsOrderGetExchangeableItemsInputSchema>, ProtoWmsOrderGetExchangeableItemsRequest>;
|
|
1661
|
+
export declare const WmsVariantOptionSchema: z.ZodObject<{
|
|
1662
|
+
name: z.ZodString;
|
|
1663
|
+
value: z.ZodString;
|
|
1664
|
+
}, "strip", z.ZodTypeAny, {
|
|
1665
|
+
value: string;
|
|
1666
|
+
name: string;
|
|
1667
|
+
}, {
|
|
1668
|
+
value: string;
|
|
1669
|
+
name: string;
|
|
1670
|
+
}>;
|
|
1671
|
+
export type WmsVariantOption = ProtoBacked<z.infer<typeof WmsVariantOptionSchema>, ProtoWmsVariantOption>;
|
|
1672
|
+
export declare const WmsExchangeableVariantSchema: z.ZodObject<{
|
|
1673
|
+
id: z.ZodString;
|
|
1674
|
+
additionalAmount: z.ZodOptional<z.ZodNumber>;
|
|
1675
|
+
options: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1676
|
+
name: z.ZodString;
|
|
1677
|
+
value: z.ZodString;
|
|
1678
|
+
}, "strip", z.ZodTypeAny, {
|
|
1679
|
+
value: string;
|
|
1680
|
+
name: string;
|
|
1681
|
+
}, {
|
|
1682
|
+
value: string;
|
|
1683
|
+
name: string;
|
|
1684
|
+
}>, "many">>;
|
|
1685
|
+
stockQuantity: z.ZodOptional<z.ZodNumber>;
|
|
1686
|
+
}, "strip", z.ZodTypeAny, {
|
|
1687
|
+
id: string;
|
|
1688
|
+
options?: {
|
|
1689
|
+
value: string;
|
|
1690
|
+
name: string;
|
|
1691
|
+
}[] | undefined;
|
|
1692
|
+
additionalAmount?: number | undefined;
|
|
1693
|
+
stockQuantity?: number | undefined;
|
|
1694
|
+
}, {
|
|
1695
|
+
id: string;
|
|
1696
|
+
options?: {
|
|
1697
|
+
value: string;
|
|
1698
|
+
name: string;
|
|
1699
|
+
}[] | undefined;
|
|
1700
|
+
additionalAmount?: number | undefined;
|
|
1701
|
+
stockQuantity?: number | undefined;
|
|
1702
|
+
}>;
|
|
1703
|
+
export type WmsExchangeableVariant = ProtoBacked<z.infer<typeof WmsExchangeableVariantSchema>, ProtoWmsExchangeableVariant>;
|
|
1704
|
+
export declare const WmsExchangeableItemSchema: z.ZodObject<{
|
|
1705
|
+
id: z.ZodString;
|
|
1706
|
+
productId: z.ZodOptional<z.ZodString>;
|
|
1707
|
+
variants: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1708
|
+
id: z.ZodString;
|
|
1709
|
+
additionalAmount: z.ZodOptional<z.ZodNumber>;
|
|
1710
|
+
options: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1711
|
+
name: z.ZodString;
|
|
1712
|
+
value: z.ZodString;
|
|
1713
|
+
}, "strip", z.ZodTypeAny, {
|
|
1714
|
+
value: string;
|
|
1715
|
+
name: string;
|
|
1716
|
+
}, {
|
|
1717
|
+
value: string;
|
|
1718
|
+
name: string;
|
|
1719
|
+
}>, "many">>;
|
|
1720
|
+
stockQuantity: z.ZodOptional<z.ZodNumber>;
|
|
1721
|
+
}, "strip", z.ZodTypeAny, {
|
|
1722
|
+
id: string;
|
|
1723
|
+
options?: {
|
|
1724
|
+
value: string;
|
|
1725
|
+
name: string;
|
|
1726
|
+
}[] | undefined;
|
|
1727
|
+
additionalAmount?: number | undefined;
|
|
1728
|
+
stockQuantity?: number | undefined;
|
|
1729
|
+
}, {
|
|
1730
|
+
id: string;
|
|
1731
|
+
options?: {
|
|
1732
|
+
value: string;
|
|
1733
|
+
name: string;
|
|
1734
|
+
}[] | undefined;
|
|
1735
|
+
additionalAmount?: number | undefined;
|
|
1736
|
+
stockQuantity?: number | undefined;
|
|
1737
|
+
}>, "many">>;
|
|
1738
|
+
}, "strip", z.ZodTypeAny, {
|
|
1739
|
+
id: string;
|
|
1740
|
+
productId?: string | undefined;
|
|
1741
|
+
variants?: {
|
|
1742
|
+
id: string;
|
|
1743
|
+
options?: {
|
|
1744
|
+
value: string;
|
|
1745
|
+
name: string;
|
|
1746
|
+
}[] | undefined;
|
|
1747
|
+
additionalAmount?: number | undefined;
|
|
1748
|
+
stockQuantity?: number | undefined;
|
|
1749
|
+
}[] | undefined;
|
|
1750
|
+
}, {
|
|
1751
|
+
id: string;
|
|
1752
|
+
productId?: string | undefined;
|
|
1753
|
+
variants?: {
|
|
1754
|
+
id: string;
|
|
1755
|
+
options?: {
|
|
1756
|
+
value: string;
|
|
1757
|
+
name: string;
|
|
1758
|
+
}[] | undefined;
|
|
1759
|
+
additionalAmount?: number | undefined;
|
|
1760
|
+
stockQuantity?: number | undefined;
|
|
1761
|
+
}[] | undefined;
|
|
1762
|
+
}>;
|
|
1763
|
+
export type WmsExchangeableItem = ProtoBacked<z.infer<typeof WmsExchangeableItemSchema>, ProtoWmsExchangeableItem>;
|
|
1764
|
+
export declare const WmsOrderGetExchangeableItemsOutputSchema: z.ZodObject<{
|
|
1765
|
+
exchangeableItems: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1766
|
+
id: z.ZodString;
|
|
1767
|
+
productId: z.ZodOptional<z.ZodString>;
|
|
1768
|
+
variants: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1769
|
+
id: z.ZodString;
|
|
1770
|
+
additionalAmount: z.ZodOptional<z.ZodNumber>;
|
|
1771
|
+
options: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1772
|
+
name: z.ZodString;
|
|
1773
|
+
value: z.ZodString;
|
|
1774
|
+
}, "strip", z.ZodTypeAny, {
|
|
1775
|
+
value: string;
|
|
1776
|
+
name: string;
|
|
1777
|
+
}, {
|
|
1778
|
+
value: string;
|
|
1779
|
+
name: string;
|
|
1780
|
+
}>, "many">>;
|
|
1781
|
+
stockQuantity: z.ZodOptional<z.ZodNumber>;
|
|
1782
|
+
}, "strip", z.ZodTypeAny, {
|
|
1783
|
+
id: string;
|
|
1784
|
+
options?: {
|
|
1785
|
+
value: string;
|
|
1786
|
+
name: string;
|
|
1787
|
+
}[] | undefined;
|
|
1788
|
+
additionalAmount?: number | undefined;
|
|
1789
|
+
stockQuantity?: number | undefined;
|
|
1790
|
+
}, {
|
|
1791
|
+
id: string;
|
|
1792
|
+
options?: {
|
|
1793
|
+
value: string;
|
|
1794
|
+
name: string;
|
|
1795
|
+
}[] | undefined;
|
|
1796
|
+
additionalAmount?: number | undefined;
|
|
1797
|
+
stockQuantity?: number | undefined;
|
|
1798
|
+
}>, "many">>;
|
|
1799
|
+
}, "strip", z.ZodTypeAny, {
|
|
1800
|
+
id: string;
|
|
1801
|
+
productId?: string | undefined;
|
|
1802
|
+
variants?: {
|
|
1803
|
+
id: string;
|
|
1804
|
+
options?: {
|
|
1805
|
+
value: string;
|
|
1806
|
+
name: string;
|
|
1807
|
+
}[] | undefined;
|
|
1808
|
+
additionalAmount?: number | undefined;
|
|
1809
|
+
stockQuantity?: number | undefined;
|
|
1810
|
+
}[] | undefined;
|
|
1811
|
+
}, {
|
|
1812
|
+
id: string;
|
|
1813
|
+
productId?: string | undefined;
|
|
1814
|
+
variants?: {
|
|
1815
|
+
id: string;
|
|
1816
|
+
options?: {
|
|
1817
|
+
value: string;
|
|
1818
|
+
name: string;
|
|
1819
|
+
}[] | undefined;
|
|
1820
|
+
additionalAmount?: number | undefined;
|
|
1821
|
+
stockQuantity?: number | undefined;
|
|
1822
|
+
}[] | undefined;
|
|
1823
|
+
}>, "many">>;
|
|
1824
|
+
}, "strip", z.ZodTypeAny, {
|
|
1825
|
+
exchangeableItems?: {
|
|
1826
|
+
id: string;
|
|
1827
|
+
productId?: string | undefined;
|
|
1828
|
+
variants?: {
|
|
1829
|
+
id: string;
|
|
1830
|
+
options?: {
|
|
1831
|
+
value: string;
|
|
1832
|
+
name: string;
|
|
1833
|
+
}[] | undefined;
|
|
1834
|
+
additionalAmount?: number | undefined;
|
|
1835
|
+
stockQuantity?: number | undefined;
|
|
1836
|
+
}[] | undefined;
|
|
1837
|
+
}[] | undefined;
|
|
1838
|
+
}, {
|
|
1839
|
+
exchangeableItems?: {
|
|
1840
|
+
id: string;
|
|
1841
|
+
productId?: string | undefined;
|
|
1842
|
+
variants?: {
|
|
1843
|
+
id: string;
|
|
1844
|
+
options?: {
|
|
1845
|
+
value: string;
|
|
1846
|
+
name: string;
|
|
1847
|
+
}[] | undefined;
|
|
1848
|
+
additionalAmount?: number | undefined;
|
|
1849
|
+
stockQuantity?: number | undefined;
|
|
1850
|
+
}[] | undefined;
|
|
1851
|
+
}[] | undefined;
|
|
1852
|
+
}>;
|
|
1853
|
+
export type WmsOrderGetExchangeableItemsOutput = ProtoBacked<z.infer<typeof WmsOrderGetExchangeableItemsOutputSchema>, ProtoWmsOrderGetExchangeableItemsResult>;
|
|
1593
1854
|
export declare const WmsOrderActionOutputSchema: z.ZodObject<{
|
|
1594
1855
|
result: z.ZodObject<{
|
|
1595
1856
|
success: z.ZodBoolean;
|
|
@@ -2296,6 +2557,70 @@ export declare const WmsAppCapabilitiesSchema: z.ZodObject<{
|
|
|
2296
2557
|
description?: string | undefined;
|
|
2297
2558
|
}> | undefined;
|
|
2298
2559
|
}>>;
|
|
2560
|
+
getExchangeableItemsOptions: z.ZodOptional<z.ZodObject<{
|
|
2561
|
+
required: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
2562
|
+
optional: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
2563
|
+
fieldConfigs: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
2564
|
+
type: z.ZodLiteral<"enum">;
|
|
2565
|
+
allowedValues: z.ZodArray<z.ZodObject<{
|
|
2566
|
+
value: z.ZodString;
|
|
2567
|
+
label: z.ZodString;
|
|
2568
|
+
}, "strip", z.ZodTypeAny, {
|
|
2569
|
+
value: string;
|
|
2570
|
+
label: string;
|
|
2571
|
+
}, {
|
|
2572
|
+
value: string;
|
|
2573
|
+
label: string;
|
|
2574
|
+
}>, "many">;
|
|
2575
|
+
}, "strip", z.ZodTypeAny, {
|
|
2576
|
+
type: "enum";
|
|
2577
|
+
allowedValues: {
|
|
2578
|
+
value: string;
|
|
2579
|
+
label: string;
|
|
2580
|
+
}[];
|
|
2581
|
+
}, {
|
|
2582
|
+
type: "enum";
|
|
2583
|
+
allowedValues: {
|
|
2584
|
+
value: string;
|
|
2585
|
+
label: string;
|
|
2586
|
+
}[];
|
|
2587
|
+
}>, z.ZodObject<{
|
|
2588
|
+
type: z.ZodLiteral<"freeform">;
|
|
2589
|
+
description: z.ZodOptional<z.ZodString>;
|
|
2590
|
+
}, "strip", z.ZodTypeAny, {
|
|
2591
|
+
type: "freeform";
|
|
2592
|
+
description?: string | undefined;
|
|
2593
|
+
}, {
|
|
2594
|
+
type: "freeform";
|
|
2595
|
+
description?: string | undefined;
|
|
2596
|
+
}>]>>>;
|
|
2597
|
+
}, "strip", z.ZodTypeAny, {
|
|
2598
|
+
required?: string[] | undefined;
|
|
2599
|
+
optional?: string[] | undefined;
|
|
2600
|
+
fieldConfigs?: Record<string, {
|
|
2601
|
+
type: "enum";
|
|
2602
|
+
allowedValues: {
|
|
2603
|
+
value: string;
|
|
2604
|
+
label: string;
|
|
2605
|
+
}[];
|
|
2606
|
+
} | {
|
|
2607
|
+
type: "freeform";
|
|
2608
|
+
description?: string | undefined;
|
|
2609
|
+
}> | undefined;
|
|
2610
|
+
}, {
|
|
2611
|
+
required?: string[] | undefined;
|
|
2612
|
+
optional?: string[] | undefined;
|
|
2613
|
+
fieldConfigs?: Record<string, {
|
|
2614
|
+
type: "enum";
|
|
2615
|
+
allowedValues: {
|
|
2616
|
+
value: string;
|
|
2617
|
+
label: string;
|
|
2618
|
+
}[];
|
|
2619
|
+
} | {
|
|
2620
|
+
type: "freeform";
|
|
2621
|
+
description?: string | undefined;
|
|
2622
|
+
}> | undefined;
|
|
2623
|
+
}>>;
|
|
2299
2624
|
}, "strip", z.ZodTypeAny, {
|
|
2300
2625
|
getOrdersOptions?: {
|
|
2301
2626
|
required?: string[] | undefined;
|
|
@@ -2409,6 +2734,20 @@ export declare const WmsAppCapabilitiesSchema: z.ZodObject<{
|
|
|
2409
2734
|
description?: string | undefined;
|
|
2410
2735
|
}> | undefined;
|
|
2411
2736
|
} | undefined;
|
|
2737
|
+
getExchangeableItemsOptions?: {
|
|
2738
|
+
required?: string[] | undefined;
|
|
2739
|
+
optional?: string[] | undefined;
|
|
2740
|
+
fieldConfigs?: Record<string, {
|
|
2741
|
+
type: "enum";
|
|
2742
|
+
allowedValues: {
|
|
2743
|
+
value: string;
|
|
2744
|
+
label: string;
|
|
2745
|
+
}[];
|
|
2746
|
+
} | {
|
|
2747
|
+
type: "freeform";
|
|
2748
|
+
description?: string | undefined;
|
|
2749
|
+
}> | undefined;
|
|
2750
|
+
} | undefined;
|
|
2412
2751
|
}, {
|
|
2413
2752
|
getOrdersOptions?: {
|
|
2414
2753
|
required?: string[] | undefined;
|
|
@@ -2522,6 +2861,20 @@ export declare const WmsAppCapabilitiesSchema: z.ZodObject<{
|
|
|
2522
2861
|
description?: string | undefined;
|
|
2523
2862
|
}> | undefined;
|
|
2524
2863
|
} | undefined;
|
|
2864
|
+
getExchangeableItemsOptions?: {
|
|
2865
|
+
required?: string[] | undefined;
|
|
2866
|
+
optional?: string[] | undefined;
|
|
2867
|
+
fieldConfigs?: Record<string, {
|
|
2868
|
+
type: "enum";
|
|
2869
|
+
allowedValues: {
|
|
2870
|
+
value: string;
|
|
2871
|
+
label: string;
|
|
2872
|
+
}[];
|
|
2873
|
+
} | {
|
|
2874
|
+
type: "freeform";
|
|
2875
|
+
description?: string | undefined;
|
|
2876
|
+
}> | undefined;
|
|
2877
|
+
} | undefined;
|
|
2525
2878
|
}>;
|
|
2526
2879
|
export type WmsAppCapabilities = ProtoBacked<z.infer<typeof WmsAppCapabilitiesSchema>, ProtoWmsAppCapabilities>;
|
|
2527
2880
|
export declare const WmsGetAppConfigsInputSchema: z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>;
|
|
@@ -3040,6 +3393,70 @@ export declare const WmsGetAppConfigsOutputSchema: z.ZodObject<{
|
|
|
3040
3393
|
description?: string | undefined;
|
|
3041
3394
|
}> | undefined;
|
|
3042
3395
|
}>>;
|
|
3396
|
+
getExchangeableItemsOptions: z.ZodOptional<z.ZodObject<{
|
|
3397
|
+
required: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
3398
|
+
optional: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
3399
|
+
fieldConfigs: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
3400
|
+
type: z.ZodLiteral<"enum">;
|
|
3401
|
+
allowedValues: z.ZodArray<z.ZodObject<{
|
|
3402
|
+
value: z.ZodString;
|
|
3403
|
+
label: z.ZodString;
|
|
3404
|
+
}, "strip", z.ZodTypeAny, {
|
|
3405
|
+
value: string;
|
|
3406
|
+
label: string;
|
|
3407
|
+
}, {
|
|
3408
|
+
value: string;
|
|
3409
|
+
label: string;
|
|
3410
|
+
}>, "many">;
|
|
3411
|
+
}, "strip", z.ZodTypeAny, {
|
|
3412
|
+
type: "enum";
|
|
3413
|
+
allowedValues: {
|
|
3414
|
+
value: string;
|
|
3415
|
+
label: string;
|
|
3416
|
+
}[];
|
|
3417
|
+
}, {
|
|
3418
|
+
type: "enum";
|
|
3419
|
+
allowedValues: {
|
|
3420
|
+
value: string;
|
|
3421
|
+
label: string;
|
|
3422
|
+
}[];
|
|
3423
|
+
}>, z.ZodObject<{
|
|
3424
|
+
type: z.ZodLiteral<"freeform">;
|
|
3425
|
+
description: z.ZodOptional<z.ZodString>;
|
|
3426
|
+
}, "strip", z.ZodTypeAny, {
|
|
3427
|
+
type: "freeform";
|
|
3428
|
+
description?: string | undefined;
|
|
3429
|
+
}, {
|
|
3430
|
+
type: "freeform";
|
|
3431
|
+
description?: string | undefined;
|
|
3432
|
+
}>]>>>;
|
|
3433
|
+
}, "strip", z.ZodTypeAny, {
|
|
3434
|
+
required?: string[] | undefined;
|
|
3435
|
+
optional?: string[] | undefined;
|
|
3436
|
+
fieldConfigs?: Record<string, {
|
|
3437
|
+
type: "enum";
|
|
3438
|
+
allowedValues: {
|
|
3439
|
+
value: string;
|
|
3440
|
+
label: string;
|
|
3441
|
+
}[];
|
|
3442
|
+
} | {
|
|
3443
|
+
type: "freeform";
|
|
3444
|
+
description?: string | undefined;
|
|
3445
|
+
}> | undefined;
|
|
3446
|
+
}, {
|
|
3447
|
+
required?: string[] | undefined;
|
|
3448
|
+
optional?: string[] | undefined;
|
|
3449
|
+
fieldConfigs?: Record<string, {
|
|
3450
|
+
type: "enum";
|
|
3451
|
+
allowedValues: {
|
|
3452
|
+
value: string;
|
|
3453
|
+
label: string;
|
|
3454
|
+
}[];
|
|
3455
|
+
} | {
|
|
3456
|
+
type: "freeform";
|
|
3457
|
+
description?: string | undefined;
|
|
3458
|
+
}> | undefined;
|
|
3459
|
+
}>>;
|
|
3043
3460
|
}, "strip", z.ZodTypeAny, {
|
|
3044
3461
|
getOrdersOptions?: {
|
|
3045
3462
|
required?: string[] | undefined;
|
|
@@ -3153,6 +3570,20 @@ export declare const WmsGetAppConfigsOutputSchema: z.ZodObject<{
|
|
|
3153
3570
|
description?: string | undefined;
|
|
3154
3571
|
}> | undefined;
|
|
3155
3572
|
} | undefined;
|
|
3573
|
+
getExchangeableItemsOptions?: {
|
|
3574
|
+
required?: string[] | undefined;
|
|
3575
|
+
optional?: string[] | undefined;
|
|
3576
|
+
fieldConfigs?: Record<string, {
|
|
3577
|
+
type: "enum";
|
|
3578
|
+
allowedValues: {
|
|
3579
|
+
value: string;
|
|
3580
|
+
label: string;
|
|
3581
|
+
}[];
|
|
3582
|
+
} | {
|
|
3583
|
+
type: "freeform";
|
|
3584
|
+
description?: string | undefined;
|
|
3585
|
+
}> | undefined;
|
|
3586
|
+
} | undefined;
|
|
3156
3587
|
}, {
|
|
3157
3588
|
getOrdersOptions?: {
|
|
3158
3589
|
required?: string[] | undefined;
|
|
@@ -3266,6 +3697,20 @@ export declare const WmsGetAppConfigsOutputSchema: z.ZodObject<{
|
|
|
3266
3697
|
description?: string | undefined;
|
|
3267
3698
|
}> | undefined;
|
|
3268
3699
|
} | undefined;
|
|
3700
|
+
getExchangeableItemsOptions?: {
|
|
3701
|
+
required?: string[] | undefined;
|
|
3702
|
+
optional?: string[] | undefined;
|
|
3703
|
+
fieldConfigs?: Record<string, {
|
|
3704
|
+
type: "enum";
|
|
3705
|
+
allowedValues: {
|
|
3706
|
+
value: string;
|
|
3707
|
+
label: string;
|
|
3708
|
+
}[];
|
|
3709
|
+
} | {
|
|
3710
|
+
type: "freeform";
|
|
3711
|
+
description?: string | undefined;
|
|
3712
|
+
}> | undefined;
|
|
3713
|
+
} | undefined;
|
|
3269
3714
|
}>>;
|
|
3270
3715
|
}, "strip", z.ZodTypeAny, {
|
|
3271
3716
|
appCapabilities?: {
|
|
@@ -3381,6 +3826,20 @@ export declare const WmsGetAppConfigsOutputSchema: z.ZodObject<{
|
|
|
3381
3826
|
description?: string | undefined;
|
|
3382
3827
|
}> | undefined;
|
|
3383
3828
|
} | undefined;
|
|
3829
|
+
getExchangeableItemsOptions?: {
|
|
3830
|
+
required?: string[] | undefined;
|
|
3831
|
+
optional?: string[] | undefined;
|
|
3832
|
+
fieldConfigs?: Record<string, {
|
|
3833
|
+
type: "enum";
|
|
3834
|
+
allowedValues: {
|
|
3835
|
+
value: string;
|
|
3836
|
+
label: string;
|
|
3837
|
+
}[];
|
|
3838
|
+
} | {
|
|
3839
|
+
type: "freeform";
|
|
3840
|
+
description?: string | undefined;
|
|
3841
|
+
}> | undefined;
|
|
3842
|
+
} | undefined;
|
|
3384
3843
|
} | undefined;
|
|
3385
3844
|
}, {
|
|
3386
3845
|
appCapabilities?: {
|
|
@@ -3496,6 +3955,20 @@ export declare const WmsGetAppConfigsOutputSchema: z.ZodObject<{
|
|
|
3496
3955
|
description?: string | undefined;
|
|
3497
3956
|
}> | undefined;
|
|
3498
3957
|
} | undefined;
|
|
3958
|
+
getExchangeableItemsOptions?: {
|
|
3959
|
+
required?: string[] | undefined;
|
|
3960
|
+
optional?: string[] | undefined;
|
|
3961
|
+
fieldConfigs?: Record<string, {
|
|
3962
|
+
type: "enum";
|
|
3963
|
+
allowedValues: {
|
|
3964
|
+
value: string;
|
|
3965
|
+
label: string;
|
|
3966
|
+
}[];
|
|
3967
|
+
} | {
|
|
3968
|
+
type: "freeform";
|
|
3969
|
+
description?: string | undefined;
|
|
3970
|
+
}> | undefined;
|
|
3971
|
+
} | undefined;
|
|
3499
3972
|
} | undefined;
|
|
3500
3973
|
}>;
|
|
3501
3974
|
export type WmsGetAppConfigsOutput = ProtoBacked<z.infer<typeof WmsGetAppConfigsOutputSchema>, ProtoWmsGetAppConfigsOutput>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"wms.d.ts","sourceRoot":"","sources":["../../src/extensions/wms.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,OAAO,KAAK,EACV,+BAA+B,IAAI,kCAAkC,EACrE,WAAW,IAAI,gBAAgB,EAC/B,kBAAkB,IAAI,qBAAqB,EAC3C,iBAAiB,IAAI,sBAAsB,EAC3C,mBAAmB,IAAI,sBAAsB,EAC7C,kBAAkB,IAAI,uBA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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAEvC,CAAC;AACH,MAAM,MAAM,sBAAsB,GAAG,WAAW,CAC9C,CAAC,CAAC,KAAK,CAAC,OAAO,4BAA4B,CAAC,EAC5C,2BAA2B,CAC5B,CAAC"}
|
package/dist/extensions/wms.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
|
-
import { AddressSchema, BuyerSchema, FieldConfigSchema } from "./order.js";
|
|
2
|
+
import { AddressSchema, BuyerSchema, FieldConfigSchema, OrderExchangeItemSchema } from "./order.js";
|
|
3
3
|
/**
|
|
4
4
|
* WMS shipping information schema
|
|
5
5
|
*/
|
|
@@ -224,8 +224,45 @@ export const WmsOrderCancelInputSchema = WmsOrderActionInputSchema.extend({
|
|
|
224
224
|
export const WmsOrderReturnInputSchema = WmsOrderActionInputSchema.extend({
|
|
225
225
|
returnItems: z.array(WmsOrderClaimItemSchema).optional(),
|
|
226
226
|
});
|
|
227
|
+
// 교환 후 품목. proto는 공용 OrderExchangeItem이지만, WMS는 옵션 없이 교환을 접수할 수 없어 variantId를
|
|
228
|
+
// 필수로 두고 quantity를 WmsOrderClaimItem과 같은 범위로 맞춘다. 공용 스키마는 commerce 계약이라 건드리지 않는다.
|
|
229
|
+
const WmsOrderExchangeItemSchema = OrderExchangeItemSchema.extend({
|
|
230
|
+
variantId: z.string().min(1),
|
|
231
|
+
quantity: z.number().int().nonnegative().max(2147483647).optional(),
|
|
232
|
+
});
|
|
227
233
|
export const WmsOrderExchangeInputSchema = WmsOrderActionInputSchema.extend({
|
|
228
|
-
|
|
234
|
+
// 돌려받을 품목. 비우면 orderIds 주문의 품목 전부가 대상이다.
|
|
235
|
+
beforeExchangeItems: z.array(WmsOrderClaimItemSchema).optional(),
|
|
236
|
+
// 대신 보낼 품목. variantId는 getExchangeableItems의 WMS 옵션 ID다(commerce variantId와 다른 값).
|
|
237
|
+
afterExchangeItems: z.array(WmsOrderExchangeItemSchema).optional(),
|
|
238
|
+
});
|
|
239
|
+
// --- order.getExchangeableItems ---
|
|
240
|
+
export const WmsOrderGetExchangeableItemsInputSchema = z.object({
|
|
241
|
+
identifier: WmsIdentifierSchema.optional(),
|
|
242
|
+
orderId: z.string(),
|
|
243
|
+
// 조회할 품목(order.getOrders의 items[].id). 비우면 주문의 품목 전부다.
|
|
244
|
+
items: z.array(WmsOrderClaimItemSchema).optional(),
|
|
245
|
+
});
|
|
246
|
+
export const WmsVariantOptionSchema = z.object({
|
|
247
|
+
name: z.string(),
|
|
248
|
+
value: z.string(),
|
|
249
|
+
});
|
|
250
|
+
// id는 WMS 옵션 ID로, requestExchangeOrder의 afterExchangeItems[].variantId로 그대로 넘긴다.
|
|
251
|
+
export const WmsExchangeableVariantSchema = z.object({
|
|
252
|
+
id: z.string(),
|
|
253
|
+
additionalAmount: z.number().optional(),
|
|
254
|
+
options: z.array(WmsVariantOptionSchema).optional(),
|
|
255
|
+
// 재고를 관리하지 않으면 비운다. 0은 품절이다.
|
|
256
|
+
stockQuantity: z.number().optional(),
|
|
257
|
+
});
|
|
258
|
+
// id는 order.getOrders의 items[].id로, requestExchangeOrder의 beforeExchangeItems[].id로 넘긴다.
|
|
259
|
+
export const WmsExchangeableItemSchema = z.object({
|
|
260
|
+
id: z.string(),
|
|
261
|
+
productId: z.string().optional(),
|
|
262
|
+
variants: z.array(WmsExchangeableVariantSchema).optional(),
|
|
263
|
+
});
|
|
264
|
+
export const WmsOrderGetExchangeableItemsOutputSchema = z.object({
|
|
265
|
+
exchangeableItems: z.array(WmsExchangeableItemSchema).optional(),
|
|
229
266
|
});
|
|
230
267
|
const WmsOrderResultBodySchema = z.object({
|
|
231
268
|
success: z.boolean(),
|
|
@@ -257,6 +294,7 @@ export const WmsAppCapabilitiesSchema = z.object({
|
|
|
257
294
|
requestExchangeOrderOptions: WmsOperationOptionsSchema.optional(),
|
|
258
295
|
restoreExchangedOrderOptions: WmsOperationOptionsSchema.optional(),
|
|
259
296
|
changeShippingAddressOptions: WmsOperationOptionsSchema.optional(),
|
|
297
|
+
getExchangeableItemsOptions: WmsOperationOptionsSchema.optional(),
|
|
260
298
|
});
|
|
261
299
|
export const WmsGetAppConfigsInputSchema = z.object({});
|
|
262
300
|
export const WmsGetAppConfigsOutputSchema = z.object({
|