@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,55 +1,26 @@
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/optimus/core/v1beta1/namespace.proto (package raystack.optimus.core.v1beta1, syntax proto3)
3
3
  /* eslint-disable */
4
- // @ts-nocheck
5
4
 
6
- import { MethodKind } from "@bufbuild/protobuf";
7
- import { GetNamespaceRequest, GetNamespaceResponse, ListProjectNamespacesRequest, ListProjectNamespacesResponse, RegisterProjectNamespaceRequest, RegisterProjectNamespaceResponse } from "./namespace_pb.js";
5
+ import { NamespaceService } from "./namespace_pb";
8
6
 
9
7
  /**
10
8
  * RegisterProjectNamespace creates a new namespace for a project
11
9
  *
12
10
  * @generated from rpc raystack.optimus.core.v1beta1.NamespaceService.RegisterProjectNamespace
13
11
  */
14
- export const registerProjectNamespace = {
15
- localName: "registerProjectNamespace",
16
- name: "RegisterProjectNamespace",
17
- kind: MethodKind.Unary,
18
- I: RegisterProjectNamespaceRequest,
19
- O: RegisterProjectNamespaceResponse,
20
- service: {
21
- typeName: "raystack.optimus.core.v1beta1.NamespaceService"
22
- }
23
- } as const;
12
+ export const registerProjectNamespace = NamespaceService.method.registerProjectNamespace;
24
13
 
25
14
  /**
26
15
  * ListProjectNamespaces returns list of namespaces of a project
27
16
  *
28
17
  * @generated from rpc raystack.optimus.core.v1beta1.NamespaceService.ListProjectNamespaces
29
18
  */
30
- export const listProjectNamespaces = {
31
- localName: "listProjectNamespaces",
32
- name: "ListProjectNamespaces",
33
- kind: MethodKind.Unary,
34
- I: ListProjectNamespacesRequest,
35
- O: ListProjectNamespacesResponse,
36
- service: {
37
- typeName: "raystack.optimus.core.v1beta1.NamespaceService"
38
- }
39
- } as const;
19
+ export const listProjectNamespaces = NamespaceService.method.listProjectNamespaces;
40
20
 
41
21
  /**
42
22
  * GetNamespace returns namespace details based on project_name and namespace_name
43
23
  *
44
24
  * @generated from rpc raystack.optimus.core.v1beta1.NamespaceService.GetNamespace
45
25
  */
46
- export const getNamespace = {
47
- localName: "getNamespace",
48
- name: "GetNamespace",
49
- kind: MethodKind.Unary,
50
- I: GetNamespaceRequest,
51
- O: GetNamespaceResponse,
52
- service: {
53
- typeName: "raystack.optimus.core.v1beta1.NamespaceService"
54
- }
55
- } as const;
26
+ export const getNamespace = NamespaceService.method.getNamespace;
@@ -1,291 +1,192 @@
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/optimus/core/v1beta1/namespace.proto (package raystack.optimus.core.v1beta1, syntax proto3)
3
3
  /* eslint-disable */
4
- // @ts-nocheck
5
4
 
6
- import type { BinaryReadOptions, FieldList, JsonReadOptions, JsonValue, PartialMessage, PlainMessage } from "@bufbuild/protobuf";
7
- import { Message, proto3 } 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 { file_protoc_gen_openapiv2_options_annotations } from "../../../../protoc-gen-openapiv2/options/annotations_pb";
9
+ import type { Message } from "@bufbuild/protobuf";
10
+
11
+ /**
12
+ * Describes the file raystack/optimus/core/v1beta1/namespace.proto.
13
+ */
14
+ export const file_raystack_optimus_core_v1beta1_namespace: GenFile = /*@__PURE__*/
15
+ fileDesc("Ci1yYXlzdGFjay9vcHRpbXVzL2NvcmUvdjFiZXRhMS9uYW1lc3BhY2UucHJvdG8SHXJheXN0YWNrLm9wdGltdXMuY29yZS52MWJldGExIoEBCh9SZWdpc3RlclByb2plY3ROYW1lc3BhY2VSZXF1ZXN0EhQKDHByb2plY3RfbmFtZRgBIAEoCRJICgluYW1lc3BhY2UYAiABKAsyNS5yYXlzdGFjay5vcHRpbXVzLmNvcmUudjFiZXRhMS5OYW1lc3BhY2VTcGVjaWZpY2F0aW9uIkQKIFJlZ2lzdGVyUHJvamVjdE5hbWVzcGFjZVJlc3BvbnNlEg8KB3N1Y2Nlc3MYASABKAgSDwoHbWVzc2FnZRgCIAEoCSI0ChxMaXN0UHJvamVjdE5hbWVzcGFjZXNSZXF1ZXN0EhQKDHByb2plY3RfbmFtZRgBIAEoCSJqCh1MaXN0UHJvamVjdE5hbWVzcGFjZXNSZXNwb25zZRJJCgpuYW1lc3BhY2VzGAEgAygLMjUucmF5c3RhY2sub3B0aW11cy5jb3JlLnYxYmV0YTEuTmFtZXNwYWNlU3BlY2lmaWNhdGlvbiJDChNHZXROYW1lc3BhY2VSZXF1ZXN0EhQKDHByb2plY3RfbmFtZRgBIAEoCRIWCg5uYW1lc3BhY2VfbmFtZRgCIAEoCSJgChRHZXROYW1lc3BhY2VSZXNwb25zZRJICgluYW1lc3BhY2UYASABKAsyNS5yYXlzdGFjay5vcHRpbXVzLmNvcmUudjFiZXRhMS5OYW1lc3BhY2VTcGVjaWZpY2F0aW9uIqgBChZOYW1lc3BhY2VTcGVjaWZpY2F0aW9uEgwKBG5hbWUYASABKAkSUQoGY29uZmlnGAIgAygLMkEucmF5c3RhY2sub3B0aW11cy5jb3JlLnYxYmV0YTEuTmFtZXNwYWNlU3BlY2lmaWNhdGlvbi5Db25maWdFbnRyeRotCgtDb25maWdFbnRyeRILCgNrZXkYASABKAkSDQoFdmFsdWUYAiABKAk6AjgBMuwEChBOYW1lc3BhY2VTZXJ2aWNlEtEBChhSZWdpc3RlclByb2plY3ROYW1lc3BhY2USPi5yYXlzdGFjay5vcHRpbXVzLmNvcmUudjFiZXRhMS5SZWdpc3RlclByb2plY3ROYW1lc3BhY2VSZXF1ZXN0Gj8ucmF5c3RhY2sub3B0aW11cy5jb3JlLnYxYmV0YTEuUmVnaXN0ZXJQcm9qZWN0TmFtZXNwYWNlUmVzcG9uc2UiNILT5JMCLiIpL3YxYmV0YTEvcHJvamVjdC97cHJvamVjdF9uYW1lfS9uYW1lc3BhY2U6ASoSxQEKFUxpc3RQcm9qZWN0TmFtZXNwYWNlcxI7LnJheXN0YWNrLm9wdGltdXMuY29yZS52MWJldGExLkxpc3RQcm9qZWN0TmFtZXNwYWNlc1JlcXVlc3QaPC5yYXlzdGFjay5vcHRpbXVzLmNvcmUudjFiZXRhMS5MaXN0UHJvamVjdE5hbWVzcGFjZXNSZXNwb25zZSIxgtPkkwIrEikvdjFiZXRhMS9wcm9qZWN0L3twcm9qZWN0X25hbWV9L25hbWVzcGFjZRK7AQoMR2V0TmFtZXNwYWNlEjIucmF5c3RhY2sub3B0aW11cy5jb3JlLnYxYmV0YTEuR2V0TmFtZXNwYWNlUmVxdWVzdBozLnJheXN0YWNrLm9wdGltdXMuY29yZS52MWJldGExLkdldE5hbWVzcGFjZVJlc3BvbnNlIkKC0+STAjwSOi92MWJldGExL3Byb2plY3Qve3Byb2plY3RfbmFtZX0vbmFtZXNwYWNlL3tuYW1lc3BhY2VfbmFtZX1CnAEKG29yZy5yYXlzdGFjay5wcm90b24ub3B0aW11c0IXTmFtZXNwYWNlU2VydmljZU1hbmFnZXJQAVoiZ2l0aHViLmNvbS9yYXlzdGFjay9wcm90b24vb3B0aW11c5JBPRIFMgMwLjEaDjEyNy4wLjAuMTo5MTAwIgQvYXBpKgEBchsKGU9wdGltdXMgTmFtZXNwYWNlIFNlcnZpY2ViBnByb3RvMw", [file_google_api_annotations, file_protoc_gen_openapiv2_options_annotations]);
8
16
 
9
17
  /**
10
18
  * @generated from message raystack.optimus.core.v1beta1.RegisterProjectNamespaceRequest
11
19
  */
12
- export class RegisterProjectNamespaceRequest extends Message<RegisterProjectNamespaceRequest> {
20
+ export type RegisterProjectNamespaceRequest = Message<"raystack.optimus.core.v1beta1.RegisterProjectNamespaceRequest"> & {
13
21
  /**
14
22
  * @generated from field: string project_name = 1;
15
23
  */
16
- projectName = "";
24
+ projectName: string;
17
25
 
18
26
  /**
19
27
  * @generated from field: raystack.optimus.core.v1beta1.NamespaceSpecification namespace = 2;
20
28
  */
21
29
  namespace?: NamespaceSpecification;
30
+ };
22
31
 
23
- constructor(data?: PartialMessage<RegisterProjectNamespaceRequest>) {
24
- super();
25
- proto3.util.initPartial(data, this);
26
- }
27
-
28
- static readonly runtime: typeof proto3 = proto3;
29
- static readonly typeName = "raystack.optimus.core.v1beta1.RegisterProjectNamespaceRequest";
30
- static readonly fields: FieldList = proto3.util.newFieldList(() => [
31
- { no: 1, name: "project_name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
32
- { no: 2, name: "namespace", kind: "message", T: NamespaceSpecification },
33
- ]);
34
-
35
- static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): RegisterProjectNamespaceRequest {
36
- return new RegisterProjectNamespaceRequest().fromBinary(bytes, options);
37
- }
38
-
39
- static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): RegisterProjectNamespaceRequest {
40
- return new RegisterProjectNamespaceRequest().fromJson(jsonValue, options);
41
- }
42
-
43
- static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): RegisterProjectNamespaceRequest {
44
- return new RegisterProjectNamespaceRequest().fromJsonString(jsonString, options);
45
- }
46
-
47
- static equals(a: RegisterProjectNamespaceRequest | PlainMessage<RegisterProjectNamespaceRequest> | undefined, b: RegisterProjectNamespaceRequest | PlainMessage<RegisterProjectNamespaceRequest> | undefined): boolean {
48
- return proto3.util.equals(RegisterProjectNamespaceRequest, a, b);
49
- }
50
- }
32
+ /**
33
+ * Describes the message raystack.optimus.core.v1beta1.RegisterProjectNamespaceRequest.
34
+ * Use `create(RegisterProjectNamespaceRequestSchema)` to create a new message.
35
+ */
36
+ export const RegisterProjectNamespaceRequestSchema: GenMessage<RegisterProjectNamespaceRequest> = /*@__PURE__*/
37
+ messageDesc(file_raystack_optimus_core_v1beta1_namespace, 0);
51
38
 
52
39
  /**
53
40
  * @generated from message raystack.optimus.core.v1beta1.RegisterProjectNamespaceResponse
54
41
  */
55
- export class RegisterProjectNamespaceResponse extends Message<RegisterProjectNamespaceResponse> {
42
+ export type RegisterProjectNamespaceResponse = Message<"raystack.optimus.core.v1beta1.RegisterProjectNamespaceResponse"> & {
56
43
  /**
57
44
  * @generated from field: bool success = 1;
58
45
  */
59
- success = false;
46
+ success: boolean;
60
47
 
61
48
  /**
62
49
  * @generated from field: string message = 2;
63
50
  */
64
- message = "";
65
-
66
- constructor(data?: PartialMessage<RegisterProjectNamespaceResponse>) {
67
- super();
68
- proto3.util.initPartial(data, this);
69
- }
70
-
71
- static readonly runtime: typeof proto3 = proto3;
72
- static readonly typeName = "raystack.optimus.core.v1beta1.RegisterProjectNamespaceResponse";
73
- static readonly fields: FieldList = proto3.util.newFieldList(() => [
74
- { no: 1, name: "success", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
75
- { no: 2, name: "message", kind: "scalar", T: 9 /* ScalarType.STRING */ },
76
- ]);
77
-
78
- static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): RegisterProjectNamespaceResponse {
79
- return new RegisterProjectNamespaceResponse().fromBinary(bytes, options);
80
- }
81
-
82
- static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): RegisterProjectNamespaceResponse {
83
- return new RegisterProjectNamespaceResponse().fromJson(jsonValue, options);
84
- }
85
-
86
- static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): RegisterProjectNamespaceResponse {
87
- return new RegisterProjectNamespaceResponse().fromJsonString(jsonString, options);
88
- }
51
+ message: string;
52
+ };
89
53
 
90
- static equals(a: RegisterProjectNamespaceResponse | PlainMessage<RegisterProjectNamespaceResponse> | undefined, b: RegisterProjectNamespaceResponse | PlainMessage<RegisterProjectNamespaceResponse> | undefined): boolean {
91
- return proto3.util.equals(RegisterProjectNamespaceResponse, a, b);
92
- }
93
- }
54
+ /**
55
+ * Describes the message raystack.optimus.core.v1beta1.RegisterProjectNamespaceResponse.
56
+ * Use `create(RegisterProjectNamespaceResponseSchema)` to create a new message.
57
+ */
58
+ export const RegisterProjectNamespaceResponseSchema: GenMessage<RegisterProjectNamespaceResponse> = /*@__PURE__*/
59
+ messageDesc(file_raystack_optimus_core_v1beta1_namespace, 1);
94
60
 
95
61
  /**
96
62
  * @generated from message raystack.optimus.core.v1beta1.ListProjectNamespacesRequest
97
63
  */
98
- export class ListProjectNamespacesRequest extends Message<ListProjectNamespacesRequest> {
64
+ export type ListProjectNamespacesRequest = Message<"raystack.optimus.core.v1beta1.ListProjectNamespacesRequest"> & {
99
65
  /**
100
66
  * @generated from field: string project_name = 1;
101
67
  */
102
- projectName = "";
103
-
104
- constructor(data?: PartialMessage<ListProjectNamespacesRequest>) {
105
- super();
106
- proto3.util.initPartial(data, this);
107
- }
108
-
109
- static readonly runtime: typeof proto3 = proto3;
110
- static readonly typeName = "raystack.optimus.core.v1beta1.ListProjectNamespacesRequest";
111
- static readonly fields: FieldList = proto3.util.newFieldList(() => [
112
- { no: 1, name: "project_name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
113
- ]);
68
+ projectName: string;
69
+ };
114
70
 
115
- static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): ListProjectNamespacesRequest {
116
- return new ListProjectNamespacesRequest().fromBinary(bytes, options);
117
- }
118
-
119
- static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): ListProjectNamespacesRequest {
120
- return new ListProjectNamespacesRequest().fromJson(jsonValue, options);
121
- }
122
-
123
- static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): ListProjectNamespacesRequest {
124
- return new ListProjectNamespacesRequest().fromJsonString(jsonString, options);
125
- }
126
-
127
- static equals(a: ListProjectNamespacesRequest | PlainMessage<ListProjectNamespacesRequest> | undefined, b: ListProjectNamespacesRequest | PlainMessage<ListProjectNamespacesRequest> | undefined): boolean {
128
- return proto3.util.equals(ListProjectNamespacesRequest, a, b);
129
- }
130
- }
71
+ /**
72
+ * Describes the message raystack.optimus.core.v1beta1.ListProjectNamespacesRequest.
73
+ * Use `create(ListProjectNamespacesRequestSchema)` to create a new message.
74
+ */
75
+ export const ListProjectNamespacesRequestSchema: GenMessage<ListProjectNamespacesRequest> = /*@__PURE__*/
76
+ messageDesc(file_raystack_optimus_core_v1beta1_namespace, 2);
131
77
 
132
78
  /**
133
79
  * @generated from message raystack.optimus.core.v1beta1.ListProjectNamespacesResponse
134
80
  */
135
- export class ListProjectNamespacesResponse extends Message<ListProjectNamespacesResponse> {
81
+ export type ListProjectNamespacesResponse = Message<"raystack.optimus.core.v1beta1.ListProjectNamespacesResponse"> & {
136
82
  /**
137
83
  * @generated from field: repeated raystack.optimus.core.v1beta1.NamespaceSpecification namespaces = 1;
138
84
  */
139
- namespaces: NamespaceSpecification[] = [];
140
-
141
- constructor(data?: PartialMessage<ListProjectNamespacesResponse>) {
142
- super();
143
- proto3.util.initPartial(data, this);
144
- }
145
-
146
- static readonly runtime: typeof proto3 = proto3;
147
- static readonly typeName = "raystack.optimus.core.v1beta1.ListProjectNamespacesResponse";
148
- static readonly fields: FieldList = proto3.util.newFieldList(() => [
149
- { no: 1, name: "namespaces", kind: "message", T: NamespaceSpecification, repeated: true },
150
- ]);
151
-
152
- static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): ListProjectNamespacesResponse {
153
- return new ListProjectNamespacesResponse().fromBinary(bytes, options);
154
- }
85
+ namespaces: NamespaceSpecification[];
86
+ };
155
87
 
156
- static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): ListProjectNamespacesResponse {
157
- return new ListProjectNamespacesResponse().fromJson(jsonValue, options);
158
- }
159
-
160
- static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): ListProjectNamespacesResponse {
161
- return new ListProjectNamespacesResponse().fromJsonString(jsonString, options);
162
- }
163
-
164
- static equals(a: ListProjectNamespacesResponse | PlainMessage<ListProjectNamespacesResponse> | undefined, b: ListProjectNamespacesResponse | PlainMessage<ListProjectNamespacesResponse> | undefined): boolean {
165
- return proto3.util.equals(ListProjectNamespacesResponse, a, b);
166
- }
167
- }
88
+ /**
89
+ * Describes the message raystack.optimus.core.v1beta1.ListProjectNamespacesResponse.
90
+ * Use `create(ListProjectNamespacesResponseSchema)` to create a new message.
91
+ */
92
+ export const ListProjectNamespacesResponseSchema: GenMessage<ListProjectNamespacesResponse> = /*@__PURE__*/
93
+ messageDesc(file_raystack_optimus_core_v1beta1_namespace, 3);
168
94
 
169
95
  /**
170
96
  * @generated from message raystack.optimus.core.v1beta1.GetNamespaceRequest
171
97
  */
172
- export class GetNamespaceRequest extends Message<GetNamespaceRequest> {
98
+ export type GetNamespaceRequest = Message<"raystack.optimus.core.v1beta1.GetNamespaceRequest"> & {
173
99
  /**
174
100
  * @generated from field: string project_name = 1;
175
101
  */
176
- projectName = "";
102
+ projectName: string;
177
103
 
178
104
  /**
179
105
  * @generated from field: string namespace_name = 2;
180
106
  */
181
- namespaceName = "";
182
-
183
- constructor(data?: PartialMessage<GetNamespaceRequest>) {
184
- super();
185
- proto3.util.initPartial(data, this);
186
- }
187
-
188
- static readonly runtime: typeof proto3 = proto3;
189
- static readonly typeName = "raystack.optimus.core.v1beta1.GetNamespaceRequest";
190
- static readonly fields: FieldList = proto3.util.newFieldList(() => [
191
- { no: 1, name: "project_name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
192
- { no: 2, name: "namespace_name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
193
- ]);
194
-
195
- static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): GetNamespaceRequest {
196
- return new GetNamespaceRequest().fromBinary(bytes, options);
197
- }
107
+ namespaceName: string;
108
+ };
198
109
 
199
- static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): GetNamespaceRequest {
200
- return new GetNamespaceRequest().fromJson(jsonValue, options);
201
- }
202
-
203
- static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): GetNamespaceRequest {
204
- return new GetNamespaceRequest().fromJsonString(jsonString, options);
205
- }
206
-
207
- static equals(a: GetNamespaceRequest | PlainMessage<GetNamespaceRequest> | undefined, b: GetNamespaceRequest | PlainMessage<GetNamespaceRequest> | undefined): boolean {
208
- return proto3.util.equals(GetNamespaceRequest, a, b);
209
- }
210
- }
110
+ /**
111
+ * Describes the message raystack.optimus.core.v1beta1.GetNamespaceRequest.
112
+ * Use `create(GetNamespaceRequestSchema)` to create a new message.
113
+ */
114
+ export const GetNamespaceRequestSchema: GenMessage<GetNamespaceRequest> = /*@__PURE__*/
115
+ messageDesc(file_raystack_optimus_core_v1beta1_namespace, 4);
211
116
 
212
117
  /**
213
118
  * @generated from message raystack.optimus.core.v1beta1.GetNamespaceResponse
214
119
  */
215
- export class GetNamespaceResponse extends Message<GetNamespaceResponse> {
120
+ export type GetNamespaceResponse = Message<"raystack.optimus.core.v1beta1.GetNamespaceResponse"> & {
216
121
  /**
217
122
  * @generated from field: raystack.optimus.core.v1beta1.NamespaceSpecification namespace = 1;
218
123
  */
219
124
  namespace?: NamespaceSpecification;
125
+ };
220
126
 
221
- constructor(data?: PartialMessage<GetNamespaceResponse>) {
222
- super();
223
- proto3.util.initPartial(data, this);
224
- }
225
-
226
- static readonly runtime: typeof proto3 = proto3;
227
- static readonly typeName = "raystack.optimus.core.v1beta1.GetNamespaceResponse";
228
- static readonly fields: FieldList = proto3.util.newFieldList(() => [
229
- { no: 1, name: "namespace", kind: "message", T: NamespaceSpecification },
230
- ]);
231
-
232
- static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): GetNamespaceResponse {
233
- return new GetNamespaceResponse().fromBinary(bytes, options);
234
- }
235
-
236
- static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): GetNamespaceResponse {
237
- return new GetNamespaceResponse().fromJson(jsonValue, options);
238
- }
239
-
240
- static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): GetNamespaceResponse {
241
- return new GetNamespaceResponse().fromJsonString(jsonString, options);
242
- }
243
-
244
- static equals(a: GetNamespaceResponse | PlainMessage<GetNamespaceResponse> | undefined, b: GetNamespaceResponse | PlainMessage<GetNamespaceResponse> | undefined): boolean {
245
- return proto3.util.equals(GetNamespaceResponse, a, b);
246
- }
247
- }
127
+ /**
128
+ * Describes the message raystack.optimus.core.v1beta1.GetNamespaceResponse.
129
+ * Use `create(GetNamespaceResponseSchema)` to create a new message.
130
+ */
131
+ export const GetNamespaceResponseSchema: GenMessage<GetNamespaceResponse> = /*@__PURE__*/
132
+ messageDesc(file_raystack_optimus_core_v1beta1_namespace, 5);
248
133
 
249
134
  /**
250
135
  * @generated from message raystack.optimus.core.v1beta1.NamespaceSpecification
251
136
  */
252
- export class NamespaceSpecification extends Message<NamespaceSpecification> {
137
+ export type NamespaceSpecification = Message<"raystack.optimus.core.v1beta1.NamespaceSpecification"> & {
253
138
  /**
254
139
  * @generated from field: string name = 1;
255
140
  */
256
- name = "";
141
+ name: string;
257
142
 
258
143
  /**
259
144
  * @generated from field: map<string, string> config = 2;
260
145
  */
261
- config: { [key: string]: string } = {};
146
+ config: { [key: string]: string };
147
+ };
262
148
 
263
- constructor(data?: PartialMessage<NamespaceSpecification>) {
264
- super();
265
- proto3.util.initPartial(data, this);
266
- }
267
-
268
- static readonly runtime: typeof proto3 = proto3;
269
- static readonly typeName = "raystack.optimus.core.v1beta1.NamespaceSpecification";
270
- static readonly fields: FieldList = proto3.util.newFieldList(() => [
271
- { no: 1, name: "name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
272
- { no: 2, name: "config", kind: "map", K: 9 /* ScalarType.STRING */, V: {kind: "scalar", T: 9 /* ScalarType.STRING */} },
273
- ]);
274
-
275
- static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): NamespaceSpecification {
276
- return new NamespaceSpecification().fromBinary(bytes, options);
277
- }
278
-
279
- static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): NamespaceSpecification {
280
- return new NamespaceSpecification().fromJson(jsonValue, options);
281
- }
282
-
283
- static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): NamespaceSpecification {
284
- return new NamespaceSpecification().fromJsonString(jsonString, options);
285
- }
149
+ /**
150
+ * Describes the message raystack.optimus.core.v1beta1.NamespaceSpecification.
151
+ * Use `create(NamespaceSpecificationSchema)` to create a new message.
152
+ */
153
+ export const NamespaceSpecificationSchema: GenMessage<NamespaceSpecification> = /*@__PURE__*/
154
+ messageDesc(file_raystack_optimus_core_v1beta1_namespace, 6);
286
155
 
287
- static equals(a: NamespaceSpecification | PlainMessage<NamespaceSpecification> | undefined, b: NamespaceSpecification | PlainMessage<NamespaceSpecification> | undefined): boolean {
288
- return proto3.util.equals(NamespaceSpecification, a, b);
289
- }
290
- }
156
+ /**
157
+ * @generated from service raystack.optimus.core.v1beta1.NamespaceService
158
+ */
159
+ export const NamespaceService: GenService<{
160
+ /**
161
+ * RegisterProjectNamespace creates a new namespace for a project
162
+ *
163
+ * @generated from rpc raystack.optimus.core.v1beta1.NamespaceService.RegisterProjectNamespace
164
+ */
165
+ registerProjectNamespace: {
166
+ methodKind: "unary";
167
+ input: typeof RegisterProjectNamespaceRequestSchema;
168
+ output: typeof RegisterProjectNamespaceResponseSchema;
169
+ },
170
+ /**
171
+ * ListProjectNamespaces returns list of namespaces of a project
172
+ *
173
+ * @generated from rpc raystack.optimus.core.v1beta1.NamespaceService.ListProjectNamespaces
174
+ */
175
+ listProjectNamespaces: {
176
+ methodKind: "unary";
177
+ input: typeof ListProjectNamespacesRequestSchema;
178
+ output: typeof ListProjectNamespacesResponseSchema;
179
+ },
180
+ /**
181
+ * GetNamespace returns namespace details based on project_name and namespace_name
182
+ *
183
+ * @generated from rpc raystack.optimus.core.v1beta1.NamespaceService.GetNamespace
184
+ */
185
+ getNamespace: {
186
+ methodKind: "unary";
187
+ input: typeof GetNamespaceRequestSchema;
188
+ output: typeof GetNamespaceResponseSchema;
189
+ },
190
+ }> = /*@__PURE__*/
191
+ serviceDesc(file_raystack_optimus_core_v1beta1_namespace, 0);
291
192
 
@@ -1,55 +1,26 @@
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/optimus/core/v1beta1/project.proto (package raystack.optimus.core.v1beta1, syntax proto3)
3
3
  /* eslint-disable */
4
- // @ts-nocheck
5
4
 
6
- import { MethodKind } from "@bufbuild/protobuf";
7
- import { GetProjectRequest, GetProjectResponse, ListProjectsRequest, ListProjectsResponse, RegisterProjectRequest, RegisterProjectResponse } from "./project_pb.js";
5
+ import { ProjectService } from "./project_pb";
8
6
 
9
7
  /**
10
8
  * RegisterProject creates a new optimus project
11
9
  *
12
10
  * @generated from rpc raystack.optimus.core.v1beta1.ProjectService.RegisterProject
13
11
  */
14
- export const registerProject = {
15
- localName: "registerProject",
16
- name: "RegisterProject",
17
- kind: MethodKind.Unary,
18
- I: RegisterProjectRequest,
19
- O: RegisterProjectResponse,
20
- service: {
21
- typeName: "raystack.optimus.core.v1beta1.ProjectService"
22
- }
23
- } as const;
12
+ export const registerProject = ProjectService.method.registerProject;
24
13
 
25
14
  /**
26
15
  * ListProjects returns list of registered projects and configurations
27
16
  *
28
17
  * @generated from rpc raystack.optimus.core.v1beta1.ProjectService.ListProjects
29
18
  */
30
- export const listProjects = {
31
- localName: "listProjects",
32
- name: "ListProjects",
33
- kind: MethodKind.Unary,
34
- I: ListProjectsRequest,
35
- O: ListProjectsResponse,
36
- service: {
37
- typeName: "raystack.optimus.core.v1beta1.ProjectService"
38
- }
39
- } as const;
19
+ export const listProjects = ProjectService.method.listProjects;
40
20
 
41
21
  /**
42
22
  * GetProject returns project details based on project_name
43
23
  *
44
24
  * @generated from rpc raystack.optimus.core.v1beta1.ProjectService.GetProject
45
25
  */
46
- export const getProject = {
47
- localName: "getProject",
48
- name: "GetProject",
49
- kind: MethodKind.Unary,
50
- I: GetProjectRequest,
51
- O: GetProjectResponse,
52
- service: {
53
- typeName: "raystack.optimus.core.v1beta1.ProjectService"
54
- }
55
- } as const;
26
+ export const getProject = ProjectService.method.getProject;