@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
|
@@ -1,484 +0,0 @@
|
|
|
1
|
-
//flynt-disable invalid-id-name
|
|
2
|
-
syntax = "proto3";
|
|
3
|
-
|
|
4
|
-
package com.wixpress.locations;
|
|
5
|
-
|
|
6
|
-
import "google/protobuf/wrappers.proto";
|
|
7
|
-
import "google/protobuf/empty.proto";
|
|
8
|
-
import "google/api/annotations.proto";
|
|
9
|
-
import "wix/api/annotations.proto";
|
|
10
|
-
import "wix/api/validations.proto";
|
|
11
|
-
import "wix/http/field_mask.proto";
|
|
12
|
-
import "wix/common/query.proto";
|
|
13
|
-
import "wix/common/sorting.proto";
|
|
14
|
-
import "wix/common/paging.proto";
|
|
15
|
-
import "wix/api/callback.proto";
|
|
16
|
-
import "wix/api/action_payload.proto";
|
|
17
|
-
import "wix/api/entity.proto";
|
|
18
|
-
import "com/wixpress/locations/location.proto";
|
|
19
|
-
import "com/wixpress/locations/pagination.proto";
|
|
20
|
-
import "wix/api/subscription.proto";
|
|
21
|
-
import "wix/api/permissions.proto";
|
|
22
|
-
import "wix/api/api_errors.proto";
|
|
23
|
-
|
|
24
|
-
service LocationsService {
|
|
25
|
-
option (wix.api.service_entity).message = "com.wixpress.locations.Location";
|
|
26
|
-
option (.wix.api.service_maturity) = BETA;
|
|
27
|
-
option (.wix.api.service_exposure) = PUBLIC;
|
|
28
|
-
|
|
29
|
-
/*
|
|
30
|
-
Creates a location.
|
|
31
|
-
*/
|
|
32
|
-
rpc CreateLocation (CreateLocationRequest) returns (CreateLocationResponse) {
|
|
33
|
-
option (google.api.http).post = "/v1/locations";
|
|
34
|
-
option (wix.api.required) = "CreateLocationRequest.location";
|
|
35
|
-
option (wix.api.required) = "CreateLocationRequest.location.name";
|
|
36
|
-
option (wix.api.required) = "CreateLocationRequest.location.address";
|
|
37
|
-
option (wix.api.required) = "CreateLocationRequest.location.time_zone";
|
|
38
|
-
option (wix.api.exposure) = PUBLIC;
|
|
39
|
-
option (wix.api.maturity) = BETA;
|
|
40
|
-
option (wix.api.permission).name = "LOCATIONS.MANAGE";
|
|
41
|
-
option (wix.api.callback) = {
|
|
42
|
-
event_type: CREATED
|
|
43
|
-
permission: "LOCATIONS.MANAGE"
|
|
44
|
-
};
|
|
45
|
-
option (.wix.api.error) = {
|
|
46
|
-
http_code: INVALID_ARGUMENT
|
|
47
|
-
application_code: "CANNOT_PERFORM_ACTION_ON_ARCHIVED_LOCATION"
|
|
48
|
-
};
|
|
49
|
-
option (.wix.api.crud) = {
|
|
50
|
-
method: CREATE
|
|
51
|
-
create_options: {
|
|
52
|
-
item_field: "location"
|
|
53
|
-
}
|
|
54
|
-
};
|
|
55
|
-
}
|
|
56
|
-
|
|
57
|
-
/*
|
|
58
|
-
Creates locations in bulk.
|
|
59
|
-
*/
|
|
60
|
-
rpc BulkCreateLocation (BulkCreateLocationRequest) returns (BulkCreateLocationResponse) {
|
|
61
|
-
option (google.api.http).post = "/v1/locations/bulk-create";
|
|
62
|
-
option (wix.api.required) = "BulkCreateLocationRequest.locations";
|
|
63
|
-
option (wix.api.maturity) = ALPHA;
|
|
64
|
-
option (wix.api.permission).name = "LOCATIONS.MANAGE";
|
|
65
|
-
option (wix.api.callback) = {
|
|
66
|
-
event_type: CREATED
|
|
67
|
-
permission: "LOCATIONS.MANAGE"
|
|
68
|
-
};
|
|
69
|
-
option (.wix.api.crud) = {
|
|
70
|
-
method: BULK_CREATE
|
|
71
|
-
bulk_create_options: {
|
|
72
|
-
item_field: "locations"
|
|
73
|
-
}
|
|
74
|
-
};
|
|
75
|
-
}
|
|
76
|
-
|
|
77
|
-
/*
|
|
78
|
-
Retrieves a location.
|
|
79
|
-
*/
|
|
80
|
-
rpc GetLocation (GetLocationRequest) returns (GetLocationResponse) {
|
|
81
|
-
option (google.api.http).get = "/v1/locations/{id}";
|
|
82
|
-
option (wix.api.exposure) = PUBLIC;
|
|
83
|
-
option (wix.api.maturity) = BETA;
|
|
84
|
-
option (wix.api.required) = "GetLocationRequest.id";
|
|
85
|
-
option (wix.api.permission).name = "LOCATIONS.READ";
|
|
86
|
-
option (.wix.api.crud) = {
|
|
87
|
-
method: GET_ITEM
|
|
88
|
-
get_options: {
|
|
89
|
-
id_field: "id"
|
|
90
|
-
item_field: "location"
|
|
91
|
-
}
|
|
92
|
-
};
|
|
93
|
-
}
|
|
94
|
-
|
|
95
|
-
/*
|
|
96
|
-
Retrieves locations, given the provided filters, sorting, and paging.
|
|
97
|
-
*/
|
|
98
|
-
rpc ListLocations (ListLocationsRequest) returns (ListLocationsResponse) {
|
|
99
|
-
option (google.api.http).get = "/v1/locations";
|
|
100
|
-
option (wix.api.exposure) = PUBLIC;
|
|
101
|
-
option (wix.api.maturity) = BETA;
|
|
102
|
-
option (wix.api.permission).name = "LOCATIONS.READ";
|
|
103
|
-
option (.wix.api.crud) = {
|
|
104
|
-
method: LIST
|
|
105
|
-
list_options: {
|
|
106
|
-
items_field: "locations"
|
|
107
|
-
paging: {
|
|
108
|
-
type: OFFSET
|
|
109
|
-
paging_metadata_field: "paging_metadata"
|
|
110
|
-
}
|
|
111
|
-
}
|
|
112
|
-
};
|
|
113
|
-
}
|
|
114
|
-
|
|
115
|
-
/*
|
|
116
|
-
Replaces a location.
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
> **Note:** Currently, it isn't possible to partially update a location. Therefore, you'll need to pass the full location object in the body of the call.
|
|
120
|
-
|
|
121
|
-
*/
|
|
122
|
-
rpc UpdateLocation (UpdateLocationRequest) returns (UpdateLocationResponse) {
|
|
123
|
-
option (google.api.http).put = "/v1/locations/{location.id}";
|
|
124
|
-
option (wix.api.required) = "UpdateLocationRequest.location";
|
|
125
|
-
option (wix.api.required) = "UpdateLocationRequest.location.id";
|
|
126
|
-
option (wix.api.required) = "UpdateLocationRequest.location.name";
|
|
127
|
-
option (wix.api.required) = "UpdateLocationRequest.location.address";
|
|
128
|
-
option (wix.api.required) = "UpdateLocationRequest.location.time_zone";
|
|
129
|
-
option (wix.api.exposure) = PUBLIC;
|
|
130
|
-
option (wix.api.maturity) = BETA;
|
|
131
|
-
option (wix.api.permission).name = "LOCATIONS.MANAGE";
|
|
132
|
-
option (wix.api.callback) = {
|
|
133
|
-
event_type: UPDATED
|
|
134
|
-
permission: "LOCATIONS.MANAGE"
|
|
135
|
-
};
|
|
136
|
-
|
|
137
|
-
option (.wix.api.error) = {
|
|
138
|
-
http_code: INVALID_ARGUMENT
|
|
139
|
-
application_code: "CANNOT_PERFORM_ACTION_ON_ARCHIVED_LOCATION"
|
|
140
|
-
};
|
|
141
|
-
option (.wix.api.error) = {
|
|
142
|
-
http_code: INVALID_ARGUMENT
|
|
143
|
-
application_code: "CANNOT_ARCHIVE_DEFAULT"
|
|
144
|
-
};
|
|
145
|
-
option (.wix.api.error) = {
|
|
146
|
-
http_code: NOT_FOUND
|
|
147
|
-
application_code: "LOCATION_NOT_FOUND"
|
|
148
|
-
};
|
|
149
|
-
option (.wix.api.crud) = {
|
|
150
|
-
method: UPDATE
|
|
151
|
-
update_options: {
|
|
152
|
-
item_field: "location"
|
|
153
|
-
}
|
|
154
|
-
};
|
|
155
|
-
}
|
|
156
|
-
|
|
157
|
-
/*
|
|
158
|
-
Replaces locations in bulk.
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
> **Note:** Currently, it isn't possible to partially update a location. Therefore, you'll need to pass the full location object in the body of the call.
|
|
162
|
-
*/
|
|
163
|
-
rpc BulkUpdateLocation (BulkUpdateLocationRequest) returns (BulkUpdateLocationResponse) {
|
|
164
|
-
option (google.api.http).put = "/v1/locations/bulk-update";
|
|
165
|
-
option (wix.api.exposure) = PRIVATE;
|
|
166
|
-
option (wix.api.required) = "BulkUpdateLocationRequest.locations";
|
|
167
|
-
option (wix.api.maturity) = ALPHA;
|
|
168
|
-
option (wix.api.permission).name = "LOCATIONS.MANAGE";
|
|
169
|
-
option (wix.api.callback) = {
|
|
170
|
-
event_type: UPDATED
|
|
171
|
-
permission: "LOCATIONS.MANAGE"
|
|
172
|
-
};
|
|
173
|
-
option (.wix.api.crud) = {
|
|
174
|
-
method: BULK_UPDATE
|
|
175
|
-
bulk_update_options: {
|
|
176
|
-
item_field: "locations"
|
|
177
|
-
}
|
|
178
|
-
};
|
|
179
|
-
}
|
|
180
|
-
|
|
181
|
-
/*
|
|
182
|
-
Retrieves locations, given the provided filters, sorting, and paging.
|
|
183
|
-
*/
|
|
184
|
-
rpc QueryLocations (QueryLocationsRequest) returns (QueryLocationsResponse) {
|
|
185
|
-
option (google.api.http).post = "/v1/locations/query";
|
|
186
|
-
option (wix.api.exposure) = PUBLIC;
|
|
187
|
-
option (wix.api.maturity) = BETA;
|
|
188
|
-
option (wix.api.permission).name = "LOCATIONS.READ";
|
|
189
|
-
option (.wix.api.crud) = {
|
|
190
|
-
method: QUERY
|
|
191
|
-
query_options: {
|
|
192
|
-
query_field: "query"
|
|
193
|
-
items_field: "locations"
|
|
194
|
-
paging: {
|
|
195
|
-
type: OFFSET
|
|
196
|
-
paging_metadata_field: "paging_metadata"
|
|
197
|
-
}
|
|
198
|
-
wql: {
|
|
199
|
-
pattern: {
|
|
200
|
-
operator: ALL_APPLICABLE_OPERATORS
|
|
201
|
-
field: "id"
|
|
202
|
-
field: "name"
|
|
203
|
-
field: "description"
|
|
204
|
-
field: "default"
|
|
205
|
-
field: "status"
|
|
206
|
-
field: "location_type"
|
|
207
|
-
field: "fax"
|
|
208
|
-
field: "time_zone"
|
|
209
|
-
field: "email"
|
|
210
|
-
field: "phone"
|
|
211
|
-
field: "address.country"
|
|
212
|
-
field: "address.subdivision"
|
|
213
|
-
field: "address.city"
|
|
214
|
-
field: "address.postal_code"
|
|
215
|
-
field: "address.street_address.number"
|
|
216
|
-
field: "address.street_address.name"
|
|
217
|
-
field: "address.street_address.apt"
|
|
218
|
-
field: "address.formatted_address"
|
|
219
|
-
field: "address.hint"
|
|
220
|
-
field: "address.geocode.latitude"
|
|
221
|
-
field: "address.geocode.longitude"
|
|
222
|
-
field: "business_schedule.periods.open_day"
|
|
223
|
-
field: "business_schedule.periods.open_time"
|
|
224
|
-
field: "business_schedule.periods.close_day"
|
|
225
|
-
field: "business_schedule.periods.close_time"
|
|
226
|
-
field: "business_schedule.special_hour_period.start_date"
|
|
227
|
-
field: "business_schedule.special_hour_period.end_date"
|
|
228
|
-
field: "business_schedule.special_hour_period.is_closed"
|
|
229
|
-
field: "business_schedule.special_hour_period.comment"
|
|
230
|
-
field: "revision"
|
|
231
|
-
field: "archived"
|
|
232
|
-
}
|
|
233
|
-
}
|
|
234
|
-
}
|
|
235
|
-
};
|
|
236
|
-
}
|
|
237
|
-
|
|
238
|
-
/*
|
|
239
|
-
Sets a new default location.
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
> **Notes:**
|
|
243
|
-
> + There can only be one default location per site.
|
|
244
|
-
> + The default location can't be archived.
|
|
245
|
-
*/
|
|
246
|
-
rpc SetDefaultLocation (SetDefaultLocationRequest) returns (SetDefaultLocationResponse) {
|
|
247
|
-
option (google.api.http).post = "/v1/locations/{id}/set-default";
|
|
248
|
-
option (wix.api.exposure) = PUBLIC;
|
|
249
|
-
option (wix.api.maturity) = BETA;
|
|
250
|
-
option (.wix.api.required) = "SetDefaultLocationRequest.id";
|
|
251
|
-
option (wix.api.permission).name = "LOCATIONS.MANAGE";
|
|
252
|
-
option (wix.api.callback) = {
|
|
253
|
-
event_type: ACTION
|
|
254
|
-
permission: "LOCATIONS.MANAGE"
|
|
255
|
-
payload: "com.wixpress.locations.SetDefaultLocation"
|
|
256
|
-
};
|
|
257
|
-
option (.wix.api.error) = {
|
|
258
|
-
http_code: INVALID_ARGUMENT
|
|
259
|
-
application_code: "CANNOT_PERFORM_ACTION_ON_ARCHIVED_LOCATION"
|
|
260
|
-
};
|
|
261
|
-
option (.wix.api.error) = {
|
|
262
|
-
http_code: INVALID_ARGUMENT
|
|
263
|
-
application_code: "DEFAULT_NOT_CHANGED"
|
|
264
|
-
};
|
|
265
|
-
}
|
|
266
|
-
|
|
267
|
-
/*
|
|
268
|
-
Archives a location.
|
|
269
|
-
|
|
270
|
-
|
|
271
|
-
> **Notes:**
|
|
272
|
-
> + Changes the `archived` boolean of a location to `true`.
|
|
273
|
-
> + You can't change a location's `status` using this endpoint.
|
|
274
|
-
> + Archived locations can't be updated.
|
|
275
|
-
> + Currently, it isn't possible to unarchive locations.
|
|
276
|
-
> + The `default` location can't be archived.
|
|
277
|
-
*/
|
|
278
|
-
rpc ArchiveLocation (ArchiveLocationRequest) returns (ArchiveLocationResponse) {
|
|
279
|
-
option (google.api.http).post = "/v1/locations/{id}/archive";
|
|
280
|
-
option (wix.api.exposure) = PUBLIC;
|
|
281
|
-
option (wix.api.maturity) = BETA;
|
|
282
|
-
option (.wix.api.required) = "ArchiveLocationRequest.id";
|
|
283
|
-
option (wix.api.permission).name = "LOCATIONS.MANAGE";
|
|
284
|
-
option (wix.api.callback) = {
|
|
285
|
-
event_type: ACTION
|
|
286
|
-
permission: "LOCATIONS.MANAGE"
|
|
287
|
-
payload: "com.wixpress.locations.ArchiveLocation"
|
|
288
|
-
};
|
|
289
|
-
option (.wix.api.error) = {
|
|
290
|
-
http_code: INVALID_ARGUMENT
|
|
291
|
-
application_code: "CANNOT_ARCHIVE_DEFAULT"
|
|
292
|
-
};
|
|
293
|
-
}
|
|
294
|
-
|
|
295
|
-
rpc AddLocationType (AddLocationTypeRequest) returns (AddLocationTypeResponse) {
|
|
296
|
-
option (google.api.http).patch = "/v1/locations/{id}/add-location-type";
|
|
297
|
-
option (wix.api.required) = "AddLocationTypeRequest.id";
|
|
298
|
-
option (wix.api.required) = "AddLocationTypeRequest.location_type";
|
|
299
|
-
option (wix.api.exposure) = INTERNAL;
|
|
300
|
-
option (wix.api.maturity) = BETA;
|
|
301
|
-
option (wix.api.permission).name = "LOCATIONS.MANAGE";
|
|
302
|
-
option (wix.api.callback) = {
|
|
303
|
-
event_type: UPDATED
|
|
304
|
-
permission: "LOCATIONS.MANAGE"
|
|
305
|
-
};
|
|
306
|
-
|
|
307
|
-
option (.wix.api.error) = {
|
|
308
|
-
http_code: INVALID_ARGUMENT
|
|
309
|
-
application_code: "CANNOT_UPDATE_LOCATION_TYPES_FOR_LOCATION"
|
|
310
|
-
};
|
|
311
|
-
}
|
|
312
|
-
|
|
313
|
-
rpc RemoveLocationType (RemoveLocationTypeRequest) returns (RemoveLocationTypeResponse) {
|
|
314
|
-
option (google.api.http).patch = "/v1/locations/{id}/remove-location-type";
|
|
315
|
-
option (wix.api.required) = "RemoveLocationTypeRequest.id";
|
|
316
|
-
option (wix.api.required) = "RemoveLocationTypeRequest.location_type";
|
|
317
|
-
option (wix.api.exposure) = INTERNAL;
|
|
318
|
-
option (wix.api.maturity) = BETA;
|
|
319
|
-
option (wix.api.permission).name = "LOCATIONS.MANAGE";
|
|
320
|
-
option (wix.api.callback) = {
|
|
321
|
-
event_type: UPDATED
|
|
322
|
-
permission: "LOCATIONS.MANAGE"
|
|
323
|
-
};
|
|
324
|
-
|
|
325
|
-
option (.wix.api.error) = {
|
|
326
|
-
http_code: INVALID_ARGUMENT
|
|
327
|
-
application_code: "CANNOT_UPDATE_LOCATION_TYPES_FOR_LOCATION"
|
|
328
|
-
};
|
|
329
|
-
}
|
|
330
|
-
}
|
|
331
|
-
|
|
332
|
-
message CreateLocationRequest {
|
|
333
|
-
// Location to create.
|
|
334
|
-
Location location = 1;
|
|
335
|
-
}
|
|
336
|
-
|
|
337
|
-
message CreateLocationResponse {
|
|
338
|
-
// Created location.
|
|
339
|
-
Location location = 1;
|
|
340
|
-
}
|
|
341
|
-
|
|
342
|
-
message BulkCreateLocationRequest {
|
|
343
|
-
// Locations to create.
|
|
344
|
-
repeated Location locations = 1 [(wix.api.minSize) = 1, (wix.api.maxSize) = 10];
|
|
345
|
-
}
|
|
346
|
-
|
|
347
|
-
message BulkCreateLocationResponse {
|
|
348
|
-
// Locations that were created.
|
|
349
|
-
repeated Location successful_locations = 1;
|
|
350
|
-
// Locations that failed.
|
|
351
|
-
repeated FailedCreateLocation failed_locations = 2;
|
|
352
|
-
}
|
|
353
|
-
|
|
354
|
-
message FailedCreateLocation {
|
|
355
|
-
// Location that couldn't be created.
|
|
356
|
-
Location location = 1;
|
|
357
|
-
// Error message.
|
|
358
|
-
string error_message = 2;
|
|
359
|
-
}
|
|
360
|
-
|
|
361
|
-
message GetLocationRequest {
|
|
362
|
-
// ID of the location to retrieve.
|
|
363
|
-
string id = 1 [(wix.api.format) = GUID];
|
|
364
|
-
}
|
|
365
|
-
|
|
366
|
-
message GetLocationResponse {
|
|
367
|
-
// Retrieved location.
|
|
368
|
-
Location location = 1;
|
|
369
|
-
}
|
|
370
|
-
|
|
371
|
-
message ListLocationsRequest {
|
|
372
|
-
// Sort order.
|
|
373
|
-
wix.common.Sorting sort = 1;
|
|
374
|
-
// Pagination.
|
|
375
|
-
//
|
|
376
|
-
// Default values:
|
|
377
|
-
// `offset`: 0
|
|
378
|
-
// `limit`: 50 (Max: 1000)
|
|
379
|
-
wix.common.Paging paging = 2;
|
|
380
|
-
// Whether to include `archived` locations in the response.
|
|
381
|
-
//
|
|
382
|
-
//Default: `false`
|
|
383
|
-
bool include_archived = 3;
|
|
384
|
-
}
|
|
385
|
-
|
|
386
|
-
message ListLocationsResponse {
|
|
387
|
-
// Retrieved locations.
|
|
388
|
-
repeated Location locations = 1;
|
|
389
|
-
// Paging info.
|
|
390
|
-
PagingMetadata paging_metadata = 2;
|
|
391
|
-
}
|
|
392
|
-
|
|
393
|
-
message UpdateLocationRequest {
|
|
394
|
-
// Location to update.
|
|
395
|
-
Location location = 1;
|
|
396
|
-
}
|
|
397
|
-
|
|
398
|
-
message UpdateLocationResponse {
|
|
399
|
-
// Updated location.
|
|
400
|
-
Location location = 1;
|
|
401
|
-
}
|
|
402
|
-
|
|
403
|
-
message BulkUpdateLocationRequest {
|
|
404
|
-
// Locations to update.
|
|
405
|
-
repeated Location locations = 1 [(wix.api.minSize) = 1, (wix.api.maxSize) = 10];
|
|
406
|
-
}
|
|
407
|
-
|
|
408
|
-
message BulkUpdateLocationResponse {
|
|
409
|
-
// Locations that were updated.
|
|
410
|
-
repeated Location successful_locations = 1;
|
|
411
|
-
// Locations that failed.
|
|
412
|
-
repeated FailedUpdateLocation failed_locations = 2;
|
|
413
|
-
}
|
|
414
|
-
|
|
415
|
-
message FailedUpdateLocation {
|
|
416
|
-
// Location that couldn't be updated.
|
|
417
|
-
string id = 1;
|
|
418
|
-
// Error message.
|
|
419
|
-
string error_message = 2;
|
|
420
|
-
}
|
|
421
|
-
|
|
422
|
-
message QueryLocationsRequest {
|
|
423
|
-
// Information about the filters, sorting, and paging.
|
|
424
|
-
wix.common.Query query = 1;
|
|
425
|
-
}
|
|
426
|
-
|
|
427
|
-
message QueryLocationsResponse {
|
|
428
|
-
// Retrieved locations.
|
|
429
|
-
repeated Location locations = 1;
|
|
430
|
-
// Paging info.
|
|
431
|
-
PagingMetadata paging_metadata = 2;
|
|
432
|
-
}
|
|
433
|
-
|
|
434
|
-
message SetDefaultLocationRequest {
|
|
435
|
-
// ID of the location to set as the default location.
|
|
436
|
-
string id = 1 [(.wix.api.format) = GUID];
|
|
437
|
-
}
|
|
438
|
-
|
|
439
|
-
message SetDefaultLocationResponse {
|
|
440
|
-
// New default location.
|
|
441
|
-
Location location = 1;
|
|
442
|
-
}
|
|
443
|
-
|
|
444
|
-
message SetDefaultLocation {
|
|
445
|
-
option (wix.api.action_payload).custom_slug = "set_default_location";
|
|
446
|
-
|
|
447
|
-
// Previous default location id.
|
|
448
|
-
string prev_default_location_id = 1 [(wix.api.format) = GUID];
|
|
449
|
-
// Current default location id.
|
|
450
|
-
string curr_default_location_id = 2 [(wix.api.format) = GUID];
|
|
451
|
-
}
|
|
452
|
-
|
|
453
|
-
message ArchiveLocationRequest {
|
|
454
|
-
// ID of the location to archive.
|
|
455
|
-
string id = 1 [(.wix.api.format) = GUID];
|
|
456
|
-
}
|
|
457
|
-
|
|
458
|
-
message ArchiveLocationResponse {
|
|
459
|
-
// Archived location.
|
|
460
|
-
Location location = 1;
|
|
461
|
-
}
|
|
462
|
-
|
|
463
|
-
message ArchiveLocation {
|
|
464
|
-
option (wix.api.action_payload).custom_slug = "archive_status";
|
|
465
|
-
string id = 1 [(.wix.api.format) = GUID];
|
|
466
|
-
}
|
|
467
|
-
|
|
468
|
-
message AddLocationTypeRequest {
|
|
469
|
-
string id = 1 [(.wix.api.format) = GUID]; // Location id to add type
|
|
470
|
-
LocationType location_type = 2;
|
|
471
|
-
}
|
|
472
|
-
|
|
473
|
-
message AddLocationTypeResponse {
|
|
474
|
-
Location location = 1; // Full location with the new type
|
|
475
|
-
}
|
|
476
|
-
|
|
477
|
-
message RemoveLocationTypeRequest {
|
|
478
|
-
string id = 1 [(.wix.api.format) = GUID]; // Location id to add type
|
|
479
|
-
LocationType location_type = 2;
|
|
480
|
-
}
|
|
481
|
-
|
|
482
|
-
message RemoveLocationTypeResponse {
|
|
483
|
-
Location location = 1; // Full location with the new type
|
|
484
|
-
}
|
|
@@ -1,32 +0,0 @@
|
|
|
1
|
-
syntax = "proto3";
|
|
2
|
-
|
|
3
|
-
package com.wixpress.locations;
|
|
4
|
-
import "com/wixpress/siteproperties/api/v4/properties.proto";
|
|
5
|
-
import "com/wixpress/siteproperties/api/v4/notifications.proto";
|
|
6
|
-
import "com/wixpress/metasite/event/api/special.proto";
|
|
7
|
-
import "wix/api/subscription.proto";
|
|
8
|
-
import "wix/api/annotations.proto";
|
|
9
|
-
import "google/protobuf/empty.proto";
|
|
10
|
-
import "wix/common/domainevents/domainevents.proto";
|
|
11
|
-
|
|
12
|
-
service LocationsMessagingService {
|
|
13
|
-
option (.wix.api.service_exposure) = PRIVATE;
|
|
14
|
-
/*
|
|
15
|
-
Consume and handle SiteProperties Notification kafka messages
|
|
16
|
-
*/
|
|
17
|
-
rpc HandleSitePropertiesNotification (com.wixpress.siteproperties.api.v4.SitePropertiesNotification) returns (google.protobuf.Empty) {
|
|
18
|
-
option (wix.api.subscription) = {
|
|
19
|
-
topic: "site-properties.changes.v4"
|
|
20
|
-
};
|
|
21
|
-
}
|
|
22
|
-
/*
|
|
23
|
-
Consume and handle SitePropertiesV5 domain events
|
|
24
|
-
*/
|
|
25
|
-
rpc ConsumeSitePropertiesV5DomainEvents (wix.common.domainevents.DomainEvent) returns (google.protobuf.Empty) {
|
|
26
|
-
option (wix.api.exposure) = PRIVATE;
|
|
27
|
-
option (wix.api.subscription) = {
|
|
28
|
-
entity: ".wix.site.properties.v5.Properties"
|
|
29
|
-
};
|
|
30
|
-
}
|
|
31
|
-
|
|
32
|
-
}
|
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
syntax = "proto3";
|
|
2
|
-
|
|
3
|
-
package com.wixpress.locations;
|
|
4
|
-
|
|
5
|
-
option java_multiple_files = true;
|
|
6
|
-
option java_package = "com.wixpress.locations";
|
|
7
|
-
|
|
8
|
-
import "google/protobuf/wrappers.proto";
|
|
9
|
-
import "wix/api/annotations.proto";
|
|
10
|
-
import "wix/api/validations.proto";
|
|
11
|
-
|
|
12
|
-
message PagingMetadata {
|
|
13
|
-
option (.wix.api.decomposite_of) = "wix.common.PagingMetadata";
|
|
14
|
-
// Number of items returned in the response.
|
|
15
|
-
google.protobuf.Int32Value count = 1;
|
|
16
|
-
// Offset that was requested.
|
|
17
|
-
google.protobuf.Int32Value offset = 2;
|
|
18
|
-
// Indicates if there are more results after the current page.
|
|
19
|
-
// If `true`, another page of results can be retrieved.
|
|
20
|
-
// If `false`, this is the last page.
|
|
21
|
-
google.protobuf.BoolValue has_next = 5;
|
|
22
|
-
}
|
|
@@ -1,89 +0,0 @@
|
|
|
1
|
-
syntax = "proto3";
|
|
2
|
-
|
|
3
|
-
package com.wixpress.siteproperties.api.v4;
|
|
4
|
-
|
|
5
|
-
import "com/wixpress/siteproperties/api/v4/properties.proto";
|
|
6
|
-
import "google/protobuf/field_mask.proto";
|
|
7
|
-
import "google/protobuf/wrappers.proto";
|
|
8
|
-
import "wix/api/validations.proto";
|
|
9
|
-
|
|
10
|
-
// A single mapping from the MetaSite ID to a particular service.
|
|
11
|
-
message Translation {
|
|
12
|
-
string service_type = 1; // The service type.
|
|
13
|
-
string app_def_id = 2; // The application definition ID; this only applies to services of type ThirdPartyApps.
|
|
14
|
-
string instance_id = 3; // The instance ID of the service.
|
|
15
|
-
}
|
|
16
|
-
|
|
17
|
-
enum NotificationContext {
|
|
18
|
-
PROPERTIES_UPDATE = 0;
|
|
19
|
-
SITE_CREATED = 1;
|
|
20
|
-
SITE_CLONED = 2;
|
|
21
|
-
}
|
|
22
|
-
|
|
23
|
-
message ChangeContext {
|
|
24
|
-
oneof payload {
|
|
25
|
-
PropertiesChange properties_change = 1; // Properties were updated.
|
|
26
|
-
SiteCreated site_created = 2; // Default properties were created on site creation.
|
|
27
|
-
SiteCloned site_cloned = 3; // Properties were cloned on site cloning.
|
|
28
|
-
}
|
|
29
|
-
}
|
|
30
|
-
|
|
31
|
-
message PropertiesChange {}
|
|
32
|
-
|
|
33
|
-
message SiteCreated {
|
|
34
|
-
google.protobuf.StringValue origin_template_id = 1; // Origin template site id.
|
|
35
|
-
}
|
|
36
|
-
|
|
37
|
-
message SiteCloned {
|
|
38
|
-
string origin_meta_site_id = 1; // Origin site id.
|
|
39
|
-
}
|
|
40
|
-
|
|
41
|
-
// Encapsulates all changes when site properties are updated
|
|
42
|
-
message SitePropertiesUpdated {
|
|
43
|
-
string metasite_id = 1; // ID of the Wix site that has been updated.
|
|
44
|
-
SitePropertiesEvent event = 2; // Update details.
|
|
45
|
-
}
|
|
46
|
-
|
|
47
|
-
// Encapsulates all details written to the Greyhound topic when a site's properties are updated.
|
|
48
|
-
message SitePropertiesNotification {
|
|
49
|
-
string metasite_id = 1; // The site ID for which this update notification applies.
|
|
50
|
-
SitePropertiesEvent event = 2; // The actual update event.
|
|
51
|
-
repeated Translation translations = 3 [(.wix.api.maxSize) = 500]; // A convenience set of mappings from the MetaSite ID to its constituent services.
|
|
52
|
-
ChangeContext change_context = 5; // Context of the notification
|
|
53
|
-
}
|
|
54
|
-
|
|
55
|
-
// The actual update event for a particular notification.
|
|
56
|
-
message SitePropertiesEvent {
|
|
57
|
-
uint32 version = 1; // Version of the site's properties represented by this update.
|
|
58
|
-
google.protobuf.FieldMask fields = 2; // Set of properties that were updated - corresponds to the fields in "properties".
|
|
59
|
-
Properties properties = 3; // Updated properties.
|
|
60
|
-
}
|
|
61
|
-
|
|
62
|
-
// Snapshot of latest site properties.
|
|
63
|
-
message SitePropertiesFullNotification {
|
|
64
|
-
string meta_site_id = 1; // The site ID for which this snapshot applies.
|
|
65
|
-
uint32 version = 2; // Version of the site's properties current snapshot.
|
|
66
|
-
Properties properties = 3; // Snapshot properties.
|
|
67
|
-
ChangeContext change_context = 5; // Context of the notification
|
|
68
|
-
}
|
|
69
|
-
|
|
70
|
-
/*
|
|
71
|
-
The set of service types that can be contained within a MetaSite. "Unknown" is a special type used when the service
|
|
72
|
-
type cannot be resolved (this can happen when a new service type is added, but messages are handled by an
|
|
73
|
-
older version of the consumer).
|
|
74
|
-
*/
|
|
75
|
-
enum EmbeddedServiceType {
|
|
76
|
-
UNKNOWN = 0;
|
|
77
|
-
CONTACTS = 1;
|
|
78
|
-
LISTS_APP = 2;
|
|
79
|
-
THIRD_PARTY_APPS = 3;
|
|
80
|
-
SITE_MEMBERS = 4;
|
|
81
|
-
ECOMMERCE = 5;
|
|
82
|
-
APP_BUILDER = 6;
|
|
83
|
-
PROVIDED_MAILING_SERVICE = 7;
|
|
84
|
-
MOBILE_SERVICES = 8;
|
|
85
|
-
CLOUD_SITE_EXTENSION = 9;
|
|
86
|
-
MOBILE_APP = 10;
|
|
87
|
-
ONBOARDING = 11;
|
|
88
|
-
CLUBS = 12;
|
|
89
|
-
}
|
|
@@ -1,23 +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
|
-
import "com/wixpress/siteproperties/api/v4/properties.proto";
|
|
10
|
-
|
|
11
|
-
message BusinessProfileData {
|
|
12
|
-
google.protobuf.StringValue site_display_name = 1; // Site display name.
|
|
13
|
-
google.protobuf.StringValue business_name = 2; // Business name.
|
|
14
|
-
google.protobuf.StringValue logo = 3; // Path to the site's logo in Wix Media (without Wix Media base URL).
|
|
15
|
-
google.protobuf.StringValue description = 4; // Site description.
|
|
16
|
-
}
|
|
17
|
-
|
|
18
|
-
message BusinessContactData {
|
|
19
|
-
google.protobuf.StringValue email = 1 [(wix.api.pii) = true]; // Publicly-available business email address.
|
|
20
|
-
google.protobuf.StringValue phone = 2 [(wix.api.pii) = true]; // Publicly-available business phone number.
|
|
21
|
-
google.protobuf.StringValue fax = 3 [(wix.api.pii) = true]; // Publicly-available business fax number.
|
|
22
|
-
Address address = 4; // Publicly-available business address.
|
|
23
|
-
}
|