@wix/bex-utils 2.115.0 → 2.116.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 (163) hide show
  1. package/@wix/ambassador-hub-v1-job/README.md +34 -0
  2. package/@wix/ambassador-hub-v1-job/builders/package.json +7 -0
  3. package/@wix/ambassador-hub-v1-job/cjs/build/builders.impl.d.ts +130 -0
  4. package/@wix/ambassador-hub-v1-job/cjs/build/builders.impl.js +1705 -0
  5. package/@wix/ambassador-hub-v1-job/cjs/build/builders.impl.js.map +1 -0
  6. package/@wix/ambassador-hub-v1-job/cjs/build/crud/http.impl.d.ts +9 -0
  7. package/@wix/ambassador-hub-v1-job/cjs/build/crud/http.impl.js +16 -0
  8. package/@wix/ambassador-hub-v1-job/cjs/build/crud/http.impl.js.map +1 -0
  9. package/@wix/ambassador-hub-v1-job/cjs/build/crud/rpc.impl.d.ts +5 -0
  10. package/@wix/ambassador-hub-v1-job/cjs/build/crud/rpc.impl.js +24 -0
  11. package/@wix/ambassador-hub-v1-job/cjs/build/crud/rpc.impl.js.map +1 -0
  12. package/@wix/ambassador-hub-v1-job/cjs/build/http.impl.d.ts +54 -0
  13. package/@wix/ambassador-hub-v1-job/cjs/build/http.impl.js +689 -0
  14. package/@wix/ambassador-hub-v1-job/cjs/build/http.impl.js.map +1 -0
  15. package/@wix/ambassador-hub-v1-job/cjs/build/meta.impl.d.ts +24 -0
  16. package/@wix/ambassador-hub-v1-job/cjs/build/meta.impl.js +170 -0
  17. package/@wix/ambassador-hub-v1-job/cjs/build/meta.impl.js.map +1 -0
  18. package/@wix/ambassador-hub-v1-job/cjs/build/proto/client/proto-generated.d.ts +15832 -0
  19. package/@wix/ambassador-hub-v1-job/cjs/build/proto/client/proto-generated.js +2 -0
  20. package/@wix/ambassador-hub-v1-job/cjs/build/proto/proto-generated.d.ts +7912 -0
  21. package/@wix/ambassador-hub-v1-job/cjs/build/proto/proto-generated.js +1 -0
  22. package/@wix/ambassador-hub-v1-job/cjs/build/proto/server/proto-generated.d.ts +15777 -0
  23. package/@wix/ambassador-hub-v1-job/cjs/build/proto/server/proto-generated.js +2 -0
  24. package/@wix/ambassador-hub-v1-job/cjs/build/rpc.impl.d.ts +67 -0
  25. package/@wix/ambassador-hub-v1-job/cjs/build/rpc.impl.js +202 -0
  26. package/@wix/ambassador-hub-v1-job/cjs/build/rpc.impl.js.map +1 -0
  27. package/@wix/ambassador-hub-v1-job/cjs/build/types.impl.d.ts +2156 -0
  28. package/@wix/ambassador-hub-v1-job/cjs/build/types.impl.js +127 -0
  29. package/@wix/ambassador-hub-v1-job/cjs/build/types.impl.js.map +1 -0
  30. package/@wix/ambassador-hub-v1-job/cjs/package.json +3 -0
  31. package/@wix/ambassador-hub-v1-job/crud/http/package.json +7 -0
  32. package/@wix/ambassador-hub-v1-job/crud/rpc/package.json +6 -0
  33. package/@wix/ambassador-hub-v1-job/es/build/builders.impl.d.ts +130 -0
  34. package/@wix/ambassador-hub-v1-job/es/build/builders.impl.js +1558 -0
  35. package/@wix/ambassador-hub-v1-job/es/build/builders.impl.js.map +1 -0
  36. package/@wix/ambassador-hub-v1-job/es/build/crud/http.impl.d.ts +9 -0
  37. package/@wix/ambassador-hub-v1-job/es/build/crud/http.impl.js +12 -0
  38. package/@wix/ambassador-hub-v1-job/es/build/crud/http.impl.js.map +1 -0
  39. package/@wix/ambassador-hub-v1-job/es/build/crud/rpc.impl.d.ts +5 -0
  40. package/@wix/ambassador-hub-v1-job/es/build/crud/rpc.impl.js +19 -0
  41. package/@wix/ambassador-hub-v1-job/es/build/crud/rpc.impl.js.map +1 -0
  42. package/@wix/ambassador-hub-v1-job/es/build/http.impl.d.ts +54 -0
  43. package/@wix/ambassador-hub-v1-job/es/build/http.impl.js +680 -0
  44. package/@wix/ambassador-hub-v1-job/es/build/http.impl.js.map +1 -0
  45. package/@wix/ambassador-hub-v1-job/es/build/meta.impl.d.ts +24 -0
  46. package/@wix/ambassador-hub-v1-job/es/build/meta.impl.js +128 -0
  47. package/@wix/ambassador-hub-v1-job/es/build/meta.impl.js.map +1 -0
  48. package/@wix/ambassador-hub-v1-job/es/build/proto/client/proto-generated.d.ts +15832 -0
  49. package/@wix/ambassador-hub-v1-job/es/build/proto/client/proto-generated.js +5 -0
  50. package/@wix/ambassador-hub-v1-job/es/build/proto/proto-generated.d.ts +7912 -0
  51. package/@wix/ambassador-hub-v1-job/es/build/proto/proto-generated.js +1 -0
  52. package/@wix/ambassador-hub-v1-job/es/build/proto/server/proto-generated.d.ts +15777 -0
  53. package/@wix/ambassador-hub-v1-job/es/build/proto/server/proto-generated.js +5 -0
  54. package/@wix/ambassador-hub-v1-job/es/build/rpc.impl.d.ts +67 -0
  55. package/@wix/ambassador-hub-v1-job/es/build/rpc.impl.js +158 -0
  56. package/@wix/ambassador-hub-v1-job/es/build/rpc.impl.js.map +1 -0
  57. package/@wix/ambassador-hub-v1-job/es/build/types.impl.d.ts +2156 -0
  58. package/@wix/ambassador-hub-v1-job/es/build/types.impl.js +124 -0
  59. package/@wix/ambassador-hub-v1-job/es/build/types.impl.js.map +1 -0
  60. package/@wix/ambassador-hub-v1-job/http/package.json +7 -0
  61. package/@wix/ambassador-hub-v1-job/meta/package.json +7 -0
  62. package/@wix/ambassador-hub-v1-job/package.json +108 -0
  63. package/@wix/ambassador-hub-v1-job/rpc/package.json +6 -0
  64. package/@wix/ambassador-hub-v1-job/src/main/proto/com/wixpress/cloud/data/api/common.proto +63 -0
  65. package/@wix/ambassador-hub-v1-job/src/main/proto/com/wixpress/cloud/data/api/data/data-item-service.proto +915 -0
  66. package/@wix/ambassador-hub-v1-job/src/main/proto/com/wixpress/cloud/data/api/data/message/aggregate-pipeline.proto +528 -0
  67. package/@wix/ambassador-hub-v1-job/src/main/proto/com/wixpress/cloud/data/api/data/message/aggregate.proto +146 -0
  68. package/@wix/ambassador-hub-v1-job/src/main/proto/com/wixpress/cloud/data/api/data/message/async-job-status.proto +34 -0
  69. package/@wix/ambassador-hub-v1-job/src/main/proto/com/wixpress/cloud/data/api/data/message/async-patch-by-filter.proto +66 -0
  70. package/@wix/ambassador-hub-v1-job/src/main/proto/com/wixpress/cloud/data/api/data/message/async-remove-by-filter.proto +59 -0
  71. package/@wix/ambassador-hub-v1-job/src/main/proto/com/wixpress/cloud/data/api/data/message/bulk-data-item-reference-result.proto +22 -0
  72. package/@wix/ambassador-hub-v1-job/src/main/proto/com/wixpress/cloud/data/api/data/message/bulk-data-item-result.proto +24 -0
  73. package/@wix/ambassador-hub-v1-job/src/main/proto/com/wixpress/cloud/data/api/data/message/bulk-insert-references.proto +54 -0
  74. package/@wix/ambassador-hub-v1-job/src/main/proto/com/wixpress/cloud/data/api/data/message/bulk-insert.proto +75 -0
  75. package/@wix/ambassador-hub-v1-job/src/main/proto/com/wixpress/cloud/data/api/data/message/bulk-publish-data-item-drafts.proto +46 -0
  76. package/@wix/ambassador-hub-v1-job/src/main/proto/com/wixpress/cloud/data/api/data/message/bulk-remove-references.proto +48 -0
  77. package/@wix/ambassador-hub-v1-job/src/main/proto/com/wixpress/cloud/data/api/data/message/bulk-remove.proto +70 -0
  78. package/@wix/ambassador-hub-v1-job/src/main/proto/com/wixpress/cloud/data/api/data/message/bulk-save.proto +80 -0
  79. package/@wix/ambassador-hub-v1-job/src/main/proto/com/wixpress/cloud/data/api/data/message/bulk-unpublish-data-items.proto +53 -0
  80. package/@wix/ambassador-hub-v1-job/src/main/proto/com/wixpress/cloud/data/api/data/message/bulk-update.proto +85 -0
  81. package/@wix/ambassador-hub-v1-job/src/main/proto/com/wixpress/cloud/data/api/data/message/condition.proto +15 -0
  82. package/@wix/ambassador-hub-v1-job/src/main/proto/com/wixpress/cloud/data/api/data/message/count.proto +82 -0
  83. package/@wix/ambassador-hub-v1-job/src/main/proto/com/wixpress/cloud/data/api/data/message/create-data-item-draft.proto +24 -0
  84. package/@wix/ambassador-hub-v1-job/src/main/proto/com/wixpress/cloud/data/api/data/message/data-item-reference.proto +23 -0
  85. package/@wix/ambassador-hub-v1-job/src/main/proto/com/wixpress/cloud/data/api/data/message/data-item.proto +84 -0
  86. package/@wix/ambassador-hub-v1-job/src/main/proto/com/wixpress/cloud/data/api/data/message/distinct.proto +92 -0
  87. package/@wix/ambassador-hub-v1-job/src/main/proto/com/wixpress/cloud/data/api/data/message/get.proto +101 -0
  88. package/@wix/ambassador-hub-v1-job/src/main/proto/com/wixpress/cloud/data/api/data/message/insert-reference.proto +47 -0
  89. package/@wix/ambassador-hub-v1-job/src/main/proto/com/wixpress/cloud/data/api/data/message/insert.proto +70 -0
  90. package/@wix/ambassador-hub-v1-job/src/main/proto/com/wixpress/cloud/data/api/data/message/is-referenced.proto +55 -0
  91. package/@wix/ambassador-hub-v1-job/src/main/proto/com/wixpress/cloud/data/api/data/message/options.proto +37 -0
  92. package/@wix/ambassador-hub-v1-job/src/main/proto/com/wixpress/cloud/data/api/data/message/patch-data-item.proto +184 -0
  93. package/@wix/ambassador-hub-v1-job/src/main/proto/com/wixpress/cloud/data/api/data/message/publish-data-item-draft.proto +24 -0
  94. package/@wix/ambassador-hub-v1-job/src/main/proto/com/wixpress/cloud/data/api/data/message/query-referenced.proto +145 -0
  95. package/@wix/ambassador-hub-v1-job/src/main/proto/com/wixpress/cloud/data/api/data/message/query.proto +157 -0
  96. package/@wix/ambassador-hub-v1-job/src/main/proto/com/wixpress/cloud/data/api/data/message/reference-metadata.proto +15 -0
  97. package/@wix/ambassador-hub-v1-job/src/main/proto/com/wixpress/cloud/data/api/data/message/remove-reference.proto +42 -0
  98. package/@wix/ambassador-hub-v1-job/src/main/proto/com/wixpress/cloud/data/api/data/message/remove.proto +65 -0
  99. package/@wix/ambassador-hub-v1-job/src/main/proto/com/wixpress/cloud/data/api/data/message/replace-references.proto +48 -0
  100. package/@wix/ambassador-hub-v1-job/src/main/proto/com/wixpress/cloud/data/api/data/message/save.proto +87 -0
  101. package/@wix/ambassador-hub-v1-job/src/main/proto/com/wixpress/cloud/data/api/data/message/search.proto +78 -0
  102. package/@wix/ambassador-hub-v1-job/src/main/proto/com/wixpress/cloud/data/api/data/message/truncate.proto +33 -0
  103. package/@wix/ambassador-hub-v1-job/src/main/proto/com/wixpress/cloud/data/api/data/message/unpublish-data-item.proto +31 -0
  104. package/@wix/ambassador-hub-v1-job/src/main/proto/com/wixpress/cloud/data/api/data/message/update.proto +80 -0
  105. package/@wix/ambassador-hub-v1-job/src/main/proto/com/wixpress/cloud/data/api/data/upstream/wix/common/bulk.proto +60 -0
  106. package/@wix/ambassador-hub-v1-job/src/main/proto/com/wixpress/cloud/data/api/data/upstream/wix/common/paging.proto +113 -0
  107. package/@wix/ambassador-hub-v1-job/src/main/proto/com/wixpress/cloud/data/api/data/upstream/wix/common/query.proto +121 -0
  108. package/@wix/ambassador-hub-v1-job/src/main/proto/com/wixpress/cloud/data/api/data/upstream/wix/common/sorting.proto +26 -0
  109. package/@wix/ambassador-hub-v1-job/src/main/proto/com/wixpress/iptf/webhooks/debug.proto +34 -0
  110. package/@wix/ambassador-hub-v1-job/src/main/proto/com/wixpress/iptf/webhooks/kv.proto +42 -0
  111. package/@wix/ambassador-hub-v1-job/src/main/proto/com/wixpress/iptf/webhooks/message_envelope.proto +54 -0
  112. package/@wix/ambassador-hub-v1-job/src/main/proto/raw-http-messages.proto +39 -0
  113. package/@wix/ambassador-hub-v1-job/src/main/proto/webhooks_debug_service.proto +32 -0
  114. package/@wix/ambassador-hub-v1-job/src/main/proto/webhooks_sync_service.proto +33 -0
  115. package/@wix/ambassador-hub-v1-job/src/main/proto/wix/api/action_payload.proto +33 -0
  116. package/@wix/ambassador-hub-v1-job/src/main/proto/wix/api/annotations.proto +560 -0
  117. package/@wix/ambassador-hub-v1-job/src/main/proto/wix/api/api_errors.proto +142 -0
  118. package/@wix/ambassador-hub-v1-job/src/main/proto/wix/api/callback.proto +173 -0
  119. package/@wix/ambassador-hub-v1-job/src/main/proto/wix/api/context.proto +19 -0
  120. package/@wix/ambassador-hub-v1-job/src/main/proto/wix/api/entity.proto +133 -0
  121. package/@wix/ambassador-hub-v1-job/src/main/proto/wix/api/errors.proto +127 -0
  122. package/@wix/ambassador-hub-v1-job/src/main/proto/wix/api/idempotency.proto +25 -0
  123. package/@wix/ambassador-hub-v1-job/src/main/proto/wix/api/permissions.proto +47 -0
  124. package/@wix/ambassador-hub-v1-job/src/main/proto/wix/api/sla.proto +24 -0
  125. package/@wix/ambassador-hub-v1-job/src/main/proto/wix/api/subscription.proto +44 -0
  126. package/@wix/ambassador-hub-v1-job/src/main/proto/wix/api/validations.proto +147 -0
  127. package/@wix/ambassador-hub-v1-job/src/main/proto/wix/common/address.proto +148 -0
  128. package/@wix/ambassador-hub-v1-job/src/main/proto/wix/common/bulk.proto +53 -0
  129. package/@wix/ambassador-hub-v1-job/src/main/proto/wix/common/data/dataextensions/extended-fields.proto +20 -0
  130. package/@wix/ambassador-hub-v1-job/src/main/proto/wix/common/data/dataextensions/update-extended-fields-messages.proto +15 -0
  131. package/@wix/ambassador-hub-v1-job/src/main/proto/wix/common/data/errors.proto +435 -0
  132. package/@wix/ambassador-hub-v1-job/src/main/proto/wix/common/domainevents/attributeupdated.proto +20 -0
  133. package/@wix/ambassador-hub-v1-job/src/main/proto/wix/common/domainevents/domainevents.proto +112 -0
  134. package/@wix/ambassador-hub-v1-job/src/main/proto/wix/common/identification.proto +40 -0
  135. package/@wix/ambassador-hub-v1-job/src/main/proto/wix/common/image.proto +8 -0
  136. package/@wix/ambassador-hub-v1-job/src/main/proto/wix/common/media.proto +280 -0
  137. package/@wix/ambassador-hub-v1-job/src/main/proto/wix/common/money.proto +32 -0
  138. package/@wix/ambassador-hub-v1-job/src/main/proto/wix/common/pageurl.proto +32 -0
  139. package/@wix/ambassador-hub-v1-job/src/main/proto/wix/common/paging.proto +121 -0
  140. package/@wix/ambassador-hub-v1-job/src/main/proto/wix/common/query.proto +889 -0
  141. package/@wix/ambassador-hub-v1-job/src/main/proto/wix/common/sorting.proto +36 -0
  142. package/@wix/ambassador-hub-v1-job/src/main/proto/wix/common/spi.proto +80 -0
  143. package/@wix/ambassador-hub-v1-job/src/main/proto/wix/common/tags.proto +55 -0
  144. package/@wix/ambassador-hub-v1-job/src/main/proto/wix/common/wixlink.proto +203 -0
  145. package/@wix/ambassador-hub-v1-job/src/main/proto/wix/graphql/definitions.proto +13 -0
  146. package/@wix/ambassador-hub-v1-job/src/main/proto/wix/http/field_mask.proto +46 -0
  147. package/@wix/ambassador-hub-v1-job/src/main/proto/wix/hub/v1/common.proto +108 -0
  148. package/@wix/ambassador-hub-v1-job/src/main/proto/wix/hub/v1/data_movement_service.proto +287 -0
  149. package/@wix/ambassador-hub-v1-job/src/main/proto/wix/hub/v1/destinations.proto +154 -0
  150. package/@wix/ambassador-hub-v1-job/src/main/proto/wix/hub/v1/job.proto +164 -0
  151. package/@wix/ambassador-hub-v1-job/src/main/proto/wix/hub/v1/job_spec.proto +41 -0
  152. package/@wix/ambassador-hub-v1-job/src/main/proto/wix/hub/v1/oauth_service.proto +218 -0
  153. package/@wix/ambassador-hub-v1-job/src/main/proto/wix/hub/v1/schema.proto +48 -0
  154. package/@wix/ambassador-hub-v1-job/src/main/proto/wix/hub/v1/shared.proto +98 -0
  155. package/@wix/ambassador-hub-v1-job/src/main/proto/wix/hub/v1/sources.proto +234 -0
  156. package/@wix/ambassador-hub-v1-job/src/main/proto/wix/hub/v1/transformations.proto +23 -0
  157. package/@wix/ambassador-hub-v1-job/src/main/proto/wix/sdk/definitions.proto +191 -0
  158. package/@wix/ambassador-hub-v1-job/src/main/proto/wix/spi/definitions.proto +188 -0
  159. package/@wix/ambassador-hub-v1-job/src/main/proto/wix/spi/http_error_status.proto +24 -0
  160. package/@wix/ambassador-hub-v1-job/types/package.json +7 -0
  161. package/@wix/bex-bundled-mini-essentials/CHANGELOG.md +4 -0
  162. package/@wix/bex-bundled-mini-essentials/package.json +1 -1
  163. package/package.json +4 -3
@@ -0,0 +1,36 @@
1
+ syntax = "proto3";
2
+
3
+ package wix.common;
4
+
5
+ import "wix/api/annotations.proto";
6
+ import "wix/api/validations.proto";
7
+ import "google/protobuf/struct.proto";
8
+
9
+ option java_multiple_files = true;
10
+ option java_package = "com.wix.common";
11
+
12
+ message Sorting {
13
+ option (.wix.api.decomposition_minimum_fields) = {
14
+ field: "field_name"
15
+ field: "order"
16
+ };
17
+ // Name of the field to sort by.
18
+ string field_name = 1 [(.wix.api.maxLength) = 512];
19
+ // Sort order.
20
+ SortOrder order = 2;
21
+ // When `field_name` is a property of repeated field that is marked as `MATCH_ITEMS` and sort should be done by
22
+ // a specific element from a collection, filter can/should be provided to ensure correct sort value is picked.
23
+ //
24
+ // If multiple filters are provided, they are combined with AND operator.
25
+ //
26
+ // Example:
27
+ // Given we have document like {"id": "1", "nestedField": [{"price": 10, "region": "EU"}, {"price": 20, "region": "US"}]}
28
+ // and `nestedField` is marked as `MATCH_ITEMS`, to ensure that sorting is done by correct region, filter should be
29
+ // { fieldName: "nestedField.price", "select_items_by": [{"nestedField.region": "US"}] }
30
+ repeated google.protobuf.Struct select_items_by = 3 [(.wix.api.maxSize) = 10, (.wix.api.field_exposure) = PRIVATE];
31
+ }
32
+
33
+ enum SortOrder {
34
+ ASC = 0;
35
+ DESC = 1;
36
+ }
@@ -0,0 +1,80 @@
1
+ syntax = "proto3";
2
+
3
+ package wix.common.spi;
4
+
5
+ import "google/protobuf/wrappers.proto";
6
+ import "wix/api/annotations.proto";
7
+ import "wix/api/validations.proto";
8
+
9
+ option java_multiple_files = true;
10
+ option java_package = "com.wix.common";
11
+
12
+ // Base URI configuration for a service plugin. Wix uses these URIs to call your service plugin methods.
13
+ message SpiBaseUri {
14
+ option (.wix.api.decomposition_minimum_fields) = {
15
+ field: "base_uri"
16
+ field: "alternative_uris"
17
+ };
18
+ // Custom URI for the specified service plugin method.
19
+ message AlternativeUri {
20
+ // Name of the method to call at the absolute URI, in PascalCase. For example, to call [Get Shipping Rates](https://dev.wix.com/docs/api-reference/business-solutions/e-commerce/extensions/shipping-rates/shipping-rates-integration-service-plugin/get-shipping-rates) on an alternative URI, specify `GetShippingRates`.
21
+ string method_name = 1 [(.wix.api.minLength) = 3, (.wix.api.maxLength) = 128];
22
+ // Absolute URI that Wix calls for this method. Wix doesn't append any path to this URI.
23
+ //
24
+ // The URI must begin with `https://`, such as `https://my-app.com/v1/my-custom-method`.
25
+ string absolute_uri = 2 [(.wix.api.minLength) = 6, (.wix.api.maxLength) = 2048];
26
+ }
27
+ // Base URI for your service plugin. Wix appends each method's path to this URI.
28
+ //
29
+ // For example, to receive requests at `https://my-app.com/v1/my-method`, set this field to `https://my-app.com/`.
30
+ string base_uri = 1 [(.wix.api.minLength) = 6, (.wix.api.maxLength) = 2048];
31
+ // Alternative URIs for specific methods. Use these to override the default URI for individual methods.
32
+ repeated AlternativeUri alternative_uris = 2;
33
+ }
34
+
35
+ /**
36
+ this message is not directly used by any service,
37
+ it exists to describe the expected parameters that SHOULD be provided to invoked Velo methods as part of open-platform.
38
+ e.g. SPIs, event-handlers, etc..
39
+ NOTE: this context object MUST be provided as the last argument in each Velo method signature.
40
+
41
+ Example:
42
+ ```typescript
43
+ export function wixStores_onOrderCanceled({ event, metadata }: OrderCanceledEvent) {
44
+ ...
45
+ }
46
+ ```
47
+ */
48
+ message Context {
49
+ message IdentificationData {
50
+ option (.wix.api.decomposite_of) = "wix.common.IdentificationData";
51
+ enum IdentityType {
52
+ UNKNOWN = 0;
53
+ ANONYMOUS_VISITOR = 1;
54
+ MEMBER = 2;
55
+ WIX_USER = 3;
56
+ APP = 4;
57
+ }
58
+ reserved 1;
59
+ IdentityType identity_type = 6 [(.wix.api.readOnly) = true];
60
+ oneof id {
61
+ // ID of a site visitor that has not logged in to the site.
62
+ string anonymous_visitor_id = 2 [(.wix.api.format) = GUID];
63
+ // ID of a site visitor that has logged in to the site.
64
+ string member_id = 3 [(.wix.api.format) = GUID, (.wix.api.referenced_entity) = "wix.members.v1.member"];
65
+ // ID of a Wix user (site owner, contributor, etc.).
66
+ string wix_user_id = 4 [(.wix.api.format) = GUID];
67
+ // ID of an app.
68
+ string app_id = 5 [(.wix.api.format) = GUID];
69
+ }
70
+ }
71
+ google.protobuf.StringValue request_id = 1; // A unique identifier of the request. You may print this ID to your logs to help with future debugging and easier correlation with Wix's logs.
72
+ google.protobuf.StringValue currency = 2 [(.wix.api.format) = CURRENCY]; // [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) 3-letter currency code.
73
+ IdentificationData identity = 3; // An object that describes the identity that triggered this request.
74
+ repeated string languages = 4; // A string representing a language and region in the format of `"xx-XX"`. First 2 letters represent the language code according to ISO 639-1. This is followed by a dash "-", and then a by 2 capital letters representing the region according to ISO 3166-2. For example, `"en-US"`.
75
+ google.protobuf.StringValue instance_id = 5 [(.wix.api.format) = GUID]; // The service provider app's instance ID.
76
+ google.protobuf.StringValue app_extension_id = 6 [(.wix.api.maxLength) = 256, (wix.api.field_maturity) = ALPHA]; // Extension ID in Dev Center.
77
+ google.protobuf.StringValue app_extension_type = 7 [(.wix.api.maxLength) = 256, (wix.api.field_maturity) = ALPHA]; // Extension type in Dev Center.
78
+ google.protobuf.StringValue function_name = 8 [(.wix.api.maxLength) = 256, (wix.api.field_maturity) = ALPHA]; // Invoked function.
79
+
80
+ }
@@ -0,0 +1,55 @@
1
+ syntax = "proto3";
2
+
3
+ package wix.common.tags;
4
+
5
+ import "google/protobuf/wrappers.proto";
6
+ import "wix/api/annotations.proto";
7
+ import "wix/api/validations.proto";
8
+
9
+ option java_multiple_files = true;
10
+ option java_package = "com.wix.common";
11
+ /*
12
+ Common object for tags.
13
+ Should be use as in this example:
14
+ message Foo {
15
+ string id = 1;
16
+ // ...
17
+ Tags tags = 5
18
+ }
19
+
20
+ example of taggable entity
21
+ {
22
+ id: "123"
23
+ tags: {
24
+ tags: {
25
+ tag_ids:["11","22"]
26
+ },
27
+ private_tags: {
28
+ tag_ids: ["33", "44"]
29
+ }
30
+ }
31
+ }
32
+ */
33
+ message Tags {
34
+ option (.wix.api.decomposition_minimum_fields) = {
35
+ field: "tags"
36
+ };
37
+
38
+ message TagList {
39
+ repeated string tag_ids = 1 [(.wix.api.referenced_entity) = "wix.os.tags.v1.tag", (.wix.api.maxSize) = 100, (.wix.api.maxLength) = 5]; // List of tag IDs
40
+ }
41
+ TagList private_tags = 1; // Tags that require an additional permission in order to access them, normally not given to site members or visitors.
42
+ TagList tags = 2; // Tags that are exposed to anyone who has access to the labeled entity itself, including site members and visitors.
43
+ }
44
+
45
+ message PublicTags {
46
+ option (.wix.api.decomposite_of) = "wix.common.tags.Tags";
47
+ option (.wix.api.decomposition_minimum_fields) = {
48
+ field: "tags"
49
+ };
50
+
51
+ message TagList {
52
+ repeated string tag_ids = 1 [(.wix.api.referenced_entity) = "wix.os.tags.v1.tag", (.wix.api.maxSize) = 100, (.wix.api.maxLength) = 5]; // List of tag IDs
53
+ }
54
+ TagList tags = 2; // Tags that are exposed to anyone who has access to the labeled entity itself, including site members and visitors.
55
+ }
@@ -0,0 +1,203 @@
1
+ syntax = "proto3";
2
+
3
+ package wix.common;
4
+
5
+ option java_multiple_files = true;
6
+ option java_outer_classname = "WixLinkProto";
7
+ option java_package = "com.wix.common";
8
+
9
+ import "wix/api/annotations.proto";
10
+ import "wix/api/validations.proto";
11
+ import "google/protobuf/wrappers.proto";
12
+
13
+ //The link object generated by panels in the editor and used by applications in Wix
14
+ message WixLink {
15
+ option (.wix.api.decomposition_minimum_fields) = {
16
+ field: "external"
17
+ };
18
+ option (.wix.api.decomposition_minimum_fields) = {
19
+ field: "page"
20
+ };
21
+ option (.wix.api.decomposition_minimum_fields) = {
22
+ field: "anchor"
23
+ };
24
+ option (.wix.api.decomposition_minimum_fields) = {
25
+ field: "dynamic_page"
26
+ };
27
+ option (.wix.api.decomposition_minimum_fields) = {
28
+ field: "document"
29
+ };
30
+ option (.wix.api.decomposition_minimum_fields) = {
31
+ field: "email"
32
+ };
33
+ option (.wix.api.decomposition_minimum_fields) = {
34
+ field: "phone"
35
+ };
36
+ option (.wix.api.decomposition_minimum_fields) = {
37
+ field: "address"
38
+ };
39
+ option (.wix.api.decomposition_minimum_fields) = {
40
+ field: "whats_app"
41
+ };
42
+ option (.wix.api.decomposition_minimum_fields) = {
43
+ field: "tpa_page_link"
44
+ };
45
+ oneof Link {
46
+ ExternalLink external = 1; // External link type
47
+ PageLink page = 2; // Page link type
48
+ AnchorLink anchor = 3; // Anchor link type
49
+ DynamicPageLink dynamic_page = 4; // Dynamic page link type
50
+ DocumentLink document = 5; // Document link type
51
+ EmailLink email = 6; // Email link type
52
+ PhoneLink phone = 7; // Phone link type
53
+ AddressLink address = 8; // Address link type
54
+ WhatsAppLink whats_app = 9; // WhatsApp link type
55
+ TpaPageLink tpa_page = 10; // TPA link type
56
+ }
57
+ }
58
+
59
+ message ExternalLink {
60
+ option (.wix.api.decomposition_minimum_fields) = {
61
+ field: "url"
62
+ };
63
+ //The url of the page
64
+ string url = 1 [(.wix.api.format) = WEB_URL];
65
+ //Where this link should open, supports _self and _blank or any name the user chooses. _self means same page, _blank means new page.
66
+ google.protobuf.StringValue target = 2;
67
+ //rel of link
68
+ repeated LinkRel rel = 3 [(.wix.api.maxSize) = 20, (.wix.api.field_exposure) = PRIVATE];
69
+ }
70
+
71
+ message PageLink {
72
+ option (.wix.api.decomposition_minimum_fields) = {
73
+ field: "page_id"
74
+ };
75
+ //The page id we want from the site
76
+ string page_id = 1;
77
+ //Where this link should open, supports _self and _blank or any name the user chooses. _self means same page, _blank means new page.
78
+ google.protobuf.StringValue target = 2;
79
+ //rel of link
80
+ repeated LinkRel rel = 3 [(wix.api.maxSize) = 20];
81
+ }
82
+
83
+ message AnchorLink {
84
+ option (.wix.api.decomposition_minimum_fields) = {
85
+ field: "anchor_name"
86
+ field: "anchor_data_id"
87
+ field: "page_id"
88
+ };
89
+ //The name of the anchor
90
+ string anchor_name = 1;
91
+ //The data id (from the JSON page) of the anchor that should be used
92
+ string anchor_data_id = 2;
93
+ //The page id we want from the site
94
+ string page_id = 3;
95
+ //rel of link
96
+ repeated LinkRel rel = 4 [(wix.api.maxSize) = 20];
97
+ }
98
+
99
+ message DynamicPageLink {
100
+ option (.wix.api.decomposition_minimum_fields) = {
101
+ field: "router_id"
102
+ field: "inner_route"
103
+ field: "anchor_data_id"
104
+ };
105
+ //The router that handles this link
106
+ string router_id = 1;
107
+ //The path data we'd like
108
+ string inner_route = 2;
109
+ //The data id (from the JSON page) of the anchor that should be used
110
+ google.protobuf.StringValue anchor_data_id = 3;
111
+ //rel of link
112
+ repeated LinkRel rel = 4 [(wix.api.maxSize) = 20];
113
+ }
114
+
115
+ message DocumentLink {
116
+ option (.wix.api.decomposition_minimum_fields) = {
117
+ field: "doc_id"
118
+ field: "name"
119
+ };
120
+ //The id of the document
121
+ string doc_id = 1;
122
+ //The name of the document for download purposes
123
+ google.protobuf.StringValue name = 2;
124
+ //If this document can be indexed by scrapers, default is false
125
+ bool indexable = 3;
126
+ }
127
+
128
+ message EmailLink {
129
+ option (.wix.api.decomposition_minimum_fields) = {
130
+ field: "recipient"
131
+ field: "subject"
132
+ field: "body"
133
+ };
134
+ //The email we will be sending a message to
135
+ string recipient = 1 [(.wix.api.format) = EMAIL];
136
+ //The subject of the email
137
+ google.protobuf.StringValue subject = 2;
138
+ //The body of the email
139
+ google.protobuf.StringValue body = 3;
140
+ }
141
+
142
+ message PhoneLink {
143
+ option (.wix.api.decomposition_minimum_fields) = {
144
+ field: "phone_number"
145
+ };
146
+ //The phone number we want to link to
147
+ string phone_number = 1 [(.wix.api.pii) = true, (.wix.api.format) = PHONE, (.wix.api.maxLength) = 100];
148
+ }
149
+
150
+ message AddressLink {
151
+ option (.wix.api.decomposition_minimum_fields) = {
152
+ field: "address"
153
+ };
154
+ //An address that we can link to
155
+ string address = 1 [(.wix.api.pii) = true];
156
+ }
157
+
158
+ message WhatsAppLink {
159
+ option (.wix.api.decomposition_minimum_fields) = {
160
+ field: "phone_number"
161
+ };
162
+ //The whatsApp phone number we want to connect with
163
+ string phone_number = 1 [(.wix.api.pii) = true, (.wix.api.format) = PHONE];
164
+ }
165
+
166
+ //Link to a TPA page
167
+ message TpaPageLink {
168
+ option (.wix.api.decomposition_minimum_fields) = {
169
+ field: "item_type_identifier"
170
+ field: "item_id"
171
+ field: "page_id"
172
+ field: "app_definition_id"
173
+ field: "path"
174
+ };
175
+ //Type of item (e.g. 'wix.stores.sub_pages.product')
176
+ string item_type_identifier = 1;
177
+ //Id of linked item
178
+ string item_id = 2;
179
+ //Id of linked page
180
+ string page_id = 3;
181
+ //Id of app being linked to (AppDefId)
182
+ string app_definition_id = 4;
183
+ //The relativepath of linked page
184
+ string path = 5;
185
+ //rel of link
186
+ repeated LinkRel rel = 6 [(wix.api.maxSize) = 20];
187
+ }
188
+
189
+ //The 'rel' attribute of the link. The rel attribute defines the relationship between a linked resource and the current document.
190
+ //Further reading (also about different possible rel types): https://developer.mozilla.org/en-US/docs/Web/HTML/Attributes/rel
191
+ //Following are the accepted 'rel' types by Wix applications.
192
+ enum LinkRel {
193
+ // default (not implemented)
194
+ unknown_link_rel = 0 [(.wix.api.enum_maturity) = NOT_IMPLEMENTED];
195
+ //Indicates that the current document's original author or publisher does not endorse the referenced document.
196
+ nofollow = 1;
197
+ //Instructs the browser to navigate to the target resource without granting the new browsing context access to the document that opened it.
198
+ noopener = 2;
199
+ //No Referer header will be included. Additionally, has the same effect as noopener.
200
+ noreferrer = 3;
201
+ //Indicates a link that resulted from advertisements or paid placements.
202
+ sponsored = 4;
203
+ }
@@ -0,0 +1,13 @@
1
+ syntax = "proto2";
2
+
3
+ package wix.graphql;
4
+
5
+ import "google/protobuf/descriptor.proto";
6
+
7
+ option java_multiple_files = true;
8
+ option java_outer_classname = "GraphqlProto";
9
+ option java_package = "com.wix.graphql";
10
+
11
+ extend google.protobuf.FileOptions {
12
+ optional string namespace = 66000;
13
+ }
@@ -0,0 +1,46 @@
1
+ syntax = "proto2";
2
+
3
+ package wix.http;
4
+
5
+ import "google/protobuf/descriptor.proto";
6
+
7
+ option java_multiple_files = true;
8
+ option java_outer_classname = "FieldmaskProto";
9
+ option java_package = "com.wix.http";
10
+
11
+ /*
12
+ When (most commonly) update endpoint accepts FieldMask object, from REST client perspective it is redundant and can be
13
+ inferred from the actual JSON payload that was sent. This field annotation will tell the framework to use the JSON body
14
+ and automatically construct the fieldmask. E.g.
15
+ ```
16
+ import "wix/http/field_mask.proto";
17
+
18
+ rpc UpdateProduct (UpdateProductRequest) returns (UpdateProductResponse) {
19
+ option (google.api.http) = {
20
+ PATCH: "/v1/products/{product.id}
21
+ };
22
+ option (wix.http.infer_fieldmask) = {
23
+ from: "product"
24
+ fieldmask: "mask"
25
+ };
26
+ }
27
+
28
+ message UpdateProductRequest {
29
+ Product product = 1;
30
+ google.protobuf.FieldMask mask = 2;
31
+ }
32
+ ```
33
+ */
34
+ extend google.protobuf.FieldOptions {
35
+ optional string infer_fieldmask_from = 50901 [deprecated=true];
36
+ }
37
+
38
+ extend google.protobuf.MethodOptions {
39
+ optional InferFieldmask infer_fieldmask = 50902;
40
+ }
41
+
42
+ message InferFieldmask {
43
+ required string from = 1; // ref to field on which we want to infer
44
+ required string fieldmask = 2; // ref to actual fieldmask member
45
+ optional bool snake_case_comma_separated_mask = 3; // recase comma-separated field mask to snake_case (legacy behavior)
46
+ }
@@ -0,0 +1,108 @@
1
+ syntax = "proto3";
2
+
3
+ package wix.hub.v1;
4
+ option java_package = "com.wixpress.hub.v1";
5
+
6
+ import "google/protobuf/wrappers.proto";
7
+ import "wix/api/validations.proto";
8
+ import "wix/api/annotations.proto";
9
+ import "wix/api/errors.proto";
10
+ import "google/protobuf/struct.proto";
11
+
12
+ enum WixDataEnvironment {
13
+ // Collection's [live environment](https://support.wix.com/en/article/cms-about-sandbox-and-live-collections-and-syncing#sandbox-collections).
14
+ LIVE = 0;
15
+ // Collection's [sandbox environment](https://support.wix.com/en/article/cms-about-sandbox-and-live-collections-and-syncing#live-collections).
16
+ SANDBOX = 1;
17
+ }
18
+
19
+ // When the job's status is `IN_PROGRESS`, the job's progress details.
20
+ message Progress {
21
+ enum Units {
22
+ // Default value. This value is unused.
23
+ UNKNOWN_UNITS = 0 [(wix.api.enum_maturity) = NOT_IMPLEMENTED];
24
+
25
+ // Unit of bytes.
26
+ BYTES = 1;
27
+
28
+ // Unit of items.
29
+ ITEMS = 2;
30
+ }
31
+ // Number of units already processed.
32
+ int32 current = 1 [(wix.api.readOnly) = true];
33
+ // Total number of units to move.
34
+ google.protobuf.Int32Value total = 2 [(wix.api.readOnly) = true];
35
+ // Units of progress, such as items or pages.
36
+ string unit = 3 [
37
+ deprecated = true,
38
+ (wix.api.field_deprecated) = {
39
+ replaced_by: "units"
40
+ target_removal_date: "2026-06-30"
41
+ },
42
+ (wix.api.readOnly) = true,
43
+ (wix.api.maxLength) = 128,
44
+ (wix.api.field_exposure) = INTERNAL
45
+ ];
46
+ // Number of items successfully moved to the destination.
47
+ int32 items_processed = 4 [
48
+ (wix.api.readOnly) = true,
49
+ (wix.api.field_exposure) = INTERNAL,
50
+ deprecated = true,
51
+ (wix.api.field_deprecated) = {
52
+ replaced_by: "items_successful"
53
+ target_removal_date: "2026-03-31"
54
+ }
55
+ ];
56
+ // Number of items that failed to move to the destination.
57
+ int32 items_rejected = 5;
58
+ // Number of items successfully moved to the destination.
59
+ int32 items_successful = 6;
60
+ // Details about items that were successfully moved.
61
+ ItemsSuccessfulInfo items_successful_info = 7 [(wix.api.field_exposure) = INTERNAL];
62
+ // Units of progress, such as items or bytes.
63
+ Units units = 8 [(wix.api.readOnly) = true, (wix.api.field_exposure) = INTERNAL];
64
+ }
65
+
66
+ message ItemsSuccessfulInfo {
67
+ // Number of new items created in the destination.
68
+ int32 items_created = 1;
69
+ // Number of existing items updated in the destination.
70
+ int32 items_updated = 2;
71
+ // Number of items whose movement was partially successful.
72
+ //
73
+ // > **Note**: Call List Movement Logs for additional details.
74
+ int32 items_partially_successful = 3;
75
+ }
76
+
77
+ // Details about the attempt to move the source item.
78
+ //
79
+ // Logs are generated by the destination for each item that failed to move. Some destination also generate logs for items that successfully moved.
80
+ message MovementLog {
81
+ // ID of the item in the source, such as a Wix Data Item or a row number in a CSV file.
82
+ string source_item_id = 1 [(wix.api.maxLength) = 512];
83
+
84
+ // Details about the failure if moving the item fails.
85
+ wix.api.ApplicationError failure = 3;
86
+
87
+ // Notes generated when an item is successfully moved.
88
+ //
89
+ // > **Note**: Only some items generate notes when successfully moved.
90
+ google.protobuf.Struct success = 4 [deprecated = true, (wix.api.field_deprecated) = {
91
+ target_removal_date: "2026-12-01"
92
+ replaced_by: "details"
93
+ }, (wix.api.field_exposure) = INTERNAL];
94
+
95
+ // Additional details provided when moving the item succeeds with details.
96
+ //
97
+ // > **Note**: Each destination type determines the structure of its `details` object.
98
+ google.protobuf.Struct details = 5;
99
+ }
100
+
101
+ enum FileFormat {
102
+ // Unknown format.
103
+ UNKNOWN = 0;
104
+ // CSV format.
105
+ CSV = 1;
106
+ // JSONL format.
107
+ JSONL = 2;
108
+ }