@wix/bex-utils 2.48.0 → 2.49.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/@wix/ambassador-app-settings-v1-settings/build/cjs/proto/proto-generated.js +8 -2
- package/@wix/ambassador-app-settings-v1-settings/package.json +2 -2
- package/@wix/ambassador-devcenter-app-market-listing-v1-market-listing/build/cjs/proto/proto-generated.js +145 -2
- package/@wix/ambassador-devcenter-app-market-listing-v1-market-listing/package.json +2 -2
- package/@wix/ambassador-fedinfra-exportservice-v1-export-async-job/build/cjs/proto/client/proto-generated.d.ts +560 -106
- package/@wix/ambassador-fedinfra-exportservice-v1-export-async-job/build/cjs/proto/proto-generated.d.ts +280 -53
- package/@wix/ambassador-fedinfra-exportservice-v1-export-async-job/build/cjs/proto/proto-generated.js +3840 -528
- package/@wix/ambassador-fedinfra-exportservice-v1-export-async-job/build/cjs/proto/server/proto-generated.d.ts +558 -106
- package/@wix/ambassador-fedinfra-exportservice-v1-export-async-job/build/cjs/types.impl.d.ts +200 -43
- package/@wix/ambassador-fedinfra-exportservice-v1-export-async-job/build/cjs/types.impl.js +1 -0
- package/@wix/ambassador-fedinfra-exportservice-v1-export-async-job/build/cjs/types.impl.js.map +1 -1
- package/@wix/ambassador-fedinfra-exportservice-v1-export-async-job/build/es/types.impl.d.ts +200 -43
- package/@wix/ambassador-fedinfra-exportservice-v1-export-async-job/build/es/types.impl.js +1 -0
- package/@wix/ambassador-fedinfra-exportservice-v1-export-async-job/build/es/types.impl.js.map +1 -1
- package/@wix/ambassador-fedinfra-exportservice-v1-export-async-job/package.json +3 -3
- package/@wix/ambassador-fedinfra-exportservice-v1-export-async-job/src/main/proto/com/wix/ecommerce/catalog_spi/api/v1/additional_fee.proto +1 -1
- package/@wix/ambassador-fedinfra-exportservice-v1-export-async-job/src/main/proto/com/wix/ecommerce/catalog_spi/api/v1/catalog_reference.proto +1 -1
- package/@wix/ambassador-fedinfra-exportservice-v1-export-async-job/src/main/proto/com/wix/ecommerce/catalog_spi/api/v1/item_data.proto +9 -10
- package/@wix/ambassador-fedinfra-exportservice-v1-export-async-job/src/main/proto/com/wix/ecommerce/catalog_spi/api/v1/platform_catalog_spi.proto +2 -3
- package/@wix/ambassador-fedinfra-exportservice-v1-export-async-job/src/main/proto/com/wix/ecommerce/catalog_spi/api/v1/subscription_option_info.proto +4 -6
- package/@wix/ambassador-fedinfra-exportservice-v1-export-async-job/src/main/proto/com/wix/ecommerce/platform_common/api/locations.proto +6 -2
- package/@wix/ambassador-fedinfra-exportservice-v1-export-async-job/src/main/proto/com/wix/ecommerce/platform_common/api/unit_system.proto +15 -0
- package/@wix/ambassador-fedinfra-exportservice-v1-export-async-job/src/main/proto/com/wix/ecommerce/platform_common/api/weight.proto +3 -3
- package/@wix/ambassador-fedinfra-exportservice-v1-export-async-job/src/main/proto/com/wixpress/metasite/event/api/dto.proto +15 -0
- package/@wix/ambassador-fedinfra-exportservice-v1-export-async-job/src/main/proto/com/wixpress/metasite/event/api/events.proto +17 -0
- package/@wix/ambassador-fedinfra-exportservice-v1-export-async-job/src/main/proto/com/wixpress/metasite/event/api/full.proto +3 -0
- package/@wix/ambassador-fedinfra-exportservice-v1-export-async-job/src/main/proto/com/wixpress/metasite/event/api/special.proto +9 -0
- package/@wix/ambassador-fedinfra-exportservice-v1-export-async-job/src/main/proto/wix/api/annotations.proto +64 -9
- package/@wix/ambassador-fedinfra-exportservice-v1-export-async-job/src/main/proto/wix/api/api_errors.proto +48 -23
- package/@wix/ambassador-fedinfra-exportservice-v1-export-async-job/src/main/proto/wix/api/entity.proto +9 -4
- package/@wix/ambassador-fedinfra-exportservice-v1-export-async-job/src/main/proto/wix/api/errors.proto +6 -0
- package/@wix/ambassador-fedinfra-exportservice-v1-export-async-job/src/main/proto/wix/api/sla.proto +1 -1
- package/@wix/ambassador-fedinfra-exportservice-v1-export-async-job/src/main/proto/wix/catalog/api/v1/catalog.proto +0 -3
- package/@wix/ambassador-fedinfra-exportservice-v1-export-async-job/src/main/proto/wix/common/data/errors.proto +14 -1
- package/@wix/ambassador-fedinfra-exportservice-v1-export-async-job/src/main/proto/wix/common/media.proto +27 -0
- package/@wix/ambassador-fedinfra-exportservice-v1-export-async-job/src/main/proto/wix/common/tags.proto +2 -2
- package/@wix/ambassador-fedinfra-exportservice-v1-export-async-job/src/main/proto/wix/inventory/api/v1/internal/locationRemoval.proto +1 -1
- package/@wix/ambassador-fedinfra-exportservice-v1-export-async-job/src/main/proto/wix/payment/api/pay/v2/accounts.proto +18 -0
- package/@wix/ambassador-fedinfra-exportservice-v1-export-async-job/src/main/proto/wix/payment/api/pay/v2/payment-methods.proto +22 -10
- package/@wix/ambassador-fedinfra-exportservice-v1-export-async-job/src/main/proto/wix/payment/api/pay/v2/payments.proto +1 -0
- package/@wix/ambassador-fedinfra-exportservice-v1-export-async-job/src/main/proto/wix/payment/api/pay/v2/paypal-payment-method.proto +3 -0
- package/@wix/ambassador-fedinfra-exportservice-v1-export-async-job/src/main/proto/wix/payment/api/pay/v2/resources/order-description.proto +1 -1
- package/@wix/ambassador-fedinfra-exportservice-v1-export-async-job/src/main/proto/wix/payment/api/pay/v2/resources/payment-method.proto +58 -35
- package/@wix/ambassador-fedinfra-exportservice-v1-export-async-job/src/main/proto/wix/payment/api/pay/v2/resources/payment.proto +4 -0
- package/@wix/ambassador-fedinfra-exportservice-v1-export-async-job/src/main/proto/wix/payment/api/pay/v3/resources/transaction.proto +4 -1
- package/@wix/ambassador-fedinfra-exportservice-v1-export-async-job/src/main/proto/wix/stores/catalog/provision/v1/provision_action_events.proto +1 -1
- package/@wix/ambassador-fedinfra-exportservice-v1-export-async-job/src/main/proto/wix/stores/catalog/provision/v1/stores_provision_service.proto +51 -4
- package/@wix/ambassador-infra-asyncjobs-v1-async-job/build/cjs/proto/proto-generated.js +19 -2
- package/@wix/ambassador-infra-asyncjobs-v1-async-job/package.json +2 -2
- package/@wix/ambassador-items-selection-spi-host-v1-provider/build/cjs/proto/client/proto-generated.d.ts +30 -0
- package/@wix/ambassador-items-selection-spi-host-v1-provider/build/cjs/proto/proto-generated.d.ts +15 -0
- package/@wix/ambassador-items-selection-spi-host-v1-provider/build/cjs/proto/proto-generated.js +188 -2
- package/@wix/ambassador-items-selection-spi-host-v1-provider/build/cjs/proto/server/proto-generated.d.ts +30 -0
- package/@wix/ambassador-items-selection-spi-host-v1-provider/package.json +2 -2
- package/@wix/ambassador-items-selection-spi-host-v1-provider/src/main/proto/wix/api/annotations.proto +6 -6
- package/@wix/ambassador-items-selection-spi-host-v1-provider/src/main/proto/wix/api/api_errors.proto +48 -23
- package/@wix/ambassador-items-selection-spi-host-v1-provider/src/main/proto/wix/api/entity.proto +3 -4
- package/@wix/ambassador-items-selection-spi-host-v1-provider/src/main/proto/wix/api/sla.proto +1 -1
- package/@wix/ambassador-media-site-media-v1-file-descriptor/build/cjs/proto/proto-generated.js +25 -2
- package/@wix/ambassador-media-site-media-v1-file-descriptor/package.json +2 -2
- package/@wix/ambassador-os-tags-v1-tag/build/cjs/proto/client/proto-generated.d.ts +56 -0
- package/@wix/ambassador-os-tags-v1-tag/build/cjs/proto/proto-generated.d.ts +28 -0
- package/@wix/ambassador-os-tags-v1-tag/build/cjs/proto/proto-generated.js +348 -6
- package/@wix/ambassador-os-tags-v1-tag/build/cjs/proto/server/proto-generated.d.ts +56 -0
- package/@wix/ambassador-os-tags-v1-tag/package.json +2 -2
- package/@wix/ambassador-os-tags-v1-tag/src/main/proto/src/main/proto/com/wixpress/items_selection/spi/v1/items_selection_config.proto +1 -0
- package/@wix/ambassador-os-tags-v1-tag/src/main/proto/wix/api/annotations.proto +9 -6
- package/@wix/ambassador-os-tags-v1-tag/src/main/proto/wix/api/api_errors.proto +48 -23
- package/@wix/ambassador-os-tags-v1-tag/src/main/proto/wix/api/entity.proto +9 -4
- package/@wix/ambassador-os-tags-v1-tag/src/main/proto/wix/api/sla.proto +1 -1
- package/@wix/bex-bundled-mini-essentials/CHANGELOG.md +4 -0
- package/@wix/bex-bundled-mini-essentials/dist/cjs/bex-bundled-mini-essentials.js +75 -76
- package/@wix/bex-bundled-mini-essentials/dist/cjs/bex-bundled-mini-essentials.js.map +1 -1
- package/@wix/bex-bundled-mini-essentials/dist/cjs/exports/testkit/index.js +74 -75
- package/@wix/bex-bundled-mini-essentials/dist/cjs/exports/testkit/index.js.map +1 -1
- package/@wix/bex-bundled-mini-essentials/dist/esm/bex-bundled-mini-essentials.js +179 -18
- package/@wix/bex-bundled-mini-essentials/dist/esm/bex-bundled-mini-essentials.js.map +1 -1
- package/@wix/bex-bundled-mini-essentials/dist/esm/{chunk-JWE2D5DY.js → chunk-PLDDJCW6.js} +2 -12
- package/@wix/bex-bundled-mini-essentials/dist/esm/chunk-PLDDJCW6.js.map +1 -0
- package/@wix/bex-bundled-mini-essentials/dist/esm/chunk-U24CPPEA.js +17 -0
- package/@wix/bex-bundled-mini-essentials/dist/esm/chunk-U24CPPEA.js.map +1 -0
- package/@wix/bex-bundled-mini-essentials/dist/esm/common-errors_ar-LFVNFS2J.js +34 -0
- package/@wix/bex-bundled-mini-essentials/dist/esm/common-errors_ar-LFVNFS2J.js.map +1 -0
- package/@wix/bex-bundled-mini-essentials/dist/esm/common-errors_bg-MTXA6CZY.js +34 -0
- package/@wix/bex-bundled-mini-essentials/dist/esm/common-errors_bg-MTXA6CZY.js.map +1 -0
- package/@wix/bex-bundled-mini-essentials/dist/esm/common-errors_ca-HJPWMPW7.js +34 -0
- package/@wix/bex-bundled-mini-essentials/dist/esm/common-errors_ca-HJPWMPW7.js.map +1 -0
- package/@wix/bex-bundled-mini-essentials/dist/esm/common-errors_cs-K37PKR2K.js +34 -0
- package/@wix/bex-bundled-mini-essentials/dist/esm/common-errors_cs-K37PKR2K.js.map +1 -0
- package/@wix/bex-bundled-mini-essentials/dist/esm/common-errors_da-25IK43OO.js +34 -0
- package/@wix/bex-bundled-mini-essentials/dist/esm/common-errors_da-25IK43OO.js.map +1 -0
- package/@wix/bex-bundled-mini-essentials/dist/esm/common-errors_de-AYRUO363.js +34 -0
- package/@wix/bex-bundled-mini-essentials/dist/esm/common-errors_de-AYRUO363.js.map +1 -0
- package/@wix/bex-bundled-mini-essentials/dist/esm/common-errors_el-2AGQO6PX.js +34 -0
- package/@wix/bex-bundled-mini-essentials/dist/esm/common-errors_el-2AGQO6PX.js.map +1 -0
- package/@wix/bex-bundled-mini-essentials/dist/esm/common-errors_en-JO2G7ZCY.js +34 -0
- package/@wix/bex-bundled-mini-essentials/dist/esm/common-errors_en-JO2G7ZCY.js.map +1 -0
- package/@wix/bex-bundled-mini-essentials/dist/esm/common-errors_es-JK5COTEN.js +34 -0
- package/@wix/bex-bundled-mini-essentials/dist/esm/common-errors_es-JK5COTEN.js.map +1 -0
- package/@wix/bex-bundled-mini-essentials/dist/esm/common-errors_fi-PYXR5MB3.js +34 -0
- package/@wix/bex-bundled-mini-essentials/dist/esm/common-errors_fi-PYXR5MB3.js.map +1 -0
- package/@wix/bex-bundled-mini-essentials/dist/esm/common-errors_fr-YKEZIBKX.js +34 -0
- package/@wix/bex-bundled-mini-essentials/dist/esm/common-errors_fr-YKEZIBKX.js.map +1 -0
- package/@wix/bex-bundled-mini-essentials/dist/esm/common-errors_he-EMKYOLAN.js +34 -0
- package/@wix/bex-bundled-mini-essentials/dist/esm/common-errors_he-EMKYOLAN.js.map +1 -0
- package/@wix/bex-bundled-mini-essentials/dist/esm/common-errors_hi-AV4BWUTE.js +34 -0
- package/@wix/bex-bundled-mini-essentials/dist/esm/common-errors_hi-AV4BWUTE.js.map +1 -0
- package/@wix/bex-bundled-mini-essentials/dist/esm/common-errors_hr-RWY64K7L.js +34 -0
- package/@wix/bex-bundled-mini-essentials/dist/esm/common-errors_hr-RWY64K7L.js.map +1 -0
- package/@wix/bex-bundled-mini-essentials/dist/esm/common-errors_hu-QBBCBMMB.js +34 -0
- package/@wix/bex-bundled-mini-essentials/dist/esm/common-errors_hu-QBBCBMMB.js.map +1 -0
- package/@wix/bex-bundled-mini-essentials/dist/esm/common-errors_id-VP4LUR36.js +34 -0
- package/@wix/bex-bundled-mini-essentials/dist/esm/common-errors_id-VP4LUR36.js.map +1 -0
- package/@wix/bex-bundled-mini-essentials/dist/esm/common-errors_it-FYZ75MT3.js +34 -0
- package/@wix/bex-bundled-mini-essentials/dist/esm/common-errors_it-FYZ75MT3.js.map +1 -0
- package/@wix/bex-bundled-mini-essentials/dist/esm/common-errors_ja-VQB44ZSI.js +34 -0
- package/@wix/bex-bundled-mini-essentials/dist/esm/common-errors_ja-VQB44ZSI.js.map +1 -0
- package/@wix/bex-bundled-mini-essentials/dist/esm/common-errors_ko-GHHT3DGY.js +34 -0
- package/@wix/bex-bundled-mini-essentials/dist/esm/common-errors_ko-GHHT3DGY.js.map +1 -0
- package/@wix/bex-bundled-mini-essentials/dist/esm/common-errors_lt-4KBOUDLP.js +34 -0
- package/@wix/bex-bundled-mini-essentials/dist/esm/common-errors_lt-4KBOUDLP.js.map +1 -0
- package/@wix/bex-bundled-mini-essentials/dist/esm/common-errors_lv-WBN6RFLD.js +34 -0
- package/@wix/bex-bundled-mini-essentials/dist/esm/common-errors_lv-WBN6RFLD.js.map +1 -0
- package/@wix/bex-bundled-mini-essentials/dist/esm/common-errors_ms-VBHOWK2S.js +34 -0
- package/@wix/bex-bundled-mini-essentials/dist/esm/common-errors_ms-VBHOWK2S.js.map +1 -0
- package/@wix/bex-bundled-mini-essentials/dist/esm/common-errors_nl-3KFJZWBJ.js +34 -0
- package/@wix/bex-bundled-mini-essentials/dist/esm/common-errors_nl-3KFJZWBJ.js.map +1 -0
- package/@wix/bex-bundled-mini-essentials/dist/esm/common-errors_no-POPCNM5W.js +34 -0
- package/@wix/bex-bundled-mini-essentials/dist/esm/common-errors_no-POPCNM5W.js.map +1 -0
- package/@wix/bex-bundled-mini-essentials/dist/esm/common-errors_pl-LZDZDDVF.js +34 -0
- package/@wix/bex-bundled-mini-essentials/dist/esm/common-errors_pl-LZDZDDVF.js.map +1 -0
- package/@wix/bex-bundled-mini-essentials/dist/esm/common-errors_pt-HNERKNLL.js +34 -0
- package/@wix/bex-bundled-mini-essentials/dist/esm/common-errors_pt-HNERKNLL.js.map +1 -0
- package/@wix/bex-bundled-mini-essentials/dist/esm/common-errors_ro-LYELKOPQ.js +34 -0
- package/@wix/bex-bundled-mini-essentials/dist/esm/common-errors_ro-LYELKOPQ.js.map +1 -0
- package/@wix/bex-bundled-mini-essentials/dist/esm/common-errors_ru-BPN44ZV3.js +34 -0
- package/@wix/bex-bundled-mini-essentials/dist/esm/common-errors_ru-BPN44ZV3.js.map +1 -0
- package/@wix/bex-bundled-mini-essentials/dist/esm/common-errors_sk-MVMGHSRL.js +34 -0
- package/@wix/bex-bundled-mini-essentials/dist/esm/common-errors_sk-MVMGHSRL.js.map +1 -0
- package/@wix/bex-bundled-mini-essentials/dist/esm/common-errors_sl-CHPXKGNR.js +34 -0
- package/@wix/bex-bundled-mini-essentials/dist/esm/common-errors_sl-CHPXKGNR.js.map +1 -0
- package/@wix/bex-bundled-mini-essentials/dist/esm/common-errors_sv-HUVTDCQI.js +34 -0
- package/@wix/bex-bundled-mini-essentials/dist/esm/common-errors_sv-HUVTDCQI.js.map +1 -0
- package/@wix/bex-bundled-mini-essentials/dist/esm/common-errors_th-E2G5DJHR.js +34 -0
- package/@wix/bex-bundled-mini-essentials/dist/esm/common-errors_th-E2G5DJHR.js.map +1 -0
- package/@wix/bex-bundled-mini-essentials/dist/esm/common-errors_tl-LPFJRVGY.js +34 -0
- package/@wix/bex-bundled-mini-essentials/dist/esm/common-errors_tl-LPFJRVGY.js.map +1 -0
- package/@wix/bex-bundled-mini-essentials/dist/esm/common-errors_tr-XY5HGJCR.js +34 -0
- package/@wix/bex-bundled-mini-essentials/dist/esm/common-errors_tr-XY5HGJCR.js.map +1 -0
- package/@wix/bex-bundled-mini-essentials/dist/esm/common-errors_uk-SWUOAG7Y.js +34 -0
- package/@wix/bex-bundled-mini-essentials/dist/esm/common-errors_uk-SWUOAG7Y.js.map +1 -0
- package/@wix/bex-bundled-mini-essentials/dist/esm/common-errors_vi-VPQ7J3CX.js +34 -0
- package/@wix/bex-bundled-mini-essentials/dist/esm/common-errors_vi-VPQ7J3CX.js.map +1 -0
- package/@wix/bex-bundled-mini-essentials/dist/esm/common-errors_zh-APZYKKMZ.js +34 -0
- package/@wix/bex-bundled-mini-essentials/dist/esm/common-errors_zh-APZYKKMZ.js.map +1 -0
- package/@wix/bex-bundled-mini-essentials/dist/esm/{commonErrorsMapping-7MKNYHWZ.js → commonErrorsMapping-5KWGHRDR.js} +3 -2
- package/@wix/bex-bundled-mini-essentials/dist/esm/{commonErrorsMapping-7MKNYHWZ.js.map → commonErrorsMapping-5KWGHRDR.js.map} +1 -1
- package/@wix/bex-bundled-mini-essentials/dist/esm/exports/testkit/{chunk-JWE2D5DY.js → chunk-PLDDJCW6.js} +2 -12
- package/@wix/bex-bundled-mini-essentials/dist/esm/exports/testkit/chunk-PLDDJCW6.js.map +1 -0
- package/@wix/bex-bundled-mini-essentials/dist/esm/exports/testkit/chunk-U24CPPEA.js +17 -0
- package/@wix/bex-bundled-mini-essentials/dist/esm/exports/testkit/chunk-U24CPPEA.js.map +1 -0
- package/@wix/bex-bundled-mini-essentials/dist/esm/exports/testkit/common-errors_ar-LI5PLBCE.js +34 -0
- package/@wix/bex-bundled-mini-essentials/dist/esm/exports/testkit/common-errors_ar-LI5PLBCE.js.map +1 -0
- package/@wix/bex-bundled-mini-essentials/dist/esm/exports/testkit/common-errors_bg-EAZSERQM.js +34 -0
- package/@wix/bex-bundled-mini-essentials/dist/esm/exports/testkit/common-errors_bg-EAZSERQM.js.map +1 -0
- package/@wix/bex-bundled-mini-essentials/dist/esm/exports/testkit/common-errors_ca-4664Z5VP.js +34 -0
- package/@wix/bex-bundled-mini-essentials/dist/esm/exports/testkit/common-errors_ca-4664Z5VP.js.map +1 -0
- package/@wix/bex-bundled-mini-essentials/dist/esm/exports/testkit/common-errors_cs-G3MWE2Q6.js +34 -0
- package/@wix/bex-bundled-mini-essentials/dist/esm/exports/testkit/common-errors_cs-G3MWE2Q6.js.map +1 -0
- package/@wix/bex-bundled-mini-essentials/dist/esm/exports/testkit/common-errors_da-4RUYZUII.js +34 -0
- package/@wix/bex-bundled-mini-essentials/dist/esm/exports/testkit/common-errors_da-4RUYZUII.js.map +1 -0
- package/@wix/bex-bundled-mini-essentials/dist/esm/exports/testkit/common-errors_de-X4Z6ZVR4.js +34 -0
- package/@wix/bex-bundled-mini-essentials/dist/esm/exports/testkit/common-errors_de-X4Z6ZVR4.js.map +1 -0
- package/@wix/bex-bundled-mini-essentials/dist/esm/exports/testkit/common-errors_el-HQDITK35.js +34 -0
- package/@wix/bex-bundled-mini-essentials/dist/esm/exports/testkit/common-errors_el-HQDITK35.js.map +1 -0
- package/@wix/bex-bundled-mini-essentials/dist/esm/exports/testkit/common-errors_en-4WNVKTLH.js +34 -0
- package/@wix/bex-bundled-mini-essentials/dist/esm/exports/testkit/common-errors_en-4WNVKTLH.js.map +1 -0
- package/@wix/bex-bundled-mini-essentials/dist/esm/exports/testkit/common-errors_es-S4CSVRF4.js +34 -0
- package/@wix/bex-bundled-mini-essentials/dist/esm/exports/testkit/common-errors_es-S4CSVRF4.js.map +1 -0
- package/@wix/bex-bundled-mini-essentials/dist/esm/exports/testkit/common-errors_fi-66WNHES2.js +34 -0
- package/@wix/bex-bundled-mini-essentials/dist/esm/exports/testkit/common-errors_fi-66WNHES2.js.map +1 -0
- package/@wix/bex-bundled-mini-essentials/dist/esm/exports/testkit/common-errors_fr-6WVI4CGQ.js +34 -0
- package/@wix/bex-bundled-mini-essentials/dist/esm/exports/testkit/common-errors_fr-6WVI4CGQ.js.map +1 -0
- package/@wix/bex-bundled-mini-essentials/dist/esm/exports/testkit/common-errors_he-XYP5Q7TU.js +34 -0
- package/@wix/bex-bundled-mini-essentials/dist/esm/exports/testkit/common-errors_he-XYP5Q7TU.js.map +1 -0
- package/@wix/bex-bundled-mini-essentials/dist/esm/exports/testkit/common-errors_hi-DNO4U56U.js +34 -0
- package/@wix/bex-bundled-mini-essentials/dist/esm/exports/testkit/common-errors_hi-DNO4U56U.js.map +1 -0
- package/@wix/bex-bundled-mini-essentials/dist/esm/exports/testkit/common-errors_hr-G4SFS5WC.js +34 -0
- package/@wix/bex-bundled-mini-essentials/dist/esm/exports/testkit/common-errors_hr-G4SFS5WC.js.map +1 -0
- package/@wix/bex-bundled-mini-essentials/dist/esm/exports/testkit/common-errors_hu-O7ZZSS77.js +34 -0
- package/@wix/bex-bundled-mini-essentials/dist/esm/exports/testkit/common-errors_hu-O7ZZSS77.js.map +1 -0
- package/@wix/bex-bundled-mini-essentials/dist/esm/exports/testkit/common-errors_id-EUSRMGPH.js +34 -0
- package/@wix/bex-bundled-mini-essentials/dist/esm/exports/testkit/common-errors_id-EUSRMGPH.js.map +1 -0
- package/@wix/bex-bundled-mini-essentials/dist/esm/exports/testkit/common-errors_it-FR4XJ2UY.js +34 -0
- package/@wix/bex-bundled-mini-essentials/dist/esm/exports/testkit/common-errors_it-FR4XJ2UY.js.map +1 -0
- package/@wix/bex-bundled-mini-essentials/dist/esm/exports/testkit/common-errors_ja-I3S37S6K.js +34 -0
- package/@wix/bex-bundled-mini-essentials/dist/esm/exports/testkit/common-errors_ja-I3S37S6K.js.map +1 -0
- package/@wix/bex-bundled-mini-essentials/dist/esm/exports/testkit/common-errors_ko-UPYLEFHG.js +34 -0
- package/@wix/bex-bundled-mini-essentials/dist/esm/exports/testkit/common-errors_ko-UPYLEFHG.js.map +1 -0
- package/@wix/bex-bundled-mini-essentials/dist/esm/exports/testkit/common-errors_lt-IL7XCZWC.js +34 -0
- package/@wix/bex-bundled-mini-essentials/dist/esm/exports/testkit/common-errors_lt-IL7XCZWC.js.map +1 -0
- package/@wix/bex-bundled-mini-essentials/dist/esm/exports/testkit/common-errors_lv-5WARGCFT.js +34 -0
- package/@wix/bex-bundled-mini-essentials/dist/esm/exports/testkit/common-errors_lv-5WARGCFT.js.map +1 -0
- package/@wix/bex-bundled-mini-essentials/dist/esm/exports/testkit/common-errors_ms-OEGKBHNP.js +34 -0
- package/@wix/bex-bundled-mini-essentials/dist/esm/exports/testkit/common-errors_ms-OEGKBHNP.js.map +1 -0
- package/@wix/bex-bundled-mini-essentials/dist/esm/exports/testkit/common-errors_nl-ZNCTPA5K.js +34 -0
- package/@wix/bex-bundled-mini-essentials/dist/esm/exports/testkit/common-errors_nl-ZNCTPA5K.js.map +1 -0
- package/@wix/bex-bundled-mini-essentials/dist/esm/exports/testkit/common-errors_no-ZNR5WII7.js +34 -0
- package/@wix/bex-bundled-mini-essentials/dist/esm/exports/testkit/common-errors_no-ZNR5WII7.js.map +1 -0
- package/@wix/bex-bundled-mini-essentials/dist/esm/exports/testkit/common-errors_pl-IATLIMD7.js +34 -0
- package/@wix/bex-bundled-mini-essentials/dist/esm/exports/testkit/common-errors_pl-IATLIMD7.js.map +1 -0
- package/@wix/bex-bundled-mini-essentials/dist/esm/exports/testkit/common-errors_pt-CZJC55AS.js +34 -0
- package/@wix/bex-bundled-mini-essentials/dist/esm/exports/testkit/common-errors_pt-CZJC55AS.js.map +1 -0
- package/@wix/bex-bundled-mini-essentials/dist/esm/exports/testkit/common-errors_ro-YPF7DRHV.js +34 -0
- package/@wix/bex-bundled-mini-essentials/dist/esm/exports/testkit/common-errors_ro-YPF7DRHV.js.map +1 -0
- package/@wix/bex-bundled-mini-essentials/dist/esm/exports/testkit/common-errors_ru-BABYGSK2.js +34 -0
- package/@wix/bex-bundled-mini-essentials/dist/esm/exports/testkit/common-errors_ru-BABYGSK2.js.map +1 -0
- package/@wix/bex-bundled-mini-essentials/dist/esm/exports/testkit/common-errors_sk-KWTQONBZ.js +34 -0
- package/@wix/bex-bundled-mini-essentials/dist/esm/exports/testkit/common-errors_sk-KWTQONBZ.js.map +1 -0
- package/@wix/bex-bundled-mini-essentials/dist/esm/exports/testkit/common-errors_sl-VUU4FSWX.js +34 -0
- package/@wix/bex-bundled-mini-essentials/dist/esm/exports/testkit/common-errors_sl-VUU4FSWX.js.map +1 -0
- package/@wix/bex-bundled-mini-essentials/dist/esm/exports/testkit/common-errors_sv-UWKCHNXS.js +34 -0
- package/@wix/bex-bundled-mini-essentials/dist/esm/exports/testkit/common-errors_sv-UWKCHNXS.js.map +1 -0
- package/@wix/bex-bundled-mini-essentials/dist/esm/exports/testkit/common-errors_th-UTG67YBV.js +34 -0
- package/@wix/bex-bundled-mini-essentials/dist/esm/exports/testkit/common-errors_th-UTG67YBV.js.map +1 -0
- package/@wix/bex-bundled-mini-essentials/dist/esm/exports/testkit/common-errors_tl-WRTF63WQ.js +34 -0
- package/@wix/bex-bundled-mini-essentials/dist/esm/exports/testkit/common-errors_tl-WRTF63WQ.js.map +1 -0
- package/@wix/bex-bundled-mini-essentials/dist/esm/exports/testkit/common-errors_tr-ZMY3LDT3.js +34 -0
- package/@wix/bex-bundled-mini-essentials/dist/esm/exports/testkit/common-errors_tr-ZMY3LDT3.js.map +1 -0
- package/@wix/bex-bundled-mini-essentials/dist/esm/exports/testkit/common-errors_uk-E2C35BJA.js +34 -0
- package/@wix/bex-bundled-mini-essentials/dist/esm/exports/testkit/common-errors_uk-E2C35BJA.js.map +1 -0
- package/@wix/bex-bundled-mini-essentials/dist/esm/exports/testkit/common-errors_vi-QPEKTVXS.js +34 -0
- package/@wix/bex-bundled-mini-essentials/dist/esm/exports/testkit/common-errors_vi-QPEKTVXS.js.map +1 -0
- package/@wix/bex-bundled-mini-essentials/dist/esm/exports/testkit/common-errors_zh-L26NOAI4.js +34 -0
- package/@wix/bex-bundled-mini-essentials/dist/esm/exports/testkit/common-errors_zh-L26NOAI4.js.map +1 -0
- package/@wix/bex-bundled-mini-essentials/dist/esm/exports/testkit/{commonErrorsMapping-JNGN3KHR.js → commonErrorsMapping-KHPEVC5F.js} +3 -2
- package/@wix/bex-bundled-mini-essentials/dist/esm/exports/testkit/{commonErrorsMapping-JNGN3KHR.js.map → commonErrorsMapping-KHPEVC5F.js.map} +1 -1
- package/@wix/bex-bundled-mini-essentials/dist/esm/exports/testkit/index.js +178 -17
- package/@wix/bex-bundled-mini-essentials/dist/esm/exports/testkit/index.js.map +1 -1
- package/@wix/bex-bundled-mini-essentials/dist/tsconfig.tsbuildinfo +1 -1
- package/@wix/bex-bundled-mini-essentials/package.json +1 -1
- package/@wix/bi-logger-os-data/dist/cjs/index.js +3 -0
- package/@wix/bi-logger-os-data/dist/cjs/index.js.map +1 -1
- package/@wix/bi-logger-os-data/dist/cjs/testkit/client-testkit.js +3 -0
- package/@wix/bi-logger-os-data/dist/cjs/testkit/client-testkit.js.map +1 -1
- package/@wix/bi-logger-os-data/dist/cjs/testkit/common.js +92 -21
- package/@wix/bi-logger-os-data/dist/cjs/testkit/common.js.map +1 -1
- package/@wix/bi-logger-os-data/dist/cjs/testkit/node-testkit.js +3 -0
- package/@wix/bi-logger-os-data/dist/cjs/testkit/node-testkit.js.map +1 -1
- package/@wix/bi-logger-os-data/dist/cjs/v2/index.js +50 -20
- package/@wix/bi-logger-os-data/dist/cjs/v2/index.js.map +1 -1
- package/@wix/bi-logger-os-data/dist/esm/index.js +3 -0
- package/@wix/bi-logger-os-data/dist/esm/index.js.map +1 -1
- package/@wix/bi-logger-os-data/dist/esm/testkit/client-testkit.js +3 -0
- package/@wix/bi-logger-os-data/dist/esm/testkit/client-testkit.js.map +1 -1
- package/@wix/bi-logger-os-data/dist/esm/testkit/common.js +92 -21
- package/@wix/bi-logger-os-data/dist/esm/testkit/common.js.map +1 -1
- package/@wix/bi-logger-os-data/dist/esm/testkit/node-testkit.js +3 -0
- package/@wix/bi-logger-os-data/dist/esm/testkit/node-testkit.js.map +1 -1
- package/@wix/bi-logger-os-data/dist/esm/v2/index.js +35 -6
- package/@wix/bi-logger-os-data/dist/esm/v2/index.js.map +1 -1
- package/@wix/bi-logger-os-data/dist/types/index.d.ts +3 -2
- package/@wix/bi-logger-os-data/dist/types/testkit/client-testkit.d.ts +21 -6
- package/@wix/bi-logger-os-data/dist/types/testkit/node-testkit.d.ts +21 -6
- package/@wix/bi-logger-os-data/dist/types/types.d.ts +21 -6
- package/@wix/bi-logger-os-data/dist/types/v2/index.d.ts +34 -7
- package/@wix/bi-logger-os-data/package.json +2 -2
- package/@wix/bi-logger-os-data/src/index.ts +6 -2
- package/@wix/bi-logger-os-data/src/testkit/client-testkit.ts +22 -6
- package/@wix/bi-logger-os-data/src/testkit/common.ts +105 -22
- package/@wix/bi-logger-os-data/src/testkit/node-testkit.ts +22 -6
- package/@wix/bi-logger-os-data/src/types.ts +44 -12
- package/@wix/bi-logger-os-data/src/v2/index.ts +37 -7
- package/package.json +3 -3
- package/@wix/bex-bundled-mini-essentials/dist/esm/chunk-JWE2D5DY.js.map +0 -1
- package/@wix/bex-bundled-mini-essentials/dist/esm/exports/testkit/chunk-JWE2D5DY.js.map +0 -1
|
@@ -1,5 +1,8 @@
|
|
|
1
1
|
export interface ExportAsyncJob {
|
|
2
|
-
/**
|
|
2
|
+
/**
|
|
3
|
+
* @format GUID
|
|
4
|
+
* @readonly
|
|
5
|
+
*/
|
|
3
6
|
id?: string;
|
|
4
7
|
data?: ExportAsyncJobData;
|
|
5
8
|
status?: Status;
|
|
@@ -22,6 +25,7 @@ export interface ExportAsyncJobData {
|
|
|
22
25
|
subDir?: string | null;
|
|
23
26
|
format?: string;
|
|
24
27
|
uploadId?: string;
|
|
28
|
+
/** @maxLength 255 */
|
|
25
29
|
saveAs?: string | null;
|
|
26
30
|
/** the progress of fetching all data update during the process multiple times */
|
|
27
31
|
pagingMetadata?: PagingMetadataV2;
|
|
@@ -68,7 +72,10 @@ export interface ExportQueryV2PagingMethodOneOf {
|
|
|
68
72
|
cursorPaging?: ExportCursorPaging;
|
|
69
73
|
}
|
|
70
74
|
export interface Sorting {
|
|
71
|
-
/**
|
|
75
|
+
/**
|
|
76
|
+
* Name of the field to sort by.
|
|
77
|
+
* @maxLength 512
|
|
78
|
+
*/
|
|
72
79
|
fieldName?: string;
|
|
73
80
|
/** Sort order. */
|
|
74
81
|
order?: SortOrder;
|
|
@@ -83,6 +90,7 @@ export interface Sorting {
|
|
|
83
90
|
* and `nestedField` is marked as `MATCH_ITEMS`, to ensure that sorting is done by correct region, filter should be
|
|
84
91
|
* { fieldName: "nestedField.price", "select_items_by": [{"nestedField.region": "US"}] }
|
|
85
92
|
* @internal
|
|
93
|
+
* @maxSize 10
|
|
86
94
|
*/
|
|
87
95
|
selectItemsBy?: Record<string, any>[] | null;
|
|
88
96
|
}
|
|
@@ -97,6 +105,7 @@ export interface Paging {
|
|
|
97
105
|
offset?: number | null;
|
|
98
106
|
}
|
|
99
107
|
export interface ExportCursorPaging {
|
|
108
|
+
/** @max 10000 */
|
|
100
109
|
limit?: number | null;
|
|
101
110
|
cursor?: string | null;
|
|
102
111
|
}
|
|
@@ -153,9 +162,15 @@ export interface PagingMetadataV2 {
|
|
|
153
162
|
hasNext?: boolean | null;
|
|
154
163
|
}
|
|
155
164
|
export interface Cursors {
|
|
156
|
-
/**
|
|
165
|
+
/**
|
|
166
|
+
* Cursor string pointing to the next page in the list of results.
|
|
167
|
+
* @maxLength 16000
|
|
168
|
+
*/
|
|
157
169
|
next?: string | null;
|
|
158
|
-
/**
|
|
170
|
+
/**
|
|
171
|
+
* Cursor pointing to the previous page in the list of results.
|
|
172
|
+
* @maxLength 16000
|
|
173
|
+
*/
|
|
159
174
|
prev?: string | null;
|
|
160
175
|
}
|
|
161
176
|
export interface Details extends DetailsKindOneOf {
|
|
@@ -237,7 +252,8 @@ export declare enum RuleType {
|
|
|
237
252
|
FIELD_NOT_ALLOWED = "FIELD_NOT_ALLOWED",
|
|
238
253
|
ONE_OF_ALIGNMENT = "ONE_OF_ALIGNMENT",
|
|
239
254
|
EXACT_LENGTH = "EXACT_LENGTH",
|
|
240
|
-
EXACT_SIZE = "EXACT_SIZE"
|
|
255
|
+
EXACT_SIZE = "EXACT_SIZE",
|
|
256
|
+
REQUIRED_ONE_OF_FIELD = "REQUIRED_ONE_OF_FIELD"
|
|
241
257
|
}
|
|
242
258
|
export interface FieldViolation {
|
|
243
259
|
field?: string;
|
|
@@ -272,6 +288,7 @@ export interface CreateExportAsyncJobRequest {
|
|
|
272
288
|
methodMetadata: MethodMetadata;
|
|
273
289
|
/** The target method to query data from */
|
|
274
290
|
methodSpec?: MethodSpec;
|
|
291
|
+
/** @maxLength 255 */
|
|
275
292
|
saveAs?: string | null;
|
|
276
293
|
/** Test params */
|
|
277
294
|
testParams?: Record<string, any> | null;
|
|
@@ -281,7 +298,10 @@ export interface CreateExportAsyncJobResponse {
|
|
|
281
298
|
job?: ExportAsyncJob;
|
|
282
299
|
}
|
|
283
300
|
export interface GetExportAsyncJobRequest {
|
|
284
|
-
/**
|
|
301
|
+
/**
|
|
302
|
+
* Id of the Export to retrieve
|
|
303
|
+
* @format GUID
|
|
304
|
+
*/
|
|
285
305
|
jobId: string;
|
|
286
306
|
}
|
|
287
307
|
export interface GetExportAsyncJobResponse {
|
|
@@ -289,7 +309,10 @@ export interface GetExportAsyncJobResponse {
|
|
|
289
309
|
job?: ExportAsyncJob;
|
|
290
310
|
}
|
|
291
311
|
export interface CancelExportAsyncJobRequest {
|
|
292
|
-
/**
|
|
312
|
+
/**
|
|
313
|
+
* Id of the Export to retrieve
|
|
314
|
+
* @format GUID
|
|
315
|
+
*/
|
|
293
316
|
jobId: string;
|
|
294
317
|
}
|
|
295
318
|
export interface CancelExportAsyncJobResponse {
|
|
@@ -297,7 +320,10 @@ export interface CancelExportAsyncJobResponse {
|
|
|
297
320
|
job?: ExportAsyncJob;
|
|
298
321
|
}
|
|
299
322
|
export interface GenerateExportAsyncJobDownloadUrlRequest {
|
|
300
|
-
/**
|
|
323
|
+
/**
|
|
324
|
+
* Id of the Export to retrieve
|
|
325
|
+
* @format GUID
|
|
326
|
+
*/
|
|
301
327
|
jobId: string;
|
|
302
328
|
}
|
|
303
329
|
export interface GenerateExportAsyncJobDownloadUrlResponse {
|
|
@@ -328,19 +354,33 @@ export interface Product {
|
|
|
328
354
|
*
|
|
329
355
|
* Min: 1 character
|
|
330
356
|
* Max: 80 characters
|
|
357
|
+
* @minLength 1
|
|
358
|
+
* @maxLength 80
|
|
331
359
|
*/
|
|
332
360
|
name?: string | null;
|
|
333
|
-
/**
|
|
361
|
+
/**
|
|
362
|
+
* A friendly URL name (generated automatically by the catalog when a product is created), can be updated.
|
|
363
|
+
* @maxLength 100
|
|
364
|
+
*/
|
|
334
365
|
slug?: string;
|
|
335
366
|
/** Whether the product is visible to site visitors. */
|
|
336
367
|
visible?: boolean | null;
|
|
337
368
|
/** Currently, only creating physical products ( `"productType": "physical"` ) is supported via the API. */
|
|
338
369
|
productType?: ProductType;
|
|
339
|
-
/**
|
|
370
|
+
/**
|
|
371
|
+
* Product description. Accepts [rich text](https://dev.wix.com/api/rest/wix-stores/rich-text).
|
|
372
|
+
* @maxLength 8000
|
|
373
|
+
*/
|
|
340
374
|
description?: string | null;
|
|
341
|
-
/**
|
|
375
|
+
/**
|
|
376
|
+
* Stock keeping unit. If [variant management](https://support.wix.com/en/article/wix-stores-adding-and-customizing-product-options#setting-different-prices-for-variants) is enabled, SKUs will be set per variant, and this field will be empty.
|
|
377
|
+
* @maxLength 40
|
|
378
|
+
*/
|
|
342
379
|
sku?: string | null;
|
|
343
|
-
/**
|
|
380
|
+
/**
|
|
381
|
+
* Product weight. If [variant management](https://support.wix.com/en/article/wix-stores-adding-and-customizing-product-options#setting-different-prices-for-variants) is enabled, weight will be set per variant, and this field will be empty.
|
|
382
|
+
* @max 999999999.99
|
|
383
|
+
*/
|
|
344
384
|
weight?: number | null;
|
|
345
385
|
/**
|
|
346
386
|
* Product weight range. The minimum and maximum weights of all the variants.
|
|
@@ -399,7 +439,10 @@ export interface Product {
|
|
|
399
439
|
customTextFields?: CustomTextField[];
|
|
400
440
|
/** Whether variants are being managed for this product - enables unique SKU, price and weight per variant. Also affects inventory data. */
|
|
401
441
|
manageVariants?: boolean | null;
|
|
402
|
-
/**
|
|
442
|
+
/**
|
|
443
|
+
* Options for this product.
|
|
444
|
+
* @maxSize 6
|
|
445
|
+
*/
|
|
403
446
|
productOptions?: ProductOption[];
|
|
404
447
|
/**
|
|
405
448
|
* Product page URL for this product (generated automatically by the server).
|
|
@@ -429,6 +472,7 @@ export interface Product {
|
|
|
429
472
|
*
|
|
430
473
|
* Max: 1,000 variants
|
|
431
474
|
* @readonly
|
|
475
|
+
* @maxSize 1000
|
|
432
476
|
*/
|
|
433
477
|
variants?: Variant[];
|
|
434
478
|
/**
|
|
@@ -443,19 +487,28 @@ export interface Product {
|
|
|
443
487
|
createdDate?: Date | null;
|
|
444
488
|
/** Custom SEO data for the product. */
|
|
445
489
|
seoData?: SeoSchema;
|
|
446
|
-
/**
|
|
490
|
+
/**
|
|
491
|
+
* Product ribbon. Used to highlight relevant information about a product. For example, "Sale", "New Arrival", "Sold Out".
|
|
492
|
+
* @maxLength 30
|
|
493
|
+
*/
|
|
447
494
|
ribbon?: string | null;
|
|
448
|
-
/**
|
|
495
|
+
/**
|
|
496
|
+
* Product brand. Including a brand name can help improve site and product [visibility on search engines](https://support.wix.com/en/article/adding-brand-names-to-boost-product-page-seo-in-wix-stores).
|
|
497
|
+
* @minLength 1
|
|
498
|
+
* @maxLength 50
|
|
499
|
+
*/
|
|
449
500
|
brand?: string | null;
|
|
450
501
|
/**
|
|
451
502
|
* tax group id
|
|
452
503
|
* @internal
|
|
504
|
+
* @format GUID
|
|
453
505
|
*/
|
|
454
506
|
taxGroupId?: string | null;
|
|
455
507
|
/**
|
|
456
508
|
* internal field used by import/export to know how to link products in csv file to product ids
|
|
457
509
|
* @internal
|
|
458
510
|
* @readonly
|
|
511
|
+
* @maxLength 100
|
|
459
512
|
*/
|
|
460
513
|
exportProductId?: string;
|
|
461
514
|
/**
|
|
@@ -479,7 +532,10 @@ export interface NumericPropertyRange {
|
|
|
479
532
|
export interface Stock {
|
|
480
533
|
/** Whether inventory is being tracked */
|
|
481
534
|
trackInventory?: boolean;
|
|
482
|
-
/**
|
|
535
|
+
/**
|
|
536
|
+
* Quantity currently left in inventory
|
|
537
|
+
* @max 99999
|
|
538
|
+
*/
|
|
483
539
|
quantity?: number | null;
|
|
484
540
|
/**
|
|
485
541
|
* Whether the product is currently in stock (relevant only when tracking manually)
|
|
@@ -509,7 +565,10 @@ export interface PriceData {
|
|
|
509
565
|
* @readonly
|
|
510
566
|
*/
|
|
511
567
|
currency?: string;
|
|
512
|
-
/**
|
|
568
|
+
/**
|
|
569
|
+
* Product price
|
|
570
|
+
* @max 999999999.99
|
|
571
|
+
*/
|
|
513
572
|
price?: number | null;
|
|
514
573
|
/**
|
|
515
574
|
* Discounted product price (if no discounted price is set, the product price is returned)
|
|
@@ -539,7 +598,10 @@ export interface FormattedPrice {
|
|
|
539
598
|
pricePerUnit?: string | null;
|
|
540
599
|
}
|
|
541
600
|
export interface CostAndProfitData {
|
|
542
|
-
/**
|
|
601
|
+
/**
|
|
602
|
+
* Item cost.
|
|
603
|
+
* @max 999999999.99
|
|
604
|
+
*/
|
|
543
605
|
itemCost?: number | null;
|
|
544
606
|
/**
|
|
545
607
|
* Item cost formatted with currency symbol.
|
|
@@ -549,6 +611,7 @@ export interface CostAndProfitData {
|
|
|
549
611
|
/**
|
|
550
612
|
* Profit. Calculated by reducing `cost` from `discounted_price`.
|
|
551
613
|
* @readonly
|
|
614
|
+
* @max 999999999.99
|
|
552
615
|
*/
|
|
553
616
|
profit?: number;
|
|
554
617
|
/**
|
|
@@ -560,15 +623,24 @@ export interface CostAndProfitData {
|
|
|
560
623
|
* Profit Margin. Calculated by dividing `profit` by `discounted_price`.
|
|
561
624
|
* The result is rounded to 4 decimal places.
|
|
562
625
|
* @readonly
|
|
626
|
+
* @max 1
|
|
563
627
|
*/
|
|
564
628
|
profitMargin?: number;
|
|
565
629
|
}
|
|
566
630
|
export interface PricePerUnitData {
|
|
567
|
-
/**
|
|
631
|
+
/**
|
|
632
|
+
* Total quantity
|
|
633
|
+
* @min 0.01
|
|
634
|
+
* @max 999999999.99
|
|
635
|
+
*/
|
|
568
636
|
totalQuantity?: number;
|
|
569
637
|
/** Total measurement unit */
|
|
570
638
|
totalMeasurementUnit?: MeasurementUnit;
|
|
571
|
-
/**
|
|
639
|
+
/**
|
|
640
|
+
* Base quantity
|
|
641
|
+
* @min 0.01
|
|
642
|
+
* @max 999999999.99
|
|
643
|
+
*/
|
|
572
644
|
baseQuantity?: number;
|
|
573
645
|
/** Base measurement unit */
|
|
574
646
|
baseMeasurementUnit?: MeasurementUnit;
|
|
@@ -598,13 +670,22 @@ export declare enum MeasurementUnit {
|
|
|
598
670
|
SQFT = "SQFT"
|
|
599
671
|
}
|
|
600
672
|
export interface AdditionalInfoSection {
|
|
601
|
-
/**
|
|
673
|
+
/**
|
|
674
|
+
* Product info section title
|
|
675
|
+
* @maxLength 50
|
|
676
|
+
*/
|
|
602
677
|
title?: string;
|
|
603
|
-
/**
|
|
678
|
+
/**
|
|
679
|
+
* Product info section description
|
|
680
|
+
* @maxLength 16000
|
|
681
|
+
*/
|
|
604
682
|
description?: string;
|
|
605
683
|
}
|
|
606
684
|
export interface Ribbon {
|
|
607
|
-
/**
|
|
685
|
+
/**
|
|
686
|
+
* Ribbon text
|
|
687
|
+
* @maxLength 30
|
|
688
|
+
*/
|
|
608
689
|
text?: string;
|
|
609
690
|
}
|
|
610
691
|
export interface Media {
|
|
@@ -635,7 +716,10 @@ export interface MediaItemItemOneOf {
|
|
|
635
716
|
video?: MediaItemVideo;
|
|
636
717
|
}
|
|
637
718
|
export interface MediaItemUrlAndSize {
|
|
638
|
-
/**
|
|
719
|
+
/**
|
|
720
|
+
* Media item URL.
|
|
721
|
+
* @format WEB_URL
|
|
722
|
+
*/
|
|
639
723
|
url?: string;
|
|
640
724
|
/** Media item width. */
|
|
641
725
|
width?: number;
|
|
@@ -666,9 +750,15 @@ export interface MediaItemVideo {
|
|
|
666
750
|
stillFrameMediaId?: string;
|
|
667
751
|
}
|
|
668
752
|
export interface CustomTextField {
|
|
669
|
-
/**
|
|
753
|
+
/**
|
|
754
|
+
* Text box title
|
|
755
|
+
* @maxLength 100
|
|
756
|
+
*/
|
|
670
757
|
title?: string;
|
|
671
|
-
/**
|
|
758
|
+
/**
|
|
759
|
+
* Text box input max length
|
|
760
|
+
* @max 500
|
|
761
|
+
*/
|
|
672
762
|
maxLength?: number;
|
|
673
763
|
/** Whether this text box is mandatory */
|
|
674
764
|
mandatory?: boolean;
|
|
@@ -679,9 +769,17 @@ export interface ProductOption {
|
|
|
679
769
|
* @readonly
|
|
680
770
|
*/
|
|
681
771
|
optionType?: OptionType;
|
|
682
|
-
/**
|
|
772
|
+
/**
|
|
773
|
+
* Option name.
|
|
774
|
+
* @minLength 1
|
|
775
|
+
* @maxLength 50
|
|
776
|
+
*/
|
|
683
777
|
name?: string;
|
|
684
|
-
/**
|
|
778
|
+
/**
|
|
779
|
+
* Choices available for this option.
|
|
780
|
+
* @minSize 1
|
|
781
|
+
* @maxSize 100
|
|
782
|
+
*/
|
|
685
783
|
choices?: Choice[];
|
|
686
784
|
}
|
|
687
785
|
export declare enum OptionType {
|
|
@@ -693,9 +791,17 @@ export declare enum OptionType {
|
|
|
693
791
|
color = "color"
|
|
694
792
|
}
|
|
695
793
|
export interface Choice {
|
|
696
|
-
/**
|
|
794
|
+
/**
|
|
795
|
+
* Choice value.
|
|
796
|
+
* @minLength 1
|
|
797
|
+
* @maxLength 50
|
|
798
|
+
*/
|
|
697
799
|
value?: string;
|
|
698
|
-
/**
|
|
800
|
+
/**
|
|
801
|
+
* Choice description.
|
|
802
|
+
* @minLength 1
|
|
803
|
+
* @maxLength 50
|
|
804
|
+
*/
|
|
699
805
|
description?: string;
|
|
700
806
|
/**
|
|
701
807
|
* Media items (images, videos) associated with this choice
|
|
@@ -739,7 +845,10 @@ export declare enum DiscountType {
|
|
|
739
845
|
PERCENT = "PERCENT"
|
|
740
846
|
}
|
|
741
847
|
export interface Variant {
|
|
742
|
-
/**
|
|
848
|
+
/**
|
|
849
|
+
* Requested Variant ID
|
|
850
|
+
* @format GUID
|
|
851
|
+
*/
|
|
743
852
|
id?: string;
|
|
744
853
|
/** Specific choices within a selection, as option-choice key-value pairs */
|
|
745
854
|
choices?: Record<string, string>;
|
|
@@ -770,13 +879,17 @@ export interface VariantDataWithNoStock {
|
|
|
770
879
|
export interface VariantStock {
|
|
771
880
|
/** Whether inventory is being tracked. */
|
|
772
881
|
trackQuantity?: boolean;
|
|
773
|
-
/**
|
|
882
|
+
/**
|
|
883
|
+
* Quantity currently left in inventory.
|
|
884
|
+
* @max 99999
|
|
885
|
+
*/
|
|
774
886
|
quantity?: number | null;
|
|
775
887
|
/** Whether the product is currently in stock (relevant only when tracking manually). */
|
|
776
888
|
inStock?: boolean;
|
|
777
889
|
/**
|
|
778
890
|
* The location of the inventory in question. None indicates the online-store default location.
|
|
779
891
|
* @internal
|
|
892
|
+
* @format GUID
|
|
780
893
|
*/
|
|
781
894
|
locationId?: string | null;
|
|
782
895
|
}
|
|
@@ -796,7 +909,10 @@ export interface Keyword {
|
|
|
796
909
|
term?: string;
|
|
797
910
|
/** Whether the keyword is the main focus keyword. */
|
|
798
911
|
isMain?: boolean;
|
|
799
|
-
/**
|
|
912
|
+
/**
|
|
913
|
+
* The source that added the keyword terms to the SEO settings.
|
|
914
|
+
* @maxLength 1000
|
|
915
|
+
*/
|
|
800
916
|
origin?: string | null;
|
|
801
917
|
}
|
|
802
918
|
export interface Tag {
|
|
@@ -829,13 +945,24 @@ export interface Settings {
|
|
|
829
945
|
* Default: `false` (Auto Redirect is enabled.)
|
|
830
946
|
*/
|
|
831
947
|
preventAutoRedirect?: boolean;
|
|
832
|
-
/**
|
|
948
|
+
/**
|
|
949
|
+
* User-selected keyword terms for a specific page.
|
|
950
|
+
* @maxSize 5
|
|
951
|
+
*/
|
|
833
952
|
keywords?: Keyword[];
|
|
834
953
|
}
|
|
835
954
|
export interface SecuredMedia {
|
|
836
|
-
/**
|
|
955
|
+
/**
|
|
956
|
+
* Media ID in Wix Media Manager.
|
|
957
|
+
* @minLength 1
|
|
958
|
+
* @maxLength 100
|
|
959
|
+
*/
|
|
837
960
|
id?: string;
|
|
838
|
-
/**
|
|
961
|
+
/**
|
|
962
|
+
* Original filename.
|
|
963
|
+
* @minLength 1
|
|
964
|
+
* @maxLength 1000
|
|
965
|
+
*/
|
|
839
966
|
fileName?: string;
|
|
840
967
|
/** File type. */
|
|
841
968
|
fileType?: FileType;
|
|
@@ -851,23 +978,40 @@ export declare enum FileType {
|
|
|
851
978
|
export interface StoreVariant {
|
|
852
979
|
/** Store variant ID. Comprised of the `productId` and the `variantId`, separated by a hyphen: {productId}.{variantId}. */
|
|
853
980
|
id?: string;
|
|
854
|
-
/**
|
|
981
|
+
/**
|
|
982
|
+
* Variant ID.
|
|
983
|
+
* @format GUID
|
|
984
|
+
*/
|
|
855
985
|
variantId?: string;
|
|
856
986
|
/** Product ID. */
|
|
857
987
|
productId?: string;
|
|
858
|
-
/**
|
|
988
|
+
/**
|
|
989
|
+
* Variant name.
|
|
990
|
+
* @minLength 1
|
|
991
|
+
* @maxLength 80
|
|
992
|
+
*/
|
|
859
993
|
variantName?: string;
|
|
860
|
-
/**
|
|
994
|
+
/**
|
|
995
|
+
* Product name.
|
|
996
|
+
* @minLength 1
|
|
997
|
+
* @maxLength 80
|
|
998
|
+
*/
|
|
861
999
|
productName?: string;
|
|
862
1000
|
/** Whether the variant is managed or represents a product. */
|
|
863
1001
|
managedVariant?: boolean;
|
|
864
|
-
/**
|
|
1002
|
+
/**
|
|
1003
|
+
* Variant SKU (stock keeping unit).
|
|
1004
|
+
* @maxLength 40
|
|
1005
|
+
*/
|
|
865
1006
|
sku?: string;
|
|
866
1007
|
/** Variant inventory status. */
|
|
867
1008
|
stock?: VariantStock;
|
|
868
1009
|
/** The selected options of this variant. For example, `{"Color": "Blue", "Size": "Large"}`. */
|
|
869
1010
|
choices?: Record<string, string>;
|
|
870
|
-
/**
|
|
1011
|
+
/**
|
|
1012
|
+
* Collections that include this variant.
|
|
1013
|
+
* @format GUID
|
|
1014
|
+
*/
|
|
871
1015
|
collectionIds?: string[];
|
|
872
1016
|
/**
|
|
873
1017
|
* Media items (images, videos) associated with this variant.
|
|
@@ -920,6 +1064,7 @@ export interface Image {
|
|
|
920
1064
|
* Image size in bytes.
|
|
921
1065
|
* @internal
|
|
922
1066
|
* @readonly
|
|
1067
|
+
* @format DECIMAL_VALUE
|
|
923
1068
|
*/
|
|
924
1069
|
sizeInBytes?: string | null;
|
|
925
1070
|
/**
|
|
@@ -949,6 +1094,7 @@ export interface VideoV2 {
|
|
|
949
1094
|
/**
|
|
950
1095
|
* Available resolutions for the video, starting with the optimal resolution.
|
|
951
1096
|
* @readonly
|
|
1097
|
+
* @maxSize 100
|
|
952
1098
|
*/
|
|
953
1099
|
resolutions?: VideoResolution[];
|
|
954
1100
|
/**
|
|
@@ -966,6 +1112,7 @@ export interface VideoV2 {
|
|
|
966
1112
|
* Original video size in bytes.
|
|
967
1113
|
* @internal
|
|
968
1114
|
* @readonly
|
|
1115
|
+
* @format DECIMAL_VALUE
|
|
969
1116
|
*/
|
|
970
1117
|
sizeInBytes?: string | null;
|
|
971
1118
|
/**
|
|
@@ -983,11 +1130,13 @@ export interface VideoV2 {
|
|
|
983
1130
|
/**
|
|
984
1131
|
* A short title for the video. will be used for SEO purposes.
|
|
985
1132
|
* @internal
|
|
1133
|
+
* @maxLength 300
|
|
986
1134
|
*/
|
|
987
1135
|
title?: string | null;
|
|
988
1136
|
/**
|
|
989
1137
|
* A long description for the video. will be used for SEO purposes.
|
|
990
1138
|
* @internal
|
|
1139
|
+
* @maxLength 2000
|
|
991
1140
|
*/
|
|
992
1141
|
description?: string | null;
|
|
993
1142
|
/**
|
|
@@ -1027,6 +1176,7 @@ export interface VideoResolution {
|
|
|
1027
1176
|
/**
|
|
1028
1177
|
* Deprecated. Use the `sizeInBytes` property in the parent entity instead. Size cannot be provided per resolution.
|
|
1029
1178
|
* @internal
|
|
1179
|
+
* @format DECIMAL_VALUE
|
|
1030
1180
|
* @deprecated
|
|
1031
1181
|
*/
|
|
1032
1182
|
sizeInBytes?: string | null;
|
|
@@ -1075,9 +1225,16 @@ export interface VideoResolution {
|
|
|
1075
1225
|
export interface PreorderInfo {
|
|
1076
1226
|
/** Whether the item is available for preorder. */
|
|
1077
1227
|
enabled?: boolean;
|
|
1078
|
-
/**
|
|
1228
|
+
/**
|
|
1229
|
+
* A message the buyer will see when the item is out of stock and preorder is enabled.
|
|
1230
|
+
* @minLength 1
|
|
1231
|
+
* @maxLength 250
|
|
1232
|
+
*/
|
|
1079
1233
|
message?: string | null;
|
|
1080
|
-
/**
|
|
1234
|
+
/**
|
|
1235
|
+
* Number of products that can be preordered after stock reaches zero.
|
|
1236
|
+
* @max 100000
|
|
1237
|
+
*/
|
|
1081
1238
|
limit?: number | null;
|
|
1082
1239
|
}
|
|
1083
1240
|
export interface QueryProductsExportSpiResponse {
|
|
@@ -44,6 +44,7 @@ export var RuleType;
|
|
|
44
44
|
RuleType["ONE_OF_ALIGNMENT"] = "ONE_OF_ALIGNMENT";
|
|
45
45
|
RuleType["EXACT_LENGTH"] = "EXACT_LENGTH";
|
|
46
46
|
RuleType["EXACT_SIZE"] = "EXACT_SIZE";
|
|
47
|
+
RuleType["REQUIRED_ONE_OF_FIELD"] = "REQUIRED_ONE_OF_FIELD";
|
|
47
48
|
})(RuleType || (RuleType = {}));
|
|
48
49
|
export var Status;
|
|
49
50
|
(function (Status) {
|
package/@wix/ambassador-fedinfra-exportservice-v1-export-async-job/build/es/types.impl.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.impl.js","sourceRoot":"","sources":["../../types.impl.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"types.impl.js","sourceRoot":"","sources":["../../types.impl.ts"],"names":[],"mappings":"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"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@wix/ambassador-fedinfra-exportservice-v1-export-async-job",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.198",
|
|
4
4
|
"publishConfig": {
|
|
5
5
|
"registry": "https://npm-cache.dev.wixpress.com/",
|
|
6
6
|
"access": "restricted"
|
|
@@ -26,7 +26,7 @@
|
|
|
26
26
|
"dependencies": {
|
|
27
27
|
"@wix/http-client": "^1.0.0",
|
|
28
28
|
"@wix/metro-common-builders": "^1.0.0",
|
|
29
|
-
"@wix/metro-runtime": "^1.
|
|
29
|
+
"@wix/metro-runtime": "^1.1939.0",
|
|
30
30
|
"joi": "^17.0.0",
|
|
31
31
|
"callsite": "^1.0.0",
|
|
32
32
|
"@wix/auto-crud": "^1.0.0"
|
|
@@ -44,7 +44,7 @@
|
|
|
44
44
|
"protoArtifactId": "com.wixpress.fedinfra.exportservice:export-service"
|
|
45
45
|
}
|
|
46
46
|
},
|
|
47
|
-
"falconPackageHash": "
|
|
47
|
+
"falconPackageHash": "80337baadb572c4fb22ec79a89c965d014c4f2a5016aeba77c63922e",
|
|
48
48
|
"repository": {
|
|
49
49
|
"type": "git",
|
|
50
50
|
"url": "https://github.com/wix-private/metro-packages.git",
|
|
@@ -25,6 +25,6 @@ message CatalogReference {
|
|
|
25
25
|
|
|
26
26
|
// Additional item details in key:value pairs. Use this optional field to provide more specificity with item selection. The `options` field values differ depending on which catalog is providing the items.
|
|
27
27
|
//
|
|
28
|
-
// For products and variants from a Wix Stores catalog, learn more about
|
|
28
|
+
// For products and variants from a Wix Stores catalog, learn more about eCommerce integration ([SDK](https://dev.wix.com/docs/sdk/backend-modules/stores/catalog-v3/e-commerce-integration) | [REST](https://dev.wix.com/docs/rest/business-solutions/stores/catalog/e-commerce-integration)).
|
|
29
29
|
google.protobuf.Struct options = 3;
|
|
30
30
|
}
|
|
@@ -44,7 +44,7 @@ message ItemData {
|
|
|
44
44
|
// Default: Value of `price` field, if no catalog-defined discount applies.
|
|
45
45
|
google.protobuf.StringValue full_price = 5 [(.wix.api.format) = DECIMAL_VALUE];
|
|
46
46
|
|
|
47
|
-
// The tax group ID associated with this item. Learn more about the [Tax Groups Service Plugin](https://dev.wix.com/docs/rest/business-
|
|
47
|
+
// The tax group ID associated with this item. Learn more about the [Tax Groups Service Plugin](https://dev.wix.com/docs/rest/business-solutions/e-commerce/service-plugins/tax-groups-integration-service-plugin/introduction).
|
|
48
48
|
google.protobuf.StringValue tax_group_id = 4 [(.wix.api.format) = GUID];
|
|
49
49
|
|
|
50
50
|
// Line item description lines. Used for displaying the item in a cart, checkout or order. For example, if you want `Size: Large` to appear under the item name, create a description line with `"name": {"original": "Size"}` and `"plainText": {"original": "Large"}`.
|
|
@@ -81,15 +81,9 @@ message ItemData {
|
|
|
81
81
|
// Shipping group ID. This field is internal and only used by Stores.
|
|
82
82
|
google.protobuf.StringValue shipping_group_id = 15 [(.wix.api.field_exposure) = PRIVATE, (.wix.api.format) = GUID, (.wix.api.readOnly) = true];
|
|
83
83
|
|
|
84
|
-
//
|
|
84
|
+
// Type of selected payment option for current item.
|
|
85
85
|
//
|
|
86
|
-
//
|
|
87
|
-
// + `FULL_PAYMENT_OFFLINE`: The entire payment for this item happens after the checkout. For example, when using cash, check, or other offline payment methods.
|
|
88
|
-
// + `MEMBERSHIP`: Payment for this item is done by charging a membership. When selected, `price` is `0`.
|
|
89
|
-
// + `DEPOSIT_ONLINE`: Partial payment to be paid upfront during the checkout. Initial amount to be paid for each line item is specified in `depositAmount`.
|
|
90
|
-
// + `MEMBERSHIP_OFFLINE`: Payment for this item can only be done by charging a membership and must be manually redeemed in the dashboard by the site admin. When selected, `price` is `0`.
|
|
91
|
-
//
|
|
92
|
-
// Default: `FULL_PAYMENT_ONLINE`.
|
|
86
|
+
// Default: `FULL_PAYMENT_ONLINE`
|
|
93
87
|
PaymentOptionType payment_option = 17;
|
|
94
88
|
|
|
95
89
|
// Service properties. When applicable, this contains information such as time and number of participants.
|
|
@@ -134,7 +128,7 @@ message ItemData {
|
|
|
134
128
|
// Default: `false`
|
|
135
129
|
bool save_payment_method = 26 [(.wix.api.field_maturity) = BETA];
|
|
136
130
|
|
|
137
|
-
// Address to
|
|
131
|
+
// Address to use for tax calculation purposes.
|
|
138
132
|
.com.wix.ecommerce.platform_common.api.TaxableAddress taxable_address = 27 [(.wix.api.field_maturity) = ALPHA];
|
|
139
133
|
|
|
140
134
|
// ID of the app managing the inventory.
|
|
@@ -145,4 +139,9 @@ message ItemData {
|
|
|
145
139
|
|
|
146
140
|
// Additional Fees to be added to this item calculation.
|
|
147
141
|
repeated AdditionalFee additional_fees = 30 [(.wix.api.field_maturity) = ALPHA, (.wix.api.maxSize) = 5];
|
|
142
|
+
|
|
143
|
+
// Whether the item can only be purchased by site members.
|
|
144
|
+
//
|
|
145
|
+
// Default: `false`
|
|
146
|
+
bool members_only = 31 [(.wix.api.field_maturity) = ALPHA];
|
|
148
147
|
};
|
|
@@ -33,7 +33,7 @@ service PlatformCatalogSPI {
|
|
|
33
33
|
};
|
|
34
34
|
};
|
|
35
35
|
option (.wix.api.service_exposure) = PUBLIC;
|
|
36
|
-
option (.wix.api.service_maturity) =
|
|
36
|
+
option (.wix.api.service_maturity) = GA;
|
|
37
37
|
|
|
38
38
|
// Retrieves data for specified items in a specified catalog.
|
|
39
39
|
//
|
|
@@ -47,7 +47,7 @@ service PlatformCatalogSPI {
|
|
|
47
47
|
// The method also receives preferences for the currency and weight unit to be used in the response.
|
|
48
48
|
//
|
|
49
49
|
// Your external catalog can store and organize item details in any way you prefer.
|
|
50
|
-
// When implementing the Catalog service plugin, learn how to
|
|
50
|
+
// When implementing the Catalog service plugin, learn how to handle item variants ([REST](https://dev.wix.com/docs/rest/business-solutions/e-commerce/catalog-service-plugin/handle-item-variants) | [SDK](https://dev.wix.com/docs/sdk/backend-modules/ecom/service-plugins/catalog/handle-item-variants)) in a way that meets your needs.
|
|
51
51
|
//
|
|
52
52
|
// The method's response must contain a `catalogItems` array. Each item in the array must contain:
|
|
53
53
|
// + A `catalogReference` object. This must be identical to the `catalogReference` object received in the request.
|
|
@@ -57,7 +57,6 @@ service PlatformCatalogSPI {
|
|
|
57
57
|
// > + If an item doesn't exist in the catalog, the response must exclude it from the `catalogItems` array in the response.
|
|
58
58
|
// > + When none of the items requested exist in the catalog, `catalogItems` must contain an empty array.
|
|
59
59
|
// > + Wix calls the method every time a cart or checkout is updated. If the response doesn't include an item that was already in the cart or checkout, Wix removes the item from the cart or checkout.
|
|
60
|
-
// > + Learn more about [implementing a Wix service plugin](https://dev.wix.com/docs/build-apps/develop-your-app/frameworks/self-hosting/supported-extensions/backend-extensions/add-self-hosted-service-plugin-extensions).
|
|
61
60
|
rpc GetCatalogItems (GetCatalogItemsRequest) returns (GetCatalogItemsResponse) {
|
|
62
61
|
option (google.api.http) = {
|
|
63
62
|
post: "get-catalog-items"
|