@mercurjs/vendor 2.1.2 → 2.2.0-canary.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/{[id]-PDGHF5J2.js → [id]-2DQX3YWJ.js} +35 -31
- package/dist/{[id]-TO6KT3ZE.js → [id]-4OBGG7OH.js} +23 -21
- package/dist/{[id]-X4DDKOMQ.js → [id]-4PKMKNJH.js} +26 -22
- package/dist/[id]-4STHLE4N.js +1442 -0
- package/dist/{[id]-4VCL3MMM.js → [id]-5UFO4RKF.js} +26 -22
- package/dist/{[id]-H3C3ZSC6.js → [id]-6MXCVV5J.js} +25 -21
- package/dist/{[id]-6PXEWRG7.js → [id]-7BAKUHUO.js} +13 -13
- package/dist/{[id]-7RUAH3TI.js → [id]-K2CT7BXQ.js} +4 -4
- package/dist/{[id]-3G5G7ZFV.js → [id]-KJIQTFGE.js} +22 -20
- package/dist/{[id]-INOFZHL7.js → [id]-LTNOHLGE.js} +16 -16
- package/dist/{[id]-B3LHVQM5.js → [id]-PGIT5WJC.js} +25 -21
- package/dist/{[id]-T2ROPEGY.js → [id]-Y2ISCLUD.js} +7 -7
- package/dist/{[id]-Y7GAMNC5.js → [id]-ZCMSBEVM.js} +4 -4
- package/dist/{[id]-UTKO3VG4.js → [id]-ZWWMJAKI.js} +9 -9
- package/dist/{[location_id]-D55RQOXT.js → [location_id]-NUBXDDJC.js} +9 -9
- package/dist/{[province_id]-OFH2ZOFQ.js → [province_id]-H2QAPKVH.js} +20 -18
- package/dist/{add-C6OX5C54.js → add-GZJ7OMV3.js} +34 -30
- package/dist/add-KQAABWCR.js +392 -0
- package/dist/{add-customer-groups-PJRJUWS2.js → add-customer-groups-RAHCP67U.js} +16 -14
- package/dist/{add-products-INOLNPO6.js → add-products-TSVQHC67.js} +23 -19
- package/dist/{add-promotions-AHDOP52Q.js → add-promotions-CSCAJZHV.js} +7 -7
- package/dist/{add-to-campaign-HL6NGRR4.js → add-to-campaign-DLP7PSQB.js} +4 -4
- package/dist/{address-KRENKSLP.js → address-7F5SN7PV.js} +17 -15
- package/dist/{adjust-inventory-H4EUP7J3.js → adjust-inventory-SZF4W7LR.js} +2 -2
- package/dist/{allocate-items-SUCUZU4D.js → allocate-items-SDFS5GYN.js} +6 -6
- package/dist/{areas-UUMZDXLX.js → areas-7Y6BVS5A.js} +8 -8
- package/dist/{attributes-CALEHJJG.js → attributes-MBZ76HVZ.js} +3 -3
- package/dist/{breadcrumb-BS7Y5OKF.js → breadcrumb-65SAGUUL.js} +2 -2
- package/dist/{breadcrumb-6W2VP3OZ.js → breadcrumb-7PURSRTT.js} +13 -11
- package/dist/{breadcrumb-M5Z5WA6I.js → breadcrumb-EDPMEN2P.js} +2 -2
- package/dist/breadcrumb-FLDHJRVY.js +26 -0
- package/dist/{breadcrumb-VNNZ3TTW.js → breadcrumb-HND5FFWC.js} +2 -2
- package/dist/{breadcrumb-OIGGCB3L.js → breadcrumb-QV2IAX7N.js} +8 -2
- package/dist/{breadcrumb-KQSFIXQ4.js → breadcrumb-VWELWDB2.js} +1 -1
- package/dist/{breadcrumb-IG7VZGW2.js → breadcrumb-WRG4SITG.js} +13 -11
- package/dist/{breadcrumb-TW5JEOYS.js → breadcrumb-ZCG2RHIU.js} +12 -10
- package/dist/{campaigns-HS6MIO7X.js → campaigns-L6ULR6KR.js} +5 -5
- package/dist/{categories-PKWR3FM3.js → categories-FUZQKBXV.js} +6 -6
- package/dist/{chunk-PDQSPKG5.js → chunk-2DXNJURE.js} +1 -1
- package/dist/{chunk-ZZO3INVE.js → chunk-2MDGYHWN.js} +128 -25
- package/dist/{chunk-5UD4P6YL.js → chunk-2USXZSTK.js} +4 -4
- package/dist/{chunk-6SBMVLJ2.js → chunk-36L54SQQ.js} +1 -1
- package/dist/chunk-37G4Y5I7.js +101 -0
- package/dist/{chunk-5M3SL4UZ.js → chunk-3CVJA5UE.js} +9 -104
- package/dist/chunk-432S4FGR.js +0 -0
- package/dist/{chunk-KQGVSLUI.js → chunk-44RQ5PTN.js} +1803 -914
- package/dist/{chunk-Y2QI7KWS.js → chunk-4LVP635F.js} +408 -664
- package/dist/{chunk-UL4O5M4S.js → chunk-4S6XGIC6.js} +1 -18
- package/dist/chunk-5ZVWOCAC.js +426 -0
- package/dist/{chunk-WITQNQXN.js → chunk-6BS2AVGJ.js} +3 -3
- package/dist/{chunk-ZYOXKUKZ.js → chunk-7LBY5JLV.js} +1 -1
- package/dist/chunk-7SLWXX6L.js +811 -0
- package/dist/{chunk-LQYMBSRQ.js → chunk-AIZM66CG.js} +1 -1
- package/dist/{chunk-IZ5RG5XI.js → chunk-AJLGY3LQ.js} +1 -21
- package/dist/{chunk-WFE6CT6M.js → chunk-AVOIZO63.js} +21 -77
- package/dist/chunk-C2FG3SX2.js +68 -0
- package/dist/chunk-CFRWIQIZ.js +43 -0
- package/dist/{chunk-WNVEMFIK.js → chunk-CNMY5HVP.js} +2 -2
- package/dist/{chunk-BLVJAKBA.js → chunk-DDH7ULIQ.js} +1 -1
- package/dist/chunk-DIW4GRTI.js +503 -0
- package/dist/{chunk-JQP7MOFH.js → chunk-DVEKYLPV.js} +1 -1
- package/dist/{chunk-QX45GVAL.js → chunk-EIUYXS7E.js} +8 -8
- package/dist/{chunk-N7OVXN72.js → chunk-EROX26D4.js} +1 -1
- package/dist/{chunk-2RHAI7WK.js → chunk-EZ3JOAUS.js} +1 -1
- package/dist/{chunk-HFRHHT36.js → chunk-FDR22JMM.js} +63 -8
- package/dist/{chunk-PEKANQ3T.js → chunk-FJUUGFXL.js} +2 -2
- package/dist/{chunk-3CK6OINO.js → chunk-GDWBOQI5.js} +3 -5
- package/dist/{chunk-47SXTGLN.js → chunk-GXIAIITP.js} +63 -200
- package/dist/{chunk-4MFMCZEJ.js → chunk-H6LZ77GX.js} +2 -2
- package/dist/chunk-IWLDKGYQ.js +95 -0
- package/dist/chunk-K4X324QP.js +18 -0
- package/dist/{chunk-VQ5EKDA3.js → chunk-KD7RYE6R.js} +1 -1
- package/dist/chunk-LEWA4BPH.js +18 -0
- package/dist/{chunk-7Q5SDEK7.js → chunk-LNM2D2I4.js} +4 -4
- package/dist/{chunk-LPOAVK6Y.js → chunk-LQD232FW.js} +47 -12
- package/dist/{chunk-OXXL4WQU.js → chunk-M7KSRYRI.js} +5 -5
- package/dist/chunk-MBFHMJHN.js +2063 -0
- package/dist/{chunk-I2IKYOZX.js → chunk-N4MVIBFM.js} +19 -19
- package/dist/{chunk-PCMNEUMV.js → chunk-NHFEY3EI.js} +1 -1
- package/dist/{chunk-RTAWYMQP.js → chunk-NJMNYS7G.js} +1 -1
- package/dist/{chunk-HGQTL7NX.js → chunk-NSZQERLE.js} +2 -2
- package/dist/{chunk-RL7SFZOF.js → chunk-NXNJQZCP.js} +1 -1
- package/dist/{chunk-CNLP35S7.js → chunk-OD3U3TX4.js} +16 -31
- package/dist/{chunk-D2MA5TAP.js → chunk-PBD36EZJ.js} +2 -2
- package/dist/{chunk-4ZGFODSC.js → chunk-PZ44R4AS.js} +1 -1
- package/dist/{chunk-ZEVYT6IX.js → chunk-QNNJN4H6.js} +116 -286
- package/dist/{chunk-WBI7FEGI.js → chunk-QS6RWIBL.js} +1 -1
- package/dist/chunk-QT7YFHCA.js +198 -0
- package/dist/{chunk-GYV6SKY7.js → chunk-QXLRABYH.js} +4 -6
- package/dist/chunk-RXZFEFNV.js +73 -0
- package/dist/{chunk-RUE5BPC2.js → chunk-RZLN2Q6G.js} +1 -1
- package/dist/{chunk-NYDJTWRL.js → chunk-SGR4DMCW.js} +4 -4
- package/dist/chunk-T6LHVNWO.js +27 -0
- package/dist/{chunk-DKQ4XMSN.js → chunk-TNVYTMBL.js} +6 -6
- package/dist/{chunk-32RYSB2V.js → chunk-TODJFRLH.js} +2 -2
- package/dist/{chunk-P3ZTO6T2.js → chunk-UAF2S447.js} +1 -1
- package/dist/{chunk-J6BRLL3F.js → chunk-UCQKXXLD.js} +2 -2
- package/dist/chunk-UORPTGV2.js +114 -0
- package/dist/{chunk-CYTNBXWF.js → chunk-UX7J5NZG.js} +9 -9
- package/dist/{chunk-X4FLOQ45.js → chunk-WBHFU3MG.js} +2 -2
- package/dist/chunk-WLT7K7K7.js +63 -0
- package/dist/{chunk-4URLUCTD.js → chunk-WUPJADSO.js} +2 -2
- package/dist/{chunk-ITI54CII.js → chunk-X4INVIWL.js} +5 -5
- package/dist/{chunk-PTW7JNAP.js → chunk-XFQJU6FA.js} +4 -4
- package/dist/{collections-DJZI2RM2.js → collections-3OPR3DSD.js} +22 -19
- package/dist/{configuration-RHPIO2QT.js → configuration-C4IGBNXH.js} +1 -1
- package/dist/{configuration-GN3TO77H.js → configuration-UOSNP45I.js} +3 -3
- package/dist/{create-3EK5CNNX.js → create-2MQFQHTE.js} +33 -29
- package/dist/{create-YO55Z3YD.js → create-2PCLG7TV.js} +32 -38
- package/dist/{create-G4T2PAJH.js → create-35MYQPVM.js} +23 -21
- package/dist/{create-HKJVSFB7.js → create-BJ4OO6LS.js} +23 -21
- package/dist/create-DDPIXCXT.js +210 -0
- package/dist/{create-7S7CZWEN.js → create-GB3ZA4LH.js} +4 -4
- package/dist/create-JDGM5KXE.js +193 -0
- package/dist/{create-IDVCZHIX.js → create-ORXYT74H.js} +14 -12
- package/dist/{create-GHM7OTCR.js → create-R7K3ECN6.js} +1 -1
- package/dist/{create-D6EW3EWC.js → create-SFU3W3ZH.js} +1 -1
- package/dist/{create-3ZVXEPX5.js → create-SQ3FYMGI.js} +25 -21
- package/dist/{create-33TRLASX.js → create-UPYB65PD.js} +1 -1
- package/dist/{create-OCFPLNNY.js → create-UQNYMVBM.js} +6 -6
- package/dist/{create-OGLPDVOI.js → create-XAD5NMSJ.js} +37 -35
- package/dist/{create-KGYL7FBM.js → create-XVHOCZHJ.js} +1 -1
- package/dist/{create-4AE3VTWN.js → create-YBF4YGWG.js} +2 -2
- package/dist/{customers-6ZLE65UX.js → customers-ETXVNM3G.js} +5 -5
- package/dist/{edit-QBISX7D3.js → edit-2Q7TRUTL.js} +14 -12
- package/dist/{edit-B5B3XKDM.js → edit-522DG3BY.js} +1 -1
- package/dist/{edit-ATXE6CM5.js → edit-C4OCKQVU.js} +1 -1
- package/dist/{edit-IR6V2IDN.js → edit-FKXIQ6ZI.js} +19 -17
- package/dist/{edit-4HZHLYI3.js → edit-GQNIINRR.js} +1 -1
- package/dist/{edit-LRRJTHV2.js → edit-KAKVPHZZ.js} +1 -1
- package/dist/{edit-ZSOI56BQ.js → edit-L5ZZLMAY.js} +22 -22
- package/dist/{edit-FNDDSSMT.js → edit-NYD45J2Q.js} +37 -8
- package/dist/{edit-GIJXLMC3.js → edit-O4JLGKQR.js} +2 -2
- package/dist/{edit-5CJZRHAA.js → edit-ORXS3A2Y.js} +1 -1
- package/dist/{edit-FC64DWB2.js → edit-Q3UQIOLS.js} +1 -1
- package/dist/{edit-7HTH2UJF.js → edit-REDDBLTA.js} +3 -3
- package/dist/{edit-2KRJIPRK.js → edit-SGUY2CCK.js} +19 -17
- package/dist/{edit-B75KK5ZX.js → edit-SWRWWFW6.js} +35 -31
- package/dist/{edit-7GVP6SRA.js → edit-ZAHCMF5U.js} +1 -1
- package/dist/{edit-RNT555GP.js → edit-ZCXUG42Q.js} +13 -11
- package/dist/{edit-MYSWY6W4.js → edit-ZMERG3L7.js} +1 -1
- package/dist/{edit-budget-J27CSEZH.js → edit-budget-L3CCEWNF.js} +1 -1
- package/dist/{edit-inventory-item-US77M2FF.js → edit-inventory-item-6B7ITDGD.js} +2 -2
- package/dist/{edit-inventory-item-attributes-UGAE2NAZ.js → edit-inventory-item-attributes-Y7MQZLXI.js} +3 -3
- package/dist/{fulfillment-DCS67LTK.js → fulfillment-75Z4H23W.js} +16 -14
- package/dist/{fulfillment-providers-GM5PO6N3.js → fulfillment-providers-KCQWL62T.js} +20 -17
- package/dist/index.css +27 -62
- package/dist/index.d.ts +3 -10
- package/dist/index.js +522 -458
- package/dist/{inventory-OPZ2FSEE.js → inventory-KAUVPMPZ.js} +6 -6
- package/dist/{invite-764K3TJS.js → invite-6CPYVHDX.js} +24 -21
- package/dist/{invite-KEJLNXEZ.js → invite-CI2P4GF6.js} +15 -12
- package/dist/loader-FBB5OQRT.js +31 -0
- package/dist/{locations-ZVPTQCQY.js → locations-INS6FTMJ.js} +4 -4
- package/dist/{login-OUHRNNXA.js → login-KY342RMK.js} +12 -10
- package/dist/{manage-locations-YUKEFCBJ.js → manage-locations-WNHEBS3A.js} +2 -2
- package/dist/{media-4KYFHB5V.js → media-KOYAOXG6.js} +41 -9
- package/dist/{metadata-NYYL26MQ.js → metadata-2CMH4I6U.js} +16 -14
- package/dist/{metadata-AWUKZ25V.js → metadata-5BPOBBU2.js} +3 -3
- package/dist/{metadata-OCE6A3JE.js → metadata-GWI6R4ES.js} +15 -13
- package/dist/{metadata-G7KZXVNE.js → metadata-NUXUC2JA.js} +15 -13
- package/dist/{metadata-XP3ZYW2M.js → metadata-TLDUF5KV.js} +17 -15
- package/dist/{metadata-PYY4IB7K.js → metadata-WR4RFXO5.js} +16 -14
- package/dist/offer-create-page-YKMHHTU5.js +743 -0
- package/dist/offer-detail-page-6MAHNNIO.js +488 -0
- package/dist/offer-edit-page-DYQFU6JU.js +151 -0
- package/dist/offer-inventory-batch-page-WKCWNDNK.js +290 -0
- package/dist/offer-pricing-edit-page-4TYGGSOE.js +195 -0
- package/dist/offers-UGQJNGTD.js +32 -0
- package/dist/{onboarding-WXZHW62K.js → onboarding-43LQQQGQ.js} +22 -20
- package/dist/{orders-LWJ472VM.js → orders-R2LOJ6N5.js} +24 -21
- package/dist/organization-XGFU4YDG.js +375 -0
- package/dist/{organize-RFOMQCBG.js → organize-HNJUHEEG.js} +4 -4
- package/dist/{organize-OVKJ3HZO.js → organize-K6QMAMEN.js} +4 -4
- package/dist/pages/index.d.ts +415 -758
- package/dist/pages/index.js +81 -77
- package/dist/{payment-details-UVXYCTUK.js → payment-details-64US5XWD.js} +17 -15
- package/dist/{payouts-TR7K5I37.js → payouts-UXJDTXDL.js} +6 -6
- package/dist/{price-lists-S2WNELFZ.js → price-lists-KBPUVSZI.js} +8 -8
- package/dist/{pricing-UF27DAXA.js → pricing-DF6C5XK4.js} +35 -32
- package/dist/{product-tags-2CKH2M6D.js → product-tags-CL7HSEDI.js} +32 -28
- package/dist/{product-types-FX43JEO2.js → product-types-UUHBV4IZ.js} +5 -5
- package/dist/product-variant-detail-RVWEYVPC.js +220 -0
- package/dist/{product-variant-edit-P3DSIFE3.js → product-variant-edit-MNCS7ZYW.js} +126 -66
- package/dist/{products-H5EMRJYS.js → products-4KV5Y2JY.js} +23 -19
- package/dist/{products-2LHGS7X3.js → products-SXYTQFJ3.js} +40 -43
- package/dist/{professional-details-HYKTH44B.js → professional-details-5T2VS6MM.js} +16 -14
- package/dist/{profile-PB27WIRW.js → profile-6XGHAT7H.js} +20 -18
- package/dist/{promotions-5EYPGHJP.js → promotions-O7U4BTK6.js} +8 -8
- package/dist/{register-4O4F6YZK.js → register-GDKN3SKM.js} +16 -14
- package/dist/{reset-password-GTWLBOFK.js → reset-password-EICPAY2N.js} +1 -1
- package/dist/{return-reasons-LOKYRGMI.js → return-reasons-M6IR77XW.js} +16 -14
- package/dist/{sales-channels-7R2IY3KG.js → sales-channels-B6FULRWI.js} +8 -7
- package/dist/{sales-channels-Y4LRP7JC.js → sales-channels-JW3QUYR7.js} +8 -7
- package/dist/{settings-2XDLFYMS.js → settings-SAAHTUZZ.js} +39 -35
- package/dist/{shipment-4GW2JFWB.js → shipment-Q33QBMXX.js} +13 -11
- package/dist/{shipping-profile-R3NABPQF.js → shipping-profile-Y4SNEPZX.js} +2 -2
- package/dist/{shipping-profiles-QVKNFLCW.js → shipping-profiles-2NWKCEJK.js} +18 -16
- package/dist/{stock-5RXNUPUT.js → stock-7CSVEJJU.js} +19 -17
- package/dist/{store-DE2RGX7T.js → store-GHFWU7EV.js} +28 -25
- package/dist/{store-closure-DNMCHUXD.js → store-closure-P5PD2RSV.js} +16 -14
- package/dist/{store-select-GZEJHRZ7.js → store-select-KDT6USQA.js} +17 -15
- package/dist/{tax-regions-UD6P5FVC.js → tax-regions-YXZW7UVX.js} +5 -5
- package/dist/{team-JXKAVRPU.js → team-EDJ62747.js} +25 -23
- package/dist/types-CtCEtTE6.d.ts +16 -0
- package/package.json +3 -3
- package/dist/[id]-BYP37PU4.js +0 -1314
- package/dist/add-KRAGFFBJ.js +0 -158
- package/dist/bulk-edit-3SMBLIOA.js +0 -244
- package/dist/chunk-4KX6CBJ4.js +0 -178
- package/dist/chunk-DLNNTQRY.js +0 -217
- package/dist/chunk-FX4V5JCF.js +0 -37
- package/dist/chunk-GC33DBKG.js +0 -143
- package/dist/chunk-NK4NR6MN.js +0 -173
- package/dist/chunk-PFU6FSXY.js +0 -430
- package/dist/chunk-QJEOPT2P.js +0 -330
- package/dist/chunk-QSGR43JM.js +0 -30
- package/dist/chunk-STR3NGWE.js +0 -3736
- package/dist/create-3DOO3RNH.js +0 -716
- package/dist/create-I7HV3RM6.js +0 -150
- package/dist/edit-K2AD335I.js +0 -237
- package/dist/edit-VO5XLIEL.js +0 -362
- package/dist/edit-stocks-and-prices-MHHQFWFA.js +0 -408
- package/dist/organization-LPYQRTQC.js +0 -303
- package/dist/prices-3OXV5RGY.js +0 -270
- package/dist/product-variant-detail-WV4KXVXR.js +0 -590
- package/dist/stock-GPC3BCL6.js +0 -500
- package/dist/{chunk-SDSEW72R.js → chunk-E2HQPY32.js} +3 -3
- package/dist/{chunk-6WY5X4PE.js → chunk-L7QKFC5N.js} +7 -7
- /package/dist/{chunk-CAS74NLJ.js → chunk-YV6MK4PZ.js} +0 -0
package/dist/pages/index.d.ts
CHANGED
|
@@ -2,10 +2,12 @@ import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
|
2
2
|
import * as react from 'react';
|
|
3
3
|
import { ReactNode } from 'react';
|
|
4
4
|
import * as react_hook_form from 'react-hook-form';
|
|
5
|
+
import { T as TabDefinition } from '../types-CtCEtTE6.js';
|
|
6
|
+
import * as zod from 'zod';
|
|
5
7
|
import { z } from 'zod';
|
|
6
|
-
import { HttpTypes } from '@mercurjs/types';
|
|
7
8
|
import { LoaderFunctionArgs } from 'react-router-dom';
|
|
8
|
-
import { HttpTypes
|
|
9
|
+
import { HttpTypes } from '@medusajs/types';
|
|
10
|
+
import { HttpTypes as HttpTypes$1 } from '@mercurjs/types';
|
|
9
11
|
|
|
10
12
|
declare const CampaignListPage: (({ children }: {
|
|
11
13
|
children?: ReactNode;
|
|
@@ -92,6 +94,18 @@ declare const LoginPage: (({ children }: {
|
|
|
92
94
|
Footer: () => react_jsx_runtime.JSX.Element;
|
|
93
95
|
};
|
|
94
96
|
|
|
97
|
+
declare const OfferListPage: (({ children }: {
|
|
98
|
+
children?: ReactNode;
|
|
99
|
+
}) => react_jsx_runtime.JSX.Element) & {
|
|
100
|
+
Table: ({ children }: {
|
|
101
|
+
children?: ReactNode;
|
|
102
|
+
}) => react_jsx_runtime.JSX.Element;
|
|
103
|
+
Header: () => react_jsx_runtime.JSX.Element;
|
|
104
|
+
HeaderTitle: () => react_jsx_runtime.JSX.Element;
|
|
105
|
+
HeaderActions: () => react_jsx_runtime.JSX.Element;
|
|
106
|
+
DataTable: () => react_jsx_runtime.JSX.Element;
|
|
107
|
+
};
|
|
108
|
+
|
|
95
109
|
declare const OrderListPage: (({ children }: {
|
|
96
110
|
children?: ReactNode;
|
|
97
111
|
}) => react_jsx_runtime.JSX.Element) & {
|
|
@@ -166,13 +180,13 @@ declare const MediaSchema: z.ZodObject<{
|
|
|
166
180
|
}, "strip", z.ZodTypeAny, {
|
|
167
181
|
url: string;
|
|
168
182
|
isThumbnail: boolean;
|
|
169
|
-
id?: string | undefined;
|
|
170
183
|
file?: any;
|
|
184
|
+
id?: string | undefined;
|
|
171
185
|
}, {
|
|
172
186
|
url: string;
|
|
173
187
|
isThumbnail: boolean;
|
|
174
|
-
id?: string | undefined;
|
|
175
188
|
file?: any;
|
|
189
|
+
id?: string | undefined;
|
|
176
190
|
}>;
|
|
177
191
|
declare const ProductCreateVariantSchema: z.ZodObject<{
|
|
178
192
|
should_create: z.ZodBoolean;
|
|
@@ -190,125 +204,47 @@ declare const ProductCreateVariantSchema: z.ZodObject<{
|
|
|
190
204
|
material: z.ZodOptional<z.ZodString>;
|
|
191
205
|
origin_country: z.ZodOptional<z.ZodString>;
|
|
192
206
|
sku: z.ZodOptional<z.ZodString>;
|
|
193
|
-
|
|
194
|
-
allow_backorder: z.ZodOptional<z.ZodBoolean>;
|
|
195
|
-
inventory_kit: z.ZodOptional<z.ZodBoolean>;
|
|
196
|
-
options: z.ZodRecord<z.ZodString, z.ZodString>;
|
|
207
|
+
attribute_values: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
197
208
|
variant_rank: z.ZodNumber;
|
|
198
|
-
prices: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodEffects<z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNumber]>>, string | number | undefined, string | number | undefined>>>;
|
|
199
|
-
inventory: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
200
|
-
inventory_item_id: z.ZodString;
|
|
201
|
-
required_quantity: z.ZodEffects<z.ZodEffects<z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNumber]>>, string | number | undefined, string | number | undefined>, string | number | undefined, string | number | undefined>;
|
|
202
|
-
}, "strip", z.ZodTypeAny, {
|
|
203
|
-
inventory_item_id: string;
|
|
204
|
-
required_quantity?: string | number | undefined;
|
|
205
|
-
}, {
|
|
206
|
-
inventory_item_id: string;
|
|
207
|
-
required_quantity?: string | number | undefined;
|
|
208
|
-
}>, "many">>;
|
|
209
|
-
media: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
210
|
-
id: z.ZodOptional<z.ZodString>;
|
|
211
|
-
url: z.ZodString;
|
|
212
|
-
isThumbnail: z.ZodBoolean;
|
|
213
|
-
file: z.ZodNullable<z.ZodAny>;
|
|
214
|
-
}, "strip", z.ZodTypeAny, {
|
|
215
|
-
url: string;
|
|
216
|
-
isThumbnail: boolean;
|
|
217
|
-
id?: string | undefined;
|
|
218
|
-
file?: any;
|
|
219
|
-
}, {
|
|
220
|
-
url: string;
|
|
221
|
-
isThumbnail: boolean;
|
|
222
|
-
id?: string | undefined;
|
|
223
|
-
file?: any;
|
|
224
|
-
}>, "many">>;
|
|
225
209
|
}, "strip", z.ZodTypeAny, {
|
|
226
210
|
title: string;
|
|
227
|
-
options: Record<string, string>;
|
|
228
211
|
variant_rank: number;
|
|
229
212
|
should_create: boolean;
|
|
230
213
|
length?: string | number | undefined;
|
|
231
|
-
media?: {
|
|
232
|
-
url: string;
|
|
233
|
-
isThumbnail: boolean;
|
|
234
|
-
id?: string | undefined;
|
|
235
|
-
file?: any;
|
|
236
|
-
}[] | undefined;
|
|
237
|
-
inventory?: {
|
|
238
|
-
inventory_item_id: string;
|
|
239
|
-
required_quantity?: string | number | undefined;
|
|
240
|
-
}[] | undefined;
|
|
241
|
-
width?: string | number | undefined;
|
|
242
214
|
weight?: string | number | undefined;
|
|
215
|
+
width?: string | number | undefined;
|
|
243
216
|
height?: string | number | undefined;
|
|
244
217
|
origin_country?: string | undefined;
|
|
245
218
|
hs_code?: string | undefined;
|
|
246
219
|
mid_code?: string | undefined;
|
|
247
220
|
material?: string | undefined;
|
|
248
|
-
|
|
249
|
-
allow_backorder?: boolean | undefined;
|
|
221
|
+
attribute_values?: Record<string, string> | undefined;
|
|
250
222
|
sku?: string | undefined;
|
|
251
223
|
barcode?: string | undefined;
|
|
252
|
-
prices?: Record<string, string | number | undefined> | undefined;
|
|
253
224
|
ean?: string | undefined;
|
|
254
225
|
upc?: string | undefined;
|
|
255
226
|
is_default?: boolean | undefined;
|
|
256
|
-
inventory_kit?: boolean | undefined;
|
|
257
227
|
}, {
|
|
258
228
|
title: string;
|
|
259
|
-
options: Record<string, string>;
|
|
260
229
|
variant_rank: number;
|
|
261
230
|
should_create: boolean;
|
|
262
231
|
length?: string | number | undefined;
|
|
263
|
-
media?: {
|
|
264
|
-
url: string;
|
|
265
|
-
isThumbnail: boolean;
|
|
266
|
-
id?: string | undefined;
|
|
267
|
-
file?: any;
|
|
268
|
-
}[] | undefined;
|
|
269
|
-
inventory?: {
|
|
270
|
-
inventory_item_id: string;
|
|
271
|
-
required_quantity?: string | number | undefined;
|
|
272
|
-
}[] | undefined;
|
|
273
|
-
width?: string | number | undefined;
|
|
274
232
|
weight?: string | number | undefined;
|
|
233
|
+
width?: string | number | undefined;
|
|
275
234
|
height?: string | number | undefined;
|
|
276
235
|
origin_country?: string | undefined;
|
|
277
236
|
hs_code?: string | undefined;
|
|
278
237
|
mid_code?: string | undefined;
|
|
279
238
|
material?: string | undefined;
|
|
280
|
-
|
|
281
|
-
allow_backorder?: boolean | undefined;
|
|
239
|
+
attribute_values?: Record<string, string> | undefined;
|
|
282
240
|
sku?: string | undefined;
|
|
283
241
|
barcode?: string | undefined;
|
|
284
|
-
prices?: Record<string, string | number | undefined> | undefined;
|
|
285
242
|
ean?: string | undefined;
|
|
286
243
|
upc?: string | undefined;
|
|
287
244
|
is_default?: boolean | undefined;
|
|
288
|
-
inventory_kit?: boolean | undefined;
|
|
289
245
|
}>;
|
|
290
246
|
type ProductCreateVariantSchema = z.infer<typeof ProductCreateVariantSchema>;
|
|
291
|
-
declare const
|
|
292
|
-
title: z.ZodString;
|
|
293
|
-
values: z.ZodArray<z.ZodString, "many">;
|
|
294
|
-
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
295
|
-
useForVariants: z.ZodOptional<z.ZodBoolean>;
|
|
296
|
-
attributeId: z.ZodOptional<z.ZodString>;
|
|
297
|
-
}, "strip", z.ZodTypeAny, {
|
|
298
|
-
title: string;
|
|
299
|
-
values: string[];
|
|
300
|
-
metadata?: Record<string, unknown> | undefined;
|
|
301
|
-
useForVariants?: boolean | undefined;
|
|
302
|
-
attributeId?: string | undefined;
|
|
303
|
-
}, {
|
|
304
|
-
title: string;
|
|
305
|
-
values: string[];
|
|
306
|
-
metadata?: Record<string, unknown> | undefined;
|
|
307
|
-
useForVariants?: boolean | undefined;
|
|
308
|
-
attributeId?: string | undefined;
|
|
309
|
-
}>;
|
|
310
|
-
type ProductCreateOptionSchemaType = z.infer<typeof ProductCreateOptionSchema>;
|
|
311
|
-
declare const ProductCreateBaseSchema: z.ZodObject<{
|
|
247
|
+
declare const ProductCreateSchema: z.ZodEffects<z.ZodObject<{
|
|
312
248
|
title: z.ZodString;
|
|
313
249
|
subtitle: z.ZodOptional<z.ZodString>;
|
|
314
250
|
handle: z.ZodOptional<z.ZodString>;
|
|
@@ -316,20 +252,8 @@ declare const ProductCreateBaseSchema: z.ZodObject<{
|
|
|
316
252
|
discountable: z.ZodBoolean;
|
|
317
253
|
type_id: z.ZodOptional<z.ZodString>;
|
|
318
254
|
collection_id: z.ZodOptional<z.ZodString>;
|
|
319
|
-
|
|
320
|
-
categories: z.ZodArray<z.ZodString, "many">;
|
|
321
|
-
secondary_categories: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
255
|
+
category_id: z.ZodString;
|
|
322
256
|
tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
323
|
-
sales_channels: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
324
|
-
id: z.ZodString;
|
|
325
|
-
name: z.ZodString;
|
|
326
|
-
}, "strip", z.ZodTypeAny, {
|
|
327
|
-
id: string;
|
|
328
|
-
name: string;
|
|
329
|
-
}, {
|
|
330
|
-
id: string;
|
|
331
|
-
name: string;
|
|
332
|
-
}>, "many">>;
|
|
333
257
|
origin_country: z.ZodOptional<z.ZodString>;
|
|
334
258
|
material: z.ZodOptional<z.ZodString>;
|
|
335
259
|
width: z.ZodOptional<z.ZodString>;
|
|
@@ -338,26 +262,49 @@ declare const ProductCreateBaseSchema: z.ZodObject<{
|
|
|
338
262
|
weight: z.ZodOptional<z.ZodString>;
|
|
339
263
|
mid_code: z.ZodOptional<z.ZodString>;
|
|
340
264
|
hs_code: z.ZodOptional<z.ZodString>;
|
|
341
|
-
|
|
265
|
+
attributes: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
266
|
+
attribute_id: z.ZodOptional<z.ZodString>;
|
|
342
267
|
title: z.ZodString;
|
|
343
|
-
values: z.ZodArray<z.ZodString, "many"
|
|
344
|
-
|
|
345
|
-
|
|
346
|
-
|
|
268
|
+
values: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>;
|
|
269
|
+
is_custom: z.ZodBoolean;
|
|
270
|
+
is_required: z.ZodOptional<z.ZodBoolean>;
|
|
271
|
+
use_for_variants: z.ZodBoolean;
|
|
272
|
+
type: z.ZodOptional<z.ZodString>;
|
|
273
|
+
available_values: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
274
|
+
id: z.ZodString;
|
|
275
|
+
name: z.ZodString;
|
|
276
|
+
}, "strip", z.ZodTypeAny, {
|
|
277
|
+
id: string;
|
|
278
|
+
name: string;
|
|
279
|
+
}, {
|
|
280
|
+
id: string;
|
|
281
|
+
name: string;
|
|
282
|
+
}>, "many">>;
|
|
347
283
|
}, "strip", z.ZodTypeAny, {
|
|
348
284
|
title: string;
|
|
349
|
-
|
|
350
|
-
|
|
351
|
-
|
|
352
|
-
|
|
285
|
+
is_custom: boolean;
|
|
286
|
+
use_for_variants: boolean;
|
|
287
|
+
values?: string | string[] | undefined;
|
|
288
|
+
type?: string | undefined;
|
|
289
|
+
is_required?: boolean | undefined;
|
|
290
|
+
attribute_id?: string | undefined;
|
|
291
|
+
available_values?: {
|
|
292
|
+
id: string;
|
|
293
|
+
name: string;
|
|
294
|
+
}[] | undefined;
|
|
353
295
|
}, {
|
|
354
296
|
title: string;
|
|
355
|
-
|
|
356
|
-
|
|
357
|
-
|
|
358
|
-
|
|
359
|
-
|
|
360
|
-
|
|
297
|
+
is_custom: boolean;
|
|
298
|
+
use_for_variants: boolean;
|
|
299
|
+
values?: string | string[] | undefined;
|
|
300
|
+
type?: string | undefined;
|
|
301
|
+
is_required?: boolean | undefined;
|
|
302
|
+
attribute_id?: string | undefined;
|
|
303
|
+
available_values?: {
|
|
304
|
+
id: string;
|
|
305
|
+
name: string;
|
|
306
|
+
}[] | undefined;
|
|
307
|
+
}>, "many">>;
|
|
361
308
|
variants: z.ZodArray<z.ZodObject<{
|
|
362
309
|
should_create: z.ZodBoolean;
|
|
363
310
|
is_default: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -374,102 +321,44 @@ declare const ProductCreateBaseSchema: z.ZodObject<{
|
|
|
374
321
|
material: z.ZodOptional<z.ZodString>;
|
|
375
322
|
origin_country: z.ZodOptional<z.ZodString>;
|
|
376
323
|
sku: z.ZodOptional<z.ZodString>;
|
|
377
|
-
|
|
378
|
-
allow_backorder: z.ZodOptional<z.ZodBoolean>;
|
|
379
|
-
inventory_kit: z.ZodOptional<z.ZodBoolean>;
|
|
380
|
-
options: z.ZodRecord<z.ZodString, z.ZodString>;
|
|
324
|
+
attribute_values: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
381
325
|
variant_rank: z.ZodNumber;
|
|
382
|
-
prices: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodEffects<z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNumber]>>, string | number | undefined, string | number | undefined>>>;
|
|
383
|
-
inventory: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
384
|
-
inventory_item_id: z.ZodString;
|
|
385
|
-
required_quantity: z.ZodEffects<z.ZodEffects<z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNumber]>>, string | number | undefined, string | number | undefined>, string | number | undefined, string | number | undefined>;
|
|
386
|
-
}, "strip", z.ZodTypeAny, {
|
|
387
|
-
inventory_item_id: string;
|
|
388
|
-
required_quantity?: string | number | undefined;
|
|
389
|
-
}, {
|
|
390
|
-
inventory_item_id: string;
|
|
391
|
-
required_quantity?: string | number | undefined;
|
|
392
|
-
}>, "many">>;
|
|
393
|
-
media: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
394
|
-
id: z.ZodOptional<z.ZodString>;
|
|
395
|
-
url: z.ZodString;
|
|
396
|
-
isThumbnail: z.ZodBoolean;
|
|
397
|
-
file: z.ZodNullable<z.ZodAny>;
|
|
398
|
-
}, "strip", z.ZodTypeAny, {
|
|
399
|
-
url: string;
|
|
400
|
-
isThumbnail: boolean;
|
|
401
|
-
id?: string | undefined;
|
|
402
|
-
file?: any;
|
|
403
|
-
}, {
|
|
404
|
-
url: string;
|
|
405
|
-
isThumbnail: boolean;
|
|
406
|
-
id?: string | undefined;
|
|
407
|
-
file?: any;
|
|
408
|
-
}>, "many">>;
|
|
409
326
|
}, "strip", z.ZodTypeAny, {
|
|
410
327
|
title: string;
|
|
411
|
-
options: Record<string, string>;
|
|
412
328
|
variant_rank: number;
|
|
413
329
|
should_create: boolean;
|
|
414
330
|
length?: string | number | undefined;
|
|
415
|
-
media?: {
|
|
416
|
-
url: string;
|
|
417
|
-
isThumbnail: boolean;
|
|
418
|
-
id?: string | undefined;
|
|
419
|
-
file?: any;
|
|
420
|
-
}[] | undefined;
|
|
421
|
-
inventory?: {
|
|
422
|
-
inventory_item_id: string;
|
|
423
|
-
required_quantity?: string | number | undefined;
|
|
424
|
-
}[] | undefined;
|
|
425
|
-
width?: string | number | undefined;
|
|
426
331
|
weight?: string | number | undefined;
|
|
332
|
+
width?: string | number | undefined;
|
|
427
333
|
height?: string | number | undefined;
|
|
428
334
|
origin_country?: string | undefined;
|
|
429
335
|
hs_code?: string | undefined;
|
|
430
336
|
mid_code?: string | undefined;
|
|
431
337
|
material?: string | undefined;
|
|
432
|
-
|
|
433
|
-
allow_backorder?: boolean | undefined;
|
|
338
|
+
attribute_values?: Record<string, string> | undefined;
|
|
434
339
|
sku?: string | undefined;
|
|
435
340
|
barcode?: string | undefined;
|
|
436
|
-
prices?: Record<string, string | number | undefined> | undefined;
|
|
437
341
|
ean?: string | undefined;
|
|
438
342
|
upc?: string | undefined;
|
|
439
343
|
is_default?: boolean | undefined;
|
|
440
|
-
inventory_kit?: boolean | undefined;
|
|
441
344
|
}, {
|
|
442
345
|
title: string;
|
|
443
|
-
options: Record<string, string>;
|
|
444
346
|
variant_rank: number;
|
|
445
347
|
should_create: boolean;
|
|
446
348
|
length?: string | number | undefined;
|
|
447
|
-
media?: {
|
|
448
|
-
url: string;
|
|
449
|
-
isThumbnail: boolean;
|
|
450
|
-
id?: string | undefined;
|
|
451
|
-
file?: any;
|
|
452
|
-
}[] | undefined;
|
|
453
|
-
inventory?: {
|
|
454
|
-
inventory_item_id: string;
|
|
455
|
-
required_quantity?: string | number | undefined;
|
|
456
|
-
}[] | undefined;
|
|
457
|
-
width?: string | number | undefined;
|
|
458
349
|
weight?: string | number | undefined;
|
|
350
|
+
width?: string | number | undefined;
|
|
459
351
|
height?: string | number | undefined;
|
|
460
352
|
origin_country?: string | undefined;
|
|
461
353
|
hs_code?: string | undefined;
|
|
462
354
|
mid_code?: string | undefined;
|
|
463
355
|
material?: string | undefined;
|
|
464
|
-
|
|
465
|
-
allow_backorder?: boolean | undefined;
|
|
356
|
+
attribute_values?: Record<string, string> | undefined;
|
|
466
357
|
sku?: string | undefined;
|
|
467
358
|
barcode?: string | undefined;
|
|
468
|
-
prices?: Record<string, string | number | undefined> | undefined;
|
|
469
359
|
ean?: string | undefined;
|
|
470
360
|
upc?: string | undefined;
|
|
471
361
|
is_default?: boolean | undefined;
|
|
472
|
-
inventory_kit?: boolean | undefined;
|
|
473
362
|
}>, "many">;
|
|
474
363
|
media: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
475
364
|
id: z.ZodOptional<z.ZodString>;
|
|
@@ -479,620 +368,238 @@ declare const ProductCreateBaseSchema: z.ZodObject<{
|
|
|
479
368
|
}, "strip", z.ZodTypeAny, {
|
|
480
369
|
url: string;
|
|
481
370
|
isThumbnail: boolean;
|
|
482
|
-
id?: string | undefined;
|
|
483
371
|
file?: any;
|
|
372
|
+
id?: string | undefined;
|
|
484
373
|
}, {
|
|
485
374
|
url: string;
|
|
486
375
|
isThumbnail: boolean;
|
|
487
|
-
id?: string | undefined;
|
|
488
376
|
file?: any;
|
|
377
|
+
id?: string | undefined;
|
|
489
378
|
}>, "many">>;
|
|
490
379
|
}, "strip", z.ZodTypeAny, {
|
|
491
380
|
title: string;
|
|
492
|
-
options: {
|
|
493
|
-
title: string;
|
|
494
|
-
values: string[];
|
|
495
|
-
metadata?: Record<string, unknown> | undefined;
|
|
496
|
-
useForVariants?: boolean | undefined;
|
|
497
|
-
attributeId?: string | undefined;
|
|
498
|
-
}[];
|
|
499
|
-
categories: string[];
|
|
500
381
|
variants: {
|
|
501
382
|
title: string;
|
|
502
|
-
options: Record<string, string>;
|
|
503
383
|
variant_rank: number;
|
|
504
384
|
should_create: boolean;
|
|
505
385
|
length?: string | number | undefined;
|
|
506
|
-
media?: {
|
|
507
|
-
url: string;
|
|
508
|
-
isThumbnail: boolean;
|
|
509
|
-
id?: string | undefined;
|
|
510
|
-
file?: any;
|
|
511
|
-
}[] | undefined;
|
|
512
|
-
inventory?: {
|
|
513
|
-
inventory_item_id: string;
|
|
514
|
-
required_quantity?: string | number | undefined;
|
|
515
|
-
}[] | undefined;
|
|
516
|
-
width?: string | number | undefined;
|
|
517
386
|
weight?: string | number | undefined;
|
|
387
|
+
width?: string | number | undefined;
|
|
518
388
|
height?: string | number | undefined;
|
|
519
389
|
origin_country?: string | undefined;
|
|
520
390
|
hs_code?: string | undefined;
|
|
521
391
|
mid_code?: string | undefined;
|
|
522
392
|
material?: string | undefined;
|
|
523
|
-
|
|
524
|
-
allow_backorder?: boolean | undefined;
|
|
393
|
+
attribute_values?: Record<string, string> | undefined;
|
|
525
394
|
sku?: string | undefined;
|
|
526
395
|
barcode?: string | undefined;
|
|
527
|
-
prices?: Record<string, string | number | undefined> | undefined;
|
|
528
396
|
ean?: string | undefined;
|
|
529
397
|
upc?: string | undefined;
|
|
530
398
|
is_default?: boolean | undefined;
|
|
531
|
-
inventory_kit?: boolean | undefined;
|
|
532
399
|
}[];
|
|
533
400
|
discountable: boolean;
|
|
534
|
-
|
|
401
|
+
category_id: string;
|
|
535
402
|
length?: string | undefined;
|
|
403
|
+
weight?: string | undefined;
|
|
404
|
+
width?: string | undefined;
|
|
405
|
+
tags?: string[] | undefined;
|
|
536
406
|
handle?: string | undefined;
|
|
537
|
-
description?: string | undefined;
|
|
538
|
-
media?: {
|
|
539
|
-
url: string;
|
|
540
|
-
isThumbnail: boolean;
|
|
541
|
-
id?: string | undefined;
|
|
542
|
-
file?: any;
|
|
543
|
-
}[] | undefined;
|
|
544
|
-
collection_id?: string | undefined;
|
|
545
|
-
type_id?: string | undefined;
|
|
546
407
|
subtitle?: string | undefined;
|
|
547
|
-
|
|
548
|
-
weight?: string | undefined;
|
|
408
|
+
description?: string | undefined;
|
|
549
409
|
height?: string | undefined;
|
|
550
410
|
origin_country?: string | undefined;
|
|
551
411
|
hs_code?: string | undefined;
|
|
552
412
|
mid_code?: string | undefined;
|
|
553
413
|
material?: string | undefined;
|
|
554
|
-
|
|
555
|
-
|
|
556
|
-
|
|
557
|
-
|
|
414
|
+
collection_id?: string | undefined;
|
|
415
|
+
type_id?: string | undefined;
|
|
416
|
+
attributes?: {
|
|
417
|
+
title: string;
|
|
418
|
+
is_custom: boolean;
|
|
419
|
+
use_for_variants: boolean;
|
|
420
|
+
values?: string | string[] | undefined;
|
|
421
|
+
type?: string | undefined;
|
|
422
|
+
is_required?: boolean | undefined;
|
|
423
|
+
attribute_id?: string | undefined;
|
|
424
|
+
available_values?: {
|
|
425
|
+
id: string;
|
|
426
|
+
name: string;
|
|
427
|
+
}[] | undefined;
|
|
428
|
+
}[] | undefined;
|
|
429
|
+
media?: {
|
|
430
|
+
url: string;
|
|
431
|
+
isThumbnail: boolean;
|
|
432
|
+
file?: any;
|
|
433
|
+
id?: string | undefined;
|
|
558
434
|
}[] | undefined;
|
|
559
|
-
shipping_profile_id?: string | undefined;
|
|
560
|
-
secondary_categories?: string[] | undefined;
|
|
561
435
|
}, {
|
|
562
436
|
title: string;
|
|
563
|
-
options: {
|
|
564
|
-
title: string;
|
|
565
|
-
values: string[];
|
|
566
|
-
metadata?: Record<string, unknown> | undefined;
|
|
567
|
-
useForVariants?: boolean | undefined;
|
|
568
|
-
attributeId?: string | undefined;
|
|
569
|
-
}[];
|
|
570
|
-
categories: string[];
|
|
571
437
|
variants: {
|
|
572
438
|
title: string;
|
|
573
|
-
options: Record<string, string>;
|
|
574
439
|
variant_rank: number;
|
|
575
440
|
should_create: boolean;
|
|
576
441
|
length?: string | number | undefined;
|
|
577
|
-
media?: {
|
|
578
|
-
url: string;
|
|
579
|
-
isThumbnail: boolean;
|
|
580
|
-
id?: string | undefined;
|
|
581
|
-
file?: any;
|
|
582
|
-
}[] | undefined;
|
|
583
|
-
inventory?: {
|
|
584
|
-
inventory_item_id: string;
|
|
585
|
-
required_quantity?: string | number | undefined;
|
|
586
|
-
}[] | undefined;
|
|
587
|
-
width?: string | number | undefined;
|
|
588
442
|
weight?: string | number | undefined;
|
|
443
|
+
width?: string | number | undefined;
|
|
589
444
|
height?: string | number | undefined;
|
|
590
445
|
origin_country?: string | undefined;
|
|
591
446
|
hs_code?: string | undefined;
|
|
592
447
|
mid_code?: string | undefined;
|
|
593
448
|
material?: string | undefined;
|
|
594
|
-
|
|
595
|
-
allow_backorder?: boolean | undefined;
|
|
449
|
+
attribute_values?: Record<string, string> | undefined;
|
|
596
450
|
sku?: string | undefined;
|
|
597
451
|
barcode?: string | undefined;
|
|
598
|
-
prices?: Record<string, string | number | undefined> | undefined;
|
|
599
452
|
ean?: string | undefined;
|
|
600
453
|
upc?: string | undefined;
|
|
601
454
|
is_default?: boolean | undefined;
|
|
602
|
-
inventory_kit?: boolean | undefined;
|
|
603
455
|
}[];
|
|
604
456
|
discountable: boolean;
|
|
605
|
-
|
|
457
|
+
category_id: string;
|
|
606
458
|
length?: string | undefined;
|
|
459
|
+
weight?: string | undefined;
|
|
460
|
+
width?: string | undefined;
|
|
461
|
+
tags?: string[] | undefined;
|
|
607
462
|
handle?: string | undefined;
|
|
608
|
-
description?: string | undefined;
|
|
609
|
-
media?: {
|
|
610
|
-
url: string;
|
|
611
|
-
isThumbnail: boolean;
|
|
612
|
-
id?: string | undefined;
|
|
613
|
-
file?: any;
|
|
614
|
-
}[] | undefined;
|
|
615
|
-
collection_id?: string | undefined;
|
|
616
|
-
type_id?: string | undefined;
|
|
617
463
|
subtitle?: string | undefined;
|
|
618
|
-
|
|
619
|
-
weight?: string | undefined;
|
|
464
|
+
description?: string | undefined;
|
|
620
465
|
height?: string | undefined;
|
|
621
466
|
origin_country?: string | undefined;
|
|
622
467
|
hs_code?: string | undefined;
|
|
623
468
|
mid_code?: string | undefined;
|
|
624
469
|
material?: string | undefined;
|
|
625
|
-
|
|
626
|
-
|
|
627
|
-
|
|
628
|
-
name: string;
|
|
629
|
-
}[] | undefined;
|
|
630
|
-
shipping_profile_id?: string | undefined;
|
|
631
|
-
secondary_categories?: string[] | undefined;
|
|
632
|
-
}>;
|
|
633
|
-
declare const ProductCreateSchema: z.ZodEffects<z.ZodObject<{
|
|
634
|
-
title: z.ZodString;
|
|
635
|
-
subtitle: z.ZodOptional<z.ZodString>;
|
|
636
|
-
handle: z.ZodOptional<z.ZodString>;
|
|
637
|
-
description: z.ZodOptional<z.ZodString>;
|
|
638
|
-
discountable: z.ZodBoolean;
|
|
639
|
-
type_id: z.ZodOptional<z.ZodString>;
|
|
640
|
-
collection_id: z.ZodOptional<z.ZodString>;
|
|
641
|
-
shipping_profile_id: z.ZodOptional<z.ZodString>;
|
|
642
|
-
categories: z.ZodArray<z.ZodString, "many">;
|
|
643
|
-
secondary_categories: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
644
|
-
tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
645
|
-
sales_channels: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
646
|
-
id: z.ZodString;
|
|
647
|
-
name: z.ZodString;
|
|
648
|
-
}, "strip", z.ZodTypeAny, {
|
|
649
|
-
id: string;
|
|
650
|
-
name: string;
|
|
651
|
-
}, {
|
|
652
|
-
id: string;
|
|
653
|
-
name: string;
|
|
654
|
-
}>, "many">>;
|
|
655
|
-
origin_country: z.ZodOptional<z.ZodString>;
|
|
656
|
-
material: z.ZodOptional<z.ZodString>;
|
|
657
|
-
width: z.ZodOptional<z.ZodString>;
|
|
658
|
-
length: z.ZodOptional<z.ZodString>;
|
|
659
|
-
height: z.ZodOptional<z.ZodString>;
|
|
660
|
-
weight: z.ZodOptional<z.ZodString>;
|
|
661
|
-
mid_code: z.ZodOptional<z.ZodString>;
|
|
662
|
-
hs_code: z.ZodOptional<z.ZodString>;
|
|
663
|
-
options: z.ZodArray<z.ZodObject<{
|
|
664
|
-
title: z.ZodString;
|
|
665
|
-
values: z.ZodArray<z.ZodString, "many">;
|
|
666
|
-
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
667
|
-
useForVariants: z.ZodOptional<z.ZodBoolean>;
|
|
668
|
-
attributeId: z.ZodOptional<z.ZodString>;
|
|
669
|
-
}, "strip", z.ZodTypeAny, {
|
|
670
|
-
title: string;
|
|
671
|
-
values: string[];
|
|
672
|
-
metadata?: Record<string, unknown> | undefined;
|
|
673
|
-
useForVariants?: boolean | undefined;
|
|
674
|
-
attributeId?: string | undefined;
|
|
675
|
-
}, {
|
|
676
|
-
title: string;
|
|
677
|
-
values: string[];
|
|
678
|
-
metadata?: Record<string, unknown> | undefined;
|
|
679
|
-
useForVariants?: boolean | undefined;
|
|
680
|
-
attributeId?: string | undefined;
|
|
681
|
-
}>, "many">;
|
|
682
|
-
enable_variants: z.ZodBoolean;
|
|
683
|
-
variants: z.ZodArray<z.ZodObject<{
|
|
684
|
-
should_create: z.ZodBoolean;
|
|
685
|
-
is_default: z.ZodOptional<z.ZodBoolean>;
|
|
686
|
-
title: z.ZodString;
|
|
687
|
-
upc: z.ZodOptional<z.ZodString>;
|
|
688
|
-
ean: z.ZodOptional<z.ZodString>;
|
|
689
|
-
barcode: z.ZodOptional<z.ZodString>;
|
|
690
|
-
mid_code: z.ZodOptional<z.ZodString>;
|
|
691
|
-
hs_code: z.ZodOptional<z.ZodString>;
|
|
692
|
-
width: z.ZodEffects<z.ZodEffects<z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNumber]>>, string | number | undefined, string | number | undefined>, string | number | undefined, string | number | undefined>;
|
|
693
|
-
height: z.ZodEffects<z.ZodEffects<z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNumber]>>, string | number | undefined, string | number | undefined>, string | number | undefined, string | number | undefined>;
|
|
694
|
-
length: z.ZodEffects<z.ZodEffects<z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNumber]>>, string | number | undefined, string | number | undefined>, string | number | undefined, string | number | undefined>;
|
|
695
|
-
weight: z.ZodEffects<z.ZodEffects<z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNumber]>>, string | number | undefined, string | number | undefined>, string | number | undefined, string | number | undefined>;
|
|
696
|
-
material: z.ZodOptional<z.ZodString>;
|
|
697
|
-
origin_country: z.ZodOptional<z.ZodString>;
|
|
698
|
-
sku: z.ZodOptional<z.ZodString>;
|
|
699
|
-
manage_inventory: z.ZodOptional<z.ZodBoolean>;
|
|
700
|
-
allow_backorder: z.ZodOptional<z.ZodBoolean>;
|
|
701
|
-
inventory_kit: z.ZodOptional<z.ZodBoolean>;
|
|
702
|
-
options: z.ZodRecord<z.ZodString, z.ZodString>;
|
|
703
|
-
variant_rank: z.ZodNumber;
|
|
704
|
-
prices: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodEffects<z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNumber]>>, string | number | undefined, string | number | undefined>>>;
|
|
705
|
-
inventory: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
706
|
-
inventory_item_id: z.ZodString;
|
|
707
|
-
required_quantity: z.ZodEffects<z.ZodEffects<z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNumber]>>, string | number | undefined, string | number | undefined>, string | number | undefined, string | number | undefined>;
|
|
708
|
-
}, "strip", z.ZodTypeAny, {
|
|
709
|
-
inventory_item_id: string;
|
|
710
|
-
required_quantity?: string | number | undefined;
|
|
711
|
-
}, {
|
|
712
|
-
inventory_item_id: string;
|
|
713
|
-
required_quantity?: string | number | undefined;
|
|
714
|
-
}>, "many">>;
|
|
715
|
-
media: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
716
|
-
id: z.ZodOptional<z.ZodString>;
|
|
717
|
-
url: z.ZodString;
|
|
718
|
-
isThumbnail: z.ZodBoolean;
|
|
719
|
-
file: z.ZodNullable<z.ZodAny>;
|
|
720
|
-
}, "strip", z.ZodTypeAny, {
|
|
721
|
-
url: string;
|
|
722
|
-
isThumbnail: boolean;
|
|
723
|
-
id?: string | undefined;
|
|
724
|
-
file?: any;
|
|
725
|
-
}, {
|
|
726
|
-
url: string;
|
|
727
|
-
isThumbnail: boolean;
|
|
728
|
-
id?: string | undefined;
|
|
729
|
-
file?: any;
|
|
730
|
-
}>, "many">>;
|
|
731
|
-
}, "strip", z.ZodTypeAny, {
|
|
732
|
-
title: string;
|
|
733
|
-
options: Record<string, string>;
|
|
734
|
-
variant_rank: number;
|
|
735
|
-
should_create: boolean;
|
|
736
|
-
length?: string | number | undefined;
|
|
737
|
-
media?: {
|
|
738
|
-
url: string;
|
|
739
|
-
isThumbnail: boolean;
|
|
740
|
-
id?: string | undefined;
|
|
741
|
-
file?: any;
|
|
742
|
-
}[] | undefined;
|
|
743
|
-
inventory?: {
|
|
744
|
-
inventory_item_id: string;
|
|
745
|
-
required_quantity?: string | number | undefined;
|
|
746
|
-
}[] | undefined;
|
|
747
|
-
width?: string | number | undefined;
|
|
748
|
-
weight?: string | number | undefined;
|
|
749
|
-
height?: string | number | undefined;
|
|
750
|
-
origin_country?: string | undefined;
|
|
751
|
-
hs_code?: string | undefined;
|
|
752
|
-
mid_code?: string | undefined;
|
|
753
|
-
material?: string | undefined;
|
|
754
|
-
manage_inventory?: boolean | undefined;
|
|
755
|
-
allow_backorder?: boolean | undefined;
|
|
756
|
-
sku?: string | undefined;
|
|
757
|
-
barcode?: string | undefined;
|
|
758
|
-
prices?: Record<string, string | number | undefined> | undefined;
|
|
759
|
-
ean?: string | undefined;
|
|
760
|
-
upc?: string | undefined;
|
|
761
|
-
is_default?: boolean | undefined;
|
|
762
|
-
inventory_kit?: boolean | undefined;
|
|
763
|
-
}, {
|
|
470
|
+
collection_id?: string | undefined;
|
|
471
|
+
type_id?: string | undefined;
|
|
472
|
+
attributes?: {
|
|
764
473
|
title: string;
|
|
765
|
-
|
|
766
|
-
|
|
767
|
-
|
|
768
|
-
|
|
769
|
-
|
|
770
|
-
|
|
771
|
-
|
|
772
|
-
id
|
|
773
|
-
|
|
774
|
-
}[] | undefined;
|
|
775
|
-
inventory?: {
|
|
776
|
-
inventory_item_id: string;
|
|
777
|
-
required_quantity?: string | number | undefined;
|
|
474
|
+
is_custom: boolean;
|
|
475
|
+
use_for_variants: boolean;
|
|
476
|
+
values?: string | string[] | undefined;
|
|
477
|
+
type?: string | undefined;
|
|
478
|
+
is_required?: boolean | undefined;
|
|
479
|
+
attribute_id?: string | undefined;
|
|
480
|
+
available_values?: {
|
|
481
|
+
id: string;
|
|
482
|
+
name: string;
|
|
778
483
|
}[] | undefined;
|
|
779
|
-
|
|
780
|
-
|
|
781
|
-
height?: string | number | undefined;
|
|
782
|
-
origin_country?: string | undefined;
|
|
783
|
-
hs_code?: string | undefined;
|
|
784
|
-
mid_code?: string | undefined;
|
|
785
|
-
material?: string | undefined;
|
|
786
|
-
manage_inventory?: boolean | undefined;
|
|
787
|
-
allow_backorder?: boolean | undefined;
|
|
788
|
-
sku?: string | undefined;
|
|
789
|
-
barcode?: string | undefined;
|
|
790
|
-
prices?: Record<string, string | number | undefined> | undefined;
|
|
791
|
-
ean?: string | undefined;
|
|
792
|
-
upc?: string | undefined;
|
|
793
|
-
is_default?: boolean | undefined;
|
|
794
|
-
inventory_kit?: boolean | undefined;
|
|
795
|
-
}>, "many">;
|
|
796
|
-
media: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
797
|
-
id: z.ZodOptional<z.ZodString>;
|
|
798
|
-
url: z.ZodString;
|
|
799
|
-
isThumbnail: z.ZodBoolean;
|
|
800
|
-
file: z.ZodNullable<z.ZodAny>;
|
|
801
|
-
}, "strip", z.ZodTypeAny, {
|
|
484
|
+
}[] | undefined;
|
|
485
|
+
media?: {
|
|
802
486
|
url: string;
|
|
803
487
|
isThumbnail: boolean;
|
|
804
|
-
id?: string | undefined;
|
|
805
488
|
file?: any;
|
|
806
|
-
}, {
|
|
807
|
-
url: string;
|
|
808
|
-
isThumbnail: boolean;
|
|
809
489
|
id?: string | undefined;
|
|
810
|
-
|
|
811
|
-
|
|
812
|
-
}, "strip", z.ZodTypeAny, {
|
|
490
|
+
}[] | undefined;
|
|
491
|
+
}>, {
|
|
813
492
|
title: string;
|
|
814
|
-
options: {
|
|
815
|
-
title: string;
|
|
816
|
-
values: string[];
|
|
817
|
-
metadata?: Record<string, unknown> | undefined;
|
|
818
|
-
useForVariants?: boolean | undefined;
|
|
819
|
-
attributeId?: string | undefined;
|
|
820
|
-
}[];
|
|
821
|
-
categories: string[];
|
|
822
493
|
variants: {
|
|
823
494
|
title: string;
|
|
824
|
-
options: Record<string, string>;
|
|
825
495
|
variant_rank: number;
|
|
826
496
|
should_create: boolean;
|
|
827
497
|
length?: string | number | undefined;
|
|
828
|
-
media?: {
|
|
829
|
-
url: string;
|
|
830
|
-
isThumbnail: boolean;
|
|
831
|
-
id?: string | undefined;
|
|
832
|
-
file?: any;
|
|
833
|
-
}[] | undefined;
|
|
834
|
-
inventory?: {
|
|
835
|
-
inventory_item_id: string;
|
|
836
|
-
required_quantity?: string | number | undefined;
|
|
837
|
-
}[] | undefined;
|
|
838
|
-
width?: string | number | undefined;
|
|
839
498
|
weight?: string | number | undefined;
|
|
499
|
+
width?: string | number | undefined;
|
|
840
500
|
height?: string | number | undefined;
|
|
841
501
|
origin_country?: string | undefined;
|
|
842
502
|
hs_code?: string | undefined;
|
|
843
503
|
mid_code?: string | undefined;
|
|
844
504
|
material?: string | undefined;
|
|
845
|
-
|
|
846
|
-
allow_backorder?: boolean | undefined;
|
|
505
|
+
attribute_values?: Record<string, string> | undefined;
|
|
847
506
|
sku?: string | undefined;
|
|
848
507
|
barcode?: string | undefined;
|
|
849
|
-
prices?: Record<string, string | number | undefined> | undefined;
|
|
850
508
|
ean?: string | undefined;
|
|
851
509
|
upc?: string | undefined;
|
|
852
510
|
is_default?: boolean | undefined;
|
|
853
|
-
inventory_kit?: boolean | undefined;
|
|
854
511
|
}[];
|
|
855
512
|
discountable: boolean;
|
|
856
|
-
|
|
513
|
+
category_id: string;
|
|
857
514
|
length?: string | undefined;
|
|
515
|
+
weight?: string | undefined;
|
|
516
|
+
width?: string | undefined;
|
|
517
|
+
tags?: string[] | undefined;
|
|
858
518
|
handle?: string | undefined;
|
|
859
|
-
description?: string | undefined;
|
|
860
|
-
media?: {
|
|
861
|
-
url: string;
|
|
862
|
-
isThumbnail: boolean;
|
|
863
|
-
id?: string | undefined;
|
|
864
|
-
file?: any;
|
|
865
|
-
}[] | undefined;
|
|
866
|
-
collection_id?: string | undefined;
|
|
867
|
-
type_id?: string | undefined;
|
|
868
519
|
subtitle?: string | undefined;
|
|
869
|
-
|
|
870
|
-
weight?: string | undefined;
|
|
520
|
+
description?: string | undefined;
|
|
871
521
|
height?: string | undefined;
|
|
872
522
|
origin_country?: string | undefined;
|
|
873
523
|
hs_code?: string | undefined;
|
|
874
524
|
mid_code?: string | undefined;
|
|
875
525
|
material?: string | undefined;
|
|
876
|
-
|
|
877
|
-
|
|
878
|
-
|
|
879
|
-
name: string;
|
|
880
|
-
}[] | undefined;
|
|
881
|
-
shipping_profile_id?: string | undefined;
|
|
882
|
-
secondary_categories?: string[] | undefined;
|
|
883
|
-
}, {
|
|
884
|
-
title: string;
|
|
885
|
-
options: {
|
|
886
|
-
title: string;
|
|
887
|
-
values: string[];
|
|
888
|
-
metadata?: Record<string, unknown> | undefined;
|
|
889
|
-
useForVariants?: boolean | undefined;
|
|
890
|
-
attributeId?: string | undefined;
|
|
891
|
-
}[];
|
|
892
|
-
categories: string[];
|
|
893
|
-
variants: {
|
|
526
|
+
collection_id?: string | undefined;
|
|
527
|
+
type_id?: string | undefined;
|
|
528
|
+
attributes?: {
|
|
894
529
|
title: string;
|
|
895
|
-
|
|
896
|
-
|
|
897
|
-
|
|
898
|
-
|
|
899
|
-
|
|
900
|
-
|
|
901
|
-
|
|
902
|
-
id
|
|
903
|
-
|
|
904
|
-
}[] | undefined;
|
|
905
|
-
inventory?: {
|
|
906
|
-
inventory_item_id: string;
|
|
907
|
-
required_quantity?: string | number | undefined;
|
|
530
|
+
is_custom: boolean;
|
|
531
|
+
use_for_variants: boolean;
|
|
532
|
+
values?: string | string[] | undefined;
|
|
533
|
+
type?: string | undefined;
|
|
534
|
+
is_required?: boolean | undefined;
|
|
535
|
+
attribute_id?: string | undefined;
|
|
536
|
+
available_values?: {
|
|
537
|
+
id: string;
|
|
538
|
+
name: string;
|
|
908
539
|
}[] | undefined;
|
|
909
|
-
|
|
910
|
-
weight?: string | number | undefined;
|
|
911
|
-
height?: string | number | undefined;
|
|
912
|
-
origin_country?: string | undefined;
|
|
913
|
-
hs_code?: string | undefined;
|
|
914
|
-
mid_code?: string | undefined;
|
|
915
|
-
material?: string | undefined;
|
|
916
|
-
manage_inventory?: boolean | undefined;
|
|
917
|
-
allow_backorder?: boolean | undefined;
|
|
918
|
-
sku?: string | undefined;
|
|
919
|
-
barcode?: string | undefined;
|
|
920
|
-
prices?: Record<string, string | number | undefined> | undefined;
|
|
921
|
-
ean?: string | undefined;
|
|
922
|
-
upc?: string | undefined;
|
|
923
|
-
is_default?: boolean | undefined;
|
|
924
|
-
inventory_kit?: boolean | undefined;
|
|
925
|
-
}[];
|
|
926
|
-
discountable: boolean;
|
|
927
|
-
enable_variants: boolean;
|
|
928
|
-
length?: string | undefined;
|
|
929
|
-
handle?: string | undefined;
|
|
930
|
-
description?: string | undefined;
|
|
540
|
+
}[] | undefined;
|
|
931
541
|
media?: {
|
|
932
542
|
url: string;
|
|
933
543
|
isThumbnail: boolean;
|
|
934
|
-
id?: string | undefined;
|
|
935
544
|
file?: any;
|
|
545
|
+
id?: string | undefined;
|
|
936
546
|
}[] | undefined;
|
|
937
|
-
|
|
938
|
-
type_id?: string | undefined;
|
|
939
|
-
subtitle?: string | undefined;
|
|
940
|
-
width?: string | undefined;
|
|
941
|
-
weight?: string | undefined;
|
|
942
|
-
height?: string | undefined;
|
|
943
|
-
origin_country?: string | undefined;
|
|
944
|
-
hs_code?: string | undefined;
|
|
945
|
-
mid_code?: string | undefined;
|
|
946
|
-
material?: string | undefined;
|
|
947
|
-
tags?: string[] | undefined;
|
|
948
|
-
sales_channels?: {
|
|
949
|
-
id: string;
|
|
950
|
-
name: string;
|
|
951
|
-
}[] | undefined;
|
|
952
|
-
shipping_profile_id?: string | undefined;
|
|
953
|
-
secondary_categories?: string[] | undefined;
|
|
954
|
-
}>, {
|
|
547
|
+
}, {
|
|
955
548
|
title: string;
|
|
956
|
-
options: {
|
|
957
|
-
title: string;
|
|
958
|
-
values: string[];
|
|
959
|
-
metadata?: Record<string, unknown> | undefined;
|
|
960
|
-
useForVariants?: boolean | undefined;
|
|
961
|
-
attributeId?: string | undefined;
|
|
962
|
-
}[];
|
|
963
|
-
categories: string[];
|
|
964
549
|
variants: {
|
|
965
550
|
title: string;
|
|
966
|
-
options: Record<string, string>;
|
|
967
551
|
variant_rank: number;
|
|
968
552
|
should_create: boolean;
|
|
969
553
|
length?: string | number | undefined;
|
|
970
|
-
media?: {
|
|
971
|
-
url: string;
|
|
972
|
-
isThumbnail: boolean;
|
|
973
|
-
id?: string | undefined;
|
|
974
|
-
file?: any;
|
|
975
|
-
}[] | undefined;
|
|
976
|
-
inventory?: {
|
|
977
|
-
inventory_item_id: string;
|
|
978
|
-
required_quantity?: string | number | undefined;
|
|
979
|
-
}[] | undefined;
|
|
980
|
-
width?: string | number | undefined;
|
|
981
554
|
weight?: string | number | undefined;
|
|
555
|
+
width?: string | number | undefined;
|
|
982
556
|
height?: string | number | undefined;
|
|
983
557
|
origin_country?: string | undefined;
|
|
984
558
|
hs_code?: string | undefined;
|
|
985
559
|
mid_code?: string | undefined;
|
|
986
560
|
material?: string | undefined;
|
|
987
|
-
|
|
988
|
-
allow_backorder?: boolean | undefined;
|
|
561
|
+
attribute_values?: Record<string, string> | undefined;
|
|
989
562
|
sku?: string | undefined;
|
|
990
563
|
barcode?: string | undefined;
|
|
991
|
-
prices?: Record<string, string | number | undefined> | undefined;
|
|
992
564
|
ean?: string | undefined;
|
|
993
565
|
upc?: string | undefined;
|
|
994
566
|
is_default?: boolean | undefined;
|
|
995
|
-
inventory_kit?: boolean | undefined;
|
|
996
567
|
}[];
|
|
997
568
|
discountable: boolean;
|
|
998
|
-
|
|
569
|
+
category_id: string;
|
|
999
570
|
length?: string | undefined;
|
|
571
|
+
weight?: string | undefined;
|
|
572
|
+
width?: string | undefined;
|
|
573
|
+
tags?: string[] | undefined;
|
|
1000
574
|
handle?: string | undefined;
|
|
1001
|
-
description?: string | undefined;
|
|
1002
|
-
media?: {
|
|
1003
|
-
url: string;
|
|
1004
|
-
isThumbnail: boolean;
|
|
1005
|
-
id?: string | undefined;
|
|
1006
|
-
file?: any;
|
|
1007
|
-
}[] | undefined;
|
|
1008
|
-
collection_id?: string | undefined;
|
|
1009
|
-
type_id?: string | undefined;
|
|
1010
575
|
subtitle?: string | undefined;
|
|
1011
|
-
|
|
1012
|
-
weight?: string | undefined;
|
|
576
|
+
description?: string | undefined;
|
|
1013
577
|
height?: string | undefined;
|
|
1014
578
|
origin_country?: string | undefined;
|
|
1015
579
|
hs_code?: string | undefined;
|
|
1016
580
|
mid_code?: string | undefined;
|
|
1017
581
|
material?: string | undefined;
|
|
1018
|
-
|
|
1019
|
-
|
|
1020
|
-
|
|
1021
|
-
name: string;
|
|
1022
|
-
}[] | undefined;
|
|
1023
|
-
shipping_profile_id?: string | undefined;
|
|
1024
|
-
secondary_categories?: string[] | undefined;
|
|
1025
|
-
}, {
|
|
1026
|
-
title: string;
|
|
1027
|
-
options: {
|
|
1028
|
-
title: string;
|
|
1029
|
-
values: string[];
|
|
1030
|
-
metadata?: Record<string, unknown> | undefined;
|
|
1031
|
-
useForVariants?: boolean | undefined;
|
|
1032
|
-
attributeId?: string | undefined;
|
|
1033
|
-
}[];
|
|
1034
|
-
categories: string[];
|
|
1035
|
-
variants: {
|
|
582
|
+
collection_id?: string | undefined;
|
|
583
|
+
type_id?: string | undefined;
|
|
584
|
+
attributes?: {
|
|
1036
585
|
title: string;
|
|
1037
|
-
|
|
1038
|
-
|
|
1039
|
-
|
|
1040
|
-
|
|
1041
|
-
|
|
1042
|
-
|
|
1043
|
-
|
|
1044
|
-
id
|
|
1045
|
-
|
|
1046
|
-
}[] | undefined;
|
|
1047
|
-
inventory?: {
|
|
1048
|
-
inventory_item_id: string;
|
|
1049
|
-
required_quantity?: string | number | undefined;
|
|
586
|
+
is_custom: boolean;
|
|
587
|
+
use_for_variants: boolean;
|
|
588
|
+
values?: string | string[] | undefined;
|
|
589
|
+
type?: string | undefined;
|
|
590
|
+
is_required?: boolean | undefined;
|
|
591
|
+
attribute_id?: string | undefined;
|
|
592
|
+
available_values?: {
|
|
593
|
+
id: string;
|
|
594
|
+
name: string;
|
|
1050
595
|
}[] | undefined;
|
|
1051
|
-
|
|
1052
|
-
weight?: string | number | undefined;
|
|
1053
|
-
height?: string | number | undefined;
|
|
1054
|
-
origin_country?: string | undefined;
|
|
1055
|
-
hs_code?: string | undefined;
|
|
1056
|
-
mid_code?: string | undefined;
|
|
1057
|
-
material?: string | undefined;
|
|
1058
|
-
manage_inventory?: boolean | undefined;
|
|
1059
|
-
allow_backorder?: boolean | undefined;
|
|
1060
|
-
sku?: string | undefined;
|
|
1061
|
-
barcode?: string | undefined;
|
|
1062
|
-
prices?: Record<string, string | number | undefined> | undefined;
|
|
1063
|
-
ean?: string | undefined;
|
|
1064
|
-
upc?: string | undefined;
|
|
1065
|
-
is_default?: boolean | undefined;
|
|
1066
|
-
inventory_kit?: boolean | undefined;
|
|
1067
|
-
}[];
|
|
1068
|
-
discountable: boolean;
|
|
1069
|
-
enable_variants: boolean;
|
|
1070
|
-
length?: string | undefined;
|
|
1071
|
-
handle?: string | undefined;
|
|
1072
|
-
description?: string | undefined;
|
|
596
|
+
}[] | undefined;
|
|
1073
597
|
media?: {
|
|
1074
598
|
url: string;
|
|
1075
599
|
isThumbnail: boolean;
|
|
1076
|
-
id?: string | undefined;
|
|
1077
600
|
file?: any;
|
|
601
|
+
id?: string | undefined;
|
|
1078
602
|
}[] | undefined;
|
|
1079
|
-
collection_id?: string | undefined;
|
|
1080
|
-
type_id?: string | undefined;
|
|
1081
|
-
subtitle?: string | undefined;
|
|
1082
|
-
width?: string | undefined;
|
|
1083
|
-
weight?: string | undefined;
|
|
1084
|
-
height?: string | undefined;
|
|
1085
|
-
origin_country?: string | undefined;
|
|
1086
|
-
hs_code?: string | undefined;
|
|
1087
|
-
mid_code?: string | undefined;
|
|
1088
|
-
material?: string | undefined;
|
|
1089
|
-
tags?: string[] | undefined;
|
|
1090
|
-
sales_channels?: {
|
|
1091
|
-
id: string;
|
|
1092
|
-
name: string;
|
|
1093
|
-
}[] | undefined;
|
|
1094
|
-
shipping_profile_id?: string | undefined;
|
|
1095
|
-
secondary_categories?: string[] | undefined;
|
|
1096
603
|
}>;
|
|
1097
604
|
declare const EditProductMediaSchema: z.ZodObject<{
|
|
1098
605
|
media: z.ZodArray<z.ZodObject<{
|
|
@@ -1103,134 +610,284 @@ declare const EditProductMediaSchema: z.ZodObject<{
|
|
|
1103
610
|
}, "strip", z.ZodTypeAny, {
|
|
1104
611
|
url: string;
|
|
1105
612
|
isThumbnail: boolean;
|
|
1106
|
-
id?: string | undefined;
|
|
1107
613
|
file?: any;
|
|
614
|
+
id?: string | undefined;
|
|
1108
615
|
}, {
|
|
1109
616
|
url: string;
|
|
1110
617
|
isThumbnail: boolean;
|
|
1111
|
-
id?: string | undefined;
|
|
1112
618
|
file?: any;
|
|
619
|
+
id?: string | undefined;
|
|
1113
620
|
}>, "many">;
|
|
1114
621
|
}, "strip", z.ZodTypeAny, {
|
|
1115
622
|
media: {
|
|
1116
623
|
url: string;
|
|
1117
624
|
isThumbnail: boolean;
|
|
1118
|
-
id?: string | undefined;
|
|
1119
625
|
file?: any;
|
|
626
|
+
id?: string | undefined;
|
|
1120
627
|
}[];
|
|
1121
628
|
}, {
|
|
1122
629
|
media: {
|
|
1123
630
|
url: string;
|
|
1124
631
|
isThumbnail: boolean;
|
|
1125
|
-
id?: string | undefined;
|
|
1126
632
|
file?: any;
|
|
633
|
+
id?: string | undefined;
|
|
1127
634
|
}[];
|
|
1128
635
|
}>;
|
|
1129
636
|
declare const PRODUCT_CREATE_FORM_DEFAULTS: Partial<z.infer<typeof ProductCreateSchema>>;
|
|
1130
637
|
|
|
1131
638
|
type ProductCreateSchemaType = z.infer<typeof ProductCreateSchema>;
|
|
1132
639
|
|
|
640
|
+
declare const ProductCreate: ({ children }: {
|
|
641
|
+
children?: ReactNode;
|
|
642
|
+
}) => react_jsx_runtime.JSX.Element;
|
|
1133
643
|
declare const ProductCreatePage: (({ children }: {
|
|
1134
644
|
children?: ReactNode;
|
|
1135
645
|
}) => react_jsx_runtime.JSX.Element) & {
|
|
1136
|
-
|
|
1137
|
-
|
|
1138
|
-
|
|
1139
|
-
|
|
1140
|
-
|
|
1141
|
-
|
|
1142
|
-
|
|
1143
|
-
|
|
1144
|
-
|
|
1145
|
-
|
|
1146
|
-
|
|
1147
|
-
|
|
1148
|
-
|
|
1149
|
-
|
|
1150
|
-
|
|
1151
|
-
|
|
1152
|
-
|
|
646
|
+
Form: ({ children, schema, defaultValues: extraDefaults, }: {
|
|
647
|
+
children?: ReactNode;
|
|
648
|
+
schema?: zod.ZodType<ProductCreateSchemaType>;
|
|
649
|
+
defaultValues?: react_hook_form.DeepPartial<ProductCreateSchemaType>;
|
|
650
|
+
}) => react_jsx_runtime.JSX.Element;
|
|
651
|
+
DetailsTab: {
|
|
652
|
+
(): react_jsx_runtime.JSX.Element;
|
|
653
|
+
_tabMeta: TabDefinition<{
|
|
654
|
+
title: string;
|
|
655
|
+
variants: {
|
|
656
|
+
title: string;
|
|
657
|
+
variant_rank: number;
|
|
658
|
+
should_create: boolean;
|
|
659
|
+
length?: string | number | undefined;
|
|
660
|
+
weight?: string | number | undefined;
|
|
661
|
+
width?: string | number | undefined;
|
|
662
|
+
height?: string | number | undefined;
|
|
663
|
+
origin_country?: string | undefined;
|
|
664
|
+
hs_code?: string | undefined;
|
|
665
|
+
mid_code?: string | undefined;
|
|
666
|
+
material?: string | undefined;
|
|
667
|
+
attribute_values?: Record<string, string> | undefined;
|
|
668
|
+
sku?: string | undefined;
|
|
669
|
+
barcode?: string | undefined;
|
|
670
|
+
ean?: string | undefined;
|
|
671
|
+
upc?: string | undefined;
|
|
672
|
+
is_default?: boolean | undefined;
|
|
673
|
+
}[];
|
|
674
|
+
discountable: boolean;
|
|
675
|
+
category_id: string;
|
|
676
|
+
length?: string | undefined;
|
|
677
|
+
weight?: string | undefined;
|
|
678
|
+
width?: string | undefined;
|
|
679
|
+
tags?: string[] | undefined;
|
|
680
|
+
handle?: string | undefined;
|
|
681
|
+
subtitle?: string | undefined;
|
|
682
|
+
description?: string | undefined;
|
|
683
|
+
height?: string | undefined;
|
|
684
|
+
origin_country?: string | undefined;
|
|
685
|
+
hs_code?: string | undefined;
|
|
686
|
+
mid_code?: string | undefined;
|
|
687
|
+
material?: string | undefined;
|
|
688
|
+
collection_id?: string | undefined;
|
|
689
|
+
type_id?: string | undefined;
|
|
690
|
+
attributes?: {
|
|
691
|
+
title: string;
|
|
692
|
+
is_custom: boolean;
|
|
693
|
+
use_for_variants: boolean;
|
|
694
|
+
values?: string | string[] | undefined;
|
|
695
|
+
type?: string | undefined;
|
|
696
|
+
is_required?: boolean | undefined;
|
|
697
|
+
attribute_id?: string | undefined;
|
|
698
|
+
available_values?: {
|
|
699
|
+
id: string;
|
|
700
|
+
name: string;
|
|
701
|
+
}[] | undefined;
|
|
702
|
+
}[] | undefined;
|
|
703
|
+
media?: {
|
|
704
|
+
url: string;
|
|
705
|
+
isThumbnail: boolean;
|
|
706
|
+
file?: any;
|
|
707
|
+
id?: string | undefined;
|
|
708
|
+
}[] | undefined;
|
|
709
|
+
}>;
|
|
1153
710
|
};
|
|
1154
|
-
|
|
1155
|
-
(
|
|
1156
|
-
|
|
1157
|
-
|
|
1158
|
-
|
|
1159
|
-
|
|
1160
|
-
|
|
1161
|
-
|
|
1162
|
-
|
|
1163
|
-
|
|
1164
|
-
|
|
1165
|
-
|
|
1166
|
-
|
|
1167
|
-
|
|
1168
|
-
|
|
1169
|
-
|
|
1170
|
-
|
|
1171
|
-
|
|
711
|
+
OrganizeTab: {
|
|
712
|
+
(): react_jsx_runtime.JSX.Element;
|
|
713
|
+
_tabMeta: TabDefinition<{
|
|
714
|
+
title: string;
|
|
715
|
+
variants: {
|
|
716
|
+
title: string;
|
|
717
|
+
variant_rank: number;
|
|
718
|
+
should_create: boolean;
|
|
719
|
+
length?: string | number | undefined;
|
|
720
|
+
weight?: string | number | undefined;
|
|
721
|
+
width?: string | number | undefined;
|
|
722
|
+
height?: string | number | undefined;
|
|
723
|
+
origin_country?: string | undefined;
|
|
724
|
+
hs_code?: string | undefined;
|
|
725
|
+
mid_code?: string | undefined;
|
|
726
|
+
material?: string | undefined;
|
|
727
|
+
attribute_values?: Record<string, string> | undefined;
|
|
728
|
+
sku?: string | undefined;
|
|
729
|
+
barcode?: string | undefined;
|
|
730
|
+
ean?: string | undefined;
|
|
731
|
+
upc?: string | undefined;
|
|
732
|
+
is_default?: boolean | undefined;
|
|
733
|
+
}[];
|
|
734
|
+
discountable: boolean;
|
|
735
|
+
category_id: string;
|
|
736
|
+
length?: string | undefined;
|
|
737
|
+
weight?: string | undefined;
|
|
738
|
+
width?: string | undefined;
|
|
739
|
+
tags?: string[] | undefined;
|
|
740
|
+
handle?: string | undefined;
|
|
741
|
+
subtitle?: string | undefined;
|
|
742
|
+
description?: string | undefined;
|
|
743
|
+
height?: string | undefined;
|
|
744
|
+
origin_country?: string | undefined;
|
|
745
|
+
hs_code?: string | undefined;
|
|
746
|
+
mid_code?: string | undefined;
|
|
747
|
+
material?: string | undefined;
|
|
748
|
+
collection_id?: string | undefined;
|
|
749
|
+
type_id?: string | undefined;
|
|
750
|
+
attributes?: {
|
|
751
|
+
title: string;
|
|
752
|
+
is_custom: boolean;
|
|
753
|
+
use_for_variants: boolean;
|
|
754
|
+
values?: string | string[] | undefined;
|
|
755
|
+
type?: string | undefined;
|
|
756
|
+
is_required?: boolean | undefined;
|
|
757
|
+
attribute_id?: string | undefined;
|
|
758
|
+
available_values?: {
|
|
759
|
+
id: string;
|
|
760
|
+
name: string;
|
|
761
|
+
}[] | undefined;
|
|
762
|
+
}[] | undefined;
|
|
763
|
+
media?: {
|
|
764
|
+
url: string;
|
|
765
|
+
isThumbnail: boolean;
|
|
766
|
+
file?: any;
|
|
767
|
+
id?: string | undefined;
|
|
768
|
+
}[] | undefined;
|
|
769
|
+
}>;
|
|
1172
770
|
};
|
|
1173
|
-
|
|
1174
|
-
|
|
1175
|
-
|
|
1176
|
-
|
|
1177
|
-
|
|
1178
|
-
|
|
1179
|
-
|
|
1180
|
-
|
|
1181
|
-
|
|
1182
|
-
|
|
1183
|
-
|
|
1184
|
-
|
|
1185
|
-
|
|
1186
|
-
|
|
1187
|
-
|
|
1188
|
-
|
|
1189
|
-
|
|
1190
|
-
|
|
1191
|
-
|
|
1192
|
-
|
|
1193
|
-
|
|
1194
|
-
|
|
1195
|
-
|
|
1196
|
-
|
|
1197
|
-
|
|
1198
|
-
|
|
1199
|
-
|
|
1200
|
-
|
|
1201
|
-
|
|
1202
|
-
|
|
1203
|
-
|
|
1204
|
-
|
|
1205
|
-
|
|
1206
|
-
|
|
1207
|
-
|
|
1208
|
-
|
|
1209
|
-
|
|
1210
|
-
|
|
1211
|
-
|
|
771
|
+
AttributesTab: {
|
|
772
|
+
(): react_jsx_runtime.JSX.Element;
|
|
773
|
+
_tabMeta: TabDefinition<{
|
|
774
|
+
title: string;
|
|
775
|
+
variants: {
|
|
776
|
+
title: string;
|
|
777
|
+
variant_rank: number;
|
|
778
|
+
should_create: boolean;
|
|
779
|
+
length?: string | number | undefined;
|
|
780
|
+
weight?: string | number | undefined;
|
|
781
|
+
width?: string | number | undefined;
|
|
782
|
+
height?: string | number | undefined;
|
|
783
|
+
origin_country?: string | undefined;
|
|
784
|
+
hs_code?: string | undefined;
|
|
785
|
+
mid_code?: string | undefined;
|
|
786
|
+
material?: string | undefined;
|
|
787
|
+
attribute_values?: Record<string, string> | undefined;
|
|
788
|
+
sku?: string | undefined;
|
|
789
|
+
barcode?: string | undefined;
|
|
790
|
+
ean?: string | undefined;
|
|
791
|
+
upc?: string | undefined;
|
|
792
|
+
is_default?: boolean | undefined;
|
|
793
|
+
}[];
|
|
794
|
+
discountable: boolean;
|
|
795
|
+
category_id: string;
|
|
796
|
+
length?: string | undefined;
|
|
797
|
+
weight?: string | undefined;
|
|
798
|
+
width?: string | undefined;
|
|
799
|
+
tags?: string[] | undefined;
|
|
800
|
+
handle?: string | undefined;
|
|
801
|
+
subtitle?: string | undefined;
|
|
802
|
+
description?: string | undefined;
|
|
803
|
+
height?: string | undefined;
|
|
804
|
+
origin_country?: string | undefined;
|
|
805
|
+
hs_code?: string | undefined;
|
|
806
|
+
mid_code?: string | undefined;
|
|
807
|
+
material?: string | undefined;
|
|
808
|
+
collection_id?: string | undefined;
|
|
809
|
+
type_id?: string | undefined;
|
|
810
|
+
attributes?: {
|
|
811
|
+
title: string;
|
|
812
|
+
is_custom: boolean;
|
|
813
|
+
use_for_variants: boolean;
|
|
814
|
+
values?: string | string[] | undefined;
|
|
815
|
+
type?: string | undefined;
|
|
816
|
+
is_required?: boolean | undefined;
|
|
817
|
+
attribute_id?: string | undefined;
|
|
818
|
+
available_values?: {
|
|
819
|
+
id: string;
|
|
820
|
+
name: string;
|
|
821
|
+
}[] | undefined;
|
|
822
|
+
}[] | undefined;
|
|
823
|
+
media?: {
|
|
824
|
+
url: string;
|
|
825
|
+
isThumbnail: boolean;
|
|
826
|
+
file?: any;
|
|
827
|
+
id?: string | undefined;
|
|
828
|
+
}[] | undefined;
|
|
829
|
+
}>;
|
|
830
|
+
};
|
|
831
|
+
VariantsTab: {
|
|
832
|
+
(): react_jsx_runtime.JSX.Element;
|
|
833
|
+
_tabMeta: TabDefinition<{
|
|
834
|
+
title: string;
|
|
835
|
+
variants: {
|
|
836
|
+
title: string;
|
|
837
|
+
variant_rank: number;
|
|
838
|
+
should_create: boolean;
|
|
839
|
+
length?: string | number | undefined;
|
|
840
|
+
weight?: string | number | undefined;
|
|
841
|
+
width?: string | number | undefined;
|
|
842
|
+
height?: string | number | undefined;
|
|
843
|
+
origin_country?: string | undefined;
|
|
844
|
+
hs_code?: string | undefined;
|
|
845
|
+
mid_code?: string | undefined;
|
|
846
|
+
material?: string | undefined;
|
|
847
|
+
attribute_values?: Record<string, string> | undefined;
|
|
848
|
+
sku?: string | undefined;
|
|
849
|
+
barcode?: string | undefined;
|
|
850
|
+
ean?: string | undefined;
|
|
851
|
+
upc?: string | undefined;
|
|
852
|
+
is_default?: boolean | undefined;
|
|
853
|
+
}[];
|
|
854
|
+
discountable: boolean;
|
|
855
|
+
category_id: string;
|
|
856
|
+
length?: string | undefined;
|
|
857
|
+
weight?: string | undefined;
|
|
858
|
+
width?: string | undefined;
|
|
859
|
+
tags?: string[] | undefined;
|
|
860
|
+
handle?: string | undefined;
|
|
861
|
+
subtitle?: string | undefined;
|
|
862
|
+
description?: string | undefined;
|
|
863
|
+
height?: string | undefined;
|
|
864
|
+
origin_country?: string | undefined;
|
|
865
|
+
hs_code?: string | undefined;
|
|
866
|
+
mid_code?: string | undefined;
|
|
867
|
+
material?: string | undefined;
|
|
868
|
+
collection_id?: string | undefined;
|
|
869
|
+
type_id?: string | undefined;
|
|
870
|
+
attributes?: {
|
|
871
|
+
title: string;
|
|
872
|
+
is_custom: boolean;
|
|
873
|
+
use_for_variants: boolean;
|
|
874
|
+
values?: string | string[] | undefined;
|
|
875
|
+
type?: string | undefined;
|
|
876
|
+
is_required?: boolean | undefined;
|
|
877
|
+
attribute_id?: string | undefined;
|
|
878
|
+
available_values?: {
|
|
879
|
+
id: string;
|
|
880
|
+
name: string;
|
|
881
|
+
}[] | undefined;
|
|
882
|
+
}[] | undefined;
|
|
883
|
+
media?: {
|
|
884
|
+
url: string;
|
|
885
|
+
isThumbnail: boolean;
|
|
886
|
+
file?: any;
|
|
887
|
+
id?: string | undefined;
|
|
888
|
+
}[] | undefined;
|
|
889
|
+
}>;
|
|
1212
890
|
};
|
|
1213
|
-
Form: ({ defaultChannel, store, onOpenMediaModal, onSaveVariantMediaRef, }: {
|
|
1214
|
-
defaultChannel?: HttpTypes.AdminSalesChannel;
|
|
1215
|
-
store?: HttpTypes.AdminStore;
|
|
1216
|
-
onOpenMediaModal?: (variantIndex: number, variantTitle?: string, initialMedia?: {
|
|
1217
|
-
file?: File;
|
|
1218
|
-
url?: string;
|
|
1219
|
-
isThumbnail?: boolean;
|
|
1220
|
-
id?: string;
|
|
1221
|
-
}[], productMedia?: {
|
|
1222
|
-
file?: File;
|
|
1223
|
-
url?: string;
|
|
1224
|
-
isThumbnail?: boolean;
|
|
1225
|
-
id?: string;
|
|
1226
|
-
}[]) => void;
|
|
1227
|
-
onSaveVariantMediaRef?: React.MutableRefObject<((variantIndex: number, media: {
|
|
1228
|
-
file?: File;
|
|
1229
|
-
url?: string;
|
|
1230
|
-
isThumbnail?: boolean;
|
|
1231
|
-
id?: string;
|
|
1232
|
-
}[]) => void) | null>;
|
|
1233
|
-
}) => react_jsx_runtime.JSX.Element;
|
|
1234
891
|
Tab: ({ children, }: {
|
|
1235
892
|
id: string;
|
|
1236
893
|
label: string;
|
|
@@ -1304,10 +961,10 @@ declare const ProductTagListPage: (({ children }: {
|
|
|
1304
961
|
DataTable: () => react_jsx_runtime.JSX.Element;
|
|
1305
962
|
};
|
|
1306
963
|
|
|
1307
|
-
declare const shippingListLoader: (_: LoaderFunctionArgs) => Promise<HttpTypes
|
|
964
|
+
declare const shippingListLoader: (_: LoaderFunctionArgs) => Promise<HttpTypes.AdminStockLocationListResponse | undefined>;
|
|
1308
965
|
|
|
1309
966
|
type LocationProps = {
|
|
1310
|
-
location: HttpTypes.VendorStockLocationResponse["stock_location"];
|
|
967
|
+
location: HttpTypes$1.VendorStockLocationResponse["stock_location"];
|
|
1311
968
|
};
|
|
1312
969
|
declare function LocationListItem(props: LocationProps): react_jsx_runtime.JSX.Element;
|
|
1313
970
|
|
|
@@ -1323,4 +980,4 @@ declare const LocationListPage: (({ children }: {
|
|
|
1323
980
|
|
|
1324
981
|
declare const Component: () => react_jsx_runtime.JSX.Element;
|
|
1325
982
|
|
|
1326
|
-
export { CampaignListPage, CategoryListPage, CollectionListPage, Component, CustomerListPage, EditProductMediaSchema, InventoryListPage, LocationListPage, LoginPage, MediaSchema, OrderListPage, PRODUCT_CREATE_FORM_DEFAULTS, PayoutListPage, PriceListListPage,
|
|
983
|
+
export { CampaignListPage, CategoryListPage, CollectionListPage, Component, CustomerListPage, EditProductMediaSchema, InventoryListPage, LocationListPage, LoginPage, MediaSchema, OfferListPage, OrderListPage, PRODUCT_CREATE_FORM_DEFAULTS, PayoutListPage, PriceListListPage, ProductCreate, ProductCreatePage, ProductCreateSchema, ProductCreateVariantSchema, ProductListPage, ProductTagListPage, ProductTypeListPage, PromotionListPage, ShippingProfileListPage, shippingListLoader as loader };
|