@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,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
|
-
}
|