@wix/bex-utils 2.48.0 → 2.49.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 (276) hide show
  1. package/@wix/ambassador-app-settings-v1-settings/build/cjs/proto/proto-generated.js +8 -2
  2. package/@wix/ambassador-app-settings-v1-settings/package.json +2 -2
  3. package/@wix/ambassador-devcenter-app-market-listing-v1-market-listing/build/cjs/proto/proto-generated.js +145 -2
  4. package/@wix/ambassador-devcenter-app-market-listing-v1-market-listing/package.json +2 -2
  5. package/@wix/ambassador-fedinfra-exportservice-v1-export-async-job/build/cjs/proto/client/proto-generated.d.ts +560 -106
  6. package/@wix/ambassador-fedinfra-exportservice-v1-export-async-job/build/cjs/proto/proto-generated.d.ts +280 -53
  7. package/@wix/ambassador-fedinfra-exportservice-v1-export-async-job/build/cjs/proto/proto-generated.js +3840 -528
  8. package/@wix/ambassador-fedinfra-exportservice-v1-export-async-job/build/cjs/proto/server/proto-generated.d.ts +558 -106
  9. package/@wix/ambassador-fedinfra-exportservice-v1-export-async-job/build/cjs/types.impl.d.ts +200 -43
  10. package/@wix/ambassador-fedinfra-exportservice-v1-export-async-job/build/cjs/types.impl.js +1 -0
  11. package/@wix/ambassador-fedinfra-exportservice-v1-export-async-job/build/cjs/types.impl.js.map +1 -1
  12. package/@wix/ambassador-fedinfra-exportservice-v1-export-async-job/build/es/types.impl.d.ts +200 -43
  13. package/@wix/ambassador-fedinfra-exportservice-v1-export-async-job/build/es/types.impl.js +1 -0
  14. package/@wix/ambassador-fedinfra-exportservice-v1-export-async-job/build/es/types.impl.js.map +1 -1
  15. package/@wix/ambassador-fedinfra-exportservice-v1-export-async-job/package.json +3 -3
  16. package/@wix/ambassador-fedinfra-exportservice-v1-export-async-job/src/main/proto/com/wix/ecommerce/catalog_spi/api/v1/additional_fee.proto +1 -1
  17. package/@wix/ambassador-fedinfra-exportservice-v1-export-async-job/src/main/proto/com/wix/ecommerce/catalog_spi/api/v1/catalog_reference.proto +1 -1
  18. package/@wix/ambassador-fedinfra-exportservice-v1-export-async-job/src/main/proto/com/wix/ecommerce/catalog_spi/api/v1/item_data.proto +9 -10
  19. package/@wix/ambassador-fedinfra-exportservice-v1-export-async-job/src/main/proto/com/wix/ecommerce/catalog_spi/api/v1/platform_catalog_spi.proto +2 -3
  20. package/@wix/ambassador-fedinfra-exportservice-v1-export-async-job/src/main/proto/com/wix/ecommerce/catalog_spi/api/v1/subscription_option_info.proto +4 -6
  21. package/@wix/ambassador-fedinfra-exportservice-v1-export-async-job/src/main/proto/com/wix/ecommerce/platform_common/api/locations.proto +6 -2
  22. package/@wix/ambassador-fedinfra-exportservice-v1-export-async-job/src/main/proto/com/wix/ecommerce/platform_common/api/unit_system.proto +15 -0
  23. package/@wix/ambassador-fedinfra-exportservice-v1-export-async-job/src/main/proto/com/wix/ecommerce/platform_common/api/weight.proto +3 -3
  24. package/@wix/ambassador-fedinfra-exportservice-v1-export-async-job/src/main/proto/com/wixpress/metasite/event/api/dto.proto +15 -0
  25. package/@wix/ambassador-fedinfra-exportservice-v1-export-async-job/src/main/proto/com/wixpress/metasite/event/api/events.proto +17 -0
  26. package/@wix/ambassador-fedinfra-exportservice-v1-export-async-job/src/main/proto/com/wixpress/metasite/event/api/full.proto +3 -0
  27. package/@wix/ambassador-fedinfra-exportservice-v1-export-async-job/src/main/proto/com/wixpress/metasite/event/api/special.proto +9 -0
  28. package/@wix/ambassador-fedinfra-exportservice-v1-export-async-job/src/main/proto/wix/api/annotations.proto +64 -9
  29. package/@wix/ambassador-fedinfra-exportservice-v1-export-async-job/src/main/proto/wix/api/api_errors.proto +48 -23
  30. package/@wix/ambassador-fedinfra-exportservice-v1-export-async-job/src/main/proto/wix/api/entity.proto +9 -4
  31. package/@wix/ambassador-fedinfra-exportservice-v1-export-async-job/src/main/proto/wix/api/errors.proto +6 -0
  32. package/@wix/ambassador-fedinfra-exportservice-v1-export-async-job/src/main/proto/wix/api/sla.proto +1 -1
  33. package/@wix/ambassador-fedinfra-exportservice-v1-export-async-job/src/main/proto/wix/catalog/api/v1/catalog.proto +0 -3
  34. package/@wix/ambassador-fedinfra-exportservice-v1-export-async-job/src/main/proto/wix/common/data/errors.proto +14 -1
  35. package/@wix/ambassador-fedinfra-exportservice-v1-export-async-job/src/main/proto/wix/common/media.proto +27 -0
  36. package/@wix/ambassador-fedinfra-exportservice-v1-export-async-job/src/main/proto/wix/common/tags.proto +2 -2
  37. package/@wix/ambassador-fedinfra-exportservice-v1-export-async-job/src/main/proto/wix/inventory/api/v1/internal/locationRemoval.proto +1 -1
  38. package/@wix/ambassador-fedinfra-exportservice-v1-export-async-job/src/main/proto/wix/payment/api/pay/v2/accounts.proto +18 -0
  39. package/@wix/ambassador-fedinfra-exportservice-v1-export-async-job/src/main/proto/wix/payment/api/pay/v2/payment-methods.proto +22 -10
  40. package/@wix/ambassador-fedinfra-exportservice-v1-export-async-job/src/main/proto/wix/payment/api/pay/v2/payments.proto +1 -0
  41. package/@wix/ambassador-fedinfra-exportservice-v1-export-async-job/src/main/proto/wix/payment/api/pay/v2/paypal-payment-method.proto +3 -0
  42. package/@wix/ambassador-fedinfra-exportservice-v1-export-async-job/src/main/proto/wix/payment/api/pay/v2/resources/order-description.proto +1 -1
  43. package/@wix/ambassador-fedinfra-exportservice-v1-export-async-job/src/main/proto/wix/payment/api/pay/v2/resources/payment-method.proto +58 -35
  44. package/@wix/ambassador-fedinfra-exportservice-v1-export-async-job/src/main/proto/wix/payment/api/pay/v2/resources/payment.proto +4 -0
  45. package/@wix/ambassador-fedinfra-exportservice-v1-export-async-job/src/main/proto/wix/payment/api/pay/v3/resources/transaction.proto +4 -1
  46. package/@wix/ambassador-fedinfra-exportservice-v1-export-async-job/src/main/proto/wix/stores/catalog/provision/v1/provision_action_events.proto +1 -1
  47. package/@wix/ambassador-fedinfra-exportservice-v1-export-async-job/src/main/proto/wix/stores/catalog/provision/v1/stores_provision_service.proto +51 -4
  48. package/@wix/ambassador-infra-asyncjobs-v1-async-job/build/cjs/proto/proto-generated.js +19 -2
  49. package/@wix/ambassador-infra-asyncjobs-v1-async-job/package.json +2 -2
  50. package/@wix/ambassador-items-selection-spi-host-v1-provider/build/cjs/proto/client/proto-generated.d.ts +30 -0
  51. package/@wix/ambassador-items-selection-spi-host-v1-provider/build/cjs/proto/proto-generated.d.ts +15 -0
  52. package/@wix/ambassador-items-selection-spi-host-v1-provider/build/cjs/proto/proto-generated.js +188 -2
  53. package/@wix/ambassador-items-selection-spi-host-v1-provider/build/cjs/proto/server/proto-generated.d.ts +30 -0
  54. package/@wix/ambassador-items-selection-spi-host-v1-provider/package.json +2 -2
  55. package/@wix/ambassador-items-selection-spi-host-v1-provider/src/main/proto/wix/api/annotations.proto +6 -6
  56. package/@wix/ambassador-items-selection-spi-host-v1-provider/src/main/proto/wix/api/api_errors.proto +48 -23
  57. package/@wix/ambassador-items-selection-spi-host-v1-provider/src/main/proto/wix/api/entity.proto +3 -4
  58. package/@wix/ambassador-items-selection-spi-host-v1-provider/src/main/proto/wix/api/sla.proto +1 -1
  59. package/@wix/ambassador-media-site-media-v1-file-descriptor/build/cjs/proto/proto-generated.js +25 -2
  60. package/@wix/ambassador-media-site-media-v1-file-descriptor/package.json +2 -2
  61. package/@wix/ambassador-os-tags-v1-tag/build/cjs/proto/client/proto-generated.d.ts +56 -0
  62. package/@wix/ambassador-os-tags-v1-tag/build/cjs/proto/proto-generated.d.ts +28 -0
  63. package/@wix/ambassador-os-tags-v1-tag/build/cjs/proto/proto-generated.js +348 -6
  64. package/@wix/ambassador-os-tags-v1-tag/build/cjs/proto/server/proto-generated.d.ts +56 -0
  65. package/@wix/ambassador-os-tags-v1-tag/package.json +2 -2
  66. package/@wix/ambassador-os-tags-v1-tag/src/main/proto/src/main/proto/com/wixpress/items_selection/spi/v1/items_selection_config.proto +1 -0
  67. package/@wix/ambassador-os-tags-v1-tag/src/main/proto/wix/api/annotations.proto +9 -6
  68. package/@wix/ambassador-os-tags-v1-tag/src/main/proto/wix/api/api_errors.proto +48 -23
  69. package/@wix/ambassador-os-tags-v1-tag/src/main/proto/wix/api/entity.proto +9 -4
  70. package/@wix/ambassador-os-tags-v1-tag/src/main/proto/wix/api/sla.proto +1 -1
  71. package/@wix/bex-bundled-mini-essentials/CHANGELOG.md +4 -0
  72. package/@wix/bex-bundled-mini-essentials/dist/cjs/bex-bundled-mini-essentials.js +75 -76
  73. package/@wix/bex-bundled-mini-essentials/dist/cjs/bex-bundled-mini-essentials.js.map +1 -1
  74. package/@wix/bex-bundled-mini-essentials/dist/cjs/exports/testkit/index.js +74 -75
  75. package/@wix/bex-bundled-mini-essentials/dist/cjs/exports/testkit/index.js.map +1 -1
  76. package/@wix/bex-bundled-mini-essentials/dist/esm/bex-bundled-mini-essentials.js +179 -18
  77. package/@wix/bex-bundled-mini-essentials/dist/esm/bex-bundled-mini-essentials.js.map +1 -1
  78. package/@wix/bex-bundled-mini-essentials/dist/esm/{chunk-JWE2D5DY.js → chunk-PLDDJCW6.js} +2 -12
  79. package/@wix/bex-bundled-mini-essentials/dist/esm/chunk-PLDDJCW6.js.map +1 -0
  80. package/@wix/bex-bundled-mini-essentials/dist/esm/chunk-U24CPPEA.js +17 -0
  81. package/@wix/bex-bundled-mini-essentials/dist/esm/chunk-U24CPPEA.js.map +1 -0
  82. package/@wix/bex-bundled-mini-essentials/dist/esm/common-errors_ar-LFVNFS2J.js +34 -0
  83. package/@wix/bex-bundled-mini-essentials/dist/esm/common-errors_ar-LFVNFS2J.js.map +1 -0
  84. package/@wix/bex-bundled-mini-essentials/dist/esm/common-errors_bg-MTXA6CZY.js +34 -0
  85. package/@wix/bex-bundled-mini-essentials/dist/esm/common-errors_bg-MTXA6CZY.js.map +1 -0
  86. package/@wix/bex-bundled-mini-essentials/dist/esm/common-errors_ca-HJPWMPW7.js +34 -0
  87. package/@wix/bex-bundled-mini-essentials/dist/esm/common-errors_ca-HJPWMPW7.js.map +1 -0
  88. package/@wix/bex-bundled-mini-essentials/dist/esm/common-errors_cs-K37PKR2K.js +34 -0
  89. package/@wix/bex-bundled-mini-essentials/dist/esm/common-errors_cs-K37PKR2K.js.map +1 -0
  90. package/@wix/bex-bundled-mini-essentials/dist/esm/common-errors_da-25IK43OO.js +34 -0
  91. package/@wix/bex-bundled-mini-essentials/dist/esm/common-errors_da-25IK43OO.js.map +1 -0
  92. package/@wix/bex-bundled-mini-essentials/dist/esm/common-errors_de-AYRUO363.js +34 -0
  93. package/@wix/bex-bundled-mini-essentials/dist/esm/common-errors_de-AYRUO363.js.map +1 -0
  94. package/@wix/bex-bundled-mini-essentials/dist/esm/common-errors_el-2AGQO6PX.js +34 -0
  95. package/@wix/bex-bundled-mini-essentials/dist/esm/common-errors_el-2AGQO6PX.js.map +1 -0
  96. package/@wix/bex-bundled-mini-essentials/dist/esm/common-errors_en-JO2G7ZCY.js +34 -0
  97. package/@wix/bex-bundled-mini-essentials/dist/esm/common-errors_en-JO2G7ZCY.js.map +1 -0
  98. package/@wix/bex-bundled-mini-essentials/dist/esm/common-errors_es-JK5COTEN.js +34 -0
  99. package/@wix/bex-bundled-mini-essentials/dist/esm/common-errors_es-JK5COTEN.js.map +1 -0
  100. package/@wix/bex-bundled-mini-essentials/dist/esm/common-errors_fi-PYXR5MB3.js +34 -0
  101. package/@wix/bex-bundled-mini-essentials/dist/esm/common-errors_fi-PYXR5MB3.js.map +1 -0
  102. package/@wix/bex-bundled-mini-essentials/dist/esm/common-errors_fr-YKEZIBKX.js +34 -0
  103. package/@wix/bex-bundled-mini-essentials/dist/esm/common-errors_fr-YKEZIBKX.js.map +1 -0
  104. package/@wix/bex-bundled-mini-essentials/dist/esm/common-errors_he-EMKYOLAN.js +34 -0
  105. package/@wix/bex-bundled-mini-essentials/dist/esm/common-errors_he-EMKYOLAN.js.map +1 -0
  106. package/@wix/bex-bundled-mini-essentials/dist/esm/common-errors_hi-AV4BWUTE.js +34 -0
  107. package/@wix/bex-bundled-mini-essentials/dist/esm/common-errors_hi-AV4BWUTE.js.map +1 -0
  108. package/@wix/bex-bundled-mini-essentials/dist/esm/common-errors_hr-RWY64K7L.js +34 -0
  109. package/@wix/bex-bundled-mini-essentials/dist/esm/common-errors_hr-RWY64K7L.js.map +1 -0
  110. package/@wix/bex-bundled-mini-essentials/dist/esm/common-errors_hu-QBBCBMMB.js +34 -0
  111. package/@wix/bex-bundled-mini-essentials/dist/esm/common-errors_hu-QBBCBMMB.js.map +1 -0
  112. package/@wix/bex-bundled-mini-essentials/dist/esm/common-errors_id-VP4LUR36.js +34 -0
  113. package/@wix/bex-bundled-mini-essentials/dist/esm/common-errors_id-VP4LUR36.js.map +1 -0
  114. package/@wix/bex-bundled-mini-essentials/dist/esm/common-errors_it-FYZ75MT3.js +34 -0
  115. package/@wix/bex-bundled-mini-essentials/dist/esm/common-errors_it-FYZ75MT3.js.map +1 -0
  116. package/@wix/bex-bundled-mini-essentials/dist/esm/common-errors_ja-VQB44ZSI.js +34 -0
  117. package/@wix/bex-bundled-mini-essentials/dist/esm/common-errors_ja-VQB44ZSI.js.map +1 -0
  118. package/@wix/bex-bundled-mini-essentials/dist/esm/common-errors_ko-GHHT3DGY.js +34 -0
  119. package/@wix/bex-bundled-mini-essentials/dist/esm/common-errors_ko-GHHT3DGY.js.map +1 -0
  120. package/@wix/bex-bundled-mini-essentials/dist/esm/common-errors_lt-4KBOUDLP.js +34 -0
  121. package/@wix/bex-bundled-mini-essentials/dist/esm/common-errors_lt-4KBOUDLP.js.map +1 -0
  122. package/@wix/bex-bundled-mini-essentials/dist/esm/common-errors_lv-WBN6RFLD.js +34 -0
  123. package/@wix/bex-bundled-mini-essentials/dist/esm/common-errors_lv-WBN6RFLD.js.map +1 -0
  124. package/@wix/bex-bundled-mini-essentials/dist/esm/common-errors_ms-VBHOWK2S.js +34 -0
  125. package/@wix/bex-bundled-mini-essentials/dist/esm/common-errors_ms-VBHOWK2S.js.map +1 -0
  126. package/@wix/bex-bundled-mini-essentials/dist/esm/common-errors_nl-3KFJZWBJ.js +34 -0
  127. package/@wix/bex-bundled-mini-essentials/dist/esm/common-errors_nl-3KFJZWBJ.js.map +1 -0
  128. package/@wix/bex-bundled-mini-essentials/dist/esm/common-errors_no-POPCNM5W.js +34 -0
  129. package/@wix/bex-bundled-mini-essentials/dist/esm/common-errors_no-POPCNM5W.js.map +1 -0
  130. package/@wix/bex-bundled-mini-essentials/dist/esm/common-errors_pl-LZDZDDVF.js +34 -0
  131. package/@wix/bex-bundled-mini-essentials/dist/esm/common-errors_pl-LZDZDDVF.js.map +1 -0
  132. package/@wix/bex-bundled-mini-essentials/dist/esm/common-errors_pt-HNERKNLL.js +34 -0
  133. package/@wix/bex-bundled-mini-essentials/dist/esm/common-errors_pt-HNERKNLL.js.map +1 -0
  134. package/@wix/bex-bundled-mini-essentials/dist/esm/common-errors_ro-LYELKOPQ.js +34 -0
  135. package/@wix/bex-bundled-mini-essentials/dist/esm/common-errors_ro-LYELKOPQ.js.map +1 -0
  136. package/@wix/bex-bundled-mini-essentials/dist/esm/common-errors_ru-BPN44ZV3.js +34 -0
  137. package/@wix/bex-bundled-mini-essentials/dist/esm/common-errors_ru-BPN44ZV3.js.map +1 -0
  138. package/@wix/bex-bundled-mini-essentials/dist/esm/common-errors_sk-MVMGHSRL.js +34 -0
  139. package/@wix/bex-bundled-mini-essentials/dist/esm/common-errors_sk-MVMGHSRL.js.map +1 -0
  140. package/@wix/bex-bundled-mini-essentials/dist/esm/common-errors_sl-CHPXKGNR.js +34 -0
  141. package/@wix/bex-bundled-mini-essentials/dist/esm/common-errors_sl-CHPXKGNR.js.map +1 -0
  142. package/@wix/bex-bundled-mini-essentials/dist/esm/common-errors_sv-HUVTDCQI.js +34 -0
  143. package/@wix/bex-bundled-mini-essentials/dist/esm/common-errors_sv-HUVTDCQI.js.map +1 -0
  144. package/@wix/bex-bundled-mini-essentials/dist/esm/common-errors_th-E2G5DJHR.js +34 -0
  145. package/@wix/bex-bundled-mini-essentials/dist/esm/common-errors_th-E2G5DJHR.js.map +1 -0
  146. package/@wix/bex-bundled-mini-essentials/dist/esm/common-errors_tl-LPFJRVGY.js +34 -0
  147. package/@wix/bex-bundled-mini-essentials/dist/esm/common-errors_tl-LPFJRVGY.js.map +1 -0
  148. package/@wix/bex-bundled-mini-essentials/dist/esm/common-errors_tr-XY5HGJCR.js +34 -0
  149. package/@wix/bex-bundled-mini-essentials/dist/esm/common-errors_tr-XY5HGJCR.js.map +1 -0
  150. package/@wix/bex-bundled-mini-essentials/dist/esm/common-errors_uk-SWUOAG7Y.js +34 -0
  151. package/@wix/bex-bundled-mini-essentials/dist/esm/common-errors_uk-SWUOAG7Y.js.map +1 -0
  152. package/@wix/bex-bundled-mini-essentials/dist/esm/common-errors_vi-VPQ7J3CX.js +34 -0
  153. package/@wix/bex-bundled-mini-essentials/dist/esm/common-errors_vi-VPQ7J3CX.js.map +1 -0
  154. package/@wix/bex-bundled-mini-essentials/dist/esm/common-errors_zh-APZYKKMZ.js +34 -0
  155. package/@wix/bex-bundled-mini-essentials/dist/esm/common-errors_zh-APZYKKMZ.js.map +1 -0
  156. package/@wix/bex-bundled-mini-essentials/dist/esm/{commonErrorsMapping-7MKNYHWZ.js → commonErrorsMapping-5KWGHRDR.js} +3 -2
  157. package/@wix/bex-bundled-mini-essentials/dist/esm/{commonErrorsMapping-7MKNYHWZ.js.map → commonErrorsMapping-5KWGHRDR.js.map} +1 -1
  158. package/@wix/bex-bundled-mini-essentials/dist/esm/exports/testkit/{chunk-JWE2D5DY.js → chunk-PLDDJCW6.js} +2 -12
  159. package/@wix/bex-bundled-mini-essentials/dist/esm/exports/testkit/chunk-PLDDJCW6.js.map +1 -0
  160. package/@wix/bex-bundled-mini-essentials/dist/esm/exports/testkit/chunk-U24CPPEA.js +17 -0
  161. package/@wix/bex-bundled-mini-essentials/dist/esm/exports/testkit/chunk-U24CPPEA.js.map +1 -0
  162. package/@wix/bex-bundled-mini-essentials/dist/esm/exports/testkit/common-errors_ar-LI5PLBCE.js +34 -0
  163. package/@wix/bex-bundled-mini-essentials/dist/esm/exports/testkit/common-errors_ar-LI5PLBCE.js.map +1 -0
  164. package/@wix/bex-bundled-mini-essentials/dist/esm/exports/testkit/common-errors_bg-EAZSERQM.js +34 -0
  165. package/@wix/bex-bundled-mini-essentials/dist/esm/exports/testkit/common-errors_bg-EAZSERQM.js.map +1 -0
  166. package/@wix/bex-bundled-mini-essentials/dist/esm/exports/testkit/common-errors_ca-4664Z5VP.js +34 -0
  167. package/@wix/bex-bundled-mini-essentials/dist/esm/exports/testkit/common-errors_ca-4664Z5VP.js.map +1 -0
  168. package/@wix/bex-bundled-mini-essentials/dist/esm/exports/testkit/common-errors_cs-G3MWE2Q6.js +34 -0
  169. package/@wix/bex-bundled-mini-essentials/dist/esm/exports/testkit/common-errors_cs-G3MWE2Q6.js.map +1 -0
  170. package/@wix/bex-bundled-mini-essentials/dist/esm/exports/testkit/common-errors_da-4RUYZUII.js +34 -0
  171. package/@wix/bex-bundled-mini-essentials/dist/esm/exports/testkit/common-errors_da-4RUYZUII.js.map +1 -0
  172. package/@wix/bex-bundled-mini-essentials/dist/esm/exports/testkit/common-errors_de-X4Z6ZVR4.js +34 -0
  173. package/@wix/bex-bundled-mini-essentials/dist/esm/exports/testkit/common-errors_de-X4Z6ZVR4.js.map +1 -0
  174. package/@wix/bex-bundled-mini-essentials/dist/esm/exports/testkit/common-errors_el-HQDITK35.js +34 -0
  175. package/@wix/bex-bundled-mini-essentials/dist/esm/exports/testkit/common-errors_el-HQDITK35.js.map +1 -0
  176. package/@wix/bex-bundled-mini-essentials/dist/esm/exports/testkit/common-errors_en-4WNVKTLH.js +34 -0
  177. package/@wix/bex-bundled-mini-essentials/dist/esm/exports/testkit/common-errors_en-4WNVKTLH.js.map +1 -0
  178. package/@wix/bex-bundled-mini-essentials/dist/esm/exports/testkit/common-errors_es-S4CSVRF4.js +34 -0
  179. package/@wix/bex-bundled-mini-essentials/dist/esm/exports/testkit/common-errors_es-S4CSVRF4.js.map +1 -0
  180. package/@wix/bex-bundled-mini-essentials/dist/esm/exports/testkit/common-errors_fi-66WNHES2.js +34 -0
  181. package/@wix/bex-bundled-mini-essentials/dist/esm/exports/testkit/common-errors_fi-66WNHES2.js.map +1 -0
  182. package/@wix/bex-bundled-mini-essentials/dist/esm/exports/testkit/common-errors_fr-6WVI4CGQ.js +34 -0
  183. package/@wix/bex-bundled-mini-essentials/dist/esm/exports/testkit/common-errors_fr-6WVI4CGQ.js.map +1 -0
  184. package/@wix/bex-bundled-mini-essentials/dist/esm/exports/testkit/common-errors_he-XYP5Q7TU.js +34 -0
  185. package/@wix/bex-bundled-mini-essentials/dist/esm/exports/testkit/common-errors_he-XYP5Q7TU.js.map +1 -0
  186. package/@wix/bex-bundled-mini-essentials/dist/esm/exports/testkit/common-errors_hi-DNO4U56U.js +34 -0
  187. package/@wix/bex-bundled-mini-essentials/dist/esm/exports/testkit/common-errors_hi-DNO4U56U.js.map +1 -0
  188. package/@wix/bex-bundled-mini-essentials/dist/esm/exports/testkit/common-errors_hr-G4SFS5WC.js +34 -0
  189. package/@wix/bex-bundled-mini-essentials/dist/esm/exports/testkit/common-errors_hr-G4SFS5WC.js.map +1 -0
  190. package/@wix/bex-bundled-mini-essentials/dist/esm/exports/testkit/common-errors_hu-O7ZZSS77.js +34 -0
  191. package/@wix/bex-bundled-mini-essentials/dist/esm/exports/testkit/common-errors_hu-O7ZZSS77.js.map +1 -0
  192. package/@wix/bex-bundled-mini-essentials/dist/esm/exports/testkit/common-errors_id-EUSRMGPH.js +34 -0
  193. package/@wix/bex-bundled-mini-essentials/dist/esm/exports/testkit/common-errors_id-EUSRMGPH.js.map +1 -0
  194. package/@wix/bex-bundled-mini-essentials/dist/esm/exports/testkit/common-errors_it-FR4XJ2UY.js +34 -0
  195. package/@wix/bex-bundled-mini-essentials/dist/esm/exports/testkit/common-errors_it-FR4XJ2UY.js.map +1 -0
  196. package/@wix/bex-bundled-mini-essentials/dist/esm/exports/testkit/common-errors_ja-I3S37S6K.js +34 -0
  197. package/@wix/bex-bundled-mini-essentials/dist/esm/exports/testkit/common-errors_ja-I3S37S6K.js.map +1 -0
  198. package/@wix/bex-bundled-mini-essentials/dist/esm/exports/testkit/common-errors_ko-UPYLEFHG.js +34 -0
  199. package/@wix/bex-bundled-mini-essentials/dist/esm/exports/testkit/common-errors_ko-UPYLEFHG.js.map +1 -0
  200. package/@wix/bex-bundled-mini-essentials/dist/esm/exports/testkit/common-errors_lt-IL7XCZWC.js +34 -0
  201. package/@wix/bex-bundled-mini-essentials/dist/esm/exports/testkit/common-errors_lt-IL7XCZWC.js.map +1 -0
  202. package/@wix/bex-bundled-mini-essentials/dist/esm/exports/testkit/common-errors_lv-5WARGCFT.js +34 -0
  203. package/@wix/bex-bundled-mini-essentials/dist/esm/exports/testkit/common-errors_lv-5WARGCFT.js.map +1 -0
  204. package/@wix/bex-bundled-mini-essentials/dist/esm/exports/testkit/common-errors_ms-OEGKBHNP.js +34 -0
  205. package/@wix/bex-bundled-mini-essentials/dist/esm/exports/testkit/common-errors_ms-OEGKBHNP.js.map +1 -0
  206. package/@wix/bex-bundled-mini-essentials/dist/esm/exports/testkit/common-errors_nl-ZNCTPA5K.js +34 -0
  207. package/@wix/bex-bundled-mini-essentials/dist/esm/exports/testkit/common-errors_nl-ZNCTPA5K.js.map +1 -0
  208. package/@wix/bex-bundled-mini-essentials/dist/esm/exports/testkit/common-errors_no-ZNR5WII7.js +34 -0
  209. package/@wix/bex-bundled-mini-essentials/dist/esm/exports/testkit/common-errors_no-ZNR5WII7.js.map +1 -0
  210. package/@wix/bex-bundled-mini-essentials/dist/esm/exports/testkit/common-errors_pl-IATLIMD7.js +34 -0
  211. package/@wix/bex-bundled-mini-essentials/dist/esm/exports/testkit/common-errors_pl-IATLIMD7.js.map +1 -0
  212. package/@wix/bex-bundled-mini-essentials/dist/esm/exports/testkit/common-errors_pt-CZJC55AS.js +34 -0
  213. package/@wix/bex-bundled-mini-essentials/dist/esm/exports/testkit/common-errors_pt-CZJC55AS.js.map +1 -0
  214. package/@wix/bex-bundled-mini-essentials/dist/esm/exports/testkit/common-errors_ro-YPF7DRHV.js +34 -0
  215. package/@wix/bex-bundled-mini-essentials/dist/esm/exports/testkit/common-errors_ro-YPF7DRHV.js.map +1 -0
  216. package/@wix/bex-bundled-mini-essentials/dist/esm/exports/testkit/common-errors_ru-BABYGSK2.js +34 -0
  217. package/@wix/bex-bundled-mini-essentials/dist/esm/exports/testkit/common-errors_ru-BABYGSK2.js.map +1 -0
  218. package/@wix/bex-bundled-mini-essentials/dist/esm/exports/testkit/common-errors_sk-KWTQONBZ.js +34 -0
  219. package/@wix/bex-bundled-mini-essentials/dist/esm/exports/testkit/common-errors_sk-KWTQONBZ.js.map +1 -0
  220. package/@wix/bex-bundled-mini-essentials/dist/esm/exports/testkit/common-errors_sl-VUU4FSWX.js +34 -0
  221. package/@wix/bex-bundled-mini-essentials/dist/esm/exports/testkit/common-errors_sl-VUU4FSWX.js.map +1 -0
  222. package/@wix/bex-bundled-mini-essentials/dist/esm/exports/testkit/common-errors_sv-UWKCHNXS.js +34 -0
  223. package/@wix/bex-bundled-mini-essentials/dist/esm/exports/testkit/common-errors_sv-UWKCHNXS.js.map +1 -0
  224. package/@wix/bex-bundled-mini-essentials/dist/esm/exports/testkit/common-errors_th-UTG67YBV.js +34 -0
  225. package/@wix/bex-bundled-mini-essentials/dist/esm/exports/testkit/common-errors_th-UTG67YBV.js.map +1 -0
  226. package/@wix/bex-bundled-mini-essentials/dist/esm/exports/testkit/common-errors_tl-WRTF63WQ.js +34 -0
  227. package/@wix/bex-bundled-mini-essentials/dist/esm/exports/testkit/common-errors_tl-WRTF63WQ.js.map +1 -0
  228. package/@wix/bex-bundled-mini-essentials/dist/esm/exports/testkit/common-errors_tr-ZMY3LDT3.js +34 -0
  229. package/@wix/bex-bundled-mini-essentials/dist/esm/exports/testkit/common-errors_tr-ZMY3LDT3.js.map +1 -0
  230. package/@wix/bex-bundled-mini-essentials/dist/esm/exports/testkit/common-errors_uk-E2C35BJA.js +34 -0
  231. package/@wix/bex-bundled-mini-essentials/dist/esm/exports/testkit/common-errors_uk-E2C35BJA.js.map +1 -0
  232. package/@wix/bex-bundled-mini-essentials/dist/esm/exports/testkit/common-errors_vi-QPEKTVXS.js +34 -0
  233. package/@wix/bex-bundled-mini-essentials/dist/esm/exports/testkit/common-errors_vi-QPEKTVXS.js.map +1 -0
  234. package/@wix/bex-bundled-mini-essentials/dist/esm/exports/testkit/common-errors_zh-L26NOAI4.js +34 -0
  235. package/@wix/bex-bundled-mini-essentials/dist/esm/exports/testkit/common-errors_zh-L26NOAI4.js.map +1 -0
  236. package/@wix/bex-bundled-mini-essentials/dist/esm/exports/testkit/{commonErrorsMapping-JNGN3KHR.js → commonErrorsMapping-KHPEVC5F.js} +3 -2
  237. package/@wix/bex-bundled-mini-essentials/dist/esm/exports/testkit/{commonErrorsMapping-JNGN3KHR.js.map → commonErrorsMapping-KHPEVC5F.js.map} +1 -1
  238. package/@wix/bex-bundled-mini-essentials/dist/esm/exports/testkit/index.js +178 -17
  239. package/@wix/bex-bundled-mini-essentials/dist/esm/exports/testkit/index.js.map +1 -1
  240. package/@wix/bex-bundled-mini-essentials/dist/tsconfig.tsbuildinfo +1 -1
  241. package/@wix/bex-bundled-mini-essentials/package.json +1 -1
  242. package/@wix/bi-logger-os-data/dist/cjs/index.js +3 -0
  243. package/@wix/bi-logger-os-data/dist/cjs/index.js.map +1 -1
  244. package/@wix/bi-logger-os-data/dist/cjs/testkit/client-testkit.js +3 -0
  245. package/@wix/bi-logger-os-data/dist/cjs/testkit/client-testkit.js.map +1 -1
  246. package/@wix/bi-logger-os-data/dist/cjs/testkit/common.js +92 -21
  247. package/@wix/bi-logger-os-data/dist/cjs/testkit/common.js.map +1 -1
  248. package/@wix/bi-logger-os-data/dist/cjs/testkit/node-testkit.js +3 -0
  249. package/@wix/bi-logger-os-data/dist/cjs/testkit/node-testkit.js.map +1 -1
  250. package/@wix/bi-logger-os-data/dist/cjs/v2/index.js +50 -20
  251. package/@wix/bi-logger-os-data/dist/cjs/v2/index.js.map +1 -1
  252. package/@wix/bi-logger-os-data/dist/esm/index.js +3 -0
  253. package/@wix/bi-logger-os-data/dist/esm/index.js.map +1 -1
  254. package/@wix/bi-logger-os-data/dist/esm/testkit/client-testkit.js +3 -0
  255. package/@wix/bi-logger-os-data/dist/esm/testkit/client-testkit.js.map +1 -1
  256. package/@wix/bi-logger-os-data/dist/esm/testkit/common.js +92 -21
  257. package/@wix/bi-logger-os-data/dist/esm/testkit/common.js.map +1 -1
  258. package/@wix/bi-logger-os-data/dist/esm/testkit/node-testkit.js +3 -0
  259. package/@wix/bi-logger-os-data/dist/esm/testkit/node-testkit.js.map +1 -1
  260. package/@wix/bi-logger-os-data/dist/esm/v2/index.js +35 -6
  261. package/@wix/bi-logger-os-data/dist/esm/v2/index.js.map +1 -1
  262. package/@wix/bi-logger-os-data/dist/types/index.d.ts +3 -2
  263. package/@wix/bi-logger-os-data/dist/types/testkit/client-testkit.d.ts +21 -6
  264. package/@wix/bi-logger-os-data/dist/types/testkit/node-testkit.d.ts +21 -6
  265. package/@wix/bi-logger-os-data/dist/types/types.d.ts +21 -6
  266. package/@wix/bi-logger-os-data/dist/types/v2/index.d.ts +34 -7
  267. package/@wix/bi-logger-os-data/package.json +2 -2
  268. package/@wix/bi-logger-os-data/src/index.ts +6 -2
  269. package/@wix/bi-logger-os-data/src/testkit/client-testkit.ts +22 -6
  270. package/@wix/bi-logger-os-data/src/testkit/common.ts +105 -22
  271. package/@wix/bi-logger-os-data/src/testkit/node-testkit.ts +22 -6
  272. package/@wix/bi-logger-os-data/src/types.ts +44 -12
  273. package/@wix/bi-logger-os-data/src/v2/index.ts +37 -7
  274. package/package.json +3 -3
  275. package/@wix/bex-bundled-mini-essentials/dist/esm/chunk-JWE2D5DY.js.map +0 -1
  276. package/@wix/bex-bundled-mini-essentials/dist/esm/exports/testkit/chunk-JWE2D5DY.js.map +0 -1
@@ -46,17 +46,15 @@ message SubscriptionSettings {
46
46
 
47
47
  //The date the subscription will start. The subscription will be charged either now or according to freeTrialDays.
48
48
  google.protobuf.Timestamp start_date = 7 [(.wix.api.field_maturity) = ALPHA];
49
-
50
- //Whether to generate an order each billing cycle. An order will always be generated for the first billing cycle.
51
- // Default None => will behave like true
52
- google.protobuf.BoolValue generate_order_each_billing_cycle = 8 [(.wix.api.field_maturity) = ALPHA];
49
+
50
+ reserved 8;
53
51
  }
54
52
 
55
53
  message FreeTrialPeriod {
56
- // Frequency of priod. Values: DAY, WEEK, MONTH, YEAR
54
+ // Frequency of period. Values: DAY, WEEK, MONTH, YEAR
57
55
  .wix.payment.api.pay.v2.SubscriptionFrequency frequency = 1;
58
56
  // interval of period
59
- int32 interval = 2 [(.wix.api.min) = 1, (.wix.api.max) = 50];
57
+ int32 interval = 2 [(.wix.api.min) = 1, (.wix.api.max) = 999];
60
58
  }
61
59
 
62
60
  message Title {
@@ -4,13 +4,17 @@ package com.wix.ecommerce.platform_common.api;
4
4
 
5
5
  import "google/protobuf/wrappers.proto";
6
6
  import "wix/api/validations.proto";
7
+ import "wix/api/annotations.proto";
7
8
 
8
9
  message LocationAndQuantity {
9
10
  // Location id in the associated owner app.
10
11
  string id = 1 [(.wix.api.format) = GUID];
11
12
  // Location owner app, if not provided then the site business info locations will be used.
12
- google.protobuf.StringValue app_id = 2 [(.wix.api.format) = GUID];
13
+ google.protobuf.StringValue app_id = 2 [(.wix.api.format) = GUID, deprecated = true, (.wix.api.field_deprecated) = {
14
+ target_removal_date: "2025-03-01"
15
+ }];
13
16
  // Quantity for specific location.
14
17
  int32 quantity = 3 [(.wix.api.min) = 1, (.wix.api.max) = 100000];
15
-
18
+ // Location name.
19
+ google.protobuf.StringValue name = 4 [(.wix.api.maxLength) = 500, (.wix.api.readOnly) = true, (.wix.api.field_maturity) = BETA];
16
20
  }
@@ -0,0 +1,15 @@
1
+ syntax = "proto3";
2
+
3
+ package com.wix.ecommerce.platform_common.api;
4
+ import "wix/api/annotations.proto";
5
+
6
+ enum UnitSystem {
7
+ // Unit system can't be classified, due to an error
8
+ UNKNOWN_UNIT_SYSTEM = 0 [(.wix.api.enum_maturity) = NOT_IMPLEMENTED];
9
+ // Imperial unit system. For example, inches, feet, pounds, ounces, etc.
10
+ IMPERIAL = 1;
11
+ // Metric unit system. For example, centimeters, kilometers, grams, etc.
12
+ METRIC = 2;
13
+ }
14
+
15
+
@@ -3,11 +3,11 @@ syntax = "proto3";
3
3
  package com.wix.ecommerce.platform_common.api;
4
4
 
5
5
  enum WeightUnit {
6
- // Weight unit can't be classified, due to an error
6
+ // Weight unit can't be classified due to an error.
7
7
  UNSPECIFIED_WEIGHT_UNIT = 0;
8
- // Kilograms
8
+ // Kilograms.
9
9
  KG = 1;
10
- // Pounds
10
+ // Pounds.
11
11
  LB = 2;
12
12
  }
13
13
 
@@ -289,6 +289,7 @@ message DeleteContext {
289
289
  TRASH = 1;
290
290
  DELETED = 2;
291
291
  PENDING_PURGE = 3;
292
+ PURGED_EXTERNALLY = 4;
292
293
  }
293
294
  }
294
295
 
@@ -334,6 +335,7 @@ message MetaSite {
334
335
  DeleteContext delete_context = 29; // A delete context.
335
336
  int64 published_html_site_revision = 30; // TBD.
336
337
  RoutesApiData routes_api_data = 31; // A cached data from Routes API.
338
+ google.protobuf.Timestamp account_created_date = 32 [(wix.api.readOnly) = true]; //A date of creation of the account that owns this meta site.
337
339
 
338
340
  enum DocumentType {
339
341
  UNKNOWN_DOCUMENT_TYPE = 0;
@@ -427,6 +429,19 @@ message MetaSite {
427
429
  Bobb - AI Design Creator.
428
430
  */
429
431
  MEDIA_DESIGN_CREATOR = 25;
432
+ /*
433
+ Shared Blog Site is a unique single site across Enterprise account,
434
+ This site will hold all Blog posts related to the Marketing product.
435
+ */
436
+ SHARED_BLOG_ENTERPRISE = 26;
437
+ /*
438
+ Standalone forms (siteless). MetaSites with this namespace will *not* be shown in a user's site list by default.
439
+ */
440
+ STANDALONE_FORMS = 27;
441
+ /*
442
+ Standalone events (siteless). MetaSites with this namespace will *not* be shown in a user's site list by default.
443
+ */
444
+ STANDALONE_EVENTS = 28;
430
445
  }
431
446
 
432
447
  enum Flag {
@@ -130,3 +130,20 @@ message StudioAssigned {
130
130
  */
131
131
  message StudioUnassigned {
132
132
  }
133
+
134
+ /*
135
+ Used in case a Virtual Tpa is one of the apps mentioned in one of the payloads.
136
+ A Virtual Tpa represents an embedded service that is in the process of migrating to a ThirdPartyApp.
137
+ It is not persisted on the MetaSite, or in app-container, but it is treated by consumers outside of MetaSite as if it is a provisioned app.
138
+ */
139
+ message VirtualTpaMentioned {
140
+ string app_def_id = 1 [(wix.api.maxLength) = 36]; // Either UUID or EmbeddedServiceType.
141
+ }
142
+
143
+ /*
144
+ Used at the end of the deletion flow for both draft sites and when a user deletes a site.
145
+ Consumed by other teams to remove relevant data.
146
+ */
147
+ message SitePurgedExternally {
148
+ repeated string app_def_id = 1 [(.wix.api.maxLength) = 2048, (wix.api.maxSize) = 100]; // Either UUID or EmbeddedServiceType.
149
+ }
@@ -19,6 +19,7 @@ message MetaSiteFullEvent {
19
19
  ARCHIVE = 4; // Soft deletion of the site (could be restored).
20
20
  RESTORE = 5; // Restoration of a soft deleted site.
21
21
  UPDATE_DELETED = 6; // Update of deleted meta site. Happens rarely, only because of data migrations.
22
+ PURGED_EXTERNALLY = 7; // notify about deleted site.
22
23
  }
23
24
  }
24
25
 
@@ -40,5 +41,7 @@ message MetaSiteEvent {
40
41
  SiteUrlChanged url_changed = 113; // Site's URLs are changed.
41
42
  StudioAssigned studio_assigned = 114; // Site is marked/created as Wix Studio site
42
43
  StudioUnassigned studio_unassigned = 115; // Site is no longer WIx Studio site
44
+ VirtualTpaMentioned virtual_tpa_mentioned = 116; // A service mentioned in one of the payloads is a Virtual Tpa
45
+ SitePurgedExternally site_purged_externally = 117; // Site is marked as PurgedExternally
43
46
  }
44
47
  }
@@ -1,3 +1,4 @@
1
+ // flynt-disable no-oneof-empty-markers
1
2
  syntax = "proto3";
2
3
 
3
4
  package com.wixpress.metasite.event.api;
@@ -31,5 +32,13 @@ message MetaSiteSpecialEvent {
31
32
  NamespaceChanged namespace_changed = 112; // Emitted on a namespace change.
32
33
  StudioAssigned studio_assigned = 113; // Emitted when Studio is attached.
33
34
  StudioUnassigned studio_unassigned = 114; // Emitted when Studio is detached.
35
+ /*
36
+ Emitted when one of the URLs is changed. After this event you may call `urls-server` to fetch
37
+ the actual URL.
38
+
39
+ See: https://wix.slack.com/archives/C0UHEBPFT/p1732520791210559?thread_ts=1732027914.294059&cid=C0UHEBPFT
40
+ See: https://wix.slack.com/archives/C0UHEBPFT/p1744115197619459
41
+ */
42
+ SiteUrlChanged url_changed = 115;
34
43
  }
35
44
  }
@@ -124,6 +124,8 @@ message Crud {
124
124
  SearchRelatedOptions search_related_options = 22;
125
125
  UpdateExtendedFieldsOptions update_extended_fields_options = 23;
126
126
  CustomActionOptions custom_action_options = 24; // marks that this method is a custom-action, that unfolds a read/write operation
127
+ BulkUpdateTagsMethodOptions bulk_update_tags_options = 25;
128
+ BulkUpdateTagsByFilterMethodOptions bulk_update_tags_by_filter_options = 26;
127
129
  }
128
130
  }
129
131
 
@@ -132,13 +134,27 @@ message Paging {
132
134
  UNKNOWN_TYPE = 0;
133
135
  OFFSET = 1;
134
136
  CURSOR = 2;
137
+ BOTH = 3;
135
138
  }
136
139
  optional Type type = 1; // paging type
137
- optional string paging_metadata_field = 2; // paging field name in response object. default is `metadata`
140
+ optional string paging_metadata_field = 2 [deprecated=true]; // paging field name in response object. default is `metadata`, DEPRECATED in commons V2
141
+ optional string cursor_paging_metadata_field = 3; // cursor paging field name in response object. default is `cursor_paging_metadata`
142
+ optional string offset_paging_metadata_field = 4; // offset paging field name in response object. default is `offset_paging_metadata`
138
143
  }
139
144
 
140
145
  message CustomActionOptions {
141
146
  optional bool read_operation = 1; // the custom-action's operation will do nothing but read data.
147
+ optional WqlOptions wql = 2; // if WQL validation is needed in this method, provide the data needed for the validator
148
+ }
149
+
150
+ message WqlOptions {
151
+ optional string query_options_name = 1; // Name of WQL variant to use
152
+ // The action may use either filter (struct), query (QueryV2) or search (Search) field. Point to the right one
153
+ oneof field {
154
+ string filter_field = 2; // provide path to filter field (struct) in your request message
155
+ string query_field = 3; // provide path to query field (wix.common.QueryV2) in your request message
156
+ string search_field = 4; // provide path to search field (wix.common.Search) in your request message
157
+ }
142
158
  }
143
159
 
144
160
  message CreateMethodOptions {
@@ -172,25 +188,29 @@ message ListMethodOptions {
172
188
  }
173
189
 
174
190
  message QueryMethodOptions {
175
- optional string query_field = 1; // query field name in request object. default is `query`
191
+ optional string query_field = 1 [deprecated=true]; // query field name in request object. default is `query`, DEPRECATED in commons V2
192
+ optional string cursor_query_field = 7; // cursor query field name in request object. default is `cursor_query`
193
+ optional string offset_query_field = 8; // offset query field name in request object. default is `offset_query`
176
194
  required string items_field = 3; // items field name in response object.
177
195
  optional Paging paging = 2; // present paging mechanism info, default will be of type=`CURSOR`
178
196
  oneof wql_options {
179
197
  // mark fields that are available for filtering and sorting via WixQueryLanguage
180
198
  // Deprecated - use wql annotation on the entity level
181
199
  Wql wql = 4 [deprecated = true];
182
- string query_options_name = 6; //Name of WQL variant to use
200
+ string query_options_name = 6; // Name of WQL variant to use
183
201
  }
184
202
  repeated string me_aliasable_field = 5; // collection of FQNs of fields that MAY be aliased with the const `"me"`
185
203
  }
186
204
 
187
205
  message SearchMethodOptions {
188
- optional string search_field = 1; // search field name in request object. default is `search`
206
+ optional string search_field = 1 [deprecated=true]; // search field name in request object. default is `search`, DEPRECATED in commons V2
207
+ optional string cursor_search_field = 8; // cursor search field name in request object. default is `cursor_search`
208
+ optional string offset_search_field = 9; // offset search field name in request object. default is `offset_search`
189
209
  required string items_field = 3; // items field name in response object.
190
210
  optional Paging paging = 2; // present paging mechanism info, default will be of type=`CURSOR`
191
211
  oneof wql_options {
192
212
  Wql wql = 4; // mark fields that are available for filtering and sorting via WixQueryLanguage
193
- string query_options_name = 7; //Name of WQL variant to use
213
+ string query_options_name = 7; // Name of WQL variant to use
194
214
  }
195
215
  repeated string me_aliasable_field = 5; // collection of FQNs of fields that MAY be aliased with the const `"me"`
196
216
  repeated Search search = 6; // mark fields that are available for search
@@ -209,7 +229,16 @@ message BulkUpdateByFilterMethodOptions {
209
229
  optional string item_field = 1; // item field name in request and response objects. default is `<entity-name>`
210
230
  optional string fieldmask_field = 2; // fieldmask field name in request object. default is `fieldmask`, only if it really exists in model
211
231
  optional string filter_field = 3; // filter field name in request object. default is `filter`
212
- optional string query_options_name = 4; //Name of WQL variant to use
232
+ optional string query_options_name = 4; // Name of WQL variant to use
233
+ }
234
+
235
+ message BulkUpdateTagsMethodOptions {
236
+ optional string ids_field = 1; // ids field name in request object. default is `<entity-name>_ids`
237
+ }
238
+
239
+ message BulkUpdateTagsByFilterMethodOptions {
240
+ optional string filter_field = 1; // filter field name in request object. default is `filter`
241
+ optional string query_options_name = 2; // Name of WQL variant to use
213
242
  }
214
243
 
215
244
  message BulkUpsertMethodOptions {
@@ -223,7 +252,7 @@ message BulkDeleteMethodOptions {
223
252
 
224
253
  message BulkDeleteByFilterMethodOptions {
225
254
  optional string filter_field = 1; // filter field name in request object. default is `filter`
226
- optional string query_options_name = 2; //Name of WQL variant to use
255
+ optional string query_options_name = 2; // Name of WQL variant to use
227
256
  }
228
257
 
229
258
  message ListDeletedMethodOptions {
@@ -253,7 +282,7 @@ message CountOptions {
253
282
  // Usually, that will be the query endpoint since you want the same filter capabilities for query and count
254
283
  string inherit_wql_from = 1 [deprecated = true];
255
284
 
256
- string query_options_name = 2; //Name of WQL variant to use
285
+ string query_options_name = 2; // Name of WQL variant to use
257
286
  }
258
287
  optional string filter_field = 3; // query field name in request object. default is `filter`
259
288
  optional string count_field = 4; // count field name in response object. default is `count`
@@ -265,7 +294,7 @@ message SearchRelatedOptions {
265
294
  // Usually, that will be the search endpoint since you want the same filter capabilities for search and related search
266
295
  string inherit_wql_from = 1 [deprecated = true];
267
296
 
268
- string query_options_name = 2; //Name of WQL variant to use
297
+ string query_options_name = 2; // Name of WQL variant to use
269
298
  }
270
299
  }
271
300
 
@@ -274,6 +303,7 @@ message UpdateExtendedFieldsOptions {
274
303
  }
275
304
 
276
305
  message Wql {
306
+ reserved 7;
277
307
  enum Operator {
278
308
  option allow_alias = true;
279
309
  ALL_APPLICABLE_OPERATORS = 0; // Applicable by type. i.e. if we allow LT/GT for **, it means for numeric fields only.
@@ -294,6 +324,15 @@ message Wql {
294
324
  EMPTY = 13; // [Array] Matches arrays that contain no elements.
295
325
  MATCH_ALL = 14; // Matches all items. Intended for expressing intent in selecting everything for ex. destructive operations - bulk deletes, updates, etc.
296
326
  MATCH_ITEMS = 16; // [Array] match multiple fields within array with AND operator semantics.
327
+ /* Enhances field, marked as LOCAL_DATE format, with additional subFields to sort and filter on.
328
+ For local date, formatted as yyyy-mm-dd, available subfields are:
329
+ '.dayOfMonth' - sorts/filters on the day of the month (dd), integer
330
+ '.month' - sorts/filters on the month (mm), integer
331
+ '.year' - sorts/filters on the year (yyyy), integer
332
+ Example, there is a local date field named 'clientBirthday', you may use 'clientBirthday.dayOfMonth',
333
+ 'clientBirthday.month', 'clientBirthday.year' for filtering and sorting.
334
+ You may also use the field without the enhanced subfields ('clientBirthday'). Then the usual date sorting/filtering is applied */
335
+ ENHANCED_DATE = 17 [deprecated = true];
297
336
  }
298
337
  enum Sort {
299
338
  NONE = 0; // no sorting enabled
@@ -313,6 +352,21 @@ message Wql {
313
352
  }
314
353
  repeated RequiredField required_field = 2; // all required field configurations to satisfy composite index
315
354
  }
355
+
356
+ enum VirtualSubfields {
357
+ NO_VIRTUAL_SUBFIELDS = 0;
358
+ /* Can be set for a field, marked as LOCAL_DATE format, allows filtering by following subfields:
359
+ - '.dayOfMonth' - sorts/filters on the day of the month (dd), integer
360
+ - '.month' - sorts/filters on the month (mm), integer
361
+ - '.year' - sorts/filters on the year (yyyy), integer
362
+ For example, for a local date field named 'clientBirthday', you may use 'clientBirthday.dayOfMonth',
363
+ 'clientBirthday.month', 'clientBirthday.year' for filtering and sorting. */
364
+ DATE = 1;
365
+ /* Can be set for a field, marked as EMAIL format, allows filtering by following subfields:
366
+ - '.domain' - sorts/filters on the domain of an email (example email: hello@wix.com --> domain: wix.com), string */
367
+ EMAIL = 2;
368
+ }
369
+
316
370
  message OperatorFieldSupport {
317
371
  repeated Operator operator = 1; // Operators supported for fields that match the glob
318
372
  // this field is deprecated because glob is hard to read. moved to a direct field config approach
@@ -324,6 +378,7 @@ message Wql {
324
378
  optional Sort sort = 3; // sort type enabled for this glob
325
379
  repeated RequiredFields required_fields = 4; // fields that match this glob, can be used only if the query is also filtered by required_fields
326
380
  optional Maturity maturity = 6;
381
+ optional VirtualSubfields virtual_subfields = 7; // kind of virtual subfields are supported for this field
327
382
  }
328
383
  // this field is deprecated due to a better and shorter naming
329
384
  repeated OperatorFieldSupport operator_field_support = 3 [(.wix.api.field_deprecated) = {
@@ -10,34 +10,51 @@ option java_outer_classname = "ApiErrorsProto";
10
10
  option java_package = "com.wix.api";
11
11
 
12
12
  /**
13
- * Annotation for method returned errors
14
- * example usage:
15
- * import "wix/api/api_errors.proto";
16
- * service FooService {
17
- * rpc CreateFoo (CreateFooRequest) returns (CreateFooResponse) {
18
- * // Description of the error. Accepts `markdown`
19
- * // and multiline
20
- * option (wix.api.error) = {
21
- * http_code: FAILED_PRECONDITION
22
- * application_code: "NO_FOO_SUPPLY"
23
- * data: "com.wixpress.foo.v1.NoFooSupplyError"
24
- * }
25
- * //and you can specify multiple errors
26
- * option (wix.api.custom_validation_error) = {
27
- * rule_name: "INVALID_NOTE"
28
- * data: "com.wixpress.foo.v1.MyRuleViolationError"
29
- * }
30
- * // this method MAY throw standard crud errors of BULK_UPDATE method type
31
- * option (wix.api.inherit_crud_errors) = {
32
- * method: BULK_UPDATE
33
- * }
34
- * }
35
- * }
13
+ * Annotation for method returned errors.
14
+ * Example usage:
36
15
  **/
16
+ //import "google/protobuf/empty.proto";
17
+ //service FooService {
18
+ // // Definition of a service-level error.
19
+ // // Accepts `markdown` and multiline.
20
+ // option (wix.api.error_def) = {
21
+ // http_code: FAILED_PRECONDITION
22
+ // application_code: "NO_FOO_SUPPLY"
23
+ // };
24
+ //
25
+ // rpc CreateFoo (google.protobuf.Empty) returns (google.protobuf.Empty) {
26
+ // // Reference to a service-level error.
27
+ // option (wix.api.error_ref) = {
28
+ // application_code: "NO_FOO_SUPPLY"
29
+ // };
30
+ // // Definition of a method-level error.
31
+ // // Accepts `markdown` and multiline.
32
+ // option (wix.api.error) = {
33
+ // http_code: FAILED_PRECONDITION
34
+ // application_code: "NO_FOO_SUPPLY"
35
+ // data: "com.wixpress.foo.v1.NoFooSupplyError"
36
+ // };
37
+ // // You can specify multiple errors.
38
+ // option (wix.api.custom_validation_error) = {
39
+ // rule_name: "INVALID_NOTE"
40
+ // data: "com.wixpress.foo.v1.MyRuleViolationError"
41
+ // };
42
+ // // This method MAY throw standard crud errors of BULK_UPDATE method type.
43
+ // option (wix.api.inherit_crud_errors) = {
44
+ // method: BULK_UPDATE
45
+ // };
46
+ // }
47
+ //}
48
+
49
+ extend google.protobuf.ServiceOptions {
50
+ repeated Error error_def = 50600;
51
+ }
52
+
37
53
  extend google.protobuf.MethodOptions {
38
54
  repeated Error error = 50801;
39
55
  repeated CustomValidationError custom_validation_error = 50802;
40
56
  repeated InheritCrudErrors inherit_crud_errors = 50803;
57
+ repeated ErrorRef error_ref = 50804;
41
58
  }
42
59
 
43
60
  /**
@@ -49,6 +66,14 @@ message Error {
49
66
  optional string data = 3; // FQN path to the message that will be sent as payload for this error
50
67
  }
51
68
 
69
+ /**
70
+ Method-level reference to a service-level error.
71
+ **/
72
+ message ErrorRef {
73
+ // Must match existing service-level error application code.
74
+ required string application_code = 1;
75
+ }
76
+
52
77
  /**
53
78
  CustomValidationError: field level validation, only declare when you have specific validation in your service that is not coming from infra
54
79
  **/
@@ -17,7 +17,7 @@ Key requirement for DomainEvents used in callback/event
17
17
  package com.wixpress.examples;
18
18
 
19
19
  service BlooperService {
20
- option (wix.api.service_entity).message = "com.wixpress.examples.Blooper"; //the "main" entity
20
+ option (wix.api.service_entity).message = "com.wixpress.examples.Blooper"; // the "main" entity
21
21
  rpc Update (BlooperRequest) returns (BlooperResponse) {
22
22
  //...
23
23
  };
@@ -26,8 +26,7 @@ service BlooperService {
26
26
  message Blooper {
27
27
  option (wix.api.entity) = {
28
28
  fqdn: "wix.examples.Blooper" // A fully qualified domain name for this entity. Example: wix.stores.catalog.product, wix.bookings.session, wix.payments.transaction
29
- exposure: PUBLIC //Optional exposure field. Will be used by systems like corvid and webhooks to decide if to expose events related to this entity to external parties
30
-
29
+ exposure: PUBLIC // Optional exposure field. Will be used by systems like corvid and webhooks to decide if to expose events related to this entity to external parties
31
30
  };
32
31
  }
33
32
  */
@@ -48,7 +47,7 @@ extend google.protobuf.MessageOptions {
48
47
 
49
48
  message Entity {
50
49
  required string fqdn = 1;
51
- optional Exposure exposure = 2 [deprecated=true];
50
+ optional Exposure exposure = 2 [deprecated = true];
52
51
  repeated MessageAppendix appendix_files = 3; // declare external configuration info
53
52
  optional string old_fqdn_for_backwards_compatibility = 4; // Topic name for domain events will be based on this attribute if present (only for known legacy FQDNs)
54
53
  optional Segment.SegmentName segment = 5; // the cluster to which domain events will be produced
@@ -64,6 +63,12 @@ message Entity {
64
63
  optional Exposure events_exposure = 15; // default events exposure, may be overridden in `wix.api.domain_event`
65
64
  optional Maturity events_maturity = 16; // default events maturity, may be overridden in `wix.api.domain_event`
66
65
  optional Persistence persistence = 17; // persistence config: type and tenancy model
66
+ optional PermissionCatalogOptions permission_options = 18; // options for permissions catalog auto generation
67
+ }
68
+
69
+ message PermissionCatalogOptions {
70
+ optional bool auto_generate_permissions = 1; // indicates whether to auto-generate permissions in the catalog for this entity
71
+ optional bool auto_generate_scopes = 2; // indicates whether to auto-generate scopes in the catalog for this entity
67
72
  }
68
73
 
69
74
  message Persistence {
@@ -84,6 +84,7 @@ message ValidationError {
84
84
  ONE_OF_ALIGNMENT = 17;
85
85
  EXACT_LENGTH = 18;
86
86
  EXACT_SIZE = 19;
87
+ REQUIRED_ONE_OF_FIELD = 20;
87
88
  }
88
89
  message FieldViolation {
89
90
  string field = 1;
@@ -119,3 +120,8 @@ message FormatRuleDataPayload {
119
120
  message EnumRuleDataPayload {
120
121
  repeated string supported = 1;
121
122
  }
123
+
124
+ // for required one-of violations
125
+ message RequiredOneOfRuleDataPayload {
126
+ repeated string supported = 1;
127
+ }
@@ -18,7 +18,7 @@ message Sla {
18
18
  * and return TIMEOUT (504) response for http or DEADLINE_EXCEEDED
19
19
  * for grpc.
20
20
  * This default deadline will be applied automatically
21
- * iff request does not contain deadline information.
21
+ * if request does not contain deadline information.
22
22
  */
23
23
  optional int32 response_time_ms = 1;
24
24
  }
@@ -254,7 +254,6 @@ service CatalogReadApi {
254
254
  post: "/api/v1/products/{id}/productOptionsAvailability"
255
255
  }
256
256
  };
257
- option (wix.api.maturity) = BETA;
258
257
  option (.wix.sdk.signature) = {params: "options"};
259
258
  option (wix.api.permission) = {
260
259
  name: "WIX_STORES.READ_PRODUCTS",
@@ -280,7 +279,6 @@ service CatalogReadApi {
280
279
  option (google.api.http) = {
281
280
  post: "/v1/variants/query"
282
281
  };
283
- option (wix.api.maturity) = BETA;
284
282
  option (.wix.sdk.signature) = {params: "query"};
285
283
  option (wix.api.permission) = {
286
284
  name: "WIX_STORES.READ_PRODUCTS",
@@ -302,7 +300,6 @@ service CatalogReadApi {
302
300
  option (google.api.http) = {
303
301
  get: "/v1/variants/{id}"
304
302
  };
305
- option (wix.api.maturity) = BETA;
306
303
  option (wix.api.cacheable) = {};
307
304
  option (wix.api.permission) = {
308
305
  name: "WIX_STORES.READ_PRODUCTS",
@@ -1,4 +1,4 @@
1
- //flynt-disable missing-array-limits
1
+ //flynt-disable missing-array-limits, missing-string-validations
2
2
  syntax = "proto3";
3
3
 
4
4
  package wix.common.data;
@@ -162,6 +162,7 @@ message PatchErrorDetails {
162
162
  ValueExceeded value_exceeded = 9;
163
163
  InvalidUUID invalid_uuid = 10;
164
164
  SystemFieldNotAllowed system_field_not_allowed = 11;
165
+ FailedToWriteType failed_to_write_type = 12;
165
166
  }
166
167
 
167
168
  message IllegalFieldRemoved {
@@ -190,6 +191,12 @@ message PatchErrorDetails {
190
191
  string expected = 3;
191
192
  }
192
193
 
194
+ message FailedToWriteType {
195
+ string path = 1;
196
+ string expected_type = 2;
197
+ string value = 3;
198
+ }
199
+
193
200
  message IllegalPath {
194
201
  string path = 1;
195
202
  }
@@ -280,6 +287,7 @@ message ErrorDetails {
280
287
  UniqueKeyNotFound unique_key_not_found = 27;
281
288
  InvalidUniqueKey invalid_unique_key = 29;
282
289
  MaxSizeViolations max_size_violations = 30;
290
+ PageSizeExceedsMaximum page_size_exceeds_maximum = 31;
283
291
  }
284
292
 
285
293
  message BulkSizeExceedsMaximum {
@@ -418,5 +426,10 @@ message ErrorDetails {
418
426
  string field_path = 1;
419
427
  string field_type = 2;
420
428
  }
429
+
430
+ message PageSizeExceedsMaximum {
431
+ int32 size = 1;
432
+ int32 max_page_size = 2;
433
+ }
421
434
  }
422
435
 
@@ -11,7 +11,30 @@ import "google/protobuf/wrappers.proto";
11
11
  import "google/protobuf/timestamp.proto";
12
12
  import "wix/api/validations.proto";
13
13
 
14
+ // flynt-disable deleted-field-enum-reserved
14
15
  message Image {
16
+ // enum TextDetection{
17
+ // // No detection was made
18
+ // UNKNOWN_TEXT_DETECTION = 0;
19
+ // // The image contains text
20
+ // CONTAINS_TEXT = 1;
21
+ // // The image does not contain text
22
+ // NO_TEXT = 2;
23
+ // }
24
+ // enum AnimationDetection{
25
+ // // No detection was made
26
+ // UNKNOWN_ANIMATION_DETECTION = 0;
27
+ // // The image contains animation
28
+ // CONTAINS_ANIMATION = 1;
29
+ // // The image does not contain animation
30
+ // NO_ANIMATION = 2;
31
+ // }
32
+ // message ImageContent{
33
+ // // Text detection
34
+ // TextDetection text = 1;
35
+ // // Animation detection
36
+ // AnimationDetection animation = 2;
37
+ // }
15
38
  option (.wix.api.decomposition_minimum_fields) = {
16
39
  field: "id"
17
40
  field: "height"
@@ -35,6 +58,8 @@ message Image {
35
58
  google.protobuf.StringValue size_in_bytes = 8 [(.wix.api.readOnly) = true, (.wix.api.field_exposure) = PRIVATE, (.wix.api.format) = DECIMAL_VALUE];
36
59
  // Focal point of the image.
37
60
  FocalPoint focal_point = 9 [(.wix.api.field_exposure) = PRIVATE];
61
+ // Details about the image content.
62
+ // ImageContent image_content = 10 [(.wix.api.readOnly) = true, (.wix.api.field_exposure) = INTERNAL];
38
63
  }
39
64
 
40
65
  // Deprecated - use VideoV2
@@ -180,6 +205,8 @@ message Document {
180
205
  google.protobuf.StringValue size_in_bytes = 4 [(.wix.api.field_exposure) = PRIVATE, (.wix.api.format) = DECIMAL_VALUE];
181
206
  // Document filename.
182
207
  google.protobuf.StringValue filename = 5;
208
+ // Document thumbnail.
209
+ Image thumbnail = 6 [(.wix.api.readOnly) = true, (.wix.api.field_exposure) = PRIVATE];
183
210
  }
184
211
 
185
212
  message Model3D {
@@ -36,7 +36,7 @@ message Tags {
36
36
  };
37
37
 
38
38
  message TagList {
39
- repeated string tag_ids = 1 [(.wix.api.maxSize) = 100, (.wix.api.maxLength) = 5]; // List of tag IDs
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
40
  }
41
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
42
  TagList tags = 2; // Tags that are exposed to anyone who has access to the labeled entity itself, including site members and visitors.
@@ -49,7 +49,7 @@ message PublicTags {
49
49
  };
50
50
 
51
51
  message TagList {
52
- repeated string tag_ids = 1 [(.wix.api.maxSize) = 100, (.wix.api.maxLength) = 5]; // List of tag IDs
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
53
  }
54
54
  TagList tags = 2; // Tags that are exposed to anyone who has access to the labeled entity itself, including site members and visitors.
55
55
  }
@@ -19,4 +19,4 @@ message InventoryLocationRemovalState {
19
19
  // The numericId of the next page of products to load
20
20
  int64 product_numeric_id = 1;
21
21
  }
22
- }
22
+ };