@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,451 @@
|
|
|
1
|
+
// @generated by protobuf-ts 2.11.1
|
|
2
|
+
// @generated from protobuf file "raystack/assets/v1beta1/user.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 { Event } from "./event";
|
|
14
|
+
import { Timestamp } from "./timestamp";
|
|
15
|
+
import { Properties } from "./properties";
|
|
16
|
+
import { Resource } from "./resource";
|
|
17
|
+
/**
|
|
18
|
+
* User is a person who uses or operates something.
|
|
19
|
+
* It can be a user of the system, or a user of a device.
|
|
20
|
+
* User is a resource that represents a user.
|
|
21
|
+
*
|
|
22
|
+
* @generated from protobuf message raystack.assets.v1beta1.User
|
|
23
|
+
*/
|
|
24
|
+
export interface User {
|
|
25
|
+
/**
|
|
26
|
+
* Representation of the resource
|
|
27
|
+
*
|
|
28
|
+
* @generated from protobuf field: raystack.assets.v1beta1.Resource resource = 1
|
|
29
|
+
*/
|
|
30
|
+
resource?: Resource;
|
|
31
|
+
/**
|
|
32
|
+
* The emai address of the user.
|
|
33
|
+
* Example: `job.deo@gmail.com`
|
|
34
|
+
*
|
|
35
|
+
* @generated from protobuf field: string email = 3
|
|
36
|
+
*/
|
|
37
|
+
email: string;
|
|
38
|
+
/**
|
|
39
|
+
* The username of the user.
|
|
40
|
+
* Example: `johndoe`
|
|
41
|
+
*
|
|
42
|
+
* @generated from protobuf field: string username = 4
|
|
43
|
+
*/
|
|
44
|
+
username: string;
|
|
45
|
+
/**
|
|
46
|
+
* The first name of the user.
|
|
47
|
+
* Example: `john`
|
|
48
|
+
*
|
|
49
|
+
* @generated from protobuf field: string first_name = 5
|
|
50
|
+
*/
|
|
51
|
+
firstName: string;
|
|
52
|
+
/**
|
|
53
|
+
* The last name of the user.
|
|
54
|
+
* Example: `doe`
|
|
55
|
+
*
|
|
56
|
+
* @generated from protobuf field: string last_name = 6
|
|
57
|
+
*/
|
|
58
|
+
lastName: string;
|
|
59
|
+
/**
|
|
60
|
+
* The full name of the user.
|
|
61
|
+
* Example: `john mayer doe`
|
|
62
|
+
*
|
|
63
|
+
* @generated from protobuf field: string full_name = 7
|
|
64
|
+
*/
|
|
65
|
+
fullName: string;
|
|
66
|
+
/**
|
|
67
|
+
* The display name of the user.
|
|
68
|
+
* Example: `John M. Doe`
|
|
69
|
+
*
|
|
70
|
+
* @generated from protobuf field: string display_name = 8
|
|
71
|
+
*/
|
|
72
|
+
displayName: string;
|
|
73
|
+
/**
|
|
74
|
+
* The job title of the user,
|
|
75
|
+
* Example: `data engineer`
|
|
76
|
+
*
|
|
77
|
+
* @generated from protobuf field: string title = 9
|
|
78
|
+
*/
|
|
79
|
+
title: string;
|
|
80
|
+
/**
|
|
81
|
+
* The status of the user.
|
|
82
|
+
* Example: `active`
|
|
83
|
+
*
|
|
84
|
+
* @generated from protobuf field: string status = 10
|
|
85
|
+
*/
|
|
86
|
+
status: string;
|
|
87
|
+
/**
|
|
88
|
+
* The email of the manger of the user.
|
|
89
|
+
* Example: `rambo.ryan@gmail.com`
|
|
90
|
+
*
|
|
91
|
+
* @generated from protobuf field: string manager_email = 11
|
|
92
|
+
*/
|
|
93
|
+
managerEmail: string;
|
|
94
|
+
/**
|
|
95
|
+
* List of the user social media accounts.
|
|
96
|
+
* For an example check out the profile schema.
|
|
97
|
+
*
|
|
98
|
+
* @generated from protobuf field: repeated raystack.assets.v1beta1.Profile profiles = 21
|
|
99
|
+
*/
|
|
100
|
+
profiles: Profile[];
|
|
101
|
+
/**
|
|
102
|
+
* List of the groups user belongs to.
|
|
103
|
+
* A user can be part of multiple groups and have a different role in every group.
|
|
104
|
+
*
|
|
105
|
+
* @generated from protobuf field: repeated raystack.assets.v1beta1.Membership memberships = 22
|
|
106
|
+
*/
|
|
107
|
+
memberships: Membership[];
|
|
108
|
+
/**
|
|
109
|
+
* Representation of custom properties of user.
|
|
110
|
+
* Properties facet can be used to set custom properties, tags and labels for a user.
|
|
111
|
+
*
|
|
112
|
+
* @generated from protobuf field: raystack.assets.v1beta1.Properties properties = 31
|
|
113
|
+
*/
|
|
114
|
+
properties?: Properties;
|
|
115
|
+
/**
|
|
116
|
+
* The timestamp of the user's creation.
|
|
117
|
+
* Timstamp facet can be used to set the creation and updation timestamp of a user.
|
|
118
|
+
*
|
|
119
|
+
* @generated from protobuf field: raystack.assets.v1beta1.Timestamp timestamps = 32
|
|
120
|
+
*/
|
|
121
|
+
timestamps?: Timestamp;
|
|
122
|
+
/**
|
|
123
|
+
* The timestamp of the generated event.
|
|
124
|
+
* Event schemas is defined in the common event schema.
|
|
125
|
+
*
|
|
126
|
+
* @generated from protobuf field: raystack.assets.v1beta1.Event event = 100
|
|
127
|
+
*/
|
|
128
|
+
event?: Event;
|
|
129
|
+
}
|
|
130
|
+
/**
|
|
131
|
+
* Membership is a relationship between a user and a group.
|
|
132
|
+
*
|
|
133
|
+
* @generated from protobuf message raystack.assets.v1beta1.Membership
|
|
134
|
+
*/
|
|
135
|
+
export interface Membership {
|
|
136
|
+
/**
|
|
137
|
+
* The unique identifier of the group.
|
|
138
|
+
* Example: `group:mygroup`
|
|
139
|
+
*
|
|
140
|
+
* @generated from protobuf field: string group_urn = 1
|
|
141
|
+
*/
|
|
142
|
+
groupUrn: string;
|
|
143
|
+
/**
|
|
144
|
+
* The role user has in the group.
|
|
145
|
+
* Example: "owner"
|
|
146
|
+
*
|
|
147
|
+
* @generated from protobuf field: repeated string role = 2
|
|
148
|
+
*/
|
|
149
|
+
role: string[];
|
|
150
|
+
}
|
|
151
|
+
/**
|
|
152
|
+
* Profile is a social media account of the user.
|
|
153
|
+
*
|
|
154
|
+
* @generated from protobuf message raystack.assets.v1beta1.Profile
|
|
155
|
+
*/
|
|
156
|
+
export interface Profile {
|
|
157
|
+
/**
|
|
158
|
+
* The unique identifier of the profile.
|
|
159
|
+
* Example: `profile:jdoe`
|
|
160
|
+
*
|
|
161
|
+
* @generated from protobuf field: string id = 1
|
|
162
|
+
*/
|
|
163
|
+
id: string;
|
|
164
|
+
/**
|
|
165
|
+
* The type of the profile.
|
|
166
|
+
* Example: `github`
|
|
167
|
+
*
|
|
168
|
+
* @generated from protobuf field: string platform = 2
|
|
169
|
+
*/
|
|
170
|
+
platform: string;
|
|
171
|
+
/**
|
|
172
|
+
* The url of the profile.
|
|
173
|
+
* Example: `http://github.com/jdoe`
|
|
174
|
+
*
|
|
175
|
+
* @generated from protobuf field: string url = 3
|
|
176
|
+
*/
|
|
177
|
+
url: string;
|
|
178
|
+
}
|
|
179
|
+
// @generated message type with reflection information, may provide speed optimized methods
|
|
180
|
+
class User$Type extends MessageType<User> {
|
|
181
|
+
constructor() {
|
|
182
|
+
super("raystack.assets.v1beta1.User", [
|
|
183
|
+
{ no: 1, name: "resource", kind: "message", T: () => Resource },
|
|
184
|
+
{ no: 3, name: "email", kind: "scalar", T: 9 /*ScalarType.STRING*/ },
|
|
185
|
+
{ no: 4, name: "username", kind: "scalar", T: 9 /*ScalarType.STRING*/ },
|
|
186
|
+
{ no: 5, name: "first_name", kind: "scalar", T: 9 /*ScalarType.STRING*/ },
|
|
187
|
+
{ no: 6, name: "last_name", kind: "scalar", T: 9 /*ScalarType.STRING*/ },
|
|
188
|
+
{ no: 7, name: "full_name", kind: "scalar", T: 9 /*ScalarType.STRING*/ },
|
|
189
|
+
{ no: 8, name: "display_name", kind: "scalar", T: 9 /*ScalarType.STRING*/ },
|
|
190
|
+
{ no: 9, name: "title", kind: "scalar", T: 9 /*ScalarType.STRING*/ },
|
|
191
|
+
{ no: 10, name: "status", kind: "scalar", T: 9 /*ScalarType.STRING*/ },
|
|
192
|
+
{ no: 11, name: "manager_email", kind: "scalar", T: 9 /*ScalarType.STRING*/ },
|
|
193
|
+
{ no: 21, name: "profiles", kind: "message", repeat: 2 /*RepeatType.UNPACKED*/, T: () => Profile },
|
|
194
|
+
{ no: 22, name: "memberships", kind: "message", repeat: 2 /*RepeatType.UNPACKED*/, T: () => Membership },
|
|
195
|
+
{ no: 31, name: "properties", kind: "message", T: () => Properties },
|
|
196
|
+
{ no: 32, name: "timestamps", kind: "message", T: () => Timestamp },
|
|
197
|
+
{ no: 100, name: "event", kind: "message", T: () => Event }
|
|
198
|
+
]);
|
|
199
|
+
}
|
|
200
|
+
create(value?: PartialMessage<User>): User {
|
|
201
|
+
const message = globalThis.Object.create((this.messagePrototype!));
|
|
202
|
+
message.email = "";
|
|
203
|
+
message.username = "";
|
|
204
|
+
message.firstName = "";
|
|
205
|
+
message.lastName = "";
|
|
206
|
+
message.fullName = "";
|
|
207
|
+
message.displayName = "";
|
|
208
|
+
message.title = "";
|
|
209
|
+
message.status = "";
|
|
210
|
+
message.managerEmail = "";
|
|
211
|
+
message.profiles = [];
|
|
212
|
+
message.memberships = [];
|
|
213
|
+
if (value !== undefined)
|
|
214
|
+
reflectionMergePartial<User>(this, message, value);
|
|
215
|
+
return message;
|
|
216
|
+
}
|
|
217
|
+
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: User): User {
|
|
218
|
+
let message = target ?? this.create(), end = reader.pos + length;
|
|
219
|
+
while (reader.pos < end) {
|
|
220
|
+
let [fieldNo, wireType] = reader.tag();
|
|
221
|
+
switch (fieldNo) {
|
|
222
|
+
case /* raystack.assets.v1beta1.Resource resource */ 1:
|
|
223
|
+
message.resource = Resource.internalBinaryRead(reader, reader.uint32(), options, message.resource);
|
|
224
|
+
break;
|
|
225
|
+
case /* string email */ 3:
|
|
226
|
+
message.email = reader.string();
|
|
227
|
+
break;
|
|
228
|
+
case /* string username */ 4:
|
|
229
|
+
message.username = reader.string();
|
|
230
|
+
break;
|
|
231
|
+
case /* string first_name */ 5:
|
|
232
|
+
message.firstName = reader.string();
|
|
233
|
+
break;
|
|
234
|
+
case /* string last_name */ 6:
|
|
235
|
+
message.lastName = reader.string();
|
|
236
|
+
break;
|
|
237
|
+
case /* string full_name */ 7:
|
|
238
|
+
message.fullName = reader.string();
|
|
239
|
+
break;
|
|
240
|
+
case /* string display_name */ 8:
|
|
241
|
+
message.displayName = reader.string();
|
|
242
|
+
break;
|
|
243
|
+
case /* string title */ 9:
|
|
244
|
+
message.title = reader.string();
|
|
245
|
+
break;
|
|
246
|
+
case /* string status */ 10:
|
|
247
|
+
message.status = reader.string();
|
|
248
|
+
break;
|
|
249
|
+
case /* string manager_email */ 11:
|
|
250
|
+
message.managerEmail = reader.string();
|
|
251
|
+
break;
|
|
252
|
+
case /* repeated raystack.assets.v1beta1.Profile profiles */ 21:
|
|
253
|
+
message.profiles.push(Profile.internalBinaryRead(reader, reader.uint32(), options));
|
|
254
|
+
break;
|
|
255
|
+
case /* repeated raystack.assets.v1beta1.Membership memberships */ 22:
|
|
256
|
+
message.memberships.push(Membership.internalBinaryRead(reader, reader.uint32(), options));
|
|
257
|
+
break;
|
|
258
|
+
case /* raystack.assets.v1beta1.Properties properties */ 31:
|
|
259
|
+
message.properties = Properties.internalBinaryRead(reader, reader.uint32(), options, message.properties);
|
|
260
|
+
break;
|
|
261
|
+
case /* raystack.assets.v1beta1.Timestamp timestamps */ 32:
|
|
262
|
+
message.timestamps = Timestamp.internalBinaryRead(reader, reader.uint32(), options, message.timestamps);
|
|
263
|
+
break;
|
|
264
|
+
case /* raystack.assets.v1beta1.Event event */ 100:
|
|
265
|
+
message.event = Event.internalBinaryRead(reader, reader.uint32(), options, message.event);
|
|
266
|
+
break;
|
|
267
|
+
default:
|
|
268
|
+
let u = options.readUnknownField;
|
|
269
|
+
if (u === "throw")
|
|
270
|
+
throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
|
|
271
|
+
let d = reader.skip(wireType);
|
|
272
|
+
if (u !== false)
|
|
273
|
+
(u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
|
|
274
|
+
}
|
|
275
|
+
}
|
|
276
|
+
return message;
|
|
277
|
+
}
|
|
278
|
+
internalBinaryWrite(message: User, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
|
|
279
|
+
/* raystack.assets.v1beta1.Resource resource = 1; */
|
|
280
|
+
if (message.resource)
|
|
281
|
+
Resource.internalBinaryWrite(message.resource, writer.tag(1, WireType.LengthDelimited).fork(), options).join();
|
|
282
|
+
/* string email = 3; */
|
|
283
|
+
if (message.email !== "")
|
|
284
|
+
writer.tag(3, WireType.LengthDelimited).string(message.email);
|
|
285
|
+
/* string username = 4; */
|
|
286
|
+
if (message.username !== "")
|
|
287
|
+
writer.tag(4, WireType.LengthDelimited).string(message.username);
|
|
288
|
+
/* string first_name = 5; */
|
|
289
|
+
if (message.firstName !== "")
|
|
290
|
+
writer.tag(5, WireType.LengthDelimited).string(message.firstName);
|
|
291
|
+
/* string last_name = 6; */
|
|
292
|
+
if (message.lastName !== "")
|
|
293
|
+
writer.tag(6, WireType.LengthDelimited).string(message.lastName);
|
|
294
|
+
/* string full_name = 7; */
|
|
295
|
+
if (message.fullName !== "")
|
|
296
|
+
writer.tag(7, WireType.LengthDelimited).string(message.fullName);
|
|
297
|
+
/* string display_name = 8; */
|
|
298
|
+
if (message.displayName !== "")
|
|
299
|
+
writer.tag(8, WireType.LengthDelimited).string(message.displayName);
|
|
300
|
+
/* string title = 9; */
|
|
301
|
+
if (message.title !== "")
|
|
302
|
+
writer.tag(9, WireType.LengthDelimited).string(message.title);
|
|
303
|
+
/* string status = 10; */
|
|
304
|
+
if (message.status !== "")
|
|
305
|
+
writer.tag(10, WireType.LengthDelimited).string(message.status);
|
|
306
|
+
/* string manager_email = 11; */
|
|
307
|
+
if (message.managerEmail !== "")
|
|
308
|
+
writer.tag(11, WireType.LengthDelimited).string(message.managerEmail);
|
|
309
|
+
/* repeated raystack.assets.v1beta1.Profile profiles = 21; */
|
|
310
|
+
for (let i = 0; i < message.profiles.length; i++)
|
|
311
|
+
Profile.internalBinaryWrite(message.profiles[i], writer.tag(21, WireType.LengthDelimited).fork(), options).join();
|
|
312
|
+
/* repeated raystack.assets.v1beta1.Membership memberships = 22; */
|
|
313
|
+
for (let i = 0; i < message.memberships.length; i++)
|
|
314
|
+
Membership.internalBinaryWrite(message.memberships[i], writer.tag(22, WireType.LengthDelimited).fork(), options).join();
|
|
315
|
+
/* raystack.assets.v1beta1.Properties properties = 31; */
|
|
316
|
+
if (message.properties)
|
|
317
|
+
Properties.internalBinaryWrite(message.properties, writer.tag(31, WireType.LengthDelimited).fork(), options).join();
|
|
318
|
+
/* raystack.assets.v1beta1.Timestamp timestamps = 32; */
|
|
319
|
+
if (message.timestamps)
|
|
320
|
+
Timestamp.internalBinaryWrite(message.timestamps, writer.tag(32, WireType.LengthDelimited).fork(), options).join();
|
|
321
|
+
/* raystack.assets.v1beta1.Event event = 100; */
|
|
322
|
+
if (message.event)
|
|
323
|
+
Event.internalBinaryWrite(message.event, writer.tag(100, WireType.LengthDelimited).fork(), options).join();
|
|
324
|
+
let u = options.writeUnknownFields;
|
|
325
|
+
if (u !== false)
|
|
326
|
+
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
|
327
|
+
return writer;
|
|
328
|
+
}
|
|
329
|
+
}
|
|
330
|
+
/**
|
|
331
|
+
* @generated MessageType for protobuf message raystack.assets.v1beta1.User
|
|
332
|
+
*/
|
|
333
|
+
export const User = new User$Type();
|
|
334
|
+
// @generated message type with reflection information, may provide speed optimized methods
|
|
335
|
+
class Membership$Type extends MessageType<Membership> {
|
|
336
|
+
constructor() {
|
|
337
|
+
super("raystack.assets.v1beta1.Membership", [
|
|
338
|
+
{ no: 1, name: "group_urn", kind: "scalar", T: 9 /*ScalarType.STRING*/ },
|
|
339
|
+
{ no: 2, name: "role", kind: "scalar", repeat: 2 /*RepeatType.UNPACKED*/, T: 9 /*ScalarType.STRING*/ }
|
|
340
|
+
]);
|
|
341
|
+
}
|
|
342
|
+
create(value?: PartialMessage<Membership>): Membership {
|
|
343
|
+
const message = globalThis.Object.create((this.messagePrototype!));
|
|
344
|
+
message.groupUrn = "";
|
|
345
|
+
message.role = [];
|
|
346
|
+
if (value !== undefined)
|
|
347
|
+
reflectionMergePartial<Membership>(this, message, value);
|
|
348
|
+
return message;
|
|
349
|
+
}
|
|
350
|
+
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: Membership): Membership {
|
|
351
|
+
let message = target ?? this.create(), end = reader.pos + length;
|
|
352
|
+
while (reader.pos < end) {
|
|
353
|
+
let [fieldNo, wireType] = reader.tag();
|
|
354
|
+
switch (fieldNo) {
|
|
355
|
+
case /* string group_urn */ 1:
|
|
356
|
+
message.groupUrn = reader.string();
|
|
357
|
+
break;
|
|
358
|
+
case /* repeated string role */ 2:
|
|
359
|
+
message.role.push(reader.string());
|
|
360
|
+
break;
|
|
361
|
+
default:
|
|
362
|
+
let u = options.readUnknownField;
|
|
363
|
+
if (u === "throw")
|
|
364
|
+
throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
|
|
365
|
+
let d = reader.skip(wireType);
|
|
366
|
+
if (u !== false)
|
|
367
|
+
(u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
|
|
368
|
+
}
|
|
369
|
+
}
|
|
370
|
+
return message;
|
|
371
|
+
}
|
|
372
|
+
internalBinaryWrite(message: Membership, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
|
|
373
|
+
/* string group_urn = 1; */
|
|
374
|
+
if (message.groupUrn !== "")
|
|
375
|
+
writer.tag(1, WireType.LengthDelimited).string(message.groupUrn);
|
|
376
|
+
/* repeated string role = 2; */
|
|
377
|
+
for (let i = 0; i < message.role.length; i++)
|
|
378
|
+
writer.tag(2, WireType.LengthDelimited).string(message.role[i]);
|
|
379
|
+
let u = options.writeUnknownFields;
|
|
380
|
+
if (u !== false)
|
|
381
|
+
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
|
382
|
+
return writer;
|
|
383
|
+
}
|
|
384
|
+
}
|
|
385
|
+
/**
|
|
386
|
+
* @generated MessageType for protobuf message raystack.assets.v1beta1.Membership
|
|
387
|
+
*/
|
|
388
|
+
export const Membership = new Membership$Type();
|
|
389
|
+
// @generated message type with reflection information, may provide speed optimized methods
|
|
390
|
+
class Profile$Type extends MessageType<Profile> {
|
|
391
|
+
constructor() {
|
|
392
|
+
super("raystack.assets.v1beta1.Profile", [
|
|
393
|
+
{ no: 1, name: "id", kind: "scalar", T: 9 /*ScalarType.STRING*/ },
|
|
394
|
+
{ no: 2, name: "platform", kind: "scalar", T: 9 /*ScalarType.STRING*/ },
|
|
395
|
+
{ no: 3, name: "url", kind: "scalar", T: 9 /*ScalarType.STRING*/ }
|
|
396
|
+
]);
|
|
397
|
+
}
|
|
398
|
+
create(value?: PartialMessage<Profile>): Profile {
|
|
399
|
+
const message = globalThis.Object.create((this.messagePrototype!));
|
|
400
|
+
message.id = "";
|
|
401
|
+
message.platform = "";
|
|
402
|
+
message.url = "";
|
|
403
|
+
if (value !== undefined)
|
|
404
|
+
reflectionMergePartial<Profile>(this, message, value);
|
|
405
|
+
return message;
|
|
406
|
+
}
|
|
407
|
+
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: Profile): Profile {
|
|
408
|
+
let message = target ?? this.create(), end = reader.pos + length;
|
|
409
|
+
while (reader.pos < end) {
|
|
410
|
+
let [fieldNo, wireType] = reader.tag();
|
|
411
|
+
switch (fieldNo) {
|
|
412
|
+
case /* string id */ 1:
|
|
413
|
+
message.id = reader.string();
|
|
414
|
+
break;
|
|
415
|
+
case /* string platform */ 2:
|
|
416
|
+
message.platform = reader.string();
|
|
417
|
+
break;
|
|
418
|
+
case /* string url */ 3:
|
|
419
|
+
message.url = reader.string();
|
|
420
|
+
break;
|
|
421
|
+
default:
|
|
422
|
+
let u = options.readUnknownField;
|
|
423
|
+
if (u === "throw")
|
|
424
|
+
throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
|
|
425
|
+
let d = reader.skip(wireType);
|
|
426
|
+
if (u !== false)
|
|
427
|
+
(u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
|
|
428
|
+
}
|
|
429
|
+
}
|
|
430
|
+
return message;
|
|
431
|
+
}
|
|
432
|
+
internalBinaryWrite(message: Profile, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
|
|
433
|
+
/* string id = 1; */
|
|
434
|
+
if (message.id !== "")
|
|
435
|
+
writer.tag(1, WireType.LengthDelimited).string(message.id);
|
|
436
|
+
/* string platform = 2; */
|
|
437
|
+
if (message.platform !== "")
|
|
438
|
+
writer.tag(2, WireType.LengthDelimited).string(message.platform);
|
|
439
|
+
/* string url = 3; */
|
|
440
|
+
if (message.url !== "")
|
|
441
|
+
writer.tag(3, WireType.LengthDelimited).string(message.url);
|
|
442
|
+
let u = options.writeUnknownFields;
|
|
443
|
+
if (u !== false)
|
|
444
|
+
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
|
445
|
+
return writer;
|
|
446
|
+
}
|
|
447
|
+
}
|
|
448
|
+
/**
|
|
449
|
+
* @generated MessageType for protobuf message raystack.assets.v1beta1.Profile
|
|
450
|
+
*/
|
|
451
|
+
export const Profile = new Profile$Type();
|