@wix/bex-utils 2.38.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 +4 -0
- 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
|
@@ -255,6 +255,8 @@ message CountOptions {
|
|
|
255
255
|
|
|
256
256
|
string query_options_name = 2; //Name of WQL variant to use
|
|
257
257
|
}
|
|
258
|
+
optional string filter_field = 3; // query field name in request object. default is `filter`
|
|
259
|
+
optional string count_field = 4; // count field name in response object. default is `count`
|
|
258
260
|
}
|
|
259
261
|
|
|
260
262
|
message SearchRelatedOptions {
|
|
@@ -108,6 +108,8 @@ message DomainEvent {
|
|
|
108
108
|
optional EventType event_type = 4;
|
|
109
109
|
optional Exposure exposure = 6;
|
|
110
110
|
optional Maturity maturity = 7;
|
|
111
|
+
optional string additional_metadata_fqn = 8;
|
|
112
|
+
optional DomainEventDeprecation deprecated = 9; // assigned and detailed where the subject event is deprecated
|
|
111
113
|
}
|
|
112
114
|
|
|
113
115
|
message Emits {
|
|
@@ -115,6 +117,11 @@ message Emits {
|
|
|
115
117
|
optional string action_message_fqn = 2; // Required when event_type == ACTION, otherwise must not be set
|
|
116
118
|
}
|
|
117
119
|
|
|
120
|
+
message DomainEventDeprecation {
|
|
121
|
+
optional string replaced_by = 1;
|
|
122
|
+
optional string target_removal_date = 2;
|
|
123
|
+
}
|
|
124
|
+
|
|
118
125
|
message CallbackDeprecation {
|
|
119
126
|
optional string replaced_by = 1;
|
|
120
127
|
optional string target_removal_date = 2;
|
|
@@ -36,10 +36,14 @@ extend google.protobuf.FieldOptions {
|
|
|
36
36
|
optional int32 maxLength = 50203;
|
|
37
37
|
// min length for strings
|
|
38
38
|
optional int32 minLength = 50204;
|
|
39
|
+
// exact length for strings
|
|
40
|
+
optional int32 exactLength = 50206;
|
|
39
41
|
// max size for repeated field, map
|
|
40
42
|
optional int32 maxSize = 50209;
|
|
41
43
|
// min size for repeated field, map
|
|
42
44
|
optional int32 minSize = 50210;
|
|
45
|
+
// exact size for repeated field, map
|
|
46
|
+
optional int32 exactSize = 50213;
|
|
43
47
|
// common known formats like email, URI, etc.
|
|
44
48
|
optional Format format = 50205;
|
|
45
49
|
// indicates this field cannot be set by the client. E.g. Id field assigned by the server
|
|
@@ -134,4 +138,5 @@ enum Format {
|
|
|
134
138
|
URL_SLUG = 19;
|
|
135
139
|
SYSTEM_SLUG = 20;
|
|
136
140
|
SECURE_WEB_URL = 21; // HTTPS only
|
|
141
|
+
SUBDIVISION = 22; // ISO-3166-2
|
|
137
142
|
}
|
|
@@ -1236,6 +1236,7 @@ enum CustomFieldName {
|
|
|
1236
1236
|
WISH_STATUS = 9;
|
|
1237
1237
|
GOOGLE_STATUS = 10; // StoresChannels integration status of the product within store's Google catalog
|
|
1238
1238
|
PRINT_ON_DEMAND = 11;
|
|
1239
|
+
DELIVERY_PROFILE_ID = 12;
|
|
1239
1240
|
}
|
|
1240
1241
|
|
|
1241
1242
|
message CreateCollectionRequest {
|
|
@@ -51,10 +51,15 @@ message MediaItemVideo {
|
|
|
51
51
|
|
|
52
52
|
enum MediaItemType {
|
|
53
53
|
unspecified_media_item_type = 0;
|
|
54
|
+
// Image media type.
|
|
54
55
|
image = 1;
|
|
56
|
+
// Video media type.
|
|
55
57
|
video = 2;
|
|
58
|
+
// Audio media type.
|
|
56
59
|
audio = 3;
|
|
60
|
+
// Document media type.
|
|
57
61
|
document = 4;
|
|
62
|
+
// Zip media type.
|
|
58
63
|
zip = 5;
|
|
59
64
|
}
|
|
60
65
|
|
|
@@ -86,4 +91,4 @@ message MediaAssignmentToChoice {
|
|
|
86
91
|
string choice = 2 [(wix.api.minLength) = 1, (wix.api.maxLength) = 50];
|
|
87
92
|
// Media IDs (available via the Query Product endpoint).
|
|
88
93
|
repeated string media_ids = 3 [(wix.api.maxSize) = 50];
|
|
89
|
-
}
|
|
94
|
+
}
|
|
@@ -45,7 +45,9 @@ message Discount {
|
|
|
45
45
|
UNDEFINED = 0;
|
|
46
46
|
// No discount
|
|
47
47
|
NONE = 1;
|
|
48
|
+
// Discount by a fixed amount
|
|
48
49
|
AMOUNT = 2;
|
|
50
|
+
// Discount by a percentage
|
|
49
51
|
PERCENT = 3;
|
|
50
52
|
}
|
|
51
53
|
|
|
@@ -62,4 +64,4 @@ message Discount {
|
|
|
62
64
|
message Currency {
|
|
63
65
|
string currency = 1;
|
|
64
66
|
string symbol = 2;
|
|
65
|
-
}
|
|
67
|
+
}
|
|
@@ -139,8 +139,11 @@ message Ribbon {
|
|
|
139
139
|
|
|
140
140
|
message Stock {
|
|
141
141
|
enum InventoryStatus {
|
|
142
|
+
// In stock
|
|
142
143
|
IN_STOCK = 0;
|
|
144
|
+
// Not in stock
|
|
143
145
|
OUT_OF_STOCK = 1;
|
|
146
|
+
// Some of the variants are not in stock
|
|
144
147
|
PARTIALLY_OUT_OF_STOCK = 2;
|
|
145
148
|
}
|
|
146
149
|
|
|
@@ -185,4 +188,3 @@ message PricePerUnitData {
|
|
|
185
188
|
// Base measurement unit
|
|
186
189
|
com.wix.ecommerce.commons.api.MeasurementUnitEnum.MeasurementUnit base_measurement_unit = 4;
|
|
187
190
|
}
|
|
188
|
-
;
|
|
@@ -8,7 +8,7 @@ import "wix/catalog/api/v1/media.proto";
|
|
|
8
8
|
option java_package = "com.wix.ecommerce.catalog.api.v1";
|
|
9
9
|
|
|
10
10
|
message ProductOption {
|
|
11
|
-
// Option type
|
|
11
|
+
// Option type.
|
|
12
12
|
OptionType optionType = 1 [(wix.api.readOnly) = true];
|
|
13
13
|
// Option name.
|
|
14
14
|
string name = 2 [(wix.api.minLength) = 1, (wix.api.maxLength) = 50];
|
|
@@ -17,8 +17,11 @@ message ProductOption {
|
|
|
17
17
|
}
|
|
18
18
|
|
|
19
19
|
enum OptionType {
|
|
20
|
+
// Unspecified option type.
|
|
20
21
|
unspecified_option_type = 0;
|
|
22
|
+
// Drop down.
|
|
21
23
|
drop_down = 1;
|
|
24
|
+
// Color.
|
|
22
25
|
color = 2;
|
|
23
26
|
}
|
|
24
27
|
|
|
@@ -38,7 +41,7 @@ message Choice {
|
|
|
38
41
|
message ProductOptionInBank {
|
|
39
42
|
//Option ID
|
|
40
43
|
string id = 1;
|
|
41
|
-
// Option type
|
|
44
|
+
// Option type.
|
|
42
45
|
OptionType optionType = 2;
|
|
43
46
|
// Option name (e.g., color, size)
|
|
44
47
|
string name = 3;
|
|
@@ -53,4 +56,4 @@ message ChoiceInBank {
|
|
|
53
56
|
string value = 1;
|
|
54
57
|
// Choice name
|
|
55
58
|
string description = 2;
|
|
56
|
-
}
|
|
59
|
+
}
|
|
@@ -40,7 +40,7 @@ message EntityUpdatedEvent {
|
|
|
40
40
|
|
|
41
41
|
reserved 4;
|
|
42
42
|
|
|
43
|
-
// WIP - This property will hold both names and values of the updated fields of the entity.
|
|
43
|
+
// WIP - This property will hold both names and previous values of the updated fields of the entity.
|
|
44
44
|
// For more details please see [adr](https://docs.google.com/document/d/1PdqsOM20Ph2HAkmx8zvUnzzk3Sekp3BR9h34wSvsRnI/edit#heading=h.phlw87mh2imx) or [issue](https://github.com/wix-private/nile-tracker/issues/363)
|
|
45
45
|
map<string, google.protobuf.Value> modified_fields = 5 [(wix.api.pii) = true, (.wix.api.field_exposure) = PRIVATE];
|
|
46
46
|
|
|
@@ -33,6 +33,8 @@ message Image {
|
|
|
33
33
|
google.protobuf.StringValue filename = 7 [(.wix.api.readOnly) = true];
|
|
34
34
|
// Image size in bytes.
|
|
35
35
|
google.protobuf.StringValue size_in_bytes = 8 [(.wix.api.readOnly) = true, (.wix.api.field_exposure) = PRIVATE, (.wix.api.format) = DECIMAL_VALUE];
|
|
36
|
+
// Focal point of the image.
|
|
37
|
+
FocalPoint focal_point = 9 [(.wix.api.field_exposure) = PRIVATE];
|
|
36
38
|
}
|
|
37
39
|
|
|
38
40
|
// Deprecated - use VideoV2
|
|
@@ -81,6 +83,10 @@ message VideoV2 {
|
|
|
81
83
|
google.protobuf.StringValue title = 9 [(wix.api.maxLength) = 300, (.wix.api.field_exposure) = PRIVATE];
|
|
82
84
|
// A long description for the video. will be used for SEO purposes.
|
|
83
85
|
google.protobuf.StringValue description = 10 [(wix.api.maxLength) = 2000, (.wix.api.field_exposure) = PRIVATE];
|
|
86
|
+
// Original video height.
|
|
87
|
+
google.protobuf.Int32Value height = 11 [(.wix.api.readOnly) = true, (.wix.api.field_exposure) = PRIVATE, (.wix.api.min) = 0];
|
|
88
|
+
// Original video width.
|
|
89
|
+
google.protobuf.Int32Value width = 12 [(.wix.api.readOnly) = true, (.wix.api.field_exposure) = PRIVATE, (.wix.api.min) = 0];
|
|
84
90
|
}
|
|
85
91
|
|
|
86
92
|
message VideoResolution {
|
|
@@ -234,3 +240,14 @@ message MediaItem {
|
|
|
234
240
|
Document document = 3; // WixMedia document
|
|
235
241
|
}
|
|
236
242
|
}
|
|
243
|
+
|
|
244
|
+
message FocalPoint {
|
|
245
|
+
// X-coordinate of the focal point.
|
|
246
|
+
double x = 1;
|
|
247
|
+
// Y-coordinate of the focal point.
|
|
248
|
+
double y = 2;
|
|
249
|
+
// crop by height
|
|
250
|
+
google.protobuf.Int32Value height = 3;
|
|
251
|
+
// crop by width
|
|
252
|
+
google.protobuf.Int32Value width = 4;
|
|
253
|
+
}
|
|
@@ -64,6 +64,8 @@ message ExternalLink {
|
|
|
64
64
|
string url = 1 [(.wix.api.format) = WEB_URL];
|
|
65
65
|
//Where this link should open, supports _self and _blank or any name the user chooses. _self means same page, _blank means new page.
|
|
66
66
|
google.protobuf.StringValue target = 2;
|
|
67
|
+
//rel of link
|
|
68
|
+
repeated LinkRel rel = 3 [(.wix.api.maxSize) = 20, (.wix.api.field_exposure) = PRIVATE];
|
|
67
69
|
}
|
|
68
70
|
|
|
69
71
|
message PageLink {
|
|
@@ -1,4 +1,12 @@
|
|
|
1
1
|
// flynt-disable crud-add-get-annotation
|
|
2
|
+
// flynt-disable field-lower-snake-case
|
|
3
|
+
// flynt-disable invalid-id-name
|
|
4
|
+
// flynt-disable missing-field-comments
|
|
5
|
+
// flynt-disable missing-method-comments
|
|
6
|
+
// flynt-disable missing-permission
|
|
7
|
+
// flynt-disable missing-string-validations
|
|
8
|
+
// flynt-disable missing-version-in-rest-path-url
|
|
9
|
+
// flynt-disable request-response
|
|
2
10
|
syntax = "proto3";
|
|
3
11
|
|
|
4
12
|
package wix.coupons.api.v1;
|
|
@@ -1,3 +1,8 @@
|
|
|
1
|
+
// flynt-disable missing-array-limits
|
|
2
|
+
// flynt-disable missing-field-comments
|
|
3
|
+
// flynt-disable missing-string-validations
|
|
4
|
+
// flynt-disable missing-version-in-rest-path-url
|
|
5
|
+
// flynt-disable request-response
|
|
1
6
|
syntax = "proto3";
|
|
2
7
|
|
|
3
8
|
package wix.coupons.api.v2;
|
|
@@ -1,3 +1,15 @@
|
|
|
1
|
+
// flynt-disable boolean-field-name-prefix
|
|
2
|
+
// flynt-disable crud-corresponding-emits-validation
|
|
3
|
+
// flynt-disable deprecated-callback-event-validation
|
|
4
|
+
// flynt-disable disallow-direct-common-imports
|
|
5
|
+
// flynt-disable field-lower-snake-case
|
|
6
|
+
// flynt-disable invalid-id-name
|
|
7
|
+
// flynt-disable missing-array-limits
|
|
8
|
+
// flynt-disable missing-field-comments
|
|
9
|
+
// flynt-disable missing-permission
|
|
10
|
+
// flynt-disable missing-string-validations
|
|
11
|
+
// flynt-disable missing-version-in-rest-path-url
|
|
12
|
+
// flynt-disable request-response
|
|
1
13
|
syntax = "proto3";
|
|
2
14
|
|
|
3
15
|
package wix.coupons.api.v2;
|
|
@@ -13,144 +13,144 @@ import "wix/api/annotations.proto";
|
|
|
13
13
|
|
|
14
14
|
|
|
15
15
|
message AsyncJob {
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
}
|
|
23
|
-
appendix_files: {
|
|
24
|
-
type: AUTO_VELO
|
|
25
|
-
path: "appendices/velo"
|
|
26
|
-
}
|
|
27
|
-
};
|
|
28
|
-
|
|
29
|
-
// Job ID.
|
|
30
|
-
string id = 1 [(wix.api.format) = GUID, (wix.api.readOnly) = true];
|
|
31
|
-
|
|
32
|
-
// Optional job metadata, used to store any parameters used during job execution, user-defined statuses, etc.
|
|
33
|
-
google.protobuf.Struct metadata = 2;
|
|
34
|
-
|
|
35
|
-
// Current job execution status.
|
|
36
|
-
Status status = 3;
|
|
37
|
-
|
|
38
|
-
// Current counters.
|
|
39
|
-
Counters counters = 5 [deprecated = true, (wix.api.field_deprecated) = {
|
|
40
|
-
replaced_by: "wix.infra.asyncjobs.v1.AsyncJob.counts"
|
|
41
|
-
target_removal_date: "2024-12-12",
|
|
42
|
-
}];
|
|
43
|
-
// Date and time the job was created in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601#combined_date_and_time_representations) format.
|
|
44
|
-
google.protobuf.Timestamp created_date = 6 [(wix.api.readOnly) = true];
|
|
45
|
-
// Date and time the job was last updated in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601#combined_date_and_time_representations) format.
|
|
46
|
-
google.protobuf.Timestamp updated_date = 7 [(wix.api.readOnly) = true];
|
|
47
|
-
|
|
48
|
-
// Job owner.
|
|
49
|
-
Owner owner = 8 [(wix.api.readOnly) = true, deprecated = true, (wix.api.field_deprecated) = {
|
|
50
|
-
replaced_by: "wix.infra.asyncjobs.v1.AsyncJob.created_by"
|
|
51
|
-
target_removal_date: "2024-12-12",
|
|
52
|
-
}];
|
|
53
|
-
|
|
54
|
-
// Job creator.
|
|
55
|
-
CreatedBy created_by = 9 [(wix.api.readOnly) = true];
|
|
56
|
-
|
|
57
|
-
// Current execution counts.
|
|
58
|
-
Counts counts = 10;
|
|
59
|
-
|
|
60
|
-
enum Status {
|
|
61
|
-
UNKNOWN = 0;
|
|
62
|
-
// Job was created, but not started yet.
|
|
63
|
-
INITIALIZED = 1;
|
|
64
|
-
// Job has started and is in progress.
|
|
65
|
-
PROCESSING = 2;
|
|
66
|
-
// Job is finished.
|
|
67
|
-
FINISHED = 3;
|
|
68
|
-
// Job has failed.
|
|
69
|
-
FAILED = 4;
|
|
16
|
+
option (wix.api.entity) = {
|
|
17
|
+
fqdn: "wix.infra.asyncjobs.v1.async_job",
|
|
18
|
+
segment: USERS
|
|
19
|
+
appendix_files: {
|
|
20
|
+
type: DOCS_CONF
|
|
21
|
+
path: "appendices/docs"
|
|
70
22
|
}
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
google.protobuf.Int32Value items_to_process = 1;
|
|
75
|
-
|
|
76
|
-
// Amount of items that were successfully processed.
|
|
77
|
-
int32 items_succeeded = 2;
|
|
78
|
-
|
|
79
|
-
// Amount of items whose processing failed.
|
|
80
|
-
int32 items_failed = 3;
|
|
81
|
-
|
|
82
|
-
// Mapping between an error code and the number of failures associated with it.
|
|
83
|
-
map<string, int32> error_count_by_code = 4;
|
|
23
|
+
appendix_files: {
|
|
24
|
+
type: AUTO_VELO
|
|
25
|
+
path: "appendices/velo"
|
|
84
26
|
}
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
27
|
+
};
|
|
28
|
+
|
|
29
|
+
// Job ID.
|
|
30
|
+
string id = 1 [(wix.api.format) = GUID, (wix.api.readOnly) = true];
|
|
31
|
+
|
|
32
|
+
// Optional job metadata, used to store any parameters used during job execution, user-defined statuses, etc.
|
|
33
|
+
google.protobuf.Struct metadata = 2;
|
|
34
|
+
|
|
35
|
+
// Current job execution status.
|
|
36
|
+
Status status = 3;
|
|
37
|
+
|
|
38
|
+
// Current counters.
|
|
39
|
+
Counters counters = 5 [deprecated = true, (wix.api.field_deprecated) = {
|
|
40
|
+
replaced_by: "wix.infra.asyncjobs.v1.AsyncJob.counts"
|
|
41
|
+
target_removal_date: "2024-12-12",
|
|
42
|
+
}];
|
|
43
|
+
// Date and time the job was created in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601#combined_date_and_time_representations) format.
|
|
44
|
+
google.protobuf.Timestamp created_date = 6 [(wix.api.readOnly) = true];
|
|
45
|
+
// Date and time the job was last updated in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601#combined_date_and_time_representations) format.
|
|
46
|
+
google.protobuf.Timestamp updated_date = 7 [(wix.api.readOnly) = true];
|
|
47
|
+
|
|
48
|
+
// Job owner.
|
|
49
|
+
Owner owner = 8 [(wix.api.readOnly) = true, deprecated = true, (wix.api.field_deprecated) = {
|
|
50
|
+
replaced_by: "wix.infra.asyncjobs.v1.AsyncJob.created_by"
|
|
51
|
+
target_removal_date: "2024-12-12",
|
|
52
|
+
}];
|
|
53
|
+
|
|
54
|
+
// Job creator.
|
|
55
|
+
CreatedBy created_by = 9 [(wix.api.readOnly) = true];
|
|
56
|
+
|
|
57
|
+
// Current execution counts.
|
|
58
|
+
Counts counts = 10;
|
|
59
|
+
|
|
60
|
+
enum Status {
|
|
61
|
+
UNKNOWN = 0;
|
|
62
|
+
// Job is created, but hasn't started yet.
|
|
63
|
+
INITIALIZED = 1;
|
|
64
|
+
// Job has started and is in progress.
|
|
65
|
+
PROCESSING = 2;
|
|
66
|
+
// Job is finished.
|
|
67
|
+
FINISHED = 3;
|
|
68
|
+
// Job has failed.
|
|
69
|
+
FAILED = 4;
|
|
70
|
+
}
|
|
71
|
+
|
|
72
|
+
message Counters {
|
|
73
|
+
// Optional count of the dataset size, as specified during job creation. Can be used for progress bars, etc.
|
|
74
|
+
google.protobuf.Int32Value items_to_process = 1;
|
|
75
|
+
|
|
76
|
+
// Amount of items that were successfully processed.
|
|
77
|
+
int32 items_succeeded = 2;
|
|
78
|
+
|
|
79
|
+
// Amount of items whose processing failed.
|
|
80
|
+
int32 items_failed = 3;
|
|
81
|
+
|
|
82
|
+
// Mapping between an error code and the number of failures associated with it.
|
|
83
|
+
map<string, int32> error_count_by_code = 4;
|
|
84
|
+
}
|
|
85
|
+
|
|
86
|
+
message Counts {
|
|
87
|
+
// Optional count of the dataset size, specified during job creation. Can be used for progress bars, etc.
|
|
88
|
+
google.protobuf.Int32Value total = 1;
|
|
89
|
+
|
|
90
|
+
// Amount of items that were successfully processed.
|
|
91
|
+
int32 success_count = 2;
|
|
92
|
+
|
|
93
|
+
// Amount of items whose processing failed.
|
|
94
|
+
int32 fail_count = 3;
|
|
95
|
+
|
|
96
|
+
// Mapping between an error code and the number of failures associated with it.
|
|
97
|
+
map<string, int32> error_by_code_count = 4;
|
|
98
|
+
}
|
|
99
|
+
|
|
100
|
+
message Owner {
|
|
101
|
+
oneof id {
|
|
102
|
+
// Visitor ID - when the job is owned by a site visitor that was **not** logged in.
|
|
103
|
+
string anonymous_visitor_id = 2 [(.wix.api.format) = GUID];
|
|
104
|
+
// Member ID - When the job is owned by a by a **logged in** site visitor.
|
|
105
|
+
string member_id = 3 [(.wix.api.format) = GUID, (.wix.api.referenced_entity) = "wix.members.v1.member"];
|
|
106
|
+
// User ID - When the job is owned by a Wix user.
|
|
107
|
+
string wix_user_id = 4 [(.wix.api.format) = GUID];
|
|
108
|
+
// App ID - When the job is owned by an external app or app by Wix.
|
|
109
|
+
string app_id = 5 [(.wix.api.format) = GUID];
|
|
110
|
+
// Service ID.
|
|
111
|
+
string service_id = 6 [(.wix.api.format) = GUID];
|
|
112
|
+
}
|
|
113
|
+
}
|
|
114
|
+
|
|
115
|
+
message CreatedBy {
|
|
116
|
+
enum Type {
|
|
117
|
+
UNKNOWN_TYPE = 0;
|
|
118
|
+
ANONYMOUS_VISITOR_ID = 1; // Job was created by a site visitor that was **not** logged in.
|
|
119
|
+
MEMBER_ID = 2; // Job was created by a **logged in** site visitor.
|
|
120
|
+
WIX_USER_ID = 3; // Job was created by a Wix user.
|
|
121
|
+
APP_ID = 4; // Job was created by an external app or app by Wix.
|
|
98
122
|
}
|
|
99
123
|
|
|
100
|
-
message
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
124
|
+
message AnonymousVisitorIdOptions {
|
|
125
|
+
// Visitor ID - When the job is owned by a site visitor that was **not** logged in.
|
|
126
|
+
string anonymous_visitor_id = 1 [(.wix.api.format) = GUID];
|
|
127
|
+
}
|
|
128
|
+
message MemberIdOptions {
|
|
129
|
+
// Member ID - When the job is owned by a by a **logged in** site visitor.
|
|
130
|
+
string member_id = 1 [(.wix.api.format) = GUID, (.wix.api.referenced_entity) = "wix.members.v1.member"];
|
|
131
|
+
}
|
|
132
|
+
message WixUserIdOptions {
|
|
133
|
+
// User ID - When the job is owned by a site owner or contributor.
|
|
134
|
+
string wix_user_id = 4 [(.wix.api.format) = GUID];
|
|
135
|
+
}
|
|
136
|
+
message AppIdOptions {
|
|
137
|
+
// App ID - When the job is owned by an external app. or app by Wix.
|
|
138
|
+
string app_id = 5 [(.wix.api.format) = GUID];
|
|
113
139
|
}
|
|
114
140
|
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
}
|
|
128
|
-
message MemberIdOptions {
|
|
129
|
-
// Member ID - when the job is owned by a by a **logged in** site visitor.
|
|
130
|
-
string member_id = 1 [(.wix.api.format) = GUID, (.wix.api.referenced_entity) = "wix.members.v1.member"];
|
|
131
|
-
}
|
|
132
|
-
message WixUserIdOptions {
|
|
133
|
-
// User ID - when the job is owned by a site owner or contributor.
|
|
134
|
-
string wix_user_id = 4 [(.wix.api.format) = GUID];
|
|
135
|
-
}
|
|
136
|
-
message AppIdOptions {
|
|
137
|
-
// App ID - when the job is owned by an external application or Wix service.
|
|
138
|
-
string app_id = 5 [(.wix.api.format) = GUID];
|
|
139
|
-
}
|
|
140
|
-
|
|
141
|
-
// The type of the creator.
|
|
142
|
-
Type type = 1;
|
|
143
|
-
oneof options {
|
|
144
|
-
option (.wix.api.aligned_with_enum).field = "type";
|
|
145
|
-
// Visitor ID - when the job is created by a site visitor that was **not** logged in.
|
|
146
|
-
AnonymousVisitorIdOptions anonymous_visitor_id_options = 2;
|
|
147
|
-
// Member ID - when the job is created by a by a **logged in** site visitor.
|
|
148
|
-
MemberIdOptions member_id_options = 3;
|
|
149
|
-
// User ID - when the job is created by a site owner or contributor.
|
|
150
|
-
WixUserIdOptions wix_user_id_options = 4;
|
|
151
|
-
// App ID - when the job is created by an external application or Wix service.
|
|
152
|
-
AppIdOptions app_id_options = 5;
|
|
153
|
-
}
|
|
141
|
+
// The type of the creator.
|
|
142
|
+
Type type = 1;
|
|
143
|
+
oneof options {
|
|
144
|
+
option (.wix.api.aligned_with_enum).field = "type";
|
|
145
|
+
// Visitor ID - when the job is created by a site visitor that was **not** logged in.
|
|
146
|
+
AnonymousVisitorIdOptions anonymous_visitor_id_options = 2;
|
|
147
|
+
// Member ID - When the job is created by a by a **logged in** site visitor.
|
|
148
|
+
MemberIdOptions member_id_options = 3;
|
|
149
|
+
// User ID - When the job is created by a Wix user.
|
|
150
|
+
WixUserIdOptions wix_user_id_options = 4;
|
|
151
|
+
// App ID - When the job is created by an external app or app by Wix.
|
|
152
|
+
AppIdOptions app_id_options = 5;
|
|
154
153
|
}
|
|
154
|
+
}
|
|
155
155
|
|
|
156
156
|
}
|