@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.
- package/google/api/annotations_pb.ts +33 -0
- package/google/api/field_behavior.ts +95 -0
- package/google/api/field_behavior_pb.ts +139 -0
- package/google/api/http.ts +695 -0
- package/google/api/http_pb.ts +547 -0
- package/google/api/httpbody.ts +159 -0
- package/google/api/httpbody_pb.ts +122 -0
- package/google/protobuf/any.ts +322 -0
- package/google/protobuf/descriptor.ts +3475 -0
- package/google/protobuf/duration.ts +231 -0
- package/google/protobuf/struct.ts +484 -0
- package/google/protobuf/timestamp.ts +290 -0
- package/google/protobuf/wrappers.ts +752 -0
- package/package.json +47 -0
- package/protoc-gen-openapiv2/options/annotations_pb.ts +78 -0
- package/protoc-gen-openapiv2/options/openapiv2.ts +3110 -0
- package/protoc-gen-openapiv2/options/openapiv2_pb.ts +1995 -0
- package/raystack/assets/index.ts +29 -0
- package/raystack/assets/v1beta1/bucket.ts +362 -0
- package/raystack/assets/v1beta1/bucket_pb.ts +233 -0
- package/raystack/assets/v1beta1/dashboard.ts +426 -0
- package/raystack/assets/v1beta1/dashboard_pb.ts +275 -0
- package/raystack/assets/v1beta1/event.ts +105 -0
- package/raystack/assets/v1beta1/event_pb.ts +70 -0
- package/raystack/assets/v1beta1/group.ts +223 -0
- package/raystack/assets/v1beta1/group_pb.ts +149 -0
- package/raystack/assets/v1beta1/job.ts +147 -0
- package/raystack/assets/v1beta1/job_pb.ts +100 -0
- package/raystack/assets/v1beta1/lineage.ts +90 -0
- package/raystack/assets/v1beta1/lineage_pb.ts +61 -0
- package/raystack/assets/v1beta1/ownership.ts +179 -0
- package/raystack/assets/v1beta1/ownership_pb.ts +119 -0
- package/raystack/assets/v1beta1/preview.ts +87 -0
- package/raystack/assets/v1beta1/preview_pb.ts +58 -0
- package/raystack/assets/v1beta1/properties.ts +116 -0
- package/raystack/assets/v1beta1/properties_pb.ts +63 -0
- package/raystack/assets/v1beta1/resource.ts +149 -0
- package/raystack/assets/v1beta1/resource_pb.ts +96 -0
- package/raystack/assets/v1beta1/schema.ts +421 -0
- package/raystack/assets/v1beta1/schema_pb.ts +262 -0
- package/raystack/assets/v1beta1/table.ts +408 -0
- package/raystack/assets/v1beta1/table_pb.ts +266 -0
- package/raystack/assets/v1beta1/timestamp.ts +158 -0
- package/raystack/assets/v1beta1/timestamp_pb.ts +107 -0
- package/raystack/assets/v1beta1/topic.ts +253 -0
- package/raystack/assets/v1beta1/topic_pb.ts +171 -0
- package/raystack/assets/v1beta1/user.ts +451 -0
- package/raystack/assets/v1beta1/user_pb.ts +292 -0
- package/raystack/assets/v1beta2/application.ts +125 -0
- package/raystack/assets/v1beta2/application_pb.ts +79 -0
- package/raystack/assets/v1beta2/asset.ts +269 -0
- package/raystack/assets/v1beta2/asset_pb.ts +157 -0
- package/raystack/assets/v1beta2/bucket.ts +341 -0
- package/raystack/assets/v1beta2/bucket_pb.ts +215 -0
- package/raystack/assets/v1beta2/common.ts +392 -0
- package/raystack/assets/v1beta2/common_pb.ts +258 -0
- package/raystack/assets/v1beta2/dashboard.ts +393 -0
- package/raystack/assets/v1beta2/dashboard_pb.ts +247 -0
- package/raystack/assets/v1beta2/experiment.ts +274 -0
- package/raystack/assets/v1beta2/experiment_pb.ts +180 -0
- package/raystack/assets/v1beta2/feature_table.ts +387 -0
- package/raystack/assets/v1beta2/feature_table_pb.ts +237 -0
- package/raystack/assets/v1beta2/group.ts +178 -0
- package/raystack/assets/v1beta2/group_pb.ts +118 -0
- package/raystack/assets/v1beta2/job.ts +99 -0
- package/raystack/assets/v1beta2/job_pb.ts +65 -0
- package/raystack/assets/v1beta2/metric.ts +163 -0
- package/raystack/assets/v1beta2/metric_pb.ts +105 -0
- package/raystack/assets/v1beta2/model.ts +519 -0
- package/raystack/assets/v1beta2/model_pb.ts +322 -0
- package/raystack/assets/v1beta2/table.ts +663 -0
- package/raystack/assets/v1beta2/table_pb.ts +409 -0
- package/raystack/assets/v1beta2/topic.ts +275 -0
- package/raystack/assets/v1beta2/topic_pb.ts +181 -0
- package/raystack/assets/v1beta2/user.ts +433 -0
- package/raystack/assets/v1beta2/user_pb.ts +277 -0
- package/raystack/common/index.ts +3 -0
- package/raystack/common/v1/service-CommonService_connectquery.ts +21 -0
- package/raystack/common/v1/service.client.ts +37 -0
- package/raystack/common/v1/service.ts +245 -0
- package/raystack/common/v1/service_connect.ts +26 -0
- package/raystack/common/v1/service_pb.ts +149 -0
- package/raystack/compass/index.ts +3 -0
- package/raystack/compass/v1beta1/service-CompassService_connectquery.ts +605 -0
- package/raystack/compass/v1beta1/service.client.ts +594 -0
- package/raystack/compass/v1beta1/service.ts +8169 -0
- package/raystack/compass/v1beta1/service_connect.ts +407 -0
- package/raystack/compass/v1beta1/service_pb.ts +4975 -0
- package/raystack/entropy/index.ts +6 -0
- package/raystack/entropy/v1beta1/module-ModuleService_connectquery.ts +77 -0
- package/raystack/entropy/v1beta1/module.client.ts +89 -0
- package/raystack/entropy/v1beta1/module.ts +692 -0
- package/raystack/entropy/v1beta1/module_connect.ts +62 -0
- package/raystack/entropy/v1beta1/module_pb.ts +445 -0
- package/raystack/entropy/v1beta1/resource-ResourceService_connectquery.ts +105 -0
- package/raystack/entropy/v1beta1/resource.client.ts +129 -0
- package/raystack/entropy/v1beta1/resource.ts +1817 -0
- package/raystack/entropy/v1beta1/resource_connect.ts +89 -0
- package/raystack/entropy/v1beta1/resource_pb.ts +1092 -0
- package/raystack/frontier/index.ts +7 -0
- package/raystack/frontier/v1beta1/admin-AdminService_connectquery.ts +756 -0
- package/raystack/frontier/v1beta1/admin.client.ts +849 -0
- package/raystack/frontier/v1beta1/admin.ts +9007 -0
- package/raystack/frontier/v1beta1/admin_connect.ts +573 -0
- package/raystack/frontier/v1beta1/admin_pb.ts +5615 -0
- package/raystack/frontier/v1beta1/frontier-FrontierService_connectquery.ts +2399 -0
- package/raystack/frontier/v1beta1/frontier.client.ts +2307 -0
- package/raystack/frontier/v1beta1/frontier.ts +23706 -0
- package/raystack/frontier/v1beta1/frontier_connect.ts +1574 -0
- package/raystack/frontier/v1beta1/frontier_pb.ts +15258 -0
- package/raystack/frontier/v1beta1/models.ts +7433 -0
- package/raystack/frontier/v1beta1/models_pb.ts +4345 -0
- package/raystack/guardian/index.ts +3 -0
- package/raystack/guardian/v1beta1/guardian-GuardianService_connectquery.ts +569 -0
- package/raystack/guardian/v1beta1/guardian.client.ts +552 -0
- package/raystack/guardian/v1beta1/guardian.ts +9688 -0
- package/raystack/guardian/v1beta1/guardian_connect.ts +381 -0
- package/raystack/guardian/v1beta1/guardian_pb.ts +5858 -0
- package/raystack/optimus/core/v1beta1/backup-BackupService_connectquery.ts +49 -0
- package/raystack/optimus/core/v1beta1/backup.client.ts +63 -0
- package/raystack/optimus/core/v1beta1/backup.ts +708 -0
- package/raystack/optimus/core/v1beta1/backup_connect.ts +44 -0
- package/raystack/optimus/core/v1beta1/backup_pb.ts +406 -0
- package/raystack/optimus/core/v1beta1/job_run-JobRunService_connectquery.ts +71 -0
- package/raystack/optimus/core/v1beta1/job_run.client.ts +96 -0
- package/raystack/optimus/core/v1beta1/job_run.ts +1008 -0
- package/raystack/optimus/core/v1beta1/job_run_connect.ts +63 -0
- package/raystack/optimus/core/v1beta1/job_run_pb.ts +612 -0
- package/raystack/optimus/core/v1beta1/job_spec-JobSpecificationService_connectquery.ts +249 -0
- package/raystack/optimus/core/v1beta1/job_spec.client.ts +363 -0
- package/raystack/optimus/core/v1beta1/job_spec.ts +5134 -0
- package/raystack/optimus/core/v1beta1/job_spec_connect.ts +233 -0
- package/raystack/optimus/core/v1beta1/job_spec_pb.ts +3196 -0
- package/raystack/optimus/core/v1beta1/namespace-NamespaceService_connectquery.ts +55 -0
- package/raystack/optimus/core/v1beta1/namespace.client.ts +75 -0
- package/raystack/optimus/core/v1beta1/namespace.ts +477 -0
- package/raystack/optimus/core/v1beta1/namespace_connect.ts +50 -0
- package/raystack/optimus/core/v1beta1/namespace_pb.ts +291 -0
- package/raystack/optimus/core/v1beta1/project-ProjectService_connectquery.ts +55 -0
- package/raystack/optimus/core/v1beta1/project.client.ts +75 -0
- package/raystack/optimus/core/v1beta1/project.ts +520 -0
- package/raystack/optimus/core/v1beta1/project_connect.ts +50 -0
- package/raystack/optimus/core/v1beta1/project_pb.ts +322 -0
- package/raystack/optimus/core/v1beta1/replay-ReplayService_connectquery.ts +63 -0
- package/raystack/optimus/core/v1beta1/replay.client.ts +76 -0
- package/raystack/optimus/core/v1beta1/replay.ts +881 -0
- package/raystack/optimus/core/v1beta1/replay_connect.ts +53 -0
- package/raystack/optimus/core/v1beta1/replay_pb.ts +522 -0
- package/raystack/optimus/core/v1beta1/resource-ResourceService_connectquery.ts +104 -0
- package/raystack/optimus/core/v1beta1/resource.client.ts +148 -0
- package/raystack/optimus/core/v1beta1/resource.ts +1329 -0
- package/raystack/optimus/core/v1beta1/resource_connect.ts +96 -0
- package/raystack/optimus/core/v1beta1/resource_pb.ts +791 -0
- package/raystack/optimus/core/v1beta1/runtime-RuntimeService_connectquery.ts +23 -0
- package/raystack/optimus/core/v1beta1/runtime.client.ts +45 -0
- package/raystack/optimus/core/v1beta1/runtime.ts +131 -0
- package/raystack/optimus/core/v1beta1/runtime_connect.ts +30 -0
- package/raystack/optimus/core/v1beta1/runtime_pb.ts +82 -0
- package/raystack/optimus/core/v1beta1/secret-SecretService_connectquery.ts +71 -0
- package/raystack/optimus/core/v1beta1/secret.client.ts +92 -0
- package/raystack/optimus/core/v1beta1/secret.ts +619 -0
- package/raystack/optimus/core/v1beta1/secret_connect.ts +61 -0
- package/raystack/optimus/core/v1beta1/secret_pb.ts +393 -0
- package/raystack/optimus/core/v1beta1/status.ts +113 -0
- package/raystack/optimus/core/v1beta1/status_pb.ts +101 -0
- package/raystack/optimus/integration/v1beta1/event.ts +531 -0
- package/raystack/optimus/integration/v1beta1/event_pb.ts +362 -0
- package/raystack/optimus/plugins/v1beta1/dependency_resolver-DependencyResolverModService_connectquery.ts +72 -0
- package/raystack/optimus/plugins/v1beta1/dependency_resolver.client.ts +100 -0
- package/raystack/optimus/plugins/v1beta1/dependency_resolver.ts +950 -0
- package/raystack/optimus/plugins/v1beta1/dependency_resolver_connect.ts +65 -0
- package/raystack/optimus/plugins/v1beta1/dependency_resolver_pb.ts +604 -0
- package/raystack/predator/index.ts +2 -0
- package/raystack/predator/v1beta1/metrics_log.ts +457 -0
- package/raystack/predator/v1beta1/metrics_log_pb.ts +277 -0
- package/raystack/predator/v1beta1/result_log.ts +390 -0
- package/raystack/predator/v1beta1/result_log_pb.ts +235 -0
- package/raystack/raccoon/index.ts +3 -0
- package/raystack/raccoon/v1beta1/raccoon-EventService_connectquery.ts +21 -0
- package/raystack/raccoon/v1beta1/raccoon.client.ts +37 -0
- package/raystack/raccoon/v1beta1/raccoon.ts +442 -0
- package/raystack/raccoon/v1beta1/raccoon_connect.ts +26 -0
- package/raystack/raccoon/v1beta1/raccoon_pb.ts +324 -0
- package/raystack/siren/index.ts +3 -0
- package/raystack/siren/v1beta1/siren-SirenService_connectquery.ts +497 -0
- package/raystack/siren/v1beta1/siren.client.ts +479 -0
- package/raystack/siren/v1beta1/siren.ts +6507 -0
- package/raystack/siren/v1beta1/siren_connect.ts +332 -0
- package/raystack/siren/v1beta1/siren_pb.ts +3853 -0
- package/raystack/stencil/index.ts +3 -0
- package/raystack/stencil/v1beta1/stencil-StencilService_connectquery.ts +231 -0
- package/raystack/stencil/v1beta1/stencil.client.ts +232 -0
- package/raystack/stencil/v1beta1/stencil.ts +2716 -0
- package/raystack/stencil/v1beta1/stencil_connect.ts +161 -0
- package/raystack/stencil/v1beta1/stencil_pb.ts +1729 -0
- package/validate/validate.ts +4130 -0
- package/validate/validate_pb.ts +2621 -0
|
@@ -0,0 +1,235 @@
|
|
|
1
|
+
// @generated by protoc-gen-es v1.10.1 with parameter "target=ts,import_extension=none"
|
|
2
|
+
// @generated from file raystack/predator/v1beta1/result_log.proto (package raystack.predator.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 } from "@bufbuild/protobuf";
|
|
8
|
+
import { Group } from "./metrics_log_pb";
|
|
9
|
+
|
|
10
|
+
/**
|
|
11
|
+
* @generated from message raystack.predator.v1beta1.ResultLogKey
|
|
12
|
+
*/
|
|
13
|
+
export class ResultLogKey extends Message<ResultLogKey> {
|
|
14
|
+
/**
|
|
15
|
+
* @generated from field: string id = 1;
|
|
16
|
+
*/
|
|
17
|
+
id = "";
|
|
18
|
+
|
|
19
|
+
/**
|
|
20
|
+
* @generated from field: raystack.predator.v1beta1.Group group = 2;
|
|
21
|
+
*/
|
|
22
|
+
group?: Group;
|
|
23
|
+
|
|
24
|
+
/**
|
|
25
|
+
* @generated from field: google.protobuf.Timestamp event_timestamp = 99;
|
|
26
|
+
*/
|
|
27
|
+
eventTimestamp?: Timestamp;
|
|
28
|
+
|
|
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
|
+
}
|
|
58
|
+
|
|
59
|
+
/**
|
|
60
|
+
* @generated from message raystack.predator.v1beta1.ResultLogMessage
|
|
61
|
+
*/
|
|
62
|
+
export class ResultLogMessage extends Message<ResultLogMessage> {
|
|
63
|
+
/**
|
|
64
|
+
* @generated from field: string id = 1;
|
|
65
|
+
*/
|
|
66
|
+
id = "";
|
|
67
|
+
|
|
68
|
+
/**
|
|
69
|
+
* @generated from field: string profile_id = 2;
|
|
70
|
+
*/
|
|
71
|
+
profileId = "";
|
|
72
|
+
|
|
73
|
+
/**
|
|
74
|
+
* @generated from field: string urn = 3;
|
|
75
|
+
*/
|
|
76
|
+
urn = "";
|
|
77
|
+
|
|
78
|
+
/**
|
|
79
|
+
* @generated from field: raystack.predator.v1beta1.Group group = 4;
|
|
80
|
+
*/
|
|
81
|
+
group?: Group;
|
|
82
|
+
|
|
83
|
+
/**
|
|
84
|
+
* @generated from field: repeated raystack.predator.v1beta1.Result results = 5;
|
|
85
|
+
*/
|
|
86
|
+
results: Result[] = [];
|
|
87
|
+
|
|
88
|
+
/**
|
|
89
|
+
* @generated from field: google.protobuf.Timestamp event_timestamp = 99;
|
|
90
|
+
*/
|
|
91
|
+
eventTimestamp?: Timestamp;
|
|
92
|
+
|
|
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
|
+
}
|
|
125
|
+
|
|
126
|
+
/**
|
|
127
|
+
* @generated from message raystack.predator.v1beta1.Result
|
|
128
|
+
*/
|
|
129
|
+
export class Result extends Message<Result> {
|
|
130
|
+
/**
|
|
131
|
+
* @generated from field: string name = 1;
|
|
132
|
+
*/
|
|
133
|
+
name = "";
|
|
134
|
+
|
|
135
|
+
/**
|
|
136
|
+
* @generated from field: string field_id = 2;
|
|
137
|
+
*/
|
|
138
|
+
fieldId = "";
|
|
139
|
+
|
|
140
|
+
/**
|
|
141
|
+
* @generated from field: double value = 3;
|
|
142
|
+
*/
|
|
143
|
+
value = 0;
|
|
144
|
+
|
|
145
|
+
/**
|
|
146
|
+
* @generated from field: repeated raystack.predator.v1beta1.ToleranceRule rules = 4;
|
|
147
|
+
*/
|
|
148
|
+
rules: ToleranceRule[] = [];
|
|
149
|
+
|
|
150
|
+
/**
|
|
151
|
+
* @generated from field: bool pass_flag = 5;
|
|
152
|
+
*/
|
|
153
|
+
passFlag = false;
|
|
154
|
+
|
|
155
|
+
/**
|
|
156
|
+
* @generated from field: string condition = 6;
|
|
157
|
+
*/
|
|
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
|
+
}
|
|
192
|
+
|
|
193
|
+
/**
|
|
194
|
+
* @generated from message raystack.predator.v1beta1.ToleranceRule
|
|
195
|
+
*/
|
|
196
|
+
export class ToleranceRule extends Message<ToleranceRule> {
|
|
197
|
+
/**
|
|
198
|
+
* @generated from field: string name = 1;
|
|
199
|
+
*/
|
|
200
|
+
name = "";
|
|
201
|
+
|
|
202
|
+
/**
|
|
203
|
+
* @generated from field: double value = 2;
|
|
204
|
+
*/
|
|
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
|
+
]);
|
|
218
|
+
|
|
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
|
+
}
|
|
235
|
+
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
// @generated by protoc-gen-connect-query v1.4.2 with parameter "target=ts"
|
|
2
|
+
// @generated from file raystack/raccoon/v1beta1/raccoon.proto (package raystack.raccoon.v1beta1, syntax proto3)
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
// @ts-nocheck
|
|
5
|
+
|
|
6
|
+
import { MethodKind } from "@bufbuild/protobuf";
|
|
7
|
+
import { SendEventRequest, SendEventResponse } from "./raccoon_pb.js";
|
|
8
|
+
|
|
9
|
+
/**
|
|
10
|
+
* @generated from rpc raystack.raccoon.v1beta1.EventService.SendEvent
|
|
11
|
+
*/
|
|
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;
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
// @generated by protobuf-ts 2.11.1
|
|
2
|
+
// @generated from protobuf file "raystack/raccoon/v1beta1/raccoon.proto" (package "raystack.raccoon.v1beta1", syntax proto3)
|
|
3
|
+
// tslint:disable
|
|
4
|
+
import type { RpcTransport } from "@protobuf-ts/runtime-rpc";
|
|
5
|
+
import type { ServiceInfo } from "@protobuf-ts/runtime-rpc";
|
|
6
|
+
import { EventService } from "./raccoon";
|
|
7
|
+
import { stackIntercept } from "@protobuf-ts/runtime-rpc";
|
|
8
|
+
import type { SendEventResponse } from "./raccoon";
|
|
9
|
+
import type { SendEventRequest } from "./raccoon";
|
|
10
|
+
import type { UnaryCall } from "@protobuf-ts/runtime-rpc";
|
|
11
|
+
import type { RpcOptions } from "@protobuf-ts/runtime-rpc";
|
|
12
|
+
/**
|
|
13
|
+
* @generated from protobuf service raystack.raccoon.v1beta1.EventService
|
|
14
|
+
*/
|
|
15
|
+
export interface IEventServiceClient {
|
|
16
|
+
/**
|
|
17
|
+
* @generated from protobuf rpc: SendEvent
|
|
18
|
+
*/
|
|
19
|
+
sendEvent(input: SendEventRequest, options?: RpcOptions): UnaryCall<SendEventRequest, SendEventResponse>;
|
|
20
|
+
}
|
|
21
|
+
/**
|
|
22
|
+
* @generated from protobuf service raystack.raccoon.v1beta1.EventService
|
|
23
|
+
*/
|
|
24
|
+
export class EventServiceClient implements IEventServiceClient, ServiceInfo {
|
|
25
|
+
typeName = EventService.typeName;
|
|
26
|
+
methods = EventService.methods;
|
|
27
|
+
options = EventService.options;
|
|
28
|
+
constructor(private readonly _transport: RpcTransport) {
|
|
29
|
+
}
|
|
30
|
+
/**
|
|
31
|
+
* @generated from protobuf rpc: SendEvent
|
|
32
|
+
*/
|
|
33
|
+
sendEvent(input: SendEventRequest, options?: RpcOptions): UnaryCall<SendEventRequest, SendEventResponse> {
|
|
34
|
+
const method = this.methods[0], opt = this._transport.mergeOptions(options);
|
|
35
|
+
return stackIntercept<SendEventRequest, SendEventResponse>("unary", this._transport, method, opt, input);
|
|
36
|
+
}
|
|
37
|
+
}
|