@raystack/proton 0.1.0-8a4f578dceca476c696c82054faaf4871b1b949c → 0.1.0-8cb19702a3e47d173732860d58084b83d6941865

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 (198) 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/index.ts +10 -0
  6. package/package.json +61 -17
  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/index.ts +29 -29
  10. package/raystack/assets/v1beta1/bucket_pb.ts +46 -89
  11. package/raystack/assets/v1beta1/dashboard_pb.ts +49 -97
  12. package/raystack/assets/v1beta1/event_pb.ts +22 -36
  13. package/raystack/assets/v1beta1/group_pb.ts +38 -74
  14. package/raystack/assets/v1beta1/job_pb.ts +30 -43
  15. package/raystack/assets/v1beta1/lineage_pb.ts +22 -36
  16. package/raystack/assets/v1beta1/ownership_pb.ts +31 -68
  17. package/raystack/assets/v1beta1/preview_pb.ts +21 -34
  18. package/raystack/assets/v1beta1/properties_pb.ts +22 -37
  19. package/raystack/assets/v1beta1/resource_pb.ts +24 -43
  20. package/raystack/assets/v1beta1/schema_pb.ts +59 -145
  21. package/raystack/assets/v1beta1/table_pb.ts +59 -120
  22. package/raystack/assets/v1beta1/timestamp_pb.ts +28 -62
  23. package/raystack/assets/v1beta1/topic_pb.ts +43 -78
  24. package/raystack/assets/v1beta1/user_pb.ts +58 -125
  25. package/raystack/assets/v1beta2/application_pb.ts +23 -39
  26. package/raystack/assets/v1beta2/asset_pb.ts +30 -53
  27. package/raystack/assets/v1beta2/bucket_pb.ts +41 -87
  28. package/raystack/assets/v1beta2/common_pb.ts +56 -137
  29. package/raystack/assets/v1beta2/dashboard_pb.ts +44 -93
  30. package/raystack/assets/v1beta2/experiment_pb.ts +38 -79
  31. package/raystack/assets/v1beta2/feature_table_pb.ts +51 -115
  32. package/raystack/assets/v1beta2/group_pb.ts +32 -68
  33. package/raystack/assets/v1beta2/job_pb.ts +21 -35
  34. package/raystack/assets/v1beta2/metric_pb.ts +25 -43
  35. package/raystack/assets/v1beta2/model_pb.ts +59 -147
  36. package/raystack/assets/v1beta2/table_pb.ts +82 -200
  37. package/raystack/assets/v1beta2/topic_pb.ts +41 -99
  38. package/raystack/assets/v1beta2/user_pb.ts +53 -121
  39. package/raystack/common/index.ts +1 -2
  40. package/raystack/common/v1/service-CommonService_connectquery.ts +3 -14
  41. package/raystack/common/v1/service_pb.ts +57 -97
  42. package/raystack/compass/index.ts +1 -2
  43. package/raystack/compass/v1beta1/service-CompassService_connectquery.ts +44 -424
  44. package/raystack/compass/v1beta1/service_pb.ts +1448 -3319
  45. package/raystack/entropy/index.ts +2 -4
  46. package/raystack/entropy/v1beta1/module-ModuleService_connectquery.ts +7 -54
  47. package/raystack/entropy/v1beta1/module_pb.ts +156 -324
  48. package/raystack/entropy/v1beta1/resource-ResourceService_connectquery.ts +9 -74
  49. package/raystack/entropy/v1beta1/resource_pb.ts +330 -756
  50. package/raystack/frontier/index.ts +3 -5
  51. package/raystack/frontier/v1beta1/admin-AdminService_connectquery.ts +60 -514
  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 +1 -2
  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/index.ts +2 -2
  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 +1 -2
  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 +1 -2
  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 +1 -2
  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/google/api/field_behavior.ts +0 -95
  95. package/google/api/http.ts +0 -695
  96. package/google/api/httpbody.ts +0 -159
  97. package/google/protobuf/any.ts +0 -322
  98. package/google/protobuf/descriptor.ts +0 -3475
  99. package/google/protobuf/duration.ts +0 -231
  100. package/google/protobuf/struct.ts +0 -484
  101. package/google/protobuf/timestamp.ts +0 -290
  102. package/google/protobuf/wrappers.ts +0 -752
  103. package/protoc-gen-openapiv2/options/openapiv2.ts +0 -3110
  104. package/raystack/assets/v1beta1/bucket.ts +0 -362
  105. package/raystack/assets/v1beta1/dashboard.ts +0 -426
  106. package/raystack/assets/v1beta1/event.ts +0 -105
  107. package/raystack/assets/v1beta1/group.ts +0 -223
  108. package/raystack/assets/v1beta1/job.ts +0 -147
  109. package/raystack/assets/v1beta1/lineage.ts +0 -90
  110. package/raystack/assets/v1beta1/ownership.ts +0 -179
  111. package/raystack/assets/v1beta1/preview.ts +0 -87
  112. package/raystack/assets/v1beta1/properties.ts +0 -116
  113. package/raystack/assets/v1beta1/resource.ts +0 -149
  114. package/raystack/assets/v1beta1/schema.ts +0 -421
  115. package/raystack/assets/v1beta1/table.ts +0 -408
  116. package/raystack/assets/v1beta1/timestamp.ts +0 -158
  117. package/raystack/assets/v1beta1/topic.ts +0 -253
  118. package/raystack/assets/v1beta1/user.ts +0 -451
  119. package/raystack/assets/v1beta2/application.ts +0 -125
  120. package/raystack/assets/v1beta2/asset.ts +0 -269
  121. package/raystack/assets/v1beta2/bucket.ts +0 -341
  122. package/raystack/assets/v1beta2/common.ts +0 -392
  123. package/raystack/assets/v1beta2/dashboard.ts +0 -393
  124. package/raystack/assets/v1beta2/experiment.ts +0 -274
  125. package/raystack/assets/v1beta2/feature_table.ts +0 -387
  126. package/raystack/assets/v1beta2/group.ts +0 -178
  127. package/raystack/assets/v1beta2/job.ts +0 -99
  128. package/raystack/assets/v1beta2/metric.ts +0 -163
  129. package/raystack/assets/v1beta2/model.ts +0 -519
  130. package/raystack/assets/v1beta2/table.ts +0 -663
  131. package/raystack/assets/v1beta2/topic.ts +0 -275
  132. package/raystack/assets/v1beta2/user.ts +0 -433
  133. package/raystack/common/v1/service.client.ts +0 -37
  134. package/raystack/common/v1/service.ts +0 -245
  135. package/raystack/common/v1/service_connect.ts +0 -26
  136. package/raystack/compass/v1beta1/service.client.ts +0 -594
  137. package/raystack/compass/v1beta1/service.ts +0 -8169
  138. package/raystack/compass/v1beta1/service_connect.ts +0 -407
  139. package/raystack/entropy/v1beta1/module.client.ts +0 -89
  140. package/raystack/entropy/v1beta1/module.ts +0 -692
  141. package/raystack/entropy/v1beta1/module_connect.ts +0 -62
  142. package/raystack/entropy/v1beta1/resource.client.ts +0 -129
  143. package/raystack/entropy/v1beta1/resource.ts +0 -1817
  144. package/raystack/entropy/v1beta1/resource_connect.ts +0 -89
  145. package/raystack/frontier/v1beta1/admin.client.ts +0 -849
  146. package/raystack/frontier/v1beta1/admin.ts +0 -9007
  147. package/raystack/frontier/v1beta1/admin_connect.ts +0 -573
  148. package/raystack/frontier/v1beta1/frontier.client.ts +0 -2307
  149. package/raystack/frontier/v1beta1/frontier.ts +0 -23706
  150. package/raystack/frontier/v1beta1/frontier_connect.ts +0 -1574
  151. package/raystack/frontier/v1beta1/models.ts +0 -7433
  152. package/raystack/guardian/v1beta1/guardian.client.ts +0 -552
  153. package/raystack/guardian/v1beta1/guardian.ts +0 -9688
  154. package/raystack/guardian/v1beta1/guardian_connect.ts +0 -381
  155. package/raystack/optimus/core/v1beta1/backup.client.ts +0 -63
  156. package/raystack/optimus/core/v1beta1/backup.ts +0 -708
  157. package/raystack/optimus/core/v1beta1/backup_connect.ts +0 -44
  158. package/raystack/optimus/core/v1beta1/job_run.client.ts +0 -96
  159. package/raystack/optimus/core/v1beta1/job_run.ts +0 -1008
  160. package/raystack/optimus/core/v1beta1/job_run_connect.ts +0 -63
  161. package/raystack/optimus/core/v1beta1/job_spec.client.ts +0 -363
  162. package/raystack/optimus/core/v1beta1/job_spec.ts +0 -5134
  163. package/raystack/optimus/core/v1beta1/job_spec_connect.ts +0 -233
  164. package/raystack/optimus/core/v1beta1/namespace.client.ts +0 -75
  165. package/raystack/optimus/core/v1beta1/namespace.ts +0 -477
  166. package/raystack/optimus/core/v1beta1/namespace_connect.ts +0 -50
  167. package/raystack/optimus/core/v1beta1/project.client.ts +0 -75
  168. package/raystack/optimus/core/v1beta1/project.ts +0 -520
  169. package/raystack/optimus/core/v1beta1/project_connect.ts +0 -50
  170. package/raystack/optimus/core/v1beta1/replay.client.ts +0 -76
  171. package/raystack/optimus/core/v1beta1/replay.ts +0 -881
  172. package/raystack/optimus/core/v1beta1/replay_connect.ts +0 -53
  173. package/raystack/optimus/core/v1beta1/resource.client.ts +0 -148
  174. package/raystack/optimus/core/v1beta1/resource.ts +0 -1329
  175. package/raystack/optimus/core/v1beta1/resource_connect.ts +0 -96
  176. package/raystack/optimus/core/v1beta1/runtime.client.ts +0 -45
  177. package/raystack/optimus/core/v1beta1/runtime.ts +0 -131
  178. package/raystack/optimus/core/v1beta1/runtime_connect.ts +0 -30
  179. package/raystack/optimus/core/v1beta1/secret.client.ts +0 -92
  180. package/raystack/optimus/core/v1beta1/secret.ts +0 -619
  181. package/raystack/optimus/core/v1beta1/secret_connect.ts +0 -61
  182. package/raystack/optimus/core/v1beta1/status.ts +0 -113
  183. package/raystack/optimus/integration/v1beta1/event.ts +0 -531
  184. package/raystack/optimus/plugins/v1beta1/dependency_resolver.client.ts +0 -100
  185. package/raystack/optimus/plugins/v1beta1/dependency_resolver.ts +0 -950
  186. package/raystack/optimus/plugins/v1beta1/dependency_resolver_connect.ts +0 -65
  187. package/raystack/predator/v1beta1/metrics_log.ts +0 -457
  188. package/raystack/predator/v1beta1/result_log.ts +0 -390
  189. package/raystack/raccoon/v1beta1/raccoon.client.ts +0 -37
  190. package/raystack/raccoon/v1beta1/raccoon.ts +0 -442
  191. package/raystack/raccoon/v1beta1/raccoon_connect.ts +0 -26
  192. package/raystack/siren/v1beta1/siren.client.ts +0 -479
  193. package/raystack/siren/v1beta1/siren.ts +0 -6507
  194. package/raystack/siren/v1beta1/siren_connect.ts +0 -332
  195. package/raystack/stencil/v1beta1/stencil.client.ts +0 -232
  196. package/raystack/stencil/v1beta1/stencil.ts +0 -2716
  197. package/raystack/stencil/v1beta1/stencil_connect.ts +0 -161
  198. package/validate/validate.ts +0 -4130
@@ -1,23 +1,32 @@
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/bucket.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, protoInt64, Struct, Timestamp } from "@bufbuild/protobuf";
8
- import { Owner } from "./common_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_struct, file_google_protobuf_timestamp } from "@bufbuild/protobuf/wkt";
9
+ import type { Owner } from "./common_pb";
10
+ import { file_raystack_assets_v1beta2_common } from "./common_pb";
11
+ import type { JsonObject, Message } from "@bufbuild/protobuf";
12
+
13
+ /**
14
+ * Describes the file raystack/assets/v1beta2/bucket.proto.
15
+ */
16
+ export const file_raystack_assets_v1beta2_bucket: GenFile = /*@__PURE__*/
17
+ fileDesc("CiRyYXlzdGFjay9hc3NldHMvdjFiZXRhMi9idWNrZXQucHJvdG8SF3JheXN0YWNrLmFzc2V0cy52MWJldGEyIoICCgZCdWNrZXQSEwoLZGVzY3JpcHRpb24YASABKAkSEAoIbG9jYXRpb24YAiABKAkSFAoMc3RvcmFnZV90eXBlGAMgASgJEiwKBWJsb2JzGAQgAygLMh0ucmF5c3RhY2suYXNzZXRzLnYxYmV0YTIuQmxvYhIrCgphdHRyaWJ1dGVzGAogASgLMhcuZ29vZ2xlLnByb3RvYnVmLlN0cnVjdBIvCgtjcmVhdGVfdGltZRhlIAEoCzIaLmdvb2dsZS5wcm90b2J1Zi5UaW1lc3RhbXASLwoLdXBkYXRlX3RpbWUYZiABKAsyGi5nb29nbGUucHJvdG9idWYuVGltZXN0YW1wIuMCCgRCbG9iEgsKA3VybhgBIAEoCRIMCgRuYW1lGAIgASgJEg4KBnNvdXJjZRgDIAEoCRIMCgRzaXplGAQgASgDEi8KC2RlbGV0ZV90aW1lGAUgASgLMhouZ29vZ2xlLnByb3RvYnVmLlRpbWVzdGFtcBIvCgtleHBpcmVfdGltZRgGIAEoCzIaLmdvb2dsZS5wcm90b2J1Zi5UaW1lc3RhbXASKwoKYXR0cmlidXRlcxgHIAEoCzIXLmdvb2dsZS5wcm90b2J1Zi5TdHJ1Y3QSMQoJb3duZXJzaGlwGB8gAygLMh4ucmF5c3RhY2suYXNzZXRzLnYxYmV0YTIuT3duZXISLwoLY3JlYXRlX3RpbWUYZSABKAsyGi5nb29nbGUucHJvdG9idWYuVGltZXN0YW1wEi8KC3VwZGF0ZV90aW1lGGYgASgLMhouZ29vZ2xlLnByb3RvYnVmLlRpbWVzdGFtcEJaChJpby5yYXlzdGFjay5hc3NldHNCC0J1Y2tldFByb3RvWjdnaXRodWIuY29tL3JheXN0YWNrL3Byb3Rvbi9hc3NldHMvdjFiZXRhMjthc3NldHN2MWJldGEyYgZwcm90bzM", [file_google_protobuf_struct, file_google_protobuf_timestamp, file_raystack_assets_v1beta2_common]);
9
18
 
10
19
  /**
11
20
  * @generated from message raystack.assets.v1beta2.Bucket
12
21
  */
13
- export class Bucket extends Message<Bucket> {
22
+ export type Bucket = Message<"raystack.assets.v1beta2.Bucket"> & {
14
23
  /**
15
24
  * The description of the bucket.
16
25
  * Example: `This bucket was created by the product team.`
17
26
  *
18
27
  * @generated from field: string description = 1;
19
28
  */
20
- description = "";
29
+ description: string;
21
30
 
22
31
  /**
23
32
  * The location of the bucket. Can differ based on cloud storage used. (e.g. GCS, S3, etc)
@@ -25,7 +34,7 @@ export class Bucket extends Message<Bucket> {
25
34
  *
26
35
  * @generated from field: string location = 2;
27
36
  */
28
- location = "";
37
+ location: string;
29
38
 
30
39
  /**
31
40
  * The type of the storage. Can differ based on cloud storage used. (e.g. GCS, S3, etc)
@@ -33,21 +42,21 @@ export class Bucket extends Message<Bucket> {
33
42
  *
34
43
  * @generated from field: string storage_type = 3;
35
44
  */
36
- storageType = "";
45
+ storageType: string;
37
46
 
38
47
  /**
39
48
  * List of blobs in the bucket.
40
49
  *
41
50
  * @generated from field: repeated raystack.assets.v1beta2.Blob blobs = 4;
42
51
  */
43
- blobs: Blob[] = [];
52
+ blobs: Blob[];
44
53
 
45
54
  /**
46
55
  * List of attributes the model has.
47
56
  *
48
57
  * @generated from field: google.protobuf.Struct attributes = 10;
49
58
  */
50
- attributes?: Struct;
59
+ attributes?: JsonObject;
51
60
 
52
61
  /**
53
62
  * The timestamp of the bucket's creation.
@@ -62,52 +71,26 @@ export class Bucket extends Message<Bucket> {
62
71
  * @generated from field: google.protobuf.Timestamp update_time = 102;
63
72
  */
64
73
  updateTime?: Timestamp;
74
+ };
65
75
 
66
- constructor(data?: PartialMessage<Bucket>) {
67
- super();
68
- proto3.util.initPartial(data, this);
69
- }
70
-
71
- static readonly runtime: typeof proto3 = proto3;
72
- static readonly typeName = "raystack.assets.v1beta2.Bucket";
73
- static readonly fields: FieldList = proto3.util.newFieldList(() => [
74
- { no: 1, name: "description", kind: "scalar", T: 9 /* ScalarType.STRING */ },
75
- { no: 2, name: "location", kind: "scalar", T: 9 /* ScalarType.STRING */ },
76
- { no: 3, name: "storage_type", kind: "scalar", T: 9 /* ScalarType.STRING */ },
77
- { no: 4, name: "blobs", kind: "message", T: Blob, repeated: true },
78
- { no: 10, name: "attributes", kind: "message", T: Struct },
79
- { no: 101, name: "create_time", kind: "message", T: Timestamp },
80
- { no: 102, name: "update_time", kind: "message", T: Timestamp },
81
- ]);
82
-
83
- static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): Bucket {
84
- return new Bucket().fromBinary(bytes, options);
85
- }
86
-
87
- static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): Bucket {
88
- return new Bucket().fromJson(jsonValue, options);
89
- }
90
-
91
- static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): Bucket {
92
- return new Bucket().fromJsonString(jsonString, options);
93
- }
94
-
95
- static equals(a: Bucket | PlainMessage<Bucket> | undefined, b: Bucket | PlainMessage<Bucket> | undefined): boolean {
96
- return proto3.util.equals(Bucket, a, b);
97
- }
98
- }
76
+ /**
77
+ * Describes the message raystack.assets.v1beta2.Bucket.
78
+ * Use `create(BucketSchema)` to create a new message.
79
+ */
80
+ export const BucketSchema: GenMessage<Bucket> = /*@__PURE__*/
81
+ messageDesc(file_raystack_assets_v1beta2_bucket, 0);
99
82
 
100
83
  /**
101
84
  * @generated from message raystack.assets.v1beta2.Blob
102
85
  */
103
- export class Blob extends Message<Blob> {
86
+ export type Blob = Message<"raystack.assets.v1beta2.Blob"> & {
104
87
  /**
105
88
  * The URN of the blob.
106
89
  * Example: `location/bucket-name/file-name`.
107
90
  *
108
91
  * @generated from field: string urn = 1;
109
92
  */
110
- urn = "";
93
+ urn: string;
111
94
 
112
95
  /**
113
96
  * The name of the blob.
@@ -115,7 +98,7 @@ export class Blob extends Message<Blob> {
115
98
  *
116
99
  * @generated from field: string name = 2;
117
100
  */
118
- name = "";
101
+ name: string;
119
102
 
120
103
  /**
121
104
  * The source of the blob.
@@ -123,7 +106,7 @@ export class Blob extends Message<Blob> {
123
106
  *
124
107
  * @generated from field: string source = 3;
125
108
  */
126
- source = "";
109
+ source: string;
127
110
 
128
111
  /**
129
112
  * The length of the object content.
@@ -131,7 +114,7 @@ export class Blob extends Message<Blob> {
131
114
  *
132
115
  * @generated from field: int64 size = 4;
133
116
  */
134
- size = protoInt64.zero;
117
+ size: bigint;
135
118
 
136
119
  /**
137
120
  * Delete time of the blob object.
@@ -152,7 +135,7 @@ export class Blob extends Message<Blob> {
152
135
  *
153
136
  * @generated from field: google.protobuf.Struct attributes = 7;
154
137
  */
155
- attributes?: Struct;
138
+ attributes?: JsonObject;
156
139
 
157
140
  /**
158
141
  * The ownership of the blob.
@@ -160,7 +143,7 @@ export class Blob extends Message<Blob> {
160
143
  *
161
144
  * @generated from field: repeated raystack.assets.v1beta2.Owner ownership = 31;
162
145
  */
163
- ownership: Owner[] = [];
146
+ ownership: Owner[];
164
147
 
165
148
  /**
166
149
  * The timestamp of the blob's creation.
@@ -175,41 +158,12 @@ export class Blob extends Message<Blob> {
175
158
  * @generated from field: google.protobuf.Timestamp update_time = 102;
176
159
  */
177
160
  updateTime?: Timestamp;
161
+ };
178
162
 
179
- constructor(data?: PartialMessage<Blob>) {
180
- super();
181
- proto3.util.initPartial(data, this);
182
- }
183
-
184
- static readonly runtime: typeof proto3 = proto3;
185
- static readonly typeName = "raystack.assets.v1beta2.Blob";
186
- static readonly fields: FieldList = proto3.util.newFieldList(() => [
187
- { no: 1, name: "urn", kind: "scalar", T: 9 /* ScalarType.STRING */ },
188
- { no: 2, name: "name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
189
- { no: 3, name: "source", kind: "scalar", T: 9 /* ScalarType.STRING */ },
190
- { no: 4, name: "size", kind: "scalar", T: 3 /* ScalarType.INT64 */ },
191
- { no: 5, name: "delete_time", kind: "message", T: Timestamp },
192
- { no: 6, name: "expire_time", kind: "message", T: Timestamp },
193
- { no: 7, name: "attributes", kind: "message", T: Struct },
194
- { no: 31, name: "ownership", kind: "message", T: Owner, repeated: true },
195
- { no: 101, name: "create_time", kind: "message", T: Timestamp },
196
- { no: 102, name: "update_time", kind: "message", T: Timestamp },
197
- ]);
198
-
199
- static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): Blob {
200
- return new Blob().fromBinary(bytes, options);
201
- }
202
-
203
- static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): Blob {
204
- return new Blob().fromJson(jsonValue, options);
205
- }
206
-
207
- static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): Blob {
208
- return new Blob().fromJsonString(jsonString, options);
209
- }
210
-
211
- static equals(a: Blob | PlainMessage<Blob> | undefined, b: Blob | PlainMessage<Blob> | undefined): boolean {
212
- return proto3.util.equals(Blob, a, b);
213
- }
214
- }
163
+ /**
164
+ * Describes the message raystack.assets.v1beta2.Blob.
165
+ * Use `create(BlobSchema)` to create a new message.
166
+ */
167
+ export const BlobSchema: GenMessage<Blob> = /*@__PURE__*/
168
+ messageDesc(file_raystack_assets_v1beta2_bucket, 1);
215
169
 
@@ -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/common.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, 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/assets/v1beta2/common.proto.
13
+ */
14
+ export const file_raystack_assets_v1beta2_common: GenFile = /*@__PURE__*/
15
+ fileDesc("CiRyYXlzdGFjay9hc3NldHMvdjFiZXRhMi9jb21tb24ucHJvdG8SF3JheXN0YWNrLmFzc2V0cy52MWJldGEyIlsKBUV2ZW50Ei0KCXRpbWVzdGFtcBgBIAEoCzIaLmdvb2dsZS5wcm90b2J1Zi5UaW1lc3RhbXASDgoGYWN0aW9uGAIgASgJEhMKC2Rlc2NyaXB0aW9uGAMgASgJIncKB0xpbmVhZ2USNAoJdXBzdHJlYW1zGAEgAygLMiEucmF5c3RhY2suYXNzZXRzLnYxYmV0YTIuUmVzb3VyY2USNgoLZG93bnN0cmVhbXMYAiADKAsyIS5yYXlzdGFjay5hc3NldHMudjFiZXRhMi5SZXNvdXJjZSJECghSZXNvdXJjZRILCgN1cm4YASABKAkSDAoEbmFtZRgCIAEoCRIPCgdzZXJ2aWNlGAMgASgJEgwKBHR5cGUYBCABKAkiPwoFT3duZXISCwoDdXJuGAEgASgJEgwKBG5hbWUYAiABKAkSDAoEcm9sZRgDIAEoCRINCgVlbWFpbBgEIAEoCUJaChJpby5yYXlzdGFjay5hc3NldHNCC0NvbW1vblByb3RvWjdnaXRodWIuY29tL3JheXN0YWNrL3Byb3Rvbi9hc3NldHMvdjFiZXRhMjthc3NldHN2MWJldGEyYgZwcm90bzM", [file_google_protobuf_timestamp]);
8
16
 
9
17
  /**
10
18
  * Event represents an event in the system.
@@ -13,7 +21,7 @@ import { Message, proto3, Timestamp } from "@bufbuild/protobuf";
13
21
  *
14
22
  * @generated from message raystack.assets.v1beta2.Event
15
23
  */
16
- export class Event extends Message<Event> {
24
+ export type Event = Message<"raystack.assets.v1beta2.Event"> & {
17
25
  /**
18
26
  * The timestamp of the event.
19
27
  * Example: `2018-01-01T00:00:00Z`.
@@ -28,7 +36,7 @@ export class Event extends Message<Event> {
28
36
  *
29
37
  * @generated from field: string action = 2;
30
38
  */
31
- action = "";
39
+ action: string;
32
40
 
33
41
  /**
34
42
  * The description of the event.
@@ -36,37 +44,15 @@ export class Event extends Message<Event> {
36
44
  *
37
45
  * @generated from field: string description = 3;
38
46
  */
39
- description = "";
40
-
41
- constructor(data?: PartialMessage<Event>) {
42
- super();
43
- proto3.util.initPartial(data, this);
44
- }
45
-
46
- static readonly runtime: typeof proto3 = proto3;
47
- static readonly typeName = "raystack.assets.v1beta2.Event";
48
- static readonly fields: FieldList = proto3.util.newFieldList(() => [
49
- { no: 1, name: "timestamp", kind: "message", T: Timestamp },
50
- { no: 2, name: "action", kind: "scalar", T: 9 /* ScalarType.STRING */ },
51
- { no: 3, name: "description", kind: "scalar", T: 9 /* ScalarType.STRING */ },
52
- ]);
53
-
54
- static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): Event {
55
- return new Event().fromBinary(bytes, options);
56
- }
57
-
58
- static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): Event {
59
- return new Event().fromJson(jsonValue, options);
60
- }
61
-
62
- static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): Event {
63
- return new Event().fromJsonString(jsonString, options);
64
- }
47
+ description: string;
48
+ };
65
49
 
66
- static equals(a: Event | PlainMessage<Event> | undefined, b: Event | PlainMessage<Event> | undefined): boolean {
67
- return proto3.util.equals(Event, a, b);
68
- }
69
- }
50
+ /**
51
+ * Describes the message raystack.assets.v1beta2.Event.
52
+ * Use `create(EventSchema)` to create a new message.
53
+ */
54
+ export const EventSchema: GenMessage<Event> = /*@__PURE__*/
55
+ messageDesc(file_raystack_assets_v1beta2_common, 0);
70
56
 
71
57
  /**
72
58
  * Linage represents the relationship of resource to other resources.
@@ -74,14 +60,14 @@ export class Event extends Message<Event> {
74
60
  *
75
61
  * @generated from message raystack.assets.v1beta2.Lineage
76
62
  */
77
- export class Lineage extends Message<Lineage> {
63
+ export type Lineage = Message<"raystack.assets.v1beta2.Lineage"> & {
78
64
  /**
79
65
  * The resource that is the source of the relationship.
80
66
  * Example: a resource that is the parent of another resource.
81
67
  *
82
68
  * @generated from field: repeated raystack.assets.v1beta2.Resource upstreams = 1;
83
69
  */
84
- upstreams: Resource[] = [];
70
+ upstreams: Resource[];
85
71
 
86
72
  /**
87
73
  * The resource that is the destination of the relationship.
@@ -89,48 +75,27 @@ export class Lineage extends Message<Lineage> {
89
75
  *
90
76
  * @generated from field: repeated raystack.assets.v1beta2.Resource downstreams = 2;
91
77
  */
92
- downstreams: Resource[] = [];
93
-
94
- constructor(data?: PartialMessage<Lineage>) {
95
- super();
96
- proto3.util.initPartial(data, this);
97
- }
98
-
99
- static readonly runtime: typeof proto3 = proto3;
100
- static readonly typeName = "raystack.assets.v1beta2.Lineage";
101
- static readonly fields: FieldList = proto3.util.newFieldList(() => [
102
- { no: 1, name: "upstreams", kind: "message", T: Resource, repeated: true },
103
- { no: 2, name: "downstreams", kind: "message", T: Resource, repeated: true },
104
- ]);
78
+ downstreams: Resource[];
79
+ };
105
80
 
106
- static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): Lineage {
107
- return new Lineage().fromBinary(bytes, options);
108
- }
109
-
110
- static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): Lineage {
111
- return new Lineage().fromJson(jsonValue, options);
112
- }
113
-
114
- static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): Lineage {
115
- return new Lineage().fromJsonString(jsonString, options);
116
- }
117
-
118
- static equals(a: Lineage | PlainMessage<Lineage> | undefined, b: Lineage | PlainMessage<Lineage> | undefined): boolean {
119
- return proto3.util.equals(Lineage, a, b);
120
- }
121
- }
81
+ /**
82
+ * Describes the message raystack.assets.v1beta2.Lineage.
83
+ * Use `create(LineageSchema)` to create a new message.
84
+ */
85
+ export const LineageSchema: GenMessage<Lineage> = /*@__PURE__*/
86
+ messageDesc(file_raystack_assets_v1beta2_common, 1);
122
87
 
123
88
  /**
124
89
  * @generated from message raystack.assets.v1beta2.Resource
125
90
  */
126
- export class Resource extends Message<Resource> {
91
+ export type Resource = Message<"raystack.assets.v1beta2.Resource"> & {
127
92
  /**
128
93
  * The unique identifier of the resource.
129
94
  * Example: `user:jdoe` or `group:accounting`.
130
95
  *
131
96
  * @generated from field: string urn = 1;
132
97
  */
133
- urn = "";
98
+ urn: string;
134
99
 
135
100
  /**
136
101
  * The name of the resource.
@@ -138,7 +103,7 @@ export class Resource extends Message<Resource> {
138
103
  *
139
104
  * @generated from field: string name = 2;
140
105
  */
141
- name = "";
106
+ name: string;
142
107
 
143
108
  /**
144
109
  * The source of the resource.
@@ -146,7 +111,7 @@ export class Resource extends Message<Resource> {
146
111
  *
147
112
  * @generated from field: string service = 3;
148
113
  */
149
- service = "";
114
+ service: string;
150
115
 
151
116
  /**
152
117
  * The type of the asset.
@@ -154,38 +119,15 @@ export class Resource extends Message<Resource> {
154
119
  *
155
120
  * @generated from field: string type = 4;
156
121
  */
157
- type = "";
158
-
159
- constructor(data?: PartialMessage<Resource>) {
160
- super();
161
- proto3.util.initPartial(data, this);
162
- }
163
-
164
- static readonly runtime: typeof proto3 = proto3;
165
- static readonly typeName = "raystack.assets.v1beta2.Resource";
166
- static readonly fields: FieldList = proto3.util.newFieldList(() => [
167
- { no: 1, name: "urn", kind: "scalar", T: 9 /* ScalarType.STRING */ },
168
- { no: 2, name: "name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
169
- { no: 3, name: "service", kind: "scalar", T: 9 /* ScalarType.STRING */ },
170
- { no: 4, name: "type", kind: "scalar", T: 9 /* ScalarType.STRING */ },
171
- ]);
172
-
173
- static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): Resource {
174
- return new Resource().fromBinary(bytes, options);
175
- }
122
+ type: string;
123
+ };
176
124
 
177
- static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): Resource {
178
- return new Resource().fromJson(jsonValue, options);
179
- }
180
-
181
- static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): Resource {
182
- return new Resource().fromJsonString(jsonString, options);
183
- }
184
-
185
- static equals(a: Resource | PlainMessage<Resource> | undefined, b: Resource | PlainMessage<Resource> | undefined): boolean {
186
- return proto3.util.equals(Resource, a, b);
187
- }
188
- }
125
+ /**
126
+ * Describes the message raystack.assets.v1beta2.Resource.
127
+ * Use `create(ResourceSchema)` to create a new message.
128
+ */
129
+ export const ResourceSchema: GenMessage<Resource> = /*@__PURE__*/
130
+ messageDesc(file_raystack_assets_v1beta2_common, 2);
189
131
 
190
132
  /**
191
133
  * Owner is a facet that describes the owner of a resource.
@@ -195,11 +137,11 @@ export class Resource extends Message<Resource> {
195
137
  *
196
138
  * @generated from message raystack.assets.v1beta2.Owner
197
139
  */
198
- export class Owner extends Message<Owner> {
140
+ export type Owner = Message<"raystack.assets.v1beta2.Owner"> & {
199
141
  /**
200
142
  * @generated from field: string urn = 1;
201
143
  */
202
- urn = "";
144
+ urn: string;
203
145
 
204
146
  /**
205
147
  * The name of the owner.
@@ -207,7 +149,7 @@ export class Owner extends Message<Owner> {
207
149
  *
208
150
  * @generated from field: string name = 2;
209
151
  */
210
- name = "";
152
+ name: string;
211
153
 
212
154
  /**
213
155
  * The role of the owner.
@@ -215,7 +157,7 @@ export class Owner extends Message<Owner> {
215
157
  *
216
158
  * @generated from field: string role = 3;
217
159
  */
218
- role = "";
160
+ role: string;
219
161
 
220
162
  /**
221
163
  * The email of the owner.
@@ -223,36 +165,13 @@ export class Owner extends Message<Owner> {
223
165
  *
224
166
  * @generated from field: string email = 4;
225
167
  */
226
- email = "";
168
+ email: string;
169
+ };
227
170
 
228
- constructor(data?: PartialMessage<Owner>) {
229
- super();
230
- proto3.util.initPartial(data, this);
231
- }
232
-
233
- static readonly runtime: typeof proto3 = proto3;
234
- static readonly typeName = "raystack.assets.v1beta2.Owner";
235
- static readonly fields: FieldList = proto3.util.newFieldList(() => [
236
- { no: 1, name: "urn", kind: "scalar", T: 9 /* ScalarType.STRING */ },
237
- { no: 2, name: "name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
238
- { no: 3, name: "role", kind: "scalar", T: 9 /* ScalarType.STRING */ },
239
- { no: 4, name: "email", kind: "scalar", T: 9 /* ScalarType.STRING */ },
240
- ]);
241
-
242
- static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): Owner {
243
- return new Owner().fromBinary(bytes, options);
244
- }
245
-
246
- static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): Owner {
247
- return new Owner().fromJson(jsonValue, options);
248
- }
249
-
250
- static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): Owner {
251
- return new Owner().fromJsonString(jsonString, options);
252
- }
253
-
254
- static equals(a: Owner | PlainMessage<Owner> | undefined, b: Owner | PlainMessage<Owner> | undefined): boolean {
255
- return proto3.util.equals(Owner, a, b);
256
- }
257
- }
171
+ /**
172
+ * Describes the message raystack.assets.v1beta2.Owner.
173
+ * Use `create(OwnerSchema)` to create a new message.
174
+ */
175
+ export const OwnerSchema: GenMessage<Owner> = /*@__PURE__*/
176
+ messageDesc(file_raystack_assets_v1beta2_common, 3);
258
177