@raystack/proton 0.1.0-ce225175aa066e6f296bc489293bb83ed0edcef6 → 0.1.0-fe747c0278b08e54b16540b091d980d1b166f948

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 (113) hide show
  1. package/README.md +113 -0
  2. package/google/api/annotations_pb.ts +15 -9
  3. package/google/api/field_behavior_pb.ts +19 -19
  4. package/google/api/http_pb.ts +43 -108
  5. package/google/api/httpbody_pb.ts +23 -37
  6. package/package.json +6 -4
  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/v1beta1/bucket_pb.ts +46 -89
  10. package/raystack/assets/v1beta1/dashboard_pb.ts +49 -97
  11. package/raystack/assets/v1beta1/event_pb.ts +22 -36
  12. package/raystack/assets/v1beta1/group_pb.ts +38 -74
  13. package/raystack/assets/v1beta1/job_pb.ts +30 -43
  14. package/raystack/assets/v1beta1/lineage_pb.ts +22 -36
  15. package/raystack/assets/v1beta1/ownership_pb.ts +31 -68
  16. package/raystack/assets/v1beta1/preview_pb.ts +21 -34
  17. package/raystack/assets/v1beta1/properties_pb.ts +22 -37
  18. package/raystack/assets/v1beta1/resource_pb.ts +24 -43
  19. package/raystack/assets/v1beta1/schema_pb.ts +59 -145
  20. package/raystack/assets/v1beta1/table_pb.ts +59 -120
  21. package/raystack/assets/v1beta1/timestamp_pb.ts +28 -62
  22. package/raystack/assets/v1beta1/topic_pb.ts +43 -78
  23. package/raystack/assets/v1beta1/user_pb.ts +58 -125
  24. package/raystack/assets/v1beta2/application_pb.ts +23 -39
  25. package/raystack/assets/v1beta2/asset_pb.ts +30 -53
  26. package/raystack/assets/v1beta2/bucket_pb.ts +41 -87
  27. package/raystack/assets/v1beta2/common_pb.ts +56 -137
  28. package/raystack/assets/v1beta2/dashboard_pb.ts +44 -93
  29. package/raystack/assets/v1beta2/experiment_pb.ts +38 -79
  30. package/raystack/assets/v1beta2/feature_table_pb.ts +51 -115
  31. package/raystack/assets/v1beta2/group_pb.ts +32 -68
  32. package/raystack/assets/v1beta2/job_pb.ts +21 -35
  33. package/raystack/assets/v1beta2/metric_pb.ts +25 -43
  34. package/raystack/assets/v1beta2/model_pb.ts +59 -147
  35. package/raystack/assets/v1beta2/table_pb.ts +82 -200
  36. package/raystack/assets/v1beta2/topic_pb.ts +41 -99
  37. package/raystack/assets/v1beta2/user_pb.ts +53 -121
  38. package/raystack/common/index.ts +0 -1
  39. package/raystack/common/v1/service-CommonService_connectquery.ts +3 -14
  40. package/raystack/common/v1/service_pb.ts +57 -97
  41. package/raystack/compass/index.ts +0 -1
  42. package/raystack/compass/v1beta1/service-CompassService_connectquery.ts +44 -424
  43. package/raystack/compass/v1beta1/service_pb.ts +1448 -3319
  44. package/raystack/entropy/index.ts +0 -2
  45. package/raystack/entropy/v1beta1/module-ModuleService_connectquery.ts +7 -54
  46. package/raystack/entropy/v1beta1/module_pb.ts +156 -324
  47. package/raystack/entropy/v1beta1/resource-ResourceService_connectquery.ts +9 -74
  48. package/raystack/entropy/v1beta1/resource_pb.ts +330 -756
  49. package/raystack/frontier/index.ts +0 -2
  50. package/raystack/frontier/v1beta1/admin-AdminService_connectquery.ts +60 -514
  51. package/raystack/frontier/v1beta1/admin.client.ts +17 -0
  52. package/raystack/frontier/v1beta1/admin.ts +111 -1
  53. package/raystack/frontier/v1beta1/admin_pb.ts +1774 -3791
  54. package/raystack/frontier/v1beta1/frontier-FrontierService_connectquery.ts +169 -1674
  55. package/raystack/frontier/v1beta1/frontier_pb.ts +4850 -10959
  56. package/raystack/frontier/v1beta1/models_pb.ts +810 -2296
  57. package/raystack/guardian/index.ts +0 -1
  58. package/raystack/guardian/v1beta1/guardian-GuardianService_connectquery.ts +42 -404
  59. package/raystack/guardian/v1beta1/guardian_pb.ts +1584 -3783
  60. package/raystack/optimus/core/v1beta1/backup-BackupService_connectquery.ts +5 -34
  61. package/raystack/optimus/core/v1beta1/backup_pb.ts +137 -273
  62. package/raystack/optimus/core/v1beta1/job_run-JobRunService_connectquery.ts +6 -44
  63. package/raystack/optimus/core/v1beta1/job_run_pb.ts +194 -376
  64. package/raystack/optimus/core/v1beta1/job_spec-JobSpecificationService_connectquery.ts +17 -154
  65. package/raystack/optimus/core/v1beta1/job_spec_pb.ts +910 -2081
  66. package/raystack/optimus/core/v1beta1/namespace-NamespaceService_connectquery.ts +5 -34
  67. package/raystack/optimus/core/v1beta1/namespace_pb.ts +113 -212
  68. package/raystack/optimus/core/v1beta1/project-ProjectService_connectquery.ts +5 -34
  69. package/raystack/optimus/core/v1beta1/project_pb.ts +121 -238
  70. package/raystack/optimus/core/v1beta1/replay-ReplayService_connectquery.ts +6 -44
  71. package/raystack/optimus/core/v1beta1/replay_pb.ts +160 -335
  72. package/raystack/optimus/core/v1beta1/resource-ResourceService_connectquery.ts +8 -64
  73. package/raystack/optimus/core/v1beta1/resource_pb.ts +266 -527
  74. package/raystack/optimus/core/v1beta1/runtime-RuntimeService_connectquery.ts +3 -14
  75. package/raystack/optimus/core/v1beta1/runtime_pb.ts +48 -61
  76. package/raystack/optimus/core/v1beta1/secret-SecretService_connectquery.ts +6 -44
  77. package/raystack/optimus/core/v1beta1/secret_pb.ts +155 -283
  78. package/raystack/optimus/core/v1beta1/status_pb.ts +35 -54
  79. package/raystack/optimus/integration/v1beta1/event_pb.ts +75 -187
  80. package/raystack/optimus/plugins/v1beta1/dependency_resolver-DependencyResolverModService_connectquery.ts +6 -44
  81. package/raystack/optimus/plugins/v1beta1/dependency_resolver_pb.ts +193 -426
  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 +0 -1
  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 +0 -1
  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 +0 -1
  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/raystack/common/v1/service_connect.ts +0 -26
  95. package/raystack/compass/v1beta1/service_connect.ts +0 -407
  96. package/raystack/entropy/v1beta1/module_connect.ts +0 -62
  97. package/raystack/entropy/v1beta1/resource_connect.ts +0 -89
  98. package/raystack/frontier/v1beta1/admin_connect.ts +0 -573
  99. package/raystack/frontier/v1beta1/frontier_connect.ts +0 -1574
  100. package/raystack/guardian/v1beta1/guardian_connect.ts +0 -381
  101. package/raystack/optimus/core/v1beta1/backup_connect.ts +0 -44
  102. package/raystack/optimus/core/v1beta1/job_run_connect.ts +0 -63
  103. package/raystack/optimus/core/v1beta1/job_spec_connect.ts +0 -233
  104. package/raystack/optimus/core/v1beta1/namespace_connect.ts +0 -50
  105. package/raystack/optimus/core/v1beta1/project_connect.ts +0 -50
  106. package/raystack/optimus/core/v1beta1/replay_connect.ts +0 -53
  107. package/raystack/optimus/core/v1beta1/resource_connect.ts +0 -96
  108. package/raystack/optimus/core/v1beta1/runtime_connect.ts +0 -30
  109. package/raystack/optimus/core/v1beta1/secret_connect.ts +0 -61
  110. package/raystack/optimus/plugins/v1beta1/dependency_resolver_connect.ts +0 -65
  111. package/raystack/raccoon/v1beta1/raccoon_connect.ts +0 -26
  112. package/raystack/siren/v1beta1/siren_connect.ts +0 -332
  113. package/raystack/stencil/v1beta1/stencil_connect.ts +0 -161
@@ -1,19 +1,27 @@
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/predator/v1beta1/metrics_log.proto (package raystack.predator.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, Timestamp } from "@bufbuild/protobuf";
5
+ import type { GenFile, GenMessage } from "@bufbuild/protobuf/codegenv2";
6
+ import { fileDesc, messageDesc } 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";
10
+
11
+ /**
12
+ * Describes the file raystack/predator/v1beta1/metrics_log.proto.
13
+ */
14
+ export const file_raystack_predator_v1beta1_metrics_log: GenFile = /*@__PURE__*/
15
+ fileDesc("CityYXlzdGFjay9wcmVkYXRvci92MWJldGExL21ldHJpY3NfbG9nLnByb3RvEhlyYXlzdGFjay5wcmVkYXRvci52MWJldGExIoEBCg1NZXRyaWNzTG9nS2V5EgoKAmlkGAEgASgJEi8KBWdyb3VwGAIgASgLMiAucmF5c3RhY2sucHJlZGF0b3IudjFiZXRhMS5Hcm91cBIzCg9ldmVudF90aW1lc3RhbXAYYyABKAsyGi5nb29nbGUucHJvdG9idWYuVGltZXN0YW1wIqsCChFNZXRyaWNzTG9nTWVzc2FnZRIKCgJpZBgBIAEoCRILCgN1cm4YAiABKAkSDgoGZmlsdGVyGAMgASgJEi8KBWdyb3VwGAQgASgLMiAucmF5c3RhY2sucHJlZGF0b3IudjFiZXRhMS5Hcm91cBIMCgRtb2RlGAUgASgJEjgKDXRhYmxlX21ldHJpY3MYBiADKAsyIS5yYXlzdGFjay5wcmVkYXRvci52MWJldGExLk1ldHJpYxI/Cg5jb2x1bW5fbWV0cmljcxgHIAMoCzInLnJheXN0YWNrLnByZWRhdG9yLnYxYmV0YTEuQ29sdW1uTWV0cmljEjMKD2V2ZW50X3RpbWVzdGFtcBhjIAEoCzIaLmdvb2dsZS5wcm90b2J1Zi5UaW1lc3RhbXAiOAoGTWV0cmljEgwKBG5hbWUYASABKAkSDQoFdmFsdWUYAiABKAESEQoJY29uZGl0aW9uGAMgASgJIiYKBUdyb3VwEg4KBmNvbHVtbhgBIAEoCRINCgV2YWx1ZRgCIAEoCSJcCgxDb2x1bW5NZXRyaWMSCgoCaWQYASABKAkSDAoEdHlwZRgCIAEoCRIyCgdtZXRyaWNzGAMgAygLMiEucmF5c3RhY2sucHJlZGF0b3IudjFiZXRhMS5NZXRyaWNCVQobaW8ucmF5c3RhY2sucHJvdG9uLnByZWRhdG9yQg9NZXRyaWNzTG9nUHJvdG9QAVojZ2l0aHViLmNvbS9yYXlzdGFjay9wcm90b24vcHJlZGF0b3JiBnByb3RvMw", [file_google_protobuf_timestamp]);
8
16
 
9
17
  /**
10
18
  * @generated from message raystack.predator.v1beta1.MetricsLogKey
11
19
  */
12
- export class MetricsLogKey extends Message<MetricsLogKey> {
20
+ export type MetricsLogKey = Message<"raystack.predator.v1beta1.MetricsLogKey"> & {
13
21
  /**
14
22
  * @generated from field: string id = 1;
15
23
  */
16
- id = "";
24
+ id: string;
17
25
 
18
26
  /**
19
27
  * @generated from field: raystack.predator.v1beta1.Group group = 2;
@@ -24,55 +32,33 @@ export class MetricsLogKey extends Message<MetricsLogKey> {
24
32
  * @generated from field: google.protobuf.Timestamp event_timestamp = 99;
25
33
  */
26
34
  eventTimestamp?: Timestamp;
35
+ };
27
36
 
28
- constructor(data?: PartialMessage<MetricsLogKey>) {
29
- super();
30
- proto3.util.initPartial(data, this);
31
- }
32
-
33
- static readonly runtime: typeof proto3 = proto3;
34
- static readonly typeName = "raystack.predator.v1beta1.MetricsLogKey";
35
- static readonly fields: FieldList = proto3.util.newFieldList(() => [
36
- { no: 1, name: "id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
37
- { no: 2, name: "group", kind: "message", T: Group },
38
- { no: 99, name: "event_timestamp", kind: "message", T: Timestamp },
39
- ]);
40
-
41
- static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): MetricsLogKey {
42
- return new MetricsLogKey().fromBinary(bytes, options);
43
- }
44
-
45
- static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): MetricsLogKey {
46
- return new MetricsLogKey().fromJson(jsonValue, options);
47
- }
48
-
49
- static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): MetricsLogKey {
50
- return new MetricsLogKey().fromJsonString(jsonString, options);
51
- }
52
-
53
- static equals(a: MetricsLogKey | PlainMessage<MetricsLogKey> | undefined, b: MetricsLogKey | PlainMessage<MetricsLogKey> | undefined): boolean {
54
- return proto3.util.equals(MetricsLogKey, a, b);
55
- }
56
- }
37
+ /**
38
+ * Describes the message raystack.predator.v1beta1.MetricsLogKey.
39
+ * Use `create(MetricsLogKeySchema)` to create a new message.
40
+ */
41
+ export const MetricsLogKeySchema: GenMessage<MetricsLogKey> = /*@__PURE__*/
42
+ messageDesc(file_raystack_predator_v1beta1_metrics_log, 0);
57
43
 
58
44
  /**
59
45
  * @generated from message raystack.predator.v1beta1.MetricsLogMessage
60
46
  */
61
- export class MetricsLogMessage extends Message<MetricsLogMessage> {
47
+ export type MetricsLogMessage = Message<"raystack.predator.v1beta1.MetricsLogMessage"> & {
62
48
  /**
63
49
  * @generated from field: string id = 1;
64
50
  */
65
- id = "";
51
+ id: string;
66
52
 
67
53
  /**
68
54
  * @generated from field: string urn = 2;
69
55
  */
70
- urn = "";
56
+ urn: string;
71
57
 
72
58
  /**
73
59
  * @generated from field: string filter = 3;
74
60
  */
75
- filter = "";
61
+ filter: string;
76
62
 
77
63
  /**
78
64
  * @generated from field: raystack.predator.v1beta1.Group group = 4;
@@ -82,196 +68,104 @@ export class MetricsLogMessage extends Message<MetricsLogMessage> {
82
68
  /**
83
69
  * @generated from field: string mode = 5;
84
70
  */
85
- mode = "";
71
+ mode: string;
86
72
 
87
73
  /**
88
74
  * @generated from field: repeated raystack.predator.v1beta1.Metric table_metrics = 6;
89
75
  */
90
- tableMetrics: Metric[] = [];
76
+ tableMetrics: Metric[];
91
77
 
92
78
  /**
93
79
  * @generated from field: repeated raystack.predator.v1beta1.ColumnMetric column_metrics = 7;
94
80
  */
95
- columnMetrics: ColumnMetric[] = [];
81
+ columnMetrics: ColumnMetric[];
96
82
 
97
83
  /**
98
84
  * @generated from field: google.protobuf.Timestamp event_timestamp = 99;
99
85
  */
100
86
  eventTimestamp?: Timestamp;
87
+ };
101
88
 
102
- constructor(data?: PartialMessage<MetricsLogMessage>) {
103
- super();
104
- proto3.util.initPartial(data, this);
105
- }
106
-
107
- static readonly runtime: typeof proto3 = proto3;
108
- static readonly typeName = "raystack.predator.v1beta1.MetricsLogMessage";
109
- static readonly fields: FieldList = proto3.util.newFieldList(() => [
110
- { no: 1, name: "id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
111
- { no: 2, name: "urn", kind: "scalar", T: 9 /* ScalarType.STRING */ },
112
- { no: 3, name: "filter", kind: "scalar", T: 9 /* ScalarType.STRING */ },
113
- { no: 4, name: "group", kind: "message", T: Group },
114
- { no: 5, name: "mode", kind: "scalar", T: 9 /* ScalarType.STRING */ },
115
- { no: 6, name: "table_metrics", kind: "message", T: Metric, repeated: true },
116
- { no: 7, name: "column_metrics", kind: "message", T: ColumnMetric, repeated: true },
117
- { no: 99, name: "event_timestamp", kind: "message", T: Timestamp },
118
- ]);
119
-
120
- static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): MetricsLogMessage {
121
- return new MetricsLogMessage().fromBinary(bytes, options);
122
- }
123
-
124
- static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): MetricsLogMessage {
125
- return new MetricsLogMessage().fromJson(jsonValue, options);
126
- }
127
-
128
- static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): MetricsLogMessage {
129
- return new MetricsLogMessage().fromJsonString(jsonString, options);
130
- }
131
-
132
- static equals(a: MetricsLogMessage | PlainMessage<MetricsLogMessage> | undefined, b: MetricsLogMessage | PlainMessage<MetricsLogMessage> | undefined): boolean {
133
- return proto3.util.equals(MetricsLogMessage, a, b);
134
- }
135
- }
89
+ /**
90
+ * Describes the message raystack.predator.v1beta1.MetricsLogMessage.
91
+ * Use `create(MetricsLogMessageSchema)` to create a new message.
92
+ */
93
+ export const MetricsLogMessageSchema: GenMessage<MetricsLogMessage> = /*@__PURE__*/
94
+ messageDesc(file_raystack_predator_v1beta1_metrics_log, 1);
136
95
 
137
96
  /**
138
97
  * @generated from message raystack.predator.v1beta1.Metric
139
98
  */
140
- export class Metric extends Message<Metric> {
99
+ export type Metric = Message<"raystack.predator.v1beta1.Metric"> & {
141
100
  /**
142
101
  * @generated from field: string name = 1;
143
102
  */
144
- name = "";
103
+ name: string;
145
104
 
146
105
  /**
147
106
  * @generated from field: double value = 2;
148
107
  */
149
- value = 0;
108
+ value: number;
150
109
 
151
110
  /**
152
111
  * @generated from field: string condition = 3;
153
112
  */
154
- condition = "";
155
-
156
- constructor(data?: PartialMessage<Metric>) {
157
- super();
158
- proto3.util.initPartial(data, this);
159
- }
160
-
161
- static readonly runtime: typeof proto3 = proto3;
162
- static readonly typeName = "raystack.predator.v1beta1.Metric";
163
- static readonly fields: FieldList = proto3.util.newFieldList(() => [
164
- { no: 1, name: "name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
165
- { no: 2, name: "value", kind: "scalar", T: 1 /* ScalarType.DOUBLE */ },
166
- { no: 3, name: "condition", kind: "scalar", T: 9 /* ScalarType.STRING */ },
167
- ]);
113
+ condition: string;
114
+ };
168
115
 
169
- static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): Metric {
170
- return new Metric().fromBinary(bytes, options);
171
- }
172
-
173
- static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): Metric {
174
- return new Metric().fromJson(jsonValue, options);
175
- }
176
-
177
- static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): Metric {
178
- return new Metric().fromJsonString(jsonString, options);
179
- }
180
-
181
- static equals(a: Metric | PlainMessage<Metric> | undefined, b: Metric | PlainMessage<Metric> | undefined): boolean {
182
- return proto3.util.equals(Metric, a, b);
183
- }
184
- }
116
+ /**
117
+ * Describes the message raystack.predator.v1beta1.Metric.
118
+ * Use `create(MetricSchema)` to create a new message.
119
+ */
120
+ export const MetricSchema: GenMessage<Metric> = /*@__PURE__*/
121
+ messageDesc(file_raystack_predator_v1beta1_metrics_log, 2);
185
122
 
186
123
  /**
187
124
  * @generated from message raystack.predator.v1beta1.Group
188
125
  */
189
- export class Group extends Message<Group> {
126
+ export type Group = Message<"raystack.predator.v1beta1.Group"> & {
190
127
  /**
191
128
  * @generated from field: string column = 1;
192
129
  */
193
- column = "";
130
+ column: string;
194
131
 
195
132
  /**
196
133
  * @generated from field: string value = 2;
197
134
  */
198
- value = "";
199
-
200
- constructor(data?: PartialMessage<Group>) {
201
- super();
202
- proto3.util.initPartial(data, this);
203
- }
204
-
205
- static readonly runtime: typeof proto3 = proto3;
206
- static readonly typeName = "raystack.predator.v1beta1.Group";
207
- static readonly fields: FieldList = proto3.util.newFieldList(() => [
208
- { no: 1, name: "column", kind: "scalar", T: 9 /* ScalarType.STRING */ },
209
- { no: 2, name: "value", kind: "scalar", T: 9 /* ScalarType.STRING */ },
210
- ]);
211
-
212
- static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): Group {
213
- return new Group().fromBinary(bytes, options);
214
- }
215
-
216
- static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): Group {
217
- return new Group().fromJson(jsonValue, options);
218
- }
219
-
220
- static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): Group {
221
- return new Group().fromJsonString(jsonString, options);
222
- }
135
+ value: string;
136
+ };
223
137
 
224
- static equals(a: Group | PlainMessage<Group> | undefined, b: Group | PlainMessage<Group> | undefined): boolean {
225
- return proto3.util.equals(Group, a, b);
226
- }
227
- }
138
+ /**
139
+ * Describes the message raystack.predator.v1beta1.Group.
140
+ * Use `create(GroupSchema)` to create a new message.
141
+ */
142
+ export const GroupSchema: GenMessage<Group> = /*@__PURE__*/
143
+ messageDesc(file_raystack_predator_v1beta1_metrics_log, 3);
228
144
 
229
145
  /**
230
146
  * @generated from message raystack.predator.v1beta1.ColumnMetric
231
147
  */
232
- export class ColumnMetric extends Message<ColumnMetric> {
148
+ export type ColumnMetric = Message<"raystack.predator.v1beta1.ColumnMetric"> & {
233
149
  /**
234
150
  * @generated from field: string id = 1;
235
151
  */
236
- id = "";
152
+ id: string;
237
153
 
238
154
  /**
239
155
  * @generated from field: string type = 2;
240
156
  */
241
- type = "";
157
+ type: string;
242
158
 
243
159
  /**
244
160
  * @generated from field: repeated raystack.predator.v1beta1.Metric metrics = 3;
245
161
  */
246
- metrics: Metric[] = [];
247
-
248
- constructor(data?: PartialMessage<ColumnMetric>) {
249
- super();
250
- proto3.util.initPartial(data, this);
251
- }
252
-
253
- static readonly runtime: typeof proto3 = proto3;
254
- static readonly typeName = "raystack.predator.v1beta1.ColumnMetric";
255
- static readonly fields: FieldList = proto3.util.newFieldList(() => [
256
- { no: 1, name: "id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
257
- { no: 2, name: "type", kind: "scalar", T: 9 /* ScalarType.STRING */ },
258
- { no: 3, name: "metrics", kind: "message", T: Metric, repeated: true },
259
- ]);
260
-
261
- static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): ColumnMetric {
262
- return new ColumnMetric().fromBinary(bytes, options);
263
- }
162
+ metrics: Metric[];
163
+ };
264
164
 
265
- static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): ColumnMetric {
266
- return new ColumnMetric().fromJson(jsonValue, options);
267
- }
268
-
269
- static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): ColumnMetric {
270
- return new ColumnMetric().fromJsonString(jsonString, options);
271
- }
272
-
273
- static equals(a: ColumnMetric | PlainMessage<ColumnMetric> | undefined, b: ColumnMetric | PlainMessage<ColumnMetric> | undefined): boolean {
274
- return proto3.util.equals(ColumnMetric, a, b);
275
- }
276
- }
165
+ /**
166
+ * Describes the message raystack.predator.v1beta1.ColumnMetric.
167
+ * Use `create(ColumnMetricSchema)` to create a new message.
168
+ */
169
+ export const ColumnMetricSchema: GenMessage<ColumnMetric> = /*@__PURE__*/
170
+ messageDesc(file_raystack_predator_v1beta1_metrics_log, 4);
277
171
 
@@ -1,20 +1,29 @@
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/predator/v1beta1/result_log.proto (package raystack.predator.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, Timestamp } from "@bufbuild/protobuf";
8
- import { Group } from "./metrics_log_pb";
5
+ import type { GenFile, GenMessage } from "@bufbuild/protobuf/codegenv2";
6
+ import { fileDesc, messageDesc } 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 { Group } from "./metrics_log_pb";
10
+ import { file_raystack_predator_v1beta1_metrics_log } from "./metrics_log_pb";
11
+ import type { Message } from "@bufbuild/protobuf";
12
+
13
+ /**
14
+ * Describes the file raystack/predator/v1beta1/result_log.proto.
15
+ */
16
+ export const file_raystack_predator_v1beta1_result_log: GenFile = /*@__PURE__*/
17
+ fileDesc("CipyYXlzdGFjay9wcmVkYXRvci92MWJldGExL3Jlc3VsdF9sb2cucHJvdG8SGXJheXN0YWNrLnByZWRhdG9yLnYxYmV0YTEigAEKDFJlc3VsdExvZ0tleRIKCgJpZBgBIAEoCRIvCgVncm91cBgCIAEoCzIgLnJheXN0YWNrLnByZWRhdG9yLnYxYmV0YTEuR3JvdXASMwoPZXZlbnRfdGltZXN0YW1wGGMgASgLMhouZ29vZ2xlLnByb3RvYnVmLlRpbWVzdGFtcCLZAQoQUmVzdWx0TG9nTWVzc2FnZRIKCgJpZBgBIAEoCRISCgpwcm9maWxlX2lkGAIgASgJEgsKA3VybhgDIAEoCRIvCgVncm91cBgEIAEoCzIgLnJheXN0YWNrLnByZWRhdG9yLnYxYmV0YTEuR3JvdXASMgoHcmVzdWx0cxgFIAMoCzIhLnJheXN0YWNrLnByZWRhdG9yLnYxYmV0YTEuUmVzdWx0EjMKD2V2ZW50X3RpbWVzdGFtcBhjIAEoCzIaLmdvb2dsZS5wcm90b2J1Zi5UaW1lc3RhbXAilgEKBlJlc3VsdBIMCgRuYW1lGAEgASgJEhAKCGZpZWxkX2lkGAIgASgJEg0KBXZhbHVlGAMgASgBEjcKBXJ1bGVzGAQgAygLMigucmF5c3RhY2sucHJlZGF0b3IudjFiZXRhMS5Ub2xlcmFuY2VSdWxlEhEKCXBhc3NfZmxhZxgFIAEoCBIRCgljb25kaXRpb24YBiABKAkiLAoNVG9sZXJhbmNlUnVsZRIMCgRuYW1lGAEgASgJEg0KBXZhbHVlGAIgASgBQlQKG2lvLnJheXN0YWNrLnByb3Rvbi5wcmVkYXRvckIOUmVzdWx0TG9nUHJvdG9QAVojZ2l0aHViLmNvbS9yYXlzdGFjay9wcm90b24vcHJlZGF0b3JiBnByb3RvMw", [file_google_protobuf_timestamp, file_raystack_predator_v1beta1_metrics_log]);
9
18
 
10
19
  /**
11
20
  * @generated from message raystack.predator.v1beta1.ResultLogKey
12
21
  */
13
- export class ResultLogKey extends Message<ResultLogKey> {
22
+ export type ResultLogKey = Message<"raystack.predator.v1beta1.ResultLogKey"> & {
14
23
  /**
15
24
  * @generated from field: string id = 1;
16
25
  */
17
- id = "";
26
+ id: string;
18
27
 
19
28
  /**
20
29
  * @generated from field: raystack.predator.v1beta1.Group group = 2;
@@ -25,55 +34,33 @@ export class ResultLogKey extends Message<ResultLogKey> {
25
34
  * @generated from field: google.protobuf.Timestamp event_timestamp = 99;
26
35
  */
27
36
  eventTimestamp?: Timestamp;
37
+ };
28
38
 
29
- constructor(data?: PartialMessage<ResultLogKey>) {
30
- super();
31
- proto3.util.initPartial(data, this);
32
- }
33
-
34
- static readonly runtime: typeof proto3 = proto3;
35
- static readonly typeName = "raystack.predator.v1beta1.ResultLogKey";
36
- static readonly fields: FieldList = proto3.util.newFieldList(() => [
37
- { no: 1, name: "id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
38
- { no: 2, name: "group", kind: "message", T: Group },
39
- { no: 99, name: "event_timestamp", kind: "message", T: Timestamp },
40
- ]);
41
-
42
- static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): ResultLogKey {
43
- return new ResultLogKey().fromBinary(bytes, options);
44
- }
45
-
46
- static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): ResultLogKey {
47
- return new ResultLogKey().fromJson(jsonValue, options);
48
- }
49
-
50
- static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): ResultLogKey {
51
- return new ResultLogKey().fromJsonString(jsonString, options);
52
- }
53
-
54
- static equals(a: ResultLogKey | PlainMessage<ResultLogKey> | undefined, b: ResultLogKey | PlainMessage<ResultLogKey> | undefined): boolean {
55
- return proto3.util.equals(ResultLogKey, a, b);
56
- }
57
- }
39
+ /**
40
+ * Describes the message raystack.predator.v1beta1.ResultLogKey.
41
+ * Use `create(ResultLogKeySchema)` to create a new message.
42
+ */
43
+ export const ResultLogKeySchema: GenMessage<ResultLogKey> = /*@__PURE__*/
44
+ messageDesc(file_raystack_predator_v1beta1_result_log, 0);
58
45
 
59
46
  /**
60
47
  * @generated from message raystack.predator.v1beta1.ResultLogMessage
61
48
  */
62
- export class ResultLogMessage extends Message<ResultLogMessage> {
49
+ export type ResultLogMessage = Message<"raystack.predator.v1beta1.ResultLogMessage"> & {
63
50
  /**
64
51
  * @generated from field: string id = 1;
65
52
  */
66
- id = "";
53
+ id: string;
67
54
 
68
55
  /**
69
56
  * @generated from field: string profile_id = 2;
70
57
  */
71
- profileId = "";
58
+ profileId: string;
72
59
 
73
60
  /**
74
61
  * @generated from field: string urn = 3;
75
62
  */
76
- urn = "";
63
+ urn: string;
77
64
 
78
65
  /**
79
66
  * @generated from field: raystack.predator.v1beta1.Group group = 4;
@@ -83,153 +70,82 @@ export class ResultLogMessage extends Message<ResultLogMessage> {
83
70
  /**
84
71
  * @generated from field: repeated raystack.predator.v1beta1.Result results = 5;
85
72
  */
86
- results: Result[] = [];
73
+ results: Result[];
87
74
 
88
75
  /**
89
76
  * @generated from field: google.protobuf.Timestamp event_timestamp = 99;
90
77
  */
91
78
  eventTimestamp?: Timestamp;
79
+ };
92
80
 
93
- constructor(data?: PartialMessage<ResultLogMessage>) {
94
- super();
95
- proto3.util.initPartial(data, this);
96
- }
97
-
98
- static readonly runtime: typeof proto3 = proto3;
99
- static readonly typeName = "raystack.predator.v1beta1.ResultLogMessage";
100
- static readonly fields: FieldList = proto3.util.newFieldList(() => [
101
- { no: 1, name: "id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
102
- { no: 2, name: "profile_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
103
- { no: 3, name: "urn", kind: "scalar", T: 9 /* ScalarType.STRING */ },
104
- { no: 4, name: "group", kind: "message", T: Group },
105
- { no: 5, name: "results", kind: "message", T: Result, repeated: true },
106
- { no: 99, name: "event_timestamp", kind: "message", T: Timestamp },
107
- ]);
108
-
109
- static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): ResultLogMessage {
110
- return new ResultLogMessage().fromBinary(bytes, options);
111
- }
112
-
113
- static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): ResultLogMessage {
114
- return new ResultLogMessage().fromJson(jsonValue, options);
115
- }
116
-
117
- static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): ResultLogMessage {
118
- return new ResultLogMessage().fromJsonString(jsonString, options);
119
- }
120
-
121
- static equals(a: ResultLogMessage | PlainMessage<ResultLogMessage> | undefined, b: ResultLogMessage | PlainMessage<ResultLogMessage> | undefined): boolean {
122
- return proto3.util.equals(ResultLogMessage, a, b);
123
- }
124
- }
81
+ /**
82
+ * Describes the message raystack.predator.v1beta1.ResultLogMessage.
83
+ * Use `create(ResultLogMessageSchema)` to create a new message.
84
+ */
85
+ export const ResultLogMessageSchema: GenMessage<ResultLogMessage> = /*@__PURE__*/
86
+ messageDesc(file_raystack_predator_v1beta1_result_log, 1);
125
87
 
126
88
  /**
127
89
  * @generated from message raystack.predator.v1beta1.Result
128
90
  */
129
- export class Result extends Message<Result> {
91
+ export type Result = Message<"raystack.predator.v1beta1.Result"> & {
130
92
  /**
131
93
  * @generated from field: string name = 1;
132
94
  */
133
- name = "";
95
+ name: string;
134
96
 
135
97
  /**
136
98
  * @generated from field: string field_id = 2;
137
99
  */
138
- fieldId = "";
100
+ fieldId: string;
139
101
 
140
102
  /**
141
103
  * @generated from field: double value = 3;
142
104
  */
143
- value = 0;
105
+ value: number;
144
106
 
145
107
  /**
146
108
  * @generated from field: repeated raystack.predator.v1beta1.ToleranceRule rules = 4;
147
109
  */
148
- rules: ToleranceRule[] = [];
110
+ rules: ToleranceRule[];
149
111
 
150
112
  /**
151
113
  * @generated from field: bool pass_flag = 5;
152
114
  */
153
- passFlag = false;
115
+ passFlag: boolean;
154
116
 
155
117
  /**
156
118
  * @generated from field: string condition = 6;
157
119
  */
158
- condition = "";
159
-
160
- constructor(data?: PartialMessage<Result>) {
161
- super();
162
- proto3.util.initPartial(data, this);
163
- }
164
-
165
- static readonly runtime: typeof proto3 = proto3;
166
- static readonly typeName = "raystack.predator.v1beta1.Result";
167
- static readonly fields: FieldList = proto3.util.newFieldList(() => [
168
- { no: 1, name: "name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
169
- { no: 2, name: "field_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
170
- { no: 3, name: "value", kind: "scalar", T: 1 /* ScalarType.DOUBLE */ },
171
- { no: 4, name: "rules", kind: "message", T: ToleranceRule, repeated: true },
172
- { no: 5, name: "pass_flag", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
173
- { no: 6, name: "condition", kind: "scalar", T: 9 /* ScalarType.STRING */ },
174
- ]);
175
-
176
- static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): Result {
177
- return new Result().fromBinary(bytes, options);
178
- }
179
-
180
- static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): Result {
181
- return new Result().fromJson(jsonValue, options);
182
- }
183
-
184
- static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): Result {
185
- return new Result().fromJsonString(jsonString, options);
186
- }
187
-
188
- static equals(a: Result | PlainMessage<Result> | undefined, b: Result | PlainMessage<Result> | undefined): boolean {
189
- return proto3.util.equals(Result, a, b);
190
- }
191
- }
120
+ condition: string;
121
+ };
122
+
123
+ /**
124
+ * Describes the message raystack.predator.v1beta1.Result.
125
+ * Use `create(ResultSchema)` to create a new message.
126
+ */
127
+ export const ResultSchema: GenMessage<Result> = /*@__PURE__*/
128
+ messageDesc(file_raystack_predator_v1beta1_result_log, 2);
192
129
 
193
130
  /**
194
131
  * @generated from message raystack.predator.v1beta1.ToleranceRule
195
132
  */
196
- export class ToleranceRule extends Message<ToleranceRule> {
133
+ export type ToleranceRule = Message<"raystack.predator.v1beta1.ToleranceRule"> & {
197
134
  /**
198
135
  * @generated from field: string name = 1;
199
136
  */
200
- name = "";
137
+ name: string;
201
138
 
202
139
  /**
203
140
  * @generated from field: double value = 2;
204
141
  */
205
- value = 0;
206
-
207
- constructor(data?: PartialMessage<ToleranceRule>) {
208
- super();
209
- proto3.util.initPartial(data, this);
210
- }
211
-
212
- static readonly runtime: typeof proto3 = proto3;
213
- static readonly typeName = "raystack.predator.v1beta1.ToleranceRule";
214
- static readonly fields: FieldList = proto3.util.newFieldList(() => [
215
- { no: 1, name: "name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
216
- { no: 2, name: "value", kind: "scalar", T: 1 /* ScalarType.DOUBLE */ },
217
- ]);
142
+ value: number;
143
+ };
218
144
 
219
- static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): ToleranceRule {
220
- return new ToleranceRule().fromBinary(bytes, options);
221
- }
222
-
223
- static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): ToleranceRule {
224
- return new ToleranceRule().fromJson(jsonValue, options);
225
- }
226
-
227
- static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): ToleranceRule {
228
- return new ToleranceRule().fromJsonString(jsonString, options);
229
- }
230
-
231
- static equals(a: ToleranceRule | PlainMessage<ToleranceRule> | undefined, b: ToleranceRule | PlainMessage<ToleranceRule> | undefined): boolean {
232
- return proto3.util.equals(ToleranceRule, a, b);
233
- }
234
- }
145
+ /**
146
+ * Describes the message raystack.predator.v1beta1.ToleranceRule.
147
+ * Use `create(ToleranceRuleSchema)` to create a new message.
148
+ */
149
+ export const ToleranceRuleSchema: GenMessage<ToleranceRule> = /*@__PURE__*/
150
+ messageDesc(file_raystack_predator_v1beta1_result_log, 3);
235
151
 
@@ -1,3 +1,2 @@
1
- export { EventService } from "./v1beta1/raccoon_connect";
2
1
  export * as EventServiceQueries from "./v1beta1/raccoon-EventService_connectquery";
3
2
  export * from "./v1beta1/raccoon";
@@ -1,21 +1,10 @@
1
- // @generated by protoc-gen-connect-query v1.4.2 with parameter "target=ts"
1
+ // @generated by protoc-gen-connect-query v2.1.1 with parameter "target=ts"
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 { MethodKind } from "@bufbuild/protobuf";
7
- import { SendEventRequest, SendEventResponse } from "./raccoon_pb.js";
5
+ import { EventService } from "./raccoon_pb";
8
6
 
9
7
  /**
10
8
  * @generated from rpc raystack.raccoon.v1beta1.EventService.SendEvent
11
9
  */
12
- export const sendEvent = {
13
- localName: "sendEvent",
14
- name: "SendEvent",
15
- kind: MethodKind.Unary,
16
- I: SendEventRequest,
17
- O: SendEventResponse,
18
- service: {
19
- typeName: "raystack.raccoon.v1beta1.EventService"
20
- }
21
- } as const;
10
+ export const sendEvent = EventService.method.sendEvent;