@wix/bex-utils 2.71.0 → 2.73.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 (112) hide show
  1. package/@wix/ambassador-dealer-v1-serving-offer/build/cjs/builders.impl.d.ts +115 -0
  2. package/@wix/ambassador-dealer-v1-serving-offer/build/cjs/builders.impl.js +1340 -0
  3. package/@wix/ambassador-dealer-v1-serving-offer/build/cjs/builders.impl.js.map +1 -0
  4. package/@wix/ambassador-dealer-v1-serving-offer/build/cjs/http.impl.d.ts +29 -0
  5. package/@wix/ambassador-dealer-v1-serving-offer/build/cjs/http.impl.js +524 -0
  6. package/@wix/ambassador-dealer-v1-serving-offer/build/cjs/http.impl.js.map +1 -0
  7. package/@wix/ambassador-dealer-v1-serving-offer/build/cjs/meta.impl.d.ts +20 -0
  8. package/@wix/ambassador-dealer-v1-serving-offer/build/cjs/meta.impl.js +119 -0
  9. package/@wix/ambassador-dealer-v1-serving-offer/build/cjs/meta.impl.js.map +1 -0
  10. package/@wix/ambassador-dealer-v1-serving-offer/build/cjs/proto/client/proto-generated.d.ts +18874 -0
  11. package/@wix/ambassador-dealer-v1-serving-offer/build/cjs/proto/client/proto-generated.js +2 -0
  12. package/@wix/ambassador-dealer-v1-serving-offer/build/cjs/proto/proto-generated.d.ts +9468 -0
  13. package/@wix/ambassador-dealer-v1-serving-offer/build/cjs/proto/proto-generated.js +1 -0
  14. package/@wix/ambassador-dealer-v1-serving-offer/build/cjs/proto/server/proto-generated.d.ts +18788 -0
  15. package/@wix/ambassador-dealer-v1-serving-offer/build/cjs/proto/server/proto-generated.js +2 -0
  16. package/@wix/ambassador-dealer-v1-serving-offer/build/cjs/rpc.impl.d.ts +39 -0
  17. package/@wix/ambassador-dealer-v1-serving-offer/build/cjs/rpc.impl.js +113 -0
  18. package/@wix/ambassador-dealer-v1-serving-offer/build/cjs/rpc.impl.js.map +1 -0
  19. package/@wix/ambassador-dealer-v1-serving-offer/build/cjs/types.impl.d.ts +1248 -0
  20. package/@wix/ambassador-dealer-v1-serving-offer/build/cjs/types.impl.js +371 -0
  21. package/@wix/ambassador-dealer-v1-serving-offer/build/cjs/types.impl.js.map +1 -0
  22. package/@wix/ambassador-dealer-v1-serving-offer/build/es/builders.impl.d.ts +115 -0
  23. package/@wix/ambassador-dealer-v1-serving-offer/build/es/builders.impl.js +1209 -0
  24. package/@wix/ambassador-dealer-v1-serving-offer/build/es/builders.impl.js.map +1 -0
  25. package/@wix/ambassador-dealer-v1-serving-offer/build/es/http.impl.d.ts +29 -0
  26. package/@wix/ambassador-dealer-v1-serving-offer/build/es/http.impl.js +516 -0
  27. package/@wix/ambassador-dealer-v1-serving-offer/build/es/http.impl.js.map +1 -0
  28. package/@wix/ambassador-dealer-v1-serving-offer/build/es/meta.impl.d.ts +20 -0
  29. package/@wix/ambassador-dealer-v1-serving-offer/build/es/meta.impl.js +92 -0
  30. package/@wix/ambassador-dealer-v1-serving-offer/build/es/meta.impl.js.map +1 -0
  31. package/@wix/ambassador-dealer-v1-serving-offer/build/es/rpc.impl.d.ts +39 -0
  32. package/@wix/ambassador-dealer-v1-serving-offer/build/es/rpc.impl.js +86 -0
  33. package/@wix/ambassador-dealer-v1-serving-offer/build/es/rpc.impl.js.map +1 -0
  34. package/@wix/ambassador-dealer-v1-serving-offer/build/es/types.impl.d.ts +1248 -0
  35. package/@wix/ambassador-dealer-v1-serving-offer/build/es/types.impl.js +368 -0
  36. package/@wix/ambassador-dealer-v1-serving-offer/build/es/types.impl.js.map +1 -0
  37. package/@wix/ambassador-dealer-v1-serving-offer/builders/package.json +7 -0
  38. package/@wix/ambassador-dealer-v1-serving-offer/http/package.json +7 -0
  39. package/@wix/ambassador-dealer-v1-serving-offer/meta/package.json +7 -0
  40. package/@wix/ambassador-dealer-v1-serving-offer/package.json +52 -0
  41. package/@wix/ambassador-dealer-v1-serving-offer/rpc/package.json +6 -0
  42. package/@wix/ambassador-dealer-v1-serving-offer/src/main/proto/wix/abtest/v2/experiment_properties.proto +46 -0
  43. package/@wix/ambassador-dealer-v1-serving-offer/src/main/proto/wix/abtest/v2/experiment_results.proto +39 -0
  44. package/@wix/ambassador-dealer-v1-serving-offer/src/main/proto/wix/abtest/v2/experiment_support_kpis.proto +29 -0
  45. package/@wix/ambassador-dealer-v1-serving-offer/src/main/proto/wix/abtest/v2/experiments_properties_thin.proto +31 -0
  46. package/@wix/ambassador-dealer-v1-serving-offer/src/main/proto/wix/abtest/v2/wixab_service.proto +81 -0
  47. package/@wix/ambassador-dealer-v1-serving-offer/src/main/proto/wix/api/action_payload.proto +33 -0
  48. package/@wix/ambassador-dealer-v1-serving-offer/src/main/proto/wix/api/annotations.proto +451 -0
  49. package/@wix/ambassador-dealer-v1-serving-offer/src/main/proto/wix/api/api_errors.proto +142 -0
  50. package/@wix/ambassador-dealer-v1-serving-offer/src/main/proto/wix/api/callback.proto +163 -0
  51. package/@wix/ambassador-dealer-v1-serving-offer/src/main/proto/wix/api/context.proto +19 -0
  52. package/@wix/ambassador-dealer-v1-serving-offer/src/main/proto/wix/api/entity.proto +127 -0
  53. package/@wix/ambassador-dealer-v1-serving-offer/src/main/proto/wix/api/errors.proto +127 -0
  54. package/@wix/ambassador-dealer-v1-serving-offer/src/main/proto/wix/api/idempotency.proto +25 -0
  55. package/@wix/ambassador-dealer-v1-serving-offer/src/main/proto/wix/api/permissions.proto +46 -0
  56. package/@wix/ambassador-dealer-v1-serving-offer/src/main/proto/wix/api/sla.proto +24 -0
  57. package/@wix/ambassador-dealer-v1-serving-offer/src/main/proto/wix/api/subscription.proto +32 -0
  58. package/@wix/ambassador-dealer-v1-serving-offer/src/main/proto/wix/api/validations.proto +142 -0
  59. package/@wix/ambassador-dealer-v1-serving-offer/src/main/proto/wix/common/address.proto +148 -0
  60. package/@wix/ambassador-dealer-v1-serving-offer/src/main/proto/wix/common/bulk.proto +53 -0
  61. package/@wix/ambassador-dealer-v1-serving-offer/src/main/proto/wix/common/data/dataextensions/extended-fields.proto +20 -0
  62. package/@wix/ambassador-dealer-v1-serving-offer/src/main/proto/wix/common/data/dataextensions/update-extended-fields-messages.proto +15 -0
  63. package/@wix/ambassador-dealer-v1-serving-offer/src/main/proto/wix/common/data/errors.proto +435 -0
  64. package/@wix/ambassador-dealer-v1-serving-offer/src/main/proto/wix/common/identification.proto +40 -0
  65. package/@wix/ambassador-dealer-v1-serving-offer/src/main/proto/wix/common/image.proto +8 -0
  66. package/@wix/ambassador-dealer-v1-serving-offer/src/main/proto/wix/common/media.proto +280 -0
  67. package/@wix/ambassador-dealer-v1-serving-offer/src/main/proto/wix/common/money.proto +32 -0
  68. package/@wix/ambassador-dealer-v1-serving-offer/src/main/proto/wix/common/pageurl.proto +32 -0
  69. package/@wix/ambassador-dealer-v1-serving-offer/src/main/proto/wix/common/paging.proto +121 -0
  70. package/@wix/ambassador-dealer-v1-serving-offer/src/main/proto/wix/common/query.proto +812 -0
  71. package/@wix/ambassador-dealer-v1-serving-offer/src/main/proto/wix/common/sorting.proto +36 -0
  72. package/@wix/ambassador-dealer-v1-serving-offer/src/main/proto/wix/common/spi.proto +85 -0
  73. package/@wix/ambassador-dealer-v1-serving-offer/src/main/proto/wix/common/tags.proto +55 -0
  74. package/@wix/ambassador-dealer-v1-serving-offer/src/main/proto/wix/common/wixlink.proto +203 -0
  75. package/@wix/ambassador-dealer-v1-serving-offer/src/main/proto/wix/dealerBackoffice/api/v1/audiences.proto +226 -0
  76. package/@wix/ambassador-dealer-v1-serving-offer/src/main/proto/wix/dealerBackoffice/api/v1/campaigns.proto +270 -0
  77. package/@wix/ambassador-dealer-v1-serving-offer/src/main/proto/wix/dealerBackoffice/api/v1/frequency-caps.proto +74 -0
  78. package/@wix/ambassador-dealer-v1-serving-offer/src/main/proto/wix/dealerBackoffice/api/v1/localization-managers.proto +11 -0
  79. package/@wix/ambassador-dealer-v1-serving-offer/src/main/proto/wix/dealerBackoffice/api/v1/managers.proto +11 -0
  80. package/@wix/ambassador-dealer-v1-serving-offer/src/main/proto/wix/dealerBackoffice/api/v1/offer-test.proto +338 -0
  81. package/@wix/ambassador-dealer-v1-serving-offer/src/main/proto/wix/dealerBackoffice/api/v1/offer.proto +298 -0
  82. package/@wix/ambassador-dealer-v1-serving-offer/src/main/proto/wix/dealerBackoffice/api/v1/offers-service.proto +696 -0
  83. package/@wix/ambassador-dealer-v1-serving-offer/src/main/proto/wix/dealerBackoffice/api/v1/placements.proto +423 -0
  84. package/@wix/ambassador-dealer-v1-serving-offer/src/main/proto/wix/dealerBackoffice/api/v1/schemas-service.proto +142 -0
  85. package/@wix/ambassador-dealer-v1-serving-offer/src/main/proto/wix/dealerBackoffice/api/v1/targeting.proto +378 -0
  86. package/@wix/ambassador-dealer-v1-serving-offer/src/main/proto/wix/dealerBackoffice/api/v1/upstream/wix/common/paging.proto +126 -0
  87. package/@wix/ambassador-dealer-v1-serving-offer/src/main/proto/wix/dealerBackoffice/api/v1/upstream/wix/common/query.proto +840 -0
  88. package/@wix/ambassador-dealer-v1-serving-offer/src/main/proto/wix/dealerBackoffice/api/v1/upstream/wix/common/sorting.proto +37 -0
  89. package/@wix/ambassador-dealer-v1-serving-offer/src/main/proto/wix/dealerOffersServing/api/v1/dealer-offers-debug.proto +188 -0
  90. package/@wix/ambassador-dealer-v1-serving-offer/src/main/proto/wix/dealerOffersServing/api/v1/dealer-offers-serving.proto +177 -0
  91. package/@wix/ambassador-dealer-v1-serving-offer/src/main/proto/wix/dealerOffersServing/api/v1/offer.proto +87 -0
  92. package/@wix/ambassador-dealer-v1-serving-offer/src/main/proto/wix/dealerPriority/api/v1/priority-service.proto +57 -0
  93. package/@wix/ambassador-dealer-v1-serving-offer/src/main/proto/wix/dealerPriority/api/v1/priority.proto +132 -0
  94. package/@wix/ambassador-dealer-v1-serving-offer/src/main/proto/wix/graphql/definitions.proto +13 -0
  95. package/@wix/ambassador-dealer-v1-serving-offer/src/main/proto/wix/http/field_mask.proto +46 -0
  96. package/@wix/ambassador-dealer-v1-serving-offer/src/main/proto/wix/personalize/optimization_test/v1/optimization_tester_service.proto +284 -0
  97. package/@wix/ambassador-dealer-v1-serving-offer/src/main/proto/wix/personalize/optimization_test/v1/test.proto +170 -0
  98. package/@wix/ambassador-dealer-v1-serving-offer/src/main/proto/wix/personalize/optimization_test/v1/upstream/wix/common/bulk.proto +56 -0
  99. package/@wix/ambassador-dealer-v1-serving-offer/src/main/proto/wix/personalize/optimization_test/v1/upstream/wix/common/paging.proto +121 -0
  100. package/@wix/ambassador-dealer-v1-serving-offer/src/main/proto/wix/personalize/optimization_test/v1/upstream/wix/common/query.proto +741 -0
  101. package/@wix/ambassador-dealer-v1-serving-offer/src/main/proto/wix/personalize/optimization_test/v1/upstream/wix/common/sorting.proto +26 -0
  102. package/@wix/ambassador-dealer-v1-serving-offer/src/main/proto/wix/personalize/targeting/v1/targeting.proto +406 -0
  103. package/@wix/ambassador-dealer-v1-serving-offer/src/main/proto/wix/personalize/targeting/v1/targeting_service.proto +247 -0
  104. package/@wix/ambassador-dealer-v1-serving-offer/src/main/proto/wix/personalize/variants_generator/v1/variant.proto +92 -0
  105. package/@wix/ambassador-dealer-v1-serving-offer/src/main/proto/wix/personalize/variants_generator/v1/variants_generator_service.proto +73 -0
  106. package/@wix/ambassador-dealer-v1-serving-offer/src/main/proto/wix/sdk/definitions.proto +191 -0
  107. package/@wix/ambassador-dealer-v1-serving-offer/src/main/proto/wix/spi/definitions.proto +187 -0
  108. package/@wix/ambassador-dealer-v1-serving-offer/src/main/proto/wix/spi/http_error_status.proto +24 -0
  109. package/@wix/ambassador-dealer-v1-serving-offer/types/package.json +7 -0
  110. package/@wix/bex-bundled-mini-essentials/CHANGELOG.md +4 -0
  111. package/@wix/bex-bundled-mini-essentials/package.json +1 -1
  112. package/package.json +6 -5
@@ -0,0 +1,435 @@
1
+ //flynt-disable missing-array-limits, missing-string-validations
2
+ syntax = "proto3";
3
+
4
+ package wix.common.data;
5
+
6
+ option java_multiple_files = true;
7
+ option java_package = "com.wix.common.data";
8
+
9
+ import "google/protobuf/wrappers.proto";
10
+ import "wix/api/annotations.proto";
11
+ import "google/protobuf/struct.proto";
12
+
13
+ message FilterErrorDetails {
14
+ oneof details {
15
+ IllegalOperandType illegal_operand_type = 1;
16
+ NotSupportedForPii not_supported_for_pii = 2;
17
+ ExceedsAllowedDepth exceeds_allowed_depth = 3;
18
+ ExceedsAllowedNumberOfOperands exceeds_allowed_number_of_operands = 4;
19
+ UnknownOperator unknown_operator = 5;
20
+ UnexpectedFieldType unexpected_field_type = 6;
21
+ MismatchedFieldType mismatched_field_type = 7;
22
+ InvalidDate invalid_date = 8;
23
+ UnknownField unknown_field = 9;
24
+ IllegalFilterOnCustomType illegal_filter_on_custom_type = 10;
25
+ InvalidFilterValue invalid_filter_value = 11;
26
+ WrongType wrong_type = 12;
27
+ InvalidUUID invalid_uuid = 13;
28
+ RevisionViolation revision_violation = 14;
29
+ IllegalFieldTypeForStartsWith illegal_field_type_for_starts_with = 15;
30
+ ArrayFieldExpectedForArrayOperator array_field_expected_for_array_operator = 16;
31
+ PiiPredicateUnderNotPredicate pii_predicate_under_not_predicate = 17;
32
+ UnknownEnumValues unknown_enum_values = 18;
33
+ ExistsNotAllowedForWildcardPath exists_not_allowed_for_wildcard_path = 19;
34
+ TwoFieldsPredicateTypeMismatch two_fields_predicate_type_mismatch = 20;
35
+ TwoFieldsPredicateUnsupportedType two_fields_predicate_unsupported_type = 21;
36
+ TwoFieldsPredicatePiiNotSupported two_fields_predicate_pii_not_supported = 22;
37
+ }
38
+
39
+ message IllegalOperandType {
40
+ string operator = 1;
41
+ string filter_part = 2;
42
+ string additional_data = 3;
43
+ }
44
+
45
+ message NotSupportedForPii {
46
+ string operator = 1;
47
+ string field_path = 2;
48
+ }
49
+
50
+ message ExceedsAllowedDepth {
51
+ int32 depth = 1;
52
+ int32 allowed_depth = 2;
53
+ string filter_part = 3;
54
+ }
55
+
56
+ message ExceedsAllowedNumberOfOperands {
57
+ string operator = 1;
58
+ int32 size = 2;
59
+ int32 allowed_size = 3;
60
+ repeated string values = 4 [(.wix.api.field_exposure) = PRIVATE, deprecated = true];
61
+ }
62
+
63
+ message UnknownOperator {
64
+ string operator = 1;
65
+ }
66
+
67
+ message UnexpectedFieldType {
68
+ string field_path = 1;
69
+ string expected_type = 2;
70
+ google.protobuf.StringValue operator = 3;
71
+ google.protobuf.StringValue value = 4;
72
+ }
73
+
74
+ message MismatchedFieldType {
75
+ string field_path = 1;
76
+ string mismatched_type = 2;
77
+ string operator = 3;
78
+ }
79
+
80
+ message InvalidDate {
81
+ string field_path = 1;
82
+ string field_value = 2;
83
+ }
84
+
85
+ message UnknownField {
86
+ string field_path = 1;
87
+ }
88
+
89
+ message IllegalFilterOnCustomType {
90
+ string field_path = 1;
91
+ }
92
+
93
+ message InvalidFilterValue {
94
+ string json_filter = 1;
95
+ }
96
+
97
+ message WrongType {
98
+ string path = 1;
99
+ string passed = 2;
100
+ string expected = 3;
101
+ }
102
+
103
+ message InvalidUUID {
104
+ string path = 1;
105
+ string value = 2;
106
+ }
107
+
108
+ message RevisionViolation {
109
+ string entity_id = 1;
110
+ }
111
+
112
+ message IllegalFieldTypeForStartsWith {
113
+ string field_path = 1;
114
+ string fieldType = 2;
115
+ }
116
+
117
+ message ArrayFieldExpectedForArrayOperator {
118
+ string field_path = 1;
119
+ }
120
+
121
+ message PiiPredicateUnderNotPredicate {
122
+ string path = 1;
123
+ }
124
+
125
+ message UnknownEnumValues {
126
+ string field_path = 1;
127
+ string enum_type = 2;
128
+ repeated string unknown_values = 3;
129
+ }
130
+
131
+ message ExistsNotAllowedForWildcardPath {
132
+ string field_path = 1;
133
+ }
134
+
135
+ message TwoFieldsPredicateTypeMismatch {
136
+ string left_path = 1;
137
+ string left_type = 2;
138
+ string right_path = 3;
139
+ string right_type = 4;
140
+ }
141
+
142
+ message TwoFieldsPredicateUnsupportedType {
143
+ string field_path = 1;
144
+ string field_type = 2;
145
+ }
146
+
147
+ message TwoFieldsPredicatePiiNotSupported {
148
+ string field_path = 1;
149
+ }
150
+ }
151
+
152
+ message PatchErrorDetails {
153
+ oneof details {
154
+ IllegalFieldRemoved illegal_field_removed = 1;
155
+ InvalidPatch invalid_patch = 2;
156
+ IllegalPatchSystemFields illegal_patch_system_fields = 3;
157
+ PatchFailed patch_failed = 4;
158
+ ChangeByOperationIsNotSupported change_by_operation_is_not_supported = 5;
159
+ WrongType wrong_type = 6;
160
+ IllegalPath illegal_path = 7;
161
+ NonInteger non_integer = 8;
162
+ ValueExceeded value_exceeded = 9;
163
+ InvalidUUID invalid_uuid = 10;
164
+ SystemFieldNotAllowed system_field_not_allowed = 11;
165
+ FailedToWriteType failed_to_write_type = 12;
166
+ }
167
+
168
+ message IllegalFieldRemoved {
169
+ string field_path = 1;
170
+ }
171
+
172
+ message InvalidPatch {
173
+ string patch_json = 1;
174
+ }
175
+
176
+ message IllegalPatchSystemFields {
177
+ repeated string fields = 1;
178
+ }
179
+
180
+ message PatchFailed {
181
+ string entity_id = 1;
182
+ }
183
+
184
+ message ChangeByOperationIsNotSupported {
185
+ string path = 1;
186
+ }
187
+
188
+ message WrongType {
189
+ string path = 1;
190
+ string passed = 2;
191
+ string expected = 3;
192
+ }
193
+
194
+ message FailedToWriteType {
195
+ string path = 1;
196
+ string expected_type = 2;
197
+ string value = 3;
198
+ }
199
+
200
+ message IllegalPath {
201
+ string path = 1;
202
+ }
203
+
204
+ message NonInteger {
205
+ string path = 1;
206
+ double value = 2;
207
+ }
208
+
209
+ message ValueExceeded {
210
+ string path = 1;
211
+ double value = 2;
212
+ }
213
+
214
+ message InvalidUUID {
215
+ string path = 1;
216
+ string value = 2;
217
+ }
218
+
219
+ message SystemFieldNotAllowed {
220
+ string field_path = 1;
221
+ }
222
+ }
223
+
224
+ message SortErrorDetails {
225
+ oneof details {
226
+ PiiFieldNotSortable pii_field_not_sortable = 1;
227
+ SortByCustomTypeNotSupported sort_by_custom_type_not_supported = 2;
228
+ SortByUnknownPathNotSupported sort_by_unknown_path_not_supported = 3;
229
+ SortByUntypedPathNotSupported sort_by_untyped_path_not_supported = 4;
230
+ SortByObjectTypeNotSupported sort_by_object_type_not_supported = 5;
231
+ SortByArrayTypeNotSupported sort_by_array_type_not_supported = 6;
232
+ }
233
+
234
+ message PiiFieldNotSortable {
235
+ string field_path = 1;
236
+ }
237
+
238
+ message SortByCustomTypeNotSupported {
239
+ string field_path = 1;
240
+ }
241
+
242
+ message SortByUnknownPathNotSupported {
243
+ string field_path = 1;
244
+ }
245
+
246
+ message SortByUntypedPathNotSupported {
247
+ string field_path = 1;
248
+ }
249
+
250
+ message SortByObjectTypeNotSupported {
251
+ string field_path = 1;
252
+ }
253
+
254
+ message SortByArrayTypeNotSupported {
255
+ string field_path = 1;
256
+ }
257
+ }
258
+
259
+ message ErrorDetails {
260
+ oneof details {
261
+ BulkSizeExceedsMaximum bulk_size_exceeds_maximum = 1;
262
+ NotFound not_found = 2;
263
+ InsertFailed insert_failed = 3;
264
+ InsertOrUpdateFailed insert_or_update_failed = 4;
265
+ DeleteFailed delete_failed = 5;
266
+ UpdateFailed update_failed = 6;
267
+ AlreadyExists already_exists = 7;
268
+ PersistenceConstraintViolation persistence_constraint_violation = 8;
269
+ IllegalJson illegal_json = 9;
270
+ PiiFieldsNotFilterable pii_fields_not_filterable = 10;
271
+ PiiFieldsNotCountable pii_fields_not_countable = 11;
272
+ PiiFieldsNotFilterableAndNotCountable pii_fields_not_filterable_and_not_countable = 12;
273
+ IllegalCollectionName illegal_collection_name = 13;
274
+ SystemFieldNotAllowed system_field_not_allowed = 14;
275
+ RevisionViolation revision_violation = 15;
276
+ ConstraintsViolation constraints_violation = 16;
277
+ DataCorruption data_corruption = 17;
278
+ AppNotInstalled app_not_installed = 18;
279
+ UniqueConstraintViolation unique_constraint_violation = 19;
280
+ MaxStringLengthViolation max_string_length_violation = 20;
281
+ PersistenceConstraintViolations persistence_constraint_violations = 21;
282
+ MaxStringLengthViolations max_string_length_violations = 22;
283
+ AggregationDuplicateResultFields aggregation_duplicate_result_fields = 23;
284
+ AggregationGroupAndAggregateSameField aggregation_froup_and_aggregate_same_field = 24;
285
+ AggregationIllegalGroupFieldType aggregation_illegal_group_field_type = 25;
286
+ AggregationIllegalAggregationFieldType aggregation_illegal_aggregation_field_type = 26;
287
+ UniqueKeyNotFound unique_key_not_found = 27;
288
+ InvalidUniqueKey invalid_unique_key = 29;
289
+ MaxSizeViolations max_size_violations = 30;
290
+ PageSizeExceedsMaximum page_size_exceeds_maximum = 31;
291
+ }
292
+
293
+ message BulkSizeExceedsMaximum {
294
+ int32 size = 1;
295
+ int32 max_batch_size = 2;
296
+ }
297
+
298
+ message NotFound {
299
+ string entity_id = 1;
300
+ }
301
+
302
+ message UniqueKeyNotFound {
303
+ google.protobuf.Struct filter = 1;
304
+ }
305
+
306
+ message InvalidUniqueKey {
307
+ repeated string keys = 1;
308
+ }
309
+
310
+ message InsertFailed {
311
+ string entity_id = 1;
312
+ }
313
+
314
+ message InsertOrUpdateFailed {
315
+ string entity_id = 1;
316
+ }
317
+
318
+ message DeleteFailed {
319
+ string entity_id = 1;
320
+ }
321
+
322
+ message UpdateFailed {
323
+ string entity_id = 1;
324
+ }
325
+
326
+ message AlreadyExists {
327
+ google.protobuf.StringValue entity_id = 1;
328
+ }
329
+
330
+ message PersistenceConstraintViolation {
331
+ google.protobuf.StringValue entity_id = 1;
332
+ }
333
+
334
+ message PersistenceConstraintViolations {
335
+ repeated google.protobuf.StringValue entity_ids = 1;
336
+ }
337
+
338
+ message IllegalJson {
339
+ string json = 1;
340
+ }
341
+
342
+ message PiiFieldsNotFilterable {
343
+ string operation = 1;
344
+ repeated string field_paths = 2;
345
+ }
346
+
347
+ message PiiFieldsNotCountable {
348
+ repeated string field_paths = 1;
349
+ }
350
+
351
+ message PiiFieldsNotFilterableAndNotCountable {
352
+ repeated string non_filterable_fields = 1;
353
+ repeated string non_supported_fields = 2;
354
+ }
355
+
356
+ message IllegalCollectionName {
357
+ string collection_name = 1;
358
+ string table_name = 2;
359
+ }
360
+
361
+ message SystemFieldNotAllowed {
362
+ string original_path = 1;
363
+ }
364
+
365
+ message RevisionViolation {
366
+ string entity_id = 1;
367
+ }
368
+
369
+ message ConstraintsViolation {
370
+ string entity_id = 1;
371
+ }
372
+
373
+ message DataCorruption {
374
+ string entity_id = 1;
375
+ }
376
+
377
+ message AppNotInstalled {
378
+ string app_id = 1;
379
+ }
380
+
381
+ message UniqueConstraintViolation {
382
+ message FieldPath {
383
+ repeated string paths = 1;
384
+ }
385
+ repeated FieldPath field_paths = 1;
386
+ }
387
+
388
+ message MaxStringLengthViolation {
389
+ message FieldPath {
390
+ repeated string paths = 1;
391
+ }
392
+ repeated FieldPath field_paths = 1;
393
+ string entity_id = 2;
394
+ }
395
+ message MaxStringLengthViolations {
396
+ repeated MaxStringLengthViolation violations = 1;
397
+ }
398
+
399
+ message MaxSizeViolation {
400
+ message FieldPath {
401
+ repeated string paths = 1;
402
+ }
403
+ repeated FieldPath field_paths = 1;
404
+ string entity_id = 2;
405
+ }
406
+
407
+ message MaxSizeViolations {
408
+ repeated MaxSizeViolation violations = 1;
409
+ }
410
+
411
+
412
+ message AggregationDuplicateResultFields {
413
+ string field = 1;
414
+ }
415
+
416
+ message AggregationGroupAndAggregateSameField {
417
+ string field_path = 1;
418
+ }
419
+
420
+ message AggregationIllegalGroupFieldType {
421
+ string field_path = 1;
422
+ string field_type = 2;
423
+ }
424
+
425
+ message AggregationIllegalAggregationFieldType {
426
+ string field_path = 1;
427
+ string field_type = 2;
428
+ }
429
+
430
+ message PageSizeExceedsMaximum {
431
+ int32 size = 1;
432
+ int32 max_page_size = 2;
433
+ }
434
+ }
435
+
@@ -0,0 +1,40 @@
1
+ syntax = "proto3";
2
+
3
+ package wix.common;
4
+
5
+ option java_multiple_files = true;
6
+ option java_package = "com.wix.common";
7
+
8
+ import "google/protobuf/wrappers.proto";
9
+ import "wix/api/validations.proto";
10
+ import "wix/api/annotations.proto";
11
+
12
+ message IdentificationData {
13
+ option (.wix.api.decomposition_minimum_fields) = {
14
+ field: "identity_type"
15
+ field: "anonymous_visitor_id"
16
+ field: "member_id"
17
+ field: "wix_user_id"
18
+ field: "app_id"
19
+ };
20
+ enum IdentityType {
21
+ UNKNOWN = 0;
22
+ ANONYMOUS_VISITOR = 1;
23
+ MEMBER = 2;
24
+ WIX_USER = 3;
25
+ APP = 4;
26
+ }
27
+ // ID of of a contact in the site's [CRM by Ascend](https://www.wix.com/ascend/crm) system.
28
+ google.protobuf.StringValue contact_id = 1 [(.wix.api.format) = GUID, (.wix.api.referenced_entity) = "wix.contacts.v4.contact"];
29
+ IdentityType identity_type = 6 [(.wix.api.readOnly) = true, (.wix.api.field_exposure) = PRIVATE];
30
+ oneof id {
31
+ // ID of a site visitor that has not logged in to the site.
32
+ string anonymous_visitor_id = 2 [(.wix.api.format) = GUID];
33
+ // ID of a site visitor that has logged in to the site.
34
+ string member_id = 3 [(.wix.api.format) = GUID, (.wix.api.referenced_entity) = "wix.members.v1.member"];
35
+ // ID of a Wix user (site owner, contributor, etc.).
36
+ string wix_user_id = 4 [(.wix.api.format) = GUID];
37
+ // ID of an app.
38
+ string app_id = 5 [(.wix.api.format) = GUID];
39
+ }
40
+ }
@@ -0,0 +1,8 @@
1
+ syntax = "proto3";
2
+
3
+ package wix.common;
4
+
5
+ option java_multiple_files = true;
6
+ option java_package = "com.wix.common";
7
+
8
+ //Moved to media.proto - please update your references