@raystack/proton 0.1.0-639e522a5cab4021f05990d13ef31161a35e17d7 → 0.1.0-881c92a4cab2490e6c680462a94660b551b1040f

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 (111) 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 +58 -14
  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/v1beta1/bucket_pb.ts +46 -89
  10. package/raystack/assets/v1beta1/dashboard_pb.ts +49 -97
  11. package/raystack/assets/v1beta1/event_pb.ts +22 -36
  12. package/raystack/assets/v1beta1/group_pb.ts +38 -74
  13. package/raystack/assets/v1beta1/job_pb.ts +30 -43
  14. package/raystack/assets/v1beta1/lineage_pb.ts +22 -36
  15. package/raystack/assets/v1beta1/ownership_pb.ts +31 -68
  16. package/raystack/assets/v1beta1/preview_pb.ts +21 -34
  17. package/raystack/assets/v1beta1/properties_pb.ts +22 -37
  18. package/raystack/assets/v1beta1/resource_pb.ts +24 -43
  19. package/raystack/assets/v1beta1/schema_pb.ts +59 -145
  20. package/raystack/assets/v1beta1/table_pb.ts +59 -120
  21. package/raystack/assets/v1beta1/timestamp_pb.ts +28 -62
  22. package/raystack/assets/v1beta1/topic_pb.ts +43 -78
  23. package/raystack/assets/v1beta1/user_pb.ts +58 -125
  24. package/raystack/assets/v1beta2/application_pb.ts +23 -39
  25. package/raystack/assets/v1beta2/asset_pb.ts +30 -53
  26. package/raystack/assets/v1beta2/bucket_pb.ts +41 -87
  27. package/raystack/assets/v1beta2/common_pb.ts +56 -137
  28. package/raystack/assets/v1beta2/dashboard_pb.ts +44 -93
  29. package/raystack/assets/v1beta2/experiment_pb.ts +38 -79
  30. package/raystack/assets/v1beta2/feature_table_pb.ts +51 -115
  31. package/raystack/assets/v1beta2/group_pb.ts +32 -68
  32. package/raystack/assets/v1beta2/job_pb.ts +21 -35
  33. package/raystack/assets/v1beta2/metric_pb.ts +25 -43
  34. package/raystack/assets/v1beta2/model_pb.ts +59 -147
  35. package/raystack/assets/v1beta2/table_pb.ts +82 -200
  36. package/raystack/assets/v1beta2/topic_pb.ts +41 -99
  37. package/raystack/assets/v1beta2/user_pb.ts +53 -121
  38. package/raystack/common/index.ts +0 -1
  39. package/raystack/common/v1/service-CommonService_connectquery.ts +3 -14
  40. package/raystack/common/v1/service_pb.ts +57 -97
  41. package/raystack/compass/index.ts +0 -1
  42. package/raystack/compass/v1beta1/service-CompassService_connectquery.ts +44 -424
  43. package/raystack/compass/v1beta1/service_pb.ts +1448 -3319
  44. package/raystack/entropy/index.ts +0 -2
  45. package/raystack/entropy/v1beta1/module-ModuleService_connectquery.ts +7 -54
  46. package/raystack/entropy/v1beta1/module_pb.ts +156 -324
  47. package/raystack/entropy/v1beta1/resource-ResourceService_connectquery.ts +9 -74
  48. package/raystack/entropy/v1beta1/resource_pb.ts +330 -756
  49. package/raystack/frontier/index.ts +0 -2
  50. package/raystack/frontier/v1beta1/admin-AdminService_connectquery.ts +54 -524
  51. package/raystack/frontier/v1beta1/admin_pb.ts +1755 -3846
  52. package/raystack/frontier/v1beta1/frontier-FrontierService_connectquery.ts +169 -1674
  53. package/raystack/frontier/v1beta1/frontier_pb.ts +4850 -10959
  54. package/raystack/frontier/v1beta1/models_pb.ts +810 -2296
  55. package/raystack/guardian/index.ts +0 -1
  56. package/raystack/guardian/v1beta1/guardian-GuardianService_connectquery.ts +42 -404
  57. package/raystack/guardian/v1beta1/guardian_pb.ts +1584 -3783
  58. package/raystack/optimus/core/v1beta1/backup-BackupService_connectquery.ts +5 -34
  59. package/raystack/optimus/core/v1beta1/backup_pb.ts +137 -273
  60. package/raystack/optimus/core/v1beta1/job_run-JobRunService_connectquery.ts +6 -44
  61. package/raystack/optimus/core/v1beta1/job_run_pb.ts +194 -376
  62. package/raystack/optimus/core/v1beta1/job_spec-JobSpecificationService_connectquery.ts +17 -154
  63. package/raystack/optimus/core/v1beta1/job_spec_pb.ts +910 -2081
  64. package/raystack/optimus/core/v1beta1/namespace-NamespaceService_connectquery.ts +5 -34
  65. package/raystack/optimus/core/v1beta1/namespace_pb.ts +113 -212
  66. package/raystack/optimus/core/v1beta1/project-ProjectService_connectquery.ts +5 -34
  67. package/raystack/optimus/core/v1beta1/project_pb.ts +121 -238
  68. package/raystack/optimus/core/v1beta1/replay-ReplayService_connectquery.ts +6 -44
  69. package/raystack/optimus/core/v1beta1/replay_pb.ts +160 -335
  70. package/raystack/optimus/core/v1beta1/resource-ResourceService_connectquery.ts +8 -64
  71. package/raystack/optimus/core/v1beta1/resource_pb.ts +266 -527
  72. package/raystack/optimus/core/v1beta1/runtime-RuntimeService_connectquery.ts +3 -14
  73. package/raystack/optimus/core/v1beta1/runtime_pb.ts +48 -61
  74. package/raystack/optimus/core/v1beta1/secret-SecretService_connectquery.ts +6 -44
  75. package/raystack/optimus/core/v1beta1/secret_pb.ts +155 -283
  76. package/raystack/optimus/core/v1beta1/status_pb.ts +35 -54
  77. package/raystack/optimus/integration/v1beta1/event_pb.ts +75 -187
  78. package/raystack/optimus/plugins/v1beta1/dependency_resolver-DependencyResolverModService_connectquery.ts +6 -44
  79. package/raystack/optimus/plugins/v1beta1/dependency_resolver_pb.ts +193 -426
  80. package/raystack/predator/v1beta1/metrics_log_pb.ts +67 -173
  81. package/raystack/predator/v1beta1/result_log_pb.ts +60 -144
  82. package/raystack/raccoon/index.ts +0 -1
  83. package/raystack/raccoon/v1beta1/raccoon-EventService_connectquery.ts +3 -14
  84. package/raystack/raccoon/v1beta1/raccoon_pb.ts +142 -189
  85. package/raystack/siren/index.ts +0 -1
  86. package/raystack/siren/v1beta1/siren-SirenService_connectquery.ts +37 -354
  87. package/raystack/siren/v1beta1/siren_pb.ts +1155 -2637
  88. package/raystack/stencil/index.ts +0 -1
  89. package/raystack/stencil/v1beta1/stencil-StencilService_connectquery.ts +18 -164
  90. package/raystack/stencil/v1beta1/stencil_pb.ts +530 -1157
  91. package/validate/validate_pb.ts +401 -1038
  92. package/raystack/common/v1/service_connect.ts +0 -26
  93. package/raystack/compass/v1beta1/service_connect.ts +0 -407
  94. package/raystack/entropy/v1beta1/module_connect.ts +0 -62
  95. package/raystack/entropy/v1beta1/resource_connect.ts +0 -89
  96. package/raystack/frontier/v1beta1/admin_connect.ts +0 -584
  97. package/raystack/frontier/v1beta1/frontier_connect.ts +0 -1574
  98. package/raystack/guardian/v1beta1/guardian_connect.ts +0 -381
  99. package/raystack/optimus/core/v1beta1/backup_connect.ts +0 -44
  100. package/raystack/optimus/core/v1beta1/job_run_connect.ts +0 -63
  101. package/raystack/optimus/core/v1beta1/job_spec_connect.ts +0 -233
  102. package/raystack/optimus/core/v1beta1/namespace_connect.ts +0 -50
  103. package/raystack/optimus/core/v1beta1/project_connect.ts +0 -50
  104. package/raystack/optimus/core/v1beta1/replay_connect.ts +0 -53
  105. package/raystack/optimus/core/v1beta1/resource_connect.ts +0 -96
  106. package/raystack/optimus/core/v1beta1/runtime_connect.ts +0 -30
  107. package/raystack/optimus/core/v1beta1/secret_connect.ts +0 -61
  108. package/raystack/optimus/plugins/v1beta1/dependency_resolver_connect.ts +0 -65
  109. package/raystack/raccoon/v1beta1/raccoon_connect.ts +0 -26
  110. package/raystack/siren/v1beta1/siren_connect.ts +0 -332
  111. package/raystack/stencil/v1beta1/stencil_connect.ts +0 -161
@@ -1,49 +1,20 @@
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/backup.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 { CreateBackupRequest, CreateBackupResponse, GetBackupRequest, GetBackupResponse, ListBackupsRequest, ListBackupsResponse } from "./backup_pb.js";
5
+ import { BackupService } from "./backup_pb";
8
6
 
9
7
  /**
10
8
  * @generated from rpc raystack.optimus.core.v1beta1.BackupService.CreateBackup
11
9
  */
12
- export const createBackup = {
13
- localName: "createBackup",
14
- name: "CreateBackup",
15
- kind: MethodKind.Unary,
16
- I: CreateBackupRequest,
17
- O: CreateBackupResponse,
18
- service: {
19
- typeName: "raystack.optimus.core.v1beta1.BackupService"
20
- }
21
- } as const;
10
+ export const createBackup = BackupService.method.createBackup;
22
11
 
23
12
  /**
24
13
  * @generated from rpc raystack.optimus.core.v1beta1.BackupService.ListBackups
25
14
  */
26
- export const listBackups = {
27
- localName: "listBackups",
28
- name: "ListBackups",
29
- kind: MethodKind.Unary,
30
- I: ListBackupsRequest,
31
- O: ListBackupsResponse,
32
- service: {
33
- typeName: "raystack.optimus.core.v1beta1.BackupService"
34
- }
35
- } as const;
15
+ export const listBackups = BackupService.method.listBackups;
36
16
 
37
17
  /**
38
18
  * @generated from rpc raystack.optimus.core.v1beta1.BackupService.GetBackup
39
19
  */
40
- export const getBackup = {
41
- localName: "getBackup",
42
- name: "GetBackup",
43
- kind: MethodKind.Unary,
44
- I: GetBackupRequest,
45
- O: GetBackupResponse,
46
- service: {
47
- typeName: "raystack.optimus.core.v1beta1.BackupService"
48
- }
49
- } as const;
20
+ export const getBackup = BackupService.method.getBackup;
@@ -1,264 +1,164 @@
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/backup.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, 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/optimus/core/v1beta1/backup.proto.
15
+ */
16
+ export const file_raystack_optimus_core_v1beta1_backup: GenFile = /*@__PURE__*/
17
+ fileDesc("CipyYXlzdGFjay9vcHRpbXVzL2NvcmUvdjFiZXRhMS9iYWNrdXAucHJvdG8SHXJheXN0YWNrLm9wdGltdXMuY29yZS52MWJldGExIi8KD0lnbm9yZWRSZXNvdXJjZRIMCgRuYW1lGAEgASgJEg4KBnJlYXNvbhgCIAEoCSKZAgoTQ3JlYXRlQmFja3VwUmVxdWVzdBIUCgxwcm9qZWN0X25hbWUYASABKAkSFgoOZGF0YXN0b3JlX25hbWUYAiABKAkSFgoObmFtZXNwYWNlX25hbWUYBCABKAkSEwoLZGVzY3JpcHRpb24YBSABKAkSTgoGY29uZmlnGAcgAygLMj4ucmF5c3RhY2sub3B0aW11cy5jb3JlLnYxYmV0YTEuQ3JlYXRlQmFja3VwUmVxdWVzdC5Db25maWdFbnRyeRIWCg5yZXNvdXJjZV9uYW1lcxgJIAMoCRotCgtDb25maWdFbnRyeRILCgNrZXkYASABKAkSDQoFdmFsdWUYAiABKAk6AjgBSgQIAxAESgQIBhAHSgQICBAJIpIBChRDcmVhdGVCYWNrdXBSZXNwb25zZRIWCg5yZXNvdXJjZV9uYW1lcxgBIAMoCRJJChFpZ25vcmVkX3Jlc291cmNlcxgDIAMoCzIuLnJheXN0YWNrLm9wdGltdXMuY29yZS52MWJldGExLklnbm9yZWRSZXNvdXJjZRIRCgliYWNrdXBfaWQYBCABKAlKBAgCEAMiWgoSTGlzdEJhY2t1cHNSZXF1ZXN0EhQKDHByb2plY3RfbmFtZRgBIAEoCRIWCg5kYXRhc3RvcmVfbmFtZRgCIAEoCRIWCg5uYW1lc3BhY2VfbmFtZRgDIAEoCSJRChNMaXN0QmFja3Vwc1Jlc3BvbnNlEjoKB2JhY2t1cHMYASADKAsyKS5yYXlzdGFjay5vcHRpbXVzLmNvcmUudjFiZXRhMS5CYWNrdXBTcGVjIvEBCgpCYWNrdXBTcGVjEgoKAmlkGAEgASgJEi4KCmNyZWF0ZWRfYXQYAyABKAsyGi5nb29nbGUucHJvdG9idWYuVGltZXN0YW1wEhMKC2Rlc2NyaXB0aW9uGAQgASgJEkUKBmNvbmZpZxgFIAMoCzI1LnJheXN0YWNrLm9wdGltdXMuY29yZS52MWJldGExLkJhY2t1cFNwZWMuQ29uZmlnRW50cnkSFgoOcmVzb3VyY2VfbmFtZXMYBiADKAkaLQoLQ29uZmlnRW50cnkSCwoDa2V5GAEgASgJEg0KBXZhbHVlGAIgASgJOgI4AUoECAIQAyJkChBHZXRCYWNrdXBSZXF1ZXN0EhQKDHByb2plY3RfbmFtZRgBIAEoCRIWCg5kYXRhc3RvcmVfbmFtZRgCIAEoCRIWCg5uYW1lc3BhY2VfbmFtZRgDIAEoCRIKCgJpZBgEIAEoCSJSChFHZXRCYWNrdXBSZXNwb25zZRI3CgRzcGVjGAEgASgLMikucmF5c3RhY2sub3B0aW11cy5jb3JlLnYxYmV0YTEuQmFja3VwU3BlY0oECAIQAzKmBQoNQmFja3VwU2VydmljZRLgAQoMQ3JlYXRlQmFja3VwEjIucmF5c3RhY2sub3B0aW11cy5jb3JlLnYxYmV0YTEuQ3JlYXRlQmFja3VwUmVxdWVzdBozLnJheXN0YWNrLm9wdGltdXMuY29yZS52MWJldGExLkNyZWF0ZUJhY2t1cFJlc3BvbnNlImeC0+STAmEiXC92MWJldGExL3Byb2plY3Qve3Byb2plY3RfbmFtZX0vbmFtZXNwYWNlL3tuYW1lc3BhY2VfbmFtZX0vZGF0YXN0b3JlL3tkYXRhc3RvcmVfbmFtZX0vYmFja3VwOgEqEtoBCgtMaXN0QmFja3VwcxIxLnJheXN0YWNrLm9wdGltdXMuY29yZS52MWJldGExLkxpc3RCYWNrdXBzUmVxdWVzdBoyLnJheXN0YWNrLm9wdGltdXMuY29yZS52MWJldGExLkxpc3RCYWNrdXBzUmVzcG9uc2UiZILT5JMCXhJcL3YxYmV0YTEvcHJvamVjdC97cHJvamVjdF9uYW1lfS9uYW1lc3BhY2Uve25hbWVzcGFjZV9uYW1lfS9kYXRhc3RvcmUve2RhdGFzdG9yZV9uYW1lfS9iYWNrdXAS1AEKCUdldEJhY2t1cBIvLnJheXN0YWNrLm9wdGltdXMuY29yZS52MWJldGExLkdldEJhY2t1cFJlcXVlc3QaMC5yYXlzdGFjay5vcHRpbXVzLmNvcmUudjFiZXRhMS5HZXRCYWNrdXBSZXNwb25zZSJkgtPkkwJeElwvdjEvcHJvamVjdC97cHJvamVjdF9uYW1lfS9uYW1lc3BhY2Uve25hbWVzcGFjZV9uYW1lfS9kYXRhc3RvcmUve2RhdGFzdG9yZV9uYW1lfS9iYWNrdXAve2lkfUKWAQobb3JnLnJheXN0YWNrLnByb3Rvbi5vcHRpbXVzQhRCYWNrdXBTZXJ2aWNlTWFuYWdlclABWiJnaXRodWIuY29tL3JheXN0YWNrL3Byb3Rvbi9vcHRpbXVzkkE6EgUyAzAuMRoOMTI3LjAuMC4xOjkxMDAiBC9hcGkqAQFyGAoWT3B0aW11cyBCYWNrdXAgU2VydmljZWIGcHJvdG8z", [file_google_api_annotations, file_google_protobuf_timestamp, file_protoc_gen_openapiv2_options_annotations]);
8
18
 
9
19
  /**
10
20
  * @generated from message raystack.optimus.core.v1beta1.IgnoredResource
11
21
  */
12
- export class IgnoredResource extends Message<IgnoredResource> {
22
+ export type IgnoredResource = Message<"raystack.optimus.core.v1beta1.IgnoredResource"> & {
13
23
  /**
14
24
  * @generated from field: string name = 1;
15
25
  */
16
- name = "";
26
+ name: string;
17
27
 
18
28
  /**
19
29
  * @generated from field: string reason = 2;
20
30
  */
21
- reason = "";
22
-
23
- constructor(data?: PartialMessage<IgnoredResource>) {
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.IgnoredResource";
30
- static readonly fields: FieldList = proto3.util.newFieldList(() => [
31
- { no: 1, name: "name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
32
- { no: 2, name: "reason", kind: "scalar", T: 9 /* ScalarType.STRING */ },
33
- ]);
34
-
35
- static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): IgnoredResource {
36
- return new IgnoredResource().fromBinary(bytes, options);
37
- }
31
+ reason: string;
32
+ };
38
33
 
39
- static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): IgnoredResource {
40
- return new IgnoredResource().fromJson(jsonValue, options);
41
- }
42
-
43
- static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): IgnoredResource {
44
- return new IgnoredResource().fromJsonString(jsonString, options);
45
- }
46
-
47
- static equals(a: IgnoredResource | PlainMessage<IgnoredResource> | undefined, b: IgnoredResource | PlainMessage<IgnoredResource> | undefined): boolean {
48
- return proto3.util.equals(IgnoredResource, a, b);
49
- }
50
- }
34
+ /**
35
+ * Describes the message raystack.optimus.core.v1beta1.IgnoredResource.
36
+ * Use `create(IgnoredResourceSchema)` to create a new message.
37
+ */
38
+ export const IgnoredResourceSchema: GenMessage<IgnoredResource> = /*@__PURE__*/
39
+ messageDesc(file_raystack_optimus_core_v1beta1_backup, 0);
51
40
 
52
41
  /**
53
42
  * @generated from message raystack.optimus.core.v1beta1.CreateBackupRequest
54
43
  */
55
- export class CreateBackupRequest extends Message<CreateBackupRequest> {
44
+ export type CreateBackupRequest = Message<"raystack.optimus.core.v1beta1.CreateBackupRequest"> & {
56
45
  /**
57
46
  * @generated from field: string project_name = 1;
58
47
  */
59
- projectName = "";
48
+ projectName: string;
60
49
 
61
50
  /**
62
51
  * @generated from field: string datastore_name = 2;
63
52
  */
64
- datastoreName = "";
53
+ datastoreName: string;
65
54
 
66
55
  /**
67
56
  * @generated from field: string namespace_name = 4;
68
57
  */
69
- namespaceName = "";
58
+ namespaceName: string;
70
59
 
71
60
  /**
72
61
  * @generated from field: string description = 5;
73
62
  */
74
- description = "";
63
+ description: string;
75
64
 
76
65
  /**
77
66
  * @generated from field: map<string, string> config = 7;
78
67
  */
79
- config: { [key: string]: string } = {};
68
+ config: { [key: string]: string };
80
69
 
81
70
  /**
82
71
  * @generated from field: repeated string resource_names = 9;
83
72
  */
84
- resourceNames: string[] = [];
85
-
86
- constructor(data?: PartialMessage<CreateBackupRequest>) {
87
- super();
88
- proto3.util.initPartial(data, this);
89
- }
90
-
91
- static readonly runtime: typeof proto3 = proto3;
92
- static readonly typeName = "raystack.optimus.core.v1beta1.CreateBackupRequest";
93
- static readonly fields: FieldList = proto3.util.newFieldList(() => [
94
- { no: 1, name: "project_name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
95
- { no: 2, name: "datastore_name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
96
- { no: 4, name: "namespace_name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
97
- { no: 5, name: "description", kind: "scalar", T: 9 /* ScalarType.STRING */ },
98
- { no: 7, name: "config", kind: "map", K: 9 /* ScalarType.STRING */, V: {kind: "scalar", T: 9 /* ScalarType.STRING */} },
99
- { no: 9, name: "resource_names", kind: "scalar", T: 9 /* ScalarType.STRING */, repeated: true },
100
- ]);
101
-
102
- static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): CreateBackupRequest {
103
- return new CreateBackupRequest().fromBinary(bytes, options);
104
- }
105
-
106
- static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): CreateBackupRequest {
107
- return new CreateBackupRequest().fromJson(jsonValue, options);
108
- }
109
-
110
- static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): CreateBackupRequest {
111
- return new CreateBackupRequest().fromJsonString(jsonString, options);
112
- }
113
-
114
- static equals(a: CreateBackupRequest | PlainMessage<CreateBackupRequest> | undefined, b: CreateBackupRequest | PlainMessage<CreateBackupRequest> | undefined): boolean {
115
- return proto3.util.equals(CreateBackupRequest, a, b);
116
- }
117
- }
73
+ resourceNames: string[];
74
+ };
75
+
76
+ /**
77
+ * Describes the message raystack.optimus.core.v1beta1.CreateBackupRequest.
78
+ * Use `create(CreateBackupRequestSchema)` to create a new message.
79
+ */
80
+ export const CreateBackupRequestSchema: GenMessage<CreateBackupRequest> = /*@__PURE__*/
81
+ messageDesc(file_raystack_optimus_core_v1beta1_backup, 1);
118
82
 
119
83
  /**
120
84
  * @generated from message raystack.optimus.core.v1beta1.CreateBackupResponse
121
85
  */
122
- export class CreateBackupResponse extends Message<CreateBackupResponse> {
86
+ export type CreateBackupResponse = Message<"raystack.optimus.core.v1beta1.CreateBackupResponse"> & {
123
87
  /**
124
88
  * @generated from field: repeated string resource_names = 1;
125
89
  */
126
- resourceNames: string[] = [];
90
+ resourceNames: string[];
127
91
 
128
92
  /**
129
93
  * @generated from field: repeated raystack.optimus.core.v1beta1.IgnoredResource ignored_resources = 3;
130
94
  */
131
- ignoredResources: IgnoredResource[] = [];
95
+ ignoredResources: IgnoredResource[];
132
96
 
133
97
  /**
134
98
  * @generated from field: string backup_id = 4;
135
99
  */
136
- backupId = "";
137
-
138
- constructor(data?: PartialMessage<CreateBackupResponse>) {
139
- super();
140
- proto3.util.initPartial(data, this);
141
- }
142
-
143
- static readonly runtime: typeof proto3 = proto3;
144
- static readonly typeName = "raystack.optimus.core.v1beta1.CreateBackupResponse";
145
- static readonly fields: FieldList = proto3.util.newFieldList(() => [
146
- { no: 1, name: "resource_names", kind: "scalar", T: 9 /* ScalarType.STRING */, repeated: true },
147
- { no: 3, name: "ignored_resources", kind: "message", T: IgnoredResource, repeated: true },
148
- { no: 4, name: "backup_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
149
- ]);
150
-
151
- static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): CreateBackupResponse {
152
- return new CreateBackupResponse().fromBinary(bytes, options);
153
- }
154
-
155
- static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): CreateBackupResponse {
156
- return new CreateBackupResponse().fromJson(jsonValue, options);
157
- }
158
-
159
- static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): CreateBackupResponse {
160
- return new CreateBackupResponse().fromJsonString(jsonString, options);
161
- }
162
-
163
- static equals(a: CreateBackupResponse | PlainMessage<CreateBackupResponse> | undefined, b: CreateBackupResponse | PlainMessage<CreateBackupResponse> | undefined): boolean {
164
- return proto3.util.equals(CreateBackupResponse, a, b);
165
- }
166
- }
100
+ backupId: string;
101
+ };
102
+
103
+ /**
104
+ * Describes the message raystack.optimus.core.v1beta1.CreateBackupResponse.
105
+ * Use `create(CreateBackupResponseSchema)` to create a new message.
106
+ */
107
+ export const CreateBackupResponseSchema: GenMessage<CreateBackupResponse> = /*@__PURE__*/
108
+ messageDesc(file_raystack_optimus_core_v1beta1_backup, 2);
167
109
 
168
110
  /**
169
111
  * @generated from message raystack.optimus.core.v1beta1.ListBackupsRequest
170
112
  */
171
- export class ListBackupsRequest extends Message<ListBackupsRequest> {
113
+ export type ListBackupsRequest = Message<"raystack.optimus.core.v1beta1.ListBackupsRequest"> & {
172
114
  /**
173
115
  * @generated from field: string project_name = 1;
174
116
  */
175
- projectName = "";
117
+ projectName: string;
176
118
 
177
119
  /**
178
120
  * @generated from field: string datastore_name = 2;
179
121
  */
180
- datastoreName = "";
122
+ datastoreName: string;
181
123
 
182
124
  /**
183
125
  * @generated from field: string namespace_name = 3;
184
126
  */
185
- namespaceName = "";
186
-
187
- constructor(data?: PartialMessage<ListBackupsRequest>) {
188
- super();
189
- proto3.util.initPartial(data, this);
190
- }
191
-
192
- static readonly runtime: typeof proto3 = proto3;
193
- static readonly typeName = "raystack.optimus.core.v1beta1.ListBackupsRequest";
194
- static readonly fields: FieldList = proto3.util.newFieldList(() => [
195
- { no: 1, name: "project_name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
196
- { no: 2, name: "datastore_name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
197
- { no: 3, name: "namespace_name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
198
- ]);
199
-
200
- static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): ListBackupsRequest {
201
- return new ListBackupsRequest().fromBinary(bytes, options);
202
- }
203
-
204
- static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): ListBackupsRequest {
205
- return new ListBackupsRequest().fromJson(jsonValue, options);
206
- }
207
-
208
- static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): ListBackupsRequest {
209
- return new ListBackupsRequest().fromJsonString(jsonString, options);
210
- }
211
-
212
- static equals(a: ListBackupsRequest | PlainMessage<ListBackupsRequest> | undefined, b: ListBackupsRequest | PlainMessage<ListBackupsRequest> | undefined): boolean {
213
- return proto3.util.equals(ListBackupsRequest, a, b);
214
- }
215
- }
127
+ namespaceName: string;
128
+ };
129
+
130
+ /**
131
+ * Describes the message raystack.optimus.core.v1beta1.ListBackupsRequest.
132
+ * Use `create(ListBackupsRequestSchema)` to create a new message.
133
+ */
134
+ export const ListBackupsRequestSchema: GenMessage<ListBackupsRequest> = /*@__PURE__*/
135
+ messageDesc(file_raystack_optimus_core_v1beta1_backup, 3);
216
136
 
217
137
  /**
218
138
  * @generated from message raystack.optimus.core.v1beta1.ListBackupsResponse
219
139
  */
220
- export class ListBackupsResponse extends Message<ListBackupsResponse> {
140
+ export type ListBackupsResponse = Message<"raystack.optimus.core.v1beta1.ListBackupsResponse"> & {
221
141
  /**
222
142
  * @generated from field: repeated raystack.optimus.core.v1beta1.BackupSpec backups = 1;
223
143
  */
224
- backups: BackupSpec[] = [];
225
-
226
- constructor(data?: PartialMessage<ListBackupsResponse>) {
227
- super();
228
- proto3.util.initPartial(data, this);
229
- }
230
-
231
- static readonly runtime: typeof proto3 = proto3;
232
- static readonly typeName = "raystack.optimus.core.v1beta1.ListBackupsResponse";
233
- static readonly fields: FieldList = proto3.util.newFieldList(() => [
234
- { no: 1, name: "backups", kind: "message", T: BackupSpec, repeated: true },
235
- ]);
236
-
237
- static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): ListBackupsResponse {
238
- return new ListBackupsResponse().fromBinary(bytes, options);
239
- }
144
+ backups: BackupSpec[];
145
+ };
240
146
 
241
- static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): ListBackupsResponse {
242
- return new ListBackupsResponse().fromJson(jsonValue, options);
243
- }
244
-
245
- static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): ListBackupsResponse {
246
- return new ListBackupsResponse().fromJsonString(jsonString, options);
247
- }
248
-
249
- static equals(a: ListBackupsResponse | PlainMessage<ListBackupsResponse> | undefined, b: ListBackupsResponse | PlainMessage<ListBackupsResponse> | undefined): boolean {
250
- return proto3.util.equals(ListBackupsResponse, a, b);
251
- }
252
- }
147
+ /**
148
+ * Describes the message raystack.optimus.core.v1beta1.ListBackupsResponse.
149
+ * Use `create(ListBackupsResponseSchema)` to create a new message.
150
+ */
151
+ export const ListBackupsResponseSchema: GenMessage<ListBackupsResponse> = /*@__PURE__*/
152
+ messageDesc(file_raystack_optimus_core_v1beta1_backup, 4);
253
153
 
254
154
  /**
255
155
  * @generated from message raystack.optimus.core.v1beta1.BackupSpec
256
156
  */
257
- export class BackupSpec extends Message<BackupSpec> {
157
+ export type BackupSpec = Message<"raystack.optimus.core.v1beta1.BackupSpec"> & {
258
158
  /**
259
159
  * @generated from field: string id = 1;
260
160
  */
261
- id = "";
161
+ id: string;
262
162
 
263
163
  /**
264
164
  * @generated from field: google.protobuf.Timestamp created_at = 3;
@@ -268,139 +168,103 @@ export class BackupSpec extends Message<BackupSpec> {
268
168
  /**
269
169
  * @generated from field: string description = 4;
270
170
  */
271
- description = "";
171
+ description: string;
272
172
 
273
173
  /**
274
174
  * @generated from field: map<string, string> config = 5;
275
175
  */
276
- config: { [key: string]: string } = {};
176
+ config: { [key: string]: string };
277
177
 
278
178
  /**
279
179
  * @generated from field: repeated string resource_names = 6;
280
180
  */
281
- resourceNames: string[] = [];
282
-
283
- constructor(data?: PartialMessage<BackupSpec>) {
284
- super();
285
- proto3.util.initPartial(data, this);
286
- }
287
-
288
- static readonly runtime: typeof proto3 = proto3;
289
- static readonly typeName = "raystack.optimus.core.v1beta1.BackupSpec";
290
- static readonly fields: FieldList = proto3.util.newFieldList(() => [
291
- { no: 1, name: "id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
292
- { no: 3, name: "created_at", kind: "message", T: Timestamp },
293
- { no: 4, name: "description", kind: "scalar", T: 9 /* ScalarType.STRING */ },
294
- { no: 5, name: "config", kind: "map", K: 9 /* ScalarType.STRING */, V: {kind: "scalar", T: 9 /* ScalarType.STRING */} },
295
- { no: 6, name: "resource_names", kind: "scalar", T: 9 /* ScalarType.STRING */, repeated: true },
296
- ]);
297
-
298
- static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): BackupSpec {
299
- return new BackupSpec().fromBinary(bytes, options);
300
- }
301
-
302
- static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): BackupSpec {
303
- return new BackupSpec().fromJson(jsonValue, options);
304
- }
305
-
306
- static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): BackupSpec {
307
- return new BackupSpec().fromJsonString(jsonString, options);
308
- }
309
-
310
- static equals(a: BackupSpec | PlainMessage<BackupSpec> | undefined, b: BackupSpec | PlainMessage<BackupSpec> | undefined): boolean {
311
- return proto3.util.equals(BackupSpec, a, b);
312
- }
313
- }
181
+ resourceNames: string[];
182
+ };
183
+
184
+ /**
185
+ * Describes the message raystack.optimus.core.v1beta1.BackupSpec.
186
+ * Use `create(BackupSpecSchema)` to create a new message.
187
+ */
188
+ export const BackupSpecSchema: GenMessage<BackupSpec> = /*@__PURE__*/
189
+ messageDesc(file_raystack_optimus_core_v1beta1_backup, 5);
314
190
 
315
191
  /**
316
192
  * @generated from message raystack.optimus.core.v1beta1.GetBackupRequest
317
193
  */
318
- export class GetBackupRequest extends Message<GetBackupRequest> {
194
+ export type GetBackupRequest = Message<"raystack.optimus.core.v1beta1.GetBackupRequest"> & {
319
195
  /**
320
196
  * @generated from field: string project_name = 1;
321
197
  */
322
- projectName = "";
198
+ projectName: string;
323
199
 
324
200
  /**
325
201
  * @generated from field: string datastore_name = 2;
326
202
  */
327
- datastoreName = "";
203
+ datastoreName: string;
328
204
 
329
205
  /**
330
206
  * @generated from field: string namespace_name = 3;
331
207
  */
332
- namespaceName = "";
208
+ namespaceName: string;
333
209
 
334
210
  /**
335
211
  * @generated from field: string id = 4;
336
212
  */
337
- id = "";
338
-
339
- constructor(data?: PartialMessage<GetBackupRequest>) {
340
- super();
341
- proto3.util.initPartial(data, this);
342
- }
343
-
344
- static readonly runtime: typeof proto3 = proto3;
345
- static readonly typeName = "raystack.optimus.core.v1beta1.GetBackupRequest";
346
- static readonly fields: FieldList = proto3.util.newFieldList(() => [
347
- { no: 1, name: "project_name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
348
- { no: 2, name: "datastore_name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
349
- { no: 3, name: "namespace_name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
350
- { no: 4, name: "id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
351
- ]);
352
-
353
- static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): GetBackupRequest {
354
- return new GetBackupRequest().fromBinary(bytes, options);
355
- }
356
-
357
- static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): GetBackupRequest {
358
- return new GetBackupRequest().fromJson(jsonValue, options);
359
- }
360
-
361
- static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): GetBackupRequest {
362
- return new GetBackupRequest().fromJsonString(jsonString, options);
363
- }
364
-
365
- static equals(a: GetBackupRequest | PlainMessage<GetBackupRequest> | undefined, b: GetBackupRequest | PlainMessage<GetBackupRequest> | undefined): boolean {
366
- return proto3.util.equals(GetBackupRequest, a, b);
367
- }
368
- }
213
+ id: string;
214
+ };
215
+
216
+ /**
217
+ * Describes the message raystack.optimus.core.v1beta1.GetBackupRequest.
218
+ * Use `create(GetBackupRequestSchema)` to create a new message.
219
+ */
220
+ export const GetBackupRequestSchema: GenMessage<GetBackupRequest> = /*@__PURE__*/
221
+ messageDesc(file_raystack_optimus_core_v1beta1_backup, 6);
369
222
 
370
223
  /**
371
224
  * @generated from message raystack.optimus.core.v1beta1.GetBackupResponse
372
225
  */
373
- export class GetBackupResponse extends Message<GetBackupResponse> {
226
+ export type GetBackupResponse = Message<"raystack.optimus.core.v1beta1.GetBackupResponse"> & {
374
227
  /**
375
228
  * @generated from field: raystack.optimus.core.v1beta1.BackupSpec spec = 1;
376
229
  */
377
230
  spec?: BackupSpec;
231
+ };
378
232
 
379
- constructor(data?: PartialMessage<GetBackupResponse>) {
380
- super();
381
- proto3.util.initPartial(data, this);
382
- }
383
-
384
- static readonly runtime: typeof proto3 = proto3;
385
- static readonly typeName = "raystack.optimus.core.v1beta1.GetBackupResponse";
386
- static readonly fields: FieldList = proto3.util.newFieldList(() => [
387
- { no: 1, name: "spec", kind: "message", T: BackupSpec },
388
- ]);
389
-
390
- static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): GetBackupResponse {
391
- return new GetBackupResponse().fromBinary(bytes, options);
392
- }
393
-
394
- static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): GetBackupResponse {
395
- return new GetBackupResponse().fromJson(jsonValue, options);
396
- }
397
-
398
- static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): GetBackupResponse {
399
- return new GetBackupResponse().fromJsonString(jsonString, options);
400
- }
401
-
402
- static equals(a: GetBackupResponse | PlainMessage<GetBackupResponse> | undefined, b: GetBackupResponse | PlainMessage<GetBackupResponse> | undefined): boolean {
403
- return proto3.util.equals(GetBackupResponse, a, b);
404
- }
405
- }
233
+ /**
234
+ * Describes the message raystack.optimus.core.v1beta1.GetBackupResponse.
235
+ * Use `create(GetBackupResponseSchema)` to create a new message.
236
+ */
237
+ export const GetBackupResponseSchema: GenMessage<GetBackupResponse> = /*@__PURE__*/
238
+ messageDesc(file_raystack_optimus_core_v1beta1_backup, 7);
239
+
240
+ /**
241
+ * @generated from service raystack.optimus.core.v1beta1.BackupService
242
+ */
243
+ export const BackupService: GenService<{
244
+ /**
245
+ * @generated from rpc raystack.optimus.core.v1beta1.BackupService.CreateBackup
246
+ */
247
+ createBackup: {
248
+ methodKind: "unary";
249
+ input: typeof CreateBackupRequestSchema;
250
+ output: typeof CreateBackupResponseSchema;
251
+ },
252
+ /**
253
+ * @generated from rpc raystack.optimus.core.v1beta1.BackupService.ListBackups
254
+ */
255
+ listBackups: {
256
+ methodKind: "unary";
257
+ input: typeof ListBackupsRequestSchema;
258
+ output: typeof ListBackupsResponseSchema;
259
+ },
260
+ /**
261
+ * @generated from rpc raystack.optimus.core.v1beta1.BackupService.GetBackup
262
+ */
263
+ getBackup: {
264
+ methodKind: "unary";
265
+ input: typeof GetBackupRequestSchema;
266
+ output: typeof GetBackupResponseSchema;
267
+ },
268
+ }> = /*@__PURE__*/
269
+ serviceDesc(file_raystack_optimus_core_v1beta1_backup, 0);
406
270