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

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 +142 -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 +64 -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,86 @@
1
+ /*
2
+ * Generated by Spine TypeScript. Do not edit manually.
3
+ * Source Proto: spine/client/subscription_service.proto
4
+ */
5
+
6
+ import type { GenFile, GenService } from "@bufbuild/protobuf/codegenv2";
7
+ import type { SubscriptionSchema, SubscriptionUpdateSchema, TopicSchema } from "./subscription_pb.js";
8
+ import type { ResponseSchema } from "../core/response_pb.js";
9
+ /**
10
+ * Describes the file spine/client/subscription_service.proto.
11
+ * Generated from Proto: spine/client/subscription_service.proto.
12
+ */
13
+ export declare const file_spine_client_subscription_service: GenFile;
14
+ /**
15
+ * A service for subscribing to receive updates by a specified topic.
16
+ *
17
+ * The subscription topic defines a type in updates of which the client code is interested, and
18
+ * filtering conditions (e.g. by values of fields or identity).
19
+ *
20
+ * Creating a subscription consists of two steps:
21
+ * * Step 1: creating a `Subscription` instance. This step verifies that the type specified in
22
+ * the `Topic` is available at the server, and prepares backend structures for delivering
23
+ * updates. Subscription is created by the `Subscribe(Topic)` call.
24
+ * together with the contexts of the events.
25
+ *
26
+ * * Step 2: activating the subscription. This step turns the subscription on.
27
+ * Activation is performed by the `Activate(Subscription)` call.
28
+ *
29
+ * The client will receive updates until the subscription is cancelled via `Cancel(Subscription)`.
30
+ *
31
+ *
32
+ * @generated from service spine.client.SubscriptionService
33
+ * Generated from Proto: spine/client/subscription_service.proto.
34
+ */
35
+ export declare const SubscriptionService: GenService<{
36
+ /**
37
+ * Creates the subscription to the particular read-side updates.
38
+ *
39
+ * Topic defines the target of subscription and other attributes (like field masks).
40
+ *
41
+ * NOTE: this method only creates a `Subscription` for the passed `Topic`.
42
+ * To start listening for updates, please call `Activate(Subscription)`.
43
+ *
44
+ *
45
+ * @generated from rpc spine.client.SubscriptionService.Subscribe
46
+ */
47
+ subscribe: {
48
+ methodKind: "unary";
49
+ input: typeof TopicSchema;
50
+ output: typeof SubscriptionSchema;
51
+ };
52
+ /**
53
+ * Activates the subscription.
54
+ *
55
+ * The client will start receiving the updates when 1) an instance of the type specified
56
+ * in the topic changes and 2) filtering conditions are met. See `spine.client.Target`.
57
+ *
58
+ * Cancelled subscriptions cannot be activated. Passing a cancelled subscription will result
59
+ * in a run-time error.
60
+ *
61
+ *
62
+ * @generated from rpc spine.client.SubscriptionService.Activate
63
+ */
64
+ activate: {
65
+ methodKind: "server_streaming";
66
+ input: typeof SubscriptionSchema;
67
+ output: typeof SubscriptionUpdateSchema;
68
+ };
69
+ /**
70
+ * Cancels the given subscription.
71
+ *
72
+ * Clients will stop receiving the `SubscriptionUpdate` after this method is called.
73
+ *
74
+ * The subscription is destroyed as the result of this call. To restore the subscription,
75
+ * please call `Subscribe(Topic)` and then `Activate(Subscription)` again.
76
+ *
77
+ *
78
+ * @generated from rpc spine.client.SubscriptionService.Cancel
79
+ */
80
+ cancel: {
81
+ methodKind: "unary";
82
+ input: typeof SubscriptionSchema;
83
+ output: typeof ResponseSchema;
84
+ };
85
+ }>;
86
+ //# sourceMappingURL=subscription_service_pb.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"subscription_service_pb.d.ts","sourceRoot":"","sources":["../../../../generated/spine/client/subscription_service_pb.ts"],"names":[],"mappings":"AAWA,OAAO,KAAK,EAAE,OAAO,EAAE,UAAU,EAAE,MAAM,8BAA8B,CAAC;AAGxE,OAAO,KAAK,EAAE,kBAAkB,EAAE,wBAAwB,EAAE,WAAW,EAAE,MAAM,sBAAsB,CAAC;AAEtG,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,wBAAwB,CAAC;AAG7D;;;GAGG;AACH,eAAO,MAAM,sCAAsC,EAAE,OACigB,CAAC;AAEvjB;;;;;;;;;;;;;;;;;;;;GAoBG;AACH,eAAO,MAAM,mBAAmB,EAAE,UAAU,CAAC;IAC3C;;;;;;;;;;OAUG;IACH,SAAS,EAAE;QACT,UAAU,EAAE,OAAO,CAAC;QACpB,KAAK,EAAE,OAAO,WAAW,CAAC;QAC1B,MAAM,EAAE,OAAO,kBAAkB,CAAC;KACnC,CAAC;IACF;;;;;;;;;;;OAWG;IACH,QAAQ,EAAE;QACR,UAAU,EAAE,kBAAkB,CAAC;QAC/B,KAAK,EAAE,OAAO,kBAAkB,CAAC;QACjC,MAAM,EAAE,OAAO,wBAAwB,CAAC;KACzC,CAAC;IACF;;;;;;;;;;OAUG;IACH,MAAM,EAAE;QACN,UAAU,EAAE,OAAO,CAAC;QACpB,KAAK,EAAE,OAAO,kBAAkB,CAAC;QACjC,MAAM,EAAE,OAAO,cAAc,CAAC;KAC/B,CAAC;CACH,CACuD,CAAC"}
@@ -0,0 +1,36 @@
1
+ /*
2
+ * Generated by Spine TypeScript. Do not edit manually.
3
+ * Source Proto: spine/client/subscription_service.proto
4
+ */
5
+ import { fileDesc, serviceDesc } from "@bufbuild/protobuf/codegenv2";
6
+ import { file_spine_options } from "../options_pb.js";
7
+ import { file_spine_client_subscription } from "./subscription_pb.js";
8
+ import { file_spine_core_response } from "../core/response_pb.js";
9
+ /**
10
+ * Describes the file spine/client/subscription_service.proto.
11
+ * Generated from Proto: spine/client/subscription_service.proto.
12
+ */
13
+ export const file_spine_client_subscription_service = /*@__PURE__*/ fileDesc("CidzcGluZS9jbGllbnQvc3Vic2NyaXB0aW9uX3NlcnZpY2UucHJvdG8SDHNwaW5lLmNsaWVudDLbAQoTU3Vic2NyaXB0aW9uU2VydmljZRI8CglTdWJzY3JpYmUSEy5zcGluZS5jbGllbnQuVG9waWMaGi5zcGluZS5jbGllbnQuU3Vic2NyaXB0aW9uEkoKCEFjdGl2YXRlEhouc3BpbmUuY2xpZW50LlN1YnNjcmlwdGlvbhogLnNwaW5lLmNsaWVudC5TdWJzY3JpcHRpb25VcGRhdGUwARI6CgZDYW5jZWwSGi5zcGluZS5jbGllbnQuU3Vic2NyaXB0aW9uGhQuc3BpbmUuY29yZS5SZXNwb25zZUJDChRpby5zcGluZS5jbGllbnQuZ3JwY0IYU3Vic2NyaXB0aW9uU2VydmljZVByb3RvUAGqjSQNdHlwZS5zcGluZS5pb2IGcHJvdG8z", [file_spine_options, file_spine_client_subscription, file_spine_core_response]);
14
+ /**
15
+ * A service for subscribing to receive updates by a specified topic.
16
+ *
17
+ * The subscription topic defines a type in updates of which the client code is interested, and
18
+ * filtering conditions (e.g. by values of fields or identity).
19
+ *
20
+ * Creating a subscription consists of two steps:
21
+ * * Step 1: creating a `Subscription` instance. This step verifies that the type specified in
22
+ * the `Topic` is available at the server, and prepares backend structures for delivering
23
+ * updates. Subscription is created by the `Subscribe(Topic)` call.
24
+ * together with the contexts of the events.
25
+ *
26
+ * * Step 2: activating the subscription. This step turns the subscription on.
27
+ * Activation is performed by the `Activate(Subscription)` call.
28
+ *
29
+ * The client will receive updates until the subscription is cancelled via `Cancel(Subscription)`.
30
+ *
31
+ *
32
+ * @generated from service spine.client.SubscriptionService
33
+ * Generated from Proto: spine/client/subscription_service.proto.
34
+ */
35
+ export const SubscriptionService = /*@__PURE__*/ serviceDesc(file_spine_client_subscription_service, 0);
36
+ //# sourceMappingURL=subscription_service_pb.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"subscription_service_pb.js","sourceRoot":"","sources":["../../../../generated/spine/client/subscription_service_pb.ts"],"names":[],"mappings":"AAAA;;;GAGG;AASH,OAAO,EAAE,QAAQ,EAAE,WAAW,EAAE,MAAM,8BAA8B,CAAC;AACrE,OAAO,EAAE,kBAAkB,EAAE,MAAM,kBAAkB,CAAC;AAEtD,OAAO,EAAE,8BAA8B,EAAE,MAAM,sBAAsB,CAAC;AAEtE,OAAO,EAAE,wBAAwB,EAAE,MAAM,wBAAwB,CAAC;AAElE;;;GAGG;AACH,MAAM,CAAC,MAAM,sCAAsC,GAAY,aAAa,CAC1E,QAAQ,CAAC,0dAA0d,EAAE,CAAC,kBAAkB,EAAE,8BAA8B,EAAE,wBAAwB,CAAC,CAAC,CAAC;AAEvjB;;;;;;;;;;;;;;;;;;;;GAoBG;AACH,MAAM,CAAC,MAAM,mBAAmB,GAkD3B,aAAa,CAChB,WAAW,CAAC,sCAAsC,EAAE,CAAC,CAAC,CAAC"}
@@ -0,0 +1,47 @@
1
+ /*
2
+ * Generated by Spine TypeScript. Do not edit manually.
3
+ * Source Proto: spine/core/ack.proto
4
+ */
5
+
6
+ import type { GenFile, GenMessage } from "@bufbuild/protobuf/codegenv2";
7
+ import type { Any } from "@bufbuild/protobuf/wkt";
8
+ import type { Status } from "./response_pb.js";
9
+ import type { Message } from "@bufbuild/protobuf";
10
+ /**
11
+ * Describes the file spine/core/ack.proto.
12
+ * Generated from Proto: spine/core/ack.proto.
13
+ */
14
+ export declare const file_spine_core_ack: GenFile;
15
+ /**
16
+ * An acknowledgement of posting a message for asynchronous processing at the server-side.
17
+ *
18
+ * This response means that a message was either accepted for further processing, or rejected
19
+ * (e.g. because of a validation error).
20
+ *
21
+ * The acknowledgement does not mean that the message was handled or even delivered to recipients.
22
+ *
23
+ *
24
+ * @generated from message spine.core.Ack
25
+ * Generated from Proto: spine/core/ack.proto.
26
+ */
27
+ export type Ack = Message<"spine.core.Ack"> & {
28
+ /**
29
+ * The ID of the message that has been posted.
30
+ *
31
+ * @generated from field: google.protobuf.Any message_id = 1;
32
+ */
33
+ messageId?: Any | undefined;
34
+ /**
35
+ * The response status.
36
+ *
37
+ * @generated from field: spine.core.Status status = 2;
38
+ */
39
+ status?: Status | undefined;
40
+ };
41
+ /**
42
+ * Describes the message spine.core.Ack.
43
+ * Use `create(AckSchema)` to create a new message.
44
+ * Generated from Proto: spine/core/ack.proto.
45
+ */
46
+ export declare const AckSchema: GenMessage<Ack>;
47
+ //# sourceMappingURL=ack_pb.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ack_pb.d.ts","sourceRoot":"","sources":["../../../../generated/spine/core/ack_pb.ts"],"names":[],"mappings":"AAWA,OAAO,KAAK,EAAE,OAAO,EAAE,UAAU,EAAE,MAAM,8BAA8B,CAAC;AAGxE,OAAO,KAAK,EAAE,GAAG,EAAE,MAAM,wBAAwB,CAAC;AAElD,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,kBAAkB,CAAC;AAE/C,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,oBAAoB,CAAC;AAElD;;;GAGG;AACH,eAAO,MAAM,mBAAmB,EAAE,OAC6S,CAAC;AAEhV;;;;;;;;;;;GAWG;AACH,MAAM,MAAM,GAAG,GAAG,OAAO,CAAC,gBAAgB,CAAC,GAAG;IAC5C;;;;OAIG;IACH,SAAS,CAAC,EAAE,GAAG,GAAG,SAAS,CAAC;IAE5B;;;;OAIG;IACH,MAAM,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;CAC7B,CAAC;AAEF;;;;GAIG;AACH,eAAO,MAAM,SAAS,EAAE,UAAU,CAAC,GAAG,CACD,CAAC"}
@@ -0,0 +1,20 @@
1
+ /*
2
+ * Generated by Spine TypeScript. Do not edit manually.
3
+ * Source Proto: spine/core/ack.proto
4
+ */
5
+ import { fileDesc, messageDesc } from "@bufbuild/protobuf/codegenv2";
6
+ import { file_spine_options } from "../options_pb.js";
7
+ import { file_google_protobuf_any } from "@bufbuild/protobuf/wkt";
8
+ import { file_spine_core_response } from "./response_pb.js";
9
+ /**
10
+ * Describes the file spine/core/ack.proto.
11
+ * Generated from Proto: spine/core/ack.proto.
12
+ */
13
+ export const file_spine_core_ack = /*@__PURE__*/ fileDesc("ChRzcGluZS9jb3JlL2Fjay5wcm90bxIKc3BpbmUuY29yZSJfCgNBY2sSLgoKbWVzc2FnZV9pZBgBIAEoCzIULmdvb2dsZS5wcm90b2J1Zi5BbnlCBKCFJAESKAoGc3RhdHVzGAIgASgLMhIuc3BpbmUuY29yZS5TdGF0dXNCBKCFJAFCLAoNaW8uc3BpbmUuY29yZUIIQnVzUHJvdG9QAaqNJA10eXBlLnNwaW5lLmlvYgZwcm90bzM", [file_spine_options, file_google_protobuf_any, file_spine_core_response]);
14
+ /**
15
+ * Describes the message spine.core.Ack.
16
+ * Use `create(AckSchema)` to create a new message.
17
+ * Generated from Proto: spine/core/ack.proto.
18
+ */
19
+ export const AckSchema = /*@__PURE__*/ messageDesc(file_spine_core_ack, 0);
20
+ //# sourceMappingURL=ack_pb.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ack_pb.js","sourceRoot":"","sources":["../../../../generated/spine/core/ack_pb.ts"],"names":[],"mappings":"AAAA;;;GAGG;AASH,OAAO,EAAE,QAAQ,EAAE,WAAW,EAAE,MAAM,8BAA8B,CAAC;AACrE,OAAO,EAAE,kBAAkB,EAAE,MAAM,kBAAkB,CAAC;AAEtD,OAAO,EAAE,wBAAwB,EAAE,MAAM,wBAAwB,CAAC;AAElE,OAAO,EAAE,wBAAwB,EAAE,MAAM,kBAAkB,CAAC;AAG5D;;;GAGG;AACH,MAAM,CAAC,MAAM,mBAAmB,GAAY,aAAa,CACvD,QAAQ,CAAC,yPAAyP,EAAE,CAAC,kBAAkB,EAAE,wBAAwB,EAAE,wBAAwB,CAAC,CAAC,CAAC;AA8BhV;;;;GAIG;AACH,MAAM,CAAC,MAAM,SAAS,GAAoB,aAAa,CACrD,WAAW,CAAC,mBAAmB,EAAE,CAAC,CAAC,CAAC"}
@@ -0,0 +1,74 @@
1
+ /*
2
+ * Generated by Spine TypeScript. Do not edit manually.
3
+ * Source Proto: spine/core/actor_context.proto
4
+ */
5
+
6
+ import type { GenFile, GenMessage } from "@bufbuild/protobuf/codegenv2";
7
+ import type { Timestamp } from "@bufbuild/protobuf/wkt";
8
+ import type { UserId } from "./user_id_pb.js";
9
+ import type { TenantId } from "./tenant_id_pb.js";
10
+ import type { ZoneId } from "../time/time_pb.js";
11
+ import type { Language } from "../ui/language_pb.js";
12
+ import type { Message } from "@bufbuild/protobuf";
13
+ /**
14
+ * Describes the file spine/core/actor_context.proto.
15
+ * Generated from Proto: spine/core/actor_context.proto.
16
+ */
17
+ export declare const file_spine_core_actor_context: GenFile;
18
+ /**
19
+ * Service metadata for the requests generated by the user.
20
+ *
21
+ * @generated from message spine.core.ActorContext
22
+ * Generated from Proto: spine/core/actor_context.proto.
23
+ */
24
+ export type ActorContext = Message<"spine.core.ActorContext"> & {
25
+ /**
26
+ * The ID of a tenant in a multi-tenant application.
27
+ *
28
+ * This field is not populated in single-tenant applications.
29
+ *
30
+ *
31
+ * @generated from field: spine.core.TenantId tenant_id = 1;
32
+ */
33
+ tenantId?: TenantId | undefined;
34
+ /**
35
+ * The user who created the request.
36
+ *
37
+ * @generated from field: spine.core.UserId actor = 2;
38
+ */
39
+ actor?: UserId | undefined;
40
+ /**
41
+ * The time when the request was created.
42
+ *
43
+ * @generated from field: google.protobuf.Timestamp timestamp = 3;
44
+ */
45
+ timestamp?: Timestamp | undefined;
46
+ /**
47
+ * The ID of the time-zone from which the request is made.
48
+ *
49
+ * Even though this field is not `required` (due to historical reasons),
50
+ * client applications are strongly encouraged to populate this field to preserve information
51
+ * for possible time calculations related to the request.
52
+ *
53
+ *
54
+ * @generated from field: spine.time.ZoneId zone_id = 6;
55
+ */
56
+ zoneId?: ZoneId | undefined;
57
+ /**
58
+ * The human language in which the response is expected.
59
+ *
60
+ * If this attribute is not defined, or the specified language is not supported
61
+ * the query will be returned in the default human language of the system.
62
+ *
63
+ *
64
+ * @generated from field: spine.ui.Language language = 5;
65
+ */
66
+ language: Language;
67
+ };
68
+ /**
69
+ * Describes the message spine.core.ActorContext.
70
+ * Use `create(ActorContextSchema)` to create a new message.
71
+ * Generated from Proto: spine/core/actor_context.proto.
72
+ */
73
+ export declare const ActorContextSchema: GenMessage<ActorContext>;
74
+ //# sourceMappingURL=actor_context_pb.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"actor_context_pb.d.ts","sourceRoot":"","sources":["../../../../generated/spine/core/actor_context_pb.ts"],"names":[],"mappings":"AAWA,OAAO,KAAK,EAAE,OAAO,EAAE,UAAU,EAAE,MAAM,8BAA8B,CAAC;AAGxE,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,wBAAwB,CAAC;AAExD,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,iBAAiB,CAAC;AAE9C,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,mBAAmB,CAAC;AAElD,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,oBAAoB,CAAC;AAEjD,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,sBAAsB,CAAC;AAErD,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,oBAAoB,CAAC;AAElD;;;GAGG;AACH,eAAO,MAAM,6BAA6B,EAAE,OACilB,CAAC;AAE9nB;;;;;GAKG;AACH,MAAM,MAAM,YAAY,GAAG,OAAO,CAAC,yBAAyB,CAAC,GAAG;IAC9D;;;;;;;OAOG;IACH,QAAQ,CAAC,EAAE,QAAQ,GAAG,SAAS,CAAC;IAEhC;;;;OAIG;IACH,KAAK,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAE3B;;;;OAIG;IACH,SAAS,CAAC,EAAE,SAAS,GAAG,SAAS,CAAC;IAElC;;;;;;;;;OASG;IACH,MAAM,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAE5B;;;;;;;;OAQG;IACH,QAAQ,EAAE,QAAQ,CAAC;CACpB,CAAC;AAEF;;;;GAIG;AACH,eAAO,MAAM,kBAAkB,EAAE,UAAU,CAAC,YAAY,CACT,CAAC"}
@@ -0,0 +1,23 @@
1
+ /*
2
+ * Generated by Spine TypeScript. Do not edit manually.
3
+ * Source Proto: spine/core/actor_context.proto
4
+ */
5
+ import { fileDesc, messageDesc } from "@bufbuild/protobuf/codegenv2";
6
+ import { file_spine_options } from "../options_pb.js";
7
+ import { file_google_protobuf_timestamp } from "@bufbuild/protobuf/wkt";
8
+ import { file_spine_core_user_id } from "./user_id_pb.js";
9
+ import { file_spine_core_tenant_id } from "./tenant_id_pb.js";
10
+ import { file_spine_time_time } from "../time/time_pb.js";
11
+ import { file_spine_ui_language } from "../ui/language_pb.js";
12
+ /**
13
+ * Describes the file spine/core/actor_context.proto.
14
+ * Generated from Proto: spine/core/actor_context.proto.
15
+ */
16
+ export const file_spine_core_actor_context = /*@__PURE__*/ fileDesc("Ch5zcGluZS9jb3JlL2FjdG9yX2NvbnRleHQucHJvdG8SCnNwaW5lLmNvcmUi8wEKDEFjdG9yQ29udGV4dBInCgl0ZW5hbnRfaWQYASABKAsyFC5zcGluZS5jb3JlLlRlbmFudElkEicKBWFjdG9yGAIgASgLMhIuc3BpbmUuY29yZS5Vc2VySWRCBKCFJAESMwoJdGltZXN0YW1wGAMgASgLMhouZ29vZ2xlLnByb3RvYnVmLlRpbWVzdGFtcEIEoIUkARIjCgd6b25lX2lkGAYgASgLMhIuc3BpbmUudGltZS5ab25lSWQSJAoIbGFuZ3VhZ2UYBSABKA4yEi5zcGluZS51aS5MYW5ndWFnZUoECAQQBVILem9uZV9vZmZzZXRCNQoNaW8uc3BpbmUuY29yZUIRQWN0b3JDb250ZXh0UHJvdG9QAaqNJA10eXBlLnNwaW5lLmlvYgZwcm90bzM", [file_spine_options, file_google_protobuf_timestamp, file_spine_core_user_id, file_spine_core_tenant_id, file_spine_time_time, file_spine_ui_language]);
17
+ /**
18
+ * Describes the message spine.core.ActorContext.
19
+ * Use `create(ActorContextSchema)` to create a new message.
20
+ * Generated from Proto: spine/core/actor_context.proto.
21
+ */
22
+ export const ActorContextSchema = /*@__PURE__*/ messageDesc(file_spine_core_actor_context, 0);
23
+ //# sourceMappingURL=actor_context_pb.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"actor_context_pb.js","sourceRoot":"","sources":["../../../../generated/spine/core/actor_context_pb.ts"],"names":[],"mappings":"AAAA;;;GAGG;AASH,OAAO,EAAE,QAAQ,EAAE,WAAW,EAAE,MAAM,8BAA8B,CAAC;AACrE,OAAO,EAAE,kBAAkB,EAAE,MAAM,kBAAkB,CAAC;AAEtD,OAAO,EAAE,8BAA8B,EAAE,MAAM,wBAAwB,CAAC;AAExE,OAAO,EAAE,uBAAuB,EAAE,MAAM,iBAAiB,CAAC;AAE1D,OAAO,EAAE,yBAAyB,EAAE,MAAM,mBAAmB,CAAC;AAE9D,OAAO,EAAE,oBAAoB,EAAE,MAAM,oBAAoB,CAAC;AAE1D,OAAO,EAAE,sBAAsB,EAAE,MAAM,sBAAsB,CAAC;AAG9D;;;GAGG;AACH,MAAM,CAAC,MAAM,6BAA6B,GAAY,aAAa,CACjE,QAAQ,CAAC,ydAAyd,EAAE,CAAC,kBAAkB,EAAE,8BAA8B,EAAE,uBAAuB,EAAE,yBAAyB,EAAE,oBAAoB,EAAE,sBAAsB,CAAC,CAAC,CAAC;AAyD9nB;;;;GAIG;AACH,MAAM,CAAC,MAAM,kBAAkB,GAA6B,aAAa,CACvE,WAAW,CAAC,6BAA6B,EAAE,CAAC,CAAC,CAAC"}
@@ -0,0 +1,35 @@
1
+ /*
2
+ * Generated by Spine TypeScript. Do not edit manually.
3
+ * Source Proto: spine/core/bounded_context.proto
4
+ */
5
+
6
+ import type { GenFile, GenMessage } from "@bufbuild/protobuf/codegenv2";
7
+ import type { Message } from "@bufbuild/protobuf";
8
+ /**
9
+ * Describes the file spine/core/bounded_context.proto.
10
+ * Generated from Proto: spine/core/bounded_context.proto.
11
+ */
12
+ export declare const file_spine_core_bounded_context: GenFile;
13
+ /**
14
+ * A name of `BoundedContext` used to distinguish an instance of a bounded context among other
15
+ * bounded contexts that exist in the same application.
16
+ *
17
+ * Must be unique in scope of the application.
18
+ *
19
+ *
20
+ * @generated from message spine.core.BoundedContextName
21
+ * Generated from Proto: spine/core/bounded_context.proto.
22
+ */
23
+ export type BoundedContextName = Message<"spine.core.BoundedContextName"> & {
24
+ /**
25
+ * @generated from field: string value = 1;
26
+ */
27
+ value: string;
28
+ };
29
+ /**
30
+ * Describes the message spine.core.BoundedContextName.
31
+ * Use `create(BoundedContextNameSchema)` to create a new message.
32
+ * Generated from Proto: spine/core/bounded_context.proto.
33
+ */
34
+ export declare const BoundedContextNameSchema: GenMessage<BoundedContextName>;
35
+ //# sourceMappingURL=bounded_context_pb.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"bounded_context_pb.d.ts","sourceRoot":"","sources":["../../../../generated/spine/core/bounded_context_pb.ts"],"names":[],"mappings":"AAWA,OAAO,KAAK,EAAE,OAAO,EAAE,UAAU,EAAE,MAAM,8BAA8B,CAAC;AAGxE,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,oBAAoB,CAAC;AAElD;;;GAGG;AACH,eAAO,MAAM,+BAA+B,EAAE,OAC6O,CAAC;AAE5R;;;;;;;;;GASG;AACH,MAAM,MAAM,kBAAkB,GAAG,OAAO,CAAC,+BAA+B,CAAC,GAAG;IAC1E;;OAEG;IACH,KAAK,EAAE,MAAM,CAAC;CACf,CAAC;AAEF;;;;GAIG;AACH,eAAO,MAAM,wBAAwB,EAAE,UAAU,CAAC,kBAAkB,CACnB,CAAC"}
@@ -0,0 +1,18 @@
1
+ /*
2
+ * Generated by Spine TypeScript. Do not edit manually.
3
+ * Source Proto: spine/core/bounded_context.proto
4
+ */
5
+ import { fileDesc, messageDesc } from "@bufbuild/protobuf/codegenv2";
6
+ import { file_spine_options } from "../options_pb.js";
7
+ /**
8
+ * Describes the file spine/core/bounded_context.proto.
9
+ * Generated from Proto: spine/core/bounded_context.proto.
10
+ */
11
+ export const file_spine_core_bounded_context = /*@__PURE__*/ fileDesc("CiBzcGluZS9jb3JlL2JvdW5kZWRfY29udGV4dC5wcm90bxIKc3BpbmUuY29yZSJIChJCb3VuZGVkQ29udGV4dE5hbWUSEwoFdmFsdWUYASABKAlCBKCFJAE6HdqLJBkKF0JvdW5kZWRDb250ZXh0TmFtZU1peGluQjcKDWlvLnNwaW5lLmNvcmVCE0JvdW5kZWRDb250ZXh0UHJvdG9QAaqNJA10eXBlLnNwaW5lLmlvYgZwcm90bzM", [file_spine_options]);
12
+ /**
13
+ * Describes the message spine.core.BoundedContextName.
14
+ * Use `create(BoundedContextNameSchema)` to create a new message.
15
+ * Generated from Proto: spine/core/bounded_context.proto.
16
+ */
17
+ export const BoundedContextNameSchema = /*@__PURE__*/ messageDesc(file_spine_core_bounded_context, 0);
18
+ //# sourceMappingURL=bounded_context_pb.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"bounded_context_pb.js","sourceRoot":"","sources":["../../../../generated/spine/core/bounded_context_pb.ts"],"names":[],"mappings":"AAAA;;;GAGG;AASH,OAAO,EAAE,QAAQ,EAAE,WAAW,EAAE,MAAM,8BAA8B,CAAC;AACrE,OAAO,EAAE,kBAAkB,EAAE,MAAM,kBAAkB,CAAC;AAGtD;;;GAGG;AACH,MAAM,CAAC,MAAM,+BAA+B,GAAY,aAAa,CACnE,QAAQ,CAAC,yPAAyP,EAAE,CAAC,kBAAkB,CAAC,CAAC,CAAC;AAmB5R;;;;GAIG;AACH,MAAM,CAAC,MAAM,wBAAwB,GAAmC,aAAa,CACnF,WAAW,CAAC,+BAA+B,EAAE,CAAC,CAAC,CAAC"}
@@ -0,0 +1,245 @@
1
+ /*
2
+ * Generated by Spine TypeScript. Do not edit manually.
3
+ * Source Proto: spine/core/command.proto
4
+ */
5
+
6
+ import type { GenEnum, GenFile, GenMessage } from "@bufbuild/protobuf/codegenv2";
7
+ import type { Any, Duration, Timestamp } from "@bufbuild/protobuf/wkt";
8
+ import type { ActorContext } from "./actor_context_pb.js";
9
+ import type { Origin } from "./diagnostics_pb.js";
10
+ import type { Message } from "@bufbuild/protobuf";
11
+ /**
12
+ * Describes the file spine/core/command.proto.
13
+ * Generated from Proto: spine/core/command.proto.
14
+ */
15
+ export declare const file_spine_core_command: GenFile;
16
+ /**
17
+ * Command identifier.
18
+ *
19
+ * @generated from message spine.core.CommandId
20
+ * Generated from Proto: spine/core/command.proto.
21
+ */
22
+ export type CommandId = Message<"spine.core.CommandId"> & {
23
+ /**
24
+ * @generated from field: string uuid = 1;
25
+ */
26
+ uuid: string;
27
+ };
28
+ /**
29
+ * Describes the message spine.core.CommandId.
30
+ * Use `create(CommandIdSchema)` to create a new message.
31
+ * Generated from Proto: spine/core/command.proto.
32
+ */
33
+ export declare const CommandIdSchema: GenMessage<CommandId>;
34
+ /**
35
+ * `Command` is an instruction to do something.
36
+ *
37
+ * A command consists of two parts: command message and command context.
38
+ *
39
+ * The `message` is the domain model part of the command. The type of the command is defined by
40
+ * the type of its message. When we speak about a 'command' as a typed thing, we refer to
41
+ * the message of the command.
42
+ *
43
+ * The context contains attributes common for all commands.
44
+ *
45
+ * A command can hold any valid Protobuf message, but in most cases, it would be a type
46
+ * defined in the `commands.proto` file of the corresponding aggregate or process manager.
47
+ *
48
+ * There should be one and only one command handler associated with the type of the command.
49
+ *
50
+ *
51
+ * @generated from message spine.core.Command
52
+ * Generated from Proto: spine/core/command.proto.
53
+ */
54
+ export type Command = Message<"spine.core.Command"> & {
55
+ /**
56
+ * The ID of the command.
57
+ *
58
+ * @generated from field: spine.core.CommandId id = 1;
59
+ */
60
+ id?: CommandId | undefined;
61
+ /**
62
+ * The message of the command wrapped into `Any`.
63
+ *
64
+ * @generated from field: google.protobuf.Any message = 2;
65
+ */
66
+ message?: Any | undefined;
67
+ /**
68
+ * Service information about the environment in which the command was created.
69
+ *
70
+ * @generated from field: spine.core.CommandContext context = 3;
71
+ */
72
+ context?: CommandContext | undefined;
73
+ /**
74
+ * Service information used by the framework.
75
+ *
76
+ * @generated from field: spine.core.Command.SystemProperties system_properties = 4;
77
+ */
78
+ systemProperties?: Command_SystemProperties | undefined;
79
+ };
80
+ /**
81
+ * Describes the message spine.core.Command.
82
+ * Use `create(CommandSchema)` to create a new message.
83
+ * Generated from Proto: spine/core/command.proto.
84
+ */
85
+ export declare const CommandSchema: GenMessage<Command>;
86
+ /**
87
+ * Properties that may be set by the framework as the command is delivered and handled.
88
+ *
89
+ * All fields of this type are reserved for internal framework needs, and are not visible to
90
+ * the business logic code of an application.
91
+ *
92
+ *
93
+ * @generated from message spine.core.Command.SystemProperties
94
+ * Generated from Proto: spine/core/command.proto.
95
+ */
96
+ export type Command_SystemProperties = Message<"spine.core.Command.SystemProperties"> & {
97
+ /**
98
+ * The time when the command was scheduled.
99
+ *
100
+ * Set automatically and used only by Spine when re-scheduling a command.
101
+ *
102
+ *
103
+ * @generated from field: google.protobuf.Timestamp scheduling_time = 11;
104
+ */
105
+ schedulingTime?: Timestamp | undefined;
106
+ };
107
+ /**
108
+ * Describes the message spine.core.Command.SystemProperties.
109
+ * Use `create(Command_SystemPropertiesSchema)` to create a new message.
110
+ * Generated from Proto: spine/core/command.proto.
111
+ */
112
+ export declare const Command_SystemPropertiesSchema: GenMessage<Command_SystemProperties>;
113
+ /**
114
+ * Meta-information about the command and the environment, which generated the command.
115
+ *
116
+ * @generated from message spine.core.CommandContext
117
+ * Generated from Proto: spine/core/command.proto.
118
+ */
119
+ export type CommandContext = Message<"spine.core.CommandContext"> & {
120
+ /**
121
+ * Information about the environment of the user who created the command.
122
+ *
123
+ * @generated from field: spine.core.ActorContext actor_context = 1;
124
+ */
125
+ actorContext?: ActorContext | undefined;
126
+ /**
127
+ * The version of the entity for which this command is intended.
128
+ *
129
+ * A client app may not fill in this attribute if the command applies to
130
+ * any version of the entity.
131
+ *
132
+ *
133
+ * @generated from field: int32 target_version = 2;
134
+ */
135
+ targetVersion: number;
136
+ /**
137
+ * Domain-specific attributes of a command.
138
+ *
139
+ * One of the usage scenarios for this field is adding attributes common for several commands.
140
+ *
141
+ *
142
+ * @generated from field: map<string, google.protobuf.Any> attributes = 3;
143
+ */
144
+ attributes: {
145
+ [key: string]: Any;
146
+ };
147
+ /**
148
+ * The schedule to execute the command.
149
+ *
150
+ * @generated from field: spine.core.CommandContext.Schedule schedule = 4;
151
+ */
152
+ schedule?: CommandContext_Schedule | undefined;
153
+ /**
154
+ * @generated from field: spine.core.Origin origin = 5;
155
+ */
156
+ origin?: Origin | undefined;
157
+ };
158
+ /**
159
+ * Describes the message spine.core.CommandContext.
160
+ * Use `create(CommandContextSchema)` to create a new message.
161
+ * Generated from Proto: spine/core/command.proto.
162
+ */
163
+ export declare const CommandContextSchema: GenMessage<CommandContext>;
164
+ /**
165
+ * A command may be scheduled. This type defines scheduling options.
166
+ *
167
+ * @generated from message spine.core.CommandContext.Schedule
168
+ * Generated from Proto: spine/core/command.proto.
169
+ */
170
+ export type CommandContext_Schedule = Message<"spine.core.CommandContext.Schedule"> & {
171
+ /**
172
+ * The delay between the moment of receiving a command at the server
173
+ * and its delivery to the target.
174
+ *
175
+ * @generated from field: google.protobuf.Duration delay = 1;
176
+ */
177
+ delay?: Duration | undefined;
178
+ };
179
+ /**
180
+ * Describes the message spine.core.CommandContext.Schedule.
181
+ * Use `create(CommandContext_ScheduleSchema)` to create a new message.
182
+ * Generated from Proto: spine/core/command.proto.
183
+ */
184
+ export declare const CommandContext_ScheduleSchema: GenMessage<CommandContext_Schedule>;
185
+ /**
186
+ * Enumeration of possible errors when validating a command.
187
+ *
188
+ * @generated from enum spine.core.CommandValidationError
189
+ * Generated from Proto: spine/core/command.proto.
190
+ */
191
+ export declare enum CommandValidationError {
192
+ /**
193
+ * Reserved value.
194
+ *
195
+ * @generated from enum value: UNKNOWN = 0;
196
+ */
197
+ UNKNOWN = 0,
198
+ /**
199
+ * The command type is not supported by the server.
200
+ *
201
+ * @generated from enum value: UNSUPPORTED_COMMAND = 1;
202
+ */
203
+ UNSUPPORTED_COMMAND = 1,
204
+ /**
205
+ * The command message is invalid according to custom Protobuf options set.
206
+ *
207
+ * @generated from enum value: INVALID_COMMAND = 2;
208
+ */
209
+ INVALID_COMMAND = 2,
210
+ /**
211
+ * The command context does not have `tenant_id` attribute defined
212
+ * in a multi-tenant application.
213
+ *
214
+ * @generated from enum value: TENANT_UNKNOWN = 3;
215
+ */
216
+ TENANT_UNKNOWN = 3,
217
+ /**
218
+ * The command context has non-default value of `tenant_id` in the command sent
219
+ * to a single-tenant application.
220
+ *
221
+ * @generated from enum value: TENANT_INAPPLICABLE = 4;
222
+ */
223
+ TENANT_INAPPLICABLE = 4,
224
+ /**
225
+ * The scheduled command was not delivered to the target in time.
226
+ *
227
+ * @generated from enum value: EXPIRED = 5;
228
+ */
229
+ EXPIRED = 5,
230
+ /**
231
+ * The command is a duplicate of the command that was already dispatched.
232
+ *
233
+ * A command is considered a duplicate if its ID matches the ID of another command.
234
+ *
235
+ *
236
+ * @generated from enum value: DUPLICATE_COMMAND = 6;
237
+ */
238
+ DUPLICATE_COMMAND = 6
239
+ }
240
+ /**
241
+ * Describes the enum spine.core.CommandValidationError.
242
+ * Generated from Proto: spine/core/command.proto.
243
+ */
244
+ export declare const CommandValidationErrorSchema: GenEnum<CommandValidationError>;
245
+ //# sourceMappingURL=command_pb.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"command_pb.d.ts","sourceRoot":"","sources":["../../../../generated/spine/core/command_pb.ts"],"names":[],"mappings":"AAWA,OAAO,KAAK,EAAE,OAAO,EAAE,OAAO,EAAE,UAAU,EAAE,MAAM,8BAA8B,CAAC;AAGjF,OAAO,KAAK,EAAE,GAAG,EAAE,QAAQ,EAAE,SAAS,EAAE,MAAM,wBAAwB,CAAC;AAEvE,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,uBAAuB,CAAC;AAE1D,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,qBAAqB,CAAC;AAElD,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,oBAAoB,CAAC;AAElD;;;GAGG;AACH,eAAO,MAAM,uBAAuB,EAAE,OACyiD,CAAC;AAEhlD;;;;;GAKG;AACH,MAAM,MAAM,SAAS,GAAG,OAAO,CAAC,sBAAsB,CAAC,GAAG;IACxD;;OAEG;IACH,IAAI,EAAE,MAAM,CAAC;CACd,CAAC;AAEF;;;;GAIG;AACH,eAAO,MAAM,eAAe,EAAE,UAAU,CAAC,SAAS,CACT,CAAC;AAE1C;;;;;;;;;;;;;;;;;;;GAmBG;AACH,MAAM,MAAM,OAAO,GAAG,OAAO,CAAC,oBAAoB,CAAC,GAAG;IACpD;;;;OAIG;IACH,EAAE,CAAC,EAAE,SAAS,GAAG,SAAS,CAAC;IAE3B;;;;OAIG;IACH,OAAO,CAAC,EAAE,GAAG,GAAG,SAAS,CAAC;IAE1B;;;;OAIG;IACH,OAAO,CAAC,EAAE,cAAc,GAAG,SAAS,CAAC;IAErC;;;;OAIG;IACH,gBAAgB,CAAC,EAAE,wBAAwB,GAAG,SAAS,CAAC;CACzD,CAAC;AAEF;;;;GAIG;AACH,eAAO,MAAM,aAAa,EAAE,UAAU,CAAC,OAAO,CACL,CAAC;AAE1C;;;;;;;;;GASG;AACH,MAAM,MAAM,wBAAwB,GAAG,OAAO,CAAC,qCAAqC,CAAC,GAAG;IACtF;;;;;;;OAOG;IACH,cAAc,CAAC,EAAE,SAAS,GAAG,SAAS,CAAC;CACxC,CAAC;AAEF;;;;GAIG;AACH,eAAO,MAAM,8BAA8B,EAAE,UAAU,CAAC,wBAAwB,CACpC,CAAC;AAE7C;;;;;GAKG;AACH,MAAM,MAAM,cAAc,GAAG,OAAO,CAAC,2BAA2B,CAAC,GAAG;IAClE;;;;OAIG;IACH,YAAY,CAAC,EAAE,YAAY,GAAG,SAAS,CAAC;IAExC;;;;;;;;OAQG;IACH,aAAa,EAAE,MAAM,CAAC;IAEtB;;;;;;;OAOG;IACH,UAAU,EAAE;QAAE,CAAC,GAAG,EAAE,MAAM,GAAG,GAAG,CAAA;KAAE,CAAC;IAEnC;;;;OAIG;IACH,QAAQ,CAAC,EAAE,uBAAuB,GAAG,SAAS,CAAC;IAE/C;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;CAC7B,CAAC;AAEF;;;;GAIG;AACH,eAAO,MAAM,oBAAoB,EAAE,UAAU,CAAC,cAAc,CACnB,CAAC;AAE1C;;;;;GAKG;AACH,MAAM,MAAM,uBAAuB,GAAG,OAAO,CAAC,oCAAoC,CAAC,GAAG;IACpF;;;;;OAKG;IACH,KAAK,CAAC,EAAE,QAAQ,GAAG,SAAS,CAAC;CAC9B,CAAC;AAEF;;;;GAIG;AACH,eAAO,MAAM,6BAA6B,EAAE,UAAU,CAAC,uBAAuB,CAClC,CAAC;AAE7C;;;;;GAKG;AACH,oBAAY,sBAAsB;IAChC;;;;OAIG;IACH,OAAO,IAAI;IAEX;;;;OAIG;IACH,mBAAmB,IAAI;IAEvB;;;;OAIG;IACH,eAAe,IAAI;IAEnB;;;;;OAKG;IACH,cAAc,IAAI;IAElB;;;;;OAKG;IACH,mBAAmB,IAAI;IAEvB;;;;OAIG;IACH,OAAO,IAAI;IAEX;;;;;;;OAOG;IACH,iBAAiB,IAAI;CACtB;AAED;;;GAGG;AACH,eAAO,MAAM,4BAA4B,EAAE,OAAO,CAAC,sBAAsB,CACnC,CAAC"}