@wix/bex-utils 2.38.0 → 2.40.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-fedinfra-exportservice-v1-export-async-job/build/cjs/builders.impl.d.ts +2 -1
- package/@wix/ambassador-fedinfra-exportservice-v1-export-async-job/build/cjs/builders.impl.js +27 -1
- package/@wix/ambassador-fedinfra-exportservice-v1-export-async-job/build/cjs/builders.impl.js.map +1 -1
- package/@wix/ambassador-fedinfra-exportservice-v1-export-async-job/build/cjs/http.impl.js +6 -0
- package/@wix/ambassador-fedinfra-exportservice-v1-export-async-job/build/cjs/http.impl.js.map +1 -1
- package/@wix/ambassador-fedinfra-exportservice-v1-export-async-job/build/cjs/proto/client/proto-generated.d.ts +2047 -6692
- package/@wix/ambassador-fedinfra-exportservice-v1-export-async-job/build/cjs/proto/proto-generated.d.ts +543 -2894
- package/@wix/ambassador-fedinfra-exportservice-v1-export-async-job/build/cjs/proto/proto-generated.js +111646 -145254
- package/@wix/ambassador-fedinfra-exportservice-v1-export-async-job/build/cjs/proto/server/proto-generated.d.ts +2169 -6764
- package/@wix/ambassador-fedinfra-exportservice-v1-export-async-job/build/cjs/types.impl.d.ts +55 -13
- package/@wix/ambassador-fedinfra-exportservice-v1-export-async-job/build/cjs/types.impl.js +16 -1
- 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/builders.impl.d.ts +2 -1
- package/@wix/ambassador-fedinfra-exportservice-v1-export-async-job/build/es/builders.impl.js +25 -0
- package/@wix/ambassador-fedinfra-exportservice-v1-export-async-job/build/es/builders.impl.js.map +1 -1
- package/@wix/ambassador-fedinfra-exportservice-v1-export-async-job/build/es/http.impl.js +6 -0
- package/@wix/ambassador-fedinfra-exportservice-v1-export-async-job/build/es/http.impl.js.map +1 -1
- package/@wix/ambassador-fedinfra-exportservice-v1-export-async-job/build/es/types.impl.d.ts +55 -13
- package/@wix/ambassador-fedinfra-exportservice-v1-export-async-job/build/es/types.impl.js +16 -1
- 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 +2 -2
- package/@wix/ambassador-fedinfra-exportservice-v1-export-async-job/src/main/proto/advanced-seo-api.proto +3 -3
- package/@wix/ambassador-fedinfra-exportservice-v1-export-async-job/src/main/proto/com/wix/ecommerce/catalog_spi/api/v1/additional_fee.proto +47 -0
- 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/description_line.proto +4 -1
- package/@wix/ambassador-fedinfra-exportservice-v1-export-async-job/src/main/proto/com/wix/ecommerce/catalog_spi/api/v1/item_data.proto +10 -2
- package/@wix/ambassador-fedinfra-exportservice-v1-export-async-job/src/main/proto/com/wix/ecommerce/catalog_spi/api/v1/payment_option.proto +3 -3
- package/@wix/ambassador-fedinfra-exportservice-v1-export-async-job/src/main/proto/com/wix/ecommerce/catalog_spi/api/v1/platform_catalog_spi.proto +12 -0
- package/@wix/ambassador-fedinfra-exportservice-v1-export-async-job/src/main/proto/com/wix/ecommerce/catalog_spi/api/v1/policy.proto +14 -0
- package/@wix/ambassador-fedinfra-exportservice-v1-export-async-job/src/main/proto/com/wix/ecommerce/catalog_spi/api/v1/subscription_option_info.proto +25 -6
- package/@wix/ambassador-fedinfra-exportservice-v1-export-async-job/src/main/proto/com/wix/ecommerce/commons/api/platform_search.proto +2 -2
- package/@wix/ambassador-fedinfra-exportservice-v1-export-async-job/src/main/proto/com/wix/ecommerce/platform_common/api/location.proto +16 -0
- package/@wix/ambassador-fedinfra-exportservice-v1-export-async-job/src/main/proto/com/wix/ecommerce/platform_common/api/pickup_address.proto +2 -0
- package/@wix/ambassador-fedinfra-exportservice-v1-export-async-job/src/main/proto/com/wix/ecommerce/platform_common/api/price.proto +0 -1
- package/@wix/ambassador-fedinfra-exportservice-v1-export-async-job/src/main/proto/com/wixpress/metasite/event/api/dto.proto +6 -4
- package/@wix/ambassador-fedinfra-exportservice-v1-export-async-job/src/main/proto/com/wixpress/metasite/event/api/events.proto +15 -0
- package/@wix/ambassador-fedinfra-exportservice-v1-export-async-job/src/main/proto/wix/api/annotations.proto +2 -0
- package/@wix/ambassador-fedinfra-exportservice-v1-export-async-job/src/main/proto/wix/api/callback.proto +7 -0
- package/@wix/ambassador-fedinfra-exportservice-v1-export-async-job/src/main/proto/wix/api/errors.proto +2 -0
- package/@wix/ambassador-fedinfra-exportservice-v1-export-async-job/src/main/proto/wix/api/validations.proto +5 -0
- package/@wix/ambassador-fedinfra-exportservice-v1-export-async-job/src/main/proto/wix/catalog/api/v1/catalog.proto +1 -0
- package/@wix/ambassador-fedinfra-exportservice-v1-export-async-job/src/main/proto/wix/catalog/api/v1/media.proto +6 -1
- package/@wix/ambassador-fedinfra-exportservice-v1-export-async-job/src/main/proto/wix/catalog/api/v1/price.proto +3 -1
- package/@wix/ambassador-fedinfra-exportservice-v1-export-async-job/src/main/proto/wix/catalog/api/v1/product.proto +3 -1
- package/@wix/ambassador-fedinfra-exportservice-v1-export-async-job/src/main/proto/wix/catalog/api/v1/productOption.proto +6 -3
- package/@wix/ambassador-fedinfra-exportservice-v1-export-async-job/src/main/proto/wix/common/domainevents/domainevents.proto +1 -1
- package/@wix/ambassador-fedinfra-exportservice-v1-export-async-job/src/main/proto/wix/common/media.proto +17 -0
- package/@wix/ambassador-fedinfra-exportservice-v1-export-async-job/src/main/proto/wix/common/wixlink.proto +2 -0
- package/@wix/ambassador-fedinfra-exportservice-v1-export-async-job/src/main/proto/wix/coupons/api/v1/cart.proto +4 -0
- package/@wix/ambassador-fedinfra-exportservice-v1-export-async-job/src/main/proto/wix/coupons/api/v1/coupon.proto +3 -0
- package/@wix/ambassador-fedinfra-exportservice-v1-export-async-job/src/main/proto/wix/coupons/api/v1/coupons.proto +8 -0
- package/@wix/ambassador-fedinfra-exportservice-v1-export-async-job/src/main/proto/wix/coupons/api/v1/response-status.proto +1 -0
- package/@wix/ambassador-fedinfra-exportservice-v1-export-async-job/src/main/proto/wix/coupons/api/v1/specification.proto +4 -0
- package/@wix/ambassador-fedinfra-exportservice-v1-export-async-job/src/main/proto/wix/coupons/api/v2/cart.proto +3 -0
- package/@wix/ambassador-fedinfra-exportservice-v1-export-async-job/src/main/proto/wix/coupons/api/v2/coupon.proto +2 -0
- package/@wix/ambassador-fedinfra-exportservice-v1-export-async-job/src/main/proto/wix/coupons/api/v2/couponAppliedEvent.proto +1 -0
- package/@wix/ambassador-fedinfra-exportservice-v1-export-async-job/src/main/proto/wix/coupons/api/v2/coupons-manager-ui.proto +5 -0
- package/@wix/ambassador-fedinfra-exportservice-v1-export-async-job/src/main/proto/wix/coupons/api/v2/coupons.proto +12 -0
- package/@wix/ambassador-fedinfra-exportservice-v1-export-async-job/src/main/proto/wix/coupons/api/v2/internal-coupons.proto +2 -0
- package/@wix/ambassador-fedinfra-exportservice-v1-export-async-job/src/main/proto/wix/coupons/api/v2/response-status.proto +1 -0
- package/@wix/ambassador-fedinfra-exportservice-v1-export-async-job/src/main/proto/wix/coupons/api/v2/scope.proto +1 -0
- package/@wix/ambassador-fedinfra-exportservice-v1-export-async-job/src/main/proto/wix/coupons/api/v2/specification.proto +1 -0
- package/@wix/ambassador-fedinfra-exportservice-v1-export-async-job/src/main/proto/wix/infra/asyncjobs/v1/AsyncJob.proto +132 -132
- package/@wix/ambassador-fedinfra-exportservice-v1-export-async-job/src/main/proto/wix/infra/asyncjobs/v1/AsyncJobItem.proto +14 -14
- package/@wix/ambassador-fedinfra-exportservice-v1-export-async-job/src/main/proto/wix/infra/asyncjobs/v1/AsyncJobService.proto +13 -13
- package/@wix/ambassador-fedinfra-exportservice-v1-export-async-job/src/main/proto/wix/infra/asyncjobs/v1/upstream/wix/common/paging.proto +17 -17
- package/@wix/ambassador-fedinfra-exportservice-v1-export-async-job/src/main/proto/wix/inventory/api/v1/inventory.proto +1 -1
- package/@wix/ambassador-fedinfra-exportservice-v1-export-async-job/src/main/proto/wix/inventory/api/v1/inventoryItem.proto +5 -6
- package/@wix/ambassador-fedinfra-exportservice-v1-export-async-job/src/main/proto/wix/inventory/api/v1/locationInventoryItem.proto +1 -1
- package/@wix/ambassador-fedinfra-exportservice-v1-export-async-job/src/main/proto/wix/inventory/api/v1/locationInventoryMessages.proto +1 -1
- 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/payment.proto +3 -0
- package/@wix/ambassador-fedinfra-exportservice-v1-export-async-job/src/main/proto/wix/spi/definitions.proto +2 -1
- package/@wix/ambassador-fedinfra-exportservice-v1-export-async-job/src/main/proto/wix/stores/catalog/provision/v1/provision.proto +9 -1
- package/@wix/ambassador-fedinfra-exportservice-v1-export-async-job/src/main/proto/wix/stores/catalog/provision/v1/provision_action_events.proto +15 -0
- package/@wix/ambassador-fedinfra-exportservice-v1-export-async-job/src/main/proto/wix/stores/catalog/provision/v1/stores_provision_service.proto +11 -26
- package/@wix/ambassador-infra-asyncjobs-v1-async-job/build/cjs/builders.impl.d.ts +47 -0
- package/@wix/ambassador-infra-asyncjobs-v1-async-job/build/cjs/builders.impl.js +524 -0
- package/@wix/ambassador-infra-asyncjobs-v1-async-job/build/cjs/builders.impl.js.map +1 -0
- package/@wix/ambassador-infra-asyncjobs-v1-async-job/build/cjs/crud/http.impl.d.ts +1 -0
- package/@wix/ambassador-infra-asyncjobs-v1-async-job/build/cjs/crud/http.impl.js +5 -0
- package/@wix/ambassador-infra-asyncjobs-v1-async-job/build/cjs/crud/http.impl.js.map +1 -0
- package/@wix/ambassador-infra-asyncjobs-v1-async-job/build/cjs/crud/rpc.impl.d.ts +11 -0
- package/@wix/ambassador-infra-asyncjobs-v1-async-job/build/cjs/crud/rpc.impl.js +41 -0
- package/@wix/ambassador-infra-asyncjobs-v1-async-job/build/cjs/crud/rpc.impl.js.map +1 -0
- package/@wix/ambassador-infra-asyncjobs-v1-async-job/build/cjs/http.impl.d.ts +16 -0
- package/@wix/ambassador-infra-asyncjobs-v1-async-job/build/cjs/http.impl.js +249 -0
- package/@wix/ambassador-infra-asyncjobs-v1-async-job/build/cjs/http.impl.js.map +1 -0
- package/@wix/ambassador-infra-asyncjobs-v1-async-job/build/cjs/meta.impl.d.ts +30 -0
- package/@wix/ambassador-infra-asyncjobs-v1-async-job/build/cjs/meta.impl.js +157 -0
- package/@wix/ambassador-infra-asyncjobs-v1-async-job/build/cjs/meta.impl.js.map +1 -0
- package/@wix/ambassador-infra-asyncjobs-v1-async-job/build/cjs/proto/client/proto-generated.d.ts +7218 -0
- package/@wix/ambassador-infra-asyncjobs-v1-async-job/build/cjs/proto/client/proto-generated.js +2 -0
- package/@wix/ambassador-infra-asyncjobs-v1-async-job/build/cjs/proto/proto-generated.d.ts +3608 -0
- package/@wix/ambassador-infra-asyncjobs-v1-async-job/build/cjs/proto/proto-generated.js +59567 -0
- package/@wix/ambassador-infra-asyncjobs-v1-async-job/build/cjs/proto/server/proto-generated.d.ts +7211 -0
- package/@wix/ambassador-infra-asyncjobs-v1-async-job/build/cjs/proto/server/proto-generated.js +2 -0
- package/@wix/ambassador-infra-asyncjobs-v1-async-job/build/cjs/rpc.impl.d.ts +25 -0
- package/@wix/ambassador-infra-asyncjobs-v1-async-job/build/cjs/rpc.impl.js +123 -0
- package/@wix/ambassador-infra-asyncjobs-v1-async-job/build/cjs/rpc.impl.js.map +1 -0
- package/@wix/ambassador-infra-asyncjobs-v1-async-job/build/cjs/types.impl.d.ts +469 -0
- package/@wix/ambassador-infra-asyncjobs-v1-async-job/build/cjs/types.impl.js +52 -0
- package/@wix/ambassador-infra-asyncjobs-v1-async-job/build/cjs/types.impl.js.map +1 -0
- package/@wix/ambassador-infra-asyncjobs-v1-async-job/build/es/builders.impl.d.ts +47 -0
- package/@wix/ambassador-infra-asyncjobs-v1-async-job/build/es/builders.impl.js +463 -0
- package/@wix/ambassador-infra-asyncjobs-v1-async-job/build/es/builders.impl.js.map +1 -0
- package/@wix/ambassador-infra-asyncjobs-v1-async-job/build/es/crud/http.impl.d.ts +1 -0
- package/@wix/ambassador-infra-asyncjobs-v1-async-job/build/es/crud/http.impl.js +2 -0
- package/@wix/ambassador-infra-asyncjobs-v1-async-job/build/es/crud/http.impl.js.map +1 -0
- package/@wix/ambassador-infra-asyncjobs-v1-async-job/build/es/crud/rpc.impl.d.ts +11 -0
- package/@wix/ambassador-infra-asyncjobs-v1-async-job/build/es/crud/rpc.impl.js +34 -0
- package/@wix/ambassador-infra-asyncjobs-v1-async-job/build/es/crud/rpc.impl.js.map +1 -0
- package/@wix/ambassador-infra-asyncjobs-v1-async-job/build/es/http.impl.d.ts +16 -0
- package/@wix/ambassador-infra-asyncjobs-v1-async-job/build/es/http.impl.js +239 -0
- package/@wix/ambassador-infra-asyncjobs-v1-async-job/build/es/http.impl.js.map +1 -0
- package/@wix/ambassador-infra-asyncjobs-v1-async-job/build/es/meta.impl.d.ts +30 -0
- package/@wix/ambassador-infra-asyncjobs-v1-async-job/build/es/meta.impl.js +128 -0
- package/@wix/ambassador-infra-asyncjobs-v1-async-job/build/es/meta.impl.js.map +1 -0
- package/@wix/ambassador-infra-asyncjobs-v1-async-job/build/es/rpc.impl.d.ts +25 -0
- package/@wix/ambassador-infra-asyncjobs-v1-async-job/build/es/rpc.impl.js +94 -0
- package/@wix/ambassador-infra-asyncjobs-v1-async-job/build/es/rpc.impl.js.map +1 -0
- package/@wix/ambassador-infra-asyncjobs-v1-async-job/build/es/types.impl.d.ts +469 -0
- package/@wix/ambassador-infra-asyncjobs-v1-async-job/build/es/types.impl.js +49 -0
- package/@wix/ambassador-infra-asyncjobs-v1-async-job/build/es/types.impl.js.map +1 -0
- package/@wix/ambassador-infra-asyncjobs-v1-async-job/builders/package.json +7 -0
- package/@wix/ambassador-infra-asyncjobs-v1-async-job/crud/http/package.json +7 -0
- package/@wix/ambassador-infra-asyncjobs-v1-async-job/crud/rpc/package.json +6 -0
- package/@wix/ambassador-infra-asyncjobs-v1-async-job/http/package.json +7 -0
- package/@wix/ambassador-infra-asyncjobs-v1-async-job/meta/package.json +7 -0
- package/@wix/ambassador-infra-asyncjobs-v1-async-job/package.json +53 -0
- package/@wix/ambassador-infra-asyncjobs-v1-async-job/rpc/package.json +6 -0
- package/@wix/ambassador-infra-asyncjobs-v1-async-job/src/main/proto/wix/api/action_payload.proto +33 -0
- package/@wix/ambassador-infra-asyncjobs-v1-async-job/src/main/proto/wix/api/annotations.proto +395 -0
- package/@wix/ambassador-infra-asyncjobs-v1-async-job/src/main/proto/wix/api/api_errors.proto +117 -0
- package/@wix/ambassador-infra-asyncjobs-v1-async-job/src/main/proto/wix/api/callback.proto +157 -0
- package/@wix/ambassador-infra-asyncjobs-v1-async-job/src/main/proto/wix/api/context.proto +19 -0
- package/@wix/ambassador-infra-asyncjobs-v1-async-job/src/main/proto/wix/api/entity.proto +122 -0
- package/@wix/ambassador-infra-asyncjobs-v1-async-job/src/main/proto/wix/api/errors.proto +121 -0
- package/@wix/ambassador-infra-asyncjobs-v1-async-job/src/main/proto/wix/api/idempotency.proto +25 -0
- package/@wix/ambassador-infra-asyncjobs-v1-async-job/src/main/proto/wix/api/permissions.proto +40 -0
- package/@wix/ambassador-infra-asyncjobs-v1-async-job/src/main/proto/wix/api/sla.proto +24 -0
- package/@wix/ambassador-infra-asyncjobs-v1-async-job/src/main/proto/wix/api/subscription.proto +32 -0
- package/@wix/ambassador-infra-asyncjobs-v1-async-job/src/main/proto/wix/api/validations.proto +142 -0
- package/@wix/ambassador-infra-asyncjobs-v1-async-job/src/main/proto/wix/common/address.proto +148 -0
- package/@wix/ambassador-infra-asyncjobs-v1-async-job/src/main/proto/wix/common/bulk.proto +53 -0
- package/@wix/ambassador-infra-asyncjobs-v1-async-job/src/main/proto/wix/common/identification.proto +40 -0
- package/@wix/ambassador-infra-asyncjobs-v1-async-job/src/main/proto/wix/common/image.proto +8 -0
- package/@wix/ambassador-infra-asyncjobs-v1-async-job/src/main/proto/wix/common/media.proto +253 -0
- package/@wix/ambassador-infra-asyncjobs-v1-async-job/src/main/proto/wix/common/money.proto +32 -0
- package/@wix/ambassador-infra-asyncjobs-v1-async-job/src/main/proto/wix/common/pageurl.proto +32 -0
- package/@wix/{ambassador-fedinfra-exportservice-v1-export-async-job/src/main/proto/wix/stores/catalog/location/v3/upstream → ambassador-infra-asyncjobs-v1-async-job/src/main/proto}/wix/common/paging.proto +28 -28
- package/@wix/ambassador-infra-asyncjobs-v1-async-job/src/main/proto/wix/common/query.proto +795 -0
- package/@wix/ambassador-infra-asyncjobs-v1-async-job/src/main/proto/wix/common/sorting.proto +36 -0
- package/@wix/ambassador-infra-asyncjobs-v1-async-job/src/main/proto/wix/common/spi.proto +85 -0
- package/@wix/ambassador-infra-asyncjobs-v1-async-job/src/main/proto/wix/common/tags.proto +55 -0
- package/@wix/ambassador-infra-asyncjobs-v1-async-job/src/main/proto/wix/common/wixlink.proto +203 -0
- package/@wix/ambassador-infra-asyncjobs-v1-async-job/src/main/proto/wix/graphql/definitions.proto +13 -0
- package/@wix/ambassador-infra-asyncjobs-v1-async-job/src/main/proto/wix/http/field_mask.proto +46 -0
- package/@wix/ambassador-infra-asyncjobs-v1-async-job/src/main/proto/wix/infra/asyncjobs/v1/AsyncJob.proto +156 -0
- package/@wix/ambassador-infra-asyncjobs-v1-async-job/src/main/proto/wix/infra/asyncjobs/v1/AsyncJobItem.proto +33 -0
- package/@wix/ambassador-infra-asyncjobs-v1-async-job/src/main/proto/wix/infra/asyncjobs/v1/AsyncJobService.proto +339 -0
- package/@wix/ambassador-infra-asyncjobs-v1-async-job/src/main/proto/wix/infra/asyncjobs/v1/upstream/wix/common/paging.proto +36 -0
- package/@wix/ambassador-infra-asyncjobs-v1-async-job/src/main/proto/wix/sdk/definitions.proto +191 -0
- package/@wix/ambassador-infra-asyncjobs-v1-async-job/src/main/proto/wix/spi/definitions.proto +186 -0
- package/@wix/ambassador-infra-asyncjobs-v1-async-job/src/main/proto/wix/spi/http_error_status.proto +24 -0
- package/@wix/ambassador-infra-asyncjobs-v1-async-job/types/package.json +7 -0
- package/@wix/bex-bundled-mini-essentials/CHANGELOG.md +4 -0
- package/@wix/bex-bundled-mini-essentials/dist/tsconfig.tsbuildinfo +1 -1
- package/@wix/bex-bundled-mini-essentials/package.json +1 -1
- package/dist/cjs/FocusableWrapper/scrollAndFocus.js +3 -1
- package/dist/cjs/FocusableWrapper/scrollAndFocus.js.map +1 -1
- package/dist/esm/FocusableWrapper/scrollAndFocus.js +4 -1
- package/dist/esm/FocusableWrapper/scrollAndFocus.js.map +1 -1
- package/dist/types/FocusableWrapper/scrollAndFocus.d.ts.map +1 -1
- package/package.json +4 -3
- package/@wix/ambassador-fedinfra-exportservice-v1-export-async-job/src/main/proto/com/wix/site/properties/upstream/wix/common/address.proto +0 -38
- package/@wix/ambassador-fedinfra-exportservice-v1-export-async-job/src/main/proto/com/wixpress/html/cache/invalidate/InvalidateCache.proto +0 -46
- package/@wix/ambassador-fedinfra-exportservice-v1-export-async-job/src/main/proto/com/wixpress/html/cache/invalidate/InvalidateCacheInternal.proto +0 -25
- package/@wix/ambassador-fedinfra-exportservice-v1-export-async-job/src/main/proto/com/wixpress/html/cache/invalidate/InvalidateCacheService.proto +0 -80
- package/@wix/ambassador-fedinfra-exportservice-v1-export-async-job/src/main/proto/com/wixpress/html/cache/invalidate/v2/invalidate_cache.proto +0 -27
- package/@wix/ambassador-fedinfra-exportservice-v1-export-async-job/src/main/proto/com/wixpress/immigrator/tasks/api/generic/bulk_migration_service.proto +0 -34
- package/@wix/ambassador-fedinfra-exportservice-v1-export-async-job/src/main/proto/com/wixpress/immigrator/tasks/api/generic/single_migration_service.proto +0 -25
- package/@wix/ambassador-fedinfra-exportservice-v1-export-async-job/src/main/proto/com/wixpress/locations/backoffice-service.proto +0 -40
- package/@wix/ambassador-fedinfra-exportservice-v1-export-async-job/src/main/proto/com/wixpress/locations/location.proto +0 -155
- package/@wix/ambassador-fedinfra-exportservice-v1-export-async-job/src/main/proto/com/wixpress/locations/locations-service.proto +0 -484
- package/@wix/ambassador-fedinfra-exportservice-v1-export-async-job/src/main/proto/com/wixpress/locations/messaging-service.proto +0 -32
- package/@wix/ambassador-fedinfra-exportservice-v1-export-async-job/src/main/proto/com/wixpress/locations/pagination.proto +0 -22
- package/@wix/ambassador-fedinfra-exportservice-v1-export-async-job/src/main/proto/com/wixpress/siteproperties/api/v4/notifications.proto +0 -89
- package/@wix/ambassador-fedinfra-exportservice-v1-export-async-job/src/main/proto/com/wixpress/siteproperties/api/v4/properties-sections.proto +0 -23
- package/@wix/ambassador-fedinfra-exportservice-v1-export-async-job/src/main/proto/com/wixpress/siteproperties/api/v4/properties.proto +0 -213
- package/@wix/ambassador-fedinfra-exportservice-v1-export-async-job/src/main/proto/com/wixpress/siteproperties/api/v4/service.proto +0 -268
- package/@wix/ambassador-fedinfra-exportservice-v1-export-async-job/src/main/proto/identification2.proto +0 -165
- package/@wix/ambassador-fedinfra-exportservice-v1-export-async-job/src/main/proto/identity2.proto +0 -173
- package/@wix/ambassador-fedinfra-exportservice-v1-export-async-job/src/main/proto/identity_refresh.proto +0 -42
- package/@wix/ambassador-fedinfra-exportservice-v1-export-async-job/src/main/proto/wix/site/properties/v5/properties.proto +0 -155
- package/@wix/ambassador-fedinfra-exportservice-v1-export-async-job/src/main/proto/wix/site/properties/v5/site_properties_service.proto +0 -324
- package/@wix/ambassador-fedinfra-exportservice-v1-export-async-job/src/main/proto/wix/stores/catalog/location/v3/stores_location.proto +0 -90
- package/@wix/ambassador-fedinfra-exportservice-v1-export-async-job/src/main/proto/wix/stores/catalog/location/v3/stores_location_service.proto +0 -284
- package/@wix/ambassador-fedinfra-exportservice-v1-export-async-job/src/main/proto/wix/stores/catalog/location/v3/upstream/wix/common/sorting.proto +0 -26
- package/@wix/ambassador-fedinfra-exportservice-v1-export-async-job/src/main/proto/wix/stores/catalog/location/v3/upstream/wix/query/query.proto +0 -436
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
syntax = "proto3";
|
|
2
|
-
|
|
3
|
-
package wix.stores.catalog.location.v3.upstream.wix.common;
|
|
4
|
-
|
|
5
|
-
import "wix/api/annotations.proto";
|
|
6
|
-
import "wix/api/validations.proto";
|
|
7
|
-
|
|
8
|
-
option java_multiple_files = true;
|
|
9
|
-
option java_package = "com.wix.stores.catalog.location.v3.upstream.wix.common";
|
|
10
|
-
|
|
11
|
-
message Sorting {
|
|
12
|
-
option (.wix.api.decomposite_of) = "wix.common.Sorting";
|
|
13
|
-
option (.wix.api.decomposition_minimum_fields) = {
|
|
14
|
-
field: "field_name"
|
|
15
|
-
field: "order"
|
|
16
|
-
};
|
|
17
|
-
// Name of the field to sort by.
|
|
18
|
-
string field_name = 1 [(.wix.api.maxLength) = 16000];
|
|
19
|
-
// Sort order.
|
|
20
|
-
SortOrder order = 2;
|
|
21
|
-
}
|
|
22
|
-
|
|
23
|
-
enum SortOrder {
|
|
24
|
-
ASC = 0;
|
|
25
|
-
DESC = 1;
|
|
26
|
-
}
|
|
@@ -1,436 +0,0 @@
|
|
|
1
|
-
syntax = "proto3";
|
|
2
|
-
|
|
3
|
-
package wix.stores.catalog.location.v3.upstream.wix.query;
|
|
4
|
-
|
|
5
|
-
import "google/protobuf/struct.proto";
|
|
6
|
-
import "google/protobuf/wrappers.proto";
|
|
7
|
-
import "wix/stores/catalog/location/v3/upstream/wix/common/sorting.proto";
|
|
8
|
-
import "wix/stores/catalog/location/v3/upstream/wix/common/paging.proto";
|
|
9
|
-
import "wix/api/annotations.proto";
|
|
10
|
-
import "wix/api/validations.proto";
|
|
11
|
-
|
|
12
|
-
option java_multiple_files = true;
|
|
13
|
-
option java_outer_classname = "QueryProto";
|
|
14
|
-
option java_package = "com.wix.stores.catalog.location.v3.upstream.wix.query";
|
|
15
|
-
|
|
16
|
-
message Query {
|
|
17
|
-
option (.wix.api.decomposite_of) = "wix.common.Query";
|
|
18
|
-
option (.wix.api.decomposition_minimum_fields) = {
|
|
19
|
-
field: "filter"
|
|
20
|
-
field: "sort"
|
|
21
|
-
field: "paging"
|
|
22
|
-
};
|
|
23
|
-
//Filter object in the following format:
|
|
24
|
-
//`"filter" : {
|
|
25
|
-
// "fieldName1": "value1",
|
|
26
|
-
// "fieldName2":{"$operator":"value2"}
|
|
27
|
-
// }`
|
|
28
|
-
//Example of operators: `$eq`, `$ne`, `$lt`, `$lte`, `$gt`, `$gte`, `$in`, `$hasSome`, `$hasAll`, `$startsWith`, `$contains`
|
|
29
|
-
google.protobuf.Value filter = 1;
|
|
30
|
-
//Sort object in the following format:
|
|
31
|
-
//`[{"fieldName":"sortField1","order":"ASC"},{"fieldName":"sortField2","order":"DESC"}]`
|
|
32
|
-
repeated wix.common.Sorting sort = 2 [(.wix.api.maxSize) = 8];
|
|
33
|
-
//Paging options to limit and skip the number of items.
|
|
34
|
-
wix.common.Paging paging = 3;
|
|
35
|
-
//Array of projected fields. A list of specific field names to return. If `fieldsets` are also specified, the union of `fieldsets` and `fields` is returned.
|
|
36
|
-
repeated string fields = 4 [(.wix.api.maxSize) = 100, (.wix.api.maxLength) = 20];
|
|
37
|
-
//Array of named, predefined sets of projected fields. A array of predefined named sets of fields to be returned. Specifying multiple `fieldsets` will return the union of fields from all sets. If `fields` are also specified, the union of `fieldsets` and `fields` is returned.
|
|
38
|
-
repeated string fieldsets = 5 [(.wix.api.maxSize) = 100, (.wix.api.maxLength) = 20];
|
|
39
|
-
}
|
|
40
|
-
|
|
41
|
-
message QueryV2 {
|
|
42
|
-
option (.wix.api.decomposite_of) = "wix.common.QueryV2";
|
|
43
|
-
option (.wix.api.decomposition_minimum_fields) = {
|
|
44
|
-
field: "filter"
|
|
45
|
-
field: "sort"
|
|
46
|
-
field: "paging"
|
|
47
|
-
};
|
|
48
|
-
option (.wix.api.decomposition_minimum_fields) = {
|
|
49
|
-
field: "filter"
|
|
50
|
-
field: "sort"
|
|
51
|
-
field: "cursor_paging"
|
|
52
|
-
};
|
|
53
|
-
//Filter object in the following format:
|
|
54
|
-
//`"filter" : {
|
|
55
|
-
// "fieldName1": "value1",
|
|
56
|
-
// "fieldName2":{"$operator":"value2"}
|
|
57
|
-
// }`
|
|
58
|
-
//Example of operators: `$eq`, `$ne`, `$lt`, `$lte`, `$gt`, `$gte`, `$in`, `$hasSome`, `$hasAll`, `$startsWith`, `$contains`
|
|
59
|
-
google.protobuf.Struct filter = 1;
|
|
60
|
-
//Sort object in the following format:
|
|
61
|
-
//`[{"fieldName":"sortField1","order":"ASC"},{"fieldName":"sortField2","order":"DESC"}]`
|
|
62
|
-
repeated wix.common.Sorting sort = 2 [(.wix.api.maxSize) = 8];
|
|
63
|
-
//Array of projected fields. A list of specific field names to return. If `fieldsets` are also specified, the union of `fieldsets` and `fields` is returned.
|
|
64
|
-
repeated string fields = 4 [(.wix.api.maxSize) = 100, (.wix.api.maxLength) = 20];
|
|
65
|
-
//Array of named, predefined sets of projected fields. A array of predefined named sets of fields to be returned. Specifying multiple `fieldsets` will return the union of fields from all sets. If `fields` are also specified, the union of `fieldsets` and `fields` is returned.
|
|
66
|
-
repeated string fieldsets = 5 [(.wix.api.maxSize) = 100, (.wix.api.maxLength) = 20];
|
|
67
|
-
oneof pagingMethod {
|
|
68
|
-
//Paging options to limit and skip the number of items.
|
|
69
|
-
wix.common.Paging paging = 3;
|
|
70
|
-
//Cursor token pointing to a page of results. Not used in the first request. Following requests use the cursor token and not `filter` or `sort`.
|
|
71
|
-
wix.common.CursorPaging cursor_paging = 6;
|
|
72
|
-
}
|
|
73
|
-
}
|
|
74
|
-
|
|
75
|
-
message CursorQuery {
|
|
76
|
-
option (.wix.api.decomposite_of) = "wix.common.CursorQuery";
|
|
77
|
-
//Filter object in the following format:
|
|
78
|
-
//`"filter" : {
|
|
79
|
-
// "fieldName1": "value1",
|
|
80
|
-
// "fieldName2":{"$operator":"value2"}
|
|
81
|
-
// }`
|
|
82
|
-
//Example of operators: `$eq`, `$ne`, `$lt`, `$lte`, `$gt`, `$gte`, `$in`, `$hasSome`, `$hasAll`, `$startsWith`, `$contains`
|
|
83
|
-
google.protobuf.Struct filter = 1;
|
|
84
|
-
//Sort object in the following format:
|
|
85
|
-
//`[{"fieldName":"sortField1","order":"ASC"},{"fieldName":"sortField2","order":"DESC"}]`
|
|
86
|
-
repeated wix.common.Sorting sort = 2 [(.wix.api.maxSize) = 8];
|
|
87
|
-
reserved 3;
|
|
88
|
-
reserved 4;
|
|
89
|
-
reserved 5;
|
|
90
|
-
oneof pagingMethod {
|
|
91
|
-
//Cursor token pointing to a page of results. Not used in the first request. Following requests use the cursor token and not `filter` or `sort`.
|
|
92
|
-
wix.common.CursorPaging cursor_paging = 6;
|
|
93
|
-
}
|
|
94
|
-
}
|
|
95
|
-
|
|
96
|
-
message Search {
|
|
97
|
-
option (.wix.api.decomposite_of) = "wix.common.Search";
|
|
98
|
-
option (.wix.api.decomposition_minimum_fields) = {
|
|
99
|
-
field: "filter"
|
|
100
|
-
field: "sort"
|
|
101
|
-
field: "paging"
|
|
102
|
-
};
|
|
103
|
-
option (.wix.api.decomposition_minimum_fields) = {
|
|
104
|
-
field: "filter"
|
|
105
|
-
field: "sort"
|
|
106
|
-
field: "cursor_paging"
|
|
107
|
-
};
|
|
108
|
-
//A filter object. See documentation [here](https://bo.wix.com/wix-docs/rnd/platformization-guidelines/api-query-language#platformization-guidelines_api-query-language_defining-in-protobuf)
|
|
109
|
-
google.protobuf.Struct filter = 1;
|
|
110
|
-
//Sort object in the form [{"fieldName":"sortField1"},{"fieldName":"sortField2","direction":"DESC"}]
|
|
111
|
-
repeated wix.common.Sorting sort = 2 [(.wix.api.maxSize) = 8];
|
|
112
|
-
//Projection on the result object - list of specific field names to return. If fieldsets are also specified, return the union of fieldsets and fields
|
|
113
|
-
repeated string fields = 3 [(.wix.api.maxLength) = 200, (.wix.api.maxSize) = 20];
|
|
114
|
-
//Projection on the result object - list of named projections. E.g. "basic" will return id and name fields. Specifying multiple fieldsets will return the union of fields from all. Specifying fieldsets and fields will also return the union of fields.
|
|
115
|
-
repeated string fieldsets = 4 [(.wix.api.maxLength) = 100, (.wix.api.maxSize) = 20];
|
|
116
|
-
//Aggregations | Faceted search: refers to a way to explore large amounts of data by displaying summaries about various partitions of the data and later allowing to narrow the navigation to a specific partition.
|
|
117
|
-
repeated Aggregation aggregations = 5 [(.wix.api.maxSize) = 8];
|
|
118
|
-
//free text to match in searchable fields
|
|
119
|
-
SearchDetails search = 6;
|
|
120
|
-
oneof paging_method {
|
|
121
|
-
//Pointer to page of results using offset. Can not be used together with 'cursor_paging'
|
|
122
|
-
wix.common.Paging paging = 7;
|
|
123
|
-
//Cursor pointing to page of results. Can't be used together with 'paging'. 'cursor_paging.cursor' can not be used together with 'filter' or 'sort'
|
|
124
|
-
wix.common.CursorPaging cursor_paging = 8;
|
|
125
|
-
}
|
|
126
|
-
}
|
|
127
|
-
|
|
128
|
-
message CursorSearch {
|
|
129
|
-
option (.wix.api.decomposite_of) = "wix.common.CursorSearch";
|
|
130
|
-
//A filter object. See documentation [here](https://bo.wix.com/wix-docs/rnd/platformization-guidelines/api-query-language#platformization-guidelines_api-query-language_defining-in-protobuf)
|
|
131
|
-
google.protobuf.Struct filter = 1;
|
|
132
|
-
//Sort object in the form [{"fieldName":"sortField1"},{"fieldName":"sortField2","direction":"DESC"}]
|
|
133
|
-
repeated wix.common.Sorting sort = 2 [(.wix.api.maxSize) = 8];
|
|
134
|
-
reserved 3;
|
|
135
|
-
reserved 4;
|
|
136
|
-
reserved 7;
|
|
137
|
-
//Aggregations | Faceted search: refers to a way to explore large amounts of data by displaying summaries about various partitions of the data and later allowing to narrow the navigation to a specific partition.
|
|
138
|
-
repeated Aggregation aggregations = 5 [(.wix.api.maxSize) = 8];
|
|
139
|
-
//free text to match in searchable fields
|
|
140
|
-
SearchDetails search = 6;
|
|
141
|
-
oneof paging_method {
|
|
142
|
-
//Cursor pointing to page of results. Can't be used together with 'paging'. 'cursor_paging.cursor' can not be used together with 'filter' or 'sort'
|
|
143
|
-
wix.common.CursorPaging cursor_paging = 8;
|
|
144
|
-
}
|
|
145
|
-
}
|
|
146
|
-
|
|
147
|
-
message SearchDetails {
|
|
148
|
-
option (.wix.api.decomposite_of) = "wix.common.SearchDetails";
|
|
149
|
-
enum Mode {
|
|
150
|
-
OR = 0; // any
|
|
151
|
-
AND = 1; // all
|
|
152
|
-
}
|
|
153
|
-
Mode mode = 1; // boolean search mode
|
|
154
|
-
google.protobuf.StringValue expression = 2 [(.wix.api.maxLength) = 100]; // Search term or expression
|
|
155
|
-
// Fields to search in. If empty - will search in all searchable fields. Use dot notation to specify json path
|
|
156
|
-
repeated string fields = 3 [(.wix.api.maxLength) = 200, (.wix.api.maxSize) = 20];
|
|
157
|
-
bool fuzzy = 4; // flag if should use auto fuzzy search (allowing typos by a managed proximity algorithm)
|
|
158
|
-
}
|
|
159
|
-
|
|
160
|
-
enum AggregationType {
|
|
161
|
-
UNKNOWN_AGGREGATION_TYPE = 0;
|
|
162
|
-
VALUE = 1;
|
|
163
|
-
RANGE = 2;
|
|
164
|
-
SCALAR = 3;
|
|
165
|
-
}
|
|
166
|
-
|
|
167
|
-
enum ScalarType {
|
|
168
|
-
UNKNOWN_SCALAR_TYPE = 0;
|
|
169
|
-
COUNT_DISTINCT = 1;
|
|
170
|
-
MIN = 2;
|
|
171
|
-
MAX = 3;
|
|
172
|
-
SUM = 4 [(.wix.api.enum_exposure) = PRIVATE];
|
|
173
|
-
AVG = 5 [(.wix.api.enum_exposure) = PRIVATE];
|
|
174
|
-
}
|
|
175
|
-
|
|
176
|
-
message Aggregation {
|
|
177
|
-
option (.wix.api.decomposite_of) = "wix.common.Aggregation";
|
|
178
|
-
message RangeAggregation {
|
|
179
|
-
option (.wix.api.decomposite_of) = "wix.common.Aggregation.RangeAggregation";
|
|
180
|
-
message RangeBucket {
|
|
181
|
-
option (.wix.api.decomposite_of) = "wix.common.Aggregation.RangeAggregation.RangeBucket";
|
|
182
|
-
google.protobuf.DoubleValue from = 1; // Inclusive lower bound of the range. Required if to is not given.
|
|
183
|
-
google.protobuf.DoubleValue to = 2; // Exclusive upper bound of the range. Required if from is not given.
|
|
184
|
-
}
|
|
185
|
-
// List of range buckets, where during aggregation each entity will be placed in the first bucket where its value falls into based on provided range bounds
|
|
186
|
-
repeated RangeBucket buckets = 1 [(.wix.api.maxSize) = 50];
|
|
187
|
-
}
|
|
188
|
-
|
|
189
|
-
message ValueAggregation {
|
|
190
|
-
option (.wix.api.decomposite_of) = "wix.common.Aggregation.ValueAggregation";
|
|
191
|
-
enum SortType {
|
|
192
|
-
COUNT = 0;
|
|
193
|
-
VALUE = 1;
|
|
194
|
-
}
|
|
195
|
-
enum SortDirection {
|
|
196
|
-
DESC = 0;
|
|
197
|
-
ASC = 1;
|
|
198
|
-
}
|
|
199
|
-
SortType sort_type = 1; // Should sort by number of matches or value of the field
|
|
200
|
-
SortDirection sort_direction = 2; // Should sort in ascending or descending order
|
|
201
|
-
google.protobuf.Int32Value limit = 3; // How many aggregations would you like to return? Can be between 1 and 250. 10 is the default.
|
|
202
|
-
}
|
|
203
|
-
|
|
204
|
-
message ScalarAggregation {
|
|
205
|
-
option (.wix.api.decomposite_of) = "wix.common.Aggregation.ScalarAggregation";
|
|
206
|
-
ScalarType type = 1; // Define the operator for the scalar aggregation
|
|
207
|
-
}
|
|
208
|
-
|
|
209
|
-
google.protobuf.StringValue name = 1 [(.wix.api.maxLength) = 100]; // User-defined name of aggregation, should be unique, will appear in aggregation results
|
|
210
|
-
AggregationType type = 2; // Type of aggregation, client must provide matching aggregation field below
|
|
211
|
-
string field_path = 3 [(.wix.api.maxLength) = 200]; // Field to aggregate by, use dot notation to specify json path
|
|
212
|
-
oneof kind {
|
|
213
|
-
ValueAggregation value = 4; // Value aggregation
|
|
214
|
-
RangeAggregation range = 5; // Range aggregation
|
|
215
|
-
ScalarAggregation scalar = 6; // Scalar aggregation
|
|
216
|
-
}
|
|
217
|
-
}
|
|
218
|
-
|
|
219
|
-
message AggregationData {
|
|
220
|
-
option (.wix.api.decomposite_of) = "wix.common.AggregationData";
|
|
221
|
-
message AggregationResults {
|
|
222
|
-
option (.wix.api.decomposite_of) = "wix.common.AggregationData.AggregationResults";
|
|
223
|
-
message ValueResults {
|
|
224
|
-
option (.wix.api.decomposite_of) = "wix.common.AggregationData.AggregationResults.ValueResults";
|
|
225
|
-
message ValueAggregationResult {
|
|
226
|
-
option (.wix.api.decomposite_of) = "wix.common.AggregationData.AggregationResults.ValueResults.ValueAggregationResult";
|
|
227
|
-
string value = 1 [(.wix.api.maxLength) = 100]; // Value of the field
|
|
228
|
-
int32 count = 2; // Count of entities with this value
|
|
229
|
-
}
|
|
230
|
-
repeated ValueAggregationResult results = 1 [(.wix.api.maxSize) = 250]; // List of value aggregations
|
|
231
|
-
}
|
|
232
|
-
|
|
233
|
-
message RangeResults {
|
|
234
|
-
option (.wix.api.decomposite_of) = "wix.common.AggregationData.AggregationResults.RangeResults";
|
|
235
|
-
message RangeAggregationResult {
|
|
236
|
-
option (.wix.api.decomposite_of) = "wix.common.AggregationData.AggregationResults.RangeResults.RangeAggregationResult";
|
|
237
|
-
google.protobuf.DoubleValue from = 1; // Inclusive lower bound of the range
|
|
238
|
-
google.protobuf.DoubleValue to = 2; // Exclusive upper bound of the range
|
|
239
|
-
int32 count = 3; // Count of entities in this range
|
|
240
|
-
}
|
|
241
|
-
repeated RangeAggregationResult results = 1 [(.wix.api.maxSize) = 50]; // List of ranges returned in same order as requested
|
|
242
|
-
}
|
|
243
|
-
|
|
244
|
-
message ScalarResult {
|
|
245
|
-
option (.wix.api.decomposite_of) = "wix.common.AggregationData.AggregationResults.ScalarResult";
|
|
246
|
-
ScalarType type = 1; // Type of scalar aggregation
|
|
247
|
-
double value = 2; // Value of the scalar aggregation
|
|
248
|
-
}
|
|
249
|
-
|
|
250
|
-
string name = 1 [(.wix.api.maxLength) = 100]; // User-defined name of aggregation as derived from search request
|
|
251
|
-
AggregationType type = 2; // Type of aggregation that must match provided kind as derived from search request
|
|
252
|
-
oneof result {
|
|
253
|
-
ValueResults values = 3; // Value aggregation results
|
|
254
|
-
RangeResults ranges = 4; // Range aggregation results
|
|
255
|
-
ScalarResult scalar = 5; // Scalar aggregation results
|
|
256
|
-
}
|
|
257
|
-
}
|
|
258
|
-
|
|
259
|
-
repeated AggregationResults results = 1 [(.wix.api.maxSize) = 10000]; // key = aggregation name (as derived from search request)
|
|
260
|
-
}
|
|
261
|
-
|
|
262
|
-
/*
|
|
263
|
-
// Usage example in response composition:
|
|
264
|
-
message ProductSearchResponse {
|
|
265
|
-
option (.wix.api.decomposite_of) = "wix.common.ProductSearchResponse";
|
|
266
|
-
AggregationData aggregations = 1;
|
|
267
|
-
PagingMetadataV2 metadata = 2;
|
|
268
|
-
repeated Product products = 3;
|
|
269
|
-
}
|
|
270
|
-
|
|
271
|
-
// example Value type Request:
|
|
272
|
-
{
|
|
273
|
-
search: {
|
|
274
|
-
expression: "term"
|
|
275
|
-
},
|
|
276
|
-
aggregations: [
|
|
277
|
-
{
|
|
278
|
-
name: "my-value-aggregation",
|
|
279
|
-
type: "VALUE",
|
|
280
|
-
fieldPath: "path.to.field",
|
|
281
|
-
value: {
|
|
282
|
-
sort_type: "VALUE",
|
|
283
|
-
sort_direction: "DESC",
|
|
284
|
-
limit: 15
|
|
285
|
-
}
|
|
286
|
-
}
|
|
287
|
-
]
|
|
288
|
-
}
|
|
289
|
-
|
|
290
|
-
// example Value type Response:
|
|
291
|
-
{
|
|
292
|
-
aggregations: {
|
|
293
|
-
results: [
|
|
294
|
-
{
|
|
295
|
-
name: "my-value-aggregation",
|
|
296
|
-
type: "VALUE",
|
|
297
|
-
values: {
|
|
298
|
-
results: [
|
|
299
|
-
{
|
|
300
|
-
value: "v1",
|
|
301
|
-
count: 9
|
|
302
|
-
},
|
|
303
|
-
{
|
|
304
|
-
value: "v2",
|
|
305
|
-
count: 6
|
|
306
|
-
}
|
|
307
|
-
]
|
|
308
|
-
}
|
|
309
|
-
}
|
|
310
|
-
]
|
|
311
|
-
},
|
|
312
|
-
metadata: {
|
|
313
|
-
items: 25,
|
|
314
|
-
offset: 25,
|
|
315
|
-
total: 420,
|
|
316
|
-
tooManyToCount: false,
|
|
317
|
-
cursors: {
|
|
318
|
-
next: "SOMEHASHFORNEXT",
|
|
319
|
-
prev: "SOMEHASHFORPREV"
|
|
320
|
-
}
|
|
321
|
-
},
|
|
322
|
-
products: [...]
|
|
323
|
-
}
|
|
324
|
-
|
|
325
|
-
// example Range type Request:
|
|
326
|
-
{
|
|
327
|
-
search: {
|
|
328
|
-
expression: "term"
|
|
329
|
-
},
|
|
330
|
-
aggregations: [
|
|
331
|
-
{
|
|
332
|
-
name: "my-range-aggregation",
|
|
333
|
-
type: "RANGE",
|
|
334
|
-
fieldPath: "path.to.field",
|
|
335
|
-
range: {
|
|
336
|
-
buckets: [
|
|
337
|
-
{
|
|
338
|
-
to: 10
|
|
339
|
-
},
|
|
340
|
-
{
|
|
341
|
-
from: 10,
|
|
342
|
-
to: 20
|
|
343
|
-
},
|
|
344
|
-
{
|
|
345
|
-
from: 20
|
|
346
|
-
}
|
|
347
|
-
]
|
|
348
|
-
}
|
|
349
|
-
}
|
|
350
|
-
]
|
|
351
|
-
}
|
|
352
|
-
|
|
353
|
-
// example Range type Response:
|
|
354
|
-
{
|
|
355
|
-
aggregations: {
|
|
356
|
-
results: [
|
|
357
|
-
{
|
|
358
|
-
name: "my-range-aggregation",
|
|
359
|
-
type: "RANGE",
|
|
360
|
-
ranges: {
|
|
361
|
-
results: [
|
|
362
|
-
{
|
|
363
|
-
to: 10,
|
|
364
|
-
count: 5
|
|
365
|
-
},
|
|
366
|
-
{
|
|
367
|
-
from: 10,
|
|
368
|
-
to: 20,
|
|
369
|
-
count: 3
|
|
370
|
-
},
|
|
371
|
-
{
|
|
372
|
-
from: 20,
|
|
373
|
-
count: 1
|
|
374
|
-
}
|
|
375
|
-
]
|
|
376
|
-
}
|
|
377
|
-
}
|
|
378
|
-
]
|
|
379
|
-
},
|
|
380
|
-
metadata: {
|
|
381
|
-
items: 25,
|
|
382
|
-
offset: 25,
|
|
383
|
-
total: 420,
|
|
384
|
-
tooManyToCount: false,
|
|
385
|
-
cursors: {
|
|
386
|
-
next: "SOMEHASHFORNEXT",
|
|
387
|
-
prev: "SOMEHASHFORPREV"
|
|
388
|
-
}
|
|
389
|
-
},
|
|
390
|
-
products: [...]
|
|
391
|
-
}
|
|
392
|
-
|
|
393
|
-
// example Scalar type Request:
|
|
394
|
-
{
|
|
395
|
-
search: {
|
|
396
|
-
expression: "term"
|
|
397
|
-
},
|
|
398
|
-
aggregations: [
|
|
399
|
-
{
|
|
400
|
-
name: "my-scalar-aggregation",
|
|
401
|
-
type: "SCALAR",
|
|
402
|
-
fieldPath: "path.to.field",
|
|
403
|
-
scalar: {
|
|
404
|
-
type: "AVG"
|
|
405
|
-
}
|
|
406
|
-
}
|
|
407
|
-
]
|
|
408
|
-
}
|
|
409
|
-
|
|
410
|
-
// example Scalar type Response:
|
|
411
|
-
{
|
|
412
|
-
aggregations: {
|
|
413
|
-
results: [
|
|
414
|
-
{
|
|
415
|
-
name: "my-scalar-agregation",
|
|
416
|
-
type: "SCALAR",
|
|
417
|
-
scalar: {
|
|
418
|
-
type: "AVG",
|
|
419
|
-
value: 5.555
|
|
420
|
-
}
|
|
421
|
-
}
|
|
422
|
-
]
|
|
423
|
-
},
|
|
424
|
-
metadata: {
|
|
425
|
-
items: 25,
|
|
426
|
-
offset: 25,
|
|
427
|
-
total: 420,
|
|
428
|
-
tooManyToCount: false,
|
|
429
|
-
cursors: {
|
|
430
|
-
next: "SOMEHASHFORNEXT",
|
|
431
|
-
prev: "SOMEHASHFORPREV"
|
|
432
|
-
}
|
|
433
|
-
},
|
|
434
|
-
products: [...]
|
|
435
|
-
}
|
|
436
|
-
*/
|