@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,266 @@
1
+ // @generated by protoc-gen-es v1.10.1 with parameter "target=ts,import_extension=none"
2
+ // @generated from file raystack/assets/v1beta1/table.proto (package raystack.assets.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 } from "@bufbuild/protobuf";
8
+ import { Resource } from "./resource_pb";
9
+ import { Columns } from "./schema_pb";
10
+ import { Preview } from "./preview_pb";
11
+ import { Ownership } from "./ownership_pb";
12
+ import { Lineage } from "./lineage_pb";
13
+ import { Properties } from "./properties_pb";
14
+ import { Timestamp } from "./timestamp_pb";
15
+ import { Event } from "./event_pb";
16
+
17
+ /**
18
+ * Table is a table in a database.
19
+ * It can be a file, a table, a view, a materialized view, a temporary table, or a virtual table.
20
+ *
21
+ * @generated from message raystack.assets.v1beta1.Table
22
+ */
23
+ export class Table extends Message<Table> {
24
+ /**
25
+ * Representation of the resource
26
+ *
27
+ * @generated from field: raystack.assets.v1beta1.Resource resource = 1;
28
+ */
29
+ resource?: Resource;
30
+
31
+ /**
32
+ * The metrics about the table.
33
+ * For example check the profile schem.
34
+ *
35
+ * @generated from field: raystack.assets.v1beta1.TableProfile profile = 21;
36
+ */
37
+ profile?: TableProfile;
38
+
39
+ /**
40
+ * The columns of the table.
41
+ * Example: 'id', `name`, `age'.
42
+ *
43
+ * @generated from field: raystack.assets.v1beta1.Columns schema = 22;
44
+ */
45
+ schema?: Columns;
46
+
47
+ /**
48
+ * Previews of the table.
49
+ * For an example check out preview facet.
50
+ *
51
+ * @generated from field: raystack.assets.v1beta1.Preview preview = 23;
52
+ */
53
+ preview?: Preview;
54
+
55
+ /**
56
+ * The ownership of the table.
57
+ * For an example check out ownership.
58
+ *
59
+ * @generated from field: raystack.assets.v1beta1.Ownership ownership = 31;
60
+ */
61
+ ownership?: Ownership;
62
+
63
+ /**
64
+ * The lineage of the table.
65
+ * For an example check out lineage.
66
+ *
67
+ * @generated from field: raystack.assets.v1beta1.Lineage lineage = 32;
68
+ */
69
+ lineage?: Lineage;
70
+
71
+ /**
72
+ * List of the user's custom properties.
73
+ * Properties facet can be used to set custom properties, tags and labels for a user.
74
+ *
75
+ * @generated from field: raystack.assets.v1beta1.Properties properties = 33;
76
+ */
77
+ properties?: Properties;
78
+
79
+ /**
80
+ * The timestamp of the user's creation.
81
+ * Timstamp facet can be used to set the creation and updation timestamp of a user.
82
+ *
83
+ * @generated from field: raystack.assets.v1beta1.Timestamp timestamps = 34;
84
+ */
85
+ timestamps?: Timestamp;
86
+
87
+ /**
88
+ * The timestamp of the generated event.
89
+ * Event schemas is defined in the common event schema.
90
+ *
91
+ * @generated from field: raystack.assets.v1beta1.Event event = 100;
92
+ */
93
+ event?: Event;
94
+
95
+ constructor(data?: PartialMessage<Table>) {
96
+ super();
97
+ proto3.util.initPartial(data, this);
98
+ }
99
+
100
+ static readonly runtime: typeof proto3 = proto3;
101
+ static readonly typeName = "raystack.assets.v1beta1.Table";
102
+ static readonly fields: FieldList = proto3.util.newFieldList(() => [
103
+ { no: 1, name: "resource", kind: "message", T: Resource },
104
+ { no: 21, name: "profile", kind: "message", T: TableProfile },
105
+ { no: 22, name: "schema", kind: "message", T: Columns },
106
+ { no: 23, name: "preview", kind: "message", T: Preview },
107
+ { no: 31, name: "ownership", kind: "message", T: Ownership },
108
+ { no: 32, name: "lineage", kind: "message", T: Lineage },
109
+ { no: 33, name: "properties", kind: "message", T: Properties },
110
+ { no: 34, name: "timestamps", kind: "message", T: Timestamp },
111
+ { no: 100, name: "event", kind: "message", T: Event },
112
+ ]);
113
+
114
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): Table {
115
+ return new Table().fromBinary(bytes, options);
116
+ }
117
+
118
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): Table {
119
+ return new Table().fromJson(jsonValue, options);
120
+ }
121
+
122
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): Table {
123
+ return new Table().fromJsonString(jsonString, options);
124
+ }
125
+
126
+ static equals(a: Table | PlainMessage<Table> | undefined, b: Table | PlainMessage<Table> | undefined): boolean {
127
+ return proto3.util.equals(Table, a, b);
128
+ }
129
+ }
130
+
131
+ /**
132
+ * TableProfile is the metrics about the table.
133
+ *
134
+ * @generated from message raystack.assets.v1beta1.TableProfile
135
+ */
136
+ export class TableProfile extends Message<TableProfile> {
137
+ /**
138
+ * The number of rows in the table.
139
+ * Example: `100`.
140
+ *
141
+ * @generated from field: int64 total_rows = 1;
142
+ */
143
+ totalRows = protoInt64.zero;
144
+
145
+ /**
146
+ * The number of rows in the table that are not deleted.
147
+ * Example: `event_timestamp`.
148
+ *
149
+ * @generated from field: string partition_key = 2;
150
+ */
151
+ partitionKey = "";
152
+
153
+ /**
154
+ * @generated from field: string partition_value = 3;
155
+ */
156
+ partitionValue = "";
157
+
158
+ /**
159
+ * The number of how many times table is being used
160
+ *
161
+ * @generated from field: int64 usage_count = 4;
162
+ */
163
+ usageCount = protoInt64.zero;
164
+
165
+ /**
166
+ * The information of `join` applied to the table
167
+ *
168
+ * @generated from field: repeated raystack.assets.v1beta1.Join joins = 5;
169
+ */
170
+ joins: Join[] = [];
171
+
172
+ /**
173
+ * The information of `filter` applied to the table
174
+ *
175
+ * @generated from field: repeated string filters = 6;
176
+ */
177
+ filters: string[] = [];
178
+
179
+ constructor(data?: PartialMessage<TableProfile>) {
180
+ super();
181
+ proto3.util.initPartial(data, this);
182
+ }
183
+
184
+ static readonly runtime: typeof proto3 = proto3;
185
+ static readonly typeName = "raystack.assets.v1beta1.TableProfile";
186
+ static readonly fields: FieldList = proto3.util.newFieldList(() => [
187
+ { no: 1, name: "total_rows", kind: "scalar", T: 3 /* ScalarType.INT64 */ },
188
+ { no: 2, name: "partition_key", kind: "scalar", T: 9 /* ScalarType.STRING */ },
189
+ { no: 3, name: "partition_value", kind: "scalar", T: 9 /* ScalarType.STRING */ },
190
+ { no: 4, name: "usage_count", kind: "scalar", T: 3 /* ScalarType.INT64 */ },
191
+ { no: 5, name: "joins", kind: "message", T: Join, repeated: true },
192
+ { no: 6, name: "filters", kind: "scalar", T: 9 /* ScalarType.STRING */, repeated: true },
193
+ ]);
194
+
195
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): TableProfile {
196
+ return new TableProfile().fromBinary(bytes, options);
197
+ }
198
+
199
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): TableProfile {
200
+ return new TableProfile().fromJson(jsonValue, options);
201
+ }
202
+
203
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): TableProfile {
204
+ return new TableProfile().fromJsonString(jsonString, options);
205
+ }
206
+
207
+ static equals(a: TableProfile | PlainMessage<TableProfile> | undefined, b: TableProfile | PlainMessage<TableProfile> | undefined): boolean {
208
+ return proto3.util.equals(TableProfile, a, b);
209
+ }
210
+ }
211
+
212
+ /**
213
+ * Join is the metric of which are other tables that are joined with this table
214
+ *
215
+ * @generated from message raystack.assets.v1beta1.Join
216
+ */
217
+ export class Join extends Message<Join> {
218
+ /**
219
+ * @generated from field: string urn = 1;
220
+ */
221
+ urn = "";
222
+
223
+ /**
224
+ * The number of how many times table is being joined with a certain table urn
225
+ *
226
+ * @generated from field: int64 count = 2;
227
+ */
228
+ count = protoInt64.zero;
229
+
230
+ /**
231
+ * The information of `join conditions` applied to the table
232
+ *
233
+ * @generated from field: repeated string conditions = 3;
234
+ */
235
+ conditions: string[] = [];
236
+
237
+ constructor(data?: PartialMessage<Join>) {
238
+ super();
239
+ proto3.util.initPartial(data, this);
240
+ }
241
+
242
+ static readonly runtime: typeof proto3 = proto3;
243
+ static readonly typeName = "raystack.assets.v1beta1.Join";
244
+ static readonly fields: FieldList = proto3.util.newFieldList(() => [
245
+ { no: 1, name: "urn", kind: "scalar", T: 9 /* ScalarType.STRING */ },
246
+ { no: 2, name: "count", kind: "scalar", T: 3 /* ScalarType.INT64 */ },
247
+ { no: 3, name: "conditions", kind: "scalar", T: 9 /* ScalarType.STRING */, repeated: true },
248
+ ]);
249
+
250
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): Join {
251
+ return new Join().fromBinary(bytes, options);
252
+ }
253
+
254
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): Join {
255
+ return new Join().fromJson(jsonValue, options);
256
+ }
257
+
258
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): Join {
259
+ return new Join().fromJsonString(jsonString, options);
260
+ }
261
+
262
+ static equals(a: Join | PlainMessage<Join> | undefined, b: Join | PlainMessage<Join> | undefined): boolean {
263
+ return proto3.util.equals(Join, a, b);
264
+ }
265
+ }
266
+
@@ -0,0 +1,158 @@
1
+ // @generated by protobuf-ts 2.11.1
2
+ // @generated from protobuf file "raystack/assets/v1beta1/timestamp.proto" (package "raystack.assets.v1beta1", syntax proto3)
3
+ // tslint:disable
4
+ import type { BinaryWriteOptions } from "@protobuf-ts/runtime";
5
+ import type { IBinaryWriter } from "@protobuf-ts/runtime";
6
+ import { WireType } from "@protobuf-ts/runtime";
7
+ import type { BinaryReadOptions } from "@protobuf-ts/runtime";
8
+ import type { IBinaryReader } from "@protobuf-ts/runtime";
9
+ import { UnknownFieldHandler } from "@protobuf-ts/runtime";
10
+ import type { PartialMessage } from "@protobuf-ts/runtime";
11
+ import { reflectionMergePartial } from "@protobuf-ts/runtime";
12
+ import { MessageType } from "@protobuf-ts/runtime";
13
+ import { Timestamp as Timestamp$ } from "../../../google/protobuf/timestamp";
14
+ /**
15
+ * Timestamp represents created and modified timestamps.
16
+ *
17
+ * @generated from protobuf message raystack.assets.v1beta1.Timestamp
18
+ */
19
+ export interface Timestamp {
20
+ /**
21
+ * The timestamp when the object was created.
22
+ *
23
+ * @generated from protobuf field: google.protobuf.Timestamp create_time = 1
24
+ */
25
+ createTime?: Timestamp$;
26
+ /**
27
+ * The timestamp when the object was last modified.
28
+ *
29
+ * @generated from protobuf field: google.protobuf.Timestamp update_time = 2
30
+ */
31
+ updateTime?: Timestamp$;
32
+ }
33
+ /**
34
+ * A time window specified by its `start_time` and `end_time`.
35
+ *
36
+ * @generated from protobuf message raystack.assets.v1beta1.TimeWindow
37
+ */
38
+ export interface TimeWindow {
39
+ /**
40
+ * Start time of the time window (exclusive).
41
+ *
42
+ * @generated from protobuf field: google.protobuf.Timestamp start_time = 1
43
+ */
44
+ startTime?: Timestamp$;
45
+ /**
46
+ * End time of the time window (inclusive). If not specified, the current
47
+ * timestamp is used instead.
48
+ *
49
+ * @generated from protobuf field: google.protobuf.Timestamp end_time = 2
50
+ */
51
+ endTime?: Timestamp$;
52
+ }
53
+ // @generated message type with reflection information, may provide speed optimized methods
54
+ class Timestamp$Type extends MessageType<Timestamp> {
55
+ constructor() {
56
+ super("raystack.assets.v1beta1.Timestamp", [
57
+ { no: 1, name: "create_time", kind: "message", T: () => Timestamp$ },
58
+ { no: 2, name: "update_time", kind: "message", T: () => Timestamp$ }
59
+ ]);
60
+ }
61
+ create(value?: PartialMessage<Timestamp>): Timestamp {
62
+ const message = globalThis.Object.create((this.messagePrototype!));
63
+ if (value !== undefined)
64
+ reflectionMergePartial<Timestamp>(this, message, value);
65
+ return message;
66
+ }
67
+ internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: Timestamp): Timestamp {
68
+ let message = target ?? this.create(), end = reader.pos + length;
69
+ while (reader.pos < end) {
70
+ let [fieldNo, wireType] = reader.tag();
71
+ switch (fieldNo) {
72
+ case /* google.protobuf.Timestamp create_time */ 1:
73
+ message.createTime = Timestamp$.internalBinaryRead(reader, reader.uint32(), options, message.createTime);
74
+ break;
75
+ case /* google.protobuf.Timestamp update_time */ 2:
76
+ message.updateTime = Timestamp$.internalBinaryRead(reader, reader.uint32(), options, message.updateTime);
77
+ break;
78
+ default:
79
+ let u = options.readUnknownField;
80
+ if (u === "throw")
81
+ throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
82
+ let d = reader.skip(wireType);
83
+ if (u !== false)
84
+ (u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
85
+ }
86
+ }
87
+ return message;
88
+ }
89
+ internalBinaryWrite(message: Timestamp, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
90
+ /* google.protobuf.Timestamp create_time = 1; */
91
+ if (message.createTime)
92
+ Timestamp$.internalBinaryWrite(message.createTime, writer.tag(1, WireType.LengthDelimited).fork(), options).join();
93
+ /* google.protobuf.Timestamp update_time = 2; */
94
+ if (message.updateTime)
95
+ Timestamp$.internalBinaryWrite(message.updateTime, writer.tag(2, WireType.LengthDelimited).fork(), options).join();
96
+ let u = options.writeUnknownFields;
97
+ if (u !== false)
98
+ (u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
99
+ return writer;
100
+ }
101
+ }
102
+ /**
103
+ * @generated MessageType for protobuf message raystack.assets.v1beta1.Timestamp
104
+ */
105
+ export const Timestamp = new Timestamp$Type();
106
+ // @generated message type with reflection information, may provide speed optimized methods
107
+ class TimeWindow$Type extends MessageType<TimeWindow> {
108
+ constructor() {
109
+ super("raystack.assets.v1beta1.TimeWindow", [
110
+ { no: 1, name: "start_time", kind: "message", T: () => Timestamp$ },
111
+ { no: 2, name: "end_time", kind: "message", T: () => Timestamp$ }
112
+ ]);
113
+ }
114
+ create(value?: PartialMessage<TimeWindow>): TimeWindow {
115
+ const message = globalThis.Object.create((this.messagePrototype!));
116
+ if (value !== undefined)
117
+ reflectionMergePartial<TimeWindow>(this, message, value);
118
+ return message;
119
+ }
120
+ internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: TimeWindow): TimeWindow {
121
+ let message = target ?? this.create(), end = reader.pos + length;
122
+ while (reader.pos < end) {
123
+ let [fieldNo, wireType] = reader.tag();
124
+ switch (fieldNo) {
125
+ case /* google.protobuf.Timestamp start_time */ 1:
126
+ message.startTime = Timestamp$.internalBinaryRead(reader, reader.uint32(), options, message.startTime);
127
+ break;
128
+ case /* google.protobuf.Timestamp end_time */ 2:
129
+ message.endTime = Timestamp$.internalBinaryRead(reader, reader.uint32(), options, message.endTime);
130
+ break;
131
+ default:
132
+ let u = options.readUnknownField;
133
+ if (u === "throw")
134
+ throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
135
+ let d = reader.skip(wireType);
136
+ if (u !== false)
137
+ (u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
138
+ }
139
+ }
140
+ return message;
141
+ }
142
+ internalBinaryWrite(message: TimeWindow, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
143
+ /* google.protobuf.Timestamp start_time = 1; */
144
+ if (message.startTime)
145
+ Timestamp$.internalBinaryWrite(message.startTime, writer.tag(1, WireType.LengthDelimited).fork(), options).join();
146
+ /* google.protobuf.Timestamp end_time = 2; */
147
+ if (message.endTime)
148
+ Timestamp$.internalBinaryWrite(message.endTime, writer.tag(2, WireType.LengthDelimited).fork(), options).join();
149
+ let u = options.writeUnknownFields;
150
+ if (u !== false)
151
+ (u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
152
+ return writer;
153
+ }
154
+ }
155
+ /**
156
+ * @generated MessageType for protobuf message raystack.assets.v1beta1.TimeWindow
157
+ */
158
+ export const TimeWindow = new TimeWindow$Type();
@@ -0,0 +1,107 @@
1
+ // @generated by protoc-gen-es v1.10.1 with parameter "target=ts,import_extension=none"
2
+ // @generated from file raystack/assets/v1beta1/timestamp.proto (package raystack.assets.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, Timestamp as Timestamp$1 } from "@bufbuild/protobuf";
8
+
9
+ /**
10
+ * Timestamp represents created and modified timestamps.
11
+ *
12
+ * @generated from message raystack.assets.v1beta1.Timestamp
13
+ */
14
+ export class Timestamp extends Message<Timestamp> {
15
+ /**
16
+ * The timestamp when the object was created.
17
+ *
18
+ * @generated from field: google.protobuf.Timestamp create_time = 1;
19
+ */
20
+ createTime?: Timestamp$1;
21
+
22
+ /**
23
+ * The timestamp when the object was last modified.
24
+ *
25
+ * @generated from field: google.protobuf.Timestamp update_time = 2;
26
+ */
27
+ updateTime?: Timestamp$1;
28
+
29
+ constructor(data?: PartialMessage<Timestamp>) {
30
+ super();
31
+ proto3.util.initPartial(data, this);
32
+ }
33
+
34
+ static readonly runtime: typeof proto3 = proto3;
35
+ static readonly typeName = "raystack.assets.v1beta1.Timestamp";
36
+ static readonly fields: FieldList = proto3.util.newFieldList(() => [
37
+ { no: 1, name: "create_time", kind: "message", T: Timestamp$1 },
38
+ { no: 2, name: "update_time", kind: "message", T: Timestamp$1 },
39
+ ]);
40
+
41
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): Timestamp {
42
+ return new Timestamp().fromBinary(bytes, options);
43
+ }
44
+
45
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): Timestamp {
46
+ return new Timestamp().fromJson(jsonValue, options);
47
+ }
48
+
49
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): Timestamp {
50
+ return new Timestamp().fromJsonString(jsonString, options);
51
+ }
52
+
53
+ static equals(a: Timestamp | PlainMessage<Timestamp> | undefined, b: Timestamp | PlainMessage<Timestamp> | undefined): boolean {
54
+ return proto3.util.equals(Timestamp, a, b);
55
+ }
56
+ }
57
+
58
+ /**
59
+ * A time window specified by its `start_time` and `end_time`.
60
+ *
61
+ * @generated from message raystack.assets.v1beta1.TimeWindow
62
+ */
63
+ export class TimeWindow extends Message<TimeWindow> {
64
+ /**
65
+ * Start time of the time window (exclusive).
66
+ *
67
+ * @generated from field: google.protobuf.Timestamp start_time = 1;
68
+ */
69
+ startTime?: Timestamp$1;
70
+
71
+ /**
72
+ * End time of the time window (inclusive). If not specified, the current
73
+ * timestamp is used instead.
74
+ *
75
+ * @generated from field: google.protobuf.Timestamp end_time = 2;
76
+ */
77
+ endTime?: Timestamp$1;
78
+
79
+ constructor(data?: PartialMessage<TimeWindow>) {
80
+ super();
81
+ proto3.util.initPartial(data, this);
82
+ }
83
+
84
+ static readonly runtime: typeof proto3 = proto3;
85
+ static readonly typeName = "raystack.assets.v1beta1.TimeWindow";
86
+ static readonly fields: FieldList = proto3.util.newFieldList(() => [
87
+ { no: 1, name: "start_time", kind: "message", T: Timestamp$1 },
88
+ { no: 2, name: "end_time", kind: "message", T: Timestamp$1 },
89
+ ]);
90
+
91
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): TimeWindow {
92
+ return new TimeWindow().fromBinary(bytes, options);
93
+ }
94
+
95
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): TimeWindow {
96
+ return new TimeWindow().fromJson(jsonValue, options);
97
+ }
98
+
99
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): TimeWindow {
100
+ return new TimeWindow().fromJsonString(jsonString, options);
101
+ }
102
+
103
+ static equals(a: TimeWindow | PlainMessage<TimeWindow> | undefined, b: TimeWindow | PlainMessage<TimeWindow> | undefined): boolean {
104
+ return proto3.util.equals(TimeWindow, a, b);
105
+ }
106
+ }
107
+