@spine-event-engine/proto 2.0.0-snapshot.2

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 (344) hide show
  1. package/LICENSE +201 -0
  2. package/README.md +122 -0
  3. package/REFERENCE.md +83 -0
  4. package/dist/generated/grpc/health/v1/health_pb.d.ts +115 -0
  5. package/dist/generated/grpc/health/v1/health_pb.d.ts.map +1 -0
  6. package/dist/generated/grpc/health/v1/health_pb.js +58 -0
  7. package/dist/generated/grpc/health/v1/health_pb.js.map +1 -0
  8. package/dist/generated/proto-module.d.ts +61 -0
  9. package/dist/generated/proto-module.d.ts.map +1 -0
  10. package/dist/generated/proto-module.js +315 -0
  11. package/dist/generated/proto-module.js.map +1 -0
  12. package/dist/generated/spine/auth/authenticated_subscription_pb.d.ts +47 -0
  13. package/dist/generated/spine/auth/authenticated_subscription_pb.d.ts.map +1 -0
  14. package/dist/generated/spine/auth/authenticated_subscription_pb.js +20 -0
  15. package/dist/generated/spine/auth/authenticated_subscription_pb.js.map +1 -0
  16. package/dist/generated/spine/auth/authentication_service_pb.d.ts +79 -0
  17. package/dist/generated/spine/auth/authentication_service_pb.d.ts.map +1 -0
  18. package/dist/generated/spine/auth/authentication_service_pb.js +34 -0
  19. package/dist/generated/spine/auth/authentication_service_pb.js.map +1 -0
  20. package/dist/generated/spine/base/error_pb.d.ts +69 -0
  21. package/dist/generated/spine/base/error_pb.d.ts.map +1 -0
  22. package/dist/generated/spine/base/error_pb.js +19 -0
  23. package/dist/generated/spine/base/error_pb.js.map +1 -0
  24. package/dist/generated/spine/base/field_path_pb.d.ts +50 -0
  25. package/dist/generated/spine/base/field_path_pb.d.ts.map +1 -0
  26. package/dist/generated/spine/base/field_path_pb.js +18 -0
  27. package/dist/generated/spine/base/field_path_pb.js.map +1 -0
  28. package/dist/generated/spine/client/command_service_pb.d.ts +46 -0
  29. package/dist/generated/spine/client/command_service_pb.d.ts.map +1 -0
  30. package/dist/generated/spine/client/command_service_pb.js +21 -0
  31. package/dist/generated/spine/client/command_service_pb.js.map +1 -0
  32. package/dist/generated/spine/client/entities_pb.d.ts +37 -0
  33. package/dist/generated/spine/client/entities_pb.d.ts.map +1 -0
  34. package/dist/generated/spine/client/entities_pb.js +19 -0
  35. package/dist/generated/spine/client/entities_pb.js.map +1 -0
  36. package/dist/generated/spine/client/filters_pb.d.ts +279 -0
  37. package/dist/generated/spine/client/filters_pb.d.ts.map +1 -0
  38. package/dist/generated/spine/client/filters_pb.js +126 -0
  39. package/dist/generated/spine/client/filters_pb.js.map +1 -0
  40. package/dist/generated/spine/client/query_pb.d.ts +293 -0
  41. package/dist/generated/spine/client/query_pb.d.ts.map +1 -0
  42. package/dist/generated/spine/client/query_pb.js +132 -0
  43. package/dist/generated/spine/client/query_pb.js.map +1 -0
  44. package/dist/generated/spine/client/query_service_pb.d.ts +31 -0
  45. package/dist/generated/spine/client/query_service_pb.d.ts.map +1 -0
  46. package/dist/generated/spine/client/query_service_pb.js +21 -0
  47. package/dist/generated/spine/client/query_service_pb.js.map +1 -0
  48. package/dist/generated/spine/client/subscription_pb.d.ts +361 -0
  49. package/dist/generated/spine/client/subscription_pb.d.ts.map +1 -0
  50. package/dist/generated/spine/client/subscription_pb.js +137 -0
  51. package/dist/generated/spine/client/subscription_pb.js.map +1 -0
  52. package/dist/generated/spine/client/subscription_record_pb.d.ts +90 -0
  53. package/dist/generated/spine/client/subscription_record_pb.d.ts.map +1 -0
  54. package/dist/generated/spine/client/subscription_record_pb.js +52 -0
  55. package/dist/generated/spine/client/subscription_record_pb.js.map +1 -0
  56. package/dist/generated/spine/client/subscription_service_pb.d.ts +86 -0
  57. package/dist/generated/spine/client/subscription_service_pb.d.ts.map +1 -0
  58. package/dist/generated/spine/client/subscription_service_pb.js +36 -0
  59. package/dist/generated/spine/client/subscription_service_pb.js.map +1 -0
  60. package/dist/generated/spine/core/ack_pb.d.ts +47 -0
  61. package/dist/generated/spine/core/ack_pb.d.ts.map +1 -0
  62. package/dist/generated/spine/core/ack_pb.js +20 -0
  63. package/dist/generated/spine/core/ack_pb.js.map +1 -0
  64. package/dist/generated/spine/core/actor_context_pb.d.ts +74 -0
  65. package/dist/generated/spine/core/actor_context_pb.d.ts.map +1 -0
  66. package/dist/generated/spine/core/actor_context_pb.js +23 -0
  67. package/dist/generated/spine/core/actor_context_pb.js.map +1 -0
  68. package/dist/generated/spine/core/bounded_context_pb.d.ts +35 -0
  69. package/dist/generated/spine/core/bounded_context_pb.d.ts.map +1 -0
  70. package/dist/generated/spine/core/bounded_context_pb.js +18 -0
  71. package/dist/generated/spine/core/bounded_context_pb.js.map +1 -0
  72. package/dist/generated/spine/core/command_pb.d.ts +245 -0
  73. package/dist/generated/spine/core/command_pb.d.ts.map +1 -0
  74. package/dist/generated/spine/core/command_pb.js +106 -0
  75. package/dist/generated/spine/core/command_pb.js.map +1 -0
  76. package/dist/generated/spine/core/diagnostics_pb.d.ts +97 -0
  77. package/dist/generated/spine/core/diagnostics_pb.d.ts.map +1 -0
  78. package/dist/generated/spine/core/diagnostics_pb.js +27 -0
  79. package/dist/generated/spine/core/diagnostics_pb.js.map +1 -0
  80. package/dist/generated/spine/core/enrichment_pb.d.ts +85 -0
  81. package/dist/generated/spine/core/enrichment_pb.d.ts.map +1 -0
  82. package/dist/generated/spine/core/enrichment_pb.js +25 -0
  83. package/dist/generated/spine/core/enrichment_pb.js.map +1 -0
  84. package/dist/generated/spine/core/event_pb.d.ts +307 -0
  85. package/dist/generated/spine/core/event_pb.d.ts.map +1 -0
  86. package/dist/generated/spine/core/event_pb.js +80 -0
  87. package/dist/generated/spine/core/event_pb.js.map +1 -0
  88. package/dist/generated/spine/core/response_pb.d.ts +87 -0
  89. package/dist/generated/spine/core/response_pb.d.ts.map +1 -0
  90. package/dist/generated/spine/core/response_pb.js +27 -0
  91. package/dist/generated/spine/core/response_pb.js.map +1 -0
  92. package/dist/generated/spine/core/tenant_id_pb.d.ts +64 -0
  93. package/dist/generated/spine/core/tenant_id_pb.d.ts.map +1 -0
  94. package/dist/generated/spine/core/tenant_id_pb.js +20 -0
  95. package/dist/generated/spine/core/tenant_id_pb.js.map +1 -0
  96. package/dist/generated/spine/core/user_id_pb.d.ts +33 -0
  97. package/dist/generated/spine/core/user_id_pb.d.ts.map +1 -0
  98. package/dist/generated/spine/core/user_id_pb.js +18 -0
  99. package/dist/generated/spine/core/user_id_pb.js.map +1 -0
  100. package/dist/generated/spine/core/version_pb.d.ts +44 -0
  101. package/dist/generated/spine/core/version_pb.d.ts.map +1 -0
  102. package/dist/generated/spine/core/version_pb.js +19 -0
  103. package/dist/generated/spine/core/version_pb.js.map +1 -0
  104. package/dist/generated/spine/delivery/admin/admin_service_pb.d.ts +219 -0
  105. package/dist/generated/spine/delivery/admin/admin_service_pb.d.ts.map +1 -0
  106. package/dist/generated/spine/delivery/admin/admin_service_pb.js +75 -0
  107. package/dist/generated/spine/delivery/admin/admin_service_pb.js.map +1 -0
  108. package/dist/generated/spine/delivery/commands_pb.d.ts +181 -0
  109. package/dist/generated/spine/delivery/commands_pb.d.ts.map +1 -0
  110. package/dist/generated/spine/delivery/commands_pb.js +57 -0
  111. package/dist/generated/spine/delivery/commands_pb.js.map +1 -0
  112. package/dist/generated/spine/delivery/events_pb.d.ts +230 -0
  113. package/dist/generated/spine/delivery/events_pb.d.ts.map +1 -0
  114. package/dist/generated/spine/delivery/events_pb.js +63 -0
  115. package/dist/generated/spine/delivery/events_pb.js.map +1 -0
  116. package/dist/generated/spine/delivery/message_delivery_pb.d.ts +205 -0
  117. package/dist/generated/spine/delivery/message_delivery_pb.d.ts.map +1 -0
  118. package/dist/generated/spine/delivery/message_delivery_pb.js +50 -0
  119. package/dist/generated/spine/delivery/message_delivery_pb.js.map +1 -0
  120. package/dist/generated/spine/delivery/pick_up_outcome_pb.d.ts +58 -0
  121. package/dist/generated/spine/delivery/pick_up_outcome_pb.d.ts.map +1 -0
  122. package/dist/generated/spine/delivery/pick_up_outcome_pb.js +20 -0
  123. package/dist/generated/spine/delivery/pick_up_outcome_pb.js.map +1 -0
  124. package/dist/generated/spine/delivery/rejections_pb.d.ts +95 -0
  125. package/dist/generated/spine/delivery/rejections_pb.d.ts.map +1 -0
  126. package/dist/generated/spine/delivery/rejections_pb.js +32 -0
  127. package/dist/generated/spine/delivery/rejections_pb.js.map +1 -0
  128. package/dist/generated/spine/deployment/node_discovery_pb.d.ts +102 -0
  129. package/dist/generated/spine/deployment/node_discovery_pb.d.ts.map +1 -0
  130. package/dist/generated/spine/deployment/node_discovery_pb.js +32 -0
  131. package/dist/generated/spine/deployment/node_discovery_pb.js.map +1 -0
  132. package/dist/generated/spine/net/email_address_pb.d.ts +37 -0
  133. package/dist/generated/spine/net/email_address_pb.d.ts.map +1 -0
  134. package/dist/generated/spine/net/email_address_pb.js +18 -0
  135. package/dist/generated/spine/net/email_address_pb.js.map +1 -0
  136. package/dist/generated/spine/net/internet_domain_pb.d.ts +35 -0
  137. package/dist/generated/spine/net/internet_domain_pb.d.ts.map +1 -0
  138. package/dist/generated/spine/net/internet_domain_pb.js +18 -0
  139. package/dist/generated/spine/net/internet_domain_pb.js.map +1 -0
  140. package/dist/generated/spine/options_pb.d.ts +1932 -0
  141. package/dist/generated/spine/options_pb.d.ts.map +1 -0
  142. package/dist/generated/spine/options_pb.js +960 -0
  143. package/dist/generated/spine/options_pb.js.map +1 -0
  144. package/dist/generated/spine/server/catchup/catch_up_pb.d.ts +185 -0
  145. package/dist/generated/spine/server/catchup/catch_up_pb.d.ts.map +1 -0
  146. package/dist/generated/spine/server/catchup/catch_up_pb.js +77 -0
  147. package/dist/generated/spine/server/catchup/catch_up_pb.js.map +1 -0
  148. package/dist/generated/spine/server/delivery/delivery_events_pb.d.ts +79 -0
  149. package/dist/generated/spine/server/delivery/delivery_events_pb.d.ts.map +1 -0
  150. package/dist/generated/spine/server/delivery/delivery_events_pb.js +27 -0
  151. package/dist/generated/spine/server/delivery/delivery_events_pb.js.map +1 -0
  152. package/dist/generated/spine/server/delivery/delivery_pb.d.ts +265 -0
  153. package/dist/generated/spine/server/delivery/delivery_pb.d.ts.map +1 -0
  154. package/dist/generated/spine/server/delivery/delivery_pb.js +63 -0
  155. package/dist/generated/spine/server/delivery/delivery_pb.js.map +1 -0
  156. package/dist/generated/spine/server/delivery/inbox_pb.d.ts +272 -0
  157. package/dist/generated/spine/server/delivery/inbox_pb.d.ts.map +1 -0
  158. package/dist/generated/spine/server/delivery/inbox_pb.js +139 -0
  159. package/dist/generated/spine/server/delivery/inbox_pb.js.map +1 -0
  160. package/dist/generated/spine/server/entity/entity_pb.d.ts +146 -0
  161. package/dist/generated/spine/server/entity/entity_pb.d.ts.map +1 -0
  162. package/dist/generated/spine/server/entity/entity_pb.js +62 -0
  163. package/dist/generated/spine/server/entity/entity_pb.js.map +1 -0
  164. package/dist/generated/spine/server/entity/state_key_pb.d.ts +46 -0
  165. package/dist/generated/spine/server/entity/state_key_pb.d.ts.map +1 -0
  166. package/dist/generated/spine/server/entity/state_key_pb.js +19 -0
  167. package/dist/generated/spine/server/entity/state_key_pb.js.map +1 -0
  168. package/dist/generated/spine/server/integration/broker_pb.d.ts +152 -0
  169. package/dist/generated/spine/server/integration/broker_pb.d.ts.map +1 -0
  170. package/dist/generated/spine/server/integration/broker_pb.js +65 -0
  171. package/dist/generated/spine/server/integration/broker_pb.js.map +1 -0
  172. package/dist/generated/spine/server/server_environment_pb.d.ts +65 -0
  173. package/dist/generated/spine/server/server_environment_pb.d.ts.map +1 -0
  174. package/dist/generated/spine/server/server_environment_pb.js +53 -0
  175. package/dist/generated/spine/server/server_environment_pb.js.map +1 -0
  176. package/dist/generated/spine/server/transport/transport_pb.d.ts +33 -0
  177. package/dist/generated/spine/server/transport/transport_pb.d.ts.map +1 -0
  178. package/dist/generated/spine/server/transport/transport_pb.js +18 -0
  179. package/dist/generated/spine/server/transport/transport_pb.js.map +1 -0
  180. package/dist/generated/spine/string/template_string_pb.d.ts +66 -0
  181. package/dist/generated/spine/string/template_string_pb.d.ts.map +1 -0
  182. package/dist/generated/spine/string/template_string_pb.js +18 -0
  183. package/dist/generated/spine/string/template_string_pb.js.map +1 -0
  184. package/dist/generated/spine/system/server/entity_log_events_pb.d.ts +505 -0
  185. package/dist/generated/spine/system/server/entity_log_events_pb.d.ts.map +1 -0
  186. package/dist/generated/spine/system/server/entity_log_events_pb.js +84 -0
  187. package/dist/generated/spine/system/server/entity_log_events_pb.js.map +1 -0
  188. package/dist/generated/spine/system/server/entity_type_pb.d.ts +46 -0
  189. package/dist/generated/spine/system/server/entity_type_pb.d.ts.map +1 -0
  190. package/dist/generated/spine/system/server/entity_type_pb.js +18 -0
  191. package/dist/generated/spine/system/server/entity_type_pb.js.map +1 -0
  192. package/dist/generated/spine/time/time_pb.d.ts +393 -0
  193. package/dist/generated/spine/time/time_pb.d.ts.map +1 -0
  194. package/dist/generated/spine/time/time_pb.js +184 -0
  195. package/dist/generated/spine/time/time_pb.js.map +1 -0
  196. package/dist/generated/spine/time_options_pb.d.ts +106 -0
  197. package/dist/generated/spine/time_options_pb.d.ts.map +1 -0
  198. package/dist/generated/spine/time_options_pb.js +58 -0
  199. package/dist/generated/spine/time_options_pb.js.map +1 -0
  200. package/dist/generated/spine/ui/language_pb.d.ts +1140 -0
  201. package/dist/generated/spine/ui/language_pb.d.ts.map +1 -0
  202. package/dist/generated/spine/ui/language_pb.js +1141 -0
  203. package/dist/generated/spine/ui/language_pb.js.map +1 -0
  204. package/dist/generated/spine/validation/validation_error_pb.d.ts +156 -0
  205. package/dist/generated/spine/validation/validation_error_pb.d.ts.map +1 -0
  206. package/dist/generated/spine/validation/validation_error_pb.js +27 -0
  207. package/dist/generated/spine/validation/validation_error_pb.js.map +1 -0
  208. package/dist/src/auth/index.d.ts +6 -0
  209. package/dist/src/auth/index.d.ts.map +1 -0
  210. package/dist/src/auth/index.js +19 -0
  211. package/dist/src/auth/index.js.map +1 -0
  212. package/dist/src/client/index.d.ts +12 -0
  213. package/dist/src/client/index.d.ts.map +1 -0
  214. package/dist/src/client/index.js +25 -0
  215. package/dist/src/client/index.js.map +1 -0
  216. package/dist/src/delivery/index.d.ts +7 -0
  217. package/dist/src/delivery/index.d.ts.map +1 -0
  218. package/dist/src/delivery/index.js +20 -0
  219. package/dist/src/delivery/index.js.map +1 -0
  220. package/dist/src/delivery-server/index.d.ts +11 -0
  221. package/dist/src/delivery-server/index.d.ts.map +1 -0
  222. package/dist/src/delivery-server/index.js +24 -0
  223. package/dist/src/delivery-server/index.js.map +1 -0
  224. package/dist/src/deployment/index.d.ts +5 -0
  225. package/dist/src/deployment/index.d.ts.map +1 -0
  226. package/dist/src/deployment/index.js +18 -0
  227. package/dist/src/deployment/index.js.map +1 -0
  228. package/dist/src/index.d.ts +333 -0
  229. package/dist/src/index.d.ts.map +1 -0
  230. package/dist/src/index.js +310 -0
  231. package/dist/src/index.js.map +1 -0
  232. package/dist/src/model/proto-module.d.ts +20 -0
  233. package/dist/src/model/proto-module.d.ts.map +1 -0
  234. package/dist/src/model/proto-module.js +15 -0
  235. package/dist/src/model/proto-module.js.map +1 -0
  236. package/dist/tsconfig.tsbuildinfo +1 -0
  237. package/generated/.spine-proto-generation.json +1 -0
  238. package/generated/grpc/health/v1/health_pb.ts +141 -0
  239. package/generated/proto-module.ts +320 -0
  240. package/generated/spine/auth/authenticated_subscription_pb.ts +64 -0
  241. package/generated/spine/auth/authentication_service_pb.ts +103 -0
  242. package/generated/spine/base/error_pb.ts +86 -0
  243. package/generated/spine/base/field_path_pb.ts +63 -0
  244. package/generated/spine/client/command_service_pb.ts +60 -0
  245. package/generated/spine/client/entities_pb.ts +51 -0
  246. package/generated/spine/client/filters_pb.ts +322 -0
  247. package/generated/spine/client/query_pb.ts +345 -0
  248. package/generated/spine/client/query_service_pb.ts +45 -0
  249. package/generated/spine/client/subscription_pb.ts +414 -0
  250. package/generated/spine/client/subscription_record_pb.ts +114 -0
  251. package/generated/spine/client/subscription_service_pb.ts +100 -0
  252. package/generated/spine/core/ack_pb.ts +63 -0
  253. package/generated/spine/core/actor_context_pb.ts +96 -0
  254. package/generated/spine/core/bounded_context_pb.ts +48 -0
  255. package/generated/spine/core/command_pb.ts +287 -0
  256. package/generated/spine/core/diagnostics_pb.ts +120 -0
  257. package/generated/spine/core/enrichment_pb.ts +97 -0
  258. package/generated/spine/core/event_pb.ts +347 -0
  259. package/generated/spine/core/response_pb.ts +103 -0
  260. package/generated/spine/core/tenant_id_pb.ts +76 -0
  261. package/generated/spine/core/user_id_pb.ts +46 -0
  262. package/generated/spine/core/version_pb.ts +59 -0
  263. package/generated/spine/delivery/admin/admin_service_pb.ts +253 -0
  264. package/generated/spine/delivery/commands_pb.ts +219 -0
  265. package/generated/spine/delivery/events_pb.ts +276 -0
  266. package/generated/spine/delivery/message_delivery_pb.ts +236 -0
  267. package/generated/spine/delivery/pick_up_outcome_pb.ts +70 -0
  268. package/generated/spine/delivery/rejections_pb.ts +120 -0
  269. package/generated/spine/deployment/node_discovery_pb.ts +127 -0
  270. package/generated/spine/net/email_address_pb.ts +50 -0
  271. package/generated/spine/net/internet_domain_pb.ts +48 -0
  272. package/generated/spine/options_pb.ts +2104 -0
  273. package/generated/spine/server/catchup/catch_up_pb.ts +224 -0
  274. package/generated/spine/server/delivery/delivery_events_pb.ts +102 -0
  275. package/generated/spine/server/delivery/delivery_pb.ts +305 -0
  276. package/generated/spine/server/delivery/inbox_pb.ts +321 -0
  277. package/generated/spine/server/entity/entity_pb.ts +176 -0
  278. package/generated/spine/server/entity/state_key_pb.ts +61 -0
  279. package/generated/spine/server/integration/broker_pb.ts +183 -0
  280. package/generated/spine/server/server_environment_pb.ts +83 -0
  281. package/generated/spine/server/transport/transport_pb.ts +46 -0
  282. package/generated/spine/string/template_string_pb.ts +78 -0
  283. package/generated/spine/system/server/entity_log_events_pb.ts +587 -0
  284. package/generated/spine/system/server/entity_type_pb.ts +56 -0
  285. package/generated/spine/time/time_pb.ts +465 -0
  286. package/generated/spine/time_options_pb.ts +129 -0
  287. package/generated/spine/ui/language_pb.ts +1337 -0
  288. package/generated/spine/validation/validation_error_pb.ts +181 -0
  289. package/package.json +61 -0
  290. package/proto/README.md +81 -0
  291. package/proto/frozen-descriptor-set.sha256 +3 -0
  292. package/proto/grpc/health/v1/health.proto +63 -0
  293. package/proto/spine/auth/authenticated_subscription.proto +36 -0
  294. package/proto/spine/auth/authentication_service.proto +47 -0
  295. package/proto/spine/base/error.proto +68 -0
  296. package/proto/spine/base/field_path.proto +59 -0
  297. package/proto/spine/client/command_service.proto +62 -0
  298. package/proto/spine/client/entities.proto +48 -0
  299. package/proto/spine/client/filters.proto +170 -0
  300. package/proto/spine/client/query.proto +186 -0
  301. package/proto/spine/client/query_service.proto +46 -0
  302. package/proto/spine/client/subscription.proto +220 -0
  303. package/proto/spine/client/subscription_record.proto +55 -0
  304. package/proto/spine/client/subscription_service.proto +86 -0
  305. package/proto/spine/core/ack.proto +55 -0
  306. package/proto/spine/core/actor_context.proto +76 -0
  307. package/proto/spine/core/bounded_context.proto +47 -0
  308. package/proto/spine/core/command.proto +170 -0
  309. package/proto/spine/core/diagnostics.proto +86 -0
  310. package/proto/spine/core/enrichment.proto +70 -0
  311. package/proto/spine/core/event.proto +197 -0
  312. package/proto/spine/core/response.proto +71 -0
  313. package/proto/spine/core/tenant_id.proto +61 -0
  314. package/proto/spine/core/user_id.proto +42 -0
  315. package/proto/spine/core/version.proto +63 -0
  316. package/proto/spine/delivery/admin/admin_service.proto +110 -0
  317. package/proto/spine/delivery/commands.proto +86 -0
  318. package/proto/spine/delivery/events.proto +107 -0
  319. package/proto/spine/delivery/message_delivery.proto +90 -0
  320. package/proto/spine/delivery/pick_up_outcome.proto +40 -0
  321. package/proto/spine/delivery/rejections.proto +49 -0
  322. package/proto/spine/deployment/node_discovery.proto +59 -0
  323. package/proto/spine/net/email_address.proto +46 -0
  324. package/proto/spine/net/internet_domain.proto +43 -0
  325. package/proto/spine/options.proto +1628 -0
  326. package/proto/spine/server/catchup/catch_up.proto +123 -0
  327. package/proto/spine/server/delivery/delivery.proto +166 -0
  328. package/proto/spine/server/delivery/delivery_events.proto +72 -0
  329. package/proto/spine/server/delivery/inbox.proto +169 -0
  330. package/proto/spine/server/entity/entity.proto +105 -0
  331. package/proto/spine/server/entity/state_key.proto +55 -0
  332. package/proto/spine/server/integration/broker.proto +112 -0
  333. package/proto/spine/server/server_environment.proto +57 -0
  334. package/proto/spine/server/transport/transport.proto +42 -0
  335. package/proto/spine/string/template_string.proto +70 -0
  336. package/proto/spine/system/server/entity_log_events.proto +280 -0
  337. package/proto/spine/system/server/entity_type.proto +49 -0
  338. package/proto/spine/time/time.proto +221 -0
  339. package/proto/spine/time_options.proto +106 -0
  340. package/proto/spine/ui/language.proto +417 -0
  341. package/proto/spine/validation/validation_error.proto +133 -0
  342. package/proto/spine-sources.json +438 -0
  343. package/spine-proto-manifest.json +112 -0
  344. package/spine-proto.json +10 -0
@@ -0,0 +1,1932 @@
1
+ /*
2
+ * Generated by Spine TypeScript. Do not edit manually.
3
+ * Source Proto: spine/options.proto
4
+ */
5
+
6
+ import type { GenEnum, GenExtension, GenFile, GenMessage } from "@bufbuild/protobuf/codegenv2";
7
+ import type { FieldOptions, FileOptions, MessageOptions, OneofOptions, ServiceOptions } from "@bufbuild/protobuf/wkt";
8
+ import type { Message } from "@bufbuild/protobuf";
9
+ /**
10
+ * Describes the file spine/options.proto.
11
+ * Generated from Proto: spine/options.proto.
12
+ */
13
+ export declare const file_spine_options: GenFile;
14
+ /**
15
+ * Defines the error message used if a `required` field is not set.
16
+ *
17
+ * Applies only to the fields marked as `required`.
18
+ *
19
+ *
20
+ * @generated from message IfMissingOption
21
+ * Generated from Proto: spine/options.proto.
22
+ */
23
+ export type IfMissingOption = Message<"IfMissingOption"> & {
24
+ /**
25
+ * A user-defined validation error format message.
26
+ *
27
+ * Use `error_msg` instead.
28
+ *
29
+ *
30
+ * @generated from field: string msg_format = 1 [deprecated = true];
31
+ * @deprecated
32
+ */
33
+ msgFormat: string;
34
+ /**
35
+ * A user-defined error message.
36
+ *
37
+ * The specified message may include the following placeholders:
38
+ *
39
+ * 1. `${field.path}` – the field path.
40
+ * 2. `${field.type}` – the fully qualified name of the field type.
41
+ * 3. `${parent.type}` – the fully qualified name of the validated message.
42
+ *
43
+ * The placeholders will be replaced at runtime when the error is constructed.
44
+ *
45
+ * Example: using the `(if_missing)` option.
46
+ *
47
+ * message Student {
48
+ * Name name = 1 [(required) = true,
49
+ * (if_missing).error_msg = "The `${field.path}` field is mandatory for `${parent.type}`."];
50
+ * }
51
+ *
52
+ *
53
+ * @generated from field: string error_msg = 2;
54
+ */
55
+ errorMsg: string;
56
+ };
57
+ /**
58
+ * Describes the message IfMissingOption.
59
+ * Use `create(IfMissingOptionSchema)` to create a new message.
60
+ * Generated from Proto: spine/options.proto.
61
+ */
62
+ export declare const IfMissingOptionSchema: GenMessage<IfMissingOption>;
63
+ /**
64
+ * Indicates that the numeric field must be greater than or equal to the specified value.
65
+ *
66
+ * The option supports all singular and repeated numeric fields.
67
+ *
68
+ *
69
+ * @generated from message MinOption
70
+ * Generated from Proto: spine/options.proto.
71
+ */
72
+ export type MinOption = Message<"MinOption"> & {
73
+ /**
74
+ * The string representation of the minimum field value.
75
+ *
76
+ * ## Integer and floating-point values
77
+ *
78
+ * A minimum value for an integer field must use an integer number. Specifying a decimal
79
+ * number is not allowed, even if it has no fractional part (e.g., `5.0` is invalid).
80
+ *
81
+ * A minimum value for a floating-point field must use a decimal separator (`.`), even if
82
+ * the value has no fractional part. An exponent part represented by `E` or `e`, followed
83
+ * by an optional sign and digits is allowed (e.g., `1.2E3`, `0.5e-2`).
84
+ *
85
+ * Example: defining minimum values for integer and floating-point fields.
86
+ *
87
+ * message Measurements {
88
+ * int32 temperature = 1 [(min).value = "0"];
89
+ * uint32 mass = 2 [(min).value = "5"];
90
+ * float degree = 3 [(min).value = "0.0"];
91
+ * double angle = 4 [(min).value = "30.0"];
92
+ * float pressure = 5 [(min).value = "950.0E-2"];
93
+ * }
94
+ *
95
+ * ## Field Type Limitations
96
+ *
97
+ * A minimum value must not fall below the limits of the field type.
98
+ *
99
+ * Example: invalid values that fall below the field type limits.
100
+ *
101
+ * message OverflowMeasurements {
102
+ * float pressure = 1 [(min).value = "-5.5E38"]; // Falls below the `float` minimum.
103
+ * uint32 mass = 2 [(min).value = "-5"]; // Falls below the `uint32` minimum.
104
+ * }
105
+ *
106
+ * ## Field references
107
+ *
108
+ * Instead of numeric literals, you can reference another numeric field.
109
+ * At runtime, the field’s value will be used as the bound. Nested fields are supported.
110
+ *
111
+ * Example: defining minimum values using field references.
112
+ *
113
+ * message Measurements {
114
+ *
115
+ * int32 min_length = 1;
116
+ * int32 length = 2 [(min).value = "min_length"];
117
+ *
118
+ * Limits limits = 3;
119
+ * int32 temperature = 4 [(min).value = "limits.min_temperature"];
120
+ * float pressure = 5 [(min).value = "limits.min_pressure"];
121
+ * }
122
+ *
123
+ * message Limits {
124
+ * int32 min_temperature = 1;
125
+ * float min_pressure = 2;
126
+ * }
127
+ *
128
+ * Note: Field type compatibility is not required in this case; the value is
129
+ * automatically converted. However, only numeric fields can be referenced.
130
+ * Repeated and map fields are not supported.
131
+ *
132
+ *
133
+ * @generated from field: string value = 1;
134
+ */
135
+ value: string;
136
+ /**
137
+ * Specifies if the field should be strictly greater than the specified minimum.
138
+ *
139
+ * The default value is false, i.e. the bound is inclusive.
140
+ *
141
+ *
142
+ * @generated from field: bool exclusive = 2;
143
+ */
144
+ exclusive: boolean;
145
+ /**
146
+ * A user-defined validation error format message.
147
+ *
148
+ * @generated from field: string msg_format = 3 [deprecated = true];
149
+ * @deprecated
150
+ */
151
+ msgFormat: string;
152
+ /**
153
+ * A user-defined error message.
154
+ *
155
+ * The specified message may include the following placeholders:
156
+ *
157
+ * 1. `${field.value}` - the field value.
158
+ * 2. `${field.path}` – the field path.
159
+ * 3. `${field.type}` – the fully qualified name of the field type.
160
+ * 4. `${parent.type}` – the fully qualified name of the validated message.
161
+ * 5. `${min.value}` – the specified minimum `value`. For referenced fields, the actual
162
+ * field value is also printed in round brackets along with the reference itself.
163
+ * 6. `${min.operator}` – if `exclusive` is set to `true`, this placeholder equals to ">".
164
+ * Otherwise, ">=".
165
+ *
166
+ * The placeholders will be replaced at runtime when the error is constructed.
167
+ *
168
+ *
169
+ * @generated from field: string error_msg = 4;
170
+ */
171
+ errorMsg: string;
172
+ };
173
+ /**
174
+ * Describes the message MinOption.
175
+ * Use `create(MinOptionSchema)` to create a new message.
176
+ * Generated from Proto: spine/options.proto.
177
+ */
178
+ export declare const MinOptionSchema: GenMessage<MinOption>;
179
+ /**
180
+ * Indicates that the numeric field must be less than or equal to the specified value.
181
+ *
182
+ * The option supports all singular and repeated numeric fields.
183
+ *
184
+ *
185
+ * @generated from message MaxOption
186
+ * Generated from Proto: spine/options.proto.
187
+ */
188
+ export type MaxOption = Message<"MaxOption"> & {
189
+ /**
190
+ * The string representation of the maximum field value.
191
+ *
192
+ * ## Integer and floating-point values
193
+ *
194
+ * A maximum value for an integer field must use an integer number. Specifying a decimal
195
+ * number is not allowed, even if it has no fractional part (e.g., `5.0` is invalid).
196
+ *
197
+ * A maximum value for a floating-point field must use a decimal separator (`.`), even if
198
+ * the value has no fractional part. An exponent part represented by `E` or `e`, followed
199
+ * by an optional sign and digits is allowed (e.g., `1.2E3`, `0.5e-2`).
200
+ *
201
+ * Example: defining maximum values for integer and floating-point fields.
202
+ *
203
+ * message Measurements {
204
+ * int32 temperature = 1 [(max).value = "270"];
205
+ * uint32 mass = 2 [(max).value = "1200"];
206
+ * float degree = 3 [(max).value = "360.0"];
207
+ * double angle = 4 [(max).value = "90.0"];
208
+ * float pressure = 5 [(max).value = "1050.0E-2"];
209
+ * }
210
+ *
211
+ * ## Field Type Limitations
212
+ *
213
+ * A maximum value must not exceed the limits of the field type.
214
+ *
215
+ * Example: invalid values that exceed the field type limits.
216
+ *
217
+ * message OverflowMeasurements {
218
+ * float pressure = 1 [(min).value = "5.5E38"]; // Exceeds the `float` maximum.
219
+ * int32 mass = 2 [(min).value = "2147483648"]; // Exceeds the `int32` maximum.
220
+ * }
221
+ *
222
+ * ## Field references
223
+ *
224
+ * Instead of numeric literals, you can reference another numeric field.
225
+ * At runtime, the field’s value will be used as the bound. Nested fields are supported.
226
+ *
227
+ * Example: defining maximum values using field references.
228
+ *
229
+ * message Measurements {
230
+ *
231
+ * int32 max_length = 1;
232
+ * int32 length = 2 [(max).value = "max_length"];
233
+ *
234
+ * Limits limits = 3;
235
+ * int32 temperature = 4 [(max).value = "limits.max_temperature"];
236
+ * float pressure = 5 [(max).value = "limits.max_pressure"];
237
+ * }
238
+ *
239
+ * message Limits {
240
+ * int32 max_temperature = 1;
241
+ * float max_pressure = 2;
242
+ * }
243
+ *
244
+ * Note: Field type compatibility is not required in this case; the value is
245
+ * automatically converted. However, only numeric fields can be referenced.
246
+ * Repeated and map fields are not supported.
247
+ *
248
+ *
249
+ * @generated from field: string value = 1;
250
+ */
251
+ value: string;
252
+ /**
253
+ * Specifies if the field should be strictly less than the specified maximum.
254
+ *
255
+ * The default value is false, i.e. the bound is inclusive.
256
+ *
257
+ *
258
+ * @generated from field: bool exclusive = 2;
259
+ */
260
+ exclusive: boolean;
261
+ /**
262
+ * A user-defined validation error format message.
263
+ *
264
+ * @generated from field: string msg_format = 3 [deprecated = true];
265
+ * @deprecated
266
+ */
267
+ msgFormat: string;
268
+ /**
269
+ * A user-defined error message.
270
+ *
271
+ * The specified message may include the following placeholders:
272
+ *
273
+ * 1. `${field.path}` – the field path.
274
+ * 2. `${field.value}` - the field value.
275
+ * 3. `${field.type}` – the fully qualified name of the field type.
276
+ * 4. `${parent.type}` – the fully qualified name of the validated message.
277
+ * 5. `${max.value}` – the specified maximum `value`. For referenced fields, the actual
278
+ * field value is also printed in round brackets along with the reference itself.
279
+ * 6. `${max.operator}` – if `exclusive` is set to `true`, this placeholder equals to "<".
280
+ * Otherwise, "<=".
281
+ *
282
+ * The placeholders will be replaced at runtime when the error is constructed.
283
+ *
284
+ *
285
+ * @generated from field: string error_msg = 4;
286
+ */
287
+ errorMsg: string;
288
+ };
289
+ /**
290
+ * Describes the message MaxOption.
291
+ * Use `create(MaxOptionSchema)` to create a new message.
292
+ * Generated from Proto: spine/options.proto.
293
+ */
294
+ export declare const MaxOptionSchema: GenMessage<MaxOption>;
295
+ /**
296
+ * A string field value must match the given regular expression.
297
+ *
298
+ * This option is applicable only to string fields,
299
+ * including those that are repeated.
300
+ *
301
+ * Example: using the `(pattern)` option.
302
+ *
303
+ * message CreateAccount {
304
+ * string id = 1 [(pattern).regex = "^[A-Za-z0-9+]+$",
305
+ * (pattern).error_msg = "ID must be alphanumerical in `${parent.type}`. Provided: `${field.value}`."];
306
+ * }
307
+ *
308
+ *
309
+ * @generated from message PatternOption
310
+ * Generated from Proto: spine/options.proto.
311
+ */
312
+ export type PatternOption = Message<"PatternOption"> & {
313
+ /**
314
+ * The regular expression that the field value must match.
315
+ *
316
+ * Please use the Java regex dialect for the syntax baseline:
317
+ * https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/util/regex/Pattern.html
318
+ *
319
+ * Note: in Java, regex patterns are not wrapped in explicit delimiters like in Perl or PHP.
320
+ * Instead, the pattern is provided as a string literal. Therefore, the `/` symbol does not need
321
+ * to be escaped.
322
+ *
323
+ * The provided string literal is passed directly to the regex engine. So, it must be exactly
324
+ * what you would supply to the `java.util.regex.Pattern.compile()` method.
325
+ *
326
+ *
327
+ * @generated from field: string regex = 1;
328
+ */
329
+ regex: string;
330
+ /**
331
+ * Modifiers for this pattern.
332
+ *
333
+ * @generated from field: PatternOption.Modifier modifier = 4;
334
+ */
335
+ modifier?: PatternOption_Modifier | undefined;
336
+ /**
337
+ * A user-defined validation error format message.
338
+ *
339
+ * @generated from field: string msg_format = 3 [deprecated = true];
340
+ * @deprecated
341
+ */
342
+ msgFormat: string;
343
+ /**
344
+ * A user-defined validation error format message.
345
+ *
346
+ * The specified message may include the following placeholders:
347
+ *
348
+ * 1. `${field.path}` – the field path.
349
+ * 2. `${field.value}` - the field value.
350
+ * 3. `${field.type}` – the fully qualified name of the field type.
351
+ * 4. `${parent.type}` – the fully qualified name of the validated message.
352
+ * 5. `${regex.pattern}` – the specified regex pattern.
353
+ * 6. `${regex.modifiers}` – the specified modifiers, if any. For example, `[dot_all, unicode]`.
354
+ *
355
+ * The placeholders will be replaced at runtime when the error is constructed.
356
+ *
357
+ *
358
+ * @generated from field: string error_msg = 5;
359
+ */
360
+ errorMsg: string;
361
+ };
362
+ /**
363
+ * Describes the message PatternOption.
364
+ * Use `create(PatternOptionSchema)` to create a new message.
365
+ * Generated from Proto: spine/options.proto.
366
+ */
367
+ export declare const PatternOptionSchema: GenMessage<PatternOption>;
368
+ /**
369
+ * Regular expression modifiers.
370
+ *
371
+ * These modifiers are specifically selected to be supported in many implementation platforms.
372
+ *
373
+ *
374
+ * @generated from message PatternOption.Modifier
375
+ * Generated from Proto: spine/options.proto.
376
+ */
377
+ export type PatternOption_Modifier = Message<"PatternOption.Modifier"> & {
378
+ /**
379
+ * Enables the dot (`.`) symbol to match all the characters.
380
+ *
381
+ * By default, the dot does not match line break characters.
382
+ *
383
+ * May also be known in some platforms as "single line" mode and be encoded with
384
+ * the `s` flag.
385
+ *
386
+ *
387
+ * @generated from field: bool dot_all = 1;
388
+ */
389
+ dotAll: boolean;
390
+ /**
391
+ * Allows ignoring the case of the matched symbols.
392
+ *
393
+ * For example, if this modifier is specified, string `ABC` would be a complete match for
394
+ * the regex `[a-z]+`.
395
+ *
396
+ * On some platforms may be represented by the `i` flag.
397
+ *
398
+ *
399
+ * @generated from field: bool case_insensitive = 2;
400
+ */
401
+ caseInsensitive: boolean;
402
+ /**
403
+ * Enables the `^` (caret) and `$` (dollar) signs to match a start and an end of a line
404
+ * instead of a start and an end of the whole expression.
405
+ *
406
+ * On some platforms may be represented by the `m` flag.
407
+ *
408
+ *
409
+ * @generated from field: bool multiline = 3;
410
+ */
411
+ multiline: boolean;
412
+ /**
413
+ * Enables matching the whole UTF-8 sequences.
414
+ *
415
+ * On some platforms may be represented by the `u` flag.
416
+ *
417
+ *
418
+ * @generated from field: bool unicode = 4;
419
+ */
420
+ unicode: boolean;
421
+ /**
422
+ * Allows the matched strings to contain a full match to the pattern and some other
423
+ * characters as well.
424
+ *
425
+ * By default, a string only matches a pattern if it is a full match, i.e. there are no
426
+ * unaccounted for leading and/or trailing characters.
427
+ *
428
+ * This modifier is usually not represented in programming languages, as the control over
429
+ * whether to match an entire string or only its part is provided to the user by other
430
+ * language means. For example, in Java, this would be the difference between methods
431
+ * `matches()` and `find()` of the `java.util.regex.Matcher` class.
432
+ *
433
+ *
434
+ * @generated from field: bool partial_match = 5;
435
+ */
436
+ partialMatch: boolean;
437
+ };
438
+ /**
439
+ * Describes the message PatternOption.Modifier.
440
+ * Use `create(PatternOption_ModifierSchema)` to create a new message.
441
+ * Generated from Proto: spine/options.proto.
442
+ */
443
+ export declare const PatternOption_ModifierSchema: GenMessage<PatternOption_Modifier>;
444
+ /**
445
+ * Specifies the message to show if a validated field happens to be invalid.
446
+ *
447
+ * It is applicable only to fields marked with `(validate)`.
448
+ *
449
+ *
450
+ * @generated from message IfInvalidOption
451
+ * @deprecated
452
+ * Generated from Proto: spine/options.proto.
453
+ */
454
+ export type IfInvalidOption = Message<"IfInvalidOption"> & {
455
+ /**
456
+ * A user-defined validation error format message.
457
+ *
458
+ * Use `error_msg` instead.
459
+ *
460
+ *
461
+ * @generated from field: string msg_format = 1 [deprecated = true];
462
+ * @deprecated
463
+ */
464
+ msgFormat: string;
465
+ /**
466
+ * A user-defined error message.
467
+ *
468
+ * The specified message may include the following placeholders:
469
+ *
470
+ * 1. `${field.path}` – the field path.
471
+ * 2. `${field.value}` - the field value.
472
+ * 3. `${field.type}` – the fully qualified name of the field type.
473
+ * 4. `${parent.type}` – the fully qualified name of the field declaring type.
474
+ *
475
+ * The placeholders will be replaced at runtime when the error is constructed.
476
+ *
477
+ * Example: using the `(if_invalid)` option.
478
+ *
479
+ * message Transaction {
480
+ * TransactionDetails details = 1 [(validate) = true,
481
+ * (if_invalid).error_msg = "The `${field.path}` field is invalid."];
482
+ * }
483
+ *
484
+ *
485
+ * @generated from field: string error_msg = 2;
486
+ */
487
+ errorMsg: string;
488
+ };
489
+ /**
490
+ * Describes the message IfInvalidOption.
491
+ * Use `create(IfInvalidOptionSchema)` to create a new message.
492
+ * @deprecated
493
+ * Generated from Proto: spine/options.proto.
494
+ */
495
+ export declare const IfInvalidOptionSchema: GenMessage<IfInvalidOption>;
496
+ /**
497
+ * Specifies that another field must be present if the option's target field is present.
498
+ *
499
+ * Unlike the `required_field` that handles combination of required fields, this option is useful
500
+ * when it is needed to say that an optional field makes sense only when another optional field
501
+ * is present.
502
+ *
503
+ * This option can be applied to the same field types as `(required)`, including both the
504
+ * target field and its companion. Supported field types are:
505
+ *
506
+ * - Messages and enums.
507
+ * - Repeated fields and maps.
508
+ * - `string` and `bytes`.
509
+ *
510
+ * Example: requiring mutual presence of optional fields.
511
+ *
512
+ * message ScheduledItem {
513
+ * ...
514
+ * spine.time.LocalDate date = 4;
515
+ * spine.time.LocalTime time = 5 [(goes).with = "date"];
516
+ * }
517
+ *
518
+ *
519
+ * @generated from message GoesOption
520
+ * Generated from Proto: spine/options.proto.
521
+ */
522
+ export type GoesOption = Message<"GoesOption"> & {
523
+ /**
524
+ * The name of the companion field whose presence is required for this field to be valid.
525
+ *
526
+ * @generated from field: string with = 1;
527
+ */
528
+ with: string;
529
+ /**
530
+ * A user-defined validation error format message.
531
+ *
532
+ * @generated from field: string msg_format = 2 [deprecated = true];
533
+ * @deprecated
534
+ */
535
+ msgFormat: string;
536
+ /**
537
+ * A user-defined error message.
538
+ *
539
+ * The specified message may include the following placeholders:
540
+ *
541
+ * 1. `${field.path}` – the field path.
542
+ * 2. `${field.value}` – the field value.
543
+ * 3. `${field.type}` – the fully qualified name of the field type.
544
+ * 4. `${parent.type}` – the fully qualified name of the validated message.
545
+ * 5. `${goes.companion}` – the name of the companion specified in `with`.
546
+ *
547
+ * The placeholders will be replaced at runtime when the error is constructed.
548
+ *
549
+ *
550
+ * @generated from field: string error_msg = 3;
551
+ */
552
+ errorMsg: string;
553
+ };
554
+ /**
555
+ * Describes the message GoesOption.
556
+ * Use `create(GoesOptionSchema)` to create a new message.
557
+ * Generated from Proto: spine/options.proto.
558
+ */
559
+ export declare const GoesOptionSchema: GenMessage<GoesOption>;
560
+ /**
561
+ * Defines options of a message representing a state of an entity.
562
+ *
563
+ * @generated from message EntityOption
564
+ * Generated from Proto: spine/options.proto.
565
+ */
566
+ export type EntityOption = Message<"EntityOption"> & {
567
+ /**
568
+ * The type of the entity.
569
+ *
570
+ * @generated from field: EntityOption.Kind kind = 1;
571
+ */
572
+ kind: EntityOption_Kind;
573
+ /**
574
+ * The visibility of the entity.
575
+ *
576
+ * If not defined, the value of this option is `DEFAULT`.
577
+ *
578
+ *
579
+ * @generated from field: EntityOption.Visibility visibility = 2;
580
+ */
581
+ visibility: EntityOption_Visibility;
582
+ };
583
+ /**
584
+ * Describes the message EntityOption.
585
+ * Use `create(EntityOptionSchema)` to create a new message.
586
+ * Generated from Proto: spine/options.proto.
587
+ */
588
+ export declare const EntityOptionSchema: GenMessage<EntityOption>;
589
+ /**
590
+ * A type of an entity for state of which the message is defined.
591
+ *
592
+ * @generated from enum EntityOption.Kind
593
+ * Generated from Proto: spine/options.proto.
594
+ */
595
+ export declare enum EntityOption_Kind {
596
+ /**
597
+ * Reserved for errors.
598
+ *
599
+ * @generated from enum value: KIND_UNKNOWN = 0;
600
+ */
601
+ KIND_UNKNOWN = 0,
602
+ /**
603
+ * The message is an aggregate state.
604
+ *
605
+ * @generated from enum value: AGGREGATE = 1;
606
+ */
607
+ AGGREGATE = 1,
608
+ /**
609
+ * The message is a state of a projection (same as "view").
610
+ *
611
+ * @generated from enum value: PROJECTION = 2;
612
+ */
613
+ PROJECTION = 2,
614
+ /**
615
+ * The message is a state of a view (same as "projection").
616
+ *
617
+ * @generated from enum value: VIEW = 2;
618
+ */
619
+ VIEW = 2,
620
+ /**
621
+ * The message is a state of a process manager.
622
+ *
623
+ * @generated from enum value: PROCESS_MANAGER = 3;
624
+ */
625
+ PROCESS_MANAGER = 3,
626
+ /**
627
+ * The message is a state of an entity, which is not of the type
628
+ * defined by other members of this enumeration.
629
+ *
630
+ * @generated from enum value: ENTITY = 4;
631
+ */
632
+ ENTITY = 4
633
+ }
634
+ /**
635
+ * Describes the enum EntityOption.Kind.
636
+ * Generated from Proto: spine/options.proto.
637
+ */
638
+ export declare const EntityOption_KindSchema: GenEnum<EntityOption_Kind>;
639
+ /**
640
+ * The level of visibility of the entity to queries.
641
+ *
642
+ * @generated from enum EntityOption.Visibility
643
+ * Generated from Proto: spine/options.proto.
644
+ */
645
+ export declare enum EntityOption_Visibility {
646
+ /**
647
+ * Default visibility is different for different types of entities:
648
+ * - for projections, "FULL" is default;
649
+ * - for aggregates, process managers, and other entities, "NONE" is default.
650
+ *
651
+ *
652
+ * @generated from enum value: DEFAULT = 0;
653
+ */
654
+ DEFAULT = 0,
655
+ /**
656
+ * The entity is not visible to queries.
657
+ *
658
+ * @generated from enum value: NONE = 1;
659
+ */
660
+ NONE = 1,
661
+ /**
662
+ * Client-side applications can subscribe to updates of entities of this type.
663
+ *
664
+ * @generated from enum value: SUBSCRIBE = 2;
665
+ */
666
+ SUBSCRIBE = 2,
667
+ /**
668
+ * Client-side applications can query this type of entities.
669
+ *
670
+ * @generated from enum value: QUERY = 3;
671
+ */
672
+ QUERY = 3,
673
+ /**
674
+ * Client-side applications can subscribe and query this type of entity.
675
+ *
676
+ * @generated from enum value: FULL = 4;
677
+ */
678
+ FULL = 4
679
+ }
680
+ /**
681
+ * Describes the enum EntityOption.Visibility.
682
+ * Generated from Proto: spine/options.proto.
683
+ */
684
+ export declare const EntityOption_VisibilitySchema: GenEnum<EntityOption_Visibility>;
685
+ /**
686
+ * Defines a common type for message types declared in the same proto file.
687
+ *
688
+ * The nature of the type depends on the target programming language.
689
+ * For example, the `java_type` property defines a name of the Java interface common
690
+ * to all message classes generated for the proto file having this option.
691
+ * Similarly, the `ts_type` property defines a name of the TypeScript interface.
692
+ *
693
+ * The option triggers creation of the common type if the `generate` property is set to true.
694
+ * Otherwise, it is expected that the user provides the reference to an existing type.
695
+ *
696
+ *
697
+ * @generated from message EveryIsOption
698
+ * Generated from Proto: spine/options.proto.
699
+ */
700
+ export type EveryIsOption = Message<"EveryIsOption"> & {
701
+ /**
702
+ * Enables the generation of the common type.
703
+ *
704
+ * The default value is `false`.
705
+ *
706
+ *
707
+ * @generated from field: bool generate = 1;
708
+ */
709
+ generate: boolean;
710
+ /**
711
+ * The reference to a Java top-level interface.
712
+ *
713
+ * The interface cannot be nested into a class or another interface.
714
+ * If a nested interface is provided, the code generation should fail the build process.
715
+ *
716
+ * The value may be a fully-qualified or a simple name.
717
+ *
718
+ * When a simple name is set, it is assumed that the interface belongs to
719
+ * the package of the generated message classes.
720
+ *
721
+ * If the value of the `generate` field is set to `false`, the referenced interface must exist.
722
+ * Otherwise, a compilation error will occur.
723
+ *
724
+ * If the value of the `generate` field is set to `true`, the framework will
725
+ * generate the interface using the given name and the package as described above.
726
+ *
727
+ * The generated interface will extend `com.google.protobuf.Message` and
728
+ * will have no declared methods.
729
+ *
730
+ *
731
+ * @generated from field: string java_type = 2;
732
+ */
733
+ javaType: string;
734
+ /**
735
+ * The reference to a TypeScript top-level interface.
736
+ *
737
+ * The interface cannot be nested into a namespace or a class.
738
+ * If a nested interface is provided, the code generation should fail the build process.
739
+ *
740
+ * The value is a simple name of the interface. It is assumed that the interface
741
+ * is available in the scope of the generated message types.
742
+ *
743
+ * If the value of the `generate` field is set to `false`, the referenced interface must exist.
744
+ * Otherwise, a compilation error will occur.
745
+ *
746
+ * If the value of the `generate` field is set to `true`, the framework will
747
+ * generate the interface using the given name.
748
+ *
749
+ *
750
+ * @generated from field: string ts_type = 3;
751
+ */
752
+ tsType: string;
753
+ };
754
+ /**
755
+ * Describes the message EveryIsOption.
756
+ * Use `create(EveryIsOptionSchema)` to create a new message.
757
+ * Generated from Proto: spine/options.proto.
758
+ */
759
+ export declare const EveryIsOptionSchema: GenMessage<EveryIsOption>;
760
+ /**
761
+ * Defines an additional type for a message type in which this option is declared.
762
+ *
763
+ * The nature of the type depends on the target programming language.
764
+ * For example, the `java_type` property defines a name of the Java interface that
765
+ * the generated message class will implement.
766
+ * Similarly, the `ts_type` property defines a name of the TypeScript interface.
767
+ *
768
+ *
769
+ * @generated from message IsOption
770
+ * Generated from Proto: spine/options.proto.
771
+ */
772
+ export type IsOption = Message<"IsOption"> & {
773
+ /**
774
+ * The reference to a Java top-level interface.
775
+ *
776
+ * The interface cannot be nested into a class or another interface.
777
+ * If a nested interface is provided, the code generation should fail the build process.
778
+ *
779
+ * The value may be a fully-qualified or a simple name.
780
+ *
781
+ * When a simple name is set, it is assumed that the interface belongs to
782
+ * the package of the generated message classes.
783
+ *
784
+ * The referenced interface must exist. Otherwise, a compilation error will occur.
785
+ *
786
+ *
787
+ * @generated from field: string java_type = 1;
788
+ */
789
+ javaType: string;
790
+ /**
791
+ * The reference to a TypeScript top-level interface.
792
+ *
793
+ * The interface cannot be nested into a namespace or a class.
794
+ * If a nested interface is provided, the code generation should fail the build process.
795
+ *
796
+ * The value is a simple name of the interface. It is assumed that the interface
797
+ * is available in the scope of the generated message types.
798
+ *
799
+ * The referenced interface must exist. Otherwise, a compilation error will occur.
800
+ *
801
+ *
802
+ * @generated from field: string ts_type = 2;
803
+ */
804
+ tsType: string;
805
+ };
806
+ /**
807
+ * Describes the message IsOption.
808
+ * Use `create(IsOptionSchema)` to create a new message.
809
+ * Generated from Proto: spine/options.proto.
810
+ */
811
+ export declare const IsOptionSchema: GenMessage<IsOption>;
812
+ /**
813
+ * Defines the way to compare two messages of the same type to one another.
814
+ *
815
+ * Comparisons can be used to sort values.
816
+ *
817
+ * See the `(compare_by)` option.
818
+ *
819
+ *
820
+ * @generated from message CompareByOption
821
+ * Generated from Proto: spine/options.proto.
822
+ */
823
+ export type CompareByOption = Message<"CompareByOption"> & {
824
+ /**
825
+ * Field paths used for comparisons.
826
+ *
827
+ * The allowed field types are:
828
+ * - any number type;
829
+ * - `bool` (`false` is less than `true`);
830
+ * - `string` (in the order of respective Unicode values);
831
+ * - enumerations (following the order of numbers associated with each constant);
832
+ * - local messages (generated within the current build) marked with `(compare_by)`;
833
+ * - external messages (from dependencies), which either marked with `(compare_by)`
834
+ * OR have a comparator provided in `io.spine.compare.ComparatorRegistry`.
835
+ *
836
+ * Other types are not permitted. Repeated or map fields are not permitted either.
837
+ * Such declarations will lead to build-time errors.
838
+ *
839
+ * To refer to nested fields, separate the field names with a dot (`.`).
840
+ * No fields in the path can be repeated or maps.
841
+ *
842
+ * When multiple field paths are specified, comparison is executed in the order of reference.
843
+ * For example, specifying `["seconds", "nanos"]` makes the comparison mechanism prioritize
844
+ * the `seconds` field and refer to `nanos` only when `seconds` are equal.
845
+ *
846
+ * NOTE: When comparing fields with a message type, a non-set message is always less than
847
+ * a set message. But if a message is set to a default value, the comparison falls back to
848
+ * the field-wise comparison, i.e. number values are treated as zeros, `bool` — as `false`,
849
+ * and so on.
850
+ *
851
+ *
852
+ * @generated from field: repeated string field = 1;
853
+ */
854
+ field: string[];
855
+ /**
856
+ * If true, the default order is reversed. For example, numbers are ordered from the greater to
857
+ * the lower, enums — from the last number value to the 0th value, etc.
858
+ *
859
+ * @generated from field: bool descending = 2;
860
+ */
861
+ descending: boolean;
862
+ };
863
+ /**
864
+ * Describes the message CompareByOption.
865
+ * Use `create(CompareByOptionSchema)` to create a new message.
866
+ * Generated from Proto: spine/options.proto.
867
+ */
868
+ export declare const CompareByOptionSchema: GenMessage<CompareByOption>;
869
+ /**
870
+ * Defines the error message used if a `set_once` field is set again.
871
+ *
872
+ * Applies only to the fields marked as `set_once`.
873
+ *
874
+ *
875
+ * @generated from message IfSetAgainOption
876
+ * Generated from Proto: spine/options.proto.
877
+ */
878
+ export type IfSetAgainOption = Message<"IfSetAgainOption"> & {
879
+ /**
880
+ * A user-defined error message.
881
+ *
882
+ * The specified message may include the following placeholders:
883
+ *
884
+ * 1. `${field.path}` – the field path.
885
+ * 2. `${field.type}` – the fully qualified name of the field type.
886
+ * 3. `${field.value}` – the current field value.
887
+ * 4. `${field.proposed_value}` – the value, which was attempted to be set.
888
+ * 5. `${parent.type}` – the fully qualified name of the validated message.
889
+ *
890
+ * The placeholders will be replaced at runtime when the error is constructed.
891
+ *
892
+ * Example: using the `(set_once)` option.
893
+ *
894
+ * message User {
895
+ * UserId id = 1 [(set_once) = true,
896
+ * (if_set_again).error_msg = "A student ID is used as a permanent identifier within academic system, and cannot be re-assigned."];
897
+ * }
898
+ *
899
+ *
900
+ * @generated from field: string error_msg = 1;
901
+ */
902
+ errorMsg: string;
903
+ };
904
+ /**
905
+ * Describes the message IfSetAgainOption.
906
+ * Use `create(IfSetAgainOptionSchema)` to create a new message.
907
+ * Generated from Proto: spine/options.proto.
908
+ */
909
+ export declare const IfSetAgainOptionSchema: GenMessage<IfSetAgainOption>;
910
+ /**
911
+ * Defines the error message used if a `distinct` field has duplicates.
912
+ *
913
+ * Applies only to the `repeated` and `map` fields marked with the `(distinct)` option.
914
+ *
915
+ *
916
+ * @generated from message IfHasDuplicatesOption
917
+ * Generated from Proto: spine/options.proto.
918
+ */
919
+ export type IfHasDuplicatesOption = Message<"IfHasDuplicatesOption"> & {
920
+ /**
921
+ * A user-defined error message.
922
+ *
923
+ * The specified message may include the following placeholders:
924
+ *
925
+ * 1. `${field.path}` – the field path.
926
+ * 2. `${field.type}` – the fully qualified name of the field type.
927
+ * 3. `${field.value}` – the field value (the whole collection).
928
+ * 4. `${field.duplicates}` – the duplicates found (elements that occur more than once).
929
+ * 5. `${parent.type}` – the fully qualified name of the validated message.
930
+ *
931
+ * The placeholders will be replaced at runtime when the error is constructed.
932
+ *
933
+ * Example: using the `(distinct)` option.
934
+ *
935
+ * message Blizzard {
936
+ * repeated Snowflake = 1 [(distinct) = true,
937
+ * (if_has_duplicates).error_msg = "Every snowflake must be unique! The duplicates found: `${field.duplicates}`."];
938
+ * }
939
+ *
940
+ *
941
+ * @generated from field: string error_msg = 1;
942
+ */
943
+ errorMsg: string;
944
+ };
945
+ /**
946
+ * Describes the message IfHasDuplicatesOption.
947
+ * Use `create(IfHasDuplicatesOptionSchema)` to create a new message.
948
+ * Generated from Proto: spine/options.proto.
949
+ */
950
+ export declare const IfHasDuplicatesOptionSchema: GenMessage<IfHasDuplicatesOption>;
951
+ /**
952
+ * Indicates that the numeric field must belong to the specified bounded range.
953
+ *
954
+ * For unbounded ranges, please use `(min)` and `(max)` options.
955
+ *
956
+ * The option supports all singular and repeated numeric fields.
957
+ *
958
+ *
959
+ * @generated from message RangeOption
960
+ * Generated from Proto: spine/options.proto.
961
+ */
962
+ export type RangeOption = Message<"RangeOption"> & {
963
+ /**
964
+ * The string representation of the range.
965
+ *
966
+ * A range consists of two bounds: a lower bound and an upper bound. These bounds are
967
+ * separated by either the `..` or ` .. ` delimiter. Each bound can be either open
968
+ * or closed. The format of the bounds and the valid values depend on the type of field.
969
+ *
970
+ * ## Bound Types
971
+ *
972
+ * - Closed bounds include the endpoint and are indicated using square brackets (`[`, `]`).
973
+ * Example: `[0..10]` represents values from 0 to 10, inclusive.
974
+ *
975
+ * - Open bounds exclude the endpoint and are indicated using parentheses (`(`, `)`).
976
+ * Example: `(0..10)` represents values strictly between 0 and 10.
977
+ *
978
+ * The lower bound must be less than or equal to the upper bound.
979
+ *
980
+ * ## Integer Fields
981
+ *
982
+ * A range for an integer field must use integer numbers. Specifying a decimal number
983
+ * is not allowed, even if it has no fractional part (e.g., `5.0` is invalid).
984
+ *
985
+ * Example: defining ranges for integer fields.
986
+ *
987
+ * message Measurements {
988
+ * int32 length = 1 [(range).value = "[0..100)"];
989
+ * uint32 mass = 2 [(range).value = "(0..100]"];
990
+ * }
991
+ *
992
+ * ## Floating-Point Fields
993
+ *
994
+ * A range for a floating-point field must use a decimal separator (`.`), even if the value
995
+ * has no fractional part. An exponent part represented by `E` or `e`, followed by an optional
996
+ * sign and digits is allowed (e.g., `1.2E3`, `0.5e-2`).
997
+ *
998
+ * Example: defining ranges for floating-point fields.
999
+ *
1000
+ * message Measurements {
1001
+ * float degree = 1 [(range).value = "[0.0 .. 360.0)"];
1002
+ * double angle = 2 [(range).value = "(0.0 .. 180.0)"];
1003
+ * float pressure = 3 [(range).value = "[950.0E-2 .. 1050.0E-2]"];
1004
+ * }
1005
+ *
1006
+ * ## Field Type Limitations
1007
+ *
1008
+ * A range must not exceed the limits of the field type.
1009
+ *
1010
+ * Example: invalid ranges that exceed the field type limits.
1011
+ *
1012
+ * message OverflowMeasurements {
1013
+ * float price = 1 [(range).value = "[0, 5.5E38]"]; // Exceeds the `float` maximum.
1014
+ * uint32 size = 2 [(range).value = "[-5; 10]"]; // Falls below the `uint32` minimum.
1015
+ * }
1016
+ *
1017
+ * ## Field references
1018
+ *
1019
+ * Instead of numeric literals, you can reference another numeric field.
1020
+ * At runtime, the field’s value will be used as the bound. Nested fields are supported.
1021
+ *
1022
+ * Example: defining ranges using field references.
1023
+ *
1024
+ * message Measurements {
1025
+ *
1026
+ * int32 max_length = 1;
1027
+ * int32 length = 2 [(range).value = "[1 .. max_length"];
1028
+ *
1029
+ * Limits limits = 3;
1030
+ * int32 temperature = 4 [(range).value = "[limits.low_temp .. limits.high_temp]"];
1031
+ * }
1032
+ *
1033
+ * message Limits {
1034
+ * int32 low_temp = 1;
1035
+ * int32 high_temp = 2;
1036
+ * }
1037
+ *
1038
+ * Note: Field type compatibility is not required in this case; the value is
1039
+ * automatically converted. However, only numeric fields can be referenced.
1040
+ * Repeated and map fields are not supported.
1041
+ *
1042
+ *
1043
+ * @generated from field: string value = 1;
1044
+ */
1045
+ value: string;
1046
+ /**
1047
+ * A user-defined error message.
1048
+ *
1049
+ * The specified message may include the following placeholders:
1050
+ *
1051
+ * 1. `${field.path}` – the field path.
1052
+ * 2. `${field.value}` - the field value.
1053
+ * 3. `${field.type}` – the fully qualified name of the field type.
1054
+ * 4. `${parent.type}` – the fully qualified name of the validated message.
1055
+ * 5. `${range.value}` – the specified range. For referenced fields, the actual
1056
+ * field value is also printed in round brackets along with the reference itself.
1057
+ *
1058
+ * The placeholders will be replaced at runtime when the error is constructed.
1059
+ *
1060
+ *
1061
+ * @generated from field: string error_msg = 2;
1062
+ */
1063
+ errorMsg: string;
1064
+ };
1065
+ /**
1066
+ * Describes the message RangeOption.
1067
+ * Use `create(RangeOptionSchema)` to create a new message.
1068
+ * Generated from Proto: spine/options.proto.
1069
+ */
1070
+ export declare const RangeOptionSchema: GenMessage<RangeOption>;
1071
+ /**
1072
+ * Controls whether a `oneof` group must always have one of its fields set.
1073
+ *
1074
+ * Note that unlike the `(required)` constraint, this option supports any field types
1075
+ * within the group cases.
1076
+ *
1077
+ *
1078
+ * @generated from message ChoiceOption
1079
+ * Generated from Proto: spine/options.proto.
1080
+ */
1081
+ export type ChoiceOption = Message<"ChoiceOption"> & {
1082
+ /**
1083
+ * Enables or disables the requirement for the `oneof` group to have a value.
1084
+ *
1085
+ * @generated from field: bool required = 1;
1086
+ */
1087
+ required: boolean;
1088
+ /**
1089
+ * A user-defined error message.
1090
+ *
1091
+ * The specified message may include the following placeholders:
1092
+ *
1093
+ * 1. `${group.path}` – the group path.
1094
+ * 2. `${parent.type}` – the fully qualified name of the validated message.
1095
+ *
1096
+ * The placeholders will be replaced at runtime when the error is constructed.
1097
+ *
1098
+ *
1099
+ * @generated from field: string error_msg = 2;
1100
+ */
1101
+ errorMsg: string;
1102
+ };
1103
+ /**
1104
+ * Describes the message ChoiceOption.
1105
+ * Use `create(ChoiceOptionSchema)` to create a new message.
1106
+ * Generated from Proto: spine/options.proto.
1107
+ */
1108
+ export declare const ChoiceOptionSchema: GenMessage<ChoiceOption>;
1109
+ /**
1110
+ * Declares the field groups, at least one of which must have all of its fields set.
1111
+ *
1112
+ * Unlike the `(required)` field constraint, which requires the presence of
1113
+ * a specific field, this option allows specifying alternative field groups.
1114
+ *
1115
+ *
1116
+ * @generated from message RequireOption
1117
+ * Generated from Proto: spine/options.proto.
1118
+ */
1119
+ export type RequireOption = Message<"RequireOption"> & {
1120
+ /**
1121
+ * A set of field groups, at least one of which must have all of its fields set.
1122
+ *
1123
+ * A field group can include one or more fields joined by the ampersand (`&`) symbol.
1124
+ * `oneof` group names are also valid and can be used along with field names.
1125
+ * Groups are separated using the pipe (`|`) symbol.
1126
+ *
1127
+ * The field type determines when the field is considered set:
1128
+ *
1129
+ * 1. For message or enum fields, it must have a non-default instance.
1130
+ * 2. For `string` and `bytes` fields, it must be non-empty.
1131
+ * 3. For repeated fields and maps, it must contain at least one element.
1132
+ *
1133
+ * Fields of other types are not supported by this option.
1134
+ *
1135
+ * For `oneof`s, the restrictions above do not apply. Any `oneof` group can be used
1136
+ * without considering the field types, and its value will be checked directly without
1137
+ * relying on the default values of the fields within the `oneof`.
1138
+ *
1139
+ * Example: defining two field groups.
1140
+ *
1141
+ * message PersonName {
1142
+ * option (require).fields = "given_name | honorific_prefix & family_name";
1143
+ *
1144
+ * string honorific_prefix = 1;
1145
+ * string given_name = 2;
1146
+ * string middle_name = 3;
1147
+ * string family_name = 4;
1148
+ * string honorific_suffix = 5;
1149
+ * }
1150
+ *
1151
+ * In this example, at least `given_name` or a group of `honorific_prefix`
1152
+ * and `family_name` fields must be set.
1153
+ *
1154
+ *
1155
+ * @generated from field: string fields = 1;
1156
+ */
1157
+ fields: string;
1158
+ /**
1159
+ * A user-defined error message.
1160
+ *
1161
+ * The specified message may include the following placeholders:
1162
+ *
1163
+ * 1. `${message.type}` – the fully qualified name of the validated message.
1164
+ * 2. `${require.fields}` – the specified field groups.
1165
+ *
1166
+ * The placeholders will be replaced at runtime when the error is constructed.
1167
+ *
1168
+ *
1169
+ * @generated from field: string error_msg = 2;
1170
+ */
1171
+ errorMsg: string;
1172
+ };
1173
+ /**
1174
+ * Describes the message RequireOption.
1175
+ * Use `create(RequireOptionSchema)` to create a new message.
1176
+ * Generated from Proto: spine/options.proto.
1177
+ */
1178
+ export declare const RequireOptionSchema: GenMessage<RequireOption>;
1179
+ /**
1180
+ * The option to mark a field as required.
1181
+ *
1182
+ * When this option is set:
1183
+ *
1184
+ * 1. For message fields, the field must not be set to the default instance
1185
+ * (a message with all fields unset).
1186
+ * 2. For enum fields, the field must not be set to the constant whose numeric
1187
+ * value is zero — the first constant declared, as required by proto3.
1188
+ * 3. For `string` and `bytes` fields, the value must be a non-empty string or
1189
+ * a non-empty byte sequence, respectively.
1190
+ * 4. For `repeated` and `map` fields, the field is considered missing when it is
1191
+ * empty, or when any of its elements (for `map`, any of its values) is itself
1192
+ * "missing". A per-element "missing" check is applied as follows:
1193
+ *
1194
+ * - `string` elements/values: an empty string is treated as missing — analogously
1195
+ * to how an empty string is rejected for a singular `(required) string` field.
1196
+ * - `bytes` elements/values: an empty byte sequence is treated as missing —
1197
+ * analogously to how an empty payload is rejected for a singular
1198
+ * `(required) bytes` field.
1199
+ * - message elements/values: the default instance is treated as missing —
1200
+ * analogously to a singular `(required)` message field.
1201
+ * - enum elements/values: a constant whose numeric value is zero is treated as
1202
+ * missing — analogously to a singular `(required)` enum field.
1203
+ * - Numeric and `bool` elements/values: no per-element check is performed; only
1204
+ * the presence of at least one element is required. The notion of "missing" is
1205
+ * not meaningful for these types in a collection context.
1206
+ *
1207
+ * For `map` fields, only values are inspected; keys are not checked. Keys
1208
+ * identify entries and are structurally present whenever an entry exists, so
1209
+ * `(required)` — which constrains field *content* — applies only to the value
1210
+ * side of each entry. Consequently, an empty-string key is allowed as long as
1211
+ * its associated value is not missing.
1212
+ *
1213
+ * Other field types are not supported by the option.
1214
+ *
1215
+ * Unlike the `required` keyword in Protobuf 2, this option does not affect message
1216
+ * serialization or deserialization. Even if a message content violates the requirement
1217
+ * set by the option, it would still be a valid message for the Protobuf library.
1218
+ *
1219
+ * Example: Using `(required)` field validation constraint.
1220
+ *
1221
+ * message MyOuterMessage {
1222
+ * MyMessage field = 1 [(required) = true];
1223
+ * }
1224
+ *
1225
+ *
1226
+ * @generated from extension: bool required = 73812;
1227
+ * Generated from Proto: spine/options.proto.
1228
+ */
1229
+ export declare const required: GenExtension<FieldOptions, boolean>;
1230
+ /**
1231
+ * See `IfMissingOption`
1232
+ *
1233
+ * @generated from extension: IfMissingOption if_missing = 73813;
1234
+ * Generated from Proto: spine/options.proto.
1235
+ */
1236
+ export declare const if_missing: GenExtension<FieldOptions, IfMissingOption>;
1237
+ /**
1238
+ * A higher boundary to the range of values of a number.
1239
+ *
1240
+ * @generated from extension: MaxOption max = 73816;
1241
+ * Generated from Proto: spine/options.proto.
1242
+ */
1243
+ export declare const max: GenExtension<FieldOptions, MaxOption>;
1244
+ /**
1245
+ * A lower boundary to the range of values of a number.
1246
+ *
1247
+ * @generated from extension: MinOption min = 73817;
1248
+ * Generated from Proto: spine/options.proto.
1249
+ */
1250
+ export declare const min: GenExtension<FieldOptions, MinOption>;
1251
+ /**
1252
+ * See `PatternOption`.
1253
+ *
1254
+ * @generated from extension: PatternOption pattern = 73820;
1255
+ * Generated from Proto: spine/options.proto.
1256
+ */
1257
+ export declare const pattern: GenExtension<FieldOptions, PatternOption>;
1258
+ /**
1259
+ * Enables in-depth validation for fields that refer to a message.
1260
+ *
1261
+ * This option applies only to fields that reference a message:
1262
+ *
1263
+ * 1. Singular message fields.
1264
+ * 2. Repeated fields of message types.
1265
+ * 3. Map fields with message types as values.
1266
+ *
1267
+ * When set to `true`, the field is valid only if its value satisfies the validation
1268
+ * constraints defined in the corresponding message type:
1269
+ *
1270
+ * 1. For singular message fields: the message must meet its constraints.
1271
+ *
1272
+ * Note: default instances are considered valid even if the message has required fields.
1273
+ * In such cases, it is unclear whether the field is set with an invalid instance or
1274
+ * simply unset.
1275
+ *
1276
+ * Example:
1277
+ *
1278
+ * ```
1279
+ * // Note that the default instance of `Address` is not valid because the `value` field
1280
+ * // is mandatory.
1281
+ * message Address {
1282
+ * string value = 1 [(required) = true];
1283
+ * }
1284
+ *
1285
+ * // However, the default instance of `Address` in `Student.address` is valid, despite
1286
+ * // having `(validate)` constraint that forces the message to meet its constraints.
1287
+ * // Since the `address` field is optional for `Student`, `(validate)` would allow
1288
+ * // default instances for this field treating them as "no value set".
1289
+ * message Student {
1290
+ * Address address = 1 [(validate) = true]; // implicit `(required) = false`.
1291
+ * }
1292
+ *
1293
+ * // Make the validated field required to avoid this behavior. In this case, `(validate)`
1294
+ * // continues to bypass default instances, but the `(required)` option will report them.
1295
+ * message Student {
1296
+ * Address address = 1 [(validate) = true, (required) = true];
1297
+ * }
1298
+ * ```
1299
+ *
1300
+ * 2. For repeated fields: every element in the repeated field must meet the constraints
1301
+ * of its message type.
1302
+ *
1303
+ * Example:
1304
+ *
1305
+ * ```
1306
+ * // Note that the default instance of `PhoneNumber` is not valid because the `value`
1307
+ * // field is mandatory.
1308
+ * message PhoneNumber {
1309
+ * string value = 1 [(required) = true, (pattern).regex = "^\+?[0-9\s\-()]{1,30}$"];
1310
+ * }
1311
+ *
1312
+ * // In contrast to singular fields, the default instances in `repeated` will also be
1313
+ * // reported by the `(validate)` constraint, with those that do not match the pattern.
1314
+ * message Student {
1315
+ * repeated PhoneNumber number = 1 [(validate) = true];
1316
+ * }
1317
+ * ```
1318
+ *
1319
+ * 3. For map fields: each value in the map must meet the constraints of its message type.
1320
+ * Note: Protobuf does not allow messages to be used as map keys.
1321
+ *
1322
+ * Example:
1323
+ *
1324
+ * ```
1325
+ * // Note that the default instance of `PhoneNumber` is not valid because the `value`
1326
+ * // field is mandatory.
1327
+ * message PhoneNumber {
1328
+ * string value = 1 [(required) = true, (pattern).regex = "^\+?[0-9\s\-()]{1,30}$"];
1329
+ * }
1330
+ *
1331
+ * // In contrast to singular fields, the default instances in `map` values will also be
1332
+ * // reported by the `(validate)` constraint, with those that do not match the pattern.
1333
+ * message Contacts {
1334
+ * map<string, PhoneNumber> map = 1 [(validate) = true];
1335
+ * }
1336
+ * ```
1337
+ *
1338
+ * If the field contains `google.protobuf.Any`, the option will first attempt to unpack
1339
+ * the enclosed message, and only then validate it. However, unpacking is not always possible:
1340
+ *
1341
+ * 1. The default instance of `Any` is always valid because there is nothing to unpack
1342
+ * and validate.
1343
+ * 2. Instances with type URLs that are unknown to the application are also valid.
1344
+ *
1345
+ * Unpacking requires a corresponding Java class to deserialize the message, but if
1346
+ * the application does not recognize the type URL, it has no way to determine which
1347
+ * class to use.
1348
+ *
1349
+ * Such may happen when the packed message comes from a newer app version, an external
1350
+ * system, or is simply not included in the application’s dependencies.
1351
+ *
1352
+ *
1353
+ * @generated from extension: bool validate = 73821;
1354
+ * Generated from Proto: spine/options.proto.
1355
+ */
1356
+ export declare const validate: GenExtension<FieldOptions, boolean>;
1357
+ /**
1358
+ * See `IfInvalidOption`.
1359
+ *
1360
+ * @generated from extension: IfInvalidOption if_invalid = 73822 [deprecated = true];
1361
+ * @deprecated
1362
+ * Generated from Proto: spine/options.proto.
1363
+ */
1364
+ export declare const if_invalid: GenExtension<FieldOptions, IfInvalidOption>;
1365
+ /**
1366
+ * See `GoesOption`.
1367
+ *
1368
+ * @generated from extension: GoesOption goes = 73823;
1369
+ * Generated from Proto: spine/options.proto.
1370
+ */
1371
+ export declare const goes: GenExtension<FieldOptions, GoesOption>;
1372
+ /**
1373
+ * Indicates that a field can only be set once.
1374
+ *
1375
+ * This option allows the target field to accept assignments only if one of the following
1376
+ * conditions is met:
1377
+ *
1378
+ * 1. The current field value is the default for its type.
1379
+ * Refer to the official docs on default values: https://protobuf.dev/programming-guides/proto3/#default.
1380
+ * 2. The current field value equals to the proposed new value.
1381
+ *
1382
+ * The option can be applied to the following singular field types:
1383
+ *
1384
+ * - any message or enum type;
1385
+ * - any numeric type;
1386
+ * - `bool`, `string` and `bytes`.
1387
+ *
1388
+ * Repeated fields, maps, and fields with explicit `optional` cardinality are not supported.
1389
+ * Such declarations will lead to build-time errors. For more information on field cardinality,
1390
+ * refer to the official docs: https://protobuf.dev/programming-guides/proto3/#field-labels.
1391
+ *
1392
+ * Assigning a value to a message field can be done in various ways in the generated code.
1393
+ * It depends on the target language and specific implementation of `protoc`. This option
1394
+ * doesn't enforce field immutability at the binary representation level. Also, it does not
1395
+ * prevent the use of Protobuf utilities that can construct new messages without using field
1396
+ * setters or properties. The primary purpose of this option is to support standard use cases,
1397
+ * such as assigning values through setters or retrieving them during data merging.
1398
+ *
1399
+ * For example, let's take a look on how it works for the generated Java code. The following
1400
+ * use cases are supported and validated by the option:
1401
+ *
1402
+ * 1. Assigning a field value using the field setter.
1403
+ * 2. Assigning a field value using the field descriptor.
1404
+ * 3. Merging data from another instance of the message class.
1405
+ * 4. Merging data from a message's binary representation.
1406
+ * 5. Merging specific fields (available for Message fields).
1407
+ *
1408
+ * Unsupported Java use cases include:
1409
+ *
1410
+ * 1. Constructing a message using the `DynamicMessage` class.
1411
+ * 2. Merging data from messages provided by third-party Protobuf implementations.
1412
+ * 3. Clearing a specific field or an entire message.
1413
+ *
1414
+ * For unsupported scenarios, the option performs no validation. It does not throw errors
1415
+ * or print warnings.
1416
+ *
1417
+ * A typical use case involves a field, such as an ID, which remains constant throughout
1418
+ * the lifecycle of an entity.
1419
+ *
1420
+ * Example: using `(set_once)` field validation constraint.
1421
+ *
1422
+ * message User {
1423
+ * UserId id = 1 [(set_once) = true];
1424
+ * }
1425
+ *
1426
+ * Once set, the `id` field cannot be changed.
1427
+ *
1428
+ * Use the `(if_set_again).error_msg` option to specify a custom error message that will be used for
1429
+ * composing the error upon attempting to re-assign the field value. Refer to the documentation
1430
+ * for the corresponding option for an example of its usage.
1431
+ *
1432
+ *
1433
+ * @generated from extension: bool set_once = 73824;
1434
+ * Generated from Proto: spine/options.proto.
1435
+ */
1436
+ export declare const set_once: GenExtension<FieldOptions, boolean>;
1437
+ /**
1438
+ * The option to enforce uniqueness for collection fields.
1439
+ *
1440
+ * When the option is set to `true`, the behavior is as follows:
1441
+ *
1442
+ * 1. For `repeated` fields: all elements must be unique.
1443
+ * 2. For `map` fields: while the map keys are inherently unique, all associated values
1444
+ * must also be unique.
1445
+ *
1446
+ * Other field types are not supported.
1447
+ *
1448
+ * Uniqueness is determined by comparing the elements themselves, using their full equality.
1449
+ * For example, in Java, it is defined by the `equals()` method. No special cases are applied,
1450
+ * such as comparing only specific fields like IDs.
1451
+ *
1452
+ * Example: using `(distinct)` constraint for a `repeated` field.
1453
+ *
1454
+ * message Blizzard {
1455
+ *
1456
+ * // All snowflakes must be unique in this blizzard.
1457
+ * //
1458
+ * // Attempting to add a snowflake that is equal to an existing one would result
1459
+ * // in a constraint violation error.
1460
+ * //
1461
+ * repeated Snowflake snowflakes = 1 [(distinct) = true];
1462
+ * }
1463
+ *
1464
+ * Example: using `(distinct)` constraint for a `map` field.
1465
+ *
1466
+ * message UniqueEmails {
1467
+ *
1468
+ * // The associated email values must be unique.
1469
+ * //
1470
+ * // Attempting to add a key/value pair where the `Email` value duplicates
1471
+ * // an existing one would result in a constraint violation error.
1472
+ * //
1473
+ * map<string, Email> emails = 1 [(distinct) = true];
1474
+ * }
1475
+ *
1476
+ *
1477
+ * @generated from extension: bool distinct = 73825;
1478
+ * Generated from Proto: spine/options.proto.
1479
+ */
1480
+ export declare const distinct: GenExtension<FieldOptions, boolean>;
1481
+ /**
1482
+ * Defines the error message used if a `set_once` field is set again.
1483
+ *
1484
+ * Applies only to the fields marked as `set_once`.
1485
+ *
1486
+ *
1487
+ * @generated from extension: IfSetAgainOption if_set_again = 73827;
1488
+ * Generated from Proto: spine/options.proto.
1489
+ */
1490
+ export declare const if_set_again: GenExtension<FieldOptions, IfSetAgainOption>;
1491
+ /**
1492
+ * Defines the error message used if a `distinct` field has duplicates.
1493
+ *
1494
+ * Applies only to the repeated fields marked as `distinct`.
1495
+ *
1496
+ *
1497
+ * @generated from extension: IfHasDuplicatesOption if_has_duplicates = 73828;
1498
+ * Generated from Proto: spine/options.proto.
1499
+ */
1500
+ export declare const if_has_duplicates: GenExtension<FieldOptions, IfHasDuplicatesOption>;
1501
+ /**
1502
+ * The option to indicate that a numeric field is required to have a value that belongs
1503
+ * to the specified bounded range.
1504
+ *
1505
+ * For unbounded ranges, please use `(min)` and `(max)` options.
1506
+ *
1507
+ *
1508
+ * @generated from extension: RangeOption range = 73829;
1509
+ * Generated from Proto: spine/options.proto.
1510
+ */
1511
+ export declare const range: GenExtension<FieldOptions, RangeOption>;
1512
+ /**
1513
+ * Indicates a field that is internal to Spine, not part of the public API, and should not be
1514
+ * used by users of the framework.
1515
+ *
1516
+ * If you plan to implement an extension of the framework, which is going to be
1517
+ * wired into the framework, you may use the internal parts. Please consult with the Spine
1518
+ * team, as the internal APIs do not have the same stability API guarantee as public ones.
1519
+ *
1520
+ *
1521
+ * @generated from extension: bool internal = 73850;
1522
+ * Generated from Proto: spine/options.proto.
1523
+ */
1524
+ export declare const internal: GenExtension<FieldOptions, boolean>;
1525
+ /**
1526
+ * Indicates a field that can change at any time, and has no guarantee of API stability and
1527
+ * backward-compatibility.
1528
+ *
1529
+ * Usage guidelines:
1530
+ * 1. This annotation is used only on public API. Internal interfaces should not use it.
1531
+ * 2. This annotation can only be added to new API. Adding it to an existing API is considered
1532
+ * API-breaking.
1533
+ * 3. Removing this annotation from an API gives it stable status.
1534
+ *
1535
+ *
1536
+ * @generated from extension: bool experimental = 73852;
1537
+ * Generated from Proto: spine/options.proto.
1538
+ */
1539
+ export declare const experimental: GenExtension<FieldOptions, boolean>;
1540
+ /**
1541
+ * Signifies that a public API is subject to incompatible changes, or even removal, in a future
1542
+ * release.
1543
+ *
1544
+ * An API bearing this annotation is exempt from any compatibility guarantees made by its
1545
+ * containing library. Note that the presence of this annotation implies nothing about the
1546
+ * quality of the API in question, only the fact that it is not "API-frozen."
1547
+ * It is generally safe for applications to depend on beta APIs, at the cost of
1548
+ * some extra work during upgrades.
1549
+ *
1550
+ *
1551
+ * @generated from extension: bool beta = 73853;
1552
+ * Generated from Proto: spine/options.proto.
1553
+ */
1554
+ export declare const beta: GenExtension<FieldOptions, boolean>;
1555
+ /**
1556
+ * Marks an entity state field as a column.
1557
+ *
1558
+ * The column fields are stored separately from the entity record and can be specified as
1559
+ * filtering criteria during entity querying.
1560
+ *
1561
+ * The column field should be declared as follows:
1562
+ *
1563
+ * message UserProfile {
1564
+ * ...
1565
+ * int32 year_of_registration = 8 [(column) = true];
1566
+ * }
1567
+ *
1568
+ * The `year_of_registration` field value can then be used as a query parameter when reading
1569
+ * entities of `UserProfile` type from the server side.
1570
+ *
1571
+ * The value of a column field can be updated in two ways:
1572
+ *
1573
+ * 1. In the receptors of the entity, just like any other part of entity state.
1574
+ * 2. Using the language-specific tools like the `EntityWithColumns` interface in Java.
1575
+ *
1576
+ * All column fields are considered optional by the framework.
1577
+ *
1578
+ * Currently, only entities of projection and process manager type are
1579
+ * eligible for having columns (see `EntityOption`).
1580
+ * For all other message types the column declarations are ignored.
1581
+ *
1582
+ * The `repeated` and `map` fields cannot be columns.
1583
+ *
1584
+ *
1585
+ * @generated from extension: bool column = 73854;
1586
+ * Generated from Proto: spine/options.proto.
1587
+ */
1588
+ export declare const column: GenExtension<FieldOptions, boolean>;
1589
+ /**
1590
+ * Deprecated: use the `(choice)` option instead.
1591
+ *
1592
+ * @generated from extension: bool is_required = 73891 [deprecated = true];
1593
+ * @deprecated
1594
+ * Generated from Proto: spine/options.proto.
1595
+ */
1596
+ export declare const is_required: GenExtension<OneofOptions, boolean>;
1597
+ /**
1598
+ * Controls whether a `oneof` group must always have one of its fields set.
1599
+ *
1600
+ * @generated from extension: ChoiceOption choice = 73892;
1601
+ * Generated from Proto: spine/options.proto.
1602
+ */
1603
+ export declare const choice: GenExtension<OneofOptions, ChoiceOption>;
1604
+ /**
1605
+ * The default validation error message.
1606
+ *
1607
+ * Please note, this option is intended for INTERNAL USE only. It applies to message types
1608
+ * that extend `FieldOptions` and is not intended for external usage.
1609
+ *
1610
+ * If a validation option detects a constraint violation and no custom error message is defined
1611
+ * for that specific option, it will fall back to the message specified by `(default_message)`.
1612
+ *
1613
+ * For example, here is how to declare the default message for `(goes)` option:
1614
+ *
1615
+ * ```
1616
+ * message GoesOption {
1617
+ * // The default error message.
1618
+ * option (default_message) = "The field `${goes.companion}` must also be set when `${field.path}` is set.";
1619
+ * }
1620
+ * ```
1621
+ *
1622
+ * Note: The placeholders available within `(default_message)` depend solely on the particular
1623
+ * validation option that uses it. Each option may define its own set of placeholders, or none.
1624
+ *
1625
+ *
1626
+ * @generated from extension: string default_message = 73901;
1627
+ * Generated from Proto: spine/options.proto.
1628
+ */
1629
+ export declare const default_message: GenExtension<MessageOptions, string>;
1630
+ /**
1631
+ * Deprecated: use the `(require)` option instead.
1632
+ *
1633
+ * @generated from extension: string required_field = 73902 [deprecated = true];
1634
+ * @deprecated
1635
+ * Generated from Proto: spine/options.proto.
1636
+ */
1637
+ export declare const required_field: GenExtension<MessageOptions, string>;
1638
+ /**
1639
+ * See `EntityOption`.
1640
+ *
1641
+ * @generated from extension: EntityOption entity = 73903;
1642
+ * Generated from Proto: spine/options.proto.
1643
+ */
1644
+ export declare const entity: GenExtension<MessageOptions, EntityOption>;
1645
+ /**
1646
+ * An external validation constraint for a field.
1647
+ *
1648
+ * WARNING: This option is deprecated and is scheduled for removal in Spine v2.0.0.
1649
+ *
1650
+ * Allows re-defining validation constraints for a message when its usage as a field of
1651
+ * another type requires alternative constraints. This includes definition of constraints for
1652
+ * a message that does not have them defined within the type.
1653
+ *
1654
+ * A target field of an external constraint should be specified using a fully-qualified
1655
+ * field name (e.g. `mypackage.MessageName.field_name`).
1656
+ *
1657
+ * Example: defining external validation constraint.
1658
+ *
1659
+ * package io.spine.example;
1660
+ *
1661
+ * // Defines a change in a string value.
1662
+ * //
1663
+ * // Both of the fields of this message are not `required` to be able to describe
1664
+ * // a change from empty value to non-empty value, or from a non-empty value to
1665
+ * // an empty string.
1666
+ * //
1667
+ * message StringChange {
1668
+ *
1669
+ * // The value of the field that's changing.
1670
+ * string previous_value = 1;
1671
+ *
1672
+ * // The new value of the field.
1673
+ * string new_value = 2;
1674
+ * }
1675
+ *
1676
+ * // A command to change a name of a task.
1677
+ * //
1678
+ * // The task has a non-empty name. A new name cannot be empty.
1679
+ * //
1680
+ * message RenameTask {
1681
+ *
1682
+ * // The ID of the task to rename.
1683
+ * string task_id = 1;
1684
+ *
1685
+ * // Instruction for changing the name.
1686
+ * //
1687
+ * // The value of `change.previous_value` is the current name of the task.
1688
+ * // It cannot be empty.
1689
+ * //
1690
+ * // The value of `change.new_value` is the new name of the task.
1691
+ * // It cannot be empty either.
1692
+ * //
1693
+ * StringChange change = 1 [(validate) = true];
1694
+ * }
1695
+ *
1696
+ * // External validation constraint for both fields of the `StringChange` message
1697
+ * // in the scope of the `RenameTask` command.
1698
+ * //
1699
+ * message RequireTaskNames {
1700
+ * option (constraint_for) = "spine.example.RenameTask.change";
1701
+ *
1702
+ * string previous_value = 1 [(required) = true];
1703
+ * string new_value = 2 [(required) = true];
1704
+ * }
1705
+ *
1706
+ * NOTE: A target field for an external validation constraint must have the option `(validate)`
1707
+ * set to `true`. See the definition of the `RenameTask.change` field in the example
1708
+ * above. If there is no such option defined, or it is set to `false`, the external
1709
+ * constraint will not be applied.
1710
+ *
1711
+ * External validation constraints can be applied to fields of several types.
1712
+ * To do so, separate fully-qualified references to these fields with comma.
1713
+ *
1714
+ * Example: external validation constraints for multiple fields.
1715
+ *
1716
+ * // External validation constraint for requiring a new value in renaming commands.
1717
+ * message RequireNewName {
1718
+ * option (constraint_for) = "spine.example.RenameTask.change,"
1719
+ * "spine.example.RenameProject.change,";
1720
+ * "spine.example.UpdateComment.text_change;
1721
+ *
1722
+ * string new_value = 1 [(required) = true];
1723
+ * }
1724
+ *
1725
+ * NOTE: An external validation constraint for a field must be defined only once.
1726
+ * Spine Model Compiler does not check such an "overwriting".
1727
+ * See the issue: https://github.com/SpineEventEngine/base/issues/318.
1728
+ *
1729
+ *
1730
+ * @generated from extension: string constraint_for = 73904 [deprecated = true];
1731
+ * @deprecated
1732
+ * Generated from Proto: spine/options.proto.
1733
+ */
1734
+ export declare const constraint_for: GenExtension<MessageOptions, string>;
1735
+ /**
1736
+ * Indicates a type usage of which is restricted in one of the following ways.
1737
+ *
1738
+ * 1. This type is internal to the Spine Event Engine framework. It is not a part of
1739
+ * the public API, and must not be used by framework users.
1740
+ *
1741
+ * 2. The type is internal to a bounded context, artifact of which exposes the type to
1742
+ * the outside world (presumably for historical reasons).
1743
+ *
1744
+ * The type with such an option can be used only inside the bounded context that declares it.
1745
+ *
1746
+ * The type must not be used neither for inbound (i.e. being sent to the bounded context
1747
+ * that declares this type) nor for outbound communication (i.e. being sent by this
1748
+ * bounded context outside).
1749
+ *
1750
+ * An attempt to violate these usage restrictions will result in a runtime error.
1751
+ *
1752
+ *
1753
+ * @generated from extension: bool internal_type = 73911;
1754
+ * Generated from Proto: spine/options.proto.
1755
+ */
1756
+ export declare const internal_type: GenExtension<MessageOptions, boolean>;
1757
+ /**
1758
+ * Indicates a file that contains elements of Service Provider Interface (SPI).
1759
+ *
1760
+ * @generated from extension: bool SPI_type = 73912;
1761
+ * Generated from Proto: spine/options.proto.
1762
+ */
1763
+ export declare const SPI_type: GenExtension<MessageOptions, boolean>;
1764
+ /**
1765
+ * Indicates a public API that can change at any time, and has no guarantee of
1766
+ * API stability and backward-compatibility.
1767
+ *
1768
+ * @generated from extension: bool experimental_type = 73913;
1769
+ * Generated from Proto: spine/options.proto.
1770
+ */
1771
+ export declare const experimental_type: GenExtension<MessageOptions, boolean>;
1772
+ /**
1773
+ * Signifies that a public API is subject to incompatible changes, or even removal,
1774
+ * in a future release.
1775
+ *
1776
+ * @generated from extension: bool beta_type = 73914;
1777
+ * Generated from Proto: spine/options.proto.
1778
+ */
1779
+ export declare const beta_type: GenExtension<MessageOptions, boolean>;
1780
+ /**
1781
+ * Specifies a characteristic inherent in the given message type.
1782
+ *
1783
+ * Example: using `(is)` message option.
1784
+ *
1785
+ * message CreateProject {
1786
+ * option (is).java_type = "ProjectCommand";
1787
+ *
1788
+ * // Remainder omitted.
1789
+ * }
1790
+ *
1791
+ * In the example above, `CreateProject` message is a `ProjectCommand`.
1792
+ *
1793
+ * To specify a characteristic for every message in a `.proto` file,
1794
+ * please use the `(every_is)` file option.
1795
+ *
1796
+ * If both `(is)` and `(every_is)` options are applicable for a type, both are applied.
1797
+ *
1798
+ * When targeting Java, specify the name of a Java interface to be implemented by this
1799
+ * message via `(is).java_type`.
1800
+ *
1801
+ * When targeting TypeScript, specify the name of a TypeScript interface to be
1802
+ * implemented by this message via `(is).ts_type`.
1803
+ *
1804
+ *
1805
+ * @generated from extension: IsOption is = 73915;
1806
+ * Generated from Proto: spine/options.proto.
1807
+ */
1808
+ export declare const is: GenExtension<MessageOptions, IsOption>;
1809
+ /**
1810
+ * Specifies the natural ordering strategy for this type.
1811
+ *
1812
+ * Code generators should generate language-specific comparisons based on the field paths.
1813
+ *
1814
+ * Runtime comparators may use the reflection API to compare field values.
1815
+ *
1816
+ *
1817
+ * @generated from extension: CompareByOption compare_by = 73923;
1818
+ * Generated from Proto: spine/options.proto.
1819
+ */
1820
+ export declare const compare_by: GenExtension<MessageOptions, CompareByOption>;
1821
+ /**
1822
+ * The constraint to require at least one of the fields or combinations of fields.
1823
+ *
1824
+ * @generated from extension: RequireOption require = 73924;
1825
+ * Generated from Proto: spine/options.proto.
1826
+ */
1827
+ export declare const require: GenExtension<MessageOptions, RequireOption>;
1828
+ /**
1829
+ * Specifies a type URL prefix for all types within a file.
1830
+ *
1831
+ * This type URL will be used when packing messages into `Any`.
1832
+ * See `any.proto` for more details.
1833
+ *
1834
+ *
1835
+ * @generated from extension: string type_url_prefix = 73941;
1836
+ * Generated from Proto: spine/options.proto.
1837
+ */
1838
+ export declare const type_url_prefix: GenExtension<FileOptions, string>;
1839
+ /**
1840
+ * Indicates a file that contains types usage of which is restricted.
1841
+ *
1842
+ * For more information on such restrictions please see the documentation of
1843
+ * the type option called `internal_type`.
1844
+ *
1845
+ * If a file contains a declaration of a `service`, this option will NOT be applied to it.
1846
+ * A service is not a data type, and therefore, this option does not apply to it.
1847
+ * Internal services are not supported.
1848
+ *
1849
+ *
1850
+ * @generated from extension: bool internal_all = 73942;
1851
+ * Generated from Proto: spine/options.proto.
1852
+ */
1853
+ export declare const internal_all: GenExtension<FileOptions, boolean>;
1854
+ /**
1855
+ * Indicates a file that contains elements of Service Provider Interface (SPI).
1856
+ *
1857
+ * This option applies to messages, enums, and services.
1858
+ *
1859
+ *
1860
+ * @generated from extension: bool SPI_all = 73943;
1861
+ * Generated from Proto: spine/options.proto.
1862
+ */
1863
+ export declare const SPI_all: GenExtension<FileOptions, boolean>;
1864
+ /**
1865
+ * Indicates a file declaring public data type API that can change at any time,
1866
+ * has no guarantee of API stability and backward-compatibility.
1867
+ *
1868
+ * If a file contains a declaration of a `service`, this option will NOT be applied to it.
1869
+ * A service is not a data type, and therefore, this option does not apply to it.
1870
+ * Experimental services are not supported.
1871
+ *
1872
+ *
1873
+ * @generated from extension: bool experimental_all = 73944;
1874
+ * Generated from Proto: spine/options.proto.
1875
+ */
1876
+ export declare const experimental_all: GenExtension<FileOptions, boolean>;
1877
+ /**
1878
+ * Signifies that a public data type API is subject to incompatible changes, or even removal,
1879
+ * in a future release.
1880
+ *
1881
+ * If a file contains a declaration of a `service`, this option will NOT be applied to it.
1882
+ * A service is not a data type, and therefore, this option does not apply to it.
1883
+ * Beta services are not supported.
1884
+ *
1885
+ *
1886
+ * @generated from extension: bool beta_all = 73945;
1887
+ * Generated from Proto: spine/options.proto.
1888
+ */
1889
+ export declare const beta_all: GenExtension<FileOptions, boolean>;
1890
+ /**
1891
+ * Specifies a characteristic common for all the message types in the given file.
1892
+ *
1893
+ * Example: marking all the messages using the `(every_is)` file option.
1894
+ * ```
1895
+ * option (every_is).java_type = "ProjectCommand";
1896
+ *
1897
+ * message CreateProject {
1898
+ * // ...
1899
+ *
1900
+ * message WithAssignee {
1901
+ * // ...
1902
+ * }
1903
+ * }
1904
+ *
1905
+ * message DeleteProject { /*...*\/ }
1906
+ * ```
1907
+ *
1908
+ * In the example above, `CreateProject`, `CreateProject.WithAssignee`, and `DeleteProject`
1909
+ * messages are `ProjectCommand`-s.
1910
+ *
1911
+ * To specify a characteristic for a single message, please use the `(is)` message option.
1912
+ * If both `(is)` and `(every_is)` options are applicable for a type, both are applied.
1913
+ *
1914
+ * When targeting Java, specify the name of a Java interface to be implemented by these
1915
+ * message types via `(every_is).java_type`.
1916
+ *
1917
+ * When targeting TypeScript, specify the name of a TypeScript interface to be
1918
+ * implemented by these message types via `(every_is).ts_type`.
1919
+ *
1920
+ *
1921
+ * @generated from extension: EveryIsOption every_is = 73946;
1922
+ * Generated from Proto: spine/options.proto.
1923
+ */
1924
+ export declare const every_is: GenExtension<FileOptions, EveryIsOption>;
1925
+ /**
1926
+ * Indicates that the service is a part of Service Provider Interface (SPI).
1927
+ *
1928
+ * @generated from extension: bool SPI_service = 73971;
1929
+ * Generated from Proto: spine/options.proto.
1930
+ */
1931
+ export declare const SPI_service: GenExtension<ServiceOptions, boolean>;
1932
+ //# sourceMappingURL=options_pb.d.ts.map