@raystack/proton 0.1.0-ce225175aa066e6f296bc489293bb83ed0edcef6

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 (197) hide show
  1. package/google/api/annotations_pb.ts +33 -0
  2. package/google/api/field_behavior.ts +95 -0
  3. package/google/api/field_behavior_pb.ts +139 -0
  4. package/google/api/http.ts +695 -0
  5. package/google/api/http_pb.ts +547 -0
  6. package/google/api/httpbody.ts +159 -0
  7. package/google/api/httpbody_pb.ts +122 -0
  8. package/google/protobuf/any.ts +322 -0
  9. package/google/protobuf/descriptor.ts +3475 -0
  10. package/google/protobuf/duration.ts +231 -0
  11. package/google/protobuf/struct.ts +484 -0
  12. package/google/protobuf/timestamp.ts +290 -0
  13. package/google/protobuf/wrappers.ts +752 -0
  14. package/package.json +47 -0
  15. package/protoc-gen-openapiv2/options/annotations_pb.ts +78 -0
  16. package/protoc-gen-openapiv2/options/openapiv2.ts +3110 -0
  17. package/protoc-gen-openapiv2/options/openapiv2_pb.ts +1995 -0
  18. package/raystack/assets/index.ts +29 -0
  19. package/raystack/assets/v1beta1/bucket.ts +362 -0
  20. package/raystack/assets/v1beta1/bucket_pb.ts +233 -0
  21. package/raystack/assets/v1beta1/dashboard.ts +426 -0
  22. package/raystack/assets/v1beta1/dashboard_pb.ts +275 -0
  23. package/raystack/assets/v1beta1/event.ts +105 -0
  24. package/raystack/assets/v1beta1/event_pb.ts +70 -0
  25. package/raystack/assets/v1beta1/group.ts +223 -0
  26. package/raystack/assets/v1beta1/group_pb.ts +149 -0
  27. package/raystack/assets/v1beta1/job.ts +147 -0
  28. package/raystack/assets/v1beta1/job_pb.ts +100 -0
  29. package/raystack/assets/v1beta1/lineage.ts +90 -0
  30. package/raystack/assets/v1beta1/lineage_pb.ts +61 -0
  31. package/raystack/assets/v1beta1/ownership.ts +179 -0
  32. package/raystack/assets/v1beta1/ownership_pb.ts +119 -0
  33. package/raystack/assets/v1beta1/preview.ts +87 -0
  34. package/raystack/assets/v1beta1/preview_pb.ts +58 -0
  35. package/raystack/assets/v1beta1/properties.ts +116 -0
  36. package/raystack/assets/v1beta1/properties_pb.ts +63 -0
  37. package/raystack/assets/v1beta1/resource.ts +149 -0
  38. package/raystack/assets/v1beta1/resource_pb.ts +96 -0
  39. package/raystack/assets/v1beta1/schema.ts +421 -0
  40. package/raystack/assets/v1beta1/schema_pb.ts +262 -0
  41. package/raystack/assets/v1beta1/table.ts +408 -0
  42. package/raystack/assets/v1beta1/table_pb.ts +266 -0
  43. package/raystack/assets/v1beta1/timestamp.ts +158 -0
  44. package/raystack/assets/v1beta1/timestamp_pb.ts +107 -0
  45. package/raystack/assets/v1beta1/topic.ts +253 -0
  46. package/raystack/assets/v1beta1/topic_pb.ts +171 -0
  47. package/raystack/assets/v1beta1/user.ts +451 -0
  48. package/raystack/assets/v1beta1/user_pb.ts +292 -0
  49. package/raystack/assets/v1beta2/application.ts +125 -0
  50. package/raystack/assets/v1beta2/application_pb.ts +79 -0
  51. package/raystack/assets/v1beta2/asset.ts +269 -0
  52. package/raystack/assets/v1beta2/asset_pb.ts +157 -0
  53. package/raystack/assets/v1beta2/bucket.ts +341 -0
  54. package/raystack/assets/v1beta2/bucket_pb.ts +215 -0
  55. package/raystack/assets/v1beta2/common.ts +392 -0
  56. package/raystack/assets/v1beta2/common_pb.ts +258 -0
  57. package/raystack/assets/v1beta2/dashboard.ts +393 -0
  58. package/raystack/assets/v1beta2/dashboard_pb.ts +247 -0
  59. package/raystack/assets/v1beta2/experiment.ts +274 -0
  60. package/raystack/assets/v1beta2/experiment_pb.ts +180 -0
  61. package/raystack/assets/v1beta2/feature_table.ts +387 -0
  62. package/raystack/assets/v1beta2/feature_table_pb.ts +237 -0
  63. package/raystack/assets/v1beta2/group.ts +178 -0
  64. package/raystack/assets/v1beta2/group_pb.ts +118 -0
  65. package/raystack/assets/v1beta2/job.ts +99 -0
  66. package/raystack/assets/v1beta2/job_pb.ts +65 -0
  67. package/raystack/assets/v1beta2/metric.ts +163 -0
  68. package/raystack/assets/v1beta2/metric_pb.ts +105 -0
  69. package/raystack/assets/v1beta2/model.ts +519 -0
  70. package/raystack/assets/v1beta2/model_pb.ts +322 -0
  71. package/raystack/assets/v1beta2/table.ts +663 -0
  72. package/raystack/assets/v1beta2/table_pb.ts +409 -0
  73. package/raystack/assets/v1beta2/topic.ts +275 -0
  74. package/raystack/assets/v1beta2/topic_pb.ts +181 -0
  75. package/raystack/assets/v1beta2/user.ts +433 -0
  76. package/raystack/assets/v1beta2/user_pb.ts +277 -0
  77. package/raystack/common/index.ts +3 -0
  78. package/raystack/common/v1/service-CommonService_connectquery.ts +21 -0
  79. package/raystack/common/v1/service.client.ts +37 -0
  80. package/raystack/common/v1/service.ts +245 -0
  81. package/raystack/common/v1/service_connect.ts +26 -0
  82. package/raystack/common/v1/service_pb.ts +149 -0
  83. package/raystack/compass/index.ts +3 -0
  84. package/raystack/compass/v1beta1/service-CompassService_connectquery.ts +605 -0
  85. package/raystack/compass/v1beta1/service.client.ts +594 -0
  86. package/raystack/compass/v1beta1/service.ts +8169 -0
  87. package/raystack/compass/v1beta1/service_connect.ts +407 -0
  88. package/raystack/compass/v1beta1/service_pb.ts +4975 -0
  89. package/raystack/entropy/index.ts +6 -0
  90. package/raystack/entropy/v1beta1/module-ModuleService_connectquery.ts +77 -0
  91. package/raystack/entropy/v1beta1/module.client.ts +89 -0
  92. package/raystack/entropy/v1beta1/module.ts +692 -0
  93. package/raystack/entropy/v1beta1/module_connect.ts +62 -0
  94. package/raystack/entropy/v1beta1/module_pb.ts +445 -0
  95. package/raystack/entropy/v1beta1/resource-ResourceService_connectquery.ts +105 -0
  96. package/raystack/entropy/v1beta1/resource.client.ts +129 -0
  97. package/raystack/entropy/v1beta1/resource.ts +1817 -0
  98. package/raystack/entropy/v1beta1/resource_connect.ts +89 -0
  99. package/raystack/entropy/v1beta1/resource_pb.ts +1092 -0
  100. package/raystack/frontier/index.ts +7 -0
  101. package/raystack/frontier/v1beta1/admin-AdminService_connectquery.ts +756 -0
  102. package/raystack/frontier/v1beta1/admin.client.ts +849 -0
  103. package/raystack/frontier/v1beta1/admin.ts +9007 -0
  104. package/raystack/frontier/v1beta1/admin_connect.ts +573 -0
  105. package/raystack/frontier/v1beta1/admin_pb.ts +5615 -0
  106. package/raystack/frontier/v1beta1/frontier-FrontierService_connectquery.ts +2399 -0
  107. package/raystack/frontier/v1beta1/frontier.client.ts +2307 -0
  108. package/raystack/frontier/v1beta1/frontier.ts +23706 -0
  109. package/raystack/frontier/v1beta1/frontier_connect.ts +1574 -0
  110. package/raystack/frontier/v1beta1/frontier_pb.ts +15258 -0
  111. package/raystack/frontier/v1beta1/models.ts +7433 -0
  112. package/raystack/frontier/v1beta1/models_pb.ts +4345 -0
  113. package/raystack/guardian/index.ts +3 -0
  114. package/raystack/guardian/v1beta1/guardian-GuardianService_connectquery.ts +569 -0
  115. package/raystack/guardian/v1beta1/guardian.client.ts +552 -0
  116. package/raystack/guardian/v1beta1/guardian.ts +9688 -0
  117. package/raystack/guardian/v1beta1/guardian_connect.ts +381 -0
  118. package/raystack/guardian/v1beta1/guardian_pb.ts +5858 -0
  119. package/raystack/optimus/core/v1beta1/backup-BackupService_connectquery.ts +49 -0
  120. package/raystack/optimus/core/v1beta1/backup.client.ts +63 -0
  121. package/raystack/optimus/core/v1beta1/backup.ts +708 -0
  122. package/raystack/optimus/core/v1beta1/backup_connect.ts +44 -0
  123. package/raystack/optimus/core/v1beta1/backup_pb.ts +406 -0
  124. package/raystack/optimus/core/v1beta1/job_run-JobRunService_connectquery.ts +71 -0
  125. package/raystack/optimus/core/v1beta1/job_run.client.ts +96 -0
  126. package/raystack/optimus/core/v1beta1/job_run.ts +1008 -0
  127. package/raystack/optimus/core/v1beta1/job_run_connect.ts +63 -0
  128. package/raystack/optimus/core/v1beta1/job_run_pb.ts +612 -0
  129. package/raystack/optimus/core/v1beta1/job_spec-JobSpecificationService_connectquery.ts +249 -0
  130. package/raystack/optimus/core/v1beta1/job_spec.client.ts +363 -0
  131. package/raystack/optimus/core/v1beta1/job_spec.ts +5134 -0
  132. package/raystack/optimus/core/v1beta1/job_spec_connect.ts +233 -0
  133. package/raystack/optimus/core/v1beta1/job_spec_pb.ts +3196 -0
  134. package/raystack/optimus/core/v1beta1/namespace-NamespaceService_connectquery.ts +55 -0
  135. package/raystack/optimus/core/v1beta1/namespace.client.ts +75 -0
  136. package/raystack/optimus/core/v1beta1/namespace.ts +477 -0
  137. package/raystack/optimus/core/v1beta1/namespace_connect.ts +50 -0
  138. package/raystack/optimus/core/v1beta1/namespace_pb.ts +291 -0
  139. package/raystack/optimus/core/v1beta1/project-ProjectService_connectquery.ts +55 -0
  140. package/raystack/optimus/core/v1beta1/project.client.ts +75 -0
  141. package/raystack/optimus/core/v1beta1/project.ts +520 -0
  142. package/raystack/optimus/core/v1beta1/project_connect.ts +50 -0
  143. package/raystack/optimus/core/v1beta1/project_pb.ts +322 -0
  144. package/raystack/optimus/core/v1beta1/replay-ReplayService_connectquery.ts +63 -0
  145. package/raystack/optimus/core/v1beta1/replay.client.ts +76 -0
  146. package/raystack/optimus/core/v1beta1/replay.ts +881 -0
  147. package/raystack/optimus/core/v1beta1/replay_connect.ts +53 -0
  148. package/raystack/optimus/core/v1beta1/replay_pb.ts +522 -0
  149. package/raystack/optimus/core/v1beta1/resource-ResourceService_connectquery.ts +104 -0
  150. package/raystack/optimus/core/v1beta1/resource.client.ts +148 -0
  151. package/raystack/optimus/core/v1beta1/resource.ts +1329 -0
  152. package/raystack/optimus/core/v1beta1/resource_connect.ts +96 -0
  153. package/raystack/optimus/core/v1beta1/resource_pb.ts +791 -0
  154. package/raystack/optimus/core/v1beta1/runtime-RuntimeService_connectquery.ts +23 -0
  155. package/raystack/optimus/core/v1beta1/runtime.client.ts +45 -0
  156. package/raystack/optimus/core/v1beta1/runtime.ts +131 -0
  157. package/raystack/optimus/core/v1beta1/runtime_connect.ts +30 -0
  158. package/raystack/optimus/core/v1beta1/runtime_pb.ts +82 -0
  159. package/raystack/optimus/core/v1beta1/secret-SecretService_connectquery.ts +71 -0
  160. package/raystack/optimus/core/v1beta1/secret.client.ts +92 -0
  161. package/raystack/optimus/core/v1beta1/secret.ts +619 -0
  162. package/raystack/optimus/core/v1beta1/secret_connect.ts +61 -0
  163. package/raystack/optimus/core/v1beta1/secret_pb.ts +393 -0
  164. package/raystack/optimus/core/v1beta1/status.ts +113 -0
  165. package/raystack/optimus/core/v1beta1/status_pb.ts +101 -0
  166. package/raystack/optimus/integration/v1beta1/event.ts +531 -0
  167. package/raystack/optimus/integration/v1beta1/event_pb.ts +362 -0
  168. package/raystack/optimus/plugins/v1beta1/dependency_resolver-DependencyResolverModService_connectquery.ts +72 -0
  169. package/raystack/optimus/plugins/v1beta1/dependency_resolver.client.ts +100 -0
  170. package/raystack/optimus/plugins/v1beta1/dependency_resolver.ts +950 -0
  171. package/raystack/optimus/plugins/v1beta1/dependency_resolver_connect.ts +65 -0
  172. package/raystack/optimus/plugins/v1beta1/dependency_resolver_pb.ts +604 -0
  173. package/raystack/predator/index.ts +2 -0
  174. package/raystack/predator/v1beta1/metrics_log.ts +457 -0
  175. package/raystack/predator/v1beta1/metrics_log_pb.ts +277 -0
  176. package/raystack/predator/v1beta1/result_log.ts +390 -0
  177. package/raystack/predator/v1beta1/result_log_pb.ts +235 -0
  178. package/raystack/raccoon/index.ts +3 -0
  179. package/raystack/raccoon/v1beta1/raccoon-EventService_connectquery.ts +21 -0
  180. package/raystack/raccoon/v1beta1/raccoon.client.ts +37 -0
  181. package/raystack/raccoon/v1beta1/raccoon.ts +442 -0
  182. package/raystack/raccoon/v1beta1/raccoon_connect.ts +26 -0
  183. package/raystack/raccoon/v1beta1/raccoon_pb.ts +324 -0
  184. package/raystack/siren/index.ts +3 -0
  185. package/raystack/siren/v1beta1/siren-SirenService_connectquery.ts +497 -0
  186. package/raystack/siren/v1beta1/siren.client.ts +479 -0
  187. package/raystack/siren/v1beta1/siren.ts +6507 -0
  188. package/raystack/siren/v1beta1/siren_connect.ts +332 -0
  189. package/raystack/siren/v1beta1/siren_pb.ts +3853 -0
  190. package/raystack/stencil/index.ts +3 -0
  191. package/raystack/stencil/v1beta1/stencil-StencilService_connectquery.ts +231 -0
  192. package/raystack/stencil/v1beta1/stencil.client.ts +232 -0
  193. package/raystack/stencil/v1beta1/stencil.ts +2716 -0
  194. package/raystack/stencil/v1beta1/stencil_connect.ts +161 -0
  195. package/raystack/stencil/v1beta1/stencil_pb.ts +1729 -0
  196. package/validate/validate.ts +4130 -0
  197. package/validate/validate_pb.ts +2621 -0
@@ -0,0 +1,324 @@
1
+ // @generated by protoc-gen-es v1.10.1 with parameter "target=ts,import_extension=none"
2
+ // @generated from file raystack/raccoon/v1beta1/raccoon.proto (package raystack.raccoon.v1beta1, syntax proto3)
3
+ /* eslint-disable */
4
+ // @ts-nocheck
5
+
6
+ import type { BinaryReadOptions, FieldList, JsonReadOptions, JsonValue, PartialMessage, PlainMessage } from "@bufbuild/protobuf";
7
+ import { Message, proto3, protoInt64, Timestamp } from "@bufbuild/protobuf";
8
+
9
+ /**
10
+ * @generated from enum raystack.raccoon.v1beta1.Status
11
+ */
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
+ ]);
102
+
103
+ /**
104
+ *
105
+ * `EventRequest` defines the contract to push events to Raccoon
106
+ *
107
+ * An `EventRequest` allows you to push more than one events(batch). The events
108
+ * are wrapped inside `events` repeated field. All of the fields on `EventRequest`
109
+ * are required.
110
+ *
111
+ * @generated from message raystack.raccoon.v1beta1.SendEventRequest
112
+ */
113
+ export class SendEventRequest extends Message<SendEventRequest> {
114
+ /**
115
+ *
116
+ * `req_guid` is unique identifier of the request the client is making.
117
+ *
118
+ * Raccoon uses the identifier to send response of the request. The client can handle the
119
+ * response accordingly. For example, the client can retry the request in case the response is
120
+ * giving `INTERNAL_ERROR` code with "publisher failed" reason.
121
+ *
122
+ * This identifier is necessary because on event-based protocols like WebSocket the response is
123
+ * returned asynchronously. If there is no identifier, no way the client can tell which response
124
+ * belongs to which request.
125
+ *
126
+ * Apart from sending response, `req_guid` is used to log some informations on 'debug' level. You can search the
127
+ * debug logs with `ReqGUID` keyword.
128
+ *
129
+ * @generated from field: string req_guid = 1;
130
+ */
131
+ reqGuid = "";
132
+
133
+ /**
134
+ *
135
+ * `sent_time` defines the time the request is sent.
136
+ *
137
+ * `sent_time` is used to calculate various metrics. The main metric uses `sent_time` is duration from the
138
+ * request is sent until the events are published.
139
+ *
140
+ * @generated from field: google.protobuf.Timestamp sent_time = 2;
141
+ */
142
+ sentTime?: Timestamp;
143
+
144
+ /**
145
+ *
146
+ * `events` is where the client put all the events wrapped in `Event`.
147
+ *
148
+ * As mentioned above, the request allows the client to push more than one event. Normally you want to batch
149
+ * the events to optimize the network call.
150
+ *
151
+ * @generated from field: repeated raystack.raccoon.v1beta1.Event events = 3;
152
+ */
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
+ ]);
167
+
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
+ }
184
+
185
+ /**
186
+ * @generated from message raystack.raccoon.v1beta1.Event
187
+ */
188
+ export class Event extends Message<Event> {
189
+ /**
190
+ *
191
+ * `event_bytes` is where you put bytes serialized event.
192
+ *
193
+ * @generated from field: bytes event_bytes = 1;
194
+ */
195
+ eventBytes = new Uint8Array(0);
196
+
197
+ /**
198
+ *
199
+ * `type` denotes an event type that the producer of this proto message may set.
200
+ *
201
+ * It is currently used by raccoon to distribute events to respective Kafka topics. However the
202
+ * users of this proto can use this type to set strings which can be processed in their
203
+ * ingestion systems to distribute or perform other functions.
204
+ *
205
+ * @generated from field: string type = 2;
206
+ */
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
+ }
232
+
233
+ static equals(a: Event | PlainMessage<Event> | undefined, b: Event | PlainMessage<Event> | undefined): boolean {
234
+ return proto3.util.equals(Event, a, b);
235
+ }
236
+ }
237
+
238
+ /**
239
+ * @generated from message raystack.raccoon.v1beta1.SendEventResponse
240
+ */
241
+ export class SendEventResponse extends Message<SendEventResponse> {
242
+ /**
243
+ *
244
+ * `status` denotes status of the request.
245
+ *
246
+ * Only 3 values are valid. `SUCCESS` means the the request is processed
247
+ * successfully. `ERROR` means the request failed to be processed. `UNKNOWN_STATUS`
248
+ * means Raccoon unable to determine whether the request is success or not.
249
+ *
250
+ * @generated from field: raystack.raccoon.v1beta1.Status status = 1;
251
+ */
252
+ status = Status.UNSPECIFIED;
253
+
254
+ /**
255
+ *
256
+ * `code` gives more detail of what happened to the request.
257
+ *
258
+ * Details of available `code` can be seen below.
259
+ *
260
+ * @generated from field: raystack.raccoon.v1beta1.Code code = 2;
261
+ */
262
+ code = Code.UNSPECIFIED;
263
+
264
+ /**
265
+ *
266
+ * `sent_time` is UNIX timestamp populated by Raccoon by the time the response is sent.
267
+ *
268
+ * @generated from field: int64 sent_time = 3;
269
+ */
270
+ sentTime = protoInt64.zero;
271
+
272
+ /**
273
+ *
274
+ * `reason` is additional-human readable information to provide more context to `status` and `code`.
275
+ *
276
+ * There is no predefined structure for this. The value is arbitrary.
277
+ *
278
+ * @generated from field: string reason = 4;
279
+ */
280
+ reason = "";
281
+
282
+ /**
283
+ *
284
+ * `data` is arbitrary extra metadata.
285
+ *
286
+ * Arbitrary key-value makes the field flexible for future changes. `req_guid` is also sent as part
287
+ * of `data`. The client may fetch req_guid as key to get the `req_guid` value.
288
+ *
289
+ * @generated from field: map<string, string> data = 5;
290
+ */
291
+ data: { [key: string]: string } = {};
292
+
293
+ constructor(data?: PartialMessage<SendEventResponse>) {
294
+ super();
295
+ proto3.util.initPartial(data, this);
296
+ }
297
+
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
+ ]);
307
+
308
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): SendEventResponse {
309
+ return new SendEventResponse().fromBinary(bytes, options);
310
+ }
311
+
312
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): SendEventResponse {
313
+ return new SendEventResponse().fromJson(jsonValue, options);
314
+ }
315
+
316
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): SendEventResponse {
317
+ return new SendEventResponse().fromJsonString(jsonString, options);
318
+ }
319
+
320
+ static equals(a: SendEventResponse | PlainMessage<SendEventResponse> | undefined, b: SendEventResponse | PlainMessage<SendEventResponse> | undefined): boolean {
321
+ return proto3.util.equals(SendEventResponse, a, b);
322
+ }
323
+ }
324
+
@@ -0,0 +1,3 @@
1
+ export { SirenService } from "./v1beta1/siren_connect";
2
+ export * as SirenServiceQueries from "./v1beta1/siren-SirenService_connectquery";
3
+ export * from "./v1beta1/siren";