@raystack/proton 0.1.0-8a4f578dceca476c696c82054faaf4871b1b949c → 0.1.0-8cb19702a3e47d173732860d58084b83d6941865

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 (198) hide show
  1. package/google/api/annotations_pb.ts +15 -9
  2. package/google/api/field_behavior_pb.ts +19 -19
  3. package/google/api/http_pb.ts +43 -108
  4. package/google/api/httpbody_pb.ts +23 -37
  5. package/index.ts +10 -0
  6. package/package.json +61 -17
  7. package/protoc-gen-openapiv2/options/annotations_pb.ts +23 -29
  8. package/protoc-gen-openapiv2/options/openapiv2_pb.ts +338 -808
  9. package/raystack/assets/index.ts +29 -29
  10. package/raystack/assets/v1beta1/bucket_pb.ts +46 -89
  11. package/raystack/assets/v1beta1/dashboard_pb.ts +49 -97
  12. package/raystack/assets/v1beta1/event_pb.ts +22 -36
  13. package/raystack/assets/v1beta1/group_pb.ts +38 -74
  14. package/raystack/assets/v1beta1/job_pb.ts +30 -43
  15. package/raystack/assets/v1beta1/lineage_pb.ts +22 -36
  16. package/raystack/assets/v1beta1/ownership_pb.ts +31 -68
  17. package/raystack/assets/v1beta1/preview_pb.ts +21 -34
  18. package/raystack/assets/v1beta1/properties_pb.ts +22 -37
  19. package/raystack/assets/v1beta1/resource_pb.ts +24 -43
  20. package/raystack/assets/v1beta1/schema_pb.ts +59 -145
  21. package/raystack/assets/v1beta1/table_pb.ts +59 -120
  22. package/raystack/assets/v1beta1/timestamp_pb.ts +28 -62
  23. package/raystack/assets/v1beta1/topic_pb.ts +43 -78
  24. package/raystack/assets/v1beta1/user_pb.ts +58 -125
  25. package/raystack/assets/v1beta2/application_pb.ts +23 -39
  26. package/raystack/assets/v1beta2/asset_pb.ts +30 -53
  27. package/raystack/assets/v1beta2/bucket_pb.ts +41 -87
  28. package/raystack/assets/v1beta2/common_pb.ts +56 -137
  29. package/raystack/assets/v1beta2/dashboard_pb.ts +44 -93
  30. package/raystack/assets/v1beta2/experiment_pb.ts +38 -79
  31. package/raystack/assets/v1beta2/feature_table_pb.ts +51 -115
  32. package/raystack/assets/v1beta2/group_pb.ts +32 -68
  33. package/raystack/assets/v1beta2/job_pb.ts +21 -35
  34. package/raystack/assets/v1beta2/metric_pb.ts +25 -43
  35. package/raystack/assets/v1beta2/model_pb.ts +59 -147
  36. package/raystack/assets/v1beta2/table_pb.ts +82 -200
  37. package/raystack/assets/v1beta2/topic_pb.ts +41 -99
  38. package/raystack/assets/v1beta2/user_pb.ts +53 -121
  39. package/raystack/common/index.ts +1 -2
  40. package/raystack/common/v1/service-CommonService_connectquery.ts +3 -14
  41. package/raystack/common/v1/service_pb.ts +57 -97
  42. package/raystack/compass/index.ts +1 -2
  43. package/raystack/compass/v1beta1/service-CompassService_connectquery.ts +44 -424
  44. package/raystack/compass/v1beta1/service_pb.ts +1448 -3319
  45. package/raystack/entropy/index.ts +2 -4
  46. package/raystack/entropy/v1beta1/module-ModuleService_connectquery.ts +7 -54
  47. package/raystack/entropy/v1beta1/module_pb.ts +156 -324
  48. package/raystack/entropy/v1beta1/resource-ResourceService_connectquery.ts +9 -74
  49. package/raystack/entropy/v1beta1/resource_pb.ts +330 -756
  50. package/raystack/frontier/index.ts +3 -5
  51. package/raystack/frontier/v1beta1/admin-AdminService_connectquery.ts +60 -514
  52. package/raystack/frontier/v1beta1/admin_pb.ts +1774 -3791
  53. package/raystack/frontier/v1beta1/frontier-FrontierService_connectquery.ts +169 -1674
  54. package/raystack/frontier/v1beta1/frontier_pb.ts +4850 -10959
  55. package/raystack/frontier/v1beta1/models_pb.ts +810 -2296
  56. package/raystack/guardian/index.ts +1 -2
  57. package/raystack/guardian/v1beta1/guardian-GuardianService_connectquery.ts +42 -404
  58. package/raystack/guardian/v1beta1/guardian_pb.ts +1584 -3783
  59. package/raystack/optimus/core/v1beta1/backup-BackupService_connectquery.ts +5 -34
  60. package/raystack/optimus/core/v1beta1/backup_pb.ts +137 -273
  61. package/raystack/optimus/core/v1beta1/job_run-JobRunService_connectquery.ts +6 -44
  62. package/raystack/optimus/core/v1beta1/job_run_pb.ts +194 -376
  63. package/raystack/optimus/core/v1beta1/job_spec-JobSpecificationService_connectquery.ts +17 -154
  64. package/raystack/optimus/core/v1beta1/job_spec_pb.ts +910 -2081
  65. package/raystack/optimus/core/v1beta1/namespace-NamespaceService_connectquery.ts +5 -34
  66. package/raystack/optimus/core/v1beta1/namespace_pb.ts +113 -212
  67. package/raystack/optimus/core/v1beta1/project-ProjectService_connectquery.ts +5 -34
  68. package/raystack/optimus/core/v1beta1/project_pb.ts +121 -238
  69. package/raystack/optimus/core/v1beta1/replay-ReplayService_connectquery.ts +6 -44
  70. package/raystack/optimus/core/v1beta1/replay_pb.ts +160 -335
  71. package/raystack/optimus/core/v1beta1/resource-ResourceService_connectquery.ts +8 -64
  72. package/raystack/optimus/core/v1beta1/resource_pb.ts +266 -527
  73. package/raystack/optimus/core/v1beta1/runtime-RuntimeService_connectquery.ts +3 -14
  74. package/raystack/optimus/core/v1beta1/runtime_pb.ts +48 -61
  75. package/raystack/optimus/core/v1beta1/secret-SecretService_connectquery.ts +6 -44
  76. package/raystack/optimus/core/v1beta1/secret_pb.ts +155 -283
  77. package/raystack/optimus/core/v1beta1/status_pb.ts +35 -54
  78. package/raystack/optimus/integration/v1beta1/event_pb.ts +75 -187
  79. package/raystack/optimus/plugins/v1beta1/dependency_resolver-DependencyResolverModService_connectquery.ts +6 -44
  80. package/raystack/optimus/plugins/v1beta1/dependency_resolver_pb.ts +193 -426
  81. package/raystack/predator/index.ts +2 -2
  82. package/raystack/predator/v1beta1/metrics_log_pb.ts +67 -173
  83. package/raystack/predator/v1beta1/result_log_pb.ts +60 -144
  84. package/raystack/raccoon/index.ts +1 -2
  85. package/raystack/raccoon/v1beta1/raccoon-EventService_connectquery.ts +3 -14
  86. package/raystack/raccoon/v1beta1/raccoon_pb.ts +142 -189
  87. package/raystack/siren/index.ts +1 -2
  88. package/raystack/siren/v1beta1/siren-SirenService_connectquery.ts +37 -354
  89. package/raystack/siren/v1beta1/siren_pb.ts +1155 -2637
  90. package/raystack/stencil/index.ts +1 -2
  91. package/raystack/stencil/v1beta1/stencil-StencilService_connectquery.ts +18 -164
  92. package/raystack/stencil/v1beta1/stencil_pb.ts +530 -1157
  93. package/validate/validate_pb.ts +401 -1038
  94. package/google/api/field_behavior.ts +0 -95
  95. package/google/api/http.ts +0 -695
  96. package/google/api/httpbody.ts +0 -159
  97. package/google/protobuf/any.ts +0 -322
  98. package/google/protobuf/descriptor.ts +0 -3475
  99. package/google/protobuf/duration.ts +0 -231
  100. package/google/protobuf/struct.ts +0 -484
  101. package/google/protobuf/timestamp.ts +0 -290
  102. package/google/protobuf/wrappers.ts +0 -752
  103. package/protoc-gen-openapiv2/options/openapiv2.ts +0 -3110
  104. package/raystack/assets/v1beta1/bucket.ts +0 -362
  105. package/raystack/assets/v1beta1/dashboard.ts +0 -426
  106. package/raystack/assets/v1beta1/event.ts +0 -105
  107. package/raystack/assets/v1beta1/group.ts +0 -223
  108. package/raystack/assets/v1beta1/job.ts +0 -147
  109. package/raystack/assets/v1beta1/lineage.ts +0 -90
  110. package/raystack/assets/v1beta1/ownership.ts +0 -179
  111. package/raystack/assets/v1beta1/preview.ts +0 -87
  112. package/raystack/assets/v1beta1/properties.ts +0 -116
  113. package/raystack/assets/v1beta1/resource.ts +0 -149
  114. package/raystack/assets/v1beta1/schema.ts +0 -421
  115. package/raystack/assets/v1beta1/table.ts +0 -408
  116. package/raystack/assets/v1beta1/timestamp.ts +0 -158
  117. package/raystack/assets/v1beta1/topic.ts +0 -253
  118. package/raystack/assets/v1beta1/user.ts +0 -451
  119. package/raystack/assets/v1beta2/application.ts +0 -125
  120. package/raystack/assets/v1beta2/asset.ts +0 -269
  121. package/raystack/assets/v1beta2/bucket.ts +0 -341
  122. package/raystack/assets/v1beta2/common.ts +0 -392
  123. package/raystack/assets/v1beta2/dashboard.ts +0 -393
  124. package/raystack/assets/v1beta2/experiment.ts +0 -274
  125. package/raystack/assets/v1beta2/feature_table.ts +0 -387
  126. package/raystack/assets/v1beta2/group.ts +0 -178
  127. package/raystack/assets/v1beta2/job.ts +0 -99
  128. package/raystack/assets/v1beta2/metric.ts +0 -163
  129. package/raystack/assets/v1beta2/model.ts +0 -519
  130. package/raystack/assets/v1beta2/table.ts +0 -663
  131. package/raystack/assets/v1beta2/topic.ts +0 -275
  132. package/raystack/assets/v1beta2/user.ts +0 -433
  133. package/raystack/common/v1/service.client.ts +0 -37
  134. package/raystack/common/v1/service.ts +0 -245
  135. package/raystack/common/v1/service_connect.ts +0 -26
  136. package/raystack/compass/v1beta1/service.client.ts +0 -594
  137. package/raystack/compass/v1beta1/service.ts +0 -8169
  138. package/raystack/compass/v1beta1/service_connect.ts +0 -407
  139. package/raystack/entropy/v1beta1/module.client.ts +0 -89
  140. package/raystack/entropy/v1beta1/module.ts +0 -692
  141. package/raystack/entropy/v1beta1/module_connect.ts +0 -62
  142. package/raystack/entropy/v1beta1/resource.client.ts +0 -129
  143. package/raystack/entropy/v1beta1/resource.ts +0 -1817
  144. package/raystack/entropy/v1beta1/resource_connect.ts +0 -89
  145. package/raystack/frontier/v1beta1/admin.client.ts +0 -849
  146. package/raystack/frontier/v1beta1/admin.ts +0 -9007
  147. package/raystack/frontier/v1beta1/admin_connect.ts +0 -573
  148. package/raystack/frontier/v1beta1/frontier.client.ts +0 -2307
  149. package/raystack/frontier/v1beta1/frontier.ts +0 -23706
  150. package/raystack/frontier/v1beta1/frontier_connect.ts +0 -1574
  151. package/raystack/frontier/v1beta1/models.ts +0 -7433
  152. package/raystack/guardian/v1beta1/guardian.client.ts +0 -552
  153. package/raystack/guardian/v1beta1/guardian.ts +0 -9688
  154. package/raystack/guardian/v1beta1/guardian_connect.ts +0 -381
  155. package/raystack/optimus/core/v1beta1/backup.client.ts +0 -63
  156. package/raystack/optimus/core/v1beta1/backup.ts +0 -708
  157. package/raystack/optimus/core/v1beta1/backup_connect.ts +0 -44
  158. package/raystack/optimus/core/v1beta1/job_run.client.ts +0 -96
  159. package/raystack/optimus/core/v1beta1/job_run.ts +0 -1008
  160. package/raystack/optimus/core/v1beta1/job_run_connect.ts +0 -63
  161. package/raystack/optimus/core/v1beta1/job_spec.client.ts +0 -363
  162. package/raystack/optimus/core/v1beta1/job_spec.ts +0 -5134
  163. package/raystack/optimus/core/v1beta1/job_spec_connect.ts +0 -233
  164. package/raystack/optimus/core/v1beta1/namespace.client.ts +0 -75
  165. package/raystack/optimus/core/v1beta1/namespace.ts +0 -477
  166. package/raystack/optimus/core/v1beta1/namespace_connect.ts +0 -50
  167. package/raystack/optimus/core/v1beta1/project.client.ts +0 -75
  168. package/raystack/optimus/core/v1beta1/project.ts +0 -520
  169. package/raystack/optimus/core/v1beta1/project_connect.ts +0 -50
  170. package/raystack/optimus/core/v1beta1/replay.client.ts +0 -76
  171. package/raystack/optimus/core/v1beta1/replay.ts +0 -881
  172. package/raystack/optimus/core/v1beta1/replay_connect.ts +0 -53
  173. package/raystack/optimus/core/v1beta1/resource.client.ts +0 -148
  174. package/raystack/optimus/core/v1beta1/resource.ts +0 -1329
  175. package/raystack/optimus/core/v1beta1/resource_connect.ts +0 -96
  176. package/raystack/optimus/core/v1beta1/runtime.client.ts +0 -45
  177. package/raystack/optimus/core/v1beta1/runtime.ts +0 -131
  178. package/raystack/optimus/core/v1beta1/runtime_connect.ts +0 -30
  179. package/raystack/optimus/core/v1beta1/secret.client.ts +0 -92
  180. package/raystack/optimus/core/v1beta1/secret.ts +0 -619
  181. package/raystack/optimus/core/v1beta1/secret_connect.ts +0 -61
  182. package/raystack/optimus/core/v1beta1/status.ts +0 -113
  183. package/raystack/optimus/integration/v1beta1/event.ts +0 -531
  184. package/raystack/optimus/plugins/v1beta1/dependency_resolver.client.ts +0 -100
  185. package/raystack/optimus/plugins/v1beta1/dependency_resolver.ts +0 -950
  186. package/raystack/optimus/plugins/v1beta1/dependency_resolver_connect.ts +0 -65
  187. package/raystack/predator/v1beta1/metrics_log.ts +0 -457
  188. package/raystack/predator/v1beta1/result_log.ts +0 -390
  189. package/raystack/raccoon/v1beta1/raccoon.client.ts +0 -37
  190. package/raystack/raccoon/v1beta1/raccoon.ts +0 -442
  191. package/raystack/raccoon/v1beta1/raccoon_connect.ts +0 -26
  192. package/raystack/siren/v1beta1/siren.client.ts +0 -479
  193. package/raystack/siren/v1beta1/siren.ts +0 -6507
  194. package/raystack/siren/v1beta1/siren_connect.ts +0 -332
  195. package/raystack/stencil/v1beta1/stencil.client.ts +0 -232
  196. package/raystack/stencil/v1beta1/stencil.ts +0 -2716
  197. package/raystack/stencil/v1beta1/stencil_connect.ts +0 -161
  198. package/validate/validate.ts +0 -4130
@@ -1,104 +1,18 @@
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,import_extension=none"
2
2
  // @generated from file raystack/raccoon/v1beta1/raccoon.proto (package raystack.raccoon.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, Timestamp } from "@bufbuild/protobuf";
5
+ import type { GenEnum, GenFile, GenMessage, GenService } from "@bufbuild/protobuf/codegenv2";
6
+ import { enumDesc, fileDesc, messageDesc, serviceDesc } from "@bufbuild/protobuf/codegenv2";
7
+ import type { Timestamp } from "@bufbuild/protobuf/wkt";
8
+ import { file_google_protobuf_timestamp } from "@bufbuild/protobuf/wkt";
9
+ import type { Message } from "@bufbuild/protobuf";
8
10
 
9
11
  /**
10
- * @generated from enum raystack.raccoon.v1beta1.Status
12
+ * Describes the file raystack/raccoon/v1beta1/raccoon.proto.
11
13
  */
12
- export enum Status {
13
- /**
14
- * @generated from enum value: STATUS_UNSPECIFIED = 0;
15
- */
16
- UNSPECIFIED = 0,
17
-
18
- /**
19
- * @generated from enum value: STATUS_SUCCESS = 1;
20
- */
21
- SUCCESS = 1,
22
-
23
- /**
24
- * @generated from enum value: STATUS_ERROR = 2;
25
- */
26
- ERROR = 2,
27
- }
28
- // Retrieve enum metadata with: proto3.getEnumType(Status)
29
- proto3.util.setEnumType(Status, "raystack.raccoon.v1beta1.Status", [
30
- { no: 0, name: "STATUS_UNSPECIFIED" },
31
- { no: 1, name: "STATUS_SUCCESS" },
32
- { no: 2, name: "STATUS_ERROR" },
33
- ]);
34
-
35
- /**
36
- * @generated from enum raystack.raccoon.v1beta1.Code
37
- */
38
- export enum Code {
39
- /**
40
- *
41
- * `CODE_UNSPECIFIED` indicates no appropriate/existing code can describe it.
42
- *
43
- * @generated from enum value: CODE_UNSPECIFIED = 0;
44
- */
45
- UNSPECIFIED = 0,
46
-
47
- /**
48
- *
49
- * `OK` indicates the request is processed successfully.
50
- *
51
- * @generated from enum value: CODE_OK = 1;
52
- */
53
- OK = 1,
54
-
55
- /**
56
- *
57
- * `BAD_REQUEST` indicates there is something wrong with the request.
58
- *
59
- * @generated from enum value: CODE_BAD_REQUEST = 2;
60
- */
61
- BAD_REQUEST = 2,
62
-
63
- /**
64
- *
65
- * `INTERNAL_ERROR` indicates that Raccoon encountered an unexpected condition that prevented it from fulfilling the request.
66
- *
67
- * @generated from enum value: CODE_INTERNAL_ERROR = 3;
68
- */
69
- INTERNAL_ERROR = 3,
70
-
71
- /**
72
- *
73
- * `MAX_CONNECTION_LIMIT_REACHED` indicates that Raccoon is unable to accepts new connection due to max connection is reached.
74
- *
75
- * To prevent Raccoon from eating up resources, connection limit needs to be set. The limit is configurable on Raccoon by setting `SERVER_WEBSOCKET_MAX_CONN`
76
- *
77
- * @generated from enum value: CODE_MAX_CONNECTION_LIMIT_REACHED = 4;
78
- */
79
- MAX_CONNECTION_LIMIT_REACHED = 4,
80
-
81
- /**
82
- *
83
- * `MAX_USER_LIMIT_REACHED` indicates that existing connection with the same ID.
84
- *
85
- * Raccoon ensures unique connection using unique identifier passed from the header
86
- * the first time Websocket connection is established. The header key that
87
- * contains unique identifier is configurable on Raccoon by setting `SERVER_WEBSOCKET_CONN_UNIQ_ID_HEADER`
88
- *
89
- * @generated from enum value: CODE_MAX_USER_LIMIT_REACHED = 5;
90
- */
91
- MAX_USER_LIMIT_REACHED = 5,
92
- }
93
- // Retrieve enum metadata with: proto3.getEnumType(Code)
94
- proto3.util.setEnumType(Code, "raystack.raccoon.v1beta1.Code", [
95
- { no: 0, name: "CODE_UNSPECIFIED" },
96
- { no: 1, name: "CODE_OK" },
97
- { no: 2, name: "CODE_BAD_REQUEST" },
98
- { no: 3, name: "CODE_INTERNAL_ERROR" },
99
- { no: 4, name: "CODE_MAX_CONNECTION_LIMIT_REACHED" },
100
- { no: 5, name: "CODE_MAX_USER_LIMIT_REACHED" },
101
- ]);
14
+ export const file_raystack_raccoon_v1beta1_raccoon: GenFile = /*@__PURE__*/
15
+ fileDesc("CiZyYXlzdGFjay9yYWNjb29uL3YxYmV0YTEvcmFjY29vbi5wcm90bxIYcmF5c3RhY2sucmFjY29vbi52MWJldGExIoQBChBTZW5kRXZlbnRSZXF1ZXN0EhAKCHJlcV9ndWlkGAEgASgJEi0KCXNlbnRfdGltZRgCIAEoCzIaLmdvb2dsZS5wcm90b2J1Zi5UaW1lc3RhbXASLwoGZXZlbnRzGAMgAygLMh8ucmF5c3RhY2sucmFjY29vbi52MWJldGExLkV2ZW50IioKBUV2ZW50EhMKC2V2ZW50X2J5dGVzGAEgASgMEgwKBHR5cGUYAiABKAkiiAIKEVNlbmRFdmVudFJlc3BvbnNlEjAKBnN0YXR1cxgBIAEoDjIgLnJheXN0YWNrLnJhY2Nvb24udjFiZXRhMS5TdGF0dXMSLAoEY29kZRgCIAEoDjIeLnJheXN0YWNrLnJhY2Nvb24udjFiZXRhMS5Db2RlEhEKCXNlbnRfdGltZRgDIAEoAxIOCgZyZWFzb24YBCABKAkSQwoEZGF0YRgFIAMoCzI1LnJheXN0YWNrLnJhY2Nvb24udjFiZXRhMS5TZW5kRXZlbnRSZXNwb25zZS5EYXRhRW50cnkaKwoJRGF0YUVudHJ5EgsKA2tleRgBIAEoCRINCgV2YWx1ZRgCIAEoCToCOAEqRgoGU3RhdHVzEhYKElNUQVRVU19VTlNQRUNJRklFRBAAEhIKDlNUQVRVU19TVUNDRVNTEAESEAoMU1RBVFVTX0VSUk9SEAIqoAEKBENvZGUSFAoQQ09ERV9VTlNQRUNJRklFRBAAEgsKB0NPREVfT0sQARIUChBDT0RFX0JBRF9SRVFVRVNUEAISFwoTQ09ERV9JTlRFUk5BTF9FUlJPUhADEiUKIUNPREVfTUFYX0NPTk5FQ1RJT05fTElNSVRfUkVBQ0hFRBAEEh8KG0NPREVfTUFYX1VTRVJfTElNSVRfUkVBQ0hFRBAFMnQKDEV2ZW50U2VydmljZRJkCglTZW5kRXZlbnQSKi5yYXlzdGFjay5yYWNjb29uLnYxYmV0YTEuU2VuZEV2ZW50UmVxdWVzdBorLnJheXN0YWNrLnJhY2Nvb24udjFiZXRhMS5TZW5kRXZlbnRSZXNwb25zZUJbChppby5yYXlzdGFjay5wcm90b24ucmFjY29vbkIKRXZlbnRQcm90b1ABWi9naXRodWIuY29tL3JheXN0YWNrL3Byb3Rvbi9yYWNjb29uL3YxO3JhY2Nvb252MWIGcHJvdG8z", [file_google_protobuf_timestamp]);
102
16
 
103
17
  /**
104
18
  *
@@ -110,7 +24,7 @@ proto3.util.setEnumType(Code, "raystack.raccoon.v1beta1.Code", [
110
24
  *
111
25
  * @generated from message raystack.raccoon.v1beta1.SendEventRequest
112
26
  */
113
- export class SendEventRequest extends Message<SendEventRequest> {
27
+ export type SendEventRequest = Message<"raystack.raccoon.v1beta1.SendEventRequest"> & {
114
28
  /**
115
29
  *
116
30
  * `req_guid` is unique identifier of the request the client is making.
@@ -128,7 +42,7 @@ export class SendEventRequest extends Message<SendEventRequest> {
128
42
  *
129
43
  * @generated from field: string req_guid = 1;
130
44
  */
131
- reqGuid = "";
45
+ reqGuid: string;
132
46
 
133
47
  /**
134
48
  *
@@ -150,49 +64,27 @@ export class SendEventRequest extends Message<SendEventRequest> {
150
64
  *
151
65
  * @generated from field: repeated raystack.raccoon.v1beta1.Event events = 3;
152
66
  */
153
- events: Event[] = [];
154
-
155
- constructor(data?: PartialMessage<SendEventRequest>) {
156
- super();
157
- proto3.util.initPartial(data, this);
158
- }
159
-
160
- static readonly runtime: typeof proto3 = proto3;
161
- static readonly typeName = "raystack.raccoon.v1beta1.SendEventRequest";
162
- static readonly fields: FieldList = proto3.util.newFieldList(() => [
163
- { no: 1, name: "req_guid", kind: "scalar", T: 9 /* ScalarType.STRING */ },
164
- { no: 2, name: "sent_time", kind: "message", T: Timestamp },
165
- { no: 3, name: "events", kind: "message", T: Event, repeated: true },
166
- ]);
67
+ events: Event[];
68
+ };
167
69
 
168
- static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): SendEventRequest {
169
- return new SendEventRequest().fromBinary(bytes, options);
170
- }
171
-
172
- static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): SendEventRequest {
173
- return new SendEventRequest().fromJson(jsonValue, options);
174
- }
175
-
176
- static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): SendEventRequest {
177
- return new SendEventRequest().fromJsonString(jsonString, options);
178
- }
179
-
180
- static equals(a: SendEventRequest | PlainMessage<SendEventRequest> | undefined, b: SendEventRequest | PlainMessage<SendEventRequest> | undefined): boolean {
181
- return proto3.util.equals(SendEventRequest, a, b);
182
- }
183
- }
70
+ /**
71
+ * Describes the message raystack.raccoon.v1beta1.SendEventRequest.
72
+ * Use `create(SendEventRequestSchema)` to create a new message.
73
+ */
74
+ export const SendEventRequestSchema: GenMessage<SendEventRequest> = /*@__PURE__*/
75
+ messageDesc(file_raystack_raccoon_v1beta1_raccoon, 0);
184
76
 
185
77
  /**
186
78
  * @generated from message raystack.raccoon.v1beta1.Event
187
79
  */
188
- export class Event extends Message<Event> {
80
+ export type Event = Message<"raystack.raccoon.v1beta1.Event"> & {
189
81
  /**
190
82
  *
191
83
  * `event_bytes` is where you put bytes serialized event.
192
84
  *
193
85
  * @generated from field: bytes event_bytes = 1;
194
86
  */
195
- eventBytes = new Uint8Array(0);
87
+ eventBytes: Uint8Array;
196
88
 
197
89
  /**
198
90
  *
@@ -204,41 +96,20 @@ export class Event extends Message<Event> {
204
96
  *
205
97
  * @generated from field: string type = 2;
206
98
  */
207
- type = "";
208
-
209
- constructor(data?: PartialMessage<Event>) {
210
- super();
211
- proto3.util.initPartial(data, this);
212
- }
213
-
214
- static readonly runtime: typeof proto3 = proto3;
215
- static readonly typeName = "raystack.raccoon.v1beta1.Event";
216
- static readonly fields: FieldList = proto3.util.newFieldList(() => [
217
- { no: 1, name: "event_bytes", kind: "scalar", T: 12 /* ScalarType.BYTES */ },
218
- { no: 2, name: "type", kind: "scalar", T: 9 /* ScalarType.STRING */ },
219
- ]);
220
-
221
- static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): Event {
222
- return new Event().fromBinary(bytes, options);
223
- }
224
-
225
- static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): Event {
226
- return new Event().fromJson(jsonValue, options);
227
- }
228
-
229
- static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): Event {
230
- return new Event().fromJsonString(jsonString, options);
231
- }
99
+ type: string;
100
+ };
232
101
 
233
- static equals(a: Event | PlainMessage<Event> | undefined, b: Event | PlainMessage<Event> | undefined): boolean {
234
- return proto3.util.equals(Event, a, b);
235
- }
236
- }
102
+ /**
103
+ * Describes the message raystack.raccoon.v1beta1.Event.
104
+ * Use `create(EventSchema)` to create a new message.
105
+ */
106
+ export const EventSchema: GenMessage<Event> = /*@__PURE__*/
107
+ messageDesc(file_raystack_raccoon_v1beta1_raccoon, 1);
237
108
 
238
109
  /**
239
110
  * @generated from message raystack.raccoon.v1beta1.SendEventResponse
240
111
  */
241
- export class SendEventResponse extends Message<SendEventResponse> {
112
+ export type SendEventResponse = Message<"raystack.raccoon.v1beta1.SendEventResponse"> & {
242
113
  /**
243
114
  *
244
115
  * `status` denotes status of the request.
@@ -249,7 +120,7 @@ export class SendEventResponse extends Message<SendEventResponse> {
249
120
  *
250
121
  * @generated from field: raystack.raccoon.v1beta1.Status status = 1;
251
122
  */
252
- status = Status.UNSPECIFIED;
123
+ status: Status;
253
124
 
254
125
  /**
255
126
  *
@@ -259,7 +130,7 @@ export class SendEventResponse extends Message<SendEventResponse> {
259
130
  *
260
131
  * @generated from field: raystack.raccoon.v1beta1.Code code = 2;
261
132
  */
262
- code = Code.UNSPECIFIED;
133
+ code: Code;
263
134
 
264
135
  /**
265
136
  *
@@ -267,7 +138,7 @@ export class SendEventResponse extends Message<SendEventResponse> {
267
138
  *
268
139
  * @generated from field: int64 sent_time = 3;
269
140
  */
270
- sentTime = protoInt64.zero;
141
+ sentTime: bigint;
271
142
 
272
143
  /**
273
144
  *
@@ -277,7 +148,7 @@ export class SendEventResponse extends Message<SendEventResponse> {
277
148
  *
278
149
  * @generated from field: string reason = 4;
279
150
  */
280
- reason = "";
151
+ reason: string;
281
152
 
282
153
  /**
283
154
  *
@@ -288,37 +159,119 @@ export class SendEventResponse extends Message<SendEventResponse> {
288
159
  *
289
160
  * @generated from field: map<string, string> data = 5;
290
161
  */
291
- data: { [key: string]: string } = {};
162
+ data: { [key: string]: string };
163
+ };
292
164
 
293
- constructor(data?: PartialMessage<SendEventResponse>) {
294
- super();
295
- proto3.util.initPartial(data, this);
296
- }
165
+ /**
166
+ * Describes the message raystack.raccoon.v1beta1.SendEventResponse.
167
+ * Use `create(SendEventResponseSchema)` to create a new message.
168
+ */
169
+ export const SendEventResponseSchema: GenMessage<SendEventResponse> = /*@__PURE__*/
170
+ messageDesc(file_raystack_raccoon_v1beta1_raccoon, 2);
297
171
 
298
- static readonly runtime: typeof proto3 = proto3;
299
- static readonly typeName = "raystack.raccoon.v1beta1.SendEventResponse";
300
- static readonly fields: FieldList = proto3.util.newFieldList(() => [
301
- { no: 1, name: "status", kind: "enum", T: proto3.getEnumType(Status) },
302
- { no: 2, name: "code", kind: "enum", T: proto3.getEnumType(Code) },
303
- { no: 3, name: "sent_time", kind: "scalar", T: 3 /* ScalarType.INT64 */ },
304
- { no: 4, name: "reason", kind: "scalar", T: 9 /* ScalarType.STRING */ },
305
- { no: 5, name: "data", kind: "map", K: 9 /* ScalarType.STRING */, V: {kind: "scalar", T: 9 /* ScalarType.STRING */} },
306
- ]);
172
+ /**
173
+ * @generated from enum raystack.raccoon.v1beta1.Status
174
+ */
175
+ export enum Status {
176
+ /**
177
+ * @generated from enum value: STATUS_UNSPECIFIED = 0;
178
+ */
179
+ UNSPECIFIED = 0,
307
180
 
308
- static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): SendEventResponse {
309
- return new SendEventResponse().fromBinary(bytes, options);
310
- }
181
+ /**
182
+ * @generated from enum value: STATUS_SUCCESS = 1;
183
+ */
184
+ SUCCESS = 1,
311
185
 
312
- static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): SendEventResponse {
313
- return new SendEventResponse().fromJson(jsonValue, options);
314
- }
186
+ /**
187
+ * @generated from enum value: STATUS_ERROR = 2;
188
+ */
189
+ ERROR = 2,
190
+ }
315
191
 
316
- static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): SendEventResponse {
317
- return new SendEventResponse().fromJsonString(jsonString, options);
318
- }
192
+ /**
193
+ * Describes the enum raystack.raccoon.v1beta1.Status.
194
+ */
195
+ export const StatusSchema: GenEnum<Status> = /*@__PURE__*/
196
+ enumDesc(file_raystack_raccoon_v1beta1_raccoon, 0);
197
+
198
+ /**
199
+ * @generated from enum raystack.raccoon.v1beta1.Code
200
+ */
201
+ export enum Code {
202
+ /**
203
+ *
204
+ * `CODE_UNSPECIFIED` indicates no appropriate/existing code can describe it.
205
+ *
206
+ * @generated from enum value: CODE_UNSPECIFIED = 0;
207
+ */
208
+ UNSPECIFIED = 0,
319
209
 
320
- static equals(a: SendEventResponse | PlainMessage<SendEventResponse> | undefined, b: SendEventResponse | PlainMessage<SendEventResponse> | undefined): boolean {
321
- return proto3.util.equals(SendEventResponse, a, b);
322
- }
210
+ /**
211
+ *
212
+ * `OK` indicates the request is processed successfully.
213
+ *
214
+ * @generated from enum value: CODE_OK = 1;
215
+ */
216
+ OK = 1,
217
+
218
+ /**
219
+ *
220
+ * `BAD_REQUEST` indicates there is something wrong with the request.
221
+ *
222
+ * @generated from enum value: CODE_BAD_REQUEST = 2;
223
+ */
224
+ BAD_REQUEST = 2,
225
+
226
+ /**
227
+ *
228
+ * `INTERNAL_ERROR` indicates that Raccoon encountered an unexpected condition that prevented it from fulfilling the request.
229
+ *
230
+ * @generated from enum value: CODE_INTERNAL_ERROR = 3;
231
+ */
232
+ INTERNAL_ERROR = 3,
233
+
234
+ /**
235
+ *
236
+ * `MAX_CONNECTION_LIMIT_REACHED` indicates that Raccoon is unable to accepts new connection due to max connection is reached.
237
+ *
238
+ * To prevent Raccoon from eating up resources, connection limit needs to be set. The limit is configurable on Raccoon by setting `SERVER_WEBSOCKET_MAX_CONN`
239
+ *
240
+ * @generated from enum value: CODE_MAX_CONNECTION_LIMIT_REACHED = 4;
241
+ */
242
+ MAX_CONNECTION_LIMIT_REACHED = 4,
243
+
244
+ /**
245
+ *
246
+ * `MAX_USER_LIMIT_REACHED` indicates that existing connection with the same ID.
247
+ *
248
+ * Raccoon ensures unique connection using unique identifier passed from the header
249
+ * the first time Websocket connection is established. The header key that
250
+ * contains unique identifier is configurable on Raccoon by setting `SERVER_WEBSOCKET_CONN_UNIQ_ID_HEADER`
251
+ *
252
+ * @generated from enum value: CODE_MAX_USER_LIMIT_REACHED = 5;
253
+ */
254
+ MAX_USER_LIMIT_REACHED = 5,
323
255
  }
324
256
 
257
+ /**
258
+ * Describes the enum raystack.raccoon.v1beta1.Code.
259
+ */
260
+ export const CodeSchema: GenEnum<Code> = /*@__PURE__*/
261
+ enumDesc(file_raystack_raccoon_v1beta1_raccoon, 1);
262
+
263
+ /**
264
+ * @generated from service raystack.raccoon.v1beta1.EventService
265
+ */
266
+ export const EventService: GenService<{
267
+ /**
268
+ * @generated from rpc raystack.raccoon.v1beta1.EventService.SendEvent
269
+ */
270
+ sendEvent: {
271
+ methodKind: "unary";
272
+ input: typeof SendEventRequestSchema;
273
+ output: typeof SendEventResponseSchema;
274
+ },
275
+ }> = /*@__PURE__*/
276
+ serviceDesc(file_raystack_raccoon_v1beta1_raccoon, 0);
277
+
@@ -1,3 +1,2 @@
1
- export { SirenService } from "./v1beta1/siren_connect";
2
1
  export * as SirenServiceQueries from "./v1beta1/siren-SirenService_connectquery";
3
- export * from "./v1beta1/siren";
2
+ export * from "./v1beta1/siren_pb";