@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.
Files changed (105) hide show
  1. package/@wix/ambassador-fedinfra-exportservice-v1-export-async-job/build/cjs/builders.impl.d.ts +2 -1
  2. package/@wix/ambassador-fedinfra-exportservice-v1-export-async-job/build/cjs/builders.impl.js +27 -1
  3. package/@wix/ambassador-fedinfra-exportservice-v1-export-async-job/build/cjs/builders.impl.js.map +1 -1
  4. package/@wix/ambassador-fedinfra-exportservice-v1-export-async-job/build/cjs/http.impl.js +6 -0
  5. package/@wix/ambassador-fedinfra-exportservice-v1-export-async-job/build/cjs/http.impl.js.map +1 -1
  6. package/@wix/ambassador-fedinfra-exportservice-v1-export-async-job/build/cjs/proto/client/proto-generated.d.ts +2047 -6692
  7. package/@wix/ambassador-fedinfra-exportservice-v1-export-async-job/build/cjs/proto/proto-generated.d.ts +543 -2894
  8. package/@wix/ambassador-fedinfra-exportservice-v1-export-async-job/build/cjs/proto/proto-generated.js +111646 -145254
  9. package/@wix/ambassador-fedinfra-exportservice-v1-export-async-job/build/cjs/proto/server/proto-generated.d.ts +2169 -6764
  10. package/@wix/ambassador-fedinfra-exportservice-v1-export-async-job/build/cjs/types.impl.d.ts +55 -13
  11. package/@wix/ambassador-fedinfra-exportservice-v1-export-async-job/build/cjs/types.impl.js +16 -1
  12. package/@wix/ambassador-fedinfra-exportservice-v1-export-async-job/build/cjs/types.impl.js.map +1 -1
  13. package/@wix/ambassador-fedinfra-exportservice-v1-export-async-job/build/es/builders.impl.d.ts +2 -1
  14. package/@wix/ambassador-fedinfra-exportservice-v1-export-async-job/build/es/builders.impl.js +25 -0
  15. package/@wix/ambassador-fedinfra-exportservice-v1-export-async-job/build/es/builders.impl.js.map +1 -1
  16. package/@wix/ambassador-fedinfra-exportservice-v1-export-async-job/build/es/http.impl.js +6 -0
  17. package/@wix/ambassador-fedinfra-exportservice-v1-export-async-job/build/es/http.impl.js.map +1 -1
  18. package/@wix/ambassador-fedinfra-exportservice-v1-export-async-job/build/es/types.impl.d.ts +55 -13
  19. package/@wix/ambassador-fedinfra-exportservice-v1-export-async-job/build/es/types.impl.js +16 -1
  20. package/@wix/ambassador-fedinfra-exportservice-v1-export-async-job/build/es/types.impl.js.map +1 -1
  21. package/@wix/ambassador-fedinfra-exportservice-v1-export-async-job/package.json +2 -2
  22. package/@wix/ambassador-fedinfra-exportservice-v1-export-async-job/src/main/proto/advanced-seo-api.proto +3 -3
  23. package/@wix/ambassador-fedinfra-exportservice-v1-export-async-job/src/main/proto/com/wix/ecommerce/catalog_spi/api/v1/additional_fee.proto +47 -0
  24. package/@wix/ambassador-fedinfra-exportservice-v1-export-async-job/src/main/proto/com/wix/ecommerce/catalog_spi/api/v1/catalog_reference.proto +1 -1
  25. package/@wix/ambassador-fedinfra-exportservice-v1-export-async-job/src/main/proto/com/wix/ecommerce/catalog_spi/api/v1/description_line.proto +4 -1
  26. package/@wix/ambassador-fedinfra-exportservice-v1-export-async-job/src/main/proto/com/wix/ecommerce/catalog_spi/api/v1/item_data.proto +10 -2
  27. package/@wix/ambassador-fedinfra-exportservice-v1-export-async-job/src/main/proto/com/wix/ecommerce/catalog_spi/api/v1/payment_option.proto +3 -3
  28. 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
  29. package/@wix/ambassador-fedinfra-exportservice-v1-export-async-job/src/main/proto/com/wix/ecommerce/catalog_spi/api/v1/policy.proto +14 -0
  30. 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
  31. package/@wix/ambassador-fedinfra-exportservice-v1-export-async-job/src/main/proto/com/wix/ecommerce/commons/api/platform_search.proto +2 -2
  32. package/@wix/ambassador-fedinfra-exportservice-v1-export-async-job/src/main/proto/com/wix/ecommerce/platform_common/api/location.proto +16 -0
  33. package/@wix/ambassador-fedinfra-exportservice-v1-export-async-job/src/main/proto/com/wix/ecommerce/platform_common/api/pickup_address.proto +2 -0
  34. package/@wix/ambassador-fedinfra-exportservice-v1-export-async-job/src/main/proto/com/wix/ecommerce/platform_common/api/price.proto +0 -1
  35. package/@wix/ambassador-fedinfra-exportservice-v1-export-async-job/src/main/proto/com/wixpress/metasite/event/api/dto.proto +6 -4
  36. package/@wix/ambassador-fedinfra-exportservice-v1-export-async-job/src/main/proto/com/wixpress/metasite/event/api/events.proto +15 -0
  37. package/@wix/ambassador-fedinfra-exportservice-v1-export-async-job/src/main/proto/wix/api/annotations.proto +2 -0
  38. package/@wix/ambassador-fedinfra-exportservice-v1-export-async-job/src/main/proto/wix/api/callback.proto +7 -0
  39. package/@wix/ambassador-fedinfra-exportservice-v1-export-async-job/src/main/proto/wix/api/errors.proto +2 -0
  40. package/@wix/ambassador-fedinfra-exportservice-v1-export-async-job/src/main/proto/wix/api/validations.proto +5 -0
  41. package/@wix/ambassador-fedinfra-exportservice-v1-export-async-job/src/main/proto/wix/catalog/api/v1/catalog.proto +1 -0
  42. package/@wix/ambassador-fedinfra-exportservice-v1-export-async-job/src/main/proto/wix/catalog/api/v1/media.proto +6 -1
  43. package/@wix/ambassador-fedinfra-exportservice-v1-export-async-job/src/main/proto/wix/catalog/api/v1/price.proto +3 -1
  44. package/@wix/ambassador-fedinfra-exportservice-v1-export-async-job/src/main/proto/wix/catalog/api/v1/product.proto +3 -1
  45. package/@wix/ambassador-fedinfra-exportservice-v1-export-async-job/src/main/proto/wix/catalog/api/v1/productOption.proto +6 -3
  46. package/@wix/ambassador-fedinfra-exportservice-v1-export-async-job/src/main/proto/wix/common/domainevents/domainevents.proto +1 -1
  47. package/@wix/ambassador-fedinfra-exportservice-v1-export-async-job/src/main/proto/wix/common/media.proto +17 -0
  48. package/@wix/ambassador-fedinfra-exportservice-v1-export-async-job/src/main/proto/wix/common/wixlink.proto +2 -0
  49. package/@wix/ambassador-fedinfra-exportservice-v1-export-async-job/src/main/proto/wix/coupons/api/v1/cart.proto +4 -0
  50. package/@wix/ambassador-fedinfra-exportservice-v1-export-async-job/src/main/proto/wix/coupons/api/v1/coupon.proto +3 -0
  51. package/@wix/ambassador-fedinfra-exportservice-v1-export-async-job/src/main/proto/wix/coupons/api/v1/coupons.proto +8 -0
  52. package/@wix/ambassador-fedinfra-exportservice-v1-export-async-job/src/main/proto/wix/coupons/api/v1/response-status.proto +1 -0
  53. package/@wix/ambassador-fedinfra-exportservice-v1-export-async-job/src/main/proto/wix/coupons/api/v1/specification.proto +4 -0
  54. package/@wix/ambassador-fedinfra-exportservice-v1-export-async-job/src/main/proto/wix/coupons/api/v2/cart.proto +3 -0
  55. package/@wix/ambassador-fedinfra-exportservice-v1-export-async-job/src/main/proto/wix/coupons/api/v2/coupon.proto +2 -0
  56. package/@wix/ambassador-fedinfra-exportservice-v1-export-async-job/src/main/proto/wix/coupons/api/v2/couponAppliedEvent.proto +1 -0
  57. package/@wix/ambassador-fedinfra-exportservice-v1-export-async-job/src/main/proto/wix/coupons/api/v2/coupons-manager-ui.proto +5 -0
  58. package/@wix/ambassador-fedinfra-exportservice-v1-export-async-job/src/main/proto/wix/coupons/api/v2/coupons.proto +12 -0
  59. package/@wix/ambassador-fedinfra-exportservice-v1-export-async-job/src/main/proto/wix/coupons/api/v2/internal-coupons.proto +2 -0
  60. package/@wix/ambassador-fedinfra-exportservice-v1-export-async-job/src/main/proto/wix/coupons/api/v2/response-status.proto +1 -0
  61. package/@wix/ambassador-fedinfra-exportservice-v1-export-async-job/src/main/proto/wix/coupons/api/v2/scope.proto +1 -0
  62. package/@wix/ambassador-fedinfra-exportservice-v1-export-async-job/src/main/proto/wix/coupons/api/v2/specification.proto +1 -0
  63. package/@wix/ambassador-fedinfra-exportservice-v1-export-async-job/src/main/proto/wix/infra/asyncjobs/v1/AsyncJob.proto +132 -132
  64. package/@wix/ambassador-fedinfra-exportservice-v1-export-async-job/src/main/proto/wix/infra/asyncjobs/v1/AsyncJobItem.proto +14 -14
  65. package/@wix/ambassador-fedinfra-exportservice-v1-export-async-job/src/main/proto/wix/infra/asyncjobs/v1/AsyncJobService.proto +13 -13
  66. package/@wix/ambassador-fedinfra-exportservice-v1-export-async-job/src/main/proto/wix/infra/asyncjobs/v1/upstream/wix/common/paging.proto +17 -17
  67. package/@wix/ambassador-fedinfra-exportservice-v1-export-async-job/src/main/proto/wix/inventory/api/v1/inventory.proto +1 -1
  68. package/@wix/ambassador-fedinfra-exportservice-v1-export-async-job/src/main/proto/wix/inventory/api/v1/inventoryItem.proto +5 -6
  69. package/@wix/ambassador-fedinfra-exportservice-v1-export-async-job/src/main/proto/wix/inventory/api/v1/locationInventoryItem.proto +1 -1
  70. package/@wix/ambassador-fedinfra-exportservice-v1-export-async-job/src/main/proto/wix/inventory/api/v1/locationInventoryMessages.proto +1 -1
  71. package/@wix/ambassador-fedinfra-exportservice-v1-export-async-job/src/main/proto/wix/payment/api/pay/v2/paypal-payment-method.proto +3 -0
  72. package/@wix/ambassador-fedinfra-exportservice-v1-export-async-job/src/main/proto/wix/payment/api/pay/v2/resources/payment.proto +3 -0
  73. package/@wix/ambassador-fedinfra-exportservice-v1-export-async-job/src/main/proto/wix/spi/definitions.proto +2 -1
  74. package/@wix/ambassador-fedinfra-exportservice-v1-export-async-job/src/main/proto/wix/stores/catalog/provision/v1/provision.proto +9 -1
  75. package/@wix/ambassador-fedinfra-exportservice-v1-export-async-job/src/main/proto/wix/stores/catalog/provision/v1/provision_action_events.proto +15 -0
  76. package/@wix/ambassador-fedinfra-exportservice-v1-export-async-job/src/main/proto/wix/stores/catalog/provision/v1/stores_provision_service.proto +11 -26
  77. package/@wix/bex-bundled-mini-essentials/CHANGELOG.md +4 -0
  78. package/@wix/bex-bundled-mini-essentials/package.json +1 -1
  79. package/package.json +3 -3
  80. package/@wix/ambassador-fedinfra-exportservice-v1-export-async-job/src/main/proto/com/wix/site/properties/upstream/wix/common/address.proto +0 -38
  81. package/@wix/ambassador-fedinfra-exportservice-v1-export-async-job/src/main/proto/com/wixpress/html/cache/invalidate/InvalidateCache.proto +0 -46
  82. package/@wix/ambassador-fedinfra-exportservice-v1-export-async-job/src/main/proto/com/wixpress/html/cache/invalidate/InvalidateCacheInternal.proto +0 -25
  83. package/@wix/ambassador-fedinfra-exportservice-v1-export-async-job/src/main/proto/com/wixpress/html/cache/invalidate/InvalidateCacheService.proto +0 -80
  84. package/@wix/ambassador-fedinfra-exportservice-v1-export-async-job/src/main/proto/com/wixpress/html/cache/invalidate/v2/invalidate_cache.proto +0 -27
  85. package/@wix/ambassador-fedinfra-exportservice-v1-export-async-job/src/main/proto/com/wixpress/immigrator/tasks/api/generic/bulk_migration_service.proto +0 -34
  86. package/@wix/ambassador-fedinfra-exportservice-v1-export-async-job/src/main/proto/com/wixpress/immigrator/tasks/api/generic/single_migration_service.proto +0 -25
  87. package/@wix/ambassador-fedinfra-exportservice-v1-export-async-job/src/main/proto/com/wixpress/locations/backoffice-service.proto +0 -40
  88. package/@wix/ambassador-fedinfra-exportservice-v1-export-async-job/src/main/proto/com/wixpress/locations/location.proto +0 -155
  89. package/@wix/ambassador-fedinfra-exportservice-v1-export-async-job/src/main/proto/com/wixpress/locations/locations-service.proto +0 -484
  90. package/@wix/ambassador-fedinfra-exportservice-v1-export-async-job/src/main/proto/com/wixpress/locations/messaging-service.proto +0 -32
  91. package/@wix/ambassador-fedinfra-exportservice-v1-export-async-job/src/main/proto/com/wixpress/locations/pagination.proto +0 -22
  92. package/@wix/ambassador-fedinfra-exportservice-v1-export-async-job/src/main/proto/com/wixpress/siteproperties/api/v4/notifications.proto +0 -89
  93. package/@wix/ambassador-fedinfra-exportservice-v1-export-async-job/src/main/proto/com/wixpress/siteproperties/api/v4/properties-sections.proto +0 -23
  94. package/@wix/ambassador-fedinfra-exportservice-v1-export-async-job/src/main/proto/com/wixpress/siteproperties/api/v4/properties.proto +0 -213
  95. package/@wix/ambassador-fedinfra-exportservice-v1-export-async-job/src/main/proto/com/wixpress/siteproperties/api/v4/service.proto +0 -268
  96. package/@wix/ambassador-fedinfra-exportservice-v1-export-async-job/src/main/proto/identification2.proto +0 -165
  97. package/@wix/ambassador-fedinfra-exportservice-v1-export-async-job/src/main/proto/identity2.proto +0 -173
  98. package/@wix/ambassador-fedinfra-exportservice-v1-export-async-job/src/main/proto/identity_refresh.proto +0 -42
  99. package/@wix/ambassador-fedinfra-exportservice-v1-export-async-job/src/main/proto/wix/site/properties/v5/properties.proto +0 -155
  100. package/@wix/ambassador-fedinfra-exportservice-v1-export-async-job/src/main/proto/wix/site/properties/v5/site_properties_service.proto +0 -324
  101. package/@wix/ambassador-fedinfra-exportservice-v1-export-async-job/src/main/proto/wix/stores/catalog/location/v3/stores_location.proto +0 -90
  102. package/@wix/ambassador-fedinfra-exportservice-v1-export-async-job/src/main/proto/wix/stores/catalog/location/v3/stores_location_service.proto +0 -284
  103. package/@wix/ambassador-fedinfra-exportservice-v1-export-async-job/src/main/proto/wix/stores/catalog/location/v3/upstream/wix/common/paging.proto +0 -121
  104. package/@wix/ambassador-fedinfra-exportservice-v1-export-async-job/src/main/proto/wix/stores/catalog/location/v3/upstream/wix/common/sorting.proto +0 -26
  105. 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,324 +0,0 @@
1
- //flynt-disable renamed-field-breaking-change, deleted-field-enum-reserved
2
- syntax = "proto3";
3
-
4
- package wix.site.properties.v5;
5
- option java_package = "com.wixpress.site.properties.v5";
6
-
7
- import "com/wixpress/metasite/event/api/special.proto";
8
- import "google/api/annotations.proto";
9
- import "google/protobuf/field_mask.proto";
10
- import "google/protobuf/empty.proto";
11
- import "wix/api/annotations.proto";
12
- import "wix/api/permissions.proto";
13
- import "wix/api/subscription.proto";
14
- import "google/protobuf/wrappers.proto";
15
- import "wix/api/callback.proto";
16
- import "wix/api/entity.proto";
17
- import "wix/api/validations.proto";
18
- import "wix/http/field_mask.proto";
19
- import "wix/site/properties/v5/properties.proto";
20
- import "wix/api/api_errors.proto";
21
- import "wix/sdk/definitions.proto";
22
-
23
- /*
24
- Manages sites properties
25
- */
26
- service SitePropertiesService {
27
- option (.wix.api.service_maturity) = BETA;
28
- option (.wix.api.service_exposure) = PUBLIC;
29
- option (.wix.api.service_entity).message = "wix.site.properties.v5.Properties";
30
-
31
- /*
32
- Retrieves requested site properties.
33
- */
34
- rpc GetProperties (GetPropertiesRequest) returns (GetPropertiesResponse) {
35
- option (.wix.api.maturity) = ALPHA;
36
- option (.wix.api.exposure) = PUBLIC;
37
- option (google.api.http).get = "/v5/properties";
38
- option (wix.api.permission).name = "DEV_CENTER.BACK_OFFICE";
39
- }
40
-
41
- /*
42
- Updates the Properties object. Supports partial updates.
43
-
44
- Requires the latest `revision` for a successful update.
45
- */
46
- rpc UpdateProperties (UpdatePropertiesRequest) returns (UpdatePropertiesResponse) {
47
- option (.wix.api.maturity) = ALPHA;
48
- option (.wix.api.exposure) = INTERNAL;
49
- option (google.api.http).patch = "/v5/properties";
50
- option (.wix.api.required) = "UpdatePropertiesRequest.properties";
51
- option (.wix.api.required) = "UpdatePropertiesRequest.properties.revision";
52
- option (wix.api.permission).name = "SITE_PROPERTIES.UPDATE";
53
- option (.wix.api.callback) = {
54
- event_type: UPDATED
55
- };
56
- option (wix.http.infer_fieldmask) = {
57
- from: "properties"
58
- fieldmask: "mask"
59
- };
60
- option (.wix.api.crud) = {
61
- method: UPDATE
62
- update_options: {
63
- item_field: "properties"
64
- fieldmask_field: "mask"
65
- }
66
- };
67
- }
68
-
69
- /*
70
- Consumes meta-site-manager-special-no-provisioning-events for a meta site.
71
- */
72
- rpc ConsumeMetaSiteSpecialEvent (com.wixpress.metasite.event.api.MetaSiteSpecialEvent) returns (google.protobuf.Empty) {
73
- option (wix.api.exposure) = PRIVATE;
74
- option (wix.api.subscription) = {
75
- topic: "meta-site-manager-special-no-provisioning-events"
76
- segment: PUBLIC
77
- };
78
- option (wix.api.callback) = {
79
- event_type: CREATED
80
- };
81
- }
82
-
83
- /*
84
- Updates the primary language of the site properties.
85
- */
86
- rpc UpdatePrimaryLanguage (UpdatePrimaryLanguageRequest) returns (UpdatePrimaryLanguageResponse) {
87
- option (wix.api.exposure) = PRIVATE;
88
- option (google.api.http).patch = "/v5/properties/languages/primary-language";
89
- option (.wix.api.required) = "UpdatePrimaryLanguageRequest.language";
90
- option (.wix.api.required) = "UpdatePrimaryLanguageRequest.locale";
91
- option (.wix.api.required) = "UpdatePrimaryLanguageRequest.revision";
92
- option (wix.api.permission).name = "DEV_CENTER.BACK_OFFICE";
93
- option (.wix.api.callback) = {
94
- event_type: UPDATED
95
- };
96
- }
97
-
98
- /*
99
- Updates the additional languages of the site properties.
100
- */
101
- rpc UpdateAdditionalLanguages (UpdateAdditionalLanguagesRequest) returns (UpdateAdditionalLanguagesResponse) {
102
- option (wix.api.exposure) = PRIVATE;
103
- option (google.api.http).patch = "/v5/properties/languages/additional-languages";
104
- option (.wix.api.required) = "UpdateAdditionalLanguagesRequest.additional_languages";
105
- option (.wix.api.required) = "UpdateAdditionalLanguagesRequest.revision";
106
- option (wix.api.permission).name = "DEV_CENTER.BACK_OFFICE";
107
- option (.wix.api.callback) = {
108
- event_type: UPDATED
109
- };
110
- }
111
-
112
- // Updates a site's business profile.
113
- // flynt-disable missing-autovelo-def
114
- rpc UpdateBusinessProfile (UpdateBusinessProfileRequest) returns (UpdateBusinessProfileResponse) {
115
- option (google.api.http) = {
116
- post: "/v5/properties/business-profile"
117
- };
118
- option (.wix.api.maturity) = ALPHA;
119
- option (.wix.api.exposure) = PUBLIC;
120
- option (wix.api.permission).name = "SITE_PROPERTIES.UPDATE_BUSINESS_PROFILE";
121
- option (.wix.api.required) = "UpdateBusinessProfileRequest.revision";
122
- option (.wix.sdk.signature) = {
123
- params: "businessProfile"
124
- };
125
-
126
- option (.wix.api.error) = {
127
- http_code: UNAUTHENTICATED
128
- application_code: "META_SITE_NOT_FOUND"
129
- };
130
- };
131
-
132
- // Updates a site's business contact information.
133
- rpc UpdateBusinessContact (UpdateBusinessContactRequest) returns (UpdateBusinessContactResponse) {
134
- option (google.api.http) = {
135
- post: "/v5/properties/business-contact"
136
- };
137
- option (wix.api.permission).name = "SITE_PROPERTIES.UPDATE_BUSINESS_CONTACT";
138
- option (.wix.api.required) = "UpdateBusinessContactRequest.revision";
139
- option (.wix.api.maturity) = ALPHA;
140
- option (.wix.api.exposure) = PUBLIC;
141
- option (.wix.sdk.signature) = {
142
- params: "businessContact"
143
- };
144
-
145
- option (.wix.api.error) = {
146
- http_code: UNAUTHENTICATED
147
- application_code: "META_SITE_NOT_FOUND"
148
- };
149
- };
150
-
151
- // Updates a site's business schedule.
152
- rpc UpdateBusinessSchedule (UpdateBusinessScheduleRequest) returns (UpdateBusinessScheduleResponse) {
153
- option (google.api.http) = {
154
- post: "/v5/properties/business-schedule"
155
- };
156
- option (wix.api.permission).name = "SITE_PROPERTIES.UPDATE_BUSINESS_SCHEDULE";
157
- option (.wix.api.required) = "UpdateBusinessScheduleRequest.revision";
158
- option (.wix.api.maturity) = ALPHA;
159
- option (.wix.api.exposure) = PUBLIC;
160
- option (.wix.sdk.signature) = {
161
- params: "businessSchedule"
162
- };
163
-
164
- option (.wix.api.error) = {
165
- http_code: UNAUTHENTICATED
166
- application_code: "META_SITE_NOT_FOUND"
167
- };
168
- };
169
-
170
- // Updates a site's default consent policy.
171
- rpc UpdateConsentPolicy (UpdateConsentPolicyRequest) returns (UpdateConsentPolicyResponse) {
172
- option (google.api.http) = {
173
- post: "/v5/properties/policy"
174
- };
175
- option (wix.api.permission).name = "SITE_PROPERTIES.UPDATE_CONSENT_POLICY";
176
- option (.wix.api.required) = "UpdateConsentPolicyRequest.revision";
177
- option (.wix.api.maturity) = ALPHA;
178
- option (.wix.api.exposure) = PUBLIC;
179
- option (.wix.sdk.signature) = {
180
- params: "consentPolicy"
181
- };
182
-
183
- option (.wix.api.error) = {
184
- http_code: UNAUTHENTICATED
185
- application_code: "META_SITE_NOT_FOUND"
186
- };
187
- };
188
-
189
- /**
190
- Get the site properties of the listed meta site Id's
191
- */
192
- rpc GetPropertiesForMetaSitesIds (GetPropertiesForMetaSitesIdsRequest) returns (GetPropertiesForMetaSitesIdsResponse) {
193
- option (wix.api.exposure) = PRIVATE;
194
- option (google.api.http).get = "/v5/properties-for-meta-sites";
195
- option (.wix.api.required) = "GetPropertiesForMetaSitesIdsRequest.meta_site_ids";
196
- option (wix.api.permission).name = "DEV_CENTER.BACK_OFFICE";
197
- }
198
- }
199
-
200
- message GetPropertiesRequest {
201
- /*
202
- List of fields to return.
203
-
204
- If omitted, all fields are returned.
205
-
206
- Max size: 12
207
-
208
- Supported values for `fields`:
209
- - `SITE_DISPLAY_NAME`
210
- - `PAYMENT_CURRENCY`
211
- - `LANGUAGES`
212
- - `PRIMARY_LOCATION`
213
- - `CATEGORIES`
214
- - `BUSINESS_NAME`
215
- - `LOGO`
216
- - `DESCRIPTION`
217
- - `CONSENT_POLICY`
218
- - `BUSINESS_CONFIG`
219
- - `EXTERNAL_SITE_URL`
220
- - `TRACK_CLICKS_ANALYTICS`
221
-
222
- */
223
- repeated RequestedFields fields = 1 [(.wix.api.maxSize) = 12];
224
- }
225
-
226
- message GetPropertiesResponse {
227
- Properties properties = 1; // The requested properties.
228
- }
229
-
230
- enum RequestedFields {
231
- UNKNOWN_REQUESTED_FIELD = 0 [(.wix.api.enum_maturity) = NOT_IMPLEMENTED];
232
- SITE_DISPLAY_NAME = 1;
233
- PAYMENT_CURRENCY = 2;
234
- LANGUAGES = 3;
235
- PRIMARY_LOCATION = 4;
236
- CATEGORIES = 5;
237
- BUSINESS_NAME = 6;
238
- LOGO = 7;
239
- DESCRIPTION = 8;
240
- CONSENT_POLICY = 9;
241
- BUSINESS_CONFIG = 10;
242
- EXTERNAL_SITE_URL = 11;
243
- TRACK_CLICKS_ANALYTICS = 12;
244
- }
245
-
246
- message UpdatePropertiesRequest {
247
- Properties properties = 1; // Properties to update, may be partial.
248
- google.protobuf.FieldMask mask = 2; // Explicit list of fields to update.
249
- }
250
-
251
- message UpdatePropertiesResponse {
252
- Properties properties = 1; // The updated Properties.
253
- }
254
-
255
- message UpdatePrimaryLanguageRequest {
256
- string language = 1 [(wix.api.format) = LANGUAGE]; // The language to be updated.
257
- string locale = 2 [(wix.api.format) = LANGUAGE_TAG]; // The locale to be updated.
258
- google.protobuf.Int64Value revision = 3; // Represents the current state of an item.
259
- }
260
-
261
- message UpdatePrimaryLanguageResponse {
262
- Properties properties = 1; // The updated Properties.
263
- }
264
-
265
- message UpdateAdditionalLanguagesRequest {
266
- repeated string additional_languages = 1 [(wix.api.format) = LANGUAGE_TAG, (.wix.api.maxSize) = 200]; // The additional languages to be updated. Max size: 200
267
- google.protobuf.Int64Value revision = 2; // Represents the current state of an item.
268
- }
269
-
270
- message UpdateAdditionalLanguagesResponse {
271
- Properties properties = 1; // The updated Properties.
272
- }
273
-
274
- message GetPropertiesForMetaSitesIdsRequest {
275
- repeated string meta_site_ids = 1 [(wix.api.format) = GUID, (.wix.api.maxSize) = 1000]; // Meta sites IDs to get their site properties. Max size: 1000
276
- }
277
-
278
- message GetPropertiesForMetaSitesIdsResponse {
279
- map<string,Properties> sites_properties_map = 1 [(.wix.api.maxSize) = 1000]; // A mapping of each ID to its corresponding site properties. Max size: 1000
280
- }
281
-
282
-
283
- enum OriginatedFrom {
284
- UNKNOWN_TYPE = 0 [(.wix.api.enum_maturity) = NOT_IMPLEMENTED];
285
- DUPLICATE = 1;
286
- TEMPLATE = 2;
287
- }
288
-
289
- message AdditionalDataForLocations {
290
- OriginatedFrom originated_from = 1;
291
- string origin_id = 2 [(wix.api.format) = GUID];
292
- }
293
-
294
- message UpdateBusinessProfileRequest {
295
- BusinessProfileData business_profile = 1; // The site's business profile.
296
- google.protobuf.FieldMask fields = 2; // The properties of `businessProfile` to be updated. Properties not explicitly specified here are ignored. Properties included here but excluded from `businessProfile` are cleared.
297
- google.protobuf.Int64Value revision = 3; // Represents the current state of an item.
298
- }
299
-
300
- message UpdateBusinessProfileResponse {}
301
-
302
- message UpdateBusinessContactRequest {
303
- BusinessContactData business_contact = 1; // The site's business contact information.
304
- google.protobuf.FieldMask fields = 2; // The properties of `businessContact` to be updated. Properties not explicitly specified here are ignored. Properties included here but excluded from `businessContact` are cleared.
305
- google.protobuf.Int64Value revision = 3; // Represents the current state of an item.
306
- }
307
-
308
- message UpdateBusinessContactResponse {}
309
-
310
- message UpdateBusinessScheduleRequest {
311
- BusinessSchedule business_schedule = 1; // The site's business schedule in the site time zone.
312
- google.protobuf.Int64Value revision = 2; // Represents the current state of an item.
313
- }
314
-
315
- message UpdateBusinessScheduleResponse {}
316
-
317
- // The request used to update site's default consent policy
318
- message UpdateConsentPolicyRequest {
319
- ConsentPolicy consent_policy = 1; // Default consent policy defined by the site owner. Can be further limited by site visitors.
320
- google.protobuf.Int64Value revision = 2; // Represents the current state of an item.
321
- }
322
-
323
- message UpdateConsentPolicyResponse {}
324
-
@@ -1,90 +0,0 @@
1
- syntax = "proto3";
2
-
3
- package wix.stores.catalog.location.v3;
4
- option java_package = "com.wixpress.stores.catalog.location.v3";
5
-
6
- import "wix/api/validations.proto";
7
- import "wix/api/entity.proto";
8
- import "wix/api/annotations.proto";
9
- import "google/protobuf/wrappers.proto";
10
- import "google/protobuf/timestamp.proto";
11
- import "wix/common/data/dataextensions/extended-fields.proto";
12
-
13
- /**
14
- A location is a physical or virtual site where products are sold.
15
- */
16
- message StoresLocation {
17
- //flynt-disable missing-extensible
18
- option (wix.api.entity) = {
19
- fqdn: "wix.stores.catalog.v3.stores_location"
20
- app_def_id: "215238eb-22a5-4c36-9e7b-e7c08025e04e"
21
- appendix_files: {
22
- type: AUTO_VELO
23
- path: "appendices/velo"
24
- };
25
- appendix_files: {
26
- type: MULTILINGUAL
27
- path: "appendices/multilingual"
28
- };
29
- appendix_files: {
30
- type: DOCS_CONF
31
- path: "appendices/docs"
32
- };
33
- segment: PUBLIC
34
- domain_events_read_permission: "WIX_STORES.STORES_LOCATION_READ"
35
- };
36
- option (.wix.api.domain_event) = {
37
- event_type: CREATED
38
- };
39
- option (.wix.api.domain_event) = {
40
- event_type: UPDATED
41
- };
42
- option (.wix.api.domain_event) = {
43
- event_type: DELETED
44
- };
45
-
46
- // Stores location ID.
47
- google.protobuf.StringValue id = 1 [(wix.api.format) = GUID, (wix.api.readOnly) = true];
48
-
49
- /**
50
- Revision number, which increments by 1 each time the Stores location is updated.
51
- To prevent conflicting changes,
52
- the current revision must be passed when updating the Stores location.
53
-
54
- Ignored when creating a Stores location.
55
- */
56
- google.protobuf.Int64Value revision = 2 [(wix.api.readOnly) = true];
57
-
58
- // Date and time the Stores location was created.
59
- google.protobuf.Timestamp created_date = 3 [(wix.api.readOnly) = true];
60
-
61
- // Date and time the Stores location was last updated.
62
- google.protobuf.Timestamp updated_date = 4 [(wix.api.readOnly) = true];
63
-
64
- // Wix location ID.
65
- // Learn more about the [Locations API](https://dev.wix.com/docs/rest/business-management/locations/introduction).
66
- google.protobuf.StringValue wix_location_id = 5 [(.wix.api.format) = GUID, (.wix.api.immutable) = true, (.wix.api.referenced_entity) = "wix.locations.v1.location"];
67
-
68
- // Location type.
69
- //
70
- // + `VIRTUAL`: Online store.
71
- // + `PHYSICAL`: Physical location. For example, for POS.
72
- LocationType location_type = 6 [(.wix.api.readOnly) = true];
73
-
74
- // Stores location name.
75
- string name = 7 [(.wix.api.readOnly) = true, (wix.api.minLength) = 1, (wix.api.maxLength) = 150];
76
-
77
- // Whether the location is the site's default location.
78
- bool default_location = 8;
79
-
80
- enum LocationType {
81
- UNKNOWN_LOCATION_TYPE = 0 [(.wix.api.enum_maturity) = NOT_IMPLEMENTED];
82
- // Online stores location.
83
- VIRTUAL = 1;
84
- // Physical location like POS
85
- PHYSICAL = 2;
86
- }
87
-
88
- }
89
-
90
-
@@ -1,284 +0,0 @@
1
- syntax = "proto3";
2
-
3
- package wix.stores.catalog.location.v3;
4
- option java_package = "com.wixpress.stores.catalog.location.v3";
5
-
6
- import "google/api/annotations.proto";
7
- import "google/protobuf/field_mask.proto";
8
- import "wix/api/annotations.proto";
9
- import "com/wixpress/html/cache/invalidate/InvalidateCache.proto";
10
- import "wix/api/callback.proto";
11
- import "wix/api/entity.proto";
12
- import "wix/api/permissions.proto";
13
- import "wix/api/validations.proto";
14
- import "wix/api/subscription.proto";
15
- import "wix/http/field_mask.proto";
16
- import "wix/stores/catalog/location/v3/upstream/wix/common/paging.proto";
17
- import "wix/stores/catalog/location/v3/upstream/wix/query/query.proto";
18
- import "wix/stores/catalog/location/v3/stores_location.proto";
19
- import "wix/common/domainevents/domainevents.proto";
20
- import "google/protobuf/empty.proto";
21
- import "com/wixpress/locations/location.proto";
22
- import "wix/api/api_errors.proto";
23
-
24
- /**
25
- Manages StoresLocations
26
- */
27
- service StoresLocationService {
28
- option (wix.api.service_maturity) = BETA;
29
- option (wix.api.service_exposure) = PUBLIC;
30
- option (wix.api.service_entity).message = "wix.stores.catalog.location.v3.StoresLocation";
31
- option (.wix.api.event) = {
32
- segment: PUBLIC
33
- exposure: PRIVATE
34
- topic: "invalidate-ssr-cache"
35
- payload: ".com.wixpress.html.cache.invalidate.InvalidateCache"
36
- };
37
-
38
- /**
39
- Creates a Stores location.
40
- */
41
- rpc CreateStoresLocation (CreateStoresLocationRequest) returns (CreateStoresLocationResponse) {
42
- option (google.api.http).post = "/v3/locations";
43
- option (wix.api.permission).name = "WIX_STORES.STORES_LOCATION_CREATE";
44
- option (wix.api.required) = "CreateStoresLocationRequest.stores_location";
45
- option (wix.api.required) = "CreateStoresLocationRequest.stores_location.name";
46
- option (wix.api.exposure) = PRIVATE;
47
- option (wix.api.crud) = {
48
- method: CREATE
49
- create_options: {
50
- item_field: "stores_location"
51
- }
52
- };
53
- // Triggered when a Stores location is created.
54
- option (.wix.api.emits) = {
55
- event_type: CREATED
56
- };
57
- option (.wix.api.custom_validation_error) = {
58
- rule_name: "LOCATIONS_LIMIT_EXCEEDED"
59
- };
60
- }
61
-
62
- /**
63
- Retrieves a Stores location.
64
- */
65
- rpc GetStoresLocation (GetStoresLocationRequest) returns (GetStoresLocationResponse) {
66
- option (google.api.http).get = "/v3/locations/{stores_location_id}";
67
- option (wix.api.permission).name = "WIX_STORES.STORES_LOCATION_READ";
68
- option (wix.api.required) = "GetStoresLocationRequest.stores_location_id";
69
- option (wix.api.crud) = {
70
- method: GET_ITEM
71
- get_options: {
72
- id_field: "stores_location_id"
73
- }
74
- };
75
- }
76
-
77
- /**
78
- Updates a Stores location.
79
-
80
- Each time the Stores location is updated, `revision` increments by 1.
81
- The current `revision` must be passed when updating the Stores location.
82
- This ensures you're working with the latest Stores location and prevents unintended overwrites.
83
- */
84
- rpc UpdateStoresLocation (UpdateStoresLocationRequest) returns (UpdateStoresLocationResponse) {
85
- option (google.api.http).patch = "/v3/locations/{stores_location.id}";
86
- option (wix.api.permission).name = "WIX_STORES.STORES_LOCATION_UPDATE";
87
- option (wix.api.required) = "UpdateStoresLocationRequest.stores_location";
88
- option (wix.api.required) = "UpdateStoresLocationRequest.stores_location.id";
89
- option (wix.api.required) = "UpdateStoresLocationRequest.stores_location.revision";
90
- option (wix.api.exposure) = PRIVATE;
91
- option (wix.http.infer_fieldmask) = {
92
- from: "stores_location"
93
- fieldmask: "field_mask"
94
- };
95
- option (wix.api.crud) = {
96
- method: UPDATE
97
- update_options: {
98
- item_field: "stores_location"
99
- fieldmask_field: "field_mask"
100
- }
101
- };
102
- // Triggered when a Stores location is updated.
103
- option (.wix.api.emits) = {
104
- event_type: UPDATED
105
- };
106
- }
107
-
108
- /**
109
- Deletes a Stores location.
110
- */
111
- rpc DeleteStoresLocation (DeleteStoresLocationRequest) returns (DeleteStoresLocationResponse) {
112
- option (google.api.http).delete = "/v3/locations/{stores_location_id}";
113
- option (wix.api.permission).name = "WIX_STORES.STORES_LOCATION_DELETE";
114
- option (wix.api.required) = "DeleteStoresLocationRequest.stores_location_id";
115
- option (wix.api.exposure) = PRIVATE;
116
- option (wix.api.crud) = {
117
- method: DELETE
118
- delete_options: {
119
- id_field: "stores_location_id"
120
- }
121
- };
122
- // Triggered when a Stores location is deleted.
123
- option (.wix.api.emits) = {
124
- event_type: DELETED
125
- };
126
- }
127
-
128
- /**
129
- Retrieves a list of StoresLocations, given the provided [paging, filtering, and sorting][1].
130
-
131
- Up to 1,000 StoresLocations can be returned per request.
132
-
133
- To learn how to query StoresLocations, see [API Query Language][2].
134
-
135
- [1]: https://dev.wix.com/api/rest/getting-started/sorting-and-paging
136
- [2]: https://dev.wix.com/api/rest/getting-started/api-query-language
137
-
138
-
139
- Notice, not all sits locations will be fetched, only the ones that are assigned as inventory locations
140
- */
141
-
142
- /**
143
- Retrieves a list of up to 100 Stores locations, given the provided filtering, sorting, and cursor paging.
144
- Pass supported values to the `fields` array in the request to include those fields in the response.
145
-
146
-
147
- Query Stores Locations runs with these defaults, which you can override:
148
-
149
- - `createdDate` is sorted in `DESC` order
150
- - `cursorPaging.limit` is `100`
151
-
152
- For field support for filters and sorting,
153
- see [Stores Locations: Supported Filters and Sorting](https://dev.wix.com/docs/rest/business-solutions/stores/catalog-v3/stores-locations-v3/supported-filters-and-sorting).
154
-
155
- To learn about working with _Query_ endpoints, see
156
- [API Query Language](https://dev.wix.com/docs/rest/articles/getting-started/api-query-language),
157
- and [Sorting and Paging](https://dev.wix.com/docs/rest/articles/getting-started/sorting-and-paging).
158
- */
159
- rpc QueryStoresLocations (QueryStoresLocationsRequest) returns (QueryStoresLocationsResponse) {
160
- option (google.api.http).post = "/v3/locations/query";
161
- option (wix.api.permission).name = "WIX_STORES.STORES_LOCATION_READ";
162
- option (wix.api.crud) = {
163
- method: QUERY
164
- query_options: {
165
- items_field: 'stores_locations'
166
- wql: {
167
- pattern: {
168
- field: "id"
169
- field: "wix_location_id"
170
- operator: ALL_APPLICABLE_OPERATORS
171
- sort: NONE
172
- }
173
- pattern: {
174
- operator: ALL_APPLICABLE_OPERATORS
175
- sort: BOTH
176
- field: "created_date"
177
- field: "updated_date"
178
- field: "location_type"
179
- field: "name"
180
- field: "default_location"
181
- }
182
- }
183
- }
184
- };
185
- }
186
-
187
- /*
188
- Retrieves the default inventory location, or creates it if it doesn't exist.
189
- */
190
- rpc GetOrCreateDefaultStoresLocation (GetOrCreateDefaultStoresLocationRequest) returns (GetOrCreateDefaultStoresLocationResponse) {
191
- option (.wix.api.permission).name = "WIX_STORES.STORES_LOCATION_GET_OR_CREATE";
192
- option (wix.api.exposure) = PRIVATE;
193
- option (google.api.http) = {
194
- post: "/v3/locations/get-or-create-default-stores-location"
195
- };
196
- }
197
-
198
- /*
199
- Consume OS Location events.
200
- eventType: wix.locations.v1.location_location-archive-status
201
- */
202
- rpc ConsumeOSLocationEvents (.wix.common.domainevents.DomainEvent) returns (google.protobuf.Empty) {
203
- option (.wix.api.subscription) = {
204
- entity: "com.wixpress.locations.Location"
205
- };
206
- option (.wix.api.exposure) = PRIVATE;
207
- }
208
-
209
- /*
210
- Consume stores location events.
211
- */
212
- rpc ConsumeStoresLocationEvents (.wix.common.domainevents.DomainEvent) returns (google.protobuf.Empty) {
213
- option (.wix.api.exposure) = PRIVATE;
214
- option (.wix.api.subscription) = {
215
- entity: ".wix.stores.catalog.location.v3.StoresLocation"
216
- };
217
- }
218
- }
219
-
220
- message CreateStoresLocationRequest {
221
- // Stores location to create.
222
- StoresLocation stores_location = 1;
223
- }
224
-
225
- message CreateStoresLocationResponse {
226
- // Created Stores location.
227
- StoresLocation stores_location = 1;
228
- }
229
-
230
- message GetStoresLocationRequest {
231
- // Stores location ID.
232
- string stores_location_id = 1 [(wix.api.format) = GUID];
233
- }
234
-
235
- message GetStoresLocationResponse {
236
- // Stores location.
237
- StoresLocation stores_location = 1;
238
- }
239
-
240
- message UpdateStoresLocationRequest {
241
- // Stores location to update.
242
- StoresLocation stores_location = 1;
243
-
244
- /*
245
- Set of fields to update.
246
-
247
- Fields that aren't included in `fieldMask.paths` are ignored.
248
- */
249
- google.protobuf.FieldMask field_mask = 2;
250
- }
251
-
252
- message UpdateStoresLocationResponse {
253
- // Updated Stores location.
254
- StoresLocation stores_location = 1;
255
- }
256
-
257
- message DeleteStoresLocationRequest {
258
- // Stores location ID.
259
- string stores_location_id = 1 [(wix.api.format) = GUID];
260
- }
261
-
262
- message DeleteStoresLocationResponse {
263
- }
264
-
265
- message QueryStoresLocationsRequest {
266
- // Query options.
267
- wix.stores.catalog.location.v3.upstream.wix.query.CursorQuery query = 1;
268
- }
269
-
270
- message QueryStoresLocationsResponse {
271
- // List of Stores locations.
272
- repeated StoresLocation stores_locations = 1 [(.wix.api.minSize) = 1, (.wix.api.maxSize) = 100];
273
-
274
- // Details on the paged set of results returned.
275
- wix.stores.catalog.location.v3.upstream.wix.common.CursorPagingMetadata paging_metadata = 2;
276
- }
277
-
278
- message GetOrCreateDefaultStoresLocationRequest {
279
- }
280
-
281
- message GetOrCreateDefaultStoresLocationResponse {
282
- // Default Stores location.
283
- StoresLocation stores_location = 1;
284
- }