@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,55 @@
1
+ //flynt-disable boolean-field-name-prefix
2
+ syntax = "proto3";
3
+
4
+ package com.wixpress.cloud.data.api.data;
5
+
6
+ import "google/protobuf/wrappers.proto";
7
+ import "google/protobuf/struct.proto";
8
+ import "wix/api/annotations.proto";
9
+ import "wix/api/validations.proto";
10
+ import "com/wixpress/cloud/data/api/common.proto";
11
+ import "com/wixpress/cloud/data/api/data/message/options.proto";
12
+
13
+ message IsReferencedDataItemRequest {
14
+ // Environment: LIVE or SANDBOX
15
+ Environment environment = 1 [(wix.api.field_exposure) = PRIVATE];
16
+
17
+ // ID of the collection containing the referring data item.
18
+ string data_collection_id = 2 [(wix.api.maxLength) = 256];
19
+
20
+ // Field to check for a reference to the item that may be referenced.
21
+ string referring_item_field_name = 3 [(wix.api.maxLength) = 1000];
22
+
23
+ // ID of the referring item.
24
+ string referring_item_id = 4 [(wix.api.maxLength) = 128];
25
+
26
+ // ID of the item that may be referenced.
27
+ string referenced_item_id = 5 [(wix.api.maxLength) = 1000];
28
+
29
+ // Grid app id. Optional in Live segment.
30
+ google.protobuf.StringValue app_id = 6 [(wix.api.format) = GUID, (wix.api.field_exposure) = PRIVATE];
31
+
32
+ // Data access options
33
+ Options options = 7 [
34
+ (wix.api.field_exposure) = PRIVATE,
35
+ deprecated = true,
36
+ (wix.api.field_deprecated) = {
37
+ replaced_by: "inlined"
38
+ target_removal_date: "2024-07-12"
39
+ }
40
+ ];
41
+
42
+ // Whether to retrieve data from the primary database instance.
43
+ // This decreases performance but ensures data retrieved is up to date even immediately after an update.
44
+ // Learn more about [Wix Data and eventual consistency](https://dev.wix.com/api/rest/wix-data/wix-data/eventual-consistency).
45
+ //
46
+ // Default: `false`
47
+ bool consistent_read = 8;
48
+
49
+ google.protobuf.Struct app_options = 9 [(wix.api.field_exposure) = PRIVATE];
50
+ }
51
+
52
+ message IsReferencedDataItemResponse {
53
+ // Whether the specified reference exists.
54
+ bool is_referenced = 1;
55
+ }
@@ -0,0 +1,37 @@
1
+ syntax = "proto3";
2
+
3
+ package com.wixpress.cloud.data.api.data;
4
+
5
+ import "google/protobuf/wrappers.proto";
6
+ import "google/protobuf/struct.proto";
7
+ import "wix/api/annotations.proto";
8
+ import "wix/api/validations.proto";
9
+
10
+ message IncludeReference {
11
+ // Field containing references in the item. This field must be configured as a reference or multi-reference field in the collection schema.
12
+ string field = 1 [(wix.api.maxLength) = 1000];
13
+ // Maximum number of referenced items to include for each item. When a reference field contains more items than this limit, only the first items up to the limit are included in the response. If not specified, up to 50 items are included.
14
+ google.protobuf.Int32Value limit = 2 [(wix.api.max) = 1000];
15
+ }
16
+
17
+ message PublishPluginOptions {
18
+ reserved 1;
19
+ // Whether to include draft items.
20
+ //
21
+ // When `true`, both published and draft items are affected. Default: `false`.
22
+ bool include_draft_items = 2;
23
+ }
24
+
25
+
26
+
27
+ message Options {
28
+ message PublishPluginOptions {
29
+ bool show_draft_items = 1;
30
+ }
31
+ // Should hooks execution be suppressed.
32
+ // This option can only be used with Corvid backend
33
+ // code identity.
34
+ bool suppress_hooks = 1 [(wix.api.field_exposure) = PRIVATE];
35
+ google.protobuf.Struct app_options = 2 [(wix.api.field_exposure) = PRIVATE];
36
+ PublishPluginOptions publish_plugin_options = 3 [(wix.api.field_exposure) = PRIVATE];
37
+ }
@@ -0,0 +1,184 @@
1
+ syntax = "proto3";
2
+
3
+ package com.wixpress.cloud.data.api.data;
4
+
5
+ import "google/protobuf/struct.proto";
6
+ import "google/protobuf/wrappers.proto";
7
+ import "wix/api/annotations.proto";
8
+ import "wix/api/validations.proto";
9
+ import "com/wixpress/cloud/data/api/common.proto";
10
+ import "com/wixpress/cloud/data/api/data/message/bulk-data-item-result.proto";
11
+ import "com/wixpress/cloud/data/api/data/message/data-item.proto";
12
+ import "com/wixpress/cloud/data/api/data/message/options.proto";
13
+ import "com/wixpress/cloud/data/api/data/message/condition.proto";
14
+ import "com/wixpress/cloud/data/api/data/upstream/wix/common/bulk.proto";
15
+
16
+ message PatchDataItemRequest {
17
+ // [Collection environment](https://support.wix.com/en/article/cms-about-sandbox-and-live-collections-and-syncing) from which to delete item.
18
+ //
19
+ // Default: `LIVE`.
20
+ Environment environment = 1 [(wix.api.field_exposure) = PRIVATE];
21
+
22
+ // ID of the collection that contains the item to patch.
23
+ string data_collection_id = 2 [(wix.api.maxLength) = 256];
24
+
25
+ // Patch to apply to the item.
26
+ Patch patch = 3;
27
+
28
+ // Grid app id. Optional in Live segment.
29
+ google.protobuf.StringValue app_id = 4 [(wix.api.format) = GUID, (wix.api.field_exposure) = PRIVATE];
30
+
31
+ reserved 6;
32
+
33
+ // Whether to suppress data hooks. When `true`, data hooks typically triggered by this method don't run.
34
+ //
35
+ // > **Note:** This can only be used in code that runs in a [Wix site backend](https://dev.wix.com/docs/develop-websites/articles/coding-with-velo/backend-code/about-the-site-backend).
36
+ //
37
+ // Default: `false`.
38
+ bool suppress_hooks = 7 [(wix.api.field_exposure) = PRIVATE];
39
+
40
+ // Additional options specific to the [Wix app collection](https://support.wix.com/en/article/cms-formerly-content-manager-working-with-wix-app-collections) you are querying.
41
+ //
42
+ // Learn more about [querying Wix app collections](https://dev.wix.com/docs/develop-websites/articles/wix-apps/wix-app-collections/querying-wix-app-collections).
43
+ google.protobuf.Struct app_options = 8 [(wix.api.field_exposure) = PRIVATE];
44
+
45
+
46
+ // Options for the [Publish plugin](https://support.wix.com/en/article/cms-controlling-live-site-item-visibility-from-your-collection).
47
+ //
48
+ // This plugin allows items in a [data collection](https://dev.wix.com/docs/rest/business-solutions/cms/data-collections/data-collection-object) to be marked as draft or published. Published items are visible to site visitors, while draft items are not.
49
+ PublishPluginOptions publish_plugin_options = 9;
50
+
51
+ // Condition for patching the item.
52
+ //
53
+ // When a condition is provided, the item is only patched if the condition is met.
54
+ Condition condition = 10;
55
+ }
56
+
57
+ message PatchDataItemResponse {
58
+ // Patched data item.
59
+ DataItem data_item = 1;
60
+ }
61
+
62
+ message Patch {
63
+ // ID of the item to patch.
64
+ string data_item_id = 1 [(wix.api.maxLength) = 256];
65
+
66
+ // Modifications to apply.
67
+ repeated FieldModification field_modifications = 2 [(wix.api.minSize) = 1, (wix.api.maxSize) = 100];
68
+ }
69
+
70
+ message FieldModification {
71
+ // Path of the field to be modified. For example: `title`.
72
+ //
73
+ // Nested fields can be specified using dot notation. For example: `address.street`.
74
+ string field_path = 1 [(wix.api.maxLength) = 1000];
75
+
76
+ // Patch action to apply to the specified field.
77
+ ACTION action = 2;
78
+
79
+ oneof action_options {
80
+ option (wix.api.aligned_with_enum) = {
81
+ field: "action"
82
+ };
83
+ // Options for setting the value of the specified field. Required when `action` is `SET_FIELD`.
84
+ SetFieldOptions set_field_options = 3;
85
+ // Options for incrementing the value of the specified field. Required when `action` is `INCREMENT_FIELD`.
86
+ IncrementFieldOptions increment_field_options = 4;
87
+ // Options for appending a value to the specified array. Required when `action` is `APPEND_TO_ARRAY`.
88
+ AppendToArrayOptions append_to_array_options = 5;
89
+ // Options for removing a value from the specified array. Required when `action` is `REMOVE_FROM_ARRAY`.
90
+ RemoveFromArrayOptions remove_from_array_options = 6;
91
+ }
92
+
93
+ message SetFieldOptions {
94
+ // Value to set for the specified field. This replaces the existing value.
95
+ google.protobuf.Value value = 1;
96
+ }
97
+
98
+ message IncrementFieldOptions {
99
+ // Numerical value by which to increment the field value. To decrement, specify a negative value.
100
+ double value = 1;
101
+ }
102
+
103
+ message AppendToArrayOptions {
104
+ // Value to append to the specified array.
105
+ google.protobuf.Value value = 1;
106
+ }
107
+
108
+ message RemoveFromArrayOptions {
109
+ // Value whose first instance is removed from the specified array.
110
+ google.protobuf.Value value = 2;
111
+ }
112
+
113
+ enum ACTION {
114
+ UNKNOWN_ACTION = 0 [(.wix.api.enum_maturity) = NOT_IMPLEMENTED];
115
+ // Sets the specified field to the specified value.
116
+ SET_FIELD = 1;
117
+ // Clears the specified field.
118
+ REMOVE_FIELD = 2;
119
+ // Increments the specified field by the specified value. To decrement, specify a negative value.
120
+ INCREMENT_FIELD = 3;
121
+ // Appends the specified value to the array.
122
+ //
123
+ // Learn more about [data types in Wix Data](https://dev.wix.com/docs/rest/business-solutions/cms/data-types-in-wix-data).
124
+ APPEND_TO_ARRAY = 4;
125
+ // Removes the first instance of the specified value from the array.
126
+ //
127
+ // Learn more about [data types in Wix Data](https://dev.wix.com/docs/rest/business-solutions/cms/data-types-in-wix-data).
128
+ REMOVE_FROM_ARRAY = 5;
129
+ }
130
+ }
131
+
132
+ message BulkPatchDataItemsRequest {
133
+ // [Collection environment](https://support.wix.com/en/article/cms-about-sandbox-and-live-collections-and-syncing) from which to delete item.
134
+ //
135
+ // Default: `LIVE`.
136
+ Environment environment = 1 [(wix.api.field_exposure) = PRIVATE];
137
+
138
+ // ID of the collection that contains the items to patch.
139
+ string data_collection_id = 2 [(wix.api.maxLength) = 256];
140
+
141
+ // Patches to apply to the items.
142
+ repeated Patch patches = 3 [(wix.api.minSize) = 1, (wix.api.maxSize) = 100];
143
+
144
+ // Grid app id. Optional in Live segment.
145
+ google.protobuf.StringValue app_id = 4 [(wix.api.format) = GUID, (wix.api.field_exposure) = PRIVATE];
146
+
147
+ reserved 5;
148
+
149
+ // Whether to return the patched data items. When `true`, each item in the `results` array contains a `dataItem` field with the full patched data item.
150
+ //
151
+ // Default: `false`
152
+ bool return_entity = 6;
153
+
154
+ // Whether to suppress data hooks.
155
+ // When `true`, data hooks typically triggered by this endpoint don't run.
156
+ //
157
+ // > **Note:** This option can only be used in code that runs in [the Wix site backend](https://dev.wix.com/docs/develop-websites/articles/coding-with-velo/backend-code/about-the-site-backend).
158
+ //
159
+ // Default: `false`
160
+ bool suppress_hooks = 7 [(wix.api.field_exposure) = PRIVATE];
161
+
162
+ // Additional options specific to the [Wix app collection](https://support.wix.com/en/article/cms-formerly-content-manager-working-with-wix-app-collections) you are querying.
163
+ //
164
+ // Learn more about [querying Wix app collections](https://dev.wix.com/docs/develop-websites/articles/wix-apps/wix-app-collections/querying-wix-app-collections).
165
+ google.protobuf.Struct app_options = 8 [(wix.api.field_exposure) = PRIVATE];
166
+
167
+ // Options for the [Publish plugin](https://support.wix.com/en/article/cms-controlling-live-site-item-visibility-from-your-collection).
168
+ //
169
+ // This plugin allows items in a [data collection](https://dev.wix.com/docs/rest/business-solutions/cms/data-collections/data-collection-object) to be marked as draft or published. Published items are visible to site visitors, while draft items are not.
170
+ PublishPluginOptions publish_plugin_options = 9;
171
+
172
+ // Condition for patching the items.
173
+ //
174
+ // When a condition is provided, the items are only patched if the condition is met.
175
+ Condition condition = 10;
176
+ }
177
+
178
+ message BulkPatchDataItemsResponse {
179
+ // Patched items.
180
+ repeated BulkDataItemResult results = 1;
181
+
182
+ // Bulk action metadata.
183
+ upstream.wix.common.BulkActionMetadata bulk_action_metadata = 2;
184
+ }
@@ -0,0 +1,24 @@
1
+ syntax = "proto3";
2
+
3
+ package com.wixpress.cloud.data.api.data;
4
+
5
+ import "com/wixpress/cloud/data/api/data/message/data-item.proto";
6
+ import "wix/api/validations.proto";
7
+ import "com/wixpress/cloud/data/api/common.proto";
8
+ import "wix/api/annotations.proto";
9
+
10
+ message PublishDataItemDraftRequest {
11
+ // Environment: `LIVE` or `SANDBOX`.
12
+ Environment environment = 1 [(wix.api.field_exposure) = PRIVATE];
13
+
14
+ // ID of the published data collection.
15
+ string data_collection_id = 2 [(wix.api.maxLength) = 256];
16
+
17
+ // ID of the data item whose draft will be published. Returns `NOT_FOUND` if no pending draft exists for this ID.
18
+ string data_item_id = 3 [(wix.api.maxLength) = 128];
19
+ }
20
+
21
+ message PublishDataItemDraftResponse {
22
+ // The newly-published data item, reflecting the draft's content. The draft has been deleted.
23
+ DataItem data_item = 1;
24
+ }
@@ -0,0 +1,145 @@
1
+ syntax = "proto3";
2
+
3
+ package com.wixpress.cloud.data.api.data;
4
+
5
+ import "google/protobuf/wrappers.proto";
6
+ import "google/protobuf/struct.proto";
7
+ import "wix/api/annotations.proto";
8
+ import "wix/api/validations.proto";
9
+ import "com/wixpress/cloud/data/api/common.proto";
10
+ import "com/wixpress/cloud/data/api/data/message/data-item.proto";
11
+ import "com/wixpress/cloud/data/api/data/message/options.proto";
12
+ import "com/wixpress/cloud/data/api/data/upstream/wix/common/paging.proto";
13
+ import "com/wixpress/cloud/data/api/data/upstream/wix/common/sorting.proto";
14
+
15
+ message QueryReferencedDataItemsRequest {
16
+ // Environment: LIVE or SANDBOX
17
+ Environment environment = 1 [(wix.api.field_exposure) = PRIVATE];
18
+
19
+ // ID of the collection containing the referring item.
20
+ string data_collection_id = 2 [(wix.api.maxLength) = 256];
21
+
22
+ // ID of the referring item.
23
+ string referring_item_id = 3 [(wix.api.maxLength) = 128];
24
+ // Uncomment after referring_item_ids is GAed
25
+ // [
26
+ // deprecated = true,
27
+ // (wix.api.field_deprecated) = {
28
+ // replaced_by: "referring_item_ids"
29
+ // target_removal_date: "2025-03-01"
30
+ // }
31
+ // ];
32
+
33
+ // Field containing references in the referring item.
34
+ string referring_item_field_name = 4 [(wix.api.maxLength) = 1000];
35
+
36
+ // Order of the returned referenced items. Sorted by the date each item was referenced.
37
+ upstream.wix.common.SortOrder order = 5;
38
+
39
+ oneof paging_method {
40
+ //Paging options to limit and skip the number of items.
41
+ upstream.wix.common.Paging paging = 6;
42
+
43
+ //Cursor token pointing to a page of results. Not used in the first request. Following requests use the cursor token and not `filter` or `sort`.
44
+ upstream.wix.common.CursorPaging cursor_paging = 7;
45
+ }
46
+
47
+ // Whether to return the total count in the response.
48
+ // When `true`, the `pagingMetadata` object in the response contains a `total` field.
49
+ //
50
+ // Default: `false`
51
+ bool return_total_count = 8;
52
+
53
+ // Grid app id. Optional in Live segment.
54
+ google.protobuf.StringValue app_id = 9 [(wix.api.format) = GUID, (wix.api.field_exposure) = PRIVATE];
55
+
56
+ // Data access options
57
+ Options options = 10 [
58
+ (wix.api.field_exposure) = PRIVATE,
59
+ deprecated = true,
60
+ (wix.api.field_deprecated) = {
61
+ replaced_by: "inlined"
62
+ target_removal_date: "2024-07-12"
63
+ }
64
+ ];
65
+
66
+ // Whether to retrieve data from the primary database instance.
67
+ // This decreases performance but ensures data retrieved is up to date even immediately after an update.
68
+ // Learn more about [Wix Data and eventual consistency](https://dev.wix.com/api/rest/wix-data/wix-data/eventual-consistency).
69
+ //
70
+ // Default: `false`
71
+ bool consistent_read = 11;
72
+
73
+ // Language to translate result text into, in [IETF BCP 47 language tag](https://en.wikipedia.org/wiki/IETF_language_tag) format.
74
+ // If provided, the result text is returned in the specified language.
75
+ // **Note:** Translation for the specified language must be enabled for the collection in [Wix Multilingual](https://www.wix.com/app-market/wix-multilingual).
76
+ //
77
+ // If not provided, result text is not translated.
78
+ google.protobuf.StringValue language = 12 [(wix.api.format) = LANGUAGE_TAG];
79
+
80
+ // Fields to return for each referenced item. Only fields specified in the array are included in the response. If the array is empty, all fields are returned.
81
+ // **Note:** The `_id` system field is always returned.
82
+ repeated string fields = 13 [(wix.api.maxSize) = 10000, (wix.api.maxLength) = 1000];
83
+
84
+ // Additional parameters specific to the [Wix app collection](https://support.wix.com/en/article/cms-formerly-content-manager-working-with-wix-app-collections) you are querying:
85
+ //
86
+ // When querying the Wix Stores [Products collection](https://dev.wix.com/docs/develop-websites/articles/wix-apps/wix-e-commerce-stores/wix-stores-products-collection-fields), pass the following optional parameters:
87
+ // - `includeHiddenProducts`: Whether to include hidden products in the response. Default: `false`.
88
+ // - `includeVariants`: Whether to include product variants in the query. Default: `false`.
89
+ google.protobuf.Struct app_options = 14;
90
+
91
+ // Options for the Publish plugin.
92
+ // This plugin allows items in a [data collection](https://dev.wix.com/docs/rest/business-solutions/cms/data-collections/data-collection-object) to be marked as draft or published. Published items are visible to site visitors, while draft items are not.
93
+ PublishPluginOptions publish_plugin_options = 15;
94
+
95
+ // IDs of the referring items.
96
+ repeated string referring_item_ids = 16 [(wix.api.field_maturity) = ALPHA, (wix.api.maxSize) = 1000, (wix.api.maxLength) = 128];
97
+ }
98
+
99
+ message QueryReferencedDataItemsResponse {
100
+ message UnresolvedReference {
101
+ // ID of the referring item.
102
+ string referring_item_id = 3 [
103
+ deprecated = true,
104
+ (wix.api.field_deprecated) = {
105
+ target_removal_date: "2025-03-01"
106
+ },
107
+ (wix.api.maxLength) = 128
108
+ ];
109
+
110
+ // Field specified to query for references.
111
+ string referring_item_field_name = 4 [
112
+ deprecated = true,
113
+ (wix.api.field_deprecated) = {
114
+ target_removal_date: "2025-03-01"
115
+ },
116
+ (wix.api.maxLength) = 1000
117
+ ];
118
+
119
+ // ID of unresolved referenced item
120
+ string referenced_item_id = 5 [(wix.api.maxLength) = 128];
121
+
122
+ // Flag is set if item exists, but user is not authorized to read it
123
+ bool unauthorized = 6;
124
+ }
125
+
126
+ message ReferencedResult {
127
+ oneof entity {
128
+ // Data item referenced.
129
+ DataItem data_item = 1;
130
+
131
+ // Unresolved reference. Appears instead of the data item when the reference doesn't resolve, for example, when an ID isn't found or if an item is in draft state.
132
+ UnresolvedReference unresolved_reference = 2;
133
+ }
134
+
135
+ // ID of the referring item.
136
+ string referring_item_id = 3 [(wix.api.maxLength) = 128];
137
+ }
138
+
139
+ // Referenced items and/or IDs. For successfully resolved references, the referenced data item is returned. For references that can't be resolved, the ID is returned.
140
+ repeated ReferencedResult results = 1;
141
+
142
+ // Paging information.
143
+ upstream.wix.common.PagingMetadataV2 paging_metadata = 5;
144
+ }
145
+ ;
@@ -0,0 +1,157 @@
1
+ syntax = "proto3";
2
+
3
+ package com.wixpress.cloud.data.api.data;
4
+
5
+ import "google/protobuf/wrappers.proto";
6
+ import "google/protobuf/struct.proto";
7
+ import "wix/api/annotations.proto";
8
+ import "wix/api/validations.proto";
9
+ import "com/wixpress/cloud/data/api/common.proto";
10
+ import "com/wixpress/cloud/data/api/data/message/data-item.proto";
11
+ import "com/wixpress/cloud/data/api/data/message/options.proto";
12
+ import "com/wixpress/cloud/data/api/data/upstream/wix/common/paging.proto";
13
+ import "com/wixpress/cloud/data/api/data/upstream/wix/common/query.proto";
14
+
15
+ message QueryDataItemsRequest {
16
+ // Environment: LIVE or SANDBOX
17
+ Environment environment = 1 [(wix.api.field_exposure) = PRIVATE];
18
+
19
+ // ID of the collection to query.
20
+ string data_collection_id = 2 [(wix.api.maxLength) = 256];
21
+
22
+ // Query preferences. For more details on using queries, see [API Query Language](https://dev.wix.com/api/rest/getting-started/api-query-language).
23
+ upstream.wix.common.QueryV2 query = 3;
24
+
25
+ // Whether to return the total count in the response for a query with offset paging.
26
+ // When `true`, the `pagingMetadata` object in the response contains a `total` field.
27
+ //
28
+ // Default: `false`
29
+ bool return_total_count = 4;
30
+
31
+ // Properties for which to include referenced items in the query's results.
32
+ // Up to 50 referenced items can be included for each item that matches the query.
33
+ repeated string include_referenced_items = 5 [
34
+ deprecated = true,
35
+ (wix.api.field_deprecated) = {
36
+ replaced_by: "include_references"
37
+ target_removal_date: "2025-08-01"
38
+ },
39
+ (wix.api.maxSize) = 50,
40
+ (wix.api.maxLength) = 1000
41
+ ];
42
+
43
+ // Grid app id. Optional in Live segment.
44
+ google.protobuf.StringValue app_id = 6 [(wix.api.format) = GUID, (wix.api.field_exposure) = PRIVATE];
45
+
46
+ // Data access options
47
+ Options options = 7 [
48
+ (wix.api.field_exposure) = PRIVATE,
49
+ deprecated = true,
50
+ (wix.api.field_deprecated) = {
51
+ replaced_by: "inlined"
52
+ target_removal_date: "2024-07-12"
53
+ }
54
+ ];
55
+
56
+ // Whether to retrieve data from the primary database instance.
57
+ // This decreases performance but ensures data retrieved is up to date even immediately after an update.
58
+ // Learn more about [Wix Data and eventual consistency](https://dev.wix.com/api/rest/wix-data/wix-data/eventual-consistency).
59
+ //
60
+ // Default: `false`
61
+ bool consistent_read = 8;
62
+
63
+ // Language to translate result text into, in [IETF BCP 47 language tag](https://en.wikipedia.org/wiki/IETF_language_tag) format.
64
+ // If provided, the result text is returned in the specified language.
65
+ // **Note:** Translation for the specified language must be enabled for the collection in [Wix Multilingual](https://www.wix.com/app-market/wix-multilingual).
66
+ //
67
+ // If not provided, result text is not translated.
68
+ google.protobuf.StringValue language = 9 [(wix.api.format) = LANGUAGE_TAG];
69
+
70
+ // Request information about this collection caching
71
+ bool request_caching_info = 10 [(wix.api.field_exposure) = INTERNAL];
72
+
73
+ // Whether to suppress data hooks.
74
+ // When `true`, data hooks typically triggered by this endpoint don't run.
75
+ //
76
+ // **Note:** This option can only be used in code that runs in [the Wix site backend](https://dev.wix.com/docs/develop-websites/articles/coding-with-velo/backend-code/about-the-site-backend).
77
+ //
78
+ // Default: `false`
79
+ bool suppress_hooks = 11 [(wix.api.field_exposure) = PRIVATE];
80
+
81
+ // Additional parameters specific to the [Wix app collection](https://support.wix.com/en/article/cms-formerly-content-manager-working-with-wix-app-collections) you are querying.
82
+ //
83
+ // When querying the Wix Stores [Products collection](https://dev.wix.com/docs/develop-websites/articles/wix-apps/wix-e-commerce-stores/wix-stores-products-collection-fields), pass the following optional parameters:
84
+ // - `includeHiddenProducts`: Whether to include hidden products in the response. Default: `false`.
85
+ // - `includeVariants`: Whether to include product variants in the query. Default: `false`.
86
+ google.protobuf.Struct app_options = 12;
87
+
88
+ // Options for the Publish plugin.
89
+ // This plugin allows items in a [data collection](https://dev.wix.com/docs/rest/business-solutions/cms/data-collections/data-collection-object) to be marked as draft or published. Published items are visible to site visitors, while draft items are not.
90
+ PublishPluginOptions publish_plugin_options = 13;
91
+
92
+ // Options for retrieving referenced items.
93
+ repeated ReferencedItemOptions referenced_item_options = 14 [
94
+ deprecated = true,
95
+ (wix.api.field_deprecated) = {
96
+ replaced_by: "include_references"
97
+ target_removal_date: "2026-08-01"
98
+ },
99
+ (wix.api.maxSize) = 100
100
+ ];
101
+
102
+ message ReferencedItemOptions {
103
+ // Field containing references in the queried item.
104
+ string field_name = 1 [(wix.api.maxLength) = 1000];
105
+ // Maximum number of referenced items to include for each queried item.
106
+ google.protobuf.Int32Value limit = 2 [(wix.api.max) = 1000];
107
+ }
108
+
109
+ // Selects how sorting is applied to the response.
110
+ SortMode sort_mode = 15;
111
+
112
+ enum SortMode {
113
+ // Placeholder. Falls back to REGULAR.
114
+ UNKNOWN_SORT_MODE = 0 [(.wix.api.enum_maturity) = NOT_IMPLEMENTED];
115
+ // Use the sorting specified in query.sort.
116
+ WIX_QUERY = 1;
117
+ // Return randomly sorted results, disregarding query.sort.
118
+ RANDOM = 2;
119
+ }
120
+
121
+ // Additional configuration for the selected sorting mode.
122
+ oneof sort_mode_options {
123
+ option (.wix.api.aligned_with_enum).field = "sort_mode";
124
+ // Additional options for random sorting.
125
+ RandomOptions random_options = 16;
126
+ }
127
+
128
+ // Requests conditional fields. Currently used only in App Collections.
129
+ // Please refer to app collection documentation or [collection field definitions](https://dev.wix.com/docs/api-reference/business-solutions/cms/collection-management/data-collections/get-data-collection) for a list of valid values.
130
+ repeated string include_field_groups = 17 [(wix.api.maxSize) = 100, (wix.api.maxLength) = 100];
131
+
132
+ // Fields for which to include referenced items. For each reference field specified, the response includes the full data items being referenced. Use this to retrieve related data in a single call without additional queries. Maximum 100 reference configurations can be specified.
133
+ repeated IncludeReference include_references = 18 [(wix.api.maxSize) = 100];
134
+
135
+ message RandomOptions {
136
+ // Seed for the pseudo-random generator. The same seed always generates the same order.
137
+ google.protobuf.Int32Value seed = 1;
138
+ }
139
+ }
140
+
141
+ message QueryDataItemsResponse {
142
+ // Retrieved items.
143
+ repeated DataItem data_items = 1;
144
+
145
+ // Caching info, returned if `request_caching_info` is set and caching is allowed
146
+ CachingInfo caching_info = 2 [(wix.api.field_exposure) = INTERNAL];
147
+
148
+ // Paging information.
149
+ upstream.wix.common.PagingMetadataV2 paging_metadata = 5;
150
+ }
151
+
152
+ message CachingInfo {
153
+ // Caching tags for this collection
154
+ repeated string tags = 1 [(wix.api.maxLength) = 1024, (wix.api.maxSize) = 50];
155
+ // max caching time if set
156
+ google.protobuf.Int32Value max_age = 2;
157
+ }
@@ -0,0 +1,15 @@
1
+ syntax = "proto3";
2
+
3
+ package com.wixpress.cloud.data.api.data;
4
+
5
+ import "wix/api/errors.proto";
6
+ import "wix/api/annotations.proto";
7
+
8
+ message ReferenceMetadata {
9
+ // Index of the reference within the request array. Allows for correlation between request and response references.
10
+ int32 original_index = 2;
11
+ // Whether the requested action was successful for this reference. When `false`, the `error` field is populated.
12
+ bool success = 3;
13
+ // Details about the error in case of failure.
14
+ .wix.api.ApplicationError error = 4;
15
+ }
@@ -0,0 +1,42 @@
1
+ syntax = "proto3";
2
+
3
+ package com.wixpress.cloud.data.api.data;
4
+
5
+ import "google/protobuf/wrappers.proto";
6
+ import "google/protobuf/struct.proto";
7
+ import "wix/api/annotations.proto";
8
+ import "wix/api/validations.proto";
9
+ import "com/wixpress/cloud/data/api/common.proto";
10
+ import "com/wixpress/cloud/data/api/data/message/data-item-reference.proto";
11
+ import "com/wixpress/cloud/data/api/data/message/options.proto";
12
+
13
+ message RemoveDataItemReferenceRequest {
14
+ // Environment: LIVE or SANDBOX
15
+ Environment environment = 1 [(wix.api.field_exposure) = PRIVATE];
16
+
17
+ // ID of the collection containing the referring item.
18
+ string data_collection_id = 2 [(wix.api.maxLength) = 256];
19
+
20
+ // Reference to remove.
21
+ DataItemReference data_item_reference = 3;
22
+
23
+ // Grid app id. Optional in Live segment.
24
+ google.protobuf.StringValue app_id = 4 [(wix.api.format) = GUID, (wix.api.field_exposure) = PRIVATE];
25
+
26
+ // Data access options
27
+ Options options = 5 [
28
+ (wix.api.field_exposure) = PRIVATE,
29
+ deprecated = true,
30
+ (wix.api.field_deprecated) = {
31
+ replaced_by: "inlined"
32
+ target_removal_date: "2024-07-12"
33
+ }
34
+ ];
35
+
36
+ google.protobuf.Struct app_options = 6 [(wix.api.field_exposure) = PRIVATE];
37
+ }
38
+
39
+ message RemoveDataItemReferenceResponse {
40
+ // Removed reference.
41
+ DataItemReference data_item_reference = 1;
42
+ }