@raystack/proton 0.1.0-f13f5dd4b147bc7b2765cbbc10b39bd976167eec → 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 (112) hide show
  1. package/google/api/annotations_pb.ts +15 -9
  2. package/google/api/field_behavior_pb.ts +19 -19
  3. package/google/api/http_pb.ts +43 -108
  4. package/google/api/httpbody_pb.ts +23 -37
  5. package/package.json +6 -4
  6. package/protoc-gen-openapiv2/options/annotations_pb.ts +23 -29
  7. package/protoc-gen-openapiv2/options/openapiv2_pb.ts +338 -808
  8. package/raystack/assets/v1beta1/bucket_pb.ts +46 -89
  9. package/raystack/assets/v1beta1/dashboard_pb.ts +49 -97
  10. package/raystack/assets/v1beta1/event_pb.ts +22 -36
  11. package/raystack/assets/v1beta1/group_pb.ts +38 -74
  12. package/raystack/assets/v1beta1/job_pb.ts +30 -43
  13. package/raystack/assets/v1beta1/lineage_pb.ts +22 -36
  14. package/raystack/assets/v1beta1/ownership_pb.ts +31 -68
  15. package/raystack/assets/v1beta1/preview_pb.ts +21 -34
  16. package/raystack/assets/v1beta1/properties_pb.ts +22 -37
  17. package/raystack/assets/v1beta1/resource_pb.ts +24 -43
  18. package/raystack/assets/v1beta1/schema_pb.ts +59 -145
  19. package/raystack/assets/v1beta1/table_pb.ts +59 -120
  20. package/raystack/assets/v1beta1/timestamp_pb.ts +28 -62
  21. package/raystack/assets/v1beta1/topic_pb.ts +43 -78
  22. package/raystack/assets/v1beta1/user_pb.ts +58 -125
  23. package/raystack/assets/v1beta2/application_pb.ts +23 -39
  24. package/raystack/assets/v1beta2/asset_pb.ts +30 -53
  25. package/raystack/assets/v1beta2/bucket_pb.ts +41 -87
  26. package/raystack/assets/v1beta2/common_pb.ts +56 -137
  27. package/raystack/assets/v1beta2/dashboard_pb.ts +44 -93
  28. package/raystack/assets/v1beta2/experiment_pb.ts +38 -79
  29. package/raystack/assets/v1beta2/feature_table_pb.ts +51 -115
  30. package/raystack/assets/v1beta2/group_pb.ts +32 -68
  31. package/raystack/assets/v1beta2/job_pb.ts +21 -35
  32. package/raystack/assets/v1beta2/metric_pb.ts +25 -43
  33. package/raystack/assets/v1beta2/model_pb.ts +59 -147
  34. package/raystack/assets/v1beta2/table_pb.ts +82 -200
  35. package/raystack/assets/v1beta2/topic_pb.ts +41 -99
  36. package/raystack/assets/v1beta2/user_pb.ts +53 -121
  37. package/raystack/common/index.ts +0 -1
  38. package/raystack/common/v1/service-CommonService_connectquery.ts +3 -14
  39. package/raystack/common/v1/service_pb.ts +57 -97
  40. package/raystack/compass/index.ts +0 -1
  41. package/raystack/compass/v1beta1/service-CompassService_connectquery.ts +44 -424
  42. package/raystack/compass/v1beta1/service_pb.ts +1448 -3319
  43. package/raystack/entropy/index.ts +0 -2
  44. package/raystack/entropy/v1beta1/module-ModuleService_connectquery.ts +7 -54
  45. package/raystack/entropy/v1beta1/module_pb.ts +156 -324
  46. package/raystack/entropy/v1beta1/resource-ResourceService_connectquery.ts +9 -74
  47. package/raystack/entropy/v1beta1/resource_pb.ts +330 -756
  48. package/raystack/frontier/index.ts +0 -2
  49. package/raystack/frontier/v1beta1/admin-AdminService_connectquery.ts +60 -514
  50. package/raystack/frontier/v1beta1/admin.client.ts +17 -0
  51. package/raystack/frontier/v1beta1/admin.ts +111 -1
  52. package/raystack/frontier/v1beta1/admin_pb.ts +1774 -3791
  53. package/raystack/frontier/v1beta1/frontier-FrontierService_connectquery.ts +169 -1674
  54. package/raystack/frontier/v1beta1/frontier_pb.ts +4850 -10959
  55. package/raystack/frontier/v1beta1/models_pb.ts +810 -2296
  56. package/raystack/guardian/index.ts +0 -1
  57. package/raystack/guardian/v1beta1/guardian-GuardianService_connectquery.ts +42 -404
  58. package/raystack/guardian/v1beta1/guardian_pb.ts +1584 -3783
  59. package/raystack/optimus/core/v1beta1/backup-BackupService_connectquery.ts +5 -34
  60. package/raystack/optimus/core/v1beta1/backup_pb.ts +137 -273
  61. package/raystack/optimus/core/v1beta1/job_run-JobRunService_connectquery.ts +6 -44
  62. package/raystack/optimus/core/v1beta1/job_run_pb.ts +194 -376
  63. package/raystack/optimus/core/v1beta1/job_spec-JobSpecificationService_connectquery.ts +17 -154
  64. package/raystack/optimus/core/v1beta1/job_spec_pb.ts +910 -2081
  65. package/raystack/optimus/core/v1beta1/namespace-NamespaceService_connectquery.ts +5 -34
  66. package/raystack/optimus/core/v1beta1/namespace_pb.ts +113 -212
  67. package/raystack/optimus/core/v1beta1/project-ProjectService_connectquery.ts +5 -34
  68. package/raystack/optimus/core/v1beta1/project_pb.ts +121 -238
  69. package/raystack/optimus/core/v1beta1/replay-ReplayService_connectquery.ts +6 -44
  70. package/raystack/optimus/core/v1beta1/replay_pb.ts +160 -335
  71. package/raystack/optimus/core/v1beta1/resource-ResourceService_connectquery.ts +8 -64
  72. package/raystack/optimus/core/v1beta1/resource_pb.ts +266 -527
  73. package/raystack/optimus/core/v1beta1/runtime-RuntimeService_connectquery.ts +3 -14
  74. package/raystack/optimus/core/v1beta1/runtime_pb.ts +48 -61
  75. package/raystack/optimus/core/v1beta1/secret-SecretService_connectquery.ts +6 -44
  76. package/raystack/optimus/core/v1beta1/secret_pb.ts +155 -283
  77. package/raystack/optimus/core/v1beta1/status_pb.ts +35 -54
  78. package/raystack/optimus/integration/v1beta1/event_pb.ts +75 -187
  79. package/raystack/optimus/plugins/v1beta1/dependency_resolver-DependencyResolverModService_connectquery.ts +6 -44
  80. package/raystack/optimus/plugins/v1beta1/dependency_resolver_pb.ts +193 -426
  81. package/raystack/predator/v1beta1/metrics_log_pb.ts +67 -173
  82. package/raystack/predator/v1beta1/result_log_pb.ts +60 -144
  83. package/raystack/raccoon/index.ts +0 -1
  84. package/raystack/raccoon/v1beta1/raccoon-EventService_connectquery.ts +3 -14
  85. package/raystack/raccoon/v1beta1/raccoon_pb.ts +142 -189
  86. package/raystack/siren/index.ts +0 -1
  87. package/raystack/siren/v1beta1/siren-SirenService_connectquery.ts +37 -354
  88. package/raystack/siren/v1beta1/siren_pb.ts +1155 -2637
  89. package/raystack/stencil/index.ts +0 -1
  90. package/raystack/stencil/v1beta1/stencil-StencilService_connectquery.ts +18 -164
  91. package/raystack/stencil/v1beta1/stencil_pb.ts +530 -1157
  92. package/validate/validate_pb.ts +401 -1038
  93. package/raystack/common/v1/service_connect.ts +0 -26
  94. package/raystack/compass/v1beta1/service_connect.ts +0 -407
  95. package/raystack/entropy/v1beta1/module_connect.ts +0 -62
  96. package/raystack/entropy/v1beta1/resource_connect.ts +0 -89
  97. package/raystack/frontier/v1beta1/admin_connect.ts +0 -573
  98. package/raystack/frontier/v1beta1/frontier_connect.ts +0 -1574
  99. package/raystack/guardian/v1beta1/guardian_connect.ts +0 -381
  100. package/raystack/optimus/core/v1beta1/backup_connect.ts +0 -44
  101. package/raystack/optimus/core/v1beta1/job_run_connect.ts +0 -63
  102. package/raystack/optimus/core/v1beta1/job_spec_connect.ts +0 -233
  103. package/raystack/optimus/core/v1beta1/namespace_connect.ts +0 -50
  104. package/raystack/optimus/core/v1beta1/project_connect.ts +0 -50
  105. package/raystack/optimus/core/v1beta1/replay_connect.ts +0 -53
  106. package/raystack/optimus/core/v1beta1/resource_connect.ts +0 -96
  107. package/raystack/optimus/core/v1beta1/runtime_connect.ts +0 -30
  108. package/raystack/optimus/core/v1beta1/secret_connect.ts +0 -61
  109. package/raystack/optimus/plugins/v1beta1/dependency_resolver_connect.ts +0 -65
  110. package/raystack/raccoon/v1beta1/raccoon_connect.ts +0 -26
  111. package/raystack/siren/v1beta1/siren_connect.ts +0 -332
  112. package/raystack/stencil/v1beta1/stencil_connect.ts +0 -161
@@ -1,10 +1,18 @@
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/assets/v1beta2/user.proto (package raystack.assets.v1beta2, 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, Struct, 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_struct, file_google_protobuf_timestamp } from "@bufbuild/protobuf/wkt";
9
+ import type { JsonObject, Message } from "@bufbuild/protobuf";
10
+
11
+ /**
12
+ * Describes the file raystack/assets/v1beta2/user.proto.
13
+ */
14
+ export const file_raystack_assets_v1beta2_user: GenFile = /*@__PURE__*/
15
+ fileDesc("CiJyYXlzdGFjay9hc3NldHMvdjFiZXRhMi91c2VyLnByb3RvEhdyYXlzdGFjay5hc3NldHMudjFiZXRhMiKqAwoEVXNlchINCgVlbWFpbBgDIAEoCRIQCgh1c2VybmFtZRgEIAEoCRISCgpmaXJzdF9uYW1lGAUgASgJEhEKCWxhc3RfbmFtZRgGIAEoCRIRCglmdWxsX25hbWUYByABKAkSFAoMZGlzcGxheV9uYW1lGAggASgJEg0KBXRpdGxlGAkgASgJEg4KBnN0YXR1cxgKIAEoCRIVCg1tYW5hZ2VyX2VtYWlsGAsgASgJEjIKCHByb2ZpbGVzGBUgAygLMiAucmF5c3RhY2suYXNzZXRzLnYxYmV0YTIuUHJvZmlsZRI4CgttZW1iZXJzaGlwcxgWIAMoCzIjLnJheXN0YWNrLmFzc2V0cy52MWJldGEyLk1lbWJlcnNoaXASKwoKYXR0cmlidXRlcxgeIAEoCzIXLmdvb2dsZS5wcm90b2J1Zi5TdHJ1Y3QSLwoLY3JlYXRlX3RpbWUYZSABKAsyGi5nb29nbGUucHJvdG9idWYuVGltZXN0YW1wEi8KC3VwZGF0ZV90aW1lGGYgASgLMhouZ29vZ2xlLnByb3RvYnVmLlRpbWVzdGFtcCItCgpNZW1iZXJzaGlwEhEKCWdyb3VwX3VybhgBIAEoCRIMCgRyb2xlGAIgAygJIjQKB1Byb2ZpbGUSCgoCaWQYASABKAkSEAoIcGxhdGZvcm0YAiABKAkSCwoDdXJsGAMgASgJQlgKEmlvLnJheXN0YWNrLmFzc2V0c0IJVXNlclByb3RvWjdnaXRodWIuY29tL3JheXN0YWNrL3Byb3Rvbi9hc3NldHMvdjFiZXRhMjthc3NldHN2MWJldGEyYgZwcm90bzM", [file_google_protobuf_struct, file_google_protobuf_timestamp]);
8
16
 
9
17
  /**
10
18
  * User is a person who uses or operates something.
@@ -13,14 +21,14 @@ import { Message, proto3, Struct, Timestamp } from "@bufbuild/protobuf";
13
21
  *
14
22
  * @generated from message raystack.assets.v1beta2.User
15
23
  */
16
- export class User extends Message<User> {
24
+ export type User = Message<"raystack.assets.v1beta2.User"> & {
17
25
  /**
18
26
  * The email address of the user.
19
27
  * Example: `job.deo@gmail.com`
20
28
  *
21
29
  * @generated from field: string email = 3;
22
30
  */
23
- email = "";
31
+ email: string;
24
32
 
25
33
  /**
26
34
  * The username of the user.
@@ -28,7 +36,7 @@ export class User extends Message<User> {
28
36
  *
29
37
  * @generated from field: string username = 4;
30
38
  */
31
- username = "";
39
+ username: string;
32
40
 
33
41
  /**
34
42
  * The first name of the user.
@@ -36,7 +44,7 @@ export class User extends Message<User> {
36
44
  *
37
45
  * @generated from field: string first_name = 5;
38
46
  */
39
- firstName = "";
47
+ firstName: string;
40
48
 
41
49
  /**
42
50
  * The last name of the user.
@@ -44,7 +52,7 @@ export class User extends Message<User> {
44
52
  *
45
53
  * @generated from field: string last_name = 6;
46
54
  */
47
- lastName = "";
55
+ lastName: string;
48
56
 
49
57
  /**
50
58
  * The full name of the user.
@@ -52,7 +60,7 @@ export class User extends Message<User> {
52
60
  *
53
61
  * @generated from field: string full_name = 7;
54
62
  */
55
- fullName = "";
63
+ fullName: string;
56
64
 
57
65
  /**
58
66
  * The display name of the user.
@@ -60,7 +68,7 @@ export class User extends Message<User> {
60
68
  *
61
69
  * @generated from field: string display_name = 8;
62
70
  */
63
- displayName = "";
71
+ displayName: string;
64
72
 
65
73
  /**
66
74
  * The job title of the user.
@@ -68,7 +76,7 @@ export class User extends Message<User> {
68
76
  *
69
77
  * @generated from field: string title = 9;
70
78
  */
71
- title = "";
79
+ title: string;
72
80
 
73
81
  /**
74
82
  * The status of the user.
@@ -76,7 +84,7 @@ export class User extends Message<User> {
76
84
  *
77
85
  * @generated from field: string status = 10;
78
86
  */
79
- status = "";
87
+ status: string;
80
88
 
81
89
  /**
82
90
  * The email of the manger of the user.
@@ -84,7 +92,7 @@ export class User extends Message<User> {
84
92
  *
85
93
  * @generated from field: string manager_email = 11;
86
94
  */
87
- managerEmail = "";
95
+ managerEmail: string;
88
96
 
89
97
  /**
90
98
  * List of the user social media accounts.
@@ -92,7 +100,7 @@ export class User extends Message<User> {
92
100
  *
93
101
  * @generated from field: repeated raystack.assets.v1beta2.Profile profiles = 21;
94
102
  */
95
- profiles: Profile[] = [];
103
+ profiles: Profile[];
96
104
 
97
105
  /**
98
106
  * List of the groups user belongs to.
@@ -100,14 +108,14 @@ export class User extends Message<User> {
100
108
  *
101
109
  * @generated from field: repeated raystack.assets.v1beta2.Membership memberships = 22;
102
110
  */
103
- memberships: Membership[] = [];
111
+ memberships: Membership[];
104
112
 
105
113
  /**
106
114
  * List of attributes the model has.
107
115
  *
108
116
  * @generated from field: google.protobuf.Struct attributes = 30;
109
117
  */
110
- attributes?: Struct;
118
+ attributes?: JsonObject;
111
119
 
112
120
  /**
113
121
  * The timestamp of the user's account creation.
@@ -122,61 +130,28 @@ export class User extends Message<User> {
122
130
  * @generated from field: google.protobuf.Timestamp update_time = 102;
123
131
  */
124
132
  updateTime?: Timestamp;
133
+ };
125
134
 
126
- constructor(data?: PartialMessage<User>) {
127
- super();
128
- proto3.util.initPartial(data, this);
129
- }
130
-
131
- static readonly runtime: typeof proto3 = proto3;
132
- static readonly typeName = "raystack.assets.v1beta2.User";
133
- static readonly fields: FieldList = proto3.util.newFieldList(() => [
134
- { no: 3, name: "email", kind: "scalar", T: 9 /* ScalarType.STRING */ },
135
- { no: 4, name: "username", kind: "scalar", T: 9 /* ScalarType.STRING */ },
136
- { no: 5, name: "first_name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
137
- { no: 6, name: "last_name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
138
- { no: 7, name: "full_name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
139
- { no: 8, name: "display_name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
140
- { no: 9, name: "title", kind: "scalar", T: 9 /* ScalarType.STRING */ },
141
- { no: 10, name: "status", kind: "scalar", T: 9 /* ScalarType.STRING */ },
142
- { no: 11, name: "manager_email", kind: "scalar", T: 9 /* ScalarType.STRING */ },
143
- { no: 21, name: "profiles", kind: "message", T: Profile, repeated: true },
144
- { no: 22, name: "memberships", kind: "message", T: Membership, repeated: true },
145
- { no: 30, name: "attributes", kind: "message", T: Struct },
146
- { no: 101, name: "create_time", kind: "message", T: Timestamp },
147
- { no: 102, name: "update_time", kind: "message", T: Timestamp },
148
- ]);
149
-
150
- static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): User {
151
- return new User().fromBinary(bytes, options);
152
- }
153
-
154
- static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): User {
155
- return new User().fromJson(jsonValue, options);
156
- }
157
-
158
- static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): User {
159
- return new User().fromJsonString(jsonString, options);
160
- }
161
-
162
- static equals(a: User | PlainMessage<User> | undefined, b: User | PlainMessage<User> | undefined): boolean {
163
- return proto3.util.equals(User, a, b);
164
- }
165
- }
135
+ /**
136
+ * Describes the message raystack.assets.v1beta2.User.
137
+ * Use `create(UserSchema)` to create a new message.
138
+ */
139
+ export const UserSchema: GenMessage<User> = /*@__PURE__*/
140
+ messageDesc(file_raystack_assets_v1beta2_user, 0);
166
141
 
167
142
  /**
168
143
  * Membership is a relationship between a user and a group.
169
144
  *
170
145
  * @generated from message raystack.assets.v1beta2.Membership
171
146
  */
172
- export class Membership extends Message<Membership> {
147
+ export type Membership = Message<"raystack.assets.v1beta2.Membership"> & {
173
148
  /**
174
149
  * The unique identifier of the group.
175
150
  * Example: `group:mygroup`
176
151
  *
177
152
  * @generated from field: string group_urn = 1;
178
153
  */
179
- groupUrn = "";
154
+ groupUrn: string;
180
155
 
181
156
  /**
182
157
  * The role user has in the group.
@@ -184,50 +159,29 @@ export class Membership extends Message<Membership> {
184
159
  *
185
160
  * @generated from field: repeated string role = 2;
186
161
  */
187
- role: string[] = [];
188
-
189
- constructor(data?: PartialMessage<Membership>) {
190
- super();
191
- proto3.util.initPartial(data, this);
192
- }
193
-
194
- static readonly runtime: typeof proto3 = proto3;
195
- static readonly typeName = "raystack.assets.v1beta2.Membership";
196
- static readonly fields: FieldList = proto3.util.newFieldList(() => [
197
- { no: 1, name: "group_urn", kind: "scalar", T: 9 /* ScalarType.STRING */ },
198
- { no: 2, name: "role", kind: "scalar", T: 9 /* ScalarType.STRING */, repeated: true },
199
- ]);
162
+ role: string[];
163
+ };
200
164
 
201
- static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): Membership {
202
- return new Membership().fromBinary(bytes, options);
203
- }
204
-
205
- static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): Membership {
206
- return new Membership().fromJson(jsonValue, options);
207
- }
208
-
209
- static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): Membership {
210
- return new Membership().fromJsonString(jsonString, options);
211
- }
212
-
213
- static equals(a: Membership | PlainMessage<Membership> | undefined, b: Membership | PlainMessage<Membership> | undefined): boolean {
214
- return proto3.util.equals(Membership, a, b);
215
- }
216
- }
165
+ /**
166
+ * Describes the message raystack.assets.v1beta2.Membership.
167
+ * Use `create(MembershipSchema)` to create a new message.
168
+ */
169
+ export const MembershipSchema: GenMessage<Membership> = /*@__PURE__*/
170
+ messageDesc(file_raystack_assets_v1beta2_user, 1);
217
171
 
218
172
  /**
219
173
  * Profile is a social media account of the user.
220
174
  *
221
175
  * @generated from message raystack.assets.v1beta2.Profile
222
176
  */
223
- export class Profile extends Message<Profile> {
177
+ export type Profile = Message<"raystack.assets.v1beta2.Profile"> & {
224
178
  /**
225
179
  * The unique identifier of the profile.
226
180
  * Example: `profile:jdoe`
227
181
  *
228
182
  * @generated from field: string id = 1;
229
183
  */
230
- id = "";
184
+ id: string;
231
185
 
232
186
  /**
233
187
  * The type of the profile.
@@ -235,7 +189,7 @@ export class Profile extends Message<Profile> {
235
189
  *
236
190
  * @generated from field: string platform = 2;
237
191
  */
238
- platform = "";
192
+ platform: string;
239
193
 
240
194
  /**
241
195
  * The url of the profile.
@@ -243,35 +197,13 @@ export class Profile extends Message<Profile> {
243
197
  *
244
198
  * @generated from field: string url = 3;
245
199
  */
246
- url = "";
247
-
248
- constructor(data?: PartialMessage<Profile>) {
249
- super();
250
- proto3.util.initPartial(data, this);
251
- }
200
+ url: string;
201
+ };
252
202
 
253
- static readonly runtime: typeof proto3 = proto3;
254
- static readonly typeName = "raystack.assets.v1beta2.Profile";
255
- static readonly fields: FieldList = proto3.util.newFieldList(() => [
256
- { no: 1, name: "id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
257
- { no: 2, name: "platform", kind: "scalar", T: 9 /* ScalarType.STRING */ },
258
- { no: 3, name: "url", kind: "scalar", T: 9 /* ScalarType.STRING */ },
259
- ]);
260
-
261
- static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): Profile {
262
- return new Profile().fromBinary(bytes, options);
263
- }
264
-
265
- static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): Profile {
266
- return new Profile().fromJson(jsonValue, options);
267
- }
268
-
269
- static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): Profile {
270
- return new Profile().fromJsonString(jsonString, options);
271
- }
272
-
273
- static equals(a: Profile | PlainMessage<Profile> | undefined, b: Profile | PlainMessage<Profile> | undefined): boolean {
274
- return proto3.util.equals(Profile, a, b);
275
- }
276
- }
203
+ /**
204
+ * Describes the message raystack.assets.v1beta2.Profile.
205
+ * Use `create(ProfileSchema)` to create a new message.
206
+ */
207
+ export const ProfileSchema: GenMessage<Profile> = /*@__PURE__*/
208
+ messageDesc(file_raystack_assets_v1beta2_user, 2);
277
209
 
@@ -1,3 +1,2 @@
1
- export { CommonService } from "./v1/service_connect";
2
1
  export * as CommonServiceQueries from "./v1/service-CommonService_connectquery";
3
2
  export * from "./v1/service";
@@ -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/common/v1/service.proto (package raystack.common.v1, syntax proto3)
3
3
  /* eslint-disable */
4
- // @ts-nocheck
5
4
 
6
- import { MethodKind } from "@bufbuild/protobuf";
7
- import { GetVersionRequest, GetVersionResponse } from "./service_pb.js";
5
+ import { CommonService } from "./service_pb";
8
6
 
9
7
  /**
10
8
  * @generated from rpc raystack.common.v1.CommonService.GetVersion
11
9
  */
12
- export const getVersion = {
13
- localName: "getVersion",
14
- name: "GetVersion",
15
- kind: MethodKind.Unary,
16
- I: GetVersionRequest,
17
- O: GetVersionResponse,
18
- service: {
19
- typeName: "raystack.common.v1.CommonService"
20
- }
21
- } as const;
10
+ export const getVersion = CommonService.method.getVersion;
@@ -1,98 +1,68 @@
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/common/v1/service.proto (package raystack.common.v1, 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, GenService } from "@bufbuild/protobuf/codegenv2";
6
+ import { fileDesc, messageDesc, serviceDesc } from "@bufbuild/protobuf/codegenv2";
7
+ import { file_google_api_annotations } from "../../../google/api/annotations_pb";
8
+ import type { Timestamp } from "@bufbuild/protobuf/wkt";
9
+ import { file_google_protobuf_timestamp } from "@bufbuild/protobuf/wkt";
10
+ import { file_protoc_gen_openapiv2_options_annotations } from "../../../protoc-gen-openapiv2/options/annotations_pb";
11
+ import type { Message } from "@bufbuild/protobuf";
12
+
13
+ /**
14
+ * Describes the file raystack/common/v1/service.proto.
15
+ */
16
+ export const file_raystack_common_v1_service: GenFile = /*@__PURE__*/
17
+ fileDesc("CiByYXlzdGFjay9jb21tb24vdjEvc2VydmljZS5wcm90bxIScmF5c3RhY2suY29tbW9uLnYxIkAKEUdldFZlcnNpb25SZXF1ZXN0EisKBmNsaWVudBgBIAEoCzIbLnJheXN0YWNrLmNvbW1vbi52MS5WZXJzaW9uIkEKEkdldFZlcnNpb25SZXNwb25zZRIrCgZzZXJ2ZXIYASABKAsyGy5yYXlzdGFjay5jb21tb24udjEuVmVyc2lvbiKSAQoHVmVyc2lvbhIPCgd2ZXJzaW9uGAEgASgJEg4KBmNvbW1pdBgCIAEoCRIuCgpidWlsZF90aW1lGAMgASgLMhouZ29vZ2xlLnByb3RvYnVmLlRpbWVzdGFtcBIUCgxsYW5nX3ZlcnNpb24YBCABKAkSCgoCb3MYBSABKAkSFAoMYXJjaGl0ZWN0dXJlGAYgASgJMoQBCg1Db21tb25TZXJ2aWNlEnMKCkdldFZlcnNpb24SJS5yYXlzdGFjay5jb21tb24udjEuR2V0VmVyc2lvblJlcXVlc3QaJi5yYXlzdGFjay5jb21tb24udjEuR2V0VmVyc2lvblJlc3BvbnNlIhaC0+STAhAiCy92MS92ZXJzaW9uOgEqQosBChlpby5yYXlzdGFjay5wcm90b24uY29tbW9uQhJDb21tb25TZXJ2aWNlUHJvdG9QAVokZ2l0aHViLmNvbS9yYXlzdGFjay9wcm90b24vY29tbW9uL3YxkkExEgcyBTAuMS4wKgEBciMKIUNvbW1vbiBlbmRwb2ludHMgZm9yIGFsbCBzZXJ2aWNlc2IGcHJvdG8z", [file_google_api_annotations, file_google_protobuf_timestamp, file_protoc_gen_openapiv2_options_annotations]);
8
18
 
9
19
  /**
10
20
  * @generated from message raystack.common.v1.GetVersionRequest
11
21
  */
12
- export class GetVersionRequest extends Message<GetVersionRequest> {
22
+ export type GetVersionRequest = Message<"raystack.common.v1.GetVersionRequest"> & {
13
23
  /**
14
24
  * @generated from field: raystack.common.v1.Version client = 1;
15
25
  */
16
26
  client?: Version;
27
+ };
17
28
 
18
- constructor(data?: PartialMessage<GetVersionRequest>) {
19
- super();
20
- proto3.util.initPartial(data, this);
21
- }
22
-
23
- static readonly runtime: typeof proto3 = proto3;
24
- static readonly typeName = "raystack.common.v1.GetVersionRequest";
25
- static readonly fields: FieldList = proto3.util.newFieldList(() => [
26
- { no: 1, name: "client", kind: "message", T: Version },
27
- ]);
28
-
29
- static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): GetVersionRequest {
30
- return new GetVersionRequest().fromBinary(bytes, options);
31
- }
32
-
33
- static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): GetVersionRequest {
34
- return new GetVersionRequest().fromJson(jsonValue, options);
35
- }
36
-
37
- static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): GetVersionRequest {
38
- return new GetVersionRequest().fromJsonString(jsonString, options);
39
- }
40
-
41
- static equals(a: GetVersionRequest | PlainMessage<GetVersionRequest> | undefined, b: GetVersionRequest | PlainMessage<GetVersionRequest> | undefined): boolean {
42
- return proto3.util.equals(GetVersionRequest, a, b);
43
- }
44
- }
29
+ /**
30
+ * Describes the message raystack.common.v1.GetVersionRequest.
31
+ * Use `create(GetVersionRequestSchema)` to create a new message.
32
+ */
33
+ export const GetVersionRequestSchema: GenMessage<GetVersionRequest> = /*@__PURE__*/
34
+ messageDesc(file_raystack_common_v1_service, 0);
45
35
 
46
36
  /**
47
37
  * @generated from message raystack.common.v1.GetVersionResponse
48
38
  */
49
- export class GetVersionResponse extends Message<GetVersionResponse> {
39
+ export type GetVersionResponse = Message<"raystack.common.v1.GetVersionResponse"> & {
50
40
  /**
51
41
  * @generated from field: raystack.common.v1.Version server = 1;
52
42
  */
53
43
  server?: Version;
44
+ };
54
45
 
55
- constructor(data?: PartialMessage<GetVersionResponse>) {
56
- super();
57
- proto3.util.initPartial(data, this);
58
- }
59
-
60
- static readonly runtime: typeof proto3 = proto3;
61
- static readonly typeName = "raystack.common.v1.GetVersionResponse";
62
- static readonly fields: FieldList = proto3.util.newFieldList(() => [
63
- { no: 1, name: "server", kind: "message", T: Version },
64
- ]);
65
-
66
- static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): GetVersionResponse {
67
- return new GetVersionResponse().fromBinary(bytes, options);
68
- }
69
-
70
- static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): GetVersionResponse {
71
- return new GetVersionResponse().fromJson(jsonValue, options);
72
- }
73
-
74
- static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): GetVersionResponse {
75
- return new GetVersionResponse().fromJsonString(jsonString, options);
76
- }
77
-
78
- static equals(a: GetVersionResponse | PlainMessage<GetVersionResponse> | undefined, b: GetVersionResponse | PlainMessage<GetVersionResponse> | undefined): boolean {
79
- return proto3.util.equals(GetVersionResponse, a, b);
80
- }
81
- }
46
+ /**
47
+ * Describes the message raystack.common.v1.GetVersionResponse.
48
+ * Use `create(GetVersionResponseSchema)` to create a new message.
49
+ */
50
+ export const GetVersionResponseSchema: GenMessage<GetVersionResponse> = /*@__PURE__*/
51
+ messageDesc(file_raystack_common_v1_service, 1);
82
52
 
83
53
  /**
84
54
  * @generated from message raystack.common.v1.Version
85
55
  */
86
- export class Version extends Message<Version> {
56
+ export type Version = Message<"raystack.common.v1.Version"> & {
87
57
  /**
88
58
  * @generated from field: string version = 1;
89
59
  */
90
- version = "";
60
+ version: string;
91
61
 
92
62
  /**
93
63
  * @generated from field: string commit = 2;
94
64
  */
95
- commit = "";
65
+ commit: string;
96
66
 
97
67
  /**
98
68
  * @generated from field: google.protobuf.Timestamp build_time = 3;
@@ -102,48 +72,38 @@ export class Version extends Message<Version> {
102
72
  /**
103
73
  * @generated from field: string lang_version = 4;
104
74
  */
105
- langVersion = "";
75
+ langVersion: string;
106
76
 
107
77
  /**
108
78
  * @generated from field: string os = 5;
109
79
  */
110
- os = "";
80
+ os: string;
111
81
 
112
82
  /**
113
83
  * @generated from field: string architecture = 6;
114
84
  */
115
- architecture = "";
116
-
117
- constructor(data?: PartialMessage<Version>) {
118
- super();
119
- proto3.util.initPartial(data, this);
120
- }
121
-
122
- static readonly runtime: typeof proto3 = proto3;
123
- static readonly typeName = "raystack.common.v1.Version";
124
- static readonly fields: FieldList = proto3.util.newFieldList(() => [
125
- { no: 1, name: "version", kind: "scalar", T: 9 /* ScalarType.STRING */ },
126
- { no: 2, name: "commit", kind: "scalar", T: 9 /* ScalarType.STRING */ },
127
- { no: 3, name: "build_time", kind: "message", T: Timestamp },
128
- { no: 4, name: "lang_version", kind: "scalar", T: 9 /* ScalarType.STRING */ },
129
- { no: 5, name: "os", kind: "scalar", T: 9 /* ScalarType.STRING */ },
130
- { no: 6, name: "architecture", kind: "scalar", T: 9 /* ScalarType.STRING */ },
131
- ]);
132
-
133
- static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): Version {
134
- return new Version().fromBinary(bytes, options);
135
- }
136
-
137
- static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): Version {
138
- return new Version().fromJson(jsonValue, options);
139
- }
85
+ architecture: string;
86
+ };
140
87
 
141
- static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): Version {
142
- return new Version().fromJsonString(jsonString, options);
143
- }
88
+ /**
89
+ * Describes the message raystack.common.v1.Version.
90
+ * Use `create(VersionSchema)` to create a new message.
91
+ */
92
+ export const VersionSchema: GenMessage<Version> = /*@__PURE__*/
93
+ messageDesc(file_raystack_common_v1_service, 2);
144
94
 
145
- static equals(a: Version | PlainMessage<Version> | undefined, b: Version | PlainMessage<Version> | undefined): boolean {
146
- return proto3.util.equals(Version, a, b);
147
- }
148
- }
95
+ /**
96
+ * @generated from service raystack.common.v1.CommonService
97
+ */
98
+ export const CommonService: GenService<{
99
+ /**
100
+ * @generated from rpc raystack.common.v1.CommonService.GetVersion
101
+ */
102
+ getVersion: {
103
+ methodKind: "unary";
104
+ input: typeof GetVersionRequestSchema;
105
+ output: typeof GetVersionResponseSchema;
106
+ },
107
+ }> = /*@__PURE__*/
108
+ serviceDesc(file_raystack_common_v1_service, 0);
149
109
 
@@ -1,3 +1,2 @@
1
- export { CompassService } from "./v1beta1/service_connect";
2
1
  export * as CompassServiceQueries from "./v1beta1/service-CompassService_connectquery";
3
2
  export * from "./v1beta1/service";