@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,213 +0,0 @@
|
|
|
1
|
-
syntax = "proto3";
|
|
2
|
-
|
|
3
|
-
package com.wixpress.siteproperties.api.v4;
|
|
4
|
-
|
|
5
|
-
import "google/protobuf/wrappers.proto";
|
|
6
|
-
import "wix/api/annotations.proto";
|
|
7
|
-
import "wix/api/entity.proto";
|
|
8
|
-
import "wix/api/validations.proto";
|
|
9
|
-
|
|
10
|
-
message Categories {
|
|
11
|
-
string primary = 1; // Primary site category.
|
|
12
|
-
repeated string secondary = 2 [(.wix.api.maxSize) = 50]; // Secondary site category.
|
|
13
|
-
google.protobuf.StringValue business_term_id = 3; // Business Term Id
|
|
14
|
-
}
|
|
15
|
-
|
|
16
|
-
message Locale {
|
|
17
|
-
// Two-letter language code in [ISO 639-1 alpha-2](https://en.wikipedia.org/wiki/List_of_ISO_639-1_codes) format.
|
|
18
|
-
string language_code = 1;
|
|
19
|
-
// Two-letter country code in [ISO-3166 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2#Officially_assigned_code_elements) format.
|
|
20
|
-
string country = 2;
|
|
21
|
-
}
|
|
22
|
-
|
|
23
|
-
message SupportedLanguage {
|
|
24
|
-
// Two-letter language code in [ISO 639-1 alpha-2](https://en.wikipedia.org/wiki/List_of_ISO_639-1_codes) format.
|
|
25
|
-
string language_code = 1;
|
|
26
|
-
Locale locale = 2; // Locale.
|
|
27
|
-
bool is_primary = 4; // Whether the supported language is the primary language for the site.
|
|
28
|
-
string country_code = 5; // Language icon.
|
|
29
|
-
ResolutionMethod resolution_method = 6; // How the language will be resolved. For internal use.
|
|
30
|
-
}
|
|
31
|
-
|
|
32
|
-
enum ResolutionMethod {
|
|
33
|
-
QUERY_PARAM = 0;
|
|
34
|
-
SUBDOMAIN = 1;
|
|
35
|
-
SUBDIRECTORY = 2;
|
|
36
|
-
}
|
|
37
|
-
|
|
38
|
-
message Multilingual { // Languages supported on a multilingual site.
|
|
39
|
-
repeated SupportedLanguage supported_languages = 1 [(.wix.api.maxSize) = 200]; // Supported languages list.
|
|
40
|
-
bool auto_redirect = 2; // Whether to redirect to user language.
|
|
41
|
-
}
|
|
42
|
-
|
|
43
|
-
message Address { // Represents a single street address (which may or may not represent an actual, physical location).
|
|
44
|
-
// Street name.
|
|
45
|
-
string street = 1 [(wix.api.pii) = true];
|
|
46
|
-
// City name.
|
|
47
|
-
string city = 2 [(wix.api.pii) = true];
|
|
48
|
-
// Two-letter country code in an [ISO-3166 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) format.
|
|
49
|
-
string country = 3 [(wix.api.pii) = true];
|
|
50
|
-
// State.
|
|
51
|
-
string state = 4 [(wix.api.pii) = true];
|
|
52
|
-
// Zip or postal code.
|
|
53
|
-
string zip = 5 [(wix.api.pii) = true, (wix.api.maxLength) = 20];
|
|
54
|
-
// Extra information to be displayed in the address.
|
|
55
|
-
AddressHint hint = 6;
|
|
56
|
-
// Whether this address represents a physical location.
|
|
57
|
-
bool is_physical = 7;
|
|
58
|
-
string google_formatted_address = 8 [(wix.api.pii) = true]; // Google-formatted version of this address.
|
|
59
|
-
// Street number.
|
|
60
|
-
string street_number = 9 [(wix.api.pii) = true];
|
|
61
|
-
// Apartment number.
|
|
62
|
-
string apartment_number = 10 [(wix.api.pii) = true];
|
|
63
|
-
GeoCoordinates coordinates = 11; // Geographic coordinates of location.
|
|
64
|
-
}
|
|
65
|
-
|
|
66
|
-
/*
|
|
67
|
-
Extra information on displayed addresses.
|
|
68
|
-
This is used for display purposes. Used to add additional data about the address, such as "In the passage".
|
|
69
|
-
Free text. In addition the user can state where he wants that additional description - before, after, or instead
|
|
70
|
-
the address string.
|
|
71
|
-
*/
|
|
72
|
-
message AddressHint {
|
|
73
|
-
string text = 1 [(wix.api.pii) = true]; // Extra text displayed next to, or instead of, the actual address.
|
|
74
|
-
PlacementType placement = 2; // Where the extra text should be displayed.
|
|
75
|
-
}
|
|
76
|
-
|
|
77
|
-
// Geocoordinates for a particular address.
|
|
78
|
-
message GeoCoordinates {
|
|
79
|
-
// Latitude of the location. Must be between -90 and 90.
|
|
80
|
-
double latitude = 1 [(wix.api.pii) = true];
|
|
81
|
-
// Longitude of the location. Must be between -180 and 180.
|
|
82
|
-
double longitude = 2 [(wix.api.pii) = true];
|
|
83
|
-
}
|
|
84
|
-
|
|
85
|
-
// Where the extra text should be displayed: before, after or instead of the actual address.
|
|
86
|
-
enum PlacementType {
|
|
87
|
-
BEFORE = 0;
|
|
88
|
-
AFTER = 1;
|
|
89
|
-
REPLACE = 2;
|
|
90
|
-
}
|
|
91
|
-
|
|
92
|
-
/*
|
|
93
|
-
Business schedule. Regular and exceptional time periods when the business is open or the service is available.
|
|
94
|
-
*/
|
|
95
|
-
message BusinessSchedule {
|
|
96
|
-
/*
|
|
97
|
-
Weekly recurring time periods when the business is regularly open or the service is available. Limited to 100 time periods.
|
|
98
|
-
*/
|
|
99
|
-
repeated TimePeriod periods = 1 [(.wix.api.maxSize) = 100];
|
|
100
|
-
// Exceptions to the business's regular hours. The business can be open or closed during the exception.
|
|
101
|
-
repeated SpecialHourPeriod special_hour_period = 2 [(.wix.api.maxSize) = 100];
|
|
102
|
-
}
|
|
103
|
-
|
|
104
|
-
/*
|
|
105
|
-
Weekly recurring time periods when the business is regularly open or the service is available.
|
|
106
|
-
*/
|
|
107
|
-
message TimePeriod {
|
|
108
|
-
// Day of the week the period starts on.
|
|
109
|
-
DayOfWeek open_day = 1;
|
|
110
|
-
/*
|
|
111
|
-
Time the period starts in 24-hour [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) extended format. Valid values are `00:00` to `24:00`, where `24:00` represents
|
|
112
|
-
midnight at the end of the specified day.
|
|
113
|
-
*/
|
|
114
|
-
string open_time = 2;
|
|
115
|
-
// Day of the week the period ends on.
|
|
116
|
-
DayOfWeek close_day = 3;
|
|
117
|
-
/*
|
|
118
|
-
Time the period ends in 24-hour [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) extended format. Valid values are `00:00` to `24:00`, where `24:00` represents
|
|
119
|
-
midnight at the end of the specified day.
|
|
120
|
-
|
|
121
|
-
__Note:__ If `openDay` and `closeDay` specify the same day of the week `closeTime` must be later than `openTime`.
|
|
122
|
-
*/
|
|
123
|
-
string close_time = 4;
|
|
124
|
-
}
|
|
125
|
-
|
|
126
|
-
// Exception to the business's regular hours. The business can be open or closed during the exception.
|
|
127
|
-
message SpecialHourPeriod {
|
|
128
|
-
/*
|
|
129
|
-
Start date and time of the exception in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format and [Coordinated Universal Time (UTC)](https://en.wikipedia.org/wiki/Coordinated_Universal_Time).
|
|
130
|
-
*/
|
|
131
|
-
string start_date = 1;
|
|
132
|
-
/*
|
|
133
|
-
End date and time of the exception in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format and [Coordinated Universal Time (UTC)](https://en.wikipedia.org/wiki/Coordinated_Universal_Time).
|
|
134
|
-
*/
|
|
135
|
-
string end_date = 2;
|
|
136
|
-
/*
|
|
137
|
-
Whether the business is closed (or the service is not available) during the exception.
|
|
138
|
-
|
|
139
|
-
Default: `true`.
|
|
140
|
-
*/
|
|
141
|
-
bool is_closed = 3;
|
|
142
|
-
// Additional info about the exception. For example, "We close earlier on New Year's Eve."
|
|
143
|
-
string comment = 4;
|
|
144
|
-
}
|
|
145
|
-
|
|
146
|
-
// Enumerates the days of the week.
|
|
147
|
-
enum DayOfWeek {
|
|
148
|
-
MONDAY = 0;
|
|
149
|
-
TUESDAY = 1;
|
|
150
|
-
WEDNESDAY = 2;
|
|
151
|
-
THURSDAY = 3;
|
|
152
|
-
FRIDAY = 4;
|
|
153
|
-
SATURDAY = 5;
|
|
154
|
-
SUNDAY = 6;
|
|
155
|
-
}
|
|
156
|
-
|
|
157
|
-
message ConsentPolicy {
|
|
158
|
-
google.protobuf.BoolValue essential = 1; // Whether the site uses cookies that are essential to site operation.
|
|
159
|
-
google.protobuf.BoolValue functional = 2; // Whether the site uses cookies that affect site performance and other functional measurements.
|
|
160
|
-
google.protobuf.BoolValue analytics = 3; // Whether the site uses cookies that collect analytics about how the site is used (in order to improve it).
|
|
161
|
-
google.protobuf.BoolValue advertising = 4; // Whether the site uses cookies that collect information allowing better customization of the experience for a current visitor.
|
|
162
|
-
google.protobuf.BoolValue data_to_third_party = 5; // CCPA compliance flag.
|
|
163
|
-
}
|
|
164
|
-
|
|
165
|
-
message Properties {
|
|
166
|
-
option (wix.api.entity) = {
|
|
167
|
-
fqdn: "wix.siteproperties.v4.properties"
|
|
168
|
-
segment: USERS
|
|
169
|
-
app_def_id: "34f1f971-f85f-4373-8830-051889fe7ce6"
|
|
170
|
-
appendix_files: {
|
|
171
|
-
type: AUTO_VELO
|
|
172
|
-
path: "appendices/velo"
|
|
173
|
-
};
|
|
174
|
-
};
|
|
175
|
-
|
|
176
|
-
Categories categories = 1; // Site categories.
|
|
177
|
-
Locale locale = 2; // Site locale.
|
|
178
|
-
/* Site language.
|
|
179
|
-
|
|
180
|
-
Two-letter language code in [ISO 639-1 alpha-2](https://en.wikipedia.org/wiki/List_of_ISO_639-1_codes) format.
|
|
181
|
-
*/
|
|
182
|
-
google.protobuf.StringValue language = 3;
|
|
183
|
-
/* Site currency format used to bill customers.
|
|
184
|
-
|
|
185
|
-
Three-letter currency code in [ISO-4217 alphabetic](https://en.wikipedia.org/wiki/ISO_4217#Active_codes) format.
|
|
186
|
-
*/
|
|
187
|
-
google.protobuf.StringValue payment_currency = 4;
|
|
188
|
-
// Timezone in `America/New_York` format.
|
|
189
|
-
google.protobuf.StringValue time_zone = 5;
|
|
190
|
-
google.protobuf.StringValue email = 6 [(wix.api.pii) = true]; // Email address.
|
|
191
|
-
google.protobuf.StringValue phone = 7 [(wix.api.pii) = true]; // Phone number.
|
|
192
|
-
google.protobuf.StringValue fax = 8 [(wix.api.pii) = true]; // Fax number.
|
|
193
|
-
Address address = 9; // Address.
|
|
194
|
-
google.protobuf.StringValue site_display_name = 10; // Site display name.
|
|
195
|
-
google.protobuf.StringValue business_name = 11; // Business name.
|
|
196
|
-
google.protobuf.StringValue logo = 12; // Path to the site's logo in Wix Media (without Wix Media base URL).
|
|
197
|
-
google.protobuf.StringValue description = 13; // Site description.
|
|
198
|
-
/*
|
|
199
|
-
Business schedule. Regular and exceptional time periods when the business is open or the service is available.
|
|
200
|
-
|
|
201
|
-
__Note:__ Not supported by Wix Bookings.
|
|
202
|
-
*/
|
|
203
|
-
BusinessSchedule business_schedule = 14;
|
|
204
|
-
Multilingual multilingual = 15; // Supported languages of a site and the primary language.
|
|
205
|
-
ConsentPolicy consent_policy = 17; // Cookie policy the site owner defined for their site (before the users interacts with/limits it).
|
|
206
|
-
/* Supported values: `FITNESS SERVICE`, `RESTAURANT`, `BLOG`, `STORE`, `EVENT`, `UNKNOWN`.
|
|
207
|
-
|
|
208
|
-
Site business type.
|
|
209
|
-
*/
|
|
210
|
-
google.protobuf.StringValue business_config = 19;
|
|
211
|
-
google.protobuf.StringValue external_site_url = 20; // External site url that uses Wix as its headless business solution
|
|
212
|
-
bool track_clicks_analytics = 21; // Track clicks analytics
|
|
213
|
-
}
|
|
@@ -1,268 +0,0 @@
|
|
|
1
|
-
syntax = "proto3";
|
|
2
|
-
|
|
3
|
-
package com.wixpress.siteproperties.api.v4;
|
|
4
|
-
|
|
5
|
-
import "google/api/annotations.proto";
|
|
6
|
-
import "google/protobuf/field_mask.proto";
|
|
7
|
-
import "google/protobuf/wrappers.proto";
|
|
8
|
-
import "wix/api/permissions.proto";
|
|
9
|
-
import "wix/api/annotations.proto";
|
|
10
|
-
import "wix/api/callback.proto";
|
|
11
|
-
import "com/wixpress/siteproperties/api/v4/properties.proto";
|
|
12
|
-
import "com/wixpress/siteproperties/api/v4/notifications.proto";
|
|
13
|
-
import "com/wixpress/siteproperties/api/v4/properties-sections.proto";
|
|
14
|
-
import "wix/api/api_errors.proto";
|
|
15
|
-
import "wix/api/entity.proto";
|
|
16
|
-
import "wix/api/validations.proto";
|
|
17
|
-
import "wix/sdk/definitions.proto";
|
|
18
|
-
|
|
19
|
-
// The parameters of a site properties read request.
|
|
20
|
-
message PropertiesReadRequest {
|
|
21
|
-
// List of fields to return.
|
|
22
|
-
// If omitted, all fields are returned.
|
|
23
|
-
google.protobuf.FieldMask fields = 1;
|
|
24
|
-
}
|
|
25
|
-
|
|
26
|
-
// The resulting properties for the requested site.
|
|
27
|
-
message PropertiesReadResponse {
|
|
28
|
-
string version = 2; // Current version of the stored property site. For internal use.
|
|
29
|
-
Properties properties = 3; // Properties for the requested site.
|
|
30
|
-
}
|
|
31
|
-
|
|
32
|
-
// The request used to update a site's properties.
|
|
33
|
-
message PropertiesUpdateRequest {
|
|
34
|
-
Properties properties = 1; /*
|
|
35
|
-
The updated properties and their respective values. The subsequent "fields" property determines
|
|
36
|
-
which properties are actually considered for updating; specifying the default value for a masked property
|
|
37
|
-
deletes the property from the store.
|
|
38
|
-
*/
|
|
39
|
-
google.protobuf.FieldMask fields = 2; // The properties to be updated. Properties not explicitly specified here are ignored. Properties included here but excluded from `properties` are cleared.
|
|
40
|
-
}
|
|
41
|
-
|
|
42
|
-
// The details resulting from an update operation.
|
|
43
|
-
message PropertiesUpdateResponse {
|
|
44
|
-
string version = 2; // The new version of the stored properties after the update. For internal use.
|
|
45
|
-
}
|
|
46
|
-
|
|
47
|
-
// The request used to update site's default consent policy
|
|
48
|
-
message UpdateConsentPolicyRequest {
|
|
49
|
-
ConsentPolicy consent_policy = 1; // Default consent policy defined by the site owner. Can be further limited by site visitors.
|
|
50
|
-
}
|
|
51
|
-
|
|
52
|
-
message UpdateConsentPolicyResponse {}
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
message UpdateBusinessProfileRequest {
|
|
57
|
-
BusinessProfileData business_profile = 1; // The site's business profile.
|
|
58
|
-
google.protobuf.FieldMask fields = 2; // The properties of `businessProfile` to be updated. Properties not explicitly specified here are ignored. Properties included here but excluded from `businessProfile` are cleared.
|
|
59
|
-
}
|
|
60
|
-
|
|
61
|
-
message UpdateBusinessProfileResponse {}
|
|
62
|
-
|
|
63
|
-
message UpdateBusinessContactRequest {
|
|
64
|
-
BusinessContactData business_contact = 1; // The site's business contact information.
|
|
65
|
-
google.protobuf.FieldMask fields = 2; // The properties of `businessContact` to be updated. Properties not explicitly specified here are ignored. Properties included here but excluded from `businessContact` are cleared.
|
|
66
|
-
}
|
|
67
|
-
|
|
68
|
-
message UpdateBusinessContactResponse {}
|
|
69
|
-
|
|
70
|
-
message UpdateBusinessScheduleRequest {
|
|
71
|
-
BusinessSchedule business_schedule = 1; // The site's business schedule in the site time zone.
|
|
72
|
-
}
|
|
73
|
-
|
|
74
|
-
message UpdateBusinessScheduleResponse {}
|
|
75
|
-
|
|
76
|
-
message BulkPropertiesReadRequest {
|
|
77
|
-
repeated string sites = 1 [(.wix.api.maxSize) = 1000]; // Sites ids.
|
|
78
|
-
}
|
|
79
|
-
|
|
80
|
-
// The resulting properties for the requested site.
|
|
81
|
-
message BulkPropertiesReadResponse {
|
|
82
|
-
map<string,PropertiesReadResponse> sites = 1; // The ID of the resolved MetaSite for the request.
|
|
83
|
-
}
|
|
84
|
-
|
|
85
|
-
/*
|
|
86
|
-
This service can be used to manage a particular site's business properties (e-mail, physical address etc.)
|
|
87
|
-
Properties are keyed by the MetaSite ID, and a set of default properties are resolved for a site on the first
|
|
88
|
-
request to this service for that particular site.
|
|
89
|
-
*/
|
|
90
|
-
service SitePropertiesV4 {
|
|
91
|
-
option (wix.api.service_entity).message = "com.wixpress.siteproperties.api.v4.Properties";
|
|
92
|
-
|
|
93
|
-
// Retrieves a current snapshot of a site's properties.
|
|
94
|
-
rpc Read (PropertiesReadRequest) returns (PropertiesReadResponse) {
|
|
95
|
-
option (google.api.http) = {
|
|
96
|
-
get: "/v4/properties"
|
|
97
|
-
additional_bindings: {
|
|
98
|
-
get: "/properties"
|
|
99
|
-
}
|
|
100
|
-
};
|
|
101
|
-
option (wix.api.permission).name = "SITE_SETTINGS.VIEW";
|
|
102
|
-
option (wix.api.exposure) = PUBLIC;
|
|
103
|
-
option (wix.api.maturity) = BETA;
|
|
104
|
-
option (.wix.api.error) = {
|
|
105
|
-
http_code: PERMISSION_DENIED
|
|
106
|
-
application_code: "PERMISSION_DENIED"
|
|
107
|
-
};
|
|
108
|
-
option (.wix.api.error) = {
|
|
109
|
-
http_code: UNAUTHENTICATED
|
|
110
|
-
application_code: "META_SITE_NOT_FOUND"
|
|
111
|
-
};
|
|
112
|
-
};
|
|
113
|
-
|
|
114
|
-
// Updates one or more of a site's properties. The site ID is resolved via the Identification Service.
|
|
115
|
-
rpc Update (PropertiesUpdateRequest) returns (PropertiesUpdateResponse) {
|
|
116
|
-
option (google.api.http) = {
|
|
117
|
-
patch: "/properties"
|
|
118
|
-
additional_bindings: {
|
|
119
|
-
patch: "/v4/properties"
|
|
120
|
-
}
|
|
121
|
-
};
|
|
122
|
-
option (wix.api.permission).name = "SITE_SETTINGS.MODIFY";
|
|
123
|
-
option (wix.api.callback) = {
|
|
124
|
-
topic: "site-properties.changes.v4"
|
|
125
|
-
payload: "com.wixpress.siteproperties.api.v4.SitePropertiesNotification"
|
|
126
|
-
};
|
|
127
|
-
// Triggered when site properties are updated
|
|
128
|
-
option (wix.api.callback) = {
|
|
129
|
-
topic: "site-properties.changes.external"
|
|
130
|
-
payload: "com.wixpress.siteproperties.api.v4.SitePropertiesUpdated"
|
|
131
|
-
exposure: PUBLIC
|
|
132
|
-
permission: "SITE_SETTINGS.VIEW"
|
|
133
|
-
};
|
|
134
|
-
option (wix.api.callback) = {
|
|
135
|
-
segment: USERS
|
|
136
|
-
topic: "site-properties.v4"
|
|
137
|
-
payload: "com.wixpress.siteproperties.api.v4.SitePropertiesFullNotification"
|
|
138
|
-
};
|
|
139
|
-
option (.wix.api.exposure) = PRIVATE;
|
|
140
|
-
option (wix.api.maturity) = BETA;
|
|
141
|
-
option (.wix.api.error) = {
|
|
142
|
-
http_code: PERMISSION_DENIED
|
|
143
|
-
application_code: "PERMISSION_DENIED"
|
|
144
|
-
};
|
|
145
|
-
option (.wix.api.error) = {
|
|
146
|
-
http_code: UNAUTHENTICATED
|
|
147
|
-
application_code: "META_SITE_NOT_FOUND"
|
|
148
|
-
};
|
|
149
|
-
option (.wix.api.error) = {
|
|
150
|
-
http_code: INVALID_ARGUMENT
|
|
151
|
-
application_code: "ILLEGAL_ARGUMENT"
|
|
152
|
-
};
|
|
153
|
-
option (.wix.api.error) = {
|
|
154
|
-
http_code: RESOURCE_EXHAUSTED
|
|
155
|
-
application_code: "RATE_LIMIT_EXCEEDED"
|
|
156
|
-
};
|
|
157
|
-
};
|
|
158
|
-
|
|
159
|
-
// Updates a site's business profile.
|
|
160
|
-
rpc UpdateBusinessProfile (UpdateBusinessProfileRequest) returns (UpdateBusinessProfileResponse) {
|
|
161
|
-
option (google.api.http) = {
|
|
162
|
-
post: "/v4/properties/business-profile"
|
|
163
|
-
additional_bindings: {
|
|
164
|
-
post: "/properties/business-profile"
|
|
165
|
-
}
|
|
166
|
-
};
|
|
167
|
-
option (wix.api.permission).name = "SITE_PROPERTIES.UPDATE_BUSINESS_PROFILE";
|
|
168
|
-
option (wix.api.exposure) = PUBLIC;
|
|
169
|
-
option (wix.api.maturity) = BETA;
|
|
170
|
-
option (.wix.sdk.signature) = {
|
|
171
|
-
params: "businessProfile"
|
|
172
|
-
};
|
|
173
|
-
|
|
174
|
-
option (.wix.api.error) = {
|
|
175
|
-
http_code: PERMISSION_DENIED
|
|
176
|
-
application_code: "PERMISSION_DENIED"
|
|
177
|
-
};
|
|
178
|
-
option (.wix.api.error) = {
|
|
179
|
-
http_code: UNAUTHENTICATED
|
|
180
|
-
application_code: "META_SITE_NOT_FOUND"
|
|
181
|
-
};
|
|
182
|
-
};
|
|
183
|
-
|
|
184
|
-
// Updates a site's business contact information.
|
|
185
|
-
rpc UpdateBusinessContact (UpdateBusinessContactRequest) returns (UpdateBusinessContactResponse) {
|
|
186
|
-
option (google.api.http) = {
|
|
187
|
-
post: "/v4/properties/business-contact"
|
|
188
|
-
additional_bindings: {
|
|
189
|
-
post: "/properties/business-contact"
|
|
190
|
-
}
|
|
191
|
-
};
|
|
192
|
-
option (wix.api.permission).name = "SITE_PROPERTIES.UPDATE_BUSINESS_CONTACT";
|
|
193
|
-
option (wix.api.exposure) = PUBLIC;
|
|
194
|
-
option (wix.api.maturity) = BETA;
|
|
195
|
-
option (.wix.sdk.signature) = {
|
|
196
|
-
params: "businessContact"
|
|
197
|
-
};
|
|
198
|
-
|
|
199
|
-
option (.wix.api.error) = {
|
|
200
|
-
http_code: PERMISSION_DENIED
|
|
201
|
-
application_code: "PERMISSION_DENIED"
|
|
202
|
-
};
|
|
203
|
-
option (.wix.api.error) = {
|
|
204
|
-
http_code: UNAUTHENTICATED
|
|
205
|
-
application_code: "META_SITE_NOT_FOUND"
|
|
206
|
-
};
|
|
207
|
-
};
|
|
208
|
-
|
|
209
|
-
// Updates a site's business schedule.
|
|
210
|
-
rpc UpdateBusinessSchedule (UpdateBusinessScheduleRequest) returns (UpdateBusinessScheduleResponse) {
|
|
211
|
-
option (google.api.http) = {
|
|
212
|
-
post: "/v4/properties/business-schedule"
|
|
213
|
-
additional_bindings: {
|
|
214
|
-
post: "/properties/business-schedule"
|
|
215
|
-
}
|
|
216
|
-
};
|
|
217
|
-
option (wix.api.permission).name = "SITE_PROPERTIES.UPDATE_BUSINESS_SCHEDULE";
|
|
218
|
-
option (wix.api.exposure) = PUBLIC;
|
|
219
|
-
option (wix.api.maturity) = BETA;
|
|
220
|
-
option (.wix.sdk.signature) = {
|
|
221
|
-
params: "businessSchedule"
|
|
222
|
-
};
|
|
223
|
-
|
|
224
|
-
option (.wix.api.error) = {
|
|
225
|
-
http_code: PERMISSION_DENIED
|
|
226
|
-
application_code: "PERMISSION_DENIED"
|
|
227
|
-
};
|
|
228
|
-
option (.wix.api.error) = {
|
|
229
|
-
http_code: UNAUTHENTICATED
|
|
230
|
-
application_code: "META_SITE_NOT_FOUND"
|
|
231
|
-
};
|
|
232
|
-
};
|
|
233
|
-
|
|
234
|
-
// Updates a site's default consent policy.
|
|
235
|
-
rpc UpdateConsentPolicy (UpdateConsentPolicyRequest) returns (UpdateConsentPolicyResponse) {
|
|
236
|
-
option (google.api.http) = {
|
|
237
|
-
post: "/v4/properties/policy"
|
|
238
|
-
additional_bindings: {
|
|
239
|
-
post: "/properties/policy"
|
|
240
|
-
}
|
|
241
|
-
};
|
|
242
|
-
option (wix.api.permission).name = "SITE_PROPERTIES.UPDATE_CONSENT_POLICY";
|
|
243
|
-
option (wix.api.exposure) = PUBLIC;
|
|
244
|
-
option (wix.api.maturity) = BETA;
|
|
245
|
-
option (.wix.sdk.signature) = {
|
|
246
|
-
params: "consentPolicy"
|
|
247
|
-
};
|
|
248
|
-
|
|
249
|
-
option (.wix.api.error) = {
|
|
250
|
-
http_code: PERMISSION_DENIED
|
|
251
|
-
application_code: "PERMISSION_DENIED"
|
|
252
|
-
};
|
|
253
|
-
option (.wix.api.error) = {
|
|
254
|
-
http_code: UNAUTHENTICATED
|
|
255
|
-
application_code: "META_SITE_NOT_FOUND"
|
|
256
|
-
};
|
|
257
|
-
};
|
|
258
|
-
|
|
259
|
-
// Retrieves current snapshots of multiple sites' properties.
|
|
260
|
-
rpc ReadWithoutDefaultProperties (BulkPropertiesReadRequest) returns (BulkPropertiesReadResponse) {
|
|
261
|
-
option (wix.api.exposure) = PRIVATE;
|
|
262
|
-
option (wix.api.maturity) = BETA;
|
|
263
|
-
option (.wix.api.error) = {
|
|
264
|
-
http_code: PERMISSION_DENIED
|
|
265
|
-
application_code: "PERMISSION_DENIED"
|
|
266
|
-
};
|
|
267
|
-
}
|
|
268
|
-
}
|
|
@@ -1,165 +0,0 @@
|
|
|
1
|
-
syntax = "proto3";
|
|
2
|
-
|
|
3
|
-
package com.wix.core.services.identification2;
|
|
4
|
-
|
|
5
|
-
import "identity2.proto";
|
|
6
|
-
import "google/api/annotations.proto";
|
|
7
|
-
import "wix/api/api_errors.proto";
|
|
8
|
-
import "wix/api/annotations.proto";
|
|
9
|
-
import "wix/api/entity.proto";
|
|
10
|
-
import "wix/api/validations.proto";
|
|
11
|
-
import "google/protobuf/wrappers.proto";
|
|
12
|
-
import "wix/api/permissions.proto";
|
|
13
|
-
|
|
14
|
-
/**
|
|
15
|
-
* Should contain a map of sessions that we can extract the identity from.
|
|
16
|
-
* Supported sessions include:
|
|
17
|
-
* Cookie names: WixSession2, smSession, svSession
|
|
18
|
-
* Headers: Authorization - should contain a signed instance
|
|
19
|
-
**/
|
|
20
|
-
message IdentityRequest {
|
|
21
|
-
map<string, string> sessions = 1;
|
|
22
|
-
}
|
|
23
|
-
|
|
24
|
-
/**
|
|
25
|
-
* serverSignerToken - JWT containing signedService data - it should have `appDefId` only.
|
|
26
|
-
* originalIdentityResponse - must contain a valid signedToken - only this part is taken into account.
|
|
27
|
-
* the parsed Service Identity should be added to originalIdentityResponse, if exists; otherwise:
|
|
28
|
-
* - IdentityResponse will be parsed from originalIdentityRequest (in the same way as `extractIdentity()` works now), and then
|
|
29
|
-
serverSignerToken will be merged.
|
|
30
|
-
**/
|
|
31
|
-
message IdentityRequestWithServerSigner {
|
|
32
|
-
IdentityRequest originalIdentityRequest = 1;
|
|
33
|
-
IdentityResponse originalIdentityResponse = 2;
|
|
34
|
-
string serverSignerToken = 3;
|
|
35
|
-
}
|
|
36
|
-
|
|
37
|
-
// when AccountIdInContext is passed as input, only targetAccountId will get value, all other Context fields will be empty
|
|
38
|
-
message AccountIdInContext {
|
|
39
|
-
string targetAccountId = 1 [(.wix.api.format) = GUID];
|
|
40
|
-
}
|
|
41
|
-
|
|
42
|
-
// when MetaSiteIdInContext is passed as input, only metaSiteId and its targetAccountId (fetched from MetaSite server) will get value, all other Context fields will be empty
|
|
43
|
-
message MetaSiteIdInContext {
|
|
44
|
-
string metaSiteId = 1 [(.wix.api.format) = GUID];
|
|
45
|
-
}
|
|
46
|
-
|
|
47
|
-
message IdentityRequestWithExplicitContext {
|
|
48
|
-
oneof OriginalIdentity {
|
|
49
|
-
IdentityResponse originalIdentityResponse = 1;
|
|
50
|
-
IdentityRequest originalIdentityRequest = 2;
|
|
51
|
-
}
|
|
52
|
-
|
|
53
|
-
oneof OverrideContext {
|
|
54
|
-
AccountIdInContext accountIdInContext = 3;
|
|
55
|
-
MetaSiteIdInContext metaSiteIdInContext = 4;
|
|
56
|
-
google.protobuf.StringValue signedInstance = 5;
|
|
57
|
-
}
|
|
58
|
-
}
|
|
59
|
-
|
|
60
|
-
message IdentityResponse {
|
|
61
|
-
option (.wix.api.entity) = {
|
|
62
|
-
fqdn: "wix.identity.v1.identification"
|
|
63
|
-
segment: PUBLIC
|
|
64
|
-
};
|
|
65
|
-
|
|
66
|
-
/**
|
|
67
|
-
A list of extracted identities
|
|
68
|
-
*/
|
|
69
|
-
IdentificationData identificationData = 1;
|
|
70
|
-
|
|
71
|
-
/**
|
|
72
|
-
* Signed token, encodes the identity data
|
|
73
|
-
*/
|
|
74
|
-
string signedToken = 2;
|
|
75
|
-
|
|
76
|
-
}
|
|
77
|
-
|
|
78
|
-
message BulkExtractIdentityRequest {
|
|
79
|
-
// An array of identity requests, each contains an array of sessions to extract one identity from.
|
|
80
|
-
repeated IdentityRequest identity_requests = 1 [(.wix.api.maxSize) = 32];
|
|
81
|
-
}
|
|
82
|
-
|
|
83
|
-
message BulkExtractIdentityResponse {
|
|
84
|
-
// Result array of identity responses.
|
|
85
|
-
repeated IdentityResponse identity_responses = 1;
|
|
86
|
-
}
|
|
87
|
-
|
|
88
|
-
message RemoveServiceIdentityRequest {
|
|
89
|
-
|
|
90
|
-
}
|
|
91
|
-
|
|
92
|
-
message RemoveServiceIdentityResponse {
|
|
93
|
-
IdentityResponse identity_response = 1;
|
|
94
|
-
}
|
|
95
|
-
|
|
96
|
-
/**
|
|
97
|
-
* Supports extracting the identified callers from Wix Specific sessions.
|
|
98
|
-
* It knows how to extract:
|
|
99
|
-
* Wix User, Site Member, Anonymous Id, Service appDefId and Instance
|
|
100
|
-
**/
|
|
101
|
-
service IdentificationServiceV2 {
|
|
102
|
-
option (.wix.api.service_entity).message = "com.wix.core.services.identification2.IdentityResponse"; //the "main" entity
|
|
103
|
-
|
|
104
|
-
/**
|
|
105
|
-
* This method gets the identities from the supplied headers
|
|
106
|
-
**/
|
|
107
|
-
rpc extractIdentity (IdentityRequest) returns (IdentityResponse) {
|
|
108
|
-
option (.wix.api.maturity) = GA;
|
|
109
|
-
option (.wix.api.exposure) = INTERNAL;
|
|
110
|
-
option (google.api.http) = {post : "/v2/identification/extract-identity" };
|
|
111
|
-
}
|
|
112
|
-
|
|
113
|
-
/**
|
|
114
|
-
* This method gets the identities from the supplied headers in bulk.
|
|
115
|
-
*/
|
|
116
|
-
rpc bulkExtractIdentity (BulkExtractIdentityRequest) returns (BulkExtractIdentityResponse) {
|
|
117
|
-
option (.wix.api.maturity) = ALPHA;
|
|
118
|
-
option (.wix.api.exposure) = INTERNAL;
|
|
119
|
-
option (google.api.http) = {post : "/v2/identification/bulk-extract-identity" };
|
|
120
|
-
option (.wix.api.permission) = {
|
|
121
|
-
name: "IDENTITY.BULK_EXTRACT_IDENTITY"
|
|
122
|
-
type: MANUAL
|
|
123
|
-
};
|
|
124
|
-
}
|
|
125
|
-
|
|
126
|
-
/**
|
|
127
|
-
* This method gets the originalIdentityResponse and a serverSigner token,
|
|
128
|
-
* Output: IdentityResponse, with the new SERVICE Identity, and with original Context from originalIdentityResponse -
|
|
129
|
-
* in other words - serverSignerToken doesn't override the original Context.
|
|
130
|
-
* Note: if the original IdentityResponse contains a Service Identity, it's gonna be overriten with the new Servie Identity parsed from serverSignerToken in the request.
|
|
131
|
-
*
|
|
132
|
-
* THIS METHOD SHOULD BE CALLED BY APIGATEWAYCLIENT ONLY!
|
|
133
|
-
**/
|
|
134
|
-
rpc extractIdentityWithServerSigner (IdentityRequestWithServerSigner) returns (IdentityResponse) {
|
|
135
|
-
option (.wix.api.exposure) = PRIVATE;
|
|
136
|
-
}
|
|
137
|
-
|
|
138
|
-
/**
|
|
139
|
-
* This method gets the originalIdentityResponse (either an already resolved IdentityResponse or the IdentiyRequest) and a Context to override (OverrideContext obj).
|
|
140
|
-
* Output: IdentityResponse with identities from the given IdentityResponse (passed in input), and Context from input.
|
|
141
|
-
* in other words - original IdentityResponse with overridden Context
|
|
142
|
-
*
|
|
143
|
-
* BEST PRACTICE SHOULD BE CALLING THIS ENDPOINT FROM APIGATEWAYCLIENT, UNLESS YOU KNOW WHAT YOU'RE DOING.
|
|
144
|
-
**/
|
|
145
|
-
rpc setIdentityContext (IdentityRequestWithExplicitContext) returns (IdentityResponse) {
|
|
146
|
-
option (.wix.api.maturity) = ALPHA;
|
|
147
|
-
option (.wix.api.exposure) = PRIVATE;
|
|
148
|
-
}
|
|
149
|
-
|
|
150
|
-
/**
|
|
151
|
-
Receives identities in aspects, and removes `SERVICE` identity.
|
|
152
|
-
Returns a new IdentityResponse with one of the following:
|
|
153
|
-
- the remaining identity
|
|
154
|
-
- a generated VISITOR identity with random ID if no identity remained
|
|
155
|
-
- the same identity from aspects, if no SERVICE identity found
|
|
156
|
-
*/
|
|
157
|
-
rpc RemoveServiceIdentity (RemoveServiceIdentityRequest) returns (RemoveServiceIdentityResponse) {
|
|
158
|
-
option (.wix.api.maturity) = ALPHA;
|
|
159
|
-
option (.wix.api.exposure) = INTERNAL;
|
|
160
|
-
option (.wix.api.permission) = {
|
|
161
|
-
name: "IDENTITY.REMOVE_SERVICE_IDENTITY"
|
|
162
|
-
type: MANUAL
|
|
163
|
-
};
|
|
164
|
-
}
|
|
165
|
-
}
|