@canton-network/core-ledger-client 0.9.0 → 0.11.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (238) hide show
  1. package/dist/constants.d.ts +0 -3
  2. package/dist/constants.d.ts.map +1 -1
  3. package/dist/constants.js +8 -8
  4. package/dist/index.d.ts +2 -10
  5. package/dist/index.d.ts.map +1 -1
  6. package/dist/index.js +1 -9
  7. package/dist/ledger-api-utils.d.ts +14 -2
  8. package/dist/ledger-api-utils.d.ts.map +1 -1
  9. package/dist/ledger-api-utils.js +76 -5
  10. package/dist/ledger-client.d.ts +35 -1
  11. package/dist/ledger-client.d.ts.map +1 -1
  12. package/dist/ledger-client.js +146 -10
  13. package/dist/token-standard-service.d.ts +33 -9
  14. package/dist/token-standard-service.d.ts.map +1 -1
  15. package/dist/token-standard-service.js +284 -67
  16. package/dist/topology-write-service.d.ts +15 -3
  17. package/dist/topology-write-service.d.ts.map +1 -1
  18. package/dist/topology-write-service.js +28 -18
  19. package/dist/txparse/parser.d.ts +2 -1
  20. package/dist/txparse/parser.d.ts.map +1 -1
  21. package/dist/txparse/parser.js +22 -18
  22. package/dist/txparse/parser.test.js +3 -3
  23. package/dist/txparse/types.d.ts +9 -9
  24. package/dist/txparse/types.d.ts.map +1 -1
  25. package/package.json +6 -8
  26. package/dist/_proto/com/daml/ledger/api/v2/admin/command_inspection_service.client.d.ts +0 -58
  27. package/dist/_proto/com/daml/ledger/api/v2/admin/command_inspection_service.client.d.ts.map +0 -1
  28. package/dist/_proto/com/daml/ledger/api/v2/admin/command_inspection_service.client.js +0 -34
  29. package/dist/_proto/com/daml/ledger/api/v2/admin/command_inspection_service.d.ts +0 -232
  30. package/dist/_proto/com/daml/ledger/api/v2/admin/command_inspection_service.d.ts.map +0 -1
  31. package/dist/_proto/com/daml/ledger/api/v2/admin/command_inspection_service.js +0 -560
  32. package/dist/_proto/com/daml/ledger/api/v2/admin/identity_provider_config_service.client.d.ts +0 -144
  33. package/dist/_proto/com/daml/ledger/api/v2/admin/identity_provider_config_service.client.d.ts.map +0 -1
  34. package/dist/_proto/com/daml/ledger/api/v2/admin/identity_provider_config_service.client.js +0 -85
  35. package/dist/_proto/com/daml/ledger/api/v2/admin/identity_provider_config_service.d.ts +0 -291
  36. package/dist/_proto/com/daml/ledger/api/v2/admin/identity_provider_config_service.d.ts.map +0 -1
  37. package/dist/_proto/com/daml/ledger/api/v2/admin/identity_provider_config_service.js +0 -663
  38. package/dist/_proto/com/daml/ledger/api/v2/admin/object_meta.d.ts +0 -76
  39. package/dist/_proto/com/daml/ledger/api/v2/admin/object_meta.d.ts.map +0 -1
  40. package/dist/_proto/com/daml/ledger/api/v2/admin/object_meta.js +0 -96
  41. package/dist/_proto/com/daml/ledger/api/v2/admin/package_management_service.client.d.ts +0 -106
  42. package/dist/_proto/com/daml/ledger/api/v2/admin/package_management_service.client.d.ts.map +0 -1
  43. package/dist/_proto/com/daml/ledger/api/v2/admin/package_management_service.client.js +0 -62
  44. package/dist/_proto/com/daml/ledger/api/v2/admin/package_management_service.d.ts +0 -199
  45. package/dist/_proto/com/daml/ledger/api/v2/admin/package_management_service.d.ts.map +0 -1
  46. package/dist/_proto/com/daml/ledger/api/v2/admin/package_management_service.js +0 -427
  47. package/dist/_proto/com/daml/ledger/api/v2/admin/participant_pruning_service.client.d.ts +0 -56
  48. package/dist/_proto/com/daml/ledger/api/v2/admin/participant_pruning_service.client.d.ts.map +0 -1
  49. package/dist/_proto/com/daml/ledger/api/v2/admin/participant_pruning_service.client.js +0 -35
  50. package/dist/_proto/com/daml/ledger/api/v2/admin/participant_pruning_service.d.ts +0 -81
  51. package/dist/_proto/com/daml/ledger/api/v2/admin/participant_pruning_service.d.ts.map +0 -1
  52. package/dist/_proto/com/daml/ledger/api/v2/admin/participant_pruning_service.js +0 -135
  53. package/dist/_proto/com/daml/ledger/api/v2/admin/party_management_service.client.d.ts +0 -196
  54. package/dist/_proto/com/daml/ledger/api/v2/admin/party_management_service.client.d.ts.map +0 -1
  55. package/dist/_proto/com/daml/ledger/api/v2/admin/party_management_service.client.js +0 -113
  56. package/dist/_proto/com/daml/ledger/api/v2/admin/party_management_service.d.ts +0 -413
  57. package/dist/_proto/com/daml/ledger/api/v2/admin/party_management_service.d.ts.map +0 -1
  58. package/dist/_proto/com/daml/ledger/api/v2/admin/party_management_service.js +0 -867
  59. package/dist/_proto/com/daml/ledger/api/v2/admin/user_management_service.client.d.ts +0 -210
  60. package/dist/_proto/com/daml/ledger/api/v2/admin/user_management_service.client.d.ts.map +0 -1
  61. package/dist/_proto/com/daml/ledger/api/v2/admin/user_management_service.client.js +0 -126
  62. package/dist/_proto/com/daml/ledger/api/v2/admin/user_management_service.d.ts +0 -758
  63. package/dist/_proto/com/daml/ledger/api/v2/admin/user_management_service.d.ts.map +0 -1
  64. package/dist/_proto/com/daml/ledger/api/v2/admin/user_management_service.js +0 -1580
  65. package/dist/_proto/com/daml/ledger/api/v2/command_completion_service.client.d.ts +0 -66
  66. package/dist/_proto/com/daml/ledger/api/v2/command_completion_service.client.d.ts.map +0 -1
  67. package/dist/_proto/com/daml/ledger/api/v2/command_completion_service.client.js +0 -38
  68. package/dist/_proto/com/daml/ledger/api/v2/command_completion_service.d.ts +0 -90
  69. package/dist/_proto/com/daml/ledger/api/v2/command_completion_service.d.ts.map +0 -1
  70. package/dist/_proto/com/daml/ledger/api/v2/command_completion_service.js +0 -178
  71. package/dist/_proto/com/daml/ledger/api/v2/command_service.client.d.ts +0 -99
  72. package/dist/_proto/com/daml/ledger/api/v2/command_service.client.d.ts.map +0 -1
  73. package/dist/_proto/com/daml/ledger/api/v2/command_service.client.js +0 -61
  74. package/dist/_proto/com/daml/ledger/api/v2/command_service.d.ts +0 -210
  75. package/dist/_proto/com/daml/ledger/api/v2/command_service.d.ts.map +0 -1
  76. package/dist/_proto/com/daml/ledger/api/v2/command_service.js +0 -436
  77. package/dist/_proto/com/daml/ledger/api/v2/command_submission_service.client.d.ts +0 -80
  78. package/dist/_proto/com/daml/ledger/api/v2/command_submission_service.client.d.ts.map +0 -1
  79. package/dist/_proto/com/daml/ledger/api/v2/command_submission_service.client.js +0 -47
  80. package/dist/_proto/com/daml/ledger/api/v2/command_submission_service.d.ts +0 -91
  81. package/dist/_proto/com/daml/ledger/api/v2/command_submission_service.d.ts.map +0 -1
  82. package/dist/_proto/com/daml/ledger/api/v2/command_submission_service.js +0 -200
  83. package/dist/_proto/com/daml/ledger/api/v2/commands.d.ts +0 -491
  84. package/dist/_proto/com/daml/ledger/api/v2/commands.d.ts.map +0 -1
  85. package/dist/_proto/com/daml/ledger/api/v2/commands.js +0 -828
  86. package/dist/_proto/com/daml/ledger/api/v2/completion.d.ts +0 -149
  87. package/dist/_proto/com/daml/ledger/api/v2/completion.d.ts.map +0 -1
  88. package/dist/_proto/com/daml/ledger/api/v2/completion.js +0 -196
  89. package/dist/_proto/com/daml/ledger/api/v2/event.d.ts +0 -495
  90. package/dist/_proto/com/daml/ledger/api/v2/event.d.ts.map +0 -1
  91. package/dist/_proto/com/daml/ledger/api/v2/event.js +0 -723
  92. package/dist/_proto/com/daml/ledger/api/v2/event_query_service.client.d.ts +0 -52
  93. package/dist/_proto/com/daml/ledger/api/v2/event_query_service.client.d.ts.map +0 -1
  94. package/dist/_proto/com/daml/ledger/api/v2/event_query_service.client.js +0 -31
  95. package/dist/_proto/com/daml/ledger/api/v2/event_query_service.d.ts +0 -150
  96. package/dist/_proto/com/daml/ledger/api/v2/event_query_service.d.ts.map +0 -1
  97. package/dist/_proto/com/daml/ledger/api/v2/event_query_service.js +0 -291
  98. package/dist/_proto/com/daml/ledger/api/v2/experimental_features.d.ts +0 -96
  99. package/dist/_proto/com/daml/ledger/api/v2/experimental_features.d.ts.map +0 -1
  100. package/dist/_proto/com/daml/ledger/api/v2/experimental_features.js +0 -225
  101. package/dist/_proto/com/daml/ledger/api/v2/interactive/interactive_submission_common_data.d.ts +0 -43
  102. package/dist/_proto/com/daml/ledger/api/v2/interactive/interactive_submission_common_data.d.ts.map +0 -1
  103. package/dist/_proto/com/daml/ledger/api/v2/interactive/interactive_submission_common_data.js +0 -85
  104. package/dist/_proto/com/daml/ledger/api/v2/interactive/interactive_submission_service.client.d.ts +0 -100
  105. package/dist/_proto/com/daml/ledger/api/v2/interactive/interactive_submission_service.client.d.ts.map +0 -1
  106. package/dist/_proto/com/daml/ledger/api/v2/interactive/interactive_submission_service.client.js +0 -59
  107. package/dist/_proto/com/daml/ledger/api/v2/interactive/interactive_submission_service.d.ts +0 -877
  108. package/dist/_proto/com/daml/ledger/api/v2/interactive/interactive_submission_service.d.ts.map +0 -1
  109. package/dist/_proto/com/daml/ledger/api/v2/interactive/interactive_submission_service.js +0 -1768
  110. package/dist/_proto/com/daml/ledger/api/v2/interactive/transaction/v1/interactive_submission_data.d.ts +0 -259
  111. package/dist/_proto/com/daml/ledger/api/v2/interactive/transaction/v1/interactive_submission_data.d.ts.map +0 -1
  112. package/dist/_proto/com/daml/ledger/api/v2/interactive/transaction/v1/interactive_submission_data.js +0 -667
  113. package/dist/_proto/com/daml/ledger/api/v2/offset_checkpoint.d.ts +0 -69
  114. package/dist/_proto/com/daml/ledger/api/v2/offset_checkpoint.d.ts.map +0 -1
  115. package/dist/_proto/com/daml/ledger/api/v2/offset_checkpoint.js +0 -133
  116. package/dist/_proto/com/daml/ledger/api/v2/package_reference.d.ts +0 -41
  117. package/dist/_proto/com/daml/ledger/api/v2/package_reference.d.ts.map +0 -1
  118. package/dist/_proto/com/daml/ledger/api/v2/package_reference.js +0 -84
  119. package/dist/_proto/com/daml/ledger/api/v2/package_service.client.d.ts +0 -68
  120. package/dist/_proto/com/daml/ledger/api/v2/package_service.client.d.ts.map +0 -1
  121. package/dist/_proto/com/daml/ledger/api/v2/package_service.client.js +0 -43
  122. package/dist/_proto/com/daml/ledger/api/v2/package_service.d.ts +0 -181
  123. package/dist/_proto/com/daml/ledger/api/v2/package_service.d.ts.map +0 -1
  124. package/dist/_proto/com/daml/ledger/api/v2/package_service.js +0 -395
  125. package/dist/_proto/com/daml/ledger/api/v2/reassignment.d.ts +0 -308
  126. package/dist/_proto/com/daml/ledger/api/v2/reassignment.d.ts.map +0 -1
  127. package/dist/_proto/com/daml/ledger/api/v2/reassignment.js +0 -521
  128. package/dist/_proto/com/daml/ledger/api/v2/reassignment_commands.d.ts +0 -193
  129. package/dist/_proto/com/daml/ledger/api/v2/reassignment_commands.d.ts.map +0 -1
  130. package/dist/_proto/com/daml/ledger/api/v2/reassignment_commands.js +0 -350
  131. package/dist/_proto/com/daml/ledger/api/v2/state_service.client.d.ts +0 -91
  132. package/dist/_proto/com/daml/ledger/api/v2/state_service.client.d.ts.map +0 -1
  133. package/dist/_proto/com/daml/ledger/api/v2/state_service.client.js +0 -56
  134. package/dist/_proto/com/daml/ledger/api/v2/state_service.d.ts +0 -448
  135. package/dist/_proto/com/daml/ledger/api/v2/state_service.d.ts.map +0 -1
  136. package/dist/_proto/com/daml/ledger/api/v2/state_service.js +0 -874
  137. package/dist/_proto/com/daml/ledger/api/v2/testing/time_service.client.d.ts +0 -54
  138. package/dist/_proto/com/daml/ledger/api/v2/testing/time_service.client.d.ts.map +0 -1
  139. package/dist/_proto/com/daml/ledger/api/v2/testing/time_service.client.js +0 -34
  140. package/dist/_proto/com/daml/ledger/api/v2/testing/time_service.d.ts +0 -78
  141. package/dist/_proto/com/daml/ledger/api/v2/testing/time_service.d.ts.map +0 -1
  142. package/dist/_proto/com/daml/ledger/api/v2/testing/time_service.js +0 -168
  143. package/dist/_proto/com/daml/ledger/api/v2/topology_transaction.d.ts +0 -211
  144. package/dist/_proto/com/daml/ledger/api/v2/topology_transaction.d.ts.map +0 -1
  145. package/dist/_proto/com/daml/ledger/api/v2/topology_transaction.js +0 -447
  146. package/dist/_proto/com/daml/ledger/api/v2/trace_context.d.ts +0 -33
  147. package/dist/_proto/com/daml/ledger/api/v2/trace_context.d.ts.map +0 -1
  148. package/dist/_proto/com/daml/ledger/api/v2/trace_context.js +0 -69
  149. package/dist/_proto/com/daml/ledger/api/v2/transaction.d.ts +0 -252
  150. package/dist/_proto/com/daml/ledger/api/v2/transaction.d.ts.map +0 -1
  151. package/dist/_proto/com/daml/ledger/api/v2/transaction.js +0 -410
  152. package/dist/_proto/com/daml/ledger/api/v2/transaction_filter.d.ts +0 -453
  153. package/dist/_proto/com/daml/ledger/api/v2/transaction_filter.d.ts.map +0 -1
  154. package/dist/_proto/com/daml/ledger/api/v2/transaction_filter.js +0 -815
  155. package/dist/_proto/com/daml/ledger/api/v2/update_service.client.d.ts +0 -199
  156. package/dist/_proto/com/daml/ledger/api/v2/update_service.client.d.ts.map +0 -1
  157. package/dist/_proto/com/daml/ledger/api/v2/update_service.client.js +0 -121
  158. package/dist/_proto/com/daml/ledger/api/v2/update_service.d.ts +0 -424
  159. package/dist/_proto/com/daml/ledger/api/v2/update_service.d.ts.map +0 -1
  160. package/dist/_proto/com/daml/ledger/api/v2/update_service.js +0 -853
  161. package/dist/_proto/com/daml/ledger/api/v2/value.d.ts +0 -500
  162. package/dist/_proto/com/daml/ledger/api/v2/value.d.ts.map +0 -1
  163. package/dist/_proto/com/daml/ledger/api/v2/value.js +0 -937
  164. package/dist/_proto/com/daml/ledger/api/v2/version_service.client.d.ts +0 -40
  165. package/dist/_proto/com/daml/ledger/api/v2/version_service.client.d.ts.map +0 -1
  166. package/dist/_proto/com/daml/ledger/api/v2/version_service.client.js +0 -25
  167. package/dist/_proto/com/daml/ledger/api/v2/version_service.d.ts +0 -190
  168. package/dist/_proto/com/daml/ledger/api/v2/version_service.d.ts.map +0 -1
  169. package/dist/_proto/com/daml/ledger/api/v2/version_service.js +0 -400
  170. package/dist/_proto/com/digitalasset/canton/crypto/v30/crypto.d.ts +0 -1028
  171. package/dist/_proto/com/digitalasset/canton/crypto/v30/crypto.d.ts.map +0 -1
  172. package/dist/_proto/com/digitalasset/canton/crypto/v30/crypto.js +0 -2110
  173. package/dist/_proto/com/digitalasset/canton/protocol/v30/sequencing_parameters.d.ts +0 -30
  174. package/dist/_proto/com/digitalasset/canton/protocol/v30/sequencing_parameters.d.ts.map +0 -1
  175. package/dist/_proto/com/digitalasset/canton/protocol/v30/sequencing_parameters.js +0 -62
  176. package/dist/_proto/com/digitalasset/canton/protocol/v30/synchronizer_parameters.d.ts +0 -168
  177. package/dist/_proto/com/digitalasset/canton/protocol/v30/synchronizer_parameters.d.ts.map +0 -1
  178. package/dist/_proto/com/digitalasset/canton/protocol/v30/synchronizer_parameters.js +0 -395
  179. package/dist/_proto/com/digitalasset/canton/protocol/v30/topology.d.ts +0 -1105
  180. package/dist/_proto/com/digitalasset/canton/protocol/v30/topology.d.ts.map +0 -1
  181. package/dist/_proto/com/digitalasset/canton/protocol/v30/topology.js +0 -2294
  182. package/dist/_proto/com/digitalasset/canton/protocol/v30/traffic_control_parameters.d.ts +0 -278
  183. package/dist/_proto/com/digitalasset/canton/protocol/v30/traffic_control_parameters.d.ts.map +0 -1
  184. package/dist/_proto/com/digitalasset/canton/protocol/v30/traffic_control_parameters.js +0 -654
  185. package/dist/_proto/com/digitalasset/canton/topology/admin/v30/common.d.ts +0 -166
  186. package/dist/_proto/com/digitalasset/canton/topology/admin/v30/common.d.ts.map +0 -1
  187. package/dist/_proto/com/digitalasset/canton/topology/admin/v30/common.js +0 -379
  188. package/dist/_proto/com/digitalasset/canton/topology/admin/v30/topology_manager_read_service.client.d.ts +0 -199
  189. package/dist/_proto/com/digitalasset/canton/topology/admin/v30/topology_manager_read_service.client.d.ts.map +0 -1
  190. package/dist/_proto/com/digitalasset/canton/topology/admin/v30/topology_manager_read_service.client.js +0 -136
  191. package/dist/_proto/com/digitalasset/canton/topology/admin/v30/topology_manager_read_service.d.ts +0 -1195
  192. package/dist/_proto/com/digitalasset/canton/topology/admin/v30/topology_manager_read_service.d.ts.map +0 -1
  193. package/dist/_proto/com/digitalasset/canton/topology/admin/v30/topology_manager_read_service.js +0 -3342
  194. package/dist/_proto/com/digitalasset/canton/topology/admin/v30/topology_manager_write_service.client.d.ts +0 -119
  195. package/dist/_proto/com/digitalasset/canton/topology/admin/v30/topology_manager_write_service.client.d.ts.map +0 -1
  196. package/dist/_proto/com/digitalasset/canton/topology/admin/v30/topology_manager_write_service.client.js +0 -76
  197. package/dist/_proto/com/digitalasset/canton/topology/admin/v30/topology_manager_write_service.d.ts +0 -607
  198. package/dist/_proto/com/digitalasset/canton/topology/admin/v30/topology_manager_write_service.d.ts.map +0 -1
  199. package/dist/_proto/com/digitalasset/canton/topology/admin/v30/topology_manager_write_service.js +0 -1292
  200. package/dist/_proto/google/protobuf/any.d.ts +0 -177
  201. package/dist/_proto/google/protobuf/any.d.ts.map +0 -1
  202. package/dist/_proto/google/protobuf/any.js +0 -175
  203. package/dist/_proto/google/protobuf/descriptor.d.ts +0 -1638
  204. package/dist/_proto/google/protobuf/descriptor.d.ts.map +0 -1
  205. package/dist/_proto/google/protobuf/descriptor.js +0 -2999
  206. package/dist/_proto/google/protobuf/duration.d.ts +0 -114
  207. package/dist/_proto/google/protobuf/duration.d.ts.map +0 -1
  208. package/dist/_proto/google/protobuf/duration.js +0 -113
  209. package/dist/_proto/google/protobuf/empty.d.ts +0 -33
  210. package/dist/_proto/google/protobuf/empty.d.ts.map +0 -1
  211. package/dist/_proto/google/protobuf/empty.js +0 -41
  212. package/dist/_proto/google/protobuf/field_mask.d.ts +0 -240
  213. package/dist/_proto/google/protobuf/field_mask.d.ts.map +0 -1
  214. package/dist/_proto/google/protobuf/field_mask.js +0 -95
  215. package/dist/_proto/google/protobuf/struct.d.ts +0 -187
  216. package/dist/_proto/google/protobuf/struct.d.ts.map +0 -1
  217. package/dist/_proto/google/protobuf/struct.js +0 -417
  218. package/dist/_proto/google/protobuf/timestamp.d.ts +0 -159
  219. package/dist/_proto/google/protobuf/timestamp.d.ts.map +0 -1
  220. package/dist/_proto/google/protobuf/timestamp.js +0 -157
  221. package/dist/_proto/google/rpc/code.d.ts +0 -219
  222. package/dist/_proto/google/rpc/code.d.ts.map +0 -1
  223. package/dist/_proto/google/rpc/code.js +0 -237
  224. package/dist/_proto/google/rpc/context/attribute_context.d.ts +0 -594
  225. package/dist/_proto/google/rpc/context/attribute_context.d.ts.map +0 -1
  226. package/dist/_proto/google/rpc/context/attribute_context.js +0 -1007
  227. package/dist/_proto/google/rpc/context/audit_context.d.ts +0 -62
  228. package/dist/_proto/google/rpc/context/audit_context.d.ts.map +0 -1
  229. package/dist/_proto/google/rpc/context/audit_context.js +0 -111
  230. package/dist/_proto/google/rpc/error_details.d.ts +0 -549
  231. package/dist/_proto/google/rpc/error_details.d.ts.map +0 -1
  232. package/dist/_proto/google/rpc/error_details.js +0 -918
  233. package/dist/_proto/google/rpc/status.d.ts +0 -55
  234. package/dist/_proto/google/rpc/status.d.ts.map +0 -1
  235. package/dist/_proto/google/rpc/status.js +0 -79
  236. package/dist/_proto/scalapb/scalapb.d.ts +0 -779
  237. package/dist/_proto/scalapb/scalapb.d.ts.map +0 -1
  238. package/dist/_proto/scalapb/scalapb.js +0 -1658
@@ -1,30 +0,0 @@
1
- import type { BinaryWriteOptions } from '@protobuf-ts/runtime';
2
- import type { IBinaryWriter } from '@protobuf-ts/runtime';
3
- import type { BinaryReadOptions } from '@protobuf-ts/runtime';
4
- import type { IBinaryReader } from '@protobuf-ts/runtime';
5
- import type { PartialMessage } from '@protobuf-ts/runtime';
6
- import { MessageType } from '@protobuf-ts/runtime';
7
- /**
8
- * @generated from protobuf message com.digitalasset.canton.protocol.v30.DynamicSequencingParameters
9
- */
10
- export interface DynamicSequencingParameters {
11
- /**
12
- * Sequencing dynamic synchronizer parameters can only be interpreted by a sequencer implementation
13
- * and are opaque to the rest of the synchronizer.
14
- *
15
- * @generated from protobuf field: bytes payload = 1
16
- */
17
- payload: Uint8Array;
18
- }
19
- declare class DynamicSequencingParameters$Type extends MessageType<DynamicSequencingParameters> {
20
- constructor();
21
- create(value?: PartialMessage<DynamicSequencingParameters>): DynamicSequencingParameters;
22
- internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: DynamicSequencingParameters): DynamicSequencingParameters;
23
- internalBinaryWrite(message: DynamicSequencingParameters, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
24
- }
25
- /**
26
- * @generated MessageType for protobuf message com.digitalasset.canton.protocol.v30.DynamicSequencingParameters
27
- */
28
- export declare const DynamicSequencingParameters: DynamicSequencingParameters$Type;
29
- export {};
30
- //# sourceMappingURL=sequencing_parameters.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"sequencing_parameters.d.ts","sourceRoot":"","sources":["../../../../../../../src/_proto/com/digitalasset/canton/protocol/v30/sequencing_parameters.ts"],"names":[],"mappings":"AAOA,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,sBAAsB,CAAA;AAC9D,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,sBAAsB,CAAA;AAEzD,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,sBAAsB,CAAA;AAC7D,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,sBAAsB,CAAA;AAEzD,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,sBAAsB,CAAA;AAE1D,OAAO,EAAE,WAAW,EAAE,MAAM,sBAAsB,CAAA;AAClD;;GAEG;AACH,MAAM,WAAW,2BAA2B;IACxC;;;;;OAKG;IACH,OAAO,EAAE,UAAU,CAAA;CACtB;AAED,cAAM,gCAAiC,SAAQ,WAAW,CAAC,2BAA2B,CAAC;;IAqBnF,MAAM,CACF,KAAK,CAAC,EAAE,cAAc,CAAC,2BAA2B,CAAC,GACpD,2BAA2B;IAW9B,kBAAkB,CACd,MAAM,EAAE,aAAa,EACrB,MAAM,EAAE,MAAM,EACd,OAAO,EAAE,iBAAiB,EAC1B,MAAM,CAAC,EAAE,2BAA2B,GACrC,2BAA2B;IA4B9B,mBAAmB,CACf,OAAO,EAAE,2BAA2B,EACpC,MAAM,EAAE,aAAa,EACrB,OAAO,EAAE,kBAAkB,GAC5B,aAAa;CAanB;AACD;;GAEG;AACH,eAAO,MAAM,2BAA2B,kCACE,CAAA"}
@@ -1,62 +0,0 @@
1
- import { WireType } from '@protobuf-ts/runtime';
2
- import { UnknownFieldHandler } from '@protobuf-ts/runtime';
3
- import { reflectionMergePartial } from '@protobuf-ts/runtime';
4
- import { MessageType } from '@protobuf-ts/runtime';
5
- // @generated message type with reflection information, may provide speed optimized methods
6
- class DynamicSequencingParameters$Type extends MessageType {
7
- constructor() {
8
- super('com.digitalasset.canton.protocol.v30.DynamicSequencingParameters', [
9
- {
10
- no: 1,
11
- name: 'payload',
12
- kind: 'scalar',
13
- T: 12 /*ScalarType.BYTES*/,
14
- },
15
- ], {
16
- 'scalapb.message': {
17
- companionExtends: [
18
- 'com.digitalasset.canton.version.StableProtoVersion',
19
- ],
20
- },
21
- });
22
- }
23
- create(value) {
24
- const message = globalThis.Object.create(this.messagePrototype);
25
- message.payload = new Uint8Array(0);
26
- if (value !== undefined)
27
- reflectionMergePartial(this, message, value);
28
- return message;
29
- }
30
- internalBinaryRead(reader, length, options, target) {
31
- let message = target ?? this.create(), end = reader.pos + length;
32
- while (reader.pos < end) {
33
- let [fieldNo, wireType] = reader.tag();
34
- switch (fieldNo) {
35
- case /* bytes payload */ 1:
36
- message.payload = reader.bytes();
37
- break;
38
- default:
39
- let u = options.readUnknownField;
40
- if (u === 'throw')
41
- throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
42
- let d = reader.skip(wireType);
43
- if (u !== false)
44
- (u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
45
- }
46
- }
47
- return message;
48
- }
49
- internalBinaryWrite(message, writer, options) {
50
- /* bytes payload = 1; */
51
- if (message.payload.length)
52
- writer.tag(1, WireType.LengthDelimited).bytes(message.payload);
53
- let u = options.writeUnknownFields;
54
- if (u !== false)
55
- (u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
56
- return writer;
57
- }
58
- }
59
- /**
60
- * @generated MessageType for protobuf message com.digitalasset.canton.protocol.v30.DynamicSequencingParameters
61
- */
62
- export const DynamicSequencingParameters = new DynamicSequencingParameters$Type();
@@ -1,168 +0,0 @@
1
- import type { BinaryWriteOptions } from '@protobuf-ts/runtime';
2
- import type { IBinaryWriter } from '@protobuf-ts/runtime';
3
- import type { BinaryReadOptions } from '@protobuf-ts/runtime';
4
- import type { IBinaryReader } from '@protobuf-ts/runtime';
5
- import type { PartialMessage } from '@protobuf-ts/runtime';
6
- import { MessageType } from '@protobuf-ts/runtime';
7
- import { TrafficControlParameters } from './traffic_control_parameters.js';
8
- import { Duration } from '../../../../../google/protobuf/duration.js';
9
- /**
10
- * catch-up configuration parameters
11
- *
12
- * @generated from protobuf message com.digitalasset.canton.protocol.v30.AcsCommitmentsCatchUpConfig
13
- */
14
- export interface AcsCommitmentsCatchUpConfig {
15
- /**
16
- * @generated from protobuf field: uint32 catchup_interval_skip = 1
17
- */
18
- catchupIntervalSkip: number;
19
- /**
20
- * @generated from protobuf field: uint32 nr_intervals_to_trigger_catchup = 2
21
- */
22
- nrIntervalsToTriggerCatchup: number;
23
- }
24
- /**
25
- * individual per participant limits
26
- *
27
- * @generated from protobuf message com.digitalasset.canton.protocol.v30.ParticipantSynchronizerLimits
28
- */
29
- export interface ParticipantSynchronizerLimits {
30
- /**
31
- * @generated from protobuf field: uint32 confirmation_requests_max_rate = 1
32
- */
33
- confirmationRequestsMaxRate: number;
34
- }
35
- /**
36
- * @generated from protobuf message com.digitalasset.canton.protocol.v30.DynamicSynchronizerParameters
37
- */
38
- export interface DynamicSynchronizerParameters {
39
- /**
40
- * @generated from protobuf field: google.protobuf.Duration confirmation_response_timeout = 1
41
- */
42
- confirmationResponseTimeout?: Duration;
43
- /**
44
- * @generated from protobuf field: google.protobuf.Duration mediator_reaction_timeout = 2
45
- */
46
- mediatorReactionTimeout?: Duration;
47
- /**
48
- * @generated from protobuf field: google.protobuf.Duration assignment_exclusivity_timeout = 3
49
- */
50
- assignmentExclusivityTimeout?: Duration;
51
- /**
52
- * @generated from protobuf field: google.protobuf.Duration topology_change_delay = 4
53
- */
54
- topologyChangeDelay?: Duration;
55
- /**
56
- * @generated from protobuf field: google.protobuf.Duration ledger_time_record_time_tolerance = 5
57
- */
58
- ledgerTimeRecordTimeTolerance?: Duration;
59
- /**
60
- * @generated from protobuf field: google.protobuf.Duration reconciliation_interval = 6
61
- */
62
- reconciliationInterval?: Duration;
63
- /**
64
- * @generated from protobuf field: google.protobuf.Duration mediator_deduplication_timeout = 7
65
- */
66
- mediatorDeduplicationTimeout?: Duration;
67
- /**
68
- * @generated from protobuf field: uint32 max_request_size = 8
69
- */
70
- maxRequestSize: number;
71
- /**
72
- * topology related validation parameters
73
- * permissioned synchronizer: if true, only participants which have been explicitly
74
- * put on the allow list can onboard to the synchronizer
75
- *
76
- * @generated from protobuf field: com.digitalasset.canton.protocol.v30.OnboardingRestriction onboarding_restriction = 9
77
- */
78
- onboardingRestriction: OnboardingRestriction;
79
- /**
80
- * @generated from protobuf field: com.digitalasset.canton.protocol.v30.ParticipantSynchronizerLimits participant_synchronizer_limits = 13
81
- */
82
- participantSynchronizerLimits?: ParticipantSynchronizerLimits;
83
- /**
84
- * @generated from protobuf field: google.protobuf.Duration sequencer_aggregate_submission_timeout = 15
85
- */
86
- sequencerAggregateSubmissionTimeout?: Duration;
87
- /**
88
- * @generated from protobuf field: com.digitalasset.canton.protocol.v30.TrafficControlParameters traffic_control = 16
89
- */
90
- trafficControl?: TrafficControlParameters;
91
- /**
92
- * @generated from protobuf field: com.digitalasset.canton.protocol.v30.AcsCommitmentsCatchUpConfig acs_commitments_catchup = 17
93
- */
94
- acsCommitmentsCatchup?: AcsCommitmentsCatchUpConfig;
95
- /**
96
- * @generated from protobuf field: google.protobuf.Duration preparation_time_record_time_tolerance = 18
97
- */
98
- preparationTimeRecordTimeTolerance?: Duration;
99
- }
100
- /**
101
- * Controls how participants can join the synchronizer
102
- * Note that currently, only transitions from restricted to unrestricted are supported, but not
103
- * the other way around.
104
- *
105
- * @generated from protobuf enum com.digitalasset.canton.protocol.v30.OnboardingRestriction
106
- */
107
- export declare enum OnboardingRestriction {
108
- /**
109
- * @generated from protobuf enum value: ONBOARDING_RESTRICTION_UNSPECIFIED = 0;
110
- */
111
- UNSPECIFIED = 0,
112
- /**
113
- * Any participant can join the synchronizer
114
- *
115
- * @generated from protobuf enum value: ONBOARDING_RESTRICTION_UNRESTRICTED_OPEN = 1;
116
- */
117
- UNRESTRICTED_OPEN = 1,
118
- /**
119
- * No participant can currently join the synchronizer
120
- *
121
- * @generated from protobuf enum value: ONBOARDING_RESTRICTION_UNRESTRICTED_LOCKED = 2;
122
- */
123
- UNRESTRICTED_LOCKED = 2,
124
- /**
125
- * Only participants with a valid participant synchronizer permission are allowed to join the synchronizer (allowlisting)
126
- *
127
- * @generated from protobuf enum value: ONBOARDING_RESTRICTION_RESTRICTED_OPEN = 3;
128
- */
129
- RESTRICTED_OPEN = 3,
130
- /**
131
- * No participant can currently join the restricted synchronizer
132
- *
133
- * @generated from protobuf enum value: ONBOARDING_RESTRICTION_RESTRICTED_LOCKED = 4;
134
- */
135
- RESTRICTED_LOCKED = 4
136
- }
137
- declare class AcsCommitmentsCatchUpConfig$Type extends MessageType<AcsCommitmentsCatchUpConfig> {
138
- constructor();
139
- create(value?: PartialMessage<AcsCommitmentsCatchUpConfig>): AcsCommitmentsCatchUpConfig;
140
- internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: AcsCommitmentsCatchUpConfig): AcsCommitmentsCatchUpConfig;
141
- internalBinaryWrite(message: AcsCommitmentsCatchUpConfig, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
142
- }
143
- /**
144
- * @generated MessageType for protobuf message com.digitalasset.canton.protocol.v30.AcsCommitmentsCatchUpConfig
145
- */
146
- export declare const AcsCommitmentsCatchUpConfig: AcsCommitmentsCatchUpConfig$Type;
147
- declare class ParticipantSynchronizerLimits$Type extends MessageType<ParticipantSynchronizerLimits> {
148
- constructor();
149
- create(value?: PartialMessage<ParticipantSynchronizerLimits>): ParticipantSynchronizerLimits;
150
- internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: ParticipantSynchronizerLimits): ParticipantSynchronizerLimits;
151
- internalBinaryWrite(message: ParticipantSynchronizerLimits, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
152
- }
153
- /**
154
- * @generated MessageType for protobuf message com.digitalasset.canton.protocol.v30.ParticipantSynchronizerLimits
155
- */
156
- export declare const ParticipantSynchronizerLimits: ParticipantSynchronizerLimits$Type;
157
- declare class DynamicSynchronizerParameters$Type extends MessageType<DynamicSynchronizerParameters> {
158
- constructor();
159
- create(value?: PartialMessage<DynamicSynchronizerParameters>): DynamicSynchronizerParameters;
160
- internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: DynamicSynchronizerParameters): DynamicSynchronizerParameters;
161
- internalBinaryWrite(message: DynamicSynchronizerParameters, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
162
- }
163
- /**
164
- * @generated MessageType for protobuf message com.digitalasset.canton.protocol.v30.DynamicSynchronizerParameters
165
- */
166
- export declare const DynamicSynchronizerParameters: DynamicSynchronizerParameters$Type;
167
- export {};
168
- //# sourceMappingURL=synchronizer_parameters.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"synchronizer_parameters.d.ts","sourceRoot":"","sources":["../../../../../../../src/_proto/com/digitalasset/canton/protocol/v30/synchronizer_parameters.ts"],"names":[],"mappings":"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"}
@@ -1,395 +0,0 @@
1
- import { WireType } from '@protobuf-ts/runtime';
2
- import { UnknownFieldHandler } from '@protobuf-ts/runtime';
3
- import { reflectionMergePartial } from '@protobuf-ts/runtime';
4
- import { MessageType } from '@protobuf-ts/runtime';
5
- import { TrafficControlParameters } from './traffic_control_parameters.js';
6
- import { Duration } from '../../../../../google/protobuf/duration.js';
7
- /**
8
- * Controls how participants can join the synchronizer
9
- * Note that currently, only transitions from restricted to unrestricted are supported, but not
10
- * the other way around.
11
- *
12
- * @generated from protobuf enum com.digitalasset.canton.protocol.v30.OnboardingRestriction
13
- */
14
- export var OnboardingRestriction;
15
- (function (OnboardingRestriction) {
16
- /**
17
- * @generated from protobuf enum value: ONBOARDING_RESTRICTION_UNSPECIFIED = 0;
18
- */
19
- OnboardingRestriction[OnboardingRestriction["UNSPECIFIED"] = 0] = "UNSPECIFIED";
20
- /**
21
- * Any participant can join the synchronizer
22
- *
23
- * @generated from protobuf enum value: ONBOARDING_RESTRICTION_UNRESTRICTED_OPEN = 1;
24
- */
25
- OnboardingRestriction[OnboardingRestriction["UNRESTRICTED_OPEN"] = 1] = "UNRESTRICTED_OPEN";
26
- /**
27
- * No participant can currently join the synchronizer
28
- *
29
- * @generated from protobuf enum value: ONBOARDING_RESTRICTION_UNRESTRICTED_LOCKED = 2;
30
- */
31
- OnboardingRestriction[OnboardingRestriction["UNRESTRICTED_LOCKED"] = 2] = "UNRESTRICTED_LOCKED";
32
- /**
33
- * Only participants with a valid participant synchronizer permission are allowed to join the synchronizer (allowlisting)
34
- *
35
- * @generated from protobuf enum value: ONBOARDING_RESTRICTION_RESTRICTED_OPEN = 3;
36
- */
37
- OnboardingRestriction[OnboardingRestriction["RESTRICTED_OPEN"] = 3] = "RESTRICTED_OPEN";
38
- /**
39
- * No participant can currently join the restricted synchronizer
40
- *
41
- * @generated from protobuf enum value: ONBOARDING_RESTRICTION_RESTRICTED_LOCKED = 4;
42
- */
43
- OnboardingRestriction[OnboardingRestriction["RESTRICTED_LOCKED"] = 4] = "RESTRICTED_LOCKED";
44
- })(OnboardingRestriction || (OnboardingRestriction = {}));
45
- // @generated message type with reflection information, may provide speed optimized methods
46
- class AcsCommitmentsCatchUpConfig$Type extends MessageType {
47
- constructor() {
48
- super('com.digitalasset.canton.protocol.v30.AcsCommitmentsCatchUpConfig', [
49
- {
50
- no: 1,
51
- name: 'catchup_interval_skip',
52
- kind: 'scalar',
53
- T: 13 /*ScalarType.UINT32*/,
54
- },
55
- {
56
- no: 2,
57
- name: 'nr_intervals_to_trigger_catchup',
58
- kind: 'scalar',
59
- T: 13 /*ScalarType.UINT32*/,
60
- },
61
- ]);
62
- }
63
- create(value) {
64
- const message = globalThis.Object.create(this.messagePrototype);
65
- message.catchupIntervalSkip = 0;
66
- message.nrIntervalsToTriggerCatchup = 0;
67
- if (value !== undefined)
68
- reflectionMergePartial(this, message, value);
69
- return message;
70
- }
71
- internalBinaryRead(reader, length, options, target) {
72
- let message = target ?? this.create(), end = reader.pos + length;
73
- while (reader.pos < end) {
74
- let [fieldNo, wireType] = reader.tag();
75
- switch (fieldNo) {
76
- case /* uint32 catchup_interval_skip */ 1:
77
- message.catchupIntervalSkip = reader.uint32();
78
- break;
79
- case /* uint32 nr_intervals_to_trigger_catchup */ 2:
80
- message.nrIntervalsToTriggerCatchup = reader.uint32();
81
- break;
82
- default:
83
- let u = options.readUnknownField;
84
- if (u === 'throw')
85
- throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
86
- let d = reader.skip(wireType);
87
- if (u !== false)
88
- (u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
89
- }
90
- }
91
- return message;
92
- }
93
- internalBinaryWrite(message, writer, options) {
94
- /* uint32 catchup_interval_skip = 1; */
95
- if (message.catchupIntervalSkip !== 0)
96
- writer.tag(1, WireType.Varint).uint32(message.catchupIntervalSkip);
97
- /* uint32 nr_intervals_to_trigger_catchup = 2; */
98
- if (message.nrIntervalsToTriggerCatchup !== 0)
99
- writer
100
- .tag(2, WireType.Varint)
101
- .uint32(message.nrIntervalsToTriggerCatchup);
102
- let u = options.writeUnknownFields;
103
- if (u !== false)
104
- (u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
105
- return writer;
106
- }
107
- }
108
- /**
109
- * @generated MessageType for protobuf message com.digitalasset.canton.protocol.v30.AcsCommitmentsCatchUpConfig
110
- */
111
- export const AcsCommitmentsCatchUpConfig = new AcsCommitmentsCatchUpConfig$Type();
112
- // @generated message type with reflection information, may provide speed optimized methods
113
- class ParticipantSynchronizerLimits$Type extends MessageType {
114
- constructor() {
115
- super('com.digitalasset.canton.protocol.v30.ParticipantSynchronizerLimits', [
116
- {
117
- no: 1,
118
- name: 'confirmation_requests_max_rate',
119
- kind: 'scalar',
120
- T: 13 /*ScalarType.UINT32*/,
121
- },
122
- ]);
123
- }
124
- create(value) {
125
- const message = globalThis.Object.create(this.messagePrototype);
126
- message.confirmationRequestsMaxRate = 0;
127
- if (value !== undefined)
128
- reflectionMergePartial(this, message, value);
129
- return message;
130
- }
131
- internalBinaryRead(reader, length, options, target) {
132
- let message = target ?? this.create(), end = reader.pos + length;
133
- while (reader.pos < end) {
134
- let [fieldNo, wireType] = reader.tag();
135
- switch (fieldNo) {
136
- case /* uint32 confirmation_requests_max_rate */ 1:
137
- message.confirmationRequestsMaxRate = reader.uint32();
138
- break;
139
- default:
140
- let u = options.readUnknownField;
141
- if (u === 'throw')
142
- throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
143
- let d = reader.skip(wireType);
144
- if (u !== false)
145
- (u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
146
- }
147
- }
148
- return message;
149
- }
150
- internalBinaryWrite(message, writer, options) {
151
- /* uint32 confirmation_requests_max_rate = 1; */
152
- if (message.confirmationRequestsMaxRate !== 0)
153
- writer
154
- .tag(1, WireType.Varint)
155
- .uint32(message.confirmationRequestsMaxRate);
156
- let u = options.writeUnknownFields;
157
- if (u !== false)
158
- (u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
159
- return writer;
160
- }
161
- }
162
- /**
163
- * @generated MessageType for protobuf message com.digitalasset.canton.protocol.v30.ParticipantSynchronizerLimits
164
- */
165
- export const ParticipantSynchronizerLimits = new ParticipantSynchronizerLimits$Type();
166
- // @generated message type with reflection information, may provide speed optimized methods
167
- class DynamicSynchronizerParameters$Type extends MessageType {
168
- constructor() {
169
- super('com.digitalasset.canton.protocol.v30.DynamicSynchronizerParameters', [
170
- {
171
- no: 1,
172
- name: 'confirmation_response_timeout',
173
- kind: 'message',
174
- T: () => Duration,
175
- },
176
- {
177
- no: 2,
178
- name: 'mediator_reaction_timeout',
179
- kind: 'message',
180
- T: () => Duration,
181
- },
182
- {
183
- no: 3,
184
- name: 'assignment_exclusivity_timeout',
185
- kind: 'message',
186
- T: () => Duration,
187
- },
188
- {
189
- no: 4,
190
- name: 'topology_change_delay',
191
- kind: 'message',
192
- T: () => Duration,
193
- },
194
- {
195
- no: 5,
196
- name: 'ledger_time_record_time_tolerance',
197
- kind: 'message',
198
- T: () => Duration,
199
- },
200
- {
201
- no: 6,
202
- name: 'reconciliation_interval',
203
- kind: 'message',
204
- T: () => Duration,
205
- },
206
- {
207
- no: 7,
208
- name: 'mediator_deduplication_timeout',
209
- kind: 'message',
210
- T: () => Duration,
211
- },
212
- {
213
- no: 8,
214
- name: 'max_request_size',
215
- kind: 'scalar',
216
- T: 13 /*ScalarType.UINT32*/,
217
- },
218
- {
219
- no: 9,
220
- name: 'onboarding_restriction',
221
- kind: 'enum',
222
- T: () => [
223
- 'com.digitalasset.canton.protocol.v30.OnboardingRestriction',
224
- OnboardingRestriction,
225
- 'ONBOARDING_RESTRICTION_',
226
- ],
227
- },
228
- {
229
- no: 13,
230
- name: 'participant_synchronizer_limits',
231
- kind: 'message',
232
- T: () => ParticipantSynchronizerLimits,
233
- },
234
- {
235
- no: 15,
236
- name: 'sequencer_aggregate_submission_timeout',
237
- kind: 'message',
238
- T: () => Duration,
239
- },
240
- {
241
- no: 16,
242
- name: 'traffic_control',
243
- kind: 'message',
244
- T: () => TrafficControlParameters,
245
- },
246
- {
247
- no: 17,
248
- name: 'acs_commitments_catchup',
249
- kind: 'message',
250
- T: () => AcsCommitmentsCatchUpConfig,
251
- },
252
- {
253
- no: 18,
254
- name: 'preparation_time_record_time_tolerance',
255
- kind: 'message',
256
- T: () => Duration,
257
- },
258
- ], {
259
- 'scalapb.message': {
260
- companionExtends: [
261
- 'com.digitalasset.canton.version.StableProtoVersion',
262
- ],
263
- },
264
- });
265
- }
266
- create(value) {
267
- const message = globalThis.Object.create(this.messagePrototype);
268
- message.maxRequestSize = 0;
269
- message.onboardingRestriction = 0;
270
- if (value !== undefined)
271
- reflectionMergePartial(this, message, value);
272
- return message;
273
- }
274
- internalBinaryRead(reader, length, options, target) {
275
- let message = target ?? this.create(), end = reader.pos + length;
276
- while (reader.pos < end) {
277
- let [fieldNo, wireType] = reader.tag();
278
- switch (fieldNo) {
279
- case /* google.protobuf.Duration confirmation_response_timeout */ 1:
280
- message.confirmationResponseTimeout =
281
- Duration.internalBinaryRead(reader, reader.uint32(), options, message.confirmationResponseTimeout);
282
- break;
283
- case /* google.protobuf.Duration mediator_reaction_timeout */ 2:
284
- message.mediatorReactionTimeout =
285
- Duration.internalBinaryRead(reader, reader.uint32(), options, message.mediatorReactionTimeout);
286
- break;
287
- case /* google.protobuf.Duration assignment_exclusivity_timeout */ 3:
288
- message.assignmentExclusivityTimeout =
289
- Duration.internalBinaryRead(reader, reader.uint32(), options, message.assignmentExclusivityTimeout);
290
- break;
291
- case /* google.protobuf.Duration topology_change_delay */ 4:
292
- message.topologyChangeDelay = Duration.internalBinaryRead(reader, reader.uint32(), options, message.topologyChangeDelay);
293
- break;
294
- case /* google.protobuf.Duration ledger_time_record_time_tolerance */ 5:
295
- message.ledgerTimeRecordTimeTolerance =
296
- Duration.internalBinaryRead(reader, reader.uint32(), options, message.ledgerTimeRecordTimeTolerance);
297
- break;
298
- case /* google.protobuf.Duration reconciliation_interval */ 6:
299
- message.reconciliationInterval =
300
- Duration.internalBinaryRead(reader, reader.uint32(), options, message.reconciliationInterval);
301
- break;
302
- case /* google.protobuf.Duration mediator_deduplication_timeout */ 7:
303
- message.mediatorDeduplicationTimeout =
304
- Duration.internalBinaryRead(reader, reader.uint32(), options, message.mediatorDeduplicationTimeout);
305
- break;
306
- case /* uint32 max_request_size */ 8:
307
- message.maxRequestSize = reader.uint32();
308
- break;
309
- case /* com.digitalasset.canton.protocol.v30.OnboardingRestriction onboarding_restriction */ 9:
310
- message.onboardingRestriction = reader.int32();
311
- break;
312
- case /* com.digitalasset.canton.protocol.v30.ParticipantSynchronizerLimits participant_synchronizer_limits */ 13:
313
- message.participantSynchronizerLimits =
314
- ParticipantSynchronizerLimits.internalBinaryRead(reader, reader.uint32(), options, message.participantSynchronizerLimits);
315
- break;
316
- case /* google.protobuf.Duration sequencer_aggregate_submission_timeout */ 15:
317
- message.sequencerAggregateSubmissionTimeout =
318
- Duration.internalBinaryRead(reader, reader.uint32(), options, message.sequencerAggregateSubmissionTimeout);
319
- break;
320
- case /* com.digitalasset.canton.protocol.v30.TrafficControlParameters traffic_control */ 16:
321
- message.trafficControl =
322
- TrafficControlParameters.internalBinaryRead(reader, reader.uint32(), options, message.trafficControl);
323
- break;
324
- case /* com.digitalasset.canton.protocol.v30.AcsCommitmentsCatchUpConfig acs_commitments_catchup */ 17:
325
- message.acsCommitmentsCatchup =
326
- AcsCommitmentsCatchUpConfig.internalBinaryRead(reader, reader.uint32(), options, message.acsCommitmentsCatchup);
327
- break;
328
- case /* google.protobuf.Duration preparation_time_record_time_tolerance */ 18:
329
- message.preparationTimeRecordTimeTolerance =
330
- Duration.internalBinaryRead(reader, reader.uint32(), options, message.preparationTimeRecordTimeTolerance);
331
- break;
332
- default:
333
- let u = options.readUnknownField;
334
- if (u === 'throw')
335
- throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
336
- let d = reader.skip(wireType);
337
- if (u !== false)
338
- (u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
339
- }
340
- }
341
- return message;
342
- }
343
- internalBinaryWrite(message, writer, options) {
344
- /* google.protobuf.Duration confirmation_response_timeout = 1; */
345
- if (message.confirmationResponseTimeout)
346
- Duration.internalBinaryWrite(message.confirmationResponseTimeout, writer.tag(1, WireType.LengthDelimited).fork(), options).join();
347
- /* google.protobuf.Duration mediator_reaction_timeout = 2; */
348
- if (message.mediatorReactionTimeout)
349
- Duration.internalBinaryWrite(message.mediatorReactionTimeout, writer.tag(2, WireType.LengthDelimited).fork(), options).join();
350
- /* google.protobuf.Duration assignment_exclusivity_timeout = 3; */
351
- if (message.assignmentExclusivityTimeout)
352
- Duration.internalBinaryWrite(message.assignmentExclusivityTimeout, writer.tag(3, WireType.LengthDelimited).fork(), options).join();
353
- /* google.protobuf.Duration topology_change_delay = 4; */
354
- if (message.topologyChangeDelay)
355
- Duration.internalBinaryWrite(message.topologyChangeDelay, writer.tag(4, WireType.LengthDelimited).fork(), options).join();
356
- /* google.protobuf.Duration ledger_time_record_time_tolerance = 5; */
357
- if (message.ledgerTimeRecordTimeTolerance)
358
- Duration.internalBinaryWrite(message.ledgerTimeRecordTimeTolerance, writer.tag(5, WireType.LengthDelimited).fork(), options).join();
359
- /* google.protobuf.Duration reconciliation_interval = 6; */
360
- if (message.reconciliationInterval)
361
- Duration.internalBinaryWrite(message.reconciliationInterval, writer.tag(6, WireType.LengthDelimited).fork(), options).join();
362
- /* google.protobuf.Duration mediator_deduplication_timeout = 7; */
363
- if (message.mediatorDeduplicationTimeout)
364
- Duration.internalBinaryWrite(message.mediatorDeduplicationTimeout, writer.tag(7, WireType.LengthDelimited).fork(), options).join();
365
- /* uint32 max_request_size = 8; */
366
- if (message.maxRequestSize !== 0)
367
- writer.tag(8, WireType.Varint).uint32(message.maxRequestSize);
368
- /* com.digitalasset.canton.protocol.v30.OnboardingRestriction onboarding_restriction = 9; */
369
- if (message.onboardingRestriction !== 0)
370
- writer.tag(9, WireType.Varint).int32(message.onboardingRestriction);
371
- /* com.digitalasset.canton.protocol.v30.ParticipantSynchronizerLimits participant_synchronizer_limits = 13; */
372
- if (message.participantSynchronizerLimits)
373
- ParticipantSynchronizerLimits.internalBinaryWrite(message.participantSynchronizerLimits, writer.tag(13, WireType.LengthDelimited).fork(), options).join();
374
- /* google.protobuf.Duration sequencer_aggregate_submission_timeout = 15; */
375
- if (message.sequencerAggregateSubmissionTimeout)
376
- Duration.internalBinaryWrite(message.sequencerAggregateSubmissionTimeout, writer.tag(15, WireType.LengthDelimited).fork(), options).join();
377
- /* com.digitalasset.canton.protocol.v30.TrafficControlParameters traffic_control = 16; */
378
- if (message.trafficControl)
379
- TrafficControlParameters.internalBinaryWrite(message.trafficControl, writer.tag(16, WireType.LengthDelimited).fork(), options).join();
380
- /* com.digitalasset.canton.protocol.v30.AcsCommitmentsCatchUpConfig acs_commitments_catchup = 17; */
381
- if (message.acsCommitmentsCatchup)
382
- AcsCommitmentsCatchUpConfig.internalBinaryWrite(message.acsCommitmentsCatchup, writer.tag(17, WireType.LengthDelimited).fork(), options).join();
383
- /* google.protobuf.Duration preparation_time_record_time_tolerance = 18; */
384
- if (message.preparationTimeRecordTimeTolerance)
385
- Duration.internalBinaryWrite(message.preparationTimeRecordTimeTolerance, writer.tag(18, WireType.LengthDelimited).fork(), options).join();
386
- let u = options.writeUnknownFields;
387
- if (u !== false)
388
- (u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
389
- return writer;
390
- }
391
- }
392
- /**
393
- * @generated MessageType for protobuf message com.digitalasset.canton.protocol.v30.DynamicSynchronizerParameters
394
- */
395
- export const DynamicSynchronizerParameters = new DynamicSynchronizerParameters$Type();