@wix/bex-utils 2.36.0 → 2.39.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/bex-bundled-mini-essentials/CHANGELOG.md +12 -0
- package/@wix/bex-bundled-mini-essentials/dist/tsconfig.tsbuildinfo +1 -1
- package/@wix/bex-bundled-mini-essentials/package.json +1 -1
- package/package.json +3 -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/paging.proto +0 -121
- 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
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@wix/bex-utils",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.39.0",
|
|
4
4
|
"license": "UNLICENSED",
|
|
5
5
|
"author": {
|
|
6
6
|
"name": "Kobi",
|
|
@@ -57,7 +57,7 @@
|
|
|
57
57
|
"@wix/ambassador-items-selection-spi-host-v1-provider": "^1.0.91",
|
|
58
58
|
"@wix/ambassador-media-site-media-v1-file-descriptor": "^1.0.127",
|
|
59
59
|
"@wix/ambassador-os-tags-v1-tag": "^1.0.19",
|
|
60
|
-
"@wix/bex-bundled-mini-essentials": "2.
|
|
60
|
+
"@wix/bex-bundled-mini-essentials": "2.17.0",
|
|
61
61
|
"@wix/bi-logger-os-data": "^1.184.0",
|
|
62
62
|
"@wix/eslint-config-yoshi": "^6.74.0",
|
|
63
63
|
"@wix/jest-yoshi-preset-base": "^6.74.0",
|
|
@@ -151,5 +151,5 @@
|
|
|
151
151
|
"wallaby": {
|
|
152
152
|
"autoDetect": true
|
|
153
153
|
},
|
|
154
|
-
"falconPackageHash": "
|
|
154
|
+
"falconPackageHash": "d1b405b206cb17dd7634cfaf3ae67b59ca681100d85636806e06bd99"
|
|
155
155
|
}
|
|
@@ -1,38 +0,0 @@
|
|
|
1
|
-
syntax = "proto3";
|
|
2
|
-
|
|
3
|
-
package com.wix.site.properties.upstream.wix.common;
|
|
4
|
-
|
|
5
|
-
option java_multiple_files = true;
|
|
6
|
-
option java_package = "com.wix.site.properties.upstream.wix.common";
|
|
7
|
-
|
|
8
|
-
import "google/protobuf/wrappers.proto";
|
|
9
|
-
import "wix/api/annotations.proto";
|
|
10
|
-
import "wix/api/validations.proto";
|
|
11
|
-
|
|
12
|
-
// Physical address
|
|
13
|
-
message Address {
|
|
14
|
-
option (.wix.api.decomposite_of) = "wix.common.Address";
|
|
15
|
-
google.protobuf.StringValue country = 1 [(.wix.api.format) = COUNTRY]; // Country code.
|
|
16
|
-
google.protobuf.StringValue subdivision = 2; // Subdivision. Usually a state, region, prefecture, or province code, according to [ISO 3166-2](https://en.wikipedia.org/wiki/ISO_3166-2).
|
|
17
|
-
google.protobuf.StringValue city = 3 [(.wix.api.pii) = true]; // City name.
|
|
18
|
-
google.protobuf.StringValue postal_code = 4 [(.wix.api.pii) = true, (.wix.api.maxLength) = 20]; // Zip/postal code.
|
|
19
|
-
StreetAddress street_address = 5; // Street name and number.
|
|
20
|
-
reserved 6;
|
|
21
|
-
reserved 7;
|
|
22
|
-
google.protobuf.StringValue formatted_address = 8 [(.wix.api.pii) = true, (.wix.api.field_exposure) = PRIVATE]; // A string containing the full address of this location.
|
|
23
|
-
google.protobuf.StringValue hint = 9 [(.wix.api.pii) = true, (.wix.api.field_exposure) = PRIVATE]; // Free text to help find the address.
|
|
24
|
-
AddressLocation geocode = 10 [(.wix.api.field_exposure) = PRIVATE]; // Coordinates of the physical address.
|
|
25
|
-
}
|
|
26
|
-
|
|
27
|
-
message StreetAddress {
|
|
28
|
-
option (.wix.api.decomposite_of) = "wix.common.StreetAddress";
|
|
29
|
-
string number = 1 [(.wix.api.pii) = true]; // Street number.
|
|
30
|
-
string name = 2 [(.wix.api.pii) = true]; // Street name.
|
|
31
|
-
string apt = 3 [(.wix.api.pii) = true, (.wix.api.field_exposure) = PRIVATE]; // Apartment number.
|
|
32
|
-
}
|
|
33
|
-
|
|
34
|
-
message AddressLocation {
|
|
35
|
-
option (.wix.api.decomposite_of) = "wix.common.AddressLocation";
|
|
36
|
-
google.protobuf.DoubleValue latitude = 1 [(.wix.api.pii) = true]; // Address latitude.
|
|
37
|
-
google.protobuf.DoubleValue longitude = 2 [(.wix.api.pii) = true]; // Address longitude.
|
|
38
|
-
}
|
|
@@ -1,46 +0,0 @@
|
|
|
1
|
-
syntax = "proto3";
|
|
2
|
-
|
|
3
|
-
import "google/protobuf/wrappers.proto";
|
|
4
|
-
import "wix/api/validations.proto";
|
|
5
|
-
|
|
6
|
-
package com.wixpress.html.cache.invalidate;
|
|
7
|
-
|
|
8
|
-
message InvalidateCache {
|
|
9
|
-
oneof get_by {
|
|
10
|
-
string meta_site_id = 1 [(wix.api.format) = GUID]; // Invalidate by msId. NOT recommended, as this will invalidate the entire site cache!
|
|
11
|
-
string site_id = 5 [(wix.api.format) = GUID]; // Invalidate by Site ID. NOT recommended, as this will invalidate the entire site cache!
|
|
12
|
-
App app = 2; // Invalidate by App
|
|
13
|
-
Page page = 6; // Invalidate by page id
|
|
14
|
-
URI uri = 7; // Invalidate by URI path
|
|
15
|
-
File file = 8; // Invalidate by file (for media files such as PDFs)
|
|
16
|
-
}
|
|
17
|
-
|
|
18
|
-
//tell us why you're invalidating the cache. You don't need to add your app name
|
|
19
|
-
google.protobuf.StringValue reason = 3 [(wix.api.maxLength) = 256]; // The cache invalidation reason
|
|
20
|
-
|
|
21
|
-
//flynt-disable field-lower-snake-case
|
|
22
|
-
bool localDc = 4; // Is local DS
|
|
23
|
-
|
|
24
|
-
bool hard_purge = 9;
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
message App {
|
|
28
|
-
string app_def_id = 1 [(wix.api.minLength) = 1]; // The AppDefId
|
|
29
|
-
string instance_id = 2 [(wix.api.format) = GUID]; // The instance Id
|
|
30
|
-
}
|
|
31
|
-
|
|
32
|
-
message Page {
|
|
33
|
-
string meta_site_id = 1 [(wix.api.format) = GUID]; // the msid the page is on
|
|
34
|
-
string page_id = 2 [(wix.api.minLength) = 1]; // Invalidate by Page ID
|
|
35
|
-
}
|
|
36
|
-
|
|
37
|
-
message URI {
|
|
38
|
-
string meta_site_id = 1 [(wix.api.format) = GUID]; // the msid the URI is on
|
|
39
|
-
string uri_path = 2 [(wix.api.minLength) = 1]; // URI path to invalidate (e.g. page/my/path) - without leading/trailing slashes
|
|
40
|
-
}
|
|
41
|
-
|
|
42
|
-
message File {
|
|
43
|
-
string meta_site_id = 1 [(wix.api.format) = GUID]; // the msid the file is related to
|
|
44
|
-
string file_name = 2 [(wix.api.minLength) = 1, (wix.api.maxLength) = 256]; // Invalidate by filename (for media files such as PDFs)
|
|
45
|
-
}
|
|
46
|
-
}
|
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
syntax = "proto3";
|
|
2
|
-
|
|
3
|
-
import "google/protobuf/wrappers.proto";
|
|
4
|
-
import "wix/api/validations.proto";
|
|
5
|
-
|
|
6
|
-
package com.wixpress.html.cache.invalidate;
|
|
7
|
-
|
|
8
|
-
message InvalidateCacheInternal {
|
|
9
|
-
string meta_site_id = 1; // The MSID
|
|
10
|
-
int64 site_cache_revision = 2; // Site's revision
|
|
11
|
-
int64 submit_time_ms = 3; // Request time
|
|
12
|
-
google.protobuf.StringValue reason = 4 [(wix.api.maxLength) = 256]; // Invalidation reason
|
|
13
|
-
App app = 5; // invalidate by app (Legacy)
|
|
14
|
-
|
|
15
|
-
oneof get_by {
|
|
16
|
-
string site_id = 6; // Invalidate by Site ID
|
|
17
|
-
string page_id = 7; // Invalidate by Page ID
|
|
18
|
-
string uri_path = 8; // Invalidate by URI path (e.g. page/my/path)
|
|
19
|
-
App app_def = 9; // Invalidate by app
|
|
20
|
-
}
|
|
21
|
-
message App {
|
|
22
|
-
string app_def_id = 1; // AppDefId
|
|
23
|
-
string instance_id = 2; // Instance Id
|
|
24
|
-
}
|
|
25
|
-
}
|
|
@@ -1,80 +0,0 @@
|
|
|
1
|
-
// flynt-disable missing-entity-id-field
|
|
2
|
-
syntax = "proto3";
|
|
3
|
-
|
|
4
|
-
package com.wixpress.html.cache.invalidate;
|
|
5
|
-
|
|
6
|
-
import "google/api/annotations.proto";
|
|
7
|
-
import "wix/api/permissions.proto";
|
|
8
|
-
import "google/protobuf/wrappers.proto";
|
|
9
|
-
import "wix/api/annotations.proto";
|
|
10
|
-
import "wix/api/entity.proto";
|
|
11
|
-
import "wix/api/validations.proto";
|
|
12
|
-
import "wix/sdk/definitions.proto";
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
service InvalidateCacheService {
|
|
16
|
-
option (.wix.api.service_maturity) = BETA;
|
|
17
|
-
option (.wix.api.service_exposure) = PUBLIC;
|
|
18
|
-
option (.wix.api.service_entity) = {
|
|
19
|
-
message: "com.wixpress.html.cache.invalidate.InvalidateCacheRequest"
|
|
20
|
-
};
|
|
21
|
-
|
|
22
|
-
/*
|
|
23
|
-
Clears caches using specified tags.
|
|
24
|
-
|
|
25
|
-
This function invalidates or clears previously cached return values based on specified tags. The `invalidationMethods` parameter accepts an array of objects, each containing a `tag` field. These tags are defined when caching return values for routers using the [`ok()` function](https://dev.wix.com/docs/velo/api-reference/wix-router/ok). For example, an array such as `[{ tag: "contacts" }, { tag: "labels" }]` will clear any cached return values tagged with "contacts" or "labels." Any cache containing at least one tag specified in the `invalidationMethods` parameter will be cleared.
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
<blockquote class="important">
|
|
29
|
-
|
|
30
|
-
__Important:__
|
|
31
|
-
- If you don't specify any tags in the `invalidationsMethod` parameter, no caches are invalidated.
|
|
32
|
-
- If you don't use the `invalidateCache()` function, your caches are only invalidated when the Time to Live (TTL) expires or when you republish your site with a code change.
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
- This function invalidates router caches. To invalidate the Server Side Rendering (SSR) cache for your site, use the `invalidateCache()` function from the [`wix-site-backend`](https://dev.wix.com/docs/velo/api-reference/wix-site-backend/invalidate-cache) module.
|
|
36
|
-
|
|
37
|
-
</blockquote>
|
|
38
|
-
|
|
39
|
-
*/
|
|
40
|
-
rpc invalidateCache(InvalidateCacheRequest) returns ( InvalidateCacheResponse) {
|
|
41
|
-
option (wix.api.permission).name = "SSR.INVALIDATE_CACHE";
|
|
42
|
-
option (google.api.http).post = "/v1/invalidate-cache";
|
|
43
|
-
option (.wix.sdk.signature) = {params: "invalidation_methods"};
|
|
44
|
-
}
|
|
45
|
-
}
|
|
46
|
-
|
|
47
|
-
message InvalidateCacheRequest {
|
|
48
|
-
|
|
49
|
-
option (wix.api.entity) = {
|
|
50
|
-
fqdn: "wix.ssr.v1.invalidate_cache_request"
|
|
51
|
-
segment: USERS
|
|
52
|
-
appendix_files: {
|
|
53
|
-
type: AUTO_VELO
|
|
54
|
-
// Yous hould specify the path for the folder that holds the config.json file
|
|
55
|
-
path: "appendices/velo"
|
|
56
|
-
};
|
|
57
|
-
};
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
//An array of objects containing a `tag` field used to identify the cache to invalidate. All cached return values with any listed tags are invalidated. If no tags are specified, nothing is invalidated.
|
|
61
|
-
repeated InvalidationMethods invalidation_methods = 1 [(wix.api.maxSize) = 100];
|
|
62
|
-
|
|
63
|
-
//tell us why you're invalidating the cache. You don't need to add your app name
|
|
64
|
-
google.protobuf.StringValue reason = 2 [(wix.api.maxLength) = 256, (.wix.api.field_exposure) = INTERNAL];
|
|
65
|
-
|
|
66
|
-
// Is local DC
|
|
67
|
-
bool local_dc = 3 [(.wix.api.field_exposure) = INTERNAL];
|
|
68
|
-
|
|
69
|
-
// Is set to hard purge
|
|
70
|
-
bool hard_purge = 4 [(.wix.api.field_exposure) = INTERNAL];
|
|
71
|
-
}
|
|
72
|
-
|
|
73
|
-
message InvalidationMethods {
|
|
74
|
-
oneof invalidate_by {
|
|
75
|
-
string tag = 1 [(wix.api.maxLength) = 500, (wix.api.minLength) = 1]; // Identifiers of the caches to invalidate.
|
|
76
|
-
}
|
|
77
|
-
}
|
|
78
|
-
|
|
79
|
-
message InvalidateCacheResponse {
|
|
80
|
-
}
|
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
syntax = "proto3";
|
|
2
|
-
|
|
3
|
-
import "google/protobuf/wrappers.proto";
|
|
4
|
-
import "wix/api/validations.proto";
|
|
5
|
-
|
|
6
|
-
package wix.ssr.cache_invalidate.v2;
|
|
7
|
-
|
|
8
|
-
message InvalidateCache {
|
|
9
|
-
enum InvalidateScope {
|
|
10
|
-
SITE = 0; // Invalidate the entire site
|
|
11
|
-
APP_PAGES = 1; // Invalidate only pages containing the app
|
|
12
|
-
}
|
|
13
|
-
|
|
14
|
-
InvalidateScope scope = 1; // Invalidation Scope
|
|
15
|
-
|
|
16
|
-
// You must pass the app def id when using the APP_PAGES scope
|
|
17
|
-
google.protobuf.StringValue app_def_id = 2;
|
|
18
|
-
|
|
19
|
-
// Tell us why you are invalidating the cache. No need to mention the app name.
|
|
20
|
-
string reason = 3 [(wix.api.maxLength) = 256];
|
|
21
|
-
|
|
22
|
-
// Invalidate the cache only in the DC where the message was produced
|
|
23
|
-
//flynt-disable field-lower-snake-case
|
|
24
|
-
bool localDc = 4;
|
|
25
|
-
|
|
26
|
-
bool hard_purge = 5;
|
|
27
|
-
}
|
|
@@ -1,34 +0,0 @@
|
|
|
1
|
-
syntax = "proto3";
|
|
2
|
-
|
|
3
|
-
package com.wixpress.immigrator.tasks.api.generic;
|
|
4
|
-
|
|
5
|
-
import "google/protobuf/duration.proto";
|
|
6
|
-
import "google/protobuf/wrappers.proto";
|
|
7
|
-
import "wix/api/sla.proto";
|
|
8
|
-
|
|
9
|
-
message RunBulkMigrationRequest {
|
|
10
|
-
// customParam without group id and artifact id after performing split by ','
|
|
11
|
-
repeated string custom_param = 1;
|
|
12
|
-
// Single run input
|
|
13
|
-
repeated string inputs = 2;
|
|
14
|
-
}
|
|
15
|
-
|
|
16
|
-
message RunBulkMigrationResponse {
|
|
17
|
-
// Human readable result description. Will be logged.
|
|
18
|
-
repeated SingleMigrationResult results = 1;
|
|
19
|
-
}
|
|
20
|
-
|
|
21
|
-
message SingleMigrationResult {
|
|
22
|
-
string input = 1;
|
|
23
|
-
// Human readable result description. Will be logged.
|
|
24
|
-
string result = 2;
|
|
25
|
-
bool skipped = 3;
|
|
26
|
-
// if present and not skipped will mark the result as failed with the containing message
|
|
27
|
-
google.protobuf.StringValue failure = 4;
|
|
28
|
-
}
|
|
29
|
-
|
|
30
|
-
//flynt-disable missing-service-entity
|
|
31
|
-
service ImmigratorBulkMigrationService {
|
|
32
|
-
rpc RunBulkMigration (RunBulkMigrationRequest) returns (RunBulkMigrationResponse){
|
|
33
|
-
option (.wix.api.sla).response_time_ms = 600000; // 10 minutes response time to a single migration
|
|
34
|
-
}}
|
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
syntax = "proto3";
|
|
2
|
-
|
|
3
|
-
package com.wixpress.immigrator.tasks.api.generic;
|
|
4
|
-
|
|
5
|
-
import "google/protobuf/duration.proto";
|
|
6
|
-
import "wix/api/sla.proto";
|
|
7
|
-
|
|
8
|
-
message RunSingleMigrationRequest {
|
|
9
|
-
// customParam without group id and artifact id after performing split by ','
|
|
10
|
-
repeated string custom_param = 1;
|
|
11
|
-
// Single run input
|
|
12
|
-
string input = 2;
|
|
13
|
-
}
|
|
14
|
-
|
|
15
|
-
message RunSingleMigrationResponse {
|
|
16
|
-
// Human readable result description. Will be logged.
|
|
17
|
-
string result = 1;
|
|
18
|
-
bool skipped = 2;
|
|
19
|
-
}
|
|
20
|
-
|
|
21
|
-
//flynt-disable missing-service-entity
|
|
22
|
-
service ImmigratorSingleMigrationService {
|
|
23
|
-
rpc RunMigration (RunSingleMigrationRequest) returns (RunSingleMigrationResponse){
|
|
24
|
-
option (.wix.api.sla).response_time_ms = 600000; // 10 minutes response time to a single migration
|
|
25
|
-
}}
|
|
@@ -1,40 +0,0 @@
|
|
|
1
|
-
//flynt-disable invalid-id-name, missing-array-limits, missing-field-comments, missing-rest-mapping, missing-method-comments, missing-permission
|
|
2
|
-
syntax = "proto3";
|
|
3
|
-
|
|
4
|
-
package com.wixpress.locations;
|
|
5
|
-
|
|
6
|
-
import "wix/api/validations.proto";
|
|
7
|
-
import "wix/api/annotations.proto";
|
|
8
|
-
|
|
9
|
-
service LocationsBackofficeService {
|
|
10
|
-
option (.wix.api.service_exposure) = PRIVATE;
|
|
11
|
-
rpc CreateDefaultFromSiteProperties (CreateDefaultFromSitePropertiesRequest) returns (CreateDefaultFromSitePropertiesResponse) {}
|
|
12
|
-
rpc FillNonArchived (FillNonArchivedRequest) returns (FillNonArchivedResponse) {}
|
|
13
|
-
rpc DeleteLocation (DeleteLocationRequest) returns (DeleteLocationResponse) {}
|
|
14
|
-
}
|
|
15
|
-
|
|
16
|
-
message CreateDefaultFromSitePropertiesRequest {
|
|
17
|
-
repeated string meta_site_ids = 1;
|
|
18
|
-
}
|
|
19
|
-
|
|
20
|
-
message CreateDefaultFromSitePropertiesResponse {
|
|
21
|
-
repeated string sites_successful = 1;
|
|
22
|
-
repeated string sites_failed = 2;
|
|
23
|
-
}
|
|
24
|
-
|
|
25
|
-
message FillNonArchivedRequest {
|
|
26
|
-
repeated string meta_site_ids = 1;
|
|
27
|
-
}
|
|
28
|
-
|
|
29
|
-
message FillNonArchivedResponse {
|
|
30
|
-
repeated string sites_successful = 1;
|
|
31
|
-
repeated string sites_failed = 2;
|
|
32
|
-
}
|
|
33
|
-
|
|
34
|
-
message DeleteLocationRequest {
|
|
35
|
-
string id = 1 [(wix.api.format) = GUID];
|
|
36
|
-
}
|
|
37
|
-
|
|
38
|
-
message DeleteLocationResponse {
|
|
39
|
-
string id = 1 [(wix.api.format) = GUID];
|
|
40
|
-
}
|
|
@@ -1,155 +0,0 @@
|
|
|
1
|
-
//flynt-disable topic-to-be-migrated, invalid-decomposition
|
|
2
|
-
syntax = "proto3";
|
|
3
|
-
|
|
4
|
-
package com.wixpress.locations;
|
|
5
|
-
|
|
6
|
-
option java_multiple_files = true;
|
|
7
|
-
option java_package = "com.wixpress.locations";
|
|
8
|
-
|
|
9
|
-
import "google/protobuf/wrappers.proto";
|
|
10
|
-
import "wix/api/validations.proto";
|
|
11
|
-
import "wix/api/entity.proto";
|
|
12
|
-
import "com/wixpress/siteproperties/api/v4/properties.proto";
|
|
13
|
-
import "wix/api/annotations.proto";
|
|
14
|
-
|
|
15
|
-
message Location {
|
|
16
|
-
option (wix.api.entity) = {
|
|
17
|
-
fqdn: "wix.locations.v1.location"
|
|
18
|
-
app_def_id: "72bd862c-d19f-4afa-adf3-fecbc33efa6e"
|
|
19
|
-
appendix_files: {
|
|
20
|
-
type: AUTO_VELO
|
|
21
|
-
path: "appendices/velo"
|
|
22
|
-
}
|
|
23
|
-
appendix_files: {
|
|
24
|
-
type: MULTILINGUAL
|
|
25
|
-
path: "appendices/multilingual"
|
|
26
|
-
};
|
|
27
|
-
segment: USERS
|
|
28
|
-
};
|
|
29
|
-
|
|
30
|
-
// Location ID.
|
|
31
|
-
google.protobuf.StringValue id = 1 [(wix.api.format) = GUID, (.wix.api.readOnly) = true];
|
|
32
|
-
// Location name.
|
|
33
|
-
string name = 2 [(.wix.api.translatable) = {
|
|
34
|
-
name: "Location Name"
|
|
35
|
-
hidden: false
|
|
36
|
-
grouping: "multiLocation"
|
|
37
|
-
type: LONG_TEXT
|
|
38
|
-
}, (.wix.api.maxLength) = 150];
|
|
39
|
-
// Location description.
|
|
40
|
-
google.protobuf.StringValue description = 3 [(.wix.api.translatable) = {
|
|
41
|
-
name: "Location Description"
|
|
42
|
-
hidden: false
|
|
43
|
-
grouping: "multiLocation"
|
|
44
|
-
type: LONG_TEXT
|
|
45
|
-
}, (.wix.api.maxLength) = 500];
|
|
46
|
-
/*
|
|
47
|
-
Whether this is the default location. There can only be one default location per site. The default location can't be archived.
|
|
48
|
-
*/
|
|
49
|
-
bool default = 4 [(.wix.api.readOnly) = true];
|
|
50
|
-
/*
|
|
51
|
-
Location status. Defaults to `ACTIVE`.
|
|
52
|
-
__Notes:__
|
|
53
|
-
- [Archiving a location](https://dev.wix.com/api/rest/business-info/locations/archive-location)
|
|
54
|
-
doesn't affect the location's status.
|
|
55
|
-
- `INACTIVE` status is currently not supported.
|
|
56
|
-
*/
|
|
57
|
-
LocationStatus status = 5;
|
|
58
|
-
// Location type.
|
|
59
|
-
//
|
|
60
|
-
//**Note:** Currently not supported.
|
|
61
|
-
LocationType location_type = 6 [deprecated = true];
|
|
62
|
-
// Fax number.
|
|
63
|
-
google.protobuf.StringValue fax = 7;
|
|
64
|
-
// Timezone in `America/New_York` format.
|
|
65
|
-
google.protobuf.StringValue time_zone = 8;
|
|
66
|
-
// Email address.
|
|
67
|
-
google.protobuf.StringValue email = 9 [(wix.api.pii) = true];
|
|
68
|
-
// Phone number.
|
|
69
|
-
google.protobuf.StringValue phone = 10 [(wix.api.pii) = true];
|
|
70
|
-
// Address.
|
|
71
|
-
Address address = 11;
|
|
72
|
-
/*
|
|
73
|
-
Business schedule. Array of weekly recurring time periods when the location is open for business. Limited to 100 time periods.
|
|
74
|
-
|
|
75
|
-
__Note:__ Not supported by Wix Bookings.
|
|
76
|
-
*/
|
|
77
|
-
com.wixpress.siteproperties.api.v4.BusinessSchedule business_schedule = 12;
|
|
78
|
-
/*
|
|
79
|
-
Revision number, which increments by 1 each time the location is updated.
|
|
80
|
-
To prevent conflicting changes, the existing revision must be used when updating a location.
|
|
81
|
-
*/
|
|
82
|
-
google.protobuf.Int64Value revision = 13;
|
|
83
|
-
/*
|
|
84
|
-
Whether the location is archived. Archived locations can't be updated.
|
|
85
|
-
__Note:__ [Archiving a location](https://dev.wix.com/api/rest/business-info/locations/archive-location)
|
|
86
|
-
doesn't affect its `status`.
|
|
87
|
-
*/
|
|
88
|
-
bool archived = 14 [(.wix.api.readOnly) = true];
|
|
89
|
-
|
|
90
|
-
// Location types.
|
|
91
|
-
repeated LocationType location_types = 15 [(.wix.api.maxSize) = 10];
|
|
92
|
-
}
|
|
93
|
-
|
|
94
|
-
// For future use
|
|
95
|
-
enum LocationStatus {
|
|
96
|
-
ACTIVE = 0;
|
|
97
|
-
INACTIVE = 2;
|
|
98
|
-
}
|
|
99
|
-
|
|
100
|
-
// For future use
|
|
101
|
-
enum LocationType {
|
|
102
|
-
UNKNOWN = 0;
|
|
103
|
-
BRANCH = 1;
|
|
104
|
-
OFFICES = 2;
|
|
105
|
-
RECEPTION = 3;
|
|
106
|
-
HEADQUARTERS = 4;
|
|
107
|
-
INVENTORY = 5;
|
|
108
|
-
}
|
|
109
|
-
|
|
110
|
-
message Address {
|
|
111
|
-
option (.wix.api.decomposite_of) = "wix.common.Address";
|
|
112
|
-
// 2-letter country code in an [ISO-3166 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) format.
|
|
113
|
-
google.protobuf.StringValue country = 1 [(wix.api.format) = COUNTRY, (wix.api.pii) = true];
|
|
114
|
-
// Code for a subdivision (such as state, prefecture, or province) in [ISO 3166-2](https://en.wikipedia.org/wiki/ISO_3166-2) format.
|
|
115
|
-
google.protobuf.StringValue subdivision = 2 [(wix.api.pii) = true];
|
|
116
|
-
// City name.
|
|
117
|
-
google.protobuf.StringValue city = 3 [(wix.api.pii) = true];
|
|
118
|
-
// Postal or zip code.
|
|
119
|
-
google.protobuf.StringValue postal_code = 4 [(wix.api.pii) = true, (wix.api.maxLength) = 20];
|
|
120
|
-
// Street address. Includes street name, number, and apartment number in separate fields.
|
|
121
|
-
StreetAddress street_address = 5;
|
|
122
|
-
// Full address of the location.
|
|
123
|
-
google.protobuf.StringValue formatted_address = 6 [(wix.api.pii) = true];
|
|
124
|
-
// Extra information that helps finding the location.
|
|
125
|
-
google.protobuf.StringValue hint = 7 [(wix.api.pii) = true, (.wix.api.translatable) = {
|
|
126
|
-
name: "Address Description"
|
|
127
|
-
hidden: false
|
|
128
|
-
grouping: "multiLocation"
|
|
129
|
-
type: LONG_TEXT
|
|
130
|
-
}, (.wix.api.maxLength) = 500];
|
|
131
|
-
// Geographic coordinates of location.
|
|
132
|
-
AddressLocation geocode = 8;
|
|
133
|
-
}
|
|
134
|
-
|
|
135
|
-
// Street address. Includes street name, number, and apartment number in separate fields.
|
|
136
|
-
message StreetAddress {
|
|
137
|
-
option (.wix.api.decomposite_of) = "wix.common.StreetAddress";
|
|
138
|
-
|
|
139
|
-
//Street number.
|
|
140
|
-
string number = 1 [(wix.api.pii) = true];
|
|
141
|
-
// Street name.
|
|
142
|
-
string name = 2 [(wix.api.pii) = true];
|
|
143
|
-
// Apartment number.
|
|
144
|
-
string apt = 3 [(wix.api.pii) = true];
|
|
145
|
-
}
|
|
146
|
-
|
|
147
|
-
// Address Geolocation
|
|
148
|
-
message AddressLocation {
|
|
149
|
-
option (.wix.api.decomposite_of) = "wix.common.AddressLocation";
|
|
150
|
-
|
|
151
|
-
// Latitude of the location. Must be between -90 and 90.
|
|
152
|
-
google.protobuf.DoubleValue latitude = 1 [(wix.api.pii) = true];
|
|
153
|
-
// Longitude of the location. Must be between -180 and 180.
|
|
154
|
-
google.protobuf.DoubleValue longitude = 2 [(wix.api.pii) = true];
|
|
155
|
-
}
|