@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
package/@wix/ambassador-items-selection-spi-host-v1-provider/build/cjs/proto/proto-generated.js
CHANGED
|
@@ -9,8 +9,8 @@ $root.__options = {
|
|
|
9
9
|
'stringEnums': true,
|
|
10
10
|
'stringLongs': true,
|
|
11
11
|
'stdCase': false,
|
|
12
|
-
'generatorVersion': '2.0.
|
|
13
|
-
'contentHash': '
|
|
12
|
+
'generatorVersion': '2.0.1156',
|
|
13
|
+
'contentHash': '1165a95f0e21096553e8158090749375dab09dec'
|
|
14
14
|
};
|
|
15
15
|
$root.__lookup = function (pbjs) {
|
|
16
16
|
const root = pbjs.Root.fromJSON({
|
|
@@ -1643,6 +1643,15 @@ $root.__lookup = function (pbjs) {
|
|
|
1643
1643
|
'SUBDIVISION': null
|
|
1644
1644
|
}
|
|
1645
1645
|
},
|
|
1646
|
+
'errorDef': {
|
|
1647
|
+
'rule': 'repeated',
|
|
1648
|
+
'type': 'Error',
|
|
1649
|
+
'id': 50600,
|
|
1650
|
+
'extend': 'google.protobuf.ServiceOptions',
|
|
1651
|
+
'options': {},
|
|
1652
|
+
'comment': null,
|
|
1653
|
+
'parsedOptions': null
|
|
1654
|
+
},
|
|
1646
1655
|
'error': {
|
|
1647
1656
|
'rule': 'repeated',
|
|
1648
1657
|
'type': 'Error',
|
|
@@ -1669,6 +1678,15 @@ $root.__lookup = function (pbjs) {
|
|
|
1669
1678
|
'comment': null,
|
|
1670
1679
|
'parsedOptions': null
|
|
1671
1680
|
},
|
|
1681
|
+
'errorRef': {
|
|
1682
|
+
'rule': 'repeated',
|
|
1683
|
+
'type': 'ErrorRef',
|
|
1684
|
+
'id': 50804,
|
|
1685
|
+
'extend': 'google.protobuf.MethodOptions',
|
|
1686
|
+
'options': {},
|
|
1687
|
+
'comment': null,
|
|
1688
|
+
'parsedOptions': null
|
|
1689
|
+
},
|
|
1672
1690
|
'Error': {
|
|
1673
1691
|
'fields': {
|
|
1674
1692
|
'httpCode': {
|
|
@@ -1693,6 +1711,18 @@ $root.__lookup = function (pbjs) {
|
|
|
1693
1711
|
},
|
|
1694
1712
|
'comment': 'ApplicationError: named Error for backwards compatibility'
|
|
1695
1713
|
},
|
|
1714
|
+
'ErrorRef': {
|
|
1715
|
+
'fields': {
|
|
1716
|
+
'applicationCode': {
|
|
1717
|
+
'rule': 'required',
|
|
1718
|
+
'type': 'string',
|
|
1719
|
+
'id': 1,
|
|
1720
|
+
'comment': null,
|
|
1721
|
+
'parsedOptions': null
|
|
1722
|
+
}
|
|
1723
|
+
},
|
|
1724
|
+
'comment': 'Method-level reference to a service-level error.'
|
|
1725
|
+
},
|
|
1696
1726
|
'CustomValidationError': {
|
|
1697
1727
|
'fields': {
|
|
1698
1728
|
'ruleName': {
|
|
@@ -2987,6 +3017,11 @@ $root.__lookup = function (pbjs) {
|
|
|
2987
3017
|
'MATCH_ITEMS': 16,
|
|
2988
3018
|
'ENHANCED_DATE': 17
|
|
2989
3019
|
},
|
|
3020
|
+
'valuesOptions': {
|
|
3021
|
+
'ALL': { 'deprecated': true },
|
|
3022
|
+
'ANY': { 'deprecated': true },
|
|
3023
|
+
'ENHANCED_DATE': { 'deprecated': true }
|
|
3024
|
+
},
|
|
2990
3025
|
'comment': null,
|
|
2991
3026
|
'comments': {
|
|
2992
3027
|
'ALL_APPLICABLE_OPERATORS': null,
|
|
@@ -3233,6 +3268,7 @@ $root.__lookup = function (pbjs) {
|
|
|
3233
3268
|
'VIDEO': 9,
|
|
3234
3269
|
'IMAGE_LINK': 10
|
|
3235
3270
|
},
|
|
3271
|
+
'valuesOptions': { 'UNDEFINED_TYPE': { '(.wix.api.enum_maturity)': 'NOT_IMPLEMENTED' } },
|
|
3236
3272
|
'comment': null,
|
|
3237
3273
|
'comments': {
|
|
3238
3274
|
'UNDEFINED_TYPE': null,
|
|
@@ -3323,6 +3359,7 @@ $root.__lookup = function (pbjs) {
|
|
|
3323
3359
|
'GA': 3,
|
|
3324
3360
|
'NOT_IMPLEMENTED': 4
|
|
3325
3361
|
},
|
|
3362
|
+
'valuesOptions': { 'IA': { 'deprecated': true } },
|
|
3326
3363
|
'comment': null,
|
|
3327
3364
|
'comments': {
|
|
3328
3365
|
'ALPHA': null,
|
|
@@ -4500,6 +4537,7 @@ $root.__lookup = function (pbjs) {
|
|
|
4500
4537
|
'SEARCH': 4,
|
|
4501
4538
|
'AUTO_SDK': 5
|
|
4502
4539
|
},
|
|
4540
|
+
'valuesOptions': { 'AUTO_VELO': { 'deprecated': true } },
|
|
4503
4541
|
'comment': null,
|
|
4504
4542
|
'comments': {
|
|
4505
4543
|
'UNKNOWN_APPENDIX_TYPE': null,
|
|
@@ -7395,6 +7433,7 @@ $root.__lookup = function (pbjs) {
|
|
|
7395
7433
|
'DATE_HISTOGRAM': 4,
|
|
7396
7434
|
'NESTED': 5
|
|
7397
7435
|
},
|
|
7436
|
+
'valuesOptions': { 'UNKNOWN_AGGREGATION_TYPE': { '(.wix.api.enum_maturity)': 'NOT_IMPLEMENTED' } },
|
|
7398
7437
|
'comment': null,
|
|
7399
7438
|
'comments': {
|
|
7400
7439
|
'UNKNOWN_AGGREGATION_TYPE': null,
|
|
@@ -7414,6 +7453,11 @@ $root.__lookup = function (pbjs) {
|
|
|
7414
7453
|
'SUM': 4,
|
|
7415
7454
|
'AVG': 5
|
|
7416
7455
|
},
|
|
7456
|
+
'valuesOptions': {
|
|
7457
|
+
'UNKNOWN_SCALAR_TYPE': { '(.wix.api.enum_maturity)': 'NOT_IMPLEMENTED' },
|
|
7458
|
+
'SUM': { '(.wix.api.enum_exposure)': 'PRIVATE' },
|
|
7459
|
+
'AVG': { '(.wix.api.enum_exposure)': 'PRIVATE' }
|
|
7460
|
+
},
|
|
7417
7461
|
'comment': null,
|
|
7418
7462
|
'comments': {
|
|
7419
7463
|
'UNKNOWN_SCALAR_TYPE': null,
|
|
@@ -7734,6 +7778,7 @@ $root.__lookup = function (pbjs) {
|
|
|
7734
7778
|
'SCALAR': 3,
|
|
7735
7779
|
'DATE_HISTOGRAM': 4
|
|
7736
7780
|
},
|
|
7781
|
+
'valuesOptions': { 'UNKNOWN_AGGREGATION_TYPE': { '(.wix.api.enum_maturity)': 'NOT_IMPLEMENTED' } },
|
|
7737
7782
|
'comment': null,
|
|
7738
7783
|
'comments': {
|
|
7739
7784
|
'UNKNOWN_AGGREGATION_TYPE': null,
|
|
@@ -7833,6 +7878,7 @@ $root.__lookup = function (pbjs) {
|
|
|
7833
7878
|
'MINUTE': 6,
|
|
7834
7879
|
'SECOND': 7
|
|
7835
7880
|
},
|
|
7881
|
+
'valuesOptions': { 'UNKNOWN_INTERVAL': { '(.wix.api.enum_maturity)': 'NOT_IMPLEMENTED' } },
|
|
7836
7882
|
'comment': null,
|
|
7837
7883
|
'comments': {
|
|
7838
7884
|
'UNKNOWN_INTERVAL': null,
|
|
@@ -9179,6 +9225,7 @@ $root.__lookup = function (pbjs) {
|
|
|
9179
9225
|
'noreferrer': 3,
|
|
9180
9226
|
'sponsored': 4
|
|
9181
9227
|
},
|
|
9228
|
+
'valuesOptions': { 'unknown_link_rel': { '(.wix.api.enum_maturity)': 'NOT_IMPLEMENTED' } },
|
|
9182
9229
|
'comment': null,
|
|
9183
9230
|
'comments': {
|
|
9184
9231
|
'unknown_link_rel': null,
|
|
@@ -16538,6 +16585,87 @@ $root.wix = (function () {
|
|
|
16538
16585
|
});
|
|
16539
16586
|
return Error;
|
|
16540
16587
|
}());;
|
|
16588
|
+
_api.ErrorRef = (function () {
|
|
16589
|
+
class ErrorRef {
|
|
16590
|
+
constructor(props) {
|
|
16591
|
+
this.applicationCode = props && props.applicationCode;
|
|
16592
|
+
}
|
|
16593
|
+
static toJSON(obj, helper, withDefaults) {
|
|
16594
|
+
if (obj == null) {
|
|
16595
|
+
return null;
|
|
16596
|
+
} else {
|
|
16597
|
+
const json = {};
|
|
16598
|
+
if (obj['applicationCode'] != null) {
|
|
16599
|
+
json['applicationCode'] = obj['applicationCode'];
|
|
16600
|
+
} else if (withDefaults) {
|
|
16601
|
+
json['applicationCode'] = '';
|
|
16602
|
+
}
|
|
16603
|
+
return json;
|
|
16604
|
+
}
|
|
16605
|
+
}
|
|
16606
|
+
static fromJSON(json, helper, withDefaults) {
|
|
16607
|
+
if (typeof json === 'object' && !Array.isArray(json)) {
|
|
16608
|
+
const result = new $root.wix.api.ErrorRef();
|
|
16609
|
+
if (json['applicationCode'] != null) {
|
|
16610
|
+
result['applicationCode'] = json['applicationCode'];
|
|
16611
|
+
} else if (withDefaults !== false) {
|
|
16612
|
+
result['applicationCode'] = '';
|
|
16613
|
+
} else {
|
|
16614
|
+
delete result['applicationCode'];
|
|
16615
|
+
}
|
|
16616
|
+
return result;
|
|
16617
|
+
} else
|
|
16618
|
+
return json;
|
|
16619
|
+
}
|
|
16620
|
+
static toGRPC(obj, helper) {
|
|
16621
|
+
if (obj == null) {
|
|
16622
|
+
return null;
|
|
16623
|
+
} else {
|
|
16624
|
+
const grpc = {};
|
|
16625
|
+
if (obj['applicationCode'] != null) {
|
|
16626
|
+
grpc['applicationCode'] = obj['applicationCode'];
|
|
16627
|
+
}
|
|
16628
|
+
return grpc;
|
|
16629
|
+
}
|
|
16630
|
+
}
|
|
16631
|
+
static fromGRPC(grpc, helper) {
|
|
16632
|
+
if (grpc == null) {
|
|
16633
|
+
return null;
|
|
16634
|
+
} else {
|
|
16635
|
+
const result = new $root.wix.api.ErrorRef();
|
|
16636
|
+
if (grpc['applicationCode'] != null) {
|
|
16637
|
+
result['applicationCode'] = grpc['applicationCode'];
|
|
16638
|
+
} else {
|
|
16639
|
+
result['applicationCode'] = '';
|
|
16640
|
+
}
|
|
16641
|
+
return result;
|
|
16642
|
+
}
|
|
16643
|
+
}
|
|
16644
|
+
}
|
|
16645
|
+
__builtIn.Object.defineProperty(ErrorRef.prototype, '__proto', {
|
|
16646
|
+
value: pbjs => {
|
|
16647
|
+
return $root.__lookup(pbjs)('wix.api.ErrorRef');
|
|
16648
|
+
},
|
|
16649
|
+
enumerable: false,
|
|
16650
|
+
configurable: false
|
|
16651
|
+
});
|
|
16652
|
+
__builtIn.Object.defineProperty(ErrorRef.prototype, '__fqn__', {
|
|
16653
|
+
value: 'wix.api.ErrorRef',
|
|
16654
|
+
enumerable: false,
|
|
16655
|
+
configurable: false
|
|
16656
|
+
});
|
|
16657
|
+
__builtIn.Object.defineProperty(ErrorRef.prototype, '__options__', {
|
|
16658
|
+
value: $root.__options,
|
|
16659
|
+
enumerable: false,
|
|
16660
|
+
configurable: false
|
|
16661
|
+
});
|
|
16662
|
+
__builtIn.Object.defineProperty(ErrorRef.prototype, '__root__', {
|
|
16663
|
+
value: $root,
|
|
16664
|
+
enumerable: false,
|
|
16665
|
+
configurable: false
|
|
16666
|
+
});
|
|
16667
|
+
return ErrorRef;
|
|
16668
|
+
}());;
|
|
16541
16669
|
_api.CustomValidationError = (function () {
|
|
16542
16670
|
class CustomValidationError {
|
|
16543
16671
|
constructor(props) {
|
|
@@ -58665,6 +58793,7 @@ $root.google = (function () {
|
|
|
58665
58793
|
constructor(props) {
|
|
58666
58794
|
this.deprecated = props && props.deprecated;
|
|
58667
58795
|
this.uninterpretedOption = props && props.uninterpretedOption;
|
|
58796
|
+
this['wix.api.errorDef'] = props && props['wix.api.errorDef'];
|
|
58668
58797
|
this['wix.api.serviceMaturity'] = props && props['wix.api.serviceMaturity'];
|
|
58669
58798
|
this['wix.api.serviceExposure'] = props && props['wix.api.serviceExposure'];
|
|
58670
58799
|
this['wix.api.serviceDeprecated'] = props && props['wix.api.serviceDeprecated'];
|
|
@@ -58692,6 +58821,13 @@ $root.google = (function () {
|
|
|
58692
58821
|
} else if (withDefaults) {
|
|
58693
58822
|
json['uninterpretedOption'] = [];
|
|
58694
58823
|
}
|
|
58824
|
+
if (obj['wix.api.errorDef'] != null) {
|
|
58825
|
+
json['wix.api.errorDef'] = obj['wix.api.errorDef'].map(e => {
|
|
58826
|
+
return $root.wix.api.Error.toJSON(e, helper, withDefaults);
|
|
58827
|
+
});
|
|
58828
|
+
} else if (withDefaults) {
|
|
58829
|
+
json['wix.api.errorDef'] = [];
|
|
58830
|
+
}
|
|
58695
58831
|
if (obj['wix.api.serviceMaturity'] != null) {
|
|
58696
58832
|
json['wix.api.serviceMaturity'] = $root.wix.api.Maturity[obj['wix.api.serviceMaturity']];
|
|
58697
58833
|
} else if (withDefaults) {
|
|
@@ -58767,6 +58903,15 @@ $root.google = (function () {
|
|
|
58767
58903
|
} else {
|
|
58768
58904
|
delete result['uninterpretedOption'];
|
|
58769
58905
|
}
|
|
58906
|
+
if (json['wix.api.errorDef'] != null) {
|
|
58907
|
+
result['wix.api.errorDef'] = Array.isArray(json['wix.api.errorDef']) ? json['wix.api.errorDef'].map(e => {
|
|
58908
|
+
return $root.wix.api.Error.fromJSON(e, helper);
|
|
58909
|
+
}) : json['wix.api.errorDef'];
|
|
58910
|
+
} else if (withDefaults !== false) {
|
|
58911
|
+
result['wix.api.errorDef'] = [];
|
|
58912
|
+
} else {
|
|
58913
|
+
delete result['wix.api.errorDef'];
|
|
58914
|
+
}
|
|
58770
58915
|
if (json['wix.api.serviceMaturity'] != null) {
|
|
58771
58916
|
result['wix.api.serviceMaturity'] = typeof json['wix.api.serviceMaturity'] === 'string' ? json['wix.api.serviceMaturity'] : $root.wix.api.Maturity[json['wix.api.serviceMaturity']];
|
|
58772
58917
|
} else if (withDefaults !== false) {
|
|
@@ -58855,6 +59000,11 @@ $root.google = (function () {
|
|
|
58855
59000
|
return $root.google.protobuf.UninterpretedOption.toGRPC(e, helper);
|
|
58856
59001
|
});
|
|
58857
59002
|
}
|
|
59003
|
+
if (obj['wix.api.errorDef'] != null) {
|
|
59004
|
+
grpc['wix.api.errorDef'] = obj['wix.api.errorDef'].map(e => {
|
|
59005
|
+
return $root.wix.api.Error.toGRPC(e, helper);
|
|
59006
|
+
});
|
|
59007
|
+
}
|
|
58858
59008
|
if (obj['wix.api.serviceMaturity'] != null) {
|
|
58859
59009
|
grpc['wix.api.serviceMaturity'] = obj['wix.api.serviceMaturity'];
|
|
58860
59010
|
}
|
|
@@ -58910,6 +59060,13 @@ $root.google = (function () {
|
|
|
58910
59060
|
} else {
|
|
58911
59061
|
result['uninterpretedOption'] = [];
|
|
58912
59062
|
}
|
|
59063
|
+
if (grpc['wix.api.errorDef'] != null) {
|
|
59064
|
+
result['wix.api.errorDef'] = grpc['wix.api.errorDef'].map(e => {
|
|
59065
|
+
return $root.wix.api.Error.fromGRPC(e, helper);
|
|
59066
|
+
});
|
|
59067
|
+
} else {
|
|
59068
|
+
result['wix.api.errorDef'] = [];
|
|
59069
|
+
}
|
|
58913
59070
|
if (grpc['wix.api.serviceMaturity'] != null) {
|
|
58914
59071
|
result['wix.api.serviceMaturity'] = grpc['wix.api.serviceMaturity'];
|
|
58915
59072
|
} else {
|
|
@@ -59002,6 +59159,7 @@ $root.google = (function () {
|
|
|
59002
59159
|
this['wix.api.error'] = props && props['wix.api.error'];
|
|
59003
59160
|
this['wix.api.customValidationError'] = props && props['wix.api.customValidationError'];
|
|
59004
59161
|
this['wix.api.inheritCrudErrors'] = props && props['wix.api.inheritCrudErrors'];
|
|
59162
|
+
this['wix.api.errorRef'] = props && props['wix.api.errorRef'];
|
|
59005
59163
|
this['wix.api.exposure'] = props && props['wix.api.exposure'];
|
|
59006
59164
|
this['wix.api.maturity'] = props && props['wix.api.maturity'];
|
|
59007
59165
|
this['wix.api.cacheable'] = props && props['wix.api.cacheable'];
|
|
@@ -59078,6 +59236,13 @@ $root.google = (function () {
|
|
|
59078
59236
|
} else if (withDefaults) {
|
|
59079
59237
|
json['wix.api.inheritCrudErrors'] = [];
|
|
59080
59238
|
}
|
|
59239
|
+
if (obj['wix.api.errorRef'] != null) {
|
|
59240
|
+
json['wix.api.errorRef'] = obj['wix.api.errorRef'].map(e => {
|
|
59241
|
+
return $root.wix.api.ErrorRef.toJSON(e, helper, withDefaults);
|
|
59242
|
+
});
|
|
59243
|
+
} else if (withDefaults) {
|
|
59244
|
+
json['wix.api.errorRef'] = [];
|
|
59245
|
+
}
|
|
59081
59246
|
if (obj['wix.api.exposure'] != null) {
|
|
59082
59247
|
json['wix.api.exposure'] = $root.wix.api.Exposure[obj['wix.api.exposure']];
|
|
59083
59248
|
} else if (withDefaults) {
|
|
@@ -59252,6 +59417,15 @@ $root.google = (function () {
|
|
|
59252
59417
|
} else {
|
|
59253
59418
|
delete result['wix.api.inheritCrudErrors'];
|
|
59254
59419
|
}
|
|
59420
|
+
if (json['wix.api.errorRef'] != null) {
|
|
59421
|
+
result['wix.api.errorRef'] = Array.isArray(json['wix.api.errorRef']) ? json['wix.api.errorRef'].map(e => {
|
|
59422
|
+
return $root.wix.api.ErrorRef.fromJSON(e, helper);
|
|
59423
|
+
}) : json['wix.api.errorRef'];
|
|
59424
|
+
} else if (withDefaults !== false) {
|
|
59425
|
+
result['wix.api.errorRef'] = [];
|
|
59426
|
+
} else {
|
|
59427
|
+
delete result['wix.api.errorRef'];
|
|
59428
|
+
}
|
|
59255
59429
|
if (json['wix.api.exposure'] != null) {
|
|
59256
59430
|
result['wix.api.exposure'] = typeof json['wix.api.exposure'] === 'string' ? json['wix.api.exposure'] : $root.wix.api.Exposure[json['wix.api.exposure']];
|
|
59257
59431
|
} else if (withDefaults !== false) {
|
|
@@ -59433,6 +59607,11 @@ $root.google = (function () {
|
|
|
59433
59607
|
return $root.wix.api.InheritCrudErrors.toGRPC(e, helper);
|
|
59434
59608
|
});
|
|
59435
59609
|
}
|
|
59610
|
+
if (obj['wix.api.errorRef'] != null) {
|
|
59611
|
+
grpc['wix.api.errorRef'] = obj['wix.api.errorRef'].map(e => {
|
|
59612
|
+
return $root.wix.api.ErrorRef.toGRPC(e, helper);
|
|
59613
|
+
});
|
|
59614
|
+
}
|
|
59436
59615
|
if (obj['wix.api.exposure'] != null) {
|
|
59437
59616
|
grpc['wix.api.exposure'] = obj['wix.api.exposure'];
|
|
59438
59617
|
}
|
|
@@ -59557,6 +59736,13 @@ $root.google = (function () {
|
|
|
59557
59736
|
} else {
|
|
59558
59737
|
result['wix.api.inheritCrudErrors'] = [];
|
|
59559
59738
|
}
|
|
59739
|
+
if (grpc['wix.api.errorRef'] != null) {
|
|
59740
|
+
result['wix.api.errorRef'] = grpc['wix.api.errorRef'].map(e => {
|
|
59741
|
+
return $root.wix.api.ErrorRef.fromGRPC(e, helper);
|
|
59742
|
+
});
|
|
59743
|
+
} else {
|
|
59744
|
+
result['wix.api.errorRef'] = [];
|
|
59745
|
+
}
|
|
59560
59746
|
if (grpc['wix.api.exposure'] != null) {
|
|
59561
59747
|
result['wix.api.exposure'] = grpc['wix.api.exposure'];
|
|
59562
59748
|
} else {
|
|
@@ -445,6 +445,17 @@ declare namespace $requests {
|
|
|
445
445
|
data: string;
|
|
446
446
|
static __$$generatedFromProtobuf$$__: Symbol;
|
|
447
447
|
}
|
|
448
|
+
/**
|
|
449
|
+
* Method-level reference to a service-level error.
|
|
450
|
+
*/
|
|
451
|
+
export interface IErrorRef {
|
|
452
|
+
applicationCode: string;
|
|
453
|
+
}
|
|
454
|
+
export class ErrorRef implements IErrorRef {
|
|
455
|
+
constructor(data?: IErrorRef);
|
|
456
|
+
applicationCode: string;
|
|
457
|
+
static __$$generatedFromProtobuf$$__: Symbol;
|
|
458
|
+
}
|
|
448
459
|
/**
|
|
449
460
|
* CustomValidationError: field level validation, only declare when you have specific validation in your service that is not coming from infra
|
|
450
461
|
*/
|
|
@@ -3570,6 +3581,7 @@ declare namespace $requests {
|
|
|
3570
3581
|
export interface IServiceOptions {
|
|
3571
3582
|
deprecated: boolean;
|
|
3572
3583
|
uninterpretedOption: $requests.google.protobuf.IUninterpretedOption[];
|
|
3584
|
+
'.wix.api.errorDef': $requests.wix.api.IError[];
|
|
3573
3585
|
'.wix.api.serviceMaturity': $requests.wix.api.Maturity;
|
|
3574
3586
|
'.wix.api.serviceExposure': $requests.wix.api.Exposure;
|
|
3575
3587
|
'.wix.api.serviceDeprecated'?: $requests.wix.api.IDeprecated;
|
|
@@ -3584,6 +3596,7 @@ declare namespace $requests {
|
|
|
3584
3596
|
constructor(data?: IServiceOptions);
|
|
3585
3597
|
deprecated: boolean;
|
|
3586
3598
|
uninterpretedOption: $requests.google.protobuf.IUninterpretedOption[];
|
|
3599
|
+
'.wix.api.errorDef': $requests.wix.api.IError[];
|
|
3587
3600
|
'.wix.api.serviceMaturity': $requests.wix.api.Maturity;
|
|
3588
3601
|
'.wix.api.serviceExposure': $requests.wix.api.Exposure;
|
|
3589
3602
|
'.wix.api.serviceDeprecated'?: $requests.wix.api.IDeprecated;
|
|
@@ -3604,6 +3617,7 @@ declare namespace $requests {
|
|
|
3604
3617
|
'.wix.api.error': $requests.wix.api.IError[];
|
|
3605
3618
|
'.wix.api.customValidationError': $requests.wix.api.ICustomValidationError[];
|
|
3606
3619
|
'.wix.api.inheritCrudErrors': $requests.wix.api.IInheritCrudErrors[];
|
|
3620
|
+
'.wix.api.errorRef': $requests.wix.api.IErrorRef[];
|
|
3607
3621
|
'.wix.api.exposure': $requests.wix.api.Exposure;
|
|
3608
3622
|
'.wix.api.maturity': $requests.wix.api.Maturity;
|
|
3609
3623
|
'.wix.api.cacheable'?: $requests.wix.api.ICacheSettings;
|
|
@@ -3633,6 +3647,7 @@ declare namespace $requests {
|
|
|
3633
3647
|
'.wix.api.error': $requests.wix.api.IError[];
|
|
3634
3648
|
'.wix.api.customValidationError': $requests.wix.api.ICustomValidationError[];
|
|
3635
3649
|
'.wix.api.inheritCrudErrors': $requests.wix.api.IInheritCrudErrors[];
|
|
3650
|
+
'.wix.api.errorRef': $requests.wix.api.IErrorRef[];
|
|
3636
3651
|
'.wix.api.exposure': $requests.wix.api.Exposure;
|
|
3637
3652
|
'.wix.api.maturity': $requests.wix.api.Maturity;
|
|
3638
3653
|
'.wix.api.cacheable'?: $requests.wix.api.ICacheSettings;
|
|
@@ -4231,6 +4246,17 @@ declare namespace $responses {
|
|
|
4231
4246
|
data?: string;
|
|
4232
4247
|
static __$$generatedFromProtobuf$$__: Symbol;
|
|
4233
4248
|
}
|
|
4249
|
+
/**
|
|
4250
|
+
* Method-level reference to a service-level error.
|
|
4251
|
+
*/
|
|
4252
|
+
export interface IErrorRef {
|
|
4253
|
+
applicationCode?: string;
|
|
4254
|
+
}
|
|
4255
|
+
export class ErrorRef implements IErrorRef {
|
|
4256
|
+
constructor(data?: IErrorRef);
|
|
4257
|
+
applicationCode?: string;
|
|
4258
|
+
static __$$generatedFromProtobuf$$__: Symbol;
|
|
4259
|
+
}
|
|
4234
4260
|
/**
|
|
4235
4261
|
* CustomValidationError: field level validation, only declare when you have specific validation in your service that is not coming from infra
|
|
4236
4262
|
*/
|
|
@@ -7356,6 +7382,7 @@ declare namespace $responses {
|
|
|
7356
7382
|
export interface IServiceOptions {
|
|
7357
7383
|
deprecated?: boolean;
|
|
7358
7384
|
uninterpretedOption?: $responses.google.protobuf.IUninterpretedOption[];
|
|
7385
|
+
'.wix.api.errorDef'?: $responses.wix.api.IError[];
|
|
7359
7386
|
'.wix.api.serviceMaturity'?: $responses.wix.api.Maturity;
|
|
7360
7387
|
'.wix.api.serviceExposure'?: $responses.wix.api.Exposure;
|
|
7361
7388
|
'.wix.api.serviceDeprecated'?: $responses.wix.api.IDeprecated;
|
|
@@ -7370,6 +7397,7 @@ declare namespace $responses {
|
|
|
7370
7397
|
constructor(data?: IServiceOptions);
|
|
7371
7398
|
deprecated?: boolean;
|
|
7372
7399
|
uninterpretedOption?: $responses.google.protobuf.IUninterpretedOption[];
|
|
7400
|
+
'.wix.api.errorDef'?: $responses.wix.api.IError[];
|
|
7373
7401
|
'.wix.api.serviceMaturity'?: $responses.wix.api.Maturity;
|
|
7374
7402
|
'.wix.api.serviceExposure'?: $responses.wix.api.Exposure;
|
|
7375
7403
|
'.wix.api.serviceDeprecated'?: $responses.wix.api.IDeprecated;
|
|
@@ -7390,6 +7418,7 @@ declare namespace $responses {
|
|
|
7390
7418
|
'.wix.api.error'?: $responses.wix.api.IError[];
|
|
7391
7419
|
'.wix.api.customValidationError'?: $responses.wix.api.ICustomValidationError[];
|
|
7392
7420
|
'.wix.api.inheritCrudErrors'?: $responses.wix.api.IInheritCrudErrors[];
|
|
7421
|
+
'.wix.api.errorRef'?: $responses.wix.api.IErrorRef[];
|
|
7393
7422
|
'.wix.api.exposure'?: $responses.wix.api.Exposure;
|
|
7394
7423
|
'.wix.api.maturity'?: $responses.wix.api.Maturity;
|
|
7395
7424
|
'.wix.api.cacheable'?: $responses.wix.api.ICacheSettings;
|
|
@@ -7419,6 +7448,7 @@ declare namespace $responses {
|
|
|
7419
7448
|
'.wix.api.error'?: $responses.wix.api.IError[];
|
|
7420
7449
|
'.wix.api.customValidationError'?: $responses.wix.api.ICustomValidationError[];
|
|
7421
7450
|
'.wix.api.inheritCrudErrors'?: $responses.wix.api.IInheritCrudErrors[];
|
|
7451
|
+
'.wix.api.errorRef'?: $responses.wix.api.IErrorRef[];
|
|
7422
7452
|
'.wix.api.exposure'?: $responses.wix.api.Exposure;
|
|
7423
7453
|
'.wix.api.maturity'?: $responses.wix.api.Maturity;
|
|
7424
7454
|
'.wix.api.cacheable'?: $responses.wix.api.ICacheSettings;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@wix/ambassador-items-selection-spi-host-v1-provider",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.100",
|
|
4
4
|
"publishConfig": {
|
|
5
5
|
"registry": "https://npm-cache.dev.wixpress.com/",
|
|
6
6
|
"access": "restricted"
|
|
@@ -43,7 +43,7 @@
|
|
|
43
43
|
"protoArtifactId": "com.wixpress.wixos:items-selection-service"
|
|
44
44
|
}
|
|
45
45
|
},
|
|
46
|
-
"falconPackageHash": "
|
|
46
|
+
"falconPackageHash": "5de60a83a8d26d92bf11993d834bd1df3422aa28746ee309e77ff4cd",
|
|
47
47
|
"repository": {
|
|
48
48
|
"type": "git",
|
|
49
49
|
"url": "https://github.com/wix-private/metro-packages.git",
|
|
@@ -138,8 +138,8 @@ message Paging {
|
|
|
138
138
|
}
|
|
139
139
|
optional Type type = 1; // paging type
|
|
140
140
|
optional string paging_metadata_field = 2 [deprecated=true]; // paging field name in response object. default is `metadata`, DEPRECATED in commons V2
|
|
141
|
-
optional string cursor_paging_metadata_field = 3; // cursor paging field name in response object. default is `
|
|
142
|
-
optional string offset_paging_metadata_field = 4; // offset paging field name in response object. default is `
|
|
141
|
+
optional string cursor_paging_metadata_field = 3; // cursor paging field name in response object. default is `cursor_paging_metadata`
|
|
142
|
+
optional string offset_paging_metadata_field = 4; // offset paging field name in response object. default is `offset_paging_metadata`
|
|
143
143
|
}
|
|
144
144
|
|
|
145
145
|
message CustomActionOptions {
|
|
@@ -189,8 +189,8 @@ message ListMethodOptions {
|
|
|
189
189
|
|
|
190
190
|
message QueryMethodOptions {
|
|
191
191
|
optional string query_field = 1 [deprecated=true]; // query field name in request object. default is `query`, DEPRECATED in commons V2
|
|
192
|
-
optional string cursor_query_field = 7; // cursor query field name in request object. default is `
|
|
193
|
-
optional string offset_query_field = 8; // offset query field name in request object. default is `
|
|
192
|
+
optional string cursor_query_field = 7; // cursor query field name in request object. default is `cursor_query`
|
|
193
|
+
optional string offset_query_field = 8; // offset query field name in request object. default is `offset_query`
|
|
194
194
|
required string items_field = 3; // items field name in response object.
|
|
195
195
|
optional Paging paging = 2; // present paging mechanism info, default will be of type=`CURSOR`
|
|
196
196
|
oneof wql_options {
|
|
@@ -204,8 +204,8 @@ message QueryMethodOptions {
|
|
|
204
204
|
|
|
205
205
|
message SearchMethodOptions {
|
|
206
206
|
optional string search_field = 1 [deprecated=true]; // search field name in request object. default is `search`, DEPRECATED in commons V2
|
|
207
|
-
optional string cursor_search_field = 8; // cursor search field name in request object. default is `
|
|
208
|
-
optional string offset_search_field = 9; // offset search field name in request object. default is `
|
|
207
|
+
optional string cursor_search_field = 8; // cursor search field name in request object. default is `cursor_search`
|
|
208
|
+
optional string offset_search_field = 9; // offset search field name in request object. default is `offset_search`
|
|
209
209
|
required string items_field = 3; // items field name in response object.
|
|
210
210
|
optional Paging paging = 2; // present paging mechanism info, default will be of type=`CURSOR`
|
|
211
211
|
oneof wql_options {
|
package/@wix/ambassador-items-selection-spi-host-v1-provider/src/main/proto/wix/api/api_errors.proto
CHANGED
|
@@ -10,34 +10,51 @@ option java_outer_classname = "ApiErrorsProto";
|
|
|
10
10
|
option java_package = "com.wix.api";
|
|
11
11
|
|
|
12
12
|
/**
|
|
13
|
-
* Annotation for method returned errors
|
|
14
|
-
*
|
|
15
|
-
* import "wix/api/api_errors.proto";
|
|
16
|
-
* service FooService {
|
|
17
|
-
* rpc CreateFoo (CreateFooRequest) returns (CreateFooResponse) {
|
|
18
|
-
* // Description of the error. Accepts `markdown`
|
|
19
|
-
* // and multiline
|
|
20
|
-
* option (wix.api.error) = {
|
|
21
|
-
* http_code: FAILED_PRECONDITION
|
|
22
|
-
* application_code: "NO_FOO_SUPPLY"
|
|
23
|
-
* data: "com.wixpress.foo.v1.NoFooSupplyError"
|
|
24
|
-
* }
|
|
25
|
-
* //and you can specify multiple errors
|
|
26
|
-
* option (wix.api.custom_validation_error) = {
|
|
27
|
-
* rule_name: "INVALID_NOTE"
|
|
28
|
-
* data: "com.wixpress.foo.v1.MyRuleViolationError"
|
|
29
|
-
* }
|
|
30
|
-
* // this method MAY throw standard crud errors of BULK_UPDATE method type
|
|
31
|
-
* option (wix.api.inherit_crud_errors) = {
|
|
32
|
-
* method: BULK_UPDATE
|
|
33
|
-
* }
|
|
34
|
-
* }
|
|
35
|
-
* }
|
|
13
|
+
* Annotation for method returned errors.
|
|
14
|
+
* Example usage:
|
|
36
15
|
**/
|
|
16
|
+
//import "google/protobuf/empty.proto";
|
|
17
|
+
//service FooService {
|
|
18
|
+
// // Definition of a service-level error.
|
|
19
|
+
// // Accepts `markdown` and multiline.
|
|
20
|
+
// option (wix.api.error_def) = {
|
|
21
|
+
// http_code: FAILED_PRECONDITION
|
|
22
|
+
// application_code: "NO_FOO_SUPPLY"
|
|
23
|
+
// };
|
|
24
|
+
//
|
|
25
|
+
// rpc CreateFoo (google.protobuf.Empty) returns (google.protobuf.Empty) {
|
|
26
|
+
// // Reference to a service-level error.
|
|
27
|
+
// option (wix.api.error_ref) = {
|
|
28
|
+
// application_code: "NO_FOO_SUPPLY"
|
|
29
|
+
// };
|
|
30
|
+
// // Definition of a method-level error.
|
|
31
|
+
// // Accepts `markdown` and multiline.
|
|
32
|
+
// option (wix.api.error) = {
|
|
33
|
+
// http_code: FAILED_PRECONDITION
|
|
34
|
+
// application_code: "NO_FOO_SUPPLY"
|
|
35
|
+
// data: "com.wixpress.foo.v1.NoFooSupplyError"
|
|
36
|
+
// };
|
|
37
|
+
// // You can specify multiple errors.
|
|
38
|
+
// option (wix.api.custom_validation_error) = {
|
|
39
|
+
// rule_name: "INVALID_NOTE"
|
|
40
|
+
// data: "com.wixpress.foo.v1.MyRuleViolationError"
|
|
41
|
+
// };
|
|
42
|
+
// // This method MAY throw standard crud errors of BULK_UPDATE method type.
|
|
43
|
+
// option (wix.api.inherit_crud_errors) = {
|
|
44
|
+
// method: BULK_UPDATE
|
|
45
|
+
// };
|
|
46
|
+
// }
|
|
47
|
+
//}
|
|
48
|
+
|
|
49
|
+
extend google.protobuf.ServiceOptions {
|
|
50
|
+
repeated Error error_def = 50600;
|
|
51
|
+
}
|
|
52
|
+
|
|
37
53
|
extend google.protobuf.MethodOptions {
|
|
38
54
|
repeated Error error = 50801;
|
|
39
55
|
repeated CustomValidationError custom_validation_error = 50802;
|
|
40
56
|
repeated InheritCrudErrors inherit_crud_errors = 50803;
|
|
57
|
+
repeated ErrorRef error_ref = 50804;
|
|
41
58
|
}
|
|
42
59
|
|
|
43
60
|
/**
|
|
@@ -49,6 +66,14 @@ message Error {
|
|
|
49
66
|
optional string data = 3; // FQN path to the message that will be sent as payload for this error
|
|
50
67
|
}
|
|
51
68
|
|
|
69
|
+
/**
|
|
70
|
+
Method-level reference to a service-level error.
|
|
71
|
+
**/
|
|
72
|
+
message ErrorRef {
|
|
73
|
+
// Must match existing service-level error application code.
|
|
74
|
+
required string application_code = 1;
|
|
75
|
+
}
|
|
76
|
+
|
|
52
77
|
/**
|
|
53
78
|
CustomValidationError: field level validation, only declare when you have specific validation in your service that is not coming from infra
|
|
54
79
|
**/
|
package/@wix/ambassador-items-selection-spi-host-v1-provider/src/main/proto/wix/api/entity.proto
CHANGED
|
@@ -17,7 +17,7 @@ Key requirement for DomainEvents used in callback/event
|
|
|
17
17
|
package com.wixpress.examples;
|
|
18
18
|
|
|
19
19
|
service BlooperService {
|
|
20
|
-
option (wix.api.service_entity).message = "com.wixpress.examples.Blooper"; //the "main" entity
|
|
20
|
+
option (wix.api.service_entity).message = "com.wixpress.examples.Blooper"; // the "main" entity
|
|
21
21
|
rpc Update (BlooperRequest) returns (BlooperResponse) {
|
|
22
22
|
//...
|
|
23
23
|
};
|
|
@@ -26,8 +26,7 @@ service BlooperService {
|
|
|
26
26
|
message Blooper {
|
|
27
27
|
option (wix.api.entity) = {
|
|
28
28
|
fqdn: "wix.examples.Blooper" // A fully qualified domain name for this entity. Example: wix.stores.catalog.product, wix.bookings.session, wix.payments.transaction
|
|
29
|
-
exposure: PUBLIC //Optional exposure field. Will be used by systems like corvid and webhooks to decide if to expose events related to this entity to external parties
|
|
30
|
-
|
|
29
|
+
exposure: PUBLIC // Optional exposure field. Will be used by systems like corvid and webhooks to decide if to expose events related to this entity to external parties
|
|
31
30
|
};
|
|
32
31
|
}
|
|
33
32
|
*/
|
|
@@ -48,7 +47,7 @@ extend google.protobuf.MessageOptions {
|
|
|
48
47
|
|
|
49
48
|
message Entity {
|
|
50
49
|
required string fqdn = 1;
|
|
51
|
-
optional Exposure exposure = 2 [deprecated=true];
|
|
50
|
+
optional Exposure exposure = 2 [deprecated = true];
|
|
52
51
|
repeated MessageAppendix appendix_files = 3; // declare external configuration info
|
|
53
52
|
optional string old_fqdn_for_backwards_compatibility = 4; // Topic name for domain events will be based on this attribute if present (only for known legacy FQDNs)
|
|
54
53
|
optional Segment.SegmentName segment = 5; // the cluster to which domain events will be produced
|
package/@wix/ambassador-items-selection-spi-host-v1-provider/src/main/proto/wix/api/sla.proto
CHANGED
|
@@ -18,7 +18,7 @@ message Sla {
|
|
|
18
18
|
* and return TIMEOUT (504) response for http or DEADLINE_EXCEEDED
|
|
19
19
|
* for grpc.
|
|
20
20
|
* This default deadline will be applied automatically
|
|
21
|
-
*
|
|
21
|
+
* if request does not contain deadline information.
|
|
22
22
|
*/
|
|
23
23
|
optional int32 response_time_ms = 1;
|
|
24
24
|
}
|