@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
@@ -12,22 +12,22 @@ import "wix/api/entity.proto";
12
12
 
13
13
 
14
14
  message AsyncJobItem {
15
- option (wix.api.entity) = {
16
- fqdn: "wix.infra.asyncjobs.v1.async_job_item",
17
- segment: USERS
18
- };
19
- // Job item ID.
20
- string id = 1 [(wix.api.format) = GUID, (wix.api.readOnly) = true];
15
+ option (wix.api.entity) = {
16
+ fqdn: "wix.infra.asyncjobs.v1.async_job_item",
17
+ segment: USERS
18
+ };
19
+ // Job item ID.
20
+ string id = 1 [(wix.api.format) = GUID, (wix.api.readOnly) = true];
21
21
 
22
- // Job item data, as passed by the originating service.
23
- google.protobuf.Struct data = 2;
22
+ // Job item data, as passed by the originating service.
23
+ google.protobuf.Struct data = 2;
24
24
 
25
- // ID of the entity being processed, as passed by the originating service.
26
- google.protobuf.StringValue entity_id = 3 [(wix.api.minLength) = 1, (wix.api.maxLength) = 32, (wix.api.immutable) = true];
25
+ // ID of the entity being processed, as passed by the originating service.
26
+ google.protobuf.StringValue entity_id = 3 [(wix.api.minLength) = 1, (wix.api.maxLength) = 32, (wix.api.immutable) = true];
27
27
 
28
- // Whether the job item was processed successfully.
29
- bool success = 4 [(wix.api.readOnly) = true];
28
+ // Whether the job item was processed successfully.
29
+ bool success = 4 [(wix.api.readOnly) = true];
30
30
 
31
- // Error that prevented the item from being processed, if relevant.
32
- wix.api.ApplicationError error = 5 [(wix.api.immutable) = true];
31
+ // Error that prevented the item from being processed, if relevant.
32
+ wix.api.ApplicationError error = 5 [(wix.api.immutable) = true];
33
33
  }
@@ -90,7 +90,7 @@ service AsyncJobService {
90
90
  type: MANUAL
91
91
  };
92
92
 
93
- option (wix.api.maturity) = BETA;
93
+ option (wix.api.maturity) = GA;
94
94
  option (wix.api.exposure) = PUBLIC;
95
95
  option (wix.api.required) = "GetAsyncJobRequest.job_id";
96
96
  }
@@ -119,7 +119,7 @@ service AsyncJobService {
119
119
  event_type: UPDATED
120
120
  };
121
121
 
122
- option (wix.api.maturity) = BETA;
122
+ option (wix.api.maturity) = GA;
123
123
  option (wix.api.exposure) = INTERNAL;
124
124
  option (wix.api.required) = "UpdateAsyncJobRequest.job.id";
125
125
  option (wix.http.infer_fieldmask) = {
@@ -150,7 +150,7 @@ service AsyncJobService {
150
150
  event_type: DELETED
151
151
  };
152
152
 
153
- option (wix.api.maturity) = BETA;
153
+ option (wix.api.maturity) = GA;
154
154
  option (wix.api.exposure) = INTERNAL;
155
155
  option (wix.api.required) = "DeleteAsyncJobRequest.job_id";
156
156
  }
@@ -166,7 +166,7 @@ service AsyncJobService {
166
166
  type: MANUAL
167
167
  };
168
168
 
169
- option (wix.api.maturity) = BETA;
169
+ option (wix.api.maturity) = GA;
170
170
  option (wix.api.exposure) = INTERNAL;
171
171
  option (wix.api.required) = "CompleteAsyncJobRequest.job_id";
172
172
  }
@@ -202,7 +202,7 @@ service AsyncJobService {
202
202
  option (wix.api.required) = "ListAsyncJobItemsRequest.job_id";
203
203
 
204
204
 
205
- option (wix.api.maturity) = BETA;
205
+ option (wix.api.maturity) = GA;
206
206
  option (wix.api.exposure) = PUBLIC;
207
207
  }
208
208
 
@@ -271,18 +271,18 @@ message ListAsyncJobItemsRequest {
271
271
  */
272
272
  google.protobuf.BoolValue has_error = 3 [(wix.api.field_exposure) = INTERNAL,
273
273
  deprecated = true, (wix.api.field_deprecated) = {
274
- replaced_by: "wix.infra.asyncjobs.v1.ListAsyncJobItemsRequest.status_filter"
275
- target_removal_date: "2024-12-12",
276
- }];
274
+ replaced_by: "wix.infra.asyncjobs.v1.ListAsyncJobItemsRequest.status_filter"
275
+ target_removal_date: "2024-12-12",
276
+ }];
277
277
  // async job item status filter.
278
278
  StatusFilter status_filter = 4;
279
279
 
280
280
  enum StatusFilter {
281
- // return all items.
281
+ // Return all items.
282
282
  ALL = 0;
283
- // return only failed items.
283
+ // Return only failed items.
284
284
  FAILED_ONLY = 1;
285
- // return only successful items.
285
+ // Return only successful items.
286
286
  SUCCESSFUL_ONLY = 2;
287
287
  }
288
288
  }
@@ -303,8 +303,8 @@ message CompleteAsyncJobRequest {
303
303
 
304
304
  enum CompleteStatus {
305
305
  // Job is finished.
306
- FINISHED = 0; // default behaviour
307
- // Job is failed.
306
+ FINISHED = 0;
307
+ // Job has failed.
308
308
  FAILED = 1;
309
309
  }
310
310
  }
@@ -13,24 +13,24 @@ option java_package = "com.wixpress.infra.asyncinfra.asyncjobservice.v1.upstream
13
13
 
14
14
 
15
15
  message PagingMetadataV2 {
16
- option (.wix.api.decomposite_of) = "wix.common.PagingMetadataV2";
17
- // Number of items returned in the response.
18
- google.protobuf.Int32Value count = 1;
19
- // Cursors to navigate through the result pages using `next` and `prev`. Returned if cursor paging is used.
20
- Cursors cursors = 5;
21
- // Indicates if there are more results after the current page.
22
- // If `true`, another page of results can be retrieved.
23
- // If `false`, this is the last page.
24
- google.protobuf.BoolValue has_next = 6 [(.wix.api.field_exposure) = PRIVATE];
16
+ option (.wix.api.decomposite_of) = "wix.common.PagingMetadataV2";
17
+ // Number of items returned in the response.
18
+ google.protobuf.Int32Value count = 1;
19
+ // Cursors to navigate through the result pages using `next` and `prev`. Returned if cursor paging is used.
20
+ Cursors cursors = 5;
21
+ // Indicates if there are more results after the current page.
22
+ // If `true`, another page of results can be retrieved.
23
+ // If `false`, this is the last page.
24
+ google.protobuf.BoolValue has_next = 6 [(.wix.api.field_exposure) = PRIVATE];
25
25
  }
26
26
 
27
27
  message Cursors {
28
- option (.wix.api.decomposite_of) = "wix.common.Cursors";
29
- option (.wix.api.decomposition_minimum_fields) = {
30
- field: "next"
31
- };
32
- // Cursor pointing to next page in the list of results.
33
- google.protobuf.StringValue next = 1 [(.wix.api.maxLength) = 16000];
34
- // Cursor pointing to previous page in the list of results.
35
- google.protobuf.StringValue prev = 2 [(.wix.api.maxLength) = 16000];
28
+ option (.wix.api.decomposite_of) = "wix.common.Cursors";
29
+ option (.wix.api.decomposition_minimum_fields) = {
30
+ field: "next"
31
+ };
32
+ // Cursor pointing to next page in the list of results.
33
+ google.protobuf.StringValue next = 1 [(.wix.api.maxLength) = 16000];
34
+ // Cursor pointing to previous page in the list of results.
35
+ google.protobuf.StringValue prev = 2 [(.wix.api.maxLength) = 16000];
36
36
  }
@@ -178,7 +178,7 @@ message UpdateInventoryVariantsResponse {
178
178
  }
179
179
 
180
180
  message BulkUpdateInventoryVariantsRequest {
181
- // Variants filter. See documentation [here](https://bo.wix.com/wix-docs/rnd/platformization-guidelines/api-query-language#platformization-guidelines_api-query-language_defining-in-protobuf)
181
+ // Variants filter. Learn more about [API query language](https://dev.wix.com/docs/rest/articles/getting-started/api-query-language).
182
182
  google.protobuf.Struct filter = 1;
183
183
  oneof action {
184
184
  // Change availability.
@@ -80,10 +80,10 @@ message DecrementData {
80
80
 
81
81
  message ReasonTypeWrapper {
82
82
  enum ReasonType {
83
- UNKNOWN = 0;
84
- ORDER = 1;
85
- MANUAL = 2;
86
- REVERT_INVENTORY_CHANGE = 3;
83
+ UNKNOWN = 0; // Unknown reason.
84
+ ORDER = 1; // Order related.
85
+ MANUAL = 2; // Manual adjustment.
86
+ REVERT_INVENTORY_CHANGE = 3; // Reverting an inventory change.
87
87
  }
88
88
  }
89
89
 
@@ -98,5 +98,4 @@ message IncrementData {
98
98
  string variant_id = 3 [(wix.api.format) = GUID];
99
99
  // Number to increment inventory by.
100
100
  int32 increment_by = 4 [(wix.api.min) = 1];
101
- }
102
-
101
+ }
@@ -64,7 +64,7 @@ message LocationInventoryVariant {
64
64
  bool in_stock = 3;
65
65
 
66
66
  // Quantity currently left in inventory.
67
- .google.protobuf.Int32Value quantity = 4 [(.wix.api.min) = 0];
67
+ .google.protobuf.Int32Value quantity = 4;
68
68
 
69
69
  // Whether quantity is being tracked.
70
70
  bool track_quantity = 5;
@@ -209,4 +209,4 @@ message BulkWriteLocationInventoryRequest {
209
209
  }
210
210
  }
211
211
 
212
- message BulkWriteLocationInventoryResponse {}
212
+ message BulkWriteLocationInventoryResponse {};
@@ -131,6 +131,9 @@ message GetPaymentDetailsRequest {
131
131
 
132
132
  // Cashier charge id
133
133
  google.protobuf.StringValue charge_id = 3 [(wix.api.format) = GUID];
134
+
135
+ // Cashier order id
136
+ google.protobuf.StringValue cashier_order_id = 4 [(wix.api.format) = GUID];
134
137
  }
135
138
 
136
139
  message PaymentDetailsResponse {
@@ -85,6 +85,9 @@ message PaymentDetails {
85
85
  // payment is finalized
86
86
  bool confirmed = 112;
87
87
 
88
+ // Cashier charge id
89
+ google.protobuf.StringValue charge_id = 113 [(wix.api.format) = GUID];
90
+
88
91
  oneof payment_method_details {
89
92
  // payment with a card online
90
93
  CardPayment card = 201;
@@ -165,10 +165,11 @@ message Service {
165
165
  message ServiceAppendix {
166
166
  enum Type {
167
167
  UNKNOWN_APPENDIX_TYPE = 0;
168
- AUTO_VELO = 1; // auto velo configuration
168
+ AUTO_VELO = 1 [deprecated = true]; // auto velo configuration
169
169
  DOCS_CONF = 2; // wix docs configuration: `documentation.yaml`
170
170
  MULTILINGUAL = 3; // wix multilingual configuration
171
171
  SEARCH = 4; // nile search configuration
172
+ AUTO_SDK = 5; // auto sdk configuration
172
173
  }
173
174
  required Type type = 1; // appendix type
174
175
  required string path = 2; // absolute from module root
@@ -41,6 +41,7 @@ message Provision {
41
41
  path: "appendices/docs"
42
42
  }
43
43
  segment: PUBLIC
44
+ domain_events_read_permission: "CATALOG.PROVISION_READ"
44
45
  };
45
46
 
46
47
  // Provision ID.
@@ -62,11 +63,18 @@ message Provision {
62
63
 
63
64
  // Version of the catalog this store was provisioned on. DO NOT USE unless part of the install flow
64
65
  Version catalog_version = 5;
66
+
67
+ option (.wix.api.domain_event) = {
68
+ event_type: ACTION
69
+ action_message_fqn: "wix.stores.catalog.provision.v1.StoresV3CatalogProvisioned"
70
+ };
65
71
 
66
72
  }
67
73
 
68
74
  enum Version {
69
75
  reserved 1;
76
+ // Version 1 of the catalog.
70
77
  V1_CATALOG = 0;
78
+ // Version 3 of the catalog.
71
79
  V3_CATALOG = 2;
72
- }
80
+ }
@@ -0,0 +1,15 @@
1
+ syntax = "proto3";
2
+
3
+ package wix.stores.catalog.provision.v1;
4
+
5
+ import "wix/api/action_payload.proto";
6
+ import "wix/api/validations.proto";
7
+ import "wix/api/annotations.proto";
8
+
9
+ message StoresV3CatalogProvisioned {
10
+ option (.wix.api.action_payload).custom_slug = "provision/v3/clone";
11
+ // instance id of stores app (AppDefId: 215238eb-22a5-4c36-9e7b-e7c08025e04e)
12
+ string store_id = 1 [(.wix.api.format) = GUID];
13
+ // instance id of the store to be cloned from
14
+ string origin_store_id = 2 [(.wix.api.format) = GUID];
15
+ }
@@ -56,38 +56,20 @@ service StoresProvisionService {
56
56
  option (.wix.api.exposure) = PRIVATE;
57
57
  }
58
58
 
59
- // When stores is installed, add domestic and international delivery regions with free shipping
60
- rpc SetupDefaultDeliveryProfile (DefaultDeliveryProfileSetup) returns (google.protobuf.Empty) {
61
- option (.wix.api.subscription) = {
62
- topic: "stores-default-delivery-profile-setup"
63
- segment: USERS
64
- };
65
- option (.wix.api.exposure) = PRIVATE;
66
- option (.wix.api.error) = {
67
- http_code: INTERNAL,
68
- application_code: "DELIVERY_PROFILE_NOT_FOUND"
69
- };
70
- option (.wix.api.error) = {
71
- http_code: INTERNAL,
72
- application_code: "DELIVERY_REGION_NOT_FOUND"
73
- };
74
- option (.wix.api.error) = {
75
- http_code: FAILED_PRECONDITION,
76
- application_code: "METASITE_NOT_IN_POPULATION"
77
- };
78
- option (.wix.api.error) = {
79
- http_code: INVALID_ARGUMENT,
80
- application_code: "MISSING_METASITE_ID"
81
- };
82
- }
83
-
84
-
85
59
  option (.wix.api.event) = {
86
60
  topic: "stores-default-delivery-profile-setup"
87
61
  payload: "wix.stores.catalog.provision.v1.DefaultDeliveryProfileSetup"
88
62
  segment: USERS
89
63
  exposure: PRIVATE
90
64
  };
65
+
66
+ rpc InstallStores(InstallStoresRequest) returns (InstallStoresResponse) {
67
+ option (wix.api.permission).name = "CATALOG.PROVISION_WRITE";
68
+ option (.wix.api.emits) = {
69
+ event_type: ACTION
70
+ action_message_fqn: "wix.stores.catalog.provision.v1.StoresV3CatalogProvisioned"
71
+ };
72
+ }
91
73
  }
92
74
 
93
75
  message GetCatalogVersionRequest {}
@@ -97,6 +79,9 @@ message GetCatalogVersionResponse {
97
79
  Version catalog_version = 1;
98
80
  }
99
81
 
82
+ message InstallStoresRequest {}
83
+ message InstallStoresResponse {}
84
+
100
85
  message ProvisionRequest {
101
86
  // Store this store was cloned from. If store was not cloned, leave empty
102
87
  google.protobuf.StringValue original_instance_id = 1 [(wix.api.format) = GUID];
@@ -3,6 +3,10 @@
3
3
  All notable changes to this project will be documented in this file.
4
4
  See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5
5
 
6
+ # [2.17.0](https://github.com/wix-private/cairo/compare/@wix/bex-bundled-mini-essentials@2.14.0...@wix/bex-bundled-mini-essentials@2.17.0) (2024-12-30)
7
+
8
+ **Note:** Version bump only for package @wix/bex-bundled-mini-essentials
9
+
6
10
  # [2.16.0](https://github.com/wix-private/cairo/compare/@wix/bex-bundled-mini-essentials@2.14.0...@wix/bex-bundled-mini-essentials@2.16.0) (2024-12-29)
7
11
 
8
12
  **Note:** Version bump only for package @wix/bex-bundled-mini-essentials
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@wix/bex-bundled-mini-essentials",
3
3
  "private": true,
4
- "version": "2.16.0",
4
+ "version": "2.17.0",
5
5
  "type": "module",
6
6
  "main": "dist/cjs/bex-bundled-mini-essentials.js",
7
7
  "module": "dist/esm/bex-bundled-mini-essentials.js",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@wix/bex-utils",
3
- "version": "2.38.0",
3
+ "version": "2.39.0",
4
4
  "license": "UNLICENSED",
5
5
  "author": {
6
6
  "name": "Kobi",
@@ -57,7 +57,7 @@
57
57
  "@wix/ambassador-items-selection-spi-host-v1-provider": "^1.0.91",
58
58
  "@wix/ambassador-media-site-media-v1-file-descriptor": "^1.0.127",
59
59
  "@wix/ambassador-os-tags-v1-tag": "^1.0.19",
60
- "@wix/bex-bundled-mini-essentials": "2.16.0",
60
+ "@wix/bex-bundled-mini-essentials": "2.17.0",
61
61
  "@wix/bi-logger-os-data": "^1.184.0",
62
62
  "@wix/eslint-config-yoshi": "^6.74.0",
63
63
  "@wix/jest-yoshi-preset-base": "^6.74.0",
@@ -151,5 +151,5 @@
151
151
  "wallaby": {
152
152
  "autoDetect": true
153
153
  },
154
- "falconPackageHash": "087cbb4aaadcf4c0c61040f060c4152ed7f834c619aa795b6cf5ff65"
154
+ "falconPackageHash": "d1b405b206cb17dd7634cfaf3ae67b59ca681100d85636806e06bd99"
155
155
  }
@@ -1,38 +0,0 @@
1
- syntax = "proto3";
2
-
3
- package com.wix.site.properties.upstream.wix.common;
4
-
5
- option java_multiple_files = true;
6
- option java_package = "com.wix.site.properties.upstream.wix.common";
7
-
8
- import "google/protobuf/wrappers.proto";
9
- import "wix/api/annotations.proto";
10
- import "wix/api/validations.proto";
11
-
12
- // Physical address
13
- message Address {
14
- option (.wix.api.decomposite_of) = "wix.common.Address";
15
- google.protobuf.StringValue country = 1 [(.wix.api.format) = COUNTRY]; // Country code.
16
- google.protobuf.StringValue subdivision = 2; // Subdivision. Usually a state, region, prefecture, or province code, according to [ISO 3166-2](https://en.wikipedia.org/wiki/ISO_3166-2).
17
- google.protobuf.StringValue city = 3 [(.wix.api.pii) = true]; // City name.
18
- google.protobuf.StringValue postal_code = 4 [(.wix.api.pii) = true, (.wix.api.maxLength) = 20]; // Zip/postal code.
19
- StreetAddress street_address = 5; // Street name and number.
20
- reserved 6;
21
- reserved 7;
22
- google.protobuf.StringValue formatted_address = 8 [(.wix.api.pii) = true, (.wix.api.field_exposure) = PRIVATE]; // A string containing the full address of this location.
23
- google.protobuf.StringValue hint = 9 [(.wix.api.pii) = true, (.wix.api.field_exposure) = PRIVATE]; // Free text to help find the address.
24
- AddressLocation geocode = 10 [(.wix.api.field_exposure) = PRIVATE]; // Coordinates of the physical address.
25
- }
26
-
27
- message StreetAddress {
28
- option (.wix.api.decomposite_of) = "wix.common.StreetAddress";
29
- string number = 1 [(.wix.api.pii) = true]; // Street number.
30
- string name = 2 [(.wix.api.pii) = true]; // Street name.
31
- string apt = 3 [(.wix.api.pii) = true, (.wix.api.field_exposure) = PRIVATE]; // Apartment number.
32
- }
33
-
34
- message AddressLocation {
35
- option (.wix.api.decomposite_of) = "wix.common.AddressLocation";
36
- google.protobuf.DoubleValue latitude = 1 [(.wix.api.pii) = true]; // Address latitude.
37
- google.protobuf.DoubleValue longitude = 2 [(.wix.api.pii) = true]; // Address longitude.
38
- }
@@ -1,46 +0,0 @@
1
- syntax = "proto3";
2
-
3
- import "google/protobuf/wrappers.proto";
4
- import "wix/api/validations.proto";
5
-
6
- package com.wixpress.html.cache.invalidate;
7
-
8
- message InvalidateCache {
9
- oneof get_by {
10
- string meta_site_id = 1 [(wix.api.format) = GUID]; // Invalidate by msId. NOT recommended, as this will invalidate the entire site cache!
11
- string site_id = 5 [(wix.api.format) = GUID]; // Invalidate by Site ID. NOT recommended, as this will invalidate the entire site cache!
12
- App app = 2; // Invalidate by App
13
- Page page = 6; // Invalidate by page id
14
- URI uri = 7; // Invalidate by URI path
15
- File file = 8; // Invalidate by file (for media files such as PDFs)
16
- }
17
-
18
- //tell us why you're invalidating the cache. You don't need to add your app name
19
- google.protobuf.StringValue reason = 3 [(wix.api.maxLength) = 256]; // The cache invalidation reason
20
-
21
- //flynt-disable field-lower-snake-case
22
- bool localDc = 4; // Is local DS
23
-
24
- bool hard_purge = 9;
25
-
26
-
27
- message App {
28
- string app_def_id = 1 [(wix.api.minLength) = 1]; // The AppDefId
29
- string instance_id = 2 [(wix.api.format) = GUID]; // The instance Id
30
- }
31
-
32
- message Page {
33
- string meta_site_id = 1 [(wix.api.format) = GUID]; // the msid the page is on
34
- string page_id = 2 [(wix.api.minLength) = 1]; // Invalidate by Page ID
35
- }
36
-
37
- message URI {
38
- string meta_site_id = 1 [(wix.api.format) = GUID]; // the msid the URI is on
39
- string uri_path = 2 [(wix.api.minLength) = 1]; // URI path to invalidate (e.g. page/my/path) - without leading/trailing slashes
40
- }
41
-
42
- message File {
43
- string meta_site_id = 1 [(wix.api.format) = GUID]; // the msid the file is related to
44
- string file_name = 2 [(wix.api.minLength) = 1, (wix.api.maxLength) = 256]; // Invalidate by filename (for media files such as PDFs)
45
- }
46
- }
@@ -1,25 +0,0 @@
1
- syntax = "proto3";
2
-
3
- import "google/protobuf/wrappers.proto";
4
- import "wix/api/validations.proto";
5
-
6
- package com.wixpress.html.cache.invalidate;
7
-
8
- message InvalidateCacheInternal {
9
- string meta_site_id = 1; // The MSID
10
- int64 site_cache_revision = 2; // Site's revision
11
- int64 submit_time_ms = 3; // Request time
12
- google.protobuf.StringValue reason = 4 [(wix.api.maxLength) = 256]; // Invalidation reason
13
- App app = 5; // invalidate by app (Legacy)
14
-
15
- oneof get_by {
16
- string site_id = 6; // Invalidate by Site ID
17
- string page_id = 7; // Invalidate by Page ID
18
- string uri_path = 8; // Invalidate by URI path (e.g. page/my/path)
19
- App app_def = 9; // Invalidate by app
20
- }
21
- message App {
22
- string app_def_id = 1; // AppDefId
23
- string instance_id = 2; // Instance Id
24
- }
25
- }
@@ -1,80 +0,0 @@
1
- // flynt-disable missing-entity-id-field
2
- syntax = "proto3";
3
-
4
- package com.wixpress.html.cache.invalidate;
5
-
6
- import "google/api/annotations.proto";
7
- import "wix/api/permissions.proto";
8
- import "google/protobuf/wrappers.proto";
9
- import "wix/api/annotations.proto";
10
- import "wix/api/entity.proto";
11
- import "wix/api/validations.proto";
12
- import "wix/sdk/definitions.proto";
13
-
14
-
15
- service InvalidateCacheService {
16
- option (.wix.api.service_maturity) = BETA;
17
- option (.wix.api.service_exposure) = PUBLIC;
18
- option (.wix.api.service_entity) = {
19
- message: "com.wixpress.html.cache.invalidate.InvalidateCacheRequest"
20
- };
21
-
22
- /*
23
- Clears caches using specified tags.
24
-
25
- This function invalidates or clears previously cached return values based on specified tags. The `invalidationMethods` parameter accepts an array of objects, each containing a `tag` field. These tags are defined when caching return values for routers using the [`ok()` function](https://dev.wix.com/docs/velo/api-reference/wix-router/ok). For example, an array such as `[{ tag: "contacts" }, { tag: "labels" }]` will clear any cached return values tagged with "contacts" or "labels." Any cache containing at least one tag specified in the `invalidationMethods` parameter will be cleared.
26
-
27
-
28
- <blockquote class="important">
29
-
30
- __Important:__
31
- - If you don't specify any tags in the `invalidationsMethod` parameter, no caches are invalidated.
32
- - If you don't use the `invalidateCache()` function, your caches are only invalidated when the Time to Live (TTL) expires or when you republish your site with a code change.
33
-
34
-
35
- - This function invalidates router caches. To invalidate the Server Side Rendering (SSR) cache for your site, use the `invalidateCache()` function from the [`wix-site-backend`](https://dev.wix.com/docs/velo/api-reference/wix-site-backend/invalidate-cache) module.
36
-
37
- </blockquote>
38
-
39
- */
40
- rpc invalidateCache(InvalidateCacheRequest) returns ( InvalidateCacheResponse) {
41
- option (wix.api.permission).name = "SSR.INVALIDATE_CACHE";
42
- option (google.api.http).post = "/v1/invalidate-cache";
43
- option (.wix.sdk.signature) = {params: "invalidation_methods"};
44
- }
45
- }
46
-
47
- message InvalidateCacheRequest {
48
-
49
- option (wix.api.entity) = {
50
- fqdn: "wix.ssr.v1.invalidate_cache_request"
51
- segment: USERS
52
- appendix_files: {
53
- type: AUTO_VELO
54
- // Yous hould specify the path for the folder that holds the config.json file
55
- path: "appendices/velo"
56
- };
57
- };
58
-
59
-
60
- //An array of objects containing a `tag` field used to identify the cache to invalidate. All cached return values with any listed tags are invalidated. If no tags are specified, nothing is invalidated.
61
- repeated InvalidationMethods invalidation_methods = 1 [(wix.api.maxSize) = 100];
62
-
63
- //tell us why you're invalidating the cache. You don't need to add your app name
64
- google.protobuf.StringValue reason = 2 [(wix.api.maxLength) = 256, (.wix.api.field_exposure) = INTERNAL];
65
-
66
- // Is local DC
67
- bool local_dc = 3 [(.wix.api.field_exposure) = INTERNAL];
68
-
69
- // Is set to hard purge
70
- bool hard_purge = 4 [(.wix.api.field_exposure) = INTERNAL];
71
- }
72
-
73
- message InvalidationMethods {
74
- oneof invalidate_by {
75
- string tag = 1 [(wix.api.maxLength) = 500, (wix.api.minLength) = 1]; // Identifiers of the caches to invalidate.
76
- }
77
- }
78
-
79
- message InvalidateCacheResponse {
80
- }
@@ -1,27 +0,0 @@
1
- syntax = "proto3";
2
-
3
- import "google/protobuf/wrappers.proto";
4
- import "wix/api/validations.proto";
5
-
6
- package wix.ssr.cache_invalidate.v2;
7
-
8
- message InvalidateCache {
9
- enum InvalidateScope {
10
- SITE = 0; // Invalidate the entire site
11
- APP_PAGES = 1; // Invalidate only pages containing the app
12
- }
13
-
14
- InvalidateScope scope = 1; // Invalidation Scope
15
-
16
- // You must pass the app def id when using the APP_PAGES scope
17
- google.protobuf.StringValue app_def_id = 2;
18
-
19
- // Tell us why you are invalidating the cache. No need to mention the app name.
20
- string reason = 3 [(wix.api.maxLength) = 256];
21
-
22
- // Invalidate the cache only in the DC where the message was produced
23
- //flynt-disable field-lower-snake-case
24
- bool localDc = 4;
25
-
26
- bool hard_purge = 5;
27
- }
@@ -1,34 +0,0 @@
1
- syntax = "proto3";
2
-
3
- package com.wixpress.immigrator.tasks.api.generic;
4
-
5
- import "google/protobuf/duration.proto";
6
- import "google/protobuf/wrappers.proto";
7
- import "wix/api/sla.proto";
8
-
9
- message RunBulkMigrationRequest {
10
- // customParam without group id and artifact id after performing split by ','
11
- repeated string custom_param = 1;
12
- // Single run input
13
- repeated string inputs = 2;
14
- }
15
-
16
- message RunBulkMigrationResponse {
17
- // Human readable result description. Will be logged.
18
- repeated SingleMigrationResult results = 1;
19
- }
20
-
21
- message SingleMigrationResult {
22
- string input = 1;
23
- // Human readable result description. Will be logged.
24
- string result = 2;
25
- bool skipped = 3;
26
- // if present and not skipped will mark the result as failed with the containing message
27
- google.protobuf.StringValue failure = 4;
28
- }
29
-
30
- //flynt-disable missing-service-entity
31
- service ImmigratorBulkMigrationService {
32
- rpc RunBulkMigration (RunBulkMigrationRequest) returns (RunBulkMigrationResponse){
33
- option (.wix.api.sla).response_time_ms = 600000; // 10 minutes response time to a single migration
34
- }}