@raystack/proton 0.1.0-09b6d3e7c1e4b03bb30db032380c04e0524ac701 → 0.1.0-2dbafa5913a214851fdc4f1beefbe27c4a6de55a

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 (382) hide show
  1. package/google/api/annotations_pb.d.ts +34 -0
  2. package/google/api/annotations_pb.js +36 -0
  3. package/google/api/annotations_pb.ts +15 -9
  4. package/google/api/field_behavior_pb.d.ts +134 -0
  5. package/google/api/field_behavior_pb.js +65 -0
  6. package/google/api/field_behavior_pb.ts +19 -19
  7. package/google/api/http_pb.d.ts +477 -0
  8. package/google/api/http_pb.js +47 -0
  9. package/google/api/http_pb.ts +43 -108
  10. package/google/api/httpbody_pb.d.ts +104 -0
  11. package/google/api/httpbody_pb.js +34 -0
  12. package/google/api/httpbody_pb.ts +23 -37
  13. package/index.d.ts +10 -0
  14. package/index.js +10 -0
  15. package/index.ts +10 -0
  16. package/package.json +62 -17
  17. package/protoc-gen-openapiv2/options/annotations_pb.d.ts +63 -0
  18. package/protoc-gen-openapiv2/options/annotations_pb.js +69 -0
  19. package/protoc-gen-openapiv2/options/annotations_pb.ts +23 -29
  20. package/protoc-gen-openapiv2/options/openapiv2_pb.d.ts +1497 -0
  21. package/protoc-gen-openapiv2/options/openapiv2_pb.js +232 -0
  22. package/protoc-gen-openapiv2/options/openapiv2_pb.ts +338 -808
  23. package/raystack/assets/index.d.ts +29 -0
  24. package/raystack/assets/index.js +29 -0
  25. package/raystack/assets/index.ts +29 -29
  26. package/raystack/assets/v1beta1/bucket_pb.d.ts +180 -0
  27. package/raystack/assets/v1beta1/bucket_pb.js +32 -0
  28. package/raystack/assets/v1beta1/bucket_pb.ts +46 -89
  29. package/raystack/assets/v1beta1/dashboard_pb.d.ts +217 -0
  30. package/raystack/assets/v1beta1/dashboard_pb.js +32 -0
  31. package/raystack/assets/v1beta1/dashboard_pb.ts +49 -97
  32. package/raystack/assets/v1beta1/event_pb.d.ts +52 -0
  33. package/raystack/assets/v1beta1/event_pb.js +20 -0
  34. package/raystack/assets/v1beta1/event_pb.ts +22 -36
  35. package/raystack/assets/v1beta1/group_pb.d.ts +105 -0
  36. package/raystack/assets/v1beta1/group_pb.js +30 -0
  37. package/raystack/assets/v1beta1/group_pb.ts +38 -74
  38. package/raystack/assets/v1beta1/job_pb.d.ts +78 -0
  39. package/raystack/assets/v1beta1/job_pb.js +25 -0
  40. package/raystack/assets/v1beta1/job_pb.ts +30 -43
  41. package/raystack/assets/v1beta1/lineage_pb.d.ts +43 -0
  42. package/raystack/assets/v1beta1/lineage_pb.js +20 -0
  43. package/raystack/assets/v1beta1/lineage_pb.ts +22 -36
  44. package/raystack/assets/v1beta1/ownership_pb.d.ts +78 -0
  45. package/raystack/assets/v1beta1/ownership_pb.js +26 -0
  46. package/raystack/assets/v1beta1/ownership_pb.ts +31 -68
  47. package/raystack/assets/v1beta1/preview_pb.d.ts +41 -0
  48. package/raystack/assets/v1beta1/preview_pb.js +20 -0
  49. package/raystack/assets/v1beta1/preview_pb.ts +21 -34
  50. package/raystack/assets/v1beta1/properties_pb.d.ts +44 -0
  51. package/raystack/assets/v1beta1/properties_pb.js +20 -0
  52. package/raystack/assets/v1beta1/properties_pb.ts +22 -37
  53. package/raystack/assets/v1beta1/resource_pb.d.ts +74 -0
  54. package/raystack/assets/v1beta1/resource_pb.js +19 -0
  55. package/raystack/assets/v1beta1/resource_pb.ts +24 -43
  56. package/raystack/assets/v1beta1/schema_pb.d.ts +169 -0
  57. package/raystack/assets/v1beta1/schema_pb.js +41 -0
  58. package/raystack/assets/v1beta1/schema_pb.ts +59 -145
  59. package/raystack/assets/v1beta1/table_pb.d.ts +192 -0
  60. package/raystack/assets/v1beta1/table_pb.js +41 -0
  61. package/raystack/assets/v1beta1/table_pb.ts +59 -120
  62. package/raystack/assets/v1beta1/timestamp_pb.d.ts +68 -0
  63. package/raystack/assets/v1beta1/timestamp_pb.js +27 -0
  64. package/raystack/assets/v1beta1/timestamp_pb.ts +28 -62
  65. package/raystack/assets/v1beta1/topic_pb.d.ts +125 -0
  66. package/raystack/assets/v1beta1/topic_pb.js +33 -0
  67. package/raystack/assets/v1beta1/topic_pb.ts +43 -78
  68. package/raystack/assets/v1beta1/user_pb.d.ts +216 -0
  69. package/raystack/assets/v1beta1/user_pb.js +37 -0
  70. package/raystack/assets/v1beta1/user_pb.ts +58 -125
  71. package/raystack/assets/v1beta2/application_pb.d.ts +59 -0
  72. package/raystack/assets/v1beta2/application_pb.js +20 -0
  73. package/raystack/assets/v1beta2/application_pb.ts +23 -39
  74. package/raystack/assets/v1beta2/asset_pb.d.ts +129 -0
  75. package/raystack/assets/v1beta2/asset_pb.js +21 -0
  76. package/raystack/assets/v1beta2/asset_pb.ts +30 -53
  77. package/raystack/assets/v1beta2/bucket_pb.d.ts +163 -0
  78. package/raystack/assets/v1beta2/bucket_pb.js +28 -0
  79. package/raystack/assets/v1beta2/bucket_pb.ts +41 -87
  80. package/raystack/assets/v1beta2/common_pb.d.ts +170 -0
  81. package/raystack/assets/v1beta2/common_pb.js +41 -0
  82. package/raystack/assets/v1beta2/common_pb.ts +56 -137
  83. package/raystack/assets/v1beta2/dashboard_pb.d.ts +192 -0
  84. package/raystack/assets/v1beta2/dashboard_pb.js +28 -0
  85. package/raystack/assets/v1beta2/dashboard_pb.ts +44 -93
  86. package/raystack/assets/v1beta2/experiment_pb.d.ts +134 -0
  87. package/raystack/assets/v1beta2/experiment_pb.js +27 -0
  88. package/raystack/assets/v1beta2/experiment_pb.ts +38 -79
  89. package/raystack/assets/v1beta2/feature_table_pb.d.ts +167 -0
  90. package/raystack/assets/v1beta2/feature_table_pb.js +34 -0
  91. package/raystack/assets/v1beta2/feature_table_pb.ts +51 -115
  92. package/raystack/assets/v1beta2/group_pb.d.ts +77 -0
  93. package/raystack/assets/v1beta2/group_pb.js +27 -0
  94. package/raystack/assets/v1beta2/group_pb.ts +32 -68
  95. package/raystack/assets/v1beta2/job_pb.d.ts +47 -0
  96. package/raystack/assets/v1beta2/job_pb.js +20 -0
  97. package/raystack/assets/v1beta2/job_pb.ts +21 -35
  98. package/raystack/assets/v1beta2/metric_pb.d.ts +83 -0
  99. package/raystack/assets/v1beta2/metric_pb.js +20 -0
  100. package/raystack/assets/v1beta2/metric_pb.ts +25 -43
  101. package/raystack/assets/v1beta2/model_pb.d.ts +227 -0
  102. package/raystack/assets/v1beta2/model_pb.js +41 -0
  103. package/raystack/assets/v1beta2/model_pb.ts +59 -147
  104. package/raystack/assets/v1beta2/table_pb.d.ts +283 -0
  105. package/raystack/assets/v1beta2/table_pb.js +48 -0
  106. package/raystack/assets/v1beta2/table_pb.ts +82 -200
  107. package/raystack/assets/v1beta2/topic_pb.d.ts +117 -0
  108. package/raystack/assets/v1beta2/topic_pb.js +34 -0
  109. package/raystack/assets/v1beta2/topic_pb.ts +41 -99
  110. package/raystack/assets/v1beta2/user_pb.d.ts +203 -0
  111. package/raystack/assets/v1beta2/user_pb.js +34 -0
  112. package/raystack/assets/v1beta2/user_pb.ts +53 -121
  113. package/raystack/common/index.d.ts +2 -0
  114. package/raystack/common/index.js +2 -0
  115. package/raystack/common/index.ts +1 -2
  116. package/raystack/common/v1/service-CommonService_connectquery.d.ts +10 -0
  117. package/raystack/common/v1/service-CommonService_connectquery.js +10 -0
  118. package/raystack/common/v1/service-CommonService_connectquery.ts +3 -14
  119. package/raystack/common/v1/service_pb.d.ts +100 -0
  120. package/raystack/common/v1/service_pb.js +42 -0
  121. package/raystack/common/v1/service_pb.ts +57 -97
  122. package/raystack/compass/index.d.ts +2 -0
  123. package/raystack/compass/index.js +2 -0
  124. package/raystack/compass/index.ts +1 -2
  125. package/raystack/compass/v1beta1/service-CompassService_connectquery.d.ts +184 -0
  126. package/raystack/compass/v1beta1/service-CompassService_connectquery.js +225 -0
  127. package/raystack/compass/v1beta1/service-CompassService_connectquery.ts +44 -424
  128. package/raystack/compass/v1beta1/service_pb.d.ts +2994 -0
  129. package/raystack/compass/v1beta1/service_pb.js +745 -0
  130. package/raystack/compass/v1beta1/service_pb.ts +1448 -3319
  131. package/raystack/entropy/index.d.ts +4 -0
  132. package/raystack/entropy/index.js +4 -0
  133. package/raystack/entropy/index.ts +2 -4
  134. package/raystack/entropy/v1beta1/module-ModuleService_connectquery.d.ts +26 -0
  135. package/raystack/entropy/v1beta1/module-ModuleService_connectquery.js +30 -0
  136. package/raystack/entropy/v1beta1/module-ModuleService_connectquery.ts +7 -54
  137. package/raystack/entropy/v1beta1/module_pb.d.ts +261 -0
  138. package/raystack/entropy/v1beta1/module_pb.js +97 -0
  139. package/raystack/entropy/v1beta1/module_pb.ts +156 -324
  140. package/raystack/entropy/v1beta1/resource-ResourceService_connectquery.d.ts +34 -0
  141. package/raystack/entropy/v1beta1/resource-ResourceService_connectquery.js +40 -0
  142. package/raystack/entropy/v1beta1/resource-ResourceService_connectquery.ts +9 -74
  143. package/raystack/entropy/v1beta1/resource_pb.d.ts +636 -0
  144. package/raystack/entropy/v1beta1/resource_pb.js +200 -0
  145. package/raystack/entropy/v1beta1/resource_pb.ts +330 -756
  146. package/raystack/frontier/index.d.ts +5 -0
  147. package/raystack/frontier/index.js +5 -0
  148. package/raystack/frontier/index.ts +3 -5
  149. package/raystack/frontier/v1beta1/admin-AdminService_connectquery.d.ts +251 -0
  150. package/raystack/frontier/v1beta1/admin-AdminService_connectquery.js +302 -0
  151. package/raystack/frontier/v1beta1/admin-AdminService_connectquery.ts +60 -514
  152. package/raystack/frontier/v1beta1/admin_pb.d.ts +3465 -0
  153. package/raystack/frontier/v1beta1/admin_pb.js +886 -0
  154. package/raystack/frontier/v1beta1/admin_pb.ts +1774 -3791
  155. package/raystack/frontier/v1beta1/frontier-FrontierService_connectquery.d.ts +728 -0
  156. package/raystack/frontier/v1beta1/frontier-FrontierService_connectquery.js +894 -0
  157. package/raystack/frontier/v1beta1/frontier-FrontierService_connectquery.ts +169 -1674
  158. package/raystack/frontier/v1beta1/frontier_pb.d.ts +8773 -0
  159. package/raystack/frontier/v1beta1/frontier_pb.js +2593 -0
  160. package/raystack/frontier/v1beta1/frontier_pb.ts +4850 -10959
  161. package/raystack/frontier/v1beta1/models_pb.d.ts +2794 -0
  162. package/raystack/frontier/v1beta1/models_pb.js +436 -0
  163. package/raystack/frontier/v1beta1/models_pb.ts +810 -2296
  164. package/raystack/guardian/index.d.ts +2 -0
  165. package/raystack/guardian/index.js +2 -0
  166. package/raystack/guardian/index.ts +1 -2
  167. package/raystack/guardian/v1beta1/guardian-GuardianService_connectquery.d.ts +168 -0
  168. package/raystack/guardian/v1beta1/guardian-GuardianService_connectquery.js +207 -0
  169. package/raystack/guardian/v1beta1/guardian-GuardianService_connectquery.ts +42 -404
  170. package/raystack/guardian/v1beta1/guardian_pb.d.ts +3537 -0
  171. package/raystack/guardian/v1beta1/guardian_pb.js +823 -0
  172. package/raystack/guardian/v1beta1/guardian_pb.ts +1584 -3783
  173. package/raystack/optimus/core/v1beta1/backup-BackupService_connectquery.d.ts +18 -0
  174. package/raystack/optimus/core/v1beta1/backup-BackupService_connectquery.js +20 -0
  175. package/raystack/optimus/core/v1beta1/backup-BackupService_connectquery.ts +5 -34
  176. package/raystack/optimus/core/v1beta1/backup_pb.d.ts +256 -0
  177. package/raystack/optimus/core/v1beta1/backup_pb.js +77 -0
  178. package/raystack/optimus/core/v1beta1/backup_pb.ts +137 -273
  179. package/raystack/optimus/core/v1beta1/job_run-JobRunService_connectquery.d.ts +30 -0
  180. package/raystack/optimus/core/v1beta1/job_run-JobRunService_connectquery.js +33 -0
  181. package/raystack/optimus/core/v1beta1/job_run-JobRunService_connectquery.ts +6 -44
  182. package/raystack/optimus/core/v1beta1/job_run_pb.d.ts +410 -0
  183. package/raystack/optimus/core/v1beta1/job_run_pb.js +127 -0
  184. package/raystack/optimus/core/v1beta1/job_run_pb.ts +194 -376
  185. package/raystack/optimus/core/v1beta1/job_spec-JobSpecificationService_connectquery.d.ts +98 -0
  186. package/raystack/optimus/core/v1beta1/job_spec-JobSpecificationService_connectquery.js +112 -0
  187. package/raystack/optimus/core/v1beta1/job_spec-JobSpecificationService_connectquery.ts +17 -154
  188. package/raystack/optimus/core/v1beta1/job_spec_pb.d.ts +1953 -0
  189. package/raystack/optimus/core/v1beta1/job_spec_pb.js +487 -0
  190. package/raystack/optimus/core/v1beta1/job_spec_pb.ts +910 -2081
  191. package/raystack/optimus/core/v1beta1/namespace-NamespaceService_connectquery.d.ts +24 -0
  192. package/raystack/optimus/core/v1beta1/namespace-NamespaceService_connectquery.js +26 -0
  193. package/raystack/optimus/core/v1beta1/namespace-NamespaceService_connectquery.ts +5 -34
  194. package/raystack/optimus/core/v1beta1/namespace_pb.d.ts +180 -0
  195. package/raystack/optimus/core/v1beta1/namespace_pb.js +69 -0
  196. package/raystack/optimus/core/v1beta1/namespace_pb.ts +113 -212
  197. package/raystack/optimus/core/v1beta1/project-ProjectService_connectquery.d.ts +24 -0
  198. package/raystack/optimus/core/v1beta1/project-ProjectService_connectquery.js +26 -0
  199. package/raystack/optimus/core/v1beta1/project-ProjectService_connectquery.ts +5 -34
  200. package/raystack/optimus/core/v1beta1/project_pb.d.ts +192 -0
  201. package/raystack/optimus/core/v1beta1/project_pb.js +76 -0
  202. package/raystack/optimus/core/v1beta1/project_pb.ts +121 -238
  203. package/raystack/optimus/core/v1beta1/replay-ReplayService_connectquery.d.ts +22 -0
  204. package/raystack/optimus/core/v1beta1/replay-ReplayService_connectquery.js +25 -0
  205. package/raystack/optimus/core/v1beta1/replay-ReplayService_connectquery.ts +6 -44
  206. package/raystack/optimus/core/v1beta1/replay_pb.d.ts +331 -0
  207. package/raystack/optimus/core/v1beta1/replay_pb.js +91 -0
  208. package/raystack/optimus/core/v1beta1/replay_pb.ts +160 -335
  209. package/raystack/optimus/core/v1beta1/resource-ResourceService_connectquery.d.ts +43 -0
  210. package/raystack/optimus/core/v1beta1/resource-ResourceService_connectquery.js +48 -0
  211. package/raystack/optimus/core/v1beta1/resource-ResourceService_connectquery.ts +8 -64
  212. package/raystack/optimus/core/v1beta1/resource_pb.d.ts +507 -0
  213. package/raystack/optimus/core/v1beta1/resource_pb.js +134 -0
  214. package/raystack/optimus/core/v1beta1/resource_pb.ts +266 -527
  215. package/raystack/optimus/core/v1beta1/runtime-RuntimeService_connectquery.d.ts +12 -0
  216. package/raystack/optimus/core/v1beta1/runtime-RuntimeService_connectquery.js +12 -0
  217. package/raystack/optimus/core/v1beta1/runtime-RuntimeService_connectquery.ts +3 -14
  218. package/raystack/optimus/core/v1beta1/runtime_pb.d.ts +62 -0
  219. package/raystack/optimus/core/v1beta1/runtime_pb.js +36 -0
  220. package/raystack/optimus/core/v1beta1/runtime_pb.ts +48 -61
  221. package/raystack/optimus/core/v1beta1/secret-SecretService_connectquery.d.ts +30 -0
  222. package/raystack/optimus/core/v1beta1/secret-SecretService_connectquery.js +33 -0
  223. package/raystack/optimus/core/v1beta1/secret-SecretService_connectquery.ts +6 -44
  224. package/raystack/optimus/core/v1beta1/secret_pb.d.ts +250 -0
  225. package/raystack/optimus/core/v1beta1/secret_pb.js +84 -0
  226. package/raystack/optimus/core/v1beta1/secret_pb.ts +155 -283
  227. package/raystack/optimus/core/v1beta1/status_pb.d.ts +78 -0
  228. package/raystack/optimus/core/v1beta1/status_pb.js +31 -0
  229. package/raystack/optimus/core/v1beta1/status_pb.ts +35 -54
  230. package/raystack/optimus/integration/v1beta1/event_pb.d.ts +239 -0
  231. package/raystack/optimus/integration/v1beta1/event_pb.js +62 -0
  232. package/raystack/optimus/integration/v1beta1/event_pb.ts +75 -187
  233. package/raystack/optimus/plugins/v1beta1/dependency_resolver-DependencyResolverModService_connectquery.d.ts +31 -0
  234. package/raystack/optimus/plugins/v1beta1/dependency_resolver-DependencyResolverModService_connectquery.js +34 -0
  235. package/raystack/optimus/plugins/v1beta1/dependency_resolver-DependencyResolverModService_connectquery.ts +6 -44
  236. package/raystack/optimus/plugins/v1beta1/dependency_resolver_pb.d.ts +353 -0
  237. package/raystack/optimus/plugins/v1beta1/dependency_resolver_pb.js +120 -0
  238. package/raystack/optimus/plugins/v1beta1/dependency_resolver_pb.ts +193 -426
  239. package/raystack/predator/index.d.ts +2 -0
  240. package/raystack/predator/index.js +2 -0
  241. package/raystack/predator/index.ts +2 -2
  242. package/raystack/predator/v1beta1/metrics_log_pb.d.ts +163 -0
  243. package/raystack/predator/v1beta1/metrics_log_pb.js +48 -0
  244. package/raystack/predator/v1beta1/metrics_log_pb.ts +67 -173
  245. package/raystack/predator/v1beta1/result_log_pb.d.ts +143 -0
  246. package/raystack/predator/v1beta1/result_log_pb.js +42 -0
  247. package/raystack/predator/v1beta1/result_log_pb.ts +60 -144
  248. package/raystack/raccoon/index.d.ts +2 -0
  249. package/raystack/raccoon/index.js +2 -0
  250. package/raystack/raccoon/index.ts +1 -2
  251. package/raystack/raccoon/v1beta1/raccoon-EventService_connectquery.d.ts +10 -0
  252. package/raystack/raccoon/v1beta1/raccoon-EventService_connectquery.js +10 -0
  253. package/raystack/raccoon/v1beta1/raccoon-EventService_connectquery.ts +3 -14
  254. package/raystack/raccoon/v1beta1/raccoon_pb.d.ts +268 -0
  255. package/raystack/raccoon/v1beta1/raccoon_pb.js +64 -0
  256. package/raystack/raccoon/v1beta1/raccoon_pb.ts +142 -189
  257. package/raystack/siren/index.d.ts +2 -0
  258. package/raystack/siren/index.js +2 -0
  259. package/raystack/siren/index.ts +1 -2
  260. package/raystack/siren/v1beta1/siren-SirenService_connectquery.d.ts +146 -0
  261. package/raystack/siren/v1beta1/siren-SirenService_connectquery.js +180 -0
  262. package/raystack/siren/v1beta1/siren-SirenService_connectquery.ts +37 -354
  263. package/raystack/siren/v1beta1/siren_pb.d.ts +2281 -0
  264. package/raystack/siren/v1beta1/siren_pb.js +603 -0
  265. package/raystack/siren/v1beta1/siren_pb.ts +1155 -2637
  266. package/raystack/stencil/index.d.ts +2 -0
  267. package/raystack/stencil/index.js +2 -0
  268. package/raystack/stencil/index.ts +1 -2
  269. package/raystack/stencil/v1beta1/stencil-StencilService_connectquery.d.ts +70 -0
  270. package/raystack/stencil/v1beta1/stencil-StencilService_connectquery.js +85 -0
  271. package/raystack/stencil/v1beta1/stencil-StencilService_connectquery.ts +18 -164
  272. package/raystack/stencil/v1beta1/stencil_pb.d.ts +1057 -0
  273. package/raystack/stencil/v1beta1/stencil_pb.js +298 -0
  274. package/raystack/stencil/v1beta1/stencil_pb.ts +530 -1157
  275. package/validate/validate_pb.d.ts +1953 -0
  276. package/validate/validate_pb.js +223 -0
  277. package/validate/validate_pb.ts +401 -1038
  278. package/google/api/field_behavior.ts +0 -95
  279. package/google/api/http.ts +0 -695
  280. package/google/api/httpbody.ts +0 -159
  281. package/google/protobuf/any.ts +0 -322
  282. package/google/protobuf/descriptor.ts +0 -3475
  283. package/google/protobuf/duration.ts +0 -231
  284. package/google/protobuf/struct.ts +0 -484
  285. package/google/protobuf/timestamp.ts +0 -290
  286. package/google/protobuf/wrappers.ts +0 -752
  287. package/protoc-gen-openapiv2/options/openapiv2.ts +0 -3110
  288. package/raystack/assets/v1beta1/bucket.ts +0 -362
  289. package/raystack/assets/v1beta1/dashboard.ts +0 -426
  290. package/raystack/assets/v1beta1/event.ts +0 -105
  291. package/raystack/assets/v1beta1/group.ts +0 -223
  292. package/raystack/assets/v1beta1/job.ts +0 -147
  293. package/raystack/assets/v1beta1/lineage.ts +0 -90
  294. package/raystack/assets/v1beta1/ownership.ts +0 -179
  295. package/raystack/assets/v1beta1/preview.ts +0 -87
  296. package/raystack/assets/v1beta1/properties.ts +0 -116
  297. package/raystack/assets/v1beta1/resource.ts +0 -149
  298. package/raystack/assets/v1beta1/schema.ts +0 -421
  299. package/raystack/assets/v1beta1/table.ts +0 -408
  300. package/raystack/assets/v1beta1/timestamp.ts +0 -158
  301. package/raystack/assets/v1beta1/topic.ts +0 -253
  302. package/raystack/assets/v1beta1/user.ts +0 -451
  303. package/raystack/assets/v1beta2/application.ts +0 -125
  304. package/raystack/assets/v1beta2/asset.ts +0 -269
  305. package/raystack/assets/v1beta2/bucket.ts +0 -341
  306. package/raystack/assets/v1beta2/common.ts +0 -392
  307. package/raystack/assets/v1beta2/dashboard.ts +0 -393
  308. package/raystack/assets/v1beta2/experiment.ts +0 -274
  309. package/raystack/assets/v1beta2/feature_table.ts +0 -387
  310. package/raystack/assets/v1beta2/group.ts +0 -178
  311. package/raystack/assets/v1beta2/job.ts +0 -99
  312. package/raystack/assets/v1beta2/metric.ts +0 -163
  313. package/raystack/assets/v1beta2/model.ts +0 -519
  314. package/raystack/assets/v1beta2/table.ts +0 -663
  315. package/raystack/assets/v1beta2/topic.ts +0 -275
  316. package/raystack/assets/v1beta2/user.ts +0 -433
  317. package/raystack/common/v1/service.client.ts +0 -37
  318. package/raystack/common/v1/service.ts +0 -245
  319. package/raystack/common/v1/service_connect.ts +0 -26
  320. package/raystack/compass/v1beta1/service.client.ts +0 -594
  321. package/raystack/compass/v1beta1/service.ts +0 -8169
  322. package/raystack/compass/v1beta1/service_connect.ts +0 -407
  323. package/raystack/entropy/v1beta1/module.client.ts +0 -89
  324. package/raystack/entropy/v1beta1/module.ts +0 -692
  325. package/raystack/entropy/v1beta1/module_connect.ts +0 -62
  326. package/raystack/entropy/v1beta1/resource.client.ts +0 -129
  327. package/raystack/entropy/v1beta1/resource.ts +0 -1817
  328. package/raystack/entropy/v1beta1/resource_connect.ts +0 -89
  329. package/raystack/frontier/v1beta1/admin.client.ts +0 -849
  330. package/raystack/frontier/v1beta1/admin.ts +0 -9007
  331. package/raystack/frontier/v1beta1/admin_connect.ts +0 -573
  332. package/raystack/frontier/v1beta1/frontier.client.ts +0 -2307
  333. package/raystack/frontier/v1beta1/frontier.ts +0 -23706
  334. package/raystack/frontier/v1beta1/frontier_connect.ts +0 -1574
  335. package/raystack/frontier/v1beta1/models.ts +0 -7433
  336. package/raystack/guardian/v1beta1/guardian.client.ts +0 -552
  337. package/raystack/guardian/v1beta1/guardian.ts +0 -9688
  338. package/raystack/guardian/v1beta1/guardian_connect.ts +0 -381
  339. package/raystack/optimus/core/v1beta1/backup.client.ts +0 -63
  340. package/raystack/optimus/core/v1beta1/backup.ts +0 -708
  341. package/raystack/optimus/core/v1beta1/backup_connect.ts +0 -44
  342. package/raystack/optimus/core/v1beta1/job_run.client.ts +0 -96
  343. package/raystack/optimus/core/v1beta1/job_run.ts +0 -1008
  344. package/raystack/optimus/core/v1beta1/job_run_connect.ts +0 -63
  345. package/raystack/optimus/core/v1beta1/job_spec.client.ts +0 -363
  346. package/raystack/optimus/core/v1beta1/job_spec.ts +0 -5134
  347. package/raystack/optimus/core/v1beta1/job_spec_connect.ts +0 -233
  348. package/raystack/optimus/core/v1beta1/namespace.client.ts +0 -75
  349. package/raystack/optimus/core/v1beta1/namespace.ts +0 -477
  350. package/raystack/optimus/core/v1beta1/namespace_connect.ts +0 -50
  351. package/raystack/optimus/core/v1beta1/project.client.ts +0 -75
  352. package/raystack/optimus/core/v1beta1/project.ts +0 -520
  353. package/raystack/optimus/core/v1beta1/project_connect.ts +0 -50
  354. package/raystack/optimus/core/v1beta1/replay.client.ts +0 -76
  355. package/raystack/optimus/core/v1beta1/replay.ts +0 -881
  356. package/raystack/optimus/core/v1beta1/replay_connect.ts +0 -53
  357. package/raystack/optimus/core/v1beta1/resource.client.ts +0 -148
  358. package/raystack/optimus/core/v1beta1/resource.ts +0 -1329
  359. package/raystack/optimus/core/v1beta1/resource_connect.ts +0 -96
  360. package/raystack/optimus/core/v1beta1/runtime.client.ts +0 -45
  361. package/raystack/optimus/core/v1beta1/runtime.ts +0 -131
  362. package/raystack/optimus/core/v1beta1/runtime_connect.ts +0 -30
  363. package/raystack/optimus/core/v1beta1/secret.client.ts +0 -92
  364. package/raystack/optimus/core/v1beta1/secret.ts +0 -619
  365. package/raystack/optimus/core/v1beta1/secret_connect.ts +0 -61
  366. package/raystack/optimus/core/v1beta1/status.ts +0 -113
  367. package/raystack/optimus/integration/v1beta1/event.ts +0 -531
  368. package/raystack/optimus/plugins/v1beta1/dependency_resolver.client.ts +0 -100
  369. package/raystack/optimus/plugins/v1beta1/dependency_resolver.ts +0 -950
  370. package/raystack/optimus/plugins/v1beta1/dependency_resolver_connect.ts +0 -65
  371. package/raystack/predator/v1beta1/metrics_log.ts +0 -457
  372. package/raystack/predator/v1beta1/result_log.ts +0 -390
  373. package/raystack/raccoon/v1beta1/raccoon.client.ts +0 -37
  374. package/raystack/raccoon/v1beta1/raccoon.ts +0 -442
  375. package/raystack/raccoon/v1beta1/raccoon_connect.ts +0 -26
  376. package/raystack/siren/v1beta1/siren.client.ts +0 -479
  377. package/raystack/siren/v1beta1/siren.ts +0 -6507
  378. package/raystack/siren/v1beta1/siren_connect.ts +0 -332
  379. package/raystack/stencil/v1beta1/stencil.client.ts +0 -232
  380. package/raystack/stencil/v1beta1/stencil.ts +0 -2716
  381. package/raystack/stencil/v1beta1/stencil_connect.ts +0 -161
  382. package/validate/validate.ts +0 -4130
@@ -1,41 +1,52 @@
1
- // @generated by protoc-gen-es v1.10.1 with parameter "target=ts,import_extension=none"
1
+ // @generated by protoc-gen-es v2.6.2 with parameter "target=ts+js+dts,import_extension=none"
2
2
  // @generated from file raystack/frontier/v1beta1/models.proto (package raystack.frontier.v1beta1, syntax proto3)
3
3
  /* eslint-disable */
4
- // @ts-nocheck
5
4
 
6
- import type { BinaryReadOptions, FieldList, JsonReadOptions, JsonValue, PartialMessage, PlainMessage } from "@bufbuild/protobuf";
7
- import { Message, proto3, protoInt64, Struct, Timestamp } from "@bufbuild/protobuf";
5
+ import type { GenEnum, GenFile, GenMessage } from "@bufbuild/protobuf/codegenv2";
6
+ import { enumDesc, fileDesc, messageDesc } from "@bufbuild/protobuf/codegenv2";
7
+ import { file_google_api_field_behavior } from "../../../google/api/field_behavior_pb";
8
+ import type { Timestamp } from "@bufbuild/protobuf/wkt";
9
+ import { file_google_protobuf_struct, file_google_protobuf_timestamp } from "@bufbuild/protobuf/wkt";
10
+ import { file_protoc_gen_openapiv2_options_annotations } from "../../../protoc-gen-openapiv2/options/annotations_pb";
11
+ import { file_validate_validate } from "../../../validate/validate_pb";
12
+ import type { JsonObject, Message } from "@bufbuild/protobuf";
13
+
14
+ /**
15
+ * Describes the file raystack/frontier/v1beta1/models.proto.
16
+ */
17
+ export const file_raystack_frontier_v1beta1_models: GenFile = /*@__PURE__*/
18
+ fileDesc("CiZyYXlzdGFjay9mcm9udGllci92MWJldGExL21vZGVscy5wcm90bxIZcmF5c3RhY2suZnJvbnRpZXIudjFiZXRhMSLGBQoEVXNlchIKCgJpZBgBIAEoCRJdCgRuYW1lGAIgASgJQk+SQSUyGFVuaXF1ZSBuYW1lIG9mIHRoZSB1c2VyLkoJImpvaG5kb2Ui+kIkciIyIF4oW2EtekEtWl1bYS16QS1aMC05LV9dezMsNjR9KT8kEjEKBXRpdGxlGAMgASgJQiKSQR8yEU5hbWUgb2YgdGhlIHVzZXIuSgoiSm9obiBEb2UiEhYKBWVtYWlsGAQgASgJQgf6QgRyAmABEikKCG1ldGFkYXRhGAUgASgLMhcuZ29vZ2xlLnByb3RvYnVmLlN0cnVjdBJvCgpjcmVhdGVkX2F0GAYgASgLMhouZ29vZ2xlLnByb3RvYnVmLlRpbWVzdGFtcEI/kkE8Mh5UaGUgdGltZSB0aGUgdXNlciB3YXMgY3JlYXRlZC5KGiIyMDIzLTA2LTA3VDA1OjM5OjU2Ljk2MVoiEnQKCnVwZGF0ZWRfYXQYByABKAsyGi5nb29nbGUucHJvdG9idWYuVGltZXN0YW1wQkSSQUEyI1RoZSB0aW1lIHRoZSB1c2VyIHdhcyBsYXN0IHVwZGF0ZWQuShoiMjAyMy0wNi0wN1QwNTozOTo1Ni45NjFaIhJLCgVzdGF0ZRgIIAEoCUI8kkE5MixUaGUgc3RhdGUgb2YgdGhlIHVzZXIgKGVuYWJsZWQgb3IgZGlzYWJsZWQpLkoJImVuYWJsZWQiEqgBCgZhdmF0YXIYCSABKAlClwGSQU4yTFRoZSBiYXNlNjQgZW5jb2RlZCBpbWFnZSBzdHJpbmcgb2YgdGhlIHVzZXIgYXZhdGFyLiBTa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ZXRhMTtmcm9udGllcnYxYmV0YTFiBnByb3RvMw", [file_google_api_field_behavior, file_google_protobuf_struct, file_google_protobuf_timestamp, file_protoc_gen_openapiv2_options_annotations, file_validate_validate]);
8
19
 
9
20
  /**
10
21
  * @generated from message raystack.frontier.v1beta1.User
11
22
  */
12
- export class User extends Message<User> {
23
+ export type User = Message<"raystack.frontier.v1beta1.User"> & {
13
24
  /**
14
25
  * @generated from field: string id = 1;
15
26
  */
16
- id = "";
27
+ id: string;
17
28
 
18
29
  /**
19
30
  * can either be empty or must start with a character
20
31
  *
21
32
  * @generated from field: string name = 2;
22
33
  */
23
- name = "";
34
+ name: string;
24
35
 
25
36
  /**
26
37
  * @generated from field: string title = 3;
27
38
  */
28
- title = "";
39
+ title: string;
29
40
 
30
41
  /**
31
42
  * @generated from field: string email = 4;
32
43
  */
33
- email = "";
44
+ email: string;
34
45
 
35
46
  /**
36
47
  * @generated from field: google.protobuf.Struct metadata = 5;
37
48
  */
38
- metadata?: Struct;
49
+ metadata?: JsonObject;
39
50
 
40
51
  /**
41
52
  * @generated from field: google.protobuf.Timestamp created_at = 6;
@@ -50,67 +61,39 @@ export class User extends Message<User> {
50
61
  /**
51
62
  * @generated from field: string state = 8;
52
63
  */
53
- state = "";
64
+ state: string;
54
65
 
55
66
  /**
56
67
  * @generated from field: string avatar = 9;
57
68
  */
58
- avatar = "";
59
-
60
- constructor(data?: PartialMessage<User>) {
61
- super();
62
- proto3.util.initPartial(data, this);
63
- }
64
-
65
- static readonly runtime: typeof proto3 = proto3;
66
- static readonly typeName = "raystack.frontier.v1beta1.User";
67
- static readonly fields: FieldList = proto3.util.newFieldList(() => [
68
- { no: 1, name: "id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
69
- { no: 2, name: "name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
70
- { no: 3, name: "title", kind: "scalar", T: 9 /* ScalarType.STRING */ },
71
- { no: 4, name: "email", kind: "scalar", T: 9 /* ScalarType.STRING */ },
72
- { no: 5, name: "metadata", kind: "message", T: Struct },
73
- { no: 6, name: "created_at", kind: "message", T: Timestamp },
74
- { no: 7, name: "updated_at", kind: "message", T: Timestamp },
75
- { no: 8, name: "state", kind: "scalar", T: 9 /* ScalarType.STRING */ },
76
- { no: 9, name: "avatar", kind: "scalar", T: 9 /* ScalarType.STRING */ },
77
- ]);
78
-
79
- static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): User {
80
- return new User().fromBinary(bytes, options);
81
- }
82
-
83
- static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): User {
84
- return new User().fromJson(jsonValue, options);
85
- }
86
-
87
- static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): User {
88
- return new User().fromJsonString(jsonString, options);
89
- }
90
-
91
- static equals(a: User | PlainMessage<User> | undefined, b: User | PlainMessage<User> | undefined): boolean {
92
- return proto3.util.equals(User, a, b);
93
- }
94
- }
69
+ avatar: string;
70
+ };
71
+
72
+ /**
73
+ * Describes the message raystack.frontier.v1beta1.User.
74
+ * Use `create(UserSchema)` to create a new message.
75
+ */
76
+ export const UserSchema: GenMessage<User> = /*@__PURE__*/
77
+ messageDesc(file_raystack_frontier_v1beta1_models, 0);
95
78
 
96
79
  /**
97
80
  * @generated from message raystack.frontier.v1beta1.ServiceUser
98
81
  */
99
- export class ServiceUser extends Message<ServiceUser> {
82
+ export type ServiceUser = Message<"raystack.frontier.v1beta1.ServiceUser"> & {
100
83
  /**
101
84
  * @generated from field: string id = 1;
102
85
  */
103
- id = "";
86
+ id: string;
104
87
 
105
88
  /**
106
89
  * @generated from field: string title = 3;
107
90
  */
108
- title = "";
91
+ title: string;
109
92
 
110
93
  /**
111
94
  * @generated from field: google.protobuf.Struct metadata = 4;
112
95
  */
113
- metadata?: Struct;
96
+ metadata?: JsonObject;
114
97
 
115
98
  /**
116
99
  * @generated from field: google.protobuf.Timestamp created_at = 5;
@@ -125,75 +108,49 @@ export class ServiceUser extends Message<ServiceUser> {
125
108
  /**
126
109
  * @generated from field: string state = 7;
127
110
  */
128
- state = "";
111
+ state: string;
129
112
 
130
113
  /**
131
114
  * @generated from field: string org_id = 8;
132
115
  */
133
- orgId = "";
134
-
135
- constructor(data?: PartialMessage<ServiceUser>) {
136
- super();
137
- proto3.util.initPartial(data, this);
138
- }
139
-
140
- static readonly runtime: typeof proto3 = proto3;
141
- static readonly typeName = "raystack.frontier.v1beta1.ServiceUser";
142
- static readonly fields: FieldList = proto3.util.newFieldList(() => [
143
- { no: 1, name: "id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
144
- { no: 3, name: "title", kind: "scalar", T: 9 /* ScalarType.STRING */ },
145
- { no: 4, name: "metadata", kind: "message", T: Struct },
146
- { no: 5, name: "created_at", kind: "message", T: Timestamp },
147
- { no: 6, name: "updated_at", kind: "message", T: Timestamp },
148
- { no: 7, name: "state", kind: "scalar", T: 9 /* ScalarType.STRING */ },
149
- { no: 8, name: "org_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
150
- ]);
151
-
152
- static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): ServiceUser {
153
- return new ServiceUser().fromBinary(bytes, options);
154
- }
155
-
156
- static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): ServiceUser {
157
- return new ServiceUser().fromJson(jsonValue, options);
158
- }
159
-
160
- static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): ServiceUser {
161
- return new ServiceUser().fromJsonString(jsonString, options);
162
- }
163
-
164
- static equals(a: ServiceUser | PlainMessage<ServiceUser> | undefined, b: ServiceUser | PlainMessage<ServiceUser> | undefined): boolean {
165
- return proto3.util.equals(ServiceUser, a, b);
166
- }
167
- }
116
+ orgId: string;
117
+ };
118
+
119
+ /**
120
+ * Describes the message raystack.frontier.v1beta1.ServiceUser.
121
+ * Use `create(ServiceUserSchema)` to create a new message.
122
+ */
123
+ export const ServiceUserSchema: GenMessage<ServiceUser> = /*@__PURE__*/
124
+ messageDesc(file_raystack_frontier_v1beta1_models, 1);
168
125
 
169
126
  /**
170
127
  * @generated from message raystack.frontier.v1beta1.Group
171
128
  */
172
- export class Group extends Message<Group> {
129
+ export type Group = Message<"raystack.frontier.v1beta1.Group"> & {
173
130
  /**
174
131
  * @generated from field: string id = 1;
175
132
  */
176
- id = "";
133
+ id: string;
177
134
 
178
135
  /**
179
136
  * @generated from field: string name = 2;
180
137
  */
181
- name = "";
138
+ name: string;
182
139
 
183
140
  /**
184
141
  * @generated from field: string title = 3;
185
142
  */
186
- title = "";
143
+ title: string;
187
144
 
188
145
  /**
189
146
  * @generated from field: string org_id = 4;
190
147
  */
191
- orgId = "";
148
+ orgId: string;
192
149
 
193
150
  /**
194
151
  * @generated from field: google.protobuf.Struct metadata = 5;
195
152
  */
196
- metadata?: Struct;
153
+ metadata?: JsonObject;
197
154
 
198
155
  /**
199
156
  * @generated from field: google.protobuf.Timestamp created_at = 6;
@@ -208,77 +165,49 @@ export class Group extends Message<Group> {
208
165
  /**
209
166
  * @generated from field: repeated raystack.frontier.v1beta1.User users = 10;
210
167
  */
211
- users: User[] = [];
168
+ users: User[];
212
169
 
213
170
  /**
214
171
  * @generated from field: int32 members_count = 8;
215
172
  */
216
- membersCount = 0;
217
-
218
- constructor(data?: PartialMessage<Group>) {
219
- super();
220
- proto3.util.initPartial(data, this);
221
- }
222
-
223
- static readonly runtime: typeof proto3 = proto3;
224
- static readonly typeName = "raystack.frontier.v1beta1.Group";
225
- static readonly fields: FieldList = proto3.util.newFieldList(() => [
226
- { no: 1, name: "id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
227
- { no: 2, name: "name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
228
- { no: 3, name: "title", kind: "scalar", T: 9 /* ScalarType.STRING */ },
229
- { no: 4, name: "org_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
230
- { no: 5, name: "metadata", kind: "message", T: Struct },
231
- { no: 6, name: "created_at", kind: "message", T: Timestamp },
232
- { no: 7, name: "updated_at", kind: "message", T: Timestamp },
233
- { no: 10, name: "users", kind: "message", T: User, repeated: true },
234
- { no: 8, name: "members_count", kind: "scalar", T: 5 /* ScalarType.INT32 */ },
235
- ]);
236
-
237
- static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): Group {
238
- return new Group().fromBinary(bytes, options);
239
- }
240
-
241
- static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): Group {
242
- return new Group().fromJson(jsonValue, options);
243
- }
244
-
245
- static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): Group {
246
- return new Group().fromJsonString(jsonString, options);
247
- }
248
-
249
- static equals(a: Group | PlainMessage<Group> | undefined, b: Group | PlainMessage<Group> | undefined): boolean {
250
- return proto3.util.equals(Group, a, b);
251
- }
252
- }
173
+ membersCount: number;
174
+ };
175
+
176
+ /**
177
+ * Describes the message raystack.frontier.v1beta1.Group.
178
+ * Use `create(GroupSchema)` to create a new message.
179
+ */
180
+ export const GroupSchema: GenMessage<Group> = /*@__PURE__*/
181
+ messageDesc(file_raystack_frontier_v1beta1_models, 2);
253
182
 
254
183
  /**
255
184
  * @generated from message raystack.frontier.v1beta1.Role
256
185
  */
257
- export class Role extends Message<Role> {
186
+ export type Role = Message<"raystack.frontier.v1beta1.Role"> & {
258
187
  /**
259
188
  * @generated from field: string id = 1;
260
189
  */
261
- id = "";
190
+ id: string;
262
191
 
263
192
  /**
264
193
  * @generated from field: string name = 2;
265
194
  */
266
- name = "";
195
+ name: string;
267
196
 
268
197
  /**
269
198
  * @generated from field: repeated string permissions = 3;
270
199
  */
271
- permissions: string[] = [];
200
+ permissions: string[];
272
201
 
273
202
  /**
274
203
  * @generated from field: string title = 4;
275
204
  */
276
- title = "";
205
+ title: string;
277
206
 
278
207
  /**
279
208
  * @generated from field: google.protobuf.Struct metadata = 5;
280
209
  */
281
- metadata?: Struct;
210
+ metadata?: JsonObject;
282
211
 
283
212
  /**
284
213
  * @generated from field: google.protobuf.Timestamp created_at = 6;
@@ -293,78 +222,49 @@ export class Role extends Message<Role> {
293
222
  /**
294
223
  * @generated from field: string org_id = 9;
295
224
  */
296
- orgId = "";
225
+ orgId: string;
297
226
 
298
227
  /**
299
228
  * @generated from field: string state = 10;
300
229
  */
301
- state = "";
230
+ state: string;
302
231
 
303
232
  /**
304
233
  * @generated from field: repeated string scopes = 11;
305
234
  */
306
- scopes: string[] = [];
307
-
308
- constructor(data?: PartialMessage<Role>) {
309
- super();
310
- proto3.util.initPartial(data, this);
311
- }
312
-
313
- static readonly runtime: typeof proto3 = proto3;
314
- static readonly typeName = "raystack.frontier.v1beta1.Role";
315
- static readonly fields: FieldList = proto3.util.newFieldList(() => [
316
- { no: 1, name: "id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
317
- { no: 2, name: "name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
318
- { no: 3, name: "permissions", kind: "scalar", T: 9 /* ScalarType.STRING */, repeated: true },
319
- { no: 4, name: "title", kind: "scalar", T: 9 /* ScalarType.STRING */ },
320
- { no: 5, name: "metadata", kind: "message", T: Struct },
321
- { no: 6, name: "created_at", kind: "message", T: Timestamp },
322
- { no: 7, name: "updated_at", kind: "message", T: Timestamp },
323
- { no: 9, name: "org_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
324
- { no: 10, name: "state", kind: "scalar", T: 9 /* ScalarType.STRING */ },
325
- { no: 11, name: "scopes", kind: "scalar", T: 9 /* ScalarType.STRING */, repeated: true },
326
- ]);
327
-
328
- static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): Role {
329
- return new Role().fromBinary(bytes, options);
330
- }
331
-
332
- static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): Role {
333
- return new Role().fromJson(jsonValue, options);
334
- }
335
-
336
- static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): Role {
337
- return new Role().fromJsonString(jsonString, options);
338
- }
339
-
340
- static equals(a: Role | PlainMessage<Role> | undefined, b: Role | PlainMessage<Role> | undefined): boolean {
341
- return proto3.util.equals(Role, a, b);
342
- }
343
- }
235
+ scopes: string[];
236
+ };
237
+
238
+ /**
239
+ * Describes the message raystack.frontier.v1beta1.Role.
240
+ * Use `create(RoleSchema)` to create a new message.
241
+ */
242
+ export const RoleSchema: GenMessage<Role> = /*@__PURE__*/
243
+ messageDesc(file_raystack_frontier_v1beta1_models, 3);
344
244
 
345
245
  /**
346
246
  * @generated from message raystack.frontier.v1beta1.Organization
347
247
  */
348
- export class Organization extends Message<Organization> {
248
+ export type Organization = Message<"raystack.frontier.v1beta1.Organization"> & {
349
249
  /**
350
250
  * @generated from field: string id = 1;
351
251
  */
352
- id = "";
252
+ id: string;
353
253
 
354
254
  /**
355
255
  * @generated from field: string name = 2;
356
256
  */
357
- name = "";
257
+ name: string;
358
258
 
359
259
  /**
360
260
  * @generated from field: string title = 3;
361
261
  */
362
- title = "";
262
+ title: string;
363
263
 
364
264
  /**
365
265
  * @generated from field: google.protobuf.Struct metadata = 4;
366
266
  */
367
- metadata?: Struct;
267
+ metadata?: JsonObject;
368
268
 
369
269
  /**
370
270
  * @generated from field: google.protobuf.Timestamp created_at = 5;
@@ -379,66 +279,39 @@ export class Organization extends Message<Organization> {
379
279
  /**
380
280
  * @generated from field: string state = 7;
381
281
  */
382
- state = "";
282
+ state: string;
383
283
 
384
284
  /**
385
285
  * @generated from field: string avatar = 8;
386
286
  */
387
- avatar = "";
388
-
389
- constructor(data?: PartialMessage<Organization>) {
390
- super();
391
- proto3.util.initPartial(data, this);
392
- }
393
-
394
- static readonly runtime: typeof proto3 = proto3;
395
- static readonly typeName = "raystack.frontier.v1beta1.Organization";
396
- static readonly fields: FieldList = proto3.util.newFieldList(() => [
397
- { no: 1, name: "id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
398
- { no: 2, name: "name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
399
- { no: 3, name: "title", kind: "scalar", T: 9 /* ScalarType.STRING */ },
400
- { no: 4, name: "metadata", kind: "message", T: Struct },
401
- { no: 5, name: "created_at", kind: "message", T: Timestamp },
402
- { no: 6, name: "updated_at", kind: "message", T: Timestamp },
403
- { no: 7, name: "state", kind: "scalar", T: 9 /* ScalarType.STRING */ },
404
- { no: 8, name: "avatar", kind: "scalar", T: 9 /* ScalarType.STRING */ },
405
- ]);
406
-
407
- static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): Organization {
408
- return new Organization().fromBinary(bytes, options);
409
- }
410
-
411
- static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): Organization {
412
- return new Organization().fromJson(jsonValue, options);
413
- }
414
-
415
- static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): Organization {
416
- return new Organization().fromJsonString(jsonString, options);
417
- }
418
-
419
- static equals(a: Organization | PlainMessage<Organization> | undefined, b: Organization | PlainMessage<Organization> | undefined): boolean {
420
- return proto3.util.equals(Organization, a, b);
421
- }
422
- }
287
+ avatar: string;
288
+ };
289
+
290
+ /**
291
+ * Describes the message raystack.frontier.v1beta1.Organization.
292
+ * Use `create(OrganizationSchema)` to create a new message.
293
+ */
294
+ export const OrganizationSchema: GenMessage<Organization> = /*@__PURE__*/
295
+ messageDesc(file_raystack_frontier_v1beta1_models, 4);
423
296
 
424
297
  /**
425
298
  * @generated from message raystack.frontier.v1beta1.OrganizationKyc
426
299
  */
427
- export class OrganizationKyc extends Message<OrganizationKyc> {
300
+ export type OrganizationKyc = Message<"raystack.frontier.v1beta1.OrganizationKyc"> & {
428
301
  /**
429
302
  * @generated from field: string org_id = 1;
430
303
  */
431
- orgId = "";
304
+ orgId: string;
432
305
 
433
306
  /**
434
307
  * @generated from field: bool status = 2;
435
308
  */
436
- status = false;
309
+ status: boolean;
437
310
 
438
311
  /**
439
312
  * @generated from field: string link = 3;
440
313
  */
441
- link = "";
314
+ link: string;
442
315
 
443
316
  /**
444
317
  * @generated from field: google.protobuf.Timestamp created_at = 5;
@@ -449,67 +322,43 @@ export class OrganizationKyc extends Message<OrganizationKyc> {
449
322
  * @generated from field: google.protobuf.Timestamp updated_at = 6;
450
323
  */
451
324
  updatedAt?: Timestamp;
325
+ };
452
326
 
453
- constructor(data?: PartialMessage<OrganizationKyc>) {
454
- super();
455
- proto3.util.initPartial(data, this);
456
- }
457
-
458
- static readonly runtime: typeof proto3 = proto3;
459
- static readonly typeName = "raystack.frontier.v1beta1.OrganizationKyc";
460
- static readonly fields: FieldList = proto3.util.newFieldList(() => [
461
- { no: 1, name: "org_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
462
- { no: 2, name: "status", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
463
- { no: 3, name: "link", kind: "scalar", T: 9 /* ScalarType.STRING */ },
464
- { no: 5, name: "created_at", kind: "message", T: Timestamp },
465
- { no: 6, name: "updated_at", kind: "message", T: Timestamp },
466
- ]);
467
-
468
- static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): OrganizationKyc {
469
- return new OrganizationKyc().fromBinary(bytes, options);
470
- }
471
-
472
- static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): OrganizationKyc {
473
- return new OrganizationKyc().fromJson(jsonValue, options);
474
- }
475
-
476
- static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): OrganizationKyc {
477
- return new OrganizationKyc().fromJsonString(jsonString, options);
478
- }
479
-
480
- static equals(a: OrganizationKyc | PlainMessage<OrganizationKyc> | undefined, b: OrganizationKyc | PlainMessage<OrganizationKyc> | undefined): boolean {
481
- return proto3.util.equals(OrganizationKyc, a, b);
482
- }
483
- }
327
+ /**
328
+ * Describes the message raystack.frontier.v1beta1.OrganizationKyc.
329
+ * Use `create(OrganizationKycSchema)` to create a new message.
330
+ */
331
+ export const OrganizationKycSchema: GenMessage<OrganizationKyc> = /*@__PURE__*/
332
+ messageDesc(file_raystack_frontier_v1beta1_models, 5);
484
333
 
485
334
  /**
486
335
  * @generated from message raystack.frontier.v1beta1.Project
487
336
  */
488
- export class Project extends Message<Project> {
337
+ export type Project = Message<"raystack.frontier.v1beta1.Project"> & {
489
338
  /**
490
339
  * @generated from field: string id = 1;
491
340
  */
492
- id = "";
341
+ id: string;
493
342
 
494
343
  /**
495
344
  * @generated from field: string name = 2;
496
345
  */
497
- name = "";
346
+ name: string;
498
347
 
499
348
  /**
500
349
  * @generated from field: string title = 3;
501
350
  */
502
- title = "";
351
+ title: string;
503
352
 
504
353
  /**
505
354
  * @generated from field: string org_id = 4;
506
355
  */
507
- orgId = "";
356
+ orgId: string;
508
357
 
509
358
  /**
510
359
  * @generated from field: google.protobuf.Struct metadata = 5;
511
360
  */
512
- metadata?: Struct;
361
+ metadata?: JsonObject;
513
362
 
514
363
  /**
515
364
  * @generated from field: google.protobuf.Timestamp created_at = 6;
@@ -524,71 +373,44 @@ export class Project extends Message<Project> {
524
373
  /**
525
374
  * @generated from field: int32 members_count = 8;
526
375
  */
527
- membersCount = 0;
528
-
529
- constructor(data?: PartialMessage<Project>) {
530
- super();
531
- proto3.util.initPartial(data, this);
532
- }
533
-
534
- static readonly runtime: typeof proto3 = proto3;
535
- static readonly typeName = "raystack.frontier.v1beta1.Project";
536
- static readonly fields: FieldList = proto3.util.newFieldList(() => [
537
- { no: 1, name: "id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
538
- { no: 2, name: "name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
539
- { no: 3, name: "title", kind: "scalar", T: 9 /* ScalarType.STRING */ },
540
- { no: 4, name: "org_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
541
- { no: 5, name: "metadata", kind: "message", T: Struct },
542
- { no: 6, name: "created_at", kind: "message", T: Timestamp },
543
- { no: 7, name: "updated_at", kind: "message", T: Timestamp },
544
- { no: 8, name: "members_count", kind: "scalar", T: 5 /* ScalarType.INT32 */ },
545
- ]);
546
-
547
- static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): Project {
548
- return new Project().fromBinary(bytes, options);
549
- }
550
-
551
- static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): Project {
552
- return new Project().fromJson(jsonValue, options);
553
- }
554
-
555
- static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): Project {
556
- return new Project().fromJsonString(jsonString, options);
557
- }
558
-
559
- static equals(a: Project | PlainMessage<Project> | undefined, b: Project | PlainMessage<Project> | undefined): boolean {
560
- return proto3.util.equals(Project, a, b);
561
- }
562
- }
376
+ membersCount: number;
377
+ };
378
+
379
+ /**
380
+ * Describes the message raystack.frontier.v1beta1.Project.
381
+ * Use `create(ProjectSchema)` to create a new message.
382
+ */
383
+ export const ProjectSchema: GenMessage<Project> = /*@__PURE__*/
384
+ messageDesc(file_raystack_frontier_v1beta1_models, 6);
563
385
 
564
386
  /**
565
387
  * @generated from message raystack.frontier.v1beta1.Domain
566
388
  */
567
- export class Domain extends Message<Domain> {
389
+ export type Domain = Message<"raystack.frontier.v1beta1.Domain"> & {
568
390
  /**
569
391
  * @generated from field: string id = 1;
570
392
  */
571
- id = "";
393
+ id: string;
572
394
 
573
395
  /**
574
396
  * @generated from field: string name = 2;
575
397
  */
576
- name = "";
398
+ name: string;
577
399
 
578
400
  /**
579
401
  * @generated from field: string org_id = 3;
580
402
  */
581
- orgId = "";
403
+ orgId: string;
582
404
 
583
405
  /**
584
406
  * @generated from field: string token = 4;
585
407
  */
586
- token = "";
408
+ token: string;
587
409
 
588
410
  /**
589
411
  * @generated from field: string state = 5;
590
412
  */
591
- state = "";
413
+ state: string;
592
414
 
593
415
  /**
594
416
  * @generated from field: google.protobuf.Timestamp created_at = 6;
@@ -599,54 +421,28 @@ export class Domain extends Message<Domain> {
599
421
  * @generated from field: google.protobuf.Timestamp updated_at = 7;
600
422
  */
601
423
  updatedAt?: Timestamp;
424
+ };
602
425
 
603
- constructor(data?: PartialMessage<Domain>) {
604
- super();
605
- proto3.util.initPartial(data, this);
606
- }
607
-
608
- static readonly runtime: typeof proto3 = proto3;
609
- static readonly typeName = "raystack.frontier.v1beta1.Domain";
610
- static readonly fields: FieldList = proto3.util.newFieldList(() => [
611
- { no: 1, name: "id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
612
- { no: 2, name: "name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
613
- { no: 3, name: "org_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
614
- { no: 4, name: "token", kind: "scalar", T: 9 /* ScalarType.STRING */ },
615
- { no: 5, name: "state", kind: "scalar", T: 9 /* ScalarType.STRING */ },
616
- { no: 6, name: "created_at", kind: "message", T: Timestamp },
617
- { no: 7, name: "updated_at", kind: "message", T: Timestamp },
618
- ]);
619
-
620
- static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): Domain {
621
- return new Domain().fromBinary(bytes, options);
622
- }
623
-
624
- static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): Domain {
625
- return new Domain().fromJson(jsonValue, options);
626
- }
627
-
628
- static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): Domain {
629
- return new Domain().fromJsonString(jsonString, options);
630
- }
631
-
632
- static equals(a: Domain | PlainMessage<Domain> | undefined, b: Domain | PlainMessage<Domain> | undefined): boolean {
633
- return proto3.util.equals(Domain, a, b);
634
- }
635
- }
426
+ /**
427
+ * Describes the message raystack.frontier.v1beta1.Domain.
428
+ * Use `create(DomainSchema)` to create a new message.
429
+ */
430
+ export const DomainSchema: GenMessage<Domain> = /*@__PURE__*/
431
+ messageDesc(file_raystack_frontier_v1beta1_models, 7);
636
432
 
637
433
  /**
638
434
  * @generated from message raystack.frontier.v1beta1.Policy
639
435
  */
640
- export class Policy extends Message<Policy> {
436
+ export type Policy = Message<"raystack.frontier.v1beta1.Policy"> & {
641
437
  /**
642
438
  * @generated from field: string id = 1;
643
439
  */
644
- id = "";
440
+ id: string;
645
441
 
646
442
  /**
647
443
  * @generated from field: string title = 2;
648
444
  */
649
- title = "";
445
+ title: string;
650
446
 
651
447
  /**
652
448
  * @generated from field: google.protobuf.Timestamp created_at = 5;
@@ -661,70 +457,43 @@ export class Policy extends Message<Policy> {
661
457
  /**
662
458
  * @generated from field: string role_id = 8;
663
459
  */
664
- roleId = "";
460
+ roleId: string;
665
461
 
666
462
  /**
667
463
  * namespace:uuid
668
464
  *
669
465
  * @generated from field: string resource = 10;
670
466
  */
671
- resource = "";
467
+ resource: string;
672
468
 
673
469
  /**
674
470
  * namespace:uuid
675
471
  *
676
472
  * @generated from field: string principal = 11;
677
473
  */
678
- principal = "";
474
+ principal: string;
679
475
 
680
476
  /**
681
477
  * @generated from field: google.protobuf.Struct metadata = 12;
682
478
  */
683
- metadata?: Struct;
684
-
685
- constructor(data?: PartialMessage<Policy>) {
686
- super();
687
- proto3.util.initPartial(data, this);
688
- }
689
-
690
- static readonly runtime: typeof proto3 = proto3;
691
- static readonly typeName = "raystack.frontier.v1beta1.Policy";
692
- static readonly fields: FieldList = proto3.util.newFieldList(() => [
693
- { no: 1, name: "id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
694
- { no: 2, name: "title", kind: "scalar", T: 9 /* ScalarType.STRING */ },
695
- { no: 5, name: "created_at", kind: "message", T: Timestamp },
696
- { no: 6, name: "updated_at", kind: "message", T: Timestamp },
697
- { no: 8, name: "role_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
698
- { no: 10, name: "resource", kind: "scalar", T: 9 /* ScalarType.STRING */ },
699
- { no: 11, name: "principal", kind: "scalar", T: 9 /* ScalarType.STRING */ },
700
- { no: 12, name: "metadata", kind: "message", T: Struct },
701
- ]);
702
-
703
- static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): Policy {
704
- return new Policy().fromBinary(bytes, options);
705
- }
706
-
707
- static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): Policy {
708
- return new Policy().fromJson(jsonValue, options);
709
- }
710
-
711
- static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): Policy {
712
- return new Policy().fromJsonString(jsonString, options);
713
- }
714
-
715
- static equals(a: Policy | PlainMessage<Policy> | undefined, b: Policy | PlainMessage<Policy> | undefined): boolean {
716
- return proto3.util.equals(Policy, a, b);
717
- }
718
- }
479
+ metadata?: JsonObject;
480
+ };
481
+
482
+ /**
483
+ * Describes the message raystack.frontier.v1beta1.Policy.
484
+ * Use `create(PolicySchema)` to create a new message.
485
+ */
486
+ export const PolicySchema: GenMessage<Policy> = /*@__PURE__*/
487
+ messageDesc(file_raystack_frontier_v1beta1_models, 8);
719
488
 
720
489
  /**
721
490
  * @generated from message raystack.frontier.v1beta1.Relation
722
491
  */
723
- export class Relation extends Message<Relation> {
492
+ export type Relation = Message<"raystack.frontier.v1beta1.Relation"> & {
724
493
  /**
725
494
  * @generated from field: string id = 1;
726
495
  */
727
- id = "";
496
+ id: string;
728
497
 
729
498
  /**
730
499
  * @generated from field: google.protobuf.Timestamp created_at = 6;
@@ -739,80 +508,54 @@ export class Relation extends Message<Relation> {
739
508
  /**
740
509
  * @generated from field: string subject_sub_relation = 9;
741
510
  */
742
- subjectSubRelation = "";
511
+ subjectSubRelation: string;
743
512
 
744
513
  /**
745
514
  * @generated from field: string relation = 10;
746
515
  */
747
- relation = "";
516
+ relation: string;
748
517
 
749
518
  /**
750
519
  * objectnamespace:id
751
520
  *
752
521
  * @generated from field: string object = 11;
753
522
  */
754
- object = "";
523
+ object: string;
755
524
 
756
525
  /**
757
526
  * subjectnamespace:id
758
527
  *
759
528
  * @generated from field: string subject = 12;
760
529
  */
761
- subject = "";
762
-
763
- constructor(data?: PartialMessage<Relation>) {
764
- super();
765
- proto3.util.initPartial(data, this);
766
- }
767
-
768
- static readonly runtime: typeof proto3 = proto3;
769
- static readonly typeName = "raystack.frontier.v1beta1.Relation";
770
- static readonly fields: FieldList = proto3.util.newFieldList(() => [
771
- { no: 1, name: "id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
772
- { no: 6, name: "created_at", kind: "message", T: Timestamp },
773
- { no: 7, name: "updated_at", kind: "message", T: Timestamp },
774
- { no: 9, name: "subject_sub_relation", kind: "scalar", T: 9 /* ScalarType.STRING */ },
775
- { no: 10, name: "relation", kind: "scalar", T: 9 /* ScalarType.STRING */ },
776
- { no: 11, name: "object", kind: "scalar", T: 9 /* ScalarType.STRING */ },
777
- { no: 12, name: "subject", kind: "scalar", T: 9 /* ScalarType.STRING */ },
778
- ]);
779
-
780
- static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): Relation {
781
- return new Relation().fromBinary(bytes, options);
782
- }
783
-
784
- static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): Relation {
785
- return new Relation().fromJson(jsonValue, options);
786
- }
787
-
788
- static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): Relation {
789
- return new Relation().fromJsonString(jsonString, options);
790
- }
791
-
792
- static equals(a: Relation | PlainMessage<Relation> | undefined, b: Relation | PlainMessage<Relation> | undefined): boolean {
793
- return proto3.util.equals(Relation, a, b);
794
- }
795
- }
530
+ subject: string;
531
+ };
532
+
533
+ /**
534
+ * Describes the message raystack.frontier.v1beta1.Relation.
535
+ * Use `create(RelationSchema)` to create a new message.
536
+ */
537
+ export const RelationSchema: GenMessage<Relation> = /*@__PURE__*/
538
+ messageDesc(file_raystack_frontier_v1beta1_models, 9);
796
539
 
797
540
  /**
798
541
  * @generated from message raystack.frontier.v1beta1.Permission
799
542
  */
800
- export class Permission extends Message<Permission> {
543
+ export type Permission = Message<"raystack.frontier.v1beta1.Permission"> & {
801
544
  /**
802
545
  * @generated from field: string id = 1;
803
546
  */
804
- id = "";
547
+ id: string;
805
548
 
806
549
  /**
807
550
  * @generated from field: string name = 2 [deprecated = true];
808
551
  * @deprecated
809
552
  */
810
- name = "";
553
+ name: string;
811
554
 
812
555
  /**
813
556
  * @generated from field: string title = 3;
814
557
  */
815
- title = "";
558
+ title: string;
816
559
 
817
560
  /**
818
561
  * @generated from field: google.protobuf.Timestamp created_at = 4;
@@ -828,73 +571,46 @@ export class Permission extends Message<Permission> {
828
571
  * @generated from field: string namespace = 6 [deprecated = true];
829
572
  * @deprecated
830
573
  */
831
- namespace = "";
574
+ namespace: string;
832
575
 
833
576
  /**
834
577
  * @generated from field: google.protobuf.Struct metadata = 7;
835
578
  */
836
- metadata?: Struct;
579
+ metadata?: JsonObject;
837
580
 
838
581
  /**
839
582
  * @generated from field: string key = 8;
840
583
  */
841
- key = "";
842
-
843
- constructor(data?: PartialMessage<Permission>) {
844
- super();
845
- proto3.util.initPartial(data, this);
846
- }
847
-
848
- static readonly runtime: typeof proto3 = proto3;
849
- static readonly typeName = "raystack.frontier.v1beta1.Permission";
850
- static readonly fields: FieldList = proto3.util.newFieldList(() => [
851
- { no: 1, name: "id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
852
- { no: 2, name: "name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
853
- { no: 3, name: "title", kind: "scalar", T: 9 /* ScalarType.STRING */ },
854
- { no: 4, name: "created_at", kind: "message", T: Timestamp },
855
- { no: 5, name: "updated_at", kind: "message", T: Timestamp },
856
- { no: 6, name: "namespace", kind: "scalar", T: 9 /* ScalarType.STRING */ },
857
- { no: 7, name: "metadata", kind: "message", T: Struct },
858
- { no: 8, name: "key", kind: "scalar", T: 9 /* ScalarType.STRING */ },
859
- ]);
860
-
861
- static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): Permission {
862
- return new Permission().fromBinary(bytes, options);
863
- }
864
-
865
- static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): Permission {
866
- return new Permission().fromJson(jsonValue, options);
867
- }
868
-
869
- static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): Permission {
870
- return new Permission().fromJsonString(jsonString, options);
871
- }
872
-
873
- static equals(a: Permission | PlainMessage<Permission> | undefined, b: Permission | PlainMessage<Permission> | undefined): boolean {
874
- return proto3.util.equals(Permission, a, b);
875
- }
876
- }
584
+ key: string;
585
+ };
586
+
587
+ /**
588
+ * Describes the message raystack.frontier.v1beta1.Permission.
589
+ * Use `create(PermissionSchema)` to create a new message.
590
+ */
591
+ export const PermissionSchema: GenMessage<Permission> = /*@__PURE__*/
592
+ messageDesc(file_raystack_frontier_v1beta1_models, 10);
877
593
 
878
594
  /**
879
595
  * @generated from message raystack.frontier.v1beta1.Namespace
880
596
  */
881
- export class Namespace extends Message<Namespace> {
597
+ export type Namespace = Message<"raystack.frontier.v1beta1.Namespace"> & {
882
598
  /**
883
599
  * @generated from field: string id = 1;
884
600
  */
885
- id = "";
601
+ id: string;
886
602
 
887
603
  /**
888
604
  * name could be in a format like: app/organization
889
605
  *
890
606
  * @generated from field: string name = 2;
891
607
  */
892
- name = "";
608
+ name: string;
893
609
 
894
610
  /**
895
611
  * @generated from field: google.protobuf.Struct metadata = 3;
896
612
  */
897
- metadata?: Struct;
613
+ metadata?: JsonObject;
898
614
 
899
615
  /**
900
616
  * @generated from field: google.protobuf.Timestamp created_at = 6;
@@ -905,52 +621,28 @@ export class Namespace extends Message<Namespace> {
905
621
  * @generated from field: google.protobuf.Timestamp updated_at = 7;
906
622
  */
907
623
  updatedAt?: Timestamp;
624
+ };
908
625
 
909
- constructor(data?: PartialMessage<Namespace>) {
910
- super();
911
- proto3.util.initPartial(data, this);
912
- }
913
-
914
- static readonly runtime: typeof proto3 = proto3;
915
- static readonly typeName = "raystack.frontier.v1beta1.Namespace";
916
- static readonly fields: FieldList = proto3.util.newFieldList(() => [
917
- { no: 1, name: "id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
918
- { no: 2, name: "name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
919
- { no: 3, name: "metadata", kind: "message", T: Struct },
920
- { no: 6, name: "created_at", kind: "message", T: Timestamp },
921
- { no: 7, name: "updated_at", kind: "message", T: Timestamp },
922
- ]);
923
-
924
- static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): Namespace {
925
- return new Namespace().fromBinary(bytes, options);
926
- }
927
-
928
- static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): Namespace {
929
- return new Namespace().fromJson(jsonValue, options);
930
- }
931
-
932
- static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): Namespace {
933
- return new Namespace().fromJsonString(jsonString, options);
934
- }
935
-
936
- static equals(a: Namespace | PlainMessage<Namespace> | undefined, b: Namespace | PlainMessage<Namespace> | undefined): boolean {
937
- return proto3.util.equals(Namespace, a, b);
938
- }
939
- }
626
+ /**
627
+ * Describes the message raystack.frontier.v1beta1.Namespace.
628
+ * Use `create(NamespaceSchema)` to create a new message.
629
+ */
630
+ export const NamespaceSchema: GenMessage<Namespace> = /*@__PURE__*/
631
+ messageDesc(file_raystack_frontier_v1beta1_models, 11);
940
632
 
941
633
  /**
942
634
  * @generated from message raystack.frontier.v1beta1.Resource
943
635
  */
944
- export class Resource extends Message<Resource> {
636
+ export type Resource = Message<"raystack.frontier.v1beta1.Resource"> & {
945
637
  /**
946
638
  * @generated from field: string id = 1;
947
639
  */
948
- id = "";
640
+ id: string;
949
641
 
950
642
  /**
951
643
  * @generated from field: string name = 2;
952
644
  */
953
- name = "";
645
+ name: string;
954
646
 
955
647
  /**
956
648
  * @generated from field: google.protobuf.Timestamp created_at = 6;
@@ -965,88 +657,59 @@ export class Resource extends Message<Resource> {
965
657
  /**
966
658
  * @generated from field: string urn = 9;
967
659
  */
968
- urn = "";
660
+ urn: string;
969
661
 
970
662
  /**
971
663
  * @generated from field: string project_id = 10;
972
664
  */
973
- projectId = "";
665
+ projectId: string;
974
666
 
975
667
  /**
976
668
  * @generated from field: string namespace = 11;
977
669
  */
978
- namespace = "";
670
+ namespace: string;
979
671
 
980
672
  /**
981
673
  * @generated from field: string principal = 12;
982
674
  */
983
- principal = "";
675
+ principal: string;
984
676
 
985
677
  /**
986
678
  * @generated from field: google.protobuf.Struct metadata = 13;
987
679
  */
988
- metadata?: Struct;
680
+ metadata?: JsonObject;
989
681
 
990
682
  /**
991
683
  * @generated from field: string title = 14;
992
684
  */
993
- title = "";
994
-
995
- constructor(data?: PartialMessage<Resource>) {
996
- super();
997
- proto3.util.initPartial(data, this);
998
- }
999
-
1000
- static readonly runtime: typeof proto3 = proto3;
1001
- static readonly typeName = "raystack.frontier.v1beta1.Resource";
1002
- static readonly fields: FieldList = proto3.util.newFieldList(() => [
1003
- { no: 1, name: "id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
1004
- { no: 2, name: "name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
1005
- { no: 6, name: "created_at", kind: "message", T: Timestamp },
1006
- { no: 7, name: "updated_at", kind: "message", T: Timestamp },
1007
- { no: 9, name: "urn", kind: "scalar", T: 9 /* ScalarType.STRING */ },
1008
- { no: 10, name: "project_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
1009
- { no: 11, name: "namespace", kind: "scalar", T: 9 /* ScalarType.STRING */ },
1010
- { no: 12, name: "principal", kind: "scalar", T: 9 /* ScalarType.STRING */ },
1011
- { no: 13, name: "metadata", kind: "message", T: Struct },
1012
- { no: 14, name: "title", kind: "scalar", T: 9 /* ScalarType.STRING */ },
1013
- ]);
1014
-
1015
- static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): Resource {
1016
- return new Resource().fromBinary(bytes, options);
1017
- }
1018
-
1019
- static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): Resource {
1020
- return new Resource().fromJson(jsonValue, options);
1021
- }
1022
-
1023
- static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): Resource {
1024
- return new Resource().fromJsonString(jsonString, options);
1025
- }
1026
-
1027
- static equals(a: Resource | PlainMessage<Resource> | undefined, b: Resource | PlainMessage<Resource> | undefined): boolean {
1028
- return proto3.util.equals(Resource, a, b);
1029
- }
1030
- }
685
+ title: string;
686
+ };
687
+
688
+ /**
689
+ * Describes the message raystack.frontier.v1beta1.Resource.
690
+ * Use `create(ResourceSchema)` to create a new message.
691
+ */
692
+ export const ResourceSchema: GenMessage<Resource> = /*@__PURE__*/
693
+ messageDesc(file_raystack_frontier_v1beta1_models, 12);
1031
694
 
1032
695
  /**
1033
696
  * @generated from message raystack.frontier.v1beta1.MetaSchema
1034
697
  */
1035
- export class MetaSchema extends Message<MetaSchema> {
698
+ export type MetaSchema = Message<"raystack.frontier.v1beta1.MetaSchema"> & {
1036
699
  /**
1037
700
  * @generated from field: string id = 1;
1038
701
  */
1039
- id = "";
702
+ id: string;
1040
703
 
1041
704
  /**
1042
705
  * @generated from field: string name = 2;
1043
706
  */
1044
- name = "";
707
+ name: string;
1045
708
 
1046
709
  /**
1047
710
  * @generated from field: string schema = 3;
1048
711
  */
1049
- schema = "";
712
+ schema: string;
1050
713
 
1051
714
  /**
1052
715
  * @generated from field: google.protobuf.Timestamp created_at = 4;
@@ -1057,67 +720,43 @@ export class MetaSchema extends Message<MetaSchema> {
1057
720
  * @generated from field: google.protobuf.Timestamp updated_at = 5;
1058
721
  */
1059
722
  updatedAt?: Timestamp;
723
+ };
1060
724
 
1061
- constructor(data?: PartialMessage<MetaSchema>) {
1062
- super();
1063
- proto3.util.initPartial(data, this);
1064
- }
1065
-
1066
- static readonly runtime: typeof proto3 = proto3;
1067
- static readonly typeName = "raystack.frontier.v1beta1.MetaSchema";
1068
- static readonly fields: FieldList = proto3.util.newFieldList(() => [
1069
- { no: 1, name: "id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
1070
- { no: 2, name: "name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
1071
- { no: 3, name: "schema", kind: "scalar", T: 9 /* ScalarType.STRING */ },
1072
- { no: 4, name: "created_at", kind: "message", T: Timestamp },
1073
- { no: 5, name: "updated_at", kind: "message", T: Timestamp },
1074
- ]);
1075
-
1076
- static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): MetaSchema {
1077
- return new MetaSchema().fromBinary(bytes, options);
1078
- }
1079
-
1080
- static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): MetaSchema {
1081
- return new MetaSchema().fromJson(jsonValue, options);
1082
- }
1083
-
1084
- static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): MetaSchema {
1085
- return new MetaSchema().fromJsonString(jsonString, options);
1086
- }
1087
-
1088
- static equals(a: MetaSchema | PlainMessage<MetaSchema> | undefined, b: MetaSchema | PlainMessage<MetaSchema> | undefined): boolean {
1089
- return proto3.util.equals(MetaSchema, a, b);
1090
- }
1091
- }
725
+ /**
726
+ * Describes the message raystack.frontier.v1beta1.MetaSchema.
727
+ * Use `create(MetaSchemaSchema)` to create a new message.
728
+ */
729
+ export const MetaSchemaSchema: GenMessage<MetaSchema> = /*@__PURE__*/
730
+ messageDesc(file_raystack_frontier_v1beta1_models, 13);
1092
731
 
1093
732
  /**
1094
733
  * @generated from message raystack.frontier.v1beta1.Invitation
1095
734
  */
1096
- export class Invitation extends Message<Invitation> {
735
+ export type Invitation = Message<"raystack.frontier.v1beta1.Invitation"> & {
1097
736
  /**
1098
737
  * @generated from field: string id = 1;
1099
738
  */
1100
- id = "";
739
+ id: string;
1101
740
 
1102
741
  /**
1103
742
  * @generated from field: string user_id = 2;
1104
743
  */
1105
- userId = "";
744
+ userId: string;
1106
745
 
1107
746
  /**
1108
747
  * @generated from field: string org_id = 3;
1109
748
  */
1110
- orgId = "";
749
+ orgId: string;
1111
750
 
1112
751
  /**
1113
752
  * @generated from field: repeated string group_ids = 4;
1114
753
  */
1115
- groupIds: string[] = [];
754
+ groupIds: string[];
1116
755
 
1117
756
  /**
1118
757
  * @generated from field: google.protobuf.Struct metadata = 5;
1119
758
  */
1120
- metadata?: Struct;
759
+ metadata?: JsonObject;
1121
760
 
1122
761
  /**
1123
762
  * @generated from field: google.protobuf.Timestamp created_at = 6;
@@ -1132,174 +771,100 @@ export class Invitation extends Message<Invitation> {
1132
771
  /**
1133
772
  * @generated from field: repeated string role_ids = 8;
1134
773
  */
1135
- roleIds: string[] = [];
1136
-
1137
- constructor(data?: PartialMessage<Invitation>) {
1138
- super();
1139
- proto3.util.initPartial(data, this);
1140
- }
1141
-
1142
- static readonly runtime: typeof proto3 = proto3;
1143
- static readonly typeName = "raystack.frontier.v1beta1.Invitation";
1144
- static readonly fields: FieldList = proto3.util.newFieldList(() => [
1145
- { no: 1, name: "id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
1146
- { no: 2, name: "user_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
1147
- { no: 3, name: "org_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
1148
- { no: 4, name: "group_ids", kind: "scalar", T: 9 /* ScalarType.STRING */, repeated: true },
1149
- { no: 5, name: "metadata", kind: "message", T: Struct },
1150
- { no: 6, name: "created_at", kind: "message", T: Timestamp },
1151
- { no: 7, name: "expires_at", kind: "message", T: Timestamp },
1152
- { no: 8, name: "role_ids", kind: "scalar", T: 9 /* ScalarType.STRING */, repeated: true },
1153
- ]);
1154
-
1155
- static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): Invitation {
1156
- return new Invitation().fromBinary(bytes, options);
1157
- }
1158
-
1159
- static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): Invitation {
1160
- return new Invitation().fromJson(jsonValue, options);
1161
- }
1162
-
1163
- static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): Invitation {
1164
- return new Invitation().fromJsonString(jsonString, options);
1165
- }
1166
-
1167
- static equals(a: Invitation | PlainMessage<Invitation> | undefined, b: Invitation | PlainMessage<Invitation> | undefined): boolean {
1168
- return proto3.util.equals(Invitation, a, b);
1169
- }
1170
- }
774
+ roleIds: string[];
775
+ };
776
+
777
+ /**
778
+ * Describes the message raystack.frontier.v1beta1.Invitation.
779
+ * Use `create(InvitationSchema)` to create a new message.
780
+ */
781
+ export const InvitationSchema: GenMessage<Invitation> = /*@__PURE__*/
782
+ messageDesc(file_raystack_frontier_v1beta1_models, 14);
1171
783
 
1172
784
  /**
1173
785
  * @generated from message raystack.frontier.v1beta1.ServiceUserJWK
1174
786
  */
1175
- export class ServiceUserJWK extends Message<ServiceUserJWK> {
787
+ export type ServiceUserJWK = Message<"raystack.frontier.v1beta1.ServiceUserJWK"> & {
1176
788
  /**
1177
789
  * @generated from field: string id = 1;
1178
790
  */
1179
- id = "";
791
+ id: string;
1180
792
 
1181
793
  /**
1182
794
  * @generated from field: string title = 2;
1183
795
  */
1184
- title = "";
796
+ title: string;
1185
797
 
1186
798
  /**
1187
799
  * @generated from field: string principal_id = 3;
1188
800
  */
1189
- principalId = "";
801
+ principalId: string;
1190
802
 
1191
803
  /**
1192
804
  * @generated from field: string public_key = 4;
1193
805
  */
1194
- publicKey = "";
806
+ publicKey: string;
1195
807
 
1196
808
  /**
1197
809
  * @generated from field: google.protobuf.Timestamp created_at = 5;
1198
810
  */
1199
811
  createdAt?: Timestamp;
812
+ };
1200
813
 
1201
- constructor(data?: PartialMessage<ServiceUserJWK>) {
1202
- super();
1203
- proto3.util.initPartial(data, this);
1204
- }
1205
-
1206
- static readonly runtime: typeof proto3 = proto3;
1207
- static readonly typeName = "raystack.frontier.v1beta1.ServiceUserJWK";
1208
- static readonly fields: FieldList = proto3.util.newFieldList(() => [
1209
- { no: 1, name: "id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
1210
- { no: 2, name: "title", kind: "scalar", T: 9 /* ScalarType.STRING */ },
1211
- { no: 3, name: "principal_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
1212
- { no: 4, name: "public_key", kind: "scalar", T: 9 /* ScalarType.STRING */ },
1213
- { no: 5, name: "created_at", kind: "message", T: Timestamp },
1214
- ]);
1215
-
1216
- static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): ServiceUserJWK {
1217
- return new ServiceUserJWK().fromBinary(bytes, options);
1218
- }
1219
-
1220
- static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): ServiceUserJWK {
1221
- return new ServiceUserJWK().fromJson(jsonValue, options);
1222
- }
1223
-
1224
- static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): ServiceUserJWK {
1225
- return new ServiceUserJWK().fromJsonString(jsonString, options);
1226
- }
1227
-
1228
- static equals(a: ServiceUserJWK | PlainMessage<ServiceUserJWK> | undefined, b: ServiceUserJWK | PlainMessage<ServiceUserJWK> | undefined): boolean {
1229
- return proto3.util.equals(ServiceUserJWK, a, b);
1230
- }
1231
- }
814
+ /**
815
+ * Describes the message raystack.frontier.v1beta1.ServiceUserJWK.
816
+ * Use `create(ServiceUserJWKSchema)` to create a new message.
817
+ */
818
+ export const ServiceUserJWKSchema: GenMessage<ServiceUserJWK> = /*@__PURE__*/
819
+ messageDesc(file_raystack_frontier_v1beta1_models, 15);
1232
820
 
1233
821
  /**
1234
822
  * @generated from message raystack.frontier.v1beta1.KeyCredential
1235
823
  */
1236
- export class KeyCredential extends Message<KeyCredential> {
824
+ export type KeyCredential = Message<"raystack.frontier.v1beta1.KeyCredential"> & {
1237
825
  /**
1238
826
  * @generated from field: string type = 1;
1239
827
  */
1240
- type = "";
828
+ type: string;
1241
829
 
1242
830
  /**
1243
831
  * @generated from field: string kid = 2;
1244
832
  */
1245
- kid = "";
833
+ kid: string;
1246
834
 
1247
835
  /**
1248
836
  * @generated from field: string principal_id = 3;
1249
837
  */
1250
- principalId = "";
838
+ principalId: string;
1251
839
 
1252
840
  /**
1253
841
  * RSA private key as string
1254
842
  *
1255
843
  * @generated from field: string private_key = 4;
1256
844
  */
1257
- privateKey = "";
1258
-
1259
- constructor(data?: PartialMessage<KeyCredential>) {
1260
- super();
1261
- proto3.util.initPartial(data, this);
1262
- }
1263
-
1264
- static readonly runtime: typeof proto3 = proto3;
1265
- static readonly typeName = "raystack.frontier.v1beta1.KeyCredential";
1266
- static readonly fields: FieldList = proto3.util.newFieldList(() => [
1267
- { no: 1, name: "type", kind: "scalar", T: 9 /* ScalarType.STRING */ },
1268
- { no: 2, name: "kid", kind: "scalar", T: 9 /* ScalarType.STRING */ },
1269
- { no: 3, name: "principal_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
1270
- { no: 4, name: "private_key", kind: "scalar", T: 9 /* ScalarType.STRING */ },
1271
- ]);
1272
-
1273
- static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): KeyCredential {
1274
- return new KeyCredential().fromBinary(bytes, options);
1275
- }
1276
-
1277
- static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): KeyCredential {
1278
- return new KeyCredential().fromJson(jsonValue, options);
1279
- }
1280
-
1281
- static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): KeyCredential {
1282
- return new KeyCredential().fromJsonString(jsonString, options);
1283
- }
1284
-
1285
- static equals(a: KeyCredential | PlainMessage<KeyCredential> | undefined, b: KeyCredential | PlainMessage<KeyCredential> | undefined): boolean {
1286
- return proto3.util.equals(KeyCredential, a, b);
1287
- }
1288
- }
845
+ privateKey: string;
846
+ };
847
+
848
+ /**
849
+ * Describes the message raystack.frontier.v1beta1.KeyCredential.
850
+ * Use `create(KeyCredentialSchema)` to create a new message.
851
+ */
852
+ export const KeyCredentialSchema: GenMessage<KeyCredential> = /*@__PURE__*/
853
+ messageDesc(file_raystack_frontier_v1beta1_models, 16);
1289
854
 
1290
855
  /**
1291
856
  * @generated from message raystack.frontier.v1beta1.SecretCredential
1292
857
  */
1293
- export class SecretCredential extends Message<SecretCredential> {
858
+ export type SecretCredential = Message<"raystack.frontier.v1beta1.SecretCredential"> & {
1294
859
  /**
1295
860
  * @generated from field: string id = 1;
1296
861
  */
1297
- id = "";
862
+ id: string;
1298
863
 
1299
864
  /**
1300
865
  * @generated from field: string title = 2;
1301
866
  */
1302
- title = "";
867
+ title: string;
1303
868
 
1304
869
  /**
1305
870
  * secret will only be returned once as part of the create process
@@ -1307,57 +872,34 @@ export class SecretCredential extends Message<SecretCredential> {
1307
872
  *
1308
873
  * @generated from field: string secret = 3;
1309
874
  */
1310
- secret = "";
875
+ secret: string;
1311
876
 
1312
877
  /**
1313
878
  * @generated from field: google.protobuf.Timestamp created_at = 4;
1314
879
  */
1315
880
  createdAt?: Timestamp;
881
+ };
1316
882
 
1317
- constructor(data?: PartialMessage<SecretCredential>) {
1318
- super();
1319
- proto3.util.initPartial(data, this);
1320
- }
1321
-
1322
- static readonly runtime: typeof proto3 = proto3;
1323
- static readonly typeName = "raystack.frontier.v1beta1.SecretCredential";
1324
- static readonly fields: FieldList = proto3.util.newFieldList(() => [
1325
- { no: 1, name: "id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
1326
- { no: 2, name: "title", kind: "scalar", T: 9 /* ScalarType.STRING */ },
1327
- { no: 3, name: "secret", kind: "scalar", T: 9 /* ScalarType.STRING */ },
1328
- { no: 4, name: "created_at", kind: "message", T: Timestamp },
1329
- ]);
1330
-
1331
- static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): SecretCredential {
1332
- return new SecretCredential().fromBinary(bytes, options);
1333
- }
1334
-
1335
- static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): SecretCredential {
1336
- return new SecretCredential().fromJson(jsonValue, options);
1337
- }
1338
-
1339
- static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): SecretCredential {
1340
- return new SecretCredential().fromJsonString(jsonString, options);
1341
- }
1342
-
1343
- static equals(a: SecretCredential | PlainMessage<SecretCredential> | undefined, b: SecretCredential | PlainMessage<SecretCredential> | undefined): boolean {
1344
- return proto3.util.equals(SecretCredential, a, b);
1345
- }
1346
- }
883
+ /**
884
+ * Describes the message raystack.frontier.v1beta1.SecretCredential.
885
+ * Use `create(SecretCredentialSchema)` to create a new message.
886
+ */
887
+ export const SecretCredentialSchema: GenMessage<SecretCredential> = /*@__PURE__*/
888
+ messageDesc(file_raystack_frontier_v1beta1_models, 17);
1347
889
 
1348
890
  /**
1349
891
  * @generated from message raystack.frontier.v1beta1.ServiceUserToken
1350
892
  */
1351
- export class ServiceUserToken extends Message<ServiceUserToken> {
893
+ export type ServiceUserToken = Message<"raystack.frontier.v1beta1.ServiceUserToken"> & {
1352
894
  /**
1353
895
  * @generated from field: string id = 1;
1354
896
  */
1355
- id = "";
897
+ id: string;
1356
898
 
1357
899
  /**
1358
900
  * @generated from field: string title = 2;
1359
901
  */
1360
- title = "";
902
+ title: string;
1361
903
 
1362
904
  /**
1363
905
  * token will only be returned once as part of the create process
@@ -1365,271 +907,176 @@ export class ServiceUserToken extends Message<ServiceUserToken> {
1365
907
  *
1366
908
  * @generated from field: string token = 3;
1367
909
  */
1368
- token = "";
910
+ token: string;
1369
911
 
1370
912
  /**
1371
913
  * @generated from field: google.protobuf.Timestamp created_at = 4;
1372
914
  */
1373
915
  createdAt?: Timestamp;
916
+ };
1374
917
 
1375
- constructor(data?: PartialMessage<ServiceUserToken>) {
1376
- super();
1377
- proto3.util.initPartial(data, this);
1378
- }
1379
-
1380
- static readonly runtime: typeof proto3 = proto3;
1381
- static readonly typeName = "raystack.frontier.v1beta1.ServiceUserToken";
1382
- static readonly fields: FieldList = proto3.util.newFieldList(() => [
1383
- { no: 1, name: "id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
1384
- { no: 2, name: "title", kind: "scalar", T: 9 /* ScalarType.STRING */ },
1385
- { no: 3, name: "token", kind: "scalar", T: 9 /* ScalarType.STRING */ },
1386
- { no: 4, name: "created_at", kind: "message", T: Timestamp },
1387
- ]);
1388
-
1389
- static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): ServiceUserToken {
1390
- return new ServiceUserToken().fromBinary(bytes, options);
1391
- }
1392
-
1393
- static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): ServiceUserToken {
1394
- return new ServiceUserToken().fromJson(jsonValue, options);
1395
- }
1396
-
1397
- static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): ServiceUserToken {
1398
- return new ServiceUserToken().fromJsonString(jsonString, options);
1399
- }
1400
-
1401
- static equals(a: ServiceUserToken | PlainMessage<ServiceUserToken> | undefined, b: ServiceUserToken | PlainMessage<ServiceUserToken> | undefined): boolean {
1402
- return proto3.util.equals(ServiceUserToken, a, b);
1403
- }
1404
- }
918
+ /**
919
+ * Describes the message raystack.frontier.v1beta1.ServiceUserToken.
920
+ * Use `create(ServiceUserTokenSchema)` to create a new message.
921
+ */
922
+ export const ServiceUserTokenSchema: GenMessage<ServiceUserToken> = /*@__PURE__*/
923
+ messageDesc(file_raystack_frontier_v1beta1_models, 18);
1405
924
 
1406
925
  /**
1407
926
  * JSON Web Key as specified in RFC 7517
1408
927
  *
1409
928
  * @generated from message raystack.frontier.v1beta1.JSONWebKey
1410
929
  */
1411
- export class JSONWebKey extends Message<JSONWebKey> {
930
+ export type JSONWebKey = Message<"raystack.frontier.v1beta1.JSONWebKey"> & {
1412
931
  /**
1413
932
  * Key Type.
1414
933
  *
1415
934
  * @generated from field: string kty = 1;
1416
935
  */
1417
- kty = "";
936
+ kty: string;
1418
937
 
1419
938
  /**
1420
939
  * Algorithm.
1421
940
  *
1422
941
  * @generated from field: string alg = 2;
1423
942
  */
1424
- alg = "";
943
+ alg: string;
1425
944
 
1426
945
  /**
1427
946
  * Permitted uses for the public keys.
1428
947
  *
1429
948
  * @generated from field: string use = 3;
1430
949
  */
1431
- use = "";
950
+ use: string;
1432
951
 
1433
952
  /**
1434
953
  * Key ID.
1435
954
  *
1436
955
  * @generated from field: string kid = 4;
1437
956
  */
1438
- kid = "";
957
+ kid: string;
1439
958
 
1440
959
  /**
1441
960
  * Used for RSA keys.
1442
961
  *
1443
962
  * @generated from field: string n = 5;
1444
963
  */
1445
- n = "";
964
+ n: string;
1446
965
 
1447
966
  /**
1448
967
  * Used for RSA keys.
1449
968
  *
1450
969
  * @generated from field: string e = 6;
1451
970
  */
1452
- e = "";
971
+ e: string;
1453
972
 
1454
973
  /**
1455
974
  * Used for ECDSA keys.
1456
975
  *
1457
976
  * @generated from field: string x = 7;
1458
977
  */
1459
- x = "";
978
+ x: string;
1460
979
 
1461
980
  /**
1462
981
  * Used for ECDSA keys.
1463
982
  *
1464
983
  * @generated from field: string y = 8;
1465
984
  */
1466
- y = "";
985
+ y: string;
1467
986
 
1468
987
  /**
1469
988
  * Used for ECDSA keys.
1470
989
  *
1471
990
  * @generated from field: string crv = 9;
1472
991
  */
1473
- crv = "";
1474
-
1475
- constructor(data?: PartialMessage<JSONWebKey>) {
1476
- super();
1477
- proto3.util.initPartial(data, this);
1478
- }
1479
-
1480
- static readonly runtime: typeof proto3 = proto3;
1481
- static readonly typeName = "raystack.frontier.v1beta1.JSONWebKey";
1482
- static readonly fields: FieldList = proto3.util.newFieldList(() => [
1483
- { no: 1, name: "kty", kind: "scalar", T: 9 /* ScalarType.STRING */ },
1484
- { no: 2, name: "alg", kind: "scalar", T: 9 /* ScalarType.STRING */ },
1485
- { no: 3, name: "use", kind: "scalar", T: 9 /* ScalarType.STRING */ },
1486
- { no: 4, name: "kid", kind: "scalar", T: 9 /* ScalarType.STRING */ },
1487
- { no: 5, name: "n", kind: "scalar", T: 9 /* ScalarType.STRING */ },
1488
- { no: 6, name: "e", kind: "scalar", T: 9 /* ScalarType.STRING */ },
1489
- { no: 7, name: "x", kind: "scalar", T: 9 /* ScalarType.STRING */ },
1490
- { no: 8, name: "y", kind: "scalar", T: 9 /* ScalarType.STRING */ },
1491
- { no: 9, name: "crv", kind: "scalar", T: 9 /* ScalarType.STRING */ },
1492
- ]);
1493
-
1494
- static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): JSONWebKey {
1495
- return new JSONWebKey().fromBinary(bytes, options);
1496
- }
1497
-
1498
- static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): JSONWebKey {
1499
- return new JSONWebKey().fromJson(jsonValue, options);
1500
- }
1501
-
1502
- static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): JSONWebKey {
1503
- return new JSONWebKey().fromJsonString(jsonString, options);
1504
- }
1505
-
1506
- static equals(a: JSONWebKey | PlainMessage<JSONWebKey> | undefined, b: JSONWebKey | PlainMessage<JSONWebKey> | undefined): boolean {
1507
- return proto3.util.equals(JSONWebKey, a, b);
1508
- }
1509
- }
992
+ crv: string;
993
+ };
994
+
995
+ /**
996
+ * Describes the message raystack.frontier.v1beta1.JSONWebKey.
997
+ * Use `create(JSONWebKeySchema)` to create a new message.
998
+ */
999
+ export const JSONWebKeySchema: GenMessage<JSONWebKey> = /*@__PURE__*/
1000
+ messageDesc(file_raystack_frontier_v1beta1_models, 19);
1510
1001
 
1511
1002
  /**
1512
1003
  * @generated from message raystack.frontier.v1beta1.AuditLogActor
1513
1004
  */
1514
- export class AuditLogActor extends Message<AuditLogActor> {
1005
+ export type AuditLogActor = Message<"raystack.frontier.v1beta1.AuditLogActor"> & {
1515
1006
  /**
1516
1007
  * @generated from field: string id = 1;
1517
1008
  */
1518
- id = "";
1009
+ id: string;
1519
1010
 
1520
1011
  /**
1521
1012
  * @generated from field: string type = 2;
1522
1013
  */
1523
- type = "";
1014
+ type: string;
1524
1015
 
1525
1016
  /**
1526
1017
  * @generated from field: string name = 3;
1527
1018
  */
1528
- name = "";
1019
+ name: string;
1020
+ };
1529
1021
 
1530
- constructor(data?: PartialMessage<AuditLogActor>) {
1531
- super();
1532
- proto3.util.initPartial(data, this);
1533
- }
1534
-
1535
- static readonly runtime: typeof proto3 = proto3;
1536
- static readonly typeName = "raystack.frontier.v1beta1.AuditLogActor";
1537
- static readonly fields: FieldList = proto3.util.newFieldList(() => [
1538
- { no: 1, name: "id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
1539
- { no: 2, name: "type", kind: "scalar", T: 9 /* ScalarType.STRING */ },
1540
- { no: 3, name: "name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
1541
- ]);
1542
-
1543
- static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): AuditLogActor {
1544
- return new AuditLogActor().fromBinary(bytes, options);
1545
- }
1546
-
1547
- static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): AuditLogActor {
1548
- return new AuditLogActor().fromJson(jsonValue, options);
1549
- }
1550
-
1551
- static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): AuditLogActor {
1552
- return new AuditLogActor().fromJsonString(jsonString, options);
1553
- }
1554
-
1555
- static equals(a: AuditLogActor | PlainMessage<AuditLogActor> | undefined, b: AuditLogActor | PlainMessage<AuditLogActor> | undefined): boolean {
1556
- return proto3.util.equals(AuditLogActor, a, b);
1557
- }
1558
- }
1022
+ /**
1023
+ * Describes the message raystack.frontier.v1beta1.AuditLogActor.
1024
+ * Use `create(AuditLogActorSchema)` to create a new message.
1025
+ */
1026
+ export const AuditLogActorSchema: GenMessage<AuditLogActor> = /*@__PURE__*/
1027
+ messageDesc(file_raystack_frontier_v1beta1_models, 20);
1559
1028
 
1560
1029
  /**
1561
1030
  * @generated from message raystack.frontier.v1beta1.AuditLogTarget
1562
1031
  */
1563
- export class AuditLogTarget extends Message<AuditLogTarget> {
1032
+ export type AuditLogTarget = Message<"raystack.frontier.v1beta1.AuditLogTarget"> & {
1564
1033
  /**
1565
1034
  * @generated from field: string id = 1;
1566
1035
  */
1567
- id = "";
1036
+ id: string;
1568
1037
 
1569
1038
  /**
1570
1039
  * @generated from field: string type = 2;
1571
1040
  */
1572
- type = "";
1041
+ type: string;
1573
1042
 
1574
1043
  /**
1575
1044
  * @generated from field: string name = 3;
1576
1045
  */
1577
- name = "";
1046
+ name: string;
1047
+ };
1578
1048
 
1579
- constructor(data?: PartialMessage<AuditLogTarget>) {
1580
- super();
1581
- proto3.util.initPartial(data, this);
1582
- }
1583
-
1584
- static readonly runtime: typeof proto3 = proto3;
1585
- static readonly typeName = "raystack.frontier.v1beta1.AuditLogTarget";
1586
- static readonly fields: FieldList = proto3.util.newFieldList(() => [
1587
- { no: 1, name: "id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
1588
- { no: 2, name: "type", kind: "scalar", T: 9 /* ScalarType.STRING */ },
1589
- { no: 3, name: "name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
1590
- ]);
1591
-
1592
- static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): AuditLogTarget {
1593
- return new AuditLogTarget().fromBinary(bytes, options);
1594
- }
1595
-
1596
- static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): AuditLogTarget {
1597
- return new AuditLogTarget().fromJson(jsonValue, options);
1598
- }
1599
-
1600
- static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): AuditLogTarget {
1601
- return new AuditLogTarget().fromJsonString(jsonString, options);
1602
- }
1603
-
1604
- static equals(a: AuditLogTarget | PlainMessage<AuditLogTarget> | undefined, b: AuditLogTarget | PlainMessage<AuditLogTarget> | undefined): boolean {
1605
- return proto3.util.equals(AuditLogTarget, a, b);
1606
- }
1607
- }
1049
+ /**
1050
+ * Describes the message raystack.frontier.v1beta1.AuditLogTarget.
1051
+ * Use `create(AuditLogTargetSchema)` to create a new message.
1052
+ */
1053
+ export const AuditLogTargetSchema: GenMessage<AuditLogTarget> = /*@__PURE__*/
1054
+ messageDesc(file_raystack_frontier_v1beta1_models, 21);
1608
1055
 
1609
1056
  /**
1610
1057
  * @generated from message raystack.frontier.v1beta1.AuditLog
1611
1058
  */
1612
- export class AuditLog extends Message<AuditLog> {
1059
+ export type AuditLog = Message<"raystack.frontier.v1beta1.AuditLog"> & {
1613
1060
  /**
1614
1061
  * A unique identifier of the audit log if not supplied will be autogenerated
1615
1062
  *
1616
1063
  * @generated from field: string id = 1;
1617
1064
  */
1618
- id = "";
1065
+ id: string;
1619
1066
 
1620
1067
  /**
1621
1068
  * Source service generating the event
1622
1069
  *
1623
1070
  * @generated from field: string source = 2;
1624
1071
  */
1625
- source = "";
1072
+ source: string;
1626
1073
 
1627
1074
  /**
1628
1075
  * Action performed, e.g. project.create, user.update, serviceuser.delete
1629
1076
  *
1630
1077
  * @generated from field: string action = 3;
1631
1078
  */
1632
- action = "";
1079
+ action: string;
1633
1080
 
1634
1081
  /**
1635
1082
  * Actor performing the action
@@ -1650,46 +1097,20 @@ export class AuditLog extends Message<AuditLog> {
1650
1097
  *
1651
1098
  * @generated from field: map<string, string> context = 6;
1652
1099
  */
1653
- context: { [key: string]: string } = {};
1100
+ context: { [key: string]: string };
1654
1101
 
1655
1102
  /**
1656
1103
  * @generated from field: google.protobuf.Timestamp created_at = 20;
1657
1104
  */
1658
1105
  createdAt?: Timestamp;
1106
+ };
1659
1107
 
1660
- constructor(data?: PartialMessage<AuditLog>) {
1661
- super();
1662
- proto3.util.initPartial(data, this);
1663
- }
1664
-
1665
- static readonly runtime: typeof proto3 = proto3;
1666
- static readonly typeName = "raystack.frontier.v1beta1.AuditLog";
1667
- static readonly fields: FieldList = proto3.util.newFieldList(() => [
1668
- { no: 1, name: "id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
1669
- { no: 2, name: "source", kind: "scalar", T: 9 /* ScalarType.STRING */ },
1670
- { no: 3, name: "action", kind: "scalar", T: 9 /* ScalarType.STRING */ },
1671
- { no: 4, name: "actor", kind: "message", T: AuditLogActor },
1672
- { no: 5, name: "target", kind: "message", T: AuditLogTarget },
1673
- { no: 6, name: "context", kind: "map", K: 9 /* ScalarType.STRING */, V: {kind: "scalar", T: 9 /* ScalarType.STRING */} },
1674
- { no: 20, name: "created_at", kind: "message", T: Timestamp },
1675
- ]);
1676
-
1677
- static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): AuditLog {
1678
- return new AuditLog().fromBinary(bytes, options);
1679
- }
1680
-
1681
- static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): AuditLog {
1682
- return new AuditLog().fromJson(jsonValue, options);
1683
- }
1684
-
1685
- static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): AuditLog {
1686
- return new AuditLog().fromJsonString(jsonString, options);
1687
- }
1688
-
1689
- static equals(a: AuditLog | PlainMessage<AuditLog> | undefined, b: AuditLog | PlainMessage<AuditLog> | undefined): boolean {
1690
- return proto3.util.equals(AuditLog, a, b);
1691
- }
1692
- }
1108
+ /**
1109
+ * Describes the message raystack.frontier.v1beta1.AuditLog.
1110
+ * Use `create(AuditLogSchema)` to create a new message.
1111
+ */
1112
+ export const AuditLogSchema: GenMessage<AuditLog> = /*@__PURE__*/
1113
+ messageDesc(file_raystack_frontier_v1beta1_models, 22);
1693
1114
 
1694
1115
  /**
1695
1116
  * PreferenceTrait is a trait that can be used to add preferences to a resource
@@ -1697,56 +1118,56 @@ export class AuditLog extends Message<AuditLog> {
1697
1118
  *
1698
1119
  * @generated from message raystack.frontier.v1beta1.PreferenceTrait
1699
1120
  */
1700
- export class PreferenceTrait extends Message<PreferenceTrait> {
1121
+ export type PreferenceTrait = Message<"raystack.frontier.v1beta1.PreferenceTrait"> & {
1701
1122
  /**
1702
1123
  * @generated from field: string resource_type = 1;
1703
1124
  */
1704
- resourceType = "";
1125
+ resourceType: string;
1705
1126
 
1706
1127
  /**
1707
1128
  * @generated from field: string name = 2;
1708
1129
  */
1709
- name = "";
1130
+ name: string;
1710
1131
 
1711
1132
  /**
1712
1133
  * @generated from field: string title = 3;
1713
1134
  */
1714
- title = "";
1135
+ title: string;
1715
1136
 
1716
1137
  /**
1717
1138
  * @generated from field: string description = 4;
1718
1139
  */
1719
- description = "";
1140
+ description: string;
1720
1141
 
1721
1142
  /**
1722
1143
  * @generated from field: string long_description = 5;
1723
1144
  */
1724
- longDescription = "";
1145
+ longDescription: string;
1725
1146
 
1726
1147
  /**
1727
1148
  * @generated from field: string heading = 6;
1728
1149
  */
1729
- heading = "";
1150
+ heading: string;
1730
1151
 
1731
1152
  /**
1732
1153
  * @generated from field: string sub_heading = 7;
1733
1154
  */
1734
- subHeading = "";
1155
+ subHeading: string;
1735
1156
 
1736
1157
  /**
1737
1158
  * @generated from field: string breadcrumb = 8;
1738
1159
  */
1739
- breadcrumb = "";
1160
+ breadcrumb: string;
1740
1161
 
1741
1162
  /**
1742
1163
  * @generated from field: string default = 9;
1743
1164
  */
1744
- default = "";
1165
+ default: string;
1745
1166
 
1746
1167
  /**
1747
1168
  * @generated from field: string input_hints = 19;
1748
1169
  */
1749
- inputHints = "";
1170
+ inputHints: string;
1750
1171
 
1751
1172
  /**
1752
1173
  * @generated from oneof raystack.frontier.v1beta1.PreferenceTrait.input
@@ -1793,80 +1214,44 @@ export class PreferenceTrait extends Message<PreferenceTrait> {
1793
1214
  */
1794
1215
  value: string;
1795
1216
  case: "number";
1796
- } | { case: undefined; value?: undefined } = { case: undefined };
1797
-
1798
- constructor(data?: PartialMessage<PreferenceTrait>) {
1799
- super();
1800
- proto3.util.initPartial(data, this);
1801
- }
1802
-
1803
- static readonly runtime: typeof proto3 = proto3;
1804
- static readonly typeName = "raystack.frontier.v1beta1.PreferenceTrait";
1805
- static readonly fields: FieldList = proto3.util.newFieldList(() => [
1806
- { no: 1, name: "resource_type", kind: "scalar", T: 9 /* ScalarType.STRING */ },
1807
- { no: 2, name: "name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
1808
- { no: 3, name: "title", kind: "scalar", T: 9 /* ScalarType.STRING */ },
1809
- { no: 4, name: "description", kind: "scalar", T: 9 /* ScalarType.STRING */ },
1810
- { no: 5, name: "long_description", kind: "scalar", T: 9 /* ScalarType.STRING */ },
1811
- { no: 6, name: "heading", kind: "scalar", T: 9 /* ScalarType.STRING */ },
1812
- { no: 7, name: "sub_heading", kind: "scalar", T: 9 /* ScalarType.STRING */ },
1813
- { no: 8, name: "breadcrumb", kind: "scalar", T: 9 /* ScalarType.STRING */ },
1814
- { no: 9, name: "default", kind: "scalar", T: 9 /* ScalarType.STRING */ },
1815
- { no: 19, name: "input_hints", kind: "scalar", T: 9 /* ScalarType.STRING */ },
1816
- { no: 20, name: "text", kind: "scalar", T: 9 /* ScalarType.STRING */, oneof: "input" },
1817
- { no: 21, name: "textarea", kind: "scalar", T: 9 /* ScalarType.STRING */, oneof: "input" },
1818
- { no: 22, name: "select", kind: "scalar", T: 9 /* ScalarType.STRING */, oneof: "input" },
1819
- { no: 23, name: "combobox", kind: "scalar", T: 9 /* ScalarType.STRING */, oneof: "input" },
1820
- { no: 24, name: "checkbox", kind: "scalar", T: 9 /* ScalarType.STRING */, oneof: "input" },
1821
- { no: 25, name: "multiselect", kind: "scalar", T: 9 /* ScalarType.STRING */, oneof: "input" },
1822
- { no: 26, name: "number", kind: "scalar", T: 9 /* ScalarType.STRING */, oneof: "input" },
1823
- ]);
1824
-
1825
- static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): PreferenceTrait {
1826
- return new PreferenceTrait().fromBinary(bytes, options);
1827
- }
1828
-
1829
- static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): PreferenceTrait {
1830
- return new PreferenceTrait().fromJson(jsonValue, options);
1831
- }
1832
-
1833
- static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): PreferenceTrait {
1834
- return new PreferenceTrait().fromJsonString(jsonString, options);
1835
- }
1836
-
1837
- static equals(a: PreferenceTrait | PlainMessage<PreferenceTrait> | undefined, b: PreferenceTrait | PlainMessage<PreferenceTrait> | undefined): boolean {
1838
- return proto3.util.equals(PreferenceTrait, a, b);
1839
- }
1840
- }
1217
+ } | { case: undefined; value?: undefined };
1218
+ };
1219
+
1220
+ /**
1221
+ * Describes the message raystack.frontier.v1beta1.PreferenceTrait.
1222
+ * Use `create(PreferenceTraitSchema)` to create a new message.
1223
+ */
1224
+ export const PreferenceTraitSchema: GenMessage<PreferenceTrait> = /*@__PURE__*/
1225
+ messageDesc(file_raystack_frontier_v1beta1_models, 23);
1841
1226
 
1842
1227
  /**
1843
1228
  * @generated from message raystack.frontier.v1beta1.Preference
1844
1229
  */
1845
- export class Preference extends Message<Preference> {
1230
+ export type Preference = Message<"raystack.frontier.v1beta1.Preference"> & {
1846
1231
  /**
1847
1232
  * @generated from field: string id = 1;
1848
1233
  */
1849
- id = "";
1234
+ id: string;
1850
1235
 
1851
1236
  /**
1852
1237
  * @generated from field: string name = 2;
1853
1238
  */
1854
- name = "";
1239
+ name: string;
1855
1240
 
1856
1241
  /**
1857
1242
  * @generated from field: string value = 3;
1858
1243
  */
1859
- value = "";
1244
+ value: string;
1860
1245
 
1861
1246
  /**
1862
1247
  * @generated from field: string resource_id = 4;
1863
1248
  */
1864
- resourceId = "";
1249
+ resourceId: string;
1865
1250
 
1866
1251
  /**
1867
1252
  * @generated from field: string resource_type = 5;
1868
1253
  */
1869
- resourceType = "";
1254
+ resourceType: string;
1870
1255
 
1871
1256
  /**
1872
1257
  * @generated from field: google.protobuf.Timestamp created_at = 10;
@@ -1877,69 +1262,43 @@ export class Preference extends Message<Preference> {
1877
1262
  * @generated from field: google.protobuf.Timestamp updated_at = 11;
1878
1263
  */
1879
1264
  updatedAt?: Timestamp;
1265
+ };
1880
1266
 
1881
- constructor(data?: PartialMessage<Preference>) {
1882
- super();
1883
- proto3.util.initPartial(data, this);
1884
- }
1885
-
1886
- static readonly runtime: typeof proto3 = proto3;
1887
- static readonly typeName = "raystack.frontier.v1beta1.Preference";
1888
- static readonly fields: FieldList = proto3.util.newFieldList(() => [
1889
- { no: 1, name: "id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
1890
- { no: 2, name: "name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
1891
- { no: 3, name: "value", kind: "scalar", T: 9 /* ScalarType.STRING */ },
1892
- { no: 4, name: "resource_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
1893
- { no: 5, name: "resource_type", kind: "scalar", T: 9 /* ScalarType.STRING */ },
1894
- { no: 10, name: "created_at", kind: "message", T: Timestamp },
1895
- { no: 11, name: "updated_at", kind: "message", T: Timestamp },
1896
- ]);
1897
-
1898
- static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): Preference {
1899
- return new Preference().fromBinary(bytes, options);
1900
- }
1901
-
1902
- static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): Preference {
1903
- return new Preference().fromJson(jsonValue, options);
1904
- }
1905
-
1906
- static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): Preference {
1907
- return new Preference().fromJsonString(jsonString, options);
1908
- }
1909
-
1910
- static equals(a: Preference | PlainMessage<Preference> | undefined, b: Preference | PlainMessage<Preference> | undefined): boolean {
1911
- return proto3.util.equals(Preference, a, b);
1912
- }
1913
- }
1267
+ /**
1268
+ * Describes the message raystack.frontier.v1beta1.Preference.
1269
+ * Use `create(PreferenceSchema)` to create a new message.
1270
+ */
1271
+ export const PreferenceSchema: GenMessage<Preference> = /*@__PURE__*/
1272
+ messageDesc(file_raystack_frontier_v1beta1_models, 24);
1914
1273
 
1915
1274
  /**
1916
1275
  * @generated from message raystack.frontier.v1beta1.BillingAccount
1917
1276
  */
1918
- export class BillingAccount extends Message<BillingAccount> {
1277
+ export type BillingAccount = Message<"raystack.frontier.v1beta1.BillingAccount"> & {
1919
1278
  /**
1920
1279
  * @generated from field: string id = 1;
1921
1280
  */
1922
- id = "";
1281
+ id: string;
1923
1282
 
1924
1283
  /**
1925
1284
  * @generated from field: string org_id = 2;
1926
1285
  */
1927
- orgId = "";
1286
+ orgId: string;
1928
1287
 
1929
1288
  /**
1930
1289
  * @generated from field: string name = 3;
1931
1290
  */
1932
- name = "";
1291
+ name: string;
1933
1292
 
1934
1293
  /**
1935
1294
  * @generated from field: string email = 4;
1936
1295
  */
1937
- email = "";
1296
+ email: string;
1938
1297
 
1939
1298
  /**
1940
1299
  * @generated from field: string phone = 5;
1941
1300
  */
1942
- phone = "";
1301
+ phone: string;
1943
1302
 
1944
1303
  /**
1945
1304
  * @generated from field: raystack.frontier.v1beta1.BillingAccount.Address address = 6;
@@ -1949,32 +1308,32 @@ export class BillingAccount extends Message<BillingAccount> {
1949
1308
  /**
1950
1309
  * @generated from field: string provider_id = 7;
1951
1310
  */
1952
- providerId = "";
1311
+ providerId: string;
1953
1312
 
1954
1313
  /**
1955
1314
  * @generated from field: string provider = 8;
1956
1315
  */
1957
- provider = "";
1316
+ provider: string;
1958
1317
 
1959
1318
  /**
1960
1319
  * @generated from field: string currency = 9;
1961
1320
  */
1962
- currency = "";
1321
+ currency: string;
1963
1322
 
1964
1323
  /**
1965
1324
  * @generated from field: string state = 10;
1966
1325
  */
1967
- state = "";
1326
+ state: string;
1968
1327
 
1969
1328
  /**
1970
1329
  * @generated from field: repeated raystack.frontier.v1beta1.BillingAccount.Tax tax_data = 11;
1971
1330
  */
1972
- taxData: BillingAccount_Tax[] = [];
1331
+ taxData: BillingAccount_Tax[];
1973
1332
 
1974
1333
  /**
1975
1334
  * @generated from field: google.protobuf.Struct metadata = 20;
1976
1335
  */
1977
- metadata?: Struct;
1336
+ metadata?: JsonObject;
1978
1337
 
1979
1338
  /**
1980
1339
  * @generated from field: google.protobuf.Timestamp created_at = 21;
@@ -1990,217 +1349,115 @@ export class BillingAccount extends Message<BillingAccount> {
1990
1349
  * @generated from field: raystack.frontier.v1beta1.Organization organization = 101;
1991
1350
  */
1992
1351
  organization?: Organization;
1352
+ };
1993
1353
 
1994
- constructor(data?: PartialMessage<BillingAccount>) {
1995
- super();
1996
- proto3.util.initPartial(data, this);
1997
- }
1998
-
1999
- static readonly runtime: typeof proto3 = proto3;
2000
- static readonly typeName = "raystack.frontier.v1beta1.BillingAccount";
2001
- static readonly fields: FieldList = proto3.util.newFieldList(() => [
2002
- { no: 1, name: "id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
2003
- { no: 2, name: "org_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
2004
- { no: 3, name: "name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
2005
- { no: 4, name: "email", kind: "scalar", T: 9 /* ScalarType.STRING */ },
2006
- { no: 5, name: "phone", kind: "scalar", T: 9 /* ScalarType.STRING */ },
2007
- { no: 6, name: "address", kind: "message", T: BillingAccount_Address },
2008
- { no: 7, name: "provider_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
2009
- { no: 8, name: "provider", kind: "scalar", T: 9 /* ScalarType.STRING */ },
2010
- { no: 9, name: "currency", kind: "scalar", T: 9 /* ScalarType.STRING */ },
2011
- { no: 10, name: "state", kind: "scalar", T: 9 /* ScalarType.STRING */ },
2012
- { no: 11, name: "tax_data", kind: "message", T: BillingAccount_Tax, repeated: true },
2013
- { no: 20, name: "metadata", kind: "message", T: Struct },
2014
- { no: 21, name: "created_at", kind: "message", T: Timestamp },
2015
- { no: 22, name: "updated_at", kind: "message", T: Timestamp },
2016
- { no: 101, name: "organization", kind: "message", T: Organization },
2017
- ]);
2018
-
2019
- static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): BillingAccount {
2020
- return new BillingAccount().fromBinary(bytes, options);
2021
- }
2022
-
2023
- static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): BillingAccount {
2024
- return new BillingAccount().fromJson(jsonValue, options);
2025
- }
2026
-
2027
- static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): BillingAccount {
2028
- return new BillingAccount().fromJsonString(jsonString, options);
2029
- }
2030
-
2031
- static equals(a: BillingAccount | PlainMessage<BillingAccount> | undefined, b: BillingAccount | PlainMessage<BillingAccount> | undefined): boolean {
2032
- return proto3.util.equals(BillingAccount, a, b);
2033
- }
2034
- }
1354
+ /**
1355
+ * Describes the message raystack.frontier.v1beta1.BillingAccount.
1356
+ * Use `create(BillingAccountSchema)` to create a new message.
1357
+ */
1358
+ export const BillingAccountSchema: GenMessage<BillingAccount> = /*@__PURE__*/
1359
+ messageDesc(file_raystack_frontier_v1beta1_models, 25);
2035
1360
 
2036
1361
  /**
2037
1362
  * @generated from message raystack.frontier.v1beta1.BillingAccount.Address
2038
1363
  */
2039
- export class BillingAccount_Address extends Message<BillingAccount_Address> {
1364
+ export type BillingAccount_Address = Message<"raystack.frontier.v1beta1.BillingAccount.Address"> & {
2040
1365
  /**
2041
1366
  * @generated from field: string line1 = 1;
2042
1367
  */
2043
- line1 = "";
1368
+ line1: string;
2044
1369
 
2045
1370
  /**
2046
1371
  * @generated from field: string line2 = 2;
2047
1372
  */
2048
- line2 = "";
1373
+ line2: string;
2049
1374
 
2050
1375
  /**
2051
1376
  * @generated from field: string city = 3;
2052
1377
  */
2053
- city = "";
1378
+ city: string;
2054
1379
 
2055
1380
  /**
2056
1381
  * @generated from field: string state = 4;
2057
1382
  */
2058
- state = "";
1383
+ state: string;
2059
1384
 
2060
1385
  /**
2061
1386
  * @generated from field: string postal_code = 5;
2062
1387
  */
2063
- postalCode = "";
1388
+ postalCode: string;
2064
1389
 
2065
1390
  /**
2066
1391
  * @generated from field: string country = 6;
2067
1392
  */
2068
- country = "";
2069
-
2070
- constructor(data?: PartialMessage<BillingAccount_Address>) {
2071
- super();
2072
- proto3.util.initPartial(data, this);
2073
- }
2074
-
2075
- static readonly runtime: typeof proto3 = proto3;
2076
- static readonly typeName = "raystack.frontier.v1beta1.BillingAccount.Address";
2077
- static readonly fields: FieldList = proto3.util.newFieldList(() => [
2078
- { no: 1, name: "line1", kind: "scalar", T: 9 /* ScalarType.STRING */ },
2079
- { no: 2, name: "line2", kind: "scalar", T: 9 /* ScalarType.STRING */ },
2080
- { no: 3, name: "city", kind: "scalar", T: 9 /* ScalarType.STRING */ },
2081
- { no: 4, name: "state", kind: "scalar", T: 9 /* ScalarType.STRING */ },
2082
- { no: 5, name: "postal_code", kind: "scalar", T: 9 /* ScalarType.STRING */ },
2083
- { no: 6, name: "country", kind: "scalar", T: 9 /* ScalarType.STRING */ },
2084
- ]);
2085
-
2086
- static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): BillingAccount_Address {
2087
- return new BillingAccount_Address().fromBinary(bytes, options);
2088
- }
2089
-
2090
- static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): BillingAccount_Address {
2091
- return new BillingAccount_Address().fromJson(jsonValue, options);
2092
- }
2093
-
2094
- static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): BillingAccount_Address {
2095
- return new BillingAccount_Address().fromJsonString(jsonString, options);
2096
- }
2097
-
2098
- static equals(a: BillingAccount_Address | PlainMessage<BillingAccount_Address> | undefined, b: BillingAccount_Address | PlainMessage<BillingAccount_Address> | undefined): boolean {
2099
- return proto3.util.equals(BillingAccount_Address, a, b);
2100
- }
2101
- }
1393
+ country: string;
1394
+ };
1395
+
1396
+ /**
1397
+ * Describes the message raystack.frontier.v1beta1.BillingAccount.Address.
1398
+ * Use `create(BillingAccount_AddressSchema)` to create a new message.
1399
+ */
1400
+ export const BillingAccount_AddressSchema: GenMessage<BillingAccount_Address> = /*@__PURE__*/
1401
+ messageDesc(file_raystack_frontier_v1beta1_models, 25, 0);
2102
1402
 
2103
1403
  /**
2104
1404
  * @generated from message raystack.frontier.v1beta1.BillingAccount.Tax
2105
1405
  */
2106
- export class BillingAccount_Tax extends Message<BillingAccount_Tax> {
1406
+ export type BillingAccount_Tax = Message<"raystack.frontier.v1beta1.BillingAccount.Tax"> & {
2107
1407
  /**
2108
1408
  * tax type like "vat", "gst", "sales_tax" or if it's
2109
1409
  * provider specific us_ein, uk_vat, in_gst, etc
2110
1410
  *
2111
1411
  * @generated from field: string type = 1;
2112
1412
  */
2113
- type = "";
1413
+ type: string;
2114
1414
 
2115
1415
  /**
2116
1416
  * unique identifier provided by the tax agency
2117
1417
  *
2118
1418
  * @generated from field: string id = 2;
2119
1419
  */
2120
- id = "";
2121
-
2122
- constructor(data?: PartialMessage<BillingAccount_Tax>) {
2123
- super();
2124
- proto3.util.initPartial(data, this);
2125
- }
1420
+ id: string;
1421
+ };
2126
1422
 
2127
- static readonly runtime: typeof proto3 = proto3;
2128
- static readonly typeName = "raystack.frontier.v1beta1.BillingAccount.Tax";
2129
- static readonly fields: FieldList = proto3.util.newFieldList(() => [
2130
- { no: 1, name: "type", kind: "scalar", T: 9 /* ScalarType.STRING */ },
2131
- { no: 2, name: "id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
2132
- ]);
2133
-
2134
- static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): BillingAccount_Tax {
2135
- return new BillingAccount_Tax().fromBinary(bytes, options);
2136
- }
2137
-
2138
- static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): BillingAccount_Tax {
2139
- return new BillingAccount_Tax().fromJson(jsonValue, options);
2140
- }
2141
-
2142
- static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): BillingAccount_Tax {
2143
- return new BillingAccount_Tax().fromJsonString(jsonString, options);
2144
- }
2145
-
2146
- static equals(a: BillingAccount_Tax | PlainMessage<BillingAccount_Tax> | undefined, b: BillingAccount_Tax | PlainMessage<BillingAccount_Tax> | undefined): boolean {
2147
- return proto3.util.equals(BillingAccount_Tax, a, b);
2148
- }
2149
- }
1423
+ /**
1424
+ * Describes the message raystack.frontier.v1beta1.BillingAccount.Tax.
1425
+ * Use `create(BillingAccount_TaxSchema)` to create a new message.
1426
+ */
1427
+ export const BillingAccount_TaxSchema: GenMessage<BillingAccount_Tax> = /*@__PURE__*/
1428
+ messageDesc(file_raystack_frontier_v1beta1_models, 25, 1);
2150
1429
 
2151
1430
  /**
2152
1431
  * @generated from message raystack.frontier.v1beta1.BillingAccount.Balance
2153
1432
  */
2154
- export class BillingAccount_Balance extends Message<BillingAccount_Balance> {
1433
+ export type BillingAccount_Balance = Message<"raystack.frontier.v1beta1.BillingAccount.Balance"> & {
2155
1434
  /**
2156
1435
  * @generated from field: int64 amount = 1;
2157
1436
  */
2158
- amount = protoInt64.zero;
1437
+ amount: bigint;
2159
1438
 
2160
1439
  /**
2161
1440
  * @generated from field: string currency = 2;
2162
1441
  */
2163
- currency = "";
1442
+ currency: string;
2164
1443
 
2165
1444
  /**
2166
1445
  * @generated from field: google.protobuf.Timestamp updated_at = 3;
2167
1446
  */
2168
1447
  updatedAt?: Timestamp;
1448
+ };
2169
1449
 
2170
- constructor(data?: PartialMessage<BillingAccount_Balance>) {
2171
- super();
2172
- proto3.util.initPartial(data, this);
2173
- }
2174
-
2175
- static readonly runtime: typeof proto3 = proto3;
2176
- static readonly typeName = "raystack.frontier.v1beta1.BillingAccount.Balance";
2177
- static readonly fields: FieldList = proto3.util.newFieldList(() => [
2178
- { no: 1, name: "amount", kind: "scalar", T: 3 /* ScalarType.INT64 */ },
2179
- { no: 2, name: "currency", kind: "scalar", T: 9 /* ScalarType.STRING */ },
2180
- { no: 3, name: "updated_at", kind: "message", T: Timestamp },
2181
- ]);
2182
-
2183
- static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): BillingAccount_Balance {
2184
- return new BillingAccount_Balance().fromBinary(bytes, options);
2185
- }
2186
-
2187
- static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): BillingAccount_Balance {
2188
- return new BillingAccount_Balance().fromJson(jsonValue, options);
2189
- }
2190
-
2191
- static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): BillingAccount_Balance {
2192
- return new BillingAccount_Balance().fromJsonString(jsonString, options);
2193
- }
2194
-
2195
- static equals(a: BillingAccount_Balance | PlainMessage<BillingAccount_Balance> | undefined, b: BillingAccount_Balance | PlainMessage<BillingAccount_Balance> | undefined): boolean {
2196
- return proto3.util.equals(BillingAccount_Balance, a, b);
2197
- }
2198
- }
1450
+ /**
1451
+ * Describes the message raystack.frontier.v1beta1.BillingAccount.Balance.
1452
+ * Use `create(BillingAccount_BalanceSchema)` to create a new message.
1453
+ */
1454
+ export const BillingAccount_BalanceSchema: GenMessage<BillingAccount_Balance> = /*@__PURE__*/
1455
+ messageDesc(file_raystack_frontier_v1beta1_models, 25, 2);
2199
1456
 
2200
1457
  /**
2201
1458
  * @generated from message raystack.frontier.v1beta1.BillingAccountDetails
2202
1459
  */
2203
- export class BillingAccountDetails extends Message<BillingAccountDetails> {
1460
+ export type BillingAccountDetails = Message<"raystack.frontier.v1beta1.BillingAccountDetails"> & {
2204
1461
  /**
2205
1462
  * credit_min is the minimum credit limit for the billing account
2206
1463
  * default is 0, negative numbers work as overdraft, positive
@@ -2208,7 +1465,7 @@ export class BillingAccountDetails extends Message<BillingAccountDetails> {
2208
1465
  *
2209
1466
  * @generated from field: int64 credit_min = 1;
2210
1467
  */
2211
- creditMin = protoInt64.zero;
1468
+ creditMin: bigint;
2212
1469
 
2213
1470
  /**
2214
1471
  * due_in_days is the number of days after the invoice finalization
@@ -2217,70 +1474,49 @@ export class BillingAccountDetails extends Message<BillingAccountDetails> {
2217
1474
  *
2218
1475
  * @generated from field: int64 due_in_days = 2;
2219
1476
  */
2220
- dueInDays = protoInt64.zero;
2221
-
2222
- constructor(data?: PartialMessage<BillingAccountDetails>) {
2223
- super();
2224
- proto3.util.initPartial(data, this);
2225
- }
2226
-
2227
- static readonly runtime: typeof proto3 = proto3;
2228
- static readonly typeName = "raystack.frontier.v1beta1.BillingAccountDetails";
2229
- static readonly fields: FieldList = proto3.util.newFieldList(() => [
2230
- { no: 1, name: "credit_min", kind: "scalar", T: 3 /* ScalarType.INT64 */ },
2231
- { no: 2, name: "due_in_days", kind: "scalar", T: 3 /* ScalarType.INT64 */ },
2232
- ]);
1477
+ dueInDays: bigint;
1478
+ };
2233
1479
 
2234
- static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): BillingAccountDetails {
2235
- return new BillingAccountDetails().fromBinary(bytes, options);
2236
- }
2237
-
2238
- static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): BillingAccountDetails {
2239
- return new BillingAccountDetails().fromJson(jsonValue, options);
2240
- }
2241
-
2242
- static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): BillingAccountDetails {
2243
- return new BillingAccountDetails().fromJsonString(jsonString, options);
2244
- }
2245
-
2246
- static equals(a: BillingAccountDetails | PlainMessage<BillingAccountDetails> | undefined, b: BillingAccountDetails | PlainMessage<BillingAccountDetails> | undefined): boolean {
2247
- return proto3.util.equals(BillingAccountDetails, a, b);
2248
- }
2249
- }
1480
+ /**
1481
+ * Describes the message raystack.frontier.v1beta1.BillingAccountDetails.
1482
+ * Use `create(BillingAccountDetailsSchema)` to create a new message.
1483
+ */
1484
+ export const BillingAccountDetailsSchema: GenMessage<BillingAccountDetails> = /*@__PURE__*/
1485
+ messageDesc(file_raystack_frontier_v1beta1_models, 26);
2250
1486
 
2251
1487
  /**
2252
1488
  * @generated from message raystack.frontier.v1beta1.Subscription
2253
1489
  */
2254
- export class Subscription extends Message<Subscription> {
1490
+ export type Subscription = Message<"raystack.frontier.v1beta1.Subscription"> & {
2255
1491
  /**
2256
1492
  * @generated from field: string id = 1;
2257
1493
  */
2258
- id = "";
1494
+ id: string;
2259
1495
 
2260
1496
  /**
2261
1497
  * @generated from field: string customer_id = 2;
2262
1498
  */
2263
- customerId = "";
1499
+ customerId: string;
2264
1500
 
2265
1501
  /**
2266
1502
  * @generated from field: string provider_id = 3;
2267
1503
  */
2268
- providerId = "";
1504
+ providerId: string;
2269
1505
 
2270
1506
  /**
2271
1507
  * @generated from field: string plan_id = 4;
2272
1508
  */
2273
- planId = "";
1509
+ planId: string;
2274
1510
 
2275
1511
  /**
2276
1512
  * @generated from field: string state = 5;
2277
1513
  */
2278
- state = "";
1514
+ state: string;
2279
1515
 
2280
1516
  /**
2281
1517
  * @generated from field: google.protobuf.Struct metadata = 10;
2282
1518
  */
2283
- metadata?: Struct;
1519
+ metadata?: JsonObject;
2284
1520
 
2285
1521
  /**
2286
1522
  * @generated from field: google.protobuf.Timestamp created_at = 11;
@@ -2325,7 +1561,7 @@ export class Subscription extends Message<Subscription> {
2325
1561
  /**
2326
1562
  * @generated from field: repeated raystack.frontier.v1beta1.Subscription.Phase phases = 20;
2327
1563
  */
2328
- phases: Subscription_Phase[] = [];
1564
+ phases: Subscription_Phase[];
2329
1565
 
2330
1566
  /**
2331
1567
  * @generated from field: raystack.frontier.v1beta1.BillingAccount customer = 101;
@@ -2336,55 +1572,19 @@ export class Subscription extends Message<Subscription> {
2336
1572
  * @generated from field: raystack.frontier.v1beta1.Plan plan = 102;
2337
1573
  */
2338
1574
  plan?: Plan;
1575
+ };
2339
1576
 
2340
- constructor(data?: PartialMessage<Subscription>) {
2341
- super();
2342
- proto3.util.initPartial(data, this);
2343
- }
2344
-
2345
- static readonly runtime: typeof proto3 = proto3;
2346
- static readonly typeName = "raystack.frontier.v1beta1.Subscription";
2347
- static readonly fields: FieldList = proto3.util.newFieldList(() => [
2348
- { no: 1, name: "id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
2349
- { no: 2, name: "customer_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
2350
- { no: 3, name: "provider_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
2351
- { no: 4, name: "plan_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
2352
- { no: 5, name: "state", kind: "scalar", T: 9 /* ScalarType.STRING */ },
2353
- { no: 10, name: "metadata", kind: "message", T: Struct },
2354
- { no: 11, name: "created_at", kind: "message", T: Timestamp },
2355
- { no: 12, name: "updated_at", kind: "message", T: Timestamp },
2356
- { no: 13, name: "canceled_at", kind: "message", T: Timestamp },
2357
- { no: 14, name: "ended_at", kind: "message", T: Timestamp },
2358
- { no: 15, name: "trial_ends_at", kind: "message", T: Timestamp },
2359
- { no: 16, name: "current_period_start_at", kind: "message", T: Timestamp },
2360
- { no: 17, name: "current_period_end_at", kind: "message", T: Timestamp },
2361
- { no: 18, name: "billing_cycle_anchor_at", kind: "message", T: Timestamp },
2362
- { no: 20, name: "phases", kind: "message", T: Subscription_Phase, repeated: true },
2363
- { no: 101, name: "customer", kind: "message", T: BillingAccount },
2364
- { no: 102, name: "plan", kind: "message", T: Plan },
2365
- ]);
2366
-
2367
- static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): Subscription {
2368
- return new Subscription().fromBinary(bytes, options);
2369
- }
2370
-
2371
- static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): Subscription {
2372
- return new Subscription().fromJson(jsonValue, options);
2373
- }
2374
-
2375
- static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): Subscription {
2376
- return new Subscription().fromJsonString(jsonString, options);
2377
- }
2378
-
2379
- static equals(a: Subscription | PlainMessage<Subscription> | undefined, b: Subscription | PlainMessage<Subscription> | undefined): boolean {
2380
- return proto3.util.equals(Subscription, a, b);
2381
- }
2382
- }
1577
+ /**
1578
+ * Describes the message raystack.frontier.v1beta1.Subscription.
1579
+ * Use `create(SubscriptionSchema)` to create a new message.
1580
+ */
1581
+ export const SubscriptionSchema: GenMessage<Subscription> = /*@__PURE__*/
1582
+ messageDesc(file_raystack_frontier_v1beta1_models, 27);
2383
1583
 
2384
1584
  /**
2385
1585
  * @generated from message raystack.frontier.v1beta1.Subscription.Phase
2386
1586
  */
2387
- export class Subscription_Phase extends Message<Subscription_Phase> {
1587
+ export type Subscription_Phase = Message<"raystack.frontier.v1beta1.Subscription.Phase"> & {
2388
1588
  /**
2389
1589
  * @generated from field: google.protobuf.Timestamp effective_at = 1;
2390
1590
  */
@@ -2393,86 +1593,64 @@ export class Subscription_Phase extends Message<Subscription_Phase> {
2393
1593
  /**
2394
1594
  * @generated from field: string plan_id = 2;
2395
1595
  */
2396
- planId = "";
1596
+ planId: string;
2397
1597
 
2398
1598
  /**
2399
1599
  * @generated from field: string reason = 3;
2400
1600
  */
2401
- reason = "";
2402
-
2403
- constructor(data?: PartialMessage<Subscription_Phase>) {
2404
- super();
2405
- proto3.util.initPartial(data, this);
2406
- }
2407
-
2408
- static readonly runtime: typeof proto3 = proto3;
2409
- static readonly typeName = "raystack.frontier.v1beta1.Subscription.Phase";
2410
- static readonly fields: FieldList = proto3.util.newFieldList(() => [
2411
- { no: 1, name: "effective_at", kind: "message", T: Timestamp },
2412
- { no: 2, name: "plan_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
2413
- { no: 3, name: "reason", kind: "scalar", T: 9 /* ScalarType.STRING */ },
2414
- ]);
2415
-
2416
- static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): Subscription_Phase {
2417
- return new Subscription_Phase().fromBinary(bytes, options);
2418
- }
1601
+ reason: string;
1602
+ };
2419
1603
 
2420
- static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): Subscription_Phase {
2421
- return new Subscription_Phase().fromJson(jsonValue, options);
2422
- }
2423
-
2424
- static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): Subscription_Phase {
2425
- return new Subscription_Phase().fromJsonString(jsonString, options);
2426
- }
2427
-
2428
- static equals(a: Subscription_Phase | PlainMessage<Subscription_Phase> | undefined, b: Subscription_Phase | PlainMessage<Subscription_Phase> | undefined): boolean {
2429
- return proto3.util.equals(Subscription_Phase, a, b);
2430
- }
2431
- }
1604
+ /**
1605
+ * Describes the message raystack.frontier.v1beta1.Subscription.Phase.
1606
+ * Use `create(Subscription_PhaseSchema)` to create a new message.
1607
+ */
1608
+ export const Subscription_PhaseSchema: GenMessage<Subscription_Phase> = /*@__PURE__*/
1609
+ messageDesc(file_raystack_frontier_v1beta1_models, 27, 0);
2432
1610
 
2433
1611
  /**
2434
1612
  * @generated from message raystack.frontier.v1beta1.CheckoutSession
2435
1613
  */
2436
- export class CheckoutSession extends Message<CheckoutSession> {
1614
+ export type CheckoutSession = Message<"raystack.frontier.v1beta1.CheckoutSession"> & {
2437
1615
  /**
2438
1616
  * @generated from field: string id = 1;
2439
1617
  */
2440
- id = "";
1618
+ id: string;
2441
1619
 
2442
1620
  /**
2443
1621
  * @generated from field: string checkout_url = 2;
2444
1622
  */
2445
- checkoutUrl = "";
1623
+ checkoutUrl: string;
2446
1624
 
2447
1625
  /**
2448
1626
  * @generated from field: string success_url = 3;
2449
1627
  */
2450
- successUrl = "";
1628
+ successUrl: string;
2451
1629
 
2452
1630
  /**
2453
1631
  * @generated from field: string cancel_url = 4;
2454
1632
  */
2455
- cancelUrl = "";
1633
+ cancelUrl: string;
2456
1634
 
2457
1635
  /**
2458
1636
  * @generated from field: string state = 5;
2459
1637
  */
2460
- state = "";
1638
+ state: string;
2461
1639
 
2462
1640
  /**
2463
1641
  * @generated from field: string plan = 6;
2464
1642
  */
2465
- plan = "";
1643
+ plan: string;
2466
1644
 
2467
1645
  /**
2468
1646
  * @generated from field: string product = 7;
2469
1647
  */
2470
- product = "";
1648
+ product: string;
2471
1649
 
2472
1650
  /**
2473
1651
  * @generated from field: google.protobuf.Struct metadata = 10;
2474
1652
  */
2475
- metadata?: Struct;
1653
+ metadata?: JsonObject;
2476
1654
 
2477
1655
  /**
2478
1656
  * @generated from field: google.protobuf.Timestamp created_at = 11;
@@ -2488,95 +1666,65 @@ export class CheckoutSession extends Message<CheckoutSession> {
2488
1666
  * @generated from field: google.protobuf.Timestamp expire_at = 13;
2489
1667
  */
2490
1668
  expireAt?: Timestamp;
1669
+ };
2491
1670
 
2492
- constructor(data?: PartialMessage<CheckoutSession>) {
2493
- super();
2494
- proto3.util.initPartial(data, this);
2495
- }
2496
-
2497
- static readonly runtime: typeof proto3 = proto3;
2498
- static readonly typeName = "raystack.frontier.v1beta1.CheckoutSession";
2499
- static readonly fields: FieldList = proto3.util.newFieldList(() => [
2500
- { no: 1, name: "id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
2501
- { no: 2, name: "checkout_url", kind: "scalar", T: 9 /* ScalarType.STRING */ },
2502
- { no: 3, name: "success_url", kind: "scalar", T: 9 /* ScalarType.STRING */ },
2503
- { no: 4, name: "cancel_url", kind: "scalar", T: 9 /* ScalarType.STRING */ },
2504
- { no: 5, name: "state", kind: "scalar", T: 9 /* ScalarType.STRING */ },
2505
- { no: 6, name: "plan", kind: "scalar", T: 9 /* ScalarType.STRING */ },
2506
- { no: 7, name: "product", kind: "scalar", T: 9 /* ScalarType.STRING */ },
2507
- { no: 10, name: "metadata", kind: "message", T: Struct },
2508
- { no: 11, name: "created_at", kind: "message", T: Timestamp },
2509
- { no: 12, name: "updated_at", kind: "message", T: Timestamp },
2510
- { no: 13, name: "expire_at", kind: "message", T: Timestamp },
2511
- ]);
2512
-
2513
- static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): CheckoutSession {
2514
- return new CheckoutSession().fromBinary(bytes, options);
2515
- }
2516
-
2517
- static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): CheckoutSession {
2518
- return new CheckoutSession().fromJson(jsonValue, options);
2519
- }
2520
-
2521
- static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): CheckoutSession {
2522
- return new CheckoutSession().fromJsonString(jsonString, options);
2523
- }
2524
-
2525
- static equals(a: CheckoutSession | PlainMessage<CheckoutSession> | undefined, b: CheckoutSession | PlainMessage<CheckoutSession> | undefined): boolean {
2526
- return proto3.util.equals(CheckoutSession, a, b);
2527
- }
2528
- }
1671
+ /**
1672
+ * Describes the message raystack.frontier.v1beta1.CheckoutSession.
1673
+ * Use `create(CheckoutSessionSchema)` to create a new message.
1674
+ */
1675
+ export const CheckoutSessionSchema: GenMessage<CheckoutSession> = /*@__PURE__*/
1676
+ messageDesc(file_raystack_frontier_v1beta1_models, 28);
2529
1677
 
2530
1678
  /**
2531
1679
  * @generated from message raystack.frontier.v1beta1.Plan
2532
1680
  */
2533
- export class Plan extends Message<Plan> {
1681
+ export type Plan = Message<"raystack.frontier.v1beta1.Plan"> & {
2534
1682
  /**
2535
1683
  * @generated from field: string id = 1;
2536
1684
  */
2537
- id = "";
1685
+ id: string;
2538
1686
 
2539
1687
  /**
2540
1688
  * @generated from field: string name = 2;
2541
1689
  */
2542
- name = "";
1690
+ name: string;
2543
1691
 
2544
1692
  /**
2545
1693
  * @generated from field: string title = 3;
2546
1694
  */
2547
- title = "";
1695
+ title: string;
2548
1696
 
2549
1697
  /**
2550
1698
  * @generated from field: string description = 4;
2551
1699
  */
2552
- description = "";
1700
+ description: string;
2553
1701
 
2554
1702
  /**
2555
1703
  * @generated from field: repeated raystack.frontier.v1beta1.Product products = 5;
2556
1704
  */
2557
- products: Product[] = [];
1705
+ products: Product[];
2558
1706
 
2559
1707
  /**
2560
1708
  * known intervals are "day", "week", "month", and "year"
2561
1709
  *
2562
1710
  * @generated from field: string interval = 6;
2563
1711
  */
2564
- interval = "";
1712
+ interval: string;
2565
1713
 
2566
1714
  /**
2567
1715
  * @generated from field: int64 on_start_credits = 7;
2568
1716
  */
2569
- onStartCredits = protoInt64.zero;
1717
+ onStartCredits: bigint;
2570
1718
 
2571
1719
  /**
2572
1720
  * @generated from field: int64 trial_days = 8;
2573
1721
  */
2574
- trialDays = protoInt64.zero;
1722
+ trialDays: bigint;
2575
1723
 
2576
1724
  /**
2577
1725
  * @generated from field: google.protobuf.Struct metadata = 20;
2578
1726
  */
2579
- metadata?: Struct;
1727
+ metadata?: JsonObject;
2580
1728
 
2581
1729
  /**
2582
1730
  * @generated from field: google.protobuf.Timestamp created_at = 21;
@@ -2587,93 +1735,63 @@ export class Plan extends Message<Plan> {
2587
1735
  * @generated from field: google.protobuf.Timestamp updated_at = 22;
2588
1736
  */
2589
1737
  updatedAt?: Timestamp;
1738
+ };
2590
1739
 
2591
- constructor(data?: PartialMessage<Plan>) {
2592
- super();
2593
- proto3.util.initPartial(data, this);
2594
- }
2595
-
2596
- static readonly runtime: typeof proto3 = proto3;
2597
- static readonly typeName = "raystack.frontier.v1beta1.Plan";
2598
- static readonly fields: FieldList = proto3.util.newFieldList(() => [
2599
- { no: 1, name: "id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
2600
- { no: 2, name: "name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
2601
- { no: 3, name: "title", kind: "scalar", T: 9 /* ScalarType.STRING */ },
2602
- { no: 4, name: "description", kind: "scalar", T: 9 /* ScalarType.STRING */ },
2603
- { no: 5, name: "products", kind: "message", T: Product, repeated: true },
2604
- { no: 6, name: "interval", kind: "scalar", T: 9 /* ScalarType.STRING */ },
2605
- { no: 7, name: "on_start_credits", kind: "scalar", T: 3 /* ScalarType.INT64 */ },
2606
- { no: 8, name: "trial_days", kind: "scalar", T: 3 /* ScalarType.INT64 */ },
2607
- { no: 20, name: "metadata", kind: "message", T: Struct },
2608
- { no: 21, name: "created_at", kind: "message", T: Timestamp },
2609
- { no: 22, name: "updated_at", kind: "message", T: Timestamp },
2610
- ]);
2611
-
2612
- static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): Plan {
2613
- return new Plan().fromBinary(bytes, options);
2614
- }
2615
-
2616
- static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): Plan {
2617
- return new Plan().fromJson(jsonValue, options);
2618
- }
2619
-
2620
- static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): Plan {
2621
- return new Plan().fromJsonString(jsonString, options);
2622
- }
2623
-
2624
- static equals(a: Plan | PlainMessage<Plan> | undefined, b: Plan | PlainMessage<Plan> | undefined): boolean {
2625
- return proto3.util.equals(Plan, a, b);
2626
- }
2627
- }
1740
+ /**
1741
+ * Describes the message raystack.frontier.v1beta1.Plan.
1742
+ * Use `create(PlanSchema)` to create a new message.
1743
+ */
1744
+ export const PlanSchema: GenMessage<Plan> = /*@__PURE__*/
1745
+ messageDesc(file_raystack_frontier_v1beta1_models, 29);
2628
1746
 
2629
1747
  /**
2630
1748
  * @generated from message raystack.frontier.v1beta1.Product
2631
1749
  */
2632
- export class Product extends Message<Product> {
1750
+ export type Product = Message<"raystack.frontier.v1beta1.Product"> & {
2633
1751
  /**
2634
1752
  * @generated from field: string id = 1;
2635
1753
  */
2636
- id = "";
1754
+ id: string;
2637
1755
 
2638
1756
  /**
2639
1757
  * @generated from field: string name = 2;
2640
1758
  */
2641
- name = "";
1759
+ name: string;
2642
1760
 
2643
1761
  /**
2644
1762
  * @generated from field: string title = 3;
2645
1763
  */
2646
- title = "";
1764
+ title: string;
2647
1765
 
2648
1766
  /**
2649
1767
  * @generated from field: string description = 4;
2650
1768
  */
2651
- description = "";
1769
+ description: string;
2652
1770
 
2653
1771
  /**
2654
1772
  * @generated from field: repeated string plan_ids = 5;
2655
1773
  */
2656
- planIds: string[] = [];
1774
+ planIds: string[];
2657
1775
 
2658
1776
  /**
2659
1777
  * @generated from field: string state = 6;
2660
1778
  */
2661
- state = "";
1779
+ state: string;
2662
1780
 
2663
1781
  /**
2664
1782
  * @generated from field: repeated raystack.frontier.v1beta1.Price prices = 7;
2665
1783
  */
2666
- prices: Price[] = [];
1784
+ prices: Price[];
2667
1785
 
2668
1786
  /**
2669
1787
  * @generated from field: string behavior = 9;
2670
1788
  */
2671
- behavior = "";
1789
+ behavior: string;
2672
1790
 
2673
1791
  /**
2674
1792
  * @generated from field: repeated raystack.frontier.v1beta1.Feature features = 10;
2675
1793
  */
2676
- features: Feature[] = [];
1794
+ features: Feature[];
2677
1795
 
2678
1796
  /**
2679
1797
  * @generated from field: raystack.frontier.v1beta1.Product.BehaviorConfig behavior_config = 11;
@@ -2683,7 +1801,7 @@ export class Product extends Message<Product> {
2683
1801
  /**
2684
1802
  * @generated from field: google.protobuf.Struct metadata = 20;
2685
1803
  */
2686
- metadata?: Struct;
1804
+ metadata?: JsonObject;
2687
1805
 
2688
1806
  /**
2689
1807
  * @generated from field: google.protobuf.Timestamp created_at = 21;
@@ -2694,134 +1812,79 @@ export class Product extends Message<Product> {
2694
1812
  * @generated from field: google.protobuf.Timestamp updated_at = 22;
2695
1813
  */
2696
1814
  updatedAt?: Timestamp;
1815
+ };
2697
1816
 
2698
- constructor(data?: PartialMessage<Product>) {
2699
- super();
2700
- proto3.util.initPartial(data, this);
2701
- }
2702
-
2703
- static readonly runtime: typeof proto3 = proto3;
2704
- static readonly typeName = "raystack.frontier.v1beta1.Product";
2705
- static readonly fields: FieldList = proto3.util.newFieldList(() => [
2706
- { no: 1, name: "id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
2707
- { no: 2, name: "name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
2708
- { no: 3, name: "title", kind: "scalar", T: 9 /* ScalarType.STRING */ },
2709
- { no: 4, name: "description", kind: "scalar", T: 9 /* ScalarType.STRING */ },
2710
- { no: 5, name: "plan_ids", kind: "scalar", T: 9 /* ScalarType.STRING */, repeated: true },
2711
- { no: 6, name: "state", kind: "scalar", T: 9 /* ScalarType.STRING */ },
2712
- { no: 7, name: "prices", kind: "message", T: Price, repeated: true },
2713
- { no: 9, name: "behavior", kind: "scalar", T: 9 /* ScalarType.STRING */ },
2714
- { no: 10, name: "features", kind: "message", T: Feature, repeated: true },
2715
- { no: 11, name: "behavior_config", kind: "message", T: Product_BehaviorConfig },
2716
- { no: 20, name: "metadata", kind: "message", T: Struct },
2717
- { no: 21, name: "created_at", kind: "message", T: Timestamp },
2718
- { no: 22, name: "updated_at", kind: "message", T: Timestamp },
2719
- ]);
2720
-
2721
- static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): Product {
2722
- return new Product().fromBinary(bytes, options);
2723
- }
2724
-
2725
- static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): Product {
2726
- return new Product().fromJson(jsonValue, options);
2727
- }
2728
-
2729
- static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): Product {
2730
- return new Product().fromJsonString(jsonString, options);
2731
- }
2732
-
2733
- static equals(a: Product | PlainMessage<Product> | undefined, b: Product | PlainMessage<Product> | undefined): boolean {
2734
- return proto3.util.equals(Product, a, b);
2735
- }
2736
- }
1817
+ /**
1818
+ * Describes the message raystack.frontier.v1beta1.Product.
1819
+ * Use `create(ProductSchema)` to create a new message.
1820
+ */
1821
+ export const ProductSchema: GenMessage<Product> = /*@__PURE__*/
1822
+ messageDesc(file_raystack_frontier_v1beta1_models, 30);
2737
1823
 
2738
1824
  /**
2739
1825
  * @generated from message raystack.frontier.v1beta1.Product.BehaviorConfig
2740
1826
  */
2741
- export class Product_BehaviorConfig extends Message<Product_BehaviorConfig> {
1827
+ export type Product_BehaviorConfig = Message<"raystack.frontier.v1beta1.Product.BehaviorConfig"> & {
2742
1828
  /**
2743
1829
  * @generated from field: int64 credit_amount = 1;
2744
1830
  */
2745
- creditAmount = protoInt64.zero;
1831
+ creditAmount: bigint;
2746
1832
 
2747
1833
  /**
2748
1834
  * @generated from field: int64 seat_limit = 2;
2749
1835
  */
2750
- seatLimit = protoInt64.zero;
1836
+ seatLimit: bigint;
2751
1837
 
2752
1838
  /**
2753
1839
  * @generated from field: int64 min_quantity = 3;
2754
1840
  */
2755
- minQuantity = protoInt64.zero;
1841
+ minQuantity: bigint;
2756
1842
 
2757
1843
  /**
2758
1844
  * @generated from field: int64 max_quantity = 4;
2759
1845
  */
2760
- maxQuantity = protoInt64.zero;
2761
-
2762
- constructor(data?: PartialMessage<Product_BehaviorConfig>) {
2763
- super();
2764
- proto3.util.initPartial(data, this);
2765
- }
2766
-
2767
- static readonly runtime: typeof proto3 = proto3;
2768
- static readonly typeName = "raystack.frontier.v1beta1.Product.BehaviorConfig";
2769
- static readonly fields: FieldList = proto3.util.newFieldList(() => [
2770
- { no: 1, name: "credit_amount", kind: "scalar", T: 3 /* ScalarType.INT64 */ },
2771
- { no: 2, name: "seat_limit", kind: "scalar", T: 3 /* ScalarType.INT64 */ },
2772
- { no: 3, name: "min_quantity", kind: "scalar", T: 3 /* ScalarType.INT64 */ },
2773
- { no: 4, name: "max_quantity", kind: "scalar", T: 3 /* ScalarType.INT64 */ },
2774
- ]);
2775
-
2776
- static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): Product_BehaviorConfig {
2777
- return new Product_BehaviorConfig().fromBinary(bytes, options);
2778
- }
2779
-
2780
- static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): Product_BehaviorConfig {
2781
- return new Product_BehaviorConfig().fromJson(jsonValue, options);
2782
- }
2783
-
2784
- static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): Product_BehaviorConfig {
2785
- return new Product_BehaviorConfig().fromJsonString(jsonString, options);
2786
- }
2787
-
2788
- static equals(a: Product_BehaviorConfig | PlainMessage<Product_BehaviorConfig> | undefined, b: Product_BehaviorConfig | PlainMessage<Product_BehaviorConfig> | undefined): boolean {
2789
- return proto3.util.equals(Product_BehaviorConfig, a, b);
2790
- }
2791
- }
1846
+ maxQuantity: bigint;
1847
+ };
1848
+
1849
+ /**
1850
+ * Describes the message raystack.frontier.v1beta1.Product.BehaviorConfig.
1851
+ * Use `create(Product_BehaviorConfigSchema)` to create a new message.
1852
+ */
1853
+ export const Product_BehaviorConfigSchema: GenMessage<Product_BehaviorConfig> = /*@__PURE__*/
1854
+ messageDesc(file_raystack_frontier_v1beta1_models, 30, 0);
2792
1855
 
2793
1856
  /**
2794
1857
  * @generated from message raystack.frontier.v1beta1.Feature
2795
1858
  */
2796
- export class Feature extends Message<Feature> {
1859
+ export type Feature = Message<"raystack.frontier.v1beta1.Feature"> & {
2797
1860
  /**
2798
1861
  * @generated from field: string id = 1;
2799
1862
  */
2800
- id = "";
1863
+ id: string;
2801
1864
 
2802
1865
  /**
2803
1866
  * machine friendly name
2804
1867
  *
2805
1868
  * @generated from field: string name = 2;
2806
1869
  */
2807
- name = "";
1870
+ name: string;
2808
1871
 
2809
1872
  /**
2810
1873
  * @generated from field: repeated string product_ids = 3;
2811
1874
  */
2812
- productIds: string[] = [];
1875
+ productIds: string[];
2813
1876
 
2814
1877
  /**
2815
1878
  * human friendly name
2816
1879
  *
2817
1880
  * @generated from field: string title = 4;
2818
1881
  */
2819
- title = "";
1882
+ title: string;
2820
1883
 
2821
1884
  /**
2822
1885
  * @generated from field: google.protobuf.Struct metadata = 20;
2823
1886
  */
2824
- metadata?: Struct;
1887
+ metadata?: JsonObject;
2825
1888
 
2826
1889
  /**
2827
1890
  * @generated from field: google.protobuf.Timestamp created_at = 21;
@@ -2832,121 +1895,95 @@ export class Feature extends Message<Feature> {
2832
1895
  * @generated from field: google.protobuf.Timestamp updated_at = 22;
2833
1896
  */
2834
1897
  updatedAt?: Timestamp;
1898
+ };
2835
1899
 
2836
- constructor(data?: PartialMessage<Feature>) {
2837
- super();
2838
- proto3.util.initPartial(data, this);
2839
- }
2840
-
2841
- static readonly runtime: typeof proto3 = proto3;
2842
- static readonly typeName = "raystack.frontier.v1beta1.Feature";
2843
- static readonly fields: FieldList = proto3.util.newFieldList(() => [
2844
- { no: 1, name: "id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
2845
- { no: 2, name: "name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
2846
- { no: 3, name: "product_ids", kind: "scalar", T: 9 /* ScalarType.STRING */, repeated: true },
2847
- { no: 4, name: "title", kind: "scalar", T: 9 /* ScalarType.STRING */ },
2848
- { no: 20, name: "metadata", kind: "message", T: Struct },
2849
- { no: 21, name: "created_at", kind: "message", T: Timestamp },
2850
- { no: 22, name: "updated_at", kind: "message", T: Timestamp },
2851
- ]);
2852
-
2853
- static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): Feature {
2854
- return new Feature().fromBinary(bytes, options);
2855
- }
2856
-
2857
- static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): Feature {
2858
- return new Feature().fromJson(jsonValue, options);
2859
- }
2860
-
2861
- static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): Feature {
2862
- return new Feature().fromJsonString(jsonString, options);
2863
- }
2864
-
2865
- static equals(a: Feature | PlainMessage<Feature> | undefined, b: Feature | PlainMessage<Feature> | undefined): boolean {
2866
- return proto3.util.equals(Feature, a, b);
2867
- }
2868
- }
1900
+ /**
1901
+ * Describes the message raystack.frontier.v1beta1.Feature.
1902
+ * Use `create(FeatureSchema)` to create a new message.
1903
+ */
1904
+ export const FeatureSchema: GenMessage<Feature> = /*@__PURE__*/
1905
+ messageDesc(file_raystack_frontier_v1beta1_models, 31);
2869
1906
 
2870
1907
  /**
2871
1908
  * @generated from message raystack.frontier.v1beta1.Price
2872
1909
  */
2873
- export class Price extends Message<Price> {
1910
+ export type Price = Message<"raystack.frontier.v1beta1.Price"> & {
2874
1911
  /**
2875
1912
  * @generated from field: string id = 1;
2876
1913
  */
2877
- id = "";
1914
+ id: string;
2878
1915
 
2879
1916
  /**
2880
1917
  * @generated from field: string product_id = 2;
2881
1918
  */
2882
- productId = "";
1919
+ productId: string;
2883
1920
 
2884
1921
  /**
2885
1922
  * @generated from field: string provider_id = 3;
2886
1923
  */
2887
- providerId = "";
1924
+ providerId: string;
2888
1925
 
2889
1926
  /**
2890
1927
  * @generated from field: string name = 4;
2891
1928
  */
2892
- name = "";
1929
+ name: string;
2893
1930
 
2894
1931
  /**
2895
1932
  * known intervals are "day", "week", "month", and "year"
2896
1933
  *
2897
1934
  * @generated from field: string interval = 6;
2898
1935
  */
2899
- interval = "";
1936
+ interval: string;
2900
1937
 
2901
1938
  /**
2902
1939
  * usage_type known types are "licensed" and "metered"
2903
1940
  *
2904
1941
  * @generated from field: string usage_type = 7;
2905
1942
  */
2906
- usageType = "";
1943
+ usageType: string;
2907
1944
 
2908
1945
  /**
2909
1946
  * billing_scheme known schemes are "tiered" and "flat"
2910
1947
  *
2911
1948
  * @generated from field: string billing_scheme = 8;
2912
1949
  */
2913
- billingScheme = "";
1950
+ billingScheme: string;
2914
1951
 
2915
1952
  /**
2916
1953
  * @generated from field: string state = 9;
2917
1954
  */
2918
- state = "";
1955
+ state: string;
2919
1956
 
2920
1957
  /**
2921
1958
  * currency like "usd", "eur", "gbp"
2922
1959
  *
2923
1960
  * @generated from field: string currency = 10;
2924
1961
  */
2925
- currency = "";
1962
+ currency: string;
2926
1963
 
2927
1964
  /**
2928
1965
  * @generated from field: int64 amount = 11;
2929
1966
  */
2930
- amount = protoInt64.zero;
1967
+ amount: bigint;
2931
1968
 
2932
1969
  /**
2933
1970
  * metered_aggregate known aggregations are "sum", "last_during_period" and "max"
2934
1971
  *
2935
1972
  * @generated from field: string metered_aggregate = 13;
2936
1973
  */
2937
- meteredAggregate = "";
1974
+ meteredAggregate: string;
2938
1975
 
2939
1976
  /**
2940
1977
  * tier_mode known modes are "graduated" and "volume"
2941
1978
  *
2942
1979
  * @generated from field: string tier_mode = 14;
2943
1980
  */
2944
- tierMode = "";
1981
+ tierMode: string;
2945
1982
 
2946
1983
  /**
2947
1984
  * @generated from field: google.protobuf.Struct metadata = 20;
2948
1985
  */
2949
- metadata?: Struct;
1986
+ metadata?: JsonObject;
2950
1987
 
2951
1988
  /**
2952
1989
  * @generated from field: google.protobuf.Timestamp created_at = 21;
@@ -2957,96 +1994,62 @@ export class Price extends Message<Price> {
2957
1994
  * @generated from field: google.protobuf.Timestamp updated_at = 22;
2958
1995
  */
2959
1996
  updatedAt?: Timestamp;
1997
+ };
2960
1998
 
2961
- constructor(data?: PartialMessage<Price>) {
2962
- super();
2963
- proto3.util.initPartial(data, this);
2964
- }
2965
-
2966
- static readonly runtime: typeof proto3 = proto3;
2967
- static readonly typeName = "raystack.frontier.v1beta1.Price";
2968
- static readonly fields: FieldList = proto3.util.newFieldList(() => [
2969
- { no: 1, name: "id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
2970
- { no: 2, name: "product_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
2971
- { no: 3, name: "provider_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
2972
- { no: 4, name: "name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
2973
- { no: 6, name: "interval", kind: "scalar", T: 9 /* ScalarType.STRING */ },
2974
- { no: 7, name: "usage_type", kind: "scalar", T: 9 /* ScalarType.STRING */ },
2975
- { no: 8, name: "billing_scheme", kind: "scalar", T: 9 /* ScalarType.STRING */ },
2976
- { no: 9, name: "state", kind: "scalar", T: 9 /* ScalarType.STRING */ },
2977
- { no: 10, name: "currency", kind: "scalar", T: 9 /* ScalarType.STRING */ },
2978
- { no: 11, name: "amount", kind: "scalar", T: 3 /* ScalarType.INT64 */ },
2979
- { no: 13, name: "metered_aggregate", kind: "scalar", T: 9 /* ScalarType.STRING */ },
2980
- { no: 14, name: "tier_mode", kind: "scalar", T: 9 /* ScalarType.STRING */ },
2981
- { no: 20, name: "metadata", kind: "message", T: Struct },
2982
- { no: 21, name: "created_at", kind: "message", T: Timestamp },
2983
- { no: 22, name: "updated_at", kind: "message", T: Timestamp },
2984
- ]);
2985
-
2986
- static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): Price {
2987
- return new Price().fromBinary(bytes, options);
2988
- }
2989
-
2990
- static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): Price {
2991
- return new Price().fromJson(jsonValue, options);
2992
- }
2993
-
2994
- static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): Price {
2995
- return new Price().fromJsonString(jsonString, options);
2996
- }
2997
-
2998
- static equals(a: Price | PlainMessage<Price> | undefined, b: Price | PlainMessage<Price> | undefined): boolean {
2999
- return proto3.util.equals(Price, a, b);
3000
- }
3001
- }
1999
+ /**
2000
+ * Describes the message raystack.frontier.v1beta1.Price.
2001
+ * Use `create(PriceSchema)` to create a new message.
2002
+ */
2003
+ export const PriceSchema: GenMessage<Price> = /*@__PURE__*/
2004
+ messageDesc(file_raystack_frontier_v1beta1_models, 32);
3002
2005
 
3003
2006
  /**
3004
2007
  * @generated from message raystack.frontier.v1beta1.BillingTransaction
3005
2008
  */
3006
- export class BillingTransaction extends Message<BillingTransaction> {
2009
+ export type BillingTransaction = Message<"raystack.frontier.v1beta1.BillingTransaction"> & {
3007
2010
  /**
3008
2011
  * @generated from field: string id = 1;
3009
2012
  */
3010
- id = "";
2013
+ id: string;
3011
2014
 
3012
2015
  /**
3013
2016
  * @generated from field: string customer_id = 2;
3014
2017
  */
3015
- customerId = "";
2018
+ customerId: string;
3016
2019
 
3017
2020
  /**
3018
2021
  * additional metadata for storing event/service that triggered this usage
3019
2022
  *
3020
2023
  * @generated from field: string source = 3;
3021
2024
  */
3022
- source = "";
2025
+ source: string;
3023
2026
 
3024
2027
  /**
3025
2028
  * @generated from field: int64 amount = 4;
3026
2029
  */
3027
- amount = protoInt64.zero;
2030
+ amount: bigint;
3028
2031
 
3029
2032
  /**
3030
2033
  * @generated from field: string type = 5;
3031
2034
  */
3032
- type = "";
2035
+ type: string;
3033
2036
 
3034
2037
  /**
3035
2038
  * @generated from field: string description = 6;
3036
2039
  */
3037
- description = "";
2040
+ description: string;
3038
2041
 
3039
2042
  /**
3040
2043
  * user_id is the user that triggered this usage
3041
2044
  *
3042
2045
  * @generated from field: string user_id = 7;
3043
2046
  */
3044
- userId = "";
2047
+ userId: string;
3045
2048
 
3046
2049
  /**
3047
2050
  * @generated from field: google.protobuf.Struct metadata = 20;
3048
2051
  */
3049
- metadata?: Struct;
2052
+ metadata?: JsonObject;
3050
2053
 
3051
2054
  /**
3052
2055
  * @generated from field: google.protobuf.Timestamp created_at = 21;
@@ -3067,73 +2070,42 @@ export class BillingTransaction extends Message<BillingTransaction> {
3067
2070
  * @generated from field: raystack.frontier.v1beta1.BillingAccount customer = 102;
3068
2071
  */
3069
2072
  customer?: BillingAccount;
2073
+ };
3070
2074
 
3071
- constructor(data?: PartialMessage<BillingTransaction>) {
3072
- super();
3073
- proto3.util.initPartial(data, this);
3074
- }
3075
-
3076
- static readonly runtime: typeof proto3 = proto3;
3077
- static readonly typeName = "raystack.frontier.v1beta1.BillingTransaction";
3078
- static readonly fields: FieldList = proto3.util.newFieldList(() => [
3079
- { no: 1, name: "id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
3080
- { no: 2, name: "customer_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
3081
- { no: 3, name: "source", kind: "scalar", T: 9 /* ScalarType.STRING */ },
3082
- { no: 4, name: "amount", kind: "scalar", T: 3 /* ScalarType.INT64 */ },
3083
- { no: 5, name: "type", kind: "scalar", T: 9 /* ScalarType.STRING */ },
3084
- { no: 6, name: "description", kind: "scalar", T: 9 /* ScalarType.STRING */ },
3085
- { no: 7, name: "user_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
3086
- { no: 20, name: "metadata", kind: "message", T: Struct },
3087
- { no: 21, name: "created_at", kind: "message", T: Timestamp },
3088
- { no: 22, name: "updated_at", kind: "message", T: Timestamp },
3089
- { no: 101, name: "user", kind: "message", T: User },
3090
- { no: 102, name: "customer", kind: "message", T: BillingAccount },
3091
- ]);
3092
-
3093
- static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): BillingTransaction {
3094
- return new BillingTransaction().fromBinary(bytes, options);
3095
- }
3096
-
3097
- static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): BillingTransaction {
3098
- return new BillingTransaction().fromJson(jsonValue, options);
3099
- }
3100
-
3101
- static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): BillingTransaction {
3102
- return new BillingTransaction().fromJsonString(jsonString, options);
3103
- }
3104
-
3105
- static equals(a: BillingTransaction | PlainMessage<BillingTransaction> | undefined, b: BillingTransaction | PlainMessage<BillingTransaction> | undefined): boolean {
3106
- return proto3.util.equals(BillingTransaction, a, b);
3107
- }
3108
- }
2075
+ /**
2076
+ * Describes the message raystack.frontier.v1beta1.BillingTransaction.
2077
+ * Use `create(BillingTransactionSchema)` to create a new message.
2078
+ */
2079
+ export const BillingTransactionSchema: GenMessage<BillingTransaction> = /*@__PURE__*/
2080
+ messageDesc(file_raystack_frontier_v1beta1_models, 33);
3109
2081
 
3110
2082
  /**
3111
2083
  * @generated from message raystack.frontier.v1beta1.Usage
3112
2084
  */
3113
- export class Usage extends Message<Usage> {
2085
+ export type Usage = Message<"raystack.frontier.v1beta1.Usage"> & {
3114
2086
  /**
3115
2087
  * uuid used as an idempotent key
3116
2088
  *
3117
2089
  * @generated from field: string id = 1;
3118
2090
  */
3119
- id = "";
2091
+ id: string;
3120
2092
 
3121
2093
  /**
3122
2094
  * @generated from field: string customer_id = 2;
3123
2095
  */
3124
- customerId = "";
2096
+ customerId: string;
3125
2097
 
3126
2098
  /**
3127
2099
  * additional metadata for storing event/service that triggered this usage
3128
2100
  *
3129
2101
  * @generated from field: string source = 3;
3130
2102
  */
3131
- source = "";
2103
+ source: string;
3132
2104
 
3133
2105
  /**
3134
2106
  * @generated from field: string description = 4;
3135
2107
  */
3136
- description = "";
2108
+ description: string;
3137
2109
 
3138
2110
  /**
3139
2111
  * Type is the type of usage, it can be credit or feature
@@ -3142,24 +2114,24 @@ export class Usage extends Message<Usage> {
3142
2114
  *
3143
2115
  * @generated from field: string type = 5;
3144
2116
  */
3145
- type = "";
2117
+ type: string;
3146
2118
 
3147
2119
  /**
3148
2120
  * @generated from field: int64 amount = 6;
3149
2121
  */
3150
- amount = protoInt64.zero;
2122
+ amount: bigint;
3151
2123
 
3152
2124
  /**
3153
2125
  * user_id is the user that triggered this usage
3154
2126
  *
3155
2127
  * @generated from field: string user_id = 7;
3156
2128
  */
3157
- userId = "";
2129
+ userId: string;
3158
2130
 
3159
2131
  /**
3160
2132
  * @generated from field: google.protobuf.Struct metadata = 20;
3161
2133
  */
3162
- metadata?: Struct;
2134
+ metadata?: JsonObject;
3163
2135
 
3164
2136
  /**
3165
2137
  * @generated from field: google.protobuf.Timestamp created_at = 21;
@@ -3170,82 +2142,53 @@ export class Usage extends Message<Usage> {
3170
2142
  * @generated from field: google.protobuf.Timestamp updated_at = 22;
3171
2143
  */
3172
2144
  updatedAt?: Timestamp;
2145
+ };
3173
2146
 
3174
- constructor(data?: PartialMessage<Usage>) {
3175
- super();
3176
- proto3.util.initPartial(data, this);
3177
- }
3178
-
3179
- static readonly runtime: typeof proto3 = proto3;
3180
- static readonly typeName = "raystack.frontier.v1beta1.Usage";
3181
- static readonly fields: FieldList = proto3.util.newFieldList(() => [
3182
- { no: 1, name: "id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
3183
- { no: 2, name: "customer_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
3184
- { no: 3, name: "source", kind: "scalar", T: 9 /* ScalarType.STRING */ },
3185
- { no: 4, name: "description", kind: "scalar", T: 9 /* ScalarType.STRING */ },
3186
- { no: 5, name: "type", kind: "scalar", T: 9 /* ScalarType.STRING */ },
3187
- { no: 6, name: "amount", kind: "scalar", T: 3 /* ScalarType.INT64 */ },
3188
- { no: 7, name: "user_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
3189
- { no: 20, name: "metadata", kind: "message", T: Struct },
3190
- { no: 21, name: "created_at", kind: "message", T: Timestamp },
3191
- { no: 22, name: "updated_at", kind: "message", T: Timestamp },
3192
- ]);
3193
-
3194
- static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): Usage {
3195
- return new Usage().fromBinary(bytes, options);
3196
- }
3197
-
3198
- static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): Usage {
3199
- return new Usage().fromJson(jsonValue, options);
3200
- }
3201
-
3202
- static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): Usage {
3203
- return new Usage().fromJsonString(jsonString, options);
3204
- }
3205
-
3206
- static equals(a: Usage | PlainMessage<Usage> | undefined, b: Usage | PlainMessage<Usage> | undefined): boolean {
3207
- return proto3.util.equals(Usage, a, b);
3208
- }
3209
- }
2147
+ /**
2148
+ * Describes the message raystack.frontier.v1beta1.Usage.
2149
+ * Use `create(UsageSchema)` to create a new message.
2150
+ */
2151
+ export const UsageSchema: GenMessage<Usage> = /*@__PURE__*/
2152
+ messageDesc(file_raystack_frontier_v1beta1_models, 34);
3210
2153
 
3211
2154
  /**
3212
2155
  * @generated from message raystack.frontier.v1beta1.Invoice
3213
2156
  */
3214
- export class Invoice extends Message<Invoice> {
2157
+ export type Invoice = Message<"raystack.frontier.v1beta1.Invoice"> & {
3215
2158
  /**
3216
2159
  * @generated from field: string id = 1;
3217
2160
  */
3218
- id = "";
2161
+ id: string;
3219
2162
 
3220
2163
  /**
3221
2164
  * @generated from field: string customer_id = 2;
3222
2165
  */
3223
- customerId = "";
2166
+ customerId: string;
3224
2167
 
3225
2168
  /**
3226
2169
  * @generated from field: string provider_id = 3;
3227
2170
  */
3228
- providerId = "";
2171
+ providerId: string;
3229
2172
 
3230
2173
  /**
3231
2174
  * @generated from field: string state = 4;
3232
2175
  */
3233
- state = "";
2176
+ state: string;
3234
2177
 
3235
2178
  /**
3236
2179
  * @generated from field: string currency = 5;
3237
2180
  */
3238
- currency = "";
2181
+ currency: string;
3239
2182
 
3240
2183
  /**
3241
2184
  * @generated from field: int64 amount = 6;
3242
2185
  */
3243
- amount = protoInt64.zero;
2186
+ amount: bigint;
3244
2187
 
3245
2188
  /**
3246
2189
  * @generated from field: string hosted_url = 7;
3247
2190
  */
3248
- hostedUrl = "";
2191
+ hostedUrl: string;
3249
2192
 
3250
2193
  /**
3251
2194
  * The date on which payment for this invoice is due
@@ -3274,7 +2217,7 @@ export class Invoice extends Message<Invoice> {
3274
2217
  /**
3275
2218
  * @generated from field: google.protobuf.Struct metadata = 20;
3276
2219
  */
3277
- metadata?: Struct;
2220
+ metadata?: JsonObject;
3278
2221
 
3279
2222
  /**
3280
2223
  * @generated from field: google.protobuf.Timestamp created_at = 21;
@@ -3285,169 +2228,107 @@ export class Invoice extends Message<Invoice> {
3285
2228
  * @generated from field: raystack.frontier.v1beta1.BillingAccount customer = 101;
3286
2229
  */
3287
2230
  customer?: BillingAccount;
2231
+ };
3288
2232
 
3289
- constructor(data?: PartialMessage<Invoice>) {
3290
- super();
3291
- proto3.util.initPartial(data, this);
3292
- }
3293
-
3294
- static readonly runtime: typeof proto3 = proto3;
3295
- static readonly typeName = "raystack.frontier.v1beta1.Invoice";
3296
- static readonly fields: FieldList = proto3.util.newFieldList(() => [
3297
- { no: 1, name: "id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
3298
- { no: 2, name: "customer_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
3299
- { no: 3, name: "provider_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
3300
- { no: 4, name: "state", kind: "scalar", T: 9 /* ScalarType.STRING */ },
3301
- { no: 5, name: "currency", kind: "scalar", T: 9 /* ScalarType.STRING */ },
3302
- { no: 6, name: "amount", kind: "scalar", T: 3 /* ScalarType.INT64 */ },
3303
- { no: 7, name: "hosted_url", kind: "scalar", T: 9 /* ScalarType.STRING */ },
3304
- { no: 8, name: "due_date", kind: "message", T: Timestamp },
3305
- { no: 9, name: "effective_at", kind: "message", T: Timestamp },
3306
- { no: 10, name: "period_start_at", kind: "message", T: Timestamp },
3307
- { no: 11, name: "period_end_at", kind: "message", T: Timestamp },
3308
- { no: 20, name: "metadata", kind: "message", T: Struct },
3309
- { no: 21, name: "created_at", kind: "message", T: Timestamp },
3310
- { no: 101, name: "customer", kind: "message", T: BillingAccount },
3311
- ]);
3312
-
3313
- static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): Invoice {
3314
- return new Invoice().fromBinary(bytes, options);
3315
- }
3316
-
3317
- static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): Invoice {
3318
- return new Invoice().fromJson(jsonValue, options);
3319
- }
3320
-
3321
- static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): Invoice {
3322
- return new Invoice().fromJsonString(jsonString, options);
3323
- }
3324
-
3325
- static equals(a: Invoice | PlainMessage<Invoice> | undefined, b: Invoice | PlainMessage<Invoice> | undefined): boolean {
3326
- return proto3.util.equals(Invoice, a, b);
3327
- }
3328
- }
2233
+ /**
2234
+ * Describes the message raystack.frontier.v1beta1.Invoice.
2235
+ * Use `create(InvoiceSchema)` to create a new message.
2236
+ */
2237
+ export const InvoiceSchema: GenMessage<Invoice> = /*@__PURE__*/
2238
+ messageDesc(file_raystack_frontier_v1beta1_models, 35);
3329
2239
 
3330
2240
  /**
3331
2241
  * @generated from message raystack.frontier.v1beta1.PaymentMethod
3332
2242
  */
3333
- export class PaymentMethod extends Message<PaymentMethod> {
2243
+ export type PaymentMethod = Message<"raystack.frontier.v1beta1.PaymentMethod"> & {
3334
2244
  /**
3335
2245
  * @generated from field: string id = 1;
3336
2246
  */
3337
- id = "";
2247
+ id: string;
3338
2248
 
3339
2249
  /**
3340
2250
  * @generated from field: string customer_id = 2;
3341
2251
  */
3342
- customerId = "";
2252
+ customerId: string;
3343
2253
 
3344
2254
  /**
3345
2255
  * @generated from field: string provider_id = 3;
3346
2256
  */
3347
- providerId = "";
2257
+ providerId: string;
3348
2258
 
3349
2259
  /**
3350
2260
  * @generated from field: string type = 4;
3351
2261
  */
3352
- type = "";
2262
+ type: string;
3353
2263
 
3354
2264
  /**
3355
2265
  * @generated from field: string card_brand = 15;
3356
2266
  */
3357
- cardBrand = "";
2267
+ cardBrand: string;
3358
2268
 
3359
2269
  /**
3360
2270
  * @generated from field: string card_last4 = 16;
3361
2271
  */
3362
- cardLast4 = "";
2272
+ cardLast4: string;
3363
2273
 
3364
2274
  /**
3365
2275
  * @generated from field: int64 card_expiry_month = 17;
3366
2276
  */
3367
- cardExpiryMonth = protoInt64.zero;
2277
+ cardExpiryMonth: bigint;
3368
2278
 
3369
2279
  /**
3370
2280
  * @generated from field: int64 card_expiry_year = 18;
3371
2281
  */
3372
- cardExpiryYear = protoInt64.zero;
2282
+ cardExpiryYear: bigint;
3373
2283
 
3374
2284
  /**
3375
2285
  * @generated from field: google.protobuf.Struct metadata = 20;
3376
2286
  */
3377
- metadata?: Struct;
2287
+ metadata?: JsonObject;
3378
2288
 
3379
2289
  /**
3380
2290
  * @generated from field: google.protobuf.Timestamp created_at = 21;
3381
2291
  */
3382
2292
  createdAt?: Timestamp;
2293
+ };
3383
2294
 
3384
- constructor(data?: PartialMessage<PaymentMethod>) {
3385
- super();
3386
- proto3.util.initPartial(data, this);
3387
- }
3388
-
3389
- static readonly runtime: typeof proto3 = proto3;
3390
- static readonly typeName = "raystack.frontier.v1beta1.PaymentMethod";
3391
- static readonly fields: FieldList = proto3.util.newFieldList(() => [
3392
- { no: 1, name: "id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
3393
- { no: 2, name: "customer_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
3394
- { no: 3, name: "provider_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
3395
- { no: 4, name: "type", kind: "scalar", T: 9 /* ScalarType.STRING */ },
3396
- { no: 15, name: "card_brand", kind: "scalar", T: 9 /* ScalarType.STRING */ },
3397
- { no: 16, name: "card_last4", kind: "scalar", T: 9 /* ScalarType.STRING */ },
3398
- { no: 17, name: "card_expiry_month", kind: "scalar", T: 3 /* ScalarType.INT64 */ },
3399
- { no: 18, name: "card_expiry_year", kind: "scalar", T: 3 /* ScalarType.INT64 */ },
3400
- { no: 20, name: "metadata", kind: "message", T: Struct },
3401
- { no: 21, name: "created_at", kind: "message", T: Timestamp },
3402
- ]);
3403
-
3404
- static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): PaymentMethod {
3405
- return new PaymentMethod().fromBinary(bytes, options);
3406
- }
3407
-
3408
- static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): PaymentMethod {
3409
- return new PaymentMethod().fromJson(jsonValue, options);
3410
- }
3411
-
3412
- static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): PaymentMethod {
3413
- return new PaymentMethod().fromJsonString(jsonString, options);
3414
- }
3415
-
3416
- static equals(a: PaymentMethod | PlainMessage<PaymentMethod> | undefined, b: PaymentMethod | PlainMessage<PaymentMethod> | undefined): boolean {
3417
- return proto3.util.equals(PaymentMethod, a, b);
3418
- }
3419
- }
2295
+ /**
2296
+ * Describes the message raystack.frontier.v1beta1.PaymentMethod.
2297
+ * Use `create(PaymentMethodSchema)` to create a new message.
2298
+ */
2299
+ export const PaymentMethodSchema: GenMessage<PaymentMethod> = /*@__PURE__*/
2300
+ messageDesc(file_raystack_frontier_v1beta1_models, 36);
3420
2301
 
3421
2302
  /**
3422
2303
  * @generated from message raystack.frontier.v1beta1.Webhook
3423
2304
  */
3424
- export class Webhook extends Message<Webhook> {
2305
+ export type Webhook = Message<"raystack.frontier.v1beta1.Webhook"> & {
3425
2306
  /**
3426
2307
  * @generated from field: string id = 1;
3427
2308
  */
3428
- id = "";
2309
+ id: string;
3429
2310
 
3430
2311
  /**
3431
2312
  * @generated from field: string description = 2;
3432
2313
  */
3433
- description = "";
2314
+ description: string;
3434
2315
 
3435
2316
  /**
3436
2317
  * @generated from field: string url = 3;
3437
2318
  */
3438
- url = "";
2319
+ url: string;
3439
2320
 
3440
2321
  /**
3441
2322
  * @generated from field: repeated string subscribed_events = 4;
3442
2323
  */
3443
- subscribedEvents: string[] = [];
2324
+ subscribedEvents: string[];
3444
2325
 
3445
2326
  /**
3446
2327
  * headers to be sent with the webhook
3447
2328
  *
3448
2329
  * @generated from field: map<string, string> headers = 5;
3449
2330
  */
3450
- headers: { [key: string]: string } = {};
2331
+ headers: { [key: string]: string };
3451
2332
 
3452
2333
  /**
3453
2334
  * secret to sign the payload, there could be multiple enabled secrets for a webhook
@@ -3455,17 +2336,17 @@ export class Webhook extends Message<Webhook> {
3455
2336
  *
3456
2337
  * @generated from field: repeated raystack.frontier.v1beta1.Webhook.Secret secrets = 6;
3457
2338
  */
3458
- secrets: Webhook_Secret[] = [];
2339
+ secrets: Webhook_Secret[];
3459
2340
 
3460
2341
  /**
3461
2342
  * @generated from field: string state = 7;
3462
2343
  */
3463
- state = "";
2344
+ state: string;
3464
2345
 
3465
2346
  /**
3466
2347
  * @generated from field: google.protobuf.Struct metadata = 20;
3467
2348
  */
3468
- metadata?: Struct;
2349
+ metadata?: JsonObject;
3469
2350
 
3470
2351
  /**
3471
2352
  * @generated from field: google.protobuf.Timestamp created_at = 21;
@@ -3476,270 +2357,151 @@ export class Webhook extends Message<Webhook> {
3476
2357
  * @generated from field: google.protobuf.Timestamp updated_at = 22;
3477
2358
  */
3478
2359
  updatedAt?: Timestamp;
2360
+ };
3479
2361
 
3480
- constructor(data?: PartialMessage<Webhook>) {
3481
- super();
3482
- proto3.util.initPartial(data, this);
3483
- }
3484
-
3485
- static readonly runtime: typeof proto3 = proto3;
3486
- static readonly typeName = "raystack.frontier.v1beta1.Webhook";
3487
- static readonly fields: FieldList = proto3.util.newFieldList(() => [
3488
- { no: 1, name: "id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
3489
- { no: 2, name: "description", kind: "scalar", T: 9 /* ScalarType.STRING */ },
3490
- { no: 3, name: "url", kind: "scalar", T: 9 /* ScalarType.STRING */ },
3491
- { no: 4, name: "subscribed_events", kind: "scalar", T: 9 /* ScalarType.STRING */, repeated: true },
3492
- { no: 5, name: "headers", kind: "map", K: 9 /* ScalarType.STRING */, V: {kind: "scalar", T: 9 /* ScalarType.STRING */} },
3493
- { no: 6, name: "secrets", kind: "message", T: Webhook_Secret, repeated: true },
3494
- { no: 7, name: "state", kind: "scalar", T: 9 /* ScalarType.STRING */ },
3495
- { no: 20, name: "metadata", kind: "message", T: Struct },
3496
- { no: 21, name: "created_at", kind: "message", T: Timestamp },
3497
- { no: 22, name: "updated_at", kind: "message", T: Timestamp },
3498
- ]);
3499
-
3500
- static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): Webhook {
3501
- return new Webhook().fromBinary(bytes, options);
3502
- }
3503
-
3504
- static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): Webhook {
3505
- return new Webhook().fromJson(jsonValue, options);
3506
- }
3507
-
3508
- static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): Webhook {
3509
- return new Webhook().fromJsonString(jsonString, options);
3510
- }
3511
-
3512
- static equals(a: Webhook | PlainMessage<Webhook> | undefined, b: Webhook | PlainMessage<Webhook> | undefined): boolean {
3513
- return proto3.util.equals(Webhook, a, b);
3514
- }
3515
- }
2362
+ /**
2363
+ * Describes the message raystack.frontier.v1beta1.Webhook.
2364
+ * Use `create(WebhookSchema)` to create a new message.
2365
+ */
2366
+ export const WebhookSchema: GenMessage<Webhook> = /*@__PURE__*/
2367
+ messageDesc(file_raystack_frontier_v1beta1_models, 37);
3516
2368
 
3517
2369
  /**
3518
2370
  * @generated from message raystack.frontier.v1beta1.Webhook.Secret
3519
2371
  */
3520
- export class Webhook_Secret extends Message<Webhook_Secret> {
2372
+ export type Webhook_Secret = Message<"raystack.frontier.v1beta1.Webhook.Secret"> & {
3521
2373
  /**
3522
2374
  * @generated from field: string id = 1;
3523
2375
  */
3524
- id = "";
2376
+ id: string;
3525
2377
 
3526
2378
  /**
3527
2379
  * @generated from field: string value = 2;
3528
2380
  */
3529
- value = "";
3530
-
3531
- constructor(data?: PartialMessage<Webhook_Secret>) {
3532
- super();
3533
- proto3.util.initPartial(data, this);
3534
- }
3535
-
3536
- static readonly runtime: typeof proto3 = proto3;
3537
- static readonly typeName = "raystack.frontier.v1beta1.Webhook.Secret";
3538
- static readonly fields: FieldList = proto3.util.newFieldList(() => [
3539
- { no: 1, name: "id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
3540
- { no: 2, name: "value", kind: "scalar", T: 9 /* ScalarType.STRING */ },
3541
- ]);
3542
-
3543
- static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): Webhook_Secret {
3544
- return new Webhook_Secret().fromBinary(bytes, options);
3545
- }
3546
-
3547
- static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): Webhook_Secret {
3548
- return new Webhook_Secret().fromJson(jsonValue, options);
3549
- }
2381
+ value: string;
2382
+ };
3550
2383
 
3551
- static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): Webhook_Secret {
3552
- return new Webhook_Secret().fromJsonString(jsonString, options);
3553
- }
3554
-
3555
- static equals(a: Webhook_Secret | PlainMessage<Webhook_Secret> | undefined, b: Webhook_Secret | PlainMessage<Webhook_Secret> | undefined): boolean {
3556
- return proto3.util.equals(Webhook_Secret, a, b);
3557
- }
3558
- }
2384
+ /**
2385
+ * Describes the message raystack.frontier.v1beta1.Webhook.Secret.
2386
+ * Use `create(Webhook_SecretSchema)` to create a new message.
2387
+ */
2388
+ export const Webhook_SecretSchema: GenMessage<Webhook_Secret> = /*@__PURE__*/
2389
+ messageDesc(file_raystack_frontier_v1beta1_models, 37, 0);
3559
2390
 
3560
2391
  /**
3561
2392
  * @generated from message raystack.frontier.v1beta1.WebhookEvent
3562
2393
  */
3563
- export class WebhookEvent extends Message<WebhookEvent> {
2394
+ export type WebhookEvent = Message<"raystack.frontier.v1beta1.WebhookEvent"> & {
3564
2395
  /**
3565
2396
  * @generated from field: string id = 1;
3566
2397
  */
3567
- id = "";
2398
+ id: string;
3568
2399
 
3569
2400
  /**
3570
2401
  * @generated from field: string action = 2;
3571
2402
  */
3572
- action = "";
2403
+ action: string;
3573
2404
 
3574
2405
  /**
3575
2406
  * @generated from field: google.protobuf.Struct data = 3;
3576
2407
  */
3577
- data?: Struct;
2408
+ data?: JsonObject;
3578
2409
 
3579
2410
  /**
3580
2411
  * @generated from field: google.protobuf.Struct metadata = 20;
3581
2412
  */
3582
- metadata?: Struct;
2413
+ metadata?: JsonObject;
3583
2414
 
3584
2415
  /**
3585
2416
  * @generated from field: google.protobuf.Timestamp created_at = 21;
3586
2417
  */
3587
2418
  createdAt?: Timestamp;
2419
+ };
3588
2420
 
3589
- constructor(data?: PartialMessage<WebhookEvent>) {
3590
- super();
3591
- proto3.util.initPartial(data, this);
3592
- }
3593
-
3594
- static readonly runtime: typeof proto3 = proto3;
3595
- static readonly typeName = "raystack.frontier.v1beta1.WebhookEvent";
3596
- static readonly fields: FieldList = proto3.util.newFieldList(() => [
3597
- { no: 1, name: "id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
3598
- { no: 2, name: "action", kind: "scalar", T: 9 /* ScalarType.STRING */ },
3599
- { no: 3, name: "data", kind: "message", T: Struct },
3600
- { no: 20, name: "metadata", kind: "message", T: Struct },
3601
- { no: 21, name: "created_at", kind: "message", T: Timestamp },
3602
- ]);
3603
-
3604
- static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): WebhookEvent {
3605
- return new WebhookEvent().fromBinary(bytes, options);
3606
- }
3607
-
3608
- static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): WebhookEvent {
3609
- return new WebhookEvent().fromJson(jsonValue, options);
3610
- }
3611
-
3612
- static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): WebhookEvent {
3613
- return new WebhookEvent().fromJsonString(jsonString, options);
3614
- }
3615
-
3616
- static equals(a: WebhookEvent | PlainMessage<WebhookEvent> | undefined, b: WebhookEvent | PlainMessage<WebhookEvent> | undefined): boolean {
3617
- return proto3.util.equals(WebhookEvent, a, b);
3618
- }
3619
- }
2421
+ /**
2422
+ * Describes the message raystack.frontier.v1beta1.WebhookEvent.
2423
+ * Use `create(WebhookEventSchema)` to create a new message.
2424
+ */
2425
+ export const WebhookEventSchema: GenMessage<WebhookEvent> = /*@__PURE__*/
2426
+ messageDesc(file_raystack_frontier_v1beta1_models, 38);
3620
2427
 
3621
2428
  /**
3622
2429
  * @generated from message raystack.frontier.v1beta1.RoleRequestBody
3623
2430
  */
3624
- export class RoleRequestBody extends Message<RoleRequestBody> {
2431
+ export type RoleRequestBody = Message<"raystack.frontier.v1beta1.RoleRequestBody"> & {
3625
2432
  /**
3626
2433
  * @generated from field: string name = 2;
3627
2434
  */
3628
- name = "";
2435
+ name: string;
3629
2436
 
3630
2437
  /**
3631
2438
  * @generated from field: repeated string permissions = 3;
3632
2439
  */
3633
- permissions: string[] = [];
2440
+ permissions: string[];
3634
2441
 
3635
2442
  /**
3636
2443
  * @generated from field: google.protobuf.Struct metadata = 5;
3637
2444
  */
3638
- metadata?: Struct;
2445
+ metadata?: JsonObject;
3639
2446
 
3640
2447
  /**
3641
2448
  * @generated from field: string title = 6;
3642
2449
  */
3643
- title = "";
2450
+ title: string;
3644
2451
 
3645
2452
  /**
3646
2453
  * @generated from field: repeated string scopes = 7;
3647
2454
  */
3648
- scopes: string[] = [];
3649
-
3650
- constructor(data?: PartialMessage<RoleRequestBody>) {
3651
- super();
3652
- proto3.util.initPartial(data, this);
3653
- }
3654
-
3655
- static readonly runtime: typeof proto3 = proto3;
3656
- static readonly typeName = "raystack.frontier.v1beta1.RoleRequestBody";
3657
- static readonly fields: FieldList = proto3.util.newFieldList(() => [
3658
- { no: 2, name: "name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
3659
- { no: 3, name: "permissions", kind: "scalar", T: 9 /* ScalarType.STRING */, repeated: true },
3660
- { no: 5, name: "metadata", kind: "message", T: Struct },
3661
- { no: 6, name: "title", kind: "scalar", T: 9 /* ScalarType.STRING */ },
3662
- { no: 7, name: "scopes", kind: "scalar", T: 9 /* ScalarType.STRING */, repeated: true },
3663
- ]);
3664
-
3665
- static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): RoleRequestBody {
3666
- return new RoleRequestBody().fromBinary(bytes, options);
3667
- }
3668
-
3669
- static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): RoleRequestBody {
3670
- return new RoleRequestBody().fromJson(jsonValue, options);
3671
- }
3672
-
3673
- static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): RoleRequestBody {
3674
- return new RoleRequestBody().fromJsonString(jsonString, options);
3675
- }
3676
-
3677
- static equals(a: RoleRequestBody | PlainMessage<RoleRequestBody> | undefined, b: RoleRequestBody | PlainMessage<RoleRequestBody> | undefined): boolean {
3678
- return proto3.util.equals(RoleRequestBody, a, b);
3679
- }
3680
- }
2455
+ scopes: string[];
2456
+ };
2457
+
2458
+ /**
2459
+ * Describes the message raystack.frontier.v1beta1.RoleRequestBody.
2460
+ * Use `create(RoleRequestBodySchema)` to create a new message.
2461
+ */
2462
+ export const RoleRequestBodySchema: GenMessage<RoleRequestBody> = /*@__PURE__*/
2463
+ messageDesc(file_raystack_frontier_v1beta1_models, 39);
3681
2464
 
3682
2465
  /**
3683
2466
  * @generated from message raystack.frontier.v1beta1.PreferenceRequestBody
3684
2467
  */
3685
- export class PreferenceRequestBody extends Message<PreferenceRequestBody> {
2468
+ export type PreferenceRequestBody = Message<"raystack.frontier.v1beta1.PreferenceRequestBody"> & {
3686
2469
  /**
3687
2470
  * @generated from field: string name = 2;
3688
2471
  */
3689
- name = "";
2472
+ name: string;
3690
2473
 
3691
2474
  /**
3692
2475
  * @generated from field: string value = 3;
3693
2476
  */
3694
- value = "";
3695
-
3696
- constructor(data?: PartialMessage<PreferenceRequestBody>) {
3697
- super();
3698
- proto3.util.initPartial(data, this);
3699
- }
3700
-
3701
- static readonly runtime: typeof proto3 = proto3;
3702
- static readonly typeName = "raystack.frontier.v1beta1.PreferenceRequestBody";
3703
- static readonly fields: FieldList = proto3.util.newFieldList(() => [
3704
- { no: 2, name: "name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
3705
- { no: 3, name: "value", kind: "scalar", T: 9 /* ScalarType.STRING */ },
3706
- ]);
3707
-
3708
- static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): PreferenceRequestBody {
3709
- return new PreferenceRequestBody().fromBinary(bytes, options);
3710
- }
3711
-
3712
- static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): PreferenceRequestBody {
3713
- return new PreferenceRequestBody().fromJson(jsonValue, options);
3714
- }
3715
-
3716
- static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): PreferenceRequestBody {
3717
- return new PreferenceRequestBody().fromJsonString(jsonString, options);
3718
- }
2477
+ value: string;
2478
+ };
3719
2479
 
3720
- static equals(a: PreferenceRequestBody | PlainMessage<PreferenceRequestBody> | undefined, b: PreferenceRequestBody | PlainMessage<PreferenceRequestBody> | undefined): boolean {
3721
- return proto3.util.equals(PreferenceRequestBody, a, b);
3722
- }
3723
- }
2480
+ /**
2481
+ * Describes the message raystack.frontier.v1beta1.PreferenceRequestBody.
2482
+ * Use `create(PreferenceRequestBodySchema)` to create a new message.
2483
+ */
2484
+ export const PreferenceRequestBodySchema: GenMessage<PreferenceRequestBody> = /*@__PURE__*/
2485
+ messageDesc(file_raystack_frontier_v1beta1_models, 40);
3724
2486
 
3725
2487
  /**
3726
2488
  * @generated from message raystack.frontier.v1beta1.CheckoutSubscriptionBody
3727
2489
  */
3728
- export class CheckoutSubscriptionBody extends Message<CheckoutSubscriptionBody> {
2490
+ export type CheckoutSubscriptionBody = Message<"raystack.frontier.v1beta1.CheckoutSubscriptionBody"> & {
3729
2491
  /**
3730
2492
  * @generated from field: string plan = 1;
3731
2493
  */
3732
- plan = "";
2494
+ plan: string;
3733
2495
 
3734
2496
  /**
3735
2497
  * @generated from field: bool skip_trial = 2;
3736
2498
  */
3737
- skipTrial = false;
2499
+ skipTrial: boolean;
3738
2500
 
3739
2501
  /**
3740
2502
  * @generated from field: bool cancel_after_trial = 3;
3741
2503
  */
3742
- cancelAfterTrial = false;
2504
+ cancelAfterTrial: boolean;
3743
2505
 
3744
2506
  /**
3745
2507
  * provider_coupon_id is the coupon code that will be applied to the subscription
@@ -3748,158 +2510,93 @@ export class CheckoutSubscriptionBody extends Message<CheckoutSubscriptionBody>
3748
2510
  *
3749
2511
  * @generated from field: string provider_coupon_id = 4;
3750
2512
  */
3751
- providerCouponId = "";
3752
-
3753
- constructor(data?: PartialMessage<CheckoutSubscriptionBody>) {
3754
- super();
3755
- proto3.util.initPartial(data, this);
3756
- }
3757
-
3758
- static readonly runtime: typeof proto3 = proto3;
3759
- static readonly typeName = "raystack.frontier.v1beta1.CheckoutSubscriptionBody";
3760
- static readonly fields: FieldList = proto3.util.newFieldList(() => [
3761
- { no: 1, name: "plan", kind: "scalar", T: 9 /* ScalarType.STRING */ },
3762
- { no: 2, name: "skip_trial", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
3763
- { no: 3, name: "cancel_after_trial", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
3764
- { no: 4, name: "provider_coupon_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
3765
- ]);
3766
-
3767
- static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): CheckoutSubscriptionBody {
3768
- return new CheckoutSubscriptionBody().fromBinary(bytes, options);
3769
- }
3770
-
3771
- static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): CheckoutSubscriptionBody {
3772
- return new CheckoutSubscriptionBody().fromJson(jsonValue, options);
3773
- }
3774
-
3775
- static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): CheckoutSubscriptionBody {
3776
- return new CheckoutSubscriptionBody().fromJsonString(jsonString, options);
3777
- }
3778
-
3779
- static equals(a: CheckoutSubscriptionBody | PlainMessage<CheckoutSubscriptionBody> | undefined, b: CheckoutSubscriptionBody | PlainMessage<CheckoutSubscriptionBody> | undefined): boolean {
3780
- return proto3.util.equals(CheckoutSubscriptionBody, a, b);
3781
- }
3782
- }
2513
+ providerCouponId: string;
2514
+ };
2515
+
2516
+ /**
2517
+ * Describes the message raystack.frontier.v1beta1.CheckoutSubscriptionBody.
2518
+ * Use `create(CheckoutSubscriptionBodySchema)` to create a new message.
2519
+ */
2520
+ export const CheckoutSubscriptionBodySchema: GenMessage<CheckoutSubscriptionBody> = /*@__PURE__*/
2521
+ messageDesc(file_raystack_frontier_v1beta1_models, 41);
3783
2522
 
3784
2523
  /**
3785
2524
  * @generated from message raystack.frontier.v1beta1.CheckoutProductBody
3786
2525
  */
3787
- export class CheckoutProductBody extends Message<CheckoutProductBody> {
2526
+ export type CheckoutProductBody = Message<"raystack.frontier.v1beta1.CheckoutProductBody"> & {
3788
2527
  /**
3789
2528
  * @generated from field: string product = 1;
3790
2529
  */
3791
- product = "";
2530
+ product: string;
3792
2531
 
3793
2532
  /**
3794
2533
  * @generated from field: int64 quantity = 2;
3795
2534
  */
3796
- quantity = protoInt64.zero;
3797
-
3798
- constructor(data?: PartialMessage<CheckoutProductBody>) {
3799
- super();
3800
- proto3.util.initPartial(data, this);
3801
- }
2535
+ quantity: bigint;
2536
+ };
3802
2537
 
3803
- static readonly runtime: typeof proto3 = proto3;
3804
- static readonly typeName = "raystack.frontier.v1beta1.CheckoutProductBody";
3805
- static readonly fields: FieldList = proto3.util.newFieldList(() => [
3806
- { no: 1, name: "product", kind: "scalar", T: 9 /* ScalarType.STRING */ },
3807
- { no: 2, name: "quantity", kind: "scalar", T: 3 /* ScalarType.INT64 */ },
3808
- ]);
3809
-
3810
- static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): CheckoutProductBody {
3811
- return new CheckoutProductBody().fromBinary(bytes, options);
3812
- }
3813
-
3814
- static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): CheckoutProductBody {
3815
- return new CheckoutProductBody().fromJson(jsonValue, options);
3816
- }
3817
-
3818
- static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): CheckoutProductBody {
3819
- return new CheckoutProductBody().fromJsonString(jsonString, options);
3820
- }
3821
-
3822
- static equals(a: CheckoutProductBody | PlainMessage<CheckoutProductBody> | undefined, b: CheckoutProductBody | PlainMessage<CheckoutProductBody> | undefined): boolean {
3823
- return proto3.util.equals(CheckoutProductBody, a, b);
3824
- }
3825
- }
2538
+ /**
2539
+ * Describes the message raystack.frontier.v1beta1.CheckoutProductBody.
2540
+ * Use `create(CheckoutProductBodySchema)` to create a new message.
2541
+ */
2542
+ export const CheckoutProductBodySchema: GenMessage<CheckoutProductBody> = /*@__PURE__*/
2543
+ messageDesc(file_raystack_frontier_v1beta1_models, 42);
3826
2544
 
3827
2545
  /**
3828
2546
  * @generated from message raystack.frontier.v1beta1.CheckoutSetupBody
3829
2547
  */
3830
- export class CheckoutSetupBody extends Message<CheckoutSetupBody> {
2548
+ export type CheckoutSetupBody = Message<"raystack.frontier.v1beta1.CheckoutSetupBody"> & {
3831
2549
  /**
3832
2550
  * @generated from field: bool payment_method = 1;
3833
2551
  */
3834
- paymentMethod = false;
2552
+ paymentMethod: boolean;
3835
2553
 
3836
2554
  /**
3837
2555
  * @generated from field: bool customer_portal = 2;
3838
2556
  */
3839
- customerPortal = false;
3840
-
3841
- constructor(data?: PartialMessage<CheckoutSetupBody>) {
3842
- super();
3843
- proto3.util.initPartial(data, this);
3844
- }
3845
-
3846
- static readonly runtime: typeof proto3 = proto3;
3847
- static readonly typeName = "raystack.frontier.v1beta1.CheckoutSetupBody";
3848
- static readonly fields: FieldList = proto3.util.newFieldList(() => [
3849
- { no: 1, name: "payment_method", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
3850
- { no: 2, name: "customer_portal", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
3851
- ]);
2557
+ customerPortal: boolean;
2558
+ };
3852
2559
 
3853
- static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): CheckoutSetupBody {
3854
- return new CheckoutSetupBody().fromBinary(bytes, options);
3855
- }
3856
-
3857
- static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): CheckoutSetupBody {
3858
- return new CheckoutSetupBody().fromJson(jsonValue, options);
3859
- }
3860
-
3861
- static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): CheckoutSetupBody {
3862
- return new CheckoutSetupBody().fromJsonString(jsonString, options);
3863
- }
3864
-
3865
- static equals(a: CheckoutSetupBody | PlainMessage<CheckoutSetupBody> | undefined, b: CheckoutSetupBody | PlainMessage<CheckoutSetupBody> | undefined): boolean {
3866
- return proto3.util.equals(CheckoutSetupBody, a, b);
3867
- }
3868
- }
2560
+ /**
2561
+ * Describes the message raystack.frontier.v1beta1.CheckoutSetupBody.
2562
+ * Use `create(CheckoutSetupBodySchema)` to create a new message.
2563
+ */
2564
+ export const CheckoutSetupBodySchema: GenMessage<CheckoutSetupBody> = /*@__PURE__*/
2565
+ messageDesc(file_raystack_frontier_v1beta1_models, 43);
3869
2566
 
3870
2567
  /**
3871
2568
  * @generated from message raystack.frontier.v1beta1.Prospect
3872
2569
  */
3873
- export class Prospect extends Message<Prospect> {
2570
+ export type Prospect = Message<"raystack.frontier.v1beta1.Prospect"> & {
3874
2571
  /**
3875
2572
  * @generated from field: string id = 1;
3876
2573
  */
3877
- id = "";
2574
+ id: string;
3878
2575
 
3879
2576
  /**
3880
2577
  * @generated from field: string name = 5;
3881
2578
  */
3882
- name = "";
2579
+ name: string;
3883
2580
 
3884
2581
  /**
3885
2582
  * @generated from field: string email = 8;
3886
2583
  */
3887
- email = "";
2584
+ email: string;
3888
2585
 
3889
2586
  /**
3890
2587
  * @generated from field: string phone = 10;
3891
2588
  */
3892
- phone = "";
2589
+ phone: string;
3893
2590
 
3894
2591
  /**
3895
2592
  * @generated from field: string activity = 15;
3896
2593
  */
3897
- activity = "";
2594
+ activity: string;
3898
2595
 
3899
2596
  /**
3900
2597
  * @generated from field: raystack.frontier.v1beta1.Prospect.Status status = 20;
3901
2598
  */
3902
- status = Prospect_Status.UNSPECIFIED;
2599
+ status: Prospect_Status;
3903
2600
 
3904
2601
  /**
3905
2602
  * @generated from field: google.protobuf.Timestamp changed_at = 21;
@@ -3909,12 +2606,12 @@ export class Prospect extends Message<Prospect> {
3909
2606
  /**
3910
2607
  * @generated from field: string source = 25;
3911
2608
  */
3912
- source = "";
2609
+ source: string;
3913
2610
 
3914
2611
  /**
3915
2612
  * @generated from field: bool verified = 27;
3916
2613
  */
3917
- verified = false;
2614
+ verified: boolean;
3918
2615
 
3919
2616
  /**
3920
2617
  * @generated from field: google.protobuf.Timestamp created_at = 30;
@@ -3929,46 +2626,15 @@ export class Prospect extends Message<Prospect> {
3929
2626
  /**
3930
2627
  * @generated from field: google.protobuf.Struct metadata = 35;
3931
2628
  */
3932
- metadata?: Struct;
3933
-
3934
- constructor(data?: PartialMessage<Prospect>) {
3935
- super();
3936
- proto3.util.initPartial(data, this);
3937
- }
3938
-
3939
- static readonly runtime: typeof proto3 = proto3;
3940
- static readonly typeName = "raystack.frontier.v1beta1.Prospect";
3941
- static readonly fields: FieldList = proto3.util.newFieldList(() => [
3942
- { no: 1, name: "id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
3943
- { no: 5, name: "name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
3944
- { no: 8, name: "email", kind: "scalar", T: 9 /* ScalarType.STRING */ },
3945
- { no: 10, name: "phone", kind: "scalar", T: 9 /* ScalarType.STRING */ },
3946
- { no: 15, name: "activity", kind: "scalar", T: 9 /* ScalarType.STRING */ },
3947
- { no: 20, name: "status", kind: "enum", T: proto3.getEnumType(Prospect_Status) },
3948
- { no: 21, name: "changed_at", kind: "message", T: Timestamp },
3949
- { no: 25, name: "source", kind: "scalar", T: 9 /* ScalarType.STRING */ },
3950
- { no: 27, name: "verified", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
3951
- { no: 30, name: "created_at", kind: "message", T: Timestamp },
3952
- { no: 31, name: "updated_at", kind: "message", T: Timestamp },
3953
- { no: 35, name: "metadata", kind: "message", T: Struct },
3954
- ]);
3955
-
3956
- static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): Prospect {
3957
- return new Prospect().fromBinary(bytes, options);
3958
- }
3959
-
3960
- static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): Prospect {
3961
- return new Prospect().fromJson(jsonValue, options);
3962
- }
3963
-
3964
- static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): Prospect {
3965
- return new Prospect().fromJsonString(jsonString, options);
3966
- }
3967
-
3968
- static equals(a: Prospect | PlainMessage<Prospect> | undefined, b: Prospect | PlainMessage<Prospect> | undefined): boolean {
3969
- return proto3.util.equals(Prospect, a, b);
3970
- }
3971
- }
2629
+ metadata?: JsonObject;
2630
+ };
2631
+
2632
+ /**
2633
+ * Describes the message raystack.frontier.v1beta1.Prospect.
2634
+ * Use `create(ProspectSchema)` to create a new message.
2635
+ */
2636
+ export const ProspectSchema: GenMessage<Prospect> = /*@__PURE__*/
2637
+ messageDesc(file_raystack_frontier_v1beta1_models, 44);
3972
2638
 
3973
2639
  /**
3974
2640
  * subscription status
@@ -3991,93 +2657,68 @@ export enum Prospect_Status {
3991
2657
  */
3992
2658
  SUBSCRIBED = 2,
3993
2659
  }
3994
- // Retrieve enum metadata with: proto3.getEnumType(Prospect_Status)
3995
- proto3.util.setEnumType(Prospect_Status, "raystack.frontier.v1beta1.Prospect.Status", [
3996
- { no: 0, name: "STATUS_UNSPECIFIED" },
3997
- { no: 1, name: "STATUS_UNSUBSCRIBED" },
3998
- { no: 2, name: "STATUS_SUBSCRIBED" },
3999
- ]);
2660
+
2661
+ /**
2662
+ * Describes the enum raystack.frontier.v1beta1.Prospect.Status.
2663
+ */
2664
+ export const Prospect_StatusSchema: GenEnum<Prospect_Status> = /*@__PURE__*/
2665
+ enumDesc(file_raystack_frontier_v1beta1_models, 44, 0);
4000
2666
 
4001
2667
  /**
4002
2668
  * @generated from message raystack.frontier.v1beta1.RQLRequest
4003
2669
  */
4004
- export class RQLRequest extends Message<RQLRequest> {
2670
+ export type RQLRequest = Message<"raystack.frontier.v1beta1.RQLRequest"> & {
4005
2671
  /**
4006
2672
  * @generated from field: repeated raystack.frontier.v1beta1.RQLFilter filters = 1;
4007
2673
  */
4008
- filters: RQLFilter[] = [];
2674
+ filters: RQLFilter[];
4009
2675
 
4010
2676
  /**
4011
2677
  * @generated from field: repeated string group_by = 2;
4012
2678
  */
4013
- groupBy: string[] = [];
2679
+ groupBy: string[];
4014
2680
 
4015
2681
  /**
4016
2682
  * @generated from field: uint32 offset = 3;
4017
2683
  */
4018
- offset = 0;
2684
+ offset: number;
4019
2685
 
4020
2686
  /**
4021
2687
  * @generated from field: uint32 limit = 4;
4022
2688
  */
4023
- limit = 0;
2689
+ limit: number;
4024
2690
 
4025
2691
  /**
4026
2692
  * @generated from field: string search = 5;
4027
2693
  */
4028
- search = "";
2694
+ search: string;
4029
2695
 
4030
2696
  /**
4031
2697
  * @generated from field: repeated raystack.frontier.v1beta1.RQLSort sort = 6;
4032
2698
  */
4033
- sort: RQLSort[] = [];
4034
-
4035
- constructor(data?: PartialMessage<RQLRequest>) {
4036
- super();
4037
- proto3.util.initPartial(data, this);
4038
- }
4039
-
4040
- static readonly runtime: typeof proto3 = proto3;
4041
- static readonly typeName = "raystack.frontier.v1beta1.RQLRequest";
4042
- static readonly fields: FieldList = proto3.util.newFieldList(() => [
4043
- { no: 1, name: "filters", kind: "message", T: RQLFilter, repeated: true },
4044
- { no: 2, name: "group_by", kind: "scalar", T: 9 /* ScalarType.STRING */, repeated: true },
4045
- { no: 3, name: "offset", kind: "scalar", T: 13 /* ScalarType.UINT32 */ },
4046
- { no: 4, name: "limit", kind: "scalar", T: 13 /* ScalarType.UINT32 */ },
4047
- { no: 5, name: "search", kind: "scalar", T: 9 /* ScalarType.STRING */ },
4048
- { no: 6, name: "sort", kind: "message", T: RQLSort, repeated: true },
4049
- ]);
4050
-
4051
- static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): RQLRequest {
4052
- return new RQLRequest().fromBinary(bytes, options);
4053
- }
4054
-
4055
- static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): RQLRequest {
4056
- return new RQLRequest().fromJson(jsonValue, options);
4057
- }
4058
-
4059
- static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): RQLRequest {
4060
- return new RQLRequest().fromJsonString(jsonString, options);
4061
- }
4062
-
4063
- static equals(a: RQLRequest | PlainMessage<RQLRequest> | undefined, b: RQLRequest | PlainMessage<RQLRequest> | undefined): boolean {
4064
- return proto3.util.equals(RQLRequest, a, b);
4065
- }
4066
- }
2699
+ sort: RQLSort[];
2700
+ };
2701
+
2702
+ /**
2703
+ * Describes the message raystack.frontier.v1beta1.RQLRequest.
2704
+ * Use `create(RQLRequestSchema)` to create a new message.
2705
+ */
2706
+ export const RQLRequestSchema: GenMessage<RQLRequest> = /*@__PURE__*/
2707
+ messageDesc(file_raystack_frontier_v1beta1_models, 45);
4067
2708
 
4068
2709
  /**
4069
2710
  * @generated from message raystack.frontier.v1beta1.RQLFilter
4070
2711
  */
4071
- export class RQLFilter extends Message<RQLFilter> {
2712
+ export type RQLFilter = Message<"raystack.frontier.v1beta1.RQLFilter"> & {
4072
2713
  /**
4073
2714
  * @generated from field: string name = 1;
4074
2715
  */
4075
- name = "";
2716
+ name: string;
4076
2717
 
4077
2718
  /**
4078
2719
  * @generated from field: string operator = 2;
4079
2720
  */
4080
- operator = "";
2721
+ operator: string;
4081
2722
 
4082
2723
  /**
4083
2724
  * @generated from oneof raystack.frontier.v1beta1.RQLFilter.value
@@ -4100,246 +2741,119 @@ export class RQLFilter extends Message<RQLFilter> {
4100
2741
  */
4101
2742
  value: number;
4102
2743
  case: "numberValue";
4103
- } | { case: undefined; value?: undefined } = { case: undefined };
4104
-
4105
- constructor(data?: PartialMessage<RQLFilter>) {
4106
- super();
4107
- proto3.util.initPartial(data, this);
4108
- }
4109
-
4110
- static readonly runtime: typeof proto3 = proto3;
4111
- static readonly typeName = "raystack.frontier.v1beta1.RQLFilter";
4112
- static readonly fields: FieldList = proto3.util.newFieldList(() => [
4113
- { no: 1, name: "name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
4114
- { no: 2, name: "operator", kind: "scalar", T: 9 /* ScalarType.STRING */ },
4115
- { no: 3, name: "bool_value", kind: "scalar", T: 8 /* ScalarType.BOOL */, oneof: "value" },
4116
- { no: 4, name: "string_value", kind: "scalar", T: 9 /* ScalarType.STRING */, oneof: "value" },
4117
- { no: 5, name: "number_value", kind: "scalar", T: 2 /* ScalarType.FLOAT */, oneof: "value" },
4118
- ]);
4119
-
4120
- static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): RQLFilter {
4121
- return new RQLFilter().fromBinary(bytes, options);
4122
- }
4123
-
4124
- static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): RQLFilter {
4125
- return new RQLFilter().fromJson(jsonValue, options);
4126
- }
4127
-
4128
- static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): RQLFilter {
4129
- return new RQLFilter().fromJsonString(jsonString, options);
4130
- }
4131
-
4132
- static equals(a: RQLFilter | PlainMessage<RQLFilter> | undefined, b: RQLFilter | PlainMessage<RQLFilter> | undefined): boolean {
4133
- return proto3.util.equals(RQLFilter, a, b);
4134
- }
4135
- }
2744
+ } | { case: undefined; value?: undefined };
2745
+ };
2746
+
2747
+ /**
2748
+ * Describes the message raystack.frontier.v1beta1.RQLFilter.
2749
+ * Use `create(RQLFilterSchema)` to create a new message.
2750
+ */
2751
+ export const RQLFilterSchema: GenMessage<RQLFilter> = /*@__PURE__*/
2752
+ messageDesc(file_raystack_frontier_v1beta1_models, 46);
4136
2753
 
4137
2754
  /**
4138
2755
  * @generated from message raystack.frontier.v1beta1.RQLSort
4139
2756
  */
4140
- export class RQLSort extends Message<RQLSort> {
2757
+ export type RQLSort = Message<"raystack.frontier.v1beta1.RQLSort"> & {
4141
2758
  /**
4142
2759
  * @generated from field: string name = 1;
4143
2760
  */
4144
- name = "";
2761
+ name: string;
4145
2762
 
4146
2763
  /**
4147
2764
  * @generated from field: string order = 2;
4148
2765
  */
4149
- order = "";
4150
-
4151
- constructor(data?: PartialMessage<RQLSort>) {
4152
- super();
4153
- proto3.util.initPartial(data, this);
4154
- }
4155
-
4156
- static readonly runtime: typeof proto3 = proto3;
4157
- static readonly typeName = "raystack.frontier.v1beta1.RQLSort";
4158
- static readonly fields: FieldList = proto3.util.newFieldList(() => [
4159
- { no: 1, name: "name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
4160
- { no: 2, name: "order", kind: "scalar", T: 9 /* ScalarType.STRING */ },
4161
- ]);
4162
-
4163
- static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): RQLSort {
4164
- return new RQLSort().fromBinary(bytes, options);
4165
- }
2766
+ order: string;
2767
+ };
4166
2768
 
4167
- static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): RQLSort {
4168
- return new RQLSort().fromJson(jsonValue, options);
4169
- }
4170
-
4171
- static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): RQLSort {
4172
- return new RQLSort().fromJsonString(jsonString, options);
4173
- }
4174
-
4175
- static equals(a: RQLSort | PlainMessage<RQLSort> | undefined, b: RQLSort | PlainMessage<RQLSort> | undefined): boolean {
4176
- return proto3.util.equals(RQLSort, a, b);
4177
- }
4178
- }
2769
+ /**
2770
+ * Describes the message raystack.frontier.v1beta1.RQLSort.
2771
+ * Use `create(RQLSortSchema)` to create a new message.
2772
+ */
2773
+ export const RQLSortSchema: GenMessage<RQLSort> = /*@__PURE__*/
2774
+ messageDesc(file_raystack_frontier_v1beta1_models, 47);
4179
2775
 
4180
2776
  /**
4181
2777
  * @generated from message raystack.frontier.v1beta1.RQLQueryPaginationResponse
4182
2778
  */
4183
- export class RQLQueryPaginationResponse extends Message<RQLQueryPaginationResponse> {
2779
+ export type RQLQueryPaginationResponse = Message<"raystack.frontier.v1beta1.RQLQueryPaginationResponse"> & {
4184
2780
  /**
4185
2781
  * @generated from field: uint32 offset = 1;
4186
2782
  */
4187
- offset = 0;
2783
+ offset: number;
4188
2784
 
4189
2785
  /**
4190
2786
  * @generated from field: uint32 limit = 2;
4191
2787
  */
4192
- limit = 0;
2788
+ limit: number;
4193
2789
 
4194
2790
  /**
4195
2791
  * @generated from field: uint32 total_count = 3;
4196
2792
  */
4197
- totalCount = 0;
4198
-
4199
- constructor(data?: PartialMessage<RQLQueryPaginationResponse>) {
4200
- super();
4201
- proto3.util.initPartial(data, this);
4202
- }
4203
-
4204
- static readonly runtime: typeof proto3 = proto3;
4205
- static readonly typeName = "raystack.frontier.v1beta1.RQLQueryPaginationResponse";
4206
- static readonly fields: FieldList = proto3.util.newFieldList(() => [
4207
- { no: 1, name: "offset", kind: "scalar", T: 13 /* ScalarType.UINT32 */ },
4208
- { no: 2, name: "limit", kind: "scalar", T: 13 /* ScalarType.UINT32 */ },
4209
- { no: 3, name: "total_count", kind: "scalar", T: 13 /* ScalarType.UINT32 */ },
4210
- ]);
4211
-
4212
- static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): RQLQueryPaginationResponse {
4213
- return new RQLQueryPaginationResponse().fromBinary(bytes, options);
4214
- }
4215
-
4216
- static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): RQLQueryPaginationResponse {
4217
- return new RQLQueryPaginationResponse().fromJson(jsonValue, options);
4218
- }
2793
+ totalCount: number;
2794
+ };
4219
2795
 
4220
- static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): RQLQueryPaginationResponse {
4221
- return new RQLQueryPaginationResponse().fromJsonString(jsonString, options);
4222
- }
4223
-
4224
- static equals(a: RQLQueryPaginationResponse | PlainMessage<RQLQueryPaginationResponse> | undefined, b: RQLQueryPaginationResponse | PlainMessage<RQLQueryPaginationResponse> | undefined): boolean {
4225
- return proto3.util.equals(RQLQueryPaginationResponse, a, b);
4226
- }
4227
- }
2796
+ /**
2797
+ * Describes the message raystack.frontier.v1beta1.RQLQueryPaginationResponse.
2798
+ * Use `create(RQLQueryPaginationResponseSchema)` to create a new message.
2799
+ */
2800
+ export const RQLQueryPaginationResponseSchema: GenMessage<RQLQueryPaginationResponse> = /*@__PURE__*/
2801
+ messageDesc(file_raystack_frontier_v1beta1_models, 48);
4228
2802
 
4229
2803
  /**
4230
2804
  * @generated from message raystack.frontier.v1beta1.RQLQueryGroupResponse
4231
2805
  */
4232
- export class RQLQueryGroupResponse extends Message<RQLQueryGroupResponse> {
2806
+ export type RQLQueryGroupResponse = Message<"raystack.frontier.v1beta1.RQLQueryGroupResponse"> & {
4233
2807
  /**
4234
2808
  * @generated from field: string name = 1;
4235
2809
  */
4236
- name = "";
2810
+ name: string;
4237
2811
 
4238
2812
  /**
4239
2813
  * @generated from field: repeated raystack.frontier.v1beta1.RQLQueryGroupData data = 2;
4240
2814
  */
4241
- data: RQLQueryGroupData[] = [];
4242
-
4243
- constructor(data?: PartialMessage<RQLQueryGroupResponse>) {
4244
- super();
4245
- proto3.util.initPartial(data, this);
4246
- }
4247
-
4248
- static readonly runtime: typeof proto3 = proto3;
4249
- static readonly typeName = "raystack.frontier.v1beta1.RQLQueryGroupResponse";
4250
- static readonly fields: FieldList = proto3.util.newFieldList(() => [
4251
- { no: 1, name: "name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
4252
- { no: 2, name: "data", kind: "message", T: RQLQueryGroupData, repeated: true },
4253
- ]);
4254
-
4255
- static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): RQLQueryGroupResponse {
4256
- return new RQLQueryGroupResponse().fromBinary(bytes, options);
4257
- }
4258
-
4259
- static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): RQLQueryGroupResponse {
4260
- return new RQLQueryGroupResponse().fromJson(jsonValue, options);
4261
- }
2815
+ data: RQLQueryGroupData[];
2816
+ };
4262
2817
 
4263
- static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): RQLQueryGroupResponse {
4264
- return new RQLQueryGroupResponse().fromJsonString(jsonString, options);
4265
- }
4266
-
4267
- static equals(a: RQLQueryGroupResponse | PlainMessage<RQLQueryGroupResponse> | undefined, b: RQLQueryGroupResponse | PlainMessage<RQLQueryGroupResponse> | undefined): boolean {
4268
- return proto3.util.equals(RQLQueryGroupResponse, a, b);
4269
- }
4270
- }
2818
+ /**
2819
+ * Describes the message raystack.frontier.v1beta1.RQLQueryGroupResponse.
2820
+ * Use `create(RQLQueryGroupResponseSchema)` to create a new message.
2821
+ */
2822
+ export const RQLQueryGroupResponseSchema: GenMessage<RQLQueryGroupResponse> = /*@__PURE__*/
2823
+ messageDesc(file_raystack_frontier_v1beta1_models, 49);
4271
2824
 
4272
2825
  /**
4273
2826
  * @generated from message raystack.frontier.v1beta1.RQLQueryGroupData
4274
2827
  */
4275
- export class RQLQueryGroupData extends Message<RQLQueryGroupData> {
2828
+ export type RQLQueryGroupData = Message<"raystack.frontier.v1beta1.RQLQueryGroupData"> & {
4276
2829
  /**
4277
2830
  * @generated from field: string name = 1;
4278
2831
  */
4279
- name = "";
2832
+ name: string;
4280
2833
 
4281
2834
  /**
4282
2835
  * @generated from field: uint32 count = 2;
4283
2836
  */
4284
- count = 0;
4285
-
4286
- constructor(data?: PartialMessage<RQLQueryGroupData>) {
4287
- super();
4288
- proto3.util.initPartial(data, this);
4289
- }
4290
-
4291
- static readonly runtime: typeof proto3 = proto3;
4292
- static readonly typeName = "raystack.frontier.v1beta1.RQLQueryGroupData";
4293
- static readonly fields: FieldList = proto3.util.newFieldList(() => [
4294
- { no: 1, name: "name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
4295
- { no: 2, name: "count", kind: "scalar", T: 13 /* ScalarType.UINT32 */ },
4296
- ]);
4297
-
4298
- static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): RQLQueryGroupData {
4299
- return new RQLQueryGroupData().fromBinary(bytes, options);
4300
- }
4301
-
4302
- static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): RQLQueryGroupData {
4303
- return new RQLQueryGroupData().fromJson(jsonValue, options);
4304
- }
2837
+ count: number;
2838
+ };
4305
2839
 
4306
- static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): RQLQueryGroupData {
4307
- return new RQLQueryGroupData().fromJsonString(jsonString, options);
4308
- }
4309
-
4310
- static equals(a: RQLQueryGroupData | PlainMessage<RQLQueryGroupData> | undefined, b: RQLQueryGroupData | PlainMessage<RQLQueryGroupData> | undefined): boolean {
4311
- return proto3.util.equals(RQLQueryGroupData, a, b);
4312
- }
4313
- }
2840
+ /**
2841
+ * Describes the message raystack.frontier.v1beta1.RQLQueryGroupData.
2842
+ * Use `create(RQLQueryGroupDataSchema)` to create a new message.
2843
+ */
2844
+ export const RQLQueryGroupDataSchema: GenMessage<RQLQueryGroupData> = /*@__PURE__*/
2845
+ messageDesc(file_raystack_frontier_v1beta1_models, 50);
4314
2846
 
4315
2847
  /**
4316
2848
  * @generated from message raystack.frontier.v1beta1.ExportOrganizationsRequest
4317
2849
  */
4318
- export class ExportOrganizationsRequest extends Message<ExportOrganizationsRequest> {
4319
- constructor(data?: PartialMessage<ExportOrganizationsRequest>) {
4320
- super();
4321
- proto3.util.initPartial(data, this);
4322
- }
4323
-
4324
- static readonly runtime: typeof proto3 = proto3;
4325
- static readonly typeName = "raystack.frontier.v1beta1.ExportOrganizationsRequest";
4326
- static readonly fields: FieldList = proto3.util.newFieldList(() => [
4327
- ]);
4328
-
4329
- static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): ExportOrganizationsRequest {
4330
- return new ExportOrganizationsRequest().fromBinary(bytes, options);
4331
- }
4332
-
4333
- static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): ExportOrganizationsRequest {
4334
- return new ExportOrganizationsRequest().fromJson(jsonValue, options);
4335
- }
4336
-
4337
- static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): ExportOrganizationsRequest {
4338
- return new ExportOrganizationsRequest().fromJsonString(jsonString, options);
4339
- }
4340
-
4341
- static equals(a: ExportOrganizationsRequest | PlainMessage<ExportOrganizationsRequest> | undefined, b: ExportOrganizationsRequest | PlainMessage<ExportOrganizationsRequest> | undefined): boolean {
4342
- return proto3.util.equals(ExportOrganizationsRequest, a, b);
4343
- }
4344
- }
2850
+ export type ExportOrganizationsRequest = Message<"raystack.frontier.v1beta1.ExportOrganizationsRequest"> & {
2851
+ };
2852
+
2853
+ /**
2854
+ * Describes the message raystack.frontier.v1beta1.ExportOrganizationsRequest.
2855
+ * Use `create(ExportOrganizationsRequestSchema)` to create a new message.
2856
+ */
2857
+ export const ExportOrganizationsRequestSchema: GenMessage<ExportOrganizationsRequest> = /*@__PURE__*/
2858
+ messageDesc(file_raystack_frontier_v1beta1_models, 51);
4345
2859